From 92c3af3c140f671ea49c751368d17df2e10d0eeb Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Wed, 2 Aug 2017 20:45:20 +0530 Subject: [PATCH] Rotate ChangeLog --- ChangeLog | 96739 ----------------------------------------------- ChangeLog.1 | 98869 +++++++++++++++++++++++++++++++++++++++++++++++-- ChangeLog.10 | 18832 +++------- ChangeLog.11 | 25800 +++++++------ ChangeLog.12 | 22405 ++++++----- ChangeLog.13 | 22053 +++++------ ChangeLog.14 | 29772 +++++++-------- ChangeLog.15 | 21623 ++++++++--- ChangeLog.16 | 17881 +++------ ChangeLog.17 | 27035 +++++++------- ChangeLog.18 | 15228 ++++++++ ChangeLog.2 | 5254 ++- ChangeLog.3 | 5038 ++- ChangeLog.4 | 3708 +- ChangeLog.5 | 12462 +------ ChangeLog.6 | 20341 +++++----- ChangeLog.7 | 22975 +++++------- ChangeLog.8 | 25963 +++++++------ ChangeLog.9 | 18620 ++++++---- 19 files changed, 255299 insertions(+), 255299 deletions(-) create mode 100644 ChangeLog.18 diff --git a/ChangeLog b/ChangeLog index c28024e88a..e69de29bb2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,96739 +0,0 @@ -2017-08-02 Siddhesh Poyarekar - - * version.h (RELEASE): Set to "development" - (VERSION): Set to 2.26.90. - * NEWS: Add 2.27 section. - - * version.h (RELEASE): Set to "stable" - (VERSION): Set to 2.26. - * include/features.h (__GLIBC_MINOR__): Set to 26. - - * manual/contrib.texi: Update contributors. - * manual/install.texi: Update latest tested versions of gcc and - binutils. - * INSTALL: Regenerate. - - * NEWS: Add bugs fixed. - - * po/fr.po: Update translations. - -2017-08-01 Siddhesh Poyarekar - - * NEWS: Update security-related changes. - -2017-07-30 Siddhesh Poyarekar - - * po/be.po: Update translations. - * po/ko.po: Likewise. - * po/nl.po: Likewise. - * po/ru.po: Likewise. - -2017-07-29 Torvald Riegel - Carlos O'Donell - - [BZ 21778] - * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Update - oldval if the CAS fails. - * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise. - * nptl/tst-mutex7.c: Add comments explaining template test. - (ROBUST, DELAY_NSEC, ROUNDS, N): New. - (tf, do_test): Use them. - * nptl/tst-mutex7robust.c: New file. - * nptl/Makefile (tests): Add new test. - -2017-07-28 Nathan Rossi - - [BZ #21779] - * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Branch using PLT. - - * sysdeps/microblaze/libm-test-ulps: Update. - -2017-07-28 Chung-Lin Tang - - * sysdeps/nios2/libm-test-ulps: Update. - -2017-07-28 Torvald Riegel - Carlos O'Donell - - [BZ #21298] - * nptl/Makefile (tests-internal): Add tst-rwlock20. - * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Fix - explicit hand-over. - (__pthread_rwlock_wrlock_full): Likewise. - * nptl/tst-rwlock20.c: New file. - * support/Makefile (libsupport-routines): Add xpthread_rwlock_init, - xpthread_rwlock_rdlock, xpthread_rwlock_unlock, - xpthread_rwlock_wrlock, xpthread_rwlockattr_init, and - xpthread_rwlockattr_setkind_np. - * support/xpthread_rwlock_init.c: New file. - * support/xpthread_rwlock_rdlock.c: New file. - * support/xpthread_rwlock_unlock.c: New file. - * support/xpthread_rwlock_wrlock.c: New file. - * support/xpthread_rwlockattr_init.c: New file. - * support/xpthread_rwlockattr_setkind_np.c: New file. - * support/xthread.h: Add xpthread_rwlock_init, xpthread_rwlock_rdlock, - xpthread_rwlock_unlock, xpthread_rwlock_wrlock, - xpthread_rwlockattr_init, and xpthread_rwlockattr_setkind_np - prototypes. - -2017-07-27 Adhemerval Zanella - - * sysdeps/alpha/fpu/libm-test-ulps: Update. - -2017-07-27 Mike FABIAN - - * locale/iso-639.def: add North and South Azerbaijani. - -2017-07-27 Rical Jasan - - * manual/lang.texi (CHAR_BIT): Convert from an @table to an - @deftypevr. Change standard from ISO to C90. Mention the - POSIX.1-2001 requirement of the value 8. - -2017-07-27 Rical Jasan - - * manual/creature.texi (_REENTRANT): Annotate as obsolete. - (_THREAD_SAFE): Likewise. - -2017-07-26 Siddhesh Poyarekar - - * po/bg.po: Update translations. - * po/cs.po: Likewise. - * po/de.po: Likewise. - * po/pl.po: Likewise. - * po/uk.po: Likewise. - * po/vi.po: Likewise. - -2017-07-26 Mike FABIAN - - [BZ #21828] - * NEWS: Mention that the Unicode 10.0.0 update causes user visible changes. - -2017-07-26 Siddhesh Poyarekar - - * po/sv.po: Update Translation. - -2017-07-25 Siddhesh Poyarekar - Paul Eggert - - * timezone.zic (PRIdLINENO): Remove. - (verror): Use PRIdMAX. - * po/libc.pot: Regenerate. - -2017-07-24 Adhemerval Zanella - H.J. Lu - - [BZ #21744] - * elf/dl-tunables.c: Include not-errno.h header. - * include/unistd.h (__access_noerrno): Remove definition. - * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise. - * sysdeps/generic/not-errno.h: New file. - * sysdeps/unix/sysv/linux/not-errno.h: Likewise. - -2017-07-24 H.J. Lu - - [BZ #21752] - * debug/fortify_fail.c (__fortify_fail_abort): Don't pass down - __libc_argv[0] if we aren't doing backtrace. Rename do_backtrace - to need_backtrace. - * sysdeps/posix/libc_fatal.c (__libc_message): Don't call - __libc_secure_getenv if we aren't doing backtrace. - -2017-07-24 Andreas Schwab - - [BZ #21804] - * sysdeps/nptl/bits/thread-shared-types.h (__PTHREAD_SPINS_DATA) - [__PTHREAD_MUTEX_LOCK_ELISION && __WORDSIZE == 64]: Remove - trailing semicolon. - (struct __pthread_mutex_s): Remove semicolon after - __PTHREAD_COMPAT_PADDING_MID and __PTHREAD_COMPAT_PADDING_END. - * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h - (__PTHREAD_COMPAT_PADDING_MID, __PTHREAD_COMPAT_PADDING_END): Add - semicolon. - -2017-07-23 Dmitry V. Levin - - * sysdeps/unix/sysv/linux/s390/sys/ptrace.h [_LINUX_PTRACE_H || - _S390_PTRACE_H]: Undefine all PTRACE_* macro constants defined - later as enum constants, except PTRACE_PEEKUSER, PTRACE_POKEUSER, - and PTRACE_SEIZE_DEVEL that are not defined by Linux headers. - -2017-07-23 John David Anglin - - [BZ 19170] - * sysdeps/hppa/dl-trampoline.S (_dl_runtime_resolve): Revise comment. - -2017-07-21 DJ Delorie - - * nss/tst-nss-test5.c: Correct test configuration. - -2017-07-21 Steve Ellcey - - * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c - CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c, - CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c, - CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c, - CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): New macros. - -2017-07-21 Steve Ellcey - - * nss/nss_test1.c (default_npwd_data): Fix definition. - -2017-07-21 Steve Ellcey - - * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Call - math_force_eval. - -2017-07-19 Adhemerval Zanella - - * sysdeps/sparc/fpu/libm-test-ulps: Update. - - * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Fix argument - passing to syscall exit. - -2017-07-19 DJ Delorie - - * grp/grp-merge.c (libc_hidden_def): Fix cast-after-dereference. - -2017-07-19 H.J. Lu - - [BZ #21741] - * sysdeps/i386/i686/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Test memmove_chk and memset_chk only - in libc.so. - -2017-07-19 H.J. Lu - - [BZ #21740] - * debug/Makefile (elide-routines.o): New. - -2017-07-19 Szabolcs Nagy - - * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: - (_dl_aarch64_cap_flags): Update. - * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h - (_DL_HWCAP_COUNT, _DL_HWCAP_LAST): Update. - -2017-07-18 Szabolcs Nagy - - * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (_dl_procinfo): Revert. - (_dl_hwcap_string): Check range. - -2017-07-17 Tulio Magno Quites Machado Filho - - [BZ #21707] - * csu/libc-start.c (LIBC_START_MAIN): Perform IREL{,A} - relocations before or after initializing the TCB on statically - linked executables. That's a per-architecture definition. - * elf/rtld.c (dl_main): Add a comment about thread-local - variables initialization. - * sysdeps/generic/libc-start.h: New file. Define - ARCH_APPLY_IREL and ARCH_SETUP_IREL. - * sysdeps/powerpc/Makefile: - [$(subdir) = elf && $(multi-arch) != no] (tests-static-internal): Add - tst-tlsifunc-static. - [$(subdir) = elf && $(multi-arch) != no && $(build-shared) == yes] - (tests-internal): Add tst-tlsifunc. - * sysdeps/powerpc/tst-tlsifunc.c: New file. - * sysdeps/powerpc/tst-tlsifunc-static.c: Likewise. - * sysdeps/powerpc/powerpc64le/Makefile (f128-loader-link): New - variable. - [$(subdir) = math] (test-float128% test-ifloat128%): Force - linking to the loader after linking to libgcc. - [$(subdir) = wcsmbs || $(subdir) = stdlib] (bug-strtod bug-strtod2) - (bug-strtod2 tst-strtod-round tst-wcstod-round tst-strtod6 tst-strrom) - (tst-strfrom-locale strfrom-skeleton): Likewise. - * sysdeps/unix/sysv/linux/powerpc/libc-start.h: New file. Define - ARCH_APPLY_IREL and ARCH_SETUP_IREL. - -2017-07-17 DJ Delorie - - * nss/nss_test.h: New. - * nss/nss_test1.h: Rewrite to use test-provided data. Add group - tests. Parameterize to allow multiple instances. - * nss/nss_test2.h: New. Second instance. - * nss/nss_test.ver: New. - * nss/nss_test1.c: Update to use new framework. - * nss/nss_test2.c: New. - * nss/nss_test3.c: New. - * nss/nss_test4.c: New. - * nss/nss_test5.c: New. - * nss/Makefile: Build new tests. - * shlib-versions: Add libnss_test2. - -2017-07-17 Adhemerval Zanella - - [BZ #21512] - * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Fix argument - passing to syscall exit. - -2017-07-17 Szabolcs Nagy - - * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_FCMA): New macro. - (HWCAP_JSCVT, HWCAP_LRCPC): Likewise. - -2017-07-16 John David Anglin - - * sysdeps/hppa/dl-trampoline.S (_dl_runtime_resolve): Return to caller - if _dl_fixup fails. - - * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Add .cfi annotation. - * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Likewise. - * sysdeps/unix/sysv/linux/hppa/pt-vfork.S (__vfork): Likewise. - * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise. - - * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Fix stack - offset for r19 load. - - * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Return 0. - - * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Fix CFA offset. - Use .cfi_def_cfa_offset instead of .cfi_offset. Don't record stack - pointer offset. Correct PIC register offset. Don't mention frame - related instructions in epilogue. - (PUSHARGS_1): Correct offset. - (PUSHARGS_2): Likewise. - (PUSHARGS_3): Likewise. - (PUSHARGS_4): Likewise. - (PUSHARGS_5): Likewise. - (PUSHARGS_6): Likewise. - (POPARGS_1): Don't mention register restore. - (POPARGS_2): Likewise. - (POPARGS_3): Likewise. - (POPARGS_4): Likewise. - (POPARGS_5): Likewise. - (POPARGS_6): Likewise. - * sysdeps/unix/sysv/linux/hppa/sysdep.h (SAVE_PIC): Don't mention - copy of PIC register. - (LOAD_PIC): Likewise don't mention restore. - (DO_CALL): Fix CFA offset. Use .cfi_def_cfa_offset instead of - .cfi_offset. Don't record stack pointer offset. Correct PIC register - offset. Don't mention frame related instructions in epilogue. - - * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove _exit entry. - - * sysdeps/hppa/__longjmp.c (__longjmp): Remove extra braces. - - [BZ 20098] - * sysdeps/hppa/dl-fptr.c (_dl_read_access_allowed): New. - (_dl_lookup_address): Return address if it is not consistent with - being a linker defined function pointer. Likewise, return address - if address and function descriptor addresses are not accessible. - -2017-07-16 Siddhesh Poyarekar - - * po/libc.pot: Regenerate. - -2017-07-15 John David Anglin - - [BZ locale/19838] - * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHMLBA): Set to page size. - - * nptl/allocatestack.c (allocate_stack): Align old and new guard - addresses to page boundaries when the stack grows up. - - * sysdeps/hppa/math-tests.h: New. - -2017-07-14 DJ Delorie - - [BZ #21654] - * grp/grp_merge.c (__copy_grp): Align char** to minimum pointer - alignment not char alignment. - (__merge_grp): Likewise. - -2017-07-14 Szabolcs Nagy - Florian Weimer - - * libio/memstream.c (__open_memstream): Set _IO_FLAGS2_NEED_LOCK. - * libio/wmemstream.c (open_wmemstream): Likewise. - * nptl/tst-memstream.c: New. - -2017-07-12 Jiong Wang - - * sysdeps/arm/dl-machine.h (elf_machine_load_address): Also strip bit 0 - of pcrel_address under Thumb mode. - -2017-07-12 Akhilesh Kumar - - [BZ #21207] - * locale/iso-639.def: Add Fiji Hindi (hif). - -2017-07-12 John David Anglin - - * sysdeps/hppa/dl-machine.h (elf_machine_rela): Fix typo. - -2017-07-12 H.J. Lu - - * debug/Makefile (CFLAGS-tst-ssp-1.c): Set to - -fstack-protector-all. - -2017-07-11 Chris Leonard - - [BZ #20496] - * locale/iso-639.def: Add AwajĂșn / Aguaruna (agr). - -2017-07-11 Gabriel F. T. Gomes - - * sysdeps/powerpc/powerpc64le/Makefile: Use $(all-object-suffixes) - to iterate over all possible object suffixes. Add a comment - explaining the use of sysdep-CFLAGS instead of CFLAGS. - -2017-07-11 H.J. Lu - - [BZ #12189] - * debug/Makefile (CFLAGS-tst-ssp-1.c): New. - (tests): Add tst-ssp-1 if -fstack-protector works. - * debug/fortify_fail.c: Include . - (_fortify_fail_abort): New function. - (__fortify_fail): Call _fortify_fail_abort. - (__fortify_fail_abort): Add a hidden definition. - * debug/stack_chk_fail.c: Include . - (__stack_chk_fail): Call __fortify_fail_abort, instead of - __fortify_fail. - * debug/tst-ssp-1.c: New file. - * include/stdio.h (__libc_message_action): New enum. - (__libc_message): Replace int with enum __libc_message_action. - (__fortify_fail_abort): New hidden prototype. - * malloc/malloc.c (malloc_printerr): Update __libc_message calls. - * sysdeps/posix/libc_fatal.c (__libc_message): Replace int - with enum __libc_message_action. Call BEFORE_ABORT only if - action includes do_backtrace. - (__libc_fatal): Update __libc_message call. - -2017-07-11 Adhemerval Zanella - - [BZ #21738] - * manual/llio.texi (RWF_NOWAIT): New item. - * misc/tst-preadvwritev2-common.c (do_test_with_invalid_flags): - Add RWF_NOWAIT check. - * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_NOWAIT): New flag. - -2017-07-11 Stefan Liebler - - * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c: - Support running on kernels without PTRACE_SINGLEBLOCK. - -2017-07-10 H.J. Lu - - [BZ #21742] - * elf/Makefile (dl-routines): Move dl-conflict to ... - (rtld-routines): Here. - -2017-07-10 H.J. Lu - - [BZ #21741] - * sysdeps/x86_64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Test memmove_chk and memset_chk only - in libc.so. - -2017-07-09 John David Anglin - - * sysdeps/hppa/fpu/libm-test-ulps: Update. - - [BZ #21016] - * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s): - Fix typo. - * sysdeps/unix/sysv/linux/hppa/pthread.h: Include - bits/types/struct_timespec.h. - (PTHREAD_MUTEX_INITIALIZER): Revise define. - (PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP): Likewise. - (PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP): Likewise. - (PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP): Likewise. - (PTHREAD_RWLOCK_INITIALIZER): Likewise. - (PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP): Likewise. - (PTHREAD_COND_INITIALIZER): Likewise. - Remove old definitions. - * sysdeps/unix/sysv/linux/hppa/internaltypes.h: Delete. - * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: Delete. - * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: Delete. - * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: Delete. - * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: Delete. - * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: Delete. - -2017-07-09 H.J. Lu - - * sysdeps/x86_64/multiarch/memcmp.c: Update comments. - * sysdeps/x86_64/multiarch/memmove.c: Likewise. - * sysdeps/x86_64/multiarch/memrchr.c: Likewise. - * sysdeps/x86_64/multiarch/memset.c: Likewise. - * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise. - * sysdeps/x86_64/multiarch/strchrnul.c: Likewise. - * sysdeps/x86_64/multiarch/strlen.c: Likewise. - * sysdeps/x86_64/multiarch/strnlen.c: Likewise. - * sysdeps/x86_64/multiarch/wcschr.c: Likewise. - * sysdeps/x86_64/multiarch/wcscpy.c: Likewise. - * sysdeps/x86_64/multiarch/wcslen.c: Likewise. - * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise. - * sysdeps/x86_64/multiarch/wmemchr.c: Likewise. - * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise. - * sysdeps/x86_64/multiarch/wmemset.c: Likewise. - * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise. - -2017-07-09 H.J. Lu - - * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update comments. - -2017-07-09 Helge Deller - - [BZ #21049] - * sysdeps/hppa/__longjmp.c (__longjmp): Move call to CHECK_SP - up to avoid clobbering r26. - -2017-07-08 Andreas Schwab - - * scripts/build-many-glibcs.py (Glibc.build_glibc): Also build - profiled objects. - -2017-07-06 DJ Delorie - - * manual/tunables.texi: Add missing @end deftp. - -2017-07-06 Florian Weimer - - * resolv/tst-resolv-basic.c (test_bug_21295): New function. - (do_test): Call it. - -2017-07-06 DJ Delorie - - * config.make.in: Enable experimental malloc option. - * configure.ac: Likewise. - * configure: Regenerate. - * manual/install.texi: Document it. - * INSTALL: Regenerate. - * malloc/Makefile: Likewise. - * malloc/malloc.c: Add per-thread cache (tcache). - (tcache_put): New. - (tcache_get): New. - (tcache_thread_freeres): New. - (tcache_init): New. - (__libc_malloc): Use cached chunks if available. - (__libc_free): Initialize tcache if needed. - (__libc_realloc): Likewise. - (__libc_calloc): Likewise. - (_int_malloc): Prefill tcache when appropriate. - (_int_free): Likewise. - (do_set_tcache_max): New. - (do_set_tcache_count): New. - (do_set_tcache_unsorted_limit): New. - * manual/probes.texi: Document new probes. - * malloc/arena.c: Add new tcache tunables. - * elf/dl-tunables.list: Likewise. - * manual/tunables.texi: Document them. - * NEWS: Mention the per-thread cache. - -2017-07-06 Joseph Myers - - * iconvdata/tst-loading.c (TIMEOUT): Define to 30. - * misc/tst-tsearch.c (TIMEOUT): Remove. - * nptl/tst-create-detached.c (TIMEOUT): Define to 100. - * nptl/tst-robust-fork.c (TIMEOUT): Likewise. - * nptl/tst-rwlock19.c (TIMEOUT): Likewise. - * string/tst-cmp.c (TIMEOUT): Define to 600. - -2017-07-06 Matthew Krupcale - - [BZ #21715] - * sysdeps/nptl/bits/pthreadtypes.h (__have_pthread_attr_t): Fix typo - on definition. - -2017-07-06 Florian Weimer - H.J. Lu - - [BZ #21609] - * sysdeps/x86_64/Makefile (sysdep-dl-routines): Add tls_get_addr. - (gen-as-const-headers): Add rtld-offsets.sym. - * sysdeps/x86_64/dl-tls.c: New file. - * sysdeps/x86_64/rtld-offsets.sym: Likwise. - * sysdeps/x86_64/tls_get_addr.S: Likewise. - * sysdeps/x86_64/dl-tls.h: Add multiple inclusion guards. - * sysdeps/x86_64/tlsdesc.sym (TI_MODULE_OFFSET): New. - (TI_OFFSET_OFFSET): Likwise. - -2017-07-05 Adhemerval Zanella - - [BZ# 21697] - * sysdeps/posix/spawni.c (__spawni_child): Fix return value. - -2017-07-05 Florian Weimer - - * resolv/Makefile (tests-internal): Add tst-resolv-threads. - (tst-resolv-threads): Link with -ldl, -lresolv, -lpthread. - * resolv/tst-resolv-threads.c: New file. - -2017-07-05 Florian Weimer - - support: Add resolver testing mode which does not patch _res. - * support/resolv_test.h (struct resolv_redirect_config): Add - disable_redirect, server_address_overrides. - * support/resolv_test.c (make_server_sockets_for_address): New - function. - (resolv_test_start): Call it. - -2017-07-05 Florian Weimer - - * support/namespace.h (struct support_chroot_configuration) - (struct support_chroot): Define. - (support_chroot_create, support_chroot_free): New functions. - * support/support_chroot.c: New file. - * support/Makefile (libsupport-routines): Add support_chroot. - * resolv/tst-resolv-res_init-skeleton.c (path_chroot) - (path_resolv_conf): Remove definitions. - (chroot_env): New variable. - (prepare): Call support_chroot_create. - (check_chroot_working, setup_nss_dns_and_chroot, run_res_init) - (special_test_callback, do_test): Likewise. - -2017-07-05 Florian Weimer - - Add subtest to check isolation of multiple loopback addresses. - * support/tst-support-namespace.c (test_localhost_bind): New function. - (do_test): Call it. - -2017-07-04 Szabolcs Nagy - - * libio/libio.h (_IO_FLAGS2_NEED_LOCK, _IO_need_lock): Define. - * libio/libioP.h (_IO_enable_locks): Declare. - * libio/Versions (_IO_enable_locks): New symbol. - * libio/genops.c (_IO_enable_locks): Define. - (_IO_old_init): Initialize flags2. - * libio/feof.c.c (_IO_feof): Avoid locking when not needed. - * libio/ferror.c (_IO_ferror): Likewise. - * libio/fputc.c (fputc): Likewise. - * libio/putc.c (_IO_putc): Likewise. - * libio/getc.c (_IO_getc): Likewise. - * libio/getchar.c (getchar): Likewise. - * libio/ioungetc.c (_IO_ungetc): Likewise. - * nptl/pthread_create.c (__pthread_create_2_1): Enable stdio locks. - * libio/iofopncook.c (_IO_fopencookie): Enable locking for the file. - * sysdeps/pthread/flockfile.c (__flockfile): Likewise. - -2017-07-04 Florian Weimer - - [BZ #21542] - * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Default to - two if no accurate information is available. - * posix/tst-sysconf-empty-chroot.c: New file. - * posix/Makefile (tests): Add it. - -2017-07-04 Florian Weimer - - * resolv/resolv_conf.c (resolv_conf_matches): Tighten check for name - server and sort list counts. Fix improper check for empty search - path (completely missing domain name) leading to assertion failure - in update_from_conf. - * resolv/tst-resolv-res_init-skeleton.c (struct test_case): Add - hostname member. - (run_res_init): Set host name if requested. - (test_cases): Update. - -2017-07-04 Joseph Myers - - * scripts/build-many-glibcs.py (Context.checkout): Default - binutils version to 2.29 branch, GMP version to 6.1.2 and Linux - kernel version to 4.12. - -2017-07-04 Florian Weimer - - * resolv/resolv_conf.c (struct resolv_conf_global): Clarify free - list management and the role of free_list_start. - (decrement_at_index): Put zero at the end of the free list. - (__resolv_conf_attach): Fix bogus assert. - * resolv/Makefile (tests): Add tst-resolv-res_init-multi. - (tst-resolv-res_init-multi): Link with -lresolv, -lpthread. - -2017-07-03 Florian Weimer - - resolv: Introduce free list for resolv_conf index slosts. - * resolv/resolv_conf.c (struct resolv_conf_array): Change element - type to uintptr_t. - (struct resolv_conf_global): Add free_list_start member. - (resolv_conf_get_1): Check for free list entry. - (decrement_at_index): Put freed slot on the free list. - (__resolv_conf_attach): Obtain new slot from the free list. - * resolv/tst-resolv-res_ninit.c: New file. - * resolv/Makefile (tests-internal): Add tst-resolv-res_ninit. - (tests-special): Add mtrace-tst-resolv-res_ninit.out. - (generated): Add mtrace-tst-resolv-res_ninit.out, - tst-resolv-res_ninit.mtrace. - (mtrace-tst-resolv-res_ninit.out): Add target. - -2017-06-30 Florian Weimer - - [BZ #984] - Reload /etc/resolv.conf if has been changed on disk. - * resolv/resolv_conf.h (resolv_conf): Remove initstamp member. - (__resolv_conf_load, __resolv_conf_get_current): Declare. - * resolv/resolv_conf.c (struct resolv_conf_global): Add - conf_current, conf_mtime, conf_ctime, conf_size, conf_ino members. - (__resolv_conf_get_current): New function. - (__resolv_conf_allocate): Do not initialize initstamp. - (freeres): Deallocate global->conf_current. - * resolv/resolv.h (RES_NORELOAD): Define. - * resolv/res_debug.c (p_option): Add RES_NORELOAD. - * resolv/resolv-internal.h (__res_initstamp): Remove declaration. - * resolv/resolv_context.c (replicated_configuration_matches): New. - (maybe_init): Call it. Use __resolv_conf_get_current to obtain - the current configration. - * resolv/res_init.c (__res_initstamp): Remove variable definition. - (has_preinit_values): New function. - (__resolv_conf_load): Renamed from __res_vinit. Drop res_state - parameter and do not call __resolv_conf_attach. - (__res_vinit): Reimplement based __resolv_conf_load. - (res_options): Handle no-reload. - * resolv/res_libc.c (atomicinclock, atomicincunlock, atomicinc) - (lock): Remove. - (res_int): Do not update __res_initstamp. - * resolv/tst-resolv-res_init-skeleton.c (print_resp): Handle - RES_NORELOAD. - (test_cases): Test no-reload. - (special_test_call_res_init): Remove. - (special_test_callback): Rely on automated reloading. Add tests - for no-reload. - -2017-06-30 Florian Weimer - - Mirror the entire resolver configuration in struct resolv_conf. - * resolv/resolv_context.h (__resolv_context_nameserver_count) - (__resolv_context_nameserver): New functions. - (__resolv_context_sort_count, __resolv_context_sort_entry): - Likewise. - * resolv/nss_dns/dns-host.c (getanswer_r): Add struct - resolv_context parameter. - (gethostbyname3_context, _nss_dns_gethostbyaddr2_r): Adjust. - (addrsort): Switch to struct resolv_context. - * resolv/resolv_conf.h (struct resolv_sortlist_entry): Define. - (struct resolv_conf): Add nameserver_list, nameserver_list_size, - sort_list, sort_list_size, options, retrans, retry, ndots members. - * resolv/resolv_conf.c (same_address_v4, same_address_v6) - (same_address): New functions. - (resolv_conf_matches): Compare the new array members. - (__resolv_conf_allocate): Allocate and copy the new array members. - (update_from_conf): Copy the entire configuration. - * resolv/res_init.c (struct nameserver_list, struct sort_list): - Define using dynarray. - (struct resolv_conf_parser): Add nameserver_list, sort_list, - template members. - (resolv_conf_parser_init): Add preinit argument. Initialize the - new members. - (resolv_conf_parser_free): Deallocate the new arrays. - (allocate_address_v4): New function. - (res_setoptions): Switch to struct resolv_conf_parser * parameter. - (res_vinit_1): Drop res_state parameter. Write all parsed date to - the parser object instead. Use allocate_address_v4 to allocate - IPv4 addresses. - (__res_vinit): Adjust. - * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print the - extended name server list. - (test_cases): Adjust. - -2017-06-30 Florian Weimer - - [BZ #19569] - [BZ #21475] - Support an arbitrary number of search domains. - * resolv/resolv_context.h (__resolv_context_search_list): New. - * resolv/resolv_conf.h (struct resolv_conf): Add search_list, - search_list_size members. - * resolv/resolv_conf.c (resolv_conf_matches): Compare search list. - (__resolv_conf_allocate): Allocate and and copy search list. - (update_from_conf): Copy the search list. - * resolv/res_init.c (struct search_list): Define using dynarray. - (struct resolv_conf_parser): Define. - (resolv_conf_parser_init, resolv_conf_parser_free) - (domain_from_hostname): New functions. - (res_vinit_1): Add struct resolv_conf_parser * parameter. Use - struct search_list to collect search list entries. Call - domain_from_hostname to obtain the fallback domain name. - (__res_vinit): Create and destroy parser object. Pass search list - to __resolv_conf_allocate. - * resolv/res_query.c (__res_context_search): Use - __resolv_context_search_list to obtain search list entries. - * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print data - from extended resolver context. - (test_cases): Update. - -2017-06-30 Florian Weimer - - Add extended resolver state/configuration (struct resolv_conf). - * resolv/resolv_conf.h, resolv/resolv_conf.c: New files. - * resolv/res-close.c (__res_iclose): Call __resolv_conf_detach. - * resolv/res_init.c (res_vinit_1): Do not initialize initstamp. - (__res_vinit): Call __resolv_conf_allocate and - __resolv_conf_attach. - * resolv/resolv_context.h (struct resolv_context): Add conf member - of type struct resolv_conf. - * resolv/resolv_context.c (maybe_init): Get initstamp from struct - resolv_conf. Update conf member after initialization. - * resolv/Makefile (routines): Add resolv_conf. - * resolv/bits/types/res_state.h [_LIBC] (struct __res_state): - Rename _u._ext.initstamp to _u._ext.__glibc_extension_index. - [!_LIBC] (struct __res_state): Rename _u._ext._initstamp to - _u._ext.__glibc_reserved. - -2017-06-30 Florian Weimer - - [BZ #21668] - Introduce temporary resolver contexts (struct resolv_conf). - * resolv/resolv-internal.h (__res_context_mkquery) - (__res_context_searchl __res_context_query, __res_context_send) - (__res_context_hostalias): Declare. - (__res_nopt): Switch to struct resolv_context. - * resolv/res_use_inet6.h: New file. - * resolv/resolv_context.h: Likewise. - * resolv/resolv_context.c: Likewise. - * resolv/compat-gethnamaddr.c (res_gethostbyname2_context): - Renamed from res_gethostbyname2. Use struct resolv_context. - (res_gethostbyname2): New function. Implement using - res_gethostbyname2_context. - (res_gethostbyaddr_context): Renamed from res_gethostbyaddr. Use - struct resolv_context. - (res_gethostbyaddr): New function. Implement using - res_gethostbyaddr_context. - * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Use struct - resolv_context. - * resolv/nss_dns/dns-host.c (gethostbyname3_context): Renamed from - _nss_dns_gethostbyname3_r. Use struct resolv_context. - (_nss_dns_gethostbyname3_r): Implement using gethostbyname3_context. - (_nss_dns_gethostbyname_r, _nss_dns_gethostbyname4_r): Likewise. - (_nss_dns_gethostbyaddr2_r): Use struct resolv_context. - * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r) - (_nss_dns_getnetbyaddr_r): Likewise. - * resolv/res-close.c (res_thread_freeres): Call - __resolv_context_freeres. - * resolv/res_libc.c (__res_maybe_init): Remove function. Moved to - maybe_init in resolv/resolv_context.c. - * resolv/res_mkquery.c (__res_context_mkquery): Rename from - res_nmkquery. Use struct resolv_context. - (context_mkquery_common): New function. - (res_nmkquery, res_mkquery): Use it. - (res_nopt): Switch to struct resolv_context. - * resolv/res_query.c (__res_context_querydomain): Renamed from - __libc_res_nquerydomain. Use struct resolv_context. - (__res_context_query): Renamed from __libc_res_nquery. Use struct - resolv_context. - (context_query_common): New function. - (res_nquery, res_query): Use it. - (__res_context_search): Renamed from __libc_res_nsearch. Use - struct resolv_context. - (context_search_common): New function. - (res_nsearch, res_search): Use it. - (__res_context_querydomain): Rename from __libc_res_nquerydomain. - Use struct resolv_context. - (context_querydomain_common): New function. - (res_nquerydomain, res_querydomain): Use it. - (__res_context_hostalias): Rename from res_hostalias. Use struct - resolv_context. - (context_hostalias_common): New function. - (res_hostalias, hostalias): Use it. - * resolv/res_send.c (__res_context_send): Renamed from - __libc_res_nsend. Use struct resolv_context. - (context_send_common): New function. - (res_nsend, res_send): Use it. - * resolv/Makefile (routines): Add resolv_context. - * resolv/Versions (libc): Export __resolv_context_get, - __resolv_context_get_preinit, __resolv_context_get_override, - __resolv_context_put. Remove __res_maybe_init. - (libresolv): Export __res_context_query, __res_context_search, - __res_context_hostalias. Remove __libc_res_nquery, - __libc_res_nsearch. - * include/resolv.h (__res_maybe_init, __libc_res_nquery) - (__libc_res_nsearch, __libc_res_nsend): Remove declaration. - (__hostalias, __res_nmkquery, __res_nquery, __res_nquerydomain) - (__res_hostalias, __res_nsearch, __res_nsend): Remove hidden - prototypes. - * nss/nsswitch.h (__nss_hostname_digits_dots_context): Declare. - * nss/digits_dots.c (__nss_hostname_digits_dots_context): Renamed - from __nss_hostname_digits_dots. Use struct resolv_context. - (__nss_hostname_digits_dots): New function. - * nss/getXXbyYY.c [HANDLE_DIGITS_DOTS] (FUNCTION_NAME): Acquire - struct resolv_context object. Call new function - __nss_hostname_digits_dots_context. - * nss/getXXbyYY_r.c (REENTRANT_NAME): Use struct resolv_context. - * nss/getnssent_r.c (__nss_setent): Likewise. - * nscd/aicache.c (addhstaiX): Use struct resolv_context, - __resolv_context_disable_inet6 and __resolv_context_enable_inet6 - instead of direct _res manipulation. - * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Likewise. - -2017-07-03 Florian Weimer - - * resolv/tst-resolv-res_init-skeleton.c - (special_tests_count, special_test_call_res_init) - (special_test_callback, special_test_thread_func) - (run_special_test_on_thread, special_test): Define. - (do_test): call special_test. - (test_init_names): Fix typo. - -2017-07-03 Rajalakshmi Srinivasaraghavan - - * sysdeps/powerpc/powerpc64/power8/strlen.S: Remove unreachable code. - * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise. - -2017-07-01 Florian Weimer - H.J. Lu - - [BZ #21696] - * posix/sched_cpucount.c: Don't include . - (__sched_cpucount): Use __builtin_popcount. - -2017-07-01 Ramana Radhakrishnan - - * sysdeps/unix/sysv/aarch64/cpu-features.c (init_cpu_features): - Fix typo. - -2017-06-30 Gabriel F. T. Gomes - - * include/math.h (__signbitf128): Define as hidden. - * sysdeps/ieee754/float128/s_signbitf128.c (__signbitf128): - Reimplement without builtins. - * sysdeps/ia64/bits/floatn.h [!__GNUC_PREREQ (6, 0)] - (__builtin_signbitf128): Define to __signbitf128. - * sysdeps/powerpc/bits/floatn.h: Likewise. - * sysdeps/x86/bits/floatn.h: Likewise. - -2017-06-30 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/arm/fcntl.c: Remove file. - * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise. - * sysdeps/unix/sysv/linux/hppa/fcntl.c: Likewise. - * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/fcntl.c: Likewise. - * sysdeps/unix/sysv/linux/microblaze/fcntl.c: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/fcntl.c: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: Likewise. - * sysdeps/unix/sysv/linux/sh/fcntl.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: Likewise. - * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Rename to - fcntl_common and add check for F_GETOWN. - (__libc_fcntl): Use SYSCALL_CANCEL macro. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Refactor to - use default implementation. - -2017-06-30 Siddhesh Poyarekar - - * elf/dl-tunables.h (tunable_is_name): Move from... - * elf/dl-tunables.c (is_name): ... here. - (parse_tunables, __tunables_init): Adjust. - * manual/tunables.texi: Document glibc.tune.cpu. - * sysdeps/aarch64/dl-tunables.list: New file. - * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (struct - cpu_list): New type. - (cpu_list): New list of CPU names and their MIDR. - (get_midr_from_mcpu): New function. - (init_cpu_features): Override MIDR if necessary. - - * sysdeps/aarch64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Unconditionally select thunderx - routine for testing. - -2017-06-30 H.J. Lu - - [BZ #21120] - * malloc/malloc-internal.h (MALLOC_ALIGNMENT): Moved to ... - * sysdeps/generic/malloc-alignment.h: Here. New file. - * sysdeps/i386/malloc-alignment.h: Likewise. - * sysdeps/generic/malloc-machine.h: Include . - -2017-06-30 Florian Weimer - - * resolv/tst-resolv-res_init-skeleton.c (test_init_names): New - variable. - (test_file_contents): Use it. - -2017-06-30 Florian Weimer - - * resolv/res_init.c (res_setoptions): Remove source argument. - (res_vinit_1): Adjust. - -2017-06-30 Florian Weimer - - * resolv/res_query.c (DEBUG): Remove preprocessor conditional. - -2017-06-30 Florian Weimer - - * resolv/res_data.c: Reformat to GNU style. - (res_close): Update comments. - -2017-06-30 Florian Weimer - - * resolv/res_data.c (res_query, res_search, res_querydomain) - (hostalias): Move to ... - * resolv/res_Send.c (res_query, res_search, res_querydomain) - (hostalias): here. - -2017-06-30 Florian Weimer - - * resolv/res_data.c (res_isourserver, res_send): Move to ... - * resolv/res_send.c (res_isourserver, res_send): here. - -2017-06-30 Florian Weimer - - * resolv/res_debug.c (_res_opcodes): Rename ... - (res_opcodes): ... as compatibility symbol. - (fp_nquery): Use res_opcodes. - * include/resolv.h (_res_opcodes): Remove declaration. - -2017-06-30 Florian Weimer - - * include/resolv.h (res_pquery): Remove declaration. - * resolv/res_data.c (fp_nquery, fp_query, p_query): Remove - functions. - (_res_opcodes): Remove variable. - * resolv/res_debug.c (do_section): Receive pfcode instead of - statp. - (res_pquery): Rename ... - (fp_nquery): to this function. Skip unnecessary _res - initialization. - (fp_query, p_query, _res_opcodes): Copied from resolv/res_data.c. - -2017-06-30 Florian Weimer - - * resolv/res_debug.h: Remove file. - * resolv/README: Adjust. - -2017-06-30 Florian Weimer - - * resolv/res_end.c (DEBUG): Remove macro and preprocessor - conditionals. - (Aerror, Perror): Remove function definitions. - -2017-06-30 Florian Weimer - - * resolv/res_data.c (res_mkquery): Move ... - * resolv/res_mkquery.c (res_mkquery): to here. - -2017-06-30 Florian Weimer - - * resolv/res_mkquery.c: Reformat to GNU style. - (T_OPT): Remove definition. It is present in the header file. - -2017-06-30 Florian Weimer - - * resolv/res_mkquery.c (DEBUG): Remove macro and preprocessor - conditionals. - -2017-06-30 Florian Weimer - - * support/support_capture_subprocess_check.c - (support_capture_subprocess_check): Report actual exit status. - -2017-06-30 Florian Weimer - - [BZ #19570] - * resolv/res_send.c (nameserver_offset): New function. - (__libc_res_nsend): Use it to implement RES_ROTATE. - (get_nsaddr): Add assert with name server - range check. - * resolv/Makefile (xtests): Add tst-resolv-rotate. - (tst-resolv-rotate): Link against libpthread. - * resolv/tst-resolv-rotate.c: New file. - -2017-06-29 Joseph Myers - - [BZ #21457] - * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (__ctx): New macro. - [__WORDSIZE == 64] (MC_TSTATE): Define only for [__USE_MISC]. - [__WORDSIZE == 64] (MC_PC): Likewise. - [__WORDSIZE == 64] (MC_NPC): Likewise. - [__WORDSIZE == 64] (MC_Y): Likewise. - [__WORDSIZE == 64] (MC_G1): Likewise. - [__WORDSIZE == 64] (MC_G2): Likewise. - [__WORDSIZE == 64] (MC_G3): Likewise. - [__WORDSIZE == 64] (MC_G4): Likewise. - [__WORDSIZE == 64] (MC_G5): Likewise. - [__WORDSIZE == 64] (MC_G6): Likewise. - [__WORDSIZE == 64] (MC_G7): Likewise. - [__WORDSIZE == 64] (MC_O0): Likewise. - [__WORDSIZE == 64] (MC_O1): Likewise. - [__WORDSIZE == 64] (MC_O2): Likewise. - [__WORDSIZE == 64] (MC_O3): Likewise. - [__WORDSIZE == 64] (MC_O4): Likewise. - [__WORDSIZE == 64] (MC_O5): Likewise. - [__WORDSIZE == 64] (MC_O6): Likewise. - [__WORDSIZE == 64] (MC_O7): Likewise. - [__WORDSIZE == 64] (MC_NGREG): Rename to __MC_NGREG and define to - __MC_NGREG if [__USE_MISC]. - [__WORDSIZE == 64] (MC_MAXFPQ): Define only for [__USE_MISC]. - [__WORDSIZE == 64] (mc_gregset_t): Define using __MC_NGREG. - [__WORDSIZE == 64] (struct mc_fq): Rename to struct __mc_fq. - Define fields using __ctx. - [__WORDSIZE == 64] (mc_fpu_t): Remove struct tag. Define fields - using __ctx. - [__WORDSIZE == 64] (mcontext_t): Define fields using __ctx. - (REG_PSR): Define only for [__USE_MISC]. - (REG_PC): Likewise. - (REG_nPC): Likewise. - (REG_Y): Likewise. - (REG_G1): Likewise. - (REG_G2): Likewise. - (REG_G3): Likewise. - (REG_G4): Likewise. - (REG_G5): Likewise. - (REG_G6): Likewise. - (REG_G7): Likewise. - (REG_O0): Likewise. - (REG_O1): Likewise. - (REG_O2): Likewise. - (REG_O3): Likewise. - (REG_O4): Likewise. - (REG_O5): Likewise. - (REG_O6): Likewise. - (REG_O7): Likewise. - [__WORDSIZE == 64] (REG_ASI): Define only for [__USE_MISC]. - [__WORDSIZE == 64] (REG_FPRS): Likewise. - (NGREG): Rename to __NGREG and define to __NGREG if [__USE_MISC]. - (gregset_t): Define using __NGREG. - (SPARC_MAXREGWINDOW): Rename to __SPARC_MAXREGWINDOW and define to - __SPARC_MAXREGWINDOW if [__USE_MISC]. - (struct rwindow): Rename to struct __rwindow. Define fields using - __ctx. - (rw_fp): Define only for [__USE_MISC]. - (rw_rtn): Likewise. - (gwindows_t): Remove struct tag. Define fields using __ctx and - __SPARC_MAXREGWINDOW. - (MAXFPQ): Define only for [__USE_MISC]. - (struct fpq): Rename to struct __fpq. Define fields using __ctx. - (struct fq): Rename to struct __fq. Define fields using __ctx. - (FPU_REGS_TYPE): Define only for [__USE_MISC]. - (FPU_DREGS_TYPE): Likewise. - (V7_FPU_FSR_TYPE): Likewise. - (V9_FPU_FSR_TYPE): Likewise. - (V9_FPU_FPRS_TYPE): Likewise. - [__WORDSIZE == 64] (fpregset_t): Remove struct tag. Define fields - using __ctx. - [__WORDSIZE != 64] (fpregset_t): Likewise. - [__WORDSIZE != 64] (xrs_t): Define fields using __ctx. - [__WORDSIZE != 64] (XRS_ID): Define only for [__USE_MISC]. - [__WORDSIZE != 64] (mcontext_t): Define fields using __ctx. - Rename field filler to __glibc_reserved1. - * sysdeps/unix/sysv/linux/sparc/sparc32/ucontext_i.sym - (MC_FILLER): Remove. - -2017-06-29 Florian Weimer - - * stdio-common/tst-vfprintf-user-type.c (my_printf_function): - Adjust format string. - * stdio-common/Makefile (tst-vfprintf-mbs-prec.out): Add locale - dependency. - -2017-06-29 Adhemerval Zanella - - * sysdeps/posix/spawni.c (__spawni_child): New function. - (__spawni): Rename to __spawnix. - -2017-06-29 Florian Weimer - - * stdio-common/vfprintf.c (group_number): Add front_ptr argument. - Use it to make the temporary copy at the start of the work buffer. - (process_arg): Adjust call to group_number. - -2017-06-29 Florian Weimer - - * stdio-common/vfprintf.c (printf_positional): Use struct - scratch_buffer to allocate backing storage for the args_value, - args_size, args_type arrays. - -2017-06-29 Florian Weimer - - * stdio-common/_i18n_number.h (_i18n_number_rewrite): Use struct - scratch_buffer. - -2017-06-29 Florian Weimer - - * stdio-common/vfprintf.c (WORK_BUFFER_SIZE): Reduce size for - wchar_t builds. - -2017-06-29 Florian Weimer - - * stdio-common/tst-vfprintf-mbs-prec.c: New file. - * stdio-common/Makefile (tests): Add tst-vfprintf-mbs-prec. - -2017-06-29 Florian Weimer - - * stdio-common/tst-vfprintf-user-type.c: New file. - * stdio-common/Makefile (tests): Add tst-vfprintf-user-type. - -2017-06-28 Adhemerval Zanella - - * posix/tst-spawn2.c (do_test): Use libsupport. - * posix/tst-spawn3.c (do_test): Likewise. - -2017-06-28 Joseph Myers - - * math/gen-tgmath-tests.py (Tests.__init__): Define - __STDC_WANT_IEC_60559_TYPES_EXT__ at start of generated file. - - * math/tgmath.h: Include and - . - (__TGMATH_F128): New macro. - (__TGMATH_CF128): Likewise. - (__TGMATH_UNARY_REAL_ONLY): Use __TGMATH_F128. - (__TGMATH_UNARY_REAL_RET_ONLY): Likewise. - (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise. - (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): New macro. - (__TGMATH_BINARY_REAL_ONLY): Use __TGMATH_F128. - (__TGMATH_BINARY_REAL_STD_ONLY): New macro. - (__TGMATH_BINARY_REAL_RET_ONLY): Use __TGMATH_F128. - (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise. - (__TGMATH_TERNARY_REAL_ONLY): Likewise. - (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise. - (__TGMATH_UNARY_REAL_IMAG): Use __TGMATH_CF128. - (__TGMATH_UNARY_IMAG): Use __TGMATH_F128. - (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __TGMATH_CF128. - (__TGMATH_BINARY_REAL_IMAG): Likewise. - (nexttoward): Use __TGMATH_BINARY_FIRST_REAL_STD_ONLY. - [__USE_MISC] (scalb): Use __TGMATH_BINARY_REAL_STD_ONLY. - * math/gen-tgmath-tests.py (Type.init_types): Enable _FloatN and - _FloatNx types if the corresponding HUGE_VAL macros are defined. - - * math/tgmath.h [__USE_GNU] (log10): Use clog10 not __clog10. - * math/gen-tgmath-tests.py (Tests.add_all_tests): Test log10 for - complex arguments. - - [BZ #21687] - * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): New macro. - (totalorder): Use it. - (totalordermag): Likewise. - * math/gen-tgmath-tests.py (Tests.add_all_tests): Enable tests of - totalorder and totalordermag. - * math/test-tgmath.c (F(compile_test)): Do not call totalorder or - totalordermag in arguments of calls to those functions. - (NCALLS): Change to 134. - - * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): Do not take or - cast to return type argument. - (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise. - (lrint): Update call to __TGMATH_UNARY_REAL_RET_ONLY. - (llrint): Likewise. - (lround): Likewise. - (llround): Likewise. - (ilogb): Likewise. - (llogb): Likewise. - (fromfp): Update call to __TGMATH_TERNARY_FIRST_REAL_RET_ONLY. - (ufromfp): Likewise. - (fromfpx): Likewise. - (ufromfpx): Likewise. - - [BZ #21607] - * math/basic-test.c [!NO_LONG_DOUBLE]: Change conditionals to - [LDBL_MANT_DIG > DBL_MANT_DIG]. - * math/bug-nextafter.c [!NO_LONG_DOUBLE]: Remove conditionals. - * math/bug-nexttoward.c [!NO_LONG_DOUBLE]: Likewise. - * math/test-math-isinff.cc [!NO_LONG_DOUBLE]: Likewise. - * math/test-math-iszero.cc [!NO_LONG_DOUBLE]: Likewise. - * math/test-nan-overflow.c [!NO_LONG_DOUBLE]: Likewise. - * math/test-nan-payload.c [!NO_LONG_DOUBLE]: Likewise. - * math/test-nearbyint-except-2.c [!NO_LONG_DOUBLE]: Likewise. - * math/test-nearbyint-except.c [!NO_LONG_DOUBLE]: Likewise. - * math/test-powl.c [!NO_LONG_DOUBLE]: Likewise. - * math/test-signgam-finite-c99.c [!NO_LONG_DOUBLE]: Likewise. - * math/test-signgam-finite.c [!NO_LONG_DOUBLE]: Likewise. - * math/test-signgam-main.c [!NO_LONG_DOUBLE]: Likewise. - * math/test-snan.c [!NO_LONG_DOUBLE]: Likewise. - * math/test-tgmath-ret.c [!NO_LONG_DOUBLE]: Likewise. - * math/test-tgmath.c: Include . - [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG > - DBL_MANT_DIG]. - * math/test-tgmath2.c: Include . - [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG > - DBL_MANT_DIG]. - - * math/gen-tgmath-tests.py: New file. - * math/Makefile [PYTHON] (tests): Add test-tgmath3. - [PYTHON] (generated): Add test-tgmath3.c. - [PYTHON] (CFLAGS-test-tgmath3.c): New variable. - [PYTHON] ($(objpfx)test-tgmath3.c): New rule. - - * configure.ac (AS): Require binutils 2.25 or later. - (LD): Likewise. - * configure: Regenerated. - * sysdeps/s390/configure.ac (AS): Remove version check. - * sysdeps/s390/configure: Regenerated. - * sysdeps/x86_64/configure.ac (AS): Remove version check. - * sysdeps/x86_64/configure: Regenerated. - * manual/install.texi (Tools for Compilation): Document - requirement for binutils 2.25 or later. - * INSTALL: Regenerated. - -2017-06-28 H.J. Lu - - [BZ #14995] - * configure.ac: Allow gold 1.14 or above to configire glibc - * configure: Regenerated. - -2017-06-28 Joseph Myers - - [BZ #21457] - * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (fpregset_t): Remove - struct tag. - * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (fpregset_t): - Likewise. - * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (mcontext_t): - Likewise. - * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (pt_regs): - Declare struct type with __ctx. - [__WORDSIZE != 32] (mcontext_t): Use __ctx with pt_regs struct - tag. - (ucontext_t) [__WORDSIZE == 32]: Use __ctx with pt_regs struct tag - and regs field name. - -2017-06-27 Joseph Myers - - * elf/loadtest.c (OUT): Define using do { } while (0). - - * time/strftime_l.c (DO_NUMBER): Define using do { } while (0). - (DO_NUMBER_SPACEPAD): Likewise. - -2017-06-27 Prakhar Bahuguna - - * sysdeps/arm/armv7/multiarch/Makefile: Add memchr_neon to - sysdep_routines. - * sysdeps/arm/armv7/multiarch/ifunc-impl-list.c: Add define for - __memchr_neon. - Add ifunc definitions for __memchr_neon and __memchr_noneon. - * sysdeps/arm/armv7/multiarch/memchr.S: New file. - * sysdeps/arm/armv7/multiarch/memchr_impl.S: Likewise. - * sysdeps/arm/armv7/multiarch/memchr_neon.S: Likewise. - -2017-06-27 Stefan Liebler - - * sysdeps/s390/utf8-utf16-z9.c (__to_utf8_loop_vx_cu): - Use vector and cu21 instruction. - * sysdeps/s390/multiarch/utf8-utf16-z9.c: - Add __to_utf8_loop_vx_cu in ifunc resolver. - -2017-06-27 Stefan Liebler - - * sysdeps/s390/utf16-utf32-z9.c (__from_utf16_loop_vx_cu): - Use vector and cu24 instruction. - -2017-06-27 Stefan Liebler - - * sysdeps/s390/utf16-utf32-z9.c (__to_utf16_loop_vx_cu): - Use vector and cu42 instruction. - * sysdeps/s390/multiarch/utf16-utf32-z9.c: - Add __to_utf16_loop_vx_cu in ifunc resolver. - -2017-06-27 Stefan Liebler - - * sysdeps/s390/utf8-utf32-z9.c (__to_utf8_loop_vx_cu): - Use vector and cu41 instruction. - * sysdeps/s390/multiarch/utf8-utf32-z9.c: Add __to_utf8_loop_vx_cu - in ifunc resolver. - -2017-06-27 Stefan Liebler - - * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): - Add vxd, vxe, gs flag. - * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXD, HWCAP_S390_VXE, - HWCAP_S390_GS capability. - * sysdeps/unix/sysv/linux/s390/bits/hwcap.h - (HWCAP_S390_VXD, HWCAP_S390_VXE, HWCAP_S390_GS): Define. - -2017-06-27 H.J. Lu - - * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (MEMCMP): Check - the first 32 bytes before checking size when size >= 32 bytes. - Replace vpmovmskb/subl/jnz with vptest/jnc. - -2017-06-27 Stefan Liebler - - * sysdeps/s390/s390-32/tls-macros.h (TLS_IE): Use r12 for GOT address. - * sysdeps/s390/s390-64/tls-macros.h (TLS_IE): Likewise. - -2017-06-27 Florian Weimer - - Work around test timeouts with ICMP rate limiting on localhost. - * resolv/tst-resolv-res_init-skeleton.c (start_dummy_server): New - function. - (do_test): Call it. - -2017-06-27 Florian Weimer - - Call _res_hconf_init from __res_vinit. - * inet/gethstbyad_r.c (NEED__RES_HCONF): Remove. - * inet/gethstbynm2_r.c (NEED__RES_HCONF): Likewise. - (NEED__RES): Define. - * inet/gethstbynm_r.c (NEED__RES_HCONF): Remove. - (NEED__RES): Define. - * nscd/aicache.c (addhstaiX): Remove call to _res_hconf_init. - * nscd/gethstbyad_r.c (NEED__RES_HCONF): Remove. - * nscd/gethstbynm3_r.c (NEED__RES_HCONF): Likewise. - (NEED__RES): Define. - * nss/getXXbyYY_r.c (REENTRANT_NAME): Remove call to - _res_hconf_init. - * resolv/res_hconf.h (_res_hconf_init): Declare as hidden. - * resolv/res_init.c (__res_vinit): Call _res_hconf_init. - * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove call to - _res_hconf_init. - -2017-06-26 Joseph Myers - - * sysdeps/ia64/Implies: Add ieee754/float128. - * sysdeps/ia64/bits/floatn.h: New file. - * sysdeps/ia64/float128-abi.h: Likewise. - * manual/math.texi (Mathematics): Document support for _Float128 - on ia64. - * sysdeps/ia64/Makefile [$(subdir) = math] (CPPFLAGS): Append to - Makefile variable. - * sysdeps/ia64/fpu/e_sqrtf128.c: New file. - * sysdeps/ia64/fpu/k_rem_pio2.c: Remove file. - * sysdeps/ia64/fpu/sfp-machine.h: New file. Based on libgcc. - * sysdeps/ia64/math-tests.h: New file. - * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): Also define - based on TEST_COND_binary128 for [__ia64__]. - * sysdeps/unix/sysv/linux/ia64/libc.abilist: Update. - * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise, - - [BZ #21457] - * sysdeps/arm/sys/ucontext.h (struct ucontext): Rename to struct - ucontext_t. - * sysdeps/generic/sys/ucontext.h (struct ucontext): Likewise. - * sysdeps/i386/sys/ucontext.h (struct ucontext): Likewise. - * sysdeps/m68k/sys/ucontext.h (struct ucontext): Likewise. - * sysdeps/mips/sys/ucontext.h (struct ucontext): Likewise. - * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (struct - ucontext): Likewise. - * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (struct ucontext): - Likewise. - * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (struct ucontext): - Likewise. - * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (struct ucontext): - Likewise. - * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h (struct ucontext): - Likewise. - * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (struct ucontext): - Likewise. - * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (struct ucontext): - Likewise. - * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (struct ucontext): - Likewise. - * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (struct - ucontext): Likewise. - * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (struct ucontext): - Likewise. - * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (struct ucontext): - Likewise. - * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct ucontext): - Likewise. - * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (struct ucontext): - Likewise. - * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (struct ucontext): - Likewise. - * sysdeps/powerpc/powerpc32/backtrace.c (struct - rt_signal_frame_32): Likewise. - * sysdeps/powerpc/powerpc64/backtrace.c (struct signal_frame_64): - Likewise. - * sysdeps/unix/sysv/linux/aarch64/kernel_rt_sigframe.h (struct - kernel_rt_sigframe): Likewise. - * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT): - Likewise. - * sysdeps/unix/sysv/linux/arm/register-dump.h (register_dump): - Likewise. - * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h (SIGCONTEXT): - Likewise. - * sysdeps/unix/sysv/linux/hppa/profil-counter.h - (__profil_counter): Likewise. - * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h - (SIGCONTEXT): Likewise. - * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h (struct - kernel_rt_sigframe): Likewise. - * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h (struct - kernel_rt_sigframe): Likewise. - * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h (SIGCONTEXT): - Likewise. - * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): - Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c - (__start_context): Likewise. - * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h (SIGCONTEXT): - Likewise. - * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump): - Likewise. - * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT): - Likewise. - - * sysdeps/i386/Implies: Add ieee754/float128. - * sysdeps/x86_64/Implies: Likewise. - * sysdeps/x86/bits/floatn.h: New file. - * sysdeps/x86/float128-abi.h: Likewise. - * manual/math.texi (Mathematics): Document support for _Float128 - on x86_64 and x86. - * sysdeps/i386/fpu/fenv_private.h: Include . - (math_opt_barrier): Do not put _Float128 values in floating-point - registers. - (math_force_eval): Likewise. - [__x86_64__] (SET_RESTORE_ROUNDF128): New macro. - * sysdeps/x86/fpu/Makefile [$(subdir) = math] (CPPFLAGS): Append - to Makefile variable. - * sysdeps/x86/fpu/e_sqrtf128.c: New file. - * sysdeps/x86/fpu/sfp-machine.h: Likewise. Based on libgcc. - * sysdeps/x86/math-tests.h: New file. - * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): New macro. - * math/libm-test-getpayload.inc (getpayload_test_data): Use - XFAIL_FLOAT128_PAYLOAD. - * math/libm-test-setpayload.inc (setpayload_test_data): Likewise. - * math/libm-test-totalorder.inc (totalorder_test_data): Likewise. - * math/libm-test-totalordermag.inc (totalordermag_test_data): - Likewise. - * sysdeps/unix/sysv/linux/i386/libc.abilist: Update. - * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise. - * sysdeps/i386/fpu/libm-test-ulps: Likewise. - * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2017-06-26 Adhemerval Zanella - - [BZ #21512] - * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Call exit - syscall instead of jump to _exit. - (CLONE_VM_BIT): Remove unused define. - (CLONE_VM): Likewise. - (CLONE_THREAD_BIT): Likewise. - (CLONE_THREAD): Likewise. - * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise. - (CLONE_VM): Remove unused define. - * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise. - (CLONE_VM): Remove unused define. - (CLONE_THREAD): Likewise. - * sysdeps/unix/sysv/linux/i386/clone.S (CLONE_VM): Likewise. - * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Call exit - syscall instead of jump to _exit. - * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise. - * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise. - (CLONE_VM): Remove unused define. - (CLONE_THREAD): Likewise. - * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise. - (CLONE_VM): Remove unused define. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): - Likewise. - (CLONE_VM): Remove unused define. - (CLONE_THREAD): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone): - Likewise. - (CLONE_VM): Remove unused define. - (CLONE_THREAD): Likewise. - * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise. - (CLONE_VM): Remove unused define. - * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise. - (CLONE_VM): Remove unused define. - * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise. - * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise. - (CLONE_VM): Remove unused define. - * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-clone3. - * sysdeps/unix/sysv/linux/tst-clone3.c: New file. - -2017-06-26 Paul E. Murphy - Gabriel F. T. Gomes - - * manual/math.texi (Mathematics): Mention the enabling of float128 - for powerpc64le. - * sysdeps/powerpc/bits/floatn.h: New file. - * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated. - * sysdeps/powerpc/fpu/math_private.h: - (__ieee754_sqrtf128): New inline override. - * sysdeps/powerpc/powerpc64le/Implies-before: New file. - * sysdeps/powerpc/powerpc64le/Makefile: New file. - * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: New file. - * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: New file. - * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: - Updated. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: - New file. - -2017-06-26 Gabriel F. T. Gomes - - * sysdeps/powerpc/powerpc64le/configure.ac: Check for POWER8. - * sysdeps/powerpc/powerpc64le/configure: Update. - -2017-06-26 Gabriel F. T. Gomes - Tulio Magno Quites Machado Filho - - * INSTALL: Regenerate. - * manual/install.texi (Recommended Tools for Compilation): Mention - the powerpc64le-specific requirement in the manual. - * sysdeps/powerpc/powerpc64le/configure.ac: New file with checks - for the compiler features required for building float128. - * sysdeps/powerpc/powerpc64le/configure: New, auto-generated file. - -2017-06-26 Tulio Magno Quites Machado Filho - - * malloc/tst-alloc_buffer.c (test_misaligned): Cast to char - before comparing with another char. - -2017-06-25 Rical Jasan - - * manual/math.texi: Fix a grammatical error. - -2017-06-24 Florian Weimer - - [BZ #21295] - * resolv/tst-resolv-basic.c (do_test): Add new test cases. - -2017-06-24 Dmitry Bilunov - - [BZ #21295] - * sysdeps/posix/getaddrinfo.c (convert_hostent_to_gaih_addrtuple): - Append addresses at the end of the list. - -2017-06-23 H.J. Lu - - [BZ #21666] - * misc/regexp.c (loc1): Add __attribute__ ((nocommon)); - (loc2): Likewise. - (locs): Likewise. - -2017-06-23 Florian Weimer - - [BZ #16637] - inet_pton: Reject invalid IPv6 addresses with many leading zeros. - * resolv/inet_pton.c (inet_pton6): Count number of hexadecimal - digits between colons. - * resolv/tst-inet_pton.c (test_cases): Adjust test expectations. - -2017-05-23 Adhemerval Zanella - Juan Manuel Torres Palma - - * include/sched.h (__sched_get_priority_max): Add libc hidden proto. - (__sched_get_prioriry_min): Likewise. - * include/sys/mman.h (__mmap): Likewise. - (__mmap64): Likewise. - (__munmap): Likewise. - (__mprotect): Likewise. - * include/termios.h (__tcsetattr): Likewise. - * include/time.h (__nanosleep): Use hidden_proto instead of - libc_hidden_proto. - * posix/nanosleep.c (__nanosleep): Likewise. - * misc/Versions (libc): Export __mmap, __munmap, __mprotect, - __sched_get_priority_min, and __sched_get_priority_max under - GLIBC_PRIVATE. - * nptl/allocatestack.c (__free_stacks): Use internal definition for - libc symbols. - (change_stack_perm): Likewise. - (change_stack_perm): Likewise. - (allocate_stack): Likewise. - * sysdeps/posix/gethostname.c: Likewise. - * nptl/tpp.c (__init_sched_fifo_prio): Likewise. - * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise. - * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise. - * nptl/pthreadP.h (__pthread_mutex_timedlock): Add definition. - (__pthread_key_delete): Likewise. - (__pthread_detach): Likewise. - (__pthread_cancel): Likewise. - (__pthread_mutex_trylock): Likewise. - (__pthread_mutexattr_init): Likewise. - (__pthread_mutexattr_settype): Likewise. - * nptl/pthread_cancel.c (pthread_cancel): Change to internal name and - create alias for exported one. - * nptl/pthread_join.c (pthread_join): Likewise. - * nptl/pthread_detach.c (pthread_detach): Likewise. - * nptl/pthread_key_delete.c (pthread_key_delete): Likewise. - * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise. - * nptl/pthread_create.c: Change static requirements for pthread - symbols. - * nptl/pthread_equal.c (__pthread_equal): Change strong alias to weak - for internal definition. - * nptl/pthread_exit.c (__pthread_exit): Likewise. - * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise. - * nptl/pthread_key_create.c (__pthread_key_create): Likewise. - * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy): Likewise. - * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise. - * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise. - * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise. - * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock): Likewise. - * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likwise. - * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype): - Likewise. - * nptl/pthread_self.c (__pthread_self): Likewise. - * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise. - * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise. - * misc/mmap.c (__mmap): Add internal symbol definition. - * misc/mmap.c (__mmap64): Likewise. - * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise. - * sysdeps/unix/sysv/linux/mmap64.c (__mmap): Likewise. - (__mmap64): Likewise. - * sysdeps/unix/sysv/linux/i386/Versions (libc) [GLIBC_PRIVATE): - Add __uname. - -2017-06-23 Joseph Myers - - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise. - - * libm-test-support.c (check_float_internal): Clear exceptions at - end of function. - (check_int): Likewise. - (check_long): Likewise. - (check_bool): Likewise. - (check_longlong): Likewise. - (check_intmax_t): Likewise. - (check_uintmax_t): Likewise. - - * sysdeps/x86/fpu/bits/fenv.h [_LIBC] (__feraiseexcept_renamed): - Do not declare. - * sysdeps/x86/fpu/include/bits/fenv.h [_LIBC && - __USE_EXTERN_INLINES] (__feraiseexcept_renamed): Declare here, - redirected to __GI_feraiseexcept if [SHARED && IS_IN (libm)]. - -2017-06-23 H.J. Lu - - * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3): - Replace movzbl and orl with movb. - -2017-06-23 Gabriel F. T. Gomes - - * manual/arith.texi (Infinity and NaN): Document SNANFN and SNANFNx. - (Error Reporting by Mathematical Functions): Document HUGE_VAL_FN - and HUGE_VAL_FNx. - (Absolute Value): Document fabsfN, fabsfNx, cabsfN, cabsfNx. - Rephrase the paragraph that mentions that fabs, fabsf, and fabsl - are in math.h, to avoid having to list the _FloatN and _FloatNx - variants as well. Likewise for the cabs functions. - (Normalization Functions): Document frexpfN, frexpfNx, ldexpfN, - ldexpfNx, scalbnfN, scalbnfNx, scalblnfN, scalblnfNx. - Mention that _FloatN and _FloatNx variants of scalbn and scalbln - come from TS 18661-3, since this section explicitly states that - these functions come from BSD. - (Rounding Functions): Document ceilfN, ceilfNx, floorfN, floorfNx, - truncfN, truncfNx, rintfN, rintfNx, nearbyintfN, nearbyintfNx, - roundfN, roundfNx, roundevenfN, roundevenfNx, lrintfN, lrintfNx, - llrintfN, llrintfNx, lroundfN, lroundfNx, llroundfN, llroundfNx, - fromfpfN, fromfpfNx, ufromfpfN, ufromfpfNx, fromfpxfN, fromfpxfNx, - ufromfpxfN, ufromfpxfNx, modffN, modffNx. - (Remainder Functions): Document fmodfN, fmodfNx, remainderfN, - remainderfNx. - (Setting and modifying single bits of FP values): Document - copysignfN, copysignfNx, nextafterfN, nextafterfNx, nextupfN, - nextupfNx, nextdownfN, nextdownfNx, nanfN, nanfNx, canonicalizefN, - canonicalizefNx, getpayloadfN, getpayloadfNx, setpayloadfN, - setpayloadfNx, setpayloadsigfN, setpayloadsigfNx. - (Floating-Point Comparison Functions): Document totalorderfN, - totalorderfNx, totalordermagfN, totalordermagfNx. - (Miscellaneous FP arithmetic functions): Document fminfN, fminfNx, - fmaxfN, fmaxfNx, fminmagfN, fminmagfNx, fmaxmagfN, fmaxmagfNx, - fdimfN, fdimfNx, fmafN, fmafNx. - (Complex Numbers): Document the complex types: _FloatN complex and - _FloatNx complex. - (rojections, Conjugates, and Decomposing of Complex Numbers): - Document crealfN, crealfNx, cimagfN, cimagfNx, conjfN, conjfNx, - cargfN, cargfNx, cprojfN, cprojfNx. - * manual/math.texi (Mathematics): Mention that the _FloatN and - _FloatNx variants of the math functions come from TS 18661-3, - unless otherwise stated. - (Predefined Mathematical Constants): Document the _FloatN and - _FloatNx variants of the macros prefixed with M_. - (Trigonometric Functions): Document sinfN, sinfNx, cosfN, cosfNx, - tanfN, tanfNx, sincosfN, sincosfNx, csinfN, csinfNx, ccosfN, - ccosfNx, ctanfN, ctanfNx. - (Inverse Trigonometric Functions): Document asinfN, asinfNx, - acosfN, acosfNx, atanfN, atanfNx, atan2fN, atan2fNx. - (Exponentiation and Logarithms): Document expfN, expfNx, exp2fN, - exp2fNx, exp10fN, exp10fNx, logfN, logfNx, log10fN, log10fNx, - log2fN, log2fNx, logbfN, logbfNx, ilogbfN, ilogbfNx, llogbfN, - llogbfNx, powfN, powfNx, sqrtfN, sqrtfNx, cbrtfN, cbrtfNx, hypotfN, - hypotfNx, expm1fN, expm1fNx, log1pfN, log1pfNx, cexpfN, cexpfNx, - clogfN, clogfNx, clog10fN, clog10fNx, csqrtfN, csqrtfNx, cpowfN, - cpowfNx. - (Hyperbolic Functions): sinhfN, sinhfNx, coshfN, coshfNx, tanhfN, - tanhfNx, csinhfN, csinhfNx, ccoshfN, ccoshfNx, ctanhfN, ctanhfNx, - asinhfN, asinhfNx, acoshfN, acoshfNx, atanhfN, atanhfNx, casinhfN, - casinhfNx, cacoshfN, cacoshfNx, catanhfN, catanhfNx. - (Special Functions): Document erffN, erffNx, erfcfN, erfcfNx, - lgammafN, lgammafNx, lgammarfN_r, lgammafNx_r, tgammafN, tgammafNx, - j0fN, j0fNx, j1fN, j1fNx, jnfN, jnfNx, y0fN, y0fNx, y1fN, y1fNx, - ynfN, ynfNx. - -2017-06-23 Florian Weimer - - * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3): Fix typo in comment. - -2017-06-23 Florian Weimer - - * resolv/res_libc.c: Reformat to GNU style. - -2017-06-23 Florian Weimer - - * resolv/resolv-internal.h (__res_initstamp): Declare. - * resolv/res_init.c (__res_initstamp): Remove hidden attribute. - It is implied by the declaration. - * resolv/res_libc.c (__res_initstamp): Remove declaration. - -2017-06-23 Florian Weimer - - [BZ #21662] - * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3): - Use only 24 bits of the register before the subtraction. - * string/test-memcmp.c (check1): Check with different lengths. - -2017-06-23 Gabriel F. T. Gomes - - * sysdeps/ieee754/float128/Makefile (CFLAGS-strfromf128.c): Add - $(libio-mtsafe) to get the value of IO_MTSAFE_IO. - -2017-06-23 Gabriel F. T. Gomes - - * manual/libm-err-tab.pl (@all_floats, %suffices, parse_ulps): - Enable generation of float128 entries on the error table. - -2017-06-23 Gabriel F. T. Gomes - - * include/float.h: Include libc-header-start.h to get the - definition of __GLIBC_USE. - -2017-06-23 Paul A. Clarke - - * sysdeps/ieee754/flt-32/e_powf.c: Optimized implementation utilizing - rearranged code and doubles float types. - -2017-06-23 Rogerio A. Cardoso - - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Change - s_sinf.c from sysdeps/ieee754/flt-32/ to sysdeps/powerpc/fpu/. - -2017-06-23 Paul A. Clarke - - * sysdeps/unix/sysv/linux/powerpc/sysconf.c: Remove references - to errno, and simplify remaining related code. - -2017-06-23 Tulio Magno Quites Machado Filho - - * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_DARN and - PPC_FEATURE2_SCV. - * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add scv - and darn. - -2017-06-23 Rajalakshmi Srinivasaraghavan - - * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S(STRRCHR): Define - the implementation-specific function name and remove unneeded macros - definition. - * sysdeps/powerpc/powerpc64/power8/strrchr.S(STRRCHR): Set a default - function name if not defined and pass as parameter to macros - accordingly. - -2017-06-23 Rajalakshmi Srinivasaraghavan - - * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile - (libm-sysdep_routines): Add s_llroundf-ppc64. - * sysdeps/powerpc/powerpc64/power5+fpu/s_llround.S - (__llroundf): Define as strong alias of __llround. - (llroundf): Define as weak alias of __llround. - (__lroundf): Define as strong alias of __llround. - (lroundf): Define as weak alias of __llround. - * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise. - * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: New file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Likewise. - * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise. - * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise. - * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise. - -2017-06-22 Joseph Myers - - * sysdeps/ieee754/ldbl-96/bits/iscanonical.h - [__HAVE_DISTINCT_FLOAT128] (__iscanonicalf128): New macro. - - * sysdeps/generic/math-tests.h: Include . - (MATH_TESTS_TG): New macro. - (SNAN_TESTS_float128): Likewise. - (ROUNDING_TESTS_float128): Likewise. - (EXCEPTION_TESTS_float128): Likewise. - (SNAN_TESTS): Define using MATH_TESTS_TG. - (ROUNDING_TESTS): Likewise. - (EXCEPTION_TESTS): Likewise. - - * sysdeps/ieee754/float128/float128_private.h - [SET_RESTORE_ROUNDF128] (SET_RESTORE_ROUNDL): Take an argument and - pass it to SET_RESTORE_ROUNDF128. - - * sysdeps/ieee754/float128/float128_private.h: Include - . - - * sysdeps/generic/math_private.h (__EXPR_FLT128): Do not apply - typeof to argument passed to __builtin_types_compatible_p. - (min_of_type): Pass type argument, not x, to __EXPR_FLT128. - - * math/w_acos_template.c [__USE_WRAPPER_TEMPLATE]: Include - . - * math/w_acosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. - * math/w_asin_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. - * math/w_atanh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. - * math/w_cosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. - * math/w_exp10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. - * math/w_exp2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. - * math/w_exp_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. - * math/w_fmod_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. - * math/w_hypot_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. - * math/w_j0_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. - * math/w_j1_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. - * math/w_jn_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. - * math/w_lgamma_r_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. - * math/w_lgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. - * math/w_log10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. - * math/w_log2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. - * math/w_log_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. - * math/w_pow_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. - * math/w_remainder_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. - * math/w_sinh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. - * math/w_sqrt_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. - * math/w_tgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. - - * sysdeps/ieee754/float128/strtof128_l.c: Include - instead of . - * sysdeps/ieee754/float128/wcstof128.c: Likewise. - * sysdeps/ieee754/float128/wcstof128_l.c: Likewise. - -2017-06-22 Siddhesh Poyarekar - - * benchtests/scripts/benchout_strings.schema.json: New file. - * benchtests/scripts/compare_strings.py: New file. - - * benchtests/bench-memcpy-large.c: Include json-lib.h. - (do_one_test): Print json. - (do_test): Likewise. - (test_main): Likewise. - * benchtests/bench-memcpy-random.c: Include json-lib.h. - (do_one_test): Print json. - (do_test): Likewise. - (test_main): Likewise. - * benchtests/bench-memcpy.c: Include json-lib.h. - (do_one_test): Print json. - (do_test): Likewise. - (test_main): Likewise. - - * benchtests/json-lib.h: Include inttypes.h. - (json_attr_int, json_attr_int, json_element_string, - json_element_int, json_element_uint): New functions. - * benchtests/json-lib.c: (json_attr_int, json_attr_int, - json_element_string, json_element_int, json_element_uint): New - functions. - -2017-06-22 Gabriel F. T. Gomes - - * manual/arith.texi (Remainder Functions): Describe remainder as - primary and drem as an alternative name. Change the comment on - remainder to ISO, since it is defined in ISO C99. - -2017-06-22 Gabriel F. T. Gomes - - * stdlib/tst-strtod.h (MMFUNC): New macro to provide an addition - macro expansion. - (GEN_TEST_STRTOD_FOREACH): Use MMFUNC for _Float128. - -2017-06-22 Mike FABIAN - - [BZ #21533] - * include/stdc-predef.h (__STDC_ISO_10646__): Update to - 201706L for Unicode 10.0. - -2017-06-21 Benjamin Cama - - [BZ #21657] - * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Permit scopes - on node-local addresses. - * inet/tst-inet6_scopeid_pton.c (do_test): Adjust test. - -2017-06-21 Florian Weimer - - * intl/loadmsgcat.c: Remove alloca support. - (_nl_load_domain): Use calloc instead of alloca. - -2017-04-21 Florian Weimer - - * malloc/Makefile (tests-internal): Add tst-alloc_buffer. - (routines): Add alloc_buffer_alloc_array, alloc_buffer_allocate, - alloc_buffer_copy_bytes, alloc_buffer_copy_string, - alloc_buffer_create_failure. - * malloc/Versions (__libc_alloc_buffer_alloc_array) - (__libc_alloc_buffer_allocate, __libc_alloc_buffer_copy_bytes) - (__libc_alloc_buffer_copy_string) - (__libc_alloc_buffer_create_failure): Export as GLIBC_PRIVATE. - * malloc/alloc_buffer_alloc_array.c: New file. - * malloc/alloc_buffer_allocate.c: Likewise. - * malloc/alloc_buffer_copy_bytes.c: Likewise. - * malloc/alloc_buffer_copy_string.c: Likewise. - * malloc/alloc_buffer_create_failure.c: Likewise. - * malloc/tst-alloc_buffer.c: Likewise. - -2017-06-21 H.J. Lu - - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add - strcmp-sse2, strcmp-sse4_2, strncmp-sse2, strncmp-sse4_2, - strcasecmp_l-sse2, strcasecmp_l-sse4_2, strcasecmp_l-avx, - strncase_l-sse2, strncase_l-sse4_2 and strncase_l-avx. - * sysdeps/x86_64/multiarch/ifunc-strcasecmp.h: New file. - * sysdeps/x86_64/multiarch/strcasecmp.c: Likewise. - * sysdeps/x86_64/multiarch/strcasecmp_l-avx.S: Likewise. - * sysdeps/x86_64/multiarch/strcasecmp_l-sse2.S: Likewise. - * sysdeps/x86_64/multiarch/strcasecmp_l-sse4_2.S: Likewise. - * sysdeps/x86_64/multiarch/strcasecmp_l.c: Likewise. - * sysdeps/x86_64/multiarch/strcmp-sse2.S: Likewise. - * sysdeps/x86_64/multiarch/strcmp-sse4_2.S: Likewise. - * sysdeps/x86_64/multiarch/strcmp.c: Likewise. - * sysdeps/x86_64/multiarch/strncase.c: Likewise. - * sysdeps/x86_64/multiarch/strncase_l-avx.S : Likewise. - * sysdeps/x86_64/multiarch/strncase_l-sse2.S: Likewise. - * sysdeps/x86_64/multiarch/strncase_l-sse4_2.S: Likewise. - * sysdeps/x86_64/multiarch/strncase_l.c: Likewise. - * sysdeps/x86_64/multiarch/strncmp-sse2.S: Likewise. - * sysdeps/x86_64/multiarch/strncmp-sse4_2.S: Likewise. - * sysdeps/x86_64/multiarch/strncmp.c: Likewise. - * sysdeps/x86_64/multiarch/strcasecmp_l.S: Removed. - * sysdeps/x86_64/multiarch/strcmp.S: Likewise. - * sysdeps/x86_64/multiarch/strncase_l.S: Likewise. - * sysdeps/x86_64/multiarch/strncmp.S: Likewise. - * sysdeps/x86_64/multiarch/strcmp-sse42.S: Include . - (STRCMP_SSE42): New. Defined to __strcmp_sse42 if not defined. - [USE_AS_STRCASECMP_L || USE_AS_STRNCASECMP_L]: Include - "locale-defines.h". - (UPDATE_STRNCMP_COUNTER): New. - (SECTION): Likewise. - (GLABEL): Likewise. - (LABEL): Likewise. - * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Rewrite and enable - for libc.a. - -2017-06-21 Joseph Myers - - [BZ #21622] - * sysdeps/unix/sysv/linux/tile/bits/sigaction.h (SA_RESTART): - Define for [__USE_UNIX98 || __USE_XOPEN2K8], not [__USE_UNIX98 || - __USE_MISC]. - (SA_NODEFER): Likewise. - (SA_RESETHAND): Likewise. - -2017-06-21 H.J. Lu - - * elf/dl-tunables.list (glibc.tune.ifunc): Removed. - * sysdeps/x86/dl-tunables.list (glibc.tune.hwcaps): New. - Remove security_level on all fields. - * manual/tunables.texi: Replace ifunc with hwcaps. - * sysdeps/x86/cpu-features.c (TUNABLE_CALLBACK (set_ifunc)): - Renamed to .. - (TUNABLE_CALLBACK (set_hwcaps)): This. - (init_cpu_features): Updated. - * sysdeps/x86/cpu-features.h (cpu_features): Change type of - data_cache_size, data_cache_size and non_temporal_threshold to - unsigned long int. - * sysdeps/x86/cpu-tunables.c (DEFAULT_STRLEN): Removed. - (TUNABLE_CALLBACK (set_ifunc)): Renamed to ... - (TUNABLE_CALLBACK (set_hwcaps)): This. Update comments. Don't - use DEFAULT_STRLEN. - -2017-06-21 Florian Weimer - - * intl/dcigettext.c (DCIGETTEXT): Use getcwd (NULL, 0) and - asprintf to construct an absolute pathname. - -2017-06-21 Adhemerval Zanella - - * misc/tst-preadvwritev2-common.c: New file. - * misc/tst-preadvwritev2.c (do_test): Add test for invalid flag. - * misc/tst-preadvwritev64v2.c (do_test): Likewise. - -2017-06-21 Szabolcs Nagy - - * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add cfi - annotation. - (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise. - -2017-06-21 Szabolcs Nagy - - * sysdeps/aarch64/dl-machine.h (RTLD_START_1): Change _dl_argv to the - hidden __GI__dl_argv symbol. - -2017-06-21 Florian Weimer - - * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_pton_length - to parse addresses with IPv6 scope IDs. - -2017-06-21 Florian Weimer - - Add the __inet_pton_length helper function. - * resolv/resolv-internal.h (__inet_pton_length): Declare. - * resolv/inet_pton (__inet_pton_length): Rename from __inet_pton. - Add length argument. - (__inet_pton): New function. - (inet_pton4): Add length argument. - (hex_digit_value): New function. - (inet_pton6): Add length argument. Call hex_digit_value. Use - memmove and memset to fill :: gap. - * resolv/Makefile (tests, tsts-static, tests-internal): Add - tst-inet_pton. - * resolv/tst-inet_pton.c: New file. - * support/Makefile (libsupport-routines): Add xmprotect. - * support/xunistd.h (xmprotect): Declare. - * support/xmprotect.c: New file. - -2017-06-21 Florian Weimer - - Add IPv6 getaddrinfo coverage to tst-inet6_scopeid_pton.c. - * inet/tst-inet6_scopeid_pton.c: Switch to . - (call_gai, check_ai): New functions. - (expect_failure, expect_success): Use them. Add logging. - -2017-06-21 Rajalakshmi Srinivasaraghavan - - * sysdeps/powerpc/powerpc64/multiarch/Makefile - (sysdep_routines): Add memchr_power8. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c - (memchr): Add __memchr_power8 to list of memchr functions. - * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/memchr.c - (memchr): Add __memchr_power8 to ifunc list. - * sysdeps/powerpc/powerpc64/power8/memchr.S: New file. - -2017-06-21 Rajalakshmi Srinivasaraghavan - - * sysdeps/powerpc/powerpc64/fpu/s_llrint.S - (__llrintf): Define as strong alias of __llrint. - (llrintf): Define as weak alias of __llrint. - (__lrintf): Define as strong alias of __llrint. - (lrintf): Define as weak alias of __llrint. - * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise. - * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Remove file content. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: New file. - -2017-06-20 Zack Weinberg - - * bits/signum-generic.h: Renamed from bits/signum.h. - Add proper multiple include guard and misuse check. - Define __SIGRTMIN = __SIGRTMAX = 32, and define _NSIG = __SIGRTMAX+1. - Move definition of SIGIO to "archaic names for compatibility" section. - * bits/signum.h: New file which just includes bits/signum-generic.h. - * sysdeps/unix/bsd/bits/signum.h - * sysdeps/unix/sysv/linux/bits/signum.h - * sysdeps/unix/sysv/linux/alpha/bits/signum.h - * sysdeps/unix/sysv/linux/hppa/bits/signum.h - * sysdeps/unix/sysv/linux/mips/bits/signum.h - * sysdeps/unix/sysv/linux/sparc/bits/signum.h - Just include and then add or adjust - signal constants. Do not define SIGUNUSED, SIGRTMIN, or SIGRTMAX. - - * signal/Makefile: Install bits/signum-generic.h. - * signal/signal.h: Define SIGRTMIN and SIGRTMAX here. - - * sysdeps/generic/siglist.h: SIGSYS and SIGWINCH are - universal. Prefer SIGPOLL to SIGIO. Simplify #ifdeffage. - - * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: New test. - * sysdeps/unix/sysv/linux/Makefile: Run it. - -2017-06-20 Zack Weinberg - - * locale/xlocale.h: Rename to... - * locale/bits/types/__locale_t.h: ...here. Adjust commentary. - Only define struct __locale_struct and __locale_t, not locale_t. - * locale/bits/types/locale_t.h: New file; define locale_t here. - * locale/Makefile (headers): Update to match. - - * include/xlocale.h: Delete wrapper. - * include/bits/types/__locale_t.h: New wrapper. - * include/bits/types/locale_t.h: New wrapper. - - * ctype/ctype.h, include/printf.h, include/time.h - * locale/langinfo.h, locale/locale.h, stdlib/monetary.h - * stdlib/stdlib.h, string/string.h, string/strings.h, time/time.h - * wcsmbs/wchar.h, wctype/wctype.h: Use bits/types/locale_t.h. - Correct outdated comments regarding the standardization status of - the functions that take locale_t arguments. - - * stdlib/strtod_l.c, stdlib/strtof_l.c, stdlib/strtol_l.c - * stdlib/strtold_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c - * sysdeps/ieee754/ldbl-128ibm/strtold_l.c - * sysdeps/ieee754/ldbl-64-128/strtold_l.c - * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c - * wcsmbs/wcstof_l.c, wcsmbs/wcstold.c, wcsmbs/wcstold_l.c: - Don't include xlocale.h. If necessary, include locale.h instead. - - * stdlib/strtold_l.c: Unconditionally include wchar.h. - - * ctype/ctype-c99_l.c, ctype/ctype.h, ctype/ctype_l.c - * include/monetary.h, include/stdlib.h, include/time.h - * include/wchar.h, locale/duplocale.c, locale/freelocale.c - * locale/global-locale.c, locale/langinfo.h, locale/locale.h - * locale/localeinfo.h, locale/newlocale.c - * locale/nl_langinfo_l.c, locale/uselocale.c - * localedata/bug-usesetlocale.c, localedata/tst-xlocale2.c - * stdio-common/vfscanf.c, stdlib/monetary.h, stdlib/stdlib.h - * stdlib/strfmon_l.c, stdlib/strtod_l.c, stdlib/strtof_l.c - * stdlib/strtol.c, stdlib/strtol_l.c, stdlib/strtold_l.c - * stdlib/strtoll_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c - * string/strcasecmp.c, string/strcoll_l.c, string/string.h - * string/strings.h, string/strncase.c, string/strxfrm_l.c - * sysdeps/ieee754/float128/strtof128_l.c - * sysdeps/ieee754/float128/wcstof128.c - * sysdeps/ieee754/float128/wcstof128_l.c - * sysdeps/ieee754/ldbl-128ibm/strtold_l.c - * sysdeps/ieee754/ldbl-64-128/strtold_l.c - * sysdeps/ieee754/ldbl-opt/nldbl-compat.c - * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c - * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c - * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c - * sysdeps/powerpc/powerpc32/power7/strcasecmp.S - * sysdeps/powerpc/powerpc64/power7/strcasecmp.S - * sysdeps/x86_64/strcasecmp_l-nonascii.c - * sysdeps/x86_64/strncase_l-nonascii.c, time/strftime_l.c - * time/strptime_l.c, time/time.h, wcsmbs/mbsrtowcs_l.c - * wcsmbs/wchar.h, wcsmbs/wcscasecmp.c, wcsmbs/wcsncase.c - * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c - * wcsmbs/wcstof_l.c, wcsmbs/wcstol_l.c, wcsmbs/wcstold.c - * wcsmbs/wcstold_l.c, wcsmbs/wcstoll_l.c, wcsmbs/wcstoul_l.c - * wcsmbs/wcstoull_l.c, wctype/iswctype_l.c - * wctype/towctrans_l.c, wctype/wcfuncs_l.c - * wctype/wctrans_l.c, wctype/wctype.h, wctype/wctype_l.c: - Change all uses of __locale_t to locale_t. - -2017-06-20 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Build only - for !__OFF_T_MATCHES_OFF64_T. - * sysdeps/unix/sysv/linux/openat64.c (__libc_openat64): New - implementation based on open64. - * sysdeps/unix/sysv/linux/wordsize-64/openat.c: Remove file. - * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: Likewise. - -2017-06-20 H.J. Lu - - * elf/dl-tunables.list: Move x86 specific tunables to ... - * sysdeps/x86/dl-tunables.list: Here. New file. - -2017-06-20 Joseph Myers - - [BZ #21635] - * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile - [$(subdir) = conform] (conformtest-xfail-conds): New variable. - * conform/data/signal.h-data (uc_mcontext): XFAIL for - powerpc32-linux. - * conform/data/ucontext.h-data (uc_mcontext): Likewise. - - [BZ #21634] - * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = conform] - (conformtest-xfail-conds): New variable. - * conform/data/signal.h-data (uc_sigmask): XFAIL for ia64-linux. - * conform/data/ucontext.h-data (uc_sigmask): Likewise. - -2017-06-20 Wilco Dijkstra - - * benchtests/powf-inputs: Add reduced trace from wrf. - -2017-06-20 H.J. Lu - Erich Elsen - - * elf/dl-tunables.list (tune): Add ifunc, - x86_non_temporal_threshold, - x86_data_cache_size and x86_shared_cache_size. - * manual/tunables.texi: Document glibc.tune.ifunc, - glibc.tune.x86_data_cache_size, glibc.tune.x86_shared_cache_size - and glibc.tune.x86_non_temporal_threshold. - * sysdeps/unix/sysv/linux/x86/dl-sysdep.c: New file. - * sysdeps/x86/cpu-tunables.c: Likewise. - * sysdeps/x86/cacheinfo.c - (init_cacheinfo): Check and get data cache size, shared cache - size and non temporal threshold from cpu_features. - * sysdeps/x86/cpu-features.c [HAVE_TUNABLES] (TUNABLE_NAMESPACE): - New. - [HAVE_TUNABLES] Include . - [HAVE_TUNABLES] Include . - [HAVE_TUNABLES] (TUNABLE_CALLBACK (set_ifunc)): Likewise. - [HAVE_TUNABLES] (init_cpu_features): Use TUNABLE_GET to set - IFUNC selection, data cache size, shared cache size and non - temporal threshold. - * sysdeps/x86/cpu-features.h (cpu_features): Add data_cache_size, - shared_cache_size and non_temporal_threshold. - -2017-06-20 Wilco Dijkstra - - * benchtests/README: Describe workload feature. - * benchtests/bench-skeleton.c (main): Add support for - benchmarking traces from workloads. - -2017-06-20 Zack Weinberg - - * string/string.h (__mempcpy_inline): Delete. - * sysdeps/x86_64/multiarch/mempcpy.c - * sysdeps/x86_64/multiarch/stpcpy.c: - Define NO_MEMPCPY_STPCPY_REDIRECT and __NO_STRING_INLINES - before including string.h. - -2017-06-20 Paul A. Clarke - - * benchtests/Makefile (bench-math): Add powf. - * benchtests/powf-inputs: New file. - -2017-06-20 Zack Weinberg - - * bits/string.h, string/bits/string.h - * sysdeps/aarch64/bits/string.h - * sysdeps/m68k/m680x0/m68020/bits/string.h - * sysdeps/s390/bits/string.h, sysdeps/sparc/bits/string.h - * sysdeps/x86/bits/string.h: Delete file. - - * string/string.h: Don't include bits/string.h. - * string/bits/string3.h: Rename to bits/string_fortified.h. - No need to undef various symbols that the removed headers - might have defined as macros. - * string/Makefile (headers): Remove bits/string.h, change - bits/string3.h to bits/string_fortified.h. - * string/string-inlines.c: Update commentary. Remove definitions - of various macros that nothing looks at anymore. Don't directly - include bits/string.h. Set _STRING_INLINE_unaligned here, based on - compiler-predefined macros. - * string/strncat.c: If STRNCAT is not defined, or STRNCAT_PRIMARY - _is_ defined, provide internal hidden alias __strncat. - * include/string.h: Declare internal hidden alias __strncat. - Only forward __stpcpy to __builtin_stpcpy if __NO_STRING_INLINES is - not defined. - * include/bits/string3.h: Rename to bits/string_fortified.h, - update to match above. - - * sysdeps/i386/string-inlines.c: Define compat symbols for - everything formerly defined by sysdeps/x86/bits/string.h. - Make existing definitions into compat symbols as well. - Remove some no-longer-necessary messing around with macros. - - * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c - * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c - * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c - * sysdeps/s390/multiarch/mempcpy.c - No need to define _HAVE_STRING_ARCH_mempcpy. - Do define __NO_STRING_INLINES and NO_MEMPCPY_STPCPY_REDIRECT. - - * sysdeps/i386/i686/multiarch/strncat-c.c - * sysdeps/s390/multiarch/strncat-c.c - * sysdeps/x86_64/multiarch/strncat-c.c - Define STRNCAT_PRIMARY. Don't change definition of libc_hidden_def. - -2017-06-20 Rical Jasan - - * manual/lang.texi (LDBL_MANT_DIG): Add annotation. - (LDBL_DIG): Likewise. - (LDBL_MIN_EXP): Likewise. - (LDBL_MIN_10_EXP): Likewise. - (LDBL_MAX_EXP): Likewise. - (LDBL_MAX_10_EXP): Likewise. - (LDBL_MAX): Likewise. - (LDBL_MIN): Likewise. - (LDBL_EPSILON): Likewise. - (FLT_ROUNDS): Change standard from ISO to C90. - (FLT_RADIX): Likewise. - (FLT_MANT_DIG, DBL_MANT_DIG): Likewise. - (FLT_DIG, DBL_DIG): Likewise. - (FLT_MIN_EXP, DBL_MIN_EXP): Likewise. - (FLT_MIN_10_EXP, DBL_MIN_10_EXP): Likewise. - (FLT_MAX_EXP, DBL_MAX_EXP): Likewise. - (FLT_MAX_10_EXP, DBL_MAX_10_EXP): Likewise. - (FLT_MAX, DBL_MAX): Likewise. - (FLT_MIN, DBL_MIN): Likewise. - (FLT_EPSILON, DBL_EPSILON): Likewise. - -2017-06-19 Joseph Myers - - * sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove. - [__GNUC_PREREQ (4, 8) || __mips16]: Make code unconditional. - [!__GNUC_PREREQ (4, 8) && !__mips16]: Remove conditional code. - * sysdeps/mips/math-tests.h - [_MIPS_SIM != _ABIO32 && !__GNUC_PREREQ (4, 9)]: Remove - conditional code. - -2017-06-19 Florian Weimer - - * intl/dcigettext.c (DCIGETTEXT): Do not make copy of localename. - It cannot change while __libc_setlocale_lock is acquired. - -2017-06-19 Florian Weimer - - * elf/rtld.c (audit_list_string): New variable. - (audit_list): Update comment. - (struct audit_list_iter): Define. - (audit_list_iter_init, audit_list_iter_next): New function. - (dl_main): Use struct audit_list_iter to process audit modules. - (process_dl_audit): Call dso_name_valid_for_suid. - (process_envvars): Set audit_list_string instead of calling - process_dl_audit. - -2017-06-19 Florian Weimer - - * elf/rtld.c (SECURE_NAME_LIMIT, SECURE_PATH_LIMIT): Define. - (dso_name_valid_for_suid): New function. - (handle_ld_preload): Likewise. - (dl_main): Call it. Remove alloca. - -2017-06-19 Joseph Myers - - [BZ #21625] - * posix/sys/wait.h (strust rusage forward declaration): Change - [__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED && - !__USE_XOPEN2K]. - (wait3): Likewise. - - * configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later. - * configure: Regenerated. - * manual/install.texi (Tools for Compilation): Document - requirement for GCC 4.9 or later. - * INSTALL: Regenerated. - -2017-06-19 Florian Weimer - - [BZ #21624] - CVE-2017-1000366 - * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for - __libc_enable_secure. - -2017-06-19 Stefan Liebler - - [BZ #21539] - * NEWS: Mention s390 ptrace request changes. - * sysdeps/unix/sysv/linux/s390/sys/ptrace.h - (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, - PTRACE_SETFPREGS): Remove enum constant. - (PT_GETREGS, PT_SETREGS, PT_GETFPREGS, T_SETFPREGS): - Remove defines. - (PTRACE_SINGLEBLOCK): New enum constant. - (PT_STEPBLOCK): New define. - (PTRACE_PEEKUSR_AREA, PTRACE_POKEUSR_AREA, - PTRACE_GET_LAST_BREAK, PTRACE_ENABLE_TE, PTRACE_DISABLE_TE, - PTRACE_TE_ABORT_RAND): New enum constant and define. - * sysdeps/s390/fpu/fesetenv.c: Remove ptrace.h includes. - * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c: - New file. - * sysdeps/unix/sysv/linux/s390/Makefile: Add test. - -2017-06-16 Florian Weimer - - * resolv/res_init.c (res_vinit_1): Use getline to read from the - configuration file. - (__res_vinit): Adjust. - -2017-06-19 Florian Weimer - - * resolv/res_init.c (res_vinit_1): New function. - (__res_vinit): Call it. Handle file open and memory allocation - failures. - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Propagate - erno from __res_maybe_init failure. - (_nss_dns_gethostbyname4_r): Likewise. - (_nss_dns_gethostbyaddr2_r): Likewise. - * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise. - (_nss_dns_getnetbyaddr_r): Likewise. - -2017-06-19 Florian Weimer - - * resolv/res_init.c: Reformat to GNU style. - -2017-06-19 Florian Weimer - - * resolv/res_init.c (sort_mask_chars, ISSORTMASK): Remove. - (is_sort_mask): New function. - (__res_vinit): Use it. - -2017-06-19 Florian Weimer - - * resolv/res_init.c (res_setoptions): Remove DEBUG preprocessor - conditionals. - -2017-06-19 Florian Weimer - - * resolv/res-close.c: New file. - * resolv/res_init.c (__res_iclose, res_nclose) - (res_thread_freeres): Remove definitions. - * resolv/Makefile (routines): Add res-close. - -2017-06-19 Florian Weimer - - * resolv/res_randomid.c: New file. - * resolv/res_init.c (res_randomid): Remove definition. - * resolv/Makefile (routines): Add res_randomid. - -2017-06-19 Florian Weimer - - * include/resolv.h (__res_vinit): Declare as hidden. - * resolv/res_init.c (res_ninit): Remove __res_vinit declaration. - * resolv/res_libc.c (res_init): Likewise. - -2017-06-19 Joseph Myers - - [BZ #21457] - * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct - _libc_xmmreg): Use __ctx in defining field. - - [BZ #21597] - * signal/signal.h (siginterrupt): Make declaration conditional on - [__USE_XOPEN_EXTENDED || __USE_MISC]. - - [BZ #21584] - * signal/signal.h: Make includes of and - conditional on [__USE_XOPEN_EXTENDED || - __USE_MISC]. - (sigaltstack): Make declaration conditional on - [__USE_XOPEN_EXTENDED || __USE_MISC]. - - [BZ #21575] - * resource/bits/types/struct_rusage.h: New file. - * include/bits/types/struct_rusage.h: Likewise. - * bits/resource.h (struct rusage): Include - instead of defining here. - * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage): - Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage): - Likewise. - * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage): - Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage): - Likewise. - * resource/Makefile (headers): Add bits/types/struct_rusage.h. - * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]: - Include - -2017-06-19 Florian Weimer - - * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC. - -2017-06-19 Siddhesh Poyarekar - - * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo. - -2017-06-19 Adhemerval Zanella - - * scripts/gen-tunables.awk: Avoid multi-dimensional arrays. - -2017-06-19 Stefan Liebler - - [BZ #21537] - * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP): - Check SHARED instead of PIC. - (SYSCALL_PIC_SETUP): Add missing semicolons. - * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP): - Check SHARED instead of PIC. - * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S - (__makecontext_ret): Adjust code to jump to exit. - -2017-06-19 Christian Borntraeger - - * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall): - Simplify code by always using SVC 0 instead of EX. - * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise. - -2017-06-16 H.J. Lu - - * elf/Versions (ld): Remove _dl_out_of_memory. - -2017-06-16 Joseph Myers - - * timezone/private.h: Update from tzcode 2017b. - * timezone/tzfile.h: Likewise. - * timezone/tzselect.ksh: Likewise. - * timezone/zdump.c: Likewise. - * timezone/zic.c: Likewise. - * timezone/Makefile (tz-cflags): Add -D_ISOMAC - -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h. - * time/tzset.c (SECSPERDAY): New macro. - -2017-06-16 Rical Jasan - - * manual/string.texi (strdup): Complete header and standards - annotation. - (strncpy): Likewise. - -2017-06-16 Rical Jasan - - * manual/arith.texi (FP_NAN): Add or complete header and standard - annotations. - (FP_INFINITE): Likewise. - (FP_ZERO): Likewise. - (FP_SUBNORMAL): Likewise. - (FP_NORMAL): Likewise. - (SNAN): Likewise. - (SNANL): Likewise. - (totalorderf): Likewise. - (totalorderl): Likewise. - (totalordermagf): Likewise. - (totalordermagl): Likewise. - (_Complex_I): Likewise. - (I): Likewise. - -2017-06-16 Rical Jasan - - * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and - standard annotation. - (ARGP_HELP_SHORT_USAGE): Likewise. - (ARGP_HELP_SEE): Likewise. - (ARGP_HELP_LONG): Likewise. - (ARGP_HELP_PRE_DOC): Likewise. - (ARGP_HELP_POST_DOC): Likewise. - (ARGP_HELP_DOC): Likewise. - (ARGP_HELP_BUG_ADDR): Likewise. - (ARGP_HELP_LONG_ONLY): Likewise. - (ARGP_HELP_EXIT_ERR): Likewise. - (ARGP_HELP_EXIT_OK): Likewise. - (ARGP_HELP_STD_ERR): Likewise. - (ARGP_HELP_STD_USAGE): Likewise. - (ARGP_HELP_STD_HELP): Likewise. - -2017-06-15 Rical Jasan - - * manual/Makefile: Generate summary.texi with summary.pl. Force - use of the C locale. Update Perl dependency comment. - * manual/header.texi: Update reference to summary.awk. - * manual/macros.texi: Refer authors to `summary.pl --help'. - * manual/summary.awk: Remove file. - * manual/summary.pl: New file. Generate summary.texi, and check - for @standards-related syntax errors. - * manual/argp.texi: Convert header and standards @comments to - @standards. - * manual/arith.texi: Likewise. - * manual/charset.texi: Likewise. - * manual/conf.texi: Likewise. - * manual/creature.texi: Likewise. - * manual/crypt.texi: Likewise. - * manual/ctype.texi: Likewise. - * manual/debug.texi: Likewise. - * manual/errno.texi: Likewise. - * manual/filesys.texi: Likewise. - * manual/getopt.texi: Likewise. - * manual/job.texi: Likewise. - * manual/lang.texi: Likewise. - * manual/llio.texi: Likewise. - * manual/locale.texi: Likewise. - * manual/math.texi: Likewise. - * manual/memory.texi: Likewise. - * manual/message.texi: Likewise. - * manual/pattern.texi: Likewise. - * manual/pipe.texi: Likewise. - * manual/process.texi: Likewise. - * manual/resource.texi: Likewise. - * manual/search.texi: Likewise. - * manual/setjmp.texi: Likewise. - * manual/signal.texi: Likewise. - * manual/socket.texi: Likewise. - * manual/startup.texi: Likewise. - * manual/stdio.texi: Likewise. - * manual/string.texi: Likewise. - * manual/sysinfo.texi: Likewise. - * manual/syslog.texi: Likewise. - * manual/terminal.texi: Likewise. - * manual/threads.texi: Likewise. - * manual/time.texi: Likewise. - * manual/users.texi: Likewise. - -2017-06-15 Rical Jasan - - * manual/macros.texi (@standards): New macro. Provide placeholder - for header and standards annotations. - (@standardsx): New macro. Likewise, for lists of @*x elements. - -2017-06-15 Adhemerval Zanella - - * io/Makefile (CFLAGS-sync_file_range.c): Remove rule. - * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New - rule. - * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove - sync_file_range. - - * support/support_test_main.c (support_test_main): Use optstring - member for option string in getopt_long. - * support/test-driver.c: Add comment about CMDLINE_OPTSTRING. - (CMDLINE_OPTSTRING): New define. - * support/test-driver.h (test_config): Add optstring member. - -2017-06-15 H.J. Lu - - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add - strcspn-sse2, strpbrk-sse2 and strspn-sse2. - * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed. - Check USE_AS_STRPBRK instead of STRPBRK_P. - * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New. - * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file. - * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise. - * sysdeps/x86_64/multiarch/strcspn.c: Likewise. - * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise. - * sysdeps/x86_64/multiarch/strpbrk.c: Likewise. - * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise. - * sysdeps/x86_64/multiarch/strspn.c: Likewise. - * sysdeps/x86_64/multiarch/strcspn.S: Removed. - * sysdeps/x86_64/multiarch/strpbrk.S: Likewise. - * sysdeps/x86_64/multiarch/strspn.S: Likewise. - * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED" - and "#endif". - -2017-06-15 H.J. Lu - - * sysdeps/x86_64/multiarch/wcscpy.S: Removed. - * sysdeps/x86_64/multiarch/wcscpy.c: New file. - -2017-06-15 H.J. Lu - - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add - strcat-sse2. - * sysdeps/x86_64/multiarch/strcat-sse2.S: New file. - * sysdeps/x86_64/multiarch/strcat.c: Likewise. - * sysdeps/x86_64/multiarch/strncat.c: Likewise. - * sysdeps/x86_64/multiarch/strcat.S: Removed. - * sysdeps/x86_64/multiarch/strncat.S: Likewise. - -2017-06-15 H.J. Lu - Erich Elsen - - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add - memcmp-sse2. - * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file. - * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise. - * sysdeps/x86_64/multiarch/memcmp.c: Likewise. - * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise. - * sysdeps/x86_64/multiarch/memcmp.S: Removed. - * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise. - -2017-06-15 H.J. Lu - Erich Elsen - - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add - memset-sse2-unaligned-erms, and memset_chk-nonshared. - * sysdeps/x86_64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Add test for __memset_chk_erms. - Update comments. - * sysdeps/x86_64/multiarch/ifunc-memset.h: New file. - * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise. - * sysdeps/x86_64/multiarch/memset.c: Likewise. - * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise. - * sysdeps/x86_64/multiarch/memset_chk.c: Likewise. - * sysdeps/x86_64/multiarch/memset.S: Removed. - * sysdeps/x86_64/multiarch/memset_chk.S: Likewise. - * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S - (__memset_chk_erms): New function. - -2017-06-15 Siddhesh Poyarekar - - * configure.ac(--enable-tunables): Enable by default. - * configure: Regenerate. - * NEWS: Mention change. - * manual/install.texi (enable-tunables): Adjust documentation. - * INSTALL: Regenerate. - -2017-06-14 Adhemerval Zanella - - [BZ #18988] - * benchtests/thread_create-inputs: New file. - * benchtests/thread_create-source.c: Likewise. - * support/xpthread_attr_setguardsize.c: Likewise. - * support/Makefile (libsupport-routines): Add - xpthread_attr_setguardsize object. - * support/xthread.h: Add xpthread_attr_setguardsize prototype. - * benchtests/Makefile (bench-pthread): Add thread_create. - * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and - then mprotect the required area. - (guard_position): New function. - (setup_stack_prot): Likewise. - -2017-06-14 H.J. Lu - Erich Elsen - Adhemerval Zanella - - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add - memmove-sse2-unaligned-erms, memcpy_chk-nonshared, - mempcpy_chk-nonshared and memmove_chk-nonshared. - * sysdeps/x86_64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms, - __memcpy_chk_erms and __mempcpy_chk_erms. Update comments. - * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file. - * sysdeps/x86_64/multiarch/memcpy.c: Likewise. - * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise. - * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise. - * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise. - * sysdeps/x86_64/multiarch/memmove.c: Likewise. - * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise. - * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise. - * sysdeps/x86_64/multiarch/mempcpy.c: Likewise. - * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise. - * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise. - * sysdeps/x86_64/multiarch/memcpy.S: Removed. - * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise. - * sysdeps/x86_64/multiarch/memmove.S: Likewise. - * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise. - * sysdeps/x86_64/multiarch/mempcpy.S: Likewise. - * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise. - * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S - (__mempcpy_chk_erms): New function. - (__memmove_chk_erms): Likewise. - (__memcpy_chk_erms): New alias. - -2017-06-14 Florian Weimer - - * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard. - * sysdeps/i386/i686/multiarch/varshift.c: Likewise. - -2017-06-14 Zack Weinberg - - * stdlib/errno.h: Remove __need_Emath and __need_error_t logic. - Reorganize file. Declare errno here. When __ASSEMBLER__ is - defined, don't declare anything other than the E-constants. - - * include/errno.h: Change conditional for exposing internal - declarations to (not _ISOMAC and not __ASSEMBLER__). - * bits/errno.h: Remove logic for __need_Emath. Document - requirements for a port-specific bits/errno.h. - - * sysdeps/unix/sysv/linux/bits/errno.h - * sysdeps/unix/sysv/linux/alpha/bits/errno.h - * sysdeps/unix/sysv/linux/hppa/bits/errno.h - * sysdeps/unix/sysv/linux/mips/bits/errno.h - * sysdeps/unix/sysv/linux/sparc/bits/errno.h: - Add multiple-include guard and check against improper inclusion. - Remove __need_Emath logic. Don't declare errno here. Ensure all - constants are defined as simple integer literals. Consistent - formatting. - * sysdeps/mach/hurd/errnos.awk: Likewise. Only define error_t and - enum __error_t_codes if __ASSEMBLER__ is not defined. - * sysdeps/mach/hurd/bits/errno.h: Regenerate. - - * argp/argp.h, string/argz.h: Don't define __need_error_t before - including errno.h. - * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S - * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S - * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S - * sysdeps/x86_64/fpu/s_cosf.S - * sysdeps/x86_64/fpu/s_sincosf.S - * sysdeps/x86_64/fpu/s_sinf.S: - Just include errno.h; don't define __need_Emath or include - bits/errno.h directly. - -2017-06-14 Zack Weinberg - - * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h - * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file. - * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file. - - * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value - for IOV_MAX. - * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h. - Don't install bits/uio.h. - * misc/sys/uio.h: Don't include bits/uio.h. Do include - bits/types/struct_iovec.h and bits/uio_lim.h. Set UIO_MAXIOV - based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h. - - * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX - and __need_IOV_MAX. Don't define IOV_MAX at all. - * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX. - - * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: - Include bits/types/struct_iovec.h, not bits/uio.h. - Use __ssize_t, not ssize_t, in function prototypes. - Don't use hard TAB for double space after period in comments. - -2017-06-14 Alan Modra - - * elf/elf.h (PPC64_OPT_LOCALENTRY): Define. - * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add - refsym and sym parameters. Adjust callers. - * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise. - * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise. - * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise. - * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise. - * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise. - * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise. - * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise. - * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise. - * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise. - * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise. - * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt): - Likewise. - * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise. - * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise. - * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise. - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise. - * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise. - * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise. - * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New. - (_dl_reloc_overflow): Increase buffser size. Formatting. - * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset): - Delete reloc param, add refsym and sym. Check optimized plt - call stubs for localentry:0 functions. Adjust callers. - (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym - and sym parameters. Adjust callers. - (_dl_reloc_overflow): Move attribute. - (_dl_error_localentry): Declare. - * elf/dl-runtime.c (_dl_fixup): Save original sym. Pass - refsym and sym to elf_machine_fixup_plt. - * elf/testobj6.c (preload): Call printf. - -2017-06-14 Alan Modra - - * sysdeps/powerpc/powerpc64/sysdep.h: Formatting. - (NOPS, ENTRY_3): New macros. - (ENTRY): Rewrite. - (ENTRY_TOCLESS): Define. - (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5, - EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete. - * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY. - * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise. - * sysdeps/powerpc/powerpc64/memset.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise. - * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise. - * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise. - * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise. - * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise. - * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS. - * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise. - * sysdeps/powerpc/powerpc64/lshift.S: Likewise. - * sysdeps/powerpc/powerpc64/memcpy.S: Likewise. - * sysdeps/powerpc/powerpc64/mul_1.S: Likewise. - * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise. - * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise. - * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise. - * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise. - * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise. - * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise. - * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise. - * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise. - * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise. - * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise. - * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise. - * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise. - * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise. - * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise. - * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise. - * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise. - * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise. - * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise. - * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise. - * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise. - * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l): - Likewise. - * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise. - * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise. - * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise. - * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise. - * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise. - * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise. - * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise. - * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise. - * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise. - * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise. - * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise. - * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise. - * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise. - * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise. - * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise. - * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise. - * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise. - * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise. - * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise. - * sysdeps/powerpc/powerpc64/strchr.S: Likewise. - * sysdeps/powerpc/powerpc64/strcmp.S: Likewise. - * sysdeps/powerpc/powerpc64/strlen.S: Likewise. - * sysdeps/powerpc/powerpc64/strncmp.S: Likewise. - * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier. Don't - add nop when SHARED. - * sysdeps/powerpc/powerpc64/start.S: Fix comment. - * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't - define. - (ENTRY_TOCLESS): Define. - * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define. - * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS. - * sysdeps/powerpc/fpu/s_fmaf.S: Likewise. - -2017-06-14 Alan Modra - - * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define - MEMSET_is_local. - * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise. - Define MEMSET. - * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define - STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local. - * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise. Don't add - nop after local calls. - * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local. - Don't add nop after local call. - * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise. Add missing - CALL_MCOUNT. - -2017-06-14 Alan Modra - - * sysdeps/powerpc/powerpc64/sysdep.h: Formatting. - (FUNC_LABEL): Rename from DOT_LABEL. - (ENTRY_1): Use FUNC_LABEL and remove leading space from label. - Use .p2align rather than .align. - (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align. - (ABORT_TRANSACTION): Likewise. - (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons, - particularly at end. Add semicolon at invocation as necessary. - (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise. - (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY, - END): Adjust to suit. - -2017-06-14 Alan Modra - - * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN, - FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional. - (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE, - FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE, - FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace - uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset. - -2017-06-14 Alan Modra - - * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete. - (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct. - -2017-06-13 Gordana Cmiljanovic - - [BZ #21548] - * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as - 8 and use it when copying general purpose registers. - * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for - mips o32. - * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added - new test for mips o32. - * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as - 8 and use it when copying general purpose registers. - * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise. - -2017-06-13 Florian Weimer - - * configure.ac (find_cxx_header): Suppress compiler error message. - -2017-06-13 Florian Weimer - - * malloc/dynarray-skeleton.c: List begin/end as defined functions. - (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions. - * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for - begin/end. - * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin, - dynarray_int_end. - (test_str): Test dynarray_str_begin, dynarray_str_end. - -2017-06-13 H.J. Lu - - [BZ #21573] - * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add - $(common-objpfx)bits/std_abs.h. - [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h): - New target. - * config.make.in (c++-bits-std_abs-h): New. - * configure.ac (find_cxx_header): Use "\,$1," with sed. - (CXX_BITS_STD_ABS_H): New. - (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise. - * configure: Regenerated. - -2017-06-13 Zack Weinberg - - * posix/bits/cpu-set.h: Correct indentation of preprocessor - directives. - -2017-06-12 Zack Weinberg - - * bits/sched.h: Remove __need_schedparam logic and replace with a - normal multiple-include guard. Change field name in struct - sched_param from __sched_priority to sched_priority. Delete - everything under #ifndef __cpu_set_t_defined. - * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. Also sync with - kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants. - - * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h. - For compatibility, #define sched_priority to itself, and #define - __sched_priority as sched_priority. - * posix/bits/cpu-set.h: New file containing, verbatim, the code - that was under #ifndef __cpu_set_t_defined in - sysdeps/unix/sysv/linux/bits/sched.h. - * include/bits/cpu-set.h: New wrapper. - * posix/Makefile: Install bits/cpu-set.h. - -2017-06-12 Paul E. Murphy - Gabriel F. T. Gomes - Tulio Magno Quites Machado Filho - - * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128. - (%all_floats_pfx): Add macro prefix for float128 (FLT128). - * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN, - * math/libm-test-isfinite.inc (finite_test): Likewise. - * math/libm-test-lgamma.inc (gamma_test): Likewise. - * math/libm-test-nexttoward.inc (nexttoward_test): Likewise. - (nexttoward_test_data}: Likewise. - * math/libm-test-remainder.inc (drem_test): Likewise. - * math/libm-test-scalb.inc (scalb_test): Likewise. - (scalb_test_data): Likewise. - * math/libm-test-significand.inc (significand_test): Likewise. - (significand_test_data): Likewise. - * math/libm-test-support.c (check_complex): Replace __complex__ - FLOAT with CFLOAT to get the support for old compiler. - * math/libm-test-support.h (check_complex): Likewise. - * math/test-double.h (CFLOAT, TEST_FLOATN): New macros. - * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise. - * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise. - * math/test-float128.h: New file. - * math/test-math-floatn.h: New file. - -2017-06-12 Gabriel F. T. Gomes - - * include/float.h: Allow the definition of macros prefixed with - FLT128 even if _ISOMAC is defined, but provided that - __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro. - -2017-06-12 Gabriel F. T. Gomes - - * manual/math.texi (Mathematics): Add description for _FloatN and - _FloatNx types and mentions that they are not support in glibc for - any architecture, so far. - * manual/arith.texi (wcstof, wcstold): Replace the mention to - stdlib.h with wchar.h. - (Parsing of Floats): Add descriptions for strtofN and wcstofN. - (Printing of Floats): Add description for strfromfN. - -2017-06-12 Paul E. Murphy - Gabriel F. T. Gomes - Tulio Magno Quites Machado Filho - - * include/gmp.h (__mpn_construct_float128): New declaration. - * include/stdlib.h: Include bits/floatn.h for _Float128 tests. - (__strtof128_l): New declaration. - (__strtof128_nan): Likewise. - (__wcstof128_nan): Likewise. - (__strtof128_internal): Likewise. - (____strtof128_l_internal): Likewise. - * include/wchar.h: Include bits/floatn.h for _Float128 tests. - (__wcstof128_l): New declaration. - (__wcstof128_internal): Likewise. - - * stdlib/Makefile (bug-strtod2): Link libm too. - - * stdlib/stdlib.h (strtof128): New declaration. - (strtof128_l): Likewise. - - * stdlib/tst-strtod-nan-locale-main.c: Updated to use - tst-strtod.h macros to ensure float128 gets tested too. - - * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro. - - * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128 - tests. - (IF_FLOAT128): New macro. - (GEN_TEST_STRTOD): Update to optionally include _Float128 in - the tests. - (STRTOD_TEST_FOREACH): Likewise. - - * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and - wcstof128 functions into libc. - - * sysdeps/ieee754/float128/Versions: Add exports for the above - new functions. - - * sysdeps/ieee754/float128/mpn2float128.c: New file. - * sysdeps/ieee754/float128/strtod_nan_float128.h: New file. - * sysdeps/ieee754/float128/strtof128.c: New file. - * sysdeps/ieee754/float128/strtof128_l.c: New file. - * sysdeps/ieee754/float128/strtof128_nan.c: New file. - * sysdeps/ieee754/float128/wcstof128.c: New file. - * sysdeps/ieee754/float128/wcstof128_l.c: New file. - * sysdeps/ieee754/float128/wcstof128_nan.c: New fike. - * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS. - (CFLAGS-wcstof128_l): Likewise. - - * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests. - (wcstof128): New declaration. - (wcstof128_l): Likewise. - -2017-06-12 Joseph Myers - - [BZ #21552] - * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED], - not [__USE_XOPEN]. - * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove. - - [BZ #21550] - * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506]. - -2017-06-12 H.J. Lu - - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add - strcpy-sse2 and stpcpy-sse2. - * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file. - * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise. - * sysdeps/x86_64/multiarch/stpcpy.c: Likewise. - * sysdeps/x86_64/multiarch/stpncpy.c: Likewise. - * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise. - * sysdeps/x86_64/multiarch/strcpy.c: Likewise. - * sysdeps/x86_64/multiarch/strncpy.c: Likewise. - * sysdeps/x86_64/multiarch/stpcpy.S: Removed. - * sysdeps/x86_64/multiarch/stpncpy.S: Likewise. - * sysdeps/x86_64/multiarch/strcpy.S: Likewise. - * sysdeps/x86_64/multiarch/strncpy.S: Likewise. - * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New. - (libc_hidden_def): Always defined as empty. - * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def): - Always Defined as empty. - -2017-06-12 Wilco Dijkstra - - * string/string-inlines.c: Add undef of __stpcpy to fix build issue. - -2017-06-12 Wilco Dijkstra - - [BZ #15105] - [BZ #19463] - * include/string.h: Add internal redirect for __stpcpy. - * string/Makefile: Remove bits/string2.h. - * string/string.h: Update comment. - * string/string-inlines.c: Remove bits/string2.h include and comment. - * string/bits/string2.h: Remove file. - -2017-06-12 Wilco Dijkstra - - * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset. - * sunrpc/clnt_gen.c (clnt_create): Likewise. - * sunrpc/des_impl.c (_des_crypt): Likewise. - * sunrpc/key_call.c (key_gendes): Likewise. - * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise. - * sunrpc/svc_simple.c (universal): Likewise. - * sunrpc/svc_tcp.c (svctcp_create): Likewise. - * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise. - * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise. - -2017-06-10 Zack Weinberg - - * stdlib/errno.h: Correct an outdated comment. - -2017-06-09 Paul A. Clarke - - * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file. - Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs, - CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv. - * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c: - New file. Invoke newly supported sysconf values for powerpc, - and report results. If none are supported, report so. - * sysdeps/unix/sysv/linux/powerpc/Makefile (tests): Add new test, - tst-sysconf. - -2017-06-09 Tulio Magno Quites Machado Filho - - * include/sys/auxv.h (__getauxval): Add a prototype and its - libc_hidden_proto. - * misc/getauxval.c (__getauxval): Use libc_hidden_def. - -2017-06-09 Joseph Myers - - [BZ #21561] - * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to - [__USE_XOPEN_EXTENDED]. - (id_t): Likewise. - (include of on - [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]. Include - unconditionally. - [!__pid_t_defined] (pid_t): Define typedef. - -2017-06-09 Zack Weinberg - - * include/errno.h (__errno_location): Use __attribute_const__ - instead of bare __attribute__. - -2017-06-09 Zack Weinberg - - * Makeconfig (dl-tunable-list.h): Generate using a stamp file. - (common-generated): Add libc-modules.h and libc-modules.stmp in a - more appropriate location. Also add dl-tunable-list.h and - dl-tunable-list.stmp. - -2017-06-09 H.J. Lu - - * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments. - -2017-06-09 H.J. Lu - - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add - strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2. - * sysdeps/x86_64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Add tests for __strrchr_avx2, - __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2. - * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file. - * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise. - * sysdeps/x86_64/multiarch/strrchr.c: Likewise. - * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise. - * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise. - * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise. - -2017-06-09 H.J. Lu - - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add - memrchr-sse2 and memrchr-avx2. - * sysdeps/x86_64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and - __memrchr_sse2. - * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file. - * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise. - * sysdeps/x86_64/multiarch/memrchr.c: Likewise. - -2017-06-09 H.J. Lu - - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add - strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2, - wcschr-sse2 and wcschr-avx2. - * sysdeps/x86_64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Add tests for __strchr_avx2, - __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and - __wcschr_sse2. - * sysdeps/x86_64/multiarch/strchr-avx2.S: New file. - * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise. - * sysdeps/x86_64/multiarch/strchr.c: Likewise. - * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise. - * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise. - * sysdeps/x86_64/multiarch/strchrnul.c: Likewise. - * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise. - * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise. - * sysdeps/x86_64/multiarch/wcschr.c: Likewise. - * sysdeps/x86_64/multiarch/strchr.S: Removed. - -2017-06-09 H.J. Lu - - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add - strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2, - wcslen-sse2, wcslen-avx2 and wcsnlen-avx2. - * sysdeps/x86_64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Add tests for __strlen_avx2, - __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2, - __wcslen_sse2 and __wcsnlen_avx2. - * sysdeps/x86_64/multiarch/strlen-avx2.S: New file. - * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise. - * sysdeps/x86_64/multiarch/strlen.c: Likewise. - * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise. - * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise. - * sysdeps/x86_64/multiarch/strnlen.c: Likewise. - * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise. - * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise. - * sysdeps/x86_64/multiarch/wcslen.c: Likewise. - * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise. - * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New. - (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where - vzeroupper is preferred and AVX unaligned load is fast. - -2017-06-09 H.J. Lu - - * sysdeps/x86_64/memchr.S (MEMCHR): New. Depending on if - USE_AS_WMEMCHR is defined. - (PCMPEQ): Likewise. - (memchr): Renamed to ... - (MEMCHR): This. Support wmemchr if USE_AS_WMEMCHR is defined. - Replace pcmpeqb with PCMPEQ. - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add - memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2, - wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c. - * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file. - * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise. - * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise. - * sysdeps/x86_64/multiarch/memchr.c: Likewise. - * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise. - * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise. - * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise. - * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise. - * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise. - * sysdeps/x86_64/multiarch/wmemchr.c: Likewise. - * sysdeps/x86_64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2, - __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and - __wmemchr_sse2. - -2017-06-09 Florian Weimer - - * malloc/Makefile (test-srcs): Remove tst-dynarray, - tst-dynarray-fail. - -2017-06-09 Florian Weimer - - Expose TEST_VERIFY_EXIT process termination to GCC optimizers. - * support/support_test_verify_impl.c - (support_test_verify_exit_impl): Split from - support_test_verify_impl. - * support/check.h (TEST_VERIFY): Drop status argument from - support_test_verify_impl call. - (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl. - (support_test_verify_impl): Remove status argument. - (support_test_verify_exit_impl): Declare. - -2017-06-09 Siddhesh Poyarekar - - * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove - mention of magic numbers in comments. - (_dl_procinfo): Fix undefined behavior - -2017-06-08 Joseph Myers - - * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for - [XPG4]. - (WEXITED): Likewise. - (WSTOPPED): Likewise. - (WCONTINUED): Likewise. - (WNOHANG): Likewise. - (WNOWAIT): Likewise. - (idtype_t): Likewise. - (P_ALL): Likewise. - (P_PID): Likewise. - (P_PGID): Likewise. - (id_t): Likewise. - (siginfo_t): Likewise. - (wait3): Likewise. - (waitid): Likewise. - (signal.h): Do not allow header for [XPG4]. - (sys/resource.h): Likewise. - (si_*): Do not allow for [XPG4]. - (W*): Likewise. - (P_*): Likewise. - (BUS_): Likewise. - (CLD_): Likewise. - (FPE_): Likewise. - (ILL_): Likewise. - (POLL_): Likewise. - (SEGV_): Likewise. - (SI_): Likewise. - (TRAP_): Likewise. - * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New - variable. - -2017-06-08 H.J. Lu - - [BZ #21528] - * elf/dl-minimal.c (__strtoul_internal): Removed. - (strtoul): Likewise. - * elf/dl-misc.c (_dl_strtoul): New function. - * elf/dl-tunables.c (tunables_strtoul): Removed. - (tunable_initialize): Replace tunables_strtoul with _dl_strtoul. - * elf/rtld.c (process_envvars): Likewise. - * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init): - Likewise. - * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype. - -2017-06-08 Zack Weinberg - - * libio/bits/types/FILE.h, libio/bits/types/__FILE.h - * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h - * wcsmbs/bits/types/wint_t.h: New single-type definition files. - * wctype/bits/wctype-wchar.h: New file holding declarations shared - between wctype.h and wchar.h. - - * libio/Makefile, wcsmbs/Makefile, wctype/Makefile: - Install them. - - * include/bits/types/FILE.h, include/bits/types/__FILE.h - * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h - * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h: - New wrappers. - * include/stdio.h, include/wchar.h, include/wctype.h: - No need to handle __need macros. - - * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h - * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h - * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h - * wcsmbs/wchar.h, wctype/wctype.h - * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h - Use the new files instead of __need macros. - -2017-06-08 H.J. Lu - - * string/test-memrchr.c (test_main): Add tests for len == 0 - and tests for positions close to the beginning, which are - equivalent to positions close to the end for memchr. - -2017-06-07 H.J. Lu - - * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update - comments. - * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h - instead of wmemset.h. - * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise. - * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ... - * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This. - -2017-06-07 Gabriel F. T. Gomes - - * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize - spec->info.is_binary128 to zero. - * stdio-common/printf.h (printf_info): Add new member is_binary128 - to indicate that the number being converted to string is compatible - with the IEC 60559 binary128 format. - * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with - _Float128 numbers. - * stdio-common/printf_fphex.c: Include ieee754_float128.h and - ldbl-128/printf_fphex_macros.h - (__printf_fphex): Add code to deal with _Float128 numbers. - * stdio-common/printf_size.c (__printf_size): Likewise. - * stdio-common/vfprintf.c (process_arg): Initialize member - info.is_binary128 to zero. - * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro. - * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support. - (strfromf128): New declaration. - * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128 - to one. - * sysdeps/ieee754/float128/Makefile: Add strfromf128. - * sysdeps/ieee754/float128/Versions: Likewise. - * sysdeps/ieee754/float128/strfromf128.c: New file. - -2017-06-07 Gabriel F. T. Gomes - - * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include - ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX. - (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX. - * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h - (PRINT_FPHEX): New function-like macro that can be used for long - double, as well as for _Float128 - -2017-06-07 Gabriel F. T. Gomes - - * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro. - (__printf_fp_l): Use the new macro to avoid duplicating code. - * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro. - (__printf_fphex): Use the new macro to avoid duplicating code. - * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro. - (__printf_size): Use the new macro to avoid duplicating code. - -2017-06-07 Gabriel F. T. Gomes - - * include/gmp.h: Include bits/floatn.h - (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1. - * stdlib/gmp-impl.h: Also check if alloca is not defined before - including stack-alloc.h. It could have been defined by other header - which not necessarily defines HAVE_ALLOCA. - * sysdeps/ieee754/float128/Makefile: New file. - * sysdeps/ieee754/float128/float1282mpn.c: New file. - * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before - redefining __mpn_extract_long_double to __mpn_extract_float128, then - redefine __mpn_extract_long_double to __mpn_extract_float128. - * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with - _Float128 to allow float128_private.h overrides. - -2017-06-07 Paul E. Murphy - - * stdlib/fpioconst.h: Include bits/floatn.h. - (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the - power of ten table should be. - (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true. - * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE - to include larger tables when _Float128 support is enabled. - (_fpioconst_pow10): Likewise. - -2017-06-07 Joseph Myers - - * include/bits/types/clock_t.h: Use #include instead of - #include "../../path". - * include/bits/types/clockid_t.h: Likewise. - * include/bits/types/struct_iovec.h: Likewise. - * include/bits/types/struct_itimerspec.h: Likewise. - * include/bits/types/struct_osockaddr.h: Likewise. - * include/bits/types/struct_sigstack.h: Likewise. - * include/bits/types/struct_timespec.h: Likewise. - * include/bits/types/struct_timeval.h: Likewise. - * include/bits/types/struct_tm.h: Likewise. - * include/bits/types/time_t.h: Likewise. - * include/bits/types/timer_t.h: Likewise. - - [BZ #14096] - * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on - America/New_York. - -2017-06-07 H.J. Lu - - * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded - into ... - * sysdeps/x86_64/multiarch/wcsnlen.c: Here. Don't include - ifunc-sse4_1.h. - -2017-06-07 Arjun Shankar - - * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): - Remove check for NULL 'buf'. - * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'. - -2017-06-07 Arjun Shankar - - * sysdeps/unix/sysv/linux/tst-clone2.c: Do not - include test-skeleton.c. - Include support/check.h and support/test-driver.c. - -2017-06-07 Siddhesh Poyarekar - - * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c - (_dl_aarch64_cap_flags): New array. - * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h - (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement - functions. - - * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask. - * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]: - Likewise. - * sysdeps/x86/cpu-features.c (init_cpu_features): Always set - up hwcap and hwcap_mask. - - * sysdeps/unix/sysv/linux/aarch64/cpu-features.c - (init_cpu_features): Use glibc.tune.hwcap_mask. - * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file. - - * elf/dl-hwcaps.h: New file. - * elf/dl-hwcaps.c: Include it. - (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update - glibc.tune.hwcap_mask. - * elf/dl-cache.c: Include dl-hwcaps.h. - (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read - glibc.tune.hwcap_mask. - * sysdeps/sparc/sparc32/dl-machine.h: Likewise. - * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop - _dl_hwcap_mask. - * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop - _dl_hwcap_mask. - (process_envvars)[HAVE_TUNABLES]: Likewise. - * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]: - Likewise. - * sysdeps/x86/cpu-features.c (init_cpu_features): Don't - initialize dl_hwcap_mask when tunables are enabled. - - * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include - guard. - * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise. - - * elf/dl-tunables.list: Add glibc.tune.hwcap_mask. - * scripts/gen-tunables.awk: Include dl-procinfo.h. - * manual/tunables.texi: Document glibc.tune.hwcap_mask. - - * elf/Versions (__tunable_set_val): Rename to __tunable_get_val. - * elf/dl-tunables.c: Likewise. - (do_tunable_update_val): New function. - (__tunable_set_val): New function. - (__tunable_get_val): Call CB only if the tunable was externally - initialized. - (tunables_strtoul): Replace strval with initialized. - * elf/dl-tunables.h (strval): Replace with a bool initialized. - (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to - prevent collision. - (__tunable_set_val): New function. - (TUNABLE_GET, TUNABLE_GET_FULL): New macros. - (TUNABLE_SET, TUNABLE_SET_FULL): Likewise. - (TUNABLE_SET_VAL): Remove. - (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise. - * README.tunables: Document the new macros. - * malloc/arena.c (ptmalloc_init): Adjust. - -2017-06-06 H.J. Lu - - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add - wcsnlen-sse4_1 and wcsnlen-c. - * sysdeps/x86_64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and - __wcsnlen_sse2. - * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file. - * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise. - * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise. - * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise. - * sysdeps/x86_64/wcsnlen.S: Removed. - -2017-06-06 Stefan Liebler - - * sysdeps/s390/nptl/pthread_spin_init.c: Delete File. - * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise. - * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise. - * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise. - -2017-06-06 Stefan Liebler - - * NEWS: Mention new spinlock implementation. - * include/atomic.h: - (__atomic_val_bysize): Cast type to omit volatile qualifier. - (atomic_exchange_acq): Likewise. - (atomic_load_relaxed): Likewise. - (ATOMIC_EXCHANGE_USES_CAS): Check definition. - * nptl/pthread_spin_init.c (pthread_spin_init): - Use atomic_store_relaxed. - * nptl/pthread_spin_lock.c (pthread_spin_lock): - Use C11-like atomic macros. - * nptl/pthread_spin_trylock.c (pthread_spin_trylock): - Likewise. - * nptl/pthread_spin_unlock.c (pthread_spin_unlock): - Use atomic_store_release. - * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File. - * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise. - * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise. - * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise. - * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise. - * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise. - * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise. - * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define. - * sysdeps/alpha/atomic-machine.h: Likewise. - * sysdeps/arm/atomic-machine.h: Likewise. - * sysdeps/i386/atomic-machine.h: Likewise. - * sysdeps/ia64/atomic-machine.h: Likewise. - * sysdeps/m68k/coldfire/atomic-machine.h: Likewise. - * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise. - * sysdeps/microblaze/atomic-machine.h: Likewise. - * sysdeps/mips/atomic-machine.h: Likewise. - * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise. - * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise. - * sysdeps/s390/atomic-machine.h: Likewise. - * sysdeps/sparc/sparc32/atomic-machine.h: Likewise. - * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise. - * sysdeps/sparc/sparc64/atomic-machine.h: Likewise. - * sysdeps/tile/tilegx/atomic-machine.h: Likewise. - * sysdeps/tile/tilepro/atomic-machine.h: Likewise. - * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise. - * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise. - * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise. - * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise. - * sysdeps/x86_64/atomic-machine.h: Likewise. - -2017-06-05 H.J. Lu - - * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features - and use it instead of dl_x86_cpu_features. - (handle_intel): Replace maxidx with cpu_features. Pass - cpu_features to intel_check_word. - (__cache_sysconf): Pass cpu_features to handle_intel. - (init_cacheinfo): Likewise. Use cpu_features instead of - dl_x86_cpu_features. - -2017-06-05 H.J. Lu - - * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New. - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add - memcmp-avx2 and wmemcmp-avx2. - * sysdeps/x86_64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2. - * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file. - * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise. - * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX - 2 machines if AVX unaligned load is fast and vzeroupper is - preferred. - * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX - 2 machines if AVX unaligned load is fast and vzeroupper is - preferred. - -2017-06-05 H.J. Lu - - * include/wchar.h (__wmemset_chk): New. - * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed - to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN. - (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New. - (WMEMSET_CHK_SYMBOL): Likewise. - (WMEMSET_SYMBOL): Likewise. - (__wmemset): Add hidden definition. - (wmemset): Add weak hidden definition. - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add - wmemset_chk-nonshared. - * sysdeps/x86_64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned, - __wmemset_avx2_unaligned, __wmemset_avx512_unaligned, - __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned - and __wmemset_chk_avx512_unaligned. - * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S - (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ... - (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This. - (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New. - (WMEMSET_SYMBOL): Likewise. - * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S - (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ... - (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This. - (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New. - (WMEMSET_SYMBOL): Likewise. - * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated. - (WMEMSET_CHK_SYMBOL): New. - (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise. - (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise. - * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New. - (libc_hidden_builtin_def): Also define __GI_wmemset and - __GI___wmemset. - (weak_alias): New. - * sysdeps/x86_64/multiarch/wmemset.c: New file. - * sysdeps/x86_64/multiarch/wmemset.h: Likewise. - * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise. - * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise. - * sysdeps/x86_64/wmemset.c: Likewise. - * sysdeps/x86_64/wmemset_chk.c: Likewise. - -2017-06-05 Adhemerval Zanella - H.J. Lu - - * sysdeps/x86/init-arch.h (PASTER1): New. - (EVALUATOR1): Likewise. - (PASTER2): Likewise. - (EVALUATOR2): Likewise. - (REDIRECT_NAME): Likewise. - (OPTIMIZE): Likewise. - (IFUNC_SELECTOR): Likewise. - -2017-06-05 H.J. Lu - - * sysdeps/x86_64/strlen.S (PMINU): New. - (PCMPEQ): Likewise. - (SHIFT_RETURN): Likewise. - (FIND_ZERO): Replace pcmpeqb with PCMPEQ. - (strlen): Add SHIFT_RETURN before ret. Replace pcmpeqb and - pminub with PCMPEQ and PMINU. - * sysdeps/x86_64/wcsnlen.S: New file. - -2017-06-05 H.J. Lu - - * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for - the lower 32 bits. Remove redundant instructions. - -2017-06-05 H.J. Lu - - * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass - 0 as the high part of offset. - * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New. - -2017-06-05 Joseph Myers - - [BZ #21538] - * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not - [__USE_UNIX98]. - * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD): - Likewise. - * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise. - * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise. - * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD): - Likewise. - - [BZ #21517] - * bits/types/stack_t.h (stack_t): Remove struct tag. - * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t): - Likewise. - * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t): - Likewise. - * debug/segfault.c (install_handler): Use stack_t instead of - struct sigaltstack. - * hurd/hurd/signal.h (struct hurd_sigstate): Likewise. - * hurd/trampoline.c (_hurd_setup_sighandler): Likewise. - * include/signal.h (__sigaltstack): Likwise. - * signal/sigaltstack.c (__sigaltstack): Likewise. - * signal/signal.h (sigaltstack): Likewise. - * sysdeps/mach/hurd/i386/signal-defines.sym - (SIGALTSTACK__SS_SP__OFFSET): Likewise. - (SIGALTSTACK__SS_SIZE__OFFSET): Likewise. - (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise. - * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise. - * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise. - * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct - elf_prstatus): Likewise. - * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP): - Likewise. - * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus): - Likewise. - * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP): - Likewise. - * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct - elf_prstatus): Likewise. - * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus): - Likewise. - * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus): - Likewise. - -2017-06-04 Zack Weinberg - - * sysdeps/gnu/errlist.c: Regenerate. - -2017-06-04 H.J. Lu - - * benchtests/bench-memchr.c (do_test): Print out both length - and position. - (test_main): Also test the position close to the beginning for - memrchr. - -2017-06-04 Zack Weinberg - - * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c - * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c - * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c - * nis/nis_destroygroup.c, nis/nis_domain_of.c - * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c - * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c - * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c - * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c - * nis/nis_print_group_entry.c, nis/nis_remove.c - * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c - * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c - * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c - * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c - * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c - * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c - * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c - * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c - * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c - * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c - * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c - * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c - * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c - * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c - * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c - * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c - * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c - * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c - * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c - * sunrpc/xdr_stdio.c: Include shlib-compat.h. - - * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include - abi-versions.h as well as shlib-compat.h. - * sunrpc/get_myaddr.c: Remove obsolete comment. - * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef. - * sunrpc/rpc_thread.c: Include libc-lock.h only once. - * resolv/res_libc.c: Include shlib-compat.h only once. - -2017-06-03 Florian Weimer - - * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead - of strdup. - -2017-06-02 H.J. Lu - - * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold): - Set to the 3/4 of the total shared cache size. - -2017-06-02 Rical Jasan - - * manual/errno.texi: Remove redundant error strings. - * manual/macros.texi (@errno): Render the error string in every - description. - -2017-06-02 Joseph Myers - - [BZ #21543] - * signal/signal.h: Only include and - if [__USE_POSIX199309], not if - [__USE_XOPEN_EXTENDED]. - -2017-06-02 Florian Weimer - - * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another - strdupa. - (getcanonname): Use __strdup instead of strdup. - -2017-06-02 Adhemerval Zanella - - * misc/Makefile (CFLAGS-preadv2.c): New rule. - (CFLAGS-preadv64v2.c): Likewise. - (CFLAGS-pwritev2.c): Likewise. - (CFLAGS-pwritev64v2.c): Likewise. - -2017-06-02 Florian Weimer - - Test res_init with several configuration files. - * resolv/Makefile [build-shared] (tests-internal): Add - tst-resolv-res_init, tst-resolv-res_init-thread. - (tst-resolv-res_init): Link against libdl, libresolv. - (tst-resolv-res_init-thread): Link against libdl, libresolv, - libpthread. - * resolv/tst-resolv-res_init.c: New file. - * resolv/tst-resolv-res_init-skeleton.c: Likewise. - * resolv/tst-resolv-res_init-thread.c: Likewise. - * support/Makefile (libsupport-routines): Add support-xstat, - support_can_chroot, support_capture_subprocess_check, - support_isolate_in_subprocess, support_shared_allocate, - support_write_file_string, xchroot, xmkdir, xopen. - * support/capture_subprocess.h (enum support_capture_allow): Define. - (support_capture_subprocess_check): Declare. - * support/namespace.h (support_can_chroot) - (support_isolate_in_subprocess): Declare. - * support/support-xstat.c: New file. - * support/support.h (support_shared_allocate, support_shared_free) - (support_write_file_string): Declare. - * support/support_can_chroot.c: New file. - * support/support_capture_subprocess_check.c: Likewise. - * support/support_isolate_in_subprocess.c: Likewise. - * support/support_shared_allocate.c: Likewise. - * support/support_write_file_string.c: Likewise. - * support/xchroot.c: Likwise. - * support/xmkdir.c: Likwise. - * support/xopen.c: Likwise. - * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare. - -2017-06-02 Florian Weimer - - * sysdeps/posix/getaddrinfo.c (getcanonname): New function. - (gaih_inet): Remove malloc_canonbuf variable. Call getcanonname. - -2017-06-02 Florian Weimer - - * malloc/Makefile (routines): Add dynarray_at_failure, - dynarray_emplace_enlarge, dynarray_finalize. - (tests-internal): Add tst-dynarray, tst-dynarray-fail, - tst-dynarray-at-fail. - (tests-srcs): Add tst-dynarray, tst-dynarray-fail. - (tests-special): Add tst-dynarray-mem.out, - tst-dynarray-mem-fail.out. - (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set. - (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using - mtrace. - * malloc/Versions (__libc_dynarray_at_failure) - (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize) - (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as - GLIBC_PRIVATE. - * malloc/dynarray.h: New file. - * malloc/dynarray-skeleton.c: Likewise. - * malloc/dynarray_at_failure.c: Likewise. - * malloc/dynarray_emplace_enlarge.c: Likewise. - * malloc/dynarray_finalize.c: Likewise. - * malloc/dynarray_resize.c: Likewise. - * malloc/dynarray_resize_clear.c: Likewise. - * malloc/tst-dynarray.c: Likewise. - * malloc/tst-dynarray-fail.c: Likewise. - * malloc/tst-dynarray-at-fail.c: Likewise. - * malloc/tst-dynarray-shared.h: Likewise. - * support/Makefile (libsupport-routines): Add - support_capture_subprocess, xdup2, xpipe. - (tests): Add tst-support_capture_subprocess. - * support/capture_subprocess.h: New file. - * support/support_capture_subprocess.c: Likewise. - * support/tst-support_capture_subprocess.c: Likewise. - * support/xdup2.c: Likewise. - * support/xpipe.c: Likewise. - * support/xunistd.h (xdup2, xpipe): Declare. - -2017-06-01 Gabriel F. T. Gomes - - * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the - macros MAX and MIN. - -2017-06-01 Joseph Myers - - * conform/data/signal.h-data (sa_sigaction): Do not expect for - [XPG4]. - (SA_SIGINFO): Likewise. - (SA_ONSTACK): Likewise. - (SA_RESETHAND): Likewise. - (SA_RESTART): Likewise. - (SA_NOCLDWAIT): Likewise. - (SA_NODEFER): Likewise. - (SS_ONSTACK): Likewise. - (SS_DISABLE): Likewise. - (MINSIGSTKSZ): Likewise. - (SIGSTKSZ): Likewise. - (ucontext_t): Likewise. - (stack_t): Likewise. - (struct sigstack): Likewise. - (SI_USER): Do not expect for [XPG4 || XPG42]. - (SI_QUEUE): Likewise. - (SI_TIMER): Likewise. - (SI_ASYNCIO): Likewise. - (SI_MESGQ): Likewise. - (bsd_signal): Do not expect for [XPG4]. - (killpg): Likewise. - (sigaltstack): Likewise. - (sighold): Likewise. - (sigignore): Likewise. - (siginterrupt): Likewise. - (sigpause): Likewise. - (sigrelse): Likewise. - (sigset): Likewise. - (sigwait): Do not expect for [XPG4 || XPG42]. - -2017-06-01 Zack Weinberg - - [BZ #21514] - * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header - pointing to the generated file in /misc/bits/syscall.h. - -2017-06-01 Joseph Myers - - [BZ #21457] - * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define - NGREG to __NGREG if [__USE_MISC]. - (gregset_t): Define using __NGREG. - (__ctx): New macro. - (mcontext_t): Use __ctx in defining fields. - * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and - define NGREG to __NGREG if [__USE_MISC]. - (gregset_t): Define using __NGREG. - (__ctx): New macro. - (__ctxt): Likewise. - (fpregset_t): Use __ctx and __ctxt in defining fields. - (mcontext_t): Likewise. - * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and - define NGREG to __NGREG if [__USE_MISC]. - (gregset_t): Define using __NGREG. - (__ctx): New macro. - (mcontext_t): Use __ctx in defining fields. - * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and - define NGREG to __NGREG if [__USE_MISC]. - (gregset_t): Define using __NGREG. - (__ctx): New macro. - (fpregset_t): Use __ctx in defining fields. - (mcontext_t): Likewise. - * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to - __NGREG and define NGREG to __NGREG if [__USE_MISC]. - (gregset_t): Define using __NGREG. - (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if - [__USE_MISC]. - (fpregset_t): Define using __NFPREG. - * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to - __NGREG and define NGREG to __NGREG if [__USE_MISC]. - (gregset_t): Define using __NGREG. - (__ctx): New macro. - (fpregset_t): Use __ctx in defining fields. - (mcontext_t): Likewise. - * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to - __NGREG and define NGREG to __NGREG if [__USE_MISC]. - (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if - [__USE_MISC]. - (gregset_t): Define using __NGREG. - (__ctx): New macro. - (fpregset_t): Use __ctx in defining fields. - (mcontext_t): Likewise. - * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro. - (mcontext_t): Use __ctx in defining fields. - * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New - macro. - [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to - __NGREG if [__USE_MISC]. - [__WORDSIZE == 32] (gregset_t): Define using __NGREG. - [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields. - (mcontext_t): Likewise. - [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to - __NGREG if [__USE_MISC]. - [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG - to __NFPREG if [__USE_MISC]. - [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG - to __NVRREG if [__USE_MISC]. - [__WORDSIZE != 32] (gregset_t): Define using __NGREG. - [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG. - [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields. - [__WORDSIZE != 32] (vrregset_t): Likewise. - [__WORDSIZE != 32] (mcontext_t): Likewise. - * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro. - (__psw_t): Use __ctx in defining fields. - (NGREG): Rename to __NGREG and define NGREG to __NGREG if - [__USE_MISC]. - (gregset_t): Define using __NGREG. - (fpreg_t): Use __ctx in defining fields. - (fpregset_t): Likewise. - (mcontext_t): Likewise. - * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to - __NGREG and define NGREG to __NGREG if [__USE_MISC]. - (gregset_t): Define using __NGREG. - (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if - [__USE_MISC]. - (fpregset_t): Define using __NFPREG. - (__ctx): New macro. - (mcontext_t): Use __ctx in defining fields. - * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro. - [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to - __NGREG if [__USE_MISC]. - [__x86_64__] (gregset_t): Define using __NGREG. - [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields. - [__x86_64__] (struct _libc_fpstate): Likewise. - [__x86_64__] (mcontext_t): Likewise. - [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to - __NGREG if [__USE_MISC]. - [!__x86_64__] (gregset_t): Define using __NGREG. - [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields. - [!__x86_64__] (struct _libc_fpstate): Likewise. - [!__x86_64__] (mcontext_t): Likewise. - -2017-06-01 Zack Weinberg - - * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include - alpha/pt-vfork.S. Provide own compat shim for vfork and __vfork. - * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias. - * sysdeps/unix/sysv/linux/microblaze/localplt.data: - libpthread.so no longer references __errno_location. - -2017-05-31 Adhemerval Zanella - - * NEWS: Add note about pwritev2 and preadv2 inclusion. - * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and - pwritev64v2. - (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2. - * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and - pwritev64v2. - * misc/preadv2.c: New file. - * misc/preadv64v2.c: Likewise. - * misc/pwritev2.c: Likewise. - * misc/pwritev64v2.c: Likewise. - * misc/tst-preadvwritev2.c: Likewise. - * misc/tst-preadvwritev64v2.c: Likewise. - * manual/llio.texi: Add preadv2 and pwritev2 documentation. - * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New - prototype. - [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise. - [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise. - [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise. - * misc/tst-preadvwritev-common.c (PREADV): Define if not defined. - (PWRITEV): Likewise. - (do_test_with_offset): Use PREADV and PWRITEV macros and check for - ENOSYS. - * nptl/tst-cancel4.c (tf_pwritev2): New test. - (tf_preadv2): Likewise. - (tf_fsync): Add tf_pwritev2 and tf_preadv2. - * sysdeps/posix/preadv2.c: Likewise. - * sysdeps/posix/preadv64v2.c: Likewise. - * sysdeps/posix/pwritev2.c: Likewise. - * sysdeps/posix/pwritev64v2.c: Likewise. - * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall - support in kernel. - * sysdeps/unix/sysv/linux/preadv2.c: Likewise. - * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise. - * sysdeps/unix/sysv/linux/pwritev2.c: Likewise. - * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise. - * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def. - * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise. - * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise. - * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise. - * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2 - support flags on Linux. - * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add - preadv2, preadv64v2, pwritev2, pwritev64v2. - * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise. - * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise. - * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise. - * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise. - * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise. - * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26): - Likewise. - * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26): - Likewise. - * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26): - Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26): - Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26): - Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26): - Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26): - Likewise. - * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist - (GLIBC_2.26): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist - (GLIBC_2.26): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26): - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist - (GLIBC_2.26): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26): - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26): - Likewise. - * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26): - Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26): - Likewise. - * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26): - Likewise. - * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26): - Likewise. - * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26): - Likewise. - * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26): - Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26): - Likewise. - -2017-05-31 Andreas Schwab - - * nptl/tst-fork3.c: Include . - (main): Rename to do_test and make static. - -2017-05-31 Siddhesh Poyarekar - - * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define - ARCH_INIT_CPU_FEATURES. - (LIBC_START_MAIN): Call it. - * sysdeps/unix/sysv/linux/aarch64/libc-start.c - (__libc_start_main): Remove. - (ARCH_INIT_CPU_FEATURES): New macro. - * sysdeps/x86/libc-start.c (__libc_start_main): Remove. - (ARCH_INIT_CPU_FEATURES): New macro. - -2017-05-30 Dennis Wölfing - RĂŒdiger Sonderfeld - - * include/stdlib.h (__libc_reallocarray): New declaration. - * malloc/Makefile (routines): Add reallocarray. - (tests): Add tst-reallocarray.c. - * malloc/Versions: Add reallocarray and __libc_reallocarray. - * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline - function. - * malloc/malloc.h (reallocarray): New declaration. - * stdlib/stdlib.h (reallocarray): Likewise. - * malloc/reallocarray.c: New file. - * malloc/tst-reallocarray.c: New test file. - * manual/memory.texi: Document reallocarray. - * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray. - * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise. - -2017-05-30 H.J. Lu - - * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for - the lower 32 bits. - -2017-05-29 Andreas Schwab - - * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu && - $(build-pie-default) = yes]: Define. - -2017-05-25 H.J. Lu - - * string/test-memchr.c (test_main): Add tests for n == 0. - -2017-05-25 Tulio Magno Quites Machado Filho - - * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static, - nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to... - (tests-internal): ... here. - -2017-05-25 Siddhesh Poyarekar - H.J. Lu - - * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias. - * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld. - (__tunable_set_val): Likewise. - -2017-05-25 H.J. Lu - - * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check - dl-tunables.list in subdirectories. - -2017-05-25 Paul E. Murphy - Gabriel F. T. Gomes - Tulio Magno Quites Machado Filho - - * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] - (SNANF128): New macro. - * math/e_sqrtf128.c: New file. - * math/s_fmaxmag_template.c: Include math_private.h in order to - make inline expansion of fabs128(). - * math/s_fminmag_template.c: Likewise. - - * sysdeps/ieee754/float128/e_acosf128.c: New file. - * sysdeps/ieee754/float128/e_acoshf128.c: New file. - * sysdeps/ieee754/float128/e_asinf128.c: New file. - * sysdeps/ieee754/float128/e_atan2f128.c: New file. - * sysdeps/ieee754/float128/e_atanhf128.c: New file. - * sysdeps/ieee754/float128/e_coshf128.c: New file. - * sysdeps/ieee754/float128/e_exp10f128.c: New file. - * sysdeps/ieee754/float128/e_expf128.c: New file. - * sysdeps/ieee754/float128/e_fmodf128.c: New file. - * sysdeps/ieee754/float128/e_gammaf128_r.c: New file. - * sysdeps/ieee754/float128/e_hypotf128.c: New file. - * sysdeps/ieee754/float128/e_ilogbf128.c: New file. - * sysdeps/ieee754/float128/e_j0f128.c: New file. - * sysdeps/ieee754/float128/e_j1f128.c: New file. - * sysdeps/ieee754/float128/e_jnf128.c: New file. - * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file. - * sysdeps/ieee754/float128/e_log10f128.c: New file. - * sysdeps/ieee754/float128/e_log2f128.c: New file. - * sysdeps/ieee754/float128/e_logf128.c: New file. - * sysdeps/ieee754/float128/e_powf128.c: New file. - * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file. - * sysdeps/ieee754/float128/e_remainderf128.c: New file. - * sysdeps/ieee754/float128/e_scalbf128.c: New file. - * sysdeps/ieee754/float128/e_sinhf128.c: New file. - * sysdeps/ieee754/float128/float128_private.h: New file. - * sysdeps/ieee754/float128/gamma_productf128.c: New file. - * sysdeps/ieee754/float128/ieee754_float128.h: New file. - * sysdeps/ieee754/float128/k_cosf128.c: New file. - * sysdeps/ieee754/float128/k_sincosf128.c: New file. - * sysdeps/ieee754/float128/k_sinf128.c: New file. - * sysdeps/ieee754/float128/k_tanf128.c: New file. - * sysdeps/ieee754/float128/lgamma_negf128.c: New file. - * sysdeps/ieee754/float128/lgamma_productf128.c: New file. - * sysdeps/ieee754/float128/s_asinhf128.c: New file. - * sysdeps/ieee754/float128/s_atanf128.c: New file. - * sysdeps/ieee754/float128/s_cbrtf128.c: New file. - * sysdeps/ieee754/float128/s_ceilf128.c: New file. - * sysdeps/ieee754/float128/s_copysignf128.c: New file. - * sysdeps/ieee754/float128/s_cosf128.c: New file. - * sysdeps/ieee754/float128/s_erff128.c: New file. - * sysdeps/ieee754/float128/s_expm1f128.c: New file. - * sysdeps/ieee754/float128/s_fabsf128.c: New file. - * sysdeps/ieee754/float128/s_finitef128.c: New file. - * sysdeps/ieee754/float128/s_floorf128.c: New file. - * sysdeps/ieee754/float128/s_fmaf128.c: New file. - * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file. - * sysdeps/ieee754/float128/s_frexpf128.c: New file. - * sysdeps/ieee754/float128/s_fromfpf128.c: New file. - * sysdeps/ieee754/float128/s_fromfpxf128.c: New file. - * sysdeps/ieee754/float128/s_getpayloadf128.c: New file. - * sysdeps/ieee754/float128/s_isinff128.c: New file. - * sysdeps/ieee754/float128/s_isnanf128.c: New file. - * sysdeps/ieee754/float128/s_issignalingf128.c: New file. - * sysdeps/ieee754/float128/s_llrintf128.c: New file. - * sysdeps/ieee754/float128/s_llroundf128.c: New file. - * sysdeps/ieee754/float128/s_log1pf128.c: New file. - * sysdeps/ieee754/float128/s_logbf128.c: New file. - * sysdeps/ieee754/float128/s_lrintf128.c: New file. - * sysdeps/ieee754/float128/s_lroundf128.c: New file. - * sysdeps/ieee754/float128/s_modff128.c: New file. - * sysdeps/ieee754/float128/s_nearbyintf128.c: New file. - * sysdeps/ieee754/float128/s_nextafterf128.c: New file. - * sysdeps/ieee754/float128/s_nexttowardf128.c: New file. - * sysdeps/ieee754/float128/s_nextupf128.c: New file. - * sysdeps/ieee754/float128/s_remquof128.c: New file. - * sysdeps/ieee754/float128/s_rintf128.c: New file. - * sysdeps/ieee754/float128/s_roundevenf128.c: New file. - * sysdeps/ieee754/float128/s_roundf128.c: New file. - * sysdeps/ieee754/float128/s_scalblnf128.c: New file. - * sysdeps/ieee754/float128/s_scalbnf128.c: New file. - * sysdeps/ieee754/float128/s_setpayloadf128.c: New file. - * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file. - * sysdeps/ieee754/float128/s_signbitf128.c: New file. - * sysdeps/ieee754/float128/s_significandf128.c: New file. - * sysdeps/ieee754/float128/s_sincosf128.c: New file. - * sysdeps/ieee754/float128/s_sinf128.c: New file. - * sysdeps/ieee754/float128/s_tanf128.c: New file. - * sysdeps/ieee754/float128/s_tanhf128.c: New file. - * sysdeps/ieee754/float128/s_totalorderf128.c: New file. - * sysdeps/ieee754/float128/s_totalordermagf128.c: New file. - * sysdeps/ieee754/float128/s_truncf128.c: New file. - * sysdeps/ieee754/float128/s_ufromfpf128.c: New file. - * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file. - * sysdeps/ieee754/float128/t_sincosf128.c: New file. - * sysdeps/ieee754/float128/x2y2m1f128.c: New file. - - * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: - (__iscanonicalf128): Define as a macro. - -2017-05-24 Steve Ellcey - - * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros. - (memmove): Use MEMMOVE for name. - (memcpy): Use MEMCPY for name. Change internal labels - to external labels. - * sysdeps/aarch64/multiarch/Makefile: New file. - * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise. - * sysdeps/aarch64/multiarch/init-arch.h: Likewise. - * sysdeps/aarch64/multiarch/memcpy.c: Likewise. - * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise. - * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise. - * sysdeps/aarch64/multiarch/memmove.c: Likewise. - -2017-05-24 Siddhesh Poyarekar - - * sysdeps/unix/sysv/linux/arm/dl-procinfo.c - (_dl_arm_cap_flags): Fix array subscript. - * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT): - Fix count. - -2017-05-24 H.J. Lu - - * sysdeps/x86/cacheinfo.c: Skip if not in libc. - -2017-05-24 H.J. Lu - - * sysdeps/x86/cacheinfo.c (is_intel): Removed. - (is_amd): Likewise. - (max_cpuid): Likewise. - (__cache_sysconf): Use __get_cpu_features to get cpu_features. - (init_cacheinfo): Likewise. - -2017-05-23 Joseph Myers - - [BZ #21511] - * signal/signal.h: Include only if - [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC]. - (sigstack): Declare only if [(__USE_XOPEN_EXTENDED && - !__USE_XOPEN2K) || __USE_MISC]. - * conform/data/signal.h-data (struct sigstack): Expect type only - if [!XOPEN2K8 && !POSIX2008]. - (sigstack): Expect function only if [XPG42 || UNIX98]. - - [BZ #21457] - * sysdeps/arm/sys/ucontext.h: Do not include , - , or - . Include instead of - . - (ucontext_t): Use sigset_t instead of __sigset_t. - * sysdeps/generic/sys/ucontext.h: Do not include , - , or - . Include instead of - . - (ucontext_t): Use sigset_t instead of __sigset_t. - * sysdeps/i386/sys/ucontext.h: Do not include , - , or - . Include instead of - . - (ucontext_t): Use sigset_t instead of __sigset_t. - * sysdeps/m68k/sys/ucontext.h: Do not include , - , or - . Include instead of - . - (ucontext_t): Use sigset_t instead of __sigset_t. - * sysdeps/mips/sys/ucontext.h: Do not include , - , or - . Include instead of - . - (ucontext_t): Use sigset_t instead of __sigset_t. - * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include - , , or - . Include instead of - . - (ucontext_t): Use sigset_t instead of __sigset_t. - * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include - , , or - . Include instead of - . - (ucontext_t): Use sigset_t instead of __sigset_t. - * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include - , , or - . Include instead of - . - (ucontext_t): Use sigset_t instead of __sigset_t. - * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include - , , or - . Include instead of - . - (ucontext_t): Use sigset_t instead of __sigset_t. - * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include - , , or - . Include . - * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include - , , or - . Include instead of - . - (ucontext_t): Use sigset_t instead of __sigset_t. - * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include - , , or - . Include instead of - . - (ucontext_t): Use sigset_t instead of __sigset_t. - * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include - , , or - . Include instead of - . - (ucontext_t): Use sigset_t instead of __sigset_t. - * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include - , or - . - * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include - , , or - . Include instead of - . - (ucontext_t): Use sigset_t instead of __sigset_t. - * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include - , , or - . Include instead of - . - (ucontext_t): Use sigset_t instead of __sigset_t. - * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include - , , or - . Include instead of - . - (ucontext_t): Use sigset_t instead of __sigset_t. - * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include - , , or - . Include instead of - . - (ucontext_t): Use sigset_t instead of __sigset_t. - * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include - . - * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include - , , or - . Include instead of - . - (ucontext_t): Use sigset_t instead of __sigset_t. - -2017-05-22 Zack Weinberg - - * sysdeps/unix/sysv/linux/bits/siginfo-consts.h - (__SI_ASYNCIO_AFTER_SIGIO): Define default after including - bits/siginfo-arch.h, only if not already defined. - * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h - (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T) - (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL): - Likewise. - - * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h - * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h - * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h - * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h - * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h: - Unconditionally define __SI_* macros. - -2017-05-22 Adhemerval Zanella - - [BZ #21393] - * libio/freopen.c (freopen): Avoid dup already opened file descriptor - and add a check for dup3 failure. - * libio/freopen64.c (freopen64): Likewise. - * libio/tst-freopen.c (do_test): Rename to do_test_basic and use - libsupport. - (do_test_bz21398): New test. - * manual/stdio.texi (freopen): Add documentation of EBUSY failure. - -2017-05-22 Siddhesh Poyarekar - - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host): - Remove invalid comment. - -2017-05-21 Zack Weinberg - - * signal/Makefile (headers): Add bits/types/sigval_t.h. - -2017-05-20 Zack Weinberg - - * bits/sigevent-consts.h - * bits/siginfo-consts.h - * bits/types/__sigset_t.h - * bits/types/sigevent_t.h - * bits/types/siginfo_t.h - * sysdeps/unix/sysv/linux/bits/sigevent-consts.h - * sysdeps/unix/sysv/linux/bits/siginfo-consts.h - * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h - * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h - * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: - New system-dependent bits headers. - - * sysdeps/unix/sysv/linux/bits/siginfo-arch.h - * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h - * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h - * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h - * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h - * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h - * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h - * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h - * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h: - New Linux-only system-dependent bits headers. - - * signal/bits/types/sig_atomic_t.h - * signal/bits/types/sigset_t.h - * signal/bits/types/sigval_t.h: - New non-system-dependent bits headers. - - * sysdeps/generic/sigsetops.h - * sysdeps/unix/sysv/linux/sigsetops.h: - New internal headers. - - * include/bits/types/sig_atomic_t.h - * include/bits/types/sigset_t.h - * include/bits/types/sigval_t.h: - New wrappers. - - * signal/sigsetops.h - * bits/siginfo.h - * bits/sigset.h - * sysdeps/unix/sysv/linux/bits/siginfo.h - * sysdeps/unix/sysv/linux/bits/sigset.h - * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h - * sysdeps/unix/sysv/linux/mips/bits/siginfo.h - * sysdeps/unix/sysv/linux/s390/bits/siginfo.h - * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h - * sysdeps/unix/sysv/linux/tile/bits/siginfo.h - * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: - Deleted. - - * signal/Makefile, sysdeps/unix/sysv/linux/Makefile: - Update lists of installed headers. - - * posix/bits/types.h: Define __sig_atomic_t here. - * signal/signal.h: Use the new bits headers; no need to handle - __need_sig_atomic_t nor __need_sigset_t. Don't use __sigmask - to define sigmask. - * include/signal.h: No need to handle __need_sig_atomic_t - nor __need_sigset_t. Don't define __sigemptyset. - - * io/sys/poll.h, setjmp/setjmp.h - * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h - * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h - * sysdeps/mach/hurd/i386/bits/sigcontext.h - * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h - * sysdeps/pthread/bits/sigthread.h - * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h - * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h - * sysdeps/unix/sysv/linux/mips/sys/ucontext.h - * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h - * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h - * sysdeps/unix/sysv/linux/s390/sys/ucontext.h - * sysdeps/unix/sysv/linux/sh/sys/ucontext.h - * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h - * sysdeps/unix/sysv/linux/tile/sys/ucontext.h - * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: - Use bits/types/__sigset_t.h. - - * misc/sys/select.h, posix/spawn.h - * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h - * sysdeps/unix/sysv/linux/sys/epoll.h - * sysdeps/unix/sysv/linux/sys/signalfd.h: - Use bits/types/sigset_t.h. - - * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h. - * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h. - * socket/sys/socket.h: Don't include bits/sigset.h. - - * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c - * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c - * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c - * sysdeps/posix/signal.c, sysdeps/posix/sigset.c - * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c - * sysdeps/unix/sysv/linux/nptl-signals.h: - Include sigsetops.h. - - * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c - * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c - * sysdeps/posix/signal.c, sysdeps/posix/sigset.c: - __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset - now return no value. - - * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c - Include , , and instead of - "sigsetops.h". - - * signal/sigsetops.c: Explicitly define __sigismember, - __sigaddset, and __sigdelset as compatibility symbols. - - * signal/Versions: Correct commentary on __sigpause, - __sigaddset, __sigdelset, __sigismember. - - * inet/rcmd.c: Include sigsetops.h. Convert old code using - __sigblock/__sigsetmask to use __sigprocmask and friends. - - * resolv/resolv.h: Remove __need_res_state logic. - Move definition of res_state and related constants to ... - * resolv/bits/types/res_state.h: ...this new file. - * resolv/Makefile: Install bits/types/res_state.h. - * include/bits/types/res_state.h: New wrapper. - * include/list.h: Remove __need_list_t logic. - Move definition of list_t to ... - * include/list_t.h: ...this new file. - - * nptl/descr.h: Include list_t.h and bits/types/res_state.h - instead of list.h and resolv.h. - - * resolv/resolv.h: Remove __need_res_state logic. - Move definition of res_state and related constants to ... - * resolv/bits/types/res_state.h: ...this new file. - * resolv/Makefile: Install bits/types/res_state.h. - * include/bits/types/res_state.h: New wrapper. - * include/list.h: Remove __need_list_t logic. - Move definition of list_t to ... - * include/list_t.h: ...this new file. - - * nptl/descr.h: Include list_t.h and bits/types/res_state.h - instead of list.h and resolv.h. - -2017-05-20 H.J. Lu - - * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed. - -2017-05-20 Zack Weinberg - - * sysdeps/arm/sysdep.h - (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions. - - * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S - * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S - * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S - * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S - * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S - * sysdeps/arm/armv6t2/strlen.S - * sysdeps/arm/armv7/multiarch/memcpy_impl.S - * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S - * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S - * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S - * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S: - Remove all uses of sfi_breg, sfi_pld, and sfi_sp. - -2017-05-20 Zack Weinberg - - Remove the NaCl port. - * sysdeps/arm/nacl: Remove directory and contents. - * sysdeps/nacl: Remove directory and contents. - * abi-tags: Remove .*-.*-nacl.* entry. - -2017-05-19 Rical Jasan - - * manual/errno.texi: Convert @comment-based errno documentation to - @errno. - * manual/macros.texi (@errno): New macro. Consolidate errors, - their values, and messages, adding the error string to the Concept - Index. Provide a warning in the comment about external (to the - manual) dependencies. - * sysdeps/gnu/errlist.awk: Use @errno instead of @comments. - * sysdeps/mach/hurd/errnos.awk: Likewise. - -2017-05-19 Joseph Myers - - * bits/ss_flags.h: New file. - * bits/types/stack_t.h: Likewise. - * include/bits/types/struct_sigstack.h: Likewise. - * signal/bits/types/struct_sigstack.h: Likewise. - * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise. - * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise. - * signal/Makefile (headers): Add bits/types/struct_sigstack.h, - bits/types/stack_t.h and bits/ss_flags.h. - * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]: - Include , and - . - * bits/sigstack.h (struct sigstack): Remove. - (stack_t): Likewise. - (SS_ONSTACK): Likewise. - (SS_DISABLE): Likewise. - * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h - (struct sigstack): Likewise. - (stack_t): Likewise. - (SS_ONSTACK): Likewise. - (SS_DISABLE): Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack): - Likewise. - (stack_t): Likewise. - (SS_ONSTACK): Likewise. - (SS_DISABLE): Likewise. - * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack): - Likewise. - (stack_t): Likewise. - (SS_ONSTACK): Likewise. - (SS_DISABLE): Likewise. - * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack): - Likewise. - (stack_t): Likewise. - (SS_ONSTACK): Likewise. - (SS_DISABLE): Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h - (struct sigstack): Likewise. - (stack_t): Likewise. - (SS_ONSTACK): Likewise. - (SS_DISABLE): Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack): - Likewise. - (stack_t): Likewise. - (SS_ONSTACK): Likewise. - (SS_DISABLE): Likewise. - * sysdeps/arm/sys/ucontext.h: Include - , and - . - * sysdeps/generic/sys/ucontext.h: Likewise. - * sysdeps/i386/sys/ucontext.h: Likewise. - * sysdeps/m68k/sys/ucontext.h: Likewise. - * sysdeps/mips/sys/ucontext.h: Likewise. - * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise. - * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise. - * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise. - * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise. - * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise. - * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise. - * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise. - * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise. - * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise. - * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise. - -2017-05-19 H.J. Lu - - * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use - "edx + ecx - 16" to avoid possible addition overflow. - * sysdeps/x86_64/memchr.S (memchr): Likewise. - -2017-05-19 Adhemerval Zanella - - * misc/Makefile (CFLAGS-vmsplice.c): Remove rule. - (CFLAGS-splice.c): Likewise. - (CFLAGS-open_by_handle_at.c): Likewise. - * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule. - (CFLAGS-splice.c): Likewise. - (CFLAGS-open_by_handle_at.c): Likewise. - -2017-05-19 Joseph Myers - - * scripts/versions.awk: Generate ldbl-compat-choose.h. - * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include - . - (maybe_long_double_symbol): New macro. - [!declare_mgen_alias] (declare_mgen_alias): Use - maybe_long_double_symbol. - * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove. - * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise. - * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise. - * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise. - * Makerules [$(build-shared) = yes && !avoid-generated] - (before-compile): Add $(common-objpfx)ldbl-compat-choose.h. - [$(build-shared) = yes && !avoid-generated] - ($(common-objpfx)ldbl-compat-choose.h): New target. - - * scripts/versions.awk: Generate first-versions.h. - * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include - . - (LDOUBLE_cabsl_libm_version): Remove macro. - (LDOUBLE_cargl_libm_version): Likewise. - (LDOUBLE_cimagl_libm_version): Likewise. - (LDOUBLE_conjl_libm_version): Likewise. - (LDOUBLE_creall_libm_version): Likewise. - (LDOUBLE_cacosl_libm_version): Likewise. - (LDOUBLE_cacoshl_libm_version): Likewise. - (LDOUBLE_ccosl_libm_version): Likewise. - (LDOUBLE_ccoshl_libm_version): Likewise. - (LDOUBLE_casinl_libm_version): Likewise. - (LDOUBLE_csinl_libm_version): Likewise. - (LDOUBLE_casinhl_libm_version): Likewise. - (LDOUBLE_csinhl_libm_version): Likewise. - (LDOUBLE_catanl_libm_version): Likewise. - (LDOUBLE_catanhl_libm_version): Likewise. - (LDOUBLE_ctanl_libm_version): Likewise. - (LDOUBLE_ctanhl_libm_version): Likewise. - (LDOUBLE_cexpl_libm_version): Likewise. - (LDOUBLE_clogl_libm_version): Likewise. - (LDOUBLE_cprojl_libm_version): Likewise. - (LDOUBLE_csqrtl_libm_version): Likewise. - (LDOUBLE_cpowl_libm_version): Likewise. - (LDOUBLE_clog10l_libm_version): Likewise. - (LDOUBLE___clog10l_libm_version): Likewise. - (LDOUBLE_fdiml_libm_version): Likewise. - (LDOUBLE_fmaxl_libm_version): Likewise. - (LDOUBLE_fminl_libm_version): Likewise. - (LDOUBLE_ilogbl_libm_version): Likewise. - (LDOUBLE_nanl_libm_version): Likewise. - [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use - FIRST_VERSION_libm_* macros. - [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise. - * Makerules [$(build-shared) = yes && !avoid-generated] - (before-compile): Add $(common-objpfx)first-versions.h. - [$(build-shared) = yes && !avoid-generated] - ($(common-objpfx)first-versions.h): New target. - ($(common-objpfx)sysd-versions): Depend on and change to rule for - building $(common-objpfx)versions.stmp. - -2017-05-18 Adhemerval Zanella - - * rt/Makefile (CFLAGS-mq_timedsend.c): New flag. - * sysdeps/unix/sysv/linux/mq_timedsend.c: New file. - * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from - auto-generation list. - - * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag. - * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file. - * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove - from auto-generation list. - - * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add - open_by_handle_at. - (CFLAGS-open_by_handle_at.c): New flag. - * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file. - * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New - file. - * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule. - - * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice. - (CFLAGS-splice.c): New flag. - * sysdeps/unix/sysv/linux/splice.c: New file. - * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from - auto-generation syscall list. - * misc/Makefile (CFLAGS-splice.c): New rule. - - * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag. - * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from - auto-generation syscall list. - * sysdeps/unix/sysv/linux/vmsplice.c: New file. - * misc/Makefile (CFLAGS-vmsplice.c): New rule. - - * misc/Makefile (CFLAGS-fsync.c): New flag. - * nptl/Makefile (CFLAGS-fsync.c): Likewise. - * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation - syscall list. - * sysdeps/unix/sysv/linux/fsync.c: New file. - * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so] - (__errno_location): Remove. - - * misc/Makefile (CFLAGS-fdatasync.c): New rule. - * nptl/Makefile (CFLAGS-fdatasync.c): Likewise. - * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation - list. - * sysdeps/unix/sysv/linux/fdatasync.c: New file. - - * misc/Makefile (CFLAGS-msync.c): New rule. - * nptl/Makefile (CFLAGS-msync.c): Likewise. - * sysdeps/unix/syscalls.list: Remove msync from auto-generation list. - * sysdeps/unix/sysv/linux/msync.c: New file. - - * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file. - * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list. - * nptl/Makefile (CFLAGS-sigsuspend.c): New rule. - * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile - (CFLAGS-sigsuspend.c): Remove rule. - - * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee. - (CFLAGS-tee.c): New rule. - * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from - auto-generated list. - * sysdeps/unix/sysv/linux/tee.c: New file. - - * nptl/Makefile (CFLAGS-nanosleep.c): New rule. - * posix/Makefile (CFLAGS-nanosleep.c): Likewise. - * sysdeps/unix/sysv/linux/nanosleep.c: New file. - * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from - auto-generated list. - - * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from - auto-generated list. - * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file. - * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise. - - * sysdeps/unix/sysv/linux/generic/pause.c: Remove file. - * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__] - (__NR_pause): Undefine. - * sysdeps/unix/sysv/linux/pause.c: New file. - * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from - auto-generation list. - * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c): - Remove rule. - * posix/Makefile (CFLAGS-pause.c): Remove redundant rule. - -2017-05-18 H.J. Lu - - * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct - comments. - -2017-05-18 Siddhesh Poyarekar - - * elf/Makefile (tst-env-setuid-ENV): Reduce value of - LD_HWCAP_MASK. - -2017-05-18 Rical Jasan - - * manual/conf.texi: Convert @tables of annotated @items to - @vtables. - * manual/lang.texi: Likewise. - * manual/pattern.texi: Likewise. - * manual/resource.texi: Likewise. - * manual/socket.texi: Likewise. - -2017-05-18 Rical Jasan - - * manual/crypt.texi: Move a comment out of an @*x list. - * manual/filesys.texi: Refactor some comments, one of which looks - like a standard. Fix incorrectly separated standards. - * manual/locale.texi: Invert an annotation. - * manual/resource.texi: Fix incorrectly separated standards. - * manual/time.texi: Refactor a @vtable that obscures an - annotation. - * manual/users.texi: Refactor multiple headers to occupy a single - @comment. - -2017-05-18 Rajalakshmi Srinivasaraghavan - - * sysdeps/powerpc/powerpc64/multiarch/Makefile - (sysdep_routines): Add memcmp-power8. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c - (memcmp): Add __memcmp_power8 to list of memcmp functions. - * sysdeps/powerpc/powerpc64/multiarch/memcmp.c - (memcmp): Add __memcmp_power8 to ifunc list. - * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file. - * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file. - -2017-05-17 Gabriel F. T. Gomes - Tulio Magno Quites Machado Filho - - * math/math.h (__MATH_TG): Extend the conditions to add - _Float128 support. - * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro. - -2017-05-17 Paul A. Clarke - - * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile - [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and - s_cosf-ppc64. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise. - * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise. - -2017-05-17 Gabriel F. T. Gomes - - * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls. - (gen-libm-calls): Add e_exp2F to use the template. - * math/e_exp2l.c: Rename to math/e_exp2_template.c. - * math/e_exp2_template.c: New file, renamed from - math/e_exp2l.c, and made into a template. - * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro. - -2017-05-17 Siddhesh Poyarekar - - * elf/dl-tunable-types.h (tunable_type_code_t): New type - TUNABLE_TYPE_UINT_64. - * elf/dl-tunables.c (tunables_strtoul): Return uint64_t. - Simplify computation of overflow. - (tunable_set_val_if_valid_range_signed, - tunable_set_val_if_valid_range_unsigned): Remove and replace - with this... - (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro. - (tunable_initialize): Adjust. Add uint64_t support. - (__tunable_set_val): Add uint64_t support. - * README.tunables: Document it. - - * scripts/gen-tunables.awk: Recognize 'default' keyword in - dl-tunables.list. - * README.tunables: Document it. - -2017-05-15 Adhemerval Zanella - - * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c. - * sysdeps/posix/preadv64.c: Likewise. - * sysdeps/unix/sysv/linux/preadv.c: Likewise. - * sysdeps/unix/sysv/linux/preadv64.c: Likewise. - * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c. - * sysdeps/posix/pwritev64.c: Likewise. - * sysdeps/unix/sysv/linux/pwritev.c: Likewise. - * sysdeps/unix/sysv/linux/pwritev64.c: Likewise. - * sysdeps/posix/preadv_common.c: New file. - * sysdeps/posix/pwritev_common.c: Likewise. - -2017-05-14 Gabriel F. T. Gomes - - * sysdeps/generic/math-type-macros-float128.h - (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the - wrapper templates. - -2017-05-14 Paul E. Murphy - Gabriel F. T. Gomes - - * include/complex.h (__kernel_casinhf128): New declaration. - * include/float.h: New file. - * include/math.h (__finitef128): Add a hidden def. - (__isinff128): Likewise. - (__isnanf128): Likewise. - (__fpclassify): Likewise. - (__issignalling): Likewise. - (__expf128): Likewise. - (__expm1f128): Likewise. - - * sysdeps/generic/fix-fp-int-convert-overflow.h: - (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro. - (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise. - - * sysdeps/generic/math-type-macros-float128.h: New file. - - * sysdeps/generic/math_private.h: Include bits/floatn.h and - math_private_calls.h for _Float128. - (__isinff128): New inline implementation used when GCC < 7.0, - since in this case __builtin_isinf_sign is broken. - (fabsf128): New inline implementation that calls the builtin. - (__EXPR_FLT128): New macro. - (min_of_type): Optionally include _Float128 types too. - - * sysdeps/generic/math_private_calls.h (__kernel_sincos): - Declare for _Float128. - (__kernel_rem_pio2): Likewise. - - * sysdeps/ieee754/ldbl-opt/s_sin.c: - (__DECL_SIMD_sincos_disablef128): New macro. - -2017-05-14 Gabriel F. T. Gomes - - * math/math.h: Include bits/math-finite.h for float128. - (__MATH_DECLARING_FLOATN): Define to control declaration of - float128 functions. - * math/bits/math-finite.h (pow10): Do not declare for float128. - (gamma): Likewise. - (scalb): Likewise. - -2017-05-14 Paul E. Murphy - Gabriel F. T. Gomes - - * bits/floatn.h: New file. - * bits/huge_val_flt128.h: Likewise. - - * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro. - (__DECL_SIMD_sinf128): Likewise. - (__DECL_SIMD_sincosf128): Likewise. - (__DECL_SIMD_logf128): Likewise. - (__DECL_SIMD_expf128): Likewise. - (__DECL_SIMD_powf128): Likewise. - - * math/Makefile (headers): Install bits/floatn.h and - bits/huge_val_flt128.h. - - * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not - defined. - - * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand) - (isnan, gamma, nexttoward, scalb): Only define if not - __MATH_DECLARING_FLOATN. - (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx) - (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag) - (canonicalize, getpayload, setpayload, setpayloadsig): Declare for - _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined. - - * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h. - Include bits/cmathcalls.h to get the declarations of _Float128 - versions of complex functions. - [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128): - Define macro. - - * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h. - Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to - get the declarations of _Float128 versions of math functions. - (__MATH_DECLARING_FLOATN): New macro to control declaration of - _FloatN types. - [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit - is type-generic, so use it without __MATH_TG. - [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for - _Float128 type on GCC < 7.0. Explicitly call __isinff128 for - _Float128 type and GCC < 7.0, otherwise use the builtin. - [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128) - (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128) - (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128): - New _GNU_SOURCE enabled macros. - -2017-05-12 Joseph Myers - - * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias. - (signbitf): Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit): - Likewise. - (signbitl): Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf): - Likewise. - * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise. - (signbitl): Likewise. - * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise. - -2017-05-12 Florian Weimer - - [BZ #21386] - * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the - parent PID. The assertion in the child is incorrect with PID - namespaces. - -2017-05-12 Joseph Myers - - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_STATFS_F_FLAGS): Remove macro. - * sysdeps/unix/sysv/linux/internal_statvfs.c - [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code. - -2017-05-11 Zack Weinberg - - * Makerules: New subdir configuration variables 'tests-internal' - and 'test-internal-extras'. Test files in these categories will - still be compiled with MODULE_NAME=nonlib. Test files in the - existing categories (tests, xtests, test-srcs, test-extras) are - now compiled with MODULE_NAME=testsuite. - New subdir configuration variable 'modules-names-tests'. Files - which are in both 'modules-names' and 'modules-names-tests' will - be compiled with MODULE_NAME=testsuite instead of - MODULE_NAME=extramodules. - (gen-as-const-headers): Move to tests-internal. - (do-tests-clean, common-mostlyclean): Support tests-internal. - * Makeconfig (built-modules): Add testsuite. - * Makefile: Change libof-check-installed-headers-c and - libof-check-installed-headers-cxx to 'testsuite'. - * Rules: Likewise. Support tests-internal. - * benchtests/strcoll-inputs/filelist#en_US.UTF-8: - Remove extra-modules.mk. - - * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here. - * include/libc-symbols.h: Move definitions of _GNU_SOURCE, - PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the - very top of the file and rationalize their order. - If MODULE_NAME is not defined at all, define IS_IN to always be - false, and don't define _ISOMAC. - If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are - true, define _ISOMAC and suppress everything else in this file, - starting with the inclusion of config.h. - Do check for inappropriate definitions of __OPTIMIZE__ and - __FAST_MATH__ here, but only if _ISOMAC is not defined. - Correct some out-of-date commentary. - - * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE - and _Mlong_double_ before including math.h. - * include/string.h: If _ISOMAC is defined, don't expose - _STRING_ARCH_unaligned. Move a comment to a more appropriate - location. - - * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h - * include/time.h, include/unistd.h, include/wchar.h: No need to - check __cplusplus nor use __BEGIN_DECLS/__END_DECLS. - - * misc/sys/cdefs.h (__NTHNL): New macro. - * sysdeps/m68k/m680x0/fpu/bits/mathinline.h - (__m81_defun): Use __NTHNL to avoid errors with GCC 6. - - * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC - defined, for HAVE_TUNABLES. - * inet/tst-checks-posix.c: No need to define _ISOMAC. - * intl/tst-gettext2.c: Provide own definition of N_. - * math/test-signgam-finite-c99.c: No need to define _ISOMAC. - * math/test-signgam-main.c: No need to define _ISOMAC. - * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to... - * stdlib/tst-strtod1i.c: ...this new file. - * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice. - Split tests of __strtod_internal to... - * stdlib/tst-strtod5i.c: ...this new file. - * string/test-string.h: Include stdint.h. Duplicate definition of - inhibit_loop_to_libcall here (from libc-symbols.h). - * string/test-strstr.c: Provide dummy definition of - libc_hidden_builtin_def when including strstr.c. - * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC - mode; no need to test __STRICT_ANSI__ nor __cplusplus as well. - * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h. - Don't include init-arch.h. - * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h. - Don't include init-arch.h. - - * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static, - tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest, - unload, unload2, circleload1, neededtest, neededtest2, - neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3, - tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1, - tst-stackguard1, tst-_dl_addr_inside_object, and all of the - ifunc tests to tests-internal. - Don't add $(modules-names) to test-extras. - * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal. - Add tst-deadline to tests-static-internal. - * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to - tests-internal. - * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal. - * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11, - tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3, - tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static, - tst-sem12-static, and tst-stackguard1-static to tests-internal. - Link tests-internal with libpthread also. - Don't add $(modules-names) to test-extras. - * nss/Makefile: Move tst-field to tests-internal. - * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33, - tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal. - * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4, - tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to - tests-internal. - * sunrpc/Makefile: Move tst-svc_register to tests-internal. - * sysdeps/powerpc/Makefile: Move test-get_hwcap and - test-get_hwcap-static to tests-internal. - * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to - tests-internal. - * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to - modules-names-tests. - -2017-05-11 Zack Weinberg - - * libio/libio.h: Condition dummy definition of _IO_lock_t on - _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the - non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile, - _IO_funlockfile, and _IO_ftrylockfile. Only define - _IO_cleanup_region_start and _IO_cleanup_region_end if not - already defined. - * include/libio.h: If _IO_MTSAFE_IO is defined, redefine - _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile - appropriately. - * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h: - Define _IO_lock_t_defined after defining _IO_lock_t. - -2016-05-10 Adhemerval Zanella - - * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use - void* for argument type and use VDSO_SYMBOL macro. - (is_sigtramp_address_rt): Likewise. - (__backtrace): Setup expected frame pointer address for signal - handling. - * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use - void* for argumetn type and use VSDO_SYMBOL macro. - (__backtrace): Setup expected frame pointer address for signal - handling. - - * sysdeps/unix/sysv/linux/writev.c: New file. - - * sysdeps/unix/sysv/linux/readv.c: New file. - - * include/unistd.h (write): Add hidden proto. - * io/Makefile (CFLAGS-write.c): New define. - * nptl/Makefile (CFLAGS-write.c): Likewise. - * sysdeps/unix/sysv/linux/write.c: New file. - - [BZ #21428] - * include/unistd.h (read): Add hidden proto. - * io/Makefile (CFLAGS-read.c): New define. - * nptl/Makefile (CFLAGS-read.c): Likewise. - * sysdeps/unix/sysv/linux/read.c: New file. - - * io/Makefile (CFLAGS-creat.c): New rule. - (CFLAGS-creat64.c): Likewise. - * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file. - * sysdeps/unix/sysv/linux/generic/creat.c: Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise. - * sysdeps/unix/sysv/linux/creat.c: New file. - * sysdeps/unix/sysv/linux/creat64.c: Likewise. - * sysdeps/unix/sysv/linux/syscalls.list: Remove create from - auto-generated list. - * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. - - * sysdeps/unix/sysv/linux/generic/open.c: Remove file. - * sysdeps/unix/sysv/linux/generic/open64.c: Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise. - * sysdeps/unix/sysv/linux/open.c: New file. - * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol - iff __WORDSIZE != 64 and use __NR_openat when available. - * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open - from auto-generated list. - - * nptl/Makefile (CFLAGS-close.c): New flag. - * sysdeps/unix/sysv/linux/close.c: New file. - -2017-05-11 DJ Delorie - - * MAINTAINERS: New. Points to wiki. - -2017-05-11 Siddhesh Poyarekar - - * scripts/gen-tunables.awk: Add attribute_relro to - tunable_list. - -2017-05-11 Joseph Myers - - [BZ #21457] - * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC]. - (R1): Likewise. - (R2): Likewise. - (R3): Likewise. - (R4): Likewise. - (R5): Likewise. - (R6): Likewise. - (R7): Likewise. - (R8): Likewise. - (R9): Likewise. - (R10): Likewise. - (R11): Likewise. - (R12): Likewise. - (R13): Likewise. - (R14): Likewise. - (R15): Likewise. - * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise. - (REG_FS): Likewise. - (REG_ES): Likewise. - (REG_DS): Likewise. - (REG_EDI): Likewise. - (REG_ESI): Likewise. - (REG_EBP): Likewise. - (REG_ESP): Likewise. - (REG_EBX): Likewise. - (REG_EDX): Likewise. - (REG_ECX): Likewise. - (REG_EAX): Likewise. - (REG_TRAPNO): Likewise. - (REG_ERR): Likewise. - (REG_EIP): Likewise. - (REG_CS): Likewise. - (REG_EFL): Likewise. - (REG_UESP): Likewise. - (REG_SS): Likewise. - * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise. - (R_D1): Likewise. - (R_D2): Likewise. - (R_D3): Likewise. - (R_D4): Likewise. - (R_D5): Likewise. - (R_D6): Likewise. - (R_D7): Likewise. - (R_A0): Likewise. - (R_A1): Likewise. - (R_A2): Likewise. - (R_A3): Likewise. - (R_A4): Likewise. - (R_A5): Likewise. - (R_A6): Likewise. - (R_A7): Likewise. - (R_SP): Likewise. - (R_PC): Likewise. - (R_PS): Likewise. - (fpregset_t): Likewise. - (MCONTEXT_VERSION): Likewise. - * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise. - (CTX_AT): Likewise. - (CTX_V0): Likewise. - (CTX_V1): Likewise. - (CTX_A0): Likewise. - (CTX_A1): Likewise. - (CTX_A2): Likewise. - (CTX_A3): Likewise. - (CTX_T0): Likewise. - (CTX_T1): Likewise. - (CTX_T2): Likewise. - (CTX_T3): Likewise. - (CTX_T4): Likewise. - (CTX_T5): Likewise. - (CTX_T6): Likewise. - (CTX_T7): Likewise. - (CTX_S0): Likewise. - (CTX_S1): Likewise. - (CTX_S2): Likewise. - (CTX_S3): Likewise. - (CTX_S4): Likewise. - (CTX_S5): Likewise. - (CTX_S6): Likewise. - (CTX_S7): Likewise. - (CTX_T8): Likewise. - (CTX_T9): Likewise. - (CTX_K0): Likewise. - (CTX_K1): Likewise. - (CTX_GP): Likewise. - (CTX_SP): Likewise. - (CTX_S8): Likewise. - (CTX_RA): Likewise. - (CTX_MDLO): Likewise. - (CTX_MDHI): Likewise. - (CTX_CAUSE): Likewise. - (CTX_EPC): Likewise. - * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition - inclusion of on [__USE_MISC]. - (greg_t): Condition on [__USE_MISC]. - (gregset_t): Likewise. - (fpregset_t): Likewise. - * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise. - (NGREG): Likewise. - (gregset_t): Likewise. - (REG_R0): Likewise. - (REG_R1): Likewise. - (REG_R2): Likewise. - (REG_R3): Likewise. - (REG_R4): Likewise. - (REG_R5): Likewise. - (REG_R6): Likewise. - (REG_R7): Likewise. - (REG_R8): Likewise. - (REG_R9): Likewise. - (REG_R10): Likewise. - (REG_R11): Likewise. - (REG_R12): Likewise. - (REG_R13): Likewise. - (REG_R14): Likewise. - (REG_R15): Likewise. - (struct _libc_fpstate): Likewise. - (fpregset_t): Likewise. - * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise. - (NFPREG): Likewise. - (gregset_t): Likewise. - (fpregset_t): Likewise. - * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise. - (R_D1): Likewise. - (R_D2): Likewise. - (R_D3): Likewise. - (R_D4): Likewise. - (R_D5): Likewise. - (R_D6): Likewise. - (R_D7): Likewise. - (R_A0): Likewise. - (R_A1): Likewise. - (R_A2): Likewise. - (R_A3): Likewise. - (R_A4): Likewise. - (R_A5): Likewise. - (R_A6): Likewise. - (R_A7): Likewise. - (R_SP): Likewise. - (R_PC): Likewise. - (R_PS): Likewise. - (fpregset_t): Likewise. - (MCONTEXT_VERSION): Likewise. - * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION): - Likewise. - * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise. - (REG_R1): Likewise. - (REG_R2): Likewise. - (REG_R3): Likewise. - (REG_R4): Likewise. - (REG_R5): Likewise. - (REG_R6): Likewise. - (REG_R7): Likewise. - (REG_R8): Likewise. - (REG_R9): Likewise. - (REG_R10): Likewise. - (REG_R11): Likewise. - (REG_R12): Likewise. - (REG_R13): Likewise. - (REG_R14): Likewise. - (REG_R15): Likewise. - * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion - of on [__USE_MISC]. - (greg_t): Condition on [__USE_MISC]. - (NGREG): Likewise. - (gregset_t): Likewise. - -2017-05-11 Adhemerval Zanella - - * sysdeps/arm/nptl/bits/pthreadtypes-arch.h - (__pthread_rwlock_arch_t): Remove __data definition. - * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h - (__pthread_rwlock_arch_t): Likewise. - -2017-05-11 Florian Weimer - - * resolv/inet_pton.c: Reformat in GNU style. Remove - internal_function on static functions. - -2017-05-11 Florian Weimer - - * support/support_format_addrinfo.c (format_ai_flags_1): Renamed - from format_ai_flags. - (format_ai_flags): New function. Incorporate flag formatting code - from format_ai_one. - (format_ai_canonname): New function. - (format_ai_one): Remove flags parameter. - (format_ai_family): Likewise. - (support_format_addrinfo): Call format_ai_flags, - format_ai_canonname. - * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from - check_ai. - (check_ai): Call check_ai_hints. - (do_test): Add AI_CANONNAME tests. - -2017-05-11 Florian Weimer - - * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem. - (gaih_inet): Likewise. - -2017-05-10 Andreas Schwab - - * nptl/tst-fork1.c: Include . - (main): Rename to do_test and make static. - -2017-05-10 Joseph Myers - - * string/rawmemchr.c: Include . - (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr - with size (size_t)-1. - -2017-05-09 Joseph Myers - - * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file. - * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise. - - * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if - [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall. - * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if - [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall. - * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if - [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall. - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for - socket syscalls. - (__ASSUME_RECVMMSG_SYSCALL): Likewise. - (__ASSUME_SENDMMSG_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/i386/kernel-features.h - (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove. - (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise. - * sysdeps/unix/sysv/linux/microblaze/kernel-features.h - (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove. - * sysdeps/unix/sysv/linux/powerpc/kernel-features.h - (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise. - * sysdeps/unix/sysv/linux/sh/kernel-features.h - (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise. - * sysdeps/unix/sysv/linux/sparc/kernel-features.h - (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise. - (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise. - (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise. - -2017-05-09 Adhemerval Zanella - - * posix/Makefile (headers): Add pthreadtypes-arch.h and - thread-shared-types.h. - * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch - specific thread definition. - * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise. - * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise. - * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise. - * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise. - * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise. - * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise. - * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise. - * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise. - * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise. - * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise. - * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise. - * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise. - * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise. - * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise. - * sysdeps/nptl/bits/thread-shared-types.h: New file: shared - thread definition between POSIX and C11. - * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file. - * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise. - * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise. - * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise. - * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise. - * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise. - * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise. - * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise. - * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise. - * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise. - * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise. - * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise. - * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise. - * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise. - * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise. - * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread - definitions shared across all architectures. - -2017-05-09 Joseph Myers - - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally. - (__ASSUME_SENDMMSG): Likewise. - (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro. - * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using - sendmmsg syscall if that can be assumed to be present, socketcall - otherwise, with no fallback for runtime failure. - - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally. - (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro. - (__ASSUME_RECVMMSG): Likewise. - * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using - recvmmsg syscall if it can be assumed to be present, socketcall - otherwise, with no fallback for runtime failure. - -2017-05-09 Paul E. Murphy - Gabriel F. T. Gomes - - * bits/libc-header-start.h: - (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro. - * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__. - * manual/creature.texi: Likewise. - -2017-05-09 Paul E. Murphy - Gabriel F. T. Gomes - - * math/Makefile: - (type-float128-suffix): New variable - (type-float128-routines): Likewise - (type-float128-yes): Likewise - (types): Append float128 if supported - (types-basic): New variable to control the use of templates for - float, double, and long double, but not for float128 or newer types. - (type-basic-foreach): Likewise. - - * sysdeps/ieee754/float128/Makeconfig: New file. - * sysdeps/ieee754/float128/Versions: New file. - -2017-05-09 Joseph Myers - - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64): - Remove macro. - * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume - prlimit64 is always available and does not give an ENOSYS error. - * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code - unconditional. - [!__NR_prlimit64]: Remove conditional code. - * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume - prlimit64 is always available and does not give an ENOSYS error. - * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise. - -2017-05-09 Zack Weinberg - - * sunrpc/tst-xdrmem2.c: Include stdint.h. - -2017-05-09 Florian Weimer - - [BZ #21474] - * resolv/res_libc.c (res_init): Use RES_DFLRETRY. - (__res_maybe_init): Likewise. - -2017-05-09 Zack Weinberg - - * extra-modules.mk: Delete file. - * cppflags-iterator.mk: Rename to ... - * libof-iterator.mk: ...this. Adjust comments. - - * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile - * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile - * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile: - Use libof-iterator.mk instead of cppflags-iterator.mk or - extra-modules.mk. - - * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove - extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk. - -2017-05-09 Stefan Liebler - - * sysdeps/s390/fpu/libm-test-ulps: Regenerated. - -2017-05-08 Carlos O'Donell - - * stdio-common/vfprintf.c (EXTSIZ): Define. - (vfprintf): Use EXTSIZ. - (printf_positional): Likewise. - -2017-05-08 Joseph Myers - - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_PROC_PID_TASK_COMM): Remove macro. - * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include - . - (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code. - - * sysdeps/unix/sysv/linux/x86_64/kernel-features.h - (__ASSUME_GETCPU_SYSCALL): Remove macro. - -2017-05-08 Florian Weimer - - Prevent multiple deletion of temporary files. - * support/temp_file.c (struct temp_name_list): Add owner member. - (add_temp_file): Record owner. - (support_delete_temp_files): Delete file only if owner matches. - * posix/tst-exec.c (temp_fd1, temp_fd2): Define. - (do_prepare): Use create_temp_file instead of add_temp_file. - Initialize temp_fd1, temp_fd2. - (do_test): Use global temp_fd1, temp_fd2 variables. Let the test - framework remove the temporary files. - * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define. - (do_prepare): Use create_temp_file instead of add_temp_file. - Initialize temp_fd1, temp_fd2, temp_fd3. - (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables. Let - the test framework remove the temporary files. - * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file - deletion. - * posix/tst-pathconf.c (do_test): Do not call rmdir on the - temporary directory. It is removed by the test framework. - * dirent/tst-scandir.c (do_test): Likewise. - -2017-05-08 Florian Weimer - - Delete temporary files in LIFO order. - * support/temp_file.c (struct temp_name_list): Replace q member - with next. - (add_temp_file): Add new file to front of linked list. - (support_delete_temp_files): Use next member. - (support_print_temp_files): Likewise. - -2017-05-08 Florian Weimer - - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove - sys/ultrasound.h. - * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file. - -2017-05-08 Joseph Myers - - * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel): - Remove. - * sysdeps/unix/sysv/linux/i386/configure: Regenerated. - * sysdeps/unix/sysv/linux/x86_64/64/configure.ac - (arch_minimum_kernel): Remove. - * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated. - * README: Update statement about Linux kernel requirements. - -2017-05-04 Adhemerval Zanella - - * manual/llio.texi: Add preadv and pwritev documentation. - -2017-05-04 Joseph Myers - - [BZ #21455] - * bits/stdint-intn.h: New file. - * bits/stdint-uintn.h: Likewise. - * stdlib/Makefile (headers): Add bits/stdint-intn.h and - bits/stdint-uintn.h. - * inet/netinet/in.h: Include instead of - . - * posix/sys/types.h: Include . - (__int8_t_defined): Do not define here. - (int8_t): Likewise. - (int16_t): Likewise. - (int32_t): Likewise. - (int64_t): Likewise. - [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise. - * resolv/netdb.h: Include instead of - . - * include/netdb.h [_ISOMAC]: Do not include . - * sysdeps/generic/stdint.h: Include and - . - (int8_t): Do not define here. - (int16_t): Likewise. - (int32_t): Likewise. - (int64_t): Likewise. - (uint8_t): Likewise. - (uint16_t): Likewise. - (uint32_t): Likewise. - (uint64_t): Likewise. - * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove - variable. - (test-xfail-XPG42/netdb.h/conform): Likewise. - (test-xfail-XPG42/netinet/in.h/conform): Likewise. - (test-xfail-UNIX98/arpa/inet.h/conform): Likewise. - (test-xfail-UNIX98/netdb.h/conform): Likewise. - (test-xfail-UNIX98/netinet/in.h/conform): Likewise. - -2017-05-04 Paul E. Murphy - - * sysdeps/generic/math_private.h (mathx_hidden_def): New macro. - * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with - the above. - * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise. - -2017-05-04 Joseph Myers - - [BZ #21445] - * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare. - - [BZ #21457] - * sysdeps/unix/sysv/linux/mips/sys/ucontext.h - [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to - __glibc_reserved1. - * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h - (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1. - (struct _fpxreg): Likewise. - [!__x86_64__] (struct _fpstate): Rename field reserved to - __glibc_reserved1. Rename field padding to __glibc_reserved2. - [__x86_64__] (struct _fpstate): Rename field padding to - __glibc_reserved1. - (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1. - Rename field reserved2 to __glibc_reserved2. - * sysdeps/unix/sysv/linux/x86/sys/ucontext.h - [__x86_64__] (struct _libc_fpxreg): Rename field padding to - __glibc_reserved1. - [__x86_64__] (struct _libc_fpstate): Rename field padding to - __glibc_reserved1. - -2017-05-03 Rajalakshmi Srinivasaraghavan - - * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap - variable name. - -2017-05-03 H.J. Lu - - [BZ #21391] - * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]: - Only call init_cpu_features. - [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed. - * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise. - * sysdeps/i386/dl-procinfo.h: Removed. - * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include - nor . Include - . - (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32. - * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]: - Include instead of - . - * sysdeps/x86/cpu-features.c: Include . - (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask. - * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New. - (bit_cpu_MOVBE): Likewise. - (bit_cpu_BMI1): Likewise. - (bit_cpu_BMI2): Likewise. - (index_cpu_BMI1): Likewise. - (index_cpu_BMI2): Likewise. - (index_cpu_LZCNT): Likewise. - (index_cpu_MOVBE): Likewise. - (index_cpu_POPCNT): Likewise. - (reg_BMI1): Likewise. - (reg_BMI2): Likewise. - (reg_LZCNT): Likewise. - (reg_MOVBE): Likewise. - (reg_POPCNT): Likewise. - * sysdeps/x86/dl-hwcap.h: New file. - * sysdeps/x86/dl-procinfo.h: Likewise. - * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New. - (_dl_x86_platforms): Likewise. - -2017-05-03 DJ Delorie - - [BZ #21411] - * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate. - -2017-05-03 Phil Blundell - - * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced - comments. - -2017-05-03 Carlos O'Donell - - [BZ #20116] - * nptl/pthread_create.c: Expand comments to describe - semaphore-like and mutex-like uses of PD->lock. - -2017-04-03 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/epoll_wait.c: New file. - * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file. - * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from - auto-generation list. - * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add - epoll_wait. - * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines): - Remove epoll_wait. - - * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add - osf_select. - * sysdeps/unix/sysv/linux/alpha/select.c: New file. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and - osf_select from auto-generation list. - * sysdeps/unix/sysv/linux/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/generic/select.c: Remove file. - * sysdeps/unix/sysv/linux/select.c: New file. - - * sysdeps/unix/sysv/linux/generic/poll.c: Remove file. - * sysdeps/unix/sysv/linux/poll.c: New file. - * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from - auto-generation list. - -2017-05-03 Joseph Myers - - * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM): - New macro. - -2017-05-02 Vladimir Mezentsev - - [BZ #21179] - * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and - R_SPARC_REGISTER relocations. - -2017-05-02 Adhemerval Zanella - - * include/unistd.h (__pread): Add libc_hidden_proto. - (__pread64): Likewise. - (__pwrite): Likewise. - * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so] - (__pread64): Remove. - * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak. - * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise. - * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise. - -2017-05-02 Tulio Magno Quites Machado Filho - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - -2017-04-26 Adhemerval Zanella - - * nptl/tst-cancel4-common.c: Use libsupport. - * nptl/tst-cancel4-common.h: Likewise. - * nptl/tst-cancel4.c (tf_read): Likewise. - (tf_readv): Likewise. - (tf_write): Likewise. - (tf_writev): Likewise. - (tf_sleep): Likewise. - (tf_usleep): Likewise. - (tf_nanosleep): Likewise. - (tf_select): Likewise. - (tf_pselect): Likewise. - (tf_poll): Likewise. - (tf_ppoll): Likewise. - (tf_wait): Likewise. - (tf_waitpid): Likewise. - (tf_waitid): Likewise. - (tf_sigpause): Likewise. - (tf_sigsuspend): Likewise. - (tf_sigwait): Likewise. - (tf_sigwaitinfo): Likewise. - (tf_sigtimedwait): Likewise. - (tf_pause): Likewise. - (tf_accept): Likewise. - (tf_send): Likewise. - (tf_recv): Likewise. - (tf_recvfrom): Likewise. - (tf_recvmsg): Likewise. - (tf_open): Likewise. - (tf_close): Likewise. - (tf_pread): Likewise. - (tf_pwrite): Likewise. - (tf_preadv): Likewise. - (tf_pwritev): Likewise. - (tf_fsync): Likewise. - (tf_fdatasync): Likewise. - (tf_msync): Likewise. - (tf_sendto): Likewise. - (tf_sendmsg): Likewise. - (tf_creat): Likewise. - (tf_connect): Likewise. - (tf_tcdrain): Likewise. - (tf_msgrcv): Likewise. - (tf_msgsnd): Likewise. - * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise. - * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise. - - * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport - expected arguments. - (do_test): Adapt to use libsupport. - -2017-05-01 Joseph Myers - - * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro. - - * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro. - (PF_MAX): Set to 44. - (AF_SMC): New macro. - - * scripts/build-many-glibcs.py (Context.checkout): Default Linux - kernel version to 4.11. - -2017-04-28 Tulio Magno Quites Machado Filho - - [BZ #21280] - * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the - signal of subnormals and adjust the exponent of power of 2 down - when low part has opposite sign. - -2017-04-28 Paul E. Murphy - - * sysdeps/powerpc/powerpc64le/Implies: New file. - * sysdeps/powerpc/powerpc64le/fpu/Implies: New file. - * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file. - * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file. - * sysdeps/powerpc/powerpc64le/power7/Implies: New file. - * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file. - * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file. - * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file. - * sysdeps/powerpc/powerpc64le/power8/Implies: New file. - * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file. - * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file. - * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file. - * sysdeps/powerpc/powerpc64le/power9/Implies: New file. - * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file. - * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file. - * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file. - * sysdeps/powerpc/preconfigure: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file. - -2017-04-28 Joseph Myers - - * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header - inclusion. - * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform): - Remove. - -2017-04-27 Joseph Myers - - * conform/GlibcConform.pm (XPG4): Rename standard to XPG42. - (XPG3): Rename standard to XPG4. - * conform/Makefile: Likewise. - * conform/list-header-symbols.pl: Likewise. - * conform/data/aio.h-data: Likewise. - * conform/data/arpa/inet.h-data: Likewise. - * conform/data/complex.h-data: Likewise. - * conform/data/ctype.h-data: Likewise. - * conform/data/dlfcn.h-data: Likewise. - * conform/data/fcntl.h-data: Likewise. - * conform/data/fenv.h-data: Likewise. - * conform/data/float.h-data: Likewise. - * conform/data/fmtmsg.h-data: Likewise. - * conform/data/ftw.h-data: Likewise. - * conform/data/grp.h-data: Likewise. - * conform/data/inttypes.h-data: Likewise. - * conform/data/iso646.h-data: Likewise. - * conform/data/langinfo.h-data: Likewise. - * conform/data/libgen.h-data: Likewise. - * conform/data/limits.h-data: Likewise. - * conform/data/locale.h-data: Likewise. - * conform/data/math.h-data: Likewise. - * conform/data/mqueue.h-data: Likewise. - * conform/data/ndbm.h-data: Likewise. - * conform/data/net/if.h-data: Likewise. - * conform/data/netdb.h-data: Likewise. - * conform/data/netinet/in.h-data: Likewise. - * conform/data/poll.h-data: Likewise. - * conform/data/pthread.h-data: Likewise. - * conform/data/pwd.h-data: Likewise. - * conform/data/sched.h-data: Likewise. - * conform/data/search.h-data: Likewise. - * conform/data/semaphore.h-data: Likewise. - * conform/data/signal.h-data: Likewise. - * conform/data/spawn.h-data: Likewise. - * conform/data/stdbool.h-data: Likewise. - * conform/data/stdint.h-data: Likewise. - * conform/data/stdio.h-data: Likewise. - * conform/data/stdlib.h-data: Likewise. - * conform/data/string.h-data: Likewise. - * conform/data/strings.h-data: Likewise. - * conform/data/stropts.h-data: Likewise. - * conform/data/sys/mman.h-data: Likewise. - * conform/data/sys/resource.h-data: Likewise. - * conform/data/sys/select.h-data: Likewise. - * conform/data/sys/socket.h-data: Likewise. - * conform/data/sys/stat.h-data: Likewise. - * conform/data/sys/statvfs.h-data: Likewise. - * conform/data/sys/time.h-data: Likewise. - * conform/data/sys/timeb.h-data: Likewise. - * conform/data/sys/types.h-data: Likewise. - * conform/data/sys/uio.h-data: Likewise. - * conform/data/sys/un.h-data: Likewise. - * conform/data/sys/wait.h-data: Likewise. - * conform/data/syslog.h-data: Likewise. - * conform/data/termios.h-data: Likewise. - * conform/data/tgmath.h-data: Likewise. - * conform/data/time.h-data: Likewise. - * conform/data/ucontext.h-data: Likewise. - * conform/data/unistd.h-data: Likewise. - * conform/data/utmpx.h-data: Likewise. - * conform/data/varargs.h-data: Likewise. - * conform/data/wchar.h-data: Likewise. - * conform/data/wctype.h-data: Likewise. - -2017-04-26 Joseph Myers - - * scripts/build-many-glibcs.py (Context.checkout): Default gcc - version to 7 branch. - -2017-04-25 Uros Bizjak - - * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add - earlyclobber to output operand of sqrt insn. - (__ieee754_sqrtf): Ditto. - -2017-04-25 Joseph Myers - - [BZ #21426] - * misc/bits/types/struct_iovec.h: New file. - * misc/Makefile (headers): Add bits/types/struct_iovec.h. - * include/bits/types/struct_iovec.h: New file. - * bits/uio.h (struct iovec): Replace by inclusion of - . - * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise. - * socket/sys/socket.h: Include instead - of . - * nptl/tst-cancel4.c: Include - * posix/test-errno.c: Likewise. - * support/resolv_test.c: Likewise. - * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform): - Remove. - (test-xfail-POSIX2008/netdb.h/conform): Likewise. - (test-xfail-POSIX2008/netinet/in.h/conform): Likewise. - (test-xfail-POSIX2008/sys/socket.h/conform): Likewise. - - * conform/data/sys/socket.h-data (*_t): Allow. - -2017-04-24 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed - assignment. - -2017-04-24 Daurnimator - Adhemerval Zanella - - [BZ #21340] - * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests. - * posix/spawn.h: define POSIX_SPAWN_SETSID flag. - * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to - valid flags. - * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID. - * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of - POSIX_SPAWN_SETSID. - * sysdeps/posix/spawni.c (__spawni): Likewise. - * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise. - * NEWS: Add note about POSIX_SPAWN_SETSID support. - -2017-04-24 Gabriel F. T. Gomes - - * sysdeps/generic/math_private.h: Move the declaration of many - functions to sysdeps/generic/math_private_calls.h. - * sysdeps/generic/math_private_calls.h: New file with the - declarations of the functions removed from math_private.h - macroized by floating-point type. - -2017-04-21 Stefan Liebler - - * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File. - * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch - folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX]. - (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, - FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX, - TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define. - -2017-04-21 Stefan Liebler - - * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File. - * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch - folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX]. - (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT, - FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): - New Define. - -2017-04-21 Stefan Liebler - - * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File. - * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch - folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX]. - (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, - FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX, - TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define. - -2017-04-21 Stefan Liebler - - * sysdeps/s390/multiarch/ifunc-resolve.h - (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define. - * sysdeps/s390/multiarch/8bit-generic.c - (__to_generic, __from_generic): Use s390_libc_ifunc_expr to - define ifunc resolvers. - -2017-04-21 Florian Weimer - - [BZ #20424] - * manual/memory.texi (Replacing malloc): New section. - (Allocating Storage For Program Data): Reference it. - (The GNU Allocator): Likewise. - -2017-04-20 Joseph Myers - - * stdlib/Versions (__strtod_internal): List explicitly, not as - wildcard. - (__strtof_internal): Likewise. - (__strtold_internal): Likewise. - (__strtol_internal): Likewise. - (__strtoll_internal): Likewise. - (__strtoul_internal): Likewise. - (__strtoull_internal): Likewise. - (__strtoq_internal): Likewise. - (__strtouq_internal): Likewise. - * wcsmbs/Versions (__wcstod_internal): Likewise. - (__wcstof_internal): Likewise. - (__wcstold_internal): Likewise. - (__wcstol_internal): Likewise. - (__wcstoll_internal): Likewise. - (__wcstoul_internal): Likewise. - (__wcstoull_internal): Likewise. - -2017-04-20 Adhemerval Zanella - - * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for - struct timespec definition. - -2017-04-19 Florian Weimer - - * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses. - -2017-04-19 Florian Weimer - - * inet/rcmd.c (rresvport_af): Fix typo in comment. - * inet/rexec.c (rexec_af): Likewise. - -2017-04-19 Zack Weinberg - - * posix/tst-mmap-offset.c: Include stdint.h. - * resolv/tst-ns_name_compress.c: Include string.h. - * resolv/tst-resolv-edns.c: Include resolv.h. - -2017-04-19 Florian Weimer - - * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect - with __glibc_likely. - * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice): - Replace __builtin_expect with __glibc_unlikely. - * resolv/res_init.c (__res_vinit): Likewise. - * resolv/res_query.c (__libc_res_nquery): Likewise. - * resolv/res_send.c (__libc_res_nsend): Likewise. - -2017-04-19 Florian Weimer - - [BZ #15722] - * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket - with SOCK_CLOEXEC. - * resolv/res_send.c (send_vc, reopen): Likewise. - * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise. - * sysdeps/unix/sysv/linux/check_native.c (__check_native): - Likewise. - * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise. - * inet/rexec.c (rexec_af): Add comment. - * inet/rcmd.c (rresvport_af): Likewise. - -2017-04-19 Florian Weimer - - * nscd/connections.c (have_accept4): Removed definition. - (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that - accept4 works. - * manual/install.texi (Linux): Require at least kernel 3.2.18 for - ia64 because that was the first version with accept4 support. - * support/Makefile (libsupport-routines): Add xaccept4. - * support/xsocket.h (xaccept4): Declare. - * support/xaccept4.c: New file. - * socket/tst-accept4.c: New file. - * socket/Makefile (tests): Add tst-accept4. - * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove - definition. - * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove - comment. - * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4 - implementation is available. - (accept4): Use the system call if available, otherwise use the - socket call. - * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel): - Set to 3.2.18. - * sysdeps/unix/sysv/linux/ia64/kernel-features.h - (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine. - accept4 is unconditionally available in later 3.2 stable kernels. - (__ASSUME_ACCEPT4_SYSCALL): Define. - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove - definitions. - * sysdeps/unix/sysv/linux/i386/kernel-features.h - (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later. - -2017-04-18 Joseph Myers - - * conform/Makefile (tests-special): Do not make addition of - $(conformtest-header-tests) conditional on [$(cross-compiling) = no]. - (generated): Do not make addition of $(conformtest-header-base) - conditional on [$(cross-compiling) = no]. - - [BZ #21267] - * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine - if defined by and not previously defined. - (IOCSIZE_SHIFT): Likewise. - (IOC_IN): Likewise. - (IOC_INOUT): Likewise. - (IOC_OUT): Likewise. - -2017-04-18 H.J. Lu - - [BZ #21396] - * sysdeps/x86/cpu-features.c (init_cpu_features): Set - Prefer_No_AVX512 if AVX512ER isn't available. - * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New. - (index_arch_Prefer_No_AVX512): Likewise. - * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use - AVX512 version if Prefer_No_AVX512 is set. - * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): - Likewise. - * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise. - * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk): - Likewise. - * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise. - * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): - Likewise. - * sysdeps/x86_64/multiarch/memset.S (memset): Likewise. - * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): - Likewise. - -2017-04-18 H.J. Lu - - * sysdeps/x86/cpu-features.c (init_cpu_features): Set - Prefer_No_VZEROUPPER if AVX512ER is available. - * sysdeps/x86/cpu-features.h - (bit_cpu_AVX512PF): New. - (bit_cpu_AVX512ER): Likewise. - (bit_cpu_AVX512CD): Likewise. - (bit_cpu_AVX512BW): Likewise. - (bit_cpu_AVX512VL): Likewise. - (index_cpu_AVX512PF): Likewise. - (index_cpu_AVX512ER): Likewise. - (index_cpu_AVX512CD): Likewise. - (index_cpu_AVX512BW): Likewise. - (index_cpu_AVX512VL): Likewise. - (reg_AVX512PF): Likewise. - (reg_AVX512ER): Likewise. - (reg_AVX512CD): Likewise. - (reg_AVX512BW): Likewise. - (reg_AVX512VL): Likewise. - -2017-04-18 Florian Weimer - - * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that - O_CLOEXEC is defined. - * include/fcntl.h (__have_o_cloexec): Remove declaration. - * io/Makefile (aux): Remove. - * io/have_o_cloexec.c: Remove file. - * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is - defined and works. - * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is - defined. - * login/utmp_file.c (O_flags): Remove definition. - (setutent_file): Use O_CLOEXEC instead of O_flags. Assume that - O_CLOEXEC works. - (pututline_file): Likewise. - * malloc/mtrace.c: Assume that O_CLOEXEC works. - * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove - definition. - (internal_setgrent): Assume that O_CLOEXEC works. - * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec): - Remove definition. - (internal_setgrent): Assume that O_CLOEXEC works. - * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove - definition. - (internal_setpwent): Assume that O_CLOEXEC works. - * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove - definition. - (internal_setspent): Assume that O_CLOEXEC works. - * nscd/connections.c (EXTRA_O_FLAGS): Remove definition. - (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS. Assume that - O_CLOEXEC is defined and works. - * nss/Makefile (libnss_files-routines): Remove - files-have_o_cloexec. - * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is - defined. - * nss/nss_files/files-XXX.c (internal_setent): Assume that - O_CLOEXEC is defined and works. - * nss/nss_files/files-alias.c (internal_setent): Likewise. - * nss/nss_files/files-have_o_cloexec.c: Remove. - * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is - defined. - * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined - and works. - * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove - definition. - * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise. - * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works. - * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant. - (__opendirat, __opendir): Adjust opendir_oflags call. - (check_have_o_cloexec): Remove. - (__alloc_dir): Assume that O_CLOEXEC is defined and works. - * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is - defined. - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC): - Remove definition. - -2017-04-18 Florian Weimer - - * include/unistd.h (__have_dup3): Remove declaration. - * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and - dup3 is available. - * libio/freopen64.c (freopen64): Likewise. - * socket/Makefile (aux): Remove have_sock_cloexec. - * socket/have_sock_cloexec.c: Remove file. - * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove - definition. - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3): - Likewise. - * sysdeps/nacl/kernel-features.h: Update comment. - -2017-04-18 Florian Weimer - - * include/unistd.h (__have_pipe2): Remove declaration. - * socket/have_sock_cloexec.c (__have_pipe2): Remove definition. - * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is - available. - * posix/wordexp.c (exec_comm_child, exec_comm): Likewise. - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2): - Remove definition. - -2017-04-18 Florian Weimer - - * malloc/malloc.c (cfree): Turn into compat symbol. - (__cfree): Remove alias. - * stdlib/stdlib.h (cfree): Remove declaration. - * malloc/malloc.h (cfree): Likewise. - * manual/memory.texi (Freeing after Malloc): Remove cfree. - * malloc/Versions (GLIBC_2.26): Add. - -2017-04-18 Rajalakshmi Srinivasaraghavan - - * sysdeps/powerpc/powerpc64/multiarch/Makefile - (sysdep_routines): Add strrchr-power8. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c - (strrchr): Add __strrchr_power8 to list of strrchr functions. - * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/strrchr.c - (strrchr): Add __strrchr_power8 to ifunc list. - * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file. - -2017-04-17 Rabin Vincent - - [BZ #21357] - * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases): - Call free() outside of mutex. - -2017-04-13 Florian Weimer - - * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW - is defined. - * elf/rtld.c (process_envvars): Likewise. - * sysdeps/posix/shm_open.c (shm_open): Likewise. - * elf/dl-profile.c (EXTRA_FLAGS): Remove definition. Use - O_NOFOLLOW directly. - * gmon/gmon.c (O_NOFOLLOW): Remove definition. - -2017-04-13 Florian Weimer - - [BZ #21369] - Remove EDNS fallback. - * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR - handling. - * resolv/res_send.c (send_dg): Likewise. - * resolv/tst-resolv-edns.c (response): Handle "formerr." and - "tcp." prefixes. - (do_test): Send a "formerr."-prefixed query in an attempt to - trigger EDNS fallback. - -2017-04-13 Florian Weimer - - [BZ #21361] - Limit EDNS buffer size to 1200 bytes. - * include/resolv.h (__res_nopt): Remove declaration. - * resolv/Makefile (tests): tst-resolv-edns. - (tst-resolv-edns): Link with -lresolv, -lpthread. - * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the - interval [512, 1200]. - * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if - we can resize the buffer. - * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define. - (__res_nopt): Declare. - * resolv/tst-resolv-edns.c: New file. - * resolv/resolv_test.h (struct resolv_edns_info): Define. - (struct resolv_response_context): Add edns member. - * resolv/resolv_test.c (struct query_info): Add edns member. - (parse_query): Extract EDNS information from the query. - (server_thread_udp_process_one): Propagate EDNS data. - (server_thread_tcp_client): Likewise. - -2017-04-13 Florian Weimer - - [BZ #21359] - * resolv/ns_name.c (ns_name_pack): Do not require an additional - byte in the destination buffer. Avoid out-of-bounds pointer - arithmetic. - * resolv/Makefile (tests): Add tst-ns_name_compress. - (tst-ns_name_compress): Link with -lresolv. - * resolv/tst-ns_name_compress.c: New file. - * resolv/tst-resolv-basic.c (LONG_NAME): Define. - (response): Recognize LONG_NAME. - (do_test): Add LONG_NAME tests. - * resolv/tst-ns_name.c (run_test_case): Fix expected data check - for ns_name_unpack. Add tests for ns_name_pton and - ns_name_compress. - -2017-04-13 Florian Weimer - - * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery) - (res_nisourserver): Remove definition. - (p_section, res_npquery, res_nisourserver): Remove declaration. - (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ... - * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): - ... here. - * resolv/res_send.c: Include instead of - . - * resolv/res_query.c: Likewise. - * resolv/res_debug.c (p_section): Define as static. - -2017-04-13 Rajalakshmi Srinivasaraghavan - - * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add - strncat-power8. - * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add - __strncat_power8 to ifunc list. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c - (strncat): Add __strncat_power8 to list of strncat functions. - * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file. - -2017-04-11 Adhemerval Zanella - - [BZ #21270] - * posix/tst-mmap-offset.c (do_prepare): New function. - (do_test): Rename to do_test_bz18877 and use FAIL_RET. - (do_test_bz21270): New function. - * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file. - * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file. - * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise. - * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise. - * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise. - * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise. - * sysdeps/unix/sysv/linux/mmap_internal.h: New file. - * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise. - * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap - from auto-generation list. - * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/mmap.c: New file. - * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid - offsets and support for mmap2 syscall. - - * posix/globtest.sh: Add cleanup routine on trap 0. - -2017-04-11 Wainer dos Santos Moschetta - - * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the - implementation-specific function name and remove unneeded - macros definition. - * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise. - * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function - name if not defined and pass as parameter to macros accordingly. - * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise. - - * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the - implementation-specific function name and remove unneeded - macros definition. - * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise. - * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function - name if not defined and pass as parameter to macros accordingly. - * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise. - * sysdeps/powerpc/powerpc64/memcpy.S: Likewise. - * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise. - * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. - - * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the - implementation-specific function name and remove unneeded macros - definition. - * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default - function name if not defined and pass as parameter to macros - accordingly. - * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise. - - * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the - implementation-specific function name and remove unneeded macros - definition. - * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise. - * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if - not defined and pass as parameter to macros accordingly. - * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise. - * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise. - * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise. - - * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the - strcasestr implementation name and remove unneeded macros definition. - * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define - strstr implementation name and remove unneeded macros definition. - * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function - name if not defined and pass as parameter to macros accordingly. - * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise. - - * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the - implementation-specific function name and remove unneeded macros - definition. - * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default - function name if not defined and pass as parameter to macros - accordingly. - * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise. - * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise. - * sysdeps/powerpc/powerpc64/strchr.S: Likewise. - - * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define - the strlen implementation name and remove unneeded macros definition. - * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define - the strnlen implementation name and remove unneeded macros definition. - * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function - name if not defined and pass as parameter to macros accordingly. - * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise. - * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise. - * sysdeps/powerpc/powerpc64/strlen.S: Likewise. - - * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define - the implementation-specific function name and remove unneeded - macros definition. - * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise. - * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function - name if not defined and pass as parameter to macros accordingly. - * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise. - * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise. - * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise. - * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise. - * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise. - * sysdeps/powerpc/powerpc64/strcmp.S: Likewise. - * sysdeps/powerpc/powerpc64/strncmp.S: Likewise. - - * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the - implementation-specific function name and remove unneeded macros - definition. - * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default - function name if not defined. - * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise. - * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise. - -2017-04-11 Paul Clarke - - * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, - AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, - AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New. Add auxvec - identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h. - -2017-04-11 Florian Weimer - Zack Weinberg - - * manual/filesys.texi (Reading/Closing Directory): Mark readdir, - readdir64 as thread-safe. Update warning about readdir_r. - -2017-04-10 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/x86/Implies: New file. - * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ... - * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here. - * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ... - * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here. - * sysdeps/x86/bits/pthreadtypes.h: Move to ... - * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here. - -2017-04-10 H.J. Lu - - * sysdeps/i386/dl-procinfo.c: Include - . - * sysdeps/x86_64/dl-procinfo.c: Likewise. - * sysdeps/x86/dl-procinfo.c: New file. - -2017-04-10 Gabriel F. T. Gomes - - * sysdeps/generic/math_private.h: Remove declarations of - many functions that are already declared in math.h. - * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the - declaration for __frexpl. - * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get - the declarations for __scalbnl and fabsl. - -2017-04-09 Dmitry V. Levin - - [BZ #20831] - * elf/dl-map-segments.h (_dl_map_segments): Check for failure - of __mprotect to change protection on the excess portion - to disallow all access. - -2017-04-07 H.J. Lu - - * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use - HAS_CPU_FEATURE to check for SSE. - * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise. - * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise. - * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise. - * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise. - * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise. - * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise. - * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise. - * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise. - * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise. - * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise. - * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise. - * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise. - * sysdeps/i386/setfpucw.c (__setfpucw): Likewise. - * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New. - (index_cpu_SSE): Likewise. - (reg_SSE): Likewise. - -2017-04-07 Paul Eggert - - * posix/getopt1.c: Include , not "config.h". - -2017-04-07 Zack Weinberg - - * posix/bits/getopt_core.h, posix/bits/getopt_ext.h - * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h: - Mention in top-of-file boilerplate that these files are shared - with gnulib. - * posix/getopt.h, posix/bits/getopt_posix.h: - Mention in top-of-file boilerplate that these files are NOT shared - with gnulib, unlike the rest of the getopt implementation. - - * posix/bits/getopt_core.h, posix/bits/getopt_ext.h: - New files, intended to be shared with gnulib. - * posix/bits/getopt_posix.h: - New file, not intended to be shared with gnulib. - * posix/getopt.h: Now just includes features.h, - bits/getopt_core.h, and bits/getopt_ext.h. Will - no longer be shared with gnulib. - * include/bits/getopt_core.h, include/bits/getopt_ext.h - * include/bits/getopt_posix.h: New wrappers. - * posix/Makefile: Install new headers. - * posix/unistd.h, libio/stdio.h: - Include bits/getopt_posix.h instead of getopt.h. - - * include/libc-symbols.h: For gnulib compatibility, define - _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and - _GL_ATTRIBUTE_CONST. - * posix/getopt.c (_getopt_initialize): Mark argc and argv - parameters with _GL_UNUSED. - - * posix/getopt.c: When used standalone, define __libc_use_alloca - as always false and alloca to abort if called. - (process_long_option): Rewrite handling of ambiguous long options - to use a single boolean vector, not a linked list; use - __libc_use_alloca to decide whether to allocate this using alloca. - * posix/tst-getopt_long1.c: Adjust text of expected error message. - - * posix/getopt.c (process_long_option): New function split out - from _getopt_internal_r. - (_getopt_internal_r): Replace both copies of the long-option - processing code with calls to process_long_option. - * posix/bug-getopt4.c (one_test): Print argv[0] in error messages. - (do_test): Differentiate argv[0] in the two subtests. - - * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field. - * posix/getopt.c (_getopt_internal_r): Move some initialization code... - (_getopt_initialize): ...here. Don't set d->__posixly_correct. - - * posix/getopt.h: Add backup definition of __nonnull for - consistency with gnulib. Define __getopt_argv_const to const - if not already defined. - (getopt): Update doc comment from gnulib. Prototype - unconditionally. Add __nonnull annotation. - (__posix_getopt): Add __nonnull annotation. - (getopt_long, getopt_long_only): Use __getopt_argv_const in - prototypes for consistency with gnulib. Add __nonnull - annotations. - * posix/getopt.c (_getopt_initialize, _getopt_internal_r) - (getopt_internal): Change 'argv' argument to type 'char **'. - Remove now-unnecessary casts. - (getopt, __posix_getopt): Eliminate repetition with a macro. - Cast 'argv' to 'char **' when calling _getopt_internal. - * posix/getopt1.c (getopt_long, getopt_long_only): - Use __getopt_argv_const for consistency with gnulib. - Cast 'argv' to 'char **' when calling _getopt_internal. - (_getopt_long_r, _getopt_long_only_r): - Change 'argv' argument to type 'char **'. - (main): Constify 'long_options'. - * posix/getopt_int.h (getopt_internal, _getopt_internal_r) - (_getopt_long_r, _getopt_long_only_r): - Change 'argv' argument to type 'char **'. - - * stdio-common/fxprintf.c (__fxprintf_nocancel): New function. - (locked_vfxprintf): New helper function. Handle arbitrary - multibyte strings, not just ASCII. - * include/stdio.h: Declare __fxprintf_nocancel. - * posix/getopt.c: When _LIBC is defined, define fprintf to - __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile - to _IO_funlockfile. When neither _LIBC nor - _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and - funlockfile as no-ops. - (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks; - the standalone error-printing code can now be used for libc as - well. Add an flockfile/funlockfile pair around one case where - the error message is printed in several chunks. Don't use fputc. - * posix/tst-getopt-cancel.c: New test. - * posix/Makefile: Run it. - - * posix/getopt.c (_getopt_internal_r): Don't increment - d->optind a second time when reporting ambiguous -W options. - - * posix/getopt_int.h: Include getopt.h. - Use impl-namespace names for all arguments to _getopt_internal and - _getopt_internal_r. - Declare __ordering enum outside the struct. - Harmonize comments with gnulib. - * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove - ELIDE_CODE logic entirely. Move inclusion of stdlib.h to - #ifdef TEST block and make unconditional. Do not define NULL. - * posix/getopt.c: Partial merge from gnulib, covering the - initial includes and global declarations, commentary, and - a couple of semantically-neutral code changes. - - * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h: - Use '...' instead of `...' for quotation marks inside - comments and strings. - - * config.h.in (USE_NONOPTION_FLAGS): Remove. - * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks. - * sysdeps/mach/hurd/i386/init-first.c: Likewise. - * posix/getopt_int.h: Likewise. - * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the - __libc_argc and __libc_argv externs, which were only used by - #ifdef USE_NONOPTION_FLAGS blocks. - * posix/getopt_init.c: Remove file. - * posix/Makefile (routines): Remove getopt_init. - * include/getopt.h: Don't declare __getopt_initialize_environment. - * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in - a comment. - -2017-04-07 Florian Weimer - - * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support. - -2017-04-05 Adhemerval Zanella - - * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule. - * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias - to __wrap_.udiv. - * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise. - * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise. - - * sysdeps/i386/symbol-hacks.h: New file. - * sysdeps/m68k/symbol-hacks.h: New file. - * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file. - * sysdeps/s390/s390-32/symbol-hacks.h: New file. - * sysdeps/unix/sysv/linux/i386/Makefile - [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object. - [$(subdir) = csu] (sysdep-only-routines): Likewise. - [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise. - * sysdeps/unix/sysv/linux/m68k/Makefile - [$(subdir) = csu] (sysdep_routines): Likewise. - [$(subdir) = csu] (sysdep-only-routines): Likewise. - [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile - [$(subdir) = csu] (sysdep_routines): Likewise. - [$(subdir) = csu] (sysdep-only-routines): Likewise. - [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/Makefile - [$(subdir) = csu] (sysdep_routines): Likewise. - [$(subdir) = csu] (sysdep-only-routines): Likewise. - [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise. - * sysdeps/wordsize-32/Makefile: Remove file. - * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ... - * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here. - -2017-04-05 H.J. Lu - - * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed. - (TEST_FUNCTION_ARGV): New. - -2017-04-05 Wainer dos Santos Moschetta - - * elf/next.c: Import support/test-driver.c instead of - test-skeleton.c and delete TEST_FUNCTION macro definition. - * elf/nodelete.c: Likewise. - * elf/order2.c: Likewise. - * elf/tst-_dl_addr_inside_object.c: Likewise. - * elf/tst-addr1.c: Likewise. - * elf/tst-align.c: Likewise. - * elf/tst-align2.c: Likewise. - * elf/tst-audit11.c: Likewise. - * elf/tst-audit12.c: Likewise. - * elf/tst-audit2.c: Likewise. - * elf/tst-audit9.c: Likewise. - * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro. - * elf/tst-deep1.c: Likewise. - * elf/tst-dl-iter-static.c: Likewise. - * elf/tst-dlmodcount.c: Likewise. - * elf/tst-dlmopen1.c: Likewise. - * elf/tst-dlmopen2.c: Likewise. - * elf/tst-dlmopen3.c: Likewise. - * elf/tst-dlopen-aout.c: Likewise. - * elf/tst-dlopenrpath.c: Likewise. - * elf/tst-dlsym-error.c: Likewise. - * elf/tst-execstack-needed.c: Likewise. - * elf/tst-execstack-prog.c: Likewise. - * elf/tst-execstack.c: Likewise. - * elf/tst-global1.c: Likewise. - * elf/tst-gnu2-tls1.c: Likewise. - * elf/tst-latepthread.c: Likewise. - * elf/tst-leaks1.c: Likewise. - * elf/tst-linkall-static.c: Likewise. - (do_test): New function. - * elf/tst-nodelete-opened.c: Likewise. - * elf/tst-nodelete.cc: Likewise. - * elf/tst-nodelete2.c: Likewise. - * elf/tst-noload.c: Likewise. - * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro. - * elf/tst-order-main.c: Likewise. - * elf/tst-pathopt.c: Likewise. - * elf/tst-pie2.c: Likewise. - * elf/tst-piemod1.c: Likewise. - * elf/tst-prelink.c: Likewise. - * elf/tst-protected1a.c: Likewise. - * elf/tst-protected1b.c: Likewise. - * elf/tst-ptrguard1.c: Likewise, import getopt.h, - and define _GNU_SOURCE macro. - (cmdline_process_function): New function. - * elf/tst-relsort1.c: Likewise. - * elf/tst-stackguard1.c: Likewise, import getopt.h, - and define _GNU_SOURCE macro. - (cmdline_process_function): New function. - * elf/tst-thrlock.c: Likewise. - * elf/tst-tls-dlinfo.c: Likewise. - * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h. - * elf/tst-tls1.c: Likewise. - * elf/tst-tls10.c: Likewise. - * elf/tst-tls11.c: Likewise. - * elf/tst-tls12.c: Likewise. - * elf/tst-tls13.c: Likewise. - * elf/tst-tls14.c: Likewise. - * elf/tst-tls15.c: Likewise. - * elf/tst-tls16.c: Likewise. - * elf/tst-tls17.c: Likewise. - * elf/tst-tls18.c: Likewise. - * elf/tst-tls19.c: Likewise. - * elf/tst-tls2.c: Likewise. - * elf/tst-tls3.c: Likewise. - * elf/tst-tls4.c: Likewise. - * elf/tst-tls5.c: Likewise. - * elf/tst-tls6.c: Likewise. - * elf/tst-tls7.c: Likewise. - * elf/tst-tls8.c: Likewise. - * elf/tst-tls9.c: Likewise. - * elf/tst-tlsalign-extern.c: Likewise. - * elf/tst-tlsalign.c: Likewise. - * elf/tst-unique1.c: Likewise. - * elf/tst-unique2.c: Likewise. - * elf/vismain.c: Likewise. - -2017-04-05 Wainer dos Santos Moschetta - - * string/test-strnlen.c (do_page_tests): New function - to check length of strings ending at the page boundary. - (test_main): Added call to the do_page_tests function. - -2017-04-05 Wainer dos Santos Moschetta - Paul E. Murphy - - * sysdeps/powerpc/powerpc64/multiarch/Makefile - (sysdep_routines): Add strnlen-power8. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c - (strnlen): Add __strnlen_power8 to list of strnlen functions. - * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/strnlen.c - (__strnlen): Add __strnlen_power8 to ifunc list. - * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file. - -2017-04-04 Wainer dos Santos Moschetta - - * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove - the TEST_FUNCTION macro definition. - * wcsmbs/tst-mbrtowc2.c: Likewise. - * wcsmbs/tst-mbsrtowcs.c: Likewise. - * wcsmbs/tst-wchar-h.c: Likewise. - * wcsmbs/tst-wcpncpy.c: Likewise. - * wcsmbs/tst-wcrtomb.c: Likewise. - * wcsmbs/tst-wcsnlen.c: Likewise. - * wcsmbs/tst-wcstof.c: Likewise. - -2017-04-04 Adhemerval Zanella - - * nptl/pthread_create.c (START_THREAD_DEFN): Remove - CALL_THREAD_FCT macro usage. - * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition. - * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise. - * sysdeps/x86_64/32/nptl/tls.h: Remove file. - - * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro. - * sysdeps/unix/sysv/linux/arm/kernel-features.h - (__ASSUME_REQUEUE_PI): Likewise. - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_REQUEUE_PI): Likewise. - * sysdeps/unix/sysv/linux/m68k/kernel-features.h - (__ASSUME_REQUEUE_PI): Likewise. - * sysdeps/unix/sysv/linux/mips/kernel-features.h - (__ASSUME_REQUEUE_PI): Likewise. - * sysdeps/unix/sysv/linux/sparc/kernel-features.h - (__ASSUME_REQUEUE_PI): Likewise. - -2017-04-04 Florian Weimer - - * resolv/tst-resolv-canonname.c: New file. - * resolv/Makefile (tests): Add tst-resolv-canonname. - (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread. - -2017-04-04 Florian Weimer - - * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack): - Declare. - * resolv/nss_dns/dns-network.c: Include . - (NS_MAXCDNAME): Remove definition. - (__ns_name_ntop, __ns_name_unpack): Remove declaration. - * resolv/nss_dns/dns-host.c: Include . - (NS_MAXCDNAME): Remove definition. - (__ns_name_ntop, __ns_name_unpack): Remove declaration. - -2017-04-04 Florian Weimer - - * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand - call whose result is not used. - -2017-04-04 Florian Weimer - - * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file. - * resolv/Makefile (tests): Add tst-ns_name. - (tst-ns_name): Link with -lresolv. - (tst-ns_name.out): Depend on the input data file. - -2017-04-04 Stefan Liebler - - * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD): - Clobber also r14. - -2017-04-03 Mike Frysinger - - [BZ #21253] - * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size - slack space by 32KiB. - -2017-04-01 Wladimir van der Laan - - [BZ #21338] - * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX - instead of incorrect do_set_arena_test - -2017-03-31 Gabriel F. T. Gomes - - * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE. - * math/bits/math-finite.h: Likewise. - -2017-03-31 Slava Barinov - - [BZ #21289] - * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH. - -2017-03-30 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle - non expected inotify_add_watch and quotactl return. - -2017-03-30 Gabriel F. T. Gomes - - * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type - to int32_t. - * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l - as returning int32_t. - -2017-03-30 Gabriel F. T. Gomes - - * math/math.h: Include bits/math-finite.h once per - floating-point type. - * math/bits/math-finite.h: Macroize all declarations by - floating-point type. - -2017-03-29 Adhemerval Zanella - - [BZ #21182] - * string/test-memchr.c (do_test): Add BZ#21182 checks for address - near end of a page. - * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix - overflow calculation. - -2017-03-28 Steve Ellcey - - * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy. - (IMPL) Call with 1 instead of 0 as argument. - -2017-03-28 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file. - * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise. - * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise. - * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise. - * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise. - * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise. - * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise. - * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise. - * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise. - * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise. - * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise. - * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise. - * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise. - * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise. - * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise. - * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise. - * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise. - * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise. - * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise. - * sysdeps/unix/sysv/linux/setegid.c (setegid): Use - INLINE_SYSCALL_ERROR_RETURN_VALUE. - * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise. - * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if - defined. - * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use - __NR_setgroups32 if defined. - * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32 - if defined. - * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use - __NR_setresgid32 is defined. - * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use - __NR_setresuid32 if defined. - * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use - __NR_setreuid32 if defined. - * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if - defined. - * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file. - * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise. - * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise. - * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise. - * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise. - * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise. - * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise. - * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise. - * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise. - * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise. - * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise. - * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise. - * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise. - * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise. - * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise. - * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise. - * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise. - * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise. - * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise. - * sysdeps/unix/sysv/linux/setegid.c (setegid): Use - INLINE_SYSCALL_ERROR_RETURN_VALUE. - * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise. - * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if - defined. - * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use - __NR_setgroups32 if defined. - * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32 - if defined. - * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use - __NR_setresgid32 is defined. - * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use - __NR_setresuid32 if defined. - * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use - __NR_setreuid32 if defined. - * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if - defined. - -2017-03-27 Joseph Myers - - [BZ #21277] - * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define - unconditionally. - (IMAXBEL): Likewise. - (IUTF8): Likewise. - -2017-03-27 Szabolcs Nagy - - * sysdeps/aarch64/libm-test-ulps: Update. - -2017-03-24 Sunyeop Lee - - * README.tunables: Updated descriptions. - * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE. - * scripts/gen-tunables.awk: Updated the code related to the - commit. - -2017-03-23 Wilco Dijkstra - - * benchtests/Makefile (string-benchset): Add memcpy-random. - * benchtests/bench-memcpy-random.c: New file. - -2017-03-23 Tulio Magno Quites Machado Filho - - * stdio-common/printf.h (register_printf_modifier): Change the - order of __wur and __THROW. - (register_printf_type): Likewise. - -2017-03-23 Wainer dos Santos Moschetta - - * string/test-string.h (TEST_FUNCTION): Use test_main instead of - test_main (). - (CMDLINE_PROCESS): Use function instead of defined macro. - * debug/test-strcpy_chk.c: Import support/test-driver.c and also - to use set_fortify_handler(). - * string/bug-envz1.c: Import support/test-driver.c instead of - test-skeleton.c. - * string/bug-strcoll2.c: Likewise. - * string/bug-strtok1.c: Likewise. - * string/stratcliff.c: Likewise. - * string/test-ffs.c: Likewise. - * string/test-memccpy.c: Likewise. - * string/test-memchr.c: Likewise. - * string/test-memcmp.c: Likewise. - * string/test-memcpy.c: Likewise. - * string/test-memmem.c: Likewise. - * string/test-memmove.c: Likewise. - * string/test-memrchr.c: Likewise. - * string/test-memset.c: Likewise. - * string/test-rawmemchr.c: Likewise. - * string/test-strcasecmp.c: Likewise. - * string/test-strcasestr.c: Likewise. - * string/test-strcat.c: Likewise. - * string/test-strchr.c: Likewise. - * string/test-strcmp.c: Likewise. - * string/test-strcpy.c: Likewise. - * string/test-string.h: Likewise. - * string/test-strlen.c: Likewise. - * string/test-strncasecmp.c: Likewise. - * string/test-strncat.c: Likewise. - * string/test-strncmp.c: Likewise. - * string/test-strncpy.c: Likewise. - * string/test-strnlen.c: Likewise. - * string/test-strpbrk.c: Likewise. - * string/test-strrchr.c: Likewise. - * string/test-strspn.c: Likewise. - * string/test-strstr.c: Likewise. - * string/tst-bswap.c: Likewise. - * string/tst-cmp.c: Likewise. - * string/tst-endian.c: Likewise. - * string/tst-inlcall.c: Likewise. - * string/tst-strcoll-overflow.c: Likewise. - * string/tst-strfry.c: Likewise. - * string/tst-strlen.c: Likewise. - * string/tst-strtok.c: Likewise. - * string/tst-strtok_r.c: Likewise. - * string/tst-strxfrm.c: Likewise. - * string/tst-strxfrm2.c: Likewise. - * string/tst-svc.c: Likewise. - * string/tst-svc2.c: Likewise. - -2017-03-22 Zack Weinberg - - * stdio-common/bug25.c: Include stdlib.h. - * support/tst-support_format_dns_packet.c: Include stdio.h, - stdlib.h, and string.h. - * support/tst-support_record_failure.c: Include string.h. - * support/tst-support_record_failure-2.sh: Adjust line number - expectations and correct a typo in an error message. - -2017-03-21 H.J. Lu - - [BZ #21258] - * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt): - Define only if _dl_runtime_resolve is defined to - _dl_runtime_resolve_sse_vex. - * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt): - Fallthrough to _dl_runtime_resolve_sse_vex. - -2017-03-21 Joseph Myers - - * INSTALL: Regenerated. - -2017-03-21 Thorsten Kukuk - - * config.h.in: Add LINK_OBSOLETE_NSL. - * config.make.in: Add build-obsolete-nsl. - * configure.ac: Add obsolete-nsl option. - * include/libc-symbols.h: Define libnsl_hidden_nolink_def. - * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto. - * include/rpcsvc/nislib.h: Likewise. - * include/rpcsvc/ypclnt.h: Likewise. - * manual/install.texi: Document --enable-obsolete-nsl. - * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl). - * nis/nis_add.c: Replace libnsl_hidden_def with - libnsl_hidden_nolink_def. - * nis/nis_addmember.c: Likewise. - * nis/nis_call.c: Likewise. - * nis/nis_clone_obj.c: Likewise. - * nis/nis_defaults.c: Likeise. - * nis/nis_domain_of_r.c: Likewise. - * nis/nis_error.c: Likewise. - * nis/nis_file.c: Likewise. - * nis/nis_free.c: Likewise. - * nis_local_names.c: Likewise. - * nis/nis_lookup.c: Likewise. - * nis/nis_modify.c: Likewise. - * nis/nis_print.c: Likewise. - * nis/nis_remove.c: Likewise. - * nis/nis_table.c: Likewise. - * nis/nis_util.c: Likewise. - * nis/nis_xdr.c: Likewise. - * nis/yp_xdr.c: Likewise. - * nis/ypclnt.c: Likewise. - * nis/ypupdate_xdr.c: Likewise. - * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions. - * nis/nis_clone_dir.c: Likewise. - * nis/nis_clone_res.c: Likewise. - * nis/nis_creategroup.c: Likewise. - * nis/nis_destroygroup.c: Likewise. - * nis/nis_domain_of.c: Likewise. - * nis/nis_getservlist.c: Likewise. - * nis/nis_ismember.c: Likewise. - * nis/nis_mkdir.c: Likewise. - * nis/nis_ping.c: Likewise. - * nis/nis_print_group_entry.c: Likewise. - * nis/nis_removemember.c: Likewise. - * nis/nis_rmdir.c: Likewise. - * nis/nis_server.c: Likewise. - * nis/nis_subr.c: Likewise. - * nis/nis_verifygroup.c: Likewise. - -2017-03-21 Stefan Liebler - - * malloc/tst-interpose-aux.c (check_for_allocations): - Move compiler barrier before free. - -2017-03-20 Joseph Myers - - [BZ #21279] - * sysdeps/unix/sysv/linux/x86_64/x32/Makefile - [$(subdir) = conform] (conformtest-xfail-conds): Update comment. - * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for - x86_64-x32-linux. - (mq_attr.mq_maxmsg): Likewise. - (mq_attr.mq_msgsize): Likewise. - (mq_attr.mq_curmsgs): Likewise. - - [BZ #21278] - * sysdeps/unix/sysv/linux/mips/mips32/Makefile - [$(subdir) = conform] (conformtest-xfail-conds): Update comment. - * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for - mips-o32-linux. - - [BZ #21268] - * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only - if [__USE_MISC] - (NL3): Likewise. - -2017-03-20 Mike Frysinger - - [BZ #21275] - * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename - __stack to __stackbase. - (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of - checks so we can include defined(__ia64__) first. - -2017-03-19 Christian Brauner - - * sysdeps/unix/sysv/linux/ttyname.h: New file. - * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h". - (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional. - Call is_pty when the link does not exist or does not match, fail - with ENODEV when it returns true. - * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h". - (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional. - Call is_pty when the link does not exist or does not match, fail - with ENODEV when it returns true. - -2017-03-18 Joseph Myers - - [BZ #16437] - * sysdeps/unix/sysv/linux/x86_64/x32/Makefile - [$(subdir) = conform] (conformtest-xfail-conds): New variable. - * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for - x86_64-x32-linux. - * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise. - * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise. - * conform/data/time.h-data (timespec.tv_nsec): Likewise. - - [BZ #21261] - * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h - [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved - names for all fields. - * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update - for jmp_buf field renaming. - (_JMPBUF_UNWINDS_ADJ): Likewise. - - * conform/conformtest.pl: Handle xfail[cond]- in header mentioned - with allow-header. - -2017-03-17 Chris Evans - - * malloc/malloc.c (unlink): Add consistency check between size and - next->prev->size, to further harden against 1-byte overflows. - -2017-03-17 H.J. Lu - - * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with - CPU_FEATURES_CPU_P. - -2017-03-17 Joseph Myers - - [BZ #21259] - * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define - unconditionally, not just for [__USE_MISC]. - - [BZ #17786] - * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file. - * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for - mips-o32-linux. - - [BZ #21260] - * sysdeps/unix/sysv/linux/alpha/Makefile - [$(subdir) = conform] (conformtest-xfail-conds): New variable. - * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux. - - * conform/conformtest.pl ($cross): New variable. - (--cross): New command-line option. - (runtest): Skip test execution when cross-compiling. - * conform/Makefile (conformtest-cross): New variable. - ($(conformtest-header-tests)): Pass $(conformtest-cross) to - conformtest.pl. - - * conform/conformtest.pl ($xfail_str): New variable. - (--xfail=): New command-line option. - (top level): Handle expectations starting xfail[cond]-. - * conform/Makefile (conformtest-xfail): New variable. - ($(conformtest-header-tests)): Pass $(conformtest-xfail) to - conformtest.pl. - -2017-03-16 Joseph Myers - - * conform/conformtest.pl: Use compilation instead of execution - tests for testing values of constants and usability in #if. - -2017-03-16 Tulio Magno Quites Machado Filho - - * math/auto-libm-test-in: Mark some catan and catanh as - xfail-rounding:ibm128-libgcc. - * math/auto-libm-test-out-catan: Regenerate. - * math/auto-libm-test-out-catanh: Likewise. - -2017-03-16 Joseph Myers - - * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro. - (__END_NAMESPACE_STD): Likewise. - (__USING_NAMESPACE_STD): Likewise. - (__BEGIN_NAMESPACE_C99): Likewise. - (__END_NAMESPACE_C99): Likewise. - (__USING_NAMESPACE_C99): Likewise. - * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and - undefine macro. - (_Mdouble_END_NAMESPACE): Likewise. - * ctype/ctype.h: Do not handle C++ namespaces. - * libio/bits/stdio-ldbl.h: Likewise. - * libio/stdio.h: Likewise. - * locale/locale.h: Likewise. - * math/bits/mathcalls.h: Likewise. - * setjmp/setjmp.h: Likewise. - * signal/signal.h: Likewise. - * stdlib/bits/stdlib-float.h: Likewise. - * stdlib/bits/stdlib-ldbl.h: Likewise. - * stdlib/stdlib.h: Likewise. - * string/string.h: Likewise. - * sysdeps/x86/fpu/bits/mathinline.h: Likewise. - * time/bits/types/clock_t.h: Likewise. - * time/bits/types/struct_tm.h: Likewise. - * time/bits/types/time_t.h: Likewise. - * time/time.h: Likewise. - * wcsmbs/bits/wchar-ldbl.h: Likewise. - * wcsmbs/uchar.h: Likewise. - * wcsmbs/wchar.h: Likewise. - [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition. - * wctype/wctype.h: Do not handle C++ namespaces. - * scripts/begin-end-check.pl: Remove. - * Makefile (installed-headers): Likewise. - (tests-special): Do not add $(objpfx)begin-end-check.out. - ($(objpfx)begin-end-check.out): Remove. - -2017-03-15 Steve Ellcey - Adhemerval Zanella - - * sysdeps/aarch64/dl-machine.h: Include cpu-features.c. - (DL_PLATFORM_INIT): New define. - (dl_platform_init): New function. - * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h. - * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file. - * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise. - * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise. - * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise. - -2017-03-15 Mike Frysinger - - * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED - instead of PIC. - -2017-03-15 Joseph Myers - - [BZ #21094] - * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use - 24+24+24-bit pi for wider range of values around pi/2. - * math/auto-libm-test-in: Add more tests of cos and tan. - * math/auto-libm-test-out-cos: Regenerated. - * math/auto-libm-test-out-tan: Likewise. - -2017-03-15 John David Anglin - - * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define. - (RTLD_START): Don't record stack end address in _dl_start_user. - -2017-03-15 Alexey Neyman - - [BZ #21088] - * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check - around definitions match those around use. - -2017-03-15 Alexey Neyman - - * configure.ac: Avoid empty subexpression in grep. - * configure: Regenerate. - -2017-03-13 Adhemerval Zanella - - * posix/test-errno.c (do_test): Initialize setsockopt optlen. - * sysdeps/unix/sysv/linux/test-errno.c: Move to ... - * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here. - (test_wrp_rv): Fix format. - (test_wrp_rv2): New macro. - (do_test): Handle mlock return on 64 bits kernels with 32 bits - binaries. - -2017-03-15 Joseph Myers - - * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP): - Use a union when storing pointers. - (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and - cast result when passing to INIT_VEC_PTRS_LOOP. - (VECTOR_WRAPPER_fFF_3): Likewise. - (VECTOR_WRAPPER_fFF_4): Likewise. - -2017-03-14 Gabriel F. T. Gomes - - * include/bits/mathcalls-helper-functions.h: New file. - * math/Makefile (headers): Add bits/mathcalls-helper-functions.h. - * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig) - (__isinf, __isnan, __issignaling, __signbit): Move declarations to - math/bits/mathcalls-helper-functions.h. - * math/bits/mathcalls-helper-functions.h: New file. - * math/math.h: Include bits/mathcalls-helper-functions.h for - float, double, and long double. - -2017-03-15 Gabriel F. T. Gomes - - * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept - instead of feraiseexcept. - -2017-03-15 Florian Weimer - - [BZ #21243] - * support/temp_file.c (support_delete_temp_files): Add comment - about ignored errors. - -2017-03-15 Florian Weimer - - [BZ #21244] - * support/xclose.c: New file. - * support/Makefile (libsupport-routines): Add xclose. - * support/xunistd.h (xclose): Declare. - * support/resolv_test.c (server_thread_tcp_client) - (server_thread_tcp, make_server_sockets, resolv_test_start) - (resolv_test_end): Call xclose instead of close. - * support/support_enter_network_namespace.c - (support_enter_network_namespace): Likewise. - * support/support_run_diff.c (write_to_temp_file): Likewise. - -2017-03-15 Florian Weimer - - * support/support_format_dns_packet.c (support_format_dns_packet): - Handle CNAME records in the response. Extract RDATA names from - rdata, not the whole packet. Check AAAA record length. - * support/tst-support_format_dns_packet.c: New file. - * support/Makefile (tests): Add tst-support_format_dns_packet. - (tst-support_format_dns_packet): Link against libresolv. - -2017-03-14 Adhemerval Zanella - - [BZ #21232] - * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add - posix_fadvise64 weak_alias for static build. - -2017-03-14 Andreas Schwab - - * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove. - * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove. - (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly. - * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove. - * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove. - (_dl_string_platform): Use GLRO(dl_mips_platforms) directly. - * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove. - * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove. - -2017-03-13 Samuel Thibault - - * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into - posix error code. - * sysdeps/mach/hurd/recv.c (__recv): Likewise. - -2017-03-13 Adhemerval Zanella - - * scripts/build-many-glibcs.py (Context.add_all_configs): Remove - no_isolate usage for SH. - -2017-03-13 Wilco Dijkstra - - [BZ #15105] - [BZ #19463] - * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup. - * inet/rcmd.c (rcmd_af): Likewise. - * inet/rexec.c (rexec_af): Likewise. - * intl/dcigettext.c (_LIBC): Likewise. - * intl/finddomain.c (_nl_find_domain): Use strdup expansion. - * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup. - * locale/setlocale.c (setlocale): Likewise. - * posix/spawn_faction_addopen.c - (posix_spawn_file_actions_addopen): Likewise. - * stdlib/putenv.c (putenv): Use __strndup. - * sunrpc/svc_simple.c (__registerrpc): Use __strdup. - * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup. - * include/stdlib.h (__need_malloc_and_calloc): Remove uses. - (__Need_M_And_C) Remove define/undef. - * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses. - (__malloc_and_calloc_defined): Remove define. - * string/bits/string2.h (__strdup): Remove define. - (strdup): Likewise. - (__strndup): Likewise. - (strndup): Likewise. - -2017-03-13 Joseph Myers - - * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New - macro. - (IPV6_ADDR_PREFERENCES): Likewise. - (IPV6_MINHOPCOUNT): Likewise. - (IPV6_ORIGDSTADDR): Likewise. - (IPV6_RECVORIGDSTADDR): Likewise. - (IPV6_TRANSPARENT): Likewise. - (IPV6_UNICAST_IF): Likewise. - (IPV6_RECVFRAGSIZE): Likewise. - -2017-03-13 Thorsten Kukuk - - * sunrpc/Makefile: only run rpcgen tests if we build rpcgen. - -2017-03-12 Alexey Neyman - - * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition - in R_SH_DIR32 case is always false when inlined from - dl-conflict.c. Ifdef out to prevent GCC from insertin an - -2016-03-12 Marko Myllynen - - * sysdeps/unix/sysv/linux/alpha/kernel-features.h - (__ASSUME_RECV_SYSCALL): Replace duplicate by - __ASSUME_SEND_SYSCALL. - -2017-03-11 Thorsten Kukuk - - * sunrpc/Makefile: don't build and install rpcsvc header - files, rpcgen and librpcsvc.a by default. - -2017-03-10 Stefan Liebler - - * math/auto-libm-test-out-catan: Regenerated. - * math/auto-libm-test-out-catanh: Likewise. - * sysdeps/s390/fpu/libm-test-ulps: Likewise. - -2017-03-09 Joseph Myers - - * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps - for long double with corrected test expectations. - -2016-03-08 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL): - Define. - * sysdeps/unix/sysv/linux/aarch64/sysdep.h - (HAVE_INTERNAL_SEND_SYMBOL): Undefine. - * sysdeps/unix/sysv/linux/nios2/sysdep.h - (HAVE_INTERNAL_SEND_SYMBOL): Likewise. - * sysdeps/unix/sysv/linux/tile/sysdep.h - (HAVE_INTERNAL_SEND_SYMBOL): Likewise. - * sysdeps/unix/sysv/linux/alpha/kernel-features.h - (__ASSUME_RECV_SYSCALL): Define. - * sysdeps/unix/sysv/linux/arm/kernel-features.h - (__ASSUME_RECV_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/hppa/kernel-features.h - (__ASSUME_RECV_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/ia64/kernel-features.h - (__ASSUME_RECV_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/mips/kernel-features.h - (__ASSUME_RECV_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/i386/kernel-features.h - (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define. - * sysdeps/unix/sysv/linux/m68k/kernel-features.h - (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/s390/kernel-features.h - (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from - auto-generation list. - * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike. - * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/send.c: Simplify includes. - (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by - __ASSUME_SENDTO_SYSCALL. - * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file. - * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise. - * sysdeps/unix/sysv/linux/generic/send.c: Likewise. - - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from - auto-generation list. - * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_SENDTO_SYSCALL): Define by default. - * sysdeps/unix/sysv/linux/i386/kernel-features.h - (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support - __NR_sendto. - * sysdeps/unix/sysv/linux/m68k/kernel-features.h - (__ASSUME_SENDTO_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/s390/kernel-features.h - (__ASSUME_SENDTO_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/microblaze/kernel-features.h - (__ASSUME_SENDTO_SYSCALL): Remove definition. - * sysdeps/unix/sysv/linux/powerpc/kernel-features.h - (__ASSUME_SENDTO_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/sh/kernel-features.h: - (__ASSUME_SENDTO_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/sendto.c: Simplify includes. - - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from - auto-generation list. - * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/alpha/kernel-features.h - (__ASSUME_RECV_SYSCALL): New define. - * sysdeps/unix/sysv/linux/arm/kernel-features.h - (__ASSUME_RECV_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/hppa/kernel-features.h - (__ASSUME_RECV_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/ia64/kernel-features.h - (__ASSUME_RECV_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/mips/kernel-features.h - (__ASSUME_RECV_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/i386/kernel-features.h - (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define. - * sysdeps/unix/sysv/linux/m68k/kernel-features.h - (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define. - * sysdeps/unix/sysv/linux/s390/kernel-features.h - (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define. - * sysdeps/unix/sysv/linux/generic/recv.c: Remove file. - * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise. - * sysdeps/unix/sysv/linux/recv.c: Simplify includes. - (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of - __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall. - - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from - auto-generation list. - * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/i386/kernel-features.h - (__ASSUME_RECVFROM_SYSCALL): Define by default. - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support - __NR_recvfrom. - * sysdeps/unix/sysv/linux/m68k/kernel-features.h - (__ASSUME_RECVFROM_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/s390/kernel-features.h - (__ASSUME_RECVFROM_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/microblaze/kernel-features.h - (__ASSUME_RECVFROM_SYSCALL): Remove definition. - * sysdeps/unix/sysv/linux/powerpc/kernel-features.h - (__ASSUME_RECVFROM_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/sh/kernel-features.h - (__ASSUME_RECVFROM_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/sparc/kernel-features.h - (__ASSUME_RECVFROM_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes. - - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from - auto-generation list. - * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/connect.c: Simplify include list. - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_CONNECT_SYSCALL): Define. - * sysdeps/unix/sysv/linux/i386/kernel-features.h - (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it. - * sysdeps/unix/sysv/linux/m68k/kernel-features.h - (__ASSUME_CONNECT_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/s390/kernel-features.h - (__ASSUME_CONNECT_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/sparc/kernel-features.h - (__ASSUME_CONNECT_SYSCALL): Likewise. - - * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace - __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL. - * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from - auto-generation list. - * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/i386/kernel-features.h - (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define. - (__ASSUME_ACCEPT_SYSCALL): Undefine. - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_ACCEPT_SYSCALL): New define. - * sysdeps/unix/sysv/linux/m68k/kernel-features.h - (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define. - (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports. - * sysdeps/unix/sysv/linux/microblaze/kernel-features.h - (__ASSUME_ACCEPT_SYSCALL): Define. - * sysdeps/unix/sysv/linux/powerpc/kernel-features.h - (__ASSUME_ACCEPT_SYSCALL): Undefine. - * sysdeps/unix/sysv/linux/s390/kernel-features.h - (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define. - (__ASSUME_ACCEPT_SYSCALL): Undefine. - * sysdeps/unix/sysv/linux/sh/kernel-features.h - (__ASSUME_ACCEPT_SYSCALL): Undefine. - * sysdeps/unix/sysv/linux/sparc/kernel-features.h - (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits. - -2017-03-08 Yury Norov - Zack Weinberg - - * posix/test-errno.c: New file. - * posix/Makefile (tests): Add test-errno. - * sysdeps/unix/sysv/linux/test-errno.c: New file. - * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno. - -2017-03-08 Stefan Liebler - - * sysdeps/s390/fpu/libm-test-ulps: Regenerated. - -2017-03-07 Florian Weimer - - * time/tzset.c (compute_offset): Open-code min macro. - (min, max, sign): Remove. - -2017-03-07 Florian Weimer - - [BZ #15576] - Remove TZNAME_MAX limit from sysconf. - * include/time.h (__tzname_cur_max, __tzname_max): Remove - declaration. - * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call - compute_tzname_max. - (compute_tzname_max): Remove. - * time/tzset.c (__tzname_cur_max, __tzname_max): Remove. - (update_vars): Do not update __tzname_cur_max. - (tzset_internal): Remove argument. - (__tzset): Adjust call to tzset_internal. - (__tz_convert): Likewise. - - * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX. - * sysdeps/posix/sysconf.c (__sysconf): Likewise. - * manual/conf.texi (Sysconf Definition): Update comment. - -2017-03-07 Siddhesh Poyarekar - - [BZ #21209] - * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for - AT_SECURE processes. - * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK. - * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK. - (test_child): Likewise. - * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK. - -2017-03-07 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file. - -2017-03-06 Stefan Liebler - - * sysdeps/s390/atomic-machine.h - (USE_ATOMIC_COMPILER_BUILTINS): Define to 1. - (__arch_compare_and_exchange_val_8_acq, - __arch_compare_and_exchange_val_16_acq, - __arch_compare_and_exchange_val_32_acq, - __arch_compare_and_exchange_val_64_acq): - Delete macro. - (atomic_compare_and_exchange_val_acq, - atomic_compare_and_exchange_val_rel, - atomic_compare_and_exchange_bool_acq, - catomic_compare_and_exchange_bool_acq, - atomic_exchange_acq, atomic_exchange_rel, - atomic_exchange_and_add_acq, - atomic_exchange_and_add_rel, - catomic_exchange_and_add, atomic_or_val, - atomic_or, catomic_or, atomic_bit_test_set, - atomic_and_val, atomic_and, catomic_and): - Define macros with help of C11 atomic builtins. - -2017-03-03 Justus Winter - - * sysdeps/mach/hurd/ftruncate64.c: New file. - * sysdeps/mach/hurd/truncate64.c: Likewise. - -2017-03-03 Florian Weimer - - * time/tzfile.c (NOID): Do not define. - * time/tzset.c (NOID): Likewise. - -2017-03-03 Florian Weimer - - * time/tzset.c (compute_offset): Remove __attribute_noinline__. - -2017-03-02 Florian Weimer - - * elf/get-dynamic-info.h: Remove header file inclusion guard. - -2017-03-02 Florian Weimer - - [BZ #21015] - * manual/install.texi (Configuring and compiling): Document - --enable-bind-now. - * Makeconfig [bind-now] (LDFLAGS-lib.so): Set. - (build-shlib-helper): Use $(LDFLAGS-lib.so). - (format.lds): Likewise. - [bind-now] (LDFLAGS-c.so): Remove. - * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can - be R_X86_64_GLOB_DAT. - * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr - relocation can be R_386_GLOB_DAT. - * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr - relocaiton can be R_ALPHA_GLOB_DAT. - * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now. - -2017-03-01 Zack Weinberg - - * include/libc-pointer-arith.h: New file. Define - cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and - PTR_ALIGN_DOWN here. - * include/libc-internal.h: Definitions of above macros - moved from here. Don't include libc-diag.h anymore either. - * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h. - Don't include libc-internal.h. - - * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c - * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c - * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c - * string/strcoll_l.c, sysdeps/nacl/brk.c - * sysdeps/unix/clock_settime.c - * sysdeps/unix/sysv/linux/i386/get_clockfreq.c - * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c - * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c - * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: - Don't include libc-internal.h. - - * elf/get-dynamic-info.h, iconv/loop.c - * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h - * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h - * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c - * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c - * sysdeps/ieee754/dbl-64/e_lgamma_r.c - * sysdeps/ieee754/dbl-64/k_rem_pio2.c - * sysdeps/ieee754/flt-32/e_lgammaf_r.c - * sysdeps/ieee754/flt-32/k_rem_pio2f.c - * sysdeps/ieee754/ldbl-128/k_tanl.c - * sysdeps/ieee754/ldbl-128ibm/k_tanl.c - * sysdeps/ieee754/ldbl-96/e_lgammal_r.c - * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h: - Include libc-diag.h instead of libc-internal.h. - - * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c - * nptl/nptl-init.c, string/strcspn.c, string/strspn.c - * malloc/malloc.c, sysdeps/i386/nptl/tls.h - * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h - * sysdeps/unix/sysv/linux/spawni.c - * sysdeps/x86_64/nptl/tls.h: - Include libc-pointer-arith.h instead of libc-internal.h. - - * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h - * sysdeps/x86_64/atomic-machine.h: - Add multiple include guard. - - * nss/tst-cancel-getpwuid_r.c: Include nss.h. - * string/strcasestr.c: No need to include config.h. - * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include - sys/auxv.h. Don't include sysdep.h. - * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h. - - * dlfcn/tst-dladdr.c: Don't include ldsodefs.h. Don't use - DL_LOOKUP_ADDRESS. - * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether - LDBL_MANT_DIG is greater than DBL_MANT_DIG. - * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use - sysconf (_SC_PAGESIZE) instead of __getpagesize in definition - of ARTIFICIAL_LIMIT. - * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern - declaration of __clone2. - -2017-02-28 Florian Weimer - - * scripts/backport-support.sh (latest_commit): New file. - -2017-02-28 Florian Weimer - - [BZ #20257] - * inet/Makefile (routines): Add deadline. - (tests-static): Add tst-deadline. - * inet/net-internal.h (struct deadline_current_time) - (__deadline_current_time, struct deadline, __deadline_is_infinite) - (__deadline_elapsed, __deadline_first, __deadline_from_timeval) - (__deadline_to_ms, __is_timeval_valid_timeout): Declare. - * inet/deadline.c: New file. - * inet/tst-deadline.c: Likewise. - * sunrpc/Makefile (tests): Add tst-udp-nonblocking, - tst-udp-timeout, tst-udp-garbage. - (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so - explicitly. - (tst-udp-garbage): Likewise. Also link against thread library. - * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the - struct layout is part of the ABI. - (clntudp_call): Rework timeout handling. - * sunrpc/tst-udp-garbage.c: New file. - * sunrpc/tst-udp-nonblocking.c: Likewise. - * sunrpc/tst-udp-timeout.c: Likewise. - -2017-02-28 Florian Weimer - - [BZ #5010] - * sunrpc/svc.c (svc_is_mapped): Remove. - (svc_unregister): Obtain mapped status while the service is still - registered. - * sunrpc/Makefile [have-thread-library] (tests): Add - tst-svc_register. - (tst-svc_register): Link against libc.so explicitly and the thread - library. - * sunrpc/tst-svc_register.c: New file. - -2017-02-28 Andreas Schwab - - * bits/sigthread.h: Refer to , not . - * sysdeps/pthread/bits/sigthread.h: Likewise. - -2017-02-27 Florian Weimer - - [BZ #21115] - * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later. - * sunrpc/Makefile (tests): Add tst-udp-error. - (tst-udp-error): Link against libc.so explicitly. - * sunrpc/tst-udp-error: New file. - -2017-02-25 Zack Weinberg - - * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and - __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN. - - * sysdeps/generic/math_ldbl.h - * sysdeps/ia64/fpu/math_ldbl.h - * sysdeps/ieee754/ldbl-128/math_ldbl.h - * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h - * sysdeps/ieee754/ldbl-96/math_ldbl.h - * sysdeps/powerpc/fpu/math_ldbl.h - * sysdeps/x86_64/fpu/math_ldbl.h: - Allow direct inclusion. Use uintNN_t instead of u_intNN_t. - Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and - LITTLE_ENDIAN. Include endian.h and/or stdint.h if necessary. - Add copyright notices. - - * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int): - Don't use EXTRACT_WORDS64. - - * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c - * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c - * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c - * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: - Include math_ldbl.h, not math_private.h. - -2017-02-25 Zack Weinberg - - * include/libc-diag.h: New file. Define ignore_value, - DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT, - DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here. - - * include/libc-internal.h: Definitions of above macros moved from - here. Include libc-diag.h. Add copyright notice. - - * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c - * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c - * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c - * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c - * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c - * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c - * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c - * time/tst-strptime2.c, wcsmbs/tst-wcstof.c: - Include libc-diag.h instead of libc-internal.h. - - * stdlib/tst-environ.c: Include libc-diag.h. Suppress -Wnonnull for - call to unsetenv (NULL). - * nptl/tst-mutex1.c: Include libc-diag.h. Suppress -Wnonnull for - call to pthread_mutexattr_destroy (NULL). - -2017-02-25 Zack Weinberg - - * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro. - * libio/stdio.h, libio/bits/stdio2.h: Condition gets on - __GLIBC_USE (DEPRECATED_GETS). Update comments to indicate - gets was removed from C++ in C++14. - * include/stdio.h: Remove redundant declaration of gets. - * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to - be declared, since we are testing it. - * stdio-common/Makefile (tst-gets.c): Compile with - -Wno-deprecated-declarations. - * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc) - (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c) - (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc): - Compile with -Wno-deprecated-declarations. - -2017-02-24 Tulio Magno Quites Machado Filho - - * math/libm-test-support.c (check_ulp): Use LIT() around literal - numbers. - -2017-02-24 Stefan Liebler - - * resolv/tst-resolv-qtypes.c (domain): - Change type to const pointer to const char. - -2017-02-24 Joseph Myers - - * math/Makefile (libm-tests-generated): Remove variable. - (libm-tests-base-normal): New variable. - (libm-tests-base-finite): Likewise. - (libm-tests-base-inline): Likewise. - (libm-tests-base): Likewise. - (libm-tests-normal): Likewise. - (libm-tests-finite): Likewise. - (libm-tests-inline): Likewise. - (libm-tests-vector): Likewise. - (libm-tests): Define in terms of these new variables. - (libm-tests-for-type): New variable. - (libm-tests.o): Move definition. - (tests): Move addition of $(libm-tests). - (generated): Update for new and removed libm test files. - ($(objpfx)libm-test.c): Remove target. - ($(objpfx)libm-have-vector-test.h): Likewise. - (CFLAGS-test-double-vlen2.c): Remove variable. - (CFLAGS-test-double-vlen4.c): Likewise. - (CFLAGS-test-double-vlen8.c): Likewise. - (CFLAGS-test-float-vlen4.c): Likewise. - (CFLAGS-test-float-vlen8.c): Likewise. - (CFLAGS-test-float-vlen16.c): Likewise. - (CFLAGS-test-float.c): Likewise. - (CFLAGS-test-float-finite.c): Likewise. - (CFLAGS-libm-test-support-float.c): Likewise. - (CFLAGS-test-double.c): Likewise. - (CFLAGS-test-double-finite.c): Likewise. - (CFLAGS-libm-test-support-double.c): Likewise. - (CFLAGS-test-ldouble.c): Likewise. - (CFLAGS-test-ldouble-finite.c): Likewise. - (CFLAGS-libm-test-support-ldouble.c): Likewise. - (libm-test-inline-cflags): New variable. - (CFLAGS-test-ifloat.c): Remove variable. - (CFLAGS-test-idouble.c): Likewise. - (CFLAGS-test-ildouble.c): Likewise. - ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update - dependencies. - ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule. - ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise. - ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise. - ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise. - ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)): - Likewise. - (dependencies on libm-test-support-*.o): Remove. - ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New - rules using iterators. - ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))): - Likewise. - ($(objpfx)libm-test-support-$(o).o): Likewise. - ($(addprefix $(objpfx),$(filter-out $(tests-static) - $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector) - instead. - ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to - define rule instead. - * math/README.libm-test: Update. - * math/libm-test-acos.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-acosh.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-asin.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-asinh.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-atan.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-atan2.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-atanh.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-cabs.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-cacos.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-cacosh.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-canonicalize.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-carg.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-casin.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-casinh.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-catan.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-catanh.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-cbrt.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-ccos.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-ccosh.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-ceil.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-cexp.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-cimag.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-clog.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-clog10.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-conj.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-copysign.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-cos.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-cosh.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-cpow.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-cproj.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-creal.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-csin.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-csinh.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-csqrt.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-ctan.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-ctanh.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-erf.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-erfc.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-exp.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-exp10.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-exp2.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-expm1.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-fabs.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-fdim.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-floor.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-fma.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-fmax.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-fmaxmag.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-fmin.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-fminmag.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-fmod.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-fpclassify.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-frexp.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-fromfp.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-fromfpx.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-getpayload.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-hypot.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-ilogb.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-iscanonical.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-iseqsig.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-isfinite.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-isgreater.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-isinf.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-isless.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-islessequal.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-islessgreater.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-isnan.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-isnormal.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-issignaling.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-issubnormal.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-isunordered.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-iszero.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-j0.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-j1.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-jn.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-lgamma.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-llogb.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-llrint.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-llround.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-log.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-log10.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-log1p.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-log2.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-logb.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-lrint.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-lround.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-modf.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-nearbyint.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-nextafter.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-nextdown.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-nexttoward.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-nextup.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-pow.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-remainder.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-remquo.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-rint.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-round.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-roundeven.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-scalb.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-scalbln.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-scalbn.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-setpayload.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-signbit.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-significand.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-sin.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-sincos.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-sinh.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-sqrt.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-tan.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-tanh.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-tgamma.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-totalorder.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-totalordermag.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-trunc.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-ufromfp.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-ufromfpx.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-y0.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-y1.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-yn.inc: Include libm-test-driver.c. - (do_test): New function. - * math/libm-test-driver.c: Do not include libm-have-vector-test.h. - (HAVE_VECTOR): Remove macro. - (START): Do not call HAVE_VECTOR. - * math/test-double-vlen2.h (FUNC_TEST): Remove macro. - * math/test-double-vlen4.h (FUNC_TEST): Remove macro. - * math/test-double-vlen8.h (FUNC_TEST): Remove macro. - * math/test-float-vlen16.h (FUNC_TEST): Remove macro. - * math/test-float-vlen4.h (FUNC_TEST): Remove macro. - * math/test-float-vlen8.h (FUNC_TEST): Remove macro. - * math/test-math-vector.h (FUNC_TEST): New macro. - (WRAPPER_DECL): Rename to WRAPPER_DECL_f. - * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable. - (double-vlen4-funcs): Likewise. - (double-vlen4-avx2-funcs): Likewise. - (double-vlen8-funcs): Likewise. - (float-vlen4-funcs): Likewise. - (float-vlen8-funcs): Likewise. - (float-vlen8-avx2-funcs): Likewise. - (float-vlen16-funcs): Likewise. - (CFLAGS-test-double-vlen4-avx2.c): Remove variable. - (CFLAGS-test-float-vlen8-avx2.c): Likewise. - * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove - macro. - (TEST_VECTOR_sin): Likewise. - (TEST_VECTOR_sincos): Likewise. - (TEST_VECTOR_log): Likewise. - (TEST_VECTOR_exp): Likewise. - (TEST_VECTOR_pow): Likewise. - * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos): - Likewise. - (TEST_VECTOR_sin): Likewise. - (TEST_VECTOR_sincos): Likewise. - (TEST_VECTOR_log): Likewise. - (TEST_VECTOR_exp): Likewise. - (TEST_VECTOR_pow): Likewise. - * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf): - Likewise. - (TEST_VECTOR_sinf): Likewise. - (TEST_VECTOR_sincosf): Likewise. - (TEST_VECTOR_logf): Likewise. - (TEST_VECTOR_expf): Likewise. - (TEST_VECTOR_powf): Likewise. - * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf): - Likewise. - (TEST_VECTOR_sinf): Likewise. - (TEST_VECTOR_sincosf): Likewise. - (TEST_VECTOR_logf): Likewise. - (TEST_VECTOR_expf): Likewise. - (TEST_VECTOR_powf): Likewise. - * math/gen-libm-have-vector-test.sh: Remove file. - * math/libm-test.inc: Likewise. - * math/libm-test-support-double.c: Likewise. - * math/libm-test-support-float.c: Likewise. - * math/libm-test-support-ldouble.c: Likewise. - * math/test-double-finite.c: Likewise.: Likewise. - * math/test-double.c: Likewise. - * math/test-float-finite.c: Likewise. - * math/test-float.c: Likewise. - * math/test-idouble.c: Likewise. - * math/test-ifloat.c: Likewise. - * math/test-ildouble.c: Likewise. - * math/test-ldouble-finite.c: Likewise. - * math/test-ldouble.c: Likewise. - * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise. - * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise. - * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise. - * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise. - * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise. - -2017-02-23 Gabriel F. T. Gomes - Paul E. Murphy - - * math/Makefile: Add wrappers to gen-libm-calls. - * math/w_acos_template.c: New file. - * math/w_acosh_template.c: Likewise. - * math/w_asin_template.c: Likewise. - * math/w_atan2_template.c: Likewise. - * math/w_atanh_template.c: Likewise. - * math/w_cosh_template.c: Likewise. - * math/w_exp10_template.c: Likewise. - * math/w_exp2_template.c: Likewise. - * math/w_exp_template.c: Likewise. - * math/w_fmod_template.c: Likewise. - * math/w_hypot_template.c: Likewise. - * math/w_j0_template.c: Likewise. - * math/w_j1_template.c: Likewise. - * math/w_jn_template.c: Likewise. - * math/w_lgamma_r_template.c: Likewise. - * math/w_lgamma_template.c: Likewise. - * math/w_log10_template.c: Likewise. - * math/w_log2_template.c: Likewise. - * math/w_log_template.c: Likewise. - * math/w_pow_template.c: Likewise. - * math/w_remainder_template.c: Likewise. - * math/w_sinh_template.c: Likewise. - * math/w_sqrt_template.c: Likewise. - * math/w_tgamma_template.c: Likewise.: Likewise. - * sysdeps/generic/math-type-macros-double.h - (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of - the new wrappers. - * sysdeps/generic/math-type-macros-float.h: Likewise. - * sysdeps/generic/math-type-macros-ldouble.h: Likewise. - -2017-02-22 Joseph Myers - - * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET): - New enum constant and macro. - - * scripts/build-many-glibcs.py (Context.checkout): Default Linux - kernel version to 4.10. - -2017-02-21 Joseph Myers - - * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro. - -2017-02-21 Tulio Magno Quites Machado Filho - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - -2017-02-21 Wainer dos Santos Moschetta - - * sysdeps/powerpc/tst-set_ppr.c: New file. - Implement test cases for __ppc_set_ppr_* functions. - * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr - in the list of tests. - -2017-02-21 Wainer dos Santos Moschetta - - * sysdeps/powerpc/test-get_hwcap.c: Use - instead of test-skeleton.c. - (do_test): Replaced pthread_create and pthread_join with - xpthread_create and xpthread_join. Use TEST_VERIFY_EXIT macro. - Removed unneeded status variable. - * sysdeps/powerpc/test-gettimebase.c: Use - instead of test-skeleton.c. - * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise. - -2017-02-20 Mike FABIAN - - [BZ #20313] - * include/stdc-predef.h (__STDC_ISO_10646__): Update to - 201605L, for Unicode 9. - -2017-02-20 Joseph Myers - - * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro. - (UNDERFLOW_EXCEPTION_FLOAT): Likewise. - (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise. - (UNDERFLOW_EXCEPTION_DOUBLE): Likewise. - (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise. - (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise. - -2017-02-19 Zack Weinberg - - * rt/tst-mqueue4.c: Include stdint.h. - -2017-02-17 Joseph Myers - - * sysdeps/arm/libm-test-ulps: Update. - * sysdeps/mips/mips32/libm-test-ulps: Likewise. - * sysdeps/mips/mips64/libm-test-ulps: Likewise. - * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise. - -2017-01-17 Adhemerval Zanella - - [BZ #21029] - * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define. - * sysdeps/unix/sysv/linux/i386/Makefile - [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall. - (uses-6-syscall-arguments): Remove. - [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise. - [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise. - [$(subdir) = misc] (CFLAGS-mmap.o): Likewise. - [$(subdir) = misc] (CFLAGS-mmap.os): Likewise. - [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise. - [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise. - [$(subdir) = misc] (CFLAGS-pselect.o): Likewise. - [$(subdir) = misc] (cflags-pselect.o): Likewise. - [$(subdir) = misc] (cflags-pselect.os): Likewise. - [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise. - [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise. - [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise. - [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise. - [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise. - [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise. - [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise. - [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise. - [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise. - [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise. - [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise. - [$(subdir) = io] (CFLAGS-fallocate.o): Likewise. - [$(subdir) = io] (CFLAGS-fallocate.os): Likewise. - [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise. - [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise. - [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o): - Likewise. - [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os): - Likewise. - [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o): - Likewise. - [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os): - Likewise. - [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise. - [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise. - [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise. - [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise. - * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows - ebp on inline assembly. - * sysdeps/unix/sysv/linux/i386/configure: Regenerate. - * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5): - Set if CAN_USE_REGISTER_ASM_EBP is set. - -2017-02-17 H.J. Lu - - * sysdeps/x86/cpu-features.c (init_cpu_features): Use - index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit. - -2017-02-17 Joseph Myers - - * math/auto-libm-test-in: Add tests of catan and catanh. - * math/auto-libm-test-out-catan: New generated file. - * math/auto-libm-test-out-catanh: Likewise. - * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c. - Move tests with finite inputs, except divide-by-zero cases, to - auto-libm-test-in. - * math/libm-test-catanh.inc (catanh_test_data): Likewise. - * math/Makefile (libm-test-funcs-auto): Add catan and catanh. - (libm-test-funcs-noauto): Remove catan and catanh. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - * math/auto-libm-test-in: Add tests of casin and casinh. - * math/auto-libm-test-out-casin: New generated file. - * math/auto-libm-test-out-casinh: Likewise. - * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c. - Move tests with finite inputs to auto-libm-test-in. - * math/libm-test-casinh.inc (casinh_test_data): Likewise. - * math/Makefile (libm-test-funcs-auto): Add casin and casinh. - (libm-test-funcs-noauto): Remove casin and casinh. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - * math/auto-libm-test-in: Add tests of cacos and cacosh. - * math/auto-libm-test-out-cacos: New generated file. - * math/auto-libm-test-out-cacosh: Likewise. - * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c. - Move tests with finite inputs to auto-libm-test-in. - * math/libm-test-cacosh.inc (cacosh_test_data): Likewise. - * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh. - (libm-test-funcs-noauto): Remove cacos and cacosh. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - Revert: - 2017-02-16 Zack Weinberg - - * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h. - Don't include init-arch.h. - * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h. - Don't include init-arch.h. - -2017-02-17 Tulio Magno Quites Machado Filho - - [BZ #21171] - * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return - +Inf and raise divide-by-zero when x is negative. - * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise. - * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise. - * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Return - -Inf and raise divide-by-zero when x = +-0. - * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise. - * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise. - * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise. - * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise. - * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise. - -2017-02-16 Zack Weinberg - - * scripts/build-many-glibcs.py (bot_build_mail): If the - bot_config does not contain all of the necessary email- - related settings, just print a warning and continue. - -2017-02-16 Zack Weinberg - - * crypt/md5.h: Test _LIBC with #if defined, not #if. - * dirent/opendir-tst1.c: Include sys/stat.h. - * dirent/tst-fdopendir.c: Include sys/stat.h. - * dirent/tst-fdopendir2.c: Include stdlib.h. - * dirent/tst-scandir.c: Include stdbool.h. - * elf/tst-auditmod1.c: Include link.h and stddef.h. - * elf/tst-tls15.c: Include stdlib.h. - * elf/tst-tls16.c: Include stdlib.h. - * elf/tst-tls17.c: Include stdlib.h. - * elf/tst-tls18.c: Include stdlib.h. - * iconv/tst-iconv6.c: Include endian.h. - * iconvdata/bug-iconv11.c: Include limits.h. - * io/test-utime.c: Include stdint.h. - * io/tst-faccessat.c: Include sys/stat.h. - * io/tst-fchmodat.c: Include sys/stat.h. - * io/tst-fchownat.c: Include sys/stat.h. - * io/tst-fstatat.c: Include sys/stat.h. - * io/tst-futimesat.c: Include sys/stat.h. - * io/tst-linkat.c: Include sys/stat.h. - * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h. - * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h. - * io/tst-mknodat.c: Include sys/stat.h and stdbool.h. - * io/tst-openat.c: Include stdbool.h. - * io/tst-readlinkat.c: Include sys/stat.h. - * io/tst-renameat.c: Include sys/stat.h. - * io/tst-symlinkat.c: Include sys/stat.h. - * io/tst-unlinkat.c: Include stdbool.h. - * libio/bug-memstream1.c: Include stdlib.h. - * libio/bug-wmemstream1.c: Include stdlib.h. - * libio/tst-fwrite-error.c: Include stdlib.h. - * libio/tst-memstream1.c: Include stdlib.h. - * libio/tst-memstream2.c: Include stdlib.h. - * libio/tst-memstream3.c: Include stdlib.h. - * malloc/tst-interpose-aux.c: Include stdint.h. - * misc/tst-preadvwritev-common.c: Include sys/stat.h. - * nptl/tst-basic7.c: Include limits.h. - * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h. - * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h. - * nptl/tst-cancel4_1.c: Include stddef.h. - * nptl/tst-cancel4_2.c: Include stddef.h. - * nptl/tst-cond16.c: Include limits.h. - Use sysconf(_SC_PAGESIZE) instead of __getpagesize. - * nptl/tst-cond18.c: Include limits.h. - Use sysconf(_SC_PAGESIZE) instead of __getpagesize. - * nptl/tst-cond4.c: Include stdint.h. - * nptl/tst-cond6.c: Include stdint.h. - * nptl/tst-stack2.c: Include limits.h. - * nptl/tst-stackguard1.c: Include stddef.h. - * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h. - * nptl/tst-tls4moda.c: Include stddef.h. - Don't include stdio.h, unistd.h, or tls.h. - * nptl/tst-tls4modb.c: Include stddef.h. - Don't include stdio.h, unistd.h, or tls.h. - * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h. - * posix/tst-getaddrinfo2.c: Include stdio.h. - * posix/tst-getaddrinfo5.c: Include stdio.h. - * posix/tst-pathconf.c: Include sys/stat.h. - * posix/tst-posix_fadvise-common.c: Include stdint.h. - * posix/tst-preadwrite-common.c: Include sys/stat.h. - * posix/tst-regex.c: Include stdint.h. - Don't include spawn.h or spawn_int.h. - * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h. - * posix/tst-vfork3.c: Include sys/stat.h. - * resolv/tst-bug18665-tcp.c: Include stdlib.h. - * resolv/tst-res_hconf_reorder.c: Include stdlib.h. - * resolv/tst-resolv-search.c: Include stdlib.h. - * stdio-common/tst-fmemopen2.c: Include stdint.h. - * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h. - * stdlib/test-canon.c: Include sys/stat.h. - * stdlib/tst-tls-atexit.c: Include stdbool.h. - * string/test-memchr.c: Include stdint.h. - * string/tst-cmp.c: Include stdint.h. - * sysdeps/pthread/tst-timer.c: Include stdint.h. - * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h. - * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h. - * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h. - Don't include init-arch.h. - * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h. - Don't include init-arch.h. - * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h. - * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h. - * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h. - * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h. - * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h. - * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h. - * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h. - * time/clocktest.c: Include stdint.h. - * time/tst-posixtz.c: Include stdint.h. - * timezone/tst-timezone.c: Include stdint.h. - -2017-02-16 Zack Weinberg - - * string/string.h [__USE_MISC]: Include strings.h. - (__bzero, bcmp, bcopy, bzero, index, rindex) - (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l) - (ffs, ffsl, ffsll): Don't declare. - * string/strings.h: Do not suppress the file if string.h has - already been included. - (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull - annotations. - (index, rindex): Define inline forwarders even if - __CORRECT_ISO_CPP_STRING_H_PROTO is defined. - (ffs): Use __attribute_const__. - (ffsl, ffsll): Declare here. - (strcasecmp_l, strncasecmp_l): Correct comments; these functions - have now been standardized. - * include/string.h (__bzero): Declare here. - - * bits/types.h: Move to posix/bits. - * include/bits/types.h: New wrapper. - -2017-02-15 Wilco Dijkstra - - * string/bits/string2.h (strcmp): Remove define. - (__strcmp_cg): Likewise. - (strncmp): Likewise. - -2017-02-15 Wilco Dijkstra - - * include/string.h: Add __cplusplus check. - -2017-02-15 Gabriel F. T. Gomes - - [BZ #21134] - * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the - "divide by zero" exception when the input is zero. - * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise. - * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise. - * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise. - * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise. - * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise. - -2017-02-15 Joseph Myers - - * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to, - and include ... - * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here. New file. - * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents - to, and include ... - * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here. New - file. - * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to, - and include ... - * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here. New file. - * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to, - and include ... - * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here. New file. - * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to, - and include ... - * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here. New file. - * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to, - and include ... - * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here. New file. - * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents - to, and include ... - * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here. New file. - * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to, - and include ... - * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here. New file. - -2017-02-14 Joseph Myers - - * math/libm-test-support.h: Do not include - here. - * math/libm-test-support.c (libm_test_init): Do not call - INIT_ARCH_EXT here. - * math/libm-test-driver.c: Include . - (main): Call INIT_ARCH_EXT. - -2017-02-12 Gabriel F. T. Gomes - - [BZ #21130] - * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN - with the "invalid" exception raised when x is -Inf. - * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise. - -2017-02-10 Wilco Dijkstra - - * string/bits/string2.h (strchr): Remove define. - -2017-02-09 H.J. Lu - - * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and - tst-avx512. - (test-extras): Add tst-avx-aux and tst-avx512-aux. - (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o. - (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod. - ($(objpfx)tst-sse): New rule. - ($(objpfx)tst-avx): Likewise. - ($(objpfx)tst-avx512): Likewise. - (CFLAGS-tst-avx-aux.c): New. - (CFLAGS-tst-avxmod.c): Likewise. - (CFLAGS-tst-avx512-aux.c): Likewise. - (CFLAGS-tst-avx512mod.c): Likewise. - * sysdeps/x86_64/tst-avx-aux.c: New file. - * sysdeps/x86_64/tst-avx.c: Likewise. - * sysdeps/x86_64/tst-avx512-aux.c: Likewise. - * sysdeps/x86_64/tst-avx512.c: Likewise. - * sysdeps/x86_64/tst-avx512mod.c: Likewise. - * sysdeps/x86_64/tst-avxmod.c: Likewise. - * sysdeps/x86_64/tst-sse.c: Likewise. - * sysdeps/x86_64/tst-ssemod.c: Likewise. - -2017-02-09 Joseph Myers - - * math/auto-libm-test-in: Add more tests of csin and csinh. - * math/auto-libm-test-out-csin: Regenerated. - * math/auto-libm-test-out-csinh: Likewise. - * math/libm-test-csin.inc (csin_test_data): Remove tests moved to - auto-libm-test-in. - * math/libm-test-csinh.inc (csinh_test_data): Likewise. - -2017-02-09 Gabriel F. T. Gomes - - * math/Makefile (libm-compat-calls-ldouble-yes): Merge into - libm-compat-calls-auto. - (libm-compat-calls): Likewise. - (libm-compat-calls-auto): Rename to libm-compat-calls and add - w_lgamma_compatF and k_standardF (merged from the items above). - (libm-routines): Use libm-compat-calls, instead of - libm-compat-calls-auto, with type-foreach. - -2017-02-09 Joseph Myers - - * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine - macro. - * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ... - (CFLAGS-test-ifloat.c): ... this. Remove - -U__LIBC_INTERNAL_MATH_INLINES. - * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ... - (CFLAGS-test-idouble.c): ... this. Remove - -U__LIBC_INTERNAL_MATH_INLINES. - * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ... - (CFLAGS-test-ildouble.c): ... this. Remove - -U__LIBC_INTERNAL_MATH_INLINES. - -2017-02-08 Joseph Myers - - * math/libm-test-support.c: New file. Content from - math/libm-test-driver.c. - * math/libm-test-support.h: Likewise. - * math/libm-test-support-double.c: New file. - * math/libm-test-support-float.c: Likewise. - * math/libm-test-support-ldouble.c: Likewise. - * math/libm-test-driver.c: Remove main comment and header - includes. Include libm-test-support.h. - [!_GNU_SOURCE] (_GNU_SOURCE): Do not define. - (flag_test_errno): Remove static. - (flag_test_exceptions): Likewise. - (flag_test_finite): Likewise. - (flag_test_inline): Likewise. - (flag_test_mathvec): Likewise. - (test_msg): Likewise. - (NO_EXCEPTION): Remove. - (INVALID_EXCEPTION): Likewise. - (DIVIDE_BY_ZERO_EXCEPTION): Likewise. - (OVERFLOW_EXCEPTION): Likewise. - (UNDERFLOW_EXCEPTION): Likewise. - (INEXACT_EXCEPTION): Likewise. - (INVALID_EXCEPTION_OK): Likewise. - (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise. - (OVERFLOW_EXCEPTION_OK): Likewise. - (UNDERFLOW_EXCEPTION_OK): Likewise. - (NO_INEXACT_EXCEPTION): Likewise. - (EXCEPTIONS_OK): Likewise. - (IGNORE_ZERO_INF_SIGN): Likewise. - (TEST_NAN_SIGN): Likewise. - (TEST_NAN_PAYLOAD): Likewise. - (NO_TEST_INLINE): Likewise. - (XFAIL_TEST): Likewise. - (ERRNO_UNCHANGED): Likewise. - (ERRNO_EDOM): Likewise. - (ERRNO_ERANGE): Likewise. - (IGNORE_RESULT): Likewise. - (NON_FINITE): Likewise. - (TEST_SNAN): Likewise. - (NO_TEST_MATHVEC): Likewise. - (__CONCATX): Likewise. - (TYPE_MIN): Likewise. - (TYPE_TRUE_MIN): Likewise. - (TYPE_MAX): Likewise. - (MIN_EXP): Likewise. - (MAX_EXP): Likewise. - (MANT_DIG): Likewise. - (FSTR_MAX): Likewise. - (ulp_idx): Likewise. - (qtype_str): Remove static. - (TEST_COND_binary32): Remove. - (TEST_COND_binary64): Likewise. - (TEST_COND_binary128): Likewise. - (TEST_COND_ibm128): Likewise. - (TEST_COND_intel96): Likewise. - (TEST_COND_m68k96): Likewise. - (TEST_COND_ibm128_libgcc): Likewise. - (XFAIL_IBM128_LIBGCC): Likewise. - (PAYLOAD_DIG): Likewise. - (UNDERFLOW_EXCEPTION_FLOAT): Likewise. - (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise. - (UNDERFLOW_EXCEPTION_DOUBLE): Likewise. - (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise. - (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise. - (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise. - (TEST_COND_long32): Likewise. - (TEST_COND_long64): Likewise. - (TEST_COND_before_rounding): Likewise. - (TEST_COND_after_rounding): Likewise. - (ulps_file_name): Likewise. - (ulps_file): Likewise. - (output_ulps): Likewise. - (output_dir): Likewise. - (noErrors): Likewise. - (noTests): Likewise. - (noExcTests): Likewise. - (noErrnoTests): Likewise. - (verbose): Likewise. - (output_max_error): Likewise. - (output_points): Likewise. - (ignore_max_ulp): Likewise. - (max_error): Likewise. - (real_max_error): Likewise. - (imag_max_error): Likewise. - (prev_max_error): Likewise. - (prev_real_max_error): Likewise. - (prev_imag_max_error): Likewise. - (max_valid_error): Likewise. - (TYPE_DECIMAL_DIG): Likewise. - (TYPE_HEX_DIG): Likewise. - (fmt_ftostr): Likewise. - (compare_ulp_data): Likewise. - (find_ulps): Likewise. - (init_max_error): Likewise. - (set_max_error): Likewise. - (print_float): Likewise. - (print_screen): Likewise. - (print_screen_max_error): Likewise. - (update_stats): Likewise. - (print_function_ulps): Likewise. - (print_complex_function_ulps): Likewise. - (fpstack_test): Likewise. - (print_max_error): Likewise. - (print_complex_max_error): Likewise. - (test_single_exception): Likewise. - (test_exceptions): Likewise. - (test_single_errno): Likewise. - (test_errno): Likewise. - (ULPDIFF): Likewise. - (ulp): Likewise. - (check_float_internal): Likewise. - (check_float): Likewise. - (check_complex): Likewise. - (check_int): Likewise. - (check_long): Likewise. - (check_bool): Likewise. - (check_longlong): Likewise. - (check_intmax_t): Likewise. - (check_uintmax_t): Likewise. - (enable_test): Likewise. - (matherr): Likewise. - (initialize): Likewise. - (options): Likewise. - (doc): Remove static. - (argp): Likewise. - (parse_opt): Remove. - (check_ulp): Likewise. - (libm_test_init): Likewise. - (libm_test_finish): Likewise. - * math/Makefile (libm-test-support): New variable. - (test-extras): Add libm-test-support files. - (extra-test-objs): Likewise. - (CFLAGS-libm-test-support-float.c): New variable. - (CFLAGS-libm-test-support-double.c): Likewise. - (CFLAGS-libm-test-support-ldouble.c): Likewise. - ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate - libm-test-support objects. - -2017-02-08 Gabriel F. T. Gomes - - * math/Makefile (libm-calls): Move w_exp... - (libm-compat-calls-auto): Here. - - * math/w_expl.c: Add suffix "_compat" to filename. - * sysdeps/ia64/fpu/w_expl.c: Likewise. - * sysdeps/ia64/fpu/w_expf.c: Likewise. - * sysdeps/ia64/fpu/w_exp.c: Likewise. - * sysdeps/ieee754/dbl-64/w_exp.c: Likewise. - * sysdeps/ieee754/flt-32/w_expf.c: Likewise. - * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise. - * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise. - - * math/w_expl_compat.c: New file, copied from above. - * sysdeps/ia64/fpu/w_exp_compat.c: Likewise. - * sysdeps/ia64/fpu/w_expf_compat.c: Likewise. - * sysdeps/ia64/fpu/w_expl_compat.c: Likewise. - * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise. - * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise. - * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise. - * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise. - - * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat" - to filename. - * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise. - - * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file, - copied from above and adjusted for the new filenames. - * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise. - -2017-02-08 Gabriel F. T. Gomes - - * math/Makefile (libm-calls): Move w_lgammaF... - (libm-compat-calls-auto): Here. - - * math/w_lgamma.c: Add suffix "_compat2" to filename. - * math/w_lgammaf.c: Likewise. - * math/w_lgammal.c: Likewise. - - * math/w_lgamma_compat2.c: New file, copied from above. - * math/w_lgammaf_compat2.c: Likewise. - * math/w_lgammal_compat2.c: Likewise. - -2017-02-08 Gabriel F. T. Gomes - - * math/Makefile (libm-calls): Move w_lgammaF_r... - (libm-compat-calls-auto): Here. - - * math/w_lgamma_r.c: Add suffix "_compat" to filename. - * math/w_lgammaf_r.c: Likewise. - * math/w_lgammal_r.c: Likewise. - * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise. - * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise. - * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise. - - * math/w_lgamma_r_compat.c: New file, copied from above. - * math/w_lgammaf_r_compat.c: Likewise. - * math/w_lgammal_r_compat.c: Likewise. - * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise. - * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise. - * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise. - - * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat" - to filename. - * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise. - - * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file - copied from above and adjusted for the new filenames. - * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise. - -2017-02-08 Yury Norov - - * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset - calculation in SYSCALL_ERROR_HANDLER(). - -2017-02-08 Rical Jasan - - * manual/contrib.texi: Fix typo. - -2017-02-08 Siddhesh Poyarekar - - [BZ #21109] - * elf/dl-tunable-types.h (tunable_callback_t): Accept - tunable_val_t as argument. - * elf/dl-tunables.c (__tunable_set_val): Add comment. - * malloc/arena.c (set_mallopt_check): Take tunable_val_t as - argument. - (DL_TUNABLE_CALLBACK_FNDECL): Likewise. - -2017-02-08 Kir Kolyshkin - - * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes): - Add PTRACE_EVENT_STOP. - * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise. - * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise. - * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise. - * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise. - -2017-02-07 Joseph Myers - - * math/test-math-finite.h (TEST_EXCEPTIONS): New macro. - * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise. - * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise. - * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro. - * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise. - * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise. - * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise. - * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise. - * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise. - * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise. - - [BZ #21112] - * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing - 12 bits zero. - (cp_l): Update for new value of cp_h. - * math/auto-libm-test-in: Add another test of pow. - * math/auto-libm-test-out-pow: Regenerated. - -2017-02-07 Siddhesh Poyarekar - - * manual/contrib.texi: Fix typo. - -2017-02-07 Rajalakshmi Srinivasaraghavan - - [BZ #15998] - * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac - (arch_minimum_kernel): Set as 3.10.0 for ppc64le. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate. - -2017-02-07 Rajalakshmi Srinivasaraghavan - - * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine - STRCHR as __strchr_power8. - * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine - strlen as __strlen_power8. - -2017-02-07 Rajalakshmi Srinivasaraghavan - - * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for - unaligned load for shorter strings. - * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise. - -2017-02-06 Joseph Myers - - * math/libm-test-driver.c (flag_test_errno): New variable. - (flag_test_exceptions): Likewise. - (flag_test_finite): Likewise. - (flag_test_inline): Likewise. - (flag_test_mathvec): Likewise. - (test_msg): Likewise. - (ulp_idx): Likewise. - (qtype_str): Likewise. - (ULP_IDX): Remove macro. - (QTYPE_STR): Likewise. - (find_ulps): Use ulp_idx not ULP_IDX. - (print_function_ulps): Use qtype_str, printed with %s, not - QTYPE_STR, printed with concatentation to format string. - (print_complex_function_ulps): Likewise. - (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS. - (test_errno): Use flag_test_errno not TEST_ERRNO. - (enable_test): Use flag_test_inline, flag_test_finite and - flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and - TEST_MATHVEC. - (libm_test_init): New function. Factored out of main. - (libm_test_finish): Likewise. - (main): Call libm_test_init and libm_test_finish and move most - code to those functions. - - * math/libm-test-driver.c (STRX): New macro. - (STR): Likewise. - (STR_FLOAT): Likewise. - (STR_VEC_LEN): Likewise. - (TEST_MSG): Likewise. Define here instead of expecting to be - defined by including file. - * math/test-double-finite.c (TEST_MSG): Remove macro. - * math/test-double-vlen2.h (TEST_MSG): Likewise. - * math/test-double-vlen4.h (TEST_MSG): Likewise. - * math/test-double-vlen8.h (TEST_MSG): Likewise. - * math/test-double.c (TEST_MSG): Likewise. - * math/test-float-finite.c (TEST_MSG): Likewise. - * math/test-float-vlen16.h (TEST_MSG): Likewise. - * math/test-float-vlen4.h (TEST_MSG): Likewise. - * math/test-float-vlen8.h (TEST_MSG): Likewise. - * math/test-float.c (TEST_MSG): Likewise. - * math/test-idouble.c (TEST_MSG): Likewise. - * math/test-ifloat.c (TEST_MSG): Likewise. - * math/test-ildouble.c (TEST_MSG): Likewise. - * math/test-ldouble-finite.c (TEST_MSG): Likewise. - * math/test-ldouble.c (TEST_MSG): Likewise. - - * math/libm-test.inc: Move all tests of individual functions to - libm-test-*.inc and #include libm-test-*.c files. - (acos_test_data): Remove. - (acos_test): Likewise. - (acosh_test_data): Likewise. - (acosh_test): Likewise. - (asin_test_data): Likewise. - (asin_test): Likewise. - (asinh_test_data): Likewise. - (asinh_test): Likewise. - (atan_test_data): Likewise. - (atan_test): Likewise. - (atanh_test_data): Likewise. - (atanh_test): Likewise. - (atan2_test_data): Likewise. - (atan2_test): Likewise. - (cabs_test_data): Likewise. - (cabs_test): Likewise. - (cacos_test_data): Likewise. - (cacos_test): Likewise. - (cacosh_test_data): Likewise. - (cacosh_test): Likewise. - (canonicalize_test_data): Likewise. - (canonicalize_test): Likewise. - (carg_test_data): Likewise. - (carg_test): Likewise. - (casin_test_data): Likewise. - (casin_test): Likewise. - (casinh_test_data): Likewise. - (casinh_test): Likewise. - (catan_test_data): Likewise. - (catan_test): Likewise. - (catanh_test_data): Likewise. - (catanh_test): Likewise. - (cbrt_test_data): Likewise. - (cbrt_test): Likewise. - (ccos_test_data): Likewise. - (ccos_test): Likewise. - (ccosh_test_data): Likewise. - (ccosh_test): Likewise. - (ceil_test_data): Likewise. - (ceil_test): Likewise. - (cexp_test_data): Likewise. - (cexp_test): Likewise. - (cimag_test_data): Likewise. - (cimag_test): Likewise. - (clog_test_data): Likewise. - (clog_test): Likewise. - (clog10_test_data): Likewise. - (clog10_test): Likewise. - (conj_test_data): Likewise. - (conj_test): Likewise. - (copysign_test_data): Likewise. - (copysign_test): Likewise. - (cos_test_data): Likewise. - (cos_test): Likewise. - (cosh_test_data): Likewise. - (cosh_test): Likewise. - (cpow_test_data): Likewise. - (cpow_test): Likewise. - (cproj_test_data): Likewise. - (cproj_test): Likewise. - (creal_test_data): Likewise. - (creal_test): Likewise. - (csin_test_data): Likewise. - (csin_test): Likewise. - (csinh_test_data): Likewise. - (csinh_test): Likewise. - (csqrt_test_data): Likewise. - (csqrt_test): Likewise. - (ctan_test_data): Likewise. - (ctan_test): Likewise. - (ctanh_test_data): Likewise. - (ctanh_test): Likewise. - (erf_test_data): Likewise. - (erf_test): Likewise. - (erfc_test_data): Likewise. - (erfc_test): Likewise. - (exp_test_data): Likewise. - (exp_test): Likewise. - (exp10_test_data): Likewise. - (exp10_test): Likewise. - (pow10_test): Likewise. - (exp2_test_data): Likewise. - (exp2_test): Likewise. - (expm1_test_data): Likewise. - (expm1_test): Likewise. - (fabs_test_data): Likewise. - (fabs_test): Likewise. - (fdim_test_data): Likewise. - (fdim_test): Likewise. - (floor_test_data): Likewise. - (floor_test): Likewise. - (fma_test_data): Likewise. - (fma_test): Likewise. - (fmax_test_data): Likewise. - (fmax_test): Likewise. - (fmaxmag_test_data): Likewise. - (fmaxmag_test): Likewise. - (fmin_test_data): Likewise. - (fmin_test): Likewise. - (fminmag_test_data): Likewise. - (fminmag_test): Likewise. - (fmod_test_data): Likewise. - (fmod_test): Likewise. - (fpclassify_test_data): Likewise. - (fpclassify_test): Likewise. - (frexp_test_data): Likewise. - (frexp_test): Likewise. - (fromfp_test_data): Likewise. - (fromfp_test): Likewise. - (fromfpx_test_data): Likewise. - (fromfpx_test): Likewise. - (getpayload_test_data): Likewise. - (getpayload_test): Likewise. - (hypot_test_data): Likewise. - (hypot_test): Likewise. - (ilogb_test_data): Likewise. - (ilogb_test): Likewise. - (iscanonical_test_data): Likewise. - (iscanonical_test): Likewise. - (iseqsig_test_data): Likewise. - (iseqsig_test): Likewise. - (isfinite_test_data): Likewise. - (isfinite_test): Likewise. - (finite_test): Likewise. - (isgreater_test_data): Likewise. - (isgreater_test): Likewise. - (isgreaterequal_test_data): Likewise. - (isgreaterequal_test): Likewise. - (isinf_test_data): Likewise. - (isinf_test): Likewise. - (isless_test_data): Likewise. - (isless_test): Likewise. - (islessequal_test_data): Likewise. - (islessequal_test): Likewise. - (islessgreater_test_data): Likewise. - (islessgreater_test): Likewise. - (isnan_test_data): Likewise. - (isnan_test): Likewise. - (isnormal_test_data): Likewise. - (isnormal_test): Likewise. - (issignaling_test_data): Likewise. - (issignaling_test): Likewise. - (issubnormal_test_data): Likewise. - (issubnormal_test): Likewise. - (isunordered_test_data): Likewise. - (isunordered_test): Likewise. - (iszero_test_data): Likewise. - (iszero_test): Likewise. - (j0_test_data): Likewise. - (j0_test): Likewise. - (j1_test_data): Likewise. - (j1_test): Likewise. - (jn_test_data): Likewise. - (jn_test): Likewise. - (lgamma_test_data): Likewise. - (lgamma_test): Likewise. - (gamma_test): Likewise. - (llogb_test_data): Likewise. - (llogb_test): Likewise. - (lrint_test_data): Likewise. - (lrint_test): Likewise. - (llrint_test_data): Likewise. - (llrint_test): Likewise. - (log_test_data): Likewise. - (log_test): Likewise. - (log10_test_data): Likewise. - (log10_test): Likewise. - (log1p_test_data): Likewise. - (log1p_test): Likewise. - (log2_test_data): Likewise. - (log2_test): Likewise. - (logb_test_data): Likewise. - (logb_test): Likewise. - (lround_test_data): Likewise. - (lround_test): Likewise. - (llround_test_data): Likewise. - (llround_test): Likewise. - (modf_test_data): Likewise. - (modf_test): Likewise. - (nearbyint_test_data): Likewise. - (nearbyint_test): Likewise. - (nextafter_test_data): Likewise. - (nextafter_test): Likewise. - (nextup_test_data): Likewise. - (nextup_test): Likewise. - (nextdown_test_data): Likewise. - (nextdown_test): Likewise. - (nexttoward_test_data): Likewise. - (nexttoward_test): Likewise. - (pow_test_data): Likewise. - (pow_test): Likewise. - (remainder_test_data): Likewise. - (remainder_test): Likewise. - (drem_test): Likewise. - (remquo_test_data): Likewise. - (remquo_test): Likewise. - (rint_test_data): Likewise. - (rint_test): Likewise. - (round_test_data): Likewise. - (round_test): Likewise. - (roundeven_test_data): Likewise. - (roundeven_test): Likewise. - (scalb_test_data): Likewise. - (scalb_test): Likewise. - (scalbn_test_data): Likewise. - (scalbn_test): Likewise. - (ldexp_test): Likewise. - (scalbln_test_data): Likewise. - (scalbln_test): Likewise. - (setpayload_test_data): Likewise. - (setpayload_test): Likewise. - (setpayloadsig_test_data): Likewise. - (setpayloadsig_test): Likewise. - (signbit_test_data): Likewise. - (signbit_test): Likewise. - (sin_test_data): Likewise. - (sin_test): Likewise. - (sincos_test_data): Likewise. - (sincos_test): Likewise. - (sinh_test_data): Likewise. - (sinh_test): Likewise. - (sqrt_test_data): Likewise. - (sqrt_test): Likewise. - (tan_test_data): Likewise. - (tan_test): Likewise. - (tanh_test_data): Likewise. - (tanh_test): Likewise. - (tgamma_test_data): Likewise. - (tgamma_test): Likewise. - (totalorder_test_data): Likewise. - (totalorder_test): Likewise. - (totalordermag_test_data): Likewise. - (totalordermag_test): Likewise. - (trunc_test_data): Likewise. - (trunc_test): Likewise. - (ufromfp_test_data): Likewise. - (ufromfp_test): Likewise. - (ufromfpx_test_data): Likewise. - (ufromfpx_test): Likewise. - (y0_test_data): Likewise. - (y0_test): Likewise. - (y1_test_data): Likewise. - (y1_test): Likewise. - (yn_test_data): Likewise. - (yn_test): Likewise. - (significand_test_data): Likewise. - (significand_test): Likewise. - * math/Makefile (auto-libm-test-out-files): Remove variable. - (libm-test-funcs-noauto): New variable. - (libm-test-funcs-all): Likewise. - (libm-test-c-auto): Likewise. - (libm-test-c-noauto): Likewise. - (libm-tests-generated): Add $(libm-test-c-auto) and - $(libm-test-c-noauto). - (generated): Do not add auto-libm-test-out. - (libm-test-c-auto-obj): New variable. - (libm-test-c-noauto-obj): Likewise. - ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out. - ($(libm-test-c-noauto-obj)): New static pattern rule. - ($(libm-test-c-auto-obj)): Likewise. - (libm-test-incs): New variable. - ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs) - and pass it to gen-libm-have-vector-test.sh. - * math/gen-libm-have-vector-test.sh: Expect list of .inc files to - be passed on command line. - * math/libm-test-acos.inc: New file. Content from - math/libm-test.inc. - * math/libm-test-acosh.inc: Likewise. - * math/libm-test-asin.inc: Likewise. - * math/libm-test-asinh.inc: Likewise. - * math/libm-test-atan.inc: Likewise. - * math/libm-test-atan2.inc: Likewise. - * math/libm-test-atanh.inc: Likewise. - * math/libm-test-cabs.inc: Likewise. - * math/libm-test-cacos.inc: Likewise. - * math/libm-test-cacosh.inc: Likewise. - * math/libm-test-canonicalize.inc: Likewise. - * math/libm-test-carg.inc: Likewise. - * math/libm-test-casin.inc: Likewise. - * math/libm-test-casinh.inc: Likewise. - * math/libm-test-catan.inc: Likewise. - * math/libm-test-catanh.inc: Likewise. - * math/libm-test-cbrt.inc: Likewise. - * math/libm-test-ccos.inc: Likewise. - * math/libm-test-ccosh.inc: Likewise. - * math/libm-test-ceil.inc: Likewise. - * math/libm-test-cexp.inc: Likewise. - * math/libm-test-cimag.inc: Likewise. - * math/libm-test-clog.inc: Likewise. - * math/libm-test-clog10.inc: Likewise. - * math/libm-test-conj.inc: Likewise. - * math/libm-test-copysign.inc: Likewise. - * math/libm-test-cos.inc: Likewise. - * math/libm-test-cosh.inc: Likewise. - * math/libm-test-cpow.inc: Likewise. - * math/libm-test-cproj.inc: Likewise. - * math/libm-test-creal.inc: Likewise. - * math/libm-test-csin.inc: Likewise. - * math/libm-test-csinh.inc: Likewise. - * math/libm-test-csqrt.inc: Likewise. - * math/libm-test-ctan.inc: Likewise. - * math/libm-test-ctanh.inc: Likewise. - * math/libm-test-erf.inc: Likewise. - * math/libm-test-erfc.inc: Likewise. - * math/libm-test-exp.inc: Likewise. - * math/libm-test-exp10.inc: Likewise. - * math/libm-test-exp2.inc: Likewise. - * math/libm-test-expm1.inc: Likewise. - * math/libm-test-fabs.inc: Likewise. - * math/libm-test-fdim.inc: Likewise. - * math/libm-test-floor.inc: Likewise. - * math/libm-test-fma.inc: Likewise. - * math/libm-test-fmax.inc: Likewise. - * math/libm-test-fmaxmag.inc: Likewise. - * math/libm-test-fmin.inc: Likewise. - * math/libm-test-fminmag.inc: Likewise. - * math/libm-test-fmod.inc: Likewise. - * math/libm-test-fpclassify.inc: Likewise. - * math/libm-test-frexp.inc: Likewise. - * math/libm-test-fromfp.inc: Likewise. - * math/libm-test-fromfpx.inc: Likewise. - * math/libm-test-getpayload.inc: Likewise. - * math/libm-test-hypot.inc: Likewise. - * math/libm-test-ilogb.inc: Likewise. - * math/libm-test-iscanonical.inc: Likewise. - * math/libm-test-iseqsig.inc: Likewise. - * math/libm-test-isfinite.inc: Likewise. - * math/libm-test-isgreater.inc: Likewise. - * math/libm-test-isgreaterequal.inc: Likewise. - * math/libm-test-isinf.inc: Likewise. - * math/libm-test-isless.inc: Likewise. - * math/libm-test-islessequal.inc: Likewise. - * math/libm-test-islessgreater.inc: Likewise. - * math/libm-test-isnan.inc: Likewise. - * math/libm-test-isnormal.inc: Likewise. - * math/libm-test-issignaling.inc: Likewise. - * math/libm-test-issubnormal.inc: Likewise. - * math/libm-test-isunordered.inc: Likewise. - * math/libm-test-iszero.inc: Likewise. - * math/libm-test-j0.inc: Likewise. - * math/libm-test-j1.inc: Likewise. - * math/libm-test-jn.inc: Likewise. - * math/libm-test-lgamma.inc: Likewise. - * math/libm-test-llogb.inc: Likewise. - * math/libm-test-llrint.inc: Likewise. - * math/libm-test-llround.inc: Likewise. - * math/libm-test-log.inc: Likewise. - * math/libm-test-log10.inc: Likewise. - * math/libm-test-log1p.inc: Likewise. - * math/libm-test-log2.inc: Likewise. - * math/libm-test-logb.inc: Likewise. - * math/libm-test-lrint.inc: Likewise. - * math/libm-test-lround.inc: Likewise. - * math/libm-test-modf.inc: Likewise. - * math/libm-test-nearbyint.inc: Likewise. - * math/libm-test-nextafter.inc: Likewise. - * math/libm-test-nextdown.inc: Likewise. - * math/libm-test-nexttoward.inc: Likewise. - * math/libm-test-nextup.inc: Likewise. - * math/libm-test-pow.inc: Likewise. - * math/libm-test-remainder.inc: Likewise. - * math/libm-test-remquo.inc: Likewise. - * math/libm-test-rint.inc: Likewise. - * math/libm-test-round.inc: Likewise. - * math/libm-test-roundeven.inc: Likewise. - * math/libm-test-scalb.inc: Likewise. - * math/libm-test-scalbln.inc: Likewise. - * math/libm-test-scalbn.inc: Likewise. - * math/libm-test-setpayload.inc: Likewise. - * math/libm-test-setpayloadsig.inc: Likewise. - * math/libm-test-signbit.inc: Likewise. - * math/libm-test-significand.inc: Likewise. - * math/libm-test-sin.inc: Likewise. - * math/libm-test-sincos.inc: Likewise. - * math/libm-test-sinh.inc: Likewise. - * math/libm-test-sqrt.inc: Likewise. - * math/libm-test-tan.inc: Likewise. - * math/libm-test-tanh.inc: Likewise. - * math/libm-test-tgamma.inc: Likewise. - * math/libm-test-totalorder.inc: Likewise. - * math/libm-test-totalordermag.inc: Likewise. - * math/libm-test-trunc.inc: Likewise. - * math/libm-test-ufromfp.inc: Likewise. - * math/libm-test-ufromfpx.inc: Likewise. - * math/libm-test-y0.inc: Likewise. - * math/libm-test-y1.inc: Likewise. - * math/libm-test-yn.inc: Likewise. - * math/README.libm-test: Update. - - * math/gen-auto-libm-tests.c: Update comment about use of program. - (generate_output): Add argument FUNCTION. - (main): Require extra argument. Pass function name to - generate_output. - * math/Makefile (generated): Add auto-libm-test-out. - (libm-test-funcs-auto): New variable. - (auto-libm-test-out-files): New variable. - ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files). - Concatenate those files to form $(objpfx)auto-libm-test-out and - use it as input to gen-libm-test.pl. - * math/README.libm-test: Update. - * math/auto-libm-test-out: Remove. - * math/auto-libm-test-out-acos: New generated file. - * math/auto-libm-test-out-acosh: Likewise. - * math/auto-libm-test-out-asin: Likewise. - * math/auto-libm-test-out-asinh: Likewise. - * math/auto-libm-test-out-atan: Likewise. - * math/auto-libm-test-out-atan2: Likewise. - * math/auto-libm-test-out-atanh: Likewise. - * math/auto-libm-test-out-cabs: Likewise. - * math/auto-libm-test-out-carg: Likewise. - * math/auto-libm-test-out-cbrt: Likewise. - * math/auto-libm-test-out-ccos: Likewise. - * math/auto-libm-test-out-ccosh: Likewise. - * math/auto-libm-test-out-cexp: Likewise. - * math/auto-libm-test-out-clog: Likewise. - * math/auto-libm-test-out-clog10: Likewise. - * math/auto-libm-test-out-cos: Likewise. - * math/auto-libm-test-out-cosh: Likewise. - * math/auto-libm-test-out-cpow: Likewise. - * math/auto-libm-test-out-csin: Likewise. - * math/auto-libm-test-out-csinh: Likewise. - * math/auto-libm-test-out-csqrt: Likewise. - * math/auto-libm-test-out-ctan: Likewise. - * math/auto-libm-test-out-ctanh: Likewise. - * math/auto-libm-test-out-erf: Likewise. - * math/auto-libm-test-out-erfc: Likewise. - * math/auto-libm-test-out-exp: Likewise. - * math/auto-libm-test-out-exp10: Likewise. - * math/auto-libm-test-out-exp2: Likewise. - * math/auto-libm-test-out-expm1: Likewise. - * math/auto-libm-test-out-fma: Likewise. - * math/auto-libm-test-out-hypot: Likewise. - * math/auto-libm-test-out-j0: Likewise. - * math/auto-libm-test-out-j1: Likewise. - * math/auto-libm-test-out-jn: Likewise. - * math/auto-libm-test-out-lgamma: Likewise. - * math/auto-libm-test-out-log: Likewise. - * math/auto-libm-test-out-log10: Likewise. - * math/auto-libm-test-out-log1p: Likewise. - * math/auto-libm-test-out-log2: Likewise. - * math/auto-libm-test-out-pow: Likewise. - * math/auto-libm-test-out-sin: Likewise. - * math/auto-libm-test-out-sincos: Likewise. - * math/auto-libm-test-out-sinh: Likewise. - * math/auto-libm-test-out-sqrt: Likewise. - * math/auto-libm-test-out-tan: Likewise. - * math/auto-libm-test-out-tanh: Likewise. - * math/auto-libm-test-out-tgamma: Likewise. - * math/auto-libm-test-out-y0: Likewise. - * math/auto-libm-test-out-y1: Likewise. - * math/auto-libm-test-out-yn: Likewise. - - * math/Makefile (generated): Do not include libm-test.stmp. - ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend - on $(objpfx)libm-test.stmp. - ($(objpfx)libm-test.stmp): Remove rule. - ($(objpfx)libm-test-ulps.h): New rule. - ($(objpfx)libm-test.c): Likewise. - ($(objpfx)libm-have-vector-test.h): Likewise. - ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on - individual generated files, not libm-test.stmp. - - * math/gen-libm-test.pl ($output_dir): Remove variable. - ($srcdir): Likewise. - ($opt_a): New variable. - ($opt_c): Likewise. - ($opt_C): Likewise. - ($opt_H): Likewise. - (-n): Make option take argument and use it as NewUlps output. - (-a): New option. Use its argument for auto-libm-test-out input. - (-c): New option. Use its argument for libm-test.inc input. - (-C): New option. Use its argument for libm-test.c output. - (-H): New option. Use its argument for libm-test-ulps.h output. - (top level): Only process inputs needed to generate outputs - specified by command-line options. Only generate outputs - specified by command-line options. - * math/README.libm-test: Update example gen-libm-test.pl command. - * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl - commands. - (regen-ulps): Likewise. - -2017-02-06 Wilco Dijkstra - - * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr. - * include/string.h (index): Remove define. - (rindex): Likewise. - * misc/getttyent.c (__getttyent): Rename index to strchr. - * misc/ttyslot.c (ttyslot): Rename rindex to strrchr. - * sunrpc/rpc_main.c (mkfile_output): Likewise. - -2017-02-06 Joseph Myers - - * math/libm-test-driver.c: New file. Based on math/libm-test.inc. - * math/libm-test.inc: Move all contents, other than tests of - individual functions, to libm-test-driver.c. - [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c. - [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise. - [!FE_UPWARD] (FE_UPWARD): Likewise. - [!FE_DOWNWARD] (FE_DOWNWARD): Likewise. - (NO_EXCEPTION): Likewise. - (INVALID_EXCEPTION): Likewise. - (DIVIDE_BY_ZERO_EXCEPTION): Likewise. - (OVERFLOW_EXCEPTION): Likewise. - (UNDERFLOW_EXCEPTION): Likewise. - (INEXACT_EXCEPTION): Likewise. - (INVALID_EXCEPTION_OK): Likewise. - (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise. - (OVERFLOW_EXCEPTION_OK): Likewise. - (UNDERFLOW_EXCEPTION_OK): Likewise. - (NO_INEXACT_EXCEPTION): Likewise. - (EXCEPTIONS_OK): Likewise. - (IGNORE_ZERO_INF_SIGN): Likewise. - (TEST_NAN_SIGN): Likewise. - (TEST_NAN_PAYLOAD): Likewise. - (NO_TEST_INLINE): Likewise. - (XFAIL_TEST): Likewise. - (ERRNO_UNCHANGED): Likewise. - (ERRNO_EDOM): Likewise. - (ERRNO_ERANGE): Likewise. - (IGNORE_RESULT): Likewise. - (NON_FINITE): Likewise. - (TEST_SNAN): Likewise. - (NO_TEST_MATHVEC): Likewise. - (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise. - (__CONCATX): Likewise. - (TYPE_MIN): Likewise. - (TYPE_TRUE_MIN): Likewise. - (TYPE_MAX): Likewise. - (MIN_EXP): Likewise. - (MAX_EXP): Likewise. - (MANT_DIG): Likewise. - (FSTR_MAX): Likewise. - (ULP_IDX): Likewise. - (QTYPE_STR): Likewise. - (TEST_COND_binary32): Likewise. - (TEST_COND_binary64): Likewise. - (TEST_COND_binary128): Likewise. - (TEST_COND_ibm128): Likewise. - (TEST_COND_intel96): Likewise. - (TEST_COND_m68k96): Likewise. - (TEST_COND_ibm128_libgcc): Likewise. - (XFAIL_IBM128_LIBGCC): Likewise. - (PAYLOAD_DIG): Likewise. - (UNDERFLOW_EXCEPTION_FLOAT): Likewise. - (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise. - (UNDERFLOW_EXCEPTION_DOUBLE): Likewise. - (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise. - (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise. - (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise. - (TEST_COND_long32): Likewise. - (TEST_COND_long64): Likewise. - (TEST_COND_before_rounding): Likewise. - (TEST_COND_after_rounding): Likewise. - (lit_pi_3_m_4_d): Likewise. - (lit_pi_3_m_4_ln10_m_d): Likewise. - (lit_pi_2_ln10_m_d): Likewise. - (lit_pi_4_ln10_m_d): Likewise. - (lit_pi_ln10_d): Likewise. - (lit_pi_2_d): Likewise. - (lit_pi_4_d): Likewise. - (lit_pi): Likewise. - (lit_e): Likewise. - (ulps_file_name): Likewise. - (ulps_file): Likewise. - (output_ulps): Likewise. - (output_dir): Likewise. - (noErrors): Likewise. - (noTests): Likewise. - (noExcTests): Likewise. - (noErrnoTests): Likewise. - (verbose): Likewise. - (output_max_error): Likewise. - (output_points): Likewise. - (ignore_max_ulp): Likewise. - (plus_zero): Likewise. - (minus_zero): Likewise. - (plus_infty): Likewise. - (minus_infty): Likewise. - (qnan_value_pl): Likewise. - (qnan_value): Likewise. - (snan_value_pl): Likewise. - (snan_value): Likewise. - (max_value): Likewise. - (min_value): Likewise. - (min_subnorm_value): Likewise. - (snan_value_ld): Likewise. - (max_error): Likewise. - (real_max_error): Likewise. - (imag_max_error): Likewise. - (prev_max_error): Likewise. - (prev_real_max_error): Likewise. - (prev_imag_max_error): Likewise. - (max_valid_error): Likewise. - (TYPE_DECIMAL_DIG): Likewise. - (TYPE_HEX_DIG): Likewise. - (fmt_ftostr): Likewise. - (compare_ulp_data): Likewise. - (find_ulps): Likewise. - (init_max_error): Likewise. - (set_max_error): Likewise. - (print_float): Likewise. - (print_screen): Likewise. - (print_screen_max_error): Likewise. - (update_stats): Likewise. - (print_function_ulps): Likewise. - (print_complex_function_ulps): Likewise. - (fpstack_test): Likewise. - (print_max_error): Likewise. - (print_complex_max_error): Likewise. - (test_single_exception): Likewise. - (test_exceptions): Likewise. - (test_single_errno): Likewise. - (test_errno): Likewise. - (ULPDIFF): Likewise. - (ulp): Likewise. - (check_float_internal): Likewise. - (check_float): Likewise. - (check_complex): Likewise. - (check_int): Likewise. - (check_long): Likewise. - (check_bool): Likewise. - (check_longlong): Likewise. - (check_intmax_t): Likewise. - (check_uintmax_t): Likewise. - (enable_test): Likewise. - (struct test_f_f_data): Likewise. - (struct test_ff_f_data): Likewise. - (struct test_fj_f_data): Likewise. - (struct test_fi_f_data): Likewise. - (struct test_fl_f_data): Likewise. - (struct test_if_f_data): Likewise. - (struct test_fff_f_data): Likewise. - (struct test_fiu_M_data): Likewise. - (struct test_fiu_U_data): Likewise. - (struct test_c_f_data): Likewise. - (struct test_f_f1_data): Likewise. - (struct test_fF_f1_data): Likewise. - (struct test_ffI_f1_data): Likewise. - (struct test_c_c_data): Likewise. - (struct test_cc_c_data): Likewise. - (struct test_f_i_data): Likewise. - (struct test_ff_i_data): Likewise. - (struct test_f_l_data): Likewise. - (struct test_f_L_data): Likewise. - (struct test_fFF_11_data): Likewise. - (struct test_Ff_b1_data): Likewise. - (IF_ROUND_INIT_): Likewise. - (IF_ROUND_INIT_FE_DOWNWARD): Likewise. - (IF_ROUND_INIT_FE_TONEAREST): Likewise. - (IF_ROUND_INIT_FE_TOWARDZERO): Likewise. - (IF_ROUND_INIT_FE_UPWARD): Likewise. - (ROUND_RESTORE_): Likewise. - (ROUND_RESTORE_FE_DOWNWARD): Likewise. - (ROUND_RESTORE_FE_TONEAREST): Likewise. - (ROUND_RESTORE_FE_TOWARDZERO): Likewise. - (ROUND_RESTORE_FE_UPWARD): Likewise. - (RM_): Likewise. - (RM_FE_DOWNWARD): Likewise. - (RM_FE_TONEAREST): Likewise. - (RM_FE_TOWARDZERO): Likewise. - (RM_FE_UPWARD): Likewise. - (COMMON_TEST_SETUP): Likewise. - (EXTRA_OUTPUT_TEST_SETUP): Likewise. - (COMMON_TEST_CLEANUP): Likewise. - (EXTRA_OUTPUT_TEST_CLEANUP): Likewise. - (RUN_TEST_f_f): Likewise. - (RUN_TEST_LOOP_f_f): Likewise. - (RUN_TEST_fp_f): Likewise. - (RUN_TEST_LOOP_fp_f): Likewise. - (RUN_TEST_2_f): Likewise. - (RUN_TEST_LOOP_2_f): Likewise. - (RUN_TEST_ff_f): Likewise. - (RUN_TEST_LOOP_ff_f): Likewise. - (RUN_TEST_LOOP_fj_f): Likewise. - (RUN_TEST_fi_f): Likewise. - (RUN_TEST_LOOP_fi_f): Likewise. - (RUN_TEST_fl_f): Likewise. - (RUN_TEST_LOOP_fl_f): Likewise. - (RUN_TEST_if_f): Likewise. - (RUN_TEST_LOOP_if_f): Likewise. - (RUN_TEST_fff_f): Likewise. - (RUN_TEST_LOOP_fff_f): Likewise. - (RUN_TEST_fiu_M): Likewise. - (RUN_TEST_LOOP_fiu_M): Likewise. - (RUN_TEST_fiu_U): Likewise. - (RUN_TEST_LOOP_fiu_U): Likewise. - (RUN_TEST_c_f): Likewise. - (RUN_TEST_LOOP_c_f): Likewise. - (RUN_TEST_f_f1): Likewise. - (RUN_TEST_LOOP_f_f1): Likewise. - (RUN_TEST_fF_f1): Likewise. - (RUN_TEST_LOOP_fF_f1): Likewise. - (RUN_TEST_fI_f1): Likewise. - (RUN_TEST_LOOP_fI_f1): Likewise. - (RUN_TEST_ffI_f1_mod8): Likewise. - (RUN_TEST_LOOP_ffI_f1_mod8): Likewise. - (RUN_TEST_Ff_b1): Likewise. - (RUN_TEST_LOOP_Ff_b1): Likewise. - (RUN_TEST_Ffp_b1): Likewise. - (RUN_TEST_LOOP_Ffp_b1): Likewise. - (RUN_TEST_c_c): Likewise. - (RUN_TEST_LOOP_c_c): Likewise. - (RUN_TEST_cc_c): Likewise. - (RUN_TEST_LOOP_cc_c): Likewise. - (RUN_TEST_f_i): Likewise. - (RUN_TEST_LOOP_f_i): Likewise. - (RUN_TEST_f_i_tg): Likewise. - (RUN_TEST_LOOP_f_i_tg): Likewise. - (RUN_TEST_ff_b): Likewise. - (RUN_TEST_LOOP_ff_b): Likewise. - (RUN_TEST_ff_i_tg): Likewise. - (RUN_TEST_LOOP_ff_i_tg): Likewise. - (RUN_TEST_f_b): Likewise. - (RUN_TEST_LOOP_f_b): Likewise. - (RUN_TEST_f_b_tg): Likewise. - (RUN_TEST_LOOP_f_b_tg): Likewise. - (RUN_TEST_f_l): Likewise. - (RUN_TEST_LOOP_f_l): Likewise. - (RUN_TEST_f_L): Likewise. - (RUN_TEST_LOOP_f_L): Likewise. - (RUN_TEST_fFF_11): Likewise. - (RUN_TEST_LOOP_fFF_11): Likewise. - (VEC_SUFF): Likewise. - (STR_CONCAT): Likewise. - (STR_CON3): Likewise. - (HAVE_VECTOR): Likewise. - (START): Likewise. - (END): Likewise. - (END_COMPLEX): Likewise. - (ALL_RM_TEST): Likewise. - (matherr): Likewise. - (initialize): Likewise. - (options): Likewise. - (doc): Likewise. - (parse_opt): Likewise. - (argp): Likewise. - (check_ulp): Likewise. - (main): Likewise. - (do_test): New function. Call tests of individual functions - previously called from main. - - * math/libm-test.inc: Remove comment listing functions tested and - not tested. - -2016-02-06 Adhemerval Zanella - - * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove. - (allocate_stack): Remove COLORING_INCREMENT usage. - * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise. - * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise. - -2017-02-06 Joseph Myers - - * manual/libm-err-tab.pl (@all_functions): Change to - %all_functions. Initialize as empty. - (parse_ulps): Add to %all_functions based on functions found in - ulps files. Ignore results for non-default rounding modes and - vector functions. - (print_platforms): Use %all_platforms. - * manual/math.texi (Errors in Math Functions): Document omissions - from the table. - - * math/Makefile (before-compile): Remove. - -2017-02-06 Ivo Raisr - - [BZ #21075] - * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove - unused assignment. - * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise. - -2017-02-06 Stefan Liebler - - * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock): - Add __glibc_unlikely hint. - -2017-02-06 Adhemerval Zanella - - [BZ #16640] - * sysdeps/i386/i686/strtok.S: Remove file. - * sysdeps/i386/i686/strtok_r.S: Likewise. - * sysdeps/i386/strtok.S: Likewise. - * sysdeps/i386/strtok_r.S: Likewise. - * sysdeps/powerpc/powerpc64/strtok.S: Likewise. - * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise. - * sysdeps/x86_64/strtok.S: Likewise. - * sysdeps/x86_64/strtok_r.S: Likewise. - - * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file. - * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise. - * sysdeps/unix/sysv/linux/mips/kernel-features.h - (__ASSUME_FADVISE64_AS_64_64): Define. - * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add - !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue. - [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove - __ALIGNMENT_ARG usage. - [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define - __NR_fadvise64_64 if it is not defined. - -2017-02-05 Siddhesh Poyarekar - - * version.h (RELEASE): Set to "development" - (VERSION): Set to 2.25.90. - * NEWS: Add 2.26 section. - - * version.h (RELEASE): Set to "stable" - (VERSION): Set to 2.25. - * include/features.h (__GLIBC_MINOR__): Set to 25. - - * manual/contrib.texi: Add more contributors from this release - and past releases. - - * NEWS (2.25): Add list of bugs fixed. - - * NEWS: Add missing news items. - -2017-02-04 Siddhesh Poyarekar - - * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in - parent if child exited in that manner. Print WEXITSTATUS - instead of the raw status. - (do_test_prep): Rename to do_test. - (do_test): Return the result of run_executable_sgid. - (TEST_FUNCTION_ARGV): Adjust. - -2017-02-03 Alexandre Oliva - Florian Weimer - Carlos O'Donell - - [BZ #20915] - * elf/dl-reloc.c (_dl_nothread_init_static_tls): - Do not initialize DTV. - * nptl/allocatestack.c (init_one_static_tls): Likewise. - -2017-02-03 David S. Miller - - * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/Makefile - (libm-sysdep_routines): Update. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise. - * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise. - * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise. - * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise. - * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: - Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: - Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: - Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: - Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile - (libm-sysdep_routines): Update. - -2017-02-02 H.J. Lu - - * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace - _dl_fatal_printf with _dl_error_printf for IFUNC relocation - against unrelocated shared library. - * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise. - -2017-02-02 Siddhesh Poyarekar - - * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES. - * elf/tst-env-setuid-tunables.c - (test_child_tunables)[!HAVE_TUNABLES]: Verify that - GLIBC_TUNABLES is removed in a setgid process. - - [BZ #21073] - * elf/dl-tunable-types.h (tunable_seclevel_t): New enum. - * elf/dl-tunables.c (tunables_strdup): Remove. - (get_next_env): Also return the previous envp. - (parse_tunables): Erase tunables of category - TUNABLES_SECLEVEL_SXID_ERASE. - (maybe_enable_malloc_check): Make MALLOC_CHECK_ - TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible. - (__tunables_init)[TUNABLES_FRONTEND == - TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar - after parsing. - [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase - tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE. - * elf/dl-tunables.h (struct _tunable): Change member is_secure - to security_level. - * elf/dl-tunables.list: Add security_level annotations for all - tunables. - * scripts/gen-tunables.awk: Recognize and generate enum values - for security_level. - * elf/tst-env-setuid.c: New test case. - * elf/tst-env-setuid-tunables: new test case. - * elf/Makefile (tests-static): Add them. - -2017-02-01 Richard Henderson - - * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic - adjusting the byte count. - -2017-02-01 Andreas Schwab - - * conform/Makefile (linknamespace-libs): Define. - - * sysdeps/m68k/m680x0/m68020/atomic-machine.h - (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq) - (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm - operands. - -2017-01-31 Chung-Lin Tang - - * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file. - -2017-01-30 H.J. Lu - - [BZ #21081] - * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S - (L(stosb)): Add VZEROUPPER before ret. - -2016-01-28 Carlos O'Donell - Alexey Makhalov - Florian Weimer - - [BZ #20116] - * nptl/pthread_create.c: Document concurrency notes. - Enhance thread creation notes. - (create_thread): Use bool *stopped_start. - (START_THREAD_DEFN): Comment ownership of PD. - (__pthread_create_2_1): Add local bool stopped_start and use - that instead of pd->stopped_start where appropriate. - * nptl/createthread.c (create_thread): Use bool *stopped_start. - * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start. - * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise. - * nptl/tst-create-detached.c: New file. - * nptl/Makefile (tests): Add tst-create-detached. - * nptl/pthread_getschedparam.c (__pthread_getschedparam): - Reference the enhanced thread creation notes. - * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise. - * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise. - * nptl/tpp.c (__pthread_tpp_change_priority): Likewise. - (__pthread_current_priority): Likewise. - * support/Makefile (libsupport-routines): Add xpthread_attr_destroy - xpthread_attr_init, xpthread_attr_setdetachstate, and - xpthread_attr_setstacksize. - * support/xpthread_attr_destroy.c: New file. - * support/xpthread_attr_init.c: New file. - * support/xpthread_attr_setdetachstate.c: New file. - * support/xpthread_attr_setstacksize.c: New file. - * support/xthread.h: Define prototypes for xpthread_attr_destroy - xpthread_attr_init, xpthread_attr_setdetachstate, and - xpthread_attr_setstacksize. - -2017-01-27 Florian Weimer - - * nptl/Makefile (tests): Add tst-robust-fork. - * nptl/tst-robust-fork.c: New file. - * support/Makefile (libsupport-routines): Add xmmap, xmunmap, - xpthread_mutex_consistent, xpthread_mutex_destroy, - xpthread_mutex_init, xpthread_mutexattr_destroy, - xpthread_mutexattr_init, xpthread_mutexattr_setprotocol, - xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust, - xpthread_mutexattr_settype. - * support/xmmap.c: New file. - * support/xmunmap.c: Likewise. - * support/xpthread_mutex_consistent.c: Likewise. - * support/xpthread_mutex_destroy.c: Likewise. - * support/xpthread_mutex_init.c: Likewise. - * support/xpthread_mutexattr_destroy.c: Likewise. - * support/xpthread_mutexattr_init.c: Likewise. - * support/xpthread_mutexattr_setprotocol.c: Likewise. - * support/xpthread_mutexattr_setpshared.c: Likewise. - * support/xpthread_mutexattr_setrobust.c: Likewise. - * support/xpthread_mutexattr_settype.c: Likewise. - * support/xthread.h (xpthread_mutexattr_destroy) - (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol) - (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust) - (xpthread_mutexattr_settype, xpthread_mutex_init) - (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare. - * support/xunistd.h (xmmap, xmunmap): Likewise. - -2017-01-25 Florian Weimer - - * string/Makefile (xtests): Add comment. - (LOCALES): Add en_GB.UTF-8. - (tst-strcoll-overflow.out): Depend on generated locales. - * string/tst-strcoll-overflow.c: Convert to support/test-driver.c. - (SIZE, TIMEOUT): Update comments. - (do_test): Define as static. Fail test if setlocale fails. - Return EXIT_UNSUPPORTED if insufficient memory. Enhance output - messages. - (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove. - TIMEOUT at 300 seconds should be enough to run this test - successfully. - -2017-01-24 Jakub Jelinek - - * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add - /* FALLTHRU */ comments. - -2017-01-24 James Clarke - - [BZ #21053] - * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R* - constants instead of the old R* ones. - * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise. - * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename... - (NGREG): ... to this, to fit in with other architectures. - (gpregset_t): Use new NGREG macro. - [__USE_GNU]: Remove condition; all architectures other than tile - are unconditional. - (R*): Rename to REG_R*. - -2017-01-20 DJ Delorie - - * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ... - (tunable_set_val_if_valid_range_signed) ... this, and ... - (tunable_set_val_if_valid_range_unsigned) ... this. - (tunable_initialize): Call the correct one of the above based on type. - -2017-01-20 Joseph Myers - - * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries. - * sysdeps/ia64/fpu/libm-test-ulps: Likewise. - * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise. - * sysdeps/microblaze/libm-test-ulps: Likewise. - * sysdeps/sh/libm-test-ulps: Likewise. - - * math/README.libm-test: Update list of characters for input and - output types. - -2017-01-20 Tulio Magno Quites Machado Filho - - * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c - (__lll_unlock_elision): Fix adapt_count decrement. - -2017-01-14 Martin Galvan - - * README.pretty-printers (Known issues): Warn about printers not - always covering everything. - * nptl/nptl-printers.py (MutexPrinter): Change output. - * nptl/test-mutex-printers.py: Fix test and adapt to changed output. - -2017-01-20 Stefan Liebler - - * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments. - * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise. - * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments. - (__lll_lock_elision): Do not test futex before starting a - transaction. Use __glibc_likely instead of __builtin_expect. - * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments. - (__lll_trylock_elision): Do not test futex before starting a - transaction. Use __glibc_likely instead of __builtin_expect. - -2017-01-20 Siddhesh Poyarekar - - * po/Makefile (update-translations): New target. - -2017-01-19 Joseph Myers - - [BZ #21061] - * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file. - -2017-01-19 Siddhesh Poyarekar - - * elf/dl-tunables (get_next_env): Always advance envp. - * stdlib/tst-empty-env.c: New test case. - * stdlib/Makefile (tests): Use it. - -2017-01-19 Joseph Myers - - [BZ #21047] - * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP - name for instruction. - [!__SOFTFP__] (_FPU_SETCW): Likewise. - -2017-01-18 Joseph Myers - - * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1 - for make install. - -2017-01-18 Siddhesh Poyarekar - - * po/bg.po: Merge from Translation Project. - * po/fr.po: Likewise. - * po/ko.po: Likewise. - * po/nl.po: Likewise. - * po/sv.po: Likewise. - -2017-01-18 Joseph Myers - - * manual/install.texi (Tools for Compilation): Update GCC version - known to work to build glibc. - * INSTALL: Regenerated. - -2017-01-17 Stefan Liebler - - [BZ #21006] - * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable. - -2017-01-16 Joseph Myers - - [BZ #21045] - * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S - (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored - to __sigprocmask. - -2017-01-16 Chris Metcalf - - * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer - wrap-around. - * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise. - - * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file. - -2016-01-14 Siddhesh Poyarekar - - * NEWS: Fix typo. - -2016-01-13 Torvald Riegel - - * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler - barriers and comments. - * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise. - * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise. - * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise. - -2016-01-13 Torvald Riegel - - [BZ #19402] - * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust - mutexes. - -2016-01-13 Torvald Riegel - - [BZ #20985] - * nptl/Makefile: Adapt. - * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove. - (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New. - * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove. - (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New. - (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt. - * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline - lll_robust* functions and adapt. - * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise. - * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait, - __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait, - __lll_robust_timedlock, __lll_robust_unlock): Remove. - * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock, - lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove. - * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock, - lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove. - * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait, - __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait, - __lll_robust_timedlock, __lll_robust_unlock): Remove. - * nptl/lowlevelrobustlock.c: Remove file. - * nptl/lowlevelrobustlock.sym: Likewise. - * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise. - * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise. - -2017-01-13 Tulio Magno Quites Machado Filho - - * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated. - -2017-01-12 Siddhesh Poyarekar - - * po/cs.po: Merge translations from the Translation Project. - * po/de.po: Likewise. - * po/pl.po: Likewise. - * po/ru.po: Likewise. - * po/tr.po: Likewise. - * po/uk.po: Likewise. - * po/vi.po: Likewise. - * po/zh_CN.po: Likewise. - -2017-01-12 Joseph Myers - - * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file. - - * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t - object. - -2017-01-11 Joseph Myers - - [BZ #16458] - * bits/uintn-identity.h: New file. - * inet/netinet/in.h: Include . - [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity. - [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity. - [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity. - [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity. - * string/endian.h: Include . - [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use - __uint16_identity. - [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise. - [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use - __uint32_identity. - [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise. - [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use - __uint64_identity. - [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise. - [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use - __uint16_identity. - [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise. - [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use - __uint32_identity. - [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise. - [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use - __uint64_identity. - [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise. - * string/Makefile (headers): Add bits/uintn-identity.h. - (tests): Add test-endian-types. - * string/test-endian-types.c: New file. - * inet/Makefile (tests): Add test-hnto-types. - * inet/test-hnto-types.c: New file. - -2016-01-11 Siddhesh Poyarekar - - * po/be.po: Update from Translation Project. - * po/bg.po: Likewise. - * po/ca.po: Likewise. - * po/cs.po: Likewise. - * po/da.po: Likewise. - * po/de.po: Likewise. - * po/el.po: Likewise. - * po/eo.po: Likewise. - * po/es.po: Likewise. - * po/fi.po: Likewise. - * po/fr.po: Likewise. - * po/gl.po: Likewise. - * po/hr.po: Likewise. - * po/hu.po: Likewise. - * po/ia.po: Likewise. - * po/id.po: Likewise. - * po/it.po: Likewise. - * po/ja.po: Likewise. - * po/ko.po: Likewise. - * po/lt.po: Likewise. - * po/nb.po: Likewise. - * po/nl.po: Likewise. - * po/pl.po: Likewise. - * po/pt_BR.po: Likewise. - * po/ru.po: Likewise. - * po/rw.po: Likewise. - * po/sk.po: Likewise. - * po/sl.po: Likewise. - * po/sv.po: Likewise. - * po/tr.po: Likewise. - * po/uk.po: Likewise. - * po/vi.po: Likewise. - * po/zh_CN.po: Likewise. - * po/zh_TW.po: Likewise. - -2017-01-11 Joseph Myers - - * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore - -Wformat-truncation instead of -Wformat-length. - * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise. - * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for - GCC 7. - * wcsmbs/tst-wcstof.c: Include . - (do_test): Ignore -Wformat-truncation for GCC 7. - - * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of - buffer used to print long int value. - - * elf/sotruss-lib.c (init): Increase space allocated for pid by - one byte. Print it with %ld, cast to long int. - -2017-01-11 Szabolcs Nagy - - * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition. - (re.fullmatch, subprocess.run): Likewise. - -2016-01-11 Siddhesh Poyarekar - - * po/libc.pot: Regenerate. - -2016-01-10 Siddhesh Poyarekar - - * elf/dl-tunables.c (tunables_unsetenv): Remove function. - (min_strlen): Likewise. - (disable_tunable): Likewise. - (maybe_disable_malloc_check): Rename to - maybe_enable_malloc_check. - (maybe_enable_malloc_check): Enable glibc.malloc.check tunable - if /etc/suid-debug file exists. - (__tunables_init): Update caller. - * elf/dl-tunables.list (glibc.malloc.check): Don't mark as - secure. - -2016-01-10 Torvald Riegel - - * nptl/DESIGN-rwlock.txt: Remove. - * nptl/lowlevelrwlock.sym: Remove. - * nptl/Makefile: Add new tests. - * nptl/pthread_rwlock_common.c: New file. Contains the new rwlock. - * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove. - (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED, - PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT, - PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER, - PTHREAD_RWLOCK_FUTEX_USED): New. - * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new - implementation. - * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove. - (__pthread_rwlock_rdlock): Adapt. - * nptl/pthread_rwlock_timedrdlock.c - (pthread_rwlock_timedrdlock): Adapt. - * nptl/pthread_rwlock_timedwrlock.c - (pthread_rwlock_timedwrlock): Adapt. - * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt. - * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt. - * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt. - * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove. - (__pthread_rwlock_wrlock): Adapt. - * nptl/tst-rwlock10.c: Adapt. - * nptl/tst-rwlock11.c: Adapt. - * nptl/tst-rwlock17.c: New file. - * nptl/tst-rwlock18.c: New file. - * nptl/tst-rwlock19.c: New file. - * nptl/tst-rwlock2b.c: New file. - * nptl/tst-rwlock8.c: Adapt. - * nptl/tst-rwlock9.c: Adapt. - * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt. - * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt. - * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt. - * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt. - * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt. - * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt. - * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt. - * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt. - * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt. - * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt. - * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt. - * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt. - * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h - (pthread_rwlock_t): Adapt. - * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h - (pthread_rwlock_t): Adapt. - * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt. - * nptl/nptl-printers.py (): Adapt. - * nptl/nptl_lock_constants.pysym: Adapt. - * nptl/test-rwlock-printers.py: Adapt. - * nptl/test-rwlockattr-printers.c: Adapt. - * nptl/test-rwlockattr-printers.py: Adapt. - -2017-01-10 Joseph Myers - - * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro. - (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests. - (fma_test_data): Likewise. - (hypot_test_data): Likewise. - (log1p_test_data): Likewise. - (modf_test_data): Likewise. - (pow_test_data): Likewise. - (remainder_test_data): Likewise. - (remquo_test_data): Likewise. - (scalb_test_data): Likewise. - (scalbn_test_data): Likewise. - (scalbln_test_data): Likewise. - * math/gen-libm-test.pl (parse_args): Transform - XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending - on the rounding mode. - -2017-01-09 Joseph Myers - - * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply - xfail-rounding:ibm128-libgcc automatically to tests overflowing - and those that can underflow to zero. - * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and - add others. - * math/auto-libm-test-out: Regenerated. - - * math/test-fenv.c (fe_tests): Skip most tests when exceptions not - supported. - (feholdexcept_tests): Skip tests requiring exceptions or rounding - modes support if not supported. - - * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64): - Add libc.so PLT entry. - (__tls_get_addr): Make ld.so PLT entry optional. - -2017-01-09 Adhemerval Zanella - - * string/bits/strings_fortified.h (explicit_bzero): Move back to .. - * string/bits/string3.h: ... here. - -2017-01-05 Joseph Myers - - [BZ #21028] - * math/fsetexcptflg.c (__fesetexceptflag): Always return 0. - * math/test-fexcept.c (test_set): Allow failure of feraiseexcept - if EXCEPTION_TESTS returns false. - -2017-01-05 Adhemerval Zanella - - [BZ #20558] - * string/bits/string3.h [__USE_MISC] (bcopy): Move to - strings_fortified.h. - [__USE_MISC] (bzero): Likewise. - [__USE_MISC] (explicit_bzero): Likewise. - * string/strings.h: Include strings_fortified.h. - * string/Makefile (headers): Add strings_fortified.h. - * string/bits/strings_fortified.h: New file. - * include/bits/strings_fortified.h: Likewise. - -2017-01-05 Joseph Myers - - * elf/tst-tls13.c (TIMEOUT): Remove. - * iconvdata/tst-loading.c (TIMEOUT): Likewise. - * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100. - * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100. - * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900. - * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300. - - [BZ #21026] - * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list - (readahead): New syscall entry. - -2017-01-04 Joseph Myers - - * string/tester.c (test_strncat): Disable -Wstringop-overflow= - around tests of strncat with large sizes. - - * malloc/tst-malloc.c: Include . - (do_test): Disable -Walloc-size-larger-than= around tests of - malloc with negative sizes. - * malloc/tst-mcheck.c: Include . - (do_test): Disable -Walloc-size-larger-than= around tests of - malloc and realloc with negative sizes. - * malloc/tst-realloc.c: Include . - (do_test): Disable -Walloc-size-larger-than= around tests of - realloc with negative sizes. - - * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro. - (init_max_error) [TEST_COND_ibm128]: Increase maximum error - allowed to 16 ulps. - * math/auto-libm-test-in: Change most XFAILs for ibm128 to use - ibm128-libgcc. XFAIL more tests for ibm128-libgcc. - * math/auto-libm-test-out: Regenerated. - -2017-01-04 Gabriel F. T. Gomes - - * math/Makefile (libm-calls): Move wrappers... - (libm-compat-call-auto): Here. - (libm-routines): Add items in libm-compat-calls-auto. - * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to - the filenames of the wrappers that have been renamed. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise. - - * math/w_acos.c: Add _compat suffix to filename. - * math/w_acosf.c: Likewise. - * math/w_acosh.c: Likewise. - * math/w_acoshf.c: Likewise. - * math/w_acoshl.c: Likewise. - * math/w_acosl.c: Likewise. - * math/w_asin.c: Likewise. - * math/w_asinf.c: Likewise. - * math/w_asinl.c: Likewise. - * math/w_atan2.c: Likewise. - * math/w_atan2f.c: Likewise. - * math/w_atan2l.c: Likewise. - * math/w_atanh.c: Likewise. - * math/w_atanhf.c: Likewise. - * math/w_atanhl.c: Likewise. - * math/w_cosh.c: Likewise. - * math/w_coshf.c: Likewise. - * math/w_coshl.c: Likewise. - * math/w_exp10.c: Likewise. - * math/w_exp10f.c: Likewise. - * math/w_exp10l.c: Likewise. - * math/w_exp2.c: Likewise. - * math/w_exp2f.c: Likewise. - * math/w_exp2l.c: Likewise. - * math/w_fmod.c: Likewise. - * math/w_fmodf.c: Likewise. - * math/w_fmodl.c: Likewise. - * math/w_hypot.c: Likewise. - * math/w_hypotf.c: Likewise. - * math/w_hypotl.c: Likewise. - * math/w_j0.c: Likewise. - * math/w_j0f.c: Likewise. - * math/w_j0l.c: Likewise. - * math/w_j1.c: Likewise. - * math/w_j1f.c: Likewise. - * math/w_j1l.c: Likewise. - * math/w_jn.c: Likewise. - * math/w_jnf.c: Likewise. - * math/w_jnl.c: Likewise. - * math/w_log10.c: Likewise. - * math/w_log10f.c: Likewise. - * math/w_log10l.c: Likewise. - * math/w_log2.c: Likewise. - * math/w_log2f.c: Likewise. - * math/w_log2l.c: Likewise. - * math/w_log.c: Likewise. - * math/w_logf.c: Likewise. - * math/w_logl.c: Likewise. - * math/w_pow.c: Likewise. - * math/w_powf.c: Likewise. - * math/w_powl.c: Likewise. - * math/w_remainder.c: Likewise. - * math/w_remainderf.c: Likewise. - * math/w_remainderl.c: Likewise. - * math/w_scalb.c: Likewise. - * math/w_scalbf.c: Likewise. - * math/w_scalbl.c: Likewise. - * math/w_sinh.c: Likewise. - * math/w_sinhf.c: Likewise. - * math/w_sinhl.c: Likewise. - * math/w_sqrt.c: Likewise. - * math/w_sqrtf.c: Likewise. - * math/w_sqrtl.c: Likewise. - * math/w_tgamma.c: Likewise. - * math/w_tgammaf.c: Likewise. - * math/w_tgammal.c: Likewise. - - * math/w_acos_compat.c: New file copied from above and - adjusted for new #includes path - * math/w_acosf_compat.c: Likewise. - * math/w_acosh_compat.c: Likewise. - * math/w_acoshf_compat.c: Likewise. - * math/w_acoshl_compat.c: Likewise. - * math/w_acosl_compat.c: Likewise. - * math/w_asin_compat.c: Likewise. - * math/w_asinf_compat.c: Likewise. - * math/w_asinl_compat.c: Likewise. - * math/w_atan2_compat.c: Likewise. - * math/w_atan2f_compat.c: Likewise. - * math/w_atan2l_compat.c: Likewise. - * math/w_atanh_compat.c: Likewise. - * math/w_atanhf_compat.c: Likewise. - * math/w_atanhl_compat.c: Likewise. - * math/w_cosh_compat.c: Likewise. - * math/w_coshf_compat.c: Likewise. - * math/w_coshl_compat.c: Likewise. - * math/w_exp10_compat.c: Likewise. - * math/w_exp10f_compat.c: Likewise. - * math/w_exp10l_compat.c: Likewise. - * math/w_exp2_compat.c: Likewise. - * math/w_exp2f_compat.c: Likewise. - * math/w_exp2l_compat.c: Likewise. - * math/w_fmod_compat.c: Likewise. - * math/w_fmodf_compat.c: Likewise. - * math/w_fmodl_compat.c: Likewise. - * math/w_hypot_compat.c: Likewise. - * math/w_hypotf_compat.c: Likewise. - * math/w_hypotl_compat.c: Likewise. - * math/w_j0_compat.c: Likewise. - * math/w_j0f_compat.c: Likewise. - * math/w_j0l_compat.c: Likewise. - * math/w_j1_compat.c: Likewise. - * math/w_j1f_compat.c: Likewise. - * math/w_j1l_compat.c: Likewise. - * math/w_jn_compat.c: Likewise. - * math/w_jnf_compat.c: Likewise. - * math/w_jnl_compat.c: Likewise. - * math/w_log10_compat.c: Likewise. - * math/w_log10f_compat.c: Likewise. - * math/w_log10l_compat.c: Likewise. - * math/w_log2_compat.c: Likewise. - * math/w_log2f_compat.c: Likewise. - * math/w_log2l_compat.c: Likewise. - * math/w_log_compat.c: Likewise. - * math/w_logf_compat.c: Likewise. - * math/w_logl_compat.c: Likewise. - * math/w_pow_compat.c: Likewise. - * math/w_powf_compat.c: Likewise. - * math/w_powl_compat.c: Likewise. - * math/w_remainder_compat.c: Likewise. - * math/w_remainderf_compat.c: Likewise. - * math/w_remainderl_compat.c: Likewise. - * math/w_scalb_compat.c: Likewise. - * math/w_scalbf_compat.c: Likewise. - * math/w_scalbl_compat.c: Likewise. - * math/w_sinh_compat.c: Likewise. - * math/w_sinhf_compat.c: Likewise. - * math/w_sinhl_compat.c: Likewise. - * math/w_sqrt_compat.c: Likewise. - * math/w_sqrtf_compat.c: Likewise. - * math/w_sqrtl_compat.c: Likewise. - * math/w_tgamma_compat.c: Likewise. - * math/w_tgammaf_compat.c: Likewise. - * math/w_tgammal_compat.c: Likewise. - - * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename. - * sysdeps/ia64/fpu/w_sqrtl.c: Likewise. - * sysdeps/ia64/fpu/w_acosl.c: Likewise. - * sysdeps/ia64/fpu/w_sqrtf.c: Likewise. - * sysdeps/ia64/fpu/w_sqrt.c: Likewise. - * sysdeps/ia64/fpu/w_sinhl.c: Likewise. - * sysdeps/ia64/fpu/w_acosf.c: Likewise. - * sysdeps/ia64/fpu/w_sinhf.c: Likewise. - * sysdeps/ia64/fpu/w_sinh.c: Likewise. - * sysdeps/ia64/fpu/w_scalbl.c: Likewise. - * sysdeps/ia64/fpu/w_scalbf.c: Likewise. - * sysdeps/ia64/fpu/w_scalb.c: Likewise. - * sysdeps/ia64/fpu/w_remainderl.c: Likewise. - * sysdeps/ia64/fpu/w_remainderf.c: Likewise. - * sysdeps/ia64/fpu/w_remainder.c: Likewise. - * sysdeps/ia64/fpu/w_powl.c: Likewise. - * sysdeps/ia64/fpu/w_powf.c: Likewise. - * sysdeps/ia64/fpu/w_pow.c: Likewise. - * sysdeps/ia64/fpu/w_logl.c: Likewise. - * sysdeps/ia64/fpu/w_logf.c: Likewise. - * sysdeps/ia64/fpu/w_log2l.c: Likewise. - * sysdeps/ia64/fpu/w_log2f.c: Likewise. - * sysdeps/ia64/fpu/w_log2.c: Likewise. - * sysdeps/ia64/fpu/w_log10l.c: Likewise. - * sysdeps/ia64/fpu/w_log10f.c: Likewise. - * sysdeps/ia64/fpu/w_log10.c: Likewise. - * sysdeps/ia64/fpu/w_log.c: Likewise. - * sysdeps/ia64/fpu/w_hypotl.c: Likewise. - * sysdeps/ia64/fpu/w_hypotf.c: Likewise. - * sysdeps/ia64/fpu/w_hypot.c: Likewise. - * sysdeps/ia64/fpu/w_fmodl.c: Likewise. - * sysdeps/ia64/fpu/w_fmodf.c: Likewise. - * sysdeps/ia64/fpu/w_fmod.c: Likewise. - * sysdeps/ia64/fpu/w_exp2l.c: Likewise. - * sysdeps/ia64/fpu/w_exp2f.c: Likewise. - * sysdeps/ia64/fpu/w_exp2.c: Likewise. - * sysdeps/ia64/fpu/w_exp10l.c: Likewise. - * sysdeps/ia64/fpu/w_exp10f.c: Likewise. - * sysdeps/ia64/fpu/w_exp10.c: Likewise. - * sysdeps/ia64/fpu/w_coshl.c: Likewise. - * sysdeps/ia64/fpu/w_coshf.c: Likewise. - * sysdeps/ia64/fpu/w_cosh.c: Likewise. - * sysdeps/ia64/fpu/w_atanhl.c: Likewise. - * sysdeps/ia64/fpu/w_atanhf.c: Likewise. - * sysdeps/ia64/fpu/w_atanh.c: Likewise. - * sysdeps/ia64/fpu/w_atan2l.c: Likewise. - * sysdeps/ia64/fpu/w_atan2f.c: Likewise. - * sysdeps/ia64/fpu/w_atan2.c: Likewise. - * sysdeps/ia64/fpu/w_asinl.c: Likewise. - * sysdeps/ia64/fpu/w_asinf.c: Likewise. - * sysdeps/ia64/fpu/w_asin.c: Likewise. - * sysdeps/ia64/fpu/w_acoshl.c: Likewise. - * sysdeps/ia64/fpu/w_acoshf.c: Likewise. - * sysdeps/ia64/fpu/w_acosh.c: Likewise. - * sysdeps/ia64/fpu/w_acos.c: Likewise. - * sysdeps/ia64/fpu/w_tgamma.S: Likewise. - * sysdeps/ia64/fpu/w_tgammaf.S: Likewise. - * sysdeps/ia64/fpu/w_tgammal.S: Likewise. - * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: - Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: - Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: - Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: - Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise. - * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise. - * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise. - * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise. - * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise. - * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise. - * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise. - - * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above - and adjusted for new #includes path - * sysdeps/ia64/fpu/w_acos_compat.c: Likewise. - * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise. - * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise. - * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise. - * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise. - * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise. - * sysdeps/ia64/fpu/w_asin_compat.c: Likewise. - * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise. - * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise. - * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise. - * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise. - * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise. - * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise. - * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise. - * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise. - * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise. - * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise. - * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise. - * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise. - * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise. - * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise. - * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise. - * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise. - * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise. - * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise. - * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise. - * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise. - * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise. - * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise. - * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise. - * sysdeps/ia64/fpu/w_log10_compat.c: Likewise. - * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise. - * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise. - * sysdeps/ia64/fpu/w_log2_compat.c: Likewise. - * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise. - * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise. - * sysdeps/ia64/fpu/w_log_compat.c: Likewise. - * sysdeps/ia64/fpu/w_logf_compat.c: Likewise. - * sysdeps/ia64/fpu/w_logl_compat.c: Likewise. - * sysdeps/ia64/fpu/w_pow_compat.c: Likewise. - * sysdeps/ia64/fpu/w_powf_compat.c: Likewise. - * sysdeps/ia64/fpu/w_powl_compat.c: Likewise. - * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise. - * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise. - * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise. - * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise. - * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise. - * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise. - * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise. - * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise. - * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise. - * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise. - * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise. - * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise. - * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise. - * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise. - * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise. - * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S: - Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S: - Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c: - Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S: - Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S: - Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c: - Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise. - * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise. - * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise. - * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise. - * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S: - Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S: - Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S: - Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S: - Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise. - * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise. - * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise. - -2017-01-04 Joseph Myers - - * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag - __jmp_buf_internal_tag. - - * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always - preserve NaN payload if [__mips_nan2008]. - * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise. - - [BZ #21022] - * sysdeps/microblaze/backtrace.c (get_frame_size): Make static. - -2017-01-03 Joseph Myers - - * sysdeps/i386/fpu/libm-test-ulps: Update. - -2017-01-03 Adhemerval Zanella - - * sysdeps/ia64/strcat.c: Remove file. - * sysdeps/powerpc/strcat.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default - C implementation. - * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise. - -2017-01-03 Rajalakshmi Srinivasaraghavan - Steven Munroe - Tulio Magno Quites Machado Filho - - [BZ #20822] - * sysdeps/unix/sysv/linux/powerpc/elision-lock.c - (__lll_lock_elision): Access adapt_count via C11 atomics. - * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c - (__lll_trylock_elision): Likewise. - * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c - (__lll_unlock_elision): Update adapt_count variable inside the - critical section using C11 atomics. - -2017-01-03 Joseph Myers - - * math/test-fenvinline.c (do_test): Disable tests of raised - exceptions if !EXCEPTION_TESTS (FLOAT). - -2017-01-03 Adhemerval Zanella - - [BZ #19390] - * string/test-strncat.c (test_main): Add tests with SIZE_MAX as - maximum string size. - * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow - in pointer addition. - * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY): - Likewise. - -2017-01-03 Joseph Myers - - * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments - passed to tst-ldconfig-X.sh. - -2017-01-03 Martin Galvan - - * nptl/nptl-printers.py: Fix tabs/spaces mismatches. - -2017-01-02 Joseph Myers - - [BZ #21019] - * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64): - New syscall entry. - * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file. - * io/test-lfs.c (do_test): Test offset returned from lseek64 and - lseek. - - * scripts/build-many-glibcs.py (Context.add_all_configs): Add - power4 glibc for powerpc-linux-gnu. - -2017-01-02 Adhemerval Zanella - - * sysvipc/test-sysvsem.c (do_test): Define and use union semun on - semctl. - -2017-01-02 Joseph Myers - - * math/test-nearbyint-except.c: Include . - (any_supported): New variable. - (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT). Otherwise - set any_supported. - (do_test): Return 77 if no floating-point type supported - exceptions. - - * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not - condition on [__mips_hard_float]. - -2017-01-02 Adhemerval Zanella - - [BZ #21014] - * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow - in pointer addition. - * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise. - -2017-01-02 Torvald Riegel - - * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to - new condvar. - -2017-01-02 Joseph Myers - - * scripts/build-many-glibcs.py (Context.checkout): Default - binutils version to 2.28 branch. - -2017-01-01 Florian Weimer - - * support/support_format_netent.c (support_format_netent): Work - around alpha struct netent definition difference. - -2017-01-01 Florian Weimer - - * support/xwrite.c (xwrite): Use %td for pointer difference. - -2017-01-01 Florian Weimer - - * malloc/Makefile (tests): Add tst-malloc-usable-tunables for - have-tunables only. - (tests-static): Add tst-malloc-usable-static-tunables for - have-tunables only. - -2017-01-01 Joseph Myers - - * scripts/config.guess: Update to version 2017-01-01. - * scripts/config.sub: Update to version 2017-01-01. - - * NEWS: Update copyright dates. - * catgets/gencat.c (print_version): Likewise. - * csu/version.c (banner): Likewise. - * debug/catchsegv.sh: Likewise. - * debug/pcprofiledump.c (print_version): Likewise. - * debug/xtrace.sh (do_version): Likewise. - * elf/ldconfig.c (print_version): Likewise. - * elf/ldd.bash.in: Likewise. - * elf/pldd.c (print_version): Likewise. - * elf/sotruss.sh: Likewise. - * elf/sprof.c (print_version): Likewise. - * iconv/iconv_prog.c (print_version): Likewise. - * iconv/iconvconfig.c (print_version): Likewise. - * locale/programs/locale.c (print_version): Likewise. - * locale/programs/localedef.c (print_version): Likewise. - * login/programs/pt_chown.c (print_version): Likewise. - * malloc/memusage.sh (do_version): Likewise. - * malloc/memusagestat.c (print_version): Likewise. - * malloc/mtrace.pl: Likewise. - * manual/libc.texinfo: Likewise. - * nptl/version.c (banner): Likewise. - * nscd/nscd.c (print_version): Likewise. - * nss/getent.c (print_version): Likewise. - * nss/makedb.c (print_version): Likewise. - * posix/getconf.c (main): Likewise. - * scripts/test-installation.pl: Likewise. - * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise. - - * All files with FSF copyright notices: Update copyright dates - using scripts/update-copyrights. - * intl/plural.c: Regenerated. - * locale/programs/charmap-kw.h: Likewise. - * locale/programs/locfile-kw.h: Likewise. - -2016-12-31 Florian Weimer - - [BZ #20593] - Update DNS RR type definitions. - * scripts/gen-rrtypes.py: New file. - * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a - BIND-internal RR type not used on the Internet. Add ns_t_ds, - ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey, - ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea, - ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds, - ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo, - ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64, - ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc, - ns_t_ta, ns_t_dlv. - * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT) - (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY) - (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO) - (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF) - (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP) - (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV): - Define. - * resolv/res_debug.c (__p_type_syms): Update comment. Remove - entry for ns_t_zxfr. - -2016-12-31 Florian Weimer - - [BZ #18784] - CVE-2015-5180 - * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from - T_UNSPEC. Adjust value. - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it. - * resolv/res_query.c (__libc_res_nquery): Likewise. - * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range - QTYPEs. - * resolv/tst-resolv-qtypes.c: New file. - * resolv/Makefile (xtests): Add tst-resolv-qtypes. - (tst-resolv-qtypes): Link against libresolv and libpthread. - -2016-12-31 Florian Weimer - - * elf/dl-tunables.h (__tunables_init): Fix unused attribute. - -2016-12-31 Siddhesh Poyarekar - - * manual/tunables.texi: New chapter. - * manual/Makefile (chapters): Add it. - * manual/probes.texi (@node): Point to the Tunables chapter. - - * Makeconfig (have-tunables): Check for non-negative instead - of positive. - * configure.ac: Add 'valstring' as a valid value for - --enable-tunables. - * configure: Regenerate. - * elf/Makefile (have-tunables): Check for non-negative instead - of positive. - (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for - dl-tunables.c. - * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when - TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring. - (tunables_strdup): Likewise. - (disable_tunables): Likewise. - (parse_tunables): Likewise. - (__tunables_init): Process GLIBC_TUNABLES envvar only when. - TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring. - * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro. - (TUNABLES_FRONTEND_yes): New macro, define as - TUNABLES_FRONTEND_valstring by default. - * manual/install.texi: Document new acceptable values for - --enable-tunables. - * INSTALL: Regenerate. - - * config.make.in (have-loop-to-function): Define. - * elf/Makefile (CFLAGS-dl-tunables.c): Add - -fno-tree-loop-distribute-patterns. - * elf/dl-tunables.c: Include libc-internals.h. - (GLIBC_TUNABLES): New macro. - (tunables_strdup): New function. - (parse_tunables): New function. - (min_strlen): New function. - (__tunables_init): Use the new functions and macro. - (disable_tunable): Disable tunable from GLIBC_TUNABLES. - * malloc/tst-malloc-usable-tunables.c: New test case. - * malloc/tst-malloc-usable-static-tunables.c: New test case. - * malloc/Makefile (tests, tests-static): Add tests. - - * manual/install.texi: Add --enable-tunables option. - * INSTALL: Regenerate. - * README.tunables: New file. - * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE. - (before-compile): Generate dl-tunable-list.h early. - * config.h.in: Add HAVE_TUNABLES. - * config.make.in: Add have-tunables. - * configure.ac: Add --enable-tunables option. - * configure: Regenerate. - * csu/init-first.c (__libc_init_first): Move - __libc_init_secure earlier... - * csu/init-first.c (LIBC_START_MAIN):... to here. - Include dl-tunables.h, libc-internal.h. - (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static - binaries. - * elf/Makefile (dl-routines): Add dl-tunables. - * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE - namespace. - * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_ - only when !HAVE_TUNABLES. - * elf/rtld.c (process_envvars): Likewise. - * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h - (_dl_sysdep_start): Call __tunables_init. - * elf/dl-tunable-types.h: New file. - * elf/dl-tunables.c: New file. - * elf/dl-tunables.h: New file. - * elf/dl-tunables.list: New file. - * malloc/tst-malloc-usable-static.c: New test case. - * malloc/Makefile (tests-static): Add it. - * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h. - Define TUNABLE_NAMESPACE. - (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function. - (DL_TUNABLE_CALLBACK_FNDECL): New macro. Use it to define - callback functions. - (ptmalloc_init): Set tunable values. - * scripts/gen-tunables.awk: New file. - * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h. - (_dl_sysdep_start): Call __tunables_init. - -2016-12-31 Florian Weimer - - * resolv/resolv.h (RES_BLAST): Deprecate. - * resolv/res_debug.c (p_option): Remove RES_BLAST. - * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference - to RES_BLAST. - -2016-12-27 Florian Weimer - - [BZ #19582] - Deprecate RES_USE_INET6. - * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r) - (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r) - (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of - RES_USE_INET6. - * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r) - (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r) - (_nss_nisplus_gethostbyaddr_r): Likewise. - * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead - of res_use_inet6. - * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6 - instead of RES_USE_INET6. - * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise. - * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE) - (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r): - Likewise. - * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname) - (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname): - Likewise. - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r) - (_nss_dns_gethostbyname_r): Likewise. - (_nss_dns_gethostbyaddr2_r): Remove commented-out code for - alternate RES_USE_INET6 handling. - * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6 - instead of RES_USE_INET6. - * resolv/res_init.c (res_setoptions): Likewise. - * resolv/resolv.h (RES_USE_INET6): Mark as deprecated. - * resolv/resolv-internal.h: New file. - * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to - make the deprecation warning non-fatal. - * resolv/README (Using the resolver in multi-threaded code): Drop - reference to RES_USE_INET6. - * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use - DEPRECATED_RES_USE_INET6 instead of res_use_inet6. - -2016-12-31 Florian Weimer - - * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp, - tst-res_use_inet6, tst-resolv-basic, tst-resolv-network, - tst-resolv-search. - (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6) - (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link - with libresolv and libpthread. - * resolv/tst-bug18665.c: New file. - * resolv/tst-bug18665-tcp: Likewise. - * resolv/tst-res_use_inet6: Likewise. - * resolv/tst-resolv-basic: Likewise. - * resolv/tst-resolv-network: Likewise. - * resolv/tst-resolv-search: Likewise. - * support/Makefile (libsupport-routines): Add check_addrinfo, - check_dns_packet, check_hostent, check_netent, resolv_test, - support_format_address_family, support_format_addrinfo, - support_format_dns_packet, support_format_herrno, - support_format_hostent, support_format_netent, support_run_diff, - xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten, - xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt, - xstrdup, xwrite. - * support/check_addrinfo.c: New file. - * support/check_dns_packet.c: Likewise. - * support/check_hostent.c: Likewise. - * support/check_netent.c: Likewise. - * support/check_nss.h: Likewise. - * support/format_nss.h: Likewise. - * support/resolv_test.c: Likewise. - * support/resolv_test.h: Likewise. - * support/run_diff.h: Likewise. - * support/support_format_address_family.c: Likewise. - * support/support_format_addrinfo.c: Likewise. - * support/support_format_dns_packet.c: Likewise. - * support/support_format_herrno.c: Likewise. - * support/support_format_hostent.c: Likewise. - * support/support_format_netent.c: Likewise. - * support/support_run_diff.c: Likewise. - * support/xaccept.c: Likewise. - * support/xbind.c: Likewise. - * support/xconnect.c: Likewise. - * support/xfclose.c: Likewise. - * support/xfopen.c: Likewise. - * support/xgetsockname.c: Likewise. - * support/xlisten.c: Likewise. - * support/xmemstream.c: Likewise. - * support/xmemstream.h: Likewise. - * support/xpoll.c: Likewise. - * support/xpthread_once.c: Likewise. - * support/xrecvfrom.c: Likewise. - * support/xsendto.c: Likewise. - * support/xsetsockopt.c: Likewise. - * support/xstdio.h: Likewise. - * support/xstrdup.c: Likewise. - * support/support.h (xstrdup): Declare. - * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind) - (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise. - * support/xthread.h (xpthread_once): Likwise. - * support/xunistd.h (xwrite): Declare. - -2016-12-31 Florian Weimer - - * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose. - (test_verbose): Declare. - * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS. - * support/support_test_main.c (default_options): Likewise. - (usage, support_test_main): Handle 'v'. - (test_verbose): Define. - * support/tst-support_record_failure.c (do_test): Use - test_verbose. - * support/tst-support_record_failure-2.sh (different_status): Add - --verbose test. - -2016-12-31 Florian Weimer - - * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that - test failures are recorded. - * support/check.c (support_print_failure_impl): Call - support_record_failure. - (support_exit_failure_impl): Call support_record_failure if status - indicates failure. - * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1. - * support/xasprintf.c (xasprintf): Likewise. - * support/xfork.c (xfork): Likewise. - * support/xpthread_check_return.c (xpthread_check_return): - Likewise. - * support/xsocket.c (xsocket): Likeweise. - * support/xwaitpid.c (xwaitpid): Likewise. - * support/support_record_failure.c (struct test_failures): Adjust - to coding style. - * support/support_test_verify_impl.c (support_test_verify_impl): - Adjust error messages. - * support/tst-support_record_failure-2.sh (different_status): - Adjust error messages. - -2016-12-31 Florian Weimer - - * support/namespace.h: New file. - * support/support_become_root.c: Likewise. - * support/support_enter_network_namespace.c: Likewise. - * support/tst-support-namespace.c: Likewise. - * support/xsocket.c: Likewise. - * support/xsocket.h: Likewise. - * support/Makefile (libsupport-routines): Add support_become_root, - support_enter_network_namespace, xsocket. - (tests): Add tst-support-namespace. - -2016-12-31 Florian Weimer - - [BZ #17252] - * posix/unistd.h (getentropy): Declare for __USE_MISC, not just - __USE_GNU. - -2016-12-31 Torvald Riegel - - [BZ #13165] - * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to - use new algorithm. - * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise. - * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise. - * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise. - * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise. - (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c. - (__condvar_confirm_wakeup, __condvar_cancel_waiting, - __condvar_cleanup_waiting, __condvar_dec_grefs, - __pthread_cond_wait_common): New. - (__condvar_cleanup): Remove. - * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt. - * npt/pthread_condattr_setclock.c (pthread_condattr_setclock): - Likewise. - * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared): - Likewise. - * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise. - * nptl/tst-cond1.c: Add comment. - * nptl/tst-cond20.c (do_test): Adapt. - * nptl/tst-cond22.c (do_test): Likewise. - * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt - structure. - * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise. - * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise. - * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise. - * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t): - Likewise. - * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise. - * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise. - * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise. - * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise. - * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t): - Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t): - Likewise. - * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise. - * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove. - (COND_CLOCK_BITS): Adapt. - * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt. - * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK, - __PTHREAD_COND_SHARED_MASK): New. - * nptl/nptl-printers.py (CLOCK_IDS): Remove. - (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt. - * nptl/nptl_lock_constants.pysym: Adapt. - * nptl/test-cond-printers.py: Adapt. - * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear, - cond_compat_check_and_clear): Adapt. - * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ... - * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c - (__pthread_cond_timedwait): ... and move here. - * nptl/DESIGN-condvar.txt: Remove file. - * nptl/lowlevelcond.sym: Likewise. - * nptl/pthread_cond_timedwait.c: Likewise. - * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise. - * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise. - * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise. - * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise. - * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise. - * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise. - * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise. - * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise. - * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise. - * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise. - * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise. - * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise. - * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise. - * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise. - * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise. - * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise. - -2016-12-31 Joseph Myers - - * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] - (fromfp): New declaration. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise. - * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise. - * math/math.h: Include . - [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum - constant and macro. - (FP_INT_DOWNWARD): Likewise. - (FP_INT_TOWARDZERO): Likewise. - (FP_INT_TONEARESTFROMZERO): Likewise. - (FP_INT_TONEAREST): Likewise. - * math/Versions (fromfp): New libm symbol at version GLIBC_2.25. - (fromfpf): Likewise. - (fromfpl): Likewise. - (ufromfp): Likewise. - (ufromfpf): Likewise. - (ufromfpl): Likewise. - (fromfpx): Likewise. - (fromfpxf): Likewise. - (fromfpxl): Likewise. - (ufromfpx): Likewise. - (ufromfpxf): Likewise. - (ufromfpxl): Likewise. - * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF, - s_fromfpxF and s_ufromfpxF. - * math/gen-fromfp-tests.py: New file. - * math/gen-fromfp-tests-inputs: Likewise. - * math/libm-test.inc: Include - (check_intmax_t): New function. - (check_uintmax_t): Likewise. - (struct test_fiu_M_data): New type. - (struct test_fiu_U_data): Likewise. - (RUN_TEST_fiu_M): New macro. - (RUN_TEST_LOOP_fiu_M): Likewise. - (RUN_TEST_fiu_U): Likewise. - (RUN_TEST_LOOP_fiu_U): Likewise. - (fromfp_test_data): New array. - (fromfp_test): New function. - (fromfpx_test_data): New array. - (fromfpx_test): New function. - (ufromfp_test_data): New array. - (ufromfp_test): New function. - (ufromfpx_test_data): New array. - (ufromfpx_test): New function. - (main): Call fromfp_test, fromfpx_test, ufromfp_test and - ufromfpx_test. - * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor - characters. - * math/test-tgmath-ret.c: Include . - (rm): New variable. - (width): Likewise. - (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to - called function. - (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to - CHECK_RET_CONST_TYPE. - (CHECK_RET_CONST_DOUBLE): Likewise. - (CHECK_RET_CONST_LDOUBLE): Likewise. - (CHECK_RET_CONST): Take extra arguments and pass them to calls - macros. - (fromfp): New CHECK_RET_CONST call. - (ufromfp): Likewise. - (fromfpx): Likewise. - (ufromfpx): Likewise. - (do_test): Call check_return_fromfp, check_return_ufromfp, - check_return_fromfpx and check_return_ufromfpx. - * math/test-tgmath.c: Include - (NCALLS): Increase to 138. - (F(compile_test)): Initialize i. Call fromfp functions. - (F(fromfp)): New function. - (F(fromfpx)): Likewise. - (F(ufromfp)): Likewise. - (F(ufromfpx)): Likewise. - * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD, - FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO, - FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf, - ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and - ufromfpxl. - * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx, - ufromfp and ufromfpx. - * math/fromfp.h: New file. - * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise. - * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise. - * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise. - * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise. - * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise. - * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise. - * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise. - * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise. - * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise. - * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise. - * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp, - ufromfp, fromfpx and ufromfpx. - (CFLAGS-nldbl-fromfp.c): New variable. - (CFLAGS-nldbl-fromfpx.c): Likewise. - (CFLAGS-nldbl-ufromfp.c): Likewise. - (CFLAGS-nldbl-ufromfpx.c): Likewise. - * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include . - * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise. - * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise. - * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise. - * sysdeps/nacl/libm.abilist: Update. - * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise. - -2016-12-30 Florian Weimer - - * resolv/Makefile (libresolv-routines): Rename gethnamaddr to - compat-gethnamaddr. - (CPPFLAGS): Remove. - * resolv/gethnamaddr.c: Rename ... - * resolv/compat-gethnamaddr.c: ... to this file. - (_endhtent): Make static. - (res_gethostbyname): Renamed from gethostbyname. Turn into compat - symbol. - (res_gethostbyname2): Renamed from gethostbyname2. Turn into - compat symbol. - (res_gethostbyaddr): Renamed from gethostbyaddr. Turn into compat - symbol. - (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr): - Turn into compat symbol. - * include/resolv.h (_endhtent): Remove declaration. - -2016-12-30 Joseph Myers - - * bits/types.h (__intmax_t): New typedef. - (__uintmax_t): Likewise. - * sysdeps/generic/stdint.h: Include . - (intmax_t): Define using __intmax_t. - (uintmax_t): Define using __uintmax_t. - - * support/Makefile (tests-special): Make definition conditional on - [$(run-built-tests) = yes]. - ($(objpfx)tst-support_record_failure-2.out): Make rule conditional - on [$(run-built-tests) = yes]. - -2016-12-30 Siddhesh Poyarekar - - * Rules (tests): Add tests-printers-programs to tests to be - built. - -2016-12-28 Adhemerval Zanella - - * sysvipc/Makefile (tests): Add test-sysvshm. - * sysvipc/test-sysvshm.c: New file. - - * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove. - * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise. - * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise. - * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise. - * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise. - * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget): - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget): - Likewise. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise. - * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it - is defined. - - * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove. - * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise. - * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise. - * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise. - * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise. - * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt): - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt): - Likewise. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise. - * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is - defined. - - * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove - oldshmctl. - * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove. - * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise. - * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise. - * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise. - * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise. - * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl): - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl): - Likewise. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise. - * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file. - * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise. - * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default - implementation. - * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall - if it is defined. - - * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove. - * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise. - * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise. - * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise. - * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise. - * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat): - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat): - Likewise. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise. - * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat): - Define to __NR_osf_shmat. - * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is - defined. - - * sysvipc/Makefile (tests): Add test-sysvsem. - * sysvipc/test-sysvsem.c: New file. - - * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove. - * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise. - * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop): - Likewise. - * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise. - * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise. - * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop): - Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop): - Likewise. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise. - * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file. - * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and - add a comment about s390 syscall difference from default one. - * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop - syscall if it is defined. - - * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove. - * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise. - * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise. - * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise. - * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise. - * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop): - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop): - Likewise. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise. - * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is - defined. - - * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove. - * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise. - * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise. - * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise. - * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise. - * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget): - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget): - Likewise. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise. - * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall - if it is defined. - - * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove - oldsemctl. - * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file. - * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise. - * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf - implementation. - * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl - syscall if it is defined. - * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove. - * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise. - * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise. - * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl): - Likewise. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise. - - * sysvipc/Makefile (tests): Add test-sysvmsg. - * sysvipc/test-sysvmsg.c: New file. - * support/check.h (FAIL_UNSUPPORTED): New define. - - * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove. - * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise. - * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise. - * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise. - * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise. - * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget): - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget): - Likewise. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise. - * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if - define. - - * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove. - * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise. - * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise. - * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise. - * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise. - * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd): - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd): - Likewise. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise. - * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall - if defined. - - * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove. - * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise. - * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise. - * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise. - * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise. - * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl): - Likewise. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise, - * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl): - Likewise. - * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall - if defined. - * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file. - - * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove - oldmsgctl. - * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file. - * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise. - * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove. - * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise. - * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise. - * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl): - Likewise. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default - implementation. - * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall - if defined. - - * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file. - * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch - definition and define its own. - * sysdeps/unix/sysv/linux/ipc_ops.h: New file. - * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise. - * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file. - * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file. - * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation - definitions to common header. - * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall - operation from ipc_ops.h. - - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define. - * sysdeps/unix/sysv/linux/i386/kernel-features.h - (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef. - * sysdeps/unix/sysv/linux/m68k/kernel-features.h - (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise. - * sysdeps/unix/sysv/linux/mips/kernel-features.h - (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise. - * sysdeps/unix/sysv/linux/powerpc/kernel-features.h - (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise. - * sysdeps/unix/sysv/linux/s390/kernel-features.h - (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise. - * sysdeps/unix/sysv/linux/sh/kernel-features.h - (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise. - * sysdeps/unix/sysv/linux/sparc/kernel-features.h - (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise. - -2016-12-28 Tulio Magno Quites Machado Filho - - * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an - overflow in pointer addition. - -2016-12-28 Rajalakshmi Srinivasaraghavan - - * sysdeps/powerpc/powerpc64/multiarch/Makefile - (sysdep_routines): Add strchr-power8 and strchrnul_power8. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c - (strchr): Add __strchr_power8 to list of strchr functions. - (strchrnul): Add __strchrnul_power8 to list of strchr functions. - * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/strchr.c - (strchr): Add __strchr_power8 to ifunc list. - * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c - (__strchrnul): Add __strchrnul_power8 to ifunc list. - * sysdeps/powerpc/powerpc64/power8/strchr.S: New file. - * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file. - -2016-12-28 Florian Weimer - - * support/Makefile (libsupport-routines): Add - support_test_verify_impl, support_record_failure, xfork, xwaitpid. - (tests): Add tst-support_record_failure. - (tests-special): tst-support_record_failure-2. - (tst-support_record_failure-2.out): Depend on - tst-support_record_failure-2.sh and tst-support_record_failure. - * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define. - (support_test_verify_impl, support_record_failure) - (support_report_failure, support_report_failure_reset): Declare. - * support/support_test_main.c (adjust_exit_status): New function. - (support_test_main): Call it to incorporate record test failures. - * support/support_test_verify_impl.c: New file. - * support/support_record_failure.c: Likewise. - * support/tst-support_record_failure.c: Likewise. - * support/tst-support_record_failure-2.sh: Likewise. - * support/xunistd.h: Likewise. - * support/xfork.c: Likewise. - * support/xwaitpid.c: Likewise. - -2016-12-27 Steve Ellcey - - * scripts/check-c++-types.sh: Add comments. - -2016-12-27 Dmitry V. Levin - - [BZ #19514] - * resolv/res_send.c: Fix typo in comment. - * sysdeps/i386/i386-mcount.S: Likewise. - * sysdeps/s390/s390-32/s390-mcount.S: Likewise. - * sysdeps/s390/s390-64/s390x-mcount.S: Likewise. - * sysdeps/sparc/sparc-mcount.S: Likewise. - -2016-12-27 Adhemerval Zanella - - * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file. - * sysdeps/powerpc/fpu/s_fminf.S: Likewise. - * sysdeps/powerpc/fpu/s_fmax.S: Likewise. - * sysdeps/powerpc/fpu/s_fmin.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise. - -2016-12-27 Gabriel F. T. Gomes - - * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig. - -2016-12-27 Florian Weimer - - [BZ #17252] - * posix/unistd.h (getentropy): Declare. - -2016-12-27 Florian Weimer - - * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT): - Remove. - * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove. - (cmd): Remove spoof, nospoof, spoofalert. - (parse_line): Ignore spoof-related lines. - (do_init): Do not process RESOLV_SPOOF_CHECK. - -2016-12-27 Florian Weimer - - [BZ #20964] - sunrpc: Always obtain AF_INET addresses from NSS. - * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare. - * sunrpc/rpc_gethostbyname.c: New file. - * sunrpc/Makefile (routines): Add it. - * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname. - * sunrpc/clnt_simp.c (callrpc): Likewise. - * sunrpc/getrpcport.c (getrpcport): Likewise. - -2016-12-27 Florian Weimer - - * sunrpc/rpcinfo.c: Remove. - * sunrpc/Makefile: Remove comments referring to rpcinfo. - -2016-12-27 Adhemerval Zanella - - [BZ #19387] - * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer - addition. - * string/test-memchr.c (do_test): Remove alignment limitation. - (test_main): Add test that trigger BZ #19387. - -2016-12-26 Nick Alcock - - [BZ #7065] - Enable stack protectore if requested by ./configure. - * Makeconfig (+stack-protector): New variable. - (+cflags): Use it. - -2016-12-26 Nick Alcock - - [BZ #7065] - * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector). - * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: - (__rt_sigreturn_stub): Use inhibit_stack_protector. - * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c - (__rt_sigreturn_stub, __sigreturn_stub): Likewise. - -2016-12-26 Nick Alcock - - [BZ #7065] - * login/Makefile (pt_chown-cflags): Remove. - * nscd/Makefile (CFLAGS-nscd): Likewise. - * resolv/Makefile (CFLAGS-libresolv): Likewise. - -2016-12-26 Nick Alcock - - [BZ #7065] - * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for - non-libc-linking testcase. - -2016-12-26 Nick Alcock - Adhemerval Zanella - Florian Weimer - - [BZ #7065] - PLT avoidance for __stack_chk_fail*. - * debug/Makefile (CFLAGS-stack_chk_fail.c) - (CFLAGS-stack_chk_fail_local.c): Build without stack protector. - * debug/stack_chk_fail.c (__stack_chk_fail): Add - __stack_chk_fail_local alias. - * sysdeps/generic/symbol-hacks.h [IS_IN (libc)] - (__stack_chk_fail): Turn into hidden reference to - __stack_chk_fail_local. - -2016-12-26 Nick Alcock - - [BZ #7065] - * configure.ac: Add check for unsupported stack-protection level. - (libc_cv_predef_stack_protector): Remove. - (no_ssp): New variable. - (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector. - (stack_protector): Set to -fno-stack-protector similarly. - (libc_cv_ld_gnu_indirect_function): Use no_ssp. - (libc_cv_asm_set_directive): Likewise. - (libc_cv_protected_data): Likewise. - (libc_cv_z_combreloc): Likewise. - (libc_cv_hashstyle): Likewise. - (libc_cv_has_glob_dat): Likewise. - (libc_cv_output_format): Likewise. - (libc_cv_output_format): Likewise. - (libc_cv_ehdr_start): Likewise. - * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise. - (LIBC_LINKER_FEATURE): Likewise. - (LIBC_COMPILER_BUILTIN_INLINED): Likewise. - -2016-12-26 Nick Alcock - - [BZ #7065] - * elf/Makefile (dummy-stack-chk-fail): New. - (librtld.map): Use it. - -2016-12-26 Nick Alcock - - [BZ #7065] - Compile the dynamic linker without stack protection. - * elf/Makefile (elide-stack-protector): New. - (CFLAGS-.os): Use it, eliding $(all-rtld-routines). - (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os). - * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector). - * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =. - -2016-12-26 Nick Alcock - - [BZ #7065] - * config.make.in (have-ssp, no-stack-protector): New. - * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it. - * misc/Makefile (CFLAGS-sbrk.o): Likewise. - (CFLAGS-sbrk.op): Likewise. - (CFLAGS-brk.o): Likewise. - (CFLAGS-brk.op): Likewise. - * string/Makefile (CFLAGS-memcpy.c): Likewise. - (CFLAGS-wordcopy.c): Likewise. - -2016-12-26 Nick Alcock - - [BZ #7065] - * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define. - * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro. - * include/libc-symbols.h (inhibit_stack_protector): New macro. - (__ifunc_resolver): Use it. - * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply - inhibit_stack_protector. - * elf/ifuncmain6pie.c (foo_ifunc): Likewise. - * elf/ifuncmain7.c (foo_ifunc): Likewise. - * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc) - (foo_protected_ifunc): Likewise. - * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc) - (foo_protected_ifunc): Likewise. - * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise. - * sysdeps/nacl/nacl_interface_query.c - (nacl_interface_query_ifunc): Likewise. - * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc): - Likewise. - * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise. - * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to - the generated vDSO syscall resolver. - -2016-12-26 Nick Alcock - Florian Weimer - - [BZ #7065] - Initialize the stack guard earlier when linking statically. - * sysdeps/generic/ldsodefs.h (__libc_setup_tls) - (__pthread_initialize_minimal): Declare. - * csu/libc-start.c (__pthread_initialize_minimal): Remove - declaration. - (LIBC_START_MAIN): Call __libc_setup_tls early and directly. Move - stack canary and apply_irel initialization up. Call - __pthread_initialize_minimal only if linked in. - * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their - constant values. - (__pthread_initialize_minimal): Remove. - * nptl/nptl-init.c (__libc_setup_tls): Remove declaration. - (__pthread_initialize_minimal_internal): Do not call - __libc_setup_tls. - -2016-12-26 Nick Alcock - - [BZ #7065] - * configure.ac (libc_cv_ssp): Move up. - (libc_cv_ssp_strong): Likewise. - (libc_cv_ssp_all): New. - (stack_protector): Augment, adding -fstack-protector-all. - (no_stack_protector): New. - (STACK_PROTECTOR_LEVEL): New. - (AC_ARG_ENABLE(stack-protector)): New configure flag. - * manual/install.texi (--enable-stack-protector): Document it. - * config.h.in (STACK_PROTECTOR_LEVEL): New macro. - -2016-12-24 Carlos O'Donell - - * README.pretty-printers: Must specify CPPFLAGS-* also. - * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define. - (CPPFLAGS-test-mutex-printers.c): Define. - (CPPFLAGS-test-condattr-printers.c): Define. - (CPPFLAGS-test-cond-printers.c): Define. - (CPPFLAGS-test-rwlockattr-printers.c): Define. - (CPPFLAGS-test-rwlock-printers.c): Define. - - * nss/Makefile [ifeq (yes,$(have-thread-library))] - (tests): Add tst-cancel-getpwuid_r. - * nss/tst-cancel-getpwuid_r.c: New file. - - [BZ #11941] - * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map. - Remove assert (map->l_init_called); if DF_1_NODELETE is set. - * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add - tst-nodelete-dlclose. - (modules-names): Add tst-nodelete-dlclose-dso and - tst-nodelete-dlclose-plugin. - ($(objpfx)tst-nodelete-dlclose-dso.so): Define. - ($(objpfx)tst-nodelete-dlclose-plugin.so): Define. - ($(objpfx)tst-nodelete-dlclose): Define. - ($(objpfx)tst-nodelete-dlclose.out): Define. - -2016-12-23 Florian Weimer - - * scripts/test_printers_common.py: Log GDB output in case of - Python detection failure. - -2016-12-22 Siddhesh Poyarekar - - * configure.ac: Check for python3 or python. - * configure: Regenerated. - * config.make.in (PYTHON): New variable. - * benchtests/Makefile: Don't define PYTHON. - (bench): Define target only if PYTHON was defined. - * Rules: Don't define PYTHON. - Define pretty printer targets only if PYTHON was defined. - (tests-printers): Add to tests-unsupported if PYTHON is not - found. - (python-flags, python-invoke): Remove. - (tests-printers-out): Use PYTHON instead of python-invoke. - -2016-12-21 Joseph Myers - - [BZ #20978] - * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r): - Compare name == NULL, not name != NULL. - - * manual/texinfo.tex: Update to version 2016-09-18.18 with - trailing whitespace removed. - * scripts/config.guess: Update to version 2016-10-02. - * scripts/config.sub: Update to version 2016-11-19. - * scripts/install-sh: Update to version 2016-01-11.22. - * scripts/mkinstalldirs: Update to version 2016-01-11.22. - * scripts/move-if-change: Update to version 2016-01-11 22:04. - -2015-12-21 Wilco Dijkstra - - * benchtests/bench-strsep.c (oldstrsep): Add old implementation. - (do_one_test) Restore original string so iteration works. - * string/string-inlines.c (do_test): Create better input strings. - (test_main) Reduce number of testruns. - * string/string-inlines.c (__old_strsep_1c): New function. - (__old_strsep_2c): Likewise. - (__old_strsep_3c): Likewise. - * string/strsep.c (__strsep): Remove case of small delim string. - Call strcspn directly rather than strpbrk. - * string/bits/string2.h (__strsep): Remove define. - (__strsep_1c): Remove. - (__strsep_2c): Remove. - (__strsep_3c): Remove. - (strsep): Remove. - * sysdeps/unix/sysv/linux/internal_statvfs.c - (__statvfs_getflags): Rename to __strsep. - -2016-12-21 Florian Weimer - - * csu/libc-tls.c (_dl_tls_setup): Remove. - * elf/dl-tls.c (_dl_tls_setup): Likewise. - * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup. - * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration. - -2016-12-21 Nick Alcock - - [BZ #7065] - * sysdeps/x86_64/Makefile [$(subdir) = elf] - (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag). - -2016-12-21 Nick Alcock - Florian Weimer - - [BZ #7065] - * csu/Makefile (tests): Empty assignment and document it. - (tests-static): Remove. - * csu/tst-empty.c: Move to... - * misc/tst-empty.c: ... here. Switch to new test driver. - * csu/tst-atomic.c: Move to... - * misc/tst-atomic.c: ... here. Switch to new test driver. - * csu/tst-atomic-long.c: Move to... - * misc/tst-atomic-long.c: ... here. - * misc/Makefile (tests): Add tst-empty, tst-atomic, - tst-atomic-long. - (tests-static): Add tst-empty. - -2016-12-21 Rical Jasan - - * manual/nss.texi: Change incorrect @vtable to @table. - * manual/arith.texi: Convert @tables of variables to @vtables - and remove unnecessary indexing. - * manual/filesys.texi: Likewise. - * manual/llio.texi: Likewise. - * manual/memory.texi: Likewise. - * manual/process.texi: Likewise. - * manual/resource.texi: Likewise. - * manual/search.texi: Likewise. - * manual/signal.texi: Likewise. - * manual/socket.texi: Likewise. - * manual/stdio.texi: Likewise. - * manual/sysinfo.texi: Likewise. - * manual/syslog.texi: Likewise. - * manual/terminal.texi: Likewise. - * manual/time.texi: Likewise. - * manual/users.texi: Likewise. - -2016-12-21 Joseph Myers - - * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] - (roundeven): New declaration. - * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New - macro. - * math/Versions (roundeven): New libm symbol at version - GLIBC_2.25. - (roundevenf): Likewise. - (roundevenl): Likewise. - * math/Makefile (libm-calls): Add s_roundevenF. - * math/libm-test.inc (roundeven_test_data): New array. - (roundeven_test): New function. - (main): Call roundeven_test. - * math/test-tgmath.c (NCALLS): Increase to 134. - (F(compile_test)): Call roundeven. - (F(roundeven)): New function. - * manual/arith.texi (Rounding Functions): Document roundeven, - roundevenf and roundevenl. - * manual/libm-err-tab.pl (@all_functions): Add roundeven. - * include/math.h (roundeven): Use libm_hidden_proto. - * sysdeps/ieee754/dbl-64/s_roundeven.c: New file. - * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise. - * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise. - * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add - roundeven. - (CFLAGS-nldbl-roundeven.c): New variable. - * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file. - * sysdeps/nacl/libm.abilist: Update. - * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise. - -2016-12-20 Joseph Myers - - * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add - preprocessor indentation inside #if. - -2016-12-20 Gabriel F. T. Gomes - - * math/libm-test.inc (fmt_ftostr): New function. - (print_float, check_float_internal): Replace some uses of - FTOSTR with uses of fmt_ftostr. - (print_max_error, print_complex_max_error, print_function_ulps) - (print_complex_function_ulps): Remove uses of the macros - PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR. - * math/test-double.h (FTOSTR): Define to strfromd. - (PRINTF_EXPR): Delete. - (PRINTF_XEXPR): Likewise. - (PRINTF_NEXPR): Likewise. - * math/test-float.h (FTOSTR): Define to strfromf. - (PRINTF_EXPR): Delete. - (PRINTF_XEXPR): Likewise. - (PRINTF_NEXPR): Likewise. - * math/test-ldouble.h (FTOSTR): Define to strfroml. - (PRINTF_EXPR): Delete. - (PRINTF_XEXPR): Likewise. - (PRINTF_NEXPR): Likewise. - -2016-12-20 Stefan Liebler - - * sysdeps/unix/sysv/linux/s390/lowlevellock.h - (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument. - * sysdeps/unix/sysv/linux/s390/elision-lock.c: - (__lll_lock_elision): Decrement adapt_count while unlocking - instead of before locking. - * sysdeps/unix/sysv/linux/s390/elision-trylock.c - (__lll_trylock_elision): Likewise. - * sysdeps/unix/sysv/linux/s390/elision-unlock.c: - (__lll_unlock_elision): Likewise. - -2016-12-20 Stefan Liebler - - * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro. - * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision): - Use __libc_tbegin_retry macro. - -2016-12-20 Stefan Liebler - - * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS): - Add -msoft-float. - * sysdeps/unix/sysv/linux/s390/htm.h: New File. - * sysdeps/unix/sysv/linux/s390/elision-lock.c: - Use __libc_t* transaction macros instead of __builtin_t*. - * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise. - * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise. - -2016-12-20 Stefan Liebler - - * sysdeps/unix/sysv/linux/s390/elision-lock.c - (__lll_lock_elision): Use atomics to load / store adapt_count. - * sysdeps/unix/sysv/linux/s390/elision-trylock.c - (__lll_trylock_elision): Likewise. - -2016-12-20 Florian Weimer - - Do not require memset elimination in explicit_bzero test. - * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining. - (enum test_expectation): Add NO_EXPECTATIONS. - (subtests): NO_EXPECTATIONS for ordinary clear. - (check_test_buffer): Handle NO_EXPECTATIONS. - * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3. - -2016-12-20 Joseph Myers - - * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] - (fmaxmag): New declaration. - (fminmag): Likewise. - * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New - macro. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise. - * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25. - (fmaxmagf): Likewise. - (fmaxmagl): Likewise. - (fminmag): Likewise. - (fminmagf): Likewise. - (fminmagl): Likewise. - * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF. - * math/s_fmaxmag_template.c: New file. - * math/s_fminmag_template.c: Likewise. - * math/libm-test.inc (fmaxmag_test_data): New array. - (fmaxmag_test): New function. - (fminmag_test_data): New array. - (fminmag_test): New function. - (main): Call fmaxmag_test and fminmag_test. - * math/test-tgmath.c (NCALLS): Increase to 132. - (F(compile_test)): Call fmaxmag and fminmag. - (F(fminmag)): New function. - (F(fmaxmag)): Likewise. - * manual/arith.texi (Misc FP Arithmetic): Document fminmag, - fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl. - * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and - fminmag. - * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise. - * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise. - * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise. - * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag - and fminmag. - (CFLAGS-nldbl-fmaxmag.c): New variable. - (CFLAGS-nldbl-fminmag.c): Likewise. - * sysdeps/nacl/libm.abilist: Update. - * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise. - -2016-12-19 Torvald Riegel - - [BZ #20973] - * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost - wake-up in robust mutexes. - * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise. - -2016-12-19 Adhemerval Zanella - - * benchtests/Makefile (bench-math): Add fminf and fmaxf. - (CFLAGS-bench-fmaxf.c): New rule. - (CFLAGS-bench-fminf.c): Likewise. - * benchtests/fmaxf-inputs: New file. - * benchtests/fminf-inputs: Likewise. - - * benchtests/Makefile (bench-math): Add fmin and fmax. - (CFLAGS-bench-fmax.c): New rule. - (CFLAGS-bench-fmin.c): Likewise. - * benchtests/fmax-inputs: New file. - * benchtests/fmin-inputs: Likewise. - - * benchtests/bench-string.h (TEST_FUNCTION): Use name without - parenthesis. - (CMDLINE_PROCESS): Define using function instead of macro. - * benchtests/bench-memccpy.c: Include instead - of test-skeleton. - * benchtests/bench-memchr.c: Likewise. - * benchtests/bench-memcmp.c: Likewise. - * benchtests/bench-memcpy-large.c: Likewise. - * benchtests/bench-memcpy.c: Likewise. - * benchtests/bench-memmem.c: Likewise. - * benchtests/bench-memmove-large.c: Likewise. - * benchtests/bench-memmove.c: Likewise. - * benchtests/bench-memset-large.c: Likewise. - * benchtests/bench-memset.c: Likewise. - * benchtests/bench-rawmemchr.c: Likewise. - * benchtests/bench-strcasecmp.c: Likewise. - * benchtests/bench-strcasestr.c: Likewise. - * benchtests/bench-strcat.c: Likewise. - * benchtests/bench-strchr.c: Likewise. - * benchtests/bench-strcmp.c: Likewise. - * benchtests/bench-strcpy.c: Likewise. - * benchtests/bench-strcpy_chk.c: Likewise. - * benchtests/bench-strlen.c: Likewise. - * benchtests/bench-strncasecmp.c: Likewise. - * benchtests/bench-strncmp.c: Likewise. - * benchtests/bench-strncpy.c: Likewise. - * benchtests/bench-strnlen.c: Likewise. - * benchtests/bench-strpbrk.c: Likewise. - * benchtests/bench-strrchr.c: Likewise. - * benchtests/bench-strsep.c: Likewise. - * benchtests/bench-strspn.c: Likewise. - * benchtests/bench-strstr.c: Likewise. - * benchtests/bench-strtok.c: Likewise. - -2016-12-19 Andrew Senkevich - - * sysdeps/x86/cpu-features.c (get_common_indeces): Add - stepping identification. - (init_cpu_features): Add handle of Haswell. - -2016-11-25 Jim Meyering - - [BZ #20386] - Let gcc detect assert(a = 1) errors. - * assert/assert.h (assert): Rewrite, retaining the old definintion - when required, but otherwise putting the expression as-is in an "if" - expression (hence, with no added parentheses) within a statement - expression. - -2016-12-17 Siddhesh Poyarekar - - * benchtests/Makefile (binaries-benchset): Depend on libsupport - DSO. - -2016-12-17 Martin Galvan - - * Rules (python-flags, python-invoke): New. - ($(test-printers-out)): Use $(python-flags). - -2016-12-16 Joseph Myers - - * manual/arith.texi (Math Error Reporting): Document that sNaN - arguments are not considered domain errors. - -2016-12-16 Zack Weinberg - Florian Weimer - Nick Mathewson - - * string/explicit_bzero.c: New routine. - * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests. - * string/Makefile (routines, strop-tests, tests): Add them. - * string/test-memset.c: Add ifdeffage for testing explicit_bzero. - * string/string.h [__USE_MISC]: Declare explicit_bzero. - - * debug/explicit_bzero_chk.c: New routine. - * debug/Makefile (routines): Add it. - * debug/tst-chk1.c: Test fortification of explicit_bzero. - * string/bits/string3.h: Fortify explicit_bzero. - - * manual/string.texi: Document explicit_bzero. - * NEWS: Mention addition of explicit_bzero. - - * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate - data before returning, using explicit_bzero. - * crypt/md5-crypt.c (__md5_crypt_r): Likewise. - * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise. - * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise. - - * include/string.h: Redirect internal uses of explicit_bzero - to __explicit_bzero_chk[_internal]. - * string/Versions [GLIBC_2.25]: Add explicit_bzero. - * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk. - * sysdeps/arm/nacl/libc.abilist - * sysdeps/unix/sysv/linux/aarch64/libc.abilist - * sysdeps/unix/sysv/linux/alpha/libc.abilist - * sysdeps/unix/sysv/linux/arm/libc.abilist - * sysdeps/unix/sysv/linux/hppa/libc.abilist - * sysdeps/unix/sysv/linux/i386/libc.abilist - * sysdeps/unix/sysv/linux/ia64/libc.abilist - * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist - * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist - * sysdeps/unix/sysv/linux/microblaze/libc.abilist - * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist - * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist - * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist - * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist - * sysdeps/unix/sysv/linux/nios2/libc.abilist - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist - * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist - * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist - * sysdeps/unix/sysv/linux/sh/libc.abilist - * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist - * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist - * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist - * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist - * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: - Add entries for explicit_bzero and __explicit_bzero_chk. - -2016-12-16 Joseph Myers - - * math/fenv.h - [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__] - (FE_SNANS_ALWAYS_SIGNAL): New macro. - * math/test-fe-snans-always-signal.c: New file. - * math/Makefile (tests): Add test-fe-snans-always-signal. - (CFLAGS-test-fe-snans-always-signal.c): New variable. - * manual/arith.texi (Infinity and NaN): Document - FE_SNANS_ALWAYS_SIGNAL. - -2016-12-16 Adhemerval Zanella - - * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing - bracket. - -2016-12-16 Joseph Myers - - * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout - before calling execv. - -2016-12-16 Adhemerval Zanella - - [BZ #20971] - * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid - overflow in pointer addition. - * string/test-memchr.c (do_test): Add an argument to pass as - the size on memchr. - (test_main): Add check for SIZE_MAX. - -2016-12-16 Gabriel F. T. Gomes - - * math/Makefile (gen-libm-calls): Remove w_scalblnF. - (libm-calls): Add w_scalblnF. - * math/w_scalbln.c: Remove. - * math/w_scalblnf.c: Likewise. - * math/w_scalblnl.c: Likewise. - * math/w_scalbln_template.c: New file with type-generic - implementation based on math/w_scalbln.c. - * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove. - * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template. - -2016-12-15 Joseph Myers - - [BZ #20947] - * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when - either is a signaling NaN. - * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise. Make code - follow fmaxl more closely. - * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments - when either is a signaling NaN. - * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise. - * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise. - * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise. - * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise. - * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise. - * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise. - * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise. - * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs. - (fmin_test_data): Likewise. - -2016-12-15 Andreas Schwab - - * support/support_test_main.c (support_test_main): Don't shadow - file-local variable test_pid. - -2016-12-15 Joseph Myers - - [BZ #20947] - * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when - either is a signaling NaN. - * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise. - -2016-12-14 Joseph Myers - - [BZ #20947] - * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments - when either is a signaling NaN. - * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise. - - * bits/long-double.h: New file. - * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise. - * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise. - * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise. - * sysdeps/mips/bits/long-double.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise. - * math/Makefile (headers): Add bits/long-double.h. - * misc/sys/cdefs.h: Include . - * stdlib/strtold.c: Include instead of - . - * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion. - [!__NO_LONG_DOUBLE_MATH]: Remove conditional code. - * math/math.h: Do not include . - * sysdeps/aarch64/bits/mathdef.h: Remove file. - * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow - inclusion. - * sysdeps/ia64/bits/mathdef.h: Remove file. - * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise. - * sysdeps/mips/bits/mathdef.h: Likewise. - * sysdeps/powerpc/bits/mathdef.h: Likewise. - * sysdeps/s390/bits/mathdef.h: Likewise. - * sysdeps/sparc/bits/mathdef.h: Likewise. - * sysdeps/x86/bits/mathdef.h: Likewise. - * sysdeps/s390/s390-32/bits/wordsize.h - [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove - conditional code. - * sysdeps/s390/s390-64/bits/wordsize.h - [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: - Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h - [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h - [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: - Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h - [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: - Likewise. - - * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include - . - (FALLOC_FL_KEEP_SIZE): Remove. - (FALLOC_FL_PUNCH_HOLE): Likewise. - (FALLOC_FL_COLLAPSE_RANGE): Likewise. - (FALLOC_FL_ZERO_RANGE): Likewise. - -2016-12-14 Gabriel F. T. Gomes - - * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF. - -2016-12-14 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/renameat.c: New file. - * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat. - - * sysdeps/unix/sysv/linux/rename.c: New file. - * sysdeps/unix/sysv/linux/generic/rename.c: Remove file. - -2015-12-14 Wilco Dijkstra - - * benchtests/bench-strtok.c (oldstrtok): Add old implementation. - * string/strtok.c (strtok): Change to tailcall __strtok_r. - * string/strtok_r.c (__strtok_r): Optimize for performance. - * string/string-inlines.c (__old_strtok_r_1c): New function. - * string/bits/string2.h (__strtok_r): Move to string-inlines.c. - -2016-12-14 Gabriel F. T. Gomes - - * math/Makefile (gen-libm-calls): Add w_log1pF. - (libm-calls): Remove w_log1pF. - * math/w_log1p.c: Remove. - * math/w_log1pf.c: Likewise. - * math/w_log1pl.c: Likewise. - * math/w_log1p_template.c: New file with type-generic - implementation based on math/w_log1p.c. - * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove. - * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise. - -2015-12-14 Wilco Dijkstra - - * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen. - -2016-12-14 Joseph Myers - - * scripts/build-many-glibcs.py (Context.checkout): Default Linux - kernel version to 4.9. - -2016-12-12 Andrew Senkevich - - * math/Makefile ($(inst_libdir)/libm-$(version).a): New target. - ($(inst_libdir)/libm.a): Fix rule to create the target only. - -2016-12-13 Andreas Schwab - - * sysdeps/powerpc/dl-procinfo.c: Don't define - _dl_powerpc_platforms. - * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string - constants instead of referencing _dl_powerpc_platforms. - (_dl_platform_string): Remove. - -2016-12-13 Florian Weimer - - * nptl/tst-cancel7.c (cmdline_process): Add missing case label. - -2016-12-13 Florian Weimer - - * Rules (binaries-shared-tests, binaries-pie-tests) - (binaries-static-tests): Link with $(link-extra-libs-tests). - * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests): - Remove $(link-extra-libs-tests). - -2016-12-13 Rajalakshmi Srinivasaraghavan - - * sysdeps/powerpc/powerpc64/multiarch/Makefile - (sysdep_routines): Add strncmp_power9. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c - (strncmp): Add __strncmp_power9 to list of strncmp functions. - * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/strncmp.c - (strncmp): Add __strncmp_power9 to ifunc list. - * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file. - -2016-12-12 Florian Weimer - - [BZ #17252] - Add getentropy, getrandom. - * stdlib/sys/random.h: New file. - (headers): Add it. - * stdlib/Makefile (routines): Add getentropy, getrandom. - (tests): Add tst-getrandom. - * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy. - * stdlib/getentropy.c: New file. - * stdlib/getrandom.c: Likewise. - * stdlib/tst-getrandom.c: Likewise. - * sysdeps/unix/sysv/linux/getentropy.c: Likewise. - * sysdeps/unix/sysv/linux/getrandom.c: Likewise. - * manual/crypt.texi (Unpredictable Bytes): New section. - * manual/math.texi (Pseudo-Random Numbers): Add cross-reference. - * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy. - * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise. - -2016-12-10 Florian Weimer - - [BZ #20956] - * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes - as additional compiler barriers. - * debug/tst-backtrace2.c: Switch to . - (fn2, do_test): Declare with external linkage. - * debug/tst-backtrace3.c: Switch to . - (do_test): Declare with external linkage. - * debug/tst-backtrace4.c: Switch to . - (do_test): Declare with external linkage. - * debug/tst-backtrace5.c: Switch to . - (do_test): Declare with external linkage. - -2016-12-10 Andreas Schwab - - * support/support_test_main.c (support_test_main): Use correct - timeout. - -2016-12-09 Carlos O'Donell - Florian Weimer - - [BZ #16421] - * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16 - and __u6_addr32 members. - (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK) - (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL) - (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL): - Use __u6_addr32. - * inet/tst-checks.c: Use - * inet/tst-checks-posix.c: New file. - * inet/Makefile (tests): Add it. - (CFLAGS-tst-checks-posix.c): Compile in C99 mode. - -2016-12-09 Florian Weimer - - New subdirectory support for build and test infrastructure. - * extra-libs.mk (extra-libs-noinstall): Add variable. Use it when - setting install-lib. - * Makeconfig (link-extra-libs-tests): Define. - (+link-pie-tests, +link-static-tests, +link-tests): Use - link-extra-libs-tests. - (rpath-dirs, all-subdirs): Add support. - (built-modules): Add libsupport. - (libsupport): Define. - * support: New directory. - * support/Makefile: New file. - * support/check.c: Likewise. - * support/check.h: Likewise. - * support/delayed_exit.c: Likewise. - * support/ignore_stderr.c: Likewise. - * support/oom_error.c: Likewise. - * support/set_fortify_handler.c: Likewise. - * support/support.h: Likewise. - * support/temp_file-internal.h: Likewise. - * support/temp_file.c: Likewise. - * support/test-driver.c: Likewise. - * support/test-driver.h: Likewise. - * support/test_main.c: Likewise. - * support/write_message.c: Likewise. - * support/xasprintf.c: Likewise. - * support/xcalloc.c: Likewise. - * support/xmalloc.c: Likewise. - * support/xpthread_barrier_destroy.c: Likewise. - * support/xpthread_barrier_init.c: Likewise. - * support/xpthread_barrier_wait.c: Likewise. - * support/xpthread_cancel.c: Likewise. - * support/xpthread_check_return.c: Likewise. - * support/xpthread_cond_wait.c: Likewise. - * support/xpthread_create.c: Likewise. - * support/xpthread_detach.c: Likewise. - * support/xpthread_join.c: Likewise. - * support/xpthread_mutex_lock.c: Likewise. - * support/xpthread_mutex_unlock.c: Likewise. - * support/xpthread_sigmask.c: Likewise. - * support/xpthread_spin_lock.c: Likewise. - * support/xpthread_spin_unlock.c: Likewise. - * support/xrealloc.c: Likewise. - * support/xsignal.h: Likewise. - * support/xthread.h: Likewise. - * support_tempfile.h: Likewise. - * test-skeleton.c: Include , . - (TEST_DATA_LIMIT): Remove unused macro. - (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove. Now in - . - (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message) - (ignore_stderr, set_fortify_handler): Remove. Now in - . - (xpthread_sigmask): Remove. Now in . - (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait) - (xpthread_barrier_wait, xpthread_create, xpthread_detach) - (xpthread_join): Remove. Now in . - (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS): - Introduce legacy wrappers. - * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport). - * dlfcn/bug-atexit3-lib.cc: Include . - (write_message): Remove. - * dirent/opendir-tst1.c: Use instead of - test-skeleton.c. - * io/test-open-tmpfile: Likewise. - * io/tst-posix_fallocate-common.c: Likewise. - * libio/tst-fseek.c: Likewise. - * malloc/tst-malloc-backtrace.c: Likewise. - * malloc/tst-malloc-fork-deadlock.c: Likewise. - * malloc/tst-malloc-thread-exit.c: Likewise. - * nptl/tst-cancel7.c: Likewise. - * nptl/tst-cleanup0.c: Likewise. - * posix/tst-posix_fadvise-common.c: Likewise. - * rt/tst-shm.c: Likewise. - * time/bug-getdate1.c: Likewise. - * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise. - * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise. - * elf/Makefile (tst-piemod1.so): Link against libsupport. - -2016-12-08 Joseph Myers - - * Rules [$(run-built-tests) != no] (tests-expected): Add - $(tests-printers). - (tests): Do not pass $(tests-printers) to merge-test-results.sh. - -2016-12-08 Andrew Senkevich - - [BZ #20539] - * math/Makefile (install-lib-ldscripts): Add libm.a. - (install_subdir): Remove. - (install-others): Add. - ($(inst_libdir)/libm.a): Add rule for installation as - linker script. - * Makerules (install-lib.a): Filter out install-lib-ldscripts. - -2016-12-08 Martin Galvan - - * INSTALL: Regenerated. - * Makeconfig: Add comments and whitespace to make the control flow - clearer. - (+link-printers-tests, +link-pie-printers-tests, - CFLAGS-printers-tests, installed-rtld-LDFLAGS, - built-rtld-LDFLAGS, link-libc-rpath, - link-libc-tests-after-rpath-link, - link-libc-printers-tests): New. - (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link, - link-libc-tests): Use the new variables as required. - * Makerules ($(py-const)): New rule. - generated: Add $(py-const). - * README.pretty-printers: New file. - * Rules (tests-printers-programs, tests-printers-out, py-env): New. - (others): Depend on $(py-const). - (tests): Depend on $(tests-printers-programs) or - $(tests-printers-out), - as required. Pass $(tests-printers) to merge-test-results.sh. - * manual/install.texi: Add requirements for testing the pretty - printers. - * nptl/Makefile (gen-py-const-headers, pretty-printers, - tests-printers, CFLAGS-test-mutexattr-printers.c - CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c, - CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c - CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define. - * nptl/nptl-printers.py: New file. - * nptl/nptl_lock_constants.pysym: Likewise. - * nptl/test-cond-printers.c: Likewise. - * nptl/test-cond-printers.py: Likewise. - * nptl/test-condattr-printers.c: Likewise. - * nptl/test-condattr-printers.py: Likewise. - * nptl/test-mutex-printers.c: Likewise. - * nptl/test-mutex-printers.py: Likewise. - * nptl/test-mutexattr-printers.c: Likewise. - * nptl/test-mutexattr-printers.py: Likewise. - * nptl/test-rwlock-printers.c: Likewise. - * nptl/test-rwlock-printers.py: Likewise. - * nptl/test-rwlockattr-printers.c: Likewise. - * nptl/test-rwlockattr-printers.py: Likewise. - * scripts/gen-py-const.awk: Likewise. - * scripts/test_printers_common.py: Likewise. - * scripts/test_printers_exceptions.py: Likewise. - -2016-12-07 Joseph Myers - - * scripts/build-many-glibcs.py (Context.__init__): Take strip - argument. - (Glibc.build_glibc): Strip installed shared libraries if - requested. - (get_parser): Add --strip option. - (main): Update Context call. - -2016-12-07 Adhemerval Zanella - Dominik Vogt - - [BZ #20847] - * posix/execvpe.c (maybe_script_execute): Remove write past allocated - array bounds for else branch. - (__execvpe): Style fixes. - * posix/tst-vfork3.c (run_script): New function. - (create_script): Likewise. - (do_test): Use run_script internal function. - (do_prepare): Use create_script internal function. - -2016-12-07 Andreas Schwab - - * sysdeps/unix/sysv/linux/x86/elision-conf.h - (__elision_available): Don't declare. - * sysdeps/unix/sysv/linux/x86/elision-conf.c - (__elision_available): Don't define. - (elision_init): Don't set __elision_available. - -2016-12-07 Joseph Myers - - [BZ #20940] - * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not - return Inf for arguments Inf and sNaN. - * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise. - * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): - Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): - Likewise. - * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise. - * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf - for arguments Inf and sNaN. When returning a NaN, compute it by - arithmetic on the arguments. - * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise. - * math/libm-test.inc (hypot_test_data): Add tests of sNaN - arguments. - -2016-12-06 Joseph Myers - - [BZ #20916] - * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for - arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN arguments - to compute result. - * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise. - * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments. - -2016-12-05 Torvald Riegel - - * include/atomic.h (__atomic_check_size_ls): New. - (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed, - atomic_store_release): Use it. - * sysdeps/x86/elide.h (ACCESS_ONCE): Remove. - (elision_adapt, ELIDE_LOCK): Use atomics. - * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use - atomics and improve code comments. - * sysdeps/unix/sysv/linux/x86/elision-trylock.c - (__lll_trylock_elision): Likewise. - -2016-12-04 Samuel Thibault - - * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++ - programs. - -2016-12-02 Joseph Myers - - [BZ #20916] - * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1 - for arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN - arguments to compute result. - * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return - 1 for arguments (sNaN, 0) or (1, sNaN). - * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise. - - [BZ #20919] - * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return - NaN first argument when raised to power 0. - * math/w_pow.c (__pow): Do not check for NaN or zero results from - raising to power zero. - * math/w_powf.c (__powf): Likewise. - * math/w_powl.c (__powl): Likewise. - * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle - pow (0, 0) or pow (NaN, 0). - -2016-12-02 Carlos O'Donell - - [BZ #20918] - * configure.ac: Test for static NSS cryptographic libraries and set - libc_cv_static_nss_crypt. - * configure: Regenerate. - * config.make.in (static-nss-crypt): Define. - * elf/Makefile (CFLAGS-tst-linkall-static.c): Define. - [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))] - (CFLAGS-tst-linkall-static.c): Define. - ($(objpfx)tst-linkall-static): Remove libcrypt.a. - [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))] - ($(objpfx)tst-linkall-static): Define. - [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define. - * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt(). - -2016-12-02 Florian Weimer - - * elf/Makefile [build-shared] (tests): Add tst-latepthread. - (one-hundred, tst-tls-many-dynamic-modules): Define. - (modules-names): Add $(tst-tls-many-dynamic-modules). - (tst-tls-manydynamic%mod.os): Build with special preprocessor - macros. - (tst-tls-manydynamic): Link against libdl, libpthread. - (tst-tls-manydynamic.out): The test needs the test modules at run - time. - * elf/tst-tls-manydynamic.c: New file. - * elf/tst-tls-manydynamic.h: Likewise. - * elf/tst-tls-manydynamicmod.c: Likewise. - -2016-12-02 Florian Weimer - - * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER) - (TLS_DTV_UNALLOCATED): Add. - * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit - offsets. - -2016-12-02 Stefan Liebler - - * sysdeps/s390/fpu/libm-test-ulps: Regenerated. - -2016-12-02 Stefan Liebler - - * elf/Makefile (CFLAGS-tst-latepthreadmod.c): - Add -fno-optimize-sibling-calls. - -2016-12-02 Joseph Myers - - * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): - New declaration. - * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New - macro. - * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX): - New macro. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise. - * math/Versions (llogb): New libm symbol at version GLIBC_2.25. - (llogbf): Likewise. - (llogbl): Likewise. - * math/Makefile (gen-libm-calls): Add w_llogbF. - (tests): Add test-fp-llogb-constants. - * math/w_llogb_template.c: New file. Based on - math/w_ilogb_template.c. - * math/libm-test.inc (llogb_test_data): New array. - (llogb_test): New function. - (main): Call llogb_test. - * math/test-fp-llogb-constants.c: New file. Based on - math/test-fp-ilogb-constants.c. - * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call. - (do_test): Call check_return_llogb. - * math/test-tgmath.c (NCALLS): Increase to 126. - (F(compile_test)): Call llogb. - (F(llogb)): New function. - * manual/math.texi (Exponents and Logarithms): Document llogb, - llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN. - * manual/libm-err-tab.pl (@all_functions): Add llogb. - * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file. - * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise. - * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb. - (CFLAGS-nldbl-llogb.c): New variable. - * sysdeps/nacl/libm.abilist: Update. - * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise. - -2016-12-01 Joseph Myers - - * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use - _Float128 instead of long double. - * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise. - - * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def. - * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise. - * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise. - * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise. - * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise. - * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise. - * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise. - * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp): - Likewise. - -2016-12-01 Adhemerval Zanella - - * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias): - Remove redirection to __strrchr_ppc. - -2016-12-01 Rajalakshmi Srinivasaraghavan - - * sysdeps/powerpc/powerpc64/multiarch/Makefile - (sysdep_routines): Add strcmp_power9. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c - (strcmp): Add __strcmp_power9 to list of strcmp functions. - * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/strcmp.c - (strcmp): Add __strcmp_power9 to ifunc list. - * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file. - -2016-12-01 Joseph Myers - - * bits/fp-logb.h: New file. - * sysdeps/ia64/bits/fp-logb.h: Likewise. - * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise. - * sysdeps/x86/bits/fp-logb.h: Likewise. - * math/Makefile (headers): Add bits/fp-logb.h. - * math/math.h: Include . - [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN. - [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN. - * bits/mathdef.h (FP_ILOGB0): Remove. - (FP_ILOGBNAN): Likewise. - * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise. - (FP_ILOGBNAN): Likewise. - * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise. - (FP_ILOGBNAN): Likewise. - * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise. - (FP_ILOGBNAN): Likewise. - * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise. - (FP_ILOGBNAN): Likewise. - * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise. - (FP_ILOGBNAN): Likewise. - * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise. - (FP_ILOGBNAN): Likewise. - * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise. - (FP_ILOGBNAN): Likewise. - * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise. - (FP_ILOGBNAN): Likewise. - * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise. - (FP_ILOGBNAN): Likewise. - - * scripts/build-many-glibcs.py: Add bot to usage message. Import - time module. - (Context.__init__): Initialize self.logsdir_old. - (Context.run_builds): Handle bot action. - (Context.bot_cycle): Copy logs directory before running builds. - (Context.bot_run_self): Take argument for whether to check - subprocess result. Flush stdout before running subprocess. - (Context.bot): New function. - (get_parser): Allow bot action. - -2016-11-30 Joseph Myers - - * scripts/build-many-glibcs.py: Add bot-cycle to usage message. - Import email.mime.text, email.utils and smtplib modules. - (Context.__init__): Initialize self.bot_config_json. - (Context.run_builds): Handle bot-cycle action. - (Context.load_bot_config_json): New function. - (Context.part_build_old): Likewise. - (Context.bot_cycle): Likewise. - (Context.bot_build_mail): Likewise. - (Context.bot_run_self): Likewise. - (get_parser): Allow bot-cycle action. - -2016-11-30 Adhemerval Zanella - - * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias): - Remove redirection to __stpcpy_ppc. - -2016-11-30 Florian Weimer - - Remove __libc_memalign from ld.so because it is unused. - * elf/dl-minimal.c: Update comment on the malloc implementation. - (malloc): Renamed from __libc_memalign, replacing the original - malloc implementation. Replace the align parameter with - MALLOC_ALIGNMENT. - * elf/Versions (ld): Update comment and remove __libc_memalign. - * sysdeps/nacl/ld.abilist: Likewise. - * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise. - * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise. - * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise. - * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise. - * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise. - * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise. - * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise. - * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise. - * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise. - * sysdeps/generic/localplt.data (ld.so): Likewise. - * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise. - * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise. - * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise. - * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise. - * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise. - * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise. - * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise. - * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise. - * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data - (ld.so): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data - (ld.so): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so): - Likewise. - * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise. - * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise. - * sysdeps/x86_64/localplt.data (ld.so): Likewise. - -2016-11-30 Florian Weimer - - [BZ #16628] - Implement _dl_catch_error, _dl_signal_error in libc.so. - * elf/dl-error-skeleton.c: Rename from elf/dl-error.c. - (catch_hook): Define as thread-local or regular variable, - depending on DL_ERROR_BOOTSTRAP. - (CATCH_HOOK): Remove. - (dl_signal_error, _dl_catch_error): Use - catch_hook. Add hidden definition for libc. - (_dl_receive_error, _dl_signal_cerror): Use catch_hook. Compile - for DL_ERROR_BOOTSTRAP only. - * elf/dl-error.c: New file. - * elf/dl-error-minimal.c: Likewise. - * elf/tst-latepthread.c: Likewise. - * elf/tst-latepthreadmod.c: Likewise. - * elf/Makefile (routines): Add dl-error. - (dl-routines): Remove dl-error. - (rtld-routines): Add dl-error-minimal. - [build-shared] (tests): Add tst-latepthread. - (module-names): Add tst-latepthreadmod. - (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined - symbol. - (tst-latepthreadmod.so): Link against libpthread. - (tst-latepthread): Link against libdbl. - * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error, - _dl_catch_error. - [ld] (GLIBC_PRIVATE): Likewise. - * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly. - * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly. - * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error - directly. - * elf/dl-tsd.c: Remove file. - * elf/rtld.c (_rtld_global_ro): Remove initializers for - _dl_catch_error, _dl_signal_error. - (_dl_initial_error_catch_tsd): Remove definition. - (do_preload): Remove initialization of dl_error_catch_tsd. - * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly. - * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly. - * dlfcn/dlmopen.c (dlmopen_doit): Likewise. - * dlfcn/dlopen.c (dlopen_doit): Likewise. - * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not - set dl_error_catch_tsd. - * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove - _dl_error_catch_tsd member. - (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error - members. - (_dl_initial_error_catch_tsd): Remove declaration. - (_dl_dprintf): Provide definition for use outside of ld.so. - [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error. - (_dl_signal_error, _dl_catch_error): Make public. Add hidden - prototype for libc. - * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error, - _dl_catch_error. - * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise. - * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise. - * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise. - * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise. - * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise. - * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise. - * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise. - * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): - Likewise. - * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data - (ld.so): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data - (ld.so): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so): - Likewise. - * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise. - * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): - Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): - Likewise. - * sysdeps/x86_64/localplt.data (ld.so): Likewise. - -2016-11-30 Florian Weimer - - [BZ #4099] - * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to - _IO_BUFSIZ (8192). - -2016-11-30 Carlos O'Donell - - * PROJECTS: Remove file. - -2016-11-29 Florian Weimer - - * iconvdata/gbk.c (BODY): Add Euro sign support (both directions). - -2016-11-29 Yury Norov - Steve Ellcey - - * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define - fxstat if XSTAT_IS_XSTAT64 is set to non-zero. - * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for - fxstatat. - * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for - lxstat. - * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat. - * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file. - * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file. - * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat - an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero. - * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for - __xstat. - -2016-11-29 Florian Weimer - - * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp): - Define. - * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden - definition. - -2016-11-29 Florian Weimer - - * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove - version and turn into strong alias. Remove compat symbol. - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist - (__longjmp): Remove. - -2016-11-29 Joseph Myers - - * bits/fp-fast.h: New file. - * sysdeps/aarch64/bits/fp-fast.h: Likewise. - * sysdeps/powerpc/bits/fp-fast.h: Likewise. - * math/Makefile (headers): Add bits/fp-fast.h. - * math/math.h: Include . - * bits/mathdef.h (FP_FAST_FMA): Remove. - (FP_FAST_FMAF): Likewise. - (FP_FAST_FMAL): Likewise. - * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise. - (FP_FAST_FMAF): Likewise. - * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise. - (FP_FAST_FMAF): Likewise. - * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise. - (FP_FAST_FMAF): Likewise. - (FP_FAST_FMAL): Likewise. - * sysdeps/arm/bits/mathdef.h: Remove file. - * sysdeps/hppa/fpu/bits/mathdef.h: Likewise. - * sysdeps/sh/sh4/bits/mathdef.h: Likewise. - * sysdeps/tile/bits/mathdef.h: Likewise. - -2016-11-28 Joseph Myers - - * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c. - * math/w_ilogb.c: Remove. - * math/w_ilogbf.c: Likewise. - * math/w_ilogbl.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise. - * math/Makefile (gen-libm-calls): Add w_ilogbF. - (libm-calls): Remove w_ilogbF. - * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h - (LDOUBLE_ilogbl_libm_version): New macro. - - * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file. - - * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on - [!__STRICT_ANSI__ && !__cplusplus]. - -2016-11-28 H.J. Lu - - [BZ #20750] - * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead - of PIC. - -2016-11-28 Andrew Pinski - Yury Norov - Steve Ellcey - - * sysdeps/aarch64/crti.S: Add include of sysdep.h. - (call_weak_fn): Use PTR_REG to get correct reg name in ILP32. - * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h. - (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32. - * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h. - (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START, - elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela, - elf_machine_lazy_rel): Add ifdef's for ILP32 support. - * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return, - _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic, - _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG - to get correct reg name for ILP32. - * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro. - (RELA_SIZE): New Macro. - (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG - to support ILP32. - * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add - cast for ILP32 mode. - * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode. - * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto. - * sysdeps/aarch64/memset.S (__memset): Ditto. - * sysdeps/aarch64/strchr.S (strchr): Ditto. - * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto. - * sysdeps/aarch64/strcmp.S (strcmp): Ditto. - * sysdeps/aarch64/strcpy.S (strcpy): Ditto. - * sysdeps/aarch64/strlen.S (__strlen): Ditto. - * sysdeps/aarch64/strncmp.S (strncmp): Ditto. - * sysdeps/aarch64/strnlen.S (strnlen): Ditto. - * sysdeps/aarch64/strrchr.S (strrchr): Ditto. - * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto. - * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto. - * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto. - * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32, - change PTR_MANGLE call to use register numbers instead of names. - * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto. - * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for - ILP32 mode, change PTR_MANGLE calls to use register numbers. - * sysdeps/aarch64/start.S (_start): Ditto. - * sysdeps/aarch64/nptl/bits/pthreadtypes.h - (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define. - (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T, - __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T, - __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T, - __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T, - __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T): - Make defined values dependent on __ILP32__. - * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define. - (sem_t): Change __align type. - * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE, - PTR_SIZE): New Macros. - (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG. - * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE): - Set when in ILP32 mode. - (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode. - * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID): - Set elf flags for ILP32. - (add_system_dir): Set ILP32 library directories. - * sysdeps/unix/sysv/linux/aarch64/init-first.c - (_libc_vdso_platform_setup): Set minimum kernel version for ILP32. - * sysdeps/unix/sysv/linux/aarch64/ldconfig.h - (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names. - * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC): - New Macros. - * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers. - -2016-11-28 Steve Ellcey - - * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files, - only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero. - * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs. - -2016-11-28 Joseph Myers - - * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include - . - -2016-11-27 Zack Weinberg - - * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional. - * test-skeleton.c: Include stdint.h to ensure uintptr_t is available. - -2016-11-27 Samuel Thibault - - * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to - error_t to fix usage in C++ programs. - -2016-11-26 Joseph Myers - - * scripts/build-many-glibcs.py: Import datetime module. - (Context.__init__): Load JSON build state. Initialize list of - status logs. - (Context.run_builds): Update saved build state. - (Context.add_makefile_cmdlist): Update list of status logs. - (Context.load_build_state_json): New function. - (Context.store_build_state_json): Likewise. - (Context.clear_last_build_state): Likewise. - (Context.update_build_state): Likewise. - (CommandList.status_logs): Likewise. - -2016-11-25 Joseph Myers - - * scripts/build-many-glibcs.py (Context.__init__): Save text of - script being executed. - (Context.get_script_text): New function. - (Context.exec_self): Likewise. - (Context.checkout): Re-exec script if changed by checkout process. - -2016-11-24 Joseph Myers - - * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] - (setpayloadsig): New declaration. - * math/Versions (setpayloadsig): New libm symbol at version - GLIBC_2.25. - (setpayloadsigf): Likewise. - (setpayloadsigl): Likewise. - * math/Makefile (libm-calls): Add s_setpayloadsigF. - * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept - (FE_ALL_EXCEPT) after initializing EXTRA_VAR. - (setpayloadsig_test_data): New array. - (setpayloadsig_test): New function. - (main): Call setpayloadsig_test. - * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig, - setpayloadsigf and setpayloadsigl. - * manual/libm-err-tab.pl: Update comment on interfaces without - ulps tabulated. - * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file. - * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise. - * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise. - * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add - setpayloadsig. - (CFLAGS-nldbl-setpayloadsig.c): New variable. - * sysdeps/nacl/libm.abilist: Update. - * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise. - - * scripts/build-many-glibcs.py: Import json module. - (Context.__init__): Take replace_sources argument. Load - versions.json. - (Context.load_versions_json): New function. - (Context.store_json): Likewise. - (Context.store_versions_json): Likewise. - (Context.set_component_version): Likewise. - (Context.checkout): Update versions.json. Check for and handle - changes of version. Prefer previously explicitly specified - version to default version. - (Context.checkout_vcs): Return a revision identifier. - (Context.git_checkout): Likewise. - (Context.gcc_checkout): Likewise. - (get_parser): Add --replace-sources option. - (main): Pass replace_sources argument to Context call. - -2016-11-24 Adhemerval Zanella - - * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting. - * nptl/allocatestack.c (allocate_stack): Likewise. - (__reclaim_stacks): Likewise. - (setxid_signal_thread): Obtain pid through syscall. - * nptl/nptl-init.c (sigcancel_handler): Likewise. - (sighandle_setxid): Likewise. - * nptl/pthread_cancel.c (pthread_cancel): Likewise. - * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise. - * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue): - Likewise. - * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise. - * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour - comment. - * sysdeps/unix/sysv/linux/getpid.c: Remove file. - * nptl/descr.h (struct pthread): Change comment about pid value. - * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread - pid assert. - * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids): - Do not set pid value. - * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread - pid cache check. - * nptl_db/td_thr_validate.c (td_thr_validate): Likewise. - * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset. - * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise. - * sysdeps/arm/nptl/tcb-offsets.sym: Likewise. - * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise. - * sysdeps/i386/nptl/tcb-offsets.sym: Likewise. - * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise. - * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise. - * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise. - * sysdeps/mips/nptl/tcb-offsets.sym: Likewise. - * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise. - * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise. - * sysdeps/s390/nptl/tcb-offsets.sym: Likewise. - * sysdeps/sh/nptl/tcb-offsets.sym: Likewise. - * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise. - * sysdeps/tile/nptl/tcb-offsets.sym: Likewise. - * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise. - * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching. - * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise. - * sysdeps/unix/sysv/linux/arm/clone.S: Likewise. - * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise. - * sysdeps/unix/sysv/linux/i386/clone.S: Likewise. - * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise. - * sysdeps/unix/sysv/linux/mips/clone.S: Likewise. - * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise. - * sysdeps/unix/sysv/linux/sh/clone.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise. - * sysdeps/unix/sysv/linux/tile/clone.S: Likewise. - * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise. - * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset. - * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise. - * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread - struct access. - (clone_test): Remove function. - (do_test): Rewrite to take in consideration pid is not cached anymore. - -2016-11-24 Joseph Myers - - * bits/flt-eval-method.h: New file. - * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise. - * sysdeps/s390/bits/flt-eval-method.h: Likewise. - * sysdeps/x86/bits/flt-eval-method.h: Likewise. - * math/Makefile (headers): Add bits/flt-eval-method.h. - * math/math.h: Include . - [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD. - [__USE_ISOC99] (double_t): Likewise. - * bits/mathdef.h (float_t): Remove. - (double_t): Likewise. - * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise. - (double_t): Likewise. - * sysdeps/alpha/bits/mathdef.h (float_t): Likewise. - (double_t): Likewise. - * sysdeps/arm/bits/mathdef.h (float_t): Likewise. - (double_t): Likewise. - * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise. - (double_t): Likewise. - * sysdeps/ia64/bits/mathdef.h (float_t): Likewise. - (double_t): Likewise. - * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise. - (double_t): Likewise. - * sysdeps/mips/bits/mathdef.h (float_t): Likewise. - (double_t): Likewise. - * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise. - (double_t): Likewise. - * sysdeps/s390/bits/mathdef.h (float_t): Likewise. - (double_t): Likewise. - * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise. - (double_t): Likewise. - * sysdeps/sparc/bits/mathdef.h (float_t): Likewise. - (double_t): Likewise. - * sysdeps/tile/bits/mathdef.h (float_t): Likewise. - (double_t): Likewise. - * sysdeps/x86/bits/mathdef.h (float_t): Likewise. - (double_t): Likewise. - -2016-11-24 Aurelien Jarno - - * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED - instead of PIC. - -2016-11-23 Joseph Myers - - [BZ #20859] - * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to - (-0x7fffffff) instead of 0x80000001. - * math/test-fp-ilogb-constants.c: New file. - * math/Makefile (tests): Add test-fp-ilogb-constants. - -2016-11-23 Maciej W. Rozycki - - * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro. - (_init): Use it in place of hardcoded R_MIPS_JALR. - * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro. - (_init): Use it in place of hardcoded R_MIPS_JALR. - * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro. - (_init): Use it in place of hardcoded R_MIPS_JALR. - -2016-11-23 Joseph Myers - - [BZ #20787] - * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if - [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero. - (double_t): Do not define to double if [__x86_64__] when - __FLT_EVAL_METHOD__ is nonzero. - * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file. - * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise. - * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add - test-flt-eval-method-387 and test-flt-eval-method-sse. - [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New - variable. - [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise. - -2016-11-23 Chris Metcalf - - * scripts/build-many-glibcs.py (Context.add_all_configs): Revert - use of -fno-isolate-erroneous-paths options for tilepro. - -2016-11-23 Florian Weimer - - * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data - structure initialization is no longer needed. - -2016-11-23 Joseph Myers - - [BZ #20855] - * bits/mathdef.h (float_t): Define to float. - * math/test-flt-eval-method.c: New file. - * math/Makefile (tests): Add test-flt-eval-method. - (CFLAGS-test-flt-eval-method.c): New variable. - -2016-11-22 Steve Ellcey - - * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs - and __fstatfs. Make them aliases of __fstatfs64 if - STATFS_IS_STATFS64 is set to non-zero. - * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs, - and __statfs64. - * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not - define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero. - * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto - for __statfs and statfs. - * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64 - to 0. - * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto. - * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto. - * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto. - * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto. - * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto. - * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto. - * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto. - * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto. - * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto. - * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto. - -2016-11-22 Andreas Schwab - - * misc/mkstemp.c: Include . - * misc/mkstemps.c: Likewise. - * misc/mkostemp.c: Likewise. - * misc/mkostemps.c: Likewise. - -2016-11-22 Adhemerval Zanella - - [BZ #20847] - * posix/execvpe.c (maybe_script_execute): Remove write past allocated - array bounds. - (__execvpe): Likewise. - -2016-11-22 Joseph Myers - - * scripts/build-many-glibcs.py (Context.add_all_configs): Also use - -fno-isolate-erroneous-paths options for tilepro. - -2016-11-21 Steve Ellcey - - * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64 - to 0 when in 32 bit mode. - * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0. - * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto. - * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto. - * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto. - * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto. - * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on - XSTAT_IS_XSTAT64 test. - * sysdeps/unix/sysv/linux/fxstatat.c: Ditto. - * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto. - * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto. - * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto. - * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto. - * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto. - * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto. - * sysdeps/unix/sysv/linux/lxstat.c: Ditto. - * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto. - * sysdeps/unix/sysv/linux/xstat.c: Ditto. - * sysdeps/unix/sysv/linux/xstatconv.c: Ditto. - -2016-11-19 Joseph Myers - - * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] - (setpayload): New declaration. - * math/Versions (setpayload): New libm symbol at version - GLIBC_2.25. - (setpayloadf): Likewise. - (setpayloadl): Likewise. - * math/Makefile (libm-calls): Add s_setpayloadF. - * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct - test_Ff_b1_data. - (RUN_TEST_Ff_b1): New macro. - (RUN_TEST_LOOP_Ff_b1): Likewise. - (canonicalize_test_data): Update type. - (setpayload_test_data): New array. - (setpayload_test): New function. - (main): Call setpayload_test. - * manual/arith.texi (FP Bit Twiddling): Document setpayload, - setpayloadf and setpayloadl. - * manual/libm-err-tab.pl: Update comment on interfaces without - ulps tabulated. - * sysdeps/ieee754/dbl-64/s_setpayload.c: New file. - * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: - Likewise. - * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise. - * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise. - * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise. - * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add - setpayload. - (CFLAGS-nldbl-setpayload.c): New variable. - * sysdeps/nacl/libm.abilist: Update. - * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise. - -2016-11-18 Adhemerval Zanella - - * hurd/hurd.h (__hurd_fail_noerrno): Remove function. - * include/unistd.h: Extend comment about __access_noerrno return - semantics. - * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1. - (access_common): Correct typo for EACCES. - -2016-11-18 Chris Metcalf - - * sysdeps/tile/math-tests.h: New file. - - * sysdeps/unix/sysv/linux/tile/set_dataplane.c - (__old_set_dataplane): Rename from set_dataplane and make a - compatibility symbol. - * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file. - * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove - sys/dataplane.h. - -2016-11-18 Joseph Myers - - * scripts/build-many-glibcs.py (Context.write_files): Make wrapper - script quote words in command output to log suitably for input to - the shell. - -2016-11-18 Matthew Fortune - Maciej W. Rozycki - - * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at - `.Lno_weak_fn' label. - * sysdeps/mips/mips64/n32/crti.S (_init): Likewise. - * sysdeps/mips/mips64/n64/crti.S (_init): Likewise. - -2016-11-17 Adhemerval Zanella - Yury Norov - - * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define. - * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h - (__RLIM_T_MATCHES_RLIM64_T): Likewise. - * sysdeps/unix/sysv/linux/generic/bits/typesizes.h - (__RLIM_T_MATCHES_RLIM64_T): Likewise. - * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__] - (__RLIM_T_MATCHES_RLIM64_T): Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h - [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise. - * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__] - (__RLIM_T_MATCHES_RLIM64_T): Likewise. - * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource] - (sysdep_routines): Remove oldgetrlimit64. - * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource] - (sysdep_routines): Likewise. - * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource] - (sysdep_routines): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile - [$(subdir) = resource] (sysdep_routines): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/Makefile - [$(subdir) = resource] (sysdep_routines): Likewise. - * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file. - * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise. - * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise. - * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise. - * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise. - * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise. - * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise. - * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove - setrlimit and getrlimit. - * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/getrlimit.c: New file. - * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise. - * sysdeps/unix/sysv/linux/setrlimit.c: Likewise. - * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle - __RLIM_T_MATCHES_RLIM64_T and add alias if defined. - (__old_getrlimit64): Add compatibility symbol. - * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise. - -2016-11-17 Joseph Myers - - * scripts/build-many-glibcs.py (Config.build_gcc): Configure with - newly built gmp, mpfr and mpc. - - * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include . - -2016-11-16 Joseph Myers - - * conform/Makefile (linknamespace-libs): Rename to - linknamespace-libs-thr. - (linknamespace-libs-posix): New variable. - (linknamespace-libs-xsi): Likewise. - (linknamespace-libs-XPG3): Include libcrypt.a. - (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3). - (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr). - (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi). - (linknamespace-libs-XOPEN2K): Likewise. - (linknamespace-libs-XOPEN2K8): Likewise. - (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix). - - [BZ #20829] - * stdio-common/Versions (__snprintf): Add to version - GLIBC_PRIVATE. - * include/stdio.h (__snprintf): Use libc_hidden_proto. - * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def. - * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead - of snprintf. - * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise. - -2016-11-16 Zack Weinberg - - * string/string.h: Remove obsolete comment stating that - strcoll_l and strxfrm_l have not yet been standardized. - -2016-11-16 Adhemerval Zanella - - * hurd/hurd.h (__hurd_fail_noerrno): New function. - * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare - __access_noerrno. - * io/access.c (__access_noerrno): New function. - * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function. - (hurd_fail_seterrno): Likewise. - (access_common): Likewise. - (__access_noerrno): Likewise. - * sysdeps/nacl/access.c (__access_noerrno): Likewise. - * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise. - * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New - macro. - -2016-11-16 Joseph Myers - - * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump): - Only declare fpregs if [__SH_FPU_ANY__]. - -2016-11-15 Joseph Myers - - * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]: - Make code unconditional. - [!(__SH4__ || __SH4A__)]: Remove conditional code. - -2016-11-15 Rical Jasan - - * manual/sysinfo.texi (S_APPEND): Delete. - (S_IMMUTABLE): Likewise. - -2016-11-15 Denis Kaganovich - Magnus Granberg - Mike Frysinger - - [BZ #20662] - * configure.ac (libc_cv_predef_stack_protector): Also check for - __stack_chk_fail_local symbols. - * configure: Regenerated. - -2016-11-15 Florian Weimer - - * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro. - (libc_hidden_def): Remove redefinition. - (__sigsetjmp): Add hidden definition. - * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro. - (libc_hidden_def): Remove redefinition. - (__sigsetjmp): Add hidden definition. - -2016-11-14 Joseph Myers - - * scripts/build-many-glibcs.py (os.path): Do not import. - (Context): Inherit explicitly from object. Remove blank line - between class and docstring. - (Config): Likewise. - (Glibc): Likewise. - (Command): Likewise. - (CommandList): Likewise. - (Context.write_files): Store chmod mode in a variable. - - * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use - LIBC_SLIBDIR_RTLDDIR for tilegx32. - * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated. - -2016-11-14 Zack Weinberg - - * sunrpc/Makefile (rpcgen-tests): Delete the .out file before - creating or re-creating it. - - * string/bits/string2.h: Fix typo in comment. - -2016-11-14 Zack Weinberg - - * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros. - (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL) - (__SYSMACROS_FST_IMPL_TEMPL): Delete. - (major, minor, makedev): Use __SYSMACROS_DM in definition, instead - of redirected function names. - - * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5 - as well. Document that MESSAGE must be a single string literal. - -2016-11-11 Joseph Myers - - * scripts/build-many-glibcs.py: New file. - - * stdlib/bug-getcontext.c: Include . - (do_test): Disable -Wmaybe-uninitialized around uses of - except_mask. - - * sysdeps/unix/sysv/linux/sh/sys/user.h: Include . - -2016-11-10 Chris Metcalf - - * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed) - (atomic_store_release): Provide tilepro-specific implementations. - -2016-11-10 Joseph Myers - - * math/math.h (__MATH_TG): New macro. - [__USE_ISOC99] (fpclassify): Define using __MATH_TG. - [__USE_ISOC99] (signbit): Likewise. - [__USE_ISOC99] (isfinite): Likewise. - [__USE_ISOC99] (isnan): Likewise. - [__USE_ISOC99] (isinf): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using - __MATH_TG and __MATH_EVAL_FMT2. - * sysdeps/generic/math_private.h (fabs_tg): Define using - __MATH_TG. - * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h - [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro. - [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise. - [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG. - * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New - macro. - (__iscanonical): Likewise. - (iscanonical): Define using __MATH_TG. - -2016-11-10 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include - guards. - - * sysdeps/unix/sysv/linux/access.c: New file. - * sysdeps/unix/sysv/linux/generic/access.c: Remove file. - -2016-11-10 Steve Ellcey - - * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG - and __WORDSIZE32_PTRDIFF_LONG. - -2016-11-10 Siddhesh Poyarekar - - * sysdeps/aarch64/libm-test-ulps: Regenerated. - -2016-11-09 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file. - * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise. - * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise. - * sysdeps/unix/sysv/linux/truncate.c: New file. - * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use - INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros. - * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate): - Remove. - * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate): - Likewise. - - * posix/tst-truncate-common.c: New file. - * posix/tst-truncate.c: Use tst-truncate-common.c. - * posix/tst-truncate64.c: Likewise and add LFS tests. - * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file. - * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise. - * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise. - * sysdeps/unix/sysv/linux/ftruncate.c: New file. - * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use - INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros. - [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias. - * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate): - Remove. - * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate): - Likewise. - -2016-11-08 Joseph Myers - - [BZ #20790] - * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size - to MAXLINESIZE. - * sunrpc/bug20790.x: New file. - * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New - variable. - [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests). - [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule. - - * sysdeps/unix/sysv/linux/sh/localplt.data: New file. - - * sysdeps/unix/sysv/linux/hppa/localplt.data: New file. - - * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr - optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc, - calloc, realloc, free, memalign and __libc_memalign rather than - making them optional. - - * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2 - for libc.so. - -2016-11-08 Adhemerval Zanella - - * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add - ptw-lseek64. - * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek. - * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): - Likewise. - * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file. - * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file. - * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise. - * sysdeps/unix/sysv/linux/llseek.c: Remove file. - * sysdeps/unix/sysv/linux/lseek.c: New file. - * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation. - * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and - __libc_lseek64 from auto-generation. - * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file. - -2016-11-07 Gabriel F. T. Gomes - - * nptl/tst-basic1.c (tf, do_test): Use write_message. - * nptl/tst-cleanup1.c (do_test): Likewise. - * nptl/tst-cleanup3.c (do_test): Likewise. - * nptl/tst-key1.c (do_test): Likewise. - * nptl/tst-key2.c (tf, do_test): Likewise. - * nptl/tst-key3.c (tf, do_test): Likewise. - * nptl/tst-stdio1.c (do_test): Likewise. - * nptl/tst-stdio2.c (do_test): Likewise. - - * nptl/tst-kill3.c (handler): Use write_message in place of write. - * nptl/tst-kill6.c (handler): Likewise. - * nptl/tst-tls2.c (CB): Likewise. - * nptl/tst-tls3.c (CB): Likewise. - -2016-11-07 Joseph Myers - - * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32. - -2016-11-07 Yury Norov - Steve Ellcey - - * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define - __ASSUME_ST_INO_64_BIT as 0 - * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise. - * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if - over the code where __ASSUME_ST_INO_64_BIT is used. - * sysdeps/unix/sysv/linux/lxstat64.c: Likewise. - * sysdeps/unix/sysv/linux/xstat64.c: Likewise. - * sysdeps/unix/sysv/linux/xstatconv.c: Likewise. - -2016-11-07 Florian Weimer - - * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s): - Document ABI exposure of the __kind offset. - * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s): - Mention reason for the __kind offset exposure in the ABI. - * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s): - Likewise. - * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s): - Likewise. - * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s): - Likewise. - * sysdeps/microblaze/nptl/bits/pthreadtypes.h - (struct __pthread_mutex_s): Likewise. - * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s): - Likewise. - * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s): - Likewise. - * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s): - Likewise. - * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s): - Likewise. - * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s): - Likewise. - * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s): - Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h - (struct __pthread_mutex_s): Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h - (struct __pthread_mutex_s): Likewise. - * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s): - Likewise. - -2016-11-07 Steve Ellcey - - * test-skeleton.c: Document do_test usage. - -2016-11-06 Aurelien Jarno - - * iconv/gconv.h (__gconv_info): Define __data element using a - zero-length array. - -2016-11-04 Steve Ellcey - - * math/test-tgmath2.c: Split up test function. - -2016-11-04 Joseph Myers - - * Rules (tests-expected): New variable, depending on - $(run-built-tests). - (tests): Pass $(tests-expected) to merge-test-results.sh, not - $(tests). - - * Rules [$(run-built-tests) = no] (tests): Do not depend on - $(tests-unsupported). - -2016-11-04 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h - (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and 64 bits. - -2016-11-04 Joseph Myers - - [BZ #20768] - * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call - __fegetenv instead of fegetenv. - - [BZ #14139] - * manual/libm-err-tab.pl (%pplatforms): Initialize to empty. - (find_files): Obtain platform name from libm-test-ulps-name and - store in %pplatforms. - (canonicalize_platform): Remove. - (print_platforms): Use $pplatforms directly. - (by_platforms): Do not allow for platforms missing from - %pplatforms. - * sysdeps/aarch64/libm-test-ulps-name: New file. - * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise. - * sysdeps/arm/libm-test-ulps-name: Likewise. - * sysdeps/generic/libm-test-ulps-name: Likewise. - * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise. - * sysdeps/i386/fpu/libm-test-ulps-name: Likewise. - * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise. - * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise. - * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise. - * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise. - * sysdeps/microblaze/libm-test-ulps-name: Likewise. - * sysdeps/mips/mips32/libm-test-ulps-name: Likewise. - * sysdeps/mips/mips64/libm-test-ulps-name: Likewise. - * sysdeps/nios2/libm-test-ulps-name: Likewise. - * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise. - * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise. - * sysdeps/s390/fpu/libm-test-ulps-name: Likewise. - * sysdeps/sh/libm-test-ulps-name: Likewise. - * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise. - * sysdeps/tile/libm-test-ulps-name: Likewise. - * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise. - - * sysdeps/unix/sysv/linux/mips/sys/user.h: Include . - - * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf] - (test-xfail-check-execstack): New variable. - - * sysdeps/mips/localplt.data: New file. - -2016-11-04 Yury Norov - Steve Ellcey - - * bits/wordsize.h: Add documentation. - * sysdeps/aarch64/bits/wordsize.h : New file - * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update - definitions. - (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check. - * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check - with #if instead of #ifdef. - * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto. - * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG, - __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32): - Add or change defines. - * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise. - * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise. - * sysdeps/s390/s390-32/bits/wordsize.h: Likewise. - * sysdeps/s390/s390-64/bits/wordsize.h: Likewise. - * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise. - * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise. - * sysdeps/tile/tilegx/bits/wordsize.h: Likewise. - * sysdeps/tile/tilepro/bits/wordsize.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise. - * sysdeps/wordsize-32/bits/wordsize.h: Likewise. - * sysdeps/wordsize-64/bits/wordsize.h: Likewise. - * sysdeps/x86/bits/wordsize.h: Likewise. - -2016-11-04 Wilco Dijkstra - Kevin Petit - - * sysdeps/aarch64/memchr.S (__memchr): New file. - -2016-11-04 Joseph Myers - - * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx. - -2016-11-03 Joseph Myers - - [BZ #19398] - * conform/Makefile ($(linknamespace-header-tests)): Also depend on - $(linknamespace-symlists-tests). - -2016-11-02 Steve Ellcey - - * time/tst-strptime2.c: Ignore -Wformat-length warning. - -2016-11-02 Florian Weimer - Carlos O'Donell - - [Bug #20729] - * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT - change to non -Os related diagnostic. Use DIAG_IGNORE_Os_NEEDS_COMMENT - for -Os related change. - -2016-11-01 Steve Ellcey - - * stdio-common/tst-printf.c: Ignore -Wformat-length warning. - -2016-11-01 Joseph Myers - - [BZ #19673] - * manual/math.texi (Exponents and Logarithms): Correct description - of clog10. - -2016-10-31 Carlos O'Donell - - [Bz #20729] - * locale/weight.h: Include libc-internal.h. - * locale/weightwc.h: Likewise. - * nptl/nptl_dbP.h: Likewise. - -2016-10-31 Brent W. Baccala - - * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr - when it is MACH_PORT_NULL. - -2016-10-31 Andreas Schwab - - [BZ #20707] - * posix/glob.c (glob): Initialize pglob before checking for - GLOB_BRACE. Don't call glob recursively if pattern contains no - valid brace expression despite GLOB_BRACE. - * posix/globtest.sh: Test it. - -2016-10-28 Carlos O'Donell - - [BZ #20729] - * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT): - Define. - * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore - -Wmaybe-uninitialized for BODY macro only for -Os compiles. - * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error - for seq2.back_us and seq1.back_us only for -Os compiles. - * locale/weightwc.h (findix): Likewise. - * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for - DB_GET_FIELD_ADDRESS only for -Os compiles. - * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error - for slen only for -Os compiles. - * string/strcoll_l.c (get_next_seq): Ignore - -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only - for -Os compiles. - - * elf/Makefile (CFALGS-tst-linkall-static): Remove. - * include/crypt.h: New file. - -2016-10-28 Gabriel F. T. Gomes - - * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied - from test-skeleton.c. - (statclass): Replace calls to write with calls to write_message. - -2016-10-28 Joseph Myers - - * math/math.h - [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF): - New macro. - [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN): - Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL): - Likewise. - * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and - SNANL. - * math/test-double.h (snan_value_MACRO): New macro. - * math/test-float.h (snan_value_MACRO): Likewise. - * math/test-ldouble.h (snan_value_MACRO): Likewise. - * math/libm-test.inc (issignaling_test_data): Add tests of - snan_value_MACRO. - -2016-10-28 Tulio Magno Quites Machado Filho - - * nptl/pthread_rwlock_unlock.c: Add a comment explaining its - behavior when eliding a lock not held by the current thread. - * sysdeps/powerpc/nptl/elide.h: Likewise. - -2016-10-28 Tulio Magno Quites Machado Filho - - [BZ #20728] - * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a - branch to _exit() by a function call. - -2016-10-28 Florian Weimer - - * malloc/malloc.c: Update chunk layout comments. - (chunk_main_arena): Update comment. - -2016-10-28 Florian Weimer - - * crypt/sha256.c, crypt/sha256-block.c, - sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename - sha256_process_block to __sha256_process_block. - * crypt/sha512.c, crypt/sha512-block.c, - sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename - sha512_process_block to __sha512_process_block. - -2016-10-28 Carlos O'Donell - - * elf/Makefile (CFLAGS-tst-linkall-static): Define. - - * math/test-nan-overflow.c: Include stdlib.h for malloc. - -2016-10-28 H.J. Lu - - [BZ #20019] - * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC - definition in unrelocated shared library. - * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise. - -2016-10-28 Florian Weimer - - [BZ #20729] - Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer. - * sysdeps/unix/sysv/linux/i386/Makefile - (uses-6-syscall-arguments): Define. - [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os) - (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os) - (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it. - [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os): - Likewise. - [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os) - (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os) - (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os) - (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os) - (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o) - (CFLAGS-fallocate64.os): Likewise. - [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o) - (CFLAGS-pthread_rwlock_timedrdlock.os) - (CFLAGS-pthread_rwlock_timedwrlock.o) - (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o) - (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o) - (CFLAGS-sem_timedwait.os): Likewise. - -2016-10-28 Florian Weimer - - * elf/tst-linkall-static.c: New file. - * elf/Makefile (tests-static): Add tst-linkall-static. - (tst-linkall-static): Link against static libraries. - -2016-10-27 Florian Weimer - - * malloc/malloc.c (sysmalloc): Initialize previous size field of - mmaped chunks. - -2016-10-28 Florian Weimer - - * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size - members to mchunk_prev_size, mchunk_size. - (chunk_main_arena): Reverse sense and rename from - chunk_non_main_arena. - (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use - mchunk_size instead of size. - (set_non_main_arena): Define. - (chunksize): Use chunksize_nomask instead of direct member access. - (chunksize_nomask): Define. - (next_chunk): Use chunksize instead of direct member access. - (prev_size, set_prev_size): Define. - (prev_chunk): Use prev_size instead of direct member access. - (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member. - (inuse_bit_at_offset, set_inuse_bit_at_offset) - (clear_inuse_bit_at_offset): Use mchunk_size member instead of size. - (mchunk_prev_size, mchunk_size): Poison tokens. - (unlink): Use chunksize_nomask, prev_size accessors. - (do_check_remalloced_chunk): Use chunk_main_arena accessor. - (do_check_free_chunk): Use prev_size accessor. - (sysmalloc): Use set_prev_size, set_head accessors. - (munmap_chunk, mremap_chunk): Use prev_size accessor. - (__libc_free): Use chunksize_nomask accessor. - (_int_malloc): Use set_non_main_arena, chunksize_nomask, - chunk_main_arena accessors. - (_int_free): Use chunksize_nomask, prev_size accessors. - (malloc_consolidate): Use chunksize, prev_size accessors. - (_int_realloc): Use chunksize_nomask accessor. - (_int_memalign): Use set_prev_size accessor. - (__malloc_info): Use chunksize_nomask accessor. - * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse - accessors. - * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor. - (heap_trim): Use chunksize_nomask, prev_size accessors. - -2016-10-28 Joseph Myers - - [BZ #19380] - * stdlib/strtod_l.c (round_and_return): Force "inexact" exception - for inexact results. - * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication - of inexact result where mpfr_subnormalize is the only inexact - step. - * stdlib/tst-strtod-round-data.h: Regenerated. - * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT): - Define to 0. - (GEN_ONE_TEST): Test inexact exceptions raised are as expected. - -2016-10-27 David S. Miller - - * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h - -2016-10-27 Siddhesh Poyarekar - - * malloc/malloc.c (do_set_mallopt_check): New function. - (do_set_mmap_threshold): Likewise. - (do_set_mmaps_max): Likewise. - (do_set_top_pad): Likewise. - (do_set_perturb_byte): Likewise. - (do_set_trim_threshold): Likewise. - (do_set_arena_max): Likewise. - (do_set_arena_test): Likewise. - (__libc_mallopt): Use them. - -2016-10-26 Joseph Myers - - * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] - (canonicalize): New declaration. - * math/Versions (canonicalize): New libm symbol at version - GLIBC_2.25. - (canonicalizef): Likewise. - (canonicalizel): Likewise. - * math/Makefile (gen-libm-calls): Add s_canonicalizeF. - * math/s_canonicalize_template.c: New file. - * math/libm-test.inc: Update comment on functions tested and - testing of NaN payloads. - (TEST_NAN_PAYLOAD): New macro. - (NO_TEST_INLINE): Update value. - (XFAIL_TEST): Likewise. - (ERRNO_UNCHANGED): Likewise. - (ERRNO_EDOM): Likewise. - (ERRNO_ERANGE): Likewise. - (IGNORE_RESULT): Likewise. - (NON_FINITE): Likewise. - (TEST_SNAN): Likewise. - (NO_TEST_MATHVEC): Likewise. - (TEST_NAN_PAYLOAD_CANONICALIZE): New macro. - (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD. - (struct test_Ffp_b1_data): New type. - (RUN_TEST_Ffp_b1): New macro. - (RUN_TEST_LOOP_Ffp_b1): Likewise. - (canonicalize_test_data): New array. - (canonicalize_test): New function. - (main): Call canonicalize_test. - * manual/arith.texi (FP Bit Twiddling): Document canonicalize, - canonicalizef and canonicalizel. - * manual/libm-err-tab.pl: Update comment on interfaces without - ulps tabulated. - * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file. - * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise. - * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add - canonicalize. - (CFLAGS-nldbl-canonicalize.c): New variable. - * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move - to ... - * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c: - ... here. - (do_test): Also test canonicalizel. - * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change - test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm. - * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New - file. - * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall): - Use libm_hidden_def. - * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ... - * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here. - (do_test): Also test canonicalizel. - * sysdeps/ieee754/ldbl-96/Makefile (tests): Change - test-iscanonical-ldbl-96 to test-canonical-ldbl-96. - * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file. - * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use - libm_hidden_def. - * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New - macro. - * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008] - (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise. - * sysdeps/nacl/libm.abilist: Update. - * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise. - - * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file. - * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add - getpayload. - (CFLAGS-nldbl-getpayload.c): New variable. - -2016-10-26 Gabriel F. T. Gomes - - * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse - integer from the format string. - -2016-10-26 Florian Weimer - - [BZ #19473] - * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove - declarations. - * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove - weak aliases. - * malloc/hooks.c (__malloc_get_state): Remove definition. - (malloc_get_state): New stub implementation as - compatibility symbol. - (malloc_set_state): Rename from __malloc_set_state. Turn into - compat symbol. - * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses - malloc_set_state. - * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic. - -2016-10-26 Florian Weimer - - * iconvdata/iso646.c (enum variant): Drop illegal_var. - (names): Turn into concatenation of strings. - (gconv_init): Adapt iteration over names. - -2016-10-26 Florian Weimer - - * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and - make const. - * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise. - * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise. - * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise. - * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte - character in sbconv. - * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise. - * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise. - * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise. - -2016-10-26 Siddhesh Poyarekar - - * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove. - - * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk. - (M_TRIM_THRESHOLD): Likewise. - - * manual/memory.texi (M_ARENA_TEST): Add documentation. - (M_ARENA_MAX): Likewise. - * malloc/malloc.c: Remove obsolete comment. - - * manual/memory.texi: Add environment variable alternatives to - setting mallopt parameters. - -2016-10-26 Carlos O'Donell - - * include/atomic.h - [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release] - (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release. - -2016-10-25 Rajalakshmi Srinivasaraghavan - - * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale. - * stdlib/tst-strfrom.h: New file. - * stdlib/tst-strfrom.c: New file. - * stdlib/tst-strfrom-locale.c: New file. - - * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH. - * stdlib/bug-strtod2.c: Likewise. - * stdlib/tst-strtod-round-skeleton.c: Likewise. - * stdlib/tst-strtod6.c: Likewise. - * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom. - -2016-10-25 Gabriel F. T. Gomes - - * NEWS: Mention the addition of strfromd, strfromf, and strfroml. - * manual/arith.texi: Document strfromd, strfromf, strfroml. - * stdlib/Makefile: Add strfromd, strfromf, and strfroml. - * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml. - * stdlib/stdlib.h (strfromd): New declaration. - (strfromf): Likewise. - (strfroml): Likewise. - * stdlib/strfrom-skeleton.c: New file. Generic implementation for - strfrom. - * stdlib/strfromd.c: New file. - * stdlib/strfromf.c: Likewise. - * stdlib/strfroml.c: Likewise. - * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd. - * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c. - * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file; - * sysdeps/arm/nacl/libc.abilist: Update. - * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise. - -2016-10-25 Joseph Myers - - * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi - instead of cmpli. - * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi - instead of cmpli. - -2016-10-24 Yury Norov - - * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast. - * sysdeps/unix/sysv/linux/lxstat.c: Likewise. - * sysdeps/unix/sysv/linux/xstat.c: Likewise. - * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise. - * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise. - * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise. - -2016-10-24 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW. - * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise. - * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use - SYSCALL_LL64_PRW. - * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise. - * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define - __ASSUME_PRW_DUMMY_ARG. - * sysdeps/unix/sysv/linux/sh/pread.c: Remove file. - * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and - SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG. - -2016-10-24 Steve Ellcey - - * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size. - -2016-10-22 Florian Weimer - - * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern - "C++", to override a potential extern "C" directive around the - header file inclusion. - -2016-10-21 Joseph Myers - - * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable. - -2016-10-21 Paul E. Murphy - - * sysdeps/powerpc/fpu/fenv_private.h: - (_FPU_MASK_ALL): Rename to... - (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and - XE FPSCR bits. - - (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR. - - (_FPU_MASK_ROUNDING): Rename to... - (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and - NI bits. - - (_FPU_MASK_EXCEPT_ROUND): Rename to... - (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable - bits and rounding bits. - - (__libc_feholdbits_ppc): New inline function to mask, set, - and pontentially clear FSPCR bits, and change MSR[FE] bits. - (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc. - (libc_feholdexcept_setround_ppc): Likewise. - - (__libc_femergeenv_ppc): New function to dynamically mask both - old and new FP environments and merge. - (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc. - (libc_feresetround_ppc): Likewise. - (libc_feupdateenv_test_ppc): Likewise. - (libc_feupdateenv_ppc): Likewise. - - (libc_feholdsetround_ppc_ctx): Fix usage to include masking - of ISA RN bits, and update macro names. - (libc_feholdexcept_setround_ppc_ctx): Remove as it is - effectively the same as the previously mentioned function. - - (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc - usage with fe_resetround_ppc. - - (libc_feholdexcept_setround_ctx): Remove, this doesn't appear - to be used. - (libc_feholdexcept_setround_ctxf): Likewise. - (libc_feholdexcept_setround_ctxl): Likewise. - -2016-10-21 Florian Weimer - - [BZ #20715] - * math/math.h [__cplusplus] (iszero): Define as function template. - * math/Makefile [CXX] (tests): Add test-math-iszero. - (CFLAGS-test-math-iszero.cc): Set. - * math/test-math-iszero.cc: New file. - -2016-10-20 Joseph Myers - - [BZ #20660] - * sysdeps/arm/e_sqrt.c: New file. - * sysdeps/arm/e_sqrtf.c: Likewise. - -2016-10-19 Joseph Myers - - [BZ #20718] - * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do - not use floating-point comparisons to test sign. - * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl): - Likewise. - - * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] - (getpayload): New declaration. - * math/Versions (getpayload): New libm symbol at version - GLIBC_2.25. - (getpayloadf): Likewise. - (getpayloadl): Likewise. - * math/Makefile (libm-calls): Add s_getpayloadF. - * math/libm-test.inc: Include . - (struct test_f_f_data): Add comment. - (RUN_TEST_fp_f): New macro. - (RUN_TEST_LOOP_fp_f): Likewise. - (getpayload_test_data): New array. - (getpayload_test): New function. - (main): Call getpayload_test. - * math/gen-libm-test.pl (parse_args): Handle 'p' in argument - descriptor. - * manual/arith.texi (FP Bit Twiddling): Document getpayload, - getpayloadf and getpayloadl. - * manual/libm-err-tab.pl: Update comment on interfaces without - ulps tabulated. - * sysdeps/ieee754/dbl-64/s_getpayload.c: New file. - * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise. - * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise. - * sysdeps/nacl/libm.abilist: Update. - * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise. - -2016-10-18 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move - tst-fallocate{64}. - * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP - on syscall return. - -2016-10-17 Carlos O'Donell - - [BZ #20689] - * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is - usable. - -2016-10-17 Joseph Myers - - * sysdeps/generic/nan-high-order-bit.h: New file. - * sysdeps/hppa/nan-high-order-bit.h: Likewise. - * sysdeps/mips/nan-high-order-bit.h: Likewise. - * sysdeps/hppa/math_private.h: Remove file. - * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do - not define here. - * sysdeps/ieee754/dbl-64/s_issignaling.c: Include - . - [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef. - * sysdeps/ieee754/dbl-64/s_totalorder.c: Include - . - [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef. - * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include - . - [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef. - * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include - . - [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef. - * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include - . - [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef. - * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include - . - [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef. - * sysdeps/ieee754/flt-32/s_issignalingf.c: Include - . - [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef. - * sysdeps/ieee754/flt-32/s_totalorderf.c: Include - . - [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef. - * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include - . - [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef. - * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include - . - [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef. - * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include - . - [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef. - * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include - . - [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef. - * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include - . - [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef. - * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include - . - [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef. - * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include - . - [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef. - * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include - . - [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef. - * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include - . - [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef. - * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include - . - [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef. - -2016-10-17 Stefan Liebler - - * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file. - -2016-09-22 John David Anglin - - * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include - abort-instr.h. - (EFAULT): Remove conditional define. - (ENOSYS): Likewise. - (atomic_compare_and_exchange_val_acq): Use instruction nullification - instead of conditional branch instructions. - -2016-10-15 Joseph Myers - - * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] - (totalordermag): New declaration. - * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag): - New macro. - * math/Versions (totalordermag): New libm symbol at version - GLIBC_2.25. - (totalordermagf): Likewise. - (totalordermagl): Likewise. - * math/Makefile (libm-calls): Add s_totalordermagF. - * math/libm-test.inc (totalordermag_test_data): New array. - (totalordermag_test): New function. - (main): Call totalordermag_test. - * math/test-tgmath.c (NCALLS): Increase to 125. - (F(compile_test)): Call totalordermag. - (F(totalordermag)): New function. - * manual/arith.texi (FP Comparison Functions): Document - totalordermag, totalordermagf and totalordermagl. - * manual/libm-err-tab.pl: Update comment on interfaces without - ulps tabulated. - * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file. - * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise. - * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise. - * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise. - * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add - totalordermag. - (CFLAGS-nldbl-totalordermag.c): New variable. - * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c - (do_test): Also test totalordermagl. - * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test): - Likewise. - * sysdeps/nacl/libm.abilist: Update. - * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise. - -2016-10-14 Steve Ellcey - - * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly - boolean. - -2016-10-13 Joseph Myers - - * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of - raising FE_INVALID with feraisexcept in case where part of - argument is infinite, subtract that part of argument from itself. - * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise. - * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise. - * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise. - -2016-10-12 Joseph Myers - - * math/libm-test.inc (totalorder_test_data): Add more tests. - -2016-10-12 Adhemerval Zanela - - * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: - Undefine weak_alias and add a comment why mips64 require - versioning. - -2016-10-12 H.J. Lu - - [BZ #20647] - * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the - maximum CPUID level is less than 2. - -2016-10-12 Joseph Myers - - * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] - (totalorder): New declaration. - * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder): - New macro. - * math/Versions (totalorder): New libm symbol at version - GLIBC_2.25. - (totalorderf): Likewise. - (totalorderl): Likewise. - * math/Makefile (libm-calls): Add s_totalorderF. - * math/gen-libm-test.pl (parse_args): Escape quotes in test name - string. - * math/libm-test.inc (PAYLOAD_DIG): New macro. - (qnan_value_pl): Likewise. - (snan_value_pl): Likewise. - (qnan_value): Define using qnan_value_pl. - (snan_value): Define using snan_value_pl. - (struct test_ff_i_data): Add comment about which tests use this - structure. - (RUN_TEST_ff_b): New macro. - (RUN_TEST_LOOP_ff_b): Likewise. - (totalorder_test_data): New array. - (totalorder_test): New function. - (main): Call totalorder_test. - * math/test-tgmath.c (NCALLS): Increase to 122. - (F(compile_test)): Call totalorder. - (F(totalorder)): New function. - * manual/arith.texi (FP Comparison Functions): Document - totalorder, totalorderf and totalorderl. - * manual/libm-err-tab.pl: Update comment on interfaces without - ulps tabulated. - * sysdeps/ieee754/dbl-64/s_totalorder.c: New file. - * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise. - * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise. - * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise. - * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add - totalorder. - (CFLAGS-nldbl-totalorder.c): New variable. - * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New - file. - * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests): - Add test-totalorderl-ldbl-128ibm. - * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file. - * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add - test-totalorderl-ldbl-96. - * sysdeps/nacl/libm.abilist: Update. - * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise. - -2016-10-11 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range. - * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file. - * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise. - * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and - remove ENOSYS implementation. - * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range): - Consolidate all Linux implementations. - -2016-10-11 Florian Weimer - - * resolv/Makefile (+cflags): Do not set -Wno-write-strings. - * resolv/herror.c (herror): Cast away const-ness. - * resolv/res_debug.c (__p_class_syms, __p_default_section_syms) - (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise. - -2016-10-11 Joseph Myers - - * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN - instead of M_NAN + M_NAN. - * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise. - -2016-10-10 Samuel Thibault - - * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define - unused variable 'p'. - -2016-10-09 Alan Modra - Andreas Schwab - - [BZ #20554] - * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount) - [PIC && !SHARED]: Set up PIC register for PLT call. - -2016-10-07 Joseph Myers - - * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define - conditional on value of [__FLT_EVAL_METHOD__]. - * math/test-iseqsig-excess-precision.c: New file. - * math/Makefile (tests): Add test-iseqsig-excess-precision. - -2016-10-07 Adhemerval Zanella - - * math/s_iseqsig_template.c: Include math-private.h. - - * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64. - * posix/tst-posix_fadvise.c: New file. - * posix/tst-posix_fadvise64.c: Likewise. - * posix/tst-posix_fadvise-common.c: Likewise. - * sysdeps/unix/sysv/linux/arm/kernel-features.h - (__ASSUME_FADVISE64_64_6ARG): Define. - * sysdeps/unix/sysv/linux/powerpc/kernel-features.h - [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define. - * sysdeps/unix/sysv/linux/tile/kernel-features.h - [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define. - * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file. - * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise. - * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: - Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c - (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]: - Alias to __posix_fadvise64_l32. - (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]: - Add compat definition to posix_fadvise64. - (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]: - Add versioned definition to posix_fadvise64. - * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff - __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add - __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support. - * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add - __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL. - - * io/Makefile (tests): Add tst-posix_fallocate and - tst-posix_fallocate64. - * io/tst-posix_fallocate-common.c: New file. - * io/tst-posix_fallocate.c: Likewise. - * io/tst-posix_fallocate64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove - file. - * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c: - Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c: - Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise. - * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use - SYSCALL_LL to pass both offset and len arguments. - * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64): - Likewise. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add - __libc_pwrite64 alias used by posix_fallocate64. - - * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and - tst-fallocate64. - * sysdeps/unix/sysv/linux/tst-fallocate.c: New file. - * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise. - * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file. - * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise. - * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL - macro on offset argument. - * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use - SYSCALL_LL64 on offset argument. - - * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and - tst-fallocate64. - * sysdeps/unix/sysv/linux/tst-fallocate.c: New file. - * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise. - * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file. - * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise. - * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL - macro on offset argument. - * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use - SYSCALL_LL64 on offset argument. - * test-skeleton.c (FAIL_RET): Add macro. - (FAIL_EXIT): Likewise. - (FAIL_EXIT1): Likewise. - (_FAIL): Likewise. - -2016-10-07 Florian Weimer - - [BZ #20629] - resolv: Remove RES_USEBSTRING and its implementation. - * resolv/resolv.h (RES_USEBSTRING): Remove. - * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING) - (digitvalue, encode_bitstring, decode_bitstring): Remove. - (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip) - (labellen): Remove extended label types support. - * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling. - * resolv/res_init.c (res_setoptions): Likewise. - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise. - -2016-10-07 Florian Weimer - - resolv: Remove RES_NOIP6DOTINT and its implementation. - * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT. - (RES_NOIP6DOTINT): Remove. - * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT - handling. - * resolv/res_debug.c (p_option): Likewise. - * resolv/res_init.c (res_setoptions): Likewise. - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise. - -2016-10-07 Florian Weimer - - resolv: Deprecate unimplemented flags. - * misc/sys/cdefs.h (__glibc_macro_warning1) - (__glibc_macro_warning): Define. - * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME) - (RES_KEEPTSIG): Mark as deprecated. - * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY, - RES_NOCHECKNAME, RES_KEEPTSIG. - * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling. - -2016-10-07 Stefan Liebler - - * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro. - * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp): - Use strong_alias to create symbols for glibc verison 2.19. - -2016-10-07 Stefan Liebler - - * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro. - -2016-10-07 Stefan Liebler - - * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro. - -2016-10-07 Stefan Liebler - - * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro. - -2016-10-07 Stefan Liebler - - * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday): - Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function - in header for using it as type for ifunc function because __GI_* symbols - for ppc32 do not target the ifunc symbols. - * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise. - -2016-10-07 Stefan Liebler - - * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday): - Use libc_ifunc_hidden macro. Use libc_hidden_def instead of - libc_ifunc_hidden_def. - * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise. - * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday): - Redirect ifunced function in header for using it as type of ifunc'ed - function. Redefine libc_hidden_def to use fallback non ifunc'ed - function for __GI_* symbol. - * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise. - * include/libc-symbols.h - (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro. - -2016-10-07 Stefan Liebler - - [BZ #20478] - * sysdeps/s390/multiarch/ifunc-resolve.h - (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h - to create ifunc symbols. - (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected - , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define. - * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header - for using it as type for ifunc function. - * sysdeps/s390/multiarch/mempcpy.c: Likewise. - * sysdeps/s390/multiarch/rawmemchr.c: Likewise. - * sysdeps/s390/multiarch/stpcpy.c: Likewise. - * sysdeps/s390/multiarch/stpncpy.c: Likewise. - * sysdeps/s390/multiarch/strcat.c: Likewise. - * sysdeps/s390/multiarch/strchr.c: Likewise. - * sysdeps/s390/multiarch/strcmp.c: Likewise. - * sysdeps/s390/multiarch/strcpy.c: Likewise. - * sysdeps/s390/multiarch/strcspn.c: Likewise. - * sysdeps/s390/multiarch/strlen.c: Likewise. - * sysdeps/s390/multiarch/strncmp.c: Likewise. - * sysdeps/s390/multiarch/strncpy.c: Likewise. - * sysdeps/s390/multiarch/strnlen.c: Likewise. - * sysdeps/s390/multiarch/strpbrk.c: Likewise. - * sysdeps/s390/multiarch/strrchr.c: Likewise. - * sysdeps/s390/multiarch/strspn.c: Likewise. - * sysdeps/s390/multiarch/wcschr.c: Likewise. - * sysdeps/s390/multiarch/wcscmp.c: Likewise. - * sysdeps/s390/multiarch/wcspbrk.c: Likewise. - * sysdeps/s390/multiarch/wcsspn.c: Likewise. - * sysdeps/s390/multiarch/wmemchr.c: Likewise. - * sysdeps/s390/multiarch/wmemset.c: Likewise. - * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise. - * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise. - * sysdeps/s390/s390-32/multiarch/memset.c: Likewise. - * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise. - * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise. - * sysdeps/s390/s390-64/multiarch/memset.c: Likewise. - -2016-10-07 Stefan Liebler - - * include/libc-symbols.h (__ifunc_resolver): - New macro is used by __ifunc* macros. - (__ifunc): New macro uses gcc attribute ifunc or inline assembly - depending on HAVE_GCC_IFUNC. - (libc_ifunc, libm_ifunc): Use __ifunc as base macro. - (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: - Redirect ifunced function in header for using as type for ifunc function. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: - Add libc_hidden_def() and use libc_ifunc_hidden() macro - instead of libc_ifunc() macro. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise. - -2016-10-07 Stefan Liebler - - * config.h.in (HAVE_GCC_IFUNC): New undef. - * configure.ac: Add check if gcc supports attribute ifunc feature. - * configure: Regenerated. - * manual/install.texi: Add recommendation for gcc with - indirect-function support. - * INSTALL: Regenerated. - -2016-10-06 Joseph Myers - - * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New - macro. - * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] - (__iseqsig): New declaration. - * math/s_iseqsig_template.c: New file. - * math/Versions (__iseqsigf): New libm symbol at version - GLIBC_2.25. - (__iseqsig): Likewise. - (__iseqsigl): Likewise. - * math/libm-test.inc (iseqsig_test_data): New array. - (iseqsig_test): New function. - (main): Call iseqsig_test. - * math/Makefile (gen-libm-calls): Add s_iseqsigF. - * manual/arith.texi (FP Comparison Functions): Document iseqsig. - * manual/libm-err-tab.pl: Update comment on interfaces without - ulps tabulated. - * sysdeps/generic/fix-fp-int-compare-invalid.h: New file. - * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise. - * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise. - * sysdeps/nacl/libm.abilist: Update. - * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise. - -2016-10-06 Siddhesh Poyarekar - - * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1, - do_sincos_2, sloww, sloww1): Update comments. - - * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to - do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant. - - * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make - K boolean and rename it. - (__sin): Adjust. - (__cos): Adjust. - -2016-10-06 Rical Jasan - Siddhesh Poyarekar - - * manual/nss.texi: Fix typos in the manual. - -2016-10-06 Rical Jasan - - * manual/contrib.texi: Fix typos in the manual. - - * manual/maint.texi: Fix typos in the manual. - - * manual/install.texi: Fix typos in the manual. - * INSTALL: Regenerated. - - * manual/lang.texi: Fix typos in the manual. - - * manual/probes.texi: Fix typos in the manual. - - * manual/threads.texi: Fix typos in the manual. - - * manual/debug.texi: Fix typos in the manual. - - * manual/crypt.texi: Fix typos in the manual. - - * manual/conf.texi: Fix typos in the manual. - - * manual/sysinfo.texi: Fix typos in the manual. - - * manual/users.texi: Fix typos in the manual. - - * manual/job.texi: Fix typos in the manual. - - * manual/process.texi: Fix typos in the manual. - - * manual/argp.texi: Fix typos in the manual. - * manual/getopt.texi: Likewise. - * manual/startup.texi: Likewise. - - * manual/signal.texi: Fix typos in the manual. - - * manual/setjmp.texi: Fix typos in the manual. - - * manual/resource.texi: Fix typos in the manual. - - * manual/time.texi: Fix typos in the manual. - - * manual/arith.texi: Fix typos in the manual. - - * manual/math.texi: Fix typos in the manual. - - * manual/syslog.texi: Fix typos in the manual. - - * manual/terminal.texi: Fix typos in the manual. - - * manual/socket.texi: Fix typos in the manual. - - * manual/filesys.texi: Fix typos in the manual. - - * manual/llio.texi: Fix typos in the manual. - - * manual/stdio.text: Fix typos in the manual. - -2016-10-05 Siddhesh Poyarekar - - * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N - instead of K1. - - * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to - SHIFT_QUADRANT and make it bool. - (do_sincos_2): Likewise. - (sloww): Likewise. - (sloww1): Likewise. - (__sin): Adjust calls to do_sincos_1 and do_sincos_2. - (__cos): Likewise. - -2016-10-05 Tulio Magno Quites Machado Filho - - * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated. - -2016-10-04 Joseph Myers - - * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): - Define to __WORDSIZE, not conditional on [LONG_MAX == - 0x7fffffffL]. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise. - -2016-10-04 Tulio Magno Quites Machado Filho - - * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace - inline by __inline__. - (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise. - (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise. - (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise. - * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require - sigset_t from signal.h. - * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h, - which is already required. - -2016-10-04 Stefan Liebler - - * sysdeps/s390/fpu/libm-test-ulps: Regenerated. - -2016-10-03 Joseph Myers - - * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro. - (struct tcp_repair_window): New type. - -2016-10-02 Adhemerval Zanella - - * libio/tst-memstream3.c: Include string.h. - -2016-09-30 Adhemerval Zanella - - [BZ #18241] - [BZ #20181] - * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3. - * libio/memstream.c (_IO_mem_sync): Only append a null byte if - write position is at the end the buffer. - * libio/wmemstream.c (_IO_wmem_sync): Likewise. - * libio/strops.c (_IO_str_switch_to_get_mode): New function. - (_IO_str_seekoff): Set correct offset from negative displacement and - set EINVAL for invalid ones. - * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate - buffer length. - (_IO_wstr_switch_to_get_mode): New function. - (_IO_wstr_seekoff): Set correct offset from negative displacement and - set EINVAL for invalid ones. - * libio/tst-memstream3.c: New file. - * libio/tst-wmemstream3.c: Likewise. - * manual/examples/memstrm.c: Remove warning when priting size_t. - -2016-09-30 Joseph Myers - - * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define - macro to use __builtin_fma. - * sysdeps/x86_64/fpu/dla.h: Remove file. - - * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h - [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare. - [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1. - -2016-09-30 Carlos O'Donell - - [BZ #20292] - * elf/Makefile (routines): Add dl-addr-obj. - [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add - tst-_dl_addr_inside_object. - [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise. - [ifeq (yesyes,$(have-fpie)$(build-shared))] - ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os. - [ifeq (yesyes,$(have-fpie)$(build-shared))] - (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag). - * elf/dl-addr.c: Remove _dl_addr_inside_object function. - * elf/dl-open.c: Likewise. - * elf/dl-addr-obj.c: New file. - * elf/tst-_dl_addr_inside_object.c: New file. - -2016-09-30 Joseph Myers - - * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include - . - * bits/iscanonical.h: New file. - * math/s_iscanonicall.c: Likewise. - * math/Versions (__iscanonicall): New libm symbol at version - GLIBC_2.25. - * math/libm-test.inc (iscanonical_test_data): New array. - (iscanonical_test): New function. - (main): Call iscanonical_test. - * math/Makefile (headers): Add bits/iscanonical.h. - (type-ldouble-routines): Add s_iscanonicall. - * manual/arith.texi (Floating Point Classes): Document - iscanonical. - * manual/libm-err-tab.pl: Update comment on interfaces without - ulps tabulated. - * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file. - * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: - Likewise. - * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add - test-iscanonical-ldbl-128ibm. - * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file. - * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise. - * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise. - * sysdeps/ieee754/ldbl-96/Makefile: Likewise. - * sysdeps/unix/sysv/linux/i386/libm.abilist: Update. - * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise. - -2016-09-29 Adhemerval Zanella - - * string/bits/string3.h: Remove C++ style comments. - -2016-09-29 Siddhesh Poyarekar - - * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign - instead of ternary condition. - (do_sincos_2): Likewise. - (__sin): Likewise. - (__cos): Likewise. - (slow): Likewise. - (sloww): Likewise. - (sloww1): Likewise. - (bsloww): Likewise. - (bsloww1): Likewise. - - * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign - instead of ternary condition. - (do_sin_slow): Likewise. - (do_sincos_1): Likewise. - (do_sincos_2): Likewise. - (__cos): Likewise. - (sloww): Likewise. - (sloww1): Likewise. - (sloww2): Likewise. - (bsloww): Likewise. - (bsloww1): Likewise. - (bsloww2): Likewise. - - * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign - check from here... - (slow2): ... and here... - (__sin): ... to here. - -2016-09-28 Joseph Myers - - * math/math.h - [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero): - Cast argument to its own type. - * math/test-iszero-excess-precision.c: New file. - * math/Makefile (tests): Add test-iszero-excess-precision. - (CFLAGS-test-iszero-excess-precision.c): New variable. - -2016-09-28 Rasmus Villemoes - - * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe - field, add err field. - (__spawni_child): Report error through err member instead of pipe. - (__spawnix): Likewise. - -2016-09-28 Zack Weinberg - - * scripts/check-installed-headers.sh: Generalize treatment of - sys/elf.h to all target architectures. - - * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally- - deleted typedef ucontext_t. - -2016-09-26 Adhemerval Zanella - - * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro. - (__INTERNAL_SYSCALL1): Likewise. - (__INTERNAL_SYSCALL2): Likewise. - (__INTERNAL_SYSCALL3): Likewise. - (__INTERNAL_SYSCALL4): Likewise. - (__INTERNAL_SYSCALL5): Likewise. - (__INTERNAL_SYSCALL6): Likewise. - (__INTERNAL_SYSCALL7): Likewise. - (__INTERNAL_SYSCALL_NARGS_X): Likewise. - (__INTERNAL_SYSCALL_NARGS): Likewise. - (__INTERNAL_SYSCALL_DISP): Likewise. - (INTERNAL_SYSCALL_CALL): Likewise. - (__SYSCALL0): Rename to __INLINE_SYSCALL0. - (__SYSCALL1): Rename to __INLINE_SYSCALL1. - (__SYSCALL2): Rename to __INLINE_SYSCALL2. - (__SYSCALL3): Rename to __INLINE_SYSCALL3. - (__SYSCALL4): Rename to __INLINE_SYSCALL4. - (__SYSCALL5): Rename to __INLINE_SYSCALL5. - (__SYSCALL6): Rename to __INLINE_SYSCALL6. - (__SYSCALL7): Rename to __INLINE_SYSCALL7. - (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X. - (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS. - (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP. - (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL. - (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL. - -2016-09-23 Joseph Myers - - * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New - macro. - * math/libm-test.inc (iszero_test_data): New array. - (iszero_test): New function. - (main): Call iszero_test. - * manual/arith.texi (Floating Point Classes): Document iszero. - * manual/libm-err-tab.pl: Update comment on interfaces without - ulps tabulated. - -2016-09-23 Zack Weinberg - - * scripts/check-installed-headers.sh: New script. - * Rules: In each directory that defines header files to be installed, - run check-installed-headers.sh on them as a special test. - * Makefile: Likewise for the headers installed at top level. - - * include/aliases.h, include/alloca.h, include/argz.h - * include/arpa/nameser.h, include/arpa/nameser_compat.h - * include/elf.h, include/envz.h, include/err.h - * include/execinfo.h, include/fpu_control.h, include/getopt.h - * include/gshadow.h, include/ifaddrs.h, include/libintl.h - * include/link.h, include/malloc.h, include/mcheck.h - * include/mntent.h, include/netinet/ether.h - * include/nss.h, include/obstack.h, include/printf.h - * include/pty.h, include/resolv.h, include/rpc/auth.h - * include/rpc/auth_des.h, include/rpc/auth_unix.h - * include/rpc/clnt.h, include/rpc/des_crypt.h - * include/rpc/key_prot.h, include/rpc/netdb.h - * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h - * include/rpc/pmap_rmt.h, include/rpc/rpc.h - * include/rpc/rpc_msg.h, include/rpc/svc.h - * include/rpc/svc_auth.h, include/rpc/xdr.h - * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h - * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h - * include/rpcsvc/ypupd.h, include/shadow.h - * include/stdio_ext.h, include/sys/epoll.h - * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h - * include/sys/prctl.h, include/sys/profil.h - * include/sys/statfs.h, include/sys/sysctl.h - * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h - * sysdeps/arm/nacl/include/bits/setjmp.h - * sysdeps/mips/include/sys/asm.h - * sysdeps/unix/sysv/linux/include/sys/sysinfo.h - * sysdeps/unix/sysv/linux/include/sys/timex.h - * sysdeps/x86/fpu/include/bits/fenv.h: - Add #ifndef _ISOMAC guard around internal declarations. - Add multiple-inclusion guard if not already present. - -2016-09-23 Zack Weinberg - - * sysdeps/generic/sys/ucontext.h - * sysdeps/arm/sys/ucontext.h - * sysdeps/i386/sys/ucontext.h - * sysdeps/m68k/sys/ucontext.h - * sysdeps/mips/sys/ucontext.h - * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h - * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h - * sysdeps/unix/sysv/linux/arm/sys/ucontext.h - * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h - * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h - * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h - * sysdeps/unix/sysv/linux/mips/sys/ucontext.h - * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h - * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h - * sysdeps/unix/sysv/linux/s390/sys/ucontext.h - * sysdeps/unix/sysv/linux/sh/sys/ucontext.h - * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h - * sysdeps/unix/sysv/linux/tile/sys/ucontext.h - * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: - Include both bits/sigcontext.h and bits/sigstack.h. - Fix grammar error in comment, if present. - - * bits/sigstack.h - * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h - * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h - * sysdeps/unix/sysv/linux/bits/sigstack.h - * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h - * sysdeps/unix/sysv/linux/mips/bits/sigstack.h - * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h - * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h - * bits/sigcontext.h - * sysdeps/mach/hurd/i386/bits/sigcontext.h - * sysdeps/unix/sysv/linux/bits/sigcontext.h - * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h - * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: - Add multiple inclusion guard. Permit inclusion by sys/ucontext.h - as well as signal.h, if this was not already allowed. Request - definition of size_t if necessary. Minimize semantically-null - differences across files. - -2016-09-23 Zack Weinberg - - * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h: - Remove all logic conditional on __need macros. Move all the - conditionally defined types to their own headers... - * time/bits/types/clock_t.h: Define clock_t here. - * time/bits/types/clockid_t.h: Define clockid_t here. - * time/bits/types/struct_itimerspec.h: Define struct itimerspec here. - * time/bits/types/struct_timespec.h: Define struct timespec here. - * time/bits/types/struct_timeval.h: Define struct timeval here. - * time/bits/types/struct_tm.h: Define struct tm here. - * time/bits/types/time_t.h: Define time_t here. - * time/bits/types/timer_t.h: Define timer_t here. - * time/Makefile: Install the new headers. - - * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h - * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h - * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h - * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h - * sysdeps/unix/sysv/linux/alpha/bits/resource.h - * sysdeps/unix/sysv/linux/alpha/sys/acct.h - * sysdeps/unix/sysv/linux/bits/resource.h - * sysdeps/unix/sysv/linux/bits/timex.h - * sysdeps/unix/sysv/linux/mips/bits/resource.h - * sysdeps/unix/sysv/linux/net/ppp_defs.h - * sysdeps/unix/sysv/linux/sparc/bits/resource.h - * sysdeps/unix/sysv/linux/sys/acct.h - * sysdeps/unix/sysv/linux/sys/timerfd.h - * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h - * time/sys/time.h, time/sys/timeb.h - Use the new bits/types headers. - - * include/time.h: Remove __need logic. - * include/bits/time.h - * include/bits/types/clock_t.h, include/bits/types/clockid_t.h - * include/bits/types/time_t.h, include/bits/types/timer_t.h - * include/bits/types/struct_itimerspec.h - * include/bits/types/struct_timespec.h - * include/bits/types/struct_timeval.h - * include/bits/types/struct_tm.h: - New wrapper headers. - -2016-09-23 Zack Weinberg - - * sysdeps/mach/hurd/net/if_ppp.h - * sysdeps/unix/sysv/linux/net/if_ppp.h: - Only define struct ifpppstatsreq and struct ifpppcstatsreq - if __USE_MISC is defined, to ensure struct ifreq is declared. - - * inet/netinet/ether.h: Condition all function prototypes - on __USE_MISC, to ensure struct ether_addr is declared. - - * socket/bits/types/struct_osockaddr.h: New header. - * include/bits/types/struct_osockaddr.h: New wrapper. - * socket/Makefile: Install the new header. - * socket/sys/socket.h, inet/protocols/talkd.h: - Refer to bits/types/struct_osockaddr.h for the definition of - struct osockaddr. - -2016-09-23 Zack Weinberg - - * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h - * inet/protocols/routed.h, inet/protocols/talkd.h - * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h - * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h - * sysdeps/generic/netinet/if_ether.h - * sysdeps/generic/netinet/in_systm.h - * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h - * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h - * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h - * sysdeps/mach/hurd/net/if_arp.h - * sysdeps/mach/hurd/net/if_ppp.h - * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h - * sysdeps/unix/sysv/linux/bits/in.h - * sysdeps/unix/sysv/linux/net/ethernet.h - * sysdeps/unix/sysv/linux/net/if_arp.h - * sysdeps/unix/sysv/linux/net/if_ppp.h - * sysdeps/unix/sysv/linux/net/if_shaper.h - * sysdeps/unix/sysv/linux/net/route.h - * sysdeps/unix/sysv/linux/netinet/if_ether.h - * sysdeps/unix/sysv/linux/netinet/if_fddi.h - * sysdeps/unix/sysv/linux/netinet/if_tr.h - * sysdeps/unix/sysv/linux/netipx/ipx.h - * sysdeps/unix/sysv/linux/sys/acct.h - * include/arpa/nameser.h, include/resolv.h: - Change all uses of u_char to unsigned char, - u_short and ushort to unsigned short, u_int and uint to unsigned int, - u_long and ulong to unsigned long, u_int8_t to uint8_t, - u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t, - and u_int64_t and u_quad_t to uint64_t. - - * mach/sys/reboot.h: Remove two casts of integer literals - to the types they already have. - - * bits/in.h: Correct error in description of IP_MULTICAST_LOOP. - * sysdeps/unix/sysv/linux/bits/in.h: Likewise. - * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment - from referring to 'unsigned char' to 'uint8_t' for consistency with - the macro definition below. - - * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h - * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h - * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h - * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h - * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h - * sysdeps/unix/sysv/linux/sys/acct.h - * include/arpa/nameser.h, include/resolv.h: - Fix indentation disrupted by mechanical edits. - - * inet/protocols/talkd.h, resolv/arpa/nameser.h - * sysdeps/generic/netinet/in_systm.h - * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h - * sysdeps/gnu/netinet/udp.h - * sysdeps/unix/sysv/linux/net/ethernet.h - * sysdeps/unix/sysv/linux/net/if_arp.h - * sysdeps/unix/sysv/linux/net/if_ppp.h - * sysdeps/unix/sysv/linux/net/if_shaper.h - * sysdeps/unix/sysv/linux/netinet/if_fddi.h - * sysdeps/unix/sysv/linux/netinet/if_tr.h - * sysdeps/unix/sysv/linux/netipx/ipx.h - * sysdeps/unix/sysv/linux/sys/acct.h - Include stdint.h for uintNN_t definitions. - Don't include sys/cdefs.h, features.h, or asm/types.h directly. - -2016-09-23 Zack Weinberg - - * rpcsvc/nislib.h: Include rpcsvc/nis.h. - * sysdeps/unix/sysv/linux/netrose/rose.h: - Include sys/socket.h and netax25/ax25.h. - - * inet/netinet/icmp6.h, inet/netinet/ip6.h - * resolv/arpa/nameser_compat.h: - Use __BYTE_ORDER etc. instead of BYTE_ORDER etc. - - * sysdeps/unix/sysv/linux/sys/quota.h: - Use __caddr_t instead of caddr_t. - * sysdeps/unix/sysv/linux/sys/timerfd.h: - Use __clockid_t instead of clockid_t. - - * sysvipc/sys/ipc.h: Remove unnecessary #warning. - - * argp/argp.h: Check whether _LIBC is defined before expanding it. - * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of - expanding it. - - * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr. - Define __glibc_c99_flexarr_available to 1 when the compiler - supports C99-compatible flexible array members, 0 otherwise. - * sysdeps/unix/sysv/linux/bits/socket.h - * sysdeps/mach/hurd/bits/socket.h - * bits/socket.h: Use __glibc_c99_flexarr_available in - definitions of struct cmsghdr and CMSG_DATA. - -2016-09-23 Florian Weimer - - * manual/nss.texi (NSS Modules Interface): Adjust function return - type to enum nss_status. Document errnop argument. Clarify - h_errnop semantics. Fix cross-reference formatting. - (NSS Module Function Internals): Mention that *errnop needs to be - set on failure, but not to zero. - -2016-09-23 Florian Weimer - - * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64) - (get_random_name): New functions. - (check_wrapper_flags_mode): Use linkat to give the new file a name - determined by get_random_name. - (do_test): Add calls to test open64 and openat64. - -2016-09-23 Florian Weimer - - * test-skeleton.c: Remove #include . - -2016-09-21 Alexandre Oliva - - [BZ #19826] - * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early - initialization of static TLS entries. - * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise. - * nptl/allocatestack.c (init_one_static_tls): Likewise. - -2016-09-22 Samuel Thibault - - * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to - _hurd_malloc_fork_prepare. - (malloc_fork_parent): Rename to _hurd_malloc_fork_parent. - (malloc_fork_child): Rename to _hurd_malloc_fork_child. - (_hurd_fork_prepare_hook): Drop malloc_fork_prepare. - (_hurd_fork_parent_hook): Drop malloc_fork_parent. - (_hurd_fork_child_hook): Drop malloc_fork_child. - * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare, - _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations. - * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent - after locking locks (notably hurd_dtable_lock). Call - _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent - before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before - __malloc_fork_unlock_child. - * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number. - -2016-09-21 James Greenhalgh - - * soft-fp/extendhftf2.c: New. - * soft-fp/fixhfti.c: Likewise. - * soft-fp/fixunshfti.c: Likewise. - * soft-fp/floattihf.c: Likewise. - * soft-fp/floatuntihf.c: Likewise. - * soft-fp/half.h: Likewise. - * soft-fp/trunctfhf2.c: Likewise. - -2016-09-21 Joseph Myers - - * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New - macro. - * math/libm-test.inc (issubnormal_test_data): New array. - (issubnormal_test): New function. - * manual/arith.texi (Floating Point Classes): Document - issubnormal. - * manual/libm-err-tab.pl: Update comment on interfaces without - ulps tabulated. - - * sysdeps/generic/stdint.h: Define - __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include - instead of including . - [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise. - * manual/arith.texi (Integers): Document these macros for types - specified by width properties. - * manual/lang.texi (Width of Type): Document these macros for - other standard typedefs. - * stdlib/tst-width-stdint.c: New file. - * stdlib/Makefile (tests): Add tst-width-stdint. - -2016-09-21 Florian Weimer - - [BZ #20016] - * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code. - * resolv/res_data.c (res_send_setqhook, res_send_setrhook): - Move ... - * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook): - ... here, as compatibility symbols in a new file. - * resolv/Makefile (libresolv-routines): Add compat-hooks. - * resolv/res_init.c (__res_vinit): Adjust member names. - * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove. - * resolv/resolv.h (res_sendhookact, res_send_qhook) - (res_send_rhook): Remove. - (struct __res_state): Rename qhook, rhook members. - -2016-09-21 Florian Weimer - - malloc: Use __libc_lock wrappers. - * malloc/arena.c (list_lock, free_list_lock): Define using - __libc_lock_define_initialized. - (arena_lock): Adjust formatting. - * malloc/malloc.c (struct malloc_state): Define mutex using - __libc_lock_define. - * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init) - (mutex_lock, mutex_trylock, mutex_unlock): Remove. - * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock) - (mutex_unlock, mutex_trylock): Remove. - (__pthread_initialize): Remove unused macro. - * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock) - (mutex_unlock, mutex_trylock): Remove. - -2016-09-21 Florian Weimer - - [BZ #20592] - Remove RR type classification macros. - * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p) - (ns_t_udp_p, ns_t_xfr_p): Remove. - -2016-09-21 Florian Weimer - - Remove misleading version information. - * resolv/arpa/nameser.h (__NAMESER): Remove. - * resolv/arpa/nameser_compat.h (__BIND): Remove. - -2016-09-21 Florian Weimer - - Remove the always-defined BIND_4_COMPAT macro. - * resolv/arpa/nameser.h: Unconditionally include - . - (BIND_4_COMPAT): Remove. - * resolv/res_comp.c: Do not check BIND_4_COMPAT. - -2016-09-21 Florian Weimer - - [BZ #20591] - Remove obsolete DNSSEC support. - * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*) - (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp) - (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify) - (ns_verify_tcp, ns_verify_tcp_init): Remove. - (ns_cert_types): Add comment. - * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records - separately. - (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16) - (dst_s_dns_key_id): Remove. - * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused - variables. - -2016-09-21 Florian Weimer - - [BZ #20524] - * manual/string.texi (String/Array Comparison): Clarify the - strverscmp behavior. - -2016-09-21 Florian Weimer - - * test-skeleton.c (xasprintf): Add function. - * io/tst-open-tmpfile.c: New test. - * io/Makefile (tests): Add it. - -2016-09-21 Florian Weimer - - Avoid running $(CXX) during build to obtain header file paths. - * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set. - * config.make.in (c++-cstdlib-header, c++-cmath-header): Define. - * Makerules (cstdlib, cmath): Remove variables. Use - $(c++-cstdlib-header), $(c++-cmath-header) instead. - * configure: Regenerate. - -2016-09-21 Florian Weimer - - * Makeconfig (all-object-suffixes): Include .op only if - $(build-profile). - -2016-09-21 Florian Weimer - - * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor - conditionals. Do not define PATH_MAX. - -2016-09-20 Adhemerval Zanella - - * posix/Makefile (tests): Add tst-spawn3. - * posix/tst-spawn3.c: New file. - * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor - if it is already opened for open action. - - * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock - all signals when executing the clone vfork child. - (SIGALL_SET): Remove macro. - - * nptl/Makefile (tests): Add tst-exec5. - * nptl/tst-exec5.c: New file. - * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable - asynchronous cancellation. - -2016-09-20 Samuel Thibault - - * hurd/exc2signal.c: #include - (_hurd_exception2signal): Replace 'exception', 'code', 'subcode', - 'sigcode', 'error' parameters with 'detail' parameter. Fix code - accordingly. - * mach/mach_error.c (mach_error): Fix old-style function definition. - * mach/errstring.c (mach_error_type, mach_error_string): Likewise. - -2016-09-20 Paul E. Murphy - - * math/Makefile (libm-calls): Remove s_nanF. - (gen-libm-calls): Add s_nanF. - - * math/s_nan.c: Refactor into ... - * math/s_nan_template.c: New file. - - * math/s_nanf.c: Removed. - * math/s_nanl.c: Removed. - * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed. - * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed. - - * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: - (LDOUBLE_nanl_libm_version): New macro. - - * sysdeps/generic/math-type-macros-double.h: - (M_STRTO_NAN): New macro. - * sysdeps/generic/math-type-macros-float.h: Likewise. - * sysdeps/generic/math-type-macros-ldouble.h: Likewise. - - * sysdeps/generic/math-type-macros.h: Document - M_STRTO_NAN. - -2016-09-20 Paul E. Murphy - - * math/s_nanf.c: Remove __nanf undef. - * math/s_nan.c: Remove __nan undef. - * math/s_nanl.c: Remove __nanl undef. - - * sysdeps/generic/math_private.h (__nan): Remove macro - override. - (__nanf): Likewise. - (__nanl): Likewise. - -2016-09-20 Paul E. Murphy - - * math/Makefile (gen-all-calls): New variable. - (generated): Replace gen-libm-calls with gen-all-calls. - (gen-libm-templates.stmp): Likewise. Also, ensure - the output directory exists or is created and add - dependency on the Makefile. - (calls): Move s_ldexpF into gen-calls. - (gen-calls): New variable. - - * math/s_ldexpf.c: Removed. - * math/s_ldexpl.c: Removed. - * math/s_ldexp.c: Refactored into ... - * math/s_ldexp_template.c: New file. - - * sysdeps/generic/math-type-macros-double.h: Remove - redundant fall-through definition of declare_mgen_alias. - (declare_mgen_alias_2): New macro. - - * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2): - New macro for function aliased to two exported symbols. - - * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use - new template file. - sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise. - -2016-09-20 Florian Weimer - - * Makeconfig (all-object-suffixes): Remove .og. - * Makerules (elide-routines.og): Remove. - * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove. - * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove. - * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove. - -2016-09-20 Florian Weimer - - * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for - .os objects. - -2016-09-19 Tulio Magno Quites Machado Filho - - [BZ #20615] - * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace - fpu directory by non-fpu. - * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency - on non-fpu directory from a fpu directory. - -2016-09-19 Joseph Myers - - * include/limits.h: Define - __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include - instead of including . - [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise. - * manual/lang.texi (Width of Type): Document these macros. - * stdlib/tst-width.c: New file. - * stdlib/Makefile (tests): Add tst-width. - -2016-09-18 Samuel Thibault - - * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf. - * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl. - -2016-09-15 Adhemerval Zanella - - * nptl/sem_init.c (__new_sem_init): Init pad value to 0. - * sysdeps/sparc/sparc32/sem_open.c: Remove file. - * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise. - -2016-09-15 Adhemerval Zanella - - [BZ #18243] - * rt/Makefile (test): Add tst-shm-cancel. - * rt/tst-shm-cancel.c: New file. - * sysdeps/posix/shm_open.c: Disable asynchronous cancellation. - - [BZ #18243] - * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto. - * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais - definition. - * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for - uncontended case. - * nptl/sem_wait.c (__new_sem_wait): Likewise. - * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point. - (tf): Fix check for uncontended case. - (do_test): Likewise. - * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point. - (tf): Fix check for uncontended case. - (do_test): Likewise. - * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point. - (tf): Fix check for uncontended case. - (do_test): Likewise. - * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point. - (tf): Fix check for uncontended case. - (do_test): Likewise. - - * sysdeps/sparc/sparc32/sem_wait.c: Remove file. - * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise. - - [BZ #15765] - * nptl/Makefile (tests): Add tst-sem16. - * nptl/tst-sem16.c: New file. - * nptl/sem_open.c (sem_open): Disable asynchronous cancellation. - - * nptl/sem_open.c (sem_open): Init pad value to 0. - * sysdeps/sparc/sparc32/sem_open.c: Remove file. - * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise. - -2016-09-15 Florian Weimer - - [BZ #20611] - * inet/Makefile (routines): Add inet6_scopeid_pton. - (tests): Add tst-inet6_scopeid_pton. - * inet/inet6_scopeid_pton.c: New file. - * inet/net-internal.h: Likewise. - * inet/tst-inet6_scopeid_pton.c: New test. - * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton. - * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton. - * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise. - -2016-09-14 Florian Weimer - - Remove support for compiling wrappers with PTW. - * sysdeps/nptl/Makeconfig: Drop ptw- support. - * nptl/Makefile (pthread-compat-wrappers): Define. - (libpthread-routines): Use pthread-compat-wrappers. - * sysdeps/unix/sysv/linux/alpha/Makefile - (libpthread-routines, libpthread-shared-only-routines): Remove - ptw- prefix. - * sysdeps/s390/nptl/Makefile - (libpthread-routines, libpthread-shared-only-routines): Likewise. - * sysdeps/ia64/nptl/Makefile - (libpthread-routines, libpthread-shared-only-routines): Likewise. - * sysdeps/nacl/Makefile (libpthread-routines): Use - pthread-compat-wrappers to filter the routines list instead of the - ptw- prefix. - -2016-09-13 Paul E. Murphy - - * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals - with L() and remove explicit suffix, convert real literals - which can be equivalentally substituted with integers, and - transform -L(x) to L(-x). - - * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise. - * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise. - * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise. - * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise. - * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise. - * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise. - * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise. - * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise. - * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise. - -2016-09-13 Florian Weimer - - * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined. - -2016-09-10 Siddhesh Poyarekar - - * malloc/Makefile (tests): Remove individual static test names - and just add all of tests-static. - - * csu/libc-start.c (__libc_csu_irel): Remove declaration. - -2016-09-07 Joseph Myers - - * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New - file. - - * sysdeps/sparc/fpu/fegetmode.c: New file. - * sysdeps/sparc/fpu/fesetmode.c: Likewise. - - * sysdeps/sh/sh4/fpu/fegetmode.c: New file. - * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise. - - * sysdeps/s390/fpu/fegetmode.c: New file. - * sysdeps/s390/fpu/fesetmode.c: Likewise. - - * sysdeps/powerpc/fpu/fegetmode.c: New file. - * sysdeps/powerpc/fpu/fesetmode.c: Likewise. - * sysdeps/powerpc/nofpu/fegetmode.c: Likewise. - * sysdeps/powerpc/nofpu/fesetmode.c: Likewise. - * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise. - * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise. - - * sysdeps/mips/fpu/fegetmode.c: New file. - * sysdeps/mips/fpu/fesetmode.c: Likewise. - - * sysdeps/m68k/fpu/fegetmode.c: New file. - * sysdeps/m69k/fpu/fesetmode.c: Likewise. - - * sysdeps/ia64/fpu/fegetmode.c: New file. - * sysdeps/ia64/fpu/fesetmode.c: Likewise. - - * sysdeps/hppa/fpu/fegetmode.c: New file. - * sysdeps/hppa/fpu/fesetmode.c: Likewise. - - * sysdeps/arm/fegetmode.c: New file. - * sysdeps/arm/fesetmode.c: Likewise. - - * sysdeps/alpha/fpu/fegetmode.c: New file. - * sysdeps/alpha/fpu/fesetmode.c: Likewise. - - * sysdeps/aarch64/fpu/fegetmode.c: New file. - * sysdeps/aarch64/fpu/fesetmode.c: Likewise. - - * math/fegetmode.c: New file. - * math/fesetmode.c: Likewise. - * sysdeps/i386/fpu/fegetmode.c: Likewise. - * sysdeps/i386/fpu/fesetmode.c: Likewise. - * sysdeps/x86_64/fpu/fegetmode.c: Likewise. - * sysdeps/x86_64/fpu/fesetmode.c: Likewise. - * math/fenv.h: Update comment on inclusion of . - [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function - declaration. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise. - * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New - typedef. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro. - * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] - (femode_t): New typedef. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro. - * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] - (femode_t): New typedef. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro. - * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] - (femode_t): New typedef. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro. - * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] - (femode_t): New typedef. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro. - * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] - (femode_t): New typedef. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro. - * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] - (femode_t): New typedef. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro. - * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] - (femode_t): New typedef. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro. - * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] - (femode_t): New typedef. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro. - * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] - (femode_t): New typedef. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro. - * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] - (femode_t): New typedef. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable - declaration. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro. - * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] - (femode_t): New typedef. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro. - * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] - (femode_t): New typedef. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro. - * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] - (femode_t): New typedef. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro. - * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] - (femode_t): New typedef. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro. - * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] - (femode_t): New typedef. - [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro. - * manual/arith.texi (FE_DFL_MODE): Document macro. - (fegetmode): Document function. - (fesetmode): Likewise. - * math/Versions (fegetmode): New libm symbol at version - GLIBC_2.25. - (fesetmode): Likewise. - * math/Makefile (libm-support): Add fegetmode and fesetmode. - (tests): Add test-femode and test-femode-traps. - * math/test-femode-traps.c: New file. - * math/test-femode.c: Likewise. - * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as - alias for __fe_dfl_env. - * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise. - * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c - (__fe_dfl_mode): Likewise. - * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at - version GLIBC_2.25. - * sysdeps/nacl/libm.abilist: Update. - * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise. - -2016-09-06 H.J. Lu - - [BZ #20495] - [BZ #20508] - * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel - processors, set Use_dl_runtime_resolve_slow and set - Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1. - * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt): - New. - (bit_arch_Use_dl_runtime_resolve_slow): Likewise. - (index_arch_Use_dl_runtime_resolve_opt): Likewise. - (index_arch_Use_dl_runtime_resolve_slow): Likewise. - * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use - _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt - if Use_dl_runtime_resolve_opt is set. Use - _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set. - * sysdeps/x86_64/dl-trampoline.S: Include . - (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512. - (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex. - * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow): - New. - (_dl_runtime_resolve_opt): Likewise. - (_dl_runtime_profile): Define only if _dl_runtime_profile is - defined. - -2016-09-06 Stefan Liebler - - * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so: - __libc_memalign with "+ RELA R_390_GLOB_DAT". - -2016-09-06 Florian Weimer - - Convert malloc to __libc_lock. Automated part, using this Perl - s/// command: - s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init) - \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx; - * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform - conversion. - -2016-09-05 Aurelien Jarno - - * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL). - (linknamespace-symlists-tests): Likewise. - (linknamespace-header-tests): Likewise. - -2016-09-03 Aurelien Jarno - - [BZ #19810] - * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later. - * elf/tst-noload.c: New test case. - * elf/Makefile (tests): Add tst-noload. - -2016-09-02 Roland McGrath - - * sysdeps/nacl/dup.c: Add libc_hidden_def. - - * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's - not any more. - - * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t - -2016-09-02 Siddhesh Poyarekar - - * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline. - (do_cos_slow): Likewise. - (do_sin): Likewise. - (do_sin_slow): Likewise. - (slow): Likewise. - (slow1): Likewise. - (slow2): Likewise. - (sloww): Likewise. - (sloww1): Likewise. - (sloww2): Likewise. - (bsloww): Likewise. - (bsloww1): Likewise. - (bsloww2): Likewise. - (cslow2): Likewise. - - * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin. - - * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input - arguments. Consolidate input partitioning from callers here. - (do_cos_slow): Likewise. - (do_sin): Likewise. - (do_sin_slow): Likewise. - (do_sincos_1): Remove the no longer necessary input partitioning. - (do_sincos_2): Likewise. - (__sin): Likewise. - (__cos): Likewise. - (slow1): Likewise. - (slow2): Likewise. - (sloww1): Likewise. - (sloww2): Likewise. - (bsloww1): Likewise. - (bsloww2): Likewise. - (cslow2): Likewise. - -2016-09-02 Florian Weimer - - * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of - MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic - outside of allocated array. - -2016-09-02 Florian Weimer - - * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX - instead of MB_CUR_MAX to avoid variable-length array. - -2016-09-01 Paul E. Murphy - - * math/Makefile (libm-calls): Remove k_rem_pio2F. - (type-double-routines): Add k_rem_pio2. - (type-float-routines): Add k_rem_pio2f. - - * sysdeps/generic/math_private.h: - (__kernel_rem_pio2l): Removed. - - * math/k_rem_pio2l.c: Removed. - * sysdeps/i386/fpu/k_rem_pio2l.c: Removed. - * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed. - * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed. - * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed. - -2016-09-01 Paul E. Murphy - - * math/Makefile (gen-libm-calls): Add s_fmin - (libm-calls): Remove above. - - * math/s_fmin.c: Refactor into ... - * math/s_fmin_template.c: New file. - - * math/s_fminf.c: Removed. - * math/s_fminl.c: Removed. - * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: - (LDOUBLE_fmin_libm_version): New macro. - - * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed. - * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed. - -2016-09-01 Paul E. Murphy - - * math/Makefile: (gen-libm-calls): Add s_fmax. - (libm-calls): Remove above. - - * math/s_fmax.c: Refactor into ... - * math/s_fmax_template.c: New file. - * math/s_fmaxf.c: Removed. - * math/s_fmaxl.c: Removed. - - * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: - (LDOUBLE_fmaxl_libm_version): New macro. - - * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed. - * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed. - - * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of - s_fmin.c to pick the aarch64 version of the file. - * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise. - * sysdeps/aarch64/fpu/s_fminf.c: Likewise. - -2016-09-01 Paul E. Murphy - - * math/Makefile: (gen-libm-calls): Add s_nextdown. - (libm-calls): Remove above. - - * math/s_nextdown.c: Refactor into ... - * math/s_nextdown_template.c: New file. - * math/s_nextdownf.c: Removed. - * math/s_nextdownl.c: Removed. - - * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file. - -2016-09-01 Paul E. Murphy - - * math/Makefile (gen-libm-calls): Add s_fdim. - (libm-calls): Move to above. - - * math/s_fdim.c: Renamed and refactored into to ... - * math/s_fdim_template.c: New file. - * math/s_fdiml.c: Removed. - * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed. - * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed. - - * sysdeps/generic/math-type-macros-double.h: - (declare_mgen_alias): Don't declare if already declared. - * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: - Likewise. - - * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: - (declare_mgen_alias): Don't declare if already declared. - (M_LIBM_NEED_COMPAT): Likewise. - (declare_mgen_libm_compat): Likewise. - (LDOUBLE_fdiml_libm_version): New macro. - - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: - Include math/s_fdim.c now that ldbl-opt version is not needed. - (declare_mgen_alias): New macro to disable aliasing. - - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c: - (declare_mgen_alias): Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: - (declare_mgen_alias): Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: - (declare_mgen_alias): Likewise. - (M_LIBM_NEED_COMPAT): Likewise. - -2016-09-01 Florian Weimer - - [BZ #20525] - * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright. - Include . - (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob - and btodb. - (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES) - (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA) - (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH) - (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS) - (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME) - (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE) - (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove. - (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t - types. - * sysdeps/unix/sysv/linux/tst-quota.c: New test. - * sysdeps/unix/sysv/linux/Makefile (tests): Add it. - -2016-08-31 Paul E. Murphy - - * sysdeps/ieee754/ldbl-128/e_gammal_r.c: - (gammal_positive): Fix spacing. - (__ieee754_gammal_r): Likewise. - -2016-08-31 Paul E. Murphy - - * sysdeps/ieee754/ldbl-128/math_ldbl.h: - (_Float128): Define as long double, always. - (L): Apply long double type suffix, always. - - * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double - _Float128, excepting comments. - - * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise. - * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise. - * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise. - * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise. - * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise. - * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise. - * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise. - * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise. - * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise. - * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise. - - * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double - _Float128, and include math_private.h. - * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise. - - * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using - long double semantics. - (_Float128): Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise. - -2016-08-31 Stefan Liebler - - * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine. - * sysdeps/s390/configure.ac: Add test for z196 zarch support. - * sysdeps/s390/configure: Regenerated. - * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra - instruction for raising over-/underflow if z196 zarch is supported - by default. - * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment. - -2016-08-30 Svante Signell - - * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make - it point to a dumb buffer for RPC to fill it. - -2016-08-30 Siddhesh Poyarekar - - * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary - instead of if/else. - (do_sin_slow): Likewise. - (do_sincos_1): Use fabs instead of if/else. - (do_sincos_2): Likewise. - (__sin): Likewise. - (__cos): Likewise. - (slow2): Likewise. - (sloww): Likewise. - (sloww1): Likewise. Drop argument M. - (sloww2): Use fabs instead of if/else. - (bsloww): Likewise. - (bsloww1): Likewise. - (bsloww2): Likewise. - - * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add - fall through comment. - (do_sincos_1): Likewise. - - * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): - Consolidate switch cases 0 and 2. - -2016-08-29 Paul E. Murphy - - * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj. - (libm-calls): Remove the above. - - * math/s_cexp_template.c: Update using type-generic macros. - * math/s_clog10_template.c: Likewise. - * math/s_cpow_template.c: Likewise. - * math/s_clog_template.c: Likewise. - * math/s_cproj_template.c: Likewise. - * math/s_csqrt_template.c: Likewise. - - * math/s_cexp.c: Removed. - * math/s_cexpf.c: Removed. - * math/s_cexpl.c: Removed. - * math/s_clog10.c: Removed. - * math/s_clog10f.c: Removed. - * math/s_clog10l.c: Removed. - * math/s_cpow.c: Removed. - * math/s_cpowf.c: Removed. - * math/s_cpowl.c: Removed. - * math/s_clog.c: Removed. - * math/s_clogf.c: Removed. - * math/s_clogl.c: Removed. - * math/s_cproj.c: Removed. - * math/s_cprojf.c: Removed. - * math/s_cprojl.c: Removed. - * math/s_csqrt.c: Removed. - * math/s_csqrtf.c: Removed. - * math/s_csqrtl.c: Removed. - - * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version. - * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version. - * sysdeps/alpha/fpu/s_clogf.c: Update using templated version. - * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version. - * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version. - * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version. - - * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed. - * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed. - * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed. - * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed. - * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed. - * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed. - * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed. - * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed. - * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed. - * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed. - * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed. - - * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated - version. - - * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into. - * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file. - * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed. - * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed. - -2016-08-29 Paul E. Murphy - - * s_cexp_template.c: Copy of s_cexp.c. - * s_clog_template.c: Copy of s_clog.c. - * s_clog10_template.c: Copy of s_clog10.c. - * s_cpow_template.c: Copy of s_cpow.c. - * s_cproj_template.c: Copy of s_cproj.c. - * s_csqrt_template.c: Copy of s_csqrt.c. - -2016-08-29 Paul E. Murphy - - [BZ #20517] - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: - Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is - exported. - -2016-08-29 Joseph Myers - - * math/fetestexceptflag.c: New file. - * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by - Stefan Liebler. - * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] - (fetestexceptflag): New function declaration. - * manual/arith.texi (fetestexceptflag): Document function. - * math/Versions (fetestexceptflag): New libm symbol at version - GLIBC_2.25. - * math/Makefile (libm-support): Add fetestexceptflag. - (tests): Add test-fetestexceptflag. - * math/test-fetestexceptflag.c: New file. - * sysdeps/nacl/libm.abilist: Update. - * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise. - -2016-08-26 Florian Weimer - - [BZ #20432] - Avoid strong references to malloc-internal symbols when linking - statically, to support statically interposed mallocs. - * include/libc-symbols.h (call_function_static_weak): New macro. - * malloc/Makefile (tests): Add tst-interpose-nothread, - tst-interpose-thread, tst-interpose-static-nothread, - tst-interpose-static-thread. - (tests-static): Add tst-interpose-static-nothread, - tst-interpose-static-thread. - (extra-tests-objs): Add tst-interpose-aux-nothread.o, - tst-interpose-aux-thread.o. - (test-extras): Add tst-interpose-aux-nothread, - tst-interpose-aux-thread. - (tst-interpose-nothread, tst-interpose-static-nothread): Link with - tst-interpose-aux-nothread.o. - (tst-interpose-thread, tst-interpose-static-thread): Link with - tst-interpose-aux-thread.o and libthread. - * malloc/tst-interpose-aux-nothread.c: New file. - * malloc/tst-interpose-aux-thread.c: Likewise. - * malloc/tst-interpose-aux.c: Likewise. - * malloc/tst-interpose-aux.h: Likewise. - * malloc/tst-interpose-nothread.c: Likewise. - * malloc/tst-interpose-skeleton.c: Likewise. - * malloc/tst-interpose-static-nothread.c: Likewise. - * malloc/tst-interpose-static-thread.c: Likewise. - * malloc/tst-interpose-thread.c: Likewise. - * nptl/tst-tls3-malloc.c: Use new interposed malloc. - * sysdeps/mach/hurd/fork.c (__fork): Only call - __malloc_fork_lock_parent, __malloc_fork_unlock_parent, - __malloc_fork_unlock_child if defined. - * sysdeps/nptl/fork.c (__libc_fork): Likewise. - -2016-08-26 Adhemerval Zanella - - * test-skeleton.c (delayed_exit_thread): Add initializer on struct - timespec C99 designated initialization. - -2016-08-26 Florian Weimer - - [BZ #19946] - Avoid expected SIGALRM signals. - * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock) - (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait) - (xpthread_create, xpthread_detach, xpthread_join) - (delayed_exit_thread, delayed_exit): New functions. - * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove. - (tf): Use xpthread_cond_wait. - (do_test): Likewise. Replace alarm with delayed_exit. - * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove. - (do_test): Call delayed_exit. Report failure. - * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove. - (do_test): Call delayed_exit. - * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove. - (do_test): Call delayed_exit. Use xpthread_join. Report error. - * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove. - (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report - error. - * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove. - (do_test): Call delayed_exit. Use xpthread_cond_wait. Report - error. - * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove. - (do_test): Call delayed_exit. - * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove. - (do_test): Call delayed_exit. - * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove. - (do_test): Call delayed_exit instead of alarm. Use - xpthread_mutex_lock. - * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove. - (do_test): Call delayed_exit instead of alarm. Use - xpthread_mutex_lock. - * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove. - (do_test): Call delayed_exit instead of alarm. - * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove. - (do_test): Call delayed_exit instead of alarm. Use - xpthread_spin_lock. - * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove. - (do_test): Call delayed_exit instead of alarm. Use - xpthread_join. - -2016-08-26 H.J. Lu - - * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't - adjust CFA when allocating register save area on re-aligned - stack. - -2016-08-26 Florian Weimer - - * string/tst-cmp.c: New test. - * string/Makefile (tests): Add it. - -2016-08-25 Mark Wielaard - - * misc/tsearch.c (struct node_t): Reduce to 3 pointers if - USE_MALLOC_LOW_BIT. Define pointer/value accessors. - (check_tree_recurse): Use newly defined accessors. - (check_tree): Likewise. - (maybe_split_for_insert): Likewise. - (__tfind): Likewise. - (__tdelete): Likewise. - (trecurse): Likewise. - (tdestroy_recurse): Likewise. - (__tsearch): Likewise. And add asserts for malloc alignment. - (__twalk): Cast root to node in case CHECK_TREE is defined. - -2016-08-21 Samuel Thibault - - * scripts/check-local-headers.sh (exclude): Add mach_debug/. - -2016-08-19 Paul E. Murphy - - * math/Makefile (libm-gen-calls): Add - catan, catanh, ctan, ctanh. - (libm-calls): Remove the above. - - * math/s_catan_template.c: Update using type-generic macros. - * math/s_catanh_template.c: Likewise. - * math/s_ctan_template.c: Likewise. - * math/s_ctanh_template.c: Likewise. - - * math/s_catanf.c: Removed. - * math/s_catan.c: Removed. - * math/s_catanl.c: Removed. - * math/s_catanhf.c: Removed. - * math/s_catanh.c: Removed. - * math/s_catanhl.c: Removed. - * math/s_ctanf.c: Removed. - * math/s_ctan.c: Removed. - * math/s_ctanl.c: Removed. - * math/s_ctanhf.c: Removed. - * math/s_ctanh.c: Removed. - * math/s_ctanhl.c: Removed. - - * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed. - * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed. - * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed. - * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed. - * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed. - * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed. - - * sysdeps/alpha/fpu/s_catanf.c: Update to use template file. - * sysdeps/alpha/fpu/s_catanhf.c: Likewise. - * sysdeps/alpha/fpu/s_ctanf.c: Likewise. - * sysdeps/alpha/fpu/s_ctanhf.c: Likewise. - -2016-08-19 Paul E. Murphy - - * s_catan_template.c: Copy of s_catan.c. - * s_catanh_template.c: Copy of s_catanh.c. - * s_ctan_template.c: Copy of s_ctan.c. - * s_ctanh_template.c: Copy of s_ctanh.c. - -2016-08-19 Paul E. Murphy - - * math/Makefile (gen-libm-calls): Move - casin, casinh, csin, csinh here. - (libm-calls): Remove the above. - - * math/s_casin_template.c: Update using type-generic macros. - * math/s_casinh_template.c: Likewise. - * math/s_csin_template.c: Likewise. - * math/s_csinh_template.c: Likewise. - * math/k_casinh_template.c: Likewise. - - * math/s_casinf.c: Removed. - * math/s_casin.c: Removed. - * math/s_casinl.c: Removed. - * math/s_casinh.c: Removed. - * math/s_casinhf.c: Removed. - * math/s_casinhl.c: Removed. - * math/s_csin.c: Removed. - * math/s_csinf.c: Removed. - * math/s_csinl.c: Removed. - * math/s_csinh.c: Removed. - * math/s_csinhf.c: Removed. - * math/s_csinhl.c: Removed. - * math/k_casinh.c: Removed. - * math/k_casinhf.c: Removed. - * math/k_casinhl.c: Removed. - - * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version. - * sysdeps/alpha/fpu/s_casinhf.c: Likewise. - * sysdeps/alpha/fpu/s_csinf.c: Likewise. - * sysdeps/alpha/fpu/s_csinhf.c: Likewise. - - * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed. - * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed. - * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed. - * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed. - * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed. - * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed. - * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed. - * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed. - - * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ... - * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file. - * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed. - * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed. - - * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into. - * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file. - * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed. - * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed. - -2016-08-19 Paul E. Murphy - - * s_casin_template.c: Copy of s_casin.c. - * s_casinh_template.c: Copy of s_casinh.c. - * s_csin_template.c: Copy of s_csin.c. - * s_csinh_template.c: Copy of s_csinh.c. - * k_casinh_template.c: Copy of k_casinh.c. - -2016-08-19 H.J. Lu - - * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2). - -2016-08-19 Paul E. Murphy - - * sysdeps/ieee754/ldbl-128/gamma_productl.c: - (mul_split) Remove, rename as mul_splitl, remove - redundant float.h include, and include via mul_splitl.h - - * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise. - * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise. - * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise. - * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise. - * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise. - - * math/mul_splitl.h: New file. - - * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split): - Move into mul_split.h, and remove redundant float.h include. - - * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise. - * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise. - - * math/mul_split.h: New file. - -2016-08-19 Paul E. Murphy - - * math/Makefile (libm-gen-calls): Move - s_cacos, s_cacosh, s_ccos, s_ccosh from ... - (libm-calls): Remove above. - - * math/s_cacos_template.c: Update using type-generic macros. - * math/s_cacosh_template.c: Likewise. - * math/s_ccos_template.c: Likewise. - * math/s_ccosh_template.c: Likewise. - - * math/s_cacosf.c: Removed. - * math/s_cacos.c: Removed. - * math/s_cacosl.c: Removed. - * math/s_cacoshf.c: Removed. - * math/s_cacosh.c: Removed. - * math/s_cacoshl.c: Removed. - * math/s_ccosf.c: Removed. - * math/s_ccos.c: Removed. - * math/s_ccosl.c: Removed. - * math/s_ccoshf.c: Removed. - * math/s_ccosh.c: Removed. - * math/s_ccoshl.c: Removed. - - * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed. - * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed. - * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed. - * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed. - * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed. - * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed. - - * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into. - * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file. - * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed. - * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed. - - * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file. - * sysdeps/alpha/fpu/s_cacoshf.c: Likewise. - * sysdeps/alpha/fpu/s_ccosf.c: Likewise. - * sysdeps/alpha/fpu/s_ccoshf.c: Likewise. - -2016-08-19 Paul E. Murphy - - * s_cacos_template.c: Copy of s_cacos.c. - * s_cacosh_template.c: Copy of s_cacosh.c. - * s_ccos_template.c: Copy of s_ccos.c. - * s_ccosh_template.c: Copy of s_ccosh.c. - -2016-08-19 Paul E. Murphy - - * stdlib/tst-strtod-round-skeleton.c: - Refactored from tst-strtod-round.c. - - (L_): New macro to apply literal modifier. - (FNPFX): New macro to select str or wcs prefix. - (CHAR): New macro to choose wchar_t or char. - (STRM): New macro to choose printf for tested character type. - - (STRTO): New macro to choose appropriate string -> real function. - (FNPFXS): Stringitized version of FNPFX. - (STR): Support for above macro. - (STRX): Likewise. - - (TEST): Update with above macros. - (test): Likewise. - (GEN_ONE_TEST): Likewise. - (test_in_one_mode): Likewise. - - * stdlib/tst-strtod-round.c: New file. - * wcsmbs/tst-wcstod-round.c: New file. - - * wcsmbs/Makefile: (tests): Add tst-wcstod-round - (tst-wcstod-round): Add libm depencency for fesetround. - -2016-08-19 Zack Weinberg - - * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero. - -2016-08-18 Torvald Riegel - - [BZ #20477] - * resolv/res_hconf.c (do_init): Use atomic access. - * resolv/res_hconf.h: Add comments. - * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally. - * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise. - * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise. - -2016-08-18 Stefan Liebler - - * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): - Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning. - * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): - Likewise. - -2016-08-18 Florian Weimer - - [BZ #16907] - * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS. - (__THROW, __NTH, __attribute__, __restrict): Remove definitions. - * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS. - (__attribute__): Remove definition. - -2016-08-17 Paul E. Murphy - - * sysdeps/ieee754/ldbl-128/e_asinl.c: - Remove unused sqrtl declaration. - -2016-08-17 Paul E. Murphy - - * math/Makefile: (gen-libm-templates.stmp): New rule. - (libm-calls): Move carg conj cimag and cabs into ... - (gen-libm-calls): New variable. - (generated): Inform Make objects from gen-libm-calls - may be generated. - - * sysdeps/generic/math-type-macros.h: New file. - * sysdeps/generic/math-type-macros-float.h: Likewise. - * sysdeps/generic/math-type-macros-double.h: Likewise. - * sysdeps/generic/math-type-macros-ldouble.h: Likewise. - * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise. - * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise. - - * math/cabs.c: Refactor into - * math/cabs_template.c: new file. - * math/cabsf.c: Removed. - * math/cabsl.c: Removed. - * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed. - * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed. - - * math/carg.c: Refactor into - * math/carg_template.c: new file. - * math/cargf.c: Removed. - * math/cargl.c: Removed. - * sysdeps/ieee754/ldbl-opt/cargf.c: Removed. - * sysdeps/ieee754/ldbl-opt/cargl.c: Removed. - - * math/conj.c: Refactor into - * math/conj_template.c: new file. - * math/conjf.c: Removed. - * math/conjl.c: Removed. - * sysdeps/ieee754/ldbl-opt/conjf.c: Removed. - * sysdeps/ieee754/ldbl-opt/conjl.c: Removed. - - * math/cimag.c: Refactor into - * math/cimag_template.c: new file. - * math/cimagf.c: Removed. - * math/cimagl.c: Removed. - * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed. - * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed. - - * math/cimag.c: Refactor into - * math/cimag_template.c: new file. - * math/cimagf.c: Removed. - * math/cimagl.c: Removed. - * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed. - * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed. - -2016-08-17 Florian Weimer - - Reduce time to expected nptl/tst-once5 failure. - * nptl/tst-once5.cc (TIMEOUT): Define. - -2016-08-17 Florian Weimer - - [BZ #20452] - Avoid additional copies of objects in libc.a in static libraries. - * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines): - Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask. - * sysdeps/mips/Makefile (librt-shared-only-routines): Add - rt-sysdep. - * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines): - Add nptl-sysdep. - * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines): - Add ptw-sysdep. - * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add - rt-sysdep. - * sysdeps/unix/sysv/linux/alpha/Makefile - (libpthread-shared-only-routines): Add ptw-sysdep, - ptw-sigprocmask, ptw-rt_sigaction. - * sysdeps/unix/sysv/linux/ia64/Makefile - (librt-shared-only-routines): Add rt-sysdep. - * sysdeps/unix/sysv/linux/i386/Makefile - (libpthread-shared-only-routines): Add libc-do-syscall. - * sysdeps/unix/sysv/linux/microblaze/Makefile - (libpthread-shared-only-routines): Add sysdep. - * sysdeps/unix/sysv/linux/powerpc/Makefile - (librt-shared-only-routines): Add rt-sysdep. - (libpthread-shared-only-routines): Add sysdep. - * sysdeps/unix/sysv/linux/s390/Makefile - (librt-shared-only-routines): Add rt-sysdep. - * sysdeps/unix/sysv/linux/sparc/Makefile - (librt-shared-only-routines): Add rt-sysdep. - (libpthread-shared-only-routines): Add sysdep. - * sysdeps/unix/sysv/linux/tile/Makefile - (libpthread-shared-only-routines): Likewise. - -2016-08-16 Joseph Myers - - * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E): - Mask implicit bit out of unpacked value. - [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise. - - * sysdeps/sparc/fpu/fesetexcept.c: New file. - - * sysdeps/sh/sh4/fpu/fesetexcept.c: New file. - - * sysdeps/s390/fpu/fesetexcept.c: New file. - - * sysdeps/powerpc/fpu/fesetexcept.c: New file. - * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise. - * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise. - - * sysdeps/mips/fpu/fesetexcept.c: New file. - - * sysdeps/m68k/fpu/fesetexcept.c: New file. - - * sysdeps/ia64/fpu/fesetexcept.c: New file. - - * sysdeps/hppa/fpu/fesetexcept.c: New file. - - * sysdeps/arm/fesetexcept.c: New file. - - * sysdeps/alpha/fpu/fesetexcept.c: New file. - - * sysdeps/aarch64/fpu/fesetexcept.c: New file. - - * math/fesetexcept.c: New file. - * sysdeps/i386/fpu/fesetexcept.c: Likewise. - * sysdeps/x86_64/fpu/fesetexcept.c: Likewise. - * math/fenv.h: Define - __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include - instead of including . - [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function - declaration. - * manual/arith.texi (fesetexcept): Document function. - * math/Versions (fesetexcept): New libm symbol at version - GLIBC_2.25. - * math/Makefile (libm-support): Add fesetexcept. - (tests): Add test-fesetexcept and test-fesetexcept-traps. - * math/test-fesetexcept.c: New file. - * math/test-fesetexcept-traps.c: Likewise. - * sysdeps/nacl/libm.abilist: Update. - * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise. - -2016-08-16 Florian Weimer - - * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb): - New. - (do_test): Apply default_stack_size_in_mb if not set. - * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default. - -2016-08-15 Andreas Schwab - - [BZ #20435] - CVE-2016-6323 - * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark - as .cantunwind. - -2016-08-12 Joseph Myers - - * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add - comment from fraiseexcpt.c. - - * math/test-fexcept.c (feraiseexcept_exact): New function. - (test_set): Call feraiseexcept_exact instead of feraiseexcept. - (test_except): Likewise. - -2016-08-10 Joseph Myers - - [BZ #20455] - * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out - all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified - to be restored. - - * math/test-fexcept-traps.c: New file. - * math/test-fexcept.c: Likewise. - * math/Makefile (tests): Add test-fexcept and test-fexcept-traps. - * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New - macro. - * sysdeps/powerpc/math-tests.h [!__NO_FPRS__] - (EXCEPTION_SET_FORCES_TRAP): Likewise. - -2016-08-09 Torvald Riegel - - * include/atomic.h (atomic_fetch_and_relaxed, - atomic_fetch_and_release, atomic_fetch_or_release, - atomic_fetch_xor_release): New. - -2016-08-06 Christian Seiler - - [BZ #20444] - * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being - MACH_PORT_NULL. - -2016-08-05 Aurelien Jarno - - * math/s_fdim.c: Avoid alias renamed. - * math/s_fdimf.c: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile - [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines): - Add s_fdimf-vis3, s_fdim-vis3. - (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3. - (CFLAGS-s_fdim-vis3.c): Likewise. - sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file. - sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise. - -2016-08-05 Aurelien Jarno - - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile - [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines): - Remove s_fdimf-vis3, s_fdim-vis3. - * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file. - * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise. - * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise. - * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise. - -2016-08-05 Aurelien Jarno - - * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis. - * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to - -Wa,-Av9a -mvis. - -2016-08-05 Paul E. Murphy - - * math/gen-libm-test.pl (apply_lit): Rewrite to apply - LIT() to individual constants in simple expressions - after splitting on spaces. - (_apply_lit): Rename replaced version, and use it to - apply to what appears to be a token. - - * math/libm-test.inc: Fix many, many issues with - spacing. - -2016-08-05 Joseph Myers - - * math/math.h: Move comment about definitions - above inclusion of . Do not mention - FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment. - -2016-08-05 Torvald Riegel - - * include/atomic.h (atomic_exchange_relaxed): New. - -2016-08-04 Joseph Myers - - * math/e_scalb.c: Do not include . - (invalid_fn): Do calculation resulting in NaN instead of raising - FE_INVALID and returning a NaN explicitly. - * math/e_scalbf.c: Do not include . - (invalid_fn): Do calculation resulting in NaN instead of raising - FE_INVALID and returning a NaN explicitly. - * math/e_scalbl.c: Do not include . - (invalid_fn): Do calculation resulting in NaN instead of raising - FE_INVALID and returning a NaN explicitly. - -2016-08-04 Carlos O'Donell - - * po/de.po: Updated from Translation Project. - * po/fi.po: Likewise. - * po/sv.po: Likewise. - -2016-08-04 Florian Weimer - - [BZ #20452] - Use sysdep.o from libc.a in static libraries. - * sysdeps/unix/sysv/linux/i386/Makefile - (libpthread-shared-only-routines): Add sysdep. - (librt-shared-only-routines): Likewise. - -2016-08-03 Joseph Myers - - * math/tgmath.h (nextdown): Define if - [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU]. - (nextup): Likewise. - - * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New - macro. - * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__): - Document. - * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__): - Document macro. - * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015. - (exp10f): Likewise. - (exp10l): Likewise. - * math/bits/mathcalls.h (exp10): Declare if - [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU]. - - * manual/arith.texi (nextup): Fix typo in last change. - -2016-08-03 Zack Weinberg - - [BZ #19239] - * NEWS: Inclusion of by is deprecated. - * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined, - define major, minor, and makedev to issue deprecation warnings on use. - If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress - previously-activated deprecation warnings for these macros and prevent - subsequent inclusions of this header from having any effect. - * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before - including , and undefine it again afterward. - -2016-08-03 Zack Weinberg - - * sysdeps/generic/sys/sysmacros.h: Delete file. - * sysdeps/unix/sysv/linux/makedev.c: Delete file. - * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ... - * bits/sysmacros.h: ... here; this encoding is now the generic - encoding. Now defines only the following macros: - __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR, - __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR, - __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV. - - * misc/sys/sysmacros.h, misc/makedev.c: New files that use - bits/sysmacros.h and the above new macros to generate the - public implementations of major, minor, and makedev. - * misc/tst-makedev.c: New test. - * include/sys/sysmacros.h: New wrapper. - - * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h. - (routines): Add makedev. - (tests): Add tst-makedev. - * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor, - gnu_dev_makedev. - * posix/Makefile (headers): Remove sys/sysmacros.h. - * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev. - - * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25, - gnu_dev_major, gnu_dev_makedev, gnu_dev_minor. - * sysdeps/unix/sysv/linux/aarch64/libc.abilist - * sysdeps/unix/sysv/linux/alpha/libc.abilist - * sysdeps/unix/sysv/linux/arm/libc.abilist - * sysdeps/unix/sysv/linux/hppa/libc.abilist - * sysdeps/unix/sysv/linux/i386/libc.abilist - * sysdeps/unix/sysv/linux/ia64/libc.abilist - * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist - * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist - * sysdeps/unix/sysv/linux/microblaze/libc.abilist - * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist - * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist - * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist - * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist - * sysdeps/unix/sysv/linux/nios2/libc.abilist - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist - * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist - * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist - * sysdeps/unix/sysv/linux/sh/libc.abilist - * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist - * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist - * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist - * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist - * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: - Add GLIBC_2.25. - - * include/features.h (__glibc_clang_prereq): New macro. - * misc/sys/cdefs.h (__glibc_clang_has_extension) - (__attribute_deprecated_msg__): New macros. - -2016-08-03 Joseph Myers - - * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New - macro. - * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document. - * manual/arith.texi (issignaling): Document as ISO from TS - 18661-1:2014. - (nextup): Likewise. - (nextupf): Likewise. - (nextupl): Likewise. - (nextdown): Likewise. - (nextdownf): Likewise. - (nextdownl): Likewise. - * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document - macro. - * math/math.h: Define - __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include - instead of including . - (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not - [__USE_GNU]. - * math/bits/mathcalls.h (nextdown): Declare if - [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU]. - (nextup): Likewise. - (__issignaling): Likewise. - -2016-08-03 Paul E. Murphy - - * s_ccoshf.c (__ccoshf): Remove FE_INVALID - check, and remove __glibc_likely hint - from FP_INFINITE check. - * s_csinhf.c (__csinhf): Likewise. - - * s_ccoshl.c (__ccoshl): Remove __glibc_likely - hint from FP_INFINITE check. - * s_csinhl.c (__csinhl): Likewise. - -2016-08-03 Paul E. Murphy - - * math/Makefile (libm-calls): Insert F placeholder into - object names. Move w_lgamma_compat* routines into - (libm-compat-calls): New variable. - (libm-compat-calls-ldouble-yes): New variable. - (calls): Insert F placeholder. - (generated): Redefine using new type-foreach macro call. - (routines): Likewise. - - (types): New variable to hold a list of symbolic names - for each type supported by the target machine. - (libm-routines): Redefine using new types variable. - (type-foreach): macro to replace fooF with the - appropriately suffixed foo for each types. - - (type-ldouble-suffix): New variable. - (type-ldouble-routines): Likewise. - (type-ldouble-yes): Likewise. - (type-double-suffix): Likewise. - (type-double-routines): Likewise. - (type-float-suffix): Likewise. - (type-float-routines): Likewise. - - (dbl-only-routines): Remove. - (long-c-yes): Likewise. - (long-m-routines): Likewise. - (long-m-support): Likewise. - (long-m-yes): Likewise. - (test-longdouble-yes): Likewise. - - (test-float.o): Simplify by increasing the scope of the - recipe which adds libm-test.stmp to the vector types. - (test-ifloat.o): Likewise. - (test-float-finite.o): Likewise. - (test-double.o): Likewise - (test-idouble.o): Likewise. - (test-double-finite.o): Likewise. - (test-ldouble.o): Likewise - (test-ildoubl.o): Likewise. - (test-ldouble-finite.o): Likewise. - - (libm-tests): Redefine type tests using foreach and the - list of types in types. - - (CPPFLAGS-test-ildoubl.c): Rename to - (CPPFLAGS-test-ildouble.c): New variable - - * math/test-ildoubl.c: Rename to - * math/test-ildouble.c: New file. - -2016-08-03 Paul E. Murphy - - * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl): - Use fabsl instead of fabs. - * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): - Likewise. - * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl): - Add long double suffix to constant to ensure proper - promotion to long double. - -2016-08-03 Tom Tromey - - [BZ #20311] - * nptl_db/Makefile (headers): Add proc_service.h. - * nptl_db/proc_service.h: Add include guard. Use - __BEGIN/__END_DECLS. - (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop) - (ps_lcontinue): Remove "const" from "struct ps_prochandle *" - arguments. - - -2016-08-03 Florian Weimer - - [BZ #17730] - Avoid using memalign for TCB allocations. - * elf/dl-tls.c (tcb_to_pointer_to_free_location): New. - (_dl_allocate_tls_storage): Use malloc and manual alignment. - Avoid alignment gap in the TLS_DTV_AT_TP case. - (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to - determine the pointer to free. - * nptl/tst-tls3-malloc.c: New test. - * nptl/Makefile (tests): Add it. - (tst-tls3-malloc): Link with libdl, libpthread. - (LDFLAGS-tst-tls3-malloc): Set. - (tst-tls3-malloc.out): Depend on DSO used in test. - -2016-08-03 Florian Weimer - - [BZ #17730] - Avoid using memalign for TLS allocations. - * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces - is_static member with to_free member. - (union dtv): Use struct dtv_pointer. - * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct - dtv_pointer instead of is_static. - * elf/dl-tls.c (_dl_allocate_tls_init): Likewise. - (_dl_deallocate_tls): Free to_free member of struct dtv_pointer - instead of val. - (allocate_dtv_entry): New function. - (allocate_and_init): Return struct dtv_pointer. Call - allocate_dtv_entry instead of __libc_memalign. - (_dl_update_slotinfo): Free to_free member of struct dtv_pointer - instead of val. - (tls_get_addr_tail): Set to_free member of struct dtv_pointer - instead of is_static. Adjust call to allocate_and_init. - * nptl/allocatestack.c (get_cached_stack): Free to_free member of - struct dtv_pointer instead of val. - -2016-08-03 Florian Weimer - - * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT) - (MALLOC_ALIGN_MASK): Move ... - * malloc/malloc-internal.h: ... to here. - * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT. - -2016-08-03 Joseph Myers - - * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro. - (UDP_ENCAP_GTP1U): Likewise. - - * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro. - (PF_MAX): Update value. - (AF_QIPCRTR): New macro. - -2016-08-03 Aurelien Jarno - - * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed. - * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise. - * sysdeps/ieee754/flt-32/s_truncf.c: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/Makefile - [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines): - Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3, - s_truncf-vis3, s_trunc-vis3. - (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3. - (CFLAGS-s_ceil-vis3.c): Likewise. - (CFLAGS-s_floorf-vis3.c): Likewise. - (CFLAGS-s_floor-vis3.c): Likewise. - (CFLAGS-s_truncf-vis3.c): Likewise. - (CFLAGS-s_trunc-vis3.c): Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise. - -2016-08-02 David S. Miller - - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S - (__nearbyint_vis3): Don't check for sNaN before float register is - loaded with the incoming argument. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S - (__nearbyintf_vis3): Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): - Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): - Likewise. - - * string/test-strncmp.c (do_test_limit): Make sure the test data - stream is aligned as required for the type "CHAR". - (do_test): Likewise. - -2016-08-03 Aurelien Jarno - - * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions - by beq instructions jumping to the end of the function. - * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the - clobber list. Use "i" constraint instead of "X". - (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead - of "X". - -2016-08-02 Joseph Myers - - * bits/libc-header-start.h: New file. - * Makefile (headers): Add bits/libc-header-start.h. - * include/features.h (__STDC_WANT_LIB_EXT2__): Document. - (__GLIBC_USE): New macro. - * libio/stdio.h: Define - __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include - instead of including . - (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)]. - (open_memstream): Likewise. - (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU]. - (__asprintf): Likewise. - (asprintf): Likewise. - (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)]. - (getdelim): Likewise. - (getline): Likewise. - * string/string.h: Define - __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include - instead of including . - (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)] - (strndup): Likewise. - * wcsmbs/wchar.h: Define - __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include - instead of including . - (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)]. - * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro. - -2016-08-02 Florian Weimer - - Support linking against compatibility symbols, for use in tests. - * include/libc-symbols.h (symbol_version_reference): New macro. - (symbol_version): Use it. - * include/shlib-compat.h: Unconditionally include . - (compat_symbol): Use compat_symbol_reference. - (compat_symbol_1, compat_symbol_2): Remove. - (compat_symbol_reference, compat_symbol_reference_1) - (compat_symbol_reference_2): New macro. Use - symbol_version_reference. - -2016-08-02 Florian Weimer - - [BZ #19469] - * malloc/Makefile (CPPFLAGS): Compile tests with - -DTEST_NO_MALLOPT. - * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT. - -2016-08-02 Andrew Senkevich - - [BZ #20033] - * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call - finite version. - * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise. - * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise. - * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise. - * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise. - * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise. - * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise. - * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise. - * math/libm-test.inc (pow_test_data): Exclude tests for qNaN - in zero power. - -2016-08-02 Florian Weimer - - [BZ #20370] - * malloc/arena.c (get_free_list): Update comment. Assert that - arenas on the free list have no attached threads. - (remove_from_free_list): New function. - (reused_arena): Call it. - -2016-08-02 Aurelien Jarno - - * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself - when it is a NaN. - [_IEEE_FP_INEXACT] Remove. - * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise. - * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself - when it is a NaN. - [_IEEE_FP_INEXACT] Remove. - * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise. - * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself - when it is a NaN. - * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise. - * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value - when its absolute value is greater than 0x1.0p52. - [_IEEE_FP_INEXACT] Remove. - * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value - when its absolute value is greater than 0x1.0p23. - [_IEEE_FP_INEXACT] Remove. - -2016-08-01 Carlos O'Donell - - * version.h (RELEASE): Set to "development" - (VERSION): Set to 2.24.90. - * NEWS: Add 2.25 section. - - * version.h (RELEASE): Set to "stable" - (VERSION): Set to 2.24. - * include/features.h (__GLIBC_MINOR__): Set to 24. - - * NEWS: Add 2.24 fixed bugs. - * po/libc.pot: Regenerate. - -2016-08-01 Aurelien Jarno - - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile - [$(subdir) = math] (libm-sysdep_routines): Remove. - [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines): - Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3, - s_truncf-vis3, s_trunc-vis3. - * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete - file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise. - * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise. - * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise. - * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise. - * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise. - * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise. - * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise. - -2016-07-27 H.J. Lu - - [BZ #20384] - * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add - test-double-libmvec-sincos-avx-main.o, - test-double-libmvec-sincos-avx2-main.o, - test-double-libmvec-sincos-main.o, - test-float-libmvec-sincosf-avx-main.o, - test-float-libmvec-sincosf-avx2-main.o and - test-float-libmvec-sincosf-main.o. - test-float-libmvec-sincosf-avx512-main.o. - ($(objpfx)test-double-libmvec-sincos): Also link with - $(objpfx)test-double-libmvec-sincos-main.o. - ($(objpfx)test-double-libmvec-sincos-avx): Also link with - $(objpfx)test-double-libmvec-sincos-avx-main.o. - ($(objpfx)test-double-libmvec-sincos-avx2): Also link with - $(objpfx)test-double-libmvec-sincos-avx2-main.o. - ($(objpfx)test-float-libmvec-sincosf): Also link with - $(objpfx)test-float-libmvec-sincosf-main.o. - ($(objpfx)test-float-libmvec-sincosf-avx): Also link with - $(objpfx)test-float-libmvec-sincosf-avx2-main.o. - [$(config-cflags-avx512) == yes] (extra-test-objs): Add - test-double-libmvec-sincos-avx512-main.o and - ($(objpfx)test-double-libmvec-sincos-avx512): Also link with - $(objpfx)test-double-libmvec-sincos-avx512-main.o. - ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with - $(objpfx)test-float-libmvec-sincosf-avx512-main.o. - (CFLAGS-test-double-libmvec-sincos.c): Removed. - (CFLAGS-test-float-libmvec-sincosf.c): Likewise. - (CFLAGS-test-double-libmvec-sincos-main.c): New. - (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise. - (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise. - (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise. - (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise. - (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise. - (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise. - (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX. - (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise. - (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to - -DREQUIRE_AVX2. - (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise. - (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to - -DREQUIRE_AVX512F. - (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise. - * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten. - * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise. - * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New - file. - * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c: - Likewise. - * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c: - Likewise. - * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c: - Likewise. - * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c: - Likewise. - * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c: - Likewise. - * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c: - Likewise. - * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c: - Likewise. - -2016-07-27 Chung-Lin Tang - - * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove. - -2016-07-21 Gustavo Romero - - * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb - and typo in a comment about AT_HWCAP entry. - -2016-07-21 Szabolcs Nagy - - * sysdeps/aarch64/libm-test-ulps: Updated. - -2016-07-20 Stefan Liebler - - * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage - of r13 as it is not restored in mvcle case. - -2016-07-19 Mike Frysinger - - * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0): - Rename "ret" to "__ret". - (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4, - inline_syscall5, inline_syscall6): Likewise. - -2016-07-19 Will Newton - - * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD - R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16, - R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC, - R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16, - R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New. - -2016-07-18 H.J. Lu - - * sysdeps/i386/Makefile (rtld-CFLAGS): New. - [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx - -mfpmath=387 with $(rtld-CFLAGS). - [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with - $(rtld-CFLAGS). - -2016-07-18 Ross Burton - Khem Raj - - * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16, - R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH, - R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2, - R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2, - R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG, - R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY, - R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF, - R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC, - R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT, - R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT, - R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE, - R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD, - R_METAG_TLS_DTPOFF): New. - -2016-07-18 Siddhesh Poyarekar - Matt Clay - - [BZ #20357] - * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition - to call __mpsin/__mpcos and to negate values. - * math/auto-libm-test-in: Add test. - * math/auto-libm-test-out: Regenerate. - -2016-07-18 Zack Weinberg - - * grp/Makefile: Don't install the internal header grp-merge.h. - -2016-07-18 Szabolcs Nagy - - * sysdeps/aarch64/libm-test-ulps: Regenerated. - -2016-07-13 Samuel Thibault - - * bits/termios.h (TABDLY): Change macro to include TAB3 bit too. - -2016-07-13 Adhemerval Zanella - - [BZ #15368] - * sysdeps/unix/sysv/linux/nptl-signals.h - (__nptl_clear_internal_signals): New function. - (__libc_signal_block_all): Likewise. - (__libc_signal_block_app): Likewise. - (__libc_signal_restore_set): Likewise. - * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c - implementation. - * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use - the cached pid/tid value in pthread structure. - -2016-07-13 H.J. Lu - - [BZ #20347] - * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated. - -2016-07-12 H.J. Lu - - [BZ #20348] - * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64, - preadv64, pwrite64 and pwritev64. - -2016-07-12 H.J. Lu - - [BZ #20350] - * posix/tst-preadwrite.c: Renamed to ... - * posix/tst-preadwrite-common.c: This. - (PREAD): Removed. - (PWRITE): Likewise. - (STRINGIFY): Likewise. - (STRINGIFY2): Likewise. - (do_prepare): Make it static and remove function arguments. - (do_test): Likewise. - (PREPARE): Updated. - (TEST_FUNCTION): New. - (name): Make it static. - (fd): Likewise. - (do_prepare): Use create_temp_file. - (do_test): Renamed to ... - (do_test_with_offset): This. Make it static and accept offset. - Properly check return value of PWRITE and PREAD. Return bytes - read. Don't close fd nor unlink name. - * posix/tst-preadwrite.c: Rewrite. - * posix/tst-preadwrite64.c: Likewise. - -2016-07-12 H.J. Lu - - [BZ #20309] - * configure.ac (have-mtls-dialect-gnu2): Set to yes if - -mtls-dialect=gnu2 works. - * configure: Regenerated. - * elf/Makefile [have-mtls-dialect-gnu2 = yes] - (tests): Add tst-gnu2-tls1. - (modules-names): Add tst-gnu2-tls1mod. - ($(objpfx)tst-gnu2-tls1): New. - (tst-gnu2-tls1mod.so-no-z-defs): Likewise. - (CFLAGS-tst-gnu2-tls1mod.c): Likewise. - * elf/tst-gnu2-tls1.c: New file. - * elf/tst-gnu2-tls1mod.c: Likewise. - * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8 - bytes for push in the PLT entry to align the stack. - -2016-07-11 H.J. Lu - - [BZ #20349] - * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New. - -2016-07-11 Szabolcs Nagy - - [BZ #18707] - * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only. - * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers. - -2016-07-08 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/sysdep.h - [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove - guards. - * misc/tst-preadvwritev-common.c: New file. - * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c. - * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add - a check for files larger than 2GB. - - * sysdeps/unix/sysv/linux/mips/kernel-features.h - (__ASSUME_OFF_DIFF_OFF64): Remove define. - * sysdeps/unix/sysv/linux/pread.c - [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by - __OFF_T_MATCHES_OFF64_T. - * sysdeps/unix/sysv/linux/pread64.c - [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise. - * sysdeps/unix/sysv/linux/preadv.c - [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise. - * sysdeps/unix/sysv/linux/preadv64.c - [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise. - * sysdeps/unix/sysv/linux/pwrite.c - [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise. - * sysdeps/unix/sysv/linux/pwrite64.c - [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise. - * sysdeps/unix/sysv/linux/pwritev.c - [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise. - * sysdeps/unix/sysv/linux/pwritev64.c - [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise. - -2016-07-08 Chris Metcalf - - * sysdeps/unix/sysv/linux/tile/kernel-features.h - (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64. - -2016-07-08 Aurelien Jarno - - * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0. - -2016-07-08 Aurelien Jarno - - [BZ #20240] - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile - (CFLAGS-s_modf-ppc32.c): New variable. - (CFLAGS-s_modff-ppc32.c): Likewise. - * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile - (CFLAGS-s_modf-ppc64.c): Likewise. - (CFLAGS-s_modff-ppc64.c): Likewise. - -2016-07-07 Andreas Schwab - - [BZ #20263] - * nptl/tst-robust10.c: New test. - * nptl/Makefile (tests): Add tst-robust10. - -2016-07-07 Jiyoung Yun - - [BZ #20263] - * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic. - -2016-07-06 Stefan Liebler - - * sysdeps/s390/linkmap.h (struct link_map_machine): - Remove member gotplt and add member jmprel. - * sysdeps/s390/s390-32/dl-machine.h - (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL - instead of gotplt with &got[3]. - (elf_machine_lazy_rel): Calculate address with reloc and jmprel. - * sysdeps/s390/s390-64/dl-machine.h: Likewise. - -2016-07-06 John David Anglin - - * sysdeps/hppa/fpu/libm-test-ulps: Regenerate. - -2016-07-06 Samuel Thibault - - * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write, - _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek) - [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE. - (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE. - * libio/vtables.c (_IO_vtable_check) - [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE. - * libio/libioP.h (IO_set_accept_foreign_vtables) - [!PTR_MANGLE]: Do not call PTR_MANGLE. - -2016-07-05 H.J. Lu - - [BZ #20314] - * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx). - * Makerules (before-compile): Add $(common-objpfx)cstdlib and - $(common-objpfx)cmath. - ($(common-objpfx)cstdlib): New target. - ($(common-objpfx)cmath): Likewise. - -2016-07-05 Chris Metcalf - - * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s. - -2016-07-05 Rajalakshmi Srinivasaraghavan - - [BZ #20327] - * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that - are not part of the string. - -2016-07-05 Adhemerval Zanella - - * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation. - * nptl/tst-cancel4-common.h (fifoname): New variable. - (fifofd): Likewise. - (cl_fifo): New function. - * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by - SIGINT. - (tf_open): Add early cancel test. - -2016-07-04 Andreas Schwab - - * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define. - -2016-07-01 Maciej W. Rozycki - - * sysdeps/generic/ldsodefs.h - (dl_symbol_visibility_binds_local_p): New inline function. - * elf/dl-addr.c (determine_info): Treat hidden and internal - symbols as local. - * elf/dl-lookup.c (do_lookup_x): Likewise. - * elf/dl-reloc.c (RESOLVE_MAP): Likewise. - -2016-07-01 Aurelien Jarno - - * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an - invalid exception for a sNaN input. - * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise. - * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S - (__nearbyint_vis3): Likewise - * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S - (__nearbyintf_vis3): Likewise - * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise. - * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise. - * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3): - Likewise. - * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3): - Likewise. - -2016-07-01 H.J. Lu - - [BZ #20139] - * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ... - (HAVE_AVX512DQ_ASM_SUPPORT): This. - * sysdeps/x86_64/configure.ac: Require assembler from binutils - 2.24 or above. - (HAVE_AVX512_ASM_SUPPORT): Removed. - (HAVE_AVX512DQ_ASM_SUPPORT): New. - * sysdeps/x86_64/configure: Regenerated. - * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT - check unconditional. - * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise. - * sysdeps/x86_64/multiarch/memcpy.S: Likewise. - * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise. - * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: - Likewise. - * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S: - Likewise. - * sysdeps/x86_64/multiarch/memmove.S: Likewise. - * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise. - * sysdeps/x86_64/multiarch/mempcpy.S: Likewise. - * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise. - * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: - Likewise. - * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S: - Likewise. - * sysdeps/x86_64/multiarch/memset.S: Likewise. - * sysdeps/x86_64/multiarch/memset_chk.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check - HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT. - * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: - Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: - Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: - Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: - Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.: - Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: - Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: - Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: - Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: - Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51: - Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: - Likewise. - -2016-07-01 Andrew Senkevich - - [BZ #20024] - * sysdeps/x86/fpu/test-math-vector-sincos.h: New. - * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI - of this implementation of vector function. - * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: - Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise. - * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise. - * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise. - * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise. - * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise. - * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise. - * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise. - * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise. - * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise. - * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper - for testing vector sincos with fixed ABI. - * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test. - * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise. - * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise. - * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise. - * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise. - * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise. - * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise. - * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise. - * sysdeps/x86_64/fpu/Makefile: Added new tests. - -2016-06-30 Aurelien Jarno - - * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp. - -2016-06-30 Anton Blanchard - - * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile - [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and - s_sinf-ppc64. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise. - * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise. - -2016-06-30 Tulio Magno Quites Machado Filho - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile - [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and - e_expf-ppc64. - * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise. - * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise. - * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise. - -2016-06-30 John David Anglin - - [BZ #20277] - * sysdeps/hppa/start.S (_start): Correct loading of global pointer - when SHARED is defined. - -2016-06-30 H.J. Lu - - * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New. - (index_arch_Prefer_ERMS): Likewise. - * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return - __memcpy_erms for Prefer_ERMS. - * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S - (__memmove_erms): Enabled for libc.a. - * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return - __memmove_erms or Prefer_ERMS. - * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return - __mempcpy_erms for Prefer_ERMS. - * sysdeps/x86_64/multiarch/memset.S (memset): Return - __memset_erms for Prefer_ERMS. - -2016-06-30 Andreas Schwab - - [BZ #20262] - * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return - NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out - of memory. - -2016-06-29 H.J. Lu - - [BZ #18645] - * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o. - (test-extras): Add tst-cleanupx4aux. - (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions. - ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with - tst-cleanupx4aux.o. - * nptl/tst-cleanupx4aux.c: New file. - -2016-06-30 Aurelien Jarno - - * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated. - -2016-06-29 Andreas Schwab - - [BZ #20260] - * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the - address before the beginning of the string as an integer to avoid - array-bounds warning. - -2016-06-28 Richard Henderson - - * elf/elf.h (EM_BPF): New. - (EM_NUM): Update. - (R_BPF_NONE, R_BPF_MAP_FD): New. - - * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT, - EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200, - EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33, - EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2, - EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C, - EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24, - EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000, - EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C, - EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32, - EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX, - EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X, - EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA, - EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2, - EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1, - EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8, - EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80, - EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New. - (EM_NUM): Update. - -2016-06-28 Stefan Liebler - - [BZ #18960] - * locale/localeinfo.h (_NL_CURRENT_DEFINE): - Set _nl_current_LC_CATEGORY_used to two instead of one. - -2016-06-27 Aurelien Jarno - - * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ... - (do_test): ... this. - (TEST_FUNCTION): New macro. - Include test-skeleton.c. - * sysdeps/mips/tst-mode-switch-2.c (main): Likewise. - * sysdeps/mips/tst-mode-switch-3.c (main): Likewise. - -2016-06-27 Joseph Myers - - [BZ #15479] - * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore - floating-point environment rather than just control word. - * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise. - * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore - floating-point environment, with "invalid" exceptions merged in, - rather than just control word. - * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise. - * math/libm-test.inc (trunc_test_data): Do not allow spurious - "inexact" exceptions. - - [BZ #15479] - * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore - floating-point environment rather than just control word. - * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise. - * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore - floating-point environment, with "invalid" exceptions merged in, - rather than just control word. - * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise. - * math/libm-test.inc (floor_test_data): Do not allow spurious - "inexact" exceptions. - - [BZ #15479] - * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore - floating-point environment rather than just control word. - * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise. - * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore - floating-point environment, with "invalid" exceptions merged in, - rather than just control word. - * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise. - * math/libm-test.inc (ceil_test_data): Do not allow spurious - "inexact" exceptions. - -2016-06-21 Aurelien Jarno - - * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into - __libc_vfork. - (__vfork) [IS_IN (libc)]: Remove alias. - (__libc_vfork) [IS_IN (libc)]: Define as an alias. - * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise. - -2016-06-24 Torvald Riegel - - * nscd/cache.c (cache_add): Use new C11-like atomic operation instead - of atomic_compare_and_exchange_bool_rel. - * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise. - * include/atomic.h (atomic_compare_and_exchange_bool_rel, - catomic_compare_and_exchange_bool_rel): Remove. - * sysdeps/aarch64/atomic-machine.h - (atomic_compare_and_exchange_bool_rel): Likewise. - * sysdeps/alpha/atomic-machine.h - (atomic_compare_and_exchange_bool_rel): Likewise. - * sysdeps/arm/atomic-machine.h - (atomic_compare_and_exchange_bool_rel): Likewise. - * sysdeps/mips/atomic-machine.h - (atomic_compare_and_exchange_bool_rel): Likewise. - * sysdeps/microblaze/atomic-machine.h - ( __arch_compare_and_exchange_bool_8_rel, - __arch_compare_and_exchange_bool_16_rel): Likewise. - * sysdeps/powerpc/atomic-machine.h - ( __arch_compare_and_exchange_bool_8_rel, - __arch_compare_and_exchange_bool_16_rel): Likewise. - * sysdeps/powerpc/powerpc32/atomic-machine.h - ( __arch_compare_and_exchange_bool_32_rel, - __arch_compare_and_exchange_bool_64_rel): Likewise. - * sysdeps/powerpc/powerpc64/atomic-machine.h - ( __arch_compare_and_exchange_bool_32_rel, - __arch_compare_and_exchange_bool_64_rel): Likewise. - * sysdeps/tile/atomic-machine.h - (atomic_compare_and_exchange_bool_rel): Likewise. - -2016-06-23 Joseph Myers - - [BZ #20296] - * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments - when either argument is a NaN. - * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise. - * math/libm-test.inc (scalb_test_data): Add sNaN tests. - - * math/libm-test.inc (snan_value_ld): New macro. - (isgreater_test_data): Add sNaN tests. - (isgreaterequal_test_data): Likewise. - (isless_test_data): Likewise. - (islessequal_test_data): Likewise. - (islessgreater_test_data): Likewise. - (isunordered_test_data): Likewise. - (nextafter_test_data): Likewise. - (nexttoward_test_data): Likewise. - (remainder_test_data): Likewise. - (remquo_test_data): Likewise. - (significand_test_data): Likewise. - * math/gen-libm-test.pl (%beautify): Add snan_value_ld. - -2016-06-23 Siddhesh Poyarekar - - * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all - environment macros are defined. - (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined. - -2016-06-23 Florian Weimer - - [BZ #20191] - Implement vtable verification in libio. - * Makerules (shlib.lds): Place __libc_IO_vtables section. - * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable. - * debug/vdprintf_chk.c (__vdprintf_chk): Call - _IO_new_file_init_internal instead of _IO_file_init. - * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable. - * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise. - * libio/Makefile (routines): Add vtables. - * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable. - (_IO_init): Remove, not for internal use. - (_IO_init_internal): Declare, internal replacement for _IO_init. - (_IO_file_init): Remove, not for internal use. - (_IO_new_file_init): Remove, not for internal use. - (_IO_new_file_init_internal): Declare, internal replacement for - _IO_new_file_init. - (_IO_old_file_init): Remove, not for internal use. - (_IO_old_file_init_internal): Declare, internal replacement for - _IO_old_file_init. - (_IO_str_init_static, _IO_str_init_readonly): Remove, not for - internal use. - (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check): - Declare. - (libio_vtable): New macro. - (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline - functions. - * libio/fileops.c (_IO_new_file_init_internal): Rename from - _IO_new_file_init. - (_IO_new_file_init): New externally visible wrapper which disables - vtable verification. - (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap): - Define as vtables. - * libio/genops.c (_IO_init_internal): Rename from _IO_init. - (_IO_init): New externally visible wrapper which disables - vtable verification. - * libio/iofdopen.c (_IO_new_fdopen): Call - _IO_new_file_init_internal instead of _IO_file_init. Adjust - comment. - * libio/iofopen.c (__fopen_internal): Call - _IO_new_file_init_internal instead of _IO_file_init. - * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps): - Define as vtables. - (_IO_cookie_init): Call _IO_init_internal instead of _IO_init, - _IO_new_file_init_internal instead of _IO_file_init. - * libio/iopopen.c (_IO_new_popen): Likewise. - (_IO_proc_jumps): Define as vtable. - * libio/iovdprintf.c (_IO_vdprintf): Call - _IO_new_file_init_internal instead of _IO_file_init. - * libio/memstream.c (_IO_mem_jumps): Define as vtable. - (__open_memstream): Call _IO_init_internal instead of _IO_init. - * libio/obprintf.c (_IO_obstack_jumps): Define as vtable. - * libio/oldfileops.c (_IO_old_file_init_internal): Rename from - _IO_old_file_init. - (_IO_old_file_init): New externally visible wrapper which disables - vtable verification. - (_IO_old_file_jumps): Define as vtable. - * libio/oldiofdopen.c (_IO_old_fdopen): Call - _IO_old_file_init_internal instead of _IO_old_file_init. - * libio/oldiofopen.c (_IO_old_fopen): Likewise. - * libio/oldiopopen.c (_IO_old_popen): Likewise. - (_IO_old_proc_jumps): Define as vtable. - * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps): - Define as vtables. - * libio/vtables.c: New file. - * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap) - (_IO_wfile_jumps_maybe_mmap): Define as vtables. - * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable. - * libio/wstrops.c (_IO_wstr_jumps): Likewise. - * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise. - * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal - instead of _IO_init. - -2016-06-23 Florian Weimer - - * test-skeleton.c (xrealloc): Support deallocation with n == 0. - -2016-06-23 Florian Weimer - - * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as - potentially unused. - -2016-06-22 Florian Weimer - - * test-skeleton.c (write_message): New function. - * malloc/tst-mallocfork2.c (write_message): Remove. - * debug/tst-longjmp_chk2.c (write_indented): New function. - (write_message): Remove. - (stackoverflow_handler): Call write_indented. - -2016-06-22 Joseph Myers - - * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask - "inexact" exceptions after fnstenv. - * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise. - * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise. - * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise. - -2015-06-22 Zack Weinberg - - * sysdeps/generic/bits/hwcap.h: Moved to ... - * bits/hwcap.h: Here. - -2016-06-22 Wilco Dijkstra - - * sysdeps/aarch64/memcpy.S (memcpy): - Further tuning for performance. - -2016-06-21 Florian Weimer - - [BZ #20284] - * malloc/arena.c (reused_arena): Do not return NULL if we start - out with a non-corrupted arena. - -2016-06-21 Adhemerval Zanella - - * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64. - * misc/tst-preadvwritev.c: New file. - * misc/tst-preadvwritev64.c: Likewise. - * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64} - usage. - * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise. - * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise. - * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise. - * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro. - -2016-06-20 Andrew Senkevich - - [BZ #19654] - * sysdeps/x86_64/fpu/Makefile: Added new tests. - * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New. - * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise. - * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise. - * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise. - * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise. - * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise. - * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise. - * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise. - * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise. - * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise. - * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise. - * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise. - * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise. - * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise. - * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise. - * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise. - * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise. - * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise. - * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise. - * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise. - * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise. - * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise. - * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise. - * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise. - * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise. - -2016-06-20 Wilco Dijkstra - - * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file. - * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT. - -2016-06-20 Wilco Dijkstra - - * sysdeps/aarch64/memcpy.S (memcpy): - Rewrite of optimized memcpy and memmove. - * sysdeps/aarch64/memmove.S (memmove): Remove - memmove code (merged into memcpy.S). - -2016-06-20 Florian Weimer - - Consolidate machine-agnostic DTV definitions in . - * sysdeps/generic/dl-dtv.h: New file. - * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove. - * sysdeps/aarch64/nptl/tls.h: Include . - (dtv_t): Remove. - * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove. - * sysdeps/alpha/nptl/tls.h: Include . - (dtv_t): Remove. - * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove. - * sysdeps/arm/nptl/tls.h: Include . - (dtv_t): Remove. - * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove. - * sysdeps/hppa/nptl/tls.h: Include . - (dtv_t): Remove. - * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove. - * sysdeps/i386/nptl/tls.h: Include . - (dtv_t): Remove. - * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove. - * sysdeps/ia64/nptl/tls.h: Include . - (dtv_t): Remove. - * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove. - * sysdeps/m68k/nptl/tls.h: Include . - (dtv_t): Remove. - * sysdeps/mach/hurd/i386/tls.h: Include . - (dtv_t): Remove. - * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove. - * sysdeps/microblaze/nptl/tls.h: Include . - (dtv_t): Remove. - * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove. - * sysdeps/mips/nptl/tls.h: Include . - (dtv_t): Remove. - * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove. - * sysdeps/nios2/nptl/tls.h: Include . - (dtv_t): Remove. - * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove. - * sysdeps/powerpc/nptl/tls.h: Include . - (dtv_t): Remove. - * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove. - * sysdeps/s390/nptl/tls.h: Include . - (dtv_t): Remove. - * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove. - * sysdeps/sh/nptl/tls.h: Include . - (dtv_t): Remove. - * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove. - * sysdeps/sparc/nptl/tls.h: Include . - (dtv_t): Remove. - * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove. - * sysdeps/x86_64/nptl/tls.h: Include . - (dtv_t): Remove. - -2016-06-20 Florian Weimer - - Revert symbol poisoning of __malloc_initialize_hook. - * include/stdc-predef.h (__malloc_initialize_hook): Remove - poisoning. - * malloc/Makefile: Remove un-poisoning. - * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook - instead of old__malloc_initialize_hook. - * malloc/malloc-hooks.h: Likewise. - * malloc/malloc.c: Likewise. - * malloc/mcheck-init.c: Likewise. - -2016-06-19 Carlos O'Donell - - * sysdeps/unix/sysv/linux/times.c (__times): Expand comments. - -2016-06-18 Aurelien Jarno - - * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize - hidden_def, weak_alias and strong_alias on [IS_IN (libc)]. - * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise. - -2016-06-16 Rajalakshmi Srinivasaraghavan - - * NEWS: Mention addition of nextup and nextdown. - * manual/arith.texi: Document nextup and nextdown. - * manual/libm-err-tab.pl: Add nextup and nextdown. - * math/Makefile (libm-calls): Add s_nextdown and s_nextup. - * math/Versions (libm): Add GLIBC_2.24. - * math/bits/mathcalls.h: Add nextup and nextdown declaration. - * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]: - Add new test. - (nextafter_test_data) [TEST_COND_binary32]: Likewise. - (nextafter_test_data) [TEST_COND_m68k96]: Likewise. - (nextafter_test_data) [TEST_COND_binary64]: Likewise. - (nextafter_test_data) [TEST_COND_binary128]: Likewise. - (nextup_test_data): Likewise. - (nextdown_test_data): Likewise. - * math/s_nextdown.c: New file. - * math/s_nextdownf.c: Likewise. - * math/s_nextdownl.c: Likewise. - * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests. - F(nextup): New function. - F(nextdown): Likewise. - * math/tgmath.h: Add nextup and nextdown. - * sysdeps/ieee754/flt-32/s_nextupf.c: New file. - * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise. - * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): - Add nextup and nextdown. - (CFLAGS-nldbl-nextup.c): New variable. - (CFLAGS-nldbl-nextdown.c): Likewise. - * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise. - * sysdeps/nacl/libm.abilist: Update. - * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise. - -2016-06-16 Rical Jasan - - * manual/pattern.texi: Fix typos & grammar errors. - -2016-06-16 Rical Jasan - - * manual/search.texi: Fix typos & grammar errors. - -2016-06-16 Rical Jasan - - * manual/message.texi: Fix typos & grammar errors. - -2016-06-16 Mike Frysinger - - * manual/contrib.texi: Fix spelling typos. - * manual/crypt.texi: Likewise. - * manual/filesys.texi: Likewise. - * manual/locale.texi: Likewise. - * manual/message.texi: Likewise. - * manual/nss.texi: Likewise. - * manual/string.texi: Likewise. - -2016-06-16 Rical Jasan - - * manual/locale.texi: Fix typos & grammar errors. - -2016-06-16 Rical Jasan - - * manual/charset.texi: Fix typos & grammar errors. - -2016-06-16 Rical Jasan - - * manual/string.texi: Fix typos. - -2016-06-16 Rical Jasan - - * manual/ctype.texi: Fix typos. - -2016-06-16 Rical Jasan - - * manual/memory.texi: Fix various typos & grammar errors. - -2016-06-14 Joseph Myers - - [BZ #20255] - * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c. - * math/libm-test.inc (fdim_test_data): Add another test. - - [BZ #6796] - [BZ #20255] - [BZ #20256] - * math/s_fdim.c: Include . - (__fdim): Use math_narrow_eval on result. - * math/s_fdimf.c: Include . - (__fdimf): Use math_narrow_eval on result. - * sysdeps/i386/fpu/s_fdim.S: Remove file. - * sysdeps/i386/fpu/s_fdimf.S: Likewise. - * sysdeps/i386/fpu/s_fdiml.S: Likewise. - * sysdeps/i386/i686/fpu/s_fdim.S: Likewise. - * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise. - * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise. - * sysdeps/powerpc/fpu/s_fdim.c: Likewise. - * sysdeps/powerpc/fpu/s_fdimf.c: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise. - * sysdeps/x86_64/fpu/s_fdiml.S: Likewise. - * math/libm-test.inc (fdim_test_data): Expect errno setting on - overflow. Add sNaN tests. - - * math/s_fdim.c (__fdim): Use islessequal and isinf instead of - fpclassify. - * math/s_fdimf.c (__fdimf): Likewise. - * math/s_fdiml.c (__fdiml): Likewise. - -2016-06-14 Rajalakshmi Srinivasaraghavan - - * sysdeps/powerpc/powerpc64/multiarch/Makefile: - (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: - (__libc_ifunc_impl_list): Add entries for P8 and PPC64 - ifunc'ed strcasecmp/strncasecmp. - * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: - [EALIGN]: Removed. - [END]: Likewise. - [__strcasecmp]: Define instead of the above to control symbol name. - * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector - for __strcasecmp_power8. - * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector - for __strncasecmp_power8. - * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File. - * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise. - * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise. - * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise. - -2016-06-13 Joseph Myers - - [BZ #20252] - * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both - arguments when second argument is a NaN. - * math/libm-test.inc (atan2_test_data): Add sNaN tests and more - qNaN tests. - - * math/libm-test.inc (cimag_test_data): Add sNaN tests. - (conj_test_data): Likewise. - (copysign_test_data): Likewise. - (creal_test_data): Likewise. - (fma_test_data): Likewise. - (fmod_test_data): Likewise. - - [BZ #20250] - * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to - itself. - * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or - zero input to itself. - * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): - Likewise. - * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise. - * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise. - * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise. - * math/libm-test.inc (frexp_test_data): Add sNaN tests. - -2016-06-13 Adhemerval Zanella - - * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2. - * nptl/tst-cancel4-common.c: New file. - * nptl/tst-cancel4-common.h: Likewise. - * nptl/tst-cancel4.c: Move common definitions to - tst-cancel4-common.{c,h} file. - * nptl/tst-cancel4_1.c: New test. - * nptl/tst-cancel4_2.c: New test. - -2016-06-13 Florian Weimer - - [BZ #20248] - * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t. - (write_message): New function. - (stackoverflow_handler): Call it instead of printf, to avoid - excessive stack usage by printf. - (do_test): Restore SIGSEGV, SIGBUS default handlers. - -2016-06-13 Adhemerval Zanella - - * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI] - (prio_inherit_missing): Remove define. - * sysdeps/unix/sysv/linux/arm/kernel-features.h - (__ASSUME_FUTEX_LOCK_PI): Likewise. - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI): - Likewise. - * sysdeps/unix/sysv/linux/m68k/kernel-features.h - (__ASSUME_FUTEX_LOCK_PI): Likewise. - * sysdeps/unix/sysv/linux/mips/kernel-features.h - (__ASSUME_FUTEX_LOCK_PI): Likewise. - * sysdeps/unix/sysv/linux/sparc/kernel-features.h - (__ASSUME_FUTEX_LOCK_PI): Likewise. - -2016-06-11 Paul Pluzhnikov - - [BZ #19670] - [BZ #19672] - - * io/test-lfs.c (do_prepare): Use xmalloc. - * io/tst-fcntl.c (do_prepare): Likewise. - * libio/tst-fopenloc.c (do_bz17916): Likewise. - * libio/tst-mmap2-eofsync.c (do_prepare): Likewise. - * login/tst-utmp.c (do_prepare): Likewise. - * posix/tst-exec.c (do_prepare): Likewise. - * posix/tst-pathconf.c (prepare): Likewise. - * posix/tst-spawn.c (do_prepare): Likewise. - * posix/tst-truncate.c (do_prepare): Likewise. - * rt/tst-aio.c (do_prepare): Likewise. - * rt/tst-aio64.c (do_prepare): Likewise. - -2016-06-11 Florian Weimer - - [BZ #20237] - * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL. - (get*ent): Set entidx to NULL during initialization. If entidx is - NULL, start iteration from the beginning. - -2016-06-11 Florian Weimer - - * malloc/malloc.c (musable): Return correct size for dumped fake - mmapped chunk. - -2016-06-11 Florian Weimer - - [BZ #20222] - * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer. - (_IO_cookie_write): Likewise. - (_IO_cookie_seek): Likewise. - (_IO_cookie_close): Likewise. - (_IO_old_cookie_seek): Likewise. - (set_callbacks): New function. - (_IO_cookie_init): Call set_callbacks to copy callbacks. - -2016-06-11 Marko Myllynen - - * locale/programs/localedef.c (oldstyle_tables): Remove. - * locale/programs/localedef.h (oldstyle_tables): Likewise. - -2016-06-10 Joseph Myers - - [BZ #20240] - * math/Makefile (CFLAGS-s_modf.c): New variable. - (CFLAGS-s_modff.c): Likewise. - (CFLAGS-s_modfl.c): Likewise. - * math/libm-test.inc (modf_test_data): Add sNaN tests. - -2016-06-09 Carlos O'Donell - - [BZ #20215] - * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first. - [!__GNUC_PREREQ (3,2)]: Likewise. - -2016-06-10 Adhemerval Zanela - - * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-. - (msghdr.msg_controllen): Likewise. - (cmsghdr.cmsg_len): Likewise. - * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and - ptw-oldsendmsg. - (CFLAGS-oldrecvmsg.c): Remove rule. - (CFLAGS-oldsendmsg.c): Likewise. - (CFLAGS-recvmsg.c): Add rule. - (CFLAGS-sendmsg.c): Likewise. - * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove - oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg. - (CFLAGS-recvmsg.c): Remove rule. - (CFLAGS-sendmsg.c): Likewise. - (CFLAGS-oldrecvmsg.c): Likewise. - (CFLAGS-oldsendmsg.c): Likewise. - (CFLAGS-recvmmsg.c): Likewise. - * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert - to kernel defined interfaces. - (msghdr.msg_controllen): Likewise. - (cmsghdr.cmsg_len): Likewise. - (msghdr.__glibc_reserved1): Remove member. - (msghdr.__glibc_reserved2): Likewise. - (cmsghdr.__glibc_reserved1): Likewise. - * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file. - * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise. - * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise. - * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise. - * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous - version. - * sysdeps/unix/sysv/linux/recvmsg.c: Likewise. - * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise. - * sysdeps/unix/sysv/linux/sendmsg.c: Likewise. - * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24): - Remove recvmsg and sendmsg. - * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): - Likewise. - * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): - Likewise. - * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise. - * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise. - * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24): - Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24): - Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions - [libc] (GLIBC_2.24): Likewise. - * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24): - Likewise. - * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24): - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions - [libc] (GLIBC_2.24): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24): - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24): - Likewise. - * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise. - * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24): - Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24): - Likewise. - * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24): - Likewise. - * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24): - Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file - * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise. - * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24 - version for {recv,send,recm,sendm}msg. - * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise. - -2016-06-10 Florian Weimer - - [BZ #19564] - Remove __malloc_initialize_hook from the API. - * malloc/malloc.h (__malloc_initialize_hook): Remove. - * include/stdc-predef.h (__malloc_initialize_hook): Poison with - #pragma GCC poison. - * malloc/malloc-hooks.h: New file. - * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook. - * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New. - (old__malloc_initialize_hook): Rename from - __malloc_initialize_hook to evade poisoning. Turn into compat - symbol. - * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from - __malloc_initialize_hook. - * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New. - (mallo.c, mcheck-init.c): Compile with unpoisoned symbol. - * manual/memory.texi (Hooks for Malloc): Remove - __malloc_initialize_hook. Adjust hook example. - -2016-06-09 Joseph Myers - - [BZ #20235] - * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to - itself. - * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise. - * math/libm-test.inc (log2_test_data): Add sNaN tests. - - [BZ #20234] - * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive - infinity or NaN input to itself. - - [BZ #20233] - * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input - to itself. - - [BZ #20232] - * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to - itself. - -2016-06-09 H.J. Lu - - * sysdeps/x86_64/start.S (_start): Always indirect branch to - __libc_start_main via GOT. - -2016-06-09 H.J. Lu - - * sysdeps/x86_64/memcopy.h: New file. - * sysdeps/x86_64/wordcopy.c: Likewise. - -2016-06-09 Florian Weimer - - Prevent GCC 6 from including /usr/include/stdlib.h. - * stdlib/tst-quick_exit.cc: Include instead of - . - (optimization_barrier): New. - (do_test): Use it. Call quick_exit in the global namespace. - * stdlib/tst-thread-quick_exit.cc: Include , - instead of , . - (optimization_barrier): New. - (non_main_thread): Adjust declaration. Call optimization_barrier. - Call quick_exit in the global namespace. - (do_test): Call optimization_barrier. Use pthread_create, - pthread_join instead of std::thread. - -2016-06-09 Andreas Schwab - - [BZ #19755] - * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding - new entries in auto-propagate mode. - * nscd/grpcache.c (cache_addgr): Likewise. - -2016-06-09 Paul Pluzhnikov - - * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc): - New functions. - (add_temp_file): Use them. - -2016-06-09 Samuel Thibault - - * mach/mach/mach_traps.h (mach_print): Add syscall declaration. - -2016-06-08 Joseph Myers - - [BZ #20229] - * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself. - * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise. - * math/libm-test.inc (log1p_test_data): Add sNaN tests. - - [BZ #20228] - * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to - itself. - * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise. - * math/libm-test.inc (log10_test_data): Add sNaN tests. - - [BZ #20227] - * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to - itself. - * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise. - * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise. - * math/libm-test.inc (log_test_data): Add sNaN tests. - - [BZ #20226] - * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to - itself. - * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise. - * math/libm-test.inc (exp_test_data): Add sNaN tests. - (exp10_test_data): Likewise. - (expm1_test_data): Likewise. - - [BZ #20225] - * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to - itself. - * math/s_ldexpf.c (__ldexpf): Likewise. - * math/s_ldexpl.c (__ldexpl): Likewise. - * math/w_scalbln.c (__w_scalbln): Likewise. - * math/w_scalblnf.c (__w_scalblnf): Likewise. - * math/w_scalblnl.c (__w_scalblnl): Likewise. - * math/libm-test.inc (scalbn_test_data): Add sNaN tests. - (scalbln_test_data): Likewise. - - [BZ #20224] - * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero - argument to itself. - * math/libm-test.inc (cbrt_test_data): Add sNaN tests. - -2016-06-08 H.J. Lu - - [BZ #19776] - * sysdeps/x86_64/memcpy.S: Make it dummy. - * sysdeps/x86_64/mempcpy.S: Likewise. - * sysdeps/x86_64/memmove.S: New file. - * sysdeps/x86_64/memmove_chk.S: Likewise. - * sysdeps/x86_64/multiarch/memmove.S: Likewise. - * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise. - * sysdeps/x86_64/memmove.c: Removed. - * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise. - * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise. - * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise. - * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: - Likewise. - * sysdeps/x86_64/multiarch/memmove.c: Likewise. - * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise. - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove - memcpy-sse2-unaligned, memmove-avx-unaligned, - memcpy-avx-unaligned and memmove-sse2-unaligned-erms. - * sysdeps/x86_64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Replace - __memmove_chk_avx512_unaligned_2 with - __memmove_chk_avx512_unaligned. Remove - __memmove_chk_avx_unaligned_2. Replace - __memmove_chk_sse2_unaligned_2 with - __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and - __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2 - with __memmove_avx512_unaligned. Replace - __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned. - Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2 - with __memcpy_chk_avx512_unaligned. Remove - __memcpy_chk_avx_unaligned_2. Replace - __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned. - Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2. - Replace __memcpy_avx512_unaligned_2 with - __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2 - and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2 - with __mempcpy_chk_avx512_unaligned. Remove - __mempcpy_chk_avx_unaligned_2. Replace - __mempcpy_chk_sse2_unaligned_2 with - __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2. - Replace __mempcpy_avx512_unaligned_2 with - __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2. - Replace __mempcpy_sse2_unaligned_2 with - __mempcpy_sse2_unaligned. Remove __mempcpy_sse2. - * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support - __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned. - Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms - if processor has ERMS. Default to __memcpy_sse2_unaligned. - (ENTRY): Removed. - (END): Likewise. - (ENTRY_CHK): Likewise. - (libc_hidden_builtin_def): Likewise. - Don't include ../memcpy.S. - * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support - __memcpy_chk_avx512_unaligned_erms and - __memcpy_chk_avx512_unaligned. Use - __memcpy_chk_avx_unaligned_erms and - __memcpy_chk_sse2_unaligned_erms if if processor has ERMS. - Default to __memcpy_chk_sse2_unaligned. - * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S - Change function suffix from unaligned_2 to unaligned. - * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support - __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned. - Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms - if processor has ERMS. Default to __mempcpy_sse2_unaligned. - (ENTRY): Removed. - (END): Likewise. - (ENTRY_CHK): Likewise. - (libc_hidden_builtin_def): Likewise. - Don't include ../mempcpy.S. - (mempcpy): New. Add a weak alias. - * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support - __mempcpy_chk_avx512_unaligned_erms and - __mempcpy_chk_avx512_unaligned. Use - __mempcpy_chk_avx_unaligned_erms and - __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS. - Default to __mempcpy_chk_sse2_unaligned. - -2016-06-08 H.J. Lu - - [BZ #19881] - * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded - into ... - * sysdeps/x86_64/memset.S: This. - (__bzero): Removed. - (__memset_tail): Likewise. - (__memset_chk): Likewise. - (memset): Likewise. - (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't - defined. - (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined. - * sysdeps/x86_64/multiarch/memset-avx2.S: Removed. - (__memset_zero_constant_len_parameter): Check SHARED instead of - PIC. - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove - memset-avx2 and memset-sse2-unaligned-erms. - * sysdeps/x86_64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Remove __memset_chk_sse2, - __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned. - * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S - (__bzero): Enabled. - * sysdeps/x86_64/multiarch/memset.S (memset): Replace - __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned - and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms - or __memset_avx2_unaligned_erms if processor has ERMS. Support - __memset_avx512_unaligned_erms and __memset_avx512_unaligned. - (memset): Removed. - (__memset_chk): Likewise. - (MEMSET_SYMBOL): New. - (libc_hidden_builtin_def): Replace __memset_sse2 with - __memset_sse2_unaligned. - * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace - __memset_chk_sse2 and __memset_chk_avx2 with - __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms. - Use __memset_chk_sse2_unaligned_erms or - __memset_chk_avx2_unaligned_erms if processor has ERMS. Support - __memset_chk_avx512_unaligned_erms and - __memset_chk_avx512_unaligned. - -2016-06-08 Paul E. Murphy - - * math/gen-auto-libm-test.c (fp_format_desc): remove - suffix member. - (output_generic_value): Remove usage of suffix member, - and the resulting unuse of the fp_format argument. - (output_for_one_input_case): Remove unused fp_format - parameter. - - * math/auto-libm-test-out: Regenerate. - - * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace - usage with TEST_COND_ibm128. - (TEST_COND_flt_32): Remove. - (TEST_COND_dbl_64): Remove. - (TEST_COND_ldbl_96_intel): Remove. - (TEST_COND_ldbl_96_m68k): Remove. - (TEST_COND_ldbl_128): Remove. - -2016-06-08 Paul E. Murphy - - * auto-libm-test-in: - Replace flt-32 usage with binary32. - Replace dbl-64 usage with binary64. - Replace ldbl-intel-96 usage with intel96. - Replace ldbl-m68k-96 usage with m68k96. - Replace ldbl-128ibm usage with ibm128. - Replace ldbl-128 usage with binary128. - - * auto-libm-test-out: Regenerate. - -2016-06-08 Paul E. Murphy - - * math/gen-libm-test.pl (all_floats_pfx): New lookup table. - (parse_ulps): Dynamically generate type name matching - string from all_floats. - (get_ulps): Generate the ulps as an array instead. - (output_ulps): Dynamically compose the type based - on the number of supported formats, and print - the indices as type specific helper macros. - - * math/libm-test.inc: Remove comment about CHOOSE. - (ulp_data): Generate the type in libm-test-ulps.h. - (ULP_IDX): New macro. - (find_ulps): Update usage of max_ulp. - - * math/test-double-vlen2.h (CHOOSE): Remove. - * math/test-double-vlen4.h (CHOOSE): Likewise. - * math/test-double-vlen8.h (CHOOSE): Likewise. - * math/test-float.c (CHOOSE): Likewise. - * math/test-float-finite.c (CHOOSE): Likewise. - * math/test-double.c (CHOOSE): Likewise. - * math/test-double-finite.c (CHOOSE): Likewise. - * math/test-idouble.c (CHOOSE): Likewise. - * math/test-ifloat.c (CHOOSE): Likewise. - * math/test-ildoubl.c (CHOOSE): Likewise. - * math/test-ldouble-finite.c (CHOOSE): Likewise. - * math/test-ldouble.c (CHOOSE): Likewise. - - * math/test-float.h (TEST_FLOAT): Remove. - * math/test-double.h (TEST_DOUBLE): Likewise. - * math/test-ldouble.h (TEST_LDOUBLE): Likewise. - -2016-06-08 Paul E. Murphy - - * math/gen-libm-test.pl: (apply_lit): New subroutine. - (parse_args): Strip C suffix from floating point literals - typed with 'f' and wrap them with LIT(). - - * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro. - (test_ff_f_data_nexttoward): Rename to - (test_fj_f_data): New struct. - (nexttoward_test_data): Relabel tests as - TEST_fj_f instead of TEST_ff_f. - -2016-06-08 Florian Weimer - - Emacs bug 23726. - * malloc/malloc.c (dumped_main_arena_start): Update comment. - (__libc_realloc): Correct size computation for dumped fake mmapped - chunks. - -2016-06-07 Joseph Myers - - [BZ #20219] - * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument - to itself. - * math/libm-test.inc (atanh_test_data): Add sNaN tests. - - [BZ #20218] - * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument - to itself. - * math/libm-test.inc (asinh_test_data): Add sNaN tests. - -2016-06-07 H.J. Lu - - [BZ #20195] - * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4 - check to ... - (init_cpu_features): Here. - -2016-06-07 Carlos O'Donell - - [BZ #20214] - * sysdeps/unix/sysv/linux/bits/in.h - [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H - || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS): - Define to 1. - [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H - || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS): - Define to 0. - [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define. - [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define. - -2016-06-06 Carlos O'Donell - - [BZ #20198] - * stdlib/Makefile (tests): Add tst-quick_exit, and - tst-thread-quick_exit. - [ifeq ($(have-cxx-thread_local),yes)] - (CFLAGS-tst-quick_exit.o): Use -stdc=c++11. - (CFLAGS-tst-thread-quick_exit.o): Likewise. - (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program. - (LDLIBS-tst-thread-quick_exit): Likewise. - [ifneq ($(have-cxx-thread_local),yes)] - (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit. - * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument. - If run_dtors is true call __call_tls_dtors. - (exit): Call __run_exit_handlers with run_dtors set to true. - * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers - definition. - * stdlib/quick_exit.c (quick_exit): Remove function. - (__new_quick_exit): New function. - [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New - function. - * stdlib/tst-quick_exit.cc: New file. - * stdlib/tst-thread-quick_exit.cc: New file. - * stdlib/Versions: Add quick_exit@GLIBC_2.24. - * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'. - * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise - * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise - * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise - * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise - * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise - * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise - * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise - * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise - * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise - * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise - * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise - * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise - * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise - * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise - * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise - * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise - * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise - * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise - * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise - * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise - * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise - * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise - -2016-06-06 H.J. Lu - - * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix - a typo in comments. - -2016-06-06 Joseph Myers - - [BZ #20213] - * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN - argument to itself. - * math/libm-test.inc (asin_test_data): Add sNaN tests. - -2016-06-06 Adhemerval Zanella - - * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation - required flags. - (CFLAGS-pwritev64.c): Likewise. - * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file. - * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove - syscall from auto-generation. - * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation. - [WORDSIZE == 64] (pwritev64): Remove macro. - [!PWRITEV] (PWRITEV): Likewise. - [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise. - [!PWRITEV] (PWRITE): Likewise. - [!PWRITEV] (OFF_T): Likewise. - [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise. - (LO_HI_LONG): Remove macro. - [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function. - * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation. - (PWRITEV): Remove macro. - (PWRITEV_REPLACEMENTE): Likewise. - (PWRITE): Likewise. - (OFF_T): Likewise. - (pwritev64): New function. - * nptl/tst-cancel4.c (tf_writev): Add test. - - * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation - required flags. - (CFLAGS-preadv64.c): Likewise. - * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file. - * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove - syscall from auto-generation. - * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation. - [WORDSIZE == 64] (preadv64): Remove macro. - [!PREADV] (PREADV): Likewise. - [!PREADV] (PREADV_REPLACEMENT): Likewise. - [!PREADV] (PREAD): Likewise. - [!PREADV] (OFF_T): Likewise. - [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise. - (LO_HI_LONG): Remove macro. - [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function. - * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation. - (PREADV): Remove macro. - (PREADV_REPLACEMENTE): Likewise. - (PREAD): Likewise. - (OFF_T): Likewise. - (preadv64): New function. - * nptl/tst-cancel4.c (tf_preadv): Add test. - -2016-06-06 Joseph Myers - - [BZ #20212] - * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN - argument to itself. - * math/libm-test.inc (acos_test_data): Add sNaN tests. - -2016-06-06 Tulio Magno Quites Machado Filho - - * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr): - New symbol defined as libc_hidden_def. - (strcasestr): Became a weak alias to __strcasestr. - * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls - according to multi-arch support. Move __stpncpy hidden - definition from here to... - * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add - symbol stpncpy. - * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine - libc_hidden_builtin_def. - * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which - memset symbol to use when multi-arch support is available. - -2016-06-06 Stefan Liebler - - * dlfcn/tst-rec-dlopen.c: Include string.h. - -2016-06-05 Paul Pluzhnikov - - * manual/install.texi: Remove mention of --without-tls - * INSTALL: Regenerate. - -2016-06-05 Florian Weimer - - * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook): - Remove. - (call_function, interposed_malloc_called): New variables. - (malloc): New function. - (do_test): Do not change malloc hooks. Initialize malloc. Set - and clear call_function as needed. - -2016-06-04 Andreas Schwab - - * include/wchar.h (__wmemset): Use __typeof. - -2016-06-03 Carlos O'Donell - - * include/wchar.h (__wmemset): Declare function without typeof. - -2016-06-03 Joseph Myers - - [BZ #20205] - * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust - exponent when incrementing negative subnormal with low mantissa - word zero. - * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]: - Add another test. - -2016-06-03 Florian Weimer - - * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use - __wmemset instead of wmemset. - -2016-06-02 Carlos O'Donell - - * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H || - defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1. - [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define - __USE_KERNEL_IPV6_DEFS to 0. - * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'. - Update comment. - -2016-06-01 Florian Weimer - - [BZ #19861] - Do not use IFUNC resolver with potentially unrelocated symbol. - * nptl/pt-fork.c [HAVE_IFUNC]: Remove. - (DEFINE_FORK): Remove macro and inline definition. - (fork_alias): Renamed from fork_ifunc. - (__fork_alias): Renamed from __fork_ifunc. - -2016-05-30 Paul Pluzhnikov - - [BZ 19653] - * inet/if_index.c (__protocol_available): Delete #if 0'd code. - * inet/ruserpass.c (ruserpass): Delete #if 0'd code. - -2016-05-30 Samuel Thibault - - * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and - include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to - i386-linux-gnu). - * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function): - Set to no. - * sysdeps/mach/hurd/configure: Refresh. - -2016-05-30 Adhemerval Zanella - - [BZ #20178] - * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit - on failure instead of exit. - -2016-05-30 Roland McGrath - - [BZ #3629] - * manual/string.texi (Copying Strings and Arrays): stpcpy is part - of POSIX.1-2008. - -2016-05-30 Samuel Thibault - - * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]: - Use PLT entry for calling _hurd_self_sigstate. - -2016-05-27 H.J. Lu - - * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of - available logical processors with SMT level type sharing L2 - cache for Intel processors. - -2016-05-27 Joseph Myers - - [BZ #20160] - * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN - argument to itself before returning the result. - * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint): - Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf): - Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise. - - [BZ #20160] - * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN - argument to itself before returning the result. - * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): - Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf): - Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise. - -2016-05-27 Paul E. Murphy - - * libm-test.inc: Replace usage of M_El with - (lit_e): New macro. - -2016-05-27 Paul E. Murphy - - * libm-test.inc: Replace usage of M_PI_4l with - (lit_pi_4_d): New macro. - -2016-05-27 Paul E. Murphy - - * libm-test.inc: Replace usage of M_PIl with - (lit_pi): New macro. - -2016-05-27 Paul E. Murphy - - * libm-test.inc: Replace usage of M_PI2l with - (lit_pi_2_d): New macro. - - * math/test-double.h (LITM): New macro. - * math/test-float.h (LITM): Likewise. - * math/test-ldouble.h (LITM): Likewise. - -2016-05-27 Paul E. Murphy - - * libm-test.inc (M_PI_34l): Rename to - (lit_pi_3_m_4_d): New Macro. - (M_PI_34_LOG10El): Rename to - (lit_pi_3_m_4_ln10_m_d): New Macro. - (M_PI2_LOG10El): Rename to - (lit_pi_2_ln10_m_d): New Macro. - (M_PI4_LOG10El): Rename to - (lit_pi_4_ln10_m_d): New Macro. - (M_PI_LOG10El): Rename to - (lit_pi_ln10_d): New Macro. - -2016-05-27 Joseph Myers - - [BZ #20157] - * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to - determine whether to negate low half if [_ARCH_PPCGR], and integer - comparison otherwise. - * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to - determine whether to negate low half. - - * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro. - (NO_TEST_INLINE_DOUBLE): Likewise. - (TEST_COND_x86_64): Likewise. - (TEST_COND_x86): Likewise. - (M_PI_6l): Likewise. - -2016-05-27 Paul E. Murphy - - * math/libm-test.inc: - (TEST_FLOAT): Change usage to TEST_COND_binary32. - (TEST_DOUBLE): Change usage to TEST_COND_binary64. - (TEST_LDOUBLE): Update usage to evaluate as true if - the guarded tests match the property being tested. - (LDBL_MAX_EXP): Change to MAX_EXP. - (LDBL_MIN_EXP): Change to MIN_EXP. - (LDBL_MANT_DIG): Change to MANT_DIG, except for - nexttoward tests. - -2016-05-27 Paul E. Murphy - - * math/libm-test.inc: - (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro. - (TYPE_MIN): Likewise. - (TYPE_TRUE_MIN): Likewise. - (TYPE_MAX): Likewise. - (MIN_EXP): Likewise. - (MAX_EXP): Likewise. - (MANT_DIG): Likewise. - - (FSTR_MAX): New macro. - (__CONCATX): Likewise. - (QTYPE_STR): Likewise. - (TEST_COND_binary32): Likewise. - (TEST_COND_binary64): Likewise. - (TEST_COND_binary128): Likewise. - (TEST_COND_ibm128): Likewise. - (TEST_COND_intel96): Likewise. - (TEST_COND_m68k96): Likewise. - - (TEST_COND_flt_32): Redefine as equivalent format test macro. - (TEST_COND_dbl_64): Likewise. - (TEST_COND_ldbl_96_intel): Likewise. - (TEST_COND_ldbl_96_m68k): Likewise. - (TEST_COND_ldbl_128): Likewise. - (TEST_COND_ldbl_128ibm): Likewise. - - (plus_zero): Redefine using LIT macro. - (minus_zero): Likewise. - (plus_infty): Redefine as (INF). - (minux_infty): Redefine as (-INF). - (max_value): Redefine as TYPE_MAX. - (min_value): Redefine as TYPE_MIN. - (min_subnorm_value): Redefine as TYPE_TRUE_MIN. - - (print_float): Refactor to use snprintf to convert FLOAT values - to string. This brings it closer to dropin replacement of strtof - for the TS 18661 defined types. - (update_stats): Likewise. - (print_complex_function_ulps): Likewise. - (print_max_error): Likewise. - (print_complex_max_error): Likewise. - (check_float_internal): Likewise. - - * math/test-float.h (PREFIX): New macro. - (LIT): Likewise. - (TYPE_STR): Likewise. - (FTOSTR): Likewise. - - * math/test-double.h (PREFIX): New macro. - (LIT): Likewise. - (TYPE_STR): Likewise. - (FTOSTR): Likewise. - - * math/test-ldouble.h (PREFIX): New macro. - (LIT): Likewise. - (TYPE_STR): Likewise. - (FTOSTR): Likewise. - -2016-05-27 Joseph Myers - - [BZ #20156] - * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part - to itself when zero or not finite. - * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise. - -2016-05-26 Joseph Myers - - [BZ #20153] - * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return - x * x + x for infinities and NaNs. - - [BZ #20151] - * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN - argument to itself before returning result. - (__ieee754_y0l): Likewise. - * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise. - (__ieee754_y1l). - - * math/libm-test.inc (acosh_test_data): Add sNaN tests. - (atan_test_data): Likewise. - (ceil_test_data): Likewise. - (cos_test_data): Likewise. - (cosh_test_data): Likewise. - (erf_test_data): Likewise. - (exp2_test_data): Likewise. - (fabs_test_data): Likewise. - (floor_test_data): Likewise. - (ilogb_test_data): Likewise. - (j0_test_data): Likewise. - (j1_test_data): Likewise. - (jn_test_data): Likewise. - (lgamma_test_data): Likewise. - (lrint_test_data): Likewise. - (llrint_test_data): Likewise. - (logb_test_data): Likewise. - (lround_test_data): Likewise. - (llround_test_data): Likewise. - (nearbyint_test_data): Likewise. - (rint_test_data): Likewise. - (round_test_data): Likewise. - (sin_test_data): Likewise. - (sincos_test_data): Likewise. - (sinh_test_data): Likewise. - (sqrt_test_data): Likewise. - (tan_test_data): Likewise. - (tanh_test_data): Likewise. - (tgamma_test_data): Likewise. - (trunc_test_data): Likewise. - (y0_test_data): Likewise. - (y1_test_data): Likewise. - (yn_test_data): Likewise. - - * math/libm-test.inc: Update comment about NaN testing. - (TEST_SNAN): New macro. - (snan_value): Likewise. - (enable_test): Disable tests of sNaNs when SNAN_TESTS fails. - (fpclassify_test_data): Add sNaN tests. - (isfinite_test_data): Likewise. - (isinf_test_data): Likewise. - (isnan_test_data): Likewise. - (isnormal_test_data): Likewise. - (issignaling_test_data): Likewise. - (signbit_test_data): Likewise. - * math/gen-libm-test.pl (%beautify): Add snan_value. - (show_exceptions): Add argument $test_snan. - (parse_args): Handle snan_value as non-finite. Update call to - show_exceptions. - * math/Makefile (libm-test-no-inline-cflags): Add - -fsignaling-nans. - -2016-05-26 Adhemerval Zanella - - * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule. - (CFLAGS-oldsendmsg.c): Add rule. - * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): - Correct recvmsg symbol name. - * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): - Likewise. - -2016-05-25 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/Makefile - [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and - oldsendmmsg. - * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and - sendmmsg. - * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise. - * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: - Likewise. - * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file. - * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise. - * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr - iovlen and controllen fields to adjust to POSIX specification. - * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise. - - * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail- - and change to correct expected type. - (msghdr.msg_controllen): Likewise. - (cmsghdr.cmsg_len): Likewise. - * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix - expected POSIX assumption about the size. - (msghdr.msg_controllen): Likewise. - (msghdr.__glibc_reserved1): Likewise. - (msghdr.__glibc_reserved2): Likewise. - (cmsghdr.cmsg_len): Likewise. - (cmsghdr.__glibc_reserved1): Likewise. - * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg. - Add ptw-oldrecvmsg and ptw-oldsendmsg. - (CFLAGS-sendmsg.c): Remove rule. - (CFLAGS-recvmsg.c): Likewise. - (CFLAGS-oldsendmsg.c): Add rule. - (CFLAGS-oldrecvmsg.c): Likewise. - * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add - recvmsg and sendmsg. - * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24): - Likewise. - * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise. - * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise. - * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise. - * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise. - * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise. - * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24): - Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24): - Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24): - Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24): - Likewise. - * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24): - Likewise. - * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24): - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc] - (GLIBC_2.24): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24): - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24): - Likewise. - * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise. - * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24): - Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24): - Likewise. - ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24): - Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc] - (GLIBC_2.24): Likewise. - ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24): - Likewise. - * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24): - Likewise. - * sysdeps/unix/sysv/linux/Makefile - [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg. - (CFLAGS-sendmsg.c): Add rule. - (CFLAGS-recvmsg.c): Likewise. - (CFLAGS-oldsendmsg.c): Likewise. - (CFLAGS-oldrecvmsg.c): Likewise. - * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr - initialization. - * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise. - * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise. - * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file. - * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise. - * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr - iovlen and controllen fields to adjust to POSIX specification. - * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise. - * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and - added recvmsg and sendmsg. - * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: - Likewise. - * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise. - * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise. - Likewise. - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise. - Likewise. - * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise. - - * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove - from auto-generation. - (sendmsg): Likewise. - * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise. - (sendmsg): Likewise. - * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise. - (sendmsg): Likewise. - * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise. - (sendmsg): Likewise. - * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise. - (sendmsg): Likewise. - * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise. - (sendmsg): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg): - Likewise. - (sendmsg): Likewise. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise. - (sendmsg): Likewise. - * sysdeps/unix/sysv/linux/i386/kernel-features.h - [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL): - Remove. - [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL): - Likewise. - [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL): - Undefine. - [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL): - Likewise. - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_SENDMSG_SYSCALL): Define. - (__ASSUME_RECVMSG_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/m68k/kernel-features.h - [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL): - Remove. - [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL): - Likewise. - [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL): - Undefine. - [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL): - Likewise. - * sysdeps/unix/sysv/linux/s390/kernel-features.h - [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL): - Remove. - [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL): - Likewise. - [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL): - Undefine. - [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL): - Likewise. - * sysdeps/unix/sysv/linux/microblaze/kernel-features.h - (__ASSUME_SENDMSG_SYSCALL): Undefine. - (__ASSUME_RECVMSG_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/powerpc/kernel-features.h - (__ASSUME_SENDMSG_SYSCALL): Likewise. - (__ASSUME_RECVMSG_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/sh/kernel-features.h - (__ASSUME_SENDMSG_SYSCALL): Likewise. - (__ASSUME_RECVMSG_SYSCALL): Likewise. - -2016-05-25 Paul E. Murphy - - * stdlib/gen-tst-strtod-round.c: Add backslash to - compile command in comment. - (printfp): Remove the literal suffix, and define an infinite - value as INF to avoid expansion clash with INFINITY. - (round_str): Remove the literal suffix. - (round_for_all): Likewise, remove the now duplicate ldbl-64 - entry, and remove some magic constants. - - * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce - duplication. Remove duplicate dbl-64 and ldbl-64 entries. - (ROUNDING_TESTS_long_double): Define as 0 for ibm128. - (_CONCAT): New macro. - (CONCAT): Likewise. - (CHOOSE_ld): Likewise. - (CHOOSE_f): Likewise. - (CHOOSE_d): Likewise. - (FTYPE_MEMBER): Likewise. - (BOOL_MEMBER): Likewise. - (STRUCT_FOREACH_FLOAT_FTYPE): Likewise. - (STRUCT_FOREACH_FLOAT_BOOL): Likewise. - (_XNTRY): Likewise. - (XNTRY): Likewise. - (_ENTRY): Likewise. - (ENTRY): Likewise. - (test_exactness): Generate members via macro. - (test_results): Likewise. - (test): Update members. - (TEST): Redefine using new macros. - (INF): New macro. - (fetestmodes): New structure. - (do_test): Refactor to be type generic. - (test_in_one_mode): Refactor duplicate code into - (GEN_ONE_TEST): New macro. - - * stdlib/tst-strtod-round-data.h: Regenerate. - - * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): - Extend to pass additional arbitrary parameters to - generators. - -2016-05-25 Joseph Myers - - [BZ #15479] - * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of - floating-point state after first floating-point operation on - input. Restore full floating-point state instead of just rounding - mode. - * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise. - - [BZ #15479] - * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of - floating-point state after first floating-point operation on - input. Restore full floating-point state instead of just rounding - mode. - * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise. - -2016-05-25 Stefan Liebler - - [BZ #19727] - * iconvdata/utf-16.c (BODY): Report an error if first word is not a - valid high surrogate. - * iconvdata/utf-32.c (BODY): Report an error if the value is in range - of an utf16 surrogate. - * iconv/gconv_simple.c (BODY): Likewise. - * iconvdata/bug-iconv12.c: New file. - * iconvdata/Makefile (tests): Add bug-iconv12. - -2016-05-25 Stefan Liebler - - [BZ #19726] - * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and - outptrp in case of an illegal input. - * iconv/tst-iconv6.c: New file. - * iconv/Makefile (tests): Add tst-iconv6. - -2016-05-25 Stefan Liebler - - * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report - an error in case of a value in range of an utf16 low surrogate. - -2016-05-25 Stefan Liebler - - * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report - an error in case of a value in range of an utf16 low surrogate. - -2016-05-25 Stefan Liebler - - * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory): - Move to ... - * sysdeps/s390/Makefile: ... here. - * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ... - * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here. - (BRANCH_ON_COUNT): New define. - (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg. - * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ... - * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to - run on s390-32, too. - * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ... - * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to - run on s390-32, too. - * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ... - * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to - run on s390-32, too. - -2016-05-25 Stefan Liebler - - * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c, - etf3eh or new vector loop-variant. - -2016-05-25 Stefan Liebler - - * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c, - etf3eh or new vector loop-variant. - -2016-05-25 Stefan Liebler - - * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh - or new vector loop-variant. - -2016-05-25 Stefan Liebler - - * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP): - Rename to TR_LOOP and usage of tr instead of troo instruction. - -2016-05-25 Stefan Liebler - - * sysdeps/s390/multiarch/gconv_simple.c: New File. - * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple. - -2016-05-25 Stefan Liebler - - * sysdeps/s390/multiarch/8bit-generic.c: New File. - * sysdeps/s390/multiarch/gen-8bit.sh: New File. - * sysdeps/s390/multiarch/Makefile (generate-8bit-table): - New override define. - * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise. - -2016-05-25 Stefan Liebler - - * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine. - * sysdeps/s390/configure.ac: Add test for S390 vector register - support in gcc. - * sysdeps/s390/configure: Regenerated. - -2016-05-25 Stefan Liebler - - * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules): - Install file from $(objpfx)gconv-modules. - ($(objpfx)gconv-modules): Concatenate architecture specific file - in variable sysdeps-gconv-modules and gconv-modules in src dir. - * sysdeps/s390/gconv-modules: New file. - * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules): - Deleted. - ($(objpfx)gconv-modules-s390): Deleted. - (sysdeps-gconv-modules): New variable. - -2016-05-24 Joseph Myers - - [BZ #15479] - * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3 - of immediate operand to rounding instruction. - * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41): - Likewise. - * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41): - Likewise. - * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41): - Likewise. - -2016-05-24 Paul E. Murphy - - * math/libm-test.inc (MIN_EXP): Directly define as - (DBL|LDBL|FLT)_MIN_EXP and fixup usage. - -2016-05-24 Paul E. Murphy - - * math/libm-test.inc (MANT_DIG): Directly define as - (DBL|LDBL|FLT)_MANT_DIG and fixup usage. - -2016-05-24 Paul E. Murphy - - * stdlib/gen-tst-strtod-round.c (main): - Change usage to more closely match the generated - output. Add usage and compilation instructions. - (string_to_fp): Add and use FILE* parameter as - output target. - (print_fp): Likewise. - (round_str): Likewise. - (round_for_all): Likewise. - * stdlib/tst-strtod-round.c (tests): Move into - * stdlib/tst-strtod-round-data.h: New file. - -2016-05-24 Joseph Myers - - [BZ #15479] - * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable. - (__round): Do not force "inexact" exception. - * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove - variable. - (__round): Do not force "inexact" exception. - * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable. - (__roundf): Do not force "inexact" exception. - * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable. - (__roundl): Do not force "inexact" exception. - * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable. - (__roundl): Do not force "inexact" exception. - * math/libm-test.inc (round_test_data): Do not allow spurious - "inexact" exceptions. - - [BZ #15479] - * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact" - exception in comment. - (huge): Remove variable. - (__floor): Do not force "inexact" exception. - * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention - "inexact" exception in comment. - (huge): Remove variable. - (__floor): Do not force "inexact" exception. - * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact" - exception in comment. - (huge): Remove variable. - (__floorf): Do not force "inexact" exception. - * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact" - exception in comment. - (huge): Remove variable. - (__floorl): Do not force "inexact" exception. - - [BZ #15479] - * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact" - exception in comment. - (huge): Remove variable. - (__ceil): Do not force "inexact" exception. - * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention - "inexact" exception in comment. - (huge): Remove variable. - (__ceil): Do not force "inexact" exception. - * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable. - (__ceilf): Do not force "inexact" exception. - * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact" - exception in comment. - (huge): Remove variable. - (__ceill): Do not force "inexact" exception. - -2016-05-24 H.J. Lu - - * config.h.in (BIND_NOW): New. - * configure.ac (BIND_NOW): New. Defined for --enable-bind-now. - * configure: Regenerated. - * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to - indirect branch via the GOT slot. - -2016-05-24 Stefan Liebler - - [BZ #19765] - * sysdeps/s390/mempcpy.S: New File. - * sysdeps/s390/multiarch/mempcpy.c: Likewise. - * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy. - * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list): - Add mempcpy variants. - * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point. - (memcpy): Adjust to be usable from mempcpy entry point. - (__memcpy_mvcle): Likewise. - * sysdeps/s390/s390-64/memcpy.S: Likewise. - * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points - ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy. - (__memcpy_z196): Adjust to be usable from mempcpy entry point. - (__memcpy_z10): Likewise. - * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise. - -2016-05-24 Stefan Liebler - - * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc): - Remove __GI_ symbol. - * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol. - * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise. - * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol. - * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise. - * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol. - * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise. - -2016-05-24 Stefan Liebler - - * sysdeps/s390/s390-64/memcpy.S (memcpy): - Use cghi instead of chi to compare 64bit value. - -2016-05-24 Stefan Liebler - - * sysdeps/s390/s390-32/memcpy.S (memcpy): - Jump to 1MB check before executing mvc-loop. - -2016-05-24 Florian Weimer - - [BZ #6527] - * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment - unconditionally. - * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version. - -2016-05-23 Paul E. Murphy - - * stdlib/tst-strtod6.c (do_test): Use new type generic - invocation of the test function. - (test): Refactor into ... - (TEST_STRTOD): New macro base function. - -2016-05-23 Paul E. Murphy - - * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ... - (TEST_STRTOD): New macro. - (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH - -2016-05-23 Paul E. Murphy - - * stdlib/tst-strtod6.c (do_test): Use new type generic - invocation of the test function. - (test): Refactor into ... - (TEST_STRTOD): New macro base function. - -2016-05-23 Florian Weimer - - CVE-2016-4429 - [BZ #20112] - * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error - payload. - -2016-05-23 Florian Weimer - - [BZ #20111] - * bits/sockaddr.h (_SS_SIZE): Define. - * bits/socket.h (_SS_SIZE): Remove. - (_SS_PADSIZE): Adjust to account for all padding. - (struct sockaddr_storage): Update comment. Avoid implicit - padding. - * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove. - (_SS_PADSIZE): Adjust to account for all padding. - (struct sockaddr_storage): Update comment. Avoid implicit - padding. - * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define. - * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove. - (_SS_PADSIZE): Adjust to account for all padding. - (struct sockaddr_storage): Update comment. Avoid implicit - padding. - * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file. - __SS_SIZE is 126 in this version. - * inet/tst-sockaddr.c: New file. - * inet/Makefile (tests): Add tst-sockaddr.c - (tst-sockaddr.c): Compile with non-strict aliasing. - -2016-05-23 Joseph Myers - - * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for - [XPG3 || XPG4]. - (NL_ARGMAX): Also expect for [XPG3]. - (NL_LANGMAX): Likewise. - (NL_MSGMAX): Likewise. - (NL_NMAX): Likewise. - (NL_SETMAX): Likewise. - (NL_TEXTMAX): Likewise. - (NZERO): Likewise. - (TMP_MAX): Likewise. - * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove - variable. - - * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro. - (PF_MAX): Update value. - (AF_KCM): New macro. - (SOL_NETBEUI): Likewise. - (SOL_LLC): Likewise. - (SOL_DCCP): Likewise. - (SOL_NETLINK): Likewise. - (SOL_TIPC): Likewise. - (SOL_RXRPC): Likewise. - (SOL_PPPOL2TP): Likewise. - (SOL_BLUETOOTH): Likewise. - (SOL_PNPIPE): Likewise. - (SOL_RDS): Likewise. - (SOL_IUCV): Likewise. - (SOL_CAIF): Likewise. - (SOL_ALG): Likewise. - (SOL_NFC): Likewise. - (SOL_KCM): Likewise. - (MSG_BATCH): New enum value and macro. - -2016-05-20 H.J. Lu - - [BZ #18185] - * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads - sharing L2 cache to 2 for Knights Landing. - -2016-05-20 Joseph Myers - - * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3]. - (FTW_DP): Do not expect for [XPG3 || XPG4]. - (FTW_SL): Do not expect for [XPG3]. - (FTW_SLN): Likewise. - (FTW_PHYS): Likewise. - (FTW_MOUNT): Likewise. - (FTW_DEPTH): Likewise. - (FTW_CHDIR): Likewise. - (nftw): Likewise. - * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove - variable. - -2016-05-19 Rical Jasan - - * manual/errno.texi: Fix various typos & grammar errors. - -2016-05-19 Rical Jasan - - * manual/intro.texi: Fix duplicated typo. - -2016-05-19 Joseph Myers - - [BZ #13304] - * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include , - , and . - (add_split): New function. - (mul_split): Likewise. - (ext_val): New typedef. - (store_ext_val): New function. - (mul_ext_val): New function. - (compare): New function. - (add_split_ext): New function. - (__fmal): After checking for Inf, NaN and zero, compute result as - an exact sum of scaled double values in round-to-nearest before - adding those up and adjusting for other rounding modes. - * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from - tests of fma. - * math/auto-libm-test-out: Regenerated. - -2016-05-19 H.J. Lu - - [BZ #20119] - * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel - processor level type mask for CPUID with EAX == 11. - -2016-05-19 H.J. Lu - - * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting - logical threads if the HTT bit is 0. - * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New. - (index_cpu_HTT): Likewise. - (reg_HTT): Likewise. - -2016-05-19 H.J. Lu - - [BZ #20115] - * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset): - Remove alignments on jump targets. - -2016-05-19 Joseph Myers - - * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3]. - (getpwent): Likewise. - (setpwent): Likewise. - * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove - variable. - - * conform/data/search.h-data (insque): Do not expect for [XPG3]. - (remque): Likewise. - * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove - variable. - -2016-05-18 Joseph Myers - - * math/libm-test.inc: Update comment not to refer to signs of NaNs - not being tested. - -2016-05-18 H.J. Lu - - * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S - (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume - call. - * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S - (__condvar_cleanup1): Likewise. - -2016-05-18 H.J. Lu - - * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND): - New - (__pthread_unwind): Renamed to ... - (PTHREAD_UNWIND): This. - (__pthread_enable_asynccancel): Replace - JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND. - -2016-05-18 Joseph Myers - - * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU] - (CLONE_NEWCGROUP): New macro. - - * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2] - (Q_GETNEXTQUOTA): New macro. - -2016-05-18 H.J. Lu - - [BZ #19907] - * benchtests/bench-memcpy.c (do_one_test): Clear the destination - buffer updated by the previous run. - * string/test-memcpy.c (do_one_test): Likewise. - * benchtests/bench-memmove.c (do_one_test): Add a comment. - * string/test-memmove.c (do_one_test): Likewise. - -2016-05-17 Joseph Myers - - [BZ #20094] - * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED], - not [__USE_XOPEN]. - (unlockpt): Likewise. - (ptsname): Likewise. - * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove - variable. - - [BZ #20076] - * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED] - instead of [__USE_UNIX98]. - (S_ISSOCK): Likewise. - * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove - variable. - - [BZ #20074] - * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if - [__USE_POSIX]. - * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove - variable. - - [BZ #20051] - * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98] - (ttyslot): Do not declare. - * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K] - (ttyslot): New prototype. - * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove - variable. - (test-xfail-UNIX98/stdlib.h/conform): Likewise. - -2016-05-17 Stefan Liebler - - * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a). - -2016-05-13 Florian Weimer - - Fix race condition in tst-mallocfork2, use fewer resources. - * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP - to current process group. - (signal_sender): Yield in the non-sleeping case. - -2016-05-13 Joseph Myers - - * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3]. - (ecvt): Likewise. - (fcvt): Likewise. - (gcvt): Likewise. - (getsubopt): Likewise. - (grantpt): Likewise. - (initstate): Likewise. - (l64a): Likewise. - (mktemp): Likewise. - (mkstemp): Likewise. - (ptsname): Likewise. - (random): Likewise. - (realpath): Likewise. - (setstate): Likewise. - (srandom): Likewise. - (ttyslot): Likewise. - (unlockpt): Likewise. - (valloc): Likewise. - - * conform/data/string.h-data (strdup): Do not expect for [XPG3]. - * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove - variable. - -2016-05-13 H.J. Lu - - [BZ #20072] - * sysdeps/i386/dl-machine.h (dl_platform_init): Call - init_cpu_features only if SHARED is defined. - * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise. - -2016-05-13 H.J. Lu - - * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support - non-inclusive caches on Intel processors. - -2016-05-13 Florian Weimer - - * malloc/malloc.c (dumped_main_arena_start) - (dumped_main_arena_end): New variables. - (DUMPED_MAIN_ARENA_CHUNK): New macro. - (do_check_chunk): Skip dumped fake mmapped chunks. - (munmap_chunk): Likewise. - (__libc_free): Do not adjust statistics for fake mmapped chunks. - (__libc_realloc): Adjust hardening check. Always copy dumped fake - mmapped chunks. - * malloc/hooks.c (__malloc_set_state): Do not update main_arena. - Mark dumped chunks as using mmap. Update dumped_main_arena_start - and dumped_main_arena_end to cover the dumped heap. - -2016-05-12 Joseph Myers - - * conform/data/time.h-data (getdate_err): Do not expect for - [XPG3]. - (getdate): Likewise. - * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove - variable. - - * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3]. - (F_ULOCK): Likewise. - (F_TEST): Likewise. - (F_TLOCK): Likewise. - (useconds_t): Likewise. - (intptr_t): Do not expect for [XPG3] or [XPG4]. - (brk): Do not expect for [XPG3] - (fchown): Likewise. - (fchdir): Likewise. - (ftruncate): Likewise. - (getdtablesize): Likewise. - (gethostid): Likewise. - (getpagesize): Likewise. - (getpgid): Likewise. - (getsid): Likewise. - (getwd): Likewise. - (lchown): Likewise. - (lockf): Likewise. - (readlink): Likewise. - (sbrk): Likewise. - (setpgrp): Likewise. - (setregid): Likewise. - (setreuid): Likewise. - (symlink): Likewise. - (sync): Likewise. - (truncate): Likewise. - (ualarm): Likewise. - (usleep): Likewise. - (vfork): Likewise. - * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove - variable. - - [BZ #20054] - * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED], - not [__USE_UNIX98]. - * conform/data/unistd.h-data (gethostname): Do not expect for - [XPG3]. - - * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect. - [!POSIX] (S_IFBLK): Likewise. - [!POSIX] (S_IFCHR): Likewise. - [!POSIX] (S_IFIFO): Likewise. - [!POSIX] (S_IFREG): Likewise. - [!POSIX] (S_IFDIR): Likewise. - [!POSIX] (S_IFLNK): Likewise. - [!POSIX] (S_IFSOCK): Likewise. - * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove - variable. - (test-xfail-XPG4/fcntl.h/conform): Likewise. - -2016-05-12 Wilco Dijkstra - - * sysdeps/aarch64/memset.S (__memset): - Rewrite of optimized memset. - -2016-05-12 Florian Weimer - - [BZ #19703] - Partially async-signal-safe fork for single-threaded processes. - * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads - variable. Do not acquire and reset/release malloc and libio locks - in single-threaded processes. - * malloc/tst-mallocfork2.c: New file. - * malloc/Makefile (tests): Add it. - -2016-05-12 Florian Weimer - - * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf - argument. Use scratch buffer instead of extend_alloca. - (gethosts): Use scratch buffer instead of extend_alloca. - (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of - extend_alloca. - (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet. - -2016-05-11 Joseph Myers - - [BZ #20055] - * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED] - instead of [__USE_UNIX98]. - (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of - [__USE_UNIX98]. - * conform/data/termios.h-data (tcgetsid): Do not expect for - [XPG3]. - * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove - variable. - (test-xfail-XPG4/termios.h/conform): Likewise. - -2016-05-11 Florian Weimer - - Do not use mcheck in localedef. - * locale/programs/localedef.c (turn_on_mcheck) - (__malloc_initialize_hook): Remove. - -2016-05-11 Stefan Liebler - - * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove. - * sysdeps/s390/s390-64/Makefile: Likewise. - -2016-05-11 H.J. Lu - - * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers): - Remove ifunc-defines.sym. - * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers): - Likewise. - * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed. - * sysdeps/x86/rtld-global-offsets.sym: Likewise. - * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise. - * sysdeps/x86/Makefile (gen-as-const-headers): Remove - rtld-global-offsets.sym. - * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ... - * sysdeps/x86/cpu-features-offsets.sym: This. - * sysdeps/x86/cpu-features.h: Include - instead of and . - -2016-05-10 Joseph Myers - - [BZ #20073] - * io/sys/stat.h (fchmod): Declare for - [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX]. - * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove - variable. - - * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect. - [XPG3] (S_IFSOCK): Likewise. - [XPG3] (S_ISVTX): Likewise. - [XPG3] (S_ISLNK): Likewise. - [XPG3] (S_ISSOCK): Likewise. - [XPG3] (fchmod): Likewise. - [XPG3] (lstat): Likewise. - [XPG3] (mknod): Likewise. - - * conform/data/sys/stat.h-data (st_blksize): Do not expect for - [XPG3]. Expect type long and XFAIL for [XPG4]. - (st_blocks): Likewise. - - [BZ #20044] - * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K] - (pthread_atfork): New prototype. - * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove - variable. - - [BZ #20043] - * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New - prototype. - -2016-05-10 Florian Weimer - - [BZ #20017] - * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of - gmtime. - -2016-05-10 Florian Weimer - - [BZ #19994] - * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6 - flag in _res.options. - -2016-05-09 Joseph Myers - - * conform/data/sys/types.h-data (blkcnt_t): Do not expect for - [XPG3 || XPG4]. - (blksize_t): Likewise. - (clockid_t): Likewise. - * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove - variable. - (test-xfail-XPG4/sys/types.h/conform): Likewise. - -2016-05-09 Stefan Liebler - - * sysdeps/unix/sysv/linux/s390/init-first.c: - Add VDSO_SYMBOL(getcpu). - (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu). - * sysdeps/unix/sysv/linux/s390/libc-vdso.h: - Add VDSO_SYMBOL(getcpu). - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: - New define HAVE_GETCPU_VSYSCALL. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. - -2016-05-08 H.J. Lu - - * sysdeps/i386/cacheinfo.c: Include - instead of . - * sysdeps/x86_64/cacheinfo.c: Moved to ... - * sysdeps/x86/cacheinfo.c: Here. - -2016-05-04 Florian Weimer - - * malloc/malloc-internal.h: Adjust header file guard. - -2016-05-04 Florian Weimer - - [BZ #19787] - * inet/getnameinfo.c (check_sprintf_result): New function. - (CHECKED_SNPRINTF): New macro. - (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope - to the host buffer. - (gni_host_local): Use checked_copy to copy the host name. - (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name. - (gni_serv_local): Use checked_copy to copy the service name. - (getnameinfo): Remove unnecessary truncation of result buffers. - -2016-05-04 Florian Weimer - - * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW - in case of inet_ntop failure. - -2016-05-04 Florian Weimer - - * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to - avoid long lines. - (gni_host_inet_numeric): Likewise. Reduce scope of local - variables. - (gni_host_inet, gni_host_local): Add comment. - (gni_host): Add comment. Use temporary to avoid long lines. - -2016-05-04 Gabriel F. T. Gomes - - * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition - registers specifiers where general purpose registers specifiers should - have been used. - -2016-05-04 Florian Weimer - - [BZ #19779] - CVE-2016-1234 - Avoid copying names of directory entries. - * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK) - (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE) - (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros. - (struct readdir_result): New type. - (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER) - (GL_READDIR): New macros. - (readdir_result_might_be_symlink, readdir_result_might_be_dir) - (convert_dirent, convert_dirent64): New functions. - (glob_in_dir): Use struct readdir_result. Call convert_dirent or - convert_dirent64. Adjust references to the readdir result. - * sysdeps/unix/sysv/linux/i386/glob64.c: - (convert_dirent, GL_READDIR): Redefine for second file inclusion. - * posix/bug-glob2.c (LONG_NAME): Define. - (filesystem): Add LONG_NAME. - (my_DIR): Increase the size of room_for_dirent. - -2016-05-03 Joseph Myers - - [BZ #20041] - * misc/sys/select.h (__need_timespec): Only define if - [__USE_XOPEN2K]. - * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove - variable. - (test-xfail-XPG4/utmpx.h/conform): Likewise. - (test-xfail-UNIX98/sys/time.h/conform): Likewise. - (test-xfail-UNIX98/utmpx.h/conform): Likewise. - -2016-05-03 Paul E. Murphy - Segher Boessenkool - - [BZ #20004] - * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: - (__novec_swapcontext): Add missing load. - -2016-05-02 Joseph Myers - - [BZ #20023] - * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include - . - * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove - variable. - (test-xfail-XOPEN2K/fcntl.h/conform): Likewise. - -2016-05-02 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix - flags CLONE_VM compare. - -2016-05-02 Florian Weimer - - [BZ #20031] - * hesiod/hesiod.c (get_txt_records): Return error if TXT record is - completely empty. - -2016-05-02 Florian Weimer - - [BZ #19573] - * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init. - * hesiod/nss_hesiod/hesiod-init.c: Remove file. - * hesiod/nss_hesiod/nss_hesiod.h: Likewise. - * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove. - (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve) - (hesiod_free_list): Mark as hidden. - * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res, - res_set, res_get. - * hesiod/hesiod.c: Remove unnecessary forward declarations. - (init, __hesiod_res_get, __hesiod_res_set): Remove. - (hesiod_init): Remove obsolete res_ninit call. - (hesiod_end): Do not free resolver state. Do not invoke callback. - (hesiod_bind): Do not call init. - (get_txt_records): Use res_mkquery, res_send instead of - res_nmkquery, res_nsend. - * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init - instead of _nss_hesiod_init. - (_nss_hesiod_initgroups_dyn): Likewise. - * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise. - * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise. - * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise. - -2016-05-02 Florian Weimer - - * hesiod/hesiod_p.h (DEF_RHS): Remove. - * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS. - -2016-05-02 Florian Weimer - - * hesiod/hesiod.h: Remove RCS keyword. - * hesiod/hesiod_p.h: Likewise. - - * hesiod/hesiod.c: Likewise. - -2016-05-01 Arnas Udovičius - - [BZ #12450] - * locale/iso-639.def: Add Samogitian/sgs. - -2016-04-30 Andreas Schwab - - * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define. - - * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels. - -2016-04-29 Stephen Gallagher - Carlos O'Donell - - [BZ #19072] - * grp/Makefile (headers): Add grp-merge.h - (routines): Add grp-merge. - * grp/getgrgid_r.c: Include grp-merge.h. - (DEEPCOPY_FN): Define. - (MERGE_FN): Define. - * grp/getgrname_r.c: Include grp-merge.h. - (DEEPCOPY_FN): Define. - (MERGE_FN): Define. - * grp/grp-merge.c: New file. - * grp/grp-merge.h: New file. - * include/grp-merge.h: New file. - * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and - __copy_grp@GLIBC_PRIVATE. - * manual/nss.texi (Actions in the NSS configuration): Describe - return, continue, and merge. - * nscd/getgrgid_r.c: Include grp/grp-merge.h. - (DEEPCOPY_FN): Define. - (MERGE_FN): Define. - * nscd/getgrnam_r.c: Include grp/grp-merge.h. - (DEEPCOPY_FN): Define. - (MERGE_FN): Define. - * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval. - [!MERGE_FN]: Define __merge_einval. - (CHECK_MERGE): Define. - (REENTRANT_NAME): Process merge if do_merge is true. - * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE. - (__nss_getent_r): Likewise. - * nss/nsswitch.c (nss_parse_service_list): Likewise. - * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE. - -2016-04-29 Adhemerval Zanella - - [BZ #20012] - * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not - length to calculate the buffer to read. - (fmemopen_write): Set the buffer position based on bytes written. - (fmemopen_seek): Return EINVAL for invalid whence modes. - - [BZ #19957] - * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove - tst-getpid2. - (test): Add tst-clone2. - * sysdeps/unix/sysv/linux/tst-clone2.c: New file. - * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change - pid/tid fields for CLONE_VM. - * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise. - * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise. - * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise. - * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise, - * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise. - * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise. - * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise. - * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone): - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise. - * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise. - * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise. - * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise. - * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file. - -2016-04-29 Florian Weimer - - [BZ #19642] - * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric) - (gni_host_inet, gni_host_local, gni_host, gni_serv_inet) - (gni_serv_local, gni_serv): New functions extracted from - getnameinfo. - (getnameinfo): Call gni_host and gni_serv to perform the - processing. Always free scratch buffer. - -2016-04-29 Gabriel F. T. Gomes - - * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the - remaining bytes in the dest string, with zeros. - -2016-04-29 Florian Weimer - - [BZ #20010] - CVE-2016-3706 - * sysdeps/posix/getaddrinfo.c - (convert_hostent_to_gaih_addrtuple): New function. - (gethosts): Call convert_hostent_to_gaih_addrtuple. - (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert - AF_INET data. - -2016-04-29 Florian Weimer - - glob: Simplify and document the interface for the GLOB_ALTDIRFUNC - callback function gl_readdir. - * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove. - (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy. - (glob_in_dir): Remove len. Use strdup instead of malloc and - memcpy to copy the name. - * manual/pattern.texi (Calling Glob): Document requirements for - implementations of the gl_readdir callback function. - * manual/examples/mkdirent.c: New example. - * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally, - per the manual guidance. - * posix/tst-gnuglob.c (my_readdir): Likewise. - -2016-04-28 Joseph Myers - - [BZ #20014] - * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506], - not [__USE_POSIX]. - (getchar_unlocked): Likewise. - (putc_unlocked): Likewise. - (putchar_unlocked): Likewise. - (flockfile): Likewise. - (ftrylockfile): Likewise. - (funlockfile): Likewise. - * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove - variable. - (test-xfail-XPG4/stdio.h/conform): Likewise. - - * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR): - Expect constant. - [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise. - * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove - variable. - (test-xfail-XPG4/langinfo.h/conform): Likewise. - (test-xfail-UNIX98/langinfo.h/conform): Likewise. - - * libio/stdio.h (off_t): Also define if [__USE_UNIX98]. - [__USE_LARGEFILE64] (off64_t): Likewise. - * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove - variable. - -2016-04-28 Florian Weimer - - * inet/getnameinfo.c (getnameinfo): Do not preserve errno. - -2016-04-28 Florian Weimer - - * resolv/inet_addr.c: Reindent preprocessor conditionals. - * resolv/res_init.c: Likewise. - * resolv/res_mkquery.c: Likewise. - -2016-04-28 Florian Weimer - - * resolv/res_init.c (isascii): Do not define. Use definition in - . - * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional. - (LOG_AUTH): Remove. - (SPRINTF): Remove, adjust caller. - (MULTI_PTRS_ARE_ALIASES): Remove, always defined. - -2016-04-28 Florian Weimer - - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove - SUNSECURITY conditional. - * resolv/gethnamaddr.c (gethostbyaddr): Likewise. - -2016-04-28 Florian Weimer - - * resolv/arpa/nameser.h: Include unconditionally. - * resolv/gethnamaddr.c: Use include files from conf/portability.h. - Remove BSD-related preprocessor conditionals. - * conf/portability.h: Remove. - -2016-04-28 Florian Weimer - - * resolv/resolv.h: Remove __BIND_NOSTATIC conditional. - * resolv/res_data.c: Likewise. - -2016-04-28 Florian Weimer - - * resolv/res_comp.c: Remove code conditional on __ultrix__. - * resolv/res_data.c: Remove code conditional on ultrix. - -2016-04-28 Florian Weimer - - * resolv/res_init.c (RFC1535): Do not define. Remove - RFC1535 preprocessor conditionals. - * resolv/README: Update. Do not claim strict RFC 1535 compliance - because there configuration options which make the resolver - behavior different. - -2016-04-28 Florian Weimer - - * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove - RESOLVSORT preprocessor conditionals. - * resolv/nss_dns/dns-host.c: Likewise. - * resolv/res_init.c: Likewise. - -2016-04-28 Florian Weimer - - * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It - is never defined. - -2016-04-28 Florian Weimer - - * inet/inet_lnaof.c: Remove SCSS keyword. - * inet/inet_mkadr.c: Likewise. - * inet/inet_net.c: Likewise. - * inet/inet_netof.c: Likewise. - * inet/rcmd.c: Likewise. - * inet/rexec.c: Likewise. - * inet/ruserpass.c: Likewise. - -2016-04-28 Florian Weimer - - * resolv/inet_addr.c: Remove _LIBC conditionals. - * resolv/res_data.c: Likewise. - * resolv/res_init.c: Likewise. - * resolv/res_mkquery.c: Likewise. - * resolv/res_libc.c: Update comment. - * resolv/README: Update. - -2016-04-28 Florian Weimer - - * resolv/gethnamaddr.c: Remove SCSS keyword. - * resolv/herror.c: Likewise. - * resolv/inet_addr.c: Likewise. - * resolv/inet_net_ntop.c: Likewise. - * resolv/inet_net_pton.c: Likewise. - * resolv/inet_neta.c: Likewise. - * resolv/inet_ntop.c: Likewise. - * resolv/inet_pton.c: Likewise. - * resolv/ns_date.c: Remove RCS keyword. - * resolv/ns_name.c: Likewise. - * resolv/ns_netint.c: Likewise. - * resolv/ns_parse.c: Likewise. - * resolv/ns_print.c: Likewise. - * resolv/ns_samedomain.c: Likewise. - * resolv/ns_ttl.c: Likewise. - * resolv/nsap_addr.c: Likewise. - * resolv/res_comp.c: Remove SCSS and RCS keyword. - * resolv/res_data.c: Remove RCS keyword. - * resolv/res_debug.c: Remove SCSS and RCS keyword. - * resolv/res_init.c: Likewise. - * resolv/res_mkquery.c: Likewise. - * resolv/res_query.c: Likewise. - * resolv/res_send.c: Likewise. - -2016-04-27 Joseph Myers - - * conform/data/stdio.h-data (fdopen): Expect also for - [XPG3 || XPG4]. - - * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98]. - (fseeko): Likewise. - (ftello): Likewise. - (ftrylockfile): Likewise. - (funlockfile): Likewise. - (getc_unlocked): Likewise. - (getchar_unlocked): Likewise. - (putc_unlocked): Likewise. - (putchar_unlocked): Likewise. - -2016-04-27 Florian Weimer - - [BZ #19868] - * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional - DNS packet syntax checks (which were not needed before). Skip - over non-PTR records. - -2016-04-27 Florian Weimer - - * resolv/nss_dns/dns-network.c (offsetof): Remove macro - definition. Include instead. - -2016-04-27 Florian Weimer - - [BZ #19831] - * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New - function. - (getanswer_r): Check RDATA length against RRTYPE and QTYPE. - (gaih_getanswer_slice): Check RDATA length against RRTYPE. - -2016-04-27 Florian Weimer - - [BZ #19862] - * resolv/nss_dns/dns-host.c (AskedForGot): Remove. - (getanswer_r): Do not call syslog. - (gaih_getanswer_slice): Likewise. - * resolv/gethnamaddr.c (AskedForGot): Remove. - (getanswer): Do not call syslog. - (gethostbyaddr): Likewise. - -2016-04-27 Joseph Myers - - * conform/data/signal.h-data (union sigval): Expect also if - [XOPEN2K]. - (struct sigevent): Likewise. - (SIGEV_NONE): Likewise. - (SIGEV_SIGNAL): Likewise. - (SIGEV_THREAD): Likewise. - (SIGRTMIN): Likewise. - (SIGRTMAX): Likewise. - * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove - variable. - (test-xfail-XOPEN2K/mqueue.h/conform): Likewise. - -2016-04-27 Florian Weimer - - [BZ #19830] - * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length. - (gaih_getanswer_slice): Likewise. - * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise. - Also check for availability of RR metadata. - -2016-04-27 Florian Weimer - - [BZ #19825] - * resolv/res_send.c (send_vc): Remove early *resplen2 - initialization. Set *resplen2 on socket error. Call - close_and_return_error for other errors. - -2016-04-27 Stefan Liebler - - * sysdeps/unix/sysv/linux/netiucv/iucv.h - (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE) - (SCM_IUCV_TRGCLS): New define. - -2016-04-26 Adhemerval Zanella - - [BZ #20005] - * libio/fmemopen.c (fmemopen_write): Update internal position after - write. - * stdio-common/Makefile (tests): Add tst-fmemopen4.c. - * stdio-common/tst-fmemopen4.c: New file.. - -2016-04-26 Joseph Myers - - [BZ #19996] - * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8], - not [__USE_XOPEN2K]. - * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove - variable. - - * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro. - * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove - variable. - - * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not - [__USE_XOPEN2K8]. - [__USE_LARGEFILE64] (off64_t): Likewise. - * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove - variable. - -2016-04-25 Joseph Myers - - [BZ #19989] - * libio/stdio.h (cuserid): Do not declare if - [__USE_XOPEN2K && !__USE_GNU]. - * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove - variable. - -2016-04-25 Paul E. Murphy - - * sysdeps/powerpc/powerpc64/multiarch/Makefile: - (sysdep_routines): Add P8 and PPC64 strcspn targets. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: - (__libc_ifunc_impl_list): Add entries for P8 and PPC64 - ifunc'ed strcspn. - * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: - [EALIGN]: Removed. - [END]: Likewise - [STRSPN]: Define instead of the above to control symbol name. - * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: - New file. - * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: - Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: - Likewise. - * sysdeps/powerpc/powerpc64/power8/strcspn.S: - Likewise. - * sysdeps/powerpc/powerpc64/power8/strspn.S: - [INITIAL_MASK]: New macro. - [STRCSPN]: Likewise. - [UPDATE_MASK]: Likewise. - [USE_AS_STRCSPN]: Likewise. - -2016-04-25 Florian Weimer - - [BZ #19931] - * stdio-common/tst-vfprintf-width-prec.c: New file. - * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec. - (tests-special): Add tst-vfprintf-width-prec-mem.out. - (generated): Add mtrace-related files. - (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE. - (tst-%-mem.out): New pattern rule, replaces - tst-printf-bz18872-mem.out. - * stdio-common/vfprintf.c (vfprintf): When handling a precision - specifier, deallocate any previously allocated work buffer. - -2016-04-25 Chung-Lin Tang - - * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext): - Add nop before __startcontext, add explaining comments. - -2016-04-25 Samuel Thibault - - RFC2292 macros were obsoleted by RFC3542, and should not be exposed - any more. Notably since IPV6_PKTINFO has been reintroduced with a - completely different API. - - * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO. - (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS. - (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS. - (IPV6_RTHDR): Rename to IPV6_2292RTHDR. - (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS. - (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT. - (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT, - IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR, - IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU, - IPV6_PATHMTU, IPV6_DONTFRAG): New macros. - -2016-04-23 H.J. Lu - - * elf/dl-minimal.c (__libc_memalign): Mmap one extra page. - -2016-04-23 Mike Frysinger - - * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7 - when it is the default of 0. - -2016-04-22 Rajalakshmi Srinivasaraghavan - - * sysdeps/powerpc/locale-defines.sym: Add new macros. - * sysdeps/powerpc/powerpc64/multiarch/Makefile: - (sysdep_routines): Add new strcasestr targets. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: - (__libc_ifunc_impl_list): Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file. - * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file. - * sysdeps/powerpc/powerpc64/power8/Makefile: - New file to add strcasestr-ppc64 to sysdep_routines. - * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file. - * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file. - -2016-04-20 Siddhesh Poyarekar - - * benchtests/Makefile (wcsmbs-benchset): Include only for - native builds and runs. - (LOCALES): Likewise. - (bench-build): Build timing-type here instead of the bench - target. Generate locale only for native builds. - * benchtests/README: Add note for cross-building. - - * benchtests/Makefile (bench-clean): Clean up extra-objs. - - * benchtests/README: Update README to include instructions on - using bench-build. - - * Makefile.in (bench-build): New target. - * Rules (PHONY): Add bench-build target. - * benchtests/Makefile (bench): Depend on bench-build. - (bench-build): New target. - -2016-04-19 Samuel Thibault - - * sysdeps/mach/hurd/profil.c (update_waiter): Initialize - profil_reply_port. - (profile_waiter): Do not initialize profil_reply_port. - * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick - frequency instead of tick length in us. - -2016-04-18 Wilco Dijkstra - - [BZ #18712] - * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h. - (__old_mempcpy_small): Likewise. - (__old_strcpy_small): Likewise. - (__old_stpcpy_small): Likewise. - (__old_strpbrk_c2): Fix compat symbol name. - (__old_strpbrk_c3): Likewise. - * string/bits/string2.h (__STRING2_COPY_TYPE): Remove. - (__mempcpy_small): Remove. - (__strcpy_small): Remove. - (__stpcpy_small): Remove. - -2016-04-16 Robin van der Vliet - - [BZ #19400] - * locale/iso-639.def: Add the Talossan/tzl language. - -2016-04-16 Mike Frysinger - - [BZ #16983] - * locale/programs/ld-address.c (address_finish): Update postal_fmt - comment. Add "ln" to strchr check on postal_fmt. - -2016-04-16 Mike Frysinger - - * locale/programs/ld-telephone.c (telephone_finish): Add %t to the - default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and - tel_dom_fmt. - -2016-04-15 Carlos Eduardo Seo - - * sysdeps/powerpc/powerpc64/multiarch/Makefile: - (sysdep_routines): Added __strlen_power8. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added - __strlen_power8 entry. - * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file. - Implementation for POWER8. - * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector - for __strlen_power8. - * sysdeps/powerpc/powerpc64/power8/strlen.S: New file. - Implementation for POWER8. - -2016-04-15 Mike Frysinger - - * locale/iso-4217.def: Add SSP and change ZMK to ZMW. - -2016-04-15 H.J. Lu - - * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel - Goldmont and Airmont processors. - -2016-04-15 Wilco Dijkstra - - * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h. - * string/bits/string2.h (__STRING2_SMALL_GET16): Remove. - (__STRING2_SMALL_GET32): Remove. - (memset): Remove. - (__memset_1): Remove. - (__memset_gc): Remove. - (__mempcpy): Remove. - (mempcpy): Remove. - (__mempcpy_args): Remove. - (strchr): Remove. - (strcpy): Remove. - (strcpy_args): Remove. - (__stpcpy_args): Remove. - (__strcmp_cc): Remove. - (__strcmp_gc): Remove. - (strstr): Remove. - -2016-04-15 Yvan Roux - - * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'. - * nis/nis_call.c (nis_server_cache_add): Likewise. - -2016-04-14 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h. - -2016-04-14 Florian Weimer - - * malloc/arena.c (__malloc_fork_lock_parent) - (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add - internal_function attribute. - -2016-04-14 Stefan Liebler - - * stdio-common/printf_fp.c (__printf_fp_l): - Rename ___printf_fp_l to __printf_fp_l and - remove strong alias. Use libc_hidden_def instead - of ldbl_hidden_def macro. - -2016-04-14 Florian Weimer - - Remove malloc hooks from fork handler. They are no longer needed - because malloc runs right before fork, and no malloc calls from - other fork handlers are not possible anymore. - * malloc/malloc.c (malloc_atfork, free_atfork): Remove - declarations. - * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena) - (ATFORK_ARENA_PTR, malloc_atfork, free_atfork) - (atfork_recursive_cntr): Remove. - (__malloc_fork_lock_parent): Do not override malloc hooks and - thread_arena. - (__malloc_fork_unlock_parent): Do not restore malloc hooks and - thread_arena. - (__malloc_fork_unlock_child): Do not restore malloc hooks. Use - thread_arena instead of save_arena. - -2016-04-14 Florian Weimer - - * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle) - (thread_atfork, thread_atfork_static): Remove. - * sysdeps/mach/hurd/malloc-machine.h: - (thread_atfork, thread_atfork_static): Remove. - -2016-04-14 Florian Weimer - - [BZ #19431] - Run the malloc fork handler as late as possible to avoid deadlocks. - * malloc/malloc-internal.h: New file. - * malloc/malloc.c: Include it. - * malloc/arena.c (ATFORK_MEM): Remove. - (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all. - Update comment. - (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all. - (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2. - Remove outdated comment. - (ptmalloc_init): Do not call thread_atfork. Remove - thread_atfork_static. - * malloc/tst-malloc-fork-deadlock.c: New file. - * Makefile (tests): Add tst-malloc-fork-deadlock. - (tst-malloc-fork-deadlock): Link against libpthread. - * manual/memory.texi (Aligned Memory Blocks): Update safety - annotation comments. - * sysdeps/nptl/fork.c (__libc_fork): Call - __malloc_fork_lock_parent, __malloc_fork_unlock_parent, - __malloc_fork_unlock_child. - * sysdeps/mach/hurd/fork.c (__fork): Likewise. - -2016-04-14 Florian Weimer - - [BZ #19613] - Remove union wait. - * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode) - (w_stopsig, w_stopval): Remove. - * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the - stat_loc argument. - * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS) - (__WAIT_STATUS_DEFN): Remove. - (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED) - (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT. - (wait, wait3, wait4): Use int * for the stat_loc argument. - * posix/wait.c (__wait): Likewise. - * posix/wait3.c (__wait3): Likewise. - * posix/wait4.c (__wait4): Likewise. - * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS) - (__WAIT_STATUS_DEFN): Remove. - (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED) - (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT. - * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc - argument. - * sysdeps/posix/wait.c (__libc_wait): Likewise. - * sysdeps/posix/wait3.c (__wait3): Likewise. - * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise. - * sysdeps/unix/bsd/wait3.c (__wait3): Likewise. - * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast. - * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the - stat_loc argument. - * manual/process.texi (BSD Wait Functions): Remove union wait. - -2016-04-13 Andreas Schwab - - * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o. - (test-extras): Add tst-tlsalign-vars. - * math/Makefile: Wrap long lines. - (libm-vec-test-wrappers): Define. - (test-extras): Add $(libm-vec-test-wrappers). - (extra-test-objs): Add $(libm-vec-test-wrappers) objects. - * nss/Makefile (extra-test-objs): Add nss_test1.os. - * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects. - * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie - tst-quadmod2pie tst-audit4-aux tst-audit10-aux. - (extra-test-objs): Add corresponding objects. - -2016-04-12 H.J. Lu - - [BZ #19928] - * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold): - New. - (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6 - times of shared cache size. - * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S - (VMOVNT): New. - * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S - (VMOVNT): Likewise. - * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S - (VMOVNT): Likewise. - (VMOVU): Changed to movups for smaller code sizes. - (VMOVA): Changed to movaps for smaller code sizes. - * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update - comments. - (PREFETCH): New. - (PREFETCH_SIZE): Likewise. - (PREFETCHED_LOAD_SIZE): Likewise. - (PREFETCH_ONE_SET): Likewise. - Rewrite to use forward and backward loops, which move 4 vector - registers at a time, to support overlapping addresses and use - non temporal store if size is above the threshold and there is - no overlap between destination and source. - -2016-04-12 Alex Smith - - * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): - Include dl-vdso. - * sysdeps/unix/sysv/linux/mips/Versions: Add - __vdso_clock_gettime. - * sysdeps/unix/sysv/linux/mips/init-first.c: New file. - * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file. - * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: - (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS - definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}. - (HAVE_CLOCK_GETTIME_VSYSCALL): Define. - (HAVE_GETTIMEOFDAY_VSYSCALL): Define. - * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise. - -2016-04-11 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file. - * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove - syscalls generation. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h - [__NR_pwrite64] (__NR_write): Remove define. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h - [__NR_pwrite64] (__NR_write): Remove define. - * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite): - Remove define. - (__libc_pwrite): Use SYSCALL_LL macro on offset argument. - * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite): - Remove define. - (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument. - * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default - Linux implementation as base. - * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise. - - * sysdeps/unix/sysv/linux/arm/pread.c: Remove file. - * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise. - * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise, - * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove - syscall generation. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h - [__NR_pread64] (__NR_pread): Remove define. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: - [__NR_pread64] (__NR_pread): Likewise. - * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove - define. - (__libc_pread): Use SYSCALL_LL macro on offset argument. - * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread): - Remove define. - (__libc_pread64): Use SYSCALL_LL64 macro on offset argument. - * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default - Linux implementation as base. - * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pread.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. - - * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move - definition. - (__ALIGNMENT_COUNT): Likewise. - * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here. - (__ALIGNMENT_COUNT): Likewise. - (SYSCALL_LL): New define. - (SYSCALL_LL64): Likewise. - * sysdeps/unix/sysv/linux/mips/kernel-features.h: - [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define. - * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: - [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise. - - * sysdeps/unix/sysv/linux/arm/kernel-features.h - (__ASSUME_ALIGNED_REGISTER_PAIRS): Define. - * sysdeps/unix/sysv/linux/mips/kernel-features.h - [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise. - * sysdeps/unix/sysv/linux/powerpc/kernel-features.h - [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise. - -2016-04-11 Florian Weimer - - [BZ #19865] - * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore - original buffer before retry. - -2016-04-10 Samuel Thibault - - * sysdeps/generic/ldsodefs.h (struct rtld_global_ro) - [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field. - * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through - GLRO(dl_auxv) list. - * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before - including . - * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise. - -2016-04-09 Nick Alcock - - * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS). - * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as - $(CPPFLAGS). - -2016-04-09 Khem Raj - - [BZ #17950] - * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os): - Add -mfpmath=387. - -2016-04-09 Mike Frysinger - - * sysdeps/i386/configure.ac: Change == to = when calling test. - * sysdeps/x86_64/configure.ac: Likewise. - * sysdeps/i386/configure: Regenerated. - * sysdeps/x86_64/configure: Likewise. - -2016-04-08 Mike Frysinger - - [BZ #16137] - * benchtests/Makefile (LOCALES): Change iw_IL to he_IL. - * benchtests/bench-strcoll.c (input_files): Likewise. - * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise. - * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ... - * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here. - -2016-04-08 Joseph Myers - - [BZ #19929] - * include/bits/xopen_lim.h (NL_NMAX): Do not define if - [__USE_XOPEN2K8 && !__USE_GNU]. - * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove - variable. - - [BZ #19925] - * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not - define if [!__USE_MISC && __USE_XOPEN2K]. - * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise. - * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE): - Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise. - * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove - variable. - (test-xfail-XOPEN2K8/termios.h/conform): Likewise. - -2016-04-07 Paul E. Murphy - - * sysdeps/powerpc/powerpc64/multiarch/Makefile: - (sysdep_routines): Add new strspn targets. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: - (__libc_ifunc_impl_list): Add strspn. - * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: - New file. - * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: - Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strspn.c: - Likewise. - * sysdeps/powerpc/powerpc64/power8/strspn.S: - Likewise. - -2016-04-07 Florian Weimer - - * misc/hsearch_r.c: Include . - -2016-04-07 Florian Weimer - - * malloc/scratch_buffer_set_array_size.c: Include . - -2016-04-06 H.J. Lu - - * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S - (MEMCPY_SYMBOL): New. - (MEMPCPY_SYMBOL): Likewise. - (MEMMOVE_CHK_SYMBOL): Likewise. - Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk - symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on - __mempcpy symbols. Provide alias for __memcpy_chk in libc.a. - Provide alias for memcpy in libc.a and ld.so. - -2016-04-06 H.J. Lu - - * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S - (MEMSET_CHK_SYMBOL): New. Define if not defined. - (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH. - Disabled fro now. - Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk - symbols. Properly check USE_MULTIARCH on __memset symbols. - -2016-04-06 H.J. Lu - - * benchtests/Makefile (string-benchset): Add memcpy-large, - memmove-large and memset-large. - * benchtests/bench-memcpy-large.c: New file. - * benchtests/bench-memmove-large.c: Likewise. - * benchtests/bench-memmove-large.c: Likewise. - * benchtests/bench-string.h (TIMEOUT): Don't redefine. - -2016-04-05 H.J. Lu - - * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force - 32-bit displacement to avoid long nop between instructions. - -2016-04-05 H.J. Lu - - * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add - a comment on VMOVU and VMOVA. - -2016-04-04 Florian Weimer - - [BZ #19633] - Use specified locale for number formatting in strfmon_l. - * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr) - (__nl_lookup_word): New inline functions. - * include/printf.h (__print_fp_l): Declare. - * stdio-common/printf_fp.c (___printf_fp_l): Renamed from - ___printf_fp. Add locale argument. Replace _NL_CURRENT with - _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word. - (___printf_fp): New function. - * stdlib/strfmon_l.c (__printf_fp): Remove declaration. - (__vstrfmon_l): Call __printf_fp_l instead of printf_fp. - * stdlib/tst-strfmon_l.c (do_test): New test. - * stdlib/Makefile (tests): Add kt. - (LOCALES): Build additional locales. - (tst-strfmon_l.out): Require locales. - -2016-04-03 H.J. Lu - - * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip - if not in libc. - * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S: - Likewise. - * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: - Likewise. - * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S: - Likewise. - -2016-04-03 H.J. Lu - - * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: - (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk - with unaligned_erms. - (__memmove_erms): Skip if source == destination. - (__memmove_unaligned_erms): Don't check source == destination - first. - -2016-04-01 H.J. Lu - - * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set - bit_arch_Fast_Copy_Backward for Intel Core proessors. - -2016-04-01 Adhemerval Zanella - - * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN. - * string/strspn.c (strspn): Likewise. - -2016-04-01 H.J. Lu - - * benchtests/bench-memset.c (do_test): Support 64-byte - alignment. - (test_main): Test 64-byte alignment. - -2016-04-01 H.J. Lu - - * benchtests/bench-memmove.c (test_main): Test 64-byte - alignment. - -2016-04-01 H.J. Lu - - * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment. - -2016-04-01 Adhemerval Zanella - - * sysdeps/powerpc/powerpc64/strcspn.S: Remove file. - * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file. - * sysdeps/powerpc/powerpc64/strspn.S: Remove file. - - * string/strpbrk.c (strpbrk): Rewrite function. - * string/bits/string2.h (strpbrk): Use __builtin_strpbrk. - (__strpbrk_c2): Likewise. - (__strpbrk_c3): Likewise. - * string/string-inlines.c - [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2): - Likewise. - [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3): - Likewise. - - * string/strspn.c (strcspn): Rewrite function. - * string/bits/string2.h (strspn): Use __builtin_strcspn. - (__strspn_c1): Remove inline function. - (__strspn_c2): Likewise. - (__strspn_c3): Likewise. - * string/string-inlines.c - [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add - compatibility symbol. - [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2): - Likewise. - [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3): - Likewise. - * string/string-inlines.c: Include generic version. - -2016-04-01 Wilco Dijkstra - Adhemerval Zanella - - * string/Version (libc): Add GLIBC_2.24. - * string/strcspn.c (strcspn): Rewrite function. - * string/bits/string2.h (strcspn): Use __builtin_strcspn. - (__strcspn_c1): Remove inline function. - (__strcspn_c2): Likewise. - (__strcspn_c3): Likewise. - * string/string-inline.c - [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add - compatibility symbol. - [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2): - Likewise. - [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3): - Likewise. - * sysdeps/i386/string-inlines.c: Include generic string-inlines.c. - -2016-04-01 Stefan Liebler - - * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve): - Use ahi instead of aghi to adjust stack pointer. - -2016-03-31 Paul E. Murphy - - [BZ #19853] - * stdio-common/tst-sprintf3.c [TEST_N]: Refactor - TEST to take significant digits as second parameter. - [TEST]: Redefine in terms of TEST_N taking 30 - significant digits. - (do_test): Add test case to demonstrate precision - failure in the ldbl-128ibm printf. - * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c: - (__mpn_extract_long_double): Carry 7 extra intermediate - bits of precision to aide computing difference when - signs differ. - -2016-03-31 H.J. Lu - - [BZ #19881] - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add - memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and - memset-avx512-unaligned-erms. - * sysdeps/x86_64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned, - __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned, - __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned, - __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned, - __memset_sse2_unaligned_erms, __memset_erms, - __memset_avx2_unaligned, __memset_avx2_unaligned_erms, - __memset_avx512_unaligned_erms and __memset_avx512_unaligned. - * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New - file. - * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S: - Likewise. - * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: - Likewise. - * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: - Likewise. - -2016-03-31 H.J. Lu - - [BZ #19776] - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add - memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and - memmove-avx512-unaligned-erms. - * sysdeps/x86_64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Test - __memmove_chk_avx512_unaligned_2, - __memmove_chk_avx512_unaligned_erms, - __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms, - __memmove_chk_sse2_unaligned_2, - __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2, - __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2, - __memmove_avx512_unaligned_erms, __memmove_erms, - __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms, - __memcpy_chk_avx512_unaligned_2, - __memcpy_chk_avx512_unaligned_erms, - __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms, - __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms, - __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms, - __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms, - __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms, - __memcpy_erms, __mempcpy_chk_avx512_unaligned_2, - __mempcpy_chk_avx512_unaligned_erms, - __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms, - __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms, - __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms, - __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms, - __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and - __mempcpy_erms. - * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New - file. - * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S: - Likewise. - * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: - Likewise. - * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: - Likewise. - -2016-03-31 Stefan Liebler - - * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef. - (La_s390_32_regs): Append vector register lr_v24-lr_v31. - (La_s390_64_regs): Likewise. - (La_s390_32_retval): Append vector register lrv_v24. - (La_s390_64_retval): Likeweise. - * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile): - Handle extended structs La_s390_32_regs and La_s390_32_retval. - * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile): - Handle extended structs La_s390_64_regs and La_s390_64_retval. - -2016-03-31 Stefan Liebler - - [BZ #19916] - * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice - to create a non-vector/vector version for _dl_runtime_resolve and - _dl_runtime_profile. Move implementation to ... - * sysdeps/s390/s390-32/dl-trampoline.h: ... here. - (_dl_runtime_resolve) Save and restore fpr/vrs. - (_dl_runtime_profile) Save and restore vrs and fix some issues - if _dl_call_pltexit is called. - * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup): - Choose the correct resolver function if running on a machine with vx. - * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice - to create a non-vector/vector version for _dl_runtime_resolve and - _dl_runtime_profile. Move implementation to ... - * sysdeps/s390/s390-64/dl-trampoline.h: ... here. - (_dl_runtime_resolve) Save and restore fpr/vrs. - (_dl_runtime_profile) Save and restore vrs and fix some issues - * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup): - Choose the correct resolver function if running on a machine with vx. - -2016-03-31 Adhemerval Zanella - - * elf/tst-dlsym-error.c: Include for strchrnul. - -2016-03-31 Florian Weimer - - [BZ #19509] - * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if - skip_map != NULL. - * elf/tst-dlsym-error.c: New file. - * elf/Makefile (tests): Add tst-dlsym-error. - (tst-dlsym-error): Link against libdl. - -2016-03-29 Joseph Myers - - * sysdeps/unix/sysv/linux/microblaze/kernel-features.h - (__ASSUME_FUTIMESAT): Remove macro. - * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file. - -2016-03-29 Florian Weimer - - [BZ #19879] - CVE-2016-3075 - * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not - copy name. - -2016-03-29 Florian Weimer - - [BZ #19837] - * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE - error if parse_line fails. - -2016-03-28 H.J. Lu - - * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New. - (index_cpu_ERMS): Likewise. - (reg_ERMS): Likewise. - -2016-03-28 Aurelien Jarno - - * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS, - PER_LINUX_FDPIC): Add. - -2016-03-28 H.J. Lu - - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove - memcpy-avx512-no-vzeroupper. - * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed - to ... - * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This. - (MEMCPY): Don't define. - (MEMCPY_CHK): Likewise. - (MEMPCPY): Likewise. - (MEMPCPY_CHK): Likewise. - (MEMPCPY_CHK): Renamed to ... - (__mempcpy_chk_avx512_no_vzeroupper): This. - (MEMPCPY_CHK): Renamed to ... - (__mempcpy_chk_avx512_no_vzeroupper): This. - (MEMCPY_CHK): Renamed to ... - (__memmove_chk_avx512_no_vzeroupper): This. - (MEMCPY): Renamed to ... - (__memmove_avx512_no_vzeroupper): This. - (__memcpy_avx512_no_vzeroupper): New alias. - (__memcpy_chk_avx512_no_vzeroupper): Likewise. - -2016-03-28 H.J. Lu - - [BZ #18858] - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove - mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned - and mempcpy-avx512-no-vzeroupper. - * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK): - New. - (MEMPCPY): Likewise. - * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S - (MEMPCPY_CHK): New. - (MEMPCPY): Likewise. - * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New. - (MEMPCPY): Likewise. - * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New. - (MEMPCPY): Likewise. - * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed. - * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: - Likewise. - * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise. - * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise. - -2016-03-28 H.J. Lu - Amit Pawar - - [BZ #19583] - * sysdeps/x86/cpu-features.c (init_cpu_features): Set - Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel - processors. Set Fast_Copy_Backward for AMD Excavator - processors. - * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy): - New. - (index_arch_Fast_Unaligned_Copy): Likewise. - * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check - Fast_Unaligned_Copy instead of Fast_Unaligned_Load. - -2016-03-25 Florian Weimer - - [BZ #19791] - * resolv/res_send.c (close_and_return_error): New function. - (send_dg): Initialize *resplen2 after reopen failure. Call - close_and_return_error for error returns. On error paths without - __res_iclose, initialze *resplen2 explicitly. Update comment for - successful return. - -2016-03-25 Florian Weimer - - [BZ #19860] - * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return - zero if the compiler does not provide the AVX512F bit. - -2016-03-24 Joseph Myers - - [BZ #19848] - * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value - from 8 to 4. - (__ieee754_powl): Compare integer exponent against 4 not 8. - * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value - from 8 to 4. - (__ieee754_powl): Compare integer exponent against 4 not 8. - * math/auto-libm-test-in: Add more tests of pow. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2016-03-23 Aurelien Jarno - - * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]: - Make code unconditional. - [!__NR_utimensat]: Remove conditional code. - * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]: - Make code unconditional. - [!__NR_utimensat]: Remove conditional code. - * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]: - Make code unconditional. - [!__NR_utimensat]: Remove conditional code. - -2016-03-23 Aurelien Jarno - - * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]: - Make code unconditional. - -2016-03-23 Nick Alcock - - * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload - call-clobbered %eax on retry path. - * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise. - -2016-03-22 H.J. Lu - - * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY): - Don't set %rcx twice before "rep movsb". - -2016-03-22 H.J. Lu - - [BZ #19583] - * sysdeps/x86/cpu-features.c (get_common_indeces): Remove - inline. Check family before setting family, model and - extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable - bits here. - (init_cpu_features): Replace HAS_CPU_FEATURE and - HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and - CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load - for Intel processors with usable AVX2. Call get_common_indeces - for other processors with family == NULL. - * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro. - (CPU_FEATURES_ARCH_P): Likewise. - (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P. - (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P. - -2016-03-22 Samuel Thibault - - * malloc/Makefile ($(objpfx)tst-malloc-backtrace, - $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use - $(shared-thread-library) instead of hardcoding the path to libpthread. - -2016-03-22 Joseph Myers - - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_GETDENTS64_SYSCALL): Remove macro. - * sysdeps/unix/sysv/linux/getdents.c - [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code. - [!have_no_getdents64_defined]: Likewise. - (__GETDENTS): Remove __have_no_getdents64 conditional. - -2016-03-21 Joseph Myers - - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4): - Remove macro. - * sysdeps/unix/sysv/linux/signalfd.c: Do not include - . - (signalfd) [__NR_signalfd4]: Make code unconditional. - (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code. - -2016-03-21 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks - style. - -2016-03-21 H.J. Lu - - * sysdeps/unix/sysv/linux/x86_64/cancellation.S - (__pthread_enable_asynccancel): Use JUMPTARGET to call - __pthread_unwind. - * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S - (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume. - * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S - (__condvar_cleanup1): Likewise. - -2016-03-21 Dylan Alex Simon - - [BZ #19822] - * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and - move it to the final $@ location. - -2016-03-20 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory - access where posix_spawn success and pid argument is null. - * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for - success case. - -2016-03-20 Samuel Thibault - - * sysdeps/mach/hurd/i386/c++-types.data: New file. - - * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1. - - * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open - and __fcntl. - * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to - __fcntl only. - * include/fcntl.h [IS_IN (rtld)]: Include instead of - adding attribute_hidden to __open and __fcntl. - - * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip - "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not - depend on libc-modules.h, - * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h. - -2016-03-17 Joseph Myers - - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2): - Remove macro. - * sysdeps/unix/sysv/linux/eventfd.c: Remove file. - * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall - entry. - - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE): - Remove macro. - * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not - include . - [!__ASSUME_FALLOCATE]: Remove conditional code. - (posix_fallocate) [__NR_fallocate]: Make code unconditional. - -2016-03-16 H.J. Lu - - * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S - (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos. - * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S - (_ZGVdN4v_cos_avx2): Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S - (_ZGVdN4v_cos): Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S - (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp. - * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S - (_ZGVdN4v_exp_avx2): Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S - (_ZGVdN4v_exp): Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S - (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log. - * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S - (_ZGVdN4v_log_avx2): Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S - (_ZGVdN4v_log): Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S - (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow. - * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S - (_ZGVdN4vv_pow_avx2): Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S - (_ZGVdN4vv_pow): Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S - (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin. - * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S - (_ZGVdN4v_sin_avx2): Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S - (_ZGVdN4v_sin): Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S - (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos. - * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S - (_ZGVdN4vvv_sincos_avx2): Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S - (_ZGVdN4vvv_sincos): Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S - (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf. - * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S - (_ZGVbN4v_cosf_sse4): Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S - (_ZGVdN8v_cosf_avx2): Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S - (_ZGVdN8v_expf): Use JUMPTARGET to call expf. - * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S - (_ZGVbN4v_expf_sse4): Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S - (_ZGVdN8v_expf_avx2): Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S - (_ZGVdN8v_logf): Use JUMPTARGET to call logf. - * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S - (_ZGVbN4v_logf_sse4): Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S - (_ZGVdN8v_logf_avx2): Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S - (_ZGVdN8vv_powf): Use JUMPTARGET to call powf. - * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S - (_ZGVbN4vv_powf_sse4): Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S - (_ZGVdN8vv_powf_avx2): Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S - (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf. - * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S - (_ZGVbN4vvv_sincosf_sse4): Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S - (_ZGVdN8vvv_sincosf_avx2): Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S - (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf. - * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S - (_ZGVbN4v_sinf_sse4): Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S - (_ZGVdN8v_sinf_avx2): Likewise. - * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2): - Use JUMPTARGET to call callee. - (WRAPPER_IMPL_SSE2_ff): Likewise. - (WRAPPER_IMPL_SSE2_fFF): Likewise. - (WRAPPER_IMPL_AVX): Likewise. - (WRAPPER_IMPL_AVX_ff): Likewise. - (WRAPPER_IMPL_AVX_fFF): Likewise. - (WRAPPER_IMPL_AVX512): Likewise. - (WRAPPER_IMPL_AVX512_ff): Likewise. - * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2): - Likewise. - (WRAPPER_IMPL_SSE2_ff): Likewise. - (WRAPPER_IMPL_SSE2_fFF): Likewise. - (WRAPPER_IMPL_AVX): Likewise. - (WRAPPER_IMPL_AVX_ff): Likewise. - (WRAPPER_IMPL_AVX_fFF): Likewise. - (WRAPPER_IMPL_AVX512): Likewise. - (WRAPPER_IMPL_AVX512_ff): Likewise. - (WRAPPER_IMPL_AVX512_fFF): Likewise. - -2016-03-16 Samuel Thibault - - * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis. - * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function - qualifier. - * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden - internal_function qualifiers. - -2016-03-15 Carlos O'Donell - - * catgets/tst-catgets.c (do_bz17905): Mark result unused. - * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused. - * math/atest-exp.c (exp_mpn): Mark chk unused. - * math/atest-exp2.c (exp_mpn): Likewise. - * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused. - * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused. - -2016-03-15 Joseph Myers - - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL): - Remove macro. - * sysdeps/unix/sysv/linux/ppoll.c: Do not include - . - [__NR_ppoll]: Make code unconditional. - [!__ASSUME_PPOLL]: Remove conditional code. - - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally. - (__ASSUME_ACCEPT4): Likewise. - [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL): - Define. - [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG): - Likewise. - [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL): - Likewise. - [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG): - Likewise. - * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file. - * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/kernel-features.h - (__ASSUME_RECVMMSG_SYSCALL): Do not define. - (__ASSUME_ACCEPT4_SYSCALL): Likewise. - (__ASSUME_SENDMMSG_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/arm/kernel-features.h - (__ASSUME_RECVMMSG_SYSCALL): Likewise. - (__ASSUME_ACCEPT4_SYSCALL): Likewise. - (__ASSUME_SENDMMSG_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/hppa/kernel-features.h - (__ASSUME_ACCEPT4_SYSCALL): Likewise. - (__ASSUME_RECVMMSG_SYSCALL): Likewise. - (__ASSUME_SENDMMSG_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/i386/kernel-features.h - [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL): - Likewise. - [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL): - Likewise. - (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION < - 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >= - 0x040300]. - * sysdeps/unix/sysv/linux/ia64/kernel-features.h - (__ASSUME_RECVMMSG_SYSCALL): Do not define. - (__ASSUME_SENDMMSG_SYSCALL): Likewise. - (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION < - 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >= - 0x030300]. - [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine. - * sysdeps/unix/sysv/linux/m68k/kernel-features.h - (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION < - 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >= - 0x040300]. - (__ASSUME_RECVMMSG_SYSCALL): Likewise. - (__ASSUME_SENDMMSG_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/microblaze/kernel-features.h - (__ASSUME_ACCEPT4_SYSCALL): Do not define. - (__ASSUME_RECVMMSG_SYSCALL): Likewise. - (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION < - 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >= - 0x030300]. - * sysdeps/unix/sysv/linux/mips/kernel-features.h - (__ASSUME_ACCEPT4_SYSCALL): Do not define. - (__ASSUME_RECVMMSG_SYSCALL): Likewise. - (__ASSUME_SENDMMSG_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/powerpc/kernel-features.h - (__ASSUME_ACCEPT4_SYSCALL): Likewise. - (__ASSUME_RECVMMSG_SYSCALL): Likewise. - (__ASSUME_SENDMMSG_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/s390/kernel-features.h - (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION < - 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >= - 0x040300]. - (__ASSUME_RECVMMSG_SYSCALL): Likewise. - (__ASSUME_SENDMMSG_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/sh/kernel-features.h - (__ASSUME_ACCEPT4_SYSCALL): Do not define. - (__ASSUME_RECVMMSG_SYSCALL): Likewise. - (__ASSUME_SENDMMSG_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/sparc/kernel-features.h - (__ASSUME_ACCEPT4_SYSCALL): Likewise. - (__ASSUME_RECVMMSG_SYSCALL): Likewise. - (__ASSUME_SENDMMSG_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/tile/kernel-features.h - (__ASSUME_ACCEPT4_SYSCALL): Likewise. - (__ASSUME_RECVMMSG_SYSCALL): Likewise. - (__ASSUME_SENDMMSG_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/x86_64/kernel-features.h - (__ASSUME_ACCEPT4_SYSCALL): Likewise. - [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL): - Likewise. - [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL): - Likewise. - -2016-03-15 Andreas Schwab - - [BZ #19257] - * resolv/res_init.c (__res_iclose): Use statp->nscount instead of - statp->_u._ext.nscount as loop count. - -2016-03-14 Andreas Schwab - - * math/test-signgam-finite-c99.c: Also #undef - __LIBC_INTERNAL_MATH_INLINES. - * math/test-signgam-main.c: Likewise. - -2016-03-14 Joseph Myers - - * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro. - * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC] - (MADV_FREE): Likewise. - * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise. - * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add - EPOLLEXCLUSIVE. - -2016-03-14 Carlos O'Donell - - * timezone/README: Remove mention of checktab.awk. Mention wiki - SharedSourceFiles. - -2016-03-13 Samuel Thibault - - * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of - WUNTRACED. - -2016-03-11 Tulio Magno Quites Machado Filho - - * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in - order to match the type of p when calling atomic_exchange_acq(). - -2016-03-11 Rajalakshmi Srinivasaraghavan - - * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange - cfi_offset calls. - * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise. - * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise. - * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise. - * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise. - * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise. - -2016-03-10 Carlos O'Donell - - * timezone/checktab.awk: Removed. - -2016-03-10 Joseph Myers - - * manual/math.texi (Errors in Math Functions): Document relaxed - accuracy goals for IBM long double. - * math/libm-test.inc (test_exceptions): Always allow spurious - "underflow" and "inexact" exceptions for IBM long double. - -2016-03-10 H.J. Lu - - [BZ #19762] - * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h - (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*. - * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise. - * sysdeps/x86/cpu-features.h (bit_*): Renamed to ... - (bit_arch_*): This for feature array. - (bit_*): Renamed to ... - (bit_cpu_*): This for cpu array. - (index_*): Renamed to ... - (index_arch_*): This for feature array. - (index_*): Renamed to ... - (index_cpu_*): This for cpu array. - [__ASSEMBLER__] (HAS_FEATURE): Add and use field. - [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE. - [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE. - [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and - bit_##name with index_cpu_##name and bit_cpu_##name. - [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and - bit_##name with index_arch_##name and bit_arch_##name. - -2016-03-09 Aurelien Jarno - - [BZ #19792] - * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext): - Terminate FDE before return label. - -2016-03-09 Joseph Myers - - [BZ #19790] - * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL] - (rintl): Define as macro. - [USE_AS_NEARBYINTL] (__rintl): Likewise. - (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead - of fesetround. Ensure results are evaluated before end of scope. - * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define - USE_AS_NEARBYINTL and include s_rintl.c. - * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc): - Disable exception traps in new environment. - (libc_feholdsetround_ppc_ctx): Likewise. - -2016-03-08 Roland McGrath - - * sysdeps/x86_64/tst-audit10.c: #include . - * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ... - (tst_audit10_aux) [__AVX512F__]: ... here. - -2016-03-08 Aurelien Jarno - - * include/sys/auxv.h: New file. - -2016-03-08 H.J. Lu - - [BZ #19759] - * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New. - -2016-03-08 Gabriel F. T. Gomes - - * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s - operand modifier. - (feclearexcept): Likewise. - -2016-03-08 Carlos Eduardo Seo - - * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated - to reflect the entire 32-bit HWCAP. - * sysdeps/powerpc/dl-procinfo.h: Code cleanup. - (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly. - -2016-03-08 H.J. Lu - - [BZ #19783] - * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with - $(test-via-rtld-prefix). - ($(binaries-bench)): Replace $(+link) with $(+link-tests). - -2016-03-08 Florian Weimer - - * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of - union wait. Report any non-zero exit status as error. - -2016-03-07 Adhemerval Zanella - - * posix/tst-execvpe5.c (do_test): Fix fix test invocation when - configured with --enable-hardcoded-path-in-tests. - -2016-03-08 Joseph Myers - - [BZ #19677] - * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c - (__ieee754_remainderl): Put zero low parts in canonical form. - * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New - file. Based on - sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c. - * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace - with wrapper round test-fmodrem-ldbl-128ibm.c. - * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New - file. - * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c: - Likewise. - * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add - test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm. - -2016-03-07 Florian Weimer - - [BZ #19610] - * elf/ldconfig.c (opt_link): Update comment. - (options): Update help string for option -X. - (search_dir): Unlink stale symbolic link only if updating symbolic - links. - * elf/tst-ldconfig-X.sh: New file. - * elf/Makefile (tests-special): Add tst-ldconfig-X.out. - (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh. - -2016-03-07 Andreas Schwab - - * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max - needed arguments. - -2016-03-07 Hongjiu Zhang - - [BZ #15333] - * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat - to lstat64. - -2016-03-07 Florian Weimer - - * libio/filedoalloc.c (isatty): Remove. - (local_isatty): Add comment. Call __isatty directly. - (_IO_file_doallocate): Update comment. Assume _LIBC. - * libio/wfiledoalloc.c (isatty): Remove. - (_IO_wfile_doallocate): Update comment. - -2016-03-07 Florian Weimer - - [BZ #19269] - * sysdeps/x86_64/Makefile (tst-audit4): Depend on - tst-audit4-aux.o. - (tst-audit10): Depend on tst-audit10-aux.o. - (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled. - (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled. - * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux - instead of inline AVX code. - * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux - instead of inline AVX512 code. - * sysdeps/x86_64/tst-audit4-aux.c: New file - * sysdeps/x86_64/tst-audit10-aux.c: New file - - [BZ #19648] - * test-skeleton.c (main): Do not set RLIMIT_DATA. - -2016-03-07 Adhemerval Zanella - - [BZ #14750] - [BZ #10354] - [BZ #18433] - * include/sched.h (__clone): Add hidden prototype. - (__clone2): Likewise. - * include/unistd.h (__dup): Likewise. - * posix/Makefile (tests): Add tst-spawn2. - * posix/tst-spawn2.c: New file. - * sysdeps/posix/dup.c (__dup): Add hidden definition. - * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise. - * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise. - * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise. - * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise. - * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise. - * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise. - * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise. - * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise. - * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise. - * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone): - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise. - * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise. - * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise. - * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise. - * sysdeps/unix/sysv/linux/nptl-signals.h - (____nptl_is_internal_signal): New function. - * sysdeps/unix/sysv/linux/spawni.c: New file. - - * posix/execvpe.c (__execvpe): Remove dynamic allocation. - * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}. - * posix/tst-execvp1.c (do_test): Use a macro to call execvp. - * posix/tst-execvp2.c (do_test): Likewise. - * posix/tst-execvp3.c (do_test): Likewise. - * posix/tst-execvp4.c (do_test): Likewise. - * posix/tst-execvpe1.c: New file. - * posix/tst-execvpe2.c: Likewise. - * posix/tst-execvpe3.c: Likewise. - * posix/tst-execvpe4.c: Likewise. - * posix/tst-execvpe5.c: Likewise. - * posix/tst-execvpe6.c: Likewise. - - [BZ #19534] - * posix/execl.c (execl): Remove dynamic memory allocation. - * posix/execle.c (execle): Likewise. - * posix/execlp.c (execlp): Likewise. - -2016-03-06 H.J. Lu - - * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: - Replace .text with .text.avx512. - * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: - Likewise. - -2016-03-07 Aurelien Jarno - - * sysdeps/generic/libnsl.abilist: New file. - * sysdeps/generic/libutil.abilist: New file. - -2016-03-06 H.J. Lu - - [BZ #19762] - * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use - HAS_ARCH_FEATURE with Fast_Rep_String. - * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise. - * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise. - * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk): - Likewise. - * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk): - Likewise. - * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise. - * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk): - Likewise. - * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise. - * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk): - Likewise. - -2016-03-04 H.J. Lu - - [BZ #19745] - * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT - with *%rax in call. - -2016-03-04 H.J. Lu - - [BZ #19745] - * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT - with *__libc_start_main@GOTPCREL(%rip) in call. - -2016-03-04 Roland McGrath - - * Makefile (tests-special): Add $(objpfx)c++-types-check.out only - inside conditional for nonempty $(CXX). - - * math/Makefile (tests): Add test-math-isinff only if $(CXX) is - nonempty. - - * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization - to test for empty $(CXX) rather than $(CXX) of "no". - -2016-03-04 H.J. Lu - - * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments. - -2016-03-04 Amit Pawar - H.J. Lu - - [BZ #18880] - * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load, - instead of Slow_BSF, and also check for Fast_Copy_Backward to - enable __memcpy_ssse3_back. - -2016-03-03 H.J. Lu - - [BZ #19758] - * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h - (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC. - -2016-03-03 Paul Pluzhnikov - - [BZ #19490] - * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor. - (__fentry__): Likewise. - -2016-03-03 H.J. Lu - - * gmon/Makefile (noprof): Add $(sysdep_noprof). - * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount. - -2016-03-01 H.J. Lu - - * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call - __mcount_internal directly. - (C_LABEL(__fentry__)): Likewise. - * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save - directly. - -2016-03-01 H.J. Lu - - * sysdeps/unix/sysv/linux/x86_64/__start_context.S - (__start_context): Call __setcontext directly. - -2016-02-26 Joseph Myers - - * sysdeps/unix/sysv/linux/alpha/kernel-features.h - [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional. - [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise. - [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code. - * sysdeps/unix/sysv/linux/arm/kernel-features.h - [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional. - [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise. - [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise. - * sysdeps/unix/sysv/linux/hppa/kernel-features.h - [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise. - [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise. - [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code. - * sysdeps/unix/sysv/linux/ia64/kernel-features.h - [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional. - [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise. - * sysdeps/unix/sysv/linux/m68k/kernel-features.h - [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code. - * sysdeps/unix/sysv/linux/microblaze/kernel-features.h - [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional. - [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code. - [__LINUX_KERNEL_VERSION < 0x020625]: Likewise. - * sysdeps/unix/sysv/linux/mips/kernel-features.h - [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional. - [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise. - [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]: - Remove conditional code. - * sysdeps/unix/sysv/linux/powerpc/kernel-features.h - [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional. - [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise. - * sysdeps/unix/sysv/linux/sh/kernel-features.h - [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise. - [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise. - [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code. - * sysdeps/unix/sysv/linux/sparc/kernel-features.h - [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional. - [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise. - * sysdeps/unix/sysv/linux/tile/kernel-features.h - [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise. - -2016-02-24 Marko Myllynen - - * NEWS (2.23): Fix typo in bug 19048 text. - -2016-02-24 Carlos O'Donell - - [BZ #14259] - * Makeconfig: Rename msgcatdir to localedir. - Rename inst_msgcatdir to inst_localedir. - * catgets/Makefile (catgets-CPPFLAGS): Use localedir. - * config.make.in: Add localedir. - * elf/Makefile ($(objpfx)sotruss): Use localedir. - (ldd-rewrite): Likewise. - * intl/Makefile: Rename inst_msgcatdir to inst_localedir. - (install-others): Use inst_localedir. - (CPPFLAGS): Use localedir. - * locale/Makefile (locale-CPPFLAGS): Likewise. - * po/Makefile (mo-installed): Use inst_localedir. - - [BZ #19575] - * localedata/charmaps/GB18030: Update comments regarding PAU to - non-PUA mappings. - -2016-02-24 Joseph Myers - - * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not - test for header. - * sysdeps/unix/sysv/linux/configure: Regenerated. - * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef. - * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]: - Remove conditional code. - [HAVE_LINUX_FANOTIFY_H]: Make code unconditional. - - * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION): - Define to 3.2.0. - (arch_minimum_kernel): Likewise. - * sysdeps/unix/sysv/linux/configure: Regenerated. - * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel): - Define to 2.6.32. - * sysdeps/unix/sysv/linux/i386/configure: Regenerated. - * sysdeps/unix/sysv/linux/x86_64/64/configure.ac - (arch_minimum_kernel): Define to 2.6.32. - * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated. - * README: Document Linux 3.2 requirement. - * manual/install.texi (Linux): Document Linux 3.2 headers - requirement. - * INSTALL: Regenerated. - -2016-02-24 Andreas Schwab - - * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl - if !NO_LONG_DOUBLE. - -2016-02-22 Roland McGrath - - * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23, - fts64_children, fts64_close, fts64_open, fts64_read and fts64_set. - -2016-02-22 Dmitry V. Levin - - [BZ #19512] - * config.h.in (HAVE_BUILTIN_EXPECT): New macro. - -2016-02-22 Stefan Liebler - - * posix/tst-dir.c: Include libc-internal.h. - -2016-02-20 Florian Weimer - - [BZ #19056] - * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated. - * manual/filesys.texi (Reading/Closing Directory): Mention - deprecaion. - * posix/tst-dir.c (main): Disable deprecation warning in test. - -2016-02-19 H.J. Lu - - [BZ #19679] - * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE): - Renamed to ... - (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8. - (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ... - (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated. - (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ... - (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. - * sysdeps/x86_64/dl-trampoline.h - (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ... - (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. - -2016-02-19 Mark Wielaard - - * elf/elf.h: Add NT_ARM_SYSTEM_CALL. - -2016-02-19 Mark Wielaard - - * elf/elf.h (R_386_GOT32X): New. - (R_386_NUM): Update. - (R_X86_64_GOTPCRELX: New. - (R_X86_64_REX_GOTPCRELX): New. - (R_X86_64_NUM): Update. - -2016-02-19 Mike Frysinger - - * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment. - -2016-02-19 Carlos O'Donell - - * nptl/allocatestack.c (allocate_stack): Declare new stackaddr, - assign attr->stackaddr to it, and adjust it down when - _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr. - [_STACK_GROWS_UP]: Delete assert. - * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]: - Implement stack grows up logic. - * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement - stack grows up logic. - -2016-02-19 Adhemerval Zanella - - * NEWS: Update with 2.24 template. - -2016-02-19 Joseph Myers - - [BZ #19678] - * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): - Ensure +0.0 is returned when taking the next value below the least - positive value. - -2016-02-19 Florian Weimer - - * sysdeps/generic/malloc-machine.h: Assume mutex_init is always - available. Do not define NO_THREADS. - * malloc/malloc.c: Do not check NO_THREADS. - * malloc/arena.c: Likewise. - -2016-02-19 Florian Weimer - - * malloc/malloc.c (__libc_mallinfo): Update comment. - (struct malloc_par): Remove max_total_mem member, it was always 0. - (int_mallinfo): Store 0 into usmblks (no functional change). - * malloc/hooks.c (struct malloc_state): Document that - max_total_mem is always 0. - * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is - always 0. - * manual/memory.texi (Statistics of Malloc): Likewise. - -2016-02-19 Florian Weimer - - * malloc/malloc.c (sysmalloc): Do not update arena_max. - * malloc/arena.c (arena_max): Remove. - (heap_trim, _int_new_arena): Do not update arena_max. - -2016-02-19 Florian Weimer - - * resolv/res_init.c (res_ninit): Update comment. - -2016-02-19 Florian Weimer - - [BZ #19505] - * posix/spawn_int.h: Add headers and include guard. - (__spawn_valid_fd): New function. - * posix/spawn_faction_addopen.c - (posix_spawn_file_actions_addopen): Use __spawn_valid_fd. - * posix/spawn_faction_addclose.c - (posix_spawn_file_actions_addclose): Likewise. - * posix/spawn_faction_adddup2.c - (posix_spawn_file_actions_adddup2): Likewise. Add check for - second file descriptor. - * posix/spawn_valid_fd.c: New file. - * posix/tst-posix_spawn-fd.c: New file. - * posix/Makefile (routines): Add spawn_valid_fd. - (tests): Add tst-posix_spawn-fd. - -2016-02-19 Florian Weimer - - * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early. - (do_test): Limit the number of arenas, so that we can use fewer - outer threads. Limit timeout to 3 seconds, in preparation for a - larger TIMEOUT value. - -2016-02-19 Joseph Myers - - [BZ #19674] - * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include - sign in overflowing and underflowing results when overflow or - underflow is detected early. Include sign in result before rather - than after scaling. - - [BZ #19603] - * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c - (__ieee754_remainderl): Adjust sign of integer version of low part - when taking absolute value of high part. - * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise. - * math/libm-test.inc (remainder_test_data): Add another test. - (remquo_test_data): Likewise. - -2016-02-18 Joseph Myers - - [BZ #19602] - * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle - equal high parts and both low parts zero specially. - * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test. - * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests): - Add test-fmodl-ldbl-128ibm. - - [BZ #19595] - * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use - common logic for all cases of shifting subnormal results. Do not - insert sign bit in shifted mantissa. Always pass -1023 as biased - exponent to ldbl_insert_mantissa in subnormal case. - - [BZ #19594] - * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round - on high and low parts then adjust result and use - ldbl_canonicalize_int if needed. - - [BZ #19593] - * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc - on high part and __floor or __ceil on low part then use - ldbl_canonicalize_int if needed. - - [BZ #19592] - * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on - high and low parts then use ldbl_canonicalize_int if needed. - - [BZ #17899] - * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int): - New function. - * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor - on high and low parts then use ldbl_canonicalize_int if needed. - -2016-02-18 Adhemerval Zanella - - * configure: Regenerated. - - * po/libc.pot: Regenerated. - - * po/be.po: Updated translation. - * po/bg.po: Likewise. - * po/ca.po: Likewise. - * po/cs.po: Likewise. - * po/da.po: Likewise. - * po/el.po: Likewise. - * po/eo.po: Likewise. - * po/es.po: Likewise. - * po/fi.po: Likewise. - * po/fr.po: Likewise. - * po/gl.po: Likewise. - * po/hr.po: Likewise. - * po/hu.po: Likewise. - * po/ia.po: Likewise. - * po/id.po: Likewise. - * po/it.po: Likewise. - * po/ja.po: Likewise. - * po/lt.po: Likewise. - * po/nb.po: Likewise. - * po/nl.po: Likewise. - * po/pt_BR.po: Likewise. - * po/rw.po: Likewise. - * po/sk.po: Likewise. - * po/sl.po: Likewise. - * po/sv.po: Likewise. - * po/tr.po: Likewise. - * po/zh_CN.po: Likewise. - * po/zh_TW.po: Likewise. - - * version.h (RELEAES): Set to "development". - (VERSION): Set to 2.23.90. - - * version.h (RELEASE): Set to "stable". - (VERSION): Set to 2.23. - * include/feature.h (__GLIBC_MINOR__): Set to 23. - - * NEWS: Updated fixed bugs. - -2016-02-18 H.J. Lu - Wilco Dijkstra - - [BZ #19462] - * bits/string.h (_STRING_ARCH_unaligned): Renamed to ... - (_STRING_INLINE_unaligned): This. - * include/string.h: Include . - * string/bits/string2.h: Replace _STRING_ARCH_unaligned with - _STRING_INLINE_unaligned. - * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed. - (_STRING_INLINE_unaligned): New. - * sysdeps/aarch64/string_private.h: New file. - * sysdeps/generic/string_private.h: Likewise. - * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise. - * sysdeps/s390/string_private.h: Likewise. - * sysdeps/x86/string_private.h: Likewise. - * sysdeps/m68k/m680x0/m68020/bits/string.h - (_STRING_ARCH_unaligned): Renamed to ... - (_STRING_INLINE_unaligned): This. - * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed - to ... - (_STRING_INLINE_unaligned): This. - * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed - to ... - (_STRING_INLINE_unaligned): This. - * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed - to ... - (_STRING_INLINE_unaligned): This. - -2016-02-17 Andrew Senkevich - H.J. Lu - - [BZ #19590] - * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC - relocation. - -2016-02-15 Carlos O'Donell - - [BZ #18665] - * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set - *herrno_p. - (gaih_getanswer): Document functional behviour. Return tryagain - if any result is tryagain. - * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero - when freed. - * resolv/res_send.c: Add copyright text. - (__libc_res_nsend): Document that MAXPACKET is expected. - (send_vc): Document. Remove buffer reuse. - (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the - size of the buffer. Add Dprint for truncated UDP buffer. - -2016-02-14 Carlos O'Donell - - * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk - 4.1.3, and sed 4.2.2. Remove po2test.sed comments. - * INSTALL: Regenerate. - -2016-02-14 Jakub Jelinek - Jonathan Wakely - Carlos O'Donell - - [BZ 19439] - * math/Makefile (tests): Add test-math-isinff. - (CFLAGS-test-math-isinff.cc): Use -std=gnu++11. - * math/bits/mathcalls.h [__USE_MISC]: Use - '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of - functions not in C++11 and which don't conflict e.g. isinff, - isinfl etc. - * math/test-math-isinff.cc: New file. - -2016-02-12 Florian Weimer - - * misc/bug18240.c (do_test): Set RLIMIT_AS. - -2016-02-11 Szabolcs Nagy - - [BZ #19529] - * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables. - -2016-02-04 Rajalakshmi Srinivasaraghavan - - * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated. - -2016-02-01 Joseph Myers - - [BZ #19550] - * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file. - * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to .... - * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here. - * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file. - * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64): - New syscall entry. - * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap): - New syscall entry. - * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove - syscall entry. - -2016-01-27 Paul Eggert - - [BZ #18240] - * misc/hsearch_r.c (isprime, __hcreate_r): Protect against - unsigned int wraparound. - -2016-01-27 Florian Weimer - - [BZ #18240] - * misc/bug18240.c: New test. - * misc/Makefile (tests): Add it. - -2016-01-28 Steve Ellcey - Joseph Myers - - * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word - load in branch delay slot when less than a word of input left. - -2016-01-27 Andreas Schwab - - * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove. - * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove. - * sysdeps/powerpc/fpu/s_cosf.c (one): Remove. - * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove. - -2016-01-26 David S. Miller - - * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp. - -2016-01-25 David S. Miller - - * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for - __sqrtl_finite. - * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define - instead using versioned_symbol. - * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering - of entries. - - * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move - __sqrtl_finite to GLIBC_2.23 - -2016-01-25 Ricchard Henderson - - * sysdeps/alpha/fpu/libm-test-ulps: Update. - -2016-01-25 Andreas Schwab - - [BZ #17514] - * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock) - : Don't do lock elision. - * nptl/Makefile (tests): Add tst-mutex-errorcheck. - * nptl/tst-mutex-errorcheck.c: New file. - -2016-01-25 Paul E. Murphy - - [BZ #18560] - * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove. - (IPCOP_semop): Likewise. - (IPCOP_semget): Likewise. - (IPCOP_semctl): Likewise. - (IPCOP_msgsnd): Likewise. - (IPCOP_msgrcv): Likewise. - (IPCOP_msgget): Likewise. - (IPCOP_msgctl): Likewise. - (IPCOP_shmat): Likewise. - (IPCOP_shmdt): Likewise. - (IPCOP_shmget): Likewise. - (IPCOP_shmctl): Likewise. - -2016-01-22 Stefan Liebler - - * string/tst-endian.c: Include . - (do_test): Ignore tautological-compare warnings around - "htobeXX (beXXtoh (i)) != i" and - "htoleXX (leXXtoh (i)) != i" if-statements. - -2016-01-24 David S. Miller - - * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file. - * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove - alias. - * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add - __sqrtl_finite. - - * sysdeps/sparc/fpu/libm-test-ulps: Update. - -2016-01-25 Maciej W. Rozycki - - * sysdeps/unix/sysv/linux/mips/configure.ac: Set - `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used. - * sysdeps/unix/sysv/linux/mips/configure: Regenerate. - -2016-01-22 Paul E. Murphy - - * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function. - (thread_func): Use new function to simplify barrier check. - (do_test): Use new function to simplify checking barrier exit - code, and actually join the child thread. - -2016-01-22 Paul E. Murphy - - * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove - semicolon. - (__libc_tend): Likewise. - (__libc_tabort): Likewise. - -2016-01-22 Chung-Lin Tang - - * sysdeps/nios2/libm-test-ulps: Update. - * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add. - (__gtsf2): Likewise. - (__unorddf2): Likewise. - (__unordsf2): Likewise. - (__ledf2): Likewise. - -2016-01-20 Chris Metcalf - - * nis/nis_table.c (__follow_path): Disable diagnostic for - uninitialized variable that is a false positive for gcc 4.7. - * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise. - -2016-01-20 Roland McGrath - - * sysdeps/nacl/lowlevellock-futex.h - (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake): - Always evaluate PRIVATE argument. - -2016-01-20 Paul Pluzhnikov - - [BZ #19490] - * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S - (pthread_cond_broadcast): Use ENTRY/END - * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S - (pthread_cond_signal): Likewise. - * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock): - Likewise. - * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock): - Likewise. - * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock): - Likewise. - -2016-01-20 Joseph Myers - - * sysdeps/ieee754/dbl-64/s_finite.c - [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define - compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in - SHLIB_COMPAT condition for libm, not GLIBC_2_0. - * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c - [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise. - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data - (__gtsf2): Add as optional for libc.so. - (__unordsf2): Likewise. - (__signbit): Remove for libc.so. - (__signbitl): Likewise. - -2016-01-19 Stefan Liebler - - * iconvdata/bug-iconv11.c (test_ibm93x): - Use %zu printf format specifier for size_t argument. - -2016-01-19 Joseph Myers - - * math/gen-libm-test.pl (parse_ulps): Do not reduce - already-recorded ulps. - * sysdeps/arm/libm-test-ulps: Regenerated. - * sysdeps/mips/mips32/libm-test-ulps: Likewise. - * sysdeps/mips/mips64/libm-test-ulps: Likewise. - * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise. - -2016-01-19 Andrew Senkevich - Paul Pluzhnikov - - * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with - assembler not supporting AVX-512. - -2016-01-18 Stefan Liebler - - * sysdeps/s390/fpu/libm-test-ulps: Regenerated. - -2016-01-18 Joseph Myers - - * sysdeps/mips/mips32/libm-test-ulps: Regenerated. - * sysdeps/mips/mips64/libm-test-ulps: Likewise. - - * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated. - - * sysdeps/arm/libm-test-ulps: Regenerated. - -2016-01-18 Paul Pluzhnikov - - [BZ #19451] - * math/Makefile (libm-vec-tests): Move libraries after wrappers.o - -2016-01-15 Stefan Liebler - - [BZ #19486] - * sysdeps/s390/fix-fp-int-convert-overflow.h: New File. - * sysdeps/generic/fix-fp-int-convert-overflow.h - (FIX_LDBL_LONG_CONVERT_OVERFLOW, - FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define. - * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise. - * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: - Likewise. - * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): - Avoid conversions to long int where inexact exceptions - could be raised. - * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): - Likewise. - * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): - Avoid conversions to long long int where inexact exceptions - could be raised. - * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): - Likewise. - -2016-01-17 Mike Frysinger - - * configure.ac: Rewrite error comment and use AC_MSG_ERROR. - * configure: Regenerated. - -2016-01-16 Andrew Senkevich - - * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos. - -2016-01-16 Mike Frysinger - - * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move - outside of comment. - -2016-01-15 Torvald Riegel - - * nptl/tst-barrier1.c: Add description on first line. - * nptl/tst-barrier2.c: Likewise. - * nptl/tst-barrier3.c: Likewise. - * nptl/tst-barrier4.c: Likewise. - * nptl/tst-barrier5.c: Likewise. - -2016-01-15 Torvald Riegel - - [BZ #18868] - * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix. - -2016-01-16 Andrew Senkevich - - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files. - * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests. - * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file. - * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise. - * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise. - * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch. - * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise. - * sysdeps/x86_64/multiarch/memmove.c: Likewise. - * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise. - * sysdeps/x86_64/multiarch/mempcpy.S: Likewise. - * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise. - -2016-01-15 Torvald Riegel - - [BZ #13065] - * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with - new implementation. - * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise. - * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt. - * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt. - (BARRIER_IN_THRESHOLD): New macro. - * nptl/pthread_barrierattr_setpshared.c - (pthread_barrierattr_setpshared): Clean up. - * nptl/tst-barrier4.c: Correct comment. - * nptl/tst-barrier5.c: New file. - * nptl/Makefile (tests): Add nptl/tst-barrier5.c. - (gen-as-const-headers): Remove lowlevelbarrier.sym. - * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove. - * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove. - * nptl/lowlevelbarrier.sym: Remove. - * nptl/DESIGN-barrier.txt: Remove. - * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove. - * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove. - * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove. - * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build - error. - * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic - implementation. - -2016-01-15 Paul E. Murphy - - * rt/tst-mqueue5.c (thr): Cleanup misleading comment. - (do_child): Mask SIGRTMIN while thr is running. - -2016-01-15 Martin Sebor - - [BZ #19432] - * iconvdata/Makefile: Add bug-iconv11. - * iconvdata/bug-iconv11.c: New test. - * iconvdata/ibm930.c: Do not reject redundant shift sequences. - * iconvdata/ibm933.c: Same. - * iconvdata/ibm935.c: Same. - * iconvdata/ibm937.c: Same. - * iconvdata/ibm939.c: Same. - -2016-01-15 Martin Sebor - - [BZ #19443] - * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string. - [DEBUG] (_ufc_set_bits): Declare used. - * iconv/gconv_dl.c [DEBUG]: Add a missing include directive. - [DEBUG] (print_all): Declare used. - * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert - operands of the ternary ?: expression to target type. - * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of - calling the undeclared abort. - * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME. - -2016-01-15 Martin Sebor - - [BZ #18755] - * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable - warnings. - * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same. - (__gai_create_helper_thread): Same. - * nscd/nscd.c (do_exit): Suppress -Wunused-variable. - * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable - to suppress -Wmaybe-uninitialized warnings. - -2016-01-15 H.J. Lu - - [BZ #19465] - * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier - inside if. - * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise. - * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise. - * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise. - -2016-01-14 H.J. Lu - - [BZ #19466] - * time/tst-mktime2.c (time_t_max): Removed. - (time_t_min): Likewise. - (TYPE_SIGNED): New. - (TYPE_MINIMUM): Likewise. - (TYPE_MAXIMUM): Likewise. - (TIME_T_MIN): Likewise. - (TIME_T_MAX): Likewise. - (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX - and TIME_T_MIN. - (do_test): Likewise. - -2016-01-14 Amit Pawar - - [BZ #19467] - * sysdeps/x86/cpu-features.c (init_cpu_features): Set - index_Fast_Unaligned_Load flag for Excavator family CPUs. - -2016-01-02 Marcin Koƛcielnicki - - * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field. - -2016-01-13 Carlos O'Donell - - * benchtests/Makefile (PYTHON): Define. - (bench-func): Use $(PYTHON) to run python scripts. - ($(objpfx)bench-%.c): Likewise. - -2016-01-13 Flavio Cruz - - * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove - leading slash when `file_name' is "/". - -2016-01-12 Joseph Myers - - * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro. - * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT): - Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT): - Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): - Likewise. - * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New - enum constant and macro. - (PTRACE_SETSIGMASK): Likewise. - (PTRACE_SECCOMP_GET_FILTER): Likewise. - * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h - (PTRACE_GETSIGMASK): Likewise. - (PTRACE_SETSIGMASK): Likewise. - (PTRACE_SECCOMP_GET_FILTER): Likewise. - * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK): - Likewise. - (PTRACE_SETSIGMASK): Likewise. - (PTRACE_SECCOMP_GET_FILTER): Likewise. - * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h - (PTRACE_GETSIGMASK): Likewise. - (PTRACE_SETSIGMASK): Likewise. - (PTRACE_SECCOMP_GET_FILTER): Likewise. - * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK): - Likewise. - (PTRACE_SETSIGMASK): Likewise. - (PTRACE_SECCOMP_GET_FILTER): Likewise. - * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK): - Likewise. - (PTRACE_SETSIGMASK): Likewise. - (PTRACE_SECCOMP_GET_FILTER): Likewise. - * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK): - Likewise. - (PTRACE_SETSIGMASK): Likewise. - (PTRACE_SECCOMP_GET_FILTER): Likewise. - -2016-01-11 Jonathan Wakely - Adhemerval Zanella - - [BZ #19439] - * math/bits/mathcalls.h - [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare - prototype. - [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise. - -2016-01-11 Andreas Schwab - - [BZ #19253] - * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute - cache when TZDEFRULES was used. - * time/tst-tzname.c: New file. - * time/Makefile (test): Add tst-tzname. - (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define. - * timezone/Makefile (test-zones): Add $(posixrules-file). - ($(testdata)/$(posixrules-file)): New rule. - -2016-01-10 Paul Eggert - - Fix doc quoting problems with Texinfo 5 - Without this change, in the info file output, Texinfo 5 quotes code - in text with undirected single quotes 'like this' and generates - code examples that with many PDF readers cannot be cut out of PDFs - and pasted into code. - * manual/libc.texinfo: Configure the libc manual like the GNU - Emacs manual, by using @documentencoding and setting - txicodequoteundirected and txicodequotebacktick. This way, - Texinfo 5 quotes code in text with directed single quotes ‘like - this’ and produces examples that can be cut out of PDFs. This - change causes Texinfo 5 to generate info files that contain UTF-8 - characters in the set {'‘', '’', '“', '”', 'Ä', 'Ă€', 'ö', '−', - '–', '—', '©', '⇒', '‱', '
'}, which is OK nowadays. - -2016-01-08 Tulio Magno Quites Machado Filho - - * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin, - __libc_tabort, __libc_tend): New wrappers that enforce compiler - barriers to their respective compiler built-ins. - * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK, - ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers. - * sysdeps/powerpc/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise. - -2016-01-08 Marko Myllynen - - * scripts/config.guess: Revert previous shebang change. - * scripts/config.sub: Likewise. - * scripts/mkinstalldirs: Likewise. - -2016-01-08 Carlos Eduardo Seo - - * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and - PPC_FEATURE2_HAS_IEEE128. - * sysdeps/powerpc/dl-procinfo.c: - (_dl_powerpc_cap_flags): Add corresponding names to new capabilities. - -2016-01-08 John David Anglin - - [BZ #19415] - * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare. - (elf_machine_resolve): New. Return address of _dl_runtime_resolve. - (_dl_lookup_address): Rewrite using function resolver trampoline. - * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom - two bits in address. - -2016-01-07 Mike Frysinger - - * longlong.h: Change !__SHMEDIA__ to - (!defined (__SHMEDIA__) || !__SHMEDIA__). - Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__. - -2016-01-07 Daniel Jacobowitz - Joseph Myers - Mark Shinwell - Andrew Stubbs - Rich Felker - - * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH. - -2016-01-07 Richard Henderson - - * longlong.h [__alpha] (umul_ppmm): Disable for c++. - -2016-01-07 Mike Frysinger - - * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change - __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT. - * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise. - * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise. - * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise. - -2016-01-07 Paul Eggert - Joseph Myers - - * timezone/private.h: Update from tzcode 2015g. - * timezone/tzfile.h: Likewise. - * timezone/tzselect.ksh: Likewise. - * timezone/zdump.c: Likewise. - * timezone/zic.c: Likewise. - * timezone/ialloc.c: Remove file. - * timezone/scheck.c: Likewise. - * timezone/Makefile (extra-objs): Remove variable. - ($(objpfx)zic): Do not depend on scheck.o and ialloc.o. - (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0 - -Wno-maybe-uninitialized. - (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT. - (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT. - (CFLAGS-ialloc.c): Remove variable. - (CFLAGS-scheck.c): Likewise. - * timezone/README: Update list of files from tzcode. - -2016-01-07 Khem Raj - - * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked - instead of __fxprintf when _LIBC is undefined. - -2016-01-07 Marko Myllynen - - * catgets/test-gencat.sh: Remove space after shebang. - * conform/GlibcConform.pm: Likewise. - * conform/check-header-lists.sh: Likewise. - * conform/conformtest.pl: Likewise. - * conform/linknamespace.pl: Likewise. - * conform/list-header-symbols.pl: Likewise. - * debug/catchsegv.sh: Likewise. - * elf/genrtldtbl.awk: Likewise. - * elf/tst-pathopt.sh: Likewise. - * elf/tst-rtld-load-self.sh: Likewise. - * grp/tst_fgetgrent.sh: Likewise. - * iconvdata/gen-8bit-gap-1.sh: Likewise. - * iconvdata/gen-8bit-gap.sh: Likewise. - * iconvdata/gen-8bit.sh: Likewise. - * iconvdata/run-iconv-test.sh: Likewise. - * intl/tst-gettext.sh: Likewise. - * intl/tst-gettext2.sh: Likewise. - * intl/tst-gettext4.sh: Likewise. - * intl/tst-gettext6.sh: Likewise. - * intl/tst-translit.sh: Likewise. - * io/ftwtest-sh: Likewise. - * libio/test-freopen.sh: Likewise. - * locale/gen-translit.pl: Likewise. - * malloc/tst-mtrace.sh: Likewise. - * manual/check-safety.sh: Likewise. - * manual/libc-texinfo.sh: Likewise. - * manual/tsort.awk: Likewise. - * manual/xtract-typefun.awk: Likewise. - * nptl/tst-cancel-wrappers.sh: Likewise. - * nptl/tst-tls6.sh: Likewise. - * posix/globtest.sh: Likewise. - * posix/tst-getconf.sh: Likewise. - * posix/wordexp-tst.sh: Likewise. - * scripts/check-c++-types.sh: Likewise. - * scripts/check-local-headers.sh: Likewise. - * scripts/config.guess: Likewise. - * scripts/config.sub: Likewise. - * scripts/cpp: Likewise. - * scripts/cross-test-ssh.sh: Likewise. - * scripts/documented.sh: Likewise. - * scripts/evaluate-test.sh: Likewise. - * scripts/gen-libc-abis: Likewise. - * scripts/gen-sorted.awk: Likewise. - * scripts/list-fixed-bugs.py: Likewise. - * scripts/merge-test-results.sh: Likewise. - * scripts/mkinstalldirs: Likewise. - * scripts/rellns-sh: Likewise. - * scripts/test-installation.pl: Likewise. - * scripts/update-copyrights: Likewise. - * stdio-common/tst-printf.sh: Likewise. - * stdio-common/tst-unbputc.sh: Likewise. - * stdlib/tst-fmtmsg.sh: Likewise. - * stdlib/tst-setcontext3.sh: Likewise. - * sysdeps/i386/tst-ld-sse-use.sh: Likewise. - * sysdeps/unix/make-syscalls.sh: Likewise. - -2016-01-06 John David Anglin - - * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace - asm stw with atomic_exchange_rel. Add explanatory comment. - * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock): - Likewise. - -2016-01-05 H.J. Lu - - [BZ #19122] - * include/unistd.h [IS_IN (rtld)]: Include . - * sysdeps/generic/dl-unistd.h: New file. - * sysdeps/mach/hurd/dl-unistd.h: Likewise. - -2016-01-05 H.J. Lu - - [BZ #19122] - * include/sys/mman.h [IS_IN (rtld)]: Include . - * sysdeps/generic/dl-mman.h: New file. - * sysdeps/mach/hurd/dl-mman.h: Likewise. - -2016-01-05 Joseph Myers - - * manual/texinfo.tex: Update to version 2016-01-04.21 with - trailing whitespace removed. - * scripts/config.guess: Update to version 2016-01-01. - * scripts/config.sub: Update to version 2016-01-01. - * scripts/move-if-change: Update from gnulib. - -2016-01-04 Anton Blanchard - - * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int - for array indices. - * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise. - -2016-01-04 Joseph Myers - - * NEWS: Update copyright dates. - * catgets/gencat.c (print_version): Likewise. - * csu/version.c (banner): Likewise. - * debug/catchsegv.sh: Likewise. - * debug/pcprofiledump.c (print_version): Likewise. - * debug/xtrace.sh (do_version): Likewise. - * elf/ldconfig.c (print_version): Likewise. - * elf/ldd.bash.in: Likewise. - * elf/pldd.c (print_version): Likewise. - * elf/sotruss.sh: Likewise. - * elf/sprof.c (print_version): Likewise. - * iconv/iconv_prog.c (print_version): Likewise. - * iconv/iconvconfig.c (print_version): Likewise. - * locale/programs/locale.c (print_version): Likewise. - * locale/programs/localedef.c (print_version): Likewise. - * login/programs/pt_chown.c (print_version): Likewise. - * malloc/memusage.sh (do_version): Likewise. - * malloc/memusagestat.c (print_version): Likewise. - * malloc/mtrace.pl: Likewise. - * manual/libc.texinfo: Likewise. - * nptl/version.c (banner): Likewise. - * nscd/nscd.c (print_version): Likewise. - * nss/getent.c (print_version): Likewise. - * nss/makedb.c (print_version): Likewise. - * posix/getconf.c (main): Likewise. - * scripts/test-installation.pl: Likewise. - * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise. - - * All files with FSF copyright notices: Update copyright dates - using scripts/update-copyrights. - * intl/plural.c: Regenerated. - * locale/programs/charmap-kw.h: Likewise. - * locale/programs/locfile-kw.h: Likewise. - -2016-01-02 Helge Deller - - [BZ #19285] - * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define. - (MAP_HUGETLB, MCL_ONFAULT): Likewise. - (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise. - (MADV_xxK_PAGES): Remove. - -2016-01-01 Mike Frysinger - - [BZ #15421] - * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h. - [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor. - * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise. - * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise. - -2015-12-30 Dmitry V. Levin - - [BZ #19408] - * sysdeps/unix/sysv/linux/personality.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise. - * sysdeps/unix/sysv/linux/tst-personality.c: Likewise. - * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc] - (sysdep_routines): Add personality. - (tests): Add tst-personality. - * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ... - * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here. - * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry. - * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise. - * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise. - * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise. - * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality): - Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality): - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality): - Likewise. - * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality): - Likewise. - -2015-12-30 Aurelien Jarno - - * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include . - (PATH_ARM_SYSTYPE): Remove. - (PATH_CPUINFO): Likewise. - (IO_BASE_FOOTBRIDGE): Likewise. - (IO_SHIFT_FOOTBRIDGE): Likewise. - (struct platform): Likewise. - (init_iosys): Remove compatibility code for 2.4 kernels. - * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf. - -2015-12-29 Florian Weimer - - * malloc/tst-malloc-thread-fail.c: New file. - * malloc/Makefile (tests): Add tst-malloc-thread-fail. - (tst-malloc-thread-fail): Link against libpthread. - -2015-12-29 Mike Frysinger - - * scripts/list-fixed-bugs.py: Import argparse. Call main instead. - (get_parser): New function. - (main): New function. - -2015-12-29 Rob Wu - - [BZ #19369] - * resolv/res_init.c (__res_vinit): Reset defdname before use. - -2015-12-29 John David Anglin - - [BZ #19270] - * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define. - -2015-12-28 Mike Frysinger - - [BZ #15421] - * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma. - -2015-12-23 Torvald Riegel - - [BZ #13690] - * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock - after releasing it. - (__lll_robust_unlock): Likewise. - * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise. - * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise. - (lll_robust_unlock): Likewise. - * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag): - Prevent warnings in callers. - -2015-12-23 Florian Weimer - - * malloc/arena.c (list_lock): Update comment. - -2015-12-22 Carlos Eduardo Seo - - * sysdeps/powerpc/hwcapinfo.c: Export symbol - __parse_hwcap_and_convert_at_platform to libc.a. - -2015-12-22 Carlos Eduardo Seo - - * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added - platform and feature support for POWER9. - * sysdeps/powerpc/dl-procinfo.h: Likewise. - * sysdeps/powerpc/powerpc32/power9/Implies: New file. - * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise. - * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise. - * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64. - * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise. - * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise. - * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise. - -2015-12-22 Samuel Thibault - - Harmonize generic stdio-lock support with nptl - - This fixes build when _IO_funlockfile is a macro, fixes build where - _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected - stack unwind. - - * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock, - _IO_release_lock ): Use cleanup attribute on new - _IO_acquire_lock_file variable instead of assuming that - _IO_release_lock will be called. - [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing - _IO_acquire_lock_needs_exceptions_enabled. - (_IO_acquire_lock_clear_flags2): New macro. - -2015-12-22 Adhemerval Zanella - - * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated. - -2015-12-21 Florian Weimer - - [BZ #19182] - * malloc/arena.c (list_lock): Document lock ordering requirements. - (free_list_lock): New lock. - (ptmalloc_lock_all): Comment on free_list_lock. - (ptmalloc_unlock_all2): Reinitialize free_list_lock. - (detach_arena): Update comment. free_list_lock is now needed. - (_int_new_arena): Use free_list_lock around detach_arena call. - Acquire arena lock after list_lock. Add comment, including FIXME - about incorrect synchronization. - (get_free_list): Switch to free_list_lock. - (reused_arena): Acquire free_list_lock around detach_arena call - and attached threads counter update. Add two FIXMEs about - incorrect synchronization. - (arena_thread_freeres): Switch to free_list_lock. - * malloc/malloc.c (struct malloc_state): Update comments to - mention free_list_lock. - -2015-12-21 Siddhesh Poyarekar - - * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2): - Remove functions. - (sloww, sloww1): Accept argument to offset quadrant. - (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on - quadrant. - (__sin, __cos): Consolidate common code into new functions. - (reduce_sincos_1, do_sincos_1): New functions. - * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them. - - * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common - code to new functions. - (reduce_sincos_2, do_sincos_2): New functions. - * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them. - - * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip - common code for sincos. - (__cos) [!IN_SINCOS]: Likewise. - * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos): - New function. - (__sincos): Use it. - -2015-12-20 Aurelien Jarno - - * sysdeps/i386/fpu/libm-test-ulps: Move to .... - * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here. - * sysdeps/i386/fpu/libm-test-ulps: Regenerate. - -2015-12-19 Andrew Senkevich - - * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file. - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file. - * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests. - * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch. - * sysdeps/x86_64/multiarch/memset_chk.S: Likewise. - * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER, - index_Prefer_No_VZEROUPPER): New feature. - * sysdeps/x86/cpu-features.c (init_cpu_features): Set the - Prefer_No_VZEROUPPER for Knights Landing. - -015-12-18 Torvald Riegel - - * math/atest-exp2.c (mp_exp_m1): Remove. - -2015-12-17 Adhemerval Zanella - - * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument - syscalls. - (__SYSCALL0): New macro. - (__SYSCALL1): Likewise. - (__SYSCALL2): Likewise. - (__SYSCALL3): Likewise. - (__SYSCALL4): Likewise. - (__SYSCALL5): Likewise. - (__SYSCALL6): Likewise. - (__SYSCALL_CONCAT_X): Likewise. - (__SYSCALL_CONCAT): Likewise. - (__SYSCALL_DIST): Likewise. - (__SYSCALL_CALL): Likewise. - -2015-12-17 H.J. Lu - - [BZ #19363] - * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file. - -2015-12-17 Adhemerval Zanella - - [BZ #19375] - * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for - negative subnormals. - -2015-12-16 H.J. Lu - - * sysdeps/unix/sysv/linux/x86_64/sysdep.h - (REGISTERS_CLOBBERED_BY_SYSCALL): New. - (INTERNAL_SYSCALL_NCS): Use it. - (INTERNAL_SYSCALL_NCS_TYPES): Likewise. - -2015-12-16 Florian Weimer - - [BZ #19243] - * malloc/arena.c (get_free_list): Remove assert and adjust - reference count handling. Add comment about reused_arena - interaction. - (reused_arena): Add comments abount get_free_list interaction. - * malloc/tst-malloc-thread-exit.c: New file. - * malloc/Makefile (tests): Add tst-malloc-thread-exit. - (tst-malloc-thread-exit): Link against libpthread. - -2015-12-15 H.J. Lu - - [BZ #19367] - * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file. - * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise. - * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New. - (index_Prefer_MAP_32BIT_EXEC): Likewise. - -2015-12-15 H.J. Lu - - * sysdeps/x86/cpu-features.c (init_cpu_features): Enable - Silvermont optimizations for Knights Landing. - -2015-12-15 Andreas Schwab - - [BZ #17197] - * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state - immediately after emitting SI. - * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise. - * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise. - * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise. - * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise. - * iconvdata/bug-iconv10.c: New file. - * iconvdata/Makefile (tests): Add bug-iconv10. - ($(objpfx)bug-iconv10.out): New rule. - -2015-12-15 Florian Weimer - - * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an - aliasing violation. - -2015-12-14 Joseph Myers - - [BZ #18472] - * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries - for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT - conditionals for them. - * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise. - * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove - sys/kdaemon.h. - * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into - compat-only syscall, obsoleted in glibc 2.23. - (create_module): Likewise. - (get_kernel_syms): Likewise. - (query_module): Likewise. - (uselib): Likewise. - * manual/sysinfo.texi (System Parameters): Do not mention bdflush. - -2015-12-11 Aurelien Jarno - - * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include - . - [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove - conditional code. - (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name - and ioshift_name initialization. - -2015-12-11 Steve Ellcey - - * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): - Fix indentation. - -2015-12-11 Steve Ellcey - - * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation. - -2015-12-11 Steve Ellcey - - * stdlib/strtol_l.c (__strtol_l): Fix indentation. - -2015-12-10 Aurelien Jarno - Jakub Wilk - - [BZ #19347] - * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try - to change the group of the device to the tty group. - -2015-12-10 Paul Eggert - - Split large string section; add truncation advice - * manual/examples/strncat.c: Remove. - This example was misleading, as the code would have undefined - behavior if "hello" was longer than SIZE. Anyway, the manual - shouldn't encourage strncpy+strncat for this sort of thing. - * manual/string.texi (Copying Strings and Arrays): Split into - three sections Copying Strings and Arrays, Concatenating Strings, - and Truncating Strings, as this section was way too long. All - cross-referenced changed. Add advice about string-truncation - functions. Remove misleading strncat example. - -2015-12-10 Carlos O'Donell - - * manual/nss.texi (NSS Modules Interface): Document - NSS_STATUS_NOTFOUND and SUCCESS. - -2015-12-09 Mike FABIAN - - [BZ 18568] - * include/stdc-predef.h (__STDC_ISO_10646__): Update to - 201505L, for Unicode 8. - -2015-12-09 Carlos O'Donell - - * locale/C-translit.h: Regenerate. - -2015-12-09 Mike FABIAN - - * locale/C-translit.h.in: Remove duplicate transliterations for U+0152 - and U+0153. - -2015-12-09 Joseph Myers - - [BZ #19351] - * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When - expanding log(1+z), compare z rather than its square with epsilon - to determine when to avoid evaluating the expansion. - - [BZ #19350] - * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): - Increase overflow threshold. - - [BZ #19349] - * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument - when small. - - * sysdeps/unix/sysv/linux/i386/kernel-features.h - [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL): - New macro. - [__LINUX_KERNEL_VERSION >= 0x040300] - (__ASSUME_SOCKETPAIR_SYSCALL): Likewise. - [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL): - Likewise. - [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL): - Likewise. - [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL): - Likewise. - [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL): - Likewise. - [__LINUX_KERNEL_VERSION >= 0x040300] - (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise. - [__LINUX_KERNEL_VERSION >= 0x040300] - (__ASSUME_GETSOCKOPT_SYSCALL): Likewise. - [__LINUX_KERNEL_VERSION >= 0x040300] - (__ASSUME_SETSOCKOPT_SYSCALL): Likewise. - [__LINUX_KERNEL_VERSION >= 0x040300] - (__ASSUME_GETSOCKNAME_SYSCALL): Likewise. - [__LINUX_KERNEL_VERSION >= 0x040300] - (__ASSUME_GETPEERNAME_SYSCALL): Likewise. - [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL): - Likewise. - [__LINUX_KERNEL_VERSION >= 0x040300] - (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise. - [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL): - Likewise. - [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL): - Likewise. - [__LINUX_KERNEL_VERSION >= 0x040300] - (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise. - [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL): - Likewise. - [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL): - Likewise. - * sysdeps/unix/sysv/linux/m68k/kernel-features.h - [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL): - Likewise. - [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL): - Likewise. - [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL): - Likewise. - [__LINUX_KERNEL_VERSION >= 0x040300] - (__ASSUME_SOCKETPAIR_SYSCALL): Likewise. - [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL): - Likewise. - [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL): - Likewise. - [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL): - Likewise. - [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL): - Likewise. - [__LINUX_KERNEL_VERSION >= 0x040300] - (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise. - [__LINUX_KERNEL_VERSION >= 0x040300] - (__ASSUME_GETSOCKOPT_SYSCALL): Likewise. - [__LINUX_KERNEL_VERSION >= 0x040300] - (__ASSUME_SETSOCKOPT_SYSCALL): Likewise. - [__LINUX_KERNEL_VERSION >= 0x040300] - (__ASSUME_GETSOCKNAME_SYSCALL): Likewise. - [__LINUX_KERNEL_VERSION >= 0x040300] - (__ASSUME_GETPEERNAME_SYSCALL): Likewise. - [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL): - Likewise. - [__LINUX_KERNEL_VERSION >= 0x040300] - (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise. - [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL): - Likewise. - [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL): - Likewise. - [__LINUX_KERNEL_VERSION >= 0x040300] - (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise. - [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL): - Likewise. - [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL): - Likewise. - * sysdeps/unix/sysv/linux/microblaze/kernel-features.h - (__ASSUME_SOCKET_SYSCALL): Likewise. - (__ASSUME_BIND_SYSCALL): Likewise. - (__ASSUME_CONNECT_SYSCALL): Likewise. - (__ASSUME_LISTEN_SYSCALL): Likewise. - (__ASSUME_ACCEPT_SYSCALL): Likewise. - (__ASSUME_GETSOCKNAME_SYSCALL): Likewise. - (__ASSUME_GETPEERNAME_SYSCALL): Likewise. - (__ASSUME_SOCKETPAIR_SYSCALL): Likewise. - (__ASSUME_SEND_SYSCALL): Likewise. - (__ASSUME_SENDTO_SYSCALL): Likewise. - (__ASSUME_RECV_SYSCALL): Likewise. - (__ASSUME_RECVFROM_SYSCALL): Likewise. - (__ASSUME_SHUTDOWN_SYSCALL): Likewise. - (__ASSUME_GETSOCKOPT_SYSCALL): Likewise. - (__ASSUME_SETSOCKOPT_SYSCALL): Likewise. - (__ASSUME_SENDMSG_SYSCALL): Likewise. - (__ASSUME_RECVMSG_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/sh/kernel-features.h - [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL): - Likewise. - [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL): - Likewise. - [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL): - Likewise. - [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL): - Likewise. - [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL): - Likewise. - [__LINUX_KERNEL_VERSION >= 0x020625] - (__ASSUME_GETSOCKNAME_SYSCALL): Likewise. - [__LINUX_KERNEL_VERSION >= 0x020625] - (__ASSUME_GETPEERNAME_SYSCALL): Likewise. - [__LINUX_KERNEL_VERSION >= 0x020625] - (__ASSUME_SOCKETPAIR_SYSCALL): Likewise. - [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL): - Likewise. - [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL): - Likewise. - [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL): - Likewise. - [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL): - Likewise. - [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL): - Likewise. - [__LINUX_KERNEL_VERSION >= 0x020625] - (__ASSUME_GETSOCKOPT_SYSCALL): Likewise. - [__LINUX_KERNEL_VERSION >= 0x020625] - (__ASSUME_SETSOCKOPT_SYSCALL): Likewise. - [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL): - Likewise. - [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL): - Likewise. - -2015-12-09 Aurelien Jarno - - * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to - record the current if the current ABI and CPU support the FP64 - extension. - (has-modd-spreg): Define to record the current if the current ABI and - CPU support 32-bit floating point values in odd FPU registers. - * sysdeps/unix/sysv/linux/mips/configure: Regenerate. - * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when - $(has-modd-spreg) equals yes. - (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes. - (tst-abi-fp64mod): Only build when both $(has-mpf64) and - $(has-modd-spreg) equal yes. - -2015-12-09 Aurelien Jarno - - * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of - basename. - -2015-12-08 Siddhesh Poyarekar - - * benchtests/Makefile (bench-math): Move ffs and ffsll... - (bench-string): ... here. - (bench): Add bench-string. - (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename - to *-benchset to reflect what they are. - (benchset): Adjust. - - * benchtests/sincos-inputs: Add inputs from sin-inputs and - cos-inputs. - -2015-12-07 Andrew Senkevich - - * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.* - __attribute__ ((__simd__)) for vector math function declarations. - -2015-12-04 Paul Eggert - - Fix typo in strncat, wcsncat manual entries - * manual/string.texi (Copying and Concatenation): Fix typos in - sample implementations of strncat and wcsncat, by having them use - the old value of the destination length, not the new one. - -2015-12-04 Joseph Myers - - [BZ #16961] - [BZ #16962] - * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a - string on the stack for strtod. - * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing - a string on the stack for strtof. - * math/s_nanl.c (__nanl): Use __strtold_nan instead of - constructing a string on the stack for strtold. - * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and - __strtold_nan to GLIBC_PRIVATE. - * math/test-nan-overflow.c: New file. - * math/test-nan-payload.c: Likewise. - * math/Makefile (tests): Add test-nan-overflow and - test-nan-payload. - -2015-12-04 Paul Eggert - - Consistency about byte vs character in string.texi - * manual/string.texi (String and Array Utilities): - Distinguish more carefully among bytes, multibyte characters, - and wide characters. Use "byte" when talking about C 'char', - to distinguish it more clearly from multibyte characters. - Say "wide character" or "multibyte character" instead of - "character", when a wide or multibyte character is intended. - Similarly for "multibyte string" versus "string". - Define these terms more carefully. - -2015-12-03 Chris Metcalf - - * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol. - * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT): - Likewise. - * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise. - * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise. - * sysdeps/sh/math_private.h: New file. - * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise. - * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE && - defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal - long double function name. - * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise. - * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: - Remove __finitel, __isinfl, and __isnanl. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: - Likewise. - * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: - Remove __finitel. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise. - -2015-12-03 Andrew Senkevich - - * math/Makefile ($(inst_libdir)/libm.so): Corrected path to - installed libmvec_nonshared.a. - -2015-12-03 Carlos Eduardo Seo - - * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo. - (sysdep_routines): Likewise. - (sysdep-rtld-routines): Likewise. - [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static - [$(subdir) = nptl](tests-static): test-get_hwcap-static - * sysdeps/powerpc/Versions: Added new - __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23. - * sysdeps/powerpc/hwcapinfo.c: New file. - (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize - and parse hwcap, hwcap2 and platform number information. - * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables - to store HWCAP+HWCAP2 and platform number. - * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets - for HWCAP+HWCAP2 and platform number in the TCB. - * sysdeps/powerpc/nptl/tls.h: New functionality. Stores - the HWCAP, HWCAP2 and platform number in the TCB. - (dtv): Added new fields for HWCAP+HWCAP2 and platform number. - (TLS_INIT_TP): Included calls to add the hwcap and - at_platform values in the TCB in TP initialization. - (TLS_DEFINE_INIT_TP): Likewise. - (THREAD_GET_HWCAP): New macro. - (THREAD_SET_HWCAP): Likewise. - (THREAD_GET_AT_PLATFORM): Likewise. - (THREAD_SET_AT_PLATFORM): Likewise. - * sysdeps/powerpc/powerpc32/dl-machine.h: - (dl_platform_init): New function that calls - __parse_hwcap_and_convert_at_platform for the dymanic linking case for - powerpc32. - * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64. - * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for - this functionality, static linking case. - * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic - linking case. - * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to - __parse_hwcap_and_convert_at_platform for the static linking case. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: - Included the new __parse_hwcap_and_convert_at_platform symbol in the - ABI list for GLIBC 2.23. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: - Likewise. - -2015-12-02 Ludovic CourtĂšs - - * configure.ac: Use 'pwd -P' instead of '/bin/pwd'. - * configure: Regenerate. - * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'. - * scripts/rellns-sh: Likewise. Remove 'pwd' variable. - -2015-12-02 Carlos O'Donell - - * iconvdata/ibm930.c: Add comment explaining encoding uses. - * iconvdata/ibm933.c: Likewise. - * iconvdata/ibm935.c: Likewise. - * iconvdata/ibm937.c: Likewise. - * iconvdata/ibm939.c: Likewise. - -2015-12-02 Adhemerval Zanella - - * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after - pthread_join. - * nptl/tst-cancel21.c (tf): Likewise. - -2015-12-01 H.J. Lu - - [BZ #19313] - * bits/typesizes.h (__CPU_MASK_TYPE): New. - * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise. - * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE): - Likewise. - * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE): - Likewise. - * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE): - Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE): - Likewise. - * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE): - * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace - unsigned long int with __CPU_MASK_TYPE. - -2015-12-01 Szabolcs Nagy - - * sysdeps/aarch64/libm-test-ulps: Regenerated. - -2015-12-01 Joseph Myers - - * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h. - (__ieee754_sqrt): Use hex float constants instead of tm256.x and - t512.x. - * sysdeps/ieee754/dbl-64/uroot.h: Remove file. - -2015-11-30 Amit Pawar - - [BZ #19214] - * sysdeps/x86/cpu-features.c (get_common_indeces): Add an - argument to return extended model. Update family and model - with extended family and model when family == 0x0f. - (init_cpu_features): Updated. - -2015-11-29 Samuel Thibault - - The RPC interface used by mmap uses the unsigned vm_offset_t, not the - signed off_t, so 32bit bigger than 2GiB values are fine actually. - - * sysdeps/mach/hurd/mmap64.c: New file. - -2015-11-29 Thomas Schwinge - - * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send - rights for its main user thread in NEWTASK. - -2015-11-28 Maciej W. Rozycki - - * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008. - (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008. - -2015-11-27 Carlos O'Donell - - [BZ #14259] - * Makeconfig: Rename localedir to complocaledir. - Rename inst_localedir to inst_complocaledir. - * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir. - * config.make.in: Use complocaledir and libc_cv_complocaledir. - * configure.ac: Use libc_cv_complocaledir. - * configure: Regenerate. - * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to - -DCOMPLOCALEDIR. - * locale/findlocale.c: Use COMPLOCALEDIR. - * locale/loadarchive.c: Likewise. - * locale/programs/locale.c: Likewise. - * locale/programs/localedef.c: Likewise. - * locale/programs/locarchive.c: Likewise. - * localedata/Makefile: Use inst_complocaledir. - * sysdeps/gnu/configure: Regenerate. - * sysdeps/hppa/configure: Regenerate. - * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate. - * sysdeps/unix/sysv/linux/mips/configure: Regenerate. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate. - * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate. - * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate. - * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate. - * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate. - -2015-11-27 Andrew Senkevich - - [BZ #19058] - * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to - AS_NEEDED. - * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases - workaround. - * sysdeps/x86_64/fpu/Makefile (libmvec-support, - libmvec-static-only-routines): Added new file. - * sysdeps/x86_64/fpu/svml_finite_alias.S: New file. - -2015-11-25 Samuel Thibault - - * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port - of interrupted RPC instead of restoring it. - - * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def. - * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove - libc_hidden_def. - * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get - into initialized data instead of common. Define rtld_hidden_data_def. - * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def. - * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add - libc_hidden_def. - (if_freenameindex): Add libc_hidden_weak. - (if_nameindex): Add libc_hidden_weak. - * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into - __open64. - * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def. - * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def. - * sysdeps/mach/nanosleep.c: Include - (__nanosleep): Rename to __libc_nanosleep. - (__nanosleep): Add weak_alias. - (nanosleep): Update alias. - -2015-11-24 Joseph Myers - - * stdlib/strtod_nan.c: New file. - * stdlib/strtod_nan_double.h: Likewise. - * stdlib/strtod_nan_float.h: Likewise. - * stdlib/strtod_nan_main.c: Likewise. - * stdlib/strtod_nan_narrow.h: Likewise. - * stdlib/strtod_nan_wide.h: Likewise. - * stdlib/strtof_nan.c: Likewise. - * stdlib/strtold_nan.c: Likewise. - * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise. - * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise. - * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise. - * wcsmbs/wcstod_nan.c: Likewise. - * wcsmbs/wcstof_nan.c: Likewise. - * wcsmbs/wcstold_nan.c: Likewise. - * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and - strtold_nan. - * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and - wcstof_nan. - * include/stdlib.h (__strtof_nan): Declare and use - libc_hidden_proto. - (__strtod_nan): Likewise. - (__strtold_nan): Likewise. - (__wcstof_nan): Likewise. - (__wcstod_nan): Likewise. - (__wcstold_nan): Likewise. - * include/wchar.h (____wcstoull_l_internal): Declare. - * stdlib/strtod_l.c: Do not include . - (____strtoull_l_internal): Remove declaration. - (STRTOF_NAN): Define macro. - (SET_MANTISSA): Remove macro. - (STRTOULL): Likewise. - (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload. - * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration. - (STRTOF_NAN): Define macro. - (SET_MANTISSA): Remove macro. - * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro. - (SET_MANTISSA): Remove macro. - * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define - macro. - (SET_MANTISSA): Remove macro. - * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define - macro. - (SET_MANTISSA): Remove macro. - * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro. - (SET_MANTISSA): Remove macro. - * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration. - * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise. - * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise. - - [BZ #19266] - * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for - upper case and lower case letters inside NAN(), not using TOLOWER. - * stdlib/tst-strtod-nan-locale-main.c: New file. - * stdlib/tst-strtod-nan-locale.c: Likewise. - * stdlib/Makefile (tests): Add tst-strtod-nan-locale. - [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out): - Depend on $(gen-locales). - ($(objpfx)tst-strtod-nan-locale): Depend on $(libm). - * wcsmbs/tst-wcstod-nan-locale.c: New file. - * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale. - [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out): - Depend on $(gen-locales). - ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm). - -2015-11-24 Chris Metcalf - - * misc/tst-tsearch.c (TIMEOUT): Set to 10. - - * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add - __finitel, __isinfl, and __isnanl. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: - Likewise. - * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add - __finitel. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise. - -2015-11-24 Gleb Fotengauer-Malinovskiy - - * malloc/memusage.c (me): Remove redundant getenv call. - -2015-10-24 Florian Weimer - - [BZ #19143] - [BZ #19164] - * nptl/check-cpuset.h: Remove. - * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new): - Remove CPU set size check. - * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np): - Likewise. - * sysdeps/unix/sysv/linux/check-cpuset.h: Remove. - * sysdeps/unix/sysv/linux/pthread_setaffinity.c - (__kernel_cpumask_size, __determine_cpumask_size): Remove. - (__pthread_setaffinity_new): Remove CPU set size check. - * sysdeps/unix/sysv/linux/sched_setaffinity.c - (__kernel_cpumask_size): Remove. - (__sched_setaffinity_new): Remove CPU set size check. - * manual/threads.texi (Default Thread Attributes): Remove stale - reference to check_cpuset_attr, determine_cpumask_size in comment. - * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests): - Remove tst-getcpu. Add tst-affinity, tst-affinity-pid. - [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread, - tst-thread-affinity-pthread2, tst-thread-affinity-sched. - * sysdeps/unix/sysv/linux/tst-affinity.c: New file. - * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file. - * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file. - * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file. - * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file. - * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file. - * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New - skeleton test file. - * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by - tst-affinity-pid. - -2015-11-24 Florian Weimer - - * scripts/update-abilist.sh: New file. - * Makefile (+subdir_targets): Add subdir_update-all-abi. - * Makerules (update-all-abi-%, update-all-abi) - (subdir_update-all-abi): New targets. - * elf/Makefile (update-all-abi): New target. - -2015-11-24 Florian Weimer - - Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code. - * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define. - (__libc_lock_define_initialized): Use it. - * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define. - * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER. - * malloc/malloc.c (main_arena): Likewise. - * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove. - * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove. - -2015-11-23 Joseph Myers - - * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h - (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions. - (PTRACE_O_SUSPEND_SECCOMP): Likewise. - (PTRACE_O_MASK): Update value. - * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL): - New value in enum __ptrace_setoptions. - (PTRACE_O_SUSPEND_SECCOMP): Likewise. - (PTRACE_O_MASK): Update value. - * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h - (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions. - (PTRACE_O_MASK): Update value. - * sysdeps/unix/sysv/linux/s390/sys/ptrace.h - (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions. - (PTRACE_O_MASK): Update value. - * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h - (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions. - (PTRACE_O_MASK): Update value. - * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP): - New value in enum __ptrace_setoptions. - (PTRACE_O_MASK): Update value. - * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL): - New value in enum __ptrace_setoptions. - (PTRACE_O_SUSPEND_SECCOMP): Likewise. - (PTRACE_O_MASK): Update value. - - * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH): - New macro. - (PACKET_AUXDATA): Likewise. - (PACKET_ORIGDEV): Likewise. - (PACKET_VERSION): Likewise. - (PACKET_HDRLEN): Likewise. - (PACKET_RESERVE): Likewise. - (PACKET_TX_RING): Likewise. - (PACKET_LOSS): Likewise. - (PACKET_VNET_HDR): Likewise. - (PACKET_TX_TIMESTAMP): Likewise. - (PACKET_TIMESTAMP): Likewise. - (PACKET_FANOUT): Likewise. - (PACKET_TX_HAS_OFF): Likewise. - (PACKET_QDISC_BYPASS): Likewise. - (PACKET_ROLLOVER_STATS): Likewise. - (PACKET_FANOUT_DATA): Likewise. - (PACKET_MR_UNICAST): Likewise. - - [BZ #19242] - * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale. - (TOUPPER): Likewise. - * stdlib/tst-strtol-locale-main.c: New file. - * stdlib/tst-strtol-locale.c: Likewise. - * stdlib/Makefile (tests): Add tst-strtol-locale. - [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9. - [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out): - Depend on $(gen-locales). - * wcsmbs/tst-wcstol-locale.c: New file. - * wcsmbs/Makefile (tests): Add tst-wcstol-locale. - [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and - tr_TR.ISO-8859-9. - [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out): - Depend on $(gen-locales). - -2015-11-20 Roland McGrath - - * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use - __glibc_likely instead of __builtin_expect. After falling back to - dyncode_create in a non-ET_DYN case, use the allocate_code_data - system interface to register the code pages as occupied. - -2015-11-20 Joseph Myers - - * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to - [!ARM_MATH_PRIVATE_H]. - [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro. - * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to - [!HPPA_MATH_PRIVATE_H]. - [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro. - * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard - to [!I386_MATH_PRIVATE_H]. - [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro. - * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]: - Change guard to [!M68K_MATH_PRIVATE_H]. - [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro. - * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change - guard to [!MICROBLAZE_MATH_PRIVATE_H]. - [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define - macro. - * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to - [!MIPS_MATH_PRIVATE_H]. - [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro. - * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to - [!NIO2_MATH_PRIVATE_H]. - [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro. - * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to - [!TILE_MATH_PRIVATE_H]. - [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro. - - [BZ #15421] - * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam, - initialize with 0 and define as weak alias of __signgam. - * include/math.h [!_ISOMAC] (__signgam): Declare. - * math/Makefile (libm-calls): Add w_lgamma_compat. - (tests): Add test-signgam-uchar, test-signgam-uchar-init, - test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and - test-signgam-ullong-init. - (tests-static): Add test-signgam-uchar-static, - test-signgam-uchar-init-static, test-signgam-uint-static, - test-signgam-uint-init-static, test-signgam-ullong-static and - test-signgam-ullong-init-static. - (CFLAGS-test-signgam-uchar.c): New variable. - (CFLAGS-test-signgam-uchar-init.c): Likewise. - (CFLAGS-test-signgam-uchar-static.c): Likewise. - (CFLAGS-test-signgam-uchar-init-static.c): Likewise. - (CFLAGS-test-signgam-uint.c): Likewise. - (CFLAGS-test-signgam-uint-init.c): Likewise. - (CFLAGS-test-signgam-uint-static.c): Likewise. - (CFLAGS-test-signgam-uint-init-static.c): Likewise. - (CFLAGS-test-signgam-ullong.c): Likewise. - (CFLAGS-test-signgam-ullong-init.c): Likewise. - (CFLAGS-test-signgam-ullong-static.c): Likewise. - (CFLAGS-test-signgam-ullong-init-static.c): Likewise. - * math/Versions (libm): Add GLIBC_2.23. - * math/lgamma-compat.h: New file. - * math/test-signgam-main.c: Likewise. - * math/test-signgam-uchar-init-static.c: Likewise. - * math/test-signgam-uchar-init.c: Likewise. - * math/test-signgam-uchar-static.c: Likewise. - * math/test-signgam-uchar.c: Likewise. - * math/test-signgam-uint-init-static.c: Likewise. - * math/test-signgam-uint-init.c: Likewise. - * math/test-signgam-uint-static.c: Likewise. - * math/test-signgam-uint.c: Likewise. - * math/test-signgam-ullong-init-static.c: Likewise. - * math/test-signgam-ullong-init.c: Likewise. - * math/test-signgam-ullong-static.c: Likewise. - * math/test-signgam-ullong.c: Likewise. - * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by - wrapper of w_lgamma_main.c. - * math/w_lgamma_compat.c: New file. - * math/w_lgamma_compatf.c: Likewise. - * math/w_lgamma_compatl.c: Likewise. - * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include - . Condition contents on [BUILD_LGAMMA]. Support - defining compatibility symbols. - (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA. - * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by - wrapper of w_lgammaf_main.c. - * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include - . Condition contents on [BUILD_LGAMMA]. Support - defining compatibility symbols. - (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA. - * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by - wrapper of w_lgammal_main.c. - * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include - . Condition contents on [BUILD_LGAMMA]. Support - defining compatibility symbols. - (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA. - * sysdeps/ia64/fpu/lgamma-compat.h: New file. - * sysdeps/ia64/fpu/w_lgamma.c: Move to .... - * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include - . - (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA. - (__ieee754_gamma): Define as alias. - * sysdeps/ia64/fpu/w_lgammaf.c: Move to .... - * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include - . - (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA. - (__ieee754_gammaf): Define as alias. - * sysdeps/ia64/fpu/w_lgammal.c: Move to .... - * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include - . - (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA. - (__ieee754_gammal): Define as alias. - * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to .... - * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include - . - [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat): - Define as alias of __lgamma_compat and use in defining lgammal. - * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to .... - * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include - and . - (USE_AS_COMPAT): New macro. - (LGAMMA_OLD_VER): Undefine and redefine. - (lgammal): Do not define here. - (gammal): Only define here if [GAMMA_ALIAS]. - * conform/linknamespace.pl (@whitelist): Remove signgam. - * sysdeps/nacl/libm.abilist: Update. - * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise. - -2015-11-20 Adhemerval Zanella - - [BZ #16364] - * sysdeps/unix/sysv/linux/sleep.c: Remove file. - * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling. - -2015-11-20 Stefan Liebler - - * sysdeps/s390/fpu/bits/mathinline.h: - Use __asm__ [__volatile__] instead of asm [volatile]. - * sysdeps/s390/abort-instr.h: Likewise. - * sysdeps/s390/atomic-machine.h: Likewise. - * sysdeps/s390/bits/string.h: Likewise. - * sysdeps/s390/dl-tls.h: Likewise. - * sysdeps/s390/fpu/e_sqrt.c: Likewise. - * sysdeps/s390/fpu/e_sqrtf.c: Likewise. - * sysdeps/s390/fpu/e_sqrtl.c: Likewise. - * sysdeps/s390/fpu/fesetround.c: Likewise. - * sysdeps/s390/fpu/fpu_control.h: Likewise. - * sysdeps/s390/fpu/s_fma.c: Likewise. - * sysdeps/s390/fpu/s_fmaf.c: Likewise. - * sysdeps/s390/memusage.h: Likewise. - * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise. - * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise. - * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise. - * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise. - * sysdeps/s390/nptl/tls.h: Likewise. - * sysdeps/s390/s390-32/__longjmp.c: Likewise. - * sysdeps/s390/s390-32/backtrace.c: Likewise. - * sysdeps/s390/s390-32/dl-machine.h: Likewise. - * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise. - * sysdeps/s390/s390-32/stackguard-macros.h: Likewise. - * sysdeps/s390/s390-32/tls-macros.h: Likewise. - * sysdeps/s390/s390-64/__longjmp.c: Likewise. - * sysdeps/s390/s390-64/backtrace.c: Likewise. - * sysdeps/s390/s390-64/dl-machine.h: Likewise. - * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise. - * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise. - * sysdeps/s390/s390-64/stackguard-macros.h: Likewise. - * sysdeps/s390/s390-64/tls-macros.h: Likewise. - * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise. - * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise. - * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise. - * sysdeps/unix/sysv/linux/s390/brk.c: Likewise. - * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise. - -2015-11-19 Adhemerval Zanella - Paul E. Murphy - - * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock): - Add lwarx hint, and use macro for acquire instruction. - * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock): - Likewise. - * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ... - * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and - update to use new atomic macros. - -2015-11-19 Paul E. Murphy - - * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c - (__lll_trylock_elision): Fix setting of adapt_count. - * sysdeps/unix/sysv/linux/powerpc/htm.h - (_ABORT_PERSISTENT): Define to clarify persistent aborts. - (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent. - (_ABORT_SYSCALL): Renumber, and clarify definition. - (_ABORT_LOCK_BUSY): Renumber, make non-persistent. - -2015-11-19 Paul E. Murphy - - * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers - after system headers to prevent MIN/MAX redefinition. Define - HAVE_ALLOCA to preserve builtin alloca usage. - -2015-11-17 Siddhesh Poyarekar - - * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function - static and don't set or restore rounding. - (__cos)[IN_SINCOS]: Likewise. - * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c. - (__sincos): Set and restore rounding mode. Remove check for infinite - or NaN input. - - * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses. - - * benchtests/scripts/bench.py (_print_arg_data): Mark output variables - as used. - -2015-11-16 Florian Weimer - - * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine. - -2015-11-14 H.J. Lu - - * config.make.in (have-glob-dat-reloc): New. - * configure.ac (libc_cv_has_glob_dat): New. Set to yes if - target supports GLOB_DAT relocaton. AC_SUBST. - * configure: Regenerated. - * elf/Makefile (tests): Add tst-prelink. - (tests-special): Add $(objpfx)tst-prelink-cmp.out. - (tst-prelink-ENV): New. - ($(objpfx)tst-prelink-conflict.out): Likewise. - ($(objpfx)tst-prelink-cmp.out): Likewise. - * sysdeps/x86/tst-prelink.c: Moved to ... - * elf/tst-prelink.c: Here. - * sysdeps/x86/tst-prelink.exp: Moved to ... - * elf/tst-prelink.exp: Here. - * sysdeps/x86/Makefile (tests): Don't add tst-prelink. - (tst-prelink-ENV): Removed. - ($(objpfx)tst-prelink-conflict.out): Likewise. - ($(objpfx)tst-prelink-cmp.out): Likewise. - (tests-special): Don't add $(objpfx)tst-prelink-cmp.out. - -2015-11-13 Joseph Myers - - [BZ #14551] - * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include . - (__mpn_construct_long_double): If high part overflows to infinity, - set errno and recompute overflowed result of the correct sign. - * sysdeps/ieee754/ldbl-128ibm/Makefile - [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm. - [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on - $(libm). - * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file. - -2015-11-12 Joseph Myers - - [BZ #15479] - [BZ #19238] - * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save - floating-point state after first operation on input. Restore full - state rather than just rounding mode. - * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise. - - [BZ #19235] - * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not - add 0.5 to integer arguments. - * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf): - Likewise. - (.LC2): New object. - -2015-11-11 Mike Frysinger - - * scripts/pylintrc (reports): Set to no. - -2015-11-10 Roland McGrath - - * elf/dl-load.c (open_verify): Take new argument FD. - Skip __open call if passed FD is not -1. - (_dl_map_object, open_path): Update callers. - * elf/dl-sysdep-open.h: New file. - * elf/dl-load.c: Include it. - (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache. - * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function. - * sysdeps/nacl/dl-sysdep-open.h: New file. - * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open - from libc to rtld. - -2015-11-10 Joseph Myers - - [BZ #19228] - * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save - and restore full floating-point state. - * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf): - Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint): - Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf): - Likewise. - * math/test-nearbyint-except-2.c: New file. - * math/Makefile (tests): Add test-nearbyint-except-2. - -2015-11-10 H.J. Lu - - [BZ #19178] - * sysdeps/x86/Makefile (tests): Add tst-prelink. - (tst-prelink-ENV): New. - ($(objpfx)tst-prelink-conflict.out): Likewise. - ($(objpfx)tst-prelink-cmp.out): Likewise. - (tests-special): Add $(objpfx)tst-prelink-cmp.out. - * sysdeps/x86/tst-prelink.c: New file. - * sysdeps/x86/tst-prelink.exp: Likewise. - -2015-11-10 Joseph Myers - - * math/auto-libm-test-in: Add another test of pow. - * math/auto-libm-test-out: Regenerated. - * math/libm-test.inc (pow_test_data): Add another test. - -2015-11-10 Adhemerval Zanella - - [BZ #19219] - * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and - weak_alias to nearbyintl. - -2015-11-10 Wilco Dijkstra - - * sysdeps/aarch64/bits/string.h: New file. - (_STRING_ARCH_unaligned): Define. - -2015-11-10 Wilco Dijkstra - - * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*. - * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise. - * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise. - * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise. - -2015-11-09 Ulrich Drepper - - * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter - for original name of the DSO. Add it to the name list of the DSO - if it is actually given. - (_dl_map_object): Keep track of whether an audit module rewrote - the file name. If yes, pass the original name to - _dl_map_object_from_fd in a new parameter, otherwise NULL. When - debugging is enabled, log the change of the file name. - * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to - _dl_map_object_from_fd. - * elf/Makefile: Build and run tst-audit11 and tst-audit12. - * elf/tst-audit11.c: New file - * elf/tst-auditmod11.c: New file. - * elf/tst-audit11mod1.c: New file. - * elf/tst-audit11mod2.c: New file. - * elf/tst-audit11mod2.map: New file. - * elf/tst-audit12.c: New file - * elf/tst-auditmod12.c: New file. - * elf/tst-audit12mod1.c: New file. - * elf/tst-audit12mod2.c: New file. - * elf/tst-audit12mod2.map: New file. - * elf/tst-audit12mod3.c: New file. - -2015-11-09 Stefan Liebler - - * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp): - Don't create weak aliases, - because versioned symbols are created later. - * sysdeps/s390/s390-32/setjmp.S - (setjmp, _setjmp): Remove weak and rename to an unique name - in SHARED case due to existing versioned symbols. - * sysdeps/s390/s390-64/setjmp.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S - (getcontext): Create weak alias only in non SHARED case. - * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise. - -2015-11-09 Stefan Liebler - - * sysdeps/unix/sysv/linux/s390/kernel-features.h: - (__ASSUME_*_SYSCALL) Define new macros. - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: - Remove socketcall syscalls. - * sysdeps/unix/sysv/linux/accept.c (__libc_accept): - Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL. - * sysdeps/unix/sysv/linux/recv.c (__libc_recv): - Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL. - * sysdeps/unix/sysv/linux/send.c (__libc_send): - Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL. - -2015-11-09 Florian Weimer - - [BZ #12926] - Terminate process on invalid netlink response. - * sysdeps/unix/sysv/linux/netlinkaccess.h - (__netlink_assert_response): Declare. - * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file. - * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet] - (sysdep_routines): Add netlink_assert_response. - * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call - __netlink_assert_response. - * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise. - * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise. - * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add - __netlink_assert_response. - -2015-11-07 H.J. Lu - - [BZ #19178] - * elf/dl-lookup.c (RTYPE_CLASS_VALID): New. - (RTYPE_CLASS_PLT): Likewise. - (RTYPE_CLASS_COPY): Likewise. - (RTYPE_CLASS_TLS): Likewise. - (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID - to set relocation type class for DL_DEBUG_PRELINK. Keep only - ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for - DL_DEBUG_PRELINK. - -2015-11-06 Joseph Myers - - * math/test-signgam-finite.c (RUN_TESTS): Correct messages about - calls with argument -0.5. - * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise. - - * configure.ac (libc_cv_z_nodelete): Remove configure test. - (libc_cv_z_nodlopen): Likewise. - (libc_cv_z_initfirst): Likewise. - * configure: Regenerated. - -2015-11-06 Florian Weimer - - Simplify abilist format to be line-based. - * scripts/abilist.awk: Collect descriptors in the descs variable. - (emit): Write descs variable and sort it - externally, with sort. - * sysdeps/**/*.abilist: Convert to new format. - -2015-11-06 Mark Wielaard - - [BZ #11460] - * io/Makefile (routines): Add fts64. - (tests): Add tst-fts and tst-fts-lfs. - (CFLAGS-fts64.c): New. - * io/Versions (GLIBC_2.23): New. - * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use - function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and - FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE, - FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary. - * io/fts.h (FTS64): New if _USE_LARGEFILE64. - (FTSENT64): Likewise. - (fts64_children): Likewise. - (fts64_close): Likewise. - (fts64_open): Likewise. - (fts64_read): Likewise. - (fts64_set): Likewise. - * io/fts64.c: New file. - * io/tst-fts.c: New test. - * io/tst-fts-lfs.c: Likewise. - * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add - GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and - fts64_set. - * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise. - * sysdeps/wordsize-64/fts.c: New file. - * sysdeps/wordsize-64/fts64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise. - -2015-11-05 Joseph Myers - - * math/libm-test.inc (NON_FINITE): New macro. - (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE. - * math/gen-libm-test.pl (show_exceptions): Add argument - $non_finite. - (parse_args): Update call to show_exceptions. - * math/test-math-finite.h: New file. - * math/test-math-no-finite.h: Likewise. - * math/test-double-finite.c: Likewise. - * math/test-float-finite.c: Likewise. - * math/test-ldouble-finite.c: Likewise. - * math/test-double.c: Include "test-math-no-finite.h". - * math/test-float.c: Include "test-math-no-finite.h". - * math/test-ldouble.c: Include "test-math-no-finite.h". - * math/test-math-inline.h (TEST_FINITE): New macro. - * math/test-math-vector.h (TEST_FINITE): Likewise. - * math/Makefile (test-longdouble-yes): Add test-ldouble-finite. - (libm-tests): Add test-float-finite and test-double-finite. - ($(objpfx)test-float-finite.o): New dependency on - $(objpfx)libm-test.stmp. - ($(objpfx)test-double-finite.o): Likewise. - ($(objpfx)test-ldouble-finite.o): Likewise. - (libm-test-no-inline-cflags): New variable. - (libm-test-finite-cflags): Likewise. - (CFLAGS-test-float-finite.c): Likewise. - (CFLAGS-test-double-finite.c): Likewise. - (CFLAGS-test-ldouble-finite.c): Likewise. - (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags). - (CFLAGS-test-double.c): Likewise. - (CFLAGS-test-ldouble.c): Likewise. - -2015-11-05 Roland McGrath - - * io/fcntl.c (__fcntl): Add ... to prototype. - * misc/ioctl.c (__ioctl): Likewise. - * misc/syscall.c (syscall): Likewise. - -2015-11-05 Joseph Myers - - * scripts/list-fixed-bugs.py: New file. - - [BZ #19213] - * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always - returned for argument 1. - * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise. - * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise. - * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise. - * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise. - * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise. - * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise. - - [BZ #19211] - * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC || - __USE_XOPEN], not if [!__USE_ISOC99]. - (lgammaf): Likewise. - (lgammal): Likewise. - (gamma): Set signgam unconditionally, not if [!__USE_ISOC99]. - (gammaf): Likewise. - (gammal): Likewise. - * math/test-signgam-finite-c11.c: New file. - * math/test-signgam-finite-c99.c: Likewise. - * math/test-signgam-finite.c: Likewise. - * math/Makefile (tests): Add test-signgam-finite, - test-signgam-finite-c99 and test-signgam-finite-c11. - (CFLAGS-test-signgam-finite.c): New variable. - (CFLAGS-test-signgam-finite-c99.c): Likewise. - (CFLAGS-test-signgam-finite-c11.c): Likewise. - - [BZ #19212] - * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change - conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >= - 500]. - [_POSIX_C_SOURCE >= 1]: Change conditional to [defined - _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1]. - [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined - _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L]. - [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined - _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L]. - [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined - _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L]. - [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined - _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L]. - - [BZ #19209] - * math/bits/math-finite.h (ldexp): Remove declaration. - (ldexpf): Likewise. - (ldexpl): Likewise. - - [BZ #19205] - * math/bits/math-finite.h (acosf): Condition declaration on - [__USE_ISOC99]. - (acosl): Likewise. - (acoshf): Likewise. - (acoshl): Likewise. - (asinf): Likewise. - (asinl): Likewise. - (atan2f): Likewise. - (atan2l): Likewise. - (atanhf): Likewise. - (atanhl): Likewise. - (coshf): Likewise. - (coshl): Likewise. - (expf): Likewise. - (expl): Likewise. - (fmodf): Likewise. - (fmodl): Likewise. - (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99]. - (j0f): Change condition to [__USE_MISC && __USE_ISOC99]. - (j0l): Likewise. - (y0f): Likewise. - (y0l): Likewise. - (j1f): Likewise. - (j1l): Likewise. - (y1f): Likewise. - (y1l): Likewise. - (jnf): Likewise. - (jnl): Likewise. - (ynf): Likewise. - (ynl): Likewise. - (lgammaf_r): Condition declaration on [__USE_ISOC99]. - (lgammal_r): Likewise. - (__lgamma_r_finite): New declaration. - (__lgammaf_r_finite): Likewise. - (__lgammal_r_finite): Likewise. - (lgamma): Use __lgamma_r_finite. - (lgammaf): Condition definition on [__USE_ISOC99]. Use - __lgammaf_r_finite. - (lgammal): Condition definition on [__USE_ISOC99]. Use - __lgammal_r_finite. - (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use - __lgamma_r_finite. - (gammaf): Condition definition on [__USE_ISOC99]. Use - __lgammaf_r_finite. - (gammal): Condition definition on [__USE_ISOC99]. Use - __lgammal_r_finite. - (logf): Condition declaration on [__USE_ISOC99]. - (logl): Likewise. - (log10f): Likewise. - (log10l): Likewise. - (ldexpf): Likewise. - (ldexpl): Likewise. - (powf): Likewise. - (powl): Likewise. - (remainder): Condition declaration on [__USE_XOPEN_EXTENDED || - __USE_ISOC99]. - (remainderf): Condition declaration on [__USE_ISOC99]. - (remainderl): Likewise. - (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8]. - (scalbf): Change condition to [__USE_MISC && __USE_ISOC99]. - (scalbl): Likewise. - (sinhf): Condition declaration on [__USE_ISOC99]. - (sinhl): Likewise. - (sqrtf): Likewise. - (sqrtl): Likewise. - -2015-11-04 Joseph Myers - - * sysdeps/arm/atomic-machine.h - [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]: - Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]. - [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]: - Remove conditional code. - [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]: - Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]. - * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: - Change conditional to [__ASSEMBLER__]. - [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code. - [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to - [!__ASSEMBLER__]. - [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional - code. - * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove - conditional macro definitions. - (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP. - (__arch_compare_and_exchange_val_16_acq): Likewise. - (__arch_compare_and_exchange_val_32_acq): Likewise. - (atomic_exchange_and_add): Likewise. - (atomic_add): Likewise. - (atomic_add_negative): Likewise. - (atomic_add_zero): Likewise. - (atomic_bit_set): Likewise. - (atomic_bit_test_set): Likewise. - * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make - code unconditional. - [!__GNUC_PREREQ (4, 7)]: Remove conditional code. - - * math/test-math-errno.h: New file. - * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of - empty. - (TEST_ERRNO): New macro. - (TEST_EXCEPTIONS): Likewise. - * math/test-math-no-inline.h (TEST_INLINE): Likewise. - (TEST_EXCEPTIONS): Likewise. - * math/test-math-vector.h (TEST_ERRNO): Likewise. - * math/test-double.c: Include "test-math-errno.h". - * math/test-float.c: Likewise. - * math/test-ldouble.c: Likewise. - * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make - code unconditional. - (test_exceptions): Only run code if TEST_EXCEPTIONS. - (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code - unconditional. - (test_errno): Only run code if TEST_ERRNO. - (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef. - -2015-11-04 Florian Weimer - - * nptl/tst-once5.cc: Remove attribution. - -2015-11-04 Joseph Myers - - * math/auto-libm-test-in: Add more tests of sin, sincos, sinh, - sqrt, tan, tanh, y0, y1 and yn. - * math/auto-libm-test-out: Regenerated. - * math/libm-test.inc (scalb_test_data): Add more tests. - (scalbn_test_data): Likewise. - (scalbln_test_data): Likewise. - (signbit_test_data): Likewise. - (sin_test_data): Likewise. - (sincos_test_data): Likewise. - (sinh_test_data): Likewise. - (sqrt_test_data): Likewise. - (tan_test_data): Likewise. - (tanh_test_data): Likewise. - (tgamma_test_data): Likewise. - (y0_test_data): Likewise. - (y1_test_data): Likewise. - (yn_test_data): Likewise. - (significand_test_data): Likewise. - * sysdeps/i386/fpu/libm-test-ulps: Update. - -2015-11-03 David Kastrup - - [BZ #18604] - * assert/assert.h (assert): Don't macro-expand failed assertion - expression in error message. - * malloc/malloc.c (assert): Likewise. - -2015-11-03 Joseph Myers - - * configure.ac (libc_cv_ld_no_whole_archive): Remove configure - test. - * configure: Regenerated. - -2015-11-02 Joseph Myers - - * math/libm-test.inc (modf_test_data): Add more tests. - (nearbyint_test_data): Likewise. - (nextafter_test_data): Likewise. - (nexttoward_test_data): Likewise. - (pow_test_data): Likewise. - (remainder_test_data): Likewise. - (remquo_test_data): Likewise. - (rint_test_data): Likewise. - - [BZ #19201] - * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): - Check for zero remainder in case of large exponents and ensure - correct sign of result in that case. - * math/libm-test.inc (remainder_test_data): Add more tests. - - [BZ #6799] - * math/s_nextafter.c: Include . - (__nextafter): Set errno on overflow and underflow. - * math/s_nexttowardf.c: Include . - (__nexttowardf): Set errno on overflow and underflow. - * sysdeps/i386/fpu/s_nextafterl.c: Include . - (__nextafterl): Set errno on overflow and underflow. - * sysdeps/i386/fpu/s_nexttoward.c: Include . - (__nexttoward): Set errno on overflow and underflow. - * sysdeps/i386/fpu/s_nexttowardf.c: Include . - (__nexttowardf): Set errno on overflow and underflow. - * sysdeps/ieee754/flt-32/s_nextafterf.c: Include . - (__nextafterf): Set errno on overflow and underflow. - * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include . - (__nextafterl): Set errno on overflow and underflow. - * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include . - (__nexttoward): Set errno on overflow and underflow. - * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include . - (__nexttowardf): Set errno on overflow and underflow. - * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include . - (__nextafterl): Set errno on overflow and underflow. - * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include . - (__nexttoward): Set errno on overflow and underflow. - * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include . - (__nexttowardf): Set errno on overflow and underflow. - * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include . - (__nexttoward): Set errno on overflow and underflow. - * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include . - (__nexttowardf): Set errno on overflow and underflow. - * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include . - (__nldbl_nexttowardf): Set errno on overflow and underflow. - * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include . - (__nextafterl): Set errno on overflow and underflow. - * math/libm-test.inc (nextafter_test_data): Do not allow errno - setting to be missing on overflow. Add more tests. - (nexttoward_test_data): Likewise. - - * configure.ac (libc_cv_initfini_array): Remove configure test. - * configure: Regenerated. - -2015-10-29 Joseph Myers - - [BZ #19189] - * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for - non-finite argument handle arguments with negative sign. - - * math/libm-test.inc (j0_test_data): Do not test sign of zero - result from infinite argument. - (j1_test_data): Likewise. - (jn_test_data): Likewise. - (y0_test_data): Likewise. - (y1_test_data): Likewise. - (yn_test_data): Likewise. - - [BZ #16171] - * math/w_remainder.c (drem): Define as weak alias of __remainder. - [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder. - * math/w_remainderf.c (dremf): Define as weak alias of - __remainderf. - * math/w_remainderl.c (dreml): Define as weak alias of - __remainderl. - * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of - __remainder. - * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of - __remainderf. - * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of - __remainderl. - * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as - weak alias of remainderl. - * sysdeps/ieee754/ldbl-opt/w_remainder.c - [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong - alias of __remainder. - [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol. - * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as - strong alias of __remainderl. - (dreml): Use long_double_symbol. - * math/Makefile (libm-calls): Remove w_drem. - * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem. - (CFLAGS-nldbl-drem.c): Remove variable. - (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml. - * math/w_drem.c: Remove file. - * math/w_dremf.c: Likewise. - * math/w_dreml.c: Likewise. - * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise. - * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise. - - * sysdeps/i386/configure.ac (cpuid.h): Do not test for header. - * sysdeps/i386/configure: Regenerated. - * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header. - * sysdeps/x86_64/configure: Regenerated. - - * configure.ac (libc_cv_asm_protected_directive): Remove configure - test. - (libc_cv_visibility_attribute): Likewise. - (libc_cv_protected_data): Test unconditionally. - (libc_cv_broken_visibility_attribute): Remove configure test. - (libc_cv_have_sdata_section): Test unconditionally. - * configure: Regenerated. - - * include/libc-internal.h (libc_max_align_t): Remove typedef. - * include/scratch_buffer.h: Include instead of - . - (struct scratch_buffer): Use max_align_t instead of - libc_max_align_t. - -2015-10-29 Florian Weimer - - * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array - instead of extend_alloca. Change control flow to avoid a goto. - Remove assert which is trivially always true. - -2015-10-28 Joseph Myers - - [BZ #16068] - * sysdeps/i386/fpu/fesetenv.c: Include . - (FE_ALL_EXCEPT_X86): New macro. - (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of - FE_ALL_EXCEPT. Ensure precision control is included in - floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV - handle "denormal operand exception" and clear FZ and DAZ bits. - * sysdeps/x86_64/fpu/fesetenv.c: Include . - (FE_ALL_EXCEPT_X86): New macro. - (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of - FE_ALL_EXCEPT. Ensure precision control is included in - floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV - handle "denormal operand exception" and clear FZ and DAZ bits. - * sysdeps/x86/fpu/test-fenv-sse-2.c: New file. - * sysdeps/x86/fpu/test-fenv-x87.c: Likewise. - * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add - test-fenv-x87 and test-fenv-sse-2. - [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable. - - * math/libm-test.inc (BUILD_COMPLEX): Remove macro. - * math/test-double.h (BUILD_COMPLEX): New macro. - * math/test-float.h (BUILD_COMPLEX): Likewise. - * math/test-ldouble.h (BUILD_COMPLEX): Likewise. - - * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN, - DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__, - __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__. - * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN - instead of DBL_DENORM_MIN in comment. - * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to - LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment. - * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include . - (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__. - * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to - LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment. - -2015-10-28 Florian Weimer - - [BZ #19048] - * malloc/malloc.c (struct malloc_state): Update comment. Add - attached_threads member. - (main_arena): Initialize attached_threads. - * malloc/arena.c (list_lock): Update comment. - (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise. - (ptmalloc_unlock_all2): Reinitialize arena reference counts. - (deattach_arena): New function. - (_int_new_arena): Initialize arena reference count and deattach - replaced arena. - (get_free_list, reused_arena): Update reference count and deattach - replaced arena. - (arena_thread_freeres): Update arena reference count and only put - unreferenced arenas on the free list. - -2015-10-28 Joseph Myers - - [BZ #19181] - * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised - SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV. - * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise. - * math/test-fenv-clear-main.c: New file. - * math/test-fenv-clear.c: Likewise. - * math/Makefile (tests): Add test-fenv-clear. - * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file. - * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add - test-fenv-clear-sse. - [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable. - - * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG, - DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__, - __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__. - -2015-10-28 Carlos Eduardo Seo - - * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in - static libc. - -2015-10-28 Joseph Myers - - * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure - test. - * sysdeps/i386/configure: Regenerated. - * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure - test. - * sysdeps/x86_64/configure: Regenerated. - * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef. - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add - memset-avx2 unconditionally instead of conditionally on - [$(config-cflags-avx2) = yes]. - * sysdeps/x86_64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code - unconditional. - * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise. - * sysdeps/x86_64/multiarch/memset_chk.S - [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional - to [IS_IN (libc) && SHARED]. - -2015-10-27 Joseph Myers - - * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove - configure test. - * sysdeps/arm/configure: Regenerated. - * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc): - Define variable if not already defined. - - [BZ #17404] - * sysdeps/mips/atomic-machine.h - [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]: - Change conditional to [__GNUC_PREREQ (4, 8) || __mips16]. - [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code. - - * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code - unconditional. - * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise. - [!__GNUC_PREREQ (4, 7)]: Remove conditional code. - * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code - unconditional. - [!__GNUC_PREREQ (4, 7)]: Remove conditional code. - * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code - unconditional. - [!__GNUC_PREREQ (4, 7)]: Remove conditional code. - * stdlib/setenv.c - [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make - code unconditional. - [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]: - Remove conditional code. - * sysdeps/ieee754/dbl-64/e_lgamma_r.c - (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code - unconditional. - (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional - code. - * sysdeps/ieee754/flt-32/e_lgammaf_r.c - (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code - unconditional. - (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional - code. - * sysdeps/ieee754/ldbl-128/k_tanl.c - (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional. - (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code. - * sysdeps/ieee754/ldbl-128ibm/k_tanl.c - (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional. - (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code. - * sysdeps/ieee754/ldbl-96/e_lgammal_r.c - (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code - unconditional. - (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional - code. - * sysdeps/ieee754/ldbl-96/k_tanl.c - (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional. - (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code. - - * nptl/tst-initializers1-c11.c: New file. - * nptl/tst-initializers1-gnu11.c: Likewise. - * nptl/Makefile (tests): Add these new tests. - (CFLAGS-tst-initializers1-c11.c): New variable. - (CFLAGS-tst-initializers1-gnu11.c): Likewise. - - * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99. - * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11 - instead of -std=gnu99. - * configure.ac (systemtap): Test with -std=gnu11 instead of - -std=gnu99. - * configure: Regenerated. - * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99 - in compilation command in comment. - - * sysdeps/nptl/configure.ac: Remove file. - * sysdeps/nptl/configure: Remove generated file. - * configure.ac (libc_cv_forced_unwind): Do not substitute. - * configure: Regenerated. - * config.h.in (HAVE_FORCED_UNWIND): Remove #undef. - * config.make.in (have-forced-unwind): Remove variable. - * nptl/Makefile [$(have-forced-unwind) = yes]: Make code - unconditional. - * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise. - * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise. - (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code. - * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional. - * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code - unconditional. - -2015-10-27 Paul E. Murphy - - [BZ #19174] - * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of - .skip_lock_out_of_tbegin_retries. - * sysdeps/unix/sysv/linux/powerpc/elision-lock.c - (__lll_lock_elision): Likewise, and respect a value of - try_tbegin <= 0. - -2015-10-27 Carlos Eduardo Seo - - * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case - statement. - -2015-10-27 Joseph Myers - - * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove - variable. - (test-xfail-ISO11/stdalign.h/conform): Likewise. - (test-xfail-ISO11/stdnoreturn.h/conform): Likewise. - - * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead - of -std=c1x -D_ISOC11_SOURCE. - - * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later. - * configure: Regenerated. - * manual/install.texi (Tools for Compilation): Document - requirement for GCC 4.7 or later. - * INSTALL: Regenerated. - -2015-10-27 Ludovic CourtĂšs - - * locale/loadlocale.c (_nl_intern_locale_data): Change assertion - on CNT to a conditional jump to 'puntdata'. - -2015-10-27 Joseph Myers - - * configure.ac (libc_cv_gcc___thread): Remove configure test. - (libc_cv_gcc_tls_model_attr): Likewise. - * configure: Regenerated. - - * configure.ac (libc_cv_need_minus_P): Remove configure test. - * configure: Regenerated. - * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment. - -2015-10-26 Joseph Myers - - * configure.ac (old_glibc_headers): Remove configure test. - * configure: Regenerated. - * config.make.in (old-glibc-headers): Remove variable. - * Makefile [!$(install_root) && $(old-glibc-headers) = yes] - (install): Remove dependency on remove-old-headers. - (headers2_0): Remove variable. - (remove-old-headers): Remove rule. - - * configure.ac (libc_cv_dot_text): Remove configure test. - (libc_cv_asm_set_directive): Use .text instead of - ${libc_cv_dot_text} in configure test. - * configure: Regenerated. - -2015-10-26 Florian Weimer - - [BZ #19168] - * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated. - -2015-10-26 Florian Weimer - - * configure.ac (CXX): Clear the variable if the C++ toolchain does - not support static linking. - * configure: Regenerate. - -2015-10-23 Joseph Myers - - * math/libm-test.inc (check_float_internal): Do not special-case - errors up to 0.5 ulp. - - * math/auto-libm-test-in: Add more tests of log, log10, log1p and - log2. - * math/auto-libm-test-out: Regenerated. - * math/libm-test.inc (MAX_EXP): New macro. - (ilogb_test_data): Add more tests. - (isfinite_test_data): Likewise. - (isgreater_test_data): Likewise. - (isgreaterequal_test_data): Likewise. - (isinf_test_data): Likewise. - (isless_test_data): Likewise. - (islessequal_test_data): Likewise. - (islessgreater_test_data): Likewise. - (isnan_test_data): Likewise. - (isnormal_test_data): Likewise. - (issignaling_test_data): Likewise. - (isunordered_test_data): Likewise. - (j0_test_data): Likewise. - (j1_test_data): Likewise. - (jn_test_data): Likewise. - (lgamma_test_data): Likewise. - (log_test_data): Likewise. - (log10_test_data): Likewise. - (log1p_test_data): Likewise. - (log2_test_data): Likewise. - (logb_test_data): Likewise. - * sysdeps/x86_64/fpu/libm-test-ulps: Update. - - [BZ #18611] - * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and - avoid excess range and precision on underflow. - * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise. - * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise. - * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise. - * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on - underflow. - * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise. - * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise. - * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise. - * math/auto-libm-test-in: Do not allow missing errno setting for - tests of j1 and jn. - * math/auto-libm-test-out: Regenerated. - -2015-10-22 Joseph Myers - - [BZ #15491] - * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore - floating-point environment instead of clearing all exceptions. - * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise. - * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise, - merging in "invalid" exceptions from frndint. - * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise. - * math/test-nearbyint-except.c: New file. - * math/Makefile (tests): Add test-nearbyint-except. - -2015-10-22 Chris Metcalf - - * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0. - - * sysdeps/tile/libm-test-ulps: Regenerated. - -2015-10-22 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c - (__NR_sync_file_range2): Assume it is always defined. - * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c - (__NR_sync_file_range): Assume it is always defined. - -2015-10-22 Andreas Schwab - - * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use - INTERNAL_SYSCALL_ERRNO. - * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise. - * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise. - * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise. - * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): - Likewise. - * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise. - -2015-10-21 Joseph Myers - - * io/tst-fcntl.c (fd): New static variable. - (do_prepare): Open temporary file here.... - (do_test): ...not here. - - * io/ftwtest-sh: Also trap on exit to remove temporary files. - -2015-10-21 H.J. Lu - - * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace - __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5. - * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5): - Moved before "#ifdef __ASSEMBLER__". - -2015-10-21 Joseph Myers - - [BZ #19156] - * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for - arguments very close to 0. - -2015-10-21 Chris Metcalf - - * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END) - (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining. - -2015-10-21 H.J. Lu - - * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5): - New. Defined for GCC 5 and above when not compiling for - profiling. - Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5. - - * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c): - Renamed to ... - (CFLAGS-epoll_pwait.o): This. - (CFLAGS-mmap.c): Renamed to ... - (CFLAGS-mmap.o): This. - (CFLAGS-mmap64.c): Renamed to ... - (CFLAGS-mmap64.o): This. - (CFLAGS-epoll_pwait.os): New. - (CFLAGS-mmap.os): Likewise. - (CFLAGS-mmap64.os): Likewise. - (CFLAGS-semtimedop.os): Likewise. - (CFLAGS-semtimedop.c): Renamed to ... - (CFLAGS-semtimedop.o): This. - -2015-10-21 Tulio Magno Quites Machado Filho - - * debug/tst-backtrace4.c (handle_signal): Fix a comment and - warning message. - -2015-10-21 Joseph Myers - - * Makeconfig (+gccwarn-c): Add -Wold-style-definition. - * Makefile ($(objpfx)c++-types-check.out): Filter out - $(+gccwarn-c) instead of -Wstrict-prototypes. - - * io/fts.c (fts_open): Convert to prototype-style function - definition. - * malloc/mcheck.c (mcheck): Likewise. - (mcheck_pedantic): Likewise. - * posix/regexec.c (re_search_2_stub): Likewise. Use - internal_function. - (re_search_internal): Likewise. - * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to - prototype-style function definition. - * sunrpc/clnt_udp.c (clntudp_call): Likewise. - * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise. - * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise. - (xdr_utmpptr): Likewise. - (xdr_utmparr): Likewise. - (xdr_utmpidle): Likewise. - (xdr_utmpidleptr): Likewise. - (xdr_utmpidlearr): Likewise. - - * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn, - log, log10 and log2. - * math/auto-libm-test-out: Regenerated. - * math/libm-test.inc (fmod_test_data): Add more tests. - (fpclassify_test_data): Likewise. - (frexp_test_data): Likewise. - (hypot_test_data): Likewise. - (ilogb_test_data): Likewise. - -2015-10-20 Joseph Myers - - * debug/fortify_fail.c (__fortify_fail): Convert to - prototype-style function definition. Use internal_function. - * libio/genops.c (save_for_backup): Convert to prototype-style - function definition. - * libio/wgenops.c (save_for_wbackup): Likewise. - * login/grantpt.c (grantpt): Likewise. - * login/ptsname.c (ptsname): Likewise. - (__ptsname_r): Likewise. - * login/unlockpt.c (unlockpt): Likewise. - * mach/msgserver.c (__mach_msg_server): Likewise. - * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise. - (__APPEND (FUNC_PREFIX, ecvt)): Likewise. - (__APPEND (FUNC_PREFIX, gcvt)): Likewise. - * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise. - (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise. - * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise. - * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer): - Likewise. - * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use - internal_function. - * nptl/pthread_atfork.c (__pthread_atfork): Convert to - prototype-style function definition. - * nptl/pthread_create.c (__pthread_create_2_1): Likewise. - [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)] - (__pthread_create_2_0): Likewise. - * nptl/pthread_key_create.c (__pthread_key_create): Likewise. - * nptl/register-atfork.c (__register_atfork): Likewise. - * posix/glob.c (glob): Likewise. - * posix/regcomp.c (re_comp): Likewise. - * posix/regexec.c (re_exec): Likewise. - * stdlib/add_n.c [__STDC__]: Make code unconditional. - [!__STDC__]: Remove conditional code. - * stdlib/cmp.c [__STDC__]: Make code unconditional. - [!__STDC__]: Remove conditional code. - * stdlib/divmod_1.c [__STDC__]: Make code unconditional. - [!__STDC__]: Remove conditional code. - * stdlib/divrem.c [__STDC__]: Make code unconditional. - [!__STDC__]: Remove conditional code. - * stdlib/lshift.c [__STDC__]: Make code unconditional. - [!__STDC__]: Remove conditional code. - * stdlib/mod_1.c [__STDC__]: Make code unconditional. - [!__STDC__]: Remove conditional code. - * stdlib/mul.c [__STDC__]: Make code unconditional. - [!__STDC__]: Remove conditional code. - * stdlib/mul_n.c [__STDC__]: Make code unconditional. - [!__STDC__]: Remove conditional code. - * stdlib/rshift.c [__STDC__]: Make code unconditional. - [!__STDC__]: Remove conditional code. - * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style - function definition. - (STRTOF): Likewise. - * stdlib/strtod_l.c (__STRTOF): Likewise. - * stdlib/strtol.c (INTERNAL (strtol)): Likewise. - * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise. - (__strtol_l): Likewise. - * stdlib/sub_n.c [__STDC__]: Make code unconditional. - [!__STDC__]: Remove conditional code. - * string/memrchr.c (MEMRCHR): Convert to prototype-style function - definition. - * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro. - [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument - type. - (__strcasecmp): Convert to prototype-style function definition. - * string/strncase.c (LOCALE_PARAM_DECL): Remove macro. - [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument - type. - (__strncasecmp): Convert to prototype-style function definition. - * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise. - * sunrpc/xdr.c (xdr_union): Likewise. - * sunrpc/xdr_array.c (xdr_array): Likewise. - * sunrpc/xdr_ref.c (xdr_reference): Likewise. - * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise. - * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)): - Likewise. - * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix): - Likewise. - * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise. - * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): - Likewise. - * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro. - (LOCALE_PARAM_PROTO): Likewise. - [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include - argument type. - (ut_argument_spec): Remove macro. - (ut_argument_spec_iso): Rename to ut_argument_spec. - (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to - prototype-style function definition. - (memcpy_uppcase): Likewise. - (__strftime_internal): Likewise. - (my_strftime): Likewise. - * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro. - (LOCALE_PARAM_DECL): Likewise. - [_LIBC] (LOCALE_PARAM): Include argument type. - (__strptime_internal): Convert to prototype-style function - definition. - (strptime): Likewise. - * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro. - [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument - type. - (__wcscasecmp): Convert to prototype-style function definition. - * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro. - [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument - type. - (__wcsncasecmp): Convert to prototype-style function definition. - - * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style - function definition. - * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise. - * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise. - * debug/backtracesyms.c (__backtrace_symbols): Likewise. - * elf/dl-minimal.c (_itoa): Likewise. - * hurd/hurdmalloc.c (malloc): Likewise. - (free): Likewise. - (realloc): Likewise. - * inet/inet6_option.c (inet6_option_space): Likewise. - (inet6_option_init): Likewise. - (inet6_option_append): Likewise. - (inet6_option_alloc): Likewise. - (inet6_option_next): Likewise. - (inet6_option_find): Likewise. - * io/ftw.c (FTW_NAME): Likewise. - (NFTW_NAME): Likewise. - (NFTW_NEW_NAME): Likewise. - (NFTW_OLD_NAME): Likewise. - * libio/iofwide.c (_IO_fwide): Likewise. - * libio/strops.c (_IO_str_init_static_internal): Likewise. - (_IO_str_init_static): Likewise. - (_IO_str_init_readonly): Likewise. - (_IO_str_overflow): Likewise. - (_IO_str_underflow): Likewise. - (_IO_str_count): Likewise. - (_IO_str_seekoff): Likewise. - (_IO_str_pbackfail): Likewise. - (_IO_str_finish): Likewise. - * libio/wstrops.c (_IO_wstr_init_static): Likewise. - (_IO_wstr_overflow): Likewise. - (_IO_wstr_underflow): Likewise. - (_IO_wstr_count): Likewise. - (_IO_wstr_seekoff): Likewise. - (_IO_wstr_pbackfail): Likewise. - (_IO_wstr_finish): Likewise. - * locale/programs/localedef.c (normalize_codeset): Likewise. - * locale/programs/locarchive.c (add_locale_to_archive): Likewise. - (add_locales_to_archive): Likewise. - (delete_locales_from_archive): Likewise. - * malloc/malloc.c (__libc_mallinfo): Likewise. - * math/gen-auto-libm-tests.c (init_fp_formats): Likewise. - * misc/tsearch.c (__tfind): Likewise. - * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise. - * nptl/pthread_attr_getdetachstate.c - (__pthread_attr_getdetachstate): Likewise. - * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize): - Likewise. - * nptl/pthread_attr_getinheritsched.c - (__pthread_attr_getinheritsched): Likewise. - * nptl/pthread_attr_getschedparam.c - (__pthread_attr_getschedparam): Likewise. - * nptl/pthread_attr_getschedpolicy.c - (__pthread_attr_getschedpolicy): Likewise. - * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): - Likewise. - * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): - Likewise. - * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr): - Likewise. - * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize): - Likewise. - * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise. - (__pthread_attr_init_2_0): Likewise. - * nptl/pthread_attr_setdetachstate.c - (__pthread_attr_setdetachstate): Likewise. - * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize): - Likewise. - * nptl/pthread_attr_setinheritsched.c - (__pthread_attr_setinheritsched): Likewise. - * nptl/pthread_attr_setschedparam.c - (__pthread_attr_setschedparam): Likewise. - * nptl/pthread_attr_setschedpolicy.c - (__pthread_attr_setschedpolicy): Likewise. - * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): - Likewise. - * nptl/pthread_attr_setstack.c (__pthread_attr_setstack): - Likewise. - * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr): - Likewise. - * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize): - Likewise. - * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock): - Likewise. - * nptl/pthread_create.c (__find_in_stack_list): Likewise. - * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise. - * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to - use internal_function. - * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to - prototype-style function definition. - * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise. - (__pthread_mutex_cond_lock_adjust): Likewise. Use - internal_function. - * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): - Convert to prototype-style function definition. - * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): - Likewise. - * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt): - Likewise. - (__pthread_mutex_unlock): Likewise. - * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise. - * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise. - * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise. - * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise. - * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise. - * nss/makedb.c (process_input): Likewise. - * posix/fnmatch.c (__strchrnul): Likewise. - (__wcschrnul): Likewise. - (fnmatch): Likewise. - * posix/fnmatch_loop.c (FCT): Likewise. - * posix/glob.c (globfree): Likewise. - (__glob_pattern_type): Likewise. - (__glob_pattern_p): Likewise. - * posix/regcomp.c (re_compile_pattern): Likewise. - (re_set_syntax): Likewise. - (re_compile_fastmap): Likewise. - (regcomp): Likewise. - (regerror): Likewise. - (regfree): Likewise. - * posix/regexec.c (regexec): Likewise. - (re_match): Likewise. - (re_search): Likewise. - (re_match_2): Likewise. - (re_search_2): Likewise. - (re_search_stub): Likewise. Use internal_function - (re_copy_regs): Likewise. - (re_set_registers): Convert to prototype-style function - definition. - (prune_impossible_nodes): Likewise. Use internal_function. - * resolv/inet_net_pton.c (inet_net_pton): Convert to - prototype-style function definition. - (inet_net_pton_ipv4): Likewise. - * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise. - * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise. - * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise. - * sysdeps/pthread/timer_delete.c (timer_delete): Likewise. - * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise. - Make variadic. - * time/strptime_l.c (localtime_r): Convert to prototype-style - function definition. - * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise. - * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise. - * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise. - * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise. - - * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function - definition. - (_ufc_doit_r): Likewise. - * crypt/crypt_util.c (_ufc_copymem): Likewise. - (_ufc_output_conversion_r): Likewise. - * inet/inet_mkadr.c (__inet_makeaddr): Likewise. - * inet/rcmd.c (rcmd_af): Likewise. - (rcmd): Likewise. - (ruserok_af): Likewise. - (ruserok): Likewise. - (ruserok2_sa): Likewise. - (ruserok_sa): Likewise. - (iruserok_af): Likewise. - (iruserok): Likewise. - (__ivaliduser): Likewise. - (__validuser2_sa): Likewise. - * inet/rexec.c (rexec_af): Likewise. - (rexec): Likewise. - * inet/ruserpass.c (ruserpass): Likewise. - * locale/programs/xmalloc.c (xcalloc): Likewise. - * manual/examples/timeval_subtract.c (timeval_subtract): Likewise. - * math/w_drem.c (__drem): Likewise. - * math/w_dremf.c (__dremf): Likewise. - * math/w_dreml.c (__dreml): Likewise. - * misc/daemon.c (daemon): Likewise. - * resolv/res_debug.c (p_fqnname): Likewise. - * stdlib/div.c (div): Likewise. - * string/memcmp.c (memcmp_bytes): Likewise. - * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise. - * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise. - - * crypt/cert.c (main): Convert to prototype-style function - definition. - * io/pipe.c (__pipe): Likewise. - * io/pipe2.c (__pipe2): Likewise. - * misc/futimesat.c (futimesat): Likewise. - * misc/utimes.c (__utimes): Likewise. - * posix/execve.c (__execve): Likewise. - * posix/execvp.c (execvp): Likewise. - * posix/execvpe.c (__execvpe): Likewise. - * posix/fexecve.c (fexecve): Likewise. - * socket/socketpair.c (socketpair): Likewise. - * stdlib/drand48-iter.c (__drand48_iterate): Likewise. - * stdlib/erand48.c (erand48): Likewise. - * stdlib/erand48_r.c (__erand48_r): Likewise. - * stdlib/jrand48.c (jrand48): Likewise. - * stdlib/jrand48_r.c (__jrand48_r): Likewise. - * stdlib/lcong48.c (lcong48): Likewise. - * stdlib/lcong48_r.c (__lcong48_r): Likewise. - * stdlib/nrand48.c (nrand48): Likewise. - * stdlib/nrand48_r.c (__nrand48_r): Likewise. - * stdlib/seed48.c (seed48): Likewise. - * stdlib/seed48_r.c (__seed48_r): Likewise. - * sysdeps/mach/hurd/execve.c (__execve): Likewise. - * sysdeps/mach/hurd/utimes.c (__utimes): Likewise. - * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise. - -2015-10-19 Joseph Myers - - * configure.ac (libc_cv_asm_unique_object): Remove configure test. - * configure: Regenerated. - * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef. - * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code - unconditional. - * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise. - * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise. - * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise. - (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code. - * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code - unconditional. - * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise. - - * posix/Makefile (CFLAGS-regex.c): Remove variable. - * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes. - - * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style - function definition. - * crypt/crypt_util.c (__encrypt_r): Likewise. - * libio/genops.c (_IO_no_init): Likewise. - * libio/iofopncook.c (_IO_fopencookie): Likewise. - (_IO_old_fopencookie): Likewise. - * libio/iofwrite_u.c (fwrite_unlocked): Likewise. - * libio/iogetline.c (_IO_getline): Likewise. - (_IO_getline_info): Likewise. - * libio/iogetwline.c (_IO_getwline): Likewise. - (_IO_getwline_info): Likewise. - * libio/vsnprintf.c (_IO_vsnprintf): Likewise. - * libio/vswprintf.c (_IO_vswprintf): Likewise. - * locale/programs/simple-hash.c (insert_entry_2): Likewise. - (find_entry): Likewise. - (iterate_table): Likewise. - (lookup): Likewise. - * login/forkpty.c (forkpty): Likewise. - * misc/hsearch_r.c (__hsearch_r): Likewise. - * misc/select.c (__select): Likewise. - * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore): - Likewise. - * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0): - Likewise. - * nptl/old_pthread_cond_timedwait.c - (__pthread_cond_timedwait_2_0): Likewise. - * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise. - * nptl/pthread_barrierattr_getpshared.c - (pthread_barrierattr_getpshared): Likewise. - * nptl/pthread_getschedparam.c (__pthread_getschedparam): - Likewise. - * nptl/pthread_mutex_setprioceiling.c - (pthread_mutex_setprioceiling): Likewise. - * nptl/pthread_mutexattr_getprioceiling.c - (pthread_mutexattr_getprioceiling): Likewise. - * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise. - * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock): - Likewise. - * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): - Likewise. - * nptl/pthread_setschedparam.c (__pthread_setschedparam): - Likewise. - * socket/recvfrom.c (__recvfrom): Likewise. - * socket/sendto.c (__sendto): Likewise. - * socket/setsockopt.c (__setsockopt): Likewise. - * stdio-common/_itoa.c (_itoa): Likewise. - * stdio-common/_itowa.c (_itowa): Likewise. - * stdio-common/reg-printf.c (__register_printf_specifier): - Likewise. - (__register_printf_function): Likewise. - * stdio-common/tempname.c (__path_search): Likewise. - * stdlib/addmul_1.c (mpn_addmul_1): Likewise. - * stdlib/mul_1.c (mpn_mul_1): Likewise. - * stdlib/random_r.c (__initstate_r): Likewise. - * stdlib/setenv.c (__add_to_environ): Likewise. - * stdlib/submul_1.c (mpn_submul_1): Likewise. - * streams/getpmsg.c (getpmsg): Likewise. - * streams/putmsg.c (putmsg): Likewise. - * streams/putpmsg.c (putpmsg): Likewise. - * sunrpc/clnt_raw.c (clntraw_call): Likewise. - * sunrpc/clnt_tcp.c (clnttcp_call): Likewise. - * sunrpc/clnt_udp.c (clntudp_create): Likewise. - * sunrpc/clnt_unix.c (clntunix_call): Likewise. - * sunrpc/pm_getport.c (pmap_getport): Likewise. - * sunrpc/svc_udp.c (cache_get): Likewise. - * sunrpc/xdr_array.c (xdr_vector): Likewise. - * sysdeps/mach/hurd/getcwd.c - (__canonicalize_directory_name_internal): Likewise. - * sysdeps/mach/hurd/pselect.c (__pselect): Likewise. - * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise. - * sysdeps/mach/hurd/select.c (__select): Likewise. - * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise. - * sysdeps/pthread/timer_settime.c (timer_settime): Likewise. - * sysdeps/sparc/nptl/pthread_barrier_init.c - (__pthread_barrier_init): Likewise. - * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c - (__pthread_cond_timedwait): Likewise. - * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise. - * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop): - Likewise. - * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise. - * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime): - Likewise. - * sysvipc/semtimedop.c (semtimedop): Likewise. - * time/setitimer.c (__setitimer): Likewise. - * time/strftime_l.c (emacs_strftime): Likewise. - -2015-10-19 Mike Frysinger - - * config.make.in (have-ssp): Delete. - (stack-protector): New variable. - * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong - cache test for -fstack-protector-strong. Export stack_protector to - the best ssp flag. - * configure: Regenerated. - * login/Makefile (pt_chown-cflags): Always add $(stack-protector). - * nscd/Makefile (CFLAGS-nscd): Likewise. - * resolv/Makefile (CFLAGS-libresolv): Likewise. - -2015-10-16 H.J. Lu - - [BZ #19122] - * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add - attribute_hidden. - -2015-10-19 Tulio Magno Quites Machado Filho - - [BZ #18743] - * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this - code to... - (ELIDE_LOCK): ...here. - (__get_new_count): New function with part of the code from - __elide_lock that updates the value of adapt_count after a - transaction abort. - (__elided_trylock): Moved this code to... - (ELIDE_TRYLOCK): ...here. - -2015-10-19 Mike Frysinger - - * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing. - * configure: Regenerate. - * INSTALL: Regenerate. - * manual/install.texi (--disable-timezone-tools): Use @theglibc{} - and tweak grammar. - -2015-10-19 Geoffrey Thomas - - * login/programs/pt_chown.c: Include signal.h - (main): Clear any signal mask from the parent process. - -2015-10-19 Joseph Myers - - * configure.ac (libc_cv_gnu89_inline): Remove configure test. - * configure: Regenerated. - * config.make.in (gnu89-inline-CFLAGS): Remove variable. - * Makeconfig (CFLAGS): Use -fgnu89-inline instead of - $(gnu89-inline-CFLAGS). - - * configure.ac (libc_cv_asm_weak_directive): Remove configure - test. - (libc_cv_asm_weakext_directive): Likewise. - * configure: Regenerated. - * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef. - (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise. - * include/libc-symbols.h - [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove - #error. - [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code. - [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional. - - * sysdeps/arm/backtrace.c (__backtrace): Convert to - prototype-style function definition. - * sysdeps/i386/backtrace.c (__backtrace): Likewise. - * sysdeps/i386/ffs.c (__ffs): Likewise. - * sysdeps/i386/i686/ffs.c (__ffs): Likewise. - * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock): - Likewise. - * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock): - Likewise. - * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): - Likewise. - * sysdeps/m68k/ffs.c (__ffs): Likewise. - * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise. - * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise. - * sysdeps/mach/adjtime.c (__adjtime): Likewise. - * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise. - * sysdeps/mach/hurd/_exit.c (_exit): Likewise. - * sysdeps/mach/hurd/access.c (__access): Likewise. - * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise. - * sysdeps/mach/hurd/chdir.c (__chdir): Likewise. - * sysdeps/mach/hurd/chmod.c (__chmod): Likewise. - * sysdeps/mach/hurd/chown.c (__chown): Likewise. - * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise. - (cthread_getspecific): Likewise. - (cthread_setspecific): Likewise. - (__libc_getspecific): Likewise. - * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise. - * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise. - * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise. - * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise. - * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise. - * sysdeps/mach/hurd/fchown.c (__fchown): Likewise. - * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise. - * sysdeps/mach/hurd/flock.c (__flock): Likewise. - * sysdeps/mach/hurd/fsync.c (fsync): Likewise. - * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise. - * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise. - * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise. - * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise. - * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise. - * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise. - * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise. - * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise. - * sysdeps/mach/hurd/group_member.c (__group_member): Likewise. - * sysdeps/mach/hurd/isatty.c (__isatty): Likewise. - * sysdeps/mach/hurd/lchown.c (__lchown): Likewise. - * sysdeps/mach/hurd/link.c (__link): Likewise. - * sysdeps/mach/hurd/linkat.c (linkat): Likewise. - * sysdeps/mach/hurd/listen.c (__listen): Likewise. - * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise. - * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise. - * sysdeps/mach/hurd/openat.c (__openat): Likewise. - * sysdeps/mach/hurd/poll.c (__poll): Likewise. - * sysdeps/mach/hurd/readlink.c (__readlink): Likewise. - * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise. - * sysdeps/mach/hurd/recv.c (__recv): Likewise. - * sysdeps/mach/hurd/rename.c (rename): Likewise. - * sysdeps/mach/hurd/renameat.c (renameat): Likewise. - * sysdeps/mach/hurd/revoke.c (revoke): Likewise. - * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise. - * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise. - * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise. - * sysdeps/mach/hurd/send.c (__send): Likewise. - * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise. - * sysdeps/mach/hurd/setegid.c (setegid): Likewise. - * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise. - * sysdeps/mach/hurd/setgid.c (__setgid): Likewise. - * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise. - * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise. - * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise. - * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise. - * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise. - * sysdeps/mach/hurd/setregid.c (__setregid): Likewise. - * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise. - * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise. - * sysdeps/mach/hurd/setuid.c (__setuid): Likewise. - * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise. - * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise. - * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise. - * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise. - * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise. - * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise. - * sysdeps/mach/hurd/socket.c (__socket): Likewise. - * sysdeps/mach/hurd/symlink.c (__symlink): Likewise. - * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise. - * sysdeps/mach/hurd/telldir.c (telldir): Likewise. - * sysdeps/mach/hurd/truncate.c (__truncate): Likewise. - * sysdeps/mach/hurd/umask.c (__umask): Likewise. - * sysdeps/mach/hurd/unlink.c (__unlink): Likewise. - * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise. - * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise. - * sysdeps/posix/alarm.c (alarm): Likewise. - * sysdeps/posix/cuserid.c (cuserid): Likewise. - * sysdeps/posix/dirfd.c (dirfd): Likewise. - * sysdeps/posix/dup.c (__dup): Likewise. - * sysdeps/posix/dup2.c (__dup2): Likewise. - * sysdeps/posix/euidaccess.c (euidaccess): Likewise. - (main): Likewise. - * sysdeps/posix/flock.c (__flock): Likewise. - * sysdeps/posix/fpathconf.c (__fpathconf): Likewise. - * sysdeps/posix/getcwd.c (__getcwd): Likewise. - * sysdeps/posix/gethostname.c (__gethostname): Likewise. - * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise. - * sysdeps/posix/isatty.c (__isatty): Likewise. - * sysdeps/posix/killpg.c (killpg): Likewise. - * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise. - * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise. - * sysdeps/posix/raise.c (raise): Likewise. - * sysdeps/posix/remove.c (remove): Likewise. - * sysdeps/posix/rename.c (rename): Likewise. - * sysdeps/posix/rewinddir.c (__rewinddir): Likewise. - * sysdeps/posix/seekdir.c (seekdir): Likewise. - * sysdeps/posix/sigblock.c (__sigblock): Likewise. - * sysdeps/posix/sigignore.c (sigignore): Likewise. - * sysdeps/posix/sigintr.c (siginterrupt): Likewise. - * sysdeps/posix/signal.c (__bsd_signal): Likewise. - * sysdeps/posix/sigset.c (sigset): Likewise. - * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise. - * sysdeps/posix/sysconf.c (__sysconf): Likewise. - * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise. - * sysdeps/posix/time.c (time): Likewise. - * sysdeps/posix/ttyname.c (getttyname): Likewise. - (ttyname): Likewise. - * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise. - * sysdeps/posix/utime.c (utime): Likewise. - * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise. - * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock): - Likewise. - * sysdeps/powerpc/nptl/pthread_spin_trylock.c - (pthread_spin_trylock): Likewise. - * sysdeps/pthread/aio_error.c (aio_error): Likewise. - * sysdeps/pthread/aio_read.c (aio_read): Likewise. - * sysdeps/pthread/aio_read64.c (aio_read64): Likewise. - * sysdeps/pthread/aio_write.c (aio_write): Likewise. - * sysdeps/pthread/aio_write64.c (aio_write64): Likewise. - * sysdeps/pthread/flockfile.c (__flockfile): Likewise. - * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise. - * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise. - * sysdeps/pthread/timer_create.c (timer_create): Likewise. - * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise. - * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise. - * sysdeps/s390/ffs.c (__ffs): Likewise. - * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock): - Likewise. - * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock): - Likewise. - * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock): - Likewise. - * sysdeps/sparc/nptl/pthread_barrier_destroy.c - (pthread_barrier_destroy): Likewise. - * sysdeps/sparc/nptl/pthread_barrier_wait.c - (__pthread_barrier_wait): Likewise. - * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise. - * sysdeps/sparc/sparc32/pthread_barrier_wait.c - (__pthread_barrier_wait): Likewise. - * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise. - * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise. - (memcmp_not_common_alignment): Likewise. - (MEMCMP): Likewise. - * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise. - (_wordcopy_fwd_dest_aligned): Likewise. - (_wordcopy_bwd_aligned): Likewise. - (_wordcopy_bwd_dest_aligned): Likewise. - * sysdeps/unix/bsd/ftime.c (ftime): Likewise. - * sysdeps/unix/bsd/gtty.c (gtty): Likewise. - * sysdeps/unix/bsd/stty.c (stty): Likewise. - * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise. - * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise. - * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise. - * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise. - * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise. - * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise. - * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise. - * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise. - * sysdeps/unix/bsd/wait3.c (__wait3): Likewise. - * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise. - * sysdeps/unix/sockatmark.c (sockatmark): Likewise. - * sysdeps/unix/stime.c (stime): Likewise. - * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise. - * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): - Likewise. Use internal_function. - * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction): - Convert to prototype-style function definition. - * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise. - * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise. - * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise. - * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue): - Likewise. Use internal_function. - * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to - prototype-style function definition - * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): - Likewise. - (__getlogin_r): Likewise. - * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise. - * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c - (__pthread_cond_broadcast): Likewise. - * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c - (__pthread_cond_destroy): Likewise. - * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c - (__pthread_cond_init): Likewise. - * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c - (__pthread_cond_signal): Likewise. - * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c - (__pthread_cond_wait): Likewise. - * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise. - * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise. - * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction): - Likewise. - * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending): - Likewise. - * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask): - Likewise. - * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction): - Likewise. - * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c - (__ftruncate64): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c - (truncate64): Likewise. - * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise. - * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c - (pthread_getcpuclockid): Likewise. - * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np): - Likewise. - * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np): - Likewise. - * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask): - Likewise. - * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue): - Likewise. - * sysdeps/unix/sysv/linux/raise.c (raise): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c - (__libc_sigaction): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending): - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c - (__sigprocmask): Likewise. - * sysdeps/unix/sysv/linux/semget.c (semget): Likewise. - * sysdeps/unix/sysv/linux/semop.c (semop): Likewise. - * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise. - * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise. - * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise. - * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise. - * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction): - Likewise. - * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise. - * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise. - * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise. - * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending): - Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c - (__sigprocmask): Likewise. - * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise. - (cfgetispeed): Likewise. - (cfsetospeed): Likewise. - (cfsetispeed): Likewise. - * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise. - * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise. - * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise. - * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise. - * sysdeps/unix/sysv/linux/time.c (time): Likewise. - * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise. - * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise. - * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun): - Likewise. - * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime): - Likewise. - * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending): - Likewise. - * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask): - Likewise. - * sysdeps/x86_64/backtrace.c (__backtrace): Likewise. - -2015-10-17 Florian Weimer - - sunrpc: Rewrite with explicit TLS access using __thread. - * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable. - (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars - directly. - (__rpc_thread_variables): Access thread_rpc_vars directly. - Eliminate redundant assignment of the tvp variable. - -2015-10-17 Florian Weimer - - malloc: Rewrite with explicit TLS access using __thread. - * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create) - (tsd_setspecific, tsd_getspecific): Remove. - * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create) - (tsd_setspecific, tsd_getspecific): Likewise. - * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create) - (tsd_setspecific, tsd_getspecific): Likewise. - * malloc/arena.c (thread_arena): New TLS variable. - (arena_key): Remove variable. - (arena_get): Use thread_arena. - (arena_lookup): Remove macro. - (malloc_atfork, free_atfork, ptmalloc_lock_all) - (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init) - (_int_new_arena, get_free_list, reused_arena) - (arena_thread_freeres): Use thread_arena. - * manual/memory.texi (Basic Allocation): Remove arena_lookup, - tsd_getspecific, tsd_setspecific from safety annotations. - (Allocating Cleared Space): Remove arena_lookup from safety - annotations. - -2015-10-17 Florian Weimer - - * stdio-common/vfprintf.c (printf_positional): Rewrite to use - struct scratch_buffer instead of extend_alloca. - -2015-10-17 Florian Weimer - - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_SOCK_CLOEXEC): Remove. - * include/sys/socket.h (__have_sock_cloexec): Remove declaration. - (__have_paccept): Remove unused macro. - * include/unistd.h (__have_sock_cloexec): Remove declaration. - * misc/syslog.c (openlog_internal): Remove fallback code for - !__ASSUME_SOCK_CLOEXEC. - * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for - missing SOCK_CLOEXEC. - * nscd/connections.c (have_sock_cloexec): Remove definition. - (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC. - * nscd/nscd_helper.c (open_socket): Remove fallback code for - !__ASSUME_SOCK_CLOEXEC. - * resolv/res_send.c (__have_o_nonblock): Remove definition. - (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC. - * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove - definition. - * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback - code for !__ASSUME_SOCK_CLOEXEC. - -2015-10-17 Florian Weimer - - [BZ #18982] - * manual/stdio.texi (Variable Arguments Output): Add portability - note, explaining that vfprintf clobbers the va_list pointer. - -2015-10-16 Joseph Myers - - * math/libm-test.inc (fabs_test_data): Add more tests. - (fdim_test_data): Likewise. - (fma_test_data): Likewise. - (fmax_test_data): Likewise. - (fmin_test_data): Likewise. - (fmod_test_data): Likewise. - -2015-10-16 Steve Ellcey - - * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned - data. - -2015-10-16 Joseph Myers - - * math/libm-test.inc (ceil_test_data): Add more tests and more - expectations for "inexact". - (floor_test_data): Add more tests. - (round_test_data): Likewise. - (trunc_test_data): Likewise. - - * crypt/cert.c (good_bye): Convert to prototype-style function - definition. - (get8): Likewise. - (put8): Likewise. - * crypt/crypt-entry.c (crypt): Likewise. - (__fcrypt): Likewise. - * crypt/crypt_util.c (_ufc_prbits): Likewise. - (_ufc_set_bits): Likewise. - (_ufc_clearmem): Likewise. - (__init_des_r): Likewise. - (shuffle_sb): Likewise. - (shuffle_sb): Likewise. - (_ufc_setup_salt_r): Likewise. - (_ufc_mk_keytab_r): Likewise. - (_ufc_dofinalperm_r): Likewise. - (encrypt): Likewise. - (__setkey_r): Likewise. - (setkey): Likewise. - * crypt/md5.c (md5_init_ctx): Likewise. - (md5_read_ctx): Likewise. - (md5_finish_ctx): Likewise. - (md5_stream): Likewise. - (md5_buffer): Likewise. - (md5_process_bytes): Likewise. - * crypt/sha256.c (__sha256_init_ctx): Likewise. - (__sha256_finish_ctx): Likewise. - (__sha256_process_bytes): Likewise. - * crypt/sha512.c (__sha512_init_ctx): Likewise. - (__sha512_finish_ctx): Likewise. - (__sha512_process_bytes): Likewise. - * ctype/isctype.c (__isctype): Likewise. - * debug/backtrace.c (__backtrace): Likewise. - * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise. - * debug/fgets_chk.c (__fgets_chk): Likewise. - * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise. - * debug/memcpy_chk.c (__memcpy_chk): Likewise. - * debug/memmove_chk.c (MEMMOVE_CHK): Likewise. - * debug/mempcpy_chk.c (__mempcpy_chk): Likewise. - * debug/memset_chk.c (__memset_chk): Likewise. - * debug/strcat_chk.c (__strcat_chk): Likewise. - * debug/strncat_chk.c (__strncat_chk): Likewise. - * debug/strncpy_chk.c (__strncpy_chk): Likewise. - * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise. - * dirent/dirfd.c (dirfd): Likewise. - * dirent/getdents.c (__getdirentries): Likewise. - * dirent/getdents64.c (getdirentries64): Likewise. - * dirent/rewinddir.c (__rewinddir): Likewise. - * dirent/seekdir.c (seekdir): Likewise. - * dirent/telldir.c (telldir): Likewise. - * elf/sln.c (makesymlinks): Likewise. - (makesymlink): Likewise. - * gmon/gmon.c (__moncontrol): Likewise. - (__monstartup): Likewise. - (write_hist): Likewise. - (write_call_graph): Likewise. - (write_bb_counts): Likewise. - * grp/setgroups.c (setgroups): Likewise. - * inet/inet_lnaof.c (inet_lnaof): Likewise. - * inet/inet_net.c (inet_network): Likewise. - * inet/inet_netof.c (inet_netof): Likewise. - * inet/rcmd.c (rresvport_af): Likewise. - (rresvport): Likewise. - * io/access.c (__access): Likewise. - * io/chdir.c (__chdir): Likewise. - * io/chmod.c (__chmod): Likewise. - * io/chown.c (__chown): Likewise. - * io/close.c (__close): Likewise. - * io/creat.c (creat): Likewise. - * io/creat64.c (creat64): Likewise. - * io/dup.c (__dup): Likewise. - * io/dup2.c (__dup2): Likewise. - * io/dup3.c (__dup3): Likewise. - * io/euidaccess.c (__euidaccess): Likewise. - * io/faccessat.c (faccessat): Likewise. - * io/fchmod.c (__fchmod): Likewise. - * io/fchmodat.c (fchmodat): Likewise. - * io/fchown.c (__fchown): Likewise. - * io/fchownat.c (fchownat): Likewise. - * io/fcntl.c (__fcntl): Likewise. - * io/flock.c (__flock): Likewise. - * io/fts.c (fts_load): Likewise. - (fts_close): Likewise. - (fts_read): Likewise. - (fts_set): Likewise. - (fts_children): Likewise. - (fts_build): Likewise. - (fts_stat): Likewise. - (fts_sort): Likewise. - (fts_alloc): Likewise. - (fts_lfree): Likewise. - (fts_palloc): Likewise. - (fts_padjust): Likewise. - (fts_maxarglen): Likewise. - (fts_safe_changedir): Likewise. - * io/getwd.c (getwd): Likewise. - * io/isatty.c (__isatty): Likewise. - * io/lchown.c (__lchown): Likewise. - * io/link.c (__link): Likewise. - * io/linkat.c (linkat): Likewise. - * io/lseek.c (__libc_lseek): Likewise. - * io/mkdir.c (__mkdir): Likewise. - * io/mkdirat.c (mkdirat): Likewise. - * io/mkfifo.c (mkfifo): Likewise. - * io/mkfifoat.c (mkfifoat): Likewise. - * io/open.c (__libc_open): Likewise. - * io/open64.c (__libc_open64): Likewise. - * io/readlink.c (__readlink): Likewise. - * io/readlinkat.c (readlinkat): Likewise. - * io/rmdir.c (__rmdir): Likewise. - * io/symlink.c (__symlink): Likewise. - * io/symlinkat.c (symlinkat): Likewise. - * io/ttyname.c (ttyname): Likewise. - * io/ttyname_r.c (__ttyname_r): Likewise. - * io/umask.c (__umask): Likewise. - * io/unlink.c (__unlink): Likewise. - * io/unlinkat.c (unlinkat): Likewise. - * io/utime.c (utime): Likewise. - * libio/clearerr.c (clearerr): Likewise. - * libio/clearerr_u.c (clearerr_unlocked): Likewise. - * libio/feof.c (_IO_feof): Likewise. - * libio/feof_u.c (feof_unlocked): Likewise. - * libio/ferror.c (_IO_ferror): Likewise. - * libio/ferror_u.c (ferror_unlocked): Likewise. - * libio/filedoalloc.c (_IO_file_doallocate): Likewise. - * libio/fileno.c (__fileno): Likewise. - * libio/fputc.c (fputc): Likewise. - * libio/fputc_u.c (fputc_unlocked): Likewise. - * libio/fputwc.c (fputwc): Likewise. - * libio/fputwc_u.c (fputwc_unlocked): Likewise. - * libio/freopen.c (freopen): Likewise. - * libio/freopen64.c (freopen64): Likewise. - * libio/fseek.c (fseek): Likewise. - * libio/fseeko.c (fseeko): Likewise. - * libio/fseeko64.c (fseeko64): Likewise. - * libio/ftello.c (__ftello): Likewise. - * libio/ftello64.c (ftello64): Likewise. - * libio/fwide.c (fwide): Likewise. - * libio/genops.c (_IO_un_link): Likewise. - (_IO_link_in): Likewise. - (_IO_least_marker): Likewise. - (_IO_switch_to_main_get_area): Likewise. - (_IO_switch_to_backup_area): Likewise. - (_IO_switch_to_get_mode): Likewise. - (_IO_free_backup_area): Likewise. - (_IO_switch_to_put_mode): Likewise. - (__overflow): Likewise. - (__underflow): Likewise. - (__uflow): Likewise. - (_IO_setb): Likewise. - (_IO_doallocbuf): Likewise. - (_IO_default_underflow): Likewise. - (_IO_default_uflow): Likewise. - (_IO_default_xsputn): Likewise. - (_IO_sgetn): Likewise. - (_IO_default_xsgetn): Likewise. - (_IO_sync): Likewise. - (_IO_default_setbuf): Likewise. - (_IO_default_seekpos): Likewise. - (_IO_default_doallocate): Likewise. - (_IO_init): Likewise. - (_IO_old_init): Likewise. - (_IO_default_sync): Likewise. - (_IO_default_finish): Likewise. - (_IO_default_seekoff): Likewise. - (_IO_sputbackc): Likewise. - (_IO_sungetc): Likewise. - (_IO_set_column): Likewise. - (_IO_set_column): Likewise. - (_IO_adjust_column): Likewise. - (_IO_get_column): Likewise. - (_IO_init_marker): Likewise. - (_IO_remove_marker): Likewise. - (_IO_marker_difference): Likewise. - (_IO_marker_delta): Likewise. - (_IO_seekmark): Likewise. - (_IO_unsave_markers): Likewise. - (_IO_nobackup_pbackfail): Likewise. - (_IO_default_pbackfail): Likewise. - (_IO_default_seek): Likewise. - (_IO_default_stat): Likewise. - (_IO_default_read): Likewise. - (_IO_default_write): Likewise. - (_IO_default_showmanyc): Likewise. - (_IO_default_imbue): Likewise. - (_IO_iter_next): Likewise. - (_IO_iter_file): Likewise. - * libio/getc.c (_IO_getc): Likewise. - * libio/getwc.c (_IO_getwc): Likewise. - * libio/iofclose.c (_IO_new_fclose): Likewise. - * libio/iofdopen.c (_IO_new_fdopen): Likewise. - * libio/iofflush.c (_IO_fflush): Likewise. - * libio/iofflush_u.c (__fflush_unlocked): Likewise. - * libio/iofgetpos.c (_IO_new_fgetpos): Likewise. - * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise. - * libio/iofgets.c (_IO_fgets): Likewise. - * libio/iofgets_u.c (__fgets_unlocked): Likewise. - * libio/iofgetws.c (fgetws): Likewise. - * libio/iofgetws_u.c (fgetws_unlocked): Likewise. - * libio/iofopen64.c (_IO_fopen64): Likewise. - * libio/iofopncook.c (_IO_cookie_read): Likewise. - (_IO_cookie_write): Likewise. - (_IO_cookie_seek): Likewise. - (_IO_cookie_close): Likewise. - (_IO_cookie_seekoff): Likewise. - (_IO_old_cookie_seek): Likewise. - * libio/iofputs.c (_IO_fputs): Likewise. - * libio/iofputs_u.c (__fputs_unlocked): Likewise. - * libio/iofputws.c (fputws): Likewise. - * libio/iofputws_u.c (fputws_unlocked): Likewise. - * libio/iofread.c (_IO_fread): Likewise. - * libio/iofread_u.c (__fread_unlocked): Likewise. - * libio/iofsetpos.c (_IO_new_fsetpos): Likewise. - * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise. - * libio/ioftell.c (_IO_ftell): Likewise. - * libio/iofwrite.c (_IO_fwrite): Likewise. - * libio/iogetdelim.c (_IO_getdelim): Likewise. - * libio/iogets.c (_IO_gets): Likewise. - * libio/iopadn.c (_IO_padn): Likewise. - * libio/iopopen.c (_IO_new_proc_open): Likewise. - (_IO_new_popen): Likewise. - (_IO_new_proc_close): Likewise. - * libio/ioputs.c (_IO_puts): Likewise. - * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise. - (_IO_seekoff): Likewise. - * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise. - (_IO_seekpos): Likewise. - * libio/iosetbuffer.c (_IO_setbuffer): Likewise. - * libio/iosetvbuf.c (_IO_setvbuf): Likewise. - * libio/ioungetc.c (_IO_ungetc): Likewise. - * libio/ioungetwc.c (ungetwc): Likewise. - * libio/iovdprintf.c (_IO_vdprintf): Likewise. - * libio/iovsscanf.c (_IO_vsscanf): Likewise. - * libio/iowpadn.c (_IO_wpadn): Likewise. - * libio/libc_fatal.c (__libc_fatal): Likewise. - * libio/memstream.c (__open_memstream): Likewise. - (_IO_mem_sync): Likewise. - (_IO_mem_finish): Likewise. - * libio/oldfileops.c (_IO_old_file_init): Likewise. - (_IO_old_file_close_it): Likewise. - (_IO_old_file_finish): Likewise. - (_IO_old_file_fopen): Likewise. - (_IO_old_file_attach): Likewise. - (_IO_old_file_setbuf): Likewise. - (_IO_old_do_write): Likewise. - (old_do_write): Likewise. - (_IO_old_file_underflow): Likewise. - (_IO_old_file_overflow): Likewise. - (_IO_old_file_sync): Likewise. - (_IO_old_file_seekoff): Likewise. - (_IO_old_file_write): Likewise. - (_IO_old_file_xsputn): Likewise. - * libio/oldiofclose.c (_IO_old_fclose): Likewise. - * libio/oldiofdopen.c (_IO_old_fdopen): Likewise. - * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise. - * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise. - * libio/oldiofopen.c (_IO_old_fopen): Likewise. - * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise. - * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise. - * libio/oldiopopen.c (_IO_old_proc_open): Likewise. - (_IO_old_popen): Likewise. - (_IO_old_proc_close): Likewise. - * libio/oldpclose.c (__old_pclose): Likewise. - * libio/pclose.c (__new_pclose): Likewise. - * libio/peekc.c (_IO_peekc_locked): Likewise. - * libio/putc.c (_IO_putc): Likewise. - * libio/putc_u.c (putc_unlocked): Likewise. - * libio/putchar.c (putchar): Likewise. - * libio/putchar_u.c (putchar_unlocked): Likewise. - * libio/putwc.c (putwc): Likewise. - * libio/putwc_u.c (putwc_unlocked): Likewise. - * libio/putwchar.c (putwchar): Likewise. - * libio/putwchar_u.c (putwchar_unlocked): Likewise. - * libio/rewind.c (rewind): Likewise. - * libio/setbuf.c (setbuf): Likewise. - * libio/setlinebuf.c (setlinebuf): Likewise. - * libio/vasprintf.c (_IO_vasprintf): Likewise. - * libio/vscanf.c (_IO_vscanf): Likewise. - * libio/vsnprintf.c (_IO_strn_overflow): Likewise. - * libio/vswprintf.c (_IO_wstrn_overflow): Likewise. - * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise. - * libio/wgenops.c (_IO_least_wmarker): Likewise. - (_IO_switch_to_main_wget_area): Likewise. - (_IO_switch_to_wbackup_area): Likewise. - (_IO_wsetb): Likewise. - (_IO_wdefault_pbackfail): Likewise. - (_IO_wdefault_finish): Likewise. - (_IO_wdefault_uflow): Likewise. - (__woverflow): Likewise. - (__wuflow): Likewise. - (__wunderflow): Likewise. - (_IO_wdefault_xsputn): Likewise. - (_IO_wdefault_xsgetn): Likewise. - (_IO_wdoallocbuf): Likewise. - (_IO_wdefault_doallocate): Likewise. - (_IO_switch_to_wget_mode): Likewise. - (_IO_free_wbackup_area): Likewise. - (_IO_switch_to_wput_mode): Likewise. - (_IO_sputbackwc): Likewise. - (_IO_sungetwc): Likewise. - (_IO_adjust_wcolumn): Likewise. - (_IO_init_wmarker): Likewise. - (_IO_wmarker_delta): Likewise. - (_IO_seekwmark): Likewise. - (_IO_unsave_wmarkers): Likewise. - * libio/wmemstream.c (open_wmemstream): Likewise. - (_IO_wmem_sync): Likewise. - (_IO_wmem_finish): Likewise. - * locale/nl_langinfo.c (nl_langinfo): Likewise. - * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise. - * locale/programs/simple-hash.c (init_hash): Likewise. - (delete_hash): Likewise. - (insert_entry): Likewise. - (set_entry): Likewise. - (next_prime): Likewise. - (is_prime): Likewise. - * locale/programs/xmalloc.c (fixup_null_alloc): Likewise. - (xmalloc): Likewise. - (xrealloc): Likewise. - * locale/programs/xstrdup.c (xstrdup): Likewise. - * localedata/collate-test.c (xstrcoll): Likewise. - * localedata/xfrm-test.c (xstrcmp): Likewise. - * login/getlogin_r.c (__getlogin_r): Likewise. - * login/getpt.c (__posix_openpt): Likewise. - * login/login_tty.c (login_tty): Likewise. - * login/setlogin.c (setlogin): Likewise. - * mach/msg-destroy.c (__mach_msg_destroy): Likewise. - (mach_msg_destroy_port): Likewise. - (mach_msg_destroy_memory): Likewise. - * malloc/mcheck.c (flood): Likewise. - * misc/acct.c (acct): Likewise. - * misc/brk.c (__brk): Likewise. - * misc/chflags.c (chflags): Likewise. - * misc/chroot.c (chroot): Likewise. - * misc/fchflags.c (fchflags): Likewise. - * misc/fstab.c (getfsspec): Likewise. - (getfsfile): Likewise. - * misc/fsync.c (fsync): Likewise. - * misc/ftruncate.c (__ftruncate): Likewise. - * misc/ftruncate64.c (__ftruncate64): Likewise. - * misc/getdomain.c (getdomainname): Likewise. - (getdomainname): Likewise. - * misc/gethostname.c (__gethostname): Likewise. - * misc/getpass.c (getpass): Likewise. - * misc/getttyent.c (skip): Likewise. - (value): Likewise. - * misc/gtty.c (gtty): Likewise. - * misc/hsearch.c (hsearch): Likewise. - (hcreate): Likewise. - * misc/hsearch_r.c (__hcreate_r): Likewise. - (__hdestroy_r): Likewise. - * misc/ioctl.c (__ioctl): Likewise. - * misc/mkdtemp.c (mkdtemp): Likewise. - * misc/mkostemp.c (mkostemp): Likewise. - * misc/mkostemp64.c (mkostemp64): Likewise. - * misc/mkostemps.c (mkostemps): Likewise. - * misc/mkostemps64.c (mkostemps64): Likewise. - * misc/mkstemp.c (mkstemp): Likewise. - * misc/mkstemp64.c (mkstemp64): Likewise. - * misc/mkstemps.c (mkstemps): Likewise. - * misc/mkstemps64.c (mkstemps64): Likewise. - * misc/mktemp.c (__mktemp): Likewise. - * misc/preadv.c (preadv): Likewise. - * misc/preadv64.c (preadv64): Likewise. - * misc/pwritev.c (pwritev): Likewise. - * misc/pwritev64.c (pwritev64): Likewise. - * misc/readv.c (__readv): Likewise. - * misc/revoke.c (revoke): Likewise. - * misc/setdomain.c (setdomainname): Likewise. - * misc/setegid.c (setegid): Likewise. - * misc/seteuid.c (seteuid): Likewise. - * misc/sethostid.c (sethostid): Likewise. - * misc/sethostname.c (sethostname): Likewise. - * misc/setregid.c (__setregid): Likewise. - * misc/setreuid.c (__setreuid): Likewise. - * misc/sstk.c (sstk): Likewise. - * misc/stty.c (stty): Likewise. - * misc/syscall.c (syscall): Likewise. - * misc/syslog.c (setlogmask): Likewise. - * misc/truncate.c (__truncate): Likewise. - * misc/truncate64.c (truncate64): Likewise. - * misc/ualarm.c (ualarm): Likewise. - * misc/usleep.c (usleep): Likewise. - * misc/ustat.c (ustat): Likewise. - * misc/writev.c (__writev): Likewise. - * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise. - * nptl/old_pthread_cond_broadcast.c - (__pthread_cond_broadcast_2_0): Likewise. - * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0): - Likewise. - * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): - Likewise. - * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): - Likewise. - * nptl/pt-raise.c (raise): Likewise. - * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): - Likewise. - * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise. - * nptl/pthread_barrierattr_destroy.c - (pthread_barrierattr_destroy): Likewise. - * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init): - Likewise. - * nptl/pthread_barrierattr_setpshared.c - (pthread_barrierattr_setpshared): Likewise. - * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): - Likewise. - * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise. - * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise. - * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise. - * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy): - Likewise. - * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock): - Likewise. - * nptl/pthread_condattr_getpshared.c - (pthread_condattr_getpshared): Likewise. - * nptl/pthread_condattr_init.c (__pthread_condattr_init): - Likewise. - * nptl/pthread_condattr_setpshared.c - (pthread_condattr_setpshared): Likewise. - * nptl/pthread_detach.c (pthread_detach): Likewise. - * nptl/pthread_equal.c (__pthread_equal): Likewise. - * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise. - * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise. - * nptl/pthread_key_delete.c (pthread_key_delete): Likewise. - * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): - Likewise. - * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy): - Likewise. - * nptl/pthread_mutex_getprioceiling.c - (pthread_mutex_getprioceiling): Likewise. - * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy): - Likewise. - * nptl/pthread_mutexattr_getprotocol.c - (pthread_mutexattr_getprotocol): Likewise. - * nptl/pthread_mutexattr_getpshared.c - (pthread_mutexattr_getpshared): Likewise. - * nptl/pthread_mutexattr_getrobust.c - (pthread_mutexattr_getrobust): Likewise. - * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype): - Likewise. - * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): - Likewise. - * nptl/pthread_mutexattr_setprioceiling.c - (pthread_mutexattr_setprioceiling): Likewise. - * nptl/pthread_mutexattr_setprotocol.c - (pthread_mutexattr_setprotocol): Likewise. - * nptl/pthread_mutexattr_setpshared.c - (pthread_mutexattr_setpshared): Likewise. - * nptl/pthread_mutexattr_setrobust.c - (pthread_mutexattr_setrobust): Likewise. - * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype): - Likewise. - * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy): - Likewise. - * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy): - Likewise. - * nptl/pthread_rwlockattr_getkind_np.c - (pthread_rwlockattr_getkind_np): Likewise. - * nptl/pthread_rwlockattr_getpshared.c - (pthread_rwlockattr_getpshared): Likewise. - * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): - Likewise. - * nptl/pthread_rwlockattr_setkind_np.c - (pthread_rwlockattr_setkind_np): Likewise. - * nptl/pthread_rwlockattr_setpshared.c - (pthread_rwlockattr_setpshared): Likewise. - * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): - Likewise. - * nptl/pthread_setcanceltype.c (__pthread_setcanceltype): - Likewise. - * nptl/pthread_setconcurrency.c (pthread_setconcurrency): - Likewise. - * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise. - * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise. - * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise. - * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise. - * nptl/sem_close.c (sem_close): Likewise. - * nptl/sem_destroy.c (__new_sem_destroy): Likewise. - * nptl/sem_init.c (__old_sem_init): Likewise. - * nptl/sigaction.c (__sigaction): Likewise. - * nptl/unregister-atfork.c (__unregister_atfork): Likewise. - * posix/_exit.c (_exit): Likewise. - * posix/alarm.c (alarm): Likewise. - * posix/confstr.c (confstr): Likewise. - * posix/fpathconf.c (__fpathconf): Likewise. - * posix/getgroups.c (__getgroups): Likewise. - * posix/getpgid.c (__getpgid): Likewise. - * posix/group_member.c (__group_member): Likewise. - * posix/pathconf.c (__pathconf): Likewise. - * posix/sched_getaffinity.c (sched_getaffinity): Likewise. - * posix/sched_setaffinity.c (sched_setaffinity): Likewise. - * posix/setgid.c (__setgid): Likewise. - * posix/setpgid.c (__setpgid): Likewise. - * posix/setuid.c (__setuid): Likewise. - * posix/sleep.c (__sleep): Likewise. - * posix/sysconf.c (__sysconf): Likewise. - * posix/times.c (__times): Likewise. - * posix/uname.c (__uname): Likewise. - * posix/waitid.c (__waitid): Likewise. - * pwd/getpw.c (__getpw): Likewise. - * resolv/base64.c (b64_pton): Likewise. - * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise. - * resolv/gethnamaddr.c (Dprintf): Likewise. - (gethostbyname): Likewise. - (gethostbyname2): Likewise. - (gethostbyaddr): Likewise. - (_sethtent): Likewise. - (_gethtbyname): Likewise. - (_gethtbyname2): Likewise. - (_gethtbyaddr): Likewise. - (map_v4v6_address): Likewise. - (map_v4v6_hostent): Likewise. - (addrsort): Likewise. - (ht_sethostent): Likewise. - (ht_gethostbyname): Likewise. - (ht_gethostbyaddr): Likewise. - * resolv/inet_net_ntop.c (inet_net_ntop): Likewise. - (inet_net_ntop_ipv4): Likewise. - * resolv/inet_neta.c (inet_neta): Likewise. - * resolv/inet_ntop.c (inet_ntop): Likewise. - (inet_ntop4): Likewise. - (inet_ntop6): Likewise. - * resolv/inet_pton.c (__inet_pton): Likewise. - (inet_pton4): Likewise. - (inet_pton6): Likewise. - * resolv/res_debug.c (loc_aton): Likewise. - (loc_ntoa): Likewise. - * resource/getpriority.c (__getpriority): Likewise. - * resource/getrusage.c (__getrusage): Likewise. - * resource/nice.c (nice): Likewise. - * resource/setpriority.c (__setpriority): Likewise. - * resource/setrlimit64.c (setrlimit64): Likewise. - * resource/vlimit.c (vlimit): Likewise. - * resource/vtimes.c (vtimes): Likewise. - * rt/aio_error.c (aio_error): Likewise. - * rt/aio_return.c (aio_return): Likewise. - * rt/aio_sigqueue.c (__aio_sigqueue): Likewise. - * signal/kill.c (__kill): Likewise. - * signal/killpg.c (killpg): Likewise. - * signal/raise.c (raise): Likewise. - * signal/sigaction.c (__sigaction): Likewise. - * signal/sigaddset.c (sigaddset): Likewise. - * signal/sigaltstack.c (sigaltstack): Likewise. - * signal/sigandset.c (sigandset): Likewise. - * signal/sigblock.c (__sigblock): Likewise. - * signal/sigdelset.c (sigdelset): Likewise. - * signal/sigempty.c (sigemptyset): Likewise. - * signal/sigfillset.c (sigfillset): Likewise. - * signal/sighold.c (sighold): Likewise. - * signal/sigignore.c (sigignore): Likewise. - * signal/sigintr.c (siginterrupt): Likewise. - * signal/sigisempty.c (sigisemptyset): Likewise. - * signal/sigismem.c (sigismember): Likewise. - * signal/signal.c (signal): Likewise. - * signal/sigorset.c (sigorset): Likewise. - * signal/sigpause.c (__sigpause): Likewise. - * signal/sigpending.c (sigpending): Likewise. - * signal/sigprocmask.c (__sigprocmask): Likewise. - * signal/sigrelse.c (sigrelse): Likewise. - * signal/sigreturn.c (__sigreturn): Likewise. - * signal/sigset.c (sigset): Likewise. - * signal/sigsetmask.c (__sigsetmask): Likewise. - * signal/sigstack.c (sigstack): Likewise. - * signal/sigsuspend.c (__sigsuspend): Likewise. - * signal/sigvec.c (sigvec_wrapper_handler): Likewise. - * signal/sysv_signal.c (__sysv_signal): Likewise. - * socket/accept.c (accept): Likewise. - * socket/accept4.c (__libc_accept4): Likewise. - * socket/bind.c (__bind): Likewise. - * socket/connect.c (__connect): Likewise. - * socket/getpeername.c (getpeername): Likewise. - * socket/getsockname.c (__getsockname): Likewise. - * socket/getsockopt.c (getsockopt): Likewise. - * socket/listen.c (__listen): Likewise. - * socket/recv.c (__recv): Likewise. - * socket/recvmsg.c (__recvmsg): Likewise. - * socket/send.c (__send): Likewise. - * socket/sendmsg.c (__sendmsg): Likewise. - * socket/shutdown.c (shutdown): Likewise. - * socket/sockatmark.c (sockatmark): Likewise. - * socket/socket.c (__socket): Likewise. - * stdio-common/ctermid.c (ctermid): Likewise. - * stdio-common/cuserid.c (cuserid): Likewise. - * stdio-common/printf-prs.c (parse_printf_format): Likewise. - * stdio-common/remove.c (remove): Likewise. - * stdio-common/rename.c (rename): Likewise. - * stdio-common/renameat.c (renameat): Likewise. - * stdio-common/tempname.c (__gen_tempname): Likewise. - * stdio-common/xbug.c (InitBuffer): Likewise. - (AppendToBuffer): Likewise. - (ReadFile): Likewise. - * stdlib/a64l.c (a64l): Likewise. - * stdlib/drand48_r.c (drand48_r): Likewise. - * stdlib/getcontext.c (getcontext): Likewise. - * stdlib/getenv.c (getenv): Likewise. - * stdlib/l64a.c (l64a): Likewise. - * stdlib/llabs.c (llabs): Likewise. - * stdlib/lldiv.c (lldiv): Likewise. - * stdlib/lrand48_r.c (lrand48_r): Likewise. - * stdlib/mrand48_r.c (mrand48_r): Likewise. - * stdlib/putenv.c (putenv): Likewise. - * stdlib/random.c (__srandom): Likewise. - (__initstate): Likewise. - (__setstate): Likewise. - * stdlib/random_r.c (__srandom_r): Likewise. - (__setstate_r): Likewise. - (__random_r): Likewise. - * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise. - * stdlib/setcontext.c (setcontext): Likewise. - * stdlib/setenv.c (setenv): Likewise. - (unsetenv): Likewise. - * stdlib/srand48.c (srand48): Likewise. - * stdlib/srand48_r.c (__srand48_r): Likewise. - * stdlib/swapcontext.c (swapcontext): Likewise. - * stdlib/system.c (__libc_system): Likewise. - * stdlib/tst-strtod.c (expand): Likewise. - * stdlib/tst-strtol.c (expand): Likewise. - * stdlib/tst-strtoll.c (expand): Likewise. - * streams/fattach.c (fattach): Likewise. - * streams/fdetach.c (fdetach): Likewise. - * streams/getmsg.c (getmsg): Likewise. - * streams/isastream.c (isastream): Likewise. - * string/ffs.c (__ffs): Likewise. - * string/ffsll.c (ffsll): Likewise. - * string/memcmp.c (memcmp_common_alignment): Likewise. - (memcmp_not_common_alignment): Likewise. - (MEMCMP): Likewise. - * string/memcpy.c (memcpy): Likewise. - * string/memmove.c (MEMMOVE): Likewise. - * string/memset.c (memset): Likewise. - * string/rawmemchr.c (RAWMEMCHR): Likewise. - * string/strchrnul.c (STRCHRNUL): Likewise. - * string/strerror.c (strerror): Likewise. - * string/strndup.c (__strndup): Likewise. - * string/strverscmp.c (__strverscmp): Likewise. - * sunrpc/clnt_raw.c (clntraw_freeres): Likewise. - * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise. - (clnttcp_freeres): Likewise. - * sunrpc/clnt_unix.c (clntunix_freeres): Likewise. - * sunrpc/pmap_prot.c (xdr_pmap): Likewise. - * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise. - * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise. - * sunrpc/rpc_prot.c (xdr_replymsg): Likewise. - (xdr_callhdr): Likewise. - * sunrpc/rpcinfo.c (udpping): Likewise. - (tcpping): Likewise. - (pstatus): Likewise. - (pmapdump): Likewise. - (brdcst): Likewise. - (deletereg): Likewise. - (getprognum): Likewise. - (getvers): Likewise. - (get_inet_address): Likewise. - * sunrpc/svc_raw.c (svcraw_recv): Likewise. - * sunrpc/svc_udp.c (svcudp_create): Likewise. - (svcudp_stat): Likewise. - (svcudp_recv): Likewise. - (svcudp_reply): Likewise. - (svcudp_getargs): Likewise. - (svcudp_freeargs): Likewise. - (svcudp_destroy): Likewise. - * sunrpc/xdr.c (xdr_bytes): Likewise. - (xdr_netobj): Likewise. - (xdr_string): Likewise. - (xdr_wrapstring): Likewise. - * sunrpc/xdr_float.c (xdr_float): Likewise. - (xdr_double): Likewise. - * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise. - * sunrpc/xdr_ref.c (xdr_pointer): Likewise. - * sysvipc/ftok.c (ftok): Likewise. - * sysvipc/msgctl.c (msgctl): Likewise. - * sysvipc/msgget.c (msgget): Likewise. - * sysvipc/msgrcv.c (msgrcv): Likewise. - * sysvipc/msgsnd.c (msgsnd): Likewise. - * sysvipc/semget.c (semget): Likewise. - * sysvipc/semop.c (semop): Likewise. - * sysvipc/shmat.c (shmat): Likewise. - * sysvipc/shmctl.c (shmctl): Likewise. - * sysvipc/shmdt.c (shmdt): Likewise. - * sysvipc/shmget.c (shmget): Likewise. - * termios/cfmakeraw.c (cfmakeraw): Likewise. - * termios/speed.c (cfgetospeed): Likewise. - (cfgetispeed): Likewise. - (cfsetospeed): Likewise. - (cfsetispeed): Likewise. - * termios/tcflow.c (tcflow): Likewise. - * termios/tcflush.c (tcflush): Likewise. - * termios/tcgetattr.c (__tcgetattr): Likewise. - * termios/tcgetpgrp.c (tcgetpgrp): Likewise. - * termios/tcgetsid.c (tcgetsid): Likewise. - * termios/tcsendbrk.c (tcsendbreak): Likewise. - * termios/tcsetpgrp.c (tcsetpgrp): Likewise. - * time/adjtime.c (__adjtime): Likewise. - * time/dysize.c (dysize): Likewise. - * time/ftime.c (ftime): Likewise. - * time/getitimer.c (__getitimer): Likewise. - * time/gettimeofday.c (__gettimeofday): Likewise. - * time/gmtime.c (__gmtime_r): Likewise. - (gmtime): Likewise. - * time/localtime.c (__localtime_r): Likewise. - (localtime): Likewise. - * time/offtime.c (__offtime): Likewise. - * time/settimeofday.c (__settimeofday): Likewise. - * time/stime.c (stime): Likewise. - * time/strftime_l.c (tm_diff): Likewise. - (iso_week_days): Likewise. - * time/strptime.c (strptime): Likewise. - * time/time.c (time): Likewise. - * time/timespec_get.c (timespec_get): Likewise. - * time/tzset.c (tzset_internal): Likewise. - (compute_change): Likewise. - (__tz_compute): Likewise. - * wcsmbs/btowc.c (__btowc): Likewise. - * wcsmbs/mbrlen.c (__mbrlen): Likewise. - * wcsmbs/mbsinit.c (__mbsinit): Likewise. - * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise. - * wcsmbs/wcpcpy.c (__wcpcpy): Likewise. - * wcsmbs/wcpncpy.c (__wcpncpy): Likewise. - * wcsmbs/wcscat.c (__wcscat): Likewise. - * wcsmbs/wcschrnul.c (__wcschrnul): Likewise. - * wcsmbs/wcscmp.c (WCSCMP): Likewise. - * wcsmbs/wcscpy.c (WCSCPY): Likewise. - * wcsmbs/wcscspn.c (wcscspn): Likewise. - * wcsmbs/wcsdup.c (wcsdup): Likewise. - * wcsmbs/wcslen.c (__wcslen): Likewise. - * wcsmbs/wcsncat.c (WCSNCAT): Likewise. - * wcsmbs/wcsncmp.c (WCSNCMP): Likewise. - * wcsmbs/wcsncpy.c (__wcsncpy): Likewise. - * wcsmbs/wcsnlen.c (__wcsnlen): Likewise. - * wcsmbs/wcspbrk.c (wcspbrk): Likewise. - * wcsmbs/wcsrchr.c (WCSRCHR): Likewise. - * wcsmbs/wcsspn.c (wcsspn): Likewise. - * wcsmbs/wcsstr.c (wcsstr): Likewise. - * wcsmbs/wcstok.c (wcstok): Likewise. - * wcsmbs/wctob.c (wctob): Likewise. - * wcsmbs/wmemchr.c (__wmemchr): Likewise. - * wcsmbs/wmemcmp.c (WMEMCMP): Likewise. - * wcsmbs/wmemcpy.c (__wmemcpy): Likewise. - * wcsmbs/wmemmove.c (__wmemmove): Likewise. - * wcsmbs/wmempcpy.c (__wmempcpy): Likewise. - * wcsmbs/wmemset.c (__wmemset): Likewise. - * wctype/wcfuncs.c (__towlower): Likewise. - (__towupper): Likewise. - - * sysdeps/unix/sysv/linux/i386/lowlevellock.h - (lll_unlock_elision): Add adapt_count parameter. - -2015-10-15 Joseph Myers - - * sysdeps/nptl/configure.ac: Do not give errors based on the - results of top-level configure tests. - * sysdeps/nptl/configure: Regenerated. - - * configure.ac (libc_cv_Bgroup): Remove configure test. - * configure: Regenerated. - * config.make.in (have-Bgroup): Remove variable. - - * configure.ac (sizeof_long_double): Remove configure test. - * configure: Regenerated. - * config.make.in (sizeof-long-double): Remove variable. - - * configure.ac (libc_cv_gcc_exceptions): Remove configure test. - * configure: Regenerated. - * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set - variable. - (exceptions): Likewise. - * sysdeps/arm/configure: Regenerated. - * config.make.in (exceptions): Remove variable. - * Makeconfig (uses-callbacks): Use -fexceptions instead of - $(exceptions). - * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise. - (CFLAGS-vdprintf_chk.c): Likewise. - (CFLAGS-printf_chk.c): Likewise. - (CFLAGS-fprintf_chk.c): Likewise. - (CFLAGS-vprintf_chk.c): Likewise. - (CFLAGS-vfprintf_chk.c): Likewise. - (CFLAGS-gets_chk.c): Likewise. - (CFLAGS-fgets_chk.c): Likewise. - (CFLAGS-fgets_u_chk.c): Likewise. - (CFLAGS-fread_chk.c): Likewise. - (CFLAGS-fread_u_chk.c): Likewise. - (CFLAGS-wprintf_chk.c): Likewise. - (CFLAGS-fwprintf_chk.c): Likewise. - (CFLAGS-vwprintf_chk.c): Likewise. - (CFLAGS-vfwprintf_chk.c): Likewise. - (CFLAGS-fgetws_chk.c): Likewise. - (CFLAGS-fgetws_u_chk.c): Likewise. - * libio/Makefile (CFLAGS-fileops.c): Likewise. - (CFLAGS-fputc.c): Likewise. - (CFLAGS-fputwc.c): Likewise. - (CFLAGS-freopen64.c): Likewise. - (CFLAGS-freopen.c): Likewise. - (CFLAGS-fseek.c): Likewise. - (CFLAGS-fseeko64.c): Likewise. - (CFLAGS-fseeko.c): Likewise. - (CFLAGS-ftello64.c): Likewise. - (CFLAGS-ftello.c): Likewise. - (CFLAGS-fwide.c): Likewise. - (CFLAGS-genops.c): Likewise. - (CFLAGS-getc.c): Likewise. - (CFLAGS-getchar.c): Likewise. - (CFLAGS-getwc.c): Likewise. - (CFLAGS-getwchar.c): Likewise. - (CFLAGS-iofclose.c): Likewise. - (CFLAGS-iofflush.c): Likewise. - (CFLAGS-iofgetpos64.c): Likewise. - (CFLAGS-iofgetpos.c): Likewise. - (CFLAGS-iofgets.c): Likewise. - (CFLAGS-iofgetws.c): Likewise. - (CFLAGS-iofputs.c): Likewise. - (CFLAGS-iofputws.c): Likewise. - (CFLAGS-iofread.c): Likewise. - (CFLAGS-iofsetpos64.c): Likewise. - (CFLAGS-iofsetpos.c): Likewise. - (CFLAGS-ioftell.c): Likewise. - (CFLAGS-iofwrite.c): Likewise. - (CFLAGS-iogetdelim.c): Likewise. - (CFLAGS-iogetline.c): Likewise. - (CFLAGS-iogets.c): Likewise. - (CFLAGS-iogetwline.c): Likewise. - (CFLAGS-ioputs.c): Likewise. - (CFLAGS-ioseekoff.c): Likewise. - (CFLAGS-ioseekpos.c): Likewise. - (CFLAGS-iosetbuffer.c): Likewise. - (CFLAGS-iosetvbuf.c): Likewise. - (CFLAGS-ioungetc.c): Likewise. - (CFLAGS-ioungetwc.c): Likewise. - (CFLAGS-oldfileops.c): Likewise. - (CFLAGS-oldiofclose.c): Likewise. - (CFLAGS-oldiofgetpos64.c): Likewise. - (CFLAGS-oldiofgetpos.c): Likewise. - (CFLAGS-oldiofsetpos64.c): Likewise. - (CFLAGS-oldiofsetpos.c): Likewise. - (CFLAGS-peekc.c): Likewise. - (CFLAGS-putc.c): Likewise. - (CFLAGS-putchar.c): Likewise. - (CFLAGS-putwc.c): Likewise. - (CFLAGS-putwchar.c): Likewise. - (CFLAGS-rewind.c): Likewise. - (CFLAGS-wfileops.c): Likewise. - (CFLAGS-wgenops.c): Likewise. - (CFLAGS-oldiofopen.c): Likewise. - (CFLAGS-iofopen.c): Likewise. - (CFLAGS-iofopen64.c): Likewise. - (CFLAGS-oldtmpfile.c): Likewise. - * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise. - (CFLAGS-fprintf.c): Likewise. - (CFLAGS-printf.c): Likewise. - (CFLAGS-vfwprintf.c): Likewise. - (CFLAGS-vfscanf.c): Likewise. - (CFLAGS-vfwscanf.c): Likewise. - (CFLAGS-fscanf.c): Likewise. - (CFLAGS-scanf.c): Likewise. - (CFLAGS-isoc99_vfscanf.c): Likewise. - (CFLAGS-isoc99_vscanf.c): Likewise. - (CFLAGS-isoc99_fscanf.c): Likewise. - (CFLAGS-isoc99_scanf.c): Likewise. - * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise. - (CFLAGS-isoc99_fwscanf.c): Likewise. - (CFLAGS-isoc99_vwscanf.c): Likewise. - (CFLAGS-isoc99_vfwscanf.c): Likewise. - - * io/test-lfs.c (do_prepare): Do not call add_temp_file until - after mkstemp64. - * login/tst-utmp.c (do_prepare): Likewise. - * rt/tst-aio.c (do_prepare): Likewise. - * rt/tst-aio64.c (do_prepare): Likewise. - -2015-10-15 Paul E. Murphy - - * sysdeps/unix/sysv/linux/powerpc/elision-lock.c - (__lll_lock_elision): Remove adapt_count decrement... - * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c - (__lll_trylock_elision): Likewise. - * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c - (__lll_unlock_elision): ... to here. And utilize - new adapt_count parameter. - * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h - (__lll_unlock_elision): Update to include adapt_count - parameter. - (lll_unlock_elision): Pass pointer to adapt_count - variable. - -2015-10-15 Paul E. Murphy - - * nptl/pthread_mutex_unlock.c (lll_unlock_elision): - Add elision adapt_count parameter to list of arguments. - * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h - (lll_unlock_elision): Update with new parameter list - * sysdeps/unix/sysv/linux/s390/lowlevellock.h - (lll_unlock_elision): Likewise. - * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h - (lll_unlock_elision): Likewise. - -2015-10-15 H.J. Lu - - [BZ #19122] - * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add - attribute_hidden. - - * include/string.h [IS_IN (rtld)] (__stpcpy): Add - attribute_hidden. - [IS_IN (rtld)] (__strdup): Likewise. - [IS_IN (rtld)] (__strerror_r): Likewise. - [IS_IN (rtld)] (__strsep_g): Likewise. - [IS_IN (rtld)] (memchr): Likewise. - [IS_IN (rtld)] (memcmp): Likewise. - [IS_IN (rtld)] (memcpy): Likewise. - [IS_IN (rtld)] (memmove): Likewise. - [IS_IN (rtld)] (memset): Likewise. - [IS_IN (rtld)] (rawmemchr): Likewise. - [IS_IN (rtld)] (stpcpy): Likewise. - [IS_IN (rtld)] (strchr): Likewise. - [IS_IN (rtld)] (strcmp): Likewise. - [IS_IN (rtld)] (strlen): Likewise. - [IS_IN (rtld)] (strnlen): Likewise. - [IS_IN (rtld)] (strsep): Likewise. - - * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add - attribute_hidden. - [IS_IN (rtld)] (__strtoul_internal): Likewise. - - * include/signal.h [IS_IN (rtld)] (__sigaction): Add - attribute_hidden. - [IS_IN (rtld)] (__libc_sigaction): Likewise. - - * include/setjmp.h (__longjmp): Add attribute_hidden. - [IS_IN (rtld)] (__sigsetjmp): Likewise. - - * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency): - Add attribute_hidden. - - * include/fcntl.h (__libc_fcntl): Add attribute_hidden. - [IS_IN (rtld)] (__open): Likewise. - [IS_IN (rtld)] (__fcntl): Likewise. - - * include/dirent.h (__opendirat): Add attribute_hidden. - (__getdents): Likewise. - (__getdents64): Likewise. - (__alloc_dir): Likewise. - [IS_IN (rtld)] (__closedir): Likewise. - [IS_IN (rtld)] (__fdopendir): Likewise. - [IS_IN (rtld)] (__readdir): Likewise. - [IS_IN (rtld)] (__readdir64): Likewise. - [IS_IN (rtld)] (__rewinddir): Likewise. - - * include/dlfcn.h (_dl_catch_error): Moved to ... - * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add - attribute_hidden. - - * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden. - (_itoa_word): Likewise. - - * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden. - * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise. - * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise. - * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise. - (_dl_higher_prime_number): Likewise. - (_dl_debug_printf_c): Likewise. - (_dl_signal_cerror): Likewise. - (_dl_receive_error): Likewise. - (_dl_reloc_bad_type): Likewise. - (_dl_resolve_conflicts): Likewise. - (_dl_check_all_versions): Likewise. - (_dl_check_map_versions): Likewise. - (_dl_sort_fini): Likewise. - (_dl_debug_initialize): Likewise. - (_dl_init_paths): Likewise. - (_dl_show_auxv): Likewise. - (_dl_next_ld_env_entry): Likewise. - (_dl_important_hwcaps): Likewise. - (_dl_load_cache_lookup): Likewise. - (_dl_update_slotinfo): Likewise. - (_dl_show_scope): Likewise. - - * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add - attribute_hidden. - (_wordcopy_fwd_dest_aligned): Likewise. - (_wordcopy_bwd_aligned): Likewise. - (_wordcopy_bwd_dest_aligned): Likewise. - - * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden. - * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): - Likewise. - * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): - Likewise. - * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise. - -2015-10-15 H.J. Lu - - * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for - GCC 5 requirement. - -2015-10-15 Joseph Myers - - * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure - test. - * sysdeps/i386/configure: Regenerated. - * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make - code unconditional. - - * configure.ac (libc_cv_asm_previous_directive): Remove configure - test. - (libc_cv_asm_popsection_directive): Likewise. - * configure: Regenerated. - * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef. - (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise. - * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE] - (__make_section_unallocated): Make definition unconditional. - [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated): - Remove conditional definition. - [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE] - (__make_section_unallocated): Likewise. - - * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test. - * configure: Regenerated. - * config.make.in (static-libgcc): Remove variable. - * Makerules (build-shlib-helper): Use -static-libgcc instead of - $(static-libgcc). - (build-module-helper): Likewise. - - * configure.ac (libc_cv_friendly_stddef): Remove configure test. - * configure: Regenerated. - -2015-10-15 Florian Weimer - - * stdio-common/vfscanf.c (MEMCPY): Remove macro. - (struct char_buffer): New type. - (char_buffer_start, char_buffer_size, char_buffer_error) - (char_buffer_rewind, char_buffer_add): New functions. - (ADDW): Remove macro, replaced by the char_buffer_add function. - (_IO_vfscanf_internal): Rewrite using struct char_buffer instead - of extend_alloca. Make control flow more explicit. - -2015-10-15 H.J. Lu - - [BZ #19137] - * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c): - Add -fomit-frame-pointer. - * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file. - -2015-10-15 H.J. Lu - - * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S - (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0). - * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros - only if !__GNUC_PREREQ (5,0). - (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5. - (INTERNAL_SYSCALL_MAIN_INLINE): Likewise. - (INTERNAL_SYSCALL_NCS): Likewise. - (LOADREGS_0): New macro for GCC 5. - (ASMARGS_0): Likewise. - (LOADREGS_1): Likewise. - (ASMARGS_1): Likewise. - (LOADREGS_2): Likewise. - (ASMARGS_2): Likewise. - (LOADREGS_3): Likewise. - (ASMARGS_3): Likewise. - (LOADREGS_4): Likewise. - (ASMARGS_4): Likewise. - (LOADREGS_5): Likewise. - (ASMARGS_5): Likewise. - (LOADREGS_6): Likewise. - (ASMARGS_6): Likewise. - -2015-10-15 H.J. Lu - - * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add - -fomit-frame-pointer. - (CFLAGS-mmap64.c): Likewise. - (CFLAGS-semtimedop.c): Likewise. - * sysdeps/unix/sysv/linux/i386/mmap.c: New file. - * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file. - * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise. - * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise. - -2015-10-15 Florian Weimer - - [BZ #18928] - * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove - _dl_pointer_guard member. - * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard - initializer. - (security_init): Always set up pointer guard. - (process_envvars): Do not process LD_POINTER_GUARD. - -2015-10-14 Joseph Myers - - [BZ #19134] - * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object. - (.LC2): Likewise. - (.LC3): Likewise. - (__lround): Do not add 0.5 to integer or out-of-range arguments. - -2015-10-14 Szabolcs Nagy - - [BZ #19129] - * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore - r0 and r1. - -2015-10-14 Namhyung Kim - - * manaual/argp.texi (Specifying Argp Parsers): Fix typo. - -2015-10-14 Carlos O'Donell - - * include/stap-probe.h: Fix macro definition formatting. - -2015-10-14 Florian Weimer - - [BZ #19074] - * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to - load and store num_ifs. - -2015-10-14 H.J. Lu - - [BZ #18822] - * sysdeps/unix/sysv/linux/sched_getaffinity.c - (__sched_getaffinity_new): Add libc_hidden_proto and - libc_hidden_def. - -2015-10-14 H.J. Lu - - [BZ #19007] - * scripts/localplt.awk: Also allow GOT references. - * sysdeps/unix/sysv/linux/i386/localplt.data: Mark - _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign - with "+ REL R_386_GLOB_DAT". - * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc - and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT". - -2015-10-14 H.J. Lu - - * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use - INLINE_SYSCALL_ERROR_RETURN_VALUE. - * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): - Likewise. - * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise. - * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise. - * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use - INTERNAL_SYSCALLINTERNAL_SYSCALL and - INLINE_SYSCALL_ERROR_RETURN_VALUE. - * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise. - * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise. - * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): - Likewise. - * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise. - -2015-10-13 Joseph Myers - - [BZ #19125] - * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include , - and . - (__llround): Avoid conversions to and from long long int, and - subtractions, where those might raise spurious exceptions. - * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include - and . - (__llroundf): Avoid conversions to and from long long int, and - subtractions, where those might raise spurious exceptions. - -2015-10-13 H.J. Lu - - * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use - INLINE_SYSCALL_ERROR_RETURN_VALUE. - * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise. - * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise. - * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise. - * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise. - * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise. - * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise. - * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise. - * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise. - * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise. - * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise. - * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise. - * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise. - * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise. - * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise. - * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise. - * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise. - * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise. - * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise. - * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise. - * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise. - * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise. - * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise. - * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise. - * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise. - * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise. - * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise. - * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise. - * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise. - (__xstat64_conv): Likewise. - (__xstat32_conv): Likewise. - -2015-10-13 H.J. Lu - - * sysdeps/unix/sysv/linux/sysdep.h: New file. - * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include - . - * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu] - (sysdep-dl-routines): Add sysdep. - [$(subdir) == nptl] (libpthread-routines): Likewise. - [$(subdir) == rt] (librt-routines): Likewise. - * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check - PIC when branching to SYSCALL_ERROR_LABEL. - * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed. - * sysdeps/unix/sysv/linux/i386/sysdep.h: Include - . - (SYSCALL_ERROR_LABEL): Changed to __syscall_error. - (SYSCALL_ERROR_ERRNO): Removed. - (SYSCALL_ERROR_HANDLER): Changed to empty. - (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise. - (__syscall_error): New prototype. - [IS_IN (libc)] (INLINE_SYSCALL): New macro. - (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise. - -2015-10-13 H.J. Lu - - [BZ #19124] - * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT] - (_dl_runtime_resolve_avx512): Make it a hidden alias of - _dl_runtime_resolve_avx. - (_dl_runtime_profile_avx512): Make it a hidden alias of - _dl_runtime_profile_avx. - -2015-10-13 Joseph Myers - - * sysdeps/powerpc/fpu/s_llround.c: Move to .... - * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here. - * sysdeps/powerpc/fpu/s_llroundf.c: Move to .... - * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here. - - [BZ #16422] - * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz): - New configure test. - * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated. - * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro. - * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include , - and . - (__llrint): Avoid conversions to long long int where those might - raise spurious exceptions. - * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include - and . - (__llrintf): Avoid conversions to long long int where those might - raise spurious exceptions. - -2015-10-12 Andreas Schwab - - [BZ #18969] - * debug/Makefile (LOCALES): Define. Include gen-locales.mk. - ($(objpfx)tst-chk1.out): Depend on $(gen-locales). - * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk. - ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on - $(gen-locales). - * intl/Makefile (LOCALES): Define. Include gen-locales.mk. - ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out) - ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out) - ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out) - ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on - $(gen-locales). - * libio/Makefile (LOCALES): Define. Include gen-locales.mk. - ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out) - ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out) - ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out) - ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out) - ($(objpfx)tst-ftell-active-handler.out) - ($(objpfx)tst-ftell-append.out) - ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out) - ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out) - ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out) - ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales). - * posix/Makefile (LOCALES): Define. Include gen-locales.mk. - ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out) - ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out) - ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out) - ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out) - ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out) - ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out) - ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out) - ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out) - ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out) - ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out) - ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out) - ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out) - ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales). - * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk. - ($(objpfx)bug14.out, $(objpfx)scanf13.out) - ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out) - ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out) - ($(objpfx)tst-swprintf.out): Depend on $(gen-locales). - * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk. - ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out) - ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out) - ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on - $(gen-locales). - * time/Makefile (LOCALES): Define. Include gen-locales.mk. - ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on - $(gen-locales). - * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk. - ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out) - ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out) - ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on - $(gen-locales). - * libio/tst_wprintf2.c (main): Use explicit locale. - * wcsmbs/wcsmbs-tst1.c (main): Likewise. - -2015-10-10 Samuel Thibault - - * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by - __msg_sig_post. - * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type. - -2015-10-09 Joseph Myers - - * sysdeps/mips/mips32/libm-test-ulps: Regenerated. - * sysdeps/mips/mips64/libm-test-ulps: Likewise. - - * sysdeps/arm/libm-test-ulps: Regenerated. - - [BZ #15470] - * sysdeps/arm/fix-fp-int-convert-overflow.h: New file. - - [BZ #16399] - * sysdeps/generic/fix-fp-int-convert-overflow.h: New file. - * sysdeps/ieee754/dbl-64/s_llrint.c: Include , - and . - (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if - FIX_DBL_LLONG_CONVERT_OVERFLOW. - * sysdeps/ieee754/dbl-64/s_llround.c: Include , - and . - (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if - FIX_DBL_LLONG_CONVERT_OVERFLOW. - * sysdeps/ieee754/dbl-64/s_lrint.c: Include - . - (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if - FIX_DBL_LLONG_CONVERT_OVERFLOW. - * sysdeps/ieee754/dbl-64/s_lround.c: Include - . - (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if - FIX_DBL_LLONG_CONVERT_OVERFLOW. - * sysdeps/ieee754/flt-32/s_llrintf.c: Include , - and . - (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if - FIX_DBL_LLONG_CONVERT_OVERFLOW. - * sysdeps/ieee754/flt-32/s_llroundf.c: Include , - and . - (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if - FIX_DBL_LLONG_CONVERT_OVERFLOW. - * sysdeps/ieee754/flt-32/s_lrintf.c: Include , - and . - (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if - FIX_DBL_LLONG_CONVERT_OVERFLOW. - * sysdeps/ieee754/flt-32/s_lroundf.c: Include , - and . - (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if - FIX_DBL_LLONG_CONVERT_OVERFLOW. - * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file. - -2015-10-09 Carlos O'Donell - - [BZ #18589] - * string/bug-strcoll2.c: Adjust copyright, and remove contributed by. - * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on - $(gen-locales). - -2015-10-09 Adhemerval Zanella - Phil Blundell - - * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c. - * nptl/tst-cancel26.c: New file. - * nptl/tst-cancel27.c: Likewise. - -2015-10-09 H.J. Lu - - * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if - __ILP32__ isn't defined. - (lrint): Likewise. - * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise. - (lrintf): Likewise. - * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise. - (lrintl): Likewise. - * sysdeps/x86_64/x32/fpu/s_lrint.S: New file. - * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise. - * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise. - -2015-10-09 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S - * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S - - * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove - file. - * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise. - * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise. - -2015-10-09 Joseph Myers - - * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove - configure test. - * sysdeps/i386/configure: Regenerated. - * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove - configure test. - * sysdeps/x86_64/configure: Regenerated. - * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]: - Make code unconditional. - - * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure - test. - * sysdeps/i386/configure: Regenerated. - * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure - test. - * sysdeps/x86_64/configure: Regenerated. - * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]: - Make code unconditional. - * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]: - Likewise. - * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]: - Likewise. - [!HAVE_FMA4_SUPPORT]: Remove conditional code. - * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make - code unconditional. - [!HAVE_FMA4_SUPPORT]: Remove conditional code. - * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make - code unconditional. - [!HAVE_FMA4_SUPPORT]: Remove conditional code. - * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make - code unconditional. - * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make - code unconditional. - [!HAVE_FMA4_SUPPORT]: Remove conditional code. - * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make - code unconditional. - [!HAVE_FMA4_SUPPORT]: Remove conditional code. - * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make - code unconditional. - [!HAVE_FMA4_SUPPORT]: Remove conditional code. - * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make - code unconditional. - [!HAVE_FMA4_SUPPORT]: Remove conditional code. - * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make - code unconditional. - [!HAVE_FMA4_SUPPORT]: Remove conditional code. - * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef. - - [BZ #19095] - * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of - mantissa to long int before shifting left. - -2015-10-08 Joseph Myers - - [BZ #19094] - * sysdeps/ieee754/dbl-64/s_lrint.c: Include and - . - (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception - when result overflows but exception would not result from cast. - * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include and - . - (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception - when result overflows but exception would not result from cast. - * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include and - . - (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception - when result overflows but exception would not result from cast. - * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include and - . - (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception - when result overflows but exception would not result from cast. - * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include and - . - (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception - when result overflows but exception would not result from cast. - * math/libm-test.inc (lrint_test_data): Add more tests. - (llrint_test_data): Likewise. - -2015-10-08 Roland McGrath - - [BZ #18872] - * stdio-common/Makefile ($(objpfx)tst-unbputc.out): - Move out from under [$(run-built-tests) = yes] conditional. - ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise. - ($(objpfx)tst-printf-bz18872-mem.out): Likewise. - -2015-10-08 Carlos O'Donell - - [BZ #18589] - * string/Makefile (tests): Add bug-strcoll2. - (LOCALES): Add cs_CZ.UTF-8. - * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string. - - [BZ #18589] - * string/bug-strcoll2.c: New file. - * locale/categories.def: Revert commit - f13c2a8dff2329c6692a80176262ceaaf8a6f74e. - * locale/langinfo.h: Likewise. - * locale/localeinfo.h: Likewise. - * locale/C-collate.c: Likewise. - * locale/programs/ld-collate.c (collate_output): Likewise. - * string/strcoll_l.c (STRDIFF): Likewise. - (STRCOLL): Likewise. - * wcsmbs/wcscoll_l.c: Likewise. - -2015-10-08 Joseph Myers - - * math/libm-test.inc (lround_test_data): Do not expect the absence - of "inexact" for some tests with non-integer arguments. - (llround_test_data): Likewise. - - * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure - test. - (libc_cv_cc_sse2avx): Likewise. - * sysdeps/i386/configure: Regenerated. - * sysdeps/i386/i686/multiarch/Makefile - [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to - [$(subdir) = math]. - * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make - code unconditional. - * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]: - Likewise. - * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]: - Likewise. - * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]: - Likewise. - * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure - test. - (libc_cv_cc_sse2avx): Likewise. - * sysdeps/x86_64/configure: Regenerated. - * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code - unconditional. - * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile) - [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code - unconditional. - (_dl_runtime_profile) - [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove - conditional code. - * sysdeps/x86_64/fpu/multiarch/Makefile - [$(config-cflags-sse2avx) = yes]: Make code unconditional. - * sysdeps/x86_64/fpu/multiarch/e_atan2.c - [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise. - * sysdeps/x86_64/fpu/multiarch/e_exp.c - [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise. - * sysdeps/x86_64/fpu/multiarch/e_log.c - [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise. - * sysdeps/x86_64/fpu/multiarch/s_atan.c - [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise. - * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]: - Likewise. - * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]: - Likewise. - * sysdeps/x86_64/fpu/multiarch/s_sin.c - [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise. - * sysdeps/x86_64/fpu/multiarch/s_tan.c - [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise. - * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise. - * config.h.in (HAVE_AVX_SUPPORT): Remove #undef. - (HAVE_SSE2AVX_SUPPORT): Likewise. - -2015-10-07 Paul Pluzhnikov - - * stdio-common/tst-printf-bz18872.sh: Use attribute optimize - instead of #pragma optimize. - -2015-10-07 Carlos O'Donell - - [BZ #17195] - * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size, - as is similarly done in systrim and _int_free already. - -2015-10-08 Samuel Thibault - - * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify. - -2015-10-07 Joseph Myers - - [BZ #19088] - * sysdeps/ieee754/dbl-64/s_lround.c: Include and - . - (__lround) [FE_INVALID]: Force FE_INVALID exception when result - overflows but exception would not result from cast. - * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include - and . - (__lround) [FE_INVALID]: Force FE_INVALID exception when result - overflows but exception would not result from cast. - * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include and - . - (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result - overflows but exception would not result from cast. - * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include and - . - (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result - overflows but exception would not result from cast. - * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include and - . - (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result - overflows but exception would not result from cast. - * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include and - . - (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result - overflows but exception would not result from cast. - * math/libm-test.inc (lround_test_data): Add more tests. - (llround_test_data): Likewise. - -2015-10-07 Steve Ellcey - - * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable. - (CFLAGS-ialloc.c): Ditto. - (CFLAGS-scheck.c): Ditto. - -2015-10-07 Carlos O'Donell - - [BZ #19086] - * manual/filesys.texi (Storage Allocation): Fix argument order for - posix_fallocate64. - -2015-10-07 Joseph Myers - - [BZ #19085] - * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for - exponent below 48 inside case for non-overflowing exponent. - * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise. - -2015-10-07 Florian Weimer - - * iconvdata/cp737.h (from_idx): Add const. - * iconvdata/cp775.h (from_idx): Likewise. - -2015-10-07 Joseph Myers - - * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64. - * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c - (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error. - - [BZ #19079] - * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous - file, conditioned on [!_LP64]. - * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c - [!_LP64] (__lround): Do not define as function or alias. - [!_LP64] (lround): Likewise. - [!_LP64] (__lroundl): Likewise. - [!_LP64] (lroundl): Likewise. - * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove - macro. - * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64): - Likewise. - -2015-10-06 Joseph Myers - - * math/libm-test.inc (lrint_test_data): Add more tests. - (llrint_test_data): Likewise. - (lround_test_data): Likewise. - (llround_test_data): Likewise. - - * math/libm-test.inc (lrint_test_data): Add tests used for llrint. - (llrint_test_data): Add tests used for lrint. - - * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure - test. - * sysdeps/i386/configure: Regenerated. - * sysdeps/i386/i686/multiarch/Makefile - [$(config-cflags-sse4) = yes]: Make code unconditional. - * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]: - Likewise. - * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: - Likewise. - * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure - test. - * sysdeps/x86_64/configure: Regenerated. - * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]: - Make code unconditional. - * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]: - Likewise. - * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise. - * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef. - - * scripts/rpm2dynsym.sh: Remove file. - -2015-10-06 Florian Weimer - - * configure.ac (libc_cv_cxx_thread_local): Define. - * configure: Regenerate. - * config.make.in (have-cxx-thread_local): Define. - * nptl/Makefile (CFLAGS-tst-thread_local1.o): - (LDLIBS-tst-thread_local1): Define. - (tests): Add tst-thread_local1. - [have-cxx-thread_local != yes] (tests-unsupported): Add - tst-thread_local1. - * nptl/tst-thread_local1.cc: New file. - -2015-10-06 Joseph Myers - - [BZ #19078] - * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable. - (u_thres): Likewise. - (__expl): Determine whether to call __kernel_standard_l based on - value of result, not argument. - - * math/libm-test.inc (scalb_test_data): Add more expectations for - the "inexact" exception. - - [BZ #19077] - * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return - 0.0L for argument 1.0L. - - [BZ #19076] - * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by - constant 0.0L when computing infinite result. - -2015-10-06 Florian Weimer - - [BZ #10432] - * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to - malloc_usable_size. - -2015-10-06 Florian Weimer - - [BZ #19018] - * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): - Mangle function pointer before storing it. - (__call_tls_dtors): Demangle function pointer before calling it. - -2015-10-05 Paul Pluzhnikov - - [BZ #19012] - * iconv/gconv_db.c (gen_steps): Check for additional errors. - Clean up on failure. - -2015-10-05 Joseph Myers - - [BZ #19071] - * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned - long int variable to store possibly incremented high part of - mantissa. - * math/libm-test.inc (lround_test_data): Add tests used for - llround. Use [LONG_MAX > 0x7fffffff] consistently as condition - for tests requiring 64-bit long. Do not condition tests on - [TEST_FLOAT] unnecessarily. - (llround_test_data): Add tests used for lround. Add another - expectation for the "inexact" exception. Do not condition tests - on [TEST_FLOAT] unnecessarily. - - [BZ #887] - [BZ #19049] - [BZ #19050] - * sysdeps/generic/fix-int-fp-convert-zero.h: New file. - * sysdeps/ieee754/dbl-64/e_log10.c: Include - . - (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO. - * sysdeps/ieee754/dbl-64/e_log2.c: Include - . - (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO. - * sysdeps/ieee754/dbl-64/s_erf.c: Include - . - (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO. - * sysdeps/ieee754/dbl-64/s_logb.c: Include - . - (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO. - * sysdeps/ieee754/flt-32/e_log10f.c: Include - . - (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO. - * sysdeps/ieee754/flt-32/e_log2f.c: Include - . - (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO. - * sysdeps/ieee754/flt-32/s_erff.c: Include - . - (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO. - * sysdeps/ieee754/flt-32/s_logbf.c: Include - . - (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO. - * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include - . - (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO. - * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include - . - (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO. - * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file. - * sysdeps/powerpc/powerpc32/fpu/configure: New generated file. - * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New - file. - * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro. - -2015-10-03 Paul Pluzhnikov - - * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated. - -2015-10-02 Joseph Myers - - [BZ #19059] - * math/s_nexttowardf.c (__nexttowardf): Do not return value from - overflowing computation. - * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise. - * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise. - * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): - Likewise. - * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf): - Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): - Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf): - Likewise. - * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise. - * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): - Likewise. - * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf): - Likewise. - * math/libm-test.inc (nexttoward_test_data): Add more tests. - - * nss/rewrite_field.c (__nss_rewrite_field): Use - internal_function. - * nss/valid_field.c (__nss_valid_field): Likewise. - * nss/valid_list_field.c (__nss_valid_list_field): Likewise. - -2015-10-02 Florian Weimer - - [BZ #18724] - * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define. - (__nss_invalid_field_characters, __nss_valid_field) - (__nss_valid_list_field, __nss_rewrite_field): Declare. - * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c, - tst-field.c: New file. - * nss/Makefile (routines): Add valid_field, rewrite_field. - (tests-static): Define unconditionally. - (tests): Include tests-static. - [build-static-nss] (tests-static): Use append. - [build-static-nss] (tests): Remove modification. - * nss/getent.c (print_group): Call putgrent. Report error. - (print_gshadow): Call putsgent. Report error. - (print_passwd): Call putpwent. Report error. - (print_shadow): Call putspent. Report error. - * include/pwd.h: Include instead of . - * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute. - * pwd/putpwent.c (putpwent): Use ISO function definition. Check - name, password, directory, shell fields for valid syntax. Rewrite - GECOS field to match syntax. - * pwd/Makefile (tests): Add tst-putpwent. - * pwd/tst-putpwent.c: New file. - * grp/putgrent.c (putgrent): Convert to ISO function definition. - Check grName, grpasswd, gr_mem fields for valid syntax. - Change loop variable i to size_t. - * grp/Makefile (tests): Add tst-putgrent. - * grp/tst-putgrent.c: New file. - * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for - valid syntax. - * shadow/Makefile (tests): Add tst-putspent. - * shadow/tst-putspent.c: New file. - * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm, - sg_mem fields for valid syntax. - * gshadow/Makefile (tests): Add tst-putsgent. - * gshadow/tst-putsgent.c: New file. - -2015-10-01 Gabriel F. T. Gomes - - * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some - assembly instructions. - -2015-10-01 Gabriel F. T. Gomes - - * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register - prefix from operands. - -2015-10-01 Joseph Myers - - [BZ #16347] - [BZ #19046] - * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include - . - (MAXLGM): Do not use diagnostic control macros. - [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow - threshold for ldbl-128ibm. - (__ieee754_lgammal_r): For large arguments, multiply by log - 1 - instead of multiplying by log then subtracting. - * math/auto-libm-test-in: Add more tests of lgamma. - * math/auto-libm-test-out: Regenerated. - - * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro. - (TYPE_HEX_DIG): Likewise. - (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as - precisions when printing floating-point numbers. - (check_float_internal): Likewise. - -2015-09-30 Joseph Myers - - [BZ #16620] - * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value - of log (10) rounded downward to 48 bits. - (log10_low): Use corresponding low part of log (10). - - [BZ #19032] - * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1, - compute result as (x - x) / (x - x) not as 0 / 0. - * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise. - * math/libm-test.inc (acosh_test_data): Add another test of acosh. - - * math/auto-libm-test-in: Add more tests of acos, acosh, asin, - atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2 - and expm1. - * math/auto-libm-test-out: Regenerated. - * math/libm-test.inc (acos_test_data): Add more tests. - (asin_test_data): Likewise. - (asinh_test_data): Likewise. - (atan_test_data): Likewise. - (atanh_test_data): Likewise. - (atan2_test_data): Likewise. - (cbrt_test_data): Likewise. - (ceil_test_data): Likewise. - (copysign_test_data): Likewise. - (cos_test_data): Likewise. - (cosh_test_data): Likewise. - (erf_test_data): Likewise. - (erfc_test_data): Likewise. - (exp_test_data): Likewise. - (exp10_test_data): Likewise. - (exp2_test_data): Likewise. - (expm1_test_data): Likewise. - * sysdeps/x86_64/fpu/libm-test-ulps: Update. - -2015-09-30 H.J. Lu - - [BZ #19006] - * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved - to ... - * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here. - * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved - to ... - * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here. - * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved - to ... - * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here. - * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ... - * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here. - * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved - to ... - * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here. - * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: - Moved to ... - * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here. - * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: - Moved to ... - * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here. - * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved - to ... - * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here. - * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: - Moved to ... - * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here. - * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved - to ... - * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here. - * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: - Removed. - * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: - Likewise. - * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: - Likewise. - * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise. - * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: - Likewise. - * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: - Likewise. - * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: - Likewise. - * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: - Likewise. - * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: - Likewise. - * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: - Likewise. - * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: - Likewise. - * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: - Likewise. - * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: - Likewise. - * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise. - * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: - Likewise. - * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: - Likewise. - * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: - Likewise. - * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: - Likewise. - * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: - Likewise. - * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: - Replace ../i486/pthread_cond_timedwait.S with - ../pthread_cond_timedwait.S. - -2015-09-30 Joseph Myers - - * math/libm-test.inc (acos_test_data): Refine expectations for - errno and "inexact" exceptions. - (acosh_test_data): Likewise. - (asin_test_data): Likewise. - (asinh_test_data): Likewise. - (atan_test_data): Likewise. - (atanh_test_data): Likewise. - (atan2_test_data): Likewise. - (cbrt_test_data): Likewise. - (ceil_test_data): Likewise. - (copysign_test_data): Likewise. - (cosh_test_data): Likewise. - (erf_test_data): Likewise. - (erfc_test_data): Likewise. - (exp_test_data): Likewise. - (exp10_test_data): Likewise. - (exp2_test_data): Likewise. - (expm1_test_data): Likewise. - (fabs_test_data): Likewise. - (floor_test_data): Likewise. - (fma_test_data): Likewise. - (fmax_test_data): Likewise. - (fmin_test_data): Likewise. - (fmod_test_data): Likewise. - (fpclassify_test_data): Likewise. - (frexp_test_data): Likewise. - (hypot_test_data): Likewise. - (ilogb_test_data): Likewise. - (isgreater_test_data): Likewise. - (isgreaterequal_test_data): Likewise. - (isinf_test_data): Likewise. - (isless_test_data): Likewise. - (islessequal_test_data): Likewise. - (islessgreater_test_data): Likewise. - (isnan_test_data): Likewise. - (isnormal_test_data): Likewise. - (issignaling_test_data): Likewise. - (isunordered_test_data): Likewise. - (j0_test_data): Likewise. - (j1_test_data): Likewise. - (jn_test_data): Likewise. - (lgamma_test_data): Likewise. - (lrint_test_data): Likewise. - (llrint_test_data): Likewise. - (log_test_data): Likewise. - (log10_test_data): Likewise. - (log1p_test_data): Likewise. - (log2_test_data): Likewise. - (logb_test_data): Likewise. - (lround_test_data): Likewise. - (llround_test_data): Likewise. - (modf_test_data): Likewise. - (nearbyint_test_data): Likewise. - (nextafter_test_data): Likewise. - (nexttoward_test_data): Likewise. - (pow_test_data): Likewise. - (remainder_test_data): Likewise. - (remquo_test_data): Likewise. - (rint_test_data): Likewise. - (round_test_data): Likewise. - (signbit_test_data): Likewise. - (sinh_test_data): Likewise. - (sqrt_test_data): Likewise. - (tanh_test_data): Likewise. - (tgamma_test_data): Likewise. - (trunc_test_data): Likewise. - (y0_test_data): Likewise. - (y1_test_data): Likewise. - (yn_test_data): Likewise. - (significand_test_data): Likewise. - -2015-09-29 Carlos O'Donell - - * manual/filesys.texi (Storage Allocation): Document that - posix_fallocate emulation fails when fd is open with O_WRONLY. - -2015-09-28 Joseph Myers - - [BZ #19016] - * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to - allow more cases with X^2 + Y^2 >= 0.5. - * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as - normal element in sum instead of special-casing based on values of - arguments. - * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment. - * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add - -1 as normal element in sum instead of special-casing based on - values of arguments. - * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise. - * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0] - (__x2y2m1): Update comment. - * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1 - as normal element in sum instead of special-casing based on values - of arguments. - * math/s_clog.c (__clog): Handle more cases using log1p without - hypot. - * math/s_clog10.c (__clog10): Likewise. - * math/s_clog10f.c (__clog10f): Likewise. - * math/s_clog10l.c (__clog10l): Likewise. - * math/s_clogf.c (__clogf): Likewise. - * math/s_clogl.c (__clogl): Likewise. - * math/auto-libm-test-in: Add more tests of clog and clog10. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2015-09-28 Martin Sebor - - [BZ #18969] - * string/Makefile (LOCALES): Define. - (gen-locales.mk): Include. - (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out) - (tst-strxfrm2.out): Add deppendency on $(gen-locales). - * string/tst-strxfrm2.c (do_test): Print the name of the locale - on setlocale failure. - -2015-09-26 Paul Pluzhnikov - - [BZ #18985] - * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check. - (__strftime_internal): Likewise. - * time/tst-strftime.c (do_bz18985): New test. - (do_test): Call it. - -2015-09-26 Joseph Myers - - [BZ #18956] - * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000 - not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when - extracting high part. - * math/auto-libm-test-in: Add another test of pow. - * math/auto-libm-test-out: Regenerated. - * sysdeps/x86_64/fpu/libm-test-ulps: Update. - -2015-09-25 Joseph Myers - - [BZ #18825] - * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN): - New macro. - (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise. - (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise. - * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN. - (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of - DBL_NARROW_EVAL, reloading the PIC register as needed. - * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN. - (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of - FLT_NARROW_EVAL. Use separate return path for case when first - argument is NaN. - * sysdeps/i386/fpu/e_powl.S: Include . Use - DEFINE_LDBL_MIN. - (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the - PIC register. - * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use - math_check_force_underflow_nonneg. - * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force - underflow for subnormal result. - * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use - math_check_force_underflow_nonneg. - * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use - math_check_force_underflow. - * sysdeps/x86_64/fpu/x86_64-math-asm.h - (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro. - * sysdeps/x86_64/fpu/e_powl.S: Include . Use - DEFINE_LDBL_MIN. - (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN. - * math/auto-libm-test-in: Add more tests of pow. - * math/auto-libm-test-out: Regenerated. - -2015-09-25 Florian Weimer - - * nss/bug17079.c (init_test_items): Add diagnostic for - inconsistent entries. - (test_buffer_size): Skip inconsistent entries. - -2015-09-25 Joseph Myers - - [BZ #13304] - * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file. - * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise. - * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise. - - [BZ #13304] - * sysdeps/microblaze/s_fma.c: New file. - * sysdeps/microblaze/s_fmaf.c: Likewise. - * sysdeps/microblaze/sfp-machine.h: Likewise. - -2015-09-25 Maciej W. Rozycki - - [BZ #17250] - * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1 - member. - -2015-09-24 Joseph Myers - - [BZ #18803] - * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN. - (MO): New macro. - (__ieee754_hypot) [PIC]: Load PIC register. - (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of - DBL_NARROW_EVAL. - * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use - math_check_force_underflow_nonneg in case where result might be - tiny. - * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): - Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): - Likewise. - * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise. - * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise. - * math/auto-libm-test-in: Add more tests of hypot. - * math/auto-libm-test-out: Regenerated. - -2015-09-24 Steve Ellcey - - * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused. - -2015-09-24 Joseph Myers - - * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file. - * sysdeps/x86_64/fpu/e_exp2l.S: Include . - (ldbl_min): Replace with use of DEFINE_LDBL_MIN. - (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN. - * sysdeps/x86_64/fpu/e_expl.S: Include . - [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN. - (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG. - - * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use - LOAD_PIC_REG. - - * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro. - (FLT_CHECK_FORCE_UFLOW): Likewise. - (DBL_CHECK_FORCE_UFLOW): Likewise. - (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise. - (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise. - (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise. - (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise. - (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise. - (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise. - (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise. - (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise. - * sysdeps/i386/fpu/e_asin.S: Include . - (dbl_min): Replace with use of DEFINE_DBL_MIN. - (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW. - * sysdeps/i386/fpu/e_asinf.S: Include . - (flt_min): Replace with use of DEFINE_FLT_MIN. - (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW. - * sysdeps/i386/fpu/e_atan2.S: Include . - (dbl_min): Replace with use of DEFINE_DBL_MIN. - (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW. - * sysdeps/i386/fpu/e_atan2f.S: Include . - (flt_min): Replace with use of DEFINE_FLT_MIN. - (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW. - * sysdeps/i386/fpu/e_atanh.S: Include . - (dbl_min): Replace with use of DEFINE_DBL_MIN. - (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG. - * sysdeps/i386/fpu/e_atanhf.S: Include . - (flt_min): Replace with use of DEFINE_FLT_MIN. - (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG. - * sysdeps/i386/fpu/e_exp2l.S: Include . - (ldbl_min): Replace with use of DEFINE_LDBL_MIN. - (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN. - * sysdeps/i386/fpu/e_expl.S: Include . - [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN. - (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG. - * sysdeps/i386/fpu/s_atan.S: Include . - (dbl_min): Replace with use of DEFINE_DBL_MIN. - (__atan): Use DBL_CHECK_FORCE_UFLOW. - * sysdeps/i386/fpu/s_atanf.S: Include . - (flt_min): Replace with use of DEFINE_FLT_MIN. - (__atanf): Use FLT_CHECK_FORCE_UFLOW. - * sysdeps/i386/fpu/s_expm1.S: Include . - (dbl_min): Replace with use of DEFINE_DBL_MIN. - (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after - main computation. - * sysdeps/i386/fpu/s_expm1f.S: Include . - (flt_min): Replace with use of DEFINE_FLT_MIN. - (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after - main computation. - * sysdeps/i386/fpu/s_log1p.S: Include . - (dbl_min): Replace with use of DEFINE_DBL_MIN. - (MO): New macro. - (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN. - * sysdeps/i386/fpu/s_log1pf.S: Include . - (flt_min): Replace with use of DEFINE_FLT_MIN. - (MO): New macro. - (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN. - * sysdeps/i386/fpu/s_log1pl.S (MO): New macro. - (__log1pl): Use MO. - - [BZ #19003] - * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add - $(config-cflags-nofma). - -2015-09-24 Szabolcs Nagy - - * sysdeps/aarch64/libm-test-ulps: Regenerated. - -2015-09-23 Joseph Myers - - * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile. - (TWO127): Likewise. - - * sysdeps/generic/math_private.h (fabs_tg): New macro. - (min_of_type): Likewise. - (math_check_force_underflow): Likewise. - (math_check_force_underflow_nonneg): Likewise. - (math_check_force_underflow_complex): Likewise. - * math/e_exp2l.c (__ieee754_exp2l): Use - math_check_force_underflow_nonneg. - * math/k_casinh.c (__kernel_casinh): Likewise. - * math/k_casinhf.c (__kernel_casinhf): Likewise. - * math/k_casinhl.c (__kernel_casinhl): Likewise. - * math/s_catan.c (__catan): Use - math_check_force_underflow_complex. - * math/s_catanf.c (__catanf): Likewise. - * math/s_catanh.c (__catanh): Likewise. - * math/s_catanhf.c (__catanhf): Likewise. - * math/s_catanhl.c (__catanhl): Likewise. - * math/s_catanl.c (__catanl): Likewise. - * math/s_ccosh.c (__ccosh): Likewise. - * math/s_ccoshf.c (__ccoshf): Likewise. - * math/s_ccoshl.c (__ccoshl): Likewise. - * math/s_cexp.c (__cexp): Likewise. - * math/s_cexpf.c (__cexpf): Likewise. - * math/s_cexpl.c (__cexpl): Likewise. - * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg. - * math/s_clog10.c (__clog10): Likewise. - * math/s_clog10f.c (__clog10f): Likewise. - * math/s_clog10l.c (__clog10l): Likewise. - * math/s_clogf.c (__clogf): Likewise. - * math/s_clogl.c (__clogl): Likewise. - * math/s_csin.c (__csin): Use math_check_force_underflow_complex. - * math/s_csinf.c (__csinf): Likewise. - * math/s_csinh.c (__csinh): Likewise. - * math/s_csinhf.c (__csinhf): Likewise. - * math/s_csinhl.c (__csinhl): Likewise. - * math/s_csinl.c (__csinl): Likewise. - * math/s_csqrt.c (__csqrt): Use math_check_force_underflow. - * math/s_csqrtf.c (__csqrtf): Likewise. - * math/s_csqrtl.c (__csqrtl): Likewise. - * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex. - * math/s_ctanf.c (__ctanf): Likewise. - * math/s_ctanh.c (__ctanh): Likewise. - * math/s_ctanhf.c (__ctanhf): Likewise. - * math/s_ctanhl.c (__ctanhl): Likewise. - * math/s_ctanl.c (__ctanl): Likewise. - * stdlib/strtod_l.c (round_and_return): Use math_force_eval - instead of volatile. - * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use - math_check_force_underflow. - * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise. - * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use - volatile when forcing underflow. - * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use - math_check_force_underflow_nonneg. - * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): - Likewise. - * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use - math_check_force_underflow. - * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise. - * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise. - * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise. - * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use - math_check_force_underflow_nonneg. - * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use - math_check_force_underflow. - * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise. - * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval - instead of volatile. - * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use - math_check_force_underflow. - * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise. - * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use - math_check_force_underflow_nonneg. - * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use - math_check_force_underflow. - * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise. - * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise. - * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use - math_check_force_underflow_nonneg. - * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): - Likewise. - * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use - math_check_force_underflow. - * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise. - * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise. - * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise. - * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise. - * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise. - * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise. - * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise. - * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise. - * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise. - * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise. - * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise. - * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl): - Likewise. - * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use - math_check_force_underflow_nonneg. - * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r): - Likewise. - * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use - math_check_force_underflow. - * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise. - * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise. - * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl): - Likewise. - * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise. - * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise. - * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise. - * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise. - * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise. - * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise. - * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval - instead of volatile. - * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use - math_check_force_underflow. - * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use - math_check_force_underflow. - * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): - Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r): - Use math_check_force_underflow_nonneg. - * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use - math_check_force_underflow. - * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): - Likewise. - * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): - Likewise. - * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise. - * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise. - * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise. - * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use - math_check_force_underflow_nonneg. - * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use - math_check_force_underflow. - * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise. - * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise. - * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise. - * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use - math_check_force_underflow_nonneg. - * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use - math_check_force_underflow. - * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise. - * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval - instead of volatile. - * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use - math_check_force_underflow. - - * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval. - * stdlib/strtod_l.c: Include . - (overflow_value): Use math_narrow_eval. - (underflow_value): Likewise. - * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise. - * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise. - * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise. - (__ieee754_gamma_r): Likewise. - * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf): - Likewise. - * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): - Likewise. - * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise. - * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise. - * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise. - * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise. - * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise. - (__ieee754_gammaf_r): Likewise. - * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): - Likewise. - * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise. - * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise. - * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise. - * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise. - * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use - volatile. - * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise. - * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use - math_narrow_eval. - * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): - Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf): - Likewise. - * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product): - Likewise. - * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use - volatile. - * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise. - * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use - math_narrow_eval. - * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): - Likewise. - * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf): - Likewise. - -2015-09-22 H.J. Lu - - * nptl/Versions: Remove ignored symbols. - -2015-09-22 Florian Weimer - - * nss/bug17079.c: Renamed from nss/bug18287.c. Add description. - * nss/Makefile (tests): Update. - -2015-09-22 Florian Weimer - - * nss/bug18287.c: New file. - * nss/Makefile (tests): Add bug18287. - -2015-09-22 Samuel Thibault - - * mach/Versions (__mach_host_self_): Add symbol. - -2015-09-21 Samuel Thibault - - * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of - vm_page_size. - -2015-09-19 Samuel Thibault - - Really fix sysdeps/i386/fpu/s_scalbn.S build - - * math/Versions (libc: GLIBC_2_20): New (empty) version set. - (libc: GLIBC_2_22): Remove unused version set. - -2015-09-18 Mike Frysinger - - * config.make.in (enable-timezone-tools): New variable. - * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag. - (enable_timezone_tools): Export to generated files. - * configure: Regenerate. - * INSTALL: Regenerate. - * manual/install.texi (--disable-timezone-tools): Document new flag. - * timezone/Makefile (install-sbin, install-bin-script): Wrap in a - ifeq ($(enable-timezone-tools),yes) check. - -2015-09-18 Joseph Myers - - * timezone/Makefile: Revert previous change. - - [BZ #18980] - * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro. - (DEFINE_DBL_MIN): Likewise. - (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise. - (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise. - (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise. - (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise. - * sysdeps/i386/fpu/e_exp.S: Include . - (dbl_min): Replace with use of DEFINE_DBL_MIN. - (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN. - (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG. - * sysdeps/i386/fpu/e_exp10.S: Include . - (dbl_min): Replace with use of DEFINE_DBL_MIN. - (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN. - * sysdeps/i386/fpu/e_exp10f.S: Include . - (flt_min): Replace with use of DEFINE_FLT_MIN. - (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN. - * sysdeps/i386/fpu/e_exp2.S: Include . - (dbl_min): Replace with use of DEFINE_DBL_MIN. - (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN. - * sysdeps/i386/fpu/e_exp2f.S: Include . - (flt_min): Replace with use of DEFINE_FLT_MIN. - (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN. - * sysdeps/i386/fpu/e_expf.S: Include . - (flt_min): Replace with use of DEFINE_FLT_MIN. - (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN. - (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG. - * sysdeps/i386/fpu/e_hypot.S: Include . - (__ieee754_hypot): Use DBL_NARROW_EVAL. - * sysdeps/i386/fpu/e_hypotf.S: Include . - (__ieee754_hypotf): Use FLT_NARROW_EVAL. - * sysdeps/i386/fpu/e_pow.S: Include . - (__ieee754_pow): Use DBL_NARROW_EVAL. - * sysdeps/i386/fpu/e_powf.S: Include . - (__ieee754_powf): Use FLT_NARROW_EVAL. - * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S - (__ieee754_expf_sse2): Convert double-precision result to single - precision. - * sysdeps/i386/fpu/libm-test-ulps: Update. - -2015-09-18 Wilco Dijkstra - - * timezone/Makefile: Ignore unused variable errors due to private.h - (time_t_min) and (time_t_max). - * timezone/private.h (time_t_min): Revert removal. (time_t_max): - Likewise. - -2015-09-18 Joseph Myers - - [BZ #18981] - * sysdeps/i386/fpu/i386-math-asm.h: New file. - * sysdeps/i386/fpu/e_scalb.S: Include . - (__ieee754_scalb): Use DBL_NARROW_EVAL. - * sysdeps/i386/fpu/e_scalbf.S: Include . - (__ieee754_scalbf): Use FLT_NARROW_EVAL. - * sysdeps/i386/fpu/s_scalbn.S: Include . - (__scalbn): Use DBL_NARROW_EVAL. - * sysdeps/i386/fpu/s_scalbnf.S: Include . - (__scalbnf): Use FLT_NARROW_EVAL. - -2015-09-18 Wilco Dijkstra - - * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check. - * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise. - * math/w_tgammal.c (__ieee754_gammal_r): Likewise. - * stdio-common/printf_fp.c (___printf_fp): - Use signbit to get the sign. Use isinf macro to allow inlining. - * stdio-common/printf_fphex.c (__printf_fphex): Likewise. - * stdio-common/printf_size.c (__printf_size): Likewise. - -2015-09-18 Mike Frysinger - - * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory). - -2015-09-18 Joseph Myers - - [BZ #18980] - * sysdeps/generic/math_private.h: Include . - (math_narrow_eval): New macro. - [FLT_EVAL_METHOD != 0] (excess_precision): Likewise. - * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use - math_narrow_eval on overflowing return value. - * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): - Likewise. - * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise. - * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise. - * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): - Likewise. - * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise. - -2015-09-18 Wilco Dijkstra - - * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl. - * math/Makefile: Remove isinf_ns.c. - * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf. - * math/multc3.c (__multc3): Likewise. - * math/s_casin.c (__casin): Likewise. - * math/s_casinf.c (__casinf): Likewise. - * math/s_casinl.c (__casinl): Likewise. - * math/s_cproj.c (__cproj): Likewise. - * math/s_cprojf.c (__cprojf): Likewise. - * math/s_cprojl.c (__cprofl): Likewise. - * math/s_ctan.c (__ctan): Likewise. - * math/s_ctanf.c (__ctanf): Likewise. - * math/s_ctanh.c (__ctanh): Likewise. - * math/s_ctanhf.c (__ctanhf): Likewise. - * math/s_ctanhl.c (__ctanhl): Likewise. - * math/s_ctanl.c (__ctanl): Likewise. - * math/w_fmod.c (__fmod): Likewise. - * math/w_fmodf.c (__fmodf): Likewise. - * math/w_fmodl.c (_fmodl): Likewise. - * math/w_remainder.c (__remainder): Likewise. - * math/w_remainderf.c (__remainderf): Likewise. - * math/w_remainderl.c (__remainderl): Likewise. - * math/w_scalb.c (__scalb): Likewise. - * math/w_scalbf.c (__scalbf): Likewise. - * math/w_scalbl.c (__scalbl): Likewise. - * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file. - * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns - with isinf. - * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file. - * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file. - * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace - __isinf_nsf with isinf. - * sysdeps/ieee754/flt-32/math_private.h: Deleted file. - * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file. - * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file. - * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl - with isinf. - * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace - __isinf_nsl with isinf. - * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl - with isinf. - * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file. - * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace - __isinf_nsl with isinf. - * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file. - * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl - with isinf. - -2015-09-18 Wilco Dijkstra - - * resolv/base64.c (rcsid): Remove unused static. - * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused - static. (tqpi1): Likewise. - * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise. - * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise. - * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise. - * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise. - * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise. - * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise. - * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise. - * timezone/private.h (time_t_min): Likewise. (time_t_max): - Likewise. - -2015-09-18 H.J. Lu - - * sysdeps/nptl/jmp-unwind.c: Include instead of - . - (_longjmp_unwind): Use __libc_ptf_call. - * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise. - -2015-09-18 David Lamparter - - * sysdeps/arm/setjmp.S: Change PIC to SHARED. - * sysdeps/arm/__longjmp.S: Likewise. - -2015-09-18 Wilco Dijkstra - - * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit): - Use __builtin_signbit. - * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf): - Use __builtin_signbitf. - * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl): - Use __builtin_signbitl. - * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise. - * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise. - -2015-09-18 Wilco Dijkstra - - [BZ #15367] - [BZ #17441] - - * math/Makefile: Build test-snan.c with -fsignaling-nans. - * math/math.h (fpclassify): Use __builtin_fpclassify when - available. (signbit): Use __builtin_signbit(f/l). - (isfinite): Use__builtin_isfinite. (isnormal): Use - __builtin_isnormal. (isnan): Use __builtin_isnan. - (isinf): Use __builtin_isinf_sign. - -2015-09-18 Wilco Dijkstra - - * benchtests/Makefile: Add bench-math-inlines, link with libm. - * benchtests/bench-math-inlines.c: New benchmark. - * benchtests/bench-util.h: New file. - * benchtests/bench-util.c: New file. - * benchtests/bench-skeleton.c: Add include of bench-util.c/h. - -2015-09-18 Carlos O'Donell - - * elf/tst-dlmopen1.c: Define TEST_SO. - (do_test): Use TEST_SO. - - * elf/dl-load.c: Include libc-internal.h. - (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN. - -2015-09-18 Vincent Bernat - - [BZ #17887] - * time/strptime_l.c (__strptime_internal): Make %z accept - [+-]HH:MM time zones. - -2015-09-18 Vincent Bernat - - [BZ #17886] - * time/strptime_l.c (__strptime_internal): Make %z accept Z as a - valid time zone. - -2015-09-17 Mike Frysinger - - * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete. - * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete. - * sysdeps/unix/sysv/linux/alpha/kernel-features.h - (__ASSUME_FDATASYNC): Delete. - -2015-09-17 Joseph Myers - - * conform/linknamespace.pl: Require weak undefined symbols to be - in the standard namespace. - (%strong_syms): Rename to %seen_syms. - (%strong_seen): Rename to %seen_where. - -2015-09-17 H.J. Lu - - [BZ #18970] - * misc/error.c (error): Replace pthread_setcancelstate with - __pthread_setcancelstate. - (error_at_line): Likewise. - * posix/wordexp.c (parse_comm): Likewise. - * stdlib/fmtmsg.c (fmtmsg): Likewise. - * nptl/forward.c (pthread_setcancelstate): Renamed to ... - (__pthread_setcancelstate): This. - (pthread_setcancelstate): Add an alias. - * nptl/nptl-init.c (pthread_functions): Replace - ptr_pthread_setcancelstate with ptr___pthread_setcancelstate. - * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise. - * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with - hidden_proto. - * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark - it with hidden_def. - * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New. - (pthread_setcancelstate): Renamed to ... - (__pthread_setcancelstate): This. - * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use - __libc_ptf_call with __pthread_setcancelstate. - -2015-09-17 Joseph Myers - Andreas Schwab - - [BZ #17118] - * math/s_ctan.c (__ctan): Determine sign of zero real part of - result when imaginary part of argument is infinite using sine and - cosine. - * math/s_ctanf.c (__ctanf): Likewise. - * math/s_ctanl.c (__ctanl): Likewise. - * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part - of result when real part of argument is infinite using sine and - cosine. - * math/s_ctanhf.c (__ctanhf): Likewise. - * math/s_ctanhl.c (__ctanhl): Likewise. - * math/libm-test.inc (ctan_test_data): Add more tests of ctan. - (ctanh_test_data): Add more tests of ctanh. - -2015-09-17 Joseph Myers - - [BZ #15384] - * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as - bit-mask as in subtraction. - * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite): - Likewise. - * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise. - * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise. - - [BZ #18951] - * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force - underflow exception for small results. - * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): - Likewise. - * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r): - Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r): - Likewise. - * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): - Likewise. - * math/auto-libm-test-in: Add more tests of tgamma. - * math/auto-libm-test-out: Regenerated. - -2015-09-17 Andreas Schwab - - * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd. - -2015-09-16 Joseph Myers - - [BZ #18977] - * math/bits/mathcalls.h - [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do - not declare. - [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1): - Likewise. - [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn): - Likewise. - [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0): - Likewise. - [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1): - Likewise. - [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn): - Likewise. - * conform/data/math.h-data - [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect - function. - [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise. - [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise. - [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise. - [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise. - [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise. - [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise. - [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise. - [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise. - [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise. - [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise. - [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise. - - [BZ #6803] - * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp. - [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp. - * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf. - * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl. - * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias. - * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise. - * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise. - * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise. - [NO_LONG_DOUBLE] (scalbnl): Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn): - Likewise. - [NO_LONG_DOUBLE] (scalbnl): Likewise. - * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise. - * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove - long_double_symbol calls. - * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise. - * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as - strong alias of __ldexpl. - (scalbnl): Define using long_double_symbol. - * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)): - Remove alias. - * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise. - * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise. - * math/libm-test.inc (scalbn_test_data): Add errno expectations. - (scalbln_test_data): Add more errno expectations. - -2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de> - - Cache the host port like we cache the task port. This way we do not - need to call the kernel just to get the port. Furthermore, we no - longer increase the reference count on every invocation of - `mach_host_self'. - - * mach/mach/mach_traps.h (__mach_host_self, mach_host_self): - Protect declarations against the macro expansion. - * mach/mach_init.c (__mach_host_self_): New variable. - (mach_init): Initialize `__mach_host_self_'. - * mach/mach_init.h (__mach_host_self_): New declaration. - (__mach_host_self, mach_host_self): New macros. - * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): - Release reference. - -2015-09-16 Joseph Myers - - [BZ #4404] - * po/de.po: Update from Translation Project. - - [BZ #16415] - * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable. - (__expm1l): Remove code to handle positive infinity and overflow. - * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove - variable. - (__expm1l): Remove code to handle positive infinity and overflow. - -2015-09-16 Paul Eggert - Paul Pluzhnikov - - [BZ #18872] - * stdio-common/Makefile (tst-printf-bz18872): New test. - (tst-printf-bz18872-mem.out): Likewise. - * stdio-common/tst-printf-bz18872.sh: Generate new test. - * stdio-common/vfprintf.c: Fix memory leaks. - -2015-09-16 Andreas Schwab - - [BZ #17244] - * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl): - Remove extra va_start/va_end calls. - - [BZ #17243] - * posix/execl.c (execl): Add missing va_end. - * posix/execle.c (execle): Likewise. - * posix/execlp.c (execlp): Likewise. - -2015-09-15 Roland McGrath - - * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX] - (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX. - -2015-09-15 Joseph Myers - - [BZ #18967] - * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and - undefine around includes of . - * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do - not declare function. - [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise. - [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)] - (scalb): Likewise. - * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do - not define macro. - * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove - variable. - (test-xfail-XOPEN2K/tgmath.h/conform): Likewise. - (test-xfail-XOPEN2K8/math.h/conform): Likewise. - (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise. - - [BZ #18857] - * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just - return non-finite argument without doing ordered comparisons on - it. - - [BZ #16296] - * math/fenv.h (fegetround): Use __attribute_pure__. - * include/fenv.h (__fegetround): Likewise. - - [BZ #18595] - * math/s_ctan.c (__ctan): Force underflow exception for results - whose real or imaginary part has small absolute value. - * math/s_ctanf.c (__ctanf): Likewise. - * math/s_ctanh.c (__ctanh): Likewise. - * math/s_ctanhf.c (__ctanhf): Likewise. - * math/s_ctanhl.c (__ctanhl): Likewise. - * math/s_ctanl.c (__ctanl): Likewise. - * math/auto-libm-test-in: Do not allow missing underflow for ctan - and ctanh. Add more tests of ctan and ctanh. - - [BZ #15918] - * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify - handling of cases where one argument is an infinity. - - [BZ #18875] - [BZ #18966] - * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object. - (MO): New macro. - (__ieee754_exp10): For small results, force underflow exception - and remove excess range and precision from return value. - * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object. - (MO): New macro. - (__ieee754_exp10f): For small results, force underflow exception - and remove excess range and precision from return value. - * math/auto-libm-test-in: Add more tests of exp10. - * math/auto-libm-test-out: Regenerated. - -2015-09-14 Joseph Myers - - [BZ #18875] - [BZ #18961] - * sysdeps/i386/fpu/e_exp.S (dbl_min): New object. - (MO): New macro. - (__ieee754_exp): For small results, force underflow exception and - remove excess range and precision from return value. - (__exp_finite): Likewise. - * sysdeps/i386/fpu/e_expf.S (flt_min): New object. - (MO): New macro. - (__ieee754_expf): For small results, force underflow exception and - remove excess range and precision from return value. - (__expf_finite): Likewise. - * math/auto-libm-test-in: Add more tests of exp. - * math/auto-libm-test-out: Regenerated. - - [BZ #16521] - [BZ #18875] - * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for - small results. - * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object. - (MO): New macro. - (__ieee754_exp2): For small results, force underflow exception and - remove excess range and precision from return value. - * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object. - (MO): New macro. - (__ieee754_exp2f): For small results, force underflow exception - and remove excess range and precision from return value. - * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object. - (MO): New macro. - (__ieee754_exp2l): Force underflow exception for small results. - * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise. - * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise. - * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object. - (MO): New macro. - (__ieee754_exp2l): Force underflow exception for small results. - * math/auto-libm-test-in: Add more tests or exp2. - * math/auto-libm-test-out: Regenerated. - -2015-09-14 Carlos O'Donell - - * malloc/malloc.c (systrim): Use ALIGN_DOWN. - - * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from - /dev/null. - -2015-09-13 Samuel Thibault - - * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth - io fs process)): Drop spurious backslash. - -2015-09-12 Rasmus Villemoes - - * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages): - Use sysinfo system call instead of parsing /proc/meminfo. - * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages): - Likewise. - -2015-09-11 Mike Frysinger - - [BZ #16985] - * programs/localedef.c (main): Display argv[remaining] when - output_path is NULL. - -2015-09-11 Joseph Myers - - * math/auto-libm-test-in: Add more tests of acos, acosh, asin, - asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp, - exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and - tanh. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/mips/mips32/libm-test-ulps: Likewise. - * sysdeps/mips/mips64/libm-test-ulps: Likewise. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2015-09-11 Roland McGrath - - * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers): - Use 'override' keyword to freeze the value here, preventing - the addition of sys/mtio.h by sysdeps/gnu/Makefile. - -2015-09-11 Joseph Myers - - [BZ #14912] - * sysdeps/aarch64/bits/atomic.h: Move to ... - * sysdeps/aarch64/atomic-machine.h: ...here. - (_AARCH64_BITS_ATOMIC_H): Rename macro to - _AARCH64_ATOMIC_MACHINE_H. - * sysdeps/alpha/bits/atomic.h: Move to ... - * sysdeps/alpha/atomic-machine.h: ...here. - * sysdeps/arm/bits/atomic.h: Move to ... - * sysdeps/arm/atomic-machine.h: ...here. Update comments. - * bits/atomic.h: Move to ... - * sysdeps/generic/atomic-machine.h: ...here. - (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H. - * sysdeps/i386/bits/atomic.h: Move to ... - * sysdeps/i386/atomic-machine.h: ...here. - * sysdeps/ia64/bits/atomic.h: Move to ... - * sysdeps/ia64/atomic-machine.h: ...here. - * sysdeps/m68k/coldfire/bits/atomic.h: Move to ... - * sysdeps/m68k/coldfire/atomic-machine.h: ...here. - (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H. - * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ... - * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here. - * sysdeps/microblaze/bits/atomic.h: Move to ... - * sysdeps/microblaze/atomic-machine.h: ...here. - * sysdeps/mips/bits/atomic.h: Move to ... - * sysdeps/mips/atomic-machine.h: ...here. - (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H. - * sysdeps/powerpc/bits/atomic.h: Move to ... - * sysdeps/powerpc/atomic-machine.h: ...here. Update comments. - * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ... - * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update - comments. Include instead of . - * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ... - * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include - instead of . - * sysdeps/s390/bits/atomic.h: Move to ... - * sysdeps/s390/atomic-machine.h: ...here. - * sysdeps/sparc/sparc32/bits/atomic.h: Move to ... - * sysdeps/sparc/sparc32/atomic-machine.h: ...here. - (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H. - * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ... - * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here. - * sysdeps/sparc/sparc64/bits/atomic.h: Move to ... - * sysdeps/sparc/sparc64/atomic-machine.h: ...here. - * sysdeps/tile/bits/atomic.h: Move to ... - * sysdeps/tile/atomic-machine.h: ...here. - * sysdeps/tile/tilegx/bits/atomic.h: Move to ... - * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include - instead of - . - (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H. - * sysdeps/tile/tilepro/bits/atomic.h: Move to ... - * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include - instead of - . - (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H. - * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ... - * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include - instead of - . - * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ... - * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here. - (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H. - * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ... - * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here. - (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H. - * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ... - * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here. - (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H. - * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ... - * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here. - * sysdeps/x86_64/bits/atomic.h: Move to ... - * sysdeps/x86_64/atomic-machine.h: ...here. - * include/atomic.h: Include instead of - . - - * sysdeps/mips/mips32/libm-test-ulps: Update. - * sysdeps/mips/mips64/libm-test-ulps: Likewise. - - [BZ #18952] - * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do - not convert non-integer negative arguments to int to determine the - value of signgam. - * math/auto-libm-test-in: Add more tests of lgamma. - * math/auto-libm-test-out: Regenerated. - - * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt, - cosh, csqrt, erfc, expm1 and lgamma. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2015-09-10 Joseph Myers - - [BZ #2542] - [BZ #2543] - [BZ #2558] - * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call - __lgamma_neg for arguments from -28.0 to -2.0. - * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call - __lgamma_negf for arguments from -15.0 to -2.0. - * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): - Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0. - * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r): - Call __lgamma_negl for arguments from -33.0 to -2.0. - * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file. - * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise. - * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise. - * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise. - * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise. - * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise. - * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise. - * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise. - * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise. - * sysdeps/generic/math_private.h (__lgamma_negf): New prototype. - (__lgamma_neg): Likewise. - (__lgamma_negl): Likewise. - (__lgamma_product): Likewise. - (__lgamma_productl): Likewise. - * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product. - * math/auto-libm-test-in: Add more tests of lgamma. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2015-09-09 Justin Maggard - - [BZ #18675] - * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64. - -2015-09-08 Joseph Myers - - [BZ #14912] - * bits/libc-lock.h: Move to ... - * sysdeps/generic/libc-lock.h: ...here. - (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H. - * sysdeps/mach/hurd/bits/libc-lock.h: Move to ... - * sysdeps/mach/hurd/libc-lock.h: ...here. - (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H. - [_LIBC]: Include instead of . - * sysdeps/mach/bits/libc-lock.h: Move to ... - * sysdeps/mach/libc-lock.h: ...here. - (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H. - * sysdeps/nptl/bits/libc-lock.h: Move to ... - * sysdeps/nptl/libc-lock.h: ...here. - (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H. - * sysdeps/nptl/bits/libc-lockP.h: Move to ... - * sysdeps/nptl/libc-lockP.h: ...here. - (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H. - * crypt/crypt_util.c: Include instead of - . - * dirent/scandir-tail.c: Likewise. - * dlfcn/dlerror.c: Likewise. - * elf/dl-close.c: Likewise. - * elf/dl-iteratephdr.c: Likewise. - * elf/dl-lookup.c: Likewise. - * elf/dl-open.c: Likewise. - * elf/dl-support.c: Likewise. - * elf/dl-writev.h: Likewise. - * elf/rtld.c: Likewise. - * grp/fgetgrent.c: Likewise. - * gshadow/fgetsgent.c: Likewise. - * gshadow/sgetsgent.c: Likewise. - * iconv/gconv_conf.c: Likewise. - * iconv/gconv_db.c: Likewise. - * iconv/gconv_dl.c: Likewise. - * iconv/gconv_int.h: Likewise. - * iconv/gconv_trans.c: Likewise. - * include/link.h: Likewise. - * inet/getnameinfo.c: Likewise. - * inet/getnetgrent.c: Likewise. - * inet/getnetgrent_r.c: Likewise. - * intl/bindtextdom.c: Likewise. - * intl/dcigettext.c: Likewise. - * intl/finddomain.c: Likewise. - * intl/gettextP.h: Likewise. - * intl/loadmsgcat.c: Likewise. - * intl/localealias.c: Likewise. - * intl/textdomain.c: Likewise. - * libidn/idn-stub.c: Likewise. - * libio/libioP.h: Likewise. - * locale/duplocale.c: Likewise. - * locale/freelocale.c: Likewise. - * locale/newlocale.c: Likewise. - * locale/setlocale.c: Likewise. - * login/getutent_r.c: Likewise. - * login/getutid_r.c: Likewise. - * login/getutline_r.c: Likewise. - * login/utmp-private.h: Likewise. - * login/utmpname.c: Likewise. - * malloc/mtrace.c: Likewise. - * misc/efgcvt.c: Likewise. - * misc/error.c: Likewise. - * misc/fstab.c: Likewise. - * misc/getpass.c: Likewise. - * misc/mntent.c: Likewise. - * misc/syslog.c: Likewise. - * nis/nis_call.c: Likewise. - * nis/nis_callback.c: Likewise. - * nis/nss-default.c: Likewise. - * nis/nss_compat/compat-grp.c: Likewise. - * nis/nss_compat/compat-initgroups.c: Likewise. - * nis/nss_compat/compat-pwd.c: Likewise. - * nis/nss_compat/compat-spwd.c: Likewise. - * nis/nss_nis/nis-alias.c: Likewise. - * nis/nss_nis/nis-ethers.c: Likewise. - * nis/nss_nis/nis-grp.c: Likewise. - * nis/nss_nis/nis-hosts.c: Likewise. - * nis/nss_nis/nis-network.c: Likewise. - * nis/nss_nis/nis-proto.c: Likewise. - * nis/nss_nis/nis-pwd.c: Likewise. - * nis/nss_nis/nis-rpc.c: Likewise. - * nis/nss_nis/nis-service.c: Likewise. - * nis/nss_nis/nis-spwd.c: Likewise. - * nis/nss_nisplus/nisplus-alias.c: Likewise. - * nis/nss_nisplus/nisplus-ethers.c: Likewise. - * nis/nss_nisplus/nisplus-grp.c: Likewise. - * nis/nss_nisplus/nisplus-hosts.c: Likewise. - * nis/nss_nisplus/nisplus-initgroups.c: Likewise. - * nis/nss_nisplus/nisplus-network.c: Likewise. - * nis/nss_nisplus/nisplus-proto.c: Likewise. - * nis/nss_nisplus/nisplus-pwd.c: Likewise. - * nis/nss_nisplus/nisplus-rpc.c: Likewise. - * nis/nss_nisplus/nisplus-service.c: Likewise. - * nis/nss_nisplus/nisplus-spwd.c: Likewise. - * nis/ypclnt.c: Likewise. - * nptl/libc_pthread_init.c: Likewise. - * nss/getXXbyYY.c: Likewise. - * nss/getXXent.c: Likewise. - * nss/getXXent_r.c: Likewise. - * nss/nss_db/db-XXX.c: Likewise. - * nss/nss_db/db-netgrp.c: Likewise. - * nss/nss_db/nss_db.h: Likewise. - * nss/nss_files/files-XXX.c: Likewise. - * nss/nss_files/files-alias.c: Likewise. - * nss/nsswitch.c: Likewise. - * posix/regex_internal.h: Likewise. - * posix/wordexp.c: Likewise. - * pwd/fgetpwent.c: Likewise. - * resolv/res_hconf.c: Likewise. - * resolv/res_libc.c: Likewise. - * shadow/fgetspent.c: Likewise. - * shadow/lckpwdf.c: Likewise. - * shadow/sgetspent.c: Likewise. - * socket/opensock.c: Likewise. - * stdio-common/reg-modifier.c: Likewise. - * stdio-common/reg-printf.c: Likewise. - * stdio-common/reg-type.c: Likewise. - * stdio-common/vfprintf.c: Likewise. - * stdio-common/vfscanf.c: Likewise. - * stdlib/abort.c: Likewise. - * stdlib/cxa_atexit.c: Likewise. - * stdlib/fmtmsg.c: Likewise. - * stdlib/random.c: Likewise. - * stdlib/setenv.c: Likewise. - * string/strsignal.c: Likewise. - * sunrpc/auth_none.c: Likewise. - * sunrpc/bindrsvprt.c: Likewise. - * sunrpc/create_xid.c: Likewise. - * sunrpc/key_call.c: Likewise. - * sunrpc/rpc_thread.c: Likewise. - * sysdeps/arm/backtrace.c: Likewise. - * sysdeps/generic/ldsodefs.h: Likewise. - * sysdeps/generic/stdio-lock.h: Likewise. - * sysdeps/generic/unwind-dw2-fde.c: Likewise. - * sysdeps/i386/backtrace.c: Likewise. - * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise. - * sysdeps/m68k/backtrace.c: Likewise. - * sysdeps/mach/hurd/cthreads.c: Likewise. - * sysdeps/mach/hurd/dirstream.h: Likewise. - * sysdeps/mach/hurd/malloc-machine.h: Likewise. - * sysdeps/nptl/malloc-machine.h: Likewise. - * sysdeps/nptl/stdio-lock.h: Likewise. - * sysdeps/posix/dirstream.h: Likewise. - * sysdeps/posix/getaddrinfo.c: Likewise. - * sysdeps/posix/system.c: Likewise. - * sysdeps/pthread/aio_suspend.c: Likewise. - * sysdeps/s390/s390-32/backtrace.c: Likewise. - * sysdeps/s390/s390-64/backtrace.c: Likewise. - * sysdeps/unix/sysv/linux/check_pf.c: Likewise. - * sysdeps/unix/sysv/linux/if_index.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise. - * sysdeps/unix/sysv/linux/shm-directory.c: Likewise. - * sysdeps/unix/sysv/linux/system.c: Likewise. - * sysdeps/x86_64/backtrace.c: Likewise. - * time/alt_digit.c: Likewise. - * time/era.c: Likewise. - * time/tzset.c: Likewise. - * wcsmbs/wcsmbsload.c: Likewise. - * nptl/tst-initializers1.c (do_test): Refer to - instead of in comment. - -2015-09-08 Andrew Bennett - - * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2): - Only use .set mips2 if the current ISA is below mips2. - * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set): - Likewise. - * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set - mips32r2 if the current ISA is below mips32r2. - * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define. - (TLS_IE): Updated to use the TLD_RDHWR macro. - (TLS_LE): Likewise. - * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef - __ASSEMBLER__ condition. - -2015-09-08 Samuel Thibault - - Fix parallel build of before-compile targets. - - * sysdeps/mach/Makefile ($(patsubst - mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated - mach-before-compile target. - * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth - io fs process)): Move rule to dedicated hurd-before-compile target. - -2015-09-06 Samuel Thibault - - Fix rules generating headers in hurd/ and mach/ when initial make call - has subdir= explicitly set. - - * sysdeps/mach/Makefile ($(patsubst - mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when - calling $(MAKE). - * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth - io fs process)): Force subdir to hurd when calling $(MAKE). - ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force - subdir to mach when calling $(MAKE). - -2015-09-06 Manolis Ragkousis - - Check sysheaders when looking for Mach and Hurd headers - - * sysdeps/mach/configure.ac: Add sysheaders check. - * sysdeps/mach/configure: Regenerate. - * sysdeps/mach/hurd/configure.ac: Add sysheaders check. - * sysdeps/mach/hurd/configure: Regenerate. - -2015-09-04 Roland McGrath - - [BZ #18921] - * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]: - Fix inverted sense of test of 'o_directory_works' value. - Reported by PĂĄdraig Brady , diagnosed by - Bernhard Voelker . - -2015-09-04 Joseph Myers - - [BZ #14912] - * bits/linkmap.h: Move to ... - * sysdeps/generic/linkmap.h: ...here. - * sysdeps/aarch64/bits/linkmap.h: Move to ... - * sysdeps/aarch64/linkmap.h: ...here. - * sysdeps/arm/bits/linkmap.h: Move to ... - * sysdeps/arm/linkmap.h: ...here. - * sysdeps/hppa/bits/linkmap.h: Move to ... - * sysdeps/hppa/linkmap.h: ...here. - * sysdeps/ia64/bits/linkmap.h: Move to ... - * sysdeps/ia64/linkmap.h: ...here. - * sysdeps/mips/bits/linkmap.h: Move to ... - * sysdeps/mips/linkmap.h: ...here. - * sysdeps/s390/bits/linkmap.h: Move to ... - * sysdeps/s390/linkmap.h: ...here. - * sysdeps/sh/bits/linkmap.h: Move to ... - * sysdeps/sh/linkmap.h: ...here. - * sysdeps/x86/bits/linkmap.h: Move to ... - * sysdeps/x86/linkmap.h: ...here. - * include/link.h: Include instead of . - -2015-09-04 Andreas Schwab - - [BZ #18635] - * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S - (__makecontext): Terminate FDE before return label. - (__novec_makecontext): Likewise. - -2015-09-04 Carlos Eduardo Seo - - * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the - first member of struct sv in syscall macro. - -2015-09-04 Joseph Myers - - [BZ #14912] - * bits/stdio-lock.h: Move to ... - * sysdeps/generic/stdio-lock.h: ...here. - (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H. - * sysdeps/nptl/bits/stdio-lock.h: Move to ... - * sysdeps/nptl/stdio-lock.h: ...here. - (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H. - * include/libio.h: Include instead of - . - * sysdeps/nptl/fork.c: Likewise. - * sysdeps/pthread/flockfile.c: Likewise. - * sysdeps/pthread/ftrylockfile.c: Likewise. - * sysdeps/pthread/funlockfile.c: Likewise. - - [BZ #14912] - * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ... - * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here. - * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include - instead of . - * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise. - -2015-09-03 Roland McGrath - - * elf/Makefile (test-xfail-tst-protected1a): New variable. - (test-xfail-tst-protected1b): New variable. - -2015-09-03 Joseph Myers - - [BZ #14912] - * bits/libc-tsd.h: Move to ... - * sysdeps/generic/libc-tsd.h: ...here. - (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H. - * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ... - * sysdeps/mach/hurd/libc-tsd.h: ...here. - (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H. - * include/ctype.h: Include instead of - . - * include/rpc/rpc.h: Likewise. - * locale/localeinfo.h: Likewise. - * sunrpc/rpc_thread.c: Likewise. - * sysdeps/mach/hurd/malloc-machine.h: Likewise. - * sysdeps/nptl/malloc-machine.h: Likewise. - - * Makefile (headers): Remove bits/libc-lock.h. - * libio/Makefile (headers): Remove bits/stdio-lock.h. - - * libio/libio.h [_IO_MTSAFE_IO]: Remove include of - and commented-out include of . - * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include - . - * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine. - * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise. - -2015-09-01 Paul Pluzhnikov - - [BZ #18757] - * libio/iofopncook.c (_IO_fopencookie): Set errno on failure. - * libio/test-fmemopen.c (do_bz18820): Extend the test to cover - BZ #18757. - -2015-09-01 Paul Pluzhnikov - - * malloc/mtrace.pl: Filter out NULL entries. - -2015-09-01 Joseph Myers - - * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro. - * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New - macro. - - * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro. - (TCP_CC_INFO): Likewise. - (TCP_SAVE_SYN): Likewise. - (TCP_SAVED_SYN): Likewise. - -2015-08-31 Brett Neumeier - - [BZ #18870] - * sysdeps/sparc/sparc32/sem_open.c: Add missing #include - -2015-08-31 Paul Eggert - - [BZ #18873] - Fix broken overflow check in posix_fallocate - * sysdeps/posix/posix_fallocate.c (posix_fallocate): - * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64): - Fix parenthesization typo. - -2015-08-28 Mike Frysinger - - [BZ #18887] - * misc/Makefile (tests): Add tst-mntent-blank-corrupt and - tst-mntent-blank-passno. - * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0]. - * misc/tst-mntent-blank-corrupt.c: New test. - * misc/tst-mntent-blank-passno.c: New test ripped from ... - * misc/tst-mntent.c (do_test): ... here. - -2015-08-29 Mike Frysinger - - [BZ #4404] - * po/de.po: Fix SIGALRM typo. - -2015-08-28 James Perkins - - * time/tst-strptime2.c (tests): Replace short list of test - strings for strptime %z specifier with code which exhaustively - tests every combination of sign and 0 to 5 digits. Tests for - rejection of invalid strings. - -2015-08-28 James Perkins - - [BZ #16141] - * time/strptime_l.c (__strptime_internal): Fix %z minutes - calculation, removing incorrect decimal time rounding, so that - all minute values result in a valid seconds value. - * time/strptime_l.c (__strptime_internal): Extend %z time zone - offset range limits to UTC-99:59 through UTC+99:59 to parse - current and historical use cases. - * time/tst-strptime2.c (tests): Modify and add tests for the - strptime %z input field descriptor, specifically conversion of - minutes to seconds and validating an offset range of -9959 to - +9959. - -2015-08-27 Adhemerval Zanella - Dmitry V. Levin - - [BZ #18877] - * posix/Makefile (tests): Add tst-mmap-offset. - * posix/tst-mmap.c: New file. - * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix - offset calculation for negative values. - -2015-08-27 H.J. Lu - - * sysdeps/i386/init-arch.h: New file. - * sysdeps/i386/i586/init-arch.h: Likewise. - * sysdeps/i386/i686/init-arch.h: Likewise. - * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586 - bit if CX8 is available. Set bit_I686 bit if CMOV is available. - * sysdeps/x86/cpu-features.h (bit_I586): New. - (bit_I686): Likewise. - (bit_CX8): Likewise. - (bit_CMOV): Likewise. - (index_CX8): Likewise. - (index_CMOV): Likewise. - (index_I586): Likewise. - (index_I686): Likewise. - (reg_CX8): Likewise. - (reg_CMOV): Likewise. - (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't - available at compile-time. - (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't - available at compile-time. - * sysdeps/x86/init-arch.h (USE_I586): New macro. - (USE_I686): Likewise. - -2015-08-27 H.J. Lu - - * sysdeps/i386/bcopy.S: New file. - * sysdeps/i386/bzero.S: Likewise. - * sysdeps/i386/memcpy.S: Likewise. - * sysdeps/i386/memmove.S: Likewise. - * sysdeps/i386/mempcpy.S: Likewise. - * sysdeps/i386/memset.S: Likewise. - * sysdeps/i386/bzero.c: Removed. - * sysdeps/i386/memset.c: Likewise. - * sysdeps/i386/i586/memcpy_chk.S: Likewise. - * sysdeps/i386/i586/mempcpy_chk.S: Likewise. - * sysdeps/i386/i586/memset_chk.S: Likewise. - * sysdeps/i386/i686/memcpy_chk.S: Moved to ... - * sysdeps/i386/memcpy_chk.S: Here. - * sysdeps/i386/i686/memmove_chk.S: Moved to ... - * sysdeps/i386/memmove_chk.S: Here. - * sysdeps/i386/i686/mempcpy_chk.S: Moved to ... - * sysdeps/i386/mempcpy_chk.S: Likewise. - * sysdeps/i386/i686/memset_chk.S: Moved to ... - * sysdeps/i386/memset_chk.S: Likewise. - -2015-08-27 Steve Ellcey - - * soft-fp/fmasf4.c: Add include of sys/cdefs.h. - Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of - file, move DIAG_POP_NEEDS_COMMENT to end of file. - * soft-fp/fmadf4.c: Ditto. - * soft-fp/fmatf4.c: Ditto. - -2015-08-27 H.J. Lu - - * sysdeps/i386/i586/Implies: Removed. - * sysdeps/i386/i686/Implies: Likewise. - -2015-08-27 H.J. Lu - - * sysdeps/i386/i486/strlen.S: Moved to ... - * sysdeps/i386/strlen.S: Here. - -2015-08-27 H.J. Lu - - * sysdeps/i386/i486/strcat.S: Moved to ... - * sysdeps/i386/strcat.S: Here. - -2015-08-27 H.J. Lu - - * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ... - * sysdeps/i386/pthread_spin_trylock.S: Here. - * sysdeps/i386/i586/pthread_spin_trylock.S: Removed. - * sysdeps/i386/i686/pthread_spin_trylock.S: Updated. - -2015-08-27 H.J. Lu - - * sysdeps/i386/i486/string-inlines.c: Moved to ... - * sysdeps/i386/string-inlines.c: Here. - -2015-08-27 H.J. Lu - - * sysdeps/i386/i486/htonl.S: Moved ... - * sysdeps/i386/htonl.S: here. - -2015-08-27 H.J. Lu - - * sysdeps/i386/i486/bits/atomic.h: Moved to ... - * sysdeps/i386/bits/atomic.h: Here. - -2015-08-27 H.J. Lu - - * sysdeps/i386/i486/Versions: Removed. - -2015-08-27 Gleb Fotengauer-Malinovskiy - - [BZ #2898] - * misc/mktemp.c: Add mkdtemp to the link_warning message. - Based on patch by Aurelien Jarno. - -2015-08-26 Stan Shebs - - * sysdeps/ieee754/ldbl-96/k_tanl.c: Include . - (__kernel_tanl): Ignore uninitialized warnings around use of SIGN. - -2015-08-26 Carlos Eduardo Seo - - * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC. - * sysdeps/powerpc/dl-procinfo.c: - (_dl_powerpc_cap_flags): Added descriptor for this hwcap - feature so it shows when LD_SHOW_AUXV=1. - -2015-08-26 Paul E. Murphy - - * sysdeps/unix/sysv/linux/powerpc/elision-lock.c - (__arch_compare_and_exchange_val_32_acq): Remove and use common - definition. ISA 2.07B no longer requires full sync. - -2015-08-26 Mike Frysinger - - [BZ #18863] - * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys. - (si_call_addr): Define. - (si_syscall): Define. - (si_arch): Define. - -2015-08-26 H.J. Lu - - * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New. - * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise. - * sysdeps/i386/i586/memset.S (BZERO_P): Removed. - Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC. - (__memset_zero_constant_len_parameter): New. - * sysdeps/i386/i686/memset.S (BZERO_P): Removed. - Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC. - (__memset_zero_constant_len_parameter): Don't define if - __memset_chk or USE_AS_BZERO are defined. - - * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed. - Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC. - * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New. - - * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os, - tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ... - * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os, - tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update - comments. - * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add - -mno-mmx for $(all-rtld-routines). - * sysdeps/x86/tst-ld-sse-use.sh: Moved to ... - * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with - i386. - -2015-08-26 Stefan Liebler - - * sysdeps/generic/unwind.h - (_Unwind_Word): Use __mode__(__unwind_word__) - instead of __mode__(__word__). - (_Unwind_Sword): Likewise. - - * sysdeps/s390/s390-64/utf8-utf16-z9.c - (MAX_NEEDED_INPUT): New define. - (MAX_NEEDED_OUTPUT): New define. - - * NEWS: New item for IBM z13 string optimizations. - - * sysdeps/s390/multiarch/memrchr-c.c: New File. - * sysdeps/s390/multiarch/memrchr-vx.S: Likewise. - * sysdeps/s390/multiarch/memrchr.c: Likewise. - * sysdeps/s390/multiarch/Makefile - (sysdep_routines): Add memrchr functions. - * sysdeps/s390/multiarch/ifunc-impl-list-common.c - (__libc_ifunc_impl_list_common): Add ifunc test for memrchr. - - * sysdeps/s390/multiarch/wmemcmp-c.c: New File. - * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise. - * sysdeps/s390/multiarch/wmemcmp.c: Likewise. - * sysdeps/s390/multiarch/Makefile - (sysdep_routines): Add wmemcmp functions. - * sysdeps/s390/multiarch/ifunc-impl-list-common.c - (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp. - * benchtests/bench-wmemcmp.c: New File. - * benchtests/Makefile (wcsmbs-bench): Add wmemcmp. - - * sysdeps/s390/multiarch/wmemset-c.c: New File. - * sysdeps/s390/multiarch/wmemset-vx.S: Likewise. - * sysdeps/s390/multiarch/wmemset.c: Likewise. - * sysdeps/s390/multiarch/Makefile - (sysdep_routines): Add wmemset functions. - * sysdeps/s390/multiarch/ifunc-impl-list-common.c - (__libc_ifunc_impl_list_common): Add ifunc test for wmemset. - * wcsmbs/wmemset.c: Use WMEMSET if defined. - * string/test-memset.c: Add wmemset support. - * wcsmbs/test-wmemset.c: New File. - * wcsmbs/Makefile (strop-tests): Add wmemset. - * benchtests/bench-memset.c: Add wmemset support. - * benchtests/bench-wmemset.c: New File. - * benchtests/Makefile (wcsmbs-bench): Add wmemset. - - * sysdeps/s390/multiarch/memccpy-c.c: New File. - * sysdeps/s390/multiarch/memccpy-vx.S: Likewise. - * sysdeps/s390/multiarch/memccpy.c: Likewise. - * sysdeps/s390/multiarch/Makefile - (sysdep_routines): Add memccpy functions. - * sysdeps/s390/multiarch/ifunc-impl-list-common.c - (__libc_ifunc_impl_list_common): Add ifunc test for memccpy. - * string/memccpy.c: Use MEMCCPY if defined. - - * sysdeps/s390/multiarch/memchr-vx.S: New File. - * sysdeps/s390/multiarch/memchr.c: Likewise. - * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise. - * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise. - * sysdeps/s390/multiarch/rawmemchr.c: Likewise. - * sysdeps/s390/multiarch/wmemchr-c.c: Likewise. - * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise. - * sysdeps/s390/multiarch/wmemchr.c: Likewise. - * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise. - * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise. - * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr - and rawmemchr functions. - * sysdeps/s390/multiarch/ifunc-impl-list-common.c - (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr - and wmemchr. - * wcsmbs/wmemchr.c: Use WMEMCHR if defined. - * string/test-memchr.c: Add wmemchr support. - * wcsmbs/test-wmemchr.c: New File. - * wcsmbs/Makefile (strop-tests): Add wmemchr. - * benchtests/bench-memchr.c: Add wmemchr support. - * benchtests/bench-wmemchr.c: New File. - * benchtests/Makefile (wcsmbs-bench): wmemchr. - - * sysdeps/s390/multiarch/strcspn-c.c: New File. - * sysdeps/s390/multiarch/strcspn-vx.S: Likewise. - * sysdeps/s390/multiarch/strcspn.c: Likewise. - * sysdeps/s390/multiarch/wcscspn-c.c: Likewise. - * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise. - * sysdeps/s390/multiarch/wcscspn.c: Likewise. - * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and - wcscspn functions. - * sysdeps/s390/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn. - * wcsmbs/wcscspn.c: Use WCSCSPN if defined. - * string/test-strcspn.c: Add wcscspn support. - * wcsmbs/test-wcscspn.c: New File. - * wcsmbs/Makefile (strop-tests): Add wcscspn. - * benchtests/bench-strcspn.c: Add wcscspn support. - * benchtests/bench-wcscspn.c: New File. - * benchtests/Makefile (wcsmbs-bench): Add wcscspn. - - * sysdeps/s390/multiarch/strpbrk-c.c: New File. - * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise. - * sysdeps/s390/multiarch/strpbrk.c: Likewise. - * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise. - * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise. - * sysdeps/s390/multiarch/wcspbrk.c: Likewise. - * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and - wcspbrk functions. - * sysdeps/s390/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk. - * wcsmbs/wcspbrk.c: Use WCSPBRK if defined. - * string/test-strpbrk.c: Add wcspbrk support. - * wcsmbs/test-wcspbrk.c: New File. - * wcsmbs/Makefile (strop-tests): Add wcspbrk. - * benchtests/bench-strpbrk.c: Add wcspbrk support. - * benchtests/bench-wcspbrk.c: New File. - * benchtests/Makefile (wcsmbs-bench): Add wcspbrk. - - * sysdeps/s390/multiarch/strspn-c.c: New File. - * sysdeps/s390/multiarch/strspn-vx.S: Likewise. - * sysdeps/s390/multiarch/strspn.c: Likewise. - * sysdeps/s390/multiarch/wcsspn-c.c: Likewise. - * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise. - * sysdeps/s390/multiarch/wcsspn.c: Likewise. - * wcsmbs/wcsspn.c: Use WCSSPN if defined. - * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and - wcsspn functions. - * sysdeps/s390/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn. - * string/test-strspn.c: Add wcsspn support. - * wcsmbs/test-wcsspn.c: New File. - * wcsmbs/Makefile (strop-tests): Add wcsspn. - * benchtests/bench-strspn.c: Add wcsspn support. - * benchtests/bench-wcsspn.c: New File. - * benchtests/Makefile (wcsmbs-bench): Add wcsspn. - - * sysdeps/s390/multiarch/strrchr-c.c: New File. - * sysdeps/s390/multiarch/strrchr-vx.S: Likewise. - * sysdeps/s390/multiarch/strrchr.c: Likewise. - * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise. - * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise. - * sysdeps/s390/multiarch/wcsrchr.c: Likewise. - * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and - wcsrchr functions. - * sysdeps/s390/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr. - * benchtests/bench-wcsrchr.c: New File. - * benchtests/Makefile (wcsmbs-bench): Add wcsrchr. - - * sysdeps/s390/multiarch/strchrnul-c.c: New File. - * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise. - * sysdeps/s390/multiarch/strchrnul.c: Likewise. - * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise. - * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise. - * sysdeps/s390/multiarch/wcschrnul.c: Likewise. - * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and - wcschrnul functions. - * sysdeps/s390/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul. - * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined. - * string/test-strchr.c: Add wcschrnul support. - * wcsmbs/test-wcschrnul.c: New File. - * wcsmbs/Makefile (strop-tests): Add wcschrnul. - * benchtests/bench-strchr.c: Add wcschrnul support. - * benchtests/bench-wcschrnul.c: New File. - * benchtests/Makefile (wcsmbs-bench): Add wcschrnul. - - * sysdeps/s390/multiarch/strchr-c.c: New File. - * sysdeps/s390/multiarch/strchr-vx.S: Likewise. - * sysdeps/s390/multiarch/strchr.c: Likewise. - * sysdeps/s390/multiarch/wcschr-c.c: Likewise. - * sysdeps/s390/multiarch/wcschr-vx.S: Likewise. - * sysdeps/s390/multiarch/wcschr.c: Likewise. - * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and - wcschr functions. - * sysdeps/s390/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr. - * string/strchr.c (STRCHR): Define and use macro. - * benchtests/bench-wcschr.c: New File. - * benchtests/Makefile (wcsmbs-bench): Add wcschr. - - * sysdeps/s390/multiarch/strncmp-c.c: New File. - * sysdeps/s390/multiarch/strncmp-vx.S: Likewise. - * sysdeps/s390/multiarch/strncmp.c: Likewise. - * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise. - * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise. - * sysdeps/s390/multiarch/wcsncmp.c: Likewise. - * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and - wcsncmp functions. - * sysdeps/s390/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp. - * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro. - * benchtests/bench-strncmp.c: Add wcsncmp support. - * benchtests/bench-wcsncmp.c: New File. - * benchtests/Makefile (wcsmbs-bench): Add wcsncmp. - - * sysdeps/s390/multiarch/strcmp-vx.S: New File. - * sysdeps/s390/multiarch/strcmp.c: Likewise. - * sysdeps/s390/multiarch/wcscmp-c.c: Likewise. - * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise. - * sysdeps/s390/multiarch/wcscmp.c: Likewise. - * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise. - * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise. - * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and - wcscmp functions. - * sysdeps/s390/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp. - * string/strcmp.c (STRCMP): Define and use macro. - * benchtests/bench-wcscmp.c: New File. - * benchtests/Makefile (wcsmbs-bench): Add wcscmp. - * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp - instead of _HAVE_STRING_ARCH_memchr. - - * sysdeps/s390/multiarch/strncat-c.c: New File. - * sysdeps/s390/multiarch/strncat-vx.S: Likewise. - * sysdeps/s390/multiarch/strncat.c: Likewise. - * sysdeps/s390/multiarch/wcsncat-c.c: Likewise. - * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise. - * sysdeps/s390/multiarch/wcsncat.c: Likewise. - * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and - wcsncat functions. - * sysdeps/s390/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat. - * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro. - * string/test-strncat.c: Add wcsncat support. - * wcsmbs/test-wcsncat.c: New File. - * wcsmbs/Makefile (strop-tests): Add wcsncat. - * benchtests/bench-strncat.c: Add wcsncat support. - * benchtests/bench-wcsncat.c: New File. - * benchtests/Makefile (wcsmbs-bench): Add wcsncat. - - * sysdeps/s390/multiarch/strcat-c.c: New File. - * sysdeps/s390/multiarch/strcat-vx.S: Likewise. - * sysdeps/s390/multiarch/strcat.c: Likewise. - * sysdeps/s390/multiarch/wcscat-c.c: Likewise. - * sysdeps/s390/multiarch/wcscat-vx.S: Likewise. - * sysdeps/s390/multiarch/wcscat.c: Likewise. - * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and - wcscat functions. - * sysdeps/s390/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat. - * string/strcat.c (STRCAT): Define and use macro. - * wcsmbs/wcscat.c: Use WCSCAT if defined. - * string/test-strcat.c: Add wcscat support. - * wcsmbs/test-wcscat.c: New File. - * wcsmbs/Makefile (strop-tests): Add wcscat. - * benchtests/bench-strcat.c: Add wcscat support. - * benchtests/bench-wcscat.c: New File. - * benchtests/Makefile (wcsmbs-bench): Add wcscat. - - * sysdeps/s390/multiarch/stpncpy-c.c: New File. - * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise. - * sysdeps/s390/multiarch/stpncpy.c: Likewise. - * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise. - * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise. - * sysdeps/s390/multiarch/wcpncpy.c: Likewise. - * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and - wcpncpy functions. - * sysdeps/s390/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy. - * wcsmbs/wcpncpy.c: Use WCPNCPY if defined. - * string/test-stpncpy.c: Add wcpncpy support. - * wcsmbs/test-wcpncpy.c: New File. - * wcsmbs/Makefile (strop-tests): Add wcpncpy. - * benchtests/bench-stpncpy.c: Add wcpncpy support. - * benchtests/bench-wcpncpy.c: New File. - * benchtests/Makefile (wcsmbs-bench): Add wcpncpy. - - * sysdeps/s390/multiarch/strncpy-vx.S: New File. - * sysdeps/s390/multiarch/strncpy.c: Likewise. - * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise. - * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise. - * sysdeps/s390/multiarch/wcsncpy.c: Likewise. - * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise. - * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise. - * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and - wcsncpy functions. - * wcsmbs/wcsncpy.c: Use WCSNCPY if defined. - * sysdeps/s390/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy. - * string/test-strncpy.c: Add wcsncpy support. - * wcsmbs/test-wcsncpy.c: New File. - * wcsmbs/Makefile (strop-tests): Add wcsncpy. - * benchtests/bench-strncpy.c: Add wcsncpy support. - * benchtests/bench-wcsncpy.c: New File. - * benchtests/Makefile (wcsmbs-bench): Add wcsncpy - - * sysdeps/s390/multiarch/stpcpy-c.c: New File. - * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise. - * sysdeps/s390/multiarch/stpcpy.c: Likewise. - * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise. - * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise. - * sysdeps/s390/multiarch/wcpcpy.c: Likewise. - * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and - wcpcpy functions. - * string/stpcpy.c: Use STPCPY if defined. - * wcsmbs/wcpcpy.c: Use WCPCPY if defined. - * sysdeps/s390/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy. - * string/test-stpcpy.c: Add wcpcpy support. - * wcsmbs/test-wcpcpy.c: New File. - * wcsmbs/Makefile (strop-tests): Add wcpcpy. - * benchtests/bench-stpcpy.c: Add wcpcpy support. - * benchtests/bench-wcpcpy.c: New File. - * benchtests/Makefile (wcsmbs-bench): Add wcpcpy. - - * sysdeps/s390/multiarch/strcpy-vx.S: New File. - * sysdeps/s390/multiarch/strcpy.c: Likewise. - * sysdeps/s390/multiarch/wcscpy-c.c: Likewise. - * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise. - * sysdeps/s390/multiarch/wcscpy.c: Likewise. - * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise. - * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise. - * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and - wcscpy functions. - * sysdeps/s390/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy. - * benchtests/bench-wcscpy.c: New File. - * benchtests/Makefile (wcsmbs-bench): Add wcscpy. - - * sysdeps/s390/multiarch/strnlen-c.c: New File. - * sysdeps/s390/multiarch/strnlen-vx.S: Likewise. - * sysdeps/s390/multiarch/strnlen.c: Likewise. - * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise. - * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise. - * sysdeps/s390/multiarch/wcsnlen.c: Likewise. - * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and - wcsnlen functions. - * sysdeps/s390/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen. - * wcsmbs/wcsnlen.c: Use WCSNLEN if defined. - * string/test-strnlen.c: Add wcsnlen support. - * wcsmbs/test-wcsnlen.c: New File. - * wcsmbs/Makefile (strop-tests): Add wcsnlen. - * benchtests/bench-strnlen.c: Add wcsnlen support. - * benchtests/bench-wcsnlen.c: New File. - * benchtests/Makefile (wcsmbs-bench): Add wcsnlen. - - * sysdeps/s390/multiarch/Makefile: New File. - * sysdeps/s390/multiarch/strlen-c.c: Likewise. - * sysdeps/s390/multiarch/strlen-vx.S: Likewise. - * sysdeps/s390/multiarch/strlen.c: Likewise. - * sysdeps/s390/multiarch/wcslen-c.c: Likewise. - * sysdeps/s390/multiarch/wcslen-vx.S: Likewise. - * sysdeps/s390/multiarch/wcslen.c: Likewise. - * string/strlen.c (STRLEN): Define and use macro. - * sysdeps/s390/multiarch/ifunc-impl-list.c - (IFUNC_VX_IMPL): New macro function. - (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen. - * benchtests/Makefile (wcsmbs-bench): New variable. - (string-bench-all): Added wcsmbs-bench. - * benchtests/bench-wcslen.c: New File. - - * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc, - s390_vx_libc_ifunc2): New macro function. - - * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine. - * sysdeps/s390/configure.ac: Add test for S390 vector instruction - assembler support. - * sysdeps/s390/configure: Regenerated. - - * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13. - * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased. - - * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag. - * sysdeps/s390/dl-procinfo.h: Add vector capability. - * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define. - - * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines): - Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390. - * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File. - * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ... - * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here. - (memcmp, bcmp): Use __memcmp_default as alias source. - * sysdeps/s390/s390-32/multiarch/memcmp.c: New File. - * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5): - Rename to __memcmp_default. - * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ... - * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here. - (memcpy): Use __memcpy_default as alias source. - * sysdeps/s390/s390-32/multiarch/memcpy.c: New File. - * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5): - Rename to __memcpy_default. - * sysdeps/s390/s390-32/multiarch/memset.S: Move to ... - * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here. - (memset): Use __memset_default as alias source. - * sysdeps/s390/s390-32/multiarch/memset.c: New File. - * sysdeps/s390/s390-32/memset.S (__memset_g5): - Rename to __memset_default. - * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines): - Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x. - * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File. - * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ... - * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here. - (memcmp, bcmp): Use __memcmp_default as alias source. - * sysdeps/s390/s390-64/multiarch/memcmp.c: New File. - * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900): - Rename to __memcmp_default. - * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ... - * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here. - (memcpy): Use __memcpy_default as alias source. - * sysdeps/s390/s390-64/multiarch/memcpy.c: New File. - * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900): - Rename to __memcpy_default. - * sysdeps/s390/s390-64/multiarch/memset.S: Move to ... - * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here. - (memset): Use __memset_default as alias source. - * sysdeps/s390/s390-64/multiarch/memset.c: New File. - * sysdeps/s390/s390-64/memset.S (__memset_z900): - Rename to __memset_default. - * sysdeps/s390/multiarch/ifunc-resolve.h: New File. - * sysdeps/s390/multiarch/ifunc-impl-list.c: New File. - - [BZ #18610] - * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename - __ieee_instruction_pointer to __unused. - * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of - __ieee_instruction_pointer. - * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling. - * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise. - * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise. - * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise. - * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED): - Mark dxc-field as reserved. - -2015-08-25 Roland McGrath - - * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main - if the weak reference is not null. - -2015-08-25 H.J. Lu - - * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)". - - [BZ #11214] - * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed. - -2015-08-25 Rajalakshmi Srinivasaraghavan - - * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros. - * sysdeps/unix/sysv/linux/accept.c: Call direct system call. - * sysdeps/unix/sysv/linux/bind.c: Call direct system call. - * sysdeps/unix/sysv/linux/connect.c: Call direct system call. - * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call. - * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call. - * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call. - * sysdeps/unix/sysv/linux/listen.c: Call direct system call. - * sysdeps/unix/sysv/linux/recv.c: Call direct system call. - * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call. - * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call. - * sysdeps/unix/sysv/linux/send.c: Call direct system call. - * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call. - * sysdeps/unix/sysv/linux/sendto.c: Call direct system call. - * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call. - * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call. - * sysdeps/unix/sysv/linux/socket.c: Call direct system call. - * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call. - -2015-08-25 Paul E. Murphy - - * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use - register other than r0 for tabort, it has special meaning. - * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise. - * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort - transaction before starting syscall. - -2015-08-25 Rajalakshmi Srinivasaraghavan - - * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case. - -2015-08-25 H.J. Lu - - * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4]. - - * sysdeps/x86_64/rtld-memcmp.c: Removed. - * sysdeps/x86_64/rtld-memset.S: Likewise. - * sysdeps/x86_64/rtld-strchr.S: Likewise. - * sysdeps/x86_64/rtld-strlen.S: Likewise. - * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise. - * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise. - - * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0. - -2015-08-25 Ondƙej BĂ­lka - - * debug/strcpy_chk.c: Improve performance. - * debug/stpcpy_chk.c: Likewise. - * sysdeps/x86_64/strcpy_chk.S: Remove. - * sysdeps/x86_64/stpcpy_chk.S: Remove. - - [BZ #18240] - * misc/hsearch_r.c (__hcreate_r): Handle overflow. - -2015-08-25 H.J. Lu - - [BZ #15128] - * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add - ifuncmain8. - (modules-names): Add ifuncmod8. - ($(objpfx)ifuncmain8): New rule. - * sysdeps/x86_64/dl-machine.h: Include and - . - (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse, - _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512, - _dl_runtime_profile_sse, _dl_runtime_profile_avx, or - _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE. - * sysdeps/x86_64/dl-trampoline.S: Rewrite. - * sysdeps/x86_64/dl-trampoline.h: Likewise. - * sysdeps/x86_64/ifuncmain8.c: New file. - * sysdeps/x86_64/ifuncmod8.c: Likewise. - * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE): - Removed. - * sysdeps/x86_64/nptl/tls.h (__128bits): Removed. - (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1. - Change rtld_savespace_sse to __glibc_unused2. - (RTLD_CHECK_FOREIGN_CALL): Removed. - (RTLD_ENABLE_FOREIGN_CALL): Likewise. - (RTLD_PREPARE_FOREIGN_CALL): Likewise. - (RTLD_FINALIZE_FOREIGN_CALL): Likewise. - -2015-08-24 Wilco Dijkstra - - * sysdeps/aarch64/bzero.S (__bzero): Remove. - -2015-08-24 Wilco Dijkstra - - * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx): - Unconditionally set __fpcr to avoid uninialized warning. - (libc_feholdsetround_noex_aarch64_ctx): Likewise. - -2015-08-24 Siddhesh Poyarekar - - * malloc/arena.c (arena_get_retry): Don't use main_arena if it - is corrupt. - - * malloc/arena.c (arena_get2): Drop unused argument. - (arena_lock): Adjust. - (arena_get_retry): Likewise. - -2015-08-24 Andreas Schwab - - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64): - Don't define. - * sysdeps/unix/sysv/linux/powerpc/kernel-features.h - (__ASSUME_IPC64): Don't undef. - * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64. - * sysdeps/unix/sysv/linux/semctl.c: Likewise. - * sysdeps/unix/sysv/linux/shmctl.c: Likewise. - * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove. - * sysdeps/unix/sysv/linux/i386/semctl.c: Remove. - * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove. - * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove. - * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove. - * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove. - * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove. - * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove. - * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove. - * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove. - * sysdeps/unix/sysv/linux/sh/semctl.c: Remove. - * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove. - * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove. - * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove. - * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove. - * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove. - * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove. - * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove. - -2015-08-21 Mike Frysinger - - * manual/Makefile (install): Only build manual when perl is available. - -2015-08-21 Carlos Eduardo Seo - - * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace - '#undef memcpy' by '#undef memchr'. - -2015-08-21 Carlos Eduardo Seo - - * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make - memchr not point to the internal __GI_memchr implementation. - -2015-08-20 Joseph Myers - - * timezone/Makefile (CFLAGS-zdump.c): Remove - -Wno-strict-prototypes. - (CFLAGS-zic.c): Likewise. - (CFLAGS-ialloc.c): Likewise. - (CFLAGS-scheck.c): Likewise. - - * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add - -Wno-error=undef. - -2015-08-20 H.J. Lu - - * i386/i686/multiarch/strcasestr-c.c: Removed. - * x86_64/multiarch/strcasestr.c: Likewise. - * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list): - Remove strcasestr. - -2015-08-20 Joseph Myers - - * math/Makefile (CFLAGS): Don't add -Wno-uninitialized. - - * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize - variables for high and low parts before possibly modifying them. - -2015-08-20 H.J. Lu - - * sysdeps/i386/i686/multiarch/init-arch.h: Removed. - * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise. - * sysdeps/x86_64/cacheinfo.c: Include instead - of "multiarch/init-arch.h". - * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ... - * sysdeps/x86/init-arch.h: This. - -2015-08-20 H.J. Lu - - * sysdeps/i386/i686/multiarch/init-arch.c: Removed. - * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise. - -2015-08-20 Ondƙej BĂ­lka - - [BZ #17787] - * manual/macros.texi: Add twoexp macro. - * manual/filesys.texi: Fix exponents. - * manual/llio.texi: Likewise. - * manual/stdio.texi: Likewise. - -2015-08-20 Florian Weimer - - * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to - incorrect use. - -2015-08-19 Joseph Myers - - [BZ #18370] - * math/s_csqrt.c (__csqrt): Force underflow exception for results - whose real or imaginary part has small absolute value. - * math/s_csqrtf.c (__csqrtf): Likewise. - * math/s_csqrtl.c (__csqrtl): Likewise. - * math/auto-libm-test-in: Add more tests of csqrt. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - -2015-08-19 Gabriel F. T. Gomes - - * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high, - __ppc_set_ppr_very_low): New functions. - * manual/platform.texi: Add documentation about - __ppc_set_ppr_med_high and __ppc_set_ppr_very_low. - -2015-08-19 Wilco Dijkstra - - * string/stpncpy.c (stpncpy): Improve performance using - __strnlen/memcpy/memset. - -2015-08-19 Andrew Senkevich - - [BZ #18796] - * scripts/test-installation.pl: Don't add -lmvec to build options if - libmvec wasn't built. - -2015-08-19 Petar Jovanovic - - [BZ #14341] - * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the - case when there is a gap between DT_REL and DT_JMPREL sections. - * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc. - (LDFLAGS-tst-split-dynreloc): New. - (tst-split-dynreloc-ENV): Likewise. - * sysdeps/x86_64/tst-split-dynreloc.c: New file. - * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise. - -2015-08-19 H.J. Lu - - [BZ #18822] - * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add - attribute_hidden. - (__xstat64_conv): Likewise. - (__xstat32_conv): Likewise. - -2015-08-19 H.J. Lu - - [BZ #18822] - * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext): - Don't load %ebx when calling __setcontext. Call __setcontext - with HIDDEN_JUMPTARGET. - * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add - libc_hidden_def. - -2015-08-19 H.J. Lu - - * sysdeps/i386/i686/Makefile - [$(subdir) == string] (sysdep_routines): Moved to ... - * sysdeps/i386/Makefile: Here. - * sysdeps/i386/i686/cacheinfo.c: Moved to ... - * sysdeps/i386/cacheinfo.c: Here. - * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed. - * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ... - * sysdeps/unix/sysv/linux/x86/sysconf.c: Here. - -2015-08-19 H.J. Lu - - * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if - __i586__ is defined. - (HAS_I686): Defined to 1 if __i686__ is defined. - -2015-08-19 Joseph Myers - - * elf/Makefile [$(have-z-execstack) = yes] - (CPPFLAGS-tst-execstack.c): New variable. - - * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change - conditional to [defined UTMPX || _HAVE_UT_TYPE]. - [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined - UTMPX || _HAVE_UT_TV]. - [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined - UTMPX || _HAVE_UT_TV - 0]. - -2015-08-18 Joseph Myers - - * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change - conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6]. - * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise. - -2015-08-18 Carlos Eduardo Seo - - * sysdeps/powerpc/dl-procinfo.c: - (_dl_powerpc_cap_flags): Added missing strings for some - hwcap features. - * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count. - -2015-08-18 Paul Eggert - - Port the 0x7efe...feff pattern to GCC 6. - See Steve Ellcey's bug report in: - https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html - * string/memrchr.c (MEMRCHR): - * string/rawmemchr.c (RAWMEMCHR): - * string/strchr.c (strchr): - * string/strchrnul.c (STRCHRNUL): - Rewrite code to avoid issues with signed shift overflow. - -2015-08-18 H.J. Lu - - * sysdeps/x86/cpu-features.c (init_cpu_features): Check - whether cpuid is available only if HAS_CPUID is 0. - * sysdeps/x86/cpu-features.h (HAS_CPUID): New. - (HAS_I586): Likewise. - (HAS_I686): Likewise. - -2015-08-18 Zack Weinberg - - * misc/Versions (libc): Add GLIBC_2.23. - -2015-08-18 Alan Modra - - [BZ #18421] - * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define - .Lp__global. - (_start): Load %dp via .Lp__global. - [!SHARED]: Use .section .rodata. - -2015-08-18 Mike Frysinger - - * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file. - * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete. - -2015-08-18 Mike Frysinger - - * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file. - * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete. - -2015-08-18 Mike Frysinger - - * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file. - * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete. - -2015-08-18 Mike Frysinger - - * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file. - * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete. - -2015-08-18 Mike Frysinger - - * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file. - * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete. - -2015-08-18 Mike Frysinger - - * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND, - SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined. - -2015-08-18 Mike Frysinger - - * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define. - -2015-08-18 Mike Frysinger - - * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete - kernel-features.h include. Delete __ASSUME_LWS_CAS checks. - * sysdeps/unix/sysv/linux/hppa/kernel-features.h - (__ASSUME_LWS_CAS): Delete. - -2015-08-18 Mike Frysinger - - * sysdeps/hppa/configure.ac: Delete binutils tls checks. - * sysdeps/hppa/configure: Regenerated. - * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks. - * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks. - * sysdeps/hppa/nptl/tls.h: Likewise. - -2015-08-17 Joseph Myers - - [BZ #18823] - * math/s_csqrt.c (__csqrt): Increase threshold and scale factor - for scaling up small arguments. - * math/s_csqrtf.c (__csqrtf): Likewise. - * math/s_csqrtl.c (__csqrtl): Likewise. - * math/auto-libm-test-in: Add more tests of csqrt. - * math/auto-libm-test-out: Regenerated. - -2015-08-17 Andreas Schwab - - * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty - version set GLIBC_2.19. - -2015-08-16 Zack Weinberg - - [BZ #18681] - * misc/regexp.h: This interface is no longer supported. - Remove all contents, leaving only an #error directive. - * misc/regexp.c (loc1, loc2, locs, step, advance): - Demote to compatibility symbols. - -2015-08-15 Paul Pluzhnikov - - [BZ #18084] - * debug/tst-backtrace2.c (do_test): Add test for BZ #18084. - * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0. - * sysdeps/i386/backtrace.c (__backtrace): Likewise. - * sysdeps/m68k/backtrace.c (__backtrace): Likewise. - * sysdeps/microblaze/backtrace.c (__backtrace): Likewise. - * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise. - * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise. - * sysdeps/sparc/backtrace.c (__backtrace): Likewise. - * sysdeps/x86_64/backtrace.c (__backtrace): Likewise. - -2015-08-15 Zack Weinberg - - [BZ #18795] - * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the - buffer length is known to be too large, not if it's known to be - small enough. - * debug/tst-chk1.c (do_test): Do all tests for catching a buffer - overflow at runtime, involving a length parameter, twice: once - with a compile-time constant length parameter, once without. - -2015-08-14 Joseph Myers - - [BZ #18824] - * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for - scaling x * y up instead of down. - * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise. - * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise. - * math/auto-libm-test-in: Add more tests of fma. - * math/auto-libm-test-out: Regenerated. - -2015-08-14 Paul Pluzhnikov - - * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated. - -2015-08-14 Siddhesh Poyarekar - - * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove - unnecessary movq. - * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint): - Likewise. - -2015-08-13 Joseph Myers - - * math/auto-libm-test-in: Add more tests of acos, acosh, asin, - asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc, - exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh - and tgamma. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - [BZ #16520] - * sysdeps/ieee754/dbl-64/s_tanh.c: Include . - (__tanh): Force underflow exception for arguments with small - absolute value. - * sysdeps/ieee754/flt-32/s_tanhf.c: Include . - (__tanhf): Force underflow exception for arguments with small - absolute value. - * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include . - (__tanhl): Force underflow exception for arguments with small - absolute value. - * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include . - (__tanhl): Force underflow exception for arguments with small - absolute value. - * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include . - (__tanhl): Force underflow exception for arguments with small - absolute value. - * math/auto-libm-test-in: Add more tests of tanh. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - -2015-08-13 H.J. Lu - - * sysdeps/x86/cpu-features.c (init_cpu_features): Call - __get_cpuid_max if not compiling for i586, i686 nor x86-64. - -2015-08-13 H.J. Lu - - * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include - . - -2015-08-13 H.J. Lu - - * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init): - Replace HAS_RTM with HAS_CPU_FEATURE (RTM). - -2015-08-13 H.J. Lu - - * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))): - Remove $(objpfx)init-arch.o. - * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove - init-arch. - * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed. - (INIT_ARCH_EXT): Defined as empty. - (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX). - * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove - __init_cpu_features call. Replace HAS_XXX with - HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX). - * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise. - -2015-08-13 H.J. Lu - - * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX - with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX). - * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise. - * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise. - * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise. - * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise. - * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise. - * sysdeps/i386/i686/multiarch/s_fma.c: Likewise. - * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise. - * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features - call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO. - Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX - with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX). - * sysdeps/i386/i686/multiarch/bzero.S: Likewise. - * sysdeps/i386/i686/multiarch/memchr.S: Likewise. - * sysdeps/i386/i686/multiarch/memcmp.S: Likewise. - * sysdeps/i386/i686/multiarch/memcpy.S: Likewise. - * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise. - * sysdeps/i386/i686/multiarch/memmove.S: Likewise. - * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise. - * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise. - * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise. - * sysdeps/i386/i686/multiarch/memrchr.S: Likewise. - * sysdeps/i386/i686/multiarch/memset.S: Likewise. - * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise. - * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise. - * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise. - * sysdeps/i386/i686/multiarch/strcat.S: Likewise. - * sysdeps/i386/i686/multiarch/strchr.S: Likewise. - * sysdeps/i386/i686/multiarch/strcmp.S: Likewise. - * sysdeps/i386/i686/multiarch/strcpy.S: Likewise. - * sysdeps/i386/i686/multiarch/strcspn.S: Likewise. - * sysdeps/i386/i686/multiarch/strlen.S: Likewise. - * sysdeps/i386/i686/multiarch/strncase.S: Likewise. - * sysdeps/i386/i686/multiarch/strnlen.S: Likewise. - * sysdeps/i386/i686/multiarch/strrchr.S: Likewise. - * sysdeps/i386/i686/multiarch/strspn.S: Likewise. - * sysdeps/i386/i686/multiarch/wcschr.S: Likewise. - * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise. - * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise. - * sysdeps/i386/i686/multiarch/wcslen.S: Likewise. - * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise. - * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise. - -2015-08-13 H.J. Lu - - * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with - HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX). - * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use - LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1). - * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise. - * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise. - * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise. - * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise. - * sysdeps/x86_64/multiarch/strstr.c: Likewise. - * sysdeps/x86_64/multiarch/memmove.c: Likewise. - * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise. - * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise. - * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features - call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with - HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX). - * sysdeps/x86_64/multiarch/memcpy.S: Likewise. - * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise. - * sysdeps/x86_64/multiarch/mempcpy.S: Likewise. - * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise. - * sysdeps/x86_64/multiarch/memset.S: Likewise. - * sysdeps/x86_64/multiarch/memset_chk.S: Likewise. - * sysdeps/x86_64/multiarch/strcat.S: Likewise. - * sysdeps/x86_64/multiarch/strchr.S: Likewise. - * sysdeps/x86_64/multiarch/strcmp.S: Likewise. - * sysdeps/x86_64/multiarch/strcpy.S: Likewise. - * sysdeps/x86_64/multiarch/strcspn.S: Likewise. - * sysdeps/x86_64/multiarch/strspn.S: Likewise. - * sysdeps/x86_64/multiarch/wcscpy.S: Likewise. - * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise. - -2015-08-13 H.J. Lu - - * sysdeps/i386/dl-machine.h: Include . - (dl_platform_init): Call init_cpu_features. - * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New. - * sysdeps/i386/i686/cacheinfo.c - (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed. - * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch. - * sysdeps/i386/i686/multiarch/Versions: Removed. - * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET): - Removed. - * sysdeps/i386/ldsodefs.h: Include . - * sysdeps/unix/sysv/linux/x86/Makefile - (libpthread-sysdep_routines): Remove init-arch. - * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include - instead of - sysdeps/generic/dl-procinfo.c>. - * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers): - Add cpu-features-offsets.sym and rtld-global-offsets.sym. - [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features. - [$(subdir) == elf] (tests): Add tst-get-cpu-features. - [$(subdir) == elf] (tests-static): Add - tst-get-cpu-features-static. - * sysdeps/x86/Versions: New file. - * sysdeps/x86/cpu-features-offsets.sym: Likewise. - * sysdeps/x86/cpu-features.c: Likewise. - * sysdeps/x86/cpu-features.h: Likewise. - * sysdeps/x86/dl-get-cpu-features.c: Likewise. - * sysdeps/x86/libc-start.c: Likewise. - * sysdeps/x86/rtld-global-offsets.sym: Likewise. - * sysdeps/x86/tst-get-cpu-features-static.c: Likewise. - * sysdeps/x86/tst-get-cpu-features.c: Likewise. - * sysdeps/x86_64/dl-procinfo.c: Likewise. - * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed. - Assume USE_MULTIARCH is defined and don't check it. - (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features). - (is_amd): Likewise. - (max_cpuid): Likewise. - (intel_check_word): Likewise. - (__cache_sysconf): Don't call __init_cpu_features. - (__x86_preferred_memory_instruction): Removed. - (init_cacheinfo): Don't call __init_cpu_features. Replace - __cpu_features with GLRO(dl_x86_cpu_features). - * sysdeps/x86_64/dl-machine.h: . - (dl_platform_init): Call init_cpu_features. - * sysdeps/x86_64/ldsodefs.h: Include . - * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch. - * sysdeps/x86_64/multiarch/Versions: Removed. - * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise. - * sysdeps/x86_64/multiarch/init-arch.c: Likewise. - * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET): - Removed. - * sysdeps/x86_64/multiarch/init-arch.h: Rewrite. - -2015-08-12 Paul Pluzhnikov - - [BZ #18820] - * libio/Makefile (test-fmemopen-mem): New test. - * libio/test-fmemopen.c (do_bz18820): New test. - * libio/fmemopen.c (__fmemopen): Fix memory leak. - * libio/oldfmemopen.c (__old_fmemopen): Likewise. - -2015-08-12 Paul Pluzhnikov - - [BZ #16734] - * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete. - (FREE_BUF): Delete. - * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size. - * libio/genops.c (_IO_setb): Use malloc and free directly. - (_IO_default_doallocate, _IO_default_finish): Likewise. - ( _IO_unbuffer_all): Likewise. - ( libc_freeres_fn): Likewise. - * libio/filedoalloc.c (_IO_file_doallocate): Likewise. - * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise. - * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise. - (_IO_wdefault_doallocate): Likewise. - -2015-08-11 Paul Pluzhnikov - - [BZ #18086] - * sysdeps/posix/nice.c (nice): Restore old errno. - * posix/tst-nice.c (do_test): Add test for BZ #18086. - -2015-08-10 Ondrej Bilka - - * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc. - -2015-08-10 Adhemerval Zanella - - * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to - __bcopy and add a weak_alias to bcopy. - * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen - for static build. - - * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and - cleanup macro usage. - * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name. - * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file. - * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise. - * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise. - * sysdeps/powerpc/powerpc64/strcpy.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c - [SHARED && IS_IN (libc)]: Include . - * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c - [SHARED && IS_IN (libc)]: Include . - * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file. - * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise. - * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise. - - * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add - libc_hidden_def. - (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def. - - * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string] - (sysdep_routines): Add strstr-ppc64. - * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file. - -2015-08-10 Maxim Ostapenko - - [BZ #18778] - * elf/Makefile (tests): Add Add tst-nodelete2. - (modules-names): Add tst-nodelete2mod. - (tst-nodelete2mod.so-no-z-defs): New. - ($(objpfx)tst-nodelete2): Likewise. - ($(objpfx)tst-nodelete2.out): Likewise. - (LDFLAGS-tst-nodelete2): Likewise. - * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing - out of loop through all loaded libraries. - * elf/tst-nodelete2.c: New file. - * elf/tst-nodelete2mod.c: Likewise. - * elf/tst-znodelete-zlib.cc: Delete. - -2015-08-11 Andreas Schwab - - * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define. - * sysdeps/unix/sysv/linux/wordsize-64/openat.c - (__openat64_nocancel): Likewise. - -2015-08-11 Joseph Myers - - * math/auto-libm-test-in: Add more tests of acosh, asin, asinh, - atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10, - expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2015-08-10 Joseph Myers - - [BZ #18790] - * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase - threshold for returning +/- 1. - * math/auto-libm-test-in: Add more tests of tanh. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - -2015-08-10 Andreas Schwab - - [BZ #18781] - * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add - MORE_OFLAGS to oflag. - * io/test-lfs.c (do_test): Test openat64. - -2015-08-10 Joseph Myers - - [BZ #18789] - * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use - smaller threshold for returning the argument. - * math/auto-libm-test-in: Add more tests of sinh. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - -2015-08-09 H.J. Lu - - [BZ #18674] - * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing - break. - -2015-08-09 Andreas Schwab - - * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define. - (generated): Don't add $(addprefix z.,$(tzfiles)). - -2015-08-09 Mike Frysinger - - * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1. - * scripts/sysd-rules.awk: Likewise. - -2015-08-09 Mike Frysinger - - * iconvdata/tst-tables.sh: Change echo -n to printf. - * nss/db-Makefile: Likewise. - * posix/tst-getconf.sh: Likewise. - * stdio-common/tst-unbputc.sh: Likewise. - -2015-08-09 Mike Frysinger - - * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all - MADV_*_PAGES defines behind this feature check. - -2015-08-09 John David Anglin - - [BZ #18480] - * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1, - LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6): - Define. - (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4, - LOAD_REGS_5, LOAD_REGS_6): Update. - (INTERNAL_SYSCALL): Update using new LOAD defines. - (INTERNAL_SYSCALL_NCS): Likewise. - * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise. - -2015-08-08 Paul Pluzhnikov - - [BZ #16734] - * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well. - -2015-08-08 Paul Pluzhnikov - - [BZ #17905] - * catgets/Makefile (tst-catgets-mem): New test. - * catgets/catgets.c (catopen): Don't use unbounded alloca. - * catgets/open_catalog.c (__open_catalog): Likewise. - * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca. - -2015-08-08 John David Anglin - - [BZ #18787] - * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise - clobber registers. - (atomic_compare_and_exchange_val_acq): Use register asms to assign - operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks. - Cast return to __typeof (oldval). - -2015-08-08 Mike Frysinger - - * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file - in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h - and delete sys/syscall.h include. - -2015-08-07 Joseph Myers - - [BZ #16517] - * sysdeps/ieee754/dbl-64/s_tan.c: Include . - (tan): Force underflow exception for arguments with small absolute - value. - * sysdeps/ieee754/flt-32/k_tanf.c: Include . - (__kernel_tanf): Force underflow exception for arguments with - small absolute value. - * sysdeps/ieee754/ldbl-128/k_tanl.c: Include . - (__kernel_tanl): Force underflow exception for arguments with - small absolute value. - * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include . - (__kernel_tanl): Force underflow exception for arguments with - small absolute value. - * sysdeps/ieee754/ldbl-96/k_tanl.c: Include . - (__kernel_tanl): Force underflow exception for arguments with - small absolute value. - * math/auto-libm-test-in: Add more tests of tan. - * math/auto-libm-test-out: Regenerated. - -2015-08-07 Samuel Thibault - - Fix sysdeps/i386/fpu/s_scalbn.S build - - * math/Versions (libc: GLIBC_2_22): New (empty) version set. - -2015-08-07 Mike Frysinger - - * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def. - -2015-08-07 Samuel Thibault - - Fix gcrt0.o compilation - - When static-start-installed-name is different from - start-installed-name, we must not use the shared objects. - - * csu/Makefile - (extra-objs): Add gmon-start.o when building shared library and - $(static-start-installed-name) is different from - $(start-installed-name). - $(objpfx)g$(static-start-installed-name): When building shared - library and $(static-start-installed-name) is different from - $(static-start-installed-name), revert to non-shared rule, - i.e. using $(objpfx)% and gmon-start.o. - -2015-08-06 Joseph Myers - - [BZ #16519] - * sysdeps/ieee754/dbl-64/e_sinh.c: Include . - (__ieee754_sinh): Force underflow exception for arguments with - small absolute value. - * sysdeps/ieee754/flt-32/e_sinhf.c: Include . - (__ieee754_sinhf): Force underflow exception for arguments with - small absolute value. - * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include . - (__ieee754_sinhl): Force underflow exception for arguments with - small absolute value. - * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include . - (__ieee754_sinhl): Force underflow exception for arguments with - small absolute value. - * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include . - (__ieee754_sinhl): Force underflow exception for arguments with - small absolute value. - * math/auto-libm-test-in: Add more tests of sinh. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - -2015-08-06 Paul Pluzhnikov - - * libio/oldfileops.c: Include unistd.h. - -2015-08-06 Mike Frysinger - - * stdlib/isomac.c: Include ctype.h. - -2015-08-06 Arjun Shankar - - * dirent/tst-seekdir.c (main): Converted to ... - (do_test): ... this. - (TEST_FUNCTION): New macro. - Include test-skeleton.c. - * elf/tst-dlmodcount.c (main): Converted to ... - (do_test): ... this. - (TEST_FUNCTION): New macro. - Include test-skeleton.c. - * elf/tst-order-main.c (main): Converted to ... - (do_test): ... this. - (TEST_FUNCTION): New macro. - Include test-skeleton.c. - * elf/tst-pie2.c (main): Converted to ... - (do_test): ... this. - (TEST_FUNCTION): New macro. - Include test-skeleton.c. - * inet/tst-ether_aton.c (main): Converted to ... - (do_test): ... this. - (TEST_FUNCTION): New macro. - Include test-skeleton.c. - * misc/tst-mntent.c (main): Converted to ... - (do_test): ... this. - (TEST_FUNCTION): New macro. - Include test-skeleton.c. - * misc/tst-tsearch.c (main): Converted to ... - (do_test): ... this. - (TEST_FUNCTION): New macro. - Include test-skeleton.c. - * posix/tst-regexloc.c (main): Converted to ... - (do_test): ... this. - (TEST_FUNCTION): New macro. - Include test-skeleton.c. - * resolv/tst-aton.c (main): Converted to ... - (do_test): ... this. - (TEST_FUNCTION): New macro. - Include test-skeleton.c. - * stdio-common/test-fwrite.c (main): Converted to ... - (do_test): ... this. - (TEST_FUNCTION): New macro. - Include test-skeleton.c. - * stdio-common/tst-ferror.c (main): Converted to ... - (do_test): ... this. - (TEST_FUNCTION): New macro. - Include test-skeleton.c. - * stdio-common/tst-printf.c (main): Converted to ... - (do_test): ... this. - (TEST_FUNCTION): New macro. - Include test-skeleton.c. - * stdio-common/tst-printfsz.c (main): Converted to ... - (do_test): ... this. - (TEST_FUNCTION): New macro. - Include test-skeleton.c. - * stdlib/tst-strtod.c (main): Converted to ... - (do_test): ... this. - (TEST_FUNCTION): New macro. - Include test-skeleton.c. - * string/tst-strlen.c (main): Converted to ... - (do_test): ... this. - (TEST_FUNCTION): New macro. - Include test-skeleton.c. - * string/tst-svc.c (main): Converted to ... - (do_test): ... this. - (TEST_FUNCTION): New macro. - Include test-skeleton.c. - * time/tst-strptime.c (main): Converted to ... - (do_test): ... this. - (TEST_FUNCTION): New macro. - Include test-skeleton.c. - * timezone/tst-timezone.c (main): Converted to ... - (do_test): ... this. - (TEST_FUNCTION): New macro. - Include test-skeleton.c. - -2015-08-05 Zack Weinberg - - * misc/regexp.h: Update comments. - -2015-08-05 Andreas Schwab - - [BZ #18635] - * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop - before return label. - -2015-08-05 H.J. Lu - - [BZ #18661] - * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes - when calling __errno_location. - * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise. - * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise. - -2015-08-05 H.J. Lu - - [BZ #18661] - * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S - (__lll_timedwait_tid): Align stack to 16 bytes when calling - __gettimeofday. - -2015-08-05 H.J. Lu - - [BZ #18661] - * sysdeps/unix/sysv/linux/x86_64/__start_context.S - (__start_context): Don't use pop to restore %rdi so that stack - is aligned to 16 bytes when calling __setcontext. - -2015-08-05 H.J. Lu - - * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile - only for libc. - * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise. - -2015-08-05 Wilco Dijkstra - - * string/string.h: (mempcpy): Redirect to __mempcpy_inline. - (__mempcpy): Likewise. (__mempcpy_inline): New inline function. - * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define. - -2015-08-05 Wilco Dijkstra - - * string/memccpy.c (memccpy): - Improve performance by using memchr/memcpy/__mempcpy. - -2015-08-05 Wilco Dijkstra - - * string/strncpy.c (strncpy): - Improve performance by using __strnlen/memcpy. - -2015-08-05 Wilco Dijkstra - - * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): - Optimize to avoid an unnecessary FPCR read. - -2015-08-05 Wilco Dijkstra - - * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): - Optimize to reduce FPCR/FPSR accesses. - -2015-08-05 H.J. Lu - - * locale/loadarchive.c (_nl_archive_subfreeres): Also check - dead->data[category] != NULL. - -2015-08-05 Joseph Myers - - [BZ #18647] - * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y - and |x| close to 1, use absolute value of x when computing log. - * math/auto-libm-test-in: Add more tests of pow. - * math/auto-libm-test-out: Regenerated. - -2015-08-05 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/arm/mmap.c: Add file. - * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file. - * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise. - -2015-08-05 Marko Myllynen - - [BZ #18525] - * locales/km_KH: Remove timezone definition. - * locales/lo_LA: Likewise. - * locales/my_MM: Likewise. - * locales/nan_TW@latin: Likewise. - * locales/th_TH: Likewise. - * locales/uk_UA: Likewise. - -2015-08-05 Daniel MarjamĂ€ki - - [BZ #18265] - * wcsmbs/wchar.h (wcscat): Add __nonnull attribute. - (wcsncat): Likewise. - (wcscmp): Likewise. - (wcsncmp): Likewise. - -2015-08-05 Mike Frysinger - - * test-skeleton.c (usage): New function. - (main): Call usage when opt is '?'. - -2015-08-05 Mike Frysinger - - * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define - before first use. - -2015-08-05 Mike Frysinger - - * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to - bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment - in there too. - -2015-08-05 Carlos O'Donell - - * version.h (RELEASE): Set to "development". - (VERSION): Set to "2.22.90" - - * version.h (RELEASE): Set to "stable". - (VERSION): Set to "2.22" - * include/features.h (__GLIBC_MINOR__): Set to 22. - -2015-08-04 Chris Metcalf - - * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update): - Restructure macro to avoid "value computed is not used" warning. - (atomic_compare_and_exchange_val_acq): Likewise. - -2015-08-04 Andreas Schwab - - [BZ #18635] - * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before - ret. - * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove. - -2015-08-01 Carlos O'Donell - - * po/pl.po: Updated translation. - * po/uk.po: Likewise. - * po/fi.po: Likewise. - * po/ko.po: Likewise. - * po/ru.po: Likewise. - * po/vi.po: Likewise. - -2015-07-31 Zack Weinberg - - [BZ #18681] - * regexp.h: Add unconditional #warning stating that this header - will be removed soon. Revise banner comment to match. - (compile): Consistently use ERROR instead of RETURN to report - errors (partial fix for BZ #18681). - * regexp.c: Don't include regexp.h. Remove some unnecessary - declarations. - -2015-07-31 Carlos O'Donell - - * po/libc.pot: Regenerated. - -2015-07-30 Andrew Senkevich - - [BZ #18740] - * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags, - float-vlen4-arch-ext-cflags): Removed. - * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c, - CFLAGS-test-float-vlen4-wrappers.c): Likewise. - -2015-07-30 Mike Frysinger - - [BZ #14113] - * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change - aligned to __aligned__. - (pthread_cond_t, pthread_rwlock_t): Likewise. - -2015-07-30 Torvald Riegel - - * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file. - -2015-07-30 Mike Frysinger - - * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h. - (struct sigaction): Change sa_flags from a long to an int, and add - __glibc_reserved0 before it for padding when __WORDSIZE is 64. - -2015-07-30 Mike Frysinger - - * hppa/sysdep.h: Delete sys/syscall.h and config.h includes. - * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete - sysdeps/generic/sysdep.h include. - * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in - _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and - sysdeps/hppa/sysdep.h. - (ENTRY, PSEUDO): Undefine before defining. - -2015-07-30 Mike Frysinger - - * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite - from scratch to use INTERNAL_SYSCALL. - -2015-07-29 H.J. Lu - - [BZ #18078] - * scripts/check-localplt.awk: Support alternate relocations. - * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL - sections. - * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and - malloc entries with + REL R_386_GLOB_DAT. - * sysdeps/x86_64/localplt.data: New file. - -2015-07-29 Andrew Senkevich - - [BZ #18731] - * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check. - * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise. - -2015-07-27 Mike Frysinger - - * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr. - -2015-07-27 Mike Frysinger - - * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define - directly in terms of __sync_fetch_and_add and delete (int) cast. - -2015-07-27 Mike Frysinger - - * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete - the -D_ASM_IA64_CURRENT_H flag. - -2015-07-27 Mike Frysinger - - [BZ #18641] - * pwd/pwd.h (putpwent): Delete __nonnull markings. - -2015-07-27 Andreas Schwab - - * conform/conformtest.pl (checknamespace): Filter out string - literals while tokenizing. - -2015-07-26 Chung-Lin Tang - - * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define. - * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle - ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA. - -2015-07-26 Chung-Lin Tang - - * nptl/tst-join7mod.c: Add #include . - -2015-07-25 Chung-Lin Tang - - * sysdeps/nios2/libm-test-ulps: Update. - -2015-07-25 Chung-Lin Tang - - * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext): - Fix order of arguments to the rt_sigprocmask syscall. - * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext): - Likewise. - -2015-07-24 Roland McGrath - - * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed. - -2015-07-24 Siddhesh Poyarekar - - [BZ #18457] - * nptl/Makefile (tests): New test case tst-join7. - (modules-names): New test case module tst-join7mod. - * nptl/tst-join7.c: New file. - * nptl/tst-join7mod.c: New file. - * Makeconfig (tls-model): Pass -ftls-model=initial-exec for - all translation units in libc.so, libpthread.so and rtld. - -2015-07-24 Adhemerval Zanella - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - -2015-07-24 Andrew Senkevich - - * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC. - * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise. - * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2. - * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL - implementation. - -2015-07-24 Szabolcs Nagy - - [BZ #17711] - * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define. - * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle - ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA. - * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define. - * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle - ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA. - -2015-07-24 Siddhesh Poyarekar - - * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock - instead of just saying load lock in the comments. - -2015-07-23 Roland McGrath - - * sysdeps/unix/Subdirs: Moved ... - * sysdeps/posix/Subdirs: ... here. - * login/pty.h (struct termios, struct winsize): Add forward decls. - * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ]. - * sysdeps/nacl/glob.c: Just #include . - * sysdeps/arm/nacl/libc.abilist: Updated. - * sysdeps/nacl/libutil.abilist: New file. - - * bits/signum.h: Update comments to mention 1003.1-2013 too. - (SIGWINCH): New macro. - - * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias. - * sysdeps/arm/nacl/libc.abilist: Add it. - -2015-07-23 Mike Frysinger - - * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl. - -2015-07-23 Mike Frysinger - - * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction): - Swap __glibc_reserved0 and sa_flags order. - -2015-07-23 Siddhesh Poyarekar - - [BZ #18657] - * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there - are pending TLS destructor calls. - * include/link.h (struct link_map): Add concurrency note for - L_TLS_DTOR_COUNT. - * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): - Don't touch the link map flag. Atomically increment - l_tls_dtor_count. - (__call_tls_dtors): Atomically decrement l_tls_dtor_count. - Avoid taking the load lock and don't touch the link map flag. - * stdlib/tst-tls-atexit-nodelete.c: New test case. - * stdlib/Makefile (tests): Use it. - * stdlib/tst-tls-atexit.c (do_test): dlopen - tst-tls-atexit-lib.so again before dlclose. Add conditionals - to allow tst-tls-atexit-nodelete test case to use it. - -2015-07-22 Mike Frysinger - - * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include - to bits/types.h. - (msgqnum_t): New typedef. - (msglen_t): Likewise. - (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t - and msg_qbytes type to msglen_t. - -2015-07-22 Mike Frysinger - - * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename - pad0 to __glibc_reserved0. - (struct stat64): Likewise. - -2015-07-22 Mike Frysinger - - * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction): - Change sa_flags from a long to an int and add __glibc_reserved0 before - it for padding. - -2015-07-22 Mike Frysinger - - * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct - anonymous by deleting "siginfo" name. - -2015-07-21 Roland McGrath - - * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename. - * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename - rather than __nacl_irt_filename. - * sysdeps/nacl/xstat.c (__xstat): Likewise. - - * NEWS: New item for arm-nacl port. - * sysdeps/arm/nacl/libc.abilist: New file. - * sysdeps/nacl/ld.abilist: New file. - * sysdeps/nacl/libBrokenLocale.abilist: New file. - * sysdeps/nacl/libanl.abilist: New file. - * sysdeps/nacl/libcrypt.abilist: New file. - * sysdeps/nacl/libdl.abilist: New file. - * sysdeps/nacl/libm.abilist: New file. - * sysdeps/nacl/libpthread.abilist: New file. - * sysdeps/nacl/libresolv.abilist: New file. - * sysdeps/nacl/librt.abilist: New file. - -2015-07-21 Chris Metcalf - - * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call - __startcontext to initialize the new context. - * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set - up CFI directive to forbid further backtracing. - -2015-07-21 Marko Myllynen - - * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map - reference. - * charmaps/ANSI_X3.4-1968: Likewise. - * charmaps/BS_4730: Likewise. - * charmaps/BS_VIEWDATA: Likewise. - * charmaps/CP1250: Likewise. - * charmaps/CP1251: Likewise. - * charmaps/CP1252: Likewise. - * charmaps/CP1253: Likewise. - * charmaps/CP1254: Likewise. - * charmaps/CP1255: Likewise. - * charmaps/CP1256: Likewise. - * charmaps/CSN_369103: Likewise. - * charmaps/EBCDIC-DK-NO: Likewise. - * charmaps/GB_1988-80: Likewise. - * charmaps/GREEK-CCITT: Likewise. - * charmaps/GREEK7: Likewise. - * charmaps/INIS-8: Likewise. - * charmaps/ISIRI-3342: Likewise. - * charmaps/ISO_2033-1983: Likewise. - * charmaps/ISO_5427-EXT: Likewise. - * locales/POSIX: Likewise. - * locales/ar_SA: Likewise. - * locales/be_BY: Likewise. - * locales/be_BY@latin: Likewise. - * locales/ca_ES: Likewise. - * locales/cs_CZ: Likewise. - * locales/da_DK: Likewise. - * locales/de_BE: Likewise. - * locales/de_CH: Likewise. - * locales/de_LU: Likewise. - * locales/en_AU: Likewise. - * locales/en_BW: Likewise. - * locales/en_CA: Likewise. - * locales/en_DK: Likewise. - * locales/en_GB: Likewise. - * locales/en_IE: Likewise. - * locales/en_NZ: Likewise. - * locales/en_ZA: Likewise. - * locales/en_ZW: Likewise. - * locales/es_AR: Likewise. - * locales/es_BO: Likewise. - * locales/es_CL: Likewise. - * locales/es_CO: Likewise. - * locales/es_DO: Likewise. - * locales/es_EC: Likewise. - * locales/es_ES: Likewise. - * locales/es_HN: Likewise. - * locales/es_MX: Likewise. - * locales/es_PA: Likewise. - * locales/es_PE: Likewise. - * locales/es_PY: Likewise. - * locales/es_SV: Likewise. - * locales/es_US: Likewise. - * locales/es_UY: Likewise. - * locales/es_VE: Likewise. - * locales/et_EE: Likewise. - * locales/fa_IR: Likewise. - * locales/fo_FO: Likewise. - * locales/fr_CA: Likewise. - * locales/fr_CH: Likewise. - * locales/gv_GB: Likewise. - * locales/he_IL: Likewise. - * locales/hr_HR: Likewise. - * locales/id_ID: Likewise. - * locales/is_IS: Likewise. - * locales/it_CH: Likewise. - * locales/iw_IL: Likewise. - * locales/kl_GL: Likewise. - * locales/ko_KR: Likewise. - * locales/kw_GB: Likewise. - * locales/lg_UG: Likewise. - * locales/lt_LT: Likewise. - * locales/lv_LV: Likewise. - * locales/mi_NZ: Likewise. - * locales/nhn_MX: Likewise. - * locales/nl_BE: Likewise. - * locales/pl_PL: Likewise. - * locales/sk_SK: Likewise. - * locales/sl_SI: Likewise. - * locales/sv_FI: Likewise. - * locales/tl_PH: Likewise. - * locales/tr_TR: Likewise. - * locales/vi_VN: Likewise. - -2015-07-21 Khem Raj - - [BZ #17475] - * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename - of tu_IN and bh_IN. - -2015-07-21 Mike Frysinger - - [BZ #18694] - * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include - bits/wordsize.h. - (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64. - -2015-07-21 Siddhesh Poyarekar - - * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor. - * stdlib/tst-tls-atexit.c: (is_loaded): New function. - (spawn_thread): New function. - (load): Rename to reg_dtor_and_close. Move dlopen to... - (do_test): ... here. Use IS_LOADED to test for its - availability. - -2015-07-21 Andreas Schwab - - * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update. - -2015-07-20 H.J. Lu - - [BZ #18696] - * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add - si_addr_bnd. - (si_lower): New. - (si_upper): Likewise. - -2015-07-16 David S. Miller - - * sysdeps/sparc/fpu/libm-test-ulps: Regenerated. - -2015-07-16 Adhemerval Zanella - - * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided - buffer. - * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and - fail output information. - -2015-07-16 Rajalakshmi Srinivasaraghavan - - * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7 - and strstr-ppc64.. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise. - * sysdeps/powerpc/powerpc64/power7/strstr.S: New File. - * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File. - * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File. - * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File. - -2015-07-16 Mike Frysinger - - * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap. - * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden. - * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap. - * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden. - -2015-07-16 Mike Frysinger - - * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def. - * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add - rtld_hidden_proto. - * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise. - -2015-07-16 Siddhesh Poyarekar - - * tst-nodelete-opened.c (do_test): Add comment to clarify how - the test can fail. - - * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup. - - [BZ #18676] - * elf/tst-nodelete-opened.c: New test case. - * elf/tst-nodelete-opened-lib.c: New test case module. - * elf/Makefile (tests, modules-names): Use them. - * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag - early. - -2015-07-15 David S. Miller - - * sysdeps/sparc/nptl/pthread_barrier_init.c: Include - futex-intenal.h - * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax. - * sysdeps/sparc/sparc64/Makefile: Likewise. - * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop): - Remove space from macro define. - * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise. - -2015-07-15 Pravin Satpute - - [BZ #17475] - * locale/iso-639.def: Update Bhili and Tulu language codes as - per iso639-3. - -2015-07-15 Arjun Shankar - - * elf/tst-leaks1.c (main): Converted to ... - (do_test): ... this. - (TEST_FUNCTION): New macro. - Include test-skeleton.c. - * localedata/tst-langinfo.c (main): Converted to ... - (do_test): ... this. - (TEST_FUNCTION): New macro. - Include test-skeleton.c. - * math/test-fpucw.c (main): Converted to ... - (do_test): ... this. - (TEST_FUNCTION): New macro. - Include test-skeleton.c. - * math/test-tgmath.c (main): Converted to ... - (do_test): ... this. - (TEST_FUNCTION): New macro. - Include test-skeleton.c. - * math/test-tgmath2.c (main): Converted to ... - (do_test): ... this. - (TEST_FUNCTION): New macro. - Include test-skeleton.c. - * setjmp/tst-setjmp.c (main): Converted to ... - (do_test): ... this. - (TEST_FUNCTION): New macro. - Include test-skeleton.c. - * stdio-common/tst-sscanf.c (main): Converted to ... - (do_test): ... this. - (TEST_FUNCTION): New macro. - Include test-skeleton.c. - * sysdeps/x86_64/tst-audit6.c (main): Converted to ... - (do_test): ... this. - (TEST_FUNCTION): New macro. - Include test-skeleton.c. - - * elf/tst-audit9.c (main): Converted to ... - (do_test): ... this. - (TEST_FUNCTION): New macro. - Include test-skeleton.c. - -2015-07-15 Mike Frysinger - - * timezone/tst-tzset.c (TIMEOUT): Define to 5. - -2015-07-15 Stefan Liebler - - * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): - New variable. - -2015-07-15 Stefan Liebler - - * sysdeps/s390/fpu/libm-test-ulps: Regenerated. - -2015-07-14 Roland McGrath - - * sysdeps/generic/dl-fileid.h: New file. - * sysdeps/posix/dl-fileid.h: New file. - * sysdeps/nacl/dl-fileid.h: New file. - * include/link.h: Include . - (struct link_map): Replace l_dev and l_ino with l_file_id. - * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather - than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev - and l_ino directly. Initialize l_file_id rather than l_dev and l_ino. - -2015-07-14 Siddhesh Poyarekar - - * stdlib/tst-tls-atexit.c (do_test): Fix typo. - -2015-07-14 Adhemerval Zanella - - * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete): - Add iff $CXX is set. - [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod): - Likewise. - (tst-nodelete-zmodiff): Likewise. - * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5. - -2015-07-14 Siddhesh Poyarekar - - * stdlib/tst-tls-atexit.c (load): Fix up whitespace. - -2015-07-13 Wilco Dijkstra - - * sysdeps/aarch64/fpu/math_private.h - (define math_opt_barrier): Add AArch64 version. - (math_force_eval): Likewise. - -2015-07-13 Wilco Dijkstra - - * sysdeps/aarch64/strlen.S (strlen): Optimize strlen. - -2015-07-11 H.J. Lu - - * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace - %ld with %jd and cast to intmax_t. - (do_test_length_zero): Likewise. - -2015-07-10 Roland McGrath - - * sysdeps/nacl/pthread_condattr_setclock.c: New file. - -2015-07-10 Chris Metcalf - - * sysdeps/tile/libm-test-ulps: Regenerated. - - * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]: - Comment out the whole function, not just its body. - -2015-07-10 Siddhesh Poyarekar - - * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex - locks. - - * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion. - -2015-07-10 Torvald Riegel - - * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments. - (sem_assume_only_signals_cause_futex_EINTR): Remove. - -2015-07-10 Torvald Riegel - - * sysdeps/nptl/futex-internal.h: New file. - * sysdeps/nacl/futex-internal.h: New file. - * sysdeps/unix/sysv/linux/futex-internal.h: New file. - * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with - error checking. - (setxid_unmark_thread): Likewise. - (__nptl_setxid): Likewise. - (__wait_lookup_done): Likewise. - * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise. - * nptl/nptl-init.c (sighandler_setxid): Likewise. - * nptl/pthread_create.c (START_THREAD_DEFN): Likewise. - * nptl/pthread_once.c (clear_once_control): Likewise. - (__pthread_once_slow): Likewise. - * nptl/unregister-atfork.c (__unregister_atfork): Likewise. - * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise. - * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise. - * sysdeps/nptl/fork.c (__libc_fork): Likewise. - * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise. - * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): - Likewise. - (__pthread_rwlock_rdlock): Likewise. - * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock): - Likewise. - * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): - Likewise. - * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock): - Likewise. - * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise. - * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow: - Likewise. - * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove - __ASSUME_PRIVATE_FUTEX check. - * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared): - Check that shared futexes are supported. - * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex - wrappers with error checking. - * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments, - remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check. - * nptl/pthread_barrierattr_setpshared.c - (pthread_barrierattr_setpshared): Check that shared futexes are - supported. - * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared): - Likewise. - * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared): - Likewise. - * nptl/sem_init.c (futex_private_if_supported): Remove. - (__new_sem_init): Adapt and check that shared futexes are supported. - * nptl/sem_open.c (sem_open): Likewise. - * nptl/sem_post.c (futex_wake): Remove. - * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove. - (do_futex_wait): Use futex wrappers with error checking. - * nptl/sem_wait.c: Include lowlevellock.h. - * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init): - Use futex_supports_pshared. - * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait): - Use futex wrappers with error checking. - * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait): - Likewise. - * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove. - * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise. - * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED. - * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove. - (futex_wake): Likewise. - (sem_assume_only_signals_cause_futex_EINTR): Likewise. - (do_futex_wait): Use futex wrappers with error checking. - (__new_sem_wait_slow): Update EINTR handling. - * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h. - -2015-07-09 Martin Sebor - - [BZ #18435] - * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop): - Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54. - * nptl/Makefile (test-xfail-tst-once5): Define. - -2015-07-09 Roland McGrath - - * include/stdio.h: Add rtld_hidden_proto (__libc_fatal). - * elf/dl-minimal.c: For readability, reorder some definitions and - introduce more page breaks. Include . - (__libc_fatal): New function. - - * include/unistd.h: Add rtld_hidden_proto for _exit. - * posix/_exit.c: Add rtld_hidden_def. - * sysdeps/mach/hurd/_exit.c: Likewise. - * sysdeps/nacl/_exit.c: Likewise. - * sysdeps/unix/sysv/linux/_exit.c: Likewise. - * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise. - -2015-07-09 H.J. Lu - - * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve - bndmov encoding with zero displacement. - -2015-07-09 Igor Zamyatin - H.J. Lu - - [BZ #18134] - * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT. - * sysdeps/i386/configure: Regenerated. - * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New. - (_dl_runtime_profile): Save and restore Intel MPX return bound - registers when calling _dl_call_pltexit. Add - PRESERVE_BND_REGS_PREFIX before return. - * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New. - (LRV_BND1_OFFSET): Likewise. - * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and - lrv_bnd1. - * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix - typo in bndmov encoding. - * sysdeps/x86_64/dl-trampoline.h: Properly save and restore - Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before - branch instructions to preserve bounds. - -2015-07-09 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist - [GLIBC_2.22]: Add fmemopen. - -2015-07-09 Samuel Thibault - - * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports - returns an error, also try to use host port from __mach_host_self for - the __vm_wire call. - * sysdeps/mach/hurd/munlock.c (munlock): Likewise. - -2015-07-09 Szabolcs Nagy - - [BZ #18400] - [BZ #18648] - * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo): - Fix pr_uid and pr_gid members. - * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the - definition to elf_greg_t. - -2015-07-08 Roland McGrath - - [BZ #18383] - * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check. - Emit test-xfail-tst-tlsalign{,-static}=yes if it fails. - * sysdeps/arm/configure: Regenerated. - * elf/Makefile (test-xfail-tst-tlsalign): Variable removed. - (test-xfail-tst-tlsalign-static): Variable removed. - - * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'. - * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link) - rather than explicit 'ln -s'. - - * resolv/rpc/netdb.h: New file. - * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it. - -2015-07-08 Adhemerval Zanella - - * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero - length buffers. - * stdio-common/tst-fmemopen.c (do_test): Refactor to use - test-skeleton.c. - - [BZ #6544] - [BZ #11216] - [BZ #12836] - [BZ #13151] - [BZ #13152] - [BZ #14292] - * include/stdio.h (fmemopen): Remove hidden prototype. - (__fmemopen): Add new hidden prototype. - * libio/Makefile: Add oldfmemopen object. - * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol. - * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX - compliance. - * libio/oldfmemopen.c: New file: old fmemopen implementation for - symbol compatibility. - * stdio-common/Makefile [tests]: Add new tst-fmemopen3. - * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of - fmemopen. - * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus - on append and read mode. - * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add - fmemopen. - * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise. - * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise. - * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise. - * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]: - Likewise. - * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist - [GLIBC_2.22]: Likewise. - * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]: - Likewise. - * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]: - Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist - [GLIBC_2.22]: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist - [GLIBC_2.22]: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist - [GLIBC_2.22]: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist - [GLIBC_2.22]: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist - [GLIBC_2.22]: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist - [GLIBC_2.22]: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist - [GLIBC_2.22]: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]: - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]: - Likewise. - * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist - [GLIBC_2.22]: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist - [GLIBC_2.22]: Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist - [GLIBC_2.22]: Likewise. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist - [GLIBC_2.22]: Likewise. - * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]: - Likewise. - * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]: - Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]: - Likewise. - * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise. - * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise. - -2015-07-08 Carlos O'Donell - - [BZ #18643] - * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU, - IPV6_PATHMTU, and IPV6_DONTFRAG. - -2015-07-08 Feng Gao - - * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF - and _IO_UNBUFFERED. - * libio/oldfileops.c: Likewise. - * libio/wfileops.c: Likewise. - -2015-07-08 Mike Frysinger - - * nscd/selinux.c: Delete selinux/flask.h include. - -2015-07-08 Mike Frysinger - - [BZ #18641] - * pwd/pwd.h (fgetpwent): Add __nonnull markings. - (putpwent): Likewise. - (getpwnam): Likewise. - (getpwent_r): Likewise. - (getpwuid_r): Likewise. - (getpwnam_r): Likewise. - (fgetpwent_r): Likewise. - -2015-07-08 Carlos O'Donell - - [BZ #18557] - * inet/rcmd.c (__validuser2_sa): Check user first to - short-circuit host check. - -2015-07-07 Pavel Kopyl - Mikhail Ilin - - [BZ #17833] - * elf/Makefile (tests): Add tst-nodelete. - (modules-names): Add tst-nodelete-uniquemod. - (tst-nodelete-uniquemod.so-no-z-defs): New. - (tst-nodelete-rtldmod.so-no-z-defs): Likewise. - (tst-nodelete-zmod.so-no-z-defs): Likewise. - ($(objpfx)tst-nodelete): Likewise. - ($(objpfx)tst-nodelete.out): Likewise. - (LDFLAGS-tst-nodelete): Likewise. - (LDFLAGS-tst-nodelete-zmod.so): Likewise. - * elf/dl-close.c (_dl_close_worker): Add a parameter to - implement forced object deletion. - (_dl_close): Pass false to _dl_close_worker. - * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker. - * elf/tst-nodelete.cc: New file. - * elf/tst-nodeletelib.cc: Likewise. - * elf/tst-znodeletelib.cc: Likewise. - * include/dlfcn.h (_dl_close_worker): Add a new parameter. - -2015-07-07 Stefan Liebler - - [BZ #18508] - * stdlib/Makefile ($(objpfx)tst-makecontext3): - Depend on $(libdl). - * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace - is not called infinitely times. - (backtrace_helper): New function. - (trace_arg): New struct. - (st1): Enlarge stack size. - * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S: - (__makecontext_ret): Omit cfi_startproc and cfi_endproc. - * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S: - Likewise. - -2015-07-07 Stefan Liebler - - * sysdeps/s390/fpu/libm-test-ulps: Regenerated. - -2015-07-07 Stefan Liebler - - * sysdeps/unix/sysv/linux/s390/bits/sem.h: - Include sys/types.h instead of bits/types.h. - Remove inclusion of bits/wordsize.h. - -2015-07-07 H.J. Lu - - * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New. - * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise. - * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise. - * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise. - * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise. - * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise. - -2015-07-07 H.J. Lu - - * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add - link-defines.sym. - * sysdeps/i386/dl-trampoline.S: Include . - (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE, - LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET - and LR_SIZE. - * sysdeps/i386/link-defines.sym: New file. - -2015-07-07 H.J. Lu - - * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3. - (modules-names): Add tst-auditmod3a tst-auditmod3b. - ($(objpfx)tst-audit3): New rule. - ($(objpfx)tst-audit3.out): Likewise. - * sysdeps/i386/tst-audit3.c: New file. - * sysdeps/i386/tst-audit3.h: Likewise. - * sysdeps/i386/tst-auditmod3a.c: Likewise. - * sysdeps/i386/tst-auditmod3b.c: Likewise. - -2015-07-07 Torvald Riegel - - [BZ #18633] - * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid - pointer in C code. - (__strcat_c): Likewise. - (__strcat_g): Likewise. - -2015-07-07 Cyril Hrubis - - [BZ #18592] - * misc/sbrk.c: Set errno to ENOMEM on overflow. - -2015-07-06 Wilco Dijkstra - - * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): - New function. (__ieee754_sqrtf): New function. - * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt): - New function. - * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf): - New function. - -2015-07-06 Wilco Dijkstra - - * sysdeps/ieee754/support.c: Remove unused file. - -2015-07-06 Szabolcs Nagy - - * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q - registers instead of d ones so the layout is kernel abi compatible. - * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise. - * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): - Likewise. - -2015-07-02 Szabolcs Nagy - - * sysdeps/aarch64/libm-test-ulps: Regenerated. - -2015-07-01 Joseph Myers - - [BZ #18619] - * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow - and return argument in case of subnormal argument. - -2015-07-01 Martin Sebor - - [BZ #18435] - * nptl/Makefile: Add tst-once5.cc. - * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop): - Remove macro redefinitions. - * nptl/tst-once5.cc: New test. - -2015-07-01 Joseph Myers - - * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated. - - * sysdeps/arm/libm-test-ulps: Regenerated. - - * sysdeps/mips/mips32/libm-test-ulps: Regenerated. - * sysdeps/mips/mips64/libm-test-ulps: Likewise. - -2015-06-30 Torvald Riegel - - * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait, - lll_lock_wait_private and lll_futex_wake probes. - - * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove. - * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP): - Likewise. - * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to - atomic_spin_nop. - * sysdeps/x86_64/bits/atomic.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename - to atomic_spin_nop and move ... - * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop): - ... here and ... - * sysdeps/sparc/sparc64/bits/atomic.h: ... here. - * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use - atomic_spin_nop instead of BUSY_WAIT_NOP. - * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): - Likewise. - * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise. - * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove. - (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP. - * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop - instead of atomic_delay. - -2015-06-29 Joseph Myers - - [BZ #18613] - * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of - X_ADJ not X when adjusting exponent. - (__ieee754_gamma_r): Do intermediate computations in - round-to-nearest then adjust overflowing and underflowing results - as needed. - * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log - of X_ADJ not X when adjusting exponent. - (__ieee754_gammaf_r): Do intermediate computations in - round-to-nearest then adjust overflowing and underflowing results - as needed. - * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take - log of X_ADJ not X when adjusting exponent. - (__ieee754_gammal_r): Do intermediate computations in - round-to-nearest then adjust overflowing and underflowing results - as needed. Use 1.0L not 1.0f as numerator of division. - * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take - log of X_ADJ not X when adjusting exponent. - (__ieee754_gammal_r): Do intermediate computations in - round-to-nearest then adjust overflowing and underflowing results - as needed. Use 1.0L not 1.0f as numerator of division. - * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log - of X_ADJ not X when adjusting exponent. - (__ieee754_gammal_r): Do intermediate computations in - round-to-nearest then adjust overflowing and underflowing results - as needed. Use 1.0L not 1.0f as numerator of division. - * math/libm-test.inc (tgamma_test_data): Remove one test. Moved - to auto-libm-test-in. - (tgamma_test): Use ALL_RM_TEST. - * math/auto-libm-test-in: Add one test of tgamma. Mark some other - tests of tgamma with spurious-overflow. - * math/auto-libm-test-out: Regenerated. - * math/gen-libm-have-vector-test.sh: Do not check for START. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - [BZ #18612] - * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small - arguments, just return 0.5 times the argument, with underflow - forced as needed. - * math/auto-libm-test-in: Add more tests of j1. - * math/auto-libm-test-out: Regenerated. - - [BZ #16559] - * sysdeps/ieee754/dbl-64/e_j1.c: Include . - (__ieee754_j1): Force underflow exception for small results. - * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise. - * sysdeps/ieee754/flt-32/e_j1f.c: Include . - (__ieee754_j1f): Force underflow exception for small results. - * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise. - * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise. - * sysdeps/ieee754/ldbl-96/e_j1l.c: Include . - (__ieee754_j1l): Force underflow exception for small results. - * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise. - * math/auto-libm-test-in: Add more tests of j1 and jn. - * math/auto-libm-test-out: Regenerated. - - * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro. - * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise. - (PF_MPLS): Likewise. - (AF_IB): Likewise. - (AF_MPLS): Likewise. - * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum - value and macro. - (MS_RMT_MASK): Include MS_LAZYTIME. - -2015-06-26 Mel Gorman - - [BZ #18502] - * malloc/arena.c (heap_trim): Don't try to shrink a heap that is - already minimal. - -2015-06-26 Matthew Fortune - - * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro. - (DT_MIPS_NUM): Update. - * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle - DT_MIPS_RLD_MAP_REL. - -2015-06-25 Joseph Myers - - [BZ #16559] - [BZ #18602] - * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set - round-to-nearest internally then recompute results that - underflowed to zero in the original rounding mode. - * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise. - * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise. - * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise. - * math/libm-test.inc (jn_test): Use ALL_RM_TEST. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2015-06-25 Andrew Senkevich - - * NEWS: Fixed description of link with vector math library. - -2015-06-25 Andreas Schwab - - [BZ #18549] - * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC. - * libio/test-fmemopen.c (do_test): Add test for it. - -2015-06-25 H.J. Lu - - [BZ #17841] - * Makeconfig (no-pie-ldflag): New. - (+link): Set to $(+link-pie) if default to PIE. - (+link-tests): Set to $(+link-pie-tests) if default to PIE. - * config.make.in (build-pie-default): New. - * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE - is default. AC_SUBST. - * configure: Regenerated. - * elf/Makefile (LDFLAGS-tst-dlopen-aout): New. - -2015-06-24 Roland McGrath - - * nptl/descr.h (struct pthread): Change type of field setxid_futex - to 'unsigned int'. - - * resolv/gai_misc.h (struct waitlist): Change type of field - counterp to 'volatile unsigned int *'. - * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for - FUTEXADDR and OLDVAL. - * resolv/getaddrinfo_a.c (getaddrinfo_a): - Give local variable TOTAL type 'volatile unsigned int'. - (struct async_waitlist): Change type of field counter to 'unsigned int'. - * resolv/gai_suspend.c (gai_suspend): - Give local variable CNTR type 'unsigned int'. - - * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field - counterp to 'volatile unsigned int *'. - * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND] - (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'. - (aio_suspend): Give local variable CNTR type 'unsigned int'. - * sysdeps/pthread/lio_listio.c (lio_listio_internal): - Give local variable TOTAL type 'volatile unsigned int'. - (struct async_waitlist): Change type of field counter to 'unsigned int'. - -2015-06-24 H.J. Lu - - [BZ #18383] - * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align - TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment. - * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove - comment for i386/x86-64. - (test-xfail-tst-tlsalign-extern-static): Removed. - -2015-06-24 Joseph Myers - - * math/test-double.h: New file. - * math/test-float.h: Likewise. - * math/test-ldouble.h: Likewise. - * math/test-math-inline.h: Likewise. - * math/test-math-no-inline.h: Likewise. - * math/test-math-scalar.h: Likewise. - * math/test-math-vector.h: Likewise. - * math/test-vec-loop.h: Remove file. Contents moved into - test-math-vector.h. - * math/libm-test.inc (MATHCONST): Do not document macro. - * math/test-double.c: Include test-double.h, test-math-no-inline.h - and test-math-scalar.h. - (FUNC): Remove macro. - (FUNC_TEST): Likewise. - (FLOAT): Likewise. - (MATHCONST): Likewise. - (PRINTF_EXPR): Likewise. - (PRINTF_XEXPR): Likewise. - (PRINTF_NEXPR): Likewise. - (TEST_DOUBLE): Likewise. - (TEST_MATHVEC): Likewise. - (__NO_MATH_INLINES): Likewise. - * math/test-float.c: Include test-float.h, test-math-no-inline.h - and test-math-scalar.h. - (FUNC): Remove macro. - (FUNC_TEST): Likewise. - (FLOAT): Likewise. - (MATHCONST): Likewise. - (PRINTF_EXPR): Likewise. - (PRINTF_XEXPR): Likewise. - (PRINTF_NEXPR): Likewise. - (TEST_FLOAT): Likewise. - (TEST_MATHVEC): Likewise. - (__NO_MATH_INLINES): Likewise. - * math/test-idouble.c: Include test-double.h, test-math-inline.h - and test-math-scalar.h. - (FUNC): Remove macro. - (FUNC_TEST): Likewise. - (FLOAT): Likewise. - (MATHCONST): Likewise. - (PRINTF_EXPR): Likewise. - (PRINTF_XEXPR): Likewise. - (PRINTF_NEXPR): Likewise. - (TEST_DOUBLE): Likewise. - (TEST_MATHVEC): Likewise. - (TEST_INLINE): Likewise. - (__NO_MATH_INLINES): Likewise. - * math/test-ifloat.c: Include test-float.h, test-math-inline.h and - test-math-scalar.h. - (FUNC): Remove macro. - (FUNC_TEST): Likewise. - (FLOAT): Likewise. - (MATHCONST): Likewise. - (PRINTF_EXPR): Likewise. - (PRINTF_XEXPR): Likewise. - (PRINTF_NEXPR): Likewise. - (TEST_FLOAT): Likewise. - (TEST_MATHVEC): Likewise. - (TEST_INLINE): Likewise. - (__NO_MATH_INLINES): Likewise. - * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h - and test-math-scalar.h. - (FUNC): Remove macro. - (FUNC_TEST): Likewise. - (FLOAT): Likewise. - (MATHCONST): Likewise. - (PRINTF_EXPR): Likewise. - (PRINTF_XEXPR): Likewise. - (PRINTF_NEXPR): Likewise. - (TEST_LDOUBLE): Likewise. - (TEST_MATHVEC): Likewise. - (TEST_INLINE): Likewise. - (__NO_MATH_INLINES): Likewise. - * math/test-ldouble.c: Include test-ldouble.h, - test-math-no-inline.h and test-math-scalar.h. - (FUNC): Remove macro. - (FUNC_TEST): Likewise. - (FLOAT): Likewise. - (MATHCONST): Likewise. - (PRINTF_EXPR): Likewise. - (PRINTF_XEXPR): Likewise. - (PRINTF_NEXPR): Likewise. - (TEST_LDOUBLE): Likewise. - (TEST_MATHVEC): Likewise. - (__NO_MATH_INLINES): Likewise. - * math/test-double-vlen2.h: Include test-double.h, - test-math-no-inline.h and test-math-vector.h. - (FLOAT): Remove macro. - (FUNC): Likewise. - (MATHCONST): Likewise. - (PRINTF_EXPR): Likewise. - (PRINTF_XEXPR): Likewise. - (PRINTF_NEXPR): Likewise. - (TEST_DOUBLE): Likewise. - (TEST_MATHVEC): Likewise. - (__NO_MATH_INLINES): Likewise. - (CNCT): Likewise. - (CONCAT): Likewise. - (WRAPPER_NAME): Likewise. - (WRAPPER_DECL): Likewise. - (WRAPPER_DECL_ff): Likewise. - (WRAPPER_DECL_fFF): Likewise. - (VECTOR_WRAPPER): Likewise. - (VECTOR_WRAPPER_ff): Likewise. - (VECTOR_WRAPPER_fFF): Likewise. - (VEC_LEN): New macro. - * math/test-double-vlen4.h: Include test-double.h, - test-math-no-inline.h and test-math-vector.h. - (FLOAT): Remove macro. - (FUNC): Likewise. - (MATHCONST): Likewise. - (PRINTF_EXPR): Likewise. - (PRINTF_XEXPR): Likewise. - (PRINTF_NEXPR): Likewise. - (TEST_DOUBLE): Likewise. - (TEST_MATHVEC): Likewise. - (__NO_MATH_INLINES): Likewise. - (CNCT): Likewise. - (CONCAT): Likewise. - (WRAPPER_NAME): Likewise. - (WRAPPER_DECL): Likewise. - (WRAPPER_DECL_ff): Likewise. - (WRAPPER_DECL_fFF): Likewise. - (VECTOR_WRAPPER): Likewise. - (VECTOR_WRAPPER_ff): Likewise. - (VECTOR_WRAPPER_fFF): Likewise. - (VEC_LEN): New macro. - * math/test-double-vlen8.h: Include test-double.h, - test-math-no-inline.h and test-math-vector.h. - (FLOAT): Remove macro. - (FUNC): Likewise. - (MATHCONST): Likewise. - (PRINTF_EXPR): Likewise. - (PRINTF_XEXPR): Likewise. - (PRINTF_NEXPR): Likewise. - (TEST_DOUBLE): Likewise. - (TEST_MATHVEC): Likewise. - (__NO_MATH_INLINES): Likewise. - (CNCT): Likewise. - (CONCAT): Likewise. - (WRAPPER_NAME): Likewise. - (WRAPPER_DECL): Likewise. - (WRAPPER_DECL_ff): Likewise. - (WRAPPER_DECL_fFF): Likewise. - (VECTOR_WRAPPER): Likewise. - (VECTOR_WRAPPER_ff): Likewise. - (VECTOR_WRAPPER_fFF): Likewise. - (VEC_LEN): New macro. - * math/test-float-vlen4.h: Include test-float.h, - test-math-no-inline.h and test-math-vector.h. - (FLOAT): Remove macro. - (FUNC): Likewise. - (MATHCONST): Likewise. - (PRINTF_EXPR): Likewise. - (PRINTF_XEXPR): Likewise. - (PRINTF_NEXPR): Likewise. - (TEST_FLOAT): Likewise. - (TEST_MATHVEC): Likewise. - (__NO_MATH_INLINES): Likewise. - (CNCT): Likewise. - (CONCAT): Likewise. - (WRAPPER_NAME): Likewise. - (WRAPPER_DECL): Likewise. - (WRAPPER_DECL_ff): Likewise. - (WRAPPER_DECL_fFF): Likewise. - (VECTOR_WRAPPER): Likewise. - (VECTOR_WRAPPER_ff): Likewise. - (VECTOR_WRAPPER_fFF): Likewise. - (VEC_LEN): New macro. - * math/test-float-vlen8.h: Include test-float.h, - test-math-no-inline.h and test-math-vector.h. - (FLOAT): Remove macro. - (FUNC): Likewise. - (MATHCONST): Likewise. - (PRINTF_EXPR): Likewise. - (PRINTF_XEXPR): Likewise. - (PRINTF_NEXPR): Likewise. - (TEST_FLOAT): Likewise. - (TEST_MATHVEC): Likewise. - (__NO_MATH_INLINES): Likewise. - (CNCT): Likewise. - (CONCAT): Likewise. - (WRAPPER_NAME): Likewise. - (WRAPPER_DECL): Likewise. - (WRAPPER_DECL_ff): Likewise. - (WRAPPER_DECL_fFF): Likewise. - (VECTOR_WRAPPER): Likewise. - (VECTOR_WRAPPER_ff): Likewise. - (VECTOR_WRAPPER_fFF): Likewise. - (VEC_LEN): New macro. - * math/test-float-vlen16.h: Include test-float.h, - test-math-no-inline.h and test-math-vector.h. - (FLOAT): Remove macro. - (FUNC): Likewise. - (MATHCONST): Likewise. - (PRINTF_EXPR): Likewise. - (PRINTF_XEXPR): Likewise. - (PRINTF_NEXPR): Likewise. - (TEST_FLOAT): Likewise. - (TEST_MATHVEC): Likewise. - (__NO_MATH_INLINES): Likewise. - (CNCT): Likewise. - (CONCAT): Likewise. - (WRAPPER_NAME): Likewise. - (WRAPPER_DECL): Likewise. - (WRAPPER_DECL_ff): Likewise. - (WRAPPER_DECL_fFF): Likewise. - (VECTOR_WRAPPER): Likewise. - (VECTOR_WRAPPER_ff): Likewise. - (VECTOR_WRAPPER_fFF): Likewise. - (VEC_LEN): New macro. - * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include - test-vec-loop.h. - * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise. - -2015-06-24 Roland McGrath - - * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ... - (__getlogin_r): ... this. - -2015-06-24 Joseph Myers - - [BZ #18594] - * math/s_ccosh.c (__ccosh): Compare with least normal value - instead of comparing class with FP_SUBNORMAL. - * math/s_ccoshf.c (__ccoshf): Likewise. - * math/s_ccoshl.c (__ccoshl): Likewise. - * math/s_cexp.c (__cexp): Likewise. - * math/s_cexpf.c (__cexpf): Likewise. - * math/s_cexpl.c (__cexpl): Likewise. - * math/s_csin.c (__csin): Likewise. - * math/s_csinf.c (__csinf): Likewise. - * math/s_csinh.c (__csinh): Likewise. - * math/s_csinhf.c (__csinhf): Likewise. - * math/s_csinhl.c (__csinhl): Likewise. - * math/s_csinl.c (__csinl): Likewise. - * math/s_ctan.c (__ctan): Likewise. - * math/s_ctanf.c (__ctanf): Likewise. - * math/s_ctanh.c (__ctanh): Likewise. - * math/s_ctanhf.c (__ctanhf): Likewise. - * math/s_ctanhl.c (__ctanhl): Likewise. - * math/s_ctanl.c (__ctanl): Likewise. - * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp, - csin, csinh, ctan and ctanh. - * math/auto-libm-test-out: Regenerated. - * math/libm-test.inc (cexp_test): Use ALL_RM_TEST. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2015-06-24 Roland McGrath - - * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu - return value is wrong, print the expected value too. - -2015-06-24 H.J. Lu - - [BZ #18585] - * elf/readlib.c (is_gdb_python_file): New. - (process_file): Don't issue errors on filenames with -gdb.py - suffix. - -2015-06-24 Joseph Myers - - * math/auto-libm-test-in: Add more tests of csin and csinh. - * math/auto-libm-test-out: Regenerated. - * math/libm-test.inc (csin_test_data): Remove tests moved to - auto-libm-test-in. - (csinh_test_data): Likewise. - - [BZ #18593] - * math/s_csin.c (__csin): Negate before rather than after possibly - overflowing multiplication. - * math/s_csinf.c (__csinf): Likewise. - * math/s_csinh.c (__csinh): Likewise. - * math/s_csinhf.c (__csinhf): Likewise. - * math/s_csinhl.c (__csinhl): Likewise. - * math/s_csinl.c (__csinl): Likewise. - * math/auto-libm-test-in: Add some tests of csin and csinh. - * math/auto-libm-test-out: Regenerated. - * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c. - (csinh_test_data): Likewise. - * sysdeps/x86_64/fpu/libm-test-ulps: Update. - - [BZ #18586] - * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force - underflow exception for small results. - -2015-06-24 Andrew Senkevich - - * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list. - * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed - variable and included header. - * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise. - * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file. - * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise. - * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file. - * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise. - * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise. - * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise. - * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise. - * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise. - -2015-06-23 Joseph Myers - - [BZ #16526] - [BZ #16538] - * sysdeps/ieee754/dbl-64/s_sin.c: Include . - (__sin): Force underflow exception for arguments with small - absolute value. - * sysdeps/ieee754/flt-32/k_sinf.c: Include . - (__kernel_sinf): Force underflow exception for arguments with - small absolute value. - * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include . - (__kernel_sincosl): Force underflow exception for arguments with - small absolute value. - * sysdeps/ieee754/ldbl-128/k_sinl.c: Include . - (__kernel_sinl): Force underflow exception for arguments with - small absolute value. - * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include . - (__kernel_sincosl): Force underflow exception for arguments with - small absolute value. - * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include . - (__kernel_sinl): Force underflow exception for arguments with - small absolute value. - * sysdeps/ieee754/ldbl-96/k_sinl.c: Include . - (__kernel_sinl): Force underflow exception for arguments with - small absolute value. - * sysdeps/powerpc/fpu/k_sinf.c: Include . - (__kernel_sinf): Force underflow exception for arguments with - small absolute value. - * math/auto-libm-test-in: Add more tests of sin and sincos. - * math/auto-libm-test-out: Regenerated. - - [BZ #18245] - [BZ #18583] - * sysdeps/ieee754/k_standardl.c: Include . - (__kernel_standard_l): Use feholdexcept and fesetenv around - conversion to double instead of special-casing overflow and - underflow. - * math/libm-test.inc (fmod_test_data): Add more tests. - (remainder_test_data): Likewise. - (sqrt_test_data): Likewise. - -2015-06-23 Torvald Riegel - - [BZ #17403] - * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier, - atomic_read_barrier, atomic_write_barrier): Define. - * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier, - atomic_read_barrier, atomic_write_barrier): Define. - -2015-06-23 Joseph Myers - - * math/Makefile [$(PERL) != no] - ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move - dependency on libm-test.stmp below the inclusion of Rules. - -2015-06-23 Andrew Senkevich - - * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list. - * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable - and included header. - * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise. - * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise. - * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file. - * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise. - * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include. - * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise. - * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise. - * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file. - * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise. - * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise. - * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise. - * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise. - * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise. - -2015-06-23 Joseph Myers - - [BZ #18371] - * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where - intermediate but not final result might underflow. - * math/s_csqrtf.c (__csqrtf): Likewise. - * math/s_csqrtl.c (__csqrtl): Likewise. - * math/auto-libm-test-in: Add more tests of csqrt. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - - [BZ #18219] - * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce - threshold on absolute value of exponent for which scaling is used. - * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise. - * math/auto-libm-test-in: Add more tests of exp2. - * math/auto-libm-test-out: Regenerated. - -2015-06-23 Dmitry V. Levin - - [BZ #17977] - * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking - when initializing interface list, based on the bug analysis - and the patch proposed by Eric Newton. - * resolv/tst-res_hconf_reorder.c: New test. - * resolv/Makefile [$(have-thread-library) = yes] (tests): Add - tst-res_hconf_reorder. - ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl) - and $(shared-thread-library). - (tst-res_hconf_reorder-ENV): New variable. - - * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo - in comment. - -2015-06-22 Joseph Myers - - [BZ #16353] - * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object. - (__expm1): Force underflow exception for arguments with small - absolute value. - * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object. - (__expm1f): Force underflow exception for arguments with small - absolute value. - * sysdeps/ieee754/dbl-64/s_expm1.c: Include . - (__expm1): Force underflow exception for arguments with small - absolute value. - * sysdeps/ieee754/flt-32/s_expm1f.c: Include . - (__expm1f): Force underflow exception for arguments with small - absolute value. - * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh): - Check for small arguments before calling __expm1. - * math/auto-libm-test-in: Do not mark underflow exceptions as - possibly missing for bug 16353. - * math/auto-libm-test-out: Regenerated. - -2015-06-22 Andreas Schwab - - [BZ #18513] - * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for - PTR queries. - -2015-06-22 Leonhard Holz - - * string/strcoll_l.c (STRCOLL): Remove unnecessary memset. - - * string/strcoll_l.c: Remove unused struct element idxnow. - -2015-06-21 Joseph Myers - - [BZ #18569] - * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force - underflow and return argument in case of subnormal argument. - * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: - Likewise. - * math/auto-libm-test-in: Add more tests of expm1. - * math/auto-libm-test-out: Regenerated. - - [BZ #16361] - * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object. - (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for - tiny results. - * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object. - (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for - tiny results. - * math/auto-libm-test-in: Add more tests of exp and exp10. Do not - mark underflow exceptions as possibly missing for bug 16361. - * math/auto-libm-test-out: Regenerated. - -2015-06-19 Joseph Myers - - * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect. - * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform): - Remove variable. - (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise. - (test-xfail-XOPEN2K8/utmpx.h/conform). - - * conform/conformtest.pl ($xerrors): New variable. - (note_error): New function. - (compiletest): New argument $xfail. Use not_error. - (runtest): Likewise. - (top level): Handle xfail- lines. Update calls to compiletest and - runtest. Handle xfail- and optional- in headers listed with - allow-header. - * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-. - (O_EXEC): Likewise. - (O_SEARCH): Likewise. - * conform/data/stropts.h-data (ioctl): Likewise. - * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise. - * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise. - * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise. - (msghdr.msg_controllen): Likewise. - (cmsghdr.cmsg_len): Likewise. - * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise. - * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove - variable. - (test-xfail-XPG3/sys/sem.h/conform): Likewise. - (test-xfail-XPG4/stropts.h/conform): Likewise. - (test-xfail-XPG4/sys/ipc.h/conform): Likewise. - (test-xfail-XPG4/sys/sem.h/conform): Likewise. - (test-xfail-XPG4/sys/socket.h/conform): Likewise. - (test-xfail-UNIX98/stropts.h/conform): Likewise. - (test-xfail-UNIX98/sys/ipc.h/conform): Likewise. - (test-xfail-UNIX98/sys/sem.h/conform): Likewise. - (test-xfail-UNIX98/sys/socket.h/conform): Likewise. - (test-xfail-XOPEN2K/stropts.h/conform): Likewise. - (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise. - (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise. - (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise. - (test-xfail-XOPEN2K/utmpx.h/conform): Likewise. - (test-xfail-POSIX2008/fcntl.h/conform): Likewise. - (test-xfail-POSIX2008/stropts.h/conform): Likewise. - (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise. - (test-xfail-XOPEN2K8/stropts.h/conform): Likewise. - (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise. - (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise. - (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise. - -2015-06-19 Andrew Senkevich - - * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable, - __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty - definitions for proper unfolding of __MATHDECL_VEC. - -2015-06-19 Stefan Liebler - - * benchtests/bench-strcoll.c: - Include string.h. - (main): Remove unused variable res. - -2015-06-19 Stefan Liebler - - * timezone/Makefile (%/UTC %/Universal): - Generate test-result files for UTC and Universal. - -2015-06-19 Stefan Liebler - - * sysdeps/s390/fpu/libm-test-ulps: Regenerated. - -2015-06-18 Joseph Myers - - [BZ #16350] - * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception - for arguments with small absolute value. - * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise. - * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise. - * sysdeps/ieee754/dbl-64/s_asinh.c: Include . - (__asinh): Force underflow exception for arguments with small - absolute value. - * sysdeps/ieee754/flt-32/s_asinhf.c: Include . - (__asinhf): Force underflow exception for arguments with small - absolute value. - * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include . - (__asinhl): Force underflow exception for arguments with small - absolute value. - * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include . - (__asinhl): Force underflow exception for arguments with small - absolute value. - * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include . - (__asinhl): Force underflow exception for arguments with small - absolute value. - * math/auto-libm-test-in: Do not mark underflow exceptions as - possibly missing for bug 16350. - * math/auto-libm-test-out: Regenerated. - - * include/bits/ipc.h: Remove file. - * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove - variable. - (test-xfail-XPG3/sys/shm.h/conform): Likewise. - (test-xfail-XPG4/sys/msg.h/conform): Likewise. - (test-xfail-XPG4/sys/shm.h/conform): Likewise. - (test-xfail-UNIX98/sys/msg.h/conform): Likewise. - (test-xfail-UNIX98/sys/shm.h/conform): Likewise. - (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise. - (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise. - (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise. - (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise. - - * math/auto-libm-test-in: Remove spurious underflow allowance for - tests of cexp. - * math/auto-libm-test-out: Regenerated. - - [BZ #18558] - * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove - unconditional definition. - (MCAST_BLOCK_SOURCE): Likewise. - (MCAST_UNBLOCK_SOURCE): Likewise. - (MCAST_LEAVE_GROUP): Likewise. - (MCAST_JOIN_SOURCE_GROUP): Likewise. - (MCAST_LEAVE_SOURCE_GROUP): Likewise. - (MCAST_MSFILTER): Likewise. - * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform): - Remove variable. - (test-xfail-XOPEN2K/netdb.h/conform): Likewise. - (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise. - (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise. - (test-xfail-XOPEN2K8/netdb.h/conform): Likewise. - (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise. - -2015-06-18 Andrew Senkevich - - * NEWS: Mention addition of x86_64 vector sincosf. - * math/test-float-vlen16.h: Added wrapper for sincosf tests. - * math/test-float-vlen4.h: Likewise. - * math/test-float-vlen8.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added. - * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration. - * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files. - * sysdeps/x86_64/fpu/Versions: New versions added. - * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated. - * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): - Added build of SSE, AVX2 and AVX512 IFUNC versions. - * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S - * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S - * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S - * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S - * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S - * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S - * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S - * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S - * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S - * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S - * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file. - * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file. - * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers. - * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests. - * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise. - - * NEWS: Mention addition of x86_64 vector sincos. - * bits/libm-simd-decl-stubs.h: Added stubs for sincos. - * math/math.h (__MATHDECL_VEC): New macro. - * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC. - * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper - declaration under condition. - * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored. - * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected - TEST_VEC_LOOP change. - * math/test-double-vlen4.h: Likewise. - * math/test-double-vlen8.h: Likewise. - * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change. - * math/test-float-vlen4.h: Likewise. - * math/test-float-vlen8.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added. - * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration. - * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files. - * sysdeps/x86_64/fpu/Versions: New versions added. - * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated. - * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): - Added build of SSE, AVX2 and AVX512 IFUNC versions. - * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file. - * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file. - * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file. - * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file. - * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file. - * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file. - * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file. - * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos. - * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests. - * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise. - * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise. - * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise. - * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise. - - * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added. - * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm - redirections for powf. - * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files. - * sysdeps/x86_64/fpu/Versions: New versions added. - * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated. - * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): - Added build of SSE, AVX2 and AVX512 IFUNC versions. - * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers. - * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file. - * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file. - * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file. - * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file. - * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file. - * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file. - * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file. - * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests. - * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise. - * math/test-float-vlen16.h: Fixed 2 argument macro. - * math/test-float-vlen4.h: Likewise. - * math/test-float-vlen8.h: Likewise. - * NEWS: Mention addition of x86_64 vector powf. - -2015-06-17 Joseph Myers - - * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine - and redefine. - * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine - and redefine. - * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file. - * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise. - - [BZ #18553] - * resource/getpriority.c (getpriority): Rename to __getpriority - and define as weak alias of __getpriority. - * resource/setpriority.c (setpriority): Rename to __setpriority - and define as weak alias of __setpriority. - * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to - __getpriority and define as weak alias of __getpriority. - * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to - __setpriority and define as weak alias of __setpriority. - * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as - strong name. - (setpriority): Use __setpriority as strong name. - * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to - __getpriority and define as weak alias of __getpriority. - * include/sys/resource.h (__getpriority): Declare. Use - libc_hidden_proto. - (__setpriority): Likewise. - (getpriority): Don't use libc_hidden_proto. - (setpriority): Likewise. - * sysdeps/posix/nice.c (nice): Call __getpriority instead of - getpriority. Call __setpriority instead of setpriority. - * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace): - Remove variable. - - [BZ #18547] - * misc/getttyent.c (getttynam): Rename to __getttynam and define - as weak alias of __getttynam. Use prototype function definition. - Call __setttyent, __getttyent and __endttyent instead of - setttyent, getttyent and endttyent. - (getttyent): Rename to __getttyent and define as weak alias of - __getttyent. Call __setttyent instead of setttyent. Call - __fgets_unlocked instead of fgets_unlocked. - (setttyent): Rename to __setttyent and define as weak alias of - __setttyent. - (endttyent): Rename to __endttyent and define as weak alias of - __endttyent. - * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto. - (__setttyent): Likewise. - (__endttyent): Likewise. - (getttyent): Don't use libc_hidden_proto. - (setttyent): Likewise. - (endttyent): Likewise. - * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and - __endttyent instead of setttyent, getttyent and endttyent. - * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace): - Remove variable. - - [BZ #18546] - * socket/recv.c (__recv): Use libc_hidden_def. - * socket/socket.c (__socket): Likewise. - * sysdeps/mach/hurd/recv.c (__recv): Likewise. - * sysdeps/mach/hurd/socket.c (__socket): Likewise. - * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise. - * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak. - * sysdeps/unix/sysv/linux/socket.c (__socket): Use - libc_hidden_def. - * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use - libc_hidden_weak. - * include/sys/socket.h (__socket): Do not use attribute_hidden. - Use libc_hidden_proto. - (__recv): Likewise. - * socket/Versions (libc): Export __recv and __socket at version - GLIBC_PRIVATE. - * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv - instead of recv. - (init_mq_netlink): Call __socket instead of socket. - * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace): - Remove variable. - - [BZ #18545] - * rt/mq_timedreceive.c (mq_timedreceive): Rename to - __mq_timedreceive and define as alias of __mq_timedreceive. Use - hidden_weak. - * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and - define as alias of __mq_timedsend. Use hidden_weak. - * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use - __mq_timedsend as strong name. - (mq_timedreceive): Use __mq_timedreceive as strong name. - * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto. - (__mq_timedreceive): Likewise. - * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call - __mq_timedreceive instead of mq_timedreceive. - * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend - instead of mq_timedsend. - * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace): - Remove variable. - - * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use - hidden_def and hidden_weak instead of libc_hidden_def and - libc_hidden_weak. - (top level): Refer to hidden_def in comment. - * sysdeps/unix/syscall-template.S (syscall_hidden_def): New - macro. Use it instead of libc_hidden_def. - * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not - specify __GI_* name explicitly. - (mq_timedreceive): Likewise. - (mq_setattr): Likewise. - - [BZ #18544] - * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to - __pthread_barrier_init and define as weak alias of - __pthread_barrier_init. - * sysdeps/sparc/nptl/pthread_barrier_init.c - (pthread_barrier_init): Likewise. - * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to - __pthread_barrier_wait and define as weak alias of - __pthread_barrier_wait. - * sysdeps/sparc/nptl/pthread_barrier_wait.c - (pthread_barrier_wait): Likewise. - * sysdeps/sparc/sparc32/pthread_barrier_wait.c - (pthread_barrier_wait): Likewise. - * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S - (pthread_barrier_wait): Likewise. - * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S - (pthread_barrier_wait): Likewise. - * nptl/Versions (libpthread): Export __pthread_barrier_init and - __pthread_barrier_wait at version GLIBC_PRIVATE. - * include/pthread.h (__pthread_barrier_init): Declare. - (__pthread_barrier_wait): Likewise. - * sysdeps/unix/sysv/linux/mq_notify.c (notification_function): - Call __pthread_barrier_wait instead of pthread_barrier_wait. - (helper_thread): Likewise. - (init_mq_netlink): Call __pthread_barrier_init instead of - pthread_barrier_init. - - [BZ #18542] - * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def. - (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias - * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto. - * libio/swscanf.c (__swscanf): Call __vswscanf instead of - vswscanf. - * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace): - Remove variable. - - [BZ #18540] - * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as - strong alias of _IO_fflush. Use libc_hidden_def. - * libio/iofflush_u.c (fflush_unlocked): Rename to - __fflush_unlocked and define as weak alias of __fflush_unlocked. - Use libc_hidden_weak. - * include/stdio.h (__fflush_unlocked): Declare. Use - libc_hidden_proto. - * misc/getpass.c (getpass): Call __fflush_unlocked instead of - fflush_unlocked. - * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace): - Remove variable. - - [BZ #18539] - * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and - define as weak alias of __addseverity. - * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace): - Remove variable. - (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise. - - [BZ #18536] - * misc/tsearch.c (__tsearch): Use libc_hidden_def. - (__tfind): Likewise. - (__tdelete): Likewise. - (__twalk): Likewise. - * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and - __twalk to GLIBC_PRIVATE. - * include/search.h (__tsearch): Use libc_hidden_proto. - (__tfind): Likewise. - (__tdelete): Likewise. - (__twalk): Likewise. - * nptl/sem_close.c (sem_close): Call __twalk instead of twalk. - Call __tdelete instead of tdelete. - * nptl/sem_open.c (check_add_mapping): Call __tfind instead of - tfind. Call __tsearch instead of tsearch. - * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise. - * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace): - Remove variable. - (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise. - - [BZ #18534] - * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def. - (dprintf): Define as a weak alias of __dprintf, not a strong - alias. - * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto. - * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of - dprintf. - * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace): - Remove variable. - (test-xfail-UNIX98/syslog.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise. - - [BZ #18533] - * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog, - not a strong alias. - * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace): - Remove variable. - - [BZ #18532] - * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and - define as weak alias of __in6addr_any. Use libc_hidden_data_weak. - (in6addr_loopback): Rename to __in6addr_loopback and define as - weak alias of __in6addr_loopback. Use libc_hidden_data_weak. - * include/netinet/in.h (__in6addr_loopback): Declare. Use - libc_hidden_proto. - (__in6addr_any): Likewise. - * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of - in6addr_any. - * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove - variable. - (test-xfail-UNIX98/netdb.h/linknamespace): Likewise. - -2015-06-17 Andrew Senkevich - - * bits/libm-simd-decl-stubs.h: Added stubs for pow. - * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC. - * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added. - * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm - redirections for pow. - * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files. - * sysdeps/x86_64/fpu/Versions: New versions added. - * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated. - * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added - build of SSE, AVX2 and AVX512 IFUNC versions. - * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers. - * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file. - * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file. - * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file. - * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file. - * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file. - * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file. - * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file. - * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test. - * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise. - * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise. - * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise. - * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise. - * NEWS: Mention addition of x86_64 vector pow. - - * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added. - * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm - redirections for expf. - * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files. - * sysdeps/x86_64/fpu/Versions: New versions added. - * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated. - * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added - build of SSE, AVX2 and AVX512 IFUNC versions. - * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file. - * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file. - * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file. - * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file. - * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file. - * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file. - * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file. - * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests. - * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise. - * NEWS: Mention addition of x86_64 vector expf. - - * bits/libm-simd-decl-stubs.h: Added stubs for exp. - * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC. - * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added. - * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm - redirections for exp. - * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files. - * sysdeps/x86_64/fpu/Versions: New versions added. - * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated. - * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added - build of SSE, AVX2 and AVX512 IFUNC versions. - * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file. - * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file. - * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file. - * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file. - * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file. - * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file. - * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file. - * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test. - * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise. - * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise. - * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise. - * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise. - * NEWS: Mention addition of x86_64 vector exp. - - * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added. - * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm - redirections for logf. - * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files. - * sysdeps/x86_64/fpu/Versions: New versions added. - * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated. - * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added - build of SSE, AVX2 and AVX512 IFUNC versions. - * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file. - * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file. - * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file. - * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file. - * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file. - * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file. - * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file. - * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests. - * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise. - * NEWS: Mention addition of x86_64 vector logf. - - * bits/libm-simd-decl-stubs.h: Added stubs for log. - * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC. - * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added. - * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm - redirections for log. - * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files. - * sysdeps/x86_64/fpu/Versions: New versions added. - * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated. - * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added - build of SSE, AVX2 and AVX512 IFUNC versions. - * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file. - * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file. - * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file. - * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file. - * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file. - * sysdeps/x86_64/fpu/svml_d_log_data.S: New file. - * sysdeps/x86_64/fpu/svml_d_log_data.h: New file. - * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log - test. - * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise. - * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise. - * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise. - * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise. - * NEWS: Mention addition of x86_64 vector log. - -2015-06-17 Szabolcs Nagy - - * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix - cfi_adjust_cfa_offset argument. - (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise. - (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise. - - [BZ #18034] - * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare. - * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define. - (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load - ordering using ldar. - (_dl_tlsdesc_dynamic): Likewise. - (_dl_tlsdesc_return_lazy): Likewise. - * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use - relaxed atomics instead of volatile and synchronize with release store. - (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of - volatile. - * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise. - -2015-06-15 Andrew Senkevich - - * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added. - * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf. - * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files. - * sysdeps/x86_64/fpu/Versions: New versions added. - * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated. - * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added - build of SSE, AVX2 and AVX512 IFUNC versions. - * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file. - * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file. - * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file. - * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file. - * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file. - * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file. - * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file. - * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests. - * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise. - * NEWS: Mention addition of x86_64 vector sinf. - -2015-06-14 Joseph Myers - - * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any - and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008. - * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace): - Remove variable. - (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise. - -2015-06-12 Joseph Myers - - [BZ #18530] - * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as - strong alias of _IO_fputs. Use libc_hidden_def. - * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked - and define as weak alias of __fputs_unlocked. Use - libc_hidden_weak. - * include/stdio.h (__fputs_unlocked): Declare. Use - libc_hidden_proto. - * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of - fputs_unlocked. - - [BZ #18529] - * resolv/netdb.h [__USE_POSIX]: Change condition to - [__USE_XOPEN2K]. - * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do - not expect. - [XPG4 || UNIX98] (AI_PASSIVE): Likewise. - [XPG4 || UNIX98] (AI_CANONNAME): Likewise. - [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise. - [XPG4 || UNIX98] (AI_V4MAPPED): Likewise. - [XPG4 || UNIX98] (AI_ALL): Likewise. - [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise. - [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise. - [XPG4 || UNIX98] (NI_NOFQDN): Likewise. - [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise. - [XPG4 || UNIX98] (NI_NAMEREQD): Likewise. - [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise. - [XPG4 || UNIX98] (NI_DGRAM): Likewise. - [XPG4 || UNIX98] (EAI_AGAIN): Likewise. - [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise. - [XPG4 || UNIX98] (EAI_FAIL): Likewise. - [XPG4 || UNIX98] (EAI_FAMILY): Likewise. - [XPG4 || UNIX98] (EAI_MEMORY): Likewise. - [XPG4 || UNIX98] (EAI_NONAME): Likewise. - [XPG4 || UNIX98] (EAI_SERVICE): Likewise. - [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise. - [XPG4 || UNIX98] (EAI_SYSTEM): Likewise. - [XPG4 || UNIX98] (EAI_SYSTEM): Likewise. - [XPG4 || UNIX98] (freeaddrinfo): Likewise. - [XPG4 || UNIX98] (gai_strerror): Likewise. - [XPG4 || UNIX98] (getaddrinfo): Likewise. - [XPG4 || UNIX98] (getnameinfo): Likewise. - - [BZ #18528] - * grp/grp.h (endgrent): Condition on [__USE_MISC || - __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED || - __USE_XOPEN2K8]. - (getgrent): Likewise. - * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not - expect. - [XPG3 || POSIX2008] (endgrent): Likewise. - [XPG3] (setgrent): Likewise. - * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove - variable. - (test-xfail-POSIX2008/grp.h/linknamespace): Likewise. - - [BZ #18527] - * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and - define as weak alias of __getlogin_r. Use libc_hidden_weak. - * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise. - * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise. - * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise. - * include/unistd.h (__getlogin_r): Declare. Use - libc_hidden_proto. - * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r. - * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove - variable. - (test-xfail-XPG3/wordexp.h/linknamespace): Likewise. - (test-xfail-XPG4/glob.h/linknamespace): Likewise. - (test-xfail-XPG4/wordexp.h/linknamespace): Likewise. - -2015-06-12 Martin Sebor - - [BZ #18512] - * Makerules (check-install-supported): New target. - (install): Add check-install-supported as a dependency. - * manual/install.texi (Installing the C Library): Document - that overriding prefix and exec_prefix is not supported. - Mention DESTDIR. - * INSTALL: Regenerate from the above. - -2015-06-12 Joseph Myers - - [BZ #18519] - * posix/Versions (libc): Export __libc_pread at version - GLIBC_PRIVATE. - * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread - instead of pread. - * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove - variable. - - [BZ #18522] - * misc/efgcvt_r.c - [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT] - (cvt_symbol): Use weak_alias instead of strong_alias. - [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise. - * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace): - Remove variable. - (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise. - - [BZ #18520] - * inet/herrno.c (h_errno): Rename to __h_errno. - (__libc_h_errno): Define as alias of __h_errno not h_errno. - * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define - to __h_errno instead of h_errno. - * nptl/herrno.c (h_errno): Rename to __h_errno. - (__h_errno_location): Refer to __h_errno not h_errno. - * resolv/Versions (h_errno): Rename to __h_errno. - * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace): - Remove variable. - (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise. - -2015-06-11 Andrew Senkevich - - * configure.ac: More strict check for AVX512 assembler support. - * configure: Regenerated. - - * bits/libm-simd-decl-stubs.h: Added stubs for sin. - * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC. - * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added. - * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin. - * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files. - * sysdeps/x86_64/fpu/Versions: New versions added. - * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated. - * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): - Added build of SSE, AVX2 and AVX512 IFUNC versions. - * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file. - * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file. - * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file. - * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file. - * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file. - * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file. - * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file. - * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin - test. - * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise. - * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise. - * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise. - * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise. - * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise. - * NEWS: Mention addition of x86_64 vector sin. - -2015-06-11 Florian Weimer - - * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in - comment. - -2015-06-10 Gleb Fotengauer-Malinovskiy - - [BZ #18479] - * nptl/pt-interp.c: New file. - * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines): - Add pt-interp. - [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on - $(common-objpfx)runtime-linker.h. - -2015-06-10 Dmitry V. Levin - - * Makeconfig (+interp): Remove unused variable. - * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes] - only. Depend on $(common-objpfx)runtime-linker.h instead of - $(elf-objpfx)runtime-linker.h. - ($(elf-objpfx)runtime-linker.h): Rename to - $(common-objpfx)runtime-linker.h and move ... - * Makerules [$(build-shared) = yes]: ... here. - * elf/interp.c: Include instead of - . - -2015-06-09 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/i386/gettimeofday.c - (__gettimeofday_syscall): Remove vsyscall fallback. - * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise. - * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall): - Add syscall fallback function. - (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism - if vDSO is not present. - * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall - fallback function. - (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not - present. - * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file. - * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise. - -2015-06-09 Joseph Myers - - [BZ #18497] - * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead - of wcscmp. - (wcscmp): Define as weak alias of WCSCMP. - * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of - wcscoll. - (USE_HIDDEN_DEF): Define. - [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of - __wcscoll. Don't use libc_hidden_weak. - * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of - wcscmp. - * sysdeps/i386/i686/multiarch/wcscmp-c.c - [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of - __GI_wcscmp. - (weak_alias): Undefine and redefine. - * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to - __wcscmp and define as weak alias of __wcscmp. - * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise. - * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto. - (__wcscoll): Likewise. - (wcscmp): Don't use libc_hidden_proto. - (wcscoll): Likewise. - * posix/regcomp.c (build_range_exp): Call __wcscoll instead of - wcscoll. - * posix/regexec.c (check_node_accept_bytes): Likewise. - * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove - variable. - (test-xfail-XPG4/regex.h/linknamespace): Likewise. - (test-xfail-POSIX/regex.h/linknamespace): Likewise. - - [BZ #18507] - * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to - __fstatvfs and define as weak alias of __fstatvfs. Use - libc_hidden_weak. - * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs - and define as weak alias of __statvfs. Use libc_hidden_weak. - * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64): - Define as alias of __fstatvfs, not fstatvfs. - (fstatvfs64): Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64): - Define as alias of __statvfs, not statvfs. - (statvfs64): Likewise. - * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace): - Remove variable. - -2015-06-09 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h - (HAVE_GETCPU_VSYSCALL): Define. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h - (HAVE_GETCPU_VSYSCALL): Likewise. - * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file. - * sysdeps/unix/sysv/linux/sched_getcpu.c - (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define. - (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL. - * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO - prototype. - * sysdeps/unix/sysv/linux/x86_64/init-first.c - (__vdso_platform_setup): Remove vsyscall getcpu fallback. - * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL): - Define. - * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file. - * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise. - -2015-06-09 Andrew Senkevich - - * sysdeps/x86_64/fpu/Makefile: New file. - * sysdeps/x86_64/fpu/Versions: New file. - * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file. - * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file. - * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file. - * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file. - * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file. - * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file. - * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file. - * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file. - * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): - Added build of SSE, AVX2 and AVX512 IFUNC versions. - * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos. - * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC. - * sysdeps/x86_64/configure.ac: Options for libmvec build. - * sysdeps/x86_64/configure: Regenerated. - * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro. - * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file. - * manual/install.texi (Configuring and compiling): Document - --disable-mathvec. - * INSTALL: Regenerated. - * NEWS: Mention addition of libmvec and x86_64 vector cos. - - * math/Makefile: Added rules for vector tests. - * math/gen-libm-have-vector-test.sh: Added generation of wrapper - declaration under condition. - * math/test-double-vlen2.h: New file. - * math/test-double-vlen4.h: New file. - * math/test-double-vlen8.h: New file. - * math/test-vec-loop.h: Added initialization macro. - * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests. - * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated. - * sysdeps/x86_64/fpu/math-tests-arch.h: New file. - * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file. - * sysdeps/x86_64/fpu/test-double-vlen2.c: New file. - * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file. - * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file. - * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file. - * sysdeps/x86_64/fpu/test-double-vlen4.c: New file. - * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file. - * sysdeps/x86_64/fpu/test-double-vlen8.c: New file. - - * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files. - * sysdeps/x86_64/fpu/Versions: New versions added. - * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file. - * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file. - * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file. - * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file. - * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file. - * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file. - * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file. - * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file. - * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): - Added build of SSE, AVX2 and AVX512 IFUNC versions. - * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added. - * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf. - * NEWS: Mention addition of x86_64 vector cosf. - - * math/Makefile: Added CFLAGS for new tests. - * math/test-float-vlen16.h: New file. - * math/test-float-vlen4.h: New file. - * math/test-float-vlen8.h: New file. - * math/test-double-vlen2.h: Fixed 2 argument macro and comment. - * sysdeps/x86_64/fpu/Makefile: Added new tests and variables. - * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated. - * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file. - * sysdeps/x86_64/fpu/test-float-vlen16.c: New file. - * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file. - * sysdeps/x86_64/fpu/test-float-vlen4.c: New file. - * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file. - * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file. - * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file. - * sysdeps/x86_64/fpu/test-float-vlen8.c: New file. - -2015-06-09 Marko Myllynen - - * locale/C-ctype.c (PREDEFINED_CLASSES): Remove. - * locale/programs/ld-ctype.c: Likewise. - -2015-06-08 Andrew Senkevich - - * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable, - bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state, - bit_ZMM16_31_state): New macro. - * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): - Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable. - -2015-06-08 Joseph Myers - - * include/stdio.h (__open_memstream): Say "C++ tests" in comment. - -2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de> - - * mach/mach/mach_traps.h (thread_switch): Fix typo in comment. - -2015-06-05 Joseph Myers - - [BZ #18498] - * libio/memstream.c (open_memstream): Rename to __open_memstream - and define as weak alias of __open_memstream. - * include/stdio.h (__open_memstream): Declare. Use - libc_hidden_proto. - (open_memstream): Don't use libc_hidden_proto. - * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of - open_memstream. - * posix/getopt.c (_getopt_internal_r): Likewise. - * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove - variable. - (test-xfail-XPG4/stdio.h/linknamespace): Likewise. - (test-xfail-UNIX98/stdio.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise. - - [BZ #18496] - * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb - instead of wcrtomb. - - [BZ #18483] - * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to - [__USE_XOPEN2K8]. Remove redundant #endif. - [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8]. - Remove redundant #if. - * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace): - Remove variable. - (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise. - - [BZ #18495] - * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def. - (__iswlower): Likewise. - * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto. - (__iswlower): Likewise. - * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower - instead of towlower. - * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower - instead of iswlower. Call __towupper instead of towupper. - * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum - instead of iswalnum. - -2015-06-05 Tulio Magno Quites Machado Filho - - * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal - errors to stderr. - -2015-06-05 Florian Weimer - - [BZ #15661] - [BZ #17322] - * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64): - Check for overflow properly. Check for O_APPEND. Ignore large - file system block sizes. Add comments about problems. - * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise. - * manual/filesys.texi (Storage Allocation): New node. - -2015-06-04 Adhemerval Zanella - - * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define - cancellable syscalls. - (SYS_ify): Add guard to no redefine it. - (INLINE_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove - LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use - SYSCALL_CANCEL instead. - * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise. - * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise. - * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise. - * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise. - * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise. - * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise. - * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise. - * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise. - * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise. - * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise. - * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise. - * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise. - * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise. - * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise. - * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise. - * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread): - Likewise. - * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c - (__libc_pread64): Likewise. - * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c - (__libc_preadv): Likewise. - * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c - (__libc_readv64): Likewise. - * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c - (__libc_pwrite): Likewise. - * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c - (__libc_pwrite64): Likewise. - * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c - (__libc_pwritev): Likewise. - * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c - (__libc_pwritev64): Likewise. - * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c - (sync_file_range): Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate): - Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64): - Likewise. - * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise. - * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise. - * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise. - * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise. - * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise. - * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread): - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c - (__libc_read64): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write): - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64): - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl): - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread): - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c - (__libc_pread64): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite): - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c - (__libc_pwrite64): Likewise. - * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c - (sync_file_range): Likewise. - * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise. - * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise. - * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise. - * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise. - * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise. - * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise. - * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise. - * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise. - * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise. - * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise. - * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise. - * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise. - * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise. - * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise. - * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise. - * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise. - * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise. - * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv): - Likewise. - * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range): - Likewise. - * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise. - * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread): - Likewise. - * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise. - * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise. - * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate): - Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise. - * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise. - * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise. - * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise. - -2015-06-04 Nathan Lynch - - * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines): - Include dl-vdso. - * sysdeps/unix/sysv/linux/arm/init-first.c: New file: - Use VDSO routines for gettimeofday, clock_gettime if - available. - * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file: - Declare VDSO symbols. - * sysdeps/unix/sysv/linux/arm/sysdep.h: - [HAVE_GETTIMEOFDAY_VSYSCALL]: Define. - [HAVE_CLOCK_GETTIME_VSYSCALL]: Define. - * sysdeps/unix/sysv/linux/arm/Versions: Add - __vdso_clock_gettime. - -2015-06-04 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to - be an inline implementation regardless of library is built within. - (open_not_cancel_2): Likewise. - (__read_nocancel): Likewise. - (__write_nocancel): Likewise. - (openat_not_cancel): Likewise. - (openat_not_cancel_3): Likewise. - (openat64_not_cancel): Likewise. - (openat64_not_cancel_3): Likewise. - (__close_nocancel): Likewise. - (pause_not_cancel): Likewise. - (nanosleep_not_cancel): Likewise. - (sigsuspend_not_cancel): Likewise. - -2015-06-04 Torvald Riegel - - [BZ #14958] - * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing - wake-up. - (__pthread_rwlock_rdlock_slow): Likewise. - * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock): - Likewise. - * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock): - Likewise. - * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments. - * nptl/tst-rwlock16.c: New file. - * nptl/Makefile (tests): Add new test. - -2015-06-04 Torvald Riegel - - [BZ #18324] - * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add - missing wake-up of readers. - * nptl/tst-rwlock15.c: New file. - * nptl/Makefile (tests): Add new test. - -2015-06-03 Roland McGrath - - * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function. - (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function. - * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc - and __nacl_supply_interface_rtld. - * sysdeps/nacl/nacl_interface_ext_supply.c: New file. - * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it. - * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE): - Add __nacl_supply_interface_rtld. - (libc: GLIBC_2.22): Add nacl_interface_ext_supply. - -2015-06-03 Wilco Dijkstra - - * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with - isfinite. - * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise. - * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise. - -2015-06-03 Wilco Dijkstra - - * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and - __signbit* with standard C99 macros. - * math/e_exp10l.c: Likewise. - * math/e_exp2l.c: Likewise. - * math/e_scalb.c: Likewise. - * math/e_scalbf.c: Likewise. - * math/e_scalbl.c: Likewise. - * math/s_ldexp.c: Likewise. - * math/s_ldexpf.c: Likewise. - * math/s_ldexpl.c: Likewise. - * math/w_atan2.c: Likewise. - * math/w_atan2f.c: Likewise. - * math/w_atan2l.c: Likewise. - * math/w_cosh.c: Likewise. - * math/w_coshf.c: Likewise. - * math/w_coshl.c: Likewise. - * math/w_exp10.c: Likewise. - * math/w_exp10f.c: Likewise. - * math/w_exp10l.c: Likewise. - * math/w_exp2.c: Likewise. - * math/w_exp2f.c: Likewise. - * math/w_exp2l.c: Likewise. - * math/w_fmod.c: Likewise. - * math/w_fmodf.c: Likewise. - * math/w_fmodl.c: Likewise. - * math/w_hypot.c: Likewise. - * math/w_hypotf.c: Likewise. - * math/w_hypotl.c: Likewise. - * math/w_jnl.c: Likewise. - * math/w_lgamma.c: Likewise. - * math/w_lgamma_r.c: Likewise. - * math/w_lgammaf.c: Likewise. - * math/w_lgammaf_r.c: Likewise. - * math/w_lgammal.c: Likewise. - * math/w_lgammal_r.c: Likewise. - * math/w_pow.c: Likewise. - * math/w_powf.c: Likewise. - * math/w_powl.c: Likewise. - * math/w_remainder.c: Likewise. - * math/w_remainderf.c: Likewise. - * math/w_remainderl.c: Likewise. - * math/w_scalb.c: Likewise. - * math/w_scalbf.c: Likewise. - * math/w_scalbl.c: Likewise. - * math/w_scalbln.c: Likewise. - * math/w_scalblnf.c: Likewise. - * math/w_scalblnl.c: Likewise. - * math/w_sinh.c: Likewise. - * math/w_sinhf.c: Likewise. - * math/w_sinhl.c: Likewise. - * math/w_tgamma.c: Likewise. - * math/w_tgammaf.c: Likewise. - * math/w_tgammal.c: Likewise. - * sysdeps/ieee754/dbl-64/e_exp.c: Likewise. - * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise. - * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise. - * sysdeps/ieee754/dbl-64/e_j1.c: Likewise. - * sysdeps/ieee754/dbl-64/e_jn.c: Likewise. - * sysdeps/ieee754/dbl-64/e_pow.c: Likewise. - * sysdeps/ieee754/dbl-64/w_exp.c: Likewise. - * sysdeps/ieee754/flt-32/e_expf.c: Likewise. - * sysdeps/ieee754/flt-32/e_j1f.c: Likewise. - * sysdeps/ieee754/flt-32/e_jnf.c: Likewise. - * sysdeps/ieee754/flt-32/w_expf.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise. - * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise. - * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise. - * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise. - * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise. - * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise. - * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise. - * stdio-common/printf_fp.c: Likewise. - * stdio-common/printf_fphex.c: Likewise. - * stdio-common/printf_size.c: Likewise. - -2015-06-03 Joseph Myers - - [BZ #18470] - * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of - strnlen. - * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace): - Remove variable. - (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise. - (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise. - (test-xfail-POSIX/glob.h/linknamespace): Likewise. - (test-xfail-POSIX/wordexp.h/linknamespace): Likewise. - (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise. - (test-xfail-UNIX98/glob.h/linknamespace): Likewise. - (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise. - - [BZ #18468] - * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as - weak alias of __wmemchr. Use libc_hidden_weak. - * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto. - * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr - instead of wmemchr. - -2015-06-02 Roland McGrath - - [BZ #18383] - * elf/tst-tlsalign-extern.c: New file. - * elf/tst-tlsalign-extern-static.c: New file. - * elf/tst-tlsalign-vars.c: New file. - * elf/Makefile (tests-static): Add tst-tlsalign-extern-static. - [$(build-shared) = yes] (tests): Add tst-tlsalign-extern. - ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o. - ($(objpfx)tst-tlsalign-extern-static): Likewise. - (test-xfail-tst-tlsalign-extern-static): New variable. - -2015-06-02 Joseph Myers - - * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL): - Use variable name _sc_err instead of err. - [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret - instead of ret. - * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h - (INLINE_SYSCALL): Use variable name _sc_err instead of err. - * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h - (INLINE_SYSCALL): Likewise. - - * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def. - * include/string.h (__strnlen): Use libc_hidden_proto. - * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def. - * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED] - (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen. - * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S - (libc_hidden_def): Undefine and redefine. - * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c - [SHARED] (libc_hidden_def): Define __GI___strnlen as well as - __GI_strnlen. - * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use - libc_hidden_def. - * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise. - - [BZ #18469] - * wctype/wcfuncs.c (towlower): Rename to __towlower and define as - weak alias of __towlower. Use libc_hidden_weak. - (towupper): Rename to __towupper and define as weak alias of - __towupper. Use libc_hidden_weak. - * include/wctype.h (__towlower): Declare. Use libc_hidden_proto. - (__towupper): Likewise. - * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use - __towlower instead of towlower. - -2015-06-02 Roland McGrath - - * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use - "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma. - -2015-06-02 Szabolcs Nagy - - * sysdeps/aarch64/libm-test-ulps: Update. - -2015-06-01 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL): - Define. - (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h - (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise. - (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise. - * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h. - * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file. - * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise. - -2015-06-01 Martin Sebor - - [BZ #18116] - * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S - (__setcontext): Use extended four-operand version of mtsf whenever - possible. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S - (__novec_swapcontext): Likewise. - -2015-06-01 Siddhesh Poyarekar - - * benchtests/scripts/compare_bench.py: New file. - * benchtests/scripts/import_bench.py (mean): New function. - (split_list): Likewise. - (do_for_all_timings): Likewise. - (compress_timings): Likewise. - - * benchtests/scripts/import_bench.py: New file. - * benchtests/scripts/validate_benchout.py: Import import_bench - instead of jsonschema. - (validate_bench): Remove function. - (main): Use import_bench. - -2015-06-01 Steve Ellcey - - * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to - copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask. - -2015-05-29 Adhemerval Zanella - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - -2015-05-28 Roland McGrath - - * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached, - set THREAD_SELF->tid to a magic value and futex-wake it. - Pass its address to the thread_exit system call. - * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low - bit is clear. - * sysdeps/nacl/lowlevellock.h: New file. - * sysdeps/nacl/lll_timedwait_tid.c: New file. - - * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait): - Add TIMEOUT to current time, don't subtract it. - -2015-05-28 H.J. Lu - - [BZ #2981] - [BZ #18422] - * Makefile ($(objpfx)tst-audit2): Depend on $(libdl). - ($(objpfx)tst-audit2.out): Also depend on - $(objpfx)tst-auditmod9b.so. - * elf/tst-audit2.c: Include . - (calloc_called): New. - (calloc): Allow to be called more than once. - (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so. - -2015-05-28 Wilco Dijkstra - - * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs. - * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise. - -2015-05-27 Marko Myllynen - - * stdlib/monetary.h: Fix comment. - -2015-05-26 Chris Metcalf - - * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL): - Avoid using variables in #defines that might cause shadowing. - (INTERNAL_VSYSCALL_CALL): Likewise. - -2015-05-26 Roland McGrath - - * sysdeps/nacl/lll_timedlock_wait.c: New file. - - * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ... - * nptl/lll_timedlock_wait.c: ... to this new file. - * nptl/Makefile (libpthread-routines): Add it. - * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ... - * nptl/lll_timedwait_tid.c: ... to this new file. - * nptl/Makefile (libpthread-routines): Add it. - * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file. - * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file. - * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file. - * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file. - * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file. - * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file. - * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file. - * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file. - * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file. - * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file. - -2015-05-26 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file. - * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise. - * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise. - * sysdeps/unix/sysv/linux/aarch64/sysdep.h - (HAVE_GETTIMEOFDAY_VSYSCALL): Define. - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h - (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h - (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise. - * sysdeps/unix/sysv/linux/tile/sysdep.h - (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise. - * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday - using vDSO syscall macro. - -2015-05-26 Andriy Rysin - - [BZ #17293] - * uk_UA: Fix sorting order for Ukrainian locale - -2015-05-26 Marko Myllynen - - * stdlib/monetary.h: Fix comment. - -2015-05-26 Szabolcs Nagy - - [BZ #18234] - * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim, - st_mtim and st_ctim members. - * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make - st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only. - * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,): - (struct stat64): Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,): - (struct stat64): Likewise. - * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,): - (struct stat64): Likewise. - -2015-05-26 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL): - Define and include sysdep-vdso.h. - * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL): - Likewise. - * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL): - Likewise. - * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday): - Define with VDSO_SYMBOL and use PTR_MANGLE. - (__vdso_clock_gettime): Likewise. - (__vdso_clock_getres): Likewise. - (_libc_vdso_platform_setup): Likewise. - * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime): - Likewise. - (_libc_vdso_platform_setup): Likewise. - * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday): - Likewise. - (__vdso_clock_gettime): Likewise. - (__vdso_clock_getres): Likewise. - (__vdso_get_tbfreq): Likewise. - (__vdso_getcpu): Likewise. - (__vdso_time): Likewise. - (__vdso_sigtramp_rt64): Likewise. - (__vdso_signtramp32): Likewise. - (__vdso_sigtramp_rt32): Likewise. - (_libc_vdso_platform_setup): Likewise. - * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay): - Likewise. - (__vdso_clock_gettime): Likewise. - (__vdso_clock_getres): Likewise. - (_libc_vdso_platform_setup): Likewise. - * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday): - Likewise. - (__vdso_clock_gettime): Likewise. - (_libc_vdso_platform_setup): Likewise. - * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime): - Likewise. - (__vdso_getcpu): Likewise. - * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday): - Use VDSO_SYMBOL macro to define. - (__vdso_clock_gettime): Likewise. - (__vdso_clock_getres): Likewise. - * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday): - Likewise. - (__vdso_clock_gettime): Likewise. - (__vdso_clock_getres): Likewise. - (__vdso_get_tbfreq): Likewise. - (__vdso_getcpu): Likewise. - (__vdso_time): Likewise. - (__vdso_sigtramp_rt64): Likewise. - (__vdso_signtramp32): Likewise. - (__vdso_sigtramp_rt32): Likewise. - * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday): - Likewise. - (__vdso_clock_gettime): Likewise. - (__vdso_clock_getres): Likewise. - * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday): - Likewise. - (__vdso_clock_gettime): Likewise. - * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime): - Likewise. - * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove - macro. - (INTERNAL_VSYSCALL): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL): - Remove macro. - (INTERNAL_VSYSCALL): Likewise. - (INTERNAL_VSYSCALL_NCS): Likewise. - (INTERNAL_VSYSCALL_CALL): New macro. - (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL): - Likewise. - (INTERNAL_VSYSCALL): Likewise. - (INTERNAL_VSYSCALL_NCS): Likewise. - (INTERNAL_VSYSCALL_CALL): New macro. - (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h - (INLINE_VSYSCALL): Remove macro. - (INTERNAL_VSYSCALL): Remove macro. - (INTERNAL_VSYSCALL_NCS): Remove macro. - (INTERNAL_VSYSCALL_CALL): New macro. - (INTERNAL_VSYSCALL_CALL_TYPE): New macro. - (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL. - (INTERNAL_VSYSCALL_NCS_TYPE): Likewise. - (HAVE_CLOCK_GETRES_VSYSCALL): New define. - (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h - (INLINE_VSYSCALL): Remove macro. - (INTERNAL_VSYSCALL): Likewise. - (INTERNAL_VSYSCALL_NCS): Likewise. - (INTERNAL_VSYSCALL_CALL): New macro. - (INTERNAL_VSYSCALL_CALL_TYPE): Likewise. - (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and - PTR_DEMANGLE on vDSO pointer. - (INTERNAL_VSYSCALL_NCS_TYPE): Likewise. - * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove - macro. - (INTERNAL_SYSCALL): Likewise. - (INTERNAL_VSYSCALL_NCS): Remove macro. - (INTERNAL_VSYSCALL_CALL): New macro. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL): - Remove macro. - (INTERNAL_VSYSCALL): Likewise. - * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include - sysdep-vdso.h instead of libc-vdso.h. - * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove - definition. - (INLINE_VSYSCALL): Likewise. - (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define. - * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove - definition. - (INLINE_VSYSCALL): Likewise. - (INTERNAL_VSYSCALL): Likewise. - (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define. - * sysdeps/unix/sysv/linux/timespec_get.c - (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define. - (timespec_get): Use ANSI prototype. - * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros - and definition for Linux. - -2015-05-25 Andrew Senkevich - - * elf/Makefile (localplt-built-dso): libmvec added to localplt test. - * include/libc-symbols.h: libmvec_hidden_* macro series added. - -2015-05-22 H.J. Lu - - [BZ #2981] - [BZ #18410] - * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error - for missing DT_PLTRELSZ. - -2015-05-22 Paul Eggert - - Remove obsolete aliases that broke 'locale -a' - [BZ #18412] - * intl/locale.alias: Remove obsolete aliases "bokmĂ„l" and "français" - which caused 'locale -a' to output Latin-1 data in UTF-8 locales, - breaking some applications that use 'locale -a' output. - Change the encoding of this file from Latin-1 to ASCII to avoid - other potential problems with people grepping this file. - -2015-05-22 Adhemerval Zanella - - * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and - -fasynchronous-unwind-tables. - (CFLAGS-sendto.c): Likewise. - (CFLAGS-sendmsg.c): Likewise. - (CFLAGS-connect.c): Likewise. - (CFLAGS-recvmsg.c): Likewise. - (CFLAGS-recvfrom.c): Likewise. - * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define. - (SOCKETCALL): New macro: non-cancellable socketcall. - (SOCKETCALL_CANCEL): New macro: cancellable socketcall. - * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove - internal_accept4, internal_recvmmsg, and internal_sendmmsg rules. - * sysdeps/unix/sysv/linux/accept.c: New file. - * sysdeps/unix/sysv/linux/bind.c: Likewise. - * sysdeps/unix/sysv/linux/connect.c: Likewise. - * sysdeps/unix/sysv/linux/getpeername.c: Likewise. - * sysdeps/unix/sysv/linux/getsockname.c: Likewise. - * sysdeps/unix/sysv/linux/getsockopt.c: Likewise. - * sysdeps/unix/sysv/linux/listen.c: Likewise. - * sysdeps/unix/sysv/linux/recv.c: Likewise. - * sysdeps/unix/sysv/linux/recvfrom.c: Likewise. - * sysdeps/unix/sysv/linux/recvmsg.c: Likewise. - * sysdeps/unix/sysv/linux/send.c: Likewise. - * sysdeps/unix/sysv/linux/sendmsg.c: Likewise. - * sysdeps/unix/sysv/linux/sendto.c: Likewise. - * sysdeps/unix/sysv/linux/setsockopt.c: Likewise. - * sysdeps/unix/sysv/linux/shutdown.c: Likewise. - * sysdeps/unix/sysv/linux/socket.c: Likewise. - * sysdeps/unix/sysv/linux/socketpair.c: Likewise. - * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove - prototype. - (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation. - (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro - instead of __internal_xxx function. - * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove - prototype. - (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation. - (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro - instead of __internal_xxx function. - * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove - prototype. - (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation. - (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro - instead of __internal_xxx function. - * sysdeps/unix/sysv/linux/accept.S: Remove file. - * sysdeps/unix/sysv/linux/bind.S: Likewise. - * sysdeps/unix/sysv/linux/connect.S: Likewise. - * sysdeps/unix/sysv/linux/getpeername.S: Likewise. - * sysdeps/unix/sysv/linux/getsockname.S: Likewise. - * sysdeps/unix/sysv/linux/getsockopt.S: Likewise. - * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise. - * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise. - * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise. - * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise. - * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise. - * sysdeps/unix/sysv/linux/i386/socket.S: Likewise. - * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise. - * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise. - * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise. - * sysdeps/unix/sysv/linux/listen.S: Likewise. - * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise. - * sysdeps/unix/sysv/linux/recv.S: Likewise. - * sysdeps/unix/sysv/linux/recvfrom.S: Likewise. - * sysdeps/unix/sysv/linux/recvmsg.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise. - * sysdeps/unix/sysv/linux/send.S: Likewise. - * sysdeps/unix/sysv/linux/sendmsg.S: Likewise. - * sysdeps/unix/sysv/linux/sendto.S: Likewise. - * sysdeps/unix/sysv/linux/setsockopt.S: Likewise. - * sysdeps/unix/sysv/linux/sh/socket.S: Likewise. - * sysdeps/unix/sysv/linux/shutdown.S: Likewise. - * sysdeps/unix/sysv/linux/socketpair.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise. - * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise. - * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how - socketcall is implemented in GLIBC. - -2015-05-22 Joseph Myers - - * soft-fp/fmadf4.c: Include . - (__fma): Ignore uninitialized warnings around packing. - * soft-fp/fmasf4.c: Include . - (__fmaf): Ignore uninitialized warnings around packing. - * soft-fp/fmatf4.c: Include . - (__fmal): Ignore uninitialized warnings around packing. - - * sysdeps/ieee754/ldbl-128/k_tanl.c: Include . - (__kernel_tanl): Ignore uninitialized warnings around use of SIGN. - * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include . - (__kernel_tanl): Ignore uninitialized warnings around use of SIGN. - - * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in - switch statement into default case. - * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise. - - * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use - a conditional in forcing "inexact". - * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): - Likewise. - -2015-05-22 Roland McGrath - - * nptl/nptl-init.c (__pthread_initialize_minimal_internal): - Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope - for each INTERNAL_SYSCALL use. - -2015-05-22 Joseph Myers - - [BZ #438] - * posix/unistd.h (_POSIX2_C_VERSION): New macro. - * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove - variable. - - [BZ #18444] - * string/basename.c (basename): Rename to __basename and define as - weak alias of __basename. Use libc_hidden_weak. - * include/string.h (__basename): Declare. Use libc_hidden_proto. - * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call - __basename instead of basename. - * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace): - Remove variable. - (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise. - -2015-05-18 Florian Weimer - - * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS) - (_IO_JUMPS_FILE_plus): New. - (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use - _IO_CAST_FIELD_ACCESS. - * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap, - mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus. - * libio/freopen.c (freopen): Likewise. - * libio/freopen64.c (freopen64): Likewise. - * libio/iofopen.c (__fopen_maybe_mmap): Likewise. - * libio/iofopncook.c (_IO_old_fopencookie): Likewise. - * libio/iofwide.c (_IO_fwide): Likewise. - * libio/memstream.c (open_memstream): Likewise. - * libio/oldiofdopen.c (_IO_old_fdopen): Likewise. - * libio/oldiofopen.c (_IO_old_fopen): Likewise. - * libio/oldiopopen.c (_IO_old_popen): Likewise. - -2015-05-21 Joseph Myers - - * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include . - (__ieee754_lgamma_r): Ignore uninitialized warnings around use of - NADJ. - * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include . - (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of - NADJ. - * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include . - (__ieee754_lgammal_r): Ignore uninitialized warnings around use of - NADJ. - - * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on - (p == 4) case. - - * conform/linknamespace.pl (@whitelist): Add re_syntax_options. - * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace): - Remove variable. - (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise. - (test-xfail-POSIX2008/regex.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise. - -2015-05-21 Florian Weimer - - * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF): - Adjust jump table label generation macros. - -2015-05-21 Florian Weimer - - * stdio-common/vfprintf.c (vfprintf): Move local variables - args_malloced, specs, specs_malloced, and the code after - do_positional to the printf_positional function. - (printf_positional): New function. - -2015-05-21 Florian Weimer - - * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf - function. - (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE, - STEP4_TABLE, process_arg): Move macro definitions - out of the vfprintf function. (Cosmetic change only.) - -2015-05-21 Carlos O'Donell - - * benchtests/Makefile (stdio-common-bench): Define. - (benchset): Add stdio-common-bench. - * sprintf-inputs: New file. - * sprintf-source.c: New file. - -2015-05-21 Andreas Schwab - - [BZ #13028] - [BZ #17053] - * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member - of struct __res_state. - * resolv/res_send.c (__libc_res_nsend): Likewise. - (get_nsaddr): New function. - (res_ourserver_p, send_vc, reopen): Use it instead of accessing - statp directly. - -2015-05-20 Joseph Myers - - * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use - -D_POSIX_C_SOURCE=199506L. - - * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require. - - * conform/data/unistd.h-data (_POSIX_VERSION): Require. - (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98]. - Do not mention otherwise. - [POSIX] (_XOPEN_VERSION): Do not expect. - [POSIX] (_XOPEN_XCU_VERSION): Likewise. - [POSIX] (_POSIX2_C_BIND): Likewise. - [POSIX] (_POSIX2_VERSION): Likewise. - [POSIX] (_XOPEN_XPG2): Likewise. - [POSIX] (_XOPEN_XPG3): Likewise. - [POSIX] (_XOPEN_XPG4): Likewise. - [POSIX] (_XOPEN_UNIX): Likewise. - [POSIX] (_POSIX_ADVISORY_INFO): Likewise. - [POSIX] (_POSIX_BARRIERS): Likewise. - [POSIX] (_POSIX_CLOCK_SELECTION): Likewise. - [POSIX] (_POSIX_CPUTIME): Likewise. - [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise. - [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise. - [POSIX] (_POSIX_SHELL): Likewise. - [POSIX] (_POSIX_SPAWN): Likewise. - [POSIX] (_POSIX_SPIN_LOCKS): Likewise. - [POSIX] (_POSIX_SPORADIC_SERVER): Likewise. - [POSIX] (_POSIX_THREAD_CPUTIME): Likewise. - [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise. - [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise. - [POSIX] (_XBS5_ILP32_OFF32): Likewise. - [POSIX] (_XBS5_ILP32_OFBIG): Likewise. - [POSIX] (_XBS5_LP64_OFF64): Likewise. - [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise. - [POSIX] (_POSIX_TIMEOUTS): Likewise. - [POSIX] (_POSIX2_PBS): Likewise. - [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise. - [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise. - [POSIX] (_POSIX2_PBS_LOCATE): Likewise. - [POSIX] (_POSIX2_PBS_MESSAGE): Likewise. - [POSIX] (_POSIX2_PBS_TRACK): Likewise. - [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise. - [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise. - [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise. - [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise. - [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise. - [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise. - [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise. - [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise. - [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise. - [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise. - [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise. - [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise. - [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise. - [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise. - [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise. - [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise. - [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise. - [POSIX] (_SC_2_C_BIND): Likewise. - [POSIX] (_SC_2_C_VERSION): Likewise. - [POSIX] (_SC_2_PBS): Likewise. - [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise. - [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise. - [POSIX] (_SC_2_PBS_LOCATE): Likewise. - [POSIX] (_SC_2_PBS_MESSAGE): Likewise. - [POSIX] (_SC_2_PBS_TRACK): Likewise. - [POSIX] (_SC_ATEXIT_MAX): Likewise. - [POSIX] (_SC_BARRIERS): Likewise. - [POSIX] (_SC_BASE): Likewise. - [POSIX] (_SC_CLOCK_SELECTION): Likewise. - [POSIX] (_SC_DEVICE_IO): Likewise. - [POSIX] (_SC_DEVICE_SPECIFIC): Likewise. - [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise. - [POSIX] (_SC_FD_MGMT): Likewise. - [POSIX] (_SC_FIFO): Likewise. - [POSIX] (_SC_FILE_ATTRIBUTES): Likewise. - [POSIX] (_SC_FILE_LOCKING): Likewise. - [POSIX] (_SC_FILE_SYSTEM): Likewise. - [POSIX] (_SC_IOV_MAX): Likewise. - [POSIX] (_SC_MONOTONIC_CLOCK): Likewise. - [POSIX] (_SC_NETWORKING): Likewise. - [POSIX] (_SC_PAGE_SIZE): Likewise. - [POSIX] (_SC_PASS_MAX): Likewise. - [POSIX] (_SC_PIPE): Likewise. - [POSIX] (_SC_READER_WRITER_LOCKS): Likewise. - [POSIX] (_SC_REGEXP): Likewise. - [POSIX] (_SC_SHELL): Likewise. - [POSIX] (_SC_SIGNALS): Likewise. - [POSIX] (_SC_SINGLE_PROCESS): Likewise. - [POSIX] (_SC_SPIN_LOCKS): Likewise. - [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise. - [POSIX] (_SC_USER_GROUPS): Likewise. - [POSIX] (_SC_USER_GROUPS_R): Likewise. - [POSIX] (_SC_STREAMS): Likewise. - [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise. - [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise. - [POSIX] (_SC_XBS5_LP64_OFF64): Likewise. - [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise. - [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise. - [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise. - [POSIX] (_PC_FILESIZEBITS): Likewise. - [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise. - [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise. - [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise. - [POSIX] (_PC_REC_XFER_ALIGN): Likewise. - [POSIX] (uid_t): Likewise. - [POSIX] (gid_t): Likewise. - [POSIX] (off_t): Likewise. - [POSIX] (pid_t): Likewise. - [POSIX] (cuserid): Allow. - (_SC_2_CHAR_TERM): Require constant. - (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant. - * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New - variable. - -2015-05-20 Roland McGrath - - * sysdeps/nacl/pthread-pids.h: New file. - * sysdeps/nacl/createthread.c: Include . - (create_thread): Use __nacl_get_tid to initialize PD->tid. - - * nptl/pthread-pids.h: New file. - * sysdeps/unix/sysv/linux/pthread-pids.h: New file. - * nptl/nptl-init.c: Include . - (__pthread_initialize_minimal_internal): - Call __pthread_initialize_pids instead of set_tid_address syscall. - - * sysdeps/unix/sysv/linux/usleep.c: Moved to ... - * sysdeps/posix/usleep.c: ... here. - -2015-05-20 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove - call_pselect6 object. - [$(subdir) = io]: Remove call_sync_file_range object. - * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file. - * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file. - * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file. - * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file. - -2015-05-20 Wilco Dijkstra - - * math/s_cproj.c: Add include "math_private.h". - * math/s_cprojf.c: Likewise. - * math/s_cprojl.c: Likewise. - -2015-05-19 Joseph Myers - - [BZ #18244] - * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit - high mantissa bit when testing whether P is a NaN. - * math/libm-test.inc (remainder_test_data): Add more tests. - (remquo_test_data): Likewise. - - [BZ #18049] - * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents - below -32, return the argument, with underflow if subnormal. - * math/auto-libm-test-in: Add more tests of atanh. - * math/auto-libm-test-out: Regenerated. - -2015-05-19 Roland McGrath - - [BZ #18434] - * nptl/tst-sem15.c: New file. - * nptl/Makefile (tests): Add it. - * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]: - s/<>/ to fix typo in EOVERFLOW check. - * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise. - -2015-05-19 Siddhesh Poyarekar - - * manual/strings.texi (envz_remove): Fix typo in safety - annotations. - -2015-05-19 Paul Eggert - Steve Ellcey - - * inet/rcmd.c (rresvport_af): Change ss to anonymous union - in order to avoid strict alias warnings. - (iruserok_af): Ditto for ra. - -2015-05-19 James Lemke - - [BZ #17581] - * malloc/hooks.c - (magicbyte): Convert to a function and avoid returning 0x01. - (mem2mem_check): Avoid using a length byte equal to the magic byte. - (mem2chunk_check): Fix unsigned comparisons to zero. - Hoist defs of sz and magic. - -2015-05-19 Richard Henderson - - * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R. - - * sysdeps/alpha/fpu/libm-test-ulps: Update. - -2015-05-19 Siddhesh Poyarekar - - [BZ #16159] - * malloc/Makefile (tests): New test case tst-malloc-backtrace. - * malloc/arena.c (arena_lock): Check if arena is corrupt. - (reused_arena): Find a non-corrupt arena. - (heap_trim): Pass arena to unlink. - * malloc/hooks.c (malloc_check_get_size): Pass arena to - malloc_printerr. - (top_check): Likewise. - (free_check): Likewise. - (realloc_check): Likewise. - * malloc/malloc.c (malloc_printerr): Add arena argument. - (unlink): Likewise. - (munmap_chunk): Adjust. - (ARENA_CORRUPTION_BIT): New macro. - (arena_is_corrupt): Likewise. - (set_arena_corrupt): Likewise. - (sysmalloc): Use mmap if there are no usable arenas. - (_int_malloc): Likewise. - (__libc_malloc): Don't fail if arena_get returns NULL. - (_mid_memalign): Likewise. - (__libc_calloc): Likewise. - (__libc_realloc): Adjust for additional argument to - malloc_printerr. - (_int_free): Likewise. - (malloc_consolidate): Likewise. - (_int_realloc): Likewise. - (_int_memalign): Don't touch corrupt arenas. - * malloc/tst-malloc-backtrace.c: New test case. - - * Makefile (summarize-tests): Fix return value on success. - - * manual/string.texi (Envz Functions): Add envz_remove. - -2015-05-18 Roland McGrath - - * sysdeps/posix/opendir.c: Include . - (invalid_name): New function, broken out of ... - (__opendirat): ... here. Call it. - (need_isdir_precheck): New function, broken out of ... - (__opendirat): ... here. Call it. - Use __fxstatat64, not __xstatat64. - (opendir_oflags): New function, broken out of ... - (__opendirat): ... here. Call it. - (opendir_tail): New function, broken out of ... - (__opendirat): ... here. Call it. - (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and - opendir_tail, rather than punting to __opendirat. - (__opendirat): Conditionalize function definition on [IS_IN (libc)]. - -2015-05-18 Siddhesh Poyarekar - - * .gitignore: Ignore generated *.pyc. - -2015-05-18 Arjun Shankar - - * include/stdio.h: Define __need_wint_t. - * test-skeleton.c: Avoid `for' loop initial declaration. - * nptl/tst-initializers1.c: Use test-skeleton.c. - -2015-05-17 Adhemerval Zanella - - [BZ #18418] - * stdlib/tst-setcontext3.sh: Remove non-portable array use. - -2015-05-15 Joseph Myers - - [BZ #16352] - * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object. - (__ieee754_atanh): Force underflow exception for results with - small absolute value. - * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object. - (__ieee754_atanhf): Force underflow exception for results with - small absolute value. - * sysdeps/ieee754/dbl-64/e_atanh.c: Include . - (__ieee754_atanh): Force underflow exception for results with - small absolute value. - * sysdeps/ieee754/flt-32/e_atanhf.c: Include . - (__ieee754_atanhf): Force underflow exception for results with - small absolute value. - * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include . - (__ieee754_atanhl): Force underflow exception for results with - small absolute value. - * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include . - (__ieee754_atanhl): Force underflow exception for results with - small absolute value. - * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include . - (__ieee754_atanhl): Force underflow exception for results with - small absolute value. - * math/auto-libm-test-in: Do not allow missing underflow - exceptions from atanh. - * math/auto-libm-test-out: Regenerated. - - [BZ #18221] - * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not - 2**-28 as threshold for returning x or +/- 1/x. - * math/auto-libm-test-in: Add more tests of tan. - * math/auto-libm-test-out: Regenerated. - - [BZ #18220] - * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use - 2**26 not 2**58 as threshold for returning x * (log (x) - 1). - * math/auto-libm-test-in: Add another test of lgamma. - * math/auto-libm-test-out: Regenerated. - -2015-05-15 Wilco Dijkstra - - * stdio-common/printf_fp.c (___printf_fp): Use abs. - * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove. - * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs. - * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs. - (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs. - (ADD2A): Use fabs. (SUB2A): Use fabs. - * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs. - * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs. - * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs. - (log1): Use fabs. (my_log2): Use fabs. - * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs. - * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define. - * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs. - * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define. - * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs. - (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs. - (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs. - (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs. - (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs. - * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs. - * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include. - -2015-05-15 Joseph Myers - - [BZ #18217] - * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56 - as threshold for returning 1 - x. - * math/auto-libm-test-in: Add more tests of erfc. - * math/auto-libm-test-out: Regenerated. - -2015-05-14 Joseph Myers - - [BZ #18196] - * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as - threshold for large arguments. - * math/auto-libm-test-in: Add another test of atan. - * math/auto-libm-test-out: Regenerated. - - [BZ #16339] - * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object. - (__log1p): Force underflow exception for results with small - absolute value. - * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object. - (__log1pf): Force underflow exception for results with small - absolute value. - * sysdeps/ieee754/dbl-64/s_log1p.c: Include . - (__log1p): Force underflow exception for results with small - absolute value. - * sysdeps/ieee754/flt-32/s_log1pf.c: Include . - (__log1pf): Force underflow exception for results with small - absolute value. - * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include . - (__log1pl): Force underflow exception for results with small - absolute value. - * math/auto-libm-test-in: Do not allow missing underflow - exceptions from log1p. - * math/auto-libm-test-out: Regenerated. - -2015-05-14 Jakub Bogusz - Adhemerval Zanella - - [BZ #16704] - * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage. - -2015-05-14 Andrew Senkevich - - * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder. - (libmvec): New variable. - * configure.ac: Added option for mathvec build. - * configure: Regenerated. - * mathvec/Depend: New file. - * mathvec/Makefile: New file. - * shlib-versions: Added libmvec. - * math/Makefile: Added rule for libm.so installation. - - * bits/math-vector.h: New file. - * bits/libm-simd-decl-stubs.h: New header. - * math/Makefile (headers): Added new header - libm-simd-decl-stubs.h. - * math/math.h (__MATHCALL_VEC): New macro. - - * math/gen-libm-have-vector-test.sh: Script generates series of macros - for conditions in testing functions. - * math/Makefile: Added call of libm-have-vector-test.sh. - * math/libm-test.inc (HAVE_VECTOR): New macros. - - * math/libm-test.inc: START refactored. - * math/test-double.c (TEST_MATHVEC): Add define. - * math/test-float.c: Likewise. - * math/test-idouble.c: Likewise. - * math/test-ifloat.c: Likewise. - * math/test-ildoubl.c: Likewise. - * math/test-ldouble.c: Likewise. - * sysdeps/generic/math-tests-arch.h - (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime - architecture check. - - * math/test-double.c (FUNC_TEST): New macro. - * math/test-float.c: Likewise. - * math/test-idouble.c: Likewise. - * math/test-ifloat.c: Likewise. - * math/test-ildoubl.c: Likewise. - * math/test-ldouble.c: Likewise. - * math/libm-test.inc: Use FUNC_TEST for name of tested functions. - -2015-05-13 Roland McGrath - - * sysdeps/nacl/fdopendir.c: New file. - - * dirent/scandir-tail.c: New file. - * dirent/scandir64-tail.c: New file. - * dirent/Makefile (routines): Add them. - (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables. - * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them. - * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed. - [!SCANDIR] (SCANDIR_TAIL): New macro. - (SCANDIR): Call __opendir and __scandir_tail, not __scandirat. - * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64] - (SCANDIRAT): Macro removed. - (SCANDIR_TAIL): New macro. - * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed. - [!SCANDIRAT] (SCANDIR_TAIL): New macro. - (SCANDIRAT): Just call __opendirat and __scandir_tail. - * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64] - (READDIR): Macro removed. - (SCANDIR_TAIL): New macro. - * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed. - (SCANDIR_TAIL): New macro. - - * dirent/scandirat.c (__scandir_cancel_handler): Function moved ... - * dirent/scandir-cancel.c: ... to this new file. - * dirent/Makefile (routines): Add it. - * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed. - * sysdeps/unix/sysv/linux/i386/scandir64.c - (SKIP_SCANDIR_CANCEL): Macro removed. - * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden. - - * dirent/tst-scandir.c: New file. - * dirent/tst-scandir64.c: New file. - * dirent/Makefile (tests): Add them. - -2015-05-13 H.J. Lu - - [BZ #18409] - * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'. - -2015-05-13 Szabolcs Nagy - - * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber - list. - -2015-05-13 Leonhard Holz - - * benchtests/bench-strcoll.c: New benchmark. - * benchtests/Makefile: Generate locales and run benchmark. - * benchtests/strcoll-inputs/filelist#C: New benchmark input file. - * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise. - * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise. - * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise. - * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise. - * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise. - * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise. - * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise. - * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise. - * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise. - * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise. - * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise. - * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise. - * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise. - * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise. - * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise. - * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise. - * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise. - * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise. - * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise. - * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise. - * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise. - * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise. - * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise. - -2015-05-12 Ondƙej BĂ­lka - - * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection. - * sysdeps/x86_64/multiarch/strspn.S: Likewise. - -2015-05-12 Roland McGrath - - * posix/uname-values.h: New file. - * posix/uname.c: Include that instead of . - * sysdeps/nacl/uname-values.h: New file. - * sysdeps/arm/nacl/uname-values.h: New file. - -2015-05-12 Joseph Myers - - * conform/linknamespace.pl (list_syms): Remove \[.*?\] before - splitting into fields. - -2015-05-12 Leonhard Holz - - * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE. - * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list. - * locale/localeinfo.h: Add enum collation_encoding_type. - * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit. - * programs/ld-collate.c (collate_output): Add encoding type info. - * string/strcoll_l.c (STRDIFF): New function. - * (STRCOLL): Use STRDIFF to skip over equal prefix. - * wcsmbs/wcscoll_l.c: Define STRDIFF. - -2015-05-11 Joseph Myers - - [BZ #18397] - * sysdeps/mips/mips32/fpu/fpu_control.c: Move to .... - * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include - instead of . - * sysdeps/mips/mips32/fpu/Makefile: New file. - -2015-05-11 Andreas Schwab - - [BZ #18007] - * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call - nss_endgrent. - (_nss_compat_endgrent): Call nss_endgrent. - * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call - nss_endpwent. - (_nss_compat_endpwent): Call nss_endpwent. - * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter - needent, call nss_setspent only if non-zero. - (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero. - (internal_endspent): Don't call nss_endspent. - (_nss_compat_endspent): Call nss_endspent. - * nss/nss_files/files-XXX.c (position, last_use, keep_stream): - Remove. All uses removed. - (internal_setent): Remove parameter stayopen, add parameter - stream. Use it instead of global variable. - (CONCAT(_nss_files_set,ENTNAME)): Pass global stream. - (internal_endent, internal_getent): Add parameter stream. Use it - instead of global variable. - (CONCAT(_nss_files_end,ENTNAME)) - (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream. - (_nss_files_get##name##_r): Pass local stream. Remove locking. - * nss/nss_files/files-alias.c (position, last_use): Remove. All - uses removed. - (internal_setent, internal_endent): Add parameter stream. Use it - instead of global variable. - (_nss_files_setaliasent, _nss_files_endaliasent): Pass global - stream. - (get_next_alias): Add parameter stream. - (_nss_files_getaliasent_r): Pass global stream. - (_nss_files_getaliasbyname_r): Pass local stream. Remove locking. - * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r) - (_nss_files_gethostbyname4_r): Pass local stream to - internal_setent, internal_getent and internal_endent. Remove - locking. - -2015-05-11 Stefan Liebler - - * tst-strfmon1.c (tests): Update expected currency symbol. - -2015-05-08 Roland McGrath - - * sysdeps/nacl/gethostname.c: New file. - -2015-05-08 Joseph Myers - - * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10 - and sinh. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2015-05-08 Carlos O'Donell - - [BZ #18125] - * stdlib/tst-setcontext3.c: New file. - * stdlib/tst-setcontext3.sh: New file. - * stdlib/Makefile (tests): Add tst-setcontext3. - (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh - to verify test program created output file. - * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit. - * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise. - * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise. - * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise. - -2015-05-06 Roland McGrath - - [BZ #18383] - * elf/tst-tlsalign.c: New file. - * elf/tst-tlsalign-static.c: New file. - * elf/tst-tlsalign-lib.c: New file. - * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign. - (tests-static): Add tst-tlsalign-static. - (modules-names): Add tst-tlsalign-lib. - (test-xfail-tst-tlsalign): New variable. - (test-xfail-tst-tlsalign-static): New variable. - - * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER): - Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe. - -2015-05-06 Joseph Myers - - * math/auto-libm-test-in: Add more tests of acosh, atanh, cos, - csqrt, erfc, sin and sincos. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2015-05-06 Szabolcs Nagy - - * sysdeps/aarch64/libm-test-ulps: Update. - -2015-05-05 Joseph Myers - - * math/auto-libm-test-in: Add more tests of acosh, atanh, clog, - clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2015-04-30 Daniel MarjamĂ€ki - - [BZ #18265] - * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute. - (wcsncpy): Likewise. - -2015-05-05 Florian Weimer - - * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): - Assume __ASSUME_FALLOCATE is always true. - * sysdeps/unix/sysv/linux/posix_fallocate64.c - (__posix_fallocate64_l64): Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c - (posix_fallocate): Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c - (__posix_fallocate64_l64): Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c - [!__ASSUME_FALLOCATE]: Add comment. - -2015-05-05 Florian Weimer - - * sysdeps/unix/sysv/linux/i386/Makefile - (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate. - (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall. - * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove. - * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise. - * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise. - * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise. - * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise. - -2015-05-02 Joseph Myers - - * math/auto-libm-test-in: Add more tests of atan, clog, clog10, - cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and - tgamma. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2015-05-01 Joseph Myers - - * math/auto-libm-test-in: Add more tests of tgamma. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - * math/auto-libm-test-in: Add more tests of tanh. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - * math/auto-libm-test-in: Add more tests of tan. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - * math/auto-libm-test-in: Add more tests of cos, sin and sincos. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - * math/auto-libm-test-in: Add another test of pow. - * math/auto-libm-test-out: Regenerated. - * sysdeps/x86_64/fpu/libm-test-ulps: Update. - - * math/auto-libm-test-in: Add more tests of lgamma. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - * math/auto-libm-test-in: Add more tests of log, log10, log2 and - log1p. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2015-05-01 Mark Wielaard - - * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and - Elf64_Chdr structs and ELFCOMPRESS constants. - -2015-05-01 Joseph Myers - - * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and - expm1. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - * math/auto-libm-test-in: Add more tests of erf and erfc. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2015-05-01 Szabolcs Nagy - - * config.h.in (HAVE_AARCH64_BE): Add. - -2015-04-30 Joseph Myers - - * math/auto-libm-test-in: Add more tests of csqrt. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - * math/auto-libm-test-in: Add more tests of cosh and sinh. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file. - -2015-04-29 Roland McGrath - - * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE. - * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t. - - * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess. - (euidaccess, eaccess): Define as weak aliases. - - * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use - __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size, - but __suseconds_t is often 'long int' so some sources assume that - type is being used (e.g. they use %ld to print tv_usec). - -2015-04-29 Florian Weimer - - [BZ #18007] - * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen. - (CVE-2014-8121) - * nss/tst-nss-getpwent.c: New file. - * nss/Makefile (tests): Add new test. - -2015-04-28 Joseph Myers - - [BZ #18346] - * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all - exponents less than 48 as cases where high part of mantissa needs - examining to determine whether argument is integral. - * math/libm-test.inc (round_test_data): Add more tests. - -2015-04-28 Mark Wielaard - - * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift. - -2015-04-27 David S. Miller - - * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove - __tls_get_addr. - * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise. - -2015-04-27 H.J. Lu - - [BZ #18333] - * time/tzset.c (__tzfile_read): Check tzspec_len == 0. - -2015-04-27 Florian Weimer - - [BZ #18333] - * time/tzset.c (parse_tzname): Return error on memory allocation - failure. - * test-skeleton.c (struct temp_name_list): Change type of name - member to non-const. - (add_temp_file): Create a copy of the file name. - (delete_temp_files): Deallocate memory. - (create_temp_file): Add comment. - -2015-04-24 Florian Weimer - - * io/posix_fallocate.c (posix_fallocate): Do not set errno. - * io/posix_fallocate64.c (posix_fallocate64): Likewise. - -2015-04-24 Roland McGrath - - * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it. - * sysdeps/arm/configure: Regenerated. - -2015-04-24 Florian Weimer - - [BZ #17715] - * time/tzfile.c (__tzfile_read): Check for large values of - tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca. - * time/tzset.c (__tzstring_len): New function, based on the old - __tzstring function. - (__tzstring): Call __tzstring_len. - (parse_tzname): New helper function extracted from - __tzset_parse_tz. Call __tzstring_len, without making a copy of - the input string. - (parse_offset): New helper function extracted from - __tzset_parse_tz. Replace switch with fallthrough with - initialization before sscanf. - (parse_rule): Likewise. - (__tzset_parse_tz): Rewrite using the new helper functions. Use - new-style function definition. - * timezone/Makefile (tests): Add tst-tzset. - (tst-tzset.out): Dependencies on time zone files. - (tst-tzset-ENV): Set TZDIR. - (testdata/XT%): Copy crafted time zone files. - * timezone/README: Mention crafted time zone files. - * timezone/testdata/XT1, timezone/testdata/XT2, - timezone/testdata/XT3, timezone/testdata/XT4: New time zone test - files. - * timezone/tst-tzset.c: New test. - -2015-04-24 Florian Weimer - - * Makeconfig (+gccwarn): Remove -Winline. - -2015-04-24 Stefan Liebler - - * sysdeps/s390/fpu/libm-test-upls: Regenerate. - -2015-04-24 Stefan Liebler - - * NEWS: Mention sysconf() cache information support for s390. - * sysdeps/unix/sysv/linux/s390/sysconf.c: New File. - -2015-04-22 Wilco Dijkstra - - * math/k_casinh.c (__kernel_casinh): Use __copysign. - * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c - (__nearbyint): Likewise. - * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c - (copysignl): Likewise. - -2015-04-21 Arjun Shankar - - [BZ #18287] - * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length - based on padding. (CVE-2015-1781) - -2015-04-20 Adhemerval Zanella - - * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just - libc-vdso.h. - * sysdeps/powerpc/powerpc32/backtrace.c: Likewise. - * sysdeps/powerpc/powerpc64/backtrace.c: Likewise. - * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise. - * sysdeps/unix/sysv/linux/clock_getres.c: Likewise. - * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise. - * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise. - * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise. - * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise. - * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise. - * sysdeps/unix/sysv/linux/timespec_get.c: Likewise. - * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ... - * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here. - * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ... - * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here. - * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ... - * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here. - * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ... - * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here. - -2015-04-19 Paul Eggert - - * stdlib/setenv.c (__add_to_environ): - Dump core quickly if setenv (..., NULL, ...) is called. - This time, do it the right way, and pacify GCC with a pragma. - -2015-04-17 Roland McGrath - - * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that - IMAP->l_prev cannot be null, and #if out the code for the contrary - case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler - believe that NS (&_dl_ns[NSID]) could point outside the array. - - * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace - check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1, - before using NSID as an index. - -2015-04-17 Il'ya Malakhov - - [BZ #17825] - * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length. - * sysdeps/sparc/sparc64/memcmp.S: Likewise. - * sysdeps/sparc/sparc64/strncmp.S: Likewise. - -2015-04-17 Roland McGrath - - Add preliminary port to Google Native Client on ARM. - * abi-tags (.*-.*-nacl.*): New entry. - * sysdeps/arm/nacl: New directory. - * sysdeps/nacl: New directory. - -2015-04-16 David S. Miller - - * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of - lowlevellock-futex.h - -2015-04-16 Chris Metcalf - - * sysdeps/tile/configure.ac: New file. - * sysdeps/tile/configure: Regenerated. - -2015-04-15 Adhemerval Zanella - - * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove - conditionals for weak_alias and libc_hidden_weak. - * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine - libc_hidden_weak and weak_alias. - * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]: - Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds - and weak_alias for static one. - -2015-04-15 David S. Miller - - * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch. - -2015-04-13 Stefan Liebler - - [BZ #18206] - * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t. - Use signed comparision instead of substraction to avoid - overflow bug. - * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp): - Take the sign of ret. - * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc): - Do not expect precise return values. Only the sign matters. - * wcsmbs/Makefile (strop-tests): Add wcsncmp. - * wcsmbs/test-wcsncmp.c: New File. - * string/test-strncmp.c: Add wcsncmp support. - -2015-04-13 Stefan Liebler - - [BZ #6792] - * math/w_log1p.c: New file. - * math/w_log1pf.c: Likewise. - * math/w_log1pl.c: Likewise. - * math/Makefile (libm-calls): Add w_log1p. - * math/s_log1pl.c (log1pl): Remove weak_alias. - * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise. - * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise. - * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise. - * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise. - * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise. - [NO_LONG_DOUBLE] (log1pl): Likewise. - * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise. - * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise. - * sysdeps/ieee754/ldbl-64-128/s_log1pl.c - (log1p): Remove long_double_symbol. - * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise. - * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise. - * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to - remove weak_alias for corresponding log1p function. - * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise. - * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise. - * sysdeps/ia64/fpu/w_log1p.c: New file. - * sysdeps/ia64/fpu/w_log1pf.c: Likewise. - * sysdeps/ia64/fpu/w_log1pl.c: Likewise. - * math/libm-test.inc (log1p_test_data): Add errno expectations. - -2015-04-10 Joseph Myers - - [BZ #18247] - * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum - decimal exponent by 1. - * stdlib/tst-strtod-round-data: Add more tests. - * stdlib/tst-strtod-round.c (tests): Regenerated. - -2015-04-09 Joseph Myers - - * math/auto-libm-test-in: Add more tests of clog and clog10. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2015-04-09 Roland McGrath - - * Makeconfig (module-cppflags): Exclude all .v.i files. - (skip-module-cppflags): Variable removed. - - * configure.ac (libc_config_ok): Initialize before reading - preconfigure scripts, not after. - * configure: Regenerated. - - * test-skeleton.c (TIMEOUT): Move #define to top level. - (main): Grok environment variable TEST_DIRECT. If set, print - test expectation details into that file and then behave as if - given --direct. - -2015-04-09 Florian Weimer - - * malloc/tst-scratch_buffer.c (do_test): Suppress truncation - warning on 32-bit. - -2015-04-08 David S. Miller - - * sysdeps/sparc/fpu/libm-test-ulps: Update. - -2015-04-08 Joseph Myers - - * math/auto-libm-test-in: Add more tests of atanh. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - * math/auto-libm-test-in: Add more tests of atan. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2015-04-08 Florian Weimer - - * elf/pldd.c (main): Rewrite to use struct - scratch_buffer instead of extend_alloca. - * elf/pldd-xx.c (find_maps): Likewise. - * grp/initgroups.c: Include instead of - . - * grp/compat-initgroups.c (compat_call): Rewrite to use struct - scratch_buffer instead of extend_alloca. - * nscd/initgrcache.c: Include , now needed by - grp/compat-initgroups.c. - * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn): - Rewrite to use struct scratch_buffer instead of extend_alloca. - * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise. - * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. - -2015-04-08 Joseph Myers - - * math/auto-libm-test-in: Add more tests of cbrt. - * math/auto-libm-test-out: Regenerated. - * sysdeps/x86_64/fpu/libm-test-ulps: Update. - - * math/auto-libm-test-in: Add more tests of cabs. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - [BZ #18210] - [BZ #18211] - * sysdeps/ieee754/dbl-64/e_atan2.c: Include . - (__ieee754_atan2): Set FE_TONEAREST mode for internal - computations. - * math/auto-libm-test-in: Add more tests of atan2, carg, clog and - clog10. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - [BZ #18197] - * sysdeps/ieee754/dbl-64/s_atan.c: Include . - (atan): Set FE_TONEAREST mode for internal computations. - * math/auto-libm-test-in: Add more tests of atan. - * math/auto-libm-test-out: Regenerated. - -2015-04-07 James Cowgill - - [BZ #17930] - * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define. - -2015-04-07 Florian Weimer - - * malloc/scratch_buffer_grow_preserve.c: Include - -2015-04-07 Florian Weimer - - * include/scratch_buffer.h: New file. - * malloc/scratch_buffer_grow.c: Likewise. - * malloc/scratch_buffer_grow_preserve.c: Likewise. - * malloc/scratch_buffer_set_array_size.c: Likewise. - * malloc/tst-scratch_buffer.c: Likewise. - * malloc/Makefile (routines): Add scratch_buffer_grow. - (tests): Add test case. - * malloc/Versions (GLIBC_PRIVATE): Export - __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve, - __libc_scratch_buffer_set_array_size. - -2015-04-06 Richard Henderson - - * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h. - * sysdeps/alpha/fpu/libm-test-ulps: Update. - - * math/test-fenvinline.c (feenable_test): Cast fe_exc to - unsigned int before printing. - -2015-04-03 Rajalakshmi Srinivasaraghavan - - [BZ #17596] - * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0. - * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise. - -2015-04-02 Florian Weimer - - * include/libc-internal.h (libc_max_align_t): Define. - -2015-04-02 Andreas Schwab - - [BZ #16850] - * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file. - -2015-04-02 Mel Gorman - - [BZ #17195] - * malloc/arena.c (free): Apply trim threshold to per-thread heaps - as well as the main arena. - -2015-03-31 H.J. Lu - - [BZ #18185] - * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads - sharing L2 cache to 2 for Silvermont/Knights Landing. - -2015-03-31 H.J. Lu - - [BZ #17711] - * config.make.in (have-protected-data): New. - * configure.ac: Check linker support for protected data symbol. - * configure: Regenerated. - * elf/Makefile (modules-names): Add tst-protected1moda and - tst-protected1modb if $(have-protected-data) is yes. - (tests): Add tst-protected1a and tst-protected1b if - $(have-protected-data) is yes. - ($(objpfx)tst-protected1a): New. - ($(objpfx)tst-protected1b): Likewise. - (tst-protected1modb.so-no-z-defs): Likewise. - * elf/tst-protected1a.c: New file. - * elf/tst-protected1b.c: Likewise. - * elf/tst-protected1mod.h: Likewise. - * elf/tst-protected1moda.c: Likewise. - * elf/tst-protected1modb.c: Likewise. - -2015-03-31 H.J. Lu - - [BZ #17711] - * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which - indicates it is called from do_lookup_x on relocation against - protected data, skip the data definion in the executable from - copy reloc. - (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA, - instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for - EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol. - * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA): - New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined, - otherwise to 0. - * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New. - * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class - to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT. - * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New. - * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class - to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT. - -2015-03-28 Martin Galvan - - * sysdeps/nptl/pthread.h: Remove duplicate definition of - PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP. - -2015-03-27 Martin Galvan - - * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and - THREAD_SETMEM_NC. - * sysdeps/x86_64/nptl/tls.h: Ditto. - -2015-03-27 Roland McGrath - - * dlfcn/tststatic.c (main): Converted to ... - (do_test): ... this. - (TEST_FUNCTION): New macro. - Include test-skeleton.c. - -2015-03-26 Alan Modra - - * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt): - Don't segfault if ifunc resolver returns a NULL. Do set plt to - zero for undefined weak. - (elf_machine_plt_conflict): Similarly. - -2015-03-25 Joseph Myers - - * math/auto-libm-test-in: Add more tests of acosh, asinh and - atanh. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - * math/auto-libm-test-in: Add another test of asin. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD): - Remove macro. - (LLL_EBX_REG): Likewise. - (LLL_ENTER_KERNEL): Likewise. - - * math/auto-libm-test-in: Add more tests of asin. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - [BZ #18138] - * sysdeps/unix/sysv/linux/i386/sysdep.h (struct - libc_do_syscall_args): New structure. - (INTERNAL_SYSCALL_MAIN_0): New macro. - (INTERNAL_SYSCALL_MAIN_1): Likewise. - (INTERNAL_SYSCALL_MAIN_2): Likewise. - (INTERNAL_SYSCALL_MAIN_3): Likewise. - (INTERNAL_SYSCALL_MAIN_4): Likewise. - (INTERNAL_SYSCALL_MAIN_5): Likewise. - (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall. - (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr. - Replace conditional definitions by conditional definitions of .... - (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro. - * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file. - * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl] - (libpthread-sysdep_routines): Add libc-do-syscall. - * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file. - * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define - to __NR_futex not 240. - -2015-03-25 Alan Modra - - * NEWS: Advertise TLS optimization. - * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define. - (DT_PPC_NUM): Increment. - * elf/dynamic-link.h (HAVE_STATIC_TLS): Define. - (CHECK_STATIC_TLS): Use here. - * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize - TLS descriptors. - * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise. - * sysdeps/powerpc/dl-tls.c: New file. - * sysdeps/powerpc/Versions: Add __tls_get_addr_opt. - * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test. - * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test. - Build tst-tlsmod2.so with --no-tls-get-addr-optimize. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise. - -2015-03-25 Alan Modra - - * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support - for overlapping .opd entries" to "support...". - * sysdeps/powerpc/powerpc64/configure: Regenerate - -2015-03-25 Joseph Myers - - * math/auto-libm-test-in: Add more tests of acos. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - * math/auto-libm-test-in: Add more tests of expm1. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2015-03-24 Joseph Myers - - * math/auto-libm-test-in: Add more tests of cosh and sinh. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - * sysdeps/i386/fpu/libm-test-ulps: Regenerated. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - * math/auto-libm-test-in: Add more tests of log2. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2015-03-23 Roland McGrath - - * libio/iofdopen.c: Move FD_FLAGS declaration into its first use, - inside [F_GETFL]. Remove POSIX_MODE local variable, just test the - _IO_IS_APPENDING bit in READ_WRITE instead. - -2015-03-23 Florian Weimer - - * sysdeps/unix/sysv/linux/pthread_setaffinity.c - (__determine_cpumask_size): Replace extend_alloca with a - variable-length array. Do not treat res == 0 as an error. - -2015-03-23 Florian Weimer - - [BZ #18100] - * posix/wordexp.c (eval_expr_multdiv): Check for division by zero - and integer overflow. - * posix/wordexp-test.c (test_case): Add divide-by-zero test. - (main): Add integer overflow tests. - * manual/pattern.texi (Calling Wordexp): Document additional use - for WRDE_SYNTAX. - -2015-03-23 Alan Modra - - * config.h.in: Remove HAVE_ASM_PPC_REL16. - * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16 - and false branch of conditional. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: - Likewise. - -2015-03-21 Samuel Thibault - - * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on - libc-modules.h - * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove - unused declaration of _hurd_intr_rpc_msg_in_trap. - * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is - defined instead of whether it is non-zero. - * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m" - input constraint instead of both input and output constraint. Use ecx - clobber instead of %ecx. - * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock, - mutex_unlock): Use a statement expression instead of an expression list. - * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set - type to vm_size_t instead of vm_address_t. - * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is - defined instead of whether it is non-zero. - * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration. - * sysdeps/mach/hurd/setsid.c: Include . - * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for - comparisons with mapaddr. - * nscd/nscd-client.h: Include . - * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy - 9th parameter to __vm_region instead of int. - * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define. - * scripts/check-local-headers.sh (exclude): Add device/, - hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs, - cthreads.h. - -2015-03-19 Roland McGrath - - * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations - to account for alignment padding. - * sysdeps/arm/memmove.S: Likewise. - -2015-03-19 Chris Metcalf - - * sysdeps/unix/sysv/linux/generic/README: New file. - -2015-03-18 Joseph Myers - - [BZ #18138] - * nptl/sem_waitcommon.c: Include . - (futex_abstimed_wait) - [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]: - Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead - of lll_futex_timed_wait. - -2015-03-18 Brad Hubbard - - [BZ #17542] - * sunrpc/svc.c (xprt_register): Use calloc to allocate xports. - -2015-03-17 Alexandre Oliva - - [BZ #17090] - [BZ #17620] - [BZ #17621] - [BZ #17628] - * NEWS: Update. - * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV - entries with Static TLS too. Skip entries past the end of the - allocated DTV, from Alan Modra. - (tls_get_addr_tail): Update to glibc_likely/unlikely. Move - Static TLS DTV entry set up from... - (_dl_allocate_tls_init): ... here (fix modid assertion), ... - * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here... - * nptl/allocatestack.c (init_one_static_tls): ... and here... - * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound - for Static TLS. - * elf/tlsdeschtab.h (map_generation): Return size_t. Check - that the slot we find is associated with the given map before - using its generation count. - * nptl_db/db_info.c: Include ldsodefs.h. - (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs. - * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro. - (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise. - (link_map::l_tls_offset): New struct field. - (dtv_t::counter): Likewise. - (rtld_global): New struct. - (_rtld_global): New rtld variable. - (dl_tls_dtv_slotinfo_list): New rtld global field. - (dtv_slotinfo_list): New struct. - (dtv_slotinfo): Likewise. - * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include. - (td_lookup): Rename to... - (td_mod_lookup): ... this. Use new mod parameter instead of - LIBPTHREAD_SO. - * nptl_db/td_thr_tlsbase.c: Include link.h. - (dtv_slotinfo_list, dtv_slotinfo): New functions. - (td_thr_tlsbase): Check DTV generation. Compute Static TLS - addresses even if the DTV is out of date or missing them. - * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to - index zero-length arrays. - * nptl_db/thread_dbP.h: Include gnu/lib-names.h. - (td_lookup): Make it a macro implemented in terms of... - (td_mod_lookup): ... this declaration. - * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override. - (DB_MAIN_VARIABLE): Likewise. - -2015-03-16 H.J. Lu - - [BZ #18134] - * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New. - -2015-03-15 Paul Eggert - - * stdlib/setenv.c (__add_to_environ): Revert previous change. - -2015-03-14 Andreas Schwab - - [BZ #18128] - * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add) - (atomic_add, atomic_increment_and_test) - (atomic_decrement_and_test): Fix 64-bit arithmetic. - -2015-03-13 Paul Eggert - - * stdlib/setenv.c (__add_to_environ): - Dump core quickly if setenv (..., NULL, ...) is called. - -2015-03-13 Roland McGrath - - * sysdeps/arm/tls-macros.h: Include . - (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate - all the necessary asm magic in one place. - (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions - using those. - -2015-03-13 Carlos O'Donell - - [BZ #14906] - * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update - traced file mtime. Use consistent log message. - * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function. - (register_traced_file): Call install_watches. Always set mtime. - (invalidate_cache): Iterate over all trace files. Call install_watches. - (inotify_check_files): Don't inline. Handle watching parent - directories and configuration file movement in and out. - (handle_inotify_events): New function. - (main_loop_poll): Call handle_inotify_events. - (main_loop_epoll): Likewise. - * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX. - (struct traced_file): Use array of inotify fds. Add parent directory, - and basename. - (struct database_dyn): Remove unused file_mtime. - (init_traced_file): New inline function. - (define_traced_file): New macro. - * nss/nss_db/db-init.c: Use define_traced_file. - (_nss_db_init): Use init_traced_file. - * nss/nss_files/files-init.c: Use define_traced_file. - (_nss_files_init): Use init_traced_file. - -2015-03-12 Joseph Myers - - * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro. - [_LIBC]: Do not include . - [!_LIBC] (abort): Remove declaration. - * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use - _FP_STATIC_ASSERT instead of conditionally calling abort. - * soft-fp/op-common.h (_FP_FROM_INT): Likewise. - (_FP_EXTEND_CNAN): Likewise. - (FP_TRUNC): Likewise. - (__FP_CLZ): Likewise. - * sysdeps/powerpc/nofpu/flt-rounds.c: Include . - -2015-03-12 Yaakov Selkowitz - - * manual/string.texi (XPG basename): Fix prototype. - -2015-03-12 Stefan Liebler - - [BZ #18080] - * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S - (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK. - * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S - (__setcontext): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S - (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK. - Call rt_sigprocmask syscall one time to set new signal mask - and retrieve the current signal mask instead of two calls. - * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S - (__swapcontext): Likewise. - * stdlib/Makefile (tests): Add new testcase tst-setcontext2. - * stdlib/tst-setcontext2.c: New file. - -2015-03-12 Stefan Liebler - - * sysdeps/s390/fpu/libm-test-ulps: Regenerate. - -2015-03-11 Aurelien Jarno - - [BZ #18093] - * elf/cache.c (load_aux_cache): Regenerate the cache if it has - the wrong size. - -2015-03-11 Paul Pluzhnikov - - [BZ #18043] - * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1). - -2015-03-11 Adhemerval Zanellla - - * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define. - * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias): - Remove define. - [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise. - [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise. - [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise. - [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise. - [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise. - * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove - define. - * nptl_db/td_symbol_list.c (td_lookup): Remove - HAVE_ASM_GLOBAL_DOT_NAME code. - * sysdeps/powerpc/powerpc64/configure.ac: Remove - HAVE_ASM_GLOBAL_DOT_NAME check. - * sysdeps/powerpc/powerpc64/configure: Regenerate. - * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME] - (DOT_LABEL): Remove define. - [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise. - [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise. - [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise. - * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME] - (__TLS_GET_ADDR): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h - [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise. - -2015-03-11 Carlos O'Donell - - [BZ #18111] - * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define. - (_FPU_SETCW): Initialize cw from fpsr before storing. - * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h - (fesetexceptflag): Rewrite using fpu_control.h. - * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV. - -2015-03-11 John David Anglin - - [BZ #18110] - * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in - asms. - * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise. - -2015-03-11 Joseph Myers - - * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro. - * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of - abort. - (_FP_FMA): Likewise. - (_FP_DIV): Likewise. - -2015-03-10 Roland McGrath - - * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit - with 0 in that case. - * Makefile (summarize-tests): New canned sequence, factored out of - commands for targets tests and xtests. Display summary lines that - don't start with PASS: or XFAIL: rather than ones that do start with - ERROR: or FAIL:. Make the commands fail if any summary lines fail - to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any - do start with ERROR: or FAIL:. - * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally - (except for [$(build-shared) = yes]). - (tests-unsupported) [$(CXX) empty]: Add bug-atexit3. - (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty]. - ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise. - * nptl/Makefile: Revert 2015-03-04 changes. - [$(CXX) empty] (tests-unsupported): New variable. - * debug/Makefile: Likewise. - - * posix/regcomp.c: Fix comment typos and formatting to harmonize with - gnulib file. Replace __attribute with __attribute__ throughout. - -2015-03-10 Carlos O'Donell - - * sysdeps/hppa/fpu/libm-test-ulps: Update. - -2015-03-10 Joseph Myers - - [BZ #18104] - * math/auto-libm-test-in: Add another test of pow. - * math/auto-libm-test-out: Regenerated. - -2015-03-10 Adhemerval Zanella - - * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add - $(config-cflags-nofma). - -2015-03-10 Joseph Myers - - * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard. - * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise. - * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise. - * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise. - * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise. - * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise. - * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise. - * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise. - * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise. - * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty. - Add comment on closing #endif. - -2015-03-09 Paul Pluzhnikov - - * posix/wordexp.c (CHAR_IN_SET): New macro. - (parse_param): Use it. - -2015-03-09 Adhemerval Zanella - - * sysdeps/powerpc/fpu/libm-test-ulps: update. - -2015-03-09 Paul Pluzhnikov - - [BZ #18043] - * posix/wordexp.c (parse_param): Fix buffer overflow. - * posix/wordexp-test.c (test_case): Add test case. - -2015-03-09 Paul Pluzhnikov - - [BZ #18042] - * posix/wordexp.c (parse_backtick): Fix off-by-one. - * posix/wordexp-test.c (test_case): Add test for BZ #18042. - -2015-03-09 Paul Pluzhnikov - - [BZ #18043] - * posix/wordexp-test.c (test_case): Add test for BZ #18043 - (do_bz18043): Delete. - (at_page_end): New. - (testit): Refactor to have words at the edge of unreadable page. - -2015-03-08 Paul Pluzhnikov - - [BZ #16734] - * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write. - Cleanup read-only streams as well. - (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write. - -2015-03-08 Samuel Thibault - - * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include - - -2015-03-07 Joseph Myers - - * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending - on [__KERNEL__]. - * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT. - * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise. - * soft-fp/op-common.h (_FP_DECL): Likewise. - -2015-03-06 H.J. Lu - - * elf/ifuncdep2.c (global): Replace - __attribute__((visibility("protected"))) with - asm (".protected global"). - * elf/ifuncmod1.c (global): Likewise. - * elf/ifuncmod5.c (global): Likewise. - -2015-03-06 Joseph Myers - - * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include - instead of . - -2015-03-06 Roland McGrath - - * manual/install.texi (Configuring and compiling): - Document test-wrapper-env-only. - * INSTALL: Regenerated. - -2015-03-06 Paul Pluzhnikov - - [BZ #18043] - * posix/wordexp.c (parse_param): Fix buffer overflow. - * posix/wordexp-test.c (do_bz18043): Add test case. - -2015-03-06 Vincent Bernat - - * time/tst-strptime2.c (do_test): Ensure failing tests are - reported correctly. - * time/tst-strptime3.c (do_test): Likewise. - -2015-03-06 Samuel Thibault - - Fix aio_error thread-safety. - * sysdeps/pthread/aio_error.c: New file - * sysdeps/pthread/aio_misc.c: Remove optimistic comment about - synchronization. - -2015-03-06 Florian Weimer - - * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef. - (group_number, vfprintf): Use it. - (JUMP_TABLE_BASE_LABEL): New preprocessor macro. - (JUMP, REF): Use it. - (WORK_BUFFER_SIZE): New enum constant. - (process_arg, vfprintf): Use it. - -2015-03-06 Rical Jasan - - * manual/errno.texi (Error Messages): Complete example function - by adding missing #define. - (program_invocation_name): Add statement indicating GNU - extension and reference which header file declares the variable. - (program_invocation_short_name): Likewise. - -2015-03-06 Mike Frysinger - - * manual/errno.texi (Error Messages): Delete strerror ISO C89 - compatibility note. - -2015-03-05 Roland McGrath - - * Makeconfig (test-wrapper-env-only): New variable. - * Rules (make-test-out): If variable $*-ENV-only is nonempty, - then use that with $(test-wrapper-env-only) rather than using - $(test-wrapper-env) $(run-program-env) $($*-ENV). - -2015-03-05 H.J. Lu - - [BZ #18082] - * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace - ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments. - * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise. - * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise. - * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise. - * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise. - * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise. - * sysdeps/microblaze/dl-machine.h (elf_machine_type_class): - Likewise. - * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise. - * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class): - Likewise. - * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class): - Likewise. - * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class): - Likewise. - * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class): - Likewise. - * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise. - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class): - Likewise. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class): - Likewise. - * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise. - * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise. - -2015-03-04 Roland McGrath - - * sysdeps/generic/netinet/if_ether.h: Don't #include . - (ETH_ALEN): New macro. - (struct ether_addr): Use it for length of ether_addr_octet. - - * nss/test-netdb.c: Don't #include . - (setdb): Don't call __nss_configure_lookup for "rpc". - (do_test): Don't call test_rpc. - (output_rpcent, test_rpc): Functions moved ... - * sunrpc/test-rpcent.c: ... to this new file. - * sunrpc/Makefile (tests): Add it. - - * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of - __xpg_sigpause. - * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN]. - * nptl/tst-signal6.c: Likewise. - * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO]. - * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO]. - - * configure.ac (libc_cv_cxx_link_ok): New check. - Reset CXX to empty if it fails to link. - * configure: Regenerated. - * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and - bug-atexit3-lib only if $(CXX) is nonempty. - * nptl/Makefile (tests): Likewise for tst-cancel24. - (tests, tests-static): Likewise for tst-cancel24-static. - * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6, - tst-lfschk4, tst-lfschk5, and tst-lfschk6. - * elf/Makefile (tests, modules-names): Likewise for tst-unique3, - tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib. - -2015-03-04 Andreas Schwab - - [BZ #17631] - * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define - for non-GCC compilers. - * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO): - Likewise. - -2015-03-03 Adhemerval Zanellla - - [BZ #17776] - * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to - integer before bitwise and assembly operations. - (feclearexcept): Likewise. - * math/test-fenvinline.c: New file. - * math/Makefile: Add test-fenvinline test. - -2015-03-03 Alan Modra - - [BZ #16512] - * scripts/localplt.awk: Strip off symbol version. - * NEWS: Mention bug fix. - -2015-03-02 Roland McGrath - - * sysdeps/pthread/timer_routines.c - (timer_free_list, thread_free_list, thread_active_list): Make static. - -2015-03-02 Joseph Myers - - [BZ #17779] - * sysdeps/unix/sysv/linux/hppa/kernel-features.h - [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64): - Undefine. - * sysdeps/unix/sysv/linux/microblaze/kernel-features.h - [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64): - Likewise. - * sysdeps/unix/sysv/linux/sh/kernel-features.h - [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64): - Likewise. - -2015-03-02 Paul Pluzhnikov - - [BZ #18036] - * posix/fnmatch_loop.c (END): Detect invalid pattern. - * posix/tst-fnmatch3.c (do_bz18036): Add test case. - -2015-03-02 Andreas Schwab - - * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in - variable name. - -2015-03-02 Florian Weimer - - * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): - Return error status. - -2015-02-27 Alexandre Oliva - - [BZ #15969] - * locale/findlocale.c (_nl_find_locale): Introduce const - version of loc_name and drop unsafe type casts. - -2015-02-27 Roland McGrath - - * dlfcn/tststatic2.c (main): Converted to ... - (do_test): ... this. - (TEST_FUNCTION): New macro. - Include test-skeleton.c. - -2015-02-27 H.J. Lu - - [BZ #17711] - * elf/Makefile (tests): Add vismain only if PIE is enabled. - (tests-pie): Add vismain. - (CFLAGS-vismain.c): New. - * elf/vismain.c: Add comments for PIE requirement. - -2015-02-27 Joseph Myers - - [BZ #18046] - [BZ #18047] - * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use - 0x1p-56L as threshold for just returning the argument. - * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use - 0x1p-32L as threshold for just returning the argument. - * math/auto-libm-test-in: Add more tests of atanh. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulp: Likewise. - -2015-02-27 Wilco Dijkstra - - * string/bcopy.c (bcopy): Call memmove for performance. - -2015-02-27 Wilco Dijkstra - - * string/bzero.c (__bzero): Call memset for performance. - -2015-02-27 John David Anglin - - [BZ #18068] - * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change - to 00100000. - -2015-02-27 Joseph Myers - - * sysdeps/ieee754/k_standard.c (CSTR): Add comment. - -2015-02-26 Joseph Myers - - * sysdeps/ieee754/k_standard.c (CSTR): New macro. - (__kernel_standard): Use CSTR macro when setting exc.name. - * sysdeps/ieee754/Makefile [$(subdir) = math] - (CFLAGS-k_standard.c): Remove variable. - - * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for - setting p and q from "else if" to "else". - (qzero): Likewise. - * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise. - (qone): Likewise. - * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise. - (qzerof): Likewise. - * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise. - (qonef): Likewise. - * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise. - (qzero): Likewise. - * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise. - (qone): Likewise. - - [BZ #18038] - [BZ #18039] - * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only - return pi/2 for arguments below 0x1p-113L. - * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only - return pi/2 for arguments below 0x1p-106L. - * math/auto-libm-test-in: Add more tests of acos. - * math/auto-libm-test-out: Regenerated. - - [BZ #16351] - * sysdeps/i386/fpu/e_asin.S (dbl_min): New object. - (MO): New macro. - (__ieee754_asin): Force underflow exception for results with small - absolute value. - * sysdeps/i386/fpu/e_asinf.S (flt_min): New object. - (MO): New macro. - (__ieee754_asinf): Force underflow exception for results with - small absolute value. - * sysdeps/ieee754/dbl-64/e_asin.c: Include and . - (__ieee754_asin): Force underflow exception for results with small - absolute value. - * sysdeps/ieee754/flt-32/e_asinf.c: Include . - (__ieee754_asinf): Force underflow exception for results with - small absolute value. - * sysdeps/ieee754/ldbl-128/e_asinl.c: Include . - (__ieee754_asinl): Force underflow exception for results with - small absolute value. - * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include . - (__ieee754_asinl): Force underflow exception for results with - small absolute value. - * sysdeps/ieee754/ldbl-96/e_asinl.c: Include . - (__ieee754_asinl): Force underflow exception for results with - small absolute value. - * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]: - Include . - * math/auto-libm-test-in: Do not mark underflow exceptions as - possibly missing for bug 16351. - * math/auto-libm-test-out: Regenerated. - - [BZ #18030] - * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent - of power of 2 down when low part has opposite sign. - * math/libm-test.inc (logb_test_data): Add more tests. - -2015-02-26 Andreas Schwab - - [BZ #18032] - * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping - over collating symbol inside a bracket expression. Minor cleanup. - * posix/tst-fnmatch3.c (do_test): Add test case. - -2015-02-26 Joseph Myers - - [BZ #18029] - * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): - Adjust exponent of power of 2 down when low part has opposite - sign. - * math/libm-test.inc (ilogb_test_data): Add more tests. - -2015-02-26 Alexandre Oliva - - [BZ #15969] - * locale/findlocale.c (_nl_find_locale): Fix constness error in - the previous change. - - [BZ #15969] - * locale/findlocale.c (_nl_find_locale): Retry archive search - after alias expansion. - -2015-02-25 Roland McGrath - - * iconv/tst-iconv3.c (main): Converted to ... - (do_test): ... this. - (TEST_FUNCTION): New macro. - Include test-skeleton.c. - - * iconv/tst-iconv5.c (testcode, number): Make variables static const. - (convert): Make function static. - (test_unalign): Likewise. Add const to argument pointee types. - (main): Replace with static function do_test. - Print "Succeeded." only if RET is zero. - (TEST_FUNCTION): New macro. - Include test-skeleton.c. - - * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd - returns a null pointer. - -2015-02-25 Adhemerval Zanella - - * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy - to __memcpy_ppc only for static builds. - -2015-02-25 Joseph Myers - - [BZ #18020] - * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and - 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas. - * math/auto-libm-test-in: Add more tests of asinh. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2015-02-25 Cong Wang - - [BZ #15850] - * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo - and ip6_mtuinfo definitions here. - * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code - in this define too. Update comment. - -2015-02-24 Benno Schulenberg - - * elf/sprof.c (load_shobj): Tweak error message to match others. - -2015-02-24 Kevin Easton - - [BZ #16145] (partial fix) - * time/tzset.c (__tz_convert): Unlock tzset_lock earlier - to reduce lock contention. - -2015-02-24 Miroslav Lichvar - - * sysdeps/unix/sysv/linux/bits/timex.h: Update version. - (struct timex): Update time comment. - (ADJ_SETOFFSET): Define. - -2015-02-24 Joseph Myers - - [BZ #18019] - * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use - 2**56 not 2**28 as threshold for log (2x) formula. - * math/auto-libm-test-in: Add more tests of acosh. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2015-02-24 Mike Frysinger - - * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add - parenthesis around the buf assignment. - [_STACK_GROWS_UP] (extend_alloca): Add a char* cast. - -2015-02-24 Joseph Myers - - [BZ #16783] - * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle - arguments (NaN, -Inf) the same as (+/-Inf, -Inf). - * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise. - * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise. - * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise. - * math/libm-test.inc (scalb_test_data): Add more tests. - -2015-02-24 Paul Pluzhnikov - - [BZ #17916] - * libio/fileops.c (_IO_new_file_fopen): Limit stack use - * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test - -2015-02-24 Eric Rannaud - - [BZ #17523] - * io/fcntl.h (__OPEN_NEEDS_MODE): New macro. - * io/bits/fcntl2.h (open): Use it. - (openat): Likewise. - * io/open.c (__libc_open): Likewise. - * io/open64.c (__libc_open64): Likewise. - * io/open64_2.c (__open64_2): Likewise. - * io/open_2.c (__open_2): Likewise. - * io/openat.c (__openat): Likewise. - * io/openat64.c (__openat64): Likewise. - * io/openat64_2.c (__openat64_2): Likewise. - * io/openat_2.c (__openat_2): Likewise. - * sysdeps/mach/hurd/open.c (__libc_open): Likewise. - * sysdeps/mach/hurd/openat.c (__openat): Likewise. - * sysdeps/posix/open64.c (__libc_open64): Likewise. - * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise. - * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise. - (__open_nocancel): Likewise. - * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise. - * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise. - * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise. - -2015-02-24 Siddhesh Poyarekar - - [BZ #14841] - * resolv/gethnamaddr.c (getanswer): Skip logging if - RES_USE_DNSSEC is set. - * resolv/nss_dns/dns-host.c (getanswer_r): Likewise. - -2015-02-24 Mike Frysinger - - * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h. - -2015-02-23 Alexandre Oliva - - * include/stdc-predef.h (__STDC_ISO_10646__): Update to - 201304L, for Unicode 7. - -2015-02-23 H.J. Lu - - [BZ #17836] - * csu/Makefile (extra-objs): Add gmon-start.o if not builing - shared library. Add gmon-start.os otherwise. - ($(objpfx)g$(start-installed-name)): Use $(objpfx)S% - $(objpfx)gmon-start.os if builing shared library. - ($(objpfx)g$(static-start-installed-name)): Likewise. - -2015-02-23 Andreas Schwab - - * elf/Makefile (CFLAGS-tst-audit2.c): Define. - -2015-02-22 Paul Pluzhnikov - - [BZ #17269] - * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow - (enlarge_userbuf): Likewise. - -2015-02-22 Chung-Lin Tang - - * libio/tst-memstream2.c (TIMEOUT): Define as 100. - * math/atest-exp.c (TIMEOUT): Adjust to 200. - * math/atest-exp2.c (TIMEOUT): Adjust to 300. - * math/atest-sincos.c (TIMEOUT): Adjust to 600. - -2015-02-20 Joseph Myers - - * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in - expression inside statement expression. - -2015-02-20 Stefan Liebler - - * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include - and remove macros and - functions that are now defined there. - (SYS_futex): Remove. - (lll_compare_and_swap): Remove. - * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define. - -2015-02-19 Joseph Myers - - [BZ #17999] - * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat - instead of scandirat. - * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise. - [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define. - [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of - __scandirat. - * include/dirent.h (scandirat): Do not use libc_hidden_proto. - (__scandirat): Declare. Use libc_hidden_proto. - * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace): - Remove variable. - (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise. - -2015-02-18 Joseph Myers - - [BZ #15319] - * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object. - (MO): New macro. - (__ieee754_atan2): For results with small absolute value, force - underflow exception and remove excess range and precision from - return value. - * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object. - (MO): New macro. - (__ieee754_atan2f): For results with small absolute value, force - underflow exception and remove excess range and precision from - return value. - * sysdeps/i386/fpu/s_atan.S (dbl_min): New object. - (MO): New macro. - (__atan): For results with small absolute value, force underflow - exception and remove excess range and precision from return value. - * sysdeps/i386/fpu/s_atanf.S (flt_min): New object. - (MO): New macro. - (__atanf): For results with small absolute value, force underflow - exception and remove excess range and precision from return value. - * sysdeps/ieee754/dbl-64/e_atan2.c: Include and - . - (__ieee754_atan2): Force underflow exception for results with - small absolute value. - * sysdeps/ieee754/dbl-64/s_atan.c: Include and - . - (atan): Force underflow exception for results with small absolute - value. - * sysdeps/ieee754/flt-32/s_atanf.c: Include . - (__atanf): Force underflow exception for results with small - absolute value. - * sysdeps/ieee754/ldbl-128/s_atanl.c: Include and - . - (__atanl): Force underflow exception for results with small - absolute value. - * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include . - (__atanl): Force underflow exception for results with small - absolute value. - * sysdeps/x86/fpu/bits/mathinline.h - [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES] - (__ieee754_atan2): Only define inline for long double. - * sysdeps/x86_64/fpu/multiarch/e_atan2.c - [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include . - * math/auto-libm-test-in: Do not mark underflow exceptions as - possibly missing for bug 15319. Add more tests of atan2. - * math/auto-libm-test-out: Regenerated. - * math/libm-test.inc (casin_test_data): Do not mark underflow - exceptions as possibly missing for bug 15319. - (casinh_test_data): Likewise. - * sysdeps/i386/fpu/libm-test-ulps: Update. - -2015-02-18 Steve Ellcey - - * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove. - * sysdeps/mips/bits/endian.h: Fix comments. - -2015-02-18 Joseph Myers - - [BZ #17996] - * include/search.h (hcreate_r): Don't use libc_hidden_proto. - (hdestroy_r): Likewise. - (hsearch_r): Likewise. - (__hcreate_r): Declare and use libc_hidden_proto. - (__hdestroy_r): Likewise. - (__hsearch_r): Likewise. - * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r. - (hcreate): Call __hcreate_r instead of hcreate_r. - (__hdestroy): Call __hdestroy_r instead of hdestroy_r. - * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define - as weak alias of __hcreate_r. - (hdestroy_r): Rename to __hdestroy_r and define as weak alias of - __hdestroy_r. - (hsearch_r): Rename to __hsearch_r and define as weak alias of - __hsearch_r. - * conform/Makefile (test-xfail-XPG3/search.h/linknamespace): - Remove variable. - (test-xfail-XPG4/search.h/linknamespace): Likewise. - (test-xfail-UNIX98/search.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/search.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise. - -2015-02-18 Siddhesh Poyarekar - - * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and - arena_lock into a single arena_get. - -2015-02-17 Carlos O'Donell - - * dl-reloc.c: Inlucde libc-internal.h. - (_dl_try_allocate_static_tls): Call ALIGN_UP. - (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN. - (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN. - * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP. - (grow_heap): Likewise. - * malloc/malloc.c: Include libc-internal.h. - (do_check_malloc): Call powerof2. - (sysmalloc): Use pagesize. Call ALIGN_UP. - (systrim): Use pagesize. - (mremap_chunk): Use pagesize. Call ALIGN_UP. - (__libc_valloc): Use pagesize. - (__libc_pvalloc): Use pagesize. Call ALIGN_UP. - -2015-02-17 Joseph Myers - - [BZ #17991] - * include/sys/resource.h (__getrlimit64): Declare. Use - libc_hidden_proto. - * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64 - and define as weak alias of __getrlimit64. Use libc_hidden_weak. - * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of - getrlimit64. - * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to - __getrlimit64. - [!getrlimit64] (getrlimit64): Define as weak alias of - __getrlimit64. Use libc_hidden_weak. - * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define - using __getrlimit64 not __new_getrlimit64. - (__GI_getrlimit64): Likewise. - * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64): - Likewise. - (__GI_getrlimit64): Likewise. - (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list - (getrlimit): Add __getrlimit64 alias. - * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit): - Likewise. - * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace): - Remove variable. - (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise. - -2015-02-17 Paul Pluzhnikov - - * libio/fileops.c: Add missing sys/mman.h - * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h - -2015-02-17 Joseph Myers - - * manual/math.texi (Errors in Math Functions): Clarify goals - regarding inexact and underflow exceptions. - -2015-02-17 Steve Ellcey - - * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check. - * sysdeps/mips/memset.S: Ditto. - -2015-02-17 Steve Ellcey - - * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if. - -2015-02-17 Stefan Liebler - - * sysdeps/unix/sysv/linux/s390/pt-longjmp.c - (__v1longjmp): Remove versioned symbol. - (__v1siglongjmp): Remove alias and versioned symbol. - (__v2longjmp): Use DEFINE_LONGJMP instead of alias. - (__v2siglongjmp): Likewise. - -2015-02-16 Torvald Riegel - - * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file. - -2015-02-16 Mike Frysinger - - * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete. - -2015-02-16 Joseph Myers - - [BZ #17987] - * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of - zero result does not depend on the sign resulting from - subtraction. - * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): - Likewise. - * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise. - * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise. - * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise. - * math/libm-test.inc (remquo_test_data): Add more tests. - -2015-02-16 Paul Eggert - - * manual/time.texi (TZ Variable): glibc no longer comes with tzdata. - Problem reported by J William Piggott. - -2015-02-16 Joseph Myers - - [BZ #17978] - * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form - products 4 * y and 2 * y where those would overflow. - * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): - Likewise. - * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise. - * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise. - * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise. - * math/libm-test.inc (remquo_test_data): Add more tests. - - * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro. - - * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to - [defined _COMPILING_NEWLIB]. - * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise. - * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise. - - * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to - [!defined __mips_isa_rev || __mips_isa_rev < 6]. - -2015-02-16 Torvald Riegel - - * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is - acquired. - -2015-02-15 Matthew Fortune - - [BZ #17792] - * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove. - (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR, - HOST_STACK_END_ADDR): Likewise. - -2015-02-13 Steve Ellcey - - * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if. - * sysdeps/mips/memcpy.S (__MIPSEB): Ditto. - * sysdeps/mips/memset.S (__MIPSEB): Ditto. - -2015-02-13 Roland McGrath - - * sysdeps/generic/c++-types.data: New file. - * sysdeps/generic/ld.abilist: New file. - * sysdeps/generic/libBrokenLocale.abilist: New file. - * sysdeps/generic/libanl.abilist: New file. - * sysdeps/generic/libc.abilist: New file. - * sysdeps/generic/libcrypt.abilist: New file. - * sysdeps/generic/libdl.abilist: New file. - * sysdeps/generic/libm.abilist: New file. - * sysdeps/generic/libpthread.abilist: New file. - * sysdeps/generic/libresolv.abilist: New file. - * sysdeps/generic/librt.abilist: New file. - -2015-02-13 Joseph Myers - - [BZ #17569] - * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): - Compute absolute value of x as modified by fmod, not original - value of x. - * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to - RUN_TEST_ffI_f1_mod8. Check extra return value mod 8. - (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call - RUN_TEST_ffI_f1_mod8. - (remquo_test_data): Add more tests. - -2015-02-13 Roland McGrath - - * sysdeps/init_array/pt-crti.S: New file. - -2015-02-13 Joseph Myers - - [BZ #17967] - * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use - __builtin_fmaf instead of relying on contraction of a * b + c. - -2015-02-12 J William Piggott - - [BZ #17969] - * manual/time.texi: correct the zoneinfo path in the TZ Variable - node. - -2015-02-12 Joseph Myers - - [BZ #17964] - * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use - __builtin_fma instead of relying on contraction of a * b + c. - -2015-02-12 Roland McGrath - - * Makeconfig (ASFLAGS): Add -Werror=undef. - * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set. - * sysdeps/unix/make-syscalls.sh: Always emit #define's for - SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0. - - * Makeconfig (after-link): New variable. - (+link-pie, +link-pie-tests): Use it. - (+link-static, +link-static-tests): Likewise. - (+link, +link-tests): Likewise. - * Makerules (build-module, build-module-asneeded): Likewise. - (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so): - Likewise. - * elf/Makefile ($(objpfx)ld.so): Likewise. - -2015-02-12 RĂŒdiger Sonderfeld - - [BZ #17965] - * manual/time.texi (Elapsed Time): tv_sec is of type time_t in - both struct timeval and struct timespec. - -2015-02-12 Joseph Myers - - [BZ #16560] - * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine - and redefine. - (__ieee754_exp2l): Do not multiply small fractional parts by - M_LN2l. - * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to - small argument. - * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise. - * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise. - * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise. - * math/auto-libm-test-in: Add more tests of exp2. - * math/auto-libm-test-out: Regenerated. - -2015-02-12 Rajalakshmi Srinivasaraghavan - - * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize - unaligned path. - -2015-02-12 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for - little endian. - -2015-02-12 Andreas Schwab - - [BZ #15790] - * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype): - Filter out elision flags from value returned in kind. - * nptl/Makefile (tests): Add tst-pthread-mutexattr. - * nptl/tst-pthread-mutexattr.c: New file. - -2015-02-11 Samuel Thibault - - * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu. - * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back - into gnu-gnu, and update comment to refer to abi-tags. - -2015-02-11 Joseph Myers - - [BZ #15467] - * sysdeps/ieee754/dbl-64/s_sincos.c: Include . - (__sincos): Set errno to EDOM for infinite argument. - * sysdeps/ieee754/flt-32/s_sincosf.c: Include . - (SINCOSF_FUNC): Set errno to EDOM for infinite argument. - * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include . - (__sincosl): Set errno to EDOM for infinite argument. - * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include . - (__sincosl): Set errno to EDOM for infinite argument. - * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include . - (__sincosl): Set errno to EDOM for infinite argument. - * math/libm-test.inc (sincos_test_data): Test errno setting. - -2015-02-11 Leonhard Holz - - * string/strxfrm_l.c: Remove #define STRCMP. - * string/strcoll_l.c: Remove #define STRLEN. - * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP. - * wcsmbs/wcscoll_l.c: Remove #define STRLEN. - -2015-02-10 Joseph Myers - - * sysdeps/mips/soft-fp/sfp-machine.h: Move to .... - * sysdeps/mips/mips32/sfp-machine.h: ... here. - * sysdeps/mips/mips64/soft-fp/Makefile: Move to .... - * sysdeps/mips/mips64/Makefile: ... here. - * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to .... - * sysdeps/mips/mips64/e_sqrtl.c: ... here. - * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to .... - * sysdeps/mips/mips64/sfp-machine.h: ... here. - * sysdeps/mips/mips32/Implies: Remove mips/soft-fp. - * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp. - * sysdeps/mips/mips64/n64/Implies: Likewise. - -2015-02-10 Roland McGrath - - * math/test-snan.c: Drop unnecessary #include's of , - , , and . - (dest_offset, dest_address, value, zero): Remove unused variables. - (ldouble): Remove typedef. - (myFPsighandler): Use simple handler signature, not SA_SIGINFO - signature. Pass 1 to siglongjmp rather than 0 (which is converted to - 1). Fix code style. - (set_sigaction_FP, remove_sigaction_FP): Functions removed. - (check): Function removed. - (CHECK): New macro. - (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating - boilerplate feclearexcept + feenableexcept + sigsetjmp code. - Don't call set_sigaction_FP and remove_sigaction_FP here. - (ldouble_test): Just use 'long double' as macro argument, no need for - the 'ldouble' typedef. - (do_test): Set up SIGFPE handler at start, using plain signal rather - than sigaction. Fix code style. - -2015-02-10 Evangelos Foutras - - [BZ #17949] - * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of - jump label. - -2015-02-09 Adhemerval Zanellla - - * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check. - * sysdeps/powerpc/powerpc32/configure: Regenerated. - - * sysdeps/powerpc/configure.ac: Remove file. - * sysdeps/powerpc/configure: Likewise. - - * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile - [sysdep_routines]: Remove wordcopy-power6 object. - * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c - (__memmove_power7): Use local call for wordcopy and memcpy symbols. - * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c - (__memmove_ppc32): Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove - file. - * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file. - * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]: - Remove preprocessor. - - * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile - [sysdep_routines]: Remove wide chars objects. - [wcsmbs]: New rule for wide char objects. - - * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: - Remove wordcopy-power6 obejct. - * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc): - Use local call for wordcopy and memcpy symbols. - * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file. - * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default - implementation for loader. - * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file. - - * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: - Remove wordcopy-power7 object. - * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file. - * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c - (_wordcopy_fwd_aligned): Remove POWER7 specialization. - (_wordcopy_fwd_dest_aligned): Likewise. - (_wordcopy_bwd_aligned): Likewise. - (_wordcopy_bwd_dest_aligned): Likewise. - - * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc): - Rewrite to call __memmove_ppc instead of include default - implementation. - - * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: - Remove wide chars objects. - [wcsmbs]: New rule for wide char objects. - -2015-02-09 Andreas Schwab - - [BZ #17912] - * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define - in terms of __O_DIRECTORY. - -2015-02-08 Samuel Thibault - - * time/getdate.c: Include . - * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not - call PTR_MANGLE. - [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call - PTR_DEMANGLE. - -2015-02-07 Paul Eggert - - Add ersatz _Static_assert on older C hosts - * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a - pre-C11 C platform that is not known to support _Static_assert. - -2015-02-07 Richard Braun - - * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock - sigstate. - * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case. - -2015-02-07 Samuel Thibault - - * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check - priority against unexistent AIO_PRIO_DELTA_MAX. - * misc/chflags.c (chflags): Set flags parameter type to unsigned long - instead of int. - * misc/fchflags.c (fchflags): Likewise. - * sysdeps/mach/hurd/chflags.c (chflags): Likewise. - * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise. - * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP, - UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE, - SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT): - Declare macros. - [__USE_MISC] (chflags, fchflags): Declare functions. - * hurd/hurdselect.c (_hurd_select): In the poll case, do not return - EINVAL when nfds is greater than FD_SETSIZE. - * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE, - NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to - 45. - * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to - __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR. - * hurd/hurdselect.c (_hurd_select): Remove unreachable check for - MACH_RCV_TIMED_OUT. - * hurd/hurd/signal.h (_hurd_self_sigstate, - _hurd_critical_section_lock, _hurd_critical_section_unlock): - Explicit casts from void *. - * sysdeps/mach/hurd/tls.h: Include and . - * abi-tags: Rename gnu-gnu os into gnu. - - [BZ #4719] - * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char, - _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t, - _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t, - _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t, - _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t, - _IOTBASE_unsigned, _IOTBASE_signed): Define macros. - - [BZ #17944] - * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which - duplicates ADDR->sun_path with sockaddr LEN limitation. - * sysdeps/mach/hurd/connect.c: Include - (__connect): Give result of _hurd_sun_path_dupa to name lookup. - * sysdeps/mach/hurd/sendmsg.c: Likewise. - * sysdeps/mach/hurd/sendto.c: Likewise. - * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of - implementing it by hand. - -2015-02-06 Roland McGrath - - * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL): - Use sfi_breg on ldr. - [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL): - Likewise. - - * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if - it's defined. - * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined. - Test SIGSETXID only if it's defined. - - * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined. - - * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which - will not be used. Use NULL rather than 0 for .sigev_notify_attributes. - - * nptl/tst-align2.c: Moved ... - * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here. - * nptl/Makefile (tests): Remove tst-align2. - * sysdeps/unix/sysv/linux/Makefile - [$(subdir) = nptl] (tests): Add tst-align-clone. - * nptl/tst-getpid1.c: Moved ... - * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here. - * nptl/tst-getpid2.c: Moved ... - * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here. - * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ... - * sysdeps/unix/sysv/linux/Makefile - [$(subdir) = nptl] (tests): ... here. - * nptl/Makefile (tst-getpid2-ENV): Move variable ... - * sysdeps/unix/sysv/linux/Makefile - [$(subdir) = nptl] (tst-getpid2-ENV): ... here. - - * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction. - Drop trailing \n from perror argument. Use return rather than exit. - - * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests - on [SA_SIGINFO]. - * nptl/tst-cancel21.c (do_test): Likewise. - * debug/tst-backtrace6.c: Include first thing. - Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO]. - [!SA_SIGINFO]: Make it a stub test. - - * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for - SIGCHLD; it's redundant with SIG_IGN as sa_handler. - - * posix/tst-getlogin.c: Move to ... - * login/tst-getlogin.c: ... here. - * posix/Makefile (tests): Move tst-getlogin to ... - * login/Makefile (tests): ... here. - - * libio/tst-atime.c (do_test): Move local variables SV and E - inside [ST_NOATIME] conditional. - - * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0. - - * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10. - - * nptl/tst-join5.c: Drop #include . - (wait_code): New function replaces macro. - Call nanosleep rather than syscall. - - * nptl/pt-system.c: Rewritten. Put everything under - [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)]. - Use IFUNC to redirect when possible. - - * nptl/pt-longjmp.c: Rewritten. Put everything under - [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)]. - Use IFUNC to redirect when possible. - - * nptl/pt-fork.c: Rewritten. Put everything under - [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)]. - Use IFUNC to redirect when possible. - * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set. - - * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all - code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined - unconditionally nowadays. This included the only reference to - __vdso_clock_gettime that appears outside libc proper. - * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE): - Remove version set (containing only __vdso_clock_gettime). - * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime): - Add attribute_hidden. - * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime): - Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and - libc_hidden_data_def. - * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise. - - * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r, - getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent, - setrpcent, and getrpcport to ... - * sunrpc/Versions (libc: GLIBC_2.0): ... here. - * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r, - getrpcbynumber_r, and getrpcent_r to ... - * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set. - * inet/getrpcbyname.c: Moved ... - * sunrpc/getrpcbyname.c: ... here. - * inet/getrpcbyname_r.c: Moved ... - * sunrpc/getrpcbyname_r.c: ... here. - * inet/getrpcbynumber.c: Moved ... - * sunrpc/getrpcbynumber.c: ... here. - * inet/getrpcbynumber_r.c: Moved ... - * sunrpc/getrpcbynumber_r.c: ... here. - * inet/getrpcent.c: Moved ... - * sunrpc/getrpcent.c: ... here. - * inet/getrpcent_r.c: Moved ... - * sunrpc/getrpcent_r.c: ... here. - * inet/Makefile (routines): Move those to ... - * sunrpc/Makefile (routines): ... here. - * nss/Makefile (databases): Add key and rpc only if sunrpc appears in - the $(subdirs) list. - (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC - to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list. - * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC]. - (databases): Conditionalize rpc entry on [HAVE_SUNRPC]. - - * elf/Makefile (routines): Include $(all-dl-routines), not just - $(dl-routines). - (rtld-routines): Likewise. Use = rather than :=. - * sysdeps/aarch64/Makefile [$(subdir) = elf] - (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and - dl-tlsdesc to these; sysdep-dl-routines alone is enough. - * sysdeps/arm/Makefile: Likewise. - * sysdeps/i386/Makefile: Likewise. - * sysdeps/x86_64/Makefile: Likewise. - * sysdeps/hppa/Makefile [$(subdir) = elf] - (sysdep_routines, sysdep-rtld-routines): Don't add - $(sysdep-dl-routines) to these. - * sysdeps/ia64/Makefile: Likewise. - * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise. - * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf] - [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines): - Don't add dl-static to these; sysdep-dl-routines alone is enough. - * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise. - * sysdeps/unix/sysv/linux/mips/Makefile: Likewise. - * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise. - * sysdeps/unix/sysv/linux/tile/Makefile: Likewise. - * sysdeps/powerpc/Makefile [$(subdir) = elf] - (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to - these; sysdep-dl-routines alone is enough. - -2015-02-06 Joseph Myers - - [BZ #17932] - * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case - where multiplication results in zero and third argument is finite - and nonzero. - * math/auto-libm-test-in: Add more tests of fma. - * math/auto-libm-test-out: Regenerated. - - * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro. - (_FP_CMP_CHECK_FLUSH_ZERO): Likewise. - (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO. - (_FP_CMP_EQ): Likewise. - (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM. - - * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with - extra argument CHECK_NAN. Redefine as wrapper around - _FP_EXTEND_CNAN. - -2015-02-06 Carlos O'Donell - - * version.h (RELEASE): Set to "stable". - (VERSION): Set to "2.21" - * include/features.h (__GLIBC_MINOR__): Set to 21. - - * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h. - -2015-02-05 Paul Pluzhnikov - Paul Eggert - - [BZ #16618] - * stdio-common/tst-sscanf.c (main): Test for buffer overflow. - * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed - size in bytes. Store needed elements in wpmax. Use needed size - in bytes for extend_alloca. - -2015-02-05 Carlos O'Donell - - * manual/install.texi: Latest tested versions are GCC 4.9.2, - binutls 2.25, and texinfo 5.2. - * INSTALL: Regenerate. - * sysdeps/nios2/configure: Regenerate. - * sysdeps/unix/sysv/linux/nios2/configure: Regenerate. - * manual/contrib.texi: Update. - * po/be.po: Update. - * po/bg.po: Update. - * po/ca.po: Update. - * po/cs.po: Update. - * po/da.po: Update. - * po/de.po: Update. - * po/el.po: Update. - * po/eo.po: Update. - * po/es.po: Update. - * po/fi.po: Update. - * po/fr.po: Update. - * po/gl.po: Update. - * po/hr.po: Update. - * po/hu.po: Update. - * po/ia.po: Update. - * po/id.po: Update. - * po/it.po: Update. - * po/ja.po: Update. - * po/ko.po: Update. - * po/lt.po: Update. - * po/nb.po: Update. - * po/nl.po: Update. - * po/pl.po: Update. - * po/pt_BR.po: Update. - * po/ru.po: Update. - * po/rw.po: Update. - * po/sk.po: Update. - * po/sl.po: Update. - * po/sv.po: Update. - * po/tr.po: Update. - * po/uk.po: Update. - * po/vi.po: Update. - * po/zh_CN.po: Update. - * po/zh_TW.po: Update. - - * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error. - * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag. - * sysdeps/hppa/dl-irel.h: Remove #warning. - * sysdeps/hppa/entry.h: Provide prototype for - __canonicalize_funcptr_for_compare and cast argument. - * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon. - * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise. - * sysdeps/hppa/sotruss-lib.c: New file. - * sysdeps/unix/sysv/linux/hppa/bits/atomic.h - (atomic_compare_and_exchange_val_acq): Use __typeof__. - (atomic_compare_and_exchange_bool_acq): Likewise. - * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias. - * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h. - - * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file. - * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here... - * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here. - -2015-02-05 Chung-Lin Tang - - * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of - called function in non-PIC case. - -2015-01-31 David S. Miller - - * sysdeps/sparc/sparc32/bits/atomic.h - (__sparc32_atomic_do_unlock24): Put the memory barrier before the - unlock not after it. - (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting - volatile register usage warnings from the compiler. - - * sysdeps/sparc/nptl/sem_init.c: Delete. - * sysdeps/sparc/nptl/sem_post.c: Delete. - * sysdeps/sparc/nptl/sem_timedwait.c: Delete. - * sysdeps/sparc/nptl/sem_wait.c: Delete. - * sysdeps/sparc/sparc32/sem_init.c: New file. - * sysdeps/sparc/sparc32/sem_waitcommon.c: New file. - * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with - padding explicitly initialized. - * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using - padding for in-semaphore spinlock. - * sysdeps/sparc/sparc32/sem_wait.c: Likewise. - * sysdeps/sparc/sparc32/sem_trywait.c: Delete. - * sysdeps/sparc/sparc32/sem_timedwait.c: Delete. - * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file. - * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file. - * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file. - * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file. - * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl - version. - * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete. - * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete. - -2015-01-30 H.J. Lu - - [BZ #17801] - * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): - Set the bit_AVX_Fast_Unaligned_Load bit for AVX2. - * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load): - New. - (index_AVX_Fast_Unaligned_Load): Likewise. - (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise. - * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the - bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit. - * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise. - * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise. - * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise. - * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace - HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD. - * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise. - -2015-01-29 Andreas Schwab - - * sysdeps/nptl/allocrtsig.c: Include . - -2015-01-29 Siddhesh Poyarekar - - [BZ #17892] - * nscd/nscd_stat.c (send_stats): Initialize DATA. - -2015-01-28 Martin Sebor - - * math/README.libm-test: Clarify. Add "How to read the test output." - -2015-01-28 Chris Metcalf - - * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS): - Define to 0. - -2015-01-28 Joseph Myers - - * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32] - (__HAVE_64B_ATOMICS): Define to 0. - -2015-01-28 Adhemerval Zanellla - - [BZ #17885] - * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct - value to set as new flag. - - [BZ #16576] - * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define - and use _ARCH_PPCSQ instead. - (__ieee754_sqrt): Likewise. - (__ieee754_sqrtf): Likewise. - * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if - _ARCH_PPCSQ is defined. - (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware - fsqrt instruction. - * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if - _ARCH_PPCSQ is defined. - (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware - fsqrts instruction. - * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file. - -2015-01-27 Andreas Krebbel - - * iconv/loop.c: Suppress array out of bound warning caused by GCC - bug (GCC BZ #64739). - -2015-01-25 Andreas Schwab - - * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue): - Mark _retval as used. - (lll_futex_wake_unlock): Likewise. - (lll_futex_timed_wait_requeue_pi): Likewise. - - * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h - (atomic_compare_and_exchange_val_acq): Use uint32_t for the - register variables. - - * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use - libm_hidden_def. - - * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32) - (__bswap_64): Mark as __always_inline. - -2015-01-25 Bram - - [BZ #15378] - * elf/dl-load.c (open_path): Avoid writing to 'env_path_list' - when none of the search directories exist. - -2015-01-24 Adhemerval Zanellla - - [BZ #17869] - * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of - power8 in .machine directive. - - [BZ #17868] - * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value - set dependency from opd value. - -2015-01-23 H.J. Lu - - * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): - Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont - architecture. - -2015-01-23 H.J. Lu - - [BZ #17870] - * nptl/sem_post.c (__new_sem_post): Replace unsigned long int - with uint64_t. - * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with - (uint64_t) 1. - (__new_sem_wait_fast): Replace unsigned long with uint64_t. - (__new_sem_wait_slow): Replace unsigned long int with uint64_t. - Replace 1UL with (uint64_t) 1. - * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long - int with uint64_t. - -2015-01-23 Roland McGrath - - * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak. - (if_freenameindex): Likewise. - - * resource/getrlimit64.c: Add missing libc_hidden_def. - -2015-01-22 Joseph Myers - - * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with - __label__. - (_FP_FMA): Likewise. - (_FP_TO_INT_ROUND): Likewise. - (_FP_FROM_INT): Likewise. - -2015-01-21 Adhemerval Zanella - - [BZ #16418] - * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq): - Make code racy and cancel safe. - -2015-01-21 Carlos O'Donell - - * sysdeps/arm/unwind-resume.h: Fix copyright year. - * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and - attribution. - - * pwd/tst-getpw.c: Rewrite. - - [BZ #17702] - * dlfcn/Makefile (tests): Add tst-rec-dlopen. - (modules-names): Add moddummy1 and moddummy2. - ($(objpfx)tst-rec-dlopen): Define. - * dlfcn/moddummy1.c: New file. - * dlfcn/moddummy2.c: New file. - * dlfcn/tst-rec-dlopen.c: New file. - * elf/dl-cache.c (_dl_load_cache_lookup): - Return char*. Copy result with alloca/strcpy/strdup. - * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup - returns char*. Free cached. If not saving realname - free cached. - * elf/dl-open.c (dl_open_worker): Do not assert that - _r_debug->r_state is RT_CONSISTENT. - * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup - returns char*. - -2015-01-21 Torvald Riegel - Carlos O'Donell - - [BZ #12674] - * nptl/sem_waitcommon.c: New file. - * nptl/sem_wait.c: Include sem_waitcommon.c. - (__sem_wait_cleanup, do_futex_wait): Remove. - (__new_sem_wait): Adapt. - (__new_sem_trywait): New function. - (__old_sem_trywait): Moved here from nptl/sem_trywait.c. - * nptl/sem_timedwait.c: Include sem_waitcommon.c. - (__sem_wait_cleanup, do_futex_timed_wait): Remove. - (sem_timedwait): Adapt. - * nptl/sem_post.c (__new_sem_post): Adapt. - (futex_wake): New function. - (__old_sem_post): Add release MO fence. - * nptl/sem_open.c (sem_open): Adapt. - * nptl/sem_init.c (__new_sem_init): Adapt. - (futex_private_if_supported): New function. - * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt. - (__old_sem_getvalue): Add using previous code. - * sysdeps/nptl/internaltypes.h: Adapt. - * nptl/tst-sem13.c (do_test): Adapt. - * nptl/tst-sem11.c (main): Adapt. - * nptl/sem_trywait.c: Remove. - * nptl/DESIGN-sem.txt: Remove. - * nptl/Makefile (libpthread-routines): Remove sem_trywait. - (gen-as-const-headers): Remove structsem.sym. - * nptl/structsem.sym: Remove. - * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove. - * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove. - * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove. - * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove. - * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove. - * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove. - * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove. - * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove. - * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove. - * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove. - * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove. - * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove. - * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove. - * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove. - * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove. - * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove. - * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove. - * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove. - * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove. - * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove. - * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove. - * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove. - -2015-01-20 Carlos O'Donell - - * INSTALL: Regenerated. - - * po/libc.pot: Regenerated. - -2015-01-18 Chung-Lin Tang - Sandra Loosemore - Andrew Jenner - Joseph Myers - Nathan Sidwell - - * NEWS: Mention new Nios II port. - * sysdeps/nios2/Implies: New file. - * sysdeps/nios2/Makefile: New file. - * sysdeps/nios2/Subdirs: New file. - * sysdeps/nios2/Versions: New file. - * sysdeps/nios2/__longjmp.S: New file. - * sysdeps/nios2/abort-instr.h: New file. - * sysdeps/nios2/backtrace.c: New file. - * sysdeps/nios2/bits/endian.h: New file. - * sysdeps/nios2/bits/fenv.h: New file. - * sysdeps/nios2/bits/link.h: New file. - * sysdeps/nios2/bits/setjmp.h: New file. - * sysdeps/nios2/bsd-_setjmp.S: New file. - * sysdeps/nios2/bsd-setjmp.S: New file. - * sysdeps/nios2/configure: New generated file. - * sysdeps/nios2/configure.ac: New file. - * sysdeps/nios2/crti.S: New file. - * sysdeps/nios2/crtn.S: New file. - * sysdeps/nios2/dl-init.c: New file. - * sysdeps/nios2/dl-machine.h: New file. - * sysdeps/nios2/dl-sysdep.h: New file. - * sysdeps/nios2/dl-tls.h: New file. - * sysdeps/nios2/dl-trampoline.S: New file. - * sysdeps/nios2/gccframe.h: New file. - * sysdeps/nios2/gmp-mparam.h: New file. - * sysdeps/nios2/jmpbuf-offsets.h: New file. - * sysdeps/nios2/jmpbuf-unwind.h: New file. - * sysdeps/nios2/ldsodefs.h: New file. - * sysdeps/nios2/libc-tls.c: New file. - * sysdeps/nios2/libm-test-ulps: New file. - * sysdeps/nios2/machine-gmon.h: New file. - * sysdeps/nios2/math-tests.h: New file. - * sysdeps/nios2/math_private.h: New file. - * sysdeps/nios2/memusage.h: New file. - * sysdeps/nios2/nptl/Makefile: New file. - * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file. - * sysdeps/nios2/nptl/bits/semaphore.h: New file. - * sysdeps/nios2/nptl/pthread_spin_lock.c: New file. - * sysdeps/nios2/nptl/pthreaddef.h: New file. - * sysdeps/nios2/nptl/tcb-offsets.sym: New file. - * sysdeps/nios2/nptl/tls.h: New file. - * sysdeps/nios2/preconfigure: New file. - * sysdeps/nios2/s_fma.c: New file. - * sysdeps/nios2/s_fmaf.c: New file. - * sysdeps/nios2/setjmp.S: New file. - * sysdeps/nios2/sfp-machine.h: New file. - * sysdeps/nios2/sotruss-lib.c: New file. - * sysdeps/nios2/stackguard-macros.h: New file. - * sysdeps/nios2/stackinfo.h: New file. - * sysdeps/nios2/start.S: New file. - * sysdeps/nios2/sysdep.h: New file. - * sysdeps/nios2/tls-macros.h: New file. - * sysdeps/nios2/tst-audit.h: New file. - * sysdeps/unix/sysv/linux/nios2/Implies: New file. - * sysdeps/unix/sysv/linux/nios2/Makefile: New file. - * sysdeps/unix/sysv/linux/nios2/Versions: New file. - * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file. - * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file. - * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file. - * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file. - * sysdeps/unix/sysv/linux/nios2/clone.S: New file. - * sysdeps/unix/sysv/linux/nios2/configure: New generated file. - * sysdeps/unix/sysv/linux/nios2/configure.ac: New file. - * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file. - * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file. - * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file. - * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file. - * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file. - * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file. - * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file. - * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file. - * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file. - * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file. - * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file. - * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file. - * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file. - * sysdeps/unix/sysv/linux/nios2/syscall.S: New file. - * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file. - * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file. - * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file. - * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file. - * sysdeps/unix/sysv/linux/nios2/vfork.S: New file. - * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file. - * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file. - * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file. - * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file. - * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file. - * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file. - * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file. - * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file. - * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file. - * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file. - * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file. - * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file. - * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file. - * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file. - * sysdeps/unix/sysv/linux/nios2/localplt.data: New file. - -2015-01-16 Stefan Liebler - - [BZ #17844] - * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c - (getutent): Use weak_alias in non SHARED case - and default_symbol_version in SHARED case. - * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c - (getutent_r, pututline): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c - (getutid): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c - (getutid_r): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c - (getutline): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c - (getutline_r): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c - (updwtmp): Likewise. - -2015-01-16 Stefan Liebler - - [BZ #17848] - * sysdeps/s390/s390-32/memcmp.S - (memcmp_g5): Rename to __memcmp_g5. - * sysdeps/s390/s390-32/memcpy.S - (memcpy_g5): Rename to __memcpy_g5. - Jump to __memcpy_mvcle instead of memcpy_mvcle. - (memcpy_mvcle) Rename to __memcpy_mvcle. - * sysdeps/s390/s390-32/memset.S - (memset_g5): Rename to __memset_g5. - * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c - (IFUNC_RESOLVE): Prefix ifunc-resolve function - and use prefixed functions. - * sysdeps/s390/s390-32/multiarch/memcmp.S - (memcmp_z196): Rename to __memcmp_z196. - (memcmp_z10): Rename to __memcmp_z10. - (memcmp): Set alias to __memcmp_g5. - (bcmp): Set alias to __memcmp_g5. - * sysdeps/s390/s390-32/multiarch/memcpy.S - (memcpy_z196): Rename to __memcpy_z196. - Jump to __memcpy_mvcle instead of memcpy_mvcle. - (memcpy_z10): Rename to __memcpy_z10. - Jump to __memcpy_mvcle instead of memcpy_mvcle. - (memcpy): Set alias to __memcpy_g5. - * sysdeps/s390/s390-32/multiarch/memset.S - (memset_z196): Rename to __memset_z196. - Jump to __memset_mvcle instead of memset_mvcle. - (memset_z10): Rename to __memset_z10. - Jump to __memset_mvcle instead of memset_mvcle. - (memset_mvcle) Rename to __memset_mvcle. - (memset): Set alias to __memset_g5. - * sysdeps/s390/s390-64/memcmp.S - (memcmp_z900): Rename to __memcmp_z900. - * sysdeps/s390/s390-64/memcpy.S - (memcpy_z900): Rename to __memcpy_z900. - Jump to __memcpy_mvcle instead of memcpy_mvcle. - (memcpy_mvcle) Rename to __memcpy_mvcle. - * sysdeps/s390/s390-64/memset.S - (memset_z900): Rename to __memset_z900. - * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c - (IFUNC_RESOLVE): Prefix ifunc-resolve function - and use prefixed functions. - * sysdeps/s390/s390-64/multiarch/memcmp.S - (memcmp_z196): Rename to __memcmp_z196. - (memcmp_z10): Rename to __memcmp_z10. - (memcmp): Set alias to __memcmp_z900. - (bcmp): Set alias to __memcmp_z900. - * sysdeps/s390/s390-64/multiarch/memcpy.S - (memcpy_z196): Rename to __memcpy_z196. - Jump to __memcpy_mvcle instead of memcpy_mvcle. - (memcpy_z10): Rename to __memcpy_z10. - Jump to __memcpy_mvcle instead of memcpy_mvcle. - (memcpy): Set alias to __memcpy_z900. - * sysdeps/s390/s390-64/multiarch/memset.S - (memset_z196): Rename to __memset_z196. - Jump to __memset_mvcle instead of memset_mvcle. - (memset_z10): Rename to __memset_z10. - Jump to __memset_mvcle instead of memset_mvcle. - (memset_mvcle) Rename to __memset_mvcle. - (memset): Set alias to __memset_z900. - -2015-01-14 Joseph Myers - - [BZ #17748] - * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call - __fesetenv instead of fesetenv. - -2015-01-14 Siddhesh Poyarekar - - * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr - macro. - -2015-01-13 Adhemerval Zanella - - * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance - regression on LE. - - * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file. - * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add - strncmp-power8 object. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Add __strncmp_power8 implementation. - * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise. - * NEWS: Update. - -2015-01-13 Rajalakshmi Srinivasaraghavan - Adhemerval Zanella - - * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize - trailing byte check. - -2015-01-13 David S. Miller - - * include/signal.h (__sigreturn): Guard with __USE_MISC. - -2015-01-13 Roland McGrath - - * login/logout.c (logout): Use memset rather than bzero. - * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise. - * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise. - * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp. - (_gethtbyaddr): Likewise. - * locale/programs/simple-hash.c (bcopy): Macro removed. - -2015-01-13 Adhemerval Zanella - - * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: - Add strcmp-power8 object. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Add __strcmp_power8 implementation. - * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add - __strcmp_power8 implementation. - * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file. - * NEWS: Update. - - * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: - Add strncpy-power8 and stpncpy-power8 objects. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8 - implementations. - * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add - __stpncpy_power8 implementation. - * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add - __strncpy_power8 implementation. - * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file. - * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file. - * NEWS: Update. - - * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file. - * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file. - * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise. - - * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add - strncat-power8 object. - * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add - __strcat_power8 implementation. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Add __strcat_power8 implementation. - * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file: - optimized strcat for power8. - - * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add - strcpy-power8 and stpcpy-power8 objects. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8 - implementations. - * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file: - multiarch stpcpy implementation for POWER8. - * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file; - multiarch strcpy implementation for POWER8. - * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add - __strcpy_power8 function. - * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized - stpcpy for POWER8. - * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized - strcpy for POWER8. - * NEWS: Update. - -2015-01-13 Leonhard Holz - - [BZ #16009] - * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for - weights and rules. Use do_xfrm_cached if data fits in cache, - do_xfrm otherwise. Moved former main loop to... - * (do_xfrm_cached): New function. - * (do_xfrm): Non-caching version of do_xfrm_cached. Uses - find_idx, find_position and stack_push. - * (find_idx): New function. - * (find_position): Likewise. - * localedata/sort-test.sh: Added test run for do_xfrm. - * localedata/xfrm-test.c (main): Added command line option - -nocache to run the test with strings that are too large for - the STRXFRM cache. - -2015-01-13 Torvald Riegel - - * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex - variable to lll_futex_wake call, not the value itself. - -2015-01-12 Joseph Myers - - [BZ #17803] - * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to - twom64. Adjust value to 0x1p-64L. - (__scalblnl): Only return standard underflowing result for K <= - -64 not K <= -63; adjust exponent for underflowing result by 64 - not 63. - * math/libm-test.inc (scalbn_test_data): Add more tests. - (scalbln_test_data): Likewise. - - [BZ #17834] - * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to - 0x1p63L. - (__scalblnl): Get new exponent of adjusted subnormal value from ES - not HX. - * math/libm-test.inc (scalbn_test_data): Add more tests. - (scalbln_test_data): Likewise. - -2015-01-12 Adhemerval Zanella - Stefani Seibold - - * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf] - (sysdep_routines): Add dl-vdso here, ... - * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf] - (sysdep_routines): ... not here. - * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall - fallback when vDSO is not presented. - * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime): - Define with libc_hidden_proto/libc_hidden_data_def definitions. - (_libc_vdso_platform_setup): Rename to __vdso_platform_setup. - * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise. - * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ... - * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here. - * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ... - * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here. - * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ... - * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added - fallback configurable symbol when vDSO is not available. - * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ... - * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to - be able to redefine fallback symbol when vDSO is not available. - * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ... - * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here. - -2015-01-12 Adhemerval Zanella - - * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field. - (TLS_INIT_TP): Add tm_capable initialization. - (TLS_DEFINE_INIT_TP): Likewise. - (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from - TCB. - (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB. - * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset - calculation. - * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware - transactoion is lock elision is built and TCB tm_capable is set. - * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h - (INTERNAL_SYSCALL_NCS): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h - (INTERNAL_SYSCALL_NCS): Likewise. - * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define. - - * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support - for powerpc. - * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h - [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case - and remove it for 32 bits case. - [pthread_rwlock_t] (__rwelision): New field for lock elision. - (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field - initialization. - * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): - Disable lock elision with rdlocks if elision is not available. - - * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl] - (sysdep_routines): Add lock elision objects. - * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h - [pthread_mutex_t] (__spins): Rework to add lock elision field. - [pthread_mutex_t] (__elision): Add field. - [__PTHREAD_SPINS]: Adjust to init lock elision field. - * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock - elision definitions for powerpc. - * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file: - implementation of lock elision for powerpc. - * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file: - implementation of timed lock elision for powerpc. - * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file: - implementation of trylock with lock elision for powerpc. - * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file: - implementaion of unlock for lock elision for powerpc. - * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file: - automatic enable lock elision for mutexes. - * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware - transaction execution definitions for powerpc. - * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE - definitions. - * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file. - * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise. - * NEWS: Update. - -2015-01-09 Roland McGrath - - * sysdeps/posix/shm-directory.c: Use <> rather than "" - for #include of . - -2015-01-09 Chung-Lin Tang - - * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and - assign raw DT_REL[A]COUNT value to ranges[0].nrelative. - -2015-01-09 Matthew Fortune - - [BZ #17791] - * NEWS: Mention bug fix. - * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h - (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove. - (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove. - -2015-01-09 Torvald Riegel - - * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file. - -2015-01-09 Torvald Riegel - - * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file. - -2015-01-09 David Holsgrove - - * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void - pointer and cast to uintptr_t. - -2015-01-09 David Holsgrove - - * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function - removed. - (READ_THREAD_POINTER): Use __microblaze_thread_area instead. - -2015-01-09 David Holsgrove - - * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead - of 0. - -2015-01-08 Roland McGrath - - * sysdeps/pthread/timer_routines.c: Fix include to use - instead. - * sysdeps/pthread/aio_notify.c: Include for raise decl. - - * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not - already defined. - [__SIGRTMIN] (init): Function removed. - [__SIGRTMIN] (initialized): Variable removed. - [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed. - [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to - __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively. - (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init. - (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1. - (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias. - (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init. - (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1. - (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias. - (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init. - (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias. - * sysdeps/nptl/allocrtsig.c: New file. - * sysdeps/unix/sysv/linux/allocrtsig.c: File removed. - * sysdeps/unix/sysv/linux/testrtsig.h: File removed. - * sysdeps/generic/testrtsig.h: File removed. - - * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error. - (pthread_sigmask): Call sigprocmask, not __sigprocmask. - - * nptl/nptl-init.c (pthread_functions): Conditionalize - .ptr__nptl_setxid initialization on [SIGSETXID]. - - * sysdeps/nptl/sys/procfs.h: New file. - * nptl_db/Makefile (headers): Add it. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it. - - * nptl/pthreadP.h (check_cpuset_attr): Moved ... - * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file. - * nptl/pthread_attr_setaffinity.c: Include it. - * nptl/pthread_setattr_default_np.c: Likewise. - * nptl/check-cpuset.h: New file. - -2015-01-08 Richard Henderson - - * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines - (CFLAGS-tst-execstack-prog.c): Likewise. - * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise. - -2015-01-08 Chung-Lin Tang - Sandra Loosemore - Andrew Jenner - Joseph Myers - Nathan Sidwell - - * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II. - (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address. - (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations. - (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise. - (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise. - (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise. - (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise. - (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise. - (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise. - (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise. - (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise. - (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise. - (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise. - (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise. - (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise. - (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise. - (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise. - -2015-01-08 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first - timespec struct member in syscall macro. - * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise. - * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of - first timeval struct member in syscall macro. - * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise. - -2015-01-07 Joseph Myers - - [BZ #17748] - * include/fenv.h (__feupdateenv): Use libm_hidden_proto. - * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def. - * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to - __feupdateenv and define as weak alias of __feupdateenv. Use - libm_hidden_weak. - * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use - libm_hidden_def. - * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv - and define as weak alias of __feupdateenv. Use libm_hidden_weak. - * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise. - * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use - libm_hidden_def. - * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to - __feupdateenv and define as weak alias of __feupdateenv. Use - libm_hidden_weak. - * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use - libm_hidden_def. - * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to - __feupdateenv and define as weak alias of __feupdateenv. Use - libm_hidden_weak. - * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use - libm_hidden_def. - * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise. - * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c - (__feupdateenv): Likewise. - * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to - __feupdateenv and define as weak alias of __feupdateenv. Use - libm_hidden_weak. - * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise. - * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use - libm_hidden_def. - * sysdeps/tile/math_private.h (__feupdateenv): New inline - function. - * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use - libm_hidden_def. - * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call - __feupdateenv instead of feupdateenv. - (default_libc_feupdateenv_test): Likewise. - (libc_feresetround_ctx): Likewise. - -2015-01-07 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function - prototype. - -2015-01-07 Chris Metcalf - - * posix/regcomp.c (parse_bracket_exp): Initialize type to - COLL_SYM in a couple of places to avoid uninitialized variable - wanings on tilegx gcc 4.8.2. - -2015-01-07 Richard Earnshaw - - * sysdeps/aarch64/strcpy.S: New file. - * sysdeps/aarch64/stpcpy.S: New file. - * NEWS: Updated. - -2015-01-07 Richard Earnshaw - - * sysdeps/aarch64/strrchr.S: New file. - * NEWS: Updated. - -2015-01-07 Eric Biggers - - [BZ #17658] - * stdlib/setenv.c: Fix memory leak when setting large, - duplicate string. - -2015-01-06 Vladimir A. Nazarenko - - [BZ #17273] - * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces - and tabs from buffer before parsing fstab entry. - * misc/tst-mntent.c (main): Add test for mount entry with - trailing spaces and tabs. - -2015-01-06 Joseph Myers - - [BZ #17748] - * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto. - * math/fesetround.c (fesetround): Rename to __fesetround and - define as weak alias of __fesetround. Use libm_hidden_weak. - * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise. - * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise. - * sysdeps/arm/fesetround.c (fesetround): Likewise. - * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise. - * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise. - * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise. - * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise. - * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise. - * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to - __fesetround_inline. - * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call - __fesetround_inline instead of __fesetround. - * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to - __fesetround and define as weak alias of __fesetround. Use - libm_hidden_weak. Call __fesetround_inline instead of - __fesetround. - * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to - __fesetround and define as weak alias of __fesetround. Use - libm_hidden_weak. - * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround): - Likewise. - * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise. - * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise. - * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise. - * sysdeps/tile/math_private.h (__fesetround): New inline function. - * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to - __fesetround and define as weak alias of __fesetround. Use - libm_hidden_weak. - * sysdeps/generic/math_private.h (default_libc_fesetround): Call - __fesetround instead of fesetround. - (default_libc_feholdexcept_setround): Likewise. - (libc_feholdsetround_ctx): Likewise. - (libc_feholdsetround_noex_ctx): Likewise. - - [BZ #17748] - * include/fenv.h (__fesetenv): Use libm_hidden_proto. - * math/fesetenv.c (__fesetenv): Use libm_hidden_def. - * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv - and define as weak alias of __fesetenv. Use libm_hidden_weak. - * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def. - * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and - define as weak alias of __fesetenv. Use libm_hidden_weak. - * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise. - * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def. - * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and - define as weak alias of __fesetenv. Use libm_hidden_weak. - * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def. - * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and - define as weak alias of __fesetenv. Use libm_hidden_weak. - * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use - libm_hidden_def. - * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise. - * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv): - Likewise. - * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and - define as weak alias of __fesetenv. Use libm_hidden_weak. - * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise. - * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def. - * sysdeps/tile/math_private.h (__fesetenv): New inline function. - * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv - and define as weak alias of __fesetenv. Use libm_hidden_weak. - * sysdeps/generic/math_private.h (default_libc_fesetenv): Use - __fesetenv instead of fesetenv. - (libc_feresetround_noex_ctx): Likewise. - * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise. - * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise. - * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise. - * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise. - * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise. - * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise. - * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise. - * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c - (__feupdateenv): Likewise. - * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise. - * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise. - * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise. - * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise. - -2015-01-06 Aurelien Jarno - - [BZ #17806] - * resolv/res_init.c (__res_iclose): Only clear nsinit if the - addresses have been freed. - -2015-01-06 Aurelien Jarno - - * resolv/res_init.c (__res_vinit): Improve comments about nserv - and nservall. - -2015-01-06 Ondƙej BĂ­lka - - * sysdeps/unix/sysv/linux/check_pf.c (make_request): - Clean up check_pf allocation pattern. addresses - -2015-01-06 Adhemerval Zanella - - * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype. - * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise. - * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise. - * nptl/pthread_exit.c (__pthread_exit): Likewise. - * nptl/pthread_join.c (pthread_join): Likewise. - * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise. - * sysdeps/posix/waitid.c (__waitid): Likewise. - * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise. - * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise. - * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise. - * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise. - * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread): - Likewise. - * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c - (__libc_pread64): Likewise. - * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c - (__libc_pwrite): Likewise. - * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c - (__libc_pwrite64): Likewsie. - * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise. - * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise. - * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise. - * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise. - * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread): - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c - (__libc_pread64): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite): - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c - (__libc_pwrite64): Likewise. - * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise. - * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise. - * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise. - * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise. - * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise. - * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise. - * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise. - * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise. - * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise. - * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise. - * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise. - * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise. - * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise. - * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise. - * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv): - Likewise. - -2015-01-06 Andrew Senkevich - - * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math. - (CFLAGS-test-double.c): Likewise. - (CFLAGS-test-ldouble.c): Likewise. - (CPPFLAGS-test-ifloat.c): Likewise. - (CPPFLAGS-test-idouble.c): Likewise. - (CPPFLAGS-test-ildoubl.c): Likewise. - (CFLAGS-test-test-fenv.c): Remove variable. - (CFLAGS-test-misc.c): Likewise. - -2015-01-06 H.J. Lu - - [BZ #17797] - * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000). - * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise. - * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert - CLOCKS_PER_SEC == 1000000. - * time/clocktest.c (main): Replace %ld with %jd and cast to - intmax_t. - -2015-01-05 Roland McGrath - - * sysdeps/generic/unwind-resume.h: New file. - * sysdeps/gnu/unwind-resume.c: Include it. - (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype. - (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee - argument list. - (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden - global rather than static. - (_Unwind_Resume): Update user. - Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME]. - (init): Likewise. Renamed to __libgcc_s_init, made hidden global - rather than static. Add __attribute__ ((cold)). - (_Unwind_Resume, __gcc_personality_v0): Update callers. - * sysdeps/nptl/unwind-forcedunwind.c: Likewise. - * sysdeps/arm/arm-unwind-resume.S: New file. - * sysdeps/arm/rt-arm-unwind-resume.S: New file. - * sysdeps/arm/pt-arm-unwind-resume.S: New file. - * sysdeps/arm/Makefile [$(subdir) = csu] - (sysdep_routines, shared-only-routines): Add arm-unwind-resume. - [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines): - Add rt-arm-unwind-resume. - [$(subdir) = nptl] - (libpthread-sysdep_routines, libpthread-shared-only-routines): - Add pt-arm-unwind-resume. - * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed. - * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed. - -2015-01-05 Joseph Myers - - [BZ #17748] - * include/fenv.h (__feholdexcept): Declare. Use - libm_hidden_proto. - * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and - define as weak alias of __feholdexcept. Use libm_hidden_weak. - * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise. - * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise. - * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise. - * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise. - * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise. - * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise. - * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise. - * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise. - * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise. - * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise. - * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c - (feholdexcept): Likewise. - * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise. - * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise. - * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise. - * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise. - * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use - __feholdexcept instead of feholdexcept. - (default_libc_feholdexcept_setround): Likewise. - -2015-01-05 Steve Ellcey - - * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6 - to avoid using stl/str to align destination. - -2015-01-05 Steve Ellcey - - * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6. - -2015-01-05 Joseph Myers - - [BZ #17796] - * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c - [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64): - Define as weak alias not strong alias. - -2015-01-05 Steve Ellcey - - * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace - bltzal with addiupc. - (RTLD_START): Ditto. - -2015-01-05 Chris Metcalf - - * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type - for __vdso_* functions in declarations. - * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for - definitions. - * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL, - INTERNAL_VSYSCALL): Use struct return types to check for error. - - * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64 - && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround() - function with cast from llround(). - * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define. - * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64): - Define. - -2015-01-05 Joseph Myers - - [BZ #17793] - * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64): - Define as weak alias not strong alias. - - [BZ #17635] - * ctype/ctype-c99.c: New file. isblank implementation moved from - ... - * ctype/ctype-extn.c: ... here. - (__isblank_l): Move to ... - * ctype/ctype-c99_l.c: ... here. New file. - * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l. - * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace): - Remove variable. - (test-xfail-ISO11/ctype.h/linknamespace): Likewise. - (test-xfail-XPG3/ctype.h/linknamespace): Likewise. - (test-xfail-XPG4/ctype.h/linknamespace): Likewise. - (test-xfail-UNIX98/ctype.h/linknamespace): Likewise. - (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise. - - [BZ #17777] - * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c - (posix_fadvise64): Define as weak alias not strong alias. - * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c - (posix_fallocate64): Likewise. - * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace): - Remove variable. - (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise. - (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise. - (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise. - -2015-01-05 Matthew Fortune - - [BZ #16191] - * NEWS: Mention bug fix. - * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove. - (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise. - (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise. - (HOST_STACK_END_ADDR): Likewise. - -2015-01-02 Joseph Myers - - [BZ #17748] - * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto. - * math/fegetround.c (fegetround): Rename to __fegetround and - define as weak alias of __fegetround. Use libm_hidden_weak. - * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise. - * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise. - * sysdeps/arm/fegetround.c (fegetround): Likewise. - * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise. - * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise. - * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise. - * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise. - * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise. - * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise. - Undefine after rather than before function definition; use - parentheses around function name in definition. - (__fegetround): Also undefine macro after function definition. - * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to - __fegetround and define as weak alias of __fegetround. Use - libm_hidden_weak. Do not undefine as macro. - * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround): - Likewise. - * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to - __fegetround and define as weak alias of __fegetround. Use - libm_hidden_weak. - * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise. - * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise. - * sysdeps/tile/math_private.h (__fegetround): New inline function. - * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to - __fegetround and define as weak alias of __fegetround. Use - libm_hidden_weak. - * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use - __fegetround instead of fegetround. - - [BZ #17782] - * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT): - Condition macro definition on [__USE_MISC]. - - [BZ #17781] - * sysdeps/unix/sysv/linux/mips/bits/sigaction.h - (struct sigaction): Change type of sa_flags field to int. - - [BZ #17780] - * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock) - [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to - __glibc_reserved0. - - * nptl/version.c (banner): Use single year in copyright notice. - - * NEWS: Update copyright dates. - * catgets/gencat.c (print_version): Likewise. - * csu/version.c (banner): Likewise. - * debug/catchsegv.sh: Likewise. - * debug/pcprofiledump.c (print_version): Likewise. - * debug/xtrace.sh (do_version): Likewise. - * elf/ldconfig.c (print_version): Likewise. - * elf/ldd.bash.in: Likewise. - * elf/pldd.c (print_version): Likewise. - * elf/sotruss.sh: Likewise. - * elf/sprof.c (print_version): Likewise. - * iconv/iconv_prog.c (print_version): Likewise. - * iconv/iconvconfig.c (print_version): Likewise. - * locale/programs/locale.c (print_version): Likewise. - * locale/programs/localedef.c (print_version): Likewise. - * login/programs/pt_chown.c (print_version): Likewise. - * malloc/memusage.sh (do_version): Likewise. - * malloc/memusagestat.c (print_version): Likewise. - * malloc/mtrace.pl: Likewise. - * manual/libc.texinfo: Likewise. - * nptl/version.c (banner): Likewise. - * nscd/nscd.c (print_version): Likewise. - * nss/getent.c (print_version): Likewise. - * nss/makedb.c (print_version): Likewise. - * posix/getconf.c (main): Likewise. - * scripts/test-installation.pl: Likewise. - * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise. - -2015-01-02 Will Newton - - * sysdeps/arm/armv7/configure: Removed. - * sysdeps/arm/armv7/configure.ac: Likewise. - -2015-01-02 Joseph Myers - - * All files with FSF copyright notices: Update copyright dates - using scripts/update-copyrights. - * intl/plural.c: Regenerated. - * locale/programs/charmap-kw.h: Likewise. - * locale/programs/locfile-kw.h: Likewise. - -2015-01-02 Siddhesh Poyarekar - - * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf. - -2014-12-31 Joseph Myers - - [BZ #17748] - * include/fenv.h (__fegetenv): Use libm_hidden_proto. - * math/fegetenv.c (__fegetenv): Use libm_hidden_def. - * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv - and define as weak alias of __fegetenv. Use libm_hidden_weak. - * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def. - * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and - define as weak alias of __fegetenv. Use libm_hidden_weak. - * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise. - * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def. - * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and - define as weak alias of __fegetenv. Use libm_hidden_weak. - * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def. - * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and - define as weak alias of __fegetenv. Use libm_hidden_weak. - * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use - libm_hidden_def. - * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise. - * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv): - Likewise. - * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and - define as weak alias of __fegetenv. Use libm_hidden_weak. - * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise. - * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def. - * sysdeps/tile/math_private.h (__fegetenv): New inline function. - * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv - and define as weak alias of __fegetenv. Use libm_hidden_weak. - * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use - __fegetenv instead of fegetenv. - (libc_feholdsetround_noex_ctx): Likewise. - -2014-12-31 Matthew Fortune - - * elf/elf.h (PT_MIPS_ABIFLAGS): Define. - (Elf_MIPS_ABIFlags_v0): New structure. - (EF_MIPS_FP64): Define. - (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise. - (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise. - (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise. - (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise. - (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise. - (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise. - (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise. - (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise. - (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise. - (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise. - (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise. - (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise. - (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise. - (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise. - (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values. - (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise. - (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise. - (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise. - (Val_GNU_MIPS_ABI_FP_MAX): Likewise. - * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink, - tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests. - * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode - field. - * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject - EF_MIPS_FP64. - * sysdeps/mips/dl-machine-reject-phdr.h: New file. - * sysdeps/mips/tst-abi-fp32mod.c: Likewise. - * sysdeps/mips/tst-abi-fpxxmod.c: Likewise. - * sysdeps/mips/tst-abi-fpxxomod.c: Likewise. - * sysdeps/mips/tst-abi-fp64mod.c: Likewise. - * sysdeps/mips/tst-abi-fp64amod.c: Likewise. - * sysdeps/mips/tst-abi-interlink.c: Likewise. - * sysdeps/mips/tst-mode-switch-1.c: Likewise. - * sysdeps/mips/tst-mode-switch-2.c: Likewise. - * sysdeps/mips/tst-mode-switch-3.c: Likewise. - * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to - record the current FP ABI extension. - (mips-mode-switch): Define to show if kernel headers support mode - switching. - * sysdeps/unix/sysv/linux/mips/configure: Regenerate. - * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum - supported SYSV ABI version to 3. - * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64 - feature. - -2014-12-31 Rajalakshmi Srinivasaraghavan - Adhemerval Zanella - - * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned - path. - * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs. - -2014-12-31 Joseph Myers - - * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to - __fegetround and redefine to call __fegetround. Remove condition - on [!__NO_MATH_INLINES]. - * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline - function. - * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file. - * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround): - Remove macro. - * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include - instead of . - (__llrintl): Call fegetround instead of __fegetround. - * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include - instead of . - * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise. - (__lrintl): Call fegetround instead of __fegetround. - * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include - instead of . - * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise. - (__rintl): Call fegetround instead of __fegetround. - -2014-12-31 Siddhesh Poyarekar - - * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional - arrays. - -2014-12-30 H.J. Lu - - [BZ #17775] - * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed. - (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise. - (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise. - -2014-12-30 Andrew Senkevich - - * sysdeps/i386/tls-macros.h: Include . - (TLS_LE): Use non-PIC version for GCC >= 5.0. - (TLS_IE): Likewise. - (TLS_LD): Likewise. - (TLS_GD): Likewise. - * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't - define for GCC >= 5.0. - -2014-12-30 Chris Metcalf - - * math/test-fenv.c (test_single_exception, set_single_exc, - feenv_nomask_test, feenv_mask_test, feexcp_nomask_test, - feexcp_mask_test, feenable_test, fe_single_test): Add - [!FE_ALL_EXCEPT] test so these routines are not compiled in the - case where they are not used. - * math/libm-test.inc: Likewise. - * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable - unused in the absence of FP rounding/exception support. - * stdio-common/tst-printf-round.c: Likewise. - * stdlib/tst-strtod-round.c: Likewise. - * stdlib/tst-strtod-underflow.c: Likewise. - -2014-12-30 Joseph Myers - - [BZ #17723] - * include/fenv.h (__feraiseexcept): Use libm_hidden_proto. - * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def. - * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to - __feraiseexcept and define as weak alias of __feraiseexcept. Use - libm_hidden_weak. - * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise. - * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise. - * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use - libm_hidden_def. - * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to - __feraiseexcept and define as weak alias of __feraiseexcept. Use - libm_hidden_weak. - * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept): - Likewise. - * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro. - * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to - __feraiseexcept and define as weak alias of __feraiseexcept. Use - libm_hidden_weak. - * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use - libm_hidden_def. - * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise. - * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c - (__feraiseexcept): Likewise. - * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to - __feraiseexcept and define as weak alias of __feraiseexcept. Use - libm_hidden_weak. - * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise. - * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use - libm_hidden_def. - * sysdeps/tile/math_private.h (__feraiseexcept): New macro. - * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept): - Use libm_hidden_def. - * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use - libm_hidden_def. - (feraiseexcept): Define as weak not strong alias. Use - libm_hidden_weak. - * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero): - New inline function. Factored out of ... - (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero. - * sysdeps/x86/fpu/include/bits/fenv.h: New file. - * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of - feraiseexcept. - * math/w_acos.c (__acos): Likewise. - * math/w_asin.c (__asin): Likewise. - * math/w_ilogb.c (__ilogb): Likewise. - * math/w_j0.c (y0): Likewise. - * math/w_j1.c (y1): Likewise. - * math/w_jn.c (yn): Likewise. - * math/w_log.c (__log): Likewise. - * math/w_log10.c (__log10): Likewise. - * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise. - * sysdeps/aarch64/fpu/math_private.h - (libc_feupdateenv_test_aarch64): Likewise. - * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise. - * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise. - * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise. - * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise. - * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise. - * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise. - * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise. - * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise. - * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise. - * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise. - -2014-12-30 H.J. Lu - - [BZ #17732] - * io/test-utime.c (main): Replace %ld with %jd and cast to - intmax_t. - * libio/tst-ftell-active-handler.c (do_append_test): Likewise. - * nptl/tst-mutex5.c: Include . - (do_test): Replace %ld with %jd and cast to intmax_t. - * posix/tst-regex.c (run_test): Likewise. - (run_test_backwards): Likewise. - * rt/tst-clock.c: Include . - (clock_test): Replace %ld with %jd and cast to intmax_t. - * rt/tst-cpuclock1.c: Include . - (do_test): Replace %lu with %ju and cast to uintmax_t. - * rt/tst-cpuclock2.c: Include . - (do_test): Replace %lu with %ju and cast to uintmax_t. - * rt/tst-mqueue1.c: Include . - (check_attrs): Replace %ld with %jd and cast to intmax_t. - * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to - intmax_t. - * rt/tst-mqueue4.c (do_test): Likewise. - * rt/tst-timer4.c: Include . - (check_ts): Replace %ld with %jd and cast to intmax_t. - (do_test): Likewise. - * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd - and cast to intmax_t. - * sysdeps/pthread/tst-timer.c (main): Likewise. - * time/clocktest.c (main): Likewise. - * time/tst-posixtz.c (do_test): Likewise. - * timezone/tst-timezone.c (main): Likewise. - -2014-12-30 Andrew Senkevich - H.J. Lu - - * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file. - * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise. - * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise. - * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise. - * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned - version if bit_Fast_Unaligned_Load is set. - * sysdeps/i386/i686/multiarch/memcpy.S: Likewise. - * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise. - * sysdeps/i386/i686/multiarch/memmove.S: Likewise. - * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise. - * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise. - * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise. - * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add - bcopy-sse2-unaligned, memcpy-sse2-unaligned, - memmove-sse2-unaligned and mempcpy-sse2-unaligned. - * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set - to 4. - (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned, - __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned, - __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned, - __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned. - -2014-12-29 Chris Metcalf - - * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef - instead of #if to avoid a Wundef warning. - * stdlib/tst-limits.c (do_test): Likewise. - - * sysdeps/tile/math_private.h (fetestexcept): Add macro to - parallel other exception macros. - (fegetenv): Convert from macro to extern inline so that it applies - retroactively to inline functions already seen by the compiler. - (fesetenv, feupdateenv, fegetround, fesetround): Likewise. - - * posix/Makefile (before-compile): Use $(objpfx) for - posix-conf-vars-def.h. - -2014-12-29 Siddhesh Poyarekar - - * posix/getconf.c (main): Use size_t for type of I. - * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of - NSPEC. - - * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix. - * posix/confstr.c: Define NEED_SPEC_ARRAY to 0. - * posix/posix-envs.def: Likewise. - * sysdeps/posix/sysconf.c: Likewise. - * posix/getconf.c: Define NEED_SPEC_ARRAY to 1. - (specs): Remove array. - * scripts/gen-posix-conf-vars.awk: Support generation of specs - array. - - * posix/posix-conf-vars.list: Add _POSIX sysconf namespace. - * sysdeps/posix/sysconf.c: Include posix-conf-vars.h. - (__sysconf): Use CONF_IS_* macros. - - * posix/Makefile (before-compile): Add posix-conf-vars-def.h. - ($(objpfx)posix-conf-vars-def.h): New target. - * posix/posix-conf-vars.list: New file. - * posix/posix-conf-vars.h: New file. - * posix/confstr.c: Include posix-conf-vars.h. - (confstr): Use CONF_IS_* macros. - * posix/posix-envs.def: Include posix-conf-vars.h. Use - CONF_IS_* macros. - * scripts/gen-posix-conf-vars.awk: New file. - -2014-12-26 Chris Metcalf - - * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv, - fegetround): Add no-op macros to avoid linknamespace issues. - - * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove - definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL. - - * sysdeps/unix/sysv/linux/tile/sysdep.h - (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of - assembly-specific section to avoid a redefinition warning. - - * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to - long before casting to pointer to avoid a cast warning. - -2014-12-23 Chris Metcalf - - * sysdeps/tile/tilegx/Implies: New file. - -2014-12-23 Richard Earnshaw - - * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy. - -2014-12-23 Florian Weimer - - * iconvdata/run-iconv-test.sh: Actually test iconv modules. - -2014-12-22 Joseph Myers - - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do - not define. - * sysdeps/unix/sysv/linux/utimes.c: Do not include - . - (__utimes) [__NR_utimes]: Make code unconditional. - (__utimes) [!__ASSUME_UTIMES]: Remove conditional code. - * sysdeps/unix/sysv/linux/aarch64/kernel-features.h - (__ASSUME_UTIMES): Do not undefine. - * sysdeps/unix/sysv/linux/tile/kernel-features.h - (__ASSUME_UTIMES): Likewise. - * sysdeps/unix/sysv/linux/hppa/kernel-features.h - (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00] - instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00]. - * sysdeps/unix/sysv/linux/hppa/utimes.c: New file. - -2014-12-22 Steve Ellcey - - * sysdeps/mips/memcpy.S: Fix preprocessor indentation. - -2014-12-22 Chris Metcalf - - [BZ #17747] - * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong - alias to weak alias for j0l, y0l. - * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise. - * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise. - - [BZ #17746] - * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean - conversion. - -2014-12-22 Steve Ellcey - - * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set - to zero if not already defined. - -2014-12-22 Joseph Myers - - [BZ #17724] - * sysdeps/ieee754/k_standard.c: Don't include . - (__kernel_standard_f): Remove. Moved to k_standardf.c. - (__kernel_standard_l): Remove. Moved to k_standardl.c with - (char *) casts added. - * sysdeps/ieee754/k_standardf.c: New file. - * sysdeps/ieee754/k_standardl.c: Likewise. - * math/Makefile (libm-support): Remove k_standard. - (libm-calls): Add k_standard. - -2014-12-22 Wilco Dijkstra - - * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): - Optimize to avoid an unnecessary FPCR read. - -2014-12-22 Wilco Dijkstra - - * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): - Optimize to reduce FPCR/FPSR accesses. - -2014-12-22 Wilco Dijkstra - - * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept): - Call libc_fetestexcept_aarch64. - -2014-12-22 Wilco Dijkstra - - * sysdeps/aarch64/fpu/fesetround.c (fesetround): - Call libc_fesetround_aarch64. - -2014-12-22 Joseph Myers - - [BZ #17733] - * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define. - (__bind): Do not define as weak alias. - * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not - define. - (__getsockname): Do not define as weak alias. - -2014-12-22 Will Newton - - * manual/install.texi: Document that we require bison 2.7 - or above. - * INSTALL: Regenerate. - * configure.ac: Use AC_CHECK_PROG_VER instead of - AC_PATH_PROG when checking for bison and check for - version 2.7 or above. - * configure: Regenerate. - -2014-12-21 Chris Metcalf - - [BZ #17745] - * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition... - * sysdeps/tile/ffsll.c (ffsll): To here. - - * sysdeps/unix/sysv/linux/tile/localplt.data: Removed. - -2014-12-21 H.J. Lu - - * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition - if not defined. - * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden - definition. - * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the - hidden ___tls_get_addr. - * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the - hidden __tls_get_addr. - * sysdeps/generic/localplt.data (__tls_get_addr): Removed. - * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr): - Likewise. - -2014-12-21 Andreas Schwab - - * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from - _dl_init call. - -2014-12-21 H.J. Lu - - * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT - from "call _dl_init@PLT". - * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise. - -2014-12-21 Anders Kaseorg - - * manual/search.texi: (Array Sort Function): Clarify stable sorting - guarantees. - -2014-12-20 Chris Metcalf - - * sysdeps/unix/sysv/linux/tile/localplt.data: New file. - -2014-12-19 Chris Metcalf - - [BZ #17744] - * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not - strnlen. - -2014-12-19 Steve Ellcey - - * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead - of multu on MIPSr6. - * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto. - * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto. - * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto. - * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto. - * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto. - -2014-12-19 Steve Ellcey - - * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6. - (PTR_ADDIU): Use addiu for mips32r6/mips64r6. - (PTR_SUBU): Use subu for mips32r6/mips64r6. - (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist). - * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for - mips32r6/mips64r6. - (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6. - -2014-12-19 Ondƙej BĂ­lka - - * string/strncat.c (STRNCAT): Simplify implementation. - -2014-12-19 David S. Miller - - * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to - access the quad as both a long double and as a series of 4 words. - - * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a - link_map->l_info array access. - -2014-12-19 Chris Metcalf - - * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec. - - * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec. - * math/atest-exp2.c (TIMEOUT): Likewise. - * math/atest-sincos.c (TIMEOUT): Likewise. - -2014-12-19 H.J. Lu - - * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace - -Wno-error with -fno-builtin-lround. - -2014-12-19 Torvald Riegel - - * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file. - Contains futex constants and functions moved over from ... - * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include - . - (lll_wait_tid): Use lll_futex_wait instead of assembly code. - (lll_timedwait_tid): Add comments and parentheses around macro - arguments. - -2014-12-19 Torvald Riegel - - * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include - . Remove FUTEX_* constants defined there. - (__lll_private_flag): Remove. - (lll_futex_wait): Likewise. - (lll_futex_timed_wait): Likewise. - (lll_futex_wake): Likewise. - (lll_futex_requeue): Likewise. - (lll_wait_tid): Use lll_futex_wait instead of assembly code. - (__lll_timedwait_tid): Spell out argument names. - (lll_timedwait_tid): Add comments and parentheses around macro - arguments. - * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants, - LLL_SHARED and LLL_PRIVATE usable from assembly code. - -2014-12-19 Torvald Riegel - - * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file. - * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise. - * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise. - * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise. - * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise. - * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise. - * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise. - * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise. - * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise. - * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise. - * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise. - * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise. - * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise. - * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise. - * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise. - * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise. - * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise. - -2014-12-19 H.J. Lu - - * sysdeps/x86_64/x32/Makefile: New file. - -2014-12-19 H.J. Lu - - * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace - 1L with (mp_limb_t) 1. - -2014-12-17 Roland McGrath - - * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ... - * nptl/libc_pthread_init.c: ... here. - * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ... - * nptl/register-atfork.c: ... here. - - * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): - Use pthread_sigmask rather than INTERNAL_SYSCALL. - Use assert_perror to check its return value. - (__gai_create_helper_thread): Likewise. - - * inet/if_index.c (__if_freenameindex): Add libc_hidden_def. - - * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword. - -2014-12-17 Joseph Myers - - [BZ #17725] - * sysdeps/generic/profil-counter.h (profil_counter): Rename to - __profil_counter. - * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter): - Likewise. - * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter): - Likewise. - * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter): - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h - (profil_counter): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h - (profil_counter): Likewise. - * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter): - Likewise. - * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter): - Likewise. - * sysdeps/unix/sysv/linux/x86_64/profil-counter.h - (profil_counter): Likewise. - * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter): - Likewise. - [!__profil_counter] (profil_counter): Define as weak alias of - __profil_counter. - * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h - (profil_counter): Rename to __profil_counter. - [!__profil_counter] (profil_counter): Define as weak alias of - __profil_counter. - * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h - (profil_counter): Rename to __profil_counter. - [!__profil_counter] (profil_counter): Define as weak alias of - __profil_counter. - * sysdeps/posix/profil.c: Update comment referring to - profil_counter. - (__profil): Use __profil_counter instead of profil_counter. - * sysdeps/posix/sprofil.c (profil_counter): Rename to - __profil_counter. Use __profil_counter_ushort and - __profil_counter_uint in definitions. - (__sprofil): Use __profil_counter_uint and __profil_counter_ushort - instead of profil_counter_uint and profil_counter_ushort. - - [BZ #17722] - * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and - define as weak alias of __inet_makeaddr. - * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define - as weak alias of __inet_addr. - * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define - as weak alias of __inet_pton. Use libc_hidden_weak. - * include/arpa/inet.h (__inet_pton): Declare. Use - libc_hidden_proto. - (inet_makeaddr): Don't use libc_hidden_proto. - (__inet_makeaddr): Declare. Use libc_hidden_proto. - * resolv/res_init.c (__res_vinit): Use __inet_pton instead of - inet_pton. Use __inet_makeaddr instead of inet_makeaddr. - * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace): - Remove variable. - (test-xfail-POSIX/sched.h/linknamespace): Likewise. - (test-xfail-POSIX/time.h/linknamespace): Likewise. - -2014-12-17 Steve Ellcey - - * inet/getnetgrent_r.c: Move while loop to be inside if statement. - -2014-12-17 Stefan Liebler - - * stdio-common/bug-vfprintf-nargs.c (do_test): - Cast value to intptr_t to avoid format warning - for usage with PRIdPTR printing macro. - -2014-12-17 Stefan Liebler - - * libio/tst-widetext.c (do_test): - Use format type %td instead of %Zd for ptrdiff_t - in order to avoid format warning. - -2014-12-17 Andreas Schwab - - * nscd/mem.c (gc): Add size_t cast to match printf format. - -2014-12-16 Roland McGrath - - * sysdeps/gnu/unwind-resume.c: #include . - (init): Apply PTR_MANGLE to pointers before storing them. - (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers - before using them. - -2014-12-16 Joseph Myers - - [BZ #17719] - * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and - define as weak alias of __memrchr. - (__memrchr): Do not define as strong alias of memrchr. - * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace): - Remove variable. - (test-xfail-UNIX98/libgen.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise. - - [BZ #17717] - * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and - define as weak alias of __if_nametoindex. Use libc_hidden_weak. - (if_indextoname): Rename to __if_indextoname and define as weak - alias of __if_indextoname. Use libc_hidden_weak. - (if_freenameindex): Rename to __if_freenameindex and define as - weak alias of __if_freenameindex. - (if_nameindex): Rename to __if_nameindex and define as weak alias - of __if_nameindex. - * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to - __if_nametoindex and define as weak alias of __if_nametoindex. - Use libc_hidden_weak. - (if_freenameindex): Rename to __if_freenameindex and define as - weak alias of __if_freenameindex. - (if_nameindex): Rename to __if_nameindex and define as weak alias - of __if_nameindex. - (if_indextoname): Rename to __if_indextoname and define as weak - alias of __if_indextoname. Use libc_hidden_weak. - * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to - __if_nametoindex and define as weak alias of __if_nametoindex. - Use libc_hidden_weak. - (if_freenameindex): Rename to __if_freenameindex and define as - weak alias of __if_freenameindex. Use libc_hidden_weak. - (if_nameindex_netlink): Use __if_freenameindex instead of - if_freenameindex. - (if_nameindex): Rename to __if_nameindex and define as weak alias - of __if_nameindex. Use libc_hidden_weak. - (if_indextoname): Rename to __if_indextoname and define as weak - alias of __if_indextoname. Use libc_hidden_weak. - * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use - libc_hidden_proto. - [!_ISOMAC] (__if_freenameindex): Likewise. - * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of - if_nametoindex. - * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove - variable. - (test-xfail-XPG4/pwd.h/linknamespace): Likewise. - (test-xfail-UNIX98/aio.h/linknamespace): Likewise. - (test-xfail-UNIX98/grp.h/linknamespace): Likewise. - (test-xfail-UNIX98/pthread.h/linknamespace): Likewise. - (test-xfail-UNIX98/pwd.h/linknamespace): Likewise. - (test-xfail-UNIX98/sched.h/linknamespace): Likewise. - (test-xfail-UNIX98/time.h/linknamespace): Likewise. - - * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace): - Remove variable. - (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise. - -2014-12-16 Siddhesh Poyarekar - - * resolv/res_send.c (__libc_res_nsend): Disable warning 'array - subscript above bounds' - - * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap - bounds. - -2014-12-16 Arjun Shankar - - * libio/tst-fopenloc.c: Use test-skeleton.c. - - * stdlib/tst-bsearch.c: Use test-skeleton.c. - (entry): Rename to ITEM. - (do_test, comp): Adjust. - - * stdio-common/tst-fseek.c: Use test-skeleton.c. - -2014-12-16 Torvald Riegel - - * string/tester.c: Include . - (test_memset): Ignore -Wmemset-transposed-args. - -2014-12-16 Torvald Riegel - - * misc/tst-mntent2.c (do_test): Fix warning. - -2014-12-16 Torvald Riegel - - * elf/tst-unique4lib.cc(a): Mark as used. - -2014-12-16 Florian Weimer - - [BZ #17630] - * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias - names. - -2014-12-16 Allan McRae - - * stdio-common/Makefile (tests): Re-add bug26. - -2014-12-15 Ondƙej BĂ­lka - - [BZ #17657] - * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return - static array. - -2014-12-15 Bernard Ogden - - * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments. - (__lll_lock_wait): Likewise. - (__lll_timedlock_wait): Likewise. - (__lll_timedwait_tid): Likewise. - * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise. - (__lll_robust_timedlock_wait): Likewise. - * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise. - (lll_cond_trylock): Likewise. - (__lll_lock): Likewise. - (__lll_robust_lock): Likewise. - (__lll_cond_lock): Likewise. - (lll_robust_cond_lock): Likewise. - (__lll_timedlock): Likewise. - (__lll_robust_timedlock): Likewise. - (__lll_unlock): Likewise. - (__lll_robust_unlock): Likewise. - (lll_wait_tid): Likewise. - (lll_timedwait_tid): Likewise. - -2014-12-15 Torvald Riegel - - * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state. - -2014-12-15 Torvald Riegel - - * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled. - -2014-12-15 Adhemerval Zanella - - * stdio-common/test-vfprintf.c: Include . - * stdio-common/tst-sprintf.c: Likewise. - -2014-12-15 Torvald Riegel - - * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file. - -2014-12-15 Jeff Law - - [BZ #16617] - * stdio-common/vfprintf.c (vfprintf): Allocate large specs array - on the heap. (CVE-2012-3406) - * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file. - * stdio-common/bug23-4.c: New file. Test case by Joseph Myers. - * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4. - -2014-12-15 Will Newton - - * manual/install.texi: Bump required version of texinfo - to 4.7 from 4.5. - * INSTALL: Regenerated. - * configure.ac: Check for makeinfo version 4.7 and above. - * configure: Regenerated. - -2014-12-12 Roland McGrath - - * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument - PREFIX, string constant to insert between directory and name. - * sysdeps/posix/shm_open.c: Update caller. - * sysdeps/posix/shm_unlink.c: Likewise. - * nptl/semaphoreP.h (struct mountpoint_info): Type removed. - (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed. - (SEM_SHM_PREFIX): New macro. - * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if - [$(have-thread-library) = no]. - * nptl/Makefile (libpthread-routines): Add shm-directory. - * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory. - * sysdeps/nptl/shm-directory.h: New file. - * sysdeps/posix/shm-directory.c - [IS_IN (libpthread)] (__shm_directory): Add hidden_def. - * sysdeps/unix/sysv/linux/shm-directory.c: Likewise. - * nptl/sem_open.c (check_add_mapping): Use munmap function rather than - INTERNAL_SYSCALL. - (__where_is_shmfs): Function removed. - (mountpoint, defaultmount, defaultdir, __namedsem_once): - Variables removed. - (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL. - Use SHM_GET_NAME. - * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME. - - * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)] - (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as - unconditional for use inside libpthread. - [IS_IN (libpthread)]: Include . - -2014-12-12 Roland McGrath - - * nptl/pthread_getaffinity.c: New file. - * nptl/pthread_setaffinity.c: New file. - * nptl/pthread_getname.c: New file. - * nptl/pthread_setname.c: New file. - - * nptl/pthread_create.c (START_THREAD_DEFN) - [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument. - -2014-12-12 Stefan Liebler - Adhemerval Zanella - - * resolv/res_send.c (send_vc): Disable warning resplen may - be used uninitialized. - -2014-12-12 Stefan Liebler - - * nptl/tst-mutex6.c - (ATTR_NULL): New define checks ATTR against NULL. - (do_test): Use !ATTR_NULL instead of ATTR != NULL. - * nptl/tst-mutexpp6.c (ATTR_NULL): New define. - -2014-12-11 James Lemke - - [BZ #17581] - * malloc/hooks.c - (mem2mem_check): Revert my previous change. - (malloc_check_get_size): Revert my previous change. - (mem2chunk_check): Revert my previous change. - -2014-12-11 Roland McGrath - - * sysdeps/posix/shm-directory.c: New file. - * sysdeps/posix/shm-directory.h: New file. - * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it. - * sysdeps/posix/shm_open.c: Use SHM_GET_NAME. - Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL. - * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME. - Transmute EPERM to EACCES. - * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken - from ... - * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed. - * sysdeps/unix/sysv/linux/shm_unlink.c: File removed. - -2014-12-11 Kaz Kojima - - * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void - pointer and cast to uintptr_t. - * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0. - * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait): - Add cast to avoid warning. - * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL. - -2014-12-11 Joseph Myers - - * nptl/semaphore.h: Move to ... - * sysdeps/pthread/semaphore.h: ... here. - * Makefile (installed-headers): Change nptl/semaphore.h to - sysdeps/pthread/semaphore.h. - -2014-12-11 Roland McGrath - - * misc/tst-error1.c (do_test): Ignore -Wformat-security for - generated error format strings. - - * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and - -Wformat-extra-args warnings for scanf formats. - * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around - test of zero-length format (duh). - * stdio-common/scanf7.c (main): Ignore -Wformat warnings for - corner-case scanf format test. - * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for - generated fprintf format string. - * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for - corner-case sprintf format tests. - * stdio-common/tst-printf.c: Ignore -Wformat throughout. - * stdio-common/tst-printfsz.c (main): Ignore -Wformat and - -Wformat-extra-args warnings throughout. - * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed. - (CFLAGS-scanf4.c): Likewise. - (CFLAGS-scanf7.c): Likewise. - (CFLAGS-tst-sprintf.c): Likewise. - (CFLAGS-tst-printf.c): Likewise. - (CFLAGS-tst-printfsz.c): Likewise. - -2014-12-11 Joseph Myers - - * include/cpio.h: New file. - * include/fmtmsg.h: Likewise. - - * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast - corresponding format argument to size_t. - * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t - arguments. - * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast - corresponding format argument to size_t. - * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t - arguments. - * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast - corresponding format argument to size_t. - * tst-trans.c (do_test): Use %lc format for wint_t arguments. - * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable. - (CFLAGS-tst-mbswcs2.c): Likewise. - (CFLAGS-tst-mbswcs3.c): Likewise. - (CFLAGS-tst-mbswcs4.c): Likewise. - (CFLAGS-tst-mbswcs5.c): Likewise. - (CFLAGS-tst-trans.c): Likewise. - -2014-12-11 Roland McGrath - - * posix/regexbug1.c (main): Use "%s" format with regerror results, - rather than assuming they won't contain any '%'s. - -2014-12-11 Chris Metcalf - - * sysdeps/tile/tilegx/memset.c (__memcpy): Add - inhibit_loop_to_libcall to avoid recursive calls. - * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise. - * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise. - -2014-12-11 Adhemerval Zanella - - * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function - prototype. - -2014-12-11 Steve Ellcey - - * sysdeps/mips/dl-trampoline.c: Modify switch expression to have - integer value instead of boolean. - -2014-12-11 Steve Ellcey - - * malloc/malloc.c: Fix powerof2 check. - -2014-12-11 Stefan Liebler - - * locale/programs/locfile.h (maybe_swap_uint32): - Remove inline and add unused attribute. - -2014-12-11 Stefan Liebler - - * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address): - Truncating assembler expression to a .long expression. - -2014-12-11 Andreas Schwab - - * elf/rtld.c (struct map_args): Constify str member. - (do_preload): Constify fname argument. - -2014-12-11 Adhemerval Zanella - - * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for - constants definition. - -2014-12-11 Andreas Schwab - - [BZ #16657] - * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use - FORCE_ELISION instead of DO_ELISION. - * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION): - Remove. - * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION): - Likewise. - - * iconvdata/gconv-modules: Remove duplicate entry. - -2014-12-11 Will Newton - - Merge gettext 0.19.3 into intl/. - - This involves a number of cosmetic changes to comments - and ANSI function definitions and prototypes throughout - all the files. The gettext copyright header is used but - with the date ranges taken from the glibc copy. - - * NEWS: Add gettext merge to 2.21. - * intl/bindtextdom.c: Switch to gettext copyright. - Use ANSI definitions and prototypes. - Use gl_* locking primitives rather than __libc_* ones. - Use __builtin_expect rather than __glibc_likely/unlikely. - * intl/dcgettext.c: Switch to gettext copyright. - Use ANSI definitions and prototypes. - * intl/dcigettext.c: Switch to gettext copyright. - Use ANSI definitions and prototypes. - (INTDIV0_RAISES_SIGFPE): New define. - Use gl_* locking primitives rather than __libc_* ones. - Include eval-plural.h instead of plural-eval.c. - Use __builtin_expect rather than __glibc_likely/unlikely. - * intl/dcngettext.c: Switch to gettext copyright. - Use ANSI definitions and prototypes. - * intl/dgettext.c: Likewise. - * intl/dngettext.c: Likewise. - * intl/plural-eval.c: Renamed to... - * intl/eval-plural.h: ...this. - * intl/explodename.c: Switch to gettext copyright. - Use ANSI definitions and prototypes. - (_nl_explode_name): Use strchr instead of __rawmemchr. - * intl/finddomain.c: Switch to gettext copyright. - Use ANSI definitions and prototypes. - Use gl_* locking primitives rather than __libc_* ones. - (_nl_find_domain): Use malloc rather than alloca for - allocation of temporary locale name. - * intl/gettext.c: Switch to gettext copyright. - Use ANSI definitions and prototypes. - * intl/gettextP.h: Switch to gettext copyright. - Use ANSI definitions and prototypes. - Use gl_* locking primitives rather than __libc_* ones. - * intl/gmo.h: Switch to gettext copyright. - (struct sysdep_string): Move struct segment_pair outside of - struct definition. - * intl/hash-string.c: Use ANSI definitions and prototypes. - * intl/hash-string.h: Switch to gettext copyright. - Use ANSI definitions and prototypes. - * intl/l10nflist.c: Switch to gettext copyright. - Use ANSI definitions and prototypes. - (_nl_normalize_codeset): Avoid integer overflow. - * intl/loadinfo.h: Switch to gettext copyright. - Use ANSI definitions and prototypes. - (LIBINTL_DLL_EXPORTED): New define. - (PATH_SEPARATOR): New define. - * intl/loadmsgcat.c: Switch to gettext copyright. - * intl/localealias.c: Switch to gettext copyright. - Use ANSI definitions and prototypes. - (_nl_expand_alias): Use PATH_SEPARATOR. - * intl/ngettext.c: Switch to gettext copyright. - Use ANSI definitions and prototypes. - * intl/plural-exp.c: Likewise. - * intl/plural-exp.h: Switch to gettext copyright. - Use ANSI definitions and prototypes. - (struct expression): Move definition of enum operator outside - of struct definition. - * intl/plural.c: Regenerate. - * intl/plural.y: Switch to gettext copyright. - Use ANSI definitions and prototypes. - Port to bison 3.0. - * intl/textdomain.c: Switch to gettext copyright. - Use ANSI definitions and prototypes. - Use gl_* locking primitives rather than __libc_* ones. - -2014-12-10 Steve Ellcey - - * debug/warning-nop.c: Add used atrribute. - -2014-12-10 Joseph Myers - - * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file. - - * sysdeps/unix/sysv/linux/mips/mips64/Makefile - [$(subdir) == signal] (CFLAGS-sigaction.c): New variable. - [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise. - -2014-12-10 Joseph Myers - Adhemerval Zanella - - [BZ #17634] - * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr. - Undefine after defining function. Define as weak alias of - __wcschr. Use libc_hidden_weak. - * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto. - * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED] - (libc_hidden_def): Also define __GI___wcschr alias. - * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to - __wcschr and define as weak alias of __wcschr. - * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as - __wcschr. - [!WCSCHR] (DEFAULT_WCSCHR): Define. - [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def. - [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use - libc_hidden_weak. Do not use libc_hidden_def. - * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c - [IS_IN (libc) && SHARED] (libc_hidden_def): Also define - __GI___wcschr alias. - * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c - [IS_IN (libc)] (wcschr): Define as macro expanding to - __redirect_wcschr. - [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof. - [IS_IN (libc)] (__wcschr_power6): Likewise. - [IS_IN (libc)] (__wcschr_power7): Likewise. - [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc - instead of wcschr. - [IS_IN (libc)] (wcschr): Undefine and define as weak alias of - __libc_wcschr. - [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine. - * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to - __wcschr and define as weak alias of __wcschr. Use - libc_hidden_builtin_def. - * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define - as weak alias of __wcschr. Use libc_hidden_weak. - * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of - wcschr. - * time/era.c (_nl_init_era_entries): Likewise. - * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove - variable. - (test-xfail-XPG3/time.h/linknamespace): Likewise. - (test-xfail-XPG4/time.h/linknamespace): Likewise. - -2014-12-10 Joseph Myers - - * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld - format for long int variable. - -2014-12-10 Anders Kaseorg - - [BZ #10672] - * manual/search.texi: (Array Sort Function): Remove claim how to make - qsort stable. - -2014-12-10 Andreas Schwab - - [BZ #12847] - * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with - user-controlled locks. - -2014-12-10 Richard Earnshaw - - * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered - register. - -2014-12-10 Joseph Myers - - * configure.ac (--disable-werror): New configure option. - (enable_werror): New AC_SUBST. - * configure: Regenerated. - * config.make.in (enable-werror): New variable. - * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror - -Wno-error=undef. - (+gccwarn-c): Do not use -Werror=implicit-function-declaration. - * manual/install.texi (Configuring and compiling): Document - --disable-werror. - * INSTALL: Regenerated. - * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error. - (CFLAGS-tst-chk2.c): Likewise. - (CFLAGS-tst-chk3.c): Likewise. - (CFLAGS-tst-chk4.cc): Likewise. - (CFLAGS-tst-chk5.cc): Likewise. - (CFLAGS-tst-chk6.cc): Likewise. - (CFLAGS-tst-lfschk1.c): Likewise. - (CFLAGS-tst-lfschk2.c): Likewise. - (CFLAGS-tst-lfschk3.c): Likewise. - (CFLAGS-tst-lfschk4.cc): Likewise. - (CFLAGS-tst-lfschk5.cc): Likewise. - (CFLAGS-tst-lfschk6.cc): Likewise. - - * stdio-common/tst-printfsz.c: Include . - (main): Disable -Wdeprecated-declarations around calls to - register_printf_function. - - * stdio-common/tst-unlockedio.c: Include . - (do_test): Disable -Wdiv-by-zero around some calls to - fwrite_unlocked and fread_unlocked. - - * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro. - (DIAG_POP_NEEDS_COMMENT): Likewise. - (_DIAG_STR1): Likewise. - (_DIAG_STR): Likewise. - (DIAG_IGNORE_NEEDS_COMMENT): Likewise. - * stdio-common/bug21.c: Include . - (do_test): Disable -Wformat around call to sscanf. - * stdio-common/scanf14.c: Include . - (main): Disable -Wformat around some calls to scanf functions. - -2014-12-09 Torvald Riegel - - * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file. - -2014-12-08 Adhemerval Zanella - - * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character - stack variable alignment. - -2014-12-06 Joseph Myers - - [BZ #17682] - * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE. - * resource/getrlimit.c (__getrlimit): Use libc_hidden_def. - * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise. - * include/sys/resource.h (__getrlimit): Use libc_hidden_proto. - * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use - __getrlimit instead of getrlimit. - * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use - __gettimeofday instead of gettimeofday. - * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock): - Likewise. - * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): - Likewise. - * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise. - * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace): - Remove variable. - (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise. - (test-xfail-POSIX2008/time.h/linknamespace): Likewise. - -2014-12-05 Adhemerval Zanella - - * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun - for wide-character tests. - -2014-12-04 Roland McGrath - - * io/openat64.c: #include - (__openat64): Prototypify. Use ignore_value on MODE. - * io/openat.c: Likewise. - * misc/reboot.c: #include - (reboot): Prototypify. Use ignore_value on HOWTO. - * misc/ptrace.c: #include - (ptrace): Prototypify. Use ignore_value for va_arg'd parameters. - -2014-12-04 Joseph Myers - - * conform/list-header-symbols.pl (%extra_syms): Add h_errno for - XPG4, UNIX98 and XOPEN2K. - * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace): - Remove variable. - (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise. - -2014-12-04 Siddhesh Poyarekar - - * libio/fileops.c: Use ISO C style for function definitions. - * libio/iofopen.c: Likewise. - * libio/wfileops.c: Likewise. - - [BZ #17653] - * libio/fileops.c (_IO_new_file_underflow): Unset cached - offset on EOF. - * libio/wfileops.c (_IO_wfile_underflow): Likewise. - * libio/tst-ftell-active-handler.c (fgets_func_t): New type. - (fgets_func): Function pointer to fgets and fgetws. - (do_ftell_test): Add test to verify ftell value after read - EOF. - (do_test): Set fgets_func. - - * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add - O_TRUNC flag for w and w+ modes. - (do_rewind_test): Likewise. - (do_ftell_test): Likewise. - (do_write_test): Likewise. - - [BZ #17647] - * libio/fileops.c (do_ftell): Seek only when there are - unflushed writes. - * libio/wfileops.c (do_ftell_wide): Likewise. - * libio/tst-ftell-active-handler.c (do_ftruncate_test): New - test case. - (do_one_test): Call it. - -2014-12-03 Joseph Myers - - * conform/list-header-symbols.pl (%extra_syms): Add getdate_err - for XPG4, UNIX98, XOPEN2K and XOPEN2K8. - * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace): - Remove variable. - (test-xfail-XOPEN2K/time.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise. - -2014-12-02 Joseph Myers - - * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace): - Remove variable. - (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise. - - [BZ #17668] - * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define - as weak alias of __getifaddrs. Use libc_hidden_weak. - (freeifaddrs): Rename to __freeifaddrs and define as weak alias of - __freeifaddrs. Use libc_hidden_weak. - * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and - define as weak alias of __getifaddrs. Use libc_hidden_weak. - (freeifaddrs): Rename to __freeifaddrs and define as weak alias of - __freeifaddrs. Use libc_hidden_weak. - * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to - __getifaddrs and define as weak alias of __getifaddrs. Use - libc_hidden_weak. - (freeifaddrs): Rename to __freeifaddrs and define as weak alias of - __freeifaddrs. Use libc_hidden_weak. - * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace): - Remove variable. - (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise. - -2014-12-02 Petar Jovanovic - - [BZ #17601] - * sysdeps/mips/start.S (__start): Use indirect jump to call - __libc_start_main. - -2014-12-02 Joseph Myers - - * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t. - - * nptl/tst-mutex1.c: Include . - [!ATTR] (ATTR_NULL): New macro. - (do_test): Test !ATTR_NULL instead of ATTR != NULL. - * nptl/tst-mutexpi1.c (ATTR_NULL): New macro. - * nptl/tst-mutexpp1.c (ATTR_NULL): New macro. - - * posix/tst-getopt_long1.c (do_test): Cast elements of argv array - to char *. - - [BZ #17665] - * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]: - Change conditional to [__USE_MISC]. - - [BZ #17664] - * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of - fgets_unlocked. - * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to - __fgets_unlocked. - * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of - fgets_unlocked. - * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace): - Remove variable. - (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise. - (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise. - (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise. - (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise. - (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise. - - * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)). - -2014-12-02 Adhemerval Zanella - - * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: - Remove strpbrk objects. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Remove strpbrk implementation. - * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file. - * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file. - * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file. - * sysdeps/powerpc/powerpc64/strpbrk.S: New file. - - * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: - Remove strcspn objects. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Remove strcspn implementation. - * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file. - * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file. - * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file. - * sysdeps/powerpc/powerpc64/strcspn.S: New file. - - * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: - Remove strspn objetcs. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Remove strspn implementation. - * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file. - * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise. - * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file. - * sysdeps/powerpc/powerpc64/strspn.S: New file. - -2014-12-01 James Lemke - - [BZ #17581] - * malloc/hooks.c - (mem2mem_check): Add a terminator to the chain of checking blocks. - (malloc_check_get_size): Use it here. - (mem2chunk_check): Ditto. - -2014-12-01 Rajalakshmi Srinivasaraghavan - - * sysdeps/powerpc/powerpc64/strtok.S: New file. - * sysdeps/powerpc/powerpc64/strtok_r.S: New file. - -2014-11-29 Carlos O'Donell - - * bits/ioctl-types.h: Indent preprocessor directives correctly. - - * nptl/nptl-init.c: Include libc-internal.h. - (__pthread_initialize_minimal_internal): Use ROUND_UP. - - * elf/ldconfig.c (search_dir): Expand comment. - -2014-11-29 Joseph Myers - - * conform/Makefile (linknamespace-symlist-stdlibs-base): New - variable. - (linknamespace-symlist-stdlibs-tests): Likewise. - (tests-special): Append $(linknamespace-symlist-stdlibs-tests) - instead of $(objpfx)symlist-stdlibs. - (linknamespace-libs-isoc): New variable. - (linknamespace-libs): Use $(linknamespace-libs-isoc). - (linknamespace-libs-ISO): New variable. - (linknamespace-libs-ISO99): Likewise. - (linknamespace-libs-ISO11): Likewise. - (linknamespace-libs-XPG3): Likewise. - (linknamespace-libs-XPG4): Likewise. - (linknamespace-libs-POSIX): Likewise. - (linknamespace-libs-UNIX98): Likewise. - (linknamespace-libs-XOPEN2K): Likewise. - (linknamespace-libs-POSIX2008): Likewise. - (linknamespace-libs-XOPEN2K8): Likewise. - ($(objpfx)symlist-stdlibs): Replace by - $(linknamespace-symlist-stdlibs-tests). Use - $(linknamespace-libs-$*) as set of libraries. - ($(linknamespace-header-tests)): Update dependencies. Use - $(objpfx)symlist-stdlibs-$$std for --libsyms argument. - (test-xfail-XPG4/sys/mman.h/linknamespace): Remove. - * conform/linknamespace.pl: Remove comment about considering - definitions of symbols from irrelevant libraries. - -2014-11-28 H.J. Lu - - [BZ #13862] - * elf/dl-tls.c: Include . - (oom): Remove #ifdef SHARED/#endif. - (_dl_static_dtv, _dl_initial_dtv): Moved before ... - (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo. - (_dl_allocate_tls_init): Resize DTV if the current DTV isn't - big enough. - (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV. - * nptl/Makefile (tests): Add tst-stack4. - (modules-names): Add tst-stack4mod. - ($(objpfx)tst-stack4): New. - (tst-stack4mod.sos): Likewise. - ($(objpfx)tst-stack4.out): Likewise. - ($(tst-stack4mod.sos)): Likewise. - (clean): Likewise. - * nptl/tst-stack4.c: New file. - * nptl/tst-stack4mod.c: Likewise. - -2014-11-27 J. Brown - - * sysdeps/x86/bits/string.h: Add recent CPUs. - -2014-11-27 Joseph Myers - - * misc/tst-pselect.c (do_test): Use sigprocmask instead of - sigblock. - - * libio/bug-ungetwc1.c (do_test): Verify results of getwc and - feof. - - * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a - variable. - -2014-11-27 Stefan Liebler - - * nscd/connections.c: Include libc-internal.h because of macro - usage ignore_value. - -2014-11-27 Siddhesh Poyarekar - - * string/bits/string3.h (__warn_memset_zero_len): Don't - declare for gcc newer than 5.0. - (memset): Don't test for zero-length __LEN for gcc newer than - 5.0. - -2014-11-27 Joseph Myers - - * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to - size_t for %zu format. - - * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer - difference, not %ju. - -2014-11-26 Joseph Myers - - * include/libc-internal.h (ignore_value): New macro. - * nscd/connections.c (restart): Wrap calls to setuid and setgid - with ignore_value. - - * sysdeps/mips/__longjmp.c (____longjmp): Use prototype - definition. - - * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of - pthread_cleanup_push to void *. - - * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE): - Undefine. - - [BZ #16619] - [BZ #16740] - * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52 - instead of 1L << 52. - - * libio/bug-rewind.c (do_test): Check fwscanf return values. - * libio/bug-rewind2.c (do_test): Likewise. - - * debug/test-stpcpy_chk-ifunc.c: Remove file. - * debug/test-strcpy_chk-ifunc.c: Likewise. - * wcsmbs/test-wcschr-ifunc.c: Likewise. - * wcsmbs/test-wcscmp-ifunc.c: Likewise. - * wcsmbs/test-wcscpy-ifunc.c: Likewise. - * wcsmbs/test-wcslen-ifunc.c: Likewise. - * wcsmbs/test-wcsrchr-ifunc.c: Likewise. - * wcsmbs/test-wmemcmp-ifunc.c: Likewise. - * Rules [$(multi-arch) = no] (tests): Do not filter out - $(tests-ifunc). - [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc). - * debug/Makefile (tests-ifunc): Remove variable. - (tests): Do not add $(tests-ifunc). - * wcsmbs/Makefile (tests-ifunc): Remove variable. - (tests): Do not add $(tests-ifunc). - * benchtests/bench-string.h (TEST_IFUNC): Remove macro. - [TEST_IFUNC]: Remove conditionals. - * string/test-string.h (TEST_IFUNC): Remove macro. - [TEST_IFUNC]: Remove conditionals. - - * string/test-strchr.c [!WIDE] (L): New macro. - [WIDE] (L): Likewise. - (check1): Use CHAR instead of char. Use L on string and character - constants. - -2014-11-26 Adhemerval Zanella - - * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel} - tests. - * sysdeps/powerpc/bits/atomic.h - (__arch_atomic_exchange_and_add_32_acq): Add definition. - (__arch_atomic_exchange_and_add_32_rel): Likewise. - (atomic_exchange_and_add_acq): Likewise. - (atomic_exchange_and_add_rel): Likewise. - * sysdeps/powerpc/powerpc32/bits/atomic.h - (__arch_atomic_exchange_and_add_64_acq): Add definition. - (__arch_atomic_exchange_and_add_64_rel): Likewise. - * sysdeps/powerpc/powerpc64/bits/atomic.h - (__arch_atomic_exchange_and_add_64_acq): Add definition. - (__arch_atomic_exchange_and_add_64_rel): Likewise. - -2014-11-26 Torvald Riegel - - * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority): - Change synchronization of __sched_fifo_min_prio and - __sched_fifo_max_prio. - * nptl/pthread_mutexattr_getprioceiling.c - (pthread_mutexattr_getprioceiling): Likewise. - * nptl/pthread_mutexattr_setprioceiling.c - (pthread_mutexattr_setprioceiling): Likewise. - * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise. - * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling): - Likewise. - -2014-11-26 Joseph Myers - - * setjmp/jmpbug.c (test): Make foo volatile and cast it to - void. - -2014-11-25 Joseph Myers - - * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make - third argument const. - -2014-11-25 Paul Eggert - - fnmatch: work around GCC compiler warning bug with uninit var - * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array. - This works around a bug with x86-64 GCC 4.9.2 and earlier - where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains - "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be - used uninitialized in this function [-Wmaybe-uninitialized]". - -2014-11-25 Joseph Myers - - * posix/bug-regex31.c (main): Return RES not 0. - -2014-11-25 Anton Blanchard - - * sysdeps/powerpc/bits/atomic.h - (__arch_compare_and_exchange_bool_64_rel): Load from mem. - -2014-11-24 Sterling Augustine - - * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros. - -2014-11-24 Ryan Cumming - - [BZ #17608] - * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI. - -2014-11-24 Joseph Myers - - [BZ #17633] - * stdio-common/perror.c (perror): Call __fileno instead of fileno. - * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove - variable. - (test-xfail-ISO99/stdio.h/linknamespace): Likewise. - (test-xfail-ISO11/stdio.h/linknamespace): Likewise. - -2014-11-24 Wilco Dijkstra - - * string/strncpy.c (strncpy): Improve performance by using memset. - -2014-11-24 Wilco Dijkstra - - * string/strcpy.c (strcpy): - Improve performance by using strlen and memcpy. - -2014-11-24 Leonhard Holz - - * string/strcoll_l.c (get_next_seq): __always_inline. - * string/strcoll_l.c (do_compare): __always_inline. - -2014-11-24 Siddhesh Poyarekar - - * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is - defined. - * include/mqueue.h: Likewise. - * include/stdlib.h: Likewise. - - * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE. - (get_null_defines): Adjust. - * sunrpc/Makefile: Adjust comment. - * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc. - * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise. - (CFLAGS-interp.c): Likewise. - (CFLAGS-ldconfig.c): Likewise. - (CPPFLAGS-.os): Likewise. - * elf/rtld-Rules (rtld-CPPFLAGS): Likewise. - * extra-lib.mk (CPPFLAGS-$(lib)): Likewise. - * extra-modules.mk (extra-modules.mk): Likewise. - * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise. - * locale/Makefile (CPPFLAGS-locale_programs): Likewise. - * malloc/Makefile (CPPFLAGS-memusagestat): Likewise. - * nscd/Makefile (CPPFLAGS-nscd): Likewise. - * nss/Makefile (CPPFLAGS-nss_test1): Likewise. - * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise. - * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise. - * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise. - * iconvdata/Makefile (CPPFLAGS): Likewise. - (cpp-srcs-left): Add libof for all iconvdata routines. - * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN. - * include/assert.h: Likewise. - * include/ctype.h: Likewise. - * include/errno.h: Likewise. - * include/libc-symbols.h: Likewise. - * include/math.h: Likewise. - * include/netdb.h: Likewise. - * include/resolv.h: Likewise. - * include/stdio.h: Likewise. - * include/stdlib.h: Likewise. - * include/string.h: Likewise. - * include/sys/stat.h: Likewise. - * include/wctype.h: Likewise. - * intl/l10nflist.c: Likewise. - * libidn/idn-stub.c: Likewise. - * libio/libioP.h: Likewise. - * nptl/libc_multiple_threads.c: Likewise. - * nptl/pthreadP.h: Likewise. - * posix/regex_internal.h: Likewise. - * resolv/res_hconf.c: Likewise. - * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise. - * sysdeps/arm/memmove.S: Likewise. - * sysdeps/arm/sysdep.h: Likewise. - * sysdeps/generic/_itoa.h: Likewise. - * sysdeps/generic/symbol-hacks.h: Likewise. - * sysdeps/gnu/errlist.awk: Likewise. - * sysdeps/gnu/errlist.c: Likewise. - * sysdeps/i386/i586/memcpy.S: Likewise. - * sysdeps/i386/i586/memset.S: Likewise. - * sysdeps/i386/i686/memcpy.S: Likewise. - * sysdeps/i386/i686/memmove.S: Likewise. - * sysdeps/i386/i686/mempcpy.S: Likewise. - * sysdeps/i386/i686/memset.S: Likewise. - * sysdeps/i386/i686/multiarch/bcopy.S: Likewise. - * sysdeps/i386/i686/multiarch/bzero.S: Likewise. - * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise. - * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise. - * sysdeps/i386/i686/multiarch/memchr.S: Likewise. - * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise. - * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise. - * sysdeps/i386/i686/multiarch/memcmp.S: Likewise. - * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise. - * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise. - * sysdeps/i386/i686/multiarch/memcpy.S: Likewise. - * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise. - * sysdeps/i386/i686/multiarch/memmove.S: Likewise. - * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise. - * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise. - * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise. - * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise. - * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise. - * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise. - * sysdeps/i386/i686/multiarch/memrchr.S: Likewise. - * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise. - * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise. - * sysdeps/i386/i686/multiarch/memset.S: Likewise. - * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise. - * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise. - * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise. - * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise. - * sysdeps/i386/i686/multiarch/strcat.S: Likewise. - * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise. - * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise. - * sysdeps/i386/i686/multiarch/strchr.S: Likewise. - * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise. - * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise. - * sysdeps/i386/i686/multiarch/strcmp.S: Likewise. - * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise. - * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise. - * sysdeps/i386/i686/multiarch/strcpy.S: Likewise. - * sysdeps/i386/i686/multiarch/strcspn.S: Likewise. - * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise. - * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise. - * sysdeps/i386/i686/multiarch/strlen.S: Likewise. - * sysdeps/i386/i686/multiarch/strnlen.S: Likewise. - * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise. - * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise. - * sysdeps/i386/i686/multiarch/strrchr.S: Likewise. - * sysdeps/i386/i686/multiarch/strspn.S: Likewise. - * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise. - * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise. - * sysdeps/i386/i686/multiarch/wcschr.S: Likewise. - * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise. - * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise. - * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise. - * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise. - * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise. - * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise. - * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise. - * sysdeps/i386/i686/multiarch/wcslen.S: Likewise. - * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise. - * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise. - * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise. - * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise. - * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise. - * sysdeps/ia64/fpu/libm-symbols.h: Likewise. - * sysdeps/nptl/bits/libc-lock.h: Likewise. - * sysdeps/nptl/bits/libc-lockP.h: Likewise. - * sysdeps/nptl/bits/stdio-lock.h: Likewise. - * sysdeps/posix/closedir.c: Likewise. - * sysdeps/posix/opendir.c: Likewise. - * sysdeps/posix/readdir.c: Likewise. - * sysdeps/posix/rewinddir.c: Likewise. - * sysdeps/powerpc/novmx-sigjmp.c: Likewise. - * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise. - * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise. - * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise. - * sysdeps/powerpc/powerpc32/setjmp.S: Likewise. - * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise. - * sysdeps/powerpc/powerpc64/setjmp.S: Likewise. - * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise. - * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise. - * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise. - * sysdeps/s390/s390-32/multiarch/memset.S: Likewise. - * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise. - * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise. - * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise. - * sysdeps/s390/s390-64/multiarch/memset.S: Likewise. - * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise. - * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise. - * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise. - * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise. - * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise. - * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise. - * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise. - * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise. - * sysdeps/unix/alpha/sysdep.S: Likewise. - * sysdeps/unix/alpha/sysdep.h: Likewise. - * sysdeps/unix/make-syscalls.sh: Likewise. - * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/getpid.c: Likewise. - * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise. - * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise. - * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise. - * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/not-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise. - * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise. - * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise. - * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise. - * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. - * sysdeps/wordsize-32/symbol-hacks.h: Likewise. - * sysdeps/x86_64/memcpy.S: Likewise. - * sysdeps/x86_64/memmove.c: Likewise. - * sysdeps/x86_64/memset.S: Likewise. - * sysdeps/x86_64/multiarch/init-arch.h: Likewise. - * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise. - * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise. - * sysdeps/x86_64/multiarch/memcmp.S: Likewise. - * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise. - * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise. - * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise. - * sysdeps/x86_64/multiarch/memcpy.S: Likewise. - * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise. - * sysdeps/x86_64/multiarch/memmove.c: Likewise. - * sysdeps/x86_64/multiarch/mempcpy.S: Likewise. - * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise. - * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise. - * sysdeps/x86_64/multiarch/memset.S: Likewise. - * sysdeps/x86_64/multiarch/memset_chk.S: Likewise. - * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise. - * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise. - * sysdeps/x86_64/multiarch/strcat.S: Likewise. - * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise. - * sysdeps/x86_64/multiarch/strchr.S: Likewise. - * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise. - * sysdeps/x86_64/multiarch/strcmp.S: Likewise. - * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise. - * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise. - * sysdeps/x86_64/multiarch/strcpy.S: Likewise. - * sysdeps/x86_64/multiarch/strcspn.S: Likewise. - * sysdeps/x86_64/multiarch/strspn.S: Likewise. - * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise. - * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise. - * sysdeps/x86_64/multiarch/wcscpy.S: Likewise. - * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise. - * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise. - * sysdeps/x86_64/strcmp.S: Likewise. - - * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib). - - * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld. - * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld. - * elf/rtld-Rules: Likewise. - * elf/setup-vdso.h: Likewise. - * include/assert.h: Likewise. - * include/bits/stdlib-float.h: Likewise. - * include/errno.h: Likewise. - * include/sys/stat.h: Likewise. - * include/unistd.h: Likewise. - * sysdeps/aarch64/setjmp.S: Likewise. - * sysdeps/alpha/setjmp.S: Likewise. - * sysdeps/arm/__longjmp.S: Likewise. - * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise. - * sysdeps/arm/setjmp.S: Likewise. - * sysdeps/arm/sysdep.h: Likewise. - * sysdeps/generic/_itoa.h: Likewise. - * sysdeps/generic/dl-sysdep.h: Likewise. - * sysdeps/generic/ldsodefs.h: Likewise. - * sysdeps/i386/dl-tls.h: Likewise. - * sysdeps/i386/setjmp.S: Likewise. - * sysdeps/m68k/setjmp.c: Likewise. - * sysdeps/mach/hurd/dl-execstack.c: Likewise. - * sysdeps/mach/hurd/opendir.c: Likewise. - * sysdeps/posix/getcwd.c: Likewise. - * sysdeps/posix/opendir.c: Likewise. - * sysdeps/posix/profil.c: Likewise. - * sysdeps/powerpc/dl-procinfo.h: Likewise. - * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise. - * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise. - * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise. - * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise. - * sysdeps/s390/dl-tls.h: Likewise. - * sysdeps/s390/s390-32/setjmp.S: Likewise. - * sysdeps/s390/s390-64/setjmp.S: Likewise. - * sysdeps/sh/sh3/setjmp.S: Likewise. - * sysdeps/sh/sh4/setjmp.S: Likewise. - * sysdeps/unix/alpha/sysdep.h: Likewise. - * sysdeps/unix/arm/sysdep.S: Likewise. - * sysdeps/unix/i386/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/getcwd.c: Likewise. - * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise. - * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise. - * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise. - * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise. - * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. - * sysdeps/unix/x86_64/sysdep.S: Likewise. - * sysdeps/x86_64/setjmp.S: Likewise. - - * include/math.h: Use IS_IN instead of IS_IN_libm. - * sysdeps/alpha/fpu/s_copysign.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise. - * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise. - * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise. - * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise. - * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise. - * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise. - * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise. - * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise. - * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise. - * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise. - * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise. - * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise. - * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise. - * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise. - * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise. - * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise. - * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise. - * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise. - * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise. - * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise. - * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: - Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: - Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: - Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: - Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: - Likewise. - * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise. - * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise. - * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise. - * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise. - * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise. - * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise. - * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise. - * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise. - * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise. - * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise. - * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise. - * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise. - * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise. - * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise. - - * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread. - * nptl/pthreadP.h: Likewise. - * nptl_db/structs.def: Likewise. - * sysdeps/arm/sysdep.h: Likewise. - * sysdeps/nptl/bits/libc-lock.h: Likewise. - * sysdeps/nptl/bits/libc-lockP.h: Likewise. - * sysdeps/sparc/sparc32/lowlevellock.c: Likewise. - * sysdeps/unix/alpha/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/not-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise. - * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise. - * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise. - - * include/mqueue.h: Use IS_IN instead of IS_IN_librt. - * nptl/pthreadP.h: Likewise. - * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/not-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise. - * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise. - * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise. - - * dlfcn/dladdr.c: Use IS_IN. - * dlfcn/dladdr1.c: Likewise. - * dlfcn/dlclose.c: Likewise. - * dlfcn/dlerror.c: Likewise. - * dlfcn/dlinfo.c: Likewise. - * dlfcn/dlmopen.c: Likewise. - * dlfcn/dlopen.c: Likewise. - * dlfcn/dlsym.c: Likewise. - * dlfcn/dlvsym.c: Likewise. - - * include/ifaddrs.h: Use IS_IN. - * inet/check_pf.c: Likewise. - * sysdeps/unix/sysv/linux/check_pf.c: Likewise. - * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd. - - * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of - IS_IN_ldconfig. - * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN. - * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise. - - * include/shlib-compat.h [!NOT_IN_libc]: Remove. - * nss/nss_files/files-parse.c (IS_IN_libc): Replace with - IS_IN (libc). - - * elf/Makefile (libof-sotruss-lib): Set as extramodules. - - * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB. - * elf/rtld-Rules (rtld-CPPFLAGS): Likewise. - * extra-lib.mk (CPPFLAGS-$(lib)): Likewise. - * include/libc-symbols.h (IS_IN_LIB): New macro. - * include/errno.h: Use IS_IN_LIB instead of IN_LIB. - * include/netdb.h: Likewise. - * include/stap-probe.h: Remove all uses of IN_LIB. - - * Makeconfig (module-cppflags-real): Define MODULE_NAME - instead of IN_MODULE. - * include/libc-symbols.h (IN_MODULE): Define using - MODULE_NAME. - (PASTE_NAME, PASTE_NAME1): New macros. - * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead - of IN_LIB. - (STAP_PROBE_ASM): Likewise. - -2014-11-23 Samuel Thibault - - * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call - __mach_init in dlopened libc. - -2014-11-22 Mike Frysinger - - * sysdeps/arm/preconfigure.ac: Delete EABI check. - * sysdeps/arm/preconfigure: Regenerate. - -2014-11-21 Roland McGrath - - * nptl/pthread_create.c (__pthread_create_2_1): Set - ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags - when copying values from IATTR into PD. - -2014-11-21 Will Newton - Andrew Pinski - - * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): - Refactor inline-asm. Also add comment. - - * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use - ElfW macro instead of hardcoded Elf64 types. - (la_aarch64_gnu_pltenter): Likewise. - * sysdeps/aarch64/dl-machine.h - (elf_machine_runtime_setup): Use ElfW(Addr). - - * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY, - R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT, - R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD, - R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL, - R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define. - (R_AARCH64_TLS_DTPMOD64): Rename to .. - (R_AARCH64_TLS_DTPMOD): This. - (R_AARCH64_TLS_DTPREL64): Rename to ... - (R_AARCH64_TLS_DTPREL): This. - (R_AARCH64_TLS_TPREL64): Rename to ... - (R_AARCH64_TLS_TPREL): This. - * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update - R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and - R_AARCH64_TLS_TPREL64. - (elf_machine_rela): Likewise. - -2014-11-21 Torvald Riegel - - * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value - by setting it to 0. 64b atomics are not supported currently. - -2014-11-21 Alexandre Oliva - - [BZ #16469] - * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in - search domain names. - -2014-11-21 Alexandre Oliva - - [BZ #16469] - * NEWS: Update. - * resolv/res_query.c (__libc_res_nquerydomain): Retain - trailing dot. - * posix/tst-getaddrinfo5.c: New. - * posix/Makefile (tests): Add it. - -2014-11-21 Alexandre Oliva - - [BZ #14498] - * NEWS: Fixed. - * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx - after parsing line but before break_if_match. - * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;" - if there is a protocol mismatch. - -2014-11-21 Ma Shimiao - - * manual/sysinfo.texi (addmntent): It is actually MT-Safe, - because the potential race is on the user-supplied stream. - -2014-11-21 Alexandre Oliva - - * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a - string literal if not passed a buffer. - * manual/job.texi (ctermid): Update reasoning, note deviation - from posix, suggest mtasurace when not passed a buffer, for - future non-preliminary safety notes. - -2014-11-21 Alexandre Oliva - - * manual/users.texi (cuserid): Fix MT-Safety note for the case - of not passing it a buffer. - Reported by Peng Haitao. - -2014-11-21 Alexandre Oliva - - * manual/Makefile ($(objpfx)stamp-summary): Require - check-safety.sh to pass. - * manual/check-safety.sh: Wish for verification that every - @deftypefn and @deftypefun is followed by a @safety remark. - -2014-11-20 Roland McGrath - - * nptl/unwind.c (unwind_cleanup): Use __libc_fatal. - - * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for - PTHREAD_CANCEL_ASYNCHRONOUS. - * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to - send SIGCANCEL. - - * nptl/default-sched.h: New file. - * sysdeps/unix/sysv/linux/default-sched.h: New file. - * nptl/pthread_create.c: Include it. - (__pthread_create_2_1): Use collect_default_sched instead of making - Linux syscalls here directly. - -2014-11-20 Torvald Riegel - - * nptl/pthread_once.c (clear_once_control, __pthread_once_slow, - __pthread_once): Use C11 atomics. - -2014-11-20 Torvald Riegel - - * csu/tst-atomic.c (do_test): Add tests for C11-like atomics. - -2014-11-20 Torvald Riegel - - * include/atomic.h (__atomic_link_error, __atomic_check_size, - atomic_thread_fence_acquire, atomic_thread_fence_release, - atomic_thread_fence_seq_cst, atomic_load_relaxed, - atomic_load_acquire, atomic_store_relaxed, atomic_store_release, - atomic_compare_exchange_weak_relaxed, - atomic_compare_exchange_weak_acquire, - atomic_compare_exchange_weak_release, - atomic_exchange_acquire, atomic_exchange_release, - atomic_fetch_add_relaxed, atomic_fetch_add_acquire, - atomic_fetch_add_release, atomic_fetch_add_acq_rel, - atomic_fetch_and_acquire, - atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New. - -2014-11-20 Torvald Riegel - - * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS, - USE_ATOMIC_COMPILER_BUILTINS): Define. - * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS, - USE_ATOMIC_COMPILER_BUILTINS): Likewise. - * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS, - USE_ATOMIC_COMPILER_BUILTINS): Likewise. - * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS, - USE_ATOMIC_COMPILER_BUILTINS): Likewise. - * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS, - USE_ATOMIC_COMPILER_BUILTINS): Likewise. - * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS, - USE_ATOMIC_COMPILER_BUILTINS): Likewise. - * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS, - USE_ATOMIC_COMPILER_BUILTINS): Likewise. - * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS, - USE_ATOMIC_COMPILER_BUILTINS): Likewise. - * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS, - USE_ATOMIC_COMPILER_BUILTINS): Likewise. - * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS, - USE_ATOMIC_COMPILER_BUILTINS): Likewise. - * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS, - USE_ATOMIC_COMPILER_BUILTINS): Likewise. - * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS, - USE_ATOMIC_COMPILER_BUILTINS): Likewise. - * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS, - USE_ATOMIC_COMPILER_BUILTINS): Likewise. - * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS, - USE_ATOMIC_COMPILER_BUILTINS): Likewise. - * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS, - USE_ATOMIC_COMPILER_BUILTINS): Likewise. - * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS, - USE_ATOMIC_COMPILER_BUILTINS): Likewise. - * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS, - USE_ATOMIC_COMPILER_BUILTINS): Likewise. - * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS, - USE_ATOMIC_COMPILER_BUILTINS): Likewise. - * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h - (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise. - * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS, - USE_ATOMIC_COMPILER_BUILTINS): Likewise. - * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS, - USE_ATOMIC_COMPILER_BUILTINS): Likewise. - -2014-11-19 Roland McGrath - - * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate - the sched_priority value here. It was already checked when the user - called pthread_attr_setschedparam. - - * nptl/tst-bad-schedattr.c: New file. - * nptl/Makefile (tests): Add it. - -2014-11-19 Carlos O'Donell - Florian Weimer - Joseph Myers - Adam Conrad - Andreas Schwab - Brooks - - [BZ #17625] - * wordexp-test.c (__dso_handle): Add prototype. - (__register_atfork): Likewise. - (__app_register_atfork): New function. - (registered_forks): New global. - (register_fork): New function. - (test_case): Add 3 new tests for WRDE_CMDSUB. - (main): Call __app_register_atfork. - (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if - fork count is non-zero fail the test. - * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag - is set. - (parse_dollars): Remove check for WRDE_NOCMD. - (parse_dquote): Likewise. - -2014-11-19 Siddhesh Poyarekar - - * Makeconfig (built-modules): List non-library modules to be - built. - (module-cppflags): Include libc-modules.h for - everything except shlib-versions.v.i. - (CPPFLAGS): Use it. - (before-compile): Add libc-modules.h. - ($(common-objpfx)libc-modules.h, - $(common-objpfx)libc-modules.stmp): New targets. - (common-generated): Add libc-modules.h and libc-modules.stmp. - ($(common-objpfx)Versions.v.i): Depend on libc-modules.h. - * include/libc-symbols.h: Don't include libc-modules.h. - * include/libc-modules.h: Remove file. - * scripts/gen-libc-modules.awk: New script to generate - libc-modules.h. - * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): - Depend on libc-modules.stmp. - - * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN. - - * Makeconfig (in-module): Get value of libof set for the - translation unit. - (CPPFLAGS): Use $(in-module). - * Makerules: Don't suffix routine names for nonlib. - * include/libc-modules.h: New file. - * include/libc-symbols.h: Include libc-modules.h - (IS_IN): New macro to replace IS_IN_* macros. - * elf/Makefile: Set libof-* for each routine. - * elf/rtld-Rules: Likewise. - * extra-modules.mk: Likewise. - * iconv/Makefile: Likewise. - * iconvdata/Makefile: Likewise. - * locale/Makefile: Likewise. - * malloc/Makefile: Likewise. - * nss/Makefile: Likewise. - * sysdeps/gnu/Makefile: Likewise. - * sysdeps/ieee754/ldbl-opt/Makefile: Likewise. - * sysdeps/unix/sysv/linux/Makefile: Likewise. - * sysdeps/s390/s390-64/Makefile: Likewise. - * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and - CPPFLAGS for nscd instead of nonlib. - -2014-11-18 Roland McGrath - - * nptl/createthread.c: New file. - - * nptl/createthread.c: Moved ... - * sysdeps/unix/sysv/linux/createthread.c: ... here. - - * nptl/createthread.c: Add proper top-line comment. - (do_clone): Folded into ... - (create_thread): ... here. Take new arguments STOPPED_START and - THREAD_RAN. Always set PD->stopped_start to something here. Don't - increment __nptl_threads, do event-reporting logic, do - CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads - here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any - resource cleanup if sched_setaffinity or sched_setscheduler fails, - just send SIGCANCEL. - * nptl/pthread_create.c: Forward-declare create_thread before - including createthread.c. - (start_thread): Use new macro START_THREAD_DEFN to replace defining - declaration, and new macro START_THREAD_SELF to replace argument. - Remove return statement. - (report_thread_creation): New function. - (__pthread_create_2_1): Use it. Do TD_CREATE reporting, - synchronization logic, and __nptl_nthreads increment here, around - calling create_thread. Do CHECK_THREAD_SYSINFO and initialize - PD->parent_cancelhandling here, before create_thread. When - create_thread fails, do __nptl_nthreads decrement, setxid_futex wake, - __deallocate_stack, and ENOMEM translation here. - -2014-11-18 Joseph Myers - - [BZ #17616] - * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone. - (mptwo): Rename to __mptwo. - (__inv): Use __mptwo instead of mptwo. - * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone. - (mptwo): Rename to __mptwo. - * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead - of mpone and __mptwo instead of mptwo. - * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone - instead of mpone. - * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise. - * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise. - * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead - of mpone and __mptwo instead of mptwo. - (__mpranred): Use __mpone instead of mpone. - * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove - variable. - (test-xfail-ISO99/complex.h/linknamespace): Likewise. - (test-xfail-ISO99/math.h/linknamespace): Likewise. - (test-xfail-ISO99/tgmath.h/linknamespace): Likewise. - (test-xfail-ISO11/complex.h/linknamespace): Likewise. - (test-xfail-ISO11/math.h/linknamespace): Likewise. - (test-xfail-ISO11/tgmath.h/linknamespace): Likewise. - (test-xfail-XPG3/math.h/linknamespace): Likewise. - (test-xfail-XPG4/math.h/linknamespace): Likewise. - (test-xfail-POSIX/math.h/linknamespace): Likewise. - (test-xfail-UNIX98/math.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/math.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise. - (test-xfail-POSIX2008/complex.h/linknamespace): Likewise. - (test-xfail-POSIX2008/math.h/linknamespace): Likewise. - (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise. - -2014-11-18 Tom de Vries - - * manual/signal.texi (Primitives Interrupted by Signals): In section, - replace BSD Handler xref with BSD Signal Handling. - -2014-11-17 Richard Henderson - - * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove. - (_FP_PACK_RAW_2): Remove. - (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q. - (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q. - (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New. - (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New. - * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match. - * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise. - * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise. - * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise. - * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise. - * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise. - * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise. - * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise. - * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise. - * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise. - * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise. - * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise. - -2014-11-14 Roland McGrath - - * signal/signal.h [__USE_MISC] - (struct sigvec): Remove type. - (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros. - (sigvec): Remove declaration. - * sysdeps/posix/sigvec.c: Moved ... - * signal/sigvec.c: ... here, replacing old file. - (struct sigvec): New type, copied from old signal.h definition. - (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied. - (__sigvec): Convert definition to prototype. - (sigvec): Replace weak_alias with compat_symbol. - * signal/Versions (libc: GLIBC_2.21): New version set. - * include/signal.h: Remove __sigvec declaration. - * sysdeps/unix/bsd/sigvec.c: Remove file. - * sysdeps/unix/bsd/syscalls.list: Remove sigvec. - * manual/signal.texi (BSD Handler): Remove subsection. - Move siginterrupt up to ... - (BSD Signal Handling): ... here. Mark it as XPG rather than BSD. - (Blocking in BSD): Fold subsection into its parent. - * NEWS: Mention sigvec removal. - -2014-11-14 Joseph Myers - - * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)] - (DLA_FMS): Make definition conditional only on [__FMA4__]. - [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional - definition. - - * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT): - Make definition conditional only on [PROF]. - [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional - definition. - [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional. - [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition. - - * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN && - !__GNUC__]. - * include/signal.h (__sigpause): Move declaration above call to - libc_hidden_proto. - * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove - variable. - (test-xfail-ISO99/signal.h/linknamespace): Likewise. - (test-xfail-ISO11/signal.h/linknamespace): Likewise. - -2014-11-14 David S. Miller - - * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): - Define before including and . - -2014-11-14 Joseph Myers - - * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later. - * configure: Regenerated. - * manual/install.texi (Tools for Compilation): Document a - requirement of GCC 4.6 or later and that GCC 4.9 is the newest - compiler verified to work. - * INSTALL: Regenerated. - - * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not - redeclare with asm name. - [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise. - * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before - including . - * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c - [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise. - * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c - [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise. - * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c - [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise. - -2014-11-13 Joseph Myers - - * stdlib/strtol.c (__strtol): Use prototype definition. - - [BZ #17594] - * stdlib/strtol.c (SYM__): New macro. - (SYM__1): Likewise. - (__strtol): Likewise. - (strtol): Rename to __strtol and define as weak alias of - __strtol. Use libc_hidden_weak. - -2014-11-13 Stefan Liebler - - * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): - Use numbered labels in inline assembly. - -2014-11-13 Stefan Liebler - - * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): - Add setjmp LIBC_PROBE. - * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp): - Likewise. - * sysdeps/s390/s390-32/__longjmp.c (__longjmp): - Add longjmp, longjmp_target LIBC_PROBE. - * sysdeps/s390/s390-64/__longjmp.c (__longjmp): - Likewise. - -2014-11-13 Stefan Liebler - - * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): - Gate the definition of refsym additionally with !RTLD_BOOTSTRAP - to get rid of unused variable warning. - -2014-11-13 Stefan Liebler - - * sysdeps/s390/s390-32/backtrace.c (__backtrace): - Check for unwind_backtrace == NULL only in SHARED case. - (__backchain_backtrace): Compile only in SHARED case. - * sysdeps/s390/s390-64/backtrace.c (__backtrace): - Likewise. - (__backchain_backtrace): Declare as static. - -2014-11-12 Roland McGrath - - * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB] - (__libc_multiple_threads_ptr): Variable moved ... - * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here. - -2014-11-12 Joseph Myers - - * conform/GlibcConform.pm: New file. - * conform/conformtest.pl: Use GlibcConform module. - * conform/linknamespace.pl: New file. - * conform/list-header-symbols.pl: Likewise. - * conform/Makefile (linknamespace-symlists-base): New variable. - (linknamespace-symlists-tests): Likewise. - (linknamespace-header-base): Likewise. - (linknamespace-header-tests): Likewise. - (tests-special): Add new tests. - ($(linknamespace-symlists-tests)): New rule. - (linknamespace-libs): New variable. - ($(objpfx)symlist-stdlibs): New rule. - ($(linknamespace-header-tests)): Likewise. - (test-xfail-XPG3/varargs.h/linknamespace): New variable. - (test-xfail-XPG4/varargs.h/linknamespace): Likewise. - (test-xfail-UNIX98/varargs.h/linknamespace): Likewise. - (test-xfail-XPG4/ndbm.h/linknamespace): Likewise. - (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise. - (test-xfail-ISO/math.h/linknamespace): Likewise. - (test-xfail-ISO/signal.h/linknamespace): Likewise. - (test-xfail-ISO/stdio.h/linknamespace): Likewise. - (test-xfail-ISO/time.h/linknamespace): Likewise. - (test-xfail-ISO99/complex.h/linknamespace): Likewise. - (test-xfail-ISO99/ctype.h/linknamespace): Likewise. - (test-xfail-ISO99/math.h/linknamespace): Likewise. - (test-xfail-ISO99/signal.h/linknamespace): Likewise. - (test-xfail-ISO99/stdio.h/linknamespace): Likewise. - (test-xfail-ISO99/tgmath.h/linknamespace): Likewise. - (test-xfail-ISO11/complex.h/linknamespace): Likewise. - (test-xfail-ISO11/ctype.h/linknamespace): Likewise. - (test-xfail-ISO11/math.h/linknamespace): Likewise. - (test-xfail-ISO11/signal.h/linknamespace): Likewise. - (test-xfail-ISO11/stdio.h/linknamespace): Likewise. - (test-xfail-ISO11/tgmath.h/linknamespace): Likewise. - (test-xfail-XPG3/ctype.h/linknamespace): Likewise. - (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise. - (test-xfail-XPG3/glob.h/linknamespace): Likewise. - (test-xfail-XPG3/math.h/linknamespace): Likewise. - (test-xfail-XPG3/regex.h/linknamespace): Likewise. - (test-xfail-XPG3/search.h/linknamespace): Likewise. - (test-xfail-XPG3/stdio.h/linknamespace): Likewise. - (test-xfail-XPG3/time.h/linknamespace): Likewise. - (test-xfail-XPG3/unistd.h/linknamespace): Likewise. - (test-xfail-XPG3/wordexp.h/linknamespace): Likewise. - (test-xfail-XPG4/ctype.h/linknamespace): Likewise. - (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise. - (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise. - (test-xfail-XPG4/glob.h/linknamespace): Likewise. - (test-xfail-XPG4/grp.h/linknamespace): Likewise. - (test-xfail-XPG4/libgen.h/linknamespace): Likewise. - (test-xfail-XPG4/math.h/linknamespace): Likewise. - (test-xfail-XPG4/netdb.h/linknamespace): Likewise. - (test-xfail-XPG4/pwd.h/linknamespace): Likewise. - (test-xfail-XPG4/regex.h/linknamespace): Likewise. - (test-xfail-XPG4/search.h/linknamespace): Likewise. - (test-xfail-XPG4/stdio.h/linknamespace): Likewise. - (test-xfail-XPG4/stdlib.h/linknamespace): Likewise. - (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise. - (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise. - (test-xfail-XPG4/syslog.h/linknamespace): Likewise. - (test-xfail-XPG4/time.h/linknamespace): Likewise. - (test-xfail-XPG4/unistd.h/linknamespace): Likewise. - (test-xfail-XPG4/wordexp.h/linknamespace): Likewise. - (test-xfail-POSIX/aio.h/linknamespace): Likewise. - (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise. - (test-xfail-POSIX/glob.h/linknamespace): Likewise. - (test-xfail-POSIX/math.h/linknamespace): Likewise. - (test-xfail-POSIX/mqueue.h/linknamespace): Likewise. - (test-xfail-POSIX/pthread.h/linknamespace): Likewise. - (test-xfail-POSIX/regex.h/linknamespace): Likewise. - (test-xfail-POSIX/sched.h/linknamespace): Likewise. - (test-xfail-POSIX/semaphore.h/linknamespace): Likewise. - (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise. - (test-xfail-POSIX/time.h/linknamespace): Likewise. - (test-xfail-POSIX/unistd.h/linknamespace): Likewise. - (test-xfail-POSIX/wordexp.h/linknamespace): Likewise. - (test-xfail-UNIX98/aio.h/linknamespace): Likewise. - (test-xfail-UNIX98/ctype.h/linknamespace): Likewise. - (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise. - (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise. - (test-xfail-UNIX98/glob.h/linknamespace): Likewise. - (test-xfail-UNIX98/grp.h/linknamespace): Likewise. - (test-xfail-UNIX98/libgen.h/linknamespace): Likewise. - (test-xfail-UNIX98/math.h/linknamespace): Likewise. - (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise. - (test-xfail-UNIX98/netdb.h/linknamespace): Likewise. - (test-xfail-UNIX98/pthread.h/linknamespace): Likewise. - (test-xfail-UNIX98/pwd.h/linknamespace): Likewise. - (test-xfail-UNIX98/regex.h/linknamespace): Likewise. - (test-xfail-UNIX98/sched.h/linknamespace): Likewise. - (test-xfail-UNIX98/search.h/linknamespace): Likewise. - (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise. - (test-xfail-UNIX98/stdio.h/linknamespace): Likewise. - (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise. - (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise. - (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise. - (test-xfail-UNIX98/syslog.h/linknamespace): Likewise. - (test-xfail-UNIX98/time.h/linknamespace): Likewise. - (test-xfail-UNIX98/unistd.h/linknamespace): Likewise. - (test-xfail-UNIX98/wchar.h/linknamespace): Likewise. - (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/math.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/search.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/time.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise. - (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise. - (test-xfail-POSIX2008/aio.h/linknamespace): Likewise. - (test-xfail-POSIX2008/complex.h/linknamespace): Likewise. - (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise. - (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise. - (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise. - (test-xfail-POSIX2008/grp.h/linknamespace): Likewise. - (test-xfail-POSIX2008/math.h/linknamespace): Likewise. - (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise. - (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise. - (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise. - (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise. - (test-xfail-POSIX2008/regex.h/linknamespace): Likewise. - (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise. - (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise. - (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise. - (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise. - (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise. - (test-xfail-POSIX2008/time.h/linknamespace): Likewise. - (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise. - (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise. - - [BZ #17589] - * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead - of fgets_unlocked. - - [BZ #17585] - * string/memmem.c [!_LIBC] (__memmem): Define to memmem. - (memmem): Rename to __memmem and define as weak alias of - __memmem. Use libc_hidden_weak. - (__memmem): Use libc_hidden_def. - * include/string.h (__memmem): Declare. Use libc_hidden_proto. - * locale/findlocale.c (valid_locale_name): Use __memmem instead of - memmem. - - [BZ #17582] - * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO] - (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def. - * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked - and define as weak alias of __fgets_unlocked. Use - libc_hidden_weak. - (__fgets_unlocked): Use libc_hidden_def. - * include/stdio.h (__fgets_unlocked): Declare. Use - libc_hidden_proto. - * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use - __fgets_unlocked instead of fgets_unlocked. - * sysdeps/unix/sysv/linux/alpha/getsysstats.c - (GET_NPROCS_CONF_PARSER): Likewise. - * sysdeps/unix/sysv/linux/sparc/getsysstats.c - (GET_NPROCS_CONF_PARSER): Likewise. - - [BZ #17574] - * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as - weak alias of __wmemset. Use libc_hidden_weak. - (__wmemset): Use libc_hidden_def. - * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto. - * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead - of wmemset. - - [BZ #17573] - * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare - with asm name __mempcpy. - [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy. - - [BZ #17572] - * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr - and define as weak alias of __rawmemchr. - (__rawmemchr): Do not define as strong alias of rawmemchr. - - [BZ #17571] - * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak - alias of __qsort_r. - (qsort): Call __qsort_r instead of qsort_r. - * include/stdlib.h (qsort_r): Do not call libc_hidden_proto. - (__qsort_r): Declare. Call libc_hidden_proto. - * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r - instead of qsort_r. - * nscd/gai.c (__qsort_r): Define to qsort_r. - * posix/tst-rfc3484.c (__qsort_r): Likewise. - * posix/tst-rfc3484-2.c (__qsort_r): Likewise. - * posix/tst-rfc3484-3.c (__qsort_r): Likewise. - - [BZ #17570] - * malloc/malloc.c (malloc_info): Rename to __malloc_info and - define as weak alias of __malloc_info. - - [BZ #17584] - * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define - as weak alias of __rewinddir. Don't use libc_hidden_def. - (__rewinddir): Use libc_hidden_def. - * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define - as weak alias of __rewinddir. Don't use libc_hidden_def. - (__rewinddir): Use libc_hidden_def. - * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as - weak alias of __rewinddir. Don't use libc_hidden_def. - (__rewinddir): Use libc_hidden_def. - * include/dirent.h (rewinddir): Don't use libc_hidden_proto. - (__rewinddir): Use libc_hidden_proto. - * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to - rewinddir. - (__getcwd): Use __rewinddir instead of rewinddir. - - [BZ #17583] - * libio/fileno.c (fileno): Rename to __fileno and define as weak - alias of __fileno. Use libc_hidden_weak. - (__fileno): Use libc_hidden_def. - [weak_alias] (fileno_unlocked): Define as weak alias of __fileno. - * libio/ftello.c (ftello): Rename to __ftello and define as weak - alias of __ftello. - [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of - __ftello. - * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO] - (__fread_unlocked): Define as strong alias of _IO_fread. Use - libc_hidden_def. - (fread_unlocked): Don't use libc_hidden_ver. - * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked - and define as weak alias of __fread_unlocked. Don't use - libc_hidden_def. - (__fread_unlocked): Use libc_hidden_def. - * include/stdio.h (__fileno): Declare. Use libc_hidden_proto. - (ftello): Don't use libc_hidden_proto. - (__ftello): Declare. Use libc_hidden_proto. - (fread_unlocked): Don't use libc_hidden_proto. - (__fread_unlocked): Declare. Use libc_hidden_proto. - * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked - and __ftello instead of fileno, fread_unlocked and ftello. - -2012-11-12 Siddhesh Poyarekar - - * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of - GOT12. - * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address): - Likewise. - (_dl_start_user): Likewise. - * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise. - -2014-11-12 Carlos O'Donell - Siddhesh Poyarekar - - * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user): - Move argv and envp down instead of moving argc up. - * sysdeps/s390/s390-32/dl-sysdep.h: New file. - -2014-11-12 Leonhard Holz - - [BZ #17506] - * test-skeleton.c (main): Return successful if one of - EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given. - * string/tst-strcoll-overflow.c: Define expected status. - -2014-11-12 Tatiana Udalova - - [BZ #17475] - * locale/iso-639.def: Define Bhili and Tulu language codes. - -2014-11-11 Alan Hayward - - * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file. - -2014-11-10 Renlin Li - - [BZ #17555] - * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment. - -2014-11-10 Andrew Senkevich - - * configure.ac: Updated check of minimal required version to - 2.22. - * manual/install.texi (Tools for Compilation): Updated version - number. - * configure: Regenerated. - * INSTALL: Likewise. - -2014-11-07 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove - __tls_get_addr. - -2014-11-07 Joseph Myers - - * include/sys/wait.h (__libc_waitpid): Remove declaration. - * posix/waitpid.c (__libc_waitpid): Rename to __waitpid. - (__waitpid): Don't define as alias. Use libc_hidden_def not - libc_hidden_weak. - (waitpid): Define as alias of __waitpid. - * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to - __waitpid. - (__waitpid): Don't define as alias. Use libc_hidden_def not - libc_hidden_weak. - (waitpid): Define as alias of __waitpid. - * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove - __libc_waitpid alias. - * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise. - * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid): - Likewise. - * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise. - * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise. - * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove - alias. - * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to - __waitpid. - (__waitpid): Don't define as alias. Use libc_hidden_def not - libc_hidden_weak. - (waitpid): Define as alias of __waitpid. - -2014-11-06 Carlos O'Donell - - * manual/llio.texi: Add comment that write safety has been - fixed in Linux. - - * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so. - (localplt-build-dso): Add elf/ld.so. - * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr - i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc, - and free for ld.so. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add - __libc_memalign, malloc, calloc, realloc, and free for ld.so. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: - Likewise. - * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise. - * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore - version, __libc_memalign, malloc, calloc, realloc and free for ld.so. - * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise. - * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise. - * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise. - * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise. - * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise. - * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise. - -2014-11-05 Joseph Myers - - [BZ #14132] - * include/libc-symbols.h (INTUSE): Remove macro. - (INTDEF): Likewise. - (INTVARDEF): Likewise. - (_INTVARDEF): Likewise. - (INTDEF2): Likewise. - (INTVARDEF2): Likewise. - * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use - rtld_hidden_def instead of INTVARDEF. - * sysdeps/generic/ldsodefs.h [IS_IN_rtld] - (_dl_starting_up_internal): Remove declaration. - (_dl_starting_up): Use rtld_hidden_proto. - * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove - declaration. - [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise. - (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with - _dl_starting_up. - * elf/dl-writev.h (_dl_writev): Likewise. - * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS] - (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of - _dl_starting_up_internal. - -2014-11-05 Adhemerval Zanella - - * stdio-common/tst-fmemopen.c (do_test): Refactor to use - test-skeleton.c. - -2014-11-05 Will Newton - - * benchtests/Makefile: (bench-malloc): Add malloc thread - scalability benchmark. - * benchtests/bench-malloc-threads.c: New file. - -2014-11-05 Richard Earnshaw - - * sysdeps/aarch64/strchrnul.S: New file. - -2014-11-05 Adhemerval Zanella - - * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify - definition. - * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1): - Likewise. - * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1): - Likewise. - * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1): - Likewise. - * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1): - Likewise. - * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1): - Likewise. - -2014-11-05 Arjun Shankar - - * catgets/test-gencat.c: Use test-skeleton.c. - * catgets/tst-catgets.c: Likewise. - * csu/tst-empty.c: Likewise. - * elf/tst-audit2.c: Likewise. - * elf/tst-global1.c: Likewise. - * elf/tst-pathopt.c: Likewise. - * elf/tst-piemod1.c: Likewise. - * elf/tst-tls10.c: Likewise. - * elf/tst-tls11.c: Likewise. - * elf/tst-tls12.c: Likewise. - * gnulib/tst-gcc.c: Likewise. - * iconvdata/tst-e2big.c: Likewise. - * iconvdata/tst-loading.c: Likewise. - * iconv/tst-iconv1.c: Likewise. - * iconv/tst-iconv2.c: Likewise. - * inet/test-inet6_opt.c: Likewise. - * inet/tst-gethnm.c: Likewise. - * inet/tst-network.c: Likewise. - * inet/tst-ntoa.c: Likewise. - * intl/tst-codeset.c: Likewise. - * intl/tst-gettext2.c: Likewise. - * intl/tst-gettext3.c: Likewise. - * intl/tst-ngettext.c: Likewise. - * intl/tst-translit.c: Likewise. - * io/test-stat.c: Likewise. - * libio/test-fmemopen.c: Likewise. - * libio/tst-freopen.c: Likewise. - * libio/tst-sscanf.c: Likewise. - * libio/tst-ungetwc1.c: Likewise. - * libio/tst-ungetwc2.c: Likewise. - * libio/tst-widetext.c: Likewise. - * localedata/tst-ctype.c: Likewise. - * localedata/tst-digits.c: Likewise. - * localedata/tst-leaks.c: Likewise. - * localedata/tst-mbswcs1.c: Likewise. - * localedata/tst-mbswcs2.c: Likewise. - * localedata/tst-mbswcs3.c: Likewise. - * localedata/tst-mbswcs4.c: Likewise. - * localedata/tst-mbswcs5.c: Likewise. - * localedata/tst-setlocale.c: Likewise. - * localedata/tst-trans.c: Likewise. - * localedata/tst-wctype.c: Likewise. - * localedata/tst-xlocale1.c: Likewise. - * login/tst-grantpt.c: Likewise. - * malloc/tst-calloc.c: Likewise. - * malloc/tst-malloc.c: Likewise. - * malloc/tst-mallocstate.c: Likewise. - * malloc/tst-mcheck.c: Likewise. - * malloc/tst-mtrace.c: Likewise. - * malloc/tst-obstack.c: Likewise. - * math/atest-exp2.c: Likewise. - * math/atest-exp.c: Likewise. - * math/atest-sincos.c: Likewise. - * math/test-matherr.c: Likewise. - * math/test-misc.c: Likewise. - * math/test-powl.c: Likewise. - * math/tst-definitions.c: Likewise. - * misc/tst-dirname.c: Likewise. - * misc/tst-efgcvt.c: Likewise. - * misc/tst-fdset.c: Likewise. - * misc/tst-hsearch.c: Likewise. - * misc/tst-mntent2.c: Likewise. - * nptl/tst-sem7.c: Likewise. - * nptl/tst-sem8.c: Likewise. - * nptl/tst-sem9.c: Likewise. - * nss/test-netdb.c: Likewise. - * posix/tst-fnmatch.c: Likewise. - * posix/tst-getlogin.c: Likewise. - * posix/tst-gnuglob.c: Likewise. - * posix/tst-mmap.c: Likewise. - * pwd/tst-getpw.c: Likewise. - * resolv/tst-inet_ntop.c: Likewise. - * rt/tst-timer.c: Likewise. - * stdio-common/test-fseek.c: Likewise. - * stdio-common/test-popen.c: Likewise. - * stdio-common/test-vfprintf.c: Likewise. - * stdio-common/tst-cookie.c: Likewise. - * stdio-common/tst-fileno.c: Likewise. - * stdio-common/tst-gets.c: Likewise. - * stdio-common/tst-obprintf.c: Likewise. - * stdio-common/tst-perror.c: Likewise. - * stdio-common/tst-sprintf2.c: Likewise. - * stdio-common/tst-sprintf3.c: Likewise. - * stdio-common/tst-sprintf.c: Likewise. - * stdio-common/tst-swprintf.c: Likewise. - * stdio-common/tst-tmpnam.c: Likewise. - * stdio-common/tst-unbputc.c: Likewise. - * stdio-common/tst-wc-printf.c: Likewise. - * stdlib/tst-environ.c: Likewise. - * stdlib/tst-fmtmsg.c: Likewise. - * stdlib/tst-limits.c: Likewise. - * stdlib/tst-rand48-2.c: Likewise. - * stdlib/tst-rand48.c: Likewise. - * stdlib/tst-random2.c: Likewise. - * stdlib/tst-random.c: Likewise. - * stdlib/tst-strtol.c: Likewise. - * stdlib/tst-strtoll.c: Likewise. - * stdlib/tst-tls-atexit.c: Likewise. - * stdlib/tst-xpg-basename.c: Likewise. - * string/test-ffs.c: Likewise. - * string/tst-bswap.c: Likewise. - * string/tst-inlcall.c: Likewise. - * string/tst-strtok.c: Likewise. - * string/tst-strxfrm.c: Likewise. - * sysdeps/x86_64/tst-audit10.c: Likewise. - * sysdeps/x86_64/tst-audit3.c: Likewise. - * sysdeps/x86_64/tst-audit4.c: Likewise. - * sysdeps/x86_64/tst-audit5.c: Likewise. - * time/tst-ftime_l.c: Likewise. - * time/tst-getdate.c: Likewise. - * time/tst-mktime3.c: Likewise. - * time/tst-mktime.c: Likewise. - * time/tst-posixtz.c: Likewise. - * time/tst-strptime2.c: Likewise. - * time/tst-strptime3.c: Likewise. - * wcsmbs/tst-btowc.c: Likewise. - * wcsmbs/tst-mbrtowc.c: Likewise. - * wcsmbs/tst-mbsrtowcs.c: Likewise. - * wcsmbs/tst-wchar-h.c: Likewise. - * wcsmbs/tst-wcpncpy.c: Likewise. - * wcsmbs/tst-wcrtomb.c: Likewise. - * wcsmbs/tst-wcsnlen.c: Likewise. - * wcsmbs/tst-wcstof.c: Likewise. - -2014-11-04 Joseph Myers - - [BZ #14132] - * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of - INTDEF. - * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove - declaration. - (_dl_mcount): Use rtld_hidden_proto. - * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with - _dl_mcount. - * elf/rtld.c (_rtld_global_ro): Likewise. - - [BZ #14132] - * elf/dl-init.c (_dl_init): Don't use INTDEF. - * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead - of _dl_init_internal. - * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise. - * sysdeps/arm/dl-machine.h (RTLD_START): Likewise. - * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise. - * sysdeps/i386/dl-machine.h (RTLD_START): Likewise. - * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise. - * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise. - * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise. - * sysdeps/mips/dl-machine.h (RTLD_START): Likewise. - * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise. - * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise. - * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise. - * sysdeps/sh/dl-machine.h (RTLD_START): Likewise. - * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise. - * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise. - * sysdeps/tile/dl-start.S (_start): Likewise. - * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise. - * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise. - - [BZ #14132] - * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto. - [IS_IN_rtld] (_dl_argv_internal): Do not declare. - (rtld_progname): Make macro definition unconditional. - * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of - INTDEF. - (dlmopen_doit): Do not use INTUSE with _dl_argv. - (dl_main): Likewise. - * elf/dl-sysdep.c (_dl_sysdep_start): Likewise. - * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv - instead of _dl_argv_internal. - * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use - __GI__dl_argv instead of INTUSE(_dl_argv). - * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use - __GI__dl_argv instead of _dl_argv_internal. - - * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro. - * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New - macro. - [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise. - * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E): - New macro. - [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise. - * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New - macro. - [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise. - * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro. - -2014-11-04 Andreas Schwab - - * posix/regex_internal.h: Don't include . - -2014-11-03 Adhemerval Zanella - - * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode - mtvsrd instruction in binary form. - -2014-11-03 Andreas Schwab - - [BZ #17522] - * libio/wfileops.c (_IO_wdo_write): If the file buffer has room - for less than MB_LEN_MAX use a local buffer of that size. - * libio/tst-fputws.c: New file. - * libio/Makefile (tests): Add tst-fputws. - -2014-11-01 Jose E. Marchesi - - * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix - the size of the fpu_fr.fpu_dregs[] array. - -2014-11-01 Joseph Myers - - * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep. - (__nanosleep): Do not define as alias. - (nanosleep): Define as alias of __nanosleep. - * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove - __libc_nanosleep name. - -2014-10-31 Joseph Myers - - * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update - install.texi in comment. - -2014-10-31 Torvald Riegel - - * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and... - * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier): - ... add here and use lwsync or sync ... - * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier): - ... and add here using lwsync. - -2014-10-31 Matthew Fortune - - * elf/dl-machine-reject-phdr.h: New file. - * elf/dl-load.c: #include that. - (open_verify): Call elf_machine_reject_phdr_p and ignore the file - if that returned true. - -2014-10-31 Roland McGrath - - [BZ #17496] - * Makerules: Move gnu/lib-names.h generation chunk up, to right after - gen-as-const-headers chunk. Add a big scare comment after the last - safe place to touch before-compile. - -2014-10-31 Joseph Myers - - * manual/install.texi (Tools for Compilation): Update autoconf - version requirements. - * INSTALL: Regenerated. - - * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias. - * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6] - (__libc_pselect): Likewise. - - [BZ #14138] - * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise. - -2014-10-31 Torvald Riegel - - * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use - correct barrier instruction. - * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier): - Likewise. - * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier): - Likewise. - -2014-10-30 Roland McGrath - - * include/ctype.h: Include first thing rather than - after defining inlines. Instead, just use parens to defeat macro - expansion of __isctype in its declaration. - -2014-10-30 Joseph Myers - - * include/sys/uio.h (__libc_readv): Remove declaration. - (__libc_writev): Likewise. - * misc/readv.c (__libc_readv): Rename to __readv. - (__readv): Do not define as alias. - (readv): Define as alias of __readv. - * misc/writev.c (__libc_writev): Rename to __writev. - (__writev): Do not define as alias. - (writev): Define as alias of __writev. - * sysdeps/posix/readv.c (__libc_readv): Rename to __readv. - (__readv): Do not define as alias. - (readv): Define unconditionally as alias of __readv. - * sysdeps/posix/writev.c (__libc_writev): Rename to __writev. - (__writev): Do not define as alias. - (writev): Define unconditionally as alias of __writev. - * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv - name. - (writev): Do not define __libc_writev name. - -2014-10-30 Roland McGrath - - * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const. - (convert_charseq): New function, broken out of ... - (use_from_charmap): ... here. Call it. - (use_to_charmap): Use convert_charseq and free instead of duplicating - its code with a variable-length stack struct. - -2014-10-30 Joseph Myers - - * include/fcntl.h (__libc_creat): Remove declaration. - * io/creat.c (__libc_creat): Rename to creat. - (creat): Do not define as alias. - * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias - of creat instead of __libc_creat. - * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename - to creat. - (creat): Do not define as alias. - [__WORDSIZE == 64] (creat64): Define as alias of creat instead of - __libc_creat. - * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define - __libc_creat name. - * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat): - Likewise. - -2014-10-29 Carlos O'Donell - - * manual/llio.texi: Add comments discussing why write() may be - considered MT-unsafe on Linux. - -2014-10-28 Carlos O'Donell - - * dl-load.c (local_strdup): Remove. - (expand_dynamic_string_token): Use __strdup. - (decompose_rpath): Likewise. - (_dl_map_object): Likewise. - -2014-10-28 Joseph Myers - - [BZ #14132] - * sysdeps/generic/unwind-dw2-fde.c - (__register_frame_info_bases_internal): Do not declare. - (__register_frame_info_table_bases_internal): Likewise. - (__deregister_frame_info_bases_internal): Likewise. - (__register_frame_info_bases): Declare and use hidden_proto before - definition. Use hidden_def instead of INTDEF. - (__register_frame_info_table_bases): Likewise. - (__deregister_frame_info_bases): Likewise. - (__register_frame_info): Do not use INTUSE. - (__register_frame): Likewise. - (__register_frame_info_table): Likewise. - (__register_frame_table): Likewise. - (__deregister_frame_info): Likewise. - (__deregister_frame): Likewise. - -2014-10-27 Gratian Crisan - - * sysdeps/unix/sysv/linux/arm/kernel-features.h - [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do - not undefine. - [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI): - Likewise. - [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST): - Likewise. - -2014-10-27 Joseph Myers - - [BZ #14138] - * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file. - * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise. - * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise. - * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise. - * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add - syscall. - (setfsuid): Likewise. - * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise. - (setfsuid): Likewise. - * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise. - (setfsuid): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid): - Likewise. - (setfsuid): Likewise. - * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise. - (setfsuid): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid): - Likewise. - (setfsuid): Likewise. - -2014-10-27 Andreas Schwab - - [BZ #17501] - * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix - check for Slow_SSE4_2 feature bit. - * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise. - * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise. - * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp): - Likewise. Fix check for Fast_Unaligned_Load feature bit. - -2014-10-24 Roland McGrath - - * configure.ac: Validate compiler version with a empirical test of - __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping - $CC -v output. - * configure: Regenerated. - - * inet/htons.c (htons): Prototypify. - * inet/htonl.c (htonl): Likewise. - -2014-10-24 Wilco Dijkstra - - * string/strncat.c (strncat): Improve performance by using strlen. - -2014-10-24 Wilco Dijkstra - - * string/strcat.c (strcat): Improve performance by using strlen/strcpy. - -2014-10-24 Wilco Dijkstra - - * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag): - Call libc_fetestexcept_aarch64. - -2014-10-24 Wilco Dijkstra - - * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): - Call libc_feholdexcept_aarch64. - -2014-10-24 Wilco Dijkstra - - * sysdeps/aarch64/fpu/fegetround.c (fegetround): - Call get_rounding_mode. - -2014-10-24 Wilco Dijkstra - - * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): - Simplify logic. - -2014-10-24 Wilco Dijkstra - - * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): - Simplify logic. - -2014-10-24 Joseph Myers - - [BZ #14138] - * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file. - * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise. - * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise. - * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise. - * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise. - * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise. - * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise. - * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise. - * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise. - * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise. - * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise. - * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise. - * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise. - * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise. - * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add - syscall. - (geteuid): Likewise. - (getgid): Likewise. - (getuid): Likewise. - (getresgid): Likewise. - (getresuid): Likewise. - (getgroups): Likewise. - * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise. - (geteuid): Likewise. - (getgid): Likewise. - (getuid): Likewise. - (getresgid): Likewise. - (getresuid): Likewise. - (getgroups): Likewise. - * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise. - (geteuid): Likewise. - (getgid): Likewise. - (getuid): Likewise. - (getresgid): Likewise. - (getresuid): Likewise. - (getgroups): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid): - Likewise. - (geteuid): Likewise. - (getgid): Likewise. - (getuid): Likewise. - (getresgid): Likewise. - (getresuid): Likewise. - (getgroups): Likewise. - * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise. - (geteuid): Likewise. - (getgid): Likewise. - (getuid): Likewise. - (getresgid): Likewise. - (getresuid): Likewise. - (getgroups): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid): - Likewise. - (geteuid): Likewise. - (getgid): Likewise. - (getuid): Likewise. - (getgroups): Likewise. - - [BZ #14138] - * sysdeps/unix/sysv/linux/i386/chown.c: Remove file. - * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise. - * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file. - * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise. - * sysdeps/unix/sysv/linux/sh/chown.c: Likewise. - * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise. - * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add - __chown. - * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall. - (lchown): Likewise. - (fchown): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown): - Likewise. - (lchown): Likewise. - (fchown): Likewise. - * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise. - (lchown): Likewise. - (fchown): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown): - Likewise. - (lchown): Likewise. - (fchown): Likewise. - -2014-10-23 Wilco Dijkstra - - * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): - Simplify logic. - -2014-10-23 Wilco Dijkstra - - * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag): - Cleanup logic. - -2014-10-23 Wilco Dijkstra - - * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag): - Remove unused include. - -2014-10-23 Wilco Dijkstra - - * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces. - * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces. - * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces. - * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces. - -2014-10-23 Carlos O'Donell - Helge Deller - - [BZ #17508] - * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT. - Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12. - Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32. - -2014-10-23 Joseph Myers - - [BZ #14132] - * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20): - Remove macro definition. - (__ashrdi3_v_glibc20): Likewise. - (__lshrdi3_v_glibc20): Likewise. - (__cmpdi2_v_glibc20): Likewise. - (__ucmpdi2_v_glibc20): Likewise. - [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise. - [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise. - [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise. - [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise. - [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise. - [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise. - -2014-10-22 Roland McGrath - - * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than - old GNU extension [0] syntax. - * nscd/nscd_helper.c (open_socket): Use a flexible array member and - alloca rather than an array member with variable length. - * nscd/netgroupcache.c (addgetnetgrentX): Likewise. - * nscd/nscd.c (invalidate_db): New function, broken out of ... - (parse_opt): ... here. Likewise use alloca there. - Validate the -i argument before checking for rootness. - (send_shutdown): New function, broken out of ... - (parse_opt): ... here. - -2014-10-22 Roland McGrath - - * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL - macro to get at the _rt_local_ro field. - [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro - ([PIC] case) or _dl_hwcap ([!PIC] case). - * sysdeps/arm/setjmp.S: Likewise. - - * config.h.in (ARM_PCREL_MOVW_OK): New macro. - * sysdeps/arm/configure.ac: New check to define it. - * sysdeps/arm/configure: Regenerated. - * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include . - (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros. - (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions - depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__]. - (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]: - Use move/movt pair instead of a load. - (LDST_GLOBAL): Macro removed. - (LDR_GLOBAL): New macro replaces it. - (LDR_HIDDEN): New macro. - (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL. - Use LDR_HIDDEN instead for __pointer_chk_guard_local. - - * setjmp/tst-setjmp-static.c: New file. - * setjmp/Makefile (tests): Add it. - (tests-static): New variable. - -2014-10-22 Maciej W. Rozycki - - [BZ #17485] - * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define. - -2014-10-21 Joseph Myers - - [BZ #14132] - * math/s_ldexpf.c (__ldexpf): Do not use INTDEF. - -2014-10-21 Roland McGrath - - * nptl/version.c (__nptl_main): Call __libc_write, not __write. - -2014-10-20 Roland McGrath - - * io/fts.c (dirent_not_directory): New function. - (fts_build): Call it. - -2014-10-20 Roland McGrath - - * nptl/version.c (__nptl_main): Use normal __write rather than - INTERNAL_SYSCALL. - (banner): Update copyright years. - - * nptl/pthread_rwlock_timedrdlock.c: #include before using - gettimeofday. - * nptl/pthread_rwlock_timedwrlock.c: Likewise. - * nptl/pthread_cond_timedwait.c: Likewise. - * nptl/pthread_mutex_timedlock.c: Likewise. - * nptl/sem_timedwait.c: Likewise. - - * sysdeps/nptl/bits/libc-lock.h - [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)] - (__libc_lock_init_recursive): Return void, not 0. - * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise. - (__libc_rwlock_init): Likewise. - * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise. - -2014-10-20 Torvald Riegel - - [BZ #15215] - * nptl/pthread_once.c (__pthread_once): Split out fast path to ... - (__pthread_once_slow): ... here. - * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file. - * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file. - -2014-10-20 Torvald Riegel - - [BZ #15215] - * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE, - __PTHREAD_ONCE_FORK_GEN_INCR): New. - * sysdeps/nptl/fork.c (__libc_fork): Use them. - * nptl/pthread_once.c (__pthread_once): Likewise. - Update comments. - -2014-10-20 Joseph Myers - - [BZ #14138] - * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong - name. - (writev): Use __libc_writev as strong name. - * sysdeps/unix/sysv/linux/readv.c: Remove file. - * sysdeps/unix/sysv/linux/writev.c: Likewise. - -2014-10-17 Roland McGrath - - * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed. - - * sysdeps/i386/nptl/tls.h - (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed. - [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): - New macros. - * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO] - (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros. - * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]: - Call SETUP_THREAD_SYSINFO instead of doing an assignment. - * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]: - Call CHECK_THREAD_SYSINFO instead of doing an assert. - - * nptl/nptl-init.c (__pthread_initialize_minimal_internal): - Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes - on [__NR_futex]. - * nptl/pthread_mutex_init.c (prio_inherit_missing): New function, - broken out of ... - (__pthread_mutex_init): ... here. Call it. - * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): - Conditionalize PI cases on [__NR_futex]. - * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise. - * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise. - * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise. - - * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions - conditional on [SIGSETXID]. - (sigcancel_handler): Make definition conditional on [SIGCANCEL]. - (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it - is defined. Likewise for SIGSETXID. - * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread): - Conditionalize definitions on [SIGSETXID]. - (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise. - * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL - unblocking on [SIGCANCEL]. - - * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on - [__NR_set_robust_list]. - -2014-10-17 Siddhesh Poyarekar - - * string/strcoll_l.c (get_next_seq): Fix up formatting. - (do_compare): Likewise. - -2014-10-17 Leonhard Holz - - [BZ #15884] - * string/strcoll_l.c: Don't include stdio.h. - (coll_seq): Remove members idxarr and rulearr. - (get_next_seq_cached): Remove function. - (get_next_seq): Likewise. - (get_next_seq_nocache): Rename to get_next_seq. - (do_compare): Remove function. - (do_compare_nocache): Rename to do_compare. - (STRCOLL): Remove weight and rules cache. - -2014-10-16 Roland McGrath - - * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ... - * sysdeps/arm/sfp-machine.h: ... to here. - * sysdeps/arm/Implies: Remove arm/soft-fp. - -2014-10-14 Joseph Myers - - * conform/data/sys/utsname.h-data (*_t): Allow. - * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define. - [POSIX] (WEXITED): Do not expect constant. - [POSIX] (WSTOPPED): Likewise. - [POSIX] (WNOHANG): Likewise. - [POSIX] (WNOWAIT): Likewise. - [POSIX] (siginfo_t): Do not expect type or elements. - [POSIX] (pid_t): Do not expect type. - [POSIX] (signal.h): Do not allow header. - [POSIX] (sys/resource.h): Likewise. - [POSIX] (si_*): Do not allow pattern. - [POSIX] (W*): Likewise. - [POSIX] (P_*): Likewise. - [POSIX] (BUS_*): Likewise. - [POSIX] (CLD_*): Likewise. - [POSIX] (FPE_*): Likewise. - [POSIX] (ILL_*): Likewise. - [POSIX] (POLL_*): Likewise. - [POSIX] (SEGV_*): Likewise. - [POSIX] (SI_*): Likewise. - [POSIX] (TRAP_*): Likewise. - * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New - variable. - -2014-10-14 Paul Pluzhnikov - - [BZ #12926] - * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid - infinite loop when __recvmsg returns 0. - -2014-10-10 Joseph Myers - - * CANCEL-FCT-WAIVE: Remove file. - * CANCEL-FILE-WAIVE: Likewise. - - [BZ #14132] - * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def - instead of INTVARDEF. - (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure. - * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use - rtld_hidden_data_def instead of INTVARDEF. - (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure. - * elf/dl-deps.c (expand_dst): Likewise. - * elf/dl-load.c (_dl_dst_count): Likewise. - (_dl_dst_substitute): Likewise. - (decompose_rpath): Likewise. - (_dl_init_paths): Likewise. - (open_path): Likewise. - (_dl_map_object): Likewise. - * elf/rtld.c (dl_main): Likewise. - (process_dl_audit): Likewise. - (process_envvars): Likewise. - * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal): - Remove declaration. - (__libc_enable_secure): Use rtld_hidden_proto. - -2014-10-09 Kostya Serebryany - - * elf/dl-load.c - (add_path): New function broken out of _dl_rtld_di_serinfo. - (_dl_rtld_di_serinfo): Remove that nested function. Update call sites. - -2014-10-09 Joseph Myers - - * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use - parentheses around macro arguments. - [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise. - [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise. - [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise. - * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E): - Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise. - [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise. - [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise. - * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise. - (_FP_FRAC_SRS_1): Likewise. - (_FP_FRAC_CLZ_1): Likewise. - (_FP_MUL_MEAT_1_imm): Likewise. - (_FP_MUL_MEAT_1_wide): Likewise. - (_FP_MUL_MEAT_1_hard): Likewise. - (_FP_SQRT_MEAT_1): Likewise. - (_FP_FRAC_ASSEMBLE_1): Likewise. - (_FP_FRAC_DISASSEMBLE_1): Likewise. - * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise. - (__FP_CLZ_2): Likewise. - (_FP_MUL_MEAT_2_wide): Likewise. - (_FP_MUL_MEAT_2_wide_3mul): Likewise. - (_FP_MUL_MEAT_2_gmp): Likewise. - (_FP_MUL_MEAT_2_120_240_double): Likewise. - (_FP_SQRT_MEAT_2): Likewise. - (_FP_FRAC_ASSEMBLE_2): Likewise. - (_FP_FRAC_DISASSEMBLE_2): Likewise. - * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise. - (_FP_FRAC_CLZ_4): Likewise. - (_FP_MUL_MEAT_4_wide): Likewise. - (_FP_MUL_MEAT_4_gmp): Likewise. - (_FP_SQRT_MEAT_4): Likewise. - (_FP_FRAC_ASSEMBLE_4): Likewise. - (_FP_FRAC_DISASSEMBLE_4): Likewise. - * soft-fp/op-common.h (_FP_CMP): Likewise. - (_FP_CMP_EQ): Likewise. - (_FP_CMP_UNORD): Likewise. - (_FP_TO_INT): Likewise. - (_FP_FROM_INT): Likewise. - [!__FP_CLZ] (__FP_CLZ): Likewise. - (_FP_DIV_HELP_imm): Likewise. - * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q): - Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise. - [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise. - [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise. - [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise. - [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise. - * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise. - (FP_UNPACK_RAW_SP): Likewise. - (FP_PACK_RAW_S): Likewise. - (FP_PACK_RAW_SP): Likewise. - (FP_UNPACK_S): Likewise. - (FP_UNPACK_SP): Likewise. - (FP_UNPACK_SEMIRAW_S): Likewise. - (FP_UNPACK_SEMIRAW_SP): Likewise. - (FP_PACK_S): Likewise. - (FP_PACK_SP): Likewise. - (FP_PACK_SEMIRAW_S): Likewise. - (FP_PACK_SEMIRAW_SP): Likewise. - (_FP_SQRT_MEAT_S): Likewise. - (FP_CMP_S): Likewise. - (FP_CMP_EQ_S): Likewise. - (FP_CMP_UNORD_S): Likewise. - (FP_TO_INT_S): Likewise. - (FP_FROM_INT_S): Likewise. - - * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2. - - * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro. - (FP_EX_INVALID_IMZ): Likewise. - (FP_EX_INVALID_IMZ_FMA): Likewise. - (FP_EX_INVALID_ISI): Likewise. - (FP_EX_INVALID_ZDZ): Likewise. - (FP_EX_INVALID_IDI): Likewise. - (FP_EX_INVALID_SQRT): Likewise. - (FP_EX_INVALID_CVI): Likewise. - (FP_EX_INVALID_VC): Likewise. - * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise - "invalid" exceptions. - (_FP_CHECK_SIGNAN_SEMIRAW): Likewise. - (_FP_ADD_INTERNAL): Likewise. - (_FP_MUL): Likewise. - (_FP_FMA): Likewise. - (_FP_DIV): Likewise. - (_FP_CMP_CHECK_NAN): Likewise. - (_FP_SQRT): Likewise. - (_FP_TO_INT): Likewise. - (FP_EXTEND): Likewise. - -2014-10-09 Allan McRae - - * po/fr.po: Update French translation from translation project. - -2014-10-09 Joseph Myers - - [BZ #14132] - * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead - of INTDEF. - * include/stdlib.h (__cxa_atexit_internal): Remove declaration. - (__cxa_atexit): Use libc_hidden_proto. - [!NOT_IN_libc] (__cxa_atexit): Remove macro definition. - - [BZ #14132] - * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove - declaration. - [!_ISOMAC] (__iswdigit_l_internal): Likewise. - [!_ISOMAC] (__iswspace_l_internal): Likewise. - [!_ISOMAC] (__iswxdigit_l_internal): Likewise. - [!_ISOMAC] (__iswctype_internal): Likewise. - * stdio-common/siglist.c (_sys_siglist_internal): Remove alias. - * sysdeps/unix/syscalls.list (chown): Remove __chown_internal - alias. - (fcntl): Remove __fcntl_internal alias. - * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove - __connect_internal alias. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect): - Likewise. - - * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro. - * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check - FP_DENORM_ZERO. - (_FP_CHECK_FLUSH_ZERO): New macro. - (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO. - (_FP_CMP): Likewise. - (_FP_CMP_EQ): Likewise. - (_FP_TO_INT): Do not set inexact for subnormal arguments if - FP_DENORM_ZERO. - (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO. - (FP_TRUNC): Likewise. - - * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is - treated as invalid conversion, not as normal exponent. - - * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro. - (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN. - (_FP_CMP_EQ): Likewise. - (_FP_CMP_UNORD): Likewise. - * soft-fp/double.h (FP_CMP_D): Add extra argument EX. - (FP_CMP_EQ_D): Likewise. - (FP_CMP_UNORD_D): Likewise. - * soft-fp/extended.h (FP_CMP_E): Likewise. - (FP_CMP_EQ_E): Likewise. - (FP_CMP_UNORD_E): Likewise. - * soft-fp/quad.h (FP_CMP_Q): Likewise. - (FP_CMP_EQ_Q): Likewise. - (FP_CMP_UNORD_Q): Likewise. - * soft-fp/single.h (FP_CMP_S): Likewise. - (FP_CMP_EQ_S): Likewise. - (FP_CMP_UNORD_S): Likewise. - * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D. - * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S. - * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q. - * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D. - * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S. - * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q. - * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D. - * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S. - * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q. - * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D. - * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S. - * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q. - * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call - to FP_CMP_Q. - * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to - FP_CMP_Q. - * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise. - * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to - FP_CMP_EQ_Q. - * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to - FP_CMP_Q. - * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise. - * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise. - * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise. - * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to - FP_CMP_EQ_Q. - * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to - FP_CMP_Q. - * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to - FP_CMP_EQ_Q. - * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to - FP_CMP_Q. - * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to - FP_CMP_EQ_Q. - - * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces - a subnormal result, set the underflow exception if trapping on - underflow is enabled. - * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro. - (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS. - [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and - redefine to 0. - * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define. - * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise. - * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise. - * soft-fp/extendxftf2.c (__extendxftf2): Use - FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE. - - * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro. - * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS. - (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or - FP_HANDLE_EXCEPTIONS. - * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS. - (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or - FP_HANDLE_EXCEPTIONS. - * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS. - (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or - FP_HANDLE_EXCEPTIONS. - * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS. - (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or - FP_HANDLE_EXCEPTIONS. - -2014-10-08 Joseph Myers - - [BZ #14132] - * sysdeps/unix/sysv/linux/include/sys/timex.h: New file. - * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not - use INTUSE. - [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration. - * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal): - Remove alias. - (__adjtimex): Define using libc_hidden_ver. - * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)): - Remove declaration. - (ntp_gettime): Call __adjtimex directly. - * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)): - Remove declaration. - (ntp_gettimex): Call __adjtimex directly. - * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove - __adjtimex_internal alias. - -2014-10-08 Roland McGrath - - [BZ #17460] - * nscd/nscd.c (more_help): Rewrite list of tables collection - using xstrdup and asprintf. - - * nscd/nscd_conf.c: Remove local xstrdup declaration. - -2014-10-08 Kostya Serebryany - Roland McGrath - - * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ... - (do_lookup_unique): ... local function 'enter' here; update callers. - -2014-10-06 Joseph Myers - - * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition - compat_symbol calls on [SHARED]. - * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file. - * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit): - Remove. - (setrlimit): Add setrlimit@GLIBC_2.0 alias. - * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list - (oldsetrlimit): Remove. - (setrlimit): Add setrlimit@GLIBC_2.0 alias. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list - (lchown): New syscall entry. - (oldsetrlimit): Remove. - (setrlimit): Add setrlimit@GLIBC_2.0 alias. - * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list - (oldsetrlimit): Remove. - (setrlimit): Add setrlimit@GLIBC_2.0 alias. - - [BZ #14138] - * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file. - * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise. - * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall. - (fchown): Likewise. - * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise. - (fchown): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown): - Likewise. - -2014-10-06 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file. - * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c - (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of - __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr. - * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post): - Likewise. - (__old_sem_post): Likewise. - -2014-10-06 Chris Metcalf - - * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define - INLINE_VSYSCALL, INTERNAL_VSYSCALL, and - HAVE_CLOCK_GETTIME_VSYSCALL macros. - * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday): - Use INLINE_VSYSCALL macro. - * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of - __vdso_clock_gettime. - * sysdeps/unix/sysv/linux/tile/init-first.c - (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global. - * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add - __vdso_clock_gettime. - - * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code - to set up frame more cleanly. - - * sysdeps/tile/memcmp.c: New file. - - * sysdeps/unix/sysv/linux/tile/sysconf.c: New file. - - * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro. - * sysdeps/tile/tilegx/strcasestr.c: New file. - * sysdeps/tile/tilegx/strnlen.c: New file. - * sysdeps/tile/tilegx/strstr.c: New file. - - * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize. - -2014-10-06 Arjun Shankar - - * nptl/tst-setuid3.c: Write errors to stdout. - -2014-10-01 Kostya Serebryany - - * elf/dl-deps.c - (preload): New functions broken out of _dl_map_object_deps. - (_dl_map_object_deps): Remove a nested function. Update call sites. - -2014-10-01 Joseph Myers - - [BZ #14138] - * sysdeps/unix/sysv/linux/execve.c: Remove file. - * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall. - -2014-10-01 Steve Ellcey - - * sysdeps/mips/strcmp.S: New. - -2014-09-30 Joseph Myers - - [BZ #14138] - * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall. - (linkat): Likewise. - (mkdirat): Likewise. - (readlinkat): Likewise. - (renameat): Likewise. - (symlinkat): Likewise. - (unlinkat): Likewise. - * sysdeps/unix/sysv/linux/fchownat.c: Remove file. - * sysdeps/unix/sysv/linux/linkat.c: Likewise. - * sysdeps/unix/sysv/linux/mkdirat.c: Likewise. - * sysdeps/unix/sysv/linux/readlinkat.c: Likewise. - * sysdeps/unix/sysv/linux/renameat.c: Likewise. - * sysdeps/unix/sysv/linux/symlinkat.c: Likewise. - * sysdeps/unix/sysv/linux/unlinkat.c: Likewise. - -2014-09-30 Will Newton - - * math/math.h: Define long double math functions if - _LIBC_TEST is defined. - * stdlib/tst-strtod-round.c: Define _LIBC_TEST. - - * localedata/Makefile: Move assignment to tests-special - into an ifdef testing run-built-tests. - * timezone/Makefile: Likewise. - -2014-09-29 Joseph Myers - - * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script - with $(BASH) not $(SHELL). - -2014-09-29 Carlos O'Donell - Matthew LeGendre - - [BZ #17411] - * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for - l_reloc_result. - -2014-09-29 Kostya Serebryany - - * stdio-common/printf_fp.c - (hack_digit): New function, broken out of ... - (__printf_fp): ... local function here. Update call sites. - hack_digit now takes an additional parameter that is a pointer - to a struct of the referenced locals. Those locals moved inside - the struct and references updated. - -2014-09-29 H.J. Lu - - * aclocal.m4: Require autoconf 2.69. - * configure: Regenerated. - * sysdeps/aarch64/configure: Likewise. - * sysdeps/alpha/configure: Likewise. - * sysdeps/arm/armv7/configure: Likewise. - * sysdeps/arm/configure: Likewise. - * sysdeps/ia64/configure: Likewise. - * sysdeps/mach/configure: Likewise. - * sysdeps/mips/configure: Likewise. - * sysdeps/s390/configure: Likewise. - * sysdeps/unix/sysv/linux/mips/configure: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise. - - * sysdeps/alpha/configure.ac: Avoid empty lines at the end of - file. - * sysdeps/ia64/configure.ac: Likewise. - -2014-09-26 Joseph Myers - - * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not - specify symbol version for ld.so. Do not include entry for - libpthread. - * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise. - * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise. - - [BZ #14171] - * Makeconfig [$(build-shared) = yes] - ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in - makefiles. - [$(build-shared) = yes && $(soversions.mk-done) = t] - ($(common-objpfx)gnu/lib-names.h): Remove rule. - [$(build-shared) = yes && $(soversions.mk-done) = t] - ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved - to Makerules. - [$(build-shared) = yes && $(soversions.mk-done) = t] - (before-compile): Don't append $(common-objpfx)gnu/lib-names.h - here. - [$(build-shared) = yes && $(soversions.mk-done) = t] - (common-generated): Don't append gnu/lib-names.h and - gnu/lib-names.stmp here. - * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t] - (lib-names-h-abi): New variable. - [$(build-shared) = yes && $(soversions.mk-done) = t] - (lib-names-stmp-abi): Likewise. - [$(build-shared) = yes && $(soversions.mk-done) = t && - abi-variants] (before-compile): Append - $(common-objpfx)$(lib-names-h-abi). - [$(build-shared) = yes && $(soversions.mk-done) = t && - abi-variants] (common-generated): Append gnu/lib-names.h. - [$(build-shared) = yes && $(soversions.mk-done) = t && - abi-variants] (install-others-nosubdir): Depend on - $(inst_includedir)/$(lib-names-h-abi). - [$(build-shared) = yes && $(soversions.mk-done) = t && - abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule. - [$(build-shared) = yes && $(soversions.mk-done) = t] - ($(common-objpfx)$(lib-names-h-abi)): New rule. - [$(build-shared) = yes && $(soversions.mk-done) = t] - ($(common-objpfx)$(lib-names-stmp-abi)): Likewise. - [$(build-shared) = yes && $(soversions.mk-done) = t] - (common-generated): Append $(lib-names-h-abi) and - $(lib-names-stmp-abi). - * scripts/lib-names.awk: Do not handle multi being set. - * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname): - Remove variable. - (abi-lp64_be-ld-soname): Likewise. - * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname): - Likewise. - (abi-hard-ld-soname): Likewise. - * sysdeps/unix/sysv/linux/i386/shlib-versions: New file. - * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname): - Remove variable. - (abi-o32_hard-ld-soname): Likewise. - (abi-o32_soft_2008-ld-soname): Likewise. - (abi-o32_hard_2008-ld-soname): Likewise. - (abi-n32_soft-ld-soname): Likewise. - (abi-n32_hard-ld-soname): Likewise. - (abi-n32_soft_2008-ld-soname): Likewise. - (abi-n32_hard_2008-ld-soname): Likewise. - (abi-n64_soft-ld-soname): Likewise. - (abi-n64_hard-ld-soname): Likewise. - (abi-n64_soft_2008-ld-soname): Likewise. - (abi-n64_hard_2008-ld-soname): Likewise. - * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname): - Likewise. - (abi-64-v2-ld-soname): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add - ld.so entries. - * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove - variable. - * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so - entry. - * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove - variable. - (abi-64-ld-soname): Likewise. - (abi-x32-ld-soname): Likewise. - * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so - entry. - * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise. - -2014-09-23 Joseph Myers - - [BZ #14138] - * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file. - * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise. - * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise. - * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add - syscall entry for GLIBC_2.2 symbol version. - * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit): - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list - (setrlimit): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit): - Likewise. - -2014-09-23 Will Newton - - * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for - _LINUX_ARM_SYSDEP_H include guard too. - * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove - define. - -2014-09-20 Rasmus Villemoes - - * sysdeps/unix/sysv/linux/eventfd.c: - Make first argument unsigned. - * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise. - * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise. - -2014-09-20 Ondƙej BĂ­lka - - [BZ #16852] - * socket/recvmmsg.c (recvmmsg): Drop const argument. - * socket/sys/socket.h: Likewise. - * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise. - -2014-09-19 Andreas Krebbel - - * stdlib/longlong.h: Add __udiv_w_sdiv prototype. - -2014-09-17 Arjun Shankar - - * time/tst-ftime.c: New test. - * time/Makefile (tests): Add tst-ftime. - -2014-09-17 Joseph Myers - - * soft-fp/extended.h: Fix comment formatting. - * soft-fp/op-1.h: Likewise. - * soft-fp/op-2.h: Likewise. - * soft-fp/op-4.h: Likewise. - * soft-fp/op-8.h: Likewise. - * soft-fp/op-common.h: Likewise. - * soft-fp/soft-fp.h: Likewise. - - * soft-fp/op-common.h (_FP_TO_INT): Correct formatting. - -2014-09-16 Joseph Myers - - [BZ #6652] - * Makeconfig (soversions-default-setname): Remove variable. - ($(common-objpfx)soversions.i): Don't pass default_setname to - soversions.awk. - * Makerules ($(common-objpfx)abi-versions.h): Don't pass - oldest_abi to abi-versions.awk. - * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine. - * config.make.in (oldest-abi): Remove variable. - * configure.ac (--enable-oldest-abi): Remove configure option. - * configure: Regenerated. - * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional - text. - * scripts/abi-versions.awk: Do not handle oldest_abi variable. - * scripts/soversions.awk: Do not handle default_setname variable. - * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi - variable. - * sysdeps/mach/hurd/configure: Regenerated. - * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi - variable. - * sysdeps/unix/sysv/linux/configure: Regenerated. - -2014-09-16 Siddhesh Poyarekar - - * elf/Makefile (CFLAGS-interp.c): Remove. - ($(elf-objpfx)runtime-linker.h): Generate header with linker - path string. - * elf/interp.c: Include generated runtime-linker.h - - * Makerules (lib%.so): Don't include $(+interp) in - prerequisites. - * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc. - * dlfcn/eval.c: Remove file. - - * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS - macros. - - [BZ #17266] - * misc/sys/cdefs.h: Define __extern_always_inline for clang - 4.2 and newer. - - [BZ #17370] - * libio/wfileops.c (do_ftell_wide): Free OUT on error path. - -2014-09-16 Siddhesh Poyarekar - Jakub Jelinek - - [BZ #17266] - * libio/stdio.h: Check definition of __fortify_function - instead of __extern_always_inline to include bits/stdio2.h. - * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also - check if __extern_always_inline is defined. - [__USE_MISC || __USE_XOPEN]: Likewise. - [__USE_ISOC99] Likewise. - * misc/sys/cdefs.h (__fortify_function): Define only if - __extern_always_inline is defined. - [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining - __extern_always_inline and __extern_inline only for g++-4.3 - and newer or a compatible gcc. - -2014-09-15 Andreas Schwab - - [BZ #17371] - * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix - last change to handle zero prefix length. - -2014-09-15 Siddhesh Poyarekar - - * sysdeps/posix/sysconf.c (__sysconf): Return -1 for - _SC_REGEX_VERSION. - - * posix/getconf.c (vars): Add _POSIX_IPV6 and - _POSIX_RAW_SOCKETS. - -2014-09-13 Allan McRae - - * po/ru.po: Update Russian translation from translation project. - -2014-09-12 Roland McGrath - - * locale/programs/locale.c (show_locale_vars): Inline local function - into its sole call site. Clean up some style nits. - (print_item): New function, broken out of ... - (show_info): ... local function here. Clean up style nits. - - * locale/programs/ld-ctype.c (set_one_default): New function, broken - out of ... - (set_class_defaults): ... local function set_default here. - Define set_default as a macro locally to pass constant parameters. - (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT, - rather than a shared local. - - * stdlib/rpmatch.c (try): New function, broken out of ... - (rpmatch): ... local function here. Also, prototypify definition. - -2014-09-12 Joseph Myers - - * scripts/soversions.awk: Do not handle configuration names. - * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu, - vendor and os variables to soversions.awk. - * configure.ac: Do not modify gnu-* host_os. - * configure: Regenerated - * shlib-versions: Remove first column with configuration names. - * nptl/shlib-versions: Likewise. - * nptl_db/shlib-versions: Likewise. - * sysdeps/hppa/shlib-versions: Likewise. - * sysdeps/m68k/shlib-versions: Likewise. - * sysdeps/mach/hurd/shlib-versions: Likewise. - * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise. - * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise. - * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise. - * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise. - * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise. - * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise. - * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise. - * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise. - * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise. - * sysdeps/unix/sysv/linux/shlib-versions: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise. - * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise. - * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise. - - * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac - (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: - Regenerated. - * config.h.in (HAVE_ELFV2_ABI): New macro undefine. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: - Condition symbol version definitions on [HAVE_ELFV2_ABI]. - - * shlib-versions: Remove OS-specific entries. Moved to files in - sysdeps. - * sysdeps/mach/hurd/shlib-versions: New file. - * sysdeps/unix/sysv/linux/shlib-versions: Likewise. - - * nptl/shlib-versions: Remove architecture-specific entries. - Moved to files in sysdeps. - * shlib-versions: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New - file. - * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise. - * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise. - - * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro. - (UDP_NO_CHECK6_RX): Likewise. - -2014-09-12 Siddhesh Poyarekar - - * sysdeps/posix/sysconf.c (__sysconf): Spell - _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly. - -2014-08-12 Florian Weimer - - * iconv/gconv_open.c (__gconv_open): Remove transliteration module - loading. - * iconv/Versions (__gconv_transliterate): Export for use from - gconv modules. - * iconv/gconv.h (__GCONV_TRANSLIT): New flag. - (struct __gconv_trans_data, __gconv_trans_fct, - __gconv_trans_context_fct, __gconv_trans_query_fct, - __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type - definitions. - (struct __gconv_step_data): Remove __trans member. - (__gconv_transliterate): Declaration moved from gconv_int.h. No - longer hidden. Remove unused trans_data argument. - * iconv/gconv_int.h (struct trans_struct): Remove definition. - (__gconv_translit_find): Remove declaration. - (__gconv_transliterate): Declaration moved to gconv.h. Add hidden - prototype. - * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup. - * iconv/gconv_trans.c (__gconv_transliterate): Remove unused - trans_data argument. Add hidden definition. - (__gconv_translit_find): Remove. - * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call - __gconv_transliterate directly if __GCONV_TRANSLIT is set. - * iconv/skeleton.c: Remove transliteration initialization. - * libio/fileops.c (_IO_new_file_fopen): Adjust struct - __gconv_step_data initialization. - * libio/iofwide.c (__libio_translit_): Remove. - (_IO_fwide): Adjust struct __gconv_step_data initialization. - * wcsmbs/btowc.c (__btowc): Likewise. - * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise. - * wcsmbs/mbrtowc.c (__mbrtowc): Likewise. - * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise. - * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise. - * wcsmbs/wcrtomb.c (__wcrtomb): Likewise. - * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise. - * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise. - * wcsmbs/wctob.c (wctob): Likewise. - -2014-09-12 Siddhesh Poyarekar - - [BZ #16194] - * sysdeps/x86/tst-xmmymm.sh: Rename file to... - * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm - register usage. - * sysdeps/x86/Makefile: Adjust. - -2014-09-11 Kostya Serebryany - Roland McGrath - - * locale/weight.h: Add include guard. - (findidx): Make static rather than auto; take new parameters - TABLE, INDIRECT, and EXTRA instead of getting them as outer locals. - * locale/weightwc.h: Likewise. - * posix/fnmatch_loop.c - (FCT): Change type of EXTRA from int32_t to wint_t. - Don't include either header inside the function. - Call FINDIDX rather than findidx, and pass new arguments. - #undef FINDIDX at the end of the file. - * posix/fnmatch.c [_LIBC]: #include and define - FINDIDX before including fnmatch_loop.c for the non-wide version. - [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around - #include , and define FINDIDX to findidxwc - for the wide version. - * posix/regcomp.c [_LIBC]: #include . - (build_equiv_class) [_LIBC]: Don't #include it inside the function. - Pass new arguments to findidx. - * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include . - [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]: - Don't #include it inside the function. Pass new arguments to findidx. - * posix/regex_internal.h - [!NOT_IN_libc] [_LIBC]: #include . - (re_string_elem_size_at): Don't #include it inside the function. - Pass new arguments to findidx. - * string/strcoll_l.c: #include WEIGHT_H at top level. - (get_next_seq): Don't #include it inside the function. - Pass new arguments to findidx. - (get_next_seq_nocache): Likewise. - * string/strxfrm_l.c: #include WEIGHT_H at top level. - (STRXFRM): Don't #include it inside the function. - Pass new arguments to findidx. - -2014-09-11 Florian Weimer - - [BZ #17344] - * malloc/malloc.c (unlink): Turn asserts into a call to - malloc_printerr. - -2014-09-11 Tim Lammens - - [BZ #17370] - * libio/wfileops (do_ftell_wide): Free OUT. - -2014-09-10 Chris Metcalf - - * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file. - -2014-09-10 Siddhesh Poyarekar - - [BZ #17363] - * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next - group if the current group is empty. - -2014-09-10 Adhemerval Zanella - - * benchtests/bench-memset.c (test_main): Add more test from size - from 32 to 512 bytes. - * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: - Add POWER8 memset object. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations. - * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8 - implementation. - * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset): - Likewise. - * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file: - multiarch POWER8 memset optimization. - * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized - POWER8 memset optimization. - - * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: - Remove bzero multiarch objects. - * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file. - * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]: - Remove define. - [__bzero]: Redefine to specific name. - * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise. - * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove - define. - * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise. - -2014-09-10 Florian Weimer - - * Makeconfig (gccwarn-c): Turn implicit-function-declaration - warnings into errors. - - * stdlib/tst-tls-atexit-lib.c: Include , for the - __cxa_thread_atexit_impl prototype. - -2014-09-09 Steve Ellcey - - * sysdeps/mips/preconfigure: Put code inside mips* case statement. - Fix capitalization of error message. - -2014-09-09 Steve Ellcey - - * sysdeps/mips/preconfigure: Modify ABI tests. - -2014-09-07 Carlos O'Donell - - * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file. - -2014-09-07 Roland McGrath - Carlos O'Donell - - * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed. - * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ... - * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here. - * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ... - * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here. - * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ... - * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here. - * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ... - * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here. - * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ... - * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here. - * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ... - * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here. - * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ... - * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here. - * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ... - * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here. - * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ... - * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here. - * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ... - * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here. - * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ... - * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here. - * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ... - * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here. - * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ... - * sysdeps/hppa/nptl/bits/semaphore.h: ... here. - * sysdeps/unix/sysv/linux/hppa/clone.S: Include . - Deconditionalize the code that was previously under [RESET_PID]. - * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed. - * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file. - * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed. - * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't - include sysdep.h. - -2014-09-08 Allan McRae - - * version.h (RELEASE): Set to "development". - (VERSION): Set to "2.20.90" - -2014-09-07 Allan McRae - - * version.h (RELEASE): Set to "stable". - (VERSION): Set to "2.20" - * include/features.h (__GLIBC_MINOR__): Set to 20. - - * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan - Liebler. - - * po/ko.po: Update Korean translation from translation project. - -2014-09-06 Chris Metcalf - - [BZ #17354] - * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED - macro for handling signed relocations. - -2014-09-03 Florian Weimer - - [BZ #17325] - * iconvdata/ibm1364.c (BODY): Fix check for sentinel. - * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with - assert. - * iconvdata/ibm933.c (BODY): Fix check for sentinel. - * iconvdata/ibm935.c (BODY): Likewise. - * iconvdata/ibm937.c (BODY): Likewise. - * iconvdata/ibm939.c (BODY): Likewise. - * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with - assert. - * iconvdata/Makefile (iconv-test.out): Pass module list to test - script. - * iconvdata/run-iconv-test.sh: New test loop for checking for - decoder crashers. - -2014-09-02 Khem Raj - - * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add - libm_hidden_ver. - -2014-09-01 Allan McRae - - * po/eo.po: Update Esperanto translation from translation project. - - * po/ca.po: Update Catalan translation from translation project. - -2014-08-28 Samuel Thibault - - * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around - __proc_dostop call. - -2014-08-27 Mark Wielaard - - [BZ #17319] - * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL - to call set_thread_area instead of hand written asm. - (__NR_set_thread_area): Removed define. - (TLS_FLAG_WRITABLE): Likewise. - (__ASSUME_SET_THREAD_AREA): Remove check. - (TLS_EBX_ARG): Remove define. - (TLS_LOAD_EBX): Likewise. - -2014-08-27 Samuel Thibault - - Simplify atomicity of socket creation in bind. - - * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of - looking up the name after linking the file. - -2014-08-27 Allan McRae - - * sysdeps/i386/fpu/libm-test-ulps: Update ULPs. - -2014-08-26 Florian Weimer - - [BZ #17187] - * iconv/gconv_trans.c (struct known_trans, search_tree, lock, - trans_compare, open_translit, __gconv_translit_find): - Remove module loading code. - -2014-08-26 Allan McRae - - * po/vi.po: Update Vietnamese translation from translation project. - - * po/uk.po: Update Ukrainian translation from translation project. - - * po/fr.po: Update French translation from translation project. - - * po/ru.po: Update Russian translation from translation project. - - * po/pl.po: Update Polish translation from translation project. - - * po/cs.po: Update Czech translation from translation project. - - * po/de.po: Update German translation from translation project. - - * po/bg.po: Update Bulgarian translation from translation project. - - * po/sv.po: Update Sweedish translation from translation project. - - * po/nl.po: Update Dutch translation from translation project. - - * po/es.po: Update Spanish translation from translation project. - -2014-08-21 Siddhesh Poyarekar - - * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove. - - * catgets/Makefile (CPPFLAGS-gencat): Remove. - * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise. - (CPPFLAGS-iconvconfig): Likewise. - * timezone/Makefile (CPPFLAGS-zic): Likewise. - - * include/libc-symbols.h: Remove unnecessary check for - NOT_IN_libc. - * nptl/pthreadP.h: Likewise. - * sysdeps/aarch64/setjmp.S: Likewise. - * sysdeps/alpha/setjmp.S: Likewise. - * sysdeps/arm/sysdep.h: Likewise. - * sysdeps/i386/setjmp.S: Likewise. - * sysdeps/m68k/setjmp.c: Likewise. - * sysdeps/posix/getcwd.c: Likewise. - * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise. - * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise. - * sysdeps/s390/s390-32/setjmp.S: Likewise. - * sysdeps/s390/s390-64/setjmp.S: Likewise. - * sysdeps/sh/sh3/setjmp.S: Likewise. - * sysdeps/sh/sh4/setjmp.S: Likewise. - * sysdeps/unix/alpha/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise. - * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. - * sysdeps/x86_64/setjmp.S: Likewise. - -2014-08-13 Joseph Myers - - [BZ #17263] - * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include - . - (__get_clockfreq): Use uint64_t instead of hp_timing_t in - INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call. - -2014-08-13 Siddhesh Poyarekar - - * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment. - - [BZ #17262] - * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__ - and __x86_64__ when disabling x87 inline functions. - -2014-08-12 H.J. Lu - - [BZ #17259] - * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid - asm statement with __cpuid_count. - -2014-08-12 Mike Frysinger - - * configure.ac: Change __ehdr_start code to dereference the struct. - Run readelf on the output to look for relocations. - * configure: Regenerated. - -2014-08-12 Joseph Myers - - [BZ #17261] - * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change - value to 0. - (__fe_nonieee_env): Define as an alias for __fe_dfl_env. - -2014-08-12 Roland McGrath - - * NEWS: Mention x86-64 ld.so use of Intel MPX instructions. - -2014-08-12 Bernard Ogden - - [BZ #16892] - * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use - atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq. - -2014-08-12 Sean Anderson - - * malloc/malloc.c: Fix typo in comment. - -2014-08-09 Allan McRae - - * Regenerate libc.po. - -2014-08-08 Mike Frysinger - - * intl/tst-gettext2.sh: Check every lang file for creation. - -2014-08-07 Wilco Dijkstra - - * sysdeps/aarch64/fpu/math_private.h - (libc_feholdsetround_noex_aarch64_ctx): New function. - -2014-08-07 Wilco Dijkstra - - * sysdeps/arm/armv6/strcpy.S (strcpy): - Fix performance issue in misaligned cases. - -2014-08-05 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize): - Move definition from termios.h. - (struct termio): Likewise. - (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS, - TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP, - N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964, - N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI): - Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize): - Move definition to ioctl-types.h - (struct termio): Likewise. - (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS, - TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP, - N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964, - N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI): - Likewise. - -2014-08-05 Richard Henderson - - * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise - exceptions. - * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines): - Add fraiseexcpt. - * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS): - Use __feraiseexcept. - * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept): - Protect libm symbols with IS_IN_libm. - - * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file. - -2014-08-04 Bernard Ogden - - * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file. - -2014-08-04 Will Newton - - * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove - file. - -2014-08-04 Mike Frysinger - - * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel - variants for each function. - -2014-08-04 Roland McGrath - - * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents - appended ... - * sysdeps/unix/sysv/linux/ia64/Makefile: ... here. - * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents - appended ... - * sysdeps/unix/sysv/linux/ia64/Versions: ... here. - * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ... - * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here. - * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ... - * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here. - * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ... - * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here. - * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ... - * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here. - * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ... - * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here. - * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ... - * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here. - * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ... - * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here. - * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ... - * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here. - * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ... - * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here. - * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ... - * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here. - * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ... - * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here. - * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ... - * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here. - * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ... - * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here. - * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ... - * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here. - * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ... - * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here. - * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ... - * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here. - * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ... - * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here. - * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ... - * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here. - * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ... - * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here. - * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ... - * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here. - * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ... - * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here. - * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ... - * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here. - * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ... - * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here. - * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ... - * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here. - * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ... - * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here. - * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ... - * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here. - Update #include. - * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ... - * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here. - -2014-08-04 Roland McGrath - - * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ... - * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here. - * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ... - * sysdeps/ia64/nptl/bits/semaphore.h: ... here. - * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ... - * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here. - -2014-08-04 Roland McGrath - - * nptl/sysdeps/pthread/createthread.c: Include . - * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro. - * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro. - * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed. - -2014-08-04 Roland McGrath - - * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ... - * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here. - (__libc_vfork): Define function under this name. - (__vfork): Define as an alias. - * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file. - * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed. - -2014-08-04 Roland McGrath - - * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code - that was previously under [RESET_PID]. - * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed. - -2014-08-04 Andreas Schwab - - * sysdeps/ieee754/ldbl-96/s_fma.c: Include . - -2014-08-03 Mike Frysinger - - * stdlib/tst-setcontext.c (test_stack): Fix coding style. - (main): Likewise. - -2014-08-01 Roland McGrath - - * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed. - -2014-08-01 Richard Henderon - - * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before - feclearexcept; use math_opt_barrier instead of open-coded asm; fix - typo in exact zero test. - * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise. - * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise. - * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise. - -2014-08-01 Roland McGrath - - * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE) - (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros... - * sysdeps/arm/sysdep.h: ... here. - [!__ASSEMBLER__]: Include . - -2014-08-01 Siddhesh Poyarekar - - * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro. - (HAVE_WCTYPE_H): Likewise. - (HAVE_ISWCTYPE): Likewise. - (ENABLE_NLS): Likewise. - * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H - && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib. - - * posix/regex_internal.c: Check if DEBUG is defined and is - set. - - * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro. - (HAVE_MBSRTOWCS): Likewise. - * posix/fnmatch.c: Include string.h unconditionally. - -2014-08-01 Stefan Liebler - - * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change - reversal. - -2014-07-31 Roland McGrath - - * sysdeps/generic/safe-fatal.h: New file. - * sysdeps/unix/sysv/linux/safe-fatal.h: New file. - * nptl/forward.c: Include it. - (__pthread_unwind): Use __safe_fatal as default action, rather - than a bogus use of INTERNAL_SYSCALL that could never work. - - * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0. - * configure.ac (libc_cv_builtin_trap): New test. - * configure: Regenerated. - * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP] - (ABORT_INSTRUCTION): Define using __builtin_trap. - - * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ... - * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file. - * sysdeps/nptl/nptl-signals.h: New file. - * nptl/pthreadP.h: Include . - -2014-07-31 Stefan Liebler - - * sysdeps/s390/s390-64/utf16-utf32-z9.c - (ONE_DIRECTION): Define. - * sysdeps/s390/s390-64/utf8-utf16-z9.c - (ONE_DIRECTION): Define. - * sysdeps/s390/s390-64/utf8-utf32-z9.c - (ONE_DIRECTION): Define. - -2014-07-31 Stefan Liebler - - * sysdeps/s390/Makefile: Delete file. - * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp. - * sysdeps/s390/__longjmp.c: Delete file. - * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf): - Remove fields __flags and __reserved. - * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c - and add versioning. - * sysdeps/s390/rtld-__longjmp.c: Delete file. - * sysdeps/s390/rtld-global-offsets.sym: Likewise. - * sysdeps/s390/rtld-setjmp.S: Likewise. - * sysdeps/s390/s390-32/__longjmp-common.c: Move to ... - * sysdeps/s390/s390-32/__longjmp.c: ... here. - * sysdeps/s390/s390-32/setjmp-common.S: Move to ... - * sysdeps/s390/s390-32/setjmp.S: ... here. - Add versioning. - (__sigsetjmp): Remove setting __flags field. - * sysdeps/s390/s390-64/__longjmp-common.c:Move to ... - * sysdeps/s390/s390-64/__longjmp.c: ... here. - * sysdeps/s390/s390-64/setjmp-common.S: Move to ... - * sysdeps/s390/s390-64/setjmp.S: ... here. - Add versioning. - (__sigsetjmp): Remove setting __flags field. - * sysdeps/s390/setjmp.S: Delete file. - * sysdeps/s390/sigjmp.c: Likewise. - * sysdeps/s390/v1-longjmp.c: Likewise. - * sysdeps/s390/v1-setjmp.h: Likewise. - * sysdeps/s390/v1-sigjmp.c: Likewise. - * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines): - Remove v1-longjmp_chk. - * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file. - * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: - Include debug/longjmp_chk.c and add versioning. - * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: - Include nptl/pt-longjmp.c and add versioning. - * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file. - * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: - Include __longjmp.c. - * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S: - Move to ... - * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here. - (__getcontext): Remove setting __flags field. - Add versioning. - * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: - Don't restore upper high grps. - * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: - Likewise. - (__swapcontext): Remove setting uc_flags field. - * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: - Delete file. - * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: - Include __longjmp.c. - * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S: - Move to ... - * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here. - (__getcontext): Remove setting __flags field. - Add versioning. - * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: - (__swapcontext): Remove setting uc_flags field. - * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file. - * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext): - Remove fields uc_high_gprs and __reserved. - * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: - New file with reverted content. - * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file. - * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: - Regenerated. - * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: - Regenerated. - -2014-07-31 Andreas Schwab - - * config.h.in (HAVE_IFUNC): Define to 0. - * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not - definedness. - -2014-07-30 Ling Ma - - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add - memmove-avx-unaligned, memcpy-avx-unaligned and - mempcpy-avx-unaligned. - * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list): - Add tests for AVX memcpy functions. - * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy. - * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX - memcpy_chk. - * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove. - * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX - memmove_chk. - * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy. - * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX - mempcpy_chk. - * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file. - * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file. - * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file. - -2013-07-29 Adhemerval Zanella - - [BZ #17213] - * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for - powerpc64le. - -2014-07-29 Jeff Layton - - [BZ #16839] - * manual/llio.texi: Add section about open file description locks. - * manual/examples/ofdlocks.c: Example of open file description - lock usage. - * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK, - F_OFD_SETLK, and F_OFD_SETLKW. - -2014-07-23 Allan McRae - - * po/es.po: Update Spanish translation from translation project. - -2014-07-18 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed. - -2014-07-17 Maciej W. Rozycki - - [BZ #17078] - * sysdeps/arm/dl-machine.h (elf_machine_rela) - [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation. - (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries. - -2014-07-17 Joseph Myers - - [BZ #17088] - * math/fesetenv.c (__fesetenv) - [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV. - * math/feupdateenv.c (__feupdateenv) - [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise. - - * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file. - * sysdeps/unix/sysv/linux/kernel-features.h [__s390__] - (__ASSUME_SOCKETCALL): Do not define. - - * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file. - * sysdeps/unix/sysv/linux/kernel-features.h [__sh__] - (__ASSUME_SOCKETCALL): Do not define. - (__ASSUME_ST_INO_64_BIT): Define unconditionally. - [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__] - (__ASSUME_ACCEPT4_SYSCALL): Do not define. - [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__] - (__ASSUME_RECVMMSG_SYSCALL): Likewise. - [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__] - (__ASSUME_SENDMMSG_SYSCALL): Likewise. - [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise. - - * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file. - * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__] - (__ASSUME_SOCKETCALL): Do not define. - (__ASSUME_IPC64): Define unconditionally. - [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__] - (__ASSUME_ACCEPT4_SYSCALL): Do not define. - [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__] - (__ASSUME_RECVMMSG_SYSCALL): Likewise. - [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__] - (__ASSUME_SENDMMSG_SYSCALL): Likewise. - [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): - Likewise. - - * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file. - * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__] - (__ASSUME_SOCKETCALL): Do not define. - (__ASSUME_SET_ROBUST_LIST): Define unconditionally. - (__ASSUME_FUTEX_LOCK_PI): Likewise. - [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define. - [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise. - (__ASSUME_REQUEUE_PI): Define unconditionally. - [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__] - (__ASSUME_RECVMMSG_SYSCALL): Do not define. - [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise. - [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__] - (__ASSUME_SENDMMSG_SYSCALL): Likewise. - [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise. - - * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file. - * sysdeps/unix/sysv/linux/kernel-features.h [__i386__] - (__ASSUME_SOCKETCALL): Do not define. - [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__] - (__ASSUME_RECVMMSG_SYSCALL): Likewise. - [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise. - [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__] - (__ASSUME_SENDMMSG_SYSCALL): Likewise. - [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise. - - * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file. - * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__] - (__ASSUME_ACCEPT4_SYSCALL): Do not define. - [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__] - (__ASSUME_RECVMMSG_SYSCALL): Likewise. - [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__] - (__ASSUME_SENDMMSG_SYSCALL): Likewise. - [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100] - (__ASSUME_GETCPU_SYSCALL): Likewise. - - * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro. - * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove - cases for individual architectures. - * sysdeps/gnu/configure: Regenerated. - * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use - LIBC_SLIBDIR_RTLDDIR. - * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated. - * sysdeps/unix/sysv/linux/mips/configure.ac: Use - LIBC_SLIBDIR_RTLDDIR. - * sysdeps/unix/sysv/linux/mips/configure: Regenerated. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use - LIBC_SLIBDIR_RTLDDIR. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: - Regenerated. - * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated - file. - * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated - file. - * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file. - * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file. - * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file. - * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate. - - * sysdeps/aarch64/shlib-versions: Move to ... - * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here. - * sysdeps/alpha/shlib-versions: Move to ... - * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here. - * sysdeps/arm/shlib-versions: Move to ... - * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here. - * sysdeps/hppa/shlib-versions: Move all contents except for - libgcc_s entry to ... - * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in - entry from ... - * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file. - * sysdeps/ia64/shlib-versions: Move to ... - * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in - entry from ... - * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file. - * sysdeps/m68k/coldfire/shlib-versions: Move to ... - * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here. - * sysdeps/microblaze/shlib-versions: Move to ... - * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here. - * sysdeps/mips/shlib-versions: Move to ... - * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in - entry from ... - * sysdeps/mips/nptl/shlib-versions: ... here. Remove file. - * sysdeps/tile/shlib-versions: Move to ... - * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here. - * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry - from ... - * sysdeps/x86_64/64/shlib-versions: ... here. Remove file. - * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in - entry from ... - * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file. - -2014-07-17 Will Newton - - * sysdeps/arm/bits/atomic.h - (__arch_compare_and_exchange_bool_8_int): Evaluate to zero. - (__arch_compare_and_exchange_bool_16_int): Likewise. - (__arch_compare_and_exchange_bool_64_int): Likewise. - - * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc - into an #else block. - -2014-07-16 Roland McGrath - - * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not - just Linux configurations. Test empirically that the compiler sets - __ARM_EABI__, rather than using the tuple to decide. - * sysdeps/arm/preconfigure: Regenerated. - * sysdeps/unix/sysv/linux/arm/configure: File removed. - * sysdeps/unix/sysv/linux/arm/configure.ac: File removed, - contents appended ... - * sysdeps/arm/configure.ac: ... here. - * sysdeps/arm/configure: Regenerated. - -2014-07-15 Roland McGrath - - * nptl/pthread_kill.c: New file. - * nptl/pthread_sigmask.c: New file. - * nptl/pthread_sigqueue.c: New file. - - * sysdeps/nptl/lowlevellock.h: New file. - * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file. - * sysdeps/nptl/lowlevellock-futex.h: New file. - - * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax): - Remove dead declarations. - -2014-07-14 H.J. Lu - - * config.h.in (HAVE_AVX2_SUPPORT): New #undef. - * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and - config-cflags-avx2. - * sysdeps/x86_64/configure.ac: Likewise. - * sysdeps/i386/configure: Regenerated. - * sysdeps/x86_64/configure: Likewise. - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add - memset-avx2 only if config-cflags-avx2 is yes. - * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list): - Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is - defined. - * sysdeps/x86_64/multiarch/memset.S: Define multiple versions - only if HAVE_AVX2_SUPPORT is defined. - * sysdeps/x86_64/multiarch/memset_chk.S: Likewise. - -2014-07-14 Alan Modra - - [BZ #17153] - * elf/elf.h (DT_PPC64_NUM): Correct value. - * NEWS: Add to fixed bug list. - -2014-07-13 Jim Meyering - - [BZ 17150] - regex: don't deref NULL upon heap allocation failure - * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree - failure in one more place. - To trigger the segfault, configure grep -with-included-regex, - build it, and run these commands: - ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ ) - -2014-07-13 Andreas Schwab - - * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update. - -2014-07-11 Richard Henderson - - * sysdeps/aarch64/libm-test-ulps: Update. - -2014-07-10 Florian Weimer - - [BZ #17135] - * nptl/pthreadP.h (__nptl_setxid_error): Declare function. - * nptl/allocatestack.c (__nptl_setxid_error): New function. - (__nptl_setxid): Initialize error member. Call - __nptl_setxid_error. - * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error. - * nptl/descr.h (struct xid_command): Add error member. - * nptl/tst-setuid3.c: New file. - * nptl/Makefile (tests): Add it. - -2014-07-10 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock): - New define. - (__lll_trylock): Use __lll_base_trylock. - (__lll_cond_trylock): Likewise. - -2014-07-10 Roland McGrath - - * nptl/pthread_create.c (start_thread): Use atomic_or and - lll_futex_wake directly rather than lll_robust_dead. - * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h - (lll_robust_dead): Macro removed. - * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise. - - * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): - Use atomic_compare_and_exchange_val_acq directly rather than - lll_robust_trylock. - * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h - (__lll_robust_trylock, lll_robust_trylock): Removed. - * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise. - -2014-07-02 Florian Weimer - - * manual/locale.texi (Locale Names): New section documenting - locale name syntax. Adjust menu and node chaining accordingly. - (Choosing Locale): Reference Locale Names, Locale Categories. - Mention setting LC_ALL=C. Reflect that name syntax is now - documented. - (Locale Categories): New section title. Reference Locale Names. - LC_ALL is an environment variable, but not a category. - (Setting the Locale): Remove "locale -a" invocation and LOCPATH - description, now in Locale Name. Reference that section. Locale - name syntax is now documented. - -2014-07-02 Florian Weimer - - [BZ #17137] - * locale/findlocale.c (name_present, valid_locale_name): New - functions. - (_nl_find_locale): Use the loc_name variable to store name - candidates. Call name_present and valid_locale_name to check and - validate locale names. Return an error if the locale is invalid. - -2014-07-02 Florian Weimer - - * locale/setlocale.c (setlocale): Use strdup for allocating - composite name copy. - -2014-07-10 Siddhesh Poyarekar - - Sync up with gnulib. - * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H. - [!_LIBC && ENABLE_NLS]: Include gettext.h. - [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF - and _GL_ARG_NONNULL. - [USE_UNLOCKED_IO]: Include unlocked-io.h. - [!_LIBC]: Include code for Windows and Cygwin. - [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]: - Include prototype for int strerror_r. - [!_LIBC] (is_open): New function. - (flush_stdout): New function. - (print_errno_message): Use it. - (error): Likewise. - (error_at_line): Likewise. - (error_tail) Add function attribute macros. Use - __builtin_expect. - - * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R. - - * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME. - - * io/ftw.c: Include sys/param.h unconditionally. - - * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code. - - [BZ #17125] - * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use - libc_freeres_ptr. - (freecache): New function to free CACHE on exit. - - * sunrpc/xdr.c (xdr_string): Add comment about SIZE - initialization. - -2014-07-09 David S. Miller - - * sysdeps/sparc/fpu/libm-test-ulps: Update. - - * sysdeps/sparc/nptl/internaltypes.h: Delete. - * sysdeps/sparc/nptl/sparc-nptl.h: New file. - * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it. - * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise. - * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise. - * sysdeps/sparc/nptl/sem_init.c: Likewise. - * sysdeps/sparc/nptl/sem_post.c: Likewise. - * sysdeps/sparc/nptl/sem_timedwait.c: Likewise. - * sysdeps/sparc/nptl/sem_wait.c: Likewise. - * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise. - * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise. - * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise. - * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise. - -2014-07-09 Andreas Schwab - - * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to - output. - * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c - (do_test): Likewise. - - * sysdeps/i386/fpu/libm-test-ulps: Update ULPs. - -2014-07-09 Will Newton - - * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef. - * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise. - * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise. - * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise. - * sysdeps/hppa/start.S (_start): Likewise. - -2014-07-09 Siddhesh Poyarekar - - * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0. - - * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is - defined. - -2014-07-08 Siddhesh Poyarekar - - * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2 - after checking that it is non-NULL. - - * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL. - -2014-07-08 Adhemerval Zanella - - * sysdeps/powerpc/memmove.c: Remove file. - * sysdeps/powerpc/powerpc32/power4/memcopy.h - [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1. - * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c - [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define. - * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: - [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default - string memmove instead of removed powerpc one. - - * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S: - [weak_alias]: Fix compiler warning due trailing data. - * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: - [weak_alias]: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile - warnigs due missing definition of __strcpy_power7 and __strlen_power7. - - * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Add memmove functions. - -2014-07-08 Siddhesh Poyarekar - - * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]: - Remove code. - * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]: - Likewise. - * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]: - Likewise. - * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]: - Likewise. - * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]: - Likewise. - * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]: - Likewise. - * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]: - Likewise. - * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]: - Likewise. - * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]: - Likewise. - * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]: - Likewise. - * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]: - Likewise. - * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]: - Likewise. - * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]: - Likewise. - * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]: - Likewise. - * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]: - Likewise. - * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]: - Likewise. - * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]: - Likewise. - -2014-07-07 Adhemerval Zanella - - * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B - to avoid alignment traps in non-cacheable memory. - * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise. - - * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove - multiarch objects. - * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New - file: multiarch power7 memmove. - * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file: - multiarch default memmove. - * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file: - multiarch memove for powerpc32/power4. - - * string/bcopy.c: Use full path to include memmove.c. - * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy - multiarch objects. - * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default - bcopy for powerpc64. - * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch - bcopy for powerpc64. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy - and memmove implementations. - * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file: - optimized multiarch memmove for POWER7/powerpc64. - * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file: - default multiarch memmove for powerpc64. - * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove - multiarch for powerpc64. - * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy - for POWER7/powerpc64. - * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized - memmove for POWER7/powerpc64. - - * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use - glibc default one. - - * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for - __ELF_NATIVE_CLASS equal to 64. - -2014-07-07 Roland McGrath - - * sysdeps/nptl/lowlevellock.h: File removed. - - * NEWS: NPTL is no longer an add-on! - * nptl/internaltypes.h: Moved ... - * sysdeps/nptl/internaltypes.h: ... here. - * sysdeps/nptl/aio_misc.h: Use in #include. - * sysdeps/nptl/fork.c: Likewise. - * sysdeps/nptl/gai_misc.h: Likewise. - * sysdeps/nptl/librt-cancellation.c: Likewise. - * sysdeps/nptl/jmp-unwind.c: Likewise. - * sysdeps/nptl/setxid.h: Likewise. - * sysdeps/unix/sysv/linux/aarch64/Implies: New file. - * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl. - * sysdeps/unix/sysv/linux/arm/Implies: New file. - * sysdeps/unix/sysv/linux/hppa/Implies: New file. - * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl. - * sysdeps/unix/sysv/linux/i386/i686/Implies: New file. - * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl. - * sysdeps/unix/sysv/linux/m68k/Implies: New file. - * sysdeps/unix/sysv/linux/microblaze/Implies: New file. - * sysdeps/unix/sysv/linux/mips/Implies: New file. - * sysdeps/unix/sysv/linux/powerpc/Implies: New file. - * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl. - * sysdeps/unix/sysv/linux/sh/Implies: New file. - * sysdeps/unix/sysv/linux/sparc/Implies: New file. - * sysdeps/unix/sysv/linux/tile/Implies: New file. - * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl. - * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file. - * nptl/Makeconfig: Moved ... - * sysdeps/nptl/Makeconfig: ... here. - * nptl/configure: File removed. - * nptl/ANNOUNCE: File removed. - * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check. - * sysdeps/unix/sysv/linux/configure: Regenerated. - - * nptl/Makefile (routines): Add libc_pthread_init, - libc_multiple_threads, register-atfork and unregister-atfork. - (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here. - (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym, - lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym, - pthread-pi-defines.sym, structsem.sym. - * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix] - (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables. - [$(subdir) = nptl] (tests): Add tst-setgetname. - * nptl/sysdeps/unix/sysv/linux/Makefile: File removed. - * sysdeps/unix/sysv/linux/sigaction.c: Just include - directly here, instead of WRAPPER_INCLUDE. - [!LIBC_SIGACTION]: Remove aliases. - * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise. - * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork. - (libc: GLIBC_PRIVATE): Add __libc_pthread_init, - __libc_current_sigrtmin_private, __libc_current_sigrtmax_private, - __libc_allocate_rtsig_private. - * nptl/sysdeps/unix/sysv/linux/Versions: File removed. - * sysdeps/unix/sysv/linux/sigtimedwait.c: Include . - * sysdeps/unix/sysv/linux/sigwait.c: Likewise. - * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. - * sysdeps/unix/sysv/linux/sleep.c: Likewise. - * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed. - * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed. - * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed. - * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed. - * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed. - * sysdeps/unix/sysv/linux/ia64/fork.S: File removed. - * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ... - * nptl/internaltypes.h: ... here. - * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ... - * sysdeps/nptl/jmp-unwind.c: ... here. - * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ... - * nptl/libc-lowlevellock.c: ... here. - * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ... - * nptl/libc_multiple_threads.c: ... here. - * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ... - * nptl/libc_pthread_init.c: ... here. - * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ... - * nptl/lowlevelbarrier.sym: ... here. - * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ... - * nptl/lowlevelcond.sym: ... here. - * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ... - * nptl/lowlevellock.c: ... here. - * nptl/lowlevellock.h: Moved ... - * sysdeps/nptl/lowlevellock.h: ... here. - * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ... - * nptl/lowlevelrobustlock.c: ... here. - * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ... - * nptl/lowlevelrobustlock.sym: ... here. - * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ... - * nptl/lowlevelrwlock.sym: ... here. - * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ... - * nptl/pt-fork.c: ... here. - * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ... - * nptl/pthread-pi-defines.sym: ... here. - * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ... - * nptl/pthread_attr_getaffinity.c: ... here. - * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ... - * nptl/pthread_attr_setaffinity.c: ... here. - * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ... - * nptl/pthread_mutex_cond_lock.c: ... here. - * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: - Update #include. - * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise. - * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ... - * nptl/pthread_once.c: ... here, replacing old file. - * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ... - * nptl/pthread_yield.c: ... here. - * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ... - * nptl/register-atfork.c: ... here. - * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ... - * nptl/sem_post.c: ... here. - * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include. - * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ... - * nptl/sem_timedwait.c: ... here. - * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ... - * nptl/sem_trywait.c: ... here. - * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include. - * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ... - * nptl/sem_wait.c: ... here. - * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ... - * nptl/structsem.sym: ... here. - * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ... - * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file. - * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ... - * nptl/unregister-atfork.c: ... here. - * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ... - * nptl/unwindbuf.sym: ... here. - * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ... - * sysdeps/nptl/fork.c: ... here. - * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ... - * sysdeps/nptl/fork.h: ... here. - * sysdeps/unix/sysv/linux/syscalls.list: Remove fork. - * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ... - * sysdeps/unix/sysv/linux/aio_misc.h: ... here. - * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ... - * sysdeps/unix/sysv/linux/allocrtsig.c: ... here. - * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ... - * sysdeps/unix/sysv/linux/getpid.c: ... here. - * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ... - * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here. - * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ... - * sysdeps/unix/sysv/linux/pt-raise.c: ... here. - * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ... - * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here. - * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ... - * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here. - * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ... - * sysdeps/unix/sysv/linux/pthread_getname.c: ... here. - * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ... - * sysdeps/unix/sysv/linux/pthread_kill.c: ... here. - * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ... - * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here. - * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ... - * sysdeps/unix/sysv/linux/pthread_setname.c: ... here. - * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ... - * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here. - * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ... - * sysdeps/unix/sysv/linux/raise.c: ... here. - * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ... - * sysdeps/unix/sysv/linux/timer_create.c: ... here. - * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ... - * sysdeps/unix/sysv/linux/timer_delete.c: ... here. - * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ... - * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here. - * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ... - * sysdeps/unix/sysv/linux/timer_gettime.c: ... here. - * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ... - * sysdeps/unix/sysv/linux/timer_routines.c: ... here. - * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ... - * sysdeps/unix/sysv/linux/timer_settime.c: ... here. - * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ... - * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here. - * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include. - -2014-07-04 Siddhesh Poyarekar - - * sysdeps/generic/memcopy.h: Add comment for - MEMCPY_OK_FOR_FWD_MEMMOVE. - -2014-07-04 Will Newton - - * string/memchr.c: Merge from gnulib. - [_LIBC]: Remove conditionals. - (__ptr_t): Remove define. - (LONG_MAX_32_BITS): Likewise. - (LONG_MAX): Likewise. - (MEMCHR): Use ANSI prototype and optimize algorithm. - - * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define. - -2014-07-03 Roland McGrath - - * sysdeps/unix/sysv/linux/ia64/lowlevellock.h - (lll_futex_timed_wait_bitset): Fix syscall argument count. - - * sysdeps/nptl/configure.ac (libc_cv_forced_unwind): - Use -Dinhibit_libc=1 for unwind.h check to prevent false failure - in a bare environment with no installed. - * sysdeps/nptl/configure: Regenerated. - - * sysdeps/alpha/fpu/s_nearbyint.c: Include . - - * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than - AC_EGREP_CPP for kernel header checks, so they only succeed if - including actually works right. - * sysdeps/unix/sysv/linux/configure: Regenerated. - - * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the - value so it's not diagnosed as unused. - - * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only - thing) with "ifeq ($(subdir),rt)". - -2014-07-03 Richard Henderson - - * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file. - * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove; - include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c. - - * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New. - (math_force_eval): New. - - * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding. - * sysdeps/alpha/fpu/s_lroundf.c: Likewise. - - * sysdeps/alpha/fpu/s_round.c: Remove file. - * sysdeps/alpha/fpu/s_roundf.c: Remove file. - - * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine. - (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead. - * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine. - (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead. - (_dl_start, print_statistics): Likewise. - * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check - HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset. - - * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define. - * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define. - * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define. - * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define. - * sysdeps/powerpc/powerpc32/power4/hp-timing.h - (HP_SMALL_TIMING_AVAIL): Define. - * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define. - * sysdeps/sparc/sparc32/sparcv9/hp-timing.h - (HP_SMALL_TIMING_AVAIL): Define. - * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define. - * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define. - - * sysdeps/aarch64/hp-timing.h: New file. - - * sysdeps/generic/hp-timing.h: Remove dead comment. - * sysdeps/generic/hp-timing-common.h: New file. - * sysdeps/alpha/hp-timing.h: Include it. - (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove. - * sysdeps/i386/i686/hp-timing.h: Likewise. - * sysdeps/ia64/hp-timing.h: Likewise. - * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise. - * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise. - * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise. - * sysdeps/sparc/sparc64/hp-timing.h: Likewise. - * sysdeps/x86_64/hp-timing.h: Don't include the i686 version. - (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define. - (hp_timing_t): New. - - * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove. - * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove. - (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT. - * elf/rtld.c (_dl_start_final): Likewise. - * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove. - * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove. - * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove. - * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove. - * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove. - * sysdeps/powerpc/powerpc32/power4/hp-timing.h - (HP_TIMING_DIFF_INIT): Remove. - * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove. - * sysdeps/sparc/sparc32/sparcv9/hp-timing.h - (HP_TIMING_DIFF_INIT): Remove. - * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove. - * sysdeps/i386/i686/hp-timing.c: Remove file. - * sysdeps/x86_64/hp-timing.c: Remove file. - * sysdeps/ia64/hp-timing.c: Remove file. - * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file. - * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file. - * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file. - * sysdeps/sparc/sparc64/hp-timing.c: Remove file. - - * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove. - * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove. - * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove. - * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove. - * sysdeps/powerpc/powerpc32/power4/hp-timing.h - (HP_TIMING_ACCUM): Remove. - * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove. - * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove. - * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove. - - * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove. - * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove. - * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove. - * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove. - * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove. - * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove. - * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove. - * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove. - - * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file. - -2014-07-03 Maciej W. Rozycki - - * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30. - -2014-07-02 Siddhesh Poyarekar - - Sync up with gettext. - * intl/loadmsgcat.c: Define O_BINARY if not defined. - [_MSC_VER]: Include malloc.h - [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined. - (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag. - (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use - TEMP_FAILURE_RETRY. Cast return of alloca. - [!_LIBC] Call gl_rwlock_init. - [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument. - -2014-07-02 Roland McGrath - - * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined - before checking its value. - -2014-07-02 Siddhesh Poyarekar - - * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect. - - * debug/memcpy_chk.c: Don't include pagecopy.h. - * debug/mempcpy_chk.c: Likewise. - * string/memcpy.c: Likewise. - * string/memmove.c: Likewise. - * sysdeps/powerpc/memmove.c: Likewise. - * sysdeps/generic/memcopy.h: Include pagecopy.h. Move - definition of PAGE_COPY_FWD_MAYBE here... - * sysdeps/generic/pagecopy.h: ... from here. - * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h. - -2014-07-02 Vidya Ranganathan - Adhemerval Zanella - - * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name. - * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch - optimizations. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: - (__libc_ifunc_impl_list): Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file: - multiarch strcat for PPC64. - * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/ - * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file. - -2014-07-02 Roland McGrath - - * sysdeps/unix/sysv/linux/dl-sysdep.c: Include . - -2014-07-02 Siddhesh Poyarekar - - * intl/loadmsgcat.c: Remove declaration of - get_sysdep_segment_value. - (get_sysdep_segment_value): Use ISO C style. - (_nl_load_domain): Use ISO C style. Get rid of redundant - semicolon. Fix typo and formatting in comment. - (_nl_unload_domain): Use ISO C style. - - * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name. - -2014-07-02 Will Newton - - * malloc/obstack.c: Merge from gnulib master. - [HAVE_CONFIG_H]: Remove conditional code. - [!_LIBC]: Include config.h. - [!ELIDE_CODE]: Don't include inttypes.h, include - stdint.h unconditionally. - (print_and_abort): Mark as _Noreturn. - (_obstack_allocated_p): Mark as __attribute_pure__. - (obstack_free): Rename to __obstack_free. - [!__attribute__]: Remove conditional code. - * malloc/obstack.h: Merge from gnulib master. - [__cplusplus]: Move conditional down. - [!__attribute_pure__]: Define __attribute_pure__ here - if it is not already defined. - (_obstack_memory_used): Mark as __attribute_pure__. - [!__obstack_free]: Define as obstack_free. - [__GNUC__]: Remove check for ancient NeXT gcc. - -2014-07-02 Will Newton - Paul Eggert - - * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers. - -2014-07-02 Siddhesh Poyarekar - - * resolv/gethnamaddr.c: Add comment warning that the file is - not maintained. - -2014-07-01 Carlos O'Donell - - * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3 - entries. - - * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3 - entry for aio_cancel and aio_cancel64. - * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file. - * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file. - * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file. - * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file. - * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file. - * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file. - * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file. - * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file. - * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file. - * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file. - * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file. - * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file. - * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file. - -2014-07-01 Roland McGrath - - * sysdeps/unix/sysv/linux/sysconf.c: Include . - * nptl/pthread_mutex_lock.c: Likewise. - * nptl/pthread_mutex_timedlock.c: Likewise. - * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise. - -2014-07-01 Richard henderson - - * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove. - (__isnan, __isnanl): Remove. - * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic. - - * sysdeps/alpha/fpu/libm-test-ulps: Update. - -2014-07-01 Stefan Liebler - - * sysdeps/s390/fpu/libm-test-ulps: Regenerate. - -2014-07-01 Siddhesh Poyarekar - - * resolv/nss_dns/dns-host.c (getanswer_r) - [MULTI_PTRS_ARE_ALIASES]: Remove code. - -2014-07-01 Joseph Myers - - * sysdeps/unix/sysv/linux/microblaze/kernel-features.h - [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not - undefine. - [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise. - [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise. - -2014-07-01 Roland McGrath - - * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file. - * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed. - - * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP. - * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed. - - * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ... - * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h: - ... here. - * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ... - * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here. - - * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ... - * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here. - * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ... - * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here. - - * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ... - * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here. - * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ... - * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here. - * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: - Moved ... - * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist: - ... here. - * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ... - * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here. - * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ... - * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here. - * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ... - * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here. - * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ... - * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here. - * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ... - * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here. - * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ... - * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here. - * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ... - * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here. - * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ... - * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here. - * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ... - * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here. - * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ... - * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist: - ... here. - * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ... - * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here. - * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ... - * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here. - * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ... - * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here. - * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ... - * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here. - -2014-07-01 David Holsgrove - - * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file. - * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use. - * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines): - Add sysdep. - -2014-06-30 Adhemerval Zanella - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - -2014-06-30 Joseph Myers - - * sysdeps/mips/mips32/libm-test-ulps: Regenerated. - * sysdeps/mips/mips64/libm-test-ulps: Likewise. - - * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated. - - * sysdeps/arm/libm-test-ulps: Regenerated. - -2014-06-30 Maciej W. Rozycki - Roland McGrath - - * test-skeleton.c (signal_handler): Kill the whole process group - before killing the child individually. - (main): Report any failure on `setpgid'. - -2014-06-30 Roland McGrath - - * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard - from _TLS_H to _ARM_NPTL_TLS_H. - (TLS_INIT_TP): Move macro, and #include of , to ... - * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file. - -2014-06-30 Joseph Myers - - [BZ #16539] - * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include . - (__expm1l): Return argument unchanged when small but not - subnormal. - - * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to - include macro name. - (_FP_UNPACK_RAW_1_P): Likewise. - (_FP_PACK_RAW_1): Likewise. - (_FP_PACK_RAW_1_P): Likewise. - (_FP_MUL_MEAT_1_wide): Likewise. - (_FP_MUL_MEAT_DW_1_hard): Likewise. - (_FP_MUL_MEAT_1_hard): Likewise. - (_FP_DIV_MEAT_1_imm): Likewise. - (_FP_DIV_MEAT_1_udiv_norm): Likewise. - (_FP_DIV_MEAT_1_udiv): Likewise. - * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise. - (_FP_UNPACK_RAW_2): Likewise. - (_FP_UNPACK_RAW_2_P): Likewise. - (_FP_PACK_RAW_2): Likewise. - (_FP_PACK_RAW_2_P): Likewise. - (_FP_MUL_MEAT_DW_2_wide): Likewise. - (_FP_MUL_MEAT_2_wide): Likewise. - (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise. - (_FP_MUL_MEAT_2_wide_3mul): Likewise. - (_FP_MUL_MEAT_DW_2_gmp): Likewise. - (_FP_MUL_MEAT_2_gmp): Likewise. - (_FP_DIV_MEAT_2_udiv): Likewise. - * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise. - (_FP_FRAC_SRL_4): Likewise. - (_FP_FRAC_SRST_4): Likewise. - (_FP_FRAC_SRS_4): Likewise. - (_FP_UNPACK_RAW_4): Likewise. - (_FP_UNPACK_RAW_4_P): Likewise. - (_FP_PACK_RAW_4): Likewise. - (_FP_PACK_RAW_4_P): Likewise. - (_FP_MUL_MEAT_DW_4_wide): Likewise. - (_FP_MUL_MEAT_4_wide): Likewise. - (_FP_MUL_MEAT_4_gmp): Likewise. - (umul_ppppmnnn): Likewise. - (_FP_DIV_MEAT_4_udiv): Likewise. - (__FP_FRAC_ADD_4): Likewise. - (__FP_FRAC_SUB_3): Likewise. - (__FP_FRAC_SUB_4): Likewise. - (__FP_FRAC_DEC_3): Likewise. - (__FP_FRAC_DEC_4): Likewise. - (__FP_FRAC_ADDI_4): Likewise. - * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise. - (_FP_FRAC_SRL_8): Likewise. - (_FP_FRAC_SRS_8): Likewise. - - * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to - include macro name. - (FP_UNPACK_RAW_EP): Likewise. - (FP_PACK_RAW_E): Likewise. - (FP_PACK_RAW_EP): Likewise. - * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise. - (_FP_ISSIGNAN): Likewise. - (_FP_ADD_INTERNAL): Likewise. - (_FP_FMA): Likewise. - (_FP_CMP): Likewise. - (_FP_SQRT): Likewise. - (_FP_TO_INT): Likewise. - (_FP_FROM_INT): Likewise. - (FP_EXTEND): Likewise. - (_FP_DIV_MEAT_N_loop): Likewise. - -2014-06-30 Maciej W. Rozycki - - * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting - throughout. - -2014-06-29 Joseph Myers - - [BZ #17097] - * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return - result with correct sign in case of exponents that produce - overflow except for X very close to 1. - -2014-06-28 Paul Eggert - - mktime: merge #if/#ifdef usage from glibc - * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG", - as that works with both Glibc's and Gnulib's style. - See thread starting at Siddhesh Poyarekar's bug report at: - http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html - -2014-06-28 Siddhesh Poyarekar - - * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE. - * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE. - * sysdeps/tile/tilegx/memmove.c: Remove file. - -2014-06-27 Joseph Myers - - * Makeconfig ($(common-objpfx)soversions.mk): Do not generate - abi-name definition. - * scripts/soversions.awk: Do not handle or generate ABI lines. - * shlib-versions: Remove ABI entries. - * sysdeps/powerpc/nofpu/shlib-versions: Remove file. - * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry. - -2014-06-27 Roland McGrath - - * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ... - * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here. - * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ... - * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here. - * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ... - * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here. - * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist: - Moved ... - * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist: - ... here. - * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ... - * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here. - * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ... - * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here. - * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ... - * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here. - * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ... - * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here. - * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ... - * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here. - * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ... - * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here. - * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist: - Moved ... - * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here. - * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ... - * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here. - * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ... - * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here. - * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist: - Moved ... - * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here. - * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist: - Moved ... - * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here. - * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ... - * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here. - * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist: - Moved ... - * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here. - * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ... - * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here. - * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ... - * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here. - * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ... - * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here. - * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist: - Moved ... - * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here. - * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ... - * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here. - * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist: - Moved ... - * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here. - * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data: - Moved ... - * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here. - * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ... - * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here. - * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist: - Moved ... - * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist: - ... here. - * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist: - Identical file removed. - * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist: - Moved ... - * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here. - * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist: - Identical file removed. - * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ... - * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here. - * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist: - Moved ... - * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here. - * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist: - Identical file removed. - * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ... - * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here. - * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist: - Identical file removed. - * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ... - * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here. - * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist: - Identical file removed. - * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ... - * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here. - * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist: - Identical file removed. - * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist: - Moved ... - * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here. - * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist: - Identical file removed. - * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist: - Moved ... - * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here. - * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ... - * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here. - * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist: - Identical file removed. - * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist: - Moved ... - * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: - ... here. - * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist: - Identical file removed. - * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist: - Moved ... - * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here. - * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist: - Identical file removed. - * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data: - Moved ... - * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here. - * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ... - * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here. - * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ... - * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here. - * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist: - Moved ... - * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here. - * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ... - * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here. - - * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate - SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S. - * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed. - * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed. - * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file. - -2014-06-27 Arjun Shankar - - [BZ #17092] - * nscd/nscd.c (monitor_child): Return exit status of child - instead of return value from wait syscall. - -2014-06-27 Joseph Myers - - * configure.ac (libc_commonpagesize): Remove variable. - (libc_relro_required): Likewise. - (libc_cv_z_relro): Remove configure test. - * configure: Regenerated. - * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set - variable. - (libc_relro_required): Likewise. - * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise. - (libc_relro_required): Likewise. - * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise. - (libc_relro_required): Likewise. - * sysdeps/arm/preconfigure: Regenerated. - * sysdeps/ia64/preconfigure: Remove file. - * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set - variable. - (libc_relro_required): Likewise. - - [BZ #16561] - [BZ #16562] - * sysdeps/ieee754/dbl-64/e_jn.c: Include . - (__ieee754_yn): Set FE_TONEAREST mode internally and then - recompute overflowing results in original rounding mode. - * sysdeps/ieee754/flt-32/e_jnf.c: Include . - (__ieee754_ynf): Set FE_TONEAREST mode internally and then - recompute overflowing results in original rounding mode. - * sysdeps/ieee754/ldbl-128/e_jnl.c: Include . - (__ieee754_ynl): Set FE_TONEAREST mode internally and then - recompute overflowing results in original rounding mode. - * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include . - (__ieee754_ynl): Set FE_TONEAREST mode internally and then - recompute overflowing results in original rounding mode. - * sysdeps/ieee754/ldbl-96/e_jnl.c: Include . - (__ieee754_ynl): Set FE_TONEAREST mode internally and then - recompute overflowing results in original rounding mode. - * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__] - (libc_feholdsetround_ctx): New macro. - * math/libm-test.inc (yn_test): Use ALL_RM_TEST. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps : Likewise. - -2014-06-26 Joseph Myers - - * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h - [__PIC__] (PSEUDO): Use name of _nocancel entry point in - corresponding .cpsetup call. - -2014-06-26 Roland McGrath - - * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ... - * sysdeps/arm/libc-aeabi_read_tp.S: ... here. - * sysdeps/arm/Makefile [$(subdir) = csu] - (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here. - (static-only-routines): Add aeabi_read_tp here. - (shared-only-routines): Add libc-aeabi_read_tp here. - (CFLAGS-libc-start.c): Add -fexceptions here. - * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu] - (sysdep_routines, static-only-routines, shared-only-routines): - Don't add to these here. - (CFLAGS-libc-start.c): Likewise. - - * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ... - * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here. - * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ... - * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here. - * sysdeps/arm/Makefile [$(subdir) = rt] - (librt-sysdep_routines, librt-shared-only-routines): - Append rt-aeabi_unwind_cpp_pr1 here. - * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt] - (librt-sysdep_routines, librt-shared-only-routines): Don't do it here. - * sysdeps/arm/nptl/Makefile [$(subdir) = nptl] - (libpthread-sysdep_routines, libpthread-shared-only-routines): - Append nptl-aeabi_unwind_cpp_pr1 here. - (tests): Filter out tst-cleanupx4 here. - * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl] - (libpthread-sysdep_routines, libpthread-shared-only-routines, tests): - Don't do those here. - -2014-06-26 Joseph Myers - - * scripts/list-sources.sh: Do not handle ports specially. - -2014-06-26 Roland McGrath - - * sysdeps/arm/fesetenv.c: Include . - * sysdeps/arm/feupdateenv.c: Likewise. - - * posix/spawn_faction_addopen.c: Include for free decl. - -2014-06-26 Joseph Myers - - * manual/texinfo.tex: Update to version 2014-05-05.10 with - trailing whitespace removed. - * scripts/config.guess: Update to version 2014-03-23. - * scripts/config.sub: Update to version 2014-05-01 - * scripts/install-sh: Update to version 2013-12-25.23. - * scripts/move-if-change: Update from gnulib. - -2014-06-26 Siddhesh Poyarekar - - * debug/memmove_chk.c: Remove pagecopy.h include. - -2014-06-26 Paul Eggert - - * time/mktime.c (leapyear): Remove inline keyword. The code is now - identical to gnulib mktime. - -2014-06-26 Joseph Myers - - * configure.ac: Do not test for machine being rs6000. Do not test - for powerpc*-*soft. - * configure: Regenerated. - - [BZ #11505] - * configure.ac (libc_cv_asm_cfi_directives): Remove configure - test. - * configure: Regenerated. - * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine. - * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections): - Remove configure test. - * sysdeps/arm/configure: Regenerated. - * sysdeps/nptl/configure.ac: Do not check - libc_cv_asm_cfi_directives. - * sysdeps/nptl/configure: Regenerated. - * sysdeps/x86_64/nptl/configure.ac: Remove file. - * sysdeps/x86_64/nptl/configure: Remove generated file. - * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code - unconditional. - [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code. - -2014-06-26 Siddhesh Poyarekar - - * posix/fnmatch.c: Define WIDE_CHAR_VERSION. - * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION. - (FCT): Check value of WIDE_CHAR_VERSION instead of checking if - it is defined. - - * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA - instead of whether it is defined. - * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA. - * sysdeps/hppa/dl-machine.h: Likewise. - * sysdeps/ia64/dl-machine.h: Likewise. - * sysdeps/m68k/dl-machine.h: Likewise. - * sysdeps/microblaze/dl-machine.h: Likewise. - * sysdeps/mips/dl-machine.: Likewise. - * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise. - * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise. - * sysdeps/s390/s390-32/dl-machine.h: Likewise. - * sysdeps/s390/s390-64/dl-machine.h: Likewise. - * sysdeps/sh/dl-machine.h: Likewise. - * sysdeps/sparc/sparc32/dl-machine.h: Likewise. - * sysdeps/sparc/sparc64/dl-machine.h: Likewise. - * sysdeps/tile/dl-machine.h: Likewise. - * sysdeps/x86_64/dl-machine.h: Likewise. - - * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove - code. - (verify_persistent_db): Likewise. - -2014-06-26 Roland McGrath - - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ... - * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here. - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ... - * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here. - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist: - Moved ... - * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist: - ... here. - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ... - * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here. - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: - Identical file removed. - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ... - * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here. - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ... - * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here. - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ... - * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here. - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ... - * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here. - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ... - * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here. - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist: - Moved ... - * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here. - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ... - * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here. - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ... - * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here. - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist: - Moved ... - * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here. - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ... - * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here. - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ... - * sysdeps/unix/sysv/linux/s390/localplt.data: ... here. - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data: - Identical file removed. - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ... - * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here. - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ... - * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here. - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist: - Moved ... - * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist: - ... here. - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ... - * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here. - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ... - * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here. - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ... - * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here. - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ... - * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here. - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ... - * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here. - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist: - Moved ... - * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here. - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: - Moved ... - * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here. - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ... - * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here. - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist: - Moved ... - * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here. - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ... - * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here. - - * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents - folded into ... - * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here. - * sysdeps/unix/sysv/linux/s390/Versions - (libpthread: GLIBC_2.19): New version set. - * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed. - * sysdeps/unix/sysv/linux/s390/s390-64/Versions - (librt: GLIBC_2.3.3): New version set. - * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed. - * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ... - * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here. - * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ... - * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here. - * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ... - * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here. - * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ... - * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here. - * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ... - * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here. - * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ... - * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here. - * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ... - * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here. - * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ... - * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here. - * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ... - * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here. - * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ... - * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here. - * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ... - * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here. - * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ... - * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here. - * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ... - * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here. - * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ... - * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here. - * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ... - * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here. - * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ... - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here. - * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ... - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here. - * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ... - * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here. - * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ... - * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here. - * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ... - * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here. - * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ... - * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here. - * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ... - * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here. - - * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ... - * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here. - (__libc_vfork): Define the function under this name. - [!NOT_IN_libc] (__vfork): Make this an alias. - [!NOT_IN_libc] (vfork): Conditionalize the weak_alias. - * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ... - * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here. - (__libc_vfork): Define the function under this name. - [!NOT_IN_libc] (__vfork): Make this an alias. - [!NOT_IN_libc] (vfork): Conditionalize the weak_alias. - * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file. - * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed. - * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed. - * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork. - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. - - * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the - code that was previously under [RESET_PID]. - * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise. - * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed. - * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed. - - * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ... - * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here. - * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ... - * sysdeps/aarch64/nptl/bits/semaphore.h: ... here. - * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ... - * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here. - * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ... - * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here. - * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ... - * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here. - * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist: - Moved ... - * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here. - * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ... - * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here. - * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ... - * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here. - * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ... - * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here. - * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ... - * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here. - * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ... - * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here. - * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ... - * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here. - * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ... - * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here. - * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ... - * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here. - * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ... - * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here. - * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ... - * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here. - * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ... - * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here. - * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ... - * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here. - * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ... - * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here. - * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ... - * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here. - -2014-06-25 Roland McGrath - - * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code - that was previously under [RESET_PID]. - * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed. - -2014-06-25 Joseph Myers - - * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do - not undefine and redefine. - * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs) - [O_CLOEXEC]: Make code unconditional. - (__get_nprocs) [!O_CLOEXEC]: Remove conditional code. - * sysdeps/unix/sysv/linux/shm_open.c: Do not include - . - [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove - conditional variable definition. - (shm_open) [O_CLOEXEC]: Make code unconditional. - (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional - code. - - * configure.ac (USE_REGPARMS): Don't define here. - * configure: Regenerated. - * sysdeps/i386/configure.ac (USE_REGPARMS): Define here. - * sysdeps/i386/configure: Regenerated. - - * nptl/createthread.c: Don't include kernel-features.h. - * nptl/pthread_cancel.c: Likewise. - * nptl/pthread_condattr_setclock.c: Likewise. - * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise. - * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise. - * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise. - * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise. - * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise. - * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise. - * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise. - * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise. - * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise. - * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise. - * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise. - * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise. - * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise. - * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise. - * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise. - * nscd/gai.c: Likewise. - * nss/nss_db/db-open.c: Likewise. - * sysdeps/generic/ldsodefs.h: Likewise. - * sysdeps/sh/nptl/tls.h: Likewise. - * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise. - * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/adjtime.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise. - * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise. - * sysdeps/unix/sysv/linux/check_pf.c: Likewise. - * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise. - * sysdeps/unix/sysv/linux/clock_getres.c: Likewise. - * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise. - * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise. - * sysdeps/unix/sysv/linux/clock_settime.c: Likewise. - * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise. - * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise. - * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise. - * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise. - * sysdeps/unix/sysv/linux/generic/poll.c: Likewise. - * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise. - * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise. - * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise. - * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise. - * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise. - * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise. - * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise. - * sysdeps/unix/sysv/linux/getcwd.c: Likewise. - * sysdeps/unix/sysv/linux/getpagesize.c: Likewise. - * sysdeps/unix/sysv/linux/getsysstats.c: Likewise. - * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise. - * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise. - * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. - * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise. - * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/system.c: Likewise. - * sysdeps/unix/sysv/linux/if_index.c: Likewise. - * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise. - * sysdeps/unix/sysv/linux/ifreq.c: Likewise. - * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise. - * sysdeps/unix/sysv/linux/lutimes.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise. - * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pread.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/mmap64.c: Likewise. - * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/pread.c: Likewise. - * sysdeps/unix/sysv/linux/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/prof-freq.c: Likewise. - * sysdeps/unix/sysv/linux/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise. - * sysdeps/unix/sysv/linux/s390/system.c: Likewise. - * sysdeps/unix/sysv/linux/sh/pread.c: Likewise. - * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/sigpending.c: Likewise. - * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise. - * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/system.c: Likewise. - * sysdeps/unix/sysv/linux/syslog.c: Likewise. - * sysdeps/unix/sysv/linux/system.c: Likewise. - * sysdeps/unix/sysv/linux/testrtsig.h: Likewise. - * sysdeps/unix/sysv/linux/timespec_get.c: Likewise. - * sysdeps/unix/sysv/linux/ttyname.c: Likewise. - * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise. - * sysdeps/unix/sysv/linux/utimensat.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/xstatconv.h: Likewise. - - * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test. - * configure: Regenerated. - * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro. - - * configure.ac (base_machine): Do not set specially for particular - machines here. - * configure: Regenerated. - * sysdeps/powerpc/preconfigure: Move machine and base_machine - settings from configure.ac. - * sysdeps/i386/preconfigure: New file. - * sysdeps/s390/preconfigure: Likewise. - * sysdeps/sh/preconfigure: Likewise. - * sysdeps/sparc/preconfigure: Likewise. - -2014-06-25 Roland McGrath - - * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ... - * sysdeps/sparc/sparc64/cpu_relax.S: ... here. - * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ... - * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here. - * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ... - * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here. - * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ... - * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here. - * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ... - * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here. - * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ... - * sysdeps/sparc/sparc64/pthreaddef.h: ... here. - * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include. - * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise. - * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise. - * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ... - * sysdeps/sparc/sparc64/Makefile: ... appended here. - - * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ... - * sysdeps/sparc/sparc32/lowlevellock.c: ... here. - * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ... - * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here. - * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ... - * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here. - * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ... - * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here. - * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ... - * sysdeps/sparc/sparc32/pthreaddef.h: ... here. - * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ... - * sysdeps/sparc/sparc32/sem_post.c: ... here. - * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ... - * sysdeps/sparc/sparc32/sem_timedwait.c: ... here. - * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ... - * sysdeps/sparc/sparc32/sem_trywait.c: ... here. - * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ... - * sysdeps/sparc/sparc32/sem_wait.c: ... here. - * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ... - * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here. - * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ... - * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here. - * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ... - * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here. - * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ... - * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here. - * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ... - * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here. - * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ... - * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here. - * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ... - * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here. - * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ... - * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here. - * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ... - * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here. - * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ... - * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here. - - * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ... - * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here. - * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ... - * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here. - * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist: - Moved ... - * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist: - ... here. - * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ... - * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here. - * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ... - * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here. - * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: - Moved ... - * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here. - * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ... - * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here. - * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ... - * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here. - * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ... - * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here. - * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist: - Moved ... - * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here. - * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist: - Moved ... - * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here. - * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ... - * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here. - * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist: - Moved ... - * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here. - * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ... - * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here. - * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ... - * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here. - * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ... - * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here. - * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ... - * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here. - * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist: - Moved ... - * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist: - ... here. - * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ... - * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here. - * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ... - * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here. - * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: - Moved ... - * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here. - * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ... - * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here. - * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ... - * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here. - * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ... - * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here. - * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist: - Moved ... - * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here. - * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist: - Moved ... - * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here. - * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ... - * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here. - * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist: - Moved ... - * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here. - * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ... - * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here. - * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ... - * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here. - -2014-06-25 Joseph Myers - - * timezone/checktab.awk: Update from tzcode 2014e. - * timezone/private.h: Likewise. - * timezone/tzfile.h: Likewise. - * timezone/zdump.c: Likewise. - * timezone/zic.c: Likewise. - - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro. - * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted) - [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional. - (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]: - Remove conditional code. - -2014-06-25 Will Newton - - * sysdeps/unix/sysv/linux/arm/dl-procinfo.c - (_dl_arm_cap_flags): Add HWCAP2 values. - * sysdeps/unix/sysv/linux/arm/dl-procinfo.h - (_DL_HWCAP_COUNT): Increase to 37. - (_DL_HWCAP_LAST): New define. - (_DL_HWCAP2_LAST): New define. - (_dl_procinfo): Add support for printing - AT_HWCAP2 entries. - (_dl_string_hwcap): Use _dl_hwcap_string. - -2014-06-25 Adhemerval Zanella - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - -2014-06-25 Joseph Myers - - * README: Do not mention ports directory. - - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT): - Remove macro. - * sysdeps/unix/sysv/linux/futimes.c: Do not include - . - [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove - conditional variable definition. - (__futimes): Update comment. - (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional. - (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code. - - [BZ #16560] - * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for - arguments close to 0. - * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l): - Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l): - Likewise. - * math/auto-libm-test-in: Add more tests of exp10. - * math/auto-libm-test-out: Regenerated. - * sysdeps/x86_64/fpu/libm-test-ulps: Update. - - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_COMPLETE_READV_WRITEV): Remove macro. - * sysdeps/unix/sysv/linux/readv.c: Do not include - . - [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code. - [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro. - (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code - unconditional. - (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove - conditional code. - * sysdeps/unix/sysv/linux/writev.c: Do not include - . - [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code. - [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro. - (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code - unconditional. - (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove - conditional code. - -2014-06-25 Will Newton - - * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic - comment changes throughout the file. Remove checks - for HAVE_*_H definitions that are not required. - (__gen_tempname): Call abort if an unknown kind value is - passed. - -2014-06-25 Andreas Schwab - - [BZ #17086] - * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for - scalbln, scalblnf, scalblnl in libc. - -2014-06-25 Siddhesh Poyarekar - - [BZ #17086] - * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so. - * sysdeps/i386/fpu/s_scalbnf.S: Likewise. - * sysdeps/i386/fpu/s_scalbnl.S: Likewise. - -2014-06-24 Roland McGrath - - * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ... - * sysdeps/i386/i486/pthread_spin_trylock.S: ... here. - * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ... - * sysdeps/i386/i586/pthread_spin_trylock.S: ... here. - Update #include. - * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ... - * sysdeps/i386/i686/pthread_spin_trylock.S: ... here. - Update #include. - * sysdeps/x86_64/64/nptl/shlib-versions: Moved ... - * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here. - * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ... - * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here. - * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ... - * sysdeps/x86/bits/pthreadtypes.h: ... here. - * sysdeps/x86/nptl/bits/semaphore.h: Moved ... - * sysdeps/x86/bits/semaphore.h: ... here. - * sysdeps/x86/nptl/elide.h: Moved ... - * sysdeps/x86/elide.h: ... here. - * sysdeps/x86_64/nptl/Implies: File removed. - * sysdeps/i386/nptl/Implies: File removed. - -2014-06-24 Joseph Myers - - [BZ #16539] - * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just - return the argument for normal arguments with exponent below -64. - * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: - Likewise. - * math/auto-libm-test-in: Add another test of expm1. - * math/auto-libm-test-out: Regenerated. - - [BZ #16287] - * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without - calling __erfcl for arguments at least 16. - * math/auto-libm-test-in: Add more tests of erf. - * math/auto-libm-test-out: Regenerated. - - * sysdeps/unix/sysv/linux/configure.ac: Remove cases for - individual architectures. - * sysdeps/unix/sysv/linux/configure: Regenerated. - * sysdeps/unix/sysv/linux/i386/configure.ac: New file. - * sysdeps/unix/sysv/linux/i386/configure: New generated file. - * sysdeps/unix/sysv/linux/powerpc/configure.ac - (ldd_rewrite_script): Define variable. - * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New - file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New - generated file. - * sysdeps/unix/sysv/linux/s390/configure.ac: New file. - * sysdeps/unix/sysv/linux/s390/configure: New generated file. - * sysdeps/unix/sysv/linux/sh/configure.ac: New file. - * sysdeps/unix/sysv/linux/sh/configure: New generated file. - * sysdeps/unix/sysv/linux/sparc/configure.ac: New file. - * sysdeps/unix/sysv/linux/sparc/configure: New generated file. - * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file. - * sysdeps/unix/sysv/linux/x86_64/configure: New generated file. - -2014-06-24 Siddhesh Poyarekar - - [BZ #17084] - * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t): - Rename member __data.d to __data.__elision_data. - -2014-06-24 Wilco - - * NEWS: Add 16918 to fixed bug list. - -2014-06-24 Wilco - - * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation. - -2014-06-24 Wilco - - * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define. - * sysdeps/arm/fenv_private.h (libc_fesetround_vfp) - (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp) - (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx) - (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM. - * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM. - * sysdeps/arm/get-rounding-mode.h (get_rounding_mode): - Use _FPU_MASK_RM. - -2014-06-24 Wilco - - * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include. - -2014-06-24 Wilco - - * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space. - * sysdeps/arm/fesetenv.c (fesetenv): Remove space. - * sysdeps/arm/fesetround.c (fesetround): Remove space. - * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space. - -2014-06-24 Wilco - - [BZ #16918] - * sysdeps/arm/feupdateenv.c (feupdateenv): - Rewrite to reduce FPSCR accesses and fix return value. - -2014-06-24 Wilco - - * sysdeps/arm/fclrexcpt.c (feclearexcept): - Optimize to avoid unnecessary FPSCR writes. - * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise. - * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise. - * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise. - * sysdeps/arm/setfpucw.c (__setfpucw): Likewise. - -2014-06-24 Wilco - - * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode. - * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp. - * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp. - * sysdeps/arm/fgetexcptflg.c (fegetexceptflag): - Call libc_fetestexcept_vfp. - * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp. - * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of - __SOFTFP__ ifdef so that they can be built for softfp. - -2014-06-24 Siddhesh Poyarekar - - * sysdeps/x86/nptl/elide.h (elision_adapt): Make first - argument type signed char. - - * Makerules (check-abi): Dump diff of symlist if the test - fails. - -2014-06-23 Roland McGrath - - * sysdeps/generic/get-rounding-mode.h: Include before - using abort. - - * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): - Remove unused variable ST. - -2014-06-23 Joseph Myers - - [BZ #16354] - [BZ #17061] - * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for - small arguments before calling __expm1. - * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for - small arguments before calling __expm1f. - * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for - small arguments before calling __expm1l. - * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): - Likewise. - * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise. - * math/auto-libm-test-in: Add more cosh tests. Do not allow - spurious underflow for some cosh tests. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - - [BZ #17050] - * sysdeps/ieee754/dbl-64/e_j1.c: Include . - (__ieee754_y1): Set errno if return value overflows. - * sysdeps/ieee754/flt-32/e_j1f.c: Include . - (__ieee754_y1f): Set errno if return value overflows. - * sysdeps/ieee754/ldbl-128/e_j1l.c: Include . - (__ieee754_y1l): Set errno if return value overflows. - * sysdeps/ieee754/ldbl-96/e_j1l.c: Include . - (__ieee754_y1l): Set errno if return value overflows. - * math/auto-libm-test-in: Add more tests of y0, y1 and yn. - * math/auto-libm-test-out: Regenerated. - - * math/gen-auto-libm-tests.c: Document use of - ignore-zero-inf-sign. - (input_flag_type): Add value flag_ignore_zero_inf_sign. - (input_flags): Add ignore-zero-inf-sign. - (output_for_one_input_case): Handle flag_ignore_zero_inf_sign. - * math/gen-libm-test.pl (generate_testfile): Handle - ignore-zero-inf-sign. - * math/auto-libm-test-in: Mark some cpow tests with - ignore-zero-inf-sign and some with xfail-rounding. - * math/auto-libm-test-out: Regenerated. - * math/libm-test.inc (cpow_test): Use ALL_RM_TEST. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - [BZ #16315] - * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly - overflowing or underflowing operations take place with sign of - result. - * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise. - * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. - * sysdeps/ieee754/dbl-64/e_pow.c: Include . - (__ieee754_pow): Recompute overflowing and underflowing results in - original rounding mode. - * sysdeps/x86/fpu/powl_helper.c: Include . - (__powl_helper): Allow negative argument X and scale negated value - as needed. Avoid passing value outside [-1, 1] to f2xm1. - * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly - overflowing or underflowing operations take place with sign of - result. - * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: - Include . - * math/auto-libm-test-in: Add more tests of pow. - * math/auto-libm-test-out: Regenerated. - * math/libm-test.inc (pow_test): Use ALL_RM_TEST. - (pow_tonearest_test_data): Remove. - (pow_test_tonearest): Likewise. - (pow_towardzero_test_data): Likewise. - (pow_test_towardzero): Likewise. - (pow_downward_test_data): Likewise. - (pow_test_downward): Likewise. - (pow_upward_test_data): Likewise. - (pow_test_upward): Likewise. - (main): Don't call removed functions. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2014-06-23 Roland McGrath - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data: - File removed. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist: - File removed. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist: - File removed. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist: - File removed. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist: - File removed. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist: - File removed. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist: - File removed. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist: - File removed. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist: - File removed. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist: - File removed. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist: - File removed. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist: - File removed. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist: - ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist: - ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: - ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: - ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: - ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist: - ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist: - ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist: - ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist: - ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist: - ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist: - ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist: - ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist: - ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist: - ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here. - -2014-06-23 Will Newton - Wilco - - * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX - implementation. Include get-rounding-mode.h. - [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero. - [!libc_feholdsetround_noex_ctx]: Define - libc_feholdsetround_noex_ctx. - [!libc_feholdsetround_noexf_ctx]: Define - libc_feholdsetround_noexf_ctx. - [!libc_feholdsetround_noexl_ctx]: Define - libc_feholdsetround_noexl_ctx. - (libc_feholdsetround_ctx): New function. - (libc_feresetround_ctx): New function. - (libc_feholdsetround_noex_ctx): New function. - (libc_feresetround_noex_ctx): New function. - -2014-06-23 Roland McGrath - - * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ... - * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here. - * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ... - * sysdeps/mips/nptl/bits/semaphore.h: ... here. - * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ... - * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here. - - * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ... - * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here. - * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ... - * sysdeps/m68k/nptl/bits/semaphore.h: ... here. - * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ... - * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here. - * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ... - * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here. - * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ... - * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here. - * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist: - Moved ... - * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist: - ... here. - * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ... - * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here. - * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ... - * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here. - * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist: - Moved ... - * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here. - * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ... - * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here. - * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ... - * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here. - * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ... - * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here. - * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist: - Moved ... - * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here. - * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist: - Moved ... - * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here. - * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ... - * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here. - * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist: - Moved ... - * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here. - * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ... - * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here. - * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ... - * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here. - * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ... - * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here. - * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ... - * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here. - * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist: - Moved ... - * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist: - ... here. - * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ... - * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here. - * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ... - * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here. - * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ... - * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here. - * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ... - * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here. - * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ... - * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here. - * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ... - * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here. - * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist: - Moved ... - * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here. - * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ... - * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here. - * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ... - * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here. - * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist: - Moved ... - * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here. - * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ... - * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here. - * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ... - * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here. - - * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ... - * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here. - * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ... - * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here. - * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ... - * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here. - * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ... - * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here. - * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ... - * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here. - * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ... - * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here. - * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ... - * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here. - * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ... - * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here. - * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ... - * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here. - * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ... - * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here. - * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ... - * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here. - * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ... - * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here. - * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ... - * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here. - * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ... - * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here. - -2014-06-23 Joseph Myers - - * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU] - (FALLOC_FL_COLLAPSE_RANGE): New macro. - [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise. - * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise. - (IPV6_PMTUDISC_INTERFACE): Likewise. - (IPV6_PMTUDISC_OMIT): Likewise. - -2014-06-23 Andreas Schwab - - * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): - Remove unused errout label. - -2014-06-23 Adhemerval Zanella - - * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New - macro: hardware supports Vector Crypto instructions. - -2014-06-23 Will Newton - - * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely - rather than __builtin_expect. - - * elf/dl-lookup.c (undefined_msg): Remove variable. - (_dl_lookup_symbol_x): Replace undefined_msg with string - literal. - - * elf/dl-lookup.c (do_lookup_unique): New function. - (do_lookup_x): Move STB_GNU_UNIQUE handling code - to a separate function. - -2014-06-23 Andreas Schwab - - [BZ #17079] - * nss/nss_files/files-XXX.c (get_contents): Store overflow marker - before reading the next line. - -2014-06-23 Will Newton - - * test-skeleton.c (signal_handler): Use printf and %m - rather than perror. Use printf rather than fprintf to - stderr. Use puts rather than fputs to stderr. - (main): Likewise. - -2014-06-22 Ludovic CourtĂšs - - * nscd/nscd.c (thread_info_t): Remove typedef. - (thread_info): Remove variable. - -2014-06-21 Allan McRae - - * NEWS: Mention CVE-2014-4043. - -2014-06-20 Roland McGrath - - * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ... - * nptl/smp.h: ... here. - - * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed. - - * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros. - * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H. - * locale/Makefile (CPPFLAGS-locale-programs): Likewise. - * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it. - - * nptl/allocatestack.c: Include . - * nptl/stack-aliasing.h: New file. - * sysdeps/i386/i686/stack-aliasing.h: New file. - * sysdeps/i386/i686/nptl/Makefile: File removed. - * sysdeps/x86_64/stack-aliasing.h: New file. - * sysdeps/x86_64/nptl/Makefile - (CFLAGS-pthread_create.c): Variable removed. - - * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ... - * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the - old file. - * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ... - * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the - old file. - -2014-06-21 Joseph Myers - - * sysdeps/unix/sysv/linux/arm/kernel-features.h - (__ASSUME_SIGFRAME_V2): Remove macro. - * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment. - [!__ASSUME_SIGFRAME_V2]: Remove conditional code. - (__default_sa_restorer_v2): Rename to __default_sa_restorer. - (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer. - * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer): - Declare as function. Remove conditional macro definitions. - (__default_rt_sa_restorer): Likewise. - (__default_sa_restorer_v1): Remove declaration. - (__default_sa_restorer_v2): Likewise. - (__default_rt_sa_restorer_v1): Likewise. - (__default_rt_sa_restorer_v2): Likewise. - * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove - __default_sa_restorer_v1, __default_rt_sa_restorer_v1, - __default_sa_restorer_v2 and __default_rt_sa_restorer_v2. - -2014-06-20 Roland McGrath - - * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl] - (libpthread-routines): Add sysdep. - * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed. - * sysdeps/unix/sysv/linux/sparc/Versions - (libpthread: GLIBC_2.3.3): New version set. - * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed. - * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ... - * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here. - * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ... - * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next. - * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c: - Moved ... - * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here. - * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ... - * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here. - * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ... - * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here. - * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ... - * sysdeps/sparc/nptl/sem_init.c: ... here. - * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ... - * sysdeps/sparc/nptl/sem_post.c: ... here. - * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ... - * sysdeps/sparc/nptl/sem_timedwait.c: ... here. - * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ... - * sysdeps/sparc/nptl/sem_wait.c: ... here. - * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ... - * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here. - * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl] - (libpthread-routines): Add cpu_relax. - * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile: - File removed. - * sysdeps/unix/sysv/linux/sparc/sparc64/Versions - (librt: GLIBC_2.3.3): New version set. - * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed. - * sysdeps/sparc/sparc64/nptl/Makefile: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl] - (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables. - * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed. - * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ... - * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here. - * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c: - Moved ... - * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here. - * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ... - * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here. - * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ... - * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here. - * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ... - * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here. - * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ... - * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here. - * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S: - Moved ... - * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here. - Update #include. - * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c: - Moved ... - * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here. - Update #include. - * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c: - Moved ... - * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here. - Update #include. - * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c: - Moved ... - * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here. - Update #include. - * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c: - Moved ... - * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here. - Update #include. - * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c: - Moved ... - * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here. - Update #include. - * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ... - * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here. - * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ... - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here. - * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ... - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here. - * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ... - * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here. - * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ... - * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here. - * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: - Moved ... - * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here. - * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ... - * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here. - * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ... - * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here. - -2014-06-20 Joseph Myers - - * nptl/pthread_cond_wait.c: Include . - * nptl/pthread_rwlock_timedrdlock.c: Likewise. - * nptl/pthread_rwlock_timedwrlock.c: Likewise. - * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise. - * nscd/nscd.c: Likewise. - * sysdeps/i386/nptl/tcb-offsets.sym: Likewise. - * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise. - * sysdeps/sh/nptl/tcb-offsets.sym: Likewise. - * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise. - - * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include - . - (init_mq_netlink): Remove conditional have_sock_cloexec - definitions. Remove code conditional on have_sock_cloexec < 0. - (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code. - (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise. - * sysdeps/unix/sysv/linux/opensock.c: Do not include - . - (__opensock) [SOCK_CLOEXEC]: Make code unconditional. - (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code. - -2014-06-20 H.J. Lu - - * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list): - Add tests for memset_chk and memset. - - * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined - with AVX2_Usable. - -2014-06-20 Maciej W. Rozycki - - [BZ #16046] - * elf/tst-dl-iter-static.c: New file. - * elf/Makefile (tests-static): Add tst-dl-iter-static. - - * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation - error. - -2014-06-20 Joseph Myers - - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_F_GETOWN_EX): Remove macro. - * sysdeps/unix/sysv/linux/fcntl.c: Do not include - . - (miss_F_GETOWN_EX): Remove variable or macro. - (do_fcntl): Do not check miss_F_GETOWN_EX. - (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code. - - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM): - Remove macro. - * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard) - [!__ASSUME_AT_RANDOM]: Remove conditional code. - (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise. - - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro. - * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME) - [ADJ_OFFSET_SS_READ]: Make code unconditional. - (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code. - -2014-06-20 Maciej W. Rozycki - - [BZ #17075] - * sysdeps/arm/dl-machine.h (elf_machine_rel) : - Fix calculation of the symbol's value. - * sysdeps/arm/tst-armtlsdescloc.c: New file. - * sysdeps/arm/tst-armtlsdesclocmod.c: New file. - * sysdeps/arm/tst-armtlsdescextnow.c: New file. - * sysdeps/arm/tst-armtlsdescextlazymod.c: New file. - * sysdeps/arm/tst-armtlsdescextlazy.c: New file. - * sysdeps/arm/tst-armtlsdescextnowmod.c: New file. - * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc', - `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'. - (modules-names): Add `tst-armtlsdescmod', - `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'. - (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable. - (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise. - (CFLAGS-tst-armtlsdesclocmod.c): Likewise. - (CFLAGS-tst-armtlsdescextnowmod.c): Likewise. - (CFLAGS-tst-armtlsdescextlazymod.c): Likewise. - (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise. - ($(objpfx)tst-armtlsdescloc): New dependency. - ($(objpfx)tst-armtlsdescextnow): Likewise. - ($(objpfx)tst-armtlsdescextlazy): Likewise. - * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor - TLS scheme support. - * sysdeps/arm/configure: Regenerate. - -2014-06-20 Joseph Myers - - * include/fcntl.h (__atfct_seterrno): Remove prototype. - (__atfct_seterrno_2): Likewise. - * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include - . - (__ASSUME_ATFCTS): Do not undefine and redefine. - * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS] - (__have_atfcts): Remove conditional definition. - (__fxstatat([__NR_fstatat64]: Make code unconditional. - (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code - unreachable if [__ASSUME_ATFCTS]. - * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do - not undefine and redefine. - * sysdeps/unix/sysv/linux/faccessat.c: Do not include - . - (faccessat) [__NR_faccessat]: Make code unconditional. - (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code. - * sysdeps/unix/sysv/linux/fchmodat.c: Do not include - . - (fchmodat) [__NR_fchmodat]: Make code unconditional. - (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code. - * sysdeps/unix/sysv/linux/fchownat.c: Do not include - . - (fchownat) [__NR_fchownat]: Make code unconditional. - (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code. - * sysdeps/unix/sysv/linux/futimesat.c: Do not include - . - (futimesat) [__NR_futimesat]: Make code unconditional. - (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code. - * sysdeps/unix/sysv/linux/fxstatat.c: Do not include - . - (__fxstatat) [__NR_newfstatat]: Make code unconditional. - (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code. - * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include - . - (__fxstatat64) [__NR_fstatat64]: Make code unconditional. - (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code. - * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file. - * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include - . - (__fxstatat) [__NR_fstatat64]: Make code unconditional. - (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code. - * sysdeps/unix/sysv/linux/linkat.c: Do not include - . - (linkat) [__NR_linkat]: Make code unconditional. - (linkat) [!__ASSUME_ATFCTS]: Remove conditional code. - * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file. - * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include - . - (__fxstatat64) [__NR_newfstatat]: Make code unconditional. - (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code. - * sysdeps/unix/sysv/linux/mkdirat.c: Do not include - . - (mkdirat) [__NR_mkdirat]: Make code unconditional. - (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code. - * sysdeps/unix/sysv/linux/openat.c: Do not include - . - [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function. - [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable. - (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional. - (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code. - * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file. - * sysdeps/unix/sysv/linux/readlinkat.c: Do not include - . - (readlinkat) [__NR_readlinkat]: Make code unconditional. - (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return - result of INLINE_SYSCALL directly, not via int variable. - * sysdeps/unix/sysv/linux/renameat.c: Do not include - . - [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function. - (renameat) [__NR_renameat]: Make code unconditional. - (renameat) [!__ASSUME_ATFCTS]: Remove conditional code. - * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file. - * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file. - * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file. - * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c - (__ASSUME_ATFCTS): Do not undefine and redefine. - * sysdeps/unix/sysv/linux/symlinkat.c: Do not include - . - (symlinkat) [__NR_symlinkat]: Make code unconditional. - (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. - * sysdeps/unix/sysv/linux/unlinkat.c: Do not include - . - (unlinkat) [__NR_unlinkat]: Make code unconditional. - (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. - * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c - (__ASSUME_ATFCTS): Do not undefine and redefine. - * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include - . - (__fxstatat) [__NR_newfstatat]: Make code unconditional. - (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code. - * sysdeps/unix/sysv/linux/xmknodat.c: Do not include - . - (__xmknodat) [__NR_mknodat]: Make code unconditional. - (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code. - -2014-06-20 H.J. Lu - - * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed. - -2014-06-20 Andreas Schwab - - [BZ #17069] - * posix/regcomp.c (parse_reg_exp): Deallocate partially - constructed tree before returning error. - * posix/bug-regexp36.c: Expand test case. - -2014-06-20 Stefan Liebler - - [BZ #6803] - * math/libm-test.inc (scalbln_test_date): - Add errno expectations. - * math/w_scalblnf.c: New File. - Add wrapper which checks for setting errno to ERANGE. - Add weak_alias for corresponding scalbln function. - * math/w_scalbln.c: Likewise. - * math/w_scalblnl.c: Likewise. - * math/Makefile (libm-calls): Add w_scalbln. - * sysdeps/ieee754/flt-32/s_scalblnf.c: - Remove weak_alias for corresponding scalbln function. - * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise. - * sysdeps/i386/fpu/s_scalbnf.S: Likewise. - * sysdeps/i386/fpu/s_scalbn.S: Likewise. - * sysdeps/i386/fpu/s_scalbnl.S: Likewise. - * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise. - * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: - Remove long_double_symbol for scalblnl function in libm, libc. - * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File. - Add wrapper which checks for setting errno to ERANGE. - Add long_double_symbol for scalblnl function in libm, libc. - * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: - Remove long_double_symbol for scalblnl in libm. - * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File. - Add wrapper which checks for setting errno to ERANGE. - Add long_double_symbol for scalblnl function in libm. - * sysdeps/ia64/fpu/w_scalblnf.c: New File. - Do not use wrapper because of own implementation. - -2014-06-19 H.J. Lu - - * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use - 3 bytes for __pad1 for x32. - (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise. - -2014-06-19 Ling Ma - H.J. Lu - - * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2. - * sysdeps/x86_64/multiarch/memset-avx2.S: New file. - * sysdeps/x86_64/multiarch/memset.S: Likewise. - * sysdeps/x86_64/multiarch/memset_chk.S: Likewise. - * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise. - -2014-06-19 Andreas Schwab - - [BZ #17069] - * posix/regcomp.c (parse_expression): Deallocate partially - constructed tree before returning error. - * posix/Makefile.c (tests): Add bug-regex36. - (generated): Add bug-regex36.mtrace. - (tests-special): Add $(objpfx)bug-regex36-mem.out - (bug-regex36-ENV): New variable. - ($(objpfx)bug-regex36-mem.out): New rule. - * posix/bug-regex36.c: New file. - -2014-06-19 Will Newton - - * malloc/malloc.c (systrim): If extra is zero then return - early. - -2014-06-19 Siddhesh Poyarekar - - * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.). - -2014-06-19 Richard Earnshaw - - * sysdeps/aarch64/strchr.S: New file. - -2014-06-18 Joseph Myers - - [BZ #17022] - * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1 - from arguments -2 or below. - * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise. - * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise. - -2014-06-18 Andreas Schwab - - [BZ #17062] - * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest - of a bracket expr not to run off the end of the string. - * posix/Makefile (tests): Add tst-fnmatch3. - * posix/tst-fnmatch3.c: New file. - -2014-06-18 Joseph Myers - - * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix). - * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules) - [$(cross-compiling) = no]: Likewise. - * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules) - [$(cross-compiling) = no]: Likewise. - -2014-16-17 Rajalakshmi Srinivasaraghavan - - [BZ #17031] - * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low - double, adjusted for any remainder from the high double. - * math/libm-test.inc (nearbyint): Add tests. - (rint): Likewise. - -2014-06-17 Adhemerval Zanella - - * nptl/sysdeps/powerpc/Makefile: Moved ... - * sysdeps/powerpc/nptl/Makefile: ... here. - * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ... - * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here. - * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ... - * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here. - * nptl/sysdeps/powerpc/pthreaddef.h: Moved ... - * sysdeps/powerpc/nptl/pthreaddef.h: ... here. - * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ... - * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here. - * nptl/sysdeps/powerpc/tls.h: Moved ... - * sysdeps/powerpc/nptl/tls.h: ... here. - -2014-06-16 Joseph Myers - - [BZ #16681] - * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI. - * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise. - * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise. - * sysdeps/i386/fpu/s_floor.S (__floor): Likewise. - * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise. - * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise. - * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise. - * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise. - * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise. - -2014-06-17 Andreas Schwab - - * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update. - -2014-06-16 Andreas Schwab - - * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after - defined operator. - - * scripts/cross-test-ssh.sh (timeoutfactor): Default to - $TIMEOUTFACTOR. - -2014-06-16 Florian Weimer - - [BZ #17058] - * nptl/tst-setuid2.c (do_test): Fix tautological comparison in - non-executed part of the test. - -2014-06-16 Andreas Schwab - - * string/bits/string2.h (strdup, strndup): Update feature guard. - -2014-06-14 David S. Miller - - * sysdeps/sparc/fpu/libm-test-ulps: Update. - -2014-06-14 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code - that was previously under [RESET_PID]. - * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file. - - * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file. - * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file. - * sysdeps/unix/sysv/linux/m68k/vfork.S: Include . - (__vfork): Incorporate save/restore of PID from nptl/vfork.S here. - (__libc_vfork): New strong alias. - * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file. - -2014-06-14 Andi Kleen - - * sysdeps/generic/elide.h: New file. - -2014-06-13 Stefan Liebler - - * Makefile (installed-headers): Adjust path of pthread.h header. - -2014-06-13 Roland McGrath - - * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ... - * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here. - * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ... - * sysdeps/s390/nptl/bits/semaphore.h: ... here. - - * nptl/sysdeps/s390/Makefile: Moved ... - * sysdeps/s390/nptl/Makefile: ... here. - * nptl/sysdeps/s390/pthread_spin_init.c: Moved ... - * sysdeps/s390/nptl/pthread_spin_init.c: ... here. - * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ... - * sysdeps/s390/nptl/pthread_spin_lock.c: ... here. - * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ... - * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here. - * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ... - * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here. - * nptl/sysdeps/s390/pthreaddef.h: Moved ... - * sysdeps/s390/nptl/pthreaddef.h: ... here. - * nptl/sysdeps/s390/tcb-offsets.sym: Moved ... - * sysdeps/s390/nptl/tcb-offsets.sym: ... here. - * nptl/sysdeps/s390/tls.h: Moved ... - * sysdeps/s390/nptl/tls.h: ... here. - - * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file. - * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed. - -2014-06-13 David S. Miller - - * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete. - * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete. - * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ... - * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here. - * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete. - * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete. - * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ... - * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here. - * sysdeps/unix/sysv/linux/sparc/fork.S: Delete. - * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start): - Remove RESET_PID cpp guards. - * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start): - Remove RESET_PID cpp guards. - * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete. - -2014-06-13 Andreas Schwab - - * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast - __sp to uintptr_t. - -2014-06-13 Andi Kleen - - * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove. - * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito. - * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito. - * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito. - * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito. - * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito. - * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito. - * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito. - * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito. - * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito. - * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito. - * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito. - * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito. - * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito. - * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito. - * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito. - * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito. - * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito. - * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito. - * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito. - - * nptl/pthread_rwlock_rdlock.c: Include elide.h. - (pthread_rwlock_rdlock): Add elision. - * nptl/pthread_rwlock_wrlock.c: Include elide.h. - (pthread_rwlock_wrlock): Add elision. - * nptl/pthread_rwlock_trywrlock.c: Include elide.h. - (pthread_rwlock_trywrlock): Add elision. - * nptl/pthread_rwlock_tryrdlock.c: Include elide.h. - (pthread_rwlock_tryrdlock): Add elision. - * nptl/pthread_rwlock_unlock.c: Include elide.h. - (pthread_rwlock_tryrdlock): Add elision unlock. - * nptl/sysdeps/pthread/pthread.h: - (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define - (PTHREAD_RWLOCK_INITIALIZER, - PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP): - Handle new elision field. - * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros. - * sysdeps/arm/nptl/bits/pthreadtypes.h - (__PTHREAD_RWLOCK_ELISION_EXTRA): Add. - * sysdeps/sh/nptl/bits/pthreadtypes.h - (__PTHREAD_RWLOCK_ELISION_EXTRA): Add. - * sysdeps/tile/nptl/bits/pthreadtypes.h - (__PTHREAD_RWLOCK_ELISION_EXTRA): Add. - * sysdeps/a/nptl/bits/pthreadtypes.h - (__PTHREAD_RWLOCK_ELISION_EXTRA): Add. - * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h - (__PTHREAD_RWLOCK_ELISION_EXTRA): Add. - * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h - (__PTHREAD_RWLOCK_ELISION_EXTRA): Add. - * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h - (__PTHREAD_RWLOCK_ELISION_EXTRA): Add. - * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h - (__PTHREAD_RWLOCK_ELISION_EXTRA): Add. - * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h - (__PTHREAD_RWLOCK_ELISION_EXTRA): Add. - * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h - (__PTHREAD_RWLOCK_ELISION_EXTRA): Add. - * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h - (__PTHREAD_RWLOCK_ELISION_EXTRA): Add. - * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h - (__PTHREAD_RWLOCK_ELISION_EXTRA): Add. - * sysdeps/unix/sysv/linux/x86/elision-conf.c: - (elision_init): Set try_xbegin to zero when no RTM. - * sysdeps/x86/nptl/bits/pthreadtypes.h - (pthread_rwlock_t): Change __pad1 to __rwelision. - (__PTHREAD_RWLOCK_ELISION_EXTRA): Add. - -2014-06-13 Andi Kleen - - * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock): - Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock. - * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock): - Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock. - -2014-06-13 Meador Inge - - [BZ #16996] - * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure - that the cached result has been set before returning it. - -2014-06-12 Roland McGrath - - * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ... - * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here. - * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ... - * sysdeps/sparc/nptl/bits/semaphore.h: ... here. - * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ... - * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here. - - * nptl/sysdeps/sparc/Makefile: Moved ... - * sysdeps/sparc/nptl/Makefile: ... here. - * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ... - * sysdeps/sparc/nptl/tcb-offsets.sym: ... here. - * nptl/sysdeps/sparc/tls.h: Moved ... - * sysdeps/sparc/nptl/tls.h: ... here. - * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ... - * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here. - * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ... - * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here. - * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ... - * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here. - * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ... - * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here. - * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ... - * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here. - * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ... - * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here. - * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ... - * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here. - * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ... - * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here. - * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ... - * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here. - Update #include. - * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ... - * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here. - Update #include. - * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ... - * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here. - Update #include. - * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ... - * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here. - Update #include. - - * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro. - - * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file. - * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed. - - * sysdeps/pthread/posix-timer.h: Include . - (struct list_links): Type removed. - (struct thread_node, struct timer_node): Replace struct list_links - with struct list_head. - (list_unlink_ip): Likewise. - * sysdeps/pthread/timer_routines.c - (timer_free_list, thread_free_list, thread_active_list): Likewise. - (list_append, list_insbefore): Likewise. - (list_init): Function removed. - (thread_init, init_module): Use INIT_LIST_HEAD instead. - * sysdeps/nptl/Makefile: Move tst-timer bits to ... - * sysdeps/pthread/Makefile: ... here, new file. - - * nptl/sysdeps/unix/sysv/linux/Implies: Moved ... - * sysdeps/nptl/Implies: ... here. - * sysdeps/unix/sysv/linux/Implies: Add nptl. - * nptl/sysdeps/pthread/list.h: Moved ... - * include/list.h: ... here. - * nptl/sysdeps/pthread/createthread.c: Moved ... - * nptl/createthread.c: ... here. - * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include. - * nptl/sysdeps/pthread/pt-longjmp.c: Moved ... - * nptl/pt-longjmp.c: ... here. - * nptl/sysdeps/pthread/Makefile: Moved ... - * sysdeps/nptl/Makefile: ... here. - * nptl/sysdeps/pthread/Subdirs: Moved ... - * sysdeps/nptl/Subdirs: ... here. - * nptl/sysdeps/pthread/aio_misc.h: Moved ... - * sysdeps/nptl/aio_misc.h: ... here. - * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ... - * sysdeps/nptl/bits/libc-lock.h: ... here. - * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ... - * sysdeps/nptl/bits/libc-lockP.h: ... here. - * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ... - * sysdeps/nptl/bits/stdio-lock.h: ... here. - * nptl/sysdeps/pthread/configure: Moved ... - * sysdeps/nptl/configure: ... here. - * nptl/sysdeps/pthread/configure.ac: Moved ... - * sysdeps/nptl/configure.ac: ... here. - * nptl/sysdeps/pthread/gai_misc.h: Moved ... - * sysdeps/nptl/gai_misc.h: ... here. - * nptl/sysdeps/pthread/librt-cancellation.c: Moved ... - * sysdeps/nptl/librt-cancellation.c: ... here. - * nptl/sysdeps/pthread/malloc-machine.h: Moved ... - * sysdeps/nptl/malloc-machine.h: ... here. - * nptl/sysdeps/pthread/pthread-functions.h: Moved ... - * sysdeps/nptl/pthread-functions.h: ... here. - * nptl/sysdeps/pthread/pthread.h: Moved ... - * sysdeps/nptl/pthread.h: ... here. - * nptl/sysdeps/pthread/setxid.h: Moved ... - * sysdeps/nptl/setxid.h: ... here. - * nptl/sysdeps/pthread/sigfillset.c: Moved ... - * sysdeps/nptl/sigfillset.c: ... here. - * nptl/sysdeps/pthread/tcb-offsets.h: Moved ... - * sysdeps/nptl/tcb-offsets.h: ... here. - * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ... - * sysdeps/nptl/tst-mqueue8x.c: ... here. - * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ... - * sysdeps/nptl/unwind-forcedunwind.c: ... here. - * nptl/sysdeps/pthread/allocalim.h: Moved ... - * sysdeps/pthread/allocalim.h: ... here. - * nptl/sysdeps/pthread/bits/sigthread.h: Moved ... - * sysdeps/pthread/bits/sigthread.h: ... here. - * nptl/sysdeps/pthread/flockfile.c: Moved ... - * sysdeps/pthread/flockfile.c: ... here. - * nptl/sysdeps/pthread/ftrylockfile.c: Moved ... - * sysdeps/pthread/ftrylockfile.c: ... here. - * nptl/sysdeps/pthread/funlockfile.c: Moved ... - * sysdeps/pthread/funlockfile.c: ... here. - * nptl/sysdeps/pthread/posix-timer.h: Moved ... - * sysdeps/pthread/posix-timer.h: ... here. - * nptl/sysdeps/pthread/timer_create.c: Moved ... - * sysdeps/pthread/timer_create.c: ... here. - * nptl/sysdeps/pthread/timer_delete.c: Moved ... - * sysdeps/pthread/timer_delete.c: ... here. - * nptl/sysdeps/pthread/timer_getoverr.c: Moved ... - * sysdeps/pthread/timer_getoverr.c: ... here. - * nptl/sysdeps/pthread/timer_gettime.c: Moved ... - * sysdeps/pthread/timer_gettime.c: ... here. - * nptl/sysdeps/pthread/timer_routines.c: Moved ... - * sysdeps/pthread/timer_routines.c: ... here. - * nptl/sysdeps/pthread/timer_settime.c: Moved ... - * sysdeps/pthread/timer_settime.c: ... here. - * nptl/sysdeps/pthread/tst-timer.c: Moved ... - * sysdeps/pthread/tst-timer.c: ... here. - * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ... - * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here. - - * sysdeps/unix/sysv/linux/sigprocmask.c: Include . - * nptl/sysdeps/pthread/sigprocmask.c: File removed. - - * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ... - * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here. - * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ... - * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here. - Update #include target. - * nptl/sysdeps/i386/i686/Makefile: Moved ... - * sysdeps/i386/i686/nptl/Makefile: ... here. - * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ... - * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here. - Update #include target. - * nptl/sysdeps/i386/i686/tls.h: Moved ... - * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next. - * nptl/sysdeps/i386/Makefile: Moved ... - * sysdeps/i386/nptl/Makefile: ... here. - * nptl/sysdeps/i386/pthread_spin_init.c: Moved ... - * sysdeps/i386/nptl/pthread_spin_init.c: ... here. - * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target. - * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ... - * sysdeps/i386/nptl/pthread_spin_lock.S: ... here. - * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ... - * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here. - * nptl/sysdeps/i386/pthreaddef.h: Moved ... - * sysdeps/i386/nptl/pthreaddef.h: ... here. - * nptl/sysdeps/i386/tcb-offsets.sym: Moved ... - * sysdeps/i386/nptl/tcb-offsets.sym: ... here. - * nptl/sysdeps/i386/tls.h: Moved ... - * sysdeps/i386/nptl/tls.h: ... here. - - * sysdeps/sh/Makefile [$(subdir) = csu] - (gen-as-const-headers): Add tcb-offsets.sym. - * nptl/sysdeps/sh/Makefile: File removed. - * nptl/sysdeps/sh/pthread_spin_init.c: Moved ... - * sysdeps/sh/nptl/pthread_spin_init.c: ... here. - * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ... - * sysdeps/sh/nptl/pthread_spin_lock.c: ... here. - * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ... - * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here. - * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ... - * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here. - * nptl/sysdeps/sh/pthreaddef.h: Moved ... - * sysdeps/sh/nptl/pthreaddef.h: ... here. - * nptl/sysdeps/sh/tcb-offsets.sym: Moved ... - * sysdeps/sh/nptl/tcb-offsets.sym: ... here. - * nptl/sysdeps/sh/tls.h: Moved ... - * sysdeps/sh/nptl/tls.h: ... here. - * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ... - * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here. - * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ... - * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here. - * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ... - * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here. - * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ... - * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here. - * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ... - * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here. - * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ... - * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here. - * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ... - * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here. - * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ... - * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here. - * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ... - * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here. - * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ... - * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here. - * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ... - * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here. - * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ... - * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here. - * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: - Moved ... - * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here. - * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: - Moved ... - * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here. - * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ... - * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here. - * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ... - * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here. - * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ... - * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here. - * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ... - * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here. - * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ... - * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here. - * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ... - * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here. - * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ... - * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here. - * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ... - * sysdeps/unix/sysv/linux/sh/smp.h: ... here. - * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ... - * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here. - -2014-06-12 Stefan Liebler - - * posix/spawn_faction_addopen.c: Include string.h. - -2014-06-11 Roland McGrath - - * nptl/sysdeps/x86_64/64/shlib-versions: Moved ... - * sysdeps/x86_64/64/nptl/shlib-versions: ... here. - * nptl/sysdeps/x86_64/Makefile: Moved ... - * sysdeps/x86_64/nptl/Makefile: ... here. - * nptl/sysdeps/x86_64/configure: Moved ... - * sysdeps/x86_64/nptl/configure: ... here. - * nptl/sysdeps/x86_64/configure.ac: Moved ... - * sysdeps/x86_64/nptl/configure.ac: ... here. - * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ... - * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here. - * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ... - * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here. - * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ... - * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here. - * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ... - * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here. - * nptl/sysdeps/x86_64/pthreaddef.h: Moved ... - * sysdeps/x86_64/nptl/pthreaddef.h: ... here. - * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ... - * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here. - * nptl/sysdeps/x86_64/tls.h: Moved ... - * sysdeps/x86_64/nptl/tls.h: ... here. - * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ... - * sysdeps/x86_64/x32/nptl/shlib-versions: ... here. - * nptl/sysdeps/x86_64/x32/tls.h: Moved ... - * sysdeps/x86_64/x32/nptl/tls.h: ... here. - - * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next. - -2014-06-11 Adhemerval Zanella - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - -2014-06-11 Joseph Myers - - * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require - type. - [POSIX] (off_t): Likewise. - * conform/data/sys/stat.h-data (S_IRGRP): Require constant. - [POSIX] (S_ISBLK): Require macro. - [POSIX] (S_ISCHR): Likewise. - [POSIX] (S_ISDIR): Likewise. - [POSIX] (S_ISFIFO): Likewise. - [POSIX] (S_ISREG): Likewise. - [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list - optional-macro. - * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require - type. - [POSIX] (time_t): Likewise. - [POSIX] (timer_t): Likewise. - -2014-06-11 Florian Weimer - - [BZ #17048] - * posix/spawn_int.h (struct __spawn_action): Make the path string - non-const to support deallocation. - * posix/spawn_faction_addopen.c - (posix_spawn_file_actions_addopen): Make a copy of the pathname. - * posix/spawn_faction_destroy.c - (posix_spawn_file_actions_destroy): Adjust comment. Deallocate - path in all spawn_do_open actions. - * posix/tst-spawn.c (do_test): Exercise the copy operation in - posix_spawn_file_actions_addopen. - -2014-06-11 Chris Metcalf - - * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file. - * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file. - * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK - conditional code always true. - (__libc_vfork): New alias. - -2014-06-11 Roland McGrath - - * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro. - * sysdeps/unix/sysv/linux/tile/createthread.c: File removed. - - * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro. - - * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro. - * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed. - - * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro. - * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed. - - * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro. - * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed. - -2014-06-11 Vidya Ranganathan - - * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization. - * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file: - multiarch strcmp for PPC64. - * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp - multiarch optimizations. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: - (__libc_ifunc_impl_list): Likewise. - -2014-06-11 Siddhesh Poyarekar - - * benchtests/scripts/validate_benchout.py: New script. - * benchtests/Makefile (bench-func): Call it. - * benchtests/scripts/benchout.schema.json: New file. - -2014-06-10 Chris Metcalf - - * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ... - * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here. - * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ... - * sysdeps/tile/nptl/bits/semaphore.h: ... here. - * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ... - * sysdeps/unix/sysv/linux/tile/Makefile: ... here. - * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ... - * sysdeps/unix/sysv/linux/tile/clone.S: ... here. - * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ... - * sysdeps/unix/sysv/linux/tile/createthread.c: ... here. - * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ... - * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here. - * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ... - * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here. - * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ... - * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data: - Moved ... - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data: - ... here. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist: - Moved ... - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist: - Moved ... - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist: - ... here. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist: - Moved ... - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist: - ... here. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist: - Moved ... - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist: - Moved ... - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist: - ... here. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist: - Moved ... - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist: - ... here. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist: - Moved ... - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist: - Moved ... - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist: - ... here. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist: - Moved ... - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist: - ... here. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist: - Moved ... - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist: - ... here. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist: - Moved ... - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist: - Moved ... - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist: - ... here. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist: - Moved ... - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist: - ... here. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data: - Moved ... - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data: - ... here. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist: - Moved ... - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist: - Moved ... - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist: - ... here. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist: - Moved ... - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist: - ... here. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist: - Moved ... - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist: - Moved ... - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist: - ... here. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist: - Moved ... - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist: - Moved ... - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist: - Moved ... - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist: - ... here. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist: - Moved ... - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist: - ... here. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist: - Moved ... - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist: - ... here. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist: - Moved ... - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist: - Moved ... - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist: - ... here. - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist: - Moved ... - * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist: - ... here. - * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ... - * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here. - * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ... - * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here. - * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist: - Moved ... - * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist: - ... here. - * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ... - * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here. - * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ... - * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here. - * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ... - * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here. - * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ... - * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here. - * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ... - * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here. - * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ... - * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here. - * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist: - Moved ... - * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here. - * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist: - Moved ... - * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here. - * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ... - * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here. - * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist: - Moved ... - * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here. - * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ... - * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here. - * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ... - * sysdeps/unix/sysv/linux/tile/vfork.S: ... here. - * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ... - * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here. - -2014-06-10 Wilco - - * math/test-fenv-return.c: New file. - * math/Makefile: Add new test test-fenv-return. - -2014-06-10 Joseph Myers - - [BZ #17042] - * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value - when x - 1 is zero. - * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise. - * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise. - * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return - 0.0L for an argument of 1.0L. - * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): - Likewise. - * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute - value when x - 1 is zero. - * math/libm-test.inc (log2_test): Use ALL_RM_TEST. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2014-06-09 Bernard Ogden - - [BZ #15119] - * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file. - -2014-06-09 Roland McGrath - - * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro. - * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed. - -2014-06-09 Roland McGrath - - * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro. - * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed. - - * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro. - * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed. - - * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro. - * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed. - - * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro. - * sysdeps/unix/sysv/linux/arm/createthread.c: File removed. - - * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro, - if not already defined. - (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE. - * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro. - * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function. - (TLS_INIT_TP): Use it. - (TLS_DEFINE_INIT_TP): New macro. - * sysdeps/unix/sysv/linux/i386/createthread.c: File removed. - -2014-06-09 Joseph Myers - - * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect - constant. - [POSIX] (IXANY): Likewise. - [POSIX] (OLCUC): Likewise. - [POSIX || POSIX2008] (CBAUD): Do not allow. - [POSIX || POSIX2008] (DEFECHO): Likewise. - [POSIX || POSIX2008] (ECHOCTL): Likewise. - [POSIX || POSIX2008] (ECHOKE): Likewise. - [POSIX || POSIX2008] (ECHOPRT): Likewise. - [POSIX || POSIX2008] (EXTA): Likewise. - [POSIX || POSIX2008] (EXTB): Likewise. - [POSIX || POSIX2008] (FLUSHO): Likewise. - [POSIX || POSIX2008] (LOBLK): Likewise. - [POSIX || POSIX2008] (PENDIN): Likewise. - [POSIX || POSIX2008] (SWTCH): Likewise. - [POSIX || POSIX2008] (VDISCARD): Likewise. - [POSIX || POSIX2008] (VDSUSP): Likewise. - [POSIX || POSIX2008] (VLNEXT): Likewise. - [POSIX || POSIX2008] (VREPRINT): Likewise. - [POSIX || POSIX2008] (VSTATUS): Likewise. - [POSIX || POSIX2008] (VWERASE): Likewise. - (B*): Change to B[0123456789]*. - * conform/data/time.h-data [POSIX || UNIX98] - (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant. - [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise. - [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise. - [POSIX] (tm_*): Do not allow. - -2014-06-07 Joseph Myers - - * Makefile (install): Don't set LANGUAGE. - * Makefile.in (install): Likewise. - * assert/Makefile (test-assert-ENV): Remove variable. - (test-assert-perr-ENV): Likewise. - * elf/Makefile (neededtest4-ENV): Likewise. - * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules) - [$(cross-compiling) = no]: Don't set LANGUAGE. - * io/ftwtest-sh (LANG): Remove variable. - * libio/Makefile (tst-widetext-ENV): Likewise. - * manual/install.texi (Running make install): Don't refer to - environment settings for make install. - * INSTALL: Regenerated. - * nptl/tst-tls6.sh: Don't set LANG. - * posix/globtest.sh (LANG): Remove variable. - * string/Makefile (tester-ENV): Likewise. - (inl-tester-ENV): Likewise. - (noinl-tester-ENV): Likewise. - * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules) - [$(cross-compiling) = no]: Don't set LANGUAGE. - * timezone/Makefile (build-testdata): Use $(built-program-cmd) - without explicit environment settings. - -2014-06-06 Roland McGrath - - * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ... - * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here. - * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ... - * sysdeps/sh/nptl/bits/semaphore.h: ... here. - -2014-06-06 Chris Metcalf - - * crypt/crypt-private.h [DOS]: Add some includes taken from the - other files in the crypt directory. - * crypt/crypt.c: Remove duplicate includes. - * crypt/crypt-entry.c: Likewise. - * crypt/crypt_util.c: Likewise. - -2014-06-06 Joseph Myers - - * Makeconfig (run-program-env): New variable. - (run-program-prefix-before-env): Likewise. - (run-program-prefix-after-env): Likewise. - (run-program-prefix): Define in terms of new variables. - (built-program-cmd-before-env): New variable. - (built-program-cmd-after-env): Likewise. - (built-program-cmd): Define in terms of new variables. - (test-program-prefix-before-env): New variable. - (test-program-prefix-after-env): Likewise. - (test-program-prefix): Define in terms of new variables. - (test-program-cmd-before-env): New variable. - (test-program-cmd-after-env): Likewise. - (test-program-cmd): Define in terms of new variables. - * Rules (make-test-out): Use $(run-program-env). - * scripts/cross-test-ssh.sh (env_blacklist): Remove variable. - (help): Do not mention environment variables. Mention - --timeoutfactor option. - (timeoutfactor): New variable. - (blacklist_exports): Remove function. - (exports): Remove variable. - (command): Do not include ${exports}. - * manual/install.texi (Configuring and compiling): Do not mention - test wrappers preserving environment variables. Mention that last - assignment to a variable must take precedence. - * INSTALL: Regenerated. - * benchtests/Makefile (run-bench): Use $(run-program-env). - * catgets/Makefile ($(objpfx)test1.cat): Use - $(built-program-cmd-before-env), $(run-program-env) and - $(built-program-cmd-after-env). - ($(objpfx)test2.cat): Do not specify environment variables - explicitly. - ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env), - $(run-program-env) and $(built-program-cmd-after-env). - ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env), - $(run-program-env) and $(test-program-cmd-after-env). - ($(objpfx)sample.SJIS.cat): Do not specify environment variables - explicitly. - * catgets/test-gencat.sh: Use test_program_cmd_before_env, - run_program_env and test_program_cmd_after_env arguments. - * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env). - * elf/tst-pathopt.sh: Use run_program_env argument. - * iconvdata/Makefile ($(objpfx)iconv-test.out): Use - $(test-wrapper-env) and $(run-program-env). - * iconvdata/run-iconv-test.sh: Use test_wrapper_env and - run_program_env arguments. - * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly. - * intl/Makefile ($(objpfx)tst-gettext.out): Use - $(test-program-prefix-before-env), $(run-program-env) and - $(test-program-prefix-after-env). - ($(objpfx)tst-gettext2.out): Likewise. - * intl/tst-gettext.sh: Use test_program_prefix_before_env, - run_program_env and test_program_prefix_after_env arguments. - * intl/tst-gettext2.sh: Likewise. - * intl/tst-gettext4.sh: Do not set environment variables - explicitly. - * intl/tst-gettext6.sh: Likewise. - * intl/tst-translit.sh: Likewise. - * malloc/Makefile ($(objpfx)tst-mtrace.out): Use - $(test-program-prefix-before-env), $(run-program-env) and - $(test-program-prefix-after-env). - * malloc/tst-mtrace.sh: Use test_program_prefix_before_env, - run_program_env and test_program_prefix_after_env arguments. - * math/Makefile (run-regen-ulps): Use $(run-program-env). - * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env). - * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C - explicitly with each use of ${test_wrapper_env}. - * posix/Makefile ($(objpfx)wordexp-tst.out): Use - $(test-program-prefix-before-env), $(run-program-env) and - $(test-program-prefix-after-env). - * posix/tst-getconf.sh: Do not set environment variables - explicitly. - * posix/wordexp-tst.sh: Use test_program_prefix_before_env, - run_program_env and test_program_prefix_after_env arguments. - * stdio-common/tst-printf.sh: Do not set environment variables - explicitly. - * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use - $(test-program-prefix-before-env), $(run-program-env) and - $(test-program-prefix-after-env). - * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env, - run_program_env and test_program_prefix_after_env arguments. - Split $test calls into $test_pre and $test. - * timezone/Makefile (build-testdata): Use - $(built-program-cmd-before-env), $(run-program-env) and - $(built-program-cmd-after-env). - -2014-06-06 Adhemerval Zanella - - * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as - strlen for non SHARED builds. - -2014-06-05 Siddhesh Poyarekar - - * nptl/allocatestack.c (check_list): Inlined function... - (__reclaim_stacks): ... here. - -2014-06-05 Ondƙej BĂ­lka - - [BZ #15698] - * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix - memory overrun. - -2014-06-05 Joseph Myers - - * Rules (make-test-out): Include - LOCPATH=$(common-objpfx)localedata in default environment. - * debug/Makefile (tst-chk1-ENV): Remove variable. - (tst-chk2-ENV): Likewise. - (tst-chk3-ENV): Likewise. - (tst-chk4-ENV): Likewise. - (tst-chk5-ENV): Likewise. - (tst-chk6-ENV): Likewise. - (tst-lfschk1-ENV): Likewise. - (tst-lfschk2-ENV): Likewise. - (tst-lfschk3-ENV): Likewise. - (tst-lfschk4-ENV): Likewise. - (tst-lfschk5-ENV): Likewise. - (tst-lfschk6-ENV): Likewise. - * iconvdata/Makefile (bug-iconv6-ENV): Likewise. - (tst-iconv7-ENV): Likewise. - * intl/Makefile (LOCPATH-ENV): Likewise. - (tst-codeset-ENV): Likewise. - (tst-gettext3-ENV): Likewise. - (tst-gettext5-ENV): Likewise. - * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH. - (tst-fopenloc-ENV): Likewise. - (tst-fgetws-ENV): Remove variable. - (tst-ungetwc1-ENV): Likewise. - (tst-ungetwc2-ENV): Likewise. - (bug-ungetwc2-ENV): Likewise. - (tst-swscanf-ENV): Likewise. - (bug-ftell-ENV): Likewise. - (tst-fgetwc-ENV): Likewise. - (tst-fseek-ENV): Likewise. - (tst-ftell-partial-wide-ENV): Likewise. - (tst-ftell-active-handler-ENV): Likewise. - (tst-ftell-append-ENV): Likewise. - * posix/Makefile (tst-fnmatch-ENV): Likewise. - (tst-regexloc-ENV): Likewise. - (bug-regex1-ENV): Likewise. - (tst-regex-ENV): Likewise. - (tst-regex2-ENV): Likewise. - (bug-regex5-ENV): Likewise. - (bug-regex6-ENV): Likewise. - (bug-regex17-ENV): Likewise. - (bug-regex18-ENV): Likewise. - (bug-regex19-ENV): Likewise. - (bug-regex20-ENV): Likewise. - (bug-regex22-ENV): Likewise. - (bug-regex23-ENV): Likewise. - (bug-regex25-ENV): Likewise. - (bug-regex26-ENV): Likewise. - (bug-regex30-ENV): Likewise. - (bug-regex32-ENV): Likewise. - (bug-regex33-ENV): Likewise. - (bug-regex34-ENV): Likewise. - (bug-regex35-ENV): Likewise. - (tst-rxspencer-ENV): Likewise. - (tst-rxspencer-no-utf8-ENV): Likewise. - * stdio-common/Makefile (tst-sprintf-ENV): Likewise. - (tst-sscanf-ENV): Likewise. - (tst-swprintf-ENV): Likewise. - (tst-swscanf-ENV): Likewise. - (test-vfprintf-ENV): Likewise. - (scanf13-ENV): Likewise. - (bug14-ENV): Likewise. - (tst-grouping-ENV): Likewise. - * stdlib/Makefile (tst-strtod-ENV): Likewise. - (tst-strtod3-ENV): Likewise. - (tst-strtod4-ENV): Likewise. - (tst-strtod5-ENV): Likewise. - (testmb2-ENV): Likewise./ - * string/Makefile (tst-strxfrm-ENV): Likewise. - (tst-strxfrm2-ENV): Likewise. - (bug-strcoll1-ENV): Likewise. - (test-strcasecmp-ENV): Likewise. - (test-strncasecmp-ENV): Likewise. - * time/Makefile (tst-strptime-ENV): Likewise. - (tst-ftime_l-ENV): Likewise. - * wcsmbs/Makefile (tst-btowc-ENV): Likewise. - (tst-mbrtowc-ENV): Likewise. - (tst-wcrtomb-ENV): Likewise. - (tst-mbrtowc2-ENV): Likewise. - (tst-c16c32-1-ENV): Likewise. - (tst-mbsnrtowcs-ENV): Likewise. - -2014-06-05 Ondƙej BĂ­lka - - * manual/resource.texi (How to get information about the memory - subsystem?): Fix typo. - Reported by Peon de la Parra Ivan - -2014-06-03 Guo Yixuan - - [BZ #16882] - * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S - (pthread_spin_lock): Branch out of spin loop to proper location. - * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S - (pthread_spin_lock): Likewise. - - * nptl/tst-spin4.c: New test. - * nptl/Makefile (tests): Add tst-spin4. - -2014-06-03 Andreas Schwab - - [BZ #15946] - * resolv/res_send.c (send_dg): Reload file descriptor after - calling reopen. - -2014-06-03 Stefan Liebler - - * sysdeps/s390/fpu/libm-test-ulps: Regenerate. - -2014-06-03 Richard Henderson - - * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file. - * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file. - * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate - SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN - in the SAVE_PID block. - (__libc_vfork): New alias. - * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file. - - * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for - child in registers, not on the stack. Remove RESET_PID conditionals. - * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file. - -2014-06-03 Marcus Shawcroft - - * sysdeps/aarch64/libm-test-ulps: Regenerate. - -2014-06-03 Wilco - - * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64) - (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64) - (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx): - Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO. - * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode): - Likewise. - -2014-06-03 Wilco - - * sysdeps/aarch64/fpu/math_private.h - (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64) - (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64) - (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64) - (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx): - Fix declarations. - -2014-06-03 Kostya Serebryany - - * crypt/crypt-private.h: Include ufc-crypt.h. - (__b64_from_24bit): Declare extern. - * crypt/crypt_util.c(__b64_from_24bit): New function. - (b64t): New static const variable. - * crypt/md5-crypt.c (b64_from_24bit): Remove function. - (b64t): Remove variable. - (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit. - * crypt/sha256-crypt.c: Include crypt-private.h. - (b64t): Remove variable. - (__sha256_crypt_r): Remove b64_from_24bit and replace - with __b64_from_24bit. - * crypt/sha512-crypt.c: Likewise. - -2014-06-02 Roland McGrath - - * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ... - * sysdeps/unix/sysv/linux/sh/vfork.S: ... here. - Label the code __libc_vfork rather than __vfork. - [!NOT_IN_libc] (vfork): Define as weak alias. - [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def. - * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file. - * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed. - -2014-06-02 Siddhesh Poyarekar - - * malloc/malloc.c (malloc_info): Fix format specifier for - n_mmaps. - -2014-06-02 Wilco - - * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after - FPCR write. - -2014-06-02 Wilco - - [BZ #17009] - * sysdeps/aarch64/fpu/feupdateenv (feupdateenv): - Rewrite to reduce FPCR/FPSR accesses. - -2014-06-01 David S. Miller - - * sysdeps/sparc/fpu/libm-test-ulps: Update. - -2014-05-31 David S. Miller - - * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations - to occur in round to nearest mode when |x| >= 2.0 - -2014-05-30 Richard Henderson - - * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove. - (PSEUDO_RET_NOERRNO): Remove. - (ret): Don't redefine. - (ret_NOERRNO): Define in terms of ret. - (ret_ERRVAL): Likewise. - - * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the - use of PSEUDO_RET; perform the error check directly. - -2014-05-30 Marko Myllynen - - * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128 - with __int128_t. - -2014-05-30 Siddhesh Poyarekar - - * malloc/malloc (malloc_info): Fix formatting. - -2014-05-30 Siddhesh Poyarekar - Roland McGrath - - * malloc/malloc (malloc_info): Also print mmapped statistics. - -2014-05-30 Roland McGrath - - * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file. - * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed. - -2014-05-30 Ondƙej BĂ­lka - - * malloc/malloc.c (malloc_info): Inline mi_arena. - -2014-05-29 Richard Henderson - - * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS): - Remove comma before expanding ASM_ARGS_##nr. - (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting. - Make _x0 a strict output; make _x8 a strict input; adjust expansion - of ASM_ARGS_##nr. - (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove. - (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove. - (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove. - (ASM_ARGS_1): Add leading comma. - - * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc] - (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call - to __errno_location. - * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so): - Remove the expected plt for __errno_location. - - * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h - [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a - call to __read_tp. - - * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO): - Always allocate 64 bytes of stack frame. Use ldp/stp to create - it and break it down. - (DOCARGS_0, DOCARGS_1): Do nothing. - (DOCARGS_2): Update to store into the new stack frame. - (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise. - (UNDOCARGS_1): Update to restore from the new stack frame. - (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise. - (UNDOCARGS_5, UNDOCARGS_6): Likewise. - - * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h - (SINGLE_THREAD_P): New parameter for result regno. - (PSEUDO): Update to match; use cbz instead of beq. - - * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO): - Use ENTRY to define the _nocancel entry point. Share the syscall - and syscall error check paths with the cancel path. - (PSEUDO_END): New. - - * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust - whitespace; tabs before and after asm mnemonics. - -2014-05-29 Eric Wong - - [BZ #15132] - * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags): - Call fstat64 or stat64 internally, depending on arguments passed. - Replace stat buffer argument with file descriptor argument. - (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags. - * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): - Pass fd to __internal_statvfs instead of calling fstat64. - * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64): - Pass fd to __internal_statvfs64 instead of calling fstat64. - * sysdeps/unix/sysv/linux/statvfs.c (statvfs): - Pass -1 to __internal_statvfs instead of calling stat64. - * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64): - Pass -1 to __internal_statvfs64 instead of calling stat64. - -2014-05-28 Roland McGrath - - * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code - that was previously under [RESET_PID]. - * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed. - - * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file. - * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed. - -2014-05-27 Roland McGrath - - * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file. - - * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file. - * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed. - -2014-05-27 Ondƙej BĂ­lka - - * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code. - -2014-05-27 Andreas Schwab - - * csu/libc-tls.c (__libc_setup_tls): Remove second argument from - TLS_INIT_TP macro. - * elf/dl-load.c (_dl_map_object_from_fd): Likewise. - * elf/rtld.c (init_tls, dl_main): Likewise. - * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise. - * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise. - * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise. - * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise. - * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise. - * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise. - * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise. - * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise. - * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise. - * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise. - * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise. - * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise. - * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise. - * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise. - * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise. - * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise. - * sysdeps/generic/tls.h: Update description. - -2014-05-27 Will Newton - - [BZ #16990] - * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save - and restore r2 rather than just restoring. - -2014-05-27 Siddhesh Poyarekar - - [BZ #16724] - * libio/tst-ftell-append.c: New test case. - * libio/Makefile (tests): Add test case. - * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in - append mode. - * libio/wfileops.c (do_ftell_wide): Likewise. - -2014-05-26 Adhemerval Zanella - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - - * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into - ... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise. - * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ... - * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here. - * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ... - * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here. - * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ... - * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here. - * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here. - * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here. - * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ... - * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here. - * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ... - * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here. - * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved - ... - * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here. - * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ... - here. - * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved - ... - * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here. - * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ... - * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here. - - * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ... - * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here. - * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ... - * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here. - - * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove, - merge into ... - * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here. - * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved - ... - * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here. - * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved - ... - * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here. - * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ... - here. - * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here. - * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: - Moved ... - * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here. - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove - conditional [RESET_PID]. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise. - * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File - removed. - * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File - removed. - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include - . - (__vfork): Incorporate save/restore of PID from nptl/vfork.S here. - (__libc_vfork): New strong alias. - * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File - removed. - * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File - Removed. - - * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include - . - (__vfork): Incorporate save/retore of PID from nptl/vfork.S here. - (__libc_vfork): New strong alias. - * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File - removed. - * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File - removed. - -2014-05-26 Carlos O'Donell - - * malloc/malloc.c (mi_arena): New function. - (malloc_info): Remove nested function mi_arena. Call non-nosted - function mi_arena. - -2014-05-26 Adhemerval Zanella - - * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi - by insrwi. - * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise. - * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise. - * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise. - * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise. - * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise. - * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise. - * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise. - -2014-05-26 Andreas Schwab - - [BZ #16984] - * locale/programs/repertoire.c (repertoire_read): Add slash - between I18NPATH element and file name. - * locale/programs/locfile.c (locfile_read): Likewise. - -2014-05-26 Stefan Liebler - - * nptl/pthread_mutexattr_settype.c - (__pthread_mutexattr_settype): - Disable lock elision for PTHREAD_MUTEX_NORMAL. - -2014-05-26 Stefan Liebler - - * nptl/tst-mutex5 (do_test): - Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef. - -2014-05-26 Siddhesh Poyarekar - - * benchtests/README: Document 'init' directive. - * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call - BENCH_INIT. - * scripts/bench.py (gen_source): Define BENCH_INIT macro. - (parse_file): Recognize 'init' directive. - -2014-05-26 Kyle McMartin - - [BZ #16796] - * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the - alignment of struct pthread. - -2014-05-26 Siddhesh Poyarekar - - [BZ #16878] - * nscd/netgroupcache.c (addgetnetgrentX): Look for - NSS_STATUS_TRYAGAIN to indicate insufficient buffer space. - * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use - NSS_STATUS_TRYAGAIN to indicate insufficient buffer space. - -2014-05-25 Richard Henderson - - * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h - (SINGLE_THREAD_P_PIC): Remove. - * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h - (SINGLE_THREAD_P_PIC): Remove. - - * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move - branch to syscall error ... - (PSEUDO): ... here. - [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label - from __local_syscall_error to .Lsyscall_error. - [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error. - (SYSCALL_ERROR): Update label name. - - * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO): - Do not use DOARGS/UNDOARGS. - * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise. - (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove. - (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove. - (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove. - (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove. - - * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix - block comment. - - * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only - define if !NOT_IN_libc. - * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only - define with non-default symbol versions. - -2014-05-23 Richard Henderson - - * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc. - (vfork, __vfork): Define via compat_symbol. - - * nptl/pt-vfork.c: Error if !HAVE_IFUNC. - [!HAVE_IFUNC] (vfork_compat): Remove. - [!HAVE_IFUNC] (DEFINE_VFORK): Remove. - -2014-05-23 Joseph Myers - - [BZ #16978] - * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro. - * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove - variable. - -2014-05-23 Richard Henderson - - * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into... - * sysdeps/unix/sysv/linux/alpha/Makefile: ... here. - * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into... - * sysdeps/unix/sysv/linux/alpha/Versions: ... here. - - * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ... - * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here. - * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ... - * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here. - * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ... - * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here. - * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ... - * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here. - * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ... - * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here. - * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ... - * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here. - * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ... - * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here. - * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ... - * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here. - * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ... - * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here. - * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ... - * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here. - * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ... - * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here. - * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ... - * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here. - * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ... - * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here. - * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ... - * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here. - * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ... - * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here. - * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ... - * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here. - * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ... - * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here. - * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ... - * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here. - * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ... - * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here. - * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ... - * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here. - * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ... - * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here. - * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ... - * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here. - * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ... - * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here. - * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ... - * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here. - * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ... - * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here. - * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ... - * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here. - * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ... - * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here. - * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ... - * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here. - - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork. - * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ... - * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID - before exiting on error. - (__libc_vfork): New strong alias. - * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file. - * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file. - - * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code - that was previously under [RESET_PID]. - * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed. - - * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file. - -2014-05-23 Joseph Myers - - [BZ #16977] - * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute - value when x - 1 is zero. - * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise. - * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise. - * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return - 0.0L for an argument of 1.0L. - * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): - Likewise. - * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute - value when x - 1 is zero. - * math/libm-test.inc (log10_test): Use ALL_RM_TEST. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2014-05-23 Rasmus Villemoes - - * manual/filesys.texi (Scanning Directory Content): Fix prototype of - alphasort and versionsort. - -2014-05-22 Adhemerval Zanella - - * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded - macro. - [copysignf]: Likewise. - -2014-05-22 Siddhesh Poyarekar - - * crypt/md5-crypt.c: Fix formatting. - -2014-05-22 Kostya Serebryany - - * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function. - (b64_from_24bit): New function. - -2014-05-22 Adhemerval Zanella - - * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove - libc_hidden_builtin_def to ifunc. - * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c - [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32. - -2014-05-21 Roland McGrath - - * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file. - * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed. - -2014-05-21 Joseph Myers - - * nscd/Depend (linuxthreads): Remove. - (nptl): Add. - * resolv/Depend (linuxthreads): Remove. - * rt/Depend (linuxthreads): Remove. - - * Makeconfig [$(build-hardcoded-path-in-tests) = yes] - (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of - $(common-objpfx)elf/. - (link-libc-before-gnulib): Likewise. - (elfobjdir): Remove variable. - * Makefile (install): Use $(elf-objpfx) instead of - $(common-objpfx)elf/. - * Makerules (link-libc-args): Use $(elf-objpfx) instead of - $(elfobjdir)/. - (link-libc-deps): Likewise. - ($(common-objpfx)libc.so): Likewise. - ($(common-objpfx)linkobj/libc.so): Likewise. - [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx) - instead of $(common-objpfx)elf/. - (symbolic-link-list): Likewise. - * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules) - [$(cross-compiling) = no]: Likewise. - * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of - $(elfobjdir)/. - (static-gnulib-arch): Likewise. - * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules) - [$(cross-compiling) = no]: Use $(elf-objpfx) instead of - $(common-objpfx)elf/. - -2014-05-21 Richard Henderson - - * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h - (SINGLE_THREAD_P): Use the correct width load. Fold - into the ldr offset. - - * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO] - (SYSCALL_ERROR_HANDLER): Fold add insn into str offset. - -2014-05-20 Joseph Myers - - * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c - (libgcc_s_resume): Use __attribute_used__. - * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume): - Likewise. - -2014-05-20 Adhemerval Zanella - - * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro - optimization when used with float constants. - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - -2014-05-20 Aurelien Jarno - - [BZ #16915] - * locale/nl_langinfo_l.c: Make direct reference to every - _nl_current_CATEGORY symbol. - * localedata/Makefile (test-srcs): Add tst-langinfo-static. - (tests-static): Add tst-langinfo-static. - (tests-special): Add tst-langinfo-static.out. - ($(objpfx)tst-langinfo.out): Redirect output. - ($(objpfx)tst-langinfo-static.out): New. - * localedata/tst-langinfo.sh: Send output to stdout. - * localedata/tst-langinfo-static.c: New file. - - [BZ #16965] - * stdlib/strtod_l.c (round_and_return): Add code to shift limbs - when the shift amount is modulo the limb size. - -2014-05-20 Richard Henderson - - [BZ #16967] - * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction): - Change type of sa_flags from unsigned int to int. - - [BZ #16966] - * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file. - - * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define. - -2014-05-20 Will Newton - - * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO): - Test the return value of the system call in the nocancel case. - -2014-05-20 Will Newton - Yvan Roux - - * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused - #include of asm/ptrace.h. - (PTRACE_GET_THREAD_AREA): Remove #undef. - (PTRACE_GETHBPREGS): Likewise. - (PTRACE_SETHBPREGS): Likewise. - (struct user_regs_struct): New structure. - (struct user_fpsimd_struct): New structure. - * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused - #include of asm/ptrace.h and second #include of sys/user.h. - (PTRACE_GET_THREAD_AREA): Remove #undef. - (PTRACE_GETHBPREGS): Likewise. - (PTRACE_SETHBPREGS): Likewise. - (ELF_NGREG): Use new struct user_regs_struct. - (elf_fpregset_t): Use new struct user_fpsimd_struct. - -2014-05-19 Adhemerval Zanella - - * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ... - * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here. - -2014-05-17 Jose E. Marchesi - - [BZ #16958] - * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing - membar to avoid block loads/stores to overlap previous stores. - -2014-05-17 Richard Henderson - - * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO): - Create the __##syscall_name##_nocancel entry point. - * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel): - Remove; let the sysdep-cancel.h code create it. - -2014-05-17 David S. Miller - - * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP): - Protect with __USE_GNU. - (TIOCSET_TEMPT): Likewise. - (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS, - TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as - these are already provided in bits/ioctl-types.h - -2014-05-16 Roland McGrath - - * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file. - * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed. - - * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): - Use wait4 regardless of [__NR_waitpid]. - -2014-05-16 Maciej W. Rozycki - - PR libgcc/60166 - * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D) - (_FP_NANSIGN_Q): Set the quiet bit. - -2014-05-16 Joseph Myers - - * benchtests/Makefile - ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm), - not $(common-objpfx)math/libm.so. - ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on - $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so. - * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not - $(common-objpfx)dlfcn/libdl.so. - ($(objpfx)tst-audit8): Depend on $(libm), not - $(common-objpfx)math/libm.so. - * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl), - not $(common-objpfx)dlfcn/libdl.so. - * math/Makefile - ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))): - Depend on $(libm), not $(objpfx)libm.so. Do not condition on - [$(build-shared) = yes]. - ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not - $(common-objpfx)nptl/libpthread.so. - * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not - $(common-objpfx)math/libm.so$(libm.so-version) or - $(common-objpfx)math/libm.a depending on [$(build-shared) = yes]. - * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not - $(common-objpfx)dlfcn/libdl.so. - * setjmp/Makefile (link-libm): Remove variable. - ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm). - * stdio-common/Makefile (link-libm): Remove variable. - ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm). - * stdlib/Makefile (link-libm): Remove variable. - ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm). - ($(objpfx)tst-strtod-round): Likewise. - ($(objpfx)tst-tininess): Likewise. - ($(objpfx)tst-strtod-underflow): Likewise. - ($(objpfx)tst-strtod6): Likewise. - ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and - $(libdl), not $(common-objpfx)nptl/libpthread.so and - $(common-objpfx)dlfcn/libdl.so. - -2014-05-16 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard - BSD terminal modes definitions. - -2014-05-16 Roland McGrath - - * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file. - * sysdeps/unix/sysv/linux/arm/fork.c: File removed. - - * sysdeps/unix/sysv/linux/arch-fork.h: New file. - * sysdeps/unix/sysv/linux/i386/fork.h: Moved ... - * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here. - Don't do #include_next. - * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ... - * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here. - Don't do #include_next. - * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file. - * sysdeps/unix/sysv/linux/mips/fork.h: File removed. - * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file. - * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed. - -2014-05-16 Allan McRae - - * po/sv.po: Update Swedish translation from translation project. - - * timezone/Makefile ($(objpfx)tzselect): Use correct variable - in sed expression. - -2014-05-16 Aurelien Jarno - - [BZ #16917] - * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return - errno if the TIOCGPTN ioctl fails with an error different than - EINVAL. - * login/tst-ptsname.c: New file. - * login/Makefile (tests): Add tst-ptsname. - - [BZ #16943] - * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit - and prlimit64. - -2014-05-15 Siddhesh Poyarekar - - [BZ #16849] - * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for - herrno to return EAI_AGAIN. - -2014-05-14 Roland McGrath - - * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ... - * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here. - * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ... - * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here. - * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ... - * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here. - * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ... - * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here. - * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ... - * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here. - * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ... - * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here. - * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ... - * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here. - * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ... - * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here. - * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ... - * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here. - * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ... - * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here. - * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ... - * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here. - * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ... - * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here. - * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ... - * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here. - * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ... - * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here. - * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ... - * sysdeps/unix/sysv/linux/i386/localplt.data: ... here. - * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ... - * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here. - * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ... - * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here. - * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist: - Moved ... - * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here. - * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ... - * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here. - * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ... - * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here. - * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ... - * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here. - * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ... - * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here. - * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ... - * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here. - * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ... - * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here. - * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ... - * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here. - * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ... - * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here. - * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ... - * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here. - * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ... - * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here. - * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ... - * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here. - * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ... - * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here. - * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ... - * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here. - * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist: - Moved ... - * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here. - * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ... - * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here. - * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ... - * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here. - * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ... - * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here. - * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ... - * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here. - * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ... - * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here. - * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ... - * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here. - * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ... - * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here. - * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ... - * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here. - * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ... - * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here. - * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist: - Moved ... - * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here. - * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ... - * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here. - - * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed. - * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl] - (libpthread-sysdep_routines): Add elision-related stuff here instead. - * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ... - * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here. - * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ... - * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here. - * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ... - * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here. - * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ... - * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here. - * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ... - * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here. - * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ... - * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here. - * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ... - * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here. - * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ... - * sysdeps/unix/sysv/linux/x86/hle.h: ... here. - * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ... - * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here. - * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ... - * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here. - * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ... - * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here. - * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ... - * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here. - * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ... - * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here. - * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ... - * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here. - - * sysdeps/unix/sysv/linux/mips/fork.h: New file. - * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed. - - * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed. - * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ... - * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ... - * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: - Moved ... - * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: - Moved ... - * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: - Moved ... - * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: - Moved ... - * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ... - * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: - Moved ... - * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ... - * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ... - * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ... - * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: - Moved ... - * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: - Moved ... - * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: - ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ... - * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ... - * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: - Moved ... - * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: - ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: - Moved ... - * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ... - * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ... - * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: - Moved ... - * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: - Moved ... - * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: - Moved ... - * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: - Moved ... - * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ... - * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: - Moved ... - * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ... - * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ... - * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ... - * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: - Moved ... - * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: - Moved ... - * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: - ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ... - * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ... - * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: - Moved ... - * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: - ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: - Moved ... - * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ... - * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ... - * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ... - * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ... - * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: - Moved ... - * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: - Moved ... - * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: - Moved ... - * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: - Moved ... - * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ... - * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ... - * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: - Moved ... - * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ... - * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ... - * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ... - * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: - Moved ... - * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: - Moved ... - * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: - ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ... - * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ... - * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: - Moved ... - * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: - ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: - Moved ... - * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ... - * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ... - * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ... - * sysdeps/unix/sysv/linux/i386/smp.h: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ... - * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here. - * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ... - * sysdeps/unix/sysv/linux/i386/createthread.c: ... here. - - * sysdeps/unix/sysv/linux/powerpc/fork.h: New file. - * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed. - - * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed. - * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed. - - * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed. - * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ... - * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here. - * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ... - * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here. - * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ... - * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here. - * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ... - * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here. - * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ... - * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here. - * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ... - * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here. - * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ... - * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here. - * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ... - * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here. - * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: - Moved ... - * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here. - * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ... - * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here. - * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: - Moved ... - * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here. - * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ... - * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here. - * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ... - * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here. - * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ... - * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here. - * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: - Moved ... - * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here. - * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: - Moved ... - * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here. - * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ... - * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here. - * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ... - * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here. - * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ... - * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here. - * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ... - * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here. - * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ... - * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here. - * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ... - * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here. - * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ... - * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here. - * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ... - * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here. - - * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include. - * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed. - * sysdeps/unix/sysv/linux/x86_64/fork.h: New file. - * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed. - * sysdeps/unix/sysv/linux/i386/fork.h: New file. - - * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ... - * sysdeps/unix/sysv/linux/not-cancel.h: ... here. - * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed. - * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed. - * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed. - * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed. - * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed. - * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed. - * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed. - * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed. - - * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed. - * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise. - - * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ... - * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here. - * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ... - * sysdeps/unix/sysv/linux/x86_64/Versions: ... here. - * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ... - * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here. - * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ... - * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here - * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ... - * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here - * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ... - * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here - * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ... - * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here - * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: - Update #include. - * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: - Likewise. - * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: - Likewise. - * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: - Likewise. - * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: - Likewise. - * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: - Likewise. - * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: - Likewise. - * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: - Likewise. - * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: - Likewise. - * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: - Likewise. - * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise. - * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise. - * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise. - * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise. - * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise. - - * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code - that was previously under [RESET_PID]. - * sysdeps/unix/sysv/linux/i386/clone.S: Likewise. - * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed. - * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed. - - * sysdeps/i386/nptl/Implies: New file. - * sysdeps/x86_64/nptl/Implies: New file. - * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ... - * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here. - * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ... - * sysdeps/x86/nptl/bits/semaphore.h: ... here. - - * sysdeps/unix/sysv/linux/i386/vfork.S: Include . - (__vfork): Incorporate save/restore of PID from nptl/vfork.S here. - (__libc_vfork): New strong alias. - * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed. - * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed. - - * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include . - (__vfork): Incorporate save/restore of PID from nptl/vfork.S here. - (__libc_vfork): New strong alias. - * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed. - * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed. - - * sysdeps/unix/sysv/linux/arm/vfork.S: Include . - (__vfork): Incorporate save/restore of PID from nptl/vfork.S here. - (__libc_vfork): New strong alias. - * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed. - * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed. - * nptl/pt-vfork.c: New file. - * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork. - (libpthread: GLIBC_2.20): New version set (empty). - -2014-05-14 Will Newton - - * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef - rather than #if. - -2014-05-14 Joseph Myers - - [BZ #16564] - * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive - arguments with exponent 65 or above. - * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to - arguments 0x1p113L or above. - * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1 - to arguments 0x1p107L or above. - * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to - positive arguments with exponent 65 or above. - * math/auto-libm-test-in: Add more tests of log1p. - * math/auto-libm-test-out: Regenerated. - - [BZ #16928] - * math/s_cacos.c (__cacos): Ensure zero real part of result from - non-finite arguments is +0. - * math/s_cacosf.c (__cacosf): Likewise. - * math/s_cacosl.c (__cacosl): Likewise. - * math/libm-test.inc (cacos_test): Use ALL_RM_TEST. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - [BZ #16927] - * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1 - value. - * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise. - * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise. - * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct - for explicit high bit of mantissa when testing for argument equal - to 1. - * math/libm-test.inc (acosh_test): Use ALL_RM_TEST. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - [BZ #16516] - * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable. - (__erf): Scale by 16 instead of 8 in potentially underflowing - case. Ensure exception if result actually underflows. - * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable. - (__erff): Scale by 16 instead of 8 in potentially underflowing - case. Ensure exception if result actually underflows. - * sysdeps/ieee754/ldbl-128/s_erfl.c: Include . - (efx8): Remove variable. - (__erfl): Scale by 16 instead of 8 in potentially underflowing - case. Ensure exception if result actually underflows. - * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include . - (efx8): Remove variable. - (__erfl): Scale by 16 instead of 8 in potentially underflowing - case. Ensure exception if result actually underflows. - * sysdeps/ieee754/ldbl-96/s_erfl.c: Include . - (efx8): Remove variable. - (__erfl): Scale by 16 instead of 8 in potentially underflowing - case. Ensure exception if result actually underflows. - * math/auto-libm-test-in: Add more tests of erf. - * math/auto-libm-test-out: Regenerated. - -2014-05-14 Andreas Schwab - - * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main): - Remove code conditionalized on USE___THREAD. - - * config.h.in (HAVE_PT_CHOWN): Define as 0. - * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value, - not definedness. - -2014-05-14 Joseph Myers - - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): - Define unconditionally. - (__ASSUME_O_CLOEXEC): Likewise. - (__ASSUME_SOCK_CLOEXEC): Likewise. - (__ASSUME_IN_NONBLOCK): Likewise. - (__ASSUME_PIPE2): Likewise. - (__ASSUME_EVENTFD2): Likewise. - (__ASSUME_SIGNALFD4): Likewise. - (__ASSUME_DUP3): Likewise. - * sysdeps/unix/sysv/linux/aarch64/kernel-features.h - (__ASSUME_DUP3): Do not define. - (__ASSUME_EVENTFD2): Likewise. - (__ASSUME_IN_NONBLOCK): Likewise. - (__ASSUME_O_CLOEXEC): Likewise. - (__ASSUME_PIPE2): Likewise. - (__ASSUME_SIGNALFD4): Likewise. - (__ASSUME_SOCK_CLOEXEC): Likewise. - (__ASSUME_UTIMES): Undefine. - * sysdeps/unix/sysv/linux/alpha/kernel-features.h - (__ASSUME_UTIMES): Do not define. - (__ASSUME_O_CLOEXEC): Likewise. - (__ASSUME_SOCK_CLOEXEC): Likewise. - (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION < - 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >= - 0x020621]. - (__ASSUME_PIPE2): Likewise. - (__ASSUME_EVENTFD2): Likewise. - (__ASSUME_SIGNALFD4): Likewise. - [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine. - * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES): - Do not define. - (__ASSUME_EVENTFD2): Likewise. - (__ASSUME_SIGNALFD4): Likewise. - * sysdeps/unix/sysv/linux/hppa/kernel-features.h - (__ASSUME_32BITUIDS): Likewise. - (__ASSUME_TRUNCATE64_SYSCALL): Likewise. - (__ASSUME_IPC64): Likewise. - (__ASSUME_ST_INO_64_BIT): Likewise. - (__ASSUME_GETDENTS64_SYSCALL): Likewise. - [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine. - * sysdeps/unix/sysv/linux/ia64/kernel-features.h - (__ASSUME_UTIMES): Do not define. - (__ASSUME_PSELECT): Likewise. - (__ASSUME_PPOLL): Likewise. - (__ASSUME_O_CLOEXEC): Likewise. - (__ASSUME_SOCK_CLOEXEC): Likewise. - (__ASSUME_IN_NONBLOCK): Likewise. - (__ASSUME_PIPE2): Likewise. - (__ASSUME_EVENTFD2): Likewise. - (__ASSUME_SIGNALFD4): Likewise. - (__ASSUME_DUP3): Likewise. - * sysdeps/unix/sysv/linux/m68k/kernel-features.h - (__ASSUME_UTIMES): Likewise. - (__ASSUME_O_CLOEXEC): Likewise. - (__ASSUME_SOCK_CLOEXEC): Likewise. - (__ASSUME_IN_NONBLOCK): Likewise. - (__ASSUME_PIPE2): Likewise. - (__ASSUME_EVENTFD2): Likewise. - (__ASSUME_SIGNALFD4): Likewise. - (__ASSUME_DUP3): Likewise. - * sysdeps/unix/sysv/linux/microblaze/kernel-features.h - (__ASSUME_UTIMES): Likewise. - (__ASSUME_O_CLOEXEC): Likewise. - (__ASSUME_SOCK_CLOEXEC): Likewise. - (__ASSUME_IN_NONBLOCK): Likewise. - (__ASSUME_PIPE2): Likewise. - (__ASSUME_EVENTFD2): Likewise. - (__ASSUME_SIGNALFD4): Likewise. - (__ASSUME_DUP3): Likewise. - * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64): - Likewise. - (__ASSUME_UTIMES): Likewise. - (__ASSUME_EVENTFD2): Likewise. - (__ASSUME_SIGNALFD4): Likewise. - * sysdeps/unix/sysv/linux/tile/kernel-features.h - (__ASSUME_O_CLOEXEC): Likewise. - (__ASSUME_SOCK_CLOEXEC): Likewise. - (__ASSUME_IN_NONBLOCK): Likewise. - (__ASSUME_PIPE2): Likewise. - (__ASSUME_EVENTFD2): Likewise. - (__ASSUME_SIGNALFD4): Likewise. - (__ASSUME_DUP3): Likewise. - (__ASSUME_UTIMES): Undefine. - - * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to - feclearexcept. Remove symbol versioning code. - * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove - symbol versioning code. - * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove - symbol versioning code. - * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to - feupdateenv. Remove symbol versioning code. - * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to - fegetexceptflag. Remove symbol versioning code. - * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to - fesetexceptflag. Remove symbol versioning code. - * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0, - GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4. - * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c - (__posix_fadvise64_l32): Remove prototype. - [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional - code. - -2014-05-13 Roland McGrath - - * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ... - * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here. - * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ... - * sysdeps/arm/nptl/bits/semaphore.h: ... here. - -2014-05-13 Sami Kerola - - * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead - current working directory - -2014-05-13 Roland McGrath - - * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ... - * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here. - * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ... - * sysdeps/unix/sysv/linux/arm/createthread.c: ... here. - * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ... - * sysdeps/unix/sysv/linux/arm/fork.c: ... here. - * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ... - * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here. - * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ... - * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here. - * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ... - * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here. - * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ... - * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here. - * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ... - * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here. - * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ... - * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here. - * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ... - * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here. - * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ... - * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here. - * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ... - * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here. - * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ... - * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here. - * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ... - * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here. - * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ... - * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here. - * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ... - * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here. - * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ... - * sysdeps/unix/sysv/linux/arm/localplt.data: ... here. - * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ... - * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here. - * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ... - * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here. - * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ... - * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here. - * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ... - * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here. - - * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set. - * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed. - - * sysdeps/unix/sysv/linux/arm/Makefile - [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines): - Add rt-aeabi_unwind_cpp_pr1. - [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines): - Add nptl-aeabi_unwind_cpp_pr1. - [$(subdir) = nptl] (tests): Filter out tst-cleanupx4. - * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed. - * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ... - * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here. - * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ... - * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here. - - * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here. - * sysdeps/unix/sysv/linux/arm/configure: Regenerated. - * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed. - * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed. - - * sysdeps/unix/sysv/linux/arm/clone.S: Include . - Deconditionalize the code that was previously under [RESET_PID]. - * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed. - - * sysdeps/generic/exit-thread.h: New file. - * sysdeps/unix/sysv/linux/exit-thread.h: New file. - * include/unistd.h (__exit_thread): Remove declaration. - * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread. - * sysdeps/unix/sysv/linux/exit-thread.S: File removed. - * csu/libc-start.c: Include . - (LIBC_START_MAIN): Pass no argument to __exit_thread. - * nptl/pthread_create.c: Include . - (start_thread): Call __exit_thread in place of __exit_thread_inline. - * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed. - * nptl/sysdeps/powerpc/pthreaddef.h: Likewise. - * nptl/sysdeps/s390/pthreaddef.h: Likewise. - * nptl/sysdeps/sh/pthreaddef.h: Likewise. - * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise. - * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise. - * nptl/sysdeps/x86_64/pthreaddef.h: Likewise. - * sysdeps/aarch64/nptl/pthreaddef.h: Likewise. - * sysdeps/alpha/nptl/pthreaddef.h: Likewise. - * sysdeps/arm/nptl/pthreaddef.h: Likewise. - * sysdeps/hppa/nptl/pthreaddef.h: Likewise. - * sysdeps/ia64/nptl/pthreaddef.h: Likewise. - * sysdeps/m68k/nptl/pthreaddef.h: Likewise. - * sysdeps/microblaze/nptl/pthreaddef.h: Likewise. - * sysdeps/mips/nptl/pthreaddef.h: Likewise. - * sysdeps/tile/nptl/pthreaddef.h: Likewise. - -2014-05-13 Andreas Schwab - - * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion. - -2014-05-12 Joseph Myers - - * sysdeps/unix/sysv/linux/kernel-features.h [__s390__] - (__ASSUME_UTIMES): Do not condition on kernel version. - (__ASSUME_PSELECT): Define unconditionally. - (__ASSUME_PPOLL): Likewise. - (__ASSUME_ATFCTS): Likewise. - (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version. - (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally. - (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version. - (__ASSUME_UTIMENSAT): Define unconditionally. - (__ASSUME_PRIVATE_FUTEX): Likewise. - (__ASSUME_FALLOCATE): Likewise. - (__ASSUME_O_CLOEXEC): Likewise. - (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove. - (__ASSUME_ARG_MAX_STACK_BASED): Likewise. - (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally. - (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version. - (__ASSUME_IN_NONBLOCK): Likewise. - (__ASSUME_PIPE2): Likewise. - (__ASSUME_EVENTFD2): Likewise. - (__ASSUME_SIGNALFD4): Likewise. - (__ASSUME_DUP3): Likewise. - [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise. - (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally. - (__ASSUME_AT_RANDOM): Likewise. - (__ASSUME_PREADV): Likewise. - (__ASSUME_PWRITEV): Likewise. - (__ASSUME_REQUEUE_PI): Do not condition on kernel version. - (__ASSUME_F_GETOWN_EX): Define unconditionally. - (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise. - * sysdeps/unix/sysv/linux/sysconf.c (__sysconf) - [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code. - * sysdeps/unix/sysv/linux/alpha/kernel-features.h - (__ASSUME_O_CLOEXEC): Define unconditionally. - (__ASSUME_PSELECT): Do not undefine conditionally. - (__ASSUME_PPOLL): Likewise. - (__ASSUME_ATFCTS): Likewise. - (__ASSUME_SET_ROBUST_LIST): Likewise. - (__ASSUME_UTIMENSAT): Likewise. - (__ASSUME_FDATASYNC): Define unconditionally. - * sysdeps/unix/sysv/linux/arm/kernel-features.h - (__ASSUME_SIGFRAME_V2): Likewise. - )__ASSUME_EVENTFD2): Likewise. - (__ASSUME_SIGNALFD4): Likewise. - (__ASSUME_PSELECT): Do not undefine conditionally. - (__ASSUME_PPOLL): Likewise. - * sysdeps/unix/sysv/linux/ia64/kernel-features.h - (__ASSUME_PSELECT): Define unconditionally. - (__ASSUME_PPOLL): Likewise. - (__ASSUME_O_CLOEXEC): Likewise. - (__ASSUME_SOCK_CLOEXEC): Likewise. - (__ASSUME_IN_NONBLOCK): Likewise. - (__ASSUME_PIPE2): Likewise. - (__ASSUME_EVENTFD2): Likewise. - (__ASSUME_SIGNALFD4): Likewise. - (__ASSUME_DUP3): Likewise. - * sysdeps/unix/sysv/linux/m68k/kernel-features.h - (__ASSUME_O_CLOEXEC): Likewise. - (__ASSUME_SOCK_CLOEXEC): Likewise. - (__ASSUME_IN_NONBLOCK): Likewise. - (__ASSUME_PIPE2): Likewise. - (__ASSUME_EVENTFD2): Likewise. - (__ASSUME_SIGNALFD4): Likewise. - (__ASSUME_DUP3): Likewise. - * sysdeps/unix/sysv/linux/mips/kernel-features.h - (__ASSUME_EVENTFD2): Likewise. - (__ASSUME_SIGNALFD4): Likewise. - (__ASSUME_ACCEPT4_SYSCALL): Likewise. - -2014-05-12 Andreas Schwab - - [BZ #16932] - * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r) - (_nss_nis_gethostbyname4_r): Return error if item length is larger - than maximum RPC packet size. - * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise. - * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise. - * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r) - (_nss_nis_getservbyport_r): Likewise. - -2014-05-12 Will Newton - - * malloc/Makefile (tests): Add tst-mallopt. - * malloc/tst-mallopt.c: New file. - -2014-05-09 Roland McGrath - - * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp. - [NO_THUMB]: Cope without cbz, cnbz, and orn instructions. - -2014-05-09 Adhemerval Zanella - - * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed). - (tst-tlsmod6.so): Likewise. - -2014-05-09 Roland McGrath - - * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn. - -2014-05-09 Joseph Myers - - [BZ #16064] - * sysdeps/i386/fpu/fegetenv.c: Include , - and . - (__fegetenv): Save SSE state in envp->__eip if supported. - * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in - envp->__eip if supported. - * sysdeps/i386/fpu/fesetenv.c: Include , - and . - (__fesetenv): Always set __eip, __cs_selector, __opcode, - __data_offset and __data_selector in environment to 0. Set SSE - state if supported. - * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add - test-fenv-sse. - [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2 - -mfpmath=sse. - * sysdeps/x86/fpu/test-fenv-sse.c: New file. - -2014-05-09 Will Newton - - * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize - and libc_relro_required for ARM. - * sysdeps/arm/preconfigure: Regenerate. - -2014-05-09 Dominik Vogt - Stefan Liebler - - * config.make.in (enable-lock-elision): New Makefile variable. - * configure.ac: Likewise. - * configure: Regenerate. - * sysdeps/s390/configure.ac: - Add check for gcc transactions support. - * sysdeps/s390/configure: Regenerate. - * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file. - Build elision files if enabled. - * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file. - Add lock elision support for s390. - * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise. - * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise. - * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise. - * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise. - * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise. - * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise. - * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: - Likewise. - * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: - Likewise. - * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: - Likewise. - * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: - Likewise. - * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: - (__lll_timedlock_elision, __lll_lock_elision) - (__lll_unlock_elision, __lll_trylock_elision) - (lll_timedlock_elision, lll_lock_elision) - (lll_unlock_elision, lll_trylock_elision): Add. - * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h - (pthread_mutex_t): Add lock elision support for s390. - -2014-05-14 Wilco - - * sysdeps/arm/fclrexcpt.c: Cleanup. - * sysdeps/arm/fedisblxcpt.c: Cleanup. - * sysdeps/arm/feenablxcpt.c: Cleanup. - * sysdeps/arm/fegetenv.c: Cleanup. - * sysdeps/arm/fegetexcept.c: Cleanup. - * sysdeps/arm/fegetround.c: Cleanup. - * sysdeps/arm/feholdexcpt.c: Cleanup. - * sysdeps/arm/fesetenv.c: Cleanup. - * sysdeps/arm/fesetround.c: Cleanup. - * sysdeps/arm/feupdateenv.c: Cleanup. - * sysdeps/arm/fgetexcptflg.c: Cleanup. - * sysdeps/arm/fraiseexcpt.c: Cleanup. - * sysdeps/arm/fsetexcptflg.c: Cleanup. - * sysdeps/arm/ftestexcept.c: Cleanup. - * sysdeps/arm/get-rounding-mode.h: Cleanup. - * sysdeps/arm/setfpucw.c: Cleanup. - -2014-05-09 Will Newton - - * sysdeps/arm/armv7/strcmp.S: New file. - * NEWS: Mention addition of ARMv7 optimized strcmp. - -2014-05-08 Roland McGrath - - * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to - look for %.ac rather than %.in. - - * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable. - * sysdeps/unix/sysv/linux/configure.ac: Likewise. - * sysdeps/mach/hurd/configure: Regenerated. - * sysdeps/unix/sysv/linux/configure: Regenerated. - - * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0. - -2014-05-07 Steve Ellcey - - [BZ #16922] - * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition. - (LONG_SUB): Ditto. - (PTR_SUB): Ditto. - -2014-05-07 Andreas Schwab - - * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer - when skipping over non-matching result from nscd. - -2014-05-07 Ondƙej BĂ­lka - - [BZ #16876] - * nptl/sockperf.c (client): Check socket return value. - - [BZ #16877] - * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is - nscd security class. - -2014-05-06 Roland McGrath - - * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ... - * sysdeps/arm/unwind.h: ... here. - -2014-05-06 Aurelien Jarno - - [BZ #16916] - * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE): - Define. - -2014-05-06 Vidya Ranganathan - - * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization. - * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file: - multiarch strncpy for PPC64. - * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file - * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file - * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy - multiarch optimizations. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: - (__libc_ifunc_impl_list): Likewise. - * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization. - * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file: - multiarch stpncpy for PPC64. - * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file - * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file - -2014-05-06 Andreas Schwab - - [BZ #16912] - * gmon/mcount.c (_MCOUNT_DECL): Use - atomic_compare_and_exchange_bool_acq instead of - catomic_compare_and_exchange_bool_acq. - -2014-05-05 Roland McGrath - - * elf/Makefile (others, install-bin): Remove pldd. - (pldd-modules): Variable removed. - ($(objpfx)pldd): Target removed. - * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf] - (others, install-bin): Append pldd here. - ($(objpfx)pldd): New target. - - * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX - to 0, so the first #if test emitted later doesn't see it undefined. - (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does. - * sysdeps/gnu/errlist.c: Regenerated. - -2014-05-04 Adhemerval Zanella - - * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c - [libc_hidden_builtin_def]: Define to empty value. - * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: - [libc_hidden_builtin_def]: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: - [libc_hidden_builtin_def]: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: - [libc_hidden_builtin_def]: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to - __redirect_memcpy and define ifunc as default hidden symbol. - * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise. - -2014-05-04 Adam Conrad - - * locale/iso-4217.def: Reintroduce XDR currency. - -2014-05-04 Allan McRae - - * po/eo.po: Update Esperanto translation from translation project. - -2014-05-02 Carlos O'Donell - - * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0, - and FEATURE_INDEX_MAX to 1. - [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*. - -2014-05-01 Steve Ellcey - - * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define. - * iconvdata/armscii-8.c (ONE_DIRECTION): Define. - * iconvdata/big5.c (ONE_DIRECTION): Define. - * iconvdata/big5hkscs.c (ONE_DIRECTION): Define. - * iconvdata/cp1255.c (ONE_DIRECTION): Define. - * iconvdata/cp1258.c (ONE_DIRECTION): Define. - * iconvdata/cp932.c (ONE_DIRECTION): Define. - * iconvdata/euc-cn.c (ONE_DIRECTION): Define. - * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define. - * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define. - * iconvdata/euc-jp.c (ONE_DIRECTION): Define. - * iconvdata/euc-kr.c (ONE_DIRECTION): Define. - * iconvdata/euc-tw.c (ONE_DIRECTION): Define. - * iconvdata/gb18030.c (ONE_DIRECTION): Define. - * iconvdata/gbbig5.c (ONE_DIRECTION): Define. - * iconvdata/gbgbk.c (ONE_DIRECTION): Define. - * iconvdata/gbk.c (ONE_DIRECTION): Define. - * iconvdata/ibm1364.c (ONE_DIRECTION): Define. - * iconvdata/ibm930.c (ONE_DIRECTION): Define. - * iconvdata/ibm932.c (ONE_DIRECTION): Define. - * iconvdata/ibm933.c (ONE_DIRECTION): Define. - * iconvdata/ibm935.c (ONE_DIRECTION): Define. - * iconvdata/ibm937.c (ONE_DIRECTION): Define. - * iconvdata/ibm939.c (ONE_DIRECTION): Define. - * iconvdata/ibm943.c (ONE_DIRECTION): Define. - * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define. - * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define. - * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define. - * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define. - * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define. - * iconvdata/iso646.c (ONE_DIRECTION): Define. - * iconvdata/iso8859-1.c (ONE_DIRECTION): Define. - * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define. - * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define. - * iconvdata/iso_6937.c (ONE_DIRECTION): Define. - * iconvdata/johab.c (ONE_DIRECTION): Define. - * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define. - * iconvdata/sjis.c (ONE_DIRECTION): Define. - * iconvdata/t.61.c (ONE_DIRECTION): Define. - * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define. - * iconvdata/tscii.c (ONE_DIRECTION): Define. - * iconvdata/uhc.c (ONE_DIRECTION): Define. - * iconvdata/unicode.c (ONE_DIRECTION): Define. - * iconvdata/utf-16.c (ONE_DIRECTION): Define. - * iconvdata/utf-32.c (ONE_DIRECTION): Define. - * iconvdata/utf-7.c (ONE_DIRECTION): Define. - -2014-05-01 Roland McGrath - - * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT] - (_IO_JUMPS_OFFSET): Define to 0. - - * nptl/sysdeps/pthread/bits/libc-lock.h - [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)] - (__libc_lock_define_initialized_recursive): Always define using - initializer. Modern compilers treat uninitialized (implicit zero) and - explicit zero initializers the same (i.e. put the datum in bss). - -2014-05-01 Andreas Schwab - - * nscd/nscd-client.h: Include . - -2014-05-01 David S. Miller - - [BZ #16885] - * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when - multiple zero bytes exist at the end of a string. - Reported by Aurelien Jarno - - * string/test-strcmp.c (check): Add explicit test for situations where - there are multiple zero bytes after the first. - -2014-05-01 Andreas Schwab - - [BZ #16890] - * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide - when compiling wprintf. - * stdio-common/tstdiomisc.c (t3): New function. - (main): Call it. - -2014-05-01 Steve Ellcey - - * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define. - * iconv/gconv_simple.c (ONE_DIRECTION): Define. - * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto. - * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto. - -2014-05-01 Steve Ellcey - - * stdlib/longlong.h: Updated from GCC. - -2014-05-01 Will Newton - Bernard Ogden - - * NEWS: Update fixed bug list. - - [BZ #15119] - * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file. - -2014-04-30 David S. Miller - - * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define. - (libc_feholdexcept_setround_sparc_ctx): New function. - (libc_fesetenv_sparc_ctx): Likewise. - (libc_feupdateenv_sparc_ctx): Likewise. - (libc_feholdsetround_sparc_ctx): Likewise. - (libc_feholdexcept_setround_ctx): Define. - (libc_feholdexcept_setroundf_ctx): Likewise. - (libc_feholdexcept_setroundl_ctx): Likewise. - (libc_fesetenv_ctx): Likewise. - (libc_fesetenvf_ctx): Likewise. - (libc_fesetenvl_ctx): Likewise. - (libc_feupdateenv_ctx): Likewise. - (libc_feupdateenvf_ctx): Likewise. - (libc_feupdateenvl_ctx): Likewise. - (libc_feresetround_ctx): Likewise. - (libc_feresetroundf_ctx): Likewise. - (libc_feresetroundl_ctx): Likewise. - (libc_feholdsetround_ctx): Likewise. - (libc_feholdsetroundf_ctx): Likewise. - (libc_feholdsetroundl_ctx): Likewise. - - * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect - with __USE_GNU instead of XOPEN cpp guards. - - * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to - 0. - - * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect - with XOPEN cpp guards. - -2014-04-30 Julian Brown - - [BZ #16888] - * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE - handling. - -2014-04-30 Joseph Myers - - [BZ #9894] - * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION): - Change to 2.6.32. - (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32. - * sysdeps/unix/sysv/linux/configure: Regenerated. - * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file. - * sysdeps/unix/sysv/linux/microblaze/configure: Likewise. - * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise. - * sysdeps/unix/sysv/linux/tile/configure: Likewise. - * README: Update reference to required Linux kernel version. - * manual/install.texi (Linux): Update reference to required Linux - kernel headers version. - * INSTALL: Regenerated. - - * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow - header inclusion. - [POSIX] (limits.h): Likewise. - [POSIX] (math.h): Likewise. - [POSIX] (sys/wait.h): Likewise. - * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require - function. - [POSIX] (stddef.h): Do not allow header inclusion. - -2014-04-30 Adhemerval Zanella - - * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias. - -2014-04-30 Yang Yingliang - - * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): - Return immediately after lll_futex_wake. - -2014-04-30 Siddhesh Poyarekar - - [BZ #16791] - * nscd/nscd-client.h (datahead_init_common): Initialize entire - structure. - (datahead_init_pos): Call datahead_init_common early. - (datahead_init_neg): Likewise. - - * nscd/nscd-client.h (datahead_init_common, datahead_init_pos, - datahead_init_neg): New functions. - * nscd/aicache.c (addhstaiX): Use them. - * nscd/grpcache.c (cache_addgr): Likewise. - * nscd/hstcache.c (cache_addhst): Likewise. - * nscd/initgrcache.c (addinitgroupsX): Likewise. - * nscd/netgroupcache.c (do_notfound): Likewise. - (addgetnetgrentX): Likewise. - (addinnetgrX): Likewise. - * nscd/pwdcache.c (cache_addpw): Likewise. - * nscd/servicescache.c (cache_addserv): Likewise. - -2014-04-30 Siddhesh Poyarekar - Atsushi Onoe - - [BZ #14308] - [BZ #12994] - [BZ #13651] - * resolv/res_query.c (__libc_res_nsearch): Return if at least - one response is valid. - * resolv/res_send.c (send_dg): Check for validity of other - response if the current response is a referral. - -2014-04-29 Steve Ellcey - - * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set. - -2014-04-29 Stefan Liebler - - [BZ #16823] - * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): - Always divide by positive zero when computing -Inf result. - * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise. - * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise. - -2014-04-28 Adhemerval Zanella - - * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update - FPSCR if value do not change. - * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise. - * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise. - * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise. - * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise. - * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise. - * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper - function. - -2014-05-29 Carlos O'Donell - - * sysdeps/hppa: Move directory from ports/sysdeps/hppa. - * sysdeps/unix/sysv/linux/hppa: Move directory from - ports/systeps/unix/sysv/linux/hppa. - * README: Update listing for hppa-*-linux-gnu. - -2014-04-28 Ondƙej BĂ­lka - - [BZ #16754] - * manual/stdio.texi (Hook functions): Fix types of stream hook - functions. - [BZ #16854] - * socket/sys/socket.h: Fix typo in comment. - -2014-04-28 Wilco - - * sysdeps/arm/fenv_private.h: New file. - * sysdeps/arm/math_private.h: New file. - * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT. - -2014-04-25 H.J. Lu - - * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128 - with __int128_t. - (La_x86_64_retval): Likewise. - -2014-04-24 Ian Bolton - - * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to - fpsr if value didn't change. - * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write - to fpcr if value didn't change. - * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise. - * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to - fpsr or fpcr if value didn't change. - * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise. - * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to - fpcr if value didn't change. - * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write - to fpsr if value didn't change. - -2014-02-23 Siddhesh Poyarekar - - * nptl/tst-sem3.c: Use test-skeleton.c - (main): Rename to do_test. Use return instead of - exit. - * nptl/tst-sem4.c: Use test-skeleton.c - (main): Rename to do_test. - -2014-04-22 David S. Miller - - * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h - (struct sigaction): New struct member __glibc_reserved0, change - type of sa_flags to int. - -2014-04-22 Yufeng Zhang - - * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros) - (COUNT_LEADING_ZEROS_0): Define for AArch64. - -2014-04-22 Siddhesh Poyarekar - - * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h. - * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise. - -2014-04-22 Will Newton - Venkataramanan Kumar - - * sysdeps/aarch64/__longjmp.S: Include stap-probe.h. - (__longjmp): Add longjmp and longjmp_target SystemTap - probes. - * sysdeps/aarch64/setjmp.S: Include stap-probe.h. - (__sigsetjmp): Add setjmp SystemTap probe. - -2014-04-17 Carlos O'Donell - - * manual/intro.texi (Roadmap to the manual): Sort chapter listing to - match manual order. - -2014-04-17 Adhemerval Zanella - - * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file. - - * sysdeps/powerpc/fpu/fenv_private.h - (libc_feholdexcept_setroundl_ctx): Define to - libc_feholdexcept_setround_ppc_ctx. - (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx. - (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx. - (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx. - (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx. - -2014-04-17 Ian Bolton - - * sysdeps/aarch64/math-tests.h: New file. - -2014-04-17 Sihai Yao - - * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7): - New. - * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): - Check and set bit_AVX2_Usable. - * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New - macro. - (bit_AVX2): Likewise. - (index_AVX2_Usable): Likewise. - (CPUID_AVX2): Likewise. - (HAS_AVX2): Likewise. - -2014-04-17 Will Newton - - * manual/setjmp.texi (System V contexts): Add note that - calling setcontext on a context created by a call to a - signal handler is undefined. Update text to note that - setcontext from a signal handler is possible but not - recommended. - - [BZ #16629] - * stdlib/tst-setcontext.c: Include signal.h. - (main): Check that the signal stack before and - after swapcontext is the same. - - * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): - Re-implement to restore registers in user code and avoid - rt_sigreturn system call. - -2014-04-17 Wilco - - * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings. - * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED). - * math/test-fenv.c: Skip exception trap tests on targets which only - support non-stop mode. - -2014-04-17 Ian Bolton - Wilco Dijkstra - - * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX) - (libc_feholdsetround_aarch64_ctx) - (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx) - (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx) - (libc_feresetround_ctx, libc_feresetroundf_ctx) - (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx) - (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx) - (libc_feresetround_noexl_ctx): Define. - -2014-04-16 Richard Henderson - - * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove. - - * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable - unwind tables. - - * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove - const from the non-libc, non-ldso copy. - - * sysdeps/alpha/libm-test-ulps: Regenerate. - -2014-04-16 Ian Bolton - Wilco Dijkstra - - * sysdeps/aarch64/fpu/math_private.h: New file. - -2014-04-16 Marcus Shawcroft - - * sysdeps/aarch64/libm-test-ulps: Regenerate. - -2014-04-16 Igor Zamyatin - - [BZ #16275] - * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd. - (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1. - * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save - Intel MPX bound registers before _dl_profile_fixup. - * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound - registers after _dl_profile_fixup. Save and restore bound - registers bnd0/bnd1 when calling _dl_call_pltexit. - * sysdeps/x86_64/link-defines.sym (BND_SIZE): New. - (LR_BND_OFFSET): Likewise. - (LRV_BND0_OFFSET): Likewise. - (LRV_BND1_OFFSET): Likewise. - -2014-04-16 Samuel Thibault - - * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations - to... - * sysdeps/mach/hurd/i386/tls.h: ... here. - (tcbhead_t): Add multiple_threads, sysinfo, stack_guard, - pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss - fields. - -2014-04-16 Samuel Thibault - - * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0. - -2014-04-16 Stefan Liebler - - * sysdeps/s390/fpu/libm-test-ulps: Regenerate. - -2014-04-16 Stefan Liebler - - [BZ #14770] - * sysdeps/s390/configure.ac: Check for Binutils >= 2.24. - * sysdeps/s390/configure: Regenerate. - - [BZ #16824] - * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): - Set round-to-nearest internally to reduce error accumulation. - -2014-04-16 Alan Modra - - [BZ #16740] - [BZ #16619] - * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite. - * math/libm-test.inc (frexp_test_data): Add tests. - * NEWS: Update fixed bug list. - -2014-04-15 Siddhesh Poyarekar - - * benchtests/Makefile: Depend on libraries in build directory. - (bench-math): Separate out math tests. - (bench-pthread): Separate out pthread tests. - (bench): Include math and pthread tests. - -2014-04-14 Carlos O'Donell - - [BZ #16831] - * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call - _dl_debug_initialize. - - * configure.ac: Remove SELinux header check. - * configure: Regenerate. - * nscd/selinux.c (perms): Array of const char* to permission names. - (nscd_request_avc_has_perm): Call security_deny_unknown to find - default policy. Call string_to_security_class and string_to_av_perm to - translate strings. Enforce default policy and call avs_has_perm with - results of translated strings. - -2014-04-13 David S. Miller - - * sysdeps/sparc/fpu/libm-test-ulps: Update. - -2014-04-12 Allan McRae - - [BZ #16838] - * manual/string.texi (Collation Functions): Fix qsort argument - order in example. - Reported by David C. Rankin . - -2014-04-11 Chris Metcalf - - * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test): - Make the test a no-op if there are no exceptions defined. - -2014-04-11 Paul Pluzhnikov - - * elf/Makefile (tests): make tst-dlopen-aout conditional on - enable-hardcoded-path-in-tests - -2014-04-11 Will Newton - - * benchtests/Makefile (extra-objs): Add json-lib.o. - (bench-func): Tidy up JSON output. - * benchtests/bench-skeleton.c: Include json-lib.h. - (main): Use JSON library functions to do output of - benchmark results. - * benchtests/bench-timing-type.c (main): Output the - timing type simply, leaving formatting to the user. - * benchtests/json-lib.c: New file. - * benchtests/json-lib.h: Likewise. - -2014-04-11 Torvald Riegel - - [BZ #15215] - * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ... - * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing - memory barriers. Add comments. - * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file. - * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file. - * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file. - * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file. - * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file. - * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file. - -2014-04-11 Stefan Liebler - - * sysdeps/s390/s390-32/configure.ac: Unify file with ... - * sysdeps/s390/s390-64/configure.ac: ... this ... - * sysdeps/s390/configure.ac: ... to here. - * sysdeps/s390/s390-32/configure: Delete file. - * sysdeps/s390/s390-64/configure: Delete file. - * sysdeps/s390/configure: Regenerate. - -2014-04-11 Joseph Anthony Pasquale Holsten - - * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment. - -2014-04-11 Will Newton - - * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG - to zero if it is not defined elsewhere. (mtrim): Test - the value of MALLOC_DEBUG with #if rather than #ifdef. - -2014-04-10 Torvald Riegel - - * benchtests/pthread_once-inputs: New file. - * benchtests/pthread_once-source.c: New file. - * benchtests/README: Update documentation. - -2014-04-09 Igor Zamyatin - H.J. Lu - - [BZ #16275] - * config.h.in (HAVE_MPX_SUPPORT): New #undef. - * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT. - * sysdeps/x86_64/configure: Regenerated. - * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New - macro. - (REGISTER_SAVE_RAX): Likewise. - (REGISTER_SAVE_RCX): Likewise. - (REGISTER_SAVE_RDX): Likewise. - (REGISTER_SAVE_RSI): Likewise. - (REGISTER_SAVE_RDI): Likewise. - (REGISTER_SAVE_R8): Likewise. - (REGISTER_SAVE_R9): Likewise. - (REGISTER_SAVE_BND0): Likewise. - (REGISTER_SAVE_BND1): Likewise. - (REGISTER_SAVE_BND2): Likewise. - (_dl_runtime_resolve): Use them. Save and restore Intel MPX - bound registers when calling _dl_fixup. - -2014-04-09 Adhemerval Zanella - - * bits/string.h (_STRING_ARCH_unaligned): Define it to 0. - * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead - of its definition. - * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise. - * iconv/loop.c (_STRING_ARCH_unaligned): Likewise. - * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise. - * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise. - * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise. - * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise. - * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise. - -2014-04-09 Peter Brett - - [BZ #15514] - * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for - pathconf(_PC_NAME_MAX). - -2014-04-09 Adhemerval Zanella - - * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION): - Remove macro usage. - (__PTHREAD_SPINS): Move definition to ... - * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h - (__PTHREAD_SPINS): ... here. - * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h - (__PTHREAD_SPIN): Likewise. - * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h - (__PTHREAD_SPIN): Likewise. - * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h - (__PTHREAD_SPIN): Likewise. - * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h - (__PTHREAD_SPIN): Likewise. - * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h - (__PTHREAD_SPIN): Likewise. - * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h - (__PTHREAD_SPIN): Likewise. - * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h - (__PTHREAD_SPIN): Likewise. - * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h - (__PTHREAD_SPIN): Likewise. - * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h - (__PTHREAD_SPIN): Likewise. - * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h - (__PTHREAD_SPIN): Likewise. - * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h - (__PTHREAD_SPIN): Likewise. - * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h - (__PTHREAD_SPIN): Likewise. - - * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file. - * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file. - * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file. - * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch - imply folder. - * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise. - * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise. - * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise. - * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust - correct imply path. - * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct - strlen symbol for non multi-arch builds. - * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add - missing hidden_def and weak_alias. - -2014-04-08 Carlos O'Donell - - * manual/ipc.texi (sem_close): AC-unsafe because of aculock. - -2014-04-07 Will Newton - - * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and - and contents. [!_LIBC] Remove #ifndef and contents. - (basename): Use ANSI prototype. [_LIBC] Remove #idef. - * string/memccpy.c (__memccpy): Use ANSI prototype. - * string/memfrob.c (memfrob): Likewise. - * string/strcoll.c (STRCOLL): Likewise. - * string/strlen.c (strlen): Likewise. - * string/strtok.c (STRTOK): Likewise. - * string/strcat.c: Remove unused #include of memcopy.h. - (strcat): Use ANSI prototype. - * string/strchr.c: Remove unused #include of memcopy.h. - (strchr): Use ANSI prototype. - * string/strcmp.c: Remove unused #include of memcopy.h. - (strcmp): Use ANSI prototype. - * string/strcpy.c: Remove unused #include of memcopy.h. - (strcpy): Use ANSI prototype. - -2014-04-06 Adhemerval Zanella - - * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list. - * config.make.in (config-extra-cppflags): Set it from - libc_extra_cppflags. - * configure.ac (libc_extra_cflags): Make it accumulate over - configure fragments. - (libc_extra_cppflags): New flag. - * configure. Regenerate. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac - (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does - not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate. - - [BZ #16815] - * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix - result for FE_DOWNWARD rounding mode. - * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf): - Likewise. - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - -2014-04-04 Chris Metcalf - - * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug - in function argument name. - -2014-04-03 David Svoboda - - [BZ #5666] - * manual/stdio.texi (Line-Oriented Input): Document buffer allocation - explicitly. - -2014-04-03 Roland McGrath - - * elf/dl-unmap-segments.h: New file. - * sysdeps/generic/ldsodefs.h - (DL_UNMAP): Use _dl_unmap_segments in place of __munmap. - * elf/dl-close.c: Include . - * elf/dl-fptr.c: Likewise. - (_dl_unmap): Use _dl_unmap_segments in place of __munmap. - * sysdeps/aarch64/tlsdesc.c: Likewise. - * sysdeps/arm/tlsdesc.c: Likewise. - * sysdeps/i386/tlsdesc.c: Likewise. - * sysdeps/tile/dl-runtime.c: Likewise. - * sysdeps/x86_64/tlsdesc.c: Likewise. - * elf/dl-load.h: New file. - * elf/dl-load.c: Include it. - (MAP_FILE, MAP_COPY, MAP_BASE_ADDR): - Macros moved to dl-load.h. - (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise. - (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h. - Use _dl_unmap_segments in place of __munmap. - Break out segment-mapping loop into ... - * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file. - -2014-04-03 Will Newton - - * elf/dl-lookup.c (do_lookup_x): Remove comment - referring to nested function and move variable - declarations down to before first use. - -2014-04-02 Joseph Myers - - [BZ #16799] - [BZ #16800] - * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2 - with 0 numerator. - * math/s_catanf.c (__catanf): Likewise. - * math/s_catanh.c (__catanh): Likewise. - * math/s_catanhf.c (__catanhf): Likewise. - * math/s_catanhl.c (__catanhl): Likewise. - * math/s_catanl.c (__catanl): Likewise. - * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide - by positive zero when computing -Inf result. - * math/libm-test.inc (catan_test): Use ALL_RM_TEST. - (catanh_test): Likewise. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - [BZ #16789] - * math/s_clog.c (__clog): Use math_force_eval to ensure underflow - instead of using underflowing value in computing result. - * math/s_clog10.c (__clog10): Likewise. - * math/s_clog10f.c (__clog10f): Likewise. - * math/s_clog10l.c (__clog10l): Likewise. - * math/s_clogf.c (__clogf): Likewise. - * math/s_clogl.c (__clogl): Likewise. - * math/libm-test.inc (clog_test): Use ALL_RM_TEST. - (clog10_test): Likewise. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2014-04-02 Alan Modra - - [BZ #16739] - * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct - output when value is near a power of two. Use int64_t for lx and - remove casts. Use decimal rather than hex exponent constants. - Don't use long double multiplication when double will suffice. - * math/libm-test.inc (nextafter_test_data): Add tests. - * NEWS: Add 16739 and 16786 to bug list. - - * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint. - - * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference. - -2014-04-01 Will Newton - - * benchtests/Makefile (CFLAGS-bench-ffs.c): Add - -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise. - -2014-04-01 Florian Weimer - - [BZ #13347] - * nptl/nptl-init.c (sighandler_setxid): Check system call result. - * nptl/tst-setuid2.c: New file. - * nptl/Makefile (xtests): Add tst-setuid2. - -2014-04-01 Alan Modra - - [BZ #16786] - * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack. - -2014-03-31 Joseph Myers - - [BZ #6803] - [BZ #6804] - * math/w_scalb.c (__scalb): For non-SVID mode, check result and - set errno as appropriate. - * math/w_scalbf.c (__scalbf): Likewise. - * math/w_scalbl.c (__scalbl): Likewise. - * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW, - ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW. - * math/libm-test.inc (scalb_test_data): Add errno expectations. - Add more NaN tests. - - [BZ #16349] - * math/w_atan2.c: Include . - (__atan2): Set errno for result underflowing to zero. - * math/w_atan2f.c: Include . - (__atan2f): Set errno for result underflowing to zero. - * math/w_atan2l.c: Include . - (__atan2l): Set errno for result underflowing to zero. - * math/auto-libm-test-in: Don't allow missing errno for some atan2 - tests. - * math/auto-libm-test-out: Regenerated. - -2014-03-31 Adhemerval Zanella - - * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1): - Encode instruction correctly in little endian. - * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1): - Likewise. - * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1): - Likewise. - * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1): - Likewise. - * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1): - Likewise. - -2014-03-31 Joseph Myers - - [BZ #9894] - * sysdeps/unix/sysv/linux/kernel-features.h - [__sparc__ && !__arch64__ && !__sparc_v9__] - (__ASSUME_SET_ROBUST_LIST): Do not define. - [__sparc__ && !__arch64__ && !__sparc_v9__] - (__ASSUME_FUTEX_LOCK_PI): Likewise. - [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI): - Likewise. - * sysdeps/unix/sysv/linux/arm/kernel-features.h - (__ASSUME_FUTEX_LOCK_PI): Undefine. - (__ASSUME_REQUEUE_PI): Likewise. - (__ASSUME_SET_ROBUST_LIST): Likewise. - * sysdeps/unix/sysv/linux/m68k/kernel-features.h - [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI): - Undefine. - * sysdeps/unix/sysv/linux/microblaze/kernel-features.h - [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI): - Likewise. - [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI): - Likewise. - [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST): - Likewise. - * sysdeps/unix/sysv/linux/mips/kernel-features.h - [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI): - Undefine. - [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise. - [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST): - Likewise. - - [BZ #16648] - * sysdeps/unix/sysv/linux/microblaze/kernel-features.h - [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define. - * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file. - -2014-03-31 Will Newton - - * benchtests/Makefile (bench): Add ffs and ffsll to list - of tests. - * benchtests/ffs-inputs: New file. - * benchtests/ffsll-inputs: Likewise. - -2014-03-29 Joseph Myers - - [BZ #16770] - * math/e_scalb.c (__ieee754_scalb): Check second argument is not - too large before casting to int. - * math/e_scalbf.c (__ieee754_scalbf): Likewise. - * math/e_scalbl.c (__ieee754_scalbl): Likewise. - * math/libm-test.inc (scalb_test_data): Add more tests. - -2014-03-29 Siddhesh Poyarekar - - * benchtests/Makefile (DETAILED_OPT): New make option. - (bench-func): Run benchmark program with -d if DETAILED_OPT is - set. - * benchtests/bench-skeleton.c: Include stdbool.h. - (main): Store and print timings per input. - * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing - member to each argument value. - (EPILOGUE): Define new macros RESULT and RESULT_ACCUM. - (_print_arg_data): Initialize per-input timing to 0. - - * benchtests/Makefile (timing-type): New binary. - (bench-clean): Also remove bench-timing-type. - (bench): New target for timing-type. - (bench-func): Print output in JSON format. - * benchtests/bench-skeleton.c (main): Print output in JSON - format. - * benchtests/bench-timing-type.c: New file. - * benchtests/bench-timing.h (TIMING_TYPE): New macro. - (TIMING_PRINT_STATS): Remove. - * benchtests/scripts/bench.py (_print_arg_data): Store variant - name separately. - - * benchtests/bench-modf.c: Remove. - * benchtests/modf-inputs: New inputs file. - -2014-03-28 Joseph Myers - - [BZ #16362] - * math/s_clog10.c (M_PI_LOG10E): New macro. - (__clog10): Use M_PI_LOG10E instead of M_PI when real and - imaginary parts are 0. - * math/s_clog10f.c (M_PI_LOG10Ef): New macro. - (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and - imaginary parts are 0. - * math/s_clog10l.c (M_PI_LOG10El): New macro. - (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and - imaginary parts are 0. - * math/libm-test.inc (clog10_test_data): Update expected results - for when real and imaginary parts are 0. - -2014-03-27 Paul Pluzhnikov - - * elf/dl-load.c: Finish conversion of __builtin_expect into - __glibc_{un}likely. - -2014-03-27 Joseph Myers - - [BZ #16348] - * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use - 1+x for argument with exponent below -67. - * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: - Likewise. - * math/auto-libm-test-in: Add more tests of exp. - * math/auto-libm-test-out: Regenerated. - -2014-03-27 Siddhesh Poyarekar - - [BZ #16759] - * inet/getnetgrent_r.c (get_nonempty_val): New function. - (nscd_getnetgrent): Use it. - - [BZ #16760] - * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead - of stpcpy. - -2014-03-27 Andi Kleen - - * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock) - (lll_robust_lock, lll_cond_lock, lll_timedlock) - (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock) - (lll_robust_unlock): Remove out of line section. Use cfi - intrinsics. - (LLL_STUB_UNWIND_INFO*): Remove. - * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock) - (lll_robust_lock, lll_cond_lock, lll_timedlock) - (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock) - (lll_robust_unlock): Remove out of line section. Use cfi - intrinsics. - (LLL_STUB_UNWIND_INFO*): Remove. - -2014-03-27 Siddhesh Poyarekar - - [BZ #16758] - * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has - blank values. - -2014-03-26 Paul Pluzhnikov - - * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely. - -2014-03-26 Joseph Myers - - [BZ #16198] - * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after - fnstenv. - * math/test-fenv-preserve.c: New file. - * math/Makefile (tests): Add test-fenv-preserve. - -2014-03-26 Will Newton - - * benchtests/bench-strtod.c (TIMEOUT): Define to 10. - -2014-03-25 Roland McGrath - - * scripts/versionlist.awk: Partition the version sets and emit all - GLIBC_* (sorted) before all others (sorted). - -2014-03-25 Joseph Myers - - * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty - GLIBC_2.2.5 version. - -2014-03-25 Adhemerval Zanella - - * scripts/localplt.awk: Check for PLT generated by internal IFUNC - calls. - - * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert - previous change. - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - -2014-03-25 Andreas Schwab - - * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2 - label to be used after in6ailist is initialized. - -2014-03-25 Adhemerval Zanella - - * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h - (__PTHREAD_MUTEX_HAVE_ELISION): New define. - -2014-03-25 Joseph Myers - - [BZ #16357] - [BZ #16599] - * math/gen-auto-libm-tests.c (fp_format_desc): Add field - min_plus_half. - (fp_formats): Update initializers. - (init_fp_formats): Initialize new field. - (output_for_one_input_case): Allow underflow for results up to - min_plus_half. - * math/libm-test.inc (log1p_test): Use ALL_RM_TEST. - * math/auto-libm-test-in: Don't mark some underflows from asin and - atanh as spurious. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2014-03-25 Andreas Schwab - - * libio/Makefile (tst-ftell-partial-wide-ENV) - (tst-ftell-active-handler-ENV): Define. - -2014-03-25 Stefan Liebler - - * NEWS: Add 16712, 16713, 16714 to fixed bug list. - -2014-03-24 Paul Pluzhnikov - - * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c - -2014-03-24 Joseph Myers - - * sysdeps/ieee754/dbl-64/e_exp.c: Include . - * sysdeps/x86_64/fpu/multiarch/e_exp.c - [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise. - -2014-03-24 Paul Pluzhnikov - - [BZ #16634] - * elf/dl-load.c (open_verify): Add mode parameter. - Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC. - (open_path): Change from boolean 'secure' to complete flag 'mode' - (_dl_map_object): Adjust. - * elf/Makefile (tests): Add tst-dlopen-aout. - * elf/tst-dlopen-aout.c: New test. - -2014-03-24 Stefan Liebler - - [BZ #16714] - * sysdeps/unix/sysv/linux/s390/bits/stat.h - (struct stat): Rename member pad0 to __glibc_reserved0. - - [BZ #16712] - * sysdeps/s390/s390-32/bits/wordsize.h - (__WORDSIZE32_SIZE_ULONG): New define. - * sysdeps/s390/s390-64/bits/wordsize.h - (__WORDSIZE32_SIZE_ULONG): Likewise. - * sysdeps/generic/stdint.h (SIZE_MAX): - Define as UL if __WORDSIZE32_SIZE_ULONG. - - [BZ #16713] - * sysdeps/unix/sysv/linux/s390/bits/sigaction.h - (__glibc_reserved0): New variable. - (sa_flags): Change type to int. - - * posix/Makefile (before-compile): Use += before-compile instead - of a :=. - - * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h - (__PTHREAD_MUTEX_HAVE_ELISION): New define. - -2014-03-20 Andreas Schwab - - [BZ #16743] - * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over - non-matching result from nscd. - -2014-03-24 Siddhesh Poyarekar - - * scripts/bench.py: Moved to ... - * benchtests/scripts/bench.py: ... here. - * benchtests/Makefile ($(objpfx)bench-%.c): Adjust. - -2014-03-24 Andreas Schwab - - [BZ #16002] - * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use - alloca_account and account alloca use for struct in6ailist. - -2014-03-24 Joseph Myers - - [BZ #16284] - * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original - rounding mode to recompute results that overflow to infinity or - underflow to zero. - * math/auto-libm-test-in: Don't mark tests as expected to fail for - bug 16284. - * math/auto-libm-test-out: Regenerated. - * math/libm-test.inc (ccos_test): Use ALL_RM_TEST. - (ccosh_test): Likewise. - (csin_test_data): Use plus_oflow. - (csin_test): Use ALL_RM_TEST. - (csinh_test_data): Use plus_oflow. - (csinh_test): Use ALL_RM_TEST. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2014-03-21 Joseph Myers - - * sysdeps/mips/bits/wordsize.h: Include . - * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise. - - [BZ #16731] - * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value - when x - 1 is zero. - * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise. - * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise. - * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise. - * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when - argument is 1. - * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise. - * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is - zero. - * math/libm-test.inc (log_test): Use ALL_RM_TEST. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2014-03-21 Siddhesh Poyarekar - - * scripts/bench.pl: Remove file. - * scripts/bench.py: New benchmark script. - * benchtests/Makefile ($(objpfx)bench-%.c): Use it. - * benchtests/README: Mention python dependency. - * scripts/pylintrc: New file. - * scripts/pylint: New file. - - * bits/mathdef.h: Use #ifdef instead of #if. - * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined - _MATH_H && !defined _MATH_H_MATHDEF]: Likewise. - * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined - _MATH_H && !defined _MATH_H_MATHDEF]: Likewise. - * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined - _MATH_H && !defined _MATH_H_MATHDEF]: Likewise. - -2014-03-20 Adhemerval Zanella - Vidya Ranganathan - - * string/strpbrk.c (strpbrk): Using macro to redefine symbol name. - * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7 - and strpbrk-ppc64 objects. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Add new strpbrk optimized symbols. - * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file: - multiarch strpbrk for POWER7. - * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file: - multiarch strpbrk for PPC64. - * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk - ifunc selector. - * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited - strpbrk for POWER7. - -2014-03-20 Joseph Myers - - * math/libm-test.inc (asinh_test): Use ALL_RM_TEST. - (atan_test): Likewise. - (atanh_test_data): Use NO_TEST_INLINE for two tests. - (atanh_test): Use ALL_RM_TEST. - (atan2_test_data): Likewise. - (cabs_test): Likewise. - (cacosh_test): Likewise. - (carg_test): Likewise. - (casin_test): Likewise. - (casinh_test): Likewise. - (cbrt_test): Likewise. - (csqrt_test): Likewise. - (erf_test): Likewise. - (erfc_test): Likewise. - (pow10_test): Likewise. - (exp2_test): Likewise. - (hypot_test): Likewise. - (j0_test): Likewise. - (j1_test): Likewise. - (lgamma_test): Likewise. - (gamma_test): Likewise. - (sincos_test): Likewise. - (tanh_test): Likewise. - (y0_test): Likewise. - (y1_test): Likewise. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2014-03-20 Adhemerval Zanella - - * string/strcspn.c (strcspn): Using macro to redefine symbol name. - * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7 - and strcspn-ppc64 objects. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Add new strcspn optimized symbols. - * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file: - multiarch strcspn for POWER7. - * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file: - multiarch strcspn for PPC64. - * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn - ifunc selector. - * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited - strcspn for POWER7. - -2014-03-20 Joseph Myers - - * math/gen-libm-test.pl (generate_testfile): Expect only function - name as argument to AUTO_TESTS_* and pass results for all rounding - modes to parse_args. - (parse_auto_input): Separate inputs of automatic tests from - outputs before storing in %auto_tests. - * math/libm-test.inc (acos_test_data): Update call to - AUTO_TESTS_f_f. - (acos_test): Use ALL_RM_TEST. - (acos_tonearest_test_data): Remove. - (acos_test_tonearest): Likewise. - (acos_towardzero_test_data): Likewise. - (acos_test_towardzero): Likewise. - (acos_downward_test_data): Likewise. - (acos_test_downward): Likewise. - (acos_upward_test_data): Likewise. - (acos_test_upward): Likewise. - (acosh_test_data): Update call to AUTO_TESTS_f_f. - (asin_test_data): Likewise. - (asin_test): Use ALL_RM_TEST. - (asin_tonearest_test_data): Remove. - (asin_test_tonearest): Likewise. - (asin_towardzero_test_data): Likewise. - (asin_test_towardzero): Likewise. - (asin_downward_test_data): Likewise. - (asin_test_downward): Likewise. - (asin_upward_test_data): Likewise. - (asin_test_upward): Likewise. - (asinh_test_data): Update call to AUTO_TESTS_f_f. - (atan_test_data): Likewise. - (atanh_test_data): Likewise. - (atan2_test_data): Update call to AUTO_TESTS_ff_f. - (cabs_test_data): Update call to AUTO_TESTS_c_f. - (carg_test_data): Likewise. - (cbrt_test_data): Update call to AUTO_TESTS_f_f. - (ccos_test_data): Update call to AUTO_TESTS_c_c. - (ccosh_test_data): Likewise. - (cexp_test_data): Likewise. - (clog_test_data): Likewise. - (clog10_test_data): Likewise. - (cos_test_data): Update call to AUTO_TESTS_f_f. - (cos_test): Use ALL_RM_TEST. - (cos_tonearest_test_data): Remove. - (cos_test_tonearest): Likewise. - (cos_towardzero_test_data): Likewise. - (cos_test_towardzero): Likewise. - (cos_downward_test_data): Likewise. - (cos_test_downward): Likewise. - (cos_upward_test_data): Likewise. - (cos_test_upward): Likewise. - (cosh_test_data): Update call to AUTO_TESTS_f_f. - (cosh_test): Use ALL_RM_TEST. - (cosh_tonearest_test_data): Remove. - (cosh_test_tonearest): Likewise. - (cosh_towardzero_test_data): Likewise. - (cosh_test_towardzero): Likewise. - (cosh_downward_test_data): Likewise. - (cosh_test_downward): Likewise. - (cosh_upward_test_data): Likewise. - (cosh_test_upward): Likewise. - (cpow_test_data): Update call to AUTO_TESTS_cc_c. - (csqrt_test_data): Update call to AUTO_TESTS_c_c. - (ctan_test_data): Likewise. - (ctan_test): Use ALL_RM_TEST. - (ctan_tonearest_test_data): Remove. - (ctan_test_tonearest): Likewise. - (ctan_towardzero_test_data): Likewise. - (ctan_test_towardzero): Likewise. - (ctan_downward_test_data): Likewise. - (ctan_test_downward): Likewise. - (ctan_upward_test_data): Likewise. - (ctan_test_upward): Likewise. - (ctanh_test_data): Update call to AUTO_TESTS_c_c. - (ctanh_test): Use ALL_RM_TEST. - (ctanh_tonearest_test_data): Remove. - (ctanh_test_tonearest): Likewise. - (ctanh_towardzero_test_data): Likewise. - (ctanh_test_towardzero): Likewise. - (ctanh_downward_test_data): Likewise. - (ctanh_test_downward): Likewise. - (ctanh_upward_test_data): Likewise. - (ctanh_test_upward): Likewise. - (erf_test_data): Update call to AUTO_TESTS_f_f. - (erfc_test_data): Likewise. - (exp_test_data): Likewise. - (exp_test): Use ALL_RM_TEST. - (exp_tonearest_test_data): Remove. - (exp_test_tonearest): Likewise. - (exp_towardzero_test_data): Likewise. - (exp_test_towardzero): Likewise. - (exp_downward_test_data): Likewise. - (exp_test_downward): Likewise. - (exp_upward_test_data): Likewise. - (exp_test_upward): Likewise. - (exp10_test_data): Update call to AUTO_TESTS_f_f. - (exp10_test): Use ALL_RM_TEST. - (exp10_tonearest_test_data): Remove. - (exp10_test_tonearest): Likewise. - (exp10_towardzero_test_data): Likewise. - (exp10_test_towardzero): Likewise. - (exp10_downward_test_data): Likewise. - (exp10_test_downward): Likewise. - (exp10_upward_test_data): Likewise. - (exp10_test_upward): Likewise. - (exp2_test_data): Update call to AUTO_TESTS_f_f. - (expm1_test_data): Likewise. - (expm1_test): Use ALL_RM_TEST. - (expm1_tonearest_test_data): Remove. - (expm1_test_tonearest): Likewise. - (expm1_towardzero_test_data): Likewise. - (expm1_test_towardzero): Likewise. - (expm1_downward_test_data): Likewise. - (expm1_test_downward): Likewise. - (expm1_upward_test_data): Likewise. - (expm1_test_upward): Likewise. - (fma_test_data): Update call to AUTO_TESTS_fff_f. - (fma_test): Use ALL_RM_TEST. - (fma_towardzero_test_data): Remove. - (fma_test_towardzero): Likewise. - (fma_downward_test_data): Likewise. - (fma_test_downward): Likewise. - (fma_upward_test_data): Likewise. - (fma_test_upward): Likewise. - (hypot_test_data): Update call to AUTO_TESTS_ff_f. - (j0_test_data): Update call to AUTO_TESTS_f_f. - (j1_test_data): Likewise. - (jn_test_data): Update call to AUTO_TESTS_if_f. - (lgamma_test_data): Update call to AUTO_TESTS_f_f1. - (log_test_data): Update call to AUTO_TESTS_f_f. - (log10_test_data): Likewise. - (log1p_test_data): Likewise. - (log2_test_data): Likewise. - (pow_test_data): Update call to AUTO_TESTS_ff_f. - (pow_tonearest_test_data): Likewise. - (sin_test_data): Update call to AUTO_TESTS_f_f. - (sin_test): Use ALL_RM_TEST. - (sin_tonearest_test_data): Remove. - (sin_test_tonearest): Likewise. - (sin_towardzero_test_data): Likewise. - (sin_test_towardzero): Likewise. - (sin_downward_test_data): Likewise. - (sin_test_downward): Likewise. - (sin_upward_test_data): Likewise. - (sin_test_upward): Likewise. - (sincos_test_data): Update call to AUTO_TESTS_fFF_11. - (sinh_test_data): Update call to AUTO_TESTS_f_f. - (sinh_test): Use ALL_RM_TEST. - (sinh_tonearest_test_data): Remove. - (sinh_test_tonearest): Likewise. - (sinh_towardzero_test_data): Likewise. - (sinh_test_towardzero): Likewise. - (sinh_downward_test_data): Likewise. - (sinh_test_downward): Likewise. - (sinh_upward_test_data): Likewise. - (sinh_test_upward): Likewise. - (sqrt_test_data): Update call to AUTO_TESTS_f_f. - (sqrt_test): Use ALL_RM_TEST. - (sqrt_tonearest_test_data): Remove. - (sqrt_test_tonearest): Likewise. - (sqrt_towardzero_test_data): Likewise. - (sqrt_test_towardzero): Likewise. - (sqrt_downward_test_data): Likewise. - (sqrt_test_downward): Likewise. - (sqrt_upward_test_data): Likewise. - (sqrt_test_upward): Likewise. - (tan_test_data): Update call to AUTO_TESTS_f_f. - (tan_test): Use ALL_RM_TEST. - (tan_tonearest_test_data): Remove. - (tan_test_tonearest): Likewise. - (tan_towardzero_test_data): Likewise. - (tan_test_towardzero): Likewise. - (tan_downward_test_data): Likewise. - (tan_test_downward): Likewise. - (tan_upward_test_data): Likewise. - (tan_test_upward): Likewise. - (tanh_test_data): Update call to AUTO_TESTS_f_f. - (tgamma_test_data): Likewise. - (y0_test_data): Likewise. - (y1_test_data): Likewise. - (yn_test_data): Update call to AUTO_TESTS_if_f. - (main): Do not call removed functions. - -2014-03-19 Joseph Myers - - * math/libm-test.inc (fdim_test): Use ALL_RM_TEST. - (ldexp_test_data): Remove. - (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with - scalbn_test_data. - (scalb_test): Use ALL_RM_TEST. - -2014-03-19 Andreas Schwab - - * nscd/nscd.service: Also invalidate netgroup cache on reload. - -2014-03-19 Joseph Myers - - [BZ #16649] - * sysdeps/unix/sysv/linux/alpha/kernel-features.h - [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine. - [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise. - * sysdeps/unix/sysv/linux/microblaze/kernel-features.h - (__ASSUME_PREADV): Undefine. - (__ASSUME_PWRITEV): Likewise. - -2014-03-18 Roland McGrath - - * bits/mman-linux.h: Add comment about non-Linux use. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about - bits/mman-linux.h resting place. - - * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ... - * bits/mman-linux.h: ... here. - -2014-03-18 Adhemerval Zanella - - * conform/conformtest.pl: Add standard definition when calling C - preprocessor on data files. - (checknamespace): Remove unused variable. - -2014-03-18 Joseph Myers - - * math/gen-libm-test.pl (parse_args): Handle plus_oflow, - minus_oflow, plus_uflow and minus_uflow in expected results. - * math/libm-test.inc (scalbn_test_data): Add more tests of - negative arguments. Use plus_oflow, minus_oflow, plus_uflow and - minus_uflow. - (scalbn_test): Use ALL_RM_TEST. - (scalbln_test_data): Add more tests of negative arguments. Use - plus_oflow, minus_oflow, plus_uflow and minus_uflow. - (scalbln_test): Use ALL_RM_TEST. - -2014-03-18 Roland McGrath - - * scripts/abilist.awk: Ignore symbols marked with .hidden. - -2014-03-18 Will Newton - - * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove - inaccurate comment. - -2014-03-18 Joseph Myers - - * Makerules [!subdir] (check-abi): Exit with error status if a - test failed. - -2014-03-17 Joseph Myers - - * math/libm-test.inc (nearbyint_test_data): Include all tests used - for rint. Include results for all rounding modes. - (nearbyint_test): Use ALL_RM_TEST. - (rint_test_data): Include all tests used for nearbyint. - -2014-03-17 Will Newton - - * nptl/sysdeps/pthread/pthread.h: Revert previous - change. - - * sysdeps/generic/ldsodefs.h: Revert previous - change. - - * libio/genops.c: Revert previous change. - * libio/libioP.h: Likewise. - * stdio-common/vfprintf.c: Likewise. - - * sysdeps/generic/math_private.h: Revert previous - change. - - * sysdeps/generic/math_private.h: Check whether - HAVE_RM_CTX is defined with #ifdef rather - than #if. - - * argp/argp-fmtstream.h: Check whether - __STRICT_ANSI__ is defined with #ifdef rather - than #if. - * argp/argp.h: Likewise. - - * libio/genops.c: Check whether - _IO_JUMPS_OFFSET is defined with #ifdef rather - than #if. - * libio/libioP.h: Likewise. - * stdio-common/vfprintf.c: Likewise. - - * sysdeps/generic/ldsodefs.h: Check whether - HP_SMALL_TIMING_AVAIL is defined with #ifdef rather - than #if. - - * nptl/sysdeps/pthread/pthread.h: Check - __PTHREAD_MUTEX_HAVE_ELISION is defined before testing - its value. - -2014-03-17 Siddhesh Poyarekar - - * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if - setting O_APPEND. - * libio/tst-ftell-active-handler.c (do_append_test): Add a - test case. - - [BZ #16680] - * libio/fileops.c (_IO_file_open): Seek to end of file but - don't cache the offset. - (get_file_offset): Remove function. - (do_ftell): Use cached offset when available. - * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but - don't cache the offset. - * libio/tst-ftell-active-handler.c (do_rewind_test): New test - case. - (do_one_test): Call it. - (do_ftell_test): Fix up expected old offset for a+ mode. - * libio/wfileops.c (do_ftell_wide): Used cached offset when - available. - - * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix - up test status with function return status. - (do_write_test): Likewise. - (do_append_test): Likewise. - - * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc - && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]: - Remove. - -2014-03-17 Joseph Myers - - * math/gen-libm-test.pl (parse_args): Handle results specified for - each rounding mode separately. - * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode - tests and results from lrint_tonearest_test_data, - lrint_towardzero_test_data, lrint_downward_test_data and - lrint_upward_test_data. - (lrint_test): Use ALL_RM_TEST. - (lrint_tonearest_test_data): Remove. - (lrint_test_tonearest): Likewise. - (lrint_towardzero_test_data): Likewise. - (lrint_test_towardzero): Likewise. - (lrint_downward_test_data): Likewise. - (lrint_test_downward): Likewise. - (lrint_upward_test_data): Likewise. - (lrint_test_upward): Likewise. - (llrint_test_data): Merge in per-rounding-mode tests and results - from llrint_tonearest_test_data, llrint_towardzero_test_data, - llrint_downward_test_data and llrint_upward_test_data. - (llrint_test): Use ALL_RM_TEST. - (llrint_tonearest_test_data): Remove. - (llrint_test_tonearest): Likewise. - (llrint_towardzero_test_data): Likewise. - (llrint_test_towardzero): Likewise. - (llrint_downward_test_data): Likewise. - (llrint_test_downward): Likewise. - (llrint_upward_test_data): Likewise. - (llrint_test_upward): Likewise. - (rint_test_data): Merge in per-rounding-mode tests and results - from rint_tonearest_test_data, rint_towardzero_test_data, - rint_downward_test_data and rint_upward_test_data. Add - per-rounding-mode results for tests not in those arrays. - (rint_test): Use ALL_RM_TEST. - (rint_tonearest_test_data): Remove. - (rint_test_tonearest): Likewise. - (rint_towardzero_test_data): Likewise. - (rint_test_towardzero): Likewise. - (rint_downward_test_data): Likewise. - (rint_test_downward): Likewise. - (rint_upward_test_data): Likewise. - (rint_test_upward): Likewise. - (main): Don't call removed functions. - -2014-03-14 Roland McGrath - - * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific - "Compiled on ..." crapola. It is anti-useful. - -2014-03-14 Joseph Myers - - * scripts/evaluate-test.sh: Handle fourth argument to determine - whether test run should stop on failure. - * Makeconfig (stop-on-test-failure): New variable. - (evaluate-test): Pass fourth argument to evaluate-test.sh based on - $(stop-on-test-failure). - * Makefile (tests): Give a summary of results from testing and - exit with failure status if they include an ERROR or FAIL. - (xtests): Likewise. - * manual/install.texi (Configuring and compiling): Mention - stop-on-test-failure=y. - * INSTALL: Regenerated. - -2014-03-14 Roland McGrath - - * scripts/versionlist.awk: New file. - * Makerules [$(build-shared) = yes] - (postclean-generated): Add Versions.def, not Versions.def.v and - Versions.def.v.i. - ($(common-objpfx)Versions.def.v.i): Target removed. - ($(common-objpfx)Versions.def): New target. - ($(common-objpfx)Versions.all): Depend on that rather that - $(common-objpfx)Versions.def.v. - * Versions.def: File removed. - - * Makeconfig (+gccwarn): Add -Wundef. - * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch - a dl-sysdep.h breaking its contract. - [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0. - * include/stackinfo.h: New file. - * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro. - * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro. - * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro. - * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro. - * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro. - * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro. - * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro. - * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro. - * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro. - * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro. - * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro. - * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro. - * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro. - * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro. - * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro. - -2014-03-14 Adhemerval Zanella - - [BZ #16707] - * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong - implementation. - * math/libm-test.inc (round_test_data): Add more tests. - - [BZ #16706] - * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong - implementation. - * math/libm-test.inc (nearbyint_test_data): Add more tests. - - [BZ #16701] - * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong - implementation. - * math/libm-test.inc (ceil_test_data): Add more tests. - - * math/libm-test.inc (trunc_test_data): Add more tests related to - BZ#16414. - -2014-03-14 Roland McGrath - - * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP - with #if rather than #ifdef. - * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise. - -2014-03-14 H.J. Lu - - * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support - first. Disable AVX-512 GCC support if assembler doesn't support - it. - * sysdeps/x86_64/configure: Regenerated. - -2014-03-13 Carlos O'Donell - - * nptl/pthread_attr_setstack.c (__pthread_attr_setstack) - [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr. - (__old_pthread_attr_setstack): Likewise. - * nptl/pthread_attr_getstack.c (__pthread_attr_getstack) - [!_STACK_GROWS_DOWN]: Likewise. - -2014-03-13 Mike Frysinger - - * config.make.in (have-bash2): Delete. - * configure.ac (libc_cv_have_bash2): Delete. - * configure: Regenerate. - * elf/Makefile (common-ldd-rewrite): Rename to ... - (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end. - (sh-ldd-rewrite): Delete. - (bash-ldd-rewrite): Delete. - (have-bash2): Delete checks. - [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to - ldd-rewrite. - - * config.make.in (have-ksh): Delete. - (KSH): Delete. - * configure.ac (libc_cv_have_ksh): Delete. - * configure: Regenerate. - - * elf/Makefile: Delete $(have-ksh) check. - ($(objpfx)sotruss): Change KSH to BASH. - * elf/sotruss.ksh: Rename to ... - * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change - function style to match POSIX. Drop ksh vim mode setting. - - * manual/time.texi (Specifying the Time Zone with TZ): Change - Tuesday to Thursday. - - * debug/tst-longjmp_chk2.c: Update header comment. - (stackoverflow_handler): Add comment. Call assert on pass value. - -2014-03-13 Igor Zamyatin - - [BZ #16194] - * config.h.in (HAVE_AVX512_SUPPORT): New #undef. - (HAVE_AVX512_ASM_SUPPORT): Likewise. - * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New. - (La_x86_64_vector): Add zmm. - * sysdeps/x86_64/Makefile (tests): Add tst-audit10. - (modules-names): Add tst-auditmod10a and tst-auditmod10b. - ($(objpfx)tst-audit10): New target. - ($(objpfx)tst-audit10.out): Likewise. - (tst-audit10-ENV): New. - (AVX512-CFLAGS): Likewise. - (CFLAGS-tst-audit10.c): Likewise. - (CFLAGS-tst-auditmod10a.c): Likewise. - (CFLAGS-tst-auditmod10b.c): Likewise. - * sysdeps/x86_64/configure.ac: Set config-cflags-avx512, - HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT. - * sysdeps/x86_64/configure: Regenerated. - * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add - AVX-512 zmm register support. - (_dl_x86_64_save_sse): Likewise. - (_dl_x86_64_restore_sse): Likewise. - * sysdeps/x86_64/dl-trampoline.h: Updated to support different - size vector registers. - * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New. - (ZMM_SIZE): Likewise. - * sysdeps/x86_64/tst-audit10.c: New file. - * sysdeps/x86_64/tst-auditmod10a.c: Likewise. - * sysdeps/x86_64/tst-auditmod10b.c: Likewise. - -2014-03-13 Roland McGrath - - * configure.ac (HAVE_EHDR_START): New check. - * configure: Regenerated. - * config.h.in (HAVE_EHDR_START): New #undef. - * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than - assuming the lowest-addressed segment maps the start of the file. - -2014-03-13 Joseph Myers - - * INSTALL: Regenerated. - -2014-03-13 Will Newton - - * manual/setjmp.texi (System V contexts): Improve - clarity and grammar of documentation. - -2014-03-12 Paul Pluzhnikov - - [BZ #16381] - * elf/Makefile (tests): Add tst-pie2. - (tests-pie): Add tst-pie2. - * elf/tst-pie2.c: New file. - * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type - for ET_EXEC. - * elf/rtld.c (map_doit): Load executable as lt_executable. - (dl_main): Likewise. - -2014-03-12 Joseph Myers - - [BZ #16642] - * sysdeps/unix/sysv/linux/microblaze/kernel-features.h - (__ASSUME_PSELECT): Undefine. - -2014-03-12 Adhemerval Zanella - - [BZ #16689] - * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S - (__bzero_ppc): Call memset@local instead of __memset_ppc@local for - static build. - * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC - selector for static builds. - -2014-03-12 Siddhesh Poyarekar - - [BZ #16695] - * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for - key in the buffer. - -2014-03-12 Adhemerval Zanella - - * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build - IFUNC selector for static builds. - -2014-03-11 Joseph Myers - - * sysdeps/mips/math_private.h [__mips_hard_float] - (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not - libc_feresetround_mips_ctx. - [__mips_hard_float] (libc_feresetroundf_ctx): Likewise. - [__mips_hard_float] (libc_feresetroundl_ctx): Likewise. - [__mips_hard_float] (libc_feresetround_mips_ctx): Remove. - - [BZ #16677] - * math/s_nextafter.c (__nextafter): Do not return value from - overflowing computation. - * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise. - * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise. - * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl): - Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): - Likewise. - * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise. - * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST. - -2014-03-11 Roland McGrath - - * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers. - * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers. - Move sfi_sp use from the load-multiple (that no longer sets sp) to - the new mov targetting sp. - -2014-03-11 Adhemerval Zanella - - [BZ #16683] - * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc): - Define it for static builds as well. - (NO_BZERO_IMPL): Likewise. - -2014-03-11 Vidya Ranganathan - - * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization. - * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file: - multiarch strspn for PPC64. - * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file - * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: - (__libc_ifunc_impl_list): Likewise. - * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn - multiarch optimizations - * string/strspn.c (strspn): Using macro to redefine symbol name. - -2014-03-10 Vidya Ranganathan - Adhemerval Zanella - - * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization. - * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file: - multiarch strncat for PPC64. - * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file - * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: - (__libc_ifunc_impl_list): Likewise. - * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat - multiarch optimizations - -2014-03-10 Siddhesh Poyarekar - - [BZ #16639] - * nscd/nscd.service: Make service type forking. - -2014-03-03 Adhemerval Zanella - - * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct - sign in non default rounding modes. - * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise. - -2014-03-08 Joseph Myers - - * math/libm-test.inc (ALL_RM_TEST): New macro. - (ceil_test): Use ALL_RM_TEST. - (cimag_test): Likewise. - (conj_test): Likewise. - (copysign_test): Likewise. - (cproj_test): Likewise. - (creal_test): Likewise. - (fabs_test): Likewise. - (floor_test): Likewise. - (fmax_test): Likewise. - (fmin_test): Likewise. - (fmod_test): Likewise. - (fpclassify_test): Likewise. - (frexp_test): Likewise. - (ilogb_test): Likewise. - (isfinite_test): Likewise. - (finite_test): Likewise. - (isgreater_test): Likewise. - (isgreaterequal_test): Likewise. - (isinf_test): Likewise. - (isless_test): Likewise. - (islessequal_test): Likewise. - (islessgreater_test): Likewise. - (isnan_test): Likewise. - (isnormal_test): Likewise. - (issignaling_test): Likewise. - (isunordered_test): Likewise. - (logb_test): Likewise. - (logb_downward_test_data): Remove. - (logb_test_downward): Likewise. - (lround_test): Use ALL_RM_TEST. - (llround_test): Likewise. - (modf_test): Likewise. - (nexttoward_test): Likewise. - (remainder_test): Likewise. - (drem_test): Likewise. - (remainder_tonearest_test_data): Likewise. - (remainder_test_tonearest): Likewise. - (drem_test_tonearest): Likewise. - (remainder_towardzero_test_data): Likewise. - (remainder_test_towardzero): Likewise. - (drem_test_towardzero): Likewise. - (remainder_downward_test_data): Likewise. - (remainder_test_downward): Likewise. - (drem_test_downward): Likewise. - (remainder_upward_test_data): Likewise. - (remainder_test_upward): Likewise. - (drem_test_upward): Likewise. - (remquo_test): Use ALL_RM_TEST. Remove comment about x. - (round_test): Use ALL_RM_TEST. - (signbit_test): Likewise. - (trunc_test): Likewise. - (significand_test): Likewise. - (main): Don't call removed functions. - -2014-03-07 Joseph Myers - - [BZ #16674] - * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED - || __USE_XOPEN2K8]. - (ILL_ILLOPN): Likewise. - (ILL_ILLADR): Likewise. - (ILL_ILLTRP): Likewise. - (ILL_PRVOPC): Likewise. - (ILL_PRVREG): Likewise. - (ILL_COPROC): Likewise. - (ILL_BADSTK): Likewise. - (FPE_INTDIV): Likewise. - (FPE_INTOVF): Likewise. - (FPE_FLTDIV): Likewise. - (FPE_FLTOVF): Likewise. - (FPE_FLTUND): Likewise. - (FPE_FLTRES): Likewise. - (FPE_FLTINV): Likewise. - (FPE_FLTSUB): Likewise. - (SEGV_MAPERR): Likewise. - (SEGV_ACCERR): Likewise. - (BUS_ADRALN): Likewise. - (BUS_ADRERR): Likewise. - (BUS_OBJERR): Likewise. - (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED]. - (TRAP_TRACE): Likewise. - (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED || - __USE_XOPEN2K8]. - (CLD_KILLED): Likewise. - (CLD_DUMPED): Likewise. - (CLD_TRAPPED): Likewise. - (CLD_STOPPED): Likewise. - (CLD_CONTINUED): Likewise. - (POLL_IN): Likewise. - (POLL_OUT): Likewise. - (POLL_MSG): Likewise. - (POLL_ERR): Likewise. - (POLL_PRI): Likewise. - (POLL_HUP): Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC): - Likewise. - (ILL_ILLOPN): Likewise. - (ILL_ILLADR): Likewise. - (ILL_ILLTRP): Likewise. - (ILL_PRVOPC): Likewise. - (ILL_PRVREG): Likewise. - (ILL_COPROC): Likewise. - (ILL_BADSTK): Likewise. - (FPE_INTDIV): Likewise. - (FPE_INTOVF): Likewise. - (FPE_FLTDIV): Likewise. - (FPE_FLTOVF): Likewise. - (FPE_FLTUND): Likewise. - (FPE_FLTRES): Likewise. - (FPE_FLTINV): Likewise. - (FPE_FLTSUB): Likewise. - (SEGV_MAPERR): Likewise. - (SEGV_ACCERR): Likewise. - (BUS_ADRALN): Likewise. - (BUS_ADRERR): Likewise. - (BUS_OBJERR): Likewise. - (BUS_MCEERR_AR): Likewise. - (BUS_MCEERR_AO): Likewise. - (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED]. - (TRAP_TRACE): Likewise. - (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED || - __USE_XOPEN2K8]. - (CLD_KILLED): Likewise. - (CLD_DUMPED): Likewise. - (CLD_TRAPPED): Likewise. - (CLD_STOPPED): Likewise. - (CLD_CONTINUED): Likewise. - (POLL_IN): Likewise. - (POLL_OUT): Likewise. - (POLL_MSG): Likewise. - (POLL_ERR): Likewise. - (POLL_PRI): Likewise. - (POLL_HUP): Likewise. - * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise. - (ILL_ILLOPN): Likewise. - (ILL_ILLADR): Likewise. - (ILL_ILLTRP): Likewise. - (ILL_PRVOPC): Likewise. - (ILL_PRVREG): Likewise. - (ILL_COPROC): Likewise. - (ILL_BADSTK): Likewise. - (FPE_INTDIV): Likewise. - (FPE_INTOVF): Likewise. - (FPE_FLTDIV): Likewise. - (FPE_FLTOVF): Likewise. - (FPE_FLTUND): Likewise. - (FPE_FLTRES): Likewise. - (FPE_FLTINV): Likewise. - (FPE_FLTSUB): Likewise. - (SEGV_MAPERR): Likewise. - (SEGV_ACCERR): Likewise. - (BUS_ADRALN): Likewise. - (BUS_ADRERR): Likewise. - (BUS_OBJERR): Likewise. - (BUS_MCEERR_AR): Likewise. - (BUS_MCEERR_AO): Likewise. - (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED]. - (TRAP_TRACE): Likewise. - (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED || - __USE_XOPEN2K8]. - (CLD_KILLED): Likewise. - (CLD_DUMPED): Likewise. - (CLD_TRAPPED): Likewise. - (CLD_STOPPED): Likewise. - (CLD_CONTINUED): Likewise. - (POLL_IN): Likewise. - (POLL_OUT): Likewise. - (POLL_MSG): Likewise. - (POLL_ERR): Likewise. - (POLL_PRI): Likewise. - (POLL_HUP): Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC): - Likewise. - (ILL_ILLOPN): Likewise. - (ILL_ILLADR): Likewise. - (ILL_ILLTRP): Likewise. - (ILL_PRVOPC): Likewise. - (ILL_PRVREG): Likewise. - (ILL_COPROC): Likewise. - (ILL_BADSTK): Likewise. - (ILL_BADIADDR): Likewise. - (ILL_BREAK): Likewise. - (FPE_INTDIV): Likewise. - (FPE_INTOVF): Likewise. - (FPE_FLTDIV): Likewise. - (FPE_FLTOVF): Likewise. - (FPE_FLTUND): Likewise. - (FPE_FLTRES): Likewise. - (FPE_FLTINV): Likewise. - (FPE_FLTSUB): Likewise. - (FPE_DECOVF): Likewise. - (FPE_DECDIV): Likewise. - (FPE_DECERR): Likewise. - (FPE_INVASC): Likewise. - (FPE_INVDEC): Likewise. - (SEGV_MAPERR): Likewise. - (SEGV_ACCERR): Likewise. - (SEGV_PSTKOVF): Likewise. - (BUS_ADRALN): Likewise. - (BUS_ADRERR): Likewise. - (BUS_OBJERR): Likewise. - (BUS_MCEERR_AR): Likewise. - (BUS_MCEERR_AO): Likewise. - (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED]. - (TRAP_TRACE): Likewise. - (TRAP_BRANCH): Likewise. - (TRAP_HWBKPT): Likewise. - (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED || - __USE_XOPEN2K8]. - (CLD_KILLED): Likewise. - (CLD_DUMPED): Likewise. - (CLD_TRAPPED): Likewise. - (CLD_STOPPED): Likewise. - (CLD_CONTINUED): Likewise. - (POLL_IN): Likewise. - (POLL_OUT): Likewise. - (POLL_MSG): Likewise. - (POLL_ERR): Likewise. - (POLL_PRI): Likewise. - (POLL_HUP): Likewise. - * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise. - (ILL_ILLOPN): Likewise. - (ILL_ILLADR): Likewise. - (ILL_ILLTRP): Likewise. - (ILL_PRVOPC): Likewise. - (ILL_PRVREG): Likewise. - (ILL_COPROC): Likewise. - (ILL_BADSTK): Likewise. - (FPE_INTDIV): Likewise. - (FPE_INTOVF): Likewise. - (FPE_FLTDIV): Likewise. - (FPE_FLTOVF): Likewise. - (FPE_FLTUND): Likewise. - (FPE_FLTRES): Likewise. - (FPE_FLTINV): Likewise. - (FPE_FLTSUB): Likewise. - (SEGV_MAPERR): Likewise. - (SEGV_ACCERR): Likewise. - (BUS_ADRALN): Likewise. - (BUS_ADRERR): Likewise. - (BUS_OBJERR): Likewise. - (BUS_MCEERR_AR): Likewise. - (BUS_MCEERR_AO): Likewise. - (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED]. - (TRAP_TRACE): Likewise. - (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED || - __USE_XOPEN2K8]. - (CLD_KILLED): Likewise. - (CLD_DUMPED): Likewise. - (CLD_TRAPPED): Likewise. - (CLD_STOPPED): Likewise. - (CLD_CONTINUED): Likewise. - (POLL_IN): Likewise. - (POLL_OUT): Likewise. - (POLL_MSG): Likewise. - (POLL_ERR): Likewise. - (POLL_PRI): Likewise. - (POLL_HUP): Likewise. - * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise. - (ILL_ILLOPN): Likewise. - (ILL_ILLADR): Likewise. - (ILL_ILLTRP): Likewise. - (ILL_PRVOPC): Likewise. - (ILL_PRVREG): Likewise. - (ILL_COPROC): Likewise. - (ILL_BADSTK): Likewise. - (FPE_INTDIV): Likewise. - (FPE_INTOVF): Likewise. - (FPE_FLTDIV): Likewise. - (FPE_FLTOVF): Likewise. - (FPE_FLTUND): Likewise. - (FPE_FLTRES): Likewise. - (FPE_FLTINV): Likewise. - (FPE_FLTSUB): Likewise. - (SEGV_MAPERR): Likewise. - (SEGV_ACCERR): Likewise. - (BUS_ADRALN): Likewise. - (BUS_ADRERR): Likewise. - (BUS_OBJERR): Likewise. - (BUS_MCEERR_AR): Likewise. - (BUS_MCEERR_AO): Likewise. - (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED]. - (TRAP_TRACE): Likewise. - (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED || - __USE_XOPEN2K8]. - (CLD_KILLED): Likewise. - (CLD_DUMPED): Likewise. - (CLD_TRAPPED): Likewise. - (CLD_STOPPED): Likewise. - (CLD_CONTINUED): Likewise. - (POLL_IN): Likewise. - (POLL_OUT): Likewise. - (POLL_MSG): Likewise. - (POLL_ERR): Likewise. - (POLL_PRI): Likewise. - (POLL_HUP): Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise. - (ILL_ILLOPN): Likewise. - (ILL_ILLADR): Likewise. - (ILL_ILLTRP): Likewise. - (ILL_PRVOPC): Likewise. - (ILL_PRVREG): Likewise. - (ILL_COPROC): Likewise. - (ILL_BADSTK): Likewise. - (FPE_INTDIV): Likewise. - (FPE_INTOVF): Likewise. - (FPE_FLTDIV): Likewise. - (FPE_FLTOVF): Likewise. - (FPE_FLTUND): Likewise. - (FPE_FLTRES): Likewise. - (FPE_FLTINV): Likewise. - (FPE_FLTSUB): Likewise. - (SEGV_MAPERR): Likewise. - (SEGV_ACCERR): Likewise. - (BUS_ADRALN): Likewise. - (BUS_ADRERR): Likewise. - (BUS_OBJERR): Likewise. - (BUS_MCEERR_AR): Likewise. - (BUS_MCEERR_AO): Likewise. - (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED]. - (TRAP_TRACE): Likewise. - (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED || - __USE_XOPEN2K8]. - (CLD_KILLED): Likewise. - (CLD_DUMPED): Likewise. - (CLD_TRAPPED): Likewise. - (CLD_STOPPED): Likewise. - (CLD_CONTINUED): Likewise. - (POLL_IN): Likewise. - (POLL_OUT): Likewise. - (POLL_MSG): Likewise. - (POLL_ERR): Likewise. - (POLL_PRI): Likewise. - (POLL_HUP): Likewise. - * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise. - (ILL_ILLOPN): Likewise. - (ILL_ILLADR): Likewise. - (ILL_ILLTRP): Likewise. - (ILL_PRVOPC): Likewise. - (ILL_PRVREG): Likewise. - (ILL_COPROC): Likewise. - (ILL_BADSTK): Likewise. - (ILL_DBLFLT): Likewise. - (ILL_HARDWALL): Likewise. - (FPE_INTDIV): Likewise. - (FPE_INTOVF): Likewise. - (FPE_FLTDIV): Likewise. - (FPE_FLTOVF): Likewise. - (FPE_FLTUND): Likewise. - (FPE_FLTRES): Likewise. - (FPE_FLTINV): Likewise. - (FPE_FLTSUB): Likewise. - (SEGV_MAPERR): Likewise. - (SEGV_ACCERR): Likewise. - (BUS_ADRALN): Likewise. - (BUS_ADRERR): Likewise. - (BUS_OBJERR): Likewise. - (BUS_MCEERR_AR): Likewise. - (BUS_MCEERR_AO): Likewise. - (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED]. - (TRAP_TRACE): Likewise. - (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED || - __USE_XOPEN2K8]. - (CLD_KILLED): Likewise. - (CLD_DUMPED): Likewise. - (CLD_TRAPPED): Likewise. - (CLD_STOPPED): Likewise. - (CLD_CONTINUED): Likewise. - (POLL_IN): Likewise. - (POLL_OUT): Likewise. - (POLL_MSG): Likewise. - (POLL_ERR): Likewise. - (POLL_PRI): Likewise. - (POLL_HUP): Likewise. - * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise. - (ILL_ILLOPN): Likewise. - (ILL_ILLADR): Likewise. - (ILL_ILLTRP): Likewise. - (ILL_PRVOPC): Likewise. - (ILL_PRVREG): Likewise. - (ILL_COPROC): Likewise. - (ILL_BADSTK): Likewise. - (FPE_INTDIV): Likewise. - (FPE_INTOVF): Likewise. - (FPE_FLTDIV): Likewise. - (FPE_FLTOVF): Likewise. - (FPE_FLTUND): Likewise. - (FPE_FLTRES): Likewise. - (FPE_FLTINV): Likewise. - (FPE_FLTSUB): Likewise. - (SEGV_MAPERR): Likewise. - (SEGV_ACCERR): Likewise. - (BUS_ADRALN): Likewise. - (BUS_ADRERR): Likewise. - (BUS_OBJERR): Likewise. - (BUS_MCEERR_AR): Likewise. - (BUS_MCEERR_AO): Likewise. - (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED]. - (TRAP_TRACE): Likewise. - (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED || - __USE_XOPEN2K8]. - (CLD_KILLED): Likewise. - (CLD_DUMPED): Likewise. - (CLD_TRAPPED): Likewise. - (CLD_STOPPED): Likewise. - (CLD_CONTINUED): Likewise. - (POLL_IN): Likewise. - (POLL_OUT): Likewise. - (POLL_MSG): Likewise. - (POLL_ERR): Likewise. - (POLL_PRI): Likewise. - (POLL_HUP): Likewise. - * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove. - (test-xfail-POSIX/sys/wait.h/conform): Likewise. - - [BZ #16670] - * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define - before #include of . - [!__USE_XOPEN2K] (__need_timespec): Likewise. - * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove. - (test-xfail-UNIX98/sched.h/conform): Likewise. - -2014-03-07 Marcus Shawcroft - - * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and - error absence of trapping exception support. - * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise. - -2014-03-07 Joseph Myers - - * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat. - ($(objpfx)sample.SJIS.cat): Use $(evaluate-test). - * timezone/Makefile (testdata): Move definition above include of - Rules. - (test-zones): New variable. - (tests-special): Add zone files. - (build-testdata): Use $(evaluate-test). - - * elf/Makefile (tests-special): Rename tests to end with .out. - ($(objpfx)noload-mem): Likewise. - ($(objpfx)tst-leaks1-mem): Likewise. - ($(objpfx)tst-leaks1-static-mem.out): Likewise. - * iconv/Makefile (xtests-special): Change test-iconvconfig to - $(objpfx)test-iconvconfig.out. - (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use - set -e inside subshell and redirect output to file. - * iconvdata/Makefile (generated): Rename tests to end with .out. - Correct type. - (tests-special): Rename tests to end with .out. - ($(objpfx)mtrace-tst-loading): Likewise. - * intl/Makefile (generated): Likewise. - (tests-special): Likewise. - ($(objpfx)mtrace-tst-gettext): Likewise. - * misc/Makefile (generated): Likewise. - (tests-special): Likewise. - ($(objpfx)tst-error1-mem): Likewise. - * nptl/Makefile (tests-special): Likewise. - ($(objpfx)tst-stack3-mem): Likewise. - (generated): Likewise. - * posix/Makefile (generated): Likewise. - (tests-special): Likewise. - (xtests-special): Likewise. - ($(objpfx)tst-fnmatch-mem): Likewise. - ($(objpfx)bug-regex2-mem): Likewise. - ($(objpfx)bug-regex14-mem): Likewise. - ($(objpfx)bug-regex21-mem): Likewise. - ($(objpfx)bug-regex31-mem): Likewise. - ($(objpfx)tst-vfork3-mem): Likewise. - ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise. - ($(objpfx)tst-pcre-mem): Likewise. - ($(objpfx)tst-boost-mem): Likewise. - ($(objpfx)bug-ga2-mem): Likewise. - ($(objpfx)bug-glob2-mem): Likewise. - * resolv/Makefile (generate): Likewise. - (tests-special): Likewise. - (xtests-special): Likewise. - (generated): Likewise. - ($(objpfx)mtrace-tst-leaks): Likewise. - ($(objpfx)mtrace-tst-leaks2): Likewise. - - * scripts/merge-test-results.sh: New file. - * Makefile (tests-special-notdir): New variable. - (tests): Run merge-test-results.sh. - (xtests): Likewise. - * Rules (tests-special-notdir): New variable. - (xtests-special-notdir): Likewise. - (tests): Run merge-test-results.sh - (xtests): Likewise. - - * Makeconfig (test-xfail-name): New variable. - (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to - compute variable name for expected failures. - * conform/Makefile (conformtest-headers-data): New variable. - (conformtest-standards): Likewise. - (conformtest-headers-ISO): Likewise. - (conformtest-headers-ISO99): Likewise. - (conformtest-headers-ISO11): Likewise. - (conformtest-headers-POSIX): Likewise. - (conformtest-headers-XPG3): Likewise. - (conformtest-headers-XPG4): Likewise. - (conformtest-headers-UNIX98): Likewise. - (conformtest-headers-XOPEN2K): Likewise. - (conformtest-headers-POSIX2008): Likewise. - (conformtest-headers-XOPEN2K8): Likewise. - (conformtest-header-list-base): Likewise. - (conformtest-header-list-tests): Likewise. - (conformtest-header-base): Likewise. - (conformtest-header-tests): Likewise. - (tests-special): Add $(conformtest-header-list-tests). If - [$(fast-check) && !$(cross-compiling)], add - $(conformtest-header-tests) instead of - $(objpfx)run-conformtest.out. - (generated): Add $(conformtest-header-list-base). If - [$(fast-check) && !$(cross-compiling)], add - $(conformtest-header-base). Remove previous setting. - ($(conformtest-header-list-tests)): New target. - (test-xfail-run-conformtest): Remove variable. - ($(objpfx)run-conformtest.out): Remove target. - (test-xfail-ISO11/complex.h/conform): New variable. - (test-xfail-ISO11/stdalign.h/conform): Likewise. - (test-xfail-ISO11/stdnoreturn.h/conform): Likewise. - (test-xfail-XPG3/varargs.h/conform): Likewise. - (test-xfail-XPG4/varargs.h/conform): Likewise. - (test-xfail-UNIX98/varargs.h/conform): Likewise. - (test-xfail-XPG4/ndbm.h/conform): Likewise. - (test-xfail-UNIX98/ndbm.h/conform): Likewise. - (test-xfail-XOPEN2K/ndbm.h/conform): Likewise. - (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise. - (test-xfail-XPG3/fcntl.h/conform): Likewise. - (test-xfail-XPG3/ftw.h/conform): Likewise. - (test-xfail-XPG3/grp.h/conform): Likewise. - (test-xfail-XPG3/langinfo.h/conform): Likewise. - (test-xfail-XPG3/limits.h/conform): Likewise. - (test-xfail-XPG3/pwd.h/conform): Likewise. - (test-xfail-XPG3/search.h/conform): Likewise. - (test-xfail-XPG3/signal.h/conform): Likewise. - (test-xfail-XPG3/stdio.h/conform): Likewise. - (test-xfail-XPG3/stdlib.h/conform): Likewise. - (test-xfail-XPG3/string.h/conform): Likewise. - (test-xfail-XPG3/sys/ipc.h/conform): Likewise. - (test-xfail-XPG3/sys/msg.h/conform): Likewise. - (test-xfail-XPG3/sys/sem.h/conform): Likewise. - (test-xfail-XPG3/sys/shm.h/conform): Likewise. - (test-xfail-XPG3/sys/stat.h/conform): Likewise. - (test-xfail-XPG3/sys/types.h/conform): Likewise. - (test-xfail-XPG3/sys/wait.h/conform): Likewise. - (test-xfail-XPG3/termios.h/conform): Likewise. - (test-xfail-XPG3/time.h/conform): Likewise. - (test-xfail-XPG3/unistd.h/conform): Likewise. - (test-xfail-XPG4/arpa/inet.h/conform): Likewise. - (test-xfail-XPG4/fcntl.h/conform): Likewise. - (test-xfail-XPG4/langinfo.h/conform): Likewise. - (test-xfail-XPG4/netdb.h/conform): Likewise. - (test-xfail-XPG4/netinet/in.h/conform): Likewise. - (test-xfail-XPG4/signal.h/conform): Likewise. - (test-xfail-XPG4/stdio.h/conform): Likewise. - (test-xfail-XPG4/stdlib.h/conform): Likewise. - (test-xfail-XPG4/stropts.h/conform): Likewise. - (test-xfail-XPG4/sys/ipc.h/conform): Likewise. - (test-xfail-XPG4/sys/msg.h/conform): Likewise. - (test-xfail-XPG4/sys/sem.h/conform): Likewise. - (test-xfail-XPG4/sys/shm.h/conform): Likewise. - (test-xfail-XPG4/sys/socket.h/conform): Likewise. - (test-xfail-XPG4/sys/stat.h/conform): Likewise. - (test-xfail-XPG4/sys/time.h/conform): Likewise. - (test-xfail-XPG4/sys/types.h/conform): Likewise. - (test-xfail-XPG4/sys/wait.h/conform): Likewise. - (test-xfail-XPG4/termios.h/conform): Likewise. - (test-xfail-XPG4/ucontext.h/conform): Likewise. - (test-xfail-XPG4/unistd.h/conform): Likewise. - (test-xfail-XPG4/utmpx.h/conform): Likewise. - (test-xfail-POSIX/sched.h/conform): Likewise. - (test-xfail-POSIX/signal.h/conform): Likewise. - (test-xfail-POSIX/sys/wait.h/conform): Likewise. - (test-xfail-POSIX/tar.h/conform): Likewise. - (test-xfail-UNIX98/arpa/inet.h/conform): Likewise. - (test-xfail-UNIX98/fcntl.h/conform): Likewise. - (test-xfail-UNIX98/langinfo.h/conform): Likewise. - (test-xfail-UNIX98/netdb.h/conform): Likewise. - (test-xfail-UNIX98/netinet/in.h/conform): Likewise. - (test-xfail-UNIX98/sched.h/conform): Likewise. - (test-xfail-UNIX98/signal.h/conform): Likewise. - (test-xfail-UNIX98/stdio.h/conform): Likewise. - (test-xfail-UNIX98/stdlib.h/conform): Likewise. - (test-xfail-UNIX98/stropts.h/conform): Likewise. - (test-xfail-UNIX98/sys/ipc.h/conform): Likewise. - (test-xfail-UNIX98/sys/msg.h/conform): Likewise. - (test-xfail-UNIX98/sys/sem.h/conform): Likewise. - (test-xfail-UNIX98/sys/shm.h/conform): Likewise. - (test-xfail-UNIX98/sys/socket.h/conform): Likewise. - (test-xfail-UNIX98/sys/time.h/conform): Likewise. - (test-xfail-UNIX98/sys/wait.h/conform): Likewise. - (test-xfail-UNIX98/ucontext.h/conform): Likewise. - (test-xfail-UNIX98/unistd.h/conform): Likewise. - (test-xfail-UNIX98/utmpx.h/conform): Likewise. - (test-xfail-XOPEN2K/aio.h/conform): Likewise. - (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise. - (test-xfail-XOPEN2K/fcntl.h/conform): Likewise. - (test-xfail-XOPEN2K/langinfo.h/conform): Likewise. - (test-xfail-XOPEN2K/math.h/conform): Likewise. - (test-xfail-XOPEN2K/mqueue.h/conform): Likewise. - (test-xfail-XOPEN2K/netdb.h/conform): Likewise. - (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise. - (test-xfail-XOPEN2K/semaphore.h/conform): Likewise. - (test-xfail-XOPEN2K/signal.h/conform): Likewise. - (test-xfail-XOPEN2K/stdarg.h/conform): Likewise. - (test-xfail-XOPEN2K/stdio.h/conform): Likewise. - (test-xfail-XOPEN2K/stropts.h/conform): Likewise. - (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise. - (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise. - (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise. - (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise. - (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise. - (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise. - (test-xfail-XOPEN2K/termios.h/conform): Likewise. - (test-xfail-XOPEN2K/tgmath.h/conform): Likewise. - (test-xfail-XOPEN2K/ucontext.h/conform): Likewise. - (test-xfail-XOPEN2K/utmpx.h/conform): Likewise. - (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise. - (test-xfail-POSIX2008/fcntl.h/conform): Likewise. - (test-xfail-POSIX2008/netdb.h/conform): Likewise. - (test-xfail-POSIX2008/netinet/in.h/conform): Likewise. - (test-xfail-POSIX2008/signal.h/conform): Likewise. - (test-xfail-POSIX2008/stropts.h/conform): Likewise. - (test-xfail-POSIX2008/sys/socket.h/conform): Likewise. - (test-xfail-POSIX2008/sys/wait.h/conform): Likewise. - (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise. - (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise. - (test-xfail-XOPEN2K8/limits.h/conform): Likewise. - (test-xfail-XOPEN2K8/math.h/conform): Likewise. - (test-xfail-XOPEN2K8/netdb.h/conform): Likewise. - (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise. - (test-xfail-XOPEN2K8/signal.h/conform): Likewise. - (test-xfail-XOPEN2K8/stdio.h/conform): Likewise. - (test-xfail-XOPEN2K8/stropts.h/conform): Likewise. - (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise. - (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise. - (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise. - (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise. - (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise. - (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise. - (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise. - (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise. - (test-xfail-XOPEN2K8/termios.h/conform): Likewise. - (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise. - (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise. - (conformtest-cc-flags): Likewise. - ($(conformtest-header-tests): New target. - * conform/check-header-lists.sh: New file. - * conform/run-conformtest.sh: Remove. - - * conform/conformtest.pl: Allow ' and \ in values given for - constants. - * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header - inclusion. - [POSIX] (sys/types.h): Likewise. - [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header - inclusion. - [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header - inclusion. - * conform/data/signal.h-data (SIGIO): Remove expectation. - [XPG3] (SIGBUS): Do not expect. - [POSIX || XPG3] (SIGPOLL): Likewise. - [POSIX || XPG3] (SIGPROF): Likewise. - [POSIX || XPG3] (SIGSYS): Likewise. - [XPG3] (SIGTRAP): Likewise. - [POSIX || XPG3] (SIGURG): Likewise. - [POSIX || XPG3] (SIGVTALRM): Likewise. - [POSIX || XPG3] (SIGXCPU): Likewise. - [POSIX || XPG3] (SIGXFSZ): Likewise. - [POSIX] (SA_SIGINFO): Expect. - [XPG3] (siginfo_t): Do not expect type or contents. - [POSIX] (si_pid): Do not expect element. - [POSIX] (si_uid): Likewise. - [POSIX] (si_addr): Likewise. - [POSIX] (si_status): Likewise. - [POSIX] (si_band): Likewise. - [XPG4] (si_value): Likewise. - [POSIX || XPG3] (ILL_ILLOPC): Do not expect. - [POSIX || XPG3] (ILL_ILLOPN): Likewise. - [POSIX || XPG3] (ILL_ILLADR): Likewise. - [POSIX || XPG3] (ILL_ILLTRP): Likewise. - [POSIX || XPG3] (ILL_PRVOPC): Likewise. - [POSIX || XPG3] (ILL_PRVREG): Likewise. - [POSIX || XPG3] (ILL_COPROC): Likewise. - [POSIX || XPG3] (ILL_BADSTK): Likewise. - [POSIX || XPG3] (FPE_INTDIV): Likewise. - [POSIX || XPG3] (FPE_INTOVF): Likewise. - [POSIX || XPG3] (FPE_FLTDIV): Likewise. - [POSIX || XPG3] (FPE_FLTOVF): Likewise. - [POSIX || XPG3] (FPE_FLTUND): Likewise. - [POSIX || XPG3] (FPE_FLTRES): Likewise. - [POSIX || XPG3] (FPE_FLTINV): Likewise. - [POSIX || XPG3] (FPE_FLTSUB): Likewise. - [POSIX || XPG3] (SEGV_MAPERR): Likewise. - [POSIX || XPG3] (SEGV_ACCERR): Likewise. - [POSIX || XPG3] (BUS_ADRALN): Likewise. - [POSIX || XPG3] (BUS_ADRERR): Likewise. - [POSIX || XPG3] (BUS_OBJERR): Likewise. - [POSIX || XPG3] (CLD_EXITED): Likewise. - [POSIX || XPG3] (CLD_KILLED): Likewise. - [POSIX || XPG3] (CLD_DUMPED): Likewise. - [POSIX || XPG3] (CLD_TRAPPED): Likewise. - [POSIX || XPG3] (CLD_STOPPED): Likewise. - [POSIX || XPG3] (CLD_CONTINUED): Likewise. - [POSIX || XPG3] (POLL_IN): Likewise. - [POSIX || XPG3] (POLL_OUT): Likewise. - [POSIX || XPG3] (POLL_MSG): Likewise. - [POSIX || XPG3] (POLL_ERR): Likewise. - [POSIX || XPG3] (POLL_PRI): Likewise. - [POSIX || XPG3] (POLL_HUP): Likewise. - [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise. - [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise. - (SIG*): Do not allow. - [XPG3] (si_*): Likewise. - [XPG3] (SI_*): Likewise. - [XPG3 || XPG4] (sigev_*): Likewise. - [XPG3 || XPG4] (SIGEV_*): Likewise. - [XPG3 || XPG4] (sival_*): Likewise. - [POSIX || XPG3 || XPG4] (uc_*): Likewise. - [POSIX || XPG3] (BUS_*): Likewise. - [POSIX || XPG3] (CLD_*): Likewise. - [POSIX || XPG3] (FPE_*): Likewise. - [POSIX || XPG3] (ILL_*): Likewise. - [POSIX || XPG3] (POLL_*): Likewise. - [POSIX || XPG3] (SEGV_*): Likewise. - [POSIX || XPG3 || POSIX2008] (SS_*): Likewise. - [POSIX || XPG3 || POSIX2008] (SV_*): Likewise. - [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise. - [POSIX || XPG3 || POSIX2008] (ss_*): Likewise. - [POSIX || XPG3 || POSIX2008] (sv_*): Likewise. - * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant. - Specify type and value. - (TVERSLEN): Likewise. - (REGTYPE): Likewise. - (AREGTYPE): Likewise. - (LNKTYPE): Likewise. - (SYMTYPE): Likewise. - (CHRTYPE): Likewise. - (BLKTYPE): Likewise. - (DIRTYPE): Likewise. - (FIFOTYPE): Likewise. - (CONTTYPE): Likewise. - (TSUID): Likewise. - (TSGID): Likewise. - (TSVTX): Likewise. - (TUREAD): Likewise. - (TUWRITE): Likewise. - (TUEXEC): Likewise. - (TGREAD): Likewise. - (TGWRITE): Likewise. - (TGEXEC): Likewise. - (TOREAD): Likewise. - (TOWRITE): Likewise. - (TOEXEC): Likewise. - [POSIX] (TSVTX): Expect constant. - -2014-03-06 Joseph Myers - - * Makefile (tests): Change dependencies to .... - (tests-special): ... additions to this variable. - (tests): Depend on $(tests-special). - * Makerules (check-abi-list): New variable. - (check-abi): Depend on $(check-abi-list). - [$(subdir) = elf] (tests-special): Add - $(objpfx)check-abi-libc.out. - [$(build-shared) = yes && subdir] (tests-special): Add - $(check-abi-list). - [$(build-shared) = yes && subdir] (tests): Do not depend on - check-abi. - * Rules (tests): Depend on $(tests-special). - (xtests): Depend on $(xtests-special). - * catgets/Makefile (tests): Change dependencies to .... - (tests-special): ... additions to this variable. - * conform/Makefile (tests): Change dependencies to .... - (tests-special): ... additions to this variable. - * elf/Makefile (tests): Change dependencies to .... - (tests-special): ... additions to this variable. - * grp/Makefile (tests): Change dependencies to .... - (tests-special): ... additions to this variable. - * iconv/Makefile (xtests): Change dependencies to .... - (xtests-special): ... additions to this variable. - * iconvdata/Makefile (tests): Change dependencies to .... - (tests-special): ... additions to this variable. - * intl/Makefile (tests): Change dependencies to .... - (tests-special): ... additions to this variable. Also add - $(objpfx)tst-gettext.out. - * io/Makefile (tests): Change dependencies to .... - (tests-special): ... additions to this variable. - * libio/Makefile (tests): Change dependencies to .... - (tests-special): ... additions to this variable. - * malloc/Makefile (tests): Change dependencies to .... - (tests-special): ... additions to this variable. - * misc/Makefile (tests): Change dependencies to .... - (tests-special): ... additions to this variable. - * nptl/Makefile (tests): Change dependencies to .... - (tests-special): ... additions to this variable. - * nptl_db/Makefile (tests): Change dependencies to .... - (tests-special): ... additions to this variable. - * posix/Makefile (tests): Change dependencies to .... - (tests-special): ... additions to this variable. - (xtests): Change dependencies to .... - (xtests-special): ... additions to this variable. - * resolv/Makefile (tests): Change dependencies to .... - (tests-special): ... additions to this variable. - (xtests): Change dependencies to .... - (xtests-special): ... additions to this variable. - * stdio-common/Makefile (tests): Change dependencies to .... - (tests-special): ... additions to this variable. - (do-tst-unbputc): Remove target. - (do-tst-printf): Likewise. - * stdlib/Makefile (tests): Change dependencies to .... - (tests-special): ... additions to this variable. - * string/Makefile (tests): Change dependencies to .... - (tests-special): ... additions to this variable. - * sysdeps/x86/Makefile (tests): Change dependencies to .... - (tests-special): ... additions to this variable. - - * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable - whole file. - * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable - whole file. - * conform/data/sys/uio.h-data [POSIX2008]: Likewise. - * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise. - - * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file. - * conform/data/arpa/inet.h-data [XPG3]: Likewise. - * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise. - * conform/data/fmtmsg.h-data [XPG3]: Likewise. - * conform/data/libgen.h-data [XPG3]: Likewise. - * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise. - * conform/data/ndbm.h-data [XPG3]: Likewise. - * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise. - * conform/data/netdb.h-data [XPG3]: Likewise. - * conform/data/netinet/in.h-data [XPG3]: Likewise. - * conform/data/poll.h-data [XPG3]: Likewise. - * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise. - * conform/data/strings.h-data [XPG3]: Likewise. - * conform/data/stropts.h-data [XPG3]: Likewise. - * conform/data/sys/mman.h-data [XPG3]: Likewise. - * conform/data/sys/resource.h-data [XPG3]: Likewise. - * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]: - Likewise. - * conform/data/sys/statvfs.h-data [XPG3]: Likewise. - * conform/data/sys/time.h-data [XPG3]: Likewise. - * conform/data/sys/timeb.h-data [XPG3]: Likewise. - * conform/data/sys/uio.h-data [XPG3]: Likewise. - * conform/data/sys/un.h-data [XPG3]: Likewise. - * conform/data/syslog.h-data [XPG3]: Likewise. - * conform/data/ucontext.h-data [XPG3]: Likewise. - * conform/data/utmpx.h-data [XPG3]: Likewise. - * conform/data/varargs.h-data [UNIX98]: Enable file. - - * manual/Makefile (INSTALL_INFO): Remove variable setting. - - * math/libm-test.inc (struct test_f_f_data): Move expected results - into structure for each rounding mode. - (struct test_ff_f_data): Likewise. - (struct test_ff_f_data_nexttoward): Likewise. - (struct test_fi_f_data): Likewise. - (struct test_fl_f_data): Likewise. - (struct test_if_f_data): Likewise. - (struct test_fff_f_data): Likewise. - (struct test_c_f_data): Likewise. - (struct test_f_f1_data): Likewise. - (struct test_fF_f1_data): Likewise. - (struct test_ffI_f1_data): Likewise. - (struct test_c_c_data): Likewise. - (struct test_cc_c_data): Likewise. - (struct test_f_i_data): Likewise. - (struct test_ff_i_data): Likewise. - (struct test_f_l_data): Likewise. - (struct test_f_L_data): Likewise. - (struct test_fFF_11_data): Likewise. - (RM_): New macro. - (RM_FE_DOWNWARD): Likewise. - (RM_FE_TONEAREST): Likewise. - (RM_FE_TOWARDZERO): Likewise. - (RM_FE_UPWARD): Likewise. - (RUN_TEST_LOOP_f_f): Update references to expected results. - (RUN_TEST_LOOP_2_f): Likewise. - (RUN_TEST_LOOP_fff_f): Likewise. - (RUN_TEST_LOOP_c_f): Likewise. - (RUN_TEST_LOOP_f_f1): Likewise. - (RUN_TEST_LOOP_fF_f1): Likewise. - (RUN_TEST_LOOP_fI_f1): Likewise. - (RUN_TEST_LOOP_ffI_f1): Likewise. - (RUN_TEST_LOOP_c_c): Likewise. - (RUN_TEST_LOOP_cc_c): Likewise. - (RUN_TEST_LOOP_f_i): Likewise. - (RUN_TEST_LOOP_f_i_tg): Likewise. - (RUN_TEST_LOOP_ff_i_tg): Likewise. - (RUN_TEST_LOOP_f_b): Likewise. - (RUN_TEST_LOOP_f_b_tg): Likewise. - (RUN_TEST_LOOP_f_l): Likewise. - (RUN_TEST_LOOP_f_L): Likewise. - (RUN_TEST_LOOP_fFF_11): Likewise. - * math/gen-libm-test.pl (parse_args): Output four copies of - expected results for each test. - - * sysdeps/unix/sysv/linux/aarch64/kernel-features.h - (__ASSUME_UTIMES): Remove. - * sysdeps/unix/sysv/linux/tile/kernel-features.h - (__ASSUME_UTIMES): Likewise. - - * math/gen-auto-libm-tests.c: Update comment on output format. - (output_for_one_input_case): Generate before-rounding and - after-rounding information as conditions on output flags not - floating-point format. - * math/auto-libm-test-out: Regenerated. - * math/gen-libm-test.pl (cond_value): New function. - (or_cond_value): Use cond_value. - (generate_testfile): Handle conditional exceptions. - -2014-03-05 Joseph Myers - - * math/libm-test.inc (max_valid_error): New variable. - (init_max_error): Take new argument specifying whether function - results are exactly determined. Set max_valid_error and bound - other variables for errors based on this argument. - (set_max_error): Do not record results above max_valid_error. - (check_float_internal): Only accept errors of up to 0.5ulps if - also at most max_valid_error. - (START): Take new argument EXACT and pass it to init_max_error. - (acos_test): Update call to START. - (acos_test_tonearest): Likewise. - (acos_test_towardzero): Likewise. - (acos_test_downward): Likewise. - (acos_test_upward): Likewise. - (acosh_test): Likewise. - (asin_test): Likewise. - (asin_test_tonearest): Likewise. - (asin_test_towardzero): Likewise. - (asin_test_downward): Likewise. - (asin_test_upward): Likewise. - (asinh_test): Likewise. - (atan_test): Likewise. - (atanh_test): Likewise. - (atan2_test): Likewise. - (cabs_test): Likewise. - (cacos_test): Likewise. - (cacosh_test): Likewise. - (carg_test): Likewise. - (casin_test): Likewise. - (casinh_test): Likewise. - (catan_test): Likewise. - (catanh_test): Likewise. - (cbrt_test): Likewise. - (ccos_test): Likewise. - (ccosh_test): Likewise. - (ceil_test): Likewise. - (cexp_test): Likewise. - (cimag_test): Likewise. - (clog_test): Likewise. - (clog10_test): Likewise. - (conj_test): Likewise. - (copysign_test): Likewise. - (cos_test): Likewise. - (cos_test_tonearest): Likewise. - (cos_test_towardzero): Likewise. - (cos_test_downward): Likewise. - (cos_test_upward): Likewise. - (cosh_test): Likewise. - (cosh_test_tonearest): Likewise. - (cosh_test_towardzero): Likewise. - (cosh_test_downward): Likewise. - (cosh_test_upward): Likewise. - (cpow_test): Likewise. - (cproj_test): Likewise. - (creal_test): Likewise. - (csin_test): Likewise. - (csinh_test): Likewise. - (csqrt_test): Likewise. - (ctan_test): Likewise. - (ctan_test_tonearest): Likewise. - (ctan_test_towardzero): Likewise. - (ctan_test_downward): Likewise. - (ctan_test_upward): Likewise. - (ctanh_test): Likewise. - (ctanh_test_tonearest): Likewise. - (ctanh_test_towardzero): Likewise. - (ctanh_test_downward): Likewise. - (ctanh_test_upward): Likewise. - (erf_test): Likewise. - (erfc_test): Likewise. - (exp_test): Likewise. - (exp_test_tonearest): Likewise. - (exp_test_towardzero): Likewise. - (exp_test_downward): Likewise. - (exp_test_upward): Likewise. - (exp10_test): Likewise. - (exp10_test_tonearest): Likewise. - (exp10_test_towardzero): Likewise. - (exp10_test_downward): Likewise. - (exp10_test_upward): Likewise. - (pow10_test): Likewise. - (exp2_test): Likewise. - (expm1_test): Likewise. - (expm1_test_tonearest): Likewise. - (expm1_test_towardzero): Likewise. - (expm1_test_downward): Likewise. - (expm1_test_upward): Likewise. - (fabs_test): Likewise. - (fdim_test): Likewise. - (floor_test): Likewise. - (fma_test): Likewise. - (fma_test_towardzero): Likewise. - (fma_test_downward): Likewise. - (fma_test_upward): Likewise. - (fmax_test): Likewise. - (fmin_test): Likewise. - (fmod_test): Likewise. - (fpclassify_test): Likewise. - (frexp_test): Likewise. - (hypot_test): Likewise. - (ilogb_test): Likewise. - (isfinite_test): Likewise. - (finite_test): Likewise. - (isgreater_test): Likewise. - (isgreaterequal_test): Likewise. - (isinf_test): Likewise. - (isless_test): Likewise. - (islessequal_test): Likewise. - (islessgreater_test): Likewise. - (isnan_test): Likewise. - (isnormal_test): Likewise. - (issignaling_test): Likewise. - (isunordered_test): Likewise. - (j0_test): Likewise. - (j1_test): Likewise. - (jn_test): Likewise. - (ldexp_test): Likewise. - (lgamma_test): Likewise. - (gamma_test): Likewise. - (lrint_test): Likewise. - (lrint_test_tonearest): Likewise. - (lrint_test_towardzero): Likewise. - (lrint_test_downward): Likewise. - (lrint_test_upward): Likewise. - (llrint_test): Likewise. - (llrint_test_tonearest): Likewise. - (llrint_test_towardzero): Likewise. - (llrint_test_downward): Likewise. - (llrint_test_upward): Likewise. - (log_test): Likewise. - (log10_test): Likewise. - (log1p_test): Likewise. - (log2_test): Likewise. - (logb_test): Likewise. - (logb_test_downward): Likewise. - (lround_test): Likewise. - (llround_test): Likewise. - (modf_test): Likewise. - (nearbyint_test): Likewise. - (nextafter_test): Likewise. - (nexttoward_test): Likewise. - (pow_test): Likewise. - (pow_test_tonearest): Likewise. - (pow_test_towardzero): Likewise. - (pow_test_downward): Likewise. - (pow_test_upward): Likewise. - (remainder_test): Likewise. - (drem_test): Likewise. - (remainder_test_tonearest): Likewise. - (drem_test_tonearest): Likewise. - (remainder_test_towardzero): Likewise. - (drem_test_towardzero): Likewise. - (remainder_test_downward): Likewise. - (drem_test_downward): Likewise. - (remainder_test_upward): Likewise. - (drem_test_upward): Likewise. - (remquo_test): Likewise. - (rint_test): Likewise. - (rint_test_tonearest): Likewise. - (rint_test_towardzero): Likewise. - (rint_test_downward): Likewise. - (rint_test_upward): Likewise. - (round_test): Likewise. - (scalb_test): Likewise. - (scalbn_test): Likewise. - (scalbln_test): Likewise. - (signbit_test): Likewise. - (sin_test): Likewise. - (sin_test_tonearest): Likewise. - (sin_test_towardzero): Likewise. - (sin_test_downward): Likewise. - (sin_test_upward): Likewise. - (sincos_test): Likewise. - (sinh_test): Likewise. - (sinh_test_tonearest): Likewise. - (sinh_test_towardzero): Likewise. - (sinh_test_downward): Likewise. - (sinh_test_upward): Likewise. - (sqrt_test): Likewise. - (sqrt_test_tonearest): Likewise. - (sqrt_test_towardzero): Likewise. - (sqrt_test_downward): Likewise. - (sqrt_test_upward): Likewise. - (tan_test): Likewise. - (tan_test_tonearest): Likewise. - (tan_test_towardzero): Likewise. - (tan_test_downward): Likewise. - (tan_test_upward): Likewise. - (tanh_test): Likewise. - (tgamma_test): Likewise. - (trunc_test): Likewise. - (y0_test): Likewise. - (y1_test): Likewise. - (yn_test): Likewise. - (significand_test): Likewise. - - * math/libm-test.inc (struct ulp_data): Don't refer to ulps for - individual tests in comment. - (libm-test-ulps.h): Don't refer to test_ulps in #include comment. - (prev_max_error): New variable. - (prev_real_max_error): Likewise. - (prev_imag_max_error): Likewise. - (compare_ulp_data): Don't refer to test names in comment. - (find_test_ulps): Remove function. - (find_function_ulps): Likewise. - (find_complex_function_ulps): Likewise. - (init_max_error): Take function name as argument. Look up ulps - for that function. - (print_ulps): Remove function. - (print_max_error): Use prev_max_error instead of calling - find_function_ulps. - (print_complex_max_error): Use prev_real_max_error and - prev_imag_max_error instead of calling find_complex_function_ulps. - (check_float_internal): Take max_ulp parameter instead of calling - find_test_ulps. Don't call print_ulps. - (check_float): Update call to check_float_internal. - (check_complex): Update calls to check_float_internal. - (START): Pass argument to init_max_error. - * math/gen-libm-test.pl (%results): Don't include "kind" - information. - (parse_ulps): Don't handle ulps of individual tests. - (print_ulps_file): Likewise. - (output_ulps): Likewise. - * math/README.libm-test: Update. - * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of - individual tests. - * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps. - * sysdeps/alpha/fpu/libm-test-ulps: Likewise. - * sysdeps/arm/libm-test-ulps: Likewise. - * sysdeps/i386/fpu/libm-test-ulps: Likewise. - * sysdeps/ia64/fpu/libm-test-ulps: Likewise. - * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise. - * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise. - * sysdeps/microblaze/libm-test-ulps: Likewise. - * sysdeps/mips/mips32/libm-test-ulps: Likewise. - * sysdeps/mips/mips64/libm-test-ulps: Likewise. - * sysdeps/powerpc/fpu/libm-test-ulps: Likewise. - * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise. - * sysdeps/s390/fpu/libm-test-ulps: Likewise. - * sysdeps/sh/libm-test-ulps: Likewise. - * sysdeps/sparc/fpu/libm-test-ulps: Likewise. - * sysdeps/tile/libm-test-ulps: Likewise. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2014-03-04 Joseph Myers - - * math/libm-test.inc (print_complex_max_error): Check separately - whether real and imaginary errors are within allowed range and - pass 0 to print_complex_function_ulps instead of value within - allowed range. - -2014-03-04 Siddhesh Poyarekar - - * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix - formatting. - (get_handles_fopen): Likewise. - (do_write_test): Likewise. - - * libio/wfileops.c (do_ftell_wide): Fix up formatting. - - * libio/fileops.c (do_ftell): Use cached offset when - available. - * libio/iofwide.c (do_ftell_wide): Likewise. - * libio/iofdopen.c (_IO_new_fdopen): Don't use - _IO_file_attach. - * libio/wfileops.c (_IO_fwide): Don't cache offset. - - [BZ #16532] - * libio/libioP.h (get_file_offset): New function. - * libio/fileops.c (get_file_offset): Likewise. - (do_ftell): Likewise. - (_IO_new_file_seekoff): Split out ftell logic. - * libio/wfileops.c (do_ftell_wide): Likewise. - (_IO_wfile_seekoff): Split out ftell logic. - * libio/tst-ftell-active-handler.c: New test case. - * libio/Makefile (tests): Add it. - -2014-03-03 Roland McGrath - - * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used. - * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used. - -2014-03-03 Siddhesh Poyarekar - - [BZ #16639] - * nscd/connections.c (nscd_init): Call do_exit. - (start_threads): Call do_exit and notify_parent. - (begin_drop_privileges): Call do_exit. - (finish_drop_privileges): Likewise. - * nscd/selinux.c (preserve_capabilities): Likewise. - (install_real_capabilities): Likewise. - (nscd_selinux_enabled): Likewise. - (avc_create_thread): Likewise. - (avc_alloc_lock): Likewise. - (nscd_avc_init): Likewise. - * nscd/nscd.c (parent_fd): New static variable. - (main): Create a pipe between parent and child processes. - Skip closing parent_fd. - (monitor_child): New function. - (do_exit): Likewise. - (notify_parent): Likewise. - * nscd/nscd.h (notify_parent): Likewise. - (do_exit): Likewise. - -2014-03-03 Carlos O'Donell - - * malloc/malloc.c (__libc_calloc): Revert last change. - -2014-03-03 Adhemerval Zanella - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - -2014-03-03 Rajalakshmi Srinivasaraghavan - - * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch - implementation. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: - (__libc_ifunc_impl_list): Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file. - * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file. - * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file. - * string/strrchr.c: Define STRRCHR. - -2014-02-28 Ondƙej BĂ­lka - - * benchtest/bench-strtok.c (simple_strtok): Delete. - (strtok_string): Use as benchmark. - * string/strtok (STRTOK): New macro. - -2014-02-28 Carlos O'Donell - - * manual/threads.texi: Add header and standard comments to all - functions. - - * elf/dl-lookup.c (check_match): New function. - (ELF_MACHINE_SYM_NO_MATCH): Adjust comment. - (do_lookup_x): Remove nested function check_match. Use non-nested - function check_match. - -2014-02-28 Roland McGrath - - * csu/Makefile (generated, before-compile): Use += rather than =. - * catgets/Makefile (generated, generated-dirs): Likewise. - * debug/Makefile (generated): Likewise. - * dlfcn/Makefile (generated): Likewise. - * elf/Makefile (before-compile, generated, generated-dirs): Likewise. - * iconvdata/Makefile (before-compile, generated): Likewise. - * intl/Makefile (before-compile, generated, generated-dirs): Likewise. - * libio/Makefile (generated): Likewise. - * malloc/Makefile (generated): Likewise. - * manual/Makefile (generated, generated-dirs): Likewise. - * misc/Makefile (generated): Likewise. - * posix/Makefile (generated): Likewise. - * resolv/Makefile (generated): Likewise. - * sunrpc/Makefile (generated, generated-dirs): Likewise. - * timezone/Makefile (generated, generated-dirs): Likewise. - - * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }. - -2014-02-27 Adhemerval Zanella - - * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround - power8 implementation. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New - file: POWER8 llround ifunc implementation. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c - (__lllround): Add POWER8 implementation. - * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file: - POWER8 llround implementation. - - * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint - power8 implementation. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New - file: POWER8 llrint ifunc implementation. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): - Add POWER8 implementation. - * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file: - POWER8 llrint implementation. - - * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite - power8 implementation. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New - file: POWER8 finite ifunc implementation. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): - Add POWER8 implementation. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef): - Likewise. - * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file: - POWER8 finite implementation. - * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file. - - * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf - power8 implementation. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New - file: POWER8 isinf ifunc implementation. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add - POWER8 implementation. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff): - Likewise. - * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8 - isinf implementation. - * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file. - - * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h - (INIT_ARCH): Add hwcap2 initialization. - * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan - power8 implementation. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New - file: POWER8 isnan ifunc implementation. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add - POWER8 implementation. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf): - Likewise. - * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8 - isnan implementation. - * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file. - -2014-02-27 Joey Ye - - * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D) - (_FP_NANFRAC_Q): Set to zero. - -2014-02-27 Siddhesh Poyarekar - - [BZ #16623] - * math/auto-libm-test-in: New test inputs. - * math/auto-libm-test-out: Regenerate. - * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A - and DA. - (__cos): Likewise. - * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate. - -2014-02-27 Joseph Myers - - * scripts/evaluate-test.sh: Take new argument indicating whether - failure is expected. - * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh - indicating whether failure is expected. - * conform/Makefile (test-xfail-run-conformtest): New variable. - ($(objpfx)run-conformtest.out): Don't expect to fail at makefile - level. - * posix/Makefile (test-xfail-annexc): New variable. - ($(objpfx)annexc.out): Don't expect to fail at makefile level. - -2014-02-26 Joseph Myers - - * argp/Makefile: Include Makeconfig immediately after defining - subdir. - * assert/Makefile: Likewise. - * benchtests/Makefile: Likewise. - * catgets/Makefile: Likewise. - * conform/Makefile: Likewise. - * crypt/Makefile: Likewise. - * csu/Makefile: Likewise. - (all): Remove target. - * ctype/Makefile: Include Makeconfig immediately after defining - subdir. - * debug/Makefile: Likewise. - * dirent/Makefile: Likewise. - * dlfcn/Makefile: Likewise. - * gmon/Makefile: Likewise. - * gnulib/Makefile: Likewise. - * grp/Makefile: Likewise. - * gshadow/Makefile: Likewise. - * hesiod/Makefile: Likewise. - * hurd/Makefile: Likewise. - (all): Remove target. - * iconvdata/Makefile: Include Makeconfig immediately after - defining subdir. - * inet/Makefile: Likewise. - * intl/Makefile: Likewise. - * io/Makefile: Likewise. - * libio/Makefile: Likewise. - (all): Remove target. - * locale/Makefile: Include Makeconfig immediately after defining - subdir. - * login/Makefile: Likewise. - * mach/Makefile: Likewise. - (all): Remove target. - * malloc/Makefile: Include Makeconfig immediately after defining - subdir. - (all): Remove target. - * manual/Makefile: Include Makeconfig immediately after defining - subdir. - * math/Makefile: Likewise. - * misc/Makefile: Likewise. - * nis/Makefile: Likewise. - * nss/Makefile: Likewise. - * po/Makefile: Likewise. - (all): Remove target. - * posix/Makefile: Include Makeconfig immediately after defining - subdir. - * pwd/Makefile: Likewise. - * resolv/Makefile: Likewise. - * resource/Makefile: Likewise. - * rt/Makefile: Likewise. - * setjmp/Makefile: Likewise. - * shadow/Makefile: Likewise. - * signal/Makefile: Likewise. - * socket/Makefile: Likewise. - * soft-fp/Makefile: Likewise. - * stdio-common/Makefile: Likewise. - * stdlib/Makefile: Likewise. - * streams/Makefile: Likewise. - * string/Makefile: Likewise. - * sunrpc/Makefile: Likewise. - (all): Remove target. - * sysvipc/Makefile: Include Makeconfig immediately after defining - subdir. - * termios/Makefile: Likewise. - * time/Makefile: Likewise. - * timezone/Makefile: Likewise. - (all): Remove target. - * wcsmbs/Makefile: Include Makeconfig immediately after defining - subdir. - * wctype/Makefile: Likewise. - -2014-02-26 Steve Ellcey - - * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New. - (libc_feholdexcept_mips): Use _FPU_MASK_ALL. - (libc_feholdexcept_setround_mips): Ditto. - (libc_feholdsetround): New. - (libc_feholdsetroundf): New. - (libc_feholdsetroundl): New. - (libc_feupdateenv_test_mips): New. - (libc_feupdateenv_test): New. - (libc_feupdateenv_testf): New. - (libc_feupdateenv_testl): New. - (libc_feresetround): New. - (libc_feresetroundf): New. - (libc_feresetroundl): New. - (libc_fetestexcept_mips): New. - (libc_fetestexcept): New. - (libc_fetestexceptf): New. - (libc_fetestexceptl): New. - (HAVE_RM_CTX): New. - (libc_feholdexcept_setround_mips_ctx): New. - (libc_feholdexcept_setround_ctx): New. - (libc_feholdexcept_setroundf_ctx): New. - (libc_feholdexcept_setroundl_ctx): New. - (libc_fesetenv_mips_ctx): New. - (libc_fesetenv_ctx): New. - (libc_fesetenv_ctxf): New. - (libc_fesetenv_ctxl): New. - (libc_feupdateenv_mips_ctx): New. - (libc_feupdateenv_ctx): New. - (libc_feupdateenvf_ctx): New. - (libc_feupdateenvl_ctx): New. - (libc_feholdsetround_mips_ctx): New. - (libc_feholdsetround_ctx): New. - (libc_feholdsetroundf_ctx): New. - (libc_feholdsetroundl_ctx): New. - (libc_feresetround_mips_ctx): New. - (libc_feresetround_ctx): New. - (libc_feresetroundf_ctx): New. - (libc_feresetroundl_ctx): New. - -2014-02-26 Carlos O'Donell - - * manual/ipc.texi (Semaphores): Use @Theglibc{}. - - * manual/ipc.texi: New file. - * manual/Makefile (chapters): Add ipc. - * manual/job.texi: Add "Inter-Process Communication" to next. - * manual/process.texi: Add "Inter-Process Communication" to prev. - -2014-02-26 Adhemerval Zanella - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - -2014-02-26 Ondƙej BĂ­lka - - * malloc/malloc.c (__libc_calloc): Simplify implementation. - - * manual/arith.texi: Fix spaces after sentences. - * manual/charset.texi: Likewise. - * manual/errno.texi: Likewise. - * manual/install.texi: Likewise. - * manual/llio.texi: Likewise. - * manual/locale.texi: Likewise. - * manual/maint.texi: Likewise. - * manual/math.texi: Likewise. - * manual/memory.texi: Likewise. - * manual/message.texi: Likewise. - * manual/probes.texi: Likewise. - * manual/resource.texi: Likewise. - * manual/signal.texi: Likewise. - * manual/socket.texi: Likewise. - * manual/stdio.texi: Likewise. - * manual/string.texi: Likewise. - * manual/time.texi: Likewise. - * manual/users.texi: Likewise. - -2014-02-25 Carlos O'Donell - - [BZ #16632] - * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if - _DEFAULT_SOURCE is defined. - -2014-02-25 Ulrich Drepper - Carlos O'Donell - - [BZ #16613] - * elf/dl-tls.c (_dl_count_modids): New function. - * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids. - * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in - audit library and increment generation counter. - (_dl_allocate_tls_init): Add assertion to check TLS generation count. - * elf/tst-audit9.c: New file. - * elf/tst-auditmod9a.c: New file. - * elf/tst-auditmod9b.c: New file. - * elf/Makefile: Add rules to build and run tst-audit9. - -2014-02-25 Florian Weimer - - [BZ #15347] - * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow. - -2014-02-25 Will Newton - - * sysdeps/arm/__longjmp.S: Include stap-probe.h. - (__longjmp): Restore sp and lr before restoring callee - saved registers. Add longjmp and longjmp_target - SystemTap probe point. - * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment. - * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP): - Define to zero to match jmpbuf layout. - * sysdeps/arm/setjmp.S: Include stap-probe.h. - (__sigsetjmp): Save sp and lr before saving callee - saved registers. Add setjmp SystemTap probe point. - -2014-02-24 Stefan Liebler - - * sysdeps/s390/fpu/libm-test-ulps: Regenerate. - -2014-02-24 Andreas Schwab - - [BZ #15804] - * elf/pldd.c (wait_for_ptrace_stop): New function. - (main): Call it after attaching. - -2014-02-22 Roland McGrath - - * Makerules ($(common-objpfx)Versions.v.i): No longer depend - on $(common-objpfx)abi-versions.h; using inside - Versions files is now verboten. - * hurd/Versions (libc: GLIBC_2.0): - Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections. - (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under - [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]. - * mach/Versions: Likewise. - - * csu/Versions: Remove unused %include. - * resolv/Versions: Likewise. - -2014-02-21 Joseph Myers - - * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test). - ($(objpfx)check-local-headers.out): Likewise. - ($(objpfx)begin-end-check.out): Likewise. - * Makerules (check-abi-%.out): Likewise. - * catgets/Makefile ($(objpfx)test1.cat): Likewise. - ($(objpfx)test2.cat): Likewise. - ($(objpfx)de/libc.cat): Likewise. - ($(objpfx)test-gencat.out): Likewise. - * conform/Makefile ($(objpfx)run-conformtest.out): Likewise. - * elf/Makefile ($(objpfx)order-cmp.out): Likewise. - ($(objpfx)noload-mem): Likewise. - ($(objpfx)tst-pathopt.out): Likewise. - ($(objpfx)tst-rtld-load-self.out): Likewise. - ($(objpfx)tst-array1-cmp.out): Likewise. - ($(objpfx)tst-array1-static-cmp.out): Likewise. - ($(objpfx)tst-array2-cmp.out): Likewise. - ($(objpfx)tst-array3-cmp.out): Likewise. - ($(objpfx)tst-array4-cmp.out): Likewise. - ($(objpfx)tst-array5-cmp.out): Likewise. - ($(objpfx)tst-array5-static-cmp.out): Likewise. - ($(objpfx)check-textrel.out): Likewise. - ($(objpfx)check-execstack.out): Likewise. - ($(objpfx)check-localplt.out): Likewise. - ($(objpfx)order2-cmp.out): Likewise. - ($(objpfx)tst-leaks1-mem): Likewise. - ($(objpfx)tst-leaks1-static-mem): Likewise. - ($(objpfx)tst-initorder-cmp.out): Likewise. - ($(objpfx)tst-initorder2-cmp.out): Likewise. - ($(objpfx)tst-unused-dep.out): Likewise. - ($(objpfx)tst-unused-dep-cmp.out): Likewise. - * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise. - * iconv/Makefile (test-iconvconfig): Likewise. - * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise. - ($(objpfx)iconv-test.out): Likewise. - ($(objpfx)tst-tables.out): Likewise. - * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise. - ($(objpfx)tst-gettext.out): Likewise. - ($(objpfx)tst-translit.out): Likewise. - ($(objpfx)tst-gettext2.out): Likewise. - ($(objpfx)tst-gettext4.out): Likewise. - ($(objpfx)tst-gettext6.out): Likewise. - * io/Makefile ($(objpfx)ftwtest.out): Likewise. - * libio/Makefile ($(objpfx)test-freopen.out): Likewise. - ($(objpfx)tst-fopenloc-cmp.out): Likewise. - ($(objpfx)tst-fopenloc-mem.out): Likewise. - * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise. - * misc/Makefile ($(objpfx)tst-error1-mem): Likewise. - * posix/Makefile ($(objpfx)globtest.out): Likewise. - ($(objpfx)wordexp-tst.out): Likewise. - ($(objpfx)annexc.out): Likewise. - ($(objpfx)tst-fnmatch-mem): Likewise. - ($(objpfx)bug-regex2-mem): Likewise. - ($(objpfx)bug-regex14-mem): Likewise. - ($(objpfx)bug-regex21-mem): Likewise. - ($(objpfx)bug-regex31-mem): Likewise. - ($(objpfx)tst-vfork3-mem): Likewise. - ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise. - ($(objpfx)tst-pcre-mem): Likewise. - ($(objpfx)tst-boost-mem): Likewise. - ($(objpfx)tst-getconf.out): Likewise. - ($(objpfx)bug-ga2-mem): Likewise. - ($(objpfx)bug-glob2-mem): Likewise. - * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise. - ($(objpfx)mtrace-tst-leaks2): Likewise. - * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise. - ($(objpfx)tst-printf.out): Likewise. - ($(objpfx)tst-setvbuf1.out): Likewise. - ($(objpfx)tst-setvbuf1-cmp.out): Likewise. - * stdlib/Makefile ($(objpfx)isomac.out): Likewise. - ($(objpfx)tst-fmtmsg.out): Likewise. - * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise. - * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise. - - * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals. - * bits/sigaction.h [__USE_MISC]: Likewise. - * bits/waitstatus.h: Update #endif comments. - * ctype/ctype.h: Likewise. - * dirent/dirent.h: Likewise. - [__USE_MISC]: Remove redundant conditionals. - * grp/grp.h: Update #endif comments. - [__USE_GNU]: Remove redundant conditionals. - [__USE_MISC]: Likewise. - * inet/netinet/in.h [__USE_GNU]: Likewise. - * io/sys/stat.h [__USE_MISC]: Likewise. - * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise. - * libio/bits/stdio.h: Update #endif comments. - [__USE_MISC]: Remove redundant conditionals. - * libio/bits/stdio2.h [__USE_MISC]: Likewise. - * libio/stdio.h: Update #endif comments. - [__USE_MISC]: Remove redundant conditionals. - * math/bits/math-finite.h [__USE_MISC]: Likewise. - * math/bits/mathcalls.h [__USE_MISC]: Likewise. - * math/math.h: Update #else and #endif comments. - [__USE_MISC]: Remove redundant conditionals. - * misc/sys/uio.h: Update #endif comments. - * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals. - * posix/glob.h [__USE_MISC]: Likewise. - * posix/sys/types.h: Update #endif comments. - [__USE_MISC]: Remove redundant conditionals. - * posix/sys/wait.h: Update #endif comments. - [__USE_MISC]: Remove redundant conditionals. - * posix/unistd.h: Update #endif comments. - [__USE_MISC]: Remove redundant conditionals. - * pwd/pwd.h [__USE_GNU]: Likewise. - [__USE_MISC]: Likewise. - * resolv/netdb.h [__USE_GNU]: Likewise. - * signal/signal.h: Update #endif comments. - [__USE_MISC]: Remove redundant conditionals. - * stdlib/stdlib.h: Update #else and #endif comments. - [__USE_MISC]: Remove redundant conditionals. - [__USE_GNU]: Likewise. - * string/bits/string2.h [__USE_MISC]: Likewise. - * string/string.h: Update #endif comments. - [__USE_MISC]: Remove redundant conditionals. - * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]: - Likewise. - * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise. - * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]: - Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]: - Likewise. - * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif - comments. - [__USE_MISC]: Remove redundant conditionals. - * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise. - * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise. - * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise. - * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]: - Likewise. - * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]: - Likewise. - * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]: - Likewise. - * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]: - Likewise. - * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]: - Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]: - Likewise. - * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise. - * sysdeps/x86/bits/string.h: Update #endif comments. - * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant - conditionals. - * time/sys/time.h: Update #endif comments. - * time/time.h: Likewise. - [__USE_MISC]: Remove redundant conditionals. - -2014-02-21 Yury Gribov - - [BZ #16600] - * sysdeps/arm/libm-test-ulps: Update for VFPv4. - -2014-02-21 Andreas Schwab - - * Versions.def (librt): Add GLIBC_2.17. - -2014-02-21 Adam Conrad - - * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a - synonym for _SYS_AUXV_H to allow direct inclusion. - * sysdeps/sparc/bits/hwcap.h: Likewise. - * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of - _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together. - * sysdeps/sparc/sysdep.h: Likewise. - -2014-02-21 Siddhesh Poyarekar - - * benchtests/bench-strrchr.c (do_test): Fix minor formatting. - -2014-02-21 Rajalakshmi Srinivasaraghavan - - * benchtests/bench-strrchr.c: Print length instead of position. - -2014-02-20 Joseph Myers - - [BZ #16611] - * sysdeps/unix/sysv/linux/kernel-features.h - [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL] - (__ASSUME_SENDMMSG_SOCKETCALL): Define. - [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ || - __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL): - Likewise. - [__i386__ || __powerpc__ || __sh__ || __sparc__] - (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise. - [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL] - (__ASSUME_SENDMMSG): Define instead of using previous - [__LINUX_KERNEL_VERSION >= 0x020627] condition. - * sysdeps/unix/sysv/linux/aarch64/kernel-features.h - (__ASSUME_SENDMMSG_SYSCALL): Define. - * sysdeps/unix/sysv/linux/alpha/kernel-features.h - [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL): - Likewise. - * sysdeps/unix/sysv/linux/arm/kernel-features.h - [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL): - Likewise. - * sysdeps/unix/sysv/linux/ia64/kernel-features.h - [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL): - Likewise. - * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL - && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL && - !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine. - [__ASSUME_SENDMMSG]: Change conditionals to - [__ASSUME_SENDMMSG_SOCKETCALL]. - * sysdeps/unix/sysv/linux/microblaze/kernel-features.h - [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL): - Define. - * sysdeps/unix/sysv/linux/mips/kernel-features.h - [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL): - Likewise. - * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL && - !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL && - !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine. - [!__ASSUME_SENDMMSG]: Change conditional to - [!__ASSUME_SENDMMSG_SOCKETCALL]. - * sysdeps/unix/sysv/linux/tile/kernel-features.h - [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL): - Define. - - [BZ #16610] - * sysdeps/unix/sysv/linux/kernel-features.h - [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL] - (__ASSUME_RECVMMSG_SOCKETCALL): Define. - [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ || - __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ - || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise. - [__i386__ || __sparc__] - (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise. - [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL] - (__ASSUME_RECVMMSG): Define instead of using previous - [__LINUX_KERNEL_VERSION >= 0x020621] condition. - * sysdeps/unix/sysv/linux/aarch64/kernel-features.h - (__ASSUME_RECVMMSG_SYSCALL): Define. - * sysdeps/unix/sysv/linux/alpha/kernel-features.h - [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL): - Likewise. - * sysdeps/unix/sysv/linux/arm/kernel-features.h - [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL): - Likewise. - * sysdeps/unix/sysv/linux/ia64/kernel-features.h - [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL): - Likewise. - * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL - && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL && - !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine. - [__ASSUME_RECVMMSG]: Change condition to - [__ASSUME_RECVMMSG_SOCKETCALL]. - * sysdeps/unix/sysv/linux/microblaze/kernel-features.h - [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL): - Define. - (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise. - * sysdeps/unix/sysv/linux/mips/kernel-features.h - [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL): - Likewise. - * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL && - !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL && - !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine. - [!__ASSUME_RECVMMSG]: Change condition to - [!__ASSUME_RECVMMSG_SOCKETCALL]. - * sysdeps/unix/sysv/linux/tile/kernel-features.h - (__ASSUME_RECVMMSG_SYSCALL): Define. - - [BZ #16609] - * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ || - __powerpc__ || __s390__ || __sh__ || __sparc__] - (__ASSUME_SOCKETCALL): Define. - [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL] - (__ASSUME_ACCEPT4_SOCKETCALL): Likewise. - [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__)) - || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ || - __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise. - [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise. - [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL] - (__ASSUME_ACCEPT4): Define instead of using previous - [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ || - __powerpc__ || __sparc__ || __s390__)] condition. - * sysdeps/unix/sysv/linux/aarch64/kernel-features.h - (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. - * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL && - !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL && - !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine. - [!__ASSUME_ACCEPT4]: Change condition to - [!__ASSUME_ACCEPT4_SOCKETCALL]. - * sysdeps/unix/sysv/linux/alpha/kernel-features.h - (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct - condition to [__LINUX_KERNEL_VERSION >= 0x030200]. - * sysdeps/unix/sysv/linux/arm/kernel-features.h - [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to - __ASSUME_ACCEPT4_SYSCALL. - * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]: - Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL]. - * sysdeps/unix/sysv/linux/ia64/kernel-features.h - [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to - __ASSUME_ACCEPT4_SYSCALL. - * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL - && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL && - !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine. - [__ASSUME_ACCEPT4]: Change condition to - [__ASSUME_ACCEPT4_SOCKETCALL]. - * sysdeps/unix/sysv/linux/m68k/kernel-features.h - (__ASSUME_SOCKETCALL): Define. - [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove. - * sysdeps/unix/sysv/linux/microblaze/kernel-features.h - (__ASSUME_SOCKETCALL): Define. - (__ASSUME_ACCEPT4): Remove. - [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL): - Define. - * sysdeps/unix/sysv/linux/mips/kernel-features.h - [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL): - Likewise. - * sysdeps/unix/sysv/linux/tile/kernel-features.h - (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. - - * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New - macro. - (HWCAP_ARM_LPAE): Likewise. - (HWCAP_ARM_EVTSTRM): Likewise. - * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags): - Add vpfd32, lpae and evtstrm. - * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT): - Increase to 22. - -2014-02-19 Joseph Myers - - * math/auto-libm-test-in: Add tests of clog10. - * math/auto-libm-test-out: Regenerated. - * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2014-02-18 Andreas Schwab - - [BZ #16574] - * resolv/res_send.c (send_vc): Add parameter ansp2_malloced. - Store non-zero if the second buffer was newly allocated. - (send_dg): Likewise. - (__libc_res_nsend): Add parameter ansp2_malloced and pass it down - to send_vc and send_dg. - (res_nsend): Pass NULL for ansp2_malloced. - * resolv/res_query.c (__libc_res_nquery): Add parameter - answerp2_malloced and pass it down to __libc_res_nsend. - (res_nquery): Pass additional NULL to __libc_res_nquery. - (__libc_res_nsearch): Add parameter answerp2_malloced and pass it - down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate - second answer buffer if answerp2_malloced was set. - (res_nsearch): Pass additional NULL to __libc_res_nsearch. - (__libc_res_nquerydomain): Add parameter - answerp2_malloced and pass it down to __libc_res_nquery. - (res_nquerydomain): Pass additional NULL to - __libc_res_nquerydomain. - * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass - additional NULL to __libc_res_nsend and __libc_res_nquery. - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass - additional NULL to __libc_res_nsearch. - (_nss_dns_gethostbyname4_r): Revert last change. Use new - parameter of __libc_res_nsearch to check for separately allocated - second buffer. - (_nss_dns_gethostbyaddr2_r): Pass additional NULL to - __libc_res_nquery. - * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass - additional NULL to __libc_res_nquery. - * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to - __libc_res_nsearch. - (gethostbyaddr): Pass additional NULL to __libc_res_nquery. - * include/resolv.h: Update prototypes of __libc_res_nquery, - __libc_res_nsearch, __libc_res_nsend. - -2014-02-18 Joseph Myers - - * math/auto-libm-test-in: Add tests of fma. - * math/auto-libm-test-out: Regenerated. - * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f. - (fma_towardzero_test_data): Likewise. - (fma_downward_test_data): Likewise. - (fma_upward_test_data): Likewise. - * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field - mpc_mode. - (rounding_modes): Add values for new field. - (func_calc_method): Add value mpfr_fff_f. - (func_calc_desc): Add mpfr_fff_f union field. - (test_function): Add field exact_args. - (FUNC): Add macro argument EXACT_ARGS. - (FUNC_mpfr_f_f): Update call to FUNC. - (FUNC_mpfr_f_f): Likewise. - (FUNC_mpfr_ff_f): Likewise. - (FUNC_mpfr_if_f): Likewise. - (FUNC_mpc_c_f): Likewise. - (FUNC_mpc_c_c): Likewise. - (test_functions): Add fma. Update calls to FUNC. - (handle_input_arg): Add argument exact_args. - (add_test): Update call to handle_input_arg. - (calc_generic_results): Add argument mode. Handle mpfr_fff_f. - (output_for_one_input_case): Update call to calc_generic_results. - Recalculate exact zero results in each rounding mode. - - * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are - non-negative before setting low bit. - * math/auto-libm-test-in: Mark one asin test possibly having - spurious underflow. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2014-02-17 David Holsgrove - - * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze. - * sysdeps/unix/sysv/linux/microblaze: Move directory from - ports/sysdeps/unix/sysv/linux/microblaze. - * README: Add missing listing for microblaze*-*-linux-gnu. - -2014-02-16 Ondƙej BĂ­lka - - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove - duplicate code - -2014-02-16 Mike Frysinger - - * sysdeps/ia64: Move directory from ports/sysdeps/ia64. - * sysdeps/unix/sysv/linux/ia64: Move directory from - ports/sysdeps/unix/sysv/linux/ia64. - * README: Update listing for ia64-*-linux-gnu. - -2014-02-14 Tomas Dohnalek - Joseph Myers - - * Makeconfig (test-name): New variable. - (evaluate-test): Likewise. - * Makerules (do-test-clean): Remove .test-result files. - (common-mostlyclean): Likewise. - * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules. - * scripts/evaluate-test.sh: New file. - -2014-02-14 Joseph Myers - - * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into - separate $(objpfx)tst-fopenloc-cmp.out and - $(objpfx)tst-fopenloc-mem.out targets. - (tests): Update dependencies. - * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8. - (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to - tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace. - (tst-rxspencer-no-utf8-ARGS): New variable. - (tst-rxspencer-no-utf8-ENV): Likewise. - (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem - instead of $(objpfx)tst-rxspencer-mem. - ($(objpfx)tst-rxspencer-mem): Change target to - $(objpfx)tst-rxspencer-no-utf8-mem. Depend on - $(objpfx)tst-rxspencer-no-utf8.out instead of running test program. - * posix/tst-rxspencer-no-utf8.c: New file. - - * elf/Makefile ($(objpfx)order.out): Remove rule. - [$(run-built-tests) = yes] (tests): Depend on - $(objpfx)order-cmp.out. - ($(objpfx)order-cmp.out): New rule. - [$(run-built-tests) = yes] (tests): Depend on - $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out, - $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out, - $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and - $(objpfx)tst-array5-static-cmp.out. - ($(objpfx)tst-array1.out): Remove rule. - ($(objpfx)tst-array1-cmp.out): New rule. - ($(objpfx)tst-array1-static.out): Remove rule. - ($(objpfx)tst-array1-static-cmp.out): New rule. - ($(objpfx)tst-array2.out): Remove rule. - ($(objpfx)tst-array2-cmp.out): New rule. - ($(objpfx)tst-array3.out): Remove rule. - ($(objpfx)tst-array3-cmp.out): New rule. - ($(objpfx)tst-array4.out): Remove rule. - ($(objpfx)tst-array4-cmp.out): New rule. - ($(objpfx)tst-array5.out): Remove rule. - ($(objpfx)tst-array5-cmp.out): New rule. - ($(objpfx)tst-array5-static.out): Remove rule. - ($(objpfx)tst-array5-static-cmp.out): New rule. - [$(run-built-tests) = yes] (tests): Depend on - $(objpfx)order2-cmp.out. - ($(objpfx)order2.out): Remove rule. - ($(objpfx)order2-cmp.out): New rule. - ($(objpfx)tst-initorder.out): Remove rule. - [$(run-built-tests) = yes] (tests): Depend on - $(objpfx)tst-initorder-cmp.out. - ($(objpfx)tst-initorder-cmp.out): New rule. - ($(objpfx)tst-initorder2.out): Remove rule. - [$(run-built-tests) = yes] (tests): Depend on - $(objpfx)tst-initorder2-cmp.out. - ($(objpfx)tst-initorder2-cmp.out): New rule. - [$(run-built-tests) = yes] (tests): Depend on - $(objpfx)tst-unused-dep-cmp.out. - ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp. - ($(objpfx)tst-unused-dep-cmp.out): New rule. - * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend - on $(objpfx)tst-setvbuf1-cmp.out. - ($(objpfx)tst-setvbuf1.out): Do not run cmp. - ($(objpfx)tst-setvbuf1-cmp.out): New rule. - * string/Makefile [$(run-built-tests) = yes] (tests): Depend - $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out. - ($(objpfx)tst-svc.out): Remove rule. - ($(objpfx)tst-svc-cmp.out): New rule. - -2014-02-13 Joseph Myers - - * bits/mman.h [__USE_MISC]: Remove redundant conditionals. - * ctype/ctype.h [__USE_MISC]: Likewise. - * dirent/dirent.h [__USE_MISC]: Likewise. - * grp/grp.h [__USE_MISC]: Likewise. - * io/fcntl.h [__USE_MISC]: Likewise. - * io/sys/stat.h [__USE_MISC]: Likewise. - * libio/stdio.h [__USE_MISC]: Likewise. - * posix/unistd.h [__USE_MISC]: Likewise. - * pwd/pwd.h [__USE_MISC]: Likewise. - * stdlib.h [__USE_MISC]: Likewise. - * string/bits/string2.h [__USE_MISC]: Likewise. - * string/string.h [__USE_MISC]: Likewise. - * time/time.h [__USE_MISC]: Likewise. - -2014-02-13 Andreas Schwab - - [BZ #16574] - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the - second answer buffer if it was separately allocated. - -2014-02-12 Joseph Myers - - * sysdeps/mips/math-tests.h: Include . - [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)] - (ROUNDING_TESTS_long_double): Do not define. - [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)] - (EXCEPTION_TESTS_long_double): Likewise. - * sysdeps/mips/mips64/libm-test-ulps: Update. - - * include/features.h (__USE_BSD): Remove macro definitions. - (__USE_SVID): Likewise. - (_BSD_SOURCE): Likewise. - (_SVID_SOURCE): Likewise. - [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition - from definition of _DEFAULT_SOURCE. - [_BSD_SOURCE || _SVID_SOURCE]: Change condition to - [_DEFAULT_SOURCE]. - * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC]. - * bits/mman.h [__USE_BSD]: Likewise. - * bits/termios.h [__USE_BSD]: Likewise. - * bits/waitstatus.h [__USE_BSD]: Likewise. - * ctype/ctype.h [__USE_SVID]: Likewise. - * dirent/dirent.h [__USE_BSD]: Likewise. - * grp/grp.h [__USE_SVID]: Likewise. - [__USE_BSD]: Likewise. - * inet/netinet/igmp.h [__USE_BSD]: Likewise. - * io/fcntl.h [__USE_BSD]: Likewise. - * io/ftw.h [__USE_BSD]: Likewise. - * io/sys/stat.h [__USE_BSD]: Likewise. - * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise. - * libio/bits/stdio2.h [__USE_BSD]: Likewise. - * libio/stdio.h [__USE_SVID]: Likewise. - [__USE_BSD]: Likewise. - * math/math.h [__USE_SVID]: Likewise. - [__USE_BSD]: Likewise. - * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise. - * misc/bits/syslog.h [__USE_BSD]: Likewise. - * misc/search.h [__USE_SVID]: Likewise. - * misc/sys/mman.h [__USE_BSD]: Likewise. - * misc/sys/syslog.h [__USE_BSD]: Likewise. - * misc/sys/uio.h [__USE_BSD]: Likewise. - * posix/bits/unistd.h [__USE_BSD]: Likewise. - * posix/glob.h [__USE_BSD]: Likewise. - * posix/regex.h [__USE_BSD]: Likewise. - * posix/sys/types.h [__USE_BSD]: Likewise. - [__USE_SVID]: Likewise. - * posix/sys/utsname.h [__USE_SVID]: Likewise. - * posix/sys/wait.h [__USE_BSD]: Likewise. - [__USE_SVID]: Likewise. - * posix/unistd.h [__USE_BSD]: Likewise. - [__USE_SVID]: Likewise. - * pwd/pwd.h [__USE_SVID]: Likewise. - * resolv/netdb.h [__USE_BSD]: Likewise. - * setjmp/setjmp.h [__USE_BSD]: Likewise. - * signal/signal.h [__USE_BSD]: Likewise. - [__USE_SVID]: Likewise. - * socket/sys/socket.h [__USE_BSD]: Likewise. - * stdlib/fmtmsg.h [__USE_SVID]: Likewise. - * stdlib/stdlib.h [__USE_BSD]: Likewise. - [__USE_SVID]: Likewise. - * string/bits/string2.h [__USE_BSD]: Likewise. - [__USE_SVID]: Likewise. - * string/bits/string3.h [__USE_BSD]: Likewise. - * string/endian.h [__USE_BSD]: Likewise. - * string/string.h [__USE_SVID]: Likewise. - [__USE_BSD]: Likewise. - * string/strings.h [__USE_BSD]: Likewise. - * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise. - * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise. - * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise. - * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]: - Likewise. - * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]: - Likewise. - * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise. - * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]: - Likewise. - * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]: - Likewise. - * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]: - Likewise. - * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise. - * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]: - Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]: - Likewise. - * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise. - * sysvipc/sys/ipc.h [__USE_SVID]: Likewise. - * termios/termios.h [__USE_BSD]: Likewise. - * time/sys/time.h [__USE_BSD]: Likewise. - * time/time.h [__USE_BSD]: Likewise. - [__USE_SVID]: Likewise. - - * Makefile (subdir_targets): Remove subdir_lint.out. - - * stdio-common/Makefile (do-tst-unbputc): Remove target. - (do-tst-printf): Likewise. - (tests): Depend directly on $(objpfx)tst-unbputc.out and - $(objpfx)tst-printf.out. - - * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out. - - * Makerules (check-abi-%): Change target to - $(objpfx)check-abi-%.out. - (check-abi target): Update dependencies. - (check-abi-pattern variable): Redirect output of diff to $@. - (check-abi variable): Likewise. - * elf/Makefile (check-abi): Update dependencies. - - * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly - unused. - (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted - value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in - subnormal range. - (_FP_PACK_CANONICAL): Determine tininess based on rounding to - normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded - value has largest subnormal exponent. - * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] - (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0. - * sysdeps/aarch64/soft-fp/sfp-machine.h - (_FP_TININESS_AFTER_ROUNDING): New macro. - * sysdeps/alpha/soft-fp/sfp-machine.h - (_FP_TININESS_AFTER_ROUNDING): Likewise. - * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): - Likewise. - * sysdeps/mips/mips64/soft-fp/sfp-machine.h - (_FP_TININESS_AFTER_ROUNDING): Likewise. - * sysdeps/mips/soft-fp/sfp-machine.h - (_FP_TININESS_AFTER_ROUNDING): Likewise. - * sysdeps/powerpc/soft-fp/sfp-machine.h - (_FP_TININESS_AFTER_ROUNDING): Likewise. - * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): - Likewise. - * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h - (_FP_TININESS_AFTER_ROUNDING): Likewise. - * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h - (_FP_TININESS_AFTER_ROUNDING): Likewise. - * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): - Likewise. - -2014-02-12 Dylan Alex Simon - - [BZ #16545] - * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h - model 1. - -2014-02-12 Richard Henderson - - * sysdeps/alpha: Move directory from ports/sysdeps/alpha. - * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha. - * sysdeps/unix/sysv/linux/alpha: Move directory from - ports/sysdeps/unix/sysv/linux/alpha. - * README: Update listing for alpha-*-linux-gnu. - -2014-02-11 Joseph Myers - - * include/features.h: Update comment documenting feature test - macros. - [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define - _DEFAULT_SOURCE. - * manual/creature.texi (_BSD_SOURCE): Remove documentation. - (_SVID_SOURCE): Likewise. - (_DEFAULT_SOURCE): Update description of default features. - (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction - with _GNU_SOURCE. - * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE. - (S_ISVTX): Likewise. - * manual/math.texi (Mathematical Constants): Likewise. - * manual/signal.texi (Interrupted Primitives): Likewise. - * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE. - * math/test-matherr.c (_SVID_SOURCE): Do not define. - * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]: - Don't refer to _SVID_SOURCE in warning text. - - * sysdeps/x86_64/fpu/libm-test-ulps: Update. - - * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not - already defined. - (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH. - * sysdeps/mips/dl-lookup.c: Remove. - * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro. - -2014-02-11 Stefan Liebler - - [BZ #16447] - * math/auto-libm-test-in: Add testcase for expl. - * math/auto-libm-test-out: Regenerate. - * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix - calculation of unsafe. - * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase. - -2014-02-11 Marcus Shawcroft - - * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64. - * sysdeps/unix/sysv/linux/aarch64: Move directory from - ports/sysdeps/unix/sysv/linux/aarch64. - * README: Update listing for aarch64*-*-linux-gnu. - -2014-02-11 Will Newton - - * manual/probes.texi (Mathematical Function Probes): Use - "triggered" instead of "hit". - - * manual/probes.texi (Internal Probes): Add documentation - of setjmp, longjmp and longjmp_target probes. - - * include/stap-probe.h: Add comment about probe argument - format. - - * malloc/mtrace.c (attribute_hidden): Remove unused macro - definition. (tr_where, tr_freehook, tr_mallochook, - tr_reallochook, tr_memalignhook): Use ANSI protoype. - -2014-02-11 David S. Miller - - * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when - processing int_tests. - -2014-02-10 Joseph Myers - - * sysdeps/mips: Move directory from ports/sysdeps/mips. - * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips. - * sysdeps/unix/sysv/linux/mips: Move directory from - ports/sysdeps/unix/sysv/linux/mips. - * README: Update listing for mips-*-linux-gnu and - mips64-*-linux-gnu. - -2014-02-10 Andreas Schwab - - * sysdeps/m68k: Move directory from ports/sysdeps/m68k. - * sysdeps/unix/sysv/linux/m68k: Move directory from - ports/sysdeps/unix/sysv/linux/m68k. - * README: Update listing for m68k-*-linux-gnu. - -2014-02-10 Chris Metcalf - - * sysdeps/tile: Move directory from ports/sysdeps/tile. - * sysdeps/unix/sysv/linux/generic: Move directory from - ports/sysdeps/unix/sysv/linux/generic. - * sysdeps/unix/sysv/linux/tile: Move directory from - ports/sysdeps/unix/sysv/linux/tile. - * README: Update listing for tile*-*-linux-gnu. - -2014-02-10 Ondƙej BĂ­lka - - * assert/assert.c (__assert_fail_base): Use glibc_likely instead - __builtin_expect. - * benchtests/bench-memmem.c (simple_memmem): Likewise. - * catgets/open_catalog.c (__open_catalog): Likewise. - * csu/libc-start.c (LIBC_START_MAIN): Likewise. - * debug/confstr_chk.c: Likewise. - * debug/fread_chk.c (__fread_chk): Likewise. - * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise. - * debug/getgroups_chk.c: Likewise. - * debug/mbsnrtowcs_chk.c: Likewise. - * debug/mbsrtowcs_chk.c: Likewise. - * debug/mbstowcs_chk.c: Likewise. - * debug/memcpy_chk.c: Likewise. - * debug/memmove_chk.c: Likewise. - * debug/mempcpy_chk.c: Likewise. - * debug/memset_chk.c: Likewise. - * debug/stpcpy_chk.c (__stpcpy_chk): Likewise. - * debug/strcat_chk.c (__strcat_chk): Likewise. - * debug/strcpy_chk.c (__strcpy_chk): Likewise. - * debug/strncat_chk.c (__strncat_chk): Likewise. - * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise. - * debug/vswprintf_chk.c (__vswprintf_chk): Likewise. - * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise. - * debug/wcpncpy_chk.c: Likewise. - * debug/wcscat_chk.c (__wcscat_chk): Likewise. - * debug/wcscpy_chk.c (__wcscpy_chk): Likewise. - * debug/wcsncat_chk.c (__wcsncat_chk): Likewise. - * debug/wcsncpy_chk.c: Likewise. - * debug/wcsnrtombs_chk.c: Likewise. - * debug/wcsrtombs_chk.c: Likewise. - * debug/wcstombs_chk.c: Likewise. - * debug/wmemcpy_chk.c: Likewise. - * debug/wmemmove_chk.c: Likewise. - * debug/wmempcpy_chk.c: Likewise. - * debug/wmemset_chk.c: Likewise. - * dirent/scandirat.c (SCANDIRAT): Likewise. - * dlfcn/dladdr1.c (dladdr1): Likewise. - * dlfcn/dladdr.c (dladdr): Likewise. - * dlfcn/dlclose.c (dlclose_doit): Likewise. - * dlfcn/dlerror.c (__dlerror): Likewise. - * dlfcn/dlinfo.c (dlinfo_doit): Likewise. - * dlfcn/dlmopen.c (dlmopen_doit): Likewise. - * dlfcn/dlopen.c (dlopen_doit): Likewise. - * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise. - * dlfcn/dlsym.c (dlsym_doit): Likewise. - * dlfcn/dlvsym.c (dlvsym_doit): Likewise. - * elf/dl-cache.c (_dl_load_cache_lookup): Likewise. - * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close): - Likewise. - * elf/dl-conflict.c: Likewise. - * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise. - * elf/dl-dst.h: Likewise. - * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise. - * elf/dl-fptr.c (_dl_make_fptr): Likewise. - * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise. - * elf/dl-init.c (call_init, _dl_init): Likewise. - * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise. - * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths) - (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object): - Likewise. - * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x): - Likewise. - * elf/dl-minimal.c (__libc_memalign): Likewise. - * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise. - * elf/dl-reloc.c (_dl_relocate_object): Likewise. - * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise. - * elf/dl-sym.c (do_sym): Likewise. - * elf/dl-tls.c (tls_get_addr_tail, update_get_addr) - (__tls_get_addr, _dl_tls_get_addr_soft): Likewise. - * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise. - * elf/dl-writev.h (_dl_writev): Likewise. - * elf/ldconfig.c (search_dir): Likewise. - * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload) - (dl_main): Likewise. - * elf/setup-vdso.h (setup_vdso): Likewise. - * grp/compat-initgroups.c (compat_call): Likewise. - * grp/fgetgrent.c (fgetgrent): Likewise. - * grp/initgroups.c (getgrouplist, initgroups): Likewise. - * grp/putgrent.c (putgrent): Likewise. - * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn): - Likewise. - * hurd/hurdinit.c: Likewise. - * iconvdata/8bit-gap.c (struct): Likewise. - * iconvdata/ansi_x3.110.c : Likewise. - * iconvdata/big5.c : Likewise. - * iconvdata/big5hkscs.c : Likewise. - * iconvdata/cp1255.c: Likewise. - * iconvdata/cp1258.c : Likewise. - * iconvdata/cp932.c : Likewise. - * iconvdata/euc-cn.c: Likewise. - * iconvdata/euc-jisx0213.c : Likewise. - * iconvdata/euc-jp.c: Likewise. - * iconvdata/euc-jp-ms.c : Likewise. - * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise. - * iconvdata/gb18030.c : Likewise. - * iconvdata/gbbig5.c (const): Likewise. - * iconvdata/gbgbk.c: Likewise. - * iconvdata/gbk.c : Likewise. - * iconvdata/ibm1364.c : Likewise. - * iconvdata/ibm930.c : Likewise. - * iconvdata/ibm932.c: Likewise. - * iconvdata/ibm933.c : Likewise. - * iconvdata/ibm935.c : Likewise. - * iconvdata/ibm937.c : Likewise. - * iconvdata/ibm939.c : Likewise. - * iconvdata/ibm943.c: Likewise. - * iconvdata/iso_11548-1.c: Likewise. - * iconvdata/iso-2022-cn.c : Likewise. - * iconvdata/iso-2022-cn-ext.c : Likewise. - * iconvdata/iso-2022-jp-3.c: Likewise. - * iconvdata/iso-2022-jp.c (gconv_end): Likewise. - * iconvdata/iso-2022-kr.c : Likewise. - * iconvdata/iso646.c (gconv_end): Likewise. - * iconvdata/iso_6937-2.c : Likewise. - * iconvdata/iso_6937.c : Likewise. - * iconvdata/iso8859-1.c: Likewise. - * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise. - * iconvdata/shift_jisx0213.c : Likewise. - * iconvdata/sjis.c : Likewise. - * iconvdata/t.61.c : Likewise. - * iconvdata/tcvn5712-1.c : Likewise. - * iconvdata/tscii.c: Likewise. - * iconvdata/uhc.c : Likewise. - * iconvdata/unicode.c (gconv_end): Likewise. - * iconvdata/utf-16.c (gconv_end): Likewise. - * iconvdata/utf-32.c (gconv_end): Likewise. - * iconvdata/utf-7.c (base64): Likewise. - * iconv/gconv_cache.c (__gconv_load_cache): Likewise. - * iconv/gconv_close.c (__gconv_close): Likewise. - * iconv/gconv_open.c (__gconv_open): Likewise. - * iconv/gconv_simple.c (internal_ucs4_loop_single) - (ucs4_internal_loop, ucs4_internal_loop_unaligned) - (ucs4_internal_loop_single, internal_ucs4le_loop_single) - (ucs4le_internal_loop, ucs4le_internal_loop_unaligned) - (ucs4le_internal_loop_single): Likewise. - * iconv/iconv.c (iconv): Likewise. - * iconv/iconv_close.c: Likewise. - * iconv/loop.c (SINGLE): Likewise. - * iconv/skeleton.c (FUNCTION_NAME): Likewise. - * include/atomic.h: Likewise. - * inet/inet6_option.c (option_alloc): Likewise. - * intl/bindtextdom.c (set_binding_values): Likewise. - * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise. - * intl/loadmsgcat.c (_nl_load_domain): Likewise. - * intl/localealias.c (read_alias_file): Likewise. - * libio/filedoalloc.c (_IO_file_doallocate): Likewise. - * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap) - (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise. - * libio/fmemopen.c (fmemopen): Likewise. - * libio/iofgets.c (_IO_fgets): Likewise. - * libio/iofgets_u.c (fgets_unlocked): Likewise. - * libio/iofgetws.c (fgetws): Likewise. - * libio/iofgetws_u.c (fgetws_unlocked): Likewise. - * libio/iogetdelim.c (_IO_getdelim): Likewise. - * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap) - (adjust_wide_data, _IO_wfile_seekoff): Likewise. - * locale/findlocale.c (_nl_find_locale): Likewise. - * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise. - * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale): - Likewise. - * locale/setlocale.c (setlocale): Likewise. - * login/programs/pt_chown.c (main): Likewise. - * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise. - * malloc/malloc.c (_int_malloc, _int_free): Likewise. - * malloc/memusage.c (update_data, malloc, realloc, calloc, free) - (mmap, mmap64, mremap, munmap): Likewise. - * math/e_exp2l.c: Likewise. - * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise. - * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise. - * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise. - * math/s_catan.c (__catan): Likewise. - * math/s_catanf.c (__catanf): Likewise. - * math/s_catanh.c (__catanh): Likewise. - * math/s_catanhf.c (__catanhf): Likewise. - * math/s_catanhl.c (__catanhl): Likewise. - * math/s_catanl.c (__catanl): Likewise. - * math/s_ccosh.c (__ccosh): Likewise. - * math/s_ccoshf.c (__ccoshf): Likewise. - * math/s_ccoshl.c (__ccoshl): Likewise. - * math/s_cexp.c (__cexp): Likewise. - * math/s_cexpf.c (__cexpf): Likewise. - * math/s_cexpl.c (__cexpl): Likewise. - * math/s_clog10.c (__clog10): Likewise. - * math/s_clog10f.c (__clog10f): Likewise. - * math/s_clog10l.c (__clog10l): Likewise. - * math/s_clog.c (__clog): Likewise. - * math/s_clogf.c (__clogf): Likewise. - * math/s_clogl.c (__clogl): Likewise. - * math/s_csin.c (__csin): Likewise. - * math/s_csinf.c (__csinf): Likewise. - * math/s_csinh.c (__csinh): Likewise. - * math/s_csinhf.c (__csinhf): Likewise. - * math/s_csinhl.c (__csinhl): Likewise. - * math/s_csinl.c (__csinl): Likewise. - * math/s_csqrt.c (__csqrt): Likewise. - * math/s_csqrtf.c (__csqrtf): Likewise. - * math/s_csqrtl.c (__csqrtl): Likewise. - * math/s_ctan.c (__ctan): Likewise. - * math/s_ctanf.c (__ctanf): Likewise. - * math/s_ctanh.c (__ctanh): Likewise. - * math/s_ctanhf.c (__ctanhf): Likewise. - * math/s_ctanhl.c (__ctanhl): Likewise. - * math/s_ctanl.c (__ctanl): Likewise. - * math/w_pow.c: Likewise. - * math/w_powf.c: Likewise. - * math/w_powl.c: Likewise. - * math/w_scalb.c (sysv_scalb): Likewise. - * math/w_scalbf.c (sysv_scalbf): Likewise. - * math/w_scalbl.c (sysv_scalbl): Likewise. - * misc/error.c (error_tail): Likewise. - * misc/pselect.c (__pselect): Likewise. - * nis/nis_callback.c (__nis_create_callback): Likewise. - * nis/nis_call.c (__nisfind_server): Likewise. - * nis/nis_creategroup.c (nis_creategroup): Likewise. - * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise. - * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise. - * nis/nis_getservlist.c (nis_getservlist): Likewise. - * nis/nis_lookup.c (nis_lookup): Likewise. - * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise. - * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry) - (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise. - * nis/nis_xdr.c (xdr_endpoint): Likewise. - * nis/nss_compat/compat-grp.c (getgrent_next_file) - (internal_getgrnam_r, internal_getgrgid_r): Likewise. - * nis/nss_compat/compat-initgroups.c (add_group) - (internal_getgrent_r): Likewise. - * nis/nss_compat/compat-pwd.c (getpwent_next_file) - (internal_getpwnam_r, internal_getpwuid_r): Likewise. - * nis/nss_compat/compat-spwd.c (getspent_next_file) - (internal_getspnam_r): Likewise. - * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r) - (_nss_nis_getaliasbyname_r): Likewise. - * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r) - (_nss_nis_getntohost_r): Likewise. - * nis/nss_nis/nis-grp.c (internal_nis_setgrent) - (internal_nis_getgrent_r, _nss_nis_getgrnam_r) - (_nss_nis_getgrgid_r): Likewise. - * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent) - (internal_nis_gethostent_r, internal_gethostbyname2_r) - (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r) - (_nss_nis_gethostbyname4_r): Likewise. - * nis/nss_nis/nis-initgroups.c (internal_getgrent_r) - (initgroups_netid): Likewise. - * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise. - * nis/nss_nis/nis-network.c (internal_nis_getnetent_r) - (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise. - * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r) - (_nss_nis_getprotobynumber_r): Likewise. - * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey) - (_nss_nis_getsecretkey): Likewise. - * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent) - (internal_nis_getpwent_r, _nss_nis_getpwnam_r) - (_nss_nis_getpwuid_r): Likewise. - * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r) - (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise. - * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r) - (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise. - * nis/nss_nis/nis-spwd.c (_nss_nis_setspent) - (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise. - * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r): - Likewise. - * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r) - (_nss_nisplus_getntohost_r): Likewise. - * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r) - (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise. - * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r) - (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): - Likewise. - * nis/nss_nisplus/nisplus-initgroups.c - (_nss_nisplus_initgroups_dyn): Likewise. - * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r) - (_nss_nisplus_getnetbyaddr_r): Likewise. - * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r) - (_nss_nisplus_getprotobynumber_r): Likewise. - * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r) - (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise. - * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r): - Likewise. - * nis/nss_nisplus/nisplus-service.c - (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r) - (_nss_nisplus_getservbyport_r): Likewise. - * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r) - (_nss_nisplus_getspnam_r): Likewise. - * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): - Likewise. - * nscd/aicache.c (addhstaiX): Likewise. - * nscd/cache.c (cache_search, prune_cache): Likewise. - * nscd/connections.c (register_traced_file, send_ro_fd) - (handle_request, nscd_run_prune, nscd_run_worker, fd_ready) - (main_loop_epoll): Likewise. - * nscd/grpcache.c (addgrbyX): Likewise. - * nscd/hstcache.c (addhstbyX): Likewise. - * nscd/initgrcache.c (addinitgroupsX): Likewise. - * nscd/mem.c (gc, mempool_alloc): Likewise. - * nscd/netgroupcache.c (do_notfound, addgetnetgrentX) - (addinnetgrX): Likewise. - * nscd/nscd-client.h (__nscd_acquire_maplock) - (__nscd_drop_map_ref): Likewise. - * nscd/nscd_getai.c (__nscd_getai): Likewise. - * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. - * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r): - Likewise. - * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise. - * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise. - * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping) - (__nscd_get_map_ref): Likewise. - * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise. - * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): - Likewise. - * nscd/pwdcache.c (addpwbyX): Likewise. - * nscd/selinux.c (preserve_capabilities): Likewise. - * nscd/servicescache.c (addservbyX): Likewise. - * nss/nss_files/files-XXX.c (internal_getent): Likewise. - * posix/fnmatch.c (fnmatch): Likewise. - * posix/getopt.c (_getopt_internal_r): Likewise. - * posix/glob.c (glob, glob_in_dir): Likewise. - * posix/wordexp.c (exec_comm_child): Likewise. - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r) - (getanswer_r, gaih_getanswer_slice): Likewise. - * resolv/nss_dns/dns-network.c (getanswer_r): Likewise. - * resolv/res_init.c: Likewise. - * resolv/res_mkquery.c (res_nmkquery): Likewise. - * resolv/res_query.c (__libc_res_nquery): Likewise. - * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg): - Likewise. - * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise. - * stdio-common/perror.c (perror): Likewise. - * stdio-common/printf_fp.c (___printf_fp): Likewise. - * stdio-common/tmpnam.c (tmpnam): Likewise. - * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise. - * stdlib/cxa_finalize.c (__cxa_finalize): Likewise. - * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): - Likewise. - * stdlib/drand48-iter.c (__drand48_iterate): Likewise. - * stdlib/putenv.c (putenv): Likewise. - * stdlib/setenv.c (__add_to_environ): Likewise. - * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise. - * stdlib/strtol_l.c (INTERNAL): Likewise. - * string/memmem.c (memmem): Likewise. - * string/strerror.c (strerror): Likewise. - * string/strnlen.c (__strnlen): Likewise. - * string/test-memmem.c (simple_memmem): Likewise. - * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise. - * sunrpc/pm_getport.c (__get_socket): Likewise. - * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise. - * sysdeps/i386/dl-irel.h (elf_irel): Likewise. - * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup) - (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela): - Likewise. - * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise. - * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise. - * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise. - * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise. - * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise. - * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): - Likewise. - * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): - Likewise. - * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise. - * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise. - * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise. - * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise. - * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise. - * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise. - * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise. - * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise. - * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise. - * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise. - * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh): - Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): - Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): - Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise. - * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise. - * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise. - * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise. - * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise. - * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): - Likewise. - * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l): - Likewise. - * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l): - Likewise. - * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl): - Likewise. - * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise. - * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise. - * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres): - Likewise. - * sysdeps/posix/fdopendir.c (__fdopendir): Likewise. - * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise. - * sysdeps/posix/opendir.c (__opendirat): Likewise. - * sysdeps/posix/sleep.c: Likewise. - * sysdeps/posix/tempname.c: Likewise. - * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise. - * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela): - Likewise. - * sysdeps/powerpc/powerpc32/dl-machine.h - (elf_machine_runtime_setup, elf_machine_rela): Likewise. - * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise. - * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise. - * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise. - * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend): - Likewise. - * sysdeps/s390/dl-irel.h (elf_irela): Likewise. - * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup) - (elf_machine_rela, elf_machine_lazy_rel): Likewise. - * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup) - (elf_machine_rela, elf_machine_lazy_rel): Likewise. - * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise. - * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise. - * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise. - * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise. - * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise. - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela) - (elf_machine_lazy_rel): Likewise. - * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela) - (elf_machine_lazy_rel): Likewise. - * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise. - * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise. - * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise. - * sysdeps/unix/grantpt.c (grantpt): Likewise. - * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise. - * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise. - * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise. - * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): - Likewise. - * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise. - * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise. - * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise. - * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise. - * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise. - * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise. - * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise. - * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise. - * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise. - * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise. - * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq): - Likewise. - * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c - (__posix_fallocate64_l64): Likewise. - * sysdeps/unix/sysv/linux/i386/posix_fallocate.c - (posix_fallocate): Likewise. - * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): - Likewise. - * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request) - (getifaddrs_internal): Likewise. - * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise. - * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise. - * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise. - * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise. - * sysdeps/unix/sysv/linux/posix_fallocate64.c - (__posix_fallocate64_l64): Likewise. - * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): - Likewise. - * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise. - * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c - (__get_clockfreq): Likewise. - * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise. - * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise. - * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise. - * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise. - * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open): - Likewise. - * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise. - * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise. - * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise. - * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise. - * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise. - * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat): - Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c - (posix_fallocate): Likewise. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise. - * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise. - * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup) - (elf_machine_rela, elf_machine_rela_relative) - (elf_machine_lazy_rel): Likewise. - * time/asctime.c (asctime_internal): Likewise. - * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise. - * time/tzset.c (__tzset_parse_tz): Likewise. - * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise. - * wcsmbs/mbrtowc.c (__mbrtowc): Likewise. - * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise. - * wcsmbs/wcsmbsload.h: Likewise. - - [BZ #15894] - * stdlib/setenv.c (__add_to_environ): Remove duplicate code. - - * malloc/arena.c (grow_heap, get_free_list, reused_arena) - (arena_get2): Remove THREAD_STATS conditionals. - * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free) - (__malloc_stats, int): Likewise. - -2014-02-08 Mike Frysinger - - * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare - f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too. - - * manual/setjmp.texi: Fix typos/grammar errors. - - * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output. - Only return early when n is <= 0. Delete unused return statement. - - * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define. - (CPPFLAGS-tst-longjmp_chk3.c): Likewise. - * debug/tst-longjmp_chk3.c: New file. - - * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top. - (test_main): Replace code with set_fortify_handler call. - * debug/test-strcpy_chk.c: Likewise. - * debug/tst-chk1.c: Likewise. - * debug/tst-longjmp_chk.c: Likewise. - * test-skeleton.c: Include fcntl.h & paths.h - (set_fortify_handler): Define. - - * debug/tst-longjmp_chk.c: Add header comment and include - ../test-skeleton.c. - (do_test): Mark static. - (TEST_FUNCTION): Define. - - * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define. - (IP_PMTUDISC_INTERFACE): Likewise. - (IP_MULTICAST_IF): Likewise. - (IP_MULTICAST_TTL): Likewise. - (IP_MULTICAST_LOOP): Likewise. - (IP_ADD_MEMBERSHIP): Likewise. - (IP_DROP_MEMBERSHIP): Likewise. - (IP_UNBLOCK_SOURCE): Likewise. - (IP_BLOCK_SOURCE): Likewise. - (IP_ADD_SOURCE_MEMBERSHIP): Likewise. - (IP_DROP_SOURCE_MEMBERSHIP): Likewise. - (IP_MSFILTER): Likewise. - (MCAST_JOIN_GROUP): Likewise. - (MCAST_BLOCK_SOURCE): Likewise. - (MCAST_UNBLOCK_SOURCE): Likewise. - (MCAST_LEAVE_GROUP): Likewise. - (MCAST_JOIN_SOURCE_GROUP): Likewise. - (MCAST_LEAVE_SOURCE_GROUP): Likewise. - (MCAST_MSFILTER): Likewise. - (IP_MULTICAST_ALL): Likewise. - (IP_UNICAST_IF): Likewise. - - * timezone/Makefile: Delete $(have-ksh) check. - ($(objpfx)tzselect): Change $(KSH) to $(BASH). - * timezone/tzselect.ksh: Add +x mode bits. - - * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define. - (ANON_INODE_FS_MAGIC): Likewise. - (BDEVFS_MAGIC): Likewise. - (BINFMTFS_MAGIC): Likewise. - (BTRFS_TEST_MAGIC): Likewise. - (CRAMFS_MAGIC_WEND): Likewise. - (DEBUGFS_MAGIC): Likewise. - (ECRYPTFS_SUPER_MAGIC): Likewise. - (EXT3_SUPER_MAGIC): Likewise. - (EXT4_SUPER_MAGIC): Likewise. - (FUTEXFS_SUPER_MAGIC): Likewise. - (HOSTFS_SUPER_MAGIC): Likewise. - (HUGETLBFS_MAGIC): Likewise. - (MINIX3_SUPER_MAGIC): Likewise. - (MTD_INODE_FS_MAGIC): Likewise. - (NILFS_SUPER_MAGIC): Likewise. - (OPENPROM_SUPER_MAGIC): Likewise. - (PIPEFS_MAGIC): Likewise. - (PSTOREFS_MAGIC): Likewise. - (QNX6_SUPER_MAGIC): Likewise. - (RAMFS_MAGIC): Likewise. - (REISERFS_SUPER_MAGIC_STRING): Likewise. - (REISER2FS_SUPER_MAGIC_STRING): Likewise. - (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise. - (SECURITYFS_MAGIC): Likewise. - (SELINUX_MAGIC): Likewise. - (SMACK_MAGIC): Likewise. - (SOCKFS_MAGIC): Likewise. - (SQUASHFS_MAGIC): Likewise. - (STACK_END_MAGIC): Likewise. - (TMPFS_MAGIC): Likewise. - (USBDEVICE_SUPER_MAGIC): Likewise. - (V9FS_MAGIC): Likewise. - (XENFS_SUPER_MAGIC): Likewise. - (CRAMFS_MAGIC): Fix typo in comment. - (EXT2_SUPER_MAGIC): Update comment. - (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down. - -2014-02-08 Joseph Myers - - * sysdeps/arm: Move directory from ports/sysdeps/arm. - * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm. - * sysdeps/unix/sysv/linux/arm: Move directory from - ports/sysdeps/unix/sysv/linux/arm. - * README: Update listing for arm-*-linux-gnueabi. - - * README: Remove mention of am33. - -2014-02-07 Roland McGrath - - * bits/sigset.h (__sigemptyset): Use a statement expression rather - than the comma operator, to avoid "rhs of comma has no effect" - compiler warnings. - (__sigfillset, __sigandset, __sigorset): Likewise. - * include/signal.h (__sigemptyset): Likewise. - * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise. - -2014-02-07 Allan McRae - - * version.h (RELEASE): Set to "development". - (VERSION): Set to "2.19.90" - * NEWS: Add 2.20 section. - -2014-02-06 Carlos O'Donell - - [BZ #16529] - * inet/netinet/in.h: Remove comma after IPPROTO_MH. - -2014-02-06 Siddhesh Poyarekar - - * manual/contrib.texi: Update entry for Carlos O'Donell, - Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold. - -2014-02-05 Carlos O'Donell - - * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment. - - * sysdeps/unix/sysv/linux/kernel-features.h - [__LINUX_KERNEL_VERSION >= 0x020621] - (__ASSUME_PROC_PID_TASK_COMM): Define. - -2014-02-05 Siddhesh Poyarekar - - [BZ #16398] - * libio/wfileops.c (_IO_wfile_seekoff): Break out form - conversion when destination buffer does not have enough space. - * libio/tst-ftell-partial-wide.c: New test case. - * libio/Makefile (tests): Add tst-ftell-partial-wide. - - * manual/contrib.texi: Update entry for Ondrej Bilka, Will - Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris - Leonard and Allan McRae. - -2014-02-04 David S. Miller - - * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from - 32-bit. - -2014-02-04 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: - New file - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist: - New file - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist: - New file. - -2014-02-01 Adhemerval Zanella - - * nptl/shlib-versions: Change powerpc*le start to 2.17. - * shlib-versions: Likewise. - -2014-02-04 Roland McGrath - Adhemerval Zanella - - * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le'] - (abilist-pattern): New variable, set to %-le.abilist. - - * Makerules (abilist-pattern): New variable. - (vpath): Use $(abilist-pattern) in place of %.abilist. - (check-abi-% pattern rule): Likewise. - (check-abi, update-abi): Likewise. - -2014-02-04 Eric Wong - - * sysdeps/x86_64/fpu/libm-test-ulps: Update. - -2014-02-03 Carlos O'Donell - - * manual/startup.texi: Add next, previous, and top entries for - the `Program Arguments' and `Environment Variables' nodes. - -2014-02-03 Alexandre Oliva - - * manual/macros.texi: Add comments before MTASC-safety macros. - - * manual/users.texi: Document MTASC-safety properties. - - * manual/threads.texi (pthread_key_create, pthread_key_delete) - (pthread_getspecific, pthread_setspecific): Format with - @deftypefun, and add @safety note. - * manual/signal.texi: Move comments that analyze the above - functions to their home place. - -2014-02-03 Allan McRae - - * po/sl.po: Update Slovenian translation from translation project. - -2014-02-02 Alexandre Oliva - - * manual/time.texi (timegm): Add missing blank after @c. - Reported by Joseph Myers . - -2014-02-01 Alexandre Oliva - - * manual/check-safety.sh: New. - * manual/Makefile ($(objpfx)stamp-summary): Run it. - - * manual/terminal.texi: Document MTASC-safety properties. - - * manual/filesys.texi: Document MTASC-safety properties. - - * manual/errno.texi: Document MTASC-safety properties. - - * manual/intro.texi: Document safety identifiers and - conditionals. - - * manual/string.texi (wcstok): Fix prototype. - (wcstok, strtok, strtok_r): Adjust reentrancy remarks. - - * manual/time.texi: Document MTASC-safety properties. - - * manual/string.texi: Document MTASC-safety properties. - - * manual/threads.texi: Document MTASC-safety properties. - - * manual/stdio.texi: Document MTASC-safety properties. - - * manual/syslog.texi: Document MTASC-safety properties. - - * manual/sysinfo.texi: Document MTASC-safety properties. - - * manual/startup.texi: Document MTASC-safety properties. - - * manual/socket.texi: Document MTASC-safety properties. - - * manual/signal.texi: Document MTASC-safety properties. - -2014-01-31 Alexandre Oliva - - * manual/setjmp.texi: Document MTASC-safety properties. - - * manual/search.texi: Document MTASC-safety properties. - - * manual/resource.texi: Document MTASC-safety properties. - - * manual/process.texi: Document MTASC-safety properties. - - * manual/platform.texi: Document MTASC-safety properties. - - * manual/pipe.texi: Document MTASC-safety properties. - - * manual/pattern.texi: Document MTASC-safety properties. - - * manual/message.texi: Document MTASC-safety properties. - - [BZ #12751] - * manual/memory.texi: Document MTASC-safety properties. - - * manual/math.texi: Document MTASC-safety properties. - - * manual/locale.texi: Document MTASC-safety properties. - - * manual/llio.texi: Document MTASC-safety properties. - - * manual/libdl.texi: New. - - * manual/lang.texi: Document MTASC-safety properties. - - * manual/job.texi: Document MTASC-safety properties. - - * manual/getopt.texi: Document MTASC-safety properties. - - * manual/ctype.texi: Document MTASC-safety properties. - -2014-01-31 Maciej W. Rozycki - - [BZ #16046] - * csu/libc-tls.c (static_map): Remove variable. - (__libc_setup_tls): Use main executable's link map for TLS data. - * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special - casing for LM_ID_BASE and GL(dl_nns). - * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove - function. Alias dl_iterate_phdr to __dl_iterate_phdr. - * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special - casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded. - * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1 - member. - (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and - l_phnum members. - -2014-01-30 Alexandre Oliva - - * manual/debug.texi: Document MTASC-safety properties. - -2014-01-29 H.J. Lu - - [BZ #16510] - * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead - of __x86_64__ when disabling x87 inline functions. - -2014-01-29 Alexandre Oliva - - * manual/charset.texi: Document MTASC-safety properties. - - * manual/crypt.texi: Document MTASC-safety properties. - - * manual/conf.texi: Document MTASC-safety properties. - - * manual/arith.texi: Document MTASC-safety properties. - - * manual/argp.texi: Document MTASC-safety properties. - - * manual/macros.texi: Introduce macros to document multi - thread, asynchronous signal and asynchronous cancellation - safety properties. - * manual/intro.texi: Introduce the properties themselves. - -2014-01-27 Kaz Kojima - - * sysdeps/sh/sh4/Makefile: New file. - -2014-01-27 Andreas Schwab - - * math/gen-libm-test.pl ($srcdir): New variable. - ($auto_input): Use it. - -2014-01-27 Siddhesh Poyarekar - - [BZ #16506] - * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid - access beyond array bounds when parsing netgroups file. - - * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from - the old buffer before realloc. - -2014-01-27 Allan McRae - - * po/fr.po: Update French translation from translation project. - -2014-01-26 Kaz Kojima - - * sysdeps/sh/libm-test-ulps: Regenerate. - -2014-01-24 David S. Miller - - * sysdeps/sparc/fpu/libm-test-ulps: Regenerate. - -2014-01-25 Kaz Kojima - - * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ... - * sysdeps/sh/libm-test-ulps: ... here and regenerated. - -2013-01-24 Siddhesh Poyarekar - - [BZ #16474] - * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet - string pointers after reallocation. - -2014-01-24 Kaz Kojima - - * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and - __SH4A__ instead of __SH_FPU_ANY__. - -2014-01-23 Kaz Kojima - - * sysdeps/sh/fpu_control.h: New file. - * sysdeps/sh/sh4/fpu/fpu_control.h: Remove. - * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file. - * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove. - * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory. - * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove. - * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory. - * sysdeps/sh/sys/ucontext.h: Remove. - * sysdeps/sh/sys: Remove directory. - -2014-01-22 Andreas Krebbel - - * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into - s390/sys/ucontext.h. - * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise. - * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file. - -2014-01-20 H.J. Lu - - [BZ #15605] - * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h. - -2014-01-20 Adhemerval Zanella - - [BZ #16431] - * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday): - Adjust the vDSO correctly for internal calls. - * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise. - -2014-01-20 Allan McRae - - * po/ca.po: Update Catalan translation from translation project. - -2014-01-16 Mike Frysinger - - * sysdeps/s390/sotruss-lib.c: New file. - -2014-01-16 Adhemerval Zanella - - [BZ #16430] - * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c - (__GI___gettimeofday): Alias for a different internal symbol to avoid - local calls issues by not having a PLT stub required for IFUNC calls. - * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise. - -2014-01-16 Joseph Myers - - * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c. - * math/test-fpucw-static.c: Likewise. - -2013-01-16 Siddhesh Poyarekar - - [BZ #16453] - * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca. - -2014-01-15 Adhemerval Zanella - - * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so - implementation for powerpc. - -2014-01-15 Ondƙej BĂ­lka - - [BZ #14782] - * sysdeps/posix/system.c (__libc_system): Do not enable - asynchronous cancellation. - -2014-01-15 Andreas Krebbel - - [BZ #16427] - * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE - handling only for numbers special also in the IEEE case. - -2014-01-15 Andreas Krebbel - - * sysdeps/s390/fpu/libm-test-ulps: Regenerate. - -2014-01-11 Allan McRae - - * po/bg.po: Update Bulgarian translation from translation project. - - * po/de.po: Update German translation from translation project. - -2014-01-10 Roland McGrath - - * sysdeps/generic/gcc-compat.h: New file. - -2014-01-10 Siddhesh Poyarekar - - * benchtests/asin-inputs: Correct slow inputs. - * benchtests/acos-inputs: Likewise. - -2014-01-10 Allan McRae - - * po:sv.po: Update Swedish translation from translation project. - - * po/vi.po: Update Vietnamese translation from translation project. - - * po/eo.po: Update Esperanto translation from translation project. - - * po/cs.po: Update Czech translation from translation project. - - * po/nl.po: Update Dutch translation from translation project. - - * po/pl.po: Update Polish translation from translation project. - - * po/ru.po: Update Russian translation from translation project. - - * po/uk.po: Update Ukrainian translation from translation project. - -2014-01-08 Brooks Moses - - * elf/dl-load.c: Fix comment typo. - -2014-01-08 Carlos O'Donell - - * po/header.pot: Rename to... - * po/pot.header: ... this. - * po/Makefile: Use pot.header. - -2014-01-08 Yuriy Kaminskiy - Maxim Kuvyrkov - - [BZ #16394] - * sysdeps/i386/i686/memmove.S (memmove): Compare distance between - SRC and DEST against LEN. - -2014-01-08 Adhemerval Zanella - - [BZ #16414] - * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong - implementation. - * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment. - -2014-01-08 Adhemerval Zanella - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - -2014-01-08 Joseph Myers - - [BZ #16408] - * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl - for large positive arguments. - -2014-01-07 Joseph Myers - - * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated. - - * math/auto-libm-test-in: Mark various tests with - xfail-rounding:ldbl-128ibm. - * math/auto-libm-test-out: Regenerated. - - [BZ #16407] - * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): - Increase overflow threshold. - -2014-01-07 Ondƙej BĂ­lka - - [BZ #14286] - * stdio-common/vfprintf.c: Check for integer overflow. - -2014-01-07 Andreas Krebbel - - * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for - the first argument and return value of __tls_get_addr_internal. - -2014-01-07 Andreas Krebbel - - * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym - also with !RTLD_BOOTSTRAP to get rid of unused variable warning. - -2014-01-07 Andreas Krebbel - - * sysdeps/s390/Makefile: Build rtld-global-offsets.sym. - * sysdeps/s390/rtld-global-offsets.sym: New file. - * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new - GLIBC_2.19 symbol. - * sysdeps/unix/sysv/linux/s390/getcontext.S: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ... - * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S: - ... this. - * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ... - * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S: - ... this. - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: - Regenerate. - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: - Regenerate. - * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper - halfs of GPRs for high_gprs contexts. - * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and - restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags - field. - * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy - uc_flags field. - * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and - 64 bit versions: - * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field - for high GPRs (uc_high_gprs) and for future extensions - (__reserved). - * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field - for future extensions (__reserved). - * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and - 64 bit versions: - * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add - SC_HIGHGPRS offset definition. - * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file. - * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file. - - * Versions.def: Add GLIBC_2.19 for libpthread. - * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and - siglongjmp for libpthread with GLIBC_2.19 symver. - * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file. - * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c. - * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols. - * sysdeps/s390/__longjmp.c: New file. - * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf. - * sysdeps/s390/longjmp.c: New file. - * sysdeps/s390/setjmp.S: New file. - * sysdeps/s390/sigjmp.S: New file. - * sysdeps/s390/v1-longjmp.c: New file. - * sysdeps/s390/v1-setjmp.h: New file. - * sysdeps/s390/v1-sigjmp.c: New file. - * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk. - * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with - GLIBC_2.19 version. - * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide - versioned symbols for ____longjmp_chk. - * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: - Regenerate. - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist: - Regenerate. - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: - Regenerate. - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist: - Regenerate. - * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file. - * sysdeps/s390/s390-32/__longjmp.c: Rename to ... - * sysdeps/s390/s390-32/__longjmp-common.c: ... this. - * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ... - * sysdeps/s390/s390-32/setjmp-common.S: ... this. - * sysdeps/s390/s390-64/__longjmp.c: Rename to ... - * sysdeps/s390/s390-64/__longjmp-common.c: ... this. - * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ... - * sysdeps/s390/s390-64/setjmp-common.S: ... this. - * sysdeps/s390/rtld-__longjmp.c: New file. - * sysdeps/s390/rtld-setjmp.S: New file. - -2014-01-06 Joseph Myers - - [BZ #16400] - * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): - Return -__logl (x) for small positive arguments without evaluating - a polynomial. - -2014-01-06 Mike Frysinger - - * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args): - Rename to ... - (__ptrace_peeksiginfo_args): ... this. - * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise. - * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise. - -2014-01-06 Allan McRae - - * inet/netinet/in.h: Fix typo in comment. - -2014-01-05 Andreas Jaeger - - * sysdeps/i386/fpu/libm-test-ulps: Update. - -2014-01-05 Allan McRae - - * po/libc.pot: Regenerated. - - * malloc/memusagestat.c: Fix gettext call formatting. - -2014-01-04 Sami Kerola - - * nscd/nscd.c: Improve usage() output. - -2014-01-04 Mike Frysinger - - * config.h.in: Add HAVE_LINUX_FANOTIFY_H template. - * sysdeps/unix/sysv/linux/configure: Regenerated. - * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE. - * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h. - -2014-01-03 Joseph Myers - - [BZ #16390] - * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math] - (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl. - -2014-01-03 Adhemerval Zanella - - * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove - extra tokens at end of #undef directive. - * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise. - -2014-01-03 Joseph Myers - - * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated. - - * math/auto-libm-test-in: Mark various tests with - xfail-rounding:ldbl-128ibm. - * math/auto-libm-test-out: Regenerated. - -2014-01-02 Joseph Myers - - [BZ #16386] - * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust - numbers with subnormal high part when calculating exponent. - - [BZ #16385] - * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not - fabs. - - [BZ #16384] - * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with - M_LN2l. - (__ieee754_acoshl): Use __log1pl not __log1p. - -2013-01-02 Ondƙej BĂ­lka - - * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all) - (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry) - (__failing_morecore, ptmalloc_init, dump_heap, new_heap) - (grow_heap, heap_trim, _int_new_arena, get_free_list) - (reused_arena, arena_get2): Convert to GNU style. - * malloc/hooks.c (memalign_hook_ini, __malloc_check_init) - (mem2mem_check, mem2chunk_check, top_check, realloc_check) - (memalign_check, __malloc_set_state): Likewise. - * malloc/mallocbug.c (main): Likewise. - * malloc/malloc.c (__malloc_assert, malloc_init_state) - (free_perturb, do_check_malloced_chunk, do_check_malloc_state) - (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free) - (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate) - (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt) - (__posix_memalign, malloc_info): Likewise. - * malloc/malloc.h: Likewise. - * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook) - (mallochook, memalignhook, reallochook, mabort): Likewise. - * malloc/mcheck.h: Likewise. - * malloc/memusage.c (update_data, me, malloc, realloc, calloc) - (free, mmap, mmap64, mremap, munmap, dest): Likewise. - * malloc/memusagestat.c (main, parse_opt, more_help): Likewise. - * malloc/morecore.c (__default_morecore): Likewise. - * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise. - * malloc/obstack.c (_obstack_begin, _obstack_newchunk) - (_obstack_allocated_p, obstack_free, _obstack_memory_used) - (print_and_abort): Likewise. - * malloc/obstack.h: Likewise. - * malloc/set-freeres.c (__libc_freeres): Likewise. - * malloc/tst-mallocstate.c (main): Likewise. - * malloc/tst-mtrace.c (main): Likewise. - * malloc/tst-realloc.c (do_test): Likewise. - -2013-01-02 Siddhesh Poyarekar - - [BZ #16366] - * nscd/netgroupcache.c (do_notfound): New function. - (addgetnetgrentX): Use it. - - [BZ # 16365] - * nscd/netgroupcache.c (addgetnetgrentX): Break if status is - NSS_STATUS_NOTFOUND. - -2014-01-01 Joseph Myers - - * sysdeps/i386/fpu/libm-test-ulps: Regenerated. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2014-01-01 Allan McRae - - * scripts/update-copyrights: Update configure input file suffix. - - * NEWS: Update copyright year. - * catgets/gencat.c: Likewise. - * csu/version.c: Likewise. - * debug/catchsegv.sh: Likewise. - * debug/pcprofiledump.c: Likewise. - * debug/xtrace.sh: Likewise. - * elf/ldconfig.c: Likewise. - * elf/ldd.bash.in: Likewise. - * elf/pldd.c: Likewise. - * elf/sotruss.ksh: Likewise. - * elf/sprof.c: Likewise. - * iconv/iconv_prog.c: Likewise. - * iconv/iconvconfig.c: Likewise. - * locale/programs/locale.c: Likewise. - * locale/programs/localedef.c: Likewise. - * login/programs/pt_chown.c: Likewise. - * malloc/memusage.sh: Likewise. - * malloc/memusagestat.c: Likewise. - * malloc/mtrace.pl: Likewise. - * manual/libc.texinfo: Likewise. - * nscd/nscd.c: Likewise. - * nss/getent.c: Likewise. - * nss/makedb.c: Likewise. - * posix/getconf.c: Likewise. - * scripts/test-installation.pl: Likewise. - - * All files with FSF copyright notices: Update copyright dates - using scripts/update-copyrights. - * intl/plural.c: Regenerated. - * locale/programs/charmap-kw.h: Likewise. - * locale/programs/locfile-kw.h: Likewise. - -2013-12-31 Mike Frysinger - - * sysdeps/unix/sysv/linux/configure: Regenerated. - * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on - the linux/fanotify.h header. - * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if - HAVE_LINUX_FANOTIFY_H is defined. - -2013-12-31 Siddhesh Poyarekar - - * benchtests/cos-inputs: New inputs. - * benchtests/sin-inputs: Likewise. - - * benchtests/atan-inputs: New inputs. Fix name of multiple - precision fallback inputs. - - * benchtests/atanh-inputs: New inputs. - * benchtests/tanh-inputs: Likewise. - - * benchtests/acosh-inputs: New inputs. - * benchtests/asinh-inputs: Likewise. - - * benchtests/cosh-inputs: New inputs. - * benchtests/sinh-inputs: Likewise. - - * benchtests/acos-inputs: Add more inputs. - * benchtests/asin-inputs: Likewise. - -2013-12-30 Ville Skytta - - [BZ #16375] - * manual/arith.texi: Fix spelling. - * manual/charset.texi: Likewise. - * manual/errno.texi: Likewise. - * manual/filesys.texi: Likewise. - * manual/lang.texi: Likewise. - * manual/llio.texi: Likewise. - * manual/locale.texi: Likewise. - * manual/message.texi: Likewise. - * manual/resource.texi: Likewise. - * manual/search.texi: Likewise. - * manual/setjmp.texi: Likewise. - * manual/stdio.texi: Likewise. - * manual/string.texi: Likewise. - * manual/sysinfo.texi: Likewise. - * manual/time.texi: Likewise. - -2013-12-27 Carlos O'Donell - - * po/sl.po: New file. - -2013-12-27 Mike Frysinger - - * .gitignore: Add core/.gdbinit/.gdb_history. - -2013-12-27 Allan McRae - - [BZ #16369] - * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name. - Reported by Il'ya Malakhov - -2013-12-24 Brooks Moses - - * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for - all compilers that claim C++98 compliance, not just GCC. - * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO): - Likewise. - -2013-12-24 Maxim Kuvyrkov - - * NEWS: Restore accidentally deleted bug-fix entries. - -2013-12-24 Maxim Kuvyrkov - Ondƙej BĂ­lka - - [BZ #15073] - * malloc/malloc.c (_int_free): Perform sanity check only if we - have_lock. - -2013-12-23 Ondƙej BĂ­lka - - [BZ #12986] - * manual/stdio.texi (String Input Conversions): Clarify that character - classes are not supported. - -2013-12-23 Adhemerval Zanella - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - -2013-12-22 Joseph Myers - - [BZ #16337] - * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): - Calculate results for small negative arguments directly rather - than using reflection formula with special underflow handling. - - * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd. - * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from - sysdeps/unix/bsd/bsd4.4/syscalls.list. - (fchflags): Likewise. - (revoke): Likewise. - (setlogin): Likewise. - (sigaltstack): Likewise. - (wait4): Likewise. - (sigblock): Remove. - (sigsetmask): Likewise. - (wait3): Likewise. - (waitpid): Likewise. - * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file. - * sysdeps/unix/sysv/linux/wait3.c: Update directory of included - file. - * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ... - * sysdeps/unix/bsd/Makefile: ... here. - * sysdeps/unix/bsd/bsd4.4/Versions: Move to ... - * sysdeps/unix/bsd/Versions: ... here. - * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ... - * sysdeps/unix/bsd/bits/sockaddr.h: ... here. - * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ... - * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here. - * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ... - * sysdeps/unix/bsd/sigblock.c: ... here. - * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ... - * sysdeps/unix/bsd/sigsetmask.c: ... here. - * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ... - * sysdeps/unix/bsd/sigvec.c: ... here. - * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ... - * sysdeps/unix/bsd/tcdrain.c: ... here. - * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ... - * sysdeps/unix/bsd/tcgetattr.c: ... here. - * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ... - * sysdeps/unix/bsd/tcsetattr.c: ... here. - * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ... - * sysdeps/unix/bsd/wait.c: ... here. - * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ... - * sysdeps/unix/bsd/wait3.c: ... here. - * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ... - * sysdeps/unix/bsd/waitpid.c: ... here. - -2013-12-21 Joseph Myers - - [BZ #16356] - * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set - round-to-nearest for [!USE_AS_EXPM1L]. - * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise. - * math/auto-libm-test-in: Do not expect cosh tests to fail. Add - more tests of exp and exp10. Expect some exp10 tests to miss - exceptions or fail in directed rounding modes. - * math/auto-libm-test-out: Regenerated. - * math/libm-test.inc (exp10_tonearest_test_data): New array. - (exp10_test_tonearest): New function. - (exp10_towardzero_test_data): New array. - (exp10_test_towardzero): New function. - (exp10_downward_test_data): New array. - (exp10_test_downward): New function. - (exp10_upward_test_data): New array. - (exp10_test_upward): New function. - (main): Call the new functions. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2013-12-20 Joseph Myers - - * math/auto-libm-test-in: Add more tests of acos, acosh, asin, - asinh, atan, atan2, atanh, cbrt, cos and cosh. - * math/auto-libm-test-out: Regenerated. - * math/libm-test.inc (acosh_test_data): Add more tests. - (atanh_test_data): Likewise. - (ceil_test_data): Likewise. - (copysign_test_data): Likewise. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - * timezone/checktab.awk: Update from tzcode 2013i. - * timezone/private.h: Likewise. - * timezone/scheck.c: Likewise. - * timezone/tzfile.h: Likewise. - * timezone/tzselect.ksh: Likewise. - * timezone/zdump.c: Likewise. - * timezone/zic.c: Likewise. - - * math/auto-libm-test-in: Add tests of cpow. - * math/auto-libm-test-out: Regenerated. - * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c. - * math/gen-auto-libm-tests.c (func_calc_method): Add value - mpc_cc_c. - (func_calc_desc): Add mpc_cc_c union field. - (test_functions): Add cpow. - (special_fill_2pi): New function. - (special_real_inputs): Add 2pi. - (calc_generic_results): Handle mpc_cc_c. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog, - csqrt, ctan and ctanh. - * math/auto-libm-test-out: Regenerated. - * math/libm-test.inc (TEST_COND_x86_64): New macro. - (TEST_COND_x86): Likewise. - (ccos_test_data): Use AUTO_TESTS_c_c. - (ccosh_test_data): Likewise. - (cexp_test_data): Likewise. - (clog_test_data): Likewise. - (csqrt_test_data): Likewise. - (ctan_test_data): Likewise. - (ctan_tonearest_test_data): Likewise. - (ctan_towardzero_test_data): Likewise. - (ctan_downward_test_data): Likewise. - (ctan_upward_test_data): Likewise. - (ctanh_test_data): Likewise. - (ctanh_tonearest_test_data): Likewise. - (ctanh_towardzero_test_data): Likewise. - (ctanh_downward_test_data): Likewise. - (ctanh_upward_test_data): Likewise. - * math/gen-auto-libm-tests.c (func_calc_method): Add value - mpc_c_c. - (func_calc_desc): Add mpc_c_c union field. - (FUNC_mpc_c_c): New macro. - (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh, - ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and - ctanh. - (special_fill_min_subnorm_p120): New function. - (special_real_inputs): Add min_subnorm_p120. - (calc_generic_results): Handle mpc_c_c. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2013-12-20 Siddhesh Poyarekar - - * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin) - (do_sin_slow): New functions. - (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2) - (cslow2, csloww1, csloww2): Use the new functions. - - * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M. - Use M to change sign of result instead of X. Assume X is - positive. - (csloww1): Likewise. - (__sin): Adjust. - (__cos): Adjust. - - * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove - arguments A and DA. - (__sin): Adjust. - (__cos): Likewise. - - * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly. - (__cos): Likewise. - (sloww1): Don't adjust sign of DX. - (csloww1): Likewise. - (sloww2): Use X directly and don't adjust sign of DX. - (csloww2): Likewise. - -2013-12-19 Joseph Myers - - * math/auto-libm-test-in: Add tests of cabs and carg. - * math/auto-libm-test-out: Regenerated. - * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f. - (carg_test_data): Likewise. - * math/gen-auto-libm-tests.c (func_calc_method): Add value - mpc_c_f. - (func_calc_desc): Add mpc_c_f union field. - (test_functions): Add cabs and carg. - (calc_generic_results): Handle mpc_c_f. - - * sysdeps/powerpc/powerpc32/libgcc-compat.S - [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define - as a macro and a compat symbol. - [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise. - [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise. - [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise. - [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise. - [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise. - [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do - not use .hidden. - [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi): - Likewise. - [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi): - Likewise. - [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi): - Likewise. - [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf): - Likewise. - [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf): - Likewise. - * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi, - __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf - from GLIBC_2.3.2. - -2013-12-19 Adhemerval Zanella - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - -2013-12-19 Joseph Myers - - * manual/texinfo.tex: Update to version 2013-11-26.10 with - trailing whitespace removed. - * scripts/config.guess: Update to version 2013-11-29. - * scripts/config.sub: Update to version 2013-10-01. - - * math/auto-libm-test-in: Add tests of sincos. - * math/auto-libm-test-out: Regenerated. - * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11. - * math/gen-auto-libm-tests.c (func_calc_method): Add value - mpfr_f_11. - (func_calc_desc): Add mpfr_f_11 union field. - (test_functions): Add sincos. - (calc_generic_results): Handle mpfr_f_11. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2013-12-19 Andreas Schwab - - * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of - CALL_MCOUNT. - * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/strcasecmp.S - [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise. - -2013-12-19 Joseph Myers - - * math/gen-libm-test.pl (%beautify): Remove M_* constants. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - [BZ #16293] - * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set - round-to-nearest mode when using frndint. - * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise. - * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise. - * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: - Likewise. - * math/auto-libm-test-in: Add more tests of expm1. Do not expect - sinh test to fail. - * math/auto-libm-test-out: Regenerated. - * math/libm-test.inc (TEST_COND_x86_64): Remove macro. - (TEST_COND_x86): Likewise. - (expm1_tonearest_test_data): New array. - (expm1_test_tonearest): New function. - (expm1_towardzero_test_data): New array. - (expm1_test_towardzero): New function. - (expm1_downward_test_data): New array. - (expm1_test_downward): New function. - (expm1_upward_test_data): New array. - (expm1_test_upward): New function. - (main): Run the new test functions. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - * include/features.h: Update comment documenting feature test - macros. Mention _DEFAULT_SOURCE in comment. - [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine. - [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE, - _BSD_SOURCE and _SVID_SOURCE. - [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE && - !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE && - !_SVID_SOURCE]: Likewise. - [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE] - (__USE_POSIX_IMPLICITLY): Define. - [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE] - (_POSIX_SOURCE): Undefine and redefine. - [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE] - (_POSIX_C_SOURCE): Likewise. - * manual/creature.texi (_DEFAULT_SOURCE): Document. - (Feature Test Macros): Update documentation of default features. - -2013-12-19 Rajalakshmi Srinivasaraghavan - - * benchtests/Makefile: Add bench-strtok. - * benchtests/bench-strtok.c: New file: strtok benchtest. - -2013-12-19 Allan McRae - - * manual/install.texi: Suppress menu for plain text output. - * INSTALL: Regenerated. - -2013-12-18 Brooks Moses - - [BZ #15846] - * misc/getauxval.c: Include errno.h. - (__getauxval): Set errno to ENOENT if the requested type is not - found. - * misc/sys/auxv.h (getauxval): Document that it may set errno; - don't declare with __attribute_const__. - * elf/tst-auxv.c: Add tests for errno and type-not-found case. - * manual/startup.texi: Document that getauxval sets errno. - -2013-12-18 Joseph Myers - - * math/auto-libm-test-in: Add tests of jn and yn. - * math/auto-libm-test-out: Regenerated. - * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f. - (yn_test_data): Likewise. - * math/gen-auto-libm-tests.c (func_calc_method): Add value - mpfr_if_f. - (func_calc_desc): Add mpfr_if_f union field. - (FUNC_mpfr_if_f): New macro. - (test_functions): Add jn and yn. - (calc_generic_results): Assert type of second input for - mpfr_ff_f. Handle mpfr_if_f. - (output_for_one_input_case): Disable all checking for arguments - fitting floating-point types in case of an integer argument. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data: - Don't expect fegetround reference in libm.so. - -2013-12-17 Marcus Shawcroft - - * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add - $(config-cflags-nofma). - -2013-12-18 Joseph Myers - - * math/auto-libm-test-in: Mark some hypot tests no-test-inline. - * math/auto-libm-test-out: Regenerated. - - [BZ #16338] - * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl - to determine exponent and adjust argument to have exponent of -1. - * math/auto-libm-test-in: Add more tests of log, log10, log1p and - log2. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2013-12-18 Ondƙej BĂ­lka - - * manual/probes.texi: Remove cases when per-thread arenas are - disabled. - -2013-12-18 Andreas Schwab - - * sysdeps/i386/i686/multiarch/strstr.c: Remove. - * sysdeps/i386/i686/multiarch/strstr-c.c: Remove. - * sysdeps/i386/i686/multiarch/strcasestr.c: Remove. - * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove. - * sysdeps/i386/i686/multiarch/Makefile: Update. - * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update. - -2013-12-17 Joseph Myers - - * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file. - * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise. - -2013-12-17 Paul Eggert - - [BZ #15968] - Support TZ transition times < 00:00:00. - This is needed for version-3 tz-format files; it supports time - stamps past 2037 for America/Godthab (the only entry in the tz - database for which this change is relevant). - * manual/time.texi (TZ Variable): Document transition times - from -167:59:59 through -00:00:01. - * time/tzset.c (tz_rule): Time of day is now signed. - (__tzset_parse_tz): Parse negative time of day. - - Document TZ transition times >= 25:00:00. - * manual/time.texi (TZ Variable): Document transition times from - 25:00:00 through 167:59:59. These are already supported, and this - support will help with version-3 tz-format files. - - * manual/time.texi (TZ Variable): Modernize North America example - to reflect current (i.e., 2007-and-later) daylight saving rules. - - * manual/time.texi (TZ Variable): POSIX.1 hour can be 24. - -2013-12-17 Joseph Myers - - * sysdeps/unix/bsd/bits/posix_opt.h: Remove file. - * sysdeps/unix/bsd/bits/stat.h: Likewise. - * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise. - * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise. - * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise. - * sysdeps/unix/bsd/bsdstat.h: Likewise. - * sysdeps/unix/bsd/clock.c: Likewise. - * sysdeps/unix/bsd/i386/vfork.S: Likewise. - * sysdeps/unix/bsd/i386/wait3.S: Likewise. - * sysdeps/unix/bsd/init-posix.c: Likewise. - * sysdeps/unix/bsd/poll.c: Likewise. - * sysdeps/unix/bsd/ptsname.c: Likewise. - * sysdeps/unix/bsd/seekdir.c: Likewise. - * sysdeps/unix/bsd/setegid.c: Likewise. - * sysdeps/unix/bsd/seteuid.c: Likewise. - * sysdeps/unix/bsd/setgid.c: Likewise. - * sysdeps/unix/bsd/setrgid.c: Likewise. - * sysdeps/unix/bsd/setruid.c: Likewise. - * sysdeps/unix/bsd/setsid.c: Likewise. - * sysdeps/unix/bsd/setuid.c: Likewise. - * sysdeps/unix/bsd/sigaction.c: Likewise. - * sysdeps/unix/bsd/sigprocmask.c: Likewise. - * sysdeps/unix/bsd/sigsuspend.c: Likewise. - * sysdeps/unix/bsd/sys/reboot.h: Likewise. - * sysdeps/unix/bsd/telldir.c: Likewise. - * sysdeps/unix/bsd/times.c: Likewise. - * sysdeps/unix/bsd/usleep.c: Likewise. - - * misc/Makefile (install-lib): Remove libbsd-compat.a. - ($(objpfx)libbsd-compat.a): Remove rule. - - * include/features.h (__FAVOR_BSD): Do not define. - * manual/creature.texi (_BSD_SOURCE): Do not document as enabling - features conflicting with POSIX. - (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE. - (_BSD_SOURCE): Remove description of not being a subset of other - feature test macros. - * manual/job.texi (getpgrp): Do not document BSD version. - (getpgid): Do not document by reference to BSD getpgrp. - * posix/unistd.h [__FAVOR_BSD]: Remove conditional code. - * setjmp/setjmp.h [__FAVOR_BSD]: Likewise. - * signal/signal.h [__FAVOR_BSD]: Likewise. - * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions - instead of making contents conditional on [__FAVOR_BSD]. - * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise. - -2013-12-17 Adhemerval Zanella - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - -2013-12-17 Joseph Myers - - [BZ #16314] - * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up - values below 2**-450, not 2**-500. - * math/auto-libm-test-in: Don't allow spurious underflow from - hypot. - * math/auto-libm-test-out: Regenerated. - - [BZ #16316] - [BZ #16330] - * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update - values of ha and hb and sort them after adjusting subnormal - arguments. - * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): - Likewise. - * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update - values of ea and eb and sort them after adjusting subnormal - arguments. - * math/auto-libm-test-in: Do not expect some hypot tests of - subnormals to fail. Add more hypot tests. - * math/auto-libm-test-out: Regenerated. - -2013-12-16 Kaz Kojima - - [BZ #13304] - * sysdeps/sh/s_fma.c: New file. - * sysdeps/sh/s_fmaf.c: New file. - * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm - version. - * sysdeps/sh/Implies: Add sh/soft-fp. - -2013-12-16 Roland McGrath - - * elf/dl-error.c (struct catch): Add new member `errcode'. Add a - level of indirection to members `objname', `errstring', `malloced'. - (_dl_signal_error): Store through pointers in *LCATCH rather modifying - *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing - it as the __longjmp argument (just pass 1 instead). - (_dl_catch_error): Initialize C with argument pointers and address of - volatile local ERRCODE rather than copying values out of C at return. - -2013-12-16 Joseph Myers - - * math/auto-libm-test-in: Add tests of atan2, hypot and pow. - * math/auto-libm-test-out: Regenerated. - * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f. - (hypot_test_data): Likewise. - (pow_test_data): Likewise. - (pow_tonearest_test_data): Likewise. - * math/gen-auto-libm-tests.c (func_calc_method): Add value - mpfr_ff_f. - (func_calc_desc): Add mpfr_ff_f union field. - (FUNC_mpfr_ff_f): New macro. - (test_functions): Add atan2, hypot and pow. - (special_fill_min): New function. - (special_fill_minus_min): Likewise. - (special_fill_min_subnorm): Likewise. - (special_fill_minus_min_subnorm): Likewise. - (special_real_inputs): Add min, -min, min_subnorm and - -min_subnorm. - (calc_generic_results): Handle mpfr_ff_f. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2013-12-16 Will Newton - - * manual/memory.texi (Malloc Examples): Mention aligned_alloc. - (Aligned Memory Blocks): Add documentation for aligned_alloc - and suggest it as an alternative to posix_memalign. - (Hooks for Malloc): Document __memalign_hook is also called - for aligned_alloc. (Summary of Malloc): Add summary for - aligned alloc. Document __memalign_hook is also called - for aligned_alloc. - -2013-12-16 Will Newton - - * manual/memory.texi (Malloc Examples): Clarify default - alignment documentation. Suggest posix_memalign rather - than memalign or valloc. - (Aligned Memory Blocks): Remove suggestion to use memalign - or valloc. Remove obsolete comment about BSD. - Document memalign errno values and mark the function obsolete. - Document posix_memalign returned error codes. Mark valloc - as obsolete. (Hooks for Malloc): __memalign_hook is also - called for posix_memalign and valloc. - (Summary of Malloc): Add posix_memalign to function summary. - __memalign_hook is also called for posix_memalign and valloc. - -2013-12-16 Siddhesh Poyarekar - - * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to - TAYLOR_SIN. - (__sin): Adjust. - (__cos): Likewise. - (sloww): Use mynumber union. Expand ternary operator into - if-else statements. - (cslow): use mynumber union. - -2013-12-16 Allan McRae - - * configure.ac: Set AUTOCONF when maintainer-mode is not used. - * configure: Regenerated. - - * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name. - - [BZ #14120] - * configure.ac: Added --enable-maintainer-mode. Check for - autoconf when enabled. - * configure: Regenerated. - - * nscd/nscd.service: New file. - * nscd/nscd.tmpfiles: New file. - -2013-12-14 Ondƙej BĂ­lka - - [BZ #12100] - * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file - * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ... - * sysdeps/x86_64/multiarch/strstr.c: ... here. - (strstr): Add __strstr_sse2_unaligned ifunc. - * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ... - * sysdeps/x86_64/multiarch/strcasestr.c ... here. - (strcasestr): Remove __strcasestr_sse42 ifunc. - * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove. - * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update. - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update. - -2013-12-14 Kaz Kojima - - * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ... - * sysdeps/sh/bits/fenv.h: ... here. - * sysdeps/sh/sh4/fpu/bits: Remove directory. - -2013-12-13 Adhemerval Zanella - - * NEWS: Mention ppc64 STT_GNU_IFUNC support. - - * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and - hypotf multiarch implementations. - * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file: - multiarch hypot for PPC64. - * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file: - multiarch hypotf for PPC64. - - * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and - modff multiarch implementations. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file: - multiarch modf for PPC64. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file: - multiarch modff for PPC64. - - * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf, - and logl multiarch implementations. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file: - multiarch logb for PPC64. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file: - multiarch logb for PPC64. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file: - multiarch logb for PPC64. - - * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and - isinff multiarch implementation. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New - file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file: - multiarch isinf for PPC64. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New - file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file: - multiarch isinff for PPC64. - - * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and - finitef multiarch implementation. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New - file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file: - multiarch finite for PPC64. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New - file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file: - multiarch finitef for PPC64. - - * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and - lrint multiarch implementation. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New - file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file: - multiarch llrint for PPC64. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file: - multiarch lrint for PPC64. - - * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/ - copysignf multiarch implementation. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New - file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New - file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file: - multiarch copysign for PPC64. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file: - multiarch copysignf for PPC64. - - * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf - multiarch implementation. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New - file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New - file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New - file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New - file. - multiarch llround for PPC64. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file: - multiarch trunc for PPC64. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file: - multiarch truncf for PPC64. - - * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf - multiarch implementation. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New - file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New - file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New - file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New - file. - multiarch llround for PPC64. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file: - multiarch round for PPC64. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file: - multiarch roundf for PPC64. - - * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf - multiarch implementation. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New - file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New - file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New - file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New - file. - multiarch llround for PPC64. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file: - multiarch floor for PPC64. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file: - multiarch floorf for PPC64. - - * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf - multiarch implementation. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New - file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New - file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New - file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New - file. - multiarch llround for PPC64. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file: - multiarch ceil for PPC64. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file: - multiarch ceilf for PPC64. - - * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround - multiarch implementation. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New - file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New - file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New - file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file: - multiarch llround for PPC64. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file: - multiarch lround for PPC64. - - * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan - multiarch implementation. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New - file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file: - multiarch isnan for PPC64. - * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file: - multiarch isnanf for PPC64. - - * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file. - * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file. - * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file. - * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file. - * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file - * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove. - - * sysdeps/powerpc/fpu/w_sqrt.c: Remove file - * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise. - * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise. - * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise. - - * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy - multiarch implementations. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Likewise. - * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file. - * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file. - * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file: - multiarch stpcpy for PPC64. - - * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy - multiarch implementations. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file. - * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file. - * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file: - multiarch strcpy for PPC64. - - * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to - redefine function name. - (_wordcopy_fwd_dest_aligned): Likewise. - (_wordcopy_bwd_aligned): Likewise. - (_wordcopy_bwd_dest_aligned): Likewise. - * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy - multiarch implementations. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Likewise. - * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file. - * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file. - * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file. - * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file: - multiarch wcscpy for PPC64. - - * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy - multiarch implementations. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Likewise. - * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file. - * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file. - * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file. - * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file: - multiarch wcscpy for PPC64. - - * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr - multiarch implementations. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Likewise. - * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file. - * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file. - * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file. - * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file: - multiarch wcsrchr for PPC64. - - * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr - multiarch implementations. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Likewise. - * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file. - * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file. - * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file. - * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file: - multiarch wcschr for PPC64. - - * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul - multiarch implementations. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file. - * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file: - multiarch strchrnul for PPC64. - - * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch - implementations. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Likewise. - * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch - strchr for PPC64. - - * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch - implementations. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch - strncmp for PPC64. - - * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp - multiarch implementations. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file. - * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch - strncasecmp for PPC64. - * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file. - * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file: - multiarch strncasecmp_l for PPC64. - - * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp - multiarch implementations. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: - (__libc_ifunc_impl_list): Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file: - multiarch strcasecmp for PPC64. - * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New - file. - * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file: - multiarch strcasecmp_l for PPC64. - - * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch - implementations. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file. - * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch - strnlen for PPC64. - - * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch - implementations. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Likewise. - * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch - strlen for PPC64. - - * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch - implementations. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Likewise. - * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file. - * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch - rawmemrchr for PPC64. - - * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch - implementation. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Likewise. - * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file. - * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch - memrchr for PPC64. - - * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch - implementation. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Likewise. - * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file. - * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch - memchr for PPC64. - - * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch - implementation. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Likewise. - * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file. - * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch - mempcpy for PPC64. - - * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to - avoid cretion of __bzero symbol. - * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL): - Likewise. - * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL): - Likewise. - * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL): - Likewise. - * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero - multiarch implementations. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Likewise. - * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch - bzero for PPC32. - * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch - memset for PPC64. - * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file. - - * string/memcmp.c (memcmp): Using macro to redefine symbol name. - * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch - implementations. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Likewise. - * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file. - * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch - memcmp for PPC64. - - * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support - multiarch for POWER/PPC64. - * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise. - * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file. - * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch - memcpy for PPC64. - - * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file. - * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File. - * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File. - * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File. - * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File. - * sysdeps/powerpc/powerpc64/power5/Implies: New File. - * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File. - * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File. - * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File. - * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File. - * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File. - * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File. - * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File. - * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File. - * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove. - -2013-12-12 Kaz Kojima - - * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver. - -2013-12-12 Siddhesh Poyarekar - - * benchtests/Makefile (bench): Add exp2 and log2. - (LDLIBS-bench-exp2): Add -lm. - (LDLIBS-bench-log2): Likewise. - * benchtests/exp2-inputs: New inputs file. - * benchtests/log2-inputs: New inputs file. - * benchtests/log-inputs: Add new inputs. - * benchtests/tan-inputs: Likewise. - -2013-12-11 Siddhesh Poyarekar - - * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const - definition... - (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1) - (csloww2): ... from here. - - * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double - instead of structures. - * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust. - (POLYNOMIAL): Likewise. - (TAYLOR_SLOW): Likewise. - (__sin): Likewise. - (__cos): Likewise. - (slow1): Likewise. - (slow2): Likewise. - (sloww): Likewise. - (sloww1); Likewise. - (sloww2): Likewise. - (bsloww1): Likewise. - (bsloww2): Likewise. - (cslow2): Likewise. - (csloww): Likewise. - (csloww1): Likewise. - (csloww2): Likewise. - -2013-12-10 Ondƙej BĂ­lka - - * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete. - (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc): - Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset. - * malloc/hooks.c (realloc_check): Likewise. - - * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag. - * malloc/arena.c: Remove PER_THREAD conditional. - [!PER_THREAD]: Remove code. - (ptmalloc_unlock_all2): Likewise. - (ptmalloc_init): Likewise. - (_int_new_arena): Likewise. - (arena_get2): Likewise. - * malloc/hooks.c (__malloc_get_state): Likewise. - (__malloc_set_state): Likewise. - * malloc/malloc.c: Likewise. - (struct malloc_state): Likewise. - (struct malloc_par): Likewise. - (__libc_realloc): Likewise. - (__libc_mallopt): Likewise. - -2013-12-09 Adhemerval Zanella - - * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19. - -2013-12-09 Ondƙej BĂ­lka - - * malloc/malloc.c (alloc_perturb, free_perturb): Convert from - macro to a function. Check for zero perturb_byte. - (_int_malloc, _int_free): Remove zero perturb_byte checks. - - * malloc/malloc.c: (force_reg): Remove. - (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc) - (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace - force_reg by atomic_forced_read. - * malloc/arena.c (ptmalloc_init): Likewise. - * malloc/hooks.c (top_check): Likewise. - -2013-12-09 Adhemerval Zanella - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - -2013-12-09 Markus Trippelsdorf - - * sysdeps/x86_64/fpu/libm-test-ulps: Update. - -2013-12-08 Joseph Myers - - * math/auto-libm-test-in: Add tests of lgamma. - * math/auto-libm-test-out: Regenerated. - * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro. - (M_LOG_2_SQRT_PIl): Likewise. - (lgamma_test_data): Use AUTO_TESTS_f_f1. - * math/gen-auto-libm-tests.c (func_calc_method): Add value - mpfr_f_f1. - (func_calc_desc): Add mpfr_f_f1 union field. - (ARGS1): New macro. - (ARGS2): Likewise. - (ARGS3): Likewise. - (ARGS4): Likewise. - (RET1): Likewise. - (RET2): Likewise. - (CALC): Likewise. - (FUNC): Likewise. - (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC. - (test_functions): Add lgamma. - (calc_generic_results): Handle mpfr_f_f1. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2013-12-06 Adhemerval Zanella - - * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized - __mpn_add_n for PowerPC64/POWER7. - * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized - __mpn_sub_n for PowerPC64/POWER7. - - * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized - __mpn_addmul_1 for PowerPC64. - * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized - __mpn_submul_1 for PowerPC64. - * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift - for PowerPC64. - * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1 - for PowerPC64. - -2013-12-06 Fernando J. V. da Silva - - [BZ #15089] - * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size. - -2013-12-06 Adhemerval Zanella - - * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support. - - * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file: - add multiarch folders. - * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise. - * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise. - * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise. - * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise. - * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise. - * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise. - * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise. - * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise. - * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise. - * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise. - * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove. - - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add - __ieee754_hypot and __ieee754_hypotf multiarch implementations. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c: - New file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c: - New file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file: - multiarch __ieee754_hypot for PowerPC32. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c: - New file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c: - New file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file: - multiarch __ieee754_hypotf for PowerPC32. - - * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define - long_double_symbol only if __logbl is defined. - * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ... - * sysdeps/powerpc/power7/fpu/s_logb.c: ... here. - * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ... - * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here. - * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ... - * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here. - * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new - path for implementation. - * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise. - * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf, - logb, and logbl multiarch implementations for PowerPC32. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New - file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New - file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file: - multiarch logb for PowerPC32. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New - file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New - file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file: - multiarch logbf for PowerPC32. - * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New - file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file: - multiarch logbl implementation for PowerPC32. - - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf - and modff multiarch implementations. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c: - New file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c: - New file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file: - multiarch modf for PowerPC32. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c: - New file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c: - New file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file: - multiarch modff for PowerPC32. - - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint - and lrintf multiarch implementations. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S: - New file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S: - New file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file: - multiarch lrint for PowerPC32. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New - file: multiarch lrintf for PowerPC32. - - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround - and lroundf multiarch implementations. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S: - New file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S: - New file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S: - New file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file: - multiarch lround for PowerPC32. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New - file: multiarch lroundf for PowerPC32. - - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add - copysign and copysignf multiarch implementations. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S: - New file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S: - New file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New - file: multiarch copysign for PowerPC32. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New - file: multiarch copysignf for PowerPC32. - - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc - and truncf multiarch implementations. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S: - New file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New - file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file: - multiarch trunc for PowerPC32. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S: - New file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S: - New file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file: - multiarch truncf for PowerPC32. - - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round - and roundf multiarch implementations. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S: - New file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New - file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file: - multiarch round for PowerPC32. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S: - New file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S: - New file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file: - multiarch roundf for PowerPC32. - - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor - and floorf multiarch implementations. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S: - New file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New - file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file: - multiarch floor for PowerPC32. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S: - New file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S: - New file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file: - multiarch floorf for PowerPC32. - - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil - and ceilf multiarch implementations. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S: - New file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New - file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file: - multiarch ceil for PowerPC32. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S: - New file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New - file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file: - multiarch ceilf for PowerPC32. - - * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE - is defined. - * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if - FINITEF is defined. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite - and finitef multiarch implementations. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S: - New file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New - file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file: - multiarch finite for PowerPC32. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c: - New file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New - file: multiarch finitef for PowerPC32. - - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf - and isinff multiarch implementations. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New - file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New - file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file: - multiarch isinf for PowerPC32. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c: - New file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file: - multiarch isinff for PowerPC32. - - * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement - alias when __isnan is defined. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan - and isnanf multiarch implementations. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New - file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New - file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New - file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New - file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file: - multiarch isnan for PowerPC32. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S: - New file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S: - New file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file: - multiarch isnanf for PowerPC32. - - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt - and sqrtf multiarch implementations. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New - file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New - file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file: - multiarch sqrt for PowerPC32. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New - file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New - file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file: - multiarch sqrtf for PowerPC32. - - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround - and llroundf multiarch implementations. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S: - New file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S: - New file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S: - New file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New - file: multiarch llround for PowerPC32. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New - file: multiarch llroundf for PowerPC32. - - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file: - multiarch PowerPC32 fpu implementations. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S: - New file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S: - New file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file: - multiarch llrint for PowerPC32. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S: - New file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S: - New file. - * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New - file. - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove. - - * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New - file. - * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New - file. - * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New - file. - * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file: - multiarch wordcopy for PPC32. - * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy - wordcopy objects. - * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list - (__libc_ifunc_impl_list): Likewise. - * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ... - * sysdeps/powerpc/power4/wordcopy.c: ... to here. - * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ... - * sysdeps/powerpc/power6/wordcopy.c: ... to here. - * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file. - * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise. - - * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name - * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New - file. - * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New - file. - * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New - file. - * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file: - multiarch wcscpy for PPC32. - * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy - multiarch objects. - * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list - (__libc_ifunc_impl_list): Likewise. - * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ... - * sysdeps/powerpc/power6/wcsrchr.c: ... to here. - * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use - sysdeps/powerpc/power6/wcscpy.c. - - * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name - * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New - file. - * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New - file. - * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New - file. - * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file: - multiarch wcsrchr for PPC32. - * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr - multiarch objects. - * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list - (__libc_ifunc_impl_list): Likewise. - * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ... - * sysdeps/powerpc/power6/wcsrchr.c: ... to here. - * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use - sysdeps/powerpc/power6/wcsrchr.c. - - * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New - file. - * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New - file. - * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file. - * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file: - multiarch wcschr for PPc32. - * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr - multiarch objects. - * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list - (__libc_ifunc_impl_list): Likewise. - * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ... - * sysdeps/powerpc/power6/wcschr.c: ... to here. - * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use - sysdeps/powerpc/power6/wcschr.c. - - * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file. - * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New - file. - * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file. - * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New - file: multiarch strchr for PPC32. - * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr - multiarch objects. - * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list - (__libc_ifunc_impl_list): Likewise. - - * string/strchrnul.c (__strchrnul): Using macro to redefine symbol - name. - * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New - file. - * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New - file. - * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file: - multiarch strchrnul for PPC32. - * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul - multiarch objects. - * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list - (__libc_ifunc_impl_list): Likewise. - - * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New - file. - * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file: - multiarch strncasecmp for PPC32. - * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New - file. - * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file: - multiarch strncasecmp_l for PPC32. - * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added - strncasecmp multiarch objects. - * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list - (__libc_ifunc_impl_list): Likewise. - - * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New - file. - * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file: - multiarch strncasecmp for PPC32. - * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S: - New file. - * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file: - multiarch strcasecmp_l for PPC32. - * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp - multiarch objects. - * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list - (__libc_ifunc_impl_list): Likewise. - - * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New - file. - * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New - file. - * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file: - multiarch strncmp for PPC32. - * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp - multiarch objects. - * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list - (__libc_ifunc_impl_list): Likewise. - - * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file. - * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New - file. - * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file. - * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file. - * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen - multiarch objects. - * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list - (__libc_ifunc_impl_list): Likewise. - - * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New - file. - * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New - file. - * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file. - * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen - multiarch objects. - * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list - (__libc_ifunc_impl_list): Likewise. - - * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New - file. - * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New - file. - * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file: - multiarch rawmemchr for PPC32. - * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr - multiarch objects. - * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list - (__libc_ifunc_impl_list): Likewise. - - * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New - file. - * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New - file. - * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New - file: memrchr multiarch for PPC32. - * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr - multiarch objects. - * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list - (__libc_ifunc_impl_list): Likewise. - - * string/memchr.c (__memchr): Using macro to redefine symbol name. - * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New - file. - * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File. - * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file: - multiarch memchr for PPC32. - * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr - multiarch objects. - * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Likewise. - - * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name. - * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New - file. - * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New - file. - * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New - file: multiarch mempcpy for PPC32. - * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy - multiarch objects. - * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Likewise. - - * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file. - * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file. - * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file. - * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file: - multiarch bzero for PPC32. - * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New - file. - * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New - file. - * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file. - * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New - file: multiarch memset for PPC32. - * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file. - * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and - memset multiarch objects. - * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Likewise. - - * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New - file. - * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file. - * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch - memcmp for PPC32. - * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file. - * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp - multiarch objects. - * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Likewise. - - * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file. - * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file. - * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New - file. - * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New - file. - * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New - file. - * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file: - multiarch memcpy for PPC32. - * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy - multiarch objects. - * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Likewise. - - * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to - support multiarch for POWER/PPC32. - * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c: - Likewise. - * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove - Implies file to make multiarch folder appers before the fpu and - default folder for power4 configuration. - -2013-12-06 Siddhesh Poyarekar - - * scripts/bench.pl: Append volatile keyword to type. - -2013-12-05 Kaz Kojima - - * sysdeps/sh/sotruss-lib.c: New file. - * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file. - -2013-12-05 Adhemerval Zanella - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - -2013-12-05 Joseph Myers - - [BZ #6810] - * math/w_tgamma.c: Include . - (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0. - * math/w_tgammaf.c: Include . - (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0. - * math/w_tgammal.c: Include . - (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0. - * math/auto-libm-test-in: Do not allow missing errno on tgamma - underflow. Add more tgamma tests. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - * math/auto-libm-test-in: Add tests of log, log10, log1p, log2, - sin, sinh, tan, tanh, tgamma, y0 and y1. - * math/auto-libm-test-out: Regenerated. - * math/libm-test.inc (TEST_COND_x86_64): New macro. - (TEST_COND_x86): Likewise. - (M_E2l): Remove macro. - (M_E3l): Likewise. - (M_2_SQRT_PIl): Likewise. - (M_SQRT_PIl): Likewise. - (M_1_DIV_El): Likewise. - (log_test_data): Use AUTO_TESTS_f_f. - (log10_test_data): Likewise. - (log1p_test_data): Likewise. - (log2_test_data): Likewise. - (sin_test_data): Likewise. - (sin_tonearest_test_data): Likewise. - (sin_towardzero_test_data): Likewise. - (sin_downward_test_data): Likewise. - (sin_upward_test_data): Likewise. - (sinh_test_data): Likewise. - (sinh_tonearest_test_data): Likewise. - (sinh_towardzero_test_data): Likewise. - (sinh_downward_test_data): Likewise. - (sinh_upward_test_data): Likewise. - (tan_test_data): Likewise. - (tan_tonearest_test_data): Likewise. - (tan_towardzero_test_data): Likewise. - (tan_downward_test_data): Likewise. - (tan_upward_test_data): Likewise. - (tanh_test_data): Likewise. - (tgamma_test_data): Likewise. - (y0_test_data): Likewise. - (y1_test_data): Likewise. - * math/gen-auto-libm-tests.c (special_fill_pi_4): New function. - (special_real_inputs): Add pi/4. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2013-12-05 Adhemerval Zanella - - * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and - "longjmp_target" static probes. - (__longjmp): Rename to __longjmp_symbol. - * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise. - * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based - on which longjmp to generate. - * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static - probe. - (__sigsetjmp): Rename to __sigsetjmp_symbol. - (__sigjmp_save): Rename to __sigjmp_save_symbol. - * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol - and __sigjmp_save_symbol based on which sigsetjmp to generated. - * sysdeps/powerpc/powerpc32/setjmp.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define - __longjmp_symbol based on which __longjmp to generate. - * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static - probe. - (setjmp): Rename to setjmp_symbol. - (__sigsetjmp): Rename to __sigsetjmp_symbol. - (_setjmp): Rename to _setjmp_symbol. - (__sigsetjmp): Rename to __sigsetjmp_symbol. - * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol, - _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on - which setjmp to generate. - * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and - "longjmp_target" static probes. - -2013-12-05 Siddhesh Poyarekar - - * benchtests/README: Add note about output arguments. - * benchtests/bench-sincos.c: Remove file. - * benchtests/sincos-inputs: New file. - * scripts/bench.pl: Identify output arguments and define - static variables for them. - - * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables. - - [BZ #15941] - * Makefile (INSTALL): Add install-plain.texi as the primary - dependency. - * manual/install-plain.texi: New file. - * manual/install.texi: Include node directive only for - non-plaintext output. - -2013-12-04 Joseph Myers - - * stdlib/longlong.h: Update from GCC. - - [BZ #6807] - [BZ #15901] - * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument. - * math/w_j0f.c (y0f): Likewise. - * math/w_j0l.c (__y0l): Likewise. - * math/w_j1.c (y1): Likewise. - * math/w_j1f.c (y1f): Likewise. - * math/w_j1l.c (__y1l): Likewise. - * math/w_jn.c (yn): Likewise. - * math/w_jnf.c (ynf): Likewise. - * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for - Bessel function pole errors in _POSIX_ mode. Use NAN as return - value for Bessel function domain errors outside _SVID_ mode. - Adjust sign of return value for yn (negative integer, 0). - * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division - by zero in return for negative x and set sign appropriately for - negative n. - * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise. - * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise. - * math/libm-test.inc (y0_test_data): Add more tests and adjust - expectations in error cases. - (y1_test_data): Likewise. - (yn_test_data): Likewise. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2013-11-12 Ulrich Weigand - - * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename - "64" to "64-v1". Add "64-v2". - (abi-64-options): Rename to ... - (abi-64-v1-options): ... this. Redefine _CALL_ELF. - (abi-64-condition): Rename to ... - (abi-64-v1-condition): ... this. Add _CALL_ELF check., - (abi-64-ld-soname): Rename to ... - (abi-64-v1-ld-soname): ... this. - (abi-64-v2-options): Define. - (abi-64-v2-condition): Likewise. - (abi-64-v2-ld-soname): Likewise. - * sysdeps/unix/sysv/linux/powerpc/ldconfig.h - (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2". - * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate. - -2013-11-12 Ulrich Weigand - Alan Modra - - * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval): - New versions for use with the ELFv2 ABI. - (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes. - * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward - declaration. - (struct La_ppc64v2_retval): Likewise. - (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter. - (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit. - * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define - to ppc64v2_gnu_pltenter if _CALL_ELF == 2. - (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2. - * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve): - Do not save or restore CR. - (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2. - (_dl_profile_resolve): Do no save or restore CR. Support extended - return values for ELFv2 ABI. Fix location of FPR return registers. - * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide - updated values for _CALL_ELF == 2. - (La_regs, La_retval, int_retval): Likewise. - -2013-12-04 Ulrich Weigand - - * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define. - (FRAME_MIN_SIZE_PARM): Likewise. - (FRAME_BACKCHAIN): Likewise. - (FRAME_CR_SAVE): Likewise. - (FRAME_LR_SAVE): Likewise. - (FRAME_TOC_SAVE): Likewise. - (FRAME_PARM_SAVE): Likewise. - (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE, - FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE, - FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise. - (call_mcount_parm_offset): New macro. - (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it. - (PROF): Use symbolic stack frame offsets. - (TAIL_CALL_SYSCALL_ERROR): Likewise. - * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS): - Redefine in terms of FRAME_MIN_SIZE. - (_dl_runtime_resolve): Use symbolic stack frame offsets. - (_dl_profile_resolve): Likewise. Update comment. - * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use - symbols stack frame offsets. - (__sigsetjmp): Likewise. - * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise. - * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise. - * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise. - * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise. - - * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym - (FRAME_BACKCHAIN): Remove. - (FRAME_CR_SAVE): Likewise. - (FRAME_LR_SAVE): Likewise. - (FRAME_COMPILER_DW): Likewise. - (FRAME_LINKER_DW): Likewise. - (FRAME_TOC_SAVE): Likewise. - (FRAME_PARM_SAVE): Likewise. - (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE) - (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE) - (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S - (CHECK_SP): Use symbolic stack frame offsets. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red - zone" instead of caller's parameter save area for temp storage. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone): - Likewise. Also, use symbolic stack frame offsets. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE, - stackblock): Redefine for _CALL_ELF == 2 to save parameters into - our own stack frame instead of the caller's. - (__socket): Use symbolic stack frame offsets. - -2013-12-04 Ulrich Weigand - Alan Modra - - * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC): - Define. - (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK) - (PPC64_LOCAL_ENTRY_OFFSET): Define. - * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset): - New function. - (elf_machine_fixup_plt): Call it. - (elf_machine_plt_conflict): Likewise. Add map, sym_map, and - reloc arguments. - (elf_machine_rela): Update call to elf_machine_plt_conflict. - * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve) - (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into - r2 before calling target. - -2013-12-04 Ulrich Weigand - Alan Modra - - * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2] - (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New - versions of macros to support ELFv2 ABI. - (LOCALENTRY): New macro. - (ENTRY, EALIGN): Use it. - * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY. - * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not - fall through into ENTRY entry point. - * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc): - Only define if _CALL_ELF != 2. - - (elf_machine_matches_host): Verify ABI version matches. - (RTLD_START): Use LOCALENTRY. - (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI. - (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2. - (PLT_ENTRY_WORDS): New macro. - (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise. - (elf_machine_runtime_setup): Support ELFv2 ABI. - (elf_machine_fixup_plt): Likewise. - (elf_machine_plt_conflict): Likewise. - (resolve_ifunc): Likewise. - * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h - (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S - (makecontext): Support ELFv2 ABI. - * elf/elf.h (EF_PPC64_ABI): Define. - -2013-12-04 Ulrich Weigand - - * sysdeps/powerpc/powerpc64/sysdep.h - (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro. - (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ... - (ENTRY) [ASSEMBLER]: ... but instead here ... - (EALIGN) [ASSEMBLER]: ... and here. - (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro. - (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry. - (ENTRY_2) [!ASSEMBLER]: Use it. - * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for - ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR. - * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve) - (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR. - * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone): - Use PPC64_LOAD_FUNCPTR. - - * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field. - -2013-12-04 Alan Modra - - * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define. - (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise. - (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise. - (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise. - - * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add - overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA, - R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA. - Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA, - R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations. - Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32. - -2013-12-04 Ulrich Weigand - - * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S - (__makecontext): Fix incorrect CFI when backtracing out of - context created via makecontext. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S - (__setcontext): Fix incorrect CFI during switch to new context. - (__novec_setcontext): Likewise. - -2013-12-04 Ondƙej BĂ­lka - - [BZ #4772] - * time/strptime_l.c (__strptime_internal): Allow modifiers - in strptime. - * time/tst-strptime.c (day_tests): Add testcase. - -2013-12-04 Siddhesh Poyarekar - - * scripts/bench.pl: Skip over blank lines. - -2013-12-04 Paul Eggert - - [BZ #926] - * manual/time.texi (Calendar Time): Clarify what timezone functions - use. - -2013-12-04 Adhemerval Zanella - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - -2013-12-04 Ondƙej BĂ­lka - - * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom - implementation. - * debug/memmove_chk.c (MEMMOVE_CHK): Likewise. - * debug/mempcpy_chk.c (__mempcpy_chk): Likewise. - * debug/memset_chk.c (__memset_chk): Likewise. - * debug/stpncpy_chk.c (__stpncpy_chk): Likewise. - * debug/strncpy_chk.c: Likewise. - -2013-12-03 Joseph Myers - - [BZ #15268] - [BZ #15425] - * sysdeps/ieee754/dbl-64/e_exp.c: Include . - (__ieee754_exp): For possibly underflowing results, check size of - result and force underflow exception if required. - * math/auto-libm-test-in: Add more tests of exp. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - [BZ #16283] - * math/w_exp2.c (__exp2): Handle a zero result as underflow. - * math/w_exp2f.c (__exp2f): Likewise. - * math/w_exp2l.c (__exp2l): Likewise. - * math/auto-libm-test-in: Do not allow missing errno on exp2 - underflow. - * math/auto-libm-test-out: Regenerated. - -2013-12-03 Ondƙej BĂ­lka - - [BZ #16274] - * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly - handle filename validation. - * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails. - (do_open): Delete. - -2013-12-03 Joseph Myers - - [BZ #6786] - * sysdeps/ieee754/dbl-64/s_erf.c: Include and . - (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny. - * sysdeps/ieee754/flt-32/s_erff.c: Include and - . - (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny. - * sysdeps/ieee754/ldbl-128/s_erfl.c: Include . - (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny. - * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include . - (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny. - * sysdeps/ieee754/ldbl-96/s_erfl.c: Include . - (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny. - * math/auto-libm-test-in: Don't allow missing errno from erfc. - Add more erfc tests. - * math/auto-libm-test-out: Regenerated. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10, - exp2, expm1, j0 and j1. - * math/auto-libm-test-out: Regenerated. - * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f. - (erfc_test_data): Likewise. - (exp_test_data): Likewise. - (exp_tonearest_test_data): Likewise. - (exp_towardzero_test_data): Likewise. - (exp_downward_test_data): Likewise. - (exp_upward_test_data): Likewise. - (exp10_test_data): Likewise. - (exp2_test_data): Likewise. - (expm1_test_data): Likewise. - (j0_test_data): Likewise. - (j1_test_data): Likewise. - * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment. - (input_flag_type): Add flag_xfail_rounding. - (input_flags): Add xfail-rounding. - (adjust_real): Assert mpfr_number_p not mpfr_regular_p. - (output_for_one_input_case): Handle flag_xfail_rounding. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2013-12-03 Aurelien Jarno - - [BZ #16289] - * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid - division by 0. - -2013-12-03 Siddhesh Poyarekar - - [BZ #16195] - * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__] - (LIBC_PROBE): Change definition to call STAP_PROBE* macros. - (STAP_PROBE0): New macro. - (STAP_PROBE1): Likewise. - (STAP_PROBE2): Likewise. - (STAP_PROBE3): Likewise. - (STAP_PROBE4): Likewise. - -2013-12-02 Ondƙej BĂ­lka - - * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close. - -2013-12-02 Steve Ellcey - - * benchtests/Makefile (bench): Add sqrt. - (LDLIBS-bench-sqrt): New. - * benchtests/sqrt-input: New. - -2013-12-02 Pavel Simerda - - * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro. - (GAIH_EAI): Likewise. - (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC. - (gaih_inet): Likewise. - (getaddrinfo): Don't use GAIH_EAI. - - * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro. - (struct gaih): Remove definition. - -2013-12-02 Siddhesh Poyarekar - - * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r): - Use HERRNOP directly. - -2013-12-02 Adhemerval Zanella - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - -2013-11-30 Joseph Myers - - * math/gen-auto-libm-tests.c (test_functions): Add more - single-argument functions. - (special_fill_pi_2): New function. - (special_fill_minus_pi_2): Likewise. - (special_fill_pi_6): Likewise. - (special_fill_minus_pi_6): Likewise. - (special_fill_pi_3): Likewise. - (special_fill_2pi_3): Likewise. - (special_fill_e): Likewise. - (special_fill_1_e): Likewise. - (special_fill_e_minus_1): Likewise. - (special_real_inputs): Add more special inputs. - (output_for_one_input_case): Do not require ERANGE on underflow to - zero if round-to-nearest result does not underflow to zero, unless - exact results required. - * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh, - atan, atanh, cbrt, cos and cosh. - * math/auto-libm-test-out: Regenerated. - * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f. - (acos_tonearest_test_data): Likewise. - (acos_towardzero_test_data): Likewise. - (acos_downward_test_data): Likewise. - (acos_upward_test_data): Likewise. - (acosh_test_data): Likewise. - (asin_test_data): Likewise. - (asin_tonearest_test_data): Likewise. - (asin_towardzero_test_data): Likewise. - (asin_upward_test_data): Likewise. - (asinh_test_data): Likewise. - (atan_test_data): Likewise. - (atanh_test_data): Likewise. - (cbrt_test_data): Likewise. - (cos_test_data): Likewise. - (cos_tonearest_test_data): Likewise. - (cos_towardzero_test_data): Likewise. - (cos_downward_test_data): Likewise. - (cos_upward_test_data): Likewise. - (cosh_test_data): Likewise. - (cosh_tonearest_test_data): Likewise. - (cosh_towardzero_test_data): Likewise. - (cosh_downward_test_data): Likewise. - (cosh_upward_test_data): Likewise. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2013-11-29 Joseph Myers - - [BZ #6787] - * math/w_exp10.c (__exp10): Handle a zero result as underflow. - * math/w_exp10f.c (__exp10f): Likewise. - * math/w_exp10l.c (__exp10l): Likewise. - * math/libm-test.inc (exp10_test_data): Add more tests and expect - errno settings in existing tests. - - [BZ #14032] - * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with - precision control set to double precision. - * sysdeps/i386/fpu/w_sqrt.c: New file. - * math/auto-libm-test-in: Add more tests. - * math/auto-libm-test-out: Update. - - * math/libm-test.inc (sqrt_tonearest_test_data): New variable. - (sqrt_test_tonearest): New function. - (sqrt_towardzero_test_data): New variable. - (sqrt_test_towardzero): New function. - (sqrt_downward_test_data): New variable. - (sqrt_test_downward): New function. - (sqrt_upward_test_data): New variable. - (sqrt_test_upward): New function. - (main): Call the new functions. - - * math/gen-auto-libm-tests.c: New file. - * math/auto-libm-test-in: Likewise. - * math/auto-libm-test-out: New generated file. - * math/gen-libm-test.pl ($auto_input, %auto_tests): New global - variables. - (%beautify): Add generated representations of zero. - (top level): Set $auto_input and call parse_auto_input. - (beautify): Remove trailing "f" from hex float constants. - (parse_args): Handle XFAIL_TEST. - (convert_condition): New function. - (or_value): Likewise. - (or_cond_value): Likewise. - (generate_testfile): Handle AUTO_TESTS_* lines. - (parse_auto_input): New function. - * math/libm-test.inc (XFAIL_TEST): New macro. - (ERRNO_UNCHANGED): Update value. - (ERRNO_EDOM): Likewise. - (ERRNO_ERANGE): Likewise. - (IGNORE_RESULT): Likewise. - (TEST_COND_flt_32): New macro. - (TEST_COND_dbl_64): Likewise. - (TEST_COND_ldbl_96_intel): Likewise. - (TEST_COND_ldbl_96_m68k): Likewise. - (TEST_COND_ldbl_128): Likewise. - (TEST_COND_ldbl_128ibm): Likewise. - (TEST_COND_long32): Likewise. - (TEST_COND_long64): Likewise. - (TEST_COND_before_rounding): Likewise. - (TEST_COND_after_rounding): Likewise. - (enable_test): Handle XFAIL_TEST flag. - (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs - with finite results. - * math/Makefile ($(objpfx)libm-test.stmp): Depend on - auto-libm-test-out. - -2013-11-29 Siddhesh Poyarekar - Andreas Krebbel - - [BZ #16214] - * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke - __tls_get_addr_internal instead of __tls_get_offset in order to - avoid GOT pointer dependency. Make rtld export - __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding - __tls_get_addr since we are a __tls_get_offset platform. - * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on - GOT pointer being set up before. - * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise. - -2013-11-28 Joseph Myers - - * manual/math.texi (Errors in Math Functions): Document accuracy - goals. - - [BZ #15004] - * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file. - * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise. - - * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file. - * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise. - * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise. - * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise. - * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c: - Likewise. - * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c: - Likewise. - * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c: - Likewise. - * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise. - * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp] - (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept, - atomic-feupdateenv and flt-rounds. - * sysdeps/powerpc/nofpu/Versions (libc): Add - __atomic_feholdexcept, __atomic_feclearexcept, - __atomic_feupdateenv and __flt_rounds to GLIBC_2.19. - * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h - (__feraiseexcept_soft): Declare and use libc_hidden_proto here. - * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c - (__feraiseexcept_soft): Don't declare and use libc_hidden_proto - here. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist: - Update. - - * manual/arith.texi (FP Exceptions): Document that exceptions may - not be raised when matherr is used. - (Math Error Reporting): Document overflow in directed rounding - modes. Document that errno may not be set when finite values are - returned on overflow. Document intent to set errno on underflow - only for underflow to zero. - - [BZ #16271] - * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set - round-to-nearest then adjust result for other rounding modes. - * include/fenv.h (fegetround): Use libm_hidden_proto. - * math/fegetround.c (fegetround): Use libm_hidden_def. - * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise. - * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise. - * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise. - * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround): - Likewise. - * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise. - * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise. - * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise. - * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise. - -2013-11-28 Siddhesh Poyarekar - - [BZ #16077] - * nss/Versions (libnss_files): Add - _nss_files_gethostbyname3_r. - * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r): - New function. - (HOST_DB_LOOKUP): Remove macro. - (_nss_files_gethostbyname_r): Implement function without the - HOST_DB_LOOKUP macro. - (_nss_files_gethostbyname2_r): Likewise. - -2013-11-28 Ondƙej BĂ­lka - - * malloc/malloc.c (__libc_calloc): Make memset a tail call. - -2013-11-26 Uros Bizjak - - * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against - _FP_W_TYPE_SIZE to avoid "left shift count >= width of type" - warning. - -2013-11-26 Adhemerval Zanella - - * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use - __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call. - * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise. - * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise. - * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to - __fe_nomask_env_priv and attribute_hidden. - * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise. - (libc_feupdateenv_test_ppc): Likewise. - (libc_feresetround_ppc): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c - (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust - compat_symbol macro. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c - (__fe_nomask_env): Likewise. - * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise. - -2013-11-26 Ondƙej BĂ­lka - - * string/Makefile: Remove ifunc tests. - * string/test-string.h: Define TEST_IFUNC. - * string/test-bcopy-ifunc.c: Remove. - * string/test-bzero-ifunc.c: Likewise. - * string/test-memccpy-ifunc.c: Likewise. - * string/test-memchr-ifunc.c: Likewise. - * string/test-memcmp-ifunc.c: Likewise. - * string/test-memcpy-ifunc.c: Likewise. - * string/test-memmem-ifunc.c: Likewise. - * string/test-memmove-ifunc.c: Likewise. - * string/test-mempcpy-ifunc.c: Likewise. - * string/test-memrchr-ifunc.c: Likewise. - * string/test-memset-ifunc.c: Likewise. - * string/test-rawmemchr-ifunc.c: Likewise. - * string/test-stpcpy-ifunc.c: Likewise. - * string/test-stpncpy-ifunc.c: Likewise. - * string/test-strcasecmp-ifunc.c: Likewise. - * string/test-strcasestr-ifunc.c: Likewise. - * string/test-strcat-ifunc.c: Likewise. - * string/test-strchr-ifunc.c: Likewise. - * string/test-strchrnul-ifunc.c: Likewise. - * string/test-strcmp-ifunc.c: Likewise. - * string/test-strcpy-ifunc.c: Likewise. - * string/test-strcspn-ifunc.c: Likewise. - * string/test-strlen-ifunc.c: Likewise. - * string/test-strncasecmp-ifunc.c: Likewise. - * string/test-strncat-ifunc.c: Likewise. - * string/test-strncmp-ifunc.c: Likewise. - * string/test-strncpy-ifunc.c: Likewise. - * string/test-strnlen-ifunc.c: Likewise. - * string/test-strpbrk-ifunc.c: Likewise. - * string/test-strrchr-ifunc.c: Likewise. - * string/test-strspn-ifunc.c: Likewise. - * string/test-strstr-ifunc.c: Likewise. - -2013-11-26 Ondƙej BĂ­lka - - * benchtests/Makefile: Remove ifunc tests. - * benchtests/bench-string.h: Define TEST_IFUNC. - * benchtests/bench-bcopy-ifunc.c: Remove. - * benchtests/bench-bzero-ifunc.c: Likewise. - * benchtests/bench-memccpy-ifunc.c: Likewise. - * benchtests/bench-memchr-ifunc.c: Likewise. - * benchtests/bench-memcmp-ifunc.c: Likewise. - * benchtests/bench-memcpy-ifunc.c: Likewise. - * benchtests/bench-memmem-ifunc.c: Likewise. - * benchtests/bench-memmove-ifunc.c: Likewise. - * benchtests/bench-mempcpy-ifunc.c: Likewise. - * benchtests/bench-memrchr-ifunc.c: Likewise. - * benchtests/bench-memset-ifunc.c: Likewise. - * benchtests/bench-rawmemchr-ifunc.c: Likewise. - * benchtests/bench-stpcpy_chk-ifunc.c: Likewise. - * benchtests/bench-stpcpy-ifunc.c: Likewise. - * benchtests/bench-stpncpy-ifunc.c: Likewise. - * benchtests/bench-strcasecmp-ifunc.c: Likewise. - * benchtests/bench-strcasestr-ifunc.c: Likewise. - * benchtests/bench-strcat-ifunc.c: Likewise. - * benchtests/bench-strchr-ifunc.c: Likewise. - * benchtests/bench-strchrnul-ifunc.c: Likewise. - * benchtests/bench-strcmp-ifunc.c: Likewise. - * benchtests/bench-strcpy_chk-ifunc.c: Likewise. - * benchtests/bench-strcpy-ifunc.c: Likewise. - * benchtests/bench-strcspn-ifunc.c: Likewise. - * benchtests/bench-strlen-ifunc.c: Likewise. - * benchtests/bench-strncasecmp-ifunc.c: Likewise. - * benchtests/bench-strncat-ifunc.c: Likewise. - * benchtests/bench-strncmp-ifunc.c: Likewise. - * benchtests/bench-strncpy-ifunc.c: Likewise. - * benchtests/bench-strnlen-ifunc.c: Likewise. - * benchtests/bench-strpbrk-ifunc.c: Likewise. - * benchtests/bench-strrchr-ifunc.c: Likewise. - * benchtests/bench-strsep-ifunc.c: Likewise. - * benchtests/bench-strspn-ifunc.c: Likewise. - * benchtests/bench-strstr-ifunc.c: Likewise. - -2013-11-26 Ondƙej BĂ­lka - - * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo. - -2013-11-26 Ondƙej BĂ­lka - - * resolv/netdb.h: Use __glibc_reserved instead __unused. - * rt/aio.h: Likewise. - * sysdeps/gnu/bits/utmp.h: Likewise. - * sysdeps/gnu/bits/utmpx.h: Likewise. - * sysdeps/gnu/netinet/ip_icmp.h: Likewise. - * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise. - * sysdeps/unix/sysv/linux/bits/msq.h: Likewise. - * sysdeps/unix/sysv/linux/bits/sem.h: Likewise. - * sysdeps/unix/sysv/linux/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise. - * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise. - * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise. - * sysdeps/unix/sysv/linux/sys/timex.h: Likewise. - * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise. - * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise. - * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/xstatconv.c: Likewise. - * sysdeps/x86/fpu/bits/fenv.h: Likewise. - -2013-11-25 Carlos O'Donell - - [BZ #16245] - * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): - Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP. - -2013-11-25 Joseph Myers - - * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro. - * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround): - Likewise. - -2013-11-25 Adhemerval Zanella - - * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use - SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv. - * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define. - (__fesetround): Remove define. - * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point - rounding and exceptions handling. - * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h. - * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden. - (__fe_nomask_env): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use - __fegetround instead of fegetround. - * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise. - -2013-11-21 Roland McGrath - - * malloc/malloc.c: Move #include to the top; comment why - it's there. - - * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype. - -2013-11-21 Meador Inge - - [BZ #11157] - * crypt/crypt.h (encrypt): Use __glibc_block instead of __block. - (encrypt_r): Likewise. - * malloc/obstack.h (obstack_free): Likewise. - * posix/unistd.h (encrypt): Likewise. - -2013-11-21 Guy Martin - - * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and - DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and - DL_CALL_DT_FINI() that call the functions directly. - * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro. - * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro. - * elf/dl-fini.c: Likewise. - -2013-11-20 Ondƙej BĂ­lka - - * malloc/hooks.c (memalign_check): Add alignment rounding. - * malloc/malloc.c (_mid_memalign): New function. - (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign): - Implement by calling _mid_memalign. - * manual/probes.texi (Memory Allocation Probes): Remove - memory_valloc_retry and memory_pvalloc_retry. - -2013-11-20 Siddhesh Poyarekar - - * locale/programs/locarchive.c (open_archive): Add const - qualifier to ARCHIVEFNAME and copy default fname to - DEFAULT_FNAME. - - [BZ #15601] - * libio/tst-widetext.input: Rename Oriya to Odia. - * locale/iso-639.def: Likewise. - - * manual/probes.texi (Mathematical Function Probes): Add - documentation for sin, cos, asin and acos probes. - * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h. - (__sin32): Add slowasin probe. - (__cos32): Add slowacos probe. - (__mpsin): Add slowsin probe. - (__mpcos): Add slowcos probe. - -2013-11-19 Joseph Myers - - [BZ #15483] - * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to - thread-local __sim_exceptions_thread and global - __sim_exceptions_global. - (__sim_disabled_exceptions): Change to thread-local - __sim_disabled_exceptions_thread and global - __sim_disabled_exceptions_global. - (__sim_round_mode): Change to thread-local __sim_round_mode_thread - and global __sim_round_mode_global. - (__simulate_exceptions): Use thread-local floating-point state and - set global state from it as needed. - * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add - __sim_exceptions_thread, __sim_disabled_exceptions_thread and - __sim_round_mode_thread. - * sysdeps/powerpc/nofpu/soft-supp.h: Include . - (__sim_exceptions): Change to thread-local __sim_exceptions_thread - and global __sim_exceptions_global. - (__sim_disabled_exceptions): Change to thread-local - __sim_disabled_exceptions_thread and global - __sim_disabled_exceptions_global. - (__sim_round_mode): Change to thread-local __sim_round_mode_thread - and global __sim_round_mode_global. - [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro. - (SIM_SET_GLOBAL): Likewise. - * sysdeps/powerpc/soft-fp/sfp-machine.h - [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use - __sim_round_mode_thread. - [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use - __sim_disabled_exceptions_thread. - (__sim_exceptions): Change to __sim_exceptions_thread. - (__sim_disabled_exceptions): Change to - __sim_disabled_exceptions_thread. - (__sim_round_mode): Change to __sim_round_mode_thread. - * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use - thread-local floating-point state and set global state from it as - needed. - * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise. - * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h". - (__sim_disabled_exceptions): Remove extern declaration. - (feenableexcept): Use thread-local floating-point state and set - global state from it as needed. - * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove - extern declaration. - (__sim_disabled_exceptions): Likewise. - (__sim_round_mode): Likewise. - (__fegetenv): Use thread-local floating-point state. - * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise. - * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise. - * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local - floating-point state and set global state from it as needed. - * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise. - * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise. - * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag): - Likewise. - * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise. - * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag): - Likewise. - sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise. - * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode): - Use __sim_round_mode_thread. - * math/test-fenv-tls.c: New file. - * math/Makefile (tests): Add test-fenv-tls. - ($(objpfx)test-fenv-tls): Depend on - $(common-objpfx)nptl/libpthread.so. - -2013-11-19 Andreas Schwab - - * locale/programs/locale.c (show_info): Decode wordarray elements. - * locale/categories.def (LC_MONETARY): Add element for - _NL_MONETARY_CRNCYSTR. - * locale/C-monetary.c (conversion_rate): New variable. - (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE - element. - -2013-11-18 Chris Metcalf - - * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL): - Omit definition of FPU_CONTROL and use default if no _FPU_IEEE. - -2013-11-18 Paul Pluzhnikov - - * elf/Makefile (tst-auxv): New test. - * elf/tst-auxv.c: New - * elf/rtld.c (dl_main): Adjust AT_EXECFN - -2013-11-18 Joseph Myers - - * include/libc-symbols.h (__hidden_proto): Add argument "thread". - (hidden_proto): Caller changed. - (hidden_tls_proto): New macro. - (libc_hidden_tls_proto): Likewise. - (rtld_hidden_tls_proto): Likewise. - (libm_hidden_tls_proto): Likewise. - (libresolv_hidden_tls_proto): Likewise. - (librt_hidden_tls_proto): Likewise. - (libdl_hidden_tls_proto): Likewise. - (libnss_files_hidden_tls_proto): Likewise. - (libnsl_hidden_tls_proto): Likewise. - (libnss_nisplus_hidden_tls_proto): Likewise. - (libutil_hidden_tls_proto): Likewise. - -2013-11-18 Ondƙej BĂ­lka - - [BZ #10253] - * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path. - (decompose_rpath): Defer expansion to fillin_rpath. - (_dl_init_paths): Pass linkmap to fillin_rpath. - -2013-11-18 Rajalakshmi Srinivasaraghavan - - * benchtests/Makefile: Add strsep. - * benchtests/bench-strsep.c: New file: strsep benchtest. - * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest. - -2013-11-18 Andreas Schwab - - * locale/programs/locale.c (show_info) [case byte]: Check for - '\377' instead of '\177'. - * locale/C-monetary.c (not_available): Always use "\377". - * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for - unspecified p_sign_posn and n_sign_posn. Check for '\377' to - detect unavailable sign_posn locale elements. - * locale/localeconv.c (__localeconv): For grouping and - mon_grouping handle "\177" and "\377" like no grouping. - (INT_ELEM): New macro. Use it to set all numeric members. - * locale/programs/ld-monetary.c (monetary_read) - : Normalize single -1 to the empty string. - * locale/programs/ld-numeric.c (numeric_read) : - Likewise. - -2013-11-07 Ondƙej BĂ­lka - - [BZ #16055] - * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width - when we match (nil). - * stdio-common/tst-sscanf.c (struct test): Add testcase. - -2013-11-16 Joseph Myers - - * math/libm-test.inc (TEST_NAN_SIGN): New macro. - (NO_TEST_INLINE): Update value. - (ERRNO_UNCHANGED): Likewise. - (ERRNO_EDOM): Likewise. - (ERRNO_ERANGE): Likewise. - (IGNORE_RESULT): Likewise. - (check_float_internal): Check signs of NaN results if - TEST_NAN_SIGN used. - (check_complex): Pass TEST_NAN_SIGN flag through to second - check_float_internal call. - (copysign_test_data): Add tests with quiet NaNs as second - argument. Use TEST_NAN_SIGN. - (fabs_test_data): Add test of negative quiet NaN argument. Use - TEST_NAN_SIGN. - (signbit_test_data): Add tests of quiet NaN argument. - * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN. - - * math/gen-libm-test.pl (show_exceptions): Take extra argument - $ignore_result. - (parse_args): Handle function results specified as IGNORE. - * math/libm-test.inc (IGNORE_RESULT): New macro. - (check_float_internal): Do not check numerical result if flag - IGNORE_RESULT set. - (check_complex): Pass through IGNORE_RESULT to second - check_float_internal call. - (check_int): Do not check numerical result if flag IGNORE_RESULT - set. - (check_long): Likewise. - (check_bool): Likewise. - (check_longlong): Likewise. - (lrint_test_data): Add tests of infinite and NaN arguments. - (lrint_tonearest_test_data): Likewise. - (lrint_towardzero_test_data): Likewise. - (lrint_downward_test_data): Likewise. - (lrint_upward_test_data): Likewise. - (llrint_test_data): Likewise. - (llrint_tonearest_test_data): Likewise. - (llrint_towardzero_test_data): Likewise. - (llrint_downward_test_data): Likewise. - (llrint_upward_test_data): Likewise. - (lround_test_data): Likewise. - (llround_test_data): Likewise. - - * math/libm-test.inc (NO_TEST_INLINE): New macro. - (ERRNO_UNCHANGED): Update value. - (ERRNO_EDOM): Likewise. - (ERRNO_ERANGE): Likewise. - (NO_TEST_INLINE_FLOAT): New macro. - (NO_TEST_INLINE_DOUBLE): Likewise. - (enable_test): New function. - (RUN_TEST_f_f): Check enable_test before running test. - (RUN_TEST_2_f): Likewise. - (RUN_TEST_fff_f): Likewise. - (RUN_TEST_c_f): Likewise. - (RUN_TEST_f_f1): Likewise. - (RUN_TEST_fF_f1): Likewise. - (RUN_TEST_fI_f1): Likewise. - (RUN_TEST_ffI_f1): Likewise. - (RUN_TEST_c_c): Likewise. - (RUN_TEST_cc_c): Likewise. - (RUN_TEST_f_i): Likewise. - (RUN_TEST_f_i_tg): Likewise. - (RUN_TEST_ff_i_tg): Likewise. - (RUN_TEST_f_b): Likewise. - (RUN_TEST_f_b_tg): Likewise. - (RUN_TEST_f_l): Likewise. - (RUN_TEST_f_L): Likewise. - (RUN_TEST_fFF_11): Likewise. - (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE] - conditionals. - (cosh_test_data): Likewise. - (exp_test_data): Likewise. - (expm1_test_data): Likewise. - (hypot_test_data): Likewise. - (pow_test_data): Likewise. - (sinh_test_data): Likewise. - (tanh_test_data): Likewise. - * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as - flags argument. - - * libm-test.inc (acos_test_data): Disallow inexact exceptions for - tests with quiet NaN input and output. - (acosh_test_data): Likewise. - (asin_test_data): Likewise. - (asinh_test_data): Likewise. - (atan_test_data): Likewise. - (atanh_test_data): Likewise. - (atan2_test_data): Likewise. - (cbrt_test_data): Likewise. - (cos_test_data): Likewise. - (cosh_test_data): Likewise. - (erf_test_data): Likewise. - (erfc_test_data): Likewise. - (exp_test_data): Likewise. - (exp10_test_data): Likewise. - (exp2_test_data): Likewise. - (expm1_test_data): Likewise. - (hypot_test_data): Likewise. - (j0_test_data): Likewise. - (j1_test_data): Likewise. - (jn_test_data): Likewise. - (lgamma_test_data): Likewise. - (log_test_data): Likewise. - (log10_test_data): Likewise. - (log1p_test_data): Likewise. - (log2_test_data): Likewise. - (pow_test_data): Likewise. - (scalb_test_data): Likewise. - (sin_test_data): Likewise. - (sincos_test_data): Likewise. - (sinh_test_data): Likewise. - (tan_test_data): Likewise. - (tanh_test_data): Likewise. - (tgamma_test_data): Likewise. - (y0_test_data): Likewise. - (y1_test_data): Likewise. - (yn_test_data): Likewise. - - [BZ #16167] - * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first - argument being NaN and avoid computations with second argument in - that case. - * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise. - * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. - * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise. - -2013-11-15 Arun Kumar Pyasi - - * locale/iso-639.def: Add Chitwani Tharu (the). - -2013-11-14 Andreas Schwab - - * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero - word instead of empty string. - -2013-11-13 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c - (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c - (__fe_nomask_env): Likewise. - -2013-11-13 Steve Ellcey - - * benchtests/bench-timing.h: Include time.h. - -2013-11-13 H.J. Lu - - [BZ #15997] - * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set - to 3.4.0 for x32. - * sysdeps/unix/sysv/linux/configure: Regenerated. - -2013-11-13 Joseph Myers - - [BZ #16151] - * stdlib/strtod_l.c (round_and_return): Do not consider - retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an - exponent one less than half the least subnormal exponent. - * stdlib/test-strtod-round-data: Add more tests. - * stdlib/tst-strtod-round.c (tests): Regenerated. - -2013-11-13 Adhemerval Zanella - - [BZ #14143] - * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration. - (__fe_mask_env): Likewise. - * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove - libm_hidden_proto and add function prototype. - (__fe_mask_env): Add function prototype. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c - (__fe_nomask_env): Add compat symbol for GLIBC_2.1. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c - (__fe_mask_env): Remove compiler warnings regarding ununsed variables. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c - (__fe_nomask_env): Add compat symbol for GLIBC_2.3. - -2013-11-13 Marcus Shawcroft - - * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false - set reference_name to "" to avoid passing NULL to DSO_FILENAME. - -2013-11-13 Marcus Shawcroft - - * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure - of htab_find_slot(). - -2013-11-11 David S. Miller - - [BZ #16150] - * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic - symbol in the non-vis3 case in static builds. - * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise. - * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise. - * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise. - * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise. - -2013-11-11 Jan Kratochvil - - [BZ #387] - * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if - it is empty. - -2013-11-11 Adhemerval Zanella - - * benchtests/Makefile: Add bench-strtod. - * benchtests/bench-strtod.c: New file: strtod benchtest - -2013-11-11 Andreas Schwab - - [BZ #16153] - * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include - terminating NUL in key length. - -2013-11-08 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): - Add artificial ODP entry for vDSO symbol for PPC64. - * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes. - * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise. - -2013-11-07 Ondƙej BĂ­lka - - [BZ #15374] - * nss/getent.c (services_keys): Recognize services starting with digit. - -2013-11-06 David S. Miller - - [BZ #15985] - * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd - on pre-v9 cpus, use a fnegs+fmovs sequence instead. - -2013-11-06 Will Newton - - * manual/memory.texi (Malloc Examples): Remove register - keyword from examples. - -2013-11-04 Chris Leonard - - * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm). - -2013-11-04 Joseph Myers - - [BZ #6981] - * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define - depending on [__GCC_IEC_559 > 0]. - [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define - depending on [__GCC_IEC_559_COMPLEX > 0]. - -2013-11-03 Chris Leonard - - * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl) - to iso-639.def. - -2013-11-03 Ondƙej BĂ­lka - - * elf/rtld.c: Remove unused NONTLS_INIT_TP. - -2013-11-01 Ondƙej BĂ­lka - - [BZ #16112] - * malloc/malloc (malloc_info): Do not handle first bin as - special case. - -2013-11-01 Chris Leonard - - * locale/iso-639.def: Add Central Nahuatl (nhn). - -2013-11-01 Bruno Haible - - [BZ #7003] - * manual/math.texi (BSD Random): Specify range upper bound as - in POSIX. - -2013-10-31 Chris Leonard - - * locale/iso-639.def: Add Meadow Mari (mhr). - -2013-10-31 Ondƙej BĂ­lka - - [BZ #14752], [BZ #15763] - * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink): - Validate name. - * rt/tst_shm.c: Add test for escaping directory. - -2013-10-31 Andreas Schwab - - [BZ #15917] - * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not - followed by 'x' as part of digit sequence. - * stdio-common/tst-sscanf.c (double_tests2): New tests. - -2013-10-31 Marc-Antoine Perennou - - [BZ #16037] - * configure.ac: allow GNU Make 4.0 and greater. - * configure: Regenerated. - -2013-10-30 Will Newton - - [BZ #16038] - * malloc/hooks.c (memalign_check): Limit alignment to the - maximum representable power of two. - * malloc/malloc.c (__libc_memalign): Likewise. - * malloc/tst-memalign.c (do_test): Add test for very - large alignment values. - * malloc/tst-posix_memalign.c (do_test): Likewise. - -2013-10-30 Ondƙej BĂ­lka - - [BZ #11087] - * malloc/malloc.c (sysmalloc): Compute statistics atomically. - (munmap_chunk): Likewise. - (mremap_chunk): Likewise. - -2013-10-30 Ondƙej BĂ­lka - - [BZ #15799] - * stdlib/div.c (div): Remove obsolete code. - * stdlib/ldiv.c (ldiv): Likewise. - * stdlib/lldiv.c (lldiv): Likewise. - -2013-10-30 Siddhesh Poyarekar - - [BZ #16071] - * nss/nss_files/files-XXX.c (get_contents_ret): New - enumerator. - (get_contents): New function. - (internal_getent): Use it. Expand size of LINEBUFLEN. - -2013-10-30 Mike Frysinger - - * configure.in: Moved to ... - * configure.ac: ... here. Change reference to configure.in - to configure.ac. - * sysdeps/arm/preconfigure.ac: ... here. - configure.in to configure.ac. - * sysdeps/gnu/configure.in: Moved to ... - * sysdeps/gnu/configure.ac: ... here. - * sysdeps/i386/configure.in: Moved to ... - * sysdeps/i386/configure.ac: ... here. - * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ... - * sysdeps/ieee754/ldbl-opt/configure.ac: ... here. - * sysdeps/mach/configure.in: Moved to ... - * sysdeps/mach/configure.ac: ... here. - * sysdeps/mach/hurd/configure.in: Moved to ... - * sysdeps/mach/hurd/configure.ac: ... here. - * sysdeps/powerpc/configure.in: Moved to ... - * sysdeps/powerpc/configure.ac: ... here. - * sysdeps/powerpc/powerpc32/configure.in: Moved to ... - * sysdeps/powerpc/powerpc32/configure.ac: ... here. - * sysdeps/powerpc/powerpc64/configure.in: Moved to ... - * sysdeps/powerpc/powerpc64/configure.ac: ... here. - * sysdeps/s390/s390-32/configure.in: Moved to ... - * sysdeps/s390/s390-32/configure.ac: ... here. - * sysdeps/s390/s390-64/configure.in: Moved to ... - * sysdeps/s390/s390-64/configure.ac: ... here. - * sysdeps/sh/configure.in: Moved to ... - * sysdeps/sh/configure.ac: ... here. - * sysdeps/sparc/configure.in: Moved to ... - * sysdeps/sparc/configure.ac: ... here. - * sysdeps/unix/sysv/linux/configure.in: Moved to ... - * sysdeps/unix/sysv/linux/configure.ac: ... here. - * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ... - * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here. - * sysdeps/x86_64/configure.in: Moved to ... - * sysdeps/x86_64/configure.ac: ... here. - * sysdeps/x86_64/preconfigure.in: Moved to ... - * sysdeps/x86_64/preconfigure.ac: ... here. - * aclocal.m4: Change reference to configure.in to configure.ac. - * config.h.in: Likewise. - * manual/install.texi: Likewise. - * manual/maint.texi: Likewise. - * Makefile: Likewise. - * malloc/Makefile: Likewise. - * nscd/Makefile: Likewise. - * Makeconfig: Change reference to configure.in and - preconfigure.in to configure.ac and preconfigure.ac - respectively. - * INSTALL: Regenerated. - * configure: Likewise. - * sysdeps/gnu/configure: Likewise. - * sysdeps/i386/configure: Likewise. - * sysdeps/ieee754/ldbl-opt/configure: Likewise. - * sysdeps/mach/configure: Likewise. - * sysdeps/mach/hurd/configure: Likewise. - * sysdeps/powerpc/configure: Likewise. - * sysdeps/powerpc/powerpc32/configure: Likewise. - * sysdeps/powerpc/powerpc64/configure: Likewise. - * sysdeps/s390/s390-32/configure: Likewise. - * sysdeps/s390/s390-64/configure: Likewise. - * sysdeps/sh/configure: Likewise. - * sysdeps/sparc/configure: Likewise. - * sysdeps/unix/sysv/linux/configure: Likewise. - * sysdeps/unix/sysv/linux/powerpc/configure: Likewise. - * sysdeps/x86_64/configure: Likewise. - * sysdeps/x86_64/preconfigure: Likewise. - -2013-10-29 Andreas Schwab - - * stdio-common/Makefile (tst-swscanf-ENV): Define. - -2013-10-28 Siddhesh Poyarekar - - * benchtests/pow-inputs: Add new inputs. - - * benchtests/exp-inputs: Add new inputs. - - * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate - conditional check for return value. - (__cos32): Likewise. - -2013-10-26 Adhemerval Zanella - - * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store - to provide a boost for large inputs with word alignment. - * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite - implementation based on optimized PPC64 strcpy. - * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized - strcpy for PPC64/POWER7 based on both doubleword and word load/store. - * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized - stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy. - -2013-10-25 Ondƙej BĂ­lka - - [BZ #2801] - * manual/socket.texi (Host Names): Fix gethostbyname_r example. - -2013-10-25 Ondƙej BĂ­lka - - [BZ #14876] - * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry. - * time/tst-strptime.c (day_tests): Add testcase. - -2013-10-25 Ondƙej BĂ­lka - - [BZ #14029] - * manual/pattern.texi: Acknowledge that fnmatch can fail. - -2013-10-25 Fabrice Bauzac - - [BZ #16074] - * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns - MAP_FAILED on error. - -2013-10-25 Siddhesh Poyarekar - - [BZ #16072] - * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on - heap for large requests. - -2013-10-25 Aurelien Jarno - - [BZ #9954] - * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native - result if the result has no associated interface. - * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect - interface for all 127.X.Y.Z addresses. - -2013-10-24 Chris Leonard - - * locale/iso-639.def: Add Ligurian (lij) - -2013-10-21 Ondƙej BĂ­lka - - [BZ #15825] - * sunrpc/rpc_main.c: Document rpcgen -5. - -2013-10-19 Michael Stahl - - * elf/rtld.c (do_preload): Print the reason why preloading failed. - -2013-10-19 Ondƙej BĂ­lka - - [BZ #10278] - * posix/glob.c: Match only directories when trailing slash is present. - * posix/tst-gnuglob.c (my_opendir): Do not open files. - (main): Add testcase. - -2013-10-19 Ondƙej BĂ­lka - - [BZ #15670] - * time/tzfile.c (__tzfile_read): Replace alloca with malloc. - -2013-10-18 Carlos O'Donell - - * manual/crypt.texi (Cryptographic Functions): Using SunRPC and - AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for - AUTH_DES and cindex for FIPS 140-2. - (DES Encryption): Add cindex FIPS 46-3. - - * locale/locarchive.h (struct locarhandle): Add fname. - * locale/programs/localedef.c (main): Pass ARGV[remaining] - if an optional argument was specified to --list-archive, - otherwise NULL. - * locale/programs/locarchive.c (show_archive_content): Take new - argument fname and pass it via ah.fname to open_archive. - * locale/programs/localedef.h: Update decl. - (open_archive): If AH->fname is non-null, open that file - rather than the default file name, and don't ignore ENOENT. - (create_archive): Set AH.fname to NULL. - (delete_locales_from_archive): Likewise. - (add_locales_to_archive): Likewise. - * locale/programs/locfile.c (write_all_categories): Likewise. - -2013-10-18 Joseph Myers - Aldy Hernandez - - * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file. - * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise. - * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise. - * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise. - * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise. - * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise. - * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise. - * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise. - * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise. - * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise. - * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise. - * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise. - * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise. - * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise. - * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c: - Likewise. - * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c: - Likewise. - * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c: - Likewise. - * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c: - Likewise. - * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise. - * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c: - Likewise. - * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise. - * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise. - * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise. - * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h: - Likewise. - * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise. - * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise. - * sysdeps/powerpc/preconfigure: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies: - Likewise. - * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]: - Replace contents of file by #include of . - * sysdeps/powerpc/soft-fp/sfp-machine.h - [__NO_FPRS__ && !_SOFT_FLOAT]: Include , - and . - [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare. - [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro. - [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise. - [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise. - [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise. - [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise. - [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise. - [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise. - [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise. - [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise. - [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise. - [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data: - Allow copysignl PLT reference to be missing. - -2013-10-18 Richard Sandiford - Joseph Myers - - [BZ #15948] - * locale/programs/ld-collate.c (new_element): Handle as a - single character. - (add_to_tablewc): Assert sequence of wide characters is nonempty. - -2013-10-18 Siddhesh Poyarekar - - * elf/tst-tls-dlinfo.c: Don't include tls.h. - * elf/tst-tls1.c: Likewise. - * elf/tst-tls10.h: Likewise. - * elf/tst-tls14.c: Likewise. - * elf/tst-tls2.c: Likewise. - * elf/tst-tls3.c: Likewise. - * elf/tst-tls4.c: Likewise. - * elf/tst-tls5.c: Likewise. - * elf/tst-tls6.c: Likewise. - * elf/tst-tls7.c: Likewise. - * elf/tst-tls8.c: Likewise. - * elf/tst-tls9.c: Likewise. - * elf/tst-tlsmod1.c: Likewise. - * elf/tst-tlsmod13.c: Likewise. - * elf/tst-tlsmod13a.c: Likewise. - * elf/tst-tlsmod14a.c: Likewise. - * elf/tst-tlsmod16a.c: Likewise. - * elf/tst-tlsmod16b.c: Likewise. - * elf/tst-tlsmod2.c: Likewise. - * elf/tst-tlsmod3.c: Likewise. - * elf/tst-tlsmod4.c: Likewise. - * elf/tst-tlsmod5.c: Likewise. - * elf/tst-tlsmod6.c: Likewise. - -2013-10-18 Ondƙej BĂ­lka - - [BZ #12486] - * malloc/malloc.c: remove checks for statistics. - -2013-10-17 Ondƙej BĂ­lka - - [BZ #15277] - * inet/inet_net.c (inet_network): Detect additional invalid strings. - * inet/tst-network.c: Add testcase. - -2013-10-17 Andreas Schwab - - [BZ #15218] - * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr - to determine canonical name. - -2013-10-17 Ondƙej BĂ­lka - - * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting. - * sysdeps/ieee754/dbl-64/dla.h: Likewise. - * sysdeps/ieee754/dbl-64/dosincos.c: Likewise. - * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise. - * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. - * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise. - * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise. - * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise. - * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise. - * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise. - * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise. - * sysdeps/ieee754/dbl-64/e_j0.c: Likewise. - * sysdeps/ieee754/dbl-64/e_j1.c: Likewise. - * sysdeps/ieee754/dbl-64/e_jn.c: Likewise. - * sysdeps/ieee754/dbl-64/e_log10.c: Likewise. - * sysdeps/ieee754/dbl-64/e_log2.c: Likewise. - * sysdeps/ieee754/dbl-64/e_log.c: Likewise. - * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise. - * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise. - * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise. - * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise. - * sysdeps/ieee754/dbl-64/halfulp.c: Likewise. - * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise. - * sysdeps/ieee754/dbl-64/MathLib.h: Likewise. - * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise. - * sysdeps/ieee754/dbl-64/mpa.c: Likewise. - * sysdeps/ieee754/dbl-64/mpatan.c: Likewise. - * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise. - * sysdeps/ieee754/dbl-64/mptan.c: Likewise. - * sysdeps/ieee754/dbl-64/mydefs.h: Likewise. - * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise. - * sysdeps/ieee754/dbl-64/s_atan.c: Likewise. - * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise. - * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise. - * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise. - * sysdeps/ieee754/dbl-64/s_erf.c: Likewise. - * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise. - * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise. - * sysdeps/ieee754/dbl-64/s_finite.c: Likewise. - * sysdeps/ieee754/dbl-64/s_floor.c: Likewise. - * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise. - * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise. - * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise. - * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise. - * sysdeps/ieee754/dbl-64/s_llround.c: Likewise. - * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise. - * sysdeps/ieee754/dbl-64/s_logb.c: Likewise. - * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise. - * sysdeps/ieee754/dbl-64/s_modf.c: Likewise. - * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise. - * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise. - * sysdeps/ieee754/dbl-64/s_rint.c: Likewise. - * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise. - * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise. - * sysdeps/ieee754/dbl-64/s_sin.c: Likewise. - * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise. - * sysdeps/ieee754/dbl-64/s_tan.c: Likewise. - * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise. - -2013-10-17 Joseph Myers - - [BZ #16041] - * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN, - make result into a quiet NaN. - -2013-10-16 Joseph Myers - - * soft-fp/adddf3.c: Fix horizontal whitespace. - * soft-fp/addsf3.c: Likewise. - * soft-fp/addtf3.c: Likewise. - * soft-fp/divdf3.c: Likewise. - * soft-fp/divsf3.c: Likewise. - * soft-fp/divtf3.c: Likewise. - * soft-fp/double.h: Likewise. - * soft-fp/eqdf2.c: Likewise. - * soft-fp/eqsf2.c: Likewise. - * soft-fp/eqtf2.c: Likewise. - * soft-fp/extenddftf2.c: Likewise. - * soft-fp/extended.h: Likewise. - * soft-fp/extendsfdf2.c: Likewise. - * soft-fp/extendsftf2.c: Likewise. - * soft-fp/extendxftf2.c: Likewise. - * soft-fp/fixdfdi.c: Likewise. - * soft-fp/fixdfsi.c: Likewise. - * soft-fp/fixdfti.c: Likewise. - * soft-fp/fixsfdi.c: Likewise. - * soft-fp/fixsfsi.c: Likewise. - * soft-fp/fixsfti.c: Likewise. - * soft-fp/fixtfdi.c: Likewise. - * soft-fp/fixtfsi.c: Likewise. - * soft-fp/fixtfti.c: Likewise. - * soft-fp/fixunsdfdi.c: Likewise. - * soft-fp/fixunsdfsi.c: Likewise. - * soft-fp/fixunsdfti.c: Likewise. - * soft-fp/fixunssfdi.c: Likewise. - * soft-fp/fixunssfsi.c: Likewise. - * soft-fp/fixunssfti.c: Likewise. - * soft-fp/fixunstfdi.c: Likewise. - * soft-fp/fixunstfsi.c: Likewise. - * soft-fp/fixunstfti.c: Likewise. - * soft-fp/floatdidf.c: Likewise. - * soft-fp/floatdisf.c: Likewise. - * soft-fp/floatditf.c: Likewise. - * soft-fp/floatsidf.c: Likewise. - * soft-fp/floatsisf.c: Likewise. - * soft-fp/floatsitf.c: Likewise. - * soft-fp/floattidf.c: Likewise. - * soft-fp/floattisf.c: Likewise. - * soft-fp/floattitf.c: Likewise. - * soft-fp/floatundidf.c: Likewise. - * soft-fp/floatundisf.c: Likewise. - * soft-fp/floatunditf.c: Likewise. - * soft-fp/floatunsidf.c: Likewise. - * soft-fp/floatunsisf.c: Likewise. - * soft-fp/floatunsitf.c: Likewise. - * soft-fp/floatuntidf.c: Likewise. - * soft-fp/floatuntisf.c: Likewise. - * soft-fp/floatuntitf.c: Likewise. - * soft-fp/fmadf4.c: Likewise. - * soft-fp/fmasf4.c: Likewise. - * soft-fp/fmatf4.c: Likewise. - * soft-fp/gedf2.c: Likewise. - * soft-fp/gesf2.c: Likewise. - * soft-fp/getf2.c: Likewise. - * soft-fp/ledf2.c: Likewise. - * soft-fp/lesf2.c: Likewise. - * soft-fp/letf2.c: Likewise. - * soft-fp/muldf3.c: Likewise. - * soft-fp/mulsf3.c: Likewise. - * soft-fp/multf3.c: Likewise. - * soft-fp/negdf2.c: Likewise. - * soft-fp/negsf2.c: Likewise. - * soft-fp/negtf2.c: Likewise. - * soft-fp/op-1.h: Likewise. - * soft-fp/op-2.h: Likewise. - * soft-fp/op-4.h: Likewise. - * soft-fp/op-8.h: Likewise. - * soft-fp/op-common.h: Likewise. - * soft-fp/quad.h: Likewise. - * soft-fp/single.h: Likewise. - * soft-fp/soft-fp.h: Likewise. - * soft-fp/sqrtdf2.c: Likewise. - * soft-fp/sqrtsf2.c: Likewise. - * soft-fp/sqrttf2.c: Likewise. - * soft-fp/subdf3.c: Likewise. - * soft-fp/subsf3.c: Likewise. - * soft-fp/subtf3.c: Likewise. - * soft-fp/truncdfsf2.c: Likewise. - * soft-fp/trunctfdf2.c: Likewise. - * soft-fp/trunctfsf2.c: Likewise. - * soft-fp/trunctfxf2.c: Likewise. - * soft-fp/unorddf2.c: Likewise. - * soft-fp/unordsf2.c: Likewise. - * soft-fp/unordtf2.c: Likewise. - -2013-10-15 Joseph Myers - - * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro. - * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise. - -2013-10-15 Ondƙej BĂ­lka - - * elf/dl-libc.c: Clear initfini list after freeing. - -2013-10-14 Joseph Myers - - * soft-fp/adddf3.c: Fix vertical whitespace and indentation. - * soft-fp/addsf3.c: Likewise. - * soft-fp/addtf3.c: Likewise. - * soft-fp/divdf3.c: Likewise. - * soft-fp/divsf3.c: Likewise. - * soft-fp/divtf3.c: Likewise. - * soft-fp/double.h: Likewise. - * soft-fp/eqdf2.c: Likewise. - * soft-fp/eqsf2.c: Likewise. - * soft-fp/eqtf2.c: Likewise. - * soft-fp/extenddftf2.c: Likewise. - * soft-fp/extended.h: Likewise. - * soft-fp/extendsfdf2.c: Likewise. - * soft-fp/extendsftf2.c: Likewise. - * soft-fp/extendxftf2.c: Likewise. - * soft-fp/fixdfdi.c: Likewise. - * soft-fp/fixdfsi.c: Likewise. - * soft-fp/fixdfti.c: Likewise. - * soft-fp/fixsfdi.c: Likewise. - * soft-fp/fixsfsi.c: Likewise. - * soft-fp/fixsfti.c: Likewise. - * soft-fp/fixtfdi.c: Likewise. - * soft-fp/fixtfsi.c: Likewise. - * soft-fp/fixtfti.c: Likewise. - * soft-fp/fixunsdfdi.c: Likewise. - * soft-fp/fixunsdfsi.c: Likewise. - * soft-fp/fixunsdfti.c: Likewise. - * soft-fp/fixunssfdi.c: Likewise. - * soft-fp/fixunssfsi.c: Likewise. - * soft-fp/fixunssfti.c: Likewise. - * soft-fp/fixunstfdi.c: Likewise. - * soft-fp/fixunstfsi.c: Likewise. - * soft-fp/fixunstfti.c: Likewise. - * soft-fp/floatdidf.c: Likewise. - * soft-fp/floatdisf.c: Likewise. - * soft-fp/floatditf.c: Likewise. - * soft-fp/floatsidf.c: Likewise. - * soft-fp/floatsisf.c: Likewise. - * soft-fp/floatsitf.c: Likewise. - * soft-fp/floattidf.c: Likewise. - * soft-fp/floattisf.c: Likewise. - * soft-fp/floattitf.c: Likewise. - * soft-fp/floatundidf.c: Likewise. - * soft-fp/floatundisf.c: Likewise. - * soft-fp/floatunsidf.c: Likewise. - * soft-fp/floatunsisf.c: Likewise. - * soft-fp/floatuntidf.c: Likewise. - * soft-fp/floatuntisf.c: Likewise. - * soft-fp/floatuntitf.c: Likewise. - * soft-fp/fmadf4.c: Likewise. - * soft-fp/fmasf4.c: Likewise. - * soft-fp/fmatf4.c: Likewise. - * soft-fp/gedf2.c: Likewise. - * soft-fp/gesf2.c: Likewise. - * soft-fp/getf2.c: Likewise. - * soft-fp/ledf2.c: Likewise. - * soft-fp/lesf2.c: Likewise. - * soft-fp/letf2.c: Likewise. - * soft-fp/muldf3.c: Likewise. - * soft-fp/mulsf3.c: Likewise. - * soft-fp/multf3.c: Likewise. - * soft-fp/negdf2.c: Likewise. - * soft-fp/negsf2.c: Likewise. - * soft-fp/negtf2.c: Likewise. - * soft-fp/op-1.h: Likewise. - * soft-fp/op-2.h: Likewise. - * soft-fp/op-4.h: Likewise. - * soft-fp/op-8.h: Likewise. - * soft-fp/op-common.h: Likewise. - * soft-fp/quad.h: Likewise. - * soft-fp/single.h: Likewise. - * soft-fp/soft-fp.h: Likewise. - * soft-fp/sqrtdf2.c: Likewise. - * soft-fp/sqrtsf2.c: Likewise. - * soft-fp/sqrttf2.c: Likewise. - * soft-fp/subdf3.c: Likewise. - * soft-fp/subsf3.c: Likewise. - * soft-fp/subtf3.c: Likewise. - * soft-fp/truncdfsf2.c: Likewise. - * soft-fp/trunctfdf2.c: Likewise. - * soft-fp/trunctfsf2.c: Likewise. - * soft-fp/trunctfxf2.c: Likewise. - * soft-fp/unorddf2.c: Likewise. - * soft-fp/unordsf2.c: Likewise. - * soft-fp/unordtf2.c: Likewise. - -2013-10-14 Ondƙej BĂ­lka - - [BZ #15672] - * misc/error.c (error_tail): Fix possible buffer overflow. - -2013-10-14 Aurelien Jarno - - [BZ #13028] - * res_send.c(__libc_res_nsend): Correctly copy the nameserver - address. - -2013-10-14 P. J. McDermott - - [BZ #832] - * elf/ldd.bash.in (try_trace): New function. Delete previous code - testing pipefail option. - -2013-10-12 Joseph Myers - - * soft-fp/double.h: Indent preprocessor directives inside #if. - * soft-fp/extended.h: Likewise. - * soft-fp/op-2.h: Likewise. - * soft-fp/op-4.h: Likewise. - * soft-fp/op-common.h: Likewise. - * soft-fp/quad.h: Likewise. - * soft-fp/single.h: Likewise. - * soft-fp/soft-fp.h: Likewise. - -2013-10-12 Yuri Chornoivan - - * iconv/iconv_prog.c: Fix typos. - * stdio-common/psiginfo-data.h: Likewise. - -2013-10-12 Reuben Thomas - - [BZ #15764] - * locale/setlocale.c: Fix typo. - -2013-10-12 Joseph Myers - - [BZ #16036] - * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for - signaling NaN arguments. - * soft-fp/unordsf2.c (__unordsf2): Likewise. - * soft-fp/unordtf2.c (__unordtf2): Likewise. - - [BZ #14910] - * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all - unordered operands. - * soft-fp/gesf2.c (__gesf2): Likewise. - * soft-fp/getf2.c (__getf2): Likewise. - * soft-fp/ledf2.c (__ledf2): Likewise. - * soft-fp/lesf2.c (__lesf2): Likewise. - * soft-fp/letf2.c (__letf2): Likewise. - - * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS. - * soft-fp/eqsf2.c (__eqsf2): Likewise. - * soft-fp/eqtf2.c (__eqtf2): Likewise. - * soft-fp/fixdfdi.c (__fixdfdi): Likewise. - * soft-fp/fixdfsi.c (__fixdfsi): Likewise. - * soft-fp/fixdfti.c (__fixdfti): Likewise. - * soft-fp/fixsfdi.c (__fixsfdi): Likewise. - * soft-fp/fixsfsi.c (__fixsfsi): Likewise. - * soft-fp/fixsfti.c (__fixsfti): Likewise. - * soft-fp/fixtfdi.c (__fixtfdi): Likewise. - * soft-fp/fixtfsi.c (__fixtfsi): Likewise. - * soft-fp/fixtfti.c (__fixtfti): Likewise. - * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise. - * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise. - * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise. - * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise. - * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise. - * soft-fp/fixunssfti.c (__fixunssfti): Likewise. - * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise. - * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise. - * soft-fp/fixunstfti.c (__fixunstfti): Likewise. - * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE. - * soft-fp/floatdisf.c (__floatdisf): Likewise. - * soft-fp/floatsisf.c (__floatsisf): Likewise. - * soft-fp/floattidf.c (__floattidf): Likewise. - * soft-fp/floattisf.c (__floattisf): Likewise. - * soft-fp/floattitf.c (__floattitf): Likewise. - * soft-fp/floatundidf.c (__floatundidf): Likewise. - * soft-fp/floatundisf.c (__floatundisf): Likewise. - * soft-fp/floatunsisf.c (__floatunsisf): Likewise. - * soft-fp/floatuntidf.c (__floatuntidf): Likewise. - * soft-fp/floatuntisf.c (__floatuntisf): Likewise. - * soft-fp/floatuntitf.c (__floatuntitf): Likewise. - * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS. - * soft-fp/gesf2.c (__gesf2): Likewise. - * soft-fp/getf2.c (__getf2): Likewise. - * soft-fp/ledf2.c (__ledf2): Likewise. - * soft-fp/lesf2.c (__lesf2): Likewise. - * soft-fp/letf2.c (__letf2): Likewise. - - * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION): - Undefine and redefine. - [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise. - [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise. - [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise. - * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro. - (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS. - * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro. - (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS. - * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro. - (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS. - * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro. - (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS. - * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro. - (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS. - * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro. - (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS. - - [BZ #16032] - * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right - without decrementing exponent if mantissa >= that for the - denominator, not >. - (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the - denominator, not >. Decrement exponent in < case instead of - incrementing in >= case. - * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right - without decrementing exponent if mantissa >= that for the - denominator, not >. - - * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for - computing saturated result for unsigned overflow. - -2013-10-11 Siddhesh Poyarekar - Jeff Law - - * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h. - (atan2Mp): Add systemtap probe marker. - * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h. - (__ieee754_log): Add systemtap probe marker. - * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h. - (atanMp): Add systemtap probe marker. - * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h. - (tanMp): Add systemtap probe marker. - * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h. - (__slowexp): Add systemtap probe marker. - * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h. - (__slowpow): Add systemtap probe marker. - * manual/probes.texi: Document probes. - -2013-10-11 Eric Biggers - - [BZ #15362] - * libio/fileops.c (_IO_new_file_write): Return count of bytes - written. - (_IO_new_file_xsputn): Don't return EOF if nothing has been - written. - * libio/iofwrite.c (_IO_fwrite): Return count if bytes were - written to buffer but not flushed. - * libio/iofwrite_u.c: Likewise. - * libio/iopadn.c: Return bytes returned even if EOF was - encountered. - * libio/iowpadn.c: Likewise. - * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error - if _IO_padn does not write the whole buffer. - [!COMPILE_WPRINTF] (PAD): Likewise. - -2013-10-10 David S. Miller - - * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of - directory block. - -2013-10-10 Joseph Myers - - * soft-fp/extendxftf2.c: Use copyright year range. Use URL - instead of FSF address. - * soft-fp/fixdfti.c: Likewise. - * soft-fp/fixsfti.c: Likewise. - * soft-fp/fixtfti.c: Likewise. - * soft-fp/fixunsdfti.c: Likewise. - * soft-fp/fixunssfti.c: Likewise. - * soft-fp/fixunstfti.c: Likewise. - * soft-fp/floattidf.c: Likewise. - * soft-fp/floattisf.c: Likewise. - * soft-fp/floattitf.c: Likewise. - * soft-fp/floatuntidf.c: Likewise. - * soft-fp/floatuntisf.c: Likewise. - * soft-fp/floatuntitf.c: Likewise. - * soft-fp/trunctfxf2.c: Likewise. - - * soft-fp/extendxftf2.c: New file. Copied from libgcc. - * soft-fp/fixdfti.c: Likewise. - * soft-fp/fixsfti.c: Likewise. - * soft-fp/fixtfti.c: Likewise. - * soft-fp/fixunsdfti.c: Likewise. - * soft-fp/fixunssfti.c: Likewise. - * soft-fp/fixunstfti.c: Likewise. - * soft-fp/floattidf.c: Likewise. - * soft-fp/floattisf.c: Likewise. - * soft-fp/floattitf.c: Likewise. - * soft-fp/floatuntidf.c: Likewise. - * soft-fp/floatuntisf.c: Likewise. - * soft-fp/floatuntitf.c: Likewise. - * soft-fp/trunctfxf2.c: Likewise. - -2013-10-10 David S. Miller - - * sysdeps/sparc/fpu/libm-test-ulps: Update. - -2013-10-10 Joseph Myers - - * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math] - (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl. - [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise. - [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise. - [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise. - [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise. - [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise. - - * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check - for NaNs before doing comparisons on argument. - * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): - Likewise. - -2013-10-10 Will Newton - - * malloc/hooks.c (memalign_check): Ensure the value of bytes - passed to _int_memalign does not overflow. - -2013-10-10 Torvald Riegel - - * scripts/bench.pl: Add include-sources directive. - * benchtests/README: Update documentation. - -2013-10-10 Joseph Myers - - * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro. - * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS - instead of FP_INIT_ROUNDMODE. - * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise. - * soft-fp/extendsftf2.c (__extendsftf2): Likewise. - - [BZ #16034] - * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not - copy class of input value. - * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do - not handle exceptions. - * soft-fp/negsf2.c (__negsf2): Likewise. - * soft-fp/negtf2.c (__negtf2): Likewise. - * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise. - -2013-10-09 Joseph Myers - - * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing - semicolon. From Linux kernel. - -2013-10-09 Adam Buchbinder - - * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment. - -2013-10-08 Yogesh Chaudhari - - [BZ #156] - * manual/socket.texi: Added statement about buffer - for gethostbyname2_r. - -2013-10-08 Ondƙej BĂ­lka - - * sysdeps/x86_64/memset.S (ALIGN): Macro removed. - Use .p2align directive instead, throughout. - * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise. - * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise. - * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise. - * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise. - * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise. - * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise. - * sysdeps/x86_64/strchr.S: Likewise. - * sysdeps/x86_64/strrchr.S: Likewise. - -2013-10-08 Siddhesh Poyarekar - - * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting. - - * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting. - - * sysdeps/generic/math_private.h (__mpsin1): Remove - declaration. - (__mpcos1): Likewise. - (__mpsin): New argument __range_reduce. - (__mpcos): Likewise. - * sysdeps/ieee754/dbl-64/s_sin.c: Likewise. - (slow): Use __mpsin and __mpcos. - (slow1): Likewise. - (slow2): Likewise. - (sloww): Likewise. - (sloww1): Likewise. - (sloww2): Likewise. - (bsloww): Likewise. - (bsloww1): Likewise. - (bsloww2): Likewise. - (cslow2): Likewise. - (csloww): Likewise. - (csloww1): Likewise. - (csloww2): Likewise. - * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument - range_reduce. Merge in __mpsin1. - (__mpcos): Likewise. - (__mpsin1): Remove. - (__mpcos1): Likewise. - -2013-10-07 Joseph Myers - - * locale/loadlocale.c (_nl_intern_locale_data): Use - LOCFILE_ALIGNED_P. - * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use - LOCFILE_ALIGN_UP and LOCFILE_ALIGN. - * locale/programs/ld-collate.c (obstack_int32_grow): Assert that - obstack data is appropriately aligned. - (obstack_int32_grow_fast): Likewise. - * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN. - * locale/programs/locfile.c (add_locale_uint32): Likewise. - (add_locale_uint32_array): Likewise. - -2013-10-07 Siddhesh Poyarekar - - * benchtests/Makefile: Remove ARGLIST and RET variables. - ($(objpfx)bench-%.c): Pass only function name to the script. - * benchtests/README: Update documentation. - * benchtests/acos-inputs: Add new directives. - * benchtests/acosh-inputs: Likewise. - * benchtests/asin-inputs: Likewise. - * benchtests/asinh-inputs: Likewise. - * benchtests/atan-inputs: Likewise. - * benchtests/atanh-inputs: Likewise. - * benchtests/cos-inputs: Likewise. - * benchtests/cosh-inputs: Likewise. - * benchtests/exp-inputs: Likewise. - * benchtests/log-inputs: Likewise. - * benchtests/pow-inputs: Likewise. - * benchtests/rint-inputs: Likewise. - * benchtests/sin-inputs: Likewise. - * benchtests/sinh-inputs: Likewise. - * benchtests/tan-inputs: Likewise. - * benchtests/tanh-inputs: Likewise. - * scripts/bench.pl: Add support for new directives. - -2013-10-07 Alan Modra - - * README: Fix careless merge. - -2013-10-05 Alan Modra - - * NEWS: Mention powerpc64le support and bugs fixed. - * README: Both big-endian and little-endian powerpc64 supported. - -2013-10-04 Samuel Thibault - - * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook) - (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks. - (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call - _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking. - -2013-10-04 Ryan S. Arnold - - * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to - match prototype. - -2013-10-04 Joseph Myers - - * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags): - Move -mhard-float appending from - ports/sysdeps/powerpc/powerpc32/Makefile. - [$(with-fp) = yes] (ASFLAGS): Likewise. - [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise. - * sysdeps/powerpc/nofpu: Move directory from - ports/sysdeps/powerpc/nofpu. - * sysdeps/powerpc/soft-fp: Move directory from - ports/sysdeps/powerpc/soft-fp. - * sysdeps/powerpc/powerpc32/405: Move directory from - ports/sysdeps/powerpc/powerpc32/405. - * sysdeps/powerpc/powerpc32/440: Move directory from - ports/sysdeps/powerpc/powerpc32/440. - * sysdeps/powerpc/powerpc32/464: Move directory from - ports/sysdeps/powerpc/powerpc32/464. - * sysdeps/powerpc/powerpc32/476: Move directory from - ports/sysdeps/powerpc/powerpc32/476. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory - from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory - from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory - from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory - from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory - from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476. - * README: Update for powerpc-*-linux-gnu software floating point - support in libc. - - * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change - case to powerpc/powerpc32*. - * sysdeps/unix/sysv/linux/configure: Regenerated. - - * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT] - (_FPU_MASK_OM): Define as 0x04. - [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08. - [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as - 0x00c10080. - [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as - 0x0000003c. - [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT. - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S - (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use - getcontext_e500. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S - (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use - setcontext_e500. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S - (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500 - and setcontext_e500. - -2013-10-04 Chris Leonard - - * locale/iso-3166.def: Update iso-1366.def and related occurrences - -2013-10-04 Siddhesh Poyarekar - - * manual/threads.texi (Default Thread Attributes): Fix typo. - -2013-10-04 Will Newton - - * malloc/Makefile: Add tst-memalign. - * malloc/tst-memalign.c: New file. - - * malloc/tst-posix_memalign.c: Add comments. - (do_test): Add comments and call free on all potentially - allocated pointers. Add space after cast. - - * malloc/tst-pvalloc.c: Add comments. - (do_test): Add comments and call free on all potentially - allocated pointers. Remove duplicate check for NULL pointer. - Add space after cast. - - * malloc/tst-valloc.c: Add comments. - (do_test): Add comments and call free on all potentially - allocated pointers. Remove duplicate check for NULL pointer. - Add space after cast. - -2013-10-04 Alan Modra - - * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela): - Use stdint types in rather than __attribute__((mode())). - * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise. - -2013-10-04 Alan Modra - - * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela): - Correct handling of unaligned relocs for little-endian. - * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise. - -2013-10-04 Alan Modra - - * configure.in: Map powerpc64le and powerpcle to base_machine/machine. - * configure: Regenerate. - * nptl/shlib-versions: Powerpc*le starts at 2.18. - * shlib-versions: Likewise. - -2013-10-04 Alan Modra - - * string/tester.c (test_memrchr): Increment reported test cycle. - -2013-10-04 Alan Modra - - * string/test-memcpy.c (do_one_test): When reporting errors, print - string address and don't overrun end of string. - -2013-10-04 Alan Modra - - * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with - insrdi. Make better use of reg selection to speed exit slightly. - Schedule entry path a little better. Remove useless "are we done" - checks on entry to main loop. Handle wrapping around zero address. - Correct main loop count. Handle single left-over word from main - loop inline rather than by using loop_small. Remove extra word - case in loop_small caused by wrong loop count. Add little-endian - support. - * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper - cache hint. - * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian - support. Avoid rlwimi. - * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise. - -2013-10-04 Alan Modra - - * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with - insrdi. Formatting. - * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise. - * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise. - * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise. - * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise. - * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise. - -2013-10-04 Alan Modra - - * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support. - * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise. - * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise. - * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise. - * sysdeps/powerpc/powerpc64/memcpy.S: Likewise. - * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise. - * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better - use of regs. Use power7 mtocrf. Tidy function tails. - -2013-10-04 Alan Modra - - * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support. - Formatting. Consistently use rXXX register defines or rN defines. - Use early exit labels that avoid restoring unused non-volatile regs. - Make cr field use more consistent with rWORDn compares. Rename - regs used as shift registers for unaligned loop, using rN defines - for short lifetime/multiple use regs. - * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise. - * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with - addi 1,1,64 to pop stack frame. Simplify return value code. - * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise. - -2013-10-04 Alan Modra - - * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian - support. Correct typos, formatting. Optimize tail. Use insrdi - rather than rlwimi. - * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add - little-endian support. Correct typos. - * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi - rather than rlwimi. - * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use - in loop and entry code to keep "and." results. - (strchr): Add little-endian support. Comment. Move cntlzd - earlier in tail. - * sysdeps/powerpc/powerpc32/strchr.S: Likewise. - -2013-10-04 Alan Modra - - * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support: - * sysdeps/powerpc/powerpc32/strcpy.S: Likewise. - * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise. - * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise. - -2013-10-04 Alan Modra - - * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0. - (rTMP): Define as r11. - (strcmp): Add little-endian support. Optimise tail. - * sysdeps/powerpc/powerpc32/strcmp.S: Similarly. - * sysdeps/powerpc/powerpc64/strncmp.S: Likewise. - * sysdeps/powerpc/powerpc32/strncmp.S: Likewise. - * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise. - * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise. - * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise. - -2013-10-04 Alan Modra - - * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add - little-endian support. Remove unnecessary "are we done" tests. - Handle "s" wrapping around zero and extremely large "size". - Correct main loop count. Handle single left-over word from main - loop inline rather than by using small_loop. Correct comments. - Delete "zero" tail, use "end_max" instead. - * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise. - -2013-10-04 Alan Modra - - * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian - support. Don't branch over align. - * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise. - * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian - support. Rearrange tmp reg use to suit. Comment. - * sysdeps/powerpc/powerpc32/strlen.S: Likewise. - -2013-10-04 Alan Modra - - * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file. - -2013-10-04 Alan Modra - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use - conditional form of branch and link when obtaining pc. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise. - -2013-10-04 Alan Modra - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use - HIWORD/LOWORD. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto. - -2013-10-04 Alan Modra - - * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros. - * sysdeps/powerpc/novmx-longjmp.c: Likewise. - * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise. - * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise. - * sysdeps/powerpc/powerpc32/mcount.c: Likewise. - * sysdeps/powerpc/powerpc32/setjmp.S: Likewise. - * sysdeps/powerpc/powerpc64/setjmp.S: Likewise. - * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise. - -2013-10-04 Anton Blanchard - Alistair Popple - Alan Modra - - [BZ #15723] - * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix. - * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct - _dl_hwcap access for little-endian. - * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't - destroy vmx regs when saving unaligned. - * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load. - * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't - destroy vmx regs when saving unaligned. - -2013-10-04 Alan Modra - - * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW): - Don't use a union to pack hi/low value. - -2013-10-04 Anton Blanchard - - * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants - for little-endian. - * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise. - -2013-10-04 Alan Modra - - * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of - constants to usual value for .cst8 section, and remove redundant - high address load. - * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float - constant for 0x1p52. Load little-endian words of double from - correct stack offsets. - -2013-10-04 Alan Modra - - * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define. - * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian - words of double from correct stack offsets. - * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise. - * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise. - * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise. - * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise. - * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise. - * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise. - * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise. - * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise. - * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise. - * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise. - * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT. - * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise. - -2013-10-04 Alan Modra - - * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using - 64-bit int/double union. - (_FPU_SETCW): Likewise. - * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise. - (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise. - -2013-10-04 Alan Modra - - * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite. - * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite. - -2013-10-04 Alan Modra - - * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't - use vector int constants. - (__float_and_test24, __float_and8, __float_get_exp): Likewise. - -2013-10-04 Anton Blanchard - - * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int - array with long long. - * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust. - * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust. - * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust. - * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust. - * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust. - * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust. - * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust. - * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust. - * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust. - * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust. - * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust. - * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust. - * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust. - -2013-10-04 Anton Blanchard - - * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin. - (__signbit): Likewise. Correct for little-endian. - (__signbitl): Call __signbit. - (lrint): Correct for little-endian. - (lrintf): Call lrint. - -2013-10-04 Alan Modra - - * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace - union 32-bit int array member with 64-bit int array. - (t515, tm256): Double rather than long double. - (__ieee754_sqrtl): Rewrite using 64-bit arithmetic. - -2013-10-04 Alan Modra - - * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double): - Delete. - (IEEE854_LONG_DOUBLE_BIAS): Delete. - * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854 - version of math_ldbl.h. - -2013-10-04 Alan Modra - - [BZ #15734], [BZ #15735] - * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite - all uses of ieee875 long double macros and unions. Simplify test - for 0.0L. Correct |x|<|y| and |x|=|y| test. Use - ldbl_extract_mantissa value for ix,iy exponents. Properly - normalize after ldbl_extract_mantissa, and don't add hidden bit - already handled. Don't treat low word of ieee854 mantissa like - low word of IBM long double and mask off bit when testing for - zero. - * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite - all uses of ieee875 long double macros and unions. Simplify tests - for 0.0L and inf. Correct double adjustment of k. Delete dead code - adjusting ha,hb. Simplify code setting kld. Delete two600 and - two1022, instead use their values. Recognise that tests for large - "a" and small "b" are mutually exclusive. Rename vars. Comment. - * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl): - Rewrite all uses of ieee875 long double macros and unions. Simplify - test for 0.0L and nan. Correct negation. - * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of - ieee875 long double macros and unions. Correct output for large - magnitude x. Correct absolute value calculation. - (__erfcl): Likewise. - * math/libm-test.inc: Add tests for errors discovered in IBM long - double versions of fmodl, remainderl, erfl and erfcl. - -2013-10-04 Alan Modra - - * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite - all uses of ieee854 long double macros and unions. Simplify tests - for long doubles that are fully specified by the high double. - * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r): - Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise. - Remove dead code too. - * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise. - (__ieee754_ynl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise. - Remove dead code too. - * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise. - Simplify. - * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise. - Simplify. - * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise. - Comment on variable precision. - * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf): - Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise. - * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps. - -2013-10-04 Alan Modra - - * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define. - * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite - all uses of ieee854 long double macros and unions. - * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l): - Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise. - Simplify sign and nan test too. - * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl): - Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl): - Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise. - * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise. - -2013-10-04 Alan Modra - - * stdio-common/printf_size.c (__printf_size): Don't use - union ieee854_long_double in fpnum union. - * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use - signbit macro to retrieve sign from long double. - * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to - retrieve sign from long double. - * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change. - * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise. - * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise. - * sysdeps/x86_64/fpu/printf_fphex.c: Likewise. - * math/test-misc.c (main): Don't use union ieee854_long_double. - -2013-10-04 Alan Modra - - [BZ #15680] - * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix. - * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c - (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff - calculation. Remove unnecessary test for denormal exponent. - * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double): - Correct handling of denormals. Avoid undefined shift behaviour. - Correct normalisation of low mantissa when low double is denormal. - * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h - (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64. - (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t. - Correct normalisation of low mantissa. Test for overflow of high - mantissa and normalise. - (ldbl_nearbyint): Use more readable constant for two52. - * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c - (__mpn_construct_long_double): Fix test for overflow of high - mantissa and correct normalisation. Avoid undefined shift. - -2013-10-04 Alan Modra - - * sysdeps/ieee754/ldbl-128ibm/ieee754.h - (union ibm_extended_long_double): Define as an array of ieee754_double. - (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete. - * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references - to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS. - * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise. - * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise. - -2013-10-03 Joseph Myers - - * locale/programs/locarchive.c (add_locale): Use constant 4096 for - page size instead of calling getpagesize. - - * locale/localeinfo.h (LOCFILE_ALIGN): New macro. - (LOCFILE_ALIGN_MASK): Likewise. - (LOCFILE_ALIGN_UP): Likewise. - (LOCFILE_ALIGNED_P): Likewise. - * locale/programs/ld-collate.c (collate_output): Use the new - macros instead of __alignof__ (int32_t). - * locale/weight.h (findidx): Likewise. - -2013-10-03 Ondƙej BĂ­lka - - [BZ #431] - * manual/string.texi: Fix strncat and wcsncat. - -2013-10-03 Brooks Moses - - [BZ #15915] - * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to... - * Makerules: ...here, and adjust associated comments. - -2013-10-02 Will Newton - - * malloc/Makefile: Add tst-pvalloc. - * malloc/tst-pvalloc.c: New file. - -2013-10-02 Will Newton - - * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and - improve test coverage. - -2013-10-02 Will Newton - - * malloc/Makefile: Add tst-posix_memalign. - * malloc/tst-posix_memalign.c: New file. - -2013-10-01 Eric Blake - - * posix/glob.c (next_brace_sub, prefix_array, collated_compare): - Use __THROWNL rather than __THROW on static functions. - -2013-09-30 Petr Machata - - * elf/elf.h (R_AARCH64_ABS16): New macro. - (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise. - (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise. - (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise. - (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise. - (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise. - (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise. - (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise. - (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise. - (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise. - (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise. - (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise. - (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise. - (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise. - (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise. - (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise. - (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise. - (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise. - (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise. - (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise. - (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise. - (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise. - (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise. - (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise. - (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise. - (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise. - (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise. - (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise. - (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise. - (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise. - (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise. - (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise. - (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise. - (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise. - (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise. - (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise. - (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise. - (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise. - (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise. - (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise. - (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise. - (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise. - (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise. - (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise. - (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise. - (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise. - (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise. - (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise. - (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise. - (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise. - (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise. - (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise. - (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise. - (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise. - (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise. - (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise. - (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise. - (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise. - (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise. - (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise. - (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise. - (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise. - (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise. - (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise. - (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise. - (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise. - (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise. - (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise. - (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise. - (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise. - (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise. - (R_AARCH64_TLSDESC_LD_PREL19): Likewise. - (R_AARCH64_TLSDESC_ADR_PREL21): Likewise. - (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise. - (R_AARCH64_TLSDESC_LD64_LO12): Likewise. - (R_AARCH64_TLSDESC_ADD_LO12): Likewise. - (R_AARCH64_TLSDESC_OFF_G1): Likewise. - (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise. - (R_AARCH64_TLSDESC_LDR): Likewise. - (R_AARCH64_TLSDESC_ADD): Likewise. - (R_AARCH64_TLSDESC_CALL): Likewise. - -2013-09-30 Andreas Schwab - - [BZ #15048] - * nscd/aicache.c (addhstaiX): Properly use the cache variable for - the nss database lookup. - * nscd/initgrcache.c (addinitgroupsX): Likewise. - * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise. - -2013-09-28 Mike Frysinger - - * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style. - -2013-09-28 P. J. McDermott - - * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use - ${Bash-specific parameter/pattern/string} parameter expansion. - * sysdeps/unix/make-syscalls.sh: Likewise. - -2013-09-27 Kaz Kojima - - * sysdeps/sh/stackguard-macros.h: New file. - -2013-09-26 Ondƙej BĂ­lka - - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update. - * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc. - * sysdeps/x86_64/multiarch/strend-sse4.S Remove. - * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise. - * sysdeps/x86_64/multiarch/strrchr.S: Likewise. - * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation. - -2013-09-25 Adhemerval Zanella - - * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD: - Fix thread ID register. - -2013-09-25 Joseph Myers - - * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file. - [POSIX || UNIX98]: Require rather than permitting all symbols from - . - [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional - element of struct sched_param. - [POSIX || UNIX98] (sched_ss_repl_period): Likewise. - [POSIX || UNIX98] (sched_ss_init_budget): Likewise. - [POSIX || UNIX98] (sched_ss_max_repl): Likewise. - [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional - constant. - -2013-09-24 Olivier Langlois - - * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length - argument calculation. - -2013-09-24 Joseph Myers - - * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER): - Expect macro. - [POSIX] (pthread_attr_t): Do not require type. - [POSIX] (pthread_cond_t): Likewise. - [POSIX] (pthread_condattr_t): Likewise. - [POSIX] (pthread_key_t): Likewise. - [POSIX] (pthread_mutex_t): Likewise. - [POSIX] (pthread_mutexattr_t): Likewise. - [POSIX] (pthread_once_t): Likewise. - [POSIX] (pthread_t): Likewise. - [POSIX-based standards] (pthread_atfork): Expect function. - -2013-09-24 Joseph Myers - Richard Sandiford - - * locale/programs/locfile.h: Include and . - (swap_endianness_p): New extern variable. - (set_big_endian): New inline function. - (maybe_swap_uint32): Likewise. - (maybe_swap_uint32_array): Likewise. - (maybe_swap_uint32_obstack): Likewise. - * locale/programs/locfile.c: Include . - (swap_endianness_p): New variable. - (add_locale_uint32): Call maybe_swap_uint32. - (add_locale_uint32_array): Call maybe_swap_uint32_obstack. - (write_locale_data): Call maybe_swap_uint32_array. - * locale/programs/ld-collate.c (obstack_int32_grow): Call - maybe_swap_uint32. - (obstack_int32_grow_fast): Likewise. - (output_weightwc): Call maybe_swap_uint32_obstack. - (collate_output): Likewise. - * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro. - (OPT_LITTLE_ENDIAN): Likewise. - (options): Add --little-endian and --big-endian options. - (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN. - * locale/programs/locarchive.c: Include "locfile.h". - (GET): New macro. - (SET): Likewise. - (INC): Likewise. - (create_archive): Use the new macros to access fields of - structures directly mapped from or written to locale archives. - (oldlocrecentcmp): Likewise. - (enlarge_archive): Likewise. - (insert_name): Likewise. - (add_alias): Likewise. - (add_locale): Likewise. - (delete_locales_from_archive): Likewise. - (show_archive_content): Likewise. - (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on - locale data. - -2013-09-24 Roland McGrath - - * manual/freemanuals.texi: Updated from (newly) canonical copy at - http://www.gnu.org/doc/freemanuals.texi. - * manual/libc.texinfo (Free Manuals): Put the @appendix line here. - -2013-09-24 Will Newton - - * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove - macro. - -2013-09-23 Joseph Myers - - * locale/hashval.h (compute_hashval): Interpret bytes of key as - unsigned char. - -2013-09-23 Maciej W. Rozycki - - * manual/threads.texi (POSIX Threads): Fix a typo. - -2013-09-23 Siddhesh Poyarekar - - [BZ #14547] - * string/tst-strcoll-overflow.c: New test case. - * string/Makefile (xtests): Add tst-strcoll-overflow. - * string/strcoll_l.c (STRCOLL): Skip allocating memory for - cache if string sizes may cause integer overflow. - - [BZ #14547] - * string/strcoll_l.c (coll_seq): New members rule, idx, - save_idx and back_us. - (get_next_seq_nocache): New function. - (do_compare_nocache): New function. - (STRCOLL): Use get_next_seq_nocache and do_compare_nocache - when malloc fails. - -2013-09-23 Carlos O'Donell - - [BZ #15754] - * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use - __pointer_chk_guard_local, otherwise __pointer_chk_guard. - * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c. - - [BZ #15754] - * elf/Makefile (tests): Add tst-ptrguard1. - (tests-static): Add tst-ptrguard1-static. - (tst-ptrguard1-ARGS): Define. - (tst-ptrguard1-static-ARGS): Define. - * elf/tst-ptrguard1.c: New file. - * elf/tst-ptrguard1-static.c: New file. - * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD. - * sysdeps/i386/stackguard-macros.h: Likewise. - * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise. - * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise. - * sysdeps/s390/s390-32/stackguard-macros.h: Likewise. - * sysdeps/s390/s390-64/stackguard-macros.h: Likewise. - * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise. - * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise. - -2013-09-23 Hector Marco - Ismael Ripoll - Carlos O'Donell - - [BZ #15754] - * sysdeps/generic/stackguard-macros.h: Define - __pointer_chk_guard_local and POINTER_CHK_GUARD. - * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]: - Define __pointer_chk_guard_local. - (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard. - Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local. - -2013-09-15 Vinitha Vijayan - - [BZ #15859] - * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration. - -2013-09-20 Andreas Schwab - - * include/string.h (__ffs): Declare as hidden. - * string/ffs.c (__ffs): Define as hidden. - * sysdeps/i386/ffs.c (__ffs): Likewise. - * sysdeps/i386/i686/ffs.c (__ffs): Likewise. - * sysdeps/powerpc/ffs.c (__ffs): Likewise. - * sysdeps/s390/ffs.c (__ffs): Likewise. - * sysdeps/x86_64/ffs.c (__ffs): Likewise. - -2013-09-20 Alexandre Oliva - - * NEWS: Mention malloc probes. - - * malloc/arena.c (new_heap): New memory_heap_new probe. - (grow_heap): New memory_heap_more probe. - (shrink_heap): New memory_heap_less probe. - (heap_trim): New memory_heap_free probe. - * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe. - (systrim): New memory_sbrk_less probe. - * manual/probes.texi: Document them. - - * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe. - * manual/probes.texi: Document it. - - * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe. - (__libc_realloc): Add memory_realloc_retry probe. - (__libc_memalign): Add memory_memalign_retry probe. - (__libc_valloc): Add memory_valloc_retry probe. - (__libc_pvalloc): Add memory_pvalloc_retry probe. - (__libc_calloc): Add memory_calloc_retry probe. - * manual/probes.texi: Document them. - - * malloc/arena.c (get_free_list): Add probe - memory_arena_reuse_free_list. - (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait - and memory_arena_reuse. - (arena_get2) [!PER_THREAD]: Likewise. - * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe - memory_arena_reuse_realloc. - * manual/probes.texi: Document them. - - * malloc/malloc.c (__libc_free): Add - memory_mallopt_free_dyn_thresholds probe. - (__libc_mallopt): Add multiple memory_mallopt probes. - * manual/probes.texi: Document them. - - * malloc/malloc.c: Include stap-probe.h. - (__libc_mallopt): Add memory_mallopt probe. - * malloc/arena.c (_int_new_arena): Add memory_arena_new probe. - * manual/probes.texi: New. - * manual/Makefile (chapters): Add probes. - * manual/threads.texi: Set next node. - -2013-09-19 Wei-Lun Chao - - [BZ #15963, #13985] - * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak, - czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue). - Add `Chinese' to `nan' entry name. - -2013-09-19 Siddhesh Poyarekar - - * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro. - (POLYNOMIAL): Likewise. - (TAYLOR_SINCOS): Likewise. - (TAYLOR_SLOW): Likewise. - (__sin): Use TAYLOR_SINCOS. - (__cos): Likewise. - (slow): Use TAYLOR_SLOW. - (sloww): Likewise. - (bsloww): Likewise. - (csloww): Likewise. - -2013-09-19 Liubov Dmitrieva - - * stdlib/strtod_l.c: Fix buffer overrun. - -2013-09-19 Siddhesh Poyarekar - - * benchtests/Makefile (bench): Add sincos. - * benchtests/bench-sincos.c: New file. - - * math/libm-test.inc (cos_test_data): New test inputs. - (sin_test_data): Likewise. - - * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New - macro. - (__sin): Use it. - (__cos): Likewise. - (slow1): Likewise. - (slow2): Likewise. - (sloww1): Likewise. - (sloww2): Likewise. - (bsloww1): Likewise. - (bsloww2): Likewise. - (cslow2): Likewise. - (csloww1): Likewise. - (csloww2): Likewise. - - * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New - function. - (__sin): Use it. - (__cos): Likewise. - - * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant - gotos. - (__cos): Likewise. - -2013-09-18 Maciej W. Rozycki - - * config.h.in (HAVE_MIPS_NAN2008): New macro. - * elf/elf.h (EF_MIPS_NAN2008): Likewise. - * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise. - (FLAG_MIPS64_LIBN32_NAN2008): Likewise. - (FLAG_MIPS64_LIBN64_NAN2008): Likewise. - * elf/cache.c (print_entry): Handle the new cache flags. - -2013-09-18 Joseph Myers - Aldy Hernandez - - * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]: - Change condition to [_SOFT_FLOAT]. - [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro. - [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise. - [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise. - [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise. - [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise. - [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise. - [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise. - [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise. - [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise. - [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise. - [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise. - [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise. - [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef. - [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro. - [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise. - [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable - declaration. - -2013-09-18 Joseph Myers - - * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define - macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)]. - (__longjmp): Use LOAD_GP to load saved GPRs. - * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define - macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)]. - (__sigsetjmp): Use SAVE_GP to save GPRs. - - * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags): - Do not append -msoft-float. - [$(with-fp) = no] (sysdep-LDFLAGS): Likewise. - -2013-09-18 Siddhesh Poyarekar - - * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting. - -2013-09-17 Joseph Myers - - [BZ #15966] - * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__] - (_FPU_GETCW): Use initial "__" on variable and field names but not - on macro parameter name. - [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use - parentheses around reference to macro parameter. - -2013-09-13 Richard Sandiford - - * locale/programs/ld-ctype.c (find_idx): Use uint32_t in - prototype. - (ctype_startup): Use uint32_t in cast and sizeof for - ctype->charnames. - -2013-09-11 Jia Liu - - * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and - __daddr_t_defined. - [__FreeBSD__]: Likewise. - -2013-09-11 Ondƙej BĂ­lka - - * sysdeps/x86_64/multiarch/ifunc-impl-list.c - (__libc_ifunc_impl_list): Remove: __strchr_sse42. - * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove. - (strchr): Remove __strchr_sse42 ifunc selection. - * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation. - * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S. - -2013-09-11 Will Newton - - * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS - parameter to RES. Remove hardcoded 1000 value. - * benchtests/bench-skeleton.c (main): Pass RES parameter - to TIMING_INIT and multiply result by 1000. - -2013-09-10 Adhemerval Zanella - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - -2013-09-11 Andreas Schwab - - * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define - if not defined. - (O_TMPFILE) [__USE_GNU]: Define. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE): - Define. - -2013-09-11 Will Newton - - [BZ #15857] - * malloc/malloc.c (__libc_memalign): Check the value of bytes - does not overflow. - -2013-09-11 Will Newton - - [BZ #15856] - * malloc/malloc.c (__libc_valloc): Check the value of bytes - does not overflow. - -2013-09-11 Will Newton - - [BZ #15855] - * malloc/malloc.c (__libc_pvalloc): Check the value of bytes - does not overflow. - -2013-09-10 Ondƙej BĂ­lka - - * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals. - * sysdeps/ieee754/dbl-64/e_j1.c: Likewise. - * sysdeps/ieee754/dbl-64/s_erf.c: Likewise. - * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise. - * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise. - -2013-09-10 Allan McRae - - [BZ #15748] - * manual/arith.texi (Parsing of Floats): Clarify - cross-reference. - - [BZ #15849] - * manual/install.texi (Running make install): Mention - --enable-pt-chown. - * INSTALL: Regenerated. - -2013-09-09 Maciej W. Rozycki - - * csu/init-first.c (_init): Remove the !SHARED condition around - FPU control word initialization. - * elf/dl-support.c (_dl_fpu_control): New variable. - (_dl_aux_init) : Initialize it. - * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro. - (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout. - * math/test-fpucw-static.c: New file. - * math/test-fpucw-ieee.c: New file. - * math/test-fpucw-ieee-static.c: New file. - * math/Makefile (tests): Add `test-fpucw-ieee' and - `$(tests-static)'. - (tests-static): New variable. - [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move - dependency to... - [($(build-shared),yes)] - ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))): - ... this. - [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))): - New dependency. - -2013-09-09 Allan McRae - - [BZ #15939] - * manual/string.texi (Collation Functions): Fix typo in - strcoll example. - Reported by Suren Karapetyan . - - [BZ #15893] - * stdlib/isomac.c (get_null_defines): Fix memory leak. - - [BZ #15892] - * libio/memstream.c (open_memstream): Fix memory leak. - * libio/wmemstream.c (open_wmemstream): Likewise. - - [BZ #15895] - * nscd/netgroupcache.c: Fix nesting of ifdefs. - -2013-09-09 Will Newton - - * malloc/Makefile: Add tst-realloc to tests. - * malloc/tst-realloc.c: New file. - -2013-09-09 Allan McRae - - [BZ #15844] - * COPYING: Update from GNU website to fix FSF address. - * COPYING.LIB: Likewise. - -2013-09-06 David S. Miller - - * po/zh_TW.po: Update Chinese (traditional) translation from - translation project. - -2013-09-06 Richard Sandiford - Joseph Myers - - * locale/programs/locfile.c: Include , and - "localeinfo.h". - (obstack_chunk_alloc): New macro. - (obstack_chunk_free): Likewise. - (record_offset): New function. - (init_locale_data): Likewise. - (align_locale_data): Likewise. - (add_locale_empty): Likewise. - (add_locale_raw_data): Likewise. - (add_locale_raw_obstack): Likewise. - (add_locale_string): Likewise. - (add_locale_wstring): Likewise. - (add_locale_uint32): Likewise. - (add_locale_uint32_array): Likewise. - (add_locale_char): Likewise. - (start_locale_structure): Likewise. - (end_locale_structure): Likewise. - (start_locale_prelude): Likewise. - (end_locale_prelude): Likewise. - (write_locale_data): Take locale_file structure rather than an - iovec. - * locale/programs/locfile.h: Include "obstack.h". - (struct locale_file): Change to store locale file contents instead - of header. - (init_locale_data): New prototype. - (align_locale_data): Likewise. - (add_locale_empty): Likewise. - (add_locale_raw_data): Likewise. - (add_locale_raw_obstack): Likewise. - (add_locale_string): Likewise. - (add_locale_wstring): Likewise. - (add_locale_uint32): Likewise. - (add_locale_uint32_array): Likewise. - (add_locale_char): Likewise. - (start_locale_structure): Likewise. - (end_locale_structure): Likewise. - (start_locale_prelude): Likewise. - (end_locale_prelude): Likewise. - (write_locale_data): Update prototype. - * locale/programs/3level.h (struct TABLE): Remove result field. - (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE). - Use new locale_file interface. - [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE]. - (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE. - * locale/programs/ld-address.c (address_output): Use new - locale_file interface. - * locale/programs/ld-collate.c (NO_FINALIZE): Change to - NO_ADD_LOCALE. - (collate_finish): Don't call collseq_table_finalize. - (collate_output): Use new locale_file interface. - * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier - in file. - (NO_FINALIZE): Change to NO_ADD_LOCALE. - (TABLE): Move defines earlier in file. - (ELEMENT): Likewise. - (DEFAULT): Likewise. - (wctrans_table_add): Move macro and inline function earlier in - file. - (struct wctype_table): Move type earlier in file. - (add_locale_wctype_table): New static prototype. - (struct locale_ctype_t): Use logical types instead of struct iovec - pointers for members. - (ctype_output): Use new locale_file interface. - (wctype_table_finalize): Change to add_locale_wctype_table. Use - new locale_file interface. - (allocate_arrays): Update for use of new locale_file interface. - * locale/programs/ld-identification.c (identification_output): Use - new locale_file interface. - * locale/programs/ld-measurement.c (measurement_output): Likewise. - * locale/programs/ld-messages.c (messages_output): Likewise. - * locale/programs/ld-monetary.c (monetary_output): Likewise. - * locale/programs/ld-name.c (name_output): Likewise. - * locale/programs/ld-numeric.c (numeric_output): Likewise. - * locale/programs/ld-paper.c (paper_output): Likewise. - * locale/programs/ld-telephone.c (telephone_output): Likewise. - * locale/programs/ld-time.c (time_output): Likewise. - -2013-09-06 Adhemerval Zanella - - * benchtests/Makefile: Add memrchr benchmark. - * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use - benchmark as memrchr. - * benchtests/bench-memrchr-ifunc.c: New file. - * benchtests/bench-memrchr.c: New file. - -2013-09-06 Will Newton - - * benchtests/Makefile (string-bench): Add memcpy. - -2013-09-05 Carlos O'Donell - Cong Wang - - [BZ #15850] - * sysdeps/unix/sysv/linux/bits/in.h - [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS. - * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion - before __USE_KERNEL_IPV6_DEFS uses. - * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and - IPPROTO_BEETPH. - [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr, - sockaddr_in6, or ipv6_mreq. - -2013-09-05 Adhemerval Zanella - - * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid - memory access for final bytes in some large inputs. - * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise. - -2013-09-05 Adhemerval Zanella - - * string/test-memrchr.c: New file. - * string/test-memrchr-ifunc.c: New file. - * string/Makefile: Add new memrchr testcase. - -2013-09-05 Mike Frysinger - - * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when - fanotify_init returns EPERM. - -2013-09-04 Joseph Myers - - * conform/conformtest.pl (newtoken): Treat tokens not allowed as - errors. - (top level): Treat second token from macro or constant entries for - allowed headers as allowed. - * include/complex.h: Condition internal declarations on - [!_ISOMAC]. - * include/fenv.h: Condition include of and internal - declarations on [!_ISOMAC]. - -2013-09-04 Chris Leonard - - [BZ #15923] - * locale/iso-4217.def: Update iso-1427.def and related occurrences. - -2013-09-04 Joseph Myers - - * configure.in (--enable-versioning): Remove configure option. - (libc_cv_asm_symver_directive): Remove configure test. - (libc_cv_ld_version_script_option): Likewise. - (VERSIONING): Remove variable and AC_SUBST. - (DO_VERSIONING): Remove AC_DEFINE. - * configure: Regenerated. - * config.h.in (DO_VERSIONING): Remove macro. - * Makerules [$(versioning) = yes]: Change conditionals to - [$(build-shared) = yes]. - * config.make.in (versioning): Remove variable. - * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to - [$(build-shared) = yes]. - * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional. - * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise. - * elf/Makefile [$(versioning) = yes]: Change conditionals to - [$(build-shared) = yes]. - * extra-lib.mk [$(versioning) = yes]: Likewise. - * hurd/Makefile [$(versioning) = yes]: Likewise. - * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to - [SHARED]. - * include/libc-symbols.h [DO_VERSIONING]: Change conditional to - [SHARED]. - [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to - [SHARED && !NO_HIDDEN]. - * include/shlib-compat.h [DO_VERSIONING]: Change conditional to - [SHARED]. - [SHARED && DO_VERSIONING]: Likewise.. - * libio/Makefile [$(versioning) = yes]: Change conditionals to - [$(build-shared) = yes]. - * manual/install.texi (--disable-versioning): Remove - documentation. - * INSTALL: Regenerated. - * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional - to [SHARED]. - * sunrpc/Makefile [$(versioning) = yes]: Change conditional to - [$(build-shared) = yes]. - * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise. - * sysdeps/i386/i686/multiarch/strstr-c.c - [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to - [SHARED && !NO_HIDDEN]. - * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h - [SHARED && DO_VERSIONING]: Change conditional to [SHARED]. - * sysdeps/powerpc/powerpc32/dl-machine.c - [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error. - * sysdeps/powerpc/powerpc32/sysdep.h - [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional - to [SHARED && PIC && !NO_HIDDEN]. - * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change - conditional to [SHARED]. - -2013-09-04 Will Newton - - * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro. - * benchtests/bench-string.h: Include bench-timing.h instead - of including hp-timing.h directly. (INNER_LOOP_ITERS): New - define. (HP_TIMING_BEST): Delete macro. (test_init): Remove - call to HP_TIMING_DIFF_INIT. - * benchtests/bench-memccpy.c: Use bench-timing.h macros - instead of hp-timing.h macros. - * benchtests/bench-memchr.c: Likewise. - * benchtests/bench-memcmp.c: Likewise. - * benchtests/bench-memcpy.c: Likewise. - * benchtests/bench-memmem.c: Likewise. - * benchtests/bench-memmove.c: Likewise. - * benchtests/bench-memset.c: Likewise. - * benchtests/bench-rawmemchr.c: Likewise. - * benchtests/bench-strcasecmp.c: Likewise. - * benchtests/bench-strcasestr.c: Likewise. - * benchtests/bench-strcat.c: Likewise. - * benchtests/bench-strchr.c: Likewise. - * benchtests/bench-strcmp.c: Likewise. - * benchtests/bench-strcpy.c: Likewise. - * benchtests/bench-strcpy_chk.c: Likewise. - * benchtests/bench-strlen.c: Likewise. - * benchtests/bench-strncasecmp.c: Likewise. - * benchtests/bench-strncat.c: Likewise. - * benchtests/bench-strncmp.c: Likewise. - * benchtests/bench-strncpy.c: Likewise. - * benchtests/bench-strnlen.c: Likewise. - * benchtests/bench-strpbrk.c: Likewise. - * benchtests/bench-strrchr.c: Likewise. - * benchtests/bench-strspn.c: Likewise. - * benchtests/bench-strstr.c: Likewise. - -2013-09-04 Will Newton - - * benchtests/Makefile: Use LDLIBS instead of LDFLAGS. - -2013-09-03 Joseph Myers - - [BZ #15427] - * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use - 2**-30 instead of 2**-70 as threshold for returning -log(|x|). - * math/libm-test.inc (lgamma_test_data): Add more tests. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2013-09-03 Ondƙej BĂ­lka - - * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file. - * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list): - Add ifunc. - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): - Add strcmp-sse2-unaligned - * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc. - -2013-09-02 Mike Frysinger - - * Versions.def (libc): Add GLIBC_2.19. - -2013-09-02 Mike Frysinger - - * sysdeps/unix/sysv/linux/tst-fanotify.c: New test. - * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify. - -2013-09-02 Joseph Myers - - [BZ #14155] - * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for - intermediate calculations in recurrence. - (__ieee754_ynf): Likewise. - * math/libm-test.inc (jn_test_data): Do not allow spurious - underflow exception. Add more tests. - (yn_test_data): Add more tests. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2013-09-02 Ondƙej BĂ­lka - - * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo. - -2013-08-30 Ondƙej BĂ­lka - - * csu/init-first.c: Fix then/than typos. - * locale/programs/ld-collate.c: Likewise. - * locale/programs/linereader.h: Likewise. - * manual/charset.texi: Likewise. - * manual/filesys.texi: Likewise. - * manual/stdio.texi: Likewise. - * manual/string.texi: Likewise. - * stdlib/fmtmsg.c: Likewise. - * sysdeps/i386/stpncpy.S: Likewise. - * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise. - * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise. - * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise. - * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise. - -2013-08-30 Ondƙej BĂ­lka - - * elf/dl-open.c: Fix typos. - * iconvdata/gbbig5.c: Likewise. - * iconvdata/iso-2022-jp.c: Likewise. - * iconv/gconv_int.h: Likewise. - * iconv/loop.c: Likewise. - * nis/rpcsvc/nis.h: Likewise. - * resolv/ns_name.c: Likewise. - * stdio-common/vfscanf.c: Likewise. - * streams/stropts.h: Likewise. - * sunrpc/rpc_thread.c: Likewise. - * sysdeps/i386/strpbrk.S: Likewise. - * sysdeps/ieee754/k_standard.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise. - * sysdeps/mach/hurd/dl-sysdep.c: Likewise. - * sysdeps/mach/hurd/profil.c: Likewise. - * sysdeps/s390/dl-procinfo.h: Likewise. - * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise. - * sysdeps/x86_64/dl-trampoline.S: Likewise. - * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise. - -2013-08-30 Ondƙej BĂ­lka - - * sysdeps/x86_64/multiarch/rawmemchr.S: Delete. - * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc. - -2013-08-29 Ondƙej BĂ­lka - - * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove - aix specific files. - * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise. - -2013-08-29 Thomas Schwinge - Roland McGrath - - * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS. - * sysdeps/mach/hurd/bits/errno.h: Regenerate. - -2013-08-29 Samuel Thibault - - * sysdeps/mach/hurd/i386/init-first.c (init1): Use - __executable_start symbol instead of _start. - -2013-08-29 Thomas Schwinge - - * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER) - (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): - Move macros to... - * sysdeps/gnu/ldsodefs.h: ... this new file. - - * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI) - (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU - instead of ELFOSABI_LINUX. - - [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases - * stdlib/strtof_l.c (SET_MANTISSA): Rewrite. - * stdlib/strtod_l.c (SET_MANTISSA): Likewise. - * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA): - Likewise. - * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise. - * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise. - * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA): - Likewise. - * sysdeps/ieee754/ldbl-128ibm/ieee754.h - (ibm_extended_long_double): Add ieee_nan member. - * stdlib/tst-strtod6.c (test): New function, renamed from do_test. - (do_test): New function. - - * math/basic-test.c (TEST_CONVERT): New macro, renamed from - TEST_TRUNC. - (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New - functions, renamed from truncdfsf_test, trunctfsf_test, - trunctfdf_test. - (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New - functions. - (do_test): Run all these. - -2013-08-29 Ondƙej BĂ­lka - - * argp/argp-help.c: Fix typos. - * argp/argp-parse.c: Likewise. - * debug/backtracesyms.c: Likewise. - * elf/elf.h: Likewise. - * malloc/malloc.c: Likewise. - * nis/nis_print.c: Likewise. - * resolv/res_comp.c: Likewise. - * stdlib/stdlib.h: Likewise. - * sunrpc/clnt_tcp.c: Likewise. - * sunrpc/clnt_udp.c: Likewise. - * sunrpc/clnt_unix.c: Likewise. - * sysdeps/unix/bsd/ptsname.c: Likewise. - * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: - Likewise. - * sysdeps/unix/sysv/linux/ptsname.c: Likewise. - -2013-08-28 Siddhesh Poyarekar - - * nscd/aicache.c (addhstaiX): Use __glibc_unlikely. - * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise. - -2013-08-27 Mike Frysinger - - [BZ #15897] - * dlfcn/Makefile (tests): Add bug-dl-leaf. - (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb. - ($(objpfx)bug-dl-leaf): New rule. - ($(objpfx)bug-dl-leaf.so): Likewise. - ($(objpfx)bug-dl-leaf.out): Likewise. - ($(objpfx)bug-dl-leaf-lib.so): Likewise. - ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise. - * dlfcn/bug-dl-leaf.c: New test. - * dlfcn/bug-dl-leaf-lib.c: Likewise. - * dlfcn/bug-dl-leaf-lib-cb.c: Likewise. - * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL. - (dlclose): Likewise. - (dlmopen): Likewise. - -2013-08-27 Roland McGrath - - * include/netdb.h [!_ISOMAC]: - Don't include . - (h_errno, __libc_h_errno): Move declaration and macros out of - [_LIBC_REENTRANT]. - - * include/resolv.h [_RESOLV_H_]: - Don't include . - (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT]. - * resolv/res_libc.c: Don't include . - (_res): Use __attribute__ ((nocommon)) in place of - __attribute__ ((section (".bss"))). - - * Makefile ($(common-objpfx)linkobj/libc_pic.a): - If [sunrpc not in $(subdirs)], define to use libc_pic.a directly. - - * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD]. - - * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare - only under [SIOCGIFCONF && SIOCGIFNETMASK]. - - * resolv/res_mkquery.c: Include . - - * inet/ifreq.c: Moved to ... - * sysdeps/unix/ifreq.c: ... here. - * inet/ifreq.c: New file, true stub version. - - * socket/sa_len.c: New file. - * socket/Makefile (aux): Add it. - * sysdeps/unix/sysv/linux/Makefile - [$(subdir) = socket] (sysdep_routines): Don't add sa_len here. - * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H - and #include . - * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define - HAVE_NETIUCV_IUCV_H and #include . - - * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ... - * bits/socket.h: ... here. - - * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type): - Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD. - (SOCK_MAX, SOCK_TYPE_MASK): New macros. - -2013-08-27 Andreas Schwab - - [BZ #15736] - * locale/categories.def (LC_CTYPE): Add "nonascii-case" element. - * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV) - (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define. - * string/test-strcasecmp.c (test_main): Run tests in several - locales. - * string/test-strncasecmp.c (test_main): Likewise. - - * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2) - (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through - to __strcasecmp_nonascii and __strncasecmp_nonascii. - * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3) - (__strncasecmp_ssse3) [PIC]: Likewise. - -2013-08-26 Roland McGrath - - * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat. - - * nss/nss_files/files-key.c: Include - instead of explicitly declaring xdecrypt. - * nis/nss_nis/nis-publickey.c: Likewise. - -2013-08-26 Siddhesh Poyarekar - - [BZ #15890] - * nscd/aicache.c: Include res_hconf.h. - (addhstaiX): Initialize res_hconf. - -2013-08-26 Andreas Schwab - - * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove. - ($(objpfx)tst-tls-atexit): Add dependencies here instead. - -2013-08-26 Siddhesh Poyarekar - - * nscd/aicache.c (addhstaiX): Fix indentation. - -2013-08-25 Mike Frysinger - - * configure.ac: Quote $build_pt_chown test. - * configure: Regenerated. - -2013-08-23 Joseph Myers - - [BZ #15532] - * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument. - * math/s_cexpf.c (__cexpf): Likewise. - * math/s_cexpl.c (__cexpl): Likewise. - * math/libm-test.inc (cexp_test_data): Correct expected return - value for NaN + i0. Add another test. - -2013-08-22 David S. Miller - - * po/ca.po: Update Catalan translation from translation project. - * po/uk.po: Add Ukrainian translations from translation project. - -2013-08-21 Joseph Myers - - [BZ #15797] - * math/s_fdim.c (__fdim): Check for infinite arguments if result - is infinite, not alongside NaN test. - * math/s_fdimf.c (__fdimf): Likewise. - * math/s_fdiml.c (__fdiml): Likewise. - * math/libm-test.inc (fdim_test_data): Add more tests. Test that - errno is unchanged. - -2013-08-21 Ondƙej BĂ­lka - - * argp/argp-help.c: Fix typos. - * crypt/speeds.c: Likewise. - * csu/check_fds.c: Likewise. - * elf/dl-load.c: Likewise. - * elf/dl-open.c: Likewise. - * elf/reldep3.c: Likewise. - * elf/reldep.c: Likewise. - * elf/sprof.c: Likewise. - * iconv/iconv_charmap.c: Likewise. - * iconv/skeleton.c: Likewise. - * iconv/strtab.c: Likewise. - * io/lockf64.c: Likewise. - * libio/libioP.h: Likewise. - * resolv/gai_notify.c: Likewise. - * resolv/ns_name.c: Likewise. - * resolv/ns_samedomain.c: Likewise. - * resolv/res_send.c: Likewise. - * stdlib/random.c: Likewise. - * sunrpc/rpc/xdr.h: Likewise. - * sysdeps/i386/fpu/fraiseexcpt.c: Likewise. - * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise. - * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise. - * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise. - * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise. - * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise. - * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise. - * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise. - * sysdeps/mach/hurd/check_fds.c: Likewise. - * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise. - * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise. - * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. - * sysdeps/powerpc/powerpc32/setjmp.S: Likewise. - * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise. - * sysdeps/pthread/aio_notify.c: Likewise. - * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise. - * sysdeps/unix/sysv/linux/socketcall.h: Likewise. - * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise. - * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise. - * sysdeps/x86/fpu/bits/fenv.h: Likewise. - -2013-08-21 Liubov Dmitrieva - - * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2 - version if bit_Slow_SSE4_2 is set. - * sysdeps/i386/i686/multiarch/strncase.S: Likewise. - * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise. - -2013-07-23 Adhemerval Zanella - - [BZ #15867] - * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal - trampoline stack frame information. - * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h - (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline. - (__vdso_sigtramp32): New variable: PPC32 signal trampoline. - (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline. - * sysdeps/unix/sysv/linux/powerpc/init-first.c - (_libc_vdso_platform_setup): Initialize the signal trampolines. - * debug/tst-backtrace5.c (fn): Add an option set modify sigaction - sa_flags value. - * debug/tst-backtrace6.c: New file: check backtrace for signal frames, - interrupting a syscall and set with option SA_SIGINFO. - -2013-08-20 Joseph Myers - - [BZ #15531] - * math/s_cproj.c (__cproj): Only return an infinity if one part of - argument is infinite. - * math/s_cprojf.c (__cprojf): Likewise. - * math/s_cprojl.c (__cprojl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise. - * math/libm-test.inc (cproj_test_data): Add more tests. - - * sysdeps/unix/sysv/linux/mmap64.c: Include . - - * sysdeps/unix/sysv/linux/mmap64.c (__mmap64) - [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page - size. Use __ffs to determine corresponding shift. - -2013-08-20 Joseph Myers - Roland McGrath - - * Makefile (INSTALL): Remove trailing blank lines from output of - makeinfo. - -2013-08-20 Andreas Krebbel - - * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus): - Align 32 bit compat elf_greg to 8 bytes. - -2013-08-20 Andreas Arnez - - * elf/setup-vdso.h (setup_vdso): Fix missing string termination. - -2013-08-20 Siddhesh Poyarekar - - * string/strcoll_l.c (coll_seq): New structure. - (get_next_seq_cached): New function. - (get_next_seq): New function. - (do_compare): New function. - (STRCOLL): Use GNU style definition. Simplify implementation - by using get_next_seq, get_next_seq_cached and do_compare. - -2013-08-16 Florian Weimer - - [BZ #14699] - CVE-2013-4237 - * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode - member. - * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode - member. - * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member. - * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit. - Return delayed error code. Remove GETDENTS_64BIT_ALIGNED - conditional. - * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define - GETDENTS_64BIT_ALIGNED. - * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise. - * manual/filesys.texi (Reading/Closing Directory): Document - ENAMETOOLONG return value of readdir_r. Recommend readdir more - strongly. - * manual/conf.texi (Limits for Files): Add portability note to - NAME_MAX, PATH_MAX. - (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX. - -2013-08-13 Andreas Schwab - - [BZ #15749] - * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead - of fabs. - * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE && - LDBL_MAX_EXP >= 16384]: Add tests for it. - -2013-08-12 David S. Miller - - * version.h (RELEASE): Set to "development". - (VERSION): Set to "2.18.90". - * NEWS: Add 2.19 section. - -2013-08-03 David S. Miller - - * po/ko.po: Update Korean translation from translation project. - -2013-08-01 David S. Miller - - * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add - entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej - Bilka. - -2013-07-30 David S. Miller - - * po/fr.po: Update French translation from translation project. - -2013-07-28 David S. Miller - - * po/cs.po: Update Czech translation from translation project. - - * po/sv.po: Update Swedish translation from translation project. - -2013-07-27 David S. Miller - - * po/eo.po: Update Esperanto translation from translation project. - - * po/vi.po: Update Vietnamese translation from translation project. - - * po/de.po: Update German translation from translation project. - -2013-07-26 David S. Miller - - * po/bg.po: Update Bulgarian translation from translation project. - - * po/nl.po: Update Dutch translation from translation project. - * po/pl.po: Update Polish translation from translation project. - * po/ru.po: Update Russian translation from translation project. - -2013-07-24 David S. Miller - - * po/libc.pot: Update. - -2013-07-23 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support - variable page size. - * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf. - * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init. - -2013-07-22 Andreas Krebbel - - * sysdeps/s390/fpu/libm-test-ulps: Refresh. - -2013-07-21 Siddhesh Poyarekar - Andreas Schwab - Roland McGrath - Joseph Myers - Carlos O'Donell - - [BZ #15755] - * config.h.in: Define HAVE_PT_CHOWN. - * config.make.in (build-pt-chown): New variable. - * configure.in (--enable-pt_chown): New configure option. - * configure: Regenerate. - * login/Makefile: Include Makeconfig. Build pt_chown only if - build-pt-chown is enabled. - * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn - pt_chown to fix pty ownership. - * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define - CLOSE_ALL_FDS. - * manual/install.texi (Configuring and compiling): Mention - --enable-pt_chown. Add @findex for grantpt. - * INSTALL: Regenerate. - -2013-07-20 David S. Miller - - * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor - difference between 32-bit and 64-bit. - -2013-07-15 Carlos O'Donell - - [BZ #15711] - * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h): - Avoid system header dependency with -ffreestanding. - ($(objpfx)bits/syscall%d): Likewise. - -2013-07-13 David S. Miller - - * math/libm-test.inc (casin_test_data): Annotate more cases of missing - underflows from atanl/atan2l due to bug 15319. - (casinh_test_data): Likewise. - -2013-07-07 David S. Miller - - * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch. - -2013-07-05 Jeroen Albers <_jeroen_@yahoo.com> - - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2013-07-04 Siddhesh Poyarekar - - * configure.in (--enable-lock-elision): Fix message text. - * INSTALL: Regenerate. - * configure: Regenerate. - -2013-07-04 Adhemerval Zanella - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - -2013-07-03 Andreas Jaeger - - * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add - define. - (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10. - (ptrace_peeksiginfo_args): Add. - (__ptrace_peeksiginfo_flags): Add. - * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise. - * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise. - -2013-07-03 Allan McRae - - * sysdeps/i386/fpu/libm-test-ulps: Update. - -2013-07-02 David S. Miller - - * sysdeps/sparc/fpu/libm-test-ulps: Update. - -2013-07-02 Markus Trippelsdorf - - * sysdeps/x86_64/fpu/libm-test-ulps: Update. - -2013-07-02 Joseph Myers - - * sysdeps/i386/fpu/libm-test-ulps: Regenerated. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2013-07-02 Andi Kleen - - * config.h.in (ENABLE_LOCK_ELISION): Add. - * configure.in (--enable-lock-elision): Add option. - * manual/install.texi: Document --enable lock elision. - * configure: Regenerate - * INSTALL: Regenerate. - -2013-07-02 H.J. Lu - - * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable - SSE4.2 strcasecmp for libc.a. - * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise. - -2013-07-02 Joseph Myers - - [BZ #13304] - * soft-fp/op-common.h (_FP_FMA): New macro. - * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro. - (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ... - (_FP_MUL_MEAT_1_imm): ... here. - (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ... - (_FP_MUL_MEAT_1_wide): ... here. - (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ... - (_FP_MUL_MEAT_1_hard): ... here. - * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro. - (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ... - (_FP_MUL_MEAT_2_wide): ... here. - (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ... - (_FP_MUL_MEAT_2_wide_3mul): ... here. - (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ... - (_FP_MUL_MEAT_2_gmp): ... here. - * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro. - (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ... - (_FP_MUL_MEAT_4_wide): ... here. - (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ... - (_FP_MUL_MEAT_4_gmp): ... here. - * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro. - (_FP_WFRACBITS_DW_S): Likewise. - (_FP_WFRACXBITS_DW_S): Likewise. - (_FP_HIGHBIT_DW_S): Likewise. - (FP_FMA_S): Likewise. - (_FP_FRAC_HIGH_DW_S): Likewise. - * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro. - (_FP_WFRACBITS_DW_D): Likewise. - (_FP_WFRACXBITS_DW_D): Likewise. - (_FP_HIGHBIT_DW_D): Likewise. - (FP_FMA_D): Likewise. - (_FP_FRAC_HIGH_DW_D): Likewise. - * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro. - (_FP_WFRACBITS_DW_E): Likewise. - (_FP_WFRACXBITS_DW_E): Likewise. - (_FP_HIGHBIT_DW_E): Likewise. - (FP_FMA_E): Likewise. - (_FP_FRAC_HIGH_DW_E): Likewise. - * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro. - (_FP_WFRACBITS_DW_Q): Likewise. - (_FP_WFRACXBITS_DW_Q): Likewise. - (_FP_HIGHBIT_DW_Q): Likewise. - (FP_FMA_Q): Likewise. - (_FP_FRAC_HIGH_DW_Q): Likewise. - * soft-fp/fmasf4.c: New file. - * soft-fp/fmadf4.c: Likewise. - * soft-fp/fmatf4.c: Likewise. - -2013-06-28 Liubov Dmitrieva - - * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set - bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel - Silvermont. - * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New - macro. - (index_Slow_SSE4_2): Likewise. - (index_Prefer_PMINUB_for_stringop): Likewise. - * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if - bit_Slow_SSE4_2 is set. - * sysdeps/x86_64/multiarch/strcmp.S: Likewise. - * sysdeps/x86_64/multiarch/strrchr.S: Likewise. - -2013-06-28 Ryan S. Arnold - - * sysdeps/powerpc/Makefile: Add comment about generating an offset to - rtld_global._dl_hwcap2. - * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for - POWER8. - * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for - POWER8 feature descriptions defined in _dl_hwcap2. - * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2 - string handling for POWER8 feature bits. - (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits. - (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in - _dl_powerpc_cap_flags. - (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2. - * sysdeps/powerpc/rtld-global-offsets.sym - (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate - _dl_hwcap2 in the rtld_global_ro structure. - -2013-06-28 Ryan S. Arnold - - * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more - hardware capabilities in support of AT_HWCAP2. - (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2). - * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into - GLRO(dl_hwcap2). - (_dl_show_auxv): Add support for calling _dl_procinfo to display - AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2 - explicitly the unknown a_type display mechanism is used. - * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2. - * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new - struct member. - * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter - to macro prototype for AT_HWCAP2 support. - * sysdeps/i386/dl-procinfo.h: Likewise. - * sysdeps/s390/dl-procinfo.h: Likewise. - * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to - macro prototype for AT_HWCAP2 support. Make WORD unsigned long int - rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to - return -1 for unknown a_type display fallback. - * sysdeps/sparc/dl-procinfo.h: Likewise. - * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise. - * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise. - -2013-06-28 Joseph Myers - - * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift - instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL. - -2013-06-28 Pierre Ynard - - [BZ #12492] - * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of - mprotect making __stack_prot writable. - -2013-06-28 Nathan Froyd - Joseph Myers - - * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count' - as being properly aligned. - -2013-06-28 Maciej W. Rozycki - - * dlfcn/modstatic5.c: New file. - * dlfcn/tststatic5.c: New file. - * dlfcn/Makefile (tests): Add tststatic5. - (tests-static): Likewise. - (modules-names): Add modstatic5. - (tststatic5-ENV): New variable. - ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies. - - [BZ #15022] - * elf/dl-support.c (_dl_main_map): New variable. - (_dl_ns): Use it to initialize [LM_ID_BASE] element. - (_dl_nns, _dl_load_adds): Set to 1. - (_dl_initial_searchlist): Refer to _dl_main_map. - (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin. - * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback - call to _dl_get_origin. - * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing - around call_map. - (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns). - * dlfcn/modstatic3.c: New file. - * dlfcn/tststatic3.c: New file. - * dlfcn/tststatic4.c: New file. - * dlfcn/Makefile (tests): Add tststatic3 and tststatic4. - (tests-static): Likewise. - (modules-names): Add modstatic3. - (tststatic3-ENV, tststatic4-ENV): New variables. - ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies. - ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise. - -2013-06-26 Joseph Myers - - * configure.in (CC): Require GCC version 4.4 or later. - * configure: Regenerated. - * manual/install.texi (Tools for Compilation): Update GCC version - requirement. - * INSTALL: Regenerated. - -2013-06-26 Liubov Dmitrieva - - [BZ #15674] - * string/test-memcmp.c (check2): New. - (main): Call check2. - - * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun. - -2013-06-26 Maciej W. Rozycki - - [BZ #15022] - * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT - over to... - (dl_open_worker) [!SHARED]: ... here. - -2013-06-26 Ryan S. Arnold - - * elf/elf.h (AT_HWCAP2): Add a new a_type entry. - -2013-06-25 Richard Henderson - - * locale/programs/locarchive.c: Include - -2013-06-25 Joseph Myers - - * manual/texinfo.tex: Update to version 2013-06-21.17, with - trailing whitespace removed. - -2013-06-24 Mike Frysinger - - [BZ #10283] - * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len. - * locale/programs/locarchive.c: Include libc-mmap.h. - (prepare_address_space): Take two new outputs (the mmap base and len). - Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right - values. - (create_archive): Declare new mmap base and len values for - prepare_address_space, and store the result in ah. - (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT. - (enlarge_archive): If ah->mmap_base is not NULL, use that and - ah->mmap_len to unmap rather than ah->addr and ah->reserved. - Declare new mmap base and len values for - prepare_address_space, and store the result in new_ah. - (open_archive): Declare new mmap base and len values for - prepare_address_space, and store the result in ah. - (close_archive): If ah->mmap_base is not NULL, use that and - ah->mmap_len to unmap rather than ah->addr and ah->reserved. - * sysdeps/generic/libc-mmap.h: New file. - -2013-06-24 Mike Frysinger - - * include/libc-internal.h (ALIGN_DOWN): New helper macro. - (ALIGN_UP): Likewise. - (PTR_ALIGN_DOWN): Likewise. - (PTR_ALIGN_UP): Likewise. - -2013-06-24 Ryan S. Arnold - - * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8" - entry mapped to PPC_PLATFORM_POWER8. - * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for - POWER8. - (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor. - (_dl_string_platform): Add case for exporting platform position for - POWER8. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain - search path to sysdeps/powerpc/powerpc32/power8 directory. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain - search path to sysdeps/powerpc/powerpc64/power8 directory. - * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to - power7 directories. - * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to - power7 directories. - -2013-06-24 Siddhesh Poyarekar - - * INSTALL: Regenerate. - - * nscd/connections.c (nscd_init): Fix comment. - -2013-06-22 Joseph Myers - - * sysdeps/unix/sysv/linux/libc_fatal.c: Include . - - [BZ #15667] - * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2 - to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2. - -2013-06-21 Maciej W. Rozycki - - * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to - DL_DST_REQ_STATIC. - (DL_DST_REQ_STATIC): Remove macro. - -2013-06-21 Joseph Myers - - [BZ #7006] - * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL - with a shift of 0 bits. - -2013-06-21 Maciej W. Rozycki - - * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of - $(tststatic-ENV). - -2013-06-21 Kaz Kojima - - [BZ #15655] - * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file. - -2013-06-20 Adhemerval Zanella - - * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define. - * configure.in (libc_cv_cc_loop_to_function): Check if compiler - accepts -fno-tree-loop-distribute-patterns. - * include/libc-symbols.h (inhibit_loop_to_libcall): New macro. - * string/memmove.c (MEMMOVE): Disable loop transformation to avoid - recursive call. - * string/memset.c (memset): Likewise. - * string/test-memmove.c (simple_memmove): Disable loop transformation - to library calls. - * string/test-memset.c (simple_memset): Likewise. - * benchtests/bench-memmove.c (simple_memmove): Likewise. - * benchtests/bench-memset.c (simple_memset): Likewise. - * configure: Regenerated. - -2013-06-20 Joseph Myers - - * math/test-misc.c (main): Ignore fesetround failure when failures - of subsequent rounding tests would be ignored. - - [BZ #15654] - * math/fedisblxcpt.c (fedisableexcept): Return 0. - * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0. - * math/fegetenv.c (__fegetenv): Return 0. - * math/fegetexcept.c (fegetexcept): Return 0. - * math/fegetround.c (fegetround) [FE_TONEAREST]: Return - FE_TONEAREST. - * math/feholdexcpt.c (feholdexcept): Return 0. - * math/fesetenv.c (__fesetenv): Return 0. - * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for - argument FE_TONEAREST. - * math/feupdateenv.c (__feupdateenv): Return 0. - * math/fgetexcptflg.c (__fegetexceptflag): Return 0. - -2013-06-18 Roland McGrath - - * elf/rtld-Rules (rtld-compile-command.S): New variable. - (rtld-compile-command.s, rtld-compile-command.c): New variables. - ($(objpfx)rtld-%.os rules): Use them. - -2013-06-17 Adhemerval Zanella - - * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch - fields. - -2013-06-17 Roland McGrath - - * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending - length of target pattern, then descending length of dependency pattern. - * configure.in (AWK): Require gawk 3.1.2 or newer. - * manual/install.texi (Tools for Compilation): Say that we do. - * configure: Regenerated. - - * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed. - ($(common-objpfx)sysd-rules): Replace shell logic with running ... - * scripts/sysd-rules.awk: ... this new script. - * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather - than a glob-style pattern. - -2013-06-17 Joseph Myers - - * math/test-misc.c (main): Do not treat incorrectly rounded - conversions as failure unless ROUNDING_TESTS passes. - -2013-06-15 Joseph Myers - - [BZ #15631] - * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and - restore exception state around main square root computation, then - check for inexactness explicitly. - - * math/libm-test.inc (fma_test_data): Add another test. - -2013-06-15 Siddhesh Poyarekar - - * manual/threads.texi (Non-POSIX Extensions): New document - node. Document pthread_getattr_default_np and - pthread_setattr_default_np. - - * Versions.def (libpthread): Add GLIBC_2.18. - * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist: - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist: - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist: - Likewise. - * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: - Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist: - Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist: - Likewise. - * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: - Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: - Likewise. - -2013-06-14 Liubov Dmitrieva - - * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): - Set bit_Fast_Unaligned_Load for Intel Silvermont architecture. - -2013-06-14 Siddhesh Poyarekar - H.J. Lu - - [BZ #15627] - * sysdeps/x86_64/rtld-memset.c: Remove file. - * sysdeps/x86_64/rtld-memset.S: New file. - -2013-06-14 Joseph Myers - - * stdlib/tst-strtod-round.c: Include . - (test_in_one_mode): Take arguments for whether the rounding mode - is supported for each floating-point type. - (do_test): Pass new arguments to test_in_one_mode using - ROUNDING_TESTS. - -2013-06-13 Roland McGrath - - * posix/tst-waitid.c (do_test): Distinguish different instances of - stopped/continued in CHECK_SIGCHLD uses. Insert a delay between - sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered - before entering the kernel for waitpid. - -2013-06-13 Siddhesh Poyarekar - - * NEWS: Fix note on clock function precision. Text by Roland - McGrath. - -2013-06-13 Roland McGrath - - * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move - it into place only when and if the sanity check passes. - -2013-06-13 Joseph Myers - - * stdlib/gen-tst-strtod-round.c (round_str): Always generate - output for whether conversion result is exact. Take argument - indicating whether type is IBM long double. - (round_for_all): Change need_exact field to ibm_ld. - * stdlib/tst-strtod-round.c (struct exactness): New type. - (struct test): Change bool ld_ok field to struct exactness exact. - (TEST): Update all definitions for change to field. - (tests): Regenerate array contents. - (test_in_one_mode): Take pointer to new field instead of old ld_ok - field value. Check for IBM long double here. - (do_test): Update calls to test_in_one_mode. - -2013-06-13 Siddhesh Poyarekar - - [BZ #12515] - * sysdeps/unix/sysv/linux/clock.c (clock): Use result from - CLOCK_PROCESS_CPUTIME_ID clock instead of __times. - -2013-06-12 Adhemerval Zanella - - [BZ #15605] - * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls - generated by the compiler on loop optimizations. - * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for - general definitions. - -2013-06-12 Joseph Myers - - * math/bug-nextafter.c: Include . - (main): Only test for exceptions if EXCEPTION_TESTS is true for - the relevant type. - * math/bug-nexttoward.c: Include . - (main): Only test for exceptions if EXCEPTION_TESTS is true for - the relevant type. - * math/test-misc.c: Include . - (main): Only test for exceptions if EXCEPTION_TESTS is true for - the relevant type. - -2013-06-12 Andreas Jaeger - - * po/ia.po: Update Interlingua translation from translation - project. - -2013-06-12 Siddhesh Poyarekar - - * include/fenv.h: Include stdbool.h. - (struct rm_ctx): New structure. - * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC): - Define macro. - (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC. - (SET_RESTORE_ROUNDF): Likewise. - (SET_RESTORE_ROUNDL): Likewise. - (SET_RESTORE_ROUND_NOEX): Likewise. - (SET_RESTORE_ROUND_NOEXF): Likewise. - (SET_RESTORE_ROUND_NOEXL): Likewise. - (SET_RESTORE_ROUND_53BIT): Likewise. - [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro. - (libc_feresetround_noexf_ctx): Likewise. - (libc_feresetround_noexl_ctx): Likewise. - (libc_feholdsetround_53bit_ctx): Likewise. - (libc_feresetround_53bit_ctx): Likewise. - * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro. - (libc_feholdexcept_setround_sse_ctx): New function. - (libc_fesetenv_sse_ctx): Likewise. - (libc_feupdateenv_sse_ctx): Likewise. - (libc_feholdexcept_setround_387_prec_ctx): Likewise. - (libc_feholdexcept_setround_387_ctx): Likewise. - (libc_feholdexcept_setround_387_53bit_ctx): Likewise. - (libc_feholdsetround_387_prec_ctx): Likewise. - (libc_feholdsetround_387_ctx): Likewise. - (libc_feholdsetround_387_53bit_ctx): Likewise. - (libc_feholdsetround_sse_ctx): Likewise. - (libc_feresetround_sse_ctx): Likewise. - (libc_feresetround_387_ctx): Likewise. - (libc_feupdateenv_387_ctx): Likewise. - (libc_feholdexcept_setroundf_ctx): Define macro. - (libc_fesetenvf_ctx): Likewise. - (libc_feupdateenvf_ctx): Likewise. - (libc_feholdsetroundf_ctx): Likewise. - (libc_feresetroundf_ctx): Likewise. - (libc_feholdexcept_setround_ctx): Likewise. - (libc_fesetenv_ctx): Likewise. - (libc_feupdateenv_ctx): Likewise. - (libc_feholdsetround_ctx): Likewise. - (libc_feresetround_ctx): Likewise. - (libc_feholdexcept_setroundl_ctx): Likewise. - (libc_feupdateenvl_ctx): Likewise. - (libc_feholdsetroundl_ctx): Likewise. - (libc_feresetroundl_ctx): Likewise. - [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise. - (libc_feresetround_53bit_ctx): Likewise. - -2013-06-11 Siddhesh Poyarekar - - * locale/iso-639.def: Convert to UTF-8. - -2013-06-11 Joseph Myers - - * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro. - (EXCEPTION_TESTS_double): Likewise. - (EXCEPTION_TESTS_long_double): Likewise. - (EXCEPTION_TESTS): Likewise. - * math/libm-test.inc (test_exceptions): Only test exceptions if - EXCEPTION_TESTS (FLOAT). - -2013-06-11 Siddhesh Poyarekar - - * benchtests/Makefile (string-bench): Add strcpy_chk and - stpcpy_chk. - * benchtests/bench-stpcpy_chk-ifunc.c: New file. - * benchtests/bench-stpcpy_chk.c: New file. - * benchtests/bench-strcpy_chk-ifunc.c: New file. - * benchtests/bench-strcpy_chk.c: New file. - * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING - code. - (do_test): Likewise. - -2013-06-11 Ryan S. Arnold - - * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405, - ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c. - * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces - with tabs where appropriate. - [PPC_PLATFORM_PPC405]: Define new platform merging from ports/ - dl-procinfo.h. - [PPC_PLATFORM_PPC440]: Likewise. - [PPC_PLATFORM_PPC464]: Likewise. - [PPC_PLATFORM_PPC476]: Likewise. - (_dl_string_platform): Add support for detecting ppc405, ppc440, - ppc464, and ppc476 platform strings merging from ports/ - dl-procinfo.h. - -2013-06-11 Andreas Schwab - - [BZ #14991] - * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4) - (from_ucs4_idx): Regenerate. - (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros. - (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM) - (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO) - (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM) - (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP) - (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT) - (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros. - (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define - from FROM_LOOP and TO_LOOP specific macros. - (BODY): Handle combining characters. - * iconvdata/BIG5HKSCS.irreversible: Update. - * iconvdata/BIG5HKSCS.precomposed: New file. - * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned - characters. - * iconvdata/testdata/BIG5HKSCS..UTF8: Update. - -2013-06-11 Siddhesh Poyarekar - - * include/sys/time.h: Fix indentation and add copyright header. - - * string/test-memccpy.c (do_one_test): Remove HP_TIMING code. - (do_test): Likewise. - * string/test-memchr.c (do_one_test): Likewise. - (do_test): Likewise. - * string/test-memcmp.c (do_one_test): Likewise. - (do_test): Likewise. - * string/test-memcpy.c (do_one_test): Likewise. - (do_test): Likewise. - * string/test-memmem.c (do_one_test): Likewise. - (do_test): Likewise. - (do_random_tests): Likewise. - * string/test-memmove.c (do_one_test): Likewise. - (do_test): Likewise. - * string/test-memset.c (do_one_test): Likewise. - (do_test): Likewise. - * string/test-rawmemchr.c (do_one_test): Likewise. - (do_test): Likewise. - * string/test-strcasecmp.c (do_one_test): Likewise. - (do_test): Likewise. - * string/test-strcasestr.c (do_one_test): Likewise. - (do_test): Likewise. - * string/test-strcat.c (do_one_test): Likewise. - (do_test): Likewise. - * string/test-strchr.c (do_one_test): Likewise. - (do_test): Likewise. - * string/test-strcmp.c (do_one_test): Likewise. - (do_test): Likewise. - * string/test-strcpy.c (do_one_test): Likewise. - (do_test): Likewise. - * string/test-string.h: Likewise. - (test_init): Likewise. - * string/test-strlen.c (do_one_test): Likewise. - (do_test): Likewise. - * string/test-strncasecmp.c (do_one_test): Likewise. - (do_test): Likewise. - * string/test-strncat.c (do_one_test): Likewise. - (do_test): Likewise. - * string/test-strncmp.c (do_one_test): Likewise. - (do_test_limit): Likewise. - (do_test): Likewise. - * string/test-strncpy.c (do_one_test): Likewise. - (do_test): Likewise. - * string/test-strnlen.c (do_one_test): Likewise. - (do_test): Likewise. - * string/test-strpbrk.c (do_one_test): Likewise. - (do_test): Likewise. - * string/test-strrchr.c (do_one_test): Likewise. - (do_test): Likewise. - * string/test-strspn.c (do_one_test): Likewise. - (do_test): Likewise. - * string/test-strstr.c (do_one_test): Likewise. - (do_test): Likewise. - - * benchtests/Makefile (string-bench): Add string benchmarks. - * benchtests/bench-bcopy-ifunc.c: New file. - * benchtests/bench-bcopy.c: New file. - * benchtests/bench-bzero-ifunc.c: New file. - * benchtests/bench-bzero.c: New file. - * benchtests/bench-memccpy-ifunc.c: New file. - * benchtests/bench-memccpy.c: New file. - * benchtests/bench-memchr-ifunc.c: New file. - * benchtests/bench-memchr.c: New file. - * benchtests/bench-memcmp-ifunc.c: New file. - * benchtests/bench-memcmp.c: New file. - * benchtests/bench-memmem-ifunc.c: New file. - * benchtests/bench-memmem.c: New file. - * benchtests/bench-memmove-ifunc.c: New file. - * benchtests/bench-memmove.c: New file. - * benchtests/bench-mempcpy-ifunc.c: New file. - * benchtests/bench-mempcpy.c: New file. - * benchtests/bench-memset-ifunc.c: New file. - * benchtests/bench-memset.c: New file. - * benchtests/bench-rawmemchr-ifunc.c: New file. - * benchtests/bench-rawmemchr.c: New file. - * benchtests/bench-stpcpy-ifunc.c: New file. - * benchtests/bench-stpcpy.c: New file. - * benchtests/bench-stpncpy-ifunc.c: New file. - * benchtests/bench-stpncpy.c: New file. - * benchtests/bench-strcasecmp-ifunc.c: New file. - * benchtests/bench-strcasecmp.c: New file. - * benchtests/bench-strcasestr-ifunc.c: New file. - * benchtests/bench-strcasestr.c: New file. - * benchtests/bench-strcat-ifunc.c: New file. - * benchtests/bench-strcat.c: New file. - * benchtests/bench-strchr-ifunc.c: New file. - * benchtests/bench-strchr.c: New file. - * benchtests/bench-strchrnul-ifunc.c: New file. - * benchtests/bench-strchrnul.c: New file. - * benchtests/bench-strcmp-ifunc.c: New file. - * benchtests/bench-strcmp.c: New file. - * benchtests/bench-strcpy-ifunc.c: New file. - * benchtests/bench-strcpy.c: New file. - * benchtests/bench-strcspn-ifunc.c: New file. - * benchtests/bench-strcspn.c: New file. - * benchtests/bench-strlen-ifunc.c: New file. - * benchtests/bench-strlen.c: New file. - * benchtests/bench-strncasecmp-ifunc.c: New file. - * benchtests/bench-strncasecmp.c: New file. - * benchtests/bench-strncat-ifunc.c: New file. - * benchtests/bench-strncat.c: New file. - * benchtests/bench-strncmp-ifunc.c: New file. - * benchtests/bench-strncmp.c: New file. - * benchtests/bench-strncpy-ifunc.c: New file. - * benchtests/bench-strncpy.c: New file. - * benchtests/bench-strnlen-ifunc.c: New file. - * benchtests/bench-strnlen.c: New file. - * benchtests/bench-strpbrk-ifunc.c: New file. - * benchtests/bench-strpbrk.c: New file. - * benchtests/bench-strrchr-ifunc.c: New file. - * benchtests/bench-strrchr.c: New file. - * benchtests/bench-strspn-ifunc.c: New file. - * benchtests/bench-strspn.c: New file. - * benchtests/bench-strstr-ifunc.c: New file. - * benchtests/bench-strstr.c: New file. - - * benchtests/Makefile: Disable parallel execution of targets. - (string-bench): Add memcpy. - (benchset): New variable to store a list of benchmark sets. - (bench-func): Renamed from bench. - (bench-set): New target. - (bench): Depend on bench-func and bench-set. - * benchtests/README: Add section on benchmark sets. - * benchtests/bench-memcpy-ifunc.c: New file. - * benchtests/bench-memcpy.c: New file. - * benchtests/bench-string.h: New file. - -2013-06-11 Andreas Schwab - - [BZ #15577] - * nscd/connections.c (nscd_run_worker): Always zero-terminate key. - * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent - values in the triple. - * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero - terminator in the group key. - -2013-06-11 Andreas Jaeger - - * po/zh_TW.po: Update Chinese (traditional) translation from - translation project. - -2013-06-11 Siddhesh Poyarekar - - * include/time.h (__clock_gettime): Add libc_hidden_proto. - * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to - __clock_getcpuclockid. Add weak_alias and libc_hidden_def. - * sysdeps/unix/sysv/linux/clock_getcpuclockid.c - (clock_getcpuclockid): Likewise. - * rt/clock_getres.c (clock_getres): Rename to __clock_getres. - Add weak_alias and libc_hidden_def. - * sysdeps/posix/clock_getres.c (clock_getres): Likewise. - * rt/clock_gettime.c (clock_gettime): Rename to - __clock_gettime. Add weak_alias and libc_hidden_def. - * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise. - * rt/clock_nanosleep.c (clock_nanosleep): Rename to - __clock_nanosleep. Add weak_alias and libc_hidden_def. - * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise. - * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep): - Likewise. - * rt/clock_settime.c (clock_settime): Rename to - __clock_settime. Add weak_alias and libc_hidden_def. - * sysdeps/unix/clock_settime.c (clock_settime): Likewise. - -2013-06-10 Joseph Myers - - * mach/err_boot.sub: Remove trailing whitespace. - * mach/err_ipc.sub: Likewise. - * mach/err_mach.sub: Likewise. - - * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro. - (ROUNDING_TESTS_double): Likewise. - (ROUNDING_TESTS_long_double): Likewise. - (ROUNDING_TESTS): Likewise. - * math/libm-test.inc: Include . - (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS. - (IF_ROUND_INIT_FE_TONEAREST): Likewise. - (IF_ROUND_INIT_FE_TOWARDZERO): Likewise. - (IF_ROUND_INIT_FE_UPWARD): Likewise. - -2013-06-10 Siddhesh Poyarekar - - * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead - of assigning. - -2013-06-08 Joseph Myers - - * sysdeps/gnu/errlist.awk: Do not generate space at end of - otherwise empty TRANS lines. - * sysdeps/gnu/errlist.c: Regenerated. - - * catgets/gencat.c (error_print): Use (void) in function - definition. - * crypt/crypt_util.c (__init_des): Likewise. - * crypt/speeds.c (Stop): Likewise. - (main): Likewise. - * hurd/hurdmalloc.c (print_malloc_free_list): Likewise. - * inet/ruserpass.c (token): Likewise. - * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise. - * intl/localealias.c (extend_alias_table): Likewise. - * intl/plural-exp.c (init_germanic_plural): Likewise. - * libio/fcloseall.c (__fcloseall): Likewise. - * libio/genops.c (_IO_flush_all): Likewise. - (_IO_flush_all_linebuffered): Likewise. - (_IO_cleanup): Likewise. - (_IO_iter_begin): Likewise. - (_IO_iter_end): Likewise. - (_IO_list_lock): Likewise. - (_IO_list_unlock): Likewise. - (_IO_list_resetlock): Likewise. - * libio/getchar.c (getchar): Likewise. - * libio/getchar_u.c (getchar_unlocked): Likewise. - * libio/getwchar.c (getwchar): Likewise. - * libio/getwchar_u.c (getwchar_unlocked): Likewise. - * libio/oldstdfiles.c (_IO_check_libio): Likewise. - * login/getpt.c (__getpt): Likewise. - * login/tst-utmp.c (main): Likewise. - * malloc/hooks.c (__malloc_check_init): Likewise. - * malloc/malloc.c (__malloc_stats): Likewise. - * malloc/mtrace.c (tr_break): Likewise. - (mtrace): Likewise. - (muntrace): Likewise. - * misc/fstab.c (endfsent): Likewise. - * misc/getclktck.c (__getclktck): Likewise. - * misc/getdtsz.c (__getdtablesize): Likewise. - * misc/gethostid.c (gethostid): Likewise. - * misc/getpagesize.c (__getpagesize): Likewise. - * misc/getsysstats.c (__get_nprocs_conf): Likewise. - (__get_nprocs): Likewise. - (__get_phys_pages): Likewise. - (__get_avphys_pages): Likewise. - * misc/getttyent.c (getttyent): Likewise. - (setttyent): Likewise. - (endttyent): Likewise. - * misc/getusershell.c (getusershell): Likewise. - (endusershell): Likewise. - (setusershell): Likewise. - (initshells): Likewise. - * misc/hsearch.c (__hdestroy): Likewise. - * misc/sync.c (sync): Likewise. - * misc/syslog.c (closelog_internal): Likewise. - (closelog): Likewise. - * misc/ttyslot.c (ttyslot): Likewise. - * misc/vhangup.c (vhangup): Likewise. - * posix/fork.c (__fork): Likewise. - * posix/getegid.c (__getegid): Likewise. - * posix/geteuid.c (__geteuid): Likewise. - * posix/getgid.c (__getgid): Likewise. - * posix/getpid.c (__getpid): Likewise. - * posix/getppid.c (__getppid): Likewise. - * posix/getuid.c (__getuid): Likewise. - * posix/pause.c (pause): Likewise. - * posix/setpgrp.c (setpgrp): Likewise. - * posix/setsid.c (__setsid): Likewise. - * posix/test-vfork.c (noop): Likewise. - * resolv/gethnamaddr.c (_endhtent): Likewise. - (_gethtent): Likewise. - (ht_endhostent): Likewise. - (gethostent): Likewise. - (dns_service): Likewise. - * stdlib/drand48.c (drand48): Likewise. - * stdlib/lrand48.c (lrand48): Likewise. - * stdlib/mrand48.c (mrand48): Likewise. - * stdlib/rand.c (rand): Likewise. - * stdlib/random.c (__random): Likewise. - * stdlib/setenv.c (clearenv): Likewise. - * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise. - * sunrpc/clnt_unix.c (clntunix_abort): Likewise. - * sysdeps/mach/getpagesize.c (__getpagesize): Likewise. - * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise. - (__get_nprocs): Likewise. - (__get_phys_pages): Likewise. - (__get_avphys_pages): Likewise. - * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise. - * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise. - * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise. - * sysdeps/mach/hurd/getegid.c (__getegid): Likewise. - * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise. - * sysdeps/mach/hurd/getgid.c (__getgid): Likewise. - * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise. - * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise. - * sysdeps/mach/hurd/getpid.c (__getpid): Likewise. - * sysdeps/mach/hurd/getppid.c (__getppid): Likewise. - * sysdeps/mach/hurd/getuid.c (__getuid): Likewise. - * sysdeps/mach/hurd/sync.c (sync): Likewise. - * sysdeps/posix/clock.c (clock): Likewise. - * sysdeps/unix/bsd/setsid.c (__setsid): Likewise. - * sysdeps/unix/getpagesize.c (__getpagesize): Likewise. - * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise. - * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise. - * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise. - * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise. - (__get_nprocs_conf): Likewise. - (__get_phys_pages): Likewise. - (__get_avphys_pages): Likewise. - * time/clock.c (clock): Likewise. - * time/tzset.c (__tzname_max): Likewise. - -2013-06-07 Joseph Myers - - * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)] - (__bswap_32): Do not use "register". - * crypt/crypt.c (_ufc_doit_r): Likewise. - * debug/stpcpy_chk.c (__stpcpy_chk): Likewise. - * debug/wcscat_chk.c (__wcscat_chk): Likewise. - * gmon/gmon.c (__monstartup): Likewise. - * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise. - * hurd/hurdmalloc.c (more_memory): Likewise. - (malloc): Likewise. - (free): Likewise. - (realloc): Likewise. - (malloc_fork_prepare): Likewise. - (malloc_fork_parent): Likewise. - (malloc_fork_child): Likewise. - * include/rpc/auth_des.h (xdr_authdes_verf): Likewise. - (_svcauth_des): Likewise. - * inet/inet_lnaof.c (inet_lnaof): Likewise. - * inet/inet_net.c (inet_network): Likewise. - * inet/inet_netof.c (inet_netof): Likewise. - * inet/rcmd.c (__validuser2_sa): Likewise. - * io/fts.c (fts_open): Likewise. - (fts_load): Likewise. - (fts_close): Likewise. - (fts_read): Likewise. - (fts_children): Likewise. - (fts_build): Likewise. - (fts_stat): Likewise. - (fts_sort): Likewise. - (fts_alloc): Likewise. - (fts_lfree): Likewise. - * libio/fileops.c (_IO_new_file_xsputn): Likewise. - (_IO_file_xsgetn): Likewise. - (_IO_file_xsgetn_mmap): Likewise. - * libio/iofopncook.c (_IO_cookie_read): Likewise. - (_IO_cookie_write): Likewise. - * libio/oldfileops.c (_IO_old_file_xsputn): Likewise. - * libio/wfileops.c (_IO_wfile_xsputn): Likewise. - * mach/msgserver.c (__mach_msg_server_timeout): Likewise. - * malloc/obstack.c (_obstack_begin): Likewise. - (_obstack_begin_1): Likewise. - (_obstack_newchunk): Likewise. - (_obstack_allocated_p): Likewise. - (obstack_free): Likewise. - (_obstack_memory_used): Likewise. - * misc/getttyent.c (getttynam): Likewise. - (getttyent): Likewise. - (skip): Likewise. - (value): Likewise. - * misc/getusershell.c (initshells): Likewise. - * misc/syslog.c (__vsyslog_chk): Likewise. - * misc/ttyslot.c (ttyslot): Likewise. - * nis/nis_hash.c (__nis_hash): Likewise. - * posix/fnmatch_loop.c (FCT): Likewise. - * posix/getconf.c (print_all): Likewise. - (main): Likewise. - * posix/getopt.c (exchange): Likewise. - * posix/glob.c (globfree): Likewise. - (prefix_array): Likewise. - (__glob_pattern_type): Likewise. - * resolv/arpa/nameser.h (NS_GET16): Likewise. - (NS_GET32): Likewise. - (NS_PUT16): Likewise. - (NS_PUT32): Likewise. - * resolv/gethnamaddr.c (getanswer): Likewise. - (gethostbyname2): Likewise. - (gethostbyaddr): Likewise. - (_gethtent): Likewise. - (_gethtbyname2): Likewise. - (_gethtbyaddr): Likewise. - * resolv/ns_print.c (dst_s_get_int16): Likewise. - * resolv/nss_dns/dns-host.c (getanswer_r): Likewise. - * resolv/res_init.c (__res_vinit): Likewise. - (net_mask): Likewise. - * resolv/res_mkquery.c (outchar): Likewise. - (PRINT): Likewise. - * stdio-common/printf_fp.c (outchar): Likewise. - (PRINT): Likewise. - * stdio-common/printf_fphex.c (outchar): Likewise. - (PRINT): Likewise. - * stdio-common/printf_size.c (outchar): Likewise. - (PRINT): Likewise. - * stdio-common/test_rdwr.c (main): Likewise. - * stdio-common/tfformat.c (matches): Likewise. - * stdio-common/vfprintf.c (outchar): Likewise. - (printf_unknown): Likewise. - (buffered_vfprintf): Likewise. - * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise. - * stdio-common/xbug.c (AppendToBuffer): Likewise. - (ReadFile): Likewise. - * stdlib/qsort.c (SWAP): Likewise. - (_quicksort): Likewise. - * stdlib/setenv.c (__add_to_environ): Likewise. - * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise. - * stdlib/strtol_l.c (__strtol_l): Likewise. - * stdlib/tst-strtod.c (main): Likewise. - * stdlib/tst-strtol.c (main): Likewise. - * stdlib/tst-strtoll.c (main): Likewise. - * string/bits/string2.h (__strcmp_cc): Likewise. - (__strcmp_cg): Likewise. - (__strcspn_c1): Likewise. - (__strcspn_c2): Likewise. - (__strcspn_c3): Likewise. - (__strspn_c1): Likewise. - (__strspn_c2): Likewise. - (__strspn_c3): Likewise. - (__strsep_1c): Likewise. - (__strsep_2c): Likewise. - (__strsep_3c): Likewise. - * string/memccpy.c (__memccpy): Likewise. - * string/stpcpy.c (__stpcpy): Likewise. - * string/strcmp.c (strcmp): Likewise. - * string/strrchr.c (strrchr): Likewise. - * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask): - Likewise. - * sysdeps/mach/hurd/getcwd.c - (_hurd_canonicalize_directory_name_internal): Likewise. - * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise. - * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise. - * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise. - * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16): - Likewise, in both definitions. - * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple - definitions. - [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE == - 64] (__bswap_64): Likewise. - * time/test_time.c (main): Likewise. - * time/tzfile.c (__tzfile_read): Likewise. - (__tzfile_compute): Likewise. - * time/tzset.c (__tzset_parse_tz): Likewise. - (tzset_internal): Likewise. - (compute_change): Likewise. - * wcsmbs/wcscat.c (__wcscat): Likewise. - * wcsmbs/wcschr.c (wcschr): Likewise. - * wcsmbs/wcschrnul.c (__wcschrnul): Likewise. - * wcsmbs/wcscspn.c (wcscspn): Likewise. - * wcsmbs/wcspbrk.c (wcspbrk): Likewise. - * wcsmbs/wcsrchr.c (wcsrchr): Likewise. - * wcsmbs/wcsspn.c (wcsspn): Likewise. - * wcsmbs/wcsstr.c (wcsstr): Likewise. - * wcsmbs/wmemchr.c (wmemchr): Likewise. - * wcsmbs/wmemcmp.c (WMEMCMP): Likewise. - * wcsmbs/wmemset.c (wmemset): Likewise. - -2013-06-06 Joseph Myers - - * scripts/config.guess: Update to version 2013-05-16. - * scripts/config.sub: Update to version 2013-04-24. - * scripts/install-sh: Update to version 2011-11-20.07. - * scripts/mkinstalldirs: Update to version 2009-04-28.21. - * scripts/move-if-change: Update to version 2012-01-06 07:23. - -2013-06-06 Ondƙej BĂ­lka - - * debug/fgetws_u_chk.c: Fix leading whitespaces. - * elf/sln.c: Likewise. - * hurd/hurd/ioctl.h: Likewise. - * hurd/hurdmalloc.c: Likewise. - * hurd/xattr.c: Likewise. - * include/shlib-compat.h: Likewise. - * inet/ruserpass.c: Likewise. - * libio/iofgets_u.c: Likewise. - * libio/iofgetws_u.c: Likewise. - * locale/programs/ld-identification.c: Likewise. - * locale/programs/ld-time.c: Likewise. - * mach/msg-destroy.c: Likewise. - * nss/nss_files/files-netgrp.c: Likewise. - * resolv/res_data.c: Likewise. - * soft-fp/op-1.h: Likewise. - * soft-fp/op-2.h: Likewise. - * soft-fp/op-4.h: Likewise. - * soft-fp/op-common.h: Likewise. - * stdio-common/printf_fphex.c: Likewise. - * stdlib/strtod_l.c: Likewise. - * sunrpc/rpc/clnt.h: Likewise. - * sysdeps/generic/framestate.c: Likewise. - * sysdeps/i386/bsd-_setjmp.S: Likewise. - * sysdeps/i386/bsd-setjmp.S: Likewise. - * sysdeps/i386/__longjmp.S: Likewise. - * sysdeps/i386/setjmp.S: Likewise. - * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise. - * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise. - * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise. - * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise. - * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise. - * sysdeps/ieee754/support.c: Likewise. - * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise. - * sysdeps/powerpc/powerpc32/lshift.S: Likewise. - * sysdeps/sparc/sparc32/__longjmp.S: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise. - * sysdeps/unix/sysv/linux/lutimes.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise. - -2013-06-05 Ondƙej BĂ­lka - - * posix/transbug.c: Remove executable mode. - -2013-06-05 Joseph Myers - - * crypt/speeds.c: Remove trailing whitespace. - * dlfcn/default.c: Likewise. - * elf/ifuncdep2.c: Likewise. - * elf/ifuncmain1.c: Likewise. - * elf/ifuncmain1vis.c: Likewise. - * elf/testobj.h: Likewise. - * elf/tst-stackguard1.c: Likewise. - * gmon/sys/gmon.h: Likewise. - * hurd/hurdmsg.c: Likewise. - * hurd/new-fd.c: Likewise. - * hurd/ports-get.c: Likewise. - * iconvdata/ibm1008_420.c: Likewise. - * inet/tst-getni1.c: Likewise. - * inet/tst-getni2.c: Likewise. - * libio/ioungetc.c: Likewise. - * libio/wfiledoalloc.c: Likewise. - * manual/libm-err-tab.pl: Likewise. - * math/w_dremf.c: Likewise. - * misc/ftruncate.c: Likewise. - * posix/bug-glob2.c: Likewise. - * posix/tst-pcre.c: Likewise. - * posix/wait4.c: Likewise. - * resolv/README: Likewise. - * resolv/res_debug.h: Likewise. - * resolv/tst-inet_ntop.c: Likewise. - * setjmp/bug269-setjmp.c: Likewise. - * soft-fp/extended.h: Likewise. - * soft-fp/op-1.h: Likewise. - * soft-fp/op-2.h: Likewise. - * soft-fp/op-4.h: Likewise. - * soft-fp/op-8.h: Likewise. - * soft-fp/testit.c: Likewise. - * stdio-common/bug16.c: Likewise. - * stdlib/random.c: Likewise. - * sunrpc/rpcsvc/rquota.x: Likewise. - * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise. - * sysdeps/ieee754/flt-32/k_cosf.c: Likewise. - * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise. - * sysdeps/ieee754/flt-32/k_sinf.c: Likewise. - * sysdeps/ieee754/flt-32/k_tanf.c: Likewise. - * sysdeps/ieee754/flt-32/s_atanf.c: Likewise. - * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise. - * sysdeps/ieee754/flt-32/s_erff.c: Likewise. - * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise. - * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise. - * sysdeps/ieee754/flt-32/s_logbf.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise. - * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise. - * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise. - * sysdeps/ieee754/s_lib_version.c: Likewise. - * sysdeps/mach/hurd/check_fds.c: Likewise. - * sysdeps/mach/hurd/getsockname.c: Likewise. - * sysdeps/mach/hurd/net/if_ppp.h: Likewise. - * sysdeps/mach/hurd/recvfrom.c: Likewise. - * sysdeps/powerpc/bits/link.h: Likewise. - * sysdeps/powerpc/dl-procinfo.c: Likewise. - * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise. - * sysdeps/powerpc/fpu/fenv_const.c: Likewise. - * sysdeps/powerpc/fpu/fesetenv.c: Likewise. - * sysdeps/powerpc/fpu/feupdateenv.c: Likewise. - * sysdeps/powerpc/fpu/s_rintf.c: Likewise. - * sysdeps/powerpc/fpu/t_sqrt.c: Likewise. - * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise. - * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise. - * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise. - * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise. - * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise. - * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise. - * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise. - * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise. - * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise. - * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise. - * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise. - * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise. - * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise. - * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise. - * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise. - * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise. - * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise. - * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise. - * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise. - * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise. - * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise. - * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise. - * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise. - * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise. - * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise. - * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise. - * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise. - * sysdeps/powerpc/powerpc64/strlen.S: Likewise. - * sysdeps/powerpc/powerpc64/strncmp.S: Likewise. - * sysdeps/powerpc/sysdep.h: Likewise. - * sysdeps/s390/s390-64/s390x-mcount.S: Likewise. - * sysdeps/s390/s390-64/sub_n.S: Likewise. - * sysdeps/sh/dl-trampoline.S: Likewise. - * sysdeps/sh/memset.S: Likewise. - * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise. - * sysdeps/sh/strlen.S: Likewise. - * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise. - * sysdeps/sparc/sparc32/dotmul.S: Likewise. - * sysdeps/sparc/sparc32/memcpy.S: Likewise. - * sysdeps/sparc/sparc32/rem.S: Likewise. - * sysdeps/sparc/sparc32/sdiv.S: Likewise. - * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise. - * sysdeps/sparc/sparc32/strchr.S: Likewise. - * sysdeps/sparc/sparc32/udiv.S: Likewise. - * sysdeps/sparc/sparc32/urem.S: Likewise. - * sysdeps/sparc/sparc64/add_n.S: Likewise. - * sysdeps/sparc/sparc64/memcpy.S: Likewise. - * sysdeps/sparc/sparc64/rawmemchr.S: Likewise. - * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise. - * sysdeps/sparc/sparc64/stpncpy.S: Likewise. - * sysdeps/sparc/sparc64/strncmp.S: Likewise. - * sysdeps/sparc/sparc64/strncpy.S: Likewise. - * sysdeps/unix/bsd/times.c: Likewise. - * sysdeps/unix/sysv/linux/a.out.h: Likewise. - * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise. - * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise. - * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise. - * sysdeps/unix/sysv/linux/sh/brk.c: Likewise. - * sysdeps/unix/sysv/linux/sh/clone.S: Likewise. - * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise. - * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise. - * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise. - * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise. - * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise. - * sysdeps/unix/sysv/linux/sys/personality.h: Likewise. - * sysdeps/x86_64/fpu/s_ceill.S: Likewise. - * sysdeps/x86_64/fpu/s_llrintl.S: Likewise. - * sysdeps/x86_64/strcspn.S: Likewise. - -2013-06-05 Ryan S. Arnold - - * locale/C-translit.h: Revert #include because this is a - generated file. Regenerate properly from gen-translit.pl. - * locale/gen-translit.pl: Add #include . This generates - locale/C-translit.h. - -2013-06-05 Andreas Schwab - - [BZ #15100] - * time/strptime_l.c (__strptime_internal): Count Sunday in a %W - week as 6 instead of -1. - * time/tst-strptime.c (day_tests): Add test case. - -2013-06-05 Siddhesh Poyarekar - - * sysdeps/generic/math_private.h - (libc_feholdexcept_setround_53bit): Replace with - libc_feholdsetround_53bit. - (libc_feupdateenv_53bit): Replace with - libc_feresetround_53bit. - (SET_RESTORE_ROUND_53BIT): Adjust. - -2013-06-03 Siddhesh Poyarekar - - * string/test-strchrnul.c: Add copyright header. - - * posix/tst-getaddrinfo4.c: Increase test timeout. - -2013-06-03 Carlos O'Donell - - [BZ #15536] - * math/libm-test.inc (MAX_EXP): Remove - (MIN_EXP): Define. - (ulp): Use MIN_EXP - MANT_DIG. - (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp. - -2013-05-31 Carlos O'Donell - - * po/be.po: Revert last change. - * po/zh_CN.po: Likewise. - * po/header.pot: Likewise. - -2013-05-31 Joseph Myers - - * Makefile ($(common-objpfx)linkobj/libc.so): Define - link-libc-deps to empty as target-specific variable. - * Makerules (link-libc-args): New variable. - (libc-for-link): Likewise. - (link-libc-deps): Likewise. - (lib%.so): Depend on $(link-libc-deps). Link with - $(link-libc-args). - (build-module): Link with $(link-libc-args). - (build-module-asneeded): Likewise. - (build-module-helper-objlist): Filter out $(link-libc-deps) from - list of objects. - ($(common-objpfx)libc.so): Define link-libc-deps to empty as - target-specific variable. - ($(extra-modules-build:%=$(objpfx)%.so)): Depend on - $(link-libc-deps) instead of libc.so and libc_nonshared.a. - * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on - libc. - * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on - libc and ld.so. - ($(objpfx)libpcprofile.so): Likewise. - * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and - libc_nonshared.a. - ($(objpfx)libdl.so): Remove dependencies on libc and ld.so. - * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise. - * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on - $(link-libc-deps). - ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so. - * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise. - * login/Makefile ($(objpfx)libutil.so): Likewise. - * malloc/Makefile ($(objpfx)libmemusage.so): Likewise. - * math/Makefile ($(objpfx)libm.so): Likewise. - * nis/Makefile ($(services:%=$(objpfx)libnss_%.so) - $(objpfx)libnsl.so): Define libc-for-link as target-specific - variable instead of depending directly on libc. - * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise. - ($(objpfx)/libnss_test1.so): Change dependencies on libc to - $(link-libc-deps). - * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on - libc. - [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable. - ($(objpfx)libnss_dns.so): Remove dependencies on libc. - ($(objpfx)libanl.so): Likewise. - * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and - ld.so. - * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on - $(link-libc-deps). - * sysdeps/i386/fpu/Makefile: Remove file. - * sysdeps/powerpc/fpu/Makefile [$(subdir) = math] - ($(objpfx)libm.so): Remove dependency on ld.so. - -2013-05-30 Patsy Franklin - - [BZ # 15553] - * nis/yp_xdr.c (XDRMAXNAME): Define. - (XDRMAXRECORD): Define. - (xdr_domainname): Use XDRMAXNAME. - (xdr_mapname): Likewise. - (xdr_peername): Likewise. - (xdr_keydat): Use XDRMAXRECORD. - (xdr_valdat): Likewise. - -2013-05-30 Jeff Law - - [BZ #14256] - * manual/errno.texi (ESTALE): Update to account for more than - just NFS file systems. - * sysdeps/gnu/errlist.c: Regenerated. - -2013-05-29 Siddhesh Poyarekar - - [BZ #15465] - * elf/Makefile (tests): Add tst-null-argv. - (modules-names): Add tst-null-argv-lib. - ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so. - (tst-null-argv-ENV): Set environment for tst-null-argv. - * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro. - (RTLD_PROGNAME): New macro. - * elf/tst-null-argv.c: New test case. - * elf/tst-null-argv-lib.c: Library for test case. - * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME. - * elf/dl-deps.c (_dl_map_object_deps): Likewise. - * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME. - * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME. - * elf/dl-init.c (call_init): Likewise. - (_dl_init): Likewise. - * elf/dl-load.c (print_search_path): Likewise. - (_dl_map_object): Likewise. - * elf/dl-lookup.c (do_lookup_x): Likewise. - (add_dependency): Likewise. - (_dl_lookup_symbol_x): Likewise. - (_dl_debug_bindings): Likewise. - * elf/dl-open.c (_dl_show_scope): Likewise. - * elf/dl-reloc.c (_dl_relocate_object): Likewise. - * elf/dl-version.c (match_symbol): Likewise. - (_dl_check_map_versions): Likewise. - * elf/rtld.c (dl_main): Likewise. - (print_unresolved): Use RTLD_PROGNAME. - (print_missing_version): Likewise. - * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. - (elf_machine_rela): Likewise. - * sysdeps/powerpc/powerpc32/dl-machine.c - (__process_machine_rela): Likewise. - * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): - Likewise. - * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): - Likewise. - * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): - Likewise. - * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise. - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): - Likewise. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): - Likewise. - * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise. - -2013-05-28 Carlos O'Donell - - * po/be.po: Add descriptive title. - * po/zh_CN.po: Likewise. - * po/header.pot: Likewise. - -2013-05-28 Mike Frysinger - - * locale/programs/locarchive.c (create_archive): Inlucde fname in - error message. - (enlarge_archive): Likewise. - -2013-05-28 Ben North - - * manual/arith.texi (frexp): It is the magnitude of the return - value which lies in [0.5, 1), not the return value itself. - -2013-05-28 Adhemerval Zanella - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - -2013-05-26 Thomas Schwinge - - * stdio-common/bug26.c (main): Correct fscanf template. - - * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't - declare _dl_skip_args. - - * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init): - Don't declare. - - * manual/platform.texi: Add missing @end deftypefun. - -2013-05-24 Joseph Myers - - [BZ #15529] - * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high - bit of mantissa of 2^16382. - * math/libm-test.inc (hypot_test_data): Add more tests. - - * math/libm-test.inc: Add drem and pow10 to list of tested - functions. - (pow10_test): New function. - (drem_test): Likewise. - (drem_test_tonearest): Likewise. - (drem_test_towardzero): Likewise. - (drem_test_downward): Likewise. - (drem_test_upward): Likewise. - (main): Call the new functions. - - * math/libm-test.inc (finite_test_data): Remove. - (finite_test): Run tests from isfinite_test_data. - (gamma_test_data): Remove. - (gamma_test): Run tests from lgamma_test_data. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2013-05-24 Adhemerval Zanella - - * manual/platform.texi: Add PowerPC PPR function set documentation. - * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function - implementation. - -2013-05-24 Carlos O'Donell - - * math/libm-test.inc (MAX_EXP): Define. - (ULPDIFF): Define. - (ulp): New function. - (check_float_internal): Use ULPDIFF. - (cpow_test): Disable failing test. - (check_ulp): Test ulp() implementation. - (main): Call check_ulp before starting tests. - -2013-05-24 Joseph Myers - - * math/gen-libm-test.pl (generate_testfile): Do not handle - START_DATA and END_DATA. - * math/libm-test.inc (acos_test_data): Do not use START_DATA and - END_DATA. - (acos_tonearest_test_data): Likewise. - (acos_towardzero_test_data): Likewise. - (acos_downward_test_data): Likewise. - (acos_upward_test_data): Likewise. - (acosh_test_data): Likewise. - (asin_test_data): Likewise. - (asin_tonearest_test_data): Likewise. - (asin_towardzero_test_data): Likewise. - (asin_downward_test_data): Likewise. - (asin_upward_test_data): Likewise. - (asinh_test_data): Likewise. - (atan_test_data): Likewise. - (atanh_test_data): Likewise. - (atan2_test_data): Likewise. - (cabs_test_data): Likewise. - (cacos_test_data): Likewise. - (cacosh_test_data): Likewise. - (carg_test_data): Likewise. - (casin_test_data): Likewise. - (casinh_test_data): Likewise. - (catan_test_data): Likewise. - (catanh_test_data): Likewise. - (cbrt_test_data): Likewise. - (ccos_test_data): Likewise. - (ccosh_test_data): Likewise. - (ceil_test_data): Likewise. - (cexp_test_data): Likewise. - (cimag_test_data): Likewise. - (clog_test_data): Likewise. - (clog10_test_data): Likewise. - (conj_test_data): Likewise. - (copysign_test_data): Likewise. - (cos_test_data): Likewise. - (cos_tonearest_test_data): Likewise. - (cos_towardzero_test_data): Likewise. - (cos_downward_test_data): Likewise. - (cos_upward_test_data): Likewise. - (cosh_test_data): Likewise. - (cosh_tonearest_test_data): Likewise. - (cosh_towardzero_test_data): Likewise. - (cosh_downward_test_data): Likewise. - (cosh_upward_test_data): Likewise. - (cpow_test_data): Likewise. - (cproj_test_data): Likewise. - (creal_test_data): Likewise. - (csin_test_data): Likewise. - (csinh_test_data): Likewise. - (csqrt_test_data): Likewise. - (ctan_test_data): Likewise. - (ctan_tonearest_test_data): Likewise. - (ctan_towardzero_test_data): Likewise. - (ctan_downward_test_data): Likewise. - (ctan_upward_test_data): Likewise. - (ctanh_test_data): Likewise. - (ctanh_tonearest_test_data): Likewise. - (ctanh_towardzero_test_data): Likewise. - (ctanh_downward_test_data): Likewise. - (ctanh_upward_test_data): Likewise. - (erf_test_data): Likewise. - (erfc_test_data): Likewise. - (exp_test_data): Likewise. - (exp_tonearest_test_data): Likewise. - (exp_towardzero_test_data): Likewise. - (exp_downward_test_data): Likewise. - (exp_upward_test_data): Likewise. - (exp10_test_data): Likewise. - (exp2_test_data): Likewise. - (expm1_test_data): Likewise. - (fabs_test_data): Likewise. - (fdim_test_data): Likewise. - (finite_test_data): Likewise. - (floor_test_data): Likewise. - (fma_test_data): Likewise. - (fma_towardzero_test_data): Likewise. - (fma_downward_test_data): Likewise. - (fma_upward_test_data): Likewise. - (fmax_test_data): Likewise. - (fmin_test_data): Likewise. - (fmod_test_data): Likewise. - (fpclassify_test_data): Likewise. - (frexp_test_data): Likewise. - (gamma_test_data): Likewise. - (hypot_test_data): Likewise. - (ilogb_test_data): Likewise. - (isfinite_test_data): Likewise. - (isgreater_test_data): Likewise. - (isgreaterequal_test_data): Likewise. - (isinf_test_data): Likewise. - (isless_test_data): Likewise. - (islessequal_test_data): Likewise. - (islessgreater_test_data): Likewise. - (isnan_test_data): Likewise. - (isnormal_test_data): Likewise. - (issignaling_test_data): Likewise. - (isunordered_test_data): Likewise. - (j0_test_data): Likewise. - (j1_test_data): Likewise. - (jn_test_data): Likewise. - (ldexp_test_data): Likewise. - (lgamma_test_data): Likewise. - (lrint_test_data): Likewise. - (lrint_tonearest_test_data): Likewise. - (lrint_towardzero_test_data): Likewise. - (lrint_downward_test_data): Likewise. - (lrint_upward_test_data): Likewise. - (llrint_test_data): Likewise. - (llrint_tonearest_test_data): Likewise. - (llrint_towardzero_test_data): Likewise. - (llrint_downward_test_data): Likewise. - (llrint_upward_test_data): Likewise. - (log_test_data): Likewise. - (log10_test_data): Likewise. - (log1p_test_data): Likewise. - (log2_test_data): Likewise. - (logb_test_data): Likewise. - (logb_downward_test_data): Likewise. - (lround_test_data): Likewise. - (llround_test_data): Likewise. - (modf_test_data): Likewise. - (nearbyint_test_data): Likewise. - (nextafter_test_data): Likewise. - (nexttoward_test_data): Likewise. - (pow_test_data): Likewise. - (pow_tonearest_test_data): Likewise. - (pow_towardzero_test_data): Likewise. - (pow_downward_test_data): Likewise. - (pow_upward_test_data): Likewise. - (remainder_test_data): Likewise. - (remainder_tonearest_test_data): Likewise. - (remainder_towardzero_test_data): Likewise. - (remainder_downward_test_data): Likewise. - (remainder_upward_test_data): Likewise. - (remquo_test_data): Likewise. - (rint_test_data): Likewise. - (rint_tonearest_test_data): Likewise. - (rint_towardzero_test_data): Likewise. - (rint_downward_test_data): Likewise. - (rint_upward_test_data): Likewise. - (round_test_data): Likewise. - (scalb_test_data): Likewise. - (scalbn_test_data): Likewise. - (scalbln_test_data): Likewise. - (signbit_test_data): Likewise. - (sin_test_data): Likewise. - (sin_tonearest_test_data): Likewise. - (sin_towardzero_test_data): Likewise. - (sin_downward_test_data): Likewise. - (sin_upward_test_data): Likewise. - (sincos_test_data): Likewise. - (sinh_test_data): Likewise. - (sinh_tonearest_test_data): Likewise. - (sinh_towardzero_test_data): Likewise. - (sinh_downward_test_data): Likewise. - (sinh_upward_test_data): Likewise. - (sqrt_test_data): Likewise. - (tan_test_data): Likewise. - (tan_tonearest_test_data): Likewise. - (tan_towardzero_test_data): Likewise. - (tan_downward_test_data): Likewise. - (tan_upward_test_data): Likewise. - (tanh_test_data): Likewise. - (tgamma_test_data): Likewise. - (trunc_test_data): Likewise. - (y0_test_data): Likewise. - (y1_test_data): Likewise. - (yn_test_data): Likewise. - (significand_test_data): Likewise. - - * math/gen-libm-test.pl (@functions): Remove variable. - (generate_testfile): Don't handle START and END lines. - * math/libm-test.inc (START): New macro. - (END): Likewise. - (END_COMPLEX): Likewise. - (acos_test): Use END macro without arguments. - (acos_test_tonearest): Likewise. - (acos_test_towardzero): Likewise. - (acos_test_downward): Likewise. - (acos_test_upward): Likewise. - (acosh_test): Likewise. - (asin_test): Likewise. - (asin_test_tonearest): Likewise. - (asin_test_towardzero): Likewise. - (asin_test_downward): Likewise. - (asin_test_upward): Likewise. - (asinh_test): Likewise. - (atan_test): Likewise. - (atanh_test): Likewise. - (atan2_test): Likewise. - (cabs_test): Likewise. - (cacos_test): Use END_COMPLEX macro without arguments. - (cacosh_test): Likewise. - (carg_test): Use END macro without arguments. - (casin_test): Use END_COMPLEX macro without arguments. - (casinh_test): Likewise. - (catan_test): Likewise. - (catanh_test): Likewise. - (cbrt_test): Use END macro without arguments. - (ccos_test): Use END_COMPLEX macro without arguments. - (ccosh_test): Likewise. - (ceil_test): Use END macro without arguments. - (cexp_test): Use END_COMPLEX macro without arguments. - (cimag_test): Use END macro without arguments. - (clog_test): Use END_COMPLEX macro without arguments. - (clog10_test): Likewise. - (conj_test): Likewise. - (copysign_test): Use END macro without arguments. - (cos_test): Likewise. - (cos_test_tonearest): Likewise. - (cos_test_towardzero): Likewise. - (cos_test_downward): Likewise. - (cos_test_upward): Likewise. - (cosh_test): Likewise. - (cosh_test_tonearest): Likewise. - (cosh_test_towardzero): Likewise. - (cosh_test_downward): Likewise. - (cosh_test_upward): Likewise. - (cpow_test): Use END_COMPLEX macro without arguments. - (cproj_test): Likewise. - (creal_test): Use END macro without arguments. - (csin_test): Use END_COMPLEX macro without arguments. - (csinh_test): Likewise. - (csqrt_test): Likewise. - (ctan_test): Likewise. - (ctan_test_tonearest): Likewise. - (ctan_test_towardzero): Likewise. - (ctan_test_downward): Likewise. - (ctan_test_upward): Likewise. - (ctanh_test): Likewise. - (ctanh_test_tonearest): Likewise. - (ctanh_test_towardzero): Likewise. - (ctanh_test_downward): Likewise. - (ctanh_test_upward): Likewise. - (erf_test): Use END macro without arguments. - (erfc_test): Likewise. - (exp_test): Likewise. - (exp_test_tonearest): Likewise. - (exp_test_towardzero): Likewise. - (exp_test_downward): Likewise. - (exp_test_upward): Likewise. - (exp10_test): Likewise. - (exp2_test): Likewise. - (expm1_test): Likewise. - (fabs_test): Likewise. - (fdim_test): Likewise. - (finite_test): Likewise. - (floor_test): Likewise. - (fma_test): Likewise. - (fma_test_towardzero): Likewise. - (fma_test_downward): Likewise. - (fma_test_upward): Likewise. - (fmax_test): Likewise. - (fmin_test): Likewise. - (fmod_test): Likewise. - (fpclassify_test): Likewise. - (frexp_test): Likewise. - (gamma_test): Likewise. - (hypot_test): Likewise. - (ilogb_test): Likewise. - (isfinite_test): Likewise. - (isgreater_test): Likewise. - (isgreaterequal_test): Likewise. - (isinf_test): Likewise. - (isless_test): Likewise. - (islessequal_test): Likewise. - (islessgreater_test): Likewise. - (isnan_test): Likewise. - (isnormal_test): Likewise. - (issignaling_test): Likewise. - (isunordered_test): Likewise. - (j0_test): Likewise. - (j1_test): Likewise. - (jn_test): Likewise. - (ldexp_test): Likewise. - (lgamma_test): Likewise. - (lrint_test): Likewise. - (lrint_test_tonearest): Likewise. - (lrint_test_towardzero): Likewise. - (lrint_test_downward): Likewise. - (lrint_test_upward): Likewise. - (llrint_test): Likewise. - (llrint_test_tonearest): Likewise. - (llrint_test_towardzero): Likewise. - (llrint_test_downward): Likewise. - (llrint_test_upward): Likewise. - (log_test): Likewise. - (log10_test): Likewise. - (log1p_test): Likewise. - (log2_test): Likewise. - (logb_test): Likewise. - (logb_test_downward): Likewise. - (lround_test): Likewise. - (llround_test): Likewise. - (modf_test): Likewise. - (nearbyint_test): Likewise. - (nextafter_test): Likewise. - (nexttoward_test): Likewise. - (pow_test): Likewise. - (pow_test_tonearest): Likewise. - (pow_test_towardzero): Likewise. - (pow_test_downward): Likewise. - (pow_test_upward): Likewise. - (remainder_test): Likewise. - (remainder_test_tonearest): Likewise. - (remainder_test_towardzero): Likewise. - (remainder_test_downward): Likewise. - (remainder_test_upward): Likewise. - (remquo_test): Likewise. - (rint_test): Likewise. - (rint_test_tonearest): Likewise. - (rint_test_towardzero): Likewise. - (rint_test_downward): Likewise. - (rint_test_upward): Likewise. - (round_test): Likewise. - (scalb_test): Likewise. - (scalbn_test): Likewise. - (scalbln_test): Likewise. - (signbit_test): Likewise. - (sin_test): Likewise. - (sin_test_tonearest): Likewise. - (sin_test_towardzero): Likewise. - (sin_test_downward): Likewise. - (sin_test_upward): Likewise. - (sincos_test): Likewise. - (sinh_test): Likewise. - (sinh_test_tonearest): Likewise. - (sinh_test_towardzero): Likewise. - (sinh_test_downward): Likewise. - (sinh_test_upward): Likewise. - (sqrt_test): Likewise. - (tan_test): Likewise. - (tan_test_tonearest): Likewise. - (tan_test_towardzero): Likewise. - (tan_test_downward): Likewise. - (tan_test_upward): Likewise. - (tanh_test): Likewise. - (tgamma_test): Likewise. - (trunc_test): Likewise. - (y0_test): Likewise. - (y1_test): Likewise. - (yn_test): Likewise. - (significand_test): Likewise. - -2013-05-24 Ondƙej BĂ­lka - - [BZ #15381] - * libio/genops.c (_IO_no_init): Initialize wide struct info. - -2013-05-23 Edjunior Machado - - [BZ #14894] - * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield, - __ppc_mdoio and __ppc_mdoom. - * manual/platform.texi: Document new functions __ppc_yield, - __ppc_mdoio and __ppc_mdoom. - -2013-05-22 Carlos O'Donell - - * elf/ldconfig.c (is_hwcap_platform): Make comments full setences. - (main): Mention "tls" pseudo-hwcap is legacy. - * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment. - -2013-05-22 Joseph Myers - - * math/gen-libm-test.pl (parse_args): Output only string of - arguments as text for test name, not full call or descriptions of - tests for extra outputs. - (generate_testfile): Do not pass function name to parse_args. - Generate this_func variable from START. - * math/libm-test.inc (struct test_f_f_data): Rename test_name - field to arg_str. - (struct test_ff_f_data): Likewise. - (test_ff_f_data_nexttoward): Likewise. - (struct test_fi_f_data): Likewise. - (struct test_fl_f_data): Likewise. - (struct test_if_f_data): Likewise. - (struct test_fff_f_data): Likewise. - (struct test_c_f_data): Likewise. - (struct test_f_f1_data): Likewise. Remove field extra_name. - (struct test_fF_f1_data): Likewise. - (struct test_ffI_f1_data): Likewise. - (struct test_c_c_data): Rename test_name field to arg_str. - (struct test_cc_c_data): Likewise. - (struct test_f_i_data): Likewise. - (struct test_ff_i_data): Likewise. - (struct test_f_l_data): Likewise. - (struct test_f_L_data): Likewise. - (struct test_fFF_11_data): Likewise. Remove fields extra1_name - and extra2_name. - (COMMON_TEST_SETUP): New macro. - (EXTRA_OUTPUT_TEST_SETUP): Likewise. - (COMMON_TEST_CLEANUP): Likewise. - (EXTRA_OUTPUT_TEST_CLEANUP): Likewise. - (RUN_TEST_f_f): Take argument string. Call new setup and cleanup - macros. - (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f. - (RUN_TEST_2_f): Take argument string. Call new setup and cleanup - macros. - (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f. - (RUN_TEST_fff_f): Take argument string. Call new setup and - cleanup macros. - (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f. - (RUN_TEST_c_f): Take argument string. Call new setup and cleanup - macros. - (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f. - (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup - macros. - (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1. - (RUN_TEST_fF_f1): Take argument string. Call new setup and - cleanup macros. - (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1. - (RUN_TEST_fI_f1): Take argument string. Call new setup and - cleanup macros. - (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1. - (RUN_TEST_ffI_f1): Take argument string. Call new setup and - cleanup macros. - (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1. - (RUN_TEST_c_c): Take argument string. Call new setup and cleanup - macros. - (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c. - (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup - macros. - (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c. - (RUN_TEST_f_i): Take argument string. Call new setup and cleanup - macros. - (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i. - (RUN_TEST_f_i_tg): Take argument string. Call new setup and - cleanup macros. - (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg. - (RUN_TEST_ff_i_tg): Take argument string. Call new setup and - cleanup macros. - (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg. - (RUN_TEST_f_b): Take argument string. Call new setup and cleanup - macros. - (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b. - (RUN_TEST_f_b_tg): Take argument string. Call new setup and - cleanup macros. - (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg. - (RUN_TEST_f_l): Take argument string. Call new setup and cleanup - macros. - (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l. - (RUN_TEST_f_L): Take argument string. Call new setup and cleanup - macros. - (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L. - (RUN_TEST_fFF_11): Take argument string. Call new setup and - cleanup macros. - (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11. - -2013-05-22 Edjunior Barbosa Machado - - * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb - to _sifields.sigfault. - (si_addr_lsb): Define new macro. - (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values. - * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise. - * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise. - -2013-05-03 Carlos O'Donell - - [BZ #15441] - * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg - returns -1. - (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is - null return -1. - * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort - loading the domain. - -2013-05-22 Joseph Myers - - * math/gen-libm-test.pl (parse_args): Do not include expected - result in test name. - * sysdeps/i386/fpu/libm-test-ulps: Update test names. - * sysdeps/powerpc/fpu/libm-test-ulps: Likewise. - * sysdeps/s390/fpu/libm-test-ulps: Likewise. - * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise. - * sysdeps/sparc/fpu/libm-test-ulps: Likewise. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2013-05-22 Siddhesh Poyarekar - - * benchtests/Makefile: Sort function entries. - - * benchtests/Makefile (bench): Add asin, acos, sinh, cosh, - tanh, asinh, acosh, atanh. - * benchtests/acos-inputs: New file. - * benchtests/acosh-inputs: New file. - * benchtests/asin-inputs: New file. - * benchtests/asinh-inputs: New file. - * benchtests/atanh-inputs: New file. - * benchtests/cosh-inputs: New file. - * benchtests/log-inputs: New file. - * benchtests/sinh-inputs: New file. - * benchtests/tanh-inputs: New file. - -2013-05-21 Dmitry V. Levin - - [BZ #15339] - * posix/tst-getaddrinfo4.c: New test. - * posix/Makefile (tests): Add it. - -2013-05-21 Siddhesh Poyarekar - - [BZ #15339] - * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only - when no services were used. - * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno. - Return EAI_SYSTEM if h_errno is NETDB_INTERNAL. - -2013-05-21 Andreas Schwab - - [BZ #15014] - * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)) - [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was - successful. - * nss/digits_dots.c (__nss_hostname_digits_dots): Remove - redundant variable declarations and reallocation of buffer when - parsing as IPv6 address. Always set NSS status when called from - reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when - buffer too small. Correct computation of needed size. - * nss/Makefile (tests): Add test-digits-dots. - * nss/test-digits-dots.c: New test. - -2013-05-21 Siddhesh Poyarekar - - * benchtests/Makefile: Remove instructions for adding - benchmark tests. - * benchtests/README: New file to explain how to execute and - enhance the benchmark tests. - -2013-05-21 Andreas Schwab - - [BZ #15493] - * setjmp/Makefile (tests): Add tst-sigsetjmp. - * setjmp/tst-sigsetjmp.c: New test. - -2013-05-20 Ondƙej BĂ­lka - - * sysdeps/x86_64/memset.S (memset): New implementation. - (__bzero): Likewise. - (__memset_tail): New function. - -2013-05-20 Ondƙej BĂ­lka - - * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file. - * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add - __memcpy_sse2_unaligned ifunc selection. - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): - Add memcpy-sse2-unaligned.S. - * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list): - Add: __memcpy_sse2_unaligned. - -2013-05-19 Joseph Myers - - [BZ #15490] - * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use - math_force_eval before restoring floating-point envrionment. - * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise. - * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): - Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include - . - (__nearbyintl): Use math_force_eval before restoring - floating-point environment. - * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise. - - * math/gen-libm-test.pl (special_functions): Remove. - (parse_args): Don't handle TEST_extra. Handle functions with no - return value. - * math/libm-test.inc (struct test_sincos_data): Replace with - struct test_fFF_11_data. - (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11. - (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11. - (sincos_test_data): Change element type to struct - test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra. - (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of - RUN_TEST_LOOP_sincos. - * math/README.libm-test: Don't mention special handling of - individual functions. - * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests. - * sysdeps/powerpc/fpu/libm-test-ulps: Likewise. - * sysdeps/s390/fpu/libm-test-ulps: Likewise. - * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise. - * sysdeps/sparc/fpu/libm-test-ulps: Likewise. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - * math/gen-libm-test.pl (get_variable): Remove function. - (parse_args): Don't show pointer parameters to call in test - names. Use "extra output N" in test names for extra outputs - rather than naming variables. - -2013-05-18 Joseph Myers - - [BZ #15488] - * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) && - __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro. - * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long - double tests. - * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not - disable. - (do_test) [NO_LONG_DOUBLE]: Do not disable call to - check_long_double. - - * math/gen-libm-test.pl (@tests): Remove variable. - ($count): Likewise. - (new_test): Remove function. - (show_exceptions): New function. - (special_functions): Use show_exceptions instead of new_test. - (parse_args): Likewise. - (generate_testfile): Pass only function name in generated call to - print_max_error or print_complex_max_error. - (get_ulps): Do not handle complex tests specially. - (output_test): Rename to ... - (get_all_ulps_for_test): ... this. Return a string rather than - printing to a file. Require ulps to be present. - (output_ulps): Generate arrays rather than #defines. - * math/libm-test.inc: Move down #include of "libm-test-ulps.h". - (struct ulp_data): New type. - (BUILD_COMPLEX_ULP): Remove macro. - (compare_ulp_data): New function. - (find_ulps): Likewise. - (find_test_ulps): Likewise. - (find_function_ulps): Likewise. - (find_complex_function_ulps): Likewise. - (print_max_error): Determine allowed ulps using - find_function_ulps. - (print_complex_max_error): Determine allowed ulps using - find_complex_function_ulps. - (check_float_internal): Determine max ulps using find_test_ulps. - (check_float): Do not take max_ulp parameter. Update call to - check_float_internal. - (check_complex): Likewise. - (check_int): Do not take max_ulp parameter. - (check_long): Likewise. - (check_bool): Likewise. - (check_longlong): Likewise. - (struct test_f_f_data): Remove max_ulp field. - (struct test_ff_f_data): Likewise. - (struct test_ff_f_data_nexttoward): Likewise. - (struct test_fi_f_data): Likewise. - (struct test_fl_f_data): Likewise. - (struct test_if_f_data): Likewise. - (struct test_fff_f_data): Likewise. - (struct test_c_f_data): Likewise. - (struct test_f_f1_data): Remove max_ulp and extra_ulp fields. - (struct test_fF_f1_data): Likewise. - (struct test_ffI_f1_data): Likewise. - (struct test_c_c_data): Remove max_ulp field. - (struct test_cc_c_data): Likewise. - (struct test_f_i_data): Likewise. - (struct test_ff_i_data): Likewise. - (struct test_f_l_data): Likewise. - (struct test_f_L_data): Likewise. - (struct test_sincos_data): Likewise. - (RUN_TEST_f_f): Do not handle ulps. - (RUN_TEST_LOOP_f_f): Likewise. - (RUN_TEST_2_f): Likewise. - (RUN_TEST_LOOP_2_f): Likewise. - (RUN_TEST_fff_f): Likewise. - (RUN_TEST_LOOP_fff_f): Likewise. - (RUN_TEST_c_f): Likewise. - (RUN_TEST_LOOP_c_f): Likewise. - (RUN_TEST_f_f1): Likewise. - (RUN_TEST_LOOP_f_f1): Likewise. - (RUN_TEST_fF_f1): Likewise. - (RUN_TEST_LOOP_fF_f1): Likewise. - (RUN_TEST_fI_f1): Likewise. - (RUN_TEST_LOOP_fI_f1): Likewise. - (RUN_TEST_ffI_f1): Likewise. - (RUN_TEST_LOOP_ffI_f1): Likewise. - (RUN_TEST_c_c): Likewise. - (RUN_TEST_LOOP_c_c): Likewise. - (RUN_TEST_cc_c): Likewise. - (RUN_TEST_LOOP_cc_c): Likewise. - (RUN_TEST_f_i): Likewise. - (RUN_TEST_LOOP_f_i): Likewise. - (RUN_TEST_f_i_tg): Likewise. - (RUN_TEST_LOOP_f_i_tg): Likewise. - (RUN_TEST_ff_i_tg): Likewise. - (RUN_TEST_LOOP_ff_i_tg): Likewise. - (RUN_TEST_f_b): Likewise. - (RUN_TEST_LOOP_f_b): Likewise. - (RUN_TEST_f_b_tg): Likewise. - (RUN_TEST_LOOP_f_b_tg): Likewise. - (RUN_TEST_f_l): Likewise. - (RUN_TEST_LOOP_f_l): Likewise. - (RUN_TEST_f_L): Likewise. - (RUN_TEST_LOOP_f_L): Likewise. - (RUN_TEST_sincos): Likewise. - (RUN_TEST_LOOP_sincos): Likewise. - -2013-05-17 Joseph Myers - - [BZ #15480] - [BZ #15485] - * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For - main case of finite arguments, set rounding mode to FE_TONEAREST - and discard exceptions. - * math/libm-test.inc (remainder_test_data): Disallow "inexact" - exceptions. - (remainder_tonearest_test_data): New variable. - (remainder_test_tonearest): New function. - (remainder_towardzero_test_data): New variable. - (remainder_test_towardzero): New function. - (remainder_downward_test_data): New variable. - (remainder_test_downward): New function. - (remainder_upward_test_data): New variable. - (remainder_test_upward): New function. - (main): Call the new test functions. - - * math/libm-test.inc (struct test_f_f1_data): Remove field - extra_init. - (struct test_fF_f1_data): Likewise. - (struct test_ffI_f1_data): Likewise. - (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR - based on value of EXTRA_EXPECTED. - (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1. - (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize - EXTRA_VAR based on value of EXTRA_EXPECTED. - (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1. - (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize - EXTRA_VAR based on value of EXTRA_EXPECTED. - (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1. - (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize - EXTRA_VAR based on value of EXTRA_EXPECTED. - (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1. - * math/gen-libm-test.pl (parse_args): Don't output initializers - for extra output values. - - * math/libm-test.inc (check_int): Expect result to be exactly - equal to expected value and do not handle ulps. - (check_long): Likewise. - (check_longlong): Likewise. - - * math/libm-test.inc (ceil_test_data): Test for "inexact" - exceptions. - (cimag_test_data): Likewise. - (conj_test_data): Likewise. - (copysign_test_data): Likewise. - (cproj_test_data): Likewise. - (creal_test_data): Likewise. - (fabs_test_data): Likewise. - (fdim_test_data): Likewise. - (finite_test_data): Likewise. - (floor_test_data): Likewise. - (fmax_test_data): Likewise. - (fmin_test_data): Likewise. - (fmod_test_data): Likewise. - (fpclassify_test_data): Likewise. - (frexp_test_data): Likewise. - (ilogb_test_data): Likewise. - (isfinite_test_data): Likewise. - (isgreater_test_data): Likewise. - (isgreaterequal_test_data): Likewise. - (isinf_test_data): Likewise. - (isless_test_data): Likewise. - (islessequal_test_data): Likewise. - (islessgreater_test_data): Likewise. - (isnan_test_data): Likewise. - (isnormal_test_data): Likewise. - (issignaling_test_data): Likewise. - (isunordered_test_data): Likewise. - (ldexp_test_data): Likewise. - (lrint_test_data): Likewise. - (lrint_test_data) [TEST_FLOAT]: Disable one test. - (lrint_test_data) [!TEST_LDOUBLE]: Likewise. - (lrint_tonearest_test_data): Test for "inexact" exceptions. - (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test. - (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise. - (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that - test input. - (lrint_towardzero_test_data): Test for "inexact" exceptions. - (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test. - (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise. - (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on - that test input. - (lrint_downward_test_data): Test for "inexact" exceptions. - (lrint_downward_test_data) [TEST_FLOAT]: Disable one test. - (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise. - (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that - test input. - (lrint_upward_test_data): Test for "inexact" exceptions. - (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one - test input. - (llrint_test_data): Test for "inexact" exceptions. - (llrint_test_data) [TEST_FLOAT]: Disable one test. - (llrint_tonearest_test_data): Test for "inexact" exceptions. - (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test. - (llrint_towardzero_test_data): Test for "inexact" exceptions. - (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test. - (llrint_downward_test_data): Test for "inexact" exceptions. - (llrint_downward_test_data) [TEST_FLOAT]: Disable one test. - (llrint_upward_test_data): Test for "inexact" exceptions. - (logb_test_data): Likewise. - (logb_downward_test_data): Likewise. - (nextafter_test_data): Likewise. - (nexttoward_test_data): Likewise. - (remainder_test_data): Likewise. - (remquo_test_data): Likewise. - (scalbn_test_data): Likewise. - (scalbln_test_data): Likewise. - (signbit_test_data): Likewise. - (sqrt_test_data): Likewise. - (significand_test_data): Likewise. - -2013-05-17 Siddhesh Poyarekar - - [BZ #15424] - * benchtests/bench-modf.c (struct args): Mark arg0 as - volatile. - * scripts/bench.pl: Mark members of struct args as volatile. - -2013-05-17 Adhemerval Zanella - - [BZ # 15497] - * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for - negative infinity on POWER6 or lower. - * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise. - -2013-05-16 Maciej W. Rozycki - - [BZ #15442] - * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro. - (_FP_FRAC_SNANP_SEMIRAW): Likewise. - (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP. - (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW. - (_FP_SETQNAN): New macro. - (_FP_SETQNAN_SEMIRAW): Likewise. - (_FP_PACK_SEMIRAW): Use _FP_SETQNAN. - (_FP_PACK_CANONICAL): Use _FP_SETQNAN. - (_FP_ISSIGNAN): Use _FP_FRAC_SNANP. - (FP_EXTEND): Use _FP_FRAC_SNANP. - (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW. - * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP - into account. - * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP): - New macro. - * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP): - Likewise. - -2013-05-16 Joseph Myers - - * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together - with DIVIDE_BY_ZERO_EXCEPTION. - (gamma_test_data): Likewise. - (lgamma_test_data): Likewise. - (log_test_data): Likewise. - (log10_test_data): Likewise. - (log2_test_data): Likewise. - (tgamma_test_data): Likewise. - - * math/libm-test.inc (acos_test): Don't test for ENOSYS error. - (acos_test_tonearest): Likewise. - (acos_test_towardzero): Likewise. - (acos_test_downward): Likewise. - (acos_test_upward): Likewise. - (acosh_test): Likewise. - (asin_test): Likewise. - (asin_test_tonearest): Likewise. - (asin_test_towardzero): Likewise. - (asin_test_downward): Likewise. - (asin_test_upward): Likewise. - (asinh_test): Likewise. - (atan_test): Likewise. - (atanh_test): Likewise. - (atan2_test): Likewise. - (cabs_test): Likewise. - (cacos_test): Likewise. - (cacosh_test): Likewise. - (casin_test): Likewise. - (casinh_test): Likewise. - (catan_test): Likewise. - (catanh_test): Likewise. - (cbrt_test): Likewise. - (ccos_test): Likewise. - (ccosh_test): Likewise. - (cexp_test): Likewise. - (clog_test): Likewise. - (clog10_test): Likewise. - (cos_test): Likewise. - (cos_test_tonearest): Likewise. - (cos_test_towardzero): Likewise. - (cos_test_downward): Likewise. - (cos_test_upward): Likewise. - (cosh_test): Likewise. - (cosh_test_tonearest): Likewise. - (cosh_test_towardzero): Likewise. - (cosh_test_downward): Likewise. - (cosh_test_upward): Likewise. - (cpow_test): Likewise. - (csin_test): Likewise. - (csinh_test): Likewise. - (csqrt_test): Likewise. - (ctan_test): Likewise. - (ctan_test_tonearest): Likewise. - (ctan_test_towardzero): Likewise. - (ctan_test_downward): Likewise. - (ctan_test_upward): Likewise. - (ctanh_test): Likewise. - (ctanh_test_tonearest): Likewise. - (ctanh_test_towardzero): Likewise. - (ctanh_test_downward): Likewise. - (ctanh_test_upward): Likewise. - (erf_test): Likewise. - (erfc_test): Likewise. - (exp_test): Likewise. - (exp_test_tonearest): Likewise. - (exp_test_towardzero): Likewise. - (exp_test_downward): Likewise. - (exp_test_upward): Likewise. - (exp10_test): Likewise. - (exp2_test): Likewise. - (expm1_test): Likewise. - (fmod_test): Likewise. - (gamma_test): Likewise. - (hypot_test): Likewise. - (j0_test): Likewise. - (j1_test): Likewise. - (jn_test): Likewise. - (lgamma_test): Likewise. - (log_test): Likewise. - (log10_test): Likewise. - (log1p_test): Likewise. - (log2_test): Likewise. - (logb_test_downward): Likewise. - (pow_test): Likewise. - (pow_test_tonearest): Likewise. - (pow_test_towardzero): Likewise. - (pow_test_downward): Likewise. - (pow_test_upward): Likewise. - (remainder_test): Likewise. - (remquo_test): Likewise. - (sin_test): Likewise. - (sin_test_tonearest): Likewise. - (sin_test_towardzero): Likewise. - (sin_test_downward): Likewise. - (sin_test_upward): Likewise. - (sincos_test): Likewise. - (sinh_test): Likewise. - (sinh_test_tonearest): Likewise. - (sinh_test_towardzero): Likewise. - (sinh_test_downward): Likewise. - (sinh_test_upward): Likewise. - (sqrt_test): Likewise. - (tan_test): Likewise. - (tan_test_tonearest): Likewise. - (tan_test_towardzero): Likewise. - (tan_test_downward): Likewise. - (tan_test_upward): Likewise. - (tanh_test): Likewise. - (tgamma_test): Likewise. - (y0_test): Likewise. - (y1_test): Likewise. - (yn_test): Likewise. - - * math/gen-libm-test.pl (adjust_arg): Remove function. - (special_function): Remove argument $in_func. Only handle - generating output for tables of tests, not inside functions. - (parse_args): Likewise. - (generate_testfile): Remove variable $in_func. Update call to - parse_args. - * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero. - (MINUS_ZERO_INIT): Rename macro to minus_zero. - (PLUS_INFTY_INIT): Rename macro to plus_infty. - (MINUS_INFTY_INIT): Rename macro to minus_infty. - (QNAN_VALUE_INIT): Rename macro to qnan_value. - (MAX_VALUE_INIT): Rename macro to max_value. - (MIN_VALUE_INIT): Rename macro to min_value. - (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value. - (plus_zero): Remove variable. - (minus_zero): Likewise. - (plus_infty): Likewise. - (minus_infty): Likewise. - (qnan_value): Likewise. - (max_value): Likewise. - (min_value): Likewise. - (min_subnorm_value): Likewise. - -2013-05-16 Ryan S. Arnold - - * crypt/sha512-block.c: Add missing #include due to - uint64_t or uint32_t usage. - * crypt/sha256-block.c: Likewise. - * crypt/sha256-crypt.c: Likewise. - * crypt/sha256.c: Likewise. - * crypt/sha512-block.c: Likewise. - * crypt/sha512-crypt.c: Likewise. - * crypt/sha512.c: Likewise. - * debug/backtrace-tst.c: Likewise. - * debug/pcprofiledump.c: Likewise. - * elf/cache.c: Likewise. - * elf/dl-cache.c: Likewise. - * elf/dl-misc.c: Likewise. - * elf/dl-profile.c: Likewise. - * elf/dl-support.c: Likewise. - * elf/ldconfig.c: Likewise. - * elf/sprof.c: Likewise. - * iconv/dummy-repertoire.c: Likewise. - * iconv/iconv_charmap.c: Likewise. - * iconv/skeleton.c: Likewise. - * iconvdata/8bit-generic.c: Likewise. - * iconvdata/cp737.h: Likewise. - * iconvdata/cp775.h: Likewise. - * iconvdata/ibm1008.h: Likewise. - * iconvdata/ibm1025.h: Likewise. - * iconvdata/ibm1046.h: Likewise. - * iconvdata/ibm1097.h: Likewise. - * iconvdata/ibm1112.h: Likewise. - * iconvdata/ibm1122.h: Likewise. - * iconvdata/ibm1123.h: Likewise. - * iconvdata/ibm1124.h: Likewise. - * iconvdata/ibm1129.h: Likewise. - * iconvdata/ibm1130.h: Likewise. - * iconvdata/ibm1132.h: Likewise. - * iconvdata/ibm1133.h: Likewise. - * iconvdata/ibm1137.h: Likewise. - * iconvdata/ibm1140.h: Likewise. - * iconvdata/ibm1141.h: Likewise. - * iconvdata/ibm1142.h: Likewise. - * iconvdata/ibm1143.h: Likewise. - * iconvdata/ibm1144.h: Likewise. - * iconvdata/ibm1145.h: Likewise. - * iconvdata/ibm1146.h: Likewise. - * iconvdata/ibm1147.h: Likewise. - * iconvdata/ibm1148.h: Likewise. - * iconvdata/ibm1149.h: Likewise. - * iconvdata/ibm1153.h: Likewise. - * iconvdata/ibm1154.h: Likewise. - * iconvdata/ibm1155.h: Likewise. - * iconvdata/ibm1156.h: Likewise. - * iconvdata/ibm1157.h: Likewise. - * iconvdata/ibm1158.h: Likewise. - * iconvdata/ibm1160.h: Likewise. - * iconvdata/ibm1161.h: Likewise. - * iconvdata/ibm1162.h: Likewise. - * iconvdata/ibm1163.h: Likewise. - * iconvdata/ibm1164.h: Likewise. - * iconvdata/ibm1166.h: Likewise. - * iconvdata/ibm1167.h: Likewise. - * iconvdata/ibm12712.h: Likewise. - * iconvdata/ibm1390.h: Likewise. - * iconvdata/ibm1399.h: Likewise. - * iconvdata/ibm16804.h: Likewise. - * iconvdata/ibm4517.h: Likewise. - * iconvdata/ibm4899.h: Likewise. - * iconvdata/ibm4909.h: Likewise. - * iconvdata/ibm4971.h: Likewise. - * iconvdata/ibm5347.h: Likewise. - * iconvdata/ibm803.h: Likewise. - * iconvdata/ibm856.h: Likewise. - * iconvdata/ibm901.h: Likewise. - * iconvdata/ibm902.h: Likewise. - * iconvdata/ibm9030.h: Likewise. - * iconvdata/ibm9066.h: Likewise. - * iconvdata/ibm921.h: Likewise. - * iconvdata/ibm922.h: Likewise. - * iconvdata/ibm9448.h: Likewise. - * iconvdata/isiri-3342.h: Likewise. - * iconvdata/jis0201.h: Likewise. - * include/link.h: Likewise. - * include/netdb.h: Likewise. - * inet/check_native.c: Likewise. - * inet/check_pf.c: Likewise. - * inet/getipv4sourcefilter.c: Likewise. - * inet/getnameinfo.c: Likewise. - * inet/getsourcefilter.c: Likewise. - * inet/htonl.c: Likewise. - * inet/setipv4sourcefilter.c: Likewise. - * inet/setsourcefilter.c: Likewise. - * inet/test-inet6_opt.c: Likewise. - * inet/tst-network.c: Likewise. - * locale/C-collate.c: Likewise. - * locale/C-ctype.c: Likewise. - * locale/C-time.c: Likewise. - * locale/C-translit.h: Likewise. - * locale/loadarchive.c: Likewise. - * locale/programs/3level.h: Likewise. - * locale/programs/charmap.c: Likewise. - * locale/programs/charmap.h: Likewise. - * locale/programs/ld-address.c: Likewise. - * locale/programs/ld-collate.c: Likewise. - * locale/programs/ld-ctype.c: Likewise. - * locale/programs/ld-identification.c: Likewise. - * locale/programs/ld-measurement.c: Likewise. - * locale/programs/ld-messages.c: Likewise. - * locale/programs/ld-monetary.c: Likewise. - * locale/programs/ld-name.c: Likewise. - * locale/programs/ld-numeric.c: Likewise. - * locale/programs/ld-paper.c: Likewise. - * locale/programs/ld-telephone.c: Likewise. - * locale/programs/ld-time.c: Likewise. - * locale/programs/linereader.c: Likewise. - * locale/programs/locale.c: Likewise. - * locale/programs/locarchive.c: Likewise. - * locale/programs/locfile.h: Likewise. - * locale/programs/repertoire.c: Likewise. - * locale/programs/simple-hash.c: Likewise. - * locale/programs/simple-hash.h: Likewise. - * malloc/memusage.c: Likewise. - * malloc/memusagestat.c: Likewise. - * nis/nis_defaults.c: Likewise. - * nis/nis_hash.c: Likewise. - * nis/nis_print.c: Likewise. - * nis/nis_xdr.c: Likewise. - * nscd/connections.c: Likewise. - * nscd/hstcache.c: Likewise. - * nscd/nscd_gethst_r.c: Likewise. - * nscd/nscd_getserv_r.c: Likewise. - * nscd/nscd_helper.c: Likewise. - * nscd/servicescache.c: Likewise. - * nss/makedb.c: Likewise. - * nss/nss_db/db-XXX.c: Likewise. - * nss/nss_db/db-initgroups.c: Likewise. - * nss/nss_db/db-netgrp.c: Likewise. - * nss/nss_files/files-network.c: Likewise. - * nss/nss_files/files-parse.c: Likewise. - * posix/bug-regex5.c: Likewise. - * posix/fnmatch_loop.c: Likewise. - * posix/regcomp.c: Likewise. - * posix/regexec.c: Likewise. - * posix/tst-rfc3484-2.c: Likewise. - * posix/tst-rfc3484-3.c: Likewise. - * posix/tst-rfc3484.c: Likewise. - * resolv/nss_dns/dns-canon.c: Likewise. - * resolv/nss_dns/dns-network.c: Likewise. - * resolv/res_init.c: Likewise. - * resolv/res_mkquery.c: Likewise. - * resolv/tst-aton.c: Likewise. - * stdlib/cxa_atexit.c: Likewise. - * stdlib/cxa_finalize.c: Likewise. - * stdlib/gen-fpioconst.c: Likewise. - * stdlib/strtol_l.c: Likewise. - * string/tst-endian.c: Likewise. - * sunrpc/auth_des.c: Likewise. - * sunrpc/clnt_udp.c: Likewise. - * sunrpc/rtime.c: Likewise. - * sunrpc/svcauth_des.c: Likewise. - * sunrpc/xdr.c: Likewise. - * sunrpc/xdr_intXX_t.c: Likewise. - * sunrpc/xdr_rec.c: Likewise. - * sysdeps/generic/ldconfig.h: Likewise. - * sysdeps/generic/ldsodefs.h: Likewise. - * sysdeps/generic/memusage.h: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise. - * sysdeps/posix/getaddrinfo.c: Likewise. - * sysdeps/powerpc/fpu/e_hypot.c: Likewise. - * sysdeps/powerpc/fpu/e_hypotf.c: Likewise. - * sysdeps/powerpc/fpu/e_sqrt.c: Likewise. - * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise. - * sysdeps/powerpc/test-gettimebase.c: Likewise. - * sysdeps/unix/sysv/linux/check_pf.c: Likewise. - * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise. - * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise. - * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise. - * sysdeps/unix/sysv/linux/preadv.c: Likewise. - * sysdeps/unix/sysv/linux/pwritev.c: Likewise. - * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise. - * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise. - * sysdeps/x86_64/dl-tls.h: Likewise. - * sysdeps/x86_64/dl-tlsdesc.h: Likewise. - * time/alt_digit.c: Likewise. - * time/era.c: Likewise. - * wcsmbs/tst-c16c32-1.c: Likewise. - -2013-05-16 Joseph Myers - - * math/libm-test.inc (struct test_sincos_data): New type. - (RUN_TEST_LOOP_sincos): New macro. - (sincos_test_data): New variable. - (sincos_test): Run tests with RUN_TEST_LOOP_sincos. - -2013-05-16 Richard Henderson - - * math/atest-exp2.c (LIMB64): New macro. - (CONSTSZ): New macro. - (mp_exp1, mp_exp_m1, mp_log2): New variables. - (hexdig): Move ... - (print_mpn_fp): ... to function scope. - (read_mpn_hex): Remove. - (get_log2): Remove. - (exp2_mpn): Use mp_log2. - (main): Use mp_exp1. - -2013-05-16 Joseph Myers - - * math/libm-test.inc: Remove comment about not testing "inexact" - exceptions. - (INEXACT_EXCEPTION): New macro. - (NO_INEXACT_EXCEPTION): Likewise. - (INVALID_EXCEPTION_OK): Update value. - (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise. - (OVERFLOW_EXCEPTION_OK): Likewise. - (UNDERFLOW_EXCEPTION_OK): Likewise. - (IGNORE_ZERO_INF_SIGN): Likewise. - (ERRNO_UNCHANGED): Likewise. - (ERRNO_EDOM): Likewise. - (ERRNO_ERANGE): Likewise. - (test_exceptions): Handle testing "inexact" exceptions. - (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests. - (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION. - (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests. - (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and - INEXACT_EXCEPTION. - (rint_towardzero_test_data): Likewise. - (rint_downward_test_data): Likewise. - (rint_upward_test_data): Likewise. - - * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together - with OVERFLOW_EXCEPTION. - (exp10_test_data): Likewise. - (exp2_test_data): Likewise. - (expm1_test_data): Likewise. - (lgamma_test_data): Likewise. - (pow_test_data): Likewise. - (tgamma_test_data): Likewise. - (yn_test_data): Remove duplicate test of overflow. - - * math/libm-test.inc (struct test_cc_c_data): New type. - (RUN_TEST_LOOP_cc_c): New macro. - (cpow_test_data): New variable. - (cpow_test): Run tests with RUN_TEST_LOOP_cc_c. - - * math/libm-test.inc (struct test_f_L_data): New type. - (RUN_TEST_LOOP_f_L): New macro. - (llrint_test_data): New variable. - (llrint_test): Run tests with RUN_TEST_LOOP_f_L. - (llrint_tonearest_test_data): New variable. - (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L. - (llrint_towardzero_test_data): New variable. - (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L. - (llrint_downward_test_data): New variable. - (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L. - (llrint_upward_test_data): New variable. - (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L. - (llround_test_data): New variable. - (llround_test): Run tests with RUN_TEST_LOOP_f_L. - -2013-05-13 Peter Collingbourne - - * math/atest-exp2.c (get_log2): Remove const attribute. - -2013-05-15 Joseph Myers - - * math/libm-test.inc (struct test_f_l_data): New type. - (RUN_TEST_LOOP_f_l): New macro. - (lrint_test_data): New variable. - (lrint_test): Run tests with RUN_TEST_LOOP_f_l. - (lrint_tonearest_test_data): New variable. - (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l. - (lrint_towardzero_test_data): New variable. - (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l. - (lrint_downward_test_data): New variable. - (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l. - (lrint_upward_test_data): New variable. - (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l. - (lround_test_data): New variable. - (lround_test): Run tests with RUN_TEST_LOOP_f_l. - -2013-05-15 Peter Collingbourne - - * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro. - (EXTRACT_WORDS64) Use where appropriate. - (INSERT_WORDS64) Likewise. - - * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm - constraints with x constraints. - * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise. - - * malloc/obstack.c (_obstack_compat): Add initializer. - -2013-05-15 Edjunior Machado - - * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove - si_trapno and add si_addr_lsb to _sifields.sigfault. - (si_trapno): Remove macro. - (si_addr_lsb): Define new macro. - (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values. - -2013-05-15 Joseph Myers - - * math/libm-test.inc (llrint_test): Consistently use TEST_f_L - instead of TEST_f_l. - (llrint_test_tonearest): Likewise. - (llrint_test_towardzero): Likewise. - (llrint_test_downward): Likewise. - (llrint_test_upward): Likewise. - (llround_test): Likewise. - - * math/libm-test.inc (struct test_f_i_data): Add comment. - (RUN_TEST_LOOP_f_b): New macro. - (RUN_TEST_LOOP_f_b_tg): Likewise. - (finite_test_data): New variable. - (finite_test): Run tests with RUN_TEST_LOOP_f_b. - (isfinite_test_data): New variable. - (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg. - (isinf_test_data): New variable. - (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg. - (isnan_test_data): New variable. - (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg. - (isnormal_test_data): New variable. - (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg. - (issignaling_test_data): New variable. - (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg. - (signbit_test_data): New variable. - (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg. - - * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together - with INVALID_EXCEPTION. - (acosh_test_data): Likewise. - (asin_test_data): Likewise. - (atanh_test_data): Likewise. - (fmod_test_data): Likewise. - (log_test_data): Likewise. - (log10_test_data): Likewise. - (log2_test_data): Likewise. - (pow_test_data): Likewise. - (sqrt_test_data): Likewise. - (y0_test_data): Likewise. - (y1_test_data): Likewise. - (yn_test_data): Likewise. - - * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable - function contents. - - * math/libm-test.inc (struct test_ff_i_data): New type. - (RUN_TEST_LOOP_ff_i_tg): New macro. - (isgreater_test_data): New variable. - (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg. - (isgreaterequal_test_data): New variable. - (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg. - (isless_test_data): New variable. - (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg. - (islessequal_test_data): New variable. - (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg. - (islessgreater_test_data): New variable. - (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg. - (isunordered_test_data): New variable. - (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg. - -2013-05-14 David S. Miller - - * sysdeps/sparc/fpu/libm-test-ulps: Update. - -2013-05-14 Joseph Myers - - * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace. - - * math/libm-test.inc (struct test_fF_f1_data): Change type of - extra_test to int. - (struct test_f_i_data): Change type of max_ulp to int. - - * math/libm-test.inc (test_ffI_f1_data): New type. - (RUN_TEST_LOOP_ffI_f1): New macro. - (remquo_test_data): New variable. - (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1. - - * setjmp/tst-setjmp-fp.c: New file. - * setjmp/Makefile (tests): Add tst-setjmp-fp. - (link-libm): New variable. - ($(objpfx)tst-setjmp-fp): Depend on $(link-libm). - - * math/libm-test.inc (struct test_f_i_data): New type. - (RUN_TEST_LOOP_f_i): New macro. - (RUN_TEST_LOOP_f_i_tg): Likewise. - (fpclassify_test_data): New variable. - (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg. - (ilogb_test_data): New variable. - (ilogb_test): Run tests with RUN_TEST_LOOP_f_i. - - * math/libm-test.inc (scalbln_test): Correct function name in END - call. - - * math/libm-test.inc (struct test_f_f1_data): Add comment. - (RUN_TEST_LOOP_fI_f1): New macro. - (frexp_test_data): New variable. - (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1. - - * math/libm-test.inc (struct test_fF_f1_data): New type. - (RUN_TEST_LOOP_fF_f1): New macro. - (modf_test_data): New variable. - (modf_test): Run tests with RUN_TEST_LOOP_fF_f1. - - * math/libm-test.inc (struct test_f_f1_data): New type. - (RUN_TEST_LOOP_f_f1): New macro. - (gamma_test_data): New variable. - (gamma_test): Run tests with RUN_TEST_LOOP_f_f1. - (lgamma_test_data): New variable. - (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1. - -2013-05-13 Carlos O'Donell - - * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading. - * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check. - (main): Comment "tls" pseudo-hwcap. - -2013-05-13 Joseph Myers - - * math/libm-test.inc (struct test_fl_f_data): New type. - (RUN_TEST_LOOP_fl_f): New variable. - (scalbln_test_data): New variable. - (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f. - - * math/libm-test.inc (struct test_fi_f_data): New type. - (RUN_TEST_LOOP_fi_f): New macro. - (ldexp_test_data): New variable. - (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f. - (scalbn_test_data): New variable. - (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f. - - * math/libm-test.inc (struct test_c_f_data): New type. - (RUN_TEST_LOOP_c_f): New macro. - (cabs_test_data): New variable. - (cabs_test): Run tests with RUN_TEST_LOOP_c_f. - (carg_test_data): New variable. - (carg_test): Run tests with RUN_TEST_LOOP_c_f. - (cimag_test_data): New variable. - (cimag_test): Run tests with RUN_TEST_LOOP_c_f. - (creal_test_data): New variable. - (creal_test): Run tests with RUN_TEST_LOOP_c_f. - - * math/libm-test.inc (struct test_if_f_data): New type. - (RUN_TEST_LOOP_if_f): New macro. - (jn_test_data): New variable. - (jn_test): Run tests with RUN_TEST_LOOP_if_f. - (yn_test_data): New variable. - (yn_test): Run tests with RUN_TEST_LOOP_if_f. - - * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f. - -2013-05-13 Adhemerval Zanella - - * math/libm-test.inc (M_1_DIV_El): Define using decimal constant. - (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El. - -2013-05-13 Siddhesh Poyarekar - - * benchtests/Makefile (CPPFLAGS-nonlib): Add - -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined. - (bench-deps): Add bench-timing.h. - * benchtests-bench-skeleton.c: Include bench-timing.h. - (main): Use TIMING_* macros instead of clock_gettime. - * benchtests/bench-timing.h: New file. - - [BZ #14582] - * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL): - Renamed from _LIB_VERSION. - (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL. - -2013-05-12 Joseph Myers - - * math/libm-test.inc (struct test_fff_f_data): New type. - (RUN_TEST_LOOP_fff_f): New macro. - (fma_test_data): New variable. - (fma_test): Run tests with RUN_TEST_LOOP_fff_f. - (fma_towardzero_test_data): New variable. - (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f. - (fma_downward_test_data): New variable. - (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f. - (fma_upward_test_data): New variable. - (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f. - - * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro. - (struct test_c_c_data): New type. - (RUN_TEST_LOOP_c_c): New macro. - (cacos_test_data): New variable. - (cacos_test): Run tests with RUN_TEST_LOOP_c_c. - (cacosh_test_data): New variable. - (cacosh_test): Run tests with RUN_TEST_LOOP_c_c. - (casin_test_data): New variable. - (casin_test): Run tests with RUN_TEST_LOOP_c_c. - (casinh_test_data): New variable. - (casinh_test): Run tests with RUN_TEST_LOOP_c_c. - (catan_test_data): New variable. - (catan_test): Run tests with RUN_TEST_LOOP_c_c. - (catanh_test_data): New variable. - (catanh_test): Run tests with RUN_TEST_LOOP_c_c. - (ccos_test_data): New variable. - (ccos_test): Run tests with RUN_TEST_LOOP_c_c. - (ccosh_test_data): New variable. - (ccosh_test): Run tests with RUN_TEST_LOOP_c_c. - (cexp_test_data): New variable. - (cexp_test): Run tests with RUN_TEST_LOOP_c_c. - (clog_test_data): New variable. - (clog_test): Run tests with RUN_TEST_LOOP_c_c. - (clog10_test_data): New variable. - (clog10_test): Run tests with RUN_TEST_LOOP_c_c. - (conj_test_data): New variable. - (conj_test): Run tests with RUN_TEST_LOOP_c_c. - (cproj_test_data): New variable. - (cproj_test): Run tests with RUN_TEST_LOOP_c_c. - (csin_test_data): New variable. - (csin_test): Run tests with RUN_TEST_LOOP_c_c. - (csinh_test_data): New variable. - (csinh_test): Run tests with RUN_TEST_LOOP_c_c. - (csqrt_test_data): New variable. - (csqrt_test): Run tests with RUN_TEST_LOOP_c_c. - (ctan_test_data): New variable. - (ctan_test): Run tests with RUN_TEST_LOOP_c_c. - (ctan_tonearest_test_data): New variable. - (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c. - (ctan_towardzero_test_data): New variable. - (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c. - (ctan_downward_test_data): New variable. - (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c. - (ctan_upward_test_data): New variable. - (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c. - (ctanh_test_data): New variable. - (ctanh_test): Run tests with RUN_TEST_LOOP_c_c. - (ctanh_tonearest_test_data): New variable. - (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c. - (ctanh_towardzero_test_data): New variable. - (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c. - (ctanh_downward_test_data): New variable. - (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c. - (ctanh_upward_test_data): New variable. - (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c. - * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead - of BUILD_COMPLEX. - - * math/libm-test.inc (struct test_ff_f_data): New type. - (struct test_ff_f_data_nexttoward): Likewise. - (RUN_TEST_LOOP_2_f): New macro. - (RUN_TEST_LOOP_ff_f): Likewise. - (atan2_test_data): New variable. - (atan2_test): Run tests with RUN_TEST_LOOP_ff_f. - (copysign_test_data): New variable. - (copysign_test): Run tests with RUN_TEST_LOOP_ff_f. - (fdim_test_data): New variable. - (fdim_test): Run tests with RUN_TEST_LOOP_ff_f. - (fmax_test_data): New variable. - (fmax_test): Run tests with RUN_TEST_LOOP_ff_f. - (fmin_test_data): New variable. - (fmin_test): Run tests with RUN_TEST_LOOP_ff_f. - (fmod_test_data): New variable. - (fmod_test): Run tests with RUN_TEST_LOOP_ff_f. - (hypot_test_data): New variable. - (hypot_test): Run tests with RUN_TEST_LOOP_ff_f. - (nextafter_test_data): New variable. - (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f. - (nexttoward_test_data): New variable. - (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f. - (pow_test_data): New variable. - (pow_test): Run tests with RUN_TEST_LOOP_ff_f. - (pow_tonearest_test_data): New variable. - (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f. - (pow_towardzero_test_data): New variable. - (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f. - (pow_downward_test_data): New variable. - (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f. - (pow_upward_test_data): New variable. - (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f. - (remainder_test_data): New variable. - (remainder_test): Run tests with RUN_TEST_LOOP_ff_f. - (scalb_test_data): New variable. - (scalb_test): Run tests with RUN_TEST_LOOP_ff_f. - * sysdeps/i386/fpu/libm-test-ulps: Update. - -2013-05-11 Joseph Myers - - * math/libm-test.inc (fma_test): Use max_value instead of local - variable fltmax. - (nextafter_test): Likewise. - - * math/libm-test.inc (acos_towardzero_test_data): New variable. - (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f. - (acos_downward_test_data): New variable. - (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f. - (acos_upward_test_data): New variable. - (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f. - (acosh_test_data): New variable. - (acosh_test): Run tests with RUN_TEST_LOOP_f_f. - (asin_test_data): New variable. - (asin_test): Run tests with RUN_TEST_LOOP_f_f. - (asin_tonearest_test_data): New variable. - (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f. - (asin_towardzero_test_data): New variable. - (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f. - (asin_downward_test_data): New variable. - (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f. - (asin_upward_test_data): New variable. - (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f. - (asinh_test_data): New variable. - (asinh_test): Run tests with RUN_TEST_LOOP_f_f. - (atan_test_data): New variable. - (atan_test): Run tests with RUN_TEST_LOOP_f_f. - (atanh_test_data): New variable. - (atanh_test): Run tests with RUN_TEST_LOOP_f_f. - (cbrt_test_data): New variable. - (cbrt_test): Run tests with RUN_TEST_LOOP_f_f. - (ceil_test_data): New variable. - (ceil_test): Run tests with RUN_TEST_LOOP_f_f. - (cos_test_data): New variable. - (cos_test): Run tests with RUN_TEST_LOOP_f_f. - (cos_tonearest_test_data): New variable. - (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f. - (cos_towardzero_test_data): New variable. - (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f. - (cos_downward_test_data): New variable. - (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f. - (cos_upward_test_data): New variable. - (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f. - (cosh_test_data): New variable. - (cosh_test): Run tests with RUN_TEST_LOOP_f_f. - (cosh_tonearest_test_data): New variable. - (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f. - (cosh_towardzero_test_data): New variable. - (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f. - (cosh_downward_test_data): New variable. - (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f. - (cosh_upward_test_data): New variable. - (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f. - (erf_test_data): New variable. - (erf_test): Run tests with RUN_TEST_LOOP_f_f. - (erfc_test_data): New variable. - (erfc_test): Run tests with RUN_TEST_LOOP_f_f. - (exp_test_data): New variable. - (exp_test): Run tests with RUN_TEST_LOOP_f_f. - (exp_tonearest_test_data): New variable. - (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f. - (exp_towardzero_test_data): New variable. - (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f. - (exp_downward_test_data): New variable. - (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f. - (exp_upward_test_data): New variable. - (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f. - (exp10_test_data): New variable. - (exp10_test): Run tests with RUN_TEST_LOOP_f_f. - (exp2_test_data): New variable. - (exp2_test): Run tests with RUN_TEST_LOOP_f_f. - (expm1_test_data): New variable. - (expm1_test): Run tests with RUN_TEST_LOOP_f_f. - (fabs_test_data): New variable. - (fabs_test): Run tests with RUN_TEST_LOOP_f_f. - (floor_test_data): New variable. - (floor_test): Run tests with RUN_TEST_LOOP_f_f. - (j0_test_data): New variable. - (j0_test): Run tests with RUN_TEST_LOOP_f_f. - (j1_test_data): New variable. - (j1_test): Run tests with RUN_TEST_LOOP_f_f. - (log_test_data): New variable. - (log_test): Run tests with RUN_TEST_LOOP_f_f. - (log10_test_data): New variable. - (log10_test): Run tests with RUN_TEST_LOOP_f_f. - (log1p_test_data): New variable. - (log1p_test): Run tests with RUN_TEST_LOOP_f_f. - (log2_test_data): New variable. - (log2_test): Run tests with RUN_TEST_LOOP_f_f. - (logb_test_data): New variable. - (logb_test): Run tests with RUN_TEST_LOOP_f_f. - (logb_downward_test_data): New variable. - (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f. - (nearbyint_test_data): New variable. - (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f. - (rint_test_data): New variable. - (rint_test): Run tests with RUN_TEST_LOOP_f_f. - (rint_tonearest_test_data): New variable. - (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f. - (rint_towardzero_test_data): New variable. - (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f. - (rint_downward_test_data): New variable. - (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f. - (rint_upward_test_data): New variable. - (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f. - (round_test_data): New variable. - (round_test): Run tests with RUN_TEST_LOOP_f_f. - (sin_test_data): New variable. - (sin_test): Run tests with RUN_TEST_LOOP_f_f. - (sin_tonearest_test_data): New variable. - (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f. - (sin_towardzero_test_data): New variable. - (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f. - (sin_downward_test_data): New variable. - (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f. - (sin_upward_test_data): New variable. - (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f. - (sinh_test_data): New variable. - (sinh_test): Run tests with RUN_TEST_LOOP_f_f. - (sinh_tonearest_test_data): New variable. - (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f. - (sinh_towardzero_test_data): New variable. - (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f. - (sinh_downward_test_data): New variable. - (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f. - (sinh_upward_test_data): New variable. - (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f. - (sqrt_test_data): New variable. - (sqrt_test): Run tests with RUN_TEST_LOOP_f_f. - (tan_test_data): New variable. - (tan_test): Run tests with RUN_TEST_LOOP_f_f. - (tan_tonearest_test_data): New variable. - (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f. - (tan_towardzero_test_data): New variable. - (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f. - (tan_downward_test_data): New variable. - (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f. - (tan_upward_test_data): New variable. - (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f. - (tanh_test_data): New variable. - (tanh_test): Run tests with RUN_TEST_LOOP_f_f. - (tgamma_test_data): New variable. - (tgamma_test): Run tests with RUN_TEST_LOOP_f_f. - (trunc_test_data): New variable. - (trunc_test): Run tests with RUN_TEST_LOOP_f_f. - (y0_test_data): New variable. - (y0_test): Run tests with RUN_TEST_LOOP_f_f. - (y1_test_data): New variable. - (y1_test): Run tests with RUN_TEST_LOOP_f_f. - (significand_test_data): New variable. - (significand_test): Run tests with RUN_TEST_LOOP_f_f. - -2013-05-10 Christian Grönke - - [BZ #12387] - * sysdeps/unix/sysv/linux/sh/getgid.c: New file. - -2013-05-10 Pino Toscano - - * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME. - -2013-05-10 Andreas Jaeger - - [BZ #15448] - * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S) - (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow. - -2013-05-10 Joseph Myers - - * math/gen-libm-test.pl (adjust_arg): New function. - (special_functions): Handle generating output in both functions - and arrays. - (parse_args): Likewise. - (generate_testfile): Handle START_DATA and END_DATA. Pass extra - $in_func argument to parse_args. - * math/libm-test.inc (struct test_f_f_data): New type. - (IF_ROUND_INIT_): New macro. - (IF_ROUND_INIT_FE_DOWNWARD): Likewise. - (IF_ROUND_INIT_FE_TONEAREST): Likewise. - (IF_ROUND_INIT_FE_TOWARDZERO): Likewise. - (IF_ROUND_INIT_FE_UPWARD): Likewise. - (ROUND_RESTORE_): Likewise. - (ROUND_RESTORE_FE_DOWNWARD): Likewise. - (ROUND_RESTORE_FE_TONEAREST): Likewise. - (ROUND_RESTORE_FE_TOWARDZERO): Likewise. - (ROUND_RESTORE_FE_UPWARD): Likewise. - (RUN_TEST_LOOP_f_f): New macro. - (acos_test_data): New variable. - (acos_test): Run tests with RUN_TEST_LOOP_f_f. - (acos_tonearest_test_data): New variable. - (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f. - -2013-05-10 Siddhesh Poyarekar - - * benchtests/bench-skeleton.c (startup): Fix coding style. - -2013-05-10 Joseph Myers - - [BZ #6809] - * math/w_tgamma.c (__tgamma): Also call __kernel_standard for - negative infinity argument. - * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for - negative infinity argument. - * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for - negative infinity argument. - * math/libm-test.inc (tgamma_test): Expect errno to be set for - domain errors. - -2013-05-10 Florian Weimer - - * elf/sprof.c (load_profdata): Use fstat64 instead of fstat. - * iconv/iconv_charmap.c (charmap_conversion): Likewise. - * iconv/iconv_prog.c (main): Likewise. - * locale/programs/charmap-dir.c (charmap_readdir) - (fopen_uncompressed): Likewise. - * locale/programs/locfile.c (siblings_uncached) - (write_locale_data): Use lstat64 instead of lstat. - * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of - stat. - -2013-05-10 Andreas Jaeger - - [BZ #15395] - * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for - localization. - Include . - -2013-05-09 Carlos O'Donell - - * elf/dl-close.c (_dl_close_worker): Add comments. - -2013-05-09 Joseph Myers - - [BZ #15359] - * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for - high part of pi/2. - (__ieee754_rem_pio2l): Update comments. - - [BZ #15429] - * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for - high part of pi/2. - (__ieee754_rem_pio2l): Update comments. - - * math/libm-test.inc (M_SQRT_2_2): Remove macro. - (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2. - - * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 * - M_PI_4l. - - * math/libm-test.inc (M_PI_34l): Define using decimal constant. - (M_PI_34_LOG10El): Likewise. - (M_PI2_LOG10El): Likewise. - (M_PI4_LOG10El): Likewise. - (M_PI_LOG10El): Likewise. - -2013-05-08 Adhemerval Zanella - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - -2013-05-08 Joseph Myers - - * math/libm-test.inc (PLUS_ZERO_INIT): New macro. - (MINUS_ZERO_INIT): Likewise. - (PLUS_INFTY_INIT): Likewise. - (MINUS_INFTY_INIT): Likewise. - (QNAN_VALUE_INIT): Likewise. - (MAX_VALUE_INIT): Likewise. - (MIN_VALUE_INIT): Likewise. - (MIN_SUBNORM_VALUE_INIT): Likewise. - (plus_zero): Initialize with PLUS_ZERO_INIT. - (minus_zero): Initialize with MINUS_ZERO_INIT. - (plus_infty): Initialize with PLUS_INFTY_INIT. - (minus_infty): Initialize with MINUS_INFTY_INIT. - (qnan_value): Initialize with QNAN_VALUE_INIT. - (max_value): Initialize with MAX_VALUE_INIT. - (min_value): Initialize with MIN_VALUE_INIT. - (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT. - - * math/libm-test.inc (RUN_TEST_if_f): New macro. - (jn_test): Use TEST_if_f instead of TEST_ff_f. - (ldexp_text): Use TEST_fi_i instead of TEST_ff_f. - (yn_test): Use TEST_if_f instead of TEST_ff_f. - - * math/libm-test.inc (RUN_TEST_f_f): New macro. - (RUN_TEST_2_f): Likewise. - (RUN_TEST_ff_f): Likewise. - (RUN_TEST_fi_f): Likewise. - (RUN_TEST_fl_f): Likewise. - (RUN_TEST_fff_f): Likewise. - (RUN_TEST_c_f): Likewise. - (RUN_TEST_f_f1): Likewise. - (RUN_TEST_fF_f1): Likewise. - (RUN_TEST_fI_f1): Likewise. - (RUN_TEST_ffI_f1): Likewise. - (RUN_TEST_c_c): Likewise. - (RUN_TEST_cc_c): Likewise. - (RUN_TEST_f_i): Likewise. - (RUN_TEST_f_i_tg): Likewise. - (RUN_TEST_ff_i_tg): Likewise. - (RUN_TEST_f_b): Likewise. - (RUN_TEST_f_b_tg): Likewise. - (RUN_TEST_f_l): Likewise. - (RUN_TEST_f_L): Likewise. - (RUN_TEST_sincos): Likewise. - * math/gen-libm-test.pl (new_test): Take new argument to indicate - whether to show exceptions. Do not include ");\n" in return - value. - (special_functions): Output call to RUN_TEST_sincos instead of - check_float calls. Update calls to new_test. - (parse_args): Output call to single RUN_TEST_* macro instead of - check_* calls and other assignments. Update calls to new_test. - - [BZ #2546] - [BZ #2560] - [BZ #5159] - [BZ #15426] - * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of - input to result for tgamma overflow. - * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include . - (gamma_coeff): New variable. - (NCOEFF): New macro. - (gamma_positive): New function. - (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and - underflow here. Use gamma_positive instead of exp (lgamma) for - other arguments. - * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include . - (gamma_coeff): New variable. - (NCOEFF): New macro. - (gammaf_positive): New function. - (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and - underflow here. Use gamma_positive instead of exp (lgamma) for - other arguments. - * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include . - (gamma_coeff): New variable. - (NCOEFF): New macro. - (gammal_positive): New function. - (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and - underflow here. Use gamma_positive instead of exp (lgamma) for - other arguments. - * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include . - (gamma_coeff): New variable. - (NCOEFF): New macro. - (gammal_positive): New function. - (__ieee754_gammal_r): Handle positive infinity, overflow and - underflow here. Handle NaN the same as positive infinity. Remove - check x < 0xffffffff for negative integers. Use gamma_positive - instead of exp (lgamma) for other arguments. - * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include . - (gamma_coeff): New variable. - (NCOEFF): New macro. - (gammal_positive): New function. - * sysdeps/ieee754/dbl-64/gamma_product.c: New file. - * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise. - * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise. - * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise. - * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise. - * sysdeps/generic/math_private.h (__gamma_productf): New - prototype. - (__gamma_product): Likewise. - (__gamma_productl): Likewise. - * math/Makefile (libm-calls): Add gamma_product. - * math/libm-test.inc (tgamma_test): Add more tests. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2013-05-08 Ondƙej BĂ­lka - - * benchtests/bench-skeleton.c (main): Preheat CPU. - -2013-05-07 Aurelien Jarno - - * misc/sys/param.h (DEV_BSIZE): Define only if not already defined. - -2013-05-07 Roland McGrath - - * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args - and _dl_skip_args_internal. - -2013-05-07 Carlos O'Donell - - * manual/message.texi (Message Translation): Talk about users. - Message to key mapping impacts design. - -2013-05-06 Roland McGrath - - * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file. - - * elf/dl-open.c: Remove declaration of _dl_sysdep_start. - - * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ... - * sysdeps/wordsize-64/glob64.c: ... here. - - * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro. - (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel): - New macros. - - * debug/getlogin_r_chk.c: Moved to ... - * login/getlogin_r_chk.c: ... here. - * debug/Makefile (routines): Move getlogin_r_chk to ... - * login/Makefile (routines): ... here. - * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ... - * login/Versions (libc: GLIBC_2.4): ... here. - - * io/poll.c (__poll): Renamed from poll. - Add libc_hidden_def. - (poll): Define as weak alias. - - * debug/ptsname_r_chk.c: Moved to ... - * login/ptsname_r_chk.c: ... here. - * debug/Makefile (routines): Move ptsname_r_chk to ... - * login/Makefile (routines): ... here. - * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ... - * login/Versions (libc: GLIBC_2.4): ... here. - - * posix/getlogin.c: Moved to ... - * login/getlogin.c: ... here. - * posix/getlogin_r.c: Moved to ... - * login/getlogin_r.c: ... here. - * posix/getlogin_r.c: Moved to ... - * login/getlogin_r.c: ... here. - * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ... - * login/Makefile (routines): ... here. - * posix/Versions (libc: GLIBC_2.0): Move setlogin to ... - * login/Versions (libc: GLIBC_2.0): ... here. - - * resource/setrlimit.c (__setrlimit): Renamed from setrlimit. - (setrlimit): Define as weak alias. - - * sysdeps/posix/truncate.c (__truncate): Renamed from truncate. - Call __ names for open, ftruncate, and close. - For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate. - (truncate): Define as weak alias. - -2013-05-06 Joseph Myers - - * math/gen-libm-test.pl (parse_args): Initialize x before each - test of frexp, modf and remquo. - - * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to - test signgam value. - -2013-05-06 Adhemerval Zanella - - [BZ #15418] - [BZ #15419] - * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by - internal tests. - * sysdeps/powerpc/fpu/e_hypotf.c: Likewise. - -2013-05-06 Roland McGrath - - * elf/dl-writev.h: New file. - * elf/dl-misc.c: Include it. - (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al. - * sysdeps/unix/sysv/linux/dl-writev.h: New file. - -2013-05-04 Joseph Myers - - * math/libm-test.inc (noXFails): Remove variable. - (noXPasses): Likewise. - (BUILD_COMPLEX_INT): Remove macro. - (print_screen): Remove xfail argument. - (print_screen_max_error): Likewise. - (update_stats): Likewise. - (print_max_error): Likewise. Update calls to other affected - functions. - (print_complex_max_error): Likewise. - (test_single_exception): Update calls to print_screen. - (test_single_errno): Likewise. - (check_float_internal): Remove xfail argument. Update calls to - other affected functions. - (check_float): Likewise. - (check_complex): Likewise. - (check_int): Likewise. - (check_long): Likewise. - (check_bool): Likewise. - (check_longlong): Likewise. - (main): Don't print noXFails and noXPasses. - * math/gen-libm-test.pl (top level): Don't mention expected - failure handling in comment. - (new_test): Don't handle expected failures. - (parse_args): Don't mention expected failure handling in comment. - (generate_testfile): Don't handle expected failures. - (parse_ulps): Likewise. - (print_ulps_file): Likewise. - (get_failure): Remove function. - (output_test): Don't handle expected failures. - * make/README.libm-test: Don't mention expected failure handling. - - * math/libm-test.inc (plus_zero): Make const. Add initializer. - (minus_zero): Likewise. - (plus_infty): Likewise. - (minus_infty): Likewise. - (qnan_value): Likewise. - (max_value): Likewise. - (min_value): Likewise. - (min_subnorm_value): Likewise. - (initialize): Do not initialize those variables dynamically. - -2013-05-03 Roland McGrath - - * io/open.c (__open_2): Moved to ... - * io/open_2.c: ... this new file. - * io/open64.c (__open64_2): Moved to ... - * io/open64_2.c: ... this new file. - * io/openat.c (__openat_2): Moved to ... - * io/openat_2.c: ... this new file. - * io/openat64.c (__openat64_2): Moved to ... - * io/openat64_2.c: ... this new file. - * io/Makefile (routines): Add them. - * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them. - * sysdeps/unix/sysv/linux/open_2.c: File removed. - * sysdeps/unix/sysv/linux/open64_2.c: File removed. - * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed. - * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed. - * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed. - (__openat64): Add hidden_ver. - * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed. - * sysdeps/mach/hurd/openat.c (__openat_2): Removed. - - * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]: - Separately conditionalize setting of GLRO(dl_sysinfo) so - that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO] - as well, but the actual setting is only under [NEED_DL_SYSINFO]. - -2013-04-30 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol. - * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time - definition. - (VDSO_IFUNC_RET): Cast to void * to silence compiler warning. - * sysdeps/unix/sysv/linux/powerpc/init-first.c - (_libc_vdso_platform_setup): Add __vdso_time initialization. - * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation - for PowerPC using vDSO where is avaliable or gettimeofday as a fallback. - -2013-05-03 Joseph Myers - - * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to - test signgam value. - - * math/libm-test.inc (hypot_test): Do not use - IGNORE_ZERO_INF_SIGN. - -2013-05-03 Andreas Jaeger - - * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from - Linux 3.9. - * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add. - (PF_MAX): Adjust for VSOCK change. - -2013-05-03 Adhemerval Zanella - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - -2013-05-02 Carlos O'Donell - - [BZ #15264] - * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr. - * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES. - * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr. - -2013-05-02 David S. Miller - - * sysdeps/sparc/fpu/libm-test-ulps: Update. - -2013-05-01 Ondƙej BĂ­lka - - * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc. - -2013-05-01 Roland McGrath - - * sysdeps/posix/opendir.c: Include to get MIN/MAX macros. - -2013-05-01 Richard Smith - - [BZ #14952] - * misc/sys/cdefs.h (__extern_inline, __extern_always_inline) - [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]: - Use __attribute__ ((__gnu_inline__)). - [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]: - Don't use __attribute__ ((__gnu_inline__)). - -2013-05-01 Joseph Myers - - [BZ #15423] - * math/s_catan.c (__catan): Handle small real or imaginary part of - input specially to avoid spurious underflow. - * math/s_catanf.c (__catanf): Likewise. - * math/s_catanh.c (__catanh): Likewise. - * math/s_catanhf.c (__catanhf): Likewise. - * math/s_catanhl.c (__catanhl): Likewise. - * math/s_catanl.c (__catanl): Likewise. - * math/libm-test.inc (catan_test): Add more tests. - (catanh_test): Likewise. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2013-04-30 Adhemerval Zanella - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - -2013-04-30 Joseph Myers - - [BZ #15416] - * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more - accurately for denominator in atan2. - * math/s_catanf.c (__catanf): Likewise. - * math/s_catanh.c (__catanh): Likewise. - * math/s_catanhf.c (__catanhf): Likewise. - * math/s_catanhl.c (__catanhl): Likewise. - * math/s_catanl.c (__catanl): Likewise. - * math/libm-test.inc (catan_test): Add more tests. - (catanh_test): Likewise. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2013-04-30 Siddhesh Poyarekar - - * sysdeps/ieee754/dbl-64/s_sin.c: Format code. - - * benchtests/Makefile (bench): Remove slow benchmarks. - * benchtests/atan-inputs: Add slow benchmark inputs. - * benchtests/bench-modf.c (NUM_VARIANTS): Define. - (BENCH_FUNC): Accept variant offset. - (VARIANT): Define. - * benchtests/bench-skeleton.c (main): Run benchmark for each - variant. - * benchtests/cos-inputs: Add slow benchmark inputs. - * benchtests/exp-inputs: Likewise. - * benchtests/pow-inputs: Likewise. - * benchtests/sin-inputs: Likewise. - * benchtests/slowatan-inputs: Remove. - * benchtests/slowatan.c: Remove. - * benchtests/slowcos-inputs: Remove. - * benchtests/slowcos.c: Remove. - * benchtests/slowexp-inputs: Remove. - * benchtests/slowexp.c: Remove. - * benchtests/slowpow-inputs: Remove. - * benchtests/slowpow.c: Remove. - * benchtests/slowsin-inputs: Remove. - * benchtests/slowsin.c: Remove. - * benchtests/slowtan-inputs: Remove. - * benchtests/slowtan.c: Remove. - * benchtests/tan-inputs: Add slow benchmark inputs. - * scripts/bench.pl: Parse comments and directives. - - * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION - in CPPFLAGS. - ($(objpfx)bench-%.c): Remove *-ITER. - * benchtests/bench-modf.c: Remove definition of ITER. - * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro. - (main): Loop for DURATION seconds instead of fixed number of - iterations. - * scripts/bench.pl: Don't expect iterations in parameters. - -2013-04-29 Roland McGrath - - * io/fchdir.c (__fchdir): Renamed from fchdir. - (fchdir): Define as weak alias. - -2013-04-29 Joseph Myers - - * math/libm-test.inc (ERRNO_UNCHANGED): New macro. - (ERRNO_EDOM): Likewise. - (ERRNO_ERANGE): Likewise. - (noErrnoTests): New variable. - (init_max_error): Set errno to 0. - (test_single_errno): New function. - (test_errno): Likewise. - (check_float_internal): Call test_errno. Set errno to 0. - (check_complex): Refer to errno tests in comment. - (check_int): Call test_errno. Set errno to 0. - (check_long): Likewise. - (check_bool): Likewise. - (check_longlong): Likewise. - (cos_test): Use ERRNO_* flags for errno tests instead of - check_int. - (expm1_test): Likewise. - (fmod_test): Likewise. - (ilogb_test): Likewise. - (lgamma_test): Likewise. - (pow_test): Likewise. - (remainder_test): Likewise. - (sin_test): Likewise. - (tan_test): Likewise. - (yn_test): Likewise. - (initialize): Set errno to 0. - (main): Print number of errno tests. - * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests. - -2013-04-29 Andreas Jaeger - - [BZ #15084] - * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING - and RES_USEVC. - - [BZ #15085] - * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented. - * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as - unimplemented. - - [BZ #15380] - * stdlib/random.c (__initstate): Return NULL if - __initstate fails. - - [BZ #15086] - * resolv/res_debug.c (p_option): Handle RES_NOALIASES, - RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP, - RES_SNGLKUPREOP. - -2013-04-29 Adhemerval Zanella - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - -2013-04-29 Joseph Myers - - * math/libm-test.inc (cacos_test): Add missing semicolons at ends - of individual tests. - (casin_test): Likewise. - (casinh_test): Likewise. - -2013-04-27 Joseph Myers - - [BZ #15409] - * math/s_catan.c (__catan): Handle arguments with large real or - imaginary part separately without squaring. - * math/s_catanf.c (__catanf): Likewise. - * math/s_catanh.c (__catanh): Likewise. - * math/s_catanhf.c (__catanhf): Likewise. - * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine - and redefine. - (__catanhl): Handle arguments with large real or imaginary part - separately without squaring. - * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine - and redefine. - (__catanl): Handle arguments with large real or imaginary part - separately without squaring. - * math/libm-test.inc (catan_test): Add more tests. - (catanh_test): Likewise. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2013-04-27 Andreas Jaeger - - [BZ #15007] - * stdlib/stdlib.h: Update guards for qecvt. - * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with - . - -2013-04-27 Allan McRae - - * sysdeps/i386/fpu/libm-test-ulps: Update. - -2013-04-26 Joseph Myers - - [BZ #15406] - * math/s_catan.c: Include . - (__catan): Ensure underflow exception occurs for underflowed - result. - * math/s_catanf.c: Include . - (__catanf): Ensure underflow exception occurs for underflowed - result. - * math/s_catanh.c: Include . - (__catanh): Ensure underflow exception occurs for underflowed - result. - * math/s_catanhf.c: Include . - (__catanhf): Ensure underflow exception occurs for underflowed - result. - * math/s_catanhl.c: Include . - (__catanhl): Ensure underflow exception occurs for underflowed - result. - * math/s_catanl.c: Include . - (__catanl): Ensure underflow exception occurs for underflowed - result. - * math/libm-test.inc (catan_test): Add more tests. - (catanh_test): Likewise. - - [BZ #15405] - * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for - underflowed result. - * math/s_ccoshf.c (__ccoshf): Likewise. - * math/s_ccoshl.c (__ccoshl): Likewise. - * math/s_csin.c (__csin): Likewise. - * math/s_csinf.c (__csinf): Likewise. - * math/s_csinh.c (__csinh): Likewise. - * math/s_csinhf.c (__csinhf): Likewise. - * math/s_csinhl.c (__csinhl): Likewise. - * math/s_csinl.c (__csinl): Likewise. - * math/libm-test.inc (ccos_test): Add more tests. - (ccosh_test): Likewise. - (csin_test): Likewise. - (csinh_test): Likewise. - -2013-04-26 Adhemerval Zanella - - * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ... - * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this. - * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ... - * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this. - * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and - powerpc/power5+/fpu folders. - * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise. - - -2013-04-26 Markus Trippelsdorf - - * sysdeps/x86_64/fpu/libm-test-ulps: Update. - -2013-04-25 Joseph Myers - - * elf/Makefile [$(config-machine) = x86_64] (tests): Remove - additions to variable. - [$(config-machine) = x86_64] (modules-names): Likewise. - ($(objpfx)tst-audit3): Remove dependency. - ($(objpfx)tst-audit3.out): Likewise. - ($(objpfx)tst-audit4): Likewise. - ($(objpfx)tst-audit4.out): Likewise. - ($(objpfx)tst-audit5): Likewise. - ($(objpfx)tst-audit5.out): Likewise. - ($(objpfx)tst-audit6): Likewise. - ($(objpfx)tst-audit6.out): Likewise. - ($(objpfx)tst-audit7): Likewise. - ($(objpfx)tst-audit7.out): Likewise. - (tst-audit3-ENV): Remove variable. - (tst-audit4-ENV): Likewise. - (tst-audit5-ENV): Likewise. - (tst-audit6-ENV): Likewise. - (tst-audit7-ENV): Likewise. - [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise. - [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove - addition to variable. - [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise. - [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise. - [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise. - [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise. - [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise. - * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add - tst-audit3, tst-audit4 and tst-audit5. - [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add - tst-audit6 and tst-audit7. - [$(subdir) = elf] (modules-names): Add audit modules for those - tests. - [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency. - [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise. - [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise. - [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise. - [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise. - [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise. - [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise. - [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise. - [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise. - [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise. - [$(subdir) = elf] (tst-audit3-ENV): New variable. - [$(subdir) = elf] (tst-audit4-ENV): Likewise. - [$(subdir) = elf] (tst-audit5-ENV): Likewise. - [$(subdir) = elf] (tst-audit6-ENV): Likewise. - [$(subdir) = elf] (tst-audit7-ENV): Likewise. - [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS): - Likewise. - [$(subdir) = elf && $(config-cflags-avx) = yes] - (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS). - [$(subdir) = elf && $(config-cflags-avx) = yes] - (CFLAGS-tst-auditmod4a.c): Likewise. - [$(subdir) = elf && $(config-cflags-avx) = yes] - (CFLAGS-tst-auditmod4b.c): Likewise. - [$(subdir) = elf && $(config-cflags-avx) = yes] - (CFLAGS-tst-auditmod6b.c): Likewise. - [$(subdir) = elf && $(config-cflags-avx) = yes] - (CFLAGS-tst-auditmod6c.c): Likewise. - [$(subdir) = elf && $(config-cflags-avx) = yes] - (CFLAGS-tst-auditmod7b.c): Likewise. - * elf/tst-audit3.c: Move to ... - * sysdeps/x86_64/tst-audit3.c: ... here. - * elf/tst-audit4.c: Move to ... - * sysdeps/x86_64/tst-audit4.c: ... here. - * elf/tst-audit5.c: Move to ... - * sysdeps/x86_64/tst-audit5.c: ... here. - * elf/tst-audit6.c: Move to ... - * sysdeps/x86_64/tst-audit6.c: ... here. - * elf/tst-audit7.c: Move to ... - * sysdeps/x86_64/tst-audit7.c: ... here. - * elf/tst-auditmod3a.c: Move to ... - * sysdeps/x86_64/tst-auditmod3a.c: ... here. - * elf/tst-auditmod3b.c: Move to ... - * sysdeps/x86_64/tst-auditmod3b.c: ... here. - * elf/tst-auditmod4a.c: Move to ... - * sysdeps/x86_64/tst-auditmod4a.c: ... here. - * elf/tst-auditmod4b.c: Move to ... - * sysdeps/x86_64/tst-auditmod4b.c: ... here. - * elf/tst-auditmod5a.c: Move to ... - * sysdeps/x86_64/tst-auditmod5a.c: ... here. - * elf/tst-auditmod5b.c: Move to ... - * sysdeps/x86_64/tst-auditmod5b.c: ... here. - * elf/tst-auditmod6a.c: Move to ... - * sysdeps/x86_64/tst-auditmod6a.c: ... here. - * elf/tst-auditmod6b.c: Move to ... - * sysdeps/x86_64/tst-auditmod6b.c: ... here. - * elf/tst-auditmod6c.c: Move to ... - * sysdeps/x86_64/tst-auditmod6c.c: ... here. - * elf/tst-auditmod7a.c: Move to ... - * sysdeps/x86_64/tst-auditmod7a.c: ... here. - * elf/tst-auditmod7b.c: Move to ... - * sysdeps/x86_64/tst-auditmod7b.c: ... here. - -2013-04-25 Paul Pluzhnikov - - [BZ #15366] - * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.): - define unconditionally. - * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.): - define unconditionally. - (INT8_C, INT16_C, etc.): Likewise. - -2013-04-25 Maciej W. Rozycki - - * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare - __ehdr_start with hidden visibility. - - * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment. - -2013-04-24 Carlos O'Donell - - * math/libm-test.inc (cos_test): Use accurate hex constants. - (sincost_test): Likewise. - -2013-04-24 Joseph Myers - - * math/libm-test.inc (catan_test): Add more tests. - (catanh_test): Likewise. - - * math/s_catanf.c (__catanf): Use suffixed floating-point - constants. - * math/s_catanhf.c (__catanhf): Likewise. - * math/s_catanhl.c (__catanhl): Likewise. - * math/s_catanl.c (__catanl): Likewise. - - [BZ #15394] - * math/s_catan.c (__catan): Calculate imaginary part of result - with log1p not log unless computing log of number close to 0. - * math/s_catanf.c (__catanf): Likewise. - * math/s_catanl.c (__catanl): Likewise. - * math/s_catanh.c (__catanh): Calculate real part of result with - log1p not log unless computing log of number close to 0. - * math/s_catanhf.c (__catanhf): Likewise. - * math/s_catanhl.c (__catanhl): Likewise. - * math/libm-test.inc (catan_test): Add more tests. - (catanh_test): Likewise. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2013-04-24 Siddhesh Poyarekar - - * benchtests/Makefile: Mention files in which fast and slow - paths of math functions are implemented. - -2013-04-23 Roland McGrath - - * sysdeps/posix/timespec_get.c: New file. - -2013-04-23 Adhemerval Zanella - - * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for - POWER. - * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization - for POWER. - * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and - powerpc/power5/fpu folders. - * sysdeps/powerpc/powerpc32/power5/Implies: Likewise. - * benchtests/Makefile: Add modf testcase. - * benchtests/bench-modf.c: New file: Benchmark test for mo - -2013-04-23 Siddhesh Poyarekar - - [BZ #14888] - * time/Makefile (tests): Add tst-strptime-whitespace. - * time/strptime_l.c (get_number): Use ISSPACE. - (__strptime_internal): Likewise. - * time/tst-strptime-whitespace.c: New test case. - -2013-04-23 Andreas Schwab - - * nss/nss_files/files-init.c (TF): Don't initialize flexible array - member. - (_nss_files_init): Set it here. - -2013-04-23 Heiko Carstens - - * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of - f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to - unsigned. - -2013-04-22 Jan-Benedict Glaw - - * nss/getent.c (shadow_keys): Call endspent, not endpwent. - -2013-04-22 Siddhesh Poyarekar - - * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results - size just once. - -2013-04-21 David S. Miller - - * po/ru.po: Update Russion translation from translation project. - -2013-04-17 Adam Conrad - - * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid - and setfsgid. - -2013-04-17 Carlos O'Donell - - * configure.in: Remove i386 configure warning. Remove i386 case. - * configure: Regenerate. - * sysdeps/i386/configure.in: Raise error if config_machine is i386. - Add example to error message. - * sysdeps/i386/configure: Regenerate. - -2013-04-17 Siddhesh Poyarekar - - * benchtests/Makefile (bench): Add cos, tan, slowcos and - slowtan. - * benchtests/cos-inputs: New file. - * benchtests/slowcos-inputs: New file. - * benchtests/slowcos.c: New file. - * benchtests/slowtan-inputs: New file. - * benchtests/slowtan.c: New file. - * benchtests/tan-inputs: New file. - -2013-04-16 Roland McGrath - - * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now - considered kosher. - -2013-04-16 Siddhesh Poyarekar - - * benchtests/Makefile: Include cppflags-iterator.mk to add - -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs. - - * Makefile.in (bench-clean): New target. - * benchtests/Makefile (bench-clean): Likewise. - -2013-04-16 David Holsgrove - - * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations. - -2013-04-15 Thomas Schwinge - - * stdio-common/tstdiomisc.c: Fix coding-style violation. - -2013-04-15 Andreas Schwab - - * nscd/grpcache.c (cache_addgr): Properly check for short write. - * nscd/initgrcache.c (addinitgroupsX): Likewise. - * nscd/pwdcache.c (cache_addpw): Likewise. - * nscd/servicescache.c (cache_addserv): Likewise. Don't write - more than recsize. - -2013-04-15 Siddhesh Poyarekar - - * benchtests/Makefile (bench): Write all output to - bench-out.tmp together. - -2013-04-15 Andreas Schwab - - * nscd/nscd.c (main): Don't fork again after closing files. - -2013-04-15 Siddhesh Poyarekar - - * libio/tst-fwrite-error.c (do_test): Fix BUF array definition. - - * benchtests/Rules (bench-deps): Collect dependencies into a - single variable. Add Makefile to dependencies. - ($(objpfx)bench-%.c): Depend on bench-deps. - -2013-04-12 Roland McGrath - Xavier Roche - - [BZ #15361] - * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes, - just that it's a file descriptor. - * manual/llio.texi (Synchronizing AIO Operations): Update description - for EBADF error from aio_fsync. - -2013-04-12 Siddhesh Poyarekar - - * Rules (bench): Move target definition... - * benchtests/Makefile: ... here. - -2013-04-11 Carlos O'Donell - - * math/libm-test.inc (cos_test): Fix PI/2 test. - (sincos_test): Likewise. - * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate. - * sysdeps/i386/fpu/libm-test-ulps: Regenerate. - -2013-04-11 Andreas Schwab - - [BZ #13988] - * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float - accept exponent character only when digits were seen. - * stdio-common/Makefile (tests): Add bug26. - * stdio-common/bug26.c: New file. - - [BZ #14293] - * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as - non-freeable. - -2013-04-11 Siddhesh Poyarekar - - * Makeconfig (rtld-prefix): Define built linker prefix. - * Rules (run-bench): Use it. - * math/Makefile (run-regen-ulps): Likewise. - - * Rules (bench): Remove eval. - -2013-04-10 Siddhesh Poyarekar - Roland McGrath - Ondrej Bilka - - [BZ #15346] - * time/getdate.c: Include ctype.h and alloca.h. - (__getdate_r): Trim leading and trailing spaces of input. - * time/tst-getdate.c (tests): Add tests with leading and - trailing spaces. - -2013-04-08 Roland McGrath - - [BZ #14280] - * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum - when computing value. - -2013-04-06 Carlos O'Donell - - * math/README.libm-test (How can I generate "libm-test-ulps"?): - Use testrun.sh to run libm tests. - - [BZ #15309] - * elf/dl-open.c (dl_open_worker): memset all of seen array. - -2013-04-06 Marko Myllynen - - [BZ #15264] - * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr. - -2013-04-06 Carlos O'Donell - - * Makefile.in (regen-ulps): New target. - * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY. - [ifneq (no,$(PERL)] (run-regen-ulps): New variable. - [ifneq (no,$(PERL)] (regen-ulps): New target. - [ifeq (no,$(PERL)] (regen-ulps): New target. - * math/libm-test.inc (ulps_file_name): Define. - (output_dir): New variable. - (options): Add "output-dir" option. - (parse_opt): Handle 'o' case. - (main): If output_dir is non-NULL use it as a prefix - otherwise use "". - * math/README.libm-test: Update `How can I generate "libm-test-ulps"?' - -2013-04-06 Carlos O'Donell - - [BZ #10060, #10062] - * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro. - * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and - fail configure if __sync_val_compare_and_swap is not inlined. - * sysdeps/i386/configure: Regenerate. - * configure.in: Build for i686 when configured for i386. - * configure: Regenerate. - * README: Remove i386 reference. - -2013-04-06 Carlos O'Donell - - * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition. - * sysdeps/s390/s390-64/sysdep.h: Likewise. - -2013-04-05 Thomas Schwinge - - * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval) - (lmsnanval): New variables. - (F): Add conversion tests. - * stdlib/tst-strtod6.c (do_test): Add issignaling tests. - * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm). - - * stdio-common/tstdiomisc.c (F): Properly collect individual - tests' results. - - [BZ #14686, #15336] - * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions. - * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): - Instead, use input NaN values or generate a qNaN by arithmetic - operation. Also fix bugs to comply with the standard. - * math/libm-test.inc (remainder_test): Add more tests. - - [BZ #15335, #15342] - * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions. - * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use - input NaN values or generate a qNaN by arithmetic operation. - - * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove - unreachable code. - - * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused - definitions. - -2013-04-03 Joseph Myers - - [BZ #14478] - * math/s_cexp.c (__cexp): Ensure underflow exception occurs for - underflowed result. - * math/s_cexpf.c (__cexpf): Likewise. - * math/s_cexpl.c (__cexpl): Likewise. - * math/libm-test.inc (cexp_test): Add more tests. - -2013-04-03 Andreas Schwab - - [BZ #15330] - * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and - order arrays from heap if bigger than alloca cutoff. - -2013-04-03 Thomas Schwinge - - * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float) - (SNAN_TESTS_double): Refer to GCC PR56831. - * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to - GCC PR56828. - -2013-04-03 Siddhesh Poyarekar - - * Rules (bench): Move bench.out after the run is complete. - - * Rules (bench): Echo currently running benchmark. - - * benchtests/Makefile (bench): Add atan and slowatan. - * benchtests/atan-inputs: New file. - * benchtests/slowatan-inputs: New file. - * benchtests/slowatan.c: New file. - - * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition. - * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with - its value. - - [BZ #15305] - * sysdeps/unix/sysv/linux/kernel-features.h - [__LINUX_KERNEL_VERSION >= 0x02061d]: Define - __ASSUME_XFS_RESTRICTED_CHOWN. - * sysdeps/unix/sysv/linux/pathconf.c - (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]: - Save and restore errno. - -2013-04-02 Joseph Myers - - [BZ #15327] - * math/s_cacosh.c (__cacosh): Implement for finite nonzero - arguments using __kernel_casinh. - * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero - arguments using __kernel_casinhf. - * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero - arguments using __kernel_casinhl. - * math/libm-test.inc (cacosh_test): Add more tests. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2013-04-02 Siddhesh Poyarekar - - * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23. - * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t. - - * bench/Makefile (bench): Add sin and slowsin. - * benchtests/sin-inputs: New file. - * benchtests/slowsin-inputs: New file. - * benchtests/slowsin.c: New file. - - * benchtests/Makefile: Add benchmarks for slowpow and slowexp. - (bench): Add slowexp and slowpow. - (exp-ITER): Increase iterations. - (pow-ITER): Likewise. - * benchtests/exp-inputs: Change input. - * benchtests/pow-inputs: Likewise. - * benchtests/slowexp-inputs: New file. - * benchtests/slowexp.c: New file. - * benchtests/slowpow-inputs: New file. - * benchtests/slowpow.c: New file. - -2013-04-02 Adhemerval Zanella - - * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction - instructions. - * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise. - * benchtests/Makefile: Add rint benchtest. - * benchtests/rint-inputs: Input for rint benchtest. - -2013-04-02 Thomas Schwinge - - * Versions.def (libm): Add GLIBC_2.18. - * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add - hidden libm prototypes. - [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise. - * math/Makefile (libm-calls): Add s_issignaling. - * math/Versions (libm: GLIBC_2.18): Add __issignaling, - __issignalingf, __issignalingl. Adjust all libm.abilist files. - * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype - declaration. - * math/math.h [__USE_GNU] (issignaling): New macro. - * sysdeps/ieee754/flt-32/s_issignalingf.c: New file. - * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise. - * manual/arith.texi (issignaling): New section. - * manual/libm-err-tab.pl (@all_functions): Update comment. - * math/gen-libm-test.pl (parse_args): Apply special handling for - issignaling. - * math/libm-test.inc (print_float, issignaling_test): New - functions. - (check_float_internal): Add issignaling checks. - * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide - default definition. - * sysdeps/powerpc/math-tests.h: New file. - * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling - tests. - * math/test-snan.c (TEST_FUNC): Likewise. - -2013-03-30 David S. Miller - - * po/de.po: Update from translation team. - -2013-03-30 Joseph Myers - - [BZ #10357] - * math/k_casinh.c (__kernel_casinh): Handle arguments with - imaginary part less than 1.0 and real part less than 0.5 - specially. - * math/k_casinhf.c (__kernel_casinhf): Likewise. - * math/k_casinhl.c (__kernel_casinhl): Likewise. - * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro. - (cacos_test): Add more tests. - (casin_test): Likewise. - (casinh_test): Likewise. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2013-03-29 Siddhesh Poyarekar - - * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace - ONE with its value. - - * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines. - (__pow_mp): Replace ONE and MONE with their values. - * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise. - * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise. - * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise. - * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise. - * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise. - * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise. - - * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting. - - * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines. - (__pow_mp): Replace ZERO and MZERO with their values. - * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise. - * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise. - * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise. - * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise. - * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise. - * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise. - (__sqr): Likewise. - - * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting. - - * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting. - -2013-03-28 Roland McGrath - - * include/stdlib.h [!SHARED] (__call_tls_dtors): - Declare with __attribute__ ((weak)). - * stdlib/exit.c (__libc_atexit) [!SHARED]: - Call __call_tls_dtors only if it's not NULL. - -2013-03-28 Roland McGrath - - * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init - didn't do it already, then set _dl_phdr and _dl_phnum based on the - magic __ehdr_start linker symbol if it's defined. - * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set - them up here if it was already done. - - * elf/dl-support.c (_dl_phdr): Make pointer to const. - (_dl_aux_init): Use const in cast when setting it. - * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast. - * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl. - * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const. - - * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum): - Declare them here. - * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here. - * csu/libc-tls.c: Nor here. - * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here. - - * sysdeps/posix/libc_fatal.c: Don't include . - (__libc_message): Never call vsyslog. - -2013-03-28 Alan Modra - - * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc): - Define as empty. - * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc): - Likewise. - -2013-03-28 Adhemerval Zanella - - [BZ #15214] - * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious - underflow. - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - -2013-03-28 Siddhesh Poyarekar - - [BZ #15304] - * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn): - Don't add gid passed as argument. - - * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat. - -2013-03-27 Joseph Myers - - [BZ #15307] - * math/k_casinh.c (__kernel_casinh): Handle arguments with - imaginary part between 1.0 and 1.5 and real part less than 0.5 - specially. - * math/k_casinhf.c (__kernel_casinhf): Likewise. - * math/k_casinhl.c (__kernel_casinhl): Likewise. - * math/libm-test.inc (cacos_test): Add more tests. - (casin_test): Likewise. - (casinh_test): Likewise. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2013-03-26 Siddhesh Poyarekar - - * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral - constants. - (norm): Likewise. - (denorm): Likewise. - (__dbl_mp): Likewise. - (add_magnitudes): Likewise. - (sub_magnitudes): Likewise. - (__add): Likewise. - (__sub): Likewise. - (__mul): Likewise. - (__sqr): Likewise. - (__inv): Likewise. - (__dvd): Likewise. - - * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove - commented code. - * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise. - (__dubcos): Likewise. - * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise. - (__ieee754_acos): Likewise. - * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise. - * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise. - (__exp1): Likewise. - * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise. - * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise. - (log1): Likewise. - (my_log2): Likewise. - (checkint): Likewise. - * sysdeps/ieee754/dbl-64/e_remainder.c - (__ieee754_remainder): Likewise. - * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise. - * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise. - (bsloww): Likewise. - * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise. - - * sysdeps/ieee754/dbl-64/mpa-arch.h: New file. - * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and - MANTISSA_STORE_T to store computations on mantissa. Use - macros for rounding and division. - (denorm): Likewise. - (__dbl_mp): Likewise. - (add_magnitudes): Likewise. - (sub_magnitudes): Likewise. - (__mul): Likewise. - (__sqr): Likewise. - * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define - powers of two in terms of TWOPOW macro. - (mp_no): Make type of mantissa as MANTISSA_T. - [!RADIXI]: Define RADIXI. - [!TWO52]: Define TWO52. - * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file. - -2013-03-25 Adhemerval Zanella - - * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing - llroundl symbol when building for PPC32. - -2013-03-24 Mark H Weaver - - * manual/arith.texi (Normalization Functions): Fix prototypes for - scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl. - -2013-03-19 Adhemerval Zanella - - [BZ #13889] - * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the - high value to check if expl overflow. - * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants - to check for underflow and overflow. - * math/libm-test.inc: Add exp test. - -2013-03-21 Dmitry V. Levin - - [BZ #11120] - * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib - with NOT_IN_libc. - -2013-03-21 Adhemerval Zanella - - * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat - symbol. - -2013-03-21 Thomas Schwinge - - * math/gen-libm-test.pl (parse_args, special_functions): Properly - wrap blocks consisting of several statements. - - * sysdeps/generic/math-tests.h: New file. - * sysdeps/i386/fpu/math-tests.h: Likewise. - * math/test-snan.c: Include it. - (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests. - -2013-03-21 Joseph Myers - - [BZ #15285] - * sysdeps/ieee754/ldbl-128/e_j0l.c: Include . - (__ieee754_j0l): Do not improve calculations using cos of twice - input for inputs above LDBL_MAX / 2.0L. - (__ieee754_y0l): Likewise. - * sysdeps/ieee754/ldbl-128/e_j1l.c: Include . - (__ieee754_j1l): Do not improve calculations using cos of twice - input for inputs above LDBL_MAX / 2.0L. - (__ieee754_y1l): Likewise. - * math/libm-test.inc (j0_test): Add another test. - (j1_test): Likewise. - (y0_test): Likewise. - (y1_test): Likewise. - * sysdeps/i386/fpu/libm-test-ulps: Update. - -2013-03-21 Siddhesh Poyarekar - - * Rules ($(objpfx)bench-%.c): Include code from a C source - file. - -2013-03-21 Joseph Myers - - [BZ #15287] - * math/k_casinh.c (__kernel_casinh): Handle arguments with - imaginary part 1.0 and real part less than 0.5 specially. - * math/k_casinhf.c (__kernel_casinhf): Likewise. - * math/k_casinhl.c (__kernel_casinhl): Likewise. - * math/libm-test.inc (cacos_test): Add more tests. - (casin_test): Likewise. - (casinh_test): Likewise. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2013-03-21 Siddhesh Poyarekar - - * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD. - * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise. - -2013-03-20 Joseph Myers - - * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro. - * config.make.in (config-cflags-sse4): Remove variable. - (config-cflags-avx): Likewise. - (config-cflags-sse2avx): Likewise. - (config-cflags-novzeroupper): Likewise. - (config-asflags-i686): Likewise. - (have-mfma4): Likewise. - (have-as-vis3): Likewise. - (MIG): Likewise. - * configure.in (MIG): Do not AC_SUBST. - (libc_cv_cc_nofma): Move AC_SUBST next to configure test. - (libc_cv_cc_sse4): Do not AC_SUBST. - (libc_cv_cc_avx): Likewise. - (libc_cv_cc_sse2avx): Likewise. - (libc_cv_cc_novzeroupper): Likewise. - (libc_cv_cc_fma4): Likewise. - (libc_cv_as_i686): Likewise. - (libc_cv_sparc_as_vis3): Likewise. - * sysdeps/i386/configure.in (config-cflags-sse4): Set using - LIBC_CONFIG_VAR. - (config-asflags-i686): Likewise. - (config-cflags-avx): Likewise. - (config-cflags-sse2avx): Likewise. - (have-mfma4): Likewise. - (config-cflags-novzeroupper): Likewise. - * sysdeps/mach/configure.in (MIG): Likewise. - * sysdeps/sparc/configure.in (have-as-vis3): Likewise. - * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using - LIBC_CONFIG_VAR. - (config-cflags-avx): Likewise. - (config-cflags-sse2avx): Likewise. - (have-mfma4): Likewise. - (config-cflags-novzeroupper): Likewise. - * configure: Regenerated. - * sysdeps/i386/configure: Likewise. - * sysdeps/mach/configure: Likewise. - * sysdeps/sparc/configure: Likewise. - * sysdeps/x86_64/configure: Likewise. - -2013-03-20 Roland McGrath - - [BZ #14812] - * locale/programs/localedef.c (options): Put N_ translation marker - on argument names, not just descriptions. - -2013-03-20 Marcus Shawcroft - - * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir). - -2013-03-20 Ondƙej BĂ­lka - - [BZ #14176] - * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur. - -2013-03-19 Roland McGrath - - * sysdeps/posix/libc_fatal.c: Include . - [!WRITEV_FOR_FATAL] (writev_for_fatal): New function. - [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that. - [!BEFORE_ABORT] (before_abort): New function. - [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that. - * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes. - (writev_for_fatal): New function. - (WRITEV_FOR_FATAL): New macro; call that. - (backtrace_and_maps): New function. - (BEFORE_ABORT): New macro; call that. - (struct str_list): Type removed. - (__libc_message, __libc_fatal): Functions removed. - Include instead. - -2013-03-19 Joseph Myers - - * math/k_casinhf.c (__kernel_casinhf): Consistently use float - constants. - * math/k_casinhl.c (__kernel_casinhl): Consistently use long - double constants. - -2013-03-19 Andreas Schwab - - * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x. - * sysdeps/gnu/configure: Regenerate. - - * configure.in: Substitute libc_cv_rtlddir. - * configure: Regenerate. - * config.make.in (rtlddir): Set from libc_cv_rtlddir. - * Makeconfig (rtlddir, inst_rtlddir): New variables. - (rtld-LDFLAGS): Use them with $(rtld-installed-name). - * elf/Makefile (install-others, CFLAGS-interp.c) - (ldso_install, common-ldd-rewrite): Likewise. - ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from - $(inst_slibdir)/$(rtld-installed-name). - * scripts/rellns-sh: Add -p option. - * Makerules (make-shlib-link): Use rellns-sh to get relative name - for source. - -2013-03-19 Siddhesh Poyarekar - - * manual/nptl.texi: Renamed to ... - * manual/threads.texi: ... this. - * manual/Makefile (chapters): Update. - -2013-03-18 Roland McGrath - - [BZ #14812] - * argp/argp-parse.c (argp_default_options): Put N_ translation marker - on argument names, not just descriptions. - * malloc/memusagestat.c (options): Likewise. - * nss/getent.c (options): Likewise. - -2013-03-18 Benno Schulenberg - - [BZ #14812] - * iconv/iconv_prog.c (options): Put N_ translation marker - on argument names, not just descriptions. - * iconv/iconvconfig.c (options): Likewise. - -2013-03-18 Ondrej Bilka - - * sysdeps/x86_64/strlen.S: Replace with new SSE2 based - implementation which is faster on all x86_64 architectures. - Tested on AMD, Intel Nehalem, SNB, IVB. - * sysdeps/x86_64/strnlen.S: Likewise. - - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): - Remove all multiarch strlen and strnlen versions. - * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update. - Remove strlen and strnlen related parts. - - * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update. - Inline strlen part. - * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise. - - * sysdeps/x86_64/multiarch/strlen.S: Remove. - * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise. - * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise. - * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise. - * sysdeps/x86_64/multiarch/strnlen.S: Likewise. - * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise. - -2013-03-17 Carlos O'Donell - - * manual/memory.texi (Malloc Tunable Parameters): - Sort parameters alphabetically. Add comments for missing entries. - -2013-03-17 David S. Miller - - * sysdeps/sparc/fpu/libm-test-ulps: Update. - -2013-03-16 Joseph Myers - - [BZ #15283] - * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test - for arguments at most half maximum finite value. - * math/libm-test.inc (j0_test): Add more tests. - (j1_test): Likewise. - (y0_test): Likewise. - (y1_test): Likewise. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - [BZ #14155] - * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute - 1 / x and functions P and Q for arguments above 0x1p256L. - (__ieee754_y0l): Likewise. - * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise. - (__ieee754_y1l): Likewise. - * math/libm-test.inc (j0_test): Do not allow spurious underflows. - (j1_test): Likewise. - (y0_test): Likewise. - (y1_test): Likewise. - -2013-03-16 Thomas Schwinge - - * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var - variable. - -2013-03-15 Roland McGrath - - * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ. - (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be - zero since it's initialized to EXEC_PAGESIZE. - - * sysdeps/unix/sysv/linux/ldsodefs.h - (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ... - * sysdeps/generic/ldsodefs.h: ... here. - -2013-03-15 Thomas Schwinge - - * math/libm-test.inc (ldexp_test): Add missing START/END markers. - - * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to - math/test-snan.c. - * math/test-snan.c: Renamed from - sysdeps/powerpc/fpu/test-powerpc-snan.c. - * math/Makefile (tests): Add test-snan. - * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add - test-powerpc-snan. - - * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with - SUFFIX. Initialize qNaN_var with __builtin_nan family of - functions. - (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with - __builtin_nan family of functions. - * math/libm-test.inc (initialize): Initialize qnan_value with - __builtin_nan family of functions. - * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl): - Remove variables. - (init_signaling_nan, snan_float, snan_double, snan_ldouble): - Remove functions. - (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static - storage class. Initialize qNaN_var and sNaN_var with - __builtin_nan and __builtin_nans families of functions, - respectively. - - * math/libm-test.inc (acosh_test): Also test with qNaN input. - (sqrt_test): Remove duplicate test with qNaN input. - (lrint_test, llrint_test, lround_test, llround_test, rint_test) - (round_test, signbit_test, significand_test): Note missing +/-Inf - as well as qNaN tests. - - * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to - qNaN_var. Fix a few strings, too. - * math/libm-test.inc (nan_value): Rename to qnan_value. - * math/gen-libm-test.pl (%beautify): Adjust to that. - * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN. - * math/test-misc.c (main): Likewise. - * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename - to __qnan_bytes, and __qnan_union, respectively. - * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union): - Likewise. - * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval, - and lqnanval, respectively. - * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN. - * sysdeps/powerpc/fpu/fenv_libc.h: Likewise. - * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise, - and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var. - - * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test. - * math/test-misc.c (main) [__x86_64__]: Enable test for long - doubles. - - * math/test-misc.c (main): Fix copy'n'pastos. - * misc/tst-efgcvt.c (special): Likewise. - - * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal): - Remove declarations. - -2013-03-15 Siddhesh Poyarekar - - * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove. - * sysdeps/ieee754/dbl-64/mpa.c: Revert last change. - * sysdeps/ieee754/dbl-64/mpa.h: Revert last change. - * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove. - -2013-03-15 Adhemerval Zanella - - * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add - macro to return vdso values correctly in IFUNC implementations. - * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday): - Optimization by using IFUNC. - -2013-03-15 Siddhesh Poyarekar - Richard Henderson - Tulio Magno Quites Machado Filho - - * Makefile.in (bench): New target. - * NEWS: Mention the benchmark framework. - * Rules (bench): Likewise. - (binaries-bench): Generate binaries for functions to - benchmark. - * benchtests/Makefile: New makefile for benchmark tests. - * benchtests/bench-skeleton.c: New skeleton file for benchmark - programs. - * benchtests/exp-inputs: New input file for EXP function. - * benchtests/pow-inputs: New input file for POW function. - * scripts/bench.pl: New script to generate source files for - benchmark programs. - -2013-03-15 Siddhesh Poyarekar - - * sysdeps/ieee754/dbl-64/mpa-arch.h: New file. - * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store - computations on mantissa. Use macros for rounding and - division. - (denorm): Likewise. - (__dbl_mp): Likewise. - (add_magnitudes): Likewise. - (sub_magnitudes): Likewise. - (__mul): Likewise. - (__sqr): Likewise. - * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define - powers of two in terms of TWOPOW macro. - (mp_no): Make type of mantissa as MANTISSA_T. - [!RADIXI]: Define RADIXI. - [!TWO52]: Define TWO52. - * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file. - - * manual/nptl.texi (cindex): Modify threads to pthreads. - -2013-03-15 Joseph Myers - - * sysdeps/x86_64/preconfigure: Regenerated. - -2013-03-14 Joseph Myers - - [BZ #14155] - * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments - 0x1p28 and above. - (qzero): Return -0.125 / x for arguments 0x1p28 and above. - * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments - 0x1p28 and above. - (qzero): Return 0.375 / x for arguments 0x1p28 and above. - * math/libm-test.inc (j0_test): Do not allow one spurious - underflow exception. - (y1_test): Likewise. - -2013-03-14 Siddhesh Poyarekar - - * manual/Makefile (chapters): Add nptl. - * manual/debug.texi (Debugging Support): Add link to Threads - chapter. - * manual/nptl.texi: New file. - - * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting. - -2013-03-14 Petr Baudis - - * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test - for non-NULL pointer before the memory validity test. Pointed - out by Holger Brunck . - -2013-03-13 Andreas Schwab - - * extra-lib.mk (extra-objs): Add static-only-routines as .oS - instead of .os. - -2013-03-13 Joseph Myers - - * timezone/zic.c: Update from tzcode 2013b. - -2013-03-12 Carlos O'Donell - - * manual/install.texi (Configuring and compiling): - Mention i686 and i586. - * INSTALL: Regenerate. - -2013-03-12 Roland McGrath - - * sysdeps/init_array/elf-init.c: New file. - * csu/elf-init.c - (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this. - (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this. - - * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define - __gmon_start__ as global, but as static with a .preinit_array pointer. - * sysdeps/init_array/gmon-start.c: New file. Use that. - * sysdeps/init_array/crti.S: New file, empty except for comments. - * sysdeps/init_array/crtn.S: Likewise. - -2013-03-11 Ondƙej BĂ­lka - - * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for - definining bcopy. - * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): - Remove Prefer_SSE_for_memop. - * sysdeps/x86_64/multiarch/init-arch.h: Remove - bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop, - HAS_PREFER_SSE_FOR_MEMOP. - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove - memset-x86-64. - * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list): - Remove bzero, memset ifunc support. - * sysdeps/x86_64/multiarch/bzero.S: Remove file. - * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise. - * sysdeps/x86_64/multiarch/memset.S: Likewise. - * sysdeps/x86_64/multiarch/memset_chk.S: Likewise. - -2013-03-11 Andreas Schwab - - [BZ #15234] - * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used - by SHLIB_COMPAT. - * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist - (GLIBC_2.16): Remove pthread_atfork. - -2013-03-08 Paul Pluzhnikov - - * posix/Makefile (testcases.h): Set LC_ALL=C before sed. - (ptestcases.h): Likewise. - -2013-03-08 Roland McGrath - - * Makeconfig ($(common-objpfx)config.status): Depend on - sysdeps/*/preconfigure{,.in} too. - -2013-03-08 Joseph Myers - - * malloc/malloc.h (__malloc_ptr_t): Remove macro. - (__free_hook): Use void * instead of __malloc_ptr_t. - (__malloc_hook): Likewise. - (__realloc_hook): Likewise. - (__memalign_hook): Likewise. - (__after_morecore_hook): Likewise. - * malloc/arena.c (save_malloc_hook): Likewise. - (save_free_hook): Likewise. - * malloc/hooks.c (malloc_hook_ini): Likewise. - (realloc_hook_ini): Likewise. - (memalign_hook_ini): Likewise. - * malloc/malloc.c (malloc_hook_ini): Likewise. - (realloc_hook_ini): Likewise. - (memalign_hook_ini): Likewise. - (__free_hook): Likewise. - (__malloc_hook): Likewise. - (__realloc_hook): Likewise. - (__memalign_hook): Likewise. - (__libc_malloc): Likewise. - (__libc_free): Likewise. - (__libc_realloc): Likewise. - (__libc_memalign): Likewise. - (__libc_valloc): Likewise. - (__libc_pvalloc): Likewise. - (__libc_calloc): Likewise. - (__posix_memalign): Likewise. - * malloc/morecore.c (__sbrk): Likewise. - (__default_morecore): Likewise. - - * malloc/morecore.c (__default_morecore): Use ISO C prototype. - - * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro. - * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of - __malloc_ptrdiff_t. - - * malloc/malloc.h (__malloc_size_t): Remove macro. - * malloc/mcheck.c (old_malloc_hook): Use size_t instead of - __malloc_size_t. - (old_memalign_hook): Likewise. - (old_realloc_hook): Likewise. - (struct hdr): Likewise. - (flood): Likewise. - (mallochook): Likewise. - (memalignhook): Likewise. - (reallochook): Likewise. - * malloc/mtrace.c (tr_old_malloc_hook): Likewise. - (tr_old_realloc_hook): Likewise. - (tr_old_memalign_hook): Likewise. - (tr_mallochook): Likewise. - (tr_reallochook): Likewise. - (tr_memalignhook): Likewise. - -2013-03-08 Adhemerval Zanella - - * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to - default_ldbl_pack and using as default implementation. - (ldbl_unpack): Rename to default_ldbl_unpack and using as default - implementation. - * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove - redundant definition. - (ldbl_insert_mantissa): Likewise. - (ldbl_canonicalize): Likewise. - (ldbl_nearbyint): Likewise. - (ldbl_pack): Rename to ldbl_pack_ppc. - (ldbl_unpack): Rename to ldbl_unpack_ppc. - * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file. - * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm. - -2013-03-08 Siddhesh Poyarekar - - * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file... - * sysdeps/powerpc/power4/fpu/mpa.c: ... here. - * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file... - * sysdeps/powerpc/power4/fpu/Makefile: ... here. - * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file. - * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file. - * sysdeps/powerpc/powerpc32/power4/Implies: New file. - * sysdeps/powerpc/powerpc64/power4/Implies: New file. - -2013-03-07 Andreas Jaeger - - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add - bits/mman-linux.h. - -2013-03-07 Siddhesh Poyarekar - - * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]: - Include mpa.h and declare __MPEXP. - [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL. - * sysdeps/powerpc/powerpc32/power4/fpu/Makefile - (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP. - * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove. - * sysdeps/powerpc/powerpc64/power4/fpu/Makefile - (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP. - * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove. - - * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP] - (__slowpow): Use long double EXPL and LOGL functions to - compute POW. - * sysdeps/powerpc/powerpc32/power4/fpu/Makefile - (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP. - * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove. - * sysdeps/powerpc/powerpc64/power4/fpu/Makefile - (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP. - * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove. - - * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use - intermediate variable to calculate exponent. - (__sqr): Likewise. - * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): - Likewise. - (__sqr): Likewise. - - * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul. - [!NO__SQR]: Define __sqr. - * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL - and NO__SQR. Remove all code except __mul and __sqr. Include - sysdeps/ieee754/dbl-64/mpa.c. - * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise. - - [BZ #12723] - * posix/Makefile (tests): Add tst-pathconf. - * posix/tst-pathconf.c: New test case. - * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove - _PC_PIPE_BUF. - * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise. - -2013-03-06 Patsy Franklin - - * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR. - -2013-03-06 Andreas Jaeger - - * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow - definition via __MAP_ANONYMOUS. - - * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove, - it's not part of Linux headers. - - * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define. - (MAP_HUGE_MASK): Define. - - * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL): - Define. - (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL. - * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL): - Define. - (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL. - * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL): - Define. - (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL. - * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL): - Define. - (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL. - - * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise. - * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define. - * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise. - * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise. - * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define. - - * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max): - Handle f2fs. - - * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags): - Handle f2fs and efivarfs. - - * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle - f2fs. - - * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add. - (EFIVARFS_MAGIC): Add. - (F2FS_LINK_MAX): Add. - -2013-03-06 Paul Pluzhnikov - - * stdio-common/vfprintf.c: Replace __builtin_expect with - __glibc_unlikely. - -2013-03-06 Joseph Myers - - [BZ #13550] - * sysdeps/generic/bp-sym.h: Remove file. - * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise. - * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include - and . - (__longjmp): Don't use BP_SYM. - * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include - and . - (memcpy): Don't use BP_SYM. - * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include - and . - (memcpy): Don't use BP_SYM. - * sysdeps/powerpc/powerpc64/memcpy.S: Don't include and - . - (memcpy): Don't use BP_SYM. - * sysdeps/powerpc/powerpc64/memset.S: Don't include and - . - (memset): Don't use BP_SYM. - (memset) [__BOUNDED_POINTERS__]: Remove conditional code. - (memset) [!__BOUNDED_POINTERS__]: Make code unconditional. - (__bzero): Don't use BP_SYM. - (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code. - (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional. - * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include - and . - (memcmp): Don't use BP_SYM. Remove comment about bounded - pointers. - * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include - and . - (memcpy): Don't use BP_SYM. - * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include - and . - (memset): Don't use BP_SYM. - (memset) [__BOUNDED_POINTERS__]: Remove conditional code. - (memset) [!__BOUNDED_POINTERS__]: Make code unconditional. - (__bzero): Don't use BP_SYM. - (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code. - (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional. - * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include - and . - (strncmp): Don't use BP_SYM. Remove comment about bounded - pointers. - * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include - and . - (memcpy): Don't use BP_SYM. - * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include - and . - (memset): Don't use BP_SYM. - (memset) [__BOUNDED_POINTERS__]: Remove conditional code. - (memset) [!__BOUNDED_POINTERS__]: Make code unconditional. - (__bzero): Don't use BP_SYM. - (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code. - (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional. - * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include - and . - (__memchr): Don't use BP_SYM. - * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include - and . - (memcmp): Don't use BP_SYM. Remove comment about bounded - pointers. - * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include - and . - (memcpy): Don't use BP_SYM. - * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include - and . - (__mempcpy): Don't use BP_SYM. - * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include - and . - (__memrchr): Don't use BP_SYM. - * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include - and . - (memset): Don't use BP_SYM. - (__bzero): Likewise. - * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include - and . - (__rawmemchr): Don't use BP_SYM. - * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include - and . - (__STRCMP): Don't use BP_SYM. - * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include - and . - (strchr): Don't use BP_SYM. - * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include - and . - (__strchrnul): Don't use BP_SYM. - * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include - and . - (strlen): Don't use BP_SYM. - * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include - and . - (strncmp): Don't use BP_SYM. Remove comment about bounded - pointers. - * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include - and . - (__strnlen): Don't use BP_SYM. - * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include - and . - (__GI__setjmp): Don't use BP_SYM. - (_setjmp): Likewise. - (__sigsetjmp): Likewise. - * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h". - (L(start_addresses)): Don't use BP_SYM. - (_start): Likewise. - * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include and - . - (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW, - STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE. - (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code. - (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional. - * sysdeps/powerpc/powerpc64/strchr.S: Don't include and - . - (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS, - CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment - about bounded pointers. - (strchr) [__BOUNDED_POINTERS__]: Remove conditional code. - (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional. - * sysdeps/powerpc/powerpc64/strcmp.S: Don't include and - . - (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment - about bounded pointers. Remove GKM FIXME comments. - (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code. - * sysdeps/powerpc/powerpc64/strcpy.S: Don't include and - . - (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and - STORE_RETURN_BOUNDS. Remove comment about bounded pointers. - Remove GKM FIXME comments. - (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code. - (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional. - * sysdeps/powerpc/powerpc64/strlen.S: Don't include and - . - (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment - about bounded pointers. Remove GKM FIXME comment. - * sysdeps/powerpc/powerpc64/strncmp.S: Don't include - and . - (strncmp): Don't use BP_SYM. Remove comment about bounded - pointers. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include - and . - (__brk): Don't use BP_SYM and DISCARD_BOUNDS. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include - and . - (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME - comment. - -2013-03-05 Paul Pluzhnikov - - * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't - call free(NULL). - -2013-03-05 David S. Miller - - * po/es.po: Update from translation team. - -2013-03-05 Andreas Jaeger - - * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include - . - (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value - is fine. - * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of - to end of file. - (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value - is fine. - * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of - to end of file. - (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value - is fine. - * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of - to end of file. - - * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT] - (MCL_CURRENT, MCL_FUTURE): Define here. - -2013-03-05 Andreas Krebbel - - [BZ #15232] - * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use - attribute_hidden. - * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise. - -2013-03-05 Andreas Krebbel - - * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the - fourth parameter needed for rt_sigprocmask syscall. - * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: - * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise. - * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8. - -2013-03-04 Joseph Myers - - [BZ #13550] - * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove - comment about bounded pointers. - * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise. - * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise. - -2013-03-04 Andreas Jaeger - - * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux - common definitions. - - * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines - provided by bits/mman-linux.h and include . - * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise. - -2013-03-04 Adhemerval Zanella - - [BZ #15055] - * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use - __ieee754_sqrl instead of __sqrl. - -2013-03-01 Joseph Myers - - * sysdeps/powerpc/fpu/fpu_control.h: Move to ... - * sysdeps/powerpc/fpu_control.h: ... here. - * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ... - * sysdeps/powerpc/bits/fenvinline.h: ... here. - * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ... - * sysdeps/powerpc/bits/mathinline.h: ... here. - -2013-03-01 Roland McGrath - - * elf/dl-hwcaps.c (_dl_important_hwcaps): - Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals - to just [NEED_DL_SYSINFO_DSO]. - * elf/dl-support.c: Likewise. - * elf/dl-sysdep.c (_dl_sysdep_start): Likewise. - * elf/rtld.c (dl_main): Likewise. - * elf/setup-vdso.h (setup_vdso): Likewise. - * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise. - * sysdeps/unix/sysv/linux/dl-sysdep.c - (_dl_discover_osversion): Likewise. - -2013-03-01 Carlos O'Donell - - * csu/libc-start.c (__pthread_initialize_minimal): Revert last change. - * csu/libc-tls.c (__pthread_initialize_minimal): Likewise. - -2013-03-01 Siddhesh Poyarekar - - * NEWS: Mention libm performance improvements and non-x86 PI - futex support. - - * csu/libc-start.c (__pthread_initialize_minimal): Change - function arguments. - * csu/libc-tls.c (__pthread_initialize_minimal): Likewise. - -2013-02-28 Joseph Myers - - [BZ #13550] - * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file. - * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include - and . - (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT. - * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include - and . - (memcpy): Don't use BP_SYM. - * sysdeps/powerpc/powerpc32/add_n.S: Don't include and - . - (__mpn_add_n): Don't use BP_SYM. - (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code. - * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include - and . - (__mpn_addmul_1): Don't use BP_SYM. - (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code. - * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include - . - (_setjmp): Don't use BP_SYM. - (__novmx_setjmp): Likewise. - (__GI__setjmp): Likewise. - (__vmx_setjmp): Likewise. - * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include - . - * sysdeps/powerpc/powerpc32/bzero.S: Don't include . - (__bzero): Don't use BP_SYM. - (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code. - (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional. - * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include - and . - (memcpy): Don't use BP_SYM. - * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include - and . - (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT. - * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include - and . - (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT. - * sysdeps/powerpc/powerpc32/lshift.S: Don't include and - . - (__mpn_lshift): Don't use BP_SYM. - (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code. - * sysdeps/powerpc/powerpc32/memset.S: Don't include and - . - (memset): Don't use BP_SYM. - (memset) [__BOUNDED_POINTERS__]: Remove conditional code. - (memset) [!__BOUNDED_POINTERS__]: Make code unconditional. - * sysdeps/powerpc/powerpc32/mul_1.S: Don't include and - . - (__mpn_mul_1): Don't use BP_SYM. - (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code. - * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include - and . - (memcmp): Don't use BP_SYM. - * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include - and . - (memcpy): Don't use BP_SYM. - * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include - and . - (memset): Don't use BP_SYM. - * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include - and . - (strncmp): Don't use BP_SYM. - * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include - and . - (memcpy): Don't use BP_SYM. - * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include - and . - (memset): Don't use BP_SYM. - * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include - and . - (__memchr): Don't use BP_SYM. - * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include - and . - (memcmp): Don't use BP_SYM. - * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include - and . - (memcpy): Don't use BP_SYM. - * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include - and . - (__mempcpy): Don't use BP_SYM. - * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include - and . - (__memrchr): Don't use BP_SYM. - * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include - and . - (memset): Don't use BP_SYM. - * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include - and . - (__rawmemchr): Don't use BP_SYM. - * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include - and . - (__STRCMP): Don't use BP_SYM. - * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include - and . - (strchr): Don't use BP_SYM. - * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include - and . - (__strchrnul): Don't use BP_SYM. - * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include - and . - (strlen): Don't use BP_SYM. - * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include - and . - (strncmp): Don't use BP_SYM. - * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include - and . - (__strnlen): Don't use BP_SYM. - * sysdeps/powerpc/powerpc32/rshift.S: Don't include and - . - (__mpn_rshift): Don't use BP_SYM. - (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code. - * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include - and . - (__sigsetjmp): Don't use BP_SYM. - * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h". - (L(start_addresses)): Don't use BP_SYM. - (_start): Likewise. - * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include and - . - (__stpcpy): Don't use BP_SYM and macros from bp-asm.h. - (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code. - (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional. - * sysdeps/powerpc/powerpc32/strchr.S: Don't include and - . - (strchr): Don't use BP_SYM.h and macros from bp-asm.h. - (strchr) [__BOUNDED_POINTERS__]: Remove conditional code. - (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional. - * sysdeps/powerpc/powerpc32/strcmp.S: Don't include and - . - (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME - comments. - (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code. - * sysdeps/powerpc/powerpc32/strcpy.S: Don't include and - . - (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM - FIXME comments. - (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code. - (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional. - * sysdeps/powerpc/powerpc32/strlen.S: Don't include and - . - (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME - comment. - * sysdeps/powerpc/powerpc32/strncmp.S: Don't include - and . - (strncmp): Don't use BP_SYM, - * sysdeps/powerpc/powerpc32/sub_n.S: Don't include and - . - (__mpn_sub_n): Don't use BP_SYM. - (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code. - * sysdeps/powerpc/powerpc32/submul_1.S: Don't include - and . - (__mpn_submul_1): Don't use BP_SYM. - (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include - and . - (__brk): Don't use BP_SYM and DISCARD_BOUNDS. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include - and . - (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME - comment. - -2013-02-28 Siddhesh Poyarekar - - * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes): - Use ZK to minimize writes to Z. - (sub_magnitudes): Simplify code a bit. - * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes): - Use ZK to minimize writes to Z. - (sub_magnitudes): Simplify code a bit. - -2013-02-27 Roland McGrath - - * csu/gmon-start.c: Add special exception to license text. - -2013-02-27 Richard Henderson - - * scripts/config.guess: Update from config.git. - * scripts/config.sub: Likewise. - -2013-02-27 Siddhesh Poyarekar - - * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat. - - * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat. - - * sysdeps/ieee754/dbl-64/mpatan.c: Reformat. - - * sysdeps/ieee754/dbl-64/mptan.c: Reformat. - - * sysdeps/ieee754/dbl-64/mplog.c: Reformat. - -2013-02-26 Roland McGrath - - * Makeconfig (%.v.i, %.v): Move these pattern rules outside of - [$(build-shared = yes]. - -2013-02-26 Siddhesh Poyarekar - - * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h. - (__mul): Reduce iterations for calculating mantissa. - - * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and - MPTWO. - (__mpranred): Likewise. - - [BZ #15160] - * malloc/memusagestat.c (main): Draw graphs for heap and stack - only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero. - -2013-02-26 Paul Eggert - - * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]: - Define __attribute__. - -2013-02-26 Siddhesh Poyarekar - - * locale/elem-hash.h (elem_hash): Mark as pure and possibly - unused. - * posix/regex_internal.h (__attribute): Remove. - [!_LIBC && __i386__]: Use __attribute__ instead of __attribute. - (re_string_context_at): Likewise. - (bitset_not): Use __attribute__ and mark function as possibly - unused. - (bitset_merge): Likewise. - (bitset_mask): Likewise. - (re_string_char_size_at): Likewise. - (re_string_wchar_at): Likewise. - (re_string_elem_size_at): Likewise. - -2013-02-25 Siddhesh Poyarekar - - * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented - code. - (cc32): Likewise. - - * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int. - (__acr): Likewise. - (__cpy): Likewise. - (norm): Likewise. - (denorm): Likewise. - (__dbl_mp): Likewise. - (add_magnitudes): Likewise. - (sub_magnitudes): Likewise. - (__mul): Likewise. - (__inv): Likewise. - - * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding - style. - - * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding - style. - - * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented - code. - - * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync - up changes with default code. - * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl): - Likewise. - -2013-02-24 Allan McRae - - * manual/socket.texi (The Internet Namespace): Order menu items - to match that in the file. - - * manual/libc-texinfo.sh: Use @detailmenu around the detailed - node listing of the info page menu. - -2013-02-21 Joseph Myers - - [BZ #13550] - * sysdeps/i386/bp-asm.h: Remove file. - * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (S1): Likewise. - (S2): Likewise. - (SIZE): Likewise. - (__mpn_add_n): Do not use BP_SYM - * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and - "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (S1): Likewise. - (SIZE): Likewise. - (__mpn_addmul_1): Do not use BP_SYM - * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and - "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (SIGMSK): Likewise. - (_setjmp): Likewise. Do not use BP_SYM. - * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and - "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (SIGMSK): Likewise. - (setjmp): Likewise. Do not use BP_SYM. - * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and - "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (__frexp): Do not use BP_SYM. - (frexp): Likewise. - * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and - "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (__frexpf): Do not use BP_SYM. - (frexpf): Likewise. - * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and - "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (__frexpl): Do not use BP_SYM. - (frexpl): Likewise. - * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and - "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (__remquo): Do not use BP_SYM. - (remquo): Likewise. - * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and - "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (__remquof): Do not use BP_SYM. - (remquof): Likewise. - * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and - "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (__remquol): Do not use BP_SYM. - (remquol): Likewise. - * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and - "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (DEST): Likewise. - (SRC): Likewise. - (strcat): Remove GKM FIXME comment. Do not use BP_SYM. - * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and - "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (strlen): Do not use BP_SYM. - * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and - "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (S1): Likewise. - (S2): Likewise. - (SIZE): Likewise. - (__mpn_add_n): Do not use BP_SYM. - * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and - "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (S1): Likewise. - (SIZE): Likewise. - (__mpn_addmul_1): Do not use BP_SYM. - * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in - weak_alias. - (bzero): Likewise. - * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and - "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (S): Likewise. - (SIZE): Likewise. - (__mpn_lshift): Do not use BP_SYM. - * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and - "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (DEST): Likewise. - (SRC): Likewise. - (LEN): Likewise. - (memcpy): Likewise. Do not use BP_SYM. - * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in - libc_hidden_def and weak_alias. - (mempcpy): Do not use BP_SYM in weak_alias. - * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and - "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (DEST): Likewise. - (LEN): Likewise. - [!BZERO_P] (CHR): Likewise. - (memset): Likewise. Do not use BP_SYM. - * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and - "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (S1): Likewise. - (SIZE): Likewise. - (__mpn_mul_1): Do not use BP_SYM. - * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and - "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (S): Likewise. - (SIZE): Likewise. - (__mpn_rshift): Do not use BP_SYM. - * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and - "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (STR): Likewise. - (CHR): Likewise. - (strchr): Likewise. Do not use BP_SYM. - (index): Do not use BP_SYM in weak_alias. - * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and - "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (DEST): Likewise. - (SRC): Likewise. - (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM. - * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and - "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (strlen): Do not use BP_SYM. - * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and - "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (S1): Likewise. - (S2): Likewise. - (SIZE): Likewise. - (__mpn_sub_n): Do not use BP_SYM. - * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and - "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (S1): Likewise. - (SIZE): Likewise. - (__mpn_submul_1): Do not use BP_SYM. - * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and - "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (S1): Likewise. - (S2): Likewise. - (SIZE): Likewise. - (__mpn_add_n): Do not use BP_SYM. - * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in - weak_alias. - (bzero): Likewise. - * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and - "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (BLK2): Likewise. - (LEN): Likewise. - (memcmp): Do not use BP_SYM. - (bcmp): Do not use BP_SYM in weak_alias. - * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and - "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (DEST): Likewise. - (SRC): Likewise. - (LEN): Likewise. - (memcpy): Likewise. Do not use BP_SYM. - * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and - "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (DEST): Likewise. - (SRC): Likewise. - (LEN): Likewise. - (memmove): Likewise. Do not use BP_SYM. - * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and - "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (DEST): Likewise. - (SRC): Likewise. - (LEN): Likewise. - (__mempcpy): Likewise. Do not use BP_SYM. - (mempcpy): Do not use BP_SYM in weak_alias. - * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and - "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (DEST): Likewise. - (LEN): Likewise. - [!BZERO_P] (CHR): Likewise. - (memset): Likewise. Do not use BP_SYM. - * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and - "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (STR2): Likewise. - (strcmp): Do not use BP_SYM. - * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and - "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (STR): Likewise. - (DELIM): Likewise. - [USE_AS_STRTOK_R] (SAVE): Likewise. - (FUNCTION): Likewise. Do not use BP_SYM. - * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in - aliases. - (strtok_r): Likewise. - (__GI___strtok_r): Likewise. - * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (S): Likewise. - (SIZE): Likewise. - (__mpn_lshift): Do not use BP_SYM. - * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (STR): Likewise. - (CHR): Likewise. - (__memchr): Do not use BP_SYM. - (memchr): Do not use BP_SYM in weak_alias. - * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (BLK2): Likewise. - (LEN): Likewise. - (memcmp): Do not use BP_SYM. - (bcmp): Do not use BP_SYM in weak_alias. - * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (S1): Likewise. - (SIZE): Likewise. - (__mpn_mul_1): Do not use BP_SYM. - * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and - "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (STR): Likewise. - (CHR): Likewise. - (__rawmemchr): Do not use BP_SYM. - (rawmemchr): Do not use BP_SYM in weak_alias. - * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (S): Likewise. - (SIZE): Likewise. - (__mpn_rshift): Do not use BP_SYM. - * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (SIGMSK): Likewise. - (__sigsetjmp): Likewise. Do not use BP_SYM. - * sysdeps/i386/start.S: Do not include "bp-sym.h". - (_start): Do not use BP_SYM. - * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (DEST): Likewise. - (SRC): Likewise. - (__stpcpy): Likewise. Do not use BP_SYM. - (stpcpy): Do not use BP_SYM in weak_alias. - * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and - "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (DEST): Likewise. - (SRC): Likewise. - (LEN): Likewise. - (__stpncpy): Likewise. Do not use BP_SYM. - (stpncpy): Do not use BP_SYM in weak_alias. - * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (STR): Likewise. - (CHR): Likewise. - (strchr): Likewise. Do not use BP_SYM. - * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and - "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (STR): Likewise. - (CHR): Likewise. - (__strchrnul): Likewise. Do not use BP_SYM. - (strchrnul): Do not use BP_SYM in weak_alias. - * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and - "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (STOP): Likewise. - (strcspn): Do not use BP_SYM. - * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and - "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (STR): Likewise. - (STOP): Likewise. - (strpbrk): Likewise. Do not use BP_SYM. - * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and - "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (STR): Likewise. - (CHR): Likewise. - (strrchr): Likewise. Do not use BP_SYM. - * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (SKIP): Likewise. - (strspn): Do not use BP_SYM. - * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (STR): Likewise. - (DELIM): Likewise. - (SAVE): Likewise. - (FUNCTION): Likewise. Do not use BP_SYM. - * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in - aliases. - (strtok_r): Likewise. - (__GI___strtok_r): Likewise. - * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (S1): Likewise. - (S2): Likewise. - (SIZE): Likewise. - (__mpn_sub_n): Do not use BP_SYM. - * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and - "bp-asm.h". - (PARMS): Do not use macros from bp-asm.h. - (S1): Likewise. - (SIZE): Likewise. - (__mpn_submul_1): Do not use BP_SYM. - * sysdeps/unix/i386/sysdep.S: Do not include and - . - * sysdeps/unix/sysv/linux/i386/clone.S: Do not include - and . - (PARMS): Do not use macros from bp-asm.h. - (FLAGS): Likewise. - (PTID): Likewise. - (TLS): Likewise. - (CTID): Likewise. - (__clone): Do not use BP_SYM. - (clone): Do not use BP_SYM in weak_alias. - * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include - and . - (PARMS): Do not use macros from bp-asm.h. - (LEN): Likewise. - (__mmap64): Do not use BP_SYM. - (mmap64): Do not use BP_SYM in weak_alias. - * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include - and . - (PARMS): Do not use macros from bp-asm.h. - (__posix_fadvise64_l64): Do not use BP_SYM. - * sysdeps/unix/sysv/linux/i386/semtimedop.S - (PARMS): Do not use macros from bp-asm.h. - (NSOPS): Likewise. - (semtimedop): Do not use BP_SYM. - * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include - and . - -2013-02-21 Allan McRae - - * manual/message.texi (Charset conversion in gettext): - Move @end statement to beginning of line. - -2013-02-21 Siddhesh Poyarekar - - * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as - static. - * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv): - Likewise. - - * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace. - (denorm): Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise. - * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise. - -2013-02-21 Andreas Krebbel - - * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a - tail-call to the resolved function if pltexit isn't needed. - -2013-02-21 Siddhesh Poyarekar - - * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X - or Y being zero as being unlikely. - * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): - Likewise. - -2013-02-20 Carlos O'Donell - - * manual/nss.texi (System Databases and Name Service Switch): - Remove frobnicate @pxref. - -2013-02-20 Thomas Schwinge - - * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change - __attribute__ ((unused)) to __attribute__ ((__unused__)). - -2013-02-20 Petr Machata - - * elf/elf.h (R_ARM_TARGET1): New macro. - (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise. - (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise. - (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise. - (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise. - (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise. - (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise. - (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise. - (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise. - (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise. - (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise. - (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise. - (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise. - (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise. - (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise. - (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise. - (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise. - (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise. - (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise. - (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise. - (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise. - (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise. - (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise. - (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise. - (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise. - (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise. - (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise. - (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise. - (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise. - (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise. - (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise. - (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise. - (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise. - (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise. - (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise. - (R_ARM_THM_GOT_BREL12): Likewise. - (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro. - (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise. - (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro. - (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise. - (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise. - (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise. - (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise. - (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise. - (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace. - -2013-02-20 Thomas Schwinge - - * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change - __attribute_used__ to __attribute__ ((unused)). - -2013-02-20 Siddhesh Poyarekar - - * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from - powerpc mpa.c. - * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix - comment formatting. - * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise. - -2013-02-19 Joseph Myers - - [BZ #13550] - * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED): - Remove macro. - (ENTER): Remove both macro definitions. - (LEAVE): Likewise. - (CHECK_BOUNDS_LOW): Likewise. - (CHECK_BOUNDS_HIGH): Likewise. - (CHECK_BOUNDS_BOTH): Likewise. - (CHECK_BOUNDS_BOTH_WIDE): Likewise. - (RETURN_BOUNDED_POINTER): Likewise. - (RETURN_NULL_BOUNDED_POINTER): Likewise. - (PUSH_ERRNO_LOCATION_RETURN): Likewise. - (POP_ERRNO_LOCATION_RETURN): Likewise. - * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros. - (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code. - * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed - macros. - (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code. - * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros. - * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise. - * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise. - * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise. - * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise. - * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise. - * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise. - * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise. - * sysdeps/i386/i486/strcat.S (strcat): Likewise. - * sysdeps/i386/i486/strlen.S (strlen): Likewise. - * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise. - (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code. - * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use - removed macros. - (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code. - * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed - macros. - (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code. - * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros. - * sysdeps/i386/i586/memset.S (memset): Likewise. - * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise. - (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code. - * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed - macros. - (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code. - * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros. - Change uses of L(2) to L(out). - * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros. - * sysdeps/i386/i586/strlen.S (strlen): Likewise. - * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise. - (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code. - * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use - removed macros. - (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code. - * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed - macros. - (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code. - * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER. - (RETURN): Do not use macro LEAVE. - * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros. - * sysdeps/i386/i686/memmove.S (memmove): Likewise. - * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise. - * sysdeps/i386/i686/memset.S (memset): Likewise. - * sysdeps/i386/i686/strcmp.S (strcmp): Likewise. - (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional. - (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code. - * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: - Likewise. - (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional. - (FUNCTION): Do not use removed macros. Combine labels L(1_1), - L(1_2) and L(1_3) into L(1). - (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code. - * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros. - (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code. - * sysdeps/i386/memchr.S (__memchr): Do not use removed macros. - (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code. - * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros. - * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise. - (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code. - * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed - macros. - * sysdeps/i386/rshift.S (__mpn_rshift): Likewise. - (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code. - * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros. - * sysdeps/i386/stpcpy.S (__stpcpy): Likewise. - * sysdeps/i386/stpncpy.S (__stpncpy): Likewise. - (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code. - * sysdeps/i386/strchr.S (strchr): Do not use removed macros. - * sysdeps/i386/strchrnul.S (__strchrnul): Likewise. - * sysdeps/i386/strcspn.S (strcspn): Likewise. - * sysdeps/i386/strpbrk.S (strpbrk): Likewise. - * sysdeps/i386/strrchr.S (strrchr): Likewise. - * sysdeps/i386/strspn.S (strspn): Likewise. - * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove - conditional code. - (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional. - (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise. - (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code. - (FUNCTION): Do not use removed macros. Combine labels L(1_2) and - L(1_3) into L(1_1). - * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros. - (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code. - * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed - macros. - (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code. - -2013-02-19 Jakub Jelinek - - * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like - macro. - -2013-02-19 Siddhesh Poyarekar - - * math/atest-exp.c (exp_mpn): Remove ROUND. - * math/atest-exp2.c (exp_mpn): Likewise. - * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK. - - * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year. - * stdlib/tst-tls-atexit-lib.c: Likewise. - * stdlib/tst-tls-atexit.c: Likewise. - -2013-02-18 Mike Frysinger - - * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__ - and __attribute_alloc_size__. - -2013-02-18 Mike Frysinger - - * include/programs/xmalloc.h: Change __attribute_alloc_size to - __attribute_alloc_size__. - * include/sys/cdefs.h (__attribute_alloc_size): Macro removed. - * misc/sys/cdefs.h (__attribute_alloc_size__): New macro. - -2013-02-18 Mike Frysinger - - * include/programs/xmalloc.h: New file. - * catgets/gencat.c: Include it. - (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them. - * elf/pldd.c: Likewise. - * iconv/iconv_charmap.c: Likewise. - * iconv/iconvconfig.c: Likewise. - * iconv/strtab.c: Likewise. - * locale/programs/locale.c: Likewise. - * locale/programs/localedef.h: Likewise. - * locale/programs/simple-hash.c: Likewise. - * nscd/nscd.h: Likewise. - * nss/makedb.c: Likewise. - * sysdeps/generic/ldconfig.h: Likewise. - -2013-02-18 Siddhesh Poyarekar - - * Versions.def: Add GLIBC_2.18. - * include/link.h (struct link_map): New member l_tls_dtor_count. - * include/stdlib.h (__cxa_thread_atexit_impl): Declare. - (__call_tls_dtors): Likewise. - * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add - __cxa_thread_atexit_impl. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: - Likewise. - * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: - Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: - Likewise. - * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: - Likewise. - * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl. - (tests): Add test case tst-tls-atexit. - (modules-names): Add shared library for tst-tls-atexit. - * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl. - (GLIBC_PRIVATE): Add __call_tls_dtors. - * stdlib/cxa_thread_atexit_impl.c: New file with helper function - for libstdc++. - * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors. - * stdlib/tst-tls-atexit.c: New test case. - * stdlib/tst-tls-atexit-lib.c: New test case. - - * misc/tst-pselect.c: Include stdlib.h for declaration of exit. - - * elf/Versions (ld): Add _dl_find_dso_for_object. - * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object. - * elf/dl-open.c (_dl_find_dso_for_object): New function. - (dl_open_worker): Use _dl_find_dso_for_object. - * elf/dl-sym.c (do_sym): Likewise. - * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object. - -2013-02-18 Andreas Krebbel - - * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve): - Syntactic changes only. - (_dl_runtime_profile): Do a tail-call to the resolved function. - -2013-02-17 Joseph Myers - - [BZ #13550] - * sysdeps/x86_64/bp-asm.h: Remove file. - * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include - and . - (__clone): Do not use BP_SYM. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include - and . - * sysdeps/unix/x86_64/sysdep.S: Likewise. - * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and - "bp-asm.h". - (_setjmp): Do not use BP_SYM. - * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and - "bp-asm.h". - (setjmp): Do not use BP_SYM. - * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in - libc_hidden_def. - (mempcpy): Do not use BP_SYM in weak_alias. - * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and - "bp-asm.h". - (strchr): Do not use BP_SYM. - * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and - "bp-asm.h". - * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM. - * sysdeps/x86_64/start.S: Do not include "bp-sym.h". - (_start): Do not use BP_SYM. - * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and - "bp-asm.h". - (strcat): Do not use BP_SYM. - * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and - "bp-asm.h". - (STRCMP): Do not use BP_SYM. - * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and - "bp-asm.h". - (STRCPY): Do not use BP_SYM. - * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and - "bp-asm.h". - * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and - "bp-asm.h". - (FUNCTION): Do not use BP_SYM. - * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in - weak_alias. - (__GI___strtok_r): Do not use BP_SYM in strong_alias. - -2013-02-17 Andreas Jaeger - - * time/Versions: Sort entries. - * string/Versions: Likewise. - * resolv/Versions: Likewise. - * posix/Versions: Likewise. - * iconv/Versions: Likewise. - * elf/Versions: Likewise. - * wcsmbs/Versions: Likewise. - -2013-02-15 Siddhesh Poyarekar - - * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in - loop termination condition. - - * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate - variable to calculate EZ. - (__sqr): Likewise. - - * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of - the lower precision input. - -2013-02-15 Joseph Myers - - [BZ #13550] - * Makeconfig [!+link-bounded] (+link-bounded): Remove variable. - [!link-extra-libs] (link-extra-libs-bounded): Likewise. - (run-via-rtld-prefix): Do not handle %-bp tests. - (test-via-rtld-prefix): Do not mention %-bp tests in comment. - (all-object-suffixes): Remove .ob. - (bppfx): Remove variable. - [$(build-bounded) = yes] (object-suffixes): Do not add .ob. - [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable. - [$(build-bounded) = yes] (CFLAGS-.ob): Likewise. - [$(build-bounded) = yes] (libtype.ob): Likewise. - * Makerules (elide-routines.ob): Remove variable. - (do-tests-clean): Do not handle *-bp.out. - (common-mostlyclean): Do not handle *-bp and *-bp.out. - * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable. - [$(build-bounded) = yes] (xtests-bp.out): Likewise. - (tests): Do not include $(tests-bp.out). - (xtests): Do not include $(xtests-bp.out). - [$(build-bounded) = yes] (binaries-bounded): Remove variable. - [$(build-bounded) = yes] ($(addprefix - $(objpfx),$(binaries-bounded))): Remove rule. - ($(objpfx)%-bp.out): Remove rule. - * config.make.in (build-bounded): Remove variable. - * crypt/Makefile [$(build-bounded) = yes] - ($(tests:%=$(objpfx)%-bp)): Remove dependency. - * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not - append to variable. - [$(build-bounded) = yes] (install-lib): Likewise. - [$(build-bounded) = yes] (generated): Likewise. - [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)): - Remove rule. - * intl/Makefile [$(build-bounded) = yes] - ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency. - * math/Makefile [$(build-bounded) = yes] - ($(tests:%=$(objpfx)%-bp): Likewise. - * misc/Makefile [$(build-bounded) = yes] - ($(objpfx)tst-tsearch-bp): Likewise. - * nptl/Makeconfig (bounded-thread-library): Remove variable. - * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)): - Remove dependency. - * string/Makefile (o-objects.ob): Remove variable. - * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes] - (CFLAGS-.ob): Remove variable. - [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise. - * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove - both definitions of variable. - * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes] - (ASFLAGS-.ob): Remove variable. - -2013-02-14 Joseph Myers - - [BZ #13550] - * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]: - Remove __BOUNDED_POINTERS__ from condition. - * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise. - * string/bits/string2.h [!__NO_STRING_INLINES && - !__BOUNDED_POINTERS__]: Likewise. - * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]: - Likewise. - * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]: - Remove conditional code. - * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES && - __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 && - !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from - condition. - - [BZ #13550] - * csu/libc-start.c: Do not include . - [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM. - * elf/dl-open.c: Do not include . - (_dl_sysdep_start): Do not use BP_SYM in weak_extern. - * math/fegetenv.c: Do not include . - (fegetenv): Do not use BP_SYM in versioned symbols. - * nptl/sysdeps/pthread/bits/libc-lockP.h - [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include - . - [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] - (__pthread_mutex_init): Do not use BP_SYM in weak_extern. - [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] - (__pthread_mutex_destroy): Likewise. - [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] - (__pthread_mutex_lock): Likewise. - [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] - (__pthread_mutex_trylock): Likewise. - [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] - (__pthread_mutex_unlock): Likewise. - [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] - (__pthread_mutexattr_init): Likewise. - [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] - (__pthread_mutexattr_destroy): Likewise. - [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] - (__pthread_mutexattr_settype): Likewise. - [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] - (__pthread_rwlock_init): Likewise. - [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] - (__pthread_rwlock_destroy): Likewise. - [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] - (__pthread_rwlock_rdlock): Likewise. - [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] - (__pthread_rwlock_tryrdlock): Likewise. - [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] - (__pthread_rwlock_wrlock): Likewise. - [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] - (__pthread_rwlock_trywrlock): Likewise. - [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] - (__pthread_rwlock_unlock): Likewise. - [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] - (__pthread_key_create): Likewise. - [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] - (__pthread_setspecific): Likewise. - [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] - (__pthread_getspecific): Likewise. - [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once): - Likewise. - [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] - (_pthread_cleanup_push_defer): Likewise. - [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] - (_pthread_cleanup_pop_restore): Likewise. - [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] - (pthread_setcancelstate): Likewise. - * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include - . - [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition. - (memchr): Do not use BP_SYM in weak_alias. - * sysdeps/i386/fpu/fegetenv.c: Do not include . - (fegetenv): Do not use BP_SYM in versioned symbols. - * sysdeps/i386/fpu/fesetenv.c: Do not include . - (fesetenv): Do not use BP_SYM in versioned symbols. - * sysdeps/i386/fpu/feupdateenv.c: Do not include . - (feupdateenv): Do not use BP_SYM in versioned symbols. - * sysdeps/i386/fpu/fsetexcptflg.c: Do not include . - (fesetexceptflag): Do not use BP_SYM in versioned symbols. - * sysdeps/posix/open64.c: Do not include . - (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak. - (open64): Do not use BP_SYM in weak_alias. - * sysdeps/powerpc/fpu/fegetenv.c: Do not include . - (fegetenv): Do not use BP_SYM in versioned symbols. - * sysdeps/powerpc/fpu/fesetenv.c: Do not include . - (fesetenv): Do not use BP_SYM in versioned symbols. - * sysdeps/powerpc/fpu/feupdateenv.c: Do not include . - (feupdateenv): Do not use BP_SYM in versioned symbols. - * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include . - (fegetexceptflag): Do not use BP_SYM in versioned symbols. - * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include . - (feraiseexcept): Do not use BP_SYM in versioned symbols. - * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include . - (fesetexceptflag): Do not use BP_SYM in versioned symbols. - * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include - . - (__libc_start_main): Do not use BP_SYM. - -2013-02-14 Siddhesh Poyarekar - - * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove - redundant return line. - (norm): Likewise. - (denorm): Likewise. - (dbl_mp): Likewise. - (sub_magnitudes): Likewise. - (__add): Likewise. - (__sub): Likewise. - (__mul): Likewise. - (__inv): Likewise. - (__dvd): Likewise. - * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise. - (norm): Likewise. - (denorm): Likewise. - (dbl_mp): Likewise. - (sub_magnitudes): Likewise. - (__add): Likewise. - (__sub): Likewise. - (__mul): Likewise. - (__inv): Likewise. - (__dvd): Likewise. - - * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr - instead of __mul. - * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise. - * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise. - (cc32): Likewise. - - * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function. - * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare. - * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead - of __mul for squares. - * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New - function - * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr): - Likewise. - * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr. - * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise. - -2013-02-13 Joseph Myers - - [BZ #13550] - * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional - code. - * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in - prototype or function definition. Rename ubp_* variables and - parameters. Remove argv definitions conditional on - [__BOUNDED_POINTERS__]. - * debug/backtrace.c (__backtrace): Do not use __unbounded. - * elf/dl-runtime.c (_dl_fixup): Likewise. - * include/set-hooks.h (RUN_HOOK): Likewise. - * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either - definition. - * string/strcpy.c (strcpy): Do not use __unbounded. - * sysdeps/generic/frame.h (struct layout): Likewise. - * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise. - * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise. - * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise. - * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise. - * sysdeps/sparc/backtrace.c (struct layout): Likewise. - (__backtrace): Likewise. - * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not - use __ptrvalue. - * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise. - * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise. - * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue): - Likewise. - * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise. - * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise. - * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise. - * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise. - * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds): - Do not use __unbounded. - * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit): - Rename __unboundedrlimits parameter to rlimits in prototype. - * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds): - Do not use __unbounded. - * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do - not use __ptrvalue. - * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise. - * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise. - * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise. - * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use - __ptrvalue or __unbounded. - (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code. - * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not - use __unbounded. - (__new_msgctl): Do not use __ptrvalue. - * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use - __unbounded. - (__libc_msgrcv): Do not use __ptrvalue. - * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct - startup_info): Do not use __unbounded. - (__libc_start_main): Likewise. Rename ubp_* variables and - parameters. Remove argv definitions conditional on - [__BOUNDED_POINTERS__]. - * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use - __ptrvalue. - * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not - use __unbounded. - * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded - or __ptrvalue. - * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not - use __unbounded. - (__new_shmctl): Do not use __ptrvalue. - * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise. - * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction): - Likewise. - * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c - (__libc_sigaction): Likewise. - * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise. - * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction): - Likewise. - * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise. - -2013-02-13 Ondƙej BĂ­lka - - * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h. - - * string/mempcpy.c: Implement by calling memcpy. - -2013-02-13 Siddhesh Poyarekar - - * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA. - - * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial - evaluation. - - * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero - values in the mantissa. - - * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to - minimize writes to Z. - (sub_magnitudes): Simplify code a bit. - -2013-02-12 Roland McGrath - - * include/libc-symbols.h (stub_warning): Remove "warning: " prefix - from the message. The linker prefixes all warnings with that already. - -2013-02-12 Andreas Schwab - - [BZ #15078] - * posix/regexec.c (extend_buffers): Add parameter min_len. - (check_matching): Pass minimum needed length. - (clean_state_log_if_needed): Likewise. - (get_subexp): Likewise. - * posix/Makefile (tests): Add bug-regex34. - (bug-regex34-ENV): Define. - * posix/bug-regex34.c: New file. - - [BZ #11561] - * posix/regcomp.c (parse_bracket_exp): When looking up collating - elements compare against the byte sequence of it, not its name. - * posix/Makefile (tests): Add bug-regex35. - (bug-regex35-ENV): Define. - * posix/bug-regex35.c: New file. - -2013-02-11 Tom de Vries - - * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in - comment. - Add RET0_IF_0 and CHECK_EOL to macro list in comment. - (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef. - (CHECK_EOL): Add undef. - -2013-02-11 Ondƙej BĂ­lka - - * bits/stdlib-bsearch.h: New file. - * stdlib/bsearch.c: Include bits/stdlib-bsearch.h. - * stdlib/stdlib.h: Likewise. - -2013-02-11 Roland McGrath - - * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t. - * manual/errno.texi (Error Messages): Fix typo in error_print_progname - declaration. - * manual/search.texi (Array Search Function): Add missing const in - lfind prototype. - * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY - declaration to use rlim_t. - (Basic Scheduling Functions): Remove erroneous const from - sched_getparam prototype. Remove erroneous * from - sched_get_priority_max and sched_get_priority_min prototypes. - (Resource Usage): Fix summary @comment on vtimes to refer to - sys/vtimes.h rather than vtimes.h. - Add missing *s in vtimes prototype. - (Limits on Resources): Fix ulimit prototype to return long int. - * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r - prototypes to use long int rather than double. - (BSD Random): Fix initstate and setstate to use char *, not void *. - * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64 - prototype to make second argument 'struct aiocb64 *const[]'. - Fix aio_read64 and aio_write64 prototypes to use struct aiocb64. - (Status of AIO Operations): Remove erroneous const in aio_return and - aio_return64 prototypes. - (Synchronizing I/O): Fix sync prototype to return void. - * manual/startup.texi (Suboptions): Remove an erroneous const in - getsubopt prototype. - * manual/getopt.texi (Using Getopt): Add a const in getopt prototype. - * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to - use size_t rather than int. - (Scanning All Users): Likewise for getpwent_r. - (Setting Groups): Add missing const to setgroups prototype. - * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype. - * manual/socket.texi (Host Names): Fix gethostbyaddr and - gethostbyaddr_r prototypes to use socklen_t rather than size_t and - 'const void *' rather than 'const char *'. - (Host Address Functions): Likewise for inet_ntop. - (Networks Database): Fix getnetbyaddr prototype to use uint32_t. - (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use - ssize_t for return value. - (Sending Data): Likewise for send, sendto, sendmsg. - (Socket Option Functions): Add a missing const in setsockopt prototype. - * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to - use wchar_t for the argument. - (Formatted Input Functions): Fix swscanf prototype to use wchar_t *. - * manual/arith.texi (Control Functions): Fix fegetexcept prototype to - take no arguments. - (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use - double/float/long double for second argument. - Fix return types of significand, significandf, significandl. - * manual/filesys.texi (Setting Permissions): Use mode_t for second - argument in fchmod prototype. - (File Owner): Use uid_t and gid_t in fchown prototype. - (File Times): Add const to utimes, futimes, and lutimes prototypes. - (Making Special Files): Use mode_t and dev_t in mknod prototype. - (Scanning Directory Content): Fix scandir and scandir64 prototypes to - use 'const struct dirent **' as argument types to CMP function pointer - argument. - (Symbolic Links): Fix readlink prototype with ssize_t as return value. - (File Times): Fix summary magic @comment for struct utimbuf and utime - to refer to utime.h, not time.h. - * manual/string.texi (Argz Functions): Add missing const in - argz_extract and argz_next prototypes. - (Finding Tokens in a String): Likewise for basename. - (String/Array Comparison): Fix typo in wcscasecmp prototype. - (Copying and Concatenation): Fix typo in wmemmove prototype. - * manual/signal.texi (Using Pause): Use (void) in pause prototype. - (Signal Stack): Remove erroneous const in sigstack prototype. - * manual/time.texi (Setting an Alarm): Add missing const in setitimer - prototype. - (Simple Calendar Time): Likewise for stime. - * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty - prototype. - * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to - say sys/sysctl.h instead. - * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog - and vsyslog prototypes. - -2013-02-11 Tom de Vries - - * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c): - Remove. - -2013-02-11 Roland McGrath - - * misc/sys/mman.h: Fix typo in mremap comment. - -2013-02-08 Roland McGrath - - * manual/examples/mkfsock.c (make_named_socket): Don't add one for - the '\0' terminator. - -2013-02-08 Joseph Myers - - [BZ #13550] - * debug/segfault.c: Don't include . - * sysdeps/generic/bp-checks.h: Remove file. - * sysdeps/unix/sysv/linux/getdents.c: Don't include . - (__GETDENTS): Don't use CHECK_N. - * sysdeps/unix/sysv/linux/i386/brk.c: Don't include . - * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise. - (__getgroups): Don't use CHECK_N. - * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise. - (setgroups): Don't use CHECK_N. - * sysdeps/unix/sysv/linux/mmap64.c: Don't include . - * sysdeps/unix/sysv/linux/msgrcv.c: Likewise. - (__libc_msgrcv): Don't use CHECK_N. - * sysdeps/unix/sysv/linux/msgsnd.c: Don't include . - (__libc_msgsnd): Don't use CHECK_N. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include - . - (__libc_pread): Don't use CHECK_N. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't - include . - (__libc_pread64): Don't use CHECK_N. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't - include . - (__libc_pwrite): Don't use CHECK_N. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't - include . - (__libc_pwrite64): Don't use CHECK_N. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include - . - (__libc_pread): Don't use CHECK_N. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't - include . - (__libc_pread64): Don't use CHECK_N. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't - include . - (__libc_pwrite): Don't use CHECK_N. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't - include . - (__libc_pwrite64): Don't use CHECK_N. - * sysdeps/unix/sysv/linux/pread.c: Don't include . - (do_pread): Don't use CHECK_N. - * sysdeps/unix/sysv/linux/pread64.c: Don't include . - (do_pread64): Don't use CHECK_N. - * sysdeps/unix/sysv/linux/pwrite.c: Don't include . - (do_pwrite): Don't use CHECK_N. - * sysdeps/unix/sysv/linux/pwrite64.c: Don't include . - (do_pwrite64): Don't use CHECK_N. - * sysdeps/unix/sysv/linux/readv.c: Don't include . - (__libc_readv): Don't use CHECK_N. - * sysdeps/unix/sysv/linux/semop.c: Don't include . - (semop): Don't use CHECK_N. - * sysdeps/unix/sysv/linux/semtimedop.c: Don't include - . - (semtimedop): Don't use CHECK_N. - * sysdeps/unix/sysv/linux/sh/pread.c: Don't include . - (__libc_pread): Don't use CHECK_N. - * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include - . - (__libc_pread64): Don't use CHECK_N. - * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include - . - (__libc_pwrite): Don't use CHECK_N. - * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include - . - (__libc_pwrite64): Don't use CHECK_N. - * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include - . - (__libc_msgrcv): Don't use CHECK_N. - * sysdeps/unix/sysv/linux/sysctl.c: Don't include . - (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment. - * sysdeps/unix/sysv/linux/writev.c: Don't include . - (__libc_writev): Don't use CHECK_N. - -2013-02-08 Roland McGrath - - * string/strcpy.c: Removed unused variable. - - * Makeconfig (+sysdep-includes): Define with := rather than =. - Use an existing include/ subdir of each sysdeps dir before it. - -2013-02-08 Carlos O'Donell - - * nscd/connection.c (register_traced_file): Comment function. - [HAVE_INOTIFY] (union __inev): Define. - [HAVE_INOTIFY] (inotify_check_files): New function. - [HAVE_INOTIFY] (clear_db_cache): Likewise. - [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and - clear_db_cache. - [HAVE_INOTIFY] (main_loop_epoll): Likewise. - -2013-02-08 Carlos O'Donell - - * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is - loaded if not already and that a failure is permanent. - -2013-02-08 Carlos O'Donell - - [BZ #15006] - * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF. - * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support. - -2013-02-08 Joseph Myers - - [BZ #13550] - * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions. - (CHECK_1_NULL_OK): Likewise. - * sysdeps/unix/sysv/linux/fxstat.c: Do not include . - (__fxstat): Do not use CHECK_1. - * sysdeps/unix/sysv/linux/fxstat64.c: Do not include - . - (___fxstat64): Do not use CHECK_1. - * sysdeps/unix/sysv/linux/fxstatat.c: Do not include - . - (__fxstatat): Do not use CHECK_1. - * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include - . - (__fxstatat64): Do not use CHECK_1. - * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include - . - (__fxstat): Do not use CHECK_1. - * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include - . - (__fxstatat): Do not use CHECK_1. - * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include - . - (__getresgid): Do not use CHECK_1. - * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include - . - (__getresuid): Do not use CHECK_1. - * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include - . - (__lxstat): Do not use CHECK_1. - * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include - . - (__old_msgctl): Do not use CHECK_1. - (__new_msgctl): Likewise. - * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include - . - (__new_setrlimit): Do not use CHECK_1. - * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include - . - (__old_shmctl): Do not use CHECK_1. - (__new_shmctl): Likewise. - * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include - . - (__xstat): Do not use CHECK_1. - * sysdeps/unix/sysv/linux/lxstat.c: Do not include . - (__lxstat): Do not use CHECK_1. - * sysdeps/unix/sysv/linux/lxstat64.c: Do not include - . - (___lxstat64): Do not use CHECK_1. - * sysdeps/unix/sysv/linux/msgctl.c: Do not include . - (__old_msgctl): Do not use CHECK_1. - (__new_msgctl): Likewise. - * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include - . - (__gettimeofday): Do not use CHECK_1. - * sysdeps/unix/sysv/linux/ptrace.c: Do not include . - (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code. - * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include - . - (__gettimeofday): Do not use CHECK_1. - * sysdeps/unix/sysv/linux/shmctl.c: Do not include . - (__old_shmctl): Do not use CHECK_1_NULL_OK. - (__new_shmctl): Do not use CHECK_1. - * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include - . - (do_sigtimedwait): Do not use CHECK_1. - * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include - . - (do_sigwaitinfo): Do not use CHECK_1. - * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include - . - (msgctl): Do not use CHECK_1. - * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include - . - (shmctl): Do not use CHECK_1. - * sysdeps/unix/sysv/linux/ustat.c: Do not include . - (ustat): Do not use CHECK_1. - * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include - . - (__fxstat): Do not use CHECK_1. - * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include - . - (__fxstatat): Do not use CHECK_1. - * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include - . - (__lxstat): Do not use CHECK_1. - * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include - . - (__xstat): Do not use CHECK_1. - * sysdeps/unix/sysv/linux/xstat.c: Do not include . - (__xstat): Do not use CHECK_1. - * sysdeps/unix/sysv/linux/xstat64.c: Do not include . - (___xstat64): Do not use CHECK_1. - - [BZ #13550] - * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all - definitions. - (CHECK_BOUNDS_HIGH): Likewise. - * string/strcpy.c: Do not include . - (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH. - -2013-02-07 Roland McGrath - - * nscd/nscd-client.h (__nscd_drop_map_ref): - Add __attribute__ ((unused)). - * nis/nss-nisplus.h (niserr2nss): Likewise. - - * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only - under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)]. - - * csu/libc-tls.c (init_static_tls, init_slotinfo): - Remove inline keyword. - * include/rounding-mode.h (round_away): Likewise. - * libio/wfileops.c (adjust_wide_data): Likewise. - * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise. - (__m128i_strloadu_tolower): Likewise. - * sysdeps/x86_64/multiarch/strcasestr-nonascii.c - (__m128i_strloadu_tolower): Likewise. - * time/mktime.c (ydhms_diff): Likewise. - * locale/elem-hash.h (elem_hash): Likewise. - * locale/setlocale.c (setdata): Likewise. - * posix/regex_internal.h (re_string_char_size_at): Likewise. - (re_string_wchar_at): Likewise. - (bitset_not, bitset_merge, bitset_mask): Likewise. - [!(__GNUC__ > 3)] (inline): Remove macro. - * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword. - * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise. - * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise. - (_dl_tlsdesc_wake_up_held_fixups): Likewise. - * string/memcmp.c (memcmp_bytes): Likewise. - * locale/programs/locarchive.c (compute_hashval): Likewise. - * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise. - * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise. - * resolv/res_send.c (evNowTime, evCmpTime): Likewise. - * nss/getent.c (print_rpc, print_protocols): Likewise. - (print_passwd, print_group, print_aliases): Likewise. - * nis/nss-nisplus.h (niserr2nss): Likewise. - * nscd/connections.c (restart_p): Likewise. - Change return type to bool. - -2013-02-05 Roland McGrath - - * Makeconfig (all-Depend-files): Add existing - $(sorted-subdirs:=/Depend) files. - (all-subdirs): Remove nss. - * sysdeps/unix/inet/Subdirs: Add it here instead. - * hesiod/Depend: New file. - - * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array - instead of calling alloca. - - * io/lseek.c (__lseek): Rename to __libc_lseek. - Define __lseek as an alias. - - * sysdeps/generic/malloc-sysdep.h: Include and . - -2013-02-04 Carlos O'Donell - - * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the - else clause and remove check for non-standard endianness. - -2013-02-04 David S. Miller - - * sysdeps/sparc/fpu/libm-test-ulps: Update. - -2013-02-04 Joseph Myers - - [BZ #13550] - * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__] - (__ubp_memchr): Remove prototype. - [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro. - [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise. - [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise. - [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise. - * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr): - Remove alias. - * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__] - (__ubp_memchr): Likewise. - * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__] - (__ubp_memchr): Likewise. - * sysdeps/unix/sysv/linux/execve.c: Do not include . - (__execve) [__BOUNDED_POINTERS__]: Remove conditional code. - (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional. - * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use - CHECK_STRING. - * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise. - * sysdeps/unix/sysv/linux/getcwd.c: Do not include . - (__getcwd): Do not use CHECK_STRING. - * sysdeps/unix/sysv/linux/i386/chown.c: Do not include - . - (__real_chown): Do not use CHECK_STRING. - * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include - . - (fchownat): Do not use CHECK_STRING. - * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use - CHECK_STRING. - * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include - . - (__lchown): Do not use CHECK_STRING. - * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise. - * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise. - * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise. - * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not - include . - (truncate64): Do not use CHECK_STRING. - * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include - . - (__real_chown): Do not use CHECK_STRING. - * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include - . - (__lchown): Do not use CHECK_STRING. - * sysdeps/unix/sysv/linux/sh/chown.c: Do not include - . - (__chown): Do not use CHECK_STRING. - * sysdeps/unix/sysv/linux/truncate64.c: Do not include - . - (truncate64): Do not use CHECK_STRING. - * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat): - Likewise. - * sysdeps/unix/sysv/linux/xmknod.c: Do not include . - (__xmknod): Do not use CHECK_STRING. - * sysdeps/unix/sysv/linux/xmknodat.c: Do not include - . - (__xmknodat): Do not use CHECK_STRING. - * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise. - * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise. - -2013-02-04 Andreas Schwab - - [BZ #14142] - * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB. - * include/netdb.h: Likewise for h_errno. - * elf/tst-stackguard1.c: Include . - -2013-02-02 Jan Kratochvil - - * elf/link.h (struct link_map): Extend the l_addr comment. - * include/link.h (struct link_map): Likewise. - -2013-02-01 Joseph Myers - - [BZ #13550] - * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions. - (BOUNDED_1): Remove macro. - * debug/backtrace.c: Don't include . - (ADVANCE_STACK_FRAME): Don't use BOUNDED_1. - (__backtrace): Likewise. - * sysdeps/powerpc/powerpc32/backtrace.c: Don't include - . - (__backtrace): Don't use BOUNDED_1. - * sysdeps/powerpc/powerpc64/backtrace.c: Don't include - . - (__backtrace): Don't use BOUNDED_1. - * sysdeps/sparc/backtrace.c: Don't include . - (__backtrace): Don't use BOUNDED_1. - * sysdeps/unix/sysv/linux/shmat.c: Don't include . - (shmat): Don't use BOUNDED_N. - -2013-01-31 Joseph Myers - - [BZ #13550] - * sysdeps/generic/bp-start.h: Remove file. - * csu/libc-start.c: Don't include . - (LIBC_START_MAIN): Set up __environ directly instead of using - INIT_ARGV_and_ENVIRON. - * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include - . - - [BZ #13550] - * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both - definitions. - (CHECK_FCNTL): Likewise. - (CHECK_N_PAGES): Likewise. - - [BZ #13550] - * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both - definitions. - (CHECK_SIGSET_NULL_OK): Likewise. - * sysdeps/unix/sysv/linux/sigpending.c: Don't include - . - (sigpending): Don't use CHECK_SIGSET. - * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include - . - (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK. - * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include - . - (do_sigsuspend): Don't use CHECK_SIGSET. - * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't - use CHECK_SIGSET. - * sysdeps/unix/sysv/linux/sigwait.c: Don't include . - (do_sigwait): Don't use CHECK_SIGSET. - * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't - use CHECK_SIGSET. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't - include . - (sigpending): Don't use CHECK_SIGSET. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't - include . - (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK. - * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include - . - (sigpending): Don't use CHECK_SIGSET. - * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include - . - (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK. - - [BZ #13550] - * sysdeps/generic/bp-semctl.h: Remove file. - * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include - and . - (__old_semctl): Don't use CHECK_SEMCTL. - (__new_semctl): Likewise. - * sysdeps/unix/sysv/linux/semctl.c: Don't include - and . - (__old_semctl): Don't use CHECK_SEMCTL. - (__new_semctl): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include - and . - (__old_semctl): Don't use CHECK_SEMCTL. - (__new_semctl): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include - and . - (semctl): Don't use CHECK_SEMCTL. - - [BZ #13550] - * Makerules (elide-bp-thunks): Remove variable. - (elide-routines.oS): Don't use $(elide-bp-thunks). - (elide-routines.os): Likewise. - (elide-routines.o): Likewise. - (elide-routines.op): Likewise. - (elide-routines.og): Likewise. - (objects): Don't use $(bp-thunks). - * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not - include. - (common-generated): Do not add s-proto-bp.d. - * sysdeps/unix/make-syscalls.sh (ptr): Remove variable. - (int): Likewise. - (typ): Likewise. - Do not generate makefile rules for bounded-pointer thunks. - * sysdeps/generic/bp-thunks.h: Remove file. - * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise. - * sysdeps/unix/s-proto-bp.S: Likewise. - - [BZ #15062] - * math/k_casinh.c (__kernel_casinh): Compute real and imaginary - parts of result separately when argument is not close to line from - -i to i and one part of argument is small. - * math/k_casinhf.c (__kernel_casinhf): Likewise. - * math/k_casinhl.c (__kernel_casinhl): Likewise. - * math/libm-test.inc (cacos_test): Add more tests. - (casin_test): Likewise. - (casinh_test): Likewise. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2013-01-31 David S. Miller - - * po/de.po: Update from translation team. - -2013-01-25 Maxim Kuvyrkov - - * time/tzfile.c: Include stdint.h for SIZE_MAX. - -2013-01-25 Thomas Schwinge - - * configure.in (_AC_PROG_CC_C89): New definition. - * configure: Regenerate. - - * configure.in (AC_PROG_CPP): New definition. - * configure: Regenerate. - -2013-01-23 Joseph Myers - - * debug/tst-backtrace.h: New file. - * debug/tst-backtrace2.c: Include tst-backtrace.h. - (ret): Remove variable. - (x): Likewise. - (FAIL): Remove macro. - (NO_INLINE): Likewise. - (fn1): Use match function instead of strstr. - * debug/tst-backtrace3.c: Include tst-backtrace.h. - (ret): Remove variable. - (x): Likewise. - (FAIL): Remove macro. - (NO_INLINE): Likewise. - (fn): Use match function instead of strstr. - * debug/tst-backtrace4.c: Include tst-backtrace.h. - (ret): Remove variable. - (x): Likewise. - (FAIL): Remove macro. - (NO_INLINE): Likewise. - (handle_signal): Use match function instead of strstr. - * debug/tst-backtrace5.c: Include tst-backtrace.h. - (ret): Remove variable. - (x): Likewise. - (FAIL): Remove macro. - (NO_INLINE): Likewise. - (handle_signal): Use match function instead of strstr. - -2013-01-23 Roland McGrath - - * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace. - -2013-01-23 David S. Miller - - * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h - (__arch_compare_and_exchange_val_32_acq): Use %g0 as second - argument of CAS if possible. - * sysdeps/sparc/sparc64/bits/atomic.h - (__arch_compare_and_exchange_val_32_acq): Likewise. - (__arch_compare_and_exchange_val_64_acq): Likewise. - -2013-01-23 Pino Toscano - - * sysdeps/unix/sysv/linux/ulimit.c: Moved to ... - * sysdeps/posix/ulimit.c: ... this. - Include . - * sysdeps/unix/bsd/ulimit.c: Remove file. - -2013-01-23 Adam Conrad - - * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed). - (LDFLAGS-tst-array5): Likewise. - -2013-01-23 Joseph Myers - - [BZ #15036] - * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or - based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__]. - (__WCHAR_MIN): Likewise, using __WCHAR_MIN__. - * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove. - -2013-01-21 David S. Miller - - * sysdeps/sparc/backtrace.c: New file. - * sysdeps/sparc/sparc32/backtrace.h: New file. - * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file. - * sysdeps/sparc/sparc64/backtrace.h: New file. - * sysdeps/sparc/sparc64/backtrace.c: Delete. - * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add - -funwind-tables. - -2013-01-21 Andreas Schwab - - [BZ #15020] - * posix/wordexp.c (exec_comm): Avoid busy loop when command has - closed its stdout. - -2013-01-20 Andreas Schwab - - * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include - "mpa2.h". - * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise. - -2013-01-18 Joseph Myers - Mark Mitchell - Tom de Vries - Paul Pluzhnikov - - * debug/tst-backtrace2.c: New file. - * debug/tst-backtrace3.c: Likewise. - * debug/tst-backtrace4.c: Likewise. - * debug/tst-backtrace5.c: Likewise. - * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable. - (CFLAGS-tst-backtrace3.c): Likewise. - (CFLAGS-tst-backtrace4.c): Likewise. - (CFLAGS-tst-backtrace5.c): Likewise. - (LDFLAGS-tst-backtrace2): Likewise. - (LDFLAGS-tst-backtrace3): Likewise. - (LDFLAGS-tst-backtrace4): Likewise. - (LDFLAGS-tst-backtrace5): Likewise. - (tests): Add new tests tst-backtrace2, tst-backtrace3, - tst-backtrace4 and tst-backtrace5. - -2013-01-18 Anton Blanchard - Ryan S. Arnold - - * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename - __kernel_vdso_get_tbfreq to __kernel_get_tbfreq. - * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to - INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h - (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to - "+r" and remove output regs list as redundant. Add explicit inline - asm to specify register of return val to work around compiler codegen - bug. Remove (int) cast on return value. Add return type parameter to - use in macro so that this macro does not truncate return value for - 64-bit values. - (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and - pass to INTERNAL_VSYSCALL_NCS. - (INLINE_VSYSCALL): Add 'long int' as return type to - INTERNAL_VSYSCALL_NCS macro invocation. - (INTERNAL_VSYSCALL): Add 'long int' as return type to - INTERNAL_VSYSCALL_NCS macro invocation. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise. - -2013-01-18 Siddhesh Poyarekar - - [BZ #14496] - * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse): - Fix application of SIMD FP exception mask. - - * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an - mp_no from a power of two. - * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove - __mpexp_twomm1. Use __pow_mp. - - * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary - multiplication. - -2013-01-17 David S. Miller - - * sysdeps/sparc/fpu/libm-test-ulps: Update. - -2013-01-17 Joseph Myers - - [BZ #15023] - * include/complex.h: Condition contents on [!_COMPLEX_H]. - (__kernel_casinhf): New prototype. - (__kernel_casinh): Likewise. - (__kernel_casinhl): Likewise. - * math/Makefile (libm_calls): Add k_casinh. - * math/k_casinh.c: New file. - * math/k_casinhf.c: Likewise. - * math/k_casinhl.c: Likewise. - * math/s_cacos.c (__cacos): Implement using __kernel_casinh for - finite nonzero arguments. - * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for - finite nonzero arguments. - * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for - finite nonzero arguments. - * math/s_casinh.c: Do not include . - (__casinh): Move code for finite nonzero arguments to k_casinh.c. - * math/s_casinhf.c: Do not include . - (__casinhf): Move code for finite nonzero arguments to - k_casinhf.c. - * math/s_casinhl.c: Do not include . - [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and - redefine. - (__casinhl): Move code for finite nonzero arguments to - k_casinhl.c. - * math/libm-test.inc (cacos_test): Add more tests. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2013-01-17 Pino Toscano - - * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define. - * malloc/malloc.c: Include and . - [!HAVE_MREMAP]: Remove [defined linux] case. - * malloc/arena.c: Do not include . - -2013-01-17 Siddhesh Poyarekar - - * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment. - -2013-01-17 H.J. Lu - - * elf/elf.h (R_386_SIZE32): New relocation. - * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle - R_386_SIZE32. - (elf_machine_rela): Likewise. - * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle - R_X86_64_SIZE64 and R_X86_64_SIZE32. - -2013-01-17 Joseph Myers - - * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__] - (FP_FAST_FMA): Do not define. - [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise. - * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT - && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition. - * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ && - !_SOFT_FLOAT]: Likewise. - * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__] - [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic - value. - [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise. - [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise. - [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise. - [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise. - [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise. - [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of - file. - -2013-01-16 Andreas Schwab - - [BZ #14327] - * include/stdlib.h (__mktemp): Add declaration. - * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias. - * misc/Versions (GLIBC_PRIVATE): Add __mktemp. - -2013-01-16 Siddhesh Poyarekar - - * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value - definitions. - * sysdeps/ieee754/dbl-64/atnat2.h: Likewise. - * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h. - * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value - definitions here. - * sysdeps/ieee754/dbl-64/mpa2.h: Remove. - * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value - definitions. - * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO - and ONE. - * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h. - * sysdeps/ieee754/dbl-64/mpexp.h: Remove. - * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value - definitions. - * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE. - * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value - definitions. - * sysdeps/ieee754/dbl-64/utan.h: Likewise. - - * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO. - -2013-01-15 David S. Miller - - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3 - trunc{,f} to libm-sysdep_routes. - * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New - file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New - file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New - file. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file. - * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file. - * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file. - - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3 - nearbyint{,f} to libm-sysdep_routes. - * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S: - New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New - file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S: - New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New - file. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New - file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New - file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file. - * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file. - * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file. - - * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use - libc_feholdexcept and libc_fesetenv. - -2013-01-15 Mike Frysinger - - * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h. - -2013-01-14 David S. Miller - - * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro. - (SPARC_ASM_VIS2_IFUNC): Likewise. - (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make - use of 'siam' instruction. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: - Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: - Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: - Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New - file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New - file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New - file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New - file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in - new VIS2 routines. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: - Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2 - routines to libm-sysdep_routines. - * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise. - - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3 - fdim/fdimf to libm-sysdep_routines. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New - file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New - file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file. - * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file. - * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file. - * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file. - * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file. - -2013-01-14 Siddhesh Poyarekar - - * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable - to optimize copies. - - * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting. - * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise. - * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise. - - * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove - local variable MPTWO. - * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv): - Likewise. - -2013-01-13 Mike Frysinger - - * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after - GLOB_NOESCAPE. - -2013-01-13 Mike Frysinger - - * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions. - -2013-01-13 Mike Frysinger - - * manual/pattern.texi (glob_t): Document gl_flags. - (glob64_t): Likewise. - -2013-01-11 David S. Miller - - * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines). - * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math] - (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines. - * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file. - * sysdeps/sparc/sparc64/multiarch/add_n.S: New file. - * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file. - * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file. - * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file. - * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file. - * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file. - * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file. - * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file. - * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file. - - * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit - sparc V9 rather than using V8 code. - * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise. - - * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies: - Move to... - * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies: - Here. - -2013-01-11 Roland McGrath - - [BZ #14941] - * configure.in (sysnames): Use $multi_arch_d in setting up $mach list, - not in the main loop. - * configure: Regenerated. - -2013-01-11 Joseph Myers - - * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove. - * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition - to just #else. - * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove - [!__GLIBC_HAVE_LONG_LONG] case. - * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif - condition to just #else. - * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG && - __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC]. - [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD]. - * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code - unconditional. - * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise. - * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change - #elif condition to just #else. - * sysdeps/unix/sysv/linux/sys/sysmacros.h - [__GLIBC_HAVE_LONG_LONG]: Make code unconditional. - * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change - #elif condition to just #else. - -2013-01-11 Steve Ellcey - - * elf/elf.h (EF_MIPS_ARCH_32): Fix value. - (EF_MIPS_ARCH_64): Fix value. - (EF_MIPS_ARCH_32R2): New. - (EF_MIPS_ARCH_64R2): New. - -2013-01-11 H.J. Lu - - * Makeconfig (+link-pie-before-libc): New. - (+link-pie-after-libc): Likewise. - (+link-pie-tests): Likewise. - (+link-pie): Rewritten. - (link-before-libc): Remove $(config-LDFLAGS). - (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc). - (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc). - (config-LDFLAGS): Renamed to ... - (rtld-LDFLAGS): This. - (rtld-tests-LDFLAGS): New macro. - (link-libc-rpath-link): Likewise. - (link-libc-tests-rpath-link): Likewise. - (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link). - (link-libc): Prepand $(link-libc-rpath-link). - (link-libc-tests): Prepand $(link-libc-tests-rpath-link). - (test-program-prefix): New macro. - (test-via-rtld-prefix): Likewise. - (test-program-cmd): Likewise. - (host-test-program-cmd): Likewise. - * Makefile ($(common-objpfx)testrun.sh): Replace - $(run-program-prefix) with $(test-program-prefix). - * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with - $(rtld-LDFLAGS). - ($(common-objpfx)shlib.lds): Likewise. - (build-module-helper): Likewise. - ($(common-objpfx)format.lds): Likewise. - * Rules (binaries-pie-tests): New. - (binaries-pie-notests): Likewise. - (binaries-pie): Rewritten. - ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ... - ($(addprefix $(objpfx),$(binaries-pie-notests))): This. - ($(addprefix $(objpfx),$(binaries-pie-tests))): New. - (make-test-out): Replace $(host-built-program-cmd) with - $(host-test-program-cmd). - * config.make.in (build-hardcoded-path-in-tests): New variable. - * configure.in (--enable-hardcoded-path-in-tests): New configure - option. - (hardcoded_path_in_tests): New AC_SUBST. - * configure: Regenerated. - * catgets/Makefile ($(objpfx)test-gencat.out): Replace - $(built-program-cmd) with $(test-program-cmd). - * catgets/test-gencat.sh (run_program_cmd): Renamed to ... - (test_program_cmd): This. - * elf/Makefile ($(objpfx)order.out): Run test with - $(test-program-prefix). - ($(objpfx)order2.out): Likewise. - ($(objpfx)tst-initorder.out): Likewise. - ($(objpfx)tst-initorder2.out): Likewise. - ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with - $(test-program-cmd). - ($(objpfx)tst-array1-static.out): Likewise. - ($(objpfx)tst-array2.out): Likewise. - ($(objpfx)tst-array3.out): Likewise. - ($(objpfx)tst-array4.out): Likewise. - ($(objpfx)tst-array5.out): Likewise. - ($(objpfx)tst-array5-static.out): Likewise. - (tst-stackguard1-ARGS): Replace $(built-program-cmd) with - $(test-program-cmd). - * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace - $(run-program-prefix) with $(test-program-prefix). - * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ... - (test_program_prefix): This. - * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace - $(run-program-prefix) with $(test-program-prefix). - * iconvdata/tst-table.sh (run_program_prefix): Renamed to ... - (test_program_prefix): This. - * iconvdata/tst-tables.sh: Likewise. - * intl/Makefile ($(objpfx)tst-gettext.out): Replace - $(run-program-prefix) with $(test-program-prefix). - ($(objpfx)tst-translit.out): Likewise. - ($(objpfx)tst-gettext2.out): Likewise. - ($(objpfx)tst-gettext4.out): Likewise. - ($(objpfx)tst-gettext6.out): Likewise. - * intl/tst-gettext.sh (run_program_prefix): Renamed to ... - (test_program_prefix): This. - * intl/tst-gettext2.sh: Likewise. - * intl/tst-gettext4.sh Likewise. - * intl/tst-gettext6.sh: Likewise. - * intl/tst-translit.sh: Likewise. - * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd) - with $(test-program-cmd). - * libio/Makefile ($(objpfx)test-freopen.out): Replace - $(run-program-prefix) with $(test-program-prefix). - * libio/test-freopen.sh (run_program_prefix): Renamed to ... - (test_program_prefix): This. - * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace - $(run-program-prefix) with $(test-program-prefix). - * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ... - (test_program_prefix): This. - * manual/install.texi: Document --enable-hardcoded-path-in-tests. - * posix/Makefile ($(objpfx)globtest.out): Replace - $(run-via-rtld-prefix) and $(test-wrapper) with - $(test-program-prefix) and $(test-via-rtld-prefix). - ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with - $(test-program-prefix). - (tst-exec-ARGS): Replace $(host-built-program-cmd) with - $(host-test-program-cmd). - (tst-spawn-ARGS): Likewise. - ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with - $(test-program-prefix). - * posix/globtest.sh (un_via_rtld_prefix): Renamed to ... - (test_via_rtld_prefix): This. - (test_wrapper): Renamed to ... - (test_program_prefix): This. - (run_program_prefix): Replaced by test_program_prefix. - * posix/wordexp-tst.sh (run_program_prefix): Renamed to ... - (test_program_prefix): This. - * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd) - with $(host-test-program-cmd). - * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace - $(run-program-prefix) with $(test-program-prefix). - ($(objpfx)tst-printf.out): Likewise. - ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with - $(test-program-cmd). - * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ... - (test_program_prefix): This. - * stdio-common/tst-unbputc.sh: Likewise. - * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace - $(run-program-prefix) with $(test-program-prefix). - * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ... - (test_program_prefix): This. - * string/Makefile ($(objpfx)tst-svc.out): Replace - $(built-program-cmd) with $(test-program-cmd). - -2013-01-11 Andreas Jaeger - - [BZ #15003] - * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New - value. Sync with Linux 3.7. - -2013-01-10 David S. Miller - - * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes. - * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise. - -2013-01-10 Roland McGrath - - * configure.in (sysnames): Drop use of $m0sub and $msub, which are - never set. - * configure: Regenerated. - -2013-01-10 David S. Miller - - * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit - sparc V9 rather than using V8 code. - * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise. - -2013-01-10 Roland McGrath - - * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace. - (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise. - (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise. - (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise. - (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise. - (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise. - (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart. - (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise. - (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise. - (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace. - (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise. - (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise. - (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise. - (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise. - (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise. - (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise. - (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise. - (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise. - (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise. - (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise. - (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise. - (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise. - (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise. - (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise. - (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise. - (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise. - (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise. - -2013-01-10 David S. Miller - - * sysdeps/sparc/fpu/libm-test-ulps: Update. - -2013-01-10 H.J. Lu - - * posix/Makefile (tests-static): New variable. - (tests): Add $(tests-static). - (tst-exec-static-ARGS): New variable. - (tst-spawn-static-ARGS): Likewise. - * posix/tst-exec-static.c: New file. - * posix/tst-spawn-static.c: Likewise. - * posix/tst-exec.c: Support run directly. - * posix/tst-spawn.c: Likewise. - -2013-01-10 Joseph Myers - - * elf/link.h (struct dl_phdr_info): Use __extension__ with long - long. - * math/bits/mathcalls.h (llrint): Likewise. - (llround): Likewise. - * stdlib/stdlib.h (struct drand48_data): Likewise. - * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise. - * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm): - Likewise. - * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): - Likewise. - * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__] - (elf_greg_t): Likewise. - * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64] - (__jmp_buf): Likewise. - * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all - definitions. - (llrint): Likewise, for all definitions. - (llrintl): Likewise. - - * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll): - Remove [__GNUC__] condition. - * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change - condition to just [__USE_ISOC99]. - [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU]. - -2013-01-10 H.J. Lu - - [BZ #14200] - * sysdeps/unix/sysv/linux/x86/bits/environments.h - (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't - defined. - (_POSIX_V6_ILP32_OFF32): Likewise. - (_XBS5_ILP32_OFF32): Likewise. - (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32. - (__ILP32_OFFBIG_LDFLAGS): Likewise. - -2013-01-10 Siddhesh Poyarekar - - * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting. - - * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of - doubles __mpexp_twomm1. Adjust usage. - * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): - Remove. - -2013-01-10 Andreas Schwab - - [BZ #14964] - * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE) - (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros. - -2013-01-09 David S. Miller - - [BZ #15003] - * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS) - (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT) - (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS) - (TCP_FASTOPEN): Define. - (tcp_repair_opt): New structure. - (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New - enum values. - (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE) - (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN) - (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define. - (tcp_cookie_transactions): New structure. - -2013-01-09 Anton Blanchard - - * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file. - * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu. - * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise. - -2013-01-09 Joseph Myers - - * include/features.h (__USE_ANSI): Remove. - -2013-01-09 Roland McGrath - - * posix/Makefile (others): Depend on $(objpfx)getconf.speclist. - - * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro. - -2013-01-09 Siddhesh Poyarekar - - * sysdeps/s390/fpu/libm-test-ulps: Update. - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - - * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment. - (__acr): Likewise. - (__cpy): Likewise. - (norm): Likewise. - (denorm): Likewise. - (__mp_dbl): Likewise. - (__dbl_mp): Likewise. - (add_magnitudes): Likewise. - (sub_magnitudes): Likewise. - (__add): Likewise. - (__sub): Likewise. - (__mul): Likewise. - (__inv): Likewise. - (__dvd): Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise. - (__acr): Likewise. - (__cpy): Likewise. - (norm): Likewise. - (denorm): Likewise. - (__mp_dbl): Likewise. - (__dbl_mp): Likewise. - (add_magnitudes): Likewise. - (sub_magnitudes): Likewise. - (__add): Likewise. - (__sub): Likewise. - (__mul): Likewise. - (__inv): Likewise. - (__dvd): Likewise. - * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise. - (__acr): Likewise. - (__cpy): Likewise. - (norm): Likewise. - (denorm): Likewise. - (__mp_dbl): Likewise. - (__dbl_mp): Likewise. - (add_magnitudes): Likewise. - (sub_magnitudes): Likewise. - (__add): Likewise. - (__sub): Likewise. - (__mul): Likewise. - (__inv): Likewise. - (__dvd): Likewise. - -2013-01-08 Joseph Myers - - * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 && - __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES]. - * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >= - 2 && __USE_EXTERN_INLINES]: Likewise. - -2013-01-08 Andreas Jaeger - - [BZ #14985] - * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK): - Remove. - * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise. - * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise. - -2013-01-07 Anton Blanchard - - * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors. - * sysdeps/powerpc/fpu/feupdateenv.c: Likewise. - * sysdeps/powerpc/fpu/math_ldbl.h: Likewise. - * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise. - * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise. - * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise. - * sysdeps/powerpc/powerpc32/dl-start.S: Likewise. - * sysdeps/powerpc/powerpc32/memset.S: Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise. - * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise. - * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise. - * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise. - * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise. - * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise. - * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise. - * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise. - * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. - * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise. - * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise. - * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise. - * sysdeps/powerpc/powerpc32/strncmp.S: Likewise. - * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise. - * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise. - * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise. - * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise. - * sysdeps/powerpc/powerpc64/memcpy.S: Likewise. - * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise. - * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise. - * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise. - * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise. - * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise. - * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise. - * sysdeps/powerpc/powerpc64/strncmp.S: Likewise. - -2013-01-07 Joseph Myers - - * malloc/malloc.h (__MALLOC_P): Remove all definitions. - (__MALLOC_PMT): Likewise. - [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on - [__GNUC__], only on [_LIBC]. - [__GNUC__] (__MALLOC_DEPRECATED): Likewise. - [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition. - [!__GNUC__] (__MALLOC_DEPRECATED): Likewise. - * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in - forward declaration. - (realloc_hook_ini): Likewise. - (memalign_hook_ini): Likewise. - (__libc_memalign): Do not use __MALLOC_PMT in variable - declaration. - (__libc_valloc): Likewise. - (__libc_pvalloc): Likewise. - (__libc_calloc): Likewise. - (__posix_memalign): Likewise. - - [BZ #14996] - * math/s_casinh.c: Include . - (__casinh): Do not do computation with squaring and square root - for large arguments. - * math/s_casinhf.c: Include . - (__casinhf): Do not do computation with squaring and square root - for large arguments. - * math/s_casinhl.c: Include . - [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine. - (__casinhl): Do not do computation with squaring and square root - for large arguments. - * math/libm-test.inc (casin_test): Add more tests. - (casinh_test): Likewise. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2013-01-04 H.J. Lu - - * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed. - (__x86_64_raw_data_cache_size): Likewise. - (__x86_64_data_cache_size_half): Likewise. - (__x86_64_raw_data_cache_size_half): Likewise. - (__x86_64_shared_cache_size): Likewise. - (__x86_64_raw_shared_cache_size): Likewise. - (__x86_64_shared_cache_size_half): Likewise. - (__x86_64_raw_shared_cache_size_half): Likewise. - * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed - to ... - (__x86_data_cache_size): This. - (__x86_64_raw_data_cache_size): Renamed to ... - (__x86_raw_data_cache_size): This. - (__x86_64_data_cache_size_half): Renamed to ... - (__x86_data_cache_size_half): This. - (__x86_64_raw_data_cache_size_half): Renamed to ... - (__x86_raw_data_cache_size_half): This. - (__x86_64_shared_cache_size): Renamed to ... - (__x86_shared_cache_size): This. - (__x86_64_raw_shared_cache_size): Renamed to ... - (__x86_raw_shared_cache_size): This. - (__x86_64_shared_cache_size_half): Renamed to ... - (__x86_shared_cache_size_half): This. - (__x86_64_raw_shared_cache_size_half): Renamed to ... - (__x86_raw_shared_cache_size_half): This. - * sysdeps/x86_64/memcpy.S: Updated. - * sysdeps/x86_64/memset.S: Likewise. - * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise. - * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise. - * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise. - -2013-01-04 David S. Miller - - * sysdeps/sparc/fpu/libm-test-ulps: Update. - -2013-01-04 Andreas Schwab - - * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as - 1 to avoid redefinition warning. - (__USE_GNU): Don't define. - (init_signaling_nan): Protoize. - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - -2013-01-04 Siddhesh Poyarekar - - * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code. - * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove. - (__cpymn): Likewise. - (norm): Remove commented code. - (denorm): Likewise. - (__mp_dbl): Likewise. - (__inv): Likewise. - * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove. - (__cpymn): Likewise. - (norm): Remove commented code. - (denorm): Likewise. - (__mp_dbl): Likewise. - (__inv): Likewise. - - * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define - mp_no value for 1.0 and 2.0. - (norm): Use RADIXI instead of radixi.d. - (denorm): Likewise. - (__mul): Use 0.0 instead of zero.d. - * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define - mp_no value for 1.0 and 2.0. - (norm): Use RADIXI instead of radixi.d. - (denorm): Likewise. - (__mul): Use 0.0 instead of zero.d. - -2013-01-04 Joseph Myers - - [BZ #14994] - * math/s_casinh.c (__casinh): Reduce finite argument to first - quadrant then set signs of results at the end. - * math/s_casinhf.c (__casinhf): Likewise. - * math/s_casinhl.c (__casinhl): Likewise. - * math/libm-test.inc (casin_test): Add more tests. - (casinh_test): Likewise. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2013-01-04 Siddhesh Poyarekar - - * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting. - - * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO. - - * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented - declarations. - (denorm): Likewise. - (__mp_dbl): Likewise. - (__inv): Likewise. - - * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations - and adjust the header comment. - - * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary - variable name from declaration. - -2013-01-03 H.J. Lu - - * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): - Initialize COMMON_CPUID_INDEX_7 element. - * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro. - (CPUID_RTM): Likewise. - (HAS_RTM): Likewise. - (COMMON_CPUID_INDEX_7): New enum. - -2013-01-03 Andreas Schwab - - [BZ #14981] - * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when - size is zero, record memory as freed. - -2013-01-03 Andreas Jaeger - - * po/ia.po: Add new Interlingua translation. - -2012-01-03 Allan McRae - - * locale/programs/localedef.c: Fix description of '--posix' flag. - -2013-01-02 Joseph Myers - - * NEWS: Update dates in second copyright notice. - * README: Update copyright dates in example. - * manual/libc.texinfo: Update copyright dates. - * scripts/test-installation.pl: Update copyright date in --version - output. - - * hurd/ctty-input.c: Fix copyright notice formatting. - * hurd/ctty-output.c: Likewise. - * hurd/dtable.c: Likewise. - * hurd/hurd-raise.c: Likewise. - * hurd/hurdprio.c: Likewise. - * hurd/msgportdemux.c: Likewise. - * misc/sys/file.h: Likewise. - * misc/sys/ioctl.h: Likewise. - * sysdeps/gnu/netinet/ip_icmp.h: Likewise. - * sysdeps/mach/hurd/chdir.c: Likewise. - * sysdeps/mach/hurd/fchdir.c: Likewise. - * sysdeps/mach/hurd/rename.c: Likewise. - * sysdeps/mach/hurd/rmdir.c: Likewise. - * sysdeps/mach/hurd/seekdir.c: Likewise. - * sysdeps/mach/hurd/setsid.c: Likewise. - * sysdeps/posix/wait3.c: Likewise. - - * All files with FSF copyright notices: Update copyright dates - using scripts/update-copyrights. - * intl/plural.c: Regenerated. - * locale/programs/charmap-kw.h: Likewise. - * locale/programs/locfile-kw.h: Likewise. - -2013-01-02 Siddhesh Poyarekar - - * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first - four values. - - * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa - calculation loop and add branch prediction. - - * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to - check access beyond bounds of m1np. - - * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant - MPTWO. - (__inv): Remove local variable MPTWO to use the global - constant. - * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO. - * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local - variable MPTWO. - * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and - MP3HALFS static const. - -2013-01-01 David S. Miller - - * po/ca.po: Update from translation team. - -2013-01-01 Joseph Myers - - * scripts/update-copyrights: New file. - * Makeconfig: Reformat copyright notice. - * ctype/ctype.h: Likewise. - * debug/swprintf_chk.c: Likewise. - * elf/dl-cache.c: Likewise. - * elf/dl-debug.c: Likewise. - * elf/dl-object.c: Likewise. - * grp/initgroups.c: Likewise. - * hurd/Makefile: Likewise. - * hurd/hurd/signal.h: Likewise. - * hurd/hurdfault.c: Likewise. - * hurd/hurdioctl.c: Likewise. - * hurd/hurdlookup.c: Likewise. - * hurd/intr-msg.c: Likewise. - * iconv/gconv_open.c: Likewise. - * libio/swprintf.c: Likewise. - * locale/lc-ctype.c: Likewise. - * locale/nl_langinfo.c: Likewise. - * mach/Machrules: Likewise. - * mach/Makefile: Likewise. - * malloc/obstack.h: Likewise. - * manual/Makefile: Likewise. - * manual/tsort.awk: Likewise. - * misc/bits/stab.def: Likewise. - * nis/nis_print_group_entry.c: Likewise. - * nis/nis_table.c: Likewise. - * nis/nss_compat/compat-pwd.c: Likewise. - * nis/nss_compat/compat-spwd.c: Likewise. - * po/Makefile: Likewise. - * posix/fnmatch.c: Likewise. - * posix/regex.h: Likewise. - * resolv/Makefile: Likewise. - * resolv/nss_dns/dns-network.c: Likewise. - * resolv/res_hconf.c: Likewise. - * scripts/gen-sorted.awk: Likewise. - * soft-fp/soft-fp.h: Likewise. - * stdio-common/printf.h: Likewise. - * stdlib/monetary.h: Likewise. - * stdlib/random.c: Likewise. - * stdlib/random_r.c: Likewise. - * sysdeps/generic/Makefile: Likewise. - * sysdeps/gnu/Makefile: Likewise. - * sysdeps/ieee754/dbl-64/doasin.c: Likewise. - * sysdeps/ieee754/dbl-64/dosincos.c: Likewise. - * sysdeps/ieee754/dbl-64/e_asin.c: Likewise. - * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. - * sysdeps/ieee754/dbl-64/e_exp.c: Likewise. - * sysdeps/ieee754/dbl-64/e_log.c: Likewise. - * sysdeps/ieee754/dbl-64/e_pow.c: Likewise. - * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise. - * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise. - * sysdeps/ieee754/dbl-64/halfulp.c: Likewise. - * sysdeps/ieee754/dbl-64/mpa.c: Likewise. - * sysdeps/ieee754/dbl-64/mpatan.c: Likewise. - * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise. - * sysdeps/ieee754/dbl-64/mpexp.c: Likewise. - * sysdeps/ieee754/dbl-64/mplog.c: Likewise. - * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise. - * sysdeps/ieee754/dbl-64/mptan.c: Likewise. - * sysdeps/ieee754/dbl-64/s_atan.c: Likewise. - * sysdeps/ieee754/dbl-64/s_sin.c: Likewise. - * sysdeps/ieee754/dbl-64/s_tan.c: Likewise. - * sysdeps/ieee754/dbl-64/sincos32.c: Likewise. - * sysdeps/ieee754/dbl-64/slowexp.c: Likewise. - * sysdeps/ieee754/dbl-64/slowpow.c: Likewise. - * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise. - * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise. - * sysdeps/mach/hurd/errnos.awk: Likewise. - * sysdeps/mach/hurd/fork.c: Likewise. - * sysdeps/mach/hurd/getcwd.c: Likewise. - * sysdeps/mach/hurd/i386/trampoline.c: Likewise. - * sysdeps/mach/hurd/mmap.c: Likewise. - * sysdeps/mach/hurd/utimes.c: Likewise. - * sysdeps/mach/hurd/xmknod.c: Likewise. - * sysdeps/posix/profil.c: Likewise. - * sysdeps/posix/readdir_r.c: Likewise. - * sysdeps/powerpc/bits/mathdef.h: Likewise. - * sysdeps/powerpc/bits/setjmp.h: Likewise. - * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise. - * sysdeps/powerpc/powerpc32/memset.S: Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise. - * sysdeps/powerpc/powerpc32/sysdep.h: Likewise. - * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise. - * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise. - * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise. - * sysdeps/pthread/lio_listio.c: Likewise. - * sysdeps/sparc/dl-procinfo.h: Likewise. - * sysdeps/unix/i386/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise. - * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise. - * sysdeps/unix/sysv/linux/getdents.c: Likewise. - * sysdeps/unix/sysv/linux/msgctl.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/semctl.c: Likewise. - * sysdeps/unix/sysv/linux/shmctl.c: Likewise. - * sysdeps/unix/sysv/linux/speed.c: Likewise. - * sysdeps/unix/sysv/linux/xstatconv.h: Likewise. - * sysdeps/wordsize-32/divdi3.c: Likewise. - * time/sys/time.h: Likewise. - * wcsmbs/Makefile: Likewise. - -2013-01-01 David S. Miller - - * po/fr.po: Update from translation team. - - * catgets/gencat.c: Update copyright year. - * csu/version.c: Likewise. - * debug/catchsegv.sh: Likewise. - * debug/pcprofiledump.c: Likewise. - * debug/xtrace.sh: Likewise. - * elf/ldconfig.c: Likewise. - * elf/ldd.bash.in: Likewise. - * elf/pldd.c: Likewise. - * elf/sotruss.ksh: Likewise. - * elf/sprof.c: Likewise. - * iconv/iconv_prog.c: Likewise. - * iconv/iconvconfig.c: Likewise. - * locale/programs/locale.c: Likewise. - * locale/programs/localedef.c: Likewise. - * login/programs/pt_chown.c: Likewise. - * malloc/memusage.sh: Likewise. - * malloc/memusagestat.c: Likewise. - * malloc/mtrace.pl: Likewise. - * nscd/nscd.c: Likewise. - * nss/getent.c: Likewise. - * nss/makedb.c: Likewise. - * posix/getconf.c: Likewise. - -2012-12-31 Siddhesh Poyarekar - - * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal - numbers. - -2012-12-30 Mike Frysinger - - * math/bits/mathcalls.h (modf): Use __nonnull. - -2012-12-29 Siddhesh Poyarekar - - * sysdeps/ieee754/dbl-64/branred.h: Include dla.h. - (split): Use macro CN instead of the bare value. - * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN - could be used. - * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN - instead of the bare value. - (power1): Likewise. - -2012-12-28 Siddhesh Poyarekar - - * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove - __ATAN_TWOM. - * sysdeps/ieee754/dbl-64/mpatan.h: Likewise. - - * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with - their values. - * sysdeps/ieee754/dbl-64/atnat2.h: Likewise. - * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise. - * sysdeps/ieee754/dbl-64/ulog.h: Likewise. - * sysdeps/ieee754/dbl-64/utan.h: Likewise. - -2012-12-28 Andreas Jaeger - - * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New - values are from Linux 3.7. - - * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA) - (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7. - -2012-12-28 Siddhesh Poyarekar - - * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for - TRUE case. - - * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI. - (norm): Likewise. - * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const - variables with preprocessor constants. - * sysdeps/ieee754/dbl-64/mpatan.h: Likewise. - * sysdeps/ieee754/dbl-64/mpexp.h: Likewise. - * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise. - -2012-12-27 Bruno Haible - - [BZ #14317] - * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen - only if needed. - -2012-12-27 Siddhesh Poyarekar - - * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn - and use variable directly. - * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove. - - * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant - MPONE. - * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE. - * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local - variable MPONE. - * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise. - * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise. - * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h - include directive. Remove local variable MPONE. - * sysdeps/ieee754/dbl-64/mplog.h: Remove. - * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST. - * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise. - -2012-12-25 David S. Miller - - * version.h (RELEASE): Set to "development". - (VERSION): Set to "2.17.90". - * NEWS: Add 2.18 section. - -2012-12-21 David S. Miller - - * po/hr.po: Update from translation team. - -2012-12-21 Andreas Krebbel - - * sysdeps/s390/fpu/libm-test-ulps: Refreshed. - -2012-12-19 Steve Ellcey - - * NEWS: Mention new memcpy for MIPS. - -2012-12-18 Marcus Shawcroft - - * manual/contrib.texi (Contributors): Spelling correction. - -2012-12-15 David S. Miller - - * po/ru.po: Update from translation team. - -2012-12-13 David S. Miller - - * NEWS: Mention IFUNC testsuite enhancements. - - * po/pl.po: Update from translation team. - * po/bg.po: Likewise. - - * manual/contrib.texi (Contributors): Update entries for Hongjiu - Lu and Joseph S. Myers. Add entry for Marcus Shawcroft. - -2012-12-11 David S. Miller - - * po/sv.po: Update from translation team. - - * po/vi.po: Update from translation team. - - * po/cs.po: Update from translation team. - - * po/de.po: Update from translation team. - * po/eo.po: Likewise. - * po/nl.po: Likewise. - -2012-12-11 Siddhesh Poyarekar - - [BZ #14246] - * manual/argp.texi (Argp Helper Functions): Move node to follow - Argp Parsing State. - - [BZ #14872] - * manual/conf.texi (Limits on File System Capacity): Mention if - terminating null is included in the max size. - -2012-12-10 Andreas Jaeger - - * po/cs.po: Update from translation team. - -2012-12-08 Siddhesh Poyarekar - - * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as - void pointer and cast to uintptr_t. - * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include - path. - * sysdeps/s390/s390-64/memcpy.S: Likewise. - * sysdeps/s390/s390-64/memset.S: Likewise. - -2012-12-08 Benno Schulenberg - - [BZ #14833] - * menual/message.texi (Message Translation): Fix typos. - (Helper programs for gettext): Likewise. - -2012-12-07 Andreas Schwab - - [BZ #14898] - * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]: - Change to -1. - -2012-12-07 David S. Miller - - * po/libc.pot: Update. - -2012-12-07 Richard Henderson - - [BZ #10114] - * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the - normal/normal case to before the switch. - (_FP_DIV): Likewise. - -2012-12-06 Carlos O'Donell - Mike Frysinger - - * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also - check for __NR_fadvise64_64. - -2012-12-06 Chris Metcalf - - * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to - 0, not just to plain "0" as a statement. - (_FPU_SETCW): Define to (void) (cw), rather than doing nothing - with cw. - -2012-12-06 Joseph Myers - - * NEWS: Use sourceware.org in Bugzilla URL. - -2012-12-06 Siddhesh Poyarekar - - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h - (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)). - - * stdio-common/tst-put-error.c (do_test): Add newline to the - padded test to ensure flush. - -2012-12-05 Jeff Law - - * sunrpc/etc.rpc (fedfs_admin): Add entry. - -2012-12-05 Joseph Myers - - * README: Don't refer to ports add-on as distributed separately. - Mention AArch64 in list of systems supported in the ports add-on. - - * LICENSES: Add more non-FSF copyright and license notices. - - * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__ - ((unused)). - - * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include . - - * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of - 10000 as width of padded output. - -2012-12-04 Joseph Myers - - * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty. - - * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark - variable LX with __attribute__ ((unused)). - * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l): - Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY - with __attribute__ ((unused)). - -2012-12-04 David S. Miller - - * sysdeps/generic/memcopy.h: Add multiple inclusion protection. - -2012-12-04 Joseph Myers - - * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] - (CFLAGS-nldbl-acos.c): New variable. - [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise. - [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise. - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h - (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)). - - [BZ #14914] - * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear - whole low double instead of just low 47 bits when splitting values - into two parts. - -2012-12-03 Allan McRae - - * manual/stdio.texi (Predefined Printf Handlers): Remove - @hsep and @vsep usage. - -2012-12-03 Mike Frysinger - - * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3. - * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise. - -2012-12-03 Jeff Law - - * time/sys/time.h (settimeofday): Do not mark TV argument - as __nonnull. - -2012-12-01 Mike Frysinger - - * libio/fileops.c (_IO_new_file_close_it): Do not always flush - when currently writing and seek to current position when not. - * libio/Makefile (tests): Remove bug-fclose1. - * libio/bug-fclose1.c: Delete. - -2012-12-01 Joseph Myers - - * manual/arith.texi (feenableexcept): Fix typo. - (fedisableexcept): Likewise. - -2012-11-30 Roland McGrath - - * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a - second, differently-typed declaration, rather than a cast. - -2012-11-30 Siddhesh Poyarekar - - * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration... - * include/rpc/svc.h: ... here. - -2012-11-30 Aurelien Jarno - - [BZ #13013] - * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2 - depending n and resplen2 to catch cases where answer - equals answerp2. - -2012-11-29 Carlos O'Donell - - * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn - for unsupported DF_1_* bits when DL_DEBUG_FILES is set. - -2012-11-29 Mike Frysinger - - * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete. - -2012-11-29 Roland McGrath - - * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning. - -2012-11-28 Jeff Law - - [BZ #13761] - * nscd/grpcache.c (cache_addgr): Rename alloca_used to - dataset_temporary. Track alloca usage into alloca_used. - If dataset is large allocate and release it via malloc/free. - -2012-06-04 Florian Weimer - - [BZ #14197] - * debug/test-strcpy_chk.c: Mention __chk_fail ABI test. - -2012-11-28 David S. Miller - - * sysdeps/sparc/fpu/libm-test-ulps: Update. - -2012-11-28 Joseph Myers - - [BZ #14803] - * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value - of pi/2 rounded to nearest to 64 bits. - (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to - nearest to 64 bits. - (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64 - bits. - -2012-11-28 Jeff Law - Martin Osvald - - [BZ #14889] - * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype. - * sunrpc/svc.c: Include time.h. - (__svc_accept_failed): New function. - * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for - any reason other than EINTR, call __svc_accept_failed. - * sunrpc/svc_udp.c (svcudp_recv): Similarly. - * sunrpc/svc_unix.c (rendezvous_request): Similarly. - -2012-11-28 Andreas Schwab - - * scripts/abilist.awk: Also handle indirect functions in .opd - section. - -2012-11-28 Joseph Myers - - [BZ #13881] - * sysdeps/x86/fpu/powl_helper.c: New file. - * sysdeps/x86/fpu/Makefile: Likewise. - * sysdeps/i386/fpu/e_powl.S (limit): Remove object. - (p3): New object. - (__ieee754_powl): Use __powl_helper for finite arguments except - integer exponents below 8. - * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object. - (p3): New object. - (__ieee754_powl): Use __powl_helper for finite arguments except - integer exponents below 8. - * math/libm-test.inc (pow_test): Add more tests and enable some - previously disabled tests. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2012-11-28 Siddhesh Poyarekar - Carlos O'Donell - - * nss/makedb.c (is_prime): Assert that input is odd and greater - than 4. Note that fact in a comment too. - (next_prime): Add 4 to input. - -2012-11-27 Siddhesh Poyarekar - - [BZ #11741] - * libio/Makefile (tests): Add test case tst-fwrite-error. - * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF. - * libio/iofwrite_u.c (fwrite_unlocked): Likewise. - * libio/tst-fwrite-error.c: New test case. - -2012-11-26 H.J. Lu - - * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t - before casting to void *. - * include/libc-internal.h (__pointer_type): New macro. - (__integer_if_pointer_type_sub): Likewise. - (__integer_if_pointer_type): Likewise. - (cast_to_integer): Likewise. - * sysdeps/x86_64/bits/atomic.h: Include . - (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer - before casting to atomic64_t. - (atomic_exchange_acq): Likewise. - (__arch_exchange_and_add_body): Likewise. - (__arch_add_body): Likewise. - (atomic_add_negative): Likewise. - (atomic_add_zero): Likewise. - -2012-11-26 Joseph Myers - - * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function. - (fde_unencoded_compare): Use get_pc_begin instead of type-punning. - (add_fdes): Likewise. - (linear_search_fdes): Likewise. - (binary_search_unencoded_fdes): Likewise. - -2012-11-26 Andreas Schwab - - * elf/sotruss.ksh: Correctly locate argument of -F and -T options. - -2012-11-24 Adam Conrad - - * configure.in: Autodetect C++ header directories. - * configure: Regenerated. - -2012-11-23 Mike Frysinger - - * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF). - -2012-11-23 Andreas Schwab - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - -2012-11-22 Joseph Myers - - * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE && - LDBL_MANT_DIG == 106]: Disable some tests. - (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]: - Likewise. - (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]: - Likewise. - - [BZ #14871] - * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the - input for small inputs. Return +/- pi/2 for large inputs. - * math/libm-test.inc (atan_test): Add more tests. - - * sysdeps/generic/unwind-dw2-fde-glibc.c - (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with - __attribute__ ((unused)). - - [BZ #14645] - * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as - x * y if x and y are nonzero and z is zero. - - [BZ #14811] - * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate - nonzero exponents with absolute value below 0x1p-117 to +/- - 0x1p-117. - - [BZ #14869] - * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale - up arguments below 2**-450, not just those below 2**-500. - * math/libm-test.inc (hypot_test): Add another test. - - [BZ #14868] - * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): - Return a+b for ratio over 2**120, not 2**60. - * math/libm-test.inc (hypot_test): Add another test. - - * math/libm-test.inc (clog_test): Use - UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests. - (clog10_test): Likewise. - - [BZ #6778] - * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L. - -2012-11-22 Andreas Schwab - - * sysdeps/i386/fpu/libm-test-ulps: Update. - -2012-11-22 Pino Toscano - - * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate - printf output with newline. - -2012-11-21 H.J. Lu - - [BZ #14865] - * aclocal.m4 (LIBC_LINKER_FEATURE): New macro. - * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete, - -z nodlopen, -z initfirst and -z execstack support. - * configure: Regenerated. - - * elf/elf.h (DF_1_NODIRECT): New macro. - (DF_1_IGNMULDEF): Likewise. - (DF_1_NOKSYMS): Likewise. - (DF_1_NOHDR): Likewise. - (DF_1_EDITED): Likewise. - (DF_1_NORELOC): Likewise. - (DF_1_SYMINTPOSE): Likewise. - (DF_1_GLOBAUDIT): Likewise. - (DF_1_SINGLETON): Likewise. - * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert - DT_1_SUPPORTED_MASK bits. - * include/elf.h (DT_1_SUPPORTED_MASK): New macro. - -2012-11-20 Carlos O'Donell - - * sysdeps/unix/make-syscalls.sh: Document prefixes. - -2012-11-20 Thomas Schwinge - - * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New - macro. - - * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg) - (sendmmsg): Move declarations... - * socket/sys/socket.h: ... here. - * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg && - !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and - include it from... - * socket/recvmmsg.c: ... this new file. - * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG] - (sendmmsg): Rename to __sendmmsg, create weak alias and make - definition of __sendmmsg hidden. - * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise. - [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg): - Move ENOSYS stub into and include it from... - * socket/sendmmsg.c: ... this new file. - * sysdeps/unix/sysv/linux/Makefile [subdir=socket] - (sysdep_routines): Move recvmmsg and sendmmsg... - * socket/Makefile (routines): ... here. - * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg. - (GLIBC_PRIVATE): Add __sendmmsg. - * include/sys/socket.h (__sendmmsg): Add declarations. - * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of - sendmmsg. - -2012-11-20 Joseph Myers - - * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark - variable I1 with __attribute__ ((unused)). - * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise. - -2012-11-19 Joseph Myers - - * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare - DUMMY variables with __attribute__ ((unused)). - - * bits/byteswap.h: Include . - (__bswap_64): Use __uint64_t instead of unsigned long long int. - -2012-11-19 Pino Toscano - - * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to - string_t. Do not manually set errno. - (__ptsname_r): Change the type of PEERNAME to string_t, and check its - length with __strnlen. Make sure to both set errno and return it on - failure. - -2012-11-19 David S. Miller - - With help from Joseph Myers. - * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and - very large arguments properly. - * math/libm-test.inc (atan_test): New tests. - (atan2_test): New tests. - * sysdeps/sparc/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Update. - -2012-11-19 Joseph Myers - - [BZ #14856] - * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX): - Define to 3. - - * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect. - [POSIX] (EADDRNOTAVAIL): Likewise. - [POSIX] (EAFNOSUPPORT): Likewise. - [POSIX] (EALREADY): Likewise. - [POSIX] (ECONNABORTED): Likewise. - [POSIX] (ECONNREFUSED): Likewise. - [POSIX] (ECONNRESET): Likewise. - [POSIX] (EDESTADDRREQ): Likewise. - [POSIX] (EDQUOT): Likewise. - [POSIX] (EHOSTUNREACH): Likewise. - [POSIX] (EIDRM): Likewise. - [POSIX] (EISCONN): Likewise. - [POSIX] (ELOOP): Likewise. - [POSIX] (EMULTIHOP): Likewise. - [POSIX] (ENETDOWN): Likewise. - [POSIX] (ENETUNREACH): Likewise. - [POSIX] (ENOBUFS): Likewise. - [POSIX] (ENODATA): Likewise. - [POSIX] (ENOLINK): Likewise. - [POSIX] (ENOMSG): Likewise. - [POSIX] (ENOPROTOOPT): Likewise. - [POSIX] (ENOSR): Likewise. - [POSIX] (ENOSTR): Likewise. - [POSIX] (ENOTCONN): Likewise. - [POSIX] (ENOTSOCK): Likewise. - [POSIX] (EOPNOTSUPP): Likewise. - [POSIX] (EOVERFLOW): Likewise. - [POSIX] (EPROTO): Likewise. - [POSIX] (EPROTONOSUPPORT): Likewise. - [POSIX] (EPROTOTYPE): Likewise. - [POSIX] (ESTALE): Likewise. - [POSIX] (ETIME): Likewise. - [POSIX] (ETXTBSY): Likewise. - [POSIX] (EWOULDBLOCK): Likewise. - [!ISO && !ISO99 && !ISO11] (E*): Do not allow. - * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow. - [POSIX] (SEEK_CUR): Likewise. - [POSIX] (SEEK_END): Likewise. - [POSIX || UNIX98] (mode_t): Do not require. - [POSIX] (off_t): Likewise. - [POSIX] (pid_t): Likewise. - [POSIX] (sys/stat.h): Do not allow header. - [POSIX] (unistd.h): Likewise. - [!ISO && !ISO99 && !ISO11] (timespec): Do not allow. - [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise. - [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise. - * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not - require. - * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct - sigevent): Specify elements. - [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type - entry. - [!ISO && !ISO99 && !ISO11] (mq_*): Allow. - [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise. - - * conform/data/cpio.h-data [POSIX]: Disable whole file. - * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect. - * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11] - (AIO_LIST_MAX): Change to AIO_LISTIO_MAX. - [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove. - [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow. - [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow. - [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise. - [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow. - [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry. - [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow. - [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise. - [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise. - [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN): - Likewise. - [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE): - Likewise. - [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE): - Likewise. - [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN): - Likewise. - [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise. - [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise. - [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise. - [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise. - [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant. - Specify lower bound on value. - [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise. - [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise. - [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise. - [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise. - [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise. - [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise. - [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow. - [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact - value. - [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify - as optional. - [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise. - [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise. - [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise. - [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise. - [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise. - [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise. - [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise. - [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise. - [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise. - [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise. - [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise. - [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise. - [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise. - [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise. - [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise. - [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate - entry. - [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as - optional. - [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise. - [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise. - [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise. - [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise. - [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise. - [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS): - Likewise. - [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise. - [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise. - [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise. - [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise. - [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give - value as 3 for [POSIX || XPG3 || XPG4 || UNIX98]. - [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify - as optional. - [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise. - [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise. - [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise. - [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX): - Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98]. - [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not - specify as optional. - [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise. - [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise. - [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise. - [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow. - [POSIX || XPG3] (NL_ARGMAX): Do not allow. - [XPG3] (NL_LANGMAX): Likewise. - [POSIX || XPG3] (NL_MSGMAX): Likewise. - [POSIX || XPG3] (NL_NMAX): Likewise. - [POSIX || XPG3] (NL_SETMAX): Likewise. - [POSIX || XPG3] (NL_TEXTMAX): Likewise. - [XPG3] (NZERO): Likewise. - [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions. - [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow. - [!ISO && !ISO99 && !ISO11] (*_t): Allow. - * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11] - (REG_ERANGE): Expect. - * conform/data/stdio.h-data [POSIX] (L_cuserid): Use - optional-constant. - [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked): - Use (void) in prototype. - [POSIX] (*_t): Allow. - * conform/data/sys/times.h-data [POSIX]: Enable whole file. - * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11] - (WRDE_BADVAL): Expect. - - * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not - expect. - [XPG3 || XPG4] (O_RSYNC): Likewise. - * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill): - Likewise. - [XPG3 || XPG4] (pthread_sigmask): Likewise. - [XPG3 || XPG4] (sigqueue): Likewise. - [XPG3 || XPG4] (sigtimedwait): Likewise. - [XPG3 || XPG4] (sigwaitinfo): Likewise. - * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise. - [XPG3 || XPG4] (vsnprintf): Likewise. - * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t): - Likewise. - [XPG3 || XPG4] (blksize_t): Likewise. - * conform/data/time.h-data [XPG3 || XPG4] (struct timespec): - Likewise. - [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise. - [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise. - [XPG3 || XPG4] (struct itimerspec): Likewise. - [XPG3 || XPG4] (CLOCK_REALTIME): Likewise. - [XPG3 || XPG4] (TIMER_ABSTIME): Likewise. - [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise. - [XPG3 || XPG4] (clockid_t): Likewise. - [XPG3 || XPG4] (timer_t): Likewise. - [XPG3 || XPG4] (clock_getres): Likewise. - [XPG3 || XPG4] (clock_gettime): Likewise. - [XPG3 || XPG4] (clock_settime): Likewise. - [XPG3 || XPG4] (nanosleep): Likewise. - [XPG3 || XPG4] (timer_create): Likewise. - [XPG3 || XPG4] (timer_delete): Likewise. - [XPG3 || XPG4] (timer_gettime): Likewise. - [XPG3 || XPG4] (timer_getoverrun): Likewise. - [XPG3 || XPG4] (timer_settime): Likewise. - * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise. - [XPG3 || XPG4] (getlogin_r): Likewise. - [XPG3 || XPG4] (pread): Likewise. - [XPG3 || XPG4] (pthread_atfork): Likewise. - [XPG3 || XPG4] (pwrite): Likewise. - - [BZ #14835] - * signal/signal.h [__USE_XOPEN_EXTENDED]: Include - . - -2012-11-19 Pino Toscano - - * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before - finalizing MALLSTREAM. - - * sysdeps/mach/hurd/syncfs.c: New file. - -2012-11-19 Siddhesh Poyarekar - - [BZ #14719] - * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to - NETDB_INTERNAL when NSS_STATUS_UNAVAIL. - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set - h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE. - (_nss_dns_gethostbyname4_r): Likewise. - * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to - EAI_SYSTEM if NSS_STATUS_UNAVAIL. - -2012-11-19 Peng Haitao - - [BZ #13763] - * sunrpc/bindrsvprt.c: Add lock to protect static variable. - -2012-11-19 Steve McIntyre - - * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro. - * elf/cache.c (print_entry): Print ",AArch64" for - FLAG_AARCH64_LIB64 - - * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro. - * elf/cache.c (print_entry): Print ",hard-float" for - FLAG_ARM_LIBHF. - -2012-11-18 David S. Miller - - With help from Joseph Myers. - * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness - cutoff to 2**-13. - * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness - cutoff to 2**-25. - * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant. - ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very - small. - * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise. - * math/libm-test.inc (y0_test): New tests. - (y1_test): New tests. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Update. - * sysdeps/sparc/fpu/libm-test-ulps: Update. - -2012-11-18 Andreas Schwab - - * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on - 64-bit targets. - * configure: Regenerated. - -2012-11-17 David S. Miller - - [BZ #14811] - * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate - nonzero exponents with absolute value below 0x1p-128 to +/- - 0x1p-128. - -2012-11-17 Joseph Myers - - * sysdeps/unix/sysv/linux/fxstatat.c: Include . - - * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional. - - * posix/getconf-speclist.c: New file. - * posix/posix-envs.def: Likewise. - * posix/confstr.c (START_ENV_GROUP): New macro. - (END_ENV_GROUP): Likewise. - (KNOWN_ABSENT_ENVIRONMENT): Likewise. - (KNOWN_PRESENT_ENV_STRING): Likewise. - (KNOWN_PRESENT_ENVIRONMENT): Likewise. - (UNKNOWN_ENVIRONMENT): Likewise. - (confstr): Include posix-envs.def instead of handling - _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and - _CS_V5_WIDTH_RESTRICTED_ENVS directly here. - * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro. - (END_ENV_GROUP): Likewise. - (KNOWN_ABSENT_ENVIRONMENT): Likewise. - (KNOWN_PRESENT_ENVIRONMENT): Likewise. - (UNKNOWN_ENVIRONMENT): Likewise. - (__sysconf): Include posix-envs.def instead of handling associated - cases directly here. - * posix/Makefile ($(objpfx)getconf.speclist): Generate by - preprocessing getconf-speclist.c rather than running getconf or - generating empty file. - -2012-11-16 Pino Toscano - - * scripts/check-local-headers.sh: Ignore 'mach' headers. - -2012-11-16 Andrej Lajovic - - [BZ #14672] - * iconv/iconv_prog.c (main): Fix -c handling of '/'. - -2012-11-16 David S. Miller - - * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is - smaller than LDBL_EPSILON/2.0L, just return xm1. - -2012-11-16 H.J. Lu - - * elf/tst-array1.c (init): Set constructor priority to 1000. - (fini): Set destructor priority to 1000. - * elf/tst-array2dep.c: Likewise. - -2012-11-16 Siddhesh Poyarekar - - [BZ #11741] - * libio/fileops.c (_IO_new_file_write): Correctly return error. - (_IO_new_file_xsputn): Also return EOF if none of the input - data was written when overflow failed. - * libio/iopadn.c (_IO_padn): Likewise. - * libio/iowpadn.c (_IO_wpadn): Likewise. - * stdio-common/tst-put-error.c: Add copyright notice. - (do_test): Add case for printing padded string. - * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if - _IO_padn returned error. - [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error. - * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can - return EOF. - -2012-11-16 Siddhesh Poyarekar - - * libio/libioP.h: Add comment note that the references to C++ - bits are now obsolete. - -2012-11-15 Marcus Shawcroft - - * math/libm-test.inc (check_complex): Use asprintf. - -2012-11-14 Joseph Myers - - * debug/pcprofiledump.c (print_version): Update copyright year. - * malloc/memusagestat.c (print_version): Likewise. - -2012-11-14 H.J. Lu - - [BZ #14831] - * elf/Makefile (tests): Add tst-audit8. - ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so. - ($(objpfx)tst-audit8.out): New target. - (tst-audit8-ENV): New variable. - * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip - audit if l_reloc_result is NULL. - (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't - defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined. - * elf/tst-audit8.c: New file. - -2012-11-14 Marcus Shawcroft - - * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define. - * misc/Makefile (CFLAGS-select.c): Define. - * posix/Makefile (CFLAGS-pause.c): Define. - -2012-11-13 David S. Miller - - * crypt/Makefile: Move test targets after toplevel Rules - inclusion. Grab any necessary sysdep routines when linking. - * crypt/md5.c (md5_process_block): Remove define, we will always - name it __md5_process_block. - (md5_finish_ctx): Update md5_process_block call. - (md5_stream): Likewise. - (md5_process_bytes): Likewise. - (md5_process_block): Rename to __md5_process_block and move to ... - * crypt/md5-block.c: ... here. - * crypt/sha256.c (sha256_process_block): Move to ... - * crypt/sha256-block.c: ... here. - * crypt/sha512.c (sha512_process_block): Move to ... - * crypt/sha512-block.c: ... here. - * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include - path. - * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define. - * sysdeps/sparc/sparc64/multiarch/Makefile - (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in - crypt subdir. - (localedef-aux): Add md5 crypto assembler when in locale subdir. - * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64 - multiarch changes. - * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file. - * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file. - * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file. - * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file. - * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file. - * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file. - * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file. - * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file. - * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New - file. - * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file. - * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New - file. - * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file. - -2012-11-13 Joseph Myers - - * timezone/tzselect.ksh: Update from tzcode git revision - a435f9f0ecafa56d9e0263835836bd0c64cd7307. - * timezone/zdump.c: Likewise. - * timezone/zic.c: Likewise. - * timezone/Makefile ($(objpfx)version.h): Only include $(version) - in TZVERSION setting, not $(PKGVERSION). - ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and - REPORT_BUGS_TO settings. - - [BZ #14838] - * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define - macro. - -2012-11-13 Marcus Shawcroft - - * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow - detection to immediately after _FP_ROUND(). - * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working - bits are 0. - -2012-11-11 David S. Miller - - * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include - inttypes.h - (__get_clockfreq_via_proc_openprom): Use __open, __read, and - __close rather than their public counterparts. - -2012-11-10 Joseph Myers - - * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole - file. - [UNIX98] (sem_timedwait): Do not expect. - * conform/data/sys/socket.h-data [XPG3]: Disable whole file. - [XPG4 || UNIX98] (sockatmark): Do not expect. - * conform/data/time.h-data [XPG3 || XPG4 || UNIX98] - (clock_getcpuclockid): Do not expect. - [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect. - * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid): - Do not expect. - [XPG3 || XPG4 || UNIX98] (seteuid): Likewise. - * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect. - [UNIX98] (vwscanf): Likewise. - [UNIX98] (vswscanf): Likewise. - -2012-11-09 Joseph Myers - - * timezone/version.h: Remove file. - * timezone/README: Do not refer to version.h. - * timezone/Makefile ($(objpfx)zic.o): New dependency on - $(objpfx)version.h. - ($(objpfx)zdump.o): Likewise. - ($(objpfx)version.h): New target. - - * timezone/tzselect.ksh: Change to verbatim copy from tzcode - 2012i. - * timezone/README: Don't mention modification to tzselect.ksh. - * timezone/Makefile ($(objpfx)tzselect): Update substitutions to - work on unmodified tzselect.ksh. Substitute version numbers in - tzselect.ksh. - - * Makefile (format-me): Remove. - (INSTALL): Adjust indentation. Use commands directly instead of - using $(format-me). - - * aclocal.m4 (ACX_PKGVERSION): New macro. - (ACX_BUGURL): Likewise. - * configure.in: Use ACX_PKGVERSION and ACX_BUGURL. - (PKGVERSION): New AC_DEFINE_UNQUOTED. - (REPORT_BUGS_TO): Likewise. - * configure: Regenerated. - * config.h.in (PKGVERSION): New macro. - (REPORT_BUGS_TO): Likewise. - * config.make.in (PKGVERSION): New variable. - (PKGVERSION_TEXI): Likewise. - (REPORT_BUGS_TO): Likewise. - (REPORT_BUGS_TEXI): Likewise. - * Makefile (format-me): Use -I$(common-objpfx)manual. - (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi. - ($(common-objpfx)manual/%): New target. - (manual/%): Remove target. - * catgets/gencat.c (more_help): Use REPORT_BUGS_TO. - (print_version): Use PKGVERSION. - * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO. - * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION - and REPORT_BUGS_TO. - ($(objpfx)xtrace): Likewise. - * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO. - * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO. - (print_version): Use PKGVERSION. - * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO. - (do_version): Use PKGVERSION. - * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and - REPORT_BUGS_TO. - (common-ldd-rewrite): Likewise. - * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO. - * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO. - (print_version): Use PKGVERSION. - * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO. - * elf/pldd.c (argp_program_bug_address): Remove variable. - (more_help): New function. - (argp): Use more_help. - (print_version): Use PKGVERSION. - * elf/sln.c (main): Use PKGVERSION. - (usage): Use REPORT_BUGS_TO. - * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO. - (top level): Use PKGVERSION. - * elf/sprof.c (more_help): Use REPORT_BUGS_TO. - (print_version): Use PKGVERSION. - * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO. - (print_version): Use PKGVERSION. - * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO. - (print_version): Use PKGVERSION. - * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO. - (print_version): Use PKGVERSION. - * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO. - (print_version): Use PKGVERSION. - * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO. - (print_version): Use PKGVERSION. - * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION - and BUGURL. - ($(objpfx)memusage): Likewise. - * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO. - (do_version): Use PKGVERSION. - * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO. - (print_version): Use PKGVERSION. - * malloc/mtrace.pl ($PACKAGE): Remove variable. - ($PKGVERSION): New variable. - ($REPORT_BUGS_TO): Likewise. - (usage): Use $REPORT_BUGS_TO. - (top level): Use $PKGVERSION. - * manual/Makefile (libc-texi-generated): Add pkgvers.texi. - ($(objpfx)pkgvers.texi): New rule. - ($(objpfx)stamp-pkgvers): Likewise. - * manual/install.texi: Include pkgvers.texi. - (--with-pkgversion): Document new configure option. - (--with-bugurl): Likewise. - (Reporting Bugs): Describe Bugzilla as upstream tracker rather - than necessarily for this particular distribution. Use - REPORT_BUGS_TO for where to report bugs. - * INSTALL: Regenerated. - * manual/libc.texinfo: Include pkgvers.texi. - [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information. - * nscd/nscd.c (more_help): Use REPORT_BUGS_TO. - (print_version): Use PKGVERSION. - * nss/getent.c (more_help): Use REPORT_BUGS_TO. - (print_version): Use PKGVERSION. - * nss/makedb.c (more_help): Use REPORT_BUGS_TO. - (print_version): Use PKGVERSION. - * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO. - * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove - macro. - * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO. - (print_version): Use PKGVERSION. - * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO. - (print_version): Use PKGVERSION. - * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO - and PKGVERSION. - - * timezone/checktab.awk: Update from tzcode 2012i. - * timezone/ialloc.c: Likewise. - * timezone/private.h: Likewise. - * timezone/scheck.c: Likewise. - * timezone/tzfile.h: Likewise. - * timezone/tzselect.ksh: Merge in changes from tzcode 2012i. - (TZVERSION): Hardcode tzcode version number. - * timezone/zdump.c: Update from tzcode 2012i. - * timezone/zic.c: Likewise. - * timezone/version.h: New file. - * timezone/README: Describe version.h. Update upstream location. - - [BZ #14824] - * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] - (mktemp): Enable declaration. - [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise. - [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise. - [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise. - [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt): - Likewise. - [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt): - Likewise. - [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt): - Likewise. - [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r): - Likewise. - [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r): - Likewise. - [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r): - Likewise. - - [BZ #14821] - * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed - offset in buffer as u_int32_t not u_long. Consistently use memcpy - for copies of such integer values. - * sunrpc/clnt_udp.c (clntudp_control): Likewise. - * sunrpc/clnt_unix.c (clntunix_control): Likewise. - -2012-11-09 Andreas Jaeger - - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all - definitions and declarations that are provided by - and include . - -2012-11-08 Andreas Krebbel - - * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te". - * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value. - * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro - definition. - -2012-11-08 Marcus Shawcroft - - * elf/elf.h: Update comment before AArch64 relocations. - -2012-11-07 David S. Miller - - * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c - (__start_context): Declare. - (__makecontext_ret): Delete. - (__makecontext): Hook up __start_context instead of - __makecontext_ret. - * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile - (sysdep_routines): Add __start_context when in stdlib. - -2012-11-07 Joseph Myers - - * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM), - $(OBJDUMP) and $(READELF) to tst-xmmymm.sh. - * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of - hardcoded "nm". - (OBJDUMP): New variable. Use it instead of hardcoded "objdump". - (READELF): New variable. Use it instead of hardcoded "readelf". - -2012-11-07 H.J. Lu - - * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ... - * sysdeps/x86/Makefile: Here. - * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ... - * sysdeps/x86/tst-xmmymm.sh: This. - -2012-11-07 Joseph Myers - - * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all - expectations. - [UNIX98] (pthread_barrier_t): Do not expect. - [UNIX98] (pthread_barrierattr_t): Likewise. - [UNIX98] (pthread_spinlock_t): Likewise. - [UNIX98] (pthread_barrier_destroy): Likewise. - [UNIX98] (pthread_barrier_init): Likewise. - [UNIX98] (pthread_barrier_wait): Likewise. - [UNIX98] (pthread_barrierattr_destroy): Likewise. - [UNIX98] (pthread_barrierattr_getpshared): Likewise. - [UNIX98] (pthread_barrierattr_init): Likewise. - [UNIX98] (pthread_barrierattr_setpshared): Likewise. - [UNIX98] (pthread_getcpuclockid): Likewise. - [UNIX98] (pthread_mutex_timedlock): Likewise. - [UNIX98] (pthread_rwlock_timedrdlock): Likewise. - [UNIX98] (pthread_rwlock_timedwrlock): Likewise. - [UNIX98] (pthread_sigmask): Likewise. - [UNIX98] (pthread_spin_destroy): Likewise. - [UNIX98] (pthread_spin_init): Likewise. - [UNIX98] (pthread_spin_lock): Likewise. - [UNIX98] (pthread_spin_trylock): Likewise. - [UNIX98] (pthread_spin_unlock): Likewise. - * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t): - Do not expect. - [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise. - [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise. - [XPG3 || XPG4] (pthread_cond_t): Likewise. - [XPG3 || XPG4] (pthread_condattr_t): Likewise. - [XPG3 || XPG4] (pthread_key_t): Likewise. - [XPG3 || XPG4] (pthread_mutex_t): Likewise. - [XPG3 || XPG4] (pthread_mutexattr_t): Likewise. - [XPG3 || XPG4] (pthread_once_t): Likewise. - [XPG3 || XPG4] (pthread_rwlock_t): Likewise. - [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise. - [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise. - [XPG3 || XPG4] (pthread_t): Likewise. - - * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do - not expect. - [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise. - - * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan): - Change function return type to int. - - * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL): - Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98]. - [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise. - [!POSIX] (POSIX_MADV_RANDOM): Likewise. - [!POSIX] (POSIX_MADV_WILLNEED): Likewise. - [!POSIX] (POSIX_MADV_DONTNEED): Likewise. - [!POSIX] (posix_madvise): Likewise. - (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4 - && !UNIX98]. - (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise. - (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise. - (mode_t): Likewise. - (posix_mem_offset): Likewise. - (posix_typed_mem_get_info): Likewise. - (posix_typed_mem_open): Likewise. - - * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat): - Change condition to [XOPEN2K8]. - - * conform/conformtest.pl: Preprocess allow-header data with -x c - instead of from stdin. - (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h. - * conform/data/complex.h-data [C99-based standards] (cerf): Allow. - [C99-based standards] (cerfc): Likewise. - [C99-based standards] (cexp2): Likewise. - [C99-based standards] (cexpm1): Likewise. - [C99-based standards] (clog10): Likewise. - [C99-based standards] (clog1p): Likewise. - [C99-based standards] (clog2): Likewise. - [C99-based standards] (clgamma): Likewise. - [C99-based standards] (ctgamma): Likewise. - [C99-based standards] (cerff): Likewise. - [C99-based standards] (cerfcf): Likewise. - [C99-based standards] (cexp2f): Likewise. - [C99-based standards] (cexpm1f): Likewise. - [C99-based standards] (clog10f): Likewise. - [C99-based standards] (clog1pf): Likewise. - [C99-based standards] (clog2f): Likewise. - [C99-based standards] (clgammaf): Likewise. - [C99-based standards] (ctgammaf): Likewise. - [C99-based standards] (cerfl): Likewise. - [C99-based standards] (cerfcl): Likewise. - [C99-based standards] (cexp2l): Likewise. - [C99-based standards] (cexpm1l): Likewise. - [C99-based standards] (clog10l): Likewise. - [C99-based standards] (clog1pl): Likewise. - [C99-based standards] (clog2l): Likewise. - [C99-based standards] (clgammal): Likewise. - [C99-based standards] (ctgammal): Likewise. - * conform/data/inttypes.h-data [C99-based standards]: Include - stdint.h-data. Remove all expectations for stdint.h contents. - [C99-based standards] (PRI*): Do not allow. - [C99-based standards] (SCN*): Likewise. - [C99-based standards] (*_t): Likewise. - [C99-based-standards] (PRId8): Expect macro. - [C99-based-standards] (PRIi8): Likewise. - [C99-based-standards] (PRIo8): Likewise. - [C99-based-standards] (PRIu8): Likewise. - [C99-based-standards] (PRIx8): Likewise. - [C99-based-standards] (PRIX8): Likewise. - [C99-based-standards] (SCNd8): Likewise. - [C99-based-standards] (SCNi8): Likewise. - [C99-based-standards] (SCNo8): Likewise. - [C99-based-standards] (SCNu8): Likewise. - [C99-based-standards] (SCNx8): Likewise. - [C99-based-standards] (PRIdLEAST8): Likewise. - [C99-based-standards] (PRIiLEAST8): Likewise. - [C99-based-standards] (PRIoLEAST8): Likewise. - [C99-based-standards] (PRIuLEAST8): Likewise. - [C99-based-standards] (PRIxLEAST8): Likewise. - [C99-based-standards] (PRIXLEAST8): Likewise. - [C99-based-standards] (SCNdLEAST8): Likewise. - [C99-based-standards] (SCNiLEAST8): Likewise. - [C99-based-standards] (SCNoLEAST8): Likewise. - [C99-based-standards] (SCNuLEAST8): Likewise. - [C99-based-standards] (SCNxLEAST8): Likewise. - [C99-based-standards] (PRIdFAST8): Likewise. - [C99-based-standards] (PRIiFAST8): Likewise. - [C99-based-standards] (PRIoFAST8): Likewise. - [C99-based-standards] (PRIuFAST8): Likewise. - [C99-based-standards] (PRIxFAST8): Likewise. - [C99-based-standards] (PRIXFAST8): Likewise. - [C99-based-standards] (SCNdFAST8): Likewise. - [C99-based-standards] (SCNiFAST8): Likewise. - [C99-based-standards] (SCNoFAST8): Likewise. - [C99-based-standards] (SCNuFAST8): Likewise. - [C99-based-standards] (SCNxFAST8): Likewise. - [C99-based-standards] (PRId16): Likewise. - [C99-based-standards] (PRIi16): Likewise. - [C99-based-standards] (PRIo16): Likewise. - [C99-based-standards] (PRIu16): Likewise. - [C99-based-standards] (PRIx16): Likewise. - [C99-based-standards] (PRIX16): Likewise. - [C99-based-standards] (SCNd16): Likewise. - [C99-based-standards] (SCNi16): Likewise. - [C99-based-standards] (SCNo16): Likewise. - [C99-based-standards] (SCNu16): Likewise. - [C99-based-standards] (SCNx16): Likewise. - [C99-based-standards] (PRIdLEAST16): Likewise. - [C99-based-standards] (PRIiLEAST16): Likewise. - [C99-based-standards] (PRIoLEAST16): Likewise. - [C99-based-standards] (PRIuLEAST16): Likewise. - [C99-based-standards] (PRIxLEAST16): Likewise. - [C99-based-standards] (PRIXLEAST16): Likewise. - [C99-based-standards] (SCNdLEAST16): Likewise. - [C99-based-standards] (SCNiLEAST16): Likewise. - [C99-based-standards] (SCNoLEAST16): Likewise. - [C99-based-standards] (SCNuLEAST16): Likewise. - [C99-based-standards] (SCNxLEAST16): Likewise. - [C99-based-standards] (PRIdFAST16): Likewise. - [C99-based-standards] (PRIiFAST16): Likewise. - [C99-based-standards] (PRIoFAST16): Likewise. - [C99-based-standards] (PRIuFAST16): Likewise. - [C99-based-standards] (PRIxFAST16): Likewise. - [C99-based-standards] (PRIXFAST16): Likewise. - [C99-based-standards] (SCNdFAST16): Likewise. - [C99-based-standards] (SCNiFAST16): Likewise. - [C99-based-standards] (SCNoFAST16): Likewise. - [C99-based-standards] (SCNuFAST16): Likewise. - [C99-based-standards] (SCNxFAST16): Likewise. - [C99-based-standards] (PRId32): Likewise. - [C99-based-standards] (PRIi32): Likewise. - [C99-based-standards] (PRIo32): Likewise. - [C99-based-standards] (PRIu32): Likewise. - [C99-based-standards] (PRIx32): Likewise. - [C99-based-standards] (PRIX32): Likewise. - [C99-based-standards] (SCNd32): Likewise. - [C99-based-standards] (SCNi32): Likewise. - [C99-based-standards] (SCNo32): Likewise. - [C99-based-standards] (SCNu32): Likewise. - [C99-based-standards] (SCNx32): Likewise. - [C99-based-standards] (PRIdLEAST32): Likewise. - [C99-based-standards] (PRIiLEAST32): Likewise. - [C99-based-standards] (PRIoLEAST32): Likewise. - [C99-based-standards] (PRIuLEAST32): Likewise. - [C99-based-standards] (PRIxLEAST32): Likewise. - [C99-based-standards] (PRIXLEAST32): Likewise. - [C99-based-standards] (SCNdLEAST32): Likewise. - [C99-based-standards] (SCNiLEAST32): Likewise. - [C99-based-standards] (SCNoLEAST32): Likewise. - [C99-based-standards] (SCNuLEAST32): Likewise. - [C99-based-standards] (SCNxLEAST32): Likewise. - [C99-based-standards] (PRIdFAST32): Likewise. - [C99-based-standards] (PRIiFAST32): Likewise. - [C99-based-standards] (PRIoFAST32): Likewise. - [C99-based-standards] (PRIuFAST32): Likewise. - [C99-based-standards] (PRIxFAST32): Likewise. - [C99-based-standards] (PRIXFAST32): Likewise. - [C99-based-standards] (SCNdFAST32): Likewise. - [C99-based-standards] (SCNiFAST32): Likewise. - [C99-based-standards] (SCNoFAST32): Likewise. - [C99-based-standards] (SCNuFAST32): Likewise. - [C99-based-standards] (SCNxFAST32): Likewise. - [C99-based-standards] (PRId64): Likewise. - [C99-based-standards] (PRIi64): Likewise. - [C99-based-standards] (PRIo64): Likewise. - [C99-based-standards] (PRIu64): Likewise. - [C99-based-standards] (PRIx64): Likewise. - [C99-based-standards] (PRIX64): Likewise. - [C99-based-standards] (SCNd64): Likewise. - [C99-based-standards] (SCNi64): Likewise. - [C99-based-standards] (SCNo64): Likewise. - [C99-based-standards] (SCNu64): Likewise. - [C99-based-standards] (SCNx64): Likewise. - [C99-based-standards] (PRIdLEAST64): Likewise. - [C99-based-standards] (PRIiLEAST64): Likewise. - [C99-based-standards] (PRIoLEAST64): Likewise. - [C99-based-standards] (PRIuLEAST64): Likewise. - [C99-based-standards] (PRIxLEAST64): Likewise. - [C99-based-standards] (PRIXLEAST64): Likewise. - [C99-based-standards] (SCNdLEAST64): Likewise. - [C99-based-standards] (SCNiLEAST64): Likewise. - [C99-based-standards] (SCNoLEAST64): Likewise. - [C99-based-standards] (SCNuLEAST64): Likewise. - [C99-based-standards] (SCNxLEAST64): Likewise. - [C99-based-standards] (PRIdFAST64): Likewise. - [C99-based-standards] (PRIiFAST64): Likewise. - [C99-based-standards] (PRIoFAST64): Likewise. - [C99-based-standards] (PRIuFAST64): Likewise. - [C99-based-standards] (PRIxFAST64): Likewise. - [C99-based-standards] (PRIXFAST64): Likewise. - [C99-based-standards] (SCNdFAST64): Likewise. - [C99-based-standards] (SCNiFAST64): Likewise. - [C99-based-standards] (SCNoFAST64): Likewise. - [C99-based-standards] (SCNuFAST64): Likewise. - [C99-based-standards] (SCNxFAST64): Likewise. - [C99-based-standards] (PRIdMAX): Likewise. - [C99-based-standards] (PRIiMAX): Likewise. - [C99-based-standards] (PRIoMAX): Likewise. - [C99-based-standards] (PRIuMAX): Likewise. - [C99-based-standards] (PRIxMAX): Likewise. - [C99-based-standards] (PRIXMAX): Likewise. - [C99-based-standards] (SCNdMAX): Likewise. - [C99-based-standards] (SCNiMAX): Likewise. - [C99-based-standards] (SCNoMAX): Likewise. - [C99-based-standards] (SCNuMAX): Likewise. - [C99-based-standards] (SCNxMAX): Likewise. - [C99-based-standards] (PRIdPTR): Likewise. - [C99-based-standards] (PRIiPTR): Likewise. - [C99-based-standards] (PRIoPTR): Likewise. - [C99-based-standards] (PRIuPTR): Likewise. - [C99-based-standards] (PRIxPTR): Likewise. - [C99-based-standards] (PRIXPTR): Likewise. - [C99-based-standards] (SCNdPTR): Likewise. - [C99-based-standards] (SCNiPTR): Likewise. - [C99-based-standards] (SCNoPTR): Likewise. - [C99-based-standards] (SCNuPTR): Likewise. - [C99-based-standards] (SCNxPTR): Likewise. - * conform/data/iso646.h-data [ISO C standards] (*_t): Do not - allow. - * conform/data/stdint.h-data: Update comments to clarify - requirements. - [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify - type. - [C99-based standards] (INT8_MAX): Likewise. - [C99-based standards] (INT16_MIN): Likewise. - [C99-based standards] (INT16_MAX): Likewise. - [C99-based standards] (INT32_MIN): Likewise. - [C99-based standards] (INT32_MAX): Likewise. - [C99-based standards] (INT64_MIN): Likewise. - [C99-based standards] (INT64_MAX): Likewise. - [C99-based standards] (UINT8_MAX): Likewise. - [C99-based standards] (UINT16_MAX): Likewise. - [C99-based standards] (UINT32_MAX): Likewise. - [C99-based standards] (UINT64_MAX): Likewise. - [C99-based standards] (INT_LEAST8_MIN): Likewise. - [C99-based standards] (INT_LEAST8_MAX): Likewise. - [C99-based standards] (INT_LEAST16_MIN): Likewise. - [C99-based standards] (INT_LEAST16_MAX): Likewise. - [C99-based standards] (INT_LEAST32_MIN): Likewise. - [C99-based standards] (INT_LEAST32_MAX): Likewise. - [C99-based standards] (INT_LEAST64_MIN): Likewise. - [C99-based standards] (INT_LEAST64_MAX): Likewise. - [C99-based standards] (UINT_LEAST8_MAX): Likewise. - [C99-based standards] (UINT_LEAST16_MAX): Likewise. - [C99-based standards] (UINT_LEAST32_MAX): Likewise. - [C99-based standards] (UINT_LEAST64_MAX): Likewise. - [C99-based standards] (INT_FAST8_MIN): Likewise. - [C99-based standards] (INT_FAST8_MAX): Likewise. - [C99-based standards] (INT_FAST16_MIN): Likewise. - [C99-based standards] (INT_FAST16_MAX): Likewise. - [C99-based standards] (INT_FAST32_MIN): Likewise. - [C99-based standards] (INT_FAST32_MAX): Likewise. - [C99-based standards] (INT_FAST64_MIN): Likewise. - [C99-based standards] (INT_FAST64_MAX): Likewise. - [C99-based standards] (UINT_FAST8_MAX): Likewise. - [C99-based standards] (UINT_FAST16_MAX): Likewise. - [C99-based standards] (UINT_FAST32_MAX): Likewise. - [C99-based standards] (UINT_FAST64_MAX): Likewise. - [C99-based standards] (INTPTR_MIN): Likewise. - [C99-based standards] (INTPTR_MAX): Likewise. - [C99-based standards] (UINTPTR_MAX): Likewise. - [C99-based standards] (INTMAX_MIN): Likewise. - [C99-based standards] (INTMAX_MAX): Likewise. - [C99-based standards] (UINTMAX_MAX): Likewise. - [C99-based standards] (PTRDIFF_MIN): Likewise. - [C99-based standards] (PTRDIFF_MAX): Likewise. - [C99-based standards] (SIG_ATOMIC_MAX): Likewise. - [C99-based standards] (SIZE_MAX): Likewise. - [C99-based standards] (WCHAR_MAX): Likewise. - [C99-based standards] (WINT_MAX): Likewise. - [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify - constraint on value. - [C99-based standards] (WCHAR_MIN): Likewise. - [C99-based standards] (WINT_MIN): Likewise. - [C99-based standards] (*_t): Allow. - * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change - condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98]. - Include math.h-data and complex.h-data. Remove all expectations - of math.h and complex.h contents. - * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16" - at end of line. - * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4] - (struct tm): Expect tag. - [C99-based-standards] (wcstof): Expect function. - [C99-based-standards] (wcstold): Likewise. - [C99-based-standards] (wcstoll): Likewise. - [C99-based-standards] (wcstoull): Likewise. - [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use - macro-int-constant. Specify type. - [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify - constraint on value. - [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant. - Specify type. - [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant. - Specify value. - [ISO C standards]: Do not allow headers. - [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to - wcs[abcdefghijklmnopqrstuvwxyz]*. - [ISO C standards] (*_t): Do not allow. - * conform/data/wctype.h-data [C99-based standards] (iswblank): - Expect function. - [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise. - [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant. - Specify type. - [ISO C standards]: Do not allow headers. - [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to - is[abcdefghijklmnopqrstuvwxyz]*. - [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to - to[abcdefghijklmnopqrstuvwxyz]*. - [ISO C standards] (*_t): Do not allow. - * conform/data/stdalign.h-data: New file. - * conform/data/stdbool.h-data: Likewise. - * conform/data/stdnoreturn.h-data: Likewise. - -2012-11-07 Roland McGrath - - [BZ #14815] - * manual/filesys.texi (Directory Entries): Typo fix. - Reported by . - -2012-11-07 Marcus Shawcroft - - * elf/elf.h (EM_AARCH64): New macro. - (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise. - (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise. - (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise. - (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise. - (R_AARCH64_TLSDESC): Likewise. - (NT_ARM_TLS): Likewise. - (NT_ARM_HW_BREAK): Likewise. - (NT_ARM_HW_WATCH): Likewise. - -2012-11-07 Joseph Myers - - [BZ #14811] - * sysdeps/i386/fpu/e_powl.S (pm79): New object. - (__ieee754_powl): Saturate nonzero exponents with absolute value - below 0x1p-79 to +/- 0x1p-79. - * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero - exponents with absolute value below 0x1p-64 to +/- 0x1p-64. - * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate - nonzero exponents with absolute value below 0x1p-32 to +/- - 0x1p-32. - * sysdeps/x86_64/fpu/e_powl.S (pm79): New object. - (__ieee754_powl): Saturate nonzero exponents with absolute value - below 0x1p-79 to +/- 0x1p-79. - * math/libm-test.inc (pow_test): Add more tests. - -2012-11-07 Andreas Krebbel - - * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync - _dl_s390_cap_flags with kernel. Increase string length. - (_dl_s390_platforms): Add z196 and zEC12. - -2012-11-07 Joseph Myers - - * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]: - Change XOPEN21K to XOPEN2K. - -2012-11-06 Maxim Kuvyrkov - - * string/memmove.c: Use memcpy when possible. - -2012-11-06 Andreas Jaeger - - * po/eo.po: Update from translation team. - -2012-11-06 Joseph Myers - - [BZ #14793] - * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z - exponent and small x and y exponents, scale x or y up. Increase - by 2 the exponent used in scaling up. - * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise. - * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise. - * math/libm-test.inc (fma_test): Add more tests. - (fma_test_towardzero): Likewise. - (fma_test_downward): Likewise. - (fma_test_upward): Likewise. - -2012-11-05 Joseph Myers - - [BZ #14805] - * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const - fenv_t *. - - [BZ #14801] - * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation - namespace for names of struct fields. - * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to - fenv_t fields. - * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise. - * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise. - -2012-11-04 Samuel Thibault - - [BZ #3665] - * sysdeps/mach/hurd/bits/errno.h: Regenerated. - -2012-11-04 Thomas Schwinge - - * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of - PTR_DEMANGLE. - - [BZ #5246] - * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of - PTR_DEMANGLE. - -2012-11-04 Joseph Myers - - [BZ #14797] - * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that - definitely overflow as x * y not x * y + z. - * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise. - * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise. - * math/libm-test.inc (fma_test): Add more tests. - (fma_test_towardzero): Likewise. - (fma_test_downward): Likewise. - (fma_test_upward): Likewise. - -2012-11-04 Thomas Schwinge - - [BZ #157] - - * include/stub-tag.h: Remove file. - * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit - '#include' of it. - * manual/maint.texi (Porting): Don't reference it. - * Makerules ($(objpfx)stubs): Likewise. - * dirent/closedir.c: Don't include . - * dirent/dirfd.c: Likewise. - * dirent/fdopendir.c: Likewise. - * dirent/getdents.c: Likewise. - * dirent/getdents64.c: Likewise. - * dirent/opendir.c: Likewise. - * dirent/readdir.c: Likewise. - * dirent/readdir64.c: Likewise. - * dirent/readdir64_r.c: Likewise. - * dirent/readdir_r.c: Likewise. - * dirent/rewinddir.c: Likewise. - * dirent/seekdir.c: Likewise. - * dirent/telldir.c: Likewise. - * gmon/profil.c: Likewise. - * grp/setgroups.c: Likewise. - * inet/if_index.c: Likewise. - * io/access.c: Likewise. - * io/chdir.c: Likewise. - * io/chmod.c: Likewise. - * io/chown.c: Likewise. - * io/close.c: Likewise. - * io/dup.c: Likewise. - * io/dup2.c: Likewise. - * io/dup3.c: Likewise. - * io/euidaccess.c: Likewise. - * io/faccessat.c: Likewise. - * io/fchdir.c: Likewise. - * io/fchmod.c: Likewise. - * io/fchmodat.c: Likewise. - * io/fchown.c: Likewise. - * io/fchownat.c: Likewise. - * io/fcntl.c: Likewise. - * io/flock.c: Likewise. - * io/fstatfs.c: Likewise. - * io/fstatfs64.c: Likewise. - * io/fstatvfs.c: Likewise. - * io/fstatvfs64.c: Likewise. - * io/futimens.c: Likewise. - * io/fxstat.c: Likewise. - * io/fxstat64.c: Likewise. - * io/fxstatat.c: Likewise. - * io/fxstatat64.c: Likewise. - * io/getcwd.c: Likewise. - * io/isatty.c: Likewise. - * io/lchmod.c: Likewise. - * io/lchown.c: Likewise. - * io/link.c: Likewise. - * io/linkat.c: Likewise. - * io/lseek.c: Likewise. - * io/lseek64.c: Likewise. - * io/lxstat64.c: Likewise. - * io/mkdir.c: Likewise. - * io/mkdirat.c: Likewise. - * io/mkfifo.c: Likewise. - * io/mkfifoat.c: Likewise. - * io/open.c: Likewise. - * io/open64.c: Likewise. - * io/openat.c: Likewise. - * io/openat64.c: Likewise. - * io/pipe.c: Likewise. - * io/pipe2.c: Likewise. - * io/poll.c: Likewise. - * io/posix_fadvise.c: Likewise. - * io/posix_fadvise64.c: Likewise. - * io/posix_fallocate.c: Likewise. - * io/posix_fallocate64.c: Likewise. - * io/read.c: Likewise. - * io/readlink.c: Likewise. - * io/readlinkat.c: Likewise. - * io/rmdir.c: Likewise. - * io/sendfile.c: Likewise. - * io/sendfile64.c: Likewise. - * io/statfs.c: Likewise. - * io/statfs64.c: Likewise. - * io/statvfs.c: Likewise. - * io/statvfs64.c: Likewise. - * io/symlink.c: Likewise. - * io/symlinkat.c: Likewise. - * io/ttyname.c: Likewise. - * io/ttyname_r.c: Likewise. - * io/umask.c: Likewise. - * io/unlink.c: Likewise. - * io/unlinkat.c: Likewise. - * io/utime.c: Likewise. - * io/utimensat.c: Likewise. - * io/write.c: Likewise. - * io/xmknod.c: Likewise. - * io/xmknodat.c: Likewise. - * io/xstat.c: Likewise. - * io/xstat64.c: Likewise. - * login/getpt.c: Likewise. - * login/grantpt.c: Likewise. - * login/unlockpt.c: Likewise. - * math/e_acoshl.c: Likewise. - * math/e_acosl.c: Likewise. - * math/e_asinl.c: Likewise. - * math/e_atan2l.c: Likewise. - * math/e_atanhl.c: Likewise. - * math/e_coshl.c: Likewise. - * math/e_expl.c: Likewise. - * math/e_fmodl.c: Likewise. - * math/e_gammal_r.c: Likewise. - * math/e_hypotl.c: Likewise. - * math/e_j0l.c: Likewise. - * math/e_j1l.c: Likewise. - * math/e_jnl.c: Likewise. - * math/e_lgammal_r.c: Likewise. - * math/e_log10l.c: Likewise. - * math/e_log2l.c: Likewise. - * math/e_logl.c: Likewise. - * math/e_powl.c: Likewise. - * math/e_rem_pio2l.c: Likewise. - * math/e_sinhl.c: Likewise. - * math/e_sqrtl.c: Likewise. - * math/fclrexcpt.c: Likewise. - * math/fedisblxcpt.c: Likewise. - * math/feenablxcpt.c: Likewise. - * math/fegetenv.c: Likewise. - * math/fegetexcept.c: Likewise. - * math/fegetround.c: Likewise. - * math/feholdexcpt.c: Likewise. - * math/fesetenv.c: Likewise. - * math/fesetround.c: Likewise. - * math/feupdateenv.c: Likewise. - * math/fgetexcptflg.c: Likewise. - * math/fraiseexcpt.c: Likewise. - * math/fsetexcptflg.c: Likewise. - * math/ftestexcept.c: Likewise. - * math/k_cosl.c: Likewise. - * math/k_rem_pio2l.c: Likewise. - * math/k_sinl.c: Likewise. - * math/k_tanl.c: Likewise. - * math/s_asinhl.c: Likewise. - * math/s_atanl.c: Likewise. - * math/s_cbrtl.c: Likewise. - * math/s_erfl.c: Likewise. - * math/s_expm1l.c: Likewise. - * math/s_log1pl.c: Likewise. - * math/s_tanhl.c: Likewise. - * misc/acct.c: Likewise. - * misc/brk.c: Likewise. - * misc/chflags.c: Likewise. - * misc/chroot.c: Likewise. - * misc/fchflags.c: Likewise. - * misc/fgetxattr.c: Likewise. - * misc/flistxattr.c: Likewise. - * misc/fremovexattr.c: Likewise. - * misc/fsetxattr.c: Likewise. - * misc/fsync.c: Likewise. - * misc/ftruncate.c: Likewise. - * misc/futimes.c: Likewise. - * misc/futimesat.c: Likewise. - * misc/getdomain.c: Likewise. - * misc/getdtsz.c: Likewise. - * misc/gethostid.c: Likewise. - * misc/gethostname.c: Likewise. - * misc/getloadavg.c: Likewise. - * misc/getpagesize.c: Likewise. - * misc/getsysstats.c: Likewise. - * misc/getxattr.c: Likewise. - * misc/gtty.c: Likewise. - * misc/ioctl.c: Likewise. - * misc/lgetxattr.c: Likewise. - * misc/listxattr.c: Likewise. - * misc/llistxattr.c: Likewise. - * misc/lremovexattr.c: Likewise. - * misc/lsetxattr.c: Likewise. - * misc/lutimes.c: Likewise. - * misc/madvise.c: Likewise. - * misc/mincore.c: Likewise. - * misc/mlock.c: Likewise. - * misc/mlockall.c: Likewise. - * misc/mmap.c: Likewise. - * misc/mprotect.c: Likewise. - * misc/msync.c: Likewise. - * misc/munlock.c: Likewise. - * misc/munlockall.c: Likewise. - * misc/munmap.c: Likewise. - * misc/preadv.c: Likewise. - * misc/preadv64.c: Likewise. - * misc/ptrace.c: Likewise. - * misc/pwritev.c: Likewise. - * misc/pwritev64.c: Likewise. - * misc/readv.c: Likewise. - * misc/reboot.c: Likewise. - * misc/remap_file_pages.c: Likewise. - * misc/removexattr.c: Likewise. - * misc/revoke.c: Likewise. - * misc/select.c: Likewise. - * misc/setdomain.c: Likewise. - * misc/setegid.c: Likewise. - * misc/seteuid.c: Likewise. - * misc/sethostid.c: Likewise. - * misc/sethostname.c: Likewise. - * misc/setregid.c: Likewise. - * misc/setreuid.c: Likewise. - * misc/setxattr.c: Likewise. - * misc/sstk.c: Likewise. - * misc/stty.c: Likewise. - * misc/swapoff.c: Likewise. - * misc/swapon.c: Likewise. - * misc/sync.c: Likewise. - * misc/syncfs.c: Likewise. - * misc/syscall.c: Likewise. - * misc/truncate.c: Likewise. - * misc/ualarm.c: Likewise. - * misc/usleep.c: Likewise. - * misc/ustat.c: Likewise. - * misc/utimes.c: Likewise. - * misc/vhangup.c: Likewise. - * misc/writev.c: Likewise. - * posix/_exit.c: Likewise. - * posix/alarm.c: Likewise. - * posix/execve.c: Likewise. - * posix/fexecve.c: Likewise. - * posix/fork.c: Likewise. - * posix/fpathconf.c: Likewise. - * posix/getaddrinfo.c: Likewise. - * posix/getegid.c: Likewise. - * posix/geteuid.c: Likewise. - * posix/getgid.c: Likewise. - * posix/getgroups.c: Likewise. - * posix/getlogin.c: Likewise. - * posix/getlogin_r.c: Likewise. - * posix/getpgid.c: Likewise. - * posix/getpid.c: Likewise. - * posix/getppid.c: Likewise. - * posix/getresgid.c: Likewise. - * posix/getresuid.c: Likewise. - * posix/getsid.c: Likewise. - * posix/getuid.c: Likewise. - * posix/glob64.c: Likewise. - * posix/nanosleep.c: Likewise. - * posix/pathconf.c: Likewise. - * posix/pause.c: Likewise. - * posix/posix_madvise.c: Likewise. - * posix/pread.c: Likewise. - * posix/pread64.c: Likewise. - * posix/pwrite.c: Likewise. - * posix/pwrite64.c: Likewise. - * posix/sched_getaffinity.c: Likewise. - * posix/sched_getp.c: Likewise. - * posix/sched_gets.c: Likewise. - * posix/sched_primax.c: Likewise. - * posix/sched_primin.c: Likewise. - * posix/sched_rr_gi.c: Likewise. - * posix/sched_setaffinity.c: Likewise. - * posix/sched_setp.c: Likewise. - * posix/sched_sets.c: Likewise. - * posix/sched_yield.c: Likewise. - * posix/setgid.c: Likewise. - * posix/setlogin.c: Likewise. - * posix/setpgid.c: Likewise. - * posix/setresgid.c: Likewise. - * posix/setresuid.c: Likewise. - * posix/setsid.c: Likewise. - * posix/setuid.c: Likewise. - * posix/sleep.c: Likewise. - * posix/spawni.c: Likewise. - * posix/sysconf.c: Likewise. - * posix/times.c: Likewise. - * posix/wait.c: Likewise. - * posix/wait3.c: Likewise. - * posix/wait4.c: Likewise. - * posix/waitpid.c: Likewise. - * resolv/gai_sigqueue.c: Likewise. - * resource/getpriority.c: Likewise. - * resource/getrlimit.c: Likewise. - * resource/getrusage.c: Likewise. - * resource/nice.c: Likewise. - * resource/setpriority.c: Likewise. - * resource/setrlimit.c: Likewise. - * resource/ulimit.c: Likewise. - * rt/aio_cancel.c: Likewise. - * rt/aio_fsync.c: Likewise. - * rt/aio_read.c: Likewise. - * rt/aio_sigqueue.c: Likewise. - * rt/aio_suspend.c: Likewise. - * rt/aio_write.c: Likewise. - * rt/clock_getres.c: Likewise. - * rt/clock_gettime.c: Likewise. - * rt/clock_nanosleep.c: Likewise. - * rt/clock_settime.c: Likewise. - * rt/lio_listio.c: Likewise. - * rt/mq_close.c: Likewise. - * rt/mq_getattr.c: Likewise. - * rt/mq_notify.c: Likewise. - * rt/mq_open.c: Likewise. - * rt/mq_receive.c: Likewise. - * rt/mq_send.c: Likewise. - * rt/mq_setattr.c: Likewise. - * rt/mq_timedreceive.c: Likewise. - * rt/mq_timedsend.c: Likewise. - * rt/mq_unlink.c: Likewise. - * rt/shm_open.c: Likewise. - * rt/shm_unlink.c: Likewise. - * rt/timer_create.c: Likewise. - * rt/timer_delete.c: Likewise. - * rt/timer_getoverr.c: Likewise. - * rt/timer_gettime.c: Likewise. - * rt/timer_settime.c: Likewise. - * setjmp/__longjmp.c: Likewise. - * setjmp/setjmp.c: Likewise. - * signal/kill.c: Likewise. - * signal/killpg.c: Likewise. - * signal/raise.c: Likewise. - * signal/sigaction.c: Likewise. - * signal/sigaltstack.c: Likewise. - * signal/sigblock.c: Likewise. - * signal/sigignore.c: Likewise. - * signal/sigintr.c: Likewise. - * signal/signal.c: Likewise. - * signal/sigpause.c: Likewise. - * signal/sigpending.c: Likewise. - * signal/sigqueue.c: Likewise. - * signal/sigreturn.c: Likewise. - * signal/sigset.c: Likewise. - * signal/sigsetmask.c: Likewise. - * signal/sigstack.c: Likewise. - * signal/sigsuspend.c: Likewise. - * signal/sigtimedwait.c: Likewise. - * signal/sigvec.c: Likewise. - * signal/sigwait.c: Likewise. - * signal/sigwaitinfo.c: Likewise. - * signal/sysv_signal.c: Likewise. - * socket/accept.c: Likewise. - * socket/accept4.c: Likewise. - * socket/bind.c: Likewise. - * socket/connect.c: Likewise. - * socket/getpeername.c: Likewise. - * socket/getsockname.c: Likewise. - * socket/getsockopt.c: Likewise. - * socket/isfdtype.c: Likewise. - * socket/listen.c: Likewise. - * socket/recv.c: Likewise. - * socket/recvfrom.c: Likewise. - * socket/recvmsg.c: Likewise. - * socket/send.c: Likewise. - * socket/sendmsg.c: Likewise. - * socket/sendto.c: Likewise. - * socket/setsockopt.c: Likewise. - * socket/shutdown.c: Likewise. - * socket/sockatmark.c: Likewise. - * socket/socket.c: Likewise. - * socket/socketpair.c: Likewise. - * stdio-common/ctermid.c: Likewise. - * stdio-common/cuserid.c: Likewise. - * stdio-common/remove.c: Likewise. - * stdio-common/rename.c: Likewise. - * stdio-common/renameat.c: Likewise. - * stdio-common/tempname.c: Likewise. - * stdlib/getcontext.c: Likewise. - * stdlib/makecontext.c: Likewise. - * stdlib/setcontext.c: Likewise. - * stdlib/swapcontext.c: Likewise. - * stdlib/system.c: Likewise. - * streams/fattach.c: Likewise. - * streams/fdetach.c: Likewise. - * streams/getmsg.c: Likewise. - * streams/getpmsg.c: Likewise. - * streams/putmsg.c: Likewise. - * streams/putpmsg.c: Likewise. - * sysdeps/unix/bsd/getpt.c: Likewise. - * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise. - * sysdeps/unix/sysv/linux/futimens.c: Likewise. - * sysdeps/unix/sysv/linux/lutimes.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c: - Likewise. - * sysdeps/unix/sysv/linux/readahead.c: Likewise. - * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise. - * sysdeps/unix/sysv/linux/utimensat.c: Likewise. - * sysvipc/msgctl.c: Likewise. - * sysvipc/msgget.c: Likewise. - * sysvipc/msgrcv.c: Likewise. - * sysvipc/msgsnd.c: Likewise. - * sysvipc/semctl.c: Likewise. - * sysvipc/semget.c: Likewise. - * sysvipc/semop.c: Likewise. - * sysvipc/semtimedop.c: Likewise. - * sysvipc/shmat.c: Likewise. - * sysvipc/shmctl.c: Likewise. - * sysvipc/shmdt.c: Likewise. - * sysvipc/shmget.c: Likewise. - * termios/tcdrain.c: Likewise. - * termios/tcflow.c: Likewise. - * termios/tcflush.c: Likewise. - * termios/tcgetattr.c: Likewise. - * termios/tcgetpgrp.c: Likewise. - * termios/tcsendbrk.c: Likewise. - * termios/tcsetattr.c: Likewise. - * termios/tcsetpgrp.c: Likewise. - * time/adjtime.c: Likewise. - * time/clock.c: Likewise. - * time/getitimer.c: Likewise. - * time/gettimeofday.c: Likewise. - * time/setitimer.c: Likewise. - * time/settimeofday.c: Likewise. - * time/stime.c: Likewise. - * time/time.c: Likewise. - -2012-11-04 Pino Toscano - - * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and - /usr/old/bin. - - * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs - instead of spaces. - * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise. - -2012-11-03 Joseph Myers - - [BZ #14796] - * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to - FE_TONEAREST before applying Dekker multiplication and Knuth - addition. Clear inexact exceptions and check for exact zero - results afterwards. - * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise. - * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise. - * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise. - * math/libm-test.inc (fma_test): Add more tests. - (fma_test_towardzero): Likewise. - (fma_test_downward): Likewise. - (fma_test_upward): Likewise. - * sysdeps/generic/math_private.h (default_libc_fesetround): New - function. - (libc_fesetround): New macro. - (libc_fesetroundf): Likewise. - (libc_fesetroundl): Likewise. - * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New - function. - (libc_fesetround_387): Likewise. - (libc_fesetroundf): New macro. - (libc_fesetround): Likewise. - (libc_fesetroundl): Likewise. - * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New - function. - (libc_fesetroundf): New macro. - (libc_fesetround): Likewise. - (libc_fesetroundl): Likewise. - * include/fenv.h (feclearexcept): Add libm_hidden_proto. - * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver. - * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add - libm_hidden_ver. - * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise. - * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add - libm_hidden_def. - * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise. - * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add - libm_hidden_ver. - * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add - libm_hidden_def. - - [BZ #3439] - * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to - integer constant usable in #if and use that to give value to enum - constant. - (FE_DIVBYZERO): Likewise. - (FE_UNDERFLOW): Likewise. - (FE_OVERFLOW): Likewise. - (FE_INVALID): Likewise. - (FE_INVALID_SNAN): Likewise. - (FE_INVALID_ISI): Likewise. - (FE_INVALID_IDI): Likewise. - (FE_INVALID_ZDZ): Likewise. - (FE_INVALID_IMZ): Likewise. - (FE_INVALID_COMPARE): Likewise. - (FE_INVALID_SOFTWARE): Likewise. - (FE_INVALID_SQRT): Likewise. - (FE_INVALID_INTEGER_CONVERSION): Likewise. - (FE_TONEAREST): Likewise. - (FE_TOWARDZERO): Likewise. - (FE_UPWARD): Likewise. - (FE_DOWNWARD): Likewise. - * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise. - (FE_DIVBYZERO): Likewise. - (FE_OVERFLOW): Likewise. - (FE_UNDERFLOW): Likewise. - (FE_INEXACT): Likewise. - (FE_TONEAREST): Likewise. - (FE_DOWNWARD): Likewise. - (FE_UPWARD): Likewise. - (FE_TOWARDZERO): Likewise. - * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise. - (FE_UNDERFLOW): Likewise. - (FE_OVERFLOW): Likewise. - (FE_DIVBYZERO): Likewise. - (FE_INVALID): Likewise. - (FE_TONEAREST): Likewise. - (FE_TOWARDZERO): Likewise. - * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise. - (FE_OVERFLOW): Likewise. - (FE_UNDERFLOW): Likewise. - (FE_DIVBYZERO): Likewise. - (FE_INEXACT): Likewise. - (FE_TONEAREST): Likewise. - (FE_TOWARDZERO): Likewise. - (FE_UPWARD): Likewise. - (FE_DOWNWARD): Likewise. - * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise. - (FE_DIVBYZERO): Likewise. - (FE_OVERFLOW): Likewise. - (FE_UNDERFLOW): Likewise. - (FE_INEXACT): Likewise. - (FE_TONEAREST): Likewise. - (FE_DOWNWARD): Likewise. - (FE_UPWARD): Likewise. - (FE_TOWARDZERO): Likewise. - -2012-11-02 Chris Metcalf - - * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add. - -2012-11-03 Andreas Schwab - - * scripts/cross-test-ssh.sh (command): Use newlines to separate - commands. Quote $PWD. - (blacklist_exports): Don't use remove_newlines. Replace "declare - -x" by "export". - (remove_newlines): Remove. - -2012-11-02 H.J. Lu - - * stdlib/Makefile (headers): Add bits/stdlib-float.h. - * stdlib/stdlib.h (atof): Moved to ... - * include/bits/stdlib-float.h: Here. New file. - * stdlib/stdlib.h: Include . - * stdlib/bits/stdlib-float.h: New file. - * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with - -mno-sse -mno-mmx. - * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include - . - -2012-11-02 Joseph Myers - - * conform/conformtest.pl (@headers): Add fenv.h. - * conform/data/fenv.h-data: New file. - * include/fenv.h [_ISOMAC]: Disable all contents of file except - include of . - - * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K || - POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4 - && !UNIX98]. Enables tests for XOPEN2K8. - * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K || - POSIX2008]: Likewise. - - * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008] - (struct rusage): Do not expect type or its members. - - [BZ #3439] - * math/math.h (FP_NAN): Define macro to integer constant usable in - #if and use that to give value to enum constant. - (FP_INFINITE): Likewise. - (FP_ZERO): Likewise. - (FP_SUBNORMAL): Likewise. - (FP_NORMAL): Likewise. - -2012-11-02 Andreas Schwab - - * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments. - * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t - arguments. - -2012-11-02 Roland McGrath - - * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro. - Check that AC_AUTOCONF_VERSION matches it and m4_fatal at - autoconf-time if not. - * configure.in: Remove AC_PREREQ. - -2012-11-02 Tulio Magno Quites Machado Filho - - * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use - __builtin_ppc_get_timebase when building with GCC >= 4.8 instead - of the internal implementation. - -2012-11-02 Joseph Myers - - * include/sys/syslog.h [_ISOMAC]: Disable all contents of file - except include of . - -2012-11-01 Andreas Schwab - - * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the - function returns with a NULL context exit with zero. - -2012-11-01 Tulio Magno Quites Machado Filho - - * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics. - -2012-11-01 H.J. Lu - - * catgets/test-gencat.sh (run_program_prefix): Renamed to ... - (run_program_cmd): This. - * localedata/tst-langinfo.sh (run_program_prefix): Removed. - (tst_langinfo): New variable. Use it. - -2012-11-01 Sebastan Andrzej Siewior - - * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around - floating point opcodes. - -2012-11-01 Thomas Schwinge - - * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New - variable. - - * elf/dl-support.c: Unconditionally include "setup-vdso.h". - - * sysdeps/mach/hurd/powerpc: Remove directory. - * sysdeps/mach/powerpc: Likewise. - -2012-11-01 Andreas Schwab - - * scripts/check-local-headers.sh: Ignore c++ headers. - -2012-11-01 Thomas Schwinge - - * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for - __libc_cleanup_region_start argument. - -2012-11-01 Joseph Myers - - [BZ #14784] - [BZ #14785] - * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small - x * y using scaling, not as x * y + z. - * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise. - * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise. - * math/libm-test.inc (fma_test): Add more tests. - (fma_test_towardzero): Likewise. - (fma_test_downward): Likewise. - (fma_test_upward): Likewise. - -2012-11-01 Thomas Schwinge - - * sysdeps/mach/hurd/bits/param.h: Remove stray #endif. - -2012-10-31 Joseph Myers - - * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c): - New variable. - -2012-10-31 Thomas Schwinge - - * rt/tst-shm.c (worker): Correct checking for mmap failure. - -2012-10-31 Andreas Schwab - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist: - Fix sort order. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: - Likewise. - -2012-10-31 Tulio Magno Quites Machado Filho - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist: - Fix the order of the list for glibc 2.17. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: - Likewise. - -2012-10-31 Andreas Schwab - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - -2012-10-31 Joseph Myers - - [BZ #14610] - * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check - for low part of x being zero before using __atanl (y). - * math/libm-test.inc (atan2_test): Add another test. - - * manual/install.texi (Configuring and compiling): Document - general use of test-wrapper and test-wrapper-env. - * INSTALL: Regenerated. - - * sysdeps/ieee754/dbl-64/s_fma.c: Include . - (__fma): Do not extract and scale down low bits on after-rounding - systems when result rounded to normal precision would have normal - exponent. - * sysdeps/ieee754/ldbl-128/s_fmal.c: Include . - (__fmal): Do not extract and scale down low bits on after-rounding - systems when result rounded to normal precision would have normal - exponent. - * sysdeps/ieee754/ldbl-96/s_fmal.c: Include . - (__fmal): Do not extract and scale down low bits on after-rounding - systems when result rounded to normal precision would have normal - exponent. - * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New - macro. - (fma_test): Add more tests. - (fma_test_towardzero): Likewise. - (fma_test_downward): Likewise. - (fma_test_upward): Likewise. - -2012-10-30 H.J. Lu - - * sysdeps/i386/tininess.h: Renamed to ... - * sysdeps/x86/tininess.h: This. - * sysdeps/x86_64/tininess.h: Removed. - -2012-10-30 Joseph Myers - - * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison - input. Use $(build-program-cmd). - ($(objpfx)tst-array1-static.out): Likewise. - ($(objpfx)tst-array2.out): Likewise. - ($(objpfx)tst-array3.out): Likewise. - ($(objpfx)tst-array4.out): Likewise. - ($(objpfx)tst-array5.out): Likewise. - ($(objpfx)tst-array5-static.out): Likewise. - -2012-10-30 Chris Metcalf - - * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD - if defined. - - * nss/nsswitch.h (nss_interface_function): Provide new - macro for use with NSS functions. - * grp/initgroups.c: Use new macro. - * nss/getXXbyYY.c: Likewise. - * nss/getXXbyYY_r.c: Likewise. - * nss/getXXent.c: Likewise. - * nss/getXXent_r.c: Likewise. - * sysdeps/posix/getaddrinfo.c: Likewise. - -2012-10-30 Andreas Jaeger - - * po/ru.po: Update Russion translation from translation project. - -2012-10-30 Joseph Myers - - [BZ #14152] - [BZ #14783] - * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of - result and shift together with sticky bit instead of replicating - round-to-nearest rounding. - * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise. - * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise. - * math/libm-test.inc (fma_test): Add more tests. Do not permit - missing underflow exceptions. - (fma_test_towardzero): Add more tests. - (fma_test_downward): Likewise. - (fma_test_upward): Likewise. - - [BZ #14047] - * sysdeps/generic/tininess.h: New file. - * sysdeps/i386/tininess.h: Likewise. - * sysdeps/sh/tininess.h: Likewise. - * sysdeps/x86_64/tininess.h: Likewise. - * stdlib/tst-strtod-underflow.c: Likewise. - * stdlib/tst-tininess.c: Likewise. - * stdlib/strtod_l.c: Include . - (round_and_return): Do not set errno for exact underflow cases. - Force an underflow exception when setting errno for underflow. - Determine underflow based on rounding to normal precision if - TININESS_AFTER_ROUNDING. - * stdlib/tst-strtod.c (tests): Do not expect errno to be set to - ERANGE for exact underflow cases. - * stdlib/Makefile (tests): Add tst-tininess and - tst-strtod-underflow. - ($(objpfx)tst-tininess): Use $(link-libm). - ($(objpfx)tst-strtod-underflow): Likewise. - -2012-10-30 Andreas Jaeger - - [BZ #14767] - * elf/Makefile (tests): Remove conditional for have-initfini-array - since this is now always required and the variable does not exist - anymore. - (tests-static): Likewise. - (modules-names): Likewise. - - * po/eo.po: Add Esperanto translation from translation project. - - * elf/tst-array1.c (fini_array): Make writeable so that it can be - merged with constructor/destructor. - (init_array): Likewise. - * elf/tst-array2dep.c (fini_array): Likewise. - (init_array): Likewise. - -2012-10-29 Mike Frysinger - - * manual/message.texi: Delete @cartouche tags. - -2012-10-29 Pino Toscano - - * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is - EOPNOTSUPP. - * sysdeps/mach/hurd/fsync.c: Likewise. - - * sysdeps/pthread/aio_notify.c (__aio_notify_only) - [_POSIX_REALTIME_SIGNALS]: Change condition to - [_POSIX_REALTIME_SIGNALS > 0]. - -2012-10-27 Andreas Jaeger - - * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE) - [!__x86_64]: Do not define, take value from . - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): - [__WORDSIZE != 64]: Likewise. - -2012-10-26 H.J. Lu - - * iconvdata/tst-table.sh: Remove ${SHELL}. - * iconvdata/tst-tables.sh: Likewise. - -2012-10-25 David S. Miller - - * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c - (__get_clockfreq_via_proc_openprom): Use strtoumax instead - of strtoull. - - * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for - ifunc-impl-list.c - * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise. - * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file. - * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New - file. - -2012-10-25 Roland McGrath - - * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c - (__get_clockfreq_via_proc_openprom): Use __getdents instead of - __getdirentries. - -2012-10-25 Joseph Myers - Jim Blandy - - * scripts/cross-test-ssh.sh: New file. - * manual/install.texi (Configuring and compiling): Document use of - cross-test-ssh.sh. - * INSTALL: Regenerated. - -2012-10-25 Pino Toscano - - * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return - EOPNOTSUPP. - -2012-10-25 Joseph Myers - - * Makeconfig (run-program-prefix): Fix comment. - -2012-10-24 Joseph Myers - Jim Blandy - - * Makeconfig (test-wrapper): New variable, - (test-wrapper-env): Likewise. - [$(cross-compiling) = yes && $(test-wrapper) != ""] - (run-built-tests): Define to yes. - (run-program-prefix): Use $(test-wrapper). - (built-program-cmd): Likewise. - * Rules (make-test-out): Use $(test-wrapper-env) and - $(host-built-program-cmd). - * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper). - ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to - tst-pathopt.sh. - ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and - $(test-wrapper-env) to tst-rtld-load-self.sh. - ($(objpfx)order2.out): Use $(test-wrapper). - ($(objpfx)tst-initorder.out): Likewise. - ($(objpfx)tst-initorder2.out): Likewise. - ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env). - * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable. - (test_wrapper_env): New variable. Use it to run ld.so. - * elf/tst-rtld-load-self.sh (test_wrapper): New variable. - Use it to run ld.so. - (test_wrapper_env): Likewise. - * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass - $(test-wrapper) to run-iconv-test.sh. - * iconvdata/run-iconv-test.sh (test_wrapper): New variable. - (ICONV): Use $test_wrapper. - * posix/Makefile ($(objpfx)globtest.out): Pass - $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to - globtest.sh, not $(run-program-prefix). - * posix/globtest.sh (run_via_rtld_prefix): New variable. - (test_wrapper): Likewise. - (test_wrapper_env): Likewise. Use it to run globtest with HOME - set together with run_via_rtld_prefix. - (run_program_prefix): Define in terms of test_wrapper and - run_via_rtld_prefix. - -2012-10-24 Roland McGrath - - * nscd/Makefile ($(objpfx)nscd): Remove librt dependency. - * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2): - Targets removed. - - [BZ #14743] - * include/time.h: Remove librt_hidden_proto (clock_gettime). - Declare __clock_getres, __clock_gettime, __clock_settime, - __clock_nanosleep, and __clock_getcpuclockid. - * rt/clock_gettime.c: Define __clock_gettime as an alias. - Remove librt_hidden_def (clock_gettime). - * sysdeps/unix/clock_gettime.c: Likewise. - * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias. - * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise. - * rt/clock_getres.c: Define __clock_getres as an alias. - * sysdeps/posix/clock_getres.c: Likewise. - * rt/clock_settime.c: Define __clock_settime as an alias. - * sysdeps/unix/clock_settime.c: Likewise. - * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias. - * sysdeps/unix/clock_nanosleep.c: Likewise. - * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise. - * rt/clock-compat.c: New file. - * rt/Makefile (librt-routines): Add clock-compat and move - $(clock-routines) to ... - (routines): ... here, new variable. - * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines): - Don't add get_clockfreq here. - * rt/Versions (libc: GLIBC_2.17): New version set. - Add clock_* symbols here. - (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here. - * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist - (GLIBC_2.17): Add clock_* symbols. - * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist: - Likewise. - * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise. - * NEWS: Mention the move. - - * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq): - Use __open, __read, __close rather than their public counterparts. - * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c - (__get_clockfreq_via_cpuinfo): Likewise. - (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries. - (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl. - - * config.h.in (HAVE_IFUNC): New #undef. - * configure.in: Define it if libc_cv_ld_gnu_indirect_function - was successful. - * configure: Regenerated. - -2012-10-24 Mike Frysinger - - * configure.in: Move READELF check to start of file. - (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from - libc_cv_asm_gnu_indirect_function in the process. - * configure: Regenerated. - -2012-10-24 Mike Frysinger - - * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and - send the output to /dev/null. - (libc_cv_cc_with_libunwind): Likewise. - (libc_cv_as_noexecstack): Likewise. - * configure: Regenerate. - -2012-10-24 Joseph Myers - - * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`. - - * posix/globtest.sh (TMPDIR): Do not set. - (testdir): Define using ${common_objpfx}posix not $TMPDIR. - (testout): Likewise. - -2012-10-24 Andreas Jaeger - - * io/fcntl.h: Always define mode_t, off_t, pid_t and use these - types for creat, creat64, lockf, posix_fadvise, posix_fallocate. - [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t. - [__USE_LARGEFILE64]: Use off64_t in declaration of lock64, - posix_fadvise64, posix_fallocate64. - - * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK) - (F_SETLKW) [__x86_64]: Remove, provided by . - (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]: - Likewise. - (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]: - Likewise. - (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise. - - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK) - (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by - . - (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise. - - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD) - (F_SETFD, F_GETFL, F_SETFL): Remove, provided by . - (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise. - (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64) - [__WORDSIZE != 64]: Likewise. - -2012-10-23 Joseph Myers - - * Makeconfig (run-built-tests): New variable. - * Rules [$(cross-compiling) = yes]: Change condition to - [$(run-built-tests) = no]. - * catgets/Makefile [$(cross-compiling) != yes]: Change condition - to [$(run-built-tests) = yes]. - * elf/Makefile [$(cross-compiling) = no]: Likewise. - * grp/Makefile [$(cross-compiling) = no]: Likewise. - * iconv/Makefile [$(cross-compiling) != yes]: Likewise. - * iconvdata/Makefile [$(cross-compiling) = no]: Likewise. - * intl/Makefile [$(cross-compiling) = no]: Likewise. - * io/Makefile [$(cross-compiling) = no]: Likewise. - * libio/Makefile [$(cross-compiling) = no]: Likewise. - * malloc/Makefile [$(cross-compiling) = no]: Likewise. - * misc/Makefile [$(cross-compiling) = no]: Likewise. - * posix/Makefile [$(cross-compiling) = no]: Likewise. - * resolv/Makefile [$(cross-compiling) = no]: Likewise. - * stdio-common/Makefile [$(cross-compiling) = no]: Likewise. - * stdlib/Makefile [$(cross-compiling) = no]: Likewise. - * string/Makefile [$(cross-compiling) = no]: Likewise. - - * posix/Makefile ($(objpfx)globtest.out): Pass - $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and - $(rtld-installed-name). - * posix/globtest.sh (elf_objpfx): Remove variable. - (rtld_installed_name): Likewise. - (library_path): Likewise. - (run_program_prefix): New variable. Use for running globtest - binary. - -2012-10-23 Jim Blandy - Joseph Myers - - * Makeconfig (host-built-program-cmd): New variable. - * elf/Makefile (tst-stackguard1-ARGS): Use - $(host-built-program-cmd). - * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd). - (tst-spawn-ARGS): Likewise. - * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd). - -2012-10-23 Joseph Myers - Jim Blandy - - * Makeconfig (run-via-rtld-prefix): New variable. - (run-program-prefix): Define in terms of $(run-via-rtld-prefix). - (built-program-cmd): Likewise. - -2012-10-22 Andreas Jaeger - - * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to - __O_RSYNC if it exists, otherwise to O_SYNC. - -2012-10-22 Jim Blandy - Joseph Myers - - * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from - /dev/null. - * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop - from /dev/null - * posix/tst-getconf.sh: Redirect getconf stdin in loop from - /dev/null. - -2012-10-22 Andreas Jaeger - - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE): - Define always. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise. - - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add - bits/fcntl-linux.h. - - * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK) - (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64]. - - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename - to __O_LARGEFILE. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename - to __O_LARGEFILE. - -2012-10-21 Jim Blandy - Joseph Myers - - * config.make.in (NM): New variable. - -2012-10-21 Andreas Jaeger - - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all - definitions and declarations that are provided by - and include . - -2012-10-20 H.J. Lu - - [BZ #14683] - * elf/Makefile (tests-static): Add tst-leaks1-static. - (tests): Also depend on $(objpfx)tst-leaks1-static-mem. - ($(objpfx)tst-leaks1-static): New rule. - ($(objpfx)tst-leaks1-static-mem): Likewise. - (tst-leaks1-static-ENV): New macro. - * elf/dl-open.c (dl_open_worker): Check the main application - only if SHARED is defined. - * elf/tst-leaks1-static.c: New file. - -2012-10-20 Andreas Jaeger - - * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains - generic values for Linux. - * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions - and declarations that are provided by and - include . - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. - -2012-10-20 Roland McGrath - - * io/fcntl.h: Move include of to the top and - include it unconditionally. - -2012-10-20 H.J. Lu - - * wcsmbs/Makefile (tests-ifunc): New variable. - (tests): Add $(tests-ifunc). - * wcsmbs/test-wcschr-ifunc.c: New file. - * wcsmbs/test-wcscmp-ifunc.c: Likewise. - * wcsmbs/test-wcscpy-ifunc.c: Likewise. - * wcsmbs/test-wcslen-ifunc.c: Likewise. - * wcsmbs/test-wcsrchr-ifunc.c: Likewise. - * wcsmbs/test-wmemcmp-ifunc.c: Likewise. - - * string/Makefile (tests-ifunc): New variable. - (tests): Add $(tests-ifunc). - * string/test-memccpy.c (TEST_NAME): New macro. - * string/test-memchr.c (TEST_NAME): Likewise. - * string/test-memcmp.c (TEST_NAME): Likewise. - * string/test-memcpy.c (TEST_NAME): Likewise. - * string/test-memmem.c (TEST_NAME): Likewise. - * string/test-memmove.c (TEST_NAME): Likewise. - * string/test-memset.c (TEST_NAME): Likewise. - * string/test-rawmemchr.c (TEST_NAME): Likewise. - * string/test-stpcpy.c (TEST_NAME): Likewise. - * string/test-stpncpy.c (TEST_NAME): Likewise. - * string/test-strcasecmp.c (TEST_NAME): Likewise. - * string/test-strcasestr.c (TEST_NAME): Likewise. - * string/test-strcat.c (TEST_NAME): Likewise. - * string/test-strchr.c (TEST_NAME): Likewise. - * string/test-strcmp.c(TEST_NAME): Likewise. - * string/test-strcpy.c (TEST_NAME): Likewise. - * string/test-strcspn.c (TEST_NAME): Likewise. - * string/test-strlen.c (TEST_NAME): Likewise. - * string/test-strncasecmp.c (TEST_NAME): Likewise. - * string/test-strncmp.c (TEST_NAME): Likewise. - * string/test-strncpy.c (TEST_NAME): Likewise. - * string/test-strnlen.c (TEST_NAME): Likewise. - * string/test-strpbrk.c (TEST_NAME): Likewise. - * string/test-strrchr.c (TEST_NAME): Likewise. - * string/test-strspn.c (TEST_NAME): Likewise. - * string/test-strstr.c (TEST_NAME): Likewise. - * string/test-bcopy-ifunc.c: New file. - * string/test-bzero-ifunc.c: Likewise. - * string/test-memccpy-ifunc.c: Likewise. - * string/test-memchr-ifunc.c: Likewise. - * string/test-memcmp-ifunc.c: Likewise. - * string/test-memcpy-ifunc.c: Likewise. - * string/test-memmem-ifunc.c: Likewise. - * string/test-memmove-ifunc.c: Likewise. - * string/test-mempcpy-ifunc.c: Likewise. - * string/test-memset-ifunc.c: Likewise. - * string/test-rawmemchr-ifunc.c: Likewise. - * string/test-stpcpy-ifunc.c: Likewise. - * string/test-stpncpy-ifunc.c: Likewise. - * string/test-strcasecmp-ifunc.c: Likewise. - * string/test-strcasestr-ifunc.c: Likewise. - * string/test-strcat-ifunc.c: Likewise. - * string/test-strchr-ifunc.c: Likewise. - * string/test-strchrnul-ifunc.c: Likewise. - * string/test-strcmp-ifunc.c: Likewise. - * string/test-strcpy-ifunc.c: Likewise. - * string/test-strcspn-ifunc.c: Likewise. - * string/test-strlen-ifunc.c: Likewise. - * string/test-strncasecmp-ifunc.c: Likewise. - * string/test-strncat-ifunc.c: Likewise. - * string/test-strncmp-ifunc.c: Likewise. - * string/test-strncpy-ifunc.c: Likewise. - * string/test-strnlen-ifunc.c: Likewise. - * string/test-strpbrk-ifunc.c: Likewise. - * string/test-strrchr-ifunc.c: Likewise. - * string/test-strspn-ifunc.c: Likewise. - * string/test-strstr-ifunc.c: Likewise. - - * debug/Makefile (tests-ifunc): New variable. - (tests): Add $(tests-ifunc). - * debug/test-stpcpy_chk.c (TEST_NAME): New macro. - * debug/test-strcpy_chk.c (TEST_NAME): Likewise. - * debug/test-stpcpy_chk-ifunc.c: New file. - * debug/test-strcpy_chk-ifunc.c: Likewise. - -2012-10-20 Siddhesh Poyarekar - - [BZ #13601] - * elf/dl-load.c (open_verify): Retry read if the entire ELF - header is not read in. - -2012-10-19 Joseph Myers - - * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass - script to $(SHELL) as $<. Pass $(common-objpfx) to script - directly. Pass built executable to script as - $(built-program-cmd). - * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as - $testprogram without using LD_LIBRARY_PATH and $ldso. - - * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass - $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and - $(rtld-installed-name). - * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable. - (rtld_installed_name): Likewise. - (library_path): Likewise. - (run_program_prefix): New variable. Use it to run tst_fgetgrent. - * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass - $(run-program-prefix) to tst-tables.sh. - * iconvdata/tst-table.sh (run_program_prefix): New variable. Use - it to run tst-table-from and tst-table-to. - * iconvdata/tst-tables.sh (run_program_prefix): New variable. - Pass it to tst-table.sh. - * intl/Makefile ($(objpfx)tst-gettext.out): Pass - $(run-program-prefix) to tst-gettext.sh. - ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to - tst-translit.sh. - ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to - tst-gettext2.sh. - * intl/tst-gettext.sh (run_program_prefix): New variable. Use it - to run tst-gettext. - * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it - to run tst-gettext2. - * intl/tst-translit.sh (run_program_prefix): New variable. Use it - to run tst-translit. - * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass - $(run-program-prefix) to tst-mtrace.sh. - * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it - to run tst-mtrace. - * posix/Makefile ($(objpfx)wordexp-tst.out): Pass - $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and - $(rtld-installed-name). - * posix/wordexp-tst.sh (elf_objpfx): Remove variable. - (rtld_installed_name): Likewise. - (run_program_prefix): New variable. Use it to run wordexp-test. - - * Makeconfig (ARCH): Remove all definitions. - (machine): Likewise. - [ARCH]: Remove conditional code. - [!objdir]: Give error. - [!objdir] (objpfx): Remove. - [!objdir] (common-objpfx): Likewise. - [!objdir] (common-objdir): Likewise. - * configure.in (config_makefile): Remove. Hardcode Makefile in - AC_CONFIG_FILES call. - * configure: Regenerated. - - [BZ #13888] - * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp - or TMPDIR. - (testout): Likewise. - - * posix/Makefile ($(objpfx)tst-getconf.out): Pass - $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and - $(rtld-installed-name). - * posix/tst-getconf.sh (elf_objpfx): Remove variable. - (rtld_installed_name): Likewise. - (runit): Remove function. - (run_getconf): New variable, Use it for running getconf binary. - -2012-10-18 H.J. Lu - - [BZ #14716] - * string/test-memmem.c (check_result): New function. - (do_one_test): Use it. - (check1): New function. - (test_main): Use it. - -2012-10-18 Markus Trippelsdorf - - * math/Makefile: Comment on slow compilation of test-tgmath2.c. - -2012-10-18 Joseph Myers - - * sysdeps/generic/_G_config.h (_G_OPEN64): Remove. - (_G_LSEEK64): Likewise. - (_G_MMAP64): Likewise. - (_G_FSTAT64): Likewise. - * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove. - (_G_LSEEK64): Likewise. - (_G_MMAP64): Likewise. - (_G_FSTAT64): Likewise. - * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code - unconditional. Call __mmap64 directly. - (mmap_remap_check) [!_G_MMAP64]: Remove conditional code. - (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call - __lseek64 directly. - (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code. - (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call - __mmap64 directly. - (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code. - (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call - __lseek64 directly. - (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code. - (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call - __lseek64 directly. - (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code. - (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call - __lseek64 directly. - (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code. - (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call - __fxstat64 directly. - (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code. - * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code - unconditional. - (freopen64) [!_G_OPEN64]: Remove conditional code. - * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code - unconditional. - (fseeko64) [!_G_LSEEK64]: Remove conditional code. - * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code - unconditional. - (ftello64) [!_G_LSEEK64]: Remove conditional code. - * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code - unconditional. - (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code. - * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code - unconditional. - (_IO_fopen64) [!_G_OPEN64]: Remove conditional code. - * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code - unconditional. - (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code. - * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code - unconditional. - (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code. - * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code - unconditional. - (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code. - -2012-10-18 Siddhesh Poyarekar - - [BZ #12140] - * manual/memory.texi (Malloc Tunable Parameters): Add note - about free list pointers overwriting some perturb bytes. - Wording suggested by Roland McGrath. - -2012-10-17 Joseph Myers - - * math/libm-test.inc (gamma_test): Do not call feclearexcept. - (lgamma_test): Likewise. - (tgamma_test): Likewise. - -2012-10-16 Florian Weimer - - [BZ #14700] - * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant. - (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE. - -2012-10-16 Maxim Kuvyrkov - - * NEWS: Mention BZ #14716. - * string/str-two-way.h (two_way_short_needle): Fix thinko introduced - when removing AVAILABLE1_USES_J macro. - -2012-10-12 H.J. Lu - - * sysdeps/x86/bits/byteswap.h: Include . - (__bswap_64): __uint64_t for unsigned 64-bit int. - -2012-10-12 Andreas Schwab - - * include/string.h (memmem): Declare libc hidden alias. - * string/memmem.c (memmem): Define libc hidden alias. - * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open, - __read, __close instead of open, read, close. - -2012-10-11 H.J. Lu - - * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file. - * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it - global and hidden. - * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise. - * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise. - * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42): - Likewise. - (__rawmemchr_sse2): Likewise. - * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise. - * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise. - (__strchr_sse2): Likewise. - * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise. - * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise. - (__strcasecmp_sse2): Likewise. - (__strncasecmp_sse2): Likewise. - * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise. - * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise. - * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise. - * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise. - (__strrchr_sse2): Likewise. - * sysdeps/x86_64/multiarch/memcmp.S: Add comments for - ifunc-impl-list.c. - * sysdeps/x86_64/multiarch/memcpy.S: Likewise. - * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise. - * sysdeps/x86_64/multiarch/memmove.c: Likewise. - * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise. - * sysdeps/x86_64/multiarch/mempcpy.S: Likewise. - * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise. - * sysdeps/x86_64/multiarch/memset.S: Likewise. - * sysdeps/x86_64/multiarch/memset_chk.S: Likewise. - * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise. - * sysdeps/x86_64/multiarch/stpcpy.S: Likewise. - * sysdeps/x86_64/multiarch/stpncpy.S: Likewise. - * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise. - * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise. - * sysdeps/x86_64/multiarch/strcat.S: Likewise. - * sysdeps/x86_64/multiarch/strchr.S: Likewise. - * sysdeps/x86_64/multiarch/strcmp.S: Likewise. - * sysdeps/x86_64/multiarch/strcpy.S: Likewise. - * sysdeps/x86_64/multiarch/strcspn.S: Likewise. - * sysdeps/x86_64/multiarch/strlen.S: Likewise. - * sysdeps/x86_64/multiarch/strncase_l.S: Likewise. - * sysdeps/x86_64/multiarch/strncat.S: Likewise. - * sysdeps/x86_64/multiarch/strncmp.S: Likewise. - * sysdeps/x86_64/multiarch/strncpy.S: Likewise. - * sysdeps/x86_64/multiarch/strnlen.S: Likewise. - * sysdeps/x86_64/multiarch/strpbrk.S: Likewise. - * sysdeps/x86_64/multiarch/strrchr.S: Likewise. - * sysdeps/x86_64/multiarch/strspn.S: Likewise. - * sysdeps/x86_64/multiarch/strstr-c.c: Likewise. - * sysdeps/x86_64/multiarch/wcscpy.S: Likewise. - * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise. - - * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it - global and hidden. - * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise. - * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise. - * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise. - * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32): - Likewise. - * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32): - Likewise. - * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise. - * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise. - * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise. - * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for - ifunc-impl-list.c. - * sysdeps/i386/i686/multiarch/bzero.S: Likewise. - * sysdeps/i386/i686/multiarch/memchr.S: Likewise. - * sysdeps/i386/i686/multiarch/memcmp.S: Likewise. - * sysdeps/i386/i686/multiarch/memcpy.S: Likewise. - * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise. - * sysdeps/i386/i686/multiarch/memmove.S: Likewise. - * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise. - * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise. - * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise. - * sysdeps/i386/i686/multiarch/memrchr.S: Likewise. - * sysdeps/i386/i686/multiarch/memset.S: Likewise. - * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise. - * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise. - * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise. - * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise. - * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise. - * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise. - * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise. - * sysdeps/i386/i686/multiarch/strcat.S: Likewise. - * sysdeps/i386/i686/multiarch/strchr.S: Likewise. - * sysdeps/i386/i686/multiarch/strcmp.S: Likewise. - * sysdeps/i386/i686/multiarch/strcpy.S: Likewise. - * sysdeps/i386/i686/multiarch/strcspn.S: Likewise. - * sysdeps/i386/i686/multiarch/strlen.S: Likewise. - * sysdeps/i386/i686/multiarch/strncase.S: Likewise. - * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise. - * sysdeps/i386/i686/multiarch/strncat.S: Likewise. - * sysdeps/i386/i686/multiarch/strncmp.S: Likewise. - * sysdeps/i386/i686/multiarch/strncpy.S: Likewise. - * sysdeps/i386/i686/multiarch/strnlen.S: Likewise. - * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise. - * sysdeps/i386/i686/multiarch/strrchr.S: Likewise. - * sysdeps/i386/i686/multiarch/strspn.S: Likewise. - * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise. - * sysdeps/i386/i686/multiarch/wcschr.S: Likewise. - * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise. - * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise. - * sysdeps/i386/i686/multiarch/wcslen.S: Likewise. - * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise. - * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise. - * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file. - - * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc). - [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc). - * include/ifunc-impl-list.h: New file. - * misc/ifunc-impl-list.c: Likewise. - * misc/Makefile (routines): Add ifunc-impl-list. - * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list. - * string/test-string.h: Include . - (func_list, func_count, impl_count, impl_array) [TEST_IFUNC && - TEST_NAME]: New variables. - (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME - are defined. - (test_init): Call __libc_ifunc_impl_list to initialize - func_list if TEST_IFUNC and TEST_NAME are defined. - - * string/Makefile (strop-tests): Add bcopy and bzero. - * string/test-bcopy.c: New file. - * string/test-bzero.c: Likewise. - * string/test-memmove.c: Support bcopy test if TEST_BCOPY is - defined. - * string/test-memset.c: Support bzero test if TEST_BZERO is - defined. - * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to - __libc_memmove. - * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to - __libc_memset. - * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias - of memset. - -2012-10-10 Joseph Myers - - * configure.in: Run $CXX, not cc1plus, to locate C++ headers. - * configure: Regenerated. - - * Makeconfig (+link-static-before-libc): Don't include - $(link-static-libc). - - * libio/libio.h (_IO_pos_t): Remove. - -2012-10-10 Alexandre Oliva - - * NEWS: Add note about FIPS mode. Wording suggested by Roland - McGrath. - -2012-10-10 Alexandre Oliva - - * crypt/crypt-entry.c: Include fips-private.h. - (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled. - * crypt/md5c-test.c (main): Tolerate disabled MD5. - * sysdeps/unix/sysv/linux/fips-private.h: New file. - * sysdeps/generic/fips-private.h: New file, dummy fallback. - -2012-10-10 Alexandre Oliva - - * crypt/crypt-private.h: Include stdbool.h. - (_ufc_setup_salt_r): Return bool. - * crypt/crypt-entry.c: Include errno.h. - (__crypt_r): Return NULL with EINVAL for bad salt. - * crypt/crypt_util.c (bad_for_salt): New. - (_ufc_setup_salt_r): Check that salt is long enough and within - the specified alphabet. - * crypt/badsalttest.c: New file. - * crypt/Makefile (tests): Add it. - ($(objpfx)badsalttest): New. - -2012-10-09 Maxim Kuvyrkov - - * NEWS: Add entry for BZ #14602. - -2012-10-09 Joseph Myers - - * math/gen-libm-test.pl (parse_args): Handle comparison macros as - type-generic. - * math/libm-test.inc: Update comment listing what functions and - macros are tested. - (isgreater_test): New function. - (isgreaterequal_test): Likewise. - (isless_test): Likewise. - (islessequal_test): Likewise. - (islessgreater_test): Likewise. - (isunordered_test): Likewise. - (main): Call the new functions. - -2012-10-09 Roland McGrath - - * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE, - _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status, - AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile. - * sysdeps/i386/configure: Regenerated. - * sysdeps/ieee754/ldbl-opt/configure: Regenerated. - * sysdeps/mach/configure: Regenerated. - * sysdeps/mach/hurd/configure: Regenerated. - * sysdeps/powerpc/configure: Regenerated. - * sysdeps/powerpc/powerpc32/configure: Regenerated. - * sysdeps/powerpc/powerpc64/configure: Regenerated. - * sysdeps/s390/s390-32/configure: Regenerated. - * sysdeps/s390/s390-64/configure: Regenerated. - * sysdeps/sh/configure: Regenerated. - * sysdeps/sparc/configure: Regenerated. - * sysdeps/unix/sysv/linux/configure: Regenerated. - * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated. - * sysdeps/x86_64/configure: Regenerated. - - * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is - defined. Don't check if MAP is NULL. - -2012-10-09 Joseph Myers - - * sysdeps/generic/_G_config.h (_G_off64_t): Remove. - (_G_stat64): Likewise. - * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove. - (_G_stat64): Likewise. - * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64 - instead of struct _G_stat64. - * libio/fileops.c (mmap_remap_check): Likewise. - (decide_maybe_mmap): Likewise. - (_IO_new_file_seekoff): Likewise. - (_IO_file_stat): Likewise. - * libio/libio.h (_IO_off64_t): Define to __off64_t, not - _G_off64_t. - * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64 - instead of struct _G_stat64. - * libio/wfileops.c (_IO_wfile_seekoff): Likewise. - -2012-10-08 Maxim Kuvyrkov - - [BZ #14602] - * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): - Replace with ... - (CHECK_EOL): New macro. - (two_way_short_needle): Check beginning of haystack for EOL. Use - CHECK_EOL. - * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): - Replace with CHECK_EOL. - * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): - Replace with CHECK_EOL. - -2012-10-08 Joseph Myers - - * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as - type-generic. - * math/libm-test.inc: Update comment listing what functions and - macros are tested. - (finite_test): New function. - (isinf_test): Likewise. - (isnan_test): Likewise. - (fpclassify_test): Test subnormal input. - (isfinite_test): Likewise. - (isnormal_test): Likewise. - (main): Call the new functions. - -2012-10-08 Jonathan Nieder - - [BZ #14660] - * Makerules (%.dynsym): Force C locale when running - $(OBJDUMP) --dynamic-syms. - -2012-10-08 Andreas Schwab - - * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include - . - -2012-10-06 David S. Miller - - * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear - upper 32-bits of the length value in %o2 since we use branch-on-register - tests which consider the entire 64-bit register. - -2012-10-06 H.J. Lu - - * string/test-strstr.c (check2): Add a test for page boundary. - -2012-10-05 David S. Miller - - * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file. - * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New - file. - * sysdeps/sparc/sparc64/multiarch/Makefile: Add to - sysdep_routines. - * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise. - * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset - and bzero when HWCAP_SPARC_CRYPTO is present. - -2012-10-05 H.J. Lu - - [BZ #14602] - * string/test-strstr.c (check2): New function. - (test_main): Call check2. - - * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1 - and bug-strchr1. - * string/bug-strcasestr1.c (do_test): Moved to ... - * string/test-strcasestr.c (check1): Here. New function. - (do_one_test): Break out result checking code into ... - (check_result): This. New function. - (do_one_test): Call check_result. - (test_main): Call check1. - * string/bug-strchr1.c (do_test): Moved to ... - * string/test-strchr.c (check1): Here. New function. - (do_one_test): Break out result checking code into ... - (check_result): This. New function. - (do_one_test): Call check_result. - (test_main): Call check1. - * string/bug-strstr1.c (main): Moved to ... - * string/test-strstr.c (check1): Here. New function. - (do_one_test): Break out result checking code into ... - (check_result): This. New function. - (do_one_test): Call check_result. - (test_main): Call check1. - * string/bug-strcasestr1.c: Removed. - * string/bug-strchr1.c: Likewise. - * string/bug-strstr1.c: Likewise. - - * elf/Makefile (dl-routines): Add hwcaps. - * elf/dl-support.c (_dl_important_hwcaps): Removed. - * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise. - (_dl_important_hwcaps): Moved to ... - * elf/dl-hwcaps.c: Here. New file. - * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed. - - [BZ #14557] - * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO - if IS_IN_rtld isn't defined. - - * elf/dl-support.c (_dl_sysinfo_map): New. - Include "get-dynamic-info.h" and "setup-vdso.h". - (_dl_non_dynamic_init): Call setup_vdso. - * elf/dynamic-link.h: Don't include . - (elf_get_dynamic_info): Moved to ... - * elf/get-dynamic-info.h: Here. New file. - * elf/dynamic-link.h: Include "get-dynamic-info.h". - * elf/rtld.c (dl_main): Break out vDSO setup code into ... - * elf/setup-vdso.h: Here. New file. - * elf/rtld.c: Include "setup-vdso.h". - (dl_main): Call setup_vdso. - -2012-10-05 Joseph Myers - - * math/libm-test.inc: List nexttoward, cimag, clog10, conf and - creal in comment listing functions tested. List finite, isinf, - isnan, isless, islessequal, isgreater, isgreaterequal, - islessgreater, isunordered, lgamma_r and pow10 as functions and - macros not tested. Mention which functions not tested are aliases - for other functions. Fix typo. Note that signs of NaNs are not - tested. - - * scripts/config.guess: Update from config.git. - * scripts/config.sub: Likewise. - -2012-10-04 Roland McGrath - - * misc/Versions (GLIBC_PRIVATE): New set, add __madvise. - * misc/madvise.c (madvise): Renamed to __madvise. - Make madvise a weak alias. - * include/sys/mman.h: Declare __madvise. - Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise). - * sysdeps/unix/syscalls.list - (madvise): Make __madvise the strong name, and madvise a weak alias. - * sysdeps/unix/sysv/linux/syscalls.list - (madvise, mmap): Remove redundant entries. - * malloc/arena.c (shrink_heap): Use __madvise, not madvise. - * malloc/malloc.c (mtrim): Likewise. - * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise. - -2012-10-03 Roland McGrath - - * sysdeps/mach/hurd/dl-cache.c: File removed. - * config.h.in (USE_LDCONFIG): New #undef. - * configure.in (use_ldconfig): If set, define USE_LDCONFIG. - * configure: Regenerated. - * elf/Makefile (dl-routines): Add dl-cache only under - [$(use-ldconfig) = yes]. - * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the - cache on [USE_LDCONFIG]. - * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under - [USE_LDCONFIG]. - * elf/rtld.c (dl_main): Likewise. - -2012-10-03 Pino Toscano - - * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for - _SC_LEVEL4_CACHE_LINESIZE. - -2012-10-03 Roland McGrath - - * sysdeps/unix/bsd/confstr.h: File removed. - -2012-10-02 Alexandre Oliva - - * scripts/check-local-headers.sh: Exclude sys/sdt.h and - sys/sdt-config.h. - -2012-10-02 Roland McGrath - - * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd): - Make 'mapoff' field ElfW(Off) rather than off_t. - -2012-10-02 Dmitry V. Levin - - * nscd/Makefile: Remove nscd-cflags and all its users. - (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules. - (CFLAGS-nonlib): Add compiler flags for nscd modules. - - [BZ #10631] - * malloc.c (malloc_printerr): Clarify error message. - -2012-10-02 H.J. Lu - - [BZ #14648] - * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): - Set bit_FMA_Usable if FMA is supported. - * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New - macro. - (bit_FMA4_Usable): Updated. - (index_FMA_Usable): New macro. - (CPUID_FMA): Likewise. - (HAS_FMA): Defined with bit_FMA_Usable. - -2012-10-01 Roland McGrath - - * bits/types.h (__swblk_t): Type removed. - * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed. - * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise. - * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h - (__SWBLK_T_TYPE): Likewise. - * sysdeps/unix/sysv/linux/x86/bits/typesizes.h - (__SWBLK_T_TYPE): Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h - (__SWBLK_T_TYPE): Likewise. - * sysdeps/unix/sysv/linux/s390/bits/typesizes.h - (__SWBLK_T_TYPE): Likewise. - -2012-10-01 Patsy Franklin - Honza Horak - - * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize. - (xdr_mapname): Use YPMAXMAP as maxsize. - (xdr_peername): Use YPMAXPEER as maxsize. - (xdr_keydat): Use YPAXRECORD as maxsize. - (xdr_valdat): Use YPMAXRECORD as maxsize. - -2012-10-01 Roland McGrath - - * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable. - - * sysdeps/unix/sysv/linux/init-first.c: Moved to ... - * csu/init-first.c: ... here. - * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include. - * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise. - * sysdeps/i386/init-first.c: File removed. - * sysdeps/sh/init-first.c: File removed. - -2012-10-01 Joseph Myers - - [BZ #14645] - * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y - if x * y might underflow to zero and z is zero. - * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise. - * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise. - * math/libm-test.inc (min_subnorm_value): New variable. - (fma_test): Add more tests. - (fma_test_towardzero): Likewise. - (fma_test_downward): Likewise. - (fma_test_upward): Likewise. - (initialize): Set min_subnorm_value. - -2012-09-29 Joseph Myers - - [BZ #14638] - * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact - 0 + 0. - * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding - mode for addition resulting in exact zero. - * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise. - * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for - exact 0 + 0. - * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise. - * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise. - * math/libm-test.inc (fma_test): Add more tests. - (fma_test_towardzero): New function. - (fma_test_downward): Likewise. - (fma_test_upward): Likewise. - (main): Call the new functions. - -2012-09-28 David S. Miller - - * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file. - -2012-09-28 Roland McGrath - - * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep - instead of SIGALRM. - - * sysdeps/gnu/_G_config.h: Moved to ... - * sysdeps/unix/sysv/linux/_G_config.h: ... here. - * sysdeps/mach/hurd/_G_config.h: Moved to ... - * sysdeps/generic/_G_config.h: ... here. - - * io/open.c (__open): Renamed to __libc_open. Make __open an alias. - - * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory). - - * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)): - Conditionalize target on [libnss_test1.so-version]. - - * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED]. - - * Makeconfig (nssobjdir, resolvobjdir): Remove variables. - (elfobjdir): Move out of conditionals. - - * nss/nsswitch.c (nss_new_service): Conditionalize definition and - declaration on [!DO_STATIC_NSS || SHARED], matching its only caller. - (__nss_lookup_function): Conditionalize label remove_from_tree on - [!DO_STATIC_NSS || SHARED], matching its only use. - -2012-09-28 David S. Miller - - * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file. - * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New - file. - * sysdeps/sparc/sparc64/multiarch/Makefile: Add to - sysdep_routines. - * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise. - * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy - when HWCAP_SPARC_CRYPTO is present. - -2012-09-28 Pino Toscano - - * io/tst-mknodat.c: Create a FIFO instead of a socket. - -2012-09-28 Andreas Schwab - - [BZ #6530] - * stdio-common/vfprintf.c (process_string_arg): Revert - 2000-07-22 change. - -2011-09-28 Jonathan Nieder - - * stdio-common/Makefile (tst-sprintf-ENV): Set environment - for testcase. - * stdio-common/tst-sprintf.c: Include - (main): Test sprintf's handling of incomplete multibyte - characters. - -2012-09-28 H.J. Lu - - * elf/dl-runtime.c (VERSYMIDX): Removed. - * elf/dl-version.c (VERSYMIDX): Likewise. - * elf/do-rel.h (VERSYMIDX): Likewise. - (VALIDX): Likewise. - * elf/dynamic-link.h (VERSYMIDX): Likewise. - * elf/rtld.c (VALIDX): Likewise. - (ADDRIDX): Likewise. - * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise. - * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise. - * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise. - * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro. - (VALIDX): Likewise. - (ADDRIDX): Likewise. - -2012-09-28 Pino Toscano - - * sysdeps/pthread/aio_fsync.c: Fix the file mode checking. - -2012-09-28 Dmitry V. Levin - - [BZ #11438] - * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses - to global scope. - * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16 - addresses are in the same scope as 192.0.2/24. - * posix/gai.conf: Document new scope table defaults. - -2012-09-28 Siddhesh Poyarekar - - [BZ #5298] - * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer - for ftell. Compute offsets from write pointers instead. - * libio/wfileops.c (_IO_wfile_seekoff): Likewise. - -2012-09-28 Siddhesh Poyarekar - - [BZ #14543] - * libio/Makefile (tests): New test case tst-fseek. - * libio/tst-fseek.c: New test case to verify that fseek/ftell - combination works in wide mode. - * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer - state when the external buffer state changes. - -2012-09-27 David S. Miller - - [BZ #14376] - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not - pass reloc->r_addend in as the 'high' argument to - sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations. - - * sysdeps/sparc/fpu/libm-test-ulps: Update. - -2012-09-28 Pino Toscano - - * rt/tst-aio2.c: Include . - * rt/tst-aio3.c: Likewise. - -2012-09-27 Steve Ellcey - - * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove. - -2012-09-27 H.J. Lu - - * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize - contents on [SHARED]. - -2012-09-26 Marek Polacek - - [BZ #14530] - [BZ #13741] - * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline - for C++ and GCC <4.3 as well as for non GCC compilers. - -2012-09-26 Markus Trippelsdorf - - * sysdeps/x86_64/fpu/libm-test-ulps: Update. - -2012-09-25 Roland McGrath - - * Makefile.in (all, install): Declare with .PHONY. - Reported by Michael Hope . - -2012-09-25 Tulio Magno Quites Machado Filho - - * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq. - * sysdeps/powerpc/sys/platform/ppc.h: Include the operating - system header. - * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers): - Likewise. - (sydep_routines): Add the new and the internal functions. - * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file. - * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions - (GLIBC_2.17): Add the new function. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist - (GLIBC_2.17): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions - (GLIBC_2.17): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist - (GLIBC_2.17): Likewise. - * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file. - -2012-09-25 Alan Modra - - * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once): - Add release barrier before setting once_control to say - initialisation is done. Add hints on lwarx. Use macro in - place of isync. - (clear_once_control): Add release barrier. - -2012-09-25 Joseph Myers - - [BZ #13629] - * math/s_clog.c (__clog): Handle more values close to |z| = 1 - specially. - * math/s_clog10.c (__clog10): Likewise. - * math/s_clog10f.c (__clog10f): Likewise. - * math/s_clog10l.c (__clog10l): Likewise. - * math/s_clogf.c (__clogf): Likewise. - * math/s_clogl.c (__clogl): Likewise. - * math/Makefile (libm-calls): Add x2y2m1. - * sysdeps/generic/math_private.h (__x2y2m1f): Declare. - (__x2y2m1): Likewise. - (__x2y2m1l): Likewise. - * sysdeps/ieee754/dbl-64/x2y2m1.c: New file. - * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise. - * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise. - * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise. - * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise. - * math/libm-test.inc (clog_test, clog10_test): Add more tests. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - [BZ #14621] - * posix/glob.c (next_brace_sub): Use size_t instead of unsigned - int as type of variable DEPTH. - (glob): Use size_t instead of int as type of variables NEWCOUNT - and OLD_PATHC. - -2012-09-25 Liubov Dmitrieva - - * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines): - Add s_sincosf-sse2. - * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file. - * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file. - * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add - macros for using routine as __sincosf_ia32. - Use macro for function declaration and weak_alias. - * sysdeps/i386/fpu/libm-test-ulps: Update. - - * sysdeps/x86_64/fpu/s_sincosf.S: New file. - * sysdeps/x86_64/fpu/libm-test-ulps: Update. - - * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for - subnormal argument. - * math/s_cexpf.c (__cexpf): Likewise. - * math/s_csinf.c (__csinf): Likewise. - * math/s_csinhf.c (__csinhf): Likewise. - * math/s_ctanf.c (__ctanf): Likewise. - * math/s_ctanhf.c (__ctanhf): Likewise. - * math/s_ccosh.c (__ccoshf): Likewise. - * math/s_cexp.c (__cexpl): Likewise. - * math/s_csin.c (__csin): Likewise. - * math/s_csinh.c (__csinh): Likewise. - * math/s_ctan.c (__ctan): Likewise. - * math/s_ctanh.c (ctanh): Likewise. - * math/s_ccoshl.c (__ccoshl): Likewise. - * math/s_cexpl.c (__cexpl): Likewise. - * math/s_csinl.c (__csinl): Likewise. - * math/s_csinhl.c (__csinhl): Likewise. - * math/s_ctanl.c (__ctanl): Likewise. - * math/s_ctanhl.c (__ctanhl): Likewise. - -2012-09-25 Joseph Myers - - * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t. - (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t. - (_IO_off_t): Define to __off_t, not _G_off_t. - (_IO_pid_t): Define to __pid_t, not _G_pid_t. - (_IO_uid_t): Define to __uid_t, not _G_uid_t. - (_IO_wint_t): Define to wint_t, not _G_wint_t. - * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as - type of __dummy and __dummy2 fields. - * sysdeps/generic/_G_config.h (_G_size_t): Remove. - (_G_ssize_t): Likewise. - (_G_off_t): Likewise. - (_G_pid_t): Likewise. - (_G_uid_t): Likewise. - (_G_wchar_t): Likewise. - (_G_wint_t): Likewise. - * sysdeps/gnu/_G_config.h (_G_size_t): Remove. - (_G_ssize_t): Likewise. - (_G_off_t): Likewise. - (_G_pid_t): Likewise. - (_G_uid_t): Likewise. - (_G_wchar_t): Likewise. - (_G_wint_t): Likewise. - * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove. - (_G_ssize_t): Likewise. - (_G_off_t): Likewise. - (_G_pid_t): Likewise. - (_G_uid_t): Likewise. - (_G_wchar_t): Likewise. - (_G_wint_t): Likewise. - -2012-09-25 Siddhesh Poyarekar - - * malloc/arena.c: Include malloc-sysdep.h. - (shrink_heap): Use check_may_shrink_heap to decide if madvise - is sufficient to shrink the heap or an unmap is needed. - * sysdeps/generic/malloc-sysdep.h: New file. Define - new function check_may_shrink_heap. - * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define - new function check_may_shrink_heap. - -2012-09-25 Siddhesh Poyarekar - - * libio/fileops.c (_IO_new_file_seekoff): Fix typos in - comments. - -2012-09-24 Dmitry V. Levin - - * catgets/test-gencat.sh: Add "set -e". - * elf/tst-pathopt.sh: Likewise. - * grp/tst_fgetgrent.sh: Likewise. - * iconvdata/run-iconv-test.sh: Likewise. - * intl/tst-gettext.sh: Likewise. - * intl/tst-gettext2.sh: Likewise. - * intl/tst-gettext4.sh: Likewise. - * intl/tst-gettext6.sh: Likewise. - * intl/tst-translit.sh: Likewise. - * io/ftwtest-sh: Likewise. - * libio/test-freopen.sh: Likewise. - * malloc/tst-mtrace.sh: Likewise. - * posix/globtest.sh: Likewise. - * posix/tst-getconf.sh: Likewise. - * posix/wordexp-tst.sh: Likewise. - * stdio-common/tst-printf.sh: Likewise. - * stdio-common/tst-unbputc.sh: Likewise. - * stdlib/tst-fmtmsg.sh: Likewise. - * sysdeps/x86_64/tst-xmmymm.sh: Likewise. - * catgets/Makefile: Do not specify -e option when running - testsuite shell scripts. - * elf/Makefile: Likewise. - * grp/Makefile: Likewise. - * iconvdata/Makefile: Likewise. - * intl/Makefile: Likewise. - * io/Makefile: Likewise. - * libio/Makefile: Likewise. - * malloc/Makefile: Likewise. - * posix/Makefile: Likewise. - * stdio-common/Makefile: Likewise. - * stdlib/Makefile: Likewise. - * sysdeps/x86_64/Makefile: Likewise. - - * io/ftwtest-sh: Add copyright header. - * posix/globtest.sh: Likewise. - * posix/tst-getconf.sh: Likewise. - * posix/wordexp-tst.sh: Likewise. - * sysdeps/x86_64/tst-xmmymm.sh: Likewise. - -2012-09-24 H.J. Lu - - [BZ #13679] - * Makeconfig (+link): Defined as $(+link-static) if - $(build-shared) isn't yes. - (link-tests): Defined as $(+link-static-tests) if $(build-shared) - isn't yes. - (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes. - - * Makeconfig (+postctorT): Replace crtendS.o with crtend.o. - - [BZ #14562] - * malloc/arena.c (heap_trim): Properly get fencepost and adjust - new chunk size with MALLOC_ALIGN_MASK. - -2012-09-24 Joseph Myers - - [BZ #5044] - * stdio-common/printf_fphex.c: Include and - . - (__printf_fphex): Determine rounding using get_rounding_mode and - round_away. - * stdio-common/tst-printf-round.c (struct hex_test): New - structure. - (hex_tests): New variable. - (test_hex_in_one_mode): New function. - (do_test): Also run tests for hex float output. - -2012-09-21 Joseph Myers - - * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional. - [!_IO_HAVE_SYS_WAIT]: Remove conditional code. - * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove. - * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional. - [!_IO_HAVE_SYS_WAIT]: Remove conditional code. - * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove. - * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise. - * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise. - -2012-09-20 Joseph Myers - - * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional. - * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove. - * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove. - * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove. - -2012-09-19 Dmitry V. Levin - - [BZ #14579] - * elf/rtld.c (dl_main): Limit the check for self loading to normal - mode only. - * elf/tst-rtld-load-self.sh: New test. - * elf/Makefile: Run it. - -2012-09-18 Joseph Myers - - * sysdeps/wordsize-64/Makefile [$(subdir) = misc] - (tst-writev-ENV): Remove. - * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define. - -2012-09-17 Chris Metcalf - - * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx. - -2012-09-17 Joseph Myers - - * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code - unconditional. - * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: - Likewise. - * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove. - * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise. - * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO): - Likewise. - -2012-09-14 H.J. Lu - - [BZ #14587] - * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check. - * config.make.in (have-cpp-asm-debuginfo): Removed. - * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo. - * configure: Regenerated. - -2012-09-14 Joseph Myers - - [BZ #5044] - * stdio-common/printf_fp.c: Include and - . - (___printf_fp): Determine rounding using get_rounding_mode and - round_away. - * stdio-common/tst-printf-round.c: New file. - * stdio-common/Makefile (tests): Add tst-printf-round. - (link-libm): New variable. - ($(objpfx)tst-printf-round): Depend in $(link-libm). - -2012-09-13 H.J. Lu - - [BZ #14576] - * bits/libc-lock.h (__rtld_lock_init_recursive): Removed. - * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive): - Likewise. - * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive): - Likewise. - -2012-09-13 Joseph Myers - - * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove. - * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise. - * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise. - * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise. - -2012-09-12 Joseph Myers - - [BZ #14518] - * include/rounding-mode.h: New file. - * sysdeps/generic/get-rounding-mode.h: Likewise. - * sysdeps/s390/fpu/get-rounding-mode.h: Likewise. - * stdlib/strtod_l.c: Include . - (MAX_VALUE): New macro. - (MIN_VALUE): Likewise. - (overflow_value): New function. - (underflow_value): Likewise. - (round_and_return): Use overflow_value and underflow_value to - determine return values in overflow and underflow cases. Use - round_away to determine rounding depending on rounding mode. - (____STRTOF_INTERNAL): Use overflow_value and underflow_value to - determine return values in overflow and underflow cases. - * stdlib/tst-strtod-round.c: Include . - (struct test_results): New structure. - (struct test): Use struct test_results to store expected results - for all rounding modes. - (TEST): Include expected results for all rounding modes. - (test_in_one_mode): New function. - (do_test): Use test_in_one_mode to compute and check results. - Check results for all rounding modes. - * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on - $(link-libm). - -2012-12-09 Allan McRae - - * sysdeps/i386/fpu/libm-test-ulps: Update - -2012-09-11 Joseph Myers - - * sysdeps/generic/_G_config.h (_G_int16_t): Remove. - (_G_int32_t): Likewise. - (_G_uint16_t): Likewise. - (_G_uint32_t): Likewise. - (_G_HAVE_BOOL): Likewise. - (_G_HAVE_ATEXIT): Likewise. - (_G_HAVE_LONG_DOUBLE_IO): Likewise. - (_G_HAVE_IO_FILE_OPEN): Likewise. - * sysdeps/gnu/_G_config.h (_G_int16_t): Remove. - (_G_int32_t): Likewise. - (_G_uint16_t): Likewise. - (_G_uint32_t): Likewise. - (_G_HAVE_BOOL): Likewise. - (_G_HAVE_ATEXIT): Likewise. - (_G_HAVE_LONG_DOUBLE_IO): Likewise. - (_G_HAVE_IO_FILE_OPEN): Likewise. - * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove. - (_G_int32_t): Likewise. - (_G_uint16_t): Likewise. - (_G_uint32_t): Likewise. - (_G_HAVE_BOOL): Likewise. - (_G_HAVE_ATEXIT): Likewise. - (_G_HAVE_LONG_DOUBLE_IO): Likewise. - (_G_HAVE_IO_FILE_OPEN): Likewise. - -2012-09-11 H.J. Lu - - * csu/libc-tls.c: Update copyright years. - -2012-09-10 Joseph Myers - - * libioP.h [_G_USING_THUNKS]: Make code unconditional. - [!_G_USING_THUNKS]: Remove conditional code. - * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove. - * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise. - - * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove. - [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise. - * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove. - (_G_VTABLE_LABEL_PREFIX): Likewise. - (_G_VTABLE_LABEL_HAS_LENGTH): Likewise. - * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove. - (_G_VTABLE_LABEL_HAS_LENGTH): Likewise. - (_G_VTABLE_LABEL_PREFIX): Likewise. - (_G_VTABLE_LABEL_PREFIX_ID): Likewise. - * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove. - (_G_VTABLE_LABEL_HAS_LENGTH): Likewise. - (_G_VTABLE_LABEL_PREFIX): Likewise. - (_G_VTABLE_LABEL_PREFIX_ID): Likewise. - -2012-09-10 H.J. Lu - - * libio/Makefile: Include ../Makeconfig before tests. - (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check - only if $(build-shared) is yes. - - * iconv/gconv_db.c: Update copyright years. - -2012-09-10 Liubov Dmitrieva - - * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix - unwind info if defined PIC. Fix special cases description. - * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise. - - * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix - DP_HI_MASK entry. - * sysdeps/x86_64/fpu/s_cosf.S: Likewise. - -2012-09-07 H.J. Lu - - * scripts/check-local-headers.sh: Add "shopt -s nullglob". - - * iconv/gconv_db.c (free_derivation): Check if deriv->steps - is NULL. - - * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ... - (LDLIBS-tst-chk4): This. - (LDFLAGS-tst-chk5): Renamed to ... - (LDLIBS-tst-chk5): This. - (LDFLAGS-tst-chk6): Renamed to ... - (LDLIBS-tst-chk6): This. - (LDFLAGS-tst-lfschk4): Renamed to ... - (LDLIBS-tst-lfschk4): This. - (LDFLAGS-tst-lfschk5): Renamed to ... - (LDLIBS-tst-lfschk5): This. - (LDFLAGS-tst-lfschk6): Renamed to ... - (LDLIBS-tst-lfschk6): This. - - * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency - on $(common-objpfx)soversions.mk. - -2012-09-07 Joseph Myers - - [BZ #10014] - * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as - example host name. - -2012-09-07 Siddhesh Poyarekar - - * malloc/arena.c (arena_get_retry): New function that gets - another arena for the caller to try its request on. - * malloc/malloc.c (__libc_malloc): Use get_another_arena if the - current arena cannot fulfill the request. - (__libc_memalign): Likewise. - (__libc_memalign): Likewise. - (__libc_pvalloc): Likewise. - (__libc_calloc): Likewise. - -2012-09-05 John Tobey - - [BZ #13542] - * manual/arith.texi (Operations on Complex): Fix description - of carg branch cut. - -2012-09-06 Joseph Myers - - [BZ #10014] - * manual/socket.texi (Host Addresses): Use www.gnu.org as example - host name. - - [BZ #10038] - * manual/memory.texi (Memory): Make order of menu items match - order of sections. - -2012-09-06 H.J. Lu - - * elf/dl-tls.c (DL_INITIAL_DTV): Removed. - (_dl_initial_dtv): New. Defined if SHARED isn't defined. - (_dl_deallocate_tls): Restore GL(dl_initial_dtv). - -2012-09-06 H.J. Lu - - * csu/libc-tls.c (static_dtv): Renamed to ... - (_dl_static_dtv): This. Make it global. - (_dl_initial_dtv): Removed. - (__libc_setup_tls): Updated. - * elf/dl-tls.c (DL_INITIAL_DTV): New macro. - (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with - DL_INITIAL_DTV. - -2012-09-06 Petr Machata - - * elf/elf.h (NT_S390_HIGH_GPRS): New macro. - (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise. - (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise. - (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise. - -2012-09-06 H.J. Lu - - [BZ #14545] - * csu/libc-tls.c (_dl_initial_dtv): New variable. - * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before - freeing dtv[-1]. - -2012-09-06 H.J. Lu - - [BZ #14544] - * Makeconfig (link-static-before-libc): Replace $(+prector) - with $(+prectorT). - (link-static-after-libc): Replace $(+postctor) with - $(+postctorT). - (link-bounded): Replace $(+prector)/$(+postctor) with - $(+prectorT)/$(+postctorT). - (+prectorT): New macro. - (+postctorT): Likewise. - -2012-09-06 Joseph Myers - - * stdlib/gen-tst-strtod-round.c: Include . - (round_str): Handle values above the maximum for IBM long double - as inexact. - * stdlib/tst-strtod-round.c (tests): Regenerated. - -2012-09-06 Andreas Krebbel - - * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch - assembler flag. - * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode - zarch_nohighgprs around the zarch optimized routines. - * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise. - * sysdeps/s390/s390-32/multiarch/memset.S: Likewise. - * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check - for zarch. - -2012-09-05 David S. Miller - - * sysdeps/sparc/fpu/libm-test-ulps: Update. - - * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE) - (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define. - * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27. - * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new - entries. - -2012-09-05 Alexandre Oliva - - * malloc/arena.c: Fold copyright years. - * malloc/mcheck.c, malloc/memusage.c: Likewise. - -2012-09-05 Alexandre Oliva - - * malloc/malloc.c (__libc_mallopt) : Fix indentation. - -2012-09-05 Alexandre Oliva - - * manual/contrib.texi (Contributors): Fix typo. Complete entry. - -2012-09-05 Alexandre Oliva - - * malloc/malloc.c (__libc_mallopt) : Do not - change internal state upon failure. - -2012-09-05 Alexandre Oliva - - * malloc/mcheck.c (mcheck_check_all): Fix typo. - * malloc/memusage.c (mmap): Likewise. - (mmap64, mremap): Likewise. Adjust name in comment. - -2012-09-05 Siddhesh Poyarekar - - * libio/fileops.c: Fix typos in comments. - * libio/oldfileops.c: Likewise. - * libio/wfileops.c: Likewise. - -2012-09-05 Siddhesh Poyarekar - - [BZ #1349] - * malloc/Makefile (tests): Add tst-malloc-usable test case. - (tst-malloc-usable-ENV): Set environment for test case. - * malloc/hooks.c (malloc_check_get_size): New function to get - requested size. - * malloc/malloc.c (musable): Use malloc_check_get_size. - * malloc/tst-malloc-usable.c: New test case. - -2012-09-05 Andreas Schwab - - * stdlib/tst-strtod-overflow.c (TIMEOUT): Define. - -2012-09-05 Allan McRae - - [BZ #13966] - * configure.in (CXX_SYSINCLUDES): Use compiler output to - determine header location. - * configure: Regenerated. - -2012-09-05 Andreas Schwab - - * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended - float format. - * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 && - LDBL_MAX_EXP == 16384]: Add case for Motorola extended float - format. - (test): Regenerate. - -2012-09-04 David S. Miller - - * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file. - * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file. - * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file. - -2012-09-04 Florian Weimer - - * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID - failures. - - * stdlib/tst-secure-getenv.c: Fix whitespace in comments. - -2012-09-04 Joseph Myers - - [BZ #9914] - * libio/iogetdelim.c: Include . - (_IO_getdelim): Avoid integer overflow in testing whether cur_len - + len + 1 would overflow. - -2012-09-03 Andreas Jaeger - - * sysdeps/x86_64/fpu/libm-test-ulps: Update. - * sysdeps/i386/fpu/libm-test-ulps: Update. - -2012-09-03 Liubov Dmitrieva - - * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines): - Add s_sinf-sse2, s_conf-sse2. - - * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file. - * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file. - * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file. - * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file. - - * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros - for using routine as __sinf_ia32. - Use macro for function declaration and weak_alias. - * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros - for using routine as __cosf_ia32. - Use macro for function declaration and weak_alias. - - * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright. - * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright. - - * sysdeps/x86_64/fpu/s_sinf.S: New file. - * sysdeps/x86_64/fpu/s_cosf.S: New file. - * sysdeps/x86_64/fpu/libm-test-ulps: Update. - - * math/libm-test.inc (cos_test): Add more test cases. - (sin_test): Likewise. - (sincos_test): Likewise. - -2012-09-03 Andreas Krebbel - - * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c - (IFUNC_RESOLVE): Make pointers to the specialized implementations - hidden. - * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise. - -2012-09-02 H.J. Lu - - [BZ #14538] - * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the - first element of the GOT. - (elf_machine_load_address): Return the difference between - the runtime address of _DYNAMIC and elf_machine_dynamic (). - -2012-09-01 Allan McRae - - [BZ #13412] - * configure.in (AWK): Require gawk version 3.0 or later. - * configure: Regenerated. - -2012-09-01 Joseph Myers - - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_POSIX_CPU_TIMERS): Remove. - * sysdeps/unix/sysv/linux/clock_getcpuclockid.c - [__NR_clock_getres]: Make code unconditional. - [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code. - (clock_getcpuclockid): Remove code left unreachable by removal of - conditionals. - * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make - code unconditional. - [__ASSUME_POSIX_CPU_TIMERS]: Likewise. - [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code. - * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]: - Make code unconditional. - [__ASSUME_POSIX_CPU_TIMERS]: Likewise. - [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code. - * sysdeps/unix/sysv/linux/clock_settime.c - [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove - conditional code. - [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional. - [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code. - -2012-08-29 H.J. Lu - - [BZ #14476] - * Makefile (install): Also pass LD_SO=$(ld.so-version) to - scripts/test-installation.pl. - - * scripts/test-installation.pl: Use LD_SO to get $ld_so_name - and $ld_so_version if it is set. - -2012-08-29 Siddhesh Poyarekar - - [BZ #14516] - * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return - failure if reading from procfs failed. - * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise. - -2012-08-27 Joseph Myers - - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_STAT64_SYSCALL): Remove all definitions. - * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]: - Remove conditional code. - [__ASSUME_STAT64_SYSCALL]: Make code unconditional. - * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]: - Remove conditional code. - [__ASSUME_STAT64_SYSCALL]: Make code unconditional. - * sysdeps/unix/sysv/linux/i386/fxstat.c - [!__ASSUME_STAT64_SYSCALL]: Remove conditional code. - [__ASSUME_STAT64_SYSCALL]: Make code unconditional. - * sysdeps/unix/sysv/linux/i386/fxstatat.c - [!__ASSUME_STAT64_SYSCALL]: Remove conditional code. - [__ASSUME_STAT64_SYSCALL]: Make code unconditional. - * sysdeps/unix/sysv/linux/i386/lxstat.c - [!__ASSUME_STAT64_SYSCALL]: Remove conditional code. - [__ASSUME_STAT64_SYSCALL]: Make code unconditional. - * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]: - Remove conditional code. - [__ASSUME_STAT64_SYSCALL]: Make code unconditional. - * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]: - Remove conditional code. - [__ASSUME_STAT64_SYSCALL]: Make code unconditional. - * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include - . - [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64): - Remove. - * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]: - Remove conditional code. - [__ASSUME_STAT64_SYSCALL]: Make code unconditional. - * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]: - Remove conditional. - -2012-08-27 Mike Frysinger - - [BZ #5400] - * NEWS: Add fixed bug number. - -2012-08-27 Joseph Myers - - [BZ #14519] - * stdlib/strtod_l.c (round_and_return): Return -0.0 for - underflowing exponent in case of negative sign. - * stdlib/tst-strtod-round-data: Add more tests. - * stdlib/tst-strtod-round.c (tests): Regenerated. - - [BZ #3479] - * stdlib/strtod_l.c (NDIG): Remove. - (HEXNDIG): Likewise. - (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the - smallest representable value. - (____STRTOF_INTERNAL): Use all fractional decimal digits that may - lie within an exact representation of 1/2 ulp of the result. - * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10 - unconditionally. - (TENS_P9_IDX): Define unconditionally. - (TENS_P9_SIZE): Likewise. - (TENS_P10_IDX): Likewise. - (TENS_P10_SIZE): Likewise. - [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10 - to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024. - [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add - entries for 10^2^13 and 10^2^14. - [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] - (TENS_P13_IDX): Define. - (TENS_P13_SIZE): Likewise. - (TENS_P14_IDX): Likewise. - (TENS_P14_SIZE): Likewise. - (_fpioconst_pow10): Change array size to - FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10 - unconditional. - (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > - 1024]: Add entries for 10^2^13 and 10^2^14. - [LAST_POW10 > _LAST_POW10]: Remove #error. - * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define. - (_fpioconst_pow10): Change array size to - FPIOCONST_POW10_ARRAY_SIZE. - * stdlib/gen-fpioconst.c: New file. - * stdlib/gen-tst-strtod-round.c: Likewise. - * stdlib/tst-strtod-round-data: Likewise. - * stdlib/tst-strtod-round.c: Likewise. - * stdlib/Makefile (tests): Add tst-strtod-round. - - [BZ #14459] - * stdlib/strtod_l.c: Include . - (NDEBUG): Do not define. - (round_and_return): Change EXPONENT parameter to type intmax_t. - Rearrange calculations to avoid internal overflow possibilities. - (str_to_mpn): Change EXPONENT parameter to type intmax_t *. - Rearrange calculations to avoid internal overflow possibilities. - Assert that number fits inside MPNSIZE limbs. - (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t. - Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange - calculations and add assertions to avoid internal overflow - possibilities. Add casts to avoid signed/unsigned operations. - * stdlib/tst-strtod-overflow.c: New file. - * stdlib/Makefile (tests): Add tst-strtod-overflow. - -2012-08-25 Marek Polacek - - * time/time.h: Fix some typos in comments. - -2012-08-23 Roland McGrath - - * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c. - * posix/tst-rfc3484-2.c: Likewise. - * posix/tst-rfc3484-3.c: Likewise. - -2012-08-23 Steve McIntyre - - * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro. - (EF_ARM_ABI_FLOAT_HARD): Likewise. - -2012-08-23 Joseph Myers - - * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in - #include of fxstatat64.c. - -2012-08-22 Roland McGrath - - * shadow/getspent.c: #undef USE_NSCD before #include that gets the code. - * shadow/getspent_r.c: Likewise. - * shadow/getspnam.c: Likewise. - * shadow/getspnam_r.c: Likewise. - * gshadow/getsgent.c: Likewise. - * gshadow/getsgent_r.c: Likewise. - * gshadow/getsgnam.c: Likewise. - * gshadow/getsgnam_r.c: Likewise. - * inet/getnetbyad.c: Likewise. - * inet/getnetbyad_r.c: Likewise. - * inet/getnetbynm.c: Likewise. - * inet/getnetbynm_r.c: Likewise. - * inet/getnetent.c: Likewise. - * inet/getnetent_r.c: Likewise. - * inet/getproto.c: Likewise. - * inet/getproto_r.c: Likewise. - * inet/getprtent.c: Likewise. - * inet/getprtent_r.c: Likewise. - * inet/getprtname.c: Likewise. - * inet/getprtname_r.c: Likewise. - * inet/getrpcbyname.c: Likewise. - * inet/getrpcbyname_r.c: Likewise. - * inet/getrpcbynumber.c: Likewise. - * inet/getrpcbynumber_r.c: Likewise. - * inet/getrpcent.c: Likewise. - * inet/getrpcent_r.c: Likewise. - * inet/getaliasent.c: Likewise. - * inet/getaliasent_r.c: Likewise. - * inet/getaliasname.c: Likewise. - * inet/getaliasname_r.c: Likewise. - * nscd/getgrgid_r.c: Likewise. - * nscd/getgrnam_r.c: Likewise. - * nscd/gethstbyad_r.c: Likewise. - * nscd/gethstbynm3_r.c: Likewise. - * nscd/getpwnam_r.c: Likewise. - * nscd/getpwuid_r.c: Likewise. - * nscd/getsrvbynm_r.c: Likewise. - * nscd/getsrvbypt_r.c: Likewise. - * nscd/gai.c: Likewise. - - * configure.in (build_nscd): New substituted variable, set - by --disable-build-nscd and defaults to $use_nscd. - * configure: Regenerated. - * config.make.in (build-nscd): New substituted variable. - * nscd/Makefile (others, others-pie, install-sbin, extra-objs): - Change conditional to require [$(build-nscd) = yes] as well. - * NEWS: Mention --disable-build-nscd in the --disable-nscd item. - - [BZ #13696] - * configure.in (use_nscd): New substituted variable, set by - --disable-nscd. If enabled, define USE_NSCD. - * configure: Regenerated. - * config.h.in: Add USE_NSCD. - * config.make.in (use-nscd): New substituted variable. - * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise. - (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise. - (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed. - * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD. - (CFLAGS-getgrnam_r.c): Likewise. - (CFLAGS-initgroups.c): Likewise. - * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD. - * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c): - Variables removed. - * inet/getnetgrent_r.c - (nscd_setnetgrent): New function, broken out of ... - (setnetgrent): ... here. Call it. - (innetgr): Conditionalize nscd bits on [USE_NSCD]. - (nscd_getnetgrent): Conditionalize on [USE_NSCD]. - (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD]. - * nscd/Makefile (routines, aux): Move definitions after include of - Makeconfig. Conditionalize on [$(use-nscd) != no]. - * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd): - Conditionalize on [USE_NSCD]. - (is_nscd, nscd_init_cb): Likewise. - (nss_load_library): Conditionalize init callback on [USE_NSCD]. - * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD]. - * nss/nss_db/db-init.c: Likewise. - * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on - [USE_NSCD]. - * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function. - (make_request): Use it. - (cache_valid_p): New function. - (__check_pf): Use it. - * NEWS: Add item for --disable-nscd. - -2012-08-22 Dmitry V. Levin - - * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp - to support sed >= 4.2.1-20-ga9bf076. - * configure: Regenerated. - -2012-08-22 Roland McGrath - - * csu/libc-start.c (apply_irel): Move extern declarations inside here. - Conditionalize whole body on [IREL]. - -2012-08-22 Jeff Law - - [BZ #14505] - * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r - if the family is PF_UNSPEC. - -2012-08-22 Mike Frysinger - - * Makerules (lib-version): Rename from V. - (install-lib-nosubdir): Change V to lib-version. - -2012-08-22 Will Schmidt - - [BZ #14252] - * powerpc32/power6/wcschr.c: New file. - * powerpc32/power6/wcscpy.c: New file. - * powerpc32/power6/wcsrchr.c: New file. - * powerpc64/power6/wcschr.c: New file. - * powerpc64/power6/wcscpy.c: New file. - * powerpc64/power6/wcsrchr.c: New file. - -2012-08-21 Maxim Kuvyrkov - - * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default. - (two_way_short_needle): Use it. - * string/strstr.c (AVAILABLE1_USES_J): Define. - * string/strcasestr.c: Likewise. - - * string/str-two-way.h (two_way_short_needle): Use pointers instead of - array references. - * string/strcasestr.c (TOLOWER): Make side-effect safe. - - [BZ #11607] - * NEWS: Add an entry. - * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros, - define their defaults. - (two_way_short_needle): Detect end-of-string on-the-fly. - * string/strcasestr.c, string/strstr.c (AVAILABLE): Update. - (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define. - * string/bug-strcasestr1.c: New test. - * string/Makefile: Run it. - -2012-08-21 Maxim Kuvyrkov - - [BZ #11607] - * string/str-two-way.h (two_way_short_needle): Optimize matching of - the first character. - -2012-08-21 Roland McGrath - - * csu/elf-init.c (__libc_csu_irel): Function removed. - * csu/libc-start.c (apply_irel): New function. - (LIBC_START_MAIN): Call it instead of __libc_csu_irel. - -2012-08-21 Joseph Myers - - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_FADVISE64_64_SYSCALL): Remove. - * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include - . - [__NR_fadvise64_64]: Make code unconditional. - [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code. - [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL || - !__NR_fadvise64_64)]: Likewise. - [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL || - !__NR_fadvise64_64))]: Likewise. - [__NR_fadvise64]: Make code unconditional. - [!__NR_fadvise64]: Remove conditional code. - * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include - . - (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code - unconditional. - (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove - conditional code. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do - not include . - (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code - unconditional. - (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove - conditional code. - * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not - include . - (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code - unconditional. - (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove - conditional code. - -2012-08-21 Will Schmidt - - * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and - slight instruction rearrangements per scrollpipe analysis. - * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise. - -2012-08-20 Roland McGrath - - * manual/syslog.texi (syslog; vsyslog, closelog): - Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}. - Reported by Ricardo Catalinas JimĂ©nez . - - * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using - DSOCAPS to match condition on defining it. - -2012-08-20 Joseph Myers - - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_SWAPCONTEXT_SYSCALL): Remove. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S - [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional. - [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S - [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional. - [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S - [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional. - [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code. - - * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ && - __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define. - - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_MMAP2_SYSCALL): Remove all definitions. - * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code - unconditional. - [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code. - * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap) - [__ASSUME_MMAP2_SYSCALL]: Make code unconditional. - (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code. - * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]: - Make code unconditional. - (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code. - (__mmap64) [!__NR_mmap2]: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap) - [__ASSUME_MMAP2_SYSCALL]: Make code unconditional. - (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code. - * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64) - [__NR_mmap2]: Make code unconditional. - (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code. - (__mmap64) [!__NR_mmap2]: Likewise. - -2012-08-20 Andreas Krebbel - - * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove. - -2012-08-18 Andreas Jaeger - - * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable. - -2012-08-18 Mike Frysinger - - * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden. - * include/unistd.h (__have_sock_cloexec): Likewise. - (__have_pipe2): Likewise. - (__have_dup3): Likewise. - -2012-08-18 Mike Frysinger - - [BZ #9685] - * include/unistd.h (__have_pipe2): Change define into an extern int. - (__have_dup3): Likewise. - * socket/have_sock_cloexec.c: Include fcntl.h. - (__have_pipe2): New variable. - (__have_dup3): Likewise. - -2012-08-17 Mike Frysinger - - * sysdeps/unix/sysv/linux/nice.c: Adjust #include. - -2012-08-17 Marek Polacek - - * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__ - ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used. - -2012-08-17 Roland McGrath - - * configure.in: Add AC_SUBST for sysheaders. - * configure: Regenerated. - * config.make.in (sysheaders): New substituted variable. - - * sysdeps/unix/mkfifo.c: Moved ... - * sysdeps/posix/mkfifo.c: ... here. - * sysdeps/unix/mkfifoat.c: Moved ... - * sysdeps/posix/mkfifoat.c: ... here. - - * sysdeps/unix/utime.c: Moved ... - * sysdeps/posix/utime.c: ... here. - - * sysdeps/unix/time.c: Moved ... - * sysdeps/posix/time.c: ... here. - * sysdeps/unix/sysv/linux/time.c: Adjust #include. - * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise. - - * sysdeps/unix/nice.c: Moved ... - * sysdeps/posix/nice.c: ... here. - - * sysdeps/unix/alarm.c: Moved ... - * sysdeps/posix/alarm.c: ... here. - - * intl/Makefile ($(codeset_mo)): Depend on the input file. - -2012-08-17 Jeff Law - - * intl/Makefile (codeset_mo): New variable. - ($(codeset_mo)): New target. - (tst-codeset.out): Depend on that. Remove explicit rule. - (tst-gettext3.out, tst-gettext5.out): Likewise. - (LOCPATH-ENV, tst-codeset-ENV): New variables. - (tst-gettext3-ENV, tst-gettext5-ENV): Likewise. - * intl/tst-codeset.sh: Remove. - * intl/tst-gettext3.sh: Likewise. - * intl/tst-gettext5.sh: Likewise. - -2012-08-17 Roland McGrath - - * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ... - * sysdeps/unix/syscalls.list: ... here. - - * sysdeps/posix/getaddrinfo.c - (save_gaiconf_mtime, check_gaiconf_mtime): New functions. - (gaiconf_init, gaiconf_reload): Use them. - [!_STATBUF_ST_NSEC] - (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime): - Define using time_t rather than struct timespec. - - * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro. - (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier): - Macros removed. - * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on - [!NO_THREADS]. - (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise. - (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2): - Likewise. - - * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for - __libc_cleanup_push argument. - - * bits/param.h: New file. - * misc/sys/param.h: New file. - * include/sys/param.h: New file. - * misc/Makefile (headers): Add bits/param.h. - * sysdeps/generic/sys/param.h: File removed. - * sysdeps/unix/sysv/linux/bits/param.h: New file. - * sysdeps/unix/sysv/linux/sys/param.h: File removed. - * sysdeps/mach/hurd/bits/param.h: New file. - * sysdeps/mach/hurd/sys/param.h: File removed. - - * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the - last change. - - * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on - [_IO_MTSAFE_IO]. - * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc] - (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock): - New macros. - - * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable. - * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally - rather than -D_IO_MTSAFE_IO conditionally. - * stdio-common/Makefile (CPPFLAGS): Likewise. - * wcsmbs/Makefile (CPPFLAGS): Likewise. - * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c): - Use $(libio-mtsafe). - * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead - of -D_IO_MTSAFE_IO. - (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise. - (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise. - (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise. - (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise. - (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise. - (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise. - (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise. - (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise. - (CFLAGS-fread_u_chk.c): Likewise. - (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise. - (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise. - (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise. - (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise. - * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise. - * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise. - * misc/Makefile (CFLAGS-mntent_r.c): Likewise. - * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise. - * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise. - - * libio/Makefile: Test [$(libc-reentrant) = yes] - instead of [$(filter %REENTRANT, $(defines)) nonempty]. - - * Makeconfig - [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT. - * sysdeps/pthread/configure: File removed. - * sysdeps/pthread/Makeconfig: New file. - * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable. - * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here. - -2012-08-16 Gary Benson - - * elf/dl-close.c (_dl_close_worker): Also set r->r_map when - unmapping the first object in a namespace. - -2012-08-16 Roland McGrath - - * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ... - (__internal_setnetgrent): ... this. Add internal_function to - definition. Add libc_hidden_def. - (setnetgrent): Update caller. - (internal_endnetgrent): Renamed to ... - (__internal_endnetgrent): ... this. Add internal_function to - definition. Add libc_hidden_def. - (endnetgrent): Update caller. - (internal_getnetgrent_r): Renamed to ... - (__internal_getnetgrent_r): ... this. Add internal_function to - definition. Add libc_hidden_def. - (__getnetgrent_r): Update caller. - * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses. - -2012-08-16 Joseph Myers - - * stdlib/longlong.h: Update from GCC. - -2012-08-16 Roland McGrath - - * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused)) - on _QL, which is set by umul_ppmm but never used. - * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY - variables, which are set by GMP macros but never used. - * stdio-common/_itowa.c (_itowa): Likewise. - * stdlib/divmod_1.c (mpn_divmod_1): Likewise. - * stdlib/mod_1.c (mpn_mod_1): Likewise. - -2012-08-16 Carlos O'Donell - - * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) : - struct La_sh_regs is not constant. - * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS) - : struct La_sparc32_regs - and struct La_sparc64_regs are not constant. - -2012-08-16 Joseph Myers - - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_POSIX_TIMERS): Remove. - * sysdeps/unix/sysv/linux/clock_getcpuclockid.c - [!__ASSUME_POSIX_TIMERS]: Remove conditional code. - * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]: - Make code unconditional. - [!__ASSUME_POSIX_TIMERS]: Remove conditional code. - * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]: - Make code unconditional. - [!__ASSUME_POSIX_TIMERS]: Remove conditional code. - * sysdeps/unix/sysv/linux/clock_nanosleep.c - [__ASSUME_POSIX_TIMERS]: Make code unconditional. - [!__ASSUME_POSIX_TIMERS]: Remove conditional code. - * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]: - Make code unconditional. - [!__ASSUME_POSIX_TIMERS]: Remove conditional code. - [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime] - (__libc_missing_posix_timers): Remove. - -2012-08-15 Roland McGrath - - * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize - check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT]. - - * bits/libc-lock.h (__rtld_lock_initialize): New macro. - - * elf/dl-sym.c: Include . - - * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit - constants, which avoids warnings in 32-bit builds. - - * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]: - (O_DSYNC, O_RSYNC): New macros (with NetBSD values). - - * misc/lseek.c: File moved to ... - * io/lseek.c: ... here. - - * rt/clock_nanosleep.c: Include , not . - - * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid - shifting LEN more than 31 bits at once. - -2012-08-15 Liubov Dmitrieva - - [BZ #14195] - * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix - segmentation fault for a case of two empty input strings. - * string/test-strncasecmp.c (check1): Renamed to... - (bz12205): ...this. - (bz14195): Add new testcase for two empty input strings and N > 0. - (test_main): Call new testcase, adapt for renamed function. - -2012-08-15 Andreas Jaeger - - [BZ #14090] - * crypt/md5test2.c: New test, based on test supplied by Serge - Belyshev . - * crypt/Makefile (xtests): Add md5test-giant.. - * crypt/Makefile ($(objpfx)md5test-giant): Add. - -2012-08-15 Paul Eggert - - [BZ #14090] - * crypt/md5.c (md5_process_block): Don't assume the buffer - length is less than 2**32. - * crypt/sha512.c (sha512_process_block): Don't assume the buffer - length is less than 2**64. - -2012-08-15 Roland McGrath - - * string/str-two-way.h: Include . - (MAX): Macro removed. - - * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header. - Move #define and #undef of memmove to just before and after - including . - - * sysdeps/x86_64/multiarch/memmove.c: Don't include . - [!NOT_IN_libc]: Move #define and #undef of memmove to just before - and after including . Move declarations of - __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back - to before #include "string/memmove.c". - - * include/dirent.h: Declare __getdirentries. - - * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not - using its value, to avoid warnings in the [!_LIBC_REENTRANT] case. - -2012-08-14 Mike Frysinger - - * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete. - * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check. - * sysdeps/i386/configure: Regenerated. - * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1, - STABS_CURRENT_FILE, and STABS_FUN. - (END): Remove call to STABS_FUN_END. - (STABS_CURRENT_FILE1): Delete. - (STABS_CURRENT_FILE): Likewise. - (STABS_FUN): Likewise. - (STABS_FUN_END): Likewise. - (STABS_FUN2): Likewise. - * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check. - * sysdeps/x86_64/configure: Regenerated. - -2012-08-14 Roland McGrath - - * elf/dl-open.c: Include . - * elf/dl-lookup.c: Likewise. - -2012-08-14 Joseph Myers - - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_CLONE_THREAD_FLAGS): Remove. - * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define - unconditionally. - * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define - unconditionally. - * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not - condition on __ASSUME_CLONE_THREAD_FLAGS. - -2012-08-14 Andreas Jaeger - - * sysdeps/i386/fpu/libm-test-ulps: Update. - -2012-08-13 Maxim Kuvyrkov - - * include/atomic.h (atomic_exchange_and_add): Split into ... - (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these. - New atomic macros. - -2012-08-13 Markus Trippelsdorf - - * sysdeps/x86_64/fpu/libm-test-ulps: Update. - -2012-08-13 Jeff Law - - * manual/stdio.texi (snprintf): Clarify handling of the trailing - null byte in the output string. - -2012-08-10 Joseph Myers - - * sysdeps/unix/sysv/linux/kernel-features.h - (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define. - [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL] - (__ASSUME_ARG_MAX_STACK_BASED): Define. - * sysdeps/unix/sysv/linux/sysconf.c (__sysconf) - [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to - !__ASSUME_ARG_MAX_STACK_BASED. Compare version with - __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL. - -2012-08-09 Jeff Law - - [BZ #13939] - * malloc.c/arena.c (reused_arena): New parameter, avoid_arena. - When avoid_arena is set, don't retry in the that arena. Pick the - next one, whatever it might be. - (arena_get2): New parameter avoid_arena, pass through to reused_arena. - (arena_lock): Pass in new parameter to arena_get2. - * malloc/malloc.c (__libc_memalign): Pass in new parameter to - arena_get2. - (__libc_malloc): Unify retrying after main arena failure with - __libc_memalign version. - (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise. - -2012-08-09 H.J. Lu - - [BZ #14166] - * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined - to __redirect_strstr. - (__strstr_sse42): Use typeof __redirect_strstr. - (__strstr_ia32): Likewise. - (__libc_strstr): New prototype. - (strstr): Renamed to ... - (__libc_strstr): This. - (strstr): New strong alias of __libc_strstr. - * sysdeps/x86_64/multiarch/strstr-c.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to - __redirect_time. - Include . - (__libc_time): New prototype. - (time_ifunc): Replace time with __libc_time. - (time): New strong alias and hidden definition of __libc_time. - (__GI_time): Remove strong alias. - * sysdeps/x86_64/multiarch/memmove.c: Don't include . - Include . - (memmove): Redefined to __redirect_memmove. - (__memmove_sse2): Use typeof __redirect_memmove. - (__memmove_ssse3): Likewise. - (__memmove_ssse3_back): Likewise. - (__libc_memmove): New prototype. - (memmove): Renamed to ... - (__libc_memmove): This. - (memmove): New strong alias of __libc_memmove. - -2012-08-08 Mark Salter - - * elf/elf.h - (R_MN10300_TLS_GD): Define. - (R_MN10300_TLS_LD): Likewise. - (R_MN10300_TLS_LDO): Likewise. - (R_MN10300_TLS_GOTIE): Likewise. - (R_MN10300_TLS_IE): Likewise. - (R_MN10300_TLS_LE): Likewise. - (R_MN10300_TLS_DTPMOD): Likewise. - (R_MN10300_TLS_DTPOFF): Likewise. - (R_MN10300_TLS_TPOFF): Likewise. - (R_MN10300_SYM_DIFF): Likewise. - (R_MN10300_ALIGN): Likewise. - (R_MN10300_NUM): Update. - -2012-08-08 Joseph Myers - - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL): - Remove. - -2012-08-08 Roland McGrath - - * sysdeps/posix/fdopendir.c: Include . - - * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for - sysdeps/unix -> sysdeps/posix move. - * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise. - -2012-08-07 Allan McRae - - [BZ #14303] - * sunrpc/rpc_main.c (SVR4_CPP): Remove. - (SUNOS_CPP): Likewise. - (find_cpp): Fall back to selecting system cpp when /lib/cpp is - not found. - (open_input): Call CPP using execvp. - -2012-08-07 Joseph Myers - - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_PROT_GROWSUPDOWN): Remove. - (__ASSUME_NO_CLONE_DETACHED): Likewise. - (__ASSUME_GETDENTS32_D_TYPE): Likewise. - (__ASSUME_WAITID_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/dl-execstack.c - (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make - code unconditional. - (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove - conditional code. - * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS) - [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional. - (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional - code. - * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code - unconditional. - [__ASSUME_WAITID_SYSCALL]: Likewise. - [!__ASSUME_WAITID_SYSCALL]: Remove conditional code. - -2012-08-07 Roland McGrath - - * sysdeps/unix/closedir.c: Renamed to ... - * sysdeps/posix/closedir.c: ... here. - * sysdeps/unix/dirfd.c: Renamed to ... - * sysdeps/posix/dirfd.c: ... here. - * sysdeps/unix/dirstream.h: Renamed to ... - * sysdeps/posix/dirstream.h: ... here. - * sysdeps/unix/fdopendir.c: Renamed to ... - * sysdeps/posix/fdopendir.c: ... here. - * sysdeps/unix/opendir.c: Renamed to ... - * sysdeps/posix/opendir.c: ... here. - * sysdeps/unix/readdir.c: Renamed to ... - * sysdeps/posix/readdir.c: ... here. - * sysdeps/unix/readdir_r.c: Renamed to ... - * sysdeps/posix/readdir_r.c: ... here. - * sysdeps/unix/rewinddir.c: Renamed to ... - * sysdeps/posix/rewinddir.c: ... here. - * sysdeps/unix/seekdir.c: Renamed to ... - * sysdeps/posix/seekdir.c: ... here. - * sysdeps/unix/telldir.c: Renamed to ... - * sysdeps/posix/telldir.c: ... here. - * sysdeps/unix/sysv/linux/opendir.c: Update #include. - * sysdeps/unix/sysv/linux/readdir64.c: Likewise. - * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise. - - * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ... - * bits/fcntl.h: ... here. - - * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000, - not 0. - (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC]. - [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros. - (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed. - (struct flock): Move l_start, l_len to the beginning. - Use __pid_t for l_pid. - [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros. - [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise. - [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise. - (F_GETLK64, F_SETLK64, F_SETLKW64): New macros. - [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro. - [__USE_LARGEFILE64] (struct flock64): New type. - (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8]. - - * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ... - * bits/dirent.h: ... here. - - * sysdeps/unix/bsd/bsd4.4/bits/dirent.h - [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro. - -2012-08-07 Joseph Myers - - * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): - Change from 2.6.0 to 2.6.16. - * sysdeps/unix/sysv/linux/configure: Regenerated. - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally. - (__ASSUME_TGKILL): Define conditional on architectures, not kernel - version. - (__ASSUME_UTIMES): Likewise. - (__ASSUME_CLONE_STOPPED): Remove. - (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on - architectures, not kernel version. - (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally. - (__ASSUME_NO_CLONE_DETACHED): Likewise. - (__ASSUME_GETDENTS32_D_TYPE): Likewise. - (__ASSUME_WAITID_SYSCALL): Likewise. - [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not - condition definition on __LINUX_KERNEL_VERSION >= 0x02060c. - * README: State 2.6.16 as minimum Linux kernel version. Do not - refer to older versions. - -2012-08-06 Roland McGrath - - * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]: - Define alphasort64 as an alias. - * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]: - Define versionsort64 as an alias. - * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]: - Define scandir64 as an alias. - * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]: - Define scandirat64 as an alias. - * dirent/alphasort64.c (alphasort64): - Conditionalize on [!_DIRENT_MATCHES_DIRENT64]. - * dirent/versionsort64.c: Likewise. - * dirent/scandir64.c: Likewise. - * dirent/scandirat64.c: Likewise. - * sysdeps/wordsize-64/alphasort.c: File removed. - * sysdeps/wordsize-64/alphasort64.c: File removed. - * sysdeps/wordsize-64/scandir.c: File removed. - * sysdeps/wordsize-64/scandir64.c: File removed. - * sysdeps/wordsize-64/scandirat.c: File removed. - * sysdeps/wordsize-64/scandirat64.c: File removed. - * sysdeps/wordsize-64/versionsort.c: File removed. - * sysdeps/wordsize-64/versionsort64.c: File removed. - * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed. - * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed. - * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed. - * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed. - * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed. - * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed. - * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed. - * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed. - - * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros. - * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: - [__s390x__] (__INO_T_MATCHES_INO64_T): New macro. - * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h - [defined __arch64__ || defined __sparcv9] - (__INO_T_MATCHES_INO64_T): New macro. - * sysdeps/unix/sysv/linux/x86/bits/typesizes.h - [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro. - * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro. - * sysdeps/unix/sysv/linux/bits/dirent.h - [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T] - (_DIRENT_MATCHES_DIRENT64): New macro. - - * io/lockf.c [__OFF_T_MATCHES_OFF64_T]: - Define lockf64 as an alias. - * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]: - Define fseeko64 as an alias. - * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]: - Define ftello64 as an alias. - * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]: - Define _IO_fgetpos64 and fgetpos64 as aliases. - * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]: - Define _IO_fsetpos64 and fsetpos64 as aliases. - * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]: - Conditionalize body on this. - * libio/fseeko64.c: Likewise. - * libio/ftello64.c: Likewise. - * libio/iofgetpos64.c: Likewise. - * libio/iofsetpos64.c: Likewise. - * sysdeps/wordsize-64/lockf.c: File removed. - * sysdeps/wordsize-64/lockf64.c: File removed. - * sysdeps/wordsize-64/fseeko.c: File removed. - * sysdeps/wordsize-64/fseeko64.c: File removed. - * sysdeps/wordsize-64/ftello.c: File removed. - * sysdeps/wordsize-64/ftello64.c: File removed. - * sysdeps/wordsize-64/iofgetpos.c: File removed. - * sysdeps/wordsize-64/iofgetpos64.c: File removed. - * sysdeps/wordsize-64/iofsetpos.c: File removed. - * sysdeps/wordsize-64/iofsetpos64.c: File removed. - * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed. - * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed. - * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed. - * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed. - * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed. - * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed. - * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed. - * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed. - * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed. - * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed. - - * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro. - * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: - [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro. - * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h - [defined __arch64__ || defined __sparcv9] - (__OFF_T_MATCHES_OFF64_T): New macro. - * sysdeps/unix/sysv/linux/x86/bits/typesizes.h - [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro. - * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h - (__OFF_T_MATCHES_OFF64_T): New macro. - -2012-08-06 H.J. Lu - - * stdlib/secure-getenv.c (__secure_getenv): Replace - GLIBC_2_16 with GLIBC_2_17. - -2012-08-06 H.J. Lu - - * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed. - * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise. - -2012-08-03 David S. Miller - - * sysdeps/sparc/fpu/libm-test-ulps: Update. - -2012-08-03 Joseph Myers - - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE): - Remove. - (__ASSUME_CORRECT_SI_PID): Likewise. - (__ASSUME_BRK_PAGE_ROUNDED): Likewise. - (__ASSUME_TMPFS_NAME): Likewise. - * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk) - [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code. - * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE] - (HAVE_AUX_SECURE): Make definition unconditional. - * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs) - [!__ASSUME_TMPFS_NAME]: Remove conditional code. - -2012-08-03 Roland McGrath - - * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed. - * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed. - * sysdeps/mach/hurd/eloop-threshold.h: New file. - * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use - __eloop_threshold instead of SYMLOOP_MAX. - - * sysdeps/generic/eloop-threshold.h: New file. - * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead - of MAXSYMLINKS. - * elf/chroot_canon.c (chroot_canon): Likewise. - -2012-08-03 Joseph Myers - - [BZ #13717] - * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): - Change to 2.6.0 everywhere. - * sysdeps/unix/sysv/linux/configure: Regenerated. - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove. - (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not - kernel versions. - (__ASSUME_POSIX_TIMERS): Define unconditionally. - (__ASSUME_FUTEX_REQUEUE): Remove. - (__ASSUME_STATFS64): Define unconditionally. - (__ASSUME_AT_SECURE): Likewise. - (__ASSUME_CORRECT_SI_PID): Likewise. - (__ASSUME_TGKILL): Define without depending on kernel version for - i386. - (__ASSUME_UTIMES): Likewise. - (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not - kernel version. - (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally. - (__ASSUME_TMPFS_NAME): Likewise. - * README: Update reference to Linux kernel versions. - -2012-08-02 Marek Polacek - - [BZ #14150] - * configure.in (libc_cv_asm_type_prefix): Remove test. Replace - libc_cv_asm_type_prefix with %. - * configure: Regenerated. - * include/libc-symbols.h: Remove comment about - ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %. - (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define. - (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise. - (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise. - (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise. - * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %. - [HAVE_ASM_UNIQUE_OBJECT]: Do not define S. - [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S. - * elf/tst-unique2mod1.c: Likewise. - * elf/tst-unique1mod2.c: Likewise. - * elf/tst-unique1mod1.c: Likewise. - * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX. - * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE. - Replace ASM_TYPE_DIRECTIVE with .type. - * sysdeps/s390/s390-64/sysdep.h: Likewise. - * sysdeps/i386/sysdep.h: Likewise. - * sysdeps/x86_64/sysdep.h: Likewise. - * sysdeps/sh/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: - Do not define ASM_TYPE_DIRECTIVE. - * sysdeps/powerpc/sysdep.h: Likewise. - * sysdeps/powerpc/powerpc32/sysdep.h: - Replace ASM_TYPE_DIRECTIVE with .type. - * sysdeps/s390/s390-32/s390-mcount.S: Likewise. - * sysdeps/s390/s390-64/s390x-mcount.S: Likewise. - * sysdeps/i386/fpu/e_powf.S: Likewise. - * sysdeps/i386/fpu/e_expl.S: Likewise. - * sysdeps/i386/fpu/e_atanhf.S: Likewise. - * sysdeps/i386/fpu/e_acosh.S: Likewise. - * sysdeps/i386/fpu/e_pow.S: Likewise. - * sysdeps/i386/fpu/s_asinhl.S: Likewise. - * sysdeps/i386/fpu/e_acoshl.S: Likewise. - * sysdeps/i386/fpu/s_expm1.S: Likewise. - * sysdeps/i386/fpu/s_frexpf.S: Likewise. - * sysdeps/i386/fpu/e_log2.S: Likewise. - * sysdeps/i386/fpu/e_log2l.S: Likewise. - * sysdeps/i386/fpu/e_scalb.S: Likewise. - * sysdeps/i386/fpu/e_powl.S: Likewise. - * sysdeps/i386/fpu/e_log10f.S: Likewise. - * sysdeps/i386/fpu/s_cbrtf.S: Likewise. - * sysdeps/i386/fpu/e_logl.S: Likewise. - * sysdeps/i386/fpu/s_cbrt.S: Likewise. - * sysdeps/i386/fpu/s_frexpl.S: Likewise. - * sysdeps/i386/fpu/s_expm1f.S: Likewise. - * sysdeps/i386/fpu/e_log2f.S: Likewise. - * sysdeps/i386/fpu/e_acoshf.S: Likewise. - * sysdeps/i386/fpu/e_log.S: Likewise. - * sysdeps/i386/fpu/e_scalbf.S: Likewise. - * sysdeps/i386/fpu/e_logf.S: Likewise. - * sysdeps/i386/fpu/e_log10l.S: Likewise. - * sysdeps/i386/fpu/e_atanh.S: Likewise. - * sysdeps/i386/fpu/s_asinhf.S: Likewise. - * sysdeps/i386/fpu/e_log10.S: Likewise. - * sysdeps/i386/fpu/s_frexp.S: Likewise. - * sysdeps/i386/fpu/e_atanhl.S: Likewise. - * sysdeps/i386/fpu/s_asinh.S: Likewise. - * sysdeps/i386/fpu/s_cbrtl.S: Likewise. - * sysdeps/i386/fpu/e_scalbl.S: Likewise. - * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise. - * sysdeps/i386/i686/fpu/e_logl.S: Likewise. - * sysdeps/i386/i686/strtok.S: Likewise. - * sysdeps/i386/i386-mcount.S: Likewise. - * sysdeps/i386/strtok.S: Likewise. - * sysdeps/x86_64/fpu/e_expl.S: Likewise. - * sysdeps/x86_64/fpu/e_log2l.S: Likewise. - * sysdeps/x86_64/fpu/e_powl.S: Likewise. - * sysdeps/x86_64/fpu/e_logl.S: Likewise. - * sysdeps/x86_64/fpu/e_expf.S: Likewise. - * sysdeps/x86_64/fpu/e_log10l.S: Likewise. - * sysdeps/x86_64/fpu/s_copysignf.S: Likewise. - * sysdeps/x86_64/fpu/s_copysign.S: Likewise. - * sysdeps/x86_64/fpu/e_scalbl.S: Likewise. - * sysdeps/x86_64/_mcount.S: Likewise. - * sysdeps/x86_64/strtok.S: Likewise. - * sysdeps/sh/_mcount.S: Likewise. - -2012-08-01 Roland McGrath - - * libio/iofopen.c: Include . - [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0] - (_IO_fopen64, fopen64): Define as aliases. - * libio/iofopen64.c: Include . - [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]: - Conditionalize body on this. - * sysdeps/wordsize-64/iofopen.c: File removed. - * sysdeps/wordsize-64/iofopen64.c: File removed. - -2012-08-01 Marek Polacek - - * libc/Makeconfig: Use elf in place of binfmt-subdir. - Use dlfcn directly instead of a variable. - (binfmt-subdir): Do not define. - (dlfcn): Likewise. - -2012-08-01 Joseph Myers - - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64): - Remove all definitions. - * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include - . - [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove. - (miss_F_GETOWN_EX): Remove all definitions. - [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove - macro definition. - [!__ASSUME_FCNTL64]: Remove conditional code. - [__ASSUME_FCNTL64]: Make code unconditional. - * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include - . - [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove. - (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code. - (lockf64) [__NR_fcntl64]: Make code unconditional. - (lockf64) [__ASSUME_FCNTL64]: Likewise. - - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_VFORK_SYSCALL): Remove all definitions. - * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]: - Make code unconditional. - (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise. - (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork) - [__NR_vfork]: Make code unconditional. - (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise. - (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork) - [__NR_vfork]: Make code unconditional. - (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise. - (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code. - -2012-08-01 Roland McGrath - - * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX]. - (MAXSYMLINKS): Define only if [SYMLOOP_MAX]. - - * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]: - Define mkstemp64 as an alias. - * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]: - Define mkstemps64 as an alias. - * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]: - Define mkostemp64 as an alias. - * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]: - Define mkostemps64 as an alias. - * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]: - Conditionalize body on this. - * misc/mkostemp64.c: Likewise. - * misc/mkostemps64.c: Likewise. - * misc/mkstemps64.c: Likewise. - * sysdeps/wordsize-64/mkstemp64.c: File removed. - * sysdeps/wordsize-64/mkostemp64.c: File removed. - * sysdeps/wordsize-64/mkostemp.c: File removed. - * sysdeps/wordsize-64/mkstemp.c: File removed. - * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed. - * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed. - * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed. - * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed. - - [BZ #14138] - * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line. - * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed. - * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed. - * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed. - - * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and - compat_symbol macros from rather than the underlying - default_symbol_version and symbol_version macros, so that DEFAULT - lines in shlib-versions are respected. - * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise. - -2012-08-01 Florian Weimer - - * posix/unistd.h (setuid, setreuid, seteuid, setresuid): - Declare with warn_unused_result. - (setgid, setregid, setegid, setresgid): Likewise. - * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid): - Likewise. - * WUR-REPORT: Remove set*id functions. - -2012-07-31 Pino Toscano - - * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c. - -2012-07-31 Roland McGrath - - [BZ #10191] - * include/sys/socket.h (__libc_accept, __libc_accept4): - Add attribute_hidden. - * socket/accept4.c (__libc_accept4): Remove libc_hidden_def. - - * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize - use of PTR_MANGLE. - * inet/getnetgrent_r.c (setup): Likewise. - - * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef. - -2012-07-31 David S. Miller - - * sysdeps/sparc/fpu/libm-test-ulps: Update. - -2012-07-31 Joseph Myers - - [BZ #13629] - * math/s_clog.c (__clog): Use __log1p if larger part has absolute - value between 1.0 and 2.0 and smaller part has absolute value less - than 1.0. - * math/s_clog10.c (__clog10): Likewise. - * math/s_clog10f.c (__clog10f): Likewise. - * math/s_clog10l.c (__clog10l): Likewise. - * math/s_clogf.c (__clogf): Likewise. - * math/s_clogl.c (__clogl): Likewise. - * math/libm-test.inc (clog_test): Add more tests. - (clog10_test): Likewise. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2012-07-31 Florian Weimer - - * stdlib/tst-secure-getenv.c: Use printf for error reporting. - Exit with zero in case no suitable GID is found, and write a - message to standard error. - -2012-07-30 Roland McGrath - - * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX - rather than to 1. - (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros. - (MAXPATHLEN): Removed. - (NOGROUP, NODEV): New macros. - (setbit, clrbit, isset, isclr): New macros. - (howmany, roundup, powerof2): New macros. - (DEV_BSIZE): New macro. - - * include/unistd.h: Add attribute_hidden on __libc_pwrite64. - * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64). - - * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize - definition on [!__NO_LONG_DOUBLE_MATH]. - - * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of - PTR_MANGLE and PTR_DEMANGLE. - - * socket/accept4.c (accept4): Rename to __libc_accept4. - Define accept4 as a weak alias. - - * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use - on [_DIRENT_HAVE_D_TYPE]. - * io/ftw.c (ftw_dir): Likewise. - - * io/xmknod.c (__xmknod): Don't check PATH for being null. - - * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO]. - - * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD): - Use the BSD numbers rather than the arbitrary ones we had. - (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros. - (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros. - (SIGXCPU, SIGXFSZ): New macros. - (_NSIG): Now 32. - - * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE] - initializer on [_LIBC_REENTRANT]. - - * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR - definitions inside [_POSIX_MAPPED_FILES]. - - * posix/regex.c: Include for MIN/MAX. - - * dirent/opendir.c: Include . - - * bits/libc-lock.h (__libc_setspecific): Evaluate arguments. - (__libc_getspecific): Likewise. - (__libc_key_create): Likewise. - - * stdio-common/tmpfile64.c: Include first. - [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this. - * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0] - (tmpfile64): Define as alias. - * sysdeps/wordsize-64/tmpfile.c: File removed. - * sysdeps/wordsize-64/tmpfile64.c: File removed. - * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed. - * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed. - - * stdio-common/vfscanf.c: Include . - * nss/makedb.c: Likewise. - * stdio-common/_i18n_number.h: Likewise. - * argp/argp-help.c: Likewise. - * posix/wordexp.c: Likewise. - * sysdeps/posix/spawni.c: Likewise. - * nss/nss_files/files-initgroups.c: Likewise. - * stdio-common/reg-modifier.c: Include . - * nss/nss_files/files-initgroups.c: Likewise. - * nss/nss_db/db-netgrp.c: Likewise. - * nss/nss_db/db-initgroups.c: Likewise. - * io/fchmodat.c: Include . - - * sysdeps/generic/ldsodefs.h (struct rtld_global): Use - __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t. - - * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of - [HAVE_MMAP]. - - * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too. - Add multiple inclusion protection. - -2012-07-27 David S. Miller - - * sysdeps/sparc/fpu/libm-test-ulps: Update. - -2012-07-27 Gary Benson - - [BZ #14298] - * elf/rtld.c: Include . - (dl_main): Added static probes "init_start" and "init_complete". - * elf/dl-load.c: Include . - (lose): Take new parameter "nsid". - Added static probe "map_failed". - (_dl_map_object_from_fd): Pass namespace id to lose. - Added static probe "map_start". - (open_verify): Pass namespace id to lose. - * elf/dl-open.c: Include . - (dl_open_worker) Added static probes "map_complete", "reloc_start" - and "reloc_complete". - * elf/dl-close.c: Include . - (_dl_close_worker): Added static probes "unmap_start" and - "unmap_complete". - * elf/rtld-debugger-interface.txt: New file documenting the above. - -2012-07-26 Roland McGrath - - * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format - rather than a string variable. - * sunrpc/rpc_main.c (h_output): Likewise. - * sunrpc/rpc_svcout.c (write_real_program): Likewise. - -2012-07-26 Pino Toscano - - * inet/check_native.c: New file. - -2012-07-26 Joseph Myers - - [BZ #13629] - * math/s_clog.c (__clog): Use __log1p or direct log1p calculation - if larger part has absolute value 1.0. - * math/s_clog10.c (__clog10): Likewise. - * math/s_clog10f.c (__clog10f): Likewise. - * math/s_clog10l.c (__clog10l): Likewise. - * math/s_clogf.c (__clogf): Likewise. - * math/s_clogl.c (__clogl): Likewise. - * math/libm-test.inc (clog_test): Add more tests. - (clog10_test): Likewise. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro. - (pltexit): Likewise. - (La_regs): Likewise. - (La_retval): Likewise. - (int_retval): Likewise. - Update #error for removed macros to refer only to definitions in - tst-audit.h. - * elf/tst-auditmod3b.c (pltenter): Remove all definitions of - macro. - (pltexit): Likewise. - (La_regs): Likewise. - (La_retval): Likewise. - (int_retval): Likewise. - * elf/tst-auditmod4b.c (pltenter): Remove all definitions of - macro. - (pltexit): Likewise. - (La_regs): Likewise. - (La_retval): Likewise. - (int_retval): Likewise. - * elf/tst-auditmod5b.c (pltenter): Remove all definitions of - macro. - (pltexit): Likewise. - (La_regs): Likewise. - (La_retval): Likewise. - (int_retval): Likewise. - * elf/tst-auditmod6b.c (pltenter): Remove all definitions of - macro. - (pltexit): Likewise. - (La_regs): Likewise. - (La_retval): Likewise. - (int_retval): Likewise. - * elf/tst-auditmod6c.c (pltenter): Remove all definitions of - macro. - (pltexit): Likewise. - (La_regs): Likewise. - (La_retval): Likewise. - (int_retval): Likewise. - * elf/tst-auditmod7b.c (pltenter): Remove all definitions of - macro. - (pltexit): Likewise. - (La_regs): Likewise. - (La_retval): Likewise. - (int_retval): Likewise. - * sysdeps/generic/tst-audit.h: Update comment to refer only to - macro definitions in tst-audit.h. - * sysdeps/i386/tst-audit.h: New file. - * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise. - * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise. - * sysdeps/s390/s390-32/tst-audit.h: Likewise. - * sysdeps/s390/s390-64/tst-audit.h: Likewise. - * sysdeps/sh/tst-audit.h: Likewise. - * sysdeps/sparc/sparc32/tst-audit.h: Likewise. - * sysdeps/sparc/sparc64/tst-audit.h: Likewise. - * sysdeps/x86_64/tst-audit.h: Likewise. - -2012-07-26 Andreas Jaeger - - * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for - ptrace. - - * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add - new value PTRACE_EVENT_SECCOMP from Linux 3.5. - (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust - PTRACE_O_MASK. - * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise. - - * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new - value. - - * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add - _sigsys. - (si_call_addr, si_syscall, si_arch): Define new macro. - * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add - _sigsys. - (si_call_addr, si_syscall, si_arch): Define new marcro. - * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add - _sigsys. - (si_call_addr, si_syscall, si_arch): Define new macro. - * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add - _sigsys. - (si_call_addr, si_syscall, si_arch): Define new macro. - -2012-07-25 Joseph Myers - - [BZ #13717] - * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): - Change to 2.4.21 where previously 2.4.1. - * sysdeps/unix/sysv/linux/configure: Regenerated. - * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ || - __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on - Linux kernel version. - (__ASSUME_STD_AUXV): Remove. - [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux - kernel version. - [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise. - (__ASSUME_NEW_PRCTL_SYSCALL): Remove. - (__ASSUME_FIXED_CLONE_SYSCALL): Likewise. - (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise. - (__ASSUME_NETLINK_SUPPORT): Likewise. - * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0] - (__no_netlink_support): Remove conditional definition. - * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support): - Remove. - (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code. - [__ASSUME_NETLINK_SUPPORT]: Make code unconditional. - * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT] - (if_nameindex_ioctl): Remove. - (if_nameindex_netlink): Do not handle __no_netlink_support. - (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional - code. - * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]: - Remove conditional code. - (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional - code. - (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code - unconditional. - [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code. - [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional. - * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support): - Remove. - * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c - [!__ASSUME_STD_AUXV]: Remove conditional code. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone) - [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code. - [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c - [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove. - (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional - code. - [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c - [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove. - (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove - conditional code. - [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c - (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional - code. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c - (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove - conditional code. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S - (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make - code unconditional. - (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove - conditional code. - (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code - unconditional. - (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove - conditional code. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S - (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code - unconditional. - (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove - conditional code. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S - (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make - code unconditional. - (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove - conditional code. - (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code - unconditional. - (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove - conditional code. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S - (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make - code unconditional. - (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove - conditional code. - (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code - unconditional. - (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove - conditional code. - -2012-07-25 Andreas Schwab - - * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label. - * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise. - * sysdeps/unix/sysv/linux/i386/clone.S: Likewise. - * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise. - * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise. - * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. - * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise. - * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise. - * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise. - * sysdeps/unix/sysv/linux/i386/socket.S: Likewise. - * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise. - * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise. - * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise. - * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise. - * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise. - * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise. - * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise. - * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise. - * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise. - * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise. - -2012-07-25 Florian Weimer - - * Versions.def: Add GLIBC_2.17. - * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv. - * include/stdlib.h: Rename __secure_getenv to secure_getenv. - Introduce __libc_secure_getenv. - * stdlib/Versions (2.17): Add secure_getenv - (GLIBC_PRIVATE): Add __libc_secure_getenv. - * stdlib/secure-getenv.c: Rename __secure_getenv to - __libc_secure_getenv. Add secure_getenv alias. Add compatibility - symbol __secure_getenv for GLIBC_2.0. - * stdlib/tst-secure-getenv.c: New. - * stdlib/Makefile (tests): Add testcase. - * manual/startup.texi (Environment Access): Document - secure_getenv. - * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to - __libc_secure_getenv. - * inet/ruserpass.c (ruserpass): Likewise. - * malloc/mtrace.c (mtrace): Likewise. - * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise. - * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise. - * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise. - * sysdeps/posix/tempname.c: Likewise. Evaluate - HAVE_SECURE_GETENV. - * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename - __secure_getenv to __libc_secure_getenv. - * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise. - -2012-07-25 Joseph Myers - - * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove. - (struct La_i86_retval): Likewise. - (struct La_x86_64_regs): Likewise. - (struct La_x86_64_retval): Likewise. - (struct La_x32_regs): Likewise. - (struct La_x32_retval): Likewise. - (struct La_ppc32_regs): Likewise. - (struct La_ppc32_retval): Likewise. - (struct La_ppc64_regs): Likewise. - (struct La_ppc64_retval): Likewise. - (struct La_sh_regs): Likewise. - (struct La_sh_retval): Likewise. - (struct La_s390_32_regs): Likewise. - (struct La_s390_32_retval): Likewise. - (struct La_s390_64_regs): Likewise. - (struct La_s390_64_retval): Likewise. - (struct La_sparc32_regs): Likewise. - (struct La_sparc32_retval): Likewise. - (struct La_sparc64_regs): Likewise. - (struct La_sparc64_retval): Likewise. - (struct audit_ifaces): Remove architecture-specific pltenter and - pltexit members. - * sysdeps/i386/ldsodefs.h: New file. - * sysdeps/powerpc/ldsodefs.h: Likewise. - * sysdeps/s390/ldsodefs.h: Likewise. - * sysdeps/sh/ldsodefs.h: Likewise. - * sysdeps/sparc/ldsodefs.h: Likewise. - * sysdeps/x86_64/ldsodefs.h: Likewise. - -2012-07-25 Marek Polacek - - [BZ #6808] - * math/libm-test.inc (yn_test): Add another test. - * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno - to ERANGE when the result is +-Inf. - * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise. - * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise. - * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise. - * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise. - -2012-07-24 Joseph Myers - - * conform/data/time.h-data (NULL): Use macro-constant. Require - equal to 0. - (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as - clock_t. - [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0. - -2012-07-23 Thomas Schwinge - - * configure.in : Correct printing - Implies_before. - * configure: Regenerate. - -2012-07-22 Thomas Schwinge - - * math/w_ilogb.c: Include . - * math/w_ilogbl.c: Likewise. - -2012-07-20 Joseph Myers - - * manual/lang.texi (__va_copy): Document primarily as ISO C99 - va_copy. Document allowing for unavailable va_copy only as - pre-C99 compatibility. - * manual/string.texi (Copying and Concatenation): Use va_copy - instead of __va_copy in concat example. - -2012-07-20 Pino Toscano - - * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine. - (__sendto): Use create_address_port. Initialize APORT and deallocate - it if not null. - - * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c - with O_NOLINK passed to __file_name_lookup. - - * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c - with O_NOLINK passed to __file_name_lookup. - - * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for - negative N or less than NGIDS. - - * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its - type to string_t. Set ERANGE as errno and return it if NAME is not big - enough. Use memcpy instead of strncpy. - -2012-07-20 Joseph Myers - - * elf/Makefile (check-data): Remove. - (localplt.data): New vpath directive. - ($(objpfx)check-localplt.out): Use localplt.data from vpath - instead of $(check-data). - * scripts/data/localplt-generic.data: Move to ... - * sysdeps/generic/localplt.data: ... here. - * scripts/data/localplt-i386-linux-gnu.data: Move to ... - * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here. - * scripts/data/localplt-powerpc-linux-gnu.data: Move to ... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data: - ... here. - * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ... - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data: - ... here. - * scripts/data/localplt-s390-linux-gnu.data: Move to ... - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: - ... here. - * scripts/data/localplt-s390x-linux-gnu.data: Move to ... - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data: - ... here. - * scripts/data/localplt-sparc-linux-gnu.data: Move to ... - * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: - ... here. - * scripts/data/localplt-sparc64-linux-gnu.data: Move to ... - * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: - ... here. - -2012-07-19 Adhemerval Zanella - - * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in - PPC32 and PPC64 files. - * sysdeps/powerpc/powerpc32/tls-macros.h: New file. - * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise. - -2012-07-19 Andreas Krebbel - - * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move - __makecontext_ret to ... - * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S: - ... here and call exit if uc_link is NULL. New file. - * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add - __makecontext_ret.S. - * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move - __makecontext_ret to ... - * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S: - ... here and call exit if uc_link is NULL. New file. - * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add - __makecontext_ret.S. - -2012-07-19 Andreas Krebbel - - * elf/elf.h (R_390_IRELATIVE): New definition. - * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the - resolver function for IFUNC symbols. Support R_390_IRELATIVE. - (elf_machine_lazy_rel): Support R_390_IRELATIVE. - * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): - (elf_machine_lazy_rel): Likewise. - * sysdeps/s390/dl-irel.h: New file. - * sysdeps/s390/s390-64/memcpy.S: New asm code. - * sysdeps/s390/s390-64/memset.S: New asm code. - * sysdeps/s390/s390-64/memcmp.S: New asm code. - * sysdeps/s390/s390-64/multiarch/memset.S: New file. - * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file. - * sysdeps/s390/s390-64/multiarch/memcmp.S: New file. - * sysdeps/s390/s390-64/multiarch/memcpy.S: New file. - * sysdeps/s390/s390-64/multiarch/Makefile: New file. - * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file. - * sysdeps/s390/s390-32/multiarch/Makefile: New file. - * sysdeps/s390/s390-32/multiarch/memcmp.S: New file. - * sysdeps/s390/s390-32/multiarch/memcpy.S: New file. - * sysdeps/s390/s390-32/multiarch/memset.S: New file. - * sysdeps/s390/s390-32/memcpy.S: New asm code. - * sysdeps/s390/s390-32/memset.S: New asm code. - * sysdeps/s390/s390-32/memcmp.S: New asm code. - -2012-07-17 Marek Polacek - - [BZ #14349] - * sysdeps/s390/s390-32/configure.in: Remove TLS check. - * sysdeps/s390/s390-64/configure.in: Likewise. - * sysdeps/sparc/configure.in: Likewise. - * sysdeps/powerpc/powerpc32/configure.in: Likewise. - * sysdeps/powerpc/powerpc64/configure.in: Likewise. - * sysdeps/i386/configure.in: Likewise. - * sysdeps/x86_64/configure.in: Likewise. - * sysdeps/sh/configure.in: Likewise. - * sysdeps/s390/s390-32/configure: Regenerated. - * sysdeps/s390/s390-64/configure: Likewise. - * sysdeps/x86_64/configure: Likewise. - * sysdeps/sh/configure: Likewise. - * sysdeps/powerpc/powerpc64/configure: Likewise. - * sysdeps/powerpc/powerpc32/configure: Likewise. - * sysdeps/sparc/configure: Likewise. - * sysdeps/i386/configure: Likewise. - - * elf/dl-open.c: Comment fixes. - -2012-07-17 Joseph Myers - - * Makefile [CXX] (check-data): Remove. - [CXX] (c++-types.data): New vpath directive. - [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from - vpath. Do not allow for C++ type data being missing. - * scripts/data/c++-types-alpha-linux-gnu.data: Move to - ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data. - * scripts/data/c++-types-ia64-linux-gnu.data: Move to - ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data. - * scripts/data/c++-types-i386-linux-gnu.data: Move to ... - * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here. - * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data: - ... here. - * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ... - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data: - ... here. - * scripts/data/c++-types-s390-linux-gnu.data: Move to ... - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: - ... here. - * scripts/data/c++-types-s390x-linux-gnu.data: Move to ... - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: - ... here. - * scripts/data/c++-types-sparc-linux-gnu.data: Move to ... - * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: - ... here. - * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ... - * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: - ... here. - * scripts/data/c++-types-x32-linux-gnu.data: Move to ... - * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: - ... here. - * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ... - * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here. - - * elf/tls-macros.h (TLS_LE): Move architecture-specific - definitions to architecture-specific files. - (TLS_IE): Likewise. - (TLS_LD): Likewise. - (TLS_GD): Likewise. - * sysdeps/i386/tls-macros.h: New file. - * sysdeps/powerpc/tls-macros.h: Likewise. - * sysdeps/s390/s390-32/tls-macros.h: Likewise. - * sysdeps/s390/s390-64/tls-macros.h: Likewise. - * sysdeps/sh/tls-macros.h: Likewise. - * sysdeps/sparc/sparc32/tls-macros.h: Likewise. - * sysdeps/sparc/sparc64/tls-macros.h: Likewise. - * sysdeps/x86_64/tls-macros.h: Likewise. - -2012-07-17 Thomas Schwinge - - * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve - zero value for regular exit case. - - * sysdeps/unix/sysv/linux/x86_64/__start_context.S - (__start_context): Preserve zero value for regular exit case. - -2012-07-17 Thomas Schwinge - Andreas Krebbel - - * manual/setjmp.texi (setcontext): Clarify normal process - termination when uc_link is the null pointer. - * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit - exit call. - -2012-07-16 Andreas Schwab - - * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in - preprocessor. Test for each exception mask separately. - -2012-07-16 Andreas Jaeger - - * po/ru.po: Update from translation team. - -2012-07-15 Joseph Myers - - * conform/data/string.h-data (NULL): Use macro-constant. Require - equal to 0. - [ISO || ISO99 || ISO11] (stddef.h): Do not allow header. - (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*. - (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*. - (mem[abcdefghijklmnopqrstuvwxyz]*): Allow. - [ISO || ISO99 || ISO11] (*_t): Do not allow. - -2012-07-13 Andreas Jaeger - - * po/fr.po: Update from translation team. - -2012-07-12 Marek Polacek - - [BZ #14173] - * math/libm-test.inc (yn_test): Add test for BZ #14173. - * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct - loop condition. - -2012-07-12 Joseph Myers - - [BZ #13717] - * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): - Change to 2.4.1 where previously 2.4.0. - * sysdeps/unix/sysv/linux/configure: Regenerated. - * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__] - (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel - version. - [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise. - (__ASSUME_AT_CLKTCK): Remove. - (__ASSUME_AT_PAGESIZE): Likewise. - (__ASSUME_AT_XID): Likewise. - (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally. - [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally. - * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define - unconditionally. - (HAVE_AUX_PAGESIZE): Likewise. - * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency) - [__ASSUME_AT_CLKTCK]: Make code unconditional. - [!__ASSUME_AT_CLKTCK]: Remove conditional code. - -2012-07-12 Jeroen van Bemmel - - [BZ #14307] - * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of - the temporary buffer used to invoke __gethostbyname2_r, - __gethostbyaddr_r and gethostbyname4_r to make room for struct - host_data / struct gaih_addrtuple. - * resolv/nss_dns/dns-host.c (global scope): Move definition of - implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to - header file nss/nsswitch.h. - * nss/nsswitch.h (global scope): Add definition of implementation - constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from - resolv/nss_dns/dns-host.c). - -2012-07-11 Andreas Jaeger - - * po/fr.po: Update from translation team. - - * po/sv.po: Update from translation team - * po/fr.po: Another update from translation team. - -2012-07-11 Adhemerval Zanella - - * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh - for subnormals or multiply small sinh result by itself. - * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise. - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - -2012-07-11 David S. Miller - - * sysdeps/sparc/fpu/libm-test-ulps: Update. - -2012-07-10 Andreas Schwab - - [BZ #14347] - * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument. - (INTERNAL_MARK): Shift it here. - -2012-07-10 Marek Polacek - - [BZ #14151] - * configure.in (libc_cv_asm_global_directive): Remove test. Replace - libc_cv_asm_global_directive with .globl. - * configure: Regenerated. - * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive - with .globl. - * sysdeps/i386/configure: Regenerated. - * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive - with .globl. - * sysdeps/x86_64/configure: Regenerated. - * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE. - * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl. - * elf/tst-unique2mod2.c: Likewise. - * elf/tst-unique2mod1.c: Likewise. - * elf/tst-unique1mod2.c: Likewise. - * elf/tst-unique1mod1.c: Likewise. - * sysdeps/s390/s390-32/sysdep.h: Likewise. - * sysdeps/s390/s390-32/s390-mcount.S: Likewise. - * sysdeps/s390/s390-64/sysdep.h: Likewise. - * sysdeps/s390/s390-64/s390x-mcount.S: Likewise. - * sysdeps/mach/sysdep.h: Likewise. - * sysdeps/i386/sysdep.h: Likewise. - * sysdeps/i386/i386-mcount.S: Likewise. - * sysdeps/x86_64/_mcount.S: Likewise. - * sysdeps/x86_64/sysdep.h: Likewise. - * sysdeps/sh/_mcount.S: Likewise. - * sysdeps/sh/sysdep.h: Likewise. - * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise. - * sysdeps/powerpc/powerpc32/sysdep.h: Likewise. - * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise. - * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise. - * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise. - * locale/localeinfo.h: Likewise. - (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro. - (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise. - -2012-07-09 Roland McGrath - - [BZ #14336] - * manual/charset.texi (Extended Char Intro): Word use fix, "operating - system". - * manual/message.texi (The Uniforum approach): Likewise. - * manual/charset.texi (Extended Char Intro): Spelling fix, "affected". - (glibc iconv Implementation): Likewise. - -2012-07-09 Joseph Myers - - [BZ #14337] - * math/s_clog.c (__clog): Avoid scaling a value down where that - could result in underflow. - * math/s_clog10.c (__clog10): Likewise. - * math/s_clog10f.c (__clog10f): Likewise. - * math/s_clog10l.c (__clog10l): Likewise. - * math/s_clogf.c (__clogf): Likewise. - * math/s_clogl.c (__clogl): Likewise. - * math/libm-test.inc (clog_test): Add more tests. - (clog10_test): Likewise. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2012-07-06 Andreas Schwab - - [BZ #14283] - * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift - by 7 not 8 to examine high bit of fractional part. - - [BZ #14042] - * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT - for call to __mcount_internal. - * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines) - (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount. - * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file. - -2012-07-06 Joseph Myers - - [BZ #14154] - * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear - approximation for values within 0x1p-13f of an odd multiple of - pi/4. - * math/libm-test.inc (tan_test): Do not allow spurious underflow - exception. Add more tests. - * sysdeps/i386/fpu/libm-test-ulps: Update. - - [BZ #6778] - * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative - inputs and return -1 for them. Do not check for +Inf in case not - reachable for +Inf. - * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise. - * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define. - (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs - and return -1 for them. Do not check for +Inf in case not - reachable for +Inf. - * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not - define. - (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs - and return -1 for them. Do not check for +Inf in case not - reachable for +Inf. - * math/libm-test.inc (expm1_test): Add more tests. Do not allow - spurious underflow. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2012-07-06 Mike Frysinger - - * sunrpc/rpc_clntout.c: Change to "rpc/types.h". - -2012-07-05 Joseph Myers - - [BZ #14157] - [BZ #14331] - * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this - could result in spurious underflow. Scale down values above - DBL_MAX / 4.0 instead of DBL_MAX / 2.0. - * math/s_csqrtf.c (__csqrtf): Likewise. - * math/s_csqrtl.c (__csqrtl): Likewise. - * math/libm-test.inc (csqrt_test): Add more tests. Do not allow - spurious underflow. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2012-07-04 Andreas Schwab - - * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of - xopen-msg.sed. - * catgets/xopen-msg.awk: New file. - * catgets/xopen-msg.sed: Removed. - - * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of - po2text.sed. - * intl/po2test.awk: New file. - * intl/po2test.sed: Removed. - -2012-07-04 Joseph Myers - - [BZ #14328] - * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals - or multiply small sinh result by itself. - * math/s_ctanf.c (__ctanf): Likewise. - * math/s_ctanh.c (__ctanh): Likewise. - * math/s_ctanhf.c (__ctanhf): Likewise. - * math/s_ctanhl.c (__ctanhl): Likewise. - * math/s_ctanl.c (__ctanl): Likewise. - * math/libm-test.inc (ctan_test_tonearest): New function. - (ctan_test_towardzero): Likewise. - (ctan_test_downward): Likewise. - (ctan_test_upward): Likewise. - (ctanh_test_tonearest): Likewise. - (ctanh_test_towardzero): Likewise. - (ctanh_test_downward): Likewise. - (ctanh_test_upward): Likewise. - (main): Call these new functions. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2012-07-03 Mike Frysinger - - * .gitignore: Delete /ports entry. - -2012-07-03 Andreas Jaeger - - * po/bg.po: Update from translation team. - * po/cs.po: Likewise. - * po/de.po: Likewise. - * po/hr.po: Likewise. - * po/nl.pl: Likewise. - * po/pl.po: Likewise. - * po/vi.po: Likewise. - -2012-07-03 Joseph Myers - - * Makeconfig [!+link] (+link-before-libc): New variable. - [!+link] (+link-after-libc): Likewise. - [!+link] (+link-tests): Likewise. - [!+link] (+link): Define in terms of $(+link-before-libc) and - $(+link-after-libc). - [!+link-static] (+link-static-before-libc): New variable. - [!+link-static] (+link-static-after-libc): Likewise. - [!+link-static] (+link-static-tests): Likewise. - [!+link-static] (+link-static): Define in terms of - $(+link-static-before-libc) and $(+link-static-after-libc). - [build-shared] (link-libc-before-gnulib): New variable. - [build-shared] (link-libc-tests): Likewise. - [build-shared] (link-libc): Define in terms of - $(link-libc-before-gnulib). - [!build-shared] (link-libc-tests): New variable. - (link-libc-static-tests): New variable. - [!gnulib] (gnulib-arch): New variable. - [!gnulib] (gnulib-tests): Likewise. - [!gnulib] (static-gnulib-arch): Likewise. - [!gnulib] (static-gnulib-tests): Likewise. - [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh). - Define with "=" instead of ":=". - [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use - -lgcc_eh $(libunwind). Define with "=" instead of ":=". - * Rules (binaries-all-notests): New variable. - (binaries-all-tests): Likewise. - (binaries-static-notests): Likewise. - (binaries-static-tests): Likewise. - (binaries-all): Define using $(binaries-all-notests) and - $(binaries-all-tests). - (binaries-static): Define using $(binaries-static-notests) and - $(binaries-static-tests). - (binaries-shared-tests): New variable. - (binaries-shared-notests): Likewise. - (binaries-shared): Remove variable. - ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule. - ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise. - ($(addprefix $(objpfx),$(binaries-shared))): Remove rule. - ($(addprefix $(objpfx),$(binaries-static-notests))): New rule. - ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise. - ($(addprefix $(objpfx),$(binaries-static))): Remove rule. - * elf/Makefile (sln-modules): New variable. - (extra-objs): Add $(sln-modules:=.o). - (ldconfig-modules): Add static-stubs. - ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o). - * elf/static-stubs.c: New file. - - [BZ #14283] - * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift - by 7 not 8 to examine high bit of fractional part. Use volatile - variables when splitting into final array of floats if - __FLT_EVAL_METHOD__ != 0. - * math/libm-test.inc (cos_test): Add another test. - (sin_test): Likewise. - * sysdeps/i386/fpu/libm-test-ulps: Update. - - [BZ #14273] - * math/libm-test.inc (cosh_test): Add more tests. - - * version.h (RELEASE): Set to "development". - (VERSION): Set to "2.16.90". - -2012-06-30 Carlos O'Donell - - * NEWS: Update copyright. Remove last-updated date. - Mention math library bug fixes and timezone data changes. - * README: Mention GNU/Hurd, x32, and HPPA support status. - -2012-06-28 Thomas Schwinge - - * manual/contrib.texi (Contributors): Sort alphabetically by last name. - -2012-06-27 Andreas Jaeger - - * manual/contrib.texi (Contributors): Add Samuel Thibault. - -2012-06-25 Andreas Jaeger - - * sysdeps/s390/fpu/libm-test-ulps: Update. - -2012-06-23 Andreas Schwab - Thomas Schwinge - - * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark. - * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark. - * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add - fanotify_mark. - -2012-06-23 Thomas Schwinge - - * sysdeps/mach/start.c: Remove file. - * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include. - * sysdeps/i386/init-first.c: Fix comment regarding start.S. - * sysdeps/sh/init-first.c: Likewise. - - * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr - registers for frame unwinding purposes, add CFI directives. - * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise. - * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise. - * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER): - Likewise. - - * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to - __fortify_fail returning. - * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise. - - * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on - sysdeps/sh/____longjmp_chk.S. - * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based - on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym. - * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc] - (gen-as-const-headers): Append sigaltstack-offsets.sym. - - * sysdeps/sh/abort-instr.h: New file. - * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the - process in case exit returns. - - * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always - initialize the GOT register before use. - - * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix - calculation of ARGC > 4. - - * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more - meaningful names to some local labels. - -2012-06-22 Nobuhiro Iwamatsu - Kaz Kojima - - * sysdeps/unix/sysv/linux/sh/bits/atomic.h - (__arch_compare_and_exchange_val_8_acq): Remove explicit nop. - (__arch_compare_and_exchange_val_16_acq): Likewise. - (__arch_compare_and_exchange_val_32_acq): Likewise. - (atomic_exchange_and_add): Fix gUSA sequence. - (atomic_add): Likewise. - (atomic_add_negative): Likewise. - (atomic_add_zero): Likewise. - (atomic_bit_test_set): Likewise. - -2012-06-22 Andreas Schwab - - [BZ #13579] - * include/link.h (struct link_map): Add l_free_initfini. - * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning - l_initfini. - * elf/dl-close.c (_dl_close_worker): Don't free l_initfini. - * elf/rtld.c (dl_main): Clear it on all objects loaded on startup. - * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is - set. - -2012-06-22 Carlos O'Donell - - * configure.in: Use AC_LANG_SOURCE. - * configure: Regenerate. - -2012-06-22 Roland McGrath - - * configure.in (libc_cv_localstatedir): New substituted variable. - * configure: Regenerated. - * config.make.in (localstatedir): New variable, substituted from - libc_cv_localstatedir. - * Makeconfig (vardbdir): Use $(localstatedir) in place of /var. - * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change - ${prefix}/var to /var when we change ${prefix}/etc to /etc. - * sysdeps/gnu/configure: Regenerated. - -2012-06-21 Jeff Law - - [BZ #14277] - * intl/dcigettext.c (_nl_find_msg): Avoid use after potential - free. Simplify list management for _LIBC case. - -2012-06-21 Joseph Myers - - [BZ #14273] - * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh): - Clear sign bit of 64-bit integer value before comparing against - overflow value. - - * sysdeps/mach/configure: Regenerated. - -2012-06-21 H.J. Lu - - [BZ #14278] - * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo. - -2012-06-21 Jeff Law - - [BZ #13882] - * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use - uint16_t for elements in the "seen" array to avoid char overflows. - * elf/dl-fini.c (_dl_sort_fini): Likewise. - * elf/dl-open.c (dl_open_worker): Likewise. - -2012-06-21 Carlos O'Donell - - * scripts/list-sources.sh: Scan PORTS for translations. - * po/libc.pot: Regenerated. - -2012-06-21 Andreas Jaeger - - [BZ #12194] - * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion - warning. - * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise. - * bits/byteswap-16.h (__bswap_16): Likewise. - * bits/byteswap.h (__bswap_constant_16): Likewise. - -2012-06-18 H.J. Lu - - [BZ #14117] - * sysdeps/i386/fpu_control.h: Removed. - * sysdeps/x86_64/fpu_control.h: Moved to ... - * sysdeps/x86/fpu_control.h: Here. - - * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__. - (_FPU_SETCW): Likewise. - -2012-06-15 H.J. Lu - - [BZ #14117] - * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ... - * sysdeps/x86/fpu/bits/mathinline.h: This. - * sysdeps/x86_64/fpu/bits/mathinline.h: Removed. - - [BZ #14050] - [BZ #14117] - * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline - functions if __x86_64__ is defined. - -2012-06-15 Chung-Lin Tang - - * string/endian.h: Add !__ASSEMBLER__ condition for including - conversion interfaces. - -2012-06-15 Joseph Myers - - [BZ #14241] - * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead - of ABS(x) in calculating zero to negative powers other than odd - integers. - * math/libm-test.inc (pow_test): Add more tests. - -2012-06-15 Andreas Jaeger - - * manual/contrib.texi (Contributors): Update entry of Liubov - Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites - Machado Filho. - -2012-06-15 Cyril Hrubis - - * string/string.h: Add __wur to GNU version of strerror_r. - -2012-06-14 H.J. Lu - - [BZ #14229] - * string/Makefile (tests): Add tst-strtok_r. - * string/tst-strtok_r.c: New file. - * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use - RAX_LP/RDX_LP on SAVE_PTR. - -2012-06-14 Roland McGrath - - * manual/Makefile ($(objpfx)texis): Do $(make-target-directory). - -2012-06-14 Joseph Myers - - * libm_test.inc (csqrt_test): Allow more spurious underflow - exceptions. - (j0_test): Likewise. - (j1_test): Likewise. - (y0_test): Likewise. - (y1_test): Likewise. - -2012-06-13 Carlos O'Donell - - * po/Makefile (libc.pot): Use UTF-8 charset. - -2012-06-13 Paul Pluzhnikov - - [BZ #14210] - Suppress sign-conversion warning from FD_SET. - See . - * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int, - not unsigned long int. - * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise. - -2012-06-12 H.J. Lu - - [BZ #14050] - [BZ #14117] - * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check - __extern_always_inline instead of __extern_inline. - (__signbitf): Support __SSE2_MATH__ and C++ namespace. - (__signbit): Likewise. - (__signbitl): Support C++ namespace. - (lrintf): New inline function. - (lrint): Likewise. - (llrintf): Likewise. - (llrint): Likewise. - (fmaxf): Likewise. - (fmax): Likewise. - (fminf): Likewise. - (fmin): Likewise. - (rint): Likewise. - (rintf): Likewise. - (ceil): Likewise. - (ceilf): Likewise. - (floor): Likewise. - (floorf): Likewise. - (nearbyint): Likewise. - (nearbyintf): Likewise. - -2012-06-12 Thomas Schwinge - - * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for - non-default versions. - -2012-06-11 Roland McGrath - - [BZ #14218] - * manual/argp.texi (Argp): Reword argp_parse description slightly. - -2012-06-09 Thomas Schwinge - - * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define. - (FE_UPWARD, FE_DOWNWARD): Don't define. - * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that. - * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise. - - * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after - reading it. - * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise. - * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise. - -2012-06-09 Kaz Kojima - - * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file. - * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed. - * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed. - * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed. - -2012-06-06 H.J. Lu - - [BZ #14117] - * sysdeps/i386/fpu/bits/fenv.h: Removed. - * sysdeps/i386/fpu/Implies: New file. - * sysdeps/x86_64/fpu/Implies: Likewise. - * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ... - * sysdeps/x86/fpu/bits/fenv.h: This. - - * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check - __SSE_MATH__. - -2012-06-06 Siddhesh Poyarekar - - [BZ #14134] - * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid - character 0xffff that matches the last element of the - conversion table. - -2012-06-05 Adhemerval Zanella - - * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm - fmodl commit. - -2012-06-05 Adhemerval Zanella - - * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for - values higher than 25.6283. - -2012-06-04 Adhemerval Zanella - - * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix - subnormal exponent extraction and add some __builtin_expect. - * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa): - Fix for subnormal mantissa calculation. - -2012-06-04 Mike Frysinger - - * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when - cpu2 is -1 and errno is not ENOSYS. - -2012-06-04 H.J. Lu - - [BZ #14117] - * sysdeps/i386/i486/bits/string.h: Renamed to ... - * sysdeps/x86/bits/string.h: This. - * sysdeps/x86_64/bits/string.h: Removed. - - * sysdeps/i386/i486/bits/string.h: Define inline functions only - if not compiling for x86-64, but compiling for >= i486. - - * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ... - * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This. - - * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1): - New macro from Linux kernel 3.4.0. - (FP_XSTATE_MAGIC2): Likewise. - (FP_XSTATE_MAGIC2_SIZE): Likewise. - (X86_FXSR_MAGIC): New macro from Linux i386 kernel. - (struct _fpx_sw_bytes): New struct. - (struct _xsave_hdr): Likewise. - (struct _ymmh_state): Likewise. - (struct _xstate): Likewise. - - * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed. - * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ... - * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This. - * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ... - * sysdeps/unix/sysv/linux/x86/sys/reg.h: This. - - * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed. - * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ... - * sysdeps/unix/sysv/linux/x86/sys/io.h: This. - * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed. - * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ... - * sysdeps/unix/sysv/linux/x86/sys/perm.h: This. - -2012-06-04 Tulio Magno Quites Machado Filho - - [BZ #13743] - * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features. - * sysdeps/powerpc/Makefile (tests): Add test-gettimebase. - (sysdep_headers): Include sys/platform/ppc.h. - * sysdeps/powerpc/test-gettimebase.c: Test for - __ppc_get_timebase() to catch future ISA opcode/insn changes. - * manual/Makefile (appendices): Include platform.texi. - * manual/contrib.texi (Contributors): Update @node pointers. - * manual/maint.texi (Maintenance): Likewise. - (Platform): New node. - * manual/platform.texi: New file. Document the new features. - -2012-06-04 Siddhesh Poyarekar - Jakub Jelinek - - [BZ #14188] - * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases - where __builtin_expect is unavailable. - -2012-06-03 David S. Miller - - * stdlib/longlong.h: Updated from GCC. - -2012-06-02 Andreas Schwab - - [BZ #14042] - * sysdeps/powerpc/powerpc32/mcount.c: New file. - * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add - __mcount_internal. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist - (GLIBC_2.16): Likewise. - -2012-06-01 H.J. Lu - - * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo. - -2012-06-01 Joseph Myers - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile - (default-abi): New variable. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New - variable. - * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi): - Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi): - Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi): - Likewise. - - * Makeconfig [abi-variants && !default-abi] (default-abi): Remove - definition. Document in comment. - -2012-06-01 David S. Miller - - * stdlib/longlong.h: Updated from GCC. - -2012-06-01 H.J. Lu - - [BZ #14117] - * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers): - Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h - sys/debugreg.h sys/io.h here. - * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add - sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h - sys/io.h. - * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers): - Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here. - * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ... - * sysdeps/unix/sysv/linux/x86/sys/elf.h: This. - * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ... - * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This. - - * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8): - Define only if __x86_64__ is defined. - -2012-06-01 Joseph Myers - - [BZ #14048] - * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod): - Use int64_t for variable i. - * math/libm-test.inc (fmod_test): Add more tests. - - * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double) - z computation is not scheduled after fetestexcept. - * sysdeps/ieee754/ldbl-128/s_fmal.c: Include . - Use math_force_eval instead of asm to ensure calculation scheduled - before exception test. - * sysdeps/ieee754/ldbl-96/s_fmal.c: Include . - Ensure a1 + u.d computation is not scheduled after fetestexcept. - -2012-06-01 Aurelien Jarno - - * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d - computation is not scheduled after fetestexcept. - -2012-06-01 H.J. Lu - - [BZ #14117] - * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ... - * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This. - -2012-06-01 Adhemerval Zanella - - * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation. - * sysdeps/powerpc/fpu/k_sinf.c: Likewise. - -2012-05-31 H.J. Lu - - [BZ #14117] - * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include - . - (__WCHAR_MIN): Support __WORDSIZE == 64. - (__WCHAR_MAX): Likewise. - - * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ... - * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This. - - [BZ #14183] - * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE): - Defined with __SWORD_TYPE if __x86_64__ isn't defined. - - [BZ #14117] - * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ... - * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This. - - * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ... - * sysdeps/unix/sysv/linux/x86/bits/stat.h: This. - - * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL): - Defined to 1 if __x86_64__ isn't defined. - (_STAT_VER_LINUX_OLD): New. - (st_atime): Remove duplicate. - (st_mtime): Likewise. - (st_ctime): Likewise. - -2012-05-31 David S. Miller - - * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test - entries. - -2012-06-01 Andreas Schwab - - * sysdeps/powerpc/fpu/libm-test-ulps: Sort through - gen-libm-test.pl. - - [BZ #14132] - * elf/dl-reloc.c: Include <_itoa.h>. - (_dl_reloc_bad_type): Remove use of INTUSE. - * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise. - * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise. - * stdio-common/psiginfo.c (psiginfo): Likewise. - * stdio-common/psignal.c (psignal): Likewise. - * string/strsignal.c (strsignal): Likewise. - * include/signal.h (_sys_siglist): Declare hidden proto. - * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace - INTVARDEF with libc_hidden_data_def. - * stdio-common/itoa-udigits.c: Likewise. - * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal) - (_itoa_lower_digits_internal): Remove declaration. - (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto. - * sysdeps/gnu/siglist.c (_sys_siglist_internal) - (_sys_sigabbrev_internal): Remove aliases. - (_sys_siglist): Define hidden alias. - -2012-05-31 Markus Trippelsdorf - - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add - bits/sysctl.h. - -2012-05-31 H.J. Lu - - [BZ #14117] - * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ... - * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This. - - * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed. - * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ... - * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This. - * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed. - * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ... - * sysdeps/unix/sysv/linux/x86/sys/user.h: This. - - * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed. - * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ... - * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This. - - * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr - with __addr. - (insw): Likewise. - (insl): Likewise. - (outsb): Likewise. - (outsw): Likewise. - (outsl): Likewise. - - * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed. - * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ... - * sysdeps/unix/sysv/linux/x86/bits/mman.h: This. - - * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ... - * sysdeps/unix/sysv/linux/x86/bits/msq.h: This. - * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ... - * sysdeps/unix/sysv/linux/x86/bits/sem.h: This. - * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ... - * sysdeps/unix/sysv/linux/x86/bits/shm.h: This. - - * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ... - * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This. - - * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ... - * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This. - - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ... - * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This. - - * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed. - * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed - to ... - * sysdeps/unix/sysv/linux/x86/bits/environments.h: This. - - * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed. - * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ... - * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This. - - * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling - for x86-64. - * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise. - -2012-05-31 Joseph Myers - - * math/math.h (M_El): Use two more decimal places. - (M_LOG2El): Likewise. - (M_LOG10El): Likewise. - (M_LN2l): Likewise. - (M_LN10l): Likewise. - (M_PIl): Likewise. - (M_PI_2l): Likewise. - (M_PI_4l): Likewise. - (M_1_PIl): Likewise. - (M_2_PIl): Likewise. - (M_2_SQRTPIl): Likewise. - (M_SQRT2l): Likewise. - (M_SQRT1_2l): Likewise. - -2012-05-31 David S. Miller - - * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit - values between float registers. - * sysdeps/sparc/sparc64/memset.S: Likewise. - * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise. - -2012-05-31 Mike Frysinger - - * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete - -D_FORTIFY_SOURCE=1. - (CPPFLAGS-tst-longjmp_chk.c): Define. - (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1. - (CPPFLAGS-tst-longjmp_chk2.c): Define. - * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from - CFLAGS-tst-wchar-h.c. - -2012-05-31 Marek Polacek - - [BZ #14132] - * include/mntent.h (__setmntent_internal, __getmntent_r_internal - __endmntent_internal): Remove declaration. - (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro. - (__setmntent, __endmntent, __getmntent_r): Declare hidden proto. - * misc/mntent_r.c: Replace INTDEF with libc_hidden_def. - -2012-05-30 David S. Miller - - * sysdeps/sparc/sparc32/soft-fp/q_util.c - (___Q_simulate_exceptions): Use real FP ops rather than writing - into the %fsr. - * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions): - Likewise. - -2012-05-30 H.J. Lu - - [BZ #14117] - * sysdeps/x86_64/bits/xtitypes.h: Renamed to ... - * sysdeps/x86/bits/xtitypes.h: This. - - * sysdeps/x86_64/bits/wordsize.h: Renamed to ... - * sysdeps/x86/bits/wordsize.h: This. - - * sysdeps/i386/bits/huge_vall.h: Renamed to ... - * sysdeps/x86/bits/huge_vall.h: This. - - * sysdeps/i386/bits/select.h: Removed. - * sysdeps/x86_64/bits/select.h: Renamed to ... - * sysdeps/x86/bits/select.h: This. - - * sysdeps/i386/bits/setjmp.h: Removed. - * sysdeps/x86_64/bits/setjmp.h: Renamed to ... - * sysdeps/x86/bits/setjmp.h: This. - - * sysdeps/i386/bits/mathdef.h: Removed. - * sysdeps/x86_64/bits/mathdef.h: Renamed to ... - * sysdeps/x86/bits/mathdef.h: This. - -2012-05-30 Andreas Schwab - - [BZ #14132] - * include/sys/socket.h (__connect_internal) - (__libc_sa_len_internal): Remove declaration. - (__connect, __libc_sa_len): Declare hidden_proto. - (SA_LEN): Remove use of INTUSE. - * socket/connect.c: Add libc_hidden_def. - * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def. - * sysdeps/unix/sysv/linux/sa_len.c: Likewise. - * sysdeps/unix/inet/syscalls.list: Remove __connect_internal - alias. - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead - of adding _internal alias. - -2012-05-30 H.J. Lu - - [BZ #14117] - * sysdeps/i386/bits/link.h: Removed. - * sysdeps/i386/bits/linkmap.h: Likewise. - * sysdeps/x86_64/bits/link.h: Renamed to ... - * sysdeps/x86/bits/link.h: This. - * sysdeps/x86_64/bits/linkmap.h: Renamed to ... - * sysdeps/x86/bits/linkmap.h: This. - - * sysdeps/i386/bits/endian.h: Removed. - * sysdeps/x86_64/bits/endian.h: Renamed to ... - * sysdeps/x86/bits/endian.h: This. - - * sysdeps/i386/bits/byteswap.h: Removed. - * sysdeps/i386/bits/byteswap-16.h: Likewise. - * sysdeps/x86_64/bits/byteswap.h: Renamed to ... - * sysdeps/x86/bits/byteswap.h: This. - * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ... - * sysdeps/x86/bits/byteswap-16.h: This. - * sysdeps/i386/Implies: Add x86. - * sysdeps/x86_64/Implies: Likewise. - -2012-05-30 David S. Miller - - * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define. - (FP_TRAPPING_EXCEPTIONS): Provide default implementation. - * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h - (FP_TRAPPING_EXCEPTIONS): Define. - * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h - (FP_TRAPPING_EXCEPTIONS): Define. - * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for - subnormals only when inexact has been signalled or underflow - exceptions are enabled. - (_FP_PACK_CANONICAL): Likewise. - -2012-05-30 H.J. Lu - - [BZ #14183] - * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE): - Defined with __UWORD_TYPE if __x86_64__ isn't defined. - -2012-05-30 Richard Henderson - - * sysdeps/unix/make-syscalls.sh: Protect symbol_version output - with #ifndef NOT_IN_libc. - - * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions - marked to avoid plt entry. - -2012-05-30 H.J. Lu - - [BZ #14112] - * Makeconfig (default-abi): New macro. - (abi-includes): Likewise. - ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use - $(abi-$(default-abi)-lib-soname) for soname if defined. - ($(common-objpfx)gnu/lib-names.stmp): Generate from - abi-variants. - * Makefile (installed-stubs): Likewise. - * include/stubs-biarch.h: Removed. - * scripts/lib-names.awk: Only handle one library at a time. - * scripts/soversions.awk: Remove WORDSIZE support. - * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld - entries. - * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants): - Removed. - (syscall-list-default-condition): Likewise. - (syscall-list-default-condition): Likewise. - (syscall-list-includes): Likewise. - ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace - syscall-list-* with abi-*. Handle undefined abi-variants. - * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro. - * sysdeps/unix/sysv/linux/i386/Implies: New file. - * sysdeps/unix/sysv/linux/x86/Makefile: Likewise. - * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise. - * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86. - * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants): - Removed. - (syscall-list-32-options): Likewise. - (syscall-list-32-condition): Likewise. - (syscall-list-64-options): Likewise. - (syscall-list-64-condition): Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New - macro. - * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*): - Renamed to ... - (abi-*): This. - (abi-64-ld-soname): New macro. - * sysdeps/unix/sysv/linux/s390/Makefile: Likewise. - * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*): - Renamed to ... - (abi-*): This. - * sysdeps/x86_64/64/shlib-versions: Remove ld entry. - * sysdeps/x86_64/x32/shlib-versions: Likewise. - -2012-05-30 Joseph Myers - - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions. - * sysdeps/unix/sysv/linux/ftruncate64.c: Do not - include . - [!__NR_ftruncate64]: Remove conditional code. - [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise. - [__NR_ftruncate64]: Make code unconditional. - [__ASSUME_TRUNCATE64_SYSCALL]: Likewise. - * sysdeps/unix/sysv/linux/truncate64.c: Do not - include . - [!__NR_ftruncate64]: Remove conditional code. - [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise. - [__NR_ftruncate64]: Make code unconditional. - [__ASSUME_TRUNCATE64_SYSCALL]: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not - include . - [!__NR_ftruncate64]: Remove conditional code. - [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise. - [__NR_ftruncate64]: Make code unconditional. - [__ASSUME_TRUNCATE64_SYSCALL]: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not - include . - [!__NR_ftruncate64]: Remove conditional code. - [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise. - [__NR_ftruncate64]: Make code unconditional. - [__ASSUME_TRUNCATE64_SYSCALL]: Likewise. - - * configure.in (libc_cv_fpie): Weaken to a compile test using - LIBC_TRY_CC_OPTION. - * configure: Regenerated. - -2012-05-29 Andreas Krebbel - - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed. - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed. - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed. - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist: - Refreshed. - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed. - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed. - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed. - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed. - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed. - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist: - Refreshed. - -2012-05-27 David S. Miller - - * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete. - (___Q_zero): New. - (__Q_simulate_exceptions): Return void. Change to simulate - exceptions by writing into the %fsr. - * sysdeps/sparc/sparc64/soft-fp/qp_util.c - (__Qp_handle_exceptions): Likewise. - (numbers): Delete. - * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for - __Qp_handle_exceptions. - * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove - __Qp_handle_exceptions. - * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark - as unused and give dummy FP_RND_NEAREST initializer. - (FP_INHIBIT_RESULTS): Define. - (___Q_simulate_exceptions): Update declaration. - (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm - formatting. - * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark - as unused and give dummy FP_RND_NEAREST initializer. - (__Qp_handle_exceptions): Update declaration. - (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm - formatting. - -2012-05-27 Thomas Schwinge - - * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for - the temporary FPU control word. - * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise. - * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise. - * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise. - * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise. - * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise. - * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise. - * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise. - * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise. - * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise. - * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise. - * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise. - -2012-05-27 Kaz Kojima - - * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag - fields. - -2012-05-27 Chung-Lin Tang - - * sysdeps/sh/_mcount.S (_mount): Add CFI directives. - * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise. - * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise. - * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext): - Likewise. - * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise. - * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext): - Likewise. - -2012-05-27 Ulrich Drepper - - * po/h.po: Update from translation team. - -2012-05-26 Andreas Schwab - - * sysdeps/powerpc/powerpc32/dl-irel.h: Include . - - * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize - handling of denormals. - * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise. - * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise. - * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise. - * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise. - * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise. - * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl): - Likewise. - -2012-05-26 Marek Polacek - - [BZ #14152] - * math/libm-test.inc (fma_test): Don't always expect underflow - exception. - -2012-05-26 Siddhesh Poyarekar - - [BZ #12416] - * elf/tst-execstack.c: Include stackinfo.h. - (do_test): Adjust test case to ensure that pthread_getattr_np - behaviour remains the same after marking stack executable. - -2012-05-25 Joseph Myers - - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions. - * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include - kernel-features.h. - [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code. - [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional. - * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include - kernel-features.h. - [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code. - [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional. - -2012-05-25 H.J. Lu - - * configure.in: Define the default includes to being none. - * configure: Regenerated. - -2012-05-25 Roland McGrath - - * sysdeps/x86_64/__longjmp.S: Add a static probe here. - * sysdeps/x86_64/setjmp.S: Likewise. - * sysdeps/i386/bsd-setjmp.S: Likewise. - * sysdeps/i386/bsd-_setjmp.S: Likewise. - * sysdeps/i386/setjmp.S: Likewise. - * sysdeps/i386/__longjmp.S: Likewise. - * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise. - * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise. - - * include/stap-probe.h: New file. - * configure.in: Handle --enable-systemtap. - * configure: Regenerated. - * config.h.in (USE_STAP_PROBE): New #undef. - * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib). - * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld. - * elf/rtld-Rules (rtld-CPPFLAGS): Likewise. - -2012-05-25 Joseph Myers - - [BZ #13717] - * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set - to 2.4.0 where earlier. - * sysdeps/unix/sysv/linux/configure: Regenerated. - * sysdeps/unix/sysv/linux/i386/chown.c: Do not include - . - [__ASSUME_32BITUIDS]: Make code unconditional. - [!__ASSUME_32BITUIDS]: Remove conditional code. - * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include - . - [__ASSUME_32BITUIDS]: Make code unconditional. - [!__ASSUME_32BITUIDS]: Remove conditional code. - * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat) - [__ASSUME_32BITUIDS]: Make code unconditional. - (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code. - * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include - . - [__ASSUME_32BITUIDS]: Make code unconditional. - [!__ASSUME_32BITUIDS]: Remove conditional code. - * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include - . - [__ASSUME_32BITUIDS]: Make code unconditional. - [!__ASSUME_32BITUIDS]: Remove conditional code. - * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include - . - [__ASSUME_32BITUIDS]: Make code unconditional. - [!__ASSUME_32BITUIDS]: Remove conditional code. - * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include - . - [__ASSUME_32BITUIDS]: Make code unconditional. - [!__ASSUME_32BITUIDS]: Remove conditional code. - * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include - . - [__ASSUME_32BITUIDS]: Make code unconditional. - [!__ASSUME_32BITUIDS]: Remove conditional code. - * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include - . - [__ASSUME_32BITUIDS]: Make code unconditional. - [!__ASSUME_32BITUIDS]: Remove conditional code. - * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include - . - [__ASSUME_32BITUIDS]: Make code unconditional. - [!__ASSUME_32BITUIDS]: Remove conditional code. - * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include - . - [__ASSUME_32BITUIDS]: Make code unconditional. - [!__ASSUME_32BITUIDS]: Remove conditional code. - * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include - . - [__ASSUME_32BITUIDS]: Make code unconditional. - [!__ASSUME_32BITUIDS]: Remove conditional code. - * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include - . - [__ASSUME_32BITUIDS]: Make code unconditional. - [!__ASSUME_32BITUIDS]: Remove conditional code. - * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include - . - [__NR_setresgid] (__setresgid): Do not declare. - [__ASSUME_32BITUIDS]: Make code unconditional. - [!__ASSUME_32BITUIDS]: Remove conditional code. - * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include - . - [__NR_setresuid] (__setresuid): Do not declare. - [__ASSUME_32BITUIDS]: Make code unconditional. - [!__ASSUME_32BITUIDS]: Remove conditional code. - * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include - . - [__ASSUME_32BITUIDS]: Make code unconditional. - [!__ASSUME_32BITUIDS]: Remove conditional code. - * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include - . - [__ASSUME_32BITUIDS]: Make code unconditional. - [!__ASSUME_32BITUIDS]: Remove conditional code. - * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include - . - [__ASSUME_32BITUIDS]: Make code unconditional. - [!__ASSUME_32BITUIDS]: Remove conditional code. - * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include - . - [__ASSUME_32BITUIDS]: Make code unconditional. - [!__ASSUME_32BITUIDS]: Remove conditional code. - * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include - . - [__ASSUME_32BITUIDS]: Make code unconditional. - [!__ASSUME_32BITUIDS]: Remove conditional code. - * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include - . - [__ASSUME_32BITUIDS]: Make code unconditional. - [!__ASSUME_32BITUIDS]: Remove conditional code. - * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include - . - [__ASSUME_32BITUIDS]: Make code unconditional. - [!__ASSUME_32BITUIDS]: Remove conditional code. - * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include - . - [__ASSUME_32BITUIDS]: Make code unconditional. - [!__ASSUME_32BITUIDS]: Remove conditional code. - * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include - . - [__ASSUME_32BITUIDS]: Make code unconditional. - [!__ASSUME_32BITUIDS]: Remove conditional code. - * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include - . - [__ASSUME_32BITUIDS]: Make code unconditional. - [!__ASSUME_32BITUIDS]: Remove conditional code. - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_SETRESUID_SYSCALL): Remove. - (__ASSUME_SETRESGID_SYSCALL): Likewise. - (__ASSUME_32BITUIDS): Likewise. - (__ASSUME_LDT_WORKS): Likewise. - (__ASSUME_O_DIRECTORY): Likewise. - (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on - architecture but not kernel version. - (__ASSUME_TRUNCATE64_SYSCALL): Likewise. - (__ASSUME_MMAP2_SYSCALL): Likewise. - (__ASSUME_STAT64_SYSCALL): Likewise. - (__ASSUME_IPC64): Likewise. - * sysdeps/unix/sysv/linux/local-setxid.h: Do not include - . - [__ASSUME_32BITUIDS]: Make code unconditional. - [!__ASSUME_32BITUIDS]: Remove conditional code. - * sysdeps/unix/sysv/linux/opendir.c: Do not include - . - [__ASSUME_O_DIRECTORY]: Make code unconditional. - * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION < - 132096]: Remove conditional code. - [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional. - * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include - . - [__ASSUME_32BITUIDS]: Make code unconditional. - [!__ASSUME_32BITUIDS]: Remove conditional code. - * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include - . - [__ASSUME_32BITUIDS]: Make code unconditional. - [!__ASSUME_32BITUIDS]: Remove conditional code. - * sysdeps/unix/sysv/linux/setegid.c: Do not include - . - [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code - unconditional. - (__setresgid): Do not declare. - [__ASSUME_32BITUIDS]: Make code unconditional. - [!__ASSUME_32BITUIDS]: Remove conditional code. - * sysdeps/unix/sysv/linux/seteuid.c: Do not include - . - [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code - unconditional. - (__setresuid): Do not declare. - [__ASSUME_32BITUIDS]: Make code unconditional. - [!__ASSUME_32BITUIDS]: Remove conditional code. - * sysdeps/unix/sysv/linux/sh/chown.c: Do not include - . - [__ASSUME_32BITUIDS]: Make code unconditional. - [!__ASSUME_32BITUIDS]: Remove conditional code. - * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include - . - [__ASSUME_32BITUIDS]: Make code unconditional. - [!__ASSUME_32BITUIDS]: Remove conditional code. - -2012-05-25 Richard Henderson - - * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass - dl_hwcap to ifunc resolver. - * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use - elf_ifunc_invoke. - * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass - dl_hwcap to ifunc resolver. - * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise. - -2012-05-24 Joseph Myers - - [BZ #14153] - * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2 - for |x| <= 2**-26, not 2**-57. - * math/libm-test.inc (acos_test): Do not allow spurious underflow - exception. - -2012-05-24 Jeff Law - - * stdio-common/Makefile (tests): Add bug25. - * stdio-common/bug25.c: New test. - -2012-05-24 H.J. Lu - - [BZ #13576] - * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a - multiple of MALLOC_ALIGNMENT in size. - (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT. - -2012-05-24 Joseph Myers - - * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant. - Require >= 256. - (FILENAME_MAX): Use macro-int-constant. - (FOPEN_MAX): Use macro-int-constant. Require >= 8. - (_IOFBF): Use macro-int-constant. - (_IOLBF): Likewise. - (_IONBF): Likewise. - (SEEK_CUR): Likewise. - (SEEK_END): Likewise. - (SEEK_SET): Likewise. - (TMP_MAX): Likewise. - (EOF): Use macro-int-constant. Require < 0. - (NULL): Use macro-constant. Require == 0. - (stdin): Require type to be FILE *. - (stdout): Likewise. - (stderr): Likewise. - * conform/data/stdlib.h-data (EXIT_FAILURE): Use - macro-int-constant. - (EXIT_SUCCESS): Likewise. - (NULL): Use macro-constant. Require == 0. - (RAND_MAX): Use macro-int-constant. - [ISO99 || ISO11] (lldiv_t): Require also for these standards. - [C99-based standards] (strtof): Require function. - [C99-based standards] (strtold): Likewise. - [C99-based standards] (strtoll): Likewise. - [C99-based standards] (strtoull): Likewise. - [ISO || ISO99 || ISO11] (stddef.h): Do not allow header. - [ISO || ISO99 || ISO11] (limits.h): Likewise. - [ISO || ISO99 || ISO11] (math.h): Likewise. - [ISO || ISO99 || ISO11] (sys/wait.h): Likewise. - (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*. - [ISO || ISO99 || ISO11] (*_t): Do not allow. - -2012-05-24 Andreas Schwab - - [BZ #14132] - * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE. - * argp/argp-parse.c (dgettext) [_LIBC]: Likewise. - * intl/dgettext.c (DCGETTEXT): Likewise. - * intl/gettext.c (DCGETTEXT): Likewise. - * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise. - * posix/regex_internal.h (gettext): Likewise. - * include/libintl.h (__dcgettext_internal, __dcngettext_internal): - Remove declaration. - * include/argz.h (__argz_count_internal) - (__argz_stringify_internal): Remove declaration. - (__argz_count, __argz_stringify): Declare hidden proto. - * intl/dcgettext.c: Remove use of INTDEF. - * string/argz-count.c: Replace INTDEF with libc_hidden_def. - * string/argz-stringify.c: Likewise. - * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area) - (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf): - Declare hidden proto. - * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area) - (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf): - Declare hidden proto. - * include/stdio.h (__asprintf_internal): Don't declare. - (__asprintf): Don't define as macro. Declare hidden proto. - * include/stdio_ext.h (__fsetlocking_internal): Don't declare. - (__fsetlocking): Declare hidden proto. - * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread) - (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare - hidden proto. - (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf) - (_IO_setlinebuf): Remove use of INTUSE. - (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal) - (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal) - (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal): - Remove declaration. - * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define. - (_IO_do_flush): Remove use of INTUSE. - (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link) - (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb) - (_IO_adjust_column, _IO_least_wmarker) - (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area) - (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc) - (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow) - (_IO_default_doallocate, _IO_wdefault_doallocate) - (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail) - (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn) - (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write) - (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered) - (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff) - (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close) - (_IO_file_underflow, _IO_file_overflow, _IO_file_init) - (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync) - (_IO_file_close_it, _IO_file_seek, _IO_file_finish) - (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow) - (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow) - (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff) - (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden - proto. - (_IO_flush_all_internal, _IO_adjust_column_internal) - (_IO_default_uflow_internal, _IO_default_finish_internal) - (_IO_default_pbackfail_internal, _IO_default_xsputn_internal) - (_IO_default_xsgetn_internal, _IO_default_doallocate_internal) - (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal) - (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal) - (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal) - (_IO_file_doallocate_internal, _IO_file_setbuf_internal) - (_IO_file_seekoff_internal, _IO_file_xsputn_internal) - (_IO_file_xsgetn_internal, _IO_file_stat_internal) - (_IO_file_close_internal, _IO_file_close_it_internal) - (_IO_file_underflow_internal, _IO_file_overflow_internal) - (_IO_file_init_internal, _IO_file_attach_internal) - (_IO_file_fopen_internal, _IO_file_read_internal) - (_IO_file_sync_internal, _IO_file_seek_internal) - (_IO_file_finish_internal, _IO_wfile_xsputn_internal) - (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal) - (_IO_str_underflow_internal, _IO_str_overflow_internal) - (_IO_str_pbackfail_internal, _IO_str_seekoff_internal) - (_IO_file_jumps_internal, _IO_wfile_jumps_internal) - (_IO_list_all_internal, _IO_link_in_internal) - (_IO_sputbackc_internal, _IO_wdoallocbuf_internal) - (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal) - (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal) - (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal) - (_IO_do_write_internal, _IO_padn_internal) - (_IO_getline_info_internal, _IO_getline_internal) - (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal) - (_IO_switch_to_wbackup_area_internal, _IO_setb_internal) - (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal) - (_IO_vfscanf_internal, _IO_vfprintf_internal) - (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal) - (_IO_init_internal, _IO_un_link_internal): Don't declare. - * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2 - with libc_hidden_ver, remove use of INTUSE. - * libio/genops.c: Likewise. - * libio/freopen.c: Likewise. - * libio/freopen64.c: Likewise. - * libio/iofclose.c: Likewise. - * libio/iofdopen.c: Likewise. - * libio/iofflush.c: Likewise. - * libio/iofflush_u.c: Likewise. - * libio/iofgets.c: Likewise. - * libio/iofgets_u.c: Likewise. - * libio/iofopen.c: Likewise. - * libio/iofopncook.c: Likewise. - * libio/iofread.c: Likewise. - * libio/iofread_u.c: Likewise. - * libio/ioftell.c: Likewise. - * libio/iofwrite.c: Likewise. - * libio/iogetline.c: Likewise. - * libio/iogets.c: Likewise. - * libio/iogetwline.c: Likewise. - * libio/iopadn.c: Likewise. - * libio/iopopen.c: Likewise. - * libio/ioseekoff.c: Likewise. - * libio/ioseekpos.c: Likewise. - * libio/iosetbuffer.c: Likewise. - * libio/iosetvbuf.c: Likewise. - * libio/ioungetc.c: Likewise. - * libio/ioungetwc.c: Likewise. - * libio/iovdprintf.c: Likewise. - * libio/iovsprintf.c: Likewise. - * libio/iovsscanf.c: Likewise. - * libio/memstream.c: Likewise. - * libio/obprintf.c: Likewise. - * libio/oldfileops.c: Likewise. - * libio/oldiofclose.c: Likewise. - * libio/oldiofdopen.c: Likewise. - * libio/oldiofopen.c: Likewise. - * libio/oldiopopen.c: Likewise. - * libio/oldstdfiles.c: Likewise. - * libio/putc.c: Likewise. - * libio/setbuf.c: Likewise. - * libio/setlinebuf.c: Likewise. - * libio/stdfiles.c: Likewise. - * libio/strops.c: Likewise. - * libio/vasprintf.c: Likewise. - * libio/vscanf.c: Likewise. - * libio/vsnprintf.c: Likewise. - * libio/vswprintf.c: Likewise. - * libio/wfiledoalloc.c: Likewise. - * libio/wfileops.c: Likewise. - * libio/wgenops.c: Likewise. - * libio/wmemstream.c: Likewise. - * libio/wstrops.c: Likewise. - * libio/__fpurge.c: Likewise. - * libio/__fsetlocking.c: Likewise. - * assert/assert.c: Likewise. - * debug/fgets_chk.c: Likewise. - * debug/fgets_u_chk.c: Likewise. - * debug/fread_chk.c: Likewise. - * debug/fread_u_chk.c: Likewise. - * debug/gets_chk.c: Likewise. - * debug/obprintf_chk.c: Likewise. - * debug/vasprintf_chk.c: Likewise. - * debug/vdprintf_chk.c: Likewise. - * debug/vsnprintf_chk.c: Likewise. - * debug/vsprintf_chk.c: Likewise. - * malloc/mtrace.c: Likewise. - * misc/error.c: Likewise. - * misc/syslog.c: Likewise. - * stdio-common/asprintf.c: Likewise. - * stdio-common/fxprintf.c: Likewise. - * stdio-common/getw.c: Likewise. - * stdio-common/isoc99_fscanf.c: Likewise. - * stdio-common/isoc99_scanf.c: Likewise. - * stdio-common/isoc99_vfscanf.c: Likewise. - * stdio-common/isoc99_vscanf.c: Likewise. - * stdio-common/isoc99_vsscanf.c: Likewise. - * stdio-common/printf-prs.c: Likewise. - * stdio-common/printf_fp.c: Likewise. - * stdio-common/printf_fphex.c: Likewise. - * stdio-common/printf_size.c: Likewise. - * stdio-common/putw.c: Likewise. - * stdio-common/scanf.c: Likewise. - * stdio-common/sprintf.c: Likewise. - * stdio-common/tmpfile.c: Likewise. - * stdio-common/vfprintf.c: Likewise. - * stdio-common/vfscanf.c: Likewise. - * stdlib/strfmon_l.c: Likewise. - * sunrpc/openchild.c: Likewise. - * sunrpc/xdr_stdio.c: Likewise. - * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise. - * sysdeps/mach/hurd/tmpfile.c: Likewise. - -2012-05-24 Roland McGrath - - * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file. - - * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER" - in the third column, to generate for the shared library an IFUNC - that uses _dl_vdso_vsym. - * Makerules (COMPILE.c, compile-stdin.c): New variables. - * Makeconfig (object-suffixes-noshared): New variable. - - * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro. - (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros. - (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros. - (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros. - - [BZ #14132] - * include/sys/time.h (__gettimeofday): Remove macro. - (__gettimeofday, gettimeofday): Add libc_hidden_proto. - * time/gettimeofday.c (__gettimeofday): Remove #undef. - Remove INTDEF. - (__gettimeofday): Add libc_hidden_def. - (gettimeofday): Add libc_hidden_weak. - * sysdeps/mach/gettimeofday.c: Likewise. - * sysdeps/posix/gettimeofday.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise. - * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c - (__gettimeofday_internal): Remove strong_alias. - (__gettimeofday): Add libc_hidden_def. - (gettimeofday): Add libc_hidden_weak. - * sysdeps/unix/syscalls.list (gettimeofday): - Remove __gettimeofday_internal alias. - -2012-05-24 Daniel Jacobowitz - H.J. Lu - - [BZ #12495] - * malloc/malloc.c (SMALLBIN_CORRECTION): New. - (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment. - (largebin_index_32_big): New. - (largebin_index): Use it for 16-byte alignment. - (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update - correction with front_misalign. - -2012-05-24 H.J. Lu - - * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file. - * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist: - Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: - Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: - Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: - Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: - Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: - Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: - Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: - Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: - Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: - Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist: - Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: - Likewise. - - * scripts/data/c++-types-x32-linux-gnu.data: New file. - * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry. - -2012-05-24 Joseph Myers - - [BZ #10846] - [BZ #14036] - * math/libm-test.inc (exp_test): Add test from bug 14036. - (pow_test): Add test from bug 10846. - - * math/gen-libm-test.pl (%beautify): Remove entries for exceptions - and other flags. - (special_function): Do not include flags in test name. - (parse_args): Likewise. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/powerpc/fpu/libm-test-ulps: Likewise. - * sysdeps/s390/fpu/libm-test-ulps: Likewise. - * sysdeps/sparc/fpu/libm-test-ulps: Likewise. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - * math/gen-libm-test.pl (%beautify): Add entries for underflow - exceptions. - * math/libm-test.inc ("Philosophy"): Update comment about - exception testing. - (UNDERFLOW_EXCEPTION): New macro. - (UNDERFLOW_EXCEPTION_OK): Likewise. - (UNDERFLOW_EXCEPTION_FLOAT): Likewise. - (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise. - (UNDERFLOW_EXCEPTION_DOUBLE): Likewise. - (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise. - (INVALID_EXCEPTION_OK): Update value. - (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise. - (OVERFLOW_EXCEPTION_OK): Likewise. - (IGNORE_ZERO_INF_SIGN): Likewise. - (test_exceptions): Handle underflow exceptions. - (acos_test): Update for underflow exception expectations. - (cexp_test): Likewise. - (clog_test): Likewise. - (clog10_test): Likewise. - (csqrt_test): Likewise. - (ctan_test): Likewise. - (ctanh_test): Likewise. - (exp_test): Likewise. - (exp10_test): Likewise. - (exp2_test): Likewise. - (expm1_test): Likewise. - (fma_test): Likewise. - (j0_test): Likewise. - (jn_test): Likewise. - (nexttoward_test): Likewise. - (pow_test): Likewise. - (scalbn_test): Likewise. - (scalbln_test): Likewise. - (tan_test): Likewise. - (y1_test): Likewise. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2012-05-23 David S. Miller - - * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c - (__libc_sigaction): Remove unused local variables. - -2012-05-23 H.J. Lu - - * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file. - -2012-05-23 Paul Eggert - - mktime: avoid signed integer overflow - * time/mktime.c (__mktime_internal): Do not mishandle the case - where diff == INT_MIN. - - mktime: simplify computation of average - * time/mktime.c (ranged_convert): Use new time_t_avg function - instead of rolling our own (probably-slower) code. - - mktime: do not assume signed right shift propagates sign bit - * time/mktime.c (isdst_differ): New static function. - (__mktime_internal): No need to normalize tm_isdst now. - (__mktime_internal, not_equal_tm): Use isdst_differ to compare - tm_isdst values. - - mktime: merge another wrapv change from gnulib - * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics - from some compilers. - - mktime: remove incorrect attempt at unusual arithmetics - * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove. - The code didn't really work on such machines anyway. - (TYPE_MINIMUM): Assume two's complement. - (twos_complement_arithmetic): Verify that long_int and time_t - are two's complement (or unsigned, in the latter case). - - mktime: check signed shifts on long_int and time_t, too - * time/mktime.c (SHR): Check that shifts work as desired - on the types long_int and time_t too, as SHR is used on - such types. - - mktime: do not assume 'long' is wide enough - * time/mktime.c (verify): Move decl up. - (long_int): New type. - (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it, - to remove assumption in the code that 'long' is wide enough to - store year values. This assumption is not true on x32 and on - some non-glibc platforms. - - mktime: merge wrapv change from gnulib - * time/mktime.c (WRAPV): New macro. - (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions. - (guess_time_tm, __mktime_internal): Do not assume that signed - integer overflow wraps around; modern compilers generate code - where this assumption is no longer valid. - -2012-05-23 H.J. Lu - - * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER): - Replace "jmp L(pseudo_end)" with "ret". - * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): - Likewise. - -2012-05-23 Andreas Jaeger - - * sysdeps/unix/sysv/linux/syscalls.list: Add poll. - * sysdeps/unix/sysv/linux/poll.c: Remove file. - -2012-05-23 Andreas Jaeger - Maximilian Attems - - * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC): - New macros. - -2012-05-23 H.J. Lu - - * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange - code so that pseudo_end is just ret and the stack pointer is - correct also for static library in error case. - -2012-05-23 Joseph Myers - - * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting - move to syscalls.list. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise. - - * manual/install.texi (Running make install): Do not mention Linux - kernel version for which pt_chown is not needed. - (Linux): Do not mention problems with nscd with 2.0 kernels. - * INSTALL: Regenerated. - -2012-05-23 Andreas Jaeger - - * sysdeps/unix/sysv/linux/powerpc/bits/mman.h - (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4. - macro. - * sysdeps/unix/sysv/linux/s390/bits/mman.h - (MADV_DONTDUMP,MADV_DODUMP): Likewise. - * sysdeps/unix/sysv/linux/sh/bits/mman.h - (MADV_DONTDUMP,MADV_DODUMP): Likewise. - * sysdeps/unix/sysv/linux/i386/bits/mman.h - (MADV_DONTDUMP,MADV_DODUMP): Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/mman.h - (MADV_DONTDUMP,MADV_DODUMP): Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/mman.h - (MADV_DONTDUMP,MADV_DODUMP): Likewise. - * sysdeps/unix/sysv/linux/bits/in.h - (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise. - -2012-05-22 Roland McGrath - - * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed. - (PREPARE_VERSION): Just use assert instead, it will be elided - under [NDEBUG] anyway. - -2012-05-22 H.J. Lu - - * sysdeps/unix/sysv/linux/Makefile: Include - $(firstword $(wildcard $(sysdirs:=/sysctl.mk))). - (sysdep_routines): Remove sysctl. - * sysdeps/unix/sysv/linux/bits/sysctl.h: New file. - * sysdeps/unix/sysv/linux/sysctl.mk: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise. - * sysdeps/unix/sysv/linux/sys/sysctl.h: Include . - -2012-05-22 Andreas Jaeger - - * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so - that pseudo_end is just ret and the stack pointer is correct also - for static library in error case. - -2012-05-22 Paul Pluzhnikov - - [BZ #14122] - * nss/nsswitch.c (defconfig_entries): New variable. - (__nss_database_lookup): Don't leak defconfig entries. - (nss_parse_service_list): Don't leak on error paths. - (free_database_entries): New function. - (free_defconfig): New function. - (free_mem): Move common code to free_database_entries. - -2012-05-22 H.J. Lu - - * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines): - Add arch_prctl. - * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file. - - * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c - (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES): - New macro. - (INTERNAL_SYSCALL_NCS_TYPES): Likewise. - (INTERNAL_SYSCALL_TYPES): Likewise. - (LOAD_ARGS_TYPES_[1-6]): Likewise. - (LOAD_REGS_TYPES_[1-6]): Likewise. - (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6]. - (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6]. - -2012-05-22 Adhemerval Zanella - - * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol - copysignl for GLIBC_2_0. - * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol - finitel for GLIBC_2.0 and __finitel for GLIBC_2_1. - * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol - logbl for GLIBC_2_0. - * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise. - -2012-05-22 H.J. Lu - - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include - . Check __x86_64__ instead of __WORDSIZE. - - * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER): - Use "neg %eax". - - * time/mktime.c: Update copyright years. - -2012-05-22 Paul Eggert - - mktime: merge comment-quoting-style change from gnulib - * time/mktime.c: Quote 'like this' in comments. - The GNU coding standards suggest that we no longer quote `like this', - as "`" and "'" are typically rendered asymmetrically nowadays. - The typical gnulib style is to quote 'like this' when quoting - code, and "like this" when quoting English. - - * time/mktime.c (compile-command): Add "-I.". - - mktime: merge mktime-internal.h change from gnulib - * time/mktime.c [!_LIBC]: Include "mktime-internal.h". - - mktime: merge time_r change from gnulib - * time/mktime.c [!_LIBC]: Do not include "time_r.h". - - mktime: merge DEBUG change from gnulib - * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in - case system has a #define. - - mktime: merge change from gnulib - * time/mktime.c: Do not include ; no longer needed, - since is now guaranteed to define time_t. - - mktime: merge HAVE_CONFIG_H change from gnulib - * time/mktime.c: Include if !_LIBC, not if HAVE_CONFIG_H. - -2012-05-22 H.J. Lu - - * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO): - Use "neg %eax". - - * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use - __rlim_t cast. - (struct rusage): Use anonymous union to pad each field to - __syscall_slong_t. - -2012-05-21 David S. Miller - - * Makefules (o-iterator): Remove .s cases. - (compile-command.s): Delete. - (COMPILE.s): Delete. - * sysdeps/unix/make-syscalls.sh: Remove .s file tests. - -2012-05-21 Joseph Myers - - * configure.in (libc_cv_predef_stack_protector): Only consider - "foobar" and "__stack_chk_fail" lines in libc_undefs. - * configure: Regenerated. - -2012-05-21 H.J. Lu - - * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO): - New macro. Use R*LP on int and pointer. - (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO. - * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file. - * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise. - - * sysdeps/gnu/bits/utmp.h (struct lastlog): Check - [__WORDSIZE_TIME64_COMPAT32] instead of - [__WORDSIZE == 64 && __WORDSIZE_COMPAT32]. - (struct utmp): Likewise. - * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise. - * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32): - Renamed to ... - (__WORDSIZE_TIME64_COMPAT32): This. - * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise. - * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise. - * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise. - * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed. - (__WORDSIZE_TIME64_COMPAT32): New macro. - -2012-05-21 Andreas Jaeger - - * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def - only if [SHARED]. Add prototype for __wcschr_ia32. - -2012-05-21 Roland McGrath - - * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits - of %rbp unmolested in the jmp_buf while mangling the low bits. - * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the - unmolested high bits of %rbp while demangling the low bits. - * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise. - -2012-05-21 Andreas Jaeger - - * include/shlib-compat.h (libc_sunrpc_symbol): New macro. - * sunrpc/svc_simple.c: Use it for registerrpc. - * sunrpc/xcrypt.c: Use it for passwd2des. - - * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT. - -2012-05-21 H.J. Lu - - * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED): - Don't define if [__SYSCALL_WORDSIZE != 32]. - * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE): - New macro. - -2012-05-21 Bruno Haible - Andreas Jaeger - - [BZ #13691], Revert breakage of iconv() converter for TCVN-5712. - * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider - inptr and inend for must_buffer_ch. - * wcsmbs/tst-mbsnrtowcs.c: Remove file. - * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs. - * stdio-common/Makefile (tests): Remove bug15. - (bug15-ENV): Remove macro. - * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1 - anymore. - -2012-05-19 Andreas Jaeger - Roland McGrath - - * manual/contrib.texi: Completely rewritten. It contains now an - alphabetical list of contributors and their contributions. - -2012-05-21 Richard Henderson - - * misc/getauxval.c (__getauxval): Use unsigned long int. - * misc/sys/auxv.h: Include . - (getauxval): Use unsigned long int. - -2012-05-21 H.J. Lu - - * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file. - -2012-05-21 Roland McGrath - - * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)] - (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and - __alignof__ (long double). - -2012-05-21 Adhemerval Zanella - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - -2012-05-20 Richard Henderson - - * misc/getauxval.c: New file. - * misc/sys/auxv.h: New file. - * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h. - (routines): Add getauxval. - * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval. - * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv. - * elf/dl-sysdep.c (_dl_auxv): Remove. - (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv. - * elf/dl-support.c (_dl_auxv): New variable. - (_dl_aux_init): Initialize it. - * manual/startup.texi (Auxiliary Vector): New node. - * sysdeps/generic/bits/hwcap.h: New file. - * sysdeps/powerpc/bits/hwcap.h: New file, split out from ... - * sysdeps/powerpc/sysdep.h: ... here. Include it. - * sysdeps/sparc/bits/hwcap.h: New file, split out from ... - * sysdeps/sparc/sysdep.h: ... here. Include it. - * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file. - * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist: - Update. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update. - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update. - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update. - * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update. - * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update. - * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update. - * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update. - * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update. - -2012-05-19 Adhemerval Zanella - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - -2012-05-19 David S. Miller - - * sysdeps/sparc/fpu/libm-test-ulps: Update. - -2012-05-19 Joseph Myers - - [BZ #14123] - * math/s_ccosh.c: Include - (__ccosh): Avoid internal overflow calculating sinh and cosh - values before multiplying by sin and cos values. - * math/s_ccoshf.c: Likewise. - * math/s_ccoshl.c: Likewise. - * math/s_csin.c: Likewise. - * math/s_csinf.c: Likewise. - * math/s_csinl.c: Likewise. - * math/s_csinh.c: Likewise. - * math/s_csinhf.c: Likewise. - * math/s_csinhl.c: Likewise. - * math/libm-test.inc (ccos_test): Add more tests. - (ccosh_test): Likewise. - (csin_test): Likewise. - (csinh_test): Likewise. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2012-05-19 H.J. Lu - - * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise. - - * sysdeps/x86_64/x32/_itoa.h: Add comment. - -2012-05-19 Joseph Myers - - * sysdeps/powerpc/soft-fp/Makefile: Remove file. - * sysdeps/powerpc/soft-fp/Subdirs: Likewise. - * sysdeps/powerpc/soft-fp/Versions: Likewise. - * sysdeps/powerpc/soft-fp/q_add.c: Likewise. - * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise. - * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise. - * sysdeps/powerpc/soft-fp/q_div.c: Likewise. - * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise. - * sysdeps/powerpc/soft-fp/q_feq.c: Likewise. - * sysdeps/powerpc/soft-fp/q_fge.c: Likewise. - * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise. - * sysdeps/powerpc/soft-fp/q_fle.c: Likewise. - * sysdeps/powerpc/soft-fp/q_flt.c: Likewise. - * sysdeps/powerpc/soft-fp/q_fne.c: Likewise. - * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise. - * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise. - * sysdeps/powerpc/soft-fp/q_mul.c: Likewise. - * sysdeps/powerpc/soft-fp/q_neg.c: Likewise. - * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise. - * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise. - * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise. - * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise. - * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise. - * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise. - * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise. - * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise. - * sysdeps/powerpc/soft-fp/q_sub.c: Likewise. - * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise. - * sysdeps/powerpc/soft-fp/q_util.c: Likewise. - * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise. - * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise. - -2012-05-18 Andreas Jaeger - - * csu/.gitignore: Delete. - -2012-05-18 H.J. Lu - - * sysdeps/unix/sysv/linux/bits/timex.h: Include . - (timex): Use __syscall_slong_t. - -2012-05-18 Andreas Jaeger - Carlos O'Donell - - * manual/install.texi (Configuring and compiling): Update - description about files modified in the source directory. - * INSTALL: Regenerated. - -2012-05-18 H.J. Lu - - * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return - value. Use "or" to set return value to -1. - * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to - negate return value. - -2012-05-18 Tulio Magno Quites Machado Filho - - * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c) - (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build - failure if the compiler has Graphite support disabled. - * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c): - Likewise. - * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c) - (CFLAGS-memmove.c): Likewise. - * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c): - Likewise. - -2012-05-18 H.J. Lu - - * sysdeps/x86_64/x32/_itoa.h: New file. - - * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use - getdents system call only if kernel and user dirents have the - same d_ino and d_off. - - * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of - LLONG_MAX != LONG_MAX. - (_itoa_word): Use _ITOA_WORD_TYPE on value. - (_fitoa_word): Likewise. - - * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright - years. - * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise. - - * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't - include . Check __x86_64__ instead of - __WORDSIZE. - (sigcontext): Use "__uint64_t" instead of "unsigned long int" - if __x86_64__ is defined. Use anonymous union on fpstate. - - * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use - anonymous union. - -2012-05-18 Andreas Schwab - - * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use - INTUSE on _dl_argv, and _rtld_local instead of _rtld_global. - * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]: - Refer to _rtld_local_ro instead of _rtld_global_ro. - * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]: - Likewise. - * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]: - Likewise. - * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]: - Likewise. - * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise. - * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead - of _rtld_global, and rtld_progname instead of _dl_argv[0]. - - [BZ #10882] - * sysdeps/powerpc/powerpc32/dl-machine.c - (__elf_machine_runtime_setup) [PROF]: Don't reference - _dl_prof_resolve. - -2012-05-18 Andreas Jaeger - - * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline - function only available for GCCs before 3.4 since GCC 3.4 - introduced a builtin. - (lrint): Likewise. - (llrintf): Likewise. - (llrint): Likewise. - (fmaxf): Likewise. - (fmax): Likewise. - (fminf): Likewise. - (fmin): Likewise. - (rint): Likewise. - (rintf): Likewise. - (nearbyint): Likewise. - (nearbyintf): Likewise. - (ceil): Likewise. - (ceilf): Likewise. - (floor): Likewise. - (floorf): Likewise. - -2012-05-17 H.J. Lu - - * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t - on both fields and cast pointer to __syscall_ulong_t. - - * bits/types.h (__fsword_t): New type. - * bits/typesizes.h (__FSWORD_T_TYPE): New macro. - sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise. - * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h - (__FSWORD_T_TYPE): Likewise. - * sysdeps/unix/sysv/linux/s390/bits/typesizes.h - (__FSWORD_T_TYPE): Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h - (__FSWORD_T_TYPE): Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h - (__FSWORD_T_TYPE): Likewise. - * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace - __SWORD_TYPE with __fsword_t. - (statfs64): Likewise. - -2012-05-17 David S. Miller - - * crypt/sha512c-test.c (TIMEOUT): Increase to 32. - -2012-05-17 Andreas Jaeger - - * elf/tst-relsort1.c (do_test): Fix function declaration to avoid - warning. - -2012-05-17 H.J. Lu - - * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long. - -2012-05-17 Andreas Jaeger - - * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only - when it is used. - -2012-05-17 Chris Metcalf - - * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60. - -2012-05-17 H.J. Lu - - * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1. - * sysdeps/x86_64/tst-mallocalign1.c: New file. - -2012-05-17 Andreas Jaeger - Carlos O'Donell - - [BZ #14059] - * sysdeps/x86_64/multiarch/init-arch.h - (bit_YMM_Usable): Rename to... - (bit_AVX_Usable): ... this. - (bit_FMA4_Usable): New macro. - (bit_XMM_state): New macro. - (bit_YMM_state): New macro. - [__ASSEMBLER__] (index_YMM_Usable): Rename to... - [__ASSEMBLER__] (index_AVX_Usable): ... this. - [__ASSEMBLER__] (index_FMA4_Usable): New macro. - (CPUID_OSXSAVE): New macro. - (CPUID_AVX): New macro. - (CPUID_FMA4): New macro. - (index_YMM_Usable): Rename to... - (index_AVX_Usable): ... this. - (HAS_AVX): Use HAS_ARCH_FEATURE. - (HAS_FMA4): Likewise. - (HAS_YMM_USABLE): Remove. - * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): - Enable AVX or FMA4 IFF YMM and XMM states are usable and the features - are present. - * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable. - * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests. - * sysdeps/x86_64/multiarch/Makefile: Likewise. - * sysdeps/i386/i686/multiarch/test-multiarch.c: New file. - * sysdeps/x86_64/multiarch/test-multiarch.c: New file. - -2012-05-17 Chris Metcalf - - * math/libm-test.c: Support platforms without multiple rounding modes. - * math/bug-nextafter.c: Support platforms without FP exceptions. - * math/bug-nexttoward.c: Likewise. - * math/test-fenv.c: Likewise. - * math/test-misc.c: Likewise. - * stdlib/bug-getcontext.c: Likewise. - -2012-05-17 Andreas Jaeger - - * manual/examples/search.c (critter_cmp): Change signature to - avoid warnings. - * manual/string.texi (Collation Functions): Likewise. - -2012-05-16 H.J. Lu - - * bits/types.h: Fold copyright years. - * bits/typesizes.h: Likewise. - * sysdeps/mach/hurd/bits/typesizes.h: Likewise. - * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise. - * time/time.h: Likewise. - -2012-05-16 Paul Pluzhnikov - - [BZ #208] - * malloc.c (int_mallinfo): Add parameter to accumulate statistics - in instead of returning them. Return void. - (__libc_mallinfo): Accumulate over all arenas. - (__malloc_stats): Adjust for change in int_mallinfo interface. - -2012-05-16 Roland McGrath - - [BZ #10375] - * configure.in (NM): Add AC_CHECK_TOOL for it. - (libc_extra_cflags): New substituted variable. - Check for -fstack-protector being used implicitly. - * configure: Regenerated. - * config.make.in (config-extra-cflags): New variable, - gets @libc_extra_cflags@. - * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front. - - [BZ #10375] - * configure.in: Check for _FORTIFY_SOURCE being predefined. - (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed. - * configure: Regenerated. - * config.make.in (CPPUNDEFS): New substituted variable. - * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning. - * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS). - * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime. - -2012-05-16 H.J. Lu - - * sysdeps/unix/sysv/linux/bits/mqueue.h: Include . - (mq_attr): Use __syscall_slong_t. - -2012-05-16 H.J. Lu - - * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4): - Check __x86_64__ instead of __WORDSIZE. - (_STAT_VER_LINUX): Likewise. - (stat): Check __x86_64__ instead of __WORDSIZE. Use - __syscall_ulong_t and __syscall_slong_t. - (stat64): Likewise. - -2012-05-16 H.J. Lu - - * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file. - -2012-05-16 H.J. Lu - - * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file. - -2012-05-16 H.J. Lu - - * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use - __syscall_ulong_t. - - * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't - include . Check __x86_64__ instead of - __WORDSIZE. - (greg_t): Use "__extension__ long long int" if __x86_64__ is - defined. - (mcontext_t): Replace "unsigned long" with "unsigned long long". - - * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't - include . Check __x86_64__ instead of - __WORDSIZE. - (user_regs_struct): Use "__extension__ unsigned long long" - instead of "unsigned long" if __x86_64__ is defined. - (user): Likewise. Pad after pointer field if __ILP32__ is - defined. - -2012-05-16 Joseph Myers - - * configure.in (makeinfo): Require version 4.5 or later. Allow - versions 5 to 9. - * configure: Regenerated. - * manual/install.texi (texinfo): Increase version requirement to - 4.5 or later. - * INSTALL: Regenerated. - - * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L. - -2012-05-16 H.J. Lu - - * sysdeps/x86_64/x32/gmp-mparam.h: New file. - - * sysdeps/x86_64/x32/ffs.c: New file. - - * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use - __syscall_ulong_t. - (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't - defined. Use __syscall_ulong_t. - (shminfo): Use __syscall_ulong_t. - (shm_info): Likewise. - - * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use - __syscall_ulong_t. - - * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include - . - (msgqnum_t): Use __syscall_ulong_t. - (msglen_t): Likewise. - (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use - __syscall_ulong_t. - - * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include - . Check __x86_64__ instead of __WORDSIZE. - - * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file. - - * sysdeps/x86_64/x32/divdi3.c: New dummy file. - * sysdeps/x86_64/x32/symbol-hacks.h: Likewise. - - * sysvipc/sys/msg.h (msgbuf): Replace long int with - __syscall_slong_t. - - * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't - include . Check __x86_64__ instead of - __WORDSIZE. - - * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use - "unsigned long long int" if __x86_64__ is defined. - (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE. - - * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include - . Check __x86_64__ instead of __WORDSIZE. - (DR_CONTROL_RESERVED): Use ULL instead of UL suffix. - - * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include - . - (GET_PC): Cast to uintptr_t first. - (GET_FRAME): Likewise. - (GET_STACK): Likewise. - - * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file. - * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise. - -2012-05-16 Andreas Schwab - - * Makerules (+depfiles): Also collect depfiles from .oS in - $(extra-objs). - * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix - .oS, $(libnldbl-routines)). - - * Makerules (native-compile-mkdep-flags): Define. - * sunrpc/Makefile (extra-objs): Add $(addprefix - cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs). - ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead - of $(compile-mkdep-flags). Depend on $(before-compile) instead of - calling $(make-target-directory). - -2012-05-15 H.J. Lu - - * bits/types.h (__snseconds_t): Removed. - * time/time.h (struct timespec): Replace __snseconds_t with - __syscall_slong_t. - * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed. - * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE): - Likewise. - * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h - (__SNSECONDS_T_TYPE): Likewise. - * sysdeps/unix/sysv/linux/s390/bits/typesizes.h - (__SNSECONDS_T_TYPE): Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h - (__SNSECONDS_T_TYPE): Likewise. - -2012-05-15 H.J. Lu - - * sysdeps/mach/hurd/bits/typesizes.h - (__SYSCALL_SLONG_TYPE): New macro. - (__SYSCALL_ULONG_TYPE): Likewise. - -2012-05-15 H.J. Lu - - * bits/types.h (__syscall_slong_t): New type. - (__syscall_ulong_t): Likewise. - - * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro. - (__SYSCALL_ULONG_TYPE): Likewise. - * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h - (__SYSCALL_SLONG_TYPE): Likewise. - (__SYSCALL_ULONG_TYPE): Likewise. - * sysdeps/unix/sysv/linux/s390/bits/typesizes.h - (__SYSCALL_SLONG_TYPE): Likewise. - (__SYSCALL_ULONG_TYPE): Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h - (__SYSCALL_SLONG_TYPE): Likewise. - (__SYSCALL_ULONG_TYPE): Likewise. - -2012-05-15 H.J. Lu - - * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers): - Add sigaltstack-offsets.sym. - * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include - . - (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on - longjmp_msg pointer. - (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use - R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate - signal stack. - * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New. - -2012-05-15 Joseph Myers - - * elf/stackguard-macros.h: Remove file. - * sysdeps/generic/stackguard-macros.h: New file. - * sysdeps/i386/stackguard-macros.h: Likewise. - * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise. - * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise. - * sysdeps/s390/s390-32/stackguard-macros.h: Likewise. - * sysdeps/s390/s390-64/stackguard-macros.h: Likewise. - * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise. - * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise. - * sysdeps/x86_64/stackguard-macros.h: Likewise. - * nptl/tst-stackguard1.c: Include not - . - - [BZ #14109] - * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use - __aligned__ in attribute. - * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise. - (gregset_t): Likewise. - -2012-05-15 H.J. Lu - - * sysdeps/x86_64/Implies (wordsize-64): Moved to .... - * sysdeps/x86_64/64/Implies-after: Here. New file. - * sysdeps/x86_64/x32/Implies-after: New file. - -2012-05-15 H.J. Lu - - * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments - and access return value for _dl_profile_fixup. Use R10_LP to - load frame size. - -2012-05-15 H.J. Lu - - * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New. - -2012-05-15 H.J. Lu - - * sysdeps/x86_64/sysdep.h: Allowed to be include more than once. - * sysdeps/x86_64/x32/sysdep.h: New file. - -2012-05-15 H.J. Lu - - * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC. - * sysdeps/x86_64/setjmp.S: Likewise. - -2012-05-15 Adhemerval Zanella - - * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file. - * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file. - * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents. - * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also - remove unused global constant. - -2012-05-15 Chris Metcalf - - * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate - include of . - -2012-05-15 Roland McGrath - - * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting. - -2012-05-15 Jeff Law - Andreas Jaeger - - [BZ #13594] - * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split - out from... - * nscd/nscd_helper.c (__nscd_get_map_ref): ... here. - * nscd/nscd-client.h: Add __nscd_acquire_maplock. - * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to - code changing __hst_map_handle.map. - -2012-05-15 Roland McGrath - - * configure.in (sysnames): Look for Implies-before and Implies-after - files. - * configure: Regenerated. - -2012-05-15 H.J. Lu - - * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace - 8-byte data alignment with LP_SIZE alignment. - -2012-05-15 H.J. Lu - - * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID - into R10_LP. - -2012-05-15 H.J. Lu - - * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New. - -2012-05-15 H.J. Lu - - * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file. - * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: - Likewise. - * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise. - -2012-05-15 H.J. Lu - - * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP. - (stackinfo_sub_sp): Likewise. - -2012-05-15 H.J. Lu - - * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into - RAX_LP. - -2012-05-15 H.J. Lu - - * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes - into R*_LP. - -2012-05-15 H.J. Lu - - * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache - sizes into R*_LP. - -2012-05-15 H.J. Lu - - * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP. - -2012-05-15 H.J. Lu - - * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half - into R11_LP and load __x86_64_shared_cache_size_half into - R8_LP. - -2012-05-15 H.J. Lu - - * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into - R8_LP. - -2012-05-15 Adhemerval Zanella - - * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized - logb for POWER7. - * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized - logbf for POWER7. - * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized - logbl for POWER7. - * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use - powerpc32/power7/fpu/s_logb.c via #include. - * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use - powerpc32/power7/fpu/s_logbf.c via #include. - * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use - powerpc32/power7/fpu/s_logbl.c via #include. - -2012-05-15 Joseph Myers - - * README.libm: Remove file. - -2012-05-14 H.J. Lu - - * sysdeps/x86_64/start.S: Simulate popping 4-byte argument - count for x32. Use R*_LP and omit operand-size suffix. - -2012-05-14 H.J. Lu - - * shlib-versions: Move x86_64-.*-linux.* entries to ... - * sysdeps/x86_64/64/shlib-versions: Here. New file. - * sysdeps/x86_64/x32/shlib-versions: New file. - -2012-05-14 Roland McGrath - - * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed. - * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]: - Use _dl_fatal_printf instead. - -2012-05-14 Joseph Myers - - * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always - set if not set by the user. Do not allow for being unset. - * sysdeps/unix/sysv/linux/configure: Regenerated. - -2012-05-14 H.J. Lu - - * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove - the `q' suffix from lea and replace .quad with ASM_ADDR. - -2012-05-14 H.J. Lu - - * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove - the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1 - instead of $17. - (PTR_DEMANGLE): Likewise. - -2012-05-14 H.J. Lu - - * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro. - (LP_OP): Likewise. - (ASM_ADDR): Likewise. - (RAX_LP): Likewise. - (RBP_LP): Likewise. - (RBX_LP): Likewise. - (RCX_LP): Likewise. - (RDI_LP): Likewise. - (RSI_LP): Likewise. - (RSP_LP): Likewise. - (R8_LP): Likewise. - (R9_LP): Likewise. - (R10_LP): Likewise. - (R10_LP): Likewise. - (R11_LP): Likewise. - (R12_LP): Likewise. - (R13_LP): Likewise. - (R14_LP): Likewise. - (R15_LP): Likewise. - -2012-05-14 H.J. Lu - - * sysdeps/x86_64/x32/dl-machine.h: New file. - -2012-05-14 Andreas Jaeger - - * manual/Makefile (subdir): Remove export of subdir. - (all): Remove target. - (.PHONY): Remove all from list. - (mkinstalldirs): Remove. - (.PHONY): Remove installdirs from list. - ($(inst_infodir)/libc.info): Use make-target-directory. - (installdirs): Remove. - (subdir_%): Remove. - (glibc-targets): Remove. - (lib): Remove. - (stubs): Remove. - ($(objpfx)stubs ../po/manual.pot): Remove. - ($(objpfx)stamp%): Remove. - (make-target-directory): Remove. - (subdir_install): Remove. - (routines): Remove. - (aux): Remove. - (sources): Remove. - (objects): Remove. - (headers): Remove. - - [BZ #13750] - * manual/.gitignore: Remove, it's not needed anymore. - * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create - all files in it. - * manual/Makefile (dvi, pdf, info, html): Depend on files in build - directory. - (texis): Renamed to $(objpfx)texis. - (texis-path): New, contains path to generated files. - (chapters.%): Use texis-path for complete path, add extra argument - libc-texinfo.sh. - (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix. - (libc/index.html, summary.texi): Add $(objpfx) as prefix. - (summary,texi, stamp-summary): Use complete path of - files. Generate files in build dir. - (dir-add.texi): Build in build dir. - (libm-err.texi,stamp-libm-err): Likewise. - (version.texi, stamp-version): Likewise. - (.%c.texi): Likewise. - (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir. - (mostlyclean): Remove target. - (realclean): Remove target. - (generated): Add new variable with contents from mostlyclean and - realclean, remove entries duplicated in common-mostlyclean, add - stamp-libm-err and stamp-version. - (generated-dirs): Add libc directory. - ($(inst_infodir)/libc.info): Install files from build dir. - - * manual/install.texi (Configuring and compiling): Adjust since - the info files are not part of the tar ball anymore. - -2012-05-14 Andreas Jaeger - - * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused - variable. - -2012-05-14 Joseph Myers - - [BZ #13717] - * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set - to 2.2.0 where earlier. - * sysdeps/unix/sysv/linux/configure: Regenerated. - * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]: - Remove conditional code. - [__ASSUME_GETCWD_SYSCALL]: Make code unconditional. - * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]: - Remove conditional code. - [!__NR_lchown]: Likewise. - [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional. - [__NR_lchown]: Likewise. - * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove - comment referencing __ASSUME_LCHOWN_SYSCALL. - * sysdeps/unix/sysv/linux/i386/sigaction.c - [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code. - [__ASSUME_REALTIME_SIGNALS]: Make code unconditional. - * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]: - Remove conditional code. - [__ASSUME_SIOCGIFNAME ]: Make code unconditional. - (__protocol_available): Remove #if 0 code. - * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove - conditional code. - [__ASSUME_SIOCGIFNAME]: Make code unconditional. - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_GETCWD_SYSCALL): Don't define. - (__ASSUME_REALTIME_SIGNALS): Likewise. - (__ASSUME_PREAD_SYSCALL): Likewise. - (__ASSUME_PWRITE_SYSCALL): Likewise. - (__ASSUME_POLL_SYSCALL): Likewise. - (__ASSUME_LCHOWN_SYSCALL): Likewise. - (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for - non-SPARC. - (__ASSUME_SIOCGIFNAME): Don't define. - (__ASSUME_MSG_NOSIGNAL): Likewise. - (__ASSUME_SENDFILE): Define unconditionally. - (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define. - * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove - conditional code. - [__ASSUME_POLL_SYSCALL]: Make code unconditional. - * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown) - [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code. - (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional. - * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat) - [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code. - (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c - [!__ASSUME_PREAD_SYSCALL]: Remove conditional code. - [__ASSUME_PREAD_SYSCALL]: Make code unconditional. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c - [!__ASSUME_PREAD_SYSCALL]: Remove conditional code. - [__ASSUME_PREAD_SYSCALL]: Make code unconditional. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c - [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code. - [__ASSUME_PWRITE_SYSCALL]: Make code unconditional. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c - [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code. - [__ASSUME_PWRITE_SYSCALL]: Make code unconditional. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c - [!__ASSUME_PREAD_SYSCALL]: Remove conditional code. - [__ASSUME_PREAD_SYSCALL]: Make code unconditional. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c - [!__ASSUME_PREAD_SYSCALL]: Remove conditional code. - [__ASSUME_PREAD_SYSCALL]: Make code unconditional. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c - [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code. - [__ASSUME_PWRITE_SYSCALL]: Make code unconditional. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c - [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code. - [__ASSUME_PWRITE_SYSCALL]: Make code unconditional. - * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]: - Remove conditional code. - [__ASSUME_PREAD_SYSCALL]: Make code unconditional. - * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]: - Remove conditional code. - [__ASSUME_PREAD_SYSCALL]: Make code unconditional. - * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal) - [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code. - * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]: - Remove conditional code. - [__ASSUME_PWRITE_SYSCALL]: Make code unconditional. - * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]: - Remove conditional code. - [__ASSUME_PWRITE_SYSCALL]: Make code unconditional. - * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]: - Remove conditional code. - [__ASSUME_PREAD_SYSCALL]: Make code unconditional. - * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]: - Remove conditional code. - [__ASSUME_PREAD_SYSCALL]: Make code unconditional. - * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]: - Remove conditional code. - [__ASSUME_PWRITE_SYSCALL]: Make code unconditional. - * sysdeps/unix/sysv/linux/sh/pwrite64.c - [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code. - [__ASSUME_PWRITE_SYSCALL]: Make code unconditional. - * sysdeps/unix/sysv/linux/sigaction.c - [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code. - [__ASSUME_REALTIME_SIGNALS]: Make code unconditional. - * sysdeps/unix/sysv/linux/sigpending.c - [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code. - [__ASSUME_REALTIME_SIGNALS]: Make code unconditional. - * sysdeps/unix/sysv/linux/sigprocmask.c - [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code. - [__ASSUME_REALTIME_SIGNALS]: Make code unconditional. - * sysdeps/unix/sysv/linux/sigsuspend.c - [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code. - [__ASSUME_REALTIME_SIGNALS]: Make code unconditional. - * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c - (__libc_missing_rt_sigs): Remove. - (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional. - (__libc_sigaction): Do not handle ENOSYS from rt_sigaction. - * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]: - Remove conditional code. - [__ASSUME_MSG_NOSIGNAL]: Make code unconditional. - * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always - return 1. - * sysdeps/unix/sysv/linux/ttyname.c (ttyname) - [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code. - * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r) - [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise. - -2012-05-14 Andreas Jaeger - - * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove, - it's not used in glibc. - (__coshm1): Likewise. - (__acosh1p): Likewise. - (__sgn): Likewise. - - * manual/string.texi (Copying and Concatenation): Add missing - variable in concat example. - Reported by David C. Rankin . - -2012-05-14 H.J. Lu - - [BZ #14103] - * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace - __builtin_clzl with __builtin_clzll. - -2012-05-14 H.J. Lu - - [BZ #14104] - * sysdeps/unix/sysv/linux/check_pf.c (cache): Use - libc_freeres_ptr. - -2012-05-14 Liubov Dmitrieva - - * sysdeps/i386/i686/fpu/multiarch/Makefile: New file. - * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file. - * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file. - * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file. - -2012-05-14 Mike Frysinger - - * NEWS: Update ia64 info. - -2012-05-12 Andreas Schwab - - * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if - used as bcopy. - -2012-05-12 Thomas Schwinge - - * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3. - * sysdeps/unix/syscalls.list (dup3): Likewise. - * libio/freopen.c (freopen): Invoke __dup3 instead of dup3. - * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3. - -2012-05-11 H.J. Lu - - * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use - "%c1" with "i" (offsetof (tcbhead_t, stack_guard)). - -2012-05-11 H.J. Lu - - * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load - thread pointer. - (TLS_IE): Use mov/add instead of movq/addq to load thread - pointer. - (TLS_GD_PREFIX): New. - (TLS_GD): Use it. - -2012-05-11 David S. Miller - - * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__. - * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise. - (_FPU_SETCW): Likewise. - -2012-05-10 H.J. Lu - - * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE - is 32-byte aligned. - -2012-05-11 Andreas Schwab - - [BZ #11837] - * iconvdata/gb18030.c: Update tables. - (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP - characters specially. - (BODY for TO_LOOP): Add encoding of missing ranges. - -2012-05-11 Thomas Schwinge - - [BZ #13673] - * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL. - * sysdeps/mach/hurd/dup3.c: Likewise. - * sysdeps/mach/hurd/readlinkat.c: Likewise. - * sysdeps/powerpc/memmove.c:: Likewise. - -2012-05-10 H.J. Lu - - * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle - R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined. - -2012-05-10 H.J. Lu - - * elf/elf.h (R_X86_64_RELATIVE64): New. - (R_X86_64_NUM): Updated. - * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle - R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64. - (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64. - * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2 - tst-quad1pie tst-quad2pie - (modules-names): Add tst-quadmod1 tst-quadmod2. - ($(objpfx)tst-quad1): New dependency. - ($(objpfx)tst-quad2): Likewise. - ($(objpfx)tst-quad1pie): Likewise. - ($(objpfx)tst-quad2pie): Likewise. - * sysdeps/x86_64/tst-quad1.c: New file. - * sysdeps/x86_64/tst-quad1pie.c: New file. - * sysdeps/x86_64/tst-quad2.c: Likewise. - * sysdeps/x86_64/tst-quad2pie.c: Likewise. - * sysdeps/x86_64/tst-quadmod1.S: Likewise. - * sysdeps/x86_64/tst-quadmod1pie.S: Likewise. - * sysdeps/x86_64/tst-quadmod2.S: Likewise. - * sysdeps/x86_64/tst-quadmod2pie.S: Likewise. - -2012-05-10 Samuel Thibault - - * io/fcntl.h (mode_t, off_t, pid_t): Define types. - (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros. - * streams/stropts.h (t_scalar_t): Define type. - - * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man" - (_PATH_PRESERVE): Set to "/var/lib". - (_PATH_RWHODIR): Set to "/var/spool/rwho". - - * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t - instead of int. - - * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only - if __dir_mkfile succeeded. - - * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before - checking for _hurd_dtablesize. Unlock it right after having - finished _hurd_dtable allocation. - -2012-05-10 Thomas Schwinge - - * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...]. - * sysdeps/mach/hurd/configure: Regenerated. - * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr - special-casing to... - * sysdeps/gnu/configure.in: ... this new file. - * sysdeps/unix/sysv/linux/configure: Regenerated. - * sysdeps/gnu/configure: New generated file. - - * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done - for Linux: use nsec instead of usec, as well as: - [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New - members of type struct timespec. - [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime): - New macros. - (struct stat64): Likewise. - (_STATBUF_ST_NSEC): New macro. - * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that. - - * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use - __strtoul_internal rather than strtoul. - -2012-05-10 Pino Toscano - - * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains, - and reject them. - -2012-05-10 Samuel Thibault - - * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case, - which preserves existing values. - * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise. - -2012-05-10 Pino Toscano - - * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative - TIMEOUT values. Return EINVAL for NFDS values either negative or - greater than FD_SETSIZE. - -2012-05-10 Samuel Thibault - - * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be - allocated, call __vm_protect to finish enabling the existing space, and - pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to - allocate the remainder. - -2012-05-10 Pino Toscano - - * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null - address port. Set ADDR_LEN to 0 when not filling ADDRARG. - -2012-05-10 Samuel Thibault - - * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from - sysdeps/mach/hurd/readlink.c. - - * posix/tst-sysconf.c (posix_options): Only use - _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and - _POSIX_SYNCHRONIZED_IO when they are defined - * sysdeps/mach/hurd/bits/posix_opt.h: - (_POSIX_PRIORITY_SCHEDULING): Undefine macro. - (_XOPEN_REALTIME): Undefine macro. - (_XOPEN_REALTIME_THREADS): Undefine macro. - (_XOPEN_SHM): Undefine macro. - [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define - macro to -1. - [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define - macro to -1. - (_POSIX_ASYNC_IO): Undefine macro. - (_POSIX_PRIORITIZED_IO): Undefine macro. - (_POSIX_SPIN_LOCKS): Define macro to -1. - - * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART, - SA_NODEFER, SA_RESETHAND. - * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define - O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN, - F_DUPFD_CLOEXEC. - -2012-05-10 Thomas Schwinge - - * elf/Makefile (pldd-modules): Define unconditionally. - -2012-05-10 Thomas Schwinge - - * sysdeps/mach/hurd/opendir.c (__opendirat): New function. - -2012-05-10 Samuel Thibault - - * hurd/hurdchdir.c (_hurd_change_directory_port_from_name): - Return ENOENT when name is empty. - * sysdeps/mach/hurd/chroot.c (chroot): Likewise. - -2012-05-10 Thomas Schwinge - - * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro. - - * nss/makedb.c (MAP_POPULATE): If not defined, define to zero. - -2012-05-10 Samuel Thibault - - Fix mlock in all cases except non-readable pages. - * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ - instead of VM_PROT_ALL as parameter to __vm_wire function. - - * sysdeps/mach/hurd/mkdir.c: Include . - (__mkdir): When path is `/', just fail with EEXIST. - * sysdeps/mach/hurd/mkdirat.c: Likewise. - -2012-05-10 Thomas Schwinge - - * nss/makedb.c: Include (for MAX and roundup), and - (for writev). - * nss/nss_db/db-initgroups.c: Include (for ULONG_MAX), - and (for MIN). - -2012-05-10 Pino Toscano - - * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of - REQUESTED_TIME. Properly set the remaining time and return EINTR - if interrupted. - -2012-05-10 Thomas Schwinge - - * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so): - Depend on against $(link-rpcuserlibs). - -2012-05-10 Samuel Thibault - - * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO] - (__libc_stack_end): Do not use attribute_relro. - * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define. - * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end - to libthread-provided value. - * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use - attribute_relro. - -2012-05-10 Thomas Schwinge - - [BZ #3748] - * bits/libc-lock.h (__libc_once_get): New macro. - * sysdeps/mach/bits/libc-lock.h: Likewise. - * sysdeps/mach/hurd/bits/libc-lock.h: Likewise. - * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get - instead of using implementation details. - - * libio/fileops.c: Unconditionally include . - * libio/freopen.c: Likewise. - * libio/freopen64.c: Likewise. - * misc/syslog.c: Likewise. - * nscd/connections.c: Likewise. - * nscd/netgroupcache.c: Likewise. - * sysdeps/posix/getcwd.c: Likewise. - -2012-05-10 Roland McGrath - - * math/w_ilogbf.c: Add #include . - -2012-05-10 Samuel Thibault - - * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit - path instead of returning without unlocking. - - * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for - immediate-write ioctls. - * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments. - -2012-05-10 Thomas Schwinge - - * sysdeps/mach/hurd/i386/init-first.c (init): Use - __builtin_frame_address instead of making assumptions about the - location of the return address relative to DATA. Force early load of - the return address. - (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use - __builtin_frame_address. - - dup3 for GNU Hurd. - * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it. - * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to - implement dup3 and do some further code clean-ups. - * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3. - * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define. - -2012-05-10 Samuel Thibault - - * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED]. - - * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/ - HURD_CRITICAL_END around holding _hurd_dtable_lock. - * sysdeps/mach/hurd/dirfd (dirfd): Likewise. - * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call - HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding - d->port.lock. - - * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp - instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp - when handler == SIG_ERR, not when handler != SIG_ERR. - -2012-05-10 Thomas Schwinge - - * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one. - (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New - definitions. - - accept4 for GNU Hurd. - * include/sys/socket.h (__libc_accept4): New prototype. - * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it - to implement __libc_accept4. - * sysdeps/mach/hurd/accept.c (accept): Reimplement using - __libc_accept4. - * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define. - - * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file. - * sysdeps/mach/hurd/i386/signal-defines.sym: New file. - * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add - signal-defines.sym. - -2012-05-10 Samuel Thibault - - * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros. - -2012-05-10 Thomas Schwinge - - * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise - assertion on O_CLOEXEC flag. - * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC. - * hurd/intern-fd.c: Likewise. - * hurd/port2fd.c: Likewise. - -2012-05-10 Samuel Thibault - - [BZ #3906] - * bits/in.h (IPV6_PKTINFO): Define new macro. - (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO. - -2012-05-09 Adhemerval Zanella - - [BZ #13954] - [BZ #13955] - [BZ #13956] - * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number. - * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise. - * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise. - * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise. - * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise. - * math/libm-test.inc (logb_test) : Additional logb tests. - -2012-05-09 Andreas Schwab - Andreas Jaeger - - * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc. - * configure: Regenerated. - * config.h.in (LINK_OBSOLETE_RPC): New macro. - * config.make.in (link-obsolete-rpc): New substituted variable. - * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from - libc_hidden_nolink and define based on LINK_OBSOLETE_RPC. - * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers. - (shared-only-routines): Don't set it under [link-obsolete-rpc], - so that libc.a contains the symbols. - * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers. - * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc. - * sunrpc/auth_none.c: Likewise. - * sunrpc/auth_unix.c: Likewise. - * sunrpc/authdes_prot.c: Likewise. - * sunrpc/authuxprot.c: Likewise. - * sunrpc/clnt_gen.c: Likewise. - * sunrpc/clnt_perr.c: Likewise. - * sunrpc/clnt_raw.c: Likewise. - * sunrpc/clnt_simp.c: Likewise. - * sunrpc/clnt_tcp.c: Likewise. - * sunrpc/clnt_udp.c: Likewise. - * sunrpc/clnt_unix.c: Likewise. - * sunrpc/des_crypt.c: Likewise. - * sunrpc/des_soft.c: Likewise. - * sunrpc/get_myaddr.c: Likewise. - * sunrpc/key_call.c: Likewise. - * sunrpc/key_prot.c: Likewise. - * sunrpc/netname.c: Likewise. - * sunrpc/pm_getmaps.c: Likewise. - * sunrpc/pm_getport.c: Likewise. - * sunrpc/pmap_clnt.c: Likewise. - * sunrpc/pmap_prot.c: Likewise. - * sunrpc/pmap_prot2.c: Likewise. - * sunrpc/pmap_rmt.c: Likewise. - * sunrpc/publickey.c: Likewise. - * sunrpc/rpc_cmsg.c: Likewise. - * sunrpc/rpc_common.c: Likewise. - * sunrpc/rpc_dtable.c: Likewise. - * sunrpc/rpc_prot.c: Likewise. - * sunrpc/rpc_thread.c: Likewise. - * sunrpc/rtime.c: Likewise. - * sunrpc/svc.c: Likewise. - * sunrpc/svc_auth.c: Likewise. - * sunrpc/svc_raw.c: Likewise. - * sunrpc/svc_run.c: Likewise. - * sunrpc/svc_tcp.c: Likewise. - * sunrpc/svc_udp.c: Likewise. - * sunrpc/svc_unix.c: Likewise. - * sunrpc/svcauth_des.c: Likewise. - * sunrpc/xcrypt.c: Likewise. - * sunrpc/xdr.c: Likewise. - * sunrpc/xdr_array.c: Likewise. - * sunrpc/xdr_float.c: Likewise. - * sunrpc/xdr_intXX_t.c: Likewise. - * sunrpc/xdr_mem.c: Likewise. - * sunrpc/xdr_rec.c: Likewise. - * sunrpc/xdr_ref.c: Likewise. - * sunrpc/xdr_sizeof.c: Likewise. - * sunrpc/xdr_stdio.c: Likewise. - -2012-05-10 Roland McGrath - - * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last - change. Update copyright years. - -2012-05-10 Joseph Myers - - * include/stdc-predef.h (__STDC_NO_THREADS__): Define. - -2012-05-10 Maxim Kuvyrkov - Joseph Myers - Paul Pluzhnikov - - [BZ #14012] - * sunrpc/Makefile [cross-compiling] (headers): Enable additions - requiring rpcgen. - [cross-compiling] (extra-libs): Likewise. - [cross-compiling] (extra-libs-others): Likewise. - [cross-compiling] (librpcsvc-routines): Likewise. - [cross-compiling] (librpcsvc-inhibit-o): Likewise. - [cross-compiling] (omit-deps): Likewise. - (sunrpc-CPPFLAGS): New variable. - (CPPFLAGS): Define using $(sunrpc-CPPFLAGS). - (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS). - (cross-rpcgen-objs): New variable. - (extra-objs): Append $(cross-rpcgen-objs). - ($(cross-rpcgen-objs)): New rule. - ($(objpfx)cross-rpcgen): Likewise. - (rpcgen-cmd): Define to use $(built-program-file). Expand - comment. - ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen. - ($(objpfx)x%.stmp): Likewise. - * sunrpc/proto.h [IS_IN_build] (_): Define. - [IS_IN_build] (_libc_intl_domainname): Likewise. - -2012-05-10 H.J. Lu - - * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]: - Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64 - and R_X86_64_TPOFF64. - -2012-05-10 Joseph Myers - - * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from - sysdeps/unix/sysv/syscalls.list. - (stime): Likewise. - (utime): Likewise. - * sysdeps/unix/sysv/syscalls.list: Remove file. - -2012-05-10 Paul Eggert - - [BZ #3440] - * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME) - (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER) - (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT) - (__LC_IDENTIFICATION): Make these macros useful in #if - expressions, as required by C99. - -2012-05-10 Andreas Schwab - - * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add - $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules - after this. - -2012-05-09 H.J. Lu - - * stdlib/longlong.h: Updated from GCC. - -2012-05-09 Andreas Jaeger - - * nscd/nscd.c (run_modes): Make named enum, reorder so that - default is first entry. - (run_mode): Set type. - (main): Remove informal message about syslog. - (options): Fix typo. - - [BZ #14053] - * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile - to asm. - (lrint): Likewise. - (llrintf): Likewise. - (llrint): Likewise. - (rint): Likewise. - (rintf): Likewise. - (nearbyint): Likewise. - (nearbyintf): Likewise. - -2012-05-09 Andreas Jaeger - Pedro Alves - - * nscd/nscd.c (run_mode): Use enum. - (main): Cleanup coding style issue. - -2012-05-09 Alexandre Oliva - Andreas Jaeger - - * nscd/nscd.c (go_background): Replaced with... - (run_mode): ... this. - (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add. - (options): Add -F --foreground. - (main): Implement it. - (parse_opt): Parse it. - -2012-05-09 Andreas Jaeger - - [BZ #14083] - * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) && - !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid - -Wconversion warning. - (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]: - Likewise. - -2012-05-09 Joseph Myers - - * conform/data/locale.h-data (NULL): Use macro-constant. Require - == 0. - (LC_ALL): Use macro-int-constant. - (LC_COLLATE): Likewise. - (LC_CTYPE): Likewise. - (LC_MESSAGES): Likewise. - (LC_MONETARY): Likewise. - (LC_NUMERIC): Likewise. - (LC_TIME): Likewise. - [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require. - (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*. - [ISO || ISO99 || ISO11] (*_t): Do not allow. - * conform/data/math.h-data (HUGE_VAL): Use macro-constant. - Specify type. - [C99-based standards] (float_t): Expect type. - [C99-based standards] (double_t): Expect type. - [C99-based standards] (HUGE_VALF): Use macro-constant. Specify - type. - [C99-based standards] (HUGE_VALL): Likewise. - [C99-based standards] (INFINITY): Likewise. - [C99-based standards] (NAN): Likewise. - [C99-based standards] (FP_INFINITE): Use macro-int-constant. - [C99-based standards] (FP_NAN): Likewise. - [C99-based standards] (FP_NORMAL): Likewise. - [C99-based standards] (FP_SUBNORMAL): Likewise. - [C99-based standards] (FP_ZERO): Likewise. - [C99-based standards] (FP_FAST_FMA): Use - optional-macro-int-constant. Specify type. Require == 1. - [C99-based standards] (FP_FAST_FMAF): Likewise. - [C99-based standards] (FP_FAST_FMAL): Likewise. - [C99-based standards] (FP_ILOGB0): Use macro-int-constant. - [C99-based standards] (FP_ILOGBNAN): Likewise. - [C99-based standards] (MATH_ERRNO): Use macro-int-constant. - Specify type. - [C99-based standards] (MATH_ERREXCEPT): Likewise. - [C99-based standards] (math_errhandling): Specify type. - [ISO99 || ISO11] (signgam): Do not allow. - [non-C99-based standards] (copysignf): Do not allow. - [non-C99-based standards] (exp2f): Likewise. - [non-C99-based standards] (log2f): Likewise. - [non-C99-based standards] (modff): Allow. - [non-C99-based standards] (erff): Do not allow. - [non-C99-based standards] (erfcf): Likewise. - [non-C99-based standards] (gammaf): Likewise. - [non-C99-based standards] (hypotf): Likewise. - [non-C99-based standards] (j0f): Likewise. - [non-C99-based standards] (j1f): Likewise. - [non-C99-based standards] (jnf): Likewise. - [non-C99-based standards] (lgammaf): Likewise. - [non-C99-based standards] (tgammaf): Likewise. - [non-C99-based standards] (y0f): Likewise. - [non-C99-based standards] (y1f): Likewise. - [non-C99-based standards] (ynf): Likewise. - [non-C99-based standards] (isnanf): Likewise. - [non-C99-based standards] (acoshf): Likewise. - [non-C99-based standards] (asinhf): Likewise. - [non-C99-based standards] (atanhf): Likewise. - [non-C99-based standards] (cbrtf): Likewise. - [non-C99-based standards] (expm1f): Likewise. - [non-C99-based standards] (ilogbf): Likewise. - [non-C99-based standards] (log1pf): Likewise. - [non-C99-based standards] (logbf): Likewise. - [non-C99-based standards] (nextafterf): Likewise. - [non-C99-based standards] (remainderf): Likewise. - [non-C99-based standards] (rintf): Likewise. - [non-C99-based standards] (scalbf): Likewise. - [non-C99-based standards] (copysignl): Likewise. - [non-C99-based standards] (exp2l): Likewise. - [non-C99-based standards] (log2l): Likewise. - [non-C99-based standards] (modfl): Allow. - [non-C99-based standards] (erfl): Do not allow. - [non-C99-based standards] (erfcl): Likewise. - [non-C99-based standards] (gammal): Likewise. - [non-C99-based standards] (hypotl): Likewise. - [non-C99-based standards] (j0l): Likewise. - [non-C99-based standards] (j1l): Likewise. - [non-C99-based standards] (jnl): Likewise. - [non-C99-based standards] (lgammal): Likewise. - [non-C99-based standards] (tgammal): Likewise. - [non-C99-based standards] (y0l): Likewise. - [non-C99-based standards] (y1l): Likewise. - [non-C99-based standards] (ynl): Likewise. - [non-C99-based standards] (isnanl): Likewise. - [non-C99-based standards] (acoshl): Likewise. - [non-C99-based standards] (asinhl): Likewise. - [non-C99-based standards] (atanhl): Likewise. - [non-C99-based standards] (cbrtl): Likewise. - [non-C99-based standards] (expm1l): Likewise. - [non-C99-based standards] (ilogbl): Likewise. - [non-C99-based standards] (log1pl): Likewise. - [non-C99-based standards] (logbl): Likewise. - [non-C99-based standards] (nextafterl): Likewise. - [non-C99-based standards] (remainderl): Likewise. - [non-C99-based standards] (rintl): Likewise. - [non-C99-based standards] (scalbl): Likewise. - [ISO || ISO99 || ISO11] (*_t): Do not allow. - [non-C99-based standards] (FP_*): Do not allow. - [C99-based standards] (FP_*): Change to - FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*. - * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not - allow. - * conform/data/signal.h-data (SIG_DFL): Use macro-constant. - (SIG_ERR): Likewise. - [X/Open-based standards] (SIG_HOLD): Likewise. - (SIG_IGN): Likewise. - (SIGABRT): Use macro-int-constant. Specify type. Require - positive value. - (SIGFPE): Likewise. - (SIGILL): Likewise. - (SIGINT): Likewise. - (SIGSEGV): Likewise. - (SIGTER): Likewise. - [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise. - [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise. - [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise. - [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise. - [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise. - [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise. - [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise. - [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise. - [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise. - [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise. - [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise. - [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise. - [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise. - [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise. - [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise. - [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise. - [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise. - [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise. - [X/Open-based standards] (SIGTRAP): Likewise. - [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise. - [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise. - [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise. - [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise. - * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not - allow. - -2012-05-08 Ian Wienand - - [BZ #14080] - * time/tzset.c (__tzset_parse_tz): Update default rules for - daylight time changes in the Energy Policy Act of 2005. - -2012-05-09 Andreas Jaeger - - [BZ #13983] - * elf/ldconfig.c (parse_conf): Change string to make clear that - ldconfig only issued a warning if ld.so.conf does not exist. - -2012-05-08 David S. Miller - - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use - movxtod instead of popping the value on the stack. - - * sysdeps/sparc/fpu/libm-test-ulps: Update. - -2012-05-08 Carlos O'Donell - - * config.h.in: Add HAVE_ARM_PCS_VFP. - -2012-05-08 Roland Mc Grath - - [BZ #13979] - * include/features.h: Warn if user requests __FORTIFY_SOURCE - checking but the checks are disabled for any reason. - -2012-05-08 H.J. Lu - - * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX) - and ELF64_R_TYPE with ELFW(R_TYPE). - -2012-05-08 Joseph Myers - - * sysdeps/unix/sysv/syscalls.list (pause): Remove. - (ulimit): Likewise. - - * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove. - (settimeofday): Likewise. - -2012-05-08 Mike Frysinger - - * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add - a struct th_u2 inside the union, and move tu_block/tu_code into - a new th_u3 union of tu_block/tu_code inside of that. Move - th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to - tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same. - (th_block): Change to th_u1.th_u2.th_u3.tu_block. - (th_code): Change to th_u1.th_u2.th_u3.tu_code. - (th_stuff): Change to th_u1.tu_stuff. - (th_data): Define. - (th_msg): Change to th_u1.th_u2.tu_data. - -2012-05-07 David S. Miller - - * sysdeps/sparc/fpu/libm-test-ulps: Update. - - [BZ #14074] - * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro. - (SETUP_PIC_REG): Use it. - (SETUP_PIC_REG_LEAF): Use it. - -2012-05-07 Joseph Myers - - [BZ #13885] - [BZ #13923] - * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on - USE_AS_EXPM1L. - (EXPL_FINITE): Likewise. - (FLDLOG): Likewise. - (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l. - * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include - e_expl.S. - * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on - USE_AS_EXPM1L. - (EXPL_FINITE): Likewise. - (FLDLOG): Likewise. - (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l. - * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include - e_expl.S. - * math/libm-test.inc (expm1_test): Add more tests. Do not disable - test of -max_value argument for long double. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2012-05-06 David S. Miller - - * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to - quad soft-float symbols whose references which are compiler - generated. - * scripts/data/localplt-sparc64-linux-gnu.data: Likewise. - -2012-05-06 Joseph Myers - - [BZ #13884] - [BZ #13914] - * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on - USE_AS_EXP10L. - (EXPL_FINITE): Likewise. - (FLDLOG): Likewise. - (c0): Likewise. - (c1): Likewise. - (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro. - Adjust comments for base varying. - (__expl_finite): Change alias to EXPL_FINITE. - * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include - e_expl.S. - * sysdeps/ieee754/dbl-64/e_exp10.c: New file. - * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise. - * sysdeps/x86_64/fpu/e_exp10l.S: Likewise. - * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on - USE_AS_EXP10L. - (EXPL_FINITE): Likewise. - (FLDLOG): Likewise. - (c0): Likewise. - (c1): Likewise. - (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro. - Adjust comments for base varying. - (__expl_finite): Change alias to EXPL_FINITE. - * math/libm-test.inc (exp10_test): Add more tests. Do not disable - tests for bugs. - * sysdeps/x86_64/fpu/libm-test-ulps: Update. - - [BZ #14064] - * math/libm-test.inc (check_float_internal): Correct ulp - calculation for subnormal expected results. - -2012-05-06 Andreas Jaeger - - * Makeconfig (+math-flags): New, set to -frounding-math. - (+cflags): Add +math-flags so that all of glibc gets compiled with - it. - - * sysdeps/x86_64/fpu/libm-test-ulps: Updated. - -2012-05-05 Joseph Myers - - * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]: - Disable one test. - - [BZ #13787] - [BZ #13922] - [BZ #14036] - * sysdeps/i386/fpu/e_expl.S (csat): New constant. - (__ieee754_expl): Allow for and saturate large arguments. - * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable. - (u_threshold): Likewise. - (__exp): Call __ieee754_exp before checking for overflow and - underflow. - * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable. - (u_threshold): Likewise. - (__expf): Call __ieee754_expf before checking for overflow and - underflow. - * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable. - (u_threshold): Likewise. - (__expl): Call __ieee754_expl before checking for overflow and - underflow. - * sysdeps/x86_64/fpu/e_expl.S (csat): New constant. - (__ieee754_expl): Allow for and saturate large arguments. - * math/libm-test.inc (exp_test): Add another test. Do not allow - missing overflow exception on overflow. - (expm1_test): Do not allow missing overflow exception on overflow. - - * sysdeps/i386/fpu/e_expl.c: Move to ... - * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly - rather than using inline asm. - * sysdeps/x86_64/fpu/e_expl.c: Remove file. - * sysdeps/x86_64/fpu/e_expl.S: Copy from - sysdeps/i386/fpu/e_expl.S, adjusted for x86_64. - - * sysdeps/unix/sysv/syscalls.list (ftime): Remove. - (nice): Likewise. - (poll): Likewise. - (signal): Likewise. - (time): Likewise. - (times): Likewise. - -2012-05-04 Joseph Myers - - * sysdeps/unix/syscalls.list (adjtime): Add entry from - sysdeps/unix/common/syscalls.list. - (fchmod): Likewise. - (fchown): Likewise. - (ftruncate): Likewise. - (getrusage): Likewise. - (gettimeofday): Likewise. - (setpgid): Likewise. - (setregid): Likewise. - (setreuid): Likewise. - (sigaction): Likewise. - (truncate): Likewise. - (vhangup): Likewise. - * sysdeps/unix/common/syscalls.list: Remove file. - * sysdeps/unix/bsd/Implies: Don't include unix/common. - * sysdeps/unix/sysv/linux/Implies: Likewise. - -2012-05-04 H.J. Lu - - * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ... - * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here. - * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: - Moved to ... - * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist: - Here. - * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved - to ... - * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here. - * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved - to ... - * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here. - * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved - to ... - * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here. - * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved - to ... - * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here. - * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved - to ... - * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here. - * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved - to ... - * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here. - * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved - to ... - * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: - Here. - * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved - to ... - * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: - Here. - * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved - to ... - * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here. - * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: - Moved to ... - * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: - Here. - * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved - to ... - * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here. - -2012-05-04 Joseph Myers - - * sysdeps/unix/common/bits/dirent.h: Remove file. - * sysdeps/unix/common/bits/fcntl.h: Likewise. - - * sysdeps/unix/bsd/bits/dirent.h: Remove file. - * sysdeps/unix/bsd/bits/fcntl.h: Likewise. - * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise. - * sysdeps/unix/bsd/isatty.c: Likewise. - * sysdeps/unix/bsd/tcdrain.c: Likewise. - * sysdeps/unix/bsd/tcgetattr.c: Likewise. - * sysdeps/unix/bsd/tcsetattr.c: Likewise. - -2012-05-04 Adhemerval Zanella - - [BZ #13563] - * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix - long double comparison inaccuracies. - * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise. - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - -2012-05-04 Andreas Schwab - - * sysdeps/unix/make-syscalls.sh: Fix check for version aliases. - * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change. - -2012-05-04 Joseph Myers - - [BZ #14049] - * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing - nonzero digits before rounding a hex value. - * stdlib/tst-strtod.c (tests): Add another test. - -2012-05-03 Andreas Krebbel - - * sysdeps/s390/fpu/libm-test-ulps: Update. - -2012-05-03 Andreas Jaeger - - * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair - does not get optimized out. - (malloc_opt_barrier): New. - -2012-05-03 Andreas Jaeger - Roland McGrath - - * Makerules (.PRECIOUS): Add %.symlist pattern to prevent - intermediate file deletion. - (generated): Add .symlist files. - -2012-05-03 Joseph Myers - - [BZ #13775] - * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk): - Redirect under this condition. - [__USE_XOPEN2K8] (__vdprintf_chk): Likewise. - [__USE_GNU] (__dprintf_chk): Not under this condition. - [__USE_GNU] (__vdprintf_chk): Likewise. - * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare - under this condition. - [__USE_XOPEN2K8] (__vdprintf_chk): Likewise. - [__USE_XOPEN2K8] (dprintf): Define under this condition. - [__USE_XOPEN2K8] (vdprintf): Likewise. - [__USE_GNU] (__dprintf_chk): Not under this condition. - [__USE_GNU] (__vdprintf_chk): Likewise. - [__USE_GNU] (dprintf): Likewise. - [__USE_GNU] (vdprintf): Likewise. - -2012-05-03 Roland McGrath - - * elf/Makefile (common-generated): Set this instead of generated for - .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the - $(all-built-dso)-derived lists. - -2012-05-03 Andreas Jaeger - - * sysdeps/i386/fpu/libm-test-ulps: Update. - - * FAQ: Removed. - * FAQ.in: Likewise. - * scripts/gen-FAQ.pl: Likewise. - * manual/install.texi (Installation): Point to online location of - FAQ. - * Makefile (files-for-dist): Remove FAQ. - (FAQ): Remove. - -2012-05-02 Allan McRae - - * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed). - (LDFLAGS-reldepmod5.so): Likewise. - (LDFLAGS-reldep6mod1.so): Likewise. - (LDFLAGS-reldep6mod4.so): Likewise. - (LDFLAGS-reldep8mod3.so): Likewise. - (LDFLAGS-unload4mod1.so): Likewise. - (LDFLAGS-unload4mod2.so): Likewise. - (LDFLAGS-tst-initorder): Likewise. - (LDFLAGS-tst-initordera2.so): Likewise. - (LDFLAGS-tst-initordera3.so): Likewise. - (LDFLAGS-tst-initordera4.so): Likewise. - (LDFLAGS-tst-initorderb2.so): Likewise. - (LDFLAGS-noload): Likewise. - (LDFLAGS-next): Likewise. - (LDFLAGS-order2mod1.so): Likewise. - (LDFLAGS-order2mod2.so): Likewise. - (LDFLAGS-tst-initorder2): Likewise. - (LDFLAGS-tst-initorder2a.so): Likewise. - (LDFLAGS-tst-initorder2b.so): Likewise. - (LDFLAGS-tst-initorder2c.so): Likewise. - * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise. - -2012-05-02 David S. Miller - - * sysdeps/sparc/fpu/libm-test-ulps: Update. - -2012-05-02 Paul Pluzhnikov - - [BZ #14055] - * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check. - -2012-05-02 Andreas Jaeger - - * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math - since we manipulate rounding mode. - (CPPFLAGS-test-idouble.c): Likewise. - (CPPFLAGS-test-ifloat.c): Likewise. - (CFLAGS-test-ldouble.c): Likewise. - (CFLAGS-test-double.c): Likewise. - (CFLAGS-test-float.c): Likewise. - (CFLAGS-test-misc.c): Likewise. - (CFLAGS-test-test-fenv.c): Likewise. - -2012-05-02 Adhemerval Zanella - - [BZ #2550] - [BZ #2570] - * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point - comparisons to determine direction to adjust input. - -2012-05-01 Roland McGrath - - * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's - output to the target. - - * scripts/localplt.awk: New file. - * elf/Makefile ($(objpfx)check-localplt): Target removed. - (check-localplt-CFLAGS): Variable removed. - ($(all-built-dso:=.jmprel)): New static pattern rule. - (generated): Add those targets. - (localplt-built-dso): New variable. - ($(objpfx)check-localplt.out): Use the script on the .jmprel files. - - * elf/check-localplt.c: File removed. - - * scripts/check-execstack.awk: New file. - * elf/Makefile ($(objpfx)check-execstack): Target removed. - (check-execstack-CFLAGS): Variable removed. - ($(objpfx)check-execstack.h): Target removed. - ($(objpfx)execstack-default): New target. - (generated): Add that instead of check-execstack.h. - ($(all-built-dso:=.phdr)): New static pattern rule. - (generated): Add those targets. - * elf/check-execstack.c: File removed. - - * scripts/check-textrel.awk: New file. - * elf/Makefile ($(objpfx)check-textrel): Target removed. - (check-textrel-CFLAGS): Variable removed. - (all-built-dso): Use := to define.o - ($(all-built-dso:=.dyn)): New static pattern rule. - (generated): Add those targets. - ($(objpfx)check-textrel.out): Use the script on the .dyn files. - * config.make.in (READELF): New substituted variable. - * elf/check-textrel.c: File removed. - -2012-05-01 Joseph Myers - - * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not - allow. - * conform/data/ctype.h-data [C99-based standards] (isblank): - Expect function. - (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*. - (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*. - [ISO || ISO99 || ISO11] (*_t): Do not allow. - * conform/data/errno.h-data (EDOM): Use macro-int-constant. - Specify type. Require positive value. - (EILSEQ): Likewise. - (ERANGE): Likewise. - [ISO || POSIX] (EILSEQ): Do not expect. - [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant. - Specify type. Require positive value. - [!ISO && !ISO99 && !ISO11] (EACCES): Likewise. - [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise. - [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise. - [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise. - [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise. - [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise. - [!ISO && !ISO99 && !ISO11] (EBADF): Likewise. - [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise. - [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise. - [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise. - [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise. - [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise. - [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise. - [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise. - [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise. - [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise. - [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise. - [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise. - [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise. - [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise. - [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise. - [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise. - [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise. - [!ISO && !ISO99 && !ISO11] (EINTR): Likewise. - [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise. - [!ISO && !ISO99 && !ISO11] (EIO): Likewise. - [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise. - [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise. - [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise. - [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise. - [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise. - [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise. - [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise. - [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise. - [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise. - [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise. - [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise. - [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise. - [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise. - [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise. - [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise. - [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise. - [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise. - [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise. - [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise. - [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise. - [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise. - [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise. - [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise. - [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise. - [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise. - [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise. - [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise. - [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise. - [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise. - [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise. - [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise. - [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise. - [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise. - [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise. - [!ISO && !ISO99 && !ISO11] (EPERM): Likewise. - [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise. - [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise. - [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise. - [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise. - [!ISO && !ISO99 && !ISO11] (EROFS): Likewise. - [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise. - [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise. - [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise. - [!ISO && !ISO99 && !ISO11] (ETIME): Likewise. - [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise. - [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise. - [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise. - [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise. - [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise. - [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise. - * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant. - Require >= 2. - (FLT_ROUNDS): Expect as macro, not constant. - (FLT_MANT_DIG): Use macro-int-constant. - (DBL_MANT_DIG): Likewise. - (LDBL_MANT_DIG): Likewise. - (FLT_DIG): Likewise. - (DBL_DIG): Likewise. - (LDBL_DIG): Likewise. - (FLT_MIN_EXP): Use macro-int-constant. Require < 0. - (DBL_MIN_EXP): Likewise. - (LDBL_MIN_EXP): Likewise. - (FLT_MAX_EXP): Use macro-int-constant. - (DBL_MAX_EXP): Likewise. - (LDBL_MAX_EXP): Likewise. - (FLT_MAX_10_EXP): Likewise. - (DBL_MAX_10_EXP): Likewise. - (LDBL_MAX_10_EXP): Likewise. - (FLT_MAX): Use macro-constant. - (DBL_MAX): Likewise. - (LDBL_MAX): Likewise. - (FLT_EPSILON): Use macro-constant. Give upper bound. - (DBL_EPSILON): Likewise. - (LDBL_EPSILON): Likewise. - (FLT_MIN): Likewise. - (DBL_MIN): Likewise. - (LDBL_MIN): Likewise. - [C99-based standards] (DECIMAL_DIG): Use macro-int-constant. - [C99-based standards] (FLT_EVAL_METHOD): Likewise. - [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant. - [ISO11] (FLT_HAS_SUBNORM): Likewise. - [ISO11] (LDBL_HAS_SUBNORM): Likewise. - [ISO11] (DBL_DECIMAL_DIG): Likewise. - [ISO11] (FLT_DECIMAL_DIG): Likewise. - [ISO11] (LDBL_DECIMAL_DIG): Likewise. - [ISO11] (DBL_TRUE_MIN): Use macro-constant. - [ISO11] (FLT_TRUE_MIN): Likewise. - [ISO11] (LDBL_TRUE_MIN): Likewise. - [ISO || ISO99 || ISO11] (*_t): Do not allow. - * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant. - (SCHAR_MIN): Use macro-int-constant. Specify type. - (SCHAR_MAX): Likewise. - (UCHAR_MAX): Likewise. - (CHAR_MIN): Likewise. - (CHAR_MAX): Likewise. - (MB_LEN_MAX): Use macro-int-constant. - (SHRT_MIN): Use macro-int-constant. Specify type. - (SHRT_MAX): Likewise. - (USHRT_MAX): Likewise. - (INT_MAX): Likewise. - (INT_MIN): Use macro-int-constant. Specify type. Make upper - bound negative. - (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower - bound with "U". - (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower - bound with "L". - (LONG_MIN): Use macro-int-constant. Specify type. Make upper - bound negative. Suffix upper bound with "L". - (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower - bound with "UL". - [C99-based standards] (LLONG_MIN): Use macro-int-constant. - Specify type. - [C99-based standards] (LLONG_MAX): Likewise. - [C99-based standards] (ULLONG_MAX): Likewise. - * conform/data/stddef.h-data (NULL): Use macro-constant. Require - == 0. - [ISO11] (max_align_t): Require type. - [ISO || ISO99 || ISO11] (*_t): Do not allow. - - * conform/conformtest.pl ($CFLAGS_namespace): Define separately - from $CFLAGS, without defining away __attribute__ calls. - (checknamespace): Use $CFLAGS_namespace. - - * conform/conformtest.pl (@keywords): Only include C99 keywords - for standards based on C99 or C11. - - * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]: - Disable tests. - * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 || - UNIX98]: Likewise. - - * conform/conformtest.pl: Handle "macro-int-constant" and test for - usability of symbols in #if. - - * conform/conformtest.pl: If macro or constant types start - "promoted:", expect the symbol to be of the following type - promoted by the integer promotions. - - * conform/conformtest.pl: Parse all "constant" and "macro" lines - in one place. Also handle "macro-constant". - - * conform/conformtest.pl: Only accept expected macro values with - "==". Parse all "macro" lines in one place. - * conform/data/stdlib.h-data: Use "==" form on "macro" lines. - - * conform/conformtest.pl: Handle braced types on "constant" lines - instead of handling "typed-constant". - * conform/data/signal.h-data: Use "constant" instead of - "typed-constant". - - * conform/conformtest.pl: Handle "optional-" at start of lines in - one place rather than duplicating several cases. Handle each - format of "macro" line with initial "optional-". - - * conform/conformtest.pl: Only accept expected constant or - optional-constant values with "==". Parse all "constant" lines in - one place. Parse all "optional-constant" lines in one place. - * conform/data/cpio.h-data: Use "==" form on "constant" lines. - * conform/data/fmtmsg.h-data: Likewise. - * conform/data/netinet/in.h-data: Likewise. - * conform/data/tar.h-data: Likewise. - * conform/data/limits.h-data: Use "==" form on "constant" and - "optional-constant" lines. - - * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98. - Use -std=c99 for XOPEN2K. - (@knownproblems): Remove. - (newtoken): Don't check %isknown. - - * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify): - Do not expect macro. - [XPG3 || XPG4 || UNIX98] (isfinite): Likewise. - [XPG3 || XPG4 || UNIX98] (isinf): Likewise. - [XPG3 || XPG4 || UNIX98] (isnan): Likewise. - [XPG3 || XPG4 || UNIX98] (isnormal): Likewise. - [XPG3 || XPG4 || UNIX98] (signbit): Likewise. - [XPG3 || XPG4 || UNIX98] (isgreater): Likewise. - [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise. - [XPG3 || XPG4 || UNIX98] (isless): Likewise. - [XPG3 || XPG4 || UNIX98] (islessequal): Likewise. - [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise. - [XPG3 || XPG4 || UNIX98] (isunordered): Likewise. - [XPG3 || XPG4 || UNIX98] (isnan): Expect as function. - [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect. - [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise. - [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise. - [XPG3 || XPG4 || UNIX98] (NAN): Likewise. - [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise. - [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise. - [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise. - [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise. - [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise. - [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise. - [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise. - [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise. - [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise. - [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise. - [XPG3 || XPG4 || UNIX98] (copysign): Likewise. - [XPG3 || XPG4 || UNIX98] (exp2): Likewise. - [XPG3 || XPG4 || UNIX98] (log2): Likewise. - [XPG3 || XPG4 || UNIX98] (tgama): Likewise. - [XPG3] (acosh): Likewise. - [XPG3] (asinh): Likewise. - [XPG3] (atanh): Likewise. - [XPG3] (cbrt): Likewise. - [XPG3] (expm1): Likewise. - [XPG3] (ilogb): Likewise. - [XPG3] (log1p): Likewise. - [XPG3] (logb): Likewise. - [XPG3] (nextafter): Likewise. - [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise. - [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise. - [XPG3] (remainder): Likewise. - [XPG3] (rint): Likewise. - [XPG3 || XPG4 || UNIX98] (round): Likewise. - [XPG3 || XPG4 || UNIX98] (trunc): Likewise. - [XPG3 || XPG4 || UNIX98] (lrint): Likewise. - [XPG3 || XPG4 || UNIX98] (llrint): Likewise. - [XPG3 || XPG4 || UNIX98] (lround): Likewise. - [XPG3 || XPG4 || UNIX98] (llround): Likewise. - [XPG3 || XPG4 || UNIX98] (remquo): Likewise. - [UNIX98 || XOPEN2K] (scalb): Expect. - [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect. - [XPG3 || XPG4 || UNIX98] (scalbln): Likewise. - [XPG3 || XPG4 || UNIX98] (fdim): Likewise. - [XPG3 || XPG4 || UNIX98] (fmax): Likewise. - [XPG3 || XPG4 || UNIX98] (fmin): Likewise. - [XPG3 || XPG4 || UNIX98] (fma): Likewise. - [XPG3 || XPG4 || UNIX98] (nan): Likewise. - [XPG3 || XPG4 || UNIX98] (acosf): Likewise. - [XPG3 || XPG4 || UNIX98] (asinf): Likewise. - [XPG3 || XPG4 || UNIX98] (atanf): Likewise. - [XPG3 || XPG4 || UNIX98] (atan2f): Likewise. - [XPG3 || XPG4 || UNIX98] (ceilf): Likewise. - [XPG3 || XPG4 || UNIX98] (copysignf): Likewise. - [XPG3 || XPG4 || UNIX98] (cosf): Likewise. - [XPG3 || XPG4 || UNIX98] (coshf): Likewise. - [XPG3 || XPG4 || UNIX98] (expf): Likewise. - [XPG3 || XPG4 || UNIX98] (exp2f): Likewise. - [XPG3 || XPG4 || UNIX98] (fabsf): Likewise. - [XPG3 || XPG4 || UNIX98] (floorf): Likewise. - [XPG3 || XPG4 || UNIX98] (fmodf): Likewise. - [XPG3 || XPG4 || UNIX98] (frexpf): Likewise. - [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise. - [XPG3 || XPG4 || UNIX98] (logf): Likewise. - [XPG3 || XPG4 || UNIX98] (log10f): Likewise. - [XPG3 || XPG4 || UNIX98] (log2f): Likewise. - [XPG3 || XPG4 || UNIX98] (modff): Likewise. - [XPG3 || XPG4 || UNIX98] (powf): Likewise. - [XPG3 || XPG4 || UNIX98] (sinf): Likewise. - [XPG3 || XPG4 || UNIX98] (sinhf): Likewise. - [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise. - [XPG3 || XPG4 || UNIX98] (tanf): Likewise. - [XPG3 || XPG4 || UNIX98] (tanhf): Likewise. - [XPG3 || XPG4 || UNIX98] (erff): Likewise. - [XPG3 || XPG4 || UNIX98] (erfcf): Likewise. - [XPG3 || XPG4 || UNIX98] (gammaf): Likewise. - [XPG3 || XPG4 || UNIX98] (hypotf): Likewise. - [XPG3 || XPG4 || UNIX98] (j0f): Likewise. - [XPG3 || XPG4 || UNIX98] (j1f): Likewise. - [XPG3 || XPG4 || UNIX98] (jnf): Likewise. - [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise. - [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise. - [XPG3 || XPG4 || UNIX98] (y0f): Likewise. - [XPG3 || XPG4 || UNIX98] (y1f): Likewise. - [XPG3 || XPG4 || UNIX98] (ynf): Likewise. - [XPG3 || XPG4 || UNIX98] (acoshf): Likewise. - [XPG3 || XPG4 || UNIX98] (asinhf): Likewise. - [XPG3 || XPG4 || UNIX98] (atanhf): Likewise. - [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise. - [XPG3 || XPG4 || UNIX98] (expm1f): Likewise. - [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise. - [XPG3 || XPG4 || UNIX98] (log1pf): Likewise. - [XPG3 || XPG4 || UNIX98] (logbf): Likewise. - [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise. - [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise. - [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise. - [XPG3 || XPG4 || UNIX98] (remainderf): Likewise. - [XPG3 || XPG4 || UNIX98] (rintf): Likewise. - [XPG3 || XPG4 || UNIX98] (roundf): Likewise. - [XPG3 || XPG4 || UNIX98] (truncf): Likewise. - [XPG3 || XPG4 || UNIX98] (lrintf): Likewise. - [XPG3 || XPG4 || UNIX98] (llrintf): Likewise. - [XPG3 || XPG4 || UNIX98] (lroundf): Likewise. - [XPG3 || XPG4 || UNIX98] (llroundf): Likewise. - [XPG3 || XPG4 || UNIX98] (remquof): Likewise. - [XPG3 || XPG4 || UNIX98] (scalbf): Likewise. - [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise. - [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise. - [XPG3 || XPG4 || UNIX98] (fdimf): Likewise. - [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise. - [XPG3 || XPG4 || UNIX98] (fminf): Likewise. - [XPG3 || XPG4 || UNIX98] (fmaf): Likewise. - [XPG3 || XPG4 || UNIX98] (nanf): Likewise. - [XPG3 || XPG4 || UNIX98] (acosl): Likewise. - [XPG3 || XPG4 || UNIX98] (asinl): Likewise. - [XPG3 || XPG4 || UNIX98] (atanl): Likewise. - [XPG3 || XPG4 || UNIX98] (atan2l): Likewise. - [XPG3 || XPG4 || UNIX98] (ceill): Likewise. - [XPG3 || XPG4 || UNIX98] (copysignl): Likewise. - [XPG3 || XPG4 || UNIX98] (cosl): Likewise. - [XPG3 || XPG4 || UNIX98] (coshl): Likewise. - [XPG3 || XPG4 || UNIX98] (expl): Likewise. - [XPG3 || XPG4 || UNIX98] (exp2l): Likewise. - [XPG3 || XPG4 || UNIX98] (fabsl): Likewise. - [XPG3 || XPG4 || UNIX98] (floorl): Likewise. - [XPG3 || XPG4 || UNIX98] (fmodl): Likewise. - [XPG3 || XPG4 || UNIX98] (frexpl): Likewise. - [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise. - [XPG3 || XPG4 || UNIX98] (logl): Likewise. - [XPG3 || XPG4 || UNIX98] (log10l): Likewise. - [XPG3 || XPG4 || UNIX98] (log2l): Likewise. - [XPG3 || XPG4 || UNIX98] (modfl): Likewise. - [XPG3 || XPG4 || UNIX98] (powl): Likewise. - [XPG3 || XPG4 || UNIX98] (sinl): Likewise. - [XPG3 || XPG4 || UNIX98] (sinhl): Likewise. - [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise. - [XPG3 || XPG4 || UNIX98] (tanl): Likewise. - [XPG3 || XPG4 || UNIX98] (tanhl): Likewise. - [XPG3 || XPG4 || UNIX98] (erfl): Likewise. - [XPG3 || XPG4 || UNIX98] (erfcl): Likewise. - [XPG3 || XPG4 || UNIX98] (gammal): Likewise. - [XPG3 || XPG4 || UNIX98] (hypotl): Likewise. - [XPG3 || XPG4 || UNIX98] (j0l): Likewise. - [XPG3 || XPG4 || UNIX98] (j1l): Likewise. - [XPG3 || XPG4 || UNIX98] (jnl): Likewise. - [XPG3 || XPG4 || UNIX98] (lgammal): Likewise. - [XPG3 || XPG4 || UNIX98] (tgammal): Likewise. - [XPG3 || XPG4 || UNIX98] (y0l): Likewise. - [XPG3 || XPG4 || UNIX98] (y1l): Likewise. - [XPG3 || XPG4 || UNIX98] (ynl): Likewise. - [XPG3 || XPG4 || UNIX98] (acoshl): Likewise. - [XPG3 || XPG4 || UNIX98] (asinhl): Likewise. - [XPG3 || XPG4 || UNIX98] (atanhl): Likewise. - [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise. - [XPG3 || XPG4 || UNIX98] (expm1l): Likewise. - [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise. - [XPG3 || XPG4 || UNIX98] (log1pl): Likewise. - [XPG3 || XPG4 || UNIX98] (logbl): Likewise. - [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise. - [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise. - [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise. - [XPG3 || XPG4 || UNIX98] (remainderl): Likewise. - [XPG3 || XPG4 || UNIX98] (rintl): Likewise. - [XPG3 || XPG4 || UNIX98] (roundl): Likewise. - [XPG3 || XPG4 || UNIX98] (truncl): Likewise. - [XPG3 || XPG4 || UNIX98] (lrintl): Likewise. - [XPG3 || XPG4 || UNIX98] (llrintl): Likewise. - [XPG3 || XPG4 || UNIX98] (lroundl): Likewise. - [XPG3 || XPG4 || UNIX98] (llroundl): Likewise. - [XPG3 || XPG4 || UNIX98] (remquol): Likewise. - [XPG3 || XPG4 || UNIX98] (scalbl): Likewise. - [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise. - [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise. - [XPG3 || XPG4 || UNIX98] (fdiml): Likewise. - [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise. - [XPG3 || XPG4 || UNIX98] (fminl): Likewise. - [XPG3 || XPG4 || UNIX98] (fmal): Likewise. - [XPG3 || XPG4 || UNIX98] (nanl): Likewise. - - * conform/conformtest.pl: Define _XOPEN_SOURCE as well as - _XOPEN_SOURCE_EXTENDED for XPG4. - - * conform/conformtest.pl: Handle "symbol" lines for allow-header. - - * Makeconfig (localtime): Remove variable. - (inst_localtime-file): Likewise. - -2012-05-01 Andreas Schwab - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist: - Update. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist: - Update. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist: - Update. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist: - Update. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist: - Update. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: - Update. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: - Update. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: - Update. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist: - Update. - -2012-05-01 Joseph Myers - - [BZ #2550] - [BZ #2570] - * math/s_nexttowardf.c (__nexttowardf): Use floating-point - comparisons to determine direction to adjust input. - * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise. - * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise. - * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): - Likewise. - * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf): - Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf): - Likewise. - * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise. - * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): - Likewise. - * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf): - Likewise. - * math/libm-test.inc (nexttoward_test): Add more tests. - -2012-05-01 Andreas Schwab - - [BZ #14040] - * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define - in version GLIBC_2.1, not GLIBC_2.0. - * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl): - Likewise. - -2012-04-30 Joseph Myers - - [BZ #13942] - * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as - (1 - x) * (1 + x). - * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise. - * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise. - * math/libm-test.inc (acos_test): Add more tests. - (asin_test): Likewise. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - [BZ #14034] - * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value - of square root. - * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise. - * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise. - * math/libm-test.inc (acos_test_tonearest): New function. - (acos_test_towardzero): Likewise. - (acos_test_downward): Likewise. - (acos_test_upward): Likewise. - (asin_test_tonearest): Likewise. - (asin_test_towardzero): Likewise. - (asin_test_downward): Likewise. - (asin_test_upward): Likewise. - (main): Call the new functions. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Update. - - [BZ #13884] - [BZ #13924] - * math/e_exp10.c: Include . - (__ieee754_exp10): Handle underflow here rather than multiplying - large negative argument by M_LN10. - * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead - of __ieee754_expf. - * math/e_exp10l.c: Include . - (__ieee754_exp10l): Handle underflow here rather than multiplying - large negative argument by M_LN10l. - * math/libm-test.inc (exp10_test): Add another test. Do not allow - spurious overflow exception on underflow. - -2012-04-29 Marek Polacek - - * misc/sys/cdefs.h (__attribute_artificial__): New macro. - (__fortify_function): New macro. - (__extern_always_inline): Don't use __attribute__ ((__artificial__)). - * libio/bits/stdio-ldbl.h: Use __fortify_function in place of - __extern_always_inline. - * libio/bits/stdio2.h: Likewise. - * libio/bits/stdio.h: Likewise. - * string/string.h: Likewise. - * string/bits/string3.h: Likewise. - * include/stdio.h: Likewise. - * stdlib/bits/stdlib.h: Likewise. - * stdlib/stdlib.h: Likewise. - * rt/bits/mqueue2.h: Likewise. - * rt/mqueue.h: Likewise. - * posix/bits/unistd.h: Likewise. - * posix/unistd.h: Likewise. - * io/bits/poll2.h: Likewise. - * io/bits/fcntl2.h: Likewise. - * io/fcntl.h: Likewise. - * io/sys/poll.h: Likewise. - * misc/bits/syslog.h: Likewise. - * misc/bits/syslog-ldbl.h: Likewise. - * misc/sys/syslog.h: Likewise. - * socket/bits/socket2.h: Likewise. - * socket/sys/socket.h: Likewise. - * debug/tst-chk1.c: Likewise. - * wcsmbs/bits/wchar2.h: Likewise. - * wcsmbs/bits/wchar-ldbl.h: Likewise. - * wcsmbs/wchar.h: Likewise. - -2012-04-29 Andreas Jaeger - - * Makerules (tests): Remove enable-check-abi protection. - (check-abi-warn): Remove. - (check-abi-%): Remove check-abi-warn usage. - - * configure.in: Remove check-abi configure option. - * configure: Regenerated. - * config.make.in (enable-check-abi): Remove. - -2012-04-28 Andreas Schwab - - [BZ #14033] - * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long - double functions to double *_finite functions. - - [BZ #13941] - * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c - (__mpn_extract_long_double): Use DBL_MIN_EXP instead of - LDBL_MIN_EXP. - * stdio-common/Makefile (tests): Add tst-sprintf3. - * stdio-common/tst-sprintf3.c: New file. - - * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem) - ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling. - -2012-04-28 Joseph Myers - - * conform/conformtest.pl: Remove duplicate typed-constant - handling. - -2012-04-28 David S. Miller - - * Makerules (%.abilist): Add vpath on sysdep_dirs. - (check-abi-%): Remove AWK script prerequisite and explicit - abilist directory. - (check-abi): Rewrite to just diff the symlist with the abilist. - (config-tls, config-abi-config): Delete, no longer used. - (update-abi-%): Remove AWK script and explicit abilist directory. - (update-abi): Rewrite to simply compare and conditionally copy the - symlist and the sysdep abilist file. Remove update-abi-config - checks. - * abilist/ld.abilist: Remove. - * abilist/libBrokenLocale.abilist: Remove. - * abilist/libanl.abilist: Remove. - * abilist/libcrypt.abilist: Remove. - * abilist/libdl.abilist: Remove. - * abilist/librt.abilist: Remove. - * abilist/libthread_db.abilist: Remove. - * abilist/libutil.abilist: Remove. - * scripts/extract-abilist.awk: Remove. - * scripts/merge-abilist.awk: Remove. - * sysdeps/generic/libcidn.abilist: New file. - * sysdeps/generic/libnss_compat.abilist: New file. - * sysdeps/generic/libnss_db.abilist: New file. - * sysdeps/generic/libnss_dns.abilist: New file. - * sysdeps/generic/libnss_files.abilist: New file. - * sysdeps/generic/libnss_hesiod.abilist: New file. - * sysdeps/generic/libnss_nis.abilist: New file. - * sysdeps/generic/libnss_nisplus.abilist: New file. - * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file. - * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file. - * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New - file. - * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file. - * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file. - * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file. - * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file. - * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file. - * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file. - * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file. - * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file. - * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New - file. - * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file. - * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file. - * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file. - * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New - file. - * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file. - * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file. - * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file. - * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file. - * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file. - * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New - file. - * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file. - * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file. - * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New - file. - * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file. - * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist: - New file. - * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist: - New file. - * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist: - New file. - * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist: - New file. - * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist: - New file. - * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist: - New file. - * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist: - New file. - * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist: - New file. - * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist: - New file. - * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist: - New file. - * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist: - New file. - * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist: - New file. - * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New - file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New - file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New - file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist: - New file. - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New - file. - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist: - New file. - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New - file. - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New - file. - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New - file. - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New - file. - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New - file. - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist: - New file. - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New - file. - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New - file. - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist: - New file. - * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New - file. - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New - file. - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist: - New file. - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New - file. - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New - file. - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New - file. - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New - file. - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New - file. - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist: - New file. - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New - file. - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New - file. - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist: - New file. - * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New - file. - * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file. - * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file. - * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New - file. - * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file. - * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file. - * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file. - * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file. - * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file. - * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file. - * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file. - * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file. - * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file. - * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New - file. - * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist: - New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New - file. - * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New - file. - * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New - file. - * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New - file. - * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New - file. - * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist: - New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist: - New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New - file. - * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist: - New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New - file. - * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New - file. - * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist: - New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New - file. - * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New - file. - * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New - file. - * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New - file. - * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New - file. - * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist: - New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist: - New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New - file. - * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist: - New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New - file. - -2012-04-28 Joseph Myers - - * conform/conformtest.pl: Fix typo in handling typed-constant from - allow-header. - -2012-04-27 Joseph Myers - - * README: Cut down references to pre-2.6 Linux kernels and - Linuxthreads. Update lists of configurations in libc and ports - and sort alphabetically. Say "or newer" with Linux kernel version - requirements. - - * config.h.in [IS_IN_build]: Allow compiling without optimization. - -2012-04-27 Ryan S. Arnold - - [BZ #887] - * math/libm-test.inc (logb_test_downward): New test to expose - erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD - rounding mode. - -2012-04-27 Joseph Myers - - [BZ #14027] - * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs - to be done. - * math/fraiseexcpt.c (__feraiseexcept): Likewise. - * math/fsetexcptflg.c (__fesetexceptflag): Likewise. - -2012-04-26 Joseph Myers - - * sysdeps/unix/i386/brk.S: Remove file. - * sysdeps/unix/i386/dl-brk.S: Likewise. - * sysdeps/unix/i386/pipe.S: Likewise. - * sysdeps/unix/i386/sigreturn.S: Likewise. - * sysdeps/unix/i386/syscall.S: Likewise. - * sysdeps/unix/i386/vfork.S: Likewise. - * sysdeps/unix/i386/wait.S: Likewise. - - * sysdeps/unix/common/tcsendbrk.c: Move to ... - * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here. - - * configure.in (arm*-none*): Do not allow without - --enable-hacker-mode. - (netbsd*): Remove case setting base_os. - (386bsd*): Likewise. - (freebsd*): Likewise. - (bsdi*): Likewise. - (osf*): Likewise. - (sunos*): Likewise. - (ultrix*): Likewise. - (newsos*): Likewise. - (dynix*): Likewise. - (*bsd*): Likewise. - (sysv*): Likewise. - (isc*): Likewise. - (esix*): Likewise. - (sco*): Likewise. - (minix*): Likewise. - (irix4*): Likewise. - (irix6*): Likewise. - (solaris[2-9]*): Likewise. - (none): Likewise. - * configure: Regenerated. - -2012-04-26 Adhemerval Zanella - - [BZ #11521] - * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal - overflow or cancellation in calculating denominator. - * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking - down expression to avoid unexpected rounding in newer GCCs. - * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix. - -2012-04-26 David S. Miller - - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate - long-double compat symbols. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise. - -2012-04-25 David S. Miller - - * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get - HWCAP_* values only after the memory barriers have been defined. - (atomic_full_barrier): Define. - (atomic_read_barrier): Define. - (atomic_write_barrier): Define. - -2012-04-26 Siddhesh Poyarekar - - * shlib-versions: Add libgcc_s version information. - * sysdeps/generic/libgcc_s.h: Remove. - * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of - libgcc_s.h. - * sysdeps/gnu/unwind-resume.c: Likewise. - * scripts/test-installation.pl: Remove libgcc_s from link_libs. - -2012-04-25 David S. Miller - - * sysdeps/unix/sparc/brk.S: Delete. - * sysdeps/unix/sparc/dl-brk.S: Delete. - * sysdeps/unix/sparc/pipe.S: Delete. - * sysdeps/unix/sparc/sysdep.S: Delete. - * sysdeps/unix/sparc/sysdep.h: Delete. - * sysdeps/unix/sparc/vfork.S: Delete. - * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG) - (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define. - * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO) - (ret_ERRVAL, r0, r1, MOVE): Define. - (JUMPTARGET): Remove. - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include - sysdeps/unix/sparc/sysdep.h - (ENTRY, END): Remove. - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. - -2012-04-25 Joseph Myers - - * Makerules (native-compile): Use $(BUILD_LDFLAGS). - (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE - -DIS_IN_build. - - * timezone/README: Update upstream location and email address for - tzcode and tzdata. - * timezone/zdump.c: Update from tzcode 2012b. - * timezone/zic.c: Likewise. - - * configure.in (libc_cv_as_needed): Remove test. - * configure: Regenerated. - * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove - conditional definition. - [$(have-as-needed) != yes] (no-as-needed): Likewise. - [$(have-as-needed) != yes] (libgcc_eh): Likewise. - * config.make.in (have-as-needed): Remove variable. - -2012-04-25 Siddhesh Poyarekar - Paul Pluzhnikov - - * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal - strings correctly. - -2012-04-25 Chung-Lin Tang - - * sysdeps/sh/memcpy.S: Remove include of endian.h, change - preprocessor endian tests to '#ifdef __BIG_ENDIAN__'. - * sysdeps/sh/strlen.S: Likewise. - -2012-04-24 Joseph Myers - - * sysdeps/unix/fork.S: Remove file. - * sysdeps/unix/i386/fork.S: Likewise. - * sysdeps/unix/sparc/fork.S: Likewise. - - * sysdeps/unix/system.c: Remove file. - * sysdeps/unix/bsd/bsd4.4/system.c: Likewise. - - * sysdeps/unix/getegid.S: Remove file. - * sysdeps/unix/geteuid.S: Likewise. - -2012-04-24 Roland McGrath - - * scripts/check-localplt.awk: New file. - * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead - of diff. - * scripts/data/localplt-generic.data: Add a comment. - - * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on - NODE when __dir_mkfile failed. - * sysdeps/mach/hurd/symlinkat.c: Likewise. - Reported by Ludovic CourtĂšs . - -2012-04-24 Andreas Jaeger - - * Makerules (common-clean): Also remove gen-as-const-headers - files. - -2012-04-24 Joseph Myers - - * Makerules (native-compile): Do not change working directory for - build. Use $(OUTPUT_OPTION) in command. - (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h. - -2012-04-24 Adhemerval Zanella - - [BZ #13886] - * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the - sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead. - * math/libm-test.inc (floor_test): Add more tests. - * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests. - -2012-04-24 Joseph Myers - - * sysdeps/unix/getdents.c: Remove file. - * sysdeps/unix/sysv/getdents.c: Likewise. - * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove. - - * sysdeps/unix/syscalls.list (madvise): Add syscall from - sysdeps/unix/mman/syscalls.list. - (mmap): Likewise. - (mprotect): Likewise. - (msync): Likewise. - (munmap): Likewise. - * sysdeps/unix/bsd/bsd4.4/Implies: Remove. - * sysdeps/unix/mman/syscalls.list: Remove. - * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman. - - * configure.in (libc_cv_libgcc_s_suffix): Remove test. - (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix. - * configure: Regenerated. - * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use - $(libgcc_s_suffix). - * config.make.in (libgcc_s_suffix): Remove variable. - -2012-04-23 Joseph Myers - - * sysdeps/unix/sysv/gethostname.c: Move to ... - * sysdeps/posix/gethostname.c: ... here. - - * sysdeps/unix/execve.S: Remove file. - - * sysdeps/unix/_exit.S: Remove file. - -2012-04-23 Andreas Jaeger - - [BZ #13739] - * manual/Makefile: Remove make dist support, there's no - need for a stand-alone documentation tar ball. - (TEXI2DVI): Define always, it's not in Makeconfig. - (dist): Removed. - (tar-it): Removed. - (edition): Removed. - (glibc-doc-$(edition).tar): Removed - (%.Z): Removed. - (%.gz): Removed. - (%.uu): Removed. - (ETAGS): Remove, it's in Makeconfig. - (move-if-change): Remove, it's in Makeconfig. - -2012-04-23 Paul Eggert - - [BZ #13970] - * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc. - (strtod, strtof, strtold, strtol, strtoul, strtoq) - (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l) - (strtod_l, strtof_l, strtold_l): Remove __wur. - It is not necessarily an error to ignore strtol's return value. - One can reliably look at the stored endptr to decide whether - the number had valid syntax. - -2012-04-21 Andreas Jaeger - - [BZ #13739] - * sysdeps/s390/s390-64/Makefile (distribute): Remove variable. - -2012-04-21 Joseph Myers - - * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo. - * sysdeps/unix/sysv/Versions: Remove file. - -2012-04-21 Markus Trippelsdorf - - [BZ #13927] - * sysdeps/x86_64/fpu/libm-test-ulps: Update. - -2012-04-21 Nick Alcock - - [BZ #7064] - * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit - version from __vm86. - -2012-04-20 Joseph Myers - - * sysdeps/unix/common/lxstat.c: Remove file. - * sysdeps/unix/common/syscalls.list (sys_lstat): Remove. - - * sysdeps/unix/sysv/Makefile: Remove file. - - * sysdeps/unix/sysv/direct.h: Remove file. - - * sysdeps/unix/sysv/bits/dirent.h: Remove file. - * sysdeps/unix/sysv/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/bits/local_lim.h: Likewise. - * sysdeps/unix/sysv/bits/signum.h: Likewise. - * sysdeps/unix/sysv/bits/stat.h: Likewise. - * sysdeps/unix/sysv/bits/utmp.h: Likewise. - * sysdeps/unix/sysv/bits/utsname.h: Likewise. - - * sysdeps/unix/sysv/setrlimit.c: Remove file. - - * sysdeps/unix/xmknod.c: Remove file. - * sysdeps/unix/syscalls.list (sys_mknod): Remove. - - * sysdeps/unix/sysv/settimeofday.c: Remove file. - - * sysdeps/unix/sysv/i386/time.S: Remove file. - - * sysdeps/unix/fxstat.c: Remove file. - * sysdeps/unix/xstat.c: Likewise. - * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove. - - * sysdeps/unix/sysv/sigaction.c: Remove file. - - * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers] - (sysdep_headers): Remove variable. - [termio.h not in sysdep_headers] (generated): Likewise. - [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule. - * sysdeps/unix/sysv/sysv_termio.h: Remove file. - * sysdeps/unix/sysv/tcdrain.c: Likewise. - * sysdeps/unix/sysv/tcflow.c: Likewise. - * sysdeps/unix/sysv/tcflush.c: Likewise. - * sysdeps/unix/sysv/tcgetattr.c: Likewise. - * sysdeps/unix/sysv/tcgetpgrp.c: Likewise. - * sysdeps/unix/sysv/tcsendbrk.c: Likewise. - * sysdeps/unix/sysv/tcsetattr.c: Likewise. - * sysdeps/unix/sysv/tcsetpgrp.c: Likewise. - - * sysdeps/unix/siglist.c: Remove file. - - * sysdeps/unix/getppid.S: Remove file. - - * sysdeps/unix/mkdir.c: Remove file. - * sysdeps/unix/rmdir.c: Likewise. - -2012-04-19 Andreas Schwab - - * sysdeps/gnu/errlist-compat.awk (END): Correct computation of - ERR_MAX value. - * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust - errlist-compat value. - -2012-04-18 David S. Miller - - * sysdeps/generic/memcopy.h (reg_char): Delete. - * debug/strcat_chk.c: Use char, not reg_char. - * debug/strcpy_chk.c: Likewise. - * debug/strncat_chk.c: Likewise. - * debug/strncpy_chk.c: Likewise. - * string/memchr.c: Likewise. - * string/memrchr.c: Likewise. - * string/rawmemchr.c: Likewise. - * string/strcat.c: Likewise. - * string/strchr.c: Likewise. - * string/strchrnul.c: Likewise. - * string/strcmp.c: Likewise. - * string/strcpy.c: Likewise. - * string/strncat.c: Likewise. - * string/strncmp.c: Likewise. - * string/strncpy.c: Likewise. - -2012-04-18 Will Schmidt - - * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where - __builtin_memcopy is called when src and dest ranges are known to not - overlap. - -2012-04-18 Will Schmidt - - * sysdeps/powerpc/powerpc64/power6/wordcopy.c - (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized - fwd_align_merge macro call. - (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized - bwd_align_merge macro call. - * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise. - -2012-04-18 Will Schmidt - - * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and - bwd_align_merge macros. - (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls. - (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls. - * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise. - -2012-04-18 David S. Miller - - * sysdeps/sparc/sparc64/memcopy.h: Delete. - -2012-04-18 Andreas Jaeger - - [BZ #6794] - * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ... - * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here. - Rename __ilogbl to __ieee754_ilogbl and remove weak_alias. - - * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ... - * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here. - Rename __ilogbl to __ieee754_ilogbl and remove weak_alias. - - * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ... - * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here. - Adjust for changed ldbl-128 files. - - * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ... - * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here. - Rename __ilogbl to __ieee754_ilogbl and remove weak_alias. - -2012-04-17 David S. Miller - - * sysdeps/sparc/sparc32/memcopy.h: Delete. - -2012-04-17 Andreas Schwab - - * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias. - * sysdeps/i386/fpu/e_ilogbf.S: Likewise. - * sysdeps/i386/fpu/e_ilogbl.S: Likewise. - * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise. - * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise. - * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise. - -2012-04-17 Adhemerval Zanella - - [BZ #6794] - * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb. - * math/libm-test.inc: Add ilogb errno and exception tests. - * math/w_ilogb.c: New file: ilogb wrapper. - * math/w_ilogbf.c: New file: ilogbf wrapper. - * math/w_ilogbl.c: New file: ilogbl wrapper. - * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes. - * sysdeps/i386/fpu/s_ilogb.S: Moved to ... - * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO - exception being thrown with 0.0 as argument. - * sysdeps/i386/fpu/s_ilogbf.S: Moved to ... - * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO - exception being thrown with 0.0 as argument. - * sysdeps/i386/fpu/s_ilogbl.S: Moved to ... - * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO - exception being thrown with 0.0 as argument. - * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ... - * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO - exception being thrown with 0.0 as argument. - * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ... - * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here. - * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ... - * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here. - * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ... - * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here. - * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ... - * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here. - * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper. - -2012-04-17 Petr Baudis - - * include/sys/uio.h: Change __vector to __iovec to avoid clash - with altivec. - -2012-04-16 Marek Polacek - - * elf/pldd-xx.c: Rename static_assert to pldd_assert. - -2012-04-16 Marek Polacek - - * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the - operands of fdivp instruction. - -2012-04-13 H.J. Lu - - * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__. - * elf/tst-auditmod3b.c: Likewise. - * elf/tst-auditmod4b.c: Likewise. - * elf/tst-auditmod5b.c: Likewise. - * elf/tst-auditmod6b.c: Likewise. - * elf/tst-auditmod6c.c: Likewise. - * elf/tst-auditmod7b.c: Likewise. - * sysdeps/x86_64/ffsll.c (ffsl): Likewise. - * sysdeps/x86_64/preconfigure.in: Likewise. - * sysdeps/x86_64/preconfigure: Regenerated. - -2012-04-13 H.J. Lu - - * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check - __ILP32__. - -2012-04-13 Antoine Balestrat - - * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c - (__get_clockfreq_via_proc_openprom): Fix test on wrong variable. - -2012-04-13 Chris Leonard - - [BZ #13973] - * locale/iso-639.def: Fix gl language name. Spotted by - Yaron Shahrabani. - -2012-04-12 Roland McGrath - - [BZ #2074] - * libio/libio.h (__io_write_fn): Update comment. - -2012-04-12 Petr Baudis - - [BZ #2074] - * stdio.texi (Hook Functions): The user provided writer function - is not allowed to return -1. - -2012-04-11 David S. Miller - - * sysdeps/sparc/fpu/libm-test-ulps: Update. - -2012-04-11 Mike Frysinger - - * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db. - Add a leading slash to rtkaio. - -2012-04-11 Jim Meyering - - [BZ #11959] - * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur. - It is not necessarily an error to ignore fwrite's return - value. One can reliably use ferror to test for errors after - the fact. - -2012-04-10 H.J. Lu - - * bits/types.h (__snseconds_t): New type. - * time/time.h (struct timespec): Use __snseconds_t on tv_nsec. - - * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro. - * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h - (__SNSECONDS_T_TYPE): Likewise. - * sysdeps/unix/sysv/linux/s390/bits/typesizes.h - (__SNSECONDS_T_TYPE): Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h - (__SNSECONDS_T_TYPE): Likewise. - -2012-04-10 Andreas Jaeger - - [BZ #2636] - * manual/time.texi (Processor Time): Return type of times is - elapsed real time since an arbitrary point in the past. - (CPU Time): Move CLK_TCK from here... - (Processor Time): ...to here. Correct description. - * manual/conf.texi (Constants for Sysconf): Correct description of - _SC_CLK_TCK. - -2012-04-10 David S. Miller - - [BZ #13967] - * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case - where the is a gap between DT_REL(A) and DT_JMPREL. - -2012-04-10 H.J. Lu - - * sysdeps/x86_64/bits/byteswap.h: Include . - (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2. - (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2. - -2012-04-10 Siddhesh Poyarekar - - * elf/dl-support.c (_dl_inhibit_cache): New variable. - * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache. - (dl_main): Handle --inhibit-cache. - * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member - _dl_inhibit_cache. - * elf/dl-load.c (_dl_map_object): Use it. - * elf/Makefile: Define SYSCONFDIR when building rtld.c. - -2012-04-09 Joseph Myers - - [BZ #13872] - * sysdeps/i386/fpu/e_powl.S (p78): New object. - (__ieee754_powl): Saturate large exponents rather than testing for - overflow of y*log2(x). - * sysdeps/x86_64/fpu/e_powl.S: Likewise. - * math/libm-test.inc (pow_test): Do not permit spurious overflow - exceptions. - - [BZ #11521] - * math/s_ctan.c: Include . - (__ctan): Avoid internal overflow or cancellation in calculating - denominator. - * math/s_ctanf.c: Likewise. - * math/s_ctanl.c: Likewise. - * math/s_ctanh.c: Likewise. - * math/s_ctanhf.c: Likewise. - * math/s_ctanhl.c: Likewise. - * math/libm-test.inc (ctan_test): Add more tests. - (ctanh_test): Likewise. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2012-04-09 Andreas Jaeger - - [BZ #6894] - * manual/filesys.texi (Directory Entries): Mention that d_namlen - is an optional BSD extension. - - [BZ #10254] - * manual/stdio.texi (Opening Streams): Document additional fopen - parameters. - -2012-04-09 Roland McGrath - - * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber - %eax without telling the compiler. - -2012-04-09 Carlos O'Donell - - [BZ # 13963] - * manual/install.texi: Use sourceware.org. - -2012-04-09 Joseph Myers - - [BZ #13873] - * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables. - (__ieee754_pow): Generate overflow and underflow using huge*huge - and tiny*tiny rather than just returning constant infinity or zero - for large exponents. - * math/libm-test.inc (pow_test): Require overflow exceptions for - applicable cases of large exponents. - - [BZ #706] - * sysdeps/i386/fpu/e_pow.S (p10): New object. - (__ieee754_pow): Use iterative multiplication algorithm only for - integer exponents with absolute value below 1024. Check for odd - integer exponents when using algorithm for real exponents. - * math/libm-test.inc (pow_test): Add more tests. - * sysdeps/x86_64/fpu/libm-test-ulps: Update. - -2012-04-08 Joseph Myers - - [BZ #13705] - * math/libm-test.inc (exp_test): Do not allow overflow exception - on underflow test. - -2012-04-08 Aurelien Jarno - - [BZ #13705] - * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard - instead of __kernel_standard_f. - -2012-04-08 Mike Frysinger - - * sysdeps/i386/i686/memset_chk.S: Update copyright year. - * sysdeps/x86_64/memset_chk.S: Likewise. - -2012-04-08 Andreas Jaeger - - [BZ #10153] - * manual/startup.texi (Environment Access): Describe return value - for putenv and setenv. - - [BZ #6895] - * manual/filesys.texi (Directory Entries): Add description for - DT_LNK. - - [BZ #6890] - * manual/filesys.texi (Directory Entries): Clarify that it's file - system not operating system in the description of DT_UNKNOWN. - - [BZ #6578] - * manual/syslog.texi (closelog): Fix reference, it's openlog. - -2012-04-08 Stephen Compall - - [BZ #6649] - * manual/llio.texi (Opening and Closing Files): Add cross - reference to explain mode argument. - -2012-04-07 Mike Frysinger - - * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED. - * sysdeps/x86_64/memset_chk.S: Likewise. - -2012-04-07 David S. Miller - - * elf/elf.h (R_SPARC_WDISP10): Define. - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle - R_SPARC_SIZE32. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle - R_SPARC_SIZE64 and R_SPARC_H34. - -2012-04-07 Carlos O'Donell - - * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify - conditions and remove no longer applicable assertion. - -2012-04-06 H.J. Lu - - * bits/byteswap.h: Include . - (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2. - (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2. - -2012-04-06 H.J. Lu - - * bits/byteswap.h (__bswap_16): Removed. - Include to get __bswap_16. - * sysdeps/i386/bits/byteswap.h: Likewise. - * sysdeps/s390/bits/byteswap.h: Likewise. - * sysdeps/x86_64/bits/byteswap.h: Likewise. - * bits/byteswap-16.h: New file. - * sysdeps/i386/bits/byteswap-16.h: Likewise. - * sysdeps/s390/bits/byteswap-16.h: Likewise. - * sysdeps/x86_64/bits/byteswap-16.h: Likewise. - * string/Makefile (headers): Add bits/byteswap-16.h. - -2012-04-06 Paul Pluzhnikov - - [BZ #13895] - * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid - extra indirection. - * nss/Makefile (tests-static, tests): Add tst-nss-static. - * nss/tst-nss-static.c: New. - -2012-04-06 Robert Millan - - [BZ #6486] - * manual/llio.texi (File Position Primitive): lseek - refers to WHENCE when it really means OFFSET. - -2012-04-06 Andreas Jaeger - - * nss/nss_db/db-initgroups.c: Include for strlen and - strncmp declarations. - - * abilist/libc.abilist: Add __poll and __ppoll. - -2012-04-05 David S. Miller - - * scripts/check-local-headers.sh: Accept a host triplet in the - path matched by the exclude regexp. - - * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one - definition. - * sysdeps/powerpc/powerpc32/dl-machine.h - (ELF_MACHINE_PLTREL_OVERLAP): Delete. - * sysdeps/s390/s390-32/dl-machine.h - (ELF_MACHINE_PLTREL_OVERLAP): Likewise. - * sysdeps/sparc/sparc32/dl-machine.h - (ELF_MACHINE_PLTREL_OVERLAP): Likewise. - * sysdeps/sparc/sparc64/dl-machine.h - (ELF_MACHINE_PLTREL_OVERLAP): Likewise. - - * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off - lazy binding. - * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore - undefined symbol errors. - - * elf/rtld.c (dl_main): Skip VDSO when checking for unused - DT_NEEDED entries. - -2012-04-05 Michael Matz - - [BZ #13592] - * sysdeps/x86_64/memset.S: Fix size paramater comparisions. - -2012-04-05 Andreas Jaeger - - [BZ #13908] - * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix - comment. - -2012-04-05 Nobuhiro Iwamatsu - - * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value - which ROUND is no valid rounding mode. - -2012-04-05 Nobuhiro Iwamatsu - - * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which - read again. - * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise. - -2012-04-05 Nobuhiro Iwamatsu - - * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce - an exception using FPU order intentionally. - -2012-04-05 Nobuhiro Iwamatsu - - * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file. - * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file. - * sysdeps/sh/sh4/fpu/fegetexcept.c: New file. - * sysdeps/sh/sh4/fpu/feupdateenv.c: New file. - -2012-04-05 Simon Josefsson - - [BZ #12340] - * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of - EINVAL when BUFLEN is too smal. - -2012-04-05 Thomas Schwinge - - [BZ #13553] - * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile. - * sysdeps/mach/powerpc/machine-lock.h: Likewise. - -2012-04-03 Andreas Jaeger - - [BZ #13938] - * manual/setjmp.texi (System V contexts): Fix sentence. - - [BZ #13926] - * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64): - New macro for this case. - [!__GNUC__] (__bswap_64): New inline function for this case. - * sysdeps/x86_64/bits/byteswap.h: Likewise. - * bits/byteswap.h: Likewise. - * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use - ull, guard with __GLIBC_HAVE_LONG_LONG. - - * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with - __GLIBC_HAVE_LONG_LONG. - - * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG. - Include for __GLIBC_HAVE_LONG_LONG. - -2012-04-02 Tulio Magno Quites Machado Filho - - [BZ #13691] - * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using - inptr and inend, rather than using last_ch. - -2012-04-02 David S. Miller - - With help from Paul Eggert, Carlos O'Donell, and Roland McGrath. - * stdio-common/printf-parse.h (read_int): Change return type to - 'int', return -1 on INT_MAX overflow. - * stdio-common/vfprintf.c (vfprintf): Validate width and precision - against overflow of INT_MAX. Set errno to EOVERFLOW when 'done' - overflows INT_MAX. Check for overflow of in-format-string precision - values properly. Use EOVERFLOW rather than ERANGE throughout. Use - SIZE_MAX not INT_MAX for integer overflow test. - * stdio-common/printf-parsemb.c: If read_int signals an overflow, - skip the construct in the format string but do not record anything. - * stdio-common/bug22.c: Adjust to test both width/prevision - INT_MAX overflow as well as total length INT_MAX overflow. Check - explicitly for proper errno values. - -2012-04-02 Thomas Schwinge - - * string/test-memcmp.c [! WIDE]: #include for CHAR_MIN, - CHAR_MAX. - * string/test-strcmp.c [! WIDE]: Likewise. - * time/tst-mktime2.c: Likewise for INT_MAX. - * string/test-string.h: #include for MIN. - - * csu/init-first.c (__libc_init_first): Call __ctype_init. - * sysdeps/i386/init-first.c (init): Likewise. - * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise. - * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise. - * sysdeps/sh/init-first.c (init): Likewise. - -2012-04-01 Ulrich Drepper - - * po/ru.po: Update from translation team. - * po/vi.po: Likewise. - -2012-03-31 Siddhesh Poyarekar - - * resolv/nss_dns/dns-host.c: Merge copyright years. - -2012-03-22 Liubov Dmitrieva - - * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update. - Optimize memcpy with prefetch if - DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and - src, dst pointers have unequal 16 byte alignments. - -2012-03-30 Siddhesh Poyarekar - - [BZ #13928] - * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl - from a CNAME entry and return the minimum ttl for the query. - (gaih_getanswer_slice): Likewise. - -2012-03-30 Jeff Law - - * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses - due to long keys. - * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise. - * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise. - - * resolv/nss_dns/dns-host.c: Update copyright year. - -2012-03-30 Ulrich Drepper - - * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two - requests to save a system call. Fix check that all bytes are sent. - - * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up - comments for sendmmsg. - -2012-03-30 Tulio Magno Quites Machado Filho - - [BZ #13691] - * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings - with only 1 character between 0x0041 and 0x01b0. - * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs. - * wcsmbs/tst-mbsnrtowcs.c: New file. - -2012-03-29 David S. Miller - - * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize - small copies by hand. - -2012-03-28 Siddhesh Poyarekar - - [BZ #13761] - * nis/nss_compat/compat-initgroups.c (getgrent_next_nss) - (_nss_compat_initgroups_dyn): Fall back to malloc/free for large - group memberships. - -2012-03-28 David S. Miller - - * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub - that branches into memcpy. - * sysdeps/sparc/sparc64/memcpy.S: Likewise. - * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise. - * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise. - * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise. - * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch - bits. - * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy - implementation too. - * sysdeps/sparc/mempcpy.S: New file. - - * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to - the IFUNC routine in the libc case. - * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise. - - * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file. - * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file. - * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file. - * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file. - * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file. - * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file. - * sysdeps/sparc/sparc64/rtld-memset.c: New file. - * sysdeps/sparc/sparc64/rtld-memcpy.c: New file. - - * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main - loop to 256 bytes instead of 64 bytes and fix test signedness. - - * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here.... - * sysdeps/sparc/sparc32/Makefile: rather than here... - * sysdeps/sparc/sparc64/Makefile: and here. - -2012-03-28 Ulrich Drepper - - * malloc/mallocbug.c: Avoid warnings about unused variables. - -2012-02-22 Siddhesh Poyarekar - - [BZ #13760] - * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno - in the right place. Discard and retry query if response is - larger than input buffer size. - -2012-03-28 Joseph Myers - - [BZ #369] - [BZ #2678] - [BZ #3866] - * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of - x for large integer exponent. - * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise. - * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust - sign of result as needed afterwards. - * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise. - * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of - result for underflowing pow the same as for overflow. - (__kernel_standard_l): Handle powl overflow and underflow here - rather than calling __kernel_standard. - * math/libm-test.inc (pow_test): Add more tests. - - [BZ #3868] - [BZ #13879] - [BZ #13910] - [BZ #13911] - [BZ #13912] - [BZ #13913] - [BZ #13915] - [BZ #13916] - [BZ #13917] - [BZ #13918] - [BZ #13919] - [BZ #13920] - [BZ #13921] - * sysdeps/generic/math_private.h (__kernel_standard_l): Declare. - * sysdeps/ieee754/k_standard.c: Include . - (__kernel_standard_l): New function. - * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of - __kernel_standard. - * math/w_acosl.c (__acosl): Likewise. - * math/w_asinl.c (__asinl): Likewise. - * math/w_atan2l.c (__atan2l): Likewise. - * math/w_atanhl.c (__atanhl): Likewise. - * math/w_coshl.c (__coshl): Likewise. - * math/w_exp10l.c (__exp10l): Likewise. - * math/w_exp2l.c (__exp2l): Likewise. - * math/w_fmodl.c (__fmodl): Likewise. - * math/w_hypotl.c (__hypotl): Likewise. - * math/w_j0l.c (__j0l, __y0l): Likewise. - * math/w_j1l.c (__j1l, __y1l): Likewise. - * math/w_jnl.c (__jnl, __ynl): Likewise. - * math/w_lgammal.c (__lgammal): Likewise. - * math/w_log10l.c (__log10l): Likewise. - * math/w_log2l.c (__log2l): Likewise. - * math/w_logl.c (__logl): Likewise. - * math/w_powl.c (__powl): Likewise. - * math/w_remainderl.c (__remainderl): Likewise. - * math/w_scalbl.c (sysv_scalbl): Likewise. - * math/w_sinhl.c (__sinhl): Likewise. - * math/w_sqrtl.c (__sqrtl): Likewise. - * math/w_tgammal.c (__tgammal): Likewise. - * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise. - * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise. - * math/libm-test.inc (acos_test): Add more tests. - (acosh_test): Likewise. - (asin_test): Likewise. - (atanh_test): Likewise. - (exp_test): Likewise. - (exp10_test): Likewise. - (exp2_test): Likewise. - (expm1_test): Likewise. - (lgamma_test): Likewise. - (log_test): Likewise. - (log10_test): Likewise. - (log1p_test): Likewise. - (log2_test): Likewise. - (pow_test): Do not allow some spurious overflow exceptions. - (sqrt_test): Add more tests. - (tgamma_test): Likewise. - (y0_test): Likewise. - (y1_test): Likewise. - (yn_test): Likewise. - -2012-03-27 Anton Blanchard - - * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and - MAP_HUGETLB. - * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise. - -2012-03-27 David S. Miller - - * conform/Makefile: Run run-conformtest.sh using $(BASH). - - * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before - have-as-vis3 check. - -2012-03-27 Andreas Jaeger - - * sysdeps/x86_64/elf/configure.in: Moved to ... - * sysdeps/x86_64/configure.in: ... here. - * sysdeps/x86_64/elf/start.S: Moved to ... - * sysdeps/x86_64/start.S: ... here. - * sysdeps/x86_64/elf/configure: Delete. - - * sysdeps/x86_64/configure.in: Merge contents from - sysdeps/i386/configure.in (without i686 check). - - * sysdeps/i386/elf/Versions: Merge into ... - * sysdeps/i386/Versions: ... this. - * sysdeps/i386/elf/Versions: Delete file. - * sysdeps/i386/elf/start.S: Moved to ... - * sysdeps/i386/start.S: ...here. - * sysdeps/i386/elf/configure.in: Merge into... - * sysdeps/i386/configure.in: ...here. - * sysdeps/i386/elf/configure.in: Delete file. - * sysdeps/i386/elf/configure: Delete file. - - * sysdeps/generic/elf/backtracesyms.c: Moved to ... - * debug/backtracesyms.c: ... here. - * sysdeps/generic/elf/backtracesymsfd.c: Moved to ... - * debug/backtracesymsfd.c: ... here. - * sysdeps/generic/elf/ifunc-sel.h: Moved to ... - * sysdeps/generic/ifunc-sel.h: ... here. - - * sysdeps/unix/i386/start.c: Delete file. - * sysdeps/unix/sparc/start.c: Delete file. - * sysdeps/unix/start.c: Delete file. - - * sysdeps/sh/elf/configure.in: Moved to ... - * sysdeps/sh/configure.in: ... here. - * sysdeps/sh/elf/start.S: Moved to ... - * sysdeps/sh/start.S: ... here. - * sysdeps/sh/elf/configure: Delete file. - - * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ... - * sysdeps/powerpc/powerpc64/bzero.S: ... here. - * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ... - * sysdeps/powerpc/powerpc64/entry.h: ... here. - * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ... - * sysdeps/powerpc/powerpc64/start.S: here. - * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ... - * sysdeps/powerpc/powerpc64/Makefile: ... this. - * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ... - * sysdeps/powerpc/powerpc64/configure.in: ... this. - * sysdeps/powerpc/powerpc64/elf/configure: Delete file. - - * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ... - * sysdeps/powerpc/powerpc32/bzero.S: ... here. - * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ... - * sysdeps/powerpc/powerpc32/start.S: ... here. - * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ... - * sysdeps/powerpc/powerpc32/configure.in: ... this. - * sysdeps/powerpc/powerpc32/elf/configure: Delete file. - - * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ... - * sysdeps/powerpc/ifunc-sel.h: ... here. - * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ... - * sysdeps/powerpc/rtld-global-offsets.sym: ... here. - - * sysdeps/sparc/elf/configure.in: Moved to ... - * sysdeps/sparc/configure.in: ... here. - * sysdeps/sparc/elf/configure: Delete file. - * sysdeps/sparc/sparc32/elf/start.S: Moved to ... - * sysdeps/sparc/sparc32/start.S: ... here. - * sysdeps/sparc/sparc64/elf/start.S: Moved to ... - * sysdeps/sparc/sparc64/start.S: ... here. - * sysdeps/sparc/sparc32/elf/Makefile: Merged into ... - * sysdeps/sparc/sparc32/Makefile: ... this. - * sysdeps/sparc/sparc64/elf/Makefile: Merged into ... - * sysdeps/sparc/sparc64/Makefile: ... this. - - * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ... - * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here. - * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ... - * sysdeps/s390/s390-32/bsd-setjmp.S: ... here. - * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ... - * sysdeps/s390/s390-32/setjmp.S: ... here. - * sysdeps/s390/s390-32/elf/configure.in: Moved to ... - * sysdeps/s390/s390-32/configure.in: ... here. - * sysdeps/s390/s390-32/elf/configure: Delete file. - * sysdeps/s390/s390-32/elf/start.S: Moved to ... - * sysdeps/s390/s390-32/start.S: ... here. - - * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ... - * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here. - * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ... - * sysdeps/s390/s390-64/bsd-setjmp.S: ... here. - * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ... - * sysdeps/s390/s390-64/setjmp.S: ... here. - * sysdeps/s390/s390-64/elf/configure.in: Moved to ... - * sysdeps/s390/s390-64/configure.in: ... here - * sysdeps/s390/s390-64/elf/configure: Delete file. - * sysdeps/s390/s390-64/elf/start.S: Moved to ... - * sysdeps/s390/s390-64/start.S: ... here. - * sysdeps/s390/s390-64/elf/configure: Delete. - - * configure.in: Remove support for elf directories in sysdeps. - - * configure: Regenerated. - * sysdeps/i386/configure: Regenerated. - * sysdeps/powerpc/powerpc32/configure: Regenerated. - * sysdeps/powerpc/powerpc64/configure: Regenerated. - * sysdeps/s390/s390-32/configure: Regenerated. - * sysdeps/s390/s390-64/configure: Regenerated. - * sysdeps/sh/configure: Regenerated. - * sysdeps/sparc/configure: Regenerated. - * sysdeps/x86_64/configure: Regenerated. - -2012-03-26 Andreas Schwab - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - - * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take - denormal result into account. - -2012-03-25 Roland McGrath - - * posix/confstr.c (confstr): Lift RESTENVS definition to function scope. - Reported by Allan McRae . - -2012-03-23 Jeff Law - - * nss/getnssent.c (__nss_getent): Fix typo. - -2012-03-23 David S. Miller - - * sysdeps/sparc/fpu/libm-test-ulps: Update. - -2012-03-23 H.J. Lu - - * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union - to pad to uint64_t for each field. - (dl_tls_index): Replace unsigned long with uint64_t. - -2012-03-23 Daniel Jacobowitz - Paul Pluzhnikov - - [BZ #6528] - * grp/Makefile (otherlibs): Don't set it. - * inet/Makefile (otherlibs): Likewise. - * login/Makefile (otherlibs): Likewise. - * nscd/Makefile (otherlibs): Likewise. - * posix/Makefile (otherlibs): Likewise. - * pwd/Makefile (otherlibs): Likewise. - * rt/Makefile (otherlibs): Likewise. - * sunrpc/Makefile (otherlibs): Likewise. - * nss/Makefile (otherlibs): Likewise. - Add libnss_files to routines and static-only-routines. - ($(objpfx)getent): Remove rule. - * resolv/Makefile: Add libnss_dns and libresolv to routines and - static-only-routines. - -2012-03-22 Joseph Myers - - [BZ #13892] - * math/s_cexp.c: Include . - (__cexp): Handle exp result overflowing not necessarily - overflowing both real and imaginary parts of result. - * math/s_cexpf.c: Likewise. - * math/s_cexpl.c: Likewise. - * math/libm-test.inc (cexp_test): Add more tests. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2012-03-22 H.J. Lu - - * include/link.h (ELFW): New macro. - * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX). - Replace ELF64_R_TYPE with ELFW(R_TYPE). - -2012-03-22 H.J. Lu - - * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long - with uint64_t. - -2012-03-22 H.J. Lu - - * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward - declaration. - (struct La_x32_retval): Likewise. - -2012-03-22 H.J. Lu - - * sysdeps/x86_64/preconfigure.in: New file. - * sysdeps/x86_64/preconfigure: New generated file. - -2012-03-22 Joseph Myers - - [BZ #13824] - * math/e_exp2l.c: Include . - (__ieee754_exp2l): Handle overflow and underflow cases - separately. Only pass fractional part of argument to - __ieee754_expl. - * math/libm-test.inc (exp2_test): Add more tests. - - * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if - negating x to take absolute value. - * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl): - Likewise. - * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): - Likewise. - * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when - computing low part if x was negated. - * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise. - -2012-03-21 H.J. Lu - - * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and - la_x32_gnu_pltexit. - (pltexit): Cast int_retval to ptrdiff_t. - * elf/tst-auditmod3b.c: Likewise. - * elf/tst-auditmod4b.c: Likewise. - * elf/tst-auditmod5b.c: Likewise. - * elf/tst-auditmod6b.c: Likewise. - * elf/tst-auditmod6c.c: Likewise. - * elf/tst-auditmod7b.c: Likewise. - - * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter - and x32_gnu_pltexit. - - * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of - __ELF_NATIVE_CLASS. - (La_x32_regs): New macro. - (La_x32_retval): Likewise. - (la_x32_gnu_pltenter): New function prototype. - (la_x32_gnu_pltexit): Likewise. - -2012-03-21 Andreas Schwab - - * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct - exponent. - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - - * configure.in (libc_cv_cc_nofma): Check for option to disable - generation of FMA instructions. - * configure: Regenerate. - * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma. - * sysdeps/ieee754/dbl-64/Makefile: New file. - * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines): - Remove brandred-fma4. - (CFLAGS-brandred-fma4.c): Remove. - * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove. - * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't - define. - * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't - define. - -2012-03-21 H.J. Lu - - * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of - LLONG_MAX != LONG_MAX. - (_itoa_word): Use _ITOA_WORD_TYPE on value. - (_fitoa_word): Likewise. - * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of - LLONG_MAX != LONG_MAX. - * stdio-common/_itowa.h: Include <_itoa.h>. - (_itowa_word): Use _ITOA_WORD_TYPE on value. - (_itowa): New macro. Defined only if _ITOA_NEEDED is false. - * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined - only if not defined. - (_ITOA_WORD_TYPE): Likewise. - (_itoa_word): Use _ITOA_WORD_TYPE on value. - Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX. - -2012-03-21 David S. Miller - - * sysdeps/sparc/fpu/libm-test-ulps: Update. - -2012-03-21 H.J. Lu - - * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead - of x86_64 when setting libc_cv_slibdir, libdir and - libc_cv_localedir. - * sysdeps/unix/sysv/linux/configure: Regenerated. - -2012-03-21 Joseph Myers - - * manual/lang.texi (Old Varargs): Remove section. - (How Variadic): Update menu. - (va_start): Do not mention varargs.h. - -2012-03-21 Thomas Schwinge - Joseph Myers - - * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a - link test. - * configure: Regenerated. - -2012-03-21 Thomas Schwinge - - * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp. - * conform/run-conformtest.sh: Pass --tmpdir argument when invoking - conformtest.pl - -2012-03-21 Joseph Myers - - * NOTES: Remove. - * Makefile (files-for-dist): Remove NOTES. - (NOTES): Remove rule. - * README: Don't refer to NOTES. - * manual/creature.texi: Don't include macros.texi. - * manual/intro.texi (creature.texi): Remove comment referring to - NOTES. - - * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro. - * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION. - * configure: Regenerated. - * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use - LIBC_TRY_CC_OPTION. - (libc_cv_as_i686): Likewise. - (libc_cv_cc_avx): Likewise. - (libc_cv_cc_sse2avx): Likewise. - (libc_cv_cc_fma4): Likewise. - (libc_cv_cc_novzeroupper): Likewise. - * sysdeps/i386/configure: Regenerated. - - [BZ #13883] - * sysdeps/i386/fpu/s_cexp.S: Remove. - * sysdeps/i386/fpu/s_cexpf.S: Likewise. - * sysdeps/i386/fpu/s_cexpl.S: Likewise. - * math/libm-test.inc (cexp_test): Add more tests. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2012-03-21 Allan McRae - - * timezone/Makefile: Do not install iso3166.tab and zone.tab - -2012-03-21 Joseph Myers - - [BZ #13871] - * math/w_exp2.c: Do not include . - (o_threshold, u_threshold): Remove. - (__exp2): Calculate result before checking finiteness and calling - __kernel_standard. - * math/w_exp2f.c: Likewise. - * math/w_exp2l.c: Likewise. - * math/libm-test.inc (exp2_test): Require overflow exception for - 1e6 input. - - [BZ #3866] - * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the - range of signed 64-bit integers before using fistpll. Remove - checks for whether integers fit in mantissa bits. - * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside - the range of signed 32-bit integers before using fistpl. Remove - checks for whether integers fit in mantissa bits. - * sysdeps/i386/fpu/e_powl.S (p64): New object. - (__ieee754_powl): Test for y outside the range of signed 64-bit - integers before using fistpll. Reduce 64-bit values to 63-bit - ones as needed. - * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure - divide-by-zero is raised for zero to large negative powers. - * sysdeps/x86_64/fpu/e_powl.S (p64): New object. - (__ieee754_powl): Test for y outside the range of signed 64-bit - integers before using fistpll. Reduce 64-bit values to 63-bit - ones as needed. - * math/libm-test.inc (pow_test): Add more tests. - -2012-03-20 H.J. Lu - - * debug/backtracesymsfd.c: Include <_itoa.h> instead of - . - * debug/segfault.c: Likewise. - * elf/dl-cache.c: Likewise. - * elf/dl-minimal.c: Likewise. - * elf/dl-misc.c: Likewise. - * elf/dl-sysdep.c: Likewise. - * elf/dl-version.c: Likewise. - * elf/rtld.c: Likewise. - * hurd/hurdsock.c: Likewise. - * hurd/lookup-retry.c: Likewise. - * malloc/malloc.c: Likewise. - * malloc/mtrace.c: Likewise. - * nscd/nscd_getgr_r.c: Likewise. - * nscd/nscd_getpw_r.c: Likewise. - * nscd/nscd_getserv_r.c: Likewise. - * posix/getopt_init.c: Likewise. - * posix/wordexp.c: Likewise. - * stdio-common/_itoa.c: Likewise. - * stdio-common/printf_fphex.c: Likewise. - * stdio-common/vfprintf.c: Likewise. - * string/_strerror.c: Likewise. - * sysdeps/generic/elf/backtracesymsfd.c: Likewise. - * sysdeps/i386/i686/hp-timing.h: Likewise. - * sysdeps/mach/_strerror.c: Likewise. - * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise. - * sysdeps/mach/hurd/sethostid.c: Likewise. - * sysdeps/mach/hurd/xmknodat.c: Likewise. - * sysdeps/mach/xpg-strerror.c: Likewise. - * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise. - * sysdeps/powerpc/powerpc32/register-dump.h: Likewise. - * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise. - * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise. - * sysdeps/powerpc/powerpc64/register-dump.h: Likewise. - * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise. - * sysdeps/sparc/sparc64/hp-timing.h: Likewise. - * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise. - * sysdeps/unix/sysv/linux/futimes.c: Likewise. - * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise. - * sysdeps/unix/sysv/linux/ptsname.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise. - * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise. - * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise. - * sysdeps/unix/sysv/linux/ttyname.c: Likewise. - * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise. - - * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h". - - * stdio-common/_itoa.h: Moved to ... - * sysdeps/generic/_itoa.h: Here. - - * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h". - - * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h> - instead of "_itoa.h" and "_itowa.h". - * stdio-common/vfprintf.: Likewise. - -2012-03-20 H.J. Lu - - * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include - . - (__signbitf): Check __x86_64__ instead of __WORDSIZE. - (__signbit): Likewise. - (llrintf): Likewise. - (llrint): Likewise. - -2012-03-20 H.J. Lu - - * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with - __WORDSIZE != 64. - -2012-03-20 Joseph Myers - - * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and - OVERFLOW_EXCEPTION_OK. - * math/libm-test.inc ("Philosophy"): Update comment about - exception testing. - (OVERFLOW_EXCEPTION): Define. - (OVERFLOW_EXCEPTION_OK): Likewise. - (INVALID_EXCEPTION_OK): Renumber. - (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise. - (IGNORE_ZERO_INF_SIGN): Likewise. - (test_exceptions): Handle FE_OVERFLOW. - (exp10_test): Expect overflow exceptions. - (exp2_test): Likewise. - (expm1_test): Likewise. - (nextafter_test): Likewise. - (pow_test): Likewise. - (scalbn_test): Likewise. - (scalbln_test): Likewise. - -2012-03-19 H.J. Lu - - * sysdeps/x86_64/bits/atomic.h - (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on - 64bit integer. - (atomic_exchange_acq): Likewise. - (__arch_exchange_and_add_body): Likewise. - (__arch_add_body): Likewise. - (atomic_add_negative): Likewise. - (atomic_add_zero): Likewise. - -2012-03-19 H.J. Lu - - * sysdeps/x86_64/fpu/bits/fenv.h: Don't include . - (fenv_t): Check __x86_64__ instead of __WORDSIZE. - -2012-03-19 H.J. Lu - - * sysdeps/x86_64/bits/mathdef.h: Don't include . - Check __x86_64__ instead of __WORDSIZE. - -2012-03-19 H.J. Lu - - * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32. - -2012-03-19 David S. Miller - - * sysdeps/sparc/fpu/libm-test-ulps: Update. - - * sysdeps/sparc/fpu/fenv_private.h: New file. - * sysdeps/sparc/fpu/math_private.h: Use it. - (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl): - Remove. - (libc_feholdexcept_setround, libc_feholdexcept_setroundf) - (libc_feholdexcept_setroundl): Remove. - (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): - Remove. - (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove. - (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove. - -2012-03-19 H.J. Lu - - * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use - int64_t instead of long int. - (INSERT_WORDS64): Likewise. - -2012-03-19 H.J. Lu - - * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast - _Unwind_GetCFA return to _Unwind_Ptr first. - -2012-03-19 Joseph Myers - - [BZ #13629] - * math/s_clog.c: Include . - (__clog): Scale large or subnormal inputs. - * math/s_clogf.c: Likewise. - * math/s_clogl.c: Likewise. - * math/s_clog10.c: Include . - (M_LOG10_2): Define. - (__clog10): Scale large or subnormal inputs. - * math/s_clog10f.c: Likewise. - * math/s_clog10l.c: Likewise. - * math/libm-test.inc (clog_test): Add more tests. - (clog10_test): Likewise. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - [BZ #11451] - * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large - x and y. - * math/libm-test.inc (atan2_test): Add another test. - - * Makerules (common-objdir-compile): Remove. - * sysdeps/unix/Makefile (config-generated): Do not add - $(unix-generated) to variable. - [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable. - [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h): - Remove rule. - [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim): - Likewise. - [generic bits/local_lim.h] (before-compile): Do not append to - variable. - [generic bits/local_lim.h] (common-generated): Likewise. - [generic sys/param.h] (before-compile): Do not append to variable. - [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule. - [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise. - [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise. - [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not - include. - [generic sys/param.h] (sys/param.h-includes): Remove variable. - [generic sys/param.h] (sys/param.h-includes): Remove rule. - [generic sys/param.h] ($(addprefix - $(common-objpfx),$(sys/param.h-includes))): Likewise. - [generic sys/param.h] (common-generated): Do not append to - variable. - [generic sys/param.h] (sysdep_headers): Likewise. - [generic bits/errno.h] (before-compile): Do not append to - variable. - [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove - rule. - [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise. - [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise. - [generic bits/errno.h] ($(common-objpfx)errnos): Likewise. - [generic bits/errno.h] (common-generated): Do not append to - variable. - [generic bits/ioctls.h] (before-compile): Do not append to - variable. - [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove - rule. - [generic bits/ioctls.h] (ioctl-includes): Remove variable. - [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise. - [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove - rule. - [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise. - [generic bits/ioctls.h] (bits_termios.h): Remove variable. - [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule. - [generic bits/ioctls.h] (common-generated): Do not append to - variable. - [generic sys/syscall.h] (syscall.h): Remove variable. - [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove - rule. - [generic sys/syscall.h] (before-compile): Do not append to - variable. - [generic sys/syscall.h] (common-generated): Likewise. - * sysdeps/unix/errnos-tmpl.c: Remove file. - * sysdeps/unix/errnos.awk: Likewise. - * sysdeps/unix/ioctls-tmpl.c: Likewise. - * sysdeps/unix/ioctls.awk: Likewise. - * sysdeps/unix/mk-local_lim.c: Likewise. - * sysdeps/unix/snarf-ioctls: Likewise. - -2012-03-19 Richard Henderson - - * sysdeps/i386/fpu/fenv_private.h: New file. - * sysdeps/i386/fpu/math_private.h: Use it. - (math_opt_barrier, math_force_eval): Remove. - (libc_feholdexcept_setround_53bit): Remove. - (libc_feupdateenv_53bit): Remove. - * sysdeps/x86_64/fpu/math_private.h: Likewise. - (math_opt_barrier, math_force_eval): Remove. - (libc_feholdexcept): Remove. - (libc_feholdexcept_setround): Remove. - (libc_fetestexcept, libc_fesetenv): Remove. - (libc_feupdateenv_test): Remove. - (libc_feupdateenv, libc_feholdsetround): Remove. - (libc_feresetround): Remove. - - * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv. - * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise. - - * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New. - (libc_feupdateenv_test, libc_feupdateenv_testf): New. - (libc_feupdateenv_testl): New. - * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New. - (libc_feupdateenv_testf): New. - (libc_feupdateenv): Use libc_feupdateenv_test. - * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test. - * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise. - - * sysdeps/generic/math_private.h (libc_feholdsetround): New. - (libc_feholdsetroundf, libc_feholdsetroundl): New. - (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New. - (libc_feresetround_noex): New. - (libc_feresetround_noexf): New. - (libc_feresetround_noexl): New. - (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New. - (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New. - (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New. - * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use - SET_RESTORE_ROUND. - * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise. - * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT. - (__cos): Likewise. - * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise. - * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use - SET_RESTORE_ROUND_NOEX. - * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use - SET_RESTORE_ROUND_NOEXF. - * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise. - * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New. - (libc_feholdsetroundf): New. - (libc_feresetround, libc_feresetroundf): New. - - * sysdeps/i386/fpu/math_private.h: Include , . - (libc_feholdexcept_setround_53bit): Convert from macro to function. - (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED. - - * sysdeps/generic/math_private.h: Include . - (default_libc_feholdexcept): New. - (default_libc_feholdexcept_setround): New. - (default_libc_fesetenv, default_libc_feupdateenv): New. - (libc_feholdexcept): Only define if undefined. - (libc_feholdexceptf, libc_feholdexceptl): Likewise. - (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise. - (libc_feholdexcept_setroundl): Likewise. - (libc_feholdexcept_setround_53bit): Likewise. - (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise. - (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise. - (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise. - (libc_feupdateenv_53bit): Likewise. - * sysdeps/x86_64/fpu/math_private.h: Include . - (libc_feholdexcept): Convert from macro to inline function. - (libc_feholdexcept_setround, libc_fetestexcept): Likewise. - (libc_fesetenv, libc_feupdateenv): Likewise. - - * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if - not previously defined. - (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise. - (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise. - (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file. - * sysdeps/ieee754/flt-32/math_private.h: New file. - * sysdeps/x86_64/fpu/math_private.h: Move the include_next of - math_private.h below SET_FLOAT_WORD. - (__isnan, __isinf_ns, __finite): Remove. - (__isnanf, __isinf_nsf, __finitef): Remove. - -2012-03-18 Andreas Schwab - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - -2012-03-17 David S. Miller - - [BZ #6471] - * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry - for 2.16. - -2012-03-16 David S. Miller - - * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid - warnings. - - [BZ #6471] - * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors - properly. - * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file. - * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to - sysdep_routines when subdir is sysvipc. - * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new - __getshmlba helper. - - * sysdeps/sparc/fpu/libm-test/ulps: Update. - -2012-03-16 H.J. Lu - - * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under - [__LP64__]. - -2012-03-16 H.J. Lu - - * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ... - * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This. - (__lround): Renamed to ... - (__llround): This. Replace long int with long long int. - Define lround functions as aliases of llround functions. - * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file. - -2012-03-16 H.J. Lu - - * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext): - Use greg_t on sp. Use unsigned int on idx_uc_link. Cast - adresses to uintptr_t. Replace "long int" and "unsigned long - int" with "greg_t" on va_arg. - -2012-03-16 H.J. Lu - - * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro. - * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32. - - * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file): - Move e_machine check before EI_CLASS check. Handle x32 - libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined. - * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define - SKIP_EM_IA_64 and include - . - - * sysdeps/unix/sysv/linux/x86_64/dl-cache.h: - Don't include . - (add_system_dir): New macro. - - * sysdeps/unix/sysv/linux/x86_64/ldconfig.h - (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2. - -2012-03-16 Joseph Myers - - [BZ #2551] - [BZ #2552] - [BZ #2553] - [BZ #2554] - [BZ #2562] - [BZ #2563] - [BZ #2565] - [BZ #2566] - [BZ #2576] - * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm. - (y0): Likewise. - * math/w_j0f.c (j0f): Likewise. - (y0f): Likewise. - * math/w_j0l.c (__j0l): Likewise. - (__y0l): Likewise. - * math/w_j1.c (j1): Likewise. - (y1): Likewise. - * math/w_j1f.c (j1f): Likewise. - (y1f): Likewise. - * math/w_j1l.c (__j1l): Likewise. - (__y1l): Likewise. - * math/w_jn.c (jn): Likewise. - (yn): Likewise. - * math/w_jnf.c (jnf): Likewise. - (ynf): Likewise. - * math/w_jnl.c (__jnl): Likewise. - (__ynl): Likewise. - * math/libm-test.inc (j0_test): Add more tests. - (j1_test): Likewise. - (jn_test): Likewise. Add trailing semicolon to existing test. - (y0_test): Likewise. - (y1_test): Likewise. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - [BZ #13851] - [BZ #13854] - * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use - libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit. - * sysdeps/ieee754/ldbl-96/k_tanl.c: New file. - * sysdeps/ieee754/ldbl-96/s_tanl.c: Include . - (__tanl): Set errno for infinite argument. - * sysdeps/i386/fpu/mptan.c: Remove. - * sysdeps/i386/fpu/s_tan.S: Likewise. - * sysdeps/i386/fpu/s_tanl.S: Likewise. - * sysdeps/x86_64/fpu/k_tanl.c: Likewise. - * sysdeps/x86_64/fpu/s_tanl.S: Likewise. - * math/libm-test.inc (tan_test): Add more tests and enable more - tests for double and long double. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2012-03-16 Jan Kratochvil - - * sysdeps/x86_64/elf/start.S: Include . - (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc. - -2012-03-16 Roland McGrath - - * aclocal.m4 (LIBC_PRECONFIGURE): New macro. - * configure.in: Use it for both main tree and add-ons. - * configure: Regenerated. - -2012-03-16 H.J. Lu - - * time/offtime.c (__offtime): Use time_t on days, rem, y and yg. - -2012-03-16 Joseph Myers - - * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program - in comment. - - [BZ #13851] - * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file. - * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise. - * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise. - * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for - infinite argument. - * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise. - * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__ - != 0 for prec == 2. - * sysdeps/i386/fpu/e_rem_pio2l.c: Remove. - * sysdeps/i386/fpu/k_rem_pio2.c: Likewise. - * sysdeps/i386/fpu/s_cosl.S: Likewise. - * sysdeps/i386/fpu/s_sincosl.S: Likewise. - * sysdeps/i386/fpu/s_sinl.S: Likewise. - * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise. - * sysdeps/x86_64/fpu/k_cosl.c: Likewise. - * sysdeps/x86_64/fpu/k_sinl.c: Likewise. - * sysdeps/x86_64/fpu/s_cosl.S: Likewise. - * sysdeps/x86_64/fpu/s_sincosl.S: Likewise. - * sysdeps/x86_64/fpu/s_sinl.S: Likewise. - * math/libm-test.inc (cos_test): Add more tests and enable more - tests for long double. - (sin_test): Likewise. - (sincos_test): Likewise. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2012-03-16 David S. Miller - - * sysdeps/sparc/fpu/math_private.h: New file. - -2012-03-15 David S. Miller - - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New - file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New - file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf - sysdep routines. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise. - - * sysdeps/sparc/sparc32/fpu/s_fma.c: New file. - * sysdeps/sparc/sparc64/fpu/s_fma.c: New file. - - * sysdeps/sparc/sparc-ifunc.h: New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use - sparc-ifunc.h - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: - Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: - Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: - Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: - Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: - Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise. - * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise. - -2012-03-15 Andreas Schwab - - * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of - scaling. - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - -2012-03-15 Andreas Jaeger - - [BZ #13852] - * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the - ieee754/flt-32 implementation for sin, cos and sincos. - * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise. - * sysdeps/i386/fpu/s_cosf.S: Likewise. - * sysdeps/i386/fpu/s_sincosf.S: Likewise. - * sysdeps/i386/fpu/s_sinf.S: Likewise. - * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the - ieee754/flt-32 implementation for tan. - - * math/libm-test.inc (cos_test): Enable some large input tests for - float as well - (sin_test): Likewise. - (sincos_test): Likewise. - (tan_test): Add tests for large input. - - * sysdeps/i386/fpu/libm-test-ulps: Update. - -2012-03-15 Andreas Jaeger - - [BZ #13658] - * math/libm-test.inc (cos_test): Add more test cases. - (sin_test): Likewise. - (sincos_test): Likewise. - -2012-03-15 Andreas Jaeger - - [BZ #13837] - * math/libm-test.inc (cos_test): Add a test case for large input - value. - (sin_test): Likewise. - (sincos_test): Likewise. - -2012-03-15 Andreas Jaeger - Joseph Myers - - [BZ #13658] - * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that - x86-64 and i386 use the iee754/dbl-64 sin and cos implementation. - * sysdeps/i386/fpu/branred.c: Likewise. - * sysdeps/i386/fpu/dosincos.c: Likewise. - * sysdeps/i386/fpu/mpa.c: Likewise. - * sysdeps/i386/fpu/s_cos.S: Likewise. - * sysdeps/i386/fpu/s_sin.S: Likewise. - * sysdeps/i386/fpu/s_sincos.S: Likewise. - * sysdeps/i386/fpu/sincos32.c: Likewise. - - * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit): - Define. - (libc_feupdateenv_53bit): Define. - * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit): - Define. - (libc_feupdateenv_53bit): Define. - - * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in - 53 bit (without extend i386 double precision). - - * math/libm-test.inc (sincos_test): Add tests for large input. - (sin): Likewise. - (cos): Likewise. - - * sysdeps/i386/fpu/libm-test-ulps: Update ULPs. - -2012-03-15 Andreas Schwab - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - -2012-03-15 David S. Miller - - * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file. - * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file. - * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file. - * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New - file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New - file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New - file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New - file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3 - fmin/fmax sysdep routines. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise. - -2012-03-14 David S. Miller - - * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3 - routines. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New - file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New - file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New - file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New - file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New - file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New - file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New - file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New - file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New - file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S: - New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New - file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New - file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New - file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New - file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New - file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new - VIS3 routines. - - * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies: - New file. - - * sysdeps/sparc/fpu/libm-test-ulps: Update. - - * sysdeps/sparc/configure.in: New file. - * sysdeps/sparc/configure: Generate. - * configure.in (libc_cv_sparc_as_vis3): Substitute. - * configure: Regenerate. - * config.h.in (HAVE_AS_VIS3_SUPPORT): New. - * config.make.in (have-as-vis3): New. - * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is - available use -Av9d instead of -Av9a. - * sysdeps/sparc/sparc64/Makefile: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S: - New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New - file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S: - New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New - file. - * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file. - * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file. - - * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use - fzeros/fnegs to load 0x80000000 into a float register instead of - using the stack. - * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise. - -2012-03-14 Joseph Myers - - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add - bits/syscall.h. - ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h. - ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d. - ($(inst_includedir)/bits/syscall.h): Remove rule. - ($(objpfx)bits/syscall.d): Include instead of - $(objpfx)syscall-list.d. - (generated): Change syscall-list.h and syscall-list.d to - bits/syscall.h and bits/syscall.d. - -2012-03-14 Roland McGrath - - [BZ #13846] - * manual/llio.texi (Memory-mapped I/O): Fix wrong function name. - -2012-03-14 Joseph Myers - - [BZ #13841] - * math/s_csqrt.c: Include . - (__csqrt): Scale large or subnormal inputs. - * math/s_csqrtf.c: Likewise. - * math/s_csqrtl.c: Likewise. - * math/libm-test.inc (csqrt_test): Add more tests. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - [BZ #13840] - * math/libm-test.inc (hypot_test): Add more tests. - -2012-03-13 David S. Miller - - [BZ #13840] - * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use - double-precision for the calculation instead of scaling. - -2012-03-13 Joseph Myers - - * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not - manipulate bits before adding and subtracting TWO52[sx]. - * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint): - Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise. - -2012-03-13 David S. Miller - - * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling. - * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete. - * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include - rtld-global-offsets.h - * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise. - - * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for - large parameters. - - * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file. - - * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall - 'err' in the ifdef scope in which it is actually used. - - * nss/nss_db/db-init.c: Include string.h - -2012-03-12 David S. Miller - - * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix - masking out of the most significant byte of random value used. - * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): - Fix coding style in previous change. - - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later. - (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify - expression. - (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and - later. - -2012-03-11 David S. Miller - - * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c - (__makecontext): Fix signedness of pointer casts setting up 'sp'. - * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long' - for 'resultvar' otherwise things get truncated on 64-bit. - - * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): - Fix masking out of the most significant byte of random value used. - - * sysdeps/sparc/fpu/libm-test-ulps: Update. - -2012-03-10 Andreas Schwab - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - -2012-03-09 David S. Miller - - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local - variables with appropriate CPP guards. - * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr - from the frame pointer, not the stack pointer. Correct layout - comments. Fix test on resulting framesize and the management of - the outregs buffer for pltexit. Preserve floating point return - values across _dl_call_pltexit call. - * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting - framesize and the management of the outregs buffer for pltexit. - Preserve floating point return values across _dl_call_pltexit - call. - * elf/sotruss-lib.c (la_sparc32_gnu_pltenter) - (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit) - (la_sparc64_gnu_pltexit): New functions. - (print_exit): Fix format string for return register value. - -2012-03-10 Joseph Myers - - * sunrpc/Makefile (others): Add rpcgen. - ($(objpfx)rpcgen): Remove special build rule and dependency on - libc. - * sunrpc/rpcgen.c: New file. - -2012-03-09 Paul Eggert - - [BZ #13673] - * posix/bug-regex33.c: Replace FSF snail mail address with URL. - * stdio-common/bug-vfprintf-nargs.c: Likewise. - * sysdeps/i386/crti.S: Likewise. - * sysdeps/i386/crtn.S: Likewise. - * sysdeps/powerpc/powerpc32/crti.S: Likewise. - * sysdeps/powerpc/powerpc32/crtn.S: Likewise. - * sysdeps/powerpc/powerpc64/crti.S: Likewise. - * sysdeps/powerpc/powerpc64/crtn.S: Likewise. - * sysdeps/sh/crti.S: Likewise. - * sysdeps/sh/crtn.S: Likewise. - * sysdeps/x86_64/fpu/e_expf.S: Likewise. - - [BZ #13673] - * locale/programs/charmap-kw.gperf: Replace FSF snail mail address - with URL. - * locale/programs/locfile-kw.gperf: Likewise. - * locale/programs/charmap-kw.h: Regenerated. - * locale/programs/locfile-kw.h: Likewise. - - [BZ #13673] - * intl/plural.y: Replace FSF snail mail address with URL. - * intl/plural.c: Regenerated. - -2012-03-09 Richard Henderson - - * include/math_private.h: Remove file. - * math/math_private.h: Move file ... - * sysdeps/generic/math_private.h: ... here. - - * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h. - * sysdeps/powerpc/fpu/math_private.h: Likewise. - * sysdeps/x86_64/fpu/math_private.h: Likewise. - - * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both - and . - * sysdeps/i386/fpu/s_isinfl.c: Likewise. - * sysdeps/i386/fpu/s_isnanl.c: Likewise. - * sysdeps/i386/fpu/s_nextafterl.c: Likewise. - * sysdeps/i386/fpu/s_nexttoward.c: Likewise. - * sysdeps/i386/fpu/s_nexttowardf.c: Likewise. - * sysdeps/ieee754/dbl-64/branred.c: Likewise. - * sysdeps/ieee754/dbl-64/doasin.c: Likewise. - * sysdeps/ieee754/dbl-64/dosincos.c: Likewise. - * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise. - * sysdeps/ieee754/dbl-64/e_asin.c: Likewise. - * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. - * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise. - * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise. - * sysdeps/ieee754/dbl-64/e_exp.c: Likewise. - * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise. - * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise. - * sysdeps/ieee754/dbl-64/e_j0.c: Likewise. - * sysdeps/ieee754/dbl-64/e_j1.c: Likewise. - * sysdeps/ieee754/dbl-64/e_jn.c: Likewise. - * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise. - * sysdeps/ieee754/dbl-64/e_log.c: Likewise. - * sysdeps/ieee754/dbl-64/e_log10.c: Likewise. - * sysdeps/ieee754/dbl-64/e_log2.c: Likewise. - * sysdeps/ieee754/dbl-64/e_pow.c: Likewise. - * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise. - * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise. - * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise. - * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise. - * sysdeps/ieee754/dbl-64/halfulp.c: Likewise. - * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise. - * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise. - * sysdeps/ieee754/dbl-64/s_atan.c: Likewise. - * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise. - * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise. - * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise. - * sysdeps/ieee754/dbl-64/s_erf.c: Likewise. - * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise. - * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise. - * sysdeps/ieee754/dbl-64/s_finite.c: Likewise. - * sysdeps/ieee754/dbl-64/s_floor.c: Likewise. - * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise. - * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise. - * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise. - * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise. - * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise. - * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise. - * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise. - * sysdeps/ieee754/dbl-64/s_llround.c: Likewise. - * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise. - * sysdeps/ieee754/dbl-64/s_logb.c: Likewise. - * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise. - * sysdeps/ieee754/dbl-64/s_lround.c: Likewise. - * sysdeps/ieee754/dbl-64/s_modf.c: Likewise. - * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise. - * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise. - * sysdeps/ieee754/dbl-64/s_rint.c: Likewise. - * sysdeps/ieee754/dbl-64/s_round.c: Likewise. - * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise. - * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise. - * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise. - * sysdeps/ieee754/dbl-64/s_sin.c: Likewise. - * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise. - * sysdeps/ieee754/dbl-64/s_tan.c: Likewise. - * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise. - * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise. - * sysdeps/ieee754/dbl-64/sincos32.c: Likewise. - * sysdeps/ieee754/dbl-64/slowexp.c: Likewise. - * sysdeps/ieee754/dbl-64/slowpow.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise. - * sysdeps/ieee754/flt-32/e_acosf.c: Likewise. - * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise. - * sysdeps/ieee754/flt-32/e_asinf.c: Likewise. - * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise. - * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise. - * sysdeps/ieee754/flt-32/e_coshf.c: Likewise. - * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise. - * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise. - * sysdeps/ieee754/flt-32/e_j0f.c: Likewise. - * sysdeps/ieee754/flt-32/e_j1f.c: Likewise. - * sysdeps/ieee754/flt-32/e_jnf.c: Likewise. - * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise. - * sysdeps/ieee754/flt-32/e_log10f.c: Likewise. - * sysdeps/ieee754/flt-32/e_log2f.c: Likewise. - * sysdeps/ieee754/flt-32/e_logf.c: Likewise. - * sysdeps/ieee754/flt-32/e_powf.c: Likewise. - * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise. - * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise. - * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise. - * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise. - * sysdeps/ieee754/flt-32/k_cosf.c: Likewise. - * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise. - * sysdeps/ieee754/flt-32/k_sinf.c: Likewise. - * sysdeps/ieee754/flt-32/k_tanf.c: Likewise. - * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise. - * sysdeps/ieee754/flt-32/s_atanf.c: Likewise. - * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise. - * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise. - * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise. - * sysdeps/ieee754/flt-32/s_cosf.c: Likewise. - * sysdeps/ieee754/flt-32/s_erff.c: Likewise. - * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise. - * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise. - * sysdeps/ieee754/flt-32/s_finitef.c: Likewise. - * sysdeps/ieee754/flt-32/s_floorf.c: Likewise. - * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise. - * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise. - * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise. - * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise. - * sysdeps/ieee754/flt-32/s_isinff.c: Likewise. - * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise. - * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise. - * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise. - * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise. - * sysdeps/ieee754/flt-32/s_logbf.c: Likewise. - * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise. - * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise. - * sysdeps/ieee754/flt-32/s_modff.c: Likewise. - * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise. - * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise. - * sysdeps/ieee754/flt-32/s_remquof.c: Likewise. - * sysdeps/ieee754/flt-32/s_rintf.c: Likewise. - * sysdeps/ieee754/flt-32/s_roundf.c: Likewise. - * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise. - * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise. - * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise. - * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise. - * sysdeps/ieee754/flt-32/s_sinf.c: Likewise. - * sysdeps/ieee754/flt-32/s_tanf.c: Likewise. - * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise. - * sysdeps/ieee754/flt-32/s_truncf.c: Likewise. - * sysdeps/ieee754/k_standard.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise. - * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise. - * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise. - * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise. - * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise. - * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise. - * sysdeps/ieee754/s_lib_version.c: Likewise. - * sysdeps/ieee754/s_matherr.c: Likewise. - * sysdeps/ieee754/s_signgam.c: Likewise. - * sysdeps/powerpc/fpu/e_hypot.c: Likewise. - * sysdeps/powerpc/fpu/e_hypotf.c: Likewise. - * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise. - * sysdeps/powerpc/fpu/k_cosf.c: Likewise. - * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise. - * sysdeps/powerpc/fpu/k_sinf.c: Likewise. - * sysdeps/powerpc/fpu/s_cosf.c: Likewise. - * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise. - * sysdeps/powerpc/fpu/s_isnan.c: Likewise. - * sysdeps/powerpc/fpu/s_rint.c: Likewise. - * sysdeps/powerpc/fpu/s_rintf.c: Likewise. - * sysdeps/powerpc/fpu/s_sinf.c: Likewise. - * sysdeps/powerpc/fpu/w_sqrt.c: Likewise. - * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise. - * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise. - * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise. - * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise. - * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise. - -2012-03-09 Joseph Myers - - * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals. - * sunrpc/rpc_main.c: Likewise. - * sunrpc/rpc_svcout.c: Likewise. - -2012-03-09 David S. Miller - - * include/math_private.h: New file. - -2012-03-09 Joseph Myers - - * sysdeps/unix/sysv/linux/bits/socket_type.h: New file. - * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise. - * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type - from . - (enum __socket_type): Don't define here. - * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add - bits/socket_type.h. - - [BZ #13566] - * libio/stdio.h (gets): Always declare for C++ up to C++11 without - checking __USE_GNU. - - * Makerules ($(inst_includedir)/%.h): New rule. - * stdio-common/Makefile (headers): Add bits/stdio_lim.h. - (install-others): Remove variable setting. - ($(inst_includedir)/bits/stdio_lim.h): Remove rule. - -2012-03-08 Richard Henderson - - * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert - from macro to inline function; merge with the - !__LIBC_INTERNAL_MATH_INLINES version. - (__ieee754_sqrtf): Likewise. - - * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro - to inline function. - (__rintf, __floor, __floorf): Likewise. - - * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from - macro to inline function. - (__ieee754_sqrtf, __ieee754_sqrtl): Likewise. - - * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include , - not . - -2012-03-08 David S. Miller - - * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update - copyright year. - * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise. - -2012-03-08 Thomas Schwinge - - * resolv/gai_misc.c (handle_requests): Fix struct timespec - normalization. - * rt/tst-cpuclock2.c (test_nanosleep): Likewise. - * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise. - -2012-03-08 Ulrich Drepper - - * stdio-common/tst-fphex.c: Various cleanups. The macros cannot - be defined individually, they must be defined as a block. Define - S for printing a string instead of hidint the different by using a - macro for adding the 'l'. - * stdio-common/tst-fphex-wide.c: Adjust. - -2012-03-07 Marek Polacek - - * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets. - -2012-03-08 Marek Polacek - - [BZ #13806] - * stdio-common/Makefile (tests): Add tst-fphex-wide. - * stdio-common/tst-fphex.c: Define a few macros to make the - test reusable. Use them. - * stdio-common/tst-fphex-wide.c: New file. - -2012-03-08 Joseph Myers - - [BZ #6911] - * manual/macros.texi (gnusystems): New macro. - (nongnusystems): Likewise. - (gnulinuxhurdsystems): Likewise. - (gnuhurdsystems): Likewise.. - (gnulinuxsystems): Likewise. - * manual/charset.texi: Use new macros or @theglibc{} to refer to - variants of the GNU system, not "GNU system". - * manual/conf.texi: Likewise. - * manual/errno.texi: Likewise. Update example of errno macro - expansion. - * manual/filesys.texi: Likewise. - (getumask): Document as specific to GNU/Hurd. - * manual/install.texi: Likewise. Reword some references to - GNU/Linux. - * manual/intro.texi: Likewise. - * manual/io.texi: Likewise. - (File Name Portability): Detail which constraints are inapplicable - to all GNU systems and which are only inapplicable to GNU/Hurd. - * manual/job.texi: Likewise. - * manual/llio.texi: Likewise. - (O_NOCTTY): Document as present on GNU/Linux. - * manual/maint.texi: Likewise. - * manual/memory.texi: Likewise. - * manual/pattern.texi: Likewise. - * manual/pipe.texi: Likewise. - * manual/process.texi: Likewise. - * manual/resource.texi: Likewise. - (RUSAGE_CHILDREN): Remove statement about specifying a particular - child on GNU/Hurd. - * manual/setjmp.texi: Likewise. - * manual/signal.texi: Likewise. - * manual/startup.texi: Likewise. - * manual/stdio.texi: Likewise. - * manual/terminal.texi: Likewise. - (ONLCR): Document as POSIX. - (OXTABS): Document availability on GNU/Linux as XTABS. - (ONOEOT): Document availability separately from other bits. - (VLNEXT, VDISCARD, VSTATUS): Document availability individually. - * manual/time.texi: Likewise. - * manual/users.texi: Likewise. - * INSTALL: Regenerated. - * sysdeps/gnu/errlist.c: Regenerated. - - * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro. - * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC. - (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling - puts. - * configure: Regenerated. - -2012-03-07 Joseph Myers - - * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no - default includes instead of AC_HEADER_CHECK. - * sysdeps/i386/configure: Regenerated. - - [BZ #10716] - * math/s_cacosh.c (__cacosh): Convert negative log results to 0. - * math/s_cacoshf.c (__cacoshf): Likewise. - * math/s_cacoshl.c (__cacoshl): Likewise. - * math/s_casinh.c (__casinh): Set signs of result from argument. - * math/s_casinhf.c (__casinhf): Likewise. - * math/s_casinhl.c (__casinhl): Likewise. - * math/libm-test.inc (cacos_test, cacosh_test, casin_test) - (casinh_test): Add more tests. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2012-03-07 Ulrich Drepper - - * po/zh_TW.po: Update from translation team. - - * login/Makefile (distribute): Remove variable. - * catgets/Makefile: Likewise. - * mach/Makefile: Likewise. - * malloc/Makefile: Likewise. - * misc/Makefile: Likewise. - * iconv/Makefile: Likewise. - * nscd/Makefile: Likewise. - * hurd/Makefile: Likewise. - * manual/Makefile: Likewise. - * locale/Makefile: Likewise. - * intl/Makefile: Likewise. - * conform/Makefile: Likewise. - * nss/Makefile: Likewise. - * time/Makefile: Likewise. - * soft-fp/Makefile: Likewise. - * dirent/Makefile: Likewise. - * gmon/Makefile: Likewise. - * po/Makefile: Likewise. - * rt/Makefile: Likewise. - * socket/Makefile: Likewise. - * math/Makefile: Likewise. - * signal/Makefile: Likewise. - * debug/Makefile: Likewise. - * elf/Makefile: Likewise. - * timezone/Makefile: Likewise. - * stdlib/Makefile: Likewise. - * iconvdata/Makefile: Likewise. - * sunrpc/Makefile: Likewise. - * io/Makefile: Likewise. - * argp/Makefile: Likewise. - * inet/Makefile: Likewise. - * hesiod/Makefile: Likewise. - * grp/Makefile: Likewise. - * csu/Makefile: Likewise. - * wctype/Makefile: Likewise. - * crypt/Makefile: Likewise. - * libio/Makefile: Likewise. - * string/Makefile: Likewise. - * nis/Makefile: Likewise. - * resolv/Makefile: Likewise. - * stdio-common/Makefile: Likewise. - * wcsmbs/Makefile: Likewise. - * dlfcn/Makefile: Likewise. - * posix/Makefile: Likewise. - - [BZ #6959] - * timezone/Makefile: Don't install timezone files, just the programs - and scripts. - -2012-03-06 Ulrich Drepper - - * nss/databases.def: Add missing gshadow entry. - - * stdio-common/vfprintf.c: Fix formatting. Missing copyright update. - -2012-03-06 Marek Polacek - - [BZ #13726] - * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr. - * sysdeps/x86_64/fpu/printf_fphex.c: Likewise. - * stdio-common/Makefile (tests): Add tst-long-dbl-fphex. - * stdio-common/tst-long-dbl-fphex.c: New file. - -2012-03-06 David S. Miller - - * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c - (set_obp_int): New function. - (get_obp_int): New function. - (__get_clockfreq_via_dev_openprom): Likewise. - * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P): - Avoid unused variable warnings on 'val' and use builtin_expect. - (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with - __builtin_expect. - (INLINE_CLONE_SYSCALL): Likewise. - -2012-03-05 David S. Miller - - * sysdeps/sparc/fpu/libm-test-ulps: Update. - -2012-03-05 Andreas Schwab - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - - * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term - only for |x| >= 40. - * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise. - -2012-03-05 H.J. Lu - - * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc): - Replace gettimeofday with __vdso_gettimeofday. - - * sysdeps/unix/sysv/linux/x86_64/init-first.c - (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with - __vdso_clock_gettime and __vdso_getcpu. - - * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace - time with __vdso_time. - -2012-03-05 Joseph Myers - - * manual/lang.texi (size_t): Note types to which size_t may be - equivalent with the GNU C Library, but do not describe when - differences between them are significant. - -2012-03-05 Andreas Jaeger - - * sysdeps/i386/fpu/libm-test-ulps: Update. - -2012-03-05 Joseph Myers - - [BZ #3976] - * sysdeps/ieee754/dbl-64/e_pow.c: Include . - (__ieee754_pow): Save and restore rounding mode and use - round-to-nearest for main computations. - * math/libm-test.inc (pow_test_tonearest): New function. - (pow_test_towardzero): Likewise. - (pow_test_downward): Likewise. - (pow_test_upward): Likewise. - (main): Call the new functions. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - [BZ #3976] - * math/libm-test.inc (cosh_test_tonearest): New function. - (cosh_test_towardzero): Likewise. - (cosh_test_downward): Likewise. - (cosh_test_upward): Likewise. - (sinh_test_tonearest): Likewise. - (sinh_test_towardzero): Likewise. - (sinh_test_downward): Likewise. - (sinh_test_upward): Likewise. - (main): Call the new functions. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2012-03-05 Tom de Vries - - * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure - default stack guard is set in last bytes. - * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same. - -2012-03-05 Kees Cook - - * stdio-common/vfprintf.c (vfprintf): add missing errno settings. - - [BZ #13656] - * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and - possibly allocate from heap instead of stack. - * stdio-common/bug-vfprintf-nargs.c: New file. - * stdio-common/Makefile (tests): Add nargs overflow test. - -2012-03-03 Andreas Schwab - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - -2012-03-03 Marek Polacek - - * include/sys/cdefs.h: Remove __GNUC_PREREQ macro. - * math/math_private.h: Likewise. - * stdlib/tst-strtod.c: Likewise. - * sysdeps/i386/i486/bits/atomic.h: Likewise. - * sysdeps/x86_64/bits/atomic.h: Likewise. - -2012-03-02 David S. Miller - - * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file. - * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file. - * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file. - * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file. - * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file. - -2012-03-02 Roland McGrath - - [BZ #13792] - * manual/examples/README: New file, says the example source files - can be used under GPL>=2. - * manual/Makefile (%.c.texi): Eat the leading part of the file until a - line containing just "*/". - * manual/examples/add.c: Add copyright header (GPL>=2). - * manual/examples/argp-ex1.c: Likewise. - * manual/examples/argp-ex2.c: Likewise. - * manual/examples/argp-ex3.c: Likewise. - * manual/examples/argp-ex4.c: Likewise. - * manual/examples/atexit.c: Likewise. - * manual/examples/db.c: Likewise. - * manual/examples/dir.c: Likewise. - * manual/examples/dir2.c: Likewise. - * manual/examples/execinfo.c: Likewise. - * manual/examples/filecli.c: Likewise. - * manual/examples/filesrv.c: Likewise. - * manual/examples/fmtmsgexpl.c: Likewise. - * manual/examples/genpass.c: Likewise. - * manual/examples/inetcli.c: Likewise. - * manual/examples/inetsrv.c: Likewise. - * manual/examples/isockad.c: Likewise. - * manual/examples/longopt.c: Likewise. - * manual/examples/memopen.c: Likewise. - * manual/examples/memstrm.c: Likewise. - * manual/examples/mkfsock.c: Likewise. - * manual/examples/mkisock.c: Likewise. - * manual/examples/mygetpass.c: Likewise. - * manual/examples/pipe.c: Likewise. - * manual/examples/popen.c: Likewise. - * manual/examples/rprintf.c: Likewise. - * manual/examples/search.c: Likewise. - * manual/examples/select.c: Likewise. - * manual/examples/setjmp.c: Likewise. - * manual/examples/sigh1.c: Likewise. - * manual/examples/sigusr.c: Likewise. - * manual/examples/stpcpy.c: Likewise. - * manual/examples/strdupa.c: Likewise. - * manual/examples/strftim.c: Likewise. - * manual/examples/strncat.c: Likewise. - * manual/examples/subopt.c: Likewise. - * manual/examples/swapcontext.c: Likewise. - * manual/examples/termios.c: Likewise. - * manual/examples/testopt.c: Likewise. - * manual/examples/testpass.c: Likewise. - * manual/examples/timeval_subtract.c: Likewise. - - [BZ #13792] - * manual/time.texi (Elapsed Time): Move timeval_subtract example - function to ... - * manual/timeval_subtract.c.texi: ... here, new file. - -2012-03-02 David S. Miller - - * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests. - -2012-03-02 Joseph Myers - - [BZ #3976] - * sysdeps/ieee754/dbl-64/s_sin.c: Include - (__sin): Save and restore rounding mode and use round-to-nearest - for all computations. - (__cos): Save and restore rounding mode and use round-to-nearest - for all computations. - * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and - . - (tan): Save and restore rounding mode and use round-to-nearest for - all computations. - * math/libm-test.inc (cos_test_tonearest): New function. - (cos_test_towardzero): Likewise. - (cos_test_downward): Likewise. - (cos_test_upward): Likewise. - (sin_test_tonearest): Likewise. - (sin_test_towardzero): Likewise. - (sin_test_downward): Likewise. - (sin_test_upward): Likewise. - (tan_test_tonearest): Likewise. - (tan_test_towardzero): Likewise. - (tan_test_downward): Likewise. - (tan_test_upward): Likewise. - (main): Call the new functions. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - [BZ #10135] - * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for - small n, then large n, before computing and testing k+n. - * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln): - Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn): - Likewise. - * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise. - * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise. - * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise. - * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise. - * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise. - * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise. - * math/libm-test.inc (scalbn_test): Add more tests. - (scalbln_test): Likewise. - - * manual/filesys.texi (mode_t): Describe constraints on size and - signedness, not exact equivalence to a particular type. - (ino_t): Likewise. - (ino64_t): Likewise. - (dev_t): Likewise. - (nlink_t): Likewise. - (blkcnt_t): Likewise. - (blkcnt64_t): Likewise. - * manual/llio.texi (off_t): Likewise. - - [BZ #3976] - * sysdeps/ieee754/dbl-64/e_exp.c: Include . - (__ieee754_exp): Save and restore rounding mode and use - round-to-nearest for all computations. - * math/libm-test.inc (exp_test_tonearest): New function. - (exp_test_towardzero): Likewise. - (exp_test_downward): Likewise. - (exp_test_upward): Likewise. - (main): Call the new functions. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2012-03-01 Chris Demetriou - - * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to - have predictable order. - -2012-03-01 David S. Miller - - * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete. - - * sysdeps/sparc/sparc64/fpu/s_finite.S: New file. - * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file. - * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file. - * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file. - - * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file. - * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file. - * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file. - * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file. - * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file. - * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file. - * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file. - * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file. - - * sysdeps/sparc/fpu/libm-test-ulps: Update. - - * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move... - * sysdeps/sparc/fpu/libm-test-ulps: to here. - * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete. - - * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks. - * sysdeps/sparc/sparc32/dl-machine.h: Likewise. - * sysdeps/sparc/sparc32/elf/start.S: Likewise. - * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise. - * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise. - * sysdeps/sparc/sparc64/dl-machine.h: Likewise. - * sysdeps/sparc/sparc64/elf/start.S: Likewise. - * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise. - * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. - * config.h.in (HAVE_BINUTILS_GOTDATA): Delete. - * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks. - * sysdeps/sparc/elf/configure: Regenerated. - -2012-03-01 Joseph Myers - - * configure.in (AS, LD): Require binutils 2.20 or later. - * configure: Regenerated. - * manual/install.texi (Tools for Compilation): Give binutils 2.20 - as required minimum version. - * INSTALL: Regenerated. - - [BZ #2541] - [BZ #4108] - * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit - before squaring exponent. - * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole - bottom long double and 27 bits of top long double before squaring - exponent. - * math/libm-test.inc (erfc_test): Add more tests. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/powerpc/fpu/libm-test-ulps: Likewise. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2012-03-01 Kai Tietz - - * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro. - * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct - containing bit-fields. - * soft-fp/extended.h (_FP_UNION_E): Likewise. - * soft-fp/single.h (_FP_UNION_S): Likewise. - * soft-fp/double.h (_FP_UNION_D): Likewise. - -2012-02-29 Joseph Myers - - [BZ #13786] - * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do - not include ../strcmp.S. - [USE_AS_STRNCASECMP_L]: Likewise. - * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c - (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii. - * sysdeps/i386/i686/multiarch/strncase_l-c.c - (__strncasecmp_l_ia32): Define as alias to - __strncasecmp_l_nonascii. - - [BZ #5794] - * math/libm-test.inc (expm1_test): Add test for bug 5794. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2012-02-29 Jeff Law - - * resolv/res_query.c (__libc_res_nquerydomain): Avoid - out of bounds read. - -2012-02-29 Marek Polacek - - [BZ #13706] - * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO. - * elf/Makefile: Add rules to run tst-unused-dep.out. - -2012-02-28 David S. Miller - - * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file. - * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file. - * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file. - * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file. - -2012-02-29 Joseph Myers - - * math/libm-test.inc (llround_test): Move one test from - lround_test. Use TEST_f_L in moved test. - (lround_test): Move misplaced test to llround_test. Add testcase - from bug 2561. - -2012-02-28 Ulrich Drepper - - * sysdeps/x86_64/fpu/e_expf.S: New file. - Contributed by Dmitrieva Liubov . - -2012-02-28 Stanislav Brabec - - [BZ #13637] - * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation - of remain_len that may cause incomplete multi-byte character and - false match. - * posix/bug-regex33.c: New file. - * posix/Makefile (tests): Add bug-regex33. - -2012-02-28 Joseph Myers - - * manual/macros.texi: New file. - * Makefile (INSTALL, NOTES): Depend on manual/macros.texi. - * manual/libc.texinfo: Include macros.texi. - * manual/creatute.texi: Likewise. - * manual/install.texi: Likewise. - * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and - @glibcadj{} in references to the GNU C Library. - * manual/charset.texi: Likewise. - * manual/conf.texi: Likewise. - * manual/contrib.texi: Likewise. Consistently use "GNU C Library" - when not using those macros. - * manual/creature.texi: Likewise. - * manual/crypt.texi: Likewise. - * manual/errno.texi: Likewise. - * manual/filesys.texi: Likewise. - * manual/header.texi: Likewise. - * manual/install.texi: Likewise. - * manual/intro.texi: Likewise. - * manual/io.texi: Likewise. - * manual/job.texi: Likewise. - * manual/lang.texi: Likewise. - * manual/libc.texiinfo: Likewise. - * manual/llio.texi: Likewise. - * manual/locale.texi: Likewise. - * manual/maint.texi: Likewise. - * manual/math.texi: Likewise. - * manual/memory.texi: Likewise. - * manual/message.texi: Likewise. - * manual/nss.texi: Likewise. - * manual/pattern.texi: Likewise. - * manual/process.texi: Likewise. - * manual/resource.texi: Likewise. - * manual/search.texi: Likewise. - * manual/setjmp.texi: Likewise. - * manual/signal.texi: Likewise. - * manual/socket.texi: Likewise. - * manual/startup.texi: Likewise. - * manual/stdio.texi: Likewise. - * manual/string.texi: Likewise. - * manual/sysinfo.texi: Likewise. - * manual/syslog.texi: Likewise. - * manual/terminal.texi: Likewise. - * manual/time.texi: Likewise. - * manual/users.texi: Likewise. - * INSTALL: Regenerated. - * NOTES: Regenerated. - * sysdeps/gnu/errlist.c: Regenerated. - -2012-02-28 Andreas Schwab - - * include/dirent.h: Include before - . - -2012-02-28 David S. Miller - - * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file. - * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file. - * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file. - * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file. - -2012-02-27 David S. Miller - - * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file. - * sysdeps/sparc/sparc64/fpu/s_floor.S: New file. - * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file. - - * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of - frame pointer instead of stack pointer relative arg slot. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise. - * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise. - * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise. - -2012-02-27 Carlos O'Donell - - [BZ #3992] - * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h. - -2012-02-27 David S. Miller - - * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise. - * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise. - * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise. - * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise. - * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise. - -2012-02-27 Joseph Myers - - * configure.in (CC): Restrict allowed GCC versions to 4.3 and - later. Allow versions 5-9. - * configure: Regenerated. - * manual/install.texi (Tools for Compilation): Give GCC 4.3 as - required minimum version and 4.6 as recommended version. Do not - mention bugs in GCC 2.7 and 2.8. - * INSTALL: Regenerated. - -2012-02-27 David S. Miller - - * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file. - * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file. - * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file. - * sysdeps/sparc/sparc64/fpu/s_rint.S: New file. - * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file. - - * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not - manipulate bits before adding and subtracting TWO112[sx]. - * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise. - -2012-02-27 Roland McGrath - - [BZ #13775] - * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under - [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls. - * libio/stdio.h (vdprintf, dprintf): Remove comment about these not - being in POSIX, because they are in 1003.1-2008. - - * rt/tst-aio.c: Include . - * rt/tst-aio7.c: Likewise. - * rt/tst-aio64.c: Likewise. - - * stdio-common/tst-fmemopen.c (main): Remove spurious const. - -2012-02-27 Joseph Myers - - * manual/install.texi (--with-headers): Describe headers as - interface headers, not private headers. - (Specific advice for GNU/Linux systems): Describe use of headers - from "make headers_install", not private headers from older - kernels. - * INSTALL: Regenerated. - * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): - Change to 2.6.19. - * sysdeps/unix/sysv/linux/configure: Regenerated. - - * manual/llio.texi (fclean): Remove documentation. - - * manual/Makefile (libc-texi-generated): New variable. Include - version.texi. - (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on - $(libc-texi-generated), not duplicated list of files. - (version.texi, stamp-version): New rules. - (realclean): Remove $(libc-texi-generated), not individual files - from that list. Do not remove dir-add.texinfo. - * manual/libc.texinfo: Comment out uses of edition numbers and - references to printed manual. Remove last-updated dates. - (EDITION): Comment out. - (ISBN): Likewise. - (VERSION, UPDATED): Remove. - (version.texi): Include. - -2012-02-27 Andreas Schwab - - * sysdeps/posix/spawni.c: Include . - * sysdeps/pthread/aio_cancel.c: Include . - * sysdeps/pthread/aio_fsync.c: Likewise. - -2012-02-26 Ulrich Drepper - - * conform/Makefile (tests): Run only when not cross-compiling and - when fast-check is not defined. - - * conform/conformtest.pl: XPG7 and POSIX2008 require C99. - * conform/data/limits.h-data: Fixes for POSIX2008. - * conform/run-conformtest.sh: Run all tests. - * include/arpa/inet.h: Changes to allow conformtest.pl to use the - headers. - * include/bits/dlfcn.h: Likewise. - * include/langinfo.h: Likewise. - * include/monetary.h: Likewise. - * include/sys/poll.h: Likewise. - - * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only - for __USE_GNU. - * posix/spawn.h: Define __need_sigset_t. - * posix/sys/wait.h: Don't include , define id_t here. - * posix/unistd.h: Declare ctermid only for XPG before XPG6. - * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h - to get sigevent_t only. - * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg - only for __USE_GNU. - * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and - process_vm_writev only for __USE_GNU. - * termios/termios.h: Declare tcgetsid also for POSIX2008. - - * conform/Makefile: For now ignore errors from run-conformtest. - * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for - POSIX to avoid namespace pollution. Don't prepend headers. - * conform/data/aio.h-data: Fixes for POSIX testing. - * conform/data/fcntl.h-data: Likewise. - * conform/data/glob.h-data: Likewise. - * conform/data/grp.h-data: Likewise. - * conform/data/pthread.h-data: Likewise. - * conform/data/pwd.h-data: Likewise. - * conform/data/signal.h-data: Likewise. - * conform/data/spawn.h-data: Likewise. - * conform/data/stdio.h-data: Likewise. - * conform/data/stdlib.h-data: Likewise. - * conform/data/stropts.h-data: Likewise. - * conform/data/sys/mman.h-data: Likewise. - * conform/data/sys/stat.h-data: Likewise. - * conform/data/sys/types.h-data: Likewise. - * conform/data/sys/wait.h-data: Likewise. - * conform/data/time.h-data: Likewise. - * conform/data/unistd.h-data: Likewise. - * conform/data/utime.h-data: Likewise. - - * io/sys/stat.h: fchmod was always in POSIX. - * posix/sys/wait.h: Include only for waitid. - * posix/unistd.h: fsync and ftruncate were in early POSIX as well. - * rt/aio.h: Define __need_timespec before including . - * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t - struct. Add forward declaration of pthread_attr_t and use it in - sigevent. - * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise. - * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__ - always remove CLK_TCK definition. - -2012-02-26 Andreas Schwab - - * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file. - -2012-02-25 Ulrich Drepper - - * conform/run-conformtest.sh: New file. - * conform/Makefile: Run run-conformtest for tests. - * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11 - support. - - * conform/data/uchar.h-data: New file. - * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing. - * conform/data/arpa/inet.h-data: Likewise. - * conform/data/assert.h-data: Likewise. - * conform/data/complex.h-data: Likewise. - * conform/data/cpio.h-data: Likewise. - * conform/data/ctype.h-data: Likewise. - * conform/data/dirent.h-data: Likewise. - * conform/data/dlfcn.h-data: Likewise. - * conform/data/errno.h-data: Likewise. - * conform/data/fcntl.h-data: Likewise. - * conform/data/float.h-data: Likewise. - * conform/data/fmtmsg.h-data: Likewise. - * conform/data/fnmatch.h-data: Likewise. - * conform/data/ftw.h-data: Likewise. - * conform/data/glob.h-data: Likewise. - * conform/data/grp.h-data: Likewise. - * conform/data/iconv.h-data: Likewise. - * conform/data/inttypes.h-data: Likewise. - * conform/data/langinfo.h-data: Likewise. - * conform/data/libgen.h-data: Likewise. - * conform/data/limits.h-data: Likewise. - * conform/data/locale.h-data: Likewise. - * conform/data/math.h-data: Likewise. - * conform/data/monetary.h-data: Likewise. - * conform/data/mqueue.h-data: Likewise. - * conform/data/ndbm.h-data: Likewise. - * conform/data/net/if.h-data: Likewise. - * conform/data/netdb.h-data: Likewise. - * conform/data/netinet/in.h-data: Likewise. - * conform/data/nl_types.h-data: Likewise. - * conform/data/poll.h-data: Likewise. - * conform/data/pthread.h-data: Likewise. - * conform/data/pwd.h-data: Likewise. - * conform/data/regex.h-data: Likewise. - * conform/data/sched.h-data: Likewise. - * conform/data/search.h-data: Likewise. - * conform/data/semaphore.h-data: Likewise. - * conform/data/setjmp.h-data: Likewise. - * conform/data/signal.h-data: Likewise. - * conform/data/spawn.h-data: Likewise. - * conform/data/stdarg.h-data: Likewise. - * conform/data/stdio.h-data: Likewise. - * conform/data/stdlib.h-data: Likewise. - * conform/data/string.h-data: Likewise. - * conform/data/strings.h-data: Likewise. - * conform/data/stropts.h-data: Likewise. - * conform/data/sys/ipc.h-data: Likewise. - * conform/data/sys/mman.h-data: Likewise. - * conform/data/sys/msg.h-data: Likewise. - * conform/data/sys/resource.h-data: Likewise. - * conform/data/sys/select.h-data: Likewise. - * conform/data/sys/sem.h-data: Likewise. - * conform/data/sys/shm.h-data: Likewise. - * conform/data/sys/socket.h-data: Likewise. - * conform/data/sys/stat.h-data: Likewise. - * conform/data/sys/statvfs.h-data: Likewise. - * conform/data/sys/time.h-data: Likewise. - * conform/data/sys/timeb.h-data: Likewise. - * conform/data/sys/times.h-data: Likewise. - * conform/data/sys/types.h-data: Likewise. - * conform/data/sys/uio.h-data: Likewise. - * conform/data/sys/un.h-data: Likewise. - * conform/data/sys/utsname.h-data: Likewise. - * conform/data/sys/wait.h-data: Likewise. - * conform/data/syslog.h-data: Likewise. - * conform/data/tar.h-data: Likewise. - * conform/data/termios.h-data: Likewise. - * conform/data/utime.h-data: Likewise. - * conform/data/utmpx.h-data: Likewise. - * conform/data/varargs.h-data: Likewise. - * conform/data/wchar.h-data: Likewise. - * conform/data/wctype.h-data: Likewise. - * conform/data/wordexp.h-data: Likewise. - - * include/stropts.h: New file. - * include/uchar.h: New file. - * include/aio.h: Changes to allow conformtest.pl to use the headers. - * include/assert.h: Likewise. - * include/ctype.h: Likewise. - * include/dirent.h: Likewise. - * include/dlfcn.h: Likewise. - * include/fcntl.h: Likewise. - * include/fnmatch.h: Likewise. - * include/glob.h: Likewise. - * include/grp.h: Likewise. - * include/libio.h: Likewise. - * include/locale.h: Likewise. - * include/math.h: Likewise. - * include/net/if.h: Likewise. - * include/netdb.h: Likewise. - * include/netinet/in.h: Likewise. - * include/pthread.h: Likewise. - * include/pwd.h: Likewise. - * include/regex.h: Likewise. - * include/sched.h: Likewise. - * include/search.h: Likewise. - * include/setjmp.h: Likewise. - * include/signal.h: Likewise. - * include/stdio.h: Likewise. - * include/stdlib.h: Likewise. - * include/string.h: Likewise. - * include/sys/cdefs.h: Likewise. - * include/sys/mman.h: Likewise. - * include/sys/msg.h: Likewise. - * include/sys/resource.h: Likewise. - * include/sys/select.h: Likewise. - * include/sys/socket.h: Likewise. - * include/sys/stat.h: Likewise. - * include/sys/statvfs.h: Likewise. - * include/sys/time.h: Likewise. - * include/sys/times.h: Likewise. - * include/sys/uio.h: Likewise. - * include/sys/utsname.h: Likewise. - * include/sys/wait.h: Likewise. - * include/termios.h: Likewise. - * include/time.h: Likewise. - * include/ulimit.h: Likewise. - * include/unistd.h: Likewise. - * include/utime.h: Likewise. - * include/wchar.h: Likewise. - * include/wctype.h: Likewise. - * include/wordexp.h: Likewise. - - * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008. - - * time/time.h: TIME_UTC must be a macro. - Make timespec_get available for ISO C11 only as well. - -2012-02-24 Ulrich Drepper - - * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list. - Reported by Peng Haitao . - -2012-02-24 Joseph Myers - - * configure.in: Use -o not -a in test for unsupported multi-arch. - -2012-02-24 Joseph Myers - - * manual/texinfo.tex: Update to version 2012-01-19.16. - -2012-02-24 Joseph Myers - - * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi. - -2012-02-24 Roland McGrath - - [BZ #13738] - * manual/libc.texinfo (FDL_VERSION): Set to 1.3. - * manual/fdl-1.3.texi: New file. - * manual/fdl-1.1.texi: File removed. - - [BZ #13738] - * manual/libc.texinfo (FDL_VERSION): New @set. - Use it for mention of FDL in cover text. - (Documentation License): Use it in @include file name. - -2012-02-22 Joseph Myers - Roland McGrath - - [BZ #5461] - * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN) - (not LONG_LONG_MAX and LONG_LONG_MIN. - * manual/lang.texi (LONG_LONG_MIN): Document first as ISO - LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific - name. - (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise. - -2012-02-22 Joseph Myers - - [BZ #2547] - [BZ #11365] - * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not - manipulate bits before adding and subtracting TWO23[sx]. - * math/libm-test.inc (nearbyint_test): Add more tests. - -2012-02-22 Joseph Myers - - [BZ #2548] - * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate - bits before adding and subtracting TWO23[sx]. - * math/libm-test.inc (rint_test): Add more tests. - (rint_test_tonearest): Likewise. - (rint_test_towardzero): Likewise. - (rint_test_downward): Likewise. - (rint_test_upward: Likewise. - -2012-02-22 Joseph Myers - - [BZ #10110] - * include/stdc-predef.h: New file. Extracted from features.h. - * include/features.h: Include stdc-predef.h. - * Makefile (headers): Add stdc-predef.h. - * CONFORMANCE (Compiler limitations): Update. - -2012-02-22 Joseph Myers - - * manual/libc.texinfo (VERSION, UPDATED): Revert. - -2012-02-21 David S. Miller - - * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates. - * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise. - -2012-02-20 David S. Miller - - * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path - using a normal save/restore sequence, rather than allocating a - dummy stack frame just to store a frame pointer and restore. - * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise. - -2012-02-21 Joseph Myers - - * manual/install.texi: Fix stray word in line-wrapped comment. - -2012-02-20 David S. Miller - - * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if - both binutils and gcc support GOTDATA. - - * sysdeps/unix/sparc/sysdep.h: Document why we don't use - "rd %pc" in the PIC register setup sequences. - - * sysdeps/sparc/crti.S: Try to use GOTDATA relocs. - * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise. - * sysdeps/sparc/sparc32/elf/start.S: Likewise. - * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise. - * sysdeps/sparc/sparc64/elf/start.S: Likewise. - * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise. - * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h - (SYSCALL_ERROR_HANDLER): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h - (SYSCALL_ERROR_HANDLER): Likewise. - - * config.h.in (HAVE_BINUTILS_GOTDATA): New. - (HAVE_GCC_GOTDATA): New. - * sysdeps/sparc/elf/configure.in: Test for GOTDATA - relocation support in both binutils and gcc. - * sysdeps/sparc/elf/configure: Regenerate. - - * sysdeps/sparc/sparc32/elf/configure.in: Delete. - * sysdeps/sparc/sparc32/elf/configure: Delete. - * sysdeps/sparc/sparc64/elf/configure.in: Delete. - * sysdeps/sparc/sparc64/elf/configure: Delete. - * sysdeps/sparc/elf/configure.in: New file. - * sysdeps/sparc/elf/configure: Generate. - - * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check. - * sysdeps/sparc/sparc32/elf/configure: Regenerate. - * sysdeps/sparc/sparc64/elf/configure.in: Likewise. - * sysdeps/sparc/sparc64/elf/configure: Regenerate. - * config.h.in (BROKEN_SPARC_WDISP22): Remove. - -2012-02-21 Joseph Myers - - * manual/install.texi: Do not mention specific glibc version - numbers. - * manual/libc.texinfo (VERSION, UPDATED): Update. - (@copying): Use @copyright{} and range of years. - -2012-02-21 Joseph Myers - - [BZ #13695] - * csu/Makefile (distribute): Remove initfini.c and defs.awk. - [crti.S not in sysdirs] (generated): Do not append. - [crti.S not in sysdirs] (omit-deps): Likewise. - [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule. - [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise. - [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise. - [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise. - [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): - Likewise. - [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise. - [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable. - [crti.S not in sysdirs] (initfini.c): Remove vpath directive. - * csu/defs.awk: Remove file. - * sysdeps/generic/initfini.c: Likewise. - * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove - variable. - * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s): - Likewise. - -2012-02-20 Joseph Myers - - * sysdeps/unix/sysv/linux/bits/epoll.h: New file. - * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove - * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise. - * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from - . - (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here. - (__EPOLL_PACKED): Define to empty if not defined by - . - (struct epoll_event): Use __EPOLL_PACKED to make possibly packed. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add - bits/epoll.h. - -2012-02-20 Joseph Myers - - * sysdeps/unix/sysv/linux/bits/timerfd.h: New file. - * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove. - * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from - . - (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add - bits/timerfd.h. - -2012-02-20 Joseph Myers - - * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n - in C locale. - * sysdeps/powerpc/fpu/libm-test-ulps: Likewise. - * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise. - * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2012-02-20 Aurelien Jarno - - * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests. - * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise. - -2012-02-19 Andreas Schwab - - * manual/errno.texi (Error Codes): Add EHWPOISON entry. - * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not - defined. - * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON): - Likewise. - * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat - entry for 2.16. - -2012-02-19 Aurelien Jarno - - * math/w_acos.c: Use non-signaling floating-point comparisons. - * math/w_acosf.c: Likewise. - * math/w_acosh.c: Likewise. - * math/w_acoshf.c: Likewise. - * math/w_acoshl.c: Likewise. - * math/w_acosl.c: Likewise. - * math/w_asin.c: Likewise. - * math/w_asinf.c: Likewise. - * math/w_asinl.c: Likewise. - * math/w_atanh.c: Likewise. - * math/w_atanhf.c: Likewise. - * math/w_atanhl.c: Likewise. - * math/w_exp2.c: Likewise. - * math/w_exp2f.c: Likewise. - * math/w_exp2l.c: Likewise. - * math/w_j0.c: Likewise. - * math/w_j0f.c: Likewise. - * math/w_j0l.c: Likewise. - * math/w_j1.c: Likewise. - * math/w_j1f.c: Likewise. - * math/w_j1l.c: Likewise. - * math/w_jn.c: Likewise. - * math/w_jnf.c: Likewise. - * math/w_log.c: Likewise. - * math/w_log10.c: Likewise. - * math/w_log10f.c: Likewise. - * math/w_log10l.c: Likewise. - * math/w_log2.c: Likewise. - * math/w_log2f.c: Likewise. - * math/w_log2l.c: Likewise. - * math/w_logf.c: Likewise. - * math/w_logl.c: Likewise. - * math/w_sqrt.c: Likewise. - * math/w_sqrtf.c: Likewise. - * math/w_sqrtl.c: Likewise. - * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise. - * sysdeps/ieee754/dbl-64/w_exp.c: Likewise. - * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise. - * sysdeps/ieee754/flt-32/w_expf.c: Likewise. - * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise. - -2012-02-19 Joseph Myers - - [BZ #9739] - * manual/string.texi (strnlen): Use correct parameter name in - equivalent expression. - -2012-02-19 Joseph Myers - - [BZ #11174] - * manual/users.texi (seteuid): Consistently use neweuid for - argument name. - -2012-02-19 Joseph Myers - - [BZ #13704] - * manual/nss.texi (Services in the NSS configuration): Correct - list of services in example configuration file. - -2012-02-19 Nick Bowler - - [BZ #11322] - * manual/arith.texi: Remove statements about negative zero - behaving identically to zero. - -2012-02-18 Joseph Myers - - [BZ #5993] - * manual/install.texi: Do not document upgrading from libc5. - -2012-02-18 Joseph Myers - - [BZ #4596] - * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__. - -2012-02-18 David S. Miller - - * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro. - (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore - %o7 across the call. - (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro - instead. - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use - SETUP_PIC_REG_LEAF. - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. - * sysdeps/sparc/crti.S: Use SETUP_PIC_REG. - * sysdeps/sparc/crtn.S: Likewise. - -2012-02-17 Ulrich Drepper - - * aout/Makefile: Remove. - -2012-02-18 Rafe Kettler - - [BZ #13058] - * manual/examples/argp-ex1.c (main): Format definition in GNU - style. - * manual/examples/argp-ex2.c (main): Likewise. - * manual/examples/argp-ex3.c (main): Likewise. - * manual/examples/argp-ex4.c (main): Likewise. - * manual/examples/longopt.c (main): Use new-style prototype - definition. - * manual/examples/strncat.c (main): Specify return type and use - (void) for arguments. - * manual/examples/subopt.c (main): Use char **argv argument. - -2012-02-17 Joseph Myers - - [BZ #5077] - * manual/lang.texi (FLT_EPSILON): Avoid description depending on - rounding modes. - -2012-02-17 Fabrice Bauzac - - [BZ #6907] - * manual/string.texi (strchr): Change when strchrnul is - recommended. - -2012-02-17 Dwayne Grant McConnell - - [BZ #174] - * manual/locale.texi (setlocale): Document LOCPATH. - -2012-02-17 Joseph Myers - - [BZ #10210] - * manual/process.texi (execle): Move @dots{} before last argument. - -2012-02-17 Paul Bolle - - [BZ #12047] - * manual/charset.texi (Generic Charset Conversion): Fix typo - (LC_TYPE -> LC_CTYPE). - -2012-02-17 Nicolas Boulenguez - - [BZ #5805] - * manual/arith.texi (scalbn): Use @var{} on parameter names. - (scalbnf): Likewise. - (scalbnl): Likewise. - (scalbln): Likewise. - (scalblnf): Likewise. - (scalblnl): Likewise. - * manual/errno.texi (vwarn): Name last parameter as @var{ap}. - (vwarnx): Likewise. - (verr): Likewise. - (verrx): Likewise. - * manual/filesys.texi (telldir): Use braces around return type. - * manual/llio.texi (mmap): Add space after comma. - (mmap64): Likewise. - * manual/math.texi (jn): Use @var{} on parameter names. - (jnf): Likewise. - (jnl): Likewise. - (yn): Likewise. - (ynf): Likewise. - (ynl): Likewise. - * manual/memory.texi (alloca): Remove semicolon on @deftypefun - line. - * manual/resource.texi (ulimit): Use @dots{} instead of literal - "...". - (sched_get_priority_min): Remove semicolon on @deftypefun line. - (sched_get_priority_max): Likewise. - * manual/signal.texi (sigvec): Add space after comma. - * manual/socket.texi (if_nametoindex): Use @var{} on parameter - names. - (if_indextoname): Likewise. - (if_freenameindex): Likewise. - (sendto): Use ',' instead of '.' in prototype. - * manual/startup.texi (syscall): Use @dots{} instead of literal - "...". - * manual/stdio.texi (__fpending): Separate initial words of - paragraph from @deftypefun line. - * manual/syslog.texi (syslog): Use @dots{} instead of literal - "...". - (vsyslog): Use @var{} on parameter names. - * manual/terminal.texi (stty): Use @var{} on parameter names. - * manual/users.texi (getutmp): Use @var{} on parameter names. - (getutmpx): Likewise. - -2012-02-17 Joseph Myers - - [BZ #6884] - * manual/stdio.texi (fopen): Fix typos in description of - ",ccs=STRING". - -2012-02-17 Aurelien Jarno - - [BZ #4026] - * sysdeps/unix/sysv/linux/clock_settime.c: include to - get clock_id definition. - -2012-02-17 Thomas Schwinge - - [BZ #4822] - * sysdeps/mach/hurd/malloc-machine.h: #include . - (madvise): Cast every argument to void on its own. - -2012-02-17 Joseph Myers - - [BZ #9902] - * manual/startup.texi (Exit Status): Fix typo. - -2012-02-17 Joseph Myers - - [BZ #10140] - * manual/examples/argp-ex1.c: Include . - * manual/examples/argp-ex2.c: Likewise. - * manual/examples/argp-ex3.c: Likewise. - -2012-02-16 Richard Henderson - - * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files. - * sysdeps/s390/s390-32/initfini.c: Remove. - * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S: - * sysdeps/s390/s390-64/initfini.c: Remove. - -2012-02-15 Kaz Kojima - - * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on - compiler output for sysdeps/generic/initfini.c. - * sysdeps/sh/elf/initfini.c: Remove file. - -2012-02-16 David S. Miller - - [BZ #11494] - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define. - - * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S - * sysdeps/sparc/crti.S: New file. - * sysdeps/sparc/crtn.S: New file. - * sysdeps/sparc/sparc32/Makefile: Remove initfini handling. - * sysdeps/sparc/sparc64/Makefile: Likewise. - -2012-02-15 Mike Frysinger - - [BZ #3335] - * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h. - -2012-02-15 Roland McGrath - - [BZ #4822] - * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro. - - * mach/devstream.c (cookie_io_functions_t): Macro removed. - (write, read, close): Likewise. - Patch by Aurelien Jarno . - -2012-02-15 Joseph Myers - - * sysdeps/unix/sysv/linux/bits/signalfd.h: New file. - * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove. - * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from - . - (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add - bits/signalfd.h. - -2012-02-14 Marek Polacek - - * sysdeps/x86_64/crti.S: New file. - * sysdeps/x86_64/crtn.S: New file. - * sysdeps/x86_64/elf/initfini.c: Remove file. - -2012-02-13 Joseph Myers - - * sysdeps/unix/sysv/linux/bits/inotify.h: New file. - * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove. - * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from - . - (IN_CLOEXEC, IN_NONBLOCK): Don't define here. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add - bits/inotify.h. - -2012-02-13 Joseph Myers - - * sysdeps/unix/sysv/linux/bits/eventfd.h: New file. - * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove. - * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from - . - (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add - bits/eventfd.h. - -2012-02-10 Thomas Schwinge - - * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke - __feraiseexcept instead of feraiseexcept. - - * rt/tst-cpuclock1.c: Add a few comments, and error checking for - nanosleep invocations. - * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory - strings, and add error checking for a nanosleep invocations. - -2012-02-09 Paul Eggert - - Replace FSF snail mail address with URLs, as per GNU coding standards. - Most of the snail mail addresses were wrong anyway, and omitting - them makes the source code easier to maintain. Almost all of the - changes are to license notices and to locale LC_IDENTIFICATION - addresses, except for this one: - * manual/libc.texinfo: In "Published by", give the FSF's URL, - not its snail mail address. - -2012-02-09 Richard Henderson - - * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include - of kernel-features.h. - - * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning. - -2012-02-08 Marek Polacek - - * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional. - * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro. - * sysdeps/gnu/_G_config.h: Likewise. - * sysdeps/generic/_G_config.h: Likewise. - -2012-02-08 Andreas Schwab - - * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn - tests. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - - * sysdeps/powerpc/powerpc32/crti.S: New file. - * sysdeps/powerpc/powerpc32/crtn.S: New file. - * sysdeps/powerpc/powerpc64/crti.S: New file. - * sysdeps/powerpc/powerpc64/crtn.S: New file. - - * Makeconfig (have-initfini): Don't set. - * config.make.in (have-initfini, need-nopic-initfini): Don't set. - * configure.in (nopic_initfini): Don't substitute. - * config.h.in (HAVE_INITFINI): Don't #undef. - * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI. - * csu/gmon-start.c: Assume HAVE_INITFINI is defined. - -2012-02-08 Joseph Myers - - Support crti.S and crtn.S provided directly by architectures. - * csu/Makefile [crti.S in sysdirs] (generated): Do not append. - [crti.S in sysdirs] (omit-deps): Likewise. - [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable. - [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule. - [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise. - [crti.S in sysdirs] ($(objpfx)crti.S): Likewise. - [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise. - [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise. - [crti.S in sysdirs] ($(objpfx)defs.h): Likewise. - [crti.S in sysdirs] (initfini.c): Remove vpath directive. - * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on - compiler output for sysdeps/generic/initfini.c. - * sysdeps/i386/elf/Makefile: Remove file. - * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable. - -2012-02-07 Marek Polacek - - * sysdeps/generic/_G_config.h: Remove _G_ARGS macro. - * sysdeps/gnu/_G_config.h: Likewise. - * sysdeps/mach/hurd/_G_config.h: Likewise. - -2012-02-07 Marek Polacek - - * math/Makefile (tests): Add tst-CMPLX2. - * math/tst-CMPLX2.c: New file. - -2012-02-07 Andreas Schwab - - * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests. - - * math/libm-test.inc (jn_test): Add missing L suffix. - -2012-02-06 Marek Polacek - - * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals. - * sysdeps/i386/fpu/e_powf.S: Likewise. - * sysdeps/i386/fpu/e_atanhf.S: Likewise. - * sysdeps/i386/fpu/s_cexpl.S: Likewise. - * sysdeps/i386/fpu/e_acosh.S: Likewise. - * sysdeps/i386/fpu/e_pow.S: Likewise. - * sysdeps/i386/fpu/s_asinhl.S: Likewise. - * sysdeps/i386/fpu/e_acoshl.S: Likewise. - * sysdeps/i386/fpu/s_expm1.S: Likewise. - * sysdeps/i386/fpu/s_frexpf.S: Likewise. - * sysdeps/i386/fpu/e_log2.S: Likewise. - * sysdeps/i386/fpu/e_log2l.S: Likewise. - * sysdeps/i386/fpu/e_scalb.S: Likewise. - * sysdeps/i386/fpu/e_powl.S: Likewise. - * sysdeps/i386/fpu/s_log1p.S: Likewise. - * sysdeps/i386/fpu/e_log10f.S: Likewise. - * sysdeps/i386/fpu/s_cbrtf.S: Likewise. - * sysdeps/i386/fpu/e_logl.S: Likewise. - * sysdeps/i386/fpu/s_cbrt.S: Likewise. - * sysdeps/i386/fpu/s_expm1l.S: Likewise. - * sysdeps/i386/fpu/s_frexpl.S: Likewise. - * sysdeps/i386/fpu/s_expm1f.S: Likewise. - * sysdeps/i386/fpu/e_log2f.S: Likewise. - * sysdeps/i386/fpu/e_acoshf.S: Likewise. - * sysdeps/i386/fpu/e_log.S: Likewise. - * sysdeps/i386/fpu/s_cexp.S: Likewise. - * sysdeps/i386/fpu/e_scalbf.S: Likewise. - * sysdeps/i386/fpu/s_log1pl.S: Likewise. - * sysdeps/i386/fpu/e_logf.S: Likewise. - * sysdeps/i386/fpu/e_log10l.S: Likewise. - * sysdeps/i386/fpu/e_atanh.S: Likewise. - * sysdeps/i386/fpu/s_log1pf.S: Likewise. - * sysdeps/i386/fpu/s_asinhf.S: Likewise. - * sysdeps/i386/fpu/s_cexpf.S: Likewise. - * sysdeps/i386/fpu/e_log10.S: Likewise. - * sysdeps/i386/fpu/s_frexp.S: Likewise. - * sysdeps/i386/fpu/e_atanhl.S: Likewise. - * sysdeps/i386/fpu/s_asinh.S: Likewise. - * sysdeps/i386/fpu/s_cbrtl.S: Likewise. - * sysdeps/i386/fpu/e_scalbl.S: Likewise. - * sysdeps/i386/i686/fpu/e_logl.S: Likewise. - * sysdeps/i386/asm-syntax.h: Likewise. - * sysdeps/x86_64/fpu/e_log2l.S: Likewise. - * sysdeps/x86_64/fpu/e_powl.S: Likewise. - * sysdeps/x86_64/fpu/e_logl.S: Likewise. - * sysdeps/x86_64/fpu/s_expm1l.S: Likewise. - * sysdeps/x86_64/fpu/s_log1pl.S: Likewise. - * sysdeps/x86_64/fpu/e_log10l.S: Likewise. - * sysdeps/x86_64/fpu/s_copysignf.S: Likewise. - * sysdeps/x86_64/fpu/s_copysign.S: Likewise. - * sysdeps/x86_64/fpu/e_scalbl.S: Likewise. - * sysdeps/powerpc/sysdep.h: Likewise. - * sysdeps/powerpc/powerpc64/sysdep.h: Likewise. - * sysdeps/powerpc/powerpc32/sysdep.h: Likewise. - -2012-02-06 Joseph Myers - - [BZ #411] - * sysdeps/i386/sysdep.h (__i686): Undefine and redefine. - -2012-02-06 Joseph Myers - - * sysdeps/i386/sysdep.h: Include . - (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler - version. - -2012-02-05 Joseph Myers - - * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR): - Define. - * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use - LOAD_PIC_REG_STR. - -2012-02-03 Joseph Myers - - * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define. - (SETUP_PIC_REG): Use GET_PC_THUNK. - * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR - macro. - -2012-02-03 Joseph Myers - - * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also - for non-PIC compilation. - (SETUP_PIC_REG): Add .p2align directive. - * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup. - * sysdeps/i386/i686/multiarch/bcopy.S: Likewise. - * sysdeps/i386/i686/multiarch/bzero.S: Likewise. - * sysdeps/i386/i686/multiarch/memchr.S: Likewise. - * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise. - * sysdeps/i386/i686/multiarch/memcmp.S: Likewise. - * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise. - * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise. - * sysdeps/i386/i686/multiarch/memcpy.S: Likewise. - * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise. - * sysdeps/i386/i686/multiarch/memmove.S: Likewise. - * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise. - * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise. - * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise. - * sysdeps/i386/i686/multiarch/memrchr.S: Likewise. - * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise. - * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise. - * sysdeps/i386/i686/multiarch/memset.S: Likewise. - * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise. - * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise. - * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise. - * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise. - * sysdeps/i386/i686/multiarch/strcat.S: Likewise. - * sysdeps/i386/i686/multiarch/strchr.S: Likewise. - * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise. - * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise. - * sysdeps/i386/i686/multiarch/strcmp.S: Likewise. - * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise. - * sysdeps/i386/i686/multiarch/strcpy.S: Likewise. - * sysdeps/i386/i686/multiarch/strcspn.S: Likewise. - * sysdeps/i386/i686/multiarch/strlen.S: Likewise. - * sysdeps/i386/i686/multiarch/strncase.S: Likewise. - * sysdeps/i386/i686/multiarch/strnlen.S: Likewise. - * sysdeps/i386/i686/multiarch/strrchr.S: Likewise. - * sysdeps/i386/i686/multiarch/strspn.S: Likewise. - * sysdeps/i386/i686/multiarch/wcschr.S: Likewise. - * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise. - * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise. - * sysdeps/i386/i686/multiarch/wcslen.S: Likewise. - * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise. - * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise. - -2012-02-03 Joseph Myers - - * math/tst-CMPLX.c: Include . - -2012-01-31 Joseph Myers - - * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as - float. - * sysdeps/sh/sh4/bits/mathdef.h: Likewise. - * sysdeps/sparc/bits/mathdef.h: Likewise. - -2012-01-31 Marek Polacek - - * libio/libio.h: Don't define _PARAMS. - * locale/programs/config.h: Don't define PARAMS. - * stdlib/strtol_l.c: Likewise. - (__strtol_l): Remove PARAMS from the prototype. - -2012-01-31 Ulrich Drepper - - * malloc/malloc.c: Remove name translation. Don't use mixed-cap - names. Just use the correct names. Remove unnecessary wrapper - functions. - * malloc/arena.c: Likewise. - * malloc/hooks.c: Likewise. - - * malloc/arena.c (arena_get2): Really don't call __get_nprocs if - ARENA_TEST says not to. Simplify test for creation of a new arena. - Partially based on a patch by Siddhesh Poyarekar . - -2012-01-30 Ulrich Drepper - - * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls - into tail calls. - (update_get_addr): New function. - (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove - GET_ADDR_MODULE parameter. - -2012-01-30 Joseph Myers - - * crypt/cert.c: Remove __STDC__ conditionals. - * crypt/crypt-entry.c: Likewise. - * crypt/crypt_util.c: Likewise. - * libio/filedoalloc.c: Likewise. - * libio/fileops.c: Likewise. - * libio/genops.c: Likewise. - * libio/iofclose.c: Likewise. - * libio/iofdopen.c: Likewise. - * libio/iofopen.c: Likewise. - * libio/iofopen64.c: Likewise. - * libio/iogetdelim.c: Likewise. - * libio/iopopen.c: Likewise. - * libio/obprintf.c: Likewise. - * libio/oldfileops.c: Likewise. - * libio/oldiofclose.c: Likewise. - * libio/oldiofdopen.c: Likewise. - * libio/oldiofopen.c: Likewise. - * libio/oldiopopen.c: Likewise. - * libio/wfiledoalloc.c: Likewise. - * libio/wgenops.c: Likewise. - * locale/programs/xmalloc.c: Likewise. - * misc/syslog.c: Likewise. - * stdio-common/xbug.c: Likewise. - * string/memchr.c: Likewise. - * string/memcmp.c: Likewise. - * string/memrchr.c: Likewise. - * string/rawmemchr.c: Likewise. - * sysdeps/posix/getcwd.c: Likewise. - * time/strftime_l.c: Likewise. - -2012-01-30 Joseph Myers - - * configure.in (libc_cv_cc_sse2avx): AC_SUBST. - * config.make.in (config-cflags-sse2avx): Define. - * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c): - Fix typo. - -2012-01-29 Chris Metcalf - - * scripts/config.guess: Update from upstream config git repository. - * scripts/config.sub: Likewise. - -2012-01-28 Chris Metcalf - - * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros. - (EM_NUM): Update. - (R_TILEPRO_*, R_TILEGX_*): New macros. - - * scripts/firstversions.awk: Fix bug in version range handling. - - * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h. - - * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64. - - * include/sys/epoll.h: New file. - * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as - libc_hidden_def. - -2012-01-28 Ulrich Drepper - - * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit. - Avoid unnecessary __WORDSIZE == 64 test. - (fmaxf): Use VEX format if possible. - (fmax): Likewise. - (fminf): Likewise. - (fmin): Likewise. - - * config.h.in: Define HAVE_SSE2AVX_SUPPORT. - * math/math_private.h: Remove libc_fegetround* and - libc_fesetround*. - * sysdeps/i386/configure.in: Check for -msse2avx. - * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions - also if SSE2AVX is defined. - Remove libc_fegetround* and libc_fesetround*. - * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions - if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines. - * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead - of HAS_YMM_USABLE. - * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise. - - * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions. - -2012-01-19 Adhemerval Zanella - - * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line - size is not set. - * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise. - -2012-01-27 Ulrich Drepper - - [BZ #13618] - * elf/dl-open.c (dl_open_worker): Sort objects by dependency before - relocation. - * Makeconfig (libm): Define. - * elf/Makefile: Add rules to build and run tst-relsort1. - * elf/tst-relsort1.c: New file. - * elf/tst-relsort1mod1.c: New file. - * elf/tst-relsort1mod2.c: New file. - -2012-01-27 Joseph Myers - - * math/s_ldexp.c: Remove __STDC__ conditionals. - * math/s_ldexpf.c: Likewise. - * math/s_ldexpl.c: Likewise. - * math/s_nextafter.c: Likewise. - * math/s_nexttowardf.c: Likewise. - * math/s_significand.c: Likewise. - * math/s_significandf.c: Likewise. - * math/s_significandl.c: Likewise. - * math/w_jnl.c: Likewise. - * sysdeps/i386/fpu/s_isinfl.c: Likewise. - * sysdeps/i386/fpu/s_isnanl.c: Likewise. - * sysdeps/i386/fpu/s_nextafterl.c: Likewise. - * sysdeps/i386/fpu/s_nexttoward.c: Likewise. - * sysdeps/i386/fpu/s_nexttowardf.c: Likewise. - * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise. - * sysdeps/ieee754/dbl-64/k_tan.c: Likewise. - * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise. - * sysdeps/ieee754/dbl-64/s_erf.c: Likewise. - * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise. - * sysdeps/ieee754/dbl-64/s_finite.c: Likewise. - * sysdeps/ieee754/dbl-64/s_floor.c: Likewise. - * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise. - * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise. - * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise. - * sysdeps/ieee754/dbl-64/s_logb.c: Likewise. - * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise. - * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise. - * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise. - * sysdeps/ieee754/flt-32/e_asinf.c: Likewise. - * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise. - * sysdeps/ieee754/flt-32/k_cosf.c: Likewise. - * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise. - * sysdeps/ieee754/flt-32/k_sinf.c: Likewise. - * sysdeps/ieee754/flt-32/k_tanf.c: Likewise. - * sysdeps/ieee754/flt-32/s_atanf.c: Likewise. - * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise. - * sysdeps/ieee754/flt-32/s_cosf.c: Likewise. - * sysdeps/ieee754/flt-32/s_erff.c: Likewise. - * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise. - * sysdeps/ieee754/flt-32/s_finitef.c: Likewise. - * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise. - * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise. - * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise. - * sysdeps/ieee754/flt-32/s_logbf.c: Likewise. - * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise. - * sysdeps/ieee754/flt-32/s_sinf.c: Likewise. - * sysdeps/ieee754/flt-32/s_tanf.c: Likewise. - * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise. - * sysdeps/ieee754/k_standard.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise. - * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise. - * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise. - * sysdeps/ieee754/s_matherr.c: Likewise. - * sysdeps/powerpc/fpu/w_sqrt.c: Likewise. - * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise. - * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise. - * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise. - -2012-01-26 Joseph Myers - - * crypt/md5.h: Remove __STDC__ conditionals. - * libio/libioP.h: Likewise. - * locale/programs/config.h: Likewise. - * sysdeps/generic/sysdep.h: Likewise. - * sysdeps/i386/asm-syntax.h: Likewise. - * sysdeps/s390/asm-syntax.h: Likewise. - * sysdeps/unix/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise. - -2012-01-26 Joseph Myers - - * libio/libio.h: Remove __STDC__ conditionals. - * malloc/obstack.h: Likewise. - * math/complex.h: Likewise. - * math/math.h: Likewise. - * sysdeps/generic/_G_config.h: Likewise. - * sysdeps/gnu/_G_config.h: Likewise. - * sysdeps/mach/hurd/_G_config.h: Likewise. - * sysdeps/powerpc/bits/mathdef.h: Likewise. - * sysdeps/sh/sh4/bits/mathdef.h: Likewise. - * sysdeps/sparc/bits/mathdef.h: Likewise. - -2012-01-26 Ulrich Drepper - - [BZ #13583] - * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE. - Clean up HAS_* macros. - * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If - bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if - possible. - * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not - HAS_AVX. - * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise. - -2012-01-25 Joseph Myers - - * elf/tst-unique3.cc (gets): Remove declaration. - * elf/tst-unique3lib.cc (gets): Likewise. - * elf/tst-unique3lib2.cc (gets): Likewise. - * elf/tst-unique4.cc (gets): Likewise. - -2012-01-24 Ulrich Drepper - - * include/stdio.h: Add C++ protection. Add gets declarations and - definitions. - * debug/tst-chk1.c: Don't declare gets here. - * stdio-common/tst-gets.c: Likewise. - -2012-01-24 Joseph Myers - - * posix/glob: Remove directory. - -2012-01-24 Joseph Myers - - * wcsmbs/Makefile (tst-c16c32-1-ENV): Define. - -2012-01-22 Pino Toscano - - * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead - of the non-standard EPFNOSUPPORT. - -2011-12-26 Samuel Thibault - - * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try - __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with - ANYWHERE set to 1 only on KERN_NO_SPACE error. - -2012-01-21 Ulrich Drepper - - * wcsmbs/uchar.h: Test __STDC_VERSION__. - -2012-01-20 Ulrich Drepper - - * nscd/aicache.c (addhstaiX): Do not cache negative results of - transient errors. - * nscd/grpcache.c (cache_addgr): Likewise. - * nscd/hstcache.c (cache_addhst): Likewise. - * nscd/initgrcache.c (addinitgroupsX): Likewise. - * nscd/pwdcache.c (cache_addpw): Likewise. - * nscd/servicescache.c (cache_addserv): Likewise. - -2012-01-16 Ulrich Drepper - - * malloc/malloc.c: Various cleanups. - * malloc/hooks.c: Likewise. - - * stdlib/Makefile (tests): Add bug-fmtmsg1. - * stdlib/bug-fmtmsg1.c: New file. - - * stdlib/fmtmsg.c (init): Add missing unlock. - Patch by Peng Haitao . - -2012-01-12 Marek Polacek - - * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11, - and _GNU_SOURCE. - -2012-01-04 Will Schmidt - - * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros. - * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call - macro to ensure uniqueness of label name. - * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise. - * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise. - -2012-01-11 Ulrich Drepper - - * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file. - - * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction. - * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file. - -2012-01-10 Ulrich Drepper - - * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file. - - * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction. - * sysdeps/ieee754/flt-32/s_modff.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise. - - * math/bits/mathcalls.h: Add const attribute to fmin and fmax. - - * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction. - * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file. - - * math/bits/math-finite.h: Add ldexp support. - -2012-01-10 Marek Polacek - - * locale/programs/localedef.h (show_archive_content): Add noreturn - attribute. - -2012-01-09 Ulrich Drepper - - * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction. - -2012-01-08 Ulrich Drepper - - * io/bits/poll2.h: Add __BEGIN/__END_DECLS. - - * io/Makefile (headers): Add bits/poll2.h. - -2011-01-05 Will Schmidt - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a - typo #include statement. - -2012-01-08 Ulrich Drepper - - * include/sys/cdefs.h: Define __attribute_alloc_size. - * catgets/gencat.c: Add alloc_size attribute and apply consistently - the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup. - * elf/pldd.c: Likewise. - * iconv/iconv_charmap.c: Likewise. - * iconv/iconvconfig.c: Likewise. - * iconv/strtab.c: Likewise. - * locale/programs/locale.c: Likewise. - * locale/programs/localedef.h: Likewise. - * locale/programs/simple-hash.c: Likewise. - * nscd/nscd.h: Likewise. - * nss/makedb.c: Likewise. - * sysdeps/generic/ldconfig.h: Likewise. - * locale/programs/localedef.c: Remove xmalloc prototype. - * nscd/mem.c: Remove xmalloc and xcalloc prototypes. - -2012-01-05 Paul Pluzhnikov - - * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when - appropriate. - -2012-01-08 Ulrich Drepper - - * math/Makefile (tests): Add tst-CMPLX. - * math/tst-CMPLX.c: New file. - - * math/complex.h (CMPLXL): Fix typo. - - * debug/Makefile (routines): Add poll_chk and ppoll_chk. - * debug/Versions: Export __pool_chk and __ppoll_chk from libc for - GLIBC_2.16. - * debug/tst-chk1.c: Add poll and ppoll tests. - * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE. - * include/sys/poll.h: Add hidden proto for ppoll. - * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def. - * sysdeps/mach/hurd/ppoll.c: Likewise. - * io/ppoll.c: Likewise. - * debug/poll_chk.c: New file. - * debug/ppoll_chk.c: New file. - * include/bits/poll2.h: New file. - * io/bits/poll2.h: New file. - - [BZ #1350] - * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define. - - * configure.in: static is always set to yes. Remove. - * config.make.in: Don't set build-static. - * Makeconfig: Remove use of build-static. - * dlfcn/Makefile: Likewise. - * elf/Makefile: Likewise. - * math/Makefile: Likewise. - * misc/Makefile: Likewise. - * nptl/Makefile: Likewise. - * sysdeps/mach/hurd/Makefile: Likewise. - - * configure.in: PWD_P is not used anymore. - * config.make.in: Remove PWD_P entry. - - * configure.in: Remove last remnants of RANLIB. - No need to check for signed size_t anymore. - Don't set libc_commonpagesize and libc_relro_required here for Alpha - and IA-64. - Remove __builtin_expect test because we require at least gcc 3.4. - * aclocal.m4: Likewise. - - * wcsmbs/mbrtoc16.c: Implement using towc function. - * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions. - * wcsmbs/wcsmbsload.c: Likewise. - * iconv/gconv_simple.c: Likewise. - * iconv/gconv_int.h: Likewise. - * iconv/gconv_builtin.h: Likewise. - * iconv/iconv_prog.c: Remove CHAR16 handling. - - * wcsmbs/c16rtomb.c: Remove #if 0'ed code. - - * wcsmbs/mbrtowc.c: Better check for invalid inputs. - - * configure.in: Remove --with-elf and --enable-bounded options. - Dont set base_machine for ia64. More non-ELF conditions removed. - Remove testing and setting of leading underscore information. - * config.make.in (build-bounded): Set to no. - * config.h.in: Remove NO_UNDERSCORES entry. - * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has - them. - * csu/start.c: Remove !NO_UNDERSCORE code. - * locale/localeinfo.h: Likewise. - * sysdeps/generic/machine-gmon.h: Likewise. - * sysdeps/generic/sysdep.h: Likewise. - * sysdeps/i386/sysdep.h: Likewise. - * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise. - * sysdeps/mach/sysdep.h: Likewise. - * sysdeps/s390/s390-32/sysdep.h: Likewise. - * sysdeps/s390/s390-64/sysdep.h: Likewise. - * sysdeps/sh/sysdep.h: Likewise. - * sysdeps/sparc/sparc32/alloca.S: Likewise. - * sysdeps/unix/i386/sysdep.S: Likewise. - * sysdeps/unix/sparc/start.c: Likewise. - * sysdeps/unix/sparc/sysdep.S: Likewise. - * sysdeps/unix/sparc/sysdep.h: Likewise. - * sysdeps/unix/start.c: Likewise. - * sysdeps/unix/x86_64/sysdep.S: Likewise. - * sysdeps/x86_64/sysdep.h: Likewise. - -2012-01-07 Ulrich Drepper - - [BZ #13553] - * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition - for non-gcc. - * argp/argp-fmtstream.h: Use const instead __const. - * argp/argp.h: Likewise. - * assert/assert.h: Likewise. - * bits/fenv.h: Likewise. - * bits/sched.h: Likewise. - * bits/sigset.h: Likewise. - * bits/sigthread.h: Likewise. - * catgets/nl_types.h: Likewise. - * conform/data/pthread.h-data: Likewise. - * crypt/crypt-private.h: Likewise. - * crypt/crypt.h: Likewise. - * crypt/crypt_util.c: Likewise. - * ctype/ctype.h: Likewise. - * debug/execinfo.h: Likewise. - * debug/mbsnrtowcs_chk.c: Likewise. - * debug/mbsrtowcs_chk.c: Likewise. - * debug/wcsnrtombs_chk.c: Likewise. - * debug/wcsrtombs_chk.c: Likewise. - * debug/wcstombs_chk.c: Likewise. - * dirent/dirent.h: Likewise. - * dlfcn/dlfcn.h: Likewise. - * elf/neededtest4.c: Likewise. - * grp/grp.h: Likewise. - * gshadow/gshadow.h: Likewise. - * iconv/gconv.h: Likewise. - * iconv/gconv_int.h: Likewise. - * iconv/gconv_simple.c: Likewise. - * iconv/iconv.h: Likewise. - * iconv/loop.c: Likewise. - * iconv/skeleton.c: Likewise. - * include/aio.h: Likewise. - * include/aliases.h: Likewise. - * include/argz.h: Likewise. - * include/arpa/inet.h: Likewise. - * include/assert.h: Likewise. - * include/dirent.h: Likewise. - * include/dlfcn.h: Likewise. - * include/execinfo.h: Likewise. - * include/fcntl.h: Likewise. - * include/fenv.h: Likewise. - * include/glob.h: Likewise. - * include/grp.h: Likewise. - * include/libintl.h: Likewise. - * include/mntent.h: Likewise. - * include/netdb.h: Likewise. - * include/pwd.h: Likewise. - * include/rpc/netdb.h: Likewise. - * include/sched.h: Likewise. - * include/search.h: Likewise. - * include/shadow.h: Likewise. - * include/signal.h: Likewise. - * include/stdio.h: Likewise. - * include/stdlib.h: Likewise. - * include/string.h: Likewise. - * include/sys/socket.h: Likewise. - * include/sys/stat.h: Likewise. - * include/sys/statfs.h: Likewise. - * include/sys/statvfs.h: Likewise. - * include/sys/syslog.h: Likewise. - * include/sys/time.h: Likewise. - * include/sys/uio.h: Likewise. - * include/time.h: Likewise. - * include/unistd.h: Likewise. - * include/utmp.h: Likewise. - * include/wchar.h: Likewise. - * include/wctype.h: Likewise. - * inet/aliases.h: Likewise. - * inet/arpa/inet.h: Likewise. - * inet/netinet/ether.h: Likewise. - * inet/netinet/in.h: Likewise. - * intl/libintl.h: Likewise. - * io/bits/fcntl2.h: Likewise. - * io/fcntl.h: Likewise. - * io/ftw.h: Likewise. - * io/sys/poll.h: Likewise. - * io/sys/stat.h: Likewise. - * io/sys/statfs.h: Likewise. - * io/sys/statvfs.h: Likewise. - * io/utime.h: Likewise. - * libio/bits/stdio.h: Likewise. - * libio/bits/stdio2.h: Likewise. - * libio/libio.h: Likewise. - * libio/libioP.h: Likewise. - * libio/stdio.h: Likewise. - * locale/lc-ctype.c: Likewise. - * locale/locale.h: Likewise. - * login/utmp.h: Likewise. - * malloc/arena.c: Likewise. - * malloc/malloc.c: Likewise. - * malloc/malloc.h: Likewise. - * malloc/mcheck.c: Likewise. - * malloc/mtrace.c: Likewise. - * math/bits/mathcalls.h: Likewise. - * math/fenv.h: Likewise. - * math/math_private.h: Likewise. - * misc/bits/error.h: Likewise. - * misc/bits/syslog.h: Likewise. - * misc/err.h: Likewise. - * misc/error.h: Likewise. - * misc/fstab.h: Likewise. - * misc/mntent.h: Likewise. - * misc/regexp.h: Likewise. - * misc/search.h: Likewise. - * misc/sgtty.h: Likewise. - * misc/sys/mman.h: Likewise. - * misc/sys/syslog.h: Likewise. - * misc/sys/uio.h: Likewise. - * misc/sys/xattr.h: Likewise. - * misc/ttyent.h: Likewise. - * nis/rpcsvc/ypclnt.h: Likewise. - * nss/nss.h: Likewise. - * posix/bits/unistd.h: Likewise. - * posix/fnmatch.h: Likewise. - * posix/glob.h: Likewise. - * posix/sched.h: Likewise. - * posix/spawn.h: Likewise. - * posix/sys/wait.h: Likewise. - * posix/unistd.h: Likewise. - * posix/wordexp.h: Likewise. - * pwd/pwd.h: Likewise. - * resolv/netdb.h: Likewise. - * resource/sys/resource.h: Likewise. - * rt/aio.h: Likewise. - * rt/bits/mqueue2.h: Likewise. - * rt/mqueue.h: Likewise. - * shadow/shadow.h: Likewise. - * signal/signal.h: Likewise. - * socket/send.c: Likewise. - * socket/sendto.c: Likewise. - * socket/sys/socket.h: Likewise. - * stdio-common/printf.h: Likewise. - * stdlib/bits/stdlib.h: Likewise. - * stdlib/fmtmsg.h: Likewise. - * stdlib/monetary.h: Likewise. - * stdlib/stdlib.h: Likewise. - * stdlib/ucontext.h: Likewise. - * streams/stropts.h: Likewise. - * string/argz.h: Likewise. - * string/bits/string2.h: Likewise. - * string/string.h: Likewise. - * string/strings.h: Likewise. - * sunrpc/rpc/auth.h: Likewise. - * sunrpc/rpc/auth_des.h: Likewise. - * sunrpc/rpc/clnt.h: Likewise. - * sunrpc/rpc/netdb.h: Likewise. - * sunrpc/rpc/pmap_clnt.h: Likewise. - * sunrpc/rpc/xdr.h: Likewise. - * sysdeps/generic/inttypes.h: Likewise. - * sysdeps/generic/net/if.h: Likewise. - * sysdeps/generic/sys/swap.h: Likewise. - * sysdeps/gnu/net/if.h: Likewise. - * sysdeps/gnu/utmpx.h: Likewise. - * sysdeps/i386/fpu/bits/fenv.h: Likewise. - * sysdeps/i386/i486/bits/string.h: Likewise. - * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise. - * sysdeps/s390/bits/string.h: Likewise. - * sysdeps/s390/fpu/bits/fenv.h: Likewise. - * sysdeps/sparc/fpu/bits/fenv.h: Likewise. - * sysdeps/sparc/fpu/bits/mathinline.h: Likewise. - * sysdeps/unix/sysv/linux/bits/resource.h: Likewise. - * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. - * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise. - * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise. - * sysdeps/unix/sysv/linux/bits/uio.h: Likewise. - * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise. - * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise. - * sysdeps/unix/sysv/linux/preadv.c: Likewise. - * sysdeps/unix/sysv/linux/prlimit.c: Likewise. - * sysdeps/unix/sysv/linux/pwritev.c: Likewise. - * sysdeps/unix/sysv/linux/readv.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise. - * sysdeps/unix/sysv/linux/sys/acct.h: Likewise. - * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise. - * sysdeps/unix/sysv/linux/sys/mount.h: Likewise. - * sysdeps/unix/sysv/linux/sys/swap.h: Likewise. - * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise. - * sysdeps/x86_64/fpu/bits/fenv.h: Likewise. - * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise. - * sysdeps/x86_64/strncase_l-nonascii.c: Likewise. - * sysvipc/sys/ipc.h: Likewise. - * sysvipc/sys/msg.h: Likewise. - * sysvipc/sys/sem.h: Likewise. - * sysvipc/sys/shm.h: Likewise. - * termios/termios.h: Likewise. - * time/sys/time.h: Likewise. - * time/time.h: Likewise. - * wcsmbs/bits/wchar2.h: Likewise. - * wcsmbs/uchar.h: Likewise. - * wcsmbs/wchar.h: Likewise. - * wctype/wctype.h: Likewise. - - [BZ #13551] - * Makeconfig: Remove all but ELF support including AIX support. - * Makerules: Likewise. - * config.h.in: Likewise. - * config.make.in: Likewise. - * configure: Likewise. - * configure.in: Likewise. - * csu/Makefile: Likewise. - * csu/version.c: Likewise. - * debug/Makefile: Likewise. - * dlfcn/Makefile: Likewise. - * elf/Makefile: Likewise. - * extra-lib.mk: Likewise. - * iconv/Makefile: Likewise. - * include/libc-symbols.h: Likewise. - * include/shlib-compat.h: Likewise. - * resolv/Makefile: Likewise. - * resolv/res_libc.c: Likewise. - * rt/Makefile: Likewise. - * sysdeps/i386/asm-syntax.h: Likewise. - * sysdeps/i386/sysdep.h: Likewise. - * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise. - * sysdeps/mach/sysdep.h: Likewise. - * sysdeps/powerpc/powerpc32/Makefile: Likewise. - * sysdeps/powerpc/powerpc64/Makefile: Likewise. - * sysdeps/s390/asm-syntax.h: Likewise. - * sysdeps/s390/s390-32/sysdep.h: Likewise. - * sysdeps/s390/s390-64/sysdep.h: Likewise. - * sysdeps/sh/sysdep.h: Likewise. - * sysdeps/unix/sparc/sysdep.h: Likewise. - * sysdeps/wordsize-32/divdi3.c: Likewise. - * sysdeps/x86_64/sysdep.h: Likewise. - - * argp/Versions: Remove _argp_unlock_xxx. - - [BZ #13559] - * abilist/ld.abilist: Update. Adjust for removal of tls option. - * abilist/libBrokenLocale.abilist: Likewise. - * abilist/libanl.abilist: Likewise. - * abilist/libc.abilist: Likewise. - * abilist/libcrypt.abilist: Likewise. - * abilist/libdl.abilist: Likewise. - * abilist/libm.abilist: Likewise. - * abilist/libnsl.abilist: Likewise. - * abilist/libpthread.abilist: Likewise. - * abilist/libresolv.abilist: Likewise. - * abilist/librt.abilist: Likewise. - * abilist/libthread_db.abilist: Likewise. - * abilist/libutil.abilist: Likewise. - * abilist/libnss_db.abilist: New file. - - * scripts/abilist.awk: Add support for indirect functions. - - * sysdeps/unix/sysv/linux/configure.in: Remove m68k support. - - * sysdeps/generic/ldsodefs.h: Remove Alpha support. - - * shlib-versions: Remove entries for ports architectures. - - * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in - files in ports. - * elf/stackguard-macros.h: Remove support for IA-64. - * elf/tst-auditmod1.c: Likewise. - * sysdeps/generic/ldsodefs.h: Likewise. - - * sysdeps/unix/sysv/linux/configure.in: Ports should define - libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their - configure files. - - [BZ #13552] - * configure.in: Remove --enable-omitfp support. - * FAQ.in: Adjust. - * config.make.in: Likewise. - * Makeconfig: Likewise. - * manual/install.texi: Likewise. - - In case anyone cares, the IA-64 architecture could move to ports. - * sysdeps/ia64/*: Removed. - * sysdeps/unix/sysv/linux/ia64/*: Removed. - * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support. - - [BZ #13555] - * configure.in: Remove entries for unsupported architectures. - - [BZ #13533] - * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions. - * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8 - routines. - * iconv/gconv_int.h: Adjust prototypes for char16_t routines. - * iconv/iconv_prog.c: Recognize CHAR16 as internal name. - * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and - fall back to using wcrtomb. - * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions. - * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for - renaming. - * wcsmbs/Makefile (tests): Add tst-c16c32-1: - * wcsmbs/tst-c16c32-1.c: New file. - - * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing - local variable. - - * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE. - - * elf/tst-unique3.cc: Add explicit declaration of gets. - * elf/tst-unique3lib.cc: Likewise. - * elf/tst-unique3lib2.cc: Likewise. - * elf/tst-unique4.cc: Likewise. - - * string/test-strcpy.c (do_one_test): Fix format string for WIDE use. - -2012-01-06 Joseph Myers - - [BZ #13566] - * assert/assert.h (static_assert): Don't define for C++. - * libio/stdio.h (gets): Do declare for C++ <= C++11. - * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11. - -2012-01-03 Ulrich Drepper - - * iconv/loop.c (single loop): Fix assertion in storing of - remaining bytes. - - * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings. - -2012-01-01 Ulrich Drepper - - * posix/getconf.c: Update copyright year. - * nss/getent.c: Likewise. - * nss/makedb.c: Likewise. - * iconv/iconvconfig.c: Likewise. - * iconv/iconv_prog.c: Likewise. - * elf/ldconfig.c: Likewise. - * elf/pldd.c: Likewise. - * elf/sotruss.ksh: Likewise. - * catgets/gencat.c: Likewise. - * csu/version.c: Likewise. - * elf/ldd.bash.in: Likewise. - * elf/sprof.c (print_version): Likewise. - * locale/programs/locale.c: Likewise. - * locale/programs/localedef.c: Likewise. - * login/programs/pt_chown.c: Likewise. - * nscd/nscd.c (print_version): Likewise. - * debug/xtrace.sh: Likewise. - * malloc/memusage.sh: Likewise. - * malloc/mtrace.pl: Likewise. - * debug/catchsegv.sh: Likewise. - -2011-12-30 Jakub Jelinek - - * posix/regex_internal.c (re_string_fetch_byte_case): Remove - pure attribute. - -2011-12-24 Ulrich Drepper - - [BZ #13533] - * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations. - * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16 - transformations. - * iconv/gconv_int.h: Likewise. - * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb. - * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb - from libc for GLIBC_2.16. - * wcsmbs/mbrtowc.c: Define mbrtoc32 alias. - * wcsmbs/wcrtomb.c: Define c32rtomb alias. - * wcsmbs/uchar.h: Really define mbstate_t. - * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h. - * wcsmbs/c16rtomb.c: New file. - * wcsmbs/mbrtoc16.c: New file. - * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions - for C/POSIX locale. - (__wcsmbs_load_conv): Do not fill in c16 routines yet. - * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines. - - * wcsmbs/wchar.h: Add missing __restrict. - -2011-12-23 Ulrich Drepper - - [BZ #13532] - * time/Makefile (routines): Add timespec_get. - * time/Versions: Export timespec_get from libc for GLIBC_2.16. - * time/time.h: Define TIME_UTC and declare timespec_get. Define - timespec for ISO C11. - * time/timespec_get.c: New file. - * sysdeps/unix/sysv/linux/timespec_get.c: New file. - * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file. - - [BZ #13531] - * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn. - * stdlib/stdlib.h: Declare aligned_alloc. - * Versions.def: Add GLIBC_2.16 for libc. - * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16. - - [BZ 13527] - * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for - ISO C11. - - * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11 - code. - - [BZ #13528] - * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE. - - [BZ #13529] - * assert/assert.h (static_assert): Define. - - * version.h: Update for 2.16 development version. - - [BZ #13526] - * include/features.h: Handle __STDC_VERSION__ >= 201112 and - _ISOC11_SOURCE. - - * version.h (RELEASE): Bump for 2.15 release. - * include/features.h (__GLIBC_MINOR__): Bump to 15. - - * sysdeps/x86_64/dl-machine.h: Fix typos in comments. - Patch by Marek Polacek . - - * bits/byteswap.h: Protect long long constants with __extension__. - * sysdeps/i386/bits/byteswap.h: Likewise. - * sysdeps/ia64/bits/byteswap.h: Likewise. - * sysdeps/s390/bits/byteswap.h: Likewise. - * sysdeps/x86_64/bits/byteswap.h: Likewise. - -2011-12-23 Liubov Dmitrieva - - [BZ #13540] - * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in - destination buffer. - * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise. - -2011-12-23 Marek Polacek - - * elf/dl-addr.c (determine_info): Add inline keyword. - * elf/tst-auditmod4b.c (check_avx): Likewise. - * elf/tst-auditmod6b.c (check_avx): Likewise. - * elf/tst-auditmod6c.c (check_avx): Likewise. - * elf/tst-auditmod7b.c (check_avx): Likewise. - -2011-12-23 Ulrich Drepper - - * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for - !__SSE_MATH__. - -2011-12-23 Liubov Dmitrieva - - [BZ #13540] - * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying - processing for last bytes. - -2011-08-06 Bruno Haible - - [BZ #13061] - * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to - U+0385, not to U+1FEE. - - [BZ #13062] - * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong - entry for U+00A5 U+0301. - -2011-12-22 Ulrich Drepper - - [BZ #13166] - * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the - buffer for the output is too small. - - * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept - optimization. - - [BZ #13185] - * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return - SSE flags if possible. - -2011-12-22 Liubov Dmitrieva - - [BZ #13540] - * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying - processing for last bytes. - -2011-12-22 Joseph Myers - - * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants) - (syscall-list-default-options, syscall-list-default-condition) - (syscall-list-includes): Define. - ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary - list of ABIs and options and #if conditions for each ABI. Do not - handle common syscalls between ABIs specially. - * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine): - Remove. - (syscall-list-variants, syscall-list-32bit-options) - (syscall-list-32bit-condition, syscall-list-64bit-options) - (syscall-list-64bit-condition): Define. - * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove. - (syscall-list-variants, syscall-list-32bit-options) - (syscall-list-32bit-condition, syscall-list-64bit-options) - (syscall-list-64bit-condition): Define. - * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine): - Remove. - (syscall-list-variants, syscall-list-32bit-options) - (syscall-list-32bit-condition, syscall-list-64bit-options) - (syscall-list-64bit-condition): Define. - * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine): - Remove. - (syscall-list-variants, syscall-list-32bit-options) - (syscall-list-32bit-condition, syscall-list-64bit-options) - (syscall-list-64bit-condition): Define. - -2011-12-22 Ulrich Drepper - - * locale/iso-639.def: Add brx entry. - - [BZ #13328] - * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock. - Proposed by Mariusz_Cukr . - - * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for - __feraiseexcept_renamed. - -2011-12-21 Ulrich Drepper - - [BZ #13538] - * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and - EPOLLET with unsigned values. - * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise. - - * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead - to large cancellation. - * math/s_cacoshf.c: Likewise. - * math/s_cacoshl.c: Likewise. - -2011-11-18 Richard B. Kreckel - - [BZ #13305] - [BZ #12786] - * math/s_cacosh.c: Fix rare miscomputation in cacosh(). - * math/s_cacoshf.c: Likewise. - * math/s_cacoshl.c: Likewise. - -2011-12-21 Ulrich Drepper - - [BZ #13439] - * iconv/gconv.h: Define __GCONV_SWAP. - * iconvdata/unicode.c: The swap bit must be stored in __flags. - * iconvdata/utf-16.c: Likewise. - * iconvdata/utf-32.c: Likewise. - -2011-12-21 Andreas Schwab - - [BZ #13524] - * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of - numerator after shifting it by one limb. - -2011-12-19 Rafael Ávila de EspĂ­ndola - - * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only - under [__USE_EXTERN_INLINES]. - -2011-12-17 Ulrich Drepper - - [BZ #13446] - * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array. - -2011-11-22 Adhemerval Zanella - - * sysdeps/powerpc/Makefile: Added locale-defines.sym generation. - * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp - optimized code. - * sysdeps/powerpc/powerpc32/power7/Makefile: New file. - * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file. - * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file. - * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option - for strncasecmp/strncasecmp_l compilation. - * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file. - * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file. - -2011-12-08 Marek Polacek - - [BZ #13484] - * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead - of __asm__. - -2011-12-17 Ulrich Drepper - - [BZ #13506] - * time/tzfile.c (__tzfile_read): Check values from file header. - -2011-11-21 Will Schmidt - - * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro. - * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro. - * powerpc/powerpc32/dl-start.S: Likewise. - * powerpc/powerpc32/elf/start.S: Likewise. - * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise. - * powerpc/powerpc32/fpu/s_ceil.S: Likewise. - * powerpc/powerpc32/fpu/s_ceilf.S: Likewise. - * powerpc/powerpc32/fpu/s_floor.S: Likewise. - * powerpc/powerpc32/fpu/s_floorf.S: Likewise. - * powerpc/powerpc32/fpu/s_lround.S: Likewise. - * powerpc/powerpc32/fpu/s_rint.S: Likewise. - * powerpc/powerpc32/fpu/s_rintf.S: Likewise. - * powerpc/powerpc32/fpu/s_round.S: Likewise. - * powerpc/powerpc32/fpu/s_roundf.S: Likewise. - * powerpc/powerpc32/fpu/s_trunc.S: Likewise. - * powerpc/powerpc32/fpu/s_truncf.S: Likewise. - * powerpc/powerpc32/fpu/setjmp-common.S: Likewise. - * powerpc/powerpc32/memset.S: Likewise. - * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise. - * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise. - * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise. - * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise. - * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise. - * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise. - * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise. - * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise. - * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise. - * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise. - * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise. - * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise. - * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise. - -2011-11-18 Adhemerval Zanella - - * math/libm-test.inc: Added more nearbyint tests. - * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file. - * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file. - * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file. - * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file. - -2011-11-21 Ross Lagerwall - - * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with - FD_CLOEXEC. - -2011-11-14 Liubov Dmitrieva - - * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines): - Add wcscpy-ssse3 wcscpy-c. - * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file. - * sysdeps/x86_64/multiarch/wcscpy-c.c: New file. - * sysdeps/x86_64/multiarch/wcscpy.S: New file. - * sysdeps/x86_64/wcschr.S: New file. - * sysdeps/x86_64/wcsrchr.S: New file. - * string/test-strcmp.c: Remove checking of wcscmp function for - wrong alignments. - * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs] - (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c - wcsrchr-sse2 wcsrchr-c. - * sysdeps/i386/i686/multiarch/wcschr.S: New file. - * sysdeps/i386/i686/multiarch/wcschr-c.c: New file. - * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file. - * sysdeps/i386/i686/multiarch/wcsrchr.S: New file. - * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file. - * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file. - * sysdeps/i386/i686/multiarch/wcscpy.S: New file. - * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file. - * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file. - * wcsmbc/wcschr.c (WCSCHR): New macro. - -2011-11-17 Liubov Dmitrieva - - * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy. - * wcsmbs/test-wcsrchr.c: New file. - * string/test-strrchr.c: Add wcsrchr support. - (WIDE): New macro. - * wcsmbs/test-wcscpy.c: New file. - * string/test-strcpy.c: Add wcscpy support. - (WIDE): New macro. - -2011-12-10 Ulrich Drepper - - * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of - the inner loop. - -2011-12-06 Andreas Schwab - - [BZ #13472] - * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value. - -2011-12-04 Ulrich Drepper - - * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute. - Minor optimizations. - - * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues. - * sunrpc/clnt_tcp.c (clnttcp_control): Likewise. - * sunrpc/clnt_udp.c (clntudp_call): Likewise. - -2011-12-03 Ulrich Drepper - - * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED, - IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL, - IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL - for gcc to avoid warnings. - * inet/Makefile (tests): Add tst-checks. - * inet/tst-checks.c: New file. - - * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid - warning. - - * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for - __wmemcmp_sse2. - - * sysdeps/x86_64/fpu/s_scalbln.c: Removed. - * sysdeps/x86_64/fpu/s_scalbn.c: Removed. - - * malloc/mcheck.h: Fix use of incorrect encoding in comment. - -2011-12-02 Ulrich Drepper - - * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing - problem. - - * nscd/aicache.c (addhstaiX): Avoid unused variable warning. - -2011-11-29 Joseph Myers - - * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define - conditional on GCC version. - (__arch_compare_and_exchange_val_8_acq) - (__arch_compare_and_exchange_val_16_acq) - (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add) - (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set) - (atomic_bit_test_set): Use rNOSP instead of "r" constraints. - -2011-12-02 Joseph Myers - - * sysdeps/sh/backtrace.c: New file. - -2011-12-02 Andreas Schwab - - * misc/bits/select2.h (__FD_ELT): Mark as extension. Add - parenthesis. - -2011-12-01 Andreas Schwab - - * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when - falling back to utime. - -2011-11-30 Andreas Schwab - - * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i) - expectations for float. - -2011-11-29 Andreas Schwab - - * locale/weight.h (findidx): Add parameter len. - * locale/weightwc.h (findidx): Likewise. - * posix/fnmatch_loop.c (FCT): Adjust caller. - * posix/regcomp.c (build_equiv_class): Likewise. - * posix/regex_internal.h (re_string_elem_size_at): Likewise. - * posix/regexec.c (check_node_accept_bytes): Likewise. - * string/strcoll_l.c (STRCOLL): Likewise. - * string/strxfrm_l.c (STRXFRM): Likewise. - -2011-11-17 Ulrich Drepper - - * Makefile.in: Remove CVSOPT handling. - * configure.in: Remove use of AC_REVISION. - * iconvdata/Makefile (distribute): No need to filter out CVS. - * scripts/list-sources.sh: Remove CVS, subversion and monotone - handling. - -2011-11-16 Andreas Schwab - - * sysdeps/i386/i686/multiarch/strcmp-ssse3.S - [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC. - [USE_AS_STRNCASECMP_L]: Likewise. - (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle - NO_TLS_DIRECT_SEG_REFS. - * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]: - Fix argument offsets for non-PIC. - [USE_AS_STRNCASECMP_L]: Likewise. - (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle - NO_TLS_DIRECT_SEG_REFS. - -2011-11-15 Ulrich Drepper - - * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with - O_CLOEXEC. - * locale/loadlocale.c (_nl_load_locale): Likewise. - -2011-11-15 Andreas Schwab - - * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU) - [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break. - * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c - (SYSCALL_GETTIME): Set errno on error. - - * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly - count references to noai6ai_cached. - -2011-11-15 Ulrich Drepper - - * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file. - - * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set - FD_CLOEXEC for /proc/self/maps. - - * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set - FD_CLOEXEC for /proc/meminfo. - - * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for - gai.conf. - - * resolv/res_query.c (res_hostalias): Don't allow cancellation and set - FD_CLOEXEC for given file. - - * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf. - - * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set - FD_CLOEXEC for /etc/hosts. - (_gethtent): Likewise. - - * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC. - - * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow - cancellation and set FD_CLOEXEC for /etc/netgroup. - - * nss/nss_files/files-key.c (search): Don't allow cancellation when - reading /etc/publickey. - - * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't - allow cancellation when reading /etc/group. - - * nss/nss_files/files-alias.c (internal_setent): Don't allow - cancellation. - (get_next_alias): Likewise for included file. Also set FD_CLOEXEC. - - * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation - when using data file. - - * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss. - - * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC. - (write_nis_obj): Use "c" and "e" in fopen. - - * misc/mntent_r.c (__setmntent): Also append e to fopen format. - - * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells. - - * misc/getttyent.c (setttyent): Set FD_CLOEXEC. - - * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty. - - * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for - locale.alias. - - * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc. - - * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv. - - * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file. - - * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config - file parsing and set FD_CLOEXEC. - -2011-11-14 Ulrich Drepper - - * time/tzfile.c (__tzfile_read): Use "e" in fopen call. - -2011-11-14 Andreas Schwab - - * malloc/arena.c (arena_get2): Don't call reused_arena when - _int_new_arena failed. - -2011-11-14 Ulrich Drepper - - * sysdeps/i386/i686/multiarch/Makefile [subdir=string] - (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4. - * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code. - * sysdeps/i386/i686/multiarch/strcmp.S: Likewise. - * sysdeps/i386/i686/multiarch/strncase.S: Likewise. - * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse - to compile strcasecmp and strncasecmp. - * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file. - * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file. - - * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently. - -2011-11-13 Ulrich Drepper - - * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add - locale-defines.sym to gen-as-const-headers. - (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c, - strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3. - * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse - to compile strcasecmp and strncasecmp. - * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for - strcasecmp_l and strncasecmp_l. - * sysdeps/i386/i686/multiarch/locale-defines.sym: New file. - * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file. - * sysdeps/i386/i686/multiarch/strcasecmp.S: New file. - * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file. - * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file. - * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file. - * sysdeps/i386/i686/multiarch/strncase-c.c: New file. - * sysdeps/i386/i686/multiarch/strncase.S: New file. - * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file. - * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file. - * sysdeps/i386/i686/multiarch/strncase_l.S: New file. - -2011-11-12 Ulrich Drepper - - * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign - result of SYSDEP_GETTIME_CPU to retval. - * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add - parameter list to macro. Remove trailing semicolon. Adjust users. - - * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused - variable. - - * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing - mantissa words. - * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise. - - * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning - from unused variable. - - * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for - DWARF definitions. - * sysdeps/generic/dwarf2.h: Don't define enums when using the file - for assembling. - - * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate - over namespaces. - - * sunrpc/rpc_prot.c (rejected): Fix case value. - - * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use - unsigned long long int to avoid warnings in shift. - - * posix/regex_internal.c (re_string_reconstruct): Actually use result - of use of trans. - * posix/regex_internal.h (re_string_wchar_at): Remove temporary - variable tmp. - - * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning. - * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise. - * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise. - - * nis/nis_table.c (nis_list): Use variable of correct type for - result of __follow_path call. - -2011-11-07 Adhemerval Zanella - - * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version - of math functions ceil, trunc, floor, round, and sqrt, when - avaliable on the platform. - * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid - name clash. - * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise. - * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise. - * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise. - -2011-10-30 Marek Polacek - - * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable. - * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise. - -2011-11-11 Roland McGrath - - * include/unistd.h: Fix __readlink return type. - Reported by Chris Metcalf . - -2011-11-11 Ulrich Drepper - - * stdlib/ucontext.h: Undo last change for makecontext. - -2011-11-11 Andreas Schwab - - * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script. - - * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define. - * setjmp/setjmp.h: Mark functions as non-leaf. - * setjmp/bits/setjmp2.h: Likewise. - * stdlib/ucontext.h: Likewise. - -2011-11-10 Andreas Schwab - - * malloc/arena.c (_int_new_arena): Don't increment narenas. - (reused_arena): Don't check arena limit. - (arena_get2): Atomically check arena limit. - -2011-11-08 Ulrich Drepper - - * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l. - * intl/localealias.c (strcasecmp): Define using __strcasecmp_l. - - * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary - instructions. - -2011-11-07 Andreas Schwab - - * libio/genops.c (_IO_flush_all_lockp): Only register cleanup - handler when locking. - - * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): - Fix size of allocated buffer. - -2011-11-04 Andreas Schwab - - [BZ #10103] - * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide - declarations for long double functions. - * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise. - - * elf/sprof.c (load_shobj): Fix off-by-one when reading link name. - -2011-11-03 Andreas Schwab - - * nscd/nscd.c (main): Don't start AVC thread until credentials are - installed. - - * nss/makedb.c (set_file_creation_context): Do nothing if SELinux - is disabled. - -2011-11-02 Samuel Thibault - - * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4. - -2011-11-01 Andreas Schwab - - * include/alloca.h (stackinfo_alloca_round): Define. - (extend_alloca): Use it. - [_STACK_GROWS_UP]: Correct check for adjacent allocation. - * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size - here. - - * scripts/check-local-headers.sh: Ignore libaudit.h. - - * nscd/Makefile (extra-objs): Make recursively expanded. - -2011-11-01 Ulrich Drepper - - * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales. - * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise. - - * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function. - * posix/tst-rfc3484-2.c: Likewise. - * posix/tst-rfc3484-3.c: Likewise. - - * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and - process_vm_writev. - * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and - process_vm_writev. - * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and - process_vm_writev from libc using GLIBC_2.15 version. - - * nscd/connections.c: Use kernel headers instead of . - -2011-10-31 Paul Pluzhnikov - - * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce - stack usage. - -2011-10-31 Ulrich Drepper - - [BZ #13367] - * nss/getent.c (initgroups_keys): Show error message in case no group - names are given. - - * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp. - * inet/check_pf.c: Provide dummy versions of __free_in6ai and - __bump_nl_timestamp. - * nscd/connections (nscd_init): When host database is served open - netlink socket and request notification about configuration changes. - (main_loop_poll): Track netlink file descriptor and bump timestamp - in case data becomes available. - (main_loop_epoll): Likewise. - * nscd/nscd-client.h (DB_VERSION): Bump to 2. - (database_pers_head): Add extra_data fileds. - Declare __nscd_get_mapping and __nscd_get_nl_timestamp. - * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function. - * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping. - Adjust caller. - * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on - in6ai data, call __free_in6ai. - * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS): - Add -DHAVE_NETLINK. - * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the - interface information. Reuse previous data if netlink timestamp - is not changed. - (__bump_nl_timestamp): New function. - (__free_in6ai): New function. - -2011-10-30 Ulrich Drepper - - * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call - close_not_cancel_no_status here. - (__check_pf): Reorganize code a bit to not call close twice if OOM. - -2011-10-29 Ulrich Drepper - - [BZ #13276] - * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap - return value. - - * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL. - * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf, - asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL. - -2011-07-03 Andreas Jaeger - - [BZ #10709] - * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding - of sin. Patch suggested by Paul Zimmermann . - * math/libm-test.inc (sin_test): Add test case. - -2011-10-29 Ulrich Drepper - - [BZ #13337] - * elf/sprof.c (load_shobj): Correctly NUL-terminate link name. - Patch by Thomas Jarosch . - - * elf/chroot_canon.c (chroot_canon): Cleanups. - - * elf/dl-lookup.c (_dl_setup_hash): Avoid warning. - - [BZ #13335] - * elf/chroot_canon.c (chroot_canon): Fix readlink call. - Patch by Thomas Jarosch . - - * string/test-strchr.c: Make usable for strchrnul testing. - * string/test-strchrnul.c: New file. - * string/Makefile (strop-tests): Add strchrnul. - - * po/it.po: Update from translation team. - * po/es.po: Likewise. - -2011-10-28 Ulrich Drepper - - * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take - the three constants needed as parameters. Drop the others. - (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to - __m128i_strloadu_tolower. - Create and initialize variable zero and use it in all the places - where _mm_setzero_si128 was used. - - * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c, - doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c, - mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c. - * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants - anymore. - * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2. - * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan. - * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred, - __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1. - * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred, - __mpranred, __mptan. - * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed. - * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed. - * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed. - * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed. - * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed. - * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed. - * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed. - * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed. - * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed. - -2011-10-28 Andreas Schwab - - * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only - redefine if SHARED. - * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise. - - * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move - wide char related routines to wcsmbs subdir. - -2011-10-27 Andreas Schwab - - [BZ #13344] - * misc/sys/cdefs.h (__THROWNL): Define. - * posix/unistd.h: Use __THREADNL instead of __THREAD - for memory synchronization functions. - -2011-10-26 Roland McGrath - - [BZ #13349] - * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which - doesn't exist. - * manual/stdio.texi (Obstack Streams): Node removed. - -2011-10-26 Andreas Schwab - - * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval. - * sysdeps/ieee754/dbl-64/s_round.c: Likewise. - * sysdeps/ieee754/flt-32/s_roundf.c: Likewise. - - * math/math_private.h (math_force_eval): Allow non-addressable - arguments. - * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise. - -2011-10-25 Ulrich Drepper - - * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the - file is not needed. - - * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants. - * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables. - Add AVX variants. - * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file. - * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file. - * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file. - * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file. - * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file. - * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file. - * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file. - * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file. - * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file. - * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file. - * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file. - * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file. - * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file. - * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file. - * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file. - * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file. - * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file. - * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file. - * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file. - - * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available - all the time. Define bit_AVX. Define HAS_* macros using bit_* macros. - - * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier - place. Use VEX encoding when compiling for AVX. - -2011-10-25 Andreas Schwab - - * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t. - * wcsmbs/wmemcmp.c (WMEMCMP): Likewise. - - * string/test-strchr.c (do_test): Don't generate NUL bytes. - -2011-10-25 Ulrich Drepper - - * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a - useless if() expression. - * sysdeps/ieee754/dbl-64/e_j0.c: Likewise. - * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise. - * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise. - * sysdeps/ieee754/dbl-64/s_floor.c: Likewise. - * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise. - * sysdeps/ieee754/dbl-64/s_round.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise. - * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise. - * sysdeps/ieee754/flt-32/e_j0f.c: Likewise. - * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise. - * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise. - * sysdeps/ieee754/flt-32/s_floorf.c: Likewise. - * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise. - * sysdeps/ieee754/flt-32/s_roundf.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise. - - * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible. - -2011-10-25 Andreas Schwab - - * elf/dl-deps.c (_dl_map_object_deps): Remove always true - condition. - * elf/dl-fini.c (_dl_sort_fini): Likewise. - -2011-10-25 Ulrich Drepper - - * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate - .text section. Avoid duplicate constants. - * sysdeps/ieee754/dbl-64/doasin.c: Likewise. - * sysdeps/ieee754/dbl-64/dosincos.c: Likewise. - * sysdeps/ieee754/dbl-64/e_asin.c: Likewise. - * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. - * sysdeps/ieee754/dbl-64/e_exp.c: Likewise. - * sysdeps/ieee754/dbl-64/e_log.c: Likewise. - * sysdeps/ieee754/dbl-64/e_pow.c: Likewise. - * sysdeps/ieee754/dbl-64/halfulp.c: Likewise. - * sysdeps/ieee754/dbl-64/mpa.c: Likewise. - * sysdeps/ieee754/dbl-64/mpa.h: Likewise. - * sysdeps/ieee754/dbl-64/mpatan.c: Likewise. - * sysdeps/ieee754/dbl-64/mpatan.h: Likewise. - * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise. - * sysdeps/ieee754/dbl-64/mpexp.c: Likewise. - * sysdeps/ieee754/dbl-64/mpexp.h: Likewise. - * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise. - * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise. - * sysdeps/ieee754/dbl-64/mptan.c: Likewise. - * sysdeps/ieee754/dbl-64/s_sin.c: Likewise. - * sysdeps/ieee754/dbl-64/s_tan.c: Likewise. - * sysdeps/ieee754/dbl-64/sincos32.c: Likewise. - * sysdeps/ieee754/dbl-64/slowexp.c: Likewise. - * sysdeps/ieee754/dbl-64/slowpow.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise. - -2011-10-24 Ulrich Drepper - - * sysdeps/x86_64/dla.h: Move to ... - * sysdeps/x86_64/fpu/dla.h: ...here. - (DLA_FMS): Some compilers fail to inline __builtin_fma in some - situations. Use __builtin_fma only for gcc 4.6 and up. - - * config.make.in: Add have-mfma4 entry. - * configure.in: Substitute libc_cv_cc_fma4. - * math/Makefile (dbl-only-routines): Add sincostab. - * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl. - Use __sincostab not sincos. - * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function - name is a macro. - * sysdeps/ieee754/dbl-64/e_exp.c: Likewise. - * sysdeps/ieee754/dbl-64/e_log.c: Likewise. - * sysdeps/ieee754/dbl-64/e_pow.c: Likewise. - * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2 - using __copysign. - * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define - __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define - norm, denorm, and __mp_dbl unless NO___MP_DBL is defined. - * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn, - and __inv. - * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static. - * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using - __copysign. - * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't - define aliases when function name is a macro. - * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from - sysdeps/ieee754/dbl-64/sincos.tbl. - * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build - fma4-enabled routines. - * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file. - * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file. - * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file. - * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file. - * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file. - * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file. - * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file. - * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file. - * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file. - * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file. - * sysdeps/x86_64/fpu/multiarch/e_log.c: New file. - * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file. - * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file. - * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file. - * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file. - * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file. - * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file. - * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file. - * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file. - * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file. - * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file. - * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file. - * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file. - * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file. - * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file. - * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file. - * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file. - * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file. - * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file. - * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file. - - * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS - rename. - * sysdeps/ieee754/dbl-64/dosincos.c: Likewise. - * sysdeps/ieee754/dbl-64/dosincos.c: Likewise. - * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. - * sysdeps/ieee754/dbl-64/e_log.c: Likewise. - * sysdeps/ieee754/dbl-64/e_pow.c: Likewise. - * sysdeps/ieee754/dbl-64/halfulp.c: Likewise. - * sysdeps/ieee754/dbl-64/s_atan.c: Likewise. - * sysdeps/ieee754/dbl-64/s_tan.c: Likewise. - -2011-10-24 Andreas Schwab - - * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic. - -2011-10-23 Ulrich Drepper - - * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file. - - * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch - prediction. - * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file. - - * string/strnlen.c: Don't define STRNLEN, reverse logic. - Remove unused variable magic_bits. - * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file. - - * string/strnlen.c: Define and use STRNLEN macro. - * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines): - Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c. - * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen. - * wcsmbs/wcslen.c: Define and use WCSLEN. - * sysdeps/i386/i686/multiarch/strnlen-c.c: New file. - * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file. - * sysdeps/i386/i686/multiarch/strnlen.S: New file. - * sysdeps/i386/i686/multiarch/wcslen-c.c: New file. - * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file. - * sysdeps/i386/i686/multiarch/wcslen.S: New file. - Patch by Liubov Dmitrieva . - -2011-10-20 Liubov Dmitrieva - - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add - strnlen-sse2-no-bsf. - Rename strlen-no-bsf to strlen-sse2-no-bsf. - * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to - * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: - Add strnlen support. - (USE_AS_STRNLEN): New macro. - * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file. - * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update. - Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S - * sysdeps/x86_64/wcslen.S: New file. - -2011-10-20 Michael Zolotukhin - - * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update. - XMM-moves are used for copying on small sizes. - -2011-10-19 Liubov Dmitrieva - - * wcsmbs/Makefile (strop-tests): Add wcschr. - * wcsmbs/test-wcschr.c: New file. - * string/test-strchr.c: Update. - Add wcschr support. - (WIDE): New macro. - -2011-10-18 Liubov Dmitrieva - - * wcsmbs/Makefile (strop-tests): Add wcslen. - * wcsmbs/test-wcslen.c: New file. - * string/test-strlen.c: Update. - Add wcslen support. - (WIDE): New macro. - -2011-10-23 Ulrich Drepper - - * po/it.po: Update from translation team. - -2011-09-22 Liubov Dmitrieva - - * sysdeps/x86_64/wcscmp.S: Update. - Fix wrong comparison semantics. - wcscmp shall use signed comparison not unsigned. - Don't use substraction to avoid overflow bug. - * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise. - * wcsmbc/wcscmp.c: Likewise. - * string/test-strcmp.c: Likewise. - Add new tests to check cases with negative values. - -2011-10-23 Ulrich Drepper - - * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to... - * sysdeps/x86_64/dla.h: ...here. New file. - * sysdeps/ieee754/dbl-64/doasin.c: Use not "dla.h". - * sysdeps/ieee754/dbl-64/dosincos.c: Likewise. - * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. - * sysdeps/ieee754/dbl-64/e_log.c: Likewise. - * sysdeps/ieee754/dbl-64/e_pow.c: Likewise. - * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise. - * sysdeps/ieee754/dbl-64/halfulp.c: Likewise. - * sysdeps/ieee754/dbl-64/s_atan.c: Likewise. - * sysdeps/ieee754/dbl-64/s_tan.c: Likewise. - -2011-10-23 Andreas Schwab - - * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and - __ynl_finite aliases. - -2011-10-22 Ulrich Drepper - - * sysdeps/x86_64/fpu/libm-test-ulps: Update. - - * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support - define DLA_FMA. - [DLA_FMA] (EMULV): Use DLA_FMA. - [DLA_FMA] (MUL12): Use EMULV. - * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables - that are not needed. - * sysdeps/ieee754/dbl-64/dosincos.c: Likewise. - * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. - * sysdeps/ieee754/dbl-64/e_log.c: Likewise. - * sysdeps/ieee754/dbl-64/e_pow.c: Likewise. - * sysdeps/ieee754/dbl-64/halfulp.c: Likewise. - * sysdeps/ieee754/dbl-64/s_atan.c: Likewise. - * sysdeps/ieee754/dbl-64/s_tan.c: Likewise. - -2011-10-22 Andreas Schwab - - * math/s_nan.c: Undef __nan. - * math/s_nanf.c: Undef __nanf. - * math/s_nanl.c: Undef __nanl. - * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include before - "math_private.h". - -2011-10-22 Ulrich Drepper - - * math/s_catan.c: Add branch predictions. - * math/s_catanf.c: Likewise. - * math/s_catanh.c: Likewise. - * math/s_catanhf.c: Likewise. - * math/s_catanhl.c: Likewise. - * math/s_catanl.c: Likewise. - * math/s_cexp.c: Likewise. - * math/s_cexpf.c: Likewise. - * math/s_cexpl.c: Likewise. - * math/s_clog.c: Likewise. - * math/s_clog10.c: Likewise. - * math/s_clog10f.c: Likewise. - * math/s_clog10l.c: Likewise. - * math/s_clogf.c: Likewise. - * math/s_clogl.c: Likewise. - * math/s_csqrt.c: Likewise. - * math/s_csqrtf.c: Likewise. - * math/s_csqrtl.c: Likewise. - * math/s_ctanf.c: Likewise. - * math/s_ctanh.c: Likewise. - * math/s_ctanhf.c: Likewise. - * math/s_ctanhl.c: Likewise. - * math/s_ctanl.c: Likewise. - - * math/math_private.h: Define __nan, __nanf, __nanl. - * math/s_cacosh.c: Include . - * math/s_cacoshl.c: Likewise. - * math/s_casinh.c: Likewise. - * math/s_casinhf.c: Likewise. - * math/s_casinhl.c: Likewise. - * math/s_ccos.c: Rely entire on ccosh. - * math/s_ccosf.c: Rely entire on ccoshf. - * math/s_ccosl.c: Rely entirely on ccoshl. - * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction. - Remove tests for FE_INVALID. - * math/s_ccoshf.c: Likewise. - * math/s_ccoshl.c: Likewise. - * math/s_csin.c: Likewise. - * math/s_csinf.c: Likewise. - * math/s_csinh.c Likewise. - * math/s_csinhf.c: Likewise. - * math/s_csinhl.c: Likewise. - * math/s_csinl.c: Likewise. - * math/s_ctan.c: Likewise. - * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt. - * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf. - * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl. - -2011-10-21 Ulrich Drepper - - * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix - compilation problems. - - * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more - __builtin_expect. - -2011-10-20 Ulrich Drepper - - * sysdeps/i386/configure.in: Test for -mfma4 option. - * config.h.in: Add HAVE_FMA4_SUPPORT entry. - * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and - COMMON_CPUID_INDEX_80000001. - * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD. - * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and - use it if FMA3 is not supported. - * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise. - - * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch. - * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise. - -2011-10-20 Andreas Schwab - - [BZ #12892] - * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if - it would create a cycle with a link time dependency. - -2011-10-19 Ulrich Drepper - - * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an - instruction. - * string/Makefile (strop-tests): Add rawmemchr. - * string/test-rawmemchr.c: New file. - - * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX. - * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from... - * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S - when compiling str{,n}casecmp and when AVX is available. Hook up - new optimized code in initializers. - -2011-10-19 Andreas Schwab - - * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use - __feraiseexcept instead of feraiseexcept. - -2011-10-18 Ulrich Drepper - - * math/math_private.h: Define defaults for libc_fetestexcept and - libc_feupdateenv. - * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces. - * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise. - * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise. - * sysdeps/ieee754/flt-32/e_expf.c: Likewise. - * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise. - * sysdeps/x86_64/fpu/math_private.h: Define special versions of - libc_fetestexcept and libc_feupdateenv. - - * math/math_private.h: Define defaults for libc_feholdexcept_setround, - libc_feholdexcept_setroundf, libc_feholdexcept_setroundl. - * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround. - * sysdeps/x86_64/fpu/math_private.h: Define special version of - libc_feholdexcept_setround. - - * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines): - Add s_nearbyint-c and s_nearbyintf-c. - * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and - nearbyintf inlines. - * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file. - * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file. - * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file. - * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file. - - * math/math_private.h: Define defaults for libc_fegetround, - libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf, - libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf, - libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl. - * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use - libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the - standard functions. - * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise. - Remove comments and hacks for old compiler versions. - * sysdeps/x86_64/fpu/math_private.h: Define special versions of - libc_fegetround, libc_fesetround, libc_feholdexcept, and - libc_feholdexceptl. - -2011-10-18 Andreas Schwab - - * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers. - (__feraiseexcept_renamed): Add __NTH. - (feraiseexcept): Add __NTH. Rename local variables to fix - namespace violations. - -2011-10-17 Ulrich Drepper - - * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization. - - * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file. - - * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for - recently added interfaces. - * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise. - - * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe - about macro parameter expansion. - - * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if - __NO_MATH_INLINES is defined. Cleanups. - - * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor, - and __floorf is target has SSE4.1. - * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first. - * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise. - * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise. - - * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function - name. - (floorf): Likewise. - - * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting. - -2011-10-17 Andreas Schwab - - * misc/sys/cdefs.h: Fix last change. - - * grp/initgroups.c (internal_getgrouplist): Fix initgroups - database lookup. - -2011-10-16 Ulrich Drepper - - * misc/sys/cdefs.h: Use leaf function attribute in __THROW. - - * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed. - * sysdeps/ieee754/dbl-64/s_floor.c: Likewise. - * sysdeps/ieee754/dbl-64/s_rint.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise. - * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise. - * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise. - * sysdeps/ieee754/flt-32/s_floorf.c: Likewise. - * sysdeps/ieee754/flt-32/s_rintf.c: Likewise. - * sysdeps/x86_64/fpu/multiarch/Makefile: New file. - * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file. - * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file. - * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file. - * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file. - * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file. - * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file. - * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file. - * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file. - * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file. - * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file. - * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file. - * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file. - - * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf, - ceil, ceilf, floor, floorf. - - * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem. - Perform IRELATIVE relocations last. - - * elf/do-rel.h: Add another parameter nrelative, replacing the - local variable with the same name. Change name of the function - to end in Rel or Rela (uppercase). - * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element - nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the - elf_dynamic_do_##reloc function. - -2011-10-15 Ulrich Drepper - - * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x - is sufficient, at least on modern CPUs. - - * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file. - - * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup. - * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file. - - * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite, - __expl_finite. - * math/bits/math-finite.h: Add entries for exp. - * math/e_expl.c: Add __*_finite alias. - * sysdeps/i386/fpu/e_exp.S: Likewise. - * sysdeps/i386/fpu/e_expf.S: Likewise. - * sysdeps/i386/fpu/e_expl.c: Likewise. - * sysdeps/ieee754/dbl-64/e_exp.c: Likewise. - * sysdeps/ieee754/flt-32/e_expf.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise. - * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite. - * sysdeps/ieee754/flt-32/w_expf.c: Likewise. - * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise. - - * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x - is sufficient, at least on modern CPUs. - - * ctype/ctype-info.c (__ctype_init): Define. - * include/ctype.h (__ctype_init): Declare. - (__ctype_b_loc): The variable is always initialized. - (__ctype_toupper_loc): Likewise. - (__ctype_tolower_loc): Likewise. - * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE. - * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init. - -2011-10-15 Andreas Schwab - - * wcsmbs/wmemcmp.c (WMEMCMP): Define. - - * configure.in: Also look in $cxxmachine/include for C++ system - headers. - -2011-09-27 Liubov Dmitrieva - - * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add - memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c - * sysdeps/x86_64/multiarch/memcmp-ssse3: New file. - * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3. - * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update. - (USE_AS_WMEMCMP): New macro. - Fixing indents. - * sysdeps/x86_64/multiarch/wmemcmp.S: New file. - * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file. - * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file. - * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file. - * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add - wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c - * sysdeps/i386/i686/multiarch/wmemcmp.S: New file. - * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file. - * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file. - * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file. - * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update. - (USE_AS_WMEMCMP): New macro. - * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise. - * sysdeps/string/test-memcmp.c: Update. - Fix simple_wmemcmp. - Add new tests. - * wcsmbs/wmemcmp.c: Update. - (WMEMCMP): New macro. - Fix overflow bug. - -2011-10-12 Andreas Jaeger - - [BZ #13268] - * math/bits/mathcalls.h: Mark argument 2 of modf as non-null. - -2011-10-15 Ulrich Drepper - - * libio/iofwide.c (do_length): Avoid warning. - - * ctype/ctype.h (__isctype_f): Add missing __THROW. - -2011-10-14 Ulrich Drepper - - * elf/pldd-xx.c (find_maps): Remove leftover debug message. - - * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite. - * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite. - * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite. - * sysdeps/i386/i686/fpu/e_log.S: New file. - * sysdeps/i386/i686/fpu/e_logf.S: New file. - * sysdeps/i386/i686/fpu/e_logl.S: New file. - - * ctype/ctype.h: Add support for inlined isXXX functions when - compiling C++ code. - -2011-10-14 Andreas Schwab - - * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests. - - * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change. - -2011-10-13 Roland McGrath - - [BZ #13291] - * manual/string.texi (String/Array Comparison): Typo fix in strverscmp. - -2011-10-13 Andreas Schwab - - * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias. - * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of - feraiseexcept. - - * sysdeps/x86_64/memrchr.S: Check for zero size. - - * string/stratcliff.c: Add memrchr tests. - -2011-10-12 Liubov Dmitrieva - - * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add - memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c - rawmemchr-sse2 rawmemchr-sse2-bsf. - * sysdeps/i386/i686/multiarch/memchr.S: New file. - * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file. - * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file. - * sysdeps/i386/i686/multiarch/memrchr.S: New file. - * sysdeps/i386/i686/multiarch/memrchr-c.c: New file. - * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file. - * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file. - * sysdeps/i386/i686/multiarch/rawmemchr.S: New file. - * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file. - * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file. - * string/memrchr.c (MEMRCHR): New macro. - -2011-10-12 Ulrich Drepper - - Add integration with gcc's -ffinite-math-only and optimize wrapper - functions in libm. - * Versions.def: Define GLIBC_2.15 version for libm. - * math/Makefile (headers): Add bits/math-finite.h. - * math/bits/math-finite.h: New file. - * sysdeps/ia64/fpu/bits/math-finite.h: New file. - * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols. - * math/e_acoshl.c: Add __*_finite alias. - * math/e_acosl.c: Likewise. - * math/e_asinl.c: Likewise. - * math/e_atan2l.c: Likewise. - * math/e_atanhl.c: Likewise. - * math/e_coshl.c: Likewise. - * math/e_exp10.c: Likewise. - * math/e_exp10f.c: Likewise. - * math/e_exp10l.c: Likewise. - * math/e_exp2l.c: Likewise. - * math/e_fmodl.c: Likewise. - * math/e_gammal_r.c: Likewise. - * math/e_hypotl.c: Likewise. - * math/e_j0l.c: Likewise. - * math/e_j1l.c: Likewise. - * math/e_jnl.c: Likewise. - * math/e_lgammal_r.c: Likewise. - * math/e_log10l.c: Likewise. - * math/e_log2l.c: Likewise. - * math/e_logl.c: Likewise. - * math/e_powl.c: Likewise. - * math/e_sinhl.c: Likewise. - * math/e_sqrtl.c: Likewise. - * math/e_scalb.c: Completely rewritten and optimized. - * math/e_scalbf.c: Likewise. - * math/e_scalbl.c: Likewise. - * math/w_acos.c: Likewise. - * math/w_acosf.c: Likewise. - * math/w_acosl.c: Likewise. - * math/w_acosh.c: Likewise. - * math/w_acoshf.c: Likewise. - * math/w_acoshl.c: Likewise. - * math/w_asin.c: Likewise. - * math/w_asinf.c: Likewise. - * math/w_asinl.c: Likewise. - * math/w_atan2.c: Likewise. - * math/w_atan2f.c: Likewise. - * math/w_atan2l.c: Likewise. - * math/w_atanh.c: Likewise. - * math/w_atanhf.c: Likewise. - * math/w_atanhl.c: Likewise. - * math/w_exp10.c: Likewise. - * math/w_exp10f.c: Likewise. - * math/w_exp10l.c: Likewise. - * math/w_fmod.c: Likewise. - * math/w_fmodf.c: Likewise. - * math/w_fmodl.c: Likewise. - * math/w_j0.c: Likewise. - * math/w_j0f.c: Likewise. - * math/w_j0l.c: Likewise. - * math/w_j1.c: Likewise. - * math/w_j1f.c: Likewise. - * math/w_j1l.c: Likewise. - * math/w_jn.c: Likewise. - * math/w_jnf.c: Likewise. - * math/w_log.c: Likewise. - * math/w_logf.c: Likewise. - * math/w_logl.c: Likewise. - * math/w_log10.c: Likewise. - * math/w_log10f.c: Likewise. - * math/w_log10l.c: Likewise. - * math/w_log2.c: Likewise. - * math/w_log2f.c: Likewise. - * math/w_log2l.c: Likewise. - * math/w_pow.c: Likewise. - * math/w_powf.c: Likewise. - * math/w_powl.c: Likewise. - * math/w_remainder.c: Likewise. - * math/w_remainderf.c: Likewise. - * math/w_remainderl.c: Likewise. - * math/w_scalb.c: Likewise. - * math/w_scalbf.c: Likewise. - * math/w_scalbl.c: Likewise. - * math/w_sqrt.c: Likewise. - * math/w_sqrtf.c: Likewise. - * math/w_sqrtl.c: Likewise. - * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions - are declared. Include if -ffinite-math-only is - used. - * math/math_private.h: Declare __kernel_standard_f. - * math/w_cosh.c: Remove cruft and optimize a bit. - * math/w_coshf.c: Likewise. - * math/w_coshl.c: Likewise. - * math/w_exp2.c: Likewise. - * math/w_exp2f.c: Likewise. - * math/w_exp2l.c: Likewise. - * math/w_hypot.c: Likewise. - * math/w_hypotf.c: Likewise. - * math/w_hypotl.c: Likewise. - * math/w_lgamma.c: Likewise. - * math/w_lgamma_r.c: Likewise. - * math/w_lgammaf.c: Likewise. - * math/w_lgammaf_r.c: Likewise. - * math/w_lgammal.c: Likewise. - * math/w_lgammal_r.c: Likewise. - * math/w_sinh.c: Likewise. - * math/w_sinhf.c: Likewise. - * math/w_sinhl.c: Likewise. - * math/w_tgamma.c: Likewise. - * math/w_tgammaf.c: Likewise. - * math/w_tgammal.c: Likewise. - * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise. - * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise. - * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias. - Minor optimizations. Pretty printing. Remove cruft. - * sysdeps/i386/fpu/e_acosf.S: Likewise. - * sysdeps/i386/fpu/e_acosh.S: Likewise. - * sysdeps/i386/fpu/e_acoshf.S: Likewise. - * sysdeps/i386/fpu/e_acoshl.S: Likewise. - * sysdeps/i386/fpu/e_acosl.c: Likewise. - * sysdeps/i386/fpu/e_asin.S: Likewise. - * sysdeps/i386/fpu/e_asinf.S: Likewise. - * sysdeps/i386/fpu/e_atan2.S: Likewise. - * sysdeps/i386/fpu/e_atan2f.S: Likewise. - * sysdeps/i386/fpu/e_atan2l.c: Likewise. - * sysdeps/i386/fpu/e_atanh.S: Likewise. - * sysdeps/i386/fpu/e_atanhf.S: Likewise. - * sysdeps/i386/fpu/e_atanhl.S: Likewise. - * sysdeps/i386/fpu/e_exp10.S: Likewise. - * sysdeps/i386/fpu/e_exp10f.S: Likewise. - * sysdeps/i386/fpu/e_exp10l.S: Likewise. - * sysdeps/i386/fpu/e_exp2.S: Likewise. - * sysdeps/i386/fpu/e_exp2f.S: Likewise. - * sysdeps/i386/fpu/e_exp2l.S: Likewise. - * sysdeps/i386/fpu/e_fmod.S: Likewise. - * sysdeps/i386/fpu/e_fmodf.S: Likewise. - * sysdeps/i386/fpu/e_fmodl.c: Likewise. - * sysdeps/i386/fpu/e_hypot.S: Likewise. - * sysdeps/i386/fpu/e_hypotf.S: Likewise. - * sysdeps/i386/fpu/e_log.S: Likewise. - * sysdeps/i386/fpu/e_log10.S: Likewise. - * sysdeps/i386/fpu/e_log10f.S: Likewise. - * sysdeps/i386/fpu/e_log10l.S: Likewise. - * sysdeps/i386/fpu/e_log2.S: Likewise. - * sysdeps/i386/fpu/e_log2f.S: Likewise. - * sysdeps/i386/fpu/e_log2l.S: Likewise. - * sysdeps/i386/fpu/e_logf.S: Likewise. - * sysdeps/i386/fpu/e_logl.S: Likewise. - * sysdeps/i386/fpu/e_pow.S: Likewise. - * sysdeps/i386/fpu/e_powf.S: Likewise. - * sysdeps/i386/fpu/e_powl.S: Likewise. - * sysdeps/i386/fpu/e_remainder.S: Likewise. - * sysdeps/i386/fpu/e_remainderf.S: Likewise. - * sysdeps/i386/fpu/e_remainderl.S: Likewise. - * sysdeps/i386/fpu/e_scalb.S: Likewise. - * sysdeps/i386/fpu/e_scalbf.S: Likewise. - * sysdeps/i386/fpu/e_scalbl.S: Likewise. - * sysdeps/i386/fpu/e_sqrt.S: Likewise. - * sysdeps/i386/fpu/e_sqrtf.S: Likewise. - * sysdeps/i386/fpu/e_sqrtl.c: Likewise. - * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise. - * sysdeps/ieee754/dbl-64/e_asin.c: Likewise. - * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. - * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise. - * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise. - * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise. - * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise. - * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise. - * sysdeps/ieee754/dbl-64/e_j0.c: Likewise. - * sysdeps/ieee754/dbl-64/e_j1.c: Likewise. - * sysdeps/ieee754/dbl-64/e_jn.c: Likewise. - * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise. - * sysdeps/ieee754/dbl-64/e_log.c: Likewise. - * sysdeps/ieee754/dbl-64/e_log10.c: Likewise. - * sysdeps/ieee754/dbl-64/e_log2.c: Likewise. - * sysdeps/ieee754/dbl-64/e_pow.c: Likewise. - * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise. - * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise. - * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise. - * sysdeps/ieee754/dbl-64/halfulp.c: Likewise. - * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise. - * sysdeps/ieee754/flt-32/e_acosf.c: Likewise. - * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise. - * sysdeps/ieee754/flt-32/e_asinf.c: Likewise. - * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise. - * sysdeps/ieee754/flt-32/e_coshf.c: Likewise. - * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise. - * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise. - * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise. - * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise. - * sysdeps/ieee754/flt-32/e_j0f.c: Likewise. - * sysdeps/ieee754/flt-32/e_j1f.c: Likewise. - * sysdeps/ieee754/flt-32/e_jnf.c: Likewise. - * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise. - * sysdeps/ieee754/flt-32/e_log10f.c: Likewise. - * sysdeps/ieee754/flt-32/e_log2f.c: Likewise. - * sysdeps/ieee754/flt-32/e_logf.c: Likewise. - * sysdeps/ieee754/flt-32/e_powf.c: Likewise. - * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise. - * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise. - * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise. - * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise. - * sysdeps/powerpc/fpu/e_hypot.c: Likewise. - * sysdeps/powerpc/fpu/e_hypotf.c: Likewise. - * sysdeps/powerpc/fpu/e_sqrt.c: Likewise. - * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise. - * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise. - * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise. - * sysdeps/s390/fpu/e_sqrt.c: Likewise. - * sysdeps/s390/fpu/e_sqrtf.c: Likewise. - * sysdeps/s390/fpu/e_sqrtl.c: Likewise. - * sysdeps/sparc/sparc32/e_sqrt.c: Likewise. - * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise. - * sysdeps/x86_64/fpu/e_exp2l.S: Likewise. - * sysdeps/x86_64/fpu/e_fmodl.S: Likewise. - * sysdeps/x86_64/fpu/e_log10l.S: Likewise. - * sysdeps/x86_64/fpu/e_log2l.S: Likewise. - * sysdeps/x86_64/fpu/e_logl.S: Likewise. - * sysdeps/x86_64/fpu/e_powl.S: Likewise. - * sysdeps/x86_64/fpu/e_remainderl.S: Likewise. - * sysdeps/x86_64/fpu/e_scalbl.S: Likewise. - * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order - * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise. - * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter. - (__isnanf): Likewise. - (__isinf_ns): Likewise. - (__isinf_nsf): Likewise. - (__finite): Likewise. - (__finitef): Likewise. - (__ieee754_sqrt): Define as macro. - (__ieee754_sqrtf): Define as macro. - (__ieee754_sqrtl): Define as macro. - * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially - inlined copy. - * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of - __FINITE_MATH_ONLY__ consistent. - * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function. - -2011-10-10 Andreas Schwab - - * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead - of rawmemchr. - - * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file. - -2011-10-09 Ulrich Drepper - - * po/ja.po: Update from translation team. - -2011-10-08 Roland McGrath - - * locale/programs/locarchive.c (prepare_address_space): New function. - (create_archive, enlarge_archive, open_archive): Use it. - - * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include - inside [SHARED], where it is used. - - * nscd/nscd_proto.h: Declare __nscd_setnetgrent. - - * nss/getent.c (netgroup_keys): Remove unused variable. - * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise. - -2011-10-08 Ulrich Drepper - - * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl. - * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file. - * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file. - * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file. - * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file. - * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file. - * math/Makefile (libm-calls): Add s_isinf_ns. - * math/divtc3.c: Use __isinf_nsl instead of isinf. - * math/multc3.c: Likewise. - * math/s_casin.c: Likewise. - * math/s_casinf.c: Likewise. - * math/s_casinl.c: Likewise. - * math/s_ccos.c: Likewise. - * math/s_ccosf.c: Likewise. - * math/s_ccosl.c: Likewise. - * math/s_ctan.c: Likewise. - * math/s_ctanf.c: Likewise. - * math/s_ctanh.c: Likewise. - * math/s_ctanhf.c: Likewise. - * math/s_ctanhl.c: Likewise. - * math/s_ctanl.c: Likewise. - * math/w_fmod.c: Likewise. - * math/w_fmodf.c: Likewise. - * math/w_fmodl.c: Likewise. - * math/w_remainder.c: Likewise. - * math/w_remainderf.c: Likewise. - * math/w_remainderl.c: Likewise. - * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite. - * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan. - * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite. - * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan. - * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef. - * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan. - * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn, - __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef. - - * stdio-common/printf_fp.c: Use the fact that isinf returns the sign - of the number. - * stdio-common/printf_fphex.c: Likewise. - * stdio-common/printf_size.c: Likewise. - - * math/e_exp10.c: Include math_private.h using <...> not "...". - * math/e_exp10f.c: Likewise. - * math/e_exp10l.c: Likewise. - * math/e_exp2l.c: Likewise. - * math/e_j0l.c: Likewise. - * math/e_j1l.c: Likewise. - * math/e_jnl.c: Likewise. - * math/e_lgammal_r.c: Likewise. - * math/e_rem_pio2l.c: Likewise. - * math/e_scalb.c: Likewise. - * math/e_scalbf.c: Likewise. - * math/e_scalbl.c: Likewise. - * math/k_cosl.c: Likewise. - * math/k_sinl.c: Likewise. - * math/k_tanl.c: Likewise. - * math/s_cacoshf.c: Likewise. - * math/s_catan.c: Likewise. - * math/s_catanf.c: Likewise. - * math/s_catanh.c: Likewise. - * math/s_catanhf.c: Likewise. - * math/s_catanhl.c: Likewise. - * math/s_catanl.c: Likewise. - * math/s_ccosh.c: Likewise. - * math/s_ccoshf.c: Likewise. - * math/s_ccoshl.c: Likewise. - * math/s_cexp.c: Likewise. - * math/s_cexpf.c: Likewise. - * math/s_cexpl.c: Likewise. - * math/s_clog.c: Likewise. - * math/s_clog10.c: Likewise. - * math/s_clog10f.c: Likewise. - * math/s_clog10l.c: Likewise. - * math/s_clogf.c: Likewise. - * math/s_clogl.c: Likewise. - * math/s_csin.c: Likewise. - * math/s_csinf.c: Likewise. - * math/s_csinh.c: Likewise. - * math/s_csinhf.c: Likewise. - * math/s_csinhl.c: Likewise. - * math/s_csinl.c: Likewise. - * math/s_csqrt.c: Likewise. - * math/s_csqrtf.c: Likewise. - * math/s_csqrtl.c: Likewise. - * math/s_ctan.c: Likewise. - * math/s_ctanf.c: Likewise. - * math/s_ctanh.c: Likewise. - * math/s_ctanhf.c: Likewise. - * math/s_ctanhl.c: Likewise. - * math/s_ctanl.c: Likewise. - * math/s_ldexp.c: Likewise. - * math/s_ldexpf.c: Likewise. - * math/s_ldexpl.c: Likewise. - * math/s_significand.c: Likewise. - * math/s_significandf.c: Likewise. - * math/s_significandl.c: Likewise. - * math/w_acos.c: Likewise. - * math/w_acosf.c: Likewise. - * math/w_acosh.c: Likewise. - * math/w_acoshf.c: Likewise. - * math/w_acoshl.c: Likewise. - * math/w_acosl.c: Likewise. - * math/w_asin.c: Likewise. - * math/w_asinf.c: Likewise. - * math/w_asinl.c: Likewise. - * math/w_atan2.c: Likewise. - * math/w_atan2f.c: Likewise. - * math/w_atan2l.c: Likewise. - * math/w_atanh.c: Likewise. - * math/w_atanhf.c: Likewise. - * math/w_atanhl.c: Likewise. - * math/w_cosh.c: Likewise. - * math/w_coshf.c: Likewise. - * math/w_coshl.c: Likewise. - * math/w_dremf.c: Likewise. - * math/w_exp10.c: Likewise. - * math/w_exp10f.c: Likewise. - * math/w_exp10l.c: Likewise. - * math/w_exp2.c: Likewise. - * math/w_exp2f.c: Likewise. - * math/w_fmod.c: Likewise. - * math/w_fmodf.c: Likewise. - * math/w_fmodl.c: Likewise. - * math/w_hypot.c: Likewise. - * math/w_hypotf.c: Likewise. - * math/w_hypotl.c: Likewise. - * math/w_j0.c: Likewise. - * math/w_j0f.c: Likewise. - * math/w_j0l.c: Likewise. - * math/w_j1.c: Likewise. - * math/w_j1f.c: Likewise. - * math/w_j1l.c: Likewise. - * math/w_jn.c: Likewise. - * math/w_jnf.c: Likewise. - * math/w_jnl.c: Likewise. - * math/w_lgamma.c: Likewise. - * math/w_lgamma_r.c: Likewise. - * math/w_lgammaf.c: Likewise. - * math/w_lgammaf_r.c: Likewise. - * math/w_lgammal.c: Likewise. - * math/w_lgammal_r.c: Likewise. - * math/w_log.c: Likewise. - * math/w_log10.c: Likewise. - * math/w_log10f.c: Likewise. - * math/w_log10l.c: Likewise. - * math/w_log2.c: Likewise. - * math/w_log2f.c: Likewise. - * math/w_log2l.c: Likewise. - * math/w_logf.c: Likewise. - * math/w_logl.c: Likewise. - * math/w_pow.c: Likewise. - * math/w_powf.c: Likewise. - * math/w_powl.c: Likewise. - * math/w_remainder.c: Likewise. - * math/w_remainderf.c: Likewise. - * math/w_remainderl.c: Likewise. - * math/w_scalb.c: Likewise. - * math/w_scalbf.c: Likewise. - * math/w_scalbl.c: Likewise. - * math/w_sinh.c: Likewise. - * math/w_sinhf.c: Likewise. - * math/w_sinhl.c: Likewise. - * math/w_sqrt.c: Likewise. - * math/w_sqrtf.c: Likewise. - * math/w_sqrtl.c: Likewise. - * math/w_tgamma.c: Likewise. - * math/w_tgammaf.c: Likewise. - * math/w_tgammal.c: Likewise. - - * po/ja.po: Update from translation team. - -2011-09-29 Andreas Jaeger - - [BZ #13179] - * sunrpc/netname.c (netname2host): Fix logic. - - [BZ #6779] - [BZ #6783] - * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y) - correctly. - * math/w_remainder.c (__remainder): Likewise. - * math/w_remainderf.c (__remainderf): Likewise. - * math/libm-test.inc (remainder_test): Add test cases. - -2011-10-04 Andreas Krebbel - - * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and - sdiv_qrnnd. - -2011-10-07 Ulrich Drepper - - * string/test-memcmp.c: Avoid unncessary #defines. - Patch by Liubov Dmitrieva . - -2011-08-31 Liubov Dmitrieva - - * sysdeps/x86_64/multiarch/rawmemchr.S: Update. - Use new sse2 version for core i3 - i7 as it's faster - than sse42 version. - (bit_Prefer_PMINUB_for_stringop): New. - * sysdeps/x86_64/rawmemchr.S: Update. - Replace with faster SSE2 version. - * sysdeps/x86_64/memrchr.S: New file. - * sysdeps/x86_64/memchr.S: Update. - Replace with faster SSE2 version. - -2011-09-12 Marek Polacek - - * elf/dl-load.c (lose): Add cast to avoid warning. - -2011-10-07 Ulrich Drepper - - * po/ca.po: Update from translation team. - - * inet/getnetgrent_r.c: Hook up nscd. - * nscd/Makefile (routines): Add nscd_netgroup. - (nscd-modules): Add netgroupcache. - (CFLAGS-netgroupcache.c): Define. - * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR. - (cache_search): Add const to second parameter. - * nscd/connections.c (serv2str): Add entries for GETNETGRENT and - INNETGR. - (dbs): Add netgrdb entry. - (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR. - (verify_persistent_db): Handle netgrdb. - (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR. - * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and - GETFDNETGR. - (netgroup_response_header): Define. - (innetgroup_response_header): Define. - (datahead): Add netgroup_response_header and innetgroup_response_header - elements. - * nscd/nscd.conf: Add entries for netgroup cache. - * nscd/nscd.h (dbtype): Add netgrdb. - (_PATH_NSCD_NETGROUP_DB): Define. - (netgroup_iov_disabled): Declare. - (xmalloc, xcalloc, xrealloc): Move declarations here. - (cache_search): Adjust prototype. - Add netgroup-related prototypes. - * nscd/nscd_conf.c (dbnames): Add netgrdb entry. - * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare. - (__nscd_innetgr): Declare. - * nscd/selinux.c (perms): Use access_vector_t as element type and - add netgroup-related initializers. - * nscd/netgroupcache.c: New file. - * nscd/nscd_netgroup.c: New file. - * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup. - * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter. - For four parameters use innetgr. - * nss/nss_files/files-init.c: Add definition and callback for netgr. - * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def. - (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup. - * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto. - - * nscd/connections.c (register_traced_file): Don't register file - for disabled databases. - -2011-10-06 Ulrich Drepper - - * nscd/grpcache.c (cache_addgr): Initialize written in all cases. - - * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting - from tree and freeing node. - -2011-09-25 Jiri Olsa - - * nss/nsswitch.c (__nss_database_lookup): Handle - nss_parse_service_list out of memory case. - -2011-09-15 Jiri Olsa - - * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch - out of memory case. - -2011-10-04 Andreas Schwab - - * include/dlfcn.h (__RTLD_NOIFUNC): Define. - * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and - pass it down. - * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel, - elf_machine_rela, elf_machine_lazy_rel. - (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down. - (ELF_DYNAMIC_DO_REL): Likewise. - (ELF_DYNAMIC_DO_RELA): Likewise. - (ELF_DYNAMIC_RELOCATE): Likewise. - * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down - to ELF_DYNAMIC_DO_REL. - * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE. - (dl_main): In trace mode always set __RTLD_NOIFUNC. - * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to - elf_machine_rela. - * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter - skip_ifunc, don't call ifunc function if non-zero. - (elf_machine_rela): Likewise. - (elf_machine_lazy_rel): Likewise. - (elf_machine_lazy_rela): Likewise. - * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise. - (elf_machine_lazy_rel): Likewise. - * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): - Likewise. - (elf_machine_lazy_rel): Likewise. - * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): - Likewise. - (elf_machine_lazy_rel): Likewise. - * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise. - (elf_machine_lazy_rel): Likewise. - * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise. - (elf_machine_lazy_rel): Likewise. - * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise. - (elf_machine_lazy_rel): Likewise. - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise. - (elf_machine_lazy_rel): Likewise. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise. - (elf_machine_lazy_rel): Likewise. - * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise. - (elf_machine_lazy_rel): Likewise. - -2011-09-28 Ulrich Drepper - - * nss/nss_files/files-init.c (_nss_files_init): Use static - initialization for all the *_traced_file variables. - -2011-09-28 Andreas Schwab - - * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests. - -2011-09-27 Roland McGrath - - [BZ #13226] - * manual/signal.texi (Longjmp in Handler): Grammar fixes. - -2011-09-27 Andreas Schwab - - * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): - Reread the line before reparsing it. - -2011-09-26 Andreas Schwab - - * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm. - -2011-09-21 Chung-Lin Tang - Maxim Kuvyrkov - Joseph Myers - - * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so - if needed for __stack_chk_guard. - -2011-09-19 Roland McGrath - - * sysdeps/posix/spawni.c (script_execute): Always define it. - It will be optimized away if unused. - (maybe_script_execute): New function. - (__spawni): Call it. - - * Makerules: Don't include tls.make. - (config-tls): Always set to thread. - * tls.make.c: File removed. - -2011-09-19 Mike Frysinger - - * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config). - * config.make.in (CPPFLAGS-config): New substituted variable. - -2011-09-15 Ulrich Drepper - - * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file. - - [BZ #13192] - * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define. - Patch mostly by Neil Horman . - -2011-09-15 Roland McGrath - - * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S - (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail. - * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S - (CALL_FAIL): Likewise. - * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise. - (CALL_FAIL): Macro removed. - Patch mostly by Mike Frysinger . - -2011-09-15 Ulrich Drepper - - * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations - for __FINITE_MATH_ONLY__ == 1. - -2011-09-15 Andreas Schwab - - * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use - __ieee754_sqrt instead of sqrt. - * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use - __ieee754_sqrtf instead of sqrtf. - * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use - __floorf instead of floorf. - * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use - __floorf, __truncf instead of floorf, truncf. - -2011-09-14 Ulrich Drepper - - * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section. - - * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use - __extern_always_inline. - Define lrint{f,} and llrint{f,} for 64-bit and in some situations for - 32-bit. - -2011-09-14 Andreas Schwab - - * elf/rtld.c (dl_main): Also relocate in dependency order when - doing symbol dependency testing. - -2011-09-13 Andreas Schwab - - * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): - Always define `refsym'. - -2011-09-13 Andreas Schwab - - * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK. - (__FD_ELT): Renamed from __FDELT. - * misc/bits/select2.h (__FD_ELT): Likewise. - * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT, - __FD_MASK instead of __FDELT, __FDMASK. - * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): - Likewise. - * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): - Likewise. - - * elf/Makefile (gen-ldd): Fix pattern. - - * elf/rtld.c (dl_main): Only use USE___THREAD when defined. - (init_tls): Likewise. - -2011-09-12 Ulrich Drepper - - * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file. - -2011-09-12 Andreas Schwab - - * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to - `struct cmsghdr *' instead of `void *'. - * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr): - Likewise. - -2011-09-11 Andreas Schwab - - * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script) - if non-absolute. - * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from - ldd_rewrite_script. - -2011-09-11 Ulrich Drepper - - * configure.in: Remove --with-tls option. - * config.h.in: Remove HAVE_TLS_SUPPORT entry. - * sysdeps/i386/elf/configure.in: Always test for TLS support and err - out in case it is missing. - * sysdeps/ia64/elf/configure.in: Likewise. - * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise. - * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise. - * sysdeps/s390/s390-32/elf/configure.in: Likewise. - * sysdeps/s390/s390-64/elf/configure.in: Likewise. - * sysdeps/sh/elf/configure.in: Likewise. - * sysdeps/sparc/sparc32/elf/configure.in: Likewise. - * sysdeps/sparc/sparc64/elf/configure.in: Likewise. - * sysdeps/x86_64/elf/configure.in: Likewise. - * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT. - * sysdeps/mach/hurd/tls.h: Likewise. - - [BZ #13067] - * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int. - - [BZ #13090] - * configure.in: Fix use of AC_INIT. - - * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE. - -2011-09-10 Ulrich Drepper - - * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of - __set_errno. - * malloc/hooks.c: Likewise. - - [BZ #11929] - * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all - variables statically. - (narenas): Initialize. - (list_lock): Initialize. - (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove - initializtion of main_arena and list_lock. Small cleanups. - Replace all uses of malloc_getpagesize with GLRO(dl_pagesize). - * malloc/malloc.c: Remove malloc_getpagesize. Include . - Add initializers to main_arena and mp_. - (malloc_state): Remove pagesize member. Change all users to use - GLRO(dl_pagesize). - - * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize. - * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize) - is always initialized. - - * malloc/malloc.c: Removed unused configurations and dead code. - * malloc/arena.c: Likewise. - * malloc/hooks.c: Likewise. - * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS. - - * include/tls.h: Removed. USE___THREAD must always be defined. - * bits/libc-tsd.h: Don't handle !USE___THREAD. - * elf/dl-libc.c: Likewise. - * elf/dl-tsd.c: Likewise. - * include/errno.h: Likewise. - * include/netdb.h: Likewise. - * include/resolv.h: Likewise. - * inet/herrno-loc.c: Likewise. - * inet/herrno.c: Likewise. - * malloc/arena.c: Likewise. - * malloc/hooks.c: Likewise. - * malloc/malloc.c: Likewise. - * resolv/res-state.c: Likewise. - * resolv/res_libc.c: Likewise. - * sysdeps/i386/dl-machine.h: Likewise. - * sysdeps/ia64/dl-machine.h: Likewise. - * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise. - * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise. - * sysdeps/s390/s390-32/dl-machine.h: Likewise. - * sysdeps/s390/s390-64/dl-machine.h: Likewise. - * sysdeps/sh/dl-machine.h: Likewise. - * sysdeps/sparc/sparc32/dl-machine.h: Likewise. - * sysdeps/sparc/sparc64/dl-machine.h: Likewise. - * sysdeps/unix/i386/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. - * sysdeps/unix/x86_64/sysdep.S: Likewise. - * sysdeps/x86_64/dl-machine.h: Likewise. - * tls.make.c: Likewise. - - * configure.in: Remove --with-__thread option. Make tests for - --no-whole-archive, __builtin_expect, symbol redirection, __thread, - tls_model attribute fail if no support is available. Remove - USE_IN_LIBIO. - * Makeconfig: Adjust for dropped configure option. All features are - now mandatory. - * Makerules: Likewise. - * Versions.def: Likewise. - * argp/argp-fmtstream.c: Likewise. - * argp/argp-fmtstream.h: Likewise. - * argp/argp-help.c: Likewise. - * assert/assert.c: Likewise. - * config.h.in: Likewise. - * config.make.in: Likewise. - * configure: Likewise. - * configure.in: Likewise. - * csu/Versions: Likewise. - * csu/init.c: Likewise. - * elf/tst-audit2.c: Likewise. - * elf/tst-tls10.c: Likewise. - * elf/tst-tls10.h: Likewise. - * elf/tst-tls11.c: Likewise. - * elf/tst-tls12.c: Likewise. - * elf/tst-tls14.c: Likewise. - * elf/tst-tlsmod11.c: Likewise. - * elf/tst-tlsmod12.c: Likewise. - * elf/tst-tlsmod13.c: Likewise. - * elf/tst-tlsmod13a.c: Likewise. - * elf/tst-tlsmod14a.c: Likewise. - * elf/tst-tlsmod15b.c: Likewise. - * elf/tst-tlsmod16a.c: Likewise. - * elf/tst-tlsmod16b.c: Likewise. - * elf/tst-tlsmod7.c: Likewise. - * elf/tst-tlsmod8.c: Likewise. - * elf/tst-tlsmod9.c: Likewise. - * gmon/gmon.c: Likewise. - * grp/fgetgrent_r.c: Likewise. - * grp/putgrent.c: Likewise. - * hurd/fopenport.c: Likewise. - * include/libc-symbols.h: Likewise. - * include/tls.h: Likewise. - * intl/gettextP.h: Likewise. - * intl/loadinfo.h: Likewise. - * locale/global-locale.c: Likewise. - * locale/localeinfo.h: Likewise. - * mach/devstream.c: Likewise. - * malloc/arena.c: Likewise. - * malloc/set-freeres.c: Likewise. - * misc/err.c: Likewise. - * misc/getttyent.c: Likewise. - * misc/mntent_r.c: Likewise. - * posix/getopt.c: Likewise. - * posix/wordexp.c: Likewise. - * pwd/fgetpwent_r.c: Likewise. - * resolv/Versions: Likewise. - * resolv/res_hconf.c: Likewise. - * shadow/fgetspent_r.c: Likewise. - * shadow/putspent.c: Likewise. - * stdio-common/printf_fphex.c: Likewise. - * stdio-common/tmpfile.c: Likewise. - * stdlib/abort.c: Likewise. - * stdlib/fmtmsg.c: Likewise. - * sunrpc/auth_unix.c: Likewise. - * sunrpc/clnt_perr.c: Likewise. - * sunrpc/clnt_tcp.c: Likewise. - * sunrpc/clnt_udp.c: Likewise. - * sunrpc/clnt_unix.c: Likewise. - * sunrpc/openchild.c: Likewise. - * sunrpc/svc_simple.c: Likewise. - * sunrpc/svc_tcp.c: Likewise. - * sunrpc/svc_udp.c: Likewise. - * sunrpc/svc_unix.c: Likewise. - * sunrpc/xdr.c: Likewise. - * sunrpc/xdr_array.c: Likewise. - * sunrpc/xdr_rec.c: Likewise. - * sunrpc/xdr_ref.c: Likewise. - * sunrpc/xdr_stdio.c: Likewise. - -2011-09-09 Ulrich Drepper - - * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests. - -2011-07-03 Andreas Jaeger - - * math/libm-test.inc (jn_test): Add tests for BZ#11589. - * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test, - regenerate with gen-libm-tests.pl. - -2010-05-12 Petr Baudis - - [BZ #11589] - * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss - around j0() zero points by switching to j1(). - * sysdeps/ieee754/flt-32/e_jnf.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise. - -2011-09-09 Ulrich Drepper - - * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL - instead of 0. - * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0 - instead of 0. - * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise. - Patch in part by Pavel Roskin . - - [BZ #13138] - * stdio-common/vfscanf.c (ADDW): Allocate large memory block with - realloc. - (_IO_vfscanf_internal): Remove reteof. Use errout after setting done. - Free memory block if necessary. - - [BZ #12847] - * libio/genops.c (INTDEF): For string streams the _lock pointer can - be NULL. Don't lock in this case. - -2011-09-09 Roland McGrath - - * elf/elf.h (ELFOSABI_GNU): New macro. - (ELFOSABI_LINUX): Define to that. - -2011-07-29 Denis Zaitceff - - * string/strncat.c (strncat): Undef the symbol in case it has been - defined in bits/string.h. - -2011-09-09 Ulrich Drepper - - * elf/sotruss.ksh: Clean up, fix, and complete help messages. - - * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real - link map. - -2011-08-17 Andreas Jaeger - - * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction. - -2011-08-18 Paul Pluzhnikov - Ian Lance Taylor - - * math/libm-test.inc (lround_test): New testcase. - * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision. - -2011-09-08 Ulrich Drepper - - * Makefile: Remove support for automatic cvs check-ins. - * Makerules: Likewise. - * config.make.in: Likewise. - * configure.in: Likewise. - * intl/Makefile: Likewise. - * locale/Makefile: Likewise. - * po/Makefile: Likewise. - * posix/Makefile: Likewise. - * sysdeps/gnu/Makefile: Likewise. - * sysdeps/mach/hurd/Makefile: Likewise. - * sysdeps/sparc/sparc32/Makefile: Likewise. - - [BZ #13118] - * posix/Makefile (bug-regex32-ENV): Define. - Patch by John Stanley . - - * misc/Makefile (headers): Add bits/select2.h. - * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE. - * misc/bits/select2.h: New file. - * include/bits/select2.h: New file. - * debug/Makefile (routines): Add fdelt_chk. - * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15. - * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and - FD_ISSET. - * debug/fdelt_chk.c: New file. - - * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust. - * wcsmbs/test-wmemcmp.c: Likewise. - * string/Makefile (strop-tests): Remove wcscmp and wmemcmp. - * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp. - -2011-09-08 Liubov Dmitrieva - - * string/Makefile (strop-tests): Add memcmp. - * string/test-wmemcmp.c: New file. - * string/test-memcmp.c: Add wmemcmp support. - -2011-09-08 Roland McGrath - - [BZ #13153] - * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for - 2011-07-19 change. - - * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a - garbage value in a __mach_port_mod_refs call in the cases of the - task-self and thread-self ports. - -2011-09-06 Samuel Thibault - - * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro. - -2011-09-08 Andreas Schwab - - * elf/dl-load.c (lose): Check for non-null L. - -2011-09-07 Ulrich Drepper - - * elf/dl-load.c (open_verify): Use O_CLOEXEC. - - * elf/dl-libc.c (dlerror_run): Pass back error code from - dl_catch_error. - - [BZ #13123] - * elf/dl-load.c (lose): Free l_origin if it is valid. - - * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section - names. - * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise. - * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise. - * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise. - * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise. - * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise. - Patch by Liubov Dmitrieva . - -2011-08-01 Adhemerval Zanella - - * sysdeps/powerpc/fpu/e_hypot.c: New file. - * sysdeps/powerpc/fpu/e_hypotf.c: New file. - * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file. - * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file. - * sysdeps/powerpc/fpu/k_cosf.c: New file. - * sysdeps/powerpc/fpu/k_sinf.c: New file. - * sysdeps/powerpc/fpu/s_cosf.c: New file. - * sysdeps/powerpc/fpu/s_sinf.c: New file. - * sysdeps/powerpc/fpu/s_scalbnf.c: New file. - * sysdeps/powerpc/fpu/s_float_bitwise.h: New file. - -2011-08-15 Alan Modra - - [BZ #13092] - * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to.. - * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here.. - * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add - ppc_mcount to static-only-routines. - * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE - __mcount_internal. - * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call - __mcount_internal with usual JUMPTARGET. Remove useless nop. - -2011-08-18 David Flaherty - - * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks - for finite and infinity parameters. - -2011-08-04 Will Schmidt - - * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment - and add nop instructions for throughput optimization. - * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise. - -2011-07-28 Will Schmidt - - * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the - aligned copy for power7 with vector-scalar instructions. - * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise. - -2011-07-24 H.J. Lu - - * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify - AVX check. - -2011-09-07 Andreas Schwab - - [BZ #13144] - * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert - last change. - -2011-09-07 Ulrich Drepper - - * sysdeps/unix/sysv/linux/x86_64/init-first.c - (_libc_vdso_platform_setup): If vDSO is not present store pointer to - syscall wrapper around clock_gettime in __vdso_clock_gettime. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for - clock_gettime. - -2011-09-06 Ulrich Drepper - - * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME): - Forgot to demangle the pointer. - - * sysdeps/i386/sysdep.h: Define atom_text_section. - * sysdeps/x86_64/sysdep.h: Likewise. - * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in - section with atom_text_section. - * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise. - * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise. - * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise. - * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise. - * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise. - - * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file. - * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow - already be defined. Change to take two parameters and don't assign - result to variable. Adjust all users. - Define INTERNAL_GETTIME if not already defined. - Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime - call. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define - HAVE_CLOCK_GETTIME_VSYSCALL. - * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU. - - * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use - gettimeofday vsyscall, just use time. - -2011-09-06 Andreas Schwab - - * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include - . - -2011-09-06 Ulrich Drepper - - * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu - syscall on x86-64. - * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real - syscall. - * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real - syscall if possible. - -2011-09-05 Ulrich Drepper - - * elf/pldd.c (get_process_info): Don't read whole ELF header, just - e_ident. Don't pass to find_mapsXX. - * elf/pldd-xx.c (find_mapsXX): Remove second parameter. - -2011-07-20 Liubov Dmitrieva - - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add - strchr-sse2-no-bsf strrchr-sse2-no-bsf - * sysdeps/x86_64/multiarch/strchr.S: Update. - Check bit_slow_BSF bit. - * sysdeps/x86_64/multiarch/strrchr.S: Likewise. - * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file. - * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file. - -2011-09-05 Ulrich Drepper - - [BZ #13134] - * sysdeps/posix/spawni.c (script_execute): Define only for compatibility - before glibc 2.15. - (tryshell): Define. - (__spawni): Change last parameter to be flag. Test - SPAWN_XFLAGS_USE_PATH flag to use path or not. - Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set. - * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user. - * posix/spawni.c: Likewise. - * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL. - * posix/spawnp.c: Likewise. Change normal version to use - SPAWN_XFLAGS_USE_PATH. - * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and - SPAWN_XFLAGS_TRY_SHELL. - - [BZ #13150] - * posix/glob.h: Remove gcc 1.x support. - - [BZ #13068] - * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC. - -2011-07-20 Liubov Dmitrieva - - * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add - strchr-sse2 strrchr-sse2 strchr-sse2-bsf - strrchr-sse2-bsf - * sysdeps/i386/i686/multiarch/strchr.S: New file. - * sysdeps/i386/i686/multiarch/strrchr.S: New file. - * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file. - * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file. - * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file. - * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file. - -2011-08-29 Liubov Dmitrieva - - * sysdeps/x86_64/wcscmp.S: New file. - - * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add - wcscmp-c wcscmp-sse2 - * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file. - * sysdeps/i386/i686/multiarch/wcscmp.S: New file. - * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file. - * wcsmbs/wcscmp.c: Allow renaming. - -2011-09-05 David S. Miller - - * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument - stack slot, rather than the struct return pointer slot. - * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete. - * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file. - * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise. - -2011-09-05 Ulrich Drepper - - * po/ja.po: Update from translation team. - - [BZ #13144] - * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match - kernel in 64-bit binaries. - -2011-09-01 David S. Miller - - * elf/elf.h (HWCAP_SPARC_*): Move to.. - * sysdeps/sparc/sysdep.h: this new file and add new values. - * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h - * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase - _DL_HWCAP_COUNT to 24. - * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new - entries. - * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local - __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead. - * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h - * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_* - instead of magic constants. - * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise. - -2011-08-31 David S. Miller - - * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define. - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO): - Reimplement to do errno handling inline. - (SYSCALL_ERROR_HANDLER): New macro. - (__SYSCALL_STRING): Do not do errno handling in asm. - (__CLONE_SYSCALL_STRING): Delete. - (__INTERNAL_SYSCALL_STRING): Delete. - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include - sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h - (PSEUDO): Reimplement to do errno handling inline. - (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine. - (SYSCALL_ERROR_HANDLER): New macro. - (__SYSCALL_STRING): Do not do errno handling in asm. - (__CLONE_SYSCALL_STRING): Delete. - (__INTERNAL_SYSCALL_STRING): Delete. - * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL): - Implement in terms of INTERNAL_SYSCALL and __set_errno, just like - i386. - (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state. - (inline_syscall*): Add 'err' argument. - (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS, - INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down. - (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING, - INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P. - - * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'. - * scripts/data/localplt-sparc64-linux-gnu.data: Likewise. - -2011-08-30 Andreas Schwab - - * elf/rtld.c (dl_main): Relocate objects in dependency order. - -2011-08-29 Jiri Olsa - - * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi - directive. - -2011-08-24 David S. Miller - - * sysdeps/sparc/sparc64/strcmp.S: Rewrite. - -2011-08-24 Andreas Schwab - - * elf/Makefile: Add rules to build and run unload8 test. - * elf/unload8.c: New file. - * elf/unload8mod1.c: New file. - * elf/unload8mod1x.c: New file. - * elf/unload8mod2.c: New file. - * elf/unload8mod3.c: New file. - - * elf/dl-close.c (_dl_close_worker): Reset private search list if - it wasn't used. - -2011-08-23 David S. Miller - - * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not - subtract stack bias. - * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use - %sp not %fp in calculations. - (_JMPBUF_UNWINDS_ADJ): Likewise. - - * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function. - (aio_suspend): Call it to force an exception region around the - AIO_MISC_WAIT() invocation. - -2011-08-23 Andreas Schwab - - * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing - backslash. - -2011-07-04 Aurelien Jarno - - * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion - protection macro. - * sysdeps/powerpc/powerpc64/dl-irel.h: Include - and . - (Elf64_FuncDesc): Remove. - -2011-08-22 David S. Miller - - * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix - sigaltstack check, add missing cfi directives. - * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add - missing cfi directives, and sigaltstack handling. - -2011-08-16 Andreas Schwab - - [BZ #11724] - * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when - object is seen twice. - * elf/dl-fini.c (_dl_sort_fini): Likewise. - - * elf/Makefile (distribute): Add tst-initorder2.c. - (tests): Add tst-initorder2. - (modules-names): Add tst-initorder2a tst-initorder2b - tst-initorder2c tst-initorder2d. Add rules to build them. - ($(objpfx)tst-initorder2.out): New rule. - * elf/tst-initorder2.c: New file. - * elf/tst-initorder2.exp: New file. - -2011-08-22 Andreas Schwab - - * sysdeps/unix/sysv/linux/i386/scandir64.c: Include . - - * elf/dl-deps.c (_dl_map_object_deps): Move check for missing - dependencies back to end of function. - - * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd - $(elfobjdir)/ld.so. - -2011-08-21 Ulrich Drepper - - * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed. - * sysdeps/unix/sysv/linux/x86_64/time.S: Removed. - * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file. - * sysdeps/unix/sysv/linux/x86_64/time.c: New file. - * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration - of __vdso_gettimeofday. - * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of - __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with - attribute_hidden. - (_libc_vdso_platform_setup): Remove initialization of - __vdso_gettimeofday and __vdso_time. - -2011-08-20 Ulrich Drepper - - * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked - and fgetc_unlocked. - * nss/nss_files/files-key.c (search): Use fgets_unlocked and - getc_unlocked. - - * elf/dl-open.c (add_to_global): Report additions to the global scope - for LD_DEBUG=scopes. - (dl_open_worker): Also print scope of newly loaded dependencies. - (_dl_show_scope): Indicate if there is no scope. - - [BZ #13114] - * stdio-common/Makefile (tests): Add bug24. - * stdio-common/bug24.c: New file. - -2011-08-19 Andreas Jaeger - - [BZ #13114] - * libio/fileops.c (_IO_new_file_fopen): Fix handling of - non-existant file when using close-on-exec mode. - -2011-08-20 Ulrich Drepper - - * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for - the very first instruction. - - * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore - the CFI state in the end. - * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first - inclusion of dl-trampoline.h. - Based on a patch by Jiri Olsa . - -2011-08-19 Andreas Schwab - - * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i) - expectations for long double. - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed - from sysdeps/unix/sysv/linux/powerpc/scandir64.c. - -2011-08-14 David S. Miller - - * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The - artificual limit depends upon the system page size. - -2011-08-17 Ulrich Drepper - - * Makeconfig (override CFLAGS): Add library-specific CFLAGS. - * resolv/Makefile: Define CFLAGS-libresolv. - -2011-08-17 Andreas Schwab - - * nss/makedb.c (compute_tables): Make variables used in nested - function static. - -2011-08-17 Ulrich Drepper - - * elf/pldd-xx.c (r_debug): Explicitly add padding when needed. - * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector - if buffer was too small. - - * elf/pldd.c (main): Attach to all threads in the process. - Rewrite /proc handling to use *at functions. - -2011-08-16 Ulrich Drepper - - * elf/dl-open.c (_dl_show_scope): Take additional parameter which - specifies first scope to show. - (dl_open_worker): Update callers. Move printing scope of new - object to before the relocation. - * elf/rtld.c (dl_main): Update _dl_show_scope call. - * sysdeps/generic/ldsodefs.h: Update declaration. - - * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the - string for the scope number. - -2011-08-14 Ulrich Drepper - - * nscd/servicescache.c (cache_addserv): Make sure written is always - initialized. - -2011-08-14 Roland McGrath - - * sysdeps/i386/i486/bits/atomic.h - (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of - statement expression, so as to suppress "set but not used" warning. - (__arch_c_compare_and_exchange_val_64_acq): Likewise. - - * string/strncat.c (STRNCAT): Use prototype definition. - - * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs. - (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and - -Iprograms here. - (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib. - (localedef-modules): Add localedef. - (locale-modules): Add locale. - - * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const. - * elf/rtld.c (dl_main): Invert order of assignment in last change, - to avoid a warning. - -2011-08-14 David S. Miller - - * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY, - RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc. - -2011-08-13 Ulrich Drepper - - * elf/dl-open.c: Rename show_scope to _dl_show_scope and export. - (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set. - * elf/rtld.c (dl_main): Set l_name of vDSO. - Call _dl_show_scope when DL_DEBUG_SCOPES. - (process_dl_debug): Recognize scopes flag and also set it for all. - * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES. - Declare _dl_show_scope. - - * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen. - (do_dlopen): Pass caller_dlopen to dl_open. - (__libc_dlopen_mode): Initialize caller_dlopen. - - * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside - of libc. Make tolower call locale-independent. Optimize a bit by - using isdigit instead of isalnum. - * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc. - -2011-08-12 Ulrich Drepper - - * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO - was a dependency or dynamically loaded. - -2011-08-11 Ulrich Drepper - - * intl/l10nflist.c: Allow architecture-specific pop function. - * sysdeps/x86_64/l10nflist.c: New file. - - * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent - classification. - -2011-08-10 Andreas Schwab - - * include/dirent.h: Add libc_hidden_proto for scandirat and - scandirat64. Don't declare __scandirat64. - * dirent/scandirat.c: Add libc_hidden_def. - * dirent/scandirat64.c (SCANDIRAT): Remove underscores. - * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise. - -2011-08-10 David S. Miller - - * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in - enum. - * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise. - * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise. - -2011-08-09 Ulrich Drepper - - * Versions.def [libc]: Add GLIBC_2.15. - * dirent/Makefile (routines): Add scandirat and scandirat64. - * dirent/Versions [libc]: Export scandirat and scandirat64 for - GLIBC_2.15. - * dirent/dirent.h: Declare scandirat and scandirat64. - * dirent/scandirat.c: New file. - * dirent/scandirat64.c: New file. - * sysdeps/wordsize-64/scandirat.c: New file. - * sysdeps/wordsize-64/scandirat64.c: New file. - * dirent/opendir.c: Define opendirat. - * dirent/scandir.c: Move code to scandirat.c. Implement scandir - using scandirat. - * dirent/scandir64.c: Adjust for scandir.c change. - * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat, - __scandirat64, and __scandir_cancel_handler. - * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take - additional parameter and use openat instead of open (outside of ld.so). - Add new __opendir as wrapper around __opendirat. - * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64 - here without requiring old scandirat implementation. - -2011-08-08 Ulrich Drepper - - * dirent/scandir.c (cancel_handler): Renamed to - __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is - defined. Adjust users. - * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL. - * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise. - -2011-08-04 Ulrich Drepper - - * string/test-string.h (IMPL): Use __STRING to expand name and then - stringify it. - - * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots - of cleanups. - -2011-07-22 Liubov Dmitrieva - - * string/Makefile: Update. - (strop-tests): Append strncat. - * string/test-wcscmp.c: New file. - New comprehensive test for wcscmp. - * string/test-strcmp.c: Update. - (WIDE): New define. - -2011-07-22 Andreas Schwab - - * resolv/res_init.c (__res_vinit): Properly tokenize nameserver - line. - -2011-07-26 Andreas Schwab - - * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of - encoding to ACE if AI_IDN. - -2011-08-01 Jakub Jelinek - - * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq - to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0. - -2011-07-22 Liubov Dmitrieva - - * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update. - Fix overflow bug in strncat. - * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise. - - * string/test-strncat.c: Update. - Add new tests for checking overflow bugs. - -2011-07-15 Liubov Dmitrieva - - * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add - strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c. - * sysdeps/i386/i686/multiarch/strcat.S: New file. - * sysdeps/i386/i686/multiarch/strcat-c.c: New file. - * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file. - * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file. - * sysdeps/i386/i686/multiarch/strncat.S: New file. - * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file. - * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file. - - * sysdeps/i386/i686/multiarch/strcpy-ssse3.S - (USE_AS_STRCAT): Define. - Add strcat and strncat support. - * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise. - -2011-07-25 Andreas Schwab - - * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle - __n bigger than INT_MAX+1. - (__strncmp_g): Likewise. - -2011-07-23 Ulrich Drepper - - * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE. - * libio/stido.h: Likewise. - - * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define. - (AF_NFC): Define. - * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define. - (AF_NFC): Define. - - * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants. - * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise. - * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise. - - [BZ #13021] - * scripts/test-installation.pl: Don't expect libnss_test1 to be - installed. - - * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more - typo. - (_dl_x86_64_save_sse): Likewise. - -2011-07-22 Ulrich Drepper - - * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for - OSXSAVE. - (_dl_x86_64_save_sse): Likewise. - - * crypt/crypt_util.c (__init_des_r): Optimize memset calls. - - * crypt/crypt_util.c (__init_des_r): Add read barrier as well. - -2011-07-21 Andreas Schwab - - * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last - change. - (_dl_x86_64_save_sse): Use correct AVX check. - -2011-07-21 Liubov Dmitrieva - - * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow - bug in strncpy/strncat. - * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise. - -2011-07-21 Ulrich Drepper - - * string/tester.c (test_strcat): Add tests for different alignments - of source and destination. - (test_strncat): Likewise. - -2011-07-20 Ulrich Drepper - - [BZ #12852] - * posix/glob.c (glob): Check passed in values before using them in - expressions to avoid some overflows. - (glob_in_dir): Likewise. - - [BZ #13007] - * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete - check for AVX enablement so that we don't crash with old kernels and - new hardware. - * elf/tst-audit4.c: Add same checks here. - * elf/tst-audit6.c: Likewise. - - * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment. - -2011-07-09 Andreas Schwab - - * sysdeps/unix/sysv/linux/pathconf.c: Include . - -2011-07-20 Ulrich Drepper - - * po/cs.po: Update from translation team. - * po/bg.po: Likewise. - -2011-07-12 Marek Polacek - - * misc/sys/cdefs.h: Add support for const attribute. - * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__ - to gnu_dev_{major,minor,makedev} functions. - -2011-07-20 Marek Polacek - - * intl/dcigettext.c (get_output_charset): Add missing bracket. - -2011-07-20 Andreas Schwab - - * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for - strlen results. - -2011-07-13 Andreas Krebbel - - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h - (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address - register in order to avoid conflicts with the soft frame pointer - being held in r11 when necessary. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h - (INTERNAL_VSYSCALL_NCS): Likewise. - -2011-07-14 Marek Polacek - - * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument, - * elf/dl-fini.c (_dl_fini): Adjust caller. - * elf/dl-close.c (_dl_close_worker): Likewise. - * sysdeps/generic/ldsodefs.h: Adjust declaration. - -2011-07-15 Marek Polacek - - * elf/cache.c (load_aux_cache): Remove unnecessary condition of - "aux_cache->nlibs < 0". - - * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition - in the reload-count case. - -2011-07-15 Liubov Dmitrieva - - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add - strcat-ssse3 strcat-sse2-unaligned strncat-ssse3 - strncat-sse2-unaligned strncat-c strlen-sse2-pminub - * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file. - * sysdeps/x86_64/multiarch/strcat.S: New file. - * sysdeps/x86_64/multiarch/strncat.S: New file. - * sysdeps/x86_64/multiarch/strncat-c.c: New file. - * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file. - * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file. - * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file. - * sysdeps/x86_64/multiarch/strcpy-ssse3.S - (USE_AS_STRCAT): Define. - Add strcat and strncat support. - * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise. - * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise. - * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file. - * string/strncat.c: Update. - (USE_AS_STRNCAT): Define. - * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): - Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5 - and i7. - * sysdeps/x86_64/multiarch/init-arch.h - (bit_Prefer_PMINUB_for_stringop): New. - (index_Prefer_PMINUB_for_stringop): Likewise. - * sysdeps/x86_64/multiarch/strlen.S (strlen): Check - bit_Prefer_PMINUB_for_stringop. - -2011-07-19 Ulrich Drepper - - * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add - buffer64. - * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead - of casting of buffer. - * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add - buffer32 and buffer64. - * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for - writes instead of casting of buffer. - * crypt/md5.h (struct md5_ctx): Move buffer into union and add - buffer32. - * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of - casting of buffer. - -2011-07-19 Andreas Schwab - - * string/strxfrm_l.c (STRXFRM): Fix alloca accounting. - -2011-07-19 Ulrich Drepper - - * nscd/nscd.c (termination_handler): Don't do anything for a database - if it has not yet been initialized. - -2011-07-18 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo. - -2011-07-15 Marek Polacek - - * bits/sched.h (__CPU_EQUAL_S): Fix a typo. - -2011-07-18 Ulrich Drepper - - * po/nl.po: Update from translation team. - * po/sv.po: Likewise. - -2011-07-16 Roland McGrath - - * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2, - now disallowed by GCC. - - * configure.in (use-default-link): Default to yes if a test -shared - link meets our qualifications. - * configure: Regenerated. - - * config.make.in (output-format): New variable. - * configure.in: Check for ld --print-output-format support. - * configure: Regenerated. - * Makerules ($(common-objpfx)format.lds) - [$(output-format) != unknown]: Just use $(output-format), - instead of the linker-script munging. - -2011-07-14 Roland McGrath - - * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead - of $(common-objpfx)shlib.lds. - * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise. - - * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def): - Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN]. - - * configure.in (-z relro check): Adjust test code to add a large - writable data section after it. - * configure: Regenerated. - -2011-07-11 Roland McGrath - - * configure.in (-z relro check): Fix test code to make the variable - truly const. - * configure: Regenerated. - -2011-07-11 Ulrich Drepper - - * nscd/nscd.h (struct traced_file): Define. - (struct database_dyn): Remove inotify_descr, reset_res, and filename - elements. Add traced_files. - (inotify_fd): Declare. - (register_traced_file): Declare. - * nscd/connections.c (dbs): Remove reset_res and filename initializers. - (inotify_fd): Export. - (resolv_conf_descr): Remove. - (nscd_init): Move inotify descriptor creation to main. - Don't register files for notification here. - (register_traced_file): New function. - (invalidate_cache): Don't use reset_res to determine whether to call - res_init, go through the list of registered files. - (main_loop_poll): The inotify descriptors are now stored in the - structures for the traced files. - (main_loop_epoll): Likewise. - * nscd/nscd.c (main): Create inotify socket here. Pass extra argument - to __nss_disable_nscd. - * nscd/cache.c (prune_cache): There is no single inotify descriptor - for a database anymore. Check the records for all the registered - files instead. - * nss/Makefile (libnss_files-routines): Add files-init. - (libnss_db-routines): Add db-init. - * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init. - [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init. - * nss/nss_db/db-init.c: New file. - * nss/nss_files/files-init.c: New file. - * nss/nsswitch.c (nss_load_library): New function. Broken out of - __nss_lookup_function. - (__nss_lookup_function): Call nss_load_library. - (nss_load_all_libraries): New function. - (__nss_disable_nscd): Take parameter with callback function for files - to register. Set is_nscd. Load all the DSOs for the NSS modules - used for the cached services. - * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype. - * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D - options for features to all the files in nscd. - - * nss/nsswitch.c (nss_parse_file): Add missing fclose. - -2011-07-10 Roland McGrath - - * csu/elf-init.c (__libc_csu_init): Comment typo. - -2011-07-09 Ulrich Drepper - - * po/pl.po: Update from translation team. - * po/ja.po: Likewise. - * po/ru.po: Likewise. - * po/ko.po: Likewise. - * po/fr.po: Likewise. - -2011-07-09 Roland McGrath - - * configure.in (.ctors/.dtors header and trailer check): - Use an empirical test on a built program. - * configure: Regenerated. - - * configure.in (-z relro check): Use an empirical test on a built DSO. - Detect, but do not require, on ia64. - * configure: Regenerated. - - * configure.in (READELF): Find it with AC_CHECK_TOOL. - Update tests that use readelf to use $READELF instead. - * configure: Regenerated. - -2011-07-08 Ulrich Drepper - - * malloc/hooks.c (memalign_check): Avoid using checked_request2size - if the result is not used. - -2011-07-05 Andreas Jaeger - - [BZ #9696] - * stdlib/tst-strtod.c: Add testcase. - -2011-07-07 Ulrich Drepper - - * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function. - (__statfs_link_max): Use it to distinguish between ext2/3 and ext4. - The latter has a higher limit. Take additional parameter to pass to - the new function. - (__pathconf): Pass file to __statfs_link_max. - * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to - __statfs_link_max. - * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of - __statfs_link_max. - - [BZ #12868] - * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants. - * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags): - Handle Lustre. - * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise. - (__statfs_filesize_max): Likewise. - Patch mostly by Andreas Dilger . - -2011-07-05 Andreas Jaeger - - * resolv/res_comp.c (dn_skipname): Remove unused variable. - -2011-07-06 Marek Polacek - - * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the - `status' variable. - * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): - Likewise. - -2011-07-04 H.J. Lu - - * Makefile (strop-tests): Add strncat. - * string/test-strncat.c: New file. - -2011-06-30 Marek Polacek - - * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function. - -2011-06-21 Andreas Jaeger - - * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules): - Copy rule from iconvdata/Makefile. - -2011-07-06 Ulrich Drepper - - [BZ #12922] - * posix/getopt.c (_getopt_internal_r): When "W;" is in short options - but no long options are defined, just return 'W'. - -2011-06-22 Marek Polacek - - [BZ #9696] - * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM. - -2011-07-06 Ulrich Drepper - - * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known - netgroups to read. - (innetgr): Likewise. - -2011-07-05 Roland McGrath - - * config.make.in (install_root): Default to $(DESTDIR). - -2011-07-05 Ulrich Drepper - - * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning. - -2011-07-02 Roland McGrath - - * Makerules ($(common-objpfx)format.lds): Fail if result is empty. - - * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to - containing directory rather than embedding absolute directory names. - - * scripts/check-local-headers.sh: Rewritten using awk. - Match by word, not by line. Print error messages for matches. - * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it. - - * Makerules [shlib-lds-flags empty]: - ($(common-objpfx)libc_pic.opts): New target. - ($(common-objpfx)libc_pic.os.clean): New target. - ($(common-objpfx)libc.so): Link it instead of libc_pic.os. - - * config.make.in (OBJCOPY): New variable. - * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too. - * configure: Regenerated. - - * config.make.in (use-default-link): New variable. - * configure.in (use_default_link): Grok --with-default-link to set it. - * configure: Regenerated. - * Makerules [$(elf) = yes] [$(use-default-link) = yes]: - (shlib-lds, shlib-lds-flags): Define to empty. - - * Makerules (shlib-lds): New variable. - (shlib-lds-flags): New variable. - (build-shlib, build-moduile, build-module-asneeded): Use it. - ($(common-objpfx)libc.so): Use $(shlib-lds). - ($(extra-modules-build:%=$(objpfx)%.so)): Likewise. - * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise. - - * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept - DT_FLAGS/DT_FLAGS_1 with zero flags. - - * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of - linker script munging. - -2011-07-02 Ulrich Drepper - - * crypt/sha512.h (struct sha512_ctx): Add union to access total also - as 128-bit value. - * crypt/sha512.c (sha512_process_block): Perform total addition using - 128-bit if possible. - (__sha512_finish_ctx): Likewise. - * crypt/sha256.h (struct sha256_ctx): Add union to access total also - as 64-bit value. - * crypt/sha256.c (SWAP64): Define. - (sha256_process_block): Perform total addition using 64-bit if - possible. - (__sha256_finish_ctx): Likewise. - -2011-07-01 Ulrich Drepper - - * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction. - * nscd/initgrcache.c (addinitgroupsX): Likewise. - * nscd/hstcache.c (cache_addhst): Likewise. - * nscd/grpcache.c (cache_addgr): Likewise. - * nscd/aicache.c (addhstaiX): Likewise. - * nscd/servicescache.c (cache_addserv): Handle zero negtimeout. - -2011-07-01 Thorsten Kukuk - - * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout. - * nscd/initgrcache.c (addinitgroupsX): Likewise. - * nscd/hstcache.c (cache_addhst): Likewise. - * nscd/grpcache.c (cache_addgr): Likewise. - * nscd/aicache.c (addhstaiX): Likewise. - -2011-07-01 Andreas Schwab - - * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS - domain only when needed. - -2011-06-30 Andreas Schwab - - * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6 - is always restored. - -2011-06-29 Ulrich Drepper - - * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we - are re-adding the entry. - * nscd/servicescache.c (cache_addserv): Likewise. - -2011-06-30 Aurelien Jarno - - * sysdeps/generic/dl-irel.h: fix protection against multiple - inclusions. - * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New. - -2011-06-28 Ulrich Drepper - - [BZ #12935] - * malloc/memusage.sh: Fix quoting in message. - * debug/xtrace.sh: Likewise. - - * configure.in: Remove support for --experimental-malloc option, make - it the default. - * config.make.in: Likewise. - * malloc/Makefile: Likewise. - -2011-06-27 Andreas Schwab - - * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP - two-byte characters. - -2011-06-27 Roland McGrath - - * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own - AC_CACHE_CHECK invocation. - * configure: Regenerated. - - * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute. - -2011-06-27 Ulrich Drepper - - [BZ #12350] - * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6 - bit from old_res_options. - - * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define. - - * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return - value type for setfct. - -2011-06-23 H.J. Lu - - * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use - __gettimeofday instead of gettimeofday. - -2011-06-26 Ulrich Drepper - - * elf/Makefile (all-built-dso): No need to check linkobj/libc.so. - -2011-06-24 H.J. Lu - - * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo. - - * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind - info. - -2011-06-22 H.J. Lu - - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add - strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3 - strcpy-sse2-unaligned strncpy-sse2-unaligned - stpcpy-sse2-unaligned stpncpy-sse2-unaligned. - * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file. - * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file. - * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file. - * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file. - * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file. - * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file. - * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file. - * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file. - * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3. - (STRCPY): Support SSE2 and SSSE3 versions. - -2011-06-24 Ulrich Drepper - - [BZ #12874] - * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define. - * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+ - kernels which artificially limit size of requests. - -2011-06-22 H.J. Lu - - * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add - strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3 - strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2. - * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file. - * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file. - * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file. - * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file. - * sysdeps/i386/i686/multiarch/stpncpy.S : New file. - * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file. - * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file. - * sysdeps/i386/i686/multiarch/strcpy.S: New file. - * sysdeps/i386/i686/multiarch/strncpy-c.c: New file. - * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file. - * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file. - * sysdeps/i386/i686/multiarch/strncpy.S: New file. - * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): - Enable unaligned load optimization for Intel Core i3, i5 and i7 - processors. - * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load): - Define. - (index_Fast_Unaligned_Load): Define. - (HAS_FAST_UNALIGNED_LOAD): Define. - -2011-06-23 Marek Polacek - - * nss/nss_db/db-open.c: Include for read declaration. - -2011-06-22 Ulrich Drepper - - [BZ #12907] - * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf - until it is clear that the information is realy needed. - Patch mostly by David Hanisch . - -2011-06-22 Andreas Schwab - - * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change. - -2011-06-22 Ulrich Drepper - - * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use - /sys/devices/system/cpu/online if it is usable. - - * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit - reading the information from the /proc filesystem to once a second. - -2011-06-21 Andreas Jaeger - - * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of - NULL after inclusion of kernel headers. - -2011-06-21 Ulrich Drepper - - * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful - calls to internal_setent. - - [BZ #12885] - * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6 - addresses using gethostbyname4_r ignore IPv4 addresses. - - * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the - branch using gethostbyname2 is only for AF_INET. Optimize accordingly. - - * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places. - -2011-06-20 David S. Miller - - * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple - inclusions. - * sysdeps/sparc/sparc64/dl-plt.h: Likewise. - - * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New. - (elf_irel): Use it. - * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise. - * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise. - * sysdeps/sparc/sparc32/dl-irel.h: Likewise. - * sysdeps/sparc/sparc64/dl-irel.h: Likewise. - * sysdeps/x86_64/dl-irel.h: Likewise. - - * elf/dl-runtime.c: Use elf_ifunc_invoke. - * elf/dl-sym.c: Likewise. - -2011-06-15 Ulrich Drepper - - * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We - need to dereference resplen2. - -2011-06-14 Andreas Schwab - - * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file. - -2011-06-15 Ulrich Drepper - - * Makeconfig: Define vardbdir and inst_vardbdir. - * nss/Makefile: Add rules to install db-Makefile. - - * nss/nss_db/db-XXX.c: Cleanup. - - * nss/Makefile (libnss_db-dbs): Add db-initgroups. - * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for - GLIBC_PRIVATE. - * nss/db-Makefile (groups.db): Emit entries for initgroups lookups. - * nss/makedb.c: Implement -g option to specify that value strings - are generated and should not be added to table iterated over for - get*ent calls. - * nss/nss_db/db-initgroups.c: New file. - - * nss/getent.c: Add support for initgroups lookups through getgrouplist - interface. - - * grp/initgroups.c (__nss_initgroups_database): Renamed and exported. - (internal_getgrouplist): Adjust to name change. - Update use_initgroups_entry if this is not the first call. - * nss/databases.def: Add initgroups entry. - - * nss/makedb.c (compute_tables): Check result of multiple hash table - sizes to minimize maximum chain length. - -2011-06-14 Ulrich Drepper - - * Versions.def: Add entry for libnss_db. - * shlib-versions: Likewise. - * nss/Makefile: Add rules to build libnss_db. - * nss/Versions: Add libnss_db information. Organize libnss_files - entries better. - * nss/db-Makefile: Add gshadow support. Change rules for the new - makedb progra. Some minor improvements to generate smaller files. - * nss/nss_db/nss_db.h: Move NSS database header data structures to - here from... - * nss/makedb.c: ...here. - Improve database format to be smaller and require less memory at - runtime. - * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use - db anymore. - * nss/nss_db/db-netgrp.c: Likewise. - * nss/nss_db/db-open.c: Likewise. - * nss/nss_files/flies-XXX.x: Adjust comments. - * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition. - * nss/nss_files/files-grp.c: Likewise. - * nss/nss_files/files-hosts.c: Likewise. - * nss/nss_files/files-network.c: Likewise. - * nss/nss_files/files-proto.c: Likewise. - * nss/nss_files/files-pwd.c: Likewise. - * nss/nss_files/files-rpc.c: Likewise. - * nss/nss_files/files-service.c: Likewise. - * nss/nss_files/files-sgrp.c: Likewise. - * nss/nss_files/files-spwd.c: Likewise. - * nss/nss_db/db-alias.c: Removed. - * nss/nss_db/dummy-db.h: Removed. - -2011-06-02 Ulrich Drepper - - * nss/makedb.c: Rewritten to not use database library. - * nss/Makefile: Update to build new makedb program. - -2011-06-14 Andreas Jaeger - - * sysdeps/unix/sysv/linux/check_native.c: Include for - memset declaration. - -2011-06-10 Andreas Schwab - - * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating - tmpbuf. - -2011-06-10 Roland McGrath - - * Makerules (shlib.lds): Fail if the linker script comes out empty. - * elf/Makefile ($(objpfx)ld.so): Likewise. - - * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \. - Don't list ld.so twice in dependencies. - - * posix/bug-regex31.c: Include . - - * nscd/hstcache.c (cache_addhst): Remove unused variable. - - * nis/nss_compat/compat-spwd.c - (getspent_next_nss_netgr): Remove unused variable. - * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise. - - * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit - nonmembers" output to use the right array. - - * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable. - - * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1. - - * locale/programs/ld-ctype.c (ctype_read): Remove unused variable. - * locale/programs/ld-collate.c (add_to_tablewc): Likewise. - * catgets/gencat.c (read_input_file): Likewise. - * locale/programs/locarchive.c (enlarge_archive): Likewise. - - * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK - variable definition inside #if's controlling its use. - - * inet/getnetgrent_r.c (innetgr): Remove unused variable. - - * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration. - - * misc/syslog.c (__vsyslog_chk): Remove unused variable. - - * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for - unreachable code. - - * stdio-common/printf_fp.c (___printf_fp): Remove unused variable. - - * configure.in (nss-crypt check): Use AC_LANG_PROGRAM. - * configure: Regenerated. - - * Makerules: Revert last change. - * elf/Makefile: Likewise. - -2011-06-09 Roland McGrath - - * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r. - * elf/Makefile ($(objpfx)librtld.os): Likewise. - (reloc-link): Likewise. - -2011-06-09 Ulrich Drepper - - * elf/Makefile: Add rules to build pldd. - * elf/pldd.c: New file. - * elf/pldd-xx.c: New file. - -2011-06-07 Ulrich Drepper - - * version.h: Update for 2.15 development version. - -2011-06-07 David S. Miller - - * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to - ifuncs. - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela, - elf_machine_lazy_rel): Likewise. - * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela, - elf_machine_lazy_rel): Likewise. - * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch - dl_hwcap via passed in argument. - * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero): - Likewise. - -2011-06-06 Andreas Krebbel - - * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390. - -2011-06-06 Roland McGrath - - [BZ #12849] - * manual/fdl-1.1.texi: New file, verbatim from: - http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi - * manual/lgpl-2.1.texi: New file, verbatim from: - http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi - * manual/Makefile (licenses): New variable, list those new file names. - (texis): Use it. - (chapters.% top-menu.%): Include $(licenses) with $(appendices). - - * manual/fdl.texi: File removed. - * manual/lesser.texi: File removed. - * manual/libc.texinfo (Copying, Documentation License): - Use new @include file names, put @appendix directive before @include. - -2011-06-04 Jakub Jelinek - - [BZ #12841] - * rt/bits/mqueue2.h (__mq_open_2): Add __THROW. - (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT. - (mq_open): Add __NTH. - -2011-06-02 H.J. Lu - - * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): - Assume Intel Core i3/i5/i7 processor if AVX is available. - -2011-05-31 Ulrich Drepper - - * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix - typo. - -2011-05-31 Andreas Schwab - - * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced - memory. Use alloca_account. Fix memory leak when retrying. - -2011-05-31 Ulrich Drepper - - * version.h (RELEASE): Bump for 2.14 release. - * include/features.h (__GLIBC_MINOR__): Bump to 14. - - * config.make.in (RANLIB): Remove entry. - -2011-05-30 Ulrich Drepper - - * po/Makefile (po-sed-cmd): Add ksh to extensions. - (libc.pot): Work around missing support for .ksh extension in xgettext. - - [BZ #12684] - * resolv/res_send.c (__libc_res_nsend): Only go to the next name server - if both request failed. - (send_dg): In case of server errors clear resplen or *resplen2. - - [BZ #12454] - * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only - when there are multiple maps. - * elf/dl-fini.c (_dl_sort_fini): Check for list of one. - (_dl_fini): Remove test here. - - * elf/rtld.c (dl_main): Don't allow the loader to load itself. - -2011-05-29 Ulrich Drepper - - [BZ #12350] - * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6 - bit from old_res_options. - (gaih_inet): Likewise. - - [BZ #11099] - * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values - as signed. - - * resolv/res_init.c (res_setoptions): Make the code more compact. - - [BZ #11558] - * resolv/res_init.c (res_setoptions): Recognize use-vc option and - set RES_USEVC. - - [BZ #11634] - * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx. - - * malloc/malloc.h: Mark malloc hook variables as deprecated. - - [BZ #11781] - * malloc/malloc.h: Declare malloc hook variables as volatile. - - * locale/programs/locarchive.c (add_locale_to_archive): Fix typo - in last patch. - - [BZ #11799] - * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention - raise in the comment. - * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise. - -2011-05-28 Ulrich Drepper - - [BZ #12811] - * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to - grow the buffers more if it already has to be sufficient. - (build_wcs_upper_buffer): Likewise. - * posix/regexec.c (check_matching): Likewise. - (clean_state_log_if_needed): Likewise. - (extend_buffers): Don't enlarge buffers beyond size of the input - buffer. - Patches mostly by Emil Wojak . - * posix/bug-regex32.c: New file. - * posix/Makefile (tests): Add bug-regex32. - - * locale/findlocale.c (_nl_find_locale): Return right away if - _nl_explode_name failed. - * locale/programs/locarchive.c (add_locale_to_archive): Likewise. - - * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define. - - * debug/xtrace.sh: Unify messages. - * malloc/memusage.sh: Likewise. - - [BZ #12813] - * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve - time symbol from vDSO. Substitute with vsyscall if not available. - * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use - __vdso_time. - - * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file. - * sysdeps/unix/sysv/linux/sendmmsg.c: New file. - * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines): - Add sendmmsg and internal_sendmmsg. - * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg. - * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg. - * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG. - - * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry. - * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns. - * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns. - -2011-05-27 Ulrich Drepper - - [BZ #12813] - * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu): - Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not - available. - * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use - __vdso_getcpu. - - [BZ #12814] - * iconvdata/Makefile (tests): Add bug-iconv9. - * iconvdata/bug-iconv9.c: New file. - -2011-05-27 Andreas Schwab - - [BZ #12814] - * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing. - -2011-05-25 Jakub Jelinek - - * sysdeps/unix/sysv/linux/x86_64/sys/user.h - (struct user_regs_struct): Change intcs field back to cs. - -2011-05-25 Ulrich Drepper - - * po/ja.po: Update from translation team. - -2011-05-23 Ulrich Drepper - - [BZ #12795] - * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define. - * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise. - -2011-05-20 Andreas Schwab - - * stdlib/longlong.h: Update from GCC. - -2011-05-23 Andreas Schwab - - * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add - parameter name. - * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK): - Add parameter name. - (__sysconf): Pass it down. - -2011-05-22 Ulrich Drepper - - [BZ #12671] - * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in - some situations. - * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise. - * posix/glob.c (glob_in_dir): Take additional parameter alloca_used. - add in in __libc_use_alloca calls. Adjust callers. - (glob): Use malloc in some situations. - - * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER - and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and - pltexit. - -2011-05-21 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM - and CLOCK_BOOTTIME_ALARM. - - [BZ #12782] - * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error - is returned. - - * string/_strerror.c (__strerror_r): Print negative errors as signed - numbers. - - [BZ #12777] - * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC. - (decomp_table): Change U0385 entry to emit 0xA5 0xEC. - * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC. - - * configure.in: Fix typo in redirection and correct removal of test - files in two cases. - - [BZ #12788] - * locale/setlocale.c (new_composite_name): Fix test to check for - identical name of all categories. - - [BZ #12792] - * libio/filedoalloc.c (local_isatty): New function. - (_IO_file_doallocate): Use local_isatty. - * stdio-common/perror.c (perror): In case a new stream is used - forward the stream error. - * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set - error flag. - -2011-05-20 Ulrich Drepper - - [BZ #11884] - * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use - alloca. - * include/alloca.h (extend_alloca_account): Define. - - [BZ #11857] - * posix/regex.h: Fix comments with documentation of user-accessible - fields after compilation and describe correct free'ing of pattern - after re_compile_pattern. - Patch by Reuben Thomas . - -2011-05-18 Ryan S. Arnold - - * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx - and -mno-altivec to prevent the compiler from using Altivec and/or - VSX instructions when the corresponding registers are not available. - -2011-05-19 Andreas Schwab - - * grp/compat-initgroups.c (__libc_use_alloca): Don't define. - -2011-05-19 Ulrich Drepper - - * libio/freopen.c (freopen): Use __dup2, not dup2. - * libio/freopen64.c (freopen64): Likewise. - -2011-05-17 H.J. Lu - - [BZ #12775] - * sysdeps/x86_64/fpu/e_powl.S: Fix a typo. - * math/Makefile (tests): Add test-powl. - (CFLAGS-test-powl.c): Define. - * math/test-powl.c: New file. - -2011-05-16 H.J. Lu - - * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno. - -2011-05-17 Ulrich Drepper - - [BZ #11837] - * iconvdata/gb18030.c: Update to GB18020-2005. - -2011-05-16 Ulrich Drepper - - * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK, - RE_SYNTAX_POSIX_AWK): Update to match recent development. - Patch by Aharon Robbins . - - [BZ #11892] - * stdlib/putenv.c (putenv): Don't always create copy of the variable - on the stack. - - [BZ #11895] - * misc/pselect.c (__pselect): Handle timeout value errors hidden - through underflows. - - [BZ #12766] - * misc/error.c (error_at_line): Ensure file_name and old_file_name - point to strings before performing equality test for error_one_per_line - mode. - - [BZ #11697] - * login/programs/pt_chown.c (do_pt_chown): Always call chown. - - [BZ #11820] - * sysdeps/unix/sysv/linux/x86_64/sys/user.h - (struct user_fpregs_struct): Avoid __uint*_t types. - - [BZ #6420] - * malloc/mtrace.c (tr_where): Add additional parameter to point to - symbol info. Use it instead of calling _dl_addr locally. - (lock_and_info): New function. - (tr_freehook): Call lock_and_info and pass symbol info as additional - parameter to tr_where. - (tr_mallochook): Likewise. - (tr_reallochook): Likewise. - (tr_memalignhook): Likewise. - - * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not - used and couldn't be at all thread-safe. - -2011-05-15 Ulrich Drepper - - * libio/freopen.c (freopen): Don't close old file descriptor - before the new one is opened. Instead dup the new file descriptor - to the old one after the new stream is created. - * libio/freopen64.c (freopen64): Likewise. - * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC. - * libio/fileops.c (_IO_new_file_close_it): Handle new - _IO_FLAGS2_NOCLOSE flag. - (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode. - If _IO_file_open didn't set FD_CLOEXEC do it after the call. - * libio/oldfileops.c (_IO_old_file_close_it): Handle new - _IO_FLAGS2_NOCLOSE flag. - * include/unistd.h: Add hidden_proto for dup3. - Define __have_dup3. - * io/dup3.c: Define hidden symbol. - * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3. - - [BZ #7101] - * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities - when an incomplete long option is used. - * posix/tst-getopt_long1.c: New file. - * posix/Makefile (tests): Add tst-getopt_long1. - - [BZ #10138] - * scripts/config.guess: Update from autoconf-2.68. - * scripts/config.sub: Likewise. - - [BZ #10157] - * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME - tests into ... - (has_cpuclock): ...this. New function. - * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK - macro here based on has_cpuclock code. - - [BZ #10149] - * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): - First byte (not low byte) is now always NUL. - * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise. - - * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): - Use non-cancelable interfaces. - - [BZ #9809] - * locale/iso-639.def: Add entry for Sorani. - - [BZ #11901] - * include/stdlib.h: Move include protection to the right place. - Define abort_msg_s. Declare __abort_msg with it. - * stdlib/abort.c (__abort_msg): Adjust type. - * assert/assert.c (__assert_fail_base): New function. Majority - of code from __assert_fail. Allocate memory for __abort_msg with - mmap. - (__assert_fail): Now call __assert_fail_base. - * assert/assert-perr.c: Remove bulk of implementation. Use - __assert_fail_base. - * include/assert.hL Declare __assert_fail_base. - * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with - mmap. - * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise. - -2011-05-14 Ulrich Drepper - - [BZ #11952] - [BZ #12453] - * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo - until all modules are registered in the DTV. - * elf/Makefile: Add rules to build and run tst-tls19. - * elf/tst-tls19.c: New file. - * elf/tst-tls19mod1.c: New file. - * elf/tst-tls19mod2.c: New file. - * elf/tst-tls19mod3.c: New file. - Patch mostly by Martin von Gagern . - - [BZ #12083] - * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num - correctly. - - [BZ #12601] - * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of - two-byte sequence errors. - * iconvdata/Makefile (tests): Add bug-iconv8. - * iconvdata/bug-iconv8.c: New file. - - [BZ #12626] - * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move - buf2 definition. - - * libio/fileops.c (_IO_new_file_close_it): Initialize write_status. - - [BZ #12432] - * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element. - (dummy_getcfa): New function. - (init): Get _Unwind_GetCFA address, use dummy if not found. - (backtrace_helper): In recursion check, also check whether CFA changes. - (__backtrace): Completely initialize arg. - - * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before - storing incomplete byte sequence in state object. Avoid testing for - guaranteed too small input if we know there is enough data available. - -2011-05-11 Andreas Schwab - - * Makeconfig (+link-pie): Indent. - * Rules (binaries-pie): Define if $(have-fpie) and - $(build-shared). - (binaries-shared): Also filter out $(binaries-pie). - ($(addprefix $(objpfx),$(binaries-pie))): New rule. - * nscd/Makefile (others-pie): Add nscd. - (LDFLAGS-nscd): Set this instead of relro-LDFLAGS. - ($(objpfx)nscd): Remove command override. - * login/Makefile (others-pie): Add pt_chown. - ($(objpfx)pt_chown): Remove command override. - * elf/Makefile: Add PIE tests to tests and tests-pie variables and - remove command overrides. - -2011-05-13 Ulrich Drepper - - * libio/tst_putwc.c: Fix error messages. - - [BZ #12724] - * libio/fileops.c (_IO_new_file_close_it): Always flush when - currently writing and seek to current position when not. - * libio/Makefile (tests): Add bug-fclose1. - * libio/bug-fclose1.c: New file. - -2011-05-12 Ulrich Drepper - - [BZ #12511] - * elf/dl-lookup.c (enter): Don't test for copy relocation here and - don't set DF_1_NODELETE here. - (do_lookup_x): When entering new entry test for copy relocation - and if necessary set DF_1_NODELETE flag. - * elf/tst-unique4.cc: New file. - * elf/tst-unique4.h: New file. - * elf/tst-unique4lib.cc: New file. - * elf/Makefile: Add rules to build and run tst-unique4. - Patch by Piotr Bury . - -2011-05-11 Ulrich Drepper - - [BZ #12052] - * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call. - - [BZ #12625] - * misc/mntent_r.c (addmntent): Flush the stream after the output - - [BZ #12393] - * elf/dl-load.c (is_trusted_path): Remove unnecessary test. - (is_trusted_path_normalize): Skip initial colon. Append slash - to empty buffer. Duplicate is_trusted_path code but allow - constructed patch to be prefix. - (is_dst): Allow $ORIGIN followed by /. - (_dl_dst_substitute): Correct clearing of check_for_trusted. - Correct testing of result of is_trusted_path_normalize - (decompose_rpath): Fix warning. - -2011-05-10 Ulrich Drepper - - [BZ #11257] - * grp/initgroups.c (internal_getgrouplist): When we found the service - list through the initgroups entry in nsswitch.conf do not always - continue on a successful lookup. Don't always use the - __nss_group_database value if it is set. - * nss/nsswitch.conf (initgroups): Change action for successful db - lookup to continue for compatibility. - -2011-05-09 Ulrich Drepper - - [BZ #11532] - * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773, - and CP774 modules. - * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773, - and CP774 modules. - * iconvdata/tst-tables.sh: Likewise. - * iconvdata/cp770.c: New file. - * iconvdata/cp771.c: New file. - * iconvdata/cp772.c: New file. - * iconvdata/cp773.c: New file. - * iconvdata/cp774.c: New file. - * iconvdata/testdata/CP770: New file. - * iconvdata/testdata/CP770..UTF8: New file. - * iconvdata/testdata/CP771: New file. - * iconvdata/testdata/CP771..UTF8: New file. - * iconvdata/testdata/CP772: New file. - * iconvdata/testdata/CP772..UTF8: New file. - * iconvdata/testdata/CP773: New file. - * iconvdata/testdata/CP773..UTF8: New file. - * iconvdata/testdata/CP774: New file. - * iconvdata/testdata/CP774..UTF8: New file. - - * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at - END CHARMAP line. - * iconvdata/gen-8bit-gap.sh: Likewise. - * iconvdata/gen-8bit.sh: Likewise. - - * locale/iso-639.def: Add ary entry. - - [BZ #11258] - * locale/C-translit.h.in: Add U20A1 transliteration. - - [BZ #12178] - * locale/iso-639.def: Add wae entry. - Patch by Kevin Bortis . - - [BZ #12545] - * locale/programs/localedef.c (construct_output_path): Use ssize_t - for n. - - [BZ #12711] - * locale/C-translit.h.in: Add entry for U20B9. - Patch by pravin.d.s@gmail.com. - -2011-05-08 Ulrich Drepper - - [BZ #12713] - * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report - ENAMETOOLONG use generic getcwd. - * sysdeps/posix/getcwd.c: Add support to use openat. Make usable - in rtld. Use *stat64. - * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines): - Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64. - * sysdeps/unix/sysv/linux/dl-getcwd.c: New file. - * sysdeps/unix/sysv/linux/dl-openat64.c: New file. - * sysdeps/unix/sysv/linux/dl-opendir.c: New file. - * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file. - * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and - __fstatat64 macros. - * include/dirent.h: Add libc_hidden_proto for rewinddir. - * dirent/rewinddir.c: Add libc_hidden_def. - * sysdeps/mach/hurd/rewinddir.c: Likewise. - * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc. - - * include/dirent.h (__alloc_dir): Add flags parameter. - * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir. - * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to - __alloc_dir. - (__alloc_dir): Take new parameter. Don't call fcntl for invocations - from fdopendir if O_CLOEXEC is already set. - -2011-03-15 Alan Modra - - * elf/dl-reloc.c (_dl_try_allocate_static_tls ): Handle - l_tls_firstbyte_offset non-zero. Save padding offset in - l_tls_firstbyte_offset for later use. - * elf/dl-close.c (_dl_close_worker ): Correct code - freeing static tls block. - -2011-03-05 Jonathan Nieder - - * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX - where #ifdef was intended. The intent is to prevent ARG_MAX from - being defined by the kernel headers. - -2011-05-07 Ulrich Drepper - - [BZ #12734] - * resolv/resolv.h: Define RES_NOTLDQUERY. - * resolv/res_init.c (res_setoptions): Recognize no_tld_query and - no-tld-query and set RES_NOTLDQUERY. - * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY. - * resolv/res_query.c (__libc_res_nsearch): Backport changes from - modern BIND to search name as TLD unless forbidden. - -2011-05-07 Petr Baudis - Ulrich Drepper - - [BZ #12393] - * elf/dl-load.c (fillin_rpath): Move trusted path check... - (is_trusted_path): ...to here. - (is_trusted_path_normalize): Wrapper for /../ and /./ normalization. - (_dl_dst_substitute): Verify expanded $ORIGIN path elements - using is_trusted_path_normalize() in setuid scripts. - -2011-05-06 Paul Pluzhnikov - - * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing - __BEGIN/__END_DECLS. - -2011-05-06 Ulrich Drepper - - * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return - NSS_STATUS_NOTFOUND if no record was found. - -2011-05-05 Andreas Schwab - - * sunrpc/Makefile (headers): Add rpc/netdb.h. - (headers-not-in-tirpc): Remove rpc/netdb.h - * resolv/netdb.h: Revert last change. - -2011-05-05 Paul Pluzhnikov - - * Makeconfig (link-libc-static): Use --{start,end}-group to handle - circular dependency between libgcc.a and libc.a. - -2011-05-05 Andreas Schwab - - * resolv/netdb.h: Don't include . - * nis/Makefile: Don't install rpcsvc/*. - * inet/protocols/timed.h: Include and - instead of . - (MAXHOSTNAMELEN): Define. - -2011-05-03 Andreas Schwab - - * elf/ldconfig.c (add_dir): Don't crash on empty path. - -2011-04-28 Maciej Babinski - - [BZ #12714] - * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass - gethostbyname4_r when IPv6 results are possible. - -2011-05-02 Ulrich Drepper - - [BZ #12723] - * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement - _PC_PIPE_BUF handling. - -2011-04-30 Bruno Haible - - [BZ #12717] - * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant. - * resolv/netdb.h (getnameinfo): Change type of flags parameter - to 'int'. - * inet/getnameinfo.c (getnameinfo): Likewise. - -2011-04-29 Ulrich Drepper - - * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting - to groups setting in database lookup. - * nss/nsswitch.conf: Add initgroups entry. - -2011-04-22 Ulrich Drepper - - [BZ #12685] - * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the - mode string. - Patch by Eric Blake . - -2011-04-20 H.J. Lu - - * sunrpc/Makefile (need-export-routines): Add svc_run. - (routines): Remove svc_run. - ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so. - * sunrpc/clnt_perr.c (clnt_perrno): Export. - * sunrpc/svc_run.c (svc_run): Likewise. - * sunrpc/svc_udp.c (svcudp_create): Likewise. - -2011-04-21 Ulrich Drepper - - * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix - problem in reallocation in last patch. - -2011-04-20 Ulrich Drepper - - * sunrpc/Makefile: Move inclusion of Rules. - -2011-04-19 Ulrich Drepper - - * nss/nss_files/files-initgroups.c: New file. - * nss/Makefile (libnss_files-routines): Add files-initgroups. - * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export - _nss_files_initgroups_dyn. - -2011-03-31 Richard Sandiford - - * elf/elf.h (R_ARM_IRELATIVE): Define. - -2011-04-19 Ulrich Drepper - - * po/ru.po: Update from translation team. - -2011-04-17 Ulrich Drepper - - * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to - dependencies. - -2011-02-06 Mike Frysinger - - [BZ #12653] - * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect - MEMCPY_CHK with USE_AS_BCOPY ifdef check. - * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise. - * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise. - * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise. - -2011-03-28 Andreas Schwab - - * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past - differing bytes. - * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise. - * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise. - * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise. - -2011-04-17 Ulrich Drepper - - [BZ #12420] - * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after - storing it. - * stdlib/bug-getcontext.c: New file. - * stdlib/Makefile: Add rules to build and run bug-getcontext. - -2011-04-13 Andreas Krebbel - - * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109 - instructions into .machine "z9-109". - * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise. - * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise. - -2011-04-11 Andreas Krebbel - - * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes - between environment variables and auxiliary vector. - -2011-04-16 Ulrich Drepper - - * Makefile: Add rules to build linkobj/libc.so. - * include/libc-symbols.h: Define libc_hidden_nolink. - * include/rpc/auth.h: Mark functions which are to be hidden. - * include/rpc/auth_des.h: Likewise. - * include/rpc/auth_unix.h: Likewise. - * include/rpc/clnt.h: Likewise. - * include/rpc/des_crypt.h: Likewise. - * include/rpc/key_prot.h: Likewise. - * include/rpc/pmap_clnt.h: Likewise. - * include/rpc/pmap_prot.h: Likewise. - * include/rpc/pmap_rmt.h: Likewise. - * include/rpc/rpc_msg.h: Likewise. - * include/rpc/svc.h: Likewise. - * include/rpc/svc_auth.h: Likewise. - * include/rpc/xdr.h: Likewise. - * nis/Makefile: Link all DSOs against linkobj/libc.so. - * nss/Makefile: Likewise. - * sunrpc/Makefile: Don't install headers. Build library with normal - entry points. Don't build rpcinfo. Link RPC tests appropriately. - * sunrpc/auth_des.c: Hide exported symbols by default, export some - for the compat linking library. Remove use of INTDEF/INTUSE. - * sunrpc/auth_none.c: Likewise. - * sunrpc/auth_unix.c: Likewise. - * sunrpc/authdes_prot.c: Likewise. - * sunrpc/authuxprot.c: Likewise. - * sunrpc/clnt_gen.c: Likewise. - * sunrpc/clnt_perr.c: Likewise. - * sunrpc/clnt_raw.c: Likewise. - * sunrpc/clnt_simp.c: Likewise. - * sunrpc/clnt_tcp.c: Likewise. - * sunrpc/clnt_udp.c: Likewise. - * sunrpc/clnt_unix.c: Likewise. - * sunrpc/des_crypt.c: Likewise. - * sunrpc/des_soft.c: Likewise. - * sunrpc/get_myaddr.c: Likewise. - * sunrpc/key_call.c: Likewise. - * sunrpc/key_prot.c: Likewise. - * sunrpc/netname.c: Likewise. - * sunrpc/pm_getmaps.c: Likewise. - * sunrpc/pm_getport.c: Likewise. - * sunrpc/pmap_clnt.c: Likewise. - * sunrpc/pmap_prot.c: Likewise. - * sunrpc/pmap_prot2.c: Likewise. - * sunrpc/pmap_rmt.c: Likewise. - * sunrpc/publickey.c: Likewise. - * sunrpc/rpc_cmsg.c: Likewise. - * sunrpc/rpc_common.c: Likewise. - * sunrpc/rpc_dtable.c: Likewise. - * sunrpc/rpc_prot.c: Likewise. - * sunrpc/rpc_thread.c: Likewise. - * sunrpc/rtime.c: Likewise. - * sunrpc/svc.c: Likewise. - * sunrpc/svc_auth.c: Likewise. - * sunrpc/svc_authux.c: Likewise. - * sunrpc/svc_raw.c: Likewise. - * sunrpc/svc_run.c: Likewise. - * sunrpc/svc_simple.c: Likewise. - * sunrpc/svc_tcp.c: Likewise. - * sunrpc/svc_udp.c: Likewise. - * sunrpc/svc_unix.c: Likewise. - * sunrpc/svcauth_des.c: Likewise. - * sunrpc/xcrypt.c: Likewise. - * sunrpc/xdr.c: Likewise. - * sunrpc/xdr_array.c: Likewise. - * sunrpc/xdr_float.c: Likewise. - * sunrpc/xdr_intXX_t.c: Likewise. - * sunrpc/xdr_mem.c: Likewise. - * sunrpc/xdr_rec.c: Likewise. - * sunrpc/xdr_ref.c: Likewise. - * sunrpc/xdr_sizeof.c: Likewise. - * sunrpc/xdr_stdio.c: Likewise. - -2011-04-10 Ulrich Drepper - - [BZ #12650] - * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED. - * sysdeps/ia64/dl-tls.h: Likewise. - * sysdeps/powerpc/dl-tls.h: Likewise. - * sysdeps/s390/dl-tls.h: Likewise. - * sysdeps/sh/dl-tls.h: Likewise. - * sysdeps/sparc/dl-tls.h: Likewise. - * sysdeps/x86_64/dl-tls.h: Likewise. - * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here. - -2011-03-14 Andreas Schwab - - * elf/dl-load.c (_dl_dst_substitute): When skipping the first - rpath element also skip the following colon. - (expand_dynamic_string_token): Add is_path parameter and pass - down to DL_DST_REQUIRED and _dl_dst_substitute. - (decompose_rpath): Call expand_dynamic_string_token with - non-zero is_path. Ignore empty rpaths. - (_dl_map_object_from_fd): Call expand_dynamic_string_token - with zero is_path. - -2011-04-08 Andreas Schwab - - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c: - Make cancelable. - -2011-04-09 Ulrich Drepper - - [BZ #12655] - * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment. - Patch by Filipe David Manana . - -2011-04-07 Andreas Schwab - - * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL): - Maintain aligned stack. - (CHECK_RSP): Remove unused macro. - -2011-04-03 Ulrich Drepper - - * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table. - * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise. - -2011-04-02 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define. - - * include/features.h: Mention __USE_XOPEN2K8 in comment. - -2011-03-26 H.J. Lu - - [BZ #12518] - * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14. - * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy. - * sysdeps/x86_64/memmove.c: New file. - * sysdeps/x86_64/multiarch/memcpy.S: Include . - (memcpy): Renamed to ... - (__new_memcpy): This. - (memcpy): Provide GLIBC_2_14 memcpy. - * sysdeps/x86_64/multiarch/memmove.c: Include . - (memcpy): Provide GLIBC_2_2_5 memcpy. - -2011-04-01 Ulrich Drepper - - [BZ #12631] - * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8. - -2011-03-30 Andreas Schwab - - * misc/syncfs.c: New file. - * misc/Makefile (routines): Add syncfs. - * posix/unistd.h: Declare syncfs. - * sysdeps/unix/syscalls.list: Add syncfs. - -2011-04-01 Andreas Schwab - - * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to - open_by_handle_at. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. - -2011-04-01 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. - - * io/Makefile: Compile fallocate.c, fallocate64.c, and - sync_file_range.c with -fexceptions. - * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable. - * sysdeps/unix/sysv/linux/fallocate64.c: Likewise. - * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise. - * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise. - * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark - sync_file_range as cancellation point - * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is - now a wrapper around __call_sync_file_range with cancellation handling. - * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ... - * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change - function name to __call_sync_file_range. - * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines): - Add call_sync_file_range. - -2011-04-01 Andreas Schwab - - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add - bits/timex.h. - -2011-04-01 Ulrich Drepper - - * iconv/iconv.h: Fix typo in comment. - * io/fcntl.h: Likewise. - * libio/stdio.h: Likewise. - * posix/spawn.h: Likewise. - * posix/unistd.h: Likewise. - * stdlib/stdlib.h: Likewise. - * time/time.h: Likewise. - * wcsmbs/wchar.h: Likewise. - - * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at, - open_by_handle): Add. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle - and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle. - Augment a few comments. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and - open_by_handle. - - * io/fcntl.h (AT_EMPTY_PATH): Define. - -2011-03-30 Ulrich Drepper - - * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime. - * sysdeps/unix/sysv/linux/bits/time.h: New file. - * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition - to... - * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file. - * Versions.def: Add GLIBC_2.14. - * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime): - Export. - -2011-03-22 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment - round counter. - * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise. - -2011-03-20 H.J. Lu - - [BZ #12597] - * string/test-strncmp.c (do_page_test): New function. - (check2): Likewise. - (test_main): Call check2. - * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary. - -2011-03-20 Ulrich Drepper - - [BZ #12587] - * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): - Handle cache information in CPU leaf 4. - * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise. - -2011-03-18 Ulrich Drepper - - [BZ #12583] - * posix/fnmatch.c (fnmatch): Check size of pattern in wide - character representation. - Partly based on a patch by Tomas Hoger . - -2011-03-16 Ryan S. Arnold - - * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix - END(__isnan) to END(__isnanf) to match function entry point/label - EALIGN(__isnanf,...). - -2011-03-10 Jakub Jelinek - - * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers. - -2011-03-10 Ulrich Drepper - - [BZ #12510] - * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects - copy from the symbol referenced in the relocation to initialize the - used variable. - Patch by Piotr Bury . - * elf/Makefile: Add rules to build and tst-unique3. - * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration. - * elf/tst-unique3.cc: New file. - * elf/tst-unique3.h: New file. - * elf/tst-unique3lib.cc: New file. - * elf/tst-unique3lib2.cc: New file. - - * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled. - -2011-03-10 Mike Frysinger - - * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add - $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main - to _start. - -2011-03-06 Ulrich Drepper - - * elf/dl-load.c (_dl_map_object): If we are looking for the first - to-be-loaded object along a path to loader is ld.so. - -2011-03-02 Harsha Jagasia - Ulrich Drepper - - * sysdeps/x86_64/memset.S: After aligning destination, code - branches to different locations depending on the value of - misalignment, when multiarch is enabled. Fix this. - -2011-03-02 Harsha Jagasia - - * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): - Set _x86_64_preferred_memory_instruction for AMD processsors. - * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): - Set bit_Prefer_SSE_for_memop for AMD processors. - -2011-03-04 Ulrich Drepper - - * libio/fmemopen.c (fmemopen): Optimize a bit. - -2011-03-03 Andreas Schwab - - * libio/fmemopen.c (fmemopen): Don't read past end of buffer. - -2011-03-03 Roland McGrath - - * setjmp/bits/setjmp2.h: Canonicalize comment formatting. - -2011-02-28 Aurelien Jarno - - * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call - __bzero_ultra1 instead of __memset_ultra1. - -2011-02-23 Andreas Schwab - Ulrich Drepper - - [BZ #12509] - * include/link.h (struct link_map): Add l_orig_initfini. - * elf/dl-load.c (_dl_map_object_from_fd): Free realname before - returning unsuccessfully. - * elf/dl-close.c (_dl_close_worker): If this is the last explicit - close of a file loaded at startup, restore the original l_initfini - list. - * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini - list, store the pointer. - * elf/Makefile ($(objpfx)noload-mem): New rule. - (noload-ENV): Define. - (tests): Add $(objpfx)noload-mem. - * elf/noload.c: Include . - (main): Call mtrace. Close all opened handles. - -2011-02-17 Andreas Schwab - - [BZ #12454] - * elf/dl-deps.c (_dl_map_object_deps): Signal error early when - dependencies are missing. - -2011-02-22 Samuel Thibault - - Fix __if_freereq crash: Unlike the generic version which uses free, - Hurd needs munmap. - * sysdeps/mach/hurd/ifreq.h: New file. - -2011-01-27 Petr Baudis - Ulrich Drepper - - [BZ 12445]# - * stdio-common/vfprintf.c (vfprintf): Pass correct newlen - to extend_alloca(). - * stdio-common/bug23.c: New file. - * stdio-common/Makefile (tests): Add bug23. - -2010-09-28 Andreas Schwab - Ulrich Drepper - - [BZ #12489] - * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs) - before performing relro protection. At old place add assertion - to make sure nothing changed. - -2011-02-17 Nathan Sidwell - Glauber de Oliveira Costa - - * elf/elf.h: Add new ARM TLS relocs. - -2011-02-16 Ryan S. Arnold - - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: - (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int) - cast from r3. - * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to - 'tests' variable. - * sysdeps/wordsize-64/tst-writev.c: New file. - -2011-02-15 Ryan S. Arnold - - * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds - -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and - insns in _dl_start to prevent a TOC reference before relocs are - resolved. - -2011-02-15 Ulrich Drepper - - [BZ #12469] - * Makeconfig: Remove RANLIB definition. - * Makerules: Don't use RANLIB. - * aclocal.m4: Remove ranlib test. - * configure.in: No need to check for ranlib. - * elf/rtld-Rules: Don't use RANLIB. - -2011-02-16 Samuel Thibault - - * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion - protection macro. - * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H - inclusion protection macro. - - * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against - SIGRTMIN and SIGRTMAX and print information in that case only when - SIGRTMIN is defined. - -2011-02-11 Jakub Jelinek - - * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle - arginfo fn returning -1. - - * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal - and thousands string is zero terminated. - -2011-02-03 Andreas Schwab - - * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with - sysdeps/unix/sysv/linux/bits/socket.h. - -2011-01-30 Samuel Thibault - - * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET) - (__CPU_COUNT): Remove old macros. - (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S) - (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE) - (__CPU_ALLOC, __CPU_FREE): Add macros. - (__sched_cpualloc, __sched_cpufree): Add declarations. - -2011-02-05 Ulrich Drepper - - * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE. - (struct datahead): Reuse 32 bits of the alignment for a TTL field. - * nscd/aicache.c (addhstaiX): Return timeout of added value. - (readdhstai): Return value of addhstaiX call. - * nscd/grpcache.c (cache_addgr): Return timeout of added value. - (addgrbyX): Return value returned by cache_addgr. - (readdgrbyname): Return value returned by addgrbyX. - (readdgrbygid): Likewise. - * nscd/pwdcache.c (cache_addpw): Return timeout of added value. - (addpwbyX): Return value returned by cache_addpw. - (readdpwbyname): Return value returned by addhstbyX. - (readdpwbyuid): Likewise. - * nscd/servicescache.c (cache_addserv): Return timeout of added value. - (addservbyX): Return value returned by cache_addserv. - (readdservbyname): Return value returned by addservbyX: - (readdservbyport): Likewise. - * nscd/hstcache.c (cache_addhst): Return timeout of added value. - (addhstbyX): Return value returned by cache_addhst. - (readdhstbyname): Return value returned by addhstbyX. - (readdhstbyaddr): Likewise. - (readdhstbynamev6): Likewise. - (readdhstbyaddrv6): Likewise. - * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value. - (readdinitgroups): Return value returned by addinitgroupsX. - * nscd/cache.c (readdfcts): Change return value of functions to time_t. - (prune_cache): Keep track of timeout value of re-added entries. - * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE. - * nscd/nscd.h: Adjust prototypes of readd* functions. - -2011-02-04 Roland McGrath - - * nis/nis_server.c (nis_servstate): Use the right name for 0. - (nis_stats): Likewise. - * nis/nis_modify.c (nis_modify): Likewise. - * nis/nis_remove.c (nis_remove): Likewise. - * nis/nis_add.c (nis_add): Likewise. - - * elf/dl-object.c (_dl_new_object): Remove unused variable L. - - * posix/fnmatch_loop.c: Add some consts. - - * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef. - -2011-02-02 H.J. Lu - - [BZ #12460] - * config.make.in (config-cflags-novzeroupper): Define. - * configure.in: Substitute libc_cv_cc_novzeroupper. - * elf/Makefile (AVX-CFLAGS): Define. - (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS). - (CFLAGS-tst-auditmod4a.c): Likewise. - (CFLAGS-tst-auditmod4b.c): Likewise. - (CFLAGS-tst-auditmod6b.c): Likewise. - (CFLAGS-tst-auditmod6c.c): Likewise. - (CFLAGS-tst-auditmod7b.c): Likewise. - * sysdeps/i386/configure.in: Check -mno-vzeroupper. - -2011-02-02 Ulrich Drepper - - * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the - function to the callback. - Patch partly by Jiri Olsa . - -2011-02-02 Andreas Schwab - - * shadow/sgetspent.c: Check return value of __sgetspent_r instead - of errno. - -2011-01-19 Ulrich Drepper - - [BZ #11724] - * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order - of constructors. - * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order - of destructors. - (_dl_fini): Don't call _dl_sort_fini if there is only one object. - - [BZ #11724] - * elf/Makefile: Add rules to build and run new test. - * elf/tst-initorder.c: New file. - * elf/tst-initorder.exp: New file. - * elf/tst-initordera1.c: New file. - * elf/tst-initordera2.c: New file. - * elf/tst-initordera3.c: New file. - * elf/tst-initordera4.c: New file. - * elf/tst-initorderb1.c: New file. - * elf/tst-initorderb2.c: New file. - * elf/tst-order-a1.c: New file. - * elf/tst-order-a2.c: New file. - * elf/tst-order-a3.c: New file. - * elf/tst-order-a4.c: New file. - * elf/tst-order-b1.c: New file. - * elf/tst-order-b2.c: New file. - * elf/tst-order-main.c: New file. - New test case by George Gensure . - -2010-10-01 Andreas Schwab - - * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of - decoding ACE if AI_CANONIDN. - -2011-01-18 Ulrich Drepper - - * elf/Makefile: Build IFUNC tests unless multi-arch = no. - -2011-01-17 Ulrich Drepper - - * version.h (RELEASE): Bump for 2.13 release. - * include/features.h: (__GLIBC_MINOR__): Bump to 13. - - * io/fcntl.h: Define AT_NO_AUTOMOUNT. - - * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and - MADV_NOHUGEPAGE. - * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise. - - * posix/getconf.c: Update copyright year. - * catgets/gencat.c: Likewise. - * csu/version.c: Likewise. - * debug/catchsegv.sh: Likewise. - * debug/xtrace.sh: Likewise. - * elf/ldconfig.c: Likewise. - * elf/ldd.bash.in: Likewise. - * elf/sprof.c (print_version): Likewise. - * iconv/iconv_prog.c: Likewise. - * iconv/iconvconfig.c: Likewise. - * locale/programs/locale.c: Likewise. - * locale/programs/localedef.c: Likewise. - * malloc/memusage.sh: Likewise. - * malloc/mtrace.pl: Likewise. - * nscd/nscd.c (print_version): Likewise. - * nss/getent.c: Likewise. - - * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG, - PF_CAIF, and PF_ALG. - * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise. - -2011-01-16 Andreas Schwab - - * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define. - (modules-names): Use them. - (ifunc-test-modules, ifunc-pie-tests): Define. - (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules, - tst-pie1, ifunc-test-modules and ifunc-pie-tests objects. - (test-extras): Likewise. - ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use - $(compile-command.c). - ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise. - (all-built-dso): Define. - (check-textrel.out, check-execstack.out): Depend on it. - - * configure.in: Don't override --enable-multi-arch. - -2011-01-15 Ulrich Drepper - - [BZ #6812] - * nscd/hstcache.c (tryagain): Define. - (cache_addhst): Return tryagain not notfound for temporary errors. - (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation - failed. - -2011-01-14 Ulrich Drepper - - [BZ #10563] - * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL - to make the syscall. - * sysdeps/unix/sysv/linux/setgroups.c: New file. - - [BZ #12378] - * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning - and fall back to matching as normal character if the string ends before - the matching ']' is found. This is what POSIX requires. - * posix/testfnm.c: Adjust test result. - * posix/globtest.sh: Adjust test result. Add new test. - * posix/tst-fnmatch.input: Likewise. - * posix/tst-fnmatch2.c: Add new test. - -2010-12-28 Andreas Schwab - - * elf/Makefile (check-execstack): Revert last change. Depend on - check-execstack.h. - (check-execstack.h): New target. - (generated): Add check-execstack.h. - * elf/check-execstack.c: Include "check-execstack.h". - (main): Revert last change. - (handle_file): Return zero if GNU_STACK is absent and - DEFAULT_STACK_PERMS doesn't include PF_X. - -2011-01-13 Ulrich Drepper - - * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action - in child fails because the descriptor is already closed. - * include/sys/resource.h: Add libc_hidden_proto for getrlimit64. - * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def. - * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise. - - [BZ #12397] - * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing - syscall. - - [BZ #10484] - * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of - temporary buffer used to handle multi lookups locally. - * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff. - -2011-01-12 Ulrich Drepper - - * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when - loader is ld.so. - -2011-01-10 Paul Pluzhnikov - - * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack - alignment for SSE2. - -2011-01-12 Ulrich Drepper - - [BZ #12394] - * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping - characters. When rounding increased number of integer digits recompute - number of groups. - * stdio-common/tst-grouping.c: New file. - * stdio-common/Makefile: Add rules to build and run tst-grouping. - -2011-01-09 Ulrich Drepper - - * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET, - __FD_CLR, and __FS_ISSET. gcc generates better code on its own. - - * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as - void. - * bits/select.h: Likewise. - -2011-01-08 Ulrich Drepper - - * po/ja.po: Update from translation team. - -2011-01-04 David S. Miller - - [BZ #11155] - * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's - implementation just like for lxstat, fxstatat, et al. - -2010-12-27 Jim Meyering - - [BZ #12348] - * posix/regexec.c (build_trtable): Return failure indication upon - calloc failure. Otherwise, re_search_internal could infloop on OOM. - -2010-12-25 Ulrich Drepper - - [BZ #12201] - * sysdeps/unix/sysv/linux/getrlimit64.c: New file. - * sysdeps/unix/sysv/linux/setrlimit64.c: New file. - * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c. - * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64. - - [BZ #12207] - * malloc/malloc.c (do_check_malloc_state): Use fastbin macro. - - [BZ #12204] - * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1. - * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise. - -2010-12-15 H.J. Lu - - * config.h.in (NO_CTORS_DTORS_SECTIONS): Define. - * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker - script has SORT_BY_INIT_PRIORITY. - * elf/sofini.c: Remove `.ctors' and `.dtors' sections if - NO_CTORS_DTORS_SECTIONS is defined. - * elf/soinit.c: Likewise. - * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if - NO_CTORS_DTORS_SECTIONS is defined. - * sysdeps/mach/hurd/i386/init-first.c: Likewise. - * sysdeps/mach/hurd/powerpc/init-first.c: Likewise. - * sysdeps/sh/init-first.c: Likewise. - * sysdeps/unix/sysv/linux/init-first.c: Likewise. - -2010-12-24 Ulrich Drepper - - * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed - always use the slow path. - -2010-12-15 Ryan S. Arnold - - * elf/Makefile: (check-execstack): Replace $(native-compile) with a - similar rule which adds the sysdep directories to the header search in - order to pick up the correct platform stackinfo.h. - * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and - perform test if it is, otherwise return successfully without testing. - * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from - DEFAULT_STACK_PERMS define in stackinfo.h. - * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS - defined in stackinfo.h. - * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from - DEFAULT_STACK_PERMS defined in stackinfo.h. - * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X. - * sysdeps/ia64/stackinfo.h: Likewise. - * sysdeps/s390/stackinfo.h: Likewise. - * sysdeps/sh/stackinfo.h: Likewise. - * sysdeps/sparc/stackinfo.h: Likewise. - * sysdeps/x86_64/stackinfo.h: Likewise. - * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without - PF_X for powerpc64. Retain PF_X for powerpc32. - -2010-12-19 Ulrich Drepper - - * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more - accurately. - * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define - GETDENTS_64BIT_ALIGNED. - -2010-12-14 Ulrich Drepper - - * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin. - -2010-12-10 Andreas Schwab - - * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under - _GNU_SOURCE. - - * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict. - * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset): - Remove __restrict. - (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy) - (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict. - -2010-12-09 Ulrich Drepper - - [BZ #11655] - * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize - are initialized. - -2010-12-09 Jakub Jelinek - - * string/bits/string3.h (memmove, bcopy): Remove __restrict. - -2010-12-03 Ulrich Drepper - - * po/it.po: Update from translation team. - -2010-12-01 H.J. Lu - - * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove - unused codes. - -2010-11-30 Ulrich Drepper - - * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations. - -2010-11-24 Andreas Schwab - - * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0 - specially. - (gaih_getanswer_slice): Likewise. - -2010-10-20 Jakub Jelinek - - * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm. - -2010-05-31 Petr Baudis - - [BZ #11149] - * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail - silently even in the chroot mode. - -2010-11-22 Ulrich Drepper - - * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize - last patch a bit. Pretty printing - -2010-05-31 Petr Baudis - - [BZ #10085] - * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix - initialization of skip_initgroups_dyn. - -2010-11-19 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB. - * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise. - -2010-11-16 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define. - -2010-11-11 Andreas Schwab - - * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca. - * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem. - (tst-fnmatch-ENV): Set MALLOC_TRACE. - ($(objpfx)tst-fnmatch-mem): New rule. - (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace. - * posix/tst-fnmatch.c (main): Call mtrace. - -2010-11-11 H.J. Lu - - * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): - Support Intel processor model 6 and model 0x2c. - -2010-11-10 Luis Machado - - * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force - signed comparison. - -2010-11-09 H.J. Lu - - [BZ #12205] - * string/test-strncasecmp.c (check_result): New function. - (do_one_test): Use it. - (check1): New function. - (test_main): Use it. - * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit): - Support strcasecmp and strncasecmp. - -2010-11-08 Ulrich Drepper - - [BZ #12194] - * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16. - * sysdeps/x86_64/bits/byteswap.h: Likewise. - -2010-11-07 H.J. Lu - - * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for - IFUNC support. - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add - memset-x86-64. - * sysdeps/x86_64/multiarch/bzero.S: New file. - * sysdeps/x86_64/multiarch/cacheinfo.c: New file. - * sysdeps/x86_64/multiarch/memset-x86-64.S: New file. - * sysdeps/x86_64/multiarch/memset.S: New file. - * sysdeps/x86_64/multiarch/memset_chk.S: New file. - * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): - Set bit_Prefer_SSE_for_memop for Intel processors. - * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop): - Define. - (index_Prefer_SSE_for_memop): Define. - (HAS_PREFER_SSE_FOR_MEMOP): Define. - -2010-11-04 Luis Machado - - * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file. - * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file. - -2010-11-03 H.J. Lu - - [BZ #12191] - * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New. - (__x86_64_raw_data_cache_size_half): Likewise. - (__x86_64_raw_shared_cache_size): Likewise. - (__x86_64_raw_shared_cache_size_half): Likewise. - - * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New. - (__x86_64_raw_data_cache_size_half): Likewise. - (__x86_64_raw_shared_cache_size): Likewise. - (__x86_64_raw_shared_cache_size_half): Likewise. - (init_cacheinfo): Set __x86_64_raw_data_cache_size, - __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size - and __x86_64_raw_shared_cache_size_half. Round - __x86_64_data_cache_size_half, __x86_64_data_cache_size - __x86_64_shared_cache_size_half and __x86_64_shared_cache_size, - to multiple of 256 bytes. - -2010-11-03 Ulrich Drepper - - [BZ #12167] - * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling - of inacessible symlinks. Verify result of symlink before returning it. - * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise. - Patch mostly by Miklos Szeredi . - -2010-10-28 Erich Ritz - - * math/math.h (isinf): Fix typo in comment. - -2010-11-01 Ulrich Drepper - - * po/da.po: Update from translation team. - -2010-10-26 Ulrich Drepper - - * elf/rtld.c (dl_main): Move assertion after the point where rtld map - is added to the list. - -2010-10-20 Andreas Krebbel - Ulrich Drepper - - * elf/dl-object.c (_dl_new_object): Don't append the new object to - the global list here. Move code to... - (_dl_add_to_namespace_list): ...here. New function. - * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list. - * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare. - * elf/dl-load.c (lose): Don't remove the element from the list. - (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list. - (_dl_map_object): Likewise. - -2010-10-25 Ulrich Drepper - - [BZ #12159] - * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte - into all bytes of SSE register. - Patch by Richard Li . - -2010-10-24 Ulrich Drepper - - [BZ #12140] - * malloc/malloc.c (_int_free): Fill correct number of bytes when - perturbing. - -2010-10-20 Michael B. Brutman - - * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform - * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform - * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file. - * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New - submachine. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise. - -2010-10-22 Andreas Schwab - - * include/dlfcn.h (__RTLD_SECURE): Define. - * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use - mode & __RTLD_SECURE instead. - (open_path): Rename preloaded parameter to secure. - * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration. - * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object. - * elf/dl-deps.c (openaux): Likewise. - * elf/rtld.c (struct map_args): Remove is_preloaded. - (map_doit): Don't use it. - (dl_main): Likewise. - (do_preload): Use __RTLD_SECURE instead of is_preloaded. - (dlmopen_doit): Add __RTLD_SECURE to mode bits. - -2010-09-09 Andreas Schwab - - * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%. - (sysd-rules-targets): Remove duplicates. - * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with - rtld-%.$o dependency. - -2010-10-18 Andreas Schwab - - * elf/dl-open.c (dl_open_worker): Don't expand DST here, let - _dl_map_object do it. - -2010-10-19 Ulrich Drepper - - * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has - fast fma builtins, define the macros in the C99 standard. - (FP_FAST_FMAF): Likewise. - (FP_FAST_FMAL): Likewise. - * sysdeps/x86_64/bits/mathdef.h: Likewise. - - * bits/mathdef.h: Update copyright year. - * sysdeps/powerpc/bits/mathdef.h: Likewise. - -2010-10-19 Michael Meissner - - * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma - builtins, define the macros in the C99 standard. - (FP_FAST_FMAF): Likewise. - (FP_FAST_FMAL): Likewise. - * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as - multiply/add. - (FP_FAST_FMAF): Likewise. - -2010-10-15 Jakub Jelinek - - [BZ #3268] - * math/libm-test.inc (fma_test): Some new testcases. - * sysdeps/ieee754/ldbl-128/s_fmal.c: New file. - * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and - y and infinite z. Do multiplication by C already in long double. - * sysdeps/ieee754/ldbl-96/s_fmal.c: New file. - * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and - y and infinite z. Do bitwise or of inexact bit into u.d. - * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file. - * sysdeps/i386/fpu/s_fmaf.S: Removed. - * sysdeps/i386/fpu/s_fma.S: Removed. - * sysdeps/i386/fpu/s_fmal.S: Removed. - -2010-10-16 Jakub Jelinek - - [BZ #3268] - * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests. - * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d - computation is not scheduled after fetestexcept. Fix value - of minimum denormal long double. - -2010-10-14 Jakub Jelinek - - [BZ #3268] - * math/libm-test.inc (fma_test): Add some more tests. - * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows - correctly. - -2010-10-15 Andreas Schwab - - * scripts/data/localplt-s390-linux-gnu.data: New file. - * scripts/data/localplt-s390x-linux-gnu.data: New file. - -2010-10-13 Jakub Jelinek - - [BZ #3268] - * math/libm-test.inc (fma_test): Some more fmaf and fma tests. - * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version - instead of dbl-64. - * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove - inlines. - * sysdeps/ieee754/ldbl-96/s_fma.c: New file. - * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment - if one of x and y is very large and the other is subnormal. - * sysdeps/s390/fpu/s_fmaf.c: New file. - * sysdeps/s390/fpu/s_fma.c: New file. - * sysdeps/powerpc/fpu/s_fmaf.S: New file. - * sysdeps/powerpc/fpu/s_fma.S: New file. - * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file. - * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file. - * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file. - -2010-10-12 Jakub Jelinek - - [BZ #3268] - * math/libm-test.inc (fma_test): Add some more fmaf tests, add - fma tests. - * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check. - * sysdeps/ieee754/dbl-64/s_fma.c: New file. - * sysdeps/i386/i686/multiarch/s_fma.c: Include - sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c. - * sysdeps/x86_64/multiarch/s_fma.c: Likewise. - * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_fma.c: New file. - -2010-10-12 Ulrich Drepper - - [BZ #12078] - * posix/regcomp.c (parse_branch): One more memory leak plugged. - * posix/bug-regex31.input: Add test case. - -2010-10-11 Ulrich Drepper - - * posix/bug-regex31.c: Rewrite to run multiple tests from stdin. - * posix/bug-regex31.input: New file. - - [BZ #12078] - * posix/regcomp.c (parse_branch): Free memory when allocation failed. - (parse_sub_exp): Fix last change, use postorder. - - * posix/bug-regex31.c: New file. - * posix/Makefile: Add rules to build and run bug-regex31. - - * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls. - - [BZ #12078] - * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used. - - [BZ #12108] - * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX - to have entries in sys_siglist. - - [BZ #12093] - * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might - be NULL. - -2010-10-07 Jakub Jelinek - - [BZ #3268] - * math/libm-test.inc (fma_test): Add 2 fmaf tests. - * sysdeps/ieee754/dbl-64/s_fmaf.c: New file. - * sysdeps/i386/i686/multiarch/s_fmaf.c: Include - sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c. - * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise. - * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto. - * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver. - * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise. - * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise. - * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise. - * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise. - * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def. - * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise. - * math/ftestexcept.c (fetestexcept): Likewise. - * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise. - * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise. - * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise. - * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise. - * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise. - * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise. - * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise. - -2010-10-11 Ulrich Drepper - - [BZ #12107] - * stdio-common/psiginfo.c (psiginfo): Terminate all strings with - newline. - -2010-10-06 Ulrich Drepper - - * string/bug-strstr1.c: New file. - * string/Makefile: Add rules to build and run bug-strstr1. - -2010-10-05 Eric Blake - - [BZ #12092] - * string/str-two-way.h (two_way_long_needle): Always clear memory - when skipping input due to the shift table. - -2010-10-03 Ulrich Drepper - - [BZ #12005] - * malloc/mcheck.c: Handle large requests. - - [BZ #12077] - * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer - for strncmp and strncasecmp. - * string/stratcliff.c: Add tests for strcmp and strncmp. - * wcsmbs/wcsatcliff.c: Adjust for stratcliff change. - -2010-09-28 Nobuhiro Iwamatsu - - * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to - __set_fpscr. - -2010-09-30 Andreas Jaeger - - * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define. - (CGROUP_SUPER_MAGIC): Define. - * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags): - Handle btrfs and cgroup file systems. - * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max): - Likewise. - -2010-09-27 Luis Machado - - * sysdeps/powerpc/powerpc32/rtld-memset.c: New file. - * sysdeps/powerpc/powerpc64/rtld-memset.c: New file. - -2010-09-29 Andreas Krebbel - - [BZ #12067] - * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when - trying to locate the ELF header. - -2010-09-27 Andreas Schwab - - [BZ #11611] - * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): - Mask out sign-bit copies when constructing f_fsid. - -2010-09-24 Petr Baudis - - * debug/stack_chk_fail_local.c: Add missing licence exception. - * debug/warning-nop.c: Likewise. - -2010-09-15 Joseph Myers - - * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When - implementing getdents64 using getdents syscall, set d_type if - __ASSUME_GETDENTS32_D_TYPE. - -2010-09-16 Andreas Schwab - - * elf/dl-close.c (free_slotinfo, free_mem): Move to... - * elf/dl-libc.c (free_slotinfo, free_mem): ... here. - -2010-09-21 Ulrich Drepper - - [BZ #12037] - * posix/unistd.h: Undo change of feature selection for ftruncate from - 2010-01-11. - -2010-09-20 Ulrich Drepper - - * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit - detection. - -2010-09-20 Andreas Schwab - - * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add - fanotify_mark. - * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise. - -2010-09-14 Andreas Schwab - - * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register - variables after CHECK_SP call. - * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise. - -2010-09-13 Andreas Schwab - Ulrich Drepper - - * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before - re-relocationg ld.so. - * elf/dl-support.c (_dl_non_dynamic_init): And here after the - _dl_init_paths call. - * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs) - here anymore. - -2010-09-14 Ulrich Drepper - - * resolv/res_init.c (__res_vinit): Count the default server we added. - -2010-09-08 Chung-Lin Tang - Ulrich Drepper - - [BZ #11968] - * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S - (____longjmp_chk): Use %ebx for saving value across system call. - Add unwind info. - -2010-09-06 Andreas Schwab - - * manual/Makefile: Don't mix pattern rules with normal rules. - -2010-09-05 Andreas Schwab - - * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined - operation. - * libio/iofdopen.c (_IO_new_fdopen): Likewise. - * libio/iofopncook.c (_IO_cookie_init): Likewise. - * libio/iovdprintf.c (_IO_vdprintf): Likewise. - * libio/oldiofdopen.c (_IO_old_fdopen): Likewise. - * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): - Likewise. - -2010-09-04 Ulrich Drepper - - [BZ #11979] - * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from - IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939. - -2010-09-02 Ulrich Drepper - - * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1. - * sysdeps/x86_64/addmul_1.S: Likewise. - * sysdeps/x86_64/lshift.S: Likewise. - * sysdeps/x86_64/mul_1.S: Likewise. - * sysdeps/x86_64/rshift.S: Likewise. - * sysdeps/x86_64/sub_n.S: Likewise. - * sysdeps/x86_64/submul_1.S: Likewise. - -2010-09-01 Samuel Thibault - - This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h: - Define __sched_param instead of SCHED_* and sched_param when - is included with __need_schedparam defined. - * bits/sched.h [__need_schedparam] - (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define. - [!__defined_schedparam && (__need_schedparam || _SCHED_H)] - (__defined_schedparam): Define to 1. - (__sched_param): New structure, identical to sched_param. - (__need_schedparam): Undefine. - -2010-08-31 Mike Frysinger - - * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete. - (epoll_create1): Declare. - - * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo. - -2010-08-31 Andreas Schwab - - [BZ #7066] - * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when - shifting retval into place. - -2010-09-01 Ulrich Drepper - - * nis/rpcsvc/nis.h: Update copyright notice. - * nis/rpcsvc/nis.x: Likewise. - * nis/rpcsvc/nis_callback.h: Likewise. - * nis/rpcsvc/nis_callback.x: Likewise. - * nis/rpcsvc/nis_object.x: Likewise. - * nis/rpcsvc/nis_tags.h: Likewise. - * nis/rpcsvc/yp.h: Likewise. - * nis/rpcsvc/yp.x: Likewise. - * nis/rpcsvc/ypupd.h: Likewise. - * nis/yp_xdr.c: Likewise. - * nis/ypupdate_xdr.c: Likewise. - - * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is - mainly the body of pmap_getport. Add parameters to specify timeouts. - (pmap_getport): Use __libc_rpc_getport. - * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE. - * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport. - * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport. - -2010-08-31 Andreas Schwab - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add - fanotify_mark. - -2010-08-27 Roland McGrath - - * sysdeps/i386/i686/multiarch/Makefile - (CFLAGS-varshift.c): New variable. - -2010-08-27 Ulrich Drepper - - * sysdeps/i386/i686/multiarch/varshift.S: File removed. - * sysdeps/i386/i686/multiarch/varshift.c: New file. - - * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section. - - * sysdeps/x86_64/strlen.S: Minimal code improvement. - -2010-08-26 H.J. Lu - - * sysdeps/x86_64/strlen.S: Unroll the loop. - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add - strlen-sse2 strlen-sse2-bsf. - * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return - __strlen_no_bsf if bit_Slow_BSF is set. - (__strlen_sse42): Removed. - * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file. - * sysdeps/x86_64/multiarch/strlen-sse4.S: New file. - -2010-08-25 Roland McGrath - - * sysdeps/x86_64/multiarch/varshift.S: File removed. - * sysdeps/x86_64/multiarch/varshift.c: New file. - * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable. - * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast. - * sysdeps/x86_64/multiarch/memmove.c: Move decls around. - * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise. - -2010-08-25 H.J. Lu - - * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add - strlen-sse2 strlen-sse2-bsf. - * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return - __strlen_sse2_bsf if bit_Slow_BSF is unset. - (__strlen_sse2): Removed. - * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file. - * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file. - * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set - bit_Slow_BSF for Atom. - * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define. - (index_Slow_BSF): Define. - (HAS_SLOW_BSF): Define. - -2010-08-25 Ulrich Drepper - - [BZ #10851] - * resolv/res_init.c (__res_vinit): When no server address at all - is given default to loopback. - -2010-08-24 Roland McGrath - - * configure.in: Remove config-name.h generation. - * configure: Regenerated. - * config-name.in: File removed. - * scripts/config-uname.sh: New file. - * posix/Makefile (uname.c): Depend on $(objdir)config-name.h. - ($(objdir)config-name.h): New target. - - * sunrpc/rpc_parse.h: Avoid nested comment. - -2010-08-24 Richard Henderson - Ulrich Drepper - H.J. Lu - - * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift. - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise. - * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h". - Replace _mm_srli_si128 with __m128i_shift_right. Replace - _mm_alignr_epi8 with _mm_loadu_si128. - * sysdeps/x86_64/multiarch/strspn-c.c: Likewise. - * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h". - (__m128i_shift_right): Removed. - * sysdeps/i386/i686/multiarch/varshift.h: New file. - * sysdeps/i386/i686/multiarch/varshift.S: New file. - * sysdeps/x86_64/multiarch/varshift.h: New file. - * sysdeps/x86_64/multiarch/varshift.S: New file. - -2010-08-21 Mike Frysinger - - * configure.in: Move assembler checks to before sysdep dir checking. - -2010-08-20 Petr Baudis - - * LICENSES: Sync the sunrpc license. - -2010-08-19 Ulrich Drepper - - * sunrpc/auth_des.c: Update copyright notice once again. - * sunrpc/auth_none.c: Likewise. - * sunrpc/auth_unix.c: Likewise. - * sunrpc/authdes_prot.c: Likewise. - * sunrpc/authuxprot.c: Likewise. - * sunrpc/bindrsvprt.c: Likewise. - * sunrpc/clnt_gen.c: Likewise. - * sunrpc/clnt_perr.c: Likewise. - * sunrpc/clnt_raw.c: Likewise. - * sunrpc/clnt_simp.c: Likewise. - * sunrpc/clnt_tcp.c: Likewise. - * sunrpc/clnt_udp.c: Likewise. - * sunrpc/clnt_unix.c: Likewise. - * sunrpc/des_crypt.c: Likewise. - * sunrpc/des_soft.c: Likewise. - * sunrpc/get_myaddr.c: Likewise. - * sunrpc/getrpcport.c: Likewise. - * sunrpc/key_call.c: Likewise. - * sunrpc/key_prot.c: Likewise. - * sunrpc/openchild.c: Likewise. - * sunrpc/pm_getmaps.c: Likewise. - * sunrpc/pm_getport.c: Likewise. - * sunrpc/pmap_clnt.c: Likewise. - * sunrpc/pmap_prot.c: Likewise. - * sunrpc/pmap_prot2.c: Likewise. - * sunrpc/pmap_rmt.c: Likewise. - * sunrpc/rpc/auth.h: Likewise. - * sunrpc/rpc/auth_unix.h: Likewise. - * sunrpc/rpc/clnt.h: Likewise. - * sunrpc/rpc/des_crypt.h: Likewise. - * sunrpc/rpc/key_prot.h: Likewise. - * sunrpc/rpc/netdb.h: Likewise. - * sunrpc/rpc/pmap_clnt.h: Likewise. - * sunrpc/rpc/pmap_prot.h: Likewise. - * sunrpc/rpc/pmap_rmt.h: Likewise. - * sunrpc/rpc/rpc.h: Likewise. - * sunrpc/rpc/rpc_des.h: Likewise. - * sunrpc/rpc/rpc_msg.h: Likewise. - * sunrpc/rpc/svc.h: Likewise. - * sunrpc/rpc/svc_auth.h: Likewise. - * sunrpc/rpc/types.h: Likewise. - * sunrpc/rpc/xdr.h: Likewise. - * sunrpc/rpc_clntout.c: Likewise. - * sunrpc/rpc_cmsg.c: Likewise. - * sunrpc/rpc_common.c: Likewise. - * sunrpc/rpc_cout.c: Likewise. - * sunrpc/rpc_dtable.c: Likewise. - * sunrpc/rpc_hout.c: Likewise. - * sunrpc/rpc_main.c: Likewise. - * sunrpc/rpc_parse.c: Likewise. - * sunrpc/rpc_parse.h: Likewise. - * sunrpc/rpc_prot.c: Likewise. - * sunrpc/rpc_sample.c: Likewise. - * sunrpc/rpc_scan.c: Likewise. - * sunrpc/rpc_scan.h: Likewise. - * sunrpc/rpc_svcout.c: Likewise. - * sunrpc/rpc_tblout.c: Likewise. - * sunrpc/rpc_util.c: Likewise. - * sunrpc/rpc_util.h: Likewise. - * sunrpc/rpcinfo.c: Likewise. - * sunrpc/rpcsvc/bootparam_prot.x: Likewise. - * sunrpc/rpcsvc/key_prot.x: Likewise. - * sunrpc/rpcsvc/klm_prot.x: Likewise. - * sunrpc/rpcsvc/mount.x: Likewise. - * sunrpc/rpcsvc/nfs_prot.x: Likewise. - * sunrpc/rpcsvc/nlm_prot.x: Likewise. - * sunrpc/rpcsvc/rex.x: Likewise. - * sunrpc/rpcsvc/rstat.x: Likewise. - * sunrpc/rpcsvc/rusers.x: Likewise. - * sunrpc/rpcsvc/sm_inter.x: Likewise. - * sunrpc/rpcsvc/spray.x: Likewise. - * sunrpc/rpcsvc/yppasswd.x: Likewise. - * sunrpc/rtime.c: Likewise. - * sunrpc/svc.c: Likewise. - * sunrpc/svc_auth.c: Likewise. - * sunrpc/svc_authux.c: Likewise. - * sunrpc/svc_raw.c: Likewise. - * sunrpc/svc_run.c: Likewise. - * sunrpc/svc_simple.c: Likewise. - * sunrpc/svc_tcp.c: Likewise. - * sunrpc/svc_udp.c: Likewise. - * sunrpc/svc_unix.c: Likewise. - * sunrpc/svcauth_des.c: Likewise. - * sunrpc/xcrypt.c: Likewise. - * sunrpc/xdr.c: Likewise. - * sunrpc/xdr_array.c: Likewise. - * sunrpc/xdr_float.c: Likewise. - * sunrpc/xdr_mem.c: Likewise. - * sunrpc/xdr_rec.c: Likewise. - * sunrpc/xdr_ref.c: Likewise. - * sunrpc/xdr_sizeof.c: Likewise. - * sunrpc/xdr_stdio.c: Likewise. - - * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp - handling. - -2010-08-19 Andreas Schwab - - * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check. - -2010-08-19 Luis Machado - - * sysdeps/powerpc/powerpc32/power7/memchr.S: New file. - * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file. - * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file. - * sysdeps/powerpc/powerpc32/power7/strchr.S: New file. - * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file. - * sysdeps/powerpc/powerpc32/power7/strlen.S: New file. - * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file. - * sysdeps/powerpc/powerpc64/power7/memchr.S: New file. - * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file. - * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file. - * sysdeps/powerpc/powerpc64/power7/strchr.S: New file. - * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file. - * sysdeps/powerpc/powerpc64/power7/strlen.S: New file. - * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file. - -2010-07-26 Anton Blanchard - - * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask. - * malloc/arena.c (heap_trim): Likewise. - -2010-08-16 Ulrich Drepper - - * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init - here. Not... - * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here... - * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere. - -2010-08-12 H.J. Lu - - * sysdeps/i386/elf/Makefile: New file. - -2010-08-14 Andreas Schwab - - * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument - from fanotify_init. - * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. - -2010-08-15 Ulrich Drepper - - * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter - of strncasecmp_l. - * sysdeps/multiarch/strcmp.S: Likewise. - -2010-08-14 Ulrich Drepper - - * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add - strncase_l-nonascii. - * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines): - Add strncase_l-ssse3. - * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp. - * sysdeps/x86_64/strcmp.S: Likewise. - * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file. - * sysdeps/x86_64/multiarch/strncase_l.S: New file. - * sysdeps/x86_64/strncase.S: New file. - * sysdeps/x86_64/strncase_l-nonascii.c: New file. - * sysdeps/x86_64/strncase_l.S: New file. - * string/Makefile (strop-tests): Add strncasecmp. - * string/test-strncasecmp.c: New file. - - * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid - warning. - - * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to... - * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here. - -2010-08-14 Andreas Schwab - - * sysdeps/unix/sysv/linux/prlimit.c: Make it compile. - -2010-08-12 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC. - * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise. - -2010-05-01 Alan Modra - - * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24. - * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents.. - * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too.. - * sysdeps/powerpc/powerpc64/setjmp.S: ..to here.. - * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some - tidying. Don't tail-call __sigjmp_save for static lib. - * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct - save location. - (CFI_SAVE_ARG, CFI_REST_ARG): New macros. - (CALL_MCOUNT): Add eh info, and nop after bl. - (TAIL_CALL_SYSCALL_ERROR): New macro. - (PSEUDO_RET): Use it. - * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve): - Correct save location of integer regs and cr. - (_dl_profile_resolve): Correct cr save location. Delete nops - after bl when SHARED. Reduce cfi size a little by better - placement of cfi directives. - * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't - make a stack frame. Instead use parm save area as a temp. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't - make a stack frame. Use TAIL_CALL_SYSCALL_ERROR. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone): - Don't make a stack frame for parent, use parm save area. - Increase child stack frame to 112 bytes. Don't save unused reg, - and adjust reg usage. Set up cfi on error recovery and - epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S - (__makecontext): Add dummy nop after jump to exit. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket): - Use correct parm save area and cr save, reduce stack frame. - Correct cfi for possible PSEUDO_RET frame setup. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork): - Branch to local label emitted by PSEUDO_RET rather than - __syscall_error. - -2010-08-12 Andreas Schwab - - [BZ #11904] - * locale/programs/locale.c (print_assignment): New function. - (show_locale_vars): Use it. - -2010-08-11 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags - field. - (struct statfs64): Likewise. - (_STATFS_F_FLAGS): Define. - * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise. - * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags): - Don't define if __ASSUME_STATFS_F_FLAGS is defined. - (ST_VALID): Define locally. - (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call - __statvfs_getflags, use the provided value. - * sysdeps/unix/sysv/linux/kernel-features.h: Define - __ASSUME_STATFS_F_FLAGS. - - * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define. - - * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers): - Add sys/fanotify.h. - * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and - fanotify_mask for GLIBC_2.13. - * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for - fanotify_init and fanotify_mark. - * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/sys/fanotify.h: New file. - - * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines): - Add prlimit. - * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and - prlimit64 for GLIBC_2.13. - * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and - prlimit64. - * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64 - syscall. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also - add prlimit alias. - * sysdeps/unix/sysv/linux/prlimit.c: New file. - - [BZ #11903] - * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition. - Patch by Evgeni Bikov . - - * nss/Makefile: Add rules to build and run tst-nss-test1. - * shlib-versions: Add entry for libnss_test1. - * nss/nss_test1.c: New file. - * nss/tst-nss-test1.c: New file. - - * nss/nsswitch.c (__nss_database_custom): Define new variable. - (__nss_configure_lookup): Set appropriate entry in - __nss_configure_lookup to true. - * nss/nsswitch.h: Define enum with indeces of databases in - databases and __nss_database_custom arrays. Declare - __nss_database_custom. - * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom - to avoid using nscd when custom rules are installed. - * nss/getXXbyYY_r.c: Likewise. - * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise. - - * nss/nss_files/files-parse.c: Whitespace fixes. - -2010-08-09 Ulrich Drepper - - [BZ #11883] - * posix/fnmatch.c: Keep track of alloca use and fall back on malloc. - * posix/fnmatch_loop.c: Likewise. - -2010-07-17 Andi Kleen - - * sysdeps/i386/i386-mcount.S (__fentry__): Define. - * sysdeps/x86_64/_mcount.S (__fentry__): Define. - * stdlib/Versions (__fentry__): Add for GLIBC 2.13 - * Versions.def [GLIBC_2.13]: Add. - -2010-08-06 Ulrich Drepper - - * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): - Also fail if tpwd after pwuid call is NULL. - -2010-07-31 Samuel Thibault - - * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down - when converting to ms. - -2010-06-06 Samuel Thibault - - * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and - EOPNOTSUPP errors with ENOTTY. - * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and - EOPNOTSUPP errors with ENOTTY. - -2010-07-31 Ulrich Drepper - - * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines): - Add strcasecmp_l-ssse3. - * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for - strcasecmp. - * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp. - * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file. - * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file. - -2010-07-30 Ulrich Drepper - - * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing. - - * string/Makefile (strop-tests): Add strcasecmp. - * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add - strcasecmp_l-nonascii. - (gen-as-const-headers): Add locale-defines.sym. - * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation. - * sysdeps/x86_64/strcasecmp.S: New file. - * sysdeps/x86_64/strcasecmp_l.S: New file. - * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file. - * sysdeps/x86_64/locale-defines.sym: New file. - * string/test-strcasecmp.c: New file. - - * string/test-strcasestr.c: Test both ends of the range of characters. - * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition. - -2010-07-29 Roland McGrath - - [BZ #11856] - * manual/locale.texi (Yes-or-No Questions): Fix example code. - -2010-07-27 Ulrich Drepper - - * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file - for ld.so. - -2010-07-27 Andreas Schwab - - * manual/memory.texi (Malloc Tunable Parameters): Document - M_PERTURB. - -2010-07-26 Roland McGrath - - [BZ #11840] - * configure.in (-fgnu89-inline check): Set and substitute - gnu89_inline, not libc_cv_gnu89_inline. - * configure: Regenerated. - * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@. - -2010-07-26 Ulrich Drepper - - * string/test-strnlen.c: New file. - * string/Makefile (strop-tests): Add strnlen. - * string/tester.c (test_strnlen): Add a few more test cases. - * string/tst-strlen.c: Better error reporting. - - * sysdeps/x86_64/strnlen.S: New file. - -2010-07-24 Ulrich Drepper - - * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use - lower-latency instructions. - -2010-07-23 Ulrich Drepper - - * string/test-strcasestr.c: New file. - * string/test-strstr.c: New file. - * string/Makefile (strop-tests): Add strstr and strcasestr. - * string/str-two-way.h: Don't undefine MAX. - * string/strcasestr.c: Don't define alias if NO_ALIAS is defined. - -2010-07-21 Andreas Schwab - - * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add - strcasestr-nonascii. - (CFLAGS-strcasestr-nonascii.c): Define. - * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file. - * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42): - Remove unused attribute. - -2010-07-20 Roland McGrath - - * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to - dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in - ld.so.cache was broken. With it, there is no way to disable dsocaps - like LD_HWCAP_MASK can disable hwcaps. - -2010-06-02 Emilio Pozuelo Monfort - - * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks. - -2010-07-16 Ulrich Drepper - - * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function - call in strcasestr. - * sysdeps/x86_64/multiarch/strcasestr.c: Declare - __strcasestr_sse42_nonascii. - * sysdeps/x86_64/multiarch/Makefile: Add rules to build - strcasestr-nonascii.c. - * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file. - -2010-06-15 Luis Machado - - * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file. - * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file. - * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file. - * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file. - -2010-07-09 Ulrich Drepper - - * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not - fcntl. - -2010-07-06 Andreas Schwab - - [BZ #11577] - * elf/dl-version.c (match_symbol): Don't pass NULL occation to - dl_signal_cerror. - -2010-07-06 Ulrich Drepper - - * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement - _PC_PIPE_BUF using F_GETPIPE_SZ. - -2010-07-05 Roland McGrath - - * manual/arith.texi (Rounding Functions): Fix rint description - implicit in round description. - -2010-07-02 Ulrich Drepper - - * elf/Makefile: Fix linking for a few tests to make recent linker - happy. - -2010-06-30 Andreas Schwab - - * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd - $(common-objpfx)libc_nonshared.a. - -2010-06-21 Luis Machado - - * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove. - * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove. - * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove. - * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove. - * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove. - * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove. - * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove. - * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove. - * sysdeps/powerpc/powerpc32/970/Implies: Point to power4. - * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4. - * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5. - * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+. - * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6. - * sysdeps/powerpc/powerpc64/970/Implies: Point to power4. - * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4. - * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5. - * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+. - * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6. - * sysdeps/powerpc/powerpc32/power7/Implies: New file. - * sysdeps/powerpc/powerpc64/power7/Implies: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file. - -2010-06-25 H.J. Lu - - * debug/memmove_chk.c (__memmove_chk): Renamed to ... - (MEMMOVE_CHK): ...this. Default to __memmove_chk. - * string/memmove.c (memmove): Renamed to ... - (MEMMOVE): ...this. Default to memmove. - * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK. - * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define. - (END_CHK): Define. - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add - memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back - mempcpy-ssse3-back memmove-ssse3-back. - * sysdeps/x86_64/multiarch/bcopy.S: New file . - * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file. - * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file. - * sysdeps/x86_64/multiarch/memcpy.S: New file. - * sysdeps/x86_64/multiarch/memcpy_chk.S: New file. - * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file. - * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file. - * sysdeps/x86_64/multiarch/memmove.c: New file. - * sysdeps/x86_64/multiarch/memmove_chk.c: New file. - * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file. - * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file. - * sysdeps/x86_64/multiarch/mempcpy.S: New file. - * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file. - * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward): - Define. - (index_Fast_Copy_Backward): Define. - (HAS_ARCH_FEATURE): Define. - (HAS_FAST_REP_STRING): Define. - (HAS_FAST_COPY_BACKWARD): Define. - -2010-06-21 Andreas Schwab - - * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): - Restore proper fallback handling. - -2010-06-19 Ulrich Drepper - - [BZ #11701] - * posix/group_member.c (__group_member): Correct checking loop. - - * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle - OOM in getpwuid_r correctly. Return error number when the caller - should return, otherwise -1. - (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid - call returning > 0 value. - * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise. - -2010-06-07 Andreas Schwab - - * dlfcn/Makefile: Remove explicit dependencies on libc.so and - libc_nonshared.a from targets in modules-names. - -2010-06-02 Kirill A. Shutemov - - * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch - requires it. - -2010-06-10 Luis Machado - - * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file - * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file. - * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file. - * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file. - -2010-06-02 Andreas Schwab - - * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer. - -2010-06-14 Ulrich Drepper - - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ - and F_GETPIPE_SZ. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. - -2010-06-14 Roland McGrath - - * manual/libc.texinfo (@copying): Change to GFDL v1.3. - -2010-06-07 Jakub Jelinek - - * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of - __REDIRECT followed by __THROW. - * wcsmbs/wchar.h (swscanf, vswscanf): Likewise. - * posix/getopt.h (getopt): Likewise. - -2010-06-02 Emilio Pozuelo Monfort - - * hurd/lookup-at.c (__file_name_lookup_at): Accept - AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both - AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present - in AT_FLAGS. - * hurd/hurd/fd.h (__file_name_lookup_at): Update comment. - * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS. - -2010-05-28 Luis Machado - - * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi. - -2010-05-26 H.J. Lu - - [BZ #11640] - * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): - Properly check family and model. - -2010-05-26 Takashi Yoshii - - * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size. - -2010-05-24 Luis Machado - - * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix. - -2010-05-21 Ulrich Drepper - - * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak - symbol reference. - -2010-05-19 Andreas Schwab - - * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak - symbol reference. - -2010-05-21 Andreas Schwab - - * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg - and internal_recvmmsg. - * sysdeps/unix/sysv/linux/recvmmsg.c: New file. - * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file. - * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define. - * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove. - - * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break. - * sunrpc/clnt_udp.c (clntudp_control): Likewise. - * sunrpc/clnt_unix.c (clntunix_control): Likewise. - -2010-05-20 Andreas Schwab - - * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH. - -2010-05-17 Luis Machado - - POWER7 optimizations. - * sysdeps/powerpc/powerpc64/power7/memset.S: New file. - * sysdeps/powerpc/powerpc32/power7/memset.S: New file. - -2010-05-19 Ulrich Drepper - - * version.h: Update for 2.13 development version. - -2010-05-12 Andrew Stubbs - - * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all - exceptions. Return 0. - -2010-05-07 Roland McGrath - - * elf/ldconfig.c (main): Add a const. - -2010-05-06 Ulrich Drepper - - * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN. - (args_options): Add no-idn option. - (ahosts_keys_int): Add idn_flags to ai_flags. - (parse_option): Handle 'i' option to clear idn_flags. - - * malloc/malloc.c (_int_free): Possible race in the most recently - added check. Only act on the data if no current modification - happened. - -See ChangeLog.17 for earlier changes. diff --git a/ChangeLog.1 b/ChangeLog.1 index 1335a5f64a..c28024e88a 100644 --- a/ChangeLog.1 +++ b/ChangeLog.1 @@ -1,2670 +1,96739 @@ -Thu Sep 3 17:31:13 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) +2017-08-02 Siddhesh Poyarekar - * sysdeps/unix/bsd/setgroups.S: New file. How did this manage not - to exist already?? + * version.h (RELEASE): Set to "development" + (VERSION): Set to 2.26.90. + * NEWS: Add 2.27 section. - * Version 1.04. + * version.h (RELEASE): Set to "stable" + (VERSION): Set to 2.26. + * include/features.h (__GLIBC_MINOR__): Set to 26. - * sysdeps/generic/memmem.c (memmem): Fixed loop condition not to - use nonexistent variable. + * manual/contrib.texi: Update contributors. + * manual/install.texi: Update latest tested versions of gcc and + binutils. + * INSTALL: Regenerate. - * string/string.h (memmem): Put const qualifier on args. + * NEWS: Add bugs fixed. - * sysdeps/stub/sigaltstack.c (sigaltstack): Fix arg type. + * po/fr.po: Update translations. - * setjmp/sigsetjmp.c: #undef sigsetjmp before defining the function. +2017-08-01 Siddhesh Poyarekar -Wed Sep 2 16:43:58 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * NEWS: Update security-related changes. - * misc/Makefile (headers): Add syscall.h. - * sysdeps/unix/Makefile: Only generate syscall.h if it would - otherwise come from stub. - * sysdeps/stub/syscall.h: New file. +2017-07-30 Siddhesh Poyarekar - * time/Makefile (routines): Add stime. + * po/be.po: Update translations. + * po/ko.po: Likewise. + * po/nl.po: Likewise. + * po/ru.po: Likewise. - * io/Makefile (routines): Add fchdir. +2017-07-29 Torvald Riegel + Carlos O'Donell - * signal/Makefile (routines): Add sigaltstack. + [BZ 21778] + * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Update + oldval if the CAS fails. + * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise. + * nptl/tst-mutex7.c: Add comments explaining template test. + (ROBUST, DELAY_NSEC, ROUNDS, N): New. + (tf, do_test): Use them. + * nptl/tst-mutex7robust.c: New file. + * nptl/Makefile (tests): Add new test. - * string/Makefile (routines): Add memmem. +2017-07-28 Nathan Rossi - * setjmp/Makefile (routines): Add sigsetjmp, _setjmp. + [BZ #21779] + * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Branch using PLT. - * misc/Makefile (routines): Add getpass. + * sysdeps/microblaze/libm-test-ulps: Update. - * Makefile (distribute): Add NEWS. +2017-07-28 Chung-Lin Tang - * Makerules (ar-it) [! objdir]: Pass `ru' instead of `u' to ar. - Use $(..)libc.a instead of $(libc.a). + * sysdeps/nios2/libm-test-ulps: Update. - * sysdeps/unix/sysv/i386/linux/sysdep.h (PSEUDO): Call numbers are - SYS_*, not __NR_*. +2017-07-28 Torvald Riegel + Carlos O'Donell - * sysdeps/unix/sysv/i386/linux/__wait.S: Prepend extra _ to - `__waitpid' for jmp. + [BZ #21298] + * nptl/Makefile (tests-internal): Add tst-rwlock20. + * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Fix + explicit hand-over. + (__pthread_rwlock_wrlock_full): Likewise. + * nptl/tst-rwlock20.c: New file. + * support/Makefile (libsupport-routines): Add xpthread_rwlock_init, + xpthread_rwlock_rdlock, xpthread_rwlock_unlock, + xpthread_rwlock_wrlock, xpthread_rwlockattr_init, and + xpthread_rwlockattr_setkind_np. + * support/xpthread_rwlock_init.c: New file. + * support/xpthread_rwlock_rdlock.c: New file. + * support/xpthread_rwlock_unlock.c: New file. + * support/xpthread_rwlock_wrlock.c: New file. + * support/xpthread_rwlockattr_init.c: New file. + * support/xpthread_rwlockattr_setkind_np.c: New file. + * support/xthread.h: Add xpthread_rwlock_init, xpthread_rwlock_rdlock, + xpthread_rwlock_unlock, xpthread_rwlock_wrlock, + xpthread_rwlockattr_init, and xpthread_rwlockattr_setkind_np + prototypes. - * Makerules (check): New rule; alias for `tests'. +2017-07-27 Adhemerval Zanella - * sysdeps/stub/__setregid.c: Args are gid_t, not int. + * sysdeps/alpha/fpu/libm-test-ulps: Update. - * sysdeps/posix/readv.c: #include . +2017-07-27 Mike FABIAN - * sysdeps/generic/printf_fp.c: If LDBL_DIG or LDBL_MAX_10_EXP is - defined by float.h, #define each to DBL_*. + * locale/iso-639.def: add North and South Azerbaijani. -Tue Sep 1 16:29:07 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) +2017-07-27 Rical Jasan - * sysdeps/unix/Makefile (syscall.h): Add missing backslashes. + * manual/lang.texi (CHAR_BIT): Convert from an @table to an + @deftypevr. Change standard from ISO to C90. Mention the + POSIX.1-2001 requirement of the value 8. - * Makeconfig [!objdir && !..] (common-objpfx): Define as - `sysdeps/..'; The Almighty KludgeMeister 2000 wins again. +2017-07-27 Rical Jasan - * Makerules (sysdep-Makefile): Rename to sysd-Makefile. + * manual/creature.texi (_REENTRANT): Annotate as obsolete. + (_THREAD_SAFE): Likewise. - * Makeconfig (CC): Don't use -pipe by default. +2017-07-26 Siddhesh Poyarekar - * configure (switches): Put quotes around os-release and - os-version values. + * po/bg.po: Update translations. + * po/cs.po: Likewise. + * po/de.po: Likewise. + * po/pl.po: Likewise. + * po/uk.po: Likewise. + * po/vi.po: Likewise. -Mon Aug 31 19:33:15 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) +2017-07-26 Mike FABIAN - * sysdeps/stub/cbrt.c: New file. + [BZ #21828] + * NEWS: Mention that the Unicode 10.0.0 update causes user visible changes. - * sysdeps/generic/cabs.c: New file. +2017-07-26 Siddhesh Poyarekar - * sysdeps/generic/ceil.c: New file, split from floor.c. - * sysdeps/generic/__rint.c: Replaced with code split from floor.c. - * sysdeps/generic/Makefile (routines): Don't remove ceil, __rint. + * po/sv.po: Update Translation. -Thu Aug 27 15:58:13 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) +2017-07-25 Siddhesh Poyarekar + Paul Eggert - * malloc/malloc.h [! __STDC__] (ptrdiff_t): #define. + * timezone.zic (PRIdLINENO): Remove. + (verror): Use PRIdMAX. + * po/libc.pot: Regenerate. -Wed Aug 26 18:15:47 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) +2017-07-24 Adhemerval Zanella + H.J. Lu - * malloc/free.c (__free): Rename to _free_internal. - (free), malloc/malloc.c (morecore): Change callers. - * malloc/malloc.h: Change decl. + [BZ #21744] + * elf/dl-tunables.c: Include not-errno.h header. + * include/unistd.h (__access_noerrno): Remove definition. + * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise. + * sysdeps/generic/not-errno.h: New file. + * sysdeps/unix/sysv/linux/not-errno.h: Likewise. -Tue Aug 18 17:38:13 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) +2017-07-24 H.J. Lu - * sysdeps/generic/__copysign.c: New file. + [BZ #21752] + * debug/fortify_fail.c (__fortify_fail_abort): Don't pass down + __libc_argv[0] if we aren't doing backtrace. Rename do_backtrace + to need_backtrace. + * sysdeps/posix/libc_fatal.c (__libc_message): Don't call + __libc_secure_getenv if we aren't doing backtrace. - * sysdeps/unix/sysv/sysdep.h: #include , not - . Don't #define _SYS_SYS_S; should no longer be - necessary. +2017-07-24 Andreas Schwab - * sysdeps/unix/Makefile (syscall.h): Replaced simple code to just - find the file in any of several places, with hairier code to find - it and massage it. + [BZ #21804] + * sysdeps/nptl/bits/thread-shared-types.h (__PTHREAD_SPINS_DATA) + [__PTHREAD_MUTEX_LOCK_ELISION && __WORDSIZE == 64]: Remove + trailing semicolon. + (struct __pthread_mutex_s): Remove semicolon after + __PTHREAD_COMPAT_PADDING_MID and __PTHREAD_COMPAT_PADDING_END. + * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h + (__PTHREAD_COMPAT_PADDING_MID, __PTHREAD_COMPAT_PADDING_END): Add + semicolon. - * malloc/Makefile (obstack.%): Remove rule. - (gpl2lgpl): Define this instead. - * posix/Makefile (gpl2lgpl): Define to include getopt source files. - * Makerules ($(gpl2lgpl)): New rule to snarf code and frob its - copying notices. +2017-07-23 Dmitry V. Levin -Fri Aug 14 13:28:39 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/unix/sysv/linux/s390/sys/ptrace.h [_LINUX_PTRACE_H || + _S390_PTRACE_H]: Undefine all PTRACE_* macro constants defined + later as enum constants, except PTRACE_PEEKUSER, PTRACE_POKEUSER, + and PTRACE_SEIZE_DEVEL that are not defined by Linux headers. - * Makeconfig (common-objdir, common-objpfx): Define new vars. - (libc.a): Define in terms of $(common-objpfx). - Find config.make with $(common-objpfx), not $(objpfx). - * Makerules (common-objdir-compile): Define canned sequence. - (native-compile): Use $(@D)/$(@F) instead of stripping off $(objpfx). - * sysdeps/unix/Makefile, sysdeps/unix/bsd/Makefile, - sysdeps/generic/Makefile: Use it. - Use $(common-objpfx) for generated things not specific to one subdir. +2017-07-23 John David Anglin - * sysdeps/unix/Makefile (sysdep_headers): Add - $(sys/param.h-includes) to this instead of to headers. + [BZ 19170] + * sysdeps/hppa/dl-trampoline.S (_dl_runtime_resolve): Revise comment. -Thu Aug 13 18:30:58 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) +2017-07-21 DJ Delorie - * posix/glob.c: Always #include . - [! USG]: Don't do it here. - [STDC_HEADERS]: Test this instead of __STDC__ for size_t. - [HAVE_STRCOLL]: Test this instead of ANSI_STRING for strcoll. + * nss/tst-nss-test5.c: Correct test configuration. - * posix/glob/Makefile.in (Makefile): Remove rule. +2017-07-21 Steve Ellcey -Wed Aug 12 16:12:52 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c + CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c, + CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c, + CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c, + CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): New macros. - * sysdeps/sparc/jmp_buf.h: Deansideclized. +2017-07-21 Steve Ellcey - * sysdeps/generic/make_siglist.c: #undef HAVE_SYS_SIGLIST, not - SYS_SIGLIST_MISSING. - * sysdeps/generic/signame.[ch]: Re-symlinked from /gd/gnu/lib. - Who's been removing random things from my source tree?? + * nss/nss_test1.c (default_npwd_data): Fix definition. -Tue Aug 11 15:01:50 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) +2017-07-21 Steve Ellcey - * posix/getconf.c (main): Cast printf field with arg to int. + * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Call + math_force_eval. - * Makefile (distribute): Remove ansidecl, ansidecl.m4. +2017-07-19 Adhemerval Zanella - * posix/glob.c [_AIX]: Don't declare alloca. + * sysdeps/sparc/fpu/libm-test-ulps: Update. -Mon Aug 10 17:09:40 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Fix argument + passing to syscall exit. - * sysdeps/m68k/fpu/__math.h (__expm1): Define just like expm1. +2017-07-19 DJ Delorie - * sysdeps/unix/ioctls-tmpl.c [SMIOSTATS, SMIOGETREBOOT0, - ZIOCBCMD]: Include headers for these. + * grp/grp-merge.c (libc_hidden_def): Fix cast-after-dereference. -Fri Aug 7 16:01:43 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) +2017-07-19 H.J. Lu - * string/tester.c (main): Use sys_nerr and sys_errlist, not _sys_*. + [BZ #21741] + * sysdeps/i386/i686/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Test memmove_chk and memset_chk only + in libc.so. - * stdio/stdio.h [__USE_GNU] (_sys_nerr, _sys_errlist): Declare. +2017-07-19 H.J. Lu - * string/strerror.c, stdio/perror.c - [HAVE_GNU_LD] (_sys_errlist, _sys_nerr): Remove decls. + [BZ #21740] + * debug/Makefile (elide-routines.o): New. + +2017-07-19 Szabolcs Nagy + + * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: + (_dl_aarch64_cap_flags): Update. + * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h + (_DL_HWCAP_COUNT, _DL_HWCAP_LAST): Update. + +2017-07-18 Szabolcs Nagy + + * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (_dl_procinfo): Revert. + (_dl_hwcap_string): Check range. + +2017-07-17 Tulio Magno Quites Machado Filho + + [BZ #21707] + * csu/libc-start.c (LIBC_START_MAIN): Perform IREL{,A} + relocations before or after initializing the TCB on statically + linked executables. That's a per-architecture definition. + * elf/rtld.c (dl_main): Add a comment about thread-local + variables initialization. + * sysdeps/generic/libc-start.h: New file. Define + ARCH_APPLY_IREL and ARCH_SETUP_IREL. + * sysdeps/powerpc/Makefile: + [$(subdir) = elf && $(multi-arch) != no] (tests-static-internal): Add + tst-tlsifunc-static. + [$(subdir) = elf && $(multi-arch) != no && $(build-shared) == yes] + (tests-internal): Add tst-tlsifunc. + * sysdeps/powerpc/tst-tlsifunc.c: New file. + * sysdeps/powerpc/tst-tlsifunc-static.c: Likewise. + * sysdeps/powerpc/powerpc64le/Makefile (f128-loader-link): New + variable. + [$(subdir) = math] (test-float128% test-ifloat128%): Force + linking to the loader after linking to libgcc. + [$(subdir) = wcsmbs || $(subdir) = stdlib] (bug-strtod bug-strtod2) + (bug-strtod2 tst-strtod-round tst-wcstod-round tst-strtod6 tst-strrom) + (tst-strfrom-locale strfrom-skeleton): Likewise. + * sysdeps/unix/sysv/linux/powerpc/libc-start.h: New file. Define + ARCH_APPLY_IREL and ARCH_SETUP_IREL. - * stdio/memstream.c (enlarge_buffer): Notice when target is -1 and - don't treat it as a huge value. +2017-07-17 DJ Delorie - * stdio/tst-printf.c: #if 0 code that tickles printf_fp bugs. + * nss/nss_test.h: New. + * nss/nss_test1.h: Rewrite to use test-provided data. Add group + tests. Parameterize to allow multiple instances. + * nss/nss_test2.h: New. Second instance. + * nss/nss_test.ver: New. + * nss/nss_test1.c: Update to use new framework. + * nss/nss_test2.c: New. + * nss/nss_test3.c: New. + * nss/nss_test4.c: New. + * nss/nss_test5.c: New. + * nss/Makefile: Build new tests. + * shlib-versions: Add libnss_test2. - * grp/testgrp.c: Don't bomb if uid not in passwd file. +2017-07-17 Adhemerval Zanella - * stdlib/tst-strtol.c (tests): C-t on LONG_MIN and LONG_MIN-1 elts. + [BZ #21512] + * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Fix argument + passing to syscall exit. - * stdlib/strtol.c: Use int flag NEGATIVE instead of char 1/-1 SIGN. - Fixed checking for overflow of long int that fits in unsigned long - int--must cast LONG_MIN before negating! +2017-07-17 Szabolcs Nagy -Thu Aug 6 18:46:24 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_FCMA): New macro. + (HWCAP_JSCVT, HWCAP_LRCPC): Likewise. - * stdio/bug3.c (main): Define ansideclifily. +2017-07-16 John David Anglin - * sysdeps/unix/bsd/sun/sparc/__pipe.S: Define __pipe, not ___pipe. + * sysdeps/hppa/dl-trampoline.S (_dl_runtime_resolve): Return to caller + if _dl_fixup fails. - * math/test-math.c (main): Remove unused vars. + * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Add .cfi annotation. + * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Likewise. + * sysdeps/unix/sysv/linux/hppa/pt-vfork.S (__vfork): Likewise. + * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise. - * io/flock.c: #include , and not fcntl.h or sys/types.h. + * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Fix stack + offset for r19 load. - * sysdeps/m68k/fpu/__math.h (__rint): Define just like rint. + * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Return 0. - * math/math.h (__rint): Declare. + * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Fix CFA offset. + Use .cfi_def_cfa_offset instead of .cfi_offset. Don't record stack + pointer offset. Correct PIC register offset. Don't mention frame + related instructions in epilogue. + (PUSHARGS_1): Correct offset. + (PUSHARGS_2): Likewise. + (PUSHARGS_3): Likewise. + (PUSHARGS_4): Likewise. + (PUSHARGS_5): Likewise. + (PUSHARGS_6): Likewise. + (POPARGS_1): Don't mention register restore. + (POPARGS_2): Likewise. + (POPARGS_3): Likewise. + (POPARGS_4): Likewise. + (POPARGS_5): Likewise. + (POPARGS_6): Likewise. + * sysdeps/unix/sysv/linux/hppa/sysdep.h (SAVE_PIC): Don't mention + copy of PIC register. + (LOAD_PIC): Likewise don't mention restore. + (DO_CALL): Fix CFA offset. Use .cfi_def_cfa_offset instead of + .cfi_offset. Don't record stack pointer offset. Correct PIC register + offset. Don't mention frame related instructions in epilogue. + + * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove _exit entry. + + * sysdeps/hppa/__longjmp.c (__longjmp): Remove extra braces. + + [BZ 20098] + * sysdeps/hppa/dl-fptr.c (_dl_read_access_allowed): New. + (_dl_lookup_address): Return address if it is not consistent with + being a linker defined function pointer. Likewise, return address + if address and function descriptor addresses are not accessible. + +2017-07-16 Siddhesh Poyarekar + + * po/libc.pot: Regenerate. + +2017-07-15 John David Anglin + + [BZ locale/19838] + * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHMLBA): Set to page size. + + * nptl/allocatestack.c (allocate_stack): Align old and new guard + addresses to page boundaries when the stack grows up. - * configure (esix*): base_os=unix/sysv. + * sysdeps/hppa/math-tests.h: New. - * dirent/getdents.c: #include . +2017-07-14 DJ Delorie - * Rules (subdir): Avoid TAB before # at end of defn. + [BZ #21654] + * grp/grp_merge.c (__copy_grp): Align char** to minimum pointer + alignment not char alignment. + (__merge_grp): Likewise. - * sysdeps/unix/bsd/bsd4.4/__wait3.c: Last arg type is struct rusage *. +2017-07-14 Szabolcs Nagy + Florian Weimer -Tue Aug 4 18:19:43 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * libio/memstream.c (__open_memstream): Set _IO_FLAGS2_NEED_LOCK. + * libio/wmemstream.c (open_wmemstream): Likewise. + * nptl/tst-memstream.c: New. + +2017-07-12 Jiong Wang + + * sysdeps/arm/dl-machine.h (elf_machine_load_address): Also strip bit 0 + of pcrel_address under Thumb mode. - * sysdeps/ieee754/Makefile: Removed. +2017-07-12 Akhilesh Kumar - * math/math.h: Declare __expm1. + [BZ #21207] + * locale/iso-639.def: Add Fiji Hindi (hif). -Mon Aug 3 13:02:05 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) +2017-07-12 John David Anglin - * sysdeps/ieee754/cabs.c (cabs, z_abs): Members of structure have __. + * sysdeps/hppa/dl-machine.h (elf_machine_rela): Fix typo. + +2017-07-12 H.J. Lu + + * debug/Makefile (CFLAGS-tst-ssp-1.c): Set to + -fstack-protector-all. + +2017-07-11 Chris Leonard + + [BZ #20496] + * locale/iso-639.def: Add AwajĂșn / Aguaruna (agr). + +2017-07-11 Gabriel F. T. Gomes + + * sysdeps/powerpc/powerpc64le/Makefile: Use $(all-object-suffixes) + to iterate over all possible object suffixes. Add a comment + explaining the use of sysdep-CFLAGS instead of CFLAGS. + +2017-07-11 H.J. Lu + + [BZ #12189] + * debug/Makefile (CFLAGS-tst-ssp-1.c): New. + (tests): Add tst-ssp-1 if -fstack-protector works. + * debug/fortify_fail.c: Include . + (_fortify_fail_abort): New function. + (__fortify_fail): Call _fortify_fail_abort. + (__fortify_fail_abort): Add a hidden definition. + * debug/stack_chk_fail.c: Include . + (__stack_chk_fail): Call __fortify_fail_abort, instead of + __fortify_fail. + * debug/tst-ssp-1.c: New file. + * include/stdio.h (__libc_message_action): New enum. + (__libc_message): Replace int with enum __libc_message_action. + (__fortify_fail_abort): New hidden prototype. + * malloc/malloc.c (malloc_printerr): Update __libc_message calls. + * sysdeps/posix/libc_fatal.c (__libc_message): Replace int + with enum __libc_message_action. Call BEFORE_ABORT only if + action includes do_backtrace. + (__libc_fatal): Update __libc_message call. - * sysdeps/unix/bsd/seq386: Remove directory. +2017-07-11 Adhemerval Zanella -Thu Jul 30 15:42:01 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + [BZ #21738] + * manual/llio.texi (RWF_NOWAIT): New item. + * misc/tst-preadvwritev2-common.c (do_test_with_invalid_flags): + Add RWF_NOWAIT check. + * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_NOWAIT): New flag. - * sysdeps/unix/bsd/sun/sparc/sigcontext.h: Deansideclized. +2017-07-11 Stefan Liebler - * sysdeps/unix/bsd/sun/sunos4/__wait4.c: Make last arg struct rusage - instead of PTR. + * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c: + Support running on kernels without PTRACE_SINGLEBLOCK. - * sysdeps/unix/morecore.c (__default_morecore): Make arg ptrdiff_t. +2017-07-10 H.J. Lu + + [BZ #21742] + * elf/Makefile (dl-routines): Move dl-conflict to ... + (rtld-routines): Here. + +2017-07-10 H.J. Lu + + [BZ #21741] + * sysdeps/x86_64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Test memmove_chk and memset_chk only + in libc.so. + +2017-07-09 John David Anglin + + * sysdeps/hppa/fpu/libm-test-ulps: Update. + + [BZ #21016] + * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s): + Fix typo. + * sysdeps/unix/sysv/linux/hppa/pthread.h: Include + bits/types/struct_timespec.h. + (PTHREAD_MUTEX_INITIALIZER): Revise define. + (PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP): Likewise. + (PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP): Likewise. + (PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP): Likewise. + (PTHREAD_RWLOCK_INITIALIZER): Likewise. + (PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP): Likewise. + (PTHREAD_COND_INITIALIZER): Likewise. + Remove old definitions. + * sysdeps/unix/sysv/linux/hppa/internaltypes.h: Delete. + * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: Delete. + * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: Delete. + * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: Delete. + * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: Delete. + * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: Delete. + +2017-07-09 H.J. Lu + + * sysdeps/x86_64/multiarch/memcmp.c: Update comments. + * sysdeps/x86_64/multiarch/memmove.c: Likewise. + * sysdeps/x86_64/multiarch/memrchr.c: Likewise. + * sysdeps/x86_64/multiarch/memset.c: Likewise. + * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise. + * sysdeps/x86_64/multiarch/strchrnul.c: Likewise. + * sysdeps/x86_64/multiarch/strlen.c: Likewise. + * sysdeps/x86_64/multiarch/strnlen.c: Likewise. + * sysdeps/x86_64/multiarch/wcschr.c: Likewise. + * sysdeps/x86_64/multiarch/wcscpy.c: Likewise. + * sysdeps/x86_64/multiarch/wcslen.c: Likewise. + * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise. + * sysdeps/x86_64/multiarch/wmemchr.c: Likewise. + * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise. + * sysdeps/x86_64/multiarch/wmemset.c: Likewise. + * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise. + +2017-07-09 H.J. Lu + + * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update comments. + +2017-07-09 Helge Deller + + [BZ #21049] + * sysdeps/hppa/__longjmp.c (__longjmp): Move call to CHECK_SP + up to avoid clobbering r26. + +2017-07-08 Andreas Schwab + + * scripts/build-many-glibcs.py (Glibc.build_glibc): Also build + profiled objects. + +2017-07-06 DJ Delorie + + * manual/tunables.texi: Add missing @end deftp. + +2017-07-06 Florian Weimer + + * resolv/tst-resolv-basic.c (test_bug_21295): New function. + (do_test): Call it. + +2017-07-06 DJ Delorie + + * config.make.in: Enable experimental malloc option. + * configure.ac: Likewise. + * configure: Regenerate. + * manual/install.texi: Document it. + * INSTALL: Regenerate. + * malloc/Makefile: Likewise. + * malloc/malloc.c: Add per-thread cache (tcache). + (tcache_put): New. + (tcache_get): New. + (tcache_thread_freeres): New. + (tcache_init): New. + (__libc_malloc): Use cached chunks if available. + (__libc_free): Initialize tcache if needed. + (__libc_realloc): Likewise. + (__libc_calloc): Likewise. + (_int_malloc): Prefill tcache when appropriate. + (_int_free): Likewise. + (do_set_tcache_max): New. + (do_set_tcache_count): New. + (do_set_tcache_unsorted_limit): New. + * manual/probes.texi: Document new probes. + * malloc/arena.c: Add new tcache tunables. + * elf/dl-tunables.list: Likewise. + * manual/tunables.texi: Document them. + * NEWS: Mention the per-thread cache. + +2017-07-06 Joseph Myers + + * iconvdata/tst-loading.c (TIMEOUT): Define to 30. + * misc/tst-tsearch.c (TIMEOUT): Remove. + * nptl/tst-create-detached.c (TIMEOUT): Define to 100. + * nptl/tst-robust-fork.c (TIMEOUT): Likewise. + * nptl/tst-rwlock19.c (TIMEOUT): Likewise. + * string/tst-cmp.c (TIMEOUT): Define to 600. + +2017-07-06 Matthew Krupcale + + [BZ #21715] + * sysdeps/nptl/bits/pthreadtypes.h (__have_pthread_attr_t): Fix typo + on definition. + +2017-07-06 Florian Weimer + H.J. Lu + + [BZ #21609] + * sysdeps/x86_64/Makefile (sysdep-dl-routines): Add tls_get_addr. + (gen-as-const-headers): Add rtld-offsets.sym. + * sysdeps/x86_64/dl-tls.c: New file. + * sysdeps/x86_64/rtld-offsets.sym: Likwise. + * sysdeps/x86_64/tls_get_addr.S: Likewise. + * sysdeps/x86_64/dl-tls.h: Add multiple inclusion guards. + * sysdeps/x86_64/tlsdesc.sym (TI_MODULE_OFFSET): New. + (TI_OFFSET_OFFSET): Likwise. + +2017-07-05 Adhemerval Zanella + + [BZ# 21697] + * sysdeps/posix/spawni.c (__spawni_child): Fix return value. + +2017-07-05 Florian Weimer + + * resolv/Makefile (tests-internal): Add tst-resolv-threads. + (tst-resolv-threads): Link with -ldl, -lresolv, -lpthread. + * resolv/tst-resolv-threads.c: New file. + +2017-07-05 Florian Weimer + + support: Add resolver testing mode which does not patch _res. + * support/resolv_test.h (struct resolv_redirect_config): Add + disable_redirect, server_address_overrides. + * support/resolv_test.c (make_server_sockets_for_address): New + function. + (resolv_test_start): Call it. + +2017-07-05 Florian Weimer + + * support/namespace.h (struct support_chroot_configuration) + (struct support_chroot): Define. + (support_chroot_create, support_chroot_free): New functions. + * support/support_chroot.c: New file. + * support/Makefile (libsupport-routines): Add support_chroot. + * resolv/tst-resolv-res_init-skeleton.c (path_chroot) + (path_resolv_conf): Remove definitions. + (chroot_env): New variable. + (prepare): Call support_chroot_create. + (check_chroot_working, setup_nss_dns_and_chroot, run_res_init) + (special_test_callback, do_test): Likewise. + +2017-07-05 Florian Weimer + + Add subtest to check isolation of multiple loopback addresses. + * support/tst-support-namespace.c (test_localhost_bind): New function. + (do_test): Call it. + +2017-07-04 Szabolcs Nagy + + * libio/libio.h (_IO_FLAGS2_NEED_LOCK, _IO_need_lock): Define. + * libio/libioP.h (_IO_enable_locks): Declare. + * libio/Versions (_IO_enable_locks): New symbol. + * libio/genops.c (_IO_enable_locks): Define. + (_IO_old_init): Initialize flags2. + * libio/feof.c.c (_IO_feof): Avoid locking when not needed. + * libio/ferror.c (_IO_ferror): Likewise. + * libio/fputc.c (fputc): Likewise. + * libio/putc.c (_IO_putc): Likewise. + * libio/getc.c (_IO_getc): Likewise. + * libio/getchar.c (getchar): Likewise. + * libio/ioungetc.c (_IO_ungetc): Likewise. + * nptl/pthread_create.c (__pthread_create_2_1): Enable stdio locks. + * libio/iofopncook.c (_IO_fopencookie): Enable locking for the file. + * sysdeps/pthread/flockfile.c (__flockfile): Likewise. + +2017-07-04 Florian Weimer + + [BZ #21542] + * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Default to + two if no accurate information is available. + * posix/tst-sysconf-empty-chroot.c: New file. + * posix/Makefile (tests): Add it. + +2017-07-04 Florian Weimer + + * resolv/resolv_conf.c (resolv_conf_matches): Tighten check for name + server and sort list counts. Fix improper check for empty search + path (completely missing domain name) leading to assertion failure + in update_from_conf. + * resolv/tst-resolv-res_init-skeleton.c (struct test_case): Add + hostname member. + (run_res_init): Set host name if requested. + (test_cases): Update. + +2017-07-04 Joseph Myers + + * scripts/build-many-glibcs.py (Context.checkout): Default + binutils version to 2.29 branch, GMP version to 6.1.2 and Linux + kernel version to 4.12. + +2017-07-04 Florian Weimer + + * resolv/resolv_conf.c (struct resolv_conf_global): Clarify free + list management and the role of free_list_start. + (decrement_at_index): Put zero at the end of the free list. + (__resolv_conf_attach): Fix bogus assert. + * resolv/Makefile (tests): Add tst-resolv-res_init-multi. + (tst-resolv-res_init-multi): Link with -lresolv, -lpthread. + +2017-07-03 Florian Weimer + + resolv: Introduce free list for resolv_conf index slosts. + * resolv/resolv_conf.c (struct resolv_conf_array): Change element + type to uintptr_t. + (struct resolv_conf_global): Add free_list_start member. + (resolv_conf_get_1): Check for free list entry. + (decrement_at_index): Put freed slot on the free list. + (__resolv_conf_attach): Obtain new slot from the free list. + * resolv/tst-resolv-res_ninit.c: New file. + * resolv/Makefile (tests-internal): Add tst-resolv-res_ninit. + (tests-special): Add mtrace-tst-resolv-res_ninit.out. + (generated): Add mtrace-tst-resolv-res_ninit.out, + tst-resolv-res_ninit.mtrace. + (mtrace-tst-resolv-res_ninit.out): Add target. + +2017-06-30 Florian Weimer + + [BZ #984] + Reload /etc/resolv.conf if has been changed on disk. + * resolv/resolv_conf.h (resolv_conf): Remove initstamp member. + (__resolv_conf_load, __resolv_conf_get_current): Declare. + * resolv/resolv_conf.c (struct resolv_conf_global): Add + conf_current, conf_mtime, conf_ctime, conf_size, conf_ino members. + (__resolv_conf_get_current): New function. + (__resolv_conf_allocate): Do not initialize initstamp. + (freeres): Deallocate global->conf_current. + * resolv/resolv.h (RES_NORELOAD): Define. + * resolv/res_debug.c (p_option): Add RES_NORELOAD. + * resolv/resolv-internal.h (__res_initstamp): Remove declaration. + * resolv/resolv_context.c (replicated_configuration_matches): New. + (maybe_init): Call it. Use __resolv_conf_get_current to obtain + the current configration. + * resolv/res_init.c (__res_initstamp): Remove variable definition. + (has_preinit_values): New function. + (__resolv_conf_load): Renamed from __res_vinit. Drop res_state + parameter and do not call __resolv_conf_attach. + (__res_vinit): Reimplement based __resolv_conf_load. + (res_options): Handle no-reload. + * resolv/res_libc.c (atomicinclock, atomicincunlock, atomicinc) + (lock): Remove. + (res_int): Do not update __res_initstamp. + * resolv/tst-resolv-res_init-skeleton.c (print_resp): Handle + RES_NORELOAD. + (test_cases): Test no-reload. + (special_test_call_res_init): Remove. + (special_test_callback): Rely on automated reloading. Add tests + for no-reload. + +2017-06-30 Florian Weimer + + Mirror the entire resolver configuration in struct resolv_conf. + * resolv/resolv_context.h (__resolv_context_nameserver_count) + (__resolv_context_nameserver): New functions. + (__resolv_context_sort_count, __resolv_context_sort_entry): + Likewise. + * resolv/nss_dns/dns-host.c (getanswer_r): Add struct + resolv_context parameter. + (gethostbyname3_context, _nss_dns_gethostbyaddr2_r): Adjust. + (addrsort): Switch to struct resolv_context. + * resolv/resolv_conf.h (struct resolv_sortlist_entry): Define. + (struct resolv_conf): Add nameserver_list, nameserver_list_size, + sort_list, sort_list_size, options, retrans, retry, ndots members. + * resolv/resolv_conf.c (same_address_v4, same_address_v6) + (same_address): New functions. + (resolv_conf_matches): Compare the new array members. + (__resolv_conf_allocate): Allocate and copy the new array members. + (update_from_conf): Copy the entire configuration. + * resolv/res_init.c (struct nameserver_list, struct sort_list): + Define using dynarray. + (struct resolv_conf_parser): Add nameserver_list, sort_list, + template members. + (resolv_conf_parser_init): Add preinit argument. Initialize the + new members. + (resolv_conf_parser_free): Deallocate the new arrays. + (allocate_address_v4): New function. + (res_setoptions): Switch to struct resolv_conf_parser * parameter. + (res_vinit_1): Drop res_state parameter. Write all parsed date to + the parser object instead. Use allocate_address_v4 to allocate + IPv4 addresses. + (__res_vinit): Adjust. + * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print the + extended name server list. + (test_cases): Adjust. + +2017-06-30 Florian Weimer + + [BZ #19569] + [BZ #21475] + Support an arbitrary number of search domains. + * resolv/resolv_context.h (__resolv_context_search_list): New. + * resolv/resolv_conf.h (struct resolv_conf): Add search_list, + search_list_size members. + * resolv/resolv_conf.c (resolv_conf_matches): Compare search list. + (__resolv_conf_allocate): Allocate and and copy search list. + (update_from_conf): Copy the search list. + * resolv/res_init.c (struct search_list): Define using dynarray. + (struct resolv_conf_parser): Define. + (resolv_conf_parser_init, resolv_conf_parser_free) + (domain_from_hostname): New functions. + (res_vinit_1): Add struct resolv_conf_parser * parameter. Use + struct search_list to collect search list entries. Call + domain_from_hostname to obtain the fallback domain name. + (__res_vinit): Create and destroy parser object. Pass search list + to __resolv_conf_allocate. + * resolv/res_query.c (__res_context_search): Use + __resolv_context_search_list to obtain search list entries. + * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print data + from extended resolver context. + (test_cases): Update. + +2017-06-30 Florian Weimer + + Add extended resolver state/configuration (struct resolv_conf). + * resolv/resolv_conf.h, resolv/resolv_conf.c: New files. + * resolv/res-close.c (__res_iclose): Call __resolv_conf_detach. + * resolv/res_init.c (res_vinit_1): Do not initialize initstamp. + (__res_vinit): Call __resolv_conf_allocate and + __resolv_conf_attach. + * resolv/resolv_context.h (struct resolv_context): Add conf member + of type struct resolv_conf. + * resolv/resolv_context.c (maybe_init): Get initstamp from struct + resolv_conf. Update conf member after initialization. + * resolv/Makefile (routines): Add resolv_conf. + * resolv/bits/types/res_state.h [_LIBC] (struct __res_state): + Rename _u._ext.initstamp to _u._ext.__glibc_extension_index. + [!_LIBC] (struct __res_state): Rename _u._ext._initstamp to + _u._ext.__glibc_reserved. + +2017-06-30 Florian Weimer + + [BZ #21668] + Introduce temporary resolver contexts (struct resolv_conf). + * resolv/resolv-internal.h (__res_context_mkquery) + (__res_context_searchl __res_context_query, __res_context_send) + (__res_context_hostalias): Declare. + (__res_nopt): Switch to struct resolv_context. + * resolv/res_use_inet6.h: New file. + * resolv/resolv_context.h: Likewise. + * resolv/resolv_context.c: Likewise. + * resolv/compat-gethnamaddr.c (res_gethostbyname2_context): + Renamed from res_gethostbyname2. Use struct resolv_context. + (res_gethostbyname2): New function. Implement using + res_gethostbyname2_context. + (res_gethostbyaddr_context): Renamed from res_gethostbyaddr. Use + struct resolv_context. + (res_gethostbyaddr): New function. Implement using + res_gethostbyaddr_context. + * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Use struct + resolv_context. + * resolv/nss_dns/dns-host.c (gethostbyname3_context): Renamed from + _nss_dns_gethostbyname3_r. Use struct resolv_context. + (_nss_dns_gethostbyname3_r): Implement using gethostbyname3_context. + (_nss_dns_gethostbyname_r, _nss_dns_gethostbyname4_r): Likewise. + (_nss_dns_gethostbyaddr2_r): Use struct resolv_context. + * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r) + (_nss_dns_getnetbyaddr_r): Likewise. + * resolv/res-close.c (res_thread_freeres): Call + __resolv_context_freeres. + * resolv/res_libc.c (__res_maybe_init): Remove function. Moved to + maybe_init in resolv/resolv_context.c. + * resolv/res_mkquery.c (__res_context_mkquery): Rename from + res_nmkquery. Use struct resolv_context. + (context_mkquery_common): New function. + (res_nmkquery, res_mkquery): Use it. + (res_nopt): Switch to struct resolv_context. + * resolv/res_query.c (__res_context_querydomain): Renamed from + __libc_res_nquerydomain. Use struct resolv_context. + (__res_context_query): Renamed from __libc_res_nquery. Use struct + resolv_context. + (context_query_common): New function. + (res_nquery, res_query): Use it. + (__res_context_search): Renamed from __libc_res_nsearch. Use + struct resolv_context. + (context_search_common): New function. + (res_nsearch, res_search): Use it. + (__res_context_querydomain): Rename from __libc_res_nquerydomain. + Use struct resolv_context. + (context_querydomain_common): New function. + (res_nquerydomain, res_querydomain): Use it. + (__res_context_hostalias): Rename from res_hostalias. Use struct + resolv_context. + (context_hostalias_common): New function. + (res_hostalias, hostalias): Use it. + * resolv/res_send.c (__res_context_send): Renamed from + __libc_res_nsend. Use struct resolv_context. + (context_send_common): New function. + (res_nsend, res_send): Use it. + * resolv/Makefile (routines): Add resolv_context. + * resolv/Versions (libc): Export __resolv_context_get, + __resolv_context_get_preinit, __resolv_context_get_override, + __resolv_context_put. Remove __res_maybe_init. + (libresolv): Export __res_context_query, __res_context_search, + __res_context_hostalias. Remove __libc_res_nquery, + __libc_res_nsearch. + * include/resolv.h (__res_maybe_init, __libc_res_nquery) + (__libc_res_nsearch, __libc_res_nsend): Remove declaration. + (__hostalias, __res_nmkquery, __res_nquery, __res_nquerydomain) + (__res_hostalias, __res_nsearch, __res_nsend): Remove hidden + prototypes. + * nss/nsswitch.h (__nss_hostname_digits_dots_context): Declare. + * nss/digits_dots.c (__nss_hostname_digits_dots_context): Renamed + from __nss_hostname_digits_dots. Use struct resolv_context. + (__nss_hostname_digits_dots): New function. + * nss/getXXbyYY.c [HANDLE_DIGITS_DOTS] (FUNCTION_NAME): Acquire + struct resolv_context object. Call new function + __nss_hostname_digits_dots_context. + * nss/getXXbyYY_r.c (REENTRANT_NAME): Use struct resolv_context. + * nss/getnssent_r.c (__nss_setent): Likewise. + * nscd/aicache.c (addhstaiX): Use struct resolv_context, + __resolv_context_disable_inet6 and __resolv_context_enable_inet6 + instead of direct _res manipulation. + * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Likewise. + +2017-07-03 Florian Weimer + + * resolv/tst-resolv-res_init-skeleton.c + (special_tests_count, special_test_call_res_init) + (special_test_callback, special_test_thread_func) + (run_special_test_on_thread, special_test): Define. + (do_test): call special_test. + (test_init_names): Fix typo. + +2017-07-03 Rajalakshmi Srinivasaraghavan + + * sysdeps/powerpc/powerpc64/power8/strlen.S: Remove unreachable code. + * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise. + +2017-07-01 Florian Weimer + H.J. Lu + + [BZ #21696] + * posix/sched_cpucount.c: Don't include . + (__sched_cpucount): Use __builtin_popcount. + +2017-07-01 Ramana Radhakrishnan + + * sysdeps/unix/sysv/aarch64/cpu-features.c (init_cpu_features): + Fix typo. + +2017-06-30 Gabriel F. T. Gomes + + * include/math.h (__signbitf128): Define as hidden. + * sysdeps/ieee754/float128/s_signbitf128.c (__signbitf128): + Reimplement without builtins. + * sysdeps/ia64/bits/floatn.h [!__GNUC_PREREQ (6, 0)] + (__builtin_signbitf128): Define to __signbitf128. + * sysdeps/powerpc/bits/floatn.h: Likewise. + * sysdeps/x86/bits/floatn.h: Likewise. + +2017-06-30 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/arm/fcntl.c: Remove file. + * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise. + * sysdeps/unix/sysv/linux/hppa/fcntl.c: Likewise. + * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/fcntl.c: Likewise. + * sysdeps/unix/sysv/linux/microblaze/fcntl.c: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/fcntl.c: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: Likewise. + * sysdeps/unix/sysv/linux/sh/fcntl.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: Likewise. + * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Rename to + fcntl_common and add check for F_GETOWN. + (__libc_fcntl): Use SYSCALL_CANCEL macro. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Refactor to + use default implementation. + +2017-06-30 Siddhesh Poyarekar + + * elf/dl-tunables.h (tunable_is_name): Move from... + * elf/dl-tunables.c (is_name): ... here. + (parse_tunables, __tunables_init): Adjust. + * manual/tunables.texi: Document glibc.tune.cpu. + * sysdeps/aarch64/dl-tunables.list: New file. + * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (struct + cpu_list): New type. + (cpu_list): New list of CPU names and their MIDR. + (get_midr_from_mcpu): New function. + (init_cpu_features): Override MIDR if necessary. + + * sysdeps/aarch64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Unconditionally select thunderx + routine for testing. + +2017-06-30 H.J. Lu + + [BZ #21120] + * malloc/malloc-internal.h (MALLOC_ALIGNMENT): Moved to ... + * sysdeps/generic/malloc-alignment.h: Here. New file. + * sysdeps/i386/malloc-alignment.h: Likewise. + * sysdeps/generic/malloc-machine.h: Include . + +2017-06-30 Florian Weimer + + * resolv/tst-resolv-res_init-skeleton.c (test_init_names): New + variable. + (test_file_contents): Use it. + +2017-06-30 Florian Weimer + + * resolv/res_init.c (res_setoptions): Remove source argument. + (res_vinit_1): Adjust. + +2017-06-30 Florian Weimer + + * resolv/res_query.c (DEBUG): Remove preprocessor conditional. + +2017-06-30 Florian Weimer + + * resolv/res_data.c: Reformat to GNU style. + (res_close): Update comments. + +2017-06-30 Florian Weimer + + * resolv/res_data.c (res_query, res_search, res_querydomain) + (hostalias): Move to ... + * resolv/res_Send.c (res_query, res_search, res_querydomain) + (hostalias): here. + +2017-06-30 Florian Weimer + + * resolv/res_data.c (res_isourserver, res_send): Move to ... + * resolv/res_send.c (res_isourserver, res_send): here. + +2017-06-30 Florian Weimer + + * resolv/res_debug.c (_res_opcodes): Rename ... + (res_opcodes): ... as compatibility symbol. + (fp_nquery): Use res_opcodes. + * include/resolv.h (_res_opcodes): Remove declaration. + +2017-06-30 Florian Weimer + + * include/resolv.h (res_pquery): Remove declaration. + * resolv/res_data.c (fp_nquery, fp_query, p_query): Remove + functions. + (_res_opcodes): Remove variable. + * resolv/res_debug.c (do_section): Receive pfcode instead of + statp. + (res_pquery): Rename ... + (fp_nquery): to this function. Skip unnecessary _res + initialization. + (fp_query, p_query, _res_opcodes): Copied from resolv/res_data.c. + +2017-06-30 Florian Weimer + + * resolv/res_debug.h: Remove file. + * resolv/README: Adjust. + +2017-06-30 Florian Weimer + + * resolv/res_end.c (DEBUG): Remove macro and preprocessor + conditionals. + (Aerror, Perror): Remove function definitions. + +2017-06-30 Florian Weimer + + * resolv/res_data.c (res_mkquery): Move ... + * resolv/res_mkquery.c (res_mkquery): to here. + +2017-06-30 Florian Weimer + + * resolv/res_mkquery.c: Reformat to GNU style. + (T_OPT): Remove definition. It is present in the header file. + +2017-06-30 Florian Weimer + + * resolv/res_mkquery.c (DEBUG): Remove macro and preprocessor + conditionals. + +2017-06-30 Florian Weimer + + * support/support_capture_subprocess_check.c + (support_capture_subprocess_check): Report actual exit status. + +2017-06-30 Florian Weimer + + [BZ #19570] + * resolv/res_send.c (nameserver_offset): New function. + (__libc_res_nsend): Use it to implement RES_ROTATE. + (get_nsaddr): Add assert with name server + range check. + * resolv/Makefile (xtests): Add tst-resolv-rotate. + (tst-resolv-rotate): Link against libpthread. + * resolv/tst-resolv-rotate.c: New file. + +2017-06-29 Joseph Myers + + [BZ #21457] + * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (__ctx): New macro. + [__WORDSIZE == 64] (MC_TSTATE): Define only for [__USE_MISC]. + [__WORDSIZE == 64] (MC_PC): Likewise. + [__WORDSIZE == 64] (MC_NPC): Likewise. + [__WORDSIZE == 64] (MC_Y): Likewise. + [__WORDSIZE == 64] (MC_G1): Likewise. + [__WORDSIZE == 64] (MC_G2): Likewise. + [__WORDSIZE == 64] (MC_G3): Likewise. + [__WORDSIZE == 64] (MC_G4): Likewise. + [__WORDSIZE == 64] (MC_G5): Likewise. + [__WORDSIZE == 64] (MC_G6): Likewise. + [__WORDSIZE == 64] (MC_G7): Likewise. + [__WORDSIZE == 64] (MC_O0): Likewise. + [__WORDSIZE == 64] (MC_O1): Likewise. + [__WORDSIZE == 64] (MC_O2): Likewise. + [__WORDSIZE == 64] (MC_O3): Likewise. + [__WORDSIZE == 64] (MC_O4): Likewise. + [__WORDSIZE == 64] (MC_O5): Likewise. + [__WORDSIZE == 64] (MC_O6): Likewise. + [__WORDSIZE == 64] (MC_O7): Likewise. + [__WORDSIZE == 64] (MC_NGREG): Rename to __MC_NGREG and define to + __MC_NGREG if [__USE_MISC]. + [__WORDSIZE == 64] (MC_MAXFPQ): Define only for [__USE_MISC]. + [__WORDSIZE == 64] (mc_gregset_t): Define using __MC_NGREG. + [__WORDSIZE == 64] (struct mc_fq): Rename to struct __mc_fq. + Define fields using __ctx. + [__WORDSIZE == 64] (mc_fpu_t): Remove struct tag. Define fields + using __ctx. + [__WORDSIZE == 64] (mcontext_t): Define fields using __ctx. + (REG_PSR): Define only for [__USE_MISC]. + (REG_PC): Likewise. + (REG_nPC): Likewise. + (REG_Y): Likewise. + (REG_G1): Likewise. + (REG_G2): Likewise. + (REG_G3): Likewise. + (REG_G4): Likewise. + (REG_G5): Likewise. + (REG_G6): Likewise. + (REG_G7): Likewise. + (REG_O0): Likewise. + (REG_O1): Likewise. + (REG_O2): Likewise. + (REG_O3): Likewise. + (REG_O4): Likewise. + (REG_O5): Likewise. + (REG_O6): Likewise. + (REG_O7): Likewise. + [__WORDSIZE == 64] (REG_ASI): Define only for [__USE_MISC]. + [__WORDSIZE == 64] (REG_FPRS): Likewise. + (NGREG): Rename to __NGREG and define to __NGREG if [__USE_MISC]. + (gregset_t): Define using __NGREG. + (SPARC_MAXREGWINDOW): Rename to __SPARC_MAXREGWINDOW and define to + __SPARC_MAXREGWINDOW if [__USE_MISC]. + (struct rwindow): Rename to struct __rwindow. Define fields using + __ctx. + (rw_fp): Define only for [__USE_MISC]. + (rw_rtn): Likewise. + (gwindows_t): Remove struct tag. Define fields using __ctx and + __SPARC_MAXREGWINDOW. + (MAXFPQ): Define only for [__USE_MISC]. + (struct fpq): Rename to struct __fpq. Define fields using __ctx. + (struct fq): Rename to struct __fq. Define fields using __ctx. + (FPU_REGS_TYPE): Define only for [__USE_MISC]. + (FPU_DREGS_TYPE): Likewise. + (V7_FPU_FSR_TYPE): Likewise. + (V9_FPU_FSR_TYPE): Likewise. + (V9_FPU_FPRS_TYPE): Likewise. + [__WORDSIZE == 64] (fpregset_t): Remove struct tag. Define fields + using __ctx. + [__WORDSIZE != 64] (fpregset_t): Likewise. + [__WORDSIZE != 64] (xrs_t): Define fields using __ctx. + [__WORDSIZE != 64] (XRS_ID): Define only for [__USE_MISC]. + [__WORDSIZE != 64] (mcontext_t): Define fields using __ctx. + Rename field filler to __glibc_reserved1. + * sysdeps/unix/sysv/linux/sparc/sparc32/ucontext_i.sym + (MC_FILLER): Remove. + +2017-06-29 Florian Weimer + + * stdio-common/tst-vfprintf-user-type.c (my_printf_function): + Adjust format string. + * stdio-common/Makefile (tst-vfprintf-mbs-prec.out): Add locale + dependency. + +2017-06-29 Adhemerval Zanella + + * sysdeps/posix/spawni.c (__spawni_child): New function. + (__spawni): Rename to __spawnix. + +2017-06-29 Florian Weimer + + * stdio-common/vfprintf.c (group_number): Add front_ptr argument. + Use it to make the temporary copy at the start of the work buffer. + (process_arg): Adjust call to group_number. + +2017-06-29 Florian Weimer + + * stdio-common/vfprintf.c (printf_positional): Use struct + scratch_buffer to allocate backing storage for the args_value, + args_size, args_type arrays. + +2017-06-29 Florian Weimer + + * stdio-common/_i18n_number.h (_i18n_number_rewrite): Use struct + scratch_buffer. + +2017-06-29 Florian Weimer + + * stdio-common/vfprintf.c (WORK_BUFFER_SIZE): Reduce size for + wchar_t builds. + +2017-06-29 Florian Weimer + + * stdio-common/tst-vfprintf-mbs-prec.c: New file. + * stdio-common/Makefile (tests): Add tst-vfprintf-mbs-prec. + +2017-06-29 Florian Weimer + + * stdio-common/tst-vfprintf-user-type.c: New file. + * stdio-common/Makefile (tests): Add tst-vfprintf-user-type. + +2017-06-28 Adhemerval Zanella + + * posix/tst-spawn2.c (do_test): Use libsupport. + * posix/tst-spawn3.c (do_test): Likewise. + +2017-06-28 Joseph Myers + + * math/gen-tgmath-tests.py (Tests.__init__): Define + __STDC_WANT_IEC_60559_TYPES_EXT__ at start of generated file. + + * math/tgmath.h: Include and + . + (__TGMATH_F128): New macro. + (__TGMATH_CF128): Likewise. + (__TGMATH_UNARY_REAL_ONLY): Use __TGMATH_F128. + (__TGMATH_UNARY_REAL_RET_ONLY): Likewise. + (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise. + (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): New macro. + (__TGMATH_BINARY_REAL_ONLY): Use __TGMATH_F128. + (__TGMATH_BINARY_REAL_STD_ONLY): New macro. + (__TGMATH_BINARY_REAL_RET_ONLY): Use __TGMATH_F128. + (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise. + (__TGMATH_TERNARY_REAL_ONLY): Likewise. + (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise. + (__TGMATH_UNARY_REAL_IMAG): Use __TGMATH_CF128. + (__TGMATH_UNARY_IMAG): Use __TGMATH_F128. + (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __TGMATH_CF128. + (__TGMATH_BINARY_REAL_IMAG): Likewise. + (nexttoward): Use __TGMATH_BINARY_FIRST_REAL_STD_ONLY. + [__USE_MISC] (scalb): Use __TGMATH_BINARY_REAL_STD_ONLY. + * math/gen-tgmath-tests.py (Type.init_types): Enable _FloatN and + _FloatNx types if the corresponding HUGE_VAL macros are defined. + + * math/tgmath.h [__USE_GNU] (log10): Use clog10 not __clog10. + * math/gen-tgmath-tests.py (Tests.add_all_tests): Test log10 for + complex arguments. + + [BZ #21687] + * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): New macro. + (totalorder): Use it. + (totalordermag): Likewise. + * math/gen-tgmath-tests.py (Tests.add_all_tests): Enable tests of + totalorder and totalordermag. + * math/test-tgmath.c (F(compile_test)): Do not call totalorder or + totalordermag in arguments of calls to those functions. + (NCALLS): Change to 134. + + * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): Do not take or + cast to return type argument. + (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise. + (lrint): Update call to __TGMATH_UNARY_REAL_RET_ONLY. + (llrint): Likewise. + (lround): Likewise. + (llround): Likewise. + (ilogb): Likewise. + (llogb): Likewise. + (fromfp): Update call to __TGMATH_TERNARY_FIRST_REAL_RET_ONLY. + (ufromfp): Likewise. + (fromfpx): Likewise. + (ufromfpx): Likewise. + + [BZ #21607] + * math/basic-test.c [!NO_LONG_DOUBLE]: Change conditionals to + [LDBL_MANT_DIG > DBL_MANT_DIG]. + * math/bug-nextafter.c [!NO_LONG_DOUBLE]: Remove conditionals. + * math/bug-nexttoward.c [!NO_LONG_DOUBLE]: Likewise. + * math/test-math-isinff.cc [!NO_LONG_DOUBLE]: Likewise. + * math/test-math-iszero.cc [!NO_LONG_DOUBLE]: Likewise. + * math/test-nan-overflow.c [!NO_LONG_DOUBLE]: Likewise. + * math/test-nan-payload.c [!NO_LONG_DOUBLE]: Likewise. + * math/test-nearbyint-except-2.c [!NO_LONG_DOUBLE]: Likewise. + * math/test-nearbyint-except.c [!NO_LONG_DOUBLE]: Likewise. + * math/test-powl.c [!NO_LONG_DOUBLE]: Likewise. + * math/test-signgam-finite-c99.c [!NO_LONG_DOUBLE]: Likewise. + * math/test-signgam-finite.c [!NO_LONG_DOUBLE]: Likewise. + * math/test-signgam-main.c [!NO_LONG_DOUBLE]: Likewise. + * math/test-snan.c [!NO_LONG_DOUBLE]: Likewise. + * math/test-tgmath-ret.c [!NO_LONG_DOUBLE]: Likewise. + * math/test-tgmath.c: Include . + [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG > + DBL_MANT_DIG]. + * math/test-tgmath2.c: Include . + [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG > + DBL_MANT_DIG]. + + * math/gen-tgmath-tests.py: New file. + * math/Makefile [PYTHON] (tests): Add test-tgmath3. + [PYTHON] (generated): Add test-tgmath3.c. + [PYTHON] (CFLAGS-test-tgmath3.c): New variable. + [PYTHON] ($(objpfx)test-tgmath3.c): New rule. + + * configure.ac (AS): Require binutils 2.25 or later. + (LD): Likewise. + * configure: Regenerated. + * sysdeps/s390/configure.ac (AS): Remove version check. + * sysdeps/s390/configure: Regenerated. + * sysdeps/x86_64/configure.ac (AS): Remove version check. + * sysdeps/x86_64/configure: Regenerated. + * manual/install.texi (Tools for Compilation): Document + requirement for binutils 2.25 or later. + * INSTALL: Regenerated. + +2017-06-28 H.J. Lu + + [BZ #14995] + * configure.ac: Allow gold 1.14 or above to configire glibc + * configure: Regenerated. + +2017-06-28 Joseph Myers + + [BZ #21457] + * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (fpregset_t): Remove + struct tag. + * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (fpregset_t): + Likewise. + * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (mcontext_t): + Likewise. + * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (pt_regs): + Declare struct type with __ctx. + [__WORDSIZE != 32] (mcontext_t): Use __ctx with pt_regs struct + tag. + (ucontext_t) [__WORDSIZE == 32]: Use __ctx with pt_regs struct tag + and regs field name. + +2017-06-27 Joseph Myers + + * elf/loadtest.c (OUT): Define using do { } while (0). + + * time/strftime_l.c (DO_NUMBER): Define using do { } while (0). + (DO_NUMBER_SPACEPAD): Likewise. + +2017-06-27 Prakhar Bahuguna + + * sysdeps/arm/armv7/multiarch/Makefile: Add memchr_neon to + sysdep_routines. + * sysdeps/arm/armv7/multiarch/ifunc-impl-list.c: Add define for + __memchr_neon. + Add ifunc definitions for __memchr_neon and __memchr_noneon. + * sysdeps/arm/armv7/multiarch/memchr.S: New file. + * sysdeps/arm/armv7/multiarch/memchr_impl.S: Likewise. + * sysdeps/arm/armv7/multiarch/memchr_neon.S: Likewise. + +2017-06-27 Stefan Liebler + + * sysdeps/s390/utf8-utf16-z9.c (__to_utf8_loop_vx_cu): + Use vector and cu21 instruction. + * sysdeps/s390/multiarch/utf8-utf16-z9.c: + Add __to_utf8_loop_vx_cu in ifunc resolver. + +2017-06-27 Stefan Liebler + + * sysdeps/s390/utf16-utf32-z9.c (__from_utf16_loop_vx_cu): + Use vector and cu24 instruction. + +2017-06-27 Stefan Liebler + + * sysdeps/s390/utf16-utf32-z9.c (__to_utf16_loop_vx_cu): + Use vector and cu42 instruction. + * sysdeps/s390/multiarch/utf16-utf32-z9.c: + Add __to_utf16_loop_vx_cu in ifunc resolver. + +2017-06-27 Stefan Liebler + + * sysdeps/s390/utf8-utf32-z9.c (__to_utf8_loop_vx_cu): + Use vector and cu41 instruction. + * sysdeps/s390/multiarch/utf8-utf32-z9.c: Add __to_utf8_loop_vx_cu + in ifunc resolver. + +2017-06-27 Stefan Liebler + + * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): + Add vxd, vxe, gs flag. + * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXD, HWCAP_S390_VXE, + HWCAP_S390_GS capability. + * sysdeps/unix/sysv/linux/s390/bits/hwcap.h + (HWCAP_S390_VXD, HWCAP_S390_VXE, HWCAP_S390_GS): Define. + +2017-06-27 H.J. Lu + + * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (MEMCMP): Check + the first 32 bytes before checking size when size >= 32 bytes. + Replace vpmovmskb/subl/jnz with vptest/jnc. + +2017-06-27 Stefan Liebler + + * sysdeps/s390/s390-32/tls-macros.h (TLS_IE): Use r12 for GOT address. + * sysdeps/s390/s390-64/tls-macros.h (TLS_IE): Likewise. + +2017-06-27 Florian Weimer + + Work around test timeouts with ICMP rate limiting on localhost. + * resolv/tst-resolv-res_init-skeleton.c (start_dummy_server): New + function. + (do_test): Call it. + +2017-06-27 Florian Weimer + + Call _res_hconf_init from __res_vinit. + * inet/gethstbyad_r.c (NEED__RES_HCONF): Remove. + * inet/gethstbynm2_r.c (NEED__RES_HCONF): Likewise. + (NEED__RES): Define. + * inet/gethstbynm_r.c (NEED__RES_HCONF): Remove. + (NEED__RES): Define. + * nscd/aicache.c (addhstaiX): Remove call to _res_hconf_init. + * nscd/gethstbyad_r.c (NEED__RES_HCONF): Remove. + * nscd/gethstbynm3_r.c (NEED__RES_HCONF): Likewise. + (NEED__RES): Define. + * nss/getXXbyYY_r.c (REENTRANT_NAME): Remove call to + _res_hconf_init. + * resolv/res_hconf.h (_res_hconf_init): Declare as hidden. + * resolv/res_init.c (__res_vinit): Call _res_hconf_init. + * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove call to + _res_hconf_init. + +2017-06-26 Joseph Myers + + * sysdeps/ia64/Implies: Add ieee754/float128. + * sysdeps/ia64/bits/floatn.h: New file. + * sysdeps/ia64/float128-abi.h: Likewise. + * manual/math.texi (Mathematics): Document support for _Float128 + on ia64. + * sysdeps/ia64/Makefile [$(subdir) = math] (CPPFLAGS): Append to + Makefile variable. + * sysdeps/ia64/fpu/e_sqrtf128.c: New file. + * sysdeps/ia64/fpu/k_rem_pio2.c: Remove file. + * sysdeps/ia64/fpu/sfp-machine.h: New file. Based on libgcc. + * sysdeps/ia64/math-tests.h: New file. + * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): Also define + based on TEST_COND_binary128 for [__ia64__]. + * sysdeps/unix/sysv/linux/ia64/libc.abilist: Update. + * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise, + + [BZ #21457] + * sysdeps/arm/sys/ucontext.h (struct ucontext): Rename to struct + ucontext_t. + * sysdeps/generic/sys/ucontext.h (struct ucontext): Likewise. + * sysdeps/i386/sys/ucontext.h (struct ucontext): Likewise. + * sysdeps/m68k/sys/ucontext.h (struct ucontext): Likewise. + * sysdeps/mips/sys/ucontext.h (struct ucontext): Likewise. + * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (struct + ucontext): Likewise. + * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (struct ucontext): + Likewise. + * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (struct ucontext): + Likewise. + * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (struct ucontext): + Likewise. + * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h (struct ucontext): + Likewise. + * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (struct ucontext): + Likewise. + * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (struct ucontext): + Likewise. + * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (struct ucontext): + Likewise. + * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (struct + ucontext): Likewise. + * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (struct ucontext): + Likewise. + * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (struct ucontext): + Likewise. + * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct ucontext): + Likewise. + * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (struct ucontext): + Likewise. + * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (struct ucontext): + Likewise. + * sysdeps/powerpc/powerpc32/backtrace.c (struct + rt_signal_frame_32): Likewise. + * sysdeps/powerpc/powerpc64/backtrace.c (struct signal_frame_64): + Likewise. + * sysdeps/unix/sysv/linux/aarch64/kernel_rt_sigframe.h (struct + kernel_rt_sigframe): Likewise. + * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT): + Likewise. + * sysdeps/unix/sysv/linux/arm/register-dump.h (register_dump): + Likewise. + * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h (SIGCONTEXT): + Likewise. + * sysdeps/unix/sysv/linux/hppa/profil-counter.h + (__profil_counter): Likewise. + * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h + (SIGCONTEXT): Likewise. + * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h (struct + kernel_rt_sigframe): Likewise. + * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h (struct + kernel_rt_sigframe): Likewise. + * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h (SIGCONTEXT): + Likewise. + * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): + Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c + (__start_context): Likewise. + * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h (SIGCONTEXT): + Likewise. + * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump): + Likewise. + * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT): + Likewise. + + * sysdeps/i386/Implies: Add ieee754/float128. + * sysdeps/x86_64/Implies: Likewise. + * sysdeps/x86/bits/floatn.h: New file. + * sysdeps/x86/float128-abi.h: Likewise. + * manual/math.texi (Mathematics): Document support for _Float128 + on x86_64 and x86. + * sysdeps/i386/fpu/fenv_private.h: Include . + (math_opt_barrier): Do not put _Float128 values in floating-point + registers. + (math_force_eval): Likewise. + [__x86_64__] (SET_RESTORE_ROUNDF128): New macro. + * sysdeps/x86/fpu/Makefile [$(subdir) = math] (CPPFLAGS): Append + to Makefile variable. + * sysdeps/x86/fpu/e_sqrtf128.c: New file. + * sysdeps/x86/fpu/sfp-machine.h: Likewise. Based on libgcc. + * sysdeps/x86/math-tests.h: New file. + * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): New macro. + * math/libm-test-getpayload.inc (getpayload_test_data): Use + XFAIL_FLOAT128_PAYLOAD. + * math/libm-test-setpayload.inc (setpayload_test_data): Likewise. + * math/libm-test-totalorder.inc (totalorder_test_data): Likewise. + * math/libm-test-totalordermag.inc (totalordermag_test_data): + Likewise. + * sysdeps/unix/sysv/linux/i386/libc.abilist: Update. + * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Likewise. + * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2017-06-26 Adhemerval Zanella + + [BZ #21512] + * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Call exit + syscall instead of jump to _exit. + (CLONE_VM_BIT): Remove unused define. + (CLONE_VM): Likewise. + (CLONE_THREAD_BIT): Likewise. + (CLONE_THREAD): Likewise. + * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise. + (CLONE_VM): Remove unused define. + * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise. + (CLONE_VM): Remove unused define. + (CLONE_THREAD): Likewise. + * sysdeps/unix/sysv/linux/i386/clone.S (CLONE_VM): Likewise. + * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Call exit + syscall instead of jump to _exit. + * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise. + * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise. + (CLONE_VM): Remove unused define. + (CLONE_THREAD): Likewise. + * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise. + (CLONE_VM): Remove unused define. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): + Likewise. + (CLONE_VM): Remove unused define. + (CLONE_THREAD): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone): + Likewise. + (CLONE_VM): Remove unused define. + (CLONE_THREAD): Likewise. + * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise. + (CLONE_VM): Remove unused define. + * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise. + (CLONE_VM): Remove unused define. + * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise. + * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise. + (CLONE_VM): Remove unused define. + * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-clone3. + * sysdeps/unix/sysv/linux/tst-clone3.c: New file. + +2017-06-26 Paul E. Murphy + Gabriel F. T. Gomes + + * manual/math.texi (Mathematics): Mention the enabling of float128 + for powerpc64le. + * sysdeps/powerpc/bits/floatn.h: New file. + * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated. + * sysdeps/powerpc/fpu/math_private.h: + (__ieee754_sqrtf128): New inline override. + * sysdeps/powerpc/powerpc64le/Implies-before: New file. + * sysdeps/powerpc/powerpc64le/Makefile: New file. + * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: New file. + * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: New file. + * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: + Updated. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: + New file. + +2017-06-26 Gabriel F. T. Gomes + + * sysdeps/powerpc/powerpc64le/configure.ac: Check for POWER8. + * sysdeps/powerpc/powerpc64le/configure: Update. + +2017-06-26 Gabriel F. T. Gomes + Tulio Magno Quites Machado Filho + + * INSTALL: Regenerate. + * manual/install.texi (Recommended Tools for Compilation): Mention + the powerpc64le-specific requirement in the manual. + * sysdeps/powerpc/powerpc64le/configure.ac: New file with checks + for the compiler features required for building float128. + * sysdeps/powerpc/powerpc64le/configure: New, auto-generated file. + +2017-06-26 Tulio Magno Quites Machado Filho + + * malloc/tst-alloc_buffer.c (test_misaligned): Cast to char + before comparing with another char. + +2017-06-25 Rical Jasan + + * manual/math.texi: Fix a grammatical error. + +2017-06-24 Florian Weimer + + [BZ #21295] + * resolv/tst-resolv-basic.c (do_test): Add new test cases. + +2017-06-24 Dmitry Bilunov + + [BZ #21295] + * sysdeps/posix/getaddrinfo.c (convert_hostent_to_gaih_addrtuple): + Append addresses at the end of the list. + +2017-06-23 H.J. Lu + + [BZ #21666] + * misc/regexp.c (loc1): Add __attribute__ ((nocommon)); + (loc2): Likewise. + (locs): Likewise. + +2017-06-23 Florian Weimer + + [BZ #16637] + inet_pton: Reject invalid IPv6 addresses with many leading zeros. + * resolv/inet_pton.c (inet_pton6): Count number of hexadecimal + digits between colons. + * resolv/tst-inet_pton.c (test_cases): Adjust test expectations. + +2017-05-23 Adhemerval Zanella + Juan Manuel Torres Palma + + * include/sched.h (__sched_get_priority_max): Add libc hidden proto. + (__sched_get_prioriry_min): Likewise. + * include/sys/mman.h (__mmap): Likewise. + (__mmap64): Likewise. + (__munmap): Likewise. + (__mprotect): Likewise. + * include/termios.h (__tcsetattr): Likewise. + * include/time.h (__nanosleep): Use hidden_proto instead of + libc_hidden_proto. + * posix/nanosleep.c (__nanosleep): Likewise. + * misc/Versions (libc): Export __mmap, __munmap, __mprotect, + __sched_get_priority_min, and __sched_get_priority_max under + GLIBC_PRIVATE. + * nptl/allocatestack.c (__free_stacks): Use internal definition for + libc symbols. + (change_stack_perm): Likewise. + (change_stack_perm): Likewise. + (allocate_stack): Likewise. + * sysdeps/posix/gethostname.c: Likewise. + * nptl/tpp.c (__init_sched_fifo_prio): Likewise. + * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise. + * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise. + * nptl/pthreadP.h (__pthread_mutex_timedlock): Add definition. + (__pthread_key_delete): Likewise. + (__pthread_detach): Likewise. + (__pthread_cancel): Likewise. + (__pthread_mutex_trylock): Likewise. + (__pthread_mutexattr_init): Likewise. + (__pthread_mutexattr_settype): Likewise. + * nptl/pthread_cancel.c (pthread_cancel): Change to internal name and + create alias for exported one. + * nptl/pthread_join.c (pthread_join): Likewise. + * nptl/pthread_detach.c (pthread_detach): Likewise. + * nptl/pthread_key_delete.c (pthread_key_delete): Likewise. + * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise. + * nptl/pthread_create.c: Change static requirements for pthread + symbols. + * nptl/pthread_equal.c (__pthread_equal): Change strong alias to weak + for internal definition. + * nptl/pthread_exit.c (__pthread_exit): Likewise. + * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise. + * nptl/pthread_key_create.c (__pthread_key_create): Likewise. + * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy): Likewise. + * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise. + * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise. + * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise. + * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock): Likewise. + * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likwise. + * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype): + Likewise. + * nptl/pthread_self.c (__pthread_self): Likewise. + * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise. + * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise. + * misc/mmap.c (__mmap): Add internal symbol definition. + * misc/mmap.c (__mmap64): Likewise. + * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise. + * sysdeps/unix/sysv/linux/mmap64.c (__mmap): Likewise. + (__mmap64): Likewise. + * sysdeps/unix/sysv/linux/i386/Versions (libc) [GLIBC_PRIVATE): + Add __uname. + +2017-06-23 Joseph Myers + + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise. + + * libm-test-support.c (check_float_internal): Clear exceptions at + end of function. + (check_int): Likewise. + (check_long): Likewise. + (check_bool): Likewise. + (check_longlong): Likewise. + (check_intmax_t): Likewise. + (check_uintmax_t): Likewise. + + * sysdeps/x86/fpu/bits/fenv.h [_LIBC] (__feraiseexcept_renamed): + Do not declare. + * sysdeps/x86/fpu/include/bits/fenv.h [_LIBC && + __USE_EXTERN_INLINES] (__feraiseexcept_renamed): Declare here, + redirected to __GI_feraiseexcept if [SHARED && IS_IN (libm)]. + +2017-06-23 H.J. Lu + + * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3): + Replace movzbl and orl with movb. + +2017-06-23 Gabriel F. T. Gomes + + * manual/arith.texi (Infinity and NaN): Document SNANFN and SNANFNx. + (Error Reporting by Mathematical Functions): Document HUGE_VAL_FN + and HUGE_VAL_FNx. + (Absolute Value): Document fabsfN, fabsfNx, cabsfN, cabsfNx. + Rephrase the paragraph that mentions that fabs, fabsf, and fabsl + are in math.h, to avoid having to list the _FloatN and _FloatNx + variants as well. Likewise for the cabs functions. + (Normalization Functions): Document frexpfN, frexpfNx, ldexpfN, + ldexpfNx, scalbnfN, scalbnfNx, scalblnfN, scalblnfNx. + Mention that _FloatN and _FloatNx variants of scalbn and scalbln + come from TS 18661-3, since this section explicitly states that + these functions come from BSD. + (Rounding Functions): Document ceilfN, ceilfNx, floorfN, floorfNx, + truncfN, truncfNx, rintfN, rintfNx, nearbyintfN, nearbyintfNx, + roundfN, roundfNx, roundevenfN, roundevenfNx, lrintfN, lrintfNx, + llrintfN, llrintfNx, lroundfN, lroundfNx, llroundfN, llroundfNx, + fromfpfN, fromfpfNx, ufromfpfN, ufromfpfNx, fromfpxfN, fromfpxfNx, + ufromfpxfN, ufromfpxfNx, modffN, modffNx. + (Remainder Functions): Document fmodfN, fmodfNx, remainderfN, + remainderfNx. + (Setting and modifying single bits of FP values): Document + copysignfN, copysignfNx, nextafterfN, nextafterfNx, nextupfN, + nextupfNx, nextdownfN, nextdownfNx, nanfN, nanfNx, canonicalizefN, + canonicalizefNx, getpayloadfN, getpayloadfNx, setpayloadfN, + setpayloadfNx, setpayloadsigfN, setpayloadsigfNx. + (Floating-Point Comparison Functions): Document totalorderfN, + totalorderfNx, totalordermagfN, totalordermagfNx. + (Miscellaneous FP arithmetic functions): Document fminfN, fminfNx, + fmaxfN, fmaxfNx, fminmagfN, fminmagfNx, fmaxmagfN, fmaxmagfNx, + fdimfN, fdimfNx, fmafN, fmafNx. + (Complex Numbers): Document the complex types: _FloatN complex and + _FloatNx complex. + (rojections, Conjugates, and Decomposing of Complex Numbers): + Document crealfN, crealfNx, cimagfN, cimagfNx, conjfN, conjfNx, + cargfN, cargfNx, cprojfN, cprojfNx. + * manual/math.texi (Mathematics): Mention that the _FloatN and + _FloatNx variants of the math functions come from TS 18661-3, + unless otherwise stated. + (Predefined Mathematical Constants): Document the _FloatN and + _FloatNx variants of the macros prefixed with M_. + (Trigonometric Functions): Document sinfN, sinfNx, cosfN, cosfNx, + tanfN, tanfNx, sincosfN, sincosfNx, csinfN, csinfNx, ccosfN, + ccosfNx, ctanfN, ctanfNx. + (Inverse Trigonometric Functions): Document asinfN, asinfNx, + acosfN, acosfNx, atanfN, atanfNx, atan2fN, atan2fNx. + (Exponentiation and Logarithms): Document expfN, expfNx, exp2fN, + exp2fNx, exp10fN, exp10fNx, logfN, logfNx, log10fN, log10fNx, + log2fN, log2fNx, logbfN, logbfNx, ilogbfN, ilogbfNx, llogbfN, + llogbfNx, powfN, powfNx, sqrtfN, sqrtfNx, cbrtfN, cbrtfNx, hypotfN, + hypotfNx, expm1fN, expm1fNx, log1pfN, log1pfNx, cexpfN, cexpfNx, + clogfN, clogfNx, clog10fN, clog10fNx, csqrtfN, csqrtfNx, cpowfN, + cpowfNx. + (Hyperbolic Functions): sinhfN, sinhfNx, coshfN, coshfNx, tanhfN, + tanhfNx, csinhfN, csinhfNx, ccoshfN, ccoshfNx, ctanhfN, ctanhfNx, + asinhfN, asinhfNx, acoshfN, acoshfNx, atanhfN, atanhfNx, casinhfN, + casinhfNx, cacoshfN, cacoshfNx, catanhfN, catanhfNx. + (Special Functions): Document erffN, erffNx, erfcfN, erfcfNx, + lgammafN, lgammafNx, lgammarfN_r, lgammafNx_r, tgammafN, tgammafNx, + j0fN, j0fNx, j1fN, j1fNx, jnfN, jnfNx, y0fN, y0fNx, y1fN, y1fNx, + ynfN, ynfNx. + +2017-06-23 Florian Weimer + + * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3): Fix typo in comment. + +2017-06-23 Florian Weimer + + * resolv/res_libc.c: Reformat to GNU style. + +2017-06-23 Florian Weimer + + * resolv/resolv-internal.h (__res_initstamp): Declare. + * resolv/res_init.c (__res_initstamp): Remove hidden attribute. + It is implied by the declaration. + * resolv/res_libc.c (__res_initstamp): Remove declaration. + +2017-06-23 Florian Weimer + + [BZ #21662] + * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3): + Use only 24 bits of the register before the subtraction. + * string/test-memcmp.c (check1): Check with different lengths. + +2017-06-23 Gabriel F. T. Gomes + + * sysdeps/ieee754/float128/Makefile (CFLAGS-strfromf128.c): Add + $(libio-mtsafe) to get the value of IO_MTSAFE_IO. + +2017-06-23 Gabriel F. T. Gomes + + * manual/libm-err-tab.pl (@all_floats, %suffices, parse_ulps): + Enable generation of float128 entries on the error table. + +2017-06-23 Gabriel F. T. Gomes + + * include/float.h: Include libc-header-start.h to get the + definition of __GLIBC_USE. + +2017-06-23 Paul A. Clarke + + * sysdeps/ieee754/flt-32/e_powf.c: Optimized implementation utilizing + rearranged code and doubles float types. + +2017-06-23 Rogerio A. Cardoso + + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Change + s_sinf.c from sysdeps/ieee754/flt-32/ to sysdeps/powerpc/fpu/. + +2017-06-23 Paul A. Clarke + + * sysdeps/unix/sysv/linux/powerpc/sysconf.c: Remove references + to errno, and simplify remaining related code. + +2017-06-23 Tulio Magno Quites Machado Filho + + * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_DARN and + PPC_FEATURE2_SCV. + * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add scv + and darn. + +2017-06-23 Rajalakshmi Srinivasaraghavan + + * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S(STRRCHR): Define + the implementation-specific function name and remove unneeded macros + definition. + * sysdeps/powerpc/powerpc64/power8/strrchr.S(STRRCHR): Set a default + function name if not defined and pass as parameter to macros + accordingly. + +2017-06-23 Rajalakshmi Srinivasaraghavan + + * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile + (libm-sysdep_routines): Add s_llroundf-ppc64. + * sysdeps/powerpc/powerpc64/power5+fpu/s_llround.S + (__llroundf): Define as strong alias of __llround. + (llroundf): Define as weak alias of __llround. + (__lroundf): Define as strong alias of __llround. + (lroundf): Define as weak alias of __llround. + * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise. + * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: New file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Likewise. + * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise. + * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise. + * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise. + +2017-06-22 Joseph Myers + + * sysdeps/ieee754/ldbl-96/bits/iscanonical.h + [__HAVE_DISTINCT_FLOAT128] (__iscanonicalf128): New macro. + + * sysdeps/generic/math-tests.h: Include . + (MATH_TESTS_TG): New macro. + (SNAN_TESTS_float128): Likewise. + (ROUNDING_TESTS_float128): Likewise. + (EXCEPTION_TESTS_float128): Likewise. + (SNAN_TESTS): Define using MATH_TESTS_TG. + (ROUNDING_TESTS): Likewise. + (EXCEPTION_TESTS): Likewise. - * sysdeps/ieee754/cabs.c (cabs, z_abs): Use `struct __complex' for arg. + * sysdeps/ieee754/float128/float128_private.h + [SET_RESTORE_ROUNDF128] (SET_RESTORE_ROUNDL): Take an argument and + pass it to SET_RESTORE_ROUNDF128. + + * sysdeps/ieee754/float128/float128_private.h: Include + . + + * sysdeps/generic/math_private.h (__EXPR_FLT128): Do not apply + typeof to argument passed to __builtin_types_compatible_p. + (min_of_type): Pass type argument, not x, to __EXPR_FLT128. + + * math/w_acos_template.c [__USE_WRAPPER_TEMPLATE]: Include + . + * math/w_acosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. + * math/w_asin_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. + * math/w_atanh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. + * math/w_cosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. + * math/w_exp10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. + * math/w_exp2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. + * math/w_exp_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. + * math/w_fmod_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. + * math/w_hypot_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. + * math/w_j0_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. + * math/w_j1_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. + * math/w_jn_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. + * math/w_lgamma_r_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. + * math/w_lgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. + * math/w_log10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. + * math/w_log2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. + * math/w_log_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. + * math/w_pow_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. + * math/w_remainder_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. + * math/w_sinh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. + * math/w_sqrt_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. + * math/w_tgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise. + + * sysdeps/ieee754/float128/strtof128_l.c: Include + instead of . + * sysdeps/ieee754/float128/wcstof128.c: Likewise. + * sysdeps/ieee754/float128/wcstof128_l.c: Likewise. + +2017-06-22 Siddhesh Poyarekar + + * benchtests/scripts/benchout_strings.schema.json: New file. + * benchtests/scripts/compare_strings.py: New file. + + * benchtests/bench-memcpy-large.c: Include json-lib.h. + (do_one_test): Print json. + (do_test): Likewise. + (test_main): Likewise. + * benchtests/bench-memcpy-random.c: Include json-lib.h. + (do_one_test): Print json. + (do_test): Likewise. + (test_main): Likewise. + * benchtests/bench-memcpy.c: Include json-lib.h. + (do_one_test): Print json. + (do_test): Likewise. + (test_main): Likewise. + + * benchtests/json-lib.h: Include inttypes.h. + (json_attr_int, json_attr_int, json_element_string, + json_element_int, json_element_uint): New functions. + * benchtests/json-lib.c: (json_attr_int, json_attr_int, + json_element_string, json_element_int, json_element_uint): New + functions. + +2017-06-22 Gabriel F. T. Gomes + + * manual/arith.texi (Remainder Functions): Describe remainder as + primary and drem as an alternative name. Change the comment on + remainder to ISO, since it is defined in ISO C99. + +2017-06-22 Gabriel F. T. Gomes + + * stdlib/tst-strtod.h (MMFUNC): New macro to provide an addition + macro expansion. + (GEN_TEST_STRTOD_FOREACH): Use MMFUNC for _Float128. + +2017-06-22 Mike FABIAN + + [BZ #21533] + * include/stdc-predef.h (__STDC_ISO_10646__): Update to + 201706L for Unicode 10.0. + +2017-06-21 Benjamin Cama + + [BZ #21657] + * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Permit scopes + on node-local addresses. + * inet/tst-inet6_scopeid_pton.c (do_test): Adjust test. + +2017-06-21 Florian Weimer + + * intl/loadmsgcat.c: Remove alloca support. + (_nl_load_domain): Use calloc instead of alloca. + +2017-04-21 Florian Weimer + + * malloc/Makefile (tests-internal): Add tst-alloc_buffer. + (routines): Add alloc_buffer_alloc_array, alloc_buffer_allocate, + alloc_buffer_copy_bytes, alloc_buffer_copy_string, + alloc_buffer_create_failure. + * malloc/Versions (__libc_alloc_buffer_alloc_array) + (__libc_alloc_buffer_allocate, __libc_alloc_buffer_copy_bytes) + (__libc_alloc_buffer_copy_string) + (__libc_alloc_buffer_create_failure): Export as GLIBC_PRIVATE. + * malloc/alloc_buffer_alloc_array.c: New file. + * malloc/alloc_buffer_allocate.c: Likewise. + * malloc/alloc_buffer_copy_bytes.c: Likewise. + * malloc/alloc_buffer_copy_string.c: Likewise. + * malloc/alloc_buffer_create_failure.c: Likewise. + * malloc/tst-alloc_buffer.c: Likewise. + +2017-06-21 H.J. Lu + + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add + strcmp-sse2, strcmp-sse4_2, strncmp-sse2, strncmp-sse4_2, + strcasecmp_l-sse2, strcasecmp_l-sse4_2, strcasecmp_l-avx, + strncase_l-sse2, strncase_l-sse4_2 and strncase_l-avx. + * sysdeps/x86_64/multiarch/ifunc-strcasecmp.h: New file. + * sysdeps/x86_64/multiarch/strcasecmp.c: Likewise. + * sysdeps/x86_64/multiarch/strcasecmp_l-avx.S: Likewise. + * sysdeps/x86_64/multiarch/strcasecmp_l-sse2.S: Likewise. + * sysdeps/x86_64/multiarch/strcasecmp_l-sse4_2.S: Likewise. + * sysdeps/x86_64/multiarch/strcasecmp_l.c: Likewise. + * sysdeps/x86_64/multiarch/strcmp-sse2.S: Likewise. + * sysdeps/x86_64/multiarch/strcmp-sse4_2.S: Likewise. + * sysdeps/x86_64/multiarch/strcmp.c: Likewise. + * sysdeps/x86_64/multiarch/strncase.c: Likewise. + * sysdeps/x86_64/multiarch/strncase_l-avx.S : Likewise. + * sysdeps/x86_64/multiarch/strncase_l-sse2.S: Likewise. + * sysdeps/x86_64/multiarch/strncase_l-sse4_2.S: Likewise. + * sysdeps/x86_64/multiarch/strncase_l.c: Likewise. + * sysdeps/x86_64/multiarch/strncmp-sse2.S: Likewise. + * sysdeps/x86_64/multiarch/strncmp-sse4_2.S: Likewise. + * sysdeps/x86_64/multiarch/strncmp.c: Likewise. + * sysdeps/x86_64/multiarch/strcasecmp_l.S: Removed. + * sysdeps/x86_64/multiarch/strcmp.S: Likewise. + * sysdeps/x86_64/multiarch/strncase_l.S: Likewise. + * sysdeps/x86_64/multiarch/strncmp.S: Likewise. + * sysdeps/x86_64/multiarch/strcmp-sse42.S: Include . + (STRCMP_SSE42): New. Defined to __strcmp_sse42 if not defined. + [USE_AS_STRCASECMP_L || USE_AS_STRNCASECMP_L]: Include + "locale-defines.h". + (UPDATE_STRNCMP_COUNTER): New. + (SECTION): Likewise. + (GLABEL): Likewise. + (LABEL): Likewise. + * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Rewrite and enable + for libc.a. + +2017-06-21 Joseph Myers + + [BZ #21622] + * sysdeps/unix/sysv/linux/tile/bits/sigaction.h (SA_RESTART): + Define for [__USE_UNIX98 || __USE_XOPEN2K8], not [__USE_UNIX98 || + __USE_MISC]. + (SA_NODEFER): Likewise. + (SA_RESETHAND): Likewise. + +2017-06-21 H.J. Lu + + * elf/dl-tunables.list (glibc.tune.ifunc): Removed. + * sysdeps/x86/dl-tunables.list (glibc.tune.hwcaps): New. + Remove security_level on all fields. + * manual/tunables.texi: Replace ifunc with hwcaps. + * sysdeps/x86/cpu-features.c (TUNABLE_CALLBACK (set_ifunc)): + Renamed to .. + (TUNABLE_CALLBACK (set_hwcaps)): This. + (init_cpu_features): Updated. + * sysdeps/x86/cpu-features.h (cpu_features): Change type of + data_cache_size, data_cache_size and non_temporal_threshold to + unsigned long int. + * sysdeps/x86/cpu-tunables.c (DEFAULT_STRLEN): Removed. + (TUNABLE_CALLBACK (set_ifunc)): Renamed to ... + (TUNABLE_CALLBACK (set_hwcaps)): This. Update comments. Don't + use DEFAULT_STRLEN. + +2017-06-21 Florian Weimer + + * intl/dcigettext.c (DCIGETTEXT): Use getcwd (NULL, 0) and + asprintf to construct an absolute pathname. + +2017-06-21 Adhemerval Zanella + + * misc/tst-preadvwritev2-common.c: New file. + * misc/tst-preadvwritev2.c (do_test): Add test for invalid flag. + * misc/tst-preadvwritev64v2.c (do_test): Likewise. + +2017-06-21 Szabolcs Nagy + + * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add cfi + annotation. + (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise. + +2017-06-21 Szabolcs Nagy + + * sysdeps/aarch64/dl-machine.h (RTLD_START_1): Change _dl_argv to the + hidden __GI__dl_argv symbol. + +2017-06-21 Florian Weimer + + * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_pton_length + to parse addresses with IPv6 scope IDs. + +2017-06-21 Florian Weimer + + Add the __inet_pton_length helper function. + * resolv/resolv-internal.h (__inet_pton_length): Declare. + * resolv/inet_pton (__inet_pton_length): Rename from __inet_pton. + Add length argument. + (__inet_pton): New function. + (inet_pton4): Add length argument. + (hex_digit_value): New function. + (inet_pton6): Add length argument. Call hex_digit_value. Use + memmove and memset to fill :: gap. + * resolv/Makefile (tests, tsts-static, tests-internal): Add + tst-inet_pton. + * resolv/tst-inet_pton.c: New file. + * support/Makefile (libsupport-routines): Add xmprotect. + * support/xunistd.h (xmprotect): Declare. + * support/xmprotect.c: New file. + +2017-06-21 Florian Weimer + + Add IPv6 getaddrinfo coverage to tst-inet6_scopeid_pton.c. + * inet/tst-inet6_scopeid_pton.c: Switch to . + (call_gai, check_ai): New functions. + (expect_failure, expect_success): Use them. Add logging. + +2017-06-21 Rajalakshmi Srinivasaraghavan + + * sysdeps/powerpc/powerpc64/multiarch/Makefile + (sysdep_routines): Add memchr_power8. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (memchr): Add __memchr_power8 to list of memchr functions. + * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/memchr.c + (memchr): Add __memchr_power8 to ifunc list. + * sysdeps/powerpc/powerpc64/power8/memchr.S: New file. + +2017-06-21 Rajalakshmi Srinivasaraghavan + + * sysdeps/powerpc/powerpc64/fpu/s_llrint.S + (__llrintf): Define as strong alias of __llrint. + (llrintf): Define as weak alias of __llrint. + (__lrintf): Define as strong alias of __llrint. + (lrintf): Define as weak alias of __llrint. + * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise. + * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Remove file content. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: New file. + +2017-06-20 Zack Weinberg + + * bits/signum-generic.h: Renamed from bits/signum.h. + Add proper multiple include guard and misuse check. + Define __SIGRTMIN = __SIGRTMAX = 32, and define _NSIG = __SIGRTMAX+1. + Move definition of SIGIO to "archaic names for compatibility" section. + * bits/signum.h: New file which just includes bits/signum-generic.h. + * sysdeps/unix/bsd/bits/signum.h + * sysdeps/unix/sysv/linux/bits/signum.h + * sysdeps/unix/sysv/linux/alpha/bits/signum.h + * sysdeps/unix/sysv/linux/hppa/bits/signum.h + * sysdeps/unix/sysv/linux/mips/bits/signum.h + * sysdeps/unix/sysv/linux/sparc/bits/signum.h + Just include and then add or adjust + signal constants. Do not define SIGUNUSED, SIGRTMIN, or SIGRTMAX. + + * signal/Makefile: Install bits/signum-generic.h. + * signal/signal.h: Define SIGRTMIN and SIGRTMAX here. + + * sysdeps/generic/siglist.h: SIGSYS and SIGWINCH are + universal. Prefer SIGPOLL to SIGIO. Simplify #ifdeffage. + + * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: New test. + * sysdeps/unix/sysv/linux/Makefile: Run it. + +2017-06-20 Zack Weinberg + + * locale/xlocale.h: Rename to... + * locale/bits/types/__locale_t.h: ...here. Adjust commentary. + Only define struct __locale_struct and __locale_t, not locale_t. + * locale/bits/types/locale_t.h: New file; define locale_t here. + * locale/Makefile (headers): Update to match. + + * include/xlocale.h: Delete wrapper. + * include/bits/types/__locale_t.h: New wrapper. + * include/bits/types/locale_t.h: New wrapper. + + * ctype/ctype.h, include/printf.h, include/time.h + * locale/langinfo.h, locale/locale.h, stdlib/monetary.h + * stdlib/stdlib.h, string/string.h, string/strings.h, time/time.h + * wcsmbs/wchar.h, wctype/wctype.h: Use bits/types/locale_t.h. + Correct outdated comments regarding the standardization status of + the functions that take locale_t arguments. + + * stdlib/strtod_l.c, stdlib/strtof_l.c, stdlib/strtol_l.c + * stdlib/strtold_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c + * sysdeps/ieee754/ldbl-128ibm/strtold_l.c + * sysdeps/ieee754/ldbl-64-128/strtold_l.c + * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c + * wcsmbs/wcstof_l.c, wcsmbs/wcstold.c, wcsmbs/wcstold_l.c: + Don't include xlocale.h. If necessary, include locale.h instead. + + * stdlib/strtold_l.c: Unconditionally include wchar.h. + + * ctype/ctype-c99_l.c, ctype/ctype.h, ctype/ctype_l.c + * include/monetary.h, include/stdlib.h, include/time.h + * include/wchar.h, locale/duplocale.c, locale/freelocale.c + * locale/global-locale.c, locale/langinfo.h, locale/locale.h + * locale/localeinfo.h, locale/newlocale.c + * locale/nl_langinfo_l.c, locale/uselocale.c + * localedata/bug-usesetlocale.c, localedata/tst-xlocale2.c + * stdio-common/vfscanf.c, stdlib/monetary.h, stdlib/stdlib.h + * stdlib/strfmon_l.c, stdlib/strtod_l.c, stdlib/strtof_l.c + * stdlib/strtol.c, stdlib/strtol_l.c, stdlib/strtold_l.c + * stdlib/strtoll_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c + * string/strcasecmp.c, string/strcoll_l.c, string/string.h + * string/strings.h, string/strncase.c, string/strxfrm_l.c + * sysdeps/ieee754/float128/strtof128_l.c + * sysdeps/ieee754/float128/wcstof128.c + * sysdeps/ieee754/float128/wcstof128_l.c + * sysdeps/ieee754/ldbl-128ibm/strtold_l.c + * sysdeps/ieee754/ldbl-64-128/strtold_l.c + * sysdeps/ieee754/ldbl-opt/nldbl-compat.c + * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c + * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c + * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c + * sysdeps/powerpc/powerpc32/power7/strcasecmp.S + * sysdeps/powerpc/powerpc64/power7/strcasecmp.S + * sysdeps/x86_64/strcasecmp_l-nonascii.c + * sysdeps/x86_64/strncase_l-nonascii.c, time/strftime_l.c + * time/strptime_l.c, time/time.h, wcsmbs/mbsrtowcs_l.c + * wcsmbs/wchar.h, wcsmbs/wcscasecmp.c, wcsmbs/wcsncase.c + * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c + * wcsmbs/wcstof_l.c, wcsmbs/wcstol_l.c, wcsmbs/wcstold.c + * wcsmbs/wcstold_l.c, wcsmbs/wcstoll_l.c, wcsmbs/wcstoul_l.c + * wcsmbs/wcstoull_l.c, wctype/iswctype_l.c + * wctype/towctrans_l.c, wctype/wcfuncs_l.c + * wctype/wctrans_l.c, wctype/wctype.h, wctype/wctype_l.c: + Change all uses of __locale_t to locale_t. + +2017-06-20 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Build only + for !__OFF_T_MATCHES_OFF64_T. + * sysdeps/unix/sysv/linux/openat64.c (__libc_openat64): New + implementation based on open64. + * sysdeps/unix/sysv/linux/wordsize-64/openat.c: Remove file. + * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: Likewise. + +2017-06-20 H.J. Lu + + * elf/dl-tunables.list: Move x86 specific tunables to ... + * sysdeps/x86/dl-tunables.list: Here. New file. + +2017-06-20 Joseph Myers + + [BZ #21635] + * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile + [$(subdir) = conform] (conformtest-xfail-conds): New variable. + * conform/data/signal.h-data (uc_mcontext): XFAIL for + powerpc32-linux. + * conform/data/ucontext.h-data (uc_mcontext): Likewise. + + [BZ #21634] + * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = conform] + (conformtest-xfail-conds): New variable. + * conform/data/signal.h-data (uc_sigmask): XFAIL for ia64-linux. + * conform/data/ucontext.h-data (uc_sigmask): Likewise. + +2017-06-20 Wilco Dijkstra + + * benchtests/powf-inputs: Add reduced trace from wrf. + +2017-06-20 H.J. Lu + Erich Elsen + + * elf/dl-tunables.list (tune): Add ifunc, + x86_non_temporal_threshold, + x86_data_cache_size and x86_shared_cache_size. + * manual/tunables.texi: Document glibc.tune.ifunc, + glibc.tune.x86_data_cache_size, glibc.tune.x86_shared_cache_size + and glibc.tune.x86_non_temporal_threshold. + * sysdeps/unix/sysv/linux/x86/dl-sysdep.c: New file. + * sysdeps/x86/cpu-tunables.c: Likewise. + * sysdeps/x86/cacheinfo.c + (init_cacheinfo): Check and get data cache size, shared cache + size and non temporal threshold from cpu_features. + * sysdeps/x86/cpu-features.c [HAVE_TUNABLES] (TUNABLE_NAMESPACE): + New. + [HAVE_TUNABLES] Include . + [HAVE_TUNABLES] Include . + [HAVE_TUNABLES] (TUNABLE_CALLBACK (set_ifunc)): Likewise. + [HAVE_TUNABLES] (init_cpu_features): Use TUNABLE_GET to set + IFUNC selection, data cache size, shared cache size and non + temporal threshold. + * sysdeps/x86/cpu-features.h (cpu_features): Add data_cache_size, + shared_cache_size and non_temporal_threshold. + +2017-06-20 Wilco Dijkstra + + * benchtests/README: Describe workload feature. + * benchtests/bench-skeleton.c (main): Add support for + benchmarking traces from workloads. + +2017-06-20 Zack Weinberg + + * string/string.h (__mempcpy_inline): Delete. + * sysdeps/x86_64/multiarch/mempcpy.c + * sysdeps/x86_64/multiarch/stpcpy.c: + Define NO_MEMPCPY_STPCPY_REDIRECT and __NO_STRING_INLINES + before including string.h. + +2017-06-20 Paul A. Clarke + + * benchtests/Makefile (bench-math): Add powf. + * benchtests/powf-inputs: New file. + +2017-06-20 Zack Weinberg + + * bits/string.h, string/bits/string.h + * sysdeps/aarch64/bits/string.h + * sysdeps/m68k/m680x0/m68020/bits/string.h + * sysdeps/s390/bits/string.h, sysdeps/sparc/bits/string.h + * sysdeps/x86/bits/string.h: Delete file. + + * string/string.h: Don't include bits/string.h. + * string/bits/string3.h: Rename to bits/string_fortified.h. + No need to undef various symbols that the removed headers + might have defined as macros. + * string/Makefile (headers): Remove bits/string.h, change + bits/string3.h to bits/string_fortified.h. + * string/string-inlines.c: Update commentary. Remove definitions + of various macros that nothing looks at anymore. Don't directly + include bits/string.h. Set _STRING_INLINE_unaligned here, based on + compiler-predefined macros. + * string/strncat.c: If STRNCAT is not defined, or STRNCAT_PRIMARY + _is_ defined, provide internal hidden alias __strncat. + * include/string.h: Declare internal hidden alias __strncat. + Only forward __stpcpy to __builtin_stpcpy if __NO_STRING_INLINES is + not defined. + * include/bits/string3.h: Rename to bits/string_fortified.h, + update to match above. + + * sysdeps/i386/string-inlines.c: Define compat symbols for + everything formerly defined by sysdeps/x86/bits/string.h. + Make existing definitions into compat symbols as well. + Remove some no-longer-necessary messing around with macros. + + * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c + * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c + * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c + * sysdeps/s390/multiarch/mempcpy.c + No need to define _HAVE_STRING_ARCH_mempcpy. + Do define __NO_STRING_INLINES and NO_MEMPCPY_STPCPY_REDIRECT. + + * sysdeps/i386/i686/multiarch/strncat-c.c + * sysdeps/s390/multiarch/strncat-c.c + * sysdeps/x86_64/multiarch/strncat-c.c + Define STRNCAT_PRIMARY. Don't change definition of libc_hidden_def. + +2017-06-20 Rical Jasan + + * manual/lang.texi (LDBL_MANT_DIG): Add annotation. + (LDBL_DIG): Likewise. + (LDBL_MIN_EXP): Likewise. + (LDBL_MIN_10_EXP): Likewise. + (LDBL_MAX_EXP): Likewise. + (LDBL_MAX_10_EXP): Likewise. + (LDBL_MAX): Likewise. + (LDBL_MIN): Likewise. + (LDBL_EPSILON): Likewise. + (FLT_ROUNDS): Change standard from ISO to C90. + (FLT_RADIX): Likewise. + (FLT_MANT_DIG, DBL_MANT_DIG): Likewise. + (FLT_DIG, DBL_DIG): Likewise. + (FLT_MIN_EXP, DBL_MIN_EXP): Likewise. + (FLT_MIN_10_EXP, DBL_MIN_10_EXP): Likewise. + (FLT_MAX_EXP, DBL_MAX_EXP): Likewise. + (FLT_MAX_10_EXP, DBL_MAX_10_EXP): Likewise. + (FLT_MAX, DBL_MAX): Likewise. + (FLT_MIN, DBL_MIN): Likewise. + (FLT_EPSILON, DBL_EPSILON): Likewise. + +2017-06-19 Joseph Myers + + * sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove. + [__GNUC_PREREQ (4, 8) || __mips16]: Make code unconditional. + [!__GNUC_PREREQ (4, 8) && !__mips16]: Remove conditional code. + * sysdeps/mips/math-tests.h + [_MIPS_SIM != _ABIO32 && !__GNUC_PREREQ (4, 9)]: Remove + conditional code. + +2017-06-19 Florian Weimer + + * intl/dcigettext.c (DCIGETTEXT): Do not make copy of localename. + It cannot change while __libc_setlocale_lock is acquired. + +2017-06-19 Florian Weimer + + * elf/rtld.c (audit_list_string): New variable. + (audit_list): Update comment. + (struct audit_list_iter): Define. + (audit_list_iter_init, audit_list_iter_next): New function. + (dl_main): Use struct audit_list_iter to process audit modules. + (process_dl_audit): Call dso_name_valid_for_suid. + (process_envvars): Set audit_list_string instead of calling + process_dl_audit. + +2017-06-19 Florian Weimer + + * elf/rtld.c (SECURE_NAME_LIMIT, SECURE_PATH_LIMIT): Define. + (dso_name_valid_for_suid): New function. + (handle_ld_preload): Likewise. + (dl_main): Call it. Remove alloca. + +2017-06-19 Joseph Myers + + [BZ #21625] + * posix/sys/wait.h (strust rusage forward declaration): Change + [__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED && + !__USE_XOPEN2K]. + (wait3): Likewise. + + * configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later. + * configure: Regenerated. + * manual/install.texi (Tools for Compilation): Document + requirement for GCC 4.9 or later. + * INSTALL: Regenerated. + +2017-06-19 Florian Weimer + + [BZ #21624] + CVE-2017-1000366 + * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for + __libc_enable_secure. + +2017-06-19 Stefan Liebler + + [BZ #21539] + * NEWS: Mention s390 ptrace request changes. + * sysdeps/unix/sysv/linux/s390/sys/ptrace.h + (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, + PTRACE_SETFPREGS): Remove enum constant. + (PT_GETREGS, PT_SETREGS, PT_GETFPREGS, T_SETFPREGS): + Remove defines. + (PTRACE_SINGLEBLOCK): New enum constant. + (PT_STEPBLOCK): New define. + (PTRACE_PEEKUSR_AREA, PTRACE_POKEUSR_AREA, + PTRACE_GET_LAST_BREAK, PTRACE_ENABLE_TE, PTRACE_DISABLE_TE, + PTRACE_TE_ABORT_RAND): New enum constant and define. + * sysdeps/s390/fpu/fesetenv.c: Remove ptrace.h includes. + * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c: + New file. + * sysdeps/unix/sysv/linux/s390/Makefile: Add test. + +2017-06-16 Florian Weimer + + * resolv/res_init.c (res_vinit_1): Use getline to read from the + configuration file. + (__res_vinit): Adjust. + +2017-06-19 Florian Weimer + + * resolv/res_init.c (res_vinit_1): New function. + (__res_vinit): Call it. Handle file open and memory allocation + failures. + * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Propagate + erno from __res_maybe_init failure. + (_nss_dns_gethostbyname4_r): Likewise. + (_nss_dns_gethostbyaddr2_r): Likewise. + * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise. + (_nss_dns_getnetbyaddr_r): Likewise. + +2017-06-19 Florian Weimer + + * resolv/res_init.c: Reformat to GNU style. - * sysdeps/generic/pow.c: #include . +2017-06-19 Florian Weimer - * sysdeps/generic/mathimpl.c: #include before frobnication. + * resolv/res_init.c (sort_mask_chars, ISSORTMASK): Remove. + (is_sort_mask): New function. + (__res_vinit): Use it. - * misc/getusersh.c (okshells): Make const. - (initshells): Properly declare static. +2017-06-19 Florian Weimer - * sysdeps/unix/bsd/__tcgetatr.c: Cast sg_[io]speed to (unsigned char) - to avoid gcc warnings. + * resolv/res_init.c (res_setoptions): Remove DEBUG preprocessor + conditionals. - * math/bsd/common/atan2.c, math/bsd/common/tan.c, - math/bsd/common/sincos.c, math/bsd/common/trig.h, - math/bsd/common_source/__expm1.c, math/bsd/common_source/fmod.c, - math/bsd/common_source/acosh.c, math/bsd/common_source/log.c, - math/bsd/common_source/asincos.c, math/bsd/common_source/asinh.c, - math/bsd/common_source/log1p.c, math/bsd/common_source/atan.c, - math/bsd/common_source/log__L.c, math/bsd/common_source/atanh.c, - math/bsd/common_source/mathimpl.h, math/bsd/common_source/cosh.c, - math/bsd/common_source/exp.c, math/bsd/common_source/sinh.c, - math/bsd/common_source/exp__E.c, math/bsd/common_source/tanh.c, - math/bsd/common_source/floor.c: Moved to sysdeps/generic. - * math/bsd/ieee/{cabs,cbrt,support}.c: Moved to sysdeps/ieee754. - * All above + sysdeps/generic/mathimpl.h, sysdeps/generic/pow.c: New - code from 4.4/net2. +2017-06-19 Florian Weimer - * sysdeps/generic/ffs.c: #include , not . + * resolv/res-close.c: New file. + * resolv/res_init.c (__res_iclose, res_nclose) + (res_thread_freeres): Remove definitions. + * resolv/Makefile (routines): Add res-close. - * posix/glob/Makefile.in (Makefile): Depend on config.status; invoke - it directly instead of using $(SHELL). +2017-06-19 Florian Weimer - * posix/glob.c [! USG]: #include before . - -Tue Jul 28 17:54:23 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/unix/bsd/ultrix42: Renamed to ultrix4. - - * sysdeps/unix/sysv/isc2.2/__rename.S: New. - * configure (isc*): base_os=unix/sysv. - - * Makefile, Makerules, Rules, math/Makefile, ctype/Makefile: Use - "export foo := $(foo)" instead of ifdef have_export_directive. - * Makeconfig (have_export_directive): Remove; move .NOEXPORT down. - -Mon Jul 27 18:01:30 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * configure: Remove redundant test to set os_used. - -Sun Jul 26 17:03:31 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * README.template: Don't mention Q+A. - * Makefile (distribute): Remove Q+A. - - * Makefile, Makerules, Rules, math/Makefile, ctype/Makefile: Put - "ifdef have_export_directive" around uses of `export' directive. - They are only needed for dist and tags anyway. - * Makeconfig (have_export_directive): Add commented-out defn, and - comment to explain. - (.NOEXPORT): Add special target for old versions of GNU make. - - * posix/glob.c [_AIX]: #pragma alloca first thing. - [ANSI_STRING]: Remove #define's for index et al. - -Thu Jul 23 21:49:53 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * misc/getpass.c: New. - * posix/unistd.h (getpass): Declare. - - * posix/unistd.h (getusershell, setusershell, endusershell): Declare. - * misc/Makefile (routines): Add getusersh. - * misc/getusersh.c: New. - -Tue Jul 14 20:03:57 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * stdlib/Makefile (tests): Add testdiv. - * stdlib/testdiv.c: New. - - * sysdeps/unix/sysv/i386/linux/{rename,__mkdir,__rmdir,__dup2, - getpgrp,__setpgrp,setsid}.S: New files. - - * sysdeps/unix/__getppid.S: If SYS_getppid is defined, use it rather - than alternate value of getpid. - * __gete[ug]id.S: Similar. - - * sysdeps/unix/sysv/i386/linux/__waitpid.S: New file. - * sysdeps/unix/sysv/i386/linux/__wait.S: New file. - * sysdeps/posix/__wait3.c: New file. - - * sysdeps/unix/sysv/i386/linux/socket.S: New file. - * bind.S, connect.S, listen.S, accept.S, getsockname.S, - getpeername.S, socketpair.S: Also new (and trivial). - -Mon Jul 13 17:41:46 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * sysdeps/unix/sysv/i386/linux/sysdep.[hS]: New files. - - * configure (linux*): base_os=unix/sysv - (gnu*, linux*): Always set --with-gnu-ld and --with-gnu-as. - - * stdio/obstream.c: #include - (obstack_vprintf): Use bzero rather than memset. - - * stdio/glue.c (unix_FILE.glue): Add two members, which will overlap - get_limit and put_limit in GNU stdio. - (_iob): Initialize them to same as `streamp'. - -Thu Jul 9 21:27:39 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * stdio/stdio.h (open_obstack_stream, obstack_printf, - obstack_vprintf): Declare. - - * posix/glob.c [STDC_STRINGS]: Don't test this. - [! ANSI_STRING]: Put memcpy, strrchr, memset defns here instead. - - * posix/glob/Makefile.in (glob.o, fnmatch.o): / after $(srcdir). - -Tue Jul 7 03:11:23 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * stdio/Makefile (routines): Add obstream. - - * Makerules (%.o: %.S, %.o: %.c): If using gcc, put the file name - before the options on the command line. - - * malloc/Makefile (dist-routines): Define with routines for malloc.tar. - (routines): Define with that plus the rest. - (nodist): Remove. - (routines): Add obstack. - (headers): Add obstack.h. - (obstack.%): New rule. - - * stdio/glue.c: Add comments. - - * stdio/printf.h (struct printf_info.spec): Make unsigned char. - - * stdio/stdio.h (__validfp): Fixed glued-stream snarfing. - -Mon Jul 6 20:00:47 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/i386/jmp_buf.h: Deansideclized. - - * sysdeps/posix/Makefile (objdir-CPPFLAGS): Define; if in parent - dir, add ..s to -Is. - (mk-stdiolim): Use it in place of $(CPPFLAGS). - -Sat Jul 4 20:44:42 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * posix/glob/Makefile.in (glob.o, fnmatch.o): Put $(srcdir) on deps. - -Wed Jul 1 00:13:40 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/generic/strstr.c: If NEEDLE is "", return end of HAYSTACK. - - * string/tester.c (main): Remove decls of sys_nerr and sys_errlist. - - * configure: Accept --prefix=*, --exec_prefix=* options. - Set values in config.make and config.status. - - * io/umask.c: Fixed return type in fn alias. - - * posix/glob.c [! ANSI_STRING]: #define strcoll to strcmp. - Remove extra decls of free, qsort, malloc, and realloc. - - * dirent/alphasort.c: #include , and not . - - * sysdeps/unix/bsd/i386/__wait3.S: Load SYS_wait into %eax before - trapping. Use literal .byte instead of lcall to avoid gas bug. - Use 0(REG), not (REG), for register-indirect addressing. - - * configure: Make config.status executable. - -Tue Jun 30 21:14:53 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * configure: Add --os-release=* and --os-version=* options. Record - settings (which might be automagically guessed) in config.status. - - * misc/mknod.c: Use __mode_t for arg in fn alias. - - * posix/unistd.h (setregid): Declare to take __gid_t args. - - * sysdeps/unix/bsd/i386/__wait3.S: Don't use lcall insn gas barfs on. - - * posix/vfork.c: Move to sysdeps/generic/. - - * Rules (others, tests): Export them. - - * io/umask.c, io/mkdir.c, io/chmod.c: Use mode_t not int in arg decls. - - * sysdeps/i386/ffs.c: #include , not . - - * stdio/vfscanf.c: Use function_alias. - - * stdio/vsscanf.c: Use va_list, not PTR, in arg decl in fn alias. - - * sysdeps/unix/i386/sysdep.h (PSEUDO): Enough backslashes and - semicolons. - - * stdio/stdio.h: For __gnuc_va_list, #test __GNUC_VA_LIST, not - __va_list_defined. - - * stdio/fmemopen.c: Use memchr to find NUL for append mode. - - * stdio/memstream.c (enlarge_buffer): Double the buffer size, rather - than adding 100. Don't clobber *INFO->bufsize when called with the - put limit reset. If the target has been set, extend and zero-fill - the buffer. - (seek): New function. - (open_memstream): Use it for seek io fn. Call fmemopen with "w+" mode. - -Sun Jun 28 19:01:01 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * stdio/fseek.c: Fail with EINVAL for a negative file pos. - -Fri Jun 26 00:07:53 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * Makeconfig (stdarg.h): New variable. - * Makefile (headers): Add $(stdarg.h). - - * stdio/stdio.h: Change __va_list to __gnuc_va_list in decls. - - * sysdeps/unix/morecore.c: Include malloc.h #ifndef _MALLOC_INTERNAL. - Don't include . - (NULL): Define to 0 if not defined. - - * sysdeps/i386/bzero.c: Include string.h, not bstring.h. - -Thu Jun 25 21:01:40 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * stdio/perror.c, string/strerror.c (_sys_errlist, _sys_nerr): Don't - declare #ifndef HAVE_GNU_LD. - - * stdio/fwrite.c: Cast arg to write io func to const char * (from uns). - - * sysdeps/unix/Makefile: If syscall.h doesn't exist in - $(sysincludedir), look for sys/syscall.h and create $(objpfx)syscall.h - to #include it. - - * sysdeps/unix/morecore.c (__default_morecore): Deansideclized. - * malloc/*.c: Only #include #ifndef _MALLOC_INTERNAL. - -Wed Jun 24 19:09:04 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/unix/snarf-ioctls: Avoid looking at a few particular - headers which tend to mislead us. - - * Makefile (distribute): Add COPYING. - - * configure (Makefile): When invoking make in srcdir, set ARCH - rather than objdir on the cmd line. - - * posix/glob.c [DIRENT] (direct): Don't define to dirent. - [! DIRENT] (direct): Define to dirent. - - * Make-dist [!subdir] (+tsrcs): Don't include $(distribute). It was - already included above. - -Mon Jun 22 16:58:34 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * Makerules (sysdep_routines): Export it. - -Wed Jun 17 17:58:05 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * posix/glob.c (my_realloc): Test only __GNU_LIBRARY__. Can't trust - STDC_HEADERS. - -Tue Jun 16 20:20:01 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * resource/sys/resource.h (enum __rlimit_resource): Added MEMLOCK, - NPROC, OFILE. - - * posix/Makefile (glob.tar): Include Makefile.in & configure, and not - Makefile. - (glob/configure): New rule. - - * posix/glob/Makefile: Moved to posix/glob/Makefile.in. - (VPATH, srcdir, CPPFLAGS): Define to be replaced by autoconf. - - * posix/glob.c: Rearranged conditionals for use with autoconf. - -Thu Jun 11 15:47:43 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * sysdeps/unix/bsd/sun/sparc/start.c: Added alias for start -> __start. - -Tue Jun 9 20:15:12 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * sysdeps/posix/rename.c: Return failure and don't remove the old - link if the link failed with other than EEXIST. - - * posix/glob/Makefile: Fixed copyright notice. - (realclean): Don't remove ~ backup files. - -Thu Jun 4 16:41:56 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * time/Makefile (install-data): Don't include zoneinfo/. - Makerules already makes sure the necessary directories exist. - - * setjmp/setjmp.h (sigsetjmp) [__GNUC__]: Use typeof hackery to - construct the type of the temporary var for the arg. - (_setjmp) [__FAVOR_BSD]: Make same as setjmp. - - * malloc/malloc.h (mtrace): Declare. - - * malloc/malloc.h, malloc/calloc.c, malloc/free.c, malloc/malloc.c, - malloc/mcheck.c, malloc/memalign.c, malloc/mstats.c, - malloc/mtrace.c, malloc/realloc.c, malloc/valloc.c: Deansideclized; - changed copyright notices to be independent of libc. - * malloc/Makefile (glob/%.c, glob/%.h): Don't need to ansideclificate. - - * io/ftw.h, io/ftw.c: New. - * io/Makefile (headers): Added ftw.h. - (routines): Added ftw. - -Tue Jun 2 21:49:22 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * sysdeps/unix/bsd/signum.h (SIG_ERR, SIG_DFL, SIG_IGN): Use - __sighandler_t. - - * posix/glob.c (__ptr_t): Define. - -Thu May 28 06:57:14 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * sysdeps/m68k/jmp_buf.h: Don't use PTR. - -Wed May 27 18:09:40 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * posix/{glob,fnmatch}.[ch]: Deansideclized; changed copyright - notice to be independent of libc. - * posix/Makefile (glob/%.c, glob/%.h): Don't need to ansideclificate. - - * posix/unistd.h (_SC_2_FORT_RUN, _SC_2_LOCALDEF): Define. - - * posix/unistd.h: Define _POSIX2_* without #ifdef __USE_POSIX2. - - * posix/unistd.h (_POSIX2_FORT_DEV): Removed. - - * posix/fnmatch.h (FNM_FILE_NAME): Alias for FNM_PATHNAME. - -Tue May 26 00:39:39 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * time/Makefile (install-data): Include zoneinfo/, so the directory - gets made. - - * Makeconfig (+gcc-nowarn): Define to -w if using gcc. - * time/Makefile (tz-cc): Use it to suppress warnings for grody code. - - * posix/Makefile (libposix.a), math/Makefile (libm.a): Make archive - containing /dev/null instead of nothing; ar won't create an empty - archive. - - * Makerules (%/): Added generic mkdir rule. - - * posix/Makefile (install-lib): Define to libposix.a. - (libposix.a): Create empty archive. - - * posix/Makefile (distribute): Added utsnamelen.h. - - * ctype/ctype.c (tolower, toupper): If the arg doesn't fit in a - char, return it unchanged. - * ctype/ctype.h (tolower, toupper): Don't define as macros. - [__GNUC__]: Define as extern inline functions. - - * sysdeps/unix/bsd/sun/sunos4/utsnamelen.h, - sysdeps/unix/bsd/sun/sunos4/uname.S: New. - - * configure: Only do hacking to snarf uname info if the config uses - the generic uname implementation. - - * Makeconfig (+defines): Define to include $(gnu_ld), rather than - -DHAVE_GNU_LD. - * configure: Write config.make with gnu_ld/gnu_as defns. - - * sysdeps/unix/bsd/sun/sunos411: Renamed back to .../sunos4. - * sysdeps/unix/bsd/bsd44: Renamed to .../bsd4.4. - - * Makeconfig: include $(objpfx)configparms instead of - $(objdir)/Makeconfig. - Define objpfx as soon as objdir is defined, so we can use it. - - * sysdeps/generic/uname.c: Use UNAME_* from config-name.h. - -Mon May 25 19:33:07 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * configure: Accept all standard GNU configure options. - Expect to be run in object directory, and find source directory - elsewhere. - Write config.status as a shell script that can be run to recreate - the configuration. - Grok os names containing dots by trying each successively - less-precise substring. - Write Sysnames and config-name.h in current directory. - Write #define's for uname sysname, release, version, and machine - elts in config-name.h. Hackery to intuit release and version info. - - * stdio/vsnprintf.c, stdio/vsprintf.c, stdio/vasprintf.c, - stdio/vdprintf.c, stdio/vfscanf.c, stdio/vscanf.c, - stdio/__vsscanf.c: Take arg list as va_list, not PTR. - - * stdio/stdio.h: Replaced #include with magic. - Properly use __va_list in prototypes. - - * Makeconfig (exec_prefix): Define. - (libdir, includedir, bindir): Use it. - - * sysdeps/unix/sysv/Makefile [subdir==io] (sysdep-routines): Removed - __utssys. - * sysdeps/unix/sysv/Dist: Removed __utssys.S. - * sysdeps/unix/sysv/__utssys.S, sysdeps/unix/sysv/uname.c: Removed. - * sysdeps/unix/sysv/uname.S, sysdeps/unix/sysv/utsnamelen.h: New. - - * posix/sys/utsname.h (_UTSNAME_LENGTH): Don't define; instead, - #include to define it. - * sysdeps/generic/utsnamelen.h: New. - -Sun May 24 00:07:45 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * sysdeps/generic/inet-cvt.h: Deansideclized. - - * string/string.h (memfrob): First arg is __ptr_t, not char *. - - * misc/sys/cdefs.h (__ptr_t): Made #define rather than a typedef. - -Fri May 22 01:52:04 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * Makefile, Rules, Makerules: Remove all rules for ansideclificating - headers. - - * posix/glob.h, posix/fnmatch.h: Use explicit cruft for C++. - Define __P and const for C++/ANSI vs old C ourselves, to avoid - dependence on . - - * inet/Makefile: Remove cruft to snarf things from bsd/. - * inet/bsd/*.c: Moved to inet/. - - * Makerules: Install headers from source directories into - $(includedir), rather than ansidecl madness. - * Makeconfig (ansi-incldir, trad-incldir): Removed. - (includedir): Define instead. - - * assert/assert.h, ctype/ctype.h, dirent/dirent.h, grp/grp.h, - locale/locale.h, locale/localeinfo.h, math/math.h, - misc/sys/file.h, misc/sys/ioctl.h, misc/sys/ptrace.h, - misc/sys/uio.h, misc/sgtty.h, misc/nlist.h, posix/gnu/types.h, - posix/sys/wait.h, posix/sys/types.h, posix/sys/times.h, - posix/sys/utsname.h, posix/unistd.h, posix/tar.h, posix/utime.h, - posix/wordexp.h, posix/glob.h, posix/fnmatch.h, pwd/pwd.h, - resource/sys/resource.h, resource/sys/vlimit.h, - resource/sys/vtimes.h, setjmp/setjmp.h, signal/signal.h, - signal/gnu/signal.h, socket/sys/socket.h, stdio/stdio.h, - stdio/printf.h, stdlib/alloca.h, stdlib/stdlib.h, string/string.h, - termios/termios.h, time/sys/time.h, time/time.h, io/sys/stat.h, - io/fcntl.h, errno.h, stddef.h, malloc/malloc.h: - Deansideclized. Use macros instead of ansidecl and - C++ cruft. - * features.h: #include . - - * string/string.h (strfry, memfrob): Declare. - * string/Makefile (routines): Added strfry and memfrob. - * string/strfry.c, string/memfrob.c: New. - - * locale/C-ctype_ct.c: Made BS be isspace. - - * sysdeps/generic/strstr.c: Return HAYSTACK, not its end, if NEEDLE - is the empty string. - - * sysdeps/generic/strncase.c: Fixed for case of empty string. - -Wed May 20 02:36:09 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * io/sys/stat.h (fchmod): Declare, rather than two __fchmod decls. - - * configure (sysv, bsd): Don't make base_os=unix; unix/{sysv,bsd} - instead. - Set os_used if base_os is used. - -Tue May 19 21:00:11 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * crypt/*: New files from glad. - - * stdio/stdio.h (sys_nerr, sys_errlist): Don't declare const. - -Sun May 17 15:50:00 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) - - * io/Makefile (headers): Remove gnu/stat.h; add sys/stat.h. - - * posix/glob.c (glob): Don't let us fall off the end without returning. - - * sysdeps/stub/setenv.c, sysdeps/posix/setenv.c: New. - * stdlib/stdlib.h [__USE_BSD] (setenv): Declare. - * stdlib/Makefile (routines): Add setenv. - - * malloc/mtrace.c (old_{free,malloc,realloc}_hook): Renamed to tr_& - to not conflict with mcheck.c when combined into gmalloc.c. - -Fri May 15 19:07:54 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * socket/sys/socket.h (PF_NBS, AF_NBS): Removed. - (PF_ISO, PF_OSI, PF_APPLETALK, PF_ROUTE, PF_LINK): Define. - (PF_MAX): Increase accordingly. - - * inet/bsd/*.c: Snarfed latest code from 4.4. - - * misc/sys/cdefs.h (__BEGIN_DECLS, __END_DECLS): Define cruft for C++. - -Thu May 14 01:45:12 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * posix/glob.h (GLOB_MAGCHAR): Check user feature-test macros, - rather than __USE_BSD, so we don't depend on features.h. - - * sysdeps/stub/__wait4.c: Last arg is struct rusage *, not PTR. - - * math/bsd/common_source/mathimpl.h: Don't #define const. - #include instead. - - * Makefile (+other_dirs): Add crypt, but only if it exists at run time. - * crypt/GNUmakefile: New file. - * sysdeps/sparc/Makefile, sysdeps/m68k/Makefile (crypt): - Define to use machine-dependent assembly code in crypt/crypt.*.S. - * crypt: New directory. - - * find-sysdirs: Don't lose if there are no sysnames. - - * termios/Makefile (headers): Added sys/termios.h. - * termios/sys/termios.h: New file; just #include . - - * stdlib/qsort.c: Define _quicksort rather than qsort. - * stdlib/msort.c: New file; defines qsort function that does merge - sort. Falls back to _quicksort if it fails to allocate a temp array. - * stdlib/Makefile (routines): Added msort. - - * string/string.h (memccpy, strdup): Also declare #ifdef __USE_BSD. - [__USE_BSD] (index, rindex, bcmp, bzero, ffs): Declare. - * string/strings.h: Just #include . - * string/Makefile (headers): Removed bstring.h. - - * misc/Makefile (routines): Removed swab. - * string/Makefile (routines): Put it here instead. - * misc/swab.c: Moved to string/swab.c. - - * stdio/stdio.h [__USE_BSD] (sys_nerr, sys_errlist): Declare. - - * grp/grp.h (setgrent, endgrent, getgrent): Also do #ifdef __USE_BSD. - - * posix/glob.h [__USE_BSD] (GLOB_MAGCHAR): Declare. - (glob_t): Added member `gl_flags'. - * posix/glob.c (glob, glob_in_dir): Set gl_flags member to FLAGS; - or in GLOB_MAGCHAR if any metachars are seen. - - * sysdeps/unix/bsd/bsd44/readdir.c: New. - - * sysdeps/unix/bsd/sun/readdir.c: Don't need to declare - __getdirentries here. Use off_t and ssize_t. - - * misc/Makefile (routines): Removed getdents and __getdents. - * dirent/Makefile (routines): Put them here instead. - * misc/getdents.c: Moved to dirent/getdents.c. - * dirent/dirent.h [__USE_BSD] (__getdirentries, getdirentries): - Declare. - - * dirent/Makefile (routines): Added scandir and alphasort. - * dirent/scandir.c, dirent/alphasort.c: New. - * dirent/dirent.h [__USE_BSD] (scandir, alphasort): Declare. - - * sysdeps/unix/bsd/nice.c, sysdeps/unix/sysv/nice.S, - sysdeps/stub/nice.c: New. - * resource/Makefile (routines): Added nice. - - * misc/sys/cdefs.h [__USE_BSD] (const, signed, volatile): #define to - __ versions, for the sake of 4.4 header files. - -Wed May 13 00:35:12 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) - - * stdlib/tst-strtol.c: Fixed typo in test table. - - * stdlib/strtol.c: Fixed checking for overflow of long int that fits - in unsigned long int. - - * misc/Makefile (headers): Added ttyent.h. - (routines): Added getttyent. - * misc/ttyent.h, misc/getttyent.h: New; snarfed from 4.4. - - * posix/sys/wait.h [__USE_BSD]: Added forward decl for struct rusage. - (__wait4, __wait3): Declare arg as struct rusage, not PTR. - - * inet/arpa/*.h, inet/protocols/*.h, inet/netdb.h, inet/resolv.h: - New files from 4.4. - * inet/Makefile (headers): Snarf *.h from arpa/ and protocols/. - - * sysdeps/m68k/fpu/__math.h, assert/assert.h: #include - and use its macros rather than rolling our own. - - * misc/sys/cdefs.h: New file. - * misc/Makefile (headers): Add it. - - * Makerules: Moved check for headers coming from env to Rules. - -Tue May 12 01:04:10 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) - - * sysdeps/generic/strsep.c: New. - * string/string.h [__USE_BSD] (strsep): Declare. - * string/Makefile (routines): Added strsep. - - * sysdeps/unix/sysv/__settod.c, sysdeps/unix/sysv/stime.S, - sysdeps/unix/bsd/stime.c, sysdeps/stub/stime.c: New. - * time/time.h [__USE_SVID] (stime): Declare it. - - * sysdeps/unix/bsd/bsd44/__getdents.S: New. - - * posix/wordexp.h, posix/utime.h, posix/unistd.h, time/time.h, - termios/termios.h, posix/tar.h, string/strings.h, string/string.h, - stdlib/stdlib.h, signal/signal.h, stdio/stdio.h, misc/sgtty.h, - setjmp/setjmp.h, inet/resolv.h, pwd/pwd.h, stdio/printf.h, - misc/nlist.h, inet/netdb.h, math/math.h, malloc/malloc.h, - locale/locale.h, grp/grp.h, posix/glob.h, posix/getopt.h, - posix/fnmatch.h, io/fcntl.h, errno.h, dirent/dirent.h, - ctype/ctype.h, string/bstring.h, assert/assert.h, stdlib/alloca.h, - misc/a.out.h [__cplusplus]: Added stupid cruft for losing C++. - -Mon May 11 01:40:49 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) - - * math/Makefile (headers): Added huge_val.h and nan.h. - - * io/Makefile (headers): Changed gnu/stat.h to statbuf.h. - - * time/Makefile (install-data): Include $(localtime-file) and - $(posixrules-file) if they are relative. - (install-others): Include them if absolute. - ($(posixrules-file), $(localtime-file)): Define rules to install if - absolute file names. - * Makerules (+install): Include $(install-others) verbatim. - * Makeconfig (localtime-file): Made default /etc/localtime. - - * sysdeps/generic/Makefile (endian.h): Only generate if would - otherwise use stub version. - * sysdeps/stub/endian.h, sysdeps/i386/endian.h: New. - - * Rules, Makefile: Export distribute and dont_distribute. - * Make-dist: Export sysdep_dirs. Unexport things rather than - clobbering their values. - - * misc/sys/ptrace.h: Fixed typo. - - * stdio/stdio.h (__io_read, __io_write, __io_seek, __io_close): - Added comments. - - * stdio/internals.c (flushbuf): If in append mode, don't do aligned - writing, seek to the target, or update the offset. - - * posix/unistd.h (lseek): Doc fix. - - * misc/swab.c: New. - * misc/Makefile (routines): Added swab. - -Wed May 6 12:32:18 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) - - * math/Makefile, inet/Makefile (source_dirs): Export it. - * MakeTAGS (all-dirs): Include $(source_dirs). - - * Makefile (TAGS): Removed dep on subdir_TAGS. - (+subdir_targets): Removed subdir_TAGS. - * MakeTAGS [! subdir] (TAGS): Depend on subdir_TAGS. - [! subdir] (subdir_TAGS): Recurse on subdirectories. - - * Makerules (headers): Don't take value from the environment. - - * Makerules (sysdirs, sysdep_dir): Export them. - - * MakeTAGS: New makefile. - * Makefile (distribute): Include it. - * Makefile (TAGS), Rules (TAGS): Removed rules. - * Makerules (TAGS): New rule that uses MakeTAGS. - * Makefile (TAGS): Depend on subdir_TAGS. - - * Makerules (install, install-lib, install-data, routines, aux): - Don't bother removing these if they come from the environment, since - they won't with make >= 3.62.8. - * Rules (distribute, headers): Ditto. - (subdir): Export it. - * Makerules (sources, headers): Export these. - * Makefile (subdirs): Export it. - - * Rules (+tags_sources): Removed. - * Makerules (tags-sources): Define here. - * ctype/Makefile (tags-sources): Redefine to give headers precedence - over sources. - * Rules (TAGS), Makefile (TAGS): Rewrote rules. - * Makeconfig (+ctags): Removed. - (ETAGS): Define. - - * sysdeps/posix/getcwd.c: Don't closedir twice. - - * sysdeps/unix/bsd/hp/m68k/__wait3.S: Define __wait3, not ___wait3. - - * posix/sys/types.h [__USE_BSD] (fsid_t): Define. - * posix/gnu/types.h (__fsid_t): Define. - - * io/fcntl.h (F_GETLK): Define. - -Tue May 5 18:36:46 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) - - * misc/Makefile (routines): Added seteuid and setegid. - * sysdeps/stub/sete[ug]id.c, sysdeps/unix/bsd/bsd44/sete[ug]id.S: New. - * posix/unistd.h [__USE_BSD] (seteuid, setegid): Declare. - - * sysdeps/unix/bsd/tcsendbrk.c: #include - - * Makerules: Strip whitespace from $(headers) so ifdef wins. - - * sysdeps/unix/bsd/bsdtty.h: #undef a bunch more things. - - * sysdeps/unix/bsd/bsd44/errnos.h: New, hacked from 4.4 . - - * sysdeps/unix/Makefile (ioctls.h, errnos.h): Only generate if - the files that would be used otherwise are the stub versions. - - * sysdeps/unix/bsd/tcflow.c: Don't write VSTOP or VSTART if it is - _POSIX_VDISABLE. - - * sysdeps/unix/bsd/tcflush.c: Use FREAD|FWRITE for TCIOFLUSH. - - * sysdeps/unix/bsd/usleep.c: Use select rather than itimers to wait. - - * sysdeps/unix/bsd/tcsendbrk.c: Use select rather than itimers to wait. - - * termios/cfmakeraw.c: New. - * termios/Makefile (routines): Added cfmakeraw. - - * sysdeps/unix/bsd/bsd44/ioctls.h: New file, hacked from 4.4 - . - * sysdeps/unix/bsd/bsd44/__tcgetatr.c: New. - * sysdeps/unix/bsd/bsd44/tcsetattr.c: New. - * sysdeps/unix/bsd/bsd44/tcdrain.c: New. - - * termios/sys/ttydefaults.h: New, snarfed from 4.4. - * termios/Makefile (headers): Define. - * termios/termios.h [__USE_BSD]: #include - - * sysdeps/posix/getcwd.c: Removed unused variable. - - * time/__tzset.c: Cast string literal to (char *). - - * setjmp/sigjmp_save.c: Declare properly to return void. - - * sysdeps/ieee754/nan.h: Created; somehow it disappeared. - -Mon May 4 18:30:52 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/unix/bsd/bsd44/__wait4.S: New. - - * sysdeps/unix/bsd/4.4: Renamed to sysdeps/unix/bsd/bsd44. - - * signal/gnu/signal.h (__SA_DISABLE, __SA_NOCLDSTOP): Use same bits - 4.4 uses. - -Sun May 3 13:57:25 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * stdio/fwrite.c: Use unsigned char to avoid sign extension. - - * stdlib/__random.c (randtbl): Replaced default constants so they - match the state produced by "srandom (1)". - - * stdlib/mbtowc.c: Test for S == "" before testing for no mbchars. - - * stdlib/Makefile (tests): Added testrand. - * stdlib/testrand.c: New test for rand. - - * stdlib/testmb.c: Added 2 mblen tests. - - * stdlib/wcstombs.c: Don't do anything strange for EOF. - Copy non-MB characters as they are. - Properly increment S after writing. - - * stdlib/testmb.c: Added test case for wcstombs. - - * signal/signal.h (SA_DISABLE): Define. - * signal/gnu/signal.h (__SA_DISABLE): Define. - - * signal/signal.h (struct sigaltstack): Define new type. - (sigaltstack): Declare new fn. - * sysdeps/stub/sigaltstack.c: New. - * sysdeps/unix/bsd/4.4/sigaltstack.S: New. - - * misc/Makefile (routines): Added reboot. - * posix/unistd.h (reboot): Declare. - * sysdeps/stub/reboot.c: New. - - * sysdeps/unix/bsd/ulimit.c [! HAVE_GNU_LD]: #define _etext -> etext. - - * sysdeps/unix/bsd/sun/sparc/sethostid.S: #define _ERRNO_H before - #include . - - * configure (newos*): base_os=unix/bsd. - -Fri May 1 12:21:47 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) - - * io/gnu/stat.h: Moved to sysdeps/unix/bsd/statbuf.h. - * sysdeps/unix/bsd/statbuf.h: Define struct stat, not struct __stat. - * io/stat.c: Use struct stat, not struct __stat. - * sysdeps/stub/statbuf.h: New. - * io/sys/stat.h: #include instead of gnu/stat.h. - (stat, fstat, lstat, chmod, fchmod, umask, mkdir, mknod): Don't - #define; declare as fns instead. - * sysdeps/unix/sysv/stat.h: New. - * sysdeps/unix/sysv/sysv_stat.h, sysdeps/unix/sysv/sys_stat.S, - sysdeps/unix/sysv/sys_fstat.S: Removed. - * sysdeps/unix/sysv/Makefile (sysdep_routines): Removed sys_stat, - sys_fstat. - * sysdeps/unix/sysv/Dist: Removed sys_stat.S, sys_fstat.S. - * sysdeps/unix/bsd/__stat.S, sysdeps/unix/bsd/__fstat.S: Moved to - sysdeps/unix. - - * sysdeps/m68k/fpu/switch/Makefile: Refer to dirs fpu and - fpu/switch, not 68881 and 68881-switch. - - * sysdeps/m68k/fpu/switch/switch.c: #include <68881-sw.h>, not - 68881-switch.h. - - * sysdeps/m68k/fpu/__expm1.c, sysdeps/m68k/fpu/__rint.c, - sysdeps/m68k/fpu/asin.c, sysdeps/m68k/fpu/atan.c, - sysdeps/m68k/fpu/atanh.c, sysdeps/m68k/fpu/ceil.c, - sysdeps/m68k/fpu/cos.c, sysdeps/m68k/fpu/cosh.c, - sysdeps/m68k/fpu/exp.c, sysdeps/m68k/fpu/fabs.c, - sysdeps/m68k/fpu/floor.c, sysdeps/m68k/fpu/log.c, - sysdeps/m68k/fpu/log10.c, sysdeps/m68k/fpu/log1p.c, - sysdeps/m68k/fpu/sin.c, sysdeps/m68k/fpu/sinh.c, - sysdeps/m68k/fpu/sqrt.c, sysdeps/m68k/fpu/tan.c, - sysdeps/m68k/fpu/tanh.c: #include without explicit path - (which has changed). - - * sysdeps/unix/bsd/sun/sparc/start.c: #include . - (syscall): Removed C function; define all inside asm instead. - (init_shlib): Cast return value of syscall to right types. - -Thu Apr 30 01:15:33 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) - - * sysdeps/unix/bsd/sun/sparc/start.c: Added code to use dynamic - linker from trq@dionysos.thphys.ox.ac.uk. - - * sysdeps/unix/bsd/sun/sunos4: Renamed to sunos411. - - * setjmp/setjmp.h (sigsetjmp): Don't declare as a function. - Define as a macro instead. - (__sigjmp_save): Declare; internal fn used by sigsetjmp macro. - (_setjmp), [__FAVOR_BSD] (setjmp): Always define as a macro. - * setjmp/sigjmp_save.c: New file. - * setjmp/_setjmp.c, setjmp/sigsetjmp.c: Removed. - * Makefile (routines): Removed _setjmp, sigsetjmp; added sigjmp_save. - * misc/bsd-compat.c (setjmp): Don't define. - - * configure (sysv, bsd): base_os=unix - - * configure: Fatal error if the machine or os did not generate any - sysdep dirs. - - * configure: No error message after config.sub fails. - - * sysdeps/mips, sysdeps/unix/bsd/ultrix42: New port from - brendan@cs.widener.edu. - - * Reorganized sysdeps: - unix/bsd/ - hp9k3bsd -> hp/m68k - news -> sony/m68k - sun/ - sun3/os3 -> sunos3/m68k - sun3 -> m68k - sun4 -> sparc - unix/sysv/ - r4 -> sysv4 - m68k/ - 68881 -> fpu - 68881/68881-switch -> fpu/switch - * sysdeps/unix/bsd/sony/m68k/start.c: Changed #include. - * configure: Use config.sub to canonicalize name. - Then use combinations of machine, vendor, and os (with special - hacks for os flavors) for sysdep dirs to try. - * Makefile (distribute): Added config.sub. - -Wed Apr 29 23:06:06 1992 Brendan Kehoe (brendan@churchy.gnu.ai.mit.edu) - - * sysdeps/unix/bsd/hp9k3bsd/sysdep.h, - sysdeps/unix/bsd/sun/sun3/sysdep.h, sysdeps/unix/bsd/sun/sun4/sysdep.h, - sysdeps/unix/bsd/vax/sysdep.h,sysdeps/unix/i386/sysdep.h, - sysdeps/mach/i386/sysdep.h: Change all definitions of movl/mov to - MOVE(s, d), for insn sets with d,s instead of s,d move insns. - * sysdeps/unix/__getegid.S, sysdeps/unix/__geteuid.S, - sysdeps/unix/__getppid.S: Use that in each of these. - -Wed Apr 29 17:58:21 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) - - * io/getwd.c: Default PATH_MAX if not defined. - - * sysdeps/unix/getlogin.c, sysdeps/posix/ttyname.c: Make buffers - only as big as needed, avoiding PATH_MAX. - - * sysdeps/posix/getcwd.c: Dynamically extend the buffer as we go, - not afterwards; default PATH_MAX if not defined. - - * posix/execvp.c: Dynamically allocate an array on the stack for the - path name, rather than using a fixed-size array. - - * pwd/putpwent.c: Print pw_dir field. - - * sysdeps/posix/mktemp.c: If the pid has changed, update OLDPID. - -Tue Apr 28 19:25:21 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) - - * malloc/valloc.c [emacs]: #include "config.h" - -Thu Apr 23 13:55:34 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) - - * sysdeps/m68k/68881/__drem.c: Define __drem, not drem. - Call ____drem, not __drem. - - * malloc/realloc.c, malloc/malloc.c: Don't #define memcpy or memset - if already #define'd. - -Tue Apr 21 04:16:56 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * malloc/Makefile: Moved include ../Rules after malloc.tar rules. - They need $(routines), which Rules clears. - - * malloc/realloc.c (MIN): Renamed to min. Conflicted with HPUX - system header files. - - * Makefile (sysdep-subdirs): Is not called +sysdep-subdirs. - - * configure: Don't try to create config.status if . is not writable. - - * sysdeps/generic/printf_fp.c: Fixed padding loop condition for zero - case. - - * math/math.h: Don't #include for HUGE_VAL. - Instead, #include . - * stdlib/stdlib.h: Ditto. - * math/math.h [__USE_GNU]: #include to get NAN value. - * float.h: Removed. - * Makefile (headers): Removed float.h and fl.h. - * sysdeps/ieee754/huge_val.h, sysdeps/ieee754/nan.h, - sysdeps/stub/huge_val.h, sysdeps/stub/nan.h, sysdeps/vax/huge_val.h: - Created (from old fl.h files). - - * math/bsd/common_source/pow.c (pow_p): When checking if Y is an - integer, don't let it overflow a `long int'. - (pow): Check for NaN with __isnan, not (X != X). - -Tue Apr 21 02:26:19 1992 Brendan Kehoe (brendan@cs.widener.edu) - - * sysdeps/unix/bsd/sun/sun4/__pipe.S, - sysdeps/unix/bsd/vax/__wait3.S, sysdeps/unix/bsd/hp9k3bsd/__wait3.S: - Use the ENTRY macro for each beginning - - * sysdeps/unix/sysdep.h, sysdeps/unix/bsd/hp9k3bsd/sysdep.h, - sysdeps/unix/bsd/sun/sun3/sysdep.h, - sysdeps/unix/bsd/sun/sun4/sysdep.h, sysdeps/unix/bsd/vax/sysdep.h, - sysdeps/unix/i386/sysdep.h, sysdeps/unix/sysdep.h, - sysdeps/unix/sysv/sysdep.h [SYSCALL, SYSCALL__, PSEUDO]: Modify to - also receive the number of args the syscall takes; added for future - ports that will require this information. - - * sysdeps/unix/i386/__pipe.S, sysdeps/unix/bsd/vax/__pipe.S, - sysdeps/unix/bsd/sun/sun4/__pipe.S, - sysdeps/unix/bsd/hp9k3bsd/__pipe.S, sysdeps/unix/i386/__brk.S, - sysdeps/unix/bsd/sun/__getdents.S, sysdeps/unix/i386/__fork.S, - sysdeps/unix/bsd/vax/__fork.S, sysdeps/unix/bsd/sun/sun4/__fork.S, - sysdeps/unix/__setgid.S, sysdeps/unix/__setuid.S, - sysdeps/unix/bsd/sun/sun3/__vfork.S, - sysdeps/unix/bsd/sun/sun4/__vfork.S, - sysdeps/unix/bsd/vax/__wait.S, sysdeps/unix/bsd/hp9k3bsd/__wait.S, - sysdeps/unix/i386/__wait.S, - sysdeps/unix/bsd/sun/sunos4/sys_wait4.S, - sysdeps/unix/bsd/sun/sun3/sethostid.S, - sysdeps/unix/bsd/sun/sun4/sethostid.S, - sysdeps/unix/bsd/__sigvec.S, sysdeps/unix/bsd/sun/sun4/__sigvec.S, - sysdeps/unix/sysv/i386/__sigret.S, sysdeps/unix/__getppid.S, - sysdeps/unix/bsd/__access.S, sysdeps/unix/sysv/signal.S, - sysdeps/unix/__getegid.S, sysdeps/unix/__geteuid.S, - sysdeps/unix/bsd/bsd_getgrp.S, sysdeps/unix/bsd/__dup2.S, - sysdeps/unix/bsd/__fchmod.S, sysdeps/unix/bsd/__fchown.S, - sysdeps/unix/bsd/__flock.S, sysdeps/unix/bsd/__fstat.S, - sysdeps/unix/bsd/__lstat.S, sysdeps/unix/bsd/__mkdir.S, - sysdeps/unix/bsd/__readlink.S, sysdeps/unix/bsd/__rmdir.S, - sysdeps/unix/bsd/__stat.S, sysdeps/unix/bsd/__symlink.S, - sysdeps/unix/bsd/4.4/chflags.S, sysdeps/unix/bsd/4.4/fchflags.S, - sysdeps/unix/bsd/4.4/sstk.S, sysdeps/unix/bsd/4.4/setlogin.S, - sysdeps/unix/bsd/__getdtsz.S, sysdeps/unix/bsd/__getpgsz.S, - sysdeps/unix/bsd/__setregid.S, sysdeps/unix/bsd/__setreuid.S, - sysdeps/unix/bsd/__utimes.S, sysdeps/unix/bsd/ftruncate.S, - sysdeps/unix/bsd/readv.S, sysdeps/unix/bsd/truncate.S, - sysdeps/unix/bsd/vhangup.S, sysdeps/unix/bsd/writev.S, - sysdeps/unix/bsd/__getpgrp.S, sysdeps/unix/bsd/__setpgrp.S, - sysdeps/unix/bsd/__getrusag.S, sysdeps/unix/bsd/getprio.S, - sysdeps/unix/bsd/getrlimit.S, sysdeps/unix/bsd/setprio.S, - sysdeps/unix/bsd/__sigblock.S, - sysdeps/unix/bsd/__sigpause.S, sysdeps/unix/bsd/__sigstmsk.S, - sysdeps/unix/bsd/killpg.S, sysdeps/unix/bsd/sigstack.S, - sysdeps/unix/bsd/rename.S, sysdeps/unix/bsd/__adjtime.S, - sysdeps/unix/bsd/__setitmr.S, sysdeps/unix/bsd/__settod.S, - sysdeps/unix/sysv/sys_stat.S, sysdeps/unix/sysv/sys_fstat.S, - sysdeps/unix/sysv/__utssys.S, sysdeps/unix/sysv/utime.S, - sysdeps/unix/sysv/__times.S, sysdeps/unix/sysv/i386/time.S, - sysdeps/unix/sysv/alarm.S, sysdeps/unix/sysv/pause.S, - sysdeps/unix/sysv/ulimit.S, sysdeps/unix/__chdir.S, - sysdeps/unix/__chmod.S, sysdeps/unix/__chown.S, - sysdeps/unix/__close.S, sysdeps/unix/__dup.S, - sysdeps/unix/__fcntl.S, sysdeps/unix/__link.S, - sysdeps/unix/__lseek.S, sysdeps/unix/__open.S, - sysdeps/unix/__read.S, sysdeps/unix/__umask.S, - sysdeps/unix/__unlink.S, sysdeps/unix/__write.S, - sysdeps/unix/__ioctl.S, sysdeps/unix/__mknod.S, - sysdeps/unix/acct.S, sysdeps/unix/chroot.S, sysdeps/unix/fsync.S, - sysdeps/unix/ptrace.S, sysdeps/unix/swapon.S, sysdeps/unix/sync.S, - sysdeps/unix/__execve.S, sysdeps/unix/__getgid.S, - sysdeps/unix/__getpid.S, sysdeps/unix/__getuid.S, - sysdeps/unix/_exit.S, sysdeps/unix/__kill.S, - sysdeps/unix/inet/__gethstnm.S, sysdeps/unix/inet/__select.S, - sysdeps/unix/inet/gethostid.S, sysdeps/unix/inet/sethostid.S, - sysdeps/unix/inet/sethostnam.S, sysdeps/unix/inet/accept.S, - sysdeps/unix/inet/bind.S, sysdeps/unix/inet/connect.S, - sysdeps/unix/inet/getpeernam.S, sysdeps/unix/inet/getsocknam.S, - sysdeps/unix/inet/getsockopt.S, sysdeps/unix/inet/listen.S, - sysdeps/unix/inet/recv.S, sysdeps/unix/inet/recvfrom.S, - sysdeps/unix/inet/recvmsg.S, sysdeps/unix/inet/send.S, - sysdeps/unix/inet/sendmsg.S, sysdeps/unix/inet/sendto.S, - sysdeps/unix/bsd/vax/__wait3.S, sysdeps/unix/bsd/hp9k3bsd/__wait3.S, - sysdeps/unix/inet/setsockopt.S, sysdeps/unix/inet/shutdown.S, - sysdeps/unix/inet/socket.S, sysdeps/unix/inet/socketpair.S: Added the - argument count to every use of SYSCALL, SYSCALL__ or PSEUDO. - -Tue Apr 21 00:06:52 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * limits.h [__GNUC__ >= 2]: Use #include_next to get GCC's . - - * sysdeps/posix/sysd-stdio.c (__stdio_read, __stdio_write, - __stdio_errmsg) [EINTR && EINTR_REPEAT]: Do EINTR looping. - * sysdeps/unix/sysv/sysd-stdio.c: New. - #define EINTR_REPEAT and #include posix/sysd-stdio.c. - - * stdlib/mbstowcs.c: Copy non-MB chars verbatim, instead of error. - - * sysdeps/generic/printf_fp.c: Note sign of exponent and take its - absolute value for arithmetic. - - * stdlib/testmb.c: New. - * stdlib/Makefile (tests): Added testmb. - - * sysdeps/generic/frexp.c [NAN]: If VALUE is infinite, return NAN. - If VALUE is NAN, set errno to EDOM and return VALUE. - If VALUE is zero, return it. In all special cases, clear *EXP. - - * stdio/test-fseek.c: New. - * stdio/Makefile (tests): Added test-fseek. - - * stdio/fseek.c: Position returned from io_funcs.seek is absolute, - not EOF-relative when using SEEK_END. - - * sysdeps/posix/sysd-stdio.c (__stdio_gen_tempname): Set errno to - EEXIST when we run out. - - * sysdeps/posix/sysd-stdio.c (exists): Use stat rather than open, so - we don't need read access. - - * sysdeps/posix/mk-stdiolim.c (TMP_NAM): is 62 ** 3. - -Mon Apr 20 23:08:02 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * sysdeps/posix/sysd-stdio.c (__stdio_gen_tempname): Don't return - the same name twice when the file doesn't exist. - - * stdio/vfprintf.c (%c format): Tests of LEFT for padding were - reversed. - - * sysdeps/generic/printf_fp.c: If we have written some fractional - digits, write zeros up to the precision. - - * sysdeps/unix/bsd/sun/sun4/start.c: Don't clear the FP until just - before calling main. - -Wed Apr 15 01:43:38 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Makerules (libc.a): Don't depend on libc.a(...); only on lib. - (lib-noranlib): Depend on libobjs. - (+libobjs): New var. - (libobjs): Depend on $(+libobjs). - * Rules (others, tests): Don't depend on lib; on libc.a instead. - - * locale/C-numeric.c: grouping is "". - - * locale/localeconv.c: Set int_frac_digits. - - * locale/setlocale.c: Accept "" to mean "C". - - * sysdeps/unix/sysv/r4/bsddir.h: Protect against multiple inclusion. - - * sysdeps/unix/sysv/r4/Dist: Created; includes bsddir.h and - sys_getdents.S. - - * sysdeps/unix/i386/sysdep.h [! HAVE_SYSCALLS]: Don't #inlcude - unix/sysdep.h. - * sysdeps/unix/sysv/sysdep.h, sysdeps/unix/sysdep.h - (HAVE_SYSCALLS): #define. - * sysdeps/unix/sysv/i386/sysdep.h: #include unix/sysv/sysdep.h, then - unix/i386/sysdep.h. - - * sysdeps/unix/sysv/Makefile: Fixed typos. - - * sysdeps/unix/sysv/Dist: Add utmp.h. - - * sysdeps/posix/Makefile (mk-stdiolim): Explicit commands, to - compile it without normal gcc flags. - - * configure (i386-sysv): unix/i386/sysv -> unix/sysv/i386. - (i386-sysvr4): New configuration. - -Tue Apr 14 16:47:47 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * setjmp/setjmp.h: Put sigjmp_buf before typedef for jmp_buf, which - needs sigjmp_buf #ifdef __FAVOR_BSD. - - * posix/unistd.h (getgroups): Don't #define. - - * sysdeps/stub/ptrace.c: #include ; declare AP in fn. - Avoid "PTR a, b". - - * sysdeps/posix/sigintr.c: New; sets global sigset_t `_sigintr'. - * sysdeps/posix/signal.c: Use SA_RESTART unless SIG is in _sigintr. - * signal/sigintr.c: Removed. - * sysdeps/stub/sigintr.c: New. - - * sysdeps/posix/sysd-stdio.c (__stdio_read, __stdio_write, - __stdio_errmsg): Don't treat EINTR specially. - - * sysdeps/unix/Makefile (sys/param.h): Touch the target after mv'ing - from the tmp file, so the file is newer than the directory. - - * sysdeps/generic/strcasecmp.c: Simplified loop; fixed returning - wrong value on equal comparison. - - * stdlib/bsearch.c: Don't lose if NMEMB is zero. - - * sysdeps/unix/bsd/__times.c (timeval_to_clock_t): Microseconds are - not milliseconds. - -Mon Apr 13 18:25:17 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/generic/strncase.c: New. - * string/Makefile (routines): Add strncase. - * string/string.h [__USE_GNU]: Declare strncasecmp. - - * time/__tzset.c: Correctly default DST offset to one hour later - than standard offset. - - * time/__tzset.c (tz_rule): Made `name' not be const. - - * string/tester.c [! HAVE_GNU_LD]: #define _sys_nerr and - _sys_errlist to sys_nerr and sys_errlist. - - * stdio/test_rdwr.c: Fixed printf call missing arg. - - * posix/getgrps.c: #undef getgroups first. - - * misc/brk.c: Declare __brk. - * misc/sbrk.c: Declare __sbrk. - * misc/setreuid.c, misc/setregid.c: #include . - Fixed types in DEFUN in fn alias. - * misc/getpgsz.c, misc/getdtsz.c, misc/gethstnm.c: #include . - * misc/getdents.c: Declare __getdirentries. - * misc/mknod.c: #include . - * posix/unistd.h: Declare many __ versions of things. - [__OPTIMIZE__]: Many #define foo(...) -> __foo(...). - - * io/fcntl.c: #include . - - * sysdeps/unix/Makefile: New hair to install other headers the - system sys/param.h #includes. - - * time/__tzset.c (__tzfile_default): Declare. - - * time/sys/time.h (timezone): #define to __timezone. - - * sysdeps/ieee754/printf_fp.c: #undef outchar before #including - generic/printf_fp.c. - - * stdio/__vfscanf.c: For %c, don't lose the first char. - For %s, properly consume the last char when we hit max width. - - * posix/gnu/types.h (__dev_t, __mode_t): Made int rather than short. - * io/gnu/stat.h (struct stat): Made st_dev, st_rdev, and st_mode use - {,unsigned} short int instead of __dev_t/__mode_t. - -Fri Apr 10 13:55:07 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) - - * setjmp/setjmp.h: Rearranged so that jmp_buf is defined before any - prototypes are used. - (longjmp): Declare with jmp_buf, not __jmp_buf, to win in BSD mode. - (_longjmp): #define as __longjmp, not longjmp. - (_longjmp, _setjmp): Take jmp_buf args, not __jmp_buf. - Call sig{set,long}jmp with SAVEMASK==0, rather than __{set,long}jmp. - * _longjmp.c, _setjmp.c: #define _BSD_SOURCE before all else. - (_setjmp): Call sigsetjmp, not __setjmp. - - * io/sys/stat.h (__fchmod, __mknod): Fixed arg types. - - * io/fchmod.c: Fixed typo. - - * time/Makefile (\n): Renamed to nl. - - * Makerules (native-compile): New variable. - * sysdeps/generic/Makefile, sysdeps/unix/Makefile, - sysdeps/unix/bsd/Makefile: Use it in cmds for generator progs. - - * sysdeps/unix/sysv/sysv_termio.h (_SYSV_TAB3): New; same as XTABS. - - * sysdeps/unix/sysv/setrlimit.c: Removed extern decl of etext (unused). - - * sysdeps/unix/sysv/__tcgetatr.c, sysdeps/unix/sysv/tcdrain.c, - sysdeps/unix/sysv/tcflow.c, sysdeps/unix/sysv/tcflush.c, - sysdeps/unix/sysv/tcgetpgrp.c, sysdeps/unix/sysv/tcsendbrk.c, - sysdeps/unix/sysv/tcsetattr.c, sysdeps/unix/sysv/tcsetpgrp.c: - #include - - * sysdeps/unix/sysv/__rmdir.c, sysdeps/unix/sysv/__mkdir.c, - sysdeps/posix/writev.c: #include . - - * sysdeps/posix/clock.c: Removed unused variable. - -Thu Apr 9 01:49:39 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * Version 1.03. - - * grp/testgrp.c: Print members correctly. - - * stdio/test-popen.c: Pipe to cat rather than more, and then check - output file. Better error checking. - - * setjmp/tst-setjmp.c: Notice if we didn't jump the right number of - times. - - * signal/tst-signal.c, string/testcopy.c, stdio/bug[12345].c: Print - msgs that more clearly say whether we won or lost. Better error - checking. - - * sysdeps/generic/printf_fp.c: Completely rewritten from scratch. - Now uses Steele & White's "Dragon4" algorithm to do things right. - -Wed Apr 8 01:08:41 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * sysdeps/i386/__longjmp.c: Test for VAL==0 before clobbering regs. - Wire V to AX, rather than DX. Use "a" constraint on unused operand - in jmp asm, rather than global reg var, to force value into AX. - -Tue Apr 7 17:51:25 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * posix/Makefile (headers): Added tar.h. - * posix/tar.h: New file, from djm. - -Mon Apr 6 01:39:07 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * time/tzfile.c (struct ttinfo): Made `isstd' member be unsigned - char instead of 1-bit bitfield. - - * time/tzfile.c (__tzfile_default): New function. - * time/__tzset.c: Call it when no rule is given. - * time/Makefile: Install posixrules just like localtime. - * time/Makeconfig (posixrules, posixrules-file): New config vars. - - * time/time.h (struct tm): Add `tz_gmtoff', `tz_zone'. - * time/localtime.c: Set those members. - - * sysdeps/ieee754/__drem.c: XOR the signs of X and the result, - rather than setting the sign of the result to that of X. - - * sysdeps/unix/bsd/make-local_lim.c: Don't do MAXUPRC or MAXLINK if - didn't define them. - - * sysdeps/posix/__sigvec.c: Fixed braino: SA_ONSTACK should be - SA_RESTART. - - * pwd/getpw.c, pwd/putpwent.c: Use %u fmt for uid and gid (which are - unsigned). - - * time/time.h (tzname, daylight, timezone): Don't #define to __. - * time/tzfile.c, time/__tzset.c, time/localtime.c, time/strftime.c - [! HAVE_GNU_LD]: #define __ to plain for above three vars. - -Thu Apr 2 03:39:04 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * locale/Makefile (routines): Add localeconv. - - * sysdeps/i386/jmp_buf.h: Removed `__dx' elt; replaced with `__pc'. - __bp and __sp are PTRs. - * sysdeps/i386/setjmp.c: Rewritten. Use global reg vars to save regs. - Use arithmetic on address of arg to get caller's PC, BP, and SP. - * sysdeps/i386/__longjmp.c: Rewritten. Use global reg vars to - restore regs. - -Wed Apr 1 23:13:57 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * Moved sysdeps/unix/i386/{bsd,sysv} to - sysdeps/unix/{bsd,sysv}/i386, and updated Implies files. - Implied dirs come before parents, and we want unix/i386 before - unix/{sysv,bsd}. - - * io/chown.c: Fixed types in fn alias. - -Wed Apr 1 14:18:58 1992 Torbjorn Granlund (tege@mole.gnu.ai.mit.edu) - - * sysdeps/generic/memcmp.c - (memcmp_common_alignment, memcmp_not_common_alignment): - Move back do0 label to its original position, after the loop. - Add comment before do0 labels. - * sysdeps/generic/wordcopy.c (_wordcopy_fwd_aligned): Indentation. - Add comment before do0 labels. - -Wed Apr 1 02:16:19 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/unix/sysv/Makefile [subdir==misc]: Generate sysdep header - termio.h from sysv_termio.h. - - * sysdeps/generic/make_siglist.c: New file. - * sysdeps/generic/signame.[ch]: Symlink'd from /gd/gnu/lib. - * sysdeps/generic/Makefile: Generate siglist.c with above. - * sysdeps/generic/Dist: Add make_siglist.c, signame.[ch]. - - * sysdeps/unix/bsd/Makefile (before-compile): Define properly as a + * resolv/res_randomid.c: New file. + * resolv/res_init.c (res_randomid): Remove definition. + * resolv/Makefile (routines): Add res_randomid. + +2017-06-19 Florian Weimer + + * include/resolv.h (__res_vinit): Declare as hidden. + * resolv/res_init.c (res_ninit): Remove __res_vinit declaration. + * resolv/res_libc.c (res_init): Likewise. + +2017-06-19 Joseph Myers + + [BZ #21457] + * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct + _libc_xmmreg): Use __ctx in defining field. + + [BZ #21597] + * signal/signal.h (siginterrupt): Make declaration conditional on + [__USE_XOPEN_EXTENDED || __USE_MISC]. + + [BZ #21584] + * signal/signal.h: Make includes of and + conditional on [__USE_XOPEN_EXTENDED || + __USE_MISC]. + (sigaltstack): Make declaration conditional on + [__USE_XOPEN_EXTENDED || __USE_MISC]. + + [BZ #21575] + * resource/bits/types/struct_rusage.h: New file. + * include/bits/types/struct_rusage.h: Likewise. + * bits/resource.h (struct rusage): Include + instead of defining here. + * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage): + Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage): + Likewise. + * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage): + Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage): + Likewise. + * resource/Makefile (headers): Add bits/types/struct_rusage.h. + * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]: + Include + +2017-06-19 Florian Weimer + + * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC. + +2017-06-19 Siddhesh Poyarekar + + * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo. + +2017-06-19 Adhemerval Zanella + + * scripts/gen-tunables.awk: Avoid multi-dimensional arrays. + +2017-06-19 Stefan Liebler + + [BZ #21537] + * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP): + Check SHARED instead of PIC. + (SYSCALL_PIC_SETUP): Add missing semicolons. + * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP): + Check SHARED instead of PIC. + * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S + (__makecontext_ret): Adjust code to jump to exit. + +2017-06-19 Christian Borntraeger + + * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall): + Simplify code by always using SVC 0 instead of EX. + * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise. + +2017-06-16 H.J. Lu + + * elf/Versions (ld): Remove _dl_out_of_memory. + +2017-06-16 Joseph Myers + + * timezone/private.h: Update from tzcode 2017b. + * timezone/tzfile.h: Likewise. + * timezone/tzselect.ksh: Likewise. + * timezone/zdump.c: Likewise. + * timezone/zic.c: Likewise. + * timezone/Makefile (tz-cflags): Add -D_ISOMAC + -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h. + * time/tzset.c (SECSPERDAY): New macro. + +2017-06-16 Rical Jasan + + * manual/string.texi (strdup): Complete header and standards + annotation. + (strncpy): Likewise. + +2017-06-16 Rical Jasan + + * manual/arith.texi (FP_NAN): Add or complete header and standard + annotations. + (FP_INFINITE): Likewise. + (FP_ZERO): Likewise. + (FP_SUBNORMAL): Likewise. + (FP_NORMAL): Likewise. + (SNAN): Likewise. + (SNANL): Likewise. + (totalorderf): Likewise. + (totalorderl): Likewise. + (totalordermagf): Likewise. + (totalordermagl): Likewise. + (_Complex_I): Likewise. + (I): Likewise. + +2017-06-16 Rical Jasan + + * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and + standard annotation. + (ARGP_HELP_SHORT_USAGE): Likewise. + (ARGP_HELP_SEE): Likewise. + (ARGP_HELP_LONG): Likewise. + (ARGP_HELP_PRE_DOC): Likewise. + (ARGP_HELP_POST_DOC): Likewise. + (ARGP_HELP_DOC): Likewise. + (ARGP_HELP_BUG_ADDR): Likewise. + (ARGP_HELP_LONG_ONLY): Likewise. + (ARGP_HELP_EXIT_ERR): Likewise. + (ARGP_HELP_EXIT_OK): Likewise. + (ARGP_HELP_STD_ERR): Likewise. + (ARGP_HELP_STD_USAGE): Likewise. + (ARGP_HELP_STD_HELP): Likewise. + +2017-06-15 Rical Jasan + + * manual/Makefile: Generate summary.texi with summary.pl. Force + use of the C locale. Update Perl dependency comment. + * manual/header.texi: Update reference to summary.awk. + * manual/macros.texi: Refer authors to `summary.pl --help'. + * manual/summary.awk: Remove file. + * manual/summary.pl: New file. Generate summary.texi, and check + for @standards-related syntax errors. + * manual/argp.texi: Convert header and standards @comments to + @standards. + * manual/arith.texi: Likewise. + * manual/charset.texi: Likewise. + * manual/conf.texi: Likewise. + * manual/creature.texi: Likewise. + * manual/crypt.texi: Likewise. + * manual/ctype.texi: Likewise. + * manual/debug.texi: Likewise. + * manual/errno.texi: Likewise. + * manual/filesys.texi: Likewise. + * manual/getopt.texi: Likewise. + * manual/job.texi: Likewise. + * manual/lang.texi: Likewise. + * manual/llio.texi: Likewise. + * manual/locale.texi: Likewise. + * manual/math.texi: Likewise. + * manual/memory.texi: Likewise. + * manual/message.texi: Likewise. + * manual/pattern.texi: Likewise. + * manual/pipe.texi: Likewise. + * manual/process.texi: Likewise. + * manual/resource.texi: Likewise. + * manual/search.texi: Likewise. + * manual/setjmp.texi: Likewise. + * manual/signal.texi: Likewise. + * manual/socket.texi: Likewise. + * manual/startup.texi: Likewise. + * manual/stdio.texi: Likewise. + * manual/string.texi: Likewise. + * manual/sysinfo.texi: Likewise. + * manual/syslog.texi: Likewise. + * manual/terminal.texi: Likewise. + * manual/threads.texi: Likewise. + * manual/time.texi: Likewise. + * manual/users.texi: Likewise. + +2017-06-15 Rical Jasan + + * manual/macros.texi (@standards): New macro. Provide placeholder + for header and standards annotations. + (@standardsx): New macro. Likewise, for lists of @*x elements. + +2017-06-15 Adhemerval Zanella + + * io/Makefile (CFLAGS-sync_file_range.c): Remove rule. + * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New + rule. + * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove + sync_file_range. + + * support/support_test_main.c (support_test_main): Use optstring + member for option string in getopt_long. + * support/test-driver.c: Add comment about CMDLINE_OPTSTRING. + (CMDLINE_OPTSTRING): New define. + * support/test-driver.h (test_config): Add optstring member. + +2017-06-15 H.J. Lu + + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add + strcspn-sse2, strpbrk-sse2 and strspn-sse2. + * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed. + Check USE_AS_STRPBRK instead of STRPBRK_P. + * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New. + * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file. + * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise. + * sysdeps/x86_64/multiarch/strcspn.c: Likewise. + * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise. + * sysdeps/x86_64/multiarch/strpbrk.c: Likewise. + * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise. + * sysdeps/x86_64/multiarch/strspn.c: Likewise. + * sysdeps/x86_64/multiarch/strcspn.S: Removed. + * sysdeps/x86_64/multiarch/strpbrk.S: Likewise. + * sysdeps/x86_64/multiarch/strspn.S: Likewise. + * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED" + and "#endif". + +2017-06-15 H.J. Lu + + * sysdeps/x86_64/multiarch/wcscpy.S: Removed. + * sysdeps/x86_64/multiarch/wcscpy.c: New file. + +2017-06-15 H.J. Lu + + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add + strcat-sse2. + * sysdeps/x86_64/multiarch/strcat-sse2.S: New file. + * sysdeps/x86_64/multiarch/strcat.c: Likewise. + * sysdeps/x86_64/multiarch/strncat.c: Likewise. + * sysdeps/x86_64/multiarch/strcat.S: Removed. + * sysdeps/x86_64/multiarch/strncat.S: Likewise. + +2017-06-15 H.J. Lu + Erich Elsen + + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add + memcmp-sse2. + * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file. + * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise. + * sysdeps/x86_64/multiarch/memcmp.c: Likewise. + * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise. + * sysdeps/x86_64/multiarch/memcmp.S: Removed. + * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise. + +2017-06-15 H.J. Lu + Erich Elsen + + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add + memset-sse2-unaligned-erms, and memset_chk-nonshared. + * sysdeps/x86_64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add test for __memset_chk_erms. + Update comments. + * sysdeps/x86_64/multiarch/ifunc-memset.h: New file. + * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise. + * sysdeps/x86_64/multiarch/memset.c: Likewise. + * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise. + * sysdeps/x86_64/multiarch/memset_chk.c: Likewise. + * sysdeps/x86_64/multiarch/memset.S: Removed. + * sysdeps/x86_64/multiarch/memset_chk.S: Likewise. + * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S + (__memset_chk_erms): New function. + +2017-06-15 Siddhesh Poyarekar + + * configure.ac(--enable-tunables): Enable by default. + * configure: Regenerate. + * NEWS: Mention change. + * manual/install.texi (enable-tunables): Adjust documentation. + * INSTALL: Regenerate. + +2017-06-14 Adhemerval Zanella + + [BZ #18988] + * benchtests/thread_create-inputs: New file. + * benchtests/thread_create-source.c: Likewise. + * support/xpthread_attr_setguardsize.c: Likewise. + * support/Makefile (libsupport-routines): Add + xpthread_attr_setguardsize object. + * support/xthread.h: Add xpthread_attr_setguardsize prototype. + * benchtests/Makefile (bench-pthread): Add thread_create. + * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and + then mprotect the required area. + (guard_position): New function. + (setup_stack_prot): Likewise. + +2017-06-14 H.J. Lu + Erich Elsen + Adhemerval Zanella + + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add + memmove-sse2-unaligned-erms, memcpy_chk-nonshared, + mempcpy_chk-nonshared and memmove_chk-nonshared. + * sysdeps/x86_64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms, + __memcpy_chk_erms and __mempcpy_chk_erms. Update comments. + * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file. + * sysdeps/x86_64/multiarch/memcpy.c: Likewise. + * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise. + * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise. + * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise. + * sysdeps/x86_64/multiarch/memmove.c: Likewise. + * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise. + * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise. + * sysdeps/x86_64/multiarch/mempcpy.c: Likewise. + * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise. + * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise. + * sysdeps/x86_64/multiarch/memcpy.S: Removed. + * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise. + * sysdeps/x86_64/multiarch/memmove.S: Likewise. + * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise. + * sysdeps/x86_64/multiarch/mempcpy.S: Likewise. + * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise. + * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S + (__mempcpy_chk_erms): New function. + (__memmove_chk_erms): Likewise. + (__memcpy_chk_erms): New alias. + +2017-06-14 Florian Weimer + + * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard. + * sysdeps/i386/i686/multiarch/varshift.c: Likewise. + +2017-06-14 Zack Weinberg + + * stdlib/errno.h: Remove __need_Emath and __need_error_t logic. + Reorganize file. Declare errno here. When __ASSEMBLER__ is + defined, don't declare anything other than the E-constants. + + * include/errno.h: Change conditional for exposing internal + declarations to (not _ISOMAC and not __ASSEMBLER__). + * bits/errno.h: Remove logic for __need_Emath. Document + requirements for a port-specific bits/errno.h. + + * sysdeps/unix/sysv/linux/bits/errno.h + * sysdeps/unix/sysv/linux/alpha/bits/errno.h + * sysdeps/unix/sysv/linux/hppa/bits/errno.h + * sysdeps/unix/sysv/linux/mips/bits/errno.h + * sysdeps/unix/sysv/linux/sparc/bits/errno.h: + Add multiple-include guard and check against improper inclusion. + Remove __need_Emath logic. Don't declare errno here. Ensure all + constants are defined as simple integer literals. Consistent + formatting. + * sysdeps/mach/hurd/errnos.awk: Likewise. Only define error_t and + enum __error_t_codes if __ASSEMBLER__ is not defined. + * sysdeps/mach/hurd/bits/errno.h: Regenerate. + + * argp/argp.h, string/argz.h: Don't define __need_error_t before + including errno.h. + * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S + * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S + * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S + * sysdeps/x86_64/fpu/s_cosf.S + * sysdeps/x86_64/fpu/s_sincosf.S + * sysdeps/x86_64/fpu/s_sinf.S: + Just include errno.h; don't define __need_Emath or include + bits/errno.h directly. + +2017-06-14 Zack Weinberg + + * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h + * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file. + * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file. + + * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value + for IOV_MAX. + * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h. + Don't install bits/uio.h. + * misc/sys/uio.h: Don't include bits/uio.h. Do include + bits/types/struct_iovec.h and bits/uio_lim.h. Set UIO_MAXIOV + based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h. + + * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX + and __need_IOV_MAX. Don't define IOV_MAX at all. + * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX. + + * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: + Include bits/types/struct_iovec.h, not bits/uio.h. + Use __ssize_t, not ssize_t, in function prototypes. + Don't use hard TAB for double space after period in comments. + +2017-06-14 Alan Modra + + * elf/elf.h (PPC64_OPT_LOCALENTRY): Define. + * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add + refsym and sym parameters. Adjust callers. + * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise. + * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise. + * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise. + * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise. + * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise. + * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise. + * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise. + * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise. + * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise. + * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise. + * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt): + Likewise. + * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise. + * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise. + * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise. + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise. + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise. + * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise. + * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise. + * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New. + (_dl_reloc_overflow): Increase buffser size. Formatting. + * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset): + Delete reloc param, add refsym and sym. Check optimized plt + call stubs for localentry:0 functions. Adjust callers. + (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym + and sym parameters. Adjust callers. + (_dl_reloc_overflow): Move attribute. + (_dl_error_localentry): Declare. + * elf/dl-runtime.c (_dl_fixup): Save original sym. Pass + refsym and sym to elf_machine_fixup_plt. + * elf/testobj6.c (preload): Call printf. + +2017-06-14 Alan Modra + + * sysdeps/powerpc/powerpc64/sysdep.h: Formatting. + (NOPS, ENTRY_3): New macros. + (ENTRY): Rewrite. + (ENTRY_TOCLESS): Define. + (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5, + EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete. + * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY. + * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise. + * sysdeps/powerpc/powerpc64/memset.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise. + * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise. + * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise. + * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise. + * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise. + * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS. + * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise. + * sysdeps/powerpc/powerpc64/lshift.S: Likewise. + * sysdeps/powerpc/powerpc64/memcpy.S: Likewise. + * sysdeps/powerpc/powerpc64/mul_1.S: Likewise. + * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise. + * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise. + * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise. + * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise. + * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise. + * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise. + * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise. + * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise. + * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise. + * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise. + * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise. + * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise. + * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise. + * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise. + * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise. + * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise. + * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise. + * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise. + * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise. + * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise. + * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l): + Likewise. + * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise. + * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise. + * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise. + * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise. + * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise. + * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise. + * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise. + * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise. + * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise. + * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise. + * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise. + * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise. + * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise. + * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise. + * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise. + * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise. + * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise. + * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise. + * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise. + * sysdeps/powerpc/powerpc64/strchr.S: Likewise. + * sysdeps/powerpc/powerpc64/strcmp.S: Likewise. + * sysdeps/powerpc/powerpc64/strlen.S: Likewise. + * sysdeps/powerpc/powerpc64/strncmp.S: Likewise. + * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier. Don't + add nop when SHARED. + * sysdeps/powerpc/powerpc64/start.S: Fix comment. + * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't + define. + (ENTRY_TOCLESS): Define. + * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define. + * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS. + * sysdeps/powerpc/fpu/s_fmaf.S: Likewise. + +2017-06-14 Alan Modra + + * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define + MEMSET_is_local. + * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise. + Define MEMSET. + * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define + STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local. + * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise. Don't add + nop after local calls. + * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local. + Don't add nop after local call. + * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise. Add missing + CALL_MCOUNT. + +2017-06-14 Alan Modra + + * sysdeps/powerpc/powerpc64/sysdep.h: Formatting. + (FUNC_LABEL): Rename from DOT_LABEL. + (ENTRY_1): Use FUNC_LABEL and remove leading space from label. + Use .p2align rather than .align. + (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align. + (ABORT_TRANSACTION): Likewise. + (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons, + particularly at end. Add semicolon at invocation as necessary. + (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise. + (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY, + END): Adjust to suit. + +2017-06-14 Alan Modra + + * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN, + FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional. + (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE, + FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE, + FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace + uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset. + +2017-06-14 Alan Modra + + * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete. + (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct. + +2017-06-13 Gordana Cmiljanovic + + [BZ #21548] + * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as + 8 and use it when copying general purpose registers. + * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for + mips o32. + * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added + new test for mips o32. + * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as + 8 and use it when copying general purpose registers. + * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise. + +2017-06-13 Florian Weimer + + * configure.ac (find_cxx_header): Suppress compiler error message. + +2017-06-13 Florian Weimer + + * malloc/dynarray-skeleton.c: List begin/end as defined functions. + (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions. + * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for + begin/end. + * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin, + dynarray_int_end. + (test_str): Test dynarray_str_begin, dynarray_str_end. + +2017-06-13 H.J. Lu + + [BZ #21573] + * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add + $(common-objpfx)bits/std_abs.h. + [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h): + New target. + * config.make.in (c++-bits-std_abs-h): New. + * configure.ac (find_cxx_header): Use "\,$1," with sed. + (CXX_BITS_STD_ABS_H): New. + (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise. + * configure: Regenerated. + +2017-06-13 Zack Weinberg + + * posix/bits/cpu-set.h: Correct indentation of preprocessor + directives. + +2017-06-12 Zack Weinberg + + * bits/sched.h: Remove __need_schedparam logic and replace with a + normal multiple-include guard. Change field name in struct + sched_param from __sched_priority to sched_priority. Delete + everything under #ifndef __cpu_set_t_defined. + * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. Also sync with + kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants. + + * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h. + For compatibility, #define sched_priority to itself, and #define + __sched_priority as sched_priority. + * posix/bits/cpu-set.h: New file containing, verbatim, the code + that was under #ifndef __cpu_set_t_defined in + sysdeps/unix/sysv/linux/bits/sched.h. + * include/bits/cpu-set.h: New wrapper. + * posix/Makefile: Install bits/cpu-set.h. + +2017-06-12 Paul E. Murphy + Gabriel F. T. Gomes + Tulio Magno Quites Machado Filho + + * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128. + (%all_floats_pfx): Add macro prefix for float128 (FLT128). + * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN, + * math/libm-test-isfinite.inc (finite_test): Likewise. + * math/libm-test-lgamma.inc (gamma_test): Likewise. + * math/libm-test-nexttoward.inc (nexttoward_test): Likewise. + (nexttoward_test_data}: Likewise. + * math/libm-test-remainder.inc (drem_test): Likewise. + * math/libm-test-scalb.inc (scalb_test): Likewise. + (scalb_test_data): Likewise. + * math/libm-test-significand.inc (significand_test): Likewise. + (significand_test_data): Likewise. + * math/libm-test-support.c (check_complex): Replace __complex__ + FLOAT with CFLOAT to get the support for old compiler. + * math/libm-test-support.h (check_complex): Likewise. + * math/test-double.h (CFLOAT, TEST_FLOATN): New macros. + * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise. + * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise. + * math/test-float128.h: New file. + * math/test-math-floatn.h: New file. + +2017-06-12 Gabriel F. T. Gomes + + * include/float.h: Allow the definition of macros prefixed with + FLT128 even if _ISOMAC is defined, but provided that + __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro. + +2017-06-12 Gabriel F. T. Gomes + + * manual/math.texi (Mathematics): Add description for _FloatN and + _FloatNx types and mentions that they are not support in glibc for + any architecture, so far. + * manual/arith.texi (wcstof, wcstold): Replace the mention to + stdlib.h with wchar.h. + (Parsing of Floats): Add descriptions for strtofN and wcstofN. + (Printing of Floats): Add description for strfromfN. + +2017-06-12 Paul E. Murphy + Gabriel F. T. Gomes + Tulio Magno Quites Machado Filho + + * include/gmp.h (__mpn_construct_float128): New declaration. + * include/stdlib.h: Include bits/floatn.h for _Float128 tests. + (__strtof128_l): New declaration. + (__strtof128_nan): Likewise. + (__wcstof128_nan): Likewise. + (__strtof128_internal): Likewise. + (____strtof128_l_internal): Likewise. + * include/wchar.h: Include bits/floatn.h for _Float128 tests. + (__wcstof128_l): New declaration. + (__wcstof128_internal): Likewise. + + * stdlib/Makefile (bug-strtod2): Link libm too. + + * stdlib/stdlib.h (strtof128): New declaration. + (strtof128_l): Likewise. + + * stdlib/tst-strtod-nan-locale-main.c: Updated to use + tst-strtod.h macros to ensure float128 gets tested too. + + * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro. + + * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128 + tests. + (IF_FLOAT128): New macro. + (GEN_TEST_STRTOD): Update to optionally include _Float128 in + the tests. + (STRTOD_TEST_FOREACH): Likewise. + + * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and + wcstof128 functions into libc. + + * sysdeps/ieee754/float128/Versions: Add exports for the above + new functions. + + * sysdeps/ieee754/float128/mpn2float128.c: New file. + * sysdeps/ieee754/float128/strtod_nan_float128.h: New file. + * sysdeps/ieee754/float128/strtof128.c: New file. + * sysdeps/ieee754/float128/strtof128_l.c: New file. + * sysdeps/ieee754/float128/strtof128_nan.c: New file. + * sysdeps/ieee754/float128/wcstof128.c: New file. + * sysdeps/ieee754/float128/wcstof128_l.c: New file. + * sysdeps/ieee754/float128/wcstof128_nan.c: New fike. + * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS. + (CFLAGS-wcstof128_l): Likewise. + + * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests. + (wcstof128): New declaration. + (wcstof128_l): Likewise. + +2017-06-12 Joseph Myers + + [BZ #21552] + * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED], + not [__USE_XOPEN]. + * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove. + + [BZ #21550] + * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506]. + +2017-06-12 H.J. Lu + + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add + strcpy-sse2 and stpcpy-sse2. + * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file. + * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise. + * sysdeps/x86_64/multiarch/stpcpy.c: Likewise. + * sysdeps/x86_64/multiarch/stpncpy.c: Likewise. + * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise. + * sysdeps/x86_64/multiarch/strcpy.c: Likewise. + * sysdeps/x86_64/multiarch/strncpy.c: Likewise. + * sysdeps/x86_64/multiarch/stpcpy.S: Removed. + * sysdeps/x86_64/multiarch/stpncpy.S: Likewise. + * sysdeps/x86_64/multiarch/strcpy.S: Likewise. + * sysdeps/x86_64/multiarch/strncpy.S: Likewise. + * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New. + (libc_hidden_def): Always defined as empty. + * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def): + Always Defined as empty. + +2017-06-12 Wilco Dijkstra + + * string/string-inlines.c: Add undef of __stpcpy to fix build issue. + +2017-06-12 Wilco Dijkstra + + [BZ #15105] + [BZ #19463] + * include/string.h: Add internal redirect for __stpcpy. + * string/Makefile: Remove bits/string2.h. + * string/string.h: Update comment. + * string/string-inlines.c: Remove bits/string2.h include and comment. + * string/bits/string2.h: Remove file. + +2017-06-12 Wilco Dijkstra + + * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset. + * sunrpc/clnt_gen.c (clnt_create): Likewise. + * sunrpc/des_impl.c (_des_crypt): Likewise. + * sunrpc/key_call.c (key_gendes): Likewise. + * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise. + * sunrpc/svc_simple.c (universal): Likewise. + * sunrpc/svc_tcp.c (svctcp_create): Likewise. + * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise. + * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise. + +2017-06-10 Zack Weinberg + + * stdlib/errno.h: Correct an outdated comment. + +2017-06-09 Paul A. Clarke + + * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file. + Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs, + CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv. + * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c: + New file. Invoke newly supported sysconf values for powerpc, + and report results. If none are supported, report so. + * sysdeps/unix/sysv/linux/powerpc/Makefile (tests): Add new test, + tst-sysconf. + +2017-06-09 Tulio Magno Quites Machado Filho + + * include/sys/auxv.h (__getauxval): Add a prototype and its + libc_hidden_proto. + * misc/getauxval.c (__getauxval): Use libc_hidden_def. + +2017-06-09 Joseph Myers + + [BZ #21561] + * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to + [__USE_XOPEN_EXTENDED]. + (id_t): Likewise. + (include of on + [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]. Include + unconditionally. + [!__pid_t_defined] (pid_t): Define typedef. + +2017-06-09 Zack Weinberg + + * include/errno.h (__errno_location): Use __attribute_const__ + instead of bare __attribute__. + +2017-06-09 Zack Weinberg + + * Makeconfig (dl-tunable-list.h): Generate using a stamp file. + (common-generated): Add libc-modules.h and libc-modules.stmp in a + more appropriate location. Also add dl-tunable-list.h and + dl-tunable-list.stmp. + +2017-06-09 H.J. Lu + + * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments. + +2017-06-09 H.J. Lu + + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add + strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2. + * sysdeps/x86_64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add tests for __strrchr_avx2, + __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2. + * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file. + * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise. + * sysdeps/x86_64/multiarch/strrchr.c: Likewise. + * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise. + * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise. + * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise. + +2017-06-09 H.J. Lu + + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add + memrchr-sse2 and memrchr-avx2. + * sysdeps/x86_64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and + __memrchr_sse2. + * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file. + * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise. + * sysdeps/x86_64/multiarch/memrchr.c: Likewise. + +2017-06-09 H.J. Lu + + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add + strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2, + wcschr-sse2 and wcschr-avx2. + * sysdeps/x86_64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add tests for __strchr_avx2, + __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and + __wcschr_sse2. + * sysdeps/x86_64/multiarch/strchr-avx2.S: New file. + * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise. + * sysdeps/x86_64/multiarch/strchr.c: Likewise. + * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise. + * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise. + * sysdeps/x86_64/multiarch/strchrnul.c: Likewise. + * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise. + * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise. + * sysdeps/x86_64/multiarch/wcschr.c: Likewise. + * sysdeps/x86_64/multiarch/strchr.S: Removed. + +2017-06-09 H.J. Lu + + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add + strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2, + wcslen-sse2, wcslen-avx2 and wcsnlen-avx2. + * sysdeps/x86_64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add tests for __strlen_avx2, + __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2, + __wcslen_sse2 and __wcsnlen_avx2. + * sysdeps/x86_64/multiarch/strlen-avx2.S: New file. + * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise. + * sysdeps/x86_64/multiarch/strlen.c: Likewise. + * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise. + * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise. + * sysdeps/x86_64/multiarch/strnlen.c: Likewise. + * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise. + * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise. + * sysdeps/x86_64/multiarch/wcslen.c: Likewise. + * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise. + * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New. + (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where + vzeroupper is preferred and AVX unaligned load is fast. + +2017-06-09 H.J. Lu + + * sysdeps/x86_64/memchr.S (MEMCHR): New. Depending on if + USE_AS_WMEMCHR is defined. + (PCMPEQ): Likewise. + (memchr): Renamed to ... + (MEMCHR): This. Support wmemchr if USE_AS_WMEMCHR is defined. + Replace pcmpeqb with PCMPEQ. + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add + memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2, + wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c. + * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file. + * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise. + * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise. + * sysdeps/x86_64/multiarch/memchr.c: Likewise. + * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise. + * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise. + * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise. + * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise. + * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise. + * sysdeps/x86_64/multiarch/wmemchr.c: Likewise. + * sysdeps/x86_64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2, + __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and + __wmemchr_sse2. + +2017-06-09 Florian Weimer + + * malloc/Makefile (test-srcs): Remove tst-dynarray, + tst-dynarray-fail. + +2017-06-09 Florian Weimer + + Expose TEST_VERIFY_EXIT process termination to GCC optimizers. + * support/support_test_verify_impl.c + (support_test_verify_exit_impl): Split from + support_test_verify_impl. + * support/check.h (TEST_VERIFY): Drop status argument from + support_test_verify_impl call. + (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl. + (support_test_verify_impl): Remove status argument. + (support_test_verify_exit_impl): Declare. + +2017-06-09 Siddhesh Poyarekar + + * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove + mention of magic numbers in comments. + (_dl_procinfo): Fix undefined behavior + +2017-06-08 Joseph Myers + + * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for + [XPG4]. + (WEXITED): Likewise. + (WSTOPPED): Likewise. + (WCONTINUED): Likewise. + (WNOHANG): Likewise. + (WNOWAIT): Likewise. + (idtype_t): Likewise. + (P_ALL): Likewise. + (P_PID): Likewise. + (P_PGID): Likewise. + (id_t): Likewise. + (siginfo_t): Likewise. + (wait3): Likewise. + (waitid): Likewise. + (signal.h): Do not allow header for [XPG4]. + (sys/resource.h): Likewise. + (si_*): Do not allow for [XPG4]. + (W*): Likewise. + (P_*): Likewise. + (BUS_): Likewise. + (CLD_): Likewise. + (FPE_): Likewise. + (ILL_): Likewise. + (POLL_): Likewise. + (SEGV_): Likewise. + (SI_): Likewise. + (TRAP_): Likewise. + * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New variable. - * sysdeps/unix/bsd/make_siglist.c: Generate #define _sys_siglist - sys_siglist #ifndef HAVE_GNU_LD. - * stdio/psignal.h, string/strsignal.h [! HAVE_GNU_LD]: - #define _sys_siglist sys_siglist. +2017-06-08 H.J. Lu + + [BZ #21528] + * elf/dl-minimal.c (__strtoul_internal): Removed. + (strtoul): Likewise. + * elf/dl-misc.c (_dl_strtoul): New function. + * elf/dl-tunables.c (tunables_strtoul): Removed. + (tunable_initialize): Replace tunables_strtoul with _dl_strtoul. + * elf/rtld.c (process_envvars): Likewise. + * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init): + Likewise. + * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype. + +2017-06-08 Zack Weinberg + + * libio/bits/types/FILE.h, libio/bits/types/__FILE.h + * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h + * wcsmbs/bits/types/wint_t.h: New single-type definition files. + * wctype/bits/wctype-wchar.h: New file holding declarations shared + between wctype.h and wchar.h. + + * libio/Makefile, wcsmbs/Makefile, wctype/Makefile: + Install them. + + * include/bits/types/FILE.h, include/bits/types/__FILE.h + * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h + * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h: + New wrappers. + * include/stdio.h, include/wchar.h, include/wctype.h: + No need to handle __need macros. + + * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h + * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h + * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h + * wcsmbs/wchar.h, wctype/wctype.h + * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h + Use the new files instead of __need macros. + +2017-06-08 H.J. Lu + + * string/test-memrchr.c (test_main): Add tests for len == 0 + and tests for positions close to the beginning, which are + equivalent to positions close to the end for memchr. + +2017-06-07 H.J. Lu + + * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update + comments. + * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h + instead of wmemset.h. + * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise. + * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ... + * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This. + +2017-06-07 Gabriel F. T. Gomes + + * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize + spec->info.is_binary128 to zero. + * stdio-common/printf.h (printf_info): Add new member is_binary128 + to indicate that the number being converted to string is compatible + with the IEC 60559 binary128 format. + * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with + _Float128 numbers. + * stdio-common/printf_fphex.c: Include ieee754_float128.h and + ldbl-128/printf_fphex_macros.h + (__printf_fphex): Add code to deal with _Float128 numbers. + * stdio-common/printf_size.c (__printf_size): Likewise. + * stdio-common/vfprintf.c (process_arg): Initialize member + info.is_binary128 to zero. + * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro. + * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support. + (strfromf128): New declaration. + * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128 + to one. + * sysdeps/ieee754/float128/Makefile: Add strfromf128. + * sysdeps/ieee754/float128/Versions: Likewise. + * sysdeps/ieee754/float128/strfromf128.c: New file. + +2017-06-07 Gabriel F. T. Gomes + + * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include + ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX. + (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX. + * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h + (PRINT_FPHEX): New function-like macro that can be used for long + double, as well as for _Float128 + +2017-06-07 Gabriel F. T. Gomes + + * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro. + (__printf_fp_l): Use the new macro to avoid duplicating code. + * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro. + (__printf_fphex): Use the new macro to avoid duplicating code. + * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro. + (__printf_size): Use the new macro to avoid duplicating code. + +2017-06-07 Gabriel F. T. Gomes + + * include/gmp.h: Include bits/floatn.h + (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1. + * stdlib/gmp-impl.h: Also check if alloca is not defined before + including stack-alloc.h. It could have been defined by other header + which not necessarily defines HAVE_ALLOCA. + * sysdeps/ieee754/float128/Makefile: New file. + * sysdeps/ieee754/float128/float1282mpn.c: New file. + * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before + redefining __mpn_extract_long_double to __mpn_extract_float128, then + redefine __mpn_extract_long_double to __mpn_extract_float128. + * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with + _Float128 to allow float128_private.h overrides. + +2017-06-07 Paul E. Murphy + + * stdlib/fpioconst.h: Include bits/floatn.h. + (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the + power of ten table should be. + (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true. + * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE + to include larger tables when _Float128 support is enabled. + (_fpioconst_pow10): Likewise. + +2017-06-07 Joseph Myers + + * include/bits/types/clock_t.h: Use #include instead of + #include "../../path". + * include/bits/types/clockid_t.h: Likewise. + * include/bits/types/struct_iovec.h: Likewise. + * include/bits/types/struct_itimerspec.h: Likewise. + * include/bits/types/struct_osockaddr.h: Likewise. + * include/bits/types/struct_sigstack.h: Likewise. + * include/bits/types/struct_timespec.h: Likewise. + * include/bits/types/struct_timeval.h: Likewise. + * include/bits/types/struct_tm.h: Likewise. + * include/bits/types/time_t.h: Likewise. + * include/bits/types/timer_t.h: Likewise. + + [BZ #14096] + * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on + America/New_York. + +2017-06-07 H.J. Lu + + * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded + into ... + * sysdeps/x86_64/multiarch/wcsnlen.c: Here. Don't include + ifunc-sse4_1.h. + +2017-06-07 Arjun Shankar + + * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): + Remove check for NULL 'buf'. + * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'. + +2017-06-07 Arjun Shankar + + * sysdeps/unix/sysv/linux/tst-clone2.c: Do not + include test-skeleton.c. + Include support/check.h and support/test-driver.c. + +2017-06-07 Siddhesh Poyarekar + + * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c + (_dl_aarch64_cap_flags): New array. + * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h + (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement + functions. + + * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask. + * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]: + Likewise. + * sysdeps/x86/cpu-features.c (init_cpu_features): Always set + up hwcap and hwcap_mask. + + * sysdeps/unix/sysv/linux/aarch64/cpu-features.c + (init_cpu_features): Use glibc.tune.hwcap_mask. + * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file. + + * elf/dl-hwcaps.h: New file. + * elf/dl-hwcaps.c: Include it. + (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update + glibc.tune.hwcap_mask. + * elf/dl-cache.c: Include dl-hwcaps.h. + (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read + glibc.tune.hwcap_mask. + * sysdeps/sparc/sparc32/dl-machine.h: Likewise. + * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop + _dl_hwcap_mask. + * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop + _dl_hwcap_mask. + (process_envvars)[HAVE_TUNABLES]: Likewise. + * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]: + Likewise. + * sysdeps/x86/cpu-features.c (init_cpu_features): Don't + initialize dl_hwcap_mask when tunables are enabled. + + * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include + guard. + * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise. + + * elf/dl-tunables.list: Add glibc.tune.hwcap_mask. + * scripts/gen-tunables.awk: Include dl-procinfo.h. + * manual/tunables.texi: Document glibc.tune.hwcap_mask. + + * elf/Versions (__tunable_set_val): Rename to __tunable_get_val. + * elf/dl-tunables.c: Likewise. + (do_tunable_update_val): New function. + (__tunable_set_val): New function. + (__tunable_get_val): Call CB only if the tunable was externally + initialized. + (tunables_strtoul): Replace strval with initialized. + * elf/dl-tunables.h (strval): Replace with a bool initialized. + (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to + prevent collision. + (__tunable_set_val): New function. + (TUNABLE_GET, TUNABLE_GET_FULL): New macros. + (TUNABLE_SET, TUNABLE_SET_FULL): Likewise. + (TUNABLE_SET_VAL): Remove. + (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise. + * README.tunables: Document the new macros. + * malloc/arena.c (ptmalloc_init): Adjust. + +2017-06-06 H.J. Lu + + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add + wcsnlen-sse4_1 and wcsnlen-c. + * sysdeps/x86_64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and + __wcsnlen_sse2. + * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file. + * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise. + * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise. + * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise. + * sysdeps/x86_64/wcsnlen.S: Removed. + +2017-06-06 Stefan Liebler + + * sysdeps/s390/nptl/pthread_spin_init.c: Delete File. + * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise. + * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise. + * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise. + +2017-06-06 Stefan Liebler + + * NEWS: Mention new spinlock implementation. + * include/atomic.h: + (__atomic_val_bysize): Cast type to omit volatile qualifier. + (atomic_exchange_acq): Likewise. + (atomic_load_relaxed): Likewise. + (ATOMIC_EXCHANGE_USES_CAS): Check definition. + * nptl/pthread_spin_init.c (pthread_spin_init): + Use atomic_store_relaxed. + * nptl/pthread_spin_lock.c (pthread_spin_lock): + Use C11-like atomic macros. + * nptl/pthread_spin_trylock.c (pthread_spin_trylock): + Likewise. + * nptl/pthread_spin_unlock.c (pthread_spin_unlock): + Use atomic_store_release. + * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File. + * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise. + * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise. + * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise. + * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise. + * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise. + * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise. + * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define. + * sysdeps/alpha/atomic-machine.h: Likewise. + * sysdeps/arm/atomic-machine.h: Likewise. + * sysdeps/i386/atomic-machine.h: Likewise. + * sysdeps/ia64/atomic-machine.h: Likewise. + * sysdeps/m68k/coldfire/atomic-machine.h: Likewise. + * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise. + * sysdeps/microblaze/atomic-machine.h: Likewise. + * sysdeps/mips/atomic-machine.h: Likewise. + * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise. + * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise. + * sysdeps/s390/atomic-machine.h: Likewise. + * sysdeps/sparc/sparc32/atomic-machine.h: Likewise. + * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise. + * sysdeps/sparc/sparc64/atomic-machine.h: Likewise. + * sysdeps/tile/tilegx/atomic-machine.h: Likewise. + * sysdeps/tile/tilepro/atomic-machine.h: Likewise. + * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise. + * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise. + * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise. + * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise. + * sysdeps/x86_64/atomic-machine.h: Likewise. + +2017-06-05 H.J. Lu + + * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features + and use it instead of dl_x86_cpu_features. + (handle_intel): Replace maxidx with cpu_features. Pass + cpu_features to intel_check_word. + (__cache_sysconf): Pass cpu_features to handle_intel. + (init_cacheinfo): Likewise. Use cpu_features instead of + dl_x86_cpu_features. + +2017-06-05 H.J. Lu + + * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New. + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add + memcmp-avx2 and wmemcmp-avx2. + * sysdeps/x86_64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2. + * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file. + * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise. + * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX + 2 machines if AVX unaligned load is fast and vzeroupper is + preferred. + * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX + 2 machines if AVX unaligned load is fast and vzeroupper is + preferred. + +2017-06-05 H.J. Lu + + * include/wchar.h (__wmemset_chk): New. + * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed + to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN. + (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New. + (WMEMSET_CHK_SYMBOL): Likewise. + (WMEMSET_SYMBOL): Likewise. + (__wmemset): Add hidden definition. + (wmemset): Add weak hidden definition. + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add + wmemset_chk-nonshared. + * sysdeps/x86_64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned, + __wmemset_avx2_unaligned, __wmemset_avx512_unaligned, + __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned + and __wmemset_chk_avx512_unaligned. + * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S + (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ... + (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This. + (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New. + (WMEMSET_SYMBOL): Likewise. + * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S + (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ... + (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This. + (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New. + (WMEMSET_SYMBOL): Likewise. + * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated. + (WMEMSET_CHK_SYMBOL): New. + (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise. + (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise. + * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New. + (libc_hidden_builtin_def): Also define __GI_wmemset and + __GI___wmemset. + (weak_alias): New. + * sysdeps/x86_64/multiarch/wmemset.c: New file. + * sysdeps/x86_64/multiarch/wmemset.h: Likewise. + * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise. + * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise. + * sysdeps/x86_64/wmemset.c: Likewise. + * sysdeps/x86_64/wmemset_chk.c: Likewise. + +2017-06-05 Adhemerval Zanella + H.J. Lu + + * sysdeps/x86/init-arch.h (PASTER1): New. + (EVALUATOR1): Likewise. + (PASTER2): Likewise. + (EVALUATOR2): Likewise. + (REDIRECT_NAME): Likewise. + (OPTIMIZE): Likewise. + (IFUNC_SELECTOR): Likewise. + +2017-06-05 H.J. Lu + + * sysdeps/x86_64/strlen.S (PMINU): New. + (PCMPEQ): Likewise. + (SHIFT_RETURN): Likewise. + (FIND_ZERO): Replace pcmpeqb with PCMPEQ. + (strlen): Add SHIFT_RETURN before ret. Replace pcmpeqb and + pminub with PCMPEQ and PMINU. + * sysdeps/x86_64/wcsnlen.S: New file. + +2017-06-05 H.J. Lu + + * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for + the lower 32 bits. Remove redundant instructions. + +2017-06-05 H.J. Lu + + * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass + 0 as the high part of offset. + * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New. + +2017-06-05 Joseph Myers + + [BZ #21538] + * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not + [__USE_UNIX98]. + * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD): + Likewise. + * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise. + * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise. + * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD): + Likewise. + + [BZ #21517] + * bits/types/stack_t.h (stack_t): Remove struct tag. + * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t): + Likewise. + * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t): + Likewise. + * debug/segfault.c (install_handler): Use stack_t instead of + struct sigaltstack. + * hurd/hurd/signal.h (struct hurd_sigstate): Likewise. + * hurd/trampoline.c (_hurd_setup_sighandler): Likewise. + * include/signal.h (__sigaltstack): Likwise. + * signal/sigaltstack.c (__sigaltstack): Likewise. + * signal/signal.h (sigaltstack): Likewise. + * sysdeps/mach/hurd/i386/signal-defines.sym + (SIGALTSTACK__SS_SP__OFFSET): Likewise. + (SIGALTSTACK__SS_SIZE__OFFSET): Likewise. + (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise. + * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise. + * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise. + * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct + elf_prstatus): Likewise. + * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP): + Likewise. + * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus): + Likewise. + * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP): + Likewise. + * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct + elf_prstatus): Likewise. + * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus): + Likewise. + * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus): + Likewise. + +2017-06-04 Zack Weinberg + + * sysdeps/gnu/errlist.c: Regenerate. + +2017-06-04 H.J. Lu + + * benchtests/bench-memchr.c (do_test): Print out both length + and position. + (test_main): Also test the position close to the beginning for + memrchr. + +2017-06-04 Zack Weinberg + + * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c + * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c + * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c + * nis/nis_destroygroup.c, nis/nis_domain_of.c + * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c + * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c + * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c + * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c + * nis/nis_print_group_entry.c, nis/nis_remove.c + * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c + * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c + * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c + * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c + * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c + * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c + * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c + * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c + * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c + * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c + * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c + * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c + * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c + * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c + * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c + * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c + * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c + * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c + * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c + * sunrpc/xdr_stdio.c: Include shlib-compat.h. + + * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include + abi-versions.h as well as shlib-compat.h. + * sunrpc/get_myaddr.c: Remove obsolete comment. + * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef. + * sunrpc/rpc_thread.c: Include libc-lock.h only once. + * resolv/res_libc.c: Include shlib-compat.h only once. + +2017-06-03 Florian Weimer + + * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead + of strdup. + +2017-06-02 H.J. Lu + + * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold): + Set to the 3/4 of the total shared cache size. + +2017-06-02 Rical Jasan + + * manual/errno.texi: Remove redundant error strings. + * manual/macros.texi (@errno): Render the error string in every + description. + +2017-06-02 Joseph Myers + + [BZ #21543] + * signal/signal.h: Only include and + if [__USE_POSIX199309], not if + [__USE_XOPEN_EXTENDED]. + +2017-06-02 Florian Weimer + + * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another + strdupa. + (getcanonname): Use __strdup instead of strdup. + +2017-06-02 Adhemerval Zanella + + * misc/Makefile (CFLAGS-preadv2.c): New rule. + (CFLAGS-preadv64v2.c): Likewise. + (CFLAGS-pwritev2.c): Likewise. + (CFLAGS-pwritev64v2.c): Likewise. + +2017-06-02 Florian Weimer + + Test res_init with several configuration files. + * resolv/Makefile [build-shared] (tests-internal): Add + tst-resolv-res_init, tst-resolv-res_init-thread. + (tst-resolv-res_init): Link against libdl, libresolv. + (tst-resolv-res_init-thread): Link against libdl, libresolv, + libpthread. + * resolv/tst-resolv-res_init.c: New file. + * resolv/tst-resolv-res_init-skeleton.c: Likewise. + * resolv/tst-resolv-res_init-thread.c: Likewise. + * support/Makefile (libsupport-routines): Add support-xstat, + support_can_chroot, support_capture_subprocess_check, + support_isolate_in_subprocess, support_shared_allocate, + support_write_file_string, xchroot, xmkdir, xopen. + * support/capture_subprocess.h (enum support_capture_allow): Define. + (support_capture_subprocess_check): Declare. + * support/namespace.h (support_can_chroot) + (support_isolate_in_subprocess): Declare. + * support/support-xstat.c: New file. + * support/support.h (support_shared_allocate, support_shared_free) + (support_write_file_string): Declare. + * support/support_can_chroot.c: New file. + * support/support_capture_subprocess_check.c: Likewise. + * support/support_isolate_in_subprocess.c: Likewise. + * support/support_shared_allocate.c: Likewise. + * support/support_write_file_string.c: Likewise. + * support/xchroot.c: Likwise. + * support/xmkdir.c: Likwise. + * support/xopen.c: Likwise. + * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare. + +2017-06-02 Florian Weimer + + * sysdeps/posix/getaddrinfo.c (getcanonname): New function. + (gaih_inet): Remove malloc_canonbuf variable. Call getcanonname. + +2017-06-02 Florian Weimer + + * malloc/Makefile (routines): Add dynarray_at_failure, + dynarray_emplace_enlarge, dynarray_finalize. + (tests-internal): Add tst-dynarray, tst-dynarray-fail, + tst-dynarray-at-fail. + (tests-srcs): Add tst-dynarray, tst-dynarray-fail. + (tests-special): Add tst-dynarray-mem.out, + tst-dynarray-mem-fail.out. + (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set. + (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using + mtrace. + * malloc/Versions (__libc_dynarray_at_failure) + (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize) + (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as + GLIBC_PRIVATE. + * malloc/dynarray.h: New file. + * malloc/dynarray-skeleton.c: Likewise. + * malloc/dynarray_at_failure.c: Likewise. + * malloc/dynarray_emplace_enlarge.c: Likewise. + * malloc/dynarray_finalize.c: Likewise. + * malloc/dynarray_resize.c: Likewise. + * malloc/dynarray_resize_clear.c: Likewise. + * malloc/tst-dynarray.c: Likewise. + * malloc/tst-dynarray-fail.c: Likewise. + * malloc/tst-dynarray-at-fail.c: Likewise. + * malloc/tst-dynarray-shared.h: Likewise. + * support/Makefile (libsupport-routines): Add + support_capture_subprocess, xdup2, xpipe. + (tests): Add tst-support_capture_subprocess. + * support/capture_subprocess.h: New file. + * support/support_capture_subprocess.c: Likewise. + * support/tst-support_capture_subprocess.c: Likewise. + * support/xdup2.c: Likewise. + * support/xpipe.c: Likewise. + * support/xunistd.h (xdup2, xpipe): Declare. + +2017-06-01 Gabriel F. T. Gomes + + * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the + macros MAX and MIN. + +2017-06-01 Joseph Myers + + * conform/data/signal.h-data (sa_sigaction): Do not expect for + [XPG4]. + (SA_SIGINFO): Likewise. + (SA_ONSTACK): Likewise. + (SA_RESETHAND): Likewise. + (SA_RESTART): Likewise. + (SA_NOCLDWAIT): Likewise. + (SA_NODEFER): Likewise. + (SS_ONSTACK): Likewise. + (SS_DISABLE): Likewise. + (MINSIGSTKSZ): Likewise. + (SIGSTKSZ): Likewise. + (ucontext_t): Likewise. + (stack_t): Likewise. + (struct sigstack): Likewise. + (SI_USER): Do not expect for [XPG4 || XPG42]. + (SI_QUEUE): Likewise. + (SI_TIMER): Likewise. + (SI_ASYNCIO): Likewise. + (SI_MESGQ): Likewise. + (bsd_signal): Do not expect for [XPG4]. + (killpg): Likewise. + (sigaltstack): Likewise. + (sighold): Likewise. + (sigignore): Likewise. + (siginterrupt): Likewise. + (sigpause): Likewise. + (sigrelse): Likewise. + (sigset): Likewise. + (sigwait): Do not expect for [XPG4 || XPG42]. + +2017-06-01 Zack Weinberg + + [BZ #21514] + * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header + pointing to the generated file in /misc/bits/syscall.h. + +2017-06-01 Joseph Myers + + [BZ #21457] + * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define + NGREG to __NGREG if [__USE_MISC]. + (gregset_t): Define using __NGREG. + (__ctx): New macro. + (mcontext_t): Use __ctx in defining fields. + * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and + define NGREG to __NGREG if [__USE_MISC]. + (gregset_t): Define using __NGREG. + (__ctx): New macro. + (__ctxt): Likewise. + (fpregset_t): Use __ctx and __ctxt in defining fields. + (mcontext_t): Likewise. + * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and + define NGREG to __NGREG if [__USE_MISC]. + (gregset_t): Define using __NGREG. + (__ctx): New macro. + (mcontext_t): Use __ctx in defining fields. + * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and + define NGREG to __NGREG if [__USE_MISC]. + (gregset_t): Define using __NGREG. + (__ctx): New macro. + (fpregset_t): Use __ctx in defining fields. + (mcontext_t): Likewise. + * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to + __NGREG and define NGREG to __NGREG if [__USE_MISC]. + (gregset_t): Define using __NGREG. + (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if + [__USE_MISC]. + (fpregset_t): Define using __NFPREG. + * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to + __NGREG and define NGREG to __NGREG if [__USE_MISC]. + (gregset_t): Define using __NGREG. + (__ctx): New macro. + (fpregset_t): Use __ctx in defining fields. + (mcontext_t): Likewise. + * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to + __NGREG and define NGREG to __NGREG if [__USE_MISC]. + (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if + [__USE_MISC]. + (gregset_t): Define using __NGREG. + (__ctx): New macro. + (fpregset_t): Use __ctx in defining fields. + (mcontext_t): Likewise. + * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro. + (mcontext_t): Use __ctx in defining fields. + * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New + macro. + [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to + __NGREG if [__USE_MISC]. + [__WORDSIZE == 32] (gregset_t): Define using __NGREG. + [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields. + (mcontext_t): Likewise. + [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to + __NGREG if [__USE_MISC]. + [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG + to __NFPREG if [__USE_MISC]. + [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG + to __NVRREG if [__USE_MISC]. + [__WORDSIZE != 32] (gregset_t): Define using __NGREG. + [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG. + [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields. + [__WORDSIZE != 32] (vrregset_t): Likewise. + [__WORDSIZE != 32] (mcontext_t): Likewise. + * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro. + (__psw_t): Use __ctx in defining fields. + (NGREG): Rename to __NGREG and define NGREG to __NGREG if + [__USE_MISC]. + (gregset_t): Define using __NGREG. + (fpreg_t): Use __ctx in defining fields. + (fpregset_t): Likewise. + (mcontext_t): Likewise. + * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to + __NGREG and define NGREG to __NGREG if [__USE_MISC]. + (gregset_t): Define using __NGREG. + (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if + [__USE_MISC]. + (fpregset_t): Define using __NFPREG. + (__ctx): New macro. + (mcontext_t): Use __ctx in defining fields. + * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro. + [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to + __NGREG if [__USE_MISC]. + [__x86_64__] (gregset_t): Define using __NGREG. + [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields. + [__x86_64__] (struct _libc_fpstate): Likewise. + [__x86_64__] (mcontext_t): Likewise. + [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to + __NGREG if [__USE_MISC]. + [!__x86_64__] (gregset_t): Define using __NGREG. + [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields. + [!__x86_64__] (struct _libc_fpstate): Likewise. + [!__x86_64__] (mcontext_t): Likewise. + +2017-06-01 Zack Weinberg + + * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include + alpha/pt-vfork.S. Provide own compat shim for vfork and __vfork. + * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias. + * sysdeps/unix/sysv/linux/microblaze/localplt.data: + libpthread.so no longer references __errno_location. + +2017-05-31 Adhemerval Zanella + + * NEWS: Add note about pwritev2 and preadv2 inclusion. + * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and + pwritev64v2. + (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2. + * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and + pwritev64v2. + * misc/preadv2.c: New file. + * misc/preadv64v2.c: Likewise. + * misc/pwritev2.c: Likewise. + * misc/pwritev64v2.c: Likewise. + * misc/tst-preadvwritev2.c: Likewise. + * misc/tst-preadvwritev64v2.c: Likewise. + * manual/llio.texi: Add preadv2 and pwritev2 documentation. + * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New + prototype. + [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise. + [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise. + [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise. + * misc/tst-preadvwritev-common.c (PREADV): Define if not defined. + (PWRITEV): Likewise. + (do_test_with_offset): Use PREADV and PWRITEV macros and check for + ENOSYS. + * nptl/tst-cancel4.c (tf_pwritev2): New test. + (tf_preadv2): Likewise. + (tf_fsync): Add tf_pwritev2 and tf_preadv2. + * sysdeps/posix/preadv2.c: Likewise. + * sysdeps/posix/preadv64v2.c: Likewise. + * sysdeps/posix/pwritev2.c: Likewise. + * sysdeps/posix/pwritev64v2.c: Likewise. + * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall + support in kernel. + * sysdeps/unix/sysv/linux/preadv2.c: Likewise. + * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise. + * sysdeps/unix/sysv/linux/pwritev2.c: Likewise. + * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise. + * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def. + * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise. + * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise. + * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise. + * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2 + support flags on Linux. + * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add + preadv2, preadv64v2, pwritev2, pwritev64v2. + * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise. + * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise. + * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise. + * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise. + * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise. + * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26): + Likewise. + * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26): + Likewise. + * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26): + Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26): + Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26): + Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26): + Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26): + Likewise. + * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist + (GLIBC_2.26): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist + (GLIBC_2.26): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26): + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist + (GLIBC_2.26): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26): + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26): + Likewise. + * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26): + Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26): + Likewise. + * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26): + Likewise. + * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26): + Likewise. + * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26): + Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26): + Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26): + Likewise. + +2017-05-31 Andreas Schwab + + * nptl/tst-fork3.c: Include . + (main): Rename to do_test and make static. + +2017-05-31 Siddhesh Poyarekar + + * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define + ARCH_INIT_CPU_FEATURES. + (LIBC_START_MAIN): Call it. + * sysdeps/unix/sysv/linux/aarch64/libc-start.c + (__libc_start_main): Remove. + (ARCH_INIT_CPU_FEATURES): New macro. + * sysdeps/x86/libc-start.c (__libc_start_main): Remove. + (ARCH_INIT_CPU_FEATURES): New macro. + +2017-05-30 Dennis Wölfing + RĂŒdiger Sonderfeld + + * include/stdlib.h (__libc_reallocarray): New declaration. + * malloc/Makefile (routines): Add reallocarray. + (tests): Add tst-reallocarray.c. + * malloc/Versions: Add reallocarray and __libc_reallocarray. + * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline + function. + * malloc/malloc.h (reallocarray): New declaration. + * stdlib/stdlib.h (reallocarray): Likewise. + * malloc/reallocarray.c: New file. + * malloc/tst-reallocarray.c: New test file. + * manual/memory.texi: Document reallocarray. + * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray. + * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise. + +2017-05-30 H.J. Lu + + * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for + the lower 32 bits. + +2017-05-29 Andreas Schwab + + * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu && + $(build-pie-default) = yes]: Define. + +2017-05-25 H.J. Lu + + * string/test-memchr.c (test_main): Add tests for n == 0. + +2017-05-25 Tulio Magno Quites Machado Filho + + * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static, + nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to... + (tests-internal): ... here. + +2017-05-25 Siddhesh Poyarekar + H.J. Lu + + * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias. + * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld. + (__tunable_set_val): Likewise. + +2017-05-25 H.J. Lu + + * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check + dl-tunables.list in subdirectories. + +2017-05-25 Paul E. Murphy + Gabriel F. T. Gomes + Tulio Magno Quites Machado Filho + + * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] + (SNANF128): New macro. + * math/e_sqrtf128.c: New file. + * math/s_fmaxmag_template.c: Include math_private.h in order to + make inline expansion of fabs128(). + * math/s_fminmag_template.c: Likewise. + + * sysdeps/ieee754/float128/e_acosf128.c: New file. + * sysdeps/ieee754/float128/e_acoshf128.c: New file. + * sysdeps/ieee754/float128/e_asinf128.c: New file. + * sysdeps/ieee754/float128/e_atan2f128.c: New file. + * sysdeps/ieee754/float128/e_atanhf128.c: New file. + * sysdeps/ieee754/float128/e_coshf128.c: New file. + * sysdeps/ieee754/float128/e_exp10f128.c: New file. + * sysdeps/ieee754/float128/e_expf128.c: New file. + * sysdeps/ieee754/float128/e_fmodf128.c: New file. + * sysdeps/ieee754/float128/e_gammaf128_r.c: New file. + * sysdeps/ieee754/float128/e_hypotf128.c: New file. + * sysdeps/ieee754/float128/e_ilogbf128.c: New file. + * sysdeps/ieee754/float128/e_j0f128.c: New file. + * sysdeps/ieee754/float128/e_j1f128.c: New file. + * sysdeps/ieee754/float128/e_jnf128.c: New file. + * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file. + * sysdeps/ieee754/float128/e_log10f128.c: New file. + * sysdeps/ieee754/float128/e_log2f128.c: New file. + * sysdeps/ieee754/float128/e_logf128.c: New file. + * sysdeps/ieee754/float128/e_powf128.c: New file. + * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file. + * sysdeps/ieee754/float128/e_remainderf128.c: New file. + * sysdeps/ieee754/float128/e_scalbf128.c: New file. + * sysdeps/ieee754/float128/e_sinhf128.c: New file. + * sysdeps/ieee754/float128/float128_private.h: New file. + * sysdeps/ieee754/float128/gamma_productf128.c: New file. + * sysdeps/ieee754/float128/ieee754_float128.h: New file. + * sysdeps/ieee754/float128/k_cosf128.c: New file. + * sysdeps/ieee754/float128/k_sincosf128.c: New file. + * sysdeps/ieee754/float128/k_sinf128.c: New file. + * sysdeps/ieee754/float128/k_tanf128.c: New file. + * sysdeps/ieee754/float128/lgamma_negf128.c: New file. + * sysdeps/ieee754/float128/lgamma_productf128.c: New file. + * sysdeps/ieee754/float128/s_asinhf128.c: New file. + * sysdeps/ieee754/float128/s_atanf128.c: New file. + * sysdeps/ieee754/float128/s_cbrtf128.c: New file. + * sysdeps/ieee754/float128/s_ceilf128.c: New file. + * sysdeps/ieee754/float128/s_copysignf128.c: New file. + * sysdeps/ieee754/float128/s_cosf128.c: New file. + * sysdeps/ieee754/float128/s_erff128.c: New file. + * sysdeps/ieee754/float128/s_expm1f128.c: New file. + * sysdeps/ieee754/float128/s_fabsf128.c: New file. + * sysdeps/ieee754/float128/s_finitef128.c: New file. + * sysdeps/ieee754/float128/s_floorf128.c: New file. + * sysdeps/ieee754/float128/s_fmaf128.c: New file. + * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file. + * sysdeps/ieee754/float128/s_frexpf128.c: New file. + * sysdeps/ieee754/float128/s_fromfpf128.c: New file. + * sysdeps/ieee754/float128/s_fromfpxf128.c: New file. + * sysdeps/ieee754/float128/s_getpayloadf128.c: New file. + * sysdeps/ieee754/float128/s_isinff128.c: New file. + * sysdeps/ieee754/float128/s_isnanf128.c: New file. + * sysdeps/ieee754/float128/s_issignalingf128.c: New file. + * sysdeps/ieee754/float128/s_llrintf128.c: New file. + * sysdeps/ieee754/float128/s_llroundf128.c: New file. + * sysdeps/ieee754/float128/s_log1pf128.c: New file. + * sysdeps/ieee754/float128/s_logbf128.c: New file. + * sysdeps/ieee754/float128/s_lrintf128.c: New file. + * sysdeps/ieee754/float128/s_lroundf128.c: New file. + * sysdeps/ieee754/float128/s_modff128.c: New file. + * sysdeps/ieee754/float128/s_nearbyintf128.c: New file. + * sysdeps/ieee754/float128/s_nextafterf128.c: New file. + * sysdeps/ieee754/float128/s_nexttowardf128.c: New file. + * sysdeps/ieee754/float128/s_nextupf128.c: New file. + * sysdeps/ieee754/float128/s_remquof128.c: New file. + * sysdeps/ieee754/float128/s_rintf128.c: New file. + * sysdeps/ieee754/float128/s_roundevenf128.c: New file. + * sysdeps/ieee754/float128/s_roundf128.c: New file. + * sysdeps/ieee754/float128/s_scalblnf128.c: New file. + * sysdeps/ieee754/float128/s_scalbnf128.c: New file. + * sysdeps/ieee754/float128/s_setpayloadf128.c: New file. + * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file. + * sysdeps/ieee754/float128/s_signbitf128.c: New file. + * sysdeps/ieee754/float128/s_significandf128.c: New file. + * sysdeps/ieee754/float128/s_sincosf128.c: New file. + * sysdeps/ieee754/float128/s_sinf128.c: New file. + * sysdeps/ieee754/float128/s_tanf128.c: New file. + * sysdeps/ieee754/float128/s_tanhf128.c: New file. + * sysdeps/ieee754/float128/s_totalorderf128.c: New file. + * sysdeps/ieee754/float128/s_totalordermagf128.c: New file. + * sysdeps/ieee754/float128/s_truncf128.c: New file. + * sysdeps/ieee754/float128/s_ufromfpf128.c: New file. + * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file. + * sysdeps/ieee754/float128/t_sincosf128.c: New file. + * sysdeps/ieee754/float128/x2y2m1f128.c: New file. + + * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: + (__iscanonicalf128): Define as a macro. + +2017-05-24 Steve Ellcey + + * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros. + (memmove): Use MEMMOVE for name. + (memcpy): Use MEMCPY for name. Change internal labels + to external labels. + * sysdeps/aarch64/multiarch/Makefile: New file. + * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise. + * sysdeps/aarch64/multiarch/init-arch.h: Likewise. + * sysdeps/aarch64/multiarch/memcpy.c: Likewise. + * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise. + * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise. + * sysdeps/aarch64/multiarch/memmove.c: Likewise. + +2017-05-24 Siddhesh Poyarekar + + * sysdeps/unix/sysv/linux/arm/dl-procinfo.c + (_dl_arm_cap_flags): Fix array subscript. + * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT): + Fix count. + +2017-05-24 H.J. Lu + + * sysdeps/x86/cacheinfo.c: Skip if not in libc. + +2017-05-24 H.J. Lu + + * sysdeps/x86/cacheinfo.c (is_intel): Removed. + (is_amd): Likewise. + (max_cpuid): Likewise. + (__cache_sysconf): Use __get_cpu_features to get cpu_features. + (init_cacheinfo): Likewise. + +2017-05-23 Joseph Myers + + [BZ #21511] + * signal/signal.h: Include only if + [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC]. + (sigstack): Declare only if [(__USE_XOPEN_EXTENDED && + !__USE_XOPEN2K) || __USE_MISC]. + * conform/data/signal.h-data (struct sigstack): Expect type only + if [!XOPEN2K8 && !POSIX2008]. + (sigstack): Expect function only if [XPG42 || UNIX98]. + + [BZ #21457] + * sysdeps/arm/sys/ucontext.h: Do not include , + , or + . Include instead of + . + (ucontext_t): Use sigset_t instead of __sigset_t. + * sysdeps/generic/sys/ucontext.h: Do not include , + , or + . Include instead of + . + (ucontext_t): Use sigset_t instead of __sigset_t. + * sysdeps/i386/sys/ucontext.h: Do not include , + , or + . Include instead of + . + (ucontext_t): Use sigset_t instead of __sigset_t. + * sysdeps/m68k/sys/ucontext.h: Do not include , + , or + . Include instead of + . + (ucontext_t): Use sigset_t instead of __sigset_t. + * sysdeps/mips/sys/ucontext.h: Do not include , + , or + . Include instead of + . + (ucontext_t): Use sigset_t instead of __sigset_t. + * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include + , , or + . Include instead of + . + (ucontext_t): Use sigset_t instead of __sigset_t. + * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include + , , or + . Include instead of + . + (ucontext_t): Use sigset_t instead of __sigset_t. + * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include + , , or + . Include instead of + . + (ucontext_t): Use sigset_t instead of __sigset_t. + * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include + , , or + . Include instead of + . + (ucontext_t): Use sigset_t instead of __sigset_t. + * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include + , , or + . Include . + * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include + , , or + . Include instead of + . + (ucontext_t): Use sigset_t instead of __sigset_t. + * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include + , , or + . Include instead of + . + (ucontext_t): Use sigset_t instead of __sigset_t. + * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include + , , or + . Include instead of + . + (ucontext_t): Use sigset_t instead of __sigset_t. + * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include + , or + . + * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include + , , or + . Include instead of + . + (ucontext_t): Use sigset_t instead of __sigset_t. + * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include + , , or + . Include instead of + . + (ucontext_t): Use sigset_t instead of __sigset_t. + * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include + , , or + . Include instead of + . + (ucontext_t): Use sigset_t instead of __sigset_t. + * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include + , , or + . Include instead of + . + (ucontext_t): Use sigset_t instead of __sigset_t. + * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include + . + * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include + , , or + . Include instead of + . + (ucontext_t): Use sigset_t instead of __sigset_t. + +2017-05-22 Zack Weinberg + + * sysdeps/unix/sysv/linux/bits/siginfo-consts.h + (__SI_ASYNCIO_AFTER_SIGIO): Define default after including + bits/siginfo-arch.h, only if not already defined. + * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h + (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T) + (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL): + Likewise. + + * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h + * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h + * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h + * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h + * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h: + Unconditionally define __SI_* macros. + +2017-05-22 Adhemerval Zanella + + [BZ #21393] + * libio/freopen.c (freopen): Avoid dup already opened file descriptor + and add a check for dup3 failure. + * libio/freopen64.c (freopen64): Likewise. + * libio/tst-freopen.c (do_test): Rename to do_test_basic and use + libsupport. + (do_test_bz21398): New test. + * manual/stdio.texi (freopen): Add documentation of EBUSY failure. + +2017-05-22 Siddhesh Poyarekar + + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host): + Remove invalid comment. + +2017-05-21 Zack Weinberg + + * signal/Makefile (headers): Add bits/types/sigval_t.h. + +2017-05-20 Zack Weinberg + + * bits/sigevent-consts.h + * bits/siginfo-consts.h + * bits/types/__sigset_t.h + * bits/types/sigevent_t.h + * bits/types/siginfo_t.h + * sysdeps/unix/sysv/linux/bits/sigevent-consts.h + * sysdeps/unix/sysv/linux/bits/siginfo-consts.h + * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h + * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h + * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: + New system-dependent bits headers. + + * sysdeps/unix/sysv/linux/bits/siginfo-arch.h + * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h + * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h + * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h + * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h + * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h + * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h + * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h + * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h: + New Linux-only system-dependent bits headers. + + * signal/bits/types/sig_atomic_t.h + * signal/bits/types/sigset_t.h + * signal/bits/types/sigval_t.h: + New non-system-dependent bits headers. + + * sysdeps/generic/sigsetops.h + * sysdeps/unix/sysv/linux/sigsetops.h: + New internal headers. + + * include/bits/types/sig_atomic_t.h + * include/bits/types/sigset_t.h + * include/bits/types/sigval_t.h: + New wrappers. + + * signal/sigsetops.h + * bits/siginfo.h + * bits/sigset.h + * sysdeps/unix/sysv/linux/bits/siginfo.h + * sysdeps/unix/sysv/linux/bits/sigset.h + * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h + * sysdeps/unix/sysv/linux/mips/bits/siginfo.h + * sysdeps/unix/sysv/linux/s390/bits/siginfo.h + * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h + * sysdeps/unix/sysv/linux/tile/bits/siginfo.h + * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: + Deleted. + + * signal/Makefile, sysdeps/unix/sysv/linux/Makefile: + Update lists of installed headers. + + * posix/bits/types.h: Define __sig_atomic_t here. + * signal/signal.h: Use the new bits headers; no need to handle + __need_sig_atomic_t nor __need_sigset_t. Don't use __sigmask + to define sigmask. + * include/signal.h: No need to handle __need_sig_atomic_t + nor __need_sigset_t. Don't define __sigemptyset. + + * io/sys/poll.h, setjmp/setjmp.h + * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h + * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h + * sysdeps/mach/hurd/i386/bits/sigcontext.h + * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h + * sysdeps/pthread/bits/sigthread.h + * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h + * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h + * sysdeps/unix/sysv/linux/mips/sys/ucontext.h + * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h + * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h + * sysdeps/unix/sysv/linux/s390/sys/ucontext.h + * sysdeps/unix/sysv/linux/sh/sys/ucontext.h + * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h + * sysdeps/unix/sysv/linux/tile/sys/ucontext.h + * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: + Use bits/types/__sigset_t.h. + + * misc/sys/select.h, posix/spawn.h + * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h + * sysdeps/unix/sysv/linux/sys/epoll.h + * sysdeps/unix/sysv/linux/sys/signalfd.h: + Use bits/types/sigset_t.h. + + * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h. + * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h. + * socket/sys/socket.h: Don't include bits/sigset.h. + + * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c + * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c + * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c + * sysdeps/posix/signal.c, sysdeps/posix/sigset.c + * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c + * sysdeps/unix/sysv/linux/nptl-signals.h: + Include sigsetops.h. + + * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c + * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c + * sysdeps/posix/signal.c, sysdeps/posix/sigset.c: + __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset + now return no value. + + * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c + Include , , and instead of + "sigsetops.h". + + * signal/sigsetops.c: Explicitly define __sigismember, + __sigaddset, and __sigdelset as compatibility symbols. + + * signal/Versions: Correct commentary on __sigpause, + __sigaddset, __sigdelset, __sigismember. + + * inet/rcmd.c: Include sigsetops.h. Convert old code using + __sigblock/__sigsetmask to use __sigprocmask and friends. + + * resolv/resolv.h: Remove __need_res_state logic. + Move definition of res_state and related constants to ... + * resolv/bits/types/res_state.h: ...this new file. + * resolv/Makefile: Install bits/types/res_state.h. + * include/bits/types/res_state.h: New wrapper. + * include/list.h: Remove __need_list_t logic. + Move definition of list_t to ... + * include/list_t.h: ...this new file. + + * nptl/descr.h: Include list_t.h and bits/types/res_state.h + instead of list.h and resolv.h. + + * resolv/resolv.h: Remove __need_res_state logic. + Move definition of res_state and related constants to ... + * resolv/bits/types/res_state.h: ...this new file. + * resolv/Makefile: Install bits/types/res_state.h. + * include/bits/types/res_state.h: New wrapper. + * include/list.h: Remove __need_list_t logic. + Move definition of list_t to ... + * include/list_t.h: ...this new file. + + * nptl/descr.h: Include list_t.h and bits/types/res_state.h + instead of list.h and resolv.h. + +2017-05-20 H.J. Lu + + * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed. + +2017-05-20 Zack Weinberg + + * sysdeps/arm/sysdep.h + (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions. + + * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S + * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S + * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S + * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S + * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S + * sysdeps/arm/armv6t2/strlen.S + * sysdeps/arm/armv7/multiarch/memcpy_impl.S + * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S + * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S + * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S + * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S: + Remove all uses of sfi_breg, sfi_pld, and sfi_sp. + +2017-05-20 Zack Weinberg + + Remove the NaCl port. + * sysdeps/arm/nacl: Remove directory and contents. + * sysdeps/nacl: Remove directory and contents. + * abi-tags: Remove .*-.*-nacl.* entry. + +2017-05-19 Rical Jasan + + * manual/errno.texi: Convert @comment-based errno documentation to + @errno. + * manual/macros.texi (@errno): New macro. Consolidate errors, + their values, and messages, adding the error string to the Concept + Index. Provide a warning in the comment about external (to the + manual) dependencies. + * sysdeps/gnu/errlist.awk: Use @errno instead of @comments. + * sysdeps/mach/hurd/errnos.awk: Likewise. + +2017-05-19 Joseph Myers + + * bits/ss_flags.h: New file. + * bits/types/stack_t.h: Likewise. + * include/bits/types/struct_sigstack.h: Likewise. + * signal/bits/types/struct_sigstack.h: Likewise. + * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise. + * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise. + * signal/Makefile (headers): Add bits/types/struct_sigstack.h, + bits/types/stack_t.h and bits/ss_flags.h. + * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]: + Include , and + . + * bits/sigstack.h (struct sigstack): Remove. + (stack_t): Likewise. + (SS_ONSTACK): Likewise. + (SS_DISABLE): Likewise. + * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h + (struct sigstack): Likewise. + (stack_t): Likewise. + (SS_ONSTACK): Likewise. + (SS_DISABLE): Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack): + Likewise. + (stack_t): Likewise. + (SS_ONSTACK): Likewise. + (SS_DISABLE): Likewise. + * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack): + Likewise. + (stack_t): Likewise. + (SS_ONSTACK): Likewise. + (SS_DISABLE): Likewise. + * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack): + Likewise. + (stack_t): Likewise. + (SS_ONSTACK): Likewise. + (SS_DISABLE): Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h + (struct sigstack): Likewise. + (stack_t): Likewise. + (SS_ONSTACK): Likewise. + (SS_DISABLE): Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack): + Likewise. + (stack_t): Likewise. + (SS_ONSTACK): Likewise. + (SS_DISABLE): Likewise. + * sysdeps/arm/sys/ucontext.h: Include + , and + . + * sysdeps/generic/sys/ucontext.h: Likewise. + * sysdeps/i386/sys/ucontext.h: Likewise. + * sysdeps/m68k/sys/ucontext.h: Likewise. + * sysdeps/mips/sys/ucontext.h: Likewise. + * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise. + * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise. + * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise. + * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise. + * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise. + * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise. + * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise. + * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise. + * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise. + +2017-05-19 H.J. Lu + + * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use + "edx + ecx - 16" to avoid possible addition overflow. + * sysdeps/x86_64/memchr.S (memchr): Likewise. + +2017-05-19 Adhemerval Zanella + + * misc/Makefile (CFLAGS-vmsplice.c): Remove rule. + (CFLAGS-splice.c): Likewise. + (CFLAGS-open_by_handle_at.c): Likewise. + * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule. + (CFLAGS-splice.c): Likewise. + (CFLAGS-open_by_handle_at.c): Likewise. + +2017-05-19 Joseph Myers + + * scripts/versions.awk: Generate ldbl-compat-choose.h. + * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include + . + (maybe_long_double_symbol): New macro. + [!declare_mgen_alias] (declare_mgen_alias): Use + maybe_long_double_symbol. + * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove. + * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise. + * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise. + * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise. + * Makerules [$(build-shared) = yes && !avoid-generated] + (before-compile): Add $(common-objpfx)ldbl-compat-choose.h. + [$(build-shared) = yes && !avoid-generated] + ($(common-objpfx)ldbl-compat-choose.h): New target. + + * scripts/versions.awk: Generate first-versions.h. + * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include + . + (LDOUBLE_cabsl_libm_version): Remove macro. + (LDOUBLE_cargl_libm_version): Likewise. + (LDOUBLE_cimagl_libm_version): Likewise. + (LDOUBLE_conjl_libm_version): Likewise. + (LDOUBLE_creall_libm_version): Likewise. + (LDOUBLE_cacosl_libm_version): Likewise. + (LDOUBLE_cacoshl_libm_version): Likewise. + (LDOUBLE_ccosl_libm_version): Likewise. + (LDOUBLE_ccoshl_libm_version): Likewise. + (LDOUBLE_casinl_libm_version): Likewise. + (LDOUBLE_csinl_libm_version): Likewise. + (LDOUBLE_casinhl_libm_version): Likewise. + (LDOUBLE_csinhl_libm_version): Likewise. + (LDOUBLE_catanl_libm_version): Likewise. + (LDOUBLE_catanhl_libm_version): Likewise. + (LDOUBLE_ctanl_libm_version): Likewise. + (LDOUBLE_ctanhl_libm_version): Likewise. + (LDOUBLE_cexpl_libm_version): Likewise. + (LDOUBLE_clogl_libm_version): Likewise. + (LDOUBLE_cprojl_libm_version): Likewise. + (LDOUBLE_csqrtl_libm_version): Likewise. + (LDOUBLE_cpowl_libm_version): Likewise. + (LDOUBLE_clog10l_libm_version): Likewise. + (LDOUBLE___clog10l_libm_version): Likewise. + (LDOUBLE_fdiml_libm_version): Likewise. + (LDOUBLE_fmaxl_libm_version): Likewise. + (LDOUBLE_fminl_libm_version): Likewise. + (LDOUBLE_ilogbl_libm_version): Likewise. + (LDOUBLE_nanl_libm_version): Likewise. + [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use + FIRST_VERSION_libm_* macros. + [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise. + * Makerules [$(build-shared) = yes && !avoid-generated] + (before-compile): Add $(common-objpfx)first-versions.h. + [$(build-shared) = yes && !avoid-generated] + ($(common-objpfx)first-versions.h): New target. + ($(common-objpfx)sysd-versions): Depend on and change to rule for + building $(common-objpfx)versions.stmp. + +2017-05-18 Adhemerval Zanella + + * rt/Makefile (CFLAGS-mq_timedsend.c): New flag. + * sysdeps/unix/sysv/linux/mq_timedsend.c: New file. + * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from + auto-generation list. + + * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag. + * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file. + * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove + from auto-generation list. + + * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add + open_by_handle_at. + (CFLAGS-open_by_handle_at.c): New flag. + * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file. + * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New + file. + * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule. + + * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice. + (CFLAGS-splice.c): New flag. + * sysdeps/unix/sysv/linux/splice.c: New file. + * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from + auto-generation syscall list. + * misc/Makefile (CFLAGS-splice.c): New rule. + + * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag. + * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from + auto-generation syscall list. + * sysdeps/unix/sysv/linux/vmsplice.c: New file. + * misc/Makefile (CFLAGS-vmsplice.c): New rule. + + * misc/Makefile (CFLAGS-fsync.c): New flag. + * nptl/Makefile (CFLAGS-fsync.c): Likewise. + * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation + syscall list. + * sysdeps/unix/sysv/linux/fsync.c: New file. + * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so] + (__errno_location): Remove. + + * misc/Makefile (CFLAGS-fdatasync.c): New rule. + * nptl/Makefile (CFLAGS-fdatasync.c): Likewise. + * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation + list. + * sysdeps/unix/sysv/linux/fdatasync.c: New file. + + * misc/Makefile (CFLAGS-msync.c): New rule. + * nptl/Makefile (CFLAGS-msync.c): Likewise. + * sysdeps/unix/syscalls.list: Remove msync from auto-generation list. + * sysdeps/unix/sysv/linux/msync.c: New file. + + * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file. + * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list. + * nptl/Makefile (CFLAGS-sigsuspend.c): New rule. + * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile + (CFLAGS-sigsuspend.c): Remove rule. + + * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee. + (CFLAGS-tee.c): New rule. + * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from + auto-generated list. + * sysdeps/unix/sysv/linux/tee.c: New file. + + * nptl/Makefile (CFLAGS-nanosleep.c): New rule. + * posix/Makefile (CFLAGS-nanosleep.c): Likewise. + * sysdeps/unix/sysv/linux/nanosleep.c: New file. + * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from + auto-generated list. + + * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from + auto-generated list. + * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file. + * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise. + + * sysdeps/unix/sysv/linux/generic/pause.c: Remove file. + * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__] + (__NR_pause): Undefine. + * sysdeps/unix/sysv/linux/pause.c: New file. + * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from + auto-generation list. + * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c): + Remove rule. + * posix/Makefile (CFLAGS-pause.c): Remove redundant rule. + +2017-05-18 H.J. Lu + + * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct + comments. + +2017-05-18 Siddhesh Poyarekar + + * elf/Makefile (tst-env-setuid-ENV): Reduce value of + LD_HWCAP_MASK. + +2017-05-18 Rical Jasan + + * manual/conf.texi: Convert @tables of annotated @items to + @vtables. + * manual/lang.texi: Likewise. + * manual/pattern.texi: Likewise. + * manual/resource.texi: Likewise. + * manual/socket.texi: Likewise. + +2017-05-18 Rical Jasan + + * manual/crypt.texi: Move a comment out of an @*x list. + * manual/filesys.texi: Refactor some comments, one of which looks + like a standard. Fix incorrectly separated standards. + * manual/locale.texi: Invert an annotation. + * manual/resource.texi: Fix incorrectly separated standards. + * manual/time.texi: Refactor a @vtable that obscures an + annotation. + * manual/users.texi: Refactor multiple headers to occupy a single + @comment. + +2017-05-18 Rajalakshmi Srinivasaraghavan + + * sysdeps/powerpc/powerpc64/multiarch/Makefile + (sysdep_routines): Add memcmp-power8. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (memcmp): Add __memcmp_power8 to list of memcmp functions. + * sysdeps/powerpc/powerpc64/multiarch/memcmp.c + (memcmp): Add __memcmp_power8 to ifunc list. + * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file. + * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file. + +2017-05-17 Gabriel F. T. Gomes + Tulio Magno Quites Machado Filho + + * math/math.h (__MATH_TG): Extend the conditions to add + _Float128 support. + * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro. + +2017-05-17 Paul A. Clarke + + * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile + [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and + s_cosf-ppc64. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise. + * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise. + +2017-05-17 Gabriel F. T. Gomes + + * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls. + (gen-libm-calls): Add e_exp2F to use the template. + * math/e_exp2l.c: Rename to math/e_exp2_template.c. + * math/e_exp2_template.c: New file, renamed from + math/e_exp2l.c, and made into a template. + * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro. + +2017-05-17 Siddhesh Poyarekar + + * elf/dl-tunable-types.h (tunable_type_code_t): New type + TUNABLE_TYPE_UINT_64. + * elf/dl-tunables.c (tunables_strtoul): Return uint64_t. + Simplify computation of overflow. + (tunable_set_val_if_valid_range_signed, + tunable_set_val_if_valid_range_unsigned): Remove and replace + with this... + (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro. + (tunable_initialize): Adjust. Add uint64_t support. + (__tunable_set_val): Add uint64_t support. + * README.tunables: Document it. + + * scripts/gen-tunables.awk: Recognize 'default' keyword in + dl-tunables.list. + * README.tunables: Document it. + +2017-05-15 Adhemerval Zanella + + * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c. + * sysdeps/posix/preadv64.c: Likewise. + * sysdeps/unix/sysv/linux/preadv.c: Likewise. + * sysdeps/unix/sysv/linux/preadv64.c: Likewise. + * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c. + * sysdeps/posix/pwritev64.c: Likewise. + * sysdeps/unix/sysv/linux/pwritev.c: Likewise. + * sysdeps/unix/sysv/linux/pwritev64.c: Likewise. + * sysdeps/posix/preadv_common.c: New file. + * sysdeps/posix/pwritev_common.c: Likewise. + +2017-05-14 Gabriel F. T. Gomes + + * sysdeps/generic/math-type-macros-float128.h + (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the + wrapper templates. + +2017-05-14 Paul E. Murphy + Gabriel F. T. Gomes + + * include/complex.h (__kernel_casinhf128): New declaration. + * include/float.h: New file. + * include/math.h (__finitef128): Add a hidden def. + (__isinff128): Likewise. + (__isnanf128): Likewise. + (__fpclassify): Likewise. + (__issignalling): Likewise. + (__expf128): Likewise. + (__expm1f128): Likewise. + + * sysdeps/generic/fix-fp-int-convert-overflow.h: + (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro. + (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise. + + * sysdeps/generic/math-type-macros-float128.h: New file. + + * sysdeps/generic/math_private.h: Include bits/floatn.h and + math_private_calls.h for _Float128. + (__isinff128): New inline implementation used when GCC < 7.0, + since in this case __builtin_isinf_sign is broken. + (fabsf128): New inline implementation that calls the builtin. + (__EXPR_FLT128): New macro. + (min_of_type): Optionally include _Float128 types too. + + * sysdeps/generic/math_private_calls.h (__kernel_sincos): + Declare for _Float128. + (__kernel_rem_pio2): Likewise. + + * sysdeps/ieee754/ldbl-opt/s_sin.c: + (__DECL_SIMD_sincos_disablef128): New macro. + +2017-05-14 Gabriel F. T. Gomes + + * math/math.h: Include bits/math-finite.h for float128. + (__MATH_DECLARING_FLOATN): Define to control declaration of + float128 functions. + * math/bits/math-finite.h (pow10): Do not declare for float128. + (gamma): Likewise. + (scalb): Likewise. + +2017-05-14 Paul E. Murphy + Gabriel F. T. Gomes + + * bits/floatn.h: New file. + * bits/huge_val_flt128.h: Likewise. + + * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro. + (__DECL_SIMD_sinf128): Likewise. + (__DECL_SIMD_sincosf128): Likewise. + (__DECL_SIMD_logf128): Likewise. + (__DECL_SIMD_expf128): Likewise. + (__DECL_SIMD_powf128): Likewise. + + * math/Makefile (headers): Install bits/floatn.h and + bits/huge_val_flt128.h. + + * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not + defined. + + * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand) + (isnan, gamma, nexttoward, scalb): Only define if not + __MATH_DECLARING_FLOATN. + (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx) + (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag) + (canonicalize, getpayload, setpayload, setpayloadsig): Declare for + _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined. + + * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h. + Include bits/cmathcalls.h to get the declarations of _Float128 + versions of complex functions. + [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128): + Define macro. + + * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h. + Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to + get the declarations of _Float128 versions of math functions. + (__MATH_DECLARING_FLOATN): New macro to control declaration of + _FloatN types. + [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit + is type-generic, so use it without __MATH_TG. + [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for + _Float128 type on GCC < 7.0. Explicitly call __isinff128 for + _Float128 type and GCC < 7.0, otherwise use the builtin. + [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128) + (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128) + (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128): + New _GNU_SOURCE enabled macros. + +2017-05-12 Joseph Myers + + * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias. + (signbitf): Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit): + Likewise. + (signbitl): Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf): + Likewise. + * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise. + (signbitl): Likewise. + * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise. + +2017-05-12 Florian Weimer + + [BZ #21386] + * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the + parent PID. The assertion in the child is incorrect with PID + namespaces. + +2017-05-12 Joseph Myers + + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_STATFS_F_FLAGS): Remove macro. + * sysdeps/unix/sysv/linux/internal_statvfs.c + [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code. + +2017-05-11 Zack Weinberg + + * Makerules: New subdir configuration variables 'tests-internal' + and 'test-internal-extras'. Test files in these categories will + still be compiled with MODULE_NAME=nonlib. Test files in the + existing categories (tests, xtests, test-srcs, test-extras) are + now compiled with MODULE_NAME=testsuite. + New subdir configuration variable 'modules-names-tests'. Files + which are in both 'modules-names' and 'modules-names-tests' will + be compiled with MODULE_NAME=testsuite instead of + MODULE_NAME=extramodules. + (gen-as-const-headers): Move to tests-internal. + (do-tests-clean, common-mostlyclean): Support tests-internal. + * Makeconfig (built-modules): Add testsuite. + * Makefile: Change libof-check-installed-headers-c and + libof-check-installed-headers-cxx to 'testsuite'. + * Rules: Likewise. Support tests-internal. + * benchtests/strcoll-inputs/filelist#en_US.UTF-8: + Remove extra-modules.mk. + + * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here. + * include/libc-symbols.h: Move definitions of _GNU_SOURCE, + PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the + very top of the file and rationalize their order. + If MODULE_NAME is not defined at all, define IS_IN to always be + false, and don't define _ISOMAC. + If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are + true, define _ISOMAC and suppress everything else in this file, + starting with the inclusion of config.h. + Do check for inappropriate definitions of __OPTIMIZE__ and + __FAST_MATH__ here, but only if _ISOMAC is not defined. + Correct some out-of-date commentary. + + * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE + and _Mlong_double_ before including math.h. + * include/string.h: If _ISOMAC is defined, don't expose + _STRING_ARCH_unaligned. Move a comment to a more appropriate + location. + + * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h + * include/time.h, include/unistd.h, include/wchar.h: No need to + check __cplusplus nor use __BEGIN_DECLS/__END_DECLS. + + * misc/sys/cdefs.h (__NTHNL): New macro. + * sysdeps/m68k/m680x0/fpu/bits/mathinline.h + (__m81_defun): Use __NTHNL to avoid errors with GCC 6. + + * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC + defined, for HAVE_TUNABLES. + * inet/tst-checks-posix.c: No need to define _ISOMAC. + * intl/tst-gettext2.c: Provide own definition of N_. + * math/test-signgam-finite-c99.c: No need to define _ISOMAC. + * math/test-signgam-main.c: No need to define _ISOMAC. + * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to... + * stdlib/tst-strtod1i.c: ...this new file. + * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice. + Split tests of __strtod_internal to... + * stdlib/tst-strtod5i.c: ...this new file. + * string/test-string.h: Include stdint.h. Duplicate definition of + inhibit_loop_to_libcall here (from libc-symbols.h). + * string/test-strstr.c: Provide dummy definition of + libc_hidden_builtin_def when including strstr.c. + * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC + mode; no need to test __STRICT_ANSI__ nor __cplusplus as well. + * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h. + Don't include init-arch.h. + * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h. + Don't include init-arch.h. + + * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static, + tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest, + unload, unload2, circleload1, neededtest, neededtest2, + neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3, + tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1, + tst-stackguard1, tst-_dl_addr_inside_object, and all of the + ifunc tests to tests-internal. + Don't add $(modules-names) to test-extras. + * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal. + Add tst-deadline to tests-static-internal. + * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to + tests-internal. + * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal. + * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11, + tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3, + tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static, + tst-sem12-static, and tst-stackguard1-static to tests-internal. + Link tests-internal with libpthread also. + Don't add $(modules-names) to test-extras. + * nss/Makefile: Move tst-field to tests-internal. + * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33, + tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal. + * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4, + tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to + tests-internal. + * sunrpc/Makefile: Move tst-svc_register to tests-internal. + * sysdeps/powerpc/Makefile: Move test-get_hwcap and + test-get_hwcap-static to tests-internal. + * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to + tests-internal. + * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to + modules-names-tests. + +2017-05-11 Zack Weinberg + + * libio/libio.h: Condition dummy definition of _IO_lock_t on + _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the + non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile, + _IO_funlockfile, and _IO_ftrylockfile. Only define + _IO_cleanup_region_start and _IO_cleanup_region_end if not + already defined. + * include/libio.h: If _IO_MTSAFE_IO is defined, redefine + _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile + appropriately. + * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h: + Define _IO_lock_t_defined after defining _IO_lock_t. + +2016-05-10 Adhemerval Zanella + + * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use + void* for argument type and use VDSO_SYMBOL macro. + (is_sigtramp_address_rt): Likewise. + (__backtrace): Setup expected frame pointer address for signal + handling. + * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use + void* for argumetn type and use VSDO_SYMBOL macro. + (__backtrace): Setup expected frame pointer address for signal + handling. + + * sysdeps/unix/sysv/linux/writev.c: New file. + + * sysdeps/unix/sysv/linux/readv.c: New file. + + * include/unistd.h (write): Add hidden proto. + * io/Makefile (CFLAGS-write.c): New define. + * nptl/Makefile (CFLAGS-write.c): Likewise. + * sysdeps/unix/sysv/linux/write.c: New file. + + [BZ #21428] + * include/unistd.h (read): Add hidden proto. + * io/Makefile (CFLAGS-read.c): New define. + * nptl/Makefile (CFLAGS-read.c): Likewise. + * sysdeps/unix/sysv/linux/read.c: New file. + + * io/Makefile (CFLAGS-creat.c): New rule. + (CFLAGS-creat64.c): Likewise. + * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file. + * sysdeps/unix/sysv/linux/generic/creat.c: Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise. + * sysdeps/unix/sysv/linux/creat.c: New file. + * sysdeps/unix/sysv/linux/creat64.c: Likewise. + * sysdeps/unix/sysv/linux/syscalls.list: Remove create from + auto-generated list. + * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. + + * sysdeps/unix/sysv/linux/generic/open.c: Remove file. + * sysdeps/unix/sysv/linux/generic/open64.c: Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise. + * sysdeps/unix/sysv/linux/open.c: New file. + * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol + iff __WORDSIZE != 64 and use __NR_openat when available. + * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open + from auto-generated list. + + * nptl/Makefile (CFLAGS-close.c): New flag. + * sysdeps/unix/sysv/linux/close.c: New file. + +2017-05-11 DJ Delorie + + * MAINTAINERS: New. Points to wiki. + +2017-05-11 Siddhesh Poyarekar + + * scripts/gen-tunables.awk: Add attribute_relro to + tunable_list. + +2017-05-11 Joseph Myers + + [BZ #21457] + * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC]. + (R1): Likewise. + (R2): Likewise. + (R3): Likewise. + (R4): Likewise. + (R5): Likewise. + (R6): Likewise. + (R7): Likewise. + (R8): Likewise. + (R9): Likewise. + (R10): Likewise. + (R11): Likewise. + (R12): Likewise. + (R13): Likewise. + (R14): Likewise. + (R15): Likewise. + * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise. + (REG_FS): Likewise. + (REG_ES): Likewise. + (REG_DS): Likewise. + (REG_EDI): Likewise. + (REG_ESI): Likewise. + (REG_EBP): Likewise. + (REG_ESP): Likewise. + (REG_EBX): Likewise. + (REG_EDX): Likewise. + (REG_ECX): Likewise. + (REG_EAX): Likewise. + (REG_TRAPNO): Likewise. + (REG_ERR): Likewise. + (REG_EIP): Likewise. + (REG_CS): Likewise. + (REG_EFL): Likewise. + (REG_UESP): Likewise. + (REG_SS): Likewise. + * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise. + (R_D1): Likewise. + (R_D2): Likewise. + (R_D3): Likewise. + (R_D4): Likewise. + (R_D5): Likewise. + (R_D6): Likewise. + (R_D7): Likewise. + (R_A0): Likewise. + (R_A1): Likewise. + (R_A2): Likewise. + (R_A3): Likewise. + (R_A4): Likewise. + (R_A5): Likewise. + (R_A6): Likewise. + (R_A7): Likewise. + (R_SP): Likewise. + (R_PC): Likewise. + (R_PS): Likewise. + (fpregset_t): Likewise. + (MCONTEXT_VERSION): Likewise. + * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise. + (CTX_AT): Likewise. + (CTX_V0): Likewise. + (CTX_V1): Likewise. + (CTX_A0): Likewise. + (CTX_A1): Likewise. + (CTX_A2): Likewise. + (CTX_A3): Likewise. + (CTX_T0): Likewise. + (CTX_T1): Likewise. + (CTX_T2): Likewise. + (CTX_T3): Likewise. + (CTX_T4): Likewise. + (CTX_T5): Likewise. + (CTX_T6): Likewise. + (CTX_T7): Likewise. + (CTX_S0): Likewise. + (CTX_S1): Likewise. + (CTX_S2): Likewise. + (CTX_S3): Likewise. + (CTX_S4): Likewise. + (CTX_S5): Likewise. + (CTX_S6): Likewise. + (CTX_S7): Likewise. + (CTX_T8): Likewise. + (CTX_T9): Likewise. + (CTX_K0): Likewise. + (CTX_K1): Likewise. + (CTX_GP): Likewise. + (CTX_SP): Likewise. + (CTX_S8): Likewise. + (CTX_RA): Likewise. + (CTX_MDLO): Likewise. + (CTX_MDHI): Likewise. + (CTX_CAUSE): Likewise. + (CTX_EPC): Likewise. + * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition + inclusion of on [__USE_MISC]. + (greg_t): Condition on [__USE_MISC]. + (gregset_t): Likewise. + (fpregset_t): Likewise. + * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise. + (NGREG): Likewise. + (gregset_t): Likewise. + (REG_R0): Likewise. + (REG_R1): Likewise. + (REG_R2): Likewise. + (REG_R3): Likewise. + (REG_R4): Likewise. + (REG_R5): Likewise. + (REG_R6): Likewise. + (REG_R7): Likewise. + (REG_R8): Likewise. + (REG_R9): Likewise. + (REG_R10): Likewise. + (REG_R11): Likewise. + (REG_R12): Likewise. + (REG_R13): Likewise. + (REG_R14): Likewise. + (REG_R15): Likewise. + (struct _libc_fpstate): Likewise. + (fpregset_t): Likewise. + * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise. + (NFPREG): Likewise. + (gregset_t): Likewise. + (fpregset_t): Likewise. + * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise. + (R_D1): Likewise. + (R_D2): Likewise. + (R_D3): Likewise. + (R_D4): Likewise. + (R_D5): Likewise. + (R_D6): Likewise. + (R_D7): Likewise. + (R_A0): Likewise. + (R_A1): Likewise. + (R_A2): Likewise. + (R_A3): Likewise. + (R_A4): Likewise. + (R_A5): Likewise. + (R_A6): Likewise. + (R_A7): Likewise. + (R_SP): Likewise. + (R_PC): Likewise. + (R_PS): Likewise. + (fpregset_t): Likewise. + (MCONTEXT_VERSION): Likewise. + * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION): + Likewise. + * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise. + (REG_R1): Likewise. + (REG_R2): Likewise. + (REG_R3): Likewise. + (REG_R4): Likewise. + (REG_R5): Likewise. + (REG_R6): Likewise. + (REG_R7): Likewise. + (REG_R8): Likewise. + (REG_R9): Likewise. + (REG_R10): Likewise. + (REG_R11): Likewise. + (REG_R12): Likewise. + (REG_R13): Likewise. + (REG_R14): Likewise. + (REG_R15): Likewise. + * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion + of on [__USE_MISC]. + (greg_t): Condition on [__USE_MISC]. + (NGREG): Likewise. + (gregset_t): Likewise. + +2017-05-11 Adhemerval Zanella + + * sysdeps/arm/nptl/bits/pthreadtypes-arch.h + (__pthread_rwlock_arch_t): Remove __data definition. + * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h + (__pthread_rwlock_arch_t): Likewise. + +2017-05-11 Florian Weimer + + * resolv/inet_pton.c: Reformat in GNU style. Remove + internal_function on static functions. + +2017-05-11 Florian Weimer + + * support/support_format_addrinfo.c (format_ai_flags_1): Renamed + from format_ai_flags. + (format_ai_flags): New function. Incorporate flag formatting code + from format_ai_one. + (format_ai_canonname): New function. + (format_ai_one): Remove flags parameter. + (format_ai_family): Likewise. + (support_format_addrinfo): Call format_ai_flags, + format_ai_canonname. + * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from + check_ai. + (check_ai): Call check_ai_hints. + (do_test): Add AI_CANONNAME tests. + +2017-05-11 Florian Weimer + + * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem. + (gaih_inet): Likewise. + +2017-05-10 Andreas Schwab + + * nptl/tst-fork1.c: Include . + (main): Rename to do_test and make static. + +2017-05-10 Joseph Myers + + * string/rawmemchr.c: Include . + (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr + with size (size_t)-1. + +2017-05-09 Joseph Myers + + * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file. + * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise. + + * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if + [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall. + * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if + [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall. + * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if + [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall. + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for + socket syscalls. + (__ASSUME_RECVMMSG_SYSCALL): Likewise. + (__ASSUME_SENDMMSG_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/i386/kernel-features.h + (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove. + (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise. + * sysdeps/unix/sysv/linux/microblaze/kernel-features.h + (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove. + * sysdeps/unix/sysv/linux/powerpc/kernel-features.h + (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise. + * sysdeps/unix/sysv/linux/sh/kernel-features.h + (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise. + * sysdeps/unix/sysv/linux/sparc/kernel-features.h + (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise. + (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise. + (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise. + +2017-05-09 Adhemerval Zanella + + * posix/Makefile (headers): Add pthreadtypes-arch.h and + thread-shared-types.h. + * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch + specific thread definition. + * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise. + * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise. + * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise. + * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise. + * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise. + * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise. + * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise. + * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise. + * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise. + * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise. + * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise. + * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise. + * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise. + * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise. + * sysdeps/nptl/bits/thread-shared-types.h: New file: shared + thread definition between POSIX and C11. + * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file. + * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise. + * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise. + * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise. + * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise. + * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise. + * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise. + * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise. + * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise. + * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise. + * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise. + * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise. + * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise. + * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise. + * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise. + * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread + definitions shared across all architectures. + +2017-05-09 Joseph Myers + + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally. + (__ASSUME_SENDMMSG): Likewise. + (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro. + * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using + sendmmsg syscall if that can be assumed to be present, socketcall + otherwise, with no fallback for runtime failure. + + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally. + (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro. + (__ASSUME_RECVMMSG): Likewise. + * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using + recvmmsg syscall if it can be assumed to be present, socketcall + otherwise, with no fallback for runtime failure. + +2017-05-09 Paul E. Murphy + Gabriel F. T. Gomes + + * bits/libc-header-start.h: + (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro. + * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__. + * manual/creature.texi: Likewise. + +2017-05-09 Paul E. Murphy + Gabriel F. T. Gomes + + * math/Makefile: + (type-float128-suffix): New variable + (type-float128-routines): Likewise + (type-float128-yes): Likewise + (types): Append float128 if supported + (types-basic): New variable to control the use of templates for + float, double, and long double, but not for float128 or newer types. + (type-basic-foreach): Likewise. + + * sysdeps/ieee754/float128/Makeconfig: New file. + * sysdeps/ieee754/float128/Versions: New file. + +2017-05-09 Joseph Myers + + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64): + Remove macro. + * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume + prlimit64 is always available and does not give an ENOSYS error. + * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code + unconditional. + [!__NR_prlimit64]: Remove conditional code. + * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume + prlimit64 is always available and does not give an ENOSYS error. + * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise. + +2017-05-09 Zack Weinberg + + * sunrpc/tst-xdrmem2.c: Include stdint.h. + +2017-05-09 Florian Weimer + + [BZ #21474] + * resolv/res_libc.c (res_init): Use RES_DFLRETRY. + (__res_maybe_init): Likewise. + +2017-05-09 Zack Weinberg + + * extra-modules.mk: Delete file. + * cppflags-iterator.mk: Rename to ... + * libof-iterator.mk: ...this. Adjust comments. + + * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile + * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile + * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile: + Use libof-iterator.mk instead of cppflags-iterator.mk or + extra-modules.mk. + + * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove + extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk. + +2017-05-09 Stefan Liebler + + * sysdeps/s390/fpu/libm-test-ulps: Regenerated. + +2017-05-08 Carlos O'Donell + + * stdio-common/vfprintf.c (EXTSIZ): Define. + (vfprintf): Use EXTSIZ. + (printf_positional): Likewise. + +2017-05-08 Joseph Myers + + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_PROC_PID_TASK_COMM): Remove macro. + * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include + . + (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code. + + * sysdeps/unix/sysv/linux/x86_64/kernel-features.h + (__ASSUME_GETCPU_SYSCALL): Remove macro. + +2017-05-08 Florian Weimer + + Prevent multiple deletion of temporary files. + * support/temp_file.c (struct temp_name_list): Add owner member. + (add_temp_file): Record owner. + (support_delete_temp_files): Delete file only if owner matches. + * posix/tst-exec.c (temp_fd1, temp_fd2): Define. + (do_prepare): Use create_temp_file instead of add_temp_file. + Initialize temp_fd1, temp_fd2. + (do_test): Use global temp_fd1, temp_fd2 variables. Let the test + framework remove the temporary files. + * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define. + (do_prepare): Use create_temp_file instead of add_temp_file. + Initialize temp_fd1, temp_fd2, temp_fd3. + (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables. Let + the test framework remove the temporary files. + * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file + deletion. + * posix/tst-pathconf.c (do_test): Do not call rmdir on the + temporary directory. It is removed by the test framework. + * dirent/tst-scandir.c (do_test): Likewise. + +2017-05-08 Florian Weimer + + Delete temporary files in LIFO order. + * support/temp_file.c (struct temp_name_list): Replace q member + with next. + (add_temp_file): Add new file to front of linked list. + (support_delete_temp_files): Use next member. + (support_print_temp_files): Likewise. + +2017-05-08 Florian Weimer + + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove + sys/ultrasound.h. + * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file. + +2017-05-08 Joseph Myers + + * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel): + Remove. + * sysdeps/unix/sysv/linux/i386/configure: Regenerated. + * sysdeps/unix/sysv/linux/x86_64/64/configure.ac + (arch_minimum_kernel): Remove. + * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated. + * README: Update statement about Linux kernel requirements. + +2017-05-04 Adhemerval Zanella + + * manual/llio.texi: Add preadv and pwritev documentation. + +2017-05-04 Joseph Myers + + [BZ #21455] + * bits/stdint-intn.h: New file. + * bits/stdint-uintn.h: Likewise. + * stdlib/Makefile (headers): Add bits/stdint-intn.h and + bits/stdint-uintn.h. + * inet/netinet/in.h: Include instead of + . + * posix/sys/types.h: Include . + (__int8_t_defined): Do not define here. + (int8_t): Likewise. + (int16_t): Likewise. + (int32_t): Likewise. + (int64_t): Likewise. + [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise. + * resolv/netdb.h: Include instead of + . + * include/netdb.h [_ISOMAC]: Do not include . + * sysdeps/generic/stdint.h: Include and + . + (int8_t): Do not define here. + (int16_t): Likewise. + (int32_t): Likewise. + (int64_t): Likewise. + (uint8_t): Likewise. + (uint16_t): Likewise. + (uint32_t): Likewise. + (uint64_t): Likewise. + * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove + variable. + (test-xfail-XPG42/netdb.h/conform): Likewise. + (test-xfail-XPG42/netinet/in.h/conform): Likewise. + (test-xfail-UNIX98/arpa/inet.h/conform): Likewise. + (test-xfail-UNIX98/netdb.h/conform): Likewise. + (test-xfail-UNIX98/netinet/in.h/conform): Likewise. + +2017-05-04 Paul E. Murphy + + * sysdeps/generic/math_private.h (mathx_hidden_def): New macro. + * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with + the above. + * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise. + +2017-05-04 Joseph Myers + + [BZ #21445] + * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare. + + [BZ #21457] + * sysdeps/unix/sysv/linux/mips/sys/ucontext.h + [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to + __glibc_reserved1. + * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h + (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1. + (struct _fpxreg): Likewise. + [!__x86_64__] (struct _fpstate): Rename field reserved to + __glibc_reserved1. Rename field padding to __glibc_reserved2. + [__x86_64__] (struct _fpstate): Rename field padding to + __glibc_reserved1. + (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1. + Rename field reserved2 to __glibc_reserved2. + * sysdeps/unix/sysv/linux/x86/sys/ucontext.h + [__x86_64__] (struct _libc_fpxreg): Rename field padding to + __glibc_reserved1. + [__x86_64__] (struct _libc_fpstate): Rename field padding to + __glibc_reserved1. + +2017-05-03 Rajalakshmi Srinivasaraghavan + + * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap + variable name. + +2017-05-03 H.J. Lu + + [BZ #21391] + * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]: + Only call init_cpu_features. + [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed. + * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise. + * sysdeps/i386/dl-procinfo.h: Removed. + * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include + nor . Include + . + (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32. + * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]: + Include instead of + . + * sysdeps/x86/cpu-features.c: Include . + (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask. + * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New. + (bit_cpu_MOVBE): Likewise. + (bit_cpu_BMI1): Likewise. + (bit_cpu_BMI2): Likewise. + (index_cpu_BMI1): Likewise. + (index_cpu_BMI2): Likewise. + (index_cpu_LZCNT): Likewise. + (index_cpu_MOVBE): Likewise. + (index_cpu_POPCNT): Likewise. + (reg_BMI1): Likewise. + (reg_BMI2): Likewise. + (reg_LZCNT): Likewise. + (reg_MOVBE): Likewise. + (reg_POPCNT): Likewise. + * sysdeps/x86/dl-hwcap.h: New file. + * sysdeps/x86/dl-procinfo.h: Likewise. + * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New. + (_dl_x86_platforms): Likewise. + +2017-05-03 DJ Delorie + + [BZ #21411] + * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate. + +2017-05-03 Phil Blundell + + * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced + comments. + +2017-05-03 Carlos O'Donell + + [BZ #20116] + * nptl/pthread_create.c: Expand comments to describe + semaphore-like and mutex-like uses of PD->lock. + +2017-04-03 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/epoll_wait.c: New file. + * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file. + * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from + auto-generation list. + * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add + epoll_wait. + * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines): + Remove epoll_wait. + + * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add + osf_select. + * sysdeps/unix/sysv/linux/alpha/select.c: New file. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and + osf_select from auto-generation list. + * sysdeps/unix/sysv/linux/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/generic/select.c: Remove file. + * sysdeps/unix/sysv/linux/select.c: New file. + + * sysdeps/unix/sysv/linux/generic/poll.c: Remove file. + * sysdeps/unix/sysv/linux/poll.c: New file. + * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from + auto-generation list. + +2017-05-03 Joseph Myers + + * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM): + New macro. + +2017-05-02 Vladimir Mezentsev + + [BZ #21179] + * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and + R_SPARC_REGISTER relocations. + +2017-05-02 Adhemerval Zanella + + * include/unistd.h (__pread): Add libc_hidden_proto. + (__pread64): Likewise. + (__pwrite): Likewise. + * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so] + (__pread64): Remove. + * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak. + * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise. + * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise. + +2017-05-02 Tulio Magno Quites Machado Filho + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2017-04-26 Adhemerval Zanella + + * nptl/tst-cancel4-common.c: Use libsupport. + * nptl/tst-cancel4-common.h: Likewise. + * nptl/tst-cancel4.c (tf_read): Likewise. + (tf_readv): Likewise. + (tf_write): Likewise. + (tf_writev): Likewise. + (tf_sleep): Likewise. + (tf_usleep): Likewise. + (tf_nanosleep): Likewise. + (tf_select): Likewise. + (tf_pselect): Likewise. + (tf_poll): Likewise. + (tf_ppoll): Likewise. + (tf_wait): Likewise. + (tf_waitpid): Likewise. + (tf_waitid): Likewise. + (tf_sigpause): Likewise. + (tf_sigsuspend): Likewise. + (tf_sigwait): Likewise. + (tf_sigwaitinfo): Likewise. + (tf_sigtimedwait): Likewise. + (tf_pause): Likewise. + (tf_accept): Likewise. + (tf_send): Likewise. + (tf_recv): Likewise. + (tf_recvfrom): Likewise. + (tf_recvmsg): Likewise. + (tf_open): Likewise. + (tf_close): Likewise. + (tf_pread): Likewise. + (tf_pwrite): Likewise. + (tf_preadv): Likewise. + (tf_pwritev): Likewise. + (tf_fsync): Likewise. + (tf_fdatasync): Likewise. + (tf_msync): Likewise. + (tf_sendto): Likewise. + (tf_sendmsg): Likewise. + (tf_creat): Likewise. + (tf_connect): Likewise. + (tf_tcdrain): Likewise. + (tf_msgrcv): Likewise. + (tf_msgsnd): Likewise. + * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise. + * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise. + + * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport + expected arguments. + (do_test): Adapt to use libsupport. + +2017-05-01 Joseph Myers + + * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro. + + * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro. + (PF_MAX): Set to 44. + (AF_SMC): New macro. + + * scripts/build-many-glibcs.py (Context.checkout): Default Linux + kernel version to 4.11. + +2017-04-28 Tulio Magno Quites Machado Filho + + [BZ #21280] + * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the + signal of subnormals and adjust the exponent of power of 2 down + when low part has opposite sign. + +2017-04-28 Paul E. Murphy + + * sysdeps/powerpc/powerpc64le/Implies: New file. + * sysdeps/powerpc/powerpc64le/fpu/Implies: New file. + * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file. + * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file. + * sysdeps/powerpc/powerpc64le/power7/Implies: New file. + * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file. + * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file. + * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file. + * sysdeps/powerpc/powerpc64le/power8/Implies: New file. + * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file. + * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file. + * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file. + * sysdeps/powerpc/powerpc64le/power9/Implies: New file. + * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file. + * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file. + * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file. + * sysdeps/powerpc/preconfigure: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file. + +2017-04-28 Joseph Myers + + * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header + inclusion. + * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform): + Remove. + +2017-04-27 Joseph Myers + + * conform/GlibcConform.pm (XPG4): Rename standard to XPG42. + (XPG3): Rename standard to XPG4. + * conform/Makefile: Likewise. + * conform/list-header-symbols.pl: Likewise. + * conform/data/aio.h-data: Likewise. + * conform/data/arpa/inet.h-data: Likewise. + * conform/data/complex.h-data: Likewise. + * conform/data/ctype.h-data: Likewise. + * conform/data/dlfcn.h-data: Likewise. + * conform/data/fcntl.h-data: Likewise. + * conform/data/fenv.h-data: Likewise. + * conform/data/float.h-data: Likewise. + * conform/data/fmtmsg.h-data: Likewise. + * conform/data/ftw.h-data: Likewise. + * conform/data/grp.h-data: Likewise. + * conform/data/inttypes.h-data: Likewise. + * conform/data/iso646.h-data: Likewise. + * conform/data/langinfo.h-data: Likewise. + * conform/data/libgen.h-data: Likewise. + * conform/data/limits.h-data: Likewise. + * conform/data/locale.h-data: Likewise. + * conform/data/math.h-data: Likewise. + * conform/data/mqueue.h-data: Likewise. + * conform/data/ndbm.h-data: Likewise. + * conform/data/net/if.h-data: Likewise. + * conform/data/netdb.h-data: Likewise. + * conform/data/netinet/in.h-data: Likewise. + * conform/data/poll.h-data: Likewise. + * conform/data/pthread.h-data: Likewise. + * conform/data/pwd.h-data: Likewise. + * conform/data/sched.h-data: Likewise. + * conform/data/search.h-data: Likewise. + * conform/data/semaphore.h-data: Likewise. + * conform/data/signal.h-data: Likewise. + * conform/data/spawn.h-data: Likewise. + * conform/data/stdbool.h-data: Likewise. + * conform/data/stdint.h-data: Likewise. + * conform/data/stdio.h-data: Likewise. + * conform/data/stdlib.h-data: Likewise. + * conform/data/string.h-data: Likewise. + * conform/data/strings.h-data: Likewise. + * conform/data/stropts.h-data: Likewise. + * conform/data/sys/mman.h-data: Likewise. + * conform/data/sys/resource.h-data: Likewise. + * conform/data/sys/select.h-data: Likewise. + * conform/data/sys/socket.h-data: Likewise. + * conform/data/sys/stat.h-data: Likewise. + * conform/data/sys/statvfs.h-data: Likewise. + * conform/data/sys/time.h-data: Likewise. + * conform/data/sys/timeb.h-data: Likewise. + * conform/data/sys/types.h-data: Likewise. + * conform/data/sys/uio.h-data: Likewise. + * conform/data/sys/un.h-data: Likewise. + * conform/data/sys/wait.h-data: Likewise. + * conform/data/syslog.h-data: Likewise. + * conform/data/termios.h-data: Likewise. + * conform/data/tgmath.h-data: Likewise. + * conform/data/time.h-data: Likewise. + * conform/data/ucontext.h-data: Likewise. + * conform/data/unistd.h-data: Likewise. + * conform/data/utmpx.h-data: Likewise. + * conform/data/varargs.h-data: Likewise. + * conform/data/wchar.h-data: Likewise. + * conform/data/wctype.h-data: Likewise. + +2017-04-26 Joseph Myers + + * scripts/build-many-glibcs.py (Context.checkout): Default gcc + version to 7 branch. + +2017-04-25 Uros Bizjak + + * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add + earlyclobber to output operand of sqrt insn. + (__ieee754_sqrtf): Ditto. + +2017-04-25 Joseph Myers + + [BZ #21426] + * misc/bits/types/struct_iovec.h: New file. + * misc/Makefile (headers): Add bits/types/struct_iovec.h. + * include/bits/types/struct_iovec.h: New file. + * bits/uio.h (struct iovec): Replace by inclusion of + . + * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise. + * socket/sys/socket.h: Include instead + of . + * nptl/tst-cancel4.c: Include + * posix/test-errno.c: Likewise. + * support/resolv_test.c: Likewise. + * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform): + Remove. + (test-xfail-POSIX2008/netdb.h/conform): Likewise. + (test-xfail-POSIX2008/netinet/in.h/conform): Likewise. + (test-xfail-POSIX2008/sys/socket.h/conform): Likewise. + + * conform/data/sys/socket.h-data (*_t): Allow. + +2017-04-24 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed + assignment. + +2017-04-24 Daurnimator + Adhemerval Zanella + + [BZ #21340] + * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests. + * posix/spawn.h: define POSIX_SPAWN_SETSID flag. + * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to + valid flags. + * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID. + * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of + POSIX_SPAWN_SETSID. + * sysdeps/posix/spawni.c (__spawni): Likewise. + * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise. + * NEWS: Add note about POSIX_SPAWN_SETSID support. + +2017-04-24 Gabriel F. T. Gomes + + * sysdeps/generic/math_private.h: Move the declaration of many + functions to sysdeps/generic/math_private_calls.h. + * sysdeps/generic/math_private_calls.h: New file with the + declarations of the functions removed from math_private.h + macroized by floating-point type. + +2017-04-21 Stefan Liebler + + * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File. + * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch + folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX]. + (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, + FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX, + TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define. + +2017-04-21 Stefan Liebler + + * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File. + * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch + folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX]. + (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT, + FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): + New Define. + +2017-04-21 Stefan Liebler + + * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File. + * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch + folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX]. + (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, + FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX, + TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define. + +2017-04-21 Stefan Liebler + + * sysdeps/s390/multiarch/ifunc-resolve.h + (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define. + * sysdeps/s390/multiarch/8bit-generic.c + (__to_generic, __from_generic): Use s390_libc_ifunc_expr to + define ifunc resolvers. + +2017-04-21 Florian Weimer + + [BZ #20424] + * manual/memory.texi (Replacing malloc): New section. + (Allocating Storage For Program Data): Reference it. + (The GNU Allocator): Likewise. + +2017-04-20 Joseph Myers + + * stdlib/Versions (__strtod_internal): List explicitly, not as + wildcard. + (__strtof_internal): Likewise. + (__strtold_internal): Likewise. + (__strtol_internal): Likewise. + (__strtoll_internal): Likewise. + (__strtoul_internal): Likewise. + (__strtoull_internal): Likewise. + (__strtoq_internal): Likewise. + (__strtouq_internal): Likewise. + * wcsmbs/Versions (__wcstod_internal): Likewise. + (__wcstof_internal): Likewise. + (__wcstold_internal): Likewise. + (__wcstol_internal): Likewise. + (__wcstoll_internal): Likewise. + (__wcstoul_internal): Likewise. + (__wcstoull_internal): Likewise. + +2017-04-20 Adhemerval Zanella + + * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for + struct timespec definition. + +2017-04-19 Florian Weimer + + * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses. + +2017-04-19 Florian Weimer + + * inet/rcmd.c (rresvport_af): Fix typo in comment. + * inet/rexec.c (rexec_af): Likewise. + +2017-04-19 Zack Weinberg + + * posix/tst-mmap-offset.c: Include stdint.h. + * resolv/tst-ns_name_compress.c: Include string.h. + * resolv/tst-resolv-edns.c: Include resolv.h. + +2017-04-19 Florian Weimer + + * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect + with __glibc_likely. + * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice): + Replace __builtin_expect with __glibc_unlikely. + * resolv/res_init.c (__res_vinit): Likewise. + * resolv/res_query.c (__libc_res_nquery): Likewise. + * resolv/res_send.c (__libc_res_nsend): Likewise. + +2017-04-19 Florian Weimer + + [BZ #15722] + * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket + with SOCK_CLOEXEC. + * resolv/res_send.c (send_vc, reopen): Likewise. + * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise. + * sysdeps/unix/sysv/linux/check_native.c (__check_native): + Likewise. + * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise. + * inet/rexec.c (rexec_af): Add comment. + * inet/rcmd.c (rresvport_af): Likewise. + +2017-04-19 Florian Weimer + + * nscd/connections.c (have_accept4): Removed definition. + (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that + accept4 works. + * manual/install.texi (Linux): Require at least kernel 3.2.18 for + ia64 because that was the first version with accept4 support. + * support/Makefile (libsupport-routines): Add xaccept4. + * support/xsocket.h (xaccept4): Declare. + * support/xaccept4.c: New file. + * socket/tst-accept4.c: New file. + * socket/Makefile (tests): Add tst-accept4. + * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove + definition. + * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove + comment. + * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4 + implementation is available. + (accept4): Use the system call if available, otherwise use the + socket call. + * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel): + Set to 3.2.18. + * sysdeps/unix/sysv/linux/ia64/kernel-features.h + (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine. + accept4 is unconditionally available in later 3.2 stable kernels. + (__ASSUME_ACCEPT4_SYSCALL): Define. + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove + definitions. + * sysdeps/unix/sysv/linux/i386/kernel-features.h + (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later. + +2017-04-18 Joseph Myers + + * conform/Makefile (tests-special): Do not make addition of + $(conformtest-header-tests) conditional on [$(cross-compiling) = no]. + (generated): Do not make addition of $(conformtest-header-base) + conditional on [$(cross-compiling) = no]. + + [BZ #21267] + * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine + if defined by and not previously defined. + (IOCSIZE_SHIFT): Likewise. + (IOC_IN): Likewise. + (IOC_INOUT): Likewise. + (IOC_OUT): Likewise. + +2017-04-18 H.J. Lu + + [BZ #21396] + * sysdeps/x86/cpu-features.c (init_cpu_features): Set + Prefer_No_AVX512 if AVX512ER isn't available. + * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New. + (index_arch_Prefer_No_AVX512): Likewise. + * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use + AVX512 version if Prefer_No_AVX512 is set. + * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): + Likewise. + * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise. + * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk): + Likewise. + * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise. + * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): + Likewise. + * sysdeps/x86_64/multiarch/memset.S (memset): Likewise. + * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): + Likewise. + +2017-04-18 H.J. Lu + + * sysdeps/x86/cpu-features.c (init_cpu_features): Set + Prefer_No_VZEROUPPER if AVX512ER is available. + * sysdeps/x86/cpu-features.h + (bit_cpu_AVX512PF): New. + (bit_cpu_AVX512ER): Likewise. + (bit_cpu_AVX512CD): Likewise. + (bit_cpu_AVX512BW): Likewise. + (bit_cpu_AVX512VL): Likewise. + (index_cpu_AVX512PF): Likewise. + (index_cpu_AVX512ER): Likewise. + (index_cpu_AVX512CD): Likewise. + (index_cpu_AVX512BW): Likewise. + (index_cpu_AVX512VL): Likewise. + (reg_AVX512PF): Likewise. + (reg_AVX512ER): Likewise. + (reg_AVX512CD): Likewise. + (reg_AVX512BW): Likewise. + (reg_AVX512VL): Likewise. + +2017-04-18 Florian Weimer + + * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that + O_CLOEXEC is defined. + * include/fcntl.h (__have_o_cloexec): Remove declaration. + * io/Makefile (aux): Remove. + * io/have_o_cloexec.c: Remove file. + * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is + defined and works. + * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is + defined. + * login/utmp_file.c (O_flags): Remove definition. + (setutent_file): Use O_CLOEXEC instead of O_flags. Assume that + O_CLOEXEC works. + (pututline_file): Likewise. + * malloc/mtrace.c: Assume that O_CLOEXEC works. + * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove + definition. + (internal_setgrent): Assume that O_CLOEXEC works. + * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec): + Remove definition. + (internal_setgrent): Assume that O_CLOEXEC works. + * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove + definition. + (internal_setpwent): Assume that O_CLOEXEC works. + * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove + definition. + (internal_setspent): Assume that O_CLOEXEC works. + * nscd/connections.c (EXTRA_O_FLAGS): Remove definition. + (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS. Assume that + O_CLOEXEC is defined and works. + * nss/Makefile (libnss_files-routines): Remove + files-have_o_cloexec. + * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is + defined. + * nss/nss_files/files-XXX.c (internal_setent): Assume that + O_CLOEXEC is defined and works. + * nss/nss_files/files-alias.c (internal_setent): Likewise. + * nss/nss_files/files-have_o_cloexec.c: Remove. + * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is + defined. + * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined + and works. + * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove + definition. + * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise. + * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works. + * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant. + (__opendirat, __opendir): Adjust opendir_oflags call. + (check_have_o_cloexec): Remove. + (__alloc_dir): Assume that O_CLOEXEC is defined and works. + * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is + defined. + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC): + Remove definition. + +2017-04-18 Florian Weimer + + * include/unistd.h (__have_dup3): Remove declaration. + * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and + dup3 is available. + * libio/freopen64.c (freopen64): Likewise. + * socket/Makefile (aux): Remove have_sock_cloexec. + * socket/have_sock_cloexec.c: Remove file. + * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove + definition. + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3): + Likewise. + * sysdeps/nacl/kernel-features.h: Update comment. + +2017-04-18 Florian Weimer + + * include/unistd.h (__have_pipe2): Remove declaration. + * socket/have_sock_cloexec.c (__have_pipe2): Remove definition. + * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is + available. + * posix/wordexp.c (exec_comm_child, exec_comm): Likewise. + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2): + Remove definition. + +2017-04-18 Florian Weimer + + * malloc/malloc.c (cfree): Turn into compat symbol. + (__cfree): Remove alias. + * stdlib/stdlib.h (cfree): Remove declaration. + * malloc/malloc.h (cfree): Likewise. + * manual/memory.texi (Freeing after Malloc): Remove cfree. + * malloc/Versions (GLIBC_2.26): Add. + +2017-04-18 Rajalakshmi Srinivasaraghavan + + * sysdeps/powerpc/powerpc64/multiarch/Makefile + (sysdep_routines): Add strrchr-power8. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (strrchr): Add __strrchr_power8 to list of strrchr functions. + * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/strrchr.c + (strrchr): Add __strrchr_power8 to ifunc list. + * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file. + +2017-04-17 Rabin Vincent + + [BZ #21357] + * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases): + Call free() outside of mutex. + +2017-04-13 Florian Weimer + + * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW + is defined. + * elf/rtld.c (process_envvars): Likewise. + * sysdeps/posix/shm_open.c (shm_open): Likewise. + * elf/dl-profile.c (EXTRA_FLAGS): Remove definition. Use + O_NOFOLLOW directly. + * gmon/gmon.c (O_NOFOLLOW): Remove definition. + +2017-04-13 Florian Weimer + + [BZ #21369] + Remove EDNS fallback. + * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR + handling. + * resolv/res_send.c (send_dg): Likewise. + * resolv/tst-resolv-edns.c (response): Handle "formerr." and + "tcp." prefixes. + (do_test): Send a "formerr."-prefixed query in an attempt to + trigger EDNS fallback. + +2017-04-13 Florian Weimer + + [BZ #21361] + Limit EDNS buffer size to 1200 bytes. + * include/resolv.h (__res_nopt): Remove declaration. + * resolv/Makefile (tests): tst-resolv-edns. + (tst-resolv-edns): Link with -lresolv, -lpthread. + * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the + interval [512, 1200]. + * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if + we can resize the buffer. + * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define. + (__res_nopt): Declare. + * resolv/tst-resolv-edns.c: New file. + * resolv/resolv_test.h (struct resolv_edns_info): Define. + (struct resolv_response_context): Add edns member. + * resolv/resolv_test.c (struct query_info): Add edns member. + (parse_query): Extract EDNS information from the query. + (server_thread_udp_process_one): Propagate EDNS data. + (server_thread_tcp_client): Likewise. + +2017-04-13 Florian Weimer + + [BZ #21359] + * resolv/ns_name.c (ns_name_pack): Do not require an additional + byte in the destination buffer. Avoid out-of-bounds pointer + arithmetic. + * resolv/Makefile (tests): Add tst-ns_name_compress. + (tst-ns_name_compress): Link with -lresolv. + * resolv/tst-ns_name_compress.c: New file. + * resolv/tst-resolv-basic.c (LONG_NAME): Define. + (response): Recognize LONG_NAME. + (do_test): Add LONG_NAME tests. + * resolv/tst-ns_name.c (run_test_case): Fix expected data check + for ns_name_unpack. Add tests for ns_name_pton and + ns_name_compress. + +2017-04-13 Florian Weimer + + * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery) + (res_nisourserver): Remove definition. + (p_section, res_npquery, res_nisourserver): Remove declaration. + (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ... + * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): + ... here. + * resolv/res_send.c: Include instead of + . + * resolv/res_query.c: Likewise. + * resolv/res_debug.c (p_section): Define as static. + +2017-04-13 Rajalakshmi Srinivasaraghavan + + * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add + strncat-power8. + * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add + __strncat_power8 to ifunc list. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (strncat): Add __strncat_power8 to list of strncat functions. + * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file. + +2017-04-11 Adhemerval Zanella + + [BZ #21270] + * posix/tst-mmap-offset.c (do_prepare): New function. + (do_test): Rename to do_test_bz18877 and use FAIL_RET. + (do_test_bz21270): New function. + * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file. + * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file. + * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise. + * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise. + * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise. + * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise. + * sysdeps/unix/sysv/linux/mmap_internal.h: New file. + * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise. + * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap + from auto-generation list. + * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/mmap.c: New file. + * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid + offsets and support for mmap2 syscall. + + * posix/globtest.sh: Add cleanup routine on trap 0. + +2017-04-11 Wainer dos Santos Moschetta + + * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the + implementation-specific function name and remove unneeded + macros definition. + * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise. + * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function + name if not defined and pass as parameter to macros accordingly. + * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise. + + * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the + implementation-specific function name and remove unneeded + macros definition. + * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise. + * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function + name if not defined and pass as parameter to macros accordingly. + * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise. + * sysdeps/powerpc/powerpc64/memcpy.S: Likewise. + * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise. + * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. + + * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the + implementation-specific function name and remove unneeded macros + definition. + * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default + function name if not defined and pass as parameter to macros + accordingly. + * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise. + + * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the + implementation-specific function name and remove unneeded macros + definition. + * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise. + * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if + not defined and pass as parameter to macros accordingly. + * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise. + * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise. + * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise. + + * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the + strcasestr implementation name and remove unneeded macros definition. + * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define + strstr implementation name and remove unneeded macros definition. + * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function + name if not defined and pass as parameter to macros accordingly. + * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise. + + * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the + implementation-specific function name and remove unneeded macros + definition. + * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default + function name if not defined and pass as parameter to macros + accordingly. + * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise. + * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise. + * sysdeps/powerpc/powerpc64/strchr.S: Likewise. + + * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define + the strlen implementation name and remove unneeded macros definition. + * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define + the strnlen implementation name and remove unneeded macros definition. + * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function + name if not defined and pass as parameter to macros accordingly. + * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise. + * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise. + * sysdeps/powerpc/powerpc64/strlen.S: Likewise. + + * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define + the implementation-specific function name and remove unneeded + macros definition. + * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise. + * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function + name if not defined and pass as parameter to macros accordingly. + * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise. + * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise. + * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise. + * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise. + * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise. + * sysdeps/powerpc/powerpc64/strcmp.S: Likewise. + * sysdeps/powerpc/powerpc64/strncmp.S: Likewise. + + * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the + implementation-specific function name and remove unneeded macros + definition. + * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default + function name if not defined. + * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise. + * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise. + +2017-04-11 Paul Clarke + + * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, + AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, + AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New. Add auxvec + identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h. + +2017-04-11 Florian Weimer + Zack Weinberg + + * manual/filesys.texi (Reading/Closing Directory): Mark readdir, + readdir64 as thread-safe. Update warning about readdir_r. + +2017-04-10 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/x86/Implies: New file. + * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ... + * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here. + * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ... + * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here. + * sysdeps/x86/bits/pthreadtypes.h: Move to ... + * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here. + +2017-04-10 H.J. Lu + + * sysdeps/i386/dl-procinfo.c: Include + . + * sysdeps/x86_64/dl-procinfo.c: Likewise. + * sysdeps/x86/dl-procinfo.c: New file. + +2017-04-10 Gabriel F. T. Gomes + + * sysdeps/generic/math_private.h: Remove declarations of + many functions that are already declared in math.h. + * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the + declaration for __frexpl. + * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get + the declarations for __scalbnl and fabsl. + +2017-04-09 Dmitry V. Levin + + [BZ #20831] + * elf/dl-map-segments.h (_dl_map_segments): Check for failure + of __mprotect to change protection on the excess portion + to disallow all access. + +2017-04-07 H.J. Lu + + * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use + HAS_CPU_FEATURE to check for SSE. + * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise. + * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise. + * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise. + * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise. + * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise. + * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise. + * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise. + * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise. + * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise. + * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise. + * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise. + * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise. + * sysdeps/i386/setfpucw.c (__setfpucw): Likewise. + * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New. + (index_cpu_SSE): Likewise. + (reg_SSE): Likewise. + +2017-04-07 Paul Eggert + + * posix/getopt1.c: Include , not "config.h". + +2017-04-07 Zack Weinberg + + * posix/bits/getopt_core.h, posix/bits/getopt_ext.h + * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h: + Mention in top-of-file boilerplate that these files are shared + with gnulib. + * posix/getopt.h, posix/bits/getopt_posix.h: + Mention in top-of-file boilerplate that these files are NOT shared + with gnulib, unlike the rest of the getopt implementation. + + * posix/bits/getopt_core.h, posix/bits/getopt_ext.h: + New files, intended to be shared with gnulib. + * posix/bits/getopt_posix.h: + New file, not intended to be shared with gnulib. + * posix/getopt.h: Now just includes features.h, + bits/getopt_core.h, and bits/getopt_ext.h. Will + no longer be shared with gnulib. + * include/bits/getopt_core.h, include/bits/getopt_ext.h + * include/bits/getopt_posix.h: New wrappers. + * posix/Makefile: Install new headers. + * posix/unistd.h, libio/stdio.h: + Include bits/getopt_posix.h instead of getopt.h. + + * include/libc-symbols.h: For gnulib compatibility, define + _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and + _GL_ATTRIBUTE_CONST. + * posix/getopt.c (_getopt_initialize): Mark argc and argv + parameters with _GL_UNUSED. + + * posix/getopt.c: When used standalone, define __libc_use_alloca + as always false and alloca to abort if called. + (process_long_option): Rewrite handling of ambiguous long options + to use a single boolean vector, not a linked list; use + __libc_use_alloca to decide whether to allocate this using alloca. + * posix/tst-getopt_long1.c: Adjust text of expected error message. + + * posix/getopt.c (process_long_option): New function split out + from _getopt_internal_r. + (_getopt_internal_r): Replace both copies of the long-option + processing code with calls to process_long_option. + * posix/bug-getopt4.c (one_test): Print argv[0] in error messages. + (do_test): Differentiate argv[0] in the two subtests. + + * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field. + * posix/getopt.c (_getopt_internal_r): Move some initialization code... + (_getopt_initialize): ...here. Don't set d->__posixly_correct. + + * posix/getopt.h: Add backup definition of __nonnull for + consistency with gnulib. Define __getopt_argv_const to const + if not already defined. + (getopt): Update doc comment from gnulib. Prototype + unconditionally. Add __nonnull annotation. + (__posix_getopt): Add __nonnull annotation. + (getopt_long, getopt_long_only): Use __getopt_argv_const in + prototypes for consistency with gnulib. Add __nonnull + annotations. + * posix/getopt.c (_getopt_initialize, _getopt_internal_r) + (getopt_internal): Change 'argv' argument to type 'char **'. + Remove now-unnecessary casts. + (getopt, __posix_getopt): Eliminate repetition with a macro. + Cast 'argv' to 'char **' when calling _getopt_internal. + * posix/getopt1.c (getopt_long, getopt_long_only): + Use __getopt_argv_const for consistency with gnulib. + Cast 'argv' to 'char **' when calling _getopt_internal. + (_getopt_long_r, _getopt_long_only_r): + Change 'argv' argument to type 'char **'. + (main): Constify 'long_options'. + * posix/getopt_int.h (getopt_internal, _getopt_internal_r) + (_getopt_long_r, _getopt_long_only_r): + Change 'argv' argument to type 'char **'. + + * stdio-common/fxprintf.c (__fxprintf_nocancel): New function. + (locked_vfxprintf): New helper function. Handle arbitrary + multibyte strings, not just ASCII. + * include/stdio.h: Declare __fxprintf_nocancel. + * posix/getopt.c: When _LIBC is defined, define fprintf to + __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile + to _IO_funlockfile. When neither _LIBC nor + _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and + funlockfile as no-ops. + (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks; + the standalone error-printing code can now be used for libc as + well. Add an flockfile/funlockfile pair around one case where + the error message is printed in several chunks. Don't use fputc. + * posix/tst-getopt-cancel.c: New test. + * posix/Makefile: Run it. + + * posix/getopt.c (_getopt_internal_r): Don't increment + d->optind a second time when reporting ambiguous -W options. + + * posix/getopt_int.h: Include getopt.h. + Use impl-namespace names for all arguments to _getopt_internal and + _getopt_internal_r. + Declare __ordering enum outside the struct. + Harmonize comments with gnulib. + * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove + ELIDE_CODE logic entirely. Move inclusion of stdlib.h to + #ifdef TEST block and make unconditional. Do not define NULL. + * posix/getopt.c: Partial merge from gnulib, covering the + initial includes and global declarations, commentary, and + a couple of semantically-neutral code changes. + + * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h: + Use '...' instead of `...' for quotation marks inside + comments and strings. + + * config.h.in (USE_NONOPTION_FLAGS): Remove. + * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks. + * sysdeps/mach/hurd/i386/init-first.c: Likewise. + * posix/getopt_int.h: Likewise. + * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the + __libc_argc and __libc_argv externs, which were only used by + #ifdef USE_NONOPTION_FLAGS blocks. + * posix/getopt_init.c: Remove file. + * posix/Makefile (routines): Remove getopt_init. + * include/getopt.h: Don't declare __getopt_initialize_environment. + * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in + a comment. + +2017-04-07 Florian Weimer + + * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support. + +2017-04-05 Adhemerval Zanella + + * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule. + * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias + to __wrap_.udiv. + * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise. + * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise. + + * sysdeps/i386/symbol-hacks.h: New file. + * sysdeps/m68k/symbol-hacks.h: New file. + * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file. + * sysdeps/s390/s390-32/symbol-hacks.h: New file. + * sysdeps/unix/sysv/linux/i386/Makefile + [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object. + [$(subdir) = csu] (sysdep-only-routines): Likewise. + [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise. + * sysdeps/unix/sysv/linux/m68k/Makefile + [$(subdir) = csu] (sysdep_routines): Likewise. + [$(subdir) = csu] (sysdep-only-routines): Likewise. + [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile + [$(subdir) = csu] (sysdep_routines): Likewise. + [$(subdir) = csu] (sysdep-only-routines): Likewise. + [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/Makefile + [$(subdir) = csu] (sysdep_routines): Likewise. + [$(subdir) = csu] (sysdep-only-routines): Likewise. + [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise. + * sysdeps/wordsize-32/Makefile: Remove file. + * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ... + * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here. + +2017-04-05 H.J. Lu + + * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed. + (TEST_FUNCTION_ARGV): New. + +2017-04-05 Wainer dos Santos Moschetta + + * elf/next.c: Import support/test-driver.c instead of + test-skeleton.c and delete TEST_FUNCTION macro definition. + * elf/nodelete.c: Likewise. + * elf/order2.c: Likewise. + * elf/tst-_dl_addr_inside_object.c: Likewise. + * elf/tst-addr1.c: Likewise. + * elf/tst-align.c: Likewise. + * elf/tst-align2.c: Likewise. + * elf/tst-audit11.c: Likewise. + * elf/tst-audit12.c: Likewise. + * elf/tst-audit2.c: Likewise. + * elf/tst-audit9.c: Likewise. + * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro. + * elf/tst-deep1.c: Likewise. + * elf/tst-dl-iter-static.c: Likewise. + * elf/tst-dlmodcount.c: Likewise. + * elf/tst-dlmopen1.c: Likewise. + * elf/tst-dlmopen2.c: Likewise. + * elf/tst-dlmopen3.c: Likewise. + * elf/tst-dlopen-aout.c: Likewise. + * elf/tst-dlopenrpath.c: Likewise. + * elf/tst-dlsym-error.c: Likewise. + * elf/tst-execstack-needed.c: Likewise. + * elf/tst-execstack-prog.c: Likewise. + * elf/tst-execstack.c: Likewise. + * elf/tst-global1.c: Likewise. + * elf/tst-gnu2-tls1.c: Likewise. + * elf/tst-latepthread.c: Likewise. + * elf/tst-leaks1.c: Likewise. + * elf/tst-linkall-static.c: Likewise. + (do_test): New function. + * elf/tst-nodelete-opened.c: Likewise. + * elf/tst-nodelete.cc: Likewise. + * elf/tst-nodelete2.c: Likewise. + * elf/tst-noload.c: Likewise. + * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro. + * elf/tst-order-main.c: Likewise. + * elf/tst-pathopt.c: Likewise. + * elf/tst-pie2.c: Likewise. + * elf/tst-piemod1.c: Likewise. + * elf/tst-prelink.c: Likewise. + * elf/tst-protected1a.c: Likewise. + * elf/tst-protected1b.c: Likewise. + * elf/tst-ptrguard1.c: Likewise, import getopt.h, + and define _GNU_SOURCE macro. + (cmdline_process_function): New function. + * elf/tst-relsort1.c: Likewise. + * elf/tst-stackguard1.c: Likewise, import getopt.h, + and define _GNU_SOURCE macro. + (cmdline_process_function): New function. + * elf/tst-thrlock.c: Likewise. + * elf/tst-tls-dlinfo.c: Likewise. + * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h. + * elf/tst-tls1.c: Likewise. + * elf/tst-tls10.c: Likewise. + * elf/tst-tls11.c: Likewise. + * elf/tst-tls12.c: Likewise. + * elf/tst-tls13.c: Likewise. + * elf/tst-tls14.c: Likewise. + * elf/tst-tls15.c: Likewise. + * elf/tst-tls16.c: Likewise. + * elf/tst-tls17.c: Likewise. + * elf/tst-tls18.c: Likewise. + * elf/tst-tls19.c: Likewise. + * elf/tst-tls2.c: Likewise. + * elf/tst-tls3.c: Likewise. + * elf/tst-tls4.c: Likewise. + * elf/tst-tls5.c: Likewise. + * elf/tst-tls6.c: Likewise. + * elf/tst-tls7.c: Likewise. + * elf/tst-tls8.c: Likewise. + * elf/tst-tls9.c: Likewise. + * elf/tst-tlsalign-extern.c: Likewise. + * elf/tst-tlsalign.c: Likewise. + * elf/tst-unique1.c: Likewise. + * elf/tst-unique2.c: Likewise. + * elf/vismain.c: Likewise. + +2017-04-05 Wainer dos Santos Moschetta + + * string/test-strnlen.c (do_page_tests): New function + to check length of strings ending at the page boundary. + (test_main): Added call to the do_page_tests function. + +2017-04-05 Wainer dos Santos Moschetta + Paul E. Murphy + + * sysdeps/powerpc/powerpc64/multiarch/Makefile + (sysdep_routines): Add strnlen-power8. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (strnlen): Add __strnlen_power8 to list of strnlen functions. + * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/strnlen.c + (__strnlen): Add __strnlen_power8 to ifunc list. + * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file. + +2017-04-04 Wainer dos Santos Moschetta + + * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove + the TEST_FUNCTION macro definition. + * wcsmbs/tst-mbrtowc2.c: Likewise. + * wcsmbs/tst-mbsrtowcs.c: Likewise. + * wcsmbs/tst-wchar-h.c: Likewise. + * wcsmbs/tst-wcpncpy.c: Likewise. + * wcsmbs/tst-wcrtomb.c: Likewise. + * wcsmbs/tst-wcsnlen.c: Likewise. + * wcsmbs/tst-wcstof.c: Likewise. + +2017-04-04 Adhemerval Zanella + + * nptl/pthread_create.c (START_THREAD_DEFN): Remove + CALL_THREAD_FCT macro usage. + * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition. + * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise. + * sysdeps/x86_64/32/nptl/tls.h: Remove file. + + * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro. + * sysdeps/unix/sysv/linux/arm/kernel-features.h + (__ASSUME_REQUEUE_PI): Likewise. + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_REQUEUE_PI): Likewise. + * sysdeps/unix/sysv/linux/m68k/kernel-features.h + (__ASSUME_REQUEUE_PI): Likewise. + * sysdeps/unix/sysv/linux/mips/kernel-features.h + (__ASSUME_REQUEUE_PI): Likewise. + * sysdeps/unix/sysv/linux/sparc/kernel-features.h + (__ASSUME_REQUEUE_PI): Likewise. + +2017-04-04 Florian Weimer + + * resolv/tst-resolv-canonname.c: New file. + * resolv/Makefile (tests): Add tst-resolv-canonname. + (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread. + +2017-04-04 Florian Weimer + + * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack): + Declare. + * resolv/nss_dns/dns-network.c: Include . + (NS_MAXCDNAME): Remove definition. + (__ns_name_ntop, __ns_name_unpack): Remove declaration. + * resolv/nss_dns/dns-host.c: Include . + (NS_MAXCDNAME): Remove definition. + (__ns_name_ntop, __ns_name_unpack): Remove declaration. + +2017-04-04 Florian Weimer + + * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand + call whose result is not used. + +2017-04-04 Florian Weimer + + * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file. + * resolv/Makefile (tests): Add tst-ns_name. + (tst-ns_name): Link with -lresolv. + (tst-ns_name.out): Depend on the input data file. + +2017-04-04 Stefan Liebler + + * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD): + Clobber also r14. + +2017-04-03 Mike Frysinger + + [BZ #21253] + * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size + slack space by 32KiB. + +2017-04-01 Wladimir van der Laan + + [BZ #21338] + * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX + instead of incorrect do_set_arena_test + +2017-03-31 Gabriel F. T. Gomes + + * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE. + * math/bits/math-finite.h: Likewise. + +2017-03-31 Slava Barinov + + [BZ #21289] + * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH. + +2017-03-30 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle + non expected inotify_add_watch and quotactl return. + +2017-03-30 Gabriel F. T. Gomes + + * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type + to int32_t. + * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l + as returning int32_t. + +2017-03-30 Gabriel F. T. Gomes + + * math/math.h: Include bits/math-finite.h once per + floating-point type. + * math/bits/math-finite.h: Macroize all declarations by + floating-point type. + +2017-03-29 Adhemerval Zanella + + [BZ #21182] + * string/test-memchr.c (do_test): Add BZ#21182 checks for address + near end of a page. + * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix + overflow calculation. + +2017-03-28 Steve Ellcey + + * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy. + (IMPL) Call with 1 instead of 0 as argument. + +2017-03-28 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file. + * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise. + * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise. + * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise. + * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise. + * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise. + * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise. + * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise. + * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise. + * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise. + * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise. + * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise. + * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise. + * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise. + * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise. + * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise. + * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise. + * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise. + * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise. + * sysdeps/unix/sysv/linux/setegid.c (setegid): Use + INLINE_SYSCALL_ERROR_RETURN_VALUE. + * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise. + * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if + defined. + * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use + __NR_setgroups32 if defined. + * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32 + if defined. + * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use + __NR_setresgid32 is defined. + * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use + __NR_setresuid32 if defined. + * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use + __NR_setreuid32 if defined. + * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if + defined. + * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file. + * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise. + * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise. + * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise. + * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise. + * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise. + * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise. + * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise. + * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise. + * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise. + * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise. + * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise. + * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise. + * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise. + * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise. + * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise. + * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise. + * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise. + * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise. + * sysdeps/unix/sysv/linux/setegid.c (setegid): Use + INLINE_SYSCALL_ERROR_RETURN_VALUE. + * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise. + * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if + defined. + * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use + __NR_setgroups32 if defined. + * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32 + if defined. + * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use + __NR_setresgid32 is defined. + * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use + __NR_setresuid32 if defined. + * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use + __NR_setreuid32 if defined. + * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if + defined. + +2017-03-27 Joseph Myers + + [BZ #21277] + * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define + unconditionally. + (IMAXBEL): Likewise. + (IUTF8): Likewise. + +2017-03-27 Szabolcs Nagy + + * sysdeps/aarch64/libm-test-ulps: Update. + +2017-03-24 Sunyeop Lee + + * README.tunables: Updated descriptions. + * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE. + * scripts/gen-tunables.awk: Updated the code related to the + commit. + +2017-03-23 Wilco Dijkstra + + * benchtests/Makefile (string-benchset): Add memcpy-random. + * benchtests/bench-memcpy-random.c: New file. + +2017-03-23 Tulio Magno Quites Machado Filho + + * stdio-common/printf.h (register_printf_modifier): Change the + order of __wur and __THROW. + (register_printf_type): Likewise. + +2017-03-23 Wainer dos Santos Moschetta + + * string/test-string.h (TEST_FUNCTION): Use test_main instead of + test_main (). + (CMDLINE_PROCESS): Use function instead of defined macro. + * debug/test-strcpy_chk.c: Import support/test-driver.c and also + to use set_fortify_handler(). + * string/bug-envz1.c: Import support/test-driver.c instead of + test-skeleton.c. + * string/bug-strcoll2.c: Likewise. + * string/bug-strtok1.c: Likewise. + * string/stratcliff.c: Likewise. + * string/test-ffs.c: Likewise. + * string/test-memccpy.c: Likewise. + * string/test-memchr.c: Likewise. + * string/test-memcmp.c: Likewise. + * string/test-memcpy.c: Likewise. + * string/test-memmem.c: Likewise. + * string/test-memmove.c: Likewise. + * string/test-memrchr.c: Likewise. + * string/test-memset.c: Likewise. + * string/test-rawmemchr.c: Likewise. + * string/test-strcasecmp.c: Likewise. + * string/test-strcasestr.c: Likewise. + * string/test-strcat.c: Likewise. + * string/test-strchr.c: Likewise. + * string/test-strcmp.c: Likewise. + * string/test-strcpy.c: Likewise. + * string/test-string.h: Likewise. + * string/test-strlen.c: Likewise. + * string/test-strncasecmp.c: Likewise. + * string/test-strncat.c: Likewise. + * string/test-strncmp.c: Likewise. + * string/test-strncpy.c: Likewise. + * string/test-strnlen.c: Likewise. + * string/test-strpbrk.c: Likewise. + * string/test-strrchr.c: Likewise. + * string/test-strspn.c: Likewise. + * string/test-strstr.c: Likewise. + * string/tst-bswap.c: Likewise. + * string/tst-cmp.c: Likewise. + * string/tst-endian.c: Likewise. + * string/tst-inlcall.c: Likewise. + * string/tst-strcoll-overflow.c: Likewise. + * string/tst-strfry.c: Likewise. + * string/tst-strlen.c: Likewise. + * string/tst-strtok.c: Likewise. + * string/tst-strtok_r.c: Likewise. + * string/tst-strxfrm.c: Likewise. + * string/tst-strxfrm2.c: Likewise. + * string/tst-svc.c: Likewise. + * string/tst-svc2.c: Likewise. + +2017-03-22 Zack Weinberg + + * stdio-common/bug25.c: Include stdlib.h. + * support/tst-support_format_dns_packet.c: Include stdio.h, + stdlib.h, and string.h. + * support/tst-support_record_failure.c: Include string.h. + * support/tst-support_record_failure-2.sh: Adjust line number + expectations and correct a typo in an error message. + +2017-03-21 H.J. Lu + + [BZ #21258] + * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt): + Define only if _dl_runtime_resolve is defined to + _dl_runtime_resolve_sse_vex. + * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt): + Fallthrough to _dl_runtime_resolve_sse_vex. + +2017-03-21 Joseph Myers + + * INSTALL: Regenerated. + +2017-03-21 Thorsten Kukuk + + * config.h.in: Add LINK_OBSOLETE_NSL. + * config.make.in: Add build-obsolete-nsl. + * configure.ac: Add obsolete-nsl option. + * include/libc-symbols.h: Define libnsl_hidden_nolink_def. + * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto. + * include/rpcsvc/nislib.h: Likewise. + * include/rpcsvc/ypclnt.h: Likewise. + * manual/install.texi: Document --enable-obsolete-nsl. + * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl). + * nis/nis_add.c: Replace libnsl_hidden_def with + libnsl_hidden_nolink_def. + * nis/nis_addmember.c: Likewise. + * nis/nis_call.c: Likewise. + * nis/nis_clone_obj.c: Likewise. + * nis/nis_defaults.c: Likeise. + * nis/nis_domain_of_r.c: Likewise. + * nis/nis_error.c: Likewise. + * nis/nis_file.c: Likewise. + * nis/nis_free.c: Likewise. + * nis_local_names.c: Likewise. + * nis/nis_lookup.c: Likewise. + * nis/nis_modify.c: Likewise. + * nis/nis_print.c: Likewise. + * nis/nis_remove.c: Likewise. + * nis/nis_table.c: Likewise. + * nis/nis_util.c: Likewise. + * nis/nis_xdr.c: Likewise. + * nis/yp_xdr.c: Likewise. + * nis/ypclnt.c: Likewise. + * nis/ypupdate_xdr.c: Likewise. + * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions. + * nis/nis_clone_dir.c: Likewise. + * nis/nis_clone_res.c: Likewise. + * nis/nis_creategroup.c: Likewise. + * nis/nis_destroygroup.c: Likewise. + * nis/nis_domain_of.c: Likewise. + * nis/nis_getservlist.c: Likewise. + * nis/nis_ismember.c: Likewise. + * nis/nis_mkdir.c: Likewise. + * nis/nis_ping.c: Likewise. + * nis/nis_print_group_entry.c: Likewise. + * nis/nis_removemember.c: Likewise. + * nis/nis_rmdir.c: Likewise. + * nis/nis_server.c: Likewise. + * nis/nis_subr.c: Likewise. + * nis/nis_verifygroup.c: Likewise. + +2017-03-21 Stefan Liebler + + * malloc/tst-interpose-aux.c (check_for_allocations): + Move compiler barrier before free. + +2017-03-20 Joseph Myers + + [BZ #21279] + * sysdeps/unix/sysv/linux/x86_64/x32/Makefile + [$(subdir) = conform] (conformtest-xfail-conds): Update comment. + * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for + x86_64-x32-linux. + (mq_attr.mq_maxmsg): Likewise. + (mq_attr.mq_msgsize): Likewise. + (mq_attr.mq_curmsgs): Likewise. + + [BZ #21278] + * sysdeps/unix/sysv/linux/mips/mips32/Makefile + [$(subdir) = conform] (conformtest-xfail-conds): Update comment. + * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for + mips-o32-linux. + + [BZ #21268] + * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only + if [__USE_MISC] + (NL3): Likewise. + +2017-03-20 Mike Frysinger + + [BZ #21275] + * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename + __stack to __stackbase. + (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of + checks so we can include defined(__ia64__) first. + +2017-03-19 Christian Brauner + + * sysdeps/unix/sysv/linux/ttyname.h: New file. + * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h". + (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional. + Call is_pty when the link does not exist or does not match, fail + with ENODEV when it returns true. + * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h". + (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional. + Call is_pty when the link does not exist or does not match, fail + with ENODEV when it returns true. + +2017-03-18 Joseph Myers + + [BZ #16437] + * sysdeps/unix/sysv/linux/x86_64/x32/Makefile + [$(subdir) = conform] (conformtest-xfail-conds): New variable. + * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for + x86_64-x32-linux. + * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise. + * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise. + * conform/data/time.h-data (timespec.tv_nsec): Likewise. + + [BZ #21261] + * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h + [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved + names for all fields. + * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update + for jmp_buf field renaming. + (_JMPBUF_UNWINDS_ADJ): Likewise. + + * conform/conformtest.pl: Handle xfail[cond]- in header mentioned + with allow-header. + +2017-03-17 Chris Evans + + * malloc/malloc.c (unlink): Add consistency check between size and + next->prev->size, to further harden against 1-byte overflows. + +2017-03-17 H.J. Lu + + * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with + CPU_FEATURES_CPU_P. + +2017-03-17 Joseph Myers + + [BZ #21259] + * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define + unconditionally, not just for [__USE_MISC]. + + [BZ #17786] + * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file. + * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for + mips-o32-linux. + + [BZ #21260] + * sysdeps/unix/sysv/linux/alpha/Makefile + [$(subdir) = conform] (conformtest-xfail-conds): New variable. + * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux. + + * conform/conformtest.pl ($cross): New variable. + (--cross): New command-line option. + (runtest): Skip test execution when cross-compiling. + * conform/Makefile (conformtest-cross): New variable. + ($(conformtest-header-tests)): Pass $(conformtest-cross) to + conformtest.pl. + + * conform/conformtest.pl ($xfail_str): New variable. + (--xfail=): New command-line option. + (top level): Handle expectations starting xfail[cond]-. + * conform/Makefile (conformtest-xfail): New variable. + ($(conformtest-header-tests)): Pass $(conformtest-xfail) to + conformtest.pl. + +2017-03-16 Joseph Myers + + * conform/conformtest.pl: Use compilation instead of execution + tests for testing values of constants and usability in #if. + +2017-03-16 Tulio Magno Quites Machado Filho + + * math/auto-libm-test-in: Mark some catan and catanh as + xfail-rounding:ibm128-libgcc. + * math/auto-libm-test-out-catan: Regenerate. + * math/auto-libm-test-out-catanh: Likewise. + +2017-03-16 Joseph Myers + + * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro. + (__END_NAMESPACE_STD): Likewise. + (__USING_NAMESPACE_STD): Likewise. + (__BEGIN_NAMESPACE_C99): Likewise. + (__END_NAMESPACE_C99): Likewise. + (__USING_NAMESPACE_C99): Likewise. + * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and + undefine macro. + (_Mdouble_END_NAMESPACE): Likewise. + * ctype/ctype.h: Do not handle C++ namespaces. + * libio/bits/stdio-ldbl.h: Likewise. + * libio/stdio.h: Likewise. + * locale/locale.h: Likewise. + * math/bits/mathcalls.h: Likewise. + * setjmp/setjmp.h: Likewise. + * signal/signal.h: Likewise. + * stdlib/bits/stdlib-float.h: Likewise. + * stdlib/bits/stdlib-ldbl.h: Likewise. + * stdlib/stdlib.h: Likewise. + * string/string.h: Likewise. + * sysdeps/x86/fpu/bits/mathinline.h: Likewise. + * time/bits/types/clock_t.h: Likewise. + * time/bits/types/struct_tm.h: Likewise. + * time/bits/types/time_t.h: Likewise. + * time/time.h: Likewise. + * wcsmbs/bits/wchar-ldbl.h: Likewise. + * wcsmbs/uchar.h: Likewise. + * wcsmbs/wchar.h: Likewise. + [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition. + * wctype/wctype.h: Do not handle C++ namespaces. + * scripts/begin-end-check.pl: Remove. + * Makefile (installed-headers): Likewise. + (tests-special): Do not add $(objpfx)begin-end-check.out. + ($(objpfx)begin-end-check.out): Remove. + +2017-03-15 Steve Ellcey + Adhemerval Zanella + + * sysdeps/aarch64/dl-machine.h: Include cpu-features.c. + (DL_PLATFORM_INIT): New define. + (dl_platform_init): New function. + * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h. + * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file. + * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise. + * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise. + * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise. + +2017-03-15 Mike Frysinger + + * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED + instead of PIC. + +2017-03-15 Joseph Myers + + [BZ #21094] + * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use + 24+24+24-bit pi for wider range of values around pi/2. + * math/auto-libm-test-in: Add more tests of cos and tan. + * math/auto-libm-test-out-cos: Regenerated. + * math/auto-libm-test-out-tan: Likewise. + +2017-03-15 John David Anglin + + * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define. + (RTLD_START): Don't record stack end address in _dl_start_user. + +2017-03-15 Alexey Neyman + + [BZ #21088] + * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check + around definitions match those around use. + +2017-03-15 Alexey Neyman + + * configure.ac: Avoid empty subexpression in grep. + * configure: Regenerate. + +2017-03-13 Adhemerval Zanella + + * posix/test-errno.c (do_test): Initialize setsockopt optlen. + * sysdeps/unix/sysv/linux/test-errno.c: Move to ... + * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here. + (test_wrp_rv): Fix format. + (test_wrp_rv2): New macro. + (do_test): Handle mlock return on 64 bits kernels with 32 bits + binaries. + +2017-03-15 Joseph Myers + + * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP): + Use a union when storing pointers. + (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and + cast result when passing to INIT_VEC_PTRS_LOOP. + (VECTOR_WRAPPER_fFF_3): Likewise. + (VECTOR_WRAPPER_fFF_4): Likewise. + +2017-03-14 Gabriel F. T. Gomes + + * include/bits/mathcalls-helper-functions.h: New file. + * math/Makefile (headers): Add bits/mathcalls-helper-functions.h. + * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig) + (__isinf, __isnan, __issignaling, __signbit): Move declarations to + math/bits/mathcalls-helper-functions.h. + * math/bits/mathcalls-helper-functions.h: New file. + * math/math.h: Include bits/mathcalls-helper-functions.h for + float, double, and long double. + +2017-03-15 Gabriel F. T. Gomes + + * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept + instead of feraiseexcept. + +2017-03-15 Florian Weimer + + [BZ #21243] + * support/temp_file.c (support_delete_temp_files): Add comment + about ignored errors. + +2017-03-15 Florian Weimer + + [BZ #21244] + * support/xclose.c: New file. + * support/Makefile (libsupport-routines): Add xclose. + * support/xunistd.h (xclose): Declare. + * support/resolv_test.c (server_thread_tcp_client) + (server_thread_tcp, make_server_sockets, resolv_test_start) + (resolv_test_end): Call xclose instead of close. + * support/support_enter_network_namespace.c + (support_enter_network_namespace): Likewise. + * support/support_run_diff.c (write_to_temp_file): Likewise. + +2017-03-15 Florian Weimer + + * support/support_format_dns_packet.c (support_format_dns_packet): + Handle CNAME records in the response. Extract RDATA names from + rdata, not the whole packet. Check AAAA record length. + * support/tst-support_format_dns_packet.c: New file. + * support/Makefile (tests): Add tst-support_format_dns_packet. + (tst-support_format_dns_packet): Link against libresolv. - * sysdeps/unix/sysv/signum.h (SIGCHLD): Changed #. - (SIGUSR1, SIGUSR2, SIGPWR): Added. - (_NSIG): Updated. +2017-03-14 Adhemerval Zanella - * sysdeps/unix/sysv/utmp.h: New. + [BZ #21232] + * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add + posix_fadvise64 weak_alias for static build. - * sysdeps/unix/bsd/getlogin.c: Moved to sysdeps/unix/getlogin.c. +2017-03-14 Andreas Schwab + + * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove. + * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove. + (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly. + * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove. + * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove. + (_dl_string_platform): Use GLRO(dl_mips_platforms) directly. + * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove. + * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove. + +2017-03-13 Samuel Thibault + + * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into + posix error code. + * sysdeps/mach/hurd/recv.c (__recv): Likewise. + +2017-03-13 Adhemerval Zanella + + * scripts/build-many-glibcs.py (Context.add_all_configs): Remove + no_isolate usage for SH. + +2017-03-13 Wilco Dijkstra + + [BZ #15105] + [BZ #19463] + * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup. + * inet/rcmd.c (rcmd_af): Likewise. + * inet/rexec.c (rexec_af): Likewise. + * intl/dcigettext.c (_LIBC): Likewise. + * intl/finddomain.c (_nl_find_domain): Use strdup expansion. + * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup. + * locale/setlocale.c (setlocale): Likewise. + * posix/spawn_faction_addopen.c + (posix_spawn_file_actions_addopen): Likewise. + * stdlib/putenv.c (putenv): Use __strndup. + * sunrpc/svc_simple.c (__registerrpc): Use __strdup. + * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup. + * include/stdlib.h (__need_malloc_and_calloc): Remove uses. + (__Need_M_And_C) Remove define/undef. + * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses. + (__malloc_and_calloc_defined): Remove define. + * string/bits/string2.h (__strdup): Remove define. + (strdup): Likewise. + (__strndup): Likewise. + (strndup): Likewise. + +2017-03-13 Joseph Myers + + * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New + macro. + (IPV6_ADDR_PREFERENCES): Likewise. + (IPV6_MINHOPCOUNT): Likewise. + (IPV6_ORIGDSTADDR): Likewise. + (IPV6_RECVORIGDSTADDR): Likewise. + (IPV6_TRANSPARENT): Likewise. + (IPV6_UNICAST_IF): Likewise. + (IPV6_RECVFRAGSIZE): Likewise. + +2017-03-13 Thorsten Kukuk + + * sunrpc/Makefile: only run rpcgen tests if we build rpcgen. + +2017-03-12 Alexey Neyman + + * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition + in R_SH_DIR32 case is always false when inlined from + dl-conflict.c. Ifdef out to prevent GCC from insertin an + +2016-03-12 Marko Myllynen + + * sysdeps/unix/sysv/linux/alpha/kernel-features.h + (__ASSUME_RECV_SYSCALL): Replace duplicate by + __ASSUME_SEND_SYSCALL. + +2017-03-11 Thorsten Kukuk + + * sunrpc/Makefile: don't build and install rpcsvc header + files, rpcgen and librpcsvc.a by default. + +2017-03-10 Stefan Liebler + + * math/auto-libm-test-out-catan: Regenerated. + * math/auto-libm-test-out-catanh: Likewise. + * sysdeps/s390/fpu/libm-test-ulps: Likewise. + +2017-03-09 Joseph Myers + + * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps + for long double with corrected test expectations. + +2016-03-08 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL): + Define. + * sysdeps/unix/sysv/linux/aarch64/sysdep.h + (HAVE_INTERNAL_SEND_SYMBOL): Undefine. + * sysdeps/unix/sysv/linux/nios2/sysdep.h + (HAVE_INTERNAL_SEND_SYMBOL): Likewise. + * sysdeps/unix/sysv/linux/tile/sysdep.h + (HAVE_INTERNAL_SEND_SYMBOL): Likewise. + * sysdeps/unix/sysv/linux/alpha/kernel-features.h + (__ASSUME_RECV_SYSCALL): Define. + * sysdeps/unix/sysv/linux/arm/kernel-features.h + (__ASSUME_RECV_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/hppa/kernel-features.h + (__ASSUME_RECV_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/ia64/kernel-features.h + (__ASSUME_RECV_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/mips/kernel-features.h + (__ASSUME_RECV_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/i386/kernel-features.h + (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define. + * sysdeps/unix/sysv/linux/m68k/kernel-features.h + (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/s390/kernel-features.h + (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from + auto-generation list. + * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike. + * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/send.c: Simplify includes. + (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by + __ASSUME_SENDTO_SYSCALL. + * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file. + * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise. + * sysdeps/unix/sysv/linux/generic/send.c: Likewise. + + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from + auto-generation list. + * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_SENDTO_SYSCALL): Define by default. + * sysdeps/unix/sysv/linux/i386/kernel-features.h + (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support + __NR_sendto. + * sysdeps/unix/sysv/linux/m68k/kernel-features.h + (__ASSUME_SENDTO_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/s390/kernel-features.h + (__ASSUME_SENDTO_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/microblaze/kernel-features.h + (__ASSUME_SENDTO_SYSCALL): Remove definition. + * sysdeps/unix/sysv/linux/powerpc/kernel-features.h + (__ASSUME_SENDTO_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/sh/kernel-features.h: + (__ASSUME_SENDTO_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/sendto.c: Simplify includes. + + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from + auto-generation list. + * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/alpha/kernel-features.h + (__ASSUME_RECV_SYSCALL): New define. + * sysdeps/unix/sysv/linux/arm/kernel-features.h + (__ASSUME_RECV_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/hppa/kernel-features.h + (__ASSUME_RECV_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/ia64/kernel-features.h + (__ASSUME_RECV_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/mips/kernel-features.h + (__ASSUME_RECV_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/i386/kernel-features.h + (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define. + * sysdeps/unix/sysv/linux/m68k/kernel-features.h + (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define. + * sysdeps/unix/sysv/linux/s390/kernel-features.h + (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define. + * sysdeps/unix/sysv/linux/generic/recv.c: Remove file. + * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise. + * sysdeps/unix/sysv/linux/recv.c: Simplify includes. + (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of + __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall. + + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from + auto-generation list. + * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/i386/kernel-features.h + (__ASSUME_RECVFROM_SYSCALL): Define by default. + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support + __NR_recvfrom. + * sysdeps/unix/sysv/linux/m68k/kernel-features.h + (__ASSUME_RECVFROM_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/s390/kernel-features.h + (__ASSUME_RECVFROM_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/microblaze/kernel-features.h + (__ASSUME_RECVFROM_SYSCALL): Remove definition. + * sysdeps/unix/sysv/linux/powerpc/kernel-features.h + (__ASSUME_RECVFROM_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/sh/kernel-features.h + (__ASSUME_RECVFROM_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/sparc/kernel-features.h + (__ASSUME_RECVFROM_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes. + + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from + auto-generation list. + * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/connect.c: Simplify include list. + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_CONNECT_SYSCALL): Define. + * sysdeps/unix/sysv/linux/i386/kernel-features.h + (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it. + * sysdeps/unix/sysv/linux/m68k/kernel-features.h + (__ASSUME_CONNECT_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/s390/kernel-features.h + (__ASSUME_CONNECT_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/sparc/kernel-features.h + (__ASSUME_CONNECT_SYSCALL): Likewise. + + * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace + __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL. + * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from + auto-generation list. + * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/i386/kernel-features.h + (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define. + (__ASSUME_ACCEPT_SYSCALL): Undefine. + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_ACCEPT_SYSCALL): New define. + * sysdeps/unix/sysv/linux/m68k/kernel-features.h + (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define. + (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports. + * sysdeps/unix/sysv/linux/microblaze/kernel-features.h + (__ASSUME_ACCEPT_SYSCALL): Define. + * sysdeps/unix/sysv/linux/powerpc/kernel-features.h + (__ASSUME_ACCEPT_SYSCALL): Undefine. + * sysdeps/unix/sysv/linux/s390/kernel-features.h + (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define. + (__ASSUME_ACCEPT_SYSCALL): Undefine. + * sysdeps/unix/sysv/linux/sh/kernel-features.h + (__ASSUME_ACCEPT_SYSCALL): Undefine. + * sysdeps/unix/sysv/linux/sparc/kernel-features.h + (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits. + +2017-03-08 Yury Norov + Zack Weinberg + + * posix/test-errno.c: New file. + * posix/Makefile (tests): Add test-errno. + * sysdeps/unix/sysv/linux/test-errno.c: New file. + * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno. + +2017-03-08 Stefan Liebler + + * sysdeps/s390/fpu/libm-test-ulps: Regenerated. + +2017-03-07 Florian Weimer + + * time/tzset.c (compute_offset): Open-code min macro. + (min, max, sign): Remove. + +2017-03-07 Florian Weimer + + [BZ #15576] + Remove TZNAME_MAX limit from sysconf. + * include/time.h (__tzname_cur_max, __tzname_max): Remove + declaration. + * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call + compute_tzname_max. + (compute_tzname_max): Remove. + * time/tzset.c (__tzname_cur_max, __tzname_max): Remove. + (update_vars): Do not update __tzname_cur_max. + (tzset_internal): Remove argument. + (__tzset): Adjust call to tzset_internal. + (__tz_convert): Likewise. + + * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX. + * sysdeps/posix/sysconf.c (__sysconf): Likewise. + * manual/conf.texi (Sysconf Definition): Update comment. + +2017-03-07 Siddhesh Poyarekar + + [BZ #21209] + * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for + AT_SECURE processes. + * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK. + * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK. + (test_child): Likewise. + * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK. + +2017-03-07 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file. + +2017-03-06 Stefan Liebler + + * sysdeps/s390/atomic-machine.h + (USE_ATOMIC_COMPILER_BUILTINS): Define to 1. + (__arch_compare_and_exchange_val_8_acq, + __arch_compare_and_exchange_val_16_acq, + __arch_compare_and_exchange_val_32_acq, + __arch_compare_and_exchange_val_64_acq): + Delete macro. + (atomic_compare_and_exchange_val_acq, + atomic_compare_and_exchange_val_rel, + atomic_compare_and_exchange_bool_acq, + catomic_compare_and_exchange_bool_acq, + atomic_exchange_acq, atomic_exchange_rel, + atomic_exchange_and_add_acq, + atomic_exchange_and_add_rel, + catomic_exchange_and_add, atomic_or_val, + atomic_or, catomic_or, atomic_bit_test_set, + atomic_and_val, atomic_and, catomic_and): + Define macros with help of C11 atomic builtins. + +2017-03-03 Justus Winter + + * sysdeps/mach/hurd/ftruncate64.c: New file. + * sysdeps/mach/hurd/truncate64.c: Likewise. + +2017-03-03 Florian Weimer + + * time/tzfile.c (NOID): Do not define. + * time/tzset.c (NOID): Likewise. + +2017-03-03 Florian Weimer + + * time/tzset.c (compute_offset): Remove __attribute_noinline__. + +2017-03-02 Florian Weimer + + * elf/get-dynamic-info.h: Remove header file inclusion guard. + +2017-03-02 Florian Weimer + + [BZ #21015] + * manual/install.texi (Configuring and compiling): Document + --enable-bind-now. + * Makeconfig [bind-now] (LDFLAGS-lib.so): Set. + (build-shlib-helper): Use $(LDFLAGS-lib.so). + (format.lds): Likewise. + [bind-now] (LDFLAGS-c.so): Remove. + * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can + be R_X86_64_GLOB_DAT. + * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr + relocation can be R_386_GLOB_DAT. + * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr + relocaiton can be R_ALPHA_GLOB_DAT. + * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now. + +2017-03-01 Zack Weinberg + + * include/libc-pointer-arith.h: New file. Define + cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and + PTR_ALIGN_DOWN here. + * include/libc-internal.h: Definitions of above macros + moved from here. Don't include libc-diag.h anymore either. + * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h. + Don't include libc-internal.h. + + * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c + * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c + * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c + * string/strcoll_l.c, sysdeps/nacl/brk.c + * sysdeps/unix/clock_settime.c + * sysdeps/unix/sysv/linux/i386/get_clockfreq.c + * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c + * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c + * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: + Don't include libc-internal.h. + + * elf/get-dynamic-info.h, iconv/loop.c + * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h + * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h + * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c + * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c + * sysdeps/ieee754/dbl-64/e_lgamma_r.c + * sysdeps/ieee754/dbl-64/k_rem_pio2.c + * sysdeps/ieee754/flt-32/e_lgammaf_r.c + * sysdeps/ieee754/flt-32/k_rem_pio2f.c + * sysdeps/ieee754/ldbl-128/k_tanl.c + * sysdeps/ieee754/ldbl-128ibm/k_tanl.c + * sysdeps/ieee754/ldbl-96/e_lgammal_r.c + * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h: + Include libc-diag.h instead of libc-internal.h. + + * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c + * nptl/nptl-init.c, string/strcspn.c, string/strspn.c + * malloc/malloc.c, sysdeps/i386/nptl/tls.h + * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h + * sysdeps/unix/sysv/linux/spawni.c + * sysdeps/x86_64/nptl/tls.h: + Include libc-pointer-arith.h instead of libc-internal.h. + + * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h + * sysdeps/x86_64/atomic-machine.h: + Add multiple include guard. + + * nss/tst-cancel-getpwuid_r.c: Include nss.h. + * string/strcasestr.c: No need to include config.h. + * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include + sys/auxv.h. Don't include sysdep.h. + * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h. + + * dlfcn/tst-dladdr.c: Don't include ldsodefs.h. Don't use + DL_LOOKUP_ADDRESS. + * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether + LDBL_MANT_DIG is greater than DBL_MANT_DIG. + * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use + sysconf (_SC_PAGESIZE) instead of __getpagesize in definition + of ARTIFICIAL_LIMIT. + * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern + declaration of __clone2. + +2017-02-28 Florian Weimer + + * scripts/backport-support.sh (latest_commit): New file. + +2017-02-28 Florian Weimer + + [BZ #20257] + * inet/Makefile (routines): Add deadline. + (tests-static): Add tst-deadline. + * inet/net-internal.h (struct deadline_current_time) + (__deadline_current_time, struct deadline, __deadline_is_infinite) + (__deadline_elapsed, __deadline_first, __deadline_from_timeval) + (__deadline_to_ms, __is_timeval_valid_timeout): Declare. + * inet/deadline.c: New file. + * inet/tst-deadline.c: Likewise. + * sunrpc/Makefile (tests): Add tst-udp-nonblocking, + tst-udp-timeout, tst-udp-garbage. + (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so + explicitly. + (tst-udp-garbage): Likewise. Also link against thread library. + * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the + struct layout is part of the ABI. + (clntudp_call): Rework timeout handling. + * sunrpc/tst-udp-garbage.c: New file. + * sunrpc/tst-udp-nonblocking.c: Likewise. + * sunrpc/tst-udp-timeout.c: Likewise. + +2017-02-28 Florian Weimer + + [BZ #5010] + * sunrpc/svc.c (svc_is_mapped): Remove. + (svc_unregister): Obtain mapped status while the service is still + registered. + * sunrpc/Makefile [have-thread-library] (tests): Add + tst-svc_register. + (tst-svc_register): Link against libc.so explicitly and the thread + library. + * sunrpc/tst-svc_register.c: New file. + +2017-02-28 Andreas Schwab + + * bits/sigthread.h: Refer to , not . + * sysdeps/pthread/bits/sigthread.h: Likewise. + +2017-02-27 Florian Weimer + + [BZ #21115] + * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later. + * sunrpc/Makefile (tests): Add tst-udp-error. + (tst-udp-error): Link against libc.so explicitly. + * sunrpc/tst-udp-error: New file. + +2017-02-25 Zack Weinberg + + * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and + __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN. + + * sysdeps/generic/math_ldbl.h + * sysdeps/ia64/fpu/math_ldbl.h + * sysdeps/ieee754/ldbl-128/math_ldbl.h + * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h + * sysdeps/ieee754/ldbl-96/math_ldbl.h + * sysdeps/powerpc/fpu/math_ldbl.h + * sysdeps/x86_64/fpu/math_ldbl.h: + Allow direct inclusion. Use uintNN_t instead of u_intNN_t. + Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and + LITTLE_ENDIAN. Include endian.h and/or stdint.h if necessary. + Add copyright notices. + + * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int): + Don't use EXTRACT_WORDS64. + + * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c + * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c + * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c + * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: + Include math_ldbl.h, not math_private.h. + +2017-02-25 Zack Weinberg + + * include/libc-diag.h: New file. Define ignore_value, + DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT, + DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here. + + * include/libc-internal.h: Definitions of above macros moved from + here. Include libc-diag.h. Add copyright notice. + + * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c + * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c + * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c + * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c + * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c + * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c + * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c + * time/tst-strptime2.c, wcsmbs/tst-wcstof.c: + Include libc-diag.h instead of libc-internal.h. + + * stdlib/tst-environ.c: Include libc-diag.h. Suppress -Wnonnull for + call to unsetenv (NULL). + * nptl/tst-mutex1.c: Include libc-diag.h. Suppress -Wnonnull for + call to pthread_mutexattr_destroy (NULL). + +2017-02-25 Zack Weinberg + + * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro. + * libio/stdio.h, libio/bits/stdio2.h: Condition gets on + __GLIBC_USE (DEPRECATED_GETS). Update comments to indicate + gets was removed from C++ in C++14. + * include/stdio.h: Remove redundant declaration of gets. + * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to + be declared, since we are testing it. + * stdio-common/Makefile (tst-gets.c): Compile with + -Wno-deprecated-declarations. + * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc) + (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c) + (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc): + Compile with -Wno-deprecated-declarations. + +2017-02-24 Tulio Magno Quites Machado Filho + + * math/libm-test-support.c (check_ulp): Use LIT() around literal + numbers. + +2017-02-24 Stefan Liebler + + * resolv/tst-resolv-qtypes.c (domain): + Change type to const pointer to const char. + +2017-02-24 Joseph Myers + + * math/Makefile (libm-tests-generated): Remove variable. + (libm-tests-base-normal): New variable. + (libm-tests-base-finite): Likewise. + (libm-tests-base-inline): Likewise. + (libm-tests-base): Likewise. + (libm-tests-normal): Likewise. + (libm-tests-finite): Likewise. + (libm-tests-inline): Likewise. + (libm-tests-vector): Likewise. + (libm-tests): Define in terms of these new variables. + (libm-tests-for-type): New variable. + (libm-tests.o): Move definition. + (tests): Move addition of $(libm-tests). + (generated): Update for new and removed libm test files. + ($(objpfx)libm-test.c): Remove target. + ($(objpfx)libm-have-vector-test.h): Likewise. + (CFLAGS-test-double-vlen2.c): Remove variable. + (CFLAGS-test-double-vlen4.c): Likewise. + (CFLAGS-test-double-vlen8.c): Likewise. + (CFLAGS-test-float-vlen4.c): Likewise. + (CFLAGS-test-float-vlen8.c): Likewise. + (CFLAGS-test-float-vlen16.c): Likewise. + (CFLAGS-test-float.c): Likewise. + (CFLAGS-test-float-finite.c): Likewise. + (CFLAGS-libm-test-support-float.c): Likewise. + (CFLAGS-test-double.c): Likewise. + (CFLAGS-test-double-finite.c): Likewise. + (CFLAGS-libm-test-support-double.c): Likewise. + (CFLAGS-test-ldouble.c): Likewise. + (CFLAGS-test-ldouble-finite.c): Likewise. + (CFLAGS-libm-test-support-ldouble.c): Likewise. + (libm-test-inline-cflags): New variable. + (CFLAGS-test-ifloat.c): Remove variable. + (CFLAGS-test-idouble.c): Likewise. + (CFLAGS-test-ildouble.c): Likewise. + ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update + dependencies. + ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule. + ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise. + ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise. + ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise. + ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)): + Likewise. + (dependencies on libm-test-support-*.o): Remove. + ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New + rules using iterators. + ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))): + Likewise. + ($(objpfx)libm-test-support-$(o).o): Likewise. + ($(addprefix $(objpfx),$(filter-out $(tests-static) + $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector) + instead. + ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to + define rule instead. + * math/README.libm-test: Update. + * math/libm-test-acos.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-acosh.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-asin.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-asinh.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-atan.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-atan2.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-atanh.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-cabs.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-cacos.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-cacosh.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-canonicalize.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-carg.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-casin.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-casinh.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-catan.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-catanh.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-cbrt.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-ccos.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-ccosh.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-ceil.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-cexp.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-cimag.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-clog.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-clog10.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-conj.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-copysign.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-cos.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-cosh.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-cpow.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-cproj.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-creal.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-csin.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-csinh.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-csqrt.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-ctan.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-ctanh.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-erf.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-erfc.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-exp.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-exp10.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-exp2.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-expm1.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-fabs.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-fdim.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-floor.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-fma.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-fmax.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-fmaxmag.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-fmin.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-fminmag.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-fmod.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-fpclassify.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-frexp.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-fromfp.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-fromfpx.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-getpayload.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-hypot.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-ilogb.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-iscanonical.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-iseqsig.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-isfinite.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-isgreater.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-isinf.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-isless.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-islessequal.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-islessgreater.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-isnan.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-isnormal.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-issignaling.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-issubnormal.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-isunordered.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-iszero.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-j0.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-j1.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-jn.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-lgamma.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-llogb.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-llrint.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-llround.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-log.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-log10.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-log1p.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-log2.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-logb.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-lrint.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-lround.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-modf.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-nearbyint.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-nextafter.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-nextdown.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-nexttoward.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-nextup.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-pow.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-remainder.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-remquo.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-rint.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-round.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-roundeven.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-scalb.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-scalbln.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-scalbn.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-setpayload.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-signbit.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-significand.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-sin.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-sincos.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-sinh.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-sqrt.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-tan.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-tanh.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-tgamma.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-totalorder.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-totalordermag.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-trunc.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-ufromfp.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-ufromfpx.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-y0.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-y1.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-yn.inc: Include libm-test-driver.c. + (do_test): New function. + * math/libm-test-driver.c: Do not include libm-have-vector-test.h. + (HAVE_VECTOR): Remove macro. + (START): Do not call HAVE_VECTOR. + * math/test-double-vlen2.h (FUNC_TEST): Remove macro. + * math/test-double-vlen4.h (FUNC_TEST): Remove macro. + * math/test-double-vlen8.h (FUNC_TEST): Remove macro. + * math/test-float-vlen16.h (FUNC_TEST): Remove macro. + * math/test-float-vlen4.h (FUNC_TEST): Remove macro. + * math/test-float-vlen8.h (FUNC_TEST): Remove macro. + * math/test-math-vector.h (FUNC_TEST): New macro. + (WRAPPER_DECL): Rename to WRAPPER_DECL_f. + * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable. + (double-vlen4-funcs): Likewise. + (double-vlen4-avx2-funcs): Likewise. + (double-vlen8-funcs): Likewise. + (float-vlen4-funcs): Likewise. + (float-vlen8-funcs): Likewise. + (float-vlen8-avx2-funcs): Likewise. + (float-vlen16-funcs): Likewise. + (CFLAGS-test-double-vlen4-avx2.c): Remove variable. + (CFLAGS-test-float-vlen8-avx2.c): Likewise. + * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove + macro. + (TEST_VECTOR_sin): Likewise. + (TEST_VECTOR_sincos): Likewise. + (TEST_VECTOR_log): Likewise. + (TEST_VECTOR_exp): Likewise. + (TEST_VECTOR_pow): Likewise. + * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos): + Likewise. + (TEST_VECTOR_sin): Likewise. + (TEST_VECTOR_sincos): Likewise. + (TEST_VECTOR_log): Likewise. + (TEST_VECTOR_exp): Likewise. + (TEST_VECTOR_pow): Likewise. + * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf): + Likewise. + (TEST_VECTOR_sinf): Likewise. + (TEST_VECTOR_sincosf): Likewise. + (TEST_VECTOR_logf): Likewise. + (TEST_VECTOR_expf): Likewise. + (TEST_VECTOR_powf): Likewise. + * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf): + Likewise. + (TEST_VECTOR_sinf): Likewise. + (TEST_VECTOR_sincosf): Likewise. + (TEST_VECTOR_logf): Likewise. + (TEST_VECTOR_expf): Likewise. + (TEST_VECTOR_powf): Likewise. + * math/gen-libm-have-vector-test.sh: Remove file. + * math/libm-test.inc: Likewise. + * math/libm-test-support-double.c: Likewise. + * math/libm-test-support-float.c: Likewise. + * math/libm-test-support-ldouble.c: Likewise. + * math/test-double-finite.c: Likewise.: Likewise. + * math/test-double.c: Likewise. + * math/test-float-finite.c: Likewise. + * math/test-float.c: Likewise. + * math/test-idouble.c: Likewise. + * math/test-ifloat.c: Likewise. + * math/test-ildouble.c: Likewise. + * math/test-ldouble-finite.c: Likewise. + * math/test-ldouble.c: Likewise. + * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise. + * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise. + * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise. + * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise. + * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise. + +2017-02-23 Gabriel F. T. Gomes + Paul E. Murphy + + * math/Makefile: Add wrappers to gen-libm-calls. + * math/w_acos_template.c: New file. + * math/w_acosh_template.c: Likewise. + * math/w_asin_template.c: Likewise. + * math/w_atan2_template.c: Likewise. + * math/w_atanh_template.c: Likewise. + * math/w_cosh_template.c: Likewise. + * math/w_exp10_template.c: Likewise. + * math/w_exp2_template.c: Likewise. + * math/w_exp_template.c: Likewise. + * math/w_fmod_template.c: Likewise. + * math/w_hypot_template.c: Likewise. + * math/w_j0_template.c: Likewise. + * math/w_j1_template.c: Likewise. + * math/w_jn_template.c: Likewise. + * math/w_lgamma_r_template.c: Likewise. + * math/w_lgamma_template.c: Likewise. + * math/w_log10_template.c: Likewise. + * math/w_log2_template.c: Likewise. + * math/w_log_template.c: Likewise. + * math/w_pow_template.c: Likewise. + * math/w_remainder_template.c: Likewise. + * math/w_sinh_template.c: Likewise. + * math/w_sqrt_template.c: Likewise. + * math/w_tgamma_template.c: Likewise.: Likewise. + * sysdeps/generic/math-type-macros-double.h + (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of + the new wrappers. + * sysdeps/generic/math-type-macros-float.h: Likewise. + * sysdeps/generic/math-type-macros-ldouble.h: Likewise. + +2017-02-22 Joseph Myers + + * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET): + New enum constant and macro. + + * scripts/build-many-glibcs.py (Context.checkout): Default Linux + kernel version to 4.10. + +2017-02-21 Joseph Myers + + * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro. + +2017-02-21 Tulio Magno Quites Machado Filho + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2017-02-21 Wainer dos Santos Moschetta + + * sysdeps/powerpc/tst-set_ppr.c: New file. + Implement test cases for __ppc_set_ppr_* functions. + * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr + in the list of tests. + +2017-02-21 Wainer dos Santos Moschetta + + * sysdeps/powerpc/test-get_hwcap.c: Use + instead of test-skeleton.c. + (do_test): Replaced pthread_create and pthread_join with + xpthread_create and xpthread_join. Use TEST_VERIFY_EXIT macro. + Removed unneeded status variable. + * sysdeps/powerpc/test-gettimebase.c: Use + instead of test-skeleton.c. + * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise. + +2017-02-20 Mike FABIAN + + [BZ #20313] + * include/stdc-predef.h (__STDC_ISO_10646__): Update to + 201605L, for Unicode 9. + +2017-02-20 Joseph Myers + + * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro. + (UNDERFLOW_EXCEPTION_FLOAT): Likewise. + (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise. + (UNDERFLOW_EXCEPTION_DOUBLE): Likewise. + (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise. + (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise. + +2017-02-19 Zack Weinberg + + * rt/tst-mqueue4.c: Include stdint.h. + +2017-02-17 Joseph Myers + + * sysdeps/arm/libm-test-ulps: Update. + * sysdeps/mips/mips32/libm-test-ulps: Likewise. + * sysdeps/mips/mips64/libm-test-ulps: Likewise. + * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise. + +2017-01-17 Adhemerval Zanella + + [BZ #21029] + * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define. + * sysdeps/unix/sysv/linux/i386/Makefile + [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall. + (uses-6-syscall-arguments): Remove. + [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise. + [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise. + [$(subdir) = misc] (CFLAGS-mmap.o): Likewise. + [$(subdir) = misc] (CFLAGS-mmap.os): Likewise. + [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise. + [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise. + [$(subdir) = misc] (CFLAGS-pselect.o): Likewise. + [$(subdir) = misc] (cflags-pselect.o): Likewise. + [$(subdir) = misc] (cflags-pselect.os): Likewise. + [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise. + [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise. + [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise. + [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise. + [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise. + [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise. + [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise. + [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise. + [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise. + [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise. + [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise. + [$(subdir) = io] (CFLAGS-fallocate.o): Likewise. + [$(subdir) = io] (CFLAGS-fallocate.os): Likewise. + [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise. + [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise. + [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o): + Likewise. + [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os): + Likewise. + [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o): + Likewise. + [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os): + Likewise. + [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise. + [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise. + [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise. + [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise. + * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows + ebp on inline assembly. + * sysdeps/unix/sysv/linux/i386/configure: Regenerate. + * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5): + Set if CAN_USE_REGISTER_ASM_EBP is set. + +2017-02-17 H.J. Lu + + * sysdeps/x86/cpu-features.c (init_cpu_features): Use + index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit. + +2017-02-17 Joseph Myers + + * math/auto-libm-test-in: Add tests of catan and catanh. + * math/auto-libm-test-out-catan: New generated file. + * math/auto-libm-test-out-catanh: Likewise. + * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c. + Move tests with finite inputs, except divide-by-zero cases, to + auto-libm-test-in. + * math/libm-test-catanh.inc (catanh_test_data): Likewise. + * math/Makefile (libm-test-funcs-auto): Add catan and catanh. + (libm-test-funcs-noauto): Remove catan and catanh. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + * math/auto-libm-test-in: Add tests of casin and casinh. + * math/auto-libm-test-out-casin: New generated file. + * math/auto-libm-test-out-casinh: Likewise. + * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c. + Move tests with finite inputs to auto-libm-test-in. + * math/libm-test-casinh.inc (casinh_test_data): Likewise. + * math/Makefile (libm-test-funcs-auto): Add casin and casinh. + (libm-test-funcs-noauto): Remove casin and casinh. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + * math/auto-libm-test-in: Add tests of cacos and cacosh. + * math/auto-libm-test-out-cacos: New generated file. + * math/auto-libm-test-out-cacosh: Likewise. + * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c. + Move tests with finite inputs to auto-libm-test-in. + * math/libm-test-cacosh.inc (cacosh_test_data): Likewise. + * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh. + (libm-test-funcs-noauto): Remove cacos and cacosh. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + Revert: + 2017-02-16 Zack Weinberg + + * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h. + Don't include init-arch.h. + * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h. + Don't include init-arch.h. + +2017-02-17 Tulio Magno Quites Machado Filho + + [BZ #21171] + * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return + +Inf and raise divide-by-zero when x is negative. + * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise. + * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise. + * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Return + -Inf and raise divide-by-zero when x = +-0. + * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise. + * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise. + * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise. + * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise. + * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise. + +2017-02-16 Zack Weinberg + + * scripts/build-many-glibcs.py (bot_build_mail): If the + bot_config does not contain all of the necessary email- + related settings, just print a warning and continue. + +2017-02-16 Zack Weinberg + + * crypt/md5.h: Test _LIBC with #if defined, not #if. + * dirent/opendir-tst1.c: Include sys/stat.h. + * dirent/tst-fdopendir.c: Include sys/stat.h. + * dirent/tst-fdopendir2.c: Include stdlib.h. + * dirent/tst-scandir.c: Include stdbool.h. + * elf/tst-auditmod1.c: Include link.h and stddef.h. + * elf/tst-tls15.c: Include stdlib.h. + * elf/tst-tls16.c: Include stdlib.h. + * elf/tst-tls17.c: Include stdlib.h. + * elf/tst-tls18.c: Include stdlib.h. + * iconv/tst-iconv6.c: Include endian.h. + * iconvdata/bug-iconv11.c: Include limits.h. + * io/test-utime.c: Include stdint.h. + * io/tst-faccessat.c: Include sys/stat.h. + * io/tst-fchmodat.c: Include sys/stat.h. + * io/tst-fchownat.c: Include sys/stat.h. + * io/tst-fstatat.c: Include sys/stat.h. + * io/tst-futimesat.c: Include sys/stat.h. + * io/tst-linkat.c: Include sys/stat.h. + * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h. + * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h. + * io/tst-mknodat.c: Include sys/stat.h and stdbool.h. + * io/tst-openat.c: Include stdbool.h. + * io/tst-readlinkat.c: Include sys/stat.h. + * io/tst-renameat.c: Include sys/stat.h. + * io/tst-symlinkat.c: Include sys/stat.h. + * io/tst-unlinkat.c: Include stdbool.h. + * libio/bug-memstream1.c: Include stdlib.h. + * libio/bug-wmemstream1.c: Include stdlib.h. + * libio/tst-fwrite-error.c: Include stdlib.h. + * libio/tst-memstream1.c: Include stdlib.h. + * libio/tst-memstream2.c: Include stdlib.h. + * libio/tst-memstream3.c: Include stdlib.h. + * malloc/tst-interpose-aux.c: Include stdint.h. + * misc/tst-preadvwritev-common.c: Include sys/stat.h. + * nptl/tst-basic7.c: Include limits.h. + * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h. + * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h. + * nptl/tst-cancel4_1.c: Include stddef.h. + * nptl/tst-cancel4_2.c: Include stddef.h. + * nptl/tst-cond16.c: Include limits.h. + Use sysconf(_SC_PAGESIZE) instead of __getpagesize. + * nptl/tst-cond18.c: Include limits.h. + Use sysconf(_SC_PAGESIZE) instead of __getpagesize. + * nptl/tst-cond4.c: Include stdint.h. + * nptl/tst-cond6.c: Include stdint.h. + * nptl/tst-stack2.c: Include limits.h. + * nptl/tst-stackguard1.c: Include stddef.h. + * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h. + * nptl/tst-tls4moda.c: Include stddef.h. + Don't include stdio.h, unistd.h, or tls.h. + * nptl/tst-tls4modb.c: Include stddef.h. + Don't include stdio.h, unistd.h, or tls.h. + * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h. + * posix/tst-getaddrinfo2.c: Include stdio.h. + * posix/tst-getaddrinfo5.c: Include stdio.h. + * posix/tst-pathconf.c: Include sys/stat.h. + * posix/tst-posix_fadvise-common.c: Include stdint.h. + * posix/tst-preadwrite-common.c: Include sys/stat.h. + * posix/tst-regex.c: Include stdint.h. + Don't include spawn.h or spawn_int.h. + * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h. + * posix/tst-vfork3.c: Include sys/stat.h. + * resolv/tst-bug18665-tcp.c: Include stdlib.h. + * resolv/tst-res_hconf_reorder.c: Include stdlib.h. + * resolv/tst-resolv-search.c: Include stdlib.h. + * stdio-common/tst-fmemopen2.c: Include stdint.h. + * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h. + * stdlib/test-canon.c: Include sys/stat.h. + * stdlib/tst-tls-atexit.c: Include stdbool.h. + * string/test-memchr.c: Include stdint.h. + * string/tst-cmp.c: Include stdint.h. + * sysdeps/pthread/tst-timer.c: Include stdint.h. + * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h. + * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h. + * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h. + Don't include init-arch.h. + * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h. + Don't include init-arch.h. + * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h. + * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h. + * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h. + * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h. + * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h. + * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h. + * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h. + * time/clocktest.c: Include stdint.h. + * time/tst-posixtz.c: Include stdint.h. + * timezone/tst-timezone.c: Include stdint.h. + +2017-02-16 Zack Weinberg + + * string/string.h [__USE_MISC]: Include strings.h. + (__bzero, bcmp, bcopy, bzero, index, rindex) + (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l) + (ffs, ffsl, ffsll): Don't declare. + * string/strings.h: Do not suppress the file if string.h has + already been included. + (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull + annotations. + (index, rindex): Define inline forwarders even if + __CORRECT_ISO_CPP_STRING_H_PROTO is defined. + (ffs): Use __attribute_const__. + (ffsl, ffsll): Declare here. + (strcasecmp_l, strncasecmp_l): Correct comments; these functions + have now been standardized. + * include/string.h (__bzero): Declare here. + + * bits/types.h: Move to posix/bits. + * include/bits/types.h: New wrapper. + +2017-02-15 Wilco Dijkstra + + * string/bits/string2.h (strcmp): Remove define. + (__strcmp_cg): Likewise. + (strncmp): Likewise. + +2017-02-15 Wilco Dijkstra + + * include/string.h: Add __cplusplus check. + +2017-02-15 Gabriel F. T. Gomes + + [BZ #21134] + * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the + "divide by zero" exception when the input is zero. + * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise. + * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise. + * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise. + * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise. + * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise. + +2017-02-15 Joseph Myers + + * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to, + and include ... + * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here. New file. + * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents + to, and include ... + * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here. New + file. + * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to, + and include ... + * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here. New file. + * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to, + and include ... + * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here. New file. + * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to, + and include ... + * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here. New file. + * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to, + and include ... + * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here. New file. + * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents + to, and include ... + * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here. New file. + * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to, + and include ... + * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here. New file. + +2017-02-14 Joseph Myers + + * math/libm-test-support.h: Do not include + here. + * math/libm-test-support.c (libm_test_init): Do not call + INIT_ARCH_EXT here. + * math/libm-test-driver.c: Include . + (main): Call INIT_ARCH_EXT. + +2017-02-12 Gabriel F. T. Gomes + + [BZ #21130] + * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN + with the "invalid" exception raised when x is -Inf. + * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise. + +2017-02-10 Wilco Dijkstra + + * string/bits/string2.h (strchr): Remove define. + +2017-02-09 H.J. Lu + + * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and + tst-avx512. + (test-extras): Add tst-avx-aux and tst-avx512-aux. + (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o. + (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod. + ($(objpfx)tst-sse): New rule. + ($(objpfx)tst-avx): Likewise. + ($(objpfx)tst-avx512): Likewise. + (CFLAGS-tst-avx-aux.c): New. + (CFLAGS-tst-avxmod.c): Likewise. + (CFLAGS-tst-avx512-aux.c): Likewise. + (CFLAGS-tst-avx512mod.c): Likewise. + * sysdeps/x86_64/tst-avx-aux.c: New file. + * sysdeps/x86_64/tst-avx.c: Likewise. + * sysdeps/x86_64/tst-avx512-aux.c: Likewise. + * sysdeps/x86_64/tst-avx512.c: Likewise. + * sysdeps/x86_64/tst-avx512mod.c: Likewise. + * sysdeps/x86_64/tst-avxmod.c: Likewise. + * sysdeps/x86_64/tst-sse.c: Likewise. + * sysdeps/x86_64/tst-ssemod.c: Likewise. + +2017-02-09 Joseph Myers + + * math/auto-libm-test-in: Add more tests of csin and csinh. + * math/auto-libm-test-out-csin: Regenerated. + * math/auto-libm-test-out-csinh: Likewise. + * math/libm-test-csin.inc (csin_test_data): Remove tests moved to + auto-libm-test-in. + * math/libm-test-csinh.inc (csinh_test_data): Likewise. + +2017-02-09 Gabriel F. T. Gomes + + * math/Makefile (libm-compat-calls-ldouble-yes): Merge into + libm-compat-calls-auto. + (libm-compat-calls): Likewise. + (libm-compat-calls-auto): Rename to libm-compat-calls and add + w_lgamma_compatF and k_standardF (merged from the items above). + (libm-routines): Use libm-compat-calls, instead of + libm-compat-calls-auto, with type-foreach. + +2017-02-09 Joseph Myers + + * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine + macro. + * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ... + (CFLAGS-test-ifloat.c): ... this. Remove + -U__LIBC_INTERNAL_MATH_INLINES. + * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ... + (CFLAGS-test-idouble.c): ... this. Remove + -U__LIBC_INTERNAL_MATH_INLINES. + * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ... + (CFLAGS-test-ildouble.c): ... this. Remove + -U__LIBC_INTERNAL_MATH_INLINES. + +2017-02-08 Joseph Myers + + * math/libm-test-support.c: New file. Content from + math/libm-test-driver.c. + * math/libm-test-support.h: Likewise. + * math/libm-test-support-double.c: New file. + * math/libm-test-support-float.c: Likewise. + * math/libm-test-support-ldouble.c: Likewise. + * math/libm-test-driver.c: Remove main comment and header + includes. Include libm-test-support.h. + [!_GNU_SOURCE] (_GNU_SOURCE): Do not define. + (flag_test_errno): Remove static. + (flag_test_exceptions): Likewise. + (flag_test_finite): Likewise. + (flag_test_inline): Likewise. + (flag_test_mathvec): Likewise. + (test_msg): Likewise. + (NO_EXCEPTION): Remove. + (INVALID_EXCEPTION): Likewise. + (DIVIDE_BY_ZERO_EXCEPTION): Likewise. + (OVERFLOW_EXCEPTION): Likewise. + (UNDERFLOW_EXCEPTION): Likewise. + (INEXACT_EXCEPTION): Likewise. + (INVALID_EXCEPTION_OK): Likewise. + (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise. + (OVERFLOW_EXCEPTION_OK): Likewise. + (UNDERFLOW_EXCEPTION_OK): Likewise. + (NO_INEXACT_EXCEPTION): Likewise. + (EXCEPTIONS_OK): Likewise. + (IGNORE_ZERO_INF_SIGN): Likewise. + (TEST_NAN_SIGN): Likewise. + (TEST_NAN_PAYLOAD): Likewise. + (NO_TEST_INLINE): Likewise. + (XFAIL_TEST): Likewise. + (ERRNO_UNCHANGED): Likewise. + (ERRNO_EDOM): Likewise. + (ERRNO_ERANGE): Likewise. + (IGNORE_RESULT): Likewise. + (NON_FINITE): Likewise. + (TEST_SNAN): Likewise. + (NO_TEST_MATHVEC): Likewise. + (__CONCATX): Likewise. + (TYPE_MIN): Likewise. + (TYPE_TRUE_MIN): Likewise. + (TYPE_MAX): Likewise. + (MIN_EXP): Likewise. + (MAX_EXP): Likewise. + (MANT_DIG): Likewise. + (FSTR_MAX): Likewise. + (ulp_idx): Likewise. + (qtype_str): Remove static. + (TEST_COND_binary32): Remove. + (TEST_COND_binary64): Likewise. + (TEST_COND_binary128): Likewise. + (TEST_COND_ibm128): Likewise. + (TEST_COND_intel96): Likewise. + (TEST_COND_m68k96): Likewise. + (TEST_COND_ibm128_libgcc): Likewise. + (XFAIL_IBM128_LIBGCC): Likewise. + (PAYLOAD_DIG): Likewise. + (UNDERFLOW_EXCEPTION_FLOAT): Likewise. + (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise. + (UNDERFLOW_EXCEPTION_DOUBLE): Likewise. + (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise. + (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise. + (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise. + (TEST_COND_long32): Likewise. + (TEST_COND_long64): Likewise. + (TEST_COND_before_rounding): Likewise. + (TEST_COND_after_rounding): Likewise. + (ulps_file_name): Likewise. + (ulps_file): Likewise. + (output_ulps): Likewise. + (output_dir): Likewise. + (noErrors): Likewise. + (noTests): Likewise. + (noExcTests): Likewise. + (noErrnoTests): Likewise. + (verbose): Likewise. + (output_max_error): Likewise. + (output_points): Likewise. + (ignore_max_ulp): Likewise. + (max_error): Likewise. + (real_max_error): Likewise. + (imag_max_error): Likewise. + (prev_max_error): Likewise. + (prev_real_max_error): Likewise. + (prev_imag_max_error): Likewise. + (max_valid_error): Likewise. + (TYPE_DECIMAL_DIG): Likewise. + (TYPE_HEX_DIG): Likewise. + (fmt_ftostr): Likewise. + (compare_ulp_data): Likewise. + (find_ulps): Likewise. + (init_max_error): Likewise. + (set_max_error): Likewise. + (print_float): Likewise. + (print_screen): Likewise. + (print_screen_max_error): Likewise. + (update_stats): Likewise. + (print_function_ulps): Likewise. + (print_complex_function_ulps): Likewise. + (fpstack_test): Likewise. + (print_max_error): Likewise. + (print_complex_max_error): Likewise. + (test_single_exception): Likewise. + (test_exceptions): Likewise. + (test_single_errno): Likewise. + (test_errno): Likewise. + (ULPDIFF): Likewise. + (ulp): Likewise. + (check_float_internal): Likewise. + (check_float): Likewise. + (check_complex): Likewise. + (check_int): Likewise. + (check_long): Likewise. + (check_bool): Likewise. + (check_longlong): Likewise. + (check_intmax_t): Likewise. + (check_uintmax_t): Likewise. + (enable_test): Likewise. + (matherr): Likewise. + (initialize): Likewise. + (options): Likewise. + (doc): Remove static. + (argp): Likewise. + (parse_opt): Remove. + (check_ulp): Likewise. + (libm_test_init): Likewise. + (libm_test_finish): Likewise. + * math/Makefile (libm-test-support): New variable. + (test-extras): Add libm-test-support files. + (extra-test-objs): Likewise. + (CFLAGS-libm-test-support-float.c): New variable. + (CFLAGS-libm-test-support-double.c): Likewise. + (CFLAGS-libm-test-support-ldouble.c): Likewise. + ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate + libm-test-support objects. + +2017-02-08 Gabriel F. T. Gomes + + * math/Makefile (libm-calls): Move w_exp... + (libm-compat-calls-auto): Here. + + * math/w_expl.c: Add suffix "_compat" to filename. + * sysdeps/ia64/fpu/w_expl.c: Likewise. + * sysdeps/ia64/fpu/w_expf.c: Likewise. + * sysdeps/ia64/fpu/w_exp.c: Likewise. + * sysdeps/ieee754/dbl-64/w_exp.c: Likewise. + * sysdeps/ieee754/flt-32/w_expf.c: Likewise. + * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise. + * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise. + + * math/w_expl_compat.c: New file, copied from above. + * sysdeps/ia64/fpu/w_exp_compat.c: Likewise. + * sysdeps/ia64/fpu/w_expf_compat.c: Likewise. + * sysdeps/ia64/fpu/w_expl_compat.c: Likewise. + * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise. + * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise. + * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise. + * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise. + + * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat" + to filename. + * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise. + + * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file, + copied from above and adjusted for the new filenames. + * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise. + +2017-02-08 Gabriel F. T. Gomes + + * math/Makefile (libm-calls): Move w_lgammaF... + (libm-compat-calls-auto): Here. + + * math/w_lgamma.c: Add suffix "_compat2" to filename. + * math/w_lgammaf.c: Likewise. + * math/w_lgammal.c: Likewise. + + * math/w_lgamma_compat2.c: New file, copied from above. + * math/w_lgammaf_compat2.c: Likewise. + * math/w_lgammal_compat2.c: Likewise. + +2017-02-08 Gabriel F. T. Gomes + + * math/Makefile (libm-calls): Move w_lgammaF_r... + (libm-compat-calls-auto): Here. + + * math/w_lgamma_r.c: Add suffix "_compat" to filename. + * math/w_lgammaf_r.c: Likewise. + * math/w_lgammal_r.c: Likewise. + * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise. + * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise. + * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise. + + * math/w_lgamma_r_compat.c: New file, copied from above. + * math/w_lgammaf_r_compat.c: Likewise. + * math/w_lgammal_r_compat.c: Likewise. + * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise. + * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise. + * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise. + + * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat" + to filename. + * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise. + + * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file + copied from above and adjusted for the new filenames. + * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise. + +2017-02-08 Yury Norov + + * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset + calculation in SYSCALL_ERROR_HANDLER(). + +2017-02-08 Rical Jasan + + * manual/contrib.texi: Fix typo. + +2017-02-08 Siddhesh Poyarekar + + [BZ #21109] + * elf/dl-tunable-types.h (tunable_callback_t): Accept + tunable_val_t as argument. + * elf/dl-tunables.c (__tunable_set_val): Add comment. + * malloc/arena.c (set_mallopt_check): Take tunable_val_t as + argument. + (DL_TUNABLE_CALLBACK_FNDECL): Likewise. + +2017-02-08 Kir Kolyshkin + + * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes): + Add PTRACE_EVENT_STOP. + * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise. + * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise. + * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise. + * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise. + +2017-02-07 Joseph Myers + + * math/test-math-finite.h (TEST_EXCEPTIONS): New macro. + * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise. + * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise. + * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro. + * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise. + * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise. + * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise. + * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise. + * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise. + * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise. + + [BZ #21112] + * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing + 12 bits zero. + (cp_l): Update for new value of cp_h. + * math/auto-libm-test-in: Add another test of pow. + * math/auto-libm-test-out-pow: Regenerated. + +2017-02-07 Siddhesh Poyarekar + + * manual/contrib.texi: Fix typo. + +2017-02-07 Rajalakshmi Srinivasaraghavan + + [BZ #15998] + * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac + (arch_minimum_kernel): Set as 3.10.0 for ppc64le. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate. + +2017-02-07 Rajalakshmi Srinivasaraghavan + + * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine + STRCHR as __strchr_power8. + * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine + strlen as __strlen_power8. + +2017-02-07 Rajalakshmi Srinivasaraghavan + + * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for + unaligned load for shorter strings. + * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise. + +2017-02-06 Joseph Myers + + * math/libm-test-driver.c (flag_test_errno): New variable. + (flag_test_exceptions): Likewise. + (flag_test_finite): Likewise. + (flag_test_inline): Likewise. + (flag_test_mathvec): Likewise. + (test_msg): Likewise. + (ulp_idx): Likewise. + (qtype_str): Likewise. + (ULP_IDX): Remove macro. + (QTYPE_STR): Likewise. + (find_ulps): Use ulp_idx not ULP_IDX. + (print_function_ulps): Use qtype_str, printed with %s, not + QTYPE_STR, printed with concatentation to format string. + (print_complex_function_ulps): Likewise. + (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS. + (test_errno): Use flag_test_errno not TEST_ERRNO. + (enable_test): Use flag_test_inline, flag_test_finite and + flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and + TEST_MATHVEC. + (libm_test_init): New function. Factored out of main. + (libm_test_finish): Likewise. + (main): Call libm_test_init and libm_test_finish and move most + code to those functions. + + * math/libm-test-driver.c (STRX): New macro. + (STR): Likewise. + (STR_FLOAT): Likewise. + (STR_VEC_LEN): Likewise. + (TEST_MSG): Likewise. Define here instead of expecting to be + defined by including file. + * math/test-double-finite.c (TEST_MSG): Remove macro. + * math/test-double-vlen2.h (TEST_MSG): Likewise. + * math/test-double-vlen4.h (TEST_MSG): Likewise. + * math/test-double-vlen8.h (TEST_MSG): Likewise. + * math/test-double.c (TEST_MSG): Likewise. + * math/test-float-finite.c (TEST_MSG): Likewise. + * math/test-float-vlen16.h (TEST_MSG): Likewise. + * math/test-float-vlen4.h (TEST_MSG): Likewise. + * math/test-float-vlen8.h (TEST_MSG): Likewise. + * math/test-float.c (TEST_MSG): Likewise. + * math/test-idouble.c (TEST_MSG): Likewise. + * math/test-ifloat.c (TEST_MSG): Likewise. + * math/test-ildouble.c (TEST_MSG): Likewise. + * math/test-ldouble-finite.c (TEST_MSG): Likewise. + * math/test-ldouble.c (TEST_MSG): Likewise. + + * math/libm-test.inc: Move all tests of individual functions to + libm-test-*.inc and #include libm-test-*.c files. + (acos_test_data): Remove. + (acos_test): Likewise. + (acosh_test_data): Likewise. + (acosh_test): Likewise. + (asin_test_data): Likewise. + (asin_test): Likewise. + (asinh_test_data): Likewise. + (asinh_test): Likewise. + (atan_test_data): Likewise. + (atan_test): Likewise. + (atanh_test_data): Likewise. + (atanh_test): Likewise. + (atan2_test_data): Likewise. + (atan2_test): Likewise. + (cabs_test_data): Likewise. + (cabs_test): Likewise. + (cacos_test_data): Likewise. + (cacos_test): Likewise. + (cacosh_test_data): Likewise. + (cacosh_test): Likewise. + (canonicalize_test_data): Likewise. + (canonicalize_test): Likewise. + (carg_test_data): Likewise. + (carg_test): Likewise. + (casin_test_data): Likewise. + (casin_test): Likewise. + (casinh_test_data): Likewise. + (casinh_test): Likewise. + (catan_test_data): Likewise. + (catan_test): Likewise. + (catanh_test_data): Likewise. + (catanh_test): Likewise. + (cbrt_test_data): Likewise. + (cbrt_test): Likewise. + (ccos_test_data): Likewise. + (ccos_test): Likewise. + (ccosh_test_data): Likewise. + (ccosh_test): Likewise. + (ceil_test_data): Likewise. + (ceil_test): Likewise. + (cexp_test_data): Likewise. + (cexp_test): Likewise. + (cimag_test_data): Likewise. + (cimag_test): Likewise. + (clog_test_data): Likewise. + (clog_test): Likewise. + (clog10_test_data): Likewise. + (clog10_test): Likewise. + (conj_test_data): Likewise. + (conj_test): Likewise. + (copysign_test_data): Likewise. + (copysign_test): Likewise. + (cos_test_data): Likewise. + (cos_test): Likewise. + (cosh_test_data): Likewise. + (cosh_test): Likewise. + (cpow_test_data): Likewise. + (cpow_test): Likewise. + (cproj_test_data): Likewise. + (cproj_test): Likewise. + (creal_test_data): Likewise. + (creal_test): Likewise. + (csin_test_data): Likewise. + (csin_test): Likewise. + (csinh_test_data): Likewise. + (csinh_test): Likewise. + (csqrt_test_data): Likewise. + (csqrt_test): Likewise. + (ctan_test_data): Likewise. + (ctan_test): Likewise. + (ctanh_test_data): Likewise. + (ctanh_test): Likewise. + (erf_test_data): Likewise. + (erf_test): Likewise. + (erfc_test_data): Likewise. + (erfc_test): Likewise. + (exp_test_data): Likewise. + (exp_test): Likewise. + (exp10_test_data): Likewise. + (exp10_test): Likewise. + (pow10_test): Likewise. + (exp2_test_data): Likewise. + (exp2_test): Likewise. + (expm1_test_data): Likewise. + (expm1_test): Likewise. + (fabs_test_data): Likewise. + (fabs_test): Likewise. + (fdim_test_data): Likewise. + (fdim_test): Likewise. + (floor_test_data): Likewise. + (floor_test): Likewise. + (fma_test_data): Likewise. + (fma_test): Likewise. + (fmax_test_data): Likewise. + (fmax_test): Likewise. + (fmaxmag_test_data): Likewise. + (fmaxmag_test): Likewise. + (fmin_test_data): Likewise. + (fmin_test): Likewise. + (fminmag_test_data): Likewise. + (fminmag_test): Likewise. + (fmod_test_data): Likewise. + (fmod_test): Likewise. + (fpclassify_test_data): Likewise. + (fpclassify_test): Likewise. + (frexp_test_data): Likewise. + (frexp_test): Likewise. + (fromfp_test_data): Likewise. + (fromfp_test): Likewise. + (fromfpx_test_data): Likewise. + (fromfpx_test): Likewise. + (getpayload_test_data): Likewise. + (getpayload_test): Likewise. + (hypot_test_data): Likewise. + (hypot_test): Likewise. + (ilogb_test_data): Likewise. + (ilogb_test): Likewise. + (iscanonical_test_data): Likewise. + (iscanonical_test): Likewise. + (iseqsig_test_data): Likewise. + (iseqsig_test): Likewise. + (isfinite_test_data): Likewise. + (isfinite_test): Likewise. + (finite_test): Likewise. + (isgreater_test_data): Likewise. + (isgreater_test): Likewise. + (isgreaterequal_test_data): Likewise. + (isgreaterequal_test): Likewise. + (isinf_test_data): Likewise. + (isinf_test): Likewise. + (isless_test_data): Likewise. + (isless_test): Likewise. + (islessequal_test_data): Likewise. + (islessequal_test): Likewise. + (islessgreater_test_data): Likewise. + (islessgreater_test): Likewise. + (isnan_test_data): Likewise. + (isnan_test): Likewise. + (isnormal_test_data): Likewise. + (isnormal_test): Likewise. + (issignaling_test_data): Likewise. + (issignaling_test): Likewise. + (issubnormal_test_data): Likewise. + (issubnormal_test): Likewise. + (isunordered_test_data): Likewise. + (isunordered_test): Likewise. + (iszero_test_data): Likewise. + (iszero_test): Likewise. + (j0_test_data): Likewise. + (j0_test): Likewise. + (j1_test_data): Likewise. + (j1_test): Likewise. + (jn_test_data): Likewise. + (jn_test): Likewise. + (lgamma_test_data): Likewise. + (lgamma_test): Likewise. + (gamma_test): Likewise. + (llogb_test_data): Likewise. + (llogb_test): Likewise. + (lrint_test_data): Likewise. + (lrint_test): Likewise. + (llrint_test_data): Likewise. + (llrint_test): Likewise. + (log_test_data): Likewise. + (log_test): Likewise. + (log10_test_data): Likewise. + (log10_test): Likewise. + (log1p_test_data): Likewise. + (log1p_test): Likewise. + (log2_test_data): Likewise. + (log2_test): Likewise. + (logb_test_data): Likewise. + (logb_test): Likewise. + (lround_test_data): Likewise. + (lround_test): Likewise. + (llround_test_data): Likewise. + (llround_test): Likewise. + (modf_test_data): Likewise. + (modf_test): Likewise. + (nearbyint_test_data): Likewise. + (nearbyint_test): Likewise. + (nextafter_test_data): Likewise. + (nextafter_test): Likewise. + (nextup_test_data): Likewise. + (nextup_test): Likewise. + (nextdown_test_data): Likewise. + (nextdown_test): Likewise. + (nexttoward_test_data): Likewise. + (nexttoward_test): Likewise. + (pow_test_data): Likewise. + (pow_test): Likewise. + (remainder_test_data): Likewise. + (remainder_test): Likewise. + (drem_test): Likewise. + (remquo_test_data): Likewise. + (remquo_test): Likewise. + (rint_test_data): Likewise. + (rint_test): Likewise. + (round_test_data): Likewise. + (round_test): Likewise. + (roundeven_test_data): Likewise. + (roundeven_test): Likewise. + (scalb_test_data): Likewise. + (scalb_test): Likewise. + (scalbn_test_data): Likewise. + (scalbn_test): Likewise. + (ldexp_test): Likewise. + (scalbln_test_data): Likewise. + (scalbln_test): Likewise. + (setpayload_test_data): Likewise. + (setpayload_test): Likewise. + (setpayloadsig_test_data): Likewise. + (setpayloadsig_test): Likewise. + (signbit_test_data): Likewise. + (signbit_test): Likewise. + (sin_test_data): Likewise. + (sin_test): Likewise. + (sincos_test_data): Likewise. + (sincos_test): Likewise. + (sinh_test_data): Likewise. + (sinh_test): Likewise. + (sqrt_test_data): Likewise. + (sqrt_test): Likewise. + (tan_test_data): Likewise. + (tan_test): Likewise. + (tanh_test_data): Likewise. + (tanh_test): Likewise. + (tgamma_test_data): Likewise. + (tgamma_test): Likewise. + (totalorder_test_data): Likewise. + (totalorder_test): Likewise. + (totalordermag_test_data): Likewise. + (totalordermag_test): Likewise. + (trunc_test_data): Likewise. + (trunc_test): Likewise. + (ufromfp_test_data): Likewise. + (ufromfp_test): Likewise. + (ufromfpx_test_data): Likewise. + (ufromfpx_test): Likewise. + (y0_test_data): Likewise. + (y0_test): Likewise. + (y1_test_data): Likewise. + (y1_test): Likewise. + (yn_test_data): Likewise. + (yn_test): Likewise. + (significand_test_data): Likewise. + (significand_test): Likewise. + * math/Makefile (auto-libm-test-out-files): Remove variable. + (libm-test-funcs-noauto): New variable. + (libm-test-funcs-all): Likewise. + (libm-test-c-auto): Likewise. + (libm-test-c-noauto): Likewise. + (libm-tests-generated): Add $(libm-test-c-auto) and + $(libm-test-c-noauto). + (generated): Do not add auto-libm-test-out. + (libm-test-c-auto-obj): New variable. + (libm-test-c-noauto-obj): Likewise. + ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out. + ($(libm-test-c-noauto-obj)): New static pattern rule. + ($(libm-test-c-auto-obj)): Likewise. + (libm-test-incs): New variable. + ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs) + and pass it to gen-libm-have-vector-test.sh. + * math/gen-libm-have-vector-test.sh: Expect list of .inc files to + be passed on command line. + * math/libm-test-acos.inc: New file. Content from + math/libm-test.inc. + * math/libm-test-acosh.inc: Likewise. + * math/libm-test-asin.inc: Likewise. + * math/libm-test-asinh.inc: Likewise. + * math/libm-test-atan.inc: Likewise. + * math/libm-test-atan2.inc: Likewise. + * math/libm-test-atanh.inc: Likewise. + * math/libm-test-cabs.inc: Likewise. + * math/libm-test-cacos.inc: Likewise. + * math/libm-test-cacosh.inc: Likewise. + * math/libm-test-canonicalize.inc: Likewise. + * math/libm-test-carg.inc: Likewise. + * math/libm-test-casin.inc: Likewise. + * math/libm-test-casinh.inc: Likewise. + * math/libm-test-catan.inc: Likewise. + * math/libm-test-catanh.inc: Likewise. + * math/libm-test-cbrt.inc: Likewise. + * math/libm-test-ccos.inc: Likewise. + * math/libm-test-ccosh.inc: Likewise. + * math/libm-test-ceil.inc: Likewise. + * math/libm-test-cexp.inc: Likewise. + * math/libm-test-cimag.inc: Likewise. + * math/libm-test-clog.inc: Likewise. + * math/libm-test-clog10.inc: Likewise. + * math/libm-test-conj.inc: Likewise. + * math/libm-test-copysign.inc: Likewise. + * math/libm-test-cos.inc: Likewise. + * math/libm-test-cosh.inc: Likewise. + * math/libm-test-cpow.inc: Likewise. + * math/libm-test-cproj.inc: Likewise. + * math/libm-test-creal.inc: Likewise. + * math/libm-test-csin.inc: Likewise. + * math/libm-test-csinh.inc: Likewise. + * math/libm-test-csqrt.inc: Likewise. + * math/libm-test-ctan.inc: Likewise. + * math/libm-test-ctanh.inc: Likewise. + * math/libm-test-erf.inc: Likewise. + * math/libm-test-erfc.inc: Likewise. + * math/libm-test-exp.inc: Likewise. + * math/libm-test-exp10.inc: Likewise. + * math/libm-test-exp2.inc: Likewise. + * math/libm-test-expm1.inc: Likewise. + * math/libm-test-fabs.inc: Likewise. + * math/libm-test-fdim.inc: Likewise. + * math/libm-test-floor.inc: Likewise. + * math/libm-test-fma.inc: Likewise. + * math/libm-test-fmax.inc: Likewise. + * math/libm-test-fmaxmag.inc: Likewise. + * math/libm-test-fmin.inc: Likewise. + * math/libm-test-fminmag.inc: Likewise. + * math/libm-test-fmod.inc: Likewise. + * math/libm-test-fpclassify.inc: Likewise. + * math/libm-test-frexp.inc: Likewise. + * math/libm-test-fromfp.inc: Likewise. + * math/libm-test-fromfpx.inc: Likewise. + * math/libm-test-getpayload.inc: Likewise. + * math/libm-test-hypot.inc: Likewise. + * math/libm-test-ilogb.inc: Likewise. + * math/libm-test-iscanonical.inc: Likewise. + * math/libm-test-iseqsig.inc: Likewise. + * math/libm-test-isfinite.inc: Likewise. + * math/libm-test-isgreater.inc: Likewise. + * math/libm-test-isgreaterequal.inc: Likewise. + * math/libm-test-isinf.inc: Likewise. + * math/libm-test-isless.inc: Likewise. + * math/libm-test-islessequal.inc: Likewise. + * math/libm-test-islessgreater.inc: Likewise. + * math/libm-test-isnan.inc: Likewise. + * math/libm-test-isnormal.inc: Likewise. + * math/libm-test-issignaling.inc: Likewise. + * math/libm-test-issubnormal.inc: Likewise. + * math/libm-test-isunordered.inc: Likewise. + * math/libm-test-iszero.inc: Likewise. + * math/libm-test-j0.inc: Likewise. + * math/libm-test-j1.inc: Likewise. + * math/libm-test-jn.inc: Likewise. + * math/libm-test-lgamma.inc: Likewise. + * math/libm-test-llogb.inc: Likewise. + * math/libm-test-llrint.inc: Likewise. + * math/libm-test-llround.inc: Likewise. + * math/libm-test-log.inc: Likewise. + * math/libm-test-log10.inc: Likewise. + * math/libm-test-log1p.inc: Likewise. + * math/libm-test-log2.inc: Likewise. + * math/libm-test-logb.inc: Likewise. + * math/libm-test-lrint.inc: Likewise. + * math/libm-test-lround.inc: Likewise. + * math/libm-test-modf.inc: Likewise. + * math/libm-test-nearbyint.inc: Likewise. + * math/libm-test-nextafter.inc: Likewise. + * math/libm-test-nextdown.inc: Likewise. + * math/libm-test-nexttoward.inc: Likewise. + * math/libm-test-nextup.inc: Likewise. + * math/libm-test-pow.inc: Likewise. + * math/libm-test-remainder.inc: Likewise. + * math/libm-test-remquo.inc: Likewise. + * math/libm-test-rint.inc: Likewise. + * math/libm-test-round.inc: Likewise. + * math/libm-test-roundeven.inc: Likewise. + * math/libm-test-scalb.inc: Likewise. + * math/libm-test-scalbln.inc: Likewise. + * math/libm-test-scalbn.inc: Likewise. + * math/libm-test-setpayload.inc: Likewise. + * math/libm-test-setpayloadsig.inc: Likewise. + * math/libm-test-signbit.inc: Likewise. + * math/libm-test-significand.inc: Likewise. + * math/libm-test-sin.inc: Likewise. + * math/libm-test-sincos.inc: Likewise. + * math/libm-test-sinh.inc: Likewise. + * math/libm-test-sqrt.inc: Likewise. + * math/libm-test-tan.inc: Likewise. + * math/libm-test-tanh.inc: Likewise. + * math/libm-test-tgamma.inc: Likewise. + * math/libm-test-totalorder.inc: Likewise. + * math/libm-test-totalordermag.inc: Likewise. + * math/libm-test-trunc.inc: Likewise. + * math/libm-test-ufromfp.inc: Likewise. + * math/libm-test-ufromfpx.inc: Likewise. + * math/libm-test-y0.inc: Likewise. + * math/libm-test-y1.inc: Likewise. + * math/libm-test-yn.inc: Likewise. + * math/README.libm-test: Update. + + * math/gen-auto-libm-tests.c: Update comment about use of program. + (generate_output): Add argument FUNCTION. + (main): Require extra argument. Pass function name to + generate_output. + * math/Makefile (generated): Add auto-libm-test-out. + (libm-test-funcs-auto): New variable. + (auto-libm-test-out-files): New variable. + ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files). + Concatenate those files to form $(objpfx)auto-libm-test-out and + use it as input to gen-libm-test.pl. + * math/README.libm-test: Update. + * math/auto-libm-test-out: Remove. + * math/auto-libm-test-out-acos: New generated file. + * math/auto-libm-test-out-acosh: Likewise. + * math/auto-libm-test-out-asin: Likewise. + * math/auto-libm-test-out-asinh: Likewise. + * math/auto-libm-test-out-atan: Likewise. + * math/auto-libm-test-out-atan2: Likewise. + * math/auto-libm-test-out-atanh: Likewise. + * math/auto-libm-test-out-cabs: Likewise. + * math/auto-libm-test-out-carg: Likewise. + * math/auto-libm-test-out-cbrt: Likewise. + * math/auto-libm-test-out-ccos: Likewise. + * math/auto-libm-test-out-ccosh: Likewise. + * math/auto-libm-test-out-cexp: Likewise. + * math/auto-libm-test-out-clog: Likewise. + * math/auto-libm-test-out-clog10: Likewise. + * math/auto-libm-test-out-cos: Likewise. + * math/auto-libm-test-out-cosh: Likewise. + * math/auto-libm-test-out-cpow: Likewise. + * math/auto-libm-test-out-csin: Likewise. + * math/auto-libm-test-out-csinh: Likewise. + * math/auto-libm-test-out-csqrt: Likewise. + * math/auto-libm-test-out-ctan: Likewise. + * math/auto-libm-test-out-ctanh: Likewise. + * math/auto-libm-test-out-erf: Likewise. + * math/auto-libm-test-out-erfc: Likewise. + * math/auto-libm-test-out-exp: Likewise. + * math/auto-libm-test-out-exp10: Likewise. + * math/auto-libm-test-out-exp2: Likewise. + * math/auto-libm-test-out-expm1: Likewise. + * math/auto-libm-test-out-fma: Likewise. + * math/auto-libm-test-out-hypot: Likewise. + * math/auto-libm-test-out-j0: Likewise. + * math/auto-libm-test-out-j1: Likewise. + * math/auto-libm-test-out-jn: Likewise. + * math/auto-libm-test-out-lgamma: Likewise. + * math/auto-libm-test-out-log: Likewise. + * math/auto-libm-test-out-log10: Likewise. + * math/auto-libm-test-out-log1p: Likewise. + * math/auto-libm-test-out-log2: Likewise. + * math/auto-libm-test-out-pow: Likewise. + * math/auto-libm-test-out-sin: Likewise. + * math/auto-libm-test-out-sincos: Likewise. + * math/auto-libm-test-out-sinh: Likewise. + * math/auto-libm-test-out-sqrt: Likewise. + * math/auto-libm-test-out-tan: Likewise. + * math/auto-libm-test-out-tanh: Likewise. + * math/auto-libm-test-out-tgamma: Likewise. + * math/auto-libm-test-out-y0: Likewise. + * math/auto-libm-test-out-y1: Likewise. + * math/auto-libm-test-out-yn: Likewise. + + * math/Makefile (generated): Do not include libm-test.stmp. + ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend + on $(objpfx)libm-test.stmp. + ($(objpfx)libm-test.stmp): Remove rule. + ($(objpfx)libm-test-ulps.h): New rule. + ($(objpfx)libm-test.c): Likewise. + ($(objpfx)libm-have-vector-test.h): Likewise. + ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on + individual generated files, not libm-test.stmp. + + * math/gen-libm-test.pl ($output_dir): Remove variable. + ($srcdir): Likewise. + ($opt_a): New variable. + ($opt_c): Likewise. + ($opt_C): Likewise. + ($opt_H): Likewise. + (-n): Make option take argument and use it as NewUlps output. + (-a): New option. Use its argument for auto-libm-test-out input. + (-c): New option. Use its argument for libm-test.inc input. + (-C): New option. Use its argument for libm-test.c output. + (-H): New option. Use its argument for libm-test-ulps.h output. + (top level): Only process inputs needed to generate outputs + specified by command-line options. Only generate outputs + specified by command-line options. + * math/README.libm-test: Update example gen-libm-test.pl command. + * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl + commands. + (regen-ulps): Likewise. + +2017-02-06 Wilco Dijkstra + + * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr. + * include/string.h (index): Remove define. + (rindex): Likewise. + * misc/getttyent.c (__getttyent): Rename index to strchr. + * misc/ttyslot.c (ttyslot): Rename rindex to strrchr. + * sunrpc/rpc_main.c (mkfile_output): Likewise. + +2017-02-06 Joseph Myers + + * math/libm-test-driver.c: New file. Based on math/libm-test.inc. + * math/libm-test.inc: Move all contents, other than tests of + individual functions, to libm-test-driver.c. + [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c. + [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise. + [!FE_UPWARD] (FE_UPWARD): Likewise. + [!FE_DOWNWARD] (FE_DOWNWARD): Likewise. + (NO_EXCEPTION): Likewise. + (INVALID_EXCEPTION): Likewise. + (DIVIDE_BY_ZERO_EXCEPTION): Likewise. + (OVERFLOW_EXCEPTION): Likewise. + (UNDERFLOW_EXCEPTION): Likewise. + (INEXACT_EXCEPTION): Likewise. + (INVALID_EXCEPTION_OK): Likewise. + (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise. + (OVERFLOW_EXCEPTION_OK): Likewise. + (UNDERFLOW_EXCEPTION_OK): Likewise. + (NO_INEXACT_EXCEPTION): Likewise. + (EXCEPTIONS_OK): Likewise. + (IGNORE_ZERO_INF_SIGN): Likewise. + (TEST_NAN_SIGN): Likewise. + (TEST_NAN_PAYLOAD): Likewise. + (NO_TEST_INLINE): Likewise. + (XFAIL_TEST): Likewise. + (ERRNO_UNCHANGED): Likewise. + (ERRNO_EDOM): Likewise. + (ERRNO_ERANGE): Likewise. + (IGNORE_RESULT): Likewise. + (NON_FINITE): Likewise. + (TEST_SNAN): Likewise. + (NO_TEST_MATHVEC): Likewise. + (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise. + (__CONCATX): Likewise. + (TYPE_MIN): Likewise. + (TYPE_TRUE_MIN): Likewise. + (TYPE_MAX): Likewise. + (MIN_EXP): Likewise. + (MAX_EXP): Likewise. + (MANT_DIG): Likewise. + (FSTR_MAX): Likewise. + (ULP_IDX): Likewise. + (QTYPE_STR): Likewise. + (TEST_COND_binary32): Likewise. + (TEST_COND_binary64): Likewise. + (TEST_COND_binary128): Likewise. + (TEST_COND_ibm128): Likewise. + (TEST_COND_intel96): Likewise. + (TEST_COND_m68k96): Likewise. + (TEST_COND_ibm128_libgcc): Likewise. + (XFAIL_IBM128_LIBGCC): Likewise. + (PAYLOAD_DIG): Likewise. + (UNDERFLOW_EXCEPTION_FLOAT): Likewise. + (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise. + (UNDERFLOW_EXCEPTION_DOUBLE): Likewise. + (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise. + (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise. + (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise. + (TEST_COND_long32): Likewise. + (TEST_COND_long64): Likewise. + (TEST_COND_before_rounding): Likewise. + (TEST_COND_after_rounding): Likewise. + (lit_pi_3_m_4_d): Likewise. + (lit_pi_3_m_4_ln10_m_d): Likewise. + (lit_pi_2_ln10_m_d): Likewise. + (lit_pi_4_ln10_m_d): Likewise. + (lit_pi_ln10_d): Likewise. + (lit_pi_2_d): Likewise. + (lit_pi_4_d): Likewise. + (lit_pi): Likewise. + (lit_e): Likewise. + (ulps_file_name): Likewise. + (ulps_file): Likewise. + (output_ulps): Likewise. + (output_dir): Likewise. + (noErrors): Likewise. + (noTests): Likewise. + (noExcTests): Likewise. + (noErrnoTests): Likewise. + (verbose): Likewise. + (output_max_error): Likewise. + (output_points): Likewise. + (ignore_max_ulp): Likewise. + (plus_zero): Likewise. + (minus_zero): Likewise. + (plus_infty): Likewise. + (minus_infty): Likewise. + (qnan_value_pl): Likewise. + (qnan_value): Likewise. + (snan_value_pl): Likewise. + (snan_value): Likewise. + (max_value): Likewise. + (min_value): Likewise. + (min_subnorm_value): Likewise. + (snan_value_ld): Likewise. + (max_error): Likewise. + (real_max_error): Likewise. + (imag_max_error): Likewise. + (prev_max_error): Likewise. + (prev_real_max_error): Likewise. + (prev_imag_max_error): Likewise. + (max_valid_error): Likewise. + (TYPE_DECIMAL_DIG): Likewise. + (TYPE_HEX_DIG): Likewise. + (fmt_ftostr): Likewise. + (compare_ulp_data): Likewise. + (find_ulps): Likewise. + (init_max_error): Likewise. + (set_max_error): Likewise. + (print_float): Likewise. + (print_screen): Likewise. + (print_screen_max_error): Likewise. + (update_stats): Likewise. + (print_function_ulps): Likewise. + (print_complex_function_ulps): Likewise. + (fpstack_test): Likewise. + (print_max_error): Likewise. + (print_complex_max_error): Likewise. + (test_single_exception): Likewise. + (test_exceptions): Likewise. + (test_single_errno): Likewise. + (test_errno): Likewise. + (ULPDIFF): Likewise. + (ulp): Likewise. + (check_float_internal): Likewise. + (check_float): Likewise. + (check_complex): Likewise. + (check_int): Likewise. + (check_long): Likewise. + (check_bool): Likewise. + (check_longlong): Likewise. + (check_intmax_t): Likewise. + (check_uintmax_t): Likewise. + (enable_test): Likewise. + (struct test_f_f_data): Likewise. + (struct test_ff_f_data): Likewise. + (struct test_fj_f_data): Likewise. + (struct test_fi_f_data): Likewise. + (struct test_fl_f_data): Likewise. + (struct test_if_f_data): Likewise. + (struct test_fff_f_data): Likewise. + (struct test_fiu_M_data): Likewise. + (struct test_fiu_U_data): Likewise. + (struct test_c_f_data): Likewise. + (struct test_f_f1_data): Likewise. + (struct test_fF_f1_data): Likewise. + (struct test_ffI_f1_data): Likewise. + (struct test_c_c_data): Likewise. + (struct test_cc_c_data): Likewise. + (struct test_f_i_data): Likewise. + (struct test_ff_i_data): Likewise. + (struct test_f_l_data): Likewise. + (struct test_f_L_data): Likewise. + (struct test_fFF_11_data): Likewise. + (struct test_Ff_b1_data): Likewise. + (IF_ROUND_INIT_): Likewise. + (IF_ROUND_INIT_FE_DOWNWARD): Likewise. + (IF_ROUND_INIT_FE_TONEAREST): Likewise. + (IF_ROUND_INIT_FE_TOWARDZERO): Likewise. + (IF_ROUND_INIT_FE_UPWARD): Likewise. + (ROUND_RESTORE_): Likewise. + (ROUND_RESTORE_FE_DOWNWARD): Likewise. + (ROUND_RESTORE_FE_TONEAREST): Likewise. + (ROUND_RESTORE_FE_TOWARDZERO): Likewise. + (ROUND_RESTORE_FE_UPWARD): Likewise. + (RM_): Likewise. + (RM_FE_DOWNWARD): Likewise. + (RM_FE_TONEAREST): Likewise. + (RM_FE_TOWARDZERO): Likewise. + (RM_FE_UPWARD): Likewise. + (COMMON_TEST_SETUP): Likewise. + (EXTRA_OUTPUT_TEST_SETUP): Likewise. + (COMMON_TEST_CLEANUP): Likewise. + (EXTRA_OUTPUT_TEST_CLEANUP): Likewise. + (RUN_TEST_f_f): Likewise. + (RUN_TEST_LOOP_f_f): Likewise. + (RUN_TEST_fp_f): Likewise. + (RUN_TEST_LOOP_fp_f): Likewise. + (RUN_TEST_2_f): Likewise. + (RUN_TEST_LOOP_2_f): Likewise. + (RUN_TEST_ff_f): Likewise. + (RUN_TEST_LOOP_ff_f): Likewise. + (RUN_TEST_LOOP_fj_f): Likewise. + (RUN_TEST_fi_f): Likewise. + (RUN_TEST_LOOP_fi_f): Likewise. + (RUN_TEST_fl_f): Likewise. + (RUN_TEST_LOOP_fl_f): Likewise. + (RUN_TEST_if_f): Likewise. + (RUN_TEST_LOOP_if_f): Likewise. + (RUN_TEST_fff_f): Likewise. + (RUN_TEST_LOOP_fff_f): Likewise. + (RUN_TEST_fiu_M): Likewise. + (RUN_TEST_LOOP_fiu_M): Likewise. + (RUN_TEST_fiu_U): Likewise. + (RUN_TEST_LOOP_fiu_U): Likewise. + (RUN_TEST_c_f): Likewise. + (RUN_TEST_LOOP_c_f): Likewise. + (RUN_TEST_f_f1): Likewise. + (RUN_TEST_LOOP_f_f1): Likewise. + (RUN_TEST_fF_f1): Likewise. + (RUN_TEST_LOOP_fF_f1): Likewise. + (RUN_TEST_fI_f1): Likewise. + (RUN_TEST_LOOP_fI_f1): Likewise. + (RUN_TEST_ffI_f1_mod8): Likewise. + (RUN_TEST_LOOP_ffI_f1_mod8): Likewise. + (RUN_TEST_Ff_b1): Likewise. + (RUN_TEST_LOOP_Ff_b1): Likewise. + (RUN_TEST_Ffp_b1): Likewise. + (RUN_TEST_LOOP_Ffp_b1): Likewise. + (RUN_TEST_c_c): Likewise. + (RUN_TEST_LOOP_c_c): Likewise. + (RUN_TEST_cc_c): Likewise. + (RUN_TEST_LOOP_cc_c): Likewise. + (RUN_TEST_f_i): Likewise. + (RUN_TEST_LOOP_f_i): Likewise. + (RUN_TEST_f_i_tg): Likewise. + (RUN_TEST_LOOP_f_i_tg): Likewise. + (RUN_TEST_ff_b): Likewise. + (RUN_TEST_LOOP_ff_b): Likewise. + (RUN_TEST_ff_i_tg): Likewise. + (RUN_TEST_LOOP_ff_i_tg): Likewise. + (RUN_TEST_f_b): Likewise. + (RUN_TEST_LOOP_f_b): Likewise. + (RUN_TEST_f_b_tg): Likewise. + (RUN_TEST_LOOP_f_b_tg): Likewise. + (RUN_TEST_f_l): Likewise. + (RUN_TEST_LOOP_f_l): Likewise. + (RUN_TEST_f_L): Likewise. + (RUN_TEST_LOOP_f_L): Likewise. + (RUN_TEST_fFF_11): Likewise. + (RUN_TEST_LOOP_fFF_11): Likewise. + (VEC_SUFF): Likewise. + (STR_CONCAT): Likewise. + (STR_CON3): Likewise. + (HAVE_VECTOR): Likewise. + (START): Likewise. + (END): Likewise. + (END_COMPLEX): Likewise. + (ALL_RM_TEST): Likewise. + (matherr): Likewise. + (initialize): Likewise. + (options): Likewise. + (doc): Likewise. + (parse_opt): Likewise. + (argp): Likewise. + (check_ulp): Likewise. + (main): Likewise. + (do_test): New function. Call tests of individual functions + previously called from main. + + * math/libm-test.inc: Remove comment listing functions tested and + not tested. + +2016-02-06 Adhemerval Zanella + + * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove. + (allocate_stack): Remove COLORING_INCREMENT usage. + * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise. + * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise. + +2017-02-06 Joseph Myers + + * manual/libm-err-tab.pl (@all_functions): Change to + %all_functions. Initialize as empty. + (parse_ulps): Add to %all_functions based on functions found in + ulps files. Ignore results for non-default rounding modes and + vector functions. + (print_platforms): Use %all_platforms. + * manual/math.texi (Errors in Math Functions): Document omissions + from the table. + + * math/Makefile (before-compile): Remove. + +2017-02-06 Ivo Raisr + + [BZ #21075] + * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove + unused assignment. + * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise. + +2017-02-06 Stefan Liebler + + * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock): + Add __glibc_unlikely hint. + +2017-02-06 Adhemerval Zanella + + [BZ #16640] + * sysdeps/i386/i686/strtok.S: Remove file. + * sysdeps/i386/i686/strtok_r.S: Likewise. + * sysdeps/i386/strtok.S: Likewise. + * sysdeps/i386/strtok_r.S: Likewise. + * sysdeps/powerpc/powerpc64/strtok.S: Likewise. + * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise. + * sysdeps/x86_64/strtok.S: Likewise. + * sysdeps/x86_64/strtok_r.S: Likewise. + + * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file. + * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise. + * sysdeps/unix/sysv/linux/mips/kernel-features.h + (__ASSUME_FADVISE64_AS_64_64): Define. + * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add + !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue. + [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove + __ALIGNMENT_ARG usage. + [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define + __NR_fadvise64_64 if it is not defined. + +2017-02-05 Siddhesh Poyarekar + + * version.h (RELEASE): Set to "development" + (VERSION): Set to 2.25.90. + * NEWS: Add 2.26 section. + + * version.h (RELEASE): Set to "stable" + (VERSION): Set to 2.25. + * include/features.h (__GLIBC_MINOR__): Set to 25. + + * manual/contrib.texi: Add more contributors from this release + and past releases. + + * NEWS (2.25): Add list of bugs fixed. + + * NEWS: Add missing news items. + +2017-02-04 Siddhesh Poyarekar + + * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in + parent if child exited in that manner. Print WEXITSTATUS + instead of the raw status. + (do_test_prep): Rename to do_test. + (do_test): Return the result of run_executable_sgid. + (TEST_FUNCTION_ARGV): Adjust. + +2017-02-03 Alexandre Oliva + Florian Weimer + Carlos O'Donell + + [BZ #20915] + * elf/dl-reloc.c (_dl_nothread_init_static_tls): + Do not initialize DTV. + * nptl/allocatestack.c (init_one_static_tls): Likewise. + +2017-02-03 David S. Miller + + * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/Makefile + (libm-sysdep_routines): Update. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise. + * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise. + * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise. + * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise. + * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: + Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: + Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: + Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: + Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile + (libm-sysdep_routines): Update. + +2017-02-02 H.J. Lu + + * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace + _dl_fatal_printf with _dl_error_printf for IFUNC relocation + against unrelocated shared library. + * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise. + +2017-02-02 Siddhesh Poyarekar + + * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES. + * elf/tst-env-setuid-tunables.c + (test_child_tunables)[!HAVE_TUNABLES]: Verify that + GLIBC_TUNABLES is removed in a setgid process. + + [BZ #21073] + * elf/dl-tunable-types.h (tunable_seclevel_t): New enum. + * elf/dl-tunables.c (tunables_strdup): Remove. + (get_next_env): Also return the previous envp. + (parse_tunables): Erase tunables of category + TUNABLES_SECLEVEL_SXID_ERASE. + (maybe_enable_malloc_check): Make MALLOC_CHECK_ + TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible. + (__tunables_init)[TUNABLES_FRONTEND == + TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar + after parsing. + [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase + tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE. + * elf/dl-tunables.h (struct _tunable): Change member is_secure + to security_level. + * elf/dl-tunables.list: Add security_level annotations for all + tunables. + * scripts/gen-tunables.awk: Recognize and generate enum values + for security_level. + * elf/tst-env-setuid.c: New test case. + * elf/tst-env-setuid-tunables: new test case. + * elf/Makefile (tests-static): Add them. + +2017-02-01 Richard Henderson + + * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic + adjusting the byte count. + +2017-02-01 Andreas Schwab + + * conform/Makefile (linknamespace-libs): Define. + + * sysdeps/m68k/m680x0/m68020/atomic-machine.h + (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq) + (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm + operands. + +2017-01-31 Chung-Lin Tang + + * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file. + +2017-01-30 H.J. Lu + + [BZ #21081] + * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S + (L(stosb)): Add VZEROUPPER before ret. + +2016-01-28 Carlos O'Donell + Alexey Makhalov + Florian Weimer + + [BZ #20116] + * nptl/pthread_create.c: Document concurrency notes. + Enhance thread creation notes. + (create_thread): Use bool *stopped_start. + (START_THREAD_DEFN): Comment ownership of PD. + (__pthread_create_2_1): Add local bool stopped_start and use + that instead of pd->stopped_start where appropriate. + * nptl/createthread.c (create_thread): Use bool *stopped_start. + * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start. + * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise. + * nptl/tst-create-detached.c: New file. + * nptl/Makefile (tests): Add tst-create-detached. + * nptl/pthread_getschedparam.c (__pthread_getschedparam): + Reference the enhanced thread creation notes. + * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise. + * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise. + * nptl/tpp.c (__pthread_tpp_change_priority): Likewise. + (__pthread_current_priority): Likewise. + * support/Makefile (libsupport-routines): Add xpthread_attr_destroy + xpthread_attr_init, xpthread_attr_setdetachstate, and + xpthread_attr_setstacksize. + * support/xpthread_attr_destroy.c: New file. + * support/xpthread_attr_init.c: New file. + * support/xpthread_attr_setdetachstate.c: New file. + * support/xpthread_attr_setstacksize.c: New file. + * support/xthread.h: Define prototypes for xpthread_attr_destroy + xpthread_attr_init, xpthread_attr_setdetachstate, and + xpthread_attr_setstacksize. + +2017-01-27 Florian Weimer + + * nptl/Makefile (tests): Add tst-robust-fork. + * nptl/tst-robust-fork.c: New file. + * support/Makefile (libsupport-routines): Add xmmap, xmunmap, + xpthread_mutex_consistent, xpthread_mutex_destroy, + xpthread_mutex_init, xpthread_mutexattr_destroy, + xpthread_mutexattr_init, xpthread_mutexattr_setprotocol, + xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust, + xpthread_mutexattr_settype. + * support/xmmap.c: New file. + * support/xmunmap.c: Likewise. + * support/xpthread_mutex_consistent.c: Likewise. + * support/xpthread_mutex_destroy.c: Likewise. + * support/xpthread_mutex_init.c: Likewise. + * support/xpthread_mutexattr_destroy.c: Likewise. + * support/xpthread_mutexattr_init.c: Likewise. + * support/xpthread_mutexattr_setprotocol.c: Likewise. + * support/xpthread_mutexattr_setpshared.c: Likewise. + * support/xpthread_mutexattr_setrobust.c: Likewise. + * support/xpthread_mutexattr_settype.c: Likewise. + * support/xthread.h (xpthread_mutexattr_destroy) + (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol) + (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust) + (xpthread_mutexattr_settype, xpthread_mutex_init) + (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare. + * support/xunistd.h (xmmap, xmunmap): Likewise. + +2017-01-25 Florian Weimer + + * string/Makefile (xtests): Add comment. + (LOCALES): Add en_GB.UTF-8. + (tst-strcoll-overflow.out): Depend on generated locales. + * string/tst-strcoll-overflow.c: Convert to support/test-driver.c. + (SIZE, TIMEOUT): Update comments. + (do_test): Define as static. Fail test if setlocale fails. + Return EXIT_UNSUPPORTED if insufficient memory. Enhance output + messages. + (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove. + TIMEOUT at 300 seconds should be enough to run this test + successfully. + +2017-01-24 Jakub Jelinek + + * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add + /* FALLTHRU */ comments. + +2017-01-24 James Clarke + + [BZ #21053] + * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R* + constants instead of the old R* ones. + * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise. + * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename... + (NGREG): ... to this, to fit in with other architectures. + (gpregset_t): Use new NGREG macro. + [__USE_GNU]: Remove condition; all architectures other than tile + are unconditional. + (R*): Rename to REG_R*. + +2017-01-20 DJ Delorie + + * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ... + (tunable_set_val_if_valid_range_signed) ... this, and ... + (tunable_set_val_if_valid_range_unsigned) ... this. + (tunable_initialize): Call the correct one of the above based on type. + +2017-01-20 Joseph Myers + + * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries. + * sysdeps/ia64/fpu/libm-test-ulps: Likewise. + * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise. + * sysdeps/microblaze/libm-test-ulps: Likewise. + * sysdeps/sh/libm-test-ulps: Likewise. + + * math/README.libm-test: Update list of characters for input and + output types. + +2017-01-20 Tulio Magno Quites Machado Filho + + * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c + (__lll_unlock_elision): Fix adapt_count decrement. + +2017-01-14 Martin Galvan + + * README.pretty-printers (Known issues): Warn about printers not + always covering everything. + * nptl/nptl-printers.py (MutexPrinter): Change output. + * nptl/test-mutex-printers.py: Fix test and adapt to changed output. + +2017-01-20 Stefan Liebler + + * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments. + * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise. + * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments. + (__lll_lock_elision): Do not test futex before starting a + transaction. Use __glibc_likely instead of __builtin_expect. + * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments. + (__lll_trylock_elision): Do not test futex before starting a + transaction. Use __glibc_likely instead of __builtin_expect. + +2017-01-20 Siddhesh Poyarekar + + * po/Makefile (update-translations): New target. + +2017-01-19 Joseph Myers + + [BZ #21061] + * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file. + +2017-01-19 Siddhesh Poyarekar + + * elf/dl-tunables (get_next_env): Always advance envp. + * stdlib/tst-empty-env.c: New test case. + * stdlib/Makefile (tests): Use it. - * sysdeps/unix/sysv/r4/bsddir.h, sysdeps/unix/sysv/r4/readdir.c, - sysdeps/unix/sysv/r4/closedir.c, sysdeps/unix/sysv/r4/rewinddir.c, - sysdeps/unix/sysv/r4/opendir.c, sysdeps/unix/sysv/r4/sys_getdents.S, - sysdeps/unix/sysv/r4/Makefile: New. +2017-01-19 Joseph Myers - * sysdeps/unix/sysv/tcflow.c: New. + [BZ #21047] + * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP + name for instruction. + [!__SOFTFP__] (_FPU_SETCW): Likewise. - * sysdeps/unix/sysv/sysv_termio.h: Add lots of bits; VMIN and VTIME - elts of c_cc. - * sysdeps/unix/sysv/__tcgetatr.c, sysdeps/unix/sysv/tcsetattr.c: Use - VMIN and VTIME elts from sysv termio struct. +2017-01-18 Joseph Myers - * sysdeps/unix/sysv/__gethstnm.c: New. + * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1 + for make install. - * sysdeps/unix/sysv/local_lim.h (NGROUPS_MAX): Define as 0. +2017-01-18 Siddhesh Poyarekar - * sysdeps/unix/sysv/fcntlbits.h (struct __flock): Changed l_pid to - short; added l_sysid. + * po/bg.po: Merge from Translation Project. + * po/fr.po: Likewise. + * po/ko.po: Likewise. + * po/nl.po: Likewise. + * po/sv.po: Likewise. - * sysdeps/unix/sysv/__sigact.c: New. +2017-01-18 Joseph Myers - * sysdeps/unix/sysv/r4/__access.S: New; just #include bsd/__access.S. + * manual/install.texi (Tools for Compilation): Update GCC version + known to work to build glibc. + * INSTALL: Regenerated. - * sysdeps/unix/sysv/Makefile: Fixed typo: sysdep-routines => - sysdep_routines. +2017-01-17 Stefan Liebler - * sysdeps/unix/i386/sysv/__sigret.S, - sysdeps/unix/i386/sysv/signal.S: New. + [BZ #21006] + * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable. - * signal/Makefile (routines): Added sigret, __sigret. - * signal/sigret.c: New; fn alias to __sigreturn. - * sysdeps/stub/__sigret.c: New. +2017-01-16 Joseph Myers - * sysdeps/unix/i386/sysdep.h (PSEUDO): Use hard-coded numbers for - lcalls insn--GAS bug. + [BZ #21045] + * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S + (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored + to __sigprocmask. + +2017-01-16 Chris Metcalf + + * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer + wrap-around. + * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise. + + * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file. + +2016-01-14 Siddhesh Poyarekar + + * NEWS: Fix typo. + +2016-01-13 Torvald Riegel + + * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler + barriers and comments. + * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise. + * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise. + * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise. + +2016-01-13 Torvald Riegel + + [BZ #19402] + * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust + mutexes. + +2016-01-13 Torvald Riegel + + [BZ #20985] + * nptl/Makefile: Adapt. + * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove. + (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New. + * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove. + (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New. + (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt. + * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline + lll_robust* functions and adapt. + * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise. + * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait, + __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait, + __lll_robust_timedlock, __lll_robust_unlock): Remove. + * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock, + lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove. + * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock, + lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove. + * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait, + __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait, + __lll_robust_timedlock, __lll_robust_unlock): Remove. + * nptl/lowlevelrobustlock.c: Remove file. + * nptl/lowlevelrobustlock.sym: Likewise. + * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise. + * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise. + +2017-01-13 Tulio Magno Quites Machado Filho + + * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated. + +2017-01-12 Siddhesh Poyarekar + + * po/cs.po: Merge translations from the Translation Project. + * po/de.po: Likewise. + * po/pl.po: Likewise. + * po/ru.po: Likewise. + * po/tr.po: Likewise. + * po/uk.po: Likewise. + * po/vi.po: Likewise. + * po/zh_CN.po: Likewise. + +2017-01-12 Joseph Myers + + * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file. + + * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t + object. + +2017-01-11 Joseph Myers + + [BZ #16458] + * bits/uintn-identity.h: New file. + * inet/netinet/in.h: Include . + [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity. + [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity. + [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity. + [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity. + * string/endian.h: Include . + [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use + __uint16_identity. + [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise. + [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use + __uint32_identity. + [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise. + [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use + __uint64_identity. + [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise. + [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use + __uint16_identity. + [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise. + [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use + __uint32_identity. + [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise. + [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use + __uint64_identity. + [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise. + * string/Makefile (headers): Add bits/uintn-identity.h. + (tests): Add test-endian-types. + * string/test-endian-types.c: New file. + * inet/Makefile (tests): Add test-hnto-types. + * inet/test-hnto-types.c: New file. + +2016-01-11 Siddhesh Poyarekar + + * po/be.po: Update from Translation Project. + * po/bg.po: Likewise. + * po/ca.po: Likewise. + * po/cs.po: Likewise. + * po/da.po: Likewise. + * po/de.po: Likewise. + * po/el.po: Likewise. + * po/eo.po: Likewise. + * po/es.po: Likewise. + * po/fi.po: Likewise. + * po/fr.po: Likewise. + * po/gl.po: Likewise. + * po/hr.po: Likewise. + * po/hu.po: Likewise. + * po/ia.po: Likewise. + * po/id.po: Likewise. + * po/it.po: Likewise. + * po/ja.po: Likewise. + * po/ko.po: Likewise. + * po/lt.po: Likewise. + * po/nb.po: Likewise. + * po/nl.po: Likewise. + * po/pl.po: Likewise. + * po/pt_BR.po: Likewise. + * po/ru.po: Likewise. + * po/rw.po: Likewise. + * po/sk.po: Likewise. + * po/sl.po: Likewise. + * po/sv.po: Likewise. + * po/tr.po: Likewise. + * po/uk.po: Likewise. + * po/vi.po: Likewise. + * po/zh_CN.po: Likewise. + * po/zh_TW.po: Likewise. + +2017-01-11 Joseph Myers + + * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore + -Wformat-truncation instead of -Wformat-length. + * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise. + * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for + GCC 7. + * wcsmbs/tst-wcstof.c: Include . + (do_test): Ignore -Wformat-truncation for GCC 7. + + * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of + buffer used to print long int value. + + * elf/sotruss-lib.c (init): Increase space allocated for pid by + one byte. Print it with %ld, cast to long int. + +2017-01-11 Szabolcs Nagy + + * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition. + (re.fullmatch, subprocess.run): Likewise. + +2016-01-11 Siddhesh Poyarekar + + * po/libc.pot: Regenerate. + +2016-01-10 Siddhesh Poyarekar + + * elf/dl-tunables.c (tunables_unsetenv): Remove function. + (min_strlen): Likewise. + (disable_tunable): Likewise. + (maybe_disable_malloc_check): Rename to + maybe_enable_malloc_check. + (maybe_enable_malloc_check): Enable glibc.malloc.check tunable + if /etc/suid-debug file exists. + (__tunables_init): Update caller. + * elf/dl-tunables.list (glibc.malloc.check): Don't mark as + secure. + +2016-01-10 Torvald Riegel + + * nptl/DESIGN-rwlock.txt: Remove. + * nptl/lowlevelrwlock.sym: Remove. + * nptl/Makefile: Add new tests. + * nptl/pthread_rwlock_common.c: New file. Contains the new rwlock. + * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove. + (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED, + PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT, + PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER, + PTHREAD_RWLOCK_FUTEX_USED): New. + * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new + implementation. + * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove. + (__pthread_rwlock_rdlock): Adapt. + * nptl/pthread_rwlock_timedrdlock.c + (pthread_rwlock_timedrdlock): Adapt. + * nptl/pthread_rwlock_timedwrlock.c + (pthread_rwlock_timedwrlock): Adapt. + * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt. + * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt. + * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt. + * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove. + (__pthread_rwlock_wrlock): Adapt. + * nptl/tst-rwlock10.c: Adapt. + * nptl/tst-rwlock11.c: Adapt. + * nptl/tst-rwlock17.c: New file. + * nptl/tst-rwlock18.c: New file. + * nptl/tst-rwlock19.c: New file. + * nptl/tst-rwlock2b.c: New file. + * nptl/tst-rwlock8.c: Adapt. + * nptl/tst-rwlock9.c: Adapt. + * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt. + * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt. + * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt. + * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt. + * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt. + * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt. + * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt. + * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt. + * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt. + * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt. + * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt. + * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt. + * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h + (pthread_rwlock_t): Adapt. + * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h + (pthread_rwlock_t): Adapt. + * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt. + * nptl/nptl-printers.py (): Adapt. + * nptl/nptl_lock_constants.pysym: Adapt. + * nptl/test-rwlock-printers.py: Adapt. + * nptl/test-rwlockattr-printers.c: Adapt. + * nptl/test-rwlockattr-printers.py: Adapt. + +2017-01-10 Joseph Myers + + * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro. + (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests. + (fma_test_data): Likewise. + (hypot_test_data): Likewise. + (log1p_test_data): Likewise. + (modf_test_data): Likewise. + (pow_test_data): Likewise. + (remainder_test_data): Likewise. + (remquo_test_data): Likewise. + (scalb_test_data): Likewise. + (scalbn_test_data): Likewise. + (scalbln_test_data): Likewise. + * math/gen-libm-test.pl (parse_args): Transform + XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending + on the rounding mode. + +2017-01-09 Joseph Myers + + * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply + xfail-rounding:ibm128-libgcc automatically to tests overflowing + and those that can underflow to zero. + * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and + add others. + * math/auto-libm-test-out: Regenerated. + + * math/test-fenv.c (fe_tests): Skip most tests when exceptions not + supported. + (feholdexcept_tests): Skip tests requiring exceptions or rounding + modes support if not supported. + + * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64): + Add libc.so PLT entry. + (__tls_get_addr): Make ld.so PLT entry optional. + +2017-01-09 Adhemerval Zanella + + * string/bits/strings_fortified.h (explicit_bzero): Move back to .. + * string/bits/string3.h: ... here. + +2017-01-05 Joseph Myers + + [BZ #21028] + * math/fsetexcptflg.c (__fesetexceptflag): Always return 0. + * math/test-fexcept.c (test_set): Allow failure of feraiseexcept + if EXCEPTION_TESTS returns false. + +2017-01-05 Adhemerval Zanella + + [BZ #20558] + * string/bits/string3.h [__USE_MISC] (bcopy): Move to + strings_fortified.h. + [__USE_MISC] (bzero): Likewise. + [__USE_MISC] (explicit_bzero): Likewise. + * string/strings.h: Include strings_fortified.h. + * string/Makefile (headers): Add strings_fortified.h. + * string/bits/strings_fortified.h: New file. + * include/bits/strings_fortified.h: Likewise. + +2017-01-05 Joseph Myers + + * elf/tst-tls13.c (TIMEOUT): Remove. + * iconvdata/tst-loading.c (TIMEOUT): Likewise. + * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100. + * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100. + * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900. + * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300. + + [BZ #21026] + * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list + (readahead): New syscall entry. + +2017-01-04 Joseph Myers + + * string/tester.c (test_strncat): Disable -Wstringop-overflow= + around tests of strncat with large sizes. + + * malloc/tst-malloc.c: Include . + (do_test): Disable -Walloc-size-larger-than= around tests of + malloc with negative sizes. + * malloc/tst-mcheck.c: Include . + (do_test): Disable -Walloc-size-larger-than= around tests of + malloc and realloc with negative sizes. + * malloc/tst-realloc.c: Include . + (do_test): Disable -Walloc-size-larger-than= around tests of + realloc with negative sizes. + + * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro. + (init_max_error) [TEST_COND_ibm128]: Increase maximum error + allowed to 16 ulps. + * math/auto-libm-test-in: Change most XFAILs for ibm128 to use + ibm128-libgcc. XFAIL more tests for ibm128-libgcc. + * math/auto-libm-test-out: Regenerated. + +2017-01-04 Gabriel F. T. Gomes + + * math/Makefile (libm-calls): Move wrappers... + (libm-compat-call-auto): Here. + (libm-routines): Add items in libm-compat-calls-auto. + * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to + the filenames of the wrappers that have been renamed. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise. + + * math/w_acos.c: Add _compat suffix to filename. + * math/w_acosf.c: Likewise. + * math/w_acosh.c: Likewise. + * math/w_acoshf.c: Likewise. + * math/w_acoshl.c: Likewise. + * math/w_acosl.c: Likewise. + * math/w_asin.c: Likewise. + * math/w_asinf.c: Likewise. + * math/w_asinl.c: Likewise. + * math/w_atan2.c: Likewise. + * math/w_atan2f.c: Likewise. + * math/w_atan2l.c: Likewise. + * math/w_atanh.c: Likewise. + * math/w_atanhf.c: Likewise. + * math/w_atanhl.c: Likewise. + * math/w_cosh.c: Likewise. + * math/w_coshf.c: Likewise. + * math/w_coshl.c: Likewise. + * math/w_exp10.c: Likewise. + * math/w_exp10f.c: Likewise. + * math/w_exp10l.c: Likewise. + * math/w_exp2.c: Likewise. + * math/w_exp2f.c: Likewise. + * math/w_exp2l.c: Likewise. + * math/w_fmod.c: Likewise. + * math/w_fmodf.c: Likewise. + * math/w_fmodl.c: Likewise. + * math/w_hypot.c: Likewise. + * math/w_hypotf.c: Likewise. + * math/w_hypotl.c: Likewise. + * math/w_j0.c: Likewise. + * math/w_j0f.c: Likewise. + * math/w_j0l.c: Likewise. + * math/w_j1.c: Likewise. + * math/w_j1f.c: Likewise. + * math/w_j1l.c: Likewise. + * math/w_jn.c: Likewise. + * math/w_jnf.c: Likewise. + * math/w_jnl.c: Likewise. + * math/w_log10.c: Likewise. + * math/w_log10f.c: Likewise. + * math/w_log10l.c: Likewise. + * math/w_log2.c: Likewise. + * math/w_log2f.c: Likewise. + * math/w_log2l.c: Likewise. + * math/w_log.c: Likewise. + * math/w_logf.c: Likewise. + * math/w_logl.c: Likewise. + * math/w_pow.c: Likewise. + * math/w_powf.c: Likewise. + * math/w_powl.c: Likewise. + * math/w_remainder.c: Likewise. + * math/w_remainderf.c: Likewise. + * math/w_remainderl.c: Likewise. + * math/w_scalb.c: Likewise. + * math/w_scalbf.c: Likewise. + * math/w_scalbl.c: Likewise. + * math/w_sinh.c: Likewise. + * math/w_sinhf.c: Likewise. + * math/w_sinhl.c: Likewise. + * math/w_sqrt.c: Likewise. + * math/w_sqrtf.c: Likewise. + * math/w_sqrtl.c: Likewise. + * math/w_tgamma.c: Likewise. + * math/w_tgammaf.c: Likewise. + * math/w_tgammal.c: Likewise. + + * math/w_acos_compat.c: New file copied from above and + adjusted for new #includes path + * math/w_acosf_compat.c: Likewise. + * math/w_acosh_compat.c: Likewise. + * math/w_acoshf_compat.c: Likewise. + * math/w_acoshl_compat.c: Likewise. + * math/w_acosl_compat.c: Likewise. + * math/w_asin_compat.c: Likewise. + * math/w_asinf_compat.c: Likewise. + * math/w_asinl_compat.c: Likewise. + * math/w_atan2_compat.c: Likewise. + * math/w_atan2f_compat.c: Likewise. + * math/w_atan2l_compat.c: Likewise. + * math/w_atanh_compat.c: Likewise. + * math/w_atanhf_compat.c: Likewise. + * math/w_atanhl_compat.c: Likewise. + * math/w_cosh_compat.c: Likewise. + * math/w_coshf_compat.c: Likewise. + * math/w_coshl_compat.c: Likewise. + * math/w_exp10_compat.c: Likewise. + * math/w_exp10f_compat.c: Likewise. + * math/w_exp10l_compat.c: Likewise. + * math/w_exp2_compat.c: Likewise. + * math/w_exp2f_compat.c: Likewise. + * math/w_exp2l_compat.c: Likewise. + * math/w_fmod_compat.c: Likewise. + * math/w_fmodf_compat.c: Likewise. + * math/w_fmodl_compat.c: Likewise. + * math/w_hypot_compat.c: Likewise. + * math/w_hypotf_compat.c: Likewise. + * math/w_hypotl_compat.c: Likewise. + * math/w_j0_compat.c: Likewise. + * math/w_j0f_compat.c: Likewise. + * math/w_j0l_compat.c: Likewise. + * math/w_j1_compat.c: Likewise. + * math/w_j1f_compat.c: Likewise. + * math/w_j1l_compat.c: Likewise. + * math/w_jn_compat.c: Likewise. + * math/w_jnf_compat.c: Likewise. + * math/w_jnl_compat.c: Likewise. + * math/w_log10_compat.c: Likewise. + * math/w_log10f_compat.c: Likewise. + * math/w_log10l_compat.c: Likewise. + * math/w_log2_compat.c: Likewise. + * math/w_log2f_compat.c: Likewise. + * math/w_log2l_compat.c: Likewise. + * math/w_log_compat.c: Likewise. + * math/w_logf_compat.c: Likewise. + * math/w_logl_compat.c: Likewise. + * math/w_pow_compat.c: Likewise. + * math/w_powf_compat.c: Likewise. + * math/w_powl_compat.c: Likewise. + * math/w_remainder_compat.c: Likewise. + * math/w_remainderf_compat.c: Likewise. + * math/w_remainderl_compat.c: Likewise. + * math/w_scalb_compat.c: Likewise. + * math/w_scalbf_compat.c: Likewise. + * math/w_scalbl_compat.c: Likewise. + * math/w_sinh_compat.c: Likewise. + * math/w_sinhf_compat.c: Likewise. + * math/w_sinhl_compat.c: Likewise. + * math/w_sqrt_compat.c: Likewise. + * math/w_sqrtf_compat.c: Likewise. + * math/w_sqrtl_compat.c: Likewise. + * math/w_tgamma_compat.c: Likewise. + * math/w_tgammaf_compat.c: Likewise. + * math/w_tgammal_compat.c: Likewise. + + * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename. + * sysdeps/ia64/fpu/w_sqrtl.c: Likewise. + * sysdeps/ia64/fpu/w_acosl.c: Likewise. + * sysdeps/ia64/fpu/w_sqrtf.c: Likewise. + * sysdeps/ia64/fpu/w_sqrt.c: Likewise. + * sysdeps/ia64/fpu/w_sinhl.c: Likewise. + * sysdeps/ia64/fpu/w_acosf.c: Likewise. + * sysdeps/ia64/fpu/w_sinhf.c: Likewise. + * sysdeps/ia64/fpu/w_sinh.c: Likewise. + * sysdeps/ia64/fpu/w_scalbl.c: Likewise. + * sysdeps/ia64/fpu/w_scalbf.c: Likewise. + * sysdeps/ia64/fpu/w_scalb.c: Likewise. + * sysdeps/ia64/fpu/w_remainderl.c: Likewise. + * sysdeps/ia64/fpu/w_remainderf.c: Likewise. + * sysdeps/ia64/fpu/w_remainder.c: Likewise. + * sysdeps/ia64/fpu/w_powl.c: Likewise. + * sysdeps/ia64/fpu/w_powf.c: Likewise. + * sysdeps/ia64/fpu/w_pow.c: Likewise. + * sysdeps/ia64/fpu/w_logl.c: Likewise. + * sysdeps/ia64/fpu/w_logf.c: Likewise. + * sysdeps/ia64/fpu/w_log2l.c: Likewise. + * sysdeps/ia64/fpu/w_log2f.c: Likewise. + * sysdeps/ia64/fpu/w_log2.c: Likewise. + * sysdeps/ia64/fpu/w_log10l.c: Likewise. + * sysdeps/ia64/fpu/w_log10f.c: Likewise. + * sysdeps/ia64/fpu/w_log10.c: Likewise. + * sysdeps/ia64/fpu/w_log.c: Likewise. + * sysdeps/ia64/fpu/w_hypotl.c: Likewise. + * sysdeps/ia64/fpu/w_hypotf.c: Likewise. + * sysdeps/ia64/fpu/w_hypot.c: Likewise. + * sysdeps/ia64/fpu/w_fmodl.c: Likewise. + * sysdeps/ia64/fpu/w_fmodf.c: Likewise. + * sysdeps/ia64/fpu/w_fmod.c: Likewise. + * sysdeps/ia64/fpu/w_exp2l.c: Likewise. + * sysdeps/ia64/fpu/w_exp2f.c: Likewise. + * sysdeps/ia64/fpu/w_exp2.c: Likewise. + * sysdeps/ia64/fpu/w_exp10l.c: Likewise. + * sysdeps/ia64/fpu/w_exp10f.c: Likewise. + * sysdeps/ia64/fpu/w_exp10.c: Likewise. + * sysdeps/ia64/fpu/w_coshl.c: Likewise. + * sysdeps/ia64/fpu/w_coshf.c: Likewise. + * sysdeps/ia64/fpu/w_cosh.c: Likewise. + * sysdeps/ia64/fpu/w_atanhl.c: Likewise. + * sysdeps/ia64/fpu/w_atanhf.c: Likewise. + * sysdeps/ia64/fpu/w_atanh.c: Likewise. + * sysdeps/ia64/fpu/w_atan2l.c: Likewise. + * sysdeps/ia64/fpu/w_atan2f.c: Likewise. + * sysdeps/ia64/fpu/w_atan2.c: Likewise. + * sysdeps/ia64/fpu/w_asinl.c: Likewise. + * sysdeps/ia64/fpu/w_asinf.c: Likewise. + * sysdeps/ia64/fpu/w_asin.c: Likewise. + * sysdeps/ia64/fpu/w_acoshl.c: Likewise. + * sysdeps/ia64/fpu/w_acoshf.c: Likewise. + * sysdeps/ia64/fpu/w_acosh.c: Likewise. + * sysdeps/ia64/fpu/w_acos.c: Likewise. + * sysdeps/ia64/fpu/w_tgamma.S: Likewise. + * sysdeps/ia64/fpu/w_tgammaf.S: Likewise. + * sysdeps/ia64/fpu/w_tgammal.S: Likewise. + * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: + Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: + Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: + Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: + Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise. + * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise. + * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise. + * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise. + * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise. + * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise. + * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise. + + * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above + and adjusted for new #includes path + * sysdeps/ia64/fpu/w_acos_compat.c: Likewise. + * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise. + * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise. + * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise. + * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise. + * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise. + * sysdeps/ia64/fpu/w_asin_compat.c: Likewise. + * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise. + * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise. + * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise. + * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise. + * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise. + * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise. + * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise. + * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise. + * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise. + * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise. + * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise. + * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise. + * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise. + * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise. + * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise. + * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise. + * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise. + * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise. + * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise. + * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise. + * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise. + * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise. + * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise. + * sysdeps/ia64/fpu/w_log10_compat.c: Likewise. + * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise. + * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise. + * sysdeps/ia64/fpu/w_log2_compat.c: Likewise. + * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise. + * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise. + * sysdeps/ia64/fpu/w_log_compat.c: Likewise. + * sysdeps/ia64/fpu/w_logf_compat.c: Likewise. + * sysdeps/ia64/fpu/w_logl_compat.c: Likewise. + * sysdeps/ia64/fpu/w_pow_compat.c: Likewise. + * sysdeps/ia64/fpu/w_powf_compat.c: Likewise. + * sysdeps/ia64/fpu/w_powl_compat.c: Likewise. + * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise. + * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise. + * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise. + * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise. + * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise. + * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise. + * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise. + * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise. + * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise. + * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise. + * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise. + * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise. + * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise. + * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise. + * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise. + * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S: + Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S: + Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c: + Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S: + Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S: + Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c: + Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise. + * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise. + * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise. + * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise. + * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S: + Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S: + Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S: + Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S: + Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise. + * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise. + * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise. + +2017-01-04 Joseph Myers + + * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag + __jmp_buf_internal_tag. + + * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always + preserve NaN payload if [__mips_nan2008]. + * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise. + + [BZ #21022] + * sysdeps/microblaze/backtrace.c (get_frame_size): Make static. + +2017-01-03 Joseph Myers + + * sysdeps/i386/fpu/libm-test-ulps: Update. + +2017-01-03 Adhemerval Zanella + + * sysdeps/ia64/strcat.c: Remove file. + * sysdeps/powerpc/strcat.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default + C implementation. + * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise. + +2017-01-03 Rajalakshmi Srinivasaraghavan + Steven Munroe + Tulio Magno Quites Machado Filho + + [BZ #20822] + * sysdeps/unix/sysv/linux/powerpc/elision-lock.c + (__lll_lock_elision): Access adapt_count via C11 atomics. + * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c + (__lll_trylock_elision): Likewise. + * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c + (__lll_unlock_elision): Update adapt_count variable inside the + critical section using C11 atomics. + +2017-01-03 Joseph Myers + + * math/test-fenvinline.c (do_test): Disable tests of raised + exceptions if !EXCEPTION_TESTS (FLOAT). + +2017-01-03 Adhemerval Zanella + + [BZ #19390] + * string/test-strncat.c (test_main): Add tests with SIZE_MAX as + maximum string size. + * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow + in pointer addition. + * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY): + Likewise. + +2017-01-03 Joseph Myers + + * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments + passed to tst-ldconfig-X.sh. + +2017-01-03 Martin Galvan + + * nptl/nptl-printers.py: Fix tabs/spaces mismatches. + +2017-01-02 Joseph Myers + + [BZ #21019] + * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64): + New syscall entry. + * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file. + * io/test-lfs.c (do_test): Test offset returned from lseek64 and + lseek. + + * scripts/build-many-glibcs.py (Context.add_all_configs): Add + power4 glibc for powerpc-linux-gnu. + +2017-01-02 Adhemerval Zanella + + * sysvipc/test-sysvsem.c (do_test): Define and use union semun on + semctl. + +2017-01-02 Joseph Myers + + * math/test-nearbyint-except.c: Include . + (any_supported): New variable. + (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT). Otherwise + set any_supported. + (do_test): Return 77 if no floating-point type supported + exceptions. + + * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not + condition on [__mips_hard_float]. + +2017-01-02 Adhemerval Zanella + + [BZ #21014] + * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow + in pointer addition. + * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise. + +2017-01-02 Torvald Riegel + + * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to + new condvar. + +2017-01-02 Joseph Myers + + * scripts/build-many-glibcs.py (Context.checkout): Default + binutils version to 2.28 branch. + +2017-01-01 Florian Weimer + + * support/support_format_netent.c (support_format_netent): Work + around alpha struct netent definition difference. + +2017-01-01 Florian Weimer + + * support/xwrite.c (xwrite): Use %td for pointer difference. + +2017-01-01 Florian Weimer + + * malloc/Makefile (tests): Add tst-malloc-usable-tunables for + have-tunables only. + (tests-static): Add tst-malloc-usable-static-tunables for + have-tunables only. + +2017-01-01 Joseph Myers + + * scripts/config.guess: Update to version 2017-01-01. + * scripts/config.sub: Update to version 2017-01-01. + + * NEWS: Update copyright dates. + * catgets/gencat.c (print_version): Likewise. + * csu/version.c (banner): Likewise. + * debug/catchsegv.sh: Likewise. + * debug/pcprofiledump.c (print_version): Likewise. + * debug/xtrace.sh (do_version): Likewise. + * elf/ldconfig.c (print_version): Likewise. + * elf/ldd.bash.in: Likewise. + * elf/pldd.c (print_version): Likewise. + * elf/sotruss.sh: Likewise. + * elf/sprof.c (print_version): Likewise. + * iconv/iconv_prog.c (print_version): Likewise. + * iconv/iconvconfig.c (print_version): Likewise. + * locale/programs/locale.c (print_version): Likewise. + * locale/programs/localedef.c (print_version): Likewise. + * login/programs/pt_chown.c (print_version): Likewise. + * malloc/memusage.sh (do_version): Likewise. + * malloc/memusagestat.c (print_version): Likewise. + * malloc/mtrace.pl: Likewise. + * manual/libc.texinfo: Likewise. + * nptl/version.c (banner): Likewise. + * nscd/nscd.c (print_version): Likewise. + * nss/getent.c (print_version): Likewise. + * nss/makedb.c (print_version): Likewise. + * posix/getconf.c (main): Likewise. + * scripts/test-installation.pl: Likewise. + * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise. + + * All files with FSF copyright notices: Update copyright dates + using scripts/update-copyrights. + * intl/plural.c: Regenerated. + * locale/programs/charmap-kw.h: Likewise. + * locale/programs/locfile-kw.h: Likewise. + +2016-12-31 Florian Weimer + + [BZ #20593] + Update DNS RR type definitions. + * scripts/gen-rrtypes.py: New file. + * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a + BIND-internal RR type not used on the Internet. Add ns_t_ds, + ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey, + ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea, + ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds, + ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo, + ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64, + ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc, + ns_t_ta, ns_t_dlv. + * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT) + (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY) + (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO) + (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF) + (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP) + (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV): + Define. + * resolv/res_debug.c (__p_type_syms): Update comment. Remove + entry for ns_t_zxfr. + +2016-12-31 Florian Weimer + + [BZ #18784] + CVE-2015-5180 + * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from + T_UNSPEC. Adjust value. + * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it. + * resolv/res_query.c (__libc_res_nquery): Likewise. + * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range + QTYPEs. + * resolv/tst-resolv-qtypes.c: New file. + * resolv/Makefile (xtests): Add tst-resolv-qtypes. + (tst-resolv-qtypes): Link against libresolv and libpthread. + +2016-12-31 Florian Weimer + + * elf/dl-tunables.h (__tunables_init): Fix unused attribute. + +2016-12-31 Siddhesh Poyarekar + + * manual/tunables.texi: New chapter. + * manual/Makefile (chapters): Add it. + * manual/probes.texi (@node): Point to the Tunables chapter. + + * Makeconfig (have-tunables): Check for non-negative instead + of positive. + * configure.ac: Add 'valstring' as a valid value for + --enable-tunables. + * configure: Regenerate. + * elf/Makefile (have-tunables): Check for non-negative instead + of positive. + (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for + dl-tunables.c. + * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when + TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring. + (tunables_strdup): Likewise. + (disable_tunables): Likewise. + (parse_tunables): Likewise. + (__tunables_init): Process GLIBC_TUNABLES envvar only when. + TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring. + * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro. + (TUNABLES_FRONTEND_yes): New macro, define as + TUNABLES_FRONTEND_valstring by default. + * manual/install.texi: Document new acceptable values for + --enable-tunables. + * INSTALL: Regenerate. + + * config.make.in (have-loop-to-function): Define. + * elf/Makefile (CFLAGS-dl-tunables.c): Add + -fno-tree-loop-distribute-patterns. + * elf/dl-tunables.c: Include libc-internals.h. + (GLIBC_TUNABLES): New macro. + (tunables_strdup): New function. + (parse_tunables): New function. + (min_strlen): New function. + (__tunables_init): Use the new functions and macro. + (disable_tunable): Disable tunable from GLIBC_TUNABLES. + * malloc/tst-malloc-usable-tunables.c: New test case. + * malloc/tst-malloc-usable-static-tunables.c: New test case. + * malloc/Makefile (tests, tests-static): Add tests. + + * manual/install.texi: Add --enable-tunables option. + * INSTALL: Regenerate. + * README.tunables: New file. + * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE. + (before-compile): Generate dl-tunable-list.h early. + * config.h.in: Add HAVE_TUNABLES. + * config.make.in: Add have-tunables. + * configure.ac: Add --enable-tunables option. + * configure: Regenerate. + * csu/init-first.c (__libc_init_first): Move + __libc_init_secure earlier... + * csu/init-first.c (LIBC_START_MAIN):... to here. + Include dl-tunables.h, libc-internal.h. + (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static + binaries. + * elf/Makefile (dl-routines): Add dl-tunables. + * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE + namespace. + * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_ + only when !HAVE_TUNABLES. + * elf/rtld.c (process_envvars): Likewise. + * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h + (_dl_sysdep_start): Call __tunables_init. + * elf/dl-tunable-types.h: New file. + * elf/dl-tunables.c: New file. + * elf/dl-tunables.h: New file. + * elf/dl-tunables.list: New file. + * malloc/tst-malloc-usable-static.c: New test case. + * malloc/Makefile (tests-static): Add it. + * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h. + Define TUNABLE_NAMESPACE. + (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function. + (DL_TUNABLE_CALLBACK_FNDECL): New macro. Use it to define + callback functions. + (ptmalloc_init): Set tunable values. + * scripts/gen-tunables.awk: New file. + * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h. + (_dl_sysdep_start): Call __tunables_init. + +2016-12-31 Florian Weimer + + * resolv/resolv.h (RES_BLAST): Deprecate. + * resolv/res_debug.c (p_option): Remove RES_BLAST. + * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference + to RES_BLAST. + +2016-12-27 Florian Weimer + + [BZ #19582] + Deprecate RES_USE_INET6. + * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r) + (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r) + (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of + RES_USE_INET6. + * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r) + (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r) + (_nss_nisplus_gethostbyaddr_r): Likewise. + * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead + of res_use_inet6. + * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6 + instead of RES_USE_INET6. + * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise. + * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE) + (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r): + Likewise. + * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname) + (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname): + Likewise. + * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r) + (_nss_dns_gethostbyname_r): Likewise. + (_nss_dns_gethostbyaddr2_r): Remove commented-out code for + alternate RES_USE_INET6 handling. + * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6 + instead of RES_USE_INET6. + * resolv/res_init.c (res_setoptions): Likewise. + * resolv/resolv.h (RES_USE_INET6): Mark as deprecated. + * resolv/resolv-internal.h: New file. + * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to + make the deprecation warning non-fatal. + * resolv/README (Using the resolver in multi-threaded code): Drop + reference to RES_USE_INET6. + * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use + DEPRECATED_RES_USE_INET6 instead of res_use_inet6. + +2016-12-31 Florian Weimer + + * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp, + tst-res_use_inet6, tst-resolv-basic, tst-resolv-network, + tst-resolv-search. + (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6) + (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link + with libresolv and libpthread. + * resolv/tst-bug18665.c: New file. + * resolv/tst-bug18665-tcp: Likewise. + * resolv/tst-res_use_inet6: Likewise. + * resolv/tst-resolv-basic: Likewise. + * resolv/tst-resolv-network: Likewise. + * resolv/tst-resolv-search: Likewise. + * support/Makefile (libsupport-routines): Add check_addrinfo, + check_dns_packet, check_hostent, check_netent, resolv_test, + support_format_address_family, support_format_addrinfo, + support_format_dns_packet, support_format_herrno, + support_format_hostent, support_format_netent, support_run_diff, + xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten, + xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt, + xstrdup, xwrite. + * support/check_addrinfo.c: New file. + * support/check_dns_packet.c: Likewise. + * support/check_hostent.c: Likewise. + * support/check_netent.c: Likewise. + * support/check_nss.h: Likewise. + * support/format_nss.h: Likewise. + * support/resolv_test.c: Likewise. + * support/resolv_test.h: Likewise. + * support/run_diff.h: Likewise. + * support/support_format_address_family.c: Likewise. + * support/support_format_addrinfo.c: Likewise. + * support/support_format_dns_packet.c: Likewise. + * support/support_format_herrno.c: Likewise. + * support/support_format_hostent.c: Likewise. + * support/support_format_netent.c: Likewise. + * support/support_run_diff.c: Likewise. + * support/xaccept.c: Likewise. + * support/xbind.c: Likewise. + * support/xconnect.c: Likewise. + * support/xfclose.c: Likewise. + * support/xfopen.c: Likewise. + * support/xgetsockname.c: Likewise. + * support/xlisten.c: Likewise. + * support/xmemstream.c: Likewise. + * support/xmemstream.h: Likewise. + * support/xpoll.c: Likewise. + * support/xpthread_once.c: Likewise. + * support/xrecvfrom.c: Likewise. + * support/xsendto.c: Likewise. + * support/xsetsockopt.c: Likewise. + * support/xstdio.h: Likewise. + * support/xstrdup.c: Likewise. + * support/support.h (xstrdup): Declare. + * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind) + (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise. + * support/xthread.h (xpthread_once): Likwise. + * support/xunistd.h (xwrite): Declare. + +2016-12-31 Florian Weimer + + * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose. + (test_verbose): Declare. + * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS. + * support/support_test_main.c (default_options): Likewise. + (usage, support_test_main): Handle 'v'. + (test_verbose): Define. + * support/tst-support_record_failure.c (do_test): Use + test_verbose. + * support/tst-support_record_failure-2.sh (different_status): Add + --verbose test. + +2016-12-31 Florian Weimer + + * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that + test failures are recorded. + * support/check.c (support_print_failure_impl): Call + support_record_failure. + (support_exit_failure_impl): Call support_record_failure if status + indicates failure. + * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1. + * support/xasprintf.c (xasprintf): Likewise. + * support/xfork.c (xfork): Likewise. + * support/xpthread_check_return.c (xpthread_check_return): + Likewise. + * support/xsocket.c (xsocket): Likeweise. + * support/xwaitpid.c (xwaitpid): Likewise. + * support/support_record_failure.c (struct test_failures): Adjust + to coding style. + * support/support_test_verify_impl.c (support_test_verify_impl): + Adjust error messages. + * support/tst-support_record_failure-2.sh (different_status): + Adjust error messages. + +2016-12-31 Florian Weimer + + * support/namespace.h: New file. + * support/support_become_root.c: Likewise. + * support/support_enter_network_namespace.c: Likewise. + * support/tst-support-namespace.c: Likewise. + * support/xsocket.c: Likewise. + * support/xsocket.h: Likewise. + * support/Makefile (libsupport-routines): Add support_become_root, + support_enter_network_namespace, xsocket. + (tests): Add tst-support-namespace. + +2016-12-31 Florian Weimer + + [BZ #17252] + * posix/unistd.h (getentropy): Declare for __USE_MISC, not just + __USE_GNU. + +2016-12-31 Torvald Riegel + + [BZ #13165] + * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to + use new algorithm. + * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise. + * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise. + * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise. + * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise. + (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c. + (__condvar_confirm_wakeup, __condvar_cancel_waiting, + __condvar_cleanup_waiting, __condvar_dec_grefs, + __pthread_cond_wait_common): New. + (__condvar_cleanup): Remove. + * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt. + * npt/pthread_condattr_setclock.c (pthread_condattr_setclock): + Likewise. + * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared): + Likewise. + * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise. + * nptl/tst-cond1.c: Add comment. + * nptl/tst-cond20.c (do_test): Adapt. + * nptl/tst-cond22.c (do_test): Likewise. + * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt + structure. + * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise. + * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise. + * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise. + * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t): + Likewise. + * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise. + * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise. + * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise. + * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise. + * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t): + Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t): + Likewise. + * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise. + * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove. + (COND_CLOCK_BITS): Adapt. + * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt. + * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK, + __PTHREAD_COND_SHARED_MASK): New. + * nptl/nptl-printers.py (CLOCK_IDS): Remove. + (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt. + * nptl/nptl_lock_constants.pysym: Adapt. + * nptl/test-cond-printers.py: Adapt. + * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear, + cond_compat_check_and_clear): Adapt. + * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ... + * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c + (__pthread_cond_timedwait): ... and move here. + * nptl/DESIGN-condvar.txt: Remove file. + * nptl/lowlevelcond.sym: Likewise. + * nptl/pthread_cond_timedwait.c: Likewise. + * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise. + * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise. + * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise. + * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise. + * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise. + * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise. + * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise. + * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise. + * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise. + * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise. + * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise. + * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise. + * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise. + * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise. + * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise. + * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise. + +2016-12-31 Joseph Myers + + * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] + (fromfp): New declaration. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise. + * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise. + * math/math.h: Include . + [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum + constant and macro. + (FP_INT_DOWNWARD): Likewise. + (FP_INT_TOWARDZERO): Likewise. + (FP_INT_TONEARESTFROMZERO): Likewise. + (FP_INT_TONEAREST): Likewise. + * math/Versions (fromfp): New libm symbol at version GLIBC_2.25. + (fromfpf): Likewise. + (fromfpl): Likewise. + (ufromfp): Likewise. + (ufromfpf): Likewise. + (ufromfpl): Likewise. + (fromfpx): Likewise. + (fromfpxf): Likewise. + (fromfpxl): Likewise. + (ufromfpx): Likewise. + (ufromfpxf): Likewise. + (ufromfpxl): Likewise. + * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF, + s_fromfpxF and s_ufromfpxF. + * math/gen-fromfp-tests.py: New file. + * math/gen-fromfp-tests-inputs: Likewise. + * math/libm-test.inc: Include + (check_intmax_t): New function. + (check_uintmax_t): Likewise. + (struct test_fiu_M_data): New type. + (struct test_fiu_U_data): Likewise. + (RUN_TEST_fiu_M): New macro. + (RUN_TEST_LOOP_fiu_M): Likewise. + (RUN_TEST_fiu_U): Likewise. + (RUN_TEST_LOOP_fiu_U): Likewise. + (fromfp_test_data): New array. + (fromfp_test): New function. + (fromfpx_test_data): New array. + (fromfpx_test): New function. + (ufromfp_test_data): New array. + (ufromfp_test): New function. + (ufromfpx_test_data): New array. + (ufromfpx_test): New function. + (main): Call fromfp_test, fromfpx_test, ufromfp_test and + ufromfpx_test. + * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor + characters. + * math/test-tgmath-ret.c: Include . + (rm): New variable. + (width): Likewise. + (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to + called function. + (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to + CHECK_RET_CONST_TYPE. + (CHECK_RET_CONST_DOUBLE): Likewise. + (CHECK_RET_CONST_LDOUBLE): Likewise. + (CHECK_RET_CONST): Take extra arguments and pass them to calls + macros. + (fromfp): New CHECK_RET_CONST call. + (ufromfp): Likewise. + (fromfpx): Likewise. + (ufromfpx): Likewise. + (do_test): Call check_return_fromfp, check_return_ufromfp, + check_return_fromfpx and check_return_ufromfpx. + * math/test-tgmath.c: Include + (NCALLS): Increase to 138. + (F(compile_test)): Initialize i. Call fromfp functions. + (F(fromfp)): New function. + (F(fromfpx)): Likewise. + (F(ufromfp)): Likewise. + (F(ufromfpx)): Likewise. + * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD, + FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO, + FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf, + ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and + ufromfpxl. + * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx, + ufromfp and ufromfpx. + * math/fromfp.h: New file. + * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise. + * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise. + * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise. + * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise. + * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise. + * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise. + * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise. + * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise. + * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise. + * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise. + * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp, + ufromfp, fromfpx and ufromfpx. + (CFLAGS-nldbl-fromfp.c): New variable. + (CFLAGS-nldbl-fromfpx.c): Likewise. + (CFLAGS-nldbl-ufromfp.c): Likewise. + (CFLAGS-nldbl-ufromfpx.c): Likewise. + * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include . + * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise. + * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise. + * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise. + * sysdeps/nacl/libm.abilist: Update. + * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise. + +2016-12-30 Florian Weimer + + * resolv/Makefile (libresolv-routines): Rename gethnamaddr to + compat-gethnamaddr. + (CPPFLAGS): Remove. + * resolv/gethnamaddr.c: Rename ... + * resolv/compat-gethnamaddr.c: ... to this file. + (_endhtent): Make static. + (res_gethostbyname): Renamed from gethostbyname. Turn into compat + symbol. + (res_gethostbyname2): Renamed from gethostbyname2. Turn into + compat symbol. + (res_gethostbyaddr): Renamed from gethostbyaddr. Turn into compat + symbol. + (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr): + Turn into compat symbol. + * include/resolv.h (_endhtent): Remove declaration. + +2016-12-30 Joseph Myers + + * bits/types.h (__intmax_t): New typedef. + (__uintmax_t): Likewise. + * sysdeps/generic/stdint.h: Include . + (intmax_t): Define using __intmax_t. + (uintmax_t): Define using __uintmax_t. + + * support/Makefile (tests-special): Make definition conditional on + [$(run-built-tests) = yes]. + ($(objpfx)tst-support_record_failure-2.out): Make rule conditional + on [$(run-built-tests) = yes]. + +2016-12-30 Siddhesh Poyarekar + + * Rules (tests): Add tests-printers-programs to tests to be + built. + +2016-12-28 Adhemerval Zanella + + * sysvipc/Makefile (tests): Add test-sysvshm. + * sysvipc/test-sysvshm.c: New file. + + * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove. + * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise. + * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise. + * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise. + * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise. + * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget): + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget): + Likewise. + * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise. + * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it + is defined. + + * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove. + * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise. + * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise. + * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise. + * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise. + * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt): + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt): + Likewise. + * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise. + * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is + defined. + + * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove + oldshmctl. + * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove. + * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise. + * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise. + * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise. + * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise. + * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl): + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl): + Likewise. + * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise. + * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file. + * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise. + * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default + implementation. + * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall + if it is defined. + + * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove. + * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise. + * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise. + * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise. + * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise. + * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat): + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat): + Likewise. + * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise. + * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat): + Define to __NR_osf_shmat. + * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is + defined. + + * sysvipc/Makefile (tests): Add test-sysvsem. + * sysvipc/test-sysvsem.c: New file. + + * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove. + * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise. + * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop): + Likewise. + * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise. + * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise. + * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop): + Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop): + Likewise. + * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise. + * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file. + * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and + add a comment about s390 syscall difference from default one. + * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop + syscall if it is defined. + + * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove. + * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise. + * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise. + * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise. + * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise. + * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop): + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop): + Likewise. + * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise. + * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is + defined. + + * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove. + * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise. + * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise. + * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise. + * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise. + * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget): + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget): + Likewise. + * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise. + * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall + if it is defined. + + * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove + oldsemctl. + * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file. + * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise. + * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf + implementation. + * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl + syscall if it is defined. + * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove. + * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise. + * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise. + * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl): + Likewise. + * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise. + + * sysvipc/Makefile (tests): Add test-sysvmsg. + * sysvipc/test-sysvmsg.c: New file. + * support/check.h (FAIL_UNSUPPORTED): New define. + + * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove. + * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise. + * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise. + * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise. + * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise. + * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget): + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget): + Likewise. + * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise. + * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if + define. + + * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove. + * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise. + * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise. + * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise. + * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise. + * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd): + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd): + Likewise. + * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise. + * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall + if defined. + + * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove. + * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise. + * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise. + * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise. + * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise. + * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl): + Likewise. + * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise, + * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl): + Likewise. + * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall + if defined. + * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file. + + * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove + oldmsgctl. + * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file. + * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise. + * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove. + * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise. + * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise. + * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl): + Likewise. + * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default + implementation. + * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall + if defined. + + * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file. + * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch + definition and define its own. + * sysdeps/unix/sysv/linux/ipc_ops.h: New file. + * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise. + * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file. + * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file. + * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation + definitions to common header. + * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall + operation from ipc_ops.h. + + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define. + * sysdeps/unix/sysv/linux/i386/kernel-features.h + (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef. + * sysdeps/unix/sysv/linux/m68k/kernel-features.h + (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise. + * sysdeps/unix/sysv/linux/mips/kernel-features.h + (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise. + * sysdeps/unix/sysv/linux/powerpc/kernel-features.h + (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise. + * sysdeps/unix/sysv/linux/s390/kernel-features.h + (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise. + * sysdeps/unix/sysv/linux/sh/kernel-features.h + (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise. + * sysdeps/unix/sysv/linux/sparc/kernel-features.h + (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise. + +2016-12-28 Tulio Magno Quites Machado Filho + + * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an + overflow in pointer addition. + +2016-12-28 Rajalakshmi Srinivasaraghavan + + * sysdeps/powerpc/powerpc64/multiarch/Makefile + (sysdep_routines): Add strchr-power8 and strchrnul_power8. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (strchr): Add __strchr_power8 to list of strchr functions. + (strchrnul): Add __strchrnul_power8 to list of strchr functions. + * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/strchr.c + (strchr): Add __strchr_power8 to ifunc list. + * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c + (__strchrnul): Add __strchrnul_power8 to ifunc list. + * sysdeps/powerpc/powerpc64/power8/strchr.S: New file. + * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file. + +2016-12-28 Florian Weimer + + * support/Makefile (libsupport-routines): Add + support_test_verify_impl, support_record_failure, xfork, xwaitpid. + (tests): Add tst-support_record_failure. + (tests-special): tst-support_record_failure-2. + (tst-support_record_failure-2.out): Depend on + tst-support_record_failure-2.sh and tst-support_record_failure. + * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define. + (support_test_verify_impl, support_record_failure) + (support_report_failure, support_report_failure_reset): Declare. + * support/support_test_main.c (adjust_exit_status): New function. + (support_test_main): Call it to incorporate record test failures. + * support/support_test_verify_impl.c: New file. + * support/support_record_failure.c: Likewise. + * support/tst-support_record_failure.c: Likewise. + * support/tst-support_record_failure-2.sh: Likewise. + * support/xunistd.h: Likewise. + * support/xfork.c: Likewise. + * support/xwaitpid.c: Likewise. + +2016-12-27 Steve Ellcey + + * scripts/check-c++-types.sh: Add comments. + +2016-12-27 Dmitry V. Levin + + [BZ #19514] + * resolv/res_send.c: Fix typo in comment. + * sysdeps/i386/i386-mcount.S: Likewise. + * sysdeps/s390/s390-32/s390-mcount.S: Likewise. + * sysdeps/s390/s390-64/s390x-mcount.S: Likewise. + * sysdeps/sparc/sparc-mcount.S: Likewise. + +2016-12-27 Adhemerval Zanella + + * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file. + * sysdeps/powerpc/fpu/s_fminf.S: Likewise. + * sysdeps/powerpc/fpu/s_fmax.S: Likewise. + * sysdeps/powerpc/fpu/s_fmin.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise. + +2016-12-27 Gabriel F. T. Gomes + + * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig. + +2016-12-27 Florian Weimer + + [BZ #17252] + * posix/unistd.h (getentropy): Declare. + +2016-12-27 Florian Weimer + + * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT): + Remove. + * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove. + (cmd): Remove spoof, nospoof, spoofalert. + (parse_line): Ignore spoof-related lines. + (do_init): Do not process RESOLV_SPOOF_CHECK. + +2016-12-27 Florian Weimer + + [BZ #20964] + sunrpc: Always obtain AF_INET addresses from NSS. + * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare. + * sunrpc/rpc_gethostbyname.c: New file. + * sunrpc/Makefile (routines): Add it. + * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname. + * sunrpc/clnt_simp.c (callrpc): Likewise. + * sunrpc/getrpcport.c (getrpcport): Likewise. + +2016-12-27 Florian Weimer + + * sunrpc/rpcinfo.c: Remove. + * sunrpc/Makefile: Remove comments referring to rpcinfo. + +2016-12-27 Adhemerval Zanella + + [BZ #19387] + * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer + addition. + * string/test-memchr.c (do_test): Remove alignment limitation. + (test_main): Add test that trigger BZ #19387. + +2016-12-26 Nick Alcock + + [BZ #7065] + Enable stack protectore if requested by ./configure. + * Makeconfig (+stack-protector): New variable. + (+cflags): Use it. + +2016-12-26 Nick Alcock + + [BZ #7065] + * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector). + * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: + (__rt_sigreturn_stub): Use inhibit_stack_protector. + * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c + (__rt_sigreturn_stub, __sigreturn_stub): Likewise. + +2016-12-26 Nick Alcock + + [BZ #7065] + * login/Makefile (pt_chown-cflags): Remove. + * nscd/Makefile (CFLAGS-nscd): Likewise. + * resolv/Makefile (CFLAGS-libresolv): Likewise. + +2016-12-26 Nick Alcock + + [BZ #7065] + * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for + non-libc-linking testcase. + +2016-12-26 Nick Alcock + Adhemerval Zanella + Florian Weimer + + [BZ #7065] + PLT avoidance for __stack_chk_fail*. + * debug/Makefile (CFLAGS-stack_chk_fail.c) + (CFLAGS-stack_chk_fail_local.c): Build without stack protector. + * debug/stack_chk_fail.c (__stack_chk_fail): Add + __stack_chk_fail_local alias. + * sysdeps/generic/symbol-hacks.h [IS_IN (libc)] + (__stack_chk_fail): Turn into hidden reference to + __stack_chk_fail_local. + +2016-12-26 Nick Alcock + + [BZ #7065] + * configure.ac: Add check for unsupported stack-protection level. + (libc_cv_predef_stack_protector): Remove. + (no_ssp): New variable. + (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector. + (stack_protector): Set to -fno-stack-protector similarly. + (libc_cv_ld_gnu_indirect_function): Use no_ssp. + (libc_cv_asm_set_directive): Likewise. + (libc_cv_protected_data): Likewise. + (libc_cv_z_combreloc): Likewise. + (libc_cv_hashstyle): Likewise. + (libc_cv_has_glob_dat): Likewise. + (libc_cv_output_format): Likewise. + (libc_cv_output_format): Likewise. + (libc_cv_ehdr_start): Likewise. + * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise. + (LIBC_LINKER_FEATURE): Likewise. + (LIBC_COMPILER_BUILTIN_INLINED): Likewise. + +2016-12-26 Nick Alcock + + [BZ #7065] + * elf/Makefile (dummy-stack-chk-fail): New. + (librtld.map): Use it. + +2016-12-26 Nick Alcock + + [BZ #7065] + Compile the dynamic linker without stack protection. + * elf/Makefile (elide-stack-protector): New. + (CFLAGS-.os): Use it, eliding $(all-rtld-routines). + (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os). + * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector). + * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =. + +2016-12-26 Nick Alcock + + [BZ #7065] + * config.make.in (have-ssp, no-stack-protector): New. + * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it. + * misc/Makefile (CFLAGS-sbrk.o): Likewise. + (CFLAGS-sbrk.op): Likewise. + (CFLAGS-brk.o): Likewise. + (CFLAGS-brk.op): Likewise. + * string/Makefile (CFLAGS-memcpy.c): Likewise. + (CFLAGS-wordcopy.c): Likewise. + +2016-12-26 Nick Alcock + + [BZ #7065] + * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define. + * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro. + * include/libc-symbols.h (inhibit_stack_protector): New macro. + (__ifunc_resolver): Use it. + * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply + inhibit_stack_protector. + * elf/ifuncmain6pie.c (foo_ifunc): Likewise. + * elf/ifuncmain7.c (foo_ifunc): Likewise. + * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc) + (foo_protected_ifunc): Likewise. + * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc) + (foo_protected_ifunc): Likewise. + * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise. + * sysdeps/nacl/nacl_interface_query.c + (nacl_interface_query_ifunc): Likewise. + * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc): + Likewise. + * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise. + * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to + the generated vDSO syscall resolver. + +2016-12-26 Nick Alcock + Florian Weimer + + [BZ #7065] + Initialize the stack guard earlier when linking statically. + * sysdeps/generic/ldsodefs.h (__libc_setup_tls) + (__pthread_initialize_minimal): Declare. + * csu/libc-start.c (__pthread_initialize_minimal): Remove + declaration. + (LIBC_START_MAIN): Call __libc_setup_tls early and directly. Move + stack canary and apply_irel initialization up. Call + __pthread_initialize_minimal only if linked in. + * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their + constant values. + (__pthread_initialize_minimal): Remove. + * nptl/nptl-init.c (__libc_setup_tls): Remove declaration. + (__pthread_initialize_minimal_internal): Do not call + __libc_setup_tls. + +2016-12-26 Nick Alcock + + [BZ #7065] + * configure.ac (libc_cv_ssp): Move up. + (libc_cv_ssp_strong): Likewise. + (libc_cv_ssp_all): New. + (stack_protector): Augment, adding -fstack-protector-all. + (no_stack_protector): New. + (STACK_PROTECTOR_LEVEL): New. + (AC_ARG_ENABLE(stack-protector)): New configure flag. + * manual/install.texi (--enable-stack-protector): Document it. + * config.h.in (STACK_PROTECTOR_LEVEL): New macro. + +2016-12-24 Carlos O'Donell + + * README.pretty-printers: Must specify CPPFLAGS-* also. + * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define. + (CPPFLAGS-test-mutex-printers.c): Define. + (CPPFLAGS-test-condattr-printers.c): Define. + (CPPFLAGS-test-cond-printers.c): Define. + (CPPFLAGS-test-rwlockattr-printers.c): Define. + (CPPFLAGS-test-rwlock-printers.c): Define. + + * nss/Makefile [ifeq (yes,$(have-thread-library))] + (tests): Add tst-cancel-getpwuid_r. + * nss/tst-cancel-getpwuid_r.c: New file. + + [BZ #11941] + * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map. + Remove assert (map->l_init_called); if DF_1_NODELETE is set. + * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add + tst-nodelete-dlclose. + (modules-names): Add tst-nodelete-dlclose-dso and + tst-nodelete-dlclose-plugin. + ($(objpfx)tst-nodelete-dlclose-dso.so): Define. + ($(objpfx)tst-nodelete-dlclose-plugin.so): Define. + ($(objpfx)tst-nodelete-dlclose): Define. + ($(objpfx)tst-nodelete-dlclose.out): Define. + +2016-12-23 Florian Weimer + + * scripts/test_printers_common.py: Log GDB output in case of + Python detection failure. + +2016-12-22 Siddhesh Poyarekar + + * configure.ac: Check for python3 or python. + * configure: Regenerated. + * config.make.in (PYTHON): New variable. + * benchtests/Makefile: Don't define PYTHON. + (bench): Define target only if PYTHON was defined. + * Rules: Don't define PYTHON. + Define pretty printer targets only if PYTHON was defined. + (tests-printers): Add to tests-unsupported if PYTHON is not + found. + (python-flags, python-invoke): Remove. + (tests-printers-out): Use PYTHON instead of python-invoke. + +2016-12-21 Joseph Myers + + [BZ #20978] + * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r): + Compare name == NULL, not name != NULL. + + * manual/texinfo.tex: Update to version 2016-09-18.18 with + trailing whitespace removed. + * scripts/config.guess: Update to version 2016-10-02. + * scripts/config.sub: Update to version 2016-11-19. + * scripts/install-sh: Update to version 2016-01-11.22. + * scripts/mkinstalldirs: Update to version 2016-01-11.22. + * scripts/move-if-change: Update to version 2016-01-11 22:04. + +2015-12-21 Wilco Dijkstra + + * benchtests/bench-strsep.c (oldstrsep): Add old implementation. + (do_one_test) Restore original string so iteration works. + * string/string-inlines.c (do_test): Create better input strings. + (test_main) Reduce number of testruns. + * string/string-inlines.c (__old_strsep_1c): New function. + (__old_strsep_2c): Likewise. + (__old_strsep_3c): Likewise. + * string/strsep.c (__strsep): Remove case of small delim string. + Call strcspn directly rather than strpbrk. + * string/bits/string2.h (__strsep): Remove define. + (__strsep_1c): Remove. + (__strsep_2c): Remove. + (__strsep_3c): Remove. + (strsep): Remove. + * sysdeps/unix/sysv/linux/internal_statvfs.c + (__statvfs_getflags): Rename to __strsep. + +2016-12-21 Florian Weimer + + * csu/libc-tls.c (_dl_tls_setup): Remove. + * elf/dl-tls.c (_dl_tls_setup): Likewise. + * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup. + * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration. + +2016-12-21 Nick Alcock + + [BZ #7065] + * sysdeps/x86_64/Makefile [$(subdir) = elf] + (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag). + +2016-12-21 Nick Alcock + Florian Weimer + + [BZ #7065] + * csu/Makefile (tests): Empty assignment and document it. + (tests-static): Remove. + * csu/tst-empty.c: Move to... + * misc/tst-empty.c: ... here. Switch to new test driver. + * csu/tst-atomic.c: Move to... + * misc/tst-atomic.c: ... here. Switch to new test driver. + * csu/tst-atomic-long.c: Move to... + * misc/tst-atomic-long.c: ... here. + * misc/Makefile (tests): Add tst-empty, tst-atomic, + tst-atomic-long. + (tests-static): Add tst-empty. + +2016-12-21 Rical Jasan + + * manual/nss.texi: Change incorrect @vtable to @table. + * manual/arith.texi: Convert @tables of variables to @vtables + and remove unnecessary indexing. + * manual/filesys.texi: Likewise. + * manual/llio.texi: Likewise. + * manual/memory.texi: Likewise. + * manual/process.texi: Likewise. + * manual/resource.texi: Likewise. + * manual/search.texi: Likewise. + * manual/signal.texi: Likewise. + * manual/socket.texi: Likewise. + * manual/stdio.texi: Likewise. + * manual/sysinfo.texi: Likewise. + * manual/syslog.texi: Likewise. + * manual/terminal.texi: Likewise. + * manual/time.texi: Likewise. + * manual/users.texi: Likewise. + +2016-12-21 Joseph Myers + + * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] + (roundeven): New declaration. + * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New + macro. + * math/Versions (roundeven): New libm symbol at version + GLIBC_2.25. + (roundevenf): Likewise. + (roundevenl): Likewise. + * math/Makefile (libm-calls): Add s_roundevenF. + * math/libm-test.inc (roundeven_test_data): New array. + (roundeven_test): New function. + (main): Call roundeven_test. + * math/test-tgmath.c (NCALLS): Increase to 134. + (F(compile_test)): Call roundeven. + (F(roundeven)): New function. + * manual/arith.texi (Rounding Functions): Document roundeven, + roundevenf and roundevenl. + * manual/libm-err-tab.pl (@all_functions): Add roundeven. + * include/math.h (roundeven): Use libm_hidden_proto. + * sysdeps/ieee754/dbl-64/s_roundeven.c: New file. + * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise. + * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise. + * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add + roundeven. + (CFLAGS-nldbl-roundeven.c): New variable. + * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file. + * sysdeps/nacl/libm.abilist: Update. + * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise. + +2016-12-20 Joseph Myers + + * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add + preprocessor indentation inside #if. + +2016-12-20 Gabriel F. T. Gomes + + * math/libm-test.inc (fmt_ftostr): New function. + (print_float, check_float_internal): Replace some uses of + FTOSTR with uses of fmt_ftostr. + (print_max_error, print_complex_max_error, print_function_ulps) + (print_complex_function_ulps): Remove uses of the macros + PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR. + * math/test-double.h (FTOSTR): Define to strfromd. + (PRINTF_EXPR): Delete. + (PRINTF_XEXPR): Likewise. + (PRINTF_NEXPR): Likewise. + * math/test-float.h (FTOSTR): Define to strfromf. + (PRINTF_EXPR): Delete. + (PRINTF_XEXPR): Likewise. + (PRINTF_NEXPR): Likewise. + * math/test-ldouble.h (FTOSTR): Define to strfroml. + (PRINTF_EXPR): Delete. + (PRINTF_XEXPR): Likewise. + (PRINTF_NEXPR): Likewise. + +2016-12-20 Stefan Liebler + + * sysdeps/unix/sysv/linux/s390/lowlevellock.h + (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument. + * sysdeps/unix/sysv/linux/s390/elision-lock.c: + (__lll_lock_elision): Decrement adapt_count while unlocking + instead of before locking. + * sysdeps/unix/sysv/linux/s390/elision-trylock.c + (__lll_trylock_elision): Likewise. + * sysdeps/unix/sysv/linux/s390/elision-unlock.c: + (__lll_unlock_elision): Likewise. + +2016-12-20 Stefan Liebler + + * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro. + * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision): + Use __libc_tbegin_retry macro. + +2016-12-20 Stefan Liebler + + * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS): + Add -msoft-float. + * sysdeps/unix/sysv/linux/s390/htm.h: New File. + * sysdeps/unix/sysv/linux/s390/elision-lock.c: + Use __libc_t* transaction macros instead of __builtin_t*. + * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise. + * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise. + +2016-12-20 Stefan Liebler + + * sysdeps/unix/sysv/linux/s390/elision-lock.c + (__lll_lock_elision): Use atomics to load / store adapt_count. + * sysdeps/unix/sysv/linux/s390/elision-trylock.c + (__lll_trylock_elision): Likewise. + +2016-12-20 Florian Weimer + + Do not require memset elimination in explicit_bzero test. + * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining. + (enum test_expectation): Add NO_EXPECTATIONS. + (subtests): NO_EXPECTATIONS for ordinary clear. + (check_test_buffer): Handle NO_EXPECTATIONS. + * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3. + +2016-12-20 Joseph Myers + + * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] + (fmaxmag): New declaration. + (fminmag): Likewise. + * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New + macro. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise. + * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25. + (fmaxmagf): Likewise. + (fmaxmagl): Likewise. + (fminmag): Likewise. + (fminmagf): Likewise. + (fminmagl): Likewise. + * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF. + * math/s_fmaxmag_template.c: New file. + * math/s_fminmag_template.c: Likewise. + * math/libm-test.inc (fmaxmag_test_data): New array. + (fmaxmag_test): New function. + (fminmag_test_data): New array. + (fminmag_test): New function. + (main): Call fmaxmag_test and fminmag_test. + * math/test-tgmath.c (NCALLS): Increase to 132. + (F(compile_test)): Call fmaxmag and fminmag. + (F(fminmag)): New function. + (F(fmaxmag)): Likewise. + * manual/arith.texi (Misc FP Arithmetic): Document fminmag, + fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl. + * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and + fminmag. + * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise. + * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise. + * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise. + * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag + and fminmag. + (CFLAGS-nldbl-fmaxmag.c): New variable. + (CFLAGS-nldbl-fminmag.c): Likewise. + * sysdeps/nacl/libm.abilist: Update. + * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise. + +2016-12-19 Torvald Riegel + + [BZ #20973] + * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost + wake-up in robust mutexes. + * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise. + +2016-12-19 Adhemerval Zanella + + * benchtests/Makefile (bench-math): Add fminf and fmaxf. + (CFLAGS-bench-fmaxf.c): New rule. + (CFLAGS-bench-fminf.c): Likewise. + * benchtests/fmaxf-inputs: New file. + * benchtests/fminf-inputs: Likewise. + + * benchtests/Makefile (bench-math): Add fmin and fmax. + (CFLAGS-bench-fmax.c): New rule. + (CFLAGS-bench-fmin.c): Likewise. + * benchtests/fmax-inputs: New file. + * benchtests/fmin-inputs: Likewise. + + * benchtests/bench-string.h (TEST_FUNCTION): Use name without + parenthesis. + (CMDLINE_PROCESS): Define using function instead of macro. + * benchtests/bench-memccpy.c: Include instead + of test-skeleton. + * benchtests/bench-memchr.c: Likewise. + * benchtests/bench-memcmp.c: Likewise. + * benchtests/bench-memcpy-large.c: Likewise. + * benchtests/bench-memcpy.c: Likewise. + * benchtests/bench-memmem.c: Likewise. + * benchtests/bench-memmove-large.c: Likewise. + * benchtests/bench-memmove.c: Likewise. + * benchtests/bench-memset-large.c: Likewise. + * benchtests/bench-memset.c: Likewise. + * benchtests/bench-rawmemchr.c: Likewise. + * benchtests/bench-strcasecmp.c: Likewise. + * benchtests/bench-strcasestr.c: Likewise. + * benchtests/bench-strcat.c: Likewise. + * benchtests/bench-strchr.c: Likewise. + * benchtests/bench-strcmp.c: Likewise. + * benchtests/bench-strcpy.c: Likewise. + * benchtests/bench-strcpy_chk.c: Likewise. + * benchtests/bench-strlen.c: Likewise. + * benchtests/bench-strncasecmp.c: Likewise. + * benchtests/bench-strncmp.c: Likewise. + * benchtests/bench-strncpy.c: Likewise. + * benchtests/bench-strnlen.c: Likewise. + * benchtests/bench-strpbrk.c: Likewise. + * benchtests/bench-strrchr.c: Likewise. + * benchtests/bench-strsep.c: Likewise. + * benchtests/bench-strspn.c: Likewise. + * benchtests/bench-strstr.c: Likewise. + * benchtests/bench-strtok.c: Likewise. + +2016-12-19 Andrew Senkevich + + * sysdeps/x86/cpu-features.c (get_common_indeces): Add + stepping identification. + (init_cpu_features): Add handle of Haswell. + +2016-11-25 Jim Meyering + + [BZ #20386] + Let gcc detect assert(a = 1) errors. + * assert/assert.h (assert): Rewrite, retaining the old definintion + when required, but otherwise putting the expression as-is in an "if" + expression (hence, with no added parentheses) within a statement + expression. + +2016-12-17 Siddhesh Poyarekar + + * benchtests/Makefile (binaries-benchset): Depend on libsupport + DSO. + +2016-12-17 Martin Galvan + + * Rules (python-flags, python-invoke): New. + ($(test-printers-out)): Use $(python-flags). + +2016-12-16 Joseph Myers + + * manual/arith.texi (Math Error Reporting): Document that sNaN + arguments are not considered domain errors. + +2016-12-16 Zack Weinberg + Florian Weimer + Nick Mathewson + + * string/explicit_bzero.c: New routine. + * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests. + * string/Makefile (routines, strop-tests, tests): Add them. + * string/test-memset.c: Add ifdeffage for testing explicit_bzero. + * string/string.h [__USE_MISC]: Declare explicit_bzero. + + * debug/explicit_bzero_chk.c: New routine. + * debug/Makefile (routines): Add it. + * debug/tst-chk1.c: Test fortification of explicit_bzero. + * string/bits/string3.h: Fortify explicit_bzero. + + * manual/string.texi: Document explicit_bzero. + * NEWS: Mention addition of explicit_bzero. + + * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate + data before returning, using explicit_bzero. + * crypt/md5-crypt.c (__md5_crypt_r): Likewise. + * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise. + * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise. + + * include/string.h: Redirect internal uses of explicit_bzero + to __explicit_bzero_chk[_internal]. + * string/Versions [GLIBC_2.25]: Add explicit_bzero. + * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk. + * sysdeps/arm/nacl/libc.abilist + * sysdeps/unix/sysv/linux/aarch64/libc.abilist + * sysdeps/unix/sysv/linux/alpha/libc.abilist + * sysdeps/unix/sysv/linux/arm/libc.abilist + * sysdeps/unix/sysv/linux/hppa/libc.abilist + * sysdeps/unix/sysv/linux/i386/libc.abilist + * sysdeps/unix/sysv/linux/ia64/libc.abilist + * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist + * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist + * sysdeps/unix/sysv/linux/microblaze/libc.abilist + * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist + * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist + * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist + * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist + * sysdeps/unix/sysv/linux/nios2/libc.abilist + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist + * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist + * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist + * sysdeps/unix/sysv/linux/sh/libc.abilist + * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist + * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist + * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist + * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist + * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: + Add entries for explicit_bzero and __explicit_bzero_chk. + +2016-12-16 Joseph Myers + + * math/fenv.h + [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__] + (FE_SNANS_ALWAYS_SIGNAL): New macro. + * math/test-fe-snans-always-signal.c: New file. + * math/Makefile (tests): Add test-fe-snans-always-signal. + (CFLAGS-test-fe-snans-always-signal.c): New variable. + * manual/arith.texi (Infinity and NaN): Document + FE_SNANS_ALWAYS_SIGNAL. + +2016-12-16 Adhemerval Zanella + + * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing + bracket. + +2016-12-16 Joseph Myers + + * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout + before calling execv. + +2016-12-16 Adhemerval Zanella + + [BZ #20971] + * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid + overflow in pointer addition. + * string/test-memchr.c (do_test): Add an argument to pass as + the size on memchr. + (test_main): Add check for SIZE_MAX. + +2016-12-16 Gabriel F. T. Gomes + + * math/Makefile (gen-libm-calls): Remove w_scalblnF. + (libm-calls): Add w_scalblnF. + * math/w_scalbln.c: Remove. + * math/w_scalblnf.c: Likewise. + * math/w_scalblnl.c: Likewise. + * math/w_scalbln_template.c: New file with type-generic + implementation based on math/w_scalbln.c. + * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove. + * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template. + +2016-12-15 Joseph Myers + + [BZ #20947] + * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when + either is a signaling NaN. + * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise. Make code + follow fmaxl more closely. + * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments + when either is a signaling NaN. + * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise. + * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise. + * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise. + * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise. + * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise. + * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise. + * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise. + * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs. + (fmin_test_data): Likewise. + +2016-12-15 Andreas Schwab + + * support/support_test_main.c (support_test_main): Don't shadow + file-local variable test_pid. + +2016-12-15 Joseph Myers + + [BZ #20947] + * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when + either is a signaling NaN. + * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise. + +2016-12-14 Joseph Myers + + [BZ #20947] + * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments + when either is a signaling NaN. + * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise. + + * bits/long-double.h: New file. + * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise. + * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise. + * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise. + * sysdeps/mips/bits/long-double.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise. + * math/Makefile (headers): Add bits/long-double.h. + * misc/sys/cdefs.h: Include . + * stdlib/strtold.c: Include instead of + . + * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion. + [!__NO_LONG_DOUBLE_MATH]: Remove conditional code. + * math/math.h: Do not include . + * sysdeps/aarch64/bits/mathdef.h: Remove file. + * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow + inclusion. + * sysdeps/ia64/bits/mathdef.h: Remove file. + * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise. + * sysdeps/mips/bits/mathdef.h: Likewise. + * sysdeps/powerpc/bits/mathdef.h: Likewise. + * sysdeps/s390/bits/mathdef.h: Likewise. + * sysdeps/sparc/bits/mathdef.h: Likewise. + * sysdeps/x86/bits/mathdef.h: Likewise. + * sysdeps/s390/s390-32/bits/wordsize.h + [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove + conditional code. + * sysdeps/s390/s390-64/bits/wordsize.h + [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: + Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h + [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h + [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: + Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h + [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: + Likewise. + + * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include + . + (FALLOC_FL_KEEP_SIZE): Remove. + (FALLOC_FL_PUNCH_HOLE): Likewise. + (FALLOC_FL_COLLAPSE_RANGE): Likewise. + (FALLOC_FL_ZERO_RANGE): Likewise. + +2016-12-14 Gabriel F. T. Gomes + + * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF. + +2016-12-14 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/renameat.c: New file. + * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat. + + * sysdeps/unix/sysv/linux/rename.c: New file. + * sysdeps/unix/sysv/linux/generic/rename.c: Remove file. + +2015-12-14 Wilco Dijkstra + + * benchtests/bench-strtok.c (oldstrtok): Add old implementation. + * string/strtok.c (strtok): Change to tailcall __strtok_r. + * string/strtok_r.c (__strtok_r): Optimize for performance. + * string/string-inlines.c (__old_strtok_r_1c): New function. + * string/bits/string2.h (__strtok_r): Move to string-inlines.c. + +2016-12-14 Gabriel F. T. Gomes + + * math/Makefile (gen-libm-calls): Add w_log1pF. + (libm-calls): Remove w_log1pF. + * math/w_log1p.c: Remove. + * math/w_log1pf.c: Likewise. + * math/w_log1pl.c: Likewise. + * math/w_log1p_template.c: New file with type-generic + implementation based on math/w_log1p.c. + * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove. + * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise. + +2015-12-14 Wilco Dijkstra + + * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen. + +2016-12-14 Joseph Myers + + * scripts/build-many-glibcs.py (Context.checkout): Default Linux + kernel version to 4.9. + +2016-12-12 Andrew Senkevich + + * math/Makefile ($(inst_libdir)/libm-$(version).a): New target. + ($(inst_libdir)/libm.a): Fix rule to create the target only. + +2016-12-13 Andreas Schwab + + * sysdeps/powerpc/dl-procinfo.c: Don't define + _dl_powerpc_platforms. + * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string + constants instead of referencing _dl_powerpc_platforms. + (_dl_platform_string): Remove. + +2016-12-13 Florian Weimer + + * nptl/tst-cancel7.c (cmdline_process): Add missing case label. + +2016-12-13 Florian Weimer + + * Rules (binaries-shared-tests, binaries-pie-tests) + (binaries-static-tests): Link with $(link-extra-libs-tests). + * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests): + Remove $(link-extra-libs-tests). + +2016-12-13 Rajalakshmi Srinivasaraghavan + + * sysdeps/powerpc/powerpc64/multiarch/Makefile + (sysdep_routines): Add strncmp_power9. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (strncmp): Add __strncmp_power9 to list of strncmp functions. + * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/strncmp.c + (strncmp): Add __strncmp_power9 to ifunc list. + * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file. + +2016-12-12 Florian Weimer + + [BZ #17252] + Add getentropy, getrandom. + * stdlib/sys/random.h: New file. + (headers): Add it. + * stdlib/Makefile (routines): Add getentropy, getrandom. + (tests): Add tst-getrandom. + * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy. + * stdlib/getentropy.c: New file. + * stdlib/getrandom.c: Likewise. + * stdlib/tst-getrandom.c: Likewise. + * sysdeps/unix/sysv/linux/getentropy.c: Likewise. + * sysdeps/unix/sysv/linux/getrandom.c: Likewise. + * manual/crypt.texi (Unpredictable Bytes): New section. + * manual/math.texi (Pseudo-Random Numbers): Add cross-reference. + * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy. + * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise. + +2016-12-10 Florian Weimer + + [BZ #20956] + * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes + as additional compiler barriers. + * debug/tst-backtrace2.c: Switch to . + (fn2, do_test): Declare with external linkage. + * debug/tst-backtrace3.c: Switch to . + (do_test): Declare with external linkage. + * debug/tst-backtrace4.c: Switch to . + (do_test): Declare with external linkage. + * debug/tst-backtrace5.c: Switch to . + (do_test): Declare with external linkage. + +2016-12-10 Andreas Schwab + + * support/support_test_main.c (support_test_main): Use correct + timeout. + +2016-12-09 Carlos O'Donell + Florian Weimer + + [BZ #16421] + * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16 + and __u6_addr32 members. + (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK) + (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL) + (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL): + Use __u6_addr32. + * inet/tst-checks.c: Use + * inet/tst-checks-posix.c: New file. + * inet/Makefile (tests): Add it. + (CFLAGS-tst-checks-posix.c): Compile in C99 mode. + +2016-12-09 Florian Weimer + + New subdirectory support for build and test infrastructure. + * extra-libs.mk (extra-libs-noinstall): Add variable. Use it when + setting install-lib. + * Makeconfig (link-extra-libs-tests): Define. + (+link-pie-tests, +link-static-tests, +link-tests): Use + link-extra-libs-tests. + (rpath-dirs, all-subdirs): Add support. + (built-modules): Add libsupport. + (libsupport): Define. + * support: New directory. + * support/Makefile: New file. + * support/check.c: Likewise. + * support/check.h: Likewise. + * support/delayed_exit.c: Likewise. + * support/ignore_stderr.c: Likewise. + * support/oom_error.c: Likewise. + * support/set_fortify_handler.c: Likewise. + * support/support.h: Likewise. + * support/temp_file-internal.h: Likewise. + * support/temp_file.c: Likewise. + * support/test-driver.c: Likewise. + * support/test-driver.h: Likewise. + * support/test_main.c: Likewise. + * support/write_message.c: Likewise. + * support/xasprintf.c: Likewise. + * support/xcalloc.c: Likewise. + * support/xmalloc.c: Likewise. + * support/xpthread_barrier_destroy.c: Likewise. + * support/xpthread_barrier_init.c: Likewise. + * support/xpthread_barrier_wait.c: Likewise. + * support/xpthread_cancel.c: Likewise. + * support/xpthread_check_return.c: Likewise. + * support/xpthread_cond_wait.c: Likewise. + * support/xpthread_create.c: Likewise. + * support/xpthread_detach.c: Likewise. + * support/xpthread_join.c: Likewise. + * support/xpthread_mutex_lock.c: Likewise. + * support/xpthread_mutex_unlock.c: Likewise. + * support/xpthread_sigmask.c: Likewise. + * support/xpthread_spin_lock.c: Likewise. + * support/xpthread_spin_unlock.c: Likewise. + * support/xrealloc.c: Likewise. + * support/xsignal.h: Likewise. + * support/xthread.h: Likewise. + * support_tempfile.h: Likewise. + * test-skeleton.c: Include , . + (TEST_DATA_LIMIT): Remove unused macro. + (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove. Now in + . + (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message) + (ignore_stderr, set_fortify_handler): Remove. Now in + . + (xpthread_sigmask): Remove. Now in . + (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait) + (xpthread_barrier_wait, xpthread_create, xpthread_detach) + (xpthread_join): Remove. Now in . + (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS): + Introduce legacy wrappers. + * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport). + * dlfcn/bug-atexit3-lib.cc: Include . + (write_message): Remove. + * dirent/opendir-tst1.c: Use instead of + test-skeleton.c. + * io/test-open-tmpfile: Likewise. + * io/tst-posix_fallocate-common.c: Likewise. + * libio/tst-fseek.c: Likewise. + * malloc/tst-malloc-backtrace.c: Likewise. + * malloc/tst-malloc-fork-deadlock.c: Likewise. + * malloc/tst-malloc-thread-exit.c: Likewise. + * nptl/tst-cancel7.c: Likewise. + * nptl/tst-cleanup0.c: Likewise. + * posix/tst-posix_fadvise-common.c: Likewise. + * rt/tst-shm.c: Likewise. + * time/bug-getdate1.c: Likewise. + * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise. + * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise. + * elf/Makefile (tst-piemod1.so): Link against libsupport. + +2016-12-08 Joseph Myers + + * Rules [$(run-built-tests) != no] (tests-expected): Add + $(tests-printers). + (tests): Do not pass $(tests-printers) to merge-test-results.sh. + +2016-12-08 Andrew Senkevich + + [BZ #20539] + * math/Makefile (install-lib-ldscripts): Add libm.a. + (install_subdir): Remove. + (install-others): Add. + ($(inst_libdir)/libm.a): Add rule for installation as + linker script. + * Makerules (install-lib.a): Filter out install-lib-ldscripts. + +2016-12-08 Martin Galvan + + * INSTALL: Regenerated. + * Makeconfig: Add comments and whitespace to make the control flow + clearer. + (+link-printers-tests, +link-pie-printers-tests, + CFLAGS-printers-tests, installed-rtld-LDFLAGS, + built-rtld-LDFLAGS, link-libc-rpath, + link-libc-tests-after-rpath-link, + link-libc-printers-tests): New. + (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link, + link-libc-tests): Use the new variables as required. + * Makerules ($(py-const)): New rule. + generated: Add $(py-const). + * README.pretty-printers: New file. + * Rules (tests-printers-programs, tests-printers-out, py-env): New. + (others): Depend on $(py-const). + (tests): Depend on $(tests-printers-programs) or + $(tests-printers-out), + as required. Pass $(tests-printers) to merge-test-results.sh. + * manual/install.texi: Add requirements for testing the pretty + printers. + * nptl/Makefile (gen-py-const-headers, pretty-printers, + tests-printers, CFLAGS-test-mutexattr-printers.c + CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c, + CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c + CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define. + * nptl/nptl-printers.py: New file. + * nptl/nptl_lock_constants.pysym: Likewise. + * nptl/test-cond-printers.c: Likewise. + * nptl/test-cond-printers.py: Likewise. + * nptl/test-condattr-printers.c: Likewise. + * nptl/test-condattr-printers.py: Likewise. + * nptl/test-mutex-printers.c: Likewise. + * nptl/test-mutex-printers.py: Likewise. + * nptl/test-mutexattr-printers.c: Likewise. + * nptl/test-mutexattr-printers.py: Likewise. + * nptl/test-rwlock-printers.c: Likewise. + * nptl/test-rwlock-printers.py: Likewise. + * nptl/test-rwlockattr-printers.c: Likewise. + * nptl/test-rwlockattr-printers.py: Likewise. + * scripts/gen-py-const.awk: Likewise. + * scripts/test_printers_common.py: Likewise. + * scripts/test_printers_exceptions.py: Likewise. + +2016-12-07 Joseph Myers + + * scripts/build-many-glibcs.py (Context.__init__): Take strip + argument. + (Glibc.build_glibc): Strip installed shared libraries if + requested. + (get_parser): Add --strip option. + (main): Update Context call. + +2016-12-07 Adhemerval Zanella + Dominik Vogt + + [BZ #20847] + * posix/execvpe.c (maybe_script_execute): Remove write past allocated + array bounds for else branch. + (__execvpe): Style fixes. + * posix/tst-vfork3.c (run_script): New function. + (create_script): Likewise. + (do_test): Use run_script internal function. + (do_prepare): Use create_script internal function. + +2016-12-07 Andreas Schwab + + * sysdeps/unix/sysv/linux/x86/elision-conf.h + (__elision_available): Don't declare. + * sysdeps/unix/sysv/linux/x86/elision-conf.c + (__elision_available): Don't define. + (elision_init): Don't set __elision_available. + +2016-12-07 Joseph Myers + + [BZ #20940] + * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not + return Inf for arguments Inf and sNaN. + * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise. + * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): + Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): + Likewise. + * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise. + * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf + for arguments Inf and sNaN. When returning a NaN, compute it by + arithmetic on the arguments. + * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise. + * math/libm-test.inc (hypot_test_data): Add tests of sNaN + arguments. + +2016-12-06 Joseph Myers + + [BZ #20916] + * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for + arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN arguments + to compute result. + * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise. + * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments. + +2016-12-05 Torvald Riegel + + * include/atomic.h (__atomic_check_size_ls): New. + (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed, + atomic_store_release): Use it. + * sysdeps/x86/elide.h (ACCESS_ONCE): Remove. + (elision_adapt, ELIDE_LOCK): Use atomics. + * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use + atomics and improve code comments. + * sysdeps/unix/sysv/linux/x86/elision-trylock.c + (__lll_trylock_elision): Likewise. + +2016-12-04 Samuel Thibault + + * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++ + programs. + +2016-12-02 Joseph Myers + + [BZ #20916] + * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1 + for arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN + arguments to compute result. + * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return + 1 for arguments (sNaN, 0) or (1, sNaN). + * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise. + + [BZ #20919] + * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return + NaN first argument when raised to power 0. + * math/w_pow.c (__pow): Do not check for NaN or zero results from + raising to power zero. + * math/w_powf.c (__powf): Likewise. + * math/w_powl.c (__powl): Likewise. + * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle + pow (0, 0) or pow (NaN, 0). + +2016-12-02 Carlos O'Donell + + [BZ #20918] + * configure.ac: Test for static NSS cryptographic libraries and set + libc_cv_static_nss_crypt. + * configure: Regenerate. + * config.make.in (static-nss-crypt): Define. + * elf/Makefile (CFLAGS-tst-linkall-static.c): Define. + [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))] + (CFLAGS-tst-linkall-static.c): Define. + ($(objpfx)tst-linkall-static): Remove libcrypt.a. + [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))] + ($(objpfx)tst-linkall-static): Define. + [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define. + * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt(). + +2016-12-02 Florian Weimer + + * elf/Makefile [build-shared] (tests): Add tst-latepthread. + (one-hundred, tst-tls-many-dynamic-modules): Define. + (modules-names): Add $(tst-tls-many-dynamic-modules). + (tst-tls-manydynamic%mod.os): Build with special preprocessor + macros. + (tst-tls-manydynamic): Link against libdl, libpthread. + (tst-tls-manydynamic.out): The test needs the test modules at run + time. + * elf/tst-tls-manydynamic.c: New file. + * elf/tst-tls-manydynamic.h: Likewise. + * elf/tst-tls-manydynamicmod.c: Likewise. + +2016-12-02 Florian Weimer + + * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER) + (TLS_DTV_UNALLOCATED): Add. + * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit + offsets. + +2016-12-02 Stefan Liebler + + * sysdeps/s390/fpu/libm-test-ulps: Regenerated. + +2016-12-02 Stefan Liebler + + * elf/Makefile (CFLAGS-tst-latepthreadmod.c): + Add -fno-optimize-sibling-calls. + +2016-12-02 Joseph Myers + + * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): + New declaration. + * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New + macro. + * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX): + New macro. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise. + * math/Versions (llogb): New libm symbol at version GLIBC_2.25. + (llogbf): Likewise. + (llogbl): Likewise. + * math/Makefile (gen-libm-calls): Add w_llogbF. + (tests): Add test-fp-llogb-constants. + * math/w_llogb_template.c: New file. Based on + math/w_ilogb_template.c. + * math/libm-test.inc (llogb_test_data): New array. + (llogb_test): New function. + (main): Call llogb_test. + * math/test-fp-llogb-constants.c: New file. Based on + math/test-fp-ilogb-constants.c. + * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call. + (do_test): Call check_return_llogb. + * math/test-tgmath.c (NCALLS): Increase to 126. + (F(compile_test)): Call llogb. + (F(llogb)): New function. + * manual/math.texi (Exponents and Logarithms): Document llogb, + llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN. + * manual/libm-err-tab.pl (@all_functions): Add llogb. + * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file. + * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise. + * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb. + (CFLAGS-nldbl-llogb.c): New variable. + * sysdeps/nacl/libm.abilist: Update. + * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise. + +2016-12-01 Joseph Myers + + * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use + _Float128 instead of long double. + * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise. + + * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def. + * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise. + * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise. + * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise. + * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise. + * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise. + * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise. + * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp): + Likewise. + +2016-12-01 Adhemerval Zanella + + * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias): + Remove redirection to __strrchr_ppc. + +2016-12-01 Rajalakshmi Srinivasaraghavan + + * sysdeps/powerpc/powerpc64/multiarch/Makefile + (sysdep_routines): Add strcmp_power9. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (strcmp): Add __strcmp_power9 to list of strcmp functions. + * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/strcmp.c + (strcmp): Add __strcmp_power9 to ifunc list. + * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file. + +2016-12-01 Joseph Myers + + * bits/fp-logb.h: New file. + * sysdeps/ia64/bits/fp-logb.h: Likewise. + * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise. + * sysdeps/x86/bits/fp-logb.h: Likewise. + * math/Makefile (headers): Add bits/fp-logb.h. + * math/math.h: Include . + [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN. + [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN. + * bits/mathdef.h (FP_ILOGB0): Remove. + (FP_ILOGBNAN): Likewise. + * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise. + (FP_ILOGBNAN): Likewise. + * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise. + (FP_ILOGBNAN): Likewise. + * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise. + (FP_ILOGBNAN): Likewise. + * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise. + (FP_ILOGBNAN): Likewise. + * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise. + (FP_ILOGBNAN): Likewise. + * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise. + (FP_ILOGBNAN): Likewise. + * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise. + (FP_ILOGBNAN): Likewise. + * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise. + (FP_ILOGBNAN): Likewise. + * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise. + (FP_ILOGBNAN): Likewise. + + * scripts/build-many-glibcs.py: Add bot to usage message. Import + time module. + (Context.__init__): Initialize self.logsdir_old. + (Context.run_builds): Handle bot action. + (Context.bot_cycle): Copy logs directory before running builds. + (Context.bot_run_self): Take argument for whether to check + subprocess result. Flush stdout before running subprocess. + (Context.bot): New function. + (get_parser): Allow bot action. + +2016-11-30 Joseph Myers + + * scripts/build-many-glibcs.py: Add bot-cycle to usage message. + Import email.mime.text, email.utils and smtplib modules. + (Context.__init__): Initialize self.bot_config_json. + (Context.run_builds): Handle bot-cycle action. + (Context.load_bot_config_json): New function. + (Context.part_build_old): Likewise. + (Context.bot_cycle): Likewise. + (Context.bot_build_mail): Likewise. + (Context.bot_run_self): Likewise. + (get_parser): Allow bot-cycle action. + +2016-11-30 Adhemerval Zanella + + * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias): + Remove redirection to __stpcpy_ppc. + +2016-11-30 Florian Weimer + + Remove __libc_memalign from ld.so because it is unused. + * elf/dl-minimal.c: Update comment on the malloc implementation. + (malloc): Renamed from __libc_memalign, replacing the original + malloc implementation. Replace the align parameter with + MALLOC_ALIGNMENT. + * elf/Versions (ld): Update comment and remove __libc_memalign. + * sysdeps/nacl/ld.abilist: Likewise. + * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise. + * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise. + * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise. + * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise. + * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise. + * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise. + * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise. + * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise. + * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise. + * sysdeps/generic/localplt.data (ld.so): Likewise. + * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise. + * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise. + * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise. + * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise. + * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise. + * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise. + * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise. + * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise. + * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data + (ld.so): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data + (ld.so): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so): + Likewise. + * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise. + * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise. + * sysdeps/x86_64/localplt.data (ld.so): Likewise. + +2016-11-30 Florian Weimer + + [BZ #16628] + Implement _dl_catch_error, _dl_signal_error in libc.so. + * elf/dl-error-skeleton.c: Rename from elf/dl-error.c. + (catch_hook): Define as thread-local or regular variable, + depending on DL_ERROR_BOOTSTRAP. + (CATCH_HOOK): Remove. + (dl_signal_error, _dl_catch_error): Use + catch_hook. Add hidden definition for libc. + (_dl_receive_error, _dl_signal_cerror): Use catch_hook. Compile + for DL_ERROR_BOOTSTRAP only. + * elf/dl-error.c: New file. + * elf/dl-error-minimal.c: Likewise. + * elf/tst-latepthread.c: Likewise. + * elf/tst-latepthreadmod.c: Likewise. + * elf/Makefile (routines): Add dl-error. + (dl-routines): Remove dl-error. + (rtld-routines): Add dl-error-minimal. + [build-shared] (tests): Add tst-latepthread. + (module-names): Add tst-latepthreadmod. + (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined + symbol. + (tst-latepthreadmod.so): Link against libpthread. + (tst-latepthread): Link against libdbl. + * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error, + _dl_catch_error. + [ld] (GLIBC_PRIVATE): Likewise. + * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly. + * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly. + * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error + directly. + * elf/dl-tsd.c: Remove file. + * elf/rtld.c (_rtld_global_ro): Remove initializers for + _dl_catch_error, _dl_signal_error. + (_dl_initial_error_catch_tsd): Remove definition. + (do_preload): Remove initialization of dl_error_catch_tsd. + * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly. + * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly. + * dlfcn/dlmopen.c (dlmopen_doit): Likewise. + * dlfcn/dlopen.c (dlopen_doit): Likewise. + * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not + set dl_error_catch_tsd. + * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove + _dl_error_catch_tsd member. + (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error + members. + (_dl_initial_error_catch_tsd): Remove declaration. + (_dl_dprintf): Provide definition for use outside of ld.so. + [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error. + (_dl_signal_error, _dl_catch_error): Make public. Add hidden + prototype for libc. + * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error, + _dl_catch_error. + * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise. + * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise. + * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise. + * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise. + * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise. + * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise. + * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise. + * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): + Likewise. + * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data + (ld.so): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data + (ld.so): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so): + Likewise. + * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise. + * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): + Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): + Likewise. + * sysdeps/x86_64/localplt.data (ld.so): Likewise. + +2016-11-30 Florian Weimer + + [BZ #4099] + * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to + _IO_BUFSIZ (8192). + +2016-11-30 Carlos O'Donell + + * PROJECTS: Remove file. + +2016-11-29 Florian Weimer + + * iconvdata/gbk.c (BODY): Add Euro sign support (both directions). + +2016-11-29 Yury Norov + Steve Ellcey + + * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define + fxstat if XSTAT_IS_XSTAT64 is set to non-zero. + * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for + fxstatat. + * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for + lxstat. + * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat. + * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file. + * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file. + * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat + an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero. + * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for + __xstat. + +2016-11-29 Florian Weimer + + * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp): + Define. + * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden + definition. + +2016-11-29 Florian Weimer + + * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove + version and turn into strong alias. Remove compat symbol. + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist + (__longjmp): Remove. + +2016-11-29 Joseph Myers + + * bits/fp-fast.h: New file. + * sysdeps/aarch64/bits/fp-fast.h: Likewise. + * sysdeps/powerpc/bits/fp-fast.h: Likewise. + * math/Makefile (headers): Add bits/fp-fast.h. + * math/math.h: Include . + * bits/mathdef.h (FP_FAST_FMA): Remove. + (FP_FAST_FMAF): Likewise. + (FP_FAST_FMAL): Likewise. + * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise. + (FP_FAST_FMAF): Likewise. + * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise. + (FP_FAST_FMAF): Likewise. + * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise. + (FP_FAST_FMAF): Likewise. + (FP_FAST_FMAL): Likewise. + * sysdeps/arm/bits/mathdef.h: Remove file. + * sysdeps/hppa/fpu/bits/mathdef.h: Likewise. + * sysdeps/sh/sh4/bits/mathdef.h: Likewise. + * sysdeps/tile/bits/mathdef.h: Likewise. + +2016-11-28 Joseph Myers + + * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c. + * math/w_ilogb.c: Remove. + * math/w_ilogbf.c: Likewise. + * math/w_ilogbl.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise. + * math/Makefile (gen-libm-calls): Add w_ilogbF. + (libm-calls): Remove w_ilogbF. + * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h + (LDOUBLE_ilogbl_libm_version): New macro. + + * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file. + + * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on + [!__STRICT_ANSI__ && !__cplusplus]. + +2016-11-28 H.J. Lu + + [BZ #20750] + * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead + of PIC. + +2016-11-28 Andrew Pinski + Yury Norov + Steve Ellcey + + * sysdeps/aarch64/crti.S: Add include of sysdep.h. + (call_weak_fn): Use PTR_REG to get correct reg name in ILP32. + * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h. + (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32. + * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h. + (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START, + elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela, + elf_machine_lazy_rel): Add ifdef's for ILP32 support. + * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return, + _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic, + _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG + to get correct reg name for ILP32. + * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro. + (RELA_SIZE): New Macro. + (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG + to support ILP32. + * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add + cast for ILP32 mode. + * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode. + * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto. + * sysdeps/aarch64/memset.S (__memset): Ditto. + * sysdeps/aarch64/strchr.S (strchr): Ditto. + * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto. + * sysdeps/aarch64/strcmp.S (strcmp): Ditto. + * sysdeps/aarch64/strcpy.S (strcpy): Ditto. + * sysdeps/aarch64/strlen.S (__strlen): Ditto. + * sysdeps/aarch64/strncmp.S (strncmp): Ditto. + * sysdeps/aarch64/strnlen.S (strnlen): Ditto. + * sysdeps/aarch64/strrchr.S (strrchr): Ditto. + * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto. + * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto. + * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto. + * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32, + change PTR_MANGLE call to use register numbers instead of names. + * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto. + * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for + ILP32 mode, change PTR_MANGLE calls to use register numbers. + * sysdeps/aarch64/start.S (_start): Ditto. + * sysdeps/aarch64/nptl/bits/pthreadtypes.h + (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define. + (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T, + __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T, + __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T, + __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T, + __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T): + Make defined values dependent on __ILP32__. + * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define. + (sem_t): Change __align type. + * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE, + PTR_SIZE): New Macros. + (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG. + * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE): + Set when in ILP32 mode. + (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode. + * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID): + Set elf flags for ILP32. + (add_system_dir): Set ILP32 library directories. + * sysdeps/unix/sysv/linux/aarch64/init-first.c + (_libc_vdso_platform_setup): Set minimum kernel version for ILP32. + * sysdeps/unix/sysv/linux/aarch64/ldconfig.h + (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names. + * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC): + New Macros. + * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers. + +2016-11-28 Steve Ellcey + + * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files, + only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero. + * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs. + +2016-11-28 Joseph Myers + + * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include + . + +2016-11-27 Zack Weinberg + + * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional. + * test-skeleton.c: Include stdint.h to ensure uintptr_t is available. + +2016-11-27 Samuel Thibault + + * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to + error_t to fix usage in C++ programs. + +2016-11-26 Joseph Myers + + * scripts/build-many-glibcs.py: Import datetime module. + (Context.__init__): Load JSON build state. Initialize list of + status logs. + (Context.run_builds): Update saved build state. + (Context.add_makefile_cmdlist): Update list of status logs. + (Context.load_build_state_json): New function. + (Context.store_build_state_json): Likewise. + (Context.clear_last_build_state): Likewise. + (Context.update_build_state): Likewise. + (CommandList.status_logs): Likewise. + +2016-11-25 Joseph Myers + + * scripts/build-many-glibcs.py (Context.__init__): Save text of + script being executed. + (Context.get_script_text): New function. + (Context.exec_self): Likewise. + (Context.checkout): Re-exec script if changed by checkout process. + +2016-11-24 Joseph Myers + + * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] + (setpayloadsig): New declaration. + * math/Versions (setpayloadsig): New libm symbol at version + GLIBC_2.25. + (setpayloadsigf): Likewise. + (setpayloadsigl): Likewise. + * math/Makefile (libm-calls): Add s_setpayloadsigF. + * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept + (FE_ALL_EXCEPT) after initializing EXTRA_VAR. + (setpayloadsig_test_data): New array. + (setpayloadsig_test): New function. + (main): Call setpayloadsig_test. + * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig, + setpayloadsigf and setpayloadsigl. + * manual/libm-err-tab.pl: Update comment on interfaces without + ulps tabulated. + * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file. + * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise. + * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise. + * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add + setpayloadsig. + (CFLAGS-nldbl-setpayloadsig.c): New variable. + * sysdeps/nacl/libm.abilist: Update. + * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise. + + * scripts/build-many-glibcs.py: Import json module. + (Context.__init__): Take replace_sources argument. Load + versions.json. + (Context.load_versions_json): New function. + (Context.store_json): Likewise. + (Context.store_versions_json): Likewise. + (Context.set_component_version): Likewise. + (Context.checkout): Update versions.json. Check for and handle + changes of version. Prefer previously explicitly specified + version to default version. + (Context.checkout_vcs): Return a revision identifier. + (Context.git_checkout): Likewise. + (Context.gcc_checkout): Likewise. + (get_parser): Add --replace-sources option. + (main): Pass replace_sources argument to Context call. + +2016-11-24 Adhemerval Zanella + + * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting. + * nptl/allocatestack.c (allocate_stack): Likewise. + (__reclaim_stacks): Likewise. + (setxid_signal_thread): Obtain pid through syscall. + * nptl/nptl-init.c (sigcancel_handler): Likewise. + (sighandle_setxid): Likewise. + * nptl/pthread_cancel.c (pthread_cancel): Likewise. + * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise. + * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue): + Likewise. + * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise. + * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour + comment. + * sysdeps/unix/sysv/linux/getpid.c: Remove file. + * nptl/descr.h (struct pthread): Change comment about pid value. + * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread + pid assert. + * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids): + Do not set pid value. + * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread + pid cache check. + * nptl_db/td_thr_validate.c (td_thr_validate): Likewise. + * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset. + * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise. + * sysdeps/arm/nptl/tcb-offsets.sym: Likewise. + * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise. + * sysdeps/i386/nptl/tcb-offsets.sym: Likewise. + * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise. + * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise. + * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise. + * sysdeps/mips/nptl/tcb-offsets.sym: Likewise. + * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise. + * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise. + * sysdeps/s390/nptl/tcb-offsets.sym: Likewise. + * sysdeps/sh/nptl/tcb-offsets.sym: Likewise. + * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise. + * sysdeps/tile/nptl/tcb-offsets.sym: Likewise. + * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise. + * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching. + * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise. + * sysdeps/unix/sysv/linux/arm/clone.S: Likewise. + * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise. + * sysdeps/unix/sysv/linux/i386/clone.S: Likewise. + * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise. + * sysdeps/unix/sysv/linux/mips/clone.S: Likewise. + * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise. + * sysdeps/unix/sysv/linux/sh/clone.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise. + * sysdeps/unix/sysv/linux/tile/clone.S: Likewise. + * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise. + * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset. + * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise. + * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread + struct access. + (clone_test): Remove function. + (do_test): Rewrite to take in consideration pid is not cached anymore. + +2016-11-24 Joseph Myers + + * bits/flt-eval-method.h: New file. + * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise. + * sysdeps/s390/bits/flt-eval-method.h: Likewise. + * sysdeps/x86/bits/flt-eval-method.h: Likewise. + * math/Makefile (headers): Add bits/flt-eval-method.h. + * math/math.h: Include . + [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD. + [__USE_ISOC99] (double_t): Likewise. + * bits/mathdef.h (float_t): Remove. + (double_t): Likewise. + * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise. + (double_t): Likewise. + * sysdeps/alpha/bits/mathdef.h (float_t): Likewise. + (double_t): Likewise. + * sysdeps/arm/bits/mathdef.h (float_t): Likewise. + (double_t): Likewise. + * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise. + (double_t): Likewise. + * sysdeps/ia64/bits/mathdef.h (float_t): Likewise. + (double_t): Likewise. + * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise. + (double_t): Likewise. + * sysdeps/mips/bits/mathdef.h (float_t): Likewise. + (double_t): Likewise. + * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise. + (double_t): Likewise. + * sysdeps/s390/bits/mathdef.h (float_t): Likewise. + (double_t): Likewise. + * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise. + (double_t): Likewise. + * sysdeps/sparc/bits/mathdef.h (float_t): Likewise. + (double_t): Likewise. + * sysdeps/tile/bits/mathdef.h (float_t): Likewise. + (double_t): Likewise. + * sysdeps/x86/bits/mathdef.h (float_t): Likewise. + (double_t): Likewise. + +2016-11-24 Aurelien Jarno + + * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED + instead of PIC. + +2016-11-23 Joseph Myers + + [BZ #20859] + * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to + (-0x7fffffff) instead of 0x80000001. + * math/test-fp-ilogb-constants.c: New file. + * math/Makefile (tests): Add test-fp-ilogb-constants. + +2016-11-23 Maciej W. Rozycki + + * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro. + (_init): Use it in place of hardcoded R_MIPS_JALR. + * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro. + (_init): Use it in place of hardcoded R_MIPS_JALR. + * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro. + (_init): Use it in place of hardcoded R_MIPS_JALR. + +2016-11-23 Joseph Myers + + [BZ #20787] + * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if + [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero. + (double_t): Do not define to double if [__x86_64__] when + __FLT_EVAL_METHOD__ is nonzero. + * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file. + * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise. + * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add + test-flt-eval-method-387 and test-flt-eval-method-sse. + [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New + variable. + [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise. + +2016-11-23 Chris Metcalf + + * scripts/build-many-glibcs.py (Context.add_all_configs): Revert + use of -fno-isolate-erroneous-paths options for tilepro. + +2016-11-23 Florian Weimer + + * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data + structure initialization is no longer needed. + +2016-11-23 Joseph Myers + + [BZ #20855] + * bits/mathdef.h (float_t): Define to float. + * math/test-flt-eval-method.c: New file. + * math/Makefile (tests): Add test-flt-eval-method. + (CFLAGS-test-flt-eval-method.c): New variable. + +2016-11-22 Steve Ellcey + + * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs + and __fstatfs. Make them aliases of __fstatfs64 if + STATFS_IS_STATFS64 is set to non-zero. + * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs, + and __statfs64. + * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not + define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero. + * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto + for __statfs and statfs. + * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64 + to 0. + * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto. + * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto. + * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto. + * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto. + * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto. + * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto. + * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto. + * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto. + * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto. + * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto. + +2016-11-22 Andreas Schwab + + * misc/mkstemp.c: Include . + * misc/mkstemps.c: Likewise. + * misc/mkostemp.c: Likewise. + * misc/mkostemps.c: Likewise. + +2016-11-22 Adhemerval Zanella + + [BZ #20847] + * posix/execvpe.c (maybe_script_execute): Remove write past allocated + array bounds. + (__execvpe): Likewise. + +2016-11-22 Joseph Myers + + * scripts/build-many-glibcs.py (Context.add_all_configs): Also use + -fno-isolate-erroneous-paths options for tilepro. + +2016-11-21 Steve Ellcey + + * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64 + to 0 when in 32 bit mode. + * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0. + * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto. + * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto. + * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto. + * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto. + * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on + XSTAT_IS_XSTAT64 test. + * sysdeps/unix/sysv/linux/fxstatat.c: Ditto. + * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto. + * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto. + * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto. + * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto. + * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto. + * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto. + * sysdeps/unix/sysv/linux/lxstat.c: Ditto. + * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto. + * sysdeps/unix/sysv/linux/xstat.c: Ditto. + * sysdeps/unix/sysv/linux/xstatconv.c: Ditto. + +2016-11-19 Joseph Myers + + * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] + (setpayload): New declaration. + * math/Versions (setpayload): New libm symbol at version + GLIBC_2.25. + (setpayloadf): Likewise. + (setpayloadl): Likewise. + * math/Makefile (libm-calls): Add s_setpayloadF. + * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct + test_Ff_b1_data. + (RUN_TEST_Ff_b1): New macro. + (RUN_TEST_LOOP_Ff_b1): Likewise. + (canonicalize_test_data): Update type. + (setpayload_test_data): New array. + (setpayload_test): New function. + (main): Call setpayload_test. + * manual/arith.texi (FP Bit Twiddling): Document setpayload, + setpayloadf and setpayloadl. + * manual/libm-err-tab.pl: Update comment on interfaces without + ulps tabulated. + * sysdeps/ieee754/dbl-64/s_setpayload.c: New file. + * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: + Likewise. + * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise. + * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise. + * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise. + * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add + setpayload. + (CFLAGS-nldbl-setpayload.c): New variable. + * sysdeps/nacl/libm.abilist: Update. + * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise. + +2016-11-18 Adhemerval Zanella + + * hurd/hurd.h (__hurd_fail_noerrno): Remove function. + * include/unistd.h: Extend comment about __access_noerrno return + semantics. + * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1. + (access_common): Correct typo for EACCES. + +2016-11-18 Chris Metcalf + + * sysdeps/tile/math-tests.h: New file. + + * sysdeps/unix/sysv/linux/tile/set_dataplane.c + (__old_set_dataplane): Rename from set_dataplane and make a + compatibility symbol. + * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file. + * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove + sys/dataplane.h. + +2016-11-18 Joseph Myers + + * scripts/build-many-glibcs.py (Context.write_files): Make wrapper + script quote words in command output to log suitably for input to + the shell. + +2016-11-18 Matthew Fortune + Maciej W. Rozycki + + * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at + `.Lno_weak_fn' label. + * sysdeps/mips/mips64/n32/crti.S (_init): Likewise. + * sysdeps/mips/mips64/n64/crti.S (_init): Likewise. + +2016-11-17 Adhemerval Zanella + Yury Norov + + * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define. + * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h + (__RLIM_T_MATCHES_RLIM64_T): Likewise. + * sysdeps/unix/sysv/linux/generic/bits/typesizes.h + (__RLIM_T_MATCHES_RLIM64_T): Likewise. + * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__] + (__RLIM_T_MATCHES_RLIM64_T): Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h + [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise. + * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__] + (__RLIM_T_MATCHES_RLIM64_T): Likewise. + * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource] + (sysdep_routines): Remove oldgetrlimit64. + * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource] + (sysdep_routines): Likewise. + * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource] + (sysdep_routines): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile + [$(subdir) = resource] (sysdep_routines): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/Makefile + [$(subdir) = resource] (sysdep_routines): Likewise. + * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file. + * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise. + * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise. + * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise. + * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise. + * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise. + * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise. + * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove + setrlimit and getrlimit. + * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/getrlimit.c: New file. + * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise. + * sysdeps/unix/sysv/linux/setrlimit.c: Likewise. + * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle + __RLIM_T_MATCHES_RLIM64_T and add alias if defined. + (__old_getrlimit64): Add compatibility symbol. + * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise. + +2016-11-17 Joseph Myers + + * scripts/build-many-glibcs.py (Config.build_gcc): Configure with + newly built gmp, mpfr and mpc. + + * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include . + +2016-11-16 Joseph Myers + + * conform/Makefile (linknamespace-libs): Rename to + linknamespace-libs-thr. + (linknamespace-libs-posix): New variable. + (linknamespace-libs-xsi): Likewise. + (linknamespace-libs-XPG3): Include libcrypt.a. + (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3). + (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr). + (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi). + (linknamespace-libs-XOPEN2K): Likewise. + (linknamespace-libs-XOPEN2K8): Likewise. + (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix). + + [BZ #20829] + * stdio-common/Versions (__snprintf): Add to version + GLIBC_PRIVATE. + * include/stdio.h (__snprintf): Use libc_hidden_proto. + * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def. + * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead + of snprintf. + * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise. + +2016-11-16 Zack Weinberg + + * string/string.h: Remove obsolete comment stating that + strcoll_l and strxfrm_l have not yet been standardized. + +2016-11-16 Adhemerval Zanella + + * hurd/hurd.h (__hurd_fail_noerrno): New function. + * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare + __access_noerrno. + * io/access.c (__access_noerrno): New function. + * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function. + (hurd_fail_seterrno): Likewise. + (access_common): Likewise. + (__access_noerrno): Likewise. + * sysdeps/nacl/access.c (__access_noerrno): Likewise. + * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise. + * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New + macro. + +2016-11-16 Joseph Myers + + * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump): + Only declare fpregs if [__SH_FPU_ANY__]. + +2016-11-15 Joseph Myers + + * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]: + Make code unconditional. + [!(__SH4__ || __SH4A__)]: Remove conditional code. + +2016-11-15 Rical Jasan + + * manual/sysinfo.texi (S_APPEND): Delete. + (S_IMMUTABLE): Likewise. + +2016-11-15 Denis Kaganovich + Magnus Granberg + Mike Frysinger + + [BZ #20662] + * configure.ac (libc_cv_predef_stack_protector): Also check for + __stack_chk_fail_local symbols. + * configure: Regenerated. + +2016-11-15 Florian Weimer + + * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro. + (libc_hidden_def): Remove redefinition. + (__sigsetjmp): Add hidden definition. + * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro. + (libc_hidden_def): Remove redefinition. + (__sigsetjmp): Add hidden definition. + +2016-11-14 Joseph Myers + + * scripts/build-many-glibcs.py (os.path): Do not import. + (Context): Inherit explicitly from object. Remove blank line + between class and docstring. + (Config): Likewise. + (Glibc): Likewise. + (Command): Likewise. + (CommandList): Likewise. + (Context.write_files): Store chmod mode in a variable. + + * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use + LIBC_SLIBDIR_RTLDDIR for tilegx32. + * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated. + +2016-11-14 Zack Weinberg + + * sunrpc/Makefile (rpcgen-tests): Delete the .out file before + creating or re-creating it. + + * string/bits/string2.h: Fix typo in comment. + +2016-11-14 Zack Weinberg + + * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros. + (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL) + (__SYSMACROS_FST_IMPL_TEMPL): Delete. + (major, minor, makedev): Use __SYSMACROS_DM in definition, instead + of redirected function names. + + * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5 + as well. Document that MESSAGE must be a single string literal. + +2016-11-11 Joseph Myers + + * scripts/build-many-glibcs.py: New file. + + * stdlib/bug-getcontext.c: Include . + (do_test): Disable -Wmaybe-uninitialized around uses of + except_mask. + + * sysdeps/unix/sysv/linux/sh/sys/user.h: Include . + +2016-11-10 Chris Metcalf + + * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed) + (atomic_store_release): Provide tilepro-specific implementations. + +2016-11-10 Joseph Myers + + * math/math.h (__MATH_TG): New macro. + [__USE_ISOC99] (fpclassify): Define using __MATH_TG. + [__USE_ISOC99] (signbit): Likewise. + [__USE_ISOC99] (isfinite): Likewise. + [__USE_ISOC99] (isnan): Likewise. + [__USE_ISOC99] (isinf): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using + __MATH_TG and __MATH_EVAL_FMT2. + * sysdeps/generic/math_private.h (fabs_tg): Define using + __MATH_TG. + * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h + [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro. + [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise. + [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG. + * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New + macro. + (__iscanonical): Likewise. + (iscanonical): Define using __MATH_TG. + +2016-11-10 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include + guards. + + * sysdeps/unix/sysv/linux/access.c: New file. + * sysdeps/unix/sysv/linux/generic/access.c: Remove file. + +2016-11-10 Steve Ellcey + + * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG + and __WORDSIZE32_PTRDIFF_LONG. + +2016-11-10 Siddhesh Poyarekar + + * sysdeps/aarch64/libm-test-ulps: Regenerated. + +2016-11-09 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file. + * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise. + * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise. + * sysdeps/unix/sysv/linux/truncate.c: New file. + * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use + INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros. + * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate): + Remove. + * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate): + Likewise. + + * posix/tst-truncate-common.c: New file. + * posix/tst-truncate.c: Use tst-truncate-common.c. + * posix/tst-truncate64.c: Likewise and add LFS tests. + * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file. + * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise. + * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise. + * sysdeps/unix/sysv/linux/ftruncate.c: New file. + * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use + INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros. + [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias. + * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate): + Remove. + * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate): + Likewise. + +2016-11-08 Joseph Myers + + [BZ #20790] + * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size + to MAXLINESIZE. + * sunrpc/bug20790.x: New file. + * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New + variable. + [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests). + [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule. + + * sysdeps/unix/sysv/linux/sh/localplt.data: New file. + + * sysdeps/unix/sysv/linux/hppa/localplt.data: New file. + + * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr + optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc, + calloc, realloc, free, memalign and __libc_memalign rather than + making them optional. + + * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2 + for libc.so. + +2016-11-08 Adhemerval Zanella + + * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add + ptw-lseek64. + * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek. + * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): + Likewise. + * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file. + * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file. + * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise. + * sysdeps/unix/sysv/linux/llseek.c: Remove file. + * sysdeps/unix/sysv/linux/lseek.c: New file. + * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation. + * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and + __libc_lseek64 from auto-generation. + * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file. + +2016-11-07 Gabriel F. T. Gomes + + * nptl/tst-basic1.c (tf, do_test): Use write_message. + * nptl/tst-cleanup1.c (do_test): Likewise. + * nptl/tst-cleanup3.c (do_test): Likewise. + * nptl/tst-key1.c (do_test): Likewise. + * nptl/tst-key2.c (tf, do_test): Likewise. + * nptl/tst-key3.c (tf, do_test): Likewise. + * nptl/tst-stdio1.c (do_test): Likewise. + * nptl/tst-stdio2.c (do_test): Likewise. + + * nptl/tst-kill3.c (handler): Use write_message in place of write. + * nptl/tst-kill6.c (handler): Likewise. + * nptl/tst-tls2.c (CB): Likewise. + * nptl/tst-tls3.c (CB): Likewise. + +2016-11-07 Joseph Myers + + * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32. + +2016-11-07 Yury Norov + Steve Ellcey + + * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define + __ASSUME_ST_INO_64_BIT as 0 + * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise. + * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if + over the code where __ASSUME_ST_INO_64_BIT is used. + * sysdeps/unix/sysv/linux/lxstat64.c: Likewise. + * sysdeps/unix/sysv/linux/xstat64.c: Likewise. + * sysdeps/unix/sysv/linux/xstatconv.c: Likewise. + +2016-11-07 Florian Weimer + + * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s): + Document ABI exposure of the __kind offset. + * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s): + Mention reason for the __kind offset exposure in the ABI. + * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s): + Likewise. + * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s): + Likewise. + * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s): + Likewise. + * sysdeps/microblaze/nptl/bits/pthreadtypes.h + (struct __pthread_mutex_s): Likewise. + * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s): + Likewise. + * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s): + Likewise. + * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s): + Likewise. + * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s): + Likewise. + * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s): + Likewise. + * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s): + Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h + (struct __pthread_mutex_s): Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h + (struct __pthread_mutex_s): Likewise. + * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s): + Likewise. + +2016-11-07 Steve Ellcey + + * test-skeleton.c: Document do_test usage. + +2016-11-06 Aurelien Jarno + + * iconv/gconv.h (__gconv_info): Define __data element using a + zero-length array. + +2016-11-04 Steve Ellcey + + * math/test-tgmath2.c: Split up test function. + +2016-11-04 Joseph Myers + + * Rules (tests-expected): New variable, depending on + $(run-built-tests). + (tests): Pass $(tests-expected) to merge-test-results.sh, not + $(tests). + + * Rules [$(run-built-tests) = no] (tests): Do not depend on + $(tests-unsupported). + +2016-11-04 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h + (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and 64 bits. + +2016-11-04 Joseph Myers + + [BZ #20768] + * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call + __fegetenv instead of fegetenv. + + [BZ #14139] + * manual/libm-err-tab.pl (%pplatforms): Initialize to empty. + (find_files): Obtain platform name from libm-test-ulps-name and + store in %pplatforms. + (canonicalize_platform): Remove. + (print_platforms): Use $pplatforms directly. + (by_platforms): Do not allow for platforms missing from + %pplatforms. + * sysdeps/aarch64/libm-test-ulps-name: New file. + * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise. + * sysdeps/arm/libm-test-ulps-name: Likewise. + * sysdeps/generic/libm-test-ulps-name: Likewise. + * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise. + * sysdeps/i386/fpu/libm-test-ulps-name: Likewise. + * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise. + * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise. + * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise. + * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise. + * sysdeps/microblaze/libm-test-ulps-name: Likewise. + * sysdeps/mips/mips32/libm-test-ulps-name: Likewise. + * sysdeps/mips/mips64/libm-test-ulps-name: Likewise. + * sysdeps/nios2/libm-test-ulps-name: Likewise. + * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise. + * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise. + * sysdeps/s390/fpu/libm-test-ulps-name: Likewise. + * sysdeps/sh/libm-test-ulps-name: Likewise. + * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise. + * sysdeps/tile/libm-test-ulps-name: Likewise. + * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise. + + * sysdeps/unix/sysv/linux/mips/sys/user.h: Include . + + * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf] + (test-xfail-check-execstack): New variable. + + * sysdeps/mips/localplt.data: New file. + +2016-11-04 Yury Norov + Steve Ellcey + + * bits/wordsize.h: Add documentation. + * sysdeps/aarch64/bits/wordsize.h : New file + * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update + definitions. + (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check. + * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check + with #if instead of #ifdef. + * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto. + * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG, + __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32): + Add or change defines. + * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise. + * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise. + * sysdeps/s390/s390-32/bits/wordsize.h: Likewise. + * sysdeps/s390/s390-64/bits/wordsize.h: Likewise. + * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise. + * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise. + * sysdeps/tile/tilegx/bits/wordsize.h: Likewise. + * sysdeps/tile/tilepro/bits/wordsize.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise. + * sysdeps/wordsize-32/bits/wordsize.h: Likewise. + * sysdeps/wordsize-64/bits/wordsize.h: Likewise. + * sysdeps/x86/bits/wordsize.h: Likewise. + +2016-11-04 Wilco Dijkstra + Kevin Petit + + * sysdeps/aarch64/memchr.S (__memchr): New file. + +2016-11-04 Joseph Myers + + * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx. + +2016-11-03 Joseph Myers + + [BZ #19398] + * conform/Makefile ($(linknamespace-header-tests)): Also depend on + $(linknamespace-symlists-tests). + +2016-11-02 Steve Ellcey + + * time/tst-strptime2.c: Ignore -Wformat-length warning. + +2016-11-02 Florian Weimer + Carlos O'Donell + + [Bug #20729] + * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT + change to non -Os related diagnostic. Use DIAG_IGNORE_Os_NEEDS_COMMENT + for -Os related change. + +2016-11-01 Steve Ellcey + + * stdio-common/tst-printf.c: Ignore -Wformat-length warning. + +2016-11-01 Joseph Myers + + [BZ #19673] + * manual/math.texi (Exponents and Logarithms): Correct description + of clog10. + +2016-10-31 Carlos O'Donell + + [Bz #20729] + * locale/weight.h: Include libc-internal.h. + * locale/weightwc.h: Likewise. + * nptl/nptl_dbP.h: Likewise. + +2016-10-31 Brent W. Baccala + + * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr + when it is MACH_PORT_NULL. + +2016-10-31 Andreas Schwab + + [BZ #20707] + * posix/glob.c (glob): Initialize pglob before checking for + GLOB_BRACE. Don't call glob recursively if pattern contains no + valid brace expression despite GLOB_BRACE. + * posix/globtest.sh: Test it. + +2016-10-28 Carlos O'Donell + + [BZ #20729] + * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT): + Define. + * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore + -Wmaybe-uninitialized for BODY macro only for -Os compiles. + * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error + for seq2.back_us and seq1.back_us only for -Os compiles. + * locale/weightwc.h (findix): Likewise. + * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for + DB_GET_FIELD_ADDRESS only for -Os compiles. + * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error + for slen only for -Os compiles. + * string/strcoll_l.c (get_next_seq): Ignore + -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only + for -Os compiles. + + * elf/Makefile (CFALGS-tst-linkall-static): Remove. + * include/crypt.h: New file. + +2016-10-28 Gabriel F. T. Gomes + + * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied + from test-skeleton.c. + (statclass): Replace calls to write with calls to write_message. + +2016-10-28 Joseph Myers + + * math/math.h + [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF): + New macro. + [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN): + Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL): + Likewise. + * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and + SNANL. + * math/test-double.h (snan_value_MACRO): New macro. + * math/test-float.h (snan_value_MACRO): Likewise. + * math/test-ldouble.h (snan_value_MACRO): Likewise. + * math/libm-test.inc (issignaling_test_data): Add tests of + snan_value_MACRO. + +2016-10-28 Tulio Magno Quites Machado Filho + + * nptl/pthread_rwlock_unlock.c: Add a comment explaining its + behavior when eliding a lock not held by the current thread. + * sysdeps/powerpc/nptl/elide.h: Likewise. + +2016-10-28 Tulio Magno Quites Machado Filho + + [BZ #20728] + * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a + branch to _exit() by a function call. + +2016-10-28 Florian Weimer + + * malloc/malloc.c: Update chunk layout comments. + (chunk_main_arena): Update comment. + +2016-10-28 Florian Weimer + + * crypt/sha256.c, crypt/sha256-block.c, + sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename + sha256_process_block to __sha256_process_block. + * crypt/sha512.c, crypt/sha512-block.c, + sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename + sha512_process_block to __sha512_process_block. + +2016-10-28 Carlos O'Donell + + * elf/Makefile (CFLAGS-tst-linkall-static): Define. + + * math/test-nan-overflow.c: Include stdlib.h for malloc. + +2016-10-28 H.J. Lu + + [BZ #20019] + * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC + definition in unrelocated shared library. + * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise. + +2016-10-28 Florian Weimer + + [BZ #20729] + Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer. + * sysdeps/unix/sysv/linux/i386/Makefile + (uses-6-syscall-arguments): Define. + [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os) + (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os) + (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it. + [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os): + Likewise. + [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os) + (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os) + (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os) + (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os) + (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o) + (CFLAGS-fallocate64.os): Likewise. + [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o) + (CFLAGS-pthread_rwlock_timedrdlock.os) + (CFLAGS-pthread_rwlock_timedwrlock.o) + (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o) + (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o) + (CFLAGS-sem_timedwait.os): Likewise. + +2016-10-28 Florian Weimer + + * elf/tst-linkall-static.c: New file. + * elf/Makefile (tests-static): Add tst-linkall-static. + (tst-linkall-static): Link against static libraries. + +2016-10-27 Florian Weimer + + * malloc/malloc.c (sysmalloc): Initialize previous size field of + mmaped chunks. + +2016-10-28 Florian Weimer + + * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size + members to mchunk_prev_size, mchunk_size. + (chunk_main_arena): Reverse sense and rename from + chunk_non_main_arena. + (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use + mchunk_size instead of size. + (set_non_main_arena): Define. + (chunksize): Use chunksize_nomask instead of direct member access. + (chunksize_nomask): Define. + (next_chunk): Use chunksize instead of direct member access. + (prev_size, set_prev_size): Define. + (prev_chunk): Use prev_size instead of direct member access. + (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member. + (inuse_bit_at_offset, set_inuse_bit_at_offset) + (clear_inuse_bit_at_offset): Use mchunk_size member instead of size. + (mchunk_prev_size, mchunk_size): Poison tokens. + (unlink): Use chunksize_nomask, prev_size accessors. + (do_check_remalloced_chunk): Use chunk_main_arena accessor. + (do_check_free_chunk): Use prev_size accessor. + (sysmalloc): Use set_prev_size, set_head accessors. + (munmap_chunk, mremap_chunk): Use prev_size accessor. + (__libc_free): Use chunksize_nomask accessor. + (_int_malloc): Use set_non_main_arena, chunksize_nomask, + chunk_main_arena accessors. + (_int_free): Use chunksize_nomask, prev_size accessors. + (malloc_consolidate): Use chunksize, prev_size accessors. + (_int_realloc): Use chunksize_nomask accessor. + (_int_memalign): Use set_prev_size accessor. + (__malloc_info): Use chunksize_nomask accessor. + * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse + accessors. + * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor. + (heap_trim): Use chunksize_nomask, prev_size accessors. + +2016-10-28 Joseph Myers + + [BZ #19380] + * stdlib/strtod_l.c (round_and_return): Force "inexact" exception + for inexact results. + * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication + of inexact result where mpfr_subnormalize is the only inexact + step. + * stdlib/tst-strtod-round-data.h: Regenerated. + * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT): + Define to 0. + (GEN_ONE_TEST): Test inexact exceptions raised are as expected. + +2016-10-27 David S. Miller + + * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h + +2016-10-27 Siddhesh Poyarekar + + * malloc/malloc.c (do_set_mallopt_check): New function. + (do_set_mmap_threshold): Likewise. + (do_set_mmaps_max): Likewise. + (do_set_top_pad): Likewise. + (do_set_perturb_byte): Likewise. + (do_set_trim_threshold): Likewise. + (do_set_arena_max): Likewise. + (do_set_arena_test): Likewise. + (__libc_mallopt): Use them. + +2016-10-26 Joseph Myers + + * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] + (canonicalize): New declaration. + * math/Versions (canonicalize): New libm symbol at version + GLIBC_2.25. + (canonicalizef): Likewise. + (canonicalizel): Likewise. + * math/Makefile (gen-libm-calls): Add s_canonicalizeF. + * math/s_canonicalize_template.c: New file. + * math/libm-test.inc: Update comment on functions tested and + testing of NaN payloads. + (TEST_NAN_PAYLOAD): New macro. + (NO_TEST_INLINE): Update value. + (XFAIL_TEST): Likewise. + (ERRNO_UNCHANGED): Likewise. + (ERRNO_EDOM): Likewise. + (ERRNO_ERANGE): Likewise. + (IGNORE_RESULT): Likewise. + (NON_FINITE): Likewise. + (TEST_SNAN): Likewise. + (NO_TEST_MATHVEC): Likewise. + (TEST_NAN_PAYLOAD_CANONICALIZE): New macro. + (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD. + (struct test_Ffp_b1_data): New type. + (RUN_TEST_Ffp_b1): New macro. + (RUN_TEST_LOOP_Ffp_b1): Likewise. + (canonicalize_test_data): New array. + (canonicalize_test): New function. + (main): Call canonicalize_test. + * manual/arith.texi (FP Bit Twiddling): Document canonicalize, + canonicalizef and canonicalizel. + * manual/libm-err-tab.pl: Update comment on interfaces without + ulps tabulated. + * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file. + * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise. + * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add + canonicalize. + (CFLAGS-nldbl-canonicalize.c): New variable. + * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move + to ... + * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c: + ... here. + (do_test): Also test canonicalizel. + * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change + test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm. + * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New + file. + * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall): + Use libm_hidden_def. + * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ... + * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here. + (do_test): Also test canonicalizel. + * sysdeps/ieee754/ldbl-96/Makefile (tests): Change + test-iscanonical-ldbl-96 to test-canonical-ldbl-96. + * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file. + * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use + libm_hidden_def. + * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New + macro. + * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008] + (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise. + * sysdeps/nacl/libm.abilist: Update. + * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise. + + * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file. + * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add + getpayload. + (CFLAGS-nldbl-getpayload.c): New variable. + +2016-10-26 Gabriel F. T. Gomes + + * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse + integer from the format string. + +2016-10-26 Florian Weimer + + [BZ #19473] + * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove + declarations. + * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove + weak aliases. + * malloc/hooks.c (__malloc_get_state): Remove definition. + (malloc_get_state): New stub implementation as + compatibility symbol. + (malloc_set_state): Rename from __malloc_set_state. Turn into + compat symbol. + * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses + malloc_set_state. + * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic. + +2016-10-26 Florian Weimer + + * iconvdata/iso646.c (enum variant): Drop illegal_var. + (names): Turn into concatenation of strings. + (gconv_init): Adapt iteration over names. + +2016-10-26 Florian Weimer + + * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and + make const. + * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise. + * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise. + * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise. + * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte + character in sbconv. + * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise. + * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise. + * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise. + +2016-10-26 Siddhesh Poyarekar + + * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove. + + * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk. + (M_TRIM_THRESHOLD): Likewise. + + * manual/memory.texi (M_ARENA_TEST): Add documentation. + (M_ARENA_MAX): Likewise. + * malloc/malloc.c: Remove obsolete comment. + + * manual/memory.texi: Add environment variable alternatives to + setting mallopt parameters. + +2016-10-26 Carlos O'Donell + + * include/atomic.h + [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release] + (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release. + +2016-10-25 Rajalakshmi Srinivasaraghavan + + * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale. + * stdlib/tst-strfrom.h: New file. + * stdlib/tst-strfrom.c: New file. + * stdlib/tst-strfrom-locale.c: New file. + + * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH. + * stdlib/bug-strtod2.c: Likewise. + * stdlib/tst-strtod-round-skeleton.c: Likewise. + * stdlib/tst-strtod6.c: Likewise. + * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom. + +2016-10-25 Gabriel F. T. Gomes + + * NEWS: Mention the addition of strfromd, strfromf, and strfroml. + * manual/arith.texi: Document strfromd, strfromf, strfroml. + * stdlib/Makefile: Add strfromd, strfromf, and strfroml. + * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml. + * stdlib/stdlib.h (strfromd): New declaration. + (strfromf): Likewise. + (strfroml): Likewise. + * stdlib/strfrom-skeleton.c: New file. Generic implementation for + strfrom. + * stdlib/strfromd.c: New file. + * stdlib/strfromf.c: Likewise. + * stdlib/strfroml.c: Likewise. + * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd. + * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c. + * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file; + * sysdeps/arm/nacl/libc.abilist: Update. + * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise. + +2016-10-25 Joseph Myers + + * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi + instead of cmpli. + * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi + instead of cmpli. + +2016-10-24 Yury Norov + + * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast. + * sysdeps/unix/sysv/linux/lxstat.c: Likewise. + * sysdeps/unix/sysv/linux/xstat.c: Likewise. + * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise. + * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise. + * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise. + +2016-10-24 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW. + * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise. + * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use + SYSCALL_LL64_PRW. + * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise. + * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define + __ASSUME_PRW_DUMMY_ARG. + * sysdeps/unix/sysv/linux/sh/pread.c: Remove file. + * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and + SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG. + +2016-10-24 Steve Ellcey + + * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size. + +2016-10-22 Florian Weimer + + * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern + "C++", to override a potential extern "C" directive around the + header file inclusion. + +2016-10-21 Joseph Myers + + * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable. + +2016-10-21 Paul E. Murphy + + * sysdeps/powerpc/fpu/fenv_private.h: + (_FPU_MASK_ALL): Rename to... + (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and + XE FPSCR bits. + + (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR. + + (_FPU_MASK_ROUNDING): Rename to... + (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and + NI bits. + + (_FPU_MASK_EXCEPT_ROUND): Rename to... + (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable + bits and rounding bits. + + (__libc_feholdbits_ppc): New inline function to mask, set, + and pontentially clear FSPCR bits, and change MSR[FE] bits. + (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc. + (libc_feholdexcept_setround_ppc): Likewise. + + (__libc_femergeenv_ppc): New function to dynamically mask both + old and new FP environments and merge. + (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc. + (libc_feresetround_ppc): Likewise. + (libc_feupdateenv_test_ppc): Likewise. + (libc_feupdateenv_ppc): Likewise. + + (libc_feholdsetround_ppc_ctx): Fix usage to include masking + of ISA RN bits, and update macro names. + (libc_feholdexcept_setround_ppc_ctx): Remove as it is + effectively the same as the previously mentioned function. + + (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc + usage with fe_resetround_ppc. + + (libc_feholdexcept_setround_ctx): Remove, this doesn't appear + to be used. + (libc_feholdexcept_setround_ctxf): Likewise. + (libc_feholdexcept_setround_ctxl): Likewise. + +2016-10-21 Florian Weimer + + [BZ #20715] + * math/math.h [__cplusplus] (iszero): Define as function template. + * math/Makefile [CXX] (tests): Add test-math-iszero. + (CFLAGS-test-math-iszero.cc): Set. + * math/test-math-iszero.cc: New file. + +2016-10-20 Joseph Myers + + [BZ #20660] + * sysdeps/arm/e_sqrt.c: New file. + * sysdeps/arm/e_sqrtf.c: Likewise. + +2016-10-19 Joseph Myers + + [BZ #20718] + * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do + not use floating-point comparisons to test sign. + * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl): + Likewise. + + * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] + (getpayload): New declaration. + * math/Versions (getpayload): New libm symbol at version + GLIBC_2.25. + (getpayloadf): Likewise. + (getpayloadl): Likewise. + * math/Makefile (libm-calls): Add s_getpayloadF. + * math/libm-test.inc: Include . + (struct test_f_f_data): Add comment. + (RUN_TEST_fp_f): New macro. + (RUN_TEST_LOOP_fp_f): Likewise. + (getpayload_test_data): New array. + (getpayload_test): New function. + (main): Call getpayload_test. + * math/gen-libm-test.pl (parse_args): Handle 'p' in argument + descriptor. + * manual/arith.texi (FP Bit Twiddling): Document getpayload, + getpayloadf and getpayloadl. + * manual/libm-err-tab.pl: Update comment on interfaces without + ulps tabulated. + * sysdeps/ieee754/dbl-64/s_getpayload.c: New file. + * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise. + * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise. + * sysdeps/nacl/libm.abilist: Update. + * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise. + +2016-10-18 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move + tst-fallocate{64}. + * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP + on syscall return. + +2016-10-17 Carlos O'Donell + + [BZ #20689] + * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is + usable. + +2016-10-17 Joseph Myers + + * sysdeps/generic/nan-high-order-bit.h: New file. + * sysdeps/hppa/nan-high-order-bit.h: Likewise. + * sysdeps/mips/nan-high-order-bit.h: Likewise. + * sysdeps/hppa/math_private.h: Remove file. + * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do + not define here. + * sysdeps/ieee754/dbl-64/s_issignaling.c: Include + . + [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef. + * sysdeps/ieee754/dbl-64/s_totalorder.c: Include + . + [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef. + * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include + . + [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef. + * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include + . + [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef. + * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include + . + [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef. + * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include + . + [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef. + * sysdeps/ieee754/flt-32/s_issignalingf.c: Include + . + [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef. + * sysdeps/ieee754/flt-32/s_totalorderf.c: Include + . + [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef. + * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include + . + [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef. + * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include + . + [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef. + * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include + . + [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef. + * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include + . + [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef. + * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include + . + [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef. + * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include + . + [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef. + * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include + . + [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef. + * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include + . + [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef. + * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include + . + [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef. + * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include + . + [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef. + +2016-10-17 Stefan Liebler + + * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file. + +2016-09-22 John David Anglin + + * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include + abort-instr.h. + (EFAULT): Remove conditional define. + (ENOSYS): Likewise. + (atomic_compare_and_exchange_val_acq): Use instruction nullification + instead of conditional branch instructions. + +2016-10-15 Joseph Myers + + * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] + (totalordermag): New declaration. + * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag): + New macro. + * math/Versions (totalordermag): New libm symbol at version + GLIBC_2.25. + (totalordermagf): Likewise. + (totalordermagl): Likewise. + * math/Makefile (libm-calls): Add s_totalordermagF. + * math/libm-test.inc (totalordermag_test_data): New array. + (totalordermag_test): New function. + (main): Call totalordermag_test. + * math/test-tgmath.c (NCALLS): Increase to 125. + (F(compile_test)): Call totalordermag. + (F(totalordermag)): New function. + * manual/arith.texi (FP Comparison Functions): Document + totalordermag, totalordermagf and totalordermagl. + * manual/libm-err-tab.pl: Update comment on interfaces without + ulps tabulated. + * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file. + * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise. + * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise. + * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise. + * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add + totalordermag. + (CFLAGS-nldbl-totalordermag.c): New variable. + * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c + (do_test): Also test totalordermagl. + * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test): + Likewise. + * sysdeps/nacl/libm.abilist: Update. + * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise. + +2016-10-14 Steve Ellcey + + * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly + boolean. + +2016-10-13 Joseph Myers + + * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of + raising FE_INVALID with feraisexcept in case where part of + argument is infinite, subtract that part of argument from itself. + * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise. + * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise. + * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise. + +2016-10-12 Joseph Myers + + * math/libm-test.inc (totalorder_test_data): Add more tests. + +2016-10-12 Adhemerval Zanela + + * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: + Undefine weak_alias and add a comment why mips64 require + versioning. + +2016-10-12 H.J. Lu + + [BZ #20647] + * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the + maximum CPUID level is less than 2. + +2016-10-12 Joseph Myers + + * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] + (totalorder): New declaration. + * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder): + New macro. + * math/Versions (totalorder): New libm symbol at version + GLIBC_2.25. + (totalorderf): Likewise. + (totalorderl): Likewise. + * math/Makefile (libm-calls): Add s_totalorderF. + * math/gen-libm-test.pl (parse_args): Escape quotes in test name + string. + * math/libm-test.inc (PAYLOAD_DIG): New macro. + (qnan_value_pl): Likewise. + (snan_value_pl): Likewise. + (qnan_value): Define using qnan_value_pl. + (snan_value): Define using snan_value_pl. + (struct test_ff_i_data): Add comment about which tests use this + structure. + (RUN_TEST_ff_b): New macro. + (RUN_TEST_LOOP_ff_b): Likewise. + (totalorder_test_data): New array. + (totalorder_test): New function. + (main): Call totalorder_test. + * math/test-tgmath.c (NCALLS): Increase to 122. + (F(compile_test)): Call totalorder. + (F(totalorder)): New function. + * manual/arith.texi (FP Comparison Functions): Document + totalorder, totalorderf and totalorderl. + * manual/libm-err-tab.pl: Update comment on interfaces without + ulps tabulated. + * sysdeps/ieee754/dbl-64/s_totalorder.c: New file. + * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise. + * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise. + * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise. + * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add + totalorder. + (CFLAGS-nldbl-totalorder.c): New variable. + * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New + file. + * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests): + Add test-totalorderl-ldbl-128ibm. + * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file. + * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add + test-totalorderl-ldbl-96. + * sysdeps/nacl/libm.abilist: Update. + * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise. + +2016-10-11 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range. + * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file. + * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise. + * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and + remove ENOSYS implementation. + * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range): + Consolidate all Linux implementations. + +2016-10-11 Florian Weimer + + * resolv/Makefile (+cflags): Do not set -Wno-write-strings. + * resolv/herror.c (herror): Cast away const-ness. + * resolv/res_debug.c (__p_class_syms, __p_default_section_syms) + (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise. + +2016-10-11 Joseph Myers + + * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN + instead of M_NAN + M_NAN. + * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise. + +2016-10-10 Samuel Thibault + + * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define + unused variable 'p'. + +2016-10-09 Alan Modra + Andreas Schwab + + [BZ #20554] + * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount) + [PIC && !SHARED]: Set up PIC register for PLT call. + +2016-10-07 Joseph Myers + + * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define + conditional on value of [__FLT_EVAL_METHOD__]. + * math/test-iseqsig-excess-precision.c: New file. + * math/Makefile (tests): Add test-iseqsig-excess-precision. + +2016-10-07 Adhemerval Zanella + + * math/s_iseqsig_template.c: Include math-private.h. + + * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64. + * posix/tst-posix_fadvise.c: New file. + * posix/tst-posix_fadvise64.c: Likewise. + * posix/tst-posix_fadvise-common.c: Likewise. + * sysdeps/unix/sysv/linux/arm/kernel-features.h + (__ASSUME_FADVISE64_64_6ARG): Define. + * sysdeps/unix/sysv/linux/powerpc/kernel-features.h + [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define. + * sysdeps/unix/sysv/linux/tile/kernel-features.h + [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define. + * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file. + * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise. + * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: + Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c + (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]: + Alias to __posix_fadvise64_l32. + (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]: + Add compat definition to posix_fadvise64. + (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]: + Add versioned definition to posix_fadvise64. + * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff + __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add + __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support. + * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add + __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL. + + * io/Makefile (tests): Add tst-posix_fallocate and + tst-posix_fallocate64. + * io/tst-posix_fallocate-common.c: New file. + * io/tst-posix_fallocate.c: Likewise. + * io/tst-posix_fallocate64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove + file. + * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c: + Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c: + Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise. + * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use + SYSCALL_LL to pass both offset and len arguments. + * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64): + Likewise. + * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add + __libc_pwrite64 alias used by posix_fallocate64. + + * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and + tst-fallocate64. + * sysdeps/unix/sysv/linux/tst-fallocate.c: New file. + * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise. + * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file. + * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise. + * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL + macro on offset argument. + * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use + SYSCALL_LL64 on offset argument. + + * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and + tst-fallocate64. + * sysdeps/unix/sysv/linux/tst-fallocate.c: New file. + * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise. + * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file. + * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise. + * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL + macro on offset argument. + * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use + SYSCALL_LL64 on offset argument. + * test-skeleton.c (FAIL_RET): Add macro. + (FAIL_EXIT): Likewise. + (FAIL_EXIT1): Likewise. + (_FAIL): Likewise. + +2016-10-07 Florian Weimer + + [BZ #20629] + resolv: Remove RES_USEBSTRING and its implementation. + * resolv/resolv.h (RES_USEBSTRING): Remove. + * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING) + (digitvalue, encode_bitstring, decode_bitstring): Remove. + (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip) + (labellen): Remove extended label types support. + * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling. + * resolv/res_init.c (res_setoptions): Likewise. + * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise. + +2016-10-07 Florian Weimer + + resolv: Remove RES_NOIP6DOTINT and its implementation. + * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT. + (RES_NOIP6DOTINT): Remove. + * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT + handling. + * resolv/res_debug.c (p_option): Likewise. + * resolv/res_init.c (res_setoptions): Likewise. + * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise. + +2016-10-07 Florian Weimer + + resolv: Deprecate unimplemented flags. + * misc/sys/cdefs.h (__glibc_macro_warning1) + (__glibc_macro_warning): Define. + * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME) + (RES_KEEPTSIG): Mark as deprecated. + * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY, + RES_NOCHECKNAME, RES_KEEPTSIG. + * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling. + +2016-10-07 Stefan Liebler + + * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro. + * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp): + Use strong_alias to create symbols for glibc verison 2.19. + +2016-10-07 Stefan Liebler + + * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro. + +2016-10-07 Stefan Liebler + + * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro. + +2016-10-07 Stefan Liebler + + * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro. + +2016-10-07 Stefan Liebler + + * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday): + Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function + in header for using it as type for ifunc function because __GI_* symbols + for ppc32 do not target the ifunc symbols. + * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise. + +2016-10-07 Stefan Liebler + + * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday): + Use libc_ifunc_hidden macro. Use libc_hidden_def instead of + libc_ifunc_hidden_def. + * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise. + * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday): + Redirect ifunced function in header for using it as type of ifunc'ed + function. Redefine libc_hidden_def to use fallback non ifunc'ed + function for __GI_* symbol. + * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise. + * include/libc-symbols.h + (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro. + +2016-10-07 Stefan Liebler + + [BZ #20478] + * sysdeps/s390/multiarch/ifunc-resolve.h + (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h + to create ifunc symbols. + (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected + , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define. + * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header + for using it as type for ifunc function. + * sysdeps/s390/multiarch/mempcpy.c: Likewise. + * sysdeps/s390/multiarch/rawmemchr.c: Likewise. + * sysdeps/s390/multiarch/stpcpy.c: Likewise. + * sysdeps/s390/multiarch/stpncpy.c: Likewise. + * sysdeps/s390/multiarch/strcat.c: Likewise. + * sysdeps/s390/multiarch/strchr.c: Likewise. + * sysdeps/s390/multiarch/strcmp.c: Likewise. + * sysdeps/s390/multiarch/strcpy.c: Likewise. + * sysdeps/s390/multiarch/strcspn.c: Likewise. + * sysdeps/s390/multiarch/strlen.c: Likewise. + * sysdeps/s390/multiarch/strncmp.c: Likewise. + * sysdeps/s390/multiarch/strncpy.c: Likewise. + * sysdeps/s390/multiarch/strnlen.c: Likewise. + * sysdeps/s390/multiarch/strpbrk.c: Likewise. + * sysdeps/s390/multiarch/strrchr.c: Likewise. + * sysdeps/s390/multiarch/strspn.c: Likewise. + * sysdeps/s390/multiarch/wcschr.c: Likewise. + * sysdeps/s390/multiarch/wcscmp.c: Likewise. + * sysdeps/s390/multiarch/wcspbrk.c: Likewise. + * sysdeps/s390/multiarch/wcsspn.c: Likewise. + * sysdeps/s390/multiarch/wmemchr.c: Likewise. + * sysdeps/s390/multiarch/wmemset.c: Likewise. + * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise. + * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise. + * sysdeps/s390/s390-32/multiarch/memset.c: Likewise. + * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise. + * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise. + * sysdeps/s390/s390-64/multiarch/memset.c: Likewise. + +2016-10-07 Stefan Liebler + + * include/libc-symbols.h (__ifunc_resolver): + New macro is used by __ifunc* macros. + (__ifunc): New macro uses gcc attribute ifunc or inline assembly + depending on HAVE_GCC_IFUNC. + (libc_ifunc, libm_ifunc): Use __ifunc as base macro. + (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: + Redirect ifunced function in header for using as type for ifunc function. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: + Add libc_hidden_def() and use libc_ifunc_hidden() macro + instead of libc_ifunc() macro. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise. + +2016-10-07 Stefan Liebler + + * config.h.in (HAVE_GCC_IFUNC): New undef. + * configure.ac: Add check if gcc supports attribute ifunc feature. + * configure: Regenerated. + * manual/install.texi: Add recommendation for gcc with + indirect-function support. + * INSTALL: Regenerated. + +2016-10-06 Joseph Myers + + * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New + macro. + * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] + (__iseqsig): New declaration. + * math/s_iseqsig_template.c: New file. + * math/Versions (__iseqsigf): New libm symbol at version + GLIBC_2.25. + (__iseqsig): Likewise. + (__iseqsigl): Likewise. + * math/libm-test.inc (iseqsig_test_data): New array. + (iseqsig_test): New function. + (main): Call iseqsig_test. + * math/Makefile (gen-libm-calls): Add s_iseqsigF. + * manual/arith.texi (FP Comparison Functions): Document iseqsig. + * manual/libm-err-tab.pl: Update comment on interfaces without + ulps tabulated. + * sysdeps/generic/fix-fp-int-compare-invalid.h: New file. + * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise. + * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise. + * sysdeps/nacl/libm.abilist: Update. + * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise. + +2016-10-06 Siddhesh Poyarekar + + * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1, + do_sincos_2, sloww, sloww1): Update comments. + + * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to + do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant. + + * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make + K boolean and rename it. + (__sin): Adjust. + (__cos): Adjust. + +2016-10-06 Rical Jasan + Siddhesh Poyarekar + + * manual/nss.texi: Fix typos in the manual. - * sysdeps/unix/bsd/readdir.c (D_NAMLEN): New macro; define if not - already defined, to return length of a direct elt. +2016-10-06 Rical Jasan - * sysdeps/stub/__getgrps.c: #include ; if NGROUPS_MAX is - defined as 0, always return 0, and no stub warning. + * manual/contrib.texi: Fix typos in the manual. - * sysdeps/posix/system.c: Don't fail if sigprocmask fails with ENOSYS. + * manual/maint.texi: Fix typos in the manual. - * sysdeps/posix/sysd-stdio.c, sysdeps/stub/sysd-stdio.c: Doc fix. + * manual/install.texi: Fix typos in the manual. + * INSTALL: Regenerated. - * sysdeps/posix/__gettod.c: Use CONST where appropriate and not - where not. + * manual/lang.texi: Fix typos in the manual. - * sysdeps/i386/memchr.c, sysdeps/i386/strlen.c: Changed `repnz' to - `repne'. + * manual/probes.texi: Fix typos in the manual. - * stdio/fgets.c: Notice returned char from __fillbf in length calc. + * manual/threads.texi: Fix typos in the manual. - * misc/sys/ioctl.h: Always define `struct sgttyb'. + * manual/debug.texi: Fix typos in the manual. - * stdlib/alloca.h: #undef __alloca, too. - Always #define alloca == __alloca. + * manual/crypt.texi: Fix typos in the manual. - * signal/signal.h (__kill): Fixed type in decl. - * posix/unistd.h (setgid): Fixed type in decl. - * posix/setpgid.c, posix/setgid.c, signal/kill.c, posix/fork.c, - posix/vfork.c, posix/getpid.c, posix/getppid.c, posix/setsid.c: - Fixed DEFUNs in fn aliases. - * pwd/getpw.c: Fixed type in defn. + * manual/conf.texi: Fix typos in the manual. -Mon Mar 30 17:06:54 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * manual/sysinfo.texi: Fix typos in the manual. - * sysdeps/generic/printf_fp.c: In %f, decrement PREC for each - leading zero in the fractional part. + * manual/users.texi: Fix typos in the manual. - * sysdeps/ieee754/ieee754.h: Made all elts unsigned. - * sysdeps/ieee754/__drem.c: Return NAN if Y is zero. - * sysdeps/ieee754/ldexp.c: Rewritten. - * sysdeps/ieee754/__logb.c: Handle denormalized numbers. + * manual/job.texi: Fix typos in the manual. - * posix/sys/wait.h: #include + * manual/process.texi: Fix typos in the manual. - * sysdeps/ieee754/fl.h: Fixed NAN and HUGE_VAL bit patterns; added - code for little endian. + * manual/argp.texi: Fix typos in the manual. + * manual/getopt.texi: Likewise. + * manual/startup.texi: Likewise. - * sysdeps/generic/frexp.c: Add one to exponent to give the result a - digit before the point. Use negative exponent rather than division. + * manual/signal.texi: Fix typos in the manual. - * math/__finite.c: Return zero for NaN. - * math/math.h: Doc fix for same. + * manual/setjmp.texi: Fix typos in the manual. - * stdio/__getdelim.c: Correctly notice when the buffer is full. + * manual/resource.texi: Fix typos in the manual. - * sysdeps/unix/bsd/opendir.c: Pass arg to fcntl F_SETFD by value, - not by reference. + * manual/time.texi: Fix typos in the manual. - * time/__tzset.c: Correct default rule: M4.1.0,M10.5.0. + * manual/arith.texi: Fix typos in the manual. - * time/__tzset.c: Move ptr past Mfoobar syntax after parsing it. + * manual/math.texi: Fix typos in the manual. - * time/__tzset.c: Properly parse the DST offset (or its absence). + * manual/syslog.texi: Fix typos in the manual. - * sysdeps/unix/make_errlist.c: Write an #ifdef HAVE_GNU_LD, rather - than testing it when compiling make_errlist. + * manual/terminal.texi: Fix typos in the manual. - * time/tzfile.c (__tzfile_read): Convert transitions to host byte - order. + * manual/socket.texi: Fix typos in the manual. - * Makeconfig (localtime-file): New config var. - * time/Makefile (tzfile.o, zic.o): Use it for TZDEFAULT. + * manual/filesys.texi: Fix typos in the manual. - * stdio/Makefile (tests): Added tstgetline. - * stdio/tstgetline.c: New; test for getline. + * manual/llio.texi: Fix typos in the manual. - * Makeconfig (sysincludedir): Define and document. - * sysdeps/unix/snarf-ioctls, sysdeps/unix/Makefile: Use - ${sysincludedirs} in place of hard-coded /usr/include. + * manual/stdio.text: Fix typos in the manual. -Fri Mar 27 13:33:37 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) +2016-10-05 Siddhesh Poyarekar - * string/Makefile (headers): Added endian.h. + * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N + instead of K1. - * sysdeps/ieee754/__drem.c: Fixed typo which made X and Y be the - same location. + * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to + SHIFT_QUADRANT and make it bool. + (do_sincos_2): Likewise. + (sloww): Likewise. + (sloww1): Likewise. + (__sin): Adjust calls to do_sincos_1 and do_sincos_2. + (__cos): Likewise. - * sysdeps/generic/__lstat.c: #include +2016-10-05 Tulio Magno Quites Machado Filho - * stdio/internals.c (flushbuf): Increment target as well as offset - when we write out the single char. + * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated. - * grp/Makefile (tests): Add testgrp (formerly bug1). +2016-10-04 Joseph Myers -Thu Mar 26 14:59:45 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): + Define to __WORDSIZE, not conditional on [LONG_MAX == + 0x7fffffffL]. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise. - * stdio/fread.c: Don't read directly when we need to seek first. +2016-10-04 Tulio Magno Quites Machado Filho -Wed Mar 25 02:34:49 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace + inline by __inline__. + (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise. + (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise. + (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise. + * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require + sigset_t from signal.h. + * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h, + which is already required. - * sysdeps/unix/bsd/alarm.c: There are 1000000 usecs in a sec. +2016-10-04 Stefan Liebler - * sysdeps/unix/bsd/sun/ptrace.c: Removed. + * sysdeps/s390/fpu/libm-test-ulps: Regenerated. - * stdio/fgets.c: For unbuffered stream, don't return EOF after - reading some data. - Added missing parens. +2016-10-03 Joseph Myers -Tue Mar 24 18:31:07 1992 Torbjorn Granlund (tege@hal) + * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro. + (struct tcp_repair_window): New type. - * sysdeps/i386/memset.c: Move code that puts C in all four nibbles of - X inside `if' statement. Include sysdeps/i386/memset.c (not bzero). - * sysdeps/i386/memchr.c: Rewrite to be faster. Include - sysdeps/generic/memchr.c (not bzero). +2016-10-02 Adhemerval Zanella -Tue Mar 24 01:21:32 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * libio/tst-memstream3.c: Include string.h. - * io/Makefile (routines): Add getdirname. - * posix/unistd.h [__USE_GNU]: Declare getdirname. - * io/getdirname.c: New. +2016-09-30 Adhemerval Zanella - * Makeconfig (stddef.h): Define and document. - * Makefile (headers): Use $(stddef.h) for stddef.h. + [BZ #18241] + [BZ #20181] + * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3. + * libio/memstream.c (_IO_mem_sync): Only append a null byte if + write position is at the end the buffer. + * libio/wmemstream.c (_IO_wmem_sync): Likewise. + * libio/strops.c (_IO_str_switch_to_get_mode): New function. + (_IO_str_seekoff): Set correct offset from negative displacement and + set EINVAL for invalid ones. + * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate + buffer length. + (_IO_wstr_switch_to_get_mode): New function. + (_IO_wstr_seekoff): Set correct offset from negative displacement and + set EINVAL for invalid ones. + * libio/tst-memstream3.c: New file. + * libio/tst-wmemstream3.c: Likewise. + * manual/examples/memstrm.c: Remove warning when priting size_t. + +2016-09-30 Joseph Myers + + * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define + macro to use __builtin_fma. + * sysdeps/x86_64/fpu/dla.h: Remove file. + + * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h + [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare. + [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1. + +2016-09-30 Carlos O'Donell + + [BZ #20292] + * elf/Makefile (routines): Add dl-addr-obj. + [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add + tst-_dl_addr_inside_object. + [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise. + [ifeq (yesyes,$(have-fpie)$(build-shared))] + ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os. + [ifeq (yesyes,$(have-fpie)$(build-shared))] + (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag). + * elf/dl-addr.c: Remove _dl_addr_inside_object function. + * elf/dl-open.c: Likewise. + * elf/dl-addr-obj.c: New file. + * elf/tst-_dl_addr_inside_object.c: New file. + +2016-09-30 Joseph Myers + + * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include + . + * bits/iscanonical.h: New file. + * math/s_iscanonicall.c: Likewise. + * math/Versions (__iscanonicall): New libm symbol at version + GLIBC_2.25. + * math/libm-test.inc (iscanonical_test_data): New array. + (iscanonical_test): New function. + (main): Call iscanonical_test. + * math/Makefile (headers): Add bits/iscanonical.h. + (type-ldouble-routines): Add s_iscanonicall. + * manual/arith.texi (Floating Point Classes): Document + iscanonical. + * manual/libm-err-tab.pl: Update comment on interfaces without + ulps tabulated. + * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file. + * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: + Likewise. + * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add + test-iscanonical-ldbl-128ibm. + * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file. + * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise. + * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise. + * sysdeps/ieee754/ldbl-96/Makefile: Likewise. + * sysdeps/unix/sysv/linux/i386/libm.abilist: Update. + * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise. + +2016-09-29 Adhemerval Zanella + + * string/bits/string3.h: Remove C++ style comments. + +2016-09-29 Siddhesh Poyarekar + + * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign + instead of ternary condition. + (do_sincos_2): Likewise. + (__sin): Likewise. + (__cos): Likewise. + (slow): Likewise. + (sloww): Likewise. + (sloww1): Likewise. + (bsloww): Likewise. + (bsloww1): Likewise. + + * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign + instead of ternary condition. + (do_sin_slow): Likewise. + (do_sincos_1): Likewise. + (do_sincos_2): Likewise. + (__cos): Likewise. + (sloww): Likewise. + (sloww1): Likewise. + (sloww2): Likewise. + (bsloww): Likewise. + (bsloww1): Likewise. + (bsloww2): Likewise. + + * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign + check from here... + (slow2): ... and here... + (__sin): ... to here. + +2016-09-28 Joseph Myers + + * math/math.h + [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero): + Cast argument to its own type. + * math/test-iszero-excess-precision.c: New file. + * math/Makefile (tests): Add test-iszero-excess-precision. + (CFLAGS-test-iszero-excess-precision.c): New variable. + +2016-09-28 Rasmus Villemoes + + * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe + field, add err field. + (__spawni_child): Report error through err member instead of pipe. + (__spawnix): Likewise. + +2016-09-28 Zack Weinberg + + * scripts/check-installed-headers.sh: Generalize treatment of + sys/elf.h to all target architectures. + + * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally- + deleted typedef ucontext_t. + +2016-09-26 Adhemerval Zanella + + * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro. + (__INTERNAL_SYSCALL1): Likewise. + (__INTERNAL_SYSCALL2): Likewise. + (__INTERNAL_SYSCALL3): Likewise. + (__INTERNAL_SYSCALL4): Likewise. + (__INTERNAL_SYSCALL5): Likewise. + (__INTERNAL_SYSCALL6): Likewise. + (__INTERNAL_SYSCALL7): Likewise. + (__INTERNAL_SYSCALL_NARGS_X): Likewise. + (__INTERNAL_SYSCALL_NARGS): Likewise. + (__INTERNAL_SYSCALL_DISP): Likewise. + (INTERNAL_SYSCALL_CALL): Likewise. + (__SYSCALL0): Rename to __INLINE_SYSCALL0. + (__SYSCALL1): Rename to __INLINE_SYSCALL1. + (__SYSCALL2): Rename to __INLINE_SYSCALL2. + (__SYSCALL3): Rename to __INLINE_SYSCALL3. + (__SYSCALL4): Rename to __INLINE_SYSCALL4. + (__SYSCALL5): Rename to __INLINE_SYSCALL5. + (__SYSCALL6): Rename to __INLINE_SYSCALL6. + (__SYSCALL7): Rename to __INLINE_SYSCALL7. + (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X. + (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS. + (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP. + (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL. + (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL. + +2016-09-23 Joseph Myers + + * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New + macro. + * math/libm-test.inc (iszero_test_data): New array. + (iszero_test): New function. + (main): Call iszero_test. + * manual/arith.texi (Floating Point Classes): Document iszero. + * manual/libm-err-tab.pl: Update comment on interfaces without + ulps tabulated. + +2016-09-23 Zack Weinberg + + * scripts/check-installed-headers.sh: New script. + * Rules: In each directory that defines header files to be installed, + run check-installed-headers.sh on them as a special test. + * Makefile: Likewise for the headers installed at top level. + + * include/aliases.h, include/alloca.h, include/argz.h + * include/arpa/nameser.h, include/arpa/nameser_compat.h + * include/elf.h, include/envz.h, include/err.h + * include/execinfo.h, include/fpu_control.h, include/getopt.h + * include/gshadow.h, include/ifaddrs.h, include/libintl.h + * include/link.h, include/malloc.h, include/mcheck.h + * include/mntent.h, include/netinet/ether.h + * include/nss.h, include/obstack.h, include/printf.h + * include/pty.h, include/resolv.h, include/rpc/auth.h + * include/rpc/auth_des.h, include/rpc/auth_unix.h + * include/rpc/clnt.h, include/rpc/des_crypt.h + * include/rpc/key_prot.h, include/rpc/netdb.h + * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h + * include/rpc/pmap_rmt.h, include/rpc/rpc.h + * include/rpc/rpc_msg.h, include/rpc/svc.h + * include/rpc/svc_auth.h, include/rpc/xdr.h + * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h + * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h + * include/rpcsvc/ypupd.h, include/shadow.h + * include/stdio_ext.h, include/sys/epoll.h + * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h + * include/sys/prctl.h, include/sys/profil.h + * include/sys/statfs.h, include/sys/sysctl.h + * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h + * sysdeps/arm/nacl/include/bits/setjmp.h + * sysdeps/mips/include/sys/asm.h + * sysdeps/unix/sysv/linux/include/sys/sysinfo.h + * sysdeps/unix/sysv/linux/include/sys/timex.h + * sysdeps/x86/fpu/include/bits/fenv.h: + Add #ifndef _ISOMAC guard around internal declarations. + Add multiple-inclusion guard if not already present. + +2016-09-23 Zack Weinberg + + * sysdeps/generic/sys/ucontext.h + * sysdeps/arm/sys/ucontext.h + * sysdeps/i386/sys/ucontext.h + * sysdeps/m68k/sys/ucontext.h + * sysdeps/mips/sys/ucontext.h + * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h + * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h + * sysdeps/unix/sysv/linux/arm/sys/ucontext.h + * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h + * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h + * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h + * sysdeps/unix/sysv/linux/mips/sys/ucontext.h + * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h + * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h + * sysdeps/unix/sysv/linux/s390/sys/ucontext.h + * sysdeps/unix/sysv/linux/sh/sys/ucontext.h + * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h + * sysdeps/unix/sysv/linux/tile/sys/ucontext.h + * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: + Include both bits/sigcontext.h and bits/sigstack.h. + Fix grammar error in comment, if present. + + * bits/sigstack.h + * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h + * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h + * sysdeps/unix/sysv/linux/bits/sigstack.h + * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h + * sysdeps/unix/sysv/linux/mips/bits/sigstack.h + * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h + * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h + * bits/sigcontext.h + * sysdeps/mach/hurd/i386/bits/sigcontext.h + * sysdeps/unix/sysv/linux/bits/sigcontext.h + * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h + * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: + Add multiple inclusion guard. Permit inclusion by sys/ucontext.h + as well as signal.h, if this was not already allowed. Request + definition of size_t if necessary. Minimize semantically-null + differences across files. + +2016-09-23 Zack Weinberg + + * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h: + Remove all logic conditional on __need macros. Move all the + conditionally defined types to their own headers... + * time/bits/types/clock_t.h: Define clock_t here. + * time/bits/types/clockid_t.h: Define clockid_t here. + * time/bits/types/struct_itimerspec.h: Define struct itimerspec here. + * time/bits/types/struct_timespec.h: Define struct timespec here. + * time/bits/types/struct_timeval.h: Define struct timeval here. + * time/bits/types/struct_tm.h: Define struct tm here. + * time/bits/types/time_t.h: Define time_t here. + * time/bits/types/timer_t.h: Define timer_t here. + * time/Makefile: Install the new headers. + + * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h + * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h + * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h + * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h + * sysdeps/unix/sysv/linux/alpha/bits/resource.h + * sysdeps/unix/sysv/linux/alpha/sys/acct.h + * sysdeps/unix/sysv/linux/bits/resource.h + * sysdeps/unix/sysv/linux/bits/timex.h + * sysdeps/unix/sysv/linux/mips/bits/resource.h + * sysdeps/unix/sysv/linux/net/ppp_defs.h + * sysdeps/unix/sysv/linux/sparc/bits/resource.h + * sysdeps/unix/sysv/linux/sys/acct.h + * sysdeps/unix/sysv/linux/sys/timerfd.h + * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h + * time/sys/time.h, time/sys/timeb.h + Use the new bits/types headers. + + * include/time.h: Remove __need logic. + * include/bits/time.h + * include/bits/types/clock_t.h, include/bits/types/clockid_t.h + * include/bits/types/time_t.h, include/bits/types/timer_t.h + * include/bits/types/struct_itimerspec.h + * include/bits/types/struct_timespec.h + * include/bits/types/struct_timeval.h + * include/bits/types/struct_tm.h: + New wrapper headers. + +2016-09-23 Zack Weinberg + + * sysdeps/mach/hurd/net/if_ppp.h + * sysdeps/unix/sysv/linux/net/if_ppp.h: + Only define struct ifpppstatsreq and struct ifpppcstatsreq + if __USE_MISC is defined, to ensure struct ifreq is declared. + + * inet/netinet/ether.h: Condition all function prototypes + on __USE_MISC, to ensure struct ether_addr is declared. + + * socket/bits/types/struct_osockaddr.h: New header. + * include/bits/types/struct_osockaddr.h: New wrapper. + * socket/Makefile: Install the new header. + * socket/sys/socket.h, inet/protocols/talkd.h: + Refer to bits/types/struct_osockaddr.h for the definition of + struct osockaddr. + +2016-09-23 Zack Weinberg + + * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h + * inet/protocols/routed.h, inet/protocols/talkd.h + * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h + * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h + * sysdeps/generic/netinet/if_ether.h + * sysdeps/generic/netinet/in_systm.h + * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h + * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h + * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h + * sysdeps/mach/hurd/net/if_arp.h + * sysdeps/mach/hurd/net/if_ppp.h + * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h + * sysdeps/unix/sysv/linux/bits/in.h + * sysdeps/unix/sysv/linux/net/ethernet.h + * sysdeps/unix/sysv/linux/net/if_arp.h + * sysdeps/unix/sysv/linux/net/if_ppp.h + * sysdeps/unix/sysv/linux/net/if_shaper.h + * sysdeps/unix/sysv/linux/net/route.h + * sysdeps/unix/sysv/linux/netinet/if_ether.h + * sysdeps/unix/sysv/linux/netinet/if_fddi.h + * sysdeps/unix/sysv/linux/netinet/if_tr.h + * sysdeps/unix/sysv/linux/netipx/ipx.h + * sysdeps/unix/sysv/linux/sys/acct.h + * include/arpa/nameser.h, include/resolv.h: + Change all uses of u_char to unsigned char, + u_short and ushort to unsigned short, u_int and uint to unsigned int, + u_long and ulong to unsigned long, u_int8_t to uint8_t, + u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t, + and u_int64_t and u_quad_t to uint64_t. + + * mach/sys/reboot.h: Remove two casts of integer literals + to the types they already have. + + * bits/in.h: Correct error in description of IP_MULTICAST_LOOP. + * sysdeps/unix/sysv/linux/bits/in.h: Likewise. + * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment + from referring to 'unsigned char' to 'uint8_t' for consistency with + the macro definition below. + + * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h + * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h + * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h + * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h + * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h + * sysdeps/unix/sysv/linux/sys/acct.h + * include/arpa/nameser.h, include/resolv.h: + Fix indentation disrupted by mechanical edits. + + * inet/protocols/talkd.h, resolv/arpa/nameser.h + * sysdeps/generic/netinet/in_systm.h + * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h + * sysdeps/gnu/netinet/udp.h + * sysdeps/unix/sysv/linux/net/ethernet.h + * sysdeps/unix/sysv/linux/net/if_arp.h + * sysdeps/unix/sysv/linux/net/if_ppp.h + * sysdeps/unix/sysv/linux/net/if_shaper.h + * sysdeps/unix/sysv/linux/netinet/if_fddi.h + * sysdeps/unix/sysv/linux/netinet/if_tr.h + * sysdeps/unix/sysv/linux/netipx/ipx.h + * sysdeps/unix/sysv/linux/sys/acct.h + Include stdint.h for uintNN_t definitions. + Don't include sys/cdefs.h, features.h, or asm/types.h directly. + +2016-09-23 Zack Weinberg + + * rpcsvc/nislib.h: Include rpcsvc/nis.h. + * sysdeps/unix/sysv/linux/netrose/rose.h: + Include sys/socket.h and netax25/ax25.h. + + * inet/netinet/icmp6.h, inet/netinet/ip6.h + * resolv/arpa/nameser_compat.h: + Use __BYTE_ORDER etc. instead of BYTE_ORDER etc. + + * sysdeps/unix/sysv/linux/sys/quota.h: + Use __caddr_t instead of caddr_t. + * sysdeps/unix/sysv/linux/sys/timerfd.h: + Use __clockid_t instead of clockid_t. + + * sysvipc/sys/ipc.h: Remove unnecessary #warning. + + * argp/argp.h: Check whether _LIBC is defined before expanding it. + * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of + expanding it. + + * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr. + Define __glibc_c99_flexarr_available to 1 when the compiler + supports C99-compatible flexible array members, 0 otherwise. + * sysdeps/unix/sysv/linux/bits/socket.h + * sysdeps/mach/hurd/bits/socket.h + * bits/socket.h: Use __glibc_c99_flexarr_available in + definitions of struct cmsghdr and CMSG_DATA. + +2016-09-23 Florian Weimer + + * manual/nss.texi (NSS Modules Interface): Adjust function return + type to enum nss_status. Document errnop argument. Clarify + h_errnop semantics. Fix cross-reference formatting. + (NSS Module Function Internals): Mention that *errnop needs to be + set on failure, but not to zero. + +2016-09-23 Florian Weimer + + * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64) + (get_random_name): New functions. + (check_wrapper_flags_mode): Use linkat to give the new file a name + determined by get_random_name. + (do_test): Add calls to test open64 and openat64. + +2016-09-23 Florian Weimer + + * test-skeleton.c: Remove #include . + +2016-09-21 Alexandre Oliva + + [BZ #19826] + * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early + initialization of static TLS entries. + * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise. + * nptl/allocatestack.c (init_one_static_tls): Likewise. + +2016-09-22 Samuel Thibault + + * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to + _hurd_malloc_fork_prepare. + (malloc_fork_parent): Rename to _hurd_malloc_fork_parent. + (malloc_fork_child): Rename to _hurd_malloc_fork_child. + (_hurd_fork_prepare_hook): Drop malloc_fork_prepare. + (_hurd_fork_parent_hook): Drop malloc_fork_parent. + (_hurd_fork_child_hook): Drop malloc_fork_child. + * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare, + _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations. + * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent + after locking locks (notably hurd_dtable_lock). Call + _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent + before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before + __malloc_fork_unlock_child. + * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number. + +2016-09-21 James Greenhalgh + + * soft-fp/extendhftf2.c: New. + * soft-fp/fixhfti.c: Likewise. + * soft-fp/fixunshfti.c: Likewise. + * soft-fp/floattihf.c: Likewise. + * soft-fp/floatuntihf.c: Likewise. + * soft-fp/half.h: Likewise. + * soft-fp/trunctfhf2.c: Likewise. + +2016-09-21 Joseph Myers + + * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New + macro. + * math/libm-test.inc (issubnormal_test_data): New array. + (issubnormal_test): New function. + * manual/arith.texi (Floating Point Classes): Document + issubnormal. + * manual/libm-err-tab.pl: Update comment on interfaces without + ulps tabulated. + + * sysdeps/generic/stdint.h: Define + __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include + instead of including . + [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise. + * manual/arith.texi (Integers): Document these macros for types + specified by width properties. + * manual/lang.texi (Width of Type): Document these macros for + other standard typedefs. + * stdlib/tst-width-stdint.c: New file. + * stdlib/Makefile (tests): Add tst-width-stdint. + +2016-09-21 Florian Weimer + + [BZ #20016] + * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code. + * resolv/res_data.c (res_send_setqhook, res_send_setrhook): + Move ... + * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook): + ... here, as compatibility symbols in a new file. + * resolv/Makefile (libresolv-routines): Add compat-hooks. + * resolv/res_init.c (__res_vinit): Adjust member names. + * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove. + * resolv/resolv.h (res_sendhookact, res_send_qhook) + (res_send_rhook): Remove. + (struct __res_state): Rename qhook, rhook members. + +2016-09-21 Florian Weimer + + malloc: Use __libc_lock wrappers. + * malloc/arena.c (list_lock, free_list_lock): Define using + __libc_lock_define_initialized. + (arena_lock): Adjust formatting. + * malloc/malloc.c (struct malloc_state): Define mutex using + __libc_lock_define. + * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init) + (mutex_lock, mutex_trylock, mutex_unlock): Remove. + * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock) + (mutex_unlock, mutex_trylock): Remove. + (__pthread_initialize): Remove unused macro. + * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock) + (mutex_unlock, mutex_trylock): Remove. + +2016-09-21 Florian Weimer + + [BZ #20592] + Remove RR type classification macros. + * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p) + (ns_t_udp_p, ns_t_xfr_p): Remove. + +2016-09-21 Florian Weimer + + Remove misleading version information. + * resolv/arpa/nameser.h (__NAMESER): Remove. + * resolv/arpa/nameser_compat.h (__BIND): Remove. + +2016-09-21 Florian Weimer + + Remove the always-defined BIND_4_COMPAT macro. + * resolv/arpa/nameser.h: Unconditionally include + . + (BIND_4_COMPAT): Remove. + * resolv/res_comp.c: Do not check BIND_4_COMPAT. + +2016-09-21 Florian Weimer + + [BZ #20591] + Remove obsolete DNSSEC support. + * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*) + (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp) + (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify) + (ns_verify_tcp, ns_verify_tcp_init): Remove. + (ns_cert_types): Add comment. + * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records + separately. + (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16) + (dst_s_dns_key_id): Remove. + * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused + variables. + +2016-09-21 Florian Weimer + + [BZ #20524] + * manual/string.texi (String/Array Comparison): Clarify the + strverscmp behavior. + +2016-09-21 Florian Weimer + + * test-skeleton.c (xasprintf): Add function. + * io/tst-open-tmpfile.c: New test. + * io/Makefile (tests): Add it. + +2016-09-21 Florian Weimer + + Avoid running $(CXX) during build to obtain header file paths. + * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set. + * config.make.in (c++-cstdlib-header, c++-cmath-header): Define. + * Makerules (cstdlib, cmath): Remove variables. Use + $(c++-cstdlib-header), $(c++-cmath-header) instead. + * configure: Regenerate. + +2016-09-21 Florian Weimer + + * Makeconfig (all-object-suffixes): Include .op only if + $(build-profile). + +2016-09-21 Florian Weimer + + * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor + conditionals. Do not define PATH_MAX. + +2016-09-20 Adhemerval Zanella + + * posix/Makefile (tests): Add tst-spawn3. + * posix/tst-spawn3.c: New file. + * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor + if it is already opened for open action. + + * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock + all signals when executing the clone vfork child. + (SIGALL_SET): Remove macro. -Mon Mar 23 18:04:56 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) + * nptl/Makefile (tests): Add tst-exec5. + * nptl/tst-exec5.c: New file. + * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable + asynchronous cancellation. - * sysdeps/posix/mktemp.c: Do PID % 100000 for 5 digits. +2016-09-20 Samuel Thibault + + * hurd/exc2signal.c: #include + (_hurd_exception2signal): Replace 'exception', 'code', 'subcode', + 'sigcode', 'error' parameters with 'detail' parameter. Fix code + accordingly. + * mach/mach_error.c (mach_error): Fix old-style function definition. + * mach/errstring.c (mach_error_type, mach_error_string): Likewise. + +2016-09-20 Paul E. Murphy + + * math/Makefile (libm-calls): Remove s_nanF. + (gen-libm-calls): Add s_nanF. - * time/Makefile (tzfiles): Remove pacificnew; it won't compile. - (distribute): Put it here instead. + * math/s_nan.c: Refactor into ... + * math/s_nan_template.c: New file. - * stdio/printf-prs.c [HAVE_LONGLONG]: Fixed missed var name change - from code snarf. + * math/s_nanf.c: Removed. + * math/s_nanl.c: Removed. + * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed. + * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed. - * stdio/fgets.c: Return NULL when we get EOF. + * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: + (LDOUBLE_nanl_libm_version): New macro. - * posix/execvp.c, sysdeps/posix/putenv.c [! HAVE_GNU_LD]: Define - __environ as environ. + * sysdeps/generic/math-type-macros-double.h: + (M_STRTO_NAN): New macro. + * sysdeps/generic/math-type-macros-float.h: Likewise. + * sysdeps/generic/math-type-macros-ldouble.h: Likewise. - * sysdeps/unix/bsd/Makefile, sysdeps/unix/Makefile: In rules to - compile generator programs, cd into $(objdir) first to avoid - braindead cc clobbering foo.o in cwdir. - - * sysdeps/m68k/setjmp.c: Deref fpregs array in asm. - - * time/Makefile (zones-%): Fixed generated rules. - - * math/Makefile (libm.a): Use r cmd to ar. - - * time/Makefile (zones-%): In echo commands, put \\\\n outside of - quotes instead of \\n inside single quotes. SysV echo is braindead. - - * io/fchown.c, io/fchmod.c, misc/bsd-compat.c: Fixed DEFUNs in fn - aliases. - - * time/Makefile (echo-zonenames): New target; tell user what all - timezones defined in all zone files are. - * Makeconfig (localtime): Comment about using above. - -Sun Mar 22 18:34:02 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) - - * time/australasia (NZ): Updated rules. - -Sat Mar 21 01:00:49 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * stdio/printf-prs.c [__GNUC__]: Define HAVE_LONGLONG. - -Fri Mar 20 00:35:36 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * Version 1.02. - - * stdio/Makefile (routines): Add __getdelim, __getline. - - * sysdeps/unix/i386/start.c: No ../ in #include file name. - - * sysdeps/posix/sysd-stdio.c, sysdeps/stub/sysd-stdio.c - (__stdio_seek): Doc fix. - - * sysdeps/posix/mk-stdiolim.c: Add one to L_tmpnam, for the null - terminator. - - * sysdeps/posix/__dup2.c: Use an extra fcntl call to check that the - first fd is valid. Close the second fd before doing the dup. - - * pwd/pwdread.c, grp/grpread.c: Use __getline. Ignore lines - beginning with #. - - * Makeconfig (objdir): If $(ARCH) starts with a slash, don't prepend - $(..). - -Thu Mar 19 21:36:57 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * Makefile (install-lib): Add Mcrt1.o. - (Mcrt1.o): Create empty file. - -Wed Mar 18 16:00:18 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * Makeconfig (+link): Use $(libdir) for gnulib. - -Tue Mar 17 20:12:35 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * math/bsd/common_source/mathimpl.h: Include . - [__LITTLE_ENDIAN]: #define national. - - * stdio/__vfscanf.c: EOF at end of string is not - an error. - - * stdio/tstscanf.c: Added new sscanf test. - - * stdio/vfprintf.c: For %#x, print 0x after padding 0s, not before. - - * stdio/fputs.c: Reverse size args to fwrite and test for returning - LEN, rather than 1, so 0-length wins. - - * io/gnu/fcntl.h: Moved to sysdeps/unix/bsd/fcntlbits.h. - * io/Makefile (headers), io/fcntl.h: gnu/fcntl.h -> fcntlbits.h. - * sysdeps/stub/fcntlbits.h, sysdeps/unix/sysv/fcntlbits.h: New. - - * stdio/fopen.c (__getmode): Don't fall through in switch after 'a' - case. - - * locale/C-ctype_ct.c (__ctype_b_C): Use symbolic constants. - 9..12 are not _NOgraph. - -Tue Mar 17 19:04:01 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - - * string/testcopy.c: Fix typo in comment. - -Tue Mar 17 19:57:49 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/generic/strstr.c, string/string.h, string/tester.c - (strstr): Arguments were reversed. - -Tue Mar 17 18:52:39 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - - * sysdeps/i386/memcopy.h (WORD_COPY_BWD): Divide nbytes by 4. - * sysdeps/i386/memchr.c: Rewrite. Handle zero length correctly. - Don't ask gcc to allocate eax to two regs. - -Tue Mar 17 17:31:06 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * posix/unistd.h (getpagesize): Declare as size_t. - - * Makeconfig (CC): Define unless origin is default. - - * stdio/__getdelim.c: Be sure to leave room for the terminating null. - - * string/testcopy.c: New version from tege. - - * malloc/dist-README: Changed mailing list addr to bug-glibc. - - * sysdeps/unix/bsd/__sigproc.c: Use right mask for SIG_UNBLOCK. - - * Makefile, Rules (clean, mostlyclean): Put - before rm commands. - -Tue Mar 17 11:14:40 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - - * sysdeps/rs6000/memcopy.h (BYTE_COPY_BWD): Assign __nbytes. - * sysdeps/m68k/memcopy.h (WORD_COPY_BWD): Copy memory, not just - pointers. Clean up switch expression. - -Mon Mar 16 05:09:23 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * posix/wordexp.c: New. - - * time/tzfile.c (__tzfile_read): Don't die if some of the sections - of the datafile are empty. - - * stdio/getline.c, stdio/getdelim.c: Moved to - __getline.c/__getdelim.c. - New files with fn aliases. - * stdio/stdio.h (__getline, __getdelim): Declare. - - * time/Makefile (zonenames): Hair to find the names of zones - described by $(tzfiles). - (install-data): Install zoneinfo/$(zonenames). - Rules to make zones from tzfiles. - [localtime] (zoneinfo/localtime): Make from zoneinfo/$(localtime). - * Makeconfig (localtime): New user-frobbable variable. - -Sun Mar 15 00:01:05 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) - - * Makerules (sysdep-Makefile): Do if ... else true to avoid bogus - nonzero status. - - * Makefile: Denewlinify +sysdep-subdirs after including sysd-dirs. - - * sysdeps/vax/__infnan.c [!__GNUC__]: Error. - - * zic.c, scheck.c, emkdir.c, ialloc.c, private.h, tzfile.h: Snarfed - from localtime3 dist. - * time/Makefile (others): Added zic. - (distribute): Added private.h, emkdir.c, ialloc.c, scheck.c. - (install): Defined: zic, zdump. - - * Makeconfig (bindir): Define. - * Makerules: Add rule to install $(install) in $(bindir). - (+install): Include $(install) in $(bindir). - - * sysdeps/unix/Makefile: Moved siglist.c rules to unix/bsd/Makefile. - * sysdeps/unix/make_siglist.c: Moved to bsd/. - * sysdeps/unix/Dist: Remove it. - * sysdeps/unix/bsd/Dist: Add it. - - * malloc/Makefile (malloc/gmalloc.c): Depend on headers and sources. - - * sysdeps/unix/bsd/sun/sun4/__sigvec.S: Doc fix. - - * sysdeps/stub/stty.c, sysdeps/stub/gtty.c: Include . - - * sysdeps/unix/sysv/__fstat.c: Include sysv_stat.h. - - * misc/bsd-compat.c: Define _BSD_SOURCE rather than __FAVOR_BSD. - (longjmp): Use function_alias_void. - - * time/Makefile (tzfile.o): Compile with - -DTZDIR='"$(datadir)/zoneinfo"'.d - -Sat Mar 14 23:26:46 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) - - * Makeconfig (INSTALL_DATA, INSTALL_PROGRAM, INSTALL): Don't define - if already defined. - - * setjmp/longjmp.c: Use function_alias_void. - - * gnu-stabs.h (function_alias_void): New macro. - - * gnu-stabs.h [!HAVE_GNU_LD] (function_alias): Fixed not to loop. - -Fri Mar 13 17:20:19 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) - - * sysdeps/posix/sysd-stdio.c (__stdio_gen_tempname): Include null - terminator in length calculation. - - * stdio/fgets.c: Be sure to return NULL on error/eof for unbuffered - stream. If N==1, don't write the first char if !seen. - When the buffer is empty, notice the effect of __fillbf after - calling it, avoiding a (costly) no-op iteration. - Don't return NULL for reading no chars; only for EOF or error. - Don't write terminator at beginning of S if eof on first char. - - * malloc/Makefile (libmcheck.a), Makefile (crt0.o): Remove target - first; don't use -f to ln. - - * posix/execl.c, posix/execv.c, sysdeps/posix/getenv.c, - sysdeps/posix/system.c [HAVE_GNU_LD]: #define __environ environ - - * posix/unistd.h [__OPTIMIZE__] (execv): Removed defn. Can't know - whether to use __environ or environ. - - * io/fchown.c, io/chown.c, io/open.c, misc/select.c, - signal/sigvec.c, time/adjtime.c: Fixed DEFUNs in fn aliases. - - * time/__tzset.c: Don't dereference NULL if getenv returns it. - -Thu Mar 12 16:01:33 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * sysdeps/ieee754/sqrt.c: Replaced undefined var ref `k' with constant. - - * sysdeps/i386/__longjmp.c: #include . - - * time/tzfile.c (__tzfile_compute): Use types[0] if TIMER falls - between transitions[0] and transitions[1]. - Always set __tzname[INFO->isdst] to the name for INFO. - - * sysdeps/i386/__longjmp.c: Changed register names for gcc; eax/%eax - -> ax. - - * sysdeps/unix/snarf-ioctls: Avoid infinite recursion. - -Wed Mar 11 00:16:18 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * Version 1.01. - - * Makefile (munch-init.c): Made $(objpfx)munch-init.c. - - * signal/sigvec.c, signal/sigaction.c, stdio/vsscanf.c: Fixed DEFUNs - in fn aliases. - - * sysdeps/m68k/68881/68881-switch/switch.c: Merged vars have_fpu and - test_fpu into one. - - * sysdeps/mach/i386/start.c, sysdeps/vax/setjmp.c, - sysdeps/vax/__longjmp.c, sysdeps/vax/__infnan.c, - sysdeps/unix/start.c, sysdeps/unix/bsd/sun/sun4/sigtramp.c, - sysdeps/unix/bsd/sun/sun4/start.c, - sysdeps/unix/bsd/hp9k3bsd/start.c, sysdeps/sparc/sqrt.c, - sysdeps/rs6000/ffs.c, sysdeps/m88k/ffs.c, sysdeps/m68k/setjmp.c, - sysdeps/m68k/__longjmp.c, sysdeps/m68k/68881/printf_fp.c, - sysdeps/m68k/68881/atan2.c, sysdeps/m68k/68881/__logb.c, - sysdeps/m68k/68881/68881-switch/switch.c, sysdeps/m68k/ffs.c, - sysdeps/i386/memset.c, sysdeps/i386/memchr.c, sysdeps/i386/ffs.c, - sysdeps/i386/bzero.c, sysdeps/i386/__longjmp.c, sysdeps/am29k/ffs.c - [! __GNUC__]: Either include the generic (or in some cases, ieee754) - version, or do a #error. - - * Rules: Null out `objects' at end to shrink environment some. - (+objs): Define with := from $(objects). - (clean): Use that instead of $(objects). - - * sysdeps/i386/setjmp.c: Doubled % where it wanted to be literal. - - * posix/getgrps.c, io/flock.c, io/mkdir.c, io/read.c, io/write.c, - io/stat.c, misc/getdents.c, misc/mknod.c, misc/utimes.c: Fixed - DEFUNs in fn aliases. - - * sysdeps/unix/bsd/hp9k3bsd/sysdep.S: Use # instead of kludge cookie. - - * posix/getegid.c: Fixed type in DEFUN. - - * time/tzfile.c (__tzfile_compute): If TIMER is before any - transition in the file, use the first non-DST type, rather than the - type of the first transition in the file. - -Tue Mar 10 20:01:55 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * configure: Take optional -nfp arg. - (news, sun3, hp300): Prepend m68k/68881 unless -nfp is given. - * sysdeps/unix/bsd/hp9k3bsd/Implies: Don't specify 68881. - - * stdio/getdelim.c: When the buffer is empty, notice the effect of - __fillbf after calling it, avoiding a (costly) no-op iteration. - - * sysdeps/vax/__memccpy.c: Fixed comments. - - * stdio/fmemopen.c: Set all fns and seen bit before we might call - something that would care (fclose). - - * configure (sun3, sun-3): Mean sun3os4, not sun3os3. - (sun3os3): Use just unix/bsd/sun/sun3/os3. - * sysdeps/unix/bsd/sun/sun3/os3: New directory. - (sysdeps/unix/bsd/sun/sunos3/__wait.S): Moved to there. - * sysdeps/unix/bsd/sun/sun3/sysdep.h: Fixed; took hp9k3bsd/sysdep.h - and changed movel foo, d0 to pea foo for syscall no. - * sysdeps/unix/bsd/sun/sun3/__brk.S: Fixed pea addr mode. - * sysdeps/unix/bsd/sun/sun3/sethostid.S: errnos.h, not gnu/errno.h. - Use .stabs directly, not gnu-stabs.h (which uses `asm'). - * sysdeps/m68k/setjmp.c: Changed asm for first moveml, so it works - on sun3. - * sysdeps/unix/bsd/sun/sun3/start.c: Removed ../ from #include path. - -Sun Mar 8 16:33:33 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * misc/makefile (headers): Added stab.h, stab.def. - * Many files: Changed __GNU_STAB__ to HAVE_GNU_LD. - -Sat Mar 7 21:21:10 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * time/mktime.c: Normalize the struct values before checking for out - of range values. - -Fri Mar 6 11:43:35 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * sysdeps/ieee754/ldexp.c: New. - - * stdio/internals.c (flushbuf): When priming the stream for writing, - advance the target pos to account for chars gotten from the buffer. - - * sysdeps/generic/Makefile: For math routines, don't filter out - __finite. - - * sysdeps/posix/sysd-stdio.c (__stdio_gen_tempname): Fixed bugs. - - * misc/Makefile (routines): Remove flock. - - * stdlib/strtod.c: Fixed typo in checking for exponent overflow. - Do set *ENDPTR on overflow or underflow. - - * sysdeps/sparc/fl.h: Removed. Should use ieee754 version. - - * sysdeps/generic/Makefile: For math routines, don't filter out - __copysign, __scalb, __drem and __logb; and don't add support. - - * sysdeps/ieee754/__drem.c: New. - * sysdeps/ieee754/sqrt.c: New. - * sysdeps/stub/__drem.c: New. - * sysdeps/stub/sqrt.c: New. - * sysdeps/stub/__logb.c: New. - * sysdeps/ieee754/__logb.c: New. - - * sysdeps/ieee754/__infnan.c: Include and use NAN macro - rather than cooking one up by hand. - - * sysdeps/unix/bsd/getlogin.c: Open /dev/tty, rather than using stdin. - Make sure the name is always null-terminated. - -Thu Mar 5 17:11:46 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * sysdeps/m68k/68881/__scalb.c: Removed. - * sysdeps/m68k/68881/__math.h: Removed defn of __scalb. - * math/math.h [__OPTIMIZE__]: Define __scalb to be ldexp. - * math/__scalb.c: New; fn alias for ldexp. - - * stdio/Makefile (tests): Added bug4 and bug5. - * stdio/bug4.c, stdio/bug5.c: Test cases from reported bugs just fixed. - - * stdio/internals.c (flushbuf): If nothing was written by the user, - but there is previously gotten data, don't write anything out. - - * stdio/internals.c (seek_to_target): Call __stdio_check_offset first. - - * sysdeps/unix/sysv/sysv_termio.h: New file. - * sysdeps/unix/sysv/Dist: Include it. - * sysdeps/unix/sysv/tcsetattr.c, sysdeps/unix/sysv/tcsetpgrp.c, - sysdeps/unix/sysv/tcsendbrk.c, sysdeps/unix/sysv/tcgetpgrp.c, - sysdeps/unix/sysv/tcflush.c, sysdeps/unix/sysv/tcdrain.c, - sysdeps/unix/sysv/__tcgetatr.c: New files. - - * stdio/internals.c (fillbuf): Don't set the put_limit on writable - streams. Wait for first write attempt to prime them, so we don't - flush the unchanged data unnecessarily. - - * stdlib/exit.c: Look for NULL terminator on ld set, rather than - using length word. - - * Makefile (headers): Remove stdarg.h and varargs.h. - Users will get them from GCC. - * stdio/printf.h: Include to use va_list. - * stdio/stdio.h: Don't include with magic. - Use PTR in place of __va_list in prototypes. - * stdio/__vsscanf.c, stdio/vscanf.c, stdio/vfscanf.c, - stdio/__vfscanf.c, stdio/vdprintf.c, stdio/vasprintf.c, - stdio/vsprintf.c, stdio/vsnprintf.c, stdio/vprintf.c, - stdio/vfprintf.c: Fixed DEFUNs. - - * sysdeps/ieee754/ieee754.h: New file; declares union ieee754_double. - * sysdeps/ieee754/Dist: Add it. - * sysdeps/ieee754/__copysign.c, sysdeps/ieee754/__infnan.c, - sysdeps/ieee754/__isinf.c, sysdeps/ieee754/__isnan.c, - sysdeps/ieee754/__printf_fp.c: Use it. - - * sysdeps/unix/sysv/uname.c: New. - * sysdeps/unix/sysv/__utssys.S: New. - * sysdeps/unix/sysv/Makefile (routines): Add __utssys. - * sysdeps/unix/sysv/Dist: Add __utssys.S. - - * sysdeps/unix/sysv/__rmdir.c: New; runs `rmdir' shell command. - - * sysdeps/unix/sysv/__mkdir.c: New; runs `mkdir' shell command. - - * sysdeps/generic/__lstat.c: New; fn alias for __stat. - - * sysdeps/unix/sysv/__gethostname.c: New; uses uname. - - * sysdeps/unix/Makefile (sys/params.h): Protect with - _GNU_SYS_PARAM_H, in case the system's file uses _SYS_PARAM_H itself. - - * stdio/internals.c (__stdio_check_offset): Call init_stream to make - sure we have fns. - - * stdio/fread.c: Don't call __fillbf if the put_limit is past the - beginning of the buffer; only if !seen, no buffer, or pushed back. - - * stdio/fopen.c (__getmode): Set create bit for "a" mode. - - * io/mkdir.c: #undef mkdir before fn alias. - - * time/tzfile.c (__tzfile_compute): Don't decrement I if it's zero. - - * Makefile (crt0.o): Use ln -f. - - * math/Makefile (install): Install libm.a. - (libm.a): Make an empty archive. - -Wed Mar 4 19:54:50 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * README.template: Added note about long filenames in dist. - - * io/Makefile (routines): flock -> __flock - * flock.c: New file, fn alias. - * sysdeps/unix/bsd/flock.S: Renamed to sysdeps/unix/bsd/__flock.S; - made __flock. - * sysdeps/mach/hurd/flock.c: Renamed to sysdeps/mach/hurd/__flock.c; - made __flock. - * sysdeps/stub/flock.c: Renamed to sysdeps/stub/__flock.c; made - __flock. - - * time/time.h (__isleap): Fixed; every 400th year is not a leap - year, not every 1000th. - - * stdio/internals.c (flushbuf): Increment the target position the - amount the user wrote into the buffer, not the amount we wrote out - to the file (which is greater if we read a block and modified it - in the middle). - - * stdio/internals.c (flushbuf): Set get_limit to the beginning of - the buffer for all streams, except when we have just read in a block. - -Sat Feb 29 15:56:22 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) - - * posix/Makefile (others): Removed logname, id. - * time/Makefile (others): Removed date. - - * sysdeps/unix/bsd/sun/sun4/start.c: Make an alias called `start' - (no leading underscore, so it can't conflict with C symbols) for - `_start'. - -Thu Feb 27 14:32:20 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) - - * set-init.c: Look for NULL terminator on set. ld is broken and - doesn't set the length word correctly. - - * setjmp/_longjmp.c, signal/sigaction.c, signal/sigvec.c, - signal/ssignal.c, string/bcmp.c, time/setitmr.c, posix/execve.c, - posix/getegid.c, posix/geteuid.c, posix/getgid.c, posix/getuid.c, - posix/getgrps.c, posix/setuid.c, posix/wait3.c, posix/wait4.c, - posix/waitpid.c, io/lseek.c, io/open.c, io/read.c, io/write.c, - resource/getrusage.c, misc/getpgsz.c, misc/gethstnm.c, - misc/select.c: Fixed DEFUNs in fn aliases. - -Wed Feb 26 00:20:25 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) - - * sysdeps/generic/Makefile (routines): Add asincos. - - * time/tzfile.c (__tzfile_compute): Set __tzname properly, so isdst - is the right index into it. - -Tue Feb 25 01:42:16 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) - - * sysdeps/unix/bsd/sun/sun4/sysdep.h (ENTRY): .align 2, not .align 4. - This one is powers of two. - - * time/__tzset.c: If TZ is :FILE, try FILE and if __tzfile_read - fails, then use defaults. - - * sysdeps/generic/Makefile (routines): Add sincos. - - * sysdeps/posix/cuserid.c: Set the result to the empty string on - failure. - - * string/string.h, string/strings.h, sysdeps/i386/memchr.c: Fixed - spelling in comment. - - * string/makefile (tests): Include (uncomment) testcopy. We do have - papers for it from tege. - - * malloc/dist-README: Fixed mailing list addr. - - * resource/sys/vtimes.h (struct vtimes): Renamed vm_outblk to - vm_oublk; fixed comment. - * sysdeps/generic/vtimes.c: Renamed here too. - - * Make-dist (README): Depend on version.c. - -Tue Feb 18 18:14:50 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) - - * Version 1.00. - - * time/tzfile.c (__tzfile_compute): Fixed transition comparison. - - * sysdeps/unix/bsd/sun/sun3/Makefile: Fixed typo. - -Mon Feb 17 05:04:00 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) - - * Version 0.6. - - * Makefile (distribute): Add Q+A. - * Q+A: New doc file from rich@cygnus.com. - - * malloc/Makefile (distribute): Add mcheck-init.c. - -Mon Feb 17 00:39:38 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) - - * sysdeps/unix/sysv/utime.c: Removed. - * sysdeps/unix/sysv/utime.S: New file. - - * sysdeps/unix/sysv/signum.h: New file. - - * sysdeps/unix/sysv/local_lim.h: New file. - - * sysdeps/unix/sysv/sysv_stat.h: New file. - * sysdeps/unix/sysv/__stat.c, sysdeps/unix/sysv/__fstat.c: New files. - * sysdeps/unix/sysv/Makefile: New file. - (+sysdep-routines): Define to sys_stat and sys_fstat. - * sysdeps/unix/sysv/sys_stat.S, sysdeps/unix/sysv/sys_fstat.S: New - files. - * sysdeps/unix/sysv/Dist: Created to include sysv_stat.h, - sys_stat.S, and sys_fstat.S. - - * sysdeps/stub/__setreuid.c: Include . - - * sysdeps/posix/__sigblock.c: Fixed typo. - - * stdio/internals.c (__flshfp): Don't return EOF if at EOF; only - for errors. - - * signal/gnu/signal.h: Move #include outside repeat #ifdef. - - * sysdeps/unix/sysv/filebits.h: Created. - - * misc/Makefile (distribute): Define to bsd-compat.c. - - * misc/Makefile (headers): Remove filebits.h. - * io/Makefile (headers): Put it here. - - * Makefile (+posix_dirs): Add io. - * io/Makefile: New file for new subdir. - Contains many headers and routines moved from posix. - * posix/Makefile: Remove many headers and routines now in io. - * Moved many files from posix to io. - - * stdlib/alloca.h: Get size_t from stddef.h. - - * misc/bsd-compat.c (getgroups): Removed. Not needed, because gid_t - is now the same size as int. - - * Makefile (distribute): Include NOTES. - * NOTES: New file, infoized node from intro.texinfo about the - feature-test macros. - * README.template: Mention NOTES. - - * sysdeps/unix/bsd/sun/sun3/Makefile: include hp9k3bsd version. - - * Makeconfig: Use $(..) for config.status. - - * configure (i386-sysv): unix/i386/sysv, not unix/sysv/i386. - * unix/i386/sysv/Implies: unix/sysv, not unix/i386. - -Sun Feb 16 00:42:53 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) - - * Version 0.5. - - * posix/Makefile (headers): Remove confstr.h. - (distribute): Define this instead to contain it. - - * ansidecl: Added copyright notice. - - * stdio/getdelim.c: New file. - * stdio/getline.c (getsome): Renamed to getdelim and moved there. - * stdio/Makefile (routines): Add getdelim. - * stdio/stdio.h: Declare getdelim. - - * misc/gnu/file.h: Moved to sysdeps/unix/bsd/filebits.h. - * sysdeps/stub/filebits.h: New file. - * misc/Makefile: gnu/file.h is now filebits.h. - * posix/fcntl.h: Changed #include. - - * stdio/getline.c (getsome): If MAX_CANON isn't defined, use a default. - Don't leak old *LINEPTR storage if *N < 2. - Don't bang *LINEPTR to NULL if realloc fails. - - * Makerules: Don't use override when nulling out sources, routines, - and aux if they came from the environment. Better not make with -e. - - * Makefile (sysdirs, Sysnames): Put outside of ifndef sysdirs. - - * string/Makefile (tests): No testcopy, pending papers. - - * Makefile (headers): No sysdep.h. - (distribute): Here instead. - (no-install): No longer needed. - -Sat Feb 15 17:10:38 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) - - * Makefile (distribute): Add INSTALL. - * Make-dist (INSTALL): Make from manual/maint.texinfo. - (README): Make from README.template. - - * Makefile (+other-dirs): Removed inet. - * sysdeps/unix/inet/Subdirs: Created, adding inet. - - * sysdeps/unix/sysv/setrlimit.c: Include stddef and errno.h. - - * math/drem.c, setjmp/longjmp.c, malloc/cfree.c, string/bcmp.c, - time/getitmr.c, misc/ioctl.c: Fixed defuns in function_alias. - - * Makefile (headers): Put sysdep.h back. - (no-install): And define this to it. - * Makerules (+install): Filter out $(no-install) from the list. - - * string/testcopy.c: New test program for bcopy from tege. + * sysdeps/generic/math-type-macros.h: Document + M_STRTO_NAN. + +2016-09-20 Paul E. Murphy + + * math/s_nanf.c: Remove __nanf undef. + * math/s_nan.c: Remove __nan undef. + * math/s_nanl.c: Remove __nanl undef. + + * sysdeps/generic/math_private.h (__nan): Remove macro + override. + (__nanf): Likewise. + (__nanl): Likewise. + +2016-09-20 Paul E. Murphy + + * math/Makefile (gen-all-calls): New variable. + (generated): Replace gen-libm-calls with gen-all-calls. + (gen-libm-templates.stmp): Likewise. Also, ensure + the output directory exists or is created and add + dependency on the Makefile. + (calls): Move s_ldexpF into gen-calls. + (gen-calls): New variable. + + * math/s_ldexpf.c: Removed. + * math/s_ldexpl.c: Removed. + * math/s_ldexp.c: Refactored into ... + * math/s_ldexp_template.c: New file. + + * sysdeps/generic/math-type-macros-double.h: Remove + redundant fall-through definition of declare_mgen_alias. + (declare_mgen_alias_2): New macro. + + * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2): + New macro for function aliased to two exported symbols. + + * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use + new template file. + sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise. + +2016-09-20 Florian Weimer + + * Makeconfig (all-object-suffixes): Remove .og. + * Makerules (elide-routines.og): Remove. + * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove. + * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove. + * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove. + +2016-09-20 Florian Weimer + + * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for + .os objects. + +2016-09-19 Tulio Magno Quites Machado Filho + + [BZ #20615] + * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace + fpu directory by non-fpu. + * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency + on non-fpu directory from a fpu directory. + +2016-09-19 Joseph Myers + + * include/limits.h: Define + __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include + instead of including . + [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise. + * manual/lang.texi (Width of Type): Document these macros. + * stdlib/tst-width.c: New file. + * stdlib/Makefile (tests): Add tst-width. + +2016-09-18 Samuel Thibault + + * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf. + * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl. + +2016-09-15 Adhemerval Zanella + + * nptl/sem_init.c (__new_sem_init): Init pad value to 0. + * sysdeps/sparc/sparc32/sem_open.c: Remove file. + * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise. + +2016-09-15 Adhemerval Zanella + + [BZ #18243] + * rt/Makefile (test): Add tst-shm-cancel. + * rt/tst-shm-cancel.c: New file. + * sysdeps/posix/shm_open.c: Disable asynchronous cancellation. + + [BZ #18243] + * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto. + * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais + definition. + * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for + uncontended case. + * nptl/sem_wait.c (__new_sem_wait): Likewise. + * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point. + (tf): Fix check for uncontended case. + (do_test): Likewise. + * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point. + (tf): Fix check for uncontended case. + (do_test): Likewise. + * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point. + (tf): Fix check for uncontended case. + (do_test): Likewise. + * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point. + (tf): Fix check for uncontended case. + (do_test): Likewise. + + * sysdeps/sparc/sparc32/sem_wait.c: Remove file. + * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise. + + [BZ #15765] + * nptl/Makefile (tests): Add tst-sem16. + * nptl/tst-sem16.c: New file. + * nptl/sem_open.c (sem_open): Disable asynchronous cancellation. + + * nptl/sem_open.c (sem_open): Init pad value to 0. + * sysdeps/sparc/sparc32/sem_open.c: Remove file. + * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise. + +2016-09-15 Florian Weimer + + [BZ #20611] + * inet/Makefile (routines): Add inet6_scopeid_pton. + (tests): Add tst-inet6_scopeid_pton. + * inet/inet6_scopeid_pton.c: New file. + * inet/net-internal.h: Likewise. + * inet/tst-inet6_scopeid_pton.c: New test. + * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton. + * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton. + * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise. + +2016-09-14 Florian Weimer + + Remove support for compiling wrappers with PTW. + * sysdeps/nptl/Makeconfig: Drop ptw- support. + * nptl/Makefile (pthread-compat-wrappers): Define. + (libpthread-routines): Use pthread-compat-wrappers. + * sysdeps/unix/sysv/linux/alpha/Makefile + (libpthread-routines, libpthread-shared-only-routines): Remove + ptw- prefix. + * sysdeps/s390/nptl/Makefile + (libpthread-routines, libpthread-shared-only-routines): Likewise. + * sysdeps/ia64/nptl/Makefile + (libpthread-routines, libpthread-shared-only-routines): Likewise. + * sysdeps/nacl/Makefile (libpthread-routines): Use + pthread-compat-wrappers to filter the routines list instead of the + ptw- prefix. + +2016-09-13 Paul E. Murphy + + * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals + with L() and remove explicit suffix, convert real literals + which can be equivalentally substituted with integers, and + transform -L(x) to L(-x). + + * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise. + * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise. + * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise. + * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise. + * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise. + * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise. + * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise. + * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise. + * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise. + +2016-09-13 Florian Weimer + + * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined. + +2016-09-10 Siddhesh Poyarekar + + * malloc/Makefile (tests): Remove individual static test names + and just add all of tests-static. + + * csu/libc-start.c (__libc_csu_irel): Remove declaration. + +2016-09-07 Joseph Myers + + * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New + file. + + * sysdeps/sparc/fpu/fegetmode.c: New file. + * sysdeps/sparc/fpu/fesetmode.c: Likewise. + + * sysdeps/sh/sh4/fpu/fegetmode.c: New file. + * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise. + + * sysdeps/s390/fpu/fegetmode.c: New file. + * sysdeps/s390/fpu/fesetmode.c: Likewise. + + * sysdeps/powerpc/fpu/fegetmode.c: New file. + * sysdeps/powerpc/fpu/fesetmode.c: Likewise. + * sysdeps/powerpc/nofpu/fegetmode.c: Likewise. + * sysdeps/powerpc/nofpu/fesetmode.c: Likewise. + * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise. + * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise. + + * sysdeps/mips/fpu/fegetmode.c: New file. + * sysdeps/mips/fpu/fesetmode.c: Likewise. + + * sysdeps/m68k/fpu/fegetmode.c: New file. + * sysdeps/m69k/fpu/fesetmode.c: Likewise. + + * sysdeps/ia64/fpu/fegetmode.c: New file. + * sysdeps/ia64/fpu/fesetmode.c: Likewise. + + * sysdeps/hppa/fpu/fegetmode.c: New file. + * sysdeps/hppa/fpu/fesetmode.c: Likewise. + + * sysdeps/arm/fegetmode.c: New file. + * sysdeps/arm/fesetmode.c: Likewise. + + * sysdeps/alpha/fpu/fegetmode.c: New file. + * sysdeps/alpha/fpu/fesetmode.c: Likewise. + + * sysdeps/aarch64/fpu/fegetmode.c: New file. + * sysdeps/aarch64/fpu/fesetmode.c: Likewise. + + * math/fegetmode.c: New file. + * math/fesetmode.c: Likewise. + * sysdeps/i386/fpu/fegetmode.c: Likewise. + * sysdeps/i386/fpu/fesetmode.c: Likewise. + * sysdeps/x86_64/fpu/fegetmode.c: Likewise. + * sysdeps/x86_64/fpu/fesetmode.c: Likewise. + * math/fenv.h: Update comment on inclusion of . + [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function + declaration. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise. + * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New + typedef. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro. + * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] + (femode_t): New typedef. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro. + * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] + (femode_t): New typedef. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro. + * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] + (femode_t): New typedef. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro. + * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] + (femode_t): New typedef. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro. + * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] + (femode_t): New typedef. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro. + * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] + (femode_t): New typedef. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro. + * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] + (femode_t): New typedef. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro. + * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] + (femode_t): New typedef. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro. + * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] + (femode_t): New typedef. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro. + * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] + (femode_t): New typedef. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable + declaration. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro. + * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] + (femode_t): New typedef. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro. + * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] + (femode_t): New typedef. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro. + * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] + (femode_t): New typedef. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro. + * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] + (femode_t): New typedef. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro. + * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] + (femode_t): New typedef. + [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro. + * manual/arith.texi (FE_DFL_MODE): Document macro. + (fegetmode): Document function. + (fesetmode): Likewise. + * math/Versions (fegetmode): New libm symbol at version + GLIBC_2.25. + (fesetmode): Likewise. + * math/Makefile (libm-support): Add fegetmode and fesetmode. + (tests): Add test-femode and test-femode-traps. + * math/test-femode-traps.c: New file. + * math/test-femode.c: Likewise. + * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as + alias for __fe_dfl_env. + * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise. + * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c + (__fe_dfl_mode): Likewise. + * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at + version GLIBC_2.25. + * sysdeps/nacl/libm.abilist: Update. + * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise. + +2016-09-06 H.J. Lu + + [BZ #20495] + [BZ #20508] + * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel + processors, set Use_dl_runtime_resolve_slow and set + Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1. + * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt): + New. + (bit_arch_Use_dl_runtime_resolve_slow): Likewise. + (index_arch_Use_dl_runtime_resolve_opt): Likewise. + (index_arch_Use_dl_runtime_resolve_slow): Likewise. + * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use + _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt + if Use_dl_runtime_resolve_opt is set. Use + _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set. + * sysdeps/x86_64/dl-trampoline.S: Include . + (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512. + (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex. + * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow): + New. + (_dl_runtime_resolve_opt): Likewise. + (_dl_runtime_profile): Define only if _dl_runtime_profile is + defined. + +2016-09-06 Stefan Liebler + + * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so: + __libc_memalign with "+ RELA R_390_GLOB_DAT". + +2016-09-06 Florian Weimer + + Convert malloc to __libc_lock. Automated part, using this Perl + s/// command: + s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init) + \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx; + * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform + conversion. + +2016-09-05 Aurelien Jarno + + * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL). + (linknamespace-symlists-tests): Likewise. + (linknamespace-header-tests): Likewise. + +2016-09-03 Aurelien Jarno + + [BZ #19810] + * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later. + * elf/tst-noload.c: New test case. + * elf/Makefile (tests): Add tst-noload. + +2016-09-02 Roland McGrath + + * sysdeps/nacl/dup.c: Add libc_hidden_def. + + * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's + not any more. + + * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t + +2016-09-02 Siddhesh Poyarekar + + * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline. + (do_cos_slow): Likewise. + (do_sin): Likewise. + (do_sin_slow): Likewise. + (slow): Likewise. + (slow1): Likewise. + (slow2): Likewise. + (sloww): Likewise. + (sloww1): Likewise. + (sloww2): Likewise. + (bsloww): Likewise. + (bsloww1): Likewise. + (bsloww2): Likewise. + (cslow2): Likewise. + + * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin. + + * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input + arguments. Consolidate input partitioning from callers here. + (do_cos_slow): Likewise. + (do_sin): Likewise. + (do_sin_slow): Likewise. + (do_sincos_1): Remove the no longer necessary input partitioning. + (do_sincos_2): Likewise. + (__sin): Likewise. + (__cos): Likewise. + (slow1): Likewise. + (slow2): Likewise. + (sloww1): Likewise. + (sloww2): Likewise. + (bsloww1): Likewise. + (bsloww2): Likewise. + (cslow2): Likewise. + +2016-09-02 Florian Weimer + + * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of + MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic + outside of allocated array. + +2016-09-02 Florian Weimer + + * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX + instead of MB_CUR_MAX to avoid variable-length array. + +2016-09-01 Paul E. Murphy + + * math/Makefile (libm-calls): Remove k_rem_pio2F. + (type-double-routines): Add k_rem_pio2. + (type-float-routines): Add k_rem_pio2f. + + * sysdeps/generic/math_private.h: + (__kernel_rem_pio2l): Removed. + + * math/k_rem_pio2l.c: Removed. + * sysdeps/i386/fpu/k_rem_pio2l.c: Removed. + * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed. + * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed. + * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed. + +2016-09-01 Paul E. Murphy + + * math/Makefile (gen-libm-calls): Add s_fmin + (libm-calls): Remove above. + + * math/s_fmin.c: Refactor into ... + * math/s_fmin_template.c: New file. + + * math/s_fminf.c: Removed. + * math/s_fminl.c: Removed. + * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: + (LDOUBLE_fmin_libm_version): New macro. + + * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed. + * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed. + +2016-09-01 Paul E. Murphy + + * math/Makefile: (gen-libm-calls): Add s_fmax. + (libm-calls): Remove above. + + * math/s_fmax.c: Refactor into ... + * math/s_fmax_template.c: New file. + * math/s_fmaxf.c: Removed. + * math/s_fmaxl.c: Removed. + + * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: + (LDOUBLE_fmaxl_libm_version): New macro. + + * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed. + * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed. + + * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of + s_fmin.c to pick the aarch64 version of the file. + * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise. + * sysdeps/aarch64/fpu/s_fminf.c: Likewise. + +2016-09-01 Paul E. Murphy + + * math/Makefile: (gen-libm-calls): Add s_nextdown. + (libm-calls): Remove above. + + * math/s_nextdown.c: Refactor into ... + * math/s_nextdown_template.c: New file. + * math/s_nextdownf.c: Removed. + * math/s_nextdownl.c: Removed. + + * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file. + +2016-09-01 Paul E. Murphy + + * math/Makefile (gen-libm-calls): Add s_fdim. + (libm-calls): Move to above. + + * math/s_fdim.c: Renamed and refactored into to ... + * math/s_fdim_template.c: New file. + * math/s_fdiml.c: Removed. + * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed. + * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed. + + * sysdeps/generic/math-type-macros-double.h: + (declare_mgen_alias): Don't declare if already declared. + * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: + Likewise. + + * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: + (declare_mgen_alias): Don't declare if already declared. + (M_LIBM_NEED_COMPAT): Likewise. + (declare_mgen_libm_compat): Likewise. + (LDOUBLE_fdiml_libm_version): New macro. + + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: + Include math/s_fdim.c now that ldbl-opt version is not needed. + (declare_mgen_alias): New macro to disable aliasing. + + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c: + (declare_mgen_alias): Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: + (declare_mgen_alias): Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: + (declare_mgen_alias): Likewise. + (M_LIBM_NEED_COMPAT): Likewise. + +2016-09-01 Florian Weimer + + [BZ #20525] + * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright. + Include . + (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob + and btodb. + (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES) + (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA) + (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH) + (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS) + (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME) + (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE) + (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove. + (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t + types. + * sysdeps/unix/sysv/linux/tst-quota.c: New test. + * sysdeps/unix/sysv/linux/Makefile (tests): Add it. + +2016-08-31 Paul E. Murphy + + * sysdeps/ieee754/ldbl-128/e_gammal_r.c: + (gammal_positive): Fix spacing. + (__ieee754_gammal_r): Likewise. + +2016-08-31 Paul E. Murphy + + * sysdeps/ieee754/ldbl-128/math_ldbl.h: + (_Float128): Define as long double, always. + (L): Apply long double type suffix, always. + + * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double + _Float128, excepting comments. + + * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise. + * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise. + * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise. + * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise. + * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise. + * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise. + * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise. + * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise. + * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise. + * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise. + + * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double + _Float128, and include math_private.h. + * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise. + + * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using + long double semantics. + (_Float128): Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise. + +2016-08-31 Stefan Liebler + + * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine. + * sysdeps/s390/configure.ac: Add test for z196 zarch support. + * sysdeps/s390/configure: Regenerated. + * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra + instruction for raising over-/underflow if z196 zarch is supported + by default. + * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment. + +2016-08-30 Svante Signell + + * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make + it point to a dumb buffer for RPC to fill it. + +2016-08-30 Siddhesh Poyarekar + + * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary + instead of if/else. + (do_sin_slow): Likewise. + (do_sincos_1): Use fabs instead of if/else. + (do_sincos_2): Likewise. + (__sin): Likewise. + (__cos): Likewise. + (slow2): Likewise. + (sloww): Likewise. + (sloww1): Likewise. Drop argument M. + (sloww2): Use fabs instead of if/else. + (bsloww): Likewise. + (bsloww1): Likewise. + (bsloww2): Likewise. + + * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add + fall through comment. + (do_sincos_1): Likewise. + + * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): + Consolidate switch cases 0 and 2. + +2016-08-29 Paul E. Murphy + + * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj. + (libm-calls): Remove the above. + + * math/s_cexp_template.c: Update using type-generic macros. + * math/s_clog10_template.c: Likewise. + * math/s_cpow_template.c: Likewise. + * math/s_clog_template.c: Likewise. + * math/s_cproj_template.c: Likewise. + * math/s_csqrt_template.c: Likewise. + + * math/s_cexp.c: Removed. + * math/s_cexpf.c: Removed. + * math/s_cexpl.c: Removed. + * math/s_clog10.c: Removed. + * math/s_clog10f.c: Removed. + * math/s_clog10l.c: Removed. + * math/s_cpow.c: Removed. + * math/s_cpowf.c: Removed. + * math/s_cpowl.c: Removed. + * math/s_clog.c: Removed. + * math/s_clogf.c: Removed. + * math/s_clogl.c: Removed. + * math/s_cproj.c: Removed. + * math/s_cprojf.c: Removed. + * math/s_cprojl.c: Removed. + * math/s_csqrt.c: Removed. + * math/s_csqrtf.c: Removed. + * math/s_csqrtl.c: Removed. + + * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version. + * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version. + * sysdeps/alpha/fpu/s_clogf.c: Update using templated version. + * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version. + * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version. + * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version. + + * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed. + * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed. + * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed. + * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed. + * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed. + * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed. + * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed. + * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed. + * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed. + * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed. + * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed. + + * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated + version. + + * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into. + * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file. + * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed. + * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed. + +2016-08-29 Paul E. Murphy + + * s_cexp_template.c: Copy of s_cexp.c. + * s_clog_template.c: Copy of s_clog.c. + * s_clog10_template.c: Copy of s_clog10.c. + * s_cpow_template.c: Copy of s_cpow.c. + * s_cproj_template.c: Copy of s_cproj.c. + * s_csqrt_template.c: Copy of s_csqrt.c. + +2016-08-29 Paul E. Murphy + + [BZ #20517] + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: + Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is + exported. + +2016-08-29 Joseph Myers + + * math/fetestexceptflag.c: New file. + * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by + Stefan Liebler. + * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] + (fetestexceptflag): New function declaration. + * manual/arith.texi (fetestexceptflag): Document function. + * math/Versions (fetestexceptflag): New libm symbol at version + GLIBC_2.25. + * math/Makefile (libm-support): Add fetestexceptflag. + (tests): Add test-fetestexceptflag. + * math/test-fetestexceptflag.c: New file. + * sysdeps/nacl/libm.abilist: Update. + * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise. + +2016-08-26 Florian Weimer + + [BZ #20432] + Avoid strong references to malloc-internal symbols when linking + statically, to support statically interposed mallocs. + * include/libc-symbols.h (call_function_static_weak): New macro. + * malloc/Makefile (tests): Add tst-interpose-nothread, + tst-interpose-thread, tst-interpose-static-nothread, + tst-interpose-static-thread. + (tests-static): Add tst-interpose-static-nothread, + tst-interpose-static-thread. + (extra-tests-objs): Add tst-interpose-aux-nothread.o, + tst-interpose-aux-thread.o. + (test-extras): Add tst-interpose-aux-nothread, + tst-interpose-aux-thread. + (tst-interpose-nothread, tst-interpose-static-nothread): Link with + tst-interpose-aux-nothread.o. + (tst-interpose-thread, tst-interpose-static-thread): Link with + tst-interpose-aux-thread.o and libthread. + * malloc/tst-interpose-aux-nothread.c: New file. + * malloc/tst-interpose-aux-thread.c: Likewise. + * malloc/tst-interpose-aux.c: Likewise. + * malloc/tst-interpose-aux.h: Likewise. + * malloc/tst-interpose-nothread.c: Likewise. + * malloc/tst-interpose-skeleton.c: Likewise. + * malloc/tst-interpose-static-nothread.c: Likewise. + * malloc/tst-interpose-static-thread.c: Likewise. + * malloc/tst-interpose-thread.c: Likewise. + * nptl/tst-tls3-malloc.c: Use new interposed malloc. + * sysdeps/mach/hurd/fork.c (__fork): Only call + __malloc_fork_lock_parent, __malloc_fork_unlock_parent, + __malloc_fork_unlock_child if defined. + * sysdeps/nptl/fork.c (__libc_fork): Likewise. + +2016-08-26 Adhemerval Zanella + + * test-skeleton.c (delayed_exit_thread): Add initializer on struct + timespec C99 designated initialization. + +2016-08-26 Florian Weimer + + [BZ #19946] + Avoid expected SIGALRM signals. + * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock) + (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait) + (xpthread_create, xpthread_detach, xpthread_join) + (delayed_exit_thread, delayed_exit): New functions. + * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove. + (tf): Use xpthread_cond_wait. + (do_test): Likewise. Replace alarm with delayed_exit. + * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove. + (do_test): Call delayed_exit. Report failure. + * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove. + (do_test): Call delayed_exit. + * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove. + (do_test): Call delayed_exit. Use xpthread_join. Report error. + * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove. + (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report + error. + * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove. + (do_test): Call delayed_exit. Use xpthread_cond_wait. Report + error. + * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove. + (do_test): Call delayed_exit. + * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove. + (do_test): Call delayed_exit. + * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove. + (do_test): Call delayed_exit instead of alarm. Use + xpthread_mutex_lock. + * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove. + (do_test): Call delayed_exit instead of alarm. Use + xpthread_mutex_lock. + * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove. + (do_test): Call delayed_exit instead of alarm. + * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove. + (do_test): Call delayed_exit instead of alarm. Use + xpthread_spin_lock. + * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove. + (do_test): Call delayed_exit instead of alarm. Use + xpthread_join. + +2016-08-26 H.J. Lu + + * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't + adjust CFA when allocating register save area on re-aligned + stack. + +2016-08-26 Florian Weimer + + * string/tst-cmp.c: New test. * string/Makefile (tests): Add it. - * Makefile (sysdep-subdirs): Renamed to sysd-dirs. +2016-08-25 Mark Wielaard - * Make-dist (tardir): Omit the release name; it made names too long. + * misc/tsearch.c (struct node_t): Reduce to 3 pointers if + USE_MALLOC_LOW_BIT. Define pointer/value accessors. + (check_tree_recurse): Use newly defined accessors. + (check_tree): Likewise. + (maybe_split_for_insert): Likewise. + (__tfind): Likewise. + (__tdelete): Likewise. + (trecurse): Likewise. + (tdestroy_recurse): Likewise. + (__tsearch): Likewise. And add asserts for malloc alignment. + (__twalk): Cast root to node in case CHECK_TREE is defined. -Sat Feb 15 12:53:02 1992 Torbjorn Granlund (tege at mole.gnu.ai.mit.edu) +2016-08-21 Samuel Thibault - * sysdeps/rs6000/memcopy.h (WORD_COPY_FWD, WORD_COPY_BWD): - Use CTR register for looping (speed enhancement). Don't emit - labels, jump relative from `$' instead (makes multiple expansions - possible). Clean up indentation of asm code (were different in each - macro). - * sysdeps/rs6000/memcopy.h (WORD_COPY_BWD): - Add asm output specs (were missing completely). + * scripts/check-local-headers.sh (exclude): Add mach_debug/. - * sysdeps/generic/{memcpy.c,memmove.c}: Make DSTP and SRCP unsigned - (safer with non-ANSI compilers). +2016-08-19 Paul E. Murphy -Fri Feb 14 01:52:12 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) + * math/Makefile (libm-gen-calls): Add + catan, catanh, ctan, ctanh. + (libm-calls): Remove the above. - * Version 0.4.1. + * math/s_catan_template.c: Update using type-generic macros. + * math/s_catanh_template.c: Likewise. + * math/s_ctan_template.c: Likewise. + * math/s_ctanh_template.c: Likewise. - * Makefile, Rules: Changed clean and clobber targets into - mostlyclean, clean, and realclean. + * math/s_catanf.c: Removed. + * math/s_catan.c: Removed. + * math/s_catanl.c: Removed. + * math/s_catanhf.c: Removed. + * math/s_catanh.c: Removed. + * math/s_catanhl.c: Removed. + * math/s_ctanf.c: Removed. + * math/s_ctan.c: Removed. + * math/s_ctanl.c: Removed. + * math/s_ctanhf.c: Removed. + * math/s_ctanh.c: Removed. + * math/s_ctanhl.c: Removed. - * Makeconfig: Added comments describing objdir/Makeconfig and - editting Makeconfig. - (prefix, libdir, INSTALL, INSTALL_DATA): New variables for installing. - * Makerules (install): New target. - * Makefile (+subdir_targets): Add subdir_install. - (install): Depend on subdir_install. - (install-lib): Define variable to install libc.a and crt0.o. - * misc/Makefile (install-lib): Install bsd-compat. - * malloc/Makefile (install-lib): Install mcheck-init. + * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed. + * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed. + * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed. + * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed. + * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed. + * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed. - * Version 0.4. + * sysdeps/alpha/fpu/s_catanf.c: Update to use template file. + * sysdeps/alpha/fpu/s_catanhf.c: Likewise. + * sysdeps/alpha/fpu/s_ctanf.c: Likewise. + * sysdeps/alpha/fpu/s_ctanhf.c: Likewise. -Thu Feb 13 21:39:31 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) +2016-08-19 Paul E. Murphy - * sysdeps/unix/glue-ctype.c: Moved to unix/bsd. - * sysdeps/unix/Makefile: Moved glue-ctype stuff to unix/bsd/Makefile. - * sysdeps/unix/Dist: No glue-ctype. - * sysdeps/unix/bsd/Dist: Here instead. + * s_catan_template.c: Copy of s_catan.c. + * s_catanh_template.c: Copy of s_catanh.c. + * s_ctan_template.c: Copy of s_ctan.c. + * s_ctanh_template.c: Copy of s_ctanh.c. - * sysdeps/sparc/divrem.m4: Don't use insn aliases Sun as doesn't grok. +2016-08-19 Paul E. Murphy -Wed Feb 12 12:12:12 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) + * math/Makefile (gen-libm-calls): Move + casin, casinh, csin, csinh here. + (libm-calls): Remove the above. - * sysdeps/m68k/setjmp.c: Use m, rather than g, constraint when - saving fp regs. + * math/s_casin_template.c: Update using type-generic macros. + * math/s_casinh_template.c: Likewise. + * math/s_csin_template.c: Likewise. + * math/s_csinh_template.c: Likewise. + * math/k_casinh_template.c: Likewise. - * Renamed oodles of files, changed all the relevant Makefiles (I - think). File names now fit in 14 chars for losing System V. Gag me - with a death star. - See =longnames for translations, and =shorten.el for method. + * math/s_casinf.c: Removed. + * math/s_casin.c: Removed. + * math/s_casinl.c: Removed. + * math/s_casinh.c: Removed. + * math/s_casinhf.c: Removed. + * math/s_casinhl.c: Removed. + * math/s_csin.c: Removed. + * math/s_csinf.c: Removed. + * math/s_csinl.c: Removed. + * math/s_csinh.c: Removed. + * math/s_csinhf.c: Removed. + * math/s_csinhl.c: Removed. + * math/k_casinh.c: Removed. + * math/k_casinhf.c: Removed. + * math/k_casinhl.c: Removed. - * grp/initgroups.c: Removed redundant test. + * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version. + * sysdeps/alpha/fpu/s_casinhf.c: Likewise. + * sysdeps/alpha/fpu/s_csinf.c: Likewise. + * sysdeps/alpha/fpu/s_csinhf.c: Likewise. - * malloc/mtrace.c: Use %p fmt for pointers. + * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed. + * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed. + * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed. + * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed. + * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed. + * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed. + * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed. + * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed. -Tue Feb 11 02:04:39 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ... + * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file. + * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed. + * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed. - * stdlib/alloca.h: New file. - * stdlib/stdlib.h: Moved alloca decls there; #include + * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into. + * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file. + * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed. + * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed. + +2016-08-19 Paul E. Murphy + + * s_casin_template.c: Copy of s_casin.c. + * s_casinh_template.c: Copy of s_casinh.c. + * s_csin_template.c: Copy of s_csin.c. + * s_csinh_template.c: Copy of s_csinh.c. + * k_casinh_template.c: Copy of k_casinh.c. + +2016-08-19 H.J. Lu + + * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2). + +2016-08-19 Paul E. Murphy + + * sysdeps/ieee754/ldbl-128/gamma_productl.c: + (mul_split) Remove, rename as mul_splitl, remove + redundant float.h include, and include via mul_splitl.h + + * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise. + * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise. + * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise. + * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise. + * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise. + + * math/mul_splitl.h: New file. + + * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split): + Move into mul_split.h, and remove redundant float.h include. + + * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise. + * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise. + + * math/mul_split.h: New file. + +2016-08-19 Paul E. Murphy + + * math/Makefile (libm-gen-calls): Move + s_cacos, s_cacosh, s_ccos, s_ccosh from ... + (libm-calls): Remove above. + + * math/s_cacos_template.c: Update using type-generic macros. + * math/s_cacosh_template.c: Likewise. + * math/s_ccos_template.c: Likewise. + * math/s_ccosh_template.c: Likewise. + + * math/s_cacosf.c: Removed. + * math/s_cacos.c: Removed. + * math/s_cacosl.c: Removed. + * math/s_cacoshf.c: Removed. + * math/s_cacosh.c: Removed. + * math/s_cacoshl.c: Removed. + * math/s_ccosf.c: Removed. + * math/s_ccos.c: Removed. + * math/s_ccosl.c: Removed. + * math/s_ccoshf.c: Removed. + * math/s_ccosh.c: Removed. + * math/s_ccoshl.c: Removed. + + * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed. + * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed. + * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed. + * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed. + * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed. + * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed. + + * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into. + * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file. + * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed. + * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed. + + * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file. + * sysdeps/alpha/fpu/s_cacoshf.c: Likewise. + * sysdeps/alpha/fpu/s_ccosf.c: Likewise. + * sysdeps/alpha/fpu/s_ccoshf.c: Likewise. + +2016-08-19 Paul E. Murphy + + * s_cacos_template.c: Copy of s_cacos.c. + * s_cacosh_template.c: Copy of s_cacosh.c. + * s_ccos_template.c: Copy of s_ccos.c. + * s_ccosh_template.c: Copy of s_ccosh.c. + +2016-08-19 Paul E. Murphy + + * stdlib/tst-strtod-round-skeleton.c: + Refactored from tst-strtod-round.c. + + (L_): New macro to apply literal modifier. + (FNPFX): New macro to select str or wcs prefix. + (CHAR): New macro to choose wchar_t or char. + (STRM): New macro to choose printf for tested character type. + + (STRTO): New macro to choose appropriate string -> real function. + (FNPFXS): Stringitized version of FNPFX. + (STR): Support for above macro. + (STRX): Likewise. + + (TEST): Update with above macros. + (test): Likewise. + (GEN_ONE_TEST): Likewise. + (test_in_one_mode): Likewise. + + * stdlib/tst-strtod-round.c: New file. + * wcsmbs/tst-wcstod-round.c: New file. + + * wcsmbs/Makefile: (tests): Add tst-wcstod-round + (tst-wcstod-round): Add libm depencency for fesetround. + +2016-08-19 Zack Weinberg + + * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero. + +2016-08-18 Torvald Riegel + + [BZ #20477] + * resolv/res_hconf.c (do_init): Use atomic access. + * resolv/res_hconf.h: Add comments. + * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally. + * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise. + * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise. + +2016-08-18 Stefan Liebler + + * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): + Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning. + * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): + Likewise. + +2016-08-18 Florian Weimer + + [BZ #16907] + * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS. + (__THROW, __NTH, __attribute__, __restrict): Remove definitions. + * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS. + (__attribute__): Remove definition. + +2016-08-17 Paul E. Murphy + + * sysdeps/ieee754/ldbl-128/e_asinl.c: + Remove unused sqrtl declaration. + +2016-08-17 Paul E. Murphy + + * math/Makefile: (gen-libm-templates.stmp): New rule. + (libm-calls): Move carg conj cimag and cabs into ... + (gen-libm-calls): New variable. + (generated): Inform Make objects from gen-libm-calls + may be generated. + + * sysdeps/generic/math-type-macros.h: New file. + * sysdeps/generic/math-type-macros-float.h: Likewise. + * sysdeps/generic/math-type-macros-double.h: Likewise. + * sysdeps/generic/math-type-macros-ldouble.h: Likewise. + * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise. + * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise. + + * math/cabs.c: Refactor into + * math/cabs_template.c: new file. + * math/cabsf.c: Removed. + * math/cabsl.c: Removed. + * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed. + * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed. + + * math/carg.c: Refactor into + * math/carg_template.c: new file. + * math/cargf.c: Removed. + * math/cargl.c: Removed. + * sysdeps/ieee754/ldbl-opt/cargf.c: Removed. + * sysdeps/ieee754/ldbl-opt/cargl.c: Removed. + + * math/conj.c: Refactor into + * math/conj_template.c: new file. + * math/conjf.c: Removed. + * math/conjl.c: Removed. + * sysdeps/ieee754/ldbl-opt/conjf.c: Removed. + * sysdeps/ieee754/ldbl-opt/conjl.c: Removed. + + * math/cimag.c: Refactor into + * math/cimag_template.c: new file. + * math/cimagf.c: Removed. + * math/cimagl.c: Removed. + * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed. + * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed. + + * math/cimag.c: Refactor into + * math/cimag_template.c: new file. + * math/cimagf.c: Removed. + * math/cimagl.c: Removed. + * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed. + * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed. + +2016-08-17 Florian Weimer + + Reduce time to expected nptl/tst-once5 failure. + * nptl/tst-once5.cc (TIMEOUT): Define. + +2016-08-17 Florian Weimer + + [BZ #20452] + Avoid additional copies of objects in libc.a in static libraries. + * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines): + Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask. + * sysdeps/mips/Makefile (librt-shared-only-routines): Add + rt-sysdep. + * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines): + Add nptl-sysdep. + * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines): + Add ptw-sysdep. + * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add + rt-sysdep. + * sysdeps/unix/sysv/linux/alpha/Makefile + (libpthread-shared-only-routines): Add ptw-sysdep, + ptw-sigprocmask, ptw-rt_sigaction. + * sysdeps/unix/sysv/linux/ia64/Makefile + (librt-shared-only-routines): Add rt-sysdep. + * sysdeps/unix/sysv/linux/i386/Makefile + (libpthread-shared-only-routines): Add libc-do-syscall. + * sysdeps/unix/sysv/linux/microblaze/Makefile + (libpthread-shared-only-routines): Add sysdep. + * sysdeps/unix/sysv/linux/powerpc/Makefile + (librt-shared-only-routines): Add rt-sysdep. + (libpthread-shared-only-routines): Add sysdep. + * sysdeps/unix/sysv/linux/s390/Makefile + (librt-shared-only-routines): Add rt-sysdep. + * sysdeps/unix/sysv/linux/sparc/Makefile + (librt-shared-only-routines): Add rt-sysdep. + (libpthread-shared-only-routines): Add sysdep. + * sysdeps/unix/sysv/linux/tile/Makefile + (libpthread-shared-only-routines): Likewise. + +2016-08-16 Joseph Myers + + * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E): + Mask implicit bit out of unpacked value. + [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise. + + * sysdeps/sparc/fpu/fesetexcept.c: New file. + + * sysdeps/sh/sh4/fpu/fesetexcept.c: New file. + + * sysdeps/s390/fpu/fesetexcept.c: New file. + + * sysdeps/powerpc/fpu/fesetexcept.c: New file. + * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise. + * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise. + + * sysdeps/mips/fpu/fesetexcept.c: New file. + + * sysdeps/m68k/fpu/fesetexcept.c: New file. + + * sysdeps/ia64/fpu/fesetexcept.c: New file. + + * sysdeps/hppa/fpu/fesetexcept.c: New file. + + * sysdeps/arm/fesetexcept.c: New file. + + * sysdeps/alpha/fpu/fesetexcept.c: New file. + + * sysdeps/aarch64/fpu/fesetexcept.c: New file. + + * math/fesetexcept.c: New file. + * sysdeps/i386/fpu/fesetexcept.c: Likewise. + * sysdeps/x86_64/fpu/fesetexcept.c: Likewise. + * math/fenv.h: Define + __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include + instead of including . + [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function + declaration. + * manual/arith.texi (fesetexcept): Document function. + * math/Versions (fesetexcept): New libm symbol at version + GLIBC_2.25. + * math/Makefile (libm-support): Add fesetexcept. + (tests): Add test-fesetexcept and test-fesetexcept-traps. + * math/test-fesetexcept.c: New file. + * math/test-fesetexcept-traps.c: Likewise. + * sysdeps/nacl/libm.abilist: Update. + * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise. + +2016-08-16 Florian Weimer + + * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb): + New. + (do_test): Apply default_stack_size_in_mb if not set. + * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default. + +2016-08-15 Andreas Schwab + + [BZ #20435] + CVE-2016-6323 + * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark + as .cantunwind. + +2016-08-12 Joseph Myers + + * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add + comment from fraiseexcpt.c. + + * math/test-fexcept.c (feraiseexcept_exact): New function. + (test_set): Call feraiseexcept_exact instead of feraiseexcept. + (test_except): Likewise. + +2016-08-10 Joseph Myers + + [BZ #20455] + * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out + all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified + to be restored. + + * math/test-fexcept-traps.c: New file. + * math/test-fexcept.c: Likewise. + * math/Makefile (tests): Add test-fexcept and test-fexcept-traps. + * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New + macro. + * sysdeps/powerpc/math-tests.h [!__NO_FPRS__] + (EXCEPTION_SET_FORCES_TRAP): Likewise. + +2016-08-09 Torvald Riegel + + * include/atomic.h (atomic_fetch_and_relaxed, + atomic_fetch_and_release, atomic_fetch_or_release, + atomic_fetch_xor_release): New. + +2016-08-06 Christian Seiler + + [BZ #20444] + * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being + MACH_PORT_NULL. + +2016-08-05 Aurelien Jarno + + * math/s_fdim.c: Avoid alias renamed. + * math/s_fdimf.c: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile + [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines): + Add s_fdimf-vis3, s_fdim-vis3. + (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3. + (CFLAGS-s_fdim-vis3.c): Likewise. + sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file. + sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise. + +2016-08-05 Aurelien Jarno + + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile + [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines): + Remove s_fdimf-vis3, s_fdim-vis3. + * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file. + * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise. + * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise. + * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise. + +2016-08-05 Aurelien Jarno + + * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis. + * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to + -Wa,-Av9a -mvis. + +2016-08-05 Paul E. Murphy + + * math/gen-libm-test.pl (apply_lit): Rewrite to apply + LIT() to individual constants in simple expressions + after splitting on spaces. + (_apply_lit): Rename replaced version, and use it to + apply to what appears to be a token. + + * math/libm-test.inc: Fix many, many issues with + spacing. + +2016-08-05 Joseph Myers + + * math/math.h: Move comment about definitions + above inclusion of . Do not mention + FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment. + +2016-08-05 Torvald Riegel + + * include/atomic.h (atomic_exchange_relaxed): New. + +2016-08-04 Joseph Myers + + * math/e_scalb.c: Do not include . + (invalid_fn): Do calculation resulting in NaN instead of raising + FE_INVALID and returning a NaN explicitly. + * math/e_scalbf.c: Do not include . + (invalid_fn): Do calculation resulting in NaN instead of raising + FE_INVALID and returning a NaN explicitly. + * math/e_scalbl.c: Do not include . + (invalid_fn): Do calculation resulting in NaN instead of raising + FE_INVALID and returning a NaN explicitly. + +2016-08-04 Carlos O'Donell + + * po/de.po: Updated from Translation Project. + * po/fi.po: Likewise. + * po/sv.po: Likewise. + +2016-08-04 Florian Weimer + + [BZ #20452] + Use sysdep.o from libc.a in static libraries. + * sysdeps/unix/sysv/linux/i386/Makefile + (libpthread-shared-only-routines): Add sysdep. + (librt-shared-only-routines): Likewise. + +2016-08-03 Joseph Myers + + * math/tgmath.h (nextdown): Define if + [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU]. + (nextup): Likewise. + + * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New + macro. + * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__): + Document. + * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__): + Document macro. + * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015. + (exp10f): Likewise. + (exp10l): Likewise. + * math/bits/mathcalls.h (exp10): Declare if + [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU]. + + * manual/arith.texi (nextup): Fix typo in last change. + +2016-08-03 Zack Weinberg + + [BZ #19239] + * NEWS: Inclusion of by is deprecated. + * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined, + define major, minor, and makedev to issue deprecation warnings on use. + If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress + previously-activated deprecation warnings for these macros and prevent + subsequent inclusions of this header from having any effect. + * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before + including , and undefine it again afterward. + +2016-08-03 Zack Weinberg + + * sysdeps/generic/sys/sysmacros.h: Delete file. + * sysdeps/unix/sysv/linux/makedev.c: Delete file. + * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ... + * bits/sysmacros.h: ... here; this encoding is now the generic + encoding. Now defines only the following macros: + __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR, + __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR, + __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV. + + * misc/sys/sysmacros.h, misc/makedev.c: New files that use + bits/sysmacros.h and the above new macros to generate the + public implementations of major, minor, and makedev. + * misc/tst-makedev.c: New test. + * include/sys/sysmacros.h: New wrapper. + + * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h. + (routines): Add makedev. + (tests): Add tst-makedev. + * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor, + gnu_dev_makedev. + * posix/Makefile (headers): Remove sys/sysmacros.h. + * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev. + + * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25, + gnu_dev_major, gnu_dev_makedev, gnu_dev_minor. + * sysdeps/unix/sysv/linux/aarch64/libc.abilist + * sysdeps/unix/sysv/linux/alpha/libc.abilist + * sysdeps/unix/sysv/linux/arm/libc.abilist + * sysdeps/unix/sysv/linux/hppa/libc.abilist + * sysdeps/unix/sysv/linux/i386/libc.abilist + * sysdeps/unix/sysv/linux/ia64/libc.abilist + * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist + * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist + * sysdeps/unix/sysv/linux/microblaze/libc.abilist + * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist + * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist + * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist + * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist + * sysdeps/unix/sysv/linux/nios2/libc.abilist + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist + * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist + * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist + * sysdeps/unix/sysv/linux/sh/libc.abilist + * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist + * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist + * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist + * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist + * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: + Add GLIBC_2.25. + + * include/features.h (__glibc_clang_prereq): New macro. + * misc/sys/cdefs.h (__glibc_clang_has_extension) + (__attribute_deprecated_msg__): New macros. + +2016-08-03 Joseph Myers + + * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New + macro. + * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document. + * manual/arith.texi (issignaling): Document as ISO from TS + 18661-1:2014. + (nextup): Likewise. + (nextupf): Likewise. + (nextupl): Likewise. + (nextdown): Likewise. + (nextdownf): Likewise. + (nextdownl): Likewise. + * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document + macro. + * math/math.h: Define + __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include + instead of including . + (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not + [__USE_GNU]. + * math/bits/mathcalls.h (nextdown): Declare if + [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU]. + (nextup): Likewise. + (__issignaling): Likewise. + +2016-08-03 Paul E. Murphy + + * s_ccoshf.c (__ccoshf): Remove FE_INVALID + check, and remove __glibc_likely hint + from FP_INFINITE check. + * s_csinhf.c (__csinhf): Likewise. + + * s_ccoshl.c (__ccoshl): Remove __glibc_likely + hint from FP_INFINITE check. + * s_csinhl.c (__csinhl): Likewise. + +2016-08-03 Paul E. Murphy + + * math/Makefile (libm-calls): Insert F placeholder into + object names. Move w_lgamma_compat* routines into + (libm-compat-calls): New variable. + (libm-compat-calls-ldouble-yes): New variable. + (calls): Insert F placeholder. + (generated): Redefine using new type-foreach macro call. + (routines): Likewise. + + (types): New variable to hold a list of symbolic names + for each type supported by the target machine. + (libm-routines): Redefine using new types variable. + (type-foreach): macro to replace fooF with the + appropriately suffixed foo for each types. + + (type-ldouble-suffix): New variable. + (type-ldouble-routines): Likewise. + (type-ldouble-yes): Likewise. + (type-double-suffix): Likewise. + (type-double-routines): Likewise. + (type-float-suffix): Likewise. + (type-float-routines): Likewise. + + (dbl-only-routines): Remove. + (long-c-yes): Likewise. + (long-m-routines): Likewise. + (long-m-support): Likewise. + (long-m-yes): Likewise. + (test-longdouble-yes): Likewise. + + (test-float.o): Simplify by increasing the scope of the + recipe which adds libm-test.stmp to the vector types. + (test-ifloat.o): Likewise. + (test-float-finite.o): Likewise. + (test-double.o): Likewise + (test-idouble.o): Likewise. + (test-double-finite.o): Likewise. + (test-ldouble.o): Likewise + (test-ildoubl.o): Likewise. + (test-ldouble-finite.o): Likewise. + + (libm-tests): Redefine type tests using foreach and the + list of types in types. + + (CPPFLAGS-test-ildoubl.c): Rename to + (CPPFLAGS-test-ildouble.c): New variable + + * math/test-ildoubl.c: Rename to + * math/test-ildouble.c: New file. + +2016-08-03 Paul E. Murphy + + * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl): + Use fabsl instead of fabs. + * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): + Likewise. + * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl): + Add long double suffix to constant to ensure proper + promotion to long double. + +2016-08-03 Tom Tromey + + [BZ #20311] + * nptl_db/Makefile (headers): Add proc_service.h. + * nptl_db/proc_service.h: Add include guard. Use + __BEGIN/__END_DECLS. + (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop) + (ps_lcontinue): Remove "const" from "struct ps_prochandle *" + arguments. + + +2016-08-03 Florian Weimer + + [BZ #17730] + Avoid using memalign for TCB allocations. + * elf/dl-tls.c (tcb_to_pointer_to_free_location): New. + (_dl_allocate_tls_storage): Use malloc and manual alignment. + Avoid alignment gap in the TLS_DTV_AT_TP case. + (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to + determine the pointer to free. + * nptl/tst-tls3-malloc.c: New test. + * nptl/Makefile (tests): Add it. + (tst-tls3-malloc): Link with libdl, libpthread. + (LDFLAGS-tst-tls3-malloc): Set. + (tst-tls3-malloc.out): Depend on DSO used in test. + +2016-08-03 Florian Weimer + + [BZ #17730] + Avoid using memalign for TLS allocations. + * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces + is_static member with to_free member. + (union dtv): Use struct dtv_pointer. + * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct + dtv_pointer instead of is_static. + * elf/dl-tls.c (_dl_allocate_tls_init): Likewise. + (_dl_deallocate_tls): Free to_free member of struct dtv_pointer + instead of val. + (allocate_dtv_entry): New function. + (allocate_and_init): Return struct dtv_pointer. Call + allocate_dtv_entry instead of __libc_memalign. + (_dl_update_slotinfo): Free to_free member of struct dtv_pointer + instead of val. + (tls_get_addr_tail): Set to_free member of struct dtv_pointer + instead of is_static. Adjust call to allocate_and_init. + * nptl/allocatestack.c (get_cached_stack): Free to_free member of + struct dtv_pointer instead of val. + +2016-08-03 Florian Weimer + + * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT) + (MALLOC_ALIGN_MASK): Move ... + * malloc/malloc-internal.h: ... to here. + * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT. + +2016-08-03 Joseph Myers + + * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro. + (UDP_ENCAP_GTP1U): Likewise. + + * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro. + (PF_MAX): Update value. + (AF_QIPCRTR): New macro. + +2016-08-03 Aurelien Jarno + + * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed. + * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise. + * sysdeps/ieee754/flt-32/s_truncf.c: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/Makefile + [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines): + Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3, + s_truncf-vis3, s_trunc-vis3. + (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3. + (CFLAGS-s_ceil-vis3.c): Likewise. + (CFLAGS-s_floorf-vis3.c): Likewise. + (CFLAGS-s_floor-vis3.c): Likewise. + (CFLAGS-s_truncf-vis3.c): Likewise. + (CFLAGS-s_trunc-vis3.c): Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise. + +2016-08-02 David S. Miller + + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S + (__nearbyint_vis3): Don't check for sNaN before float register is + loaded with the incoming argument. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S + (__nearbyintf_vis3): Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): + Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): + Likewise. + + * string/test-strncmp.c (do_test_limit): Make sure the test data + stream is aligned as required for the type "CHAR". + (do_test): Likewise. + +2016-08-03 Aurelien Jarno + + * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions + by beq instructions jumping to the end of the function. + * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the + clobber list. Use "i" constraint instead of "X". + (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead + of "X". + +2016-08-02 Joseph Myers + + * bits/libc-header-start.h: New file. + * Makefile (headers): Add bits/libc-header-start.h. + * include/features.h (__STDC_WANT_LIB_EXT2__): Document. + (__GLIBC_USE): New macro. + * libio/stdio.h: Define + __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include + instead of including . + (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)]. + (open_memstream): Likewise. + (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU]. + (__asprintf): Likewise. + (asprintf): Likewise. + (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)]. + (getdelim): Likewise. + (getline): Likewise. + * string/string.h: Define + __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include + instead of including . + (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)] + (strndup): Likewise. + * wcsmbs/wchar.h: Define + __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include + instead of including . + (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)]. + * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro. + +2016-08-02 Florian Weimer + + Support linking against compatibility symbols, for use in tests. + * include/libc-symbols.h (symbol_version_reference): New macro. + (symbol_version): Use it. + * include/shlib-compat.h: Unconditionally include . + (compat_symbol): Use compat_symbol_reference. + (compat_symbol_1, compat_symbol_2): Remove. + (compat_symbol_reference, compat_symbol_reference_1) + (compat_symbol_reference_2): New macro. Use + symbol_version_reference. + +2016-08-02 Florian Weimer + + [BZ #19469] + * malloc/Makefile (CPPFLAGS): Compile tests with + -DTEST_NO_MALLOPT. + * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT. + +2016-08-02 Andrew Senkevich + + [BZ #20033] + * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call + finite version. + * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise. + * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise. + * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise. + * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise. + * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise. + * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise. + * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise. + * math/libm-test.inc (pow_test_data): Exclude tests for qNaN + in zero power. + +2016-08-02 Florian Weimer + + [BZ #20370] + * malloc/arena.c (get_free_list): Update comment. Assert that + arenas on the free list have no attached threads. + (remove_from_free_list): New function. + (reused_arena): Call it. + +2016-08-02 Aurelien Jarno + + * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself + when it is a NaN. + [_IEEE_FP_INEXACT] Remove. + * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise. + * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself + when it is a NaN. + [_IEEE_FP_INEXACT] Remove. + * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise. + * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself + when it is a NaN. + * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise. + * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value + when its absolute value is greater than 0x1.0p52. + [_IEEE_FP_INEXACT] Remove. + * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value + when its absolute value is greater than 0x1.0p23. + [_IEEE_FP_INEXACT] Remove. + +2016-08-01 Carlos O'Donell + + * version.h (RELEASE): Set to "development" + (VERSION): Set to 2.24.90. + * NEWS: Add 2.25 section. + + * version.h (RELEASE): Set to "stable" + (VERSION): Set to 2.24. + * include/features.h (__GLIBC_MINOR__): Set to 24. + + * NEWS: Add 2.24 fixed bugs. + * po/libc.pot: Regenerate. + +2016-08-01 Aurelien Jarno + + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile + [$(subdir) = math] (libm-sysdep_routines): Remove. + [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines): + Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3, + s_truncf-vis3, s_trunc-vis3. + * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete + file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise. + * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise. + * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise. + * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise. + * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise. + * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise. + * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise. + +2016-07-27 H.J. Lu + + [BZ #20384] + * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add + test-double-libmvec-sincos-avx-main.o, + test-double-libmvec-sincos-avx2-main.o, + test-double-libmvec-sincos-main.o, + test-float-libmvec-sincosf-avx-main.o, + test-float-libmvec-sincosf-avx2-main.o and + test-float-libmvec-sincosf-main.o. + test-float-libmvec-sincosf-avx512-main.o. + ($(objpfx)test-double-libmvec-sincos): Also link with + $(objpfx)test-double-libmvec-sincos-main.o. + ($(objpfx)test-double-libmvec-sincos-avx): Also link with + $(objpfx)test-double-libmvec-sincos-avx-main.o. + ($(objpfx)test-double-libmvec-sincos-avx2): Also link with + $(objpfx)test-double-libmvec-sincos-avx2-main.o. + ($(objpfx)test-float-libmvec-sincosf): Also link with + $(objpfx)test-float-libmvec-sincosf-main.o. + ($(objpfx)test-float-libmvec-sincosf-avx): Also link with + $(objpfx)test-float-libmvec-sincosf-avx2-main.o. + [$(config-cflags-avx512) == yes] (extra-test-objs): Add + test-double-libmvec-sincos-avx512-main.o and + ($(objpfx)test-double-libmvec-sincos-avx512): Also link with + $(objpfx)test-double-libmvec-sincos-avx512-main.o. + ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with + $(objpfx)test-float-libmvec-sincosf-avx512-main.o. + (CFLAGS-test-double-libmvec-sincos.c): Removed. + (CFLAGS-test-float-libmvec-sincosf.c): Likewise. + (CFLAGS-test-double-libmvec-sincos-main.c): New. + (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise. + (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise. + (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise. + (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise. + (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise. + (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise. + (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX. + (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise. + (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to + -DREQUIRE_AVX2. + (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise. + (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to + -DREQUIRE_AVX512F. + (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise. + * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten. + * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise. + * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New + file. + * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c: + Likewise. + * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c: + Likewise. + * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c: + Likewise. + * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c: + Likewise. + * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c: + Likewise. + * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c: + Likewise. + * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c: + Likewise. + +2016-07-27 Chung-Lin Tang + + * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove. + +2016-07-21 Gustavo Romero + + * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb + and typo in a comment about AT_HWCAP entry. + +2016-07-21 Szabolcs Nagy + + * sysdeps/aarch64/libm-test-ulps: Updated. + +2016-07-20 Stefan Liebler + + * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage + of r13 as it is not restored in mvcle case. + +2016-07-19 Mike Frysinger + + * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0): + Rename "ret" to "__ret". + (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4, + inline_syscall5, inline_syscall6): Likewise. + +2016-07-19 Will Newton + + * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD + R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16, + R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC, + R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16, + R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New. + +2016-07-18 H.J. Lu + + * sysdeps/i386/Makefile (rtld-CFLAGS): New. + [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx + -mfpmath=387 with $(rtld-CFLAGS). + [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with + $(rtld-CFLAGS). + +2016-07-18 Ross Burton + Khem Raj + + * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16, + R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH, + R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2, + R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2, + R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG, + R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY, + R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF, + R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC, + R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT, + R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT, + R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE, + R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD, + R_METAG_TLS_DTPOFF): New. + +2016-07-18 Siddhesh Poyarekar + Matt Clay + + [BZ #20357] + * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition + to call __mpsin/__mpcos and to negate values. + * math/auto-libm-test-in: Add test. + * math/auto-libm-test-out: Regenerate. + +2016-07-18 Zack Weinberg + + * grp/Makefile: Don't install the internal header grp-merge.h. + +2016-07-18 Szabolcs Nagy + + * sysdeps/aarch64/libm-test-ulps: Regenerated. + +2016-07-13 Samuel Thibault + + * bits/termios.h (TABDLY): Change macro to include TAB3 bit too. + +2016-07-13 Adhemerval Zanella + + [BZ #15368] + * sysdeps/unix/sysv/linux/nptl-signals.h + (__nptl_clear_internal_signals): New function. + (__libc_signal_block_all): Likewise. + (__libc_signal_block_app): Likewise. + (__libc_signal_restore_set): Likewise. + * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c + implementation. + * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use + the cached pid/tid value in pthread structure. + +2016-07-13 H.J. Lu + + [BZ #20347] + * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated. + +2016-07-12 H.J. Lu + + [BZ #20348] + * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64, + preadv64, pwrite64 and pwritev64. + +2016-07-12 H.J. Lu + + [BZ #20350] + * posix/tst-preadwrite.c: Renamed to ... + * posix/tst-preadwrite-common.c: This. + (PREAD): Removed. + (PWRITE): Likewise. + (STRINGIFY): Likewise. + (STRINGIFY2): Likewise. + (do_prepare): Make it static and remove function arguments. + (do_test): Likewise. + (PREPARE): Updated. + (TEST_FUNCTION): New. + (name): Make it static. + (fd): Likewise. + (do_prepare): Use create_temp_file. + (do_test): Renamed to ... + (do_test_with_offset): This. Make it static and accept offset. + Properly check return value of PWRITE and PREAD. Return bytes + read. Don't close fd nor unlink name. + * posix/tst-preadwrite.c: Rewrite. + * posix/tst-preadwrite64.c: Likewise. + +2016-07-12 H.J. Lu + + [BZ #20309] + * configure.ac (have-mtls-dialect-gnu2): Set to yes if + -mtls-dialect=gnu2 works. + * configure: Regenerated. + * elf/Makefile [have-mtls-dialect-gnu2 = yes] + (tests): Add tst-gnu2-tls1. + (modules-names): Add tst-gnu2-tls1mod. + ($(objpfx)tst-gnu2-tls1): New. + (tst-gnu2-tls1mod.so-no-z-defs): Likewise. + (CFLAGS-tst-gnu2-tls1mod.c): Likewise. + * elf/tst-gnu2-tls1.c: New file. + * elf/tst-gnu2-tls1mod.c: Likewise. + * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8 + bytes for push in the PLT entry to align the stack. + +2016-07-11 H.J. Lu + + [BZ #20349] + * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New. + +2016-07-11 Szabolcs Nagy + + [BZ #18707] + * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only. + * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers. + +2016-07-08 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/sysdep.h + [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove + guards. + * misc/tst-preadvwritev-common.c: New file. + * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c. + * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add + a check for files larger than 2GB. + + * sysdeps/unix/sysv/linux/mips/kernel-features.h + (__ASSUME_OFF_DIFF_OFF64): Remove define. + * sysdeps/unix/sysv/linux/pread.c + [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by + __OFF_T_MATCHES_OFF64_T. + * sysdeps/unix/sysv/linux/pread64.c + [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise. + * sysdeps/unix/sysv/linux/preadv.c + [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise. + * sysdeps/unix/sysv/linux/preadv64.c + [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise. + * sysdeps/unix/sysv/linux/pwrite.c + [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise. + * sysdeps/unix/sysv/linux/pwrite64.c + [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise. + * sysdeps/unix/sysv/linux/pwritev.c + [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise. + * sysdeps/unix/sysv/linux/pwritev64.c + [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise. + +2016-07-08 Chris Metcalf + + * sysdeps/unix/sysv/linux/tile/kernel-features.h + (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64. + +2016-07-08 Aurelien Jarno + + * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0. + +2016-07-08 Aurelien Jarno + + [BZ #20240] + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile + (CFLAGS-s_modf-ppc32.c): New variable. + (CFLAGS-s_modff-ppc32.c): Likewise. + * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile + (CFLAGS-s_modf-ppc64.c): Likewise. + (CFLAGS-s_modff-ppc64.c): Likewise. + +2016-07-07 Andreas Schwab + + [BZ #20263] + * nptl/tst-robust10.c: New test. + * nptl/Makefile (tests): Add tst-robust10. + +2016-07-07 Jiyoung Yun + + [BZ #20263] + * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic. + +2016-07-06 Stefan Liebler + + * sysdeps/s390/linkmap.h (struct link_map_machine): + Remove member gotplt and add member jmprel. + * sysdeps/s390/s390-32/dl-machine.h + (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL + instead of gotplt with &got[3]. + (elf_machine_lazy_rel): Calculate address with reloc and jmprel. + * sysdeps/s390/s390-64/dl-machine.h: Likewise. + +2016-07-06 John David Anglin + + * sysdeps/hppa/fpu/libm-test-ulps: Regenerate. + +2016-07-06 Samuel Thibault + + * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write, + _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek) + [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE. + (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE. + * libio/vtables.c (_IO_vtable_check) + [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE. + * libio/libioP.h (IO_set_accept_foreign_vtables) + [!PTR_MANGLE]: Do not call PTR_MANGLE. + +2016-07-05 H.J. Lu + + [BZ #20314] + * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx). + * Makerules (before-compile): Add $(common-objpfx)cstdlib and + $(common-objpfx)cmath. + ($(common-objpfx)cstdlib): New target. + ($(common-objpfx)cmath): Likewise. + +2016-07-05 Chris Metcalf + + * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s. + +2016-07-05 Rajalakshmi Srinivasaraghavan + + [BZ #20327] + * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that + are not part of the string. + +2016-07-05 Adhemerval Zanella + + * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation. + * nptl/tst-cancel4-common.h (fifoname): New variable. + (fifofd): Likewise. + (cl_fifo): New function. + * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by + SIGINT. + (tf_open): Add early cancel test. + +2016-07-04 Andreas Schwab + + * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define. + +2016-07-01 Maciej W. Rozycki + + * sysdeps/generic/ldsodefs.h + (dl_symbol_visibility_binds_local_p): New inline function. + * elf/dl-addr.c (determine_info): Treat hidden and internal + symbols as local. + * elf/dl-lookup.c (do_lookup_x): Likewise. + * elf/dl-reloc.c (RESOLVE_MAP): Likewise. + +2016-07-01 Aurelien Jarno + + * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an + invalid exception for a sNaN input. + * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise. + * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S + (__nearbyint_vis3): Likewise + * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S + (__nearbyintf_vis3): Likewise + * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise. + * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise. + * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3): + Likewise. + * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3): + Likewise. + +2016-07-01 H.J. Lu + + [BZ #20139] + * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ... + (HAVE_AVX512DQ_ASM_SUPPORT): This. + * sysdeps/x86_64/configure.ac: Require assembler from binutils + 2.24 or above. + (HAVE_AVX512_ASM_SUPPORT): Removed. + (HAVE_AVX512DQ_ASM_SUPPORT): New. + * sysdeps/x86_64/configure: Regenerated. + * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT + check unconditional. + * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise. + * sysdeps/x86_64/multiarch/memcpy.S: Likewise. + * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise. + * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: + Likewise. + * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S: + Likewise. + * sysdeps/x86_64/multiarch/memmove.S: Likewise. + * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise. + * sysdeps/x86_64/multiarch/mempcpy.S: Likewise. + * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise. + * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: + Likewise. + * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S: + Likewise. + * sysdeps/x86_64/multiarch/memset.S: Likewise. + * sysdeps/x86_64/multiarch/memset_chk.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check + HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT. + * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: + Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: + Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: + Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: + Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.: + Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: + Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: + Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: + Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: + Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51: + Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: + Likewise. + +2016-07-01 Andrew Senkevich + + [BZ #20024] + * sysdeps/x86/fpu/test-math-vector-sincos.h: New. + * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI + of this implementation of vector function. + * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: + Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise. + * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise. + * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise. + * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise. + * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise. + * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise. + * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise. + * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise. + * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise. + * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper + for testing vector sincos with fixed ABI. + * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test. + * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise. + * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise. + * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise. + * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise. + * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise. + * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise. + * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise. + * sysdeps/x86_64/fpu/Makefile: Added new tests. + +2016-06-30 Aurelien Jarno + + * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp. + +2016-06-30 Anton Blanchard + + * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile + [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and + s_sinf-ppc64. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise. + * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise. + +2016-06-30 Tulio Magno Quites Machado Filho + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile + [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and + e_expf-ppc64. + * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise. + * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise. + * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise. + +2016-06-30 John David Anglin + + [BZ #20277] + * sysdeps/hppa/start.S (_start): Correct loading of global pointer + when SHARED is defined. + +2016-06-30 H.J. Lu + + * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New. + (index_arch_Prefer_ERMS): Likewise. + * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return + __memcpy_erms for Prefer_ERMS. + * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S + (__memmove_erms): Enabled for libc.a. + * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return + __memmove_erms or Prefer_ERMS. + * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return + __mempcpy_erms for Prefer_ERMS. + * sysdeps/x86_64/multiarch/memset.S (memset): Return + __memset_erms for Prefer_ERMS. + +2016-06-30 Andreas Schwab + + [BZ #20262] + * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return + NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out + of memory. + +2016-06-29 H.J. Lu + + [BZ #18645] + * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o. + (test-extras): Add tst-cleanupx4aux. + (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions. + ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with + tst-cleanupx4aux.o. + * nptl/tst-cleanupx4aux.c: New file. + +2016-06-30 Aurelien Jarno + + * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated. + +2016-06-29 Andreas Schwab + + [BZ #20260] + * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the + address before the beginning of the string as an integer to avoid + array-bounds warning. + +2016-06-28 Richard Henderson + + * elf/elf.h (EM_BPF): New. + (EM_NUM): Update. + (R_BPF_NONE, R_BPF_MAP_FD): New. + + * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT, + EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200, + EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33, + EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2, + EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C, + EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24, + EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000, + EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C, + EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32, + EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX, + EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X, + EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA, + EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2, + EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1, + EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8, + EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80, + EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New. + (EM_NUM): Update. + +2016-06-28 Stefan Liebler + + [BZ #18960] + * locale/localeinfo.h (_NL_CURRENT_DEFINE): + Set _nl_current_LC_CATEGORY_used to two instead of one. + +2016-06-27 Aurelien Jarno + + * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * sysdeps/mips/tst-mode-switch-2.c (main): Likewise. + * sysdeps/mips/tst-mode-switch-3.c (main): Likewise. + +2016-06-27 Joseph Myers + + [BZ #15479] + * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore + floating-point environment rather than just control word. + * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise. + * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore + floating-point environment, with "invalid" exceptions merged in, + rather than just control word. + * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise. + * math/libm-test.inc (trunc_test_data): Do not allow spurious + "inexact" exceptions. + + [BZ #15479] + * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore + floating-point environment rather than just control word. + * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise. + * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore + floating-point environment, with "invalid" exceptions merged in, + rather than just control word. + * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise. + * math/libm-test.inc (floor_test_data): Do not allow spurious + "inexact" exceptions. + + [BZ #15479] + * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore + floating-point environment rather than just control word. + * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise. + * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore + floating-point environment, with "invalid" exceptions merged in, + rather than just control word. + * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise. + * math/libm-test.inc (ceil_test_data): Do not allow spurious + "inexact" exceptions. + +2016-06-21 Aurelien Jarno + + * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into + __libc_vfork. + (__vfork) [IS_IN (libc)]: Remove alias. + (__libc_vfork) [IS_IN (libc)]: Define as an alias. + * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise. + +2016-06-24 Torvald Riegel + + * nscd/cache.c (cache_add): Use new C11-like atomic operation instead + of atomic_compare_and_exchange_bool_rel. + * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise. + * include/atomic.h (atomic_compare_and_exchange_bool_rel, + catomic_compare_and_exchange_bool_rel): Remove. + * sysdeps/aarch64/atomic-machine.h + (atomic_compare_and_exchange_bool_rel): Likewise. + * sysdeps/alpha/atomic-machine.h + (atomic_compare_and_exchange_bool_rel): Likewise. + * sysdeps/arm/atomic-machine.h + (atomic_compare_and_exchange_bool_rel): Likewise. + * sysdeps/mips/atomic-machine.h + (atomic_compare_and_exchange_bool_rel): Likewise. + * sysdeps/microblaze/atomic-machine.h + ( __arch_compare_and_exchange_bool_8_rel, + __arch_compare_and_exchange_bool_16_rel): Likewise. + * sysdeps/powerpc/atomic-machine.h + ( __arch_compare_and_exchange_bool_8_rel, + __arch_compare_and_exchange_bool_16_rel): Likewise. + * sysdeps/powerpc/powerpc32/atomic-machine.h + ( __arch_compare_and_exchange_bool_32_rel, + __arch_compare_and_exchange_bool_64_rel): Likewise. + * sysdeps/powerpc/powerpc64/atomic-machine.h + ( __arch_compare_and_exchange_bool_32_rel, + __arch_compare_and_exchange_bool_64_rel): Likewise. + * sysdeps/tile/atomic-machine.h + (atomic_compare_and_exchange_bool_rel): Likewise. + +2016-06-23 Joseph Myers + + [BZ #20296] + * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments + when either argument is a NaN. + * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise. + * math/libm-test.inc (scalb_test_data): Add sNaN tests. + + * math/libm-test.inc (snan_value_ld): New macro. + (isgreater_test_data): Add sNaN tests. + (isgreaterequal_test_data): Likewise. + (isless_test_data): Likewise. + (islessequal_test_data): Likewise. + (islessgreater_test_data): Likewise. + (isunordered_test_data): Likewise. + (nextafter_test_data): Likewise. + (nexttoward_test_data): Likewise. + (remainder_test_data): Likewise. + (remquo_test_data): Likewise. + (significand_test_data): Likewise. + * math/gen-libm-test.pl (%beautify): Add snan_value_ld. + +2016-06-23 Siddhesh Poyarekar + + * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all + environment macros are defined. + (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined. + +2016-06-23 Florian Weimer + + [BZ #20191] + Implement vtable verification in libio. + * Makerules (shlib.lds): Place __libc_IO_vtables section. + * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable. + * debug/vdprintf_chk.c (__vdprintf_chk): Call + _IO_new_file_init_internal instead of _IO_file_init. + * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable. + * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise. + * libio/Makefile (routines): Add vtables. + * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable. + (_IO_init): Remove, not for internal use. + (_IO_init_internal): Declare, internal replacement for _IO_init. + (_IO_file_init): Remove, not for internal use. + (_IO_new_file_init): Remove, not for internal use. + (_IO_new_file_init_internal): Declare, internal replacement for + _IO_new_file_init. + (_IO_old_file_init): Remove, not for internal use. + (_IO_old_file_init_internal): Declare, internal replacement for + _IO_old_file_init. + (_IO_str_init_static, _IO_str_init_readonly): Remove, not for + internal use. + (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check): + Declare. + (libio_vtable): New macro. + (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline + functions. + * libio/fileops.c (_IO_new_file_init_internal): Rename from + _IO_new_file_init. + (_IO_new_file_init): New externally visible wrapper which disables + vtable verification. + (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap): + Define as vtables. + * libio/genops.c (_IO_init_internal): Rename from _IO_init. + (_IO_init): New externally visible wrapper which disables + vtable verification. + * libio/iofdopen.c (_IO_new_fdopen): Call + _IO_new_file_init_internal instead of _IO_file_init. Adjust + comment. + * libio/iofopen.c (__fopen_internal): Call + _IO_new_file_init_internal instead of _IO_file_init. + * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps): + Define as vtables. + (_IO_cookie_init): Call _IO_init_internal instead of _IO_init, + _IO_new_file_init_internal instead of _IO_file_init. + * libio/iopopen.c (_IO_new_popen): Likewise. + (_IO_proc_jumps): Define as vtable. + * libio/iovdprintf.c (_IO_vdprintf): Call + _IO_new_file_init_internal instead of _IO_file_init. + * libio/memstream.c (_IO_mem_jumps): Define as vtable. + (__open_memstream): Call _IO_init_internal instead of _IO_init. + * libio/obprintf.c (_IO_obstack_jumps): Define as vtable. + * libio/oldfileops.c (_IO_old_file_init_internal): Rename from + _IO_old_file_init. + (_IO_old_file_init): New externally visible wrapper which disables + vtable verification. + (_IO_old_file_jumps): Define as vtable. + * libio/oldiofdopen.c (_IO_old_fdopen): Call + _IO_old_file_init_internal instead of _IO_old_file_init. + * libio/oldiofopen.c (_IO_old_fopen): Likewise. + * libio/oldiopopen.c (_IO_old_popen): Likewise. + (_IO_old_proc_jumps): Define as vtable. + * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps): + Define as vtables. + * libio/vtables.c: New file. + * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap) + (_IO_wfile_jumps_maybe_mmap): Define as vtables. + * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable. + * libio/wstrops.c (_IO_wstr_jumps): Likewise. + * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise. + * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal + instead of _IO_init. + +2016-06-23 Florian Weimer + + * test-skeleton.c (xrealloc): Support deallocation with n == 0. + +2016-06-23 Florian Weimer + + * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as + potentially unused. + +2016-06-22 Florian Weimer + + * test-skeleton.c (write_message): New function. + * malloc/tst-mallocfork2.c (write_message): Remove. + * debug/tst-longjmp_chk2.c (write_indented): New function. + (write_message): Remove. + (stackoverflow_handler): Call write_indented. + +2016-06-22 Joseph Myers + + * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask + "inexact" exceptions after fnstenv. + * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise. + * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise. + * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise. + +2015-06-22 Zack Weinberg + + * sysdeps/generic/bits/hwcap.h: Moved to ... + * bits/hwcap.h: Here. + +2016-06-22 Wilco Dijkstra + + * sysdeps/aarch64/memcpy.S (memcpy): + Further tuning for performance. + +2016-06-21 Florian Weimer + + [BZ #20284] + * malloc/arena.c (reused_arena): Do not return NULL if we start + out with a non-corrupted arena. + +2016-06-21 Adhemerval Zanella + + * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64. + * misc/tst-preadvwritev.c: New file. + * misc/tst-preadvwritev64.c: Likewise. + * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64} + usage. + * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise. + * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise. + * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise. + * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro. + +2016-06-20 Andrew Senkevich + + [BZ #19654] + * sysdeps/x86_64/fpu/Makefile: Added new tests. + * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New. + * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise. + * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise. + * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise. + * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise. + * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise. + * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise. + * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise. + * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise. + * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise. + * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise. + * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise. + * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise. + * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise. + * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise. + * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise. + * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise. + * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise. + * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise. + * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise. + * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise. + * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise. + * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise. + * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise. + * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise. + +2016-06-20 Wilco Dijkstra + + * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file. + * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT. + +2016-06-20 Wilco Dijkstra + + * sysdeps/aarch64/memcpy.S (memcpy): + Rewrite of optimized memcpy and memmove. + * sysdeps/aarch64/memmove.S (memmove): Remove + memmove code (merged into memcpy.S). + +2016-06-20 Florian Weimer + + Consolidate machine-agnostic DTV definitions in . + * sysdeps/generic/dl-dtv.h: New file. + * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove. + * sysdeps/aarch64/nptl/tls.h: Include . + (dtv_t): Remove. + * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove. + * sysdeps/alpha/nptl/tls.h: Include . + (dtv_t): Remove. + * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove. + * sysdeps/arm/nptl/tls.h: Include . + (dtv_t): Remove. + * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove. + * sysdeps/hppa/nptl/tls.h: Include . + (dtv_t): Remove. + * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove. + * sysdeps/i386/nptl/tls.h: Include . + (dtv_t): Remove. + * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove. + * sysdeps/ia64/nptl/tls.h: Include . + (dtv_t): Remove. + * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove. + * sysdeps/m68k/nptl/tls.h: Include . + (dtv_t): Remove. + * sysdeps/mach/hurd/i386/tls.h: Include . + (dtv_t): Remove. + * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove. + * sysdeps/microblaze/nptl/tls.h: Include . + (dtv_t): Remove. + * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove. + * sysdeps/mips/nptl/tls.h: Include . + (dtv_t): Remove. + * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove. + * sysdeps/nios2/nptl/tls.h: Include . + (dtv_t): Remove. + * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove. + * sysdeps/powerpc/nptl/tls.h: Include . + (dtv_t): Remove. + * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove. + * sysdeps/s390/nptl/tls.h: Include . + (dtv_t): Remove. + * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove. + * sysdeps/sh/nptl/tls.h: Include . + (dtv_t): Remove. + * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove. + * sysdeps/sparc/nptl/tls.h: Include . + (dtv_t): Remove. + * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove. + * sysdeps/x86_64/nptl/tls.h: Include . + (dtv_t): Remove. + +2016-06-20 Florian Weimer + + Revert symbol poisoning of __malloc_initialize_hook. + * include/stdc-predef.h (__malloc_initialize_hook): Remove + poisoning. + * malloc/Makefile: Remove un-poisoning. + * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook + instead of old__malloc_initialize_hook. + * malloc/malloc-hooks.h: Likewise. + * malloc/malloc.c: Likewise. + * malloc/mcheck-init.c: Likewise. + +2016-06-19 Carlos O'Donell + + * sysdeps/unix/sysv/linux/times.c (__times): Expand comments. + +2016-06-18 Aurelien Jarno + + * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize + hidden_def, weak_alias and strong_alias on [IS_IN (libc)]. + * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise. + +2016-06-16 Rajalakshmi Srinivasaraghavan + + * NEWS: Mention addition of nextup and nextdown. + * manual/arith.texi: Document nextup and nextdown. + * manual/libm-err-tab.pl: Add nextup and nextdown. + * math/Makefile (libm-calls): Add s_nextdown and s_nextup. + * math/Versions (libm): Add GLIBC_2.24. + * math/bits/mathcalls.h: Add nextup and nextdown declaration. + * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]: + Add new test. + (nextafter_test_data) [TEST_COND_binary32]: Likewise. + (nextafter_test_data) [TEST_COND_m68k96]: Likewise. + (nextafter_test_data) [TEST_COND_binary64]: Likewise. + (nextafter_test_data) [TEST_COND_binary128]: Likewise. + (nextup_test_data): Likewise. + (nextdown_test_data): Likewise. + * math/s_nextdown.c: New file. + * math/s_nextdownf.c: Likewise. + * math/s_nextdownl.c: Likewise. + * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests. + F(nextup): New function. + F(nextdown): Likewise. + * math/tgmath.h: Add nextup and nextdown. + * sysdeps/ieee754/flt-32/s_nextupf.c: New file. + * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise. + * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): + Add nextup and nextdown. + (CFLAGS-nldbl-nextup.c): New variable. + (CFLAGS-nldbl-nextdown.c): Likewise. + * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise. + * sysdeps/nacl/libm.abilist: Update. + * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise. + +2016-06-16 Rical Jasan + + * manual/pattern.texi: Fix typos & grammar errors. + +2016-06-16 Rical Jasan + + * manual/search.texi: Fix typos & grammar errors. + +2016-06-16 Rical Jasan + + * manual/message.texi: Fix typos & grammar errors. + +2016-06-16 Mike Frysinger + + * manual/contrib.texi: Fix spelling typos. + * manual/crypt.texi: Likewise. + * manual/filesys.texi: Likewise. + * manual/locale.texi: Likewise. + * manual/message.texi: Likewise. + * manual/nss.texi: Likewise. + * manual/string.texi: Likewise. + +2016-06-16 Rical Jasan + + * manual/locale.texi: Fix typos & grammar errors. + +2016-06-16 Rical Jasan + + * manual/charset.texi: Fix typos & grammar errors. + +2016-06-16 Rical Jasan + + * manual/string.texi: Fix typos. + +2016-06-16 Rical Jasan + + * manual/ctype.texi: Fix typos. + +2016-06-16 Rical Jasan + + * manual/memory.texi: Fix various typos & grammar errors. + +2016-06-14 Joseph Myers + + [BZ #20255] + * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c. + * math/libm-test.inc (fdim_test_data): Add another test. + + [BZ #6796] + [BZ #20255] + [BZ #20256] + * math/s_fdim.c: Include . + (__fdim): Use math_narrow_eval on result. + * math/s_fdimf.c: Include . + (__fdimf): Use math_narrow_eval on result. + * sysdeps/i386/fpu/s_fdim.S: Remove file. + * sysdeps/i386/fpu/s_fdimf.S: Likewise. + * sysdeps/i386/fpu/s_fdiml.S: Likewise. + * sysdeps/i386/i686/fpu/s_fdim.S: Likewise. + * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise. + * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise. + * sysdeps/powerpc/fpu/s_fdim.c: Likewise. + * sysdeps/powerpc/fpu/s_fdimf.c: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise. + * sysdeps/x86_64/fpu/s_fdiml.S: Likewise. + * math/libm-test.inc (fdim_test_data): Expect errno setting on + overflow. Add sNaN tests. + + * math/s_fdim.c (__fdim): Use islessequal and isinf instead of + fpclassify. + * math/s_fdimf.c (__fdimf): Likewise. + * math/s_fdiml.c (__fdiml): Likewise. + +2016-06-14 Rajalakshmi Srinivasaraghavan + + * sysdeps/powerpc/powerpc64/multiarch/Makefile: + (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: + (__libc_ifunc_impl_list): Add entries for P8 and PPC64 + ifunc'ed strcasecmp/strncasecmp. + * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: + [EALIGN]: Removed. + [END]: Likewise. + [__strcasecmp]: Define instead of the above to control symbol name. + * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector + for __strcasecmp_power8. + * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector + for __strncasecmp_power8. + * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File. + * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise. + * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise. + * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise. + +2016-06-13 Joseph Myers + + [BZ #20252] + * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both + arguments when second argument is a NaN. + * math/libm-test.inc (atan2_test_data): Add sNaN tests and more + qNaN tests. + + * math/libm-test.inc (cimag_test_data): Add sNaN tests. + (conj_test_data): Likewise. + (copysign_test_data): Likewise. + (creal_test_data): Likewise. + (fma_test_data): Likewise. + (fmod_test_data): Likewise. + + [BZ #20250] + * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to + itself. + * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or + zero input to itself. + * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): + Likewise. + * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise. + * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise. + * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise. + * math/libm-test.inc (frexp_test_data): Add sNaN tests. + +2016-06-13 Adhemerval Zanella + + * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2. + * nptl/tst-cancel4-common.c: New file. + * nptl/tst-cancel4-common.h: Likewise. + * nptl/tst-cancel4.c: Move common definitions to + tst-cancel4-common.{c,h} file. + * nptl/tst-cancel4_1.c: New test. + * nptl/tst-cancel4_2.c: New test. + +2016-06-13 Florian Weimer + + [BZ #20248] + * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t. + (write_message): New function. + (stackoverflow_handler): Call it instead of printf, to avoid + excessive stack usage by printf. + (do_test): Restore SIGSEGV, SIGBUS default handlers. + +2016-06-13 Adhemerval Zanella + + * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI] + (prio_inherit_missing): Remove define. + * sysdeps/unix/sysv/linux/arm/kernel-features.h + (__ASSUME_FUTEX_LOCK_PI): Likewise. + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI): + Likewise. + * sysdeps/unix/sysv/linux/m68k/kernel-features.h + (__ASSUME_FUTEX_LOCK_PI): Likewise. + * sysdeps/unix/sysv/linux/mips/kernel-features.h + (__ASSUME_FUTEX_LOCK_PI): Likewise. + * sysdeps/unix/sysv/linux/sparc/kernel-features.h + (__ASSUME_FUTEX_LOCK_PI): Likewise. + +2016-06-11 Paul Pluzhnikov + + [BZ #19670] + [BZ #19672] + + * io/test-lfs.c (do_prepare): Use xmalloc. + * io/tst-fcntl.c (do_prepare): Likewise. + * libio/tst-fopenloc.c (do_bz17916): Likewise. + * libio/tst-mmap2-eofsync.c (do_prepare): Likewise. + * login/tst-utmp.c (do_prepare): Likewise. + * posix/tst-exec.c (do_prepare): Likewise. + * posix/tst-pathconf.c (prepare): Likewise. + * posix/tst-spawn.c (do_prepare): Likewise. + * posix/tst-truncate.c (do_prepare): Likewise. + * rt/tst-aio.c (do_prepare): Likewise. + * rt/tst-aio64.c (do_prepare): Likewise. + +2016-06-11 Florian Weimer + + [BZ #20237] + * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL. + (get*ent): Set entidx to NULL during initialization. If entidx is + NULL, start iteration from the beginning. + +2016-06-11 Florian Weimer + + * malloc/malloc.c (musable): Return correct size for dumped fake + mmapped chunk. + +2016-06-11 Florian Weimer + + [BZ #20222] + * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer. + (_IO_cookie_write): Likewise. + (_IO_cookie_seek): Likewise. + (_IO_cookie_close): Likewise. + (_IO_old_cookie_seek): Likewise. + (set_callbacks): New function. + (_IO_cookie_init): Call set_callbacks to copy callbacks. + +2016-06-11 Marko Myllynen + + * locale/programs/localedef.c (oldstyle_tables): Remove. + * locale/programs/localedef.h (oldstyle_tables): Likewise. + +2016-06-10 Joseph Myers + + [BZ #20240] + * math/Makefile (CFLAGS-s_modf.c): New variable. + (CFLAGS-s_modff.c): Likewise. + (CFLAGS-s_modfl.c): Likewise. + * math/libm-test.inc (modf_test_data): Add sNaN tests. + +2016-06-09 Carlos O'Donell + + [BZ #20215] + * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first. + [!__GNUC_PREREQ (3,2)]: Likewise. + +2016-06-10 Adhemerval Zanela + + * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-. + (msghdr.msg_controllen): Likewise. + (cmsghdr.cmsg_len): Likewise. + * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and + ptw-oldsendmsg. + (CFLAGS-oldrecvmsg.c): Remove rule. + (CFLAGS-oldsendmsg.c): Likewise. + (CFLAGS-recvmsg.c): Add rule. + (CFLAGS-sendmsg.c): Likewise. + * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove + oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg. + (CFLAGS-recvmsg.c): Remove rule. + (CFLAGS-sendmsg.c): Likewise. + (CFLAGS-oldrecvmsg.c): Likewise. + (CFLAGS-oldsendmsg.c): Likewise. + (CFLAGS-recvmmsg.c): Likewise. + * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert + to kernel defined interfaces. + (msghdr.msg_controllen): Likewise. + (cmsghdr.cmsg_len): Likewise. + (msghdr.__glibc_reserved1): Remove member. + (msghdr.__glibc_reserved2): Likewise. + (cmsghdr.__glibc_reserved1): Likewise. + * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file. + * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise. + * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise. + * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise. + * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous + version. + * sysdeps/unix/sysv/linux/recvmsg.c: Likewise. + * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise. + * sysdeps/unix/sysv/linux/sendmsg.c: Likewise. + * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24): + Remove recvmsg and sendmsg. + * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): + Likewise. + * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): + Likewise. + * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise. + * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise. + * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24): + Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24): + Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions + [libc] (GLIBC_2.24): Likewise. + * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24): + Likewise. + * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24): + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions + [libc] (GLIBC_2.24): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24): + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24): + Likewise. + * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise. + * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24): + Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24): + Likewise. + * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24): + Likewise. + * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24): + Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file + * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise. + * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24 + version for {recv,send,recm,sendm}msg. + * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise. + +2016-06-10 Florian Weimer + + [BZ #19564] + Remove __malloc_initialize_hook from the API. + * malloc/malloc.h (__malloc_initialize_hook): Remove. + * include/stdc-predef.h (__malloc_initialize_hook): Poison with + #pragma GCC poison. + * malloc/malloc-hooks.h: New file. + * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook. + * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New. + (old__malloc_initialize_hook): Rename from + __malloc_initialize_hook to evade poisoning. Turn into compat + symbol. + * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from + __malloc_initialize_hook. + * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New. + (mallo.c, mcheck-init.c): Compile with unpoisoned symbol. + * manual/memory.texi (Hooks for Malloc): Remove + __malloc_initialize_hook. Adjust hook example. + +2016-06-09 Joseph Myers + + [BZ #20235] + * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to + itself. + * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise. + * math/libm-test.inc (log2_test_data): Add sNaN tests. + + [BZ #20234] + * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive + infinity or NaN input to itself. + + [BZ #20233] + * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input + to itself. + + [BZ #20232] + * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to + itself. + +2016-06-09 H.J. Lu + + * sysdeps/x86_64/start.S (_start): Always indirect branch to + __libc_start_main via GOT. + +2016-06-09 H.J. Lu + + * sysdeps/x86_64/memcopy.h: New file. + * sysdeps/x86_64/wordcopy.c: Likewise. + +2016-06-09 Florian Weimer + + Prevent GCC 6 from including /usr/include/stdlib.h. + * stdlib/tst-quick_exit.cc: Include instead of + . + (optimization_barrier): New. + (do_test): Use it. Call quick_exit in the global namespace. + * stdlib/tst-thread-quick_exit.cc: Include , + instead of , . + (optimization_barrier): New. + (non_main_thread): Adjust declaration. Call optimization_barrier. + Call quick_exit in the global namespace. + (do_test): Call optimization_barrier. Use pthread_create, + pthread_join instead of std::thread. + +2016-06-09 Andreas Schwab + + [BZ #19755] + * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding + new entries in auto-propagate mode. + * nscd/grpcache.c (cache_addgr): Likewise. + +2016-06-09 Paul Pluzhnikov + + * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc): + New functions. + (add_temp_file): Use them. + +2016-06-09 Samuel Thibault + + * mach/mach/mach_traps.h (mach_print): Add syscall declaration. + +2016-06-08 Joseph Myers + + [BZ #20229] + * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself. + * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise. + * math/libm-test.inc (log1p_test_data): Add sNaN tests. + + [BZ #20228] + * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to + itself. + * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise. + * math/libm-test.inc (log10_test_data): Add sNaN tests. + + [BZ #20227] + * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to + itself. + * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise. + * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise. + * math/libm-test.inc (log_test_data): Add sNaN tests. + + [BZ #20226] + * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to + itself. + * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise. + * math/libm-test.inc (exp_test_data): Add sNaN tests. + (exp10_test_data): Likewise. + (expm1_test_data): Likewise. + + [BZ #20225] + * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to + itself. + * math/s_ldexpf.c (__ldexpf): Likewise. + * math/s_ldexpl.c (__ldexpl): Likewise. + * math/w_scalbln.c (__w_scalbln): Likewise. + * math/w_scalblnf.c (__w_scalblnf): Likewise. + * math/w_scalblnl.c (__w_scalblnl): Likewise. + * math/libm-test.inc (scalbn_test_data): Add sNaN tests. + (scalbln_test_data): Likewise. + + [BZ #20224] + * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero + argument to itself. + * math/libm-test.inc (cbrt_test_data): Add sNaN tests. + +2016-06-08 H.J. Lu + + [BZ #19776] + * sysdeps/x86_64/memcpy.S: Make it dummy. + * sysdeps/x86_64/mempcpy.S: Likewise. + * sysdeps/x86_64/memmove.S: New file. + * sysdeps/x86_64/memmove_chk.S: Likewise. + * sysdeps/x86_64/multiarch/memmove.S: Likewise. + * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise. + * sysdeps/x86_64/memmove.c: Removed. + * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise. + * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise. + * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise. + * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: + Likewise. + * sysdeps/x86_64/multiarch/memmove.c: Likewise. + * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise. + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove + memcpy-sse2-unaligned, memmove-avx-unaligned, + memcpy-avx-unaligned and memmove-sse2-unaligned-erms. + * sysdeps/x86_64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Replace + __memmove_chk_avx512_unaligned_2 with + __memmove_chk_avx512_unaligned. Remove + __memmove_chk_avx_unaligned_2. Replace + __memmove_chk_sse2_unaligned_2 with + __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and + __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2 + with __memmove_avx512_unaligned. Replace + __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned. + Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2 + with __memcpy_chk_avx512_unaligned. Remove + __memcpy_chk_avx_unaligned_2. Replace + __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned. + Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2. + Replace __memcpy_avx512_unaligned_2 with + __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2 + and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2 + with __mempcpy_chk_avx512_unaligned. Remove + __mempcpy_chk_avx_unaligned_2. Replace + __mempcpy_chk_sse2_unaligned_2 with + __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2. + Replace __mempcpy_avx512_unaligned_2 with + __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2. + Replace __mempcpy_sse2_unaligned_2 with + __mempcpy_sse2_unaligned. Remove __mempcpy_sse2. + * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support + __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned. + Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms + if processor has ERMS. Default to __memcpy_sse2_unaligned. + (ENTRY): Removed. + (END): Likewise. + (ENTRY_CHK): Likewise. + (libc_hidden_builtin_def): Likewise. + Don't include ../memcpy.S. + * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support + __memcpy_chk_avx512_unaligned_erms and + __memcpy_chk_avx512_unaligned. Use + __memcpy_chk_avx_unaligned_erms and + __memcpy_chk_sse2_unaligned_erms if if processor has ERMS. + Default to __memcpy_chk_sse2_unaligned. + * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S + Change function suffix from unaligned_2 to unaligned. + * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support + __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned. + Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms + if processor has ERMS. Default to __mempcpy_sse2_unaligned. + (ENTRY): Removed. + (END): Likewise. + (ENTRY_CHK): Likewise. + (libc_hidden_builtin_def): Likewise. + Don't include ../mempcpy.S. + (mempcpy): New. Add a weak alias. + * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support + __mempcpy_chk_avx512_unaligned_erms and + __mempcpy_chk_avx512_unaligned. Use + __mempcpy_chk_avx_unaligned_erms and + __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS. + Default to __mempcpy_chk_sse2_unaligned. + +2016-06-08 H.J. Lu + + [BZ #19881] + * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded + into ... + * sysdeps/x86_64/memset.S: This. + (__bzero): Removed. + (__memset_tail): Likewise. + (__memset_chk): Likewise. + (memset): Likewise. + (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't + defined. + (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined. + * sysdeps/x86_64/multiarch/memset-avx2.S: Removed. + (__memset_zero_constant_len_parameter): Check SHARED instead of + PIC. + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove + memset-avx2 and memset-sse2-unaligned-erms. + * sysdeps/x86_64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Remove __memset_chk_sse2, + __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned. + * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S + (__bzero): Enabled. + * sysdeps/x86_64/multiarch/memset.S (memset): Replace + __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned + and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms + or __memset_avx2_unaligned_erms if processor has ERMS. Support + __memset_avx512_unaligned_erms and __memset_avx512_unaligned. + (memset): Removed. + (__memset_chk): Likewise. + (MEMSET_SYMBOL): New. + (libc_hidden_builtin_def): Replace __memset_sse2 with + __memset_sse2_unaligned. + * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace + __memset_chk_sse2 and __memset_chk_avx2 with + __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms. + Use __memset_chk_sse2_unaligned_erms or + __memset_chk_avx2_unaligned_erms if processor has ERMS. Support + __memset_chk_avx512_unaligned_erms and + __memset_chk_avx512_unaligned. + +2016-06-08 Paul E. Murphy + + * math/gen-auto-libm-test.c (fp_format_desc): remove + suffix member. + (output_generic_value): Remove usage of suffix member, + and the resulting unuse of the fp_format argument. + (output_for_one_input_case): Remove unused fp_format + parameter. + + * math/auto-libm-test-out: Regenerate. + + * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace + usage with TEST_COND_ibm128. + (TEST_COND_flt_32): Remove. + (TEST_COND_dbl_64): Remove. + (TEST_COND_ldbl_96_intel): Remove. + (TEST_COND_ldbl_96_m68k): Remove. + (TEST_COND_ldbl_128): Remove. + +2016-06-08 Paul E. Murphy + + * auto-libm-test-in: + Replace flt-32 usage with binary32. + Replace dbl-64 usage with binary64. + Replace ldbl-intel-96 usage with intel96. + Replace ldbl-m68k-96 usage with m68k96. + Replace ldbl-128ibm usage with ibm128. + Replace ldbl-128 usage with binary128. + + * auto-libm-test-out: Regenerate. + +2016-06-08 Paul E. Murphy + + * math/gen-libm-test.pl (all_floats_pfx): New lookup table. + (parse_ulps): Dynamically generate type name matching + string from all_floats. + (get_ulps): Generate the ulps as an array instead. + (output_ulps): Dynamically compose the type based + on the number of supported formats, and print + the indices as type specific helper macros. + + * math/libm-test.inc: Remove comment about CHOOSE. + (ulp_data): Generate the type in libm-test-ulps.h. + (ULP_IDX): New macro. + (find_ulps): Update usage of max_ulp. + + * math/test-double-vlen2.h (CHOOSE): Remove. + * math/test-double-vlen4.h (CHOOSE): Likewise. + * math/test-double-vlen8.h (CHOOSE): Likewise. + * math/test-float.c (CHOOSE): Likewise. + * math/test-float-finite.c (CHOOSE): Likewise. + * math/test-double.c (CHOOSE): Likewise. + * math/test-double-finite.c (CHOOSE): Likewise. + * math/test-idouble.c (CHOOSE): Likewise. + * math/test-ifloat.c (CHOOSE): Likewise. + * math/test-ildoubl.c (CHOOSE): Likewise. + * math/test-ldouble-finite.c (CHOOSE): Likewise. + * math/test-ldouble.c (CHOOSE): Likewise. + + * math/test-float.h (TEST_FLOAT): Remove. + * math/test-double.h (TEST_DOUBLE): Likewise. + * math/test-ldouble.h (TEST_LDOUBLE): Likewise. + +2016-06-08 Paul E. Murphy + + * math/gen-libm-test.pl: (apply_lit): New subroutine. + (parse_args): Strip C suffix from floating point literals + typed with 'f' and wrap them with LIT(). + + * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro. + (test_ff_f_data_nexttoward): Rename to + (test_fj_f_data): New struct. + (nexttoward_test_data): Relabel tests as + TEST_fj_f instead of TEST_ff_f. + +2016-06-08 Florian Weimer + + Emacs bug 23726. + * malloc/malloc.c (dumped_main_arena_start): Update comment. + (__libc_realloc): Correct size computation for dumped fake mmapped + chunks. + +2016-06-07 Joseph Myers + + [BZ #20219] + * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument + to itself. + * math/libm-test.inc (atanh_test_data): Add sNaN tests. + + [BZ #20218] + * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument + to itself. + * math/libm-test.inc (asinh_test_data): Add sNaN tests. + +2016-06-07 H.J. Lu + + [BZ #20195] + * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4 + check to ... + (init_cpu_features): Here. + +2016-06-07 Carlos O'Donell + + [BZ #20214] + * sysdeps/unix/sysv/linux/bits/in.h + [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H + || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS): + Define to 1. + [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H + || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS): + Define to 0. + [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define. + [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define. + +2016-06-06 Carlos O'Donell + + [BZ #20198] + * stdlib/Makefile (tests): Add tst-quick_exit, and + tst-thread-quick_exit. + [ifeq ($(have-cxx-thread_local),yes)] + (CFLAGS-tst-quick_exit.o): Use -stdc=c++11. + (CFLAGS-tst-thread-quick_exit.o): Likewise. + (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program. + (LDLIBS-tst-thread-quick_exit): Likewise. + [ifneq ($(have-cxx-thread_local),yes)] + (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit. + * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument. + If run_dtors is true call __call_tls_dtors. + (exit): Call __run_exit_handlers with run_dtors set to true. + * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers + definition. + * stdlib/quick_exit.c (quick_exit): Remove function. + (__new_quick_exit): New function. + [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New + function. + * stdlib/tst-quick_exit.cc: New file. + * stdlib/tst-thread-quick_exit.cc: New file. + * stdlib/Versions: Add quick_exit@GLIBC_2.24. + * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'. + * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise + * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise + * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise + * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise + * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise + * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise + * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise + * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise + * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise + * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise + * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise + * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise + * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise + * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise + * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise + * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise + * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise + * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise + * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise + * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise + * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise + * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise + +2016-06-06 H.J. Lu + + * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix + a typo in comments. + +2016-06-06 Joseph Myers + + [BZ #20213] + * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN + argument to itself. + * math/libm-test.inc (asin_test_data): Add sNaN tests. + +2016-06-06 Adhemerval Zanella + + * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation + required flags. + (CFLAGS-pwritev64.c): Likewise. + * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file. + * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove + syscall from auto-generation. + * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation. + [WORDSIZE == 64] (pwritev64): Remove macro. + [!PWRITEV] (PWRITEV): Likewise. + [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise. + [!PWRITEV] (PWRITE): Likewise. + [!PWRITEV] (OFF_T): Likewise. + [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise. + (LO_HI_LONG): Remove macro. + [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function. + * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation. + (PWRITEV): Remove macro. + (PWRITEV_REPLACEMENTE): Likewise. + (PWRITE): Likewise. + (OFF_T): Likewise. + (pwritev64): New function. + * nptl/tst-cancel4.c (tf_writev): Add test. + + * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation + required flags. + (CFLAGS-preadv64.c): Likewise. + * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file. + * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove + syscall from auto-generation. + * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation. + [WORDSIZE == 64] (preadv64): Remove macro. + [!PREADV] (PREADV): Likewise. + [!PREADV] (PREADV_REPLACEMENT): Likewise. + [!PREADV] (PREAD): Likewise. + [!PREADV] (OFF_T): Likewise. + [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise. + (LO_HI_LONG): Remove macro. + [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function. + * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation. + (PREADV): Remove macro. + (PREADV_REPLACEMENTE): Likewise. + (PREAD): Likewise. + (OFF_T): Likewise. + (preadv64): New function. + * nptl/tst-cancel4.c (tf_preadv): Add test. + +2016-06-06 Joseph Myers + + [BZ #20212] + * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN + argument to itself. + * math/libm-test.inc (acos_test_data): Add sNaN tests. + +2016-06-06 Tulio Magno Quites Machado Filho + + * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr): + New symbol defined as libc_hidden_def. + (strcasestr): Became a weak alias to __strcasestr. + * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls + according to multi-arch support. Move __stpncpy hidden + definition from here to... + * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add + symbol stpncpy. + * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine + libc_hidden_builtin_def. + * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which + memset symbol to use when multi-arch support is available. + +2016-06-06 Stefan Liebler + + * dlfcn/tst-rec-dlopen.c: Include string.h. + +2016-06-05 Paul Pluzhnikov + + * manual/install.texi: Remove mention of --without-tls + * INSTALL: Regenerate. + +2016-06-05 Florian Weimer + + * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook): + Remove. + (call_function, interposed_malloc_called): New variables. + (malloc): New function. + (do_test): Do not change malloc hooks. Initialize malloc. Set + and clear call_function as needed. + +2016-06-04 Andreas Schwab + + * include/wchar.h (__wmemset): Use __typeof. + +2016-06-03 Carlos O'Donell + + * include/wchar.h (__wmemset): Declare function without typeof. + +2016-06-03 Joseph Myers + + [BZ #20205] + * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust + exponent when incrementing negative subnormal with low mantissa + word zero. + * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]: + Add another test. + +2016-06-03 Florian Weimer + + * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use + __wmemset instead of wmemset. + +2016-06-02 Carlos O'Donell + + * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H || + defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1. + [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define + __USE_KERNEL_IPV6_DEFS to 0. + * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'. + Update comment. + +2016-06-01 Florian Weimer + + [BZ #19861] + Do not use IFUNC resolver with potentially unrelocated symbol. + * nptl/pt-fork.c [HAVE_IFUNC]: Remove. + (DEFINE_FORK): Remove macro and inline definition. + (fork_alias): Renamed from fork_ifunc. + (__fork_alias): Renamed from __fork_ifunc. + +2016-05-30 Paul Pluzhnikov + + [BZ 19653] + * inet/if_index.c (__protocol_available): Delete #if 0'd code. + * inet/ruserpass.c (ruserpass): Delete #if 0'd code. + +2016-05-30 Samuel Thibault + + * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and + include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to + i386-linux-gnu). + * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function): + Set to no. + * sysdeps/mach/hurd/configure: Refresh. + +2016-05-30 Adhemerval Zanella + + [BZ #20178] + * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit + on failure instead of exit. + +2016-05-30 Roland McGrath + + [BZ #3629] + * manual/string.texi (Copying Strings and Arrays): stpcpy is part + of POSIX.1-2008. + +2016-05-30 Samuel Thibault + + * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]: + Use PLT entry for calling _hurd_self_sigstate. + +2016-05-27 H.J. Lu + + * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of + available logical processors with SMT level type sharing L2 + cache for Intel processors. + +2016-05-27 Joseph Myers + + [BZ #20160] + * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN + argument to itself before returning the result. + * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint): + Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf): + Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise. + + [BZ #20160] + * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN + argument to itself before returning the result. + * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): + Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf): + Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise. + +2016-05-27 Paul E. Murphy + + * libm-test.inc: Replace usage of M_El with + (lit_e): New macro. + +2016-05-27 Paul E. Murphy + + * libm-test.inc: Replace usage of M_PI_4l with + (lit_pi_4_d): New macro. + +2016-05-27 Paul E. Murphy + + * libm-test.inc: Replace usage of M_PIl with + (lit_pi): New macro. + +2016-05-27 Paul E. Murphy + + * libm-test.inc: Replace usage of M_PI2l with + (lit_pi_2_d): New macro. + + * math/test-double.h (LITM): New macro. + * math/test-float.h (LITM): Likewise. + * math/test-ldouble.h (LITM): Likewise. + +2016-05-27 Paul E. Murphy + + * libm-test.inc (M_PI_34l): Rename to + (lit_pi_3_m_4_d): New Macro. + (M_PI_34_LOG10El): Rename to + (lit_pi_3_m_4_ln10_m_d): New Macro. + (M_PI2_LOG10El): Rename to + (lit_pi_2_ln10_m_d): New Macro. + (M_PI4_LOG10El): Rename to + (lit_pi_4_ln10_m_d): New Macro. + (M_PI_LOG10El): Rename to + (lit_pi_ln10_d): New Macro. + +2016-05-27 Joseph Myers + + [BZ #20157] + * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to + determine whether to negate low half if [_ARCH_PPCGR], and integer + comparison otherwise. + * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to + determine whether to negate low half. + + * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro. + (NO_TEST_INLINE_DOUBLE): Likewise. + (TEST_COND_x86_64): Likewise. + (TEST_COND_x86): Likewise. + (M_PI_6l): Likewise. + +2016-05-27 Paul E. Murphy + + * math/libm-test.inc: + (TEST_FLOAT): Change usage to TEST_COND_binary32. + (TEST_DOUBLE): Change usage to TEST_COND_binary64. + (TEST_LDOUBLE): Update usage to evaluate as true if + the guarded tests match the property being tested. + (LDBL_MAX_EXP): Change to MAX_EXP. + (LDBL_MIN_EXP): Change to MIN_EXP. + (LDBL_MANT_DIG): Change to MANT_DIG, except for + nexttoward tests. + +2016-05-27 Paul E. Murphy + + * math/libm-test.inc: + (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro. + (TYPE_MIN): Likewise. + (TYPE_TRUE_MIN): Likewise. + (TYPE_MAX): Likewise. + (MIN_EXP): Likewise. + (MAX_EXP): Likewise. + (MANT_DIG): Likewise. + + (FSTR_MAX): New macro. + (__CONCATX): Likewise. + (QTYPE_STR): Likewise. + (TEST_COND_binary32): Likewise. + (TEST_COND_binary64): Likewise. + (TEST_COND_binary128): Likewise. + (TEST_COND_ibm128): Likewise. + (TEST_COND_intel96): Likewise. + (TEST_COND_m68k96): Likewise. + + (TEST_COND_flt_32): Redefine as equivalent format test macro. + (TEST_COND_dbl_64): Likewise. + (TEST_COND_ldbl_96_intel): Likewise. + (TEST_COND_ldbl_96_m68k): Likewise. + (TEST_COND_ldbl_128): Likewise. + (TEST_COND_ldbl_128ibm): Likewise. + + (plus_zero): Redefine using LIT macro. + (minus_zero): Likewise. + (plus_infty): Redefine as (INF). + (minux_infty): Redefine as (-INF). + (max_value): Redefine as TYPE_MAX. + (min_value): Redefine as TYPE_MIN. + (min_subnorm_value): Redefine as TYPE_TRUE_MIN. + + (print_float): Refactor to use snprintf to convert FLOAT values + to string. This brings it closer to dropin replacement of strtof + for the TS 18661 defined types. + (update_stats): Likewise. + (print_complex_function_ulps): Likewise. + (print_max_error): Likewise. + (print_complex_max_error): Likewise. + (check_float_internal): Likewise. + + * math/test-float.h (PREFIX): New macro. + (LIT): Likewise. + (TYPE_STR): Likewise. + (FTOSTR): Likewise. + + * math/test-double.h (PREFIX): New macro. + (LIT): Likewise. + (TYPE_STR): Likewise. + (FTOSTR): Likewise. + + * math/test-ldouble.h (PREFIX): New macro. + (LIT): Likewise. + (TYPE_STR): Likewise. + (FTOSTR): Likewise. + +2016-05-27 Joseph Myers + + [BZ #20156] + * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part + to itself when zero or not finite. + * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise. + +2016-05-26 Joseph Myers + + [BZ #20153] + * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return + x * x + x for infinities and NaNs. + + [BZ #20151] + * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN + argument to itself before returning result. + (__ieee754_y0l): Likewise. + * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise. + (__ieee754_y1l). + + * math/libm-test.inc (acosh_test_data): Add sNaN tests. + (atan_test_data): Likewise. + (ceil_test_data): Likewise. + (cos_test_data): Likewise. + (cosh_test_data): Likewise. + (erf_test_data): Likewise. + (exp2_test_data): Likewise. + (fabs_test_data): Likewise. + (floor_test_data): Likewise. + (ilogb_test_data): Likewise. + (j0_test_data): Likewise. + (j1_test_data): Likewise. + (jn_test_data): Likewise. + (lgamma_test_data): Likewise. + (lrint_test_data): Likewise. + (llrint_test_data): Likewise. + (logb_test_data): Likewise. + (lround_test_data): Likewise. + (llround_test_data): Likewise. + (nearbyint_test_data): Likewise. + (rint_test_data): Likewise. + (round_test_data): Likewise. + (sin_test_data): Likewise. + (sincos_test_data): Likewise. + (sinh_test_data): Likewise. + (sqrt_test_data): Likewise. + (tan_test_data): Likewise. + (tanh_test_data): Likewise. + (tgamma_test_data): Likewise. + (trunc_test_data): Likewise. + (y0_test_data): Likewise. + (y1_test_data): Likewise. + (yn_test_data): Likewise. + + * math/libm-test.inc: Update comment about NaN testing. + (TEST_SNAN): New macro. + (snan_value): Likewise. + (enable_test): Disable tests of sNaNs when SNAN_TESTS fails. + (fpclassify_test_data): Add sNaN tests. + (isfinite_test_data): Likewise. + (isinf_test_data): Likewise. + (isnan_test_data): Likewise. + (isnormal_test_data): Likewise. + (issignaling_test_data): Likewise. + (signbit_test_data): Likewise. + * math/gen-libm-test.pl (%beautify): Add snan_value. + (show_exceptions): Add argument $test_snan. + (parse_args): Handle snan_value as non-finite. Update call to + show_exceptions. + * math/Makefile (libm-test-no-inline-cflags): Add + -fsignaling-nans. + +2016-05-26 Adhemerval Zanella + + * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule. + (CFLAGS-oldsendmsg.c): Add rule. + * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): + Correct recvmsg symbol name. + * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): + Likewise. + +2016-05-25 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/Makefile + [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and + oldsendmmsg. + * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and + sendmmsg. + * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise. + * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: + Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file. + * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise. + * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr + iovlen and controllen fields to adjust to POSIX specification. + * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise. + + * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail- + and change to correct expected type. + (msghdr.msg_controllen): Likewise. + (cmsghdr.cmsg_len): Likewise. + * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix + expected POSIX assumption about the size. + (msghdr.msg_controllen): Likewise. + (msghdr.__glibc_reserved1): Likewise. + (msghdr.__glibc_reserved2): Likewise. + (cmsghdr.cmsg_len): Likewise. + (cmsghdr.__glibc_reserved1): Likewise. + * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg. + Add ptw-oldrecvmsg and ptw-oldsendmsg. + (CFLAGS-sendmsg.c): Remove rule. + (CFLAGS-recvmsg.c): Likewise. + (CFLAGS-oldsendmsg.c): Add rule. + (CFLAGS-oldrecvmsg.c): Likewise. + * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add + recvmsg and sendmsg. + * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24): + Likewise. + * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise. + * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise. + * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise. + * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise. + * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise. + * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24): + Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24): + Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24): + Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24): + Likewise. + * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24): + Likewise. + * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24): + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc] + (GLIBC_2.24): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24): + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24): + Likewise. + * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise. + * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24): + Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24): + Likewise. + ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24): + Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc] + (GLIBC_2.24): Likewise. + ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24): + Likewise. + * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24): + Likewise. + * sysdeps/unix/sysv/linux/Makefile + [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg. + (CFLAGS-sendmsg.c): Add rule. + (CFLAGS-recvmsg.c): Likewise. + (CFLAGS-oldsendmsg.c): Likewise. + (CFLAGS-oldrecvmsg.c): Likewise. + * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr + initialization. + * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise. + * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise. + * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file. + * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise. + * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr + iovlen and controllen fields to adjust to POSIX specification. + * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise. + * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and + added recvmsg and sendmsg. + * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: + Likewise. + * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise. + * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise. + Likewise. + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise. + Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise. + + * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove + from auto-generation. + (sendmsg): Likewise. + * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise. + (sendmsg): Likewise. + * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise. + (sendmsg): Likewise. + * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise. + (sendmsg): Likewise. + * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise. + (sendmsg): Likewise. + * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise. + (sendmsg): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg): + Likewise. + (sendmsg): Likewise. + * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise. + (sendmsg): Likewise. + * sysdeps/unix/sysv/linux/i386/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL): + Remove. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL): + Undefine. + [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL): + Likewise. + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_SENDMSG_SYSCALL): Define. + (__ASSUME_RECVMSG_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/m68k/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL): + Remove. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL): + Undefine. + [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL): + Likewise. + * sysdeps/unix/sysv/linux/s390/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL): + Remove. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL): + Undefine. + [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL): + Likewise. + * sysdeps/unix/sysv/linux/microblaze/kernel-features.h + (__ASSUME_SENDMSG_SYSCALL): Undefine. + (__ASSUME_RECVMSG_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/powerpc/kernel-features.h + (__ASSUME_SENDMSG_SYSCALL): Likewise. + (__ASSUME_RECVMSG_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/sh/kernel-features.h + (__ASSUME_SENDMSG_SYSCALL): Likewise. + (__ASSUME_RECVMSG_SYSCALL): Likewise. + +2016-05-25 Paul E. Murphy + + * stdlib/gen-tst-strtod-round.c: Add backslash to + compile command in comment. + (printfp): Remove the literal suffix, and define an infinite + value as INF to avoid expansion clash with INFINITY. + (round_str): Remove the literal suffix. + (round_for_all): Likewise, remove the now duplicate ldbl-64 + entry, and remove some magic constants. + + * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce + duplication. Remove duplicate dbl-64 and ldbl-64 entries. + (ROUNDING_TESTS_long_double): Define as 0 for ibm128. + (_CONCAT): New macro. + (CONCAT): Likewise. + (CHOOSE_ld): Likewise. + (CHOOSE_f): Likewise. + (CHOOSE_d): Likewise. + (FTYPE_MEMBER): Likewise. + (BOOL_MEMBER): Likewise. + (STRUCT_FOREACH_FLOAT_FTYPE): Likewise. + (STRUCT_FOREACH_FLOAT_BOOL): Likewise. + (_XNTRY): Likewise. + (XNTRY): Likewise. + (_ENTRY): Likewise. + (ENTRY): Likewise. + (test_exactness): Generate members via macro. + (test_results): Likewise. + (test): Update members. + (TEST): Redefine using new macros. + (INF): New macro. + (fetestmodes): New structure. + (do_test): Refactor to be type generic. + (test_in_one_mode): Refactor duplicate code into + (GEN_ONE_TEST): New macro. + + * stdlib/tst-strtod-round-data.h: Regenerate. + + * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): + Extend to pass additional arbitrary parameters to + generators. + +2016-05-25 Joseph Myers + + [BZ #15479] + * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of + floating-point state after first floating-point operation on + input. Restore full floating-point state instead of just rounding + mode. + * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise. + + [BZ #15479] + * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of + floating-point state after first floating-point operation on + input. Restore full floating-point state instead of just rounding + mode. + * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise. + +2016-05-25 Stefan Liebler + + [BZ #19727] + * iconvdata/utf-16.c (BODY): Report an error if first word is not a + valid high surrogate. + * iconvdata/utf-32.c (BODY): Report an error if the value is in range + of an utf16 surrogate. + * iconv/gconv_simple.c (BODY): Likewise. + * iconvdata/bug-iconv12.c: New file. + * iconvdata/Makefile (tests): Add bug-iconv12. + +2016-05-25 Stefan Liebler + + [BZ #19726] + * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and + outptrp in case of an illegal input. + * iconv/tst-iconv6.c: New file. + * iconv/Makefile (tests): Add tst-iconv6. + +2016-05-25 Stefan Liebler + + * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report + an error in case of a value in range of an utf16 low surrogate. + +2016-05-25 Stefan Liebler + + * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report + an error in case of a value in range of an utf16 low surrogate. + +2016-05-25 Stefan Liebler + + * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory): + Move to ... + * sysdeps/s390/Makefile: ... here. + * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ... + * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here. + (BRANCH_ON_COUNT): New define. + (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg. + * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ... + * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to + run on s390-32, too. + * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ... + * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to + run on s390-32, too. + * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ... + * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to + run on s390-32, too. + +2016-05-25 Stefan Liebler + + * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c, + etf3eh or new vector loop-variant. + +2016-05-25 Stefan Liebler + + * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c, + etf3eh or new vector loop-variant. + +2016-05-25 Stefan Liebler + + * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh + or new vector loop-variant. + +2016-05-25 Stefan Liebler + + * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP): + Rename to TR_LOOP and usage of tr instead of troo instruction. + +2016-05-25 Stefan Liebler + + * sysdeps/s390/multiarch/gconv_simple.c: New File. + * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple. + +2016-05-25 Stefan Liebler + + * sysdeps/s390/multiarch/8bit-generic.c: New File. + * sysdeps/s390/multiarch/gen-8bit.sh: New File. + * sysdeps/s390/multiarch/Makefile (generate-8bit-table): + New override define. + * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise. + +2016-05-25 Stefan Liebler + + * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine. + * sysdeps/s390/configure.ac: Add test for S390 vector register + support in gcc. + * sysdeps/s390/configure: Regenerated. + +2016-05-25 Stefan Liebler + + * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules): + Install file from $(objpfx)gconv-modules. + ($(objpfx)gconv-modules): Concatenate architecture specific file + in variable sysdeps-gconv-modules and gconv-modules in src dir. + * sysdeps/s390/gconv-modules: New file. + * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules): + Deleted. + ($(objpfx)gconv-modules-s390): Deleted. + (sysdeps-gconv-modules): New variable. + +2016-05-24 Joseph Myers + + [BZ #15479] + * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3 + of immediate operand to rounding instruction. + * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41): + Likewise. + * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41): + Likewise. + * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41): + Likewise. + +2016-05-24 Paul E. Murphy + + * math/libm-test.inc (MIN_EXP): Directly define as + (DBL|LDBL|FLT)_MIN_EXP and fixup usage. + +2016-05-24 Paul E. Murphy + + * math/libm-test.inc (MANT_DIG): Directly define as + (DBL|LDBL|FLT)_MANT_DIG and fixup usage. + +2016-05-24 Paul E. Murphy + + * stdlib/gen-tst-strtod-round.c (main): + Change usage to more closely match the generated + output. Add usage and compilation instructions. + (string_to_fp): Add and use FILE* parameter as + output target. + (print_fp): Likewise. + (round_str): Likewise. + (round_for_all): Likewise. + * stdlib/tst-strtod-round.c (tests): Move into + * stdlib/tst-strtod-round-data.h: New file. + +2016-05-24 Joseph Myers + + [BZ #15479] + * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable. + (__round): Do not force "inexact" exception. + * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove + variable. + (__round): Do not force "inexact" exception. + * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable. + (__roundf): Do not force "inexact" exception. + * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable. + (__roundl): Do not force "inexact" exception. + * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable. + (__roundl): Do not force "inexact" exception. + * math/libm-test.inc (round_test_data): Do not allow spurious + "inexact" exceptions. + + [BZ #15479] + * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact" + exception in comment. + (huge): Remove variable. + (__floor): Do not force "inexact" exception. + * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention + "inexact" exception in comment. + (huge): Remove variable. + (__floor): Do not force "inexact" exception. + * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact" + exception in comment. + (huge): Remove variable. + (__floorf): Do not force "inexact" exception. + * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact" + exception in comment. + (huge): Remove variable. + (__floorl): Do not force "inexact" exception. + + [BZ #15479] + * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact" + exception in comment. + (huge): Remove variable. + (__ceil): Do not force "inexact" exception. + * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention + "inexact" exception in comment. + (huge): Remove variable. + (__ceil): Do not force "inexact" exception. + * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable. + (__ceilf): Do not force "inexact" exception. + * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact" + exception in comment. + (huge): Remove variable. + (__ceill): Do not force "inexact" exception. + +2016-05-24 H.J. Lu + + * config.h.in (BIND_NOW): New. + * configure.ac (BIND_NOW): New. Defined for --enable-bind-now. + * configure: Regenerated. + * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to + indirect branch via the GOT slot. + +2016-05-24 Stefan Liebler + + [BZ #19765] + * sysdeps/s390/mempcpy.S: New File. + * sysdeps/s390/multiarch/mempcpy.c: Likewise. + * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy. + * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list): + Add mempcpy variants. + * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point. + (memcpy): Adjust to be usable from mempcpy entry point. + (__memcpy_mvcle): Likewise. + * sysdeps/s390/s390-64/memcpy.S: Likewise. + * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points + ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy. + (__memcpy_z196): Adjust to be usable from mempcpy entry point. + (__memcpy_z10): Likewise. + * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise. + +2016-05-24 Stefan Liebler + + * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc): + Remove __GI_ symbol. + * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol. + * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise. + * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol. + * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise. + * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol. + * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise. + +2016-05-24 Stefan Liebler + + * sysdeps/s390/s390-64/memcpy.S (memcpy): + Use cghi instead of chi to compare 64bit value. + +2016-05-24 Stefan Liebler + + * sysdeps/s390/s390-32/memcpy.S (memcpy): + Jump to 1MB check before executing mvc-loop. + +2016-05-24 Florian Weimer + + [BZ #6527] + * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment + unconditionally. + * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version. + +2016-05-23 Paul E. Murphy + + * stdlib/tst-strtod6.c (do_test): Use new type generic + invocation of the test function. + (test): Refactor into ... + (TEST_STRTOD): New macro base function. + +2016-05-23 Paul E. Murphy + + * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ... + (TEST_STRTOD): New macro. + (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH + +2016-05-23 Paul E. Murphy + + * stdlib/tst-strtod6.c (do_test): Use new type generic + invocation of the test function. + (test): Refactor into ... + (TEST_STRTOD): New macro base function. + +2016-05-23 Florian Weimer + + CVE-2016-4429 + [BZ #20112] + * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error + payload. + +2016-05-23 Florian Weimer + + [BZ #20111] + * bits/sockaddr.h (_SS_SIZE): Define. + * bits/socket.h (_SS_SIZE): Remove. + (_SS_PADSIZE): Adjust to account for all padding. + (struct sockaddr_storage): Update comment. Avoid implicit + padding. + * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove. + (_SS_PADSIZE): Adjust to account for all padding. + (struct sockaddr_storage): Update comment. Avoid implicit + padding. + * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define. + * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove. + (_SS_PADSIZE): Adjust to account for all padding. + (struct sockaddr_storage): Update comment. Avoid implicit + padding. + * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file. + __SS_SIZE is 126 in this version. + * inet/tst-sockaddr.c: New file. + * inet/Makefile (tests): Add tst-sockaddr.c + (tst-sockaddr.c): Compile with non-strict aliasing. + +2016-05-23 Joseph Myers + + * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for + [XPG3 || XPG4]. + (NL_ARGMAX): Also expect for [XPG3]. + (NL_LANGMAX): Likewise. + (NL_MSGMAX): Likewise. + (NL_NMAX): Likewise. + (NL_SETMAX): Likewise. + (NL_TEXTMAX): Likewise. + (NZERO): Likewise. + (TMP_MAX): Likewise. + * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove + variable. + + * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro. + (PF_MAX): Update value. + (AF_KCM): New macro. + (SOL_NETBEUI): Likewise. + (SOL_LLC): Likewise. + (SOL_DCCP): Likewise. + (SOL_NETLINK): Likewise. + (SOL_TIPC): Likewise. + (SOL_RXRPC): Likewise. + (SOL_PPPOL2TP): Likewise. + (SOL_BLUETOOTH): Likewise. + (SOL_PNPIPE): Likewise. + (SOL_RDS): Likewise. + (SOL_IUCV): Likewise. + (SOL_CAIF): Likewise. + (SOL_ALG): Likewise. + (SOL_NFC): Likewise. + (SOL_KCM): Likewise. + (MSG_BATCH): New enum value and macro. + +2016-05-20 H.J. Lu + + [BZ #18185] + * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads + sharing L2 cache to 2 for Knights Landing. + +2016-05-20 Joseph Myers + + * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3]. + (FTW_DP): Do not expect for [XPG3 || XPG4]. + (FTW_SL): Do not expect for [XPG3]. + (FTW_SLN): Likewise. + (FTW_PHYS): Likewise. + (FTW_MOUNT): Likewise. + (FTW_DEPTH): Likewise. + (FTW_CHDIR): Likewise. + (nftw): Likewise. + * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove + variable. + +2016-05-19 Rical Jasan + + * manual/errno.texi: Fix various typos & grammar errors. + +2016-05-19 Rical Jasan + + * manual/intro.texi: Fix duplicated typo. + +2016-05-19 Joseph Myers + + [BZ #13304] + * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include , + , and . + (add_split): New function. + (mul_split): Likewise. + (ext_val): New typedef. + (store_ext_val): New function. + (mul_ext_val): New function. + (compare): New function. + (add_split_ext): New function. + (__fmal): After checking for Inf, NaN and zero, compute result as + an exact sum of scaled double values in round-to-nearest before + adding those up and adjusting for other rounding modes. + * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from + tests of fma. + * math/auto-libm-test-out: Regenerated. + +2016-05-19 H.J. Lu + + [BZ #20119] + * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel + processor level type mask for CPUID with EAX == 11. + +2016-05-19 H.J. Lu + + * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting + logical threads if the HTT bit is 0. + * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New. + (index_cpu_HTT): Likewise. + (reg_HTT): Likewise. + +2016-05-19 H.J. Lu + + [BZ #20115] + * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset): + Remove alignments on jump targets. + +2016-05-19 Joseph Myers + + * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3]. + (getpwent): Likewise. + (setpwent): Likewise. + * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove + variable. + + * conform/data/search.h-data (insque): Do not expect for [XPG3]. + (remque): Likewise. + * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove + variable. + +2016-05-18 Joseph Myers + + * math/libm-test.inc: Update comment not to refer to signs of NaNs + not being tested. + +2016-05-18 H.J. Lu + + * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S + (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume + call. + * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S + (__condvar_cleanup1): Likewise. + +2016-05-18 H.J. Lu + + * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND): + New + (__pthread_unwind): Renamed to ... + (PTHREAD_UNWIND): This. + (__pthread_enable_asynccancel): Replace + JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND. + +2016-05-18 Joseph Myers + + * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU] + (CLONE_NEWCGROUP): New macro. + + * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2] + (Q_GETNEXTQUOTA): New macro. + +2016-05-18 H.J. Lu + + [BZ #19907] + * benchtests/bench-memcpy.c (do_one_test): Clear the destination + buffer updated by the previous run. + * string/test-memcpy.c (do_one_test): Likewise. + * benchtests/bench-memmove.c (do_one_test): Add a comment. + * string/test-memmove.c (do_one_test): Likewise. + +2016-05-17 Joseph Myers + + [BZ #20094] + * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED], + not [__USE_XOPEN]. + (unlockpt): Likewise. + (ptsname): Likewise. + * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove + variable. + + [BZ #20076] + * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED] + instead of [__USE_UNIX98]. + (S_ISSOCK): Likewise. + * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove + variable. + + [BZ #20074] + * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if + [__USE_POSIX]. + * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove + variable. + + [BZ #20051] + * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98] + (ttyslot): Do not declare. + * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K] + (ttyslot): New prototype. + * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove + variable. + (test-xfail-UNIX98/stdlib.h/conform): Likewise. + +2016-05-17 Stefan Liebler + + * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a). + +2016-05-13 Florian Weimer + + Fix race condition in tst-mallocfork2, use fewer resources. + * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP + to current process group. + (signal_sender): Yield in the non-sleeping case. + +2016-05-13 Joseph Myers + + * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3]. + (ecvt): Likewise. + (fcvt): Likewise. + (gcvt): Likewise. + (getsubopt): Likewise. + (grantpt): Likewise. + (initstate): Likewise. + (l64a): Likewise. + (mktemp): Likewise. + (mkstemp): Likewise. + (ptsname): Likewise. + (random): Likewise. + (realpath): Likewise. + (setstate): Likewise. + (srandom): Likewise. + (ttyslot): Likewise. + (unlockpt): Likewise. + (valloc): Likewise. + + * conform/data/string.h-data (strdup): Do not expect for [XPG3]. + * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove + variable. + +2016-05-13 H.J. Lu + + [BZ #20072] + * sysdeps/i386/dl-machine.h (dl_platform_init): Call + init_cpu_features only if SHARED is defined. + * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise. + +2016-05-13 H.J. Lu + + * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support + non-inclusive caches on Intel processors. + +2016-05-13 Florian Weimer + + * malloc/malloc.c (dumped_main_arena_start) + (dumped_main_arena_end): New variables. + (DUMPED_MAIN_ARENA_CHUNK): New macro. + (do_check_chunk): Skip dumped fake mmapped chunks. + (munmap_chunk): Likewise. + (__libc_free): Do not adjust statistics for fake mmapped chunks. + (__libc_realloc): Adjust hardening check. Always copy dumped fake + mmapped chunks. + * malloc/hooks.c (__malloc_set_state): Do not update main_arena. + Mark dumped chunks as using mmap. Update dumped_main_arena_start + and dumped_main_arena_end to cover the dumped heap. + +2016-05-12 Joseph Myers + + * conform/data/time.h-data (getdate_err): Do not expect for + [XPG3]. + (getdate): Likewise. + * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove + variable. + + * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3]. + (F_ULOCK): Likewise. + (F_TEST): Likewise. + (F_TLOCK): Likewise. + (useconds_t): Likewise. + (intptr_t): Do not expect for [XPG3] or [XPG4]. + (brk): Do not expect for [XPG3] + (fchown): Likewise. + (fchdir): Likewise. + (ftruncate): Likewise. + (getdtablesize): Likewise. + (gethostid): Likewise. + (getpagesize): Likewise. + (getpgid): Likewise. + (getsid): Likewise. + (getwd): Likewise. + (lchown): Likewise. + (lockf): Likewise. + (readlink): Likewise. + (sbrk): Likewise. + (setpgrp): Likewise. + (setregid): Likewise. + (setreuid): Likewise. + (symlink): Likewise. + (sync): Likewise. + (truncate): Likewise. + (ualarm): Likewise. + (usleep): Likewise. + (vfork): Likewise. + * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove + variable. + + [BZ #20054] + * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED], + not [__USE_UNIX98]. + * conform/data/unistd.h-data (gethostname): Do not expect for + [XPG3]. + + * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect. + [!POSIX] (S_IFBLK): Likewise. + [!POSIX] (S_IFCHR): Likewise. + [!POSIX] (S_IFIFO): Likewise. + [!POSIX] (S_IFREG): Likewise. + [!POSIX] (S_IFDIR): Likewise. + [!POSIX] (S_IFLNK): Likewise. + [!POSIX] (S_IFSOCK): Likewise. + * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove + variable. + (test-xfail-XPG4/fcntl.h/conform): Likewise. + +2016-05-12 Wilco Dijkstra + + * sysdeps/aarch64/memset.S (__memset): + Rewrite of optimized memset. + +2016-05-12 Florian Weimer + + [BZ #19703] + Partially async-signal-safe fork for single-threaded processes. + * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads + variable. Do not acquire and reset/release malloc and libio locks + in single-threaded processes. + * malloc/tst-mallocfork2.c: New file. + * malloc/Makefile (tests): Add it. + +2016-05-12 Florian Weimer + + * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf + argument. Use scratch buffer instead of extend_alloca. + (gethosts): Use scratch buffer instead of extend_alloca. + (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of + extend_alloca. + (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet. + +2016-05-11 Joseph Myers + + [BZ #20055] + * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED] + instead of [__USE_UNIX98]. + (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of + [__USE_UNIX98]. + * conform/data/termios.h-data (tcgetsid): Do not expect for + [XPG3]. + * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove + variable. + (test-xfail-XPG4/termios.h/conform): Likewise. + +2016-05-11 Florian Weimer + + Do not use mcheck in localedef. + * locale/programs/localedef.c (turn_on_mcheck) + (__malloc_initialize_hook): Remove. + +2016-05-11 Stefan Liebler + + * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove. + * sysdeps/s390/s390-64/Makefile: Likewise. + +2016-05-11 H.J. Lu + + * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers): + Remove ifunc-defines.sym. + * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers): + Likewise. + * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed. + * sysdeps/x86/rtld-global-offsets.sym: Likewise. + * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise. + * sysdeps/x86/Makefile (gen-as-const-headers): Remove + rtld-global-offsets.sym. + * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ... + * sysdeps/x86/cpu-features-offsets.sym: This. + * sysdeps/x86/cpu-features.h: Include + instead of and . + +2016-05-10 Joseph Myers + + [BZ #20073] + * io/sys/stat.h (fchmod): Declare for + [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX]. + * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove + variable. + + * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect. + [XPG3] (S_IFSOCK): Likewise. + [XPG3] (S_ISVTX): Likewise. + [XPG3] (S_ISLNK): Likewise. + [XPG3] (S_ISSOCK): Likewise. + [XPG3] (fchmod): Likewise. + [XPG3] (lstat): Likewise. + [XPG3] (mknod): Likewise. + + * conform/data/sys/stat.h-data (st_blksize): Do not expect for + [XPG3]. Expect type long and XFAIL for [XPG4]. + (st_blocks): Likewise. + + [BZ #20044] + * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K] + (pthread_atfork): New prototype. + * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove + variable. + + [BZ #20043] + * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New + prototype. + +2016-05-10 Florian Weimer + + [BZ #20017] + * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of + gmtime. + +2016-05-10 Florian Weimer + + [BZ #19994] + * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6 + flag in _res.options. + +2016-05-09 Joseph Myers + + * conform/data/sys/types.h-data (blkcnt_t): Do not expect for + [XPG3 || XPG4]. + (blksize_t): Likewise. + (clockid_t): Likewise. + * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove + variable. + (test-xfail-XPG4/sys/types.h/conform): Likewise. + +2016-05-09 Stefan Liebler + + * sysdeps/unix/sysv/linux/s390/init-first.c: + Add VDSO_SYMBOL(getcpu). + (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu). + * sysdeps/unix/sysv/linux/s390/libc-vdso.h: + Add VDSO_SYMBOL(getcpu). + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: + New define HAVE_GETCPU_VSYSCALL. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. + +2016-05-08 H.J. Lu + + * sysdeps/i386/cacheinfo.c: Include + instead of . + * sysdeps/x86_64/cacheinfo.c: Moved to ... + * sysdeps/x86/cacheinfo.c: Here. + +2016-05-04 Florian Weimer + + * malloc/malloc-internal.h: Adjust header file guard. + +2016-05-04 Florian Weimer + + [BZ #19787] + * inet/getnameinfo.c (check_sprintf_result): New function. + (CHECKED_SNPRINTF): New macro. + (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope + to the host buffer. + (gni_host_local): Use checked_copy to copy the host name. + (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name. + (gni_serv_local): Use checked_copy to copy the service name. + (getnameinfo): Remove unnecessary truncation of result buffers. + +2016-05-04 Florian Weimer + + * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW + in case of inet_ntop failure. + +2016-05-04 Florian Weimer + + * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to + avoid long lines. + (gni_host_inet_numeric): Likewise. Reduce scope of local + variables. + (gni_host_inet, gni_host_local): Add comment. + (gni_host): Add comment. Use temporary to avoid long lines. + +2016-05-04 Gabriel F. T. Gomes + + * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition + registers specifiers where general purpose registers specifiers should + have been used. + +2016-05-04 Florian Weimer + + [BZ #19779] + CVE-2016-1234 + Avoid copying names of directory entries. + * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK) + (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE) + (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros. + (struct readdir_result): New type. + (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER) + (GL_READDIR): New macros. + (readdir_result_might_be_symlink, readdir_result_might_be_dir) + (convert_dirent, convert_dirent64): New functions. + (glob_in_dir): Use struct readdir_result. Call convert_dirent or + convert_dirent64. Adjust references to the readdir result. + * sysdeps/unix/sysv/linux/i386/glob64.c: + (convert_dirent, GL_READDIR): Redefine for second file inclusion. + * posix/bug-glob2.c (LONG_NAME): Define. + (filesystem): Add LONG_NAME. + (my_DIR): Increase the size of room_for_dirent. + +2016-05-03 Joseph Myers + + [BZ #20041] + * misc/sys/select.h (__need_timespec): Only define if + [__USE_XOPEN2K]. + * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove + variable. + (test-xfail-XPG4/utmpx.h/conform): Likewise. + (test-xfail-UNIX98/sys/time.h/conform): Likewise. + (test-xfail-UNIX98/utmpx.h/conform): Likewise. + +2016-05-03 Paul E. Murphy + Segher Boessenkool + + [BZ #20004] + * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: + (__novec_swapcontext): Add missing load. + +2016-05-02 Joseph Myers + + [BZ #20023] + * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include + . + * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove + variable. + (test-xfail-XOPEN2K/fcntl.h/conform): Likewise. + +2016-05-02 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix + flags CLONE_VM compare. + +2016-05-02 Florian Weimer + + [BZ #20031] + * hesiod/hesiod.c (get_txt_records): Return error if TXT record is + completely empty. + +2016-05-02 Florian Weimer + + [BZ #19573] + * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init. + * hesiod/nss_hesiod/hesiod-init.c: Remove file. + * hesiod/nss_hesiod/nss_hesiod.h: Likewise. + * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove. + (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve) + (hesiod_free_list): Mark as hidden. + * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res, + res_set, res_get. + * hesiod/hesiod.c: Remove unnecessary forward declarations. + (init, __hesiod_res_get, __hesiod_res_set): Remove. + (hesiod_init): Remove obsolete res_ninit call. + (hesiod_end): Do not free resolver state. Do not invoke callback. + (hesiod_bind): Do not call init. + (get_txt_records): Use res_mkquery, res_send instead of + res_nmkquery, res_nsend. + * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init + instead of _nss_hesiod_init. + (_nss_hesiod_initgroups_dyn): Likewise. + * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise. + * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise. + * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise. + +2016-05-02 Florian Weimer + + * hesiod/hesiod_p.h (DEF_RHS): Remove. + * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS. + +2016-05-02 Florian Weimer + + * hesiod/hesiod.h: Remove RCS keyword. + * hesiod/hesiod_p.h: Likewise. + + * hesiod/hesiod.c: Likewise. + +2016-05-01 Arnas Udovičius + + [BZ #12450] + * locale/iso-639.def: Add Samogitian/sgs. + +2016-04-30 Andreas Schwab + + * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define. + + * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels. + +2016-04-29 Stephen Gallagher + Carlos O'Donell + + [BZ #19072] + * grp/Makefile (headers): Add grp-merge.h + (routines): Add grp-merge. + * grp/getgrgid_r.c: Include grp-merge.h. + (DEEPCOPY_FN): Define. + (MERGE_FN): Define. + * grp/getgrname_r.c: Include grp-merge.h. + (DEEPCOPY_FN): Define. + (MERGE_FN): Define. + * grp/grp-merge.c: New file. + * grp/grp-merge.h: New file. + * include/grp-merge.h: New file. + * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and + __copy_grp@GLIBC_PRIVATE. + * manual/nss.texi (Actions in the NSS configuration): Describe + return, continue, and merge. + * nscd/getgrgid_r.c: Include grp/grp-merge.h. + (DEEPCOPY_FN): Define. + (MERGE_FN): Define. + * nscd/getgrnam_r.c: Include grp/grp-merge.h. + (DEEPCOPY_FN): Define. + (MERGE_FN): Define. + * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval. + [!MERGE_FN]: Define __merge_einval. + (CHECK_MERGE): Define. + (REENTRANT_NAME): Process merge if do_merge is true. + * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE. + (__nss_getent_r): Likewise. + * nss/nsswitch.c (nss_parse_service_list): Likewise. + * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE. + +2016-04-29 Adhemerval Zanella + + [BZ #20012] + * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not + length to calculate the buffer to read. + (fmemopen_write): Set the buffer position based on bytes written. + (fmemopen_seek): Return EINVAL for invalid whence modes. + + [BZ #19957] + * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove + tst-getpid2. + (test): Add tst-clone2. + * sysdeps/unix/sysv/linux/tst-clone2.c: New file. + * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change + pid/tid fields for CLONE_VM. + * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise. + * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise. + * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise. + * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise, + * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise. + * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise. + * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise. + * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone): + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise. + * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise. + * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise. + * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise. + * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file. + +2016-04-29 Florian Weimer + + [BZ #19642] + * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric) + (gni_host_inet, gni_host_local, gni_host, gni_serv_inet) + (gni_serv_local, gni_serv): New functions extracted from + getnameinfo. + (getnameinfo): Call gni_host and gni_serv to perform the + processing. Always free scratch buffer. + +2016-04-29 Gabriel F. T. Gomes + + * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the + remaining bytes in the dest string, with zeros. + +2016-04-29 Florian Weimer + + [BZ #20010] + CVE-2016-3706 + * sysdeps/posix/getaddrinfo.c + (convert_hostent_to_gaih_addrtuple): New function. + (gethosts): Call convert_hostent_to_gaih_addrtuple. + (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert + AF_INET data. + +2016-04-29 Florian Weimer + + glob: Simplify and document the interface for the GLOB_ALTDIRFUNC + callback function gl_readdir. + * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove. + (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy. + (glob_in_dir): Remove len. Use strdup instead of malloc and + memcpy to copy the name. + * manual/pattern.texi (Calling Glob): Document requirements for + implementations of the gl_readdir callback function. + * manual/examples/mkdirent.c: New example. + * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally, + per the manual guidance. + * posix/tst-gnuglob.c (my_readdir): Likewise. + +2016-04-28 Joseph Myers + + [BZ #20014] + * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506], + not [__USE_POSIX]. + (getchar_unlocked): Likewise. + (putc_unlocked): Likewise. + (putchar_unlocked): Likewise. + (flockfile): Likewise. + (ftrylockfile): Likewise. + (funlockfile): Likewise. + * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove + variable. + (test-xfail-XPG4/stdio.h/conform): Likewise. + + * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR): + Expect constant. + [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise. + * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove + variable. + (test-xfail-XPG4/langinfo.h/conform): Likewise. + (test-xfail-UNIX98/langinfo.h/conform): Likewise. + + * libio/stdio.h (off_t): Also define if [__USE_UNIX98]. + [__USE_LARGEFILE64] (off64_t): Likewise. + * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove + variable. + +2016-04-28 Florian Weimer + + * inet/getnameinfo.c (getnameinfo): Do not preserve errno. + +2016-04-28 Florian Weimer + + * resolv/inet_addr.c: Reindent preprocessor conditionals. + * resolv/res_init.c: Likewise. + * resolv/res_mkquery.c: Likewise. + +2016-04-28 Florian Weimer + + * resolv/res_init.c (isascii): Do not define. Use definition in + . + * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional. + (LOG_AUTH): Remove. + (SPRINTF): Remove, adjust caller. + (MULTI_PTRS_ARE_ALIASES): Remove, always defined. + +2016-04-28 Florian Weimer + + * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove + SUNSECURITY conditional. + * resolv/gethnamaddr.c (gethostbyaddr): Likewise. + +2016-04-28 Florian Weimer + + * resolv/arpa/nameser.h: Include unconditionally. + * resolv/gethnamaddr.c: Use include files from conf/portability.h. + Remove BSD-related preprocessor conditionals. + * conf/portability.h: Remove. + +2016-04-28 Florian Weimer + + * resolv/resolv.h: Remove __BIND_NOSTATIC conditional. + * resolv/res_data.c: Likewise. + +2016-04-28 Florian Weimer + + * resolv/res_comp.c: Remove code conditional on __ultrix__. + * resolv/res_data.c: Remove code conditional on ultrix. + +2016-04-28 Florian Weimer + + * resolv/res_init.c (RFC1535): Do not define. Remove + RFC1535 preprocessor conditionals. + * resolv/README: Update. Do not claim strict RFC 1535 compliance + because there configuration options which make the resolver + behavior different. + +2016-04-28 Florian Weimer + + * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove + RESOLVSORT preprocessor conditionals. + * resolv/nss_dns/dns-host.c: Likewise. + * resolv/res_init.c: Likewise. + +2016-04-28 Florian Weimer + + * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It + is never defined. + +2016-04-28 Florian Weimer + + * inet/inet_lnaof.c: Remove SCSS keyword. + * inet/inet_mkadr.c: Likewise. + * inet/inet_net.c: Likewise. + * inet/inet_netof.c: Likewise. + * inet/rcmd.c: Likewise. + * inet/rexec.c: Likewise. + * inet/ruserpass.c: Likewise. + +2016-04-28 Florian Weimer + + * resolv/inet_addr.c: Remove _LIBC conditionals. + * resolv/res_data.c: Likewise. + * resolv/res_init.c: Likewise. + * resolv/res_mkquery.c: Likewise. + * resolv/res_libc.c: Update comment. + * resolv/README: Update. + +2016-04-28 Florian Weimer + + * resolv/gethnamaddr.c: Remove SCSS keyword. + * resolv/herror.c: Likewise. + * resolv/inet_addr.c: Likewise. + * resolv/inet_net_ntop.c: Likewise. + * resolv/inet_net_pton.c: Likewise. + * resolv/inet_neta.c: Likewise. + * resolv/inet_ntop.c: Likewise. + * resolv/inet_pton.c: Likewise. + * resolv/ns_date.c: Remove RCS keyword. + * resolv/ns_name.c: Likewise. + * resolv/ns_netint.c: Likewise. + * resolv/ns_parse.c: Likewise. + * resolv/ns_print.c: Likewise. + * resolv/ns_samedomain.c: Likewise. + * resolv/ns_ttl.c: Likewise. + * resolv/nsap_addr.c: Likewise. + * resolv/res_comp.c: Remove SCSS and RCS keyword. + * resolv/res_data.c: Remove RCS keyword. + * resolv/res_debug.c: Remove SCSS and RCS keyword. + * resolv/res_init.c: Likewise. + * resolv/res_mkquery.c: Likewise. + * resolv/res_query.c: Likewise. + * resolv/res_send.c: Likewise. + +2016-04-27 Joseph Myers + + * conform/data/stdio.h-data (fdopen): Expect also for + [XPG3 || XPG4]. + + * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98]. + (fseeko): Likewise. + (ftello): Likewise. + (ftrylockfile): Likewise. + (funlockfile): Likewise. + (getc_unlocked): Likewise. + (getchar_unlocked): Likewise. + (putc_unlocked): Likewise. + (putchar_unlocked): Likewise. + +2016-04-27 Florian Weimer + + [BZ #19868] + * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional + DNS packet syntax checks (which were not needed before). Skip + over non-PTR records. + +2016-04-27 Florian Weimer + + * resolv/nss_dns/dns-network.c (offsetof): Remove macro + definition. Include instead. + +2016-04-27 Florian Weimer + + [BZ #19831] + * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New + function. + (getanswer_r): Check RDATA length against RRTYPE and QTYPE. + (gaih_getanswer_slice): Check RDATA length against RRTYPE. + +2016-04-27 Florian Weimer + + [BZ #19862] + * resolv/nss_dns/dns-host.c (AskedForGot): Remove. + (getanswer_r): Do not call syslog. + (gaih_getanswer_slice): Likewise. + * resolv/gethnamaddr.c (AskedForGot): Remove. + (getanswer): Do not call syslog. + (gethostbyaddr): Likewise. + +2016-04-27 Joseph Myers + + * conform/data/signal.h-data (union sigval): Expect also if + [XOPEN2K]. + (struct sigevent): Likewise. + (SIGEV_NONE): Likewise. + (SIGEV_SIGNAL): Likewise. + (SIGEV_THREAD): Likewise. + (SIGRTMIN): Likewise. + (SIGRTMAX): Likewise. + * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove + variable. + (test-xfail-XOPEN2K/mqueue.h/conform): Likewise. + +2016-04-27 Florian Weimer + + [BZ #19830] + * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length. + (gaih_getanswer_slice): Likewise. + * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise. + Also check for availability of RR metadata. + +2016-04-27 Florian Weimer + + [BZ #19825] + * resolv/res_send.c (send_vc): Remove early *resplen2 + initialization. Set *resplen2 on socket error. Call + close_and_return_error for other errors. + +2016-04-27 Stefan Liebler + + * sysdeps/unix/sysv/linux/netiucv/iucv.h + (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE) + (SCM_IUCV_TRGCLS): New define. + +2016-04-26 Adhemerval Zanella + + [BZ #20005] + * libio/fmemopen.c (fmemopen_write): Update internal position after + write. + * stdio-common/Makefile (tests): Add tst-fmemopen4.c. + * stdio-common/tst-fmemopen4.c: New file.. + +2016-04-26 Joseph Myers + + [BZ #19996] + * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8], + not [__USE_XOPEN2K]. + * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove + variable. + + * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro. + * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove + variable. + + * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not + [__USE_XOPEN2K8]. + [__USE_LARGEFILE64] (off64_t): Likewise. + * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove + variable. + +2016-04-25 Joseph Myers + + [BZ #19989] + * libio/stdio.h (cuserid): Do not declare if + [__USE_XOPEN2K && !__USE_GNU]. + * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove + variable. + +2016-04-25 Paul E. Murphy + + * sysdeps/powerpc/powerpc64/multiarch/Makefile: + (sysdep_routines): Add P8 and PPC64 strcspn targets. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: + (__libc_ifunc_impl_list): Add entries for P8 and PPC64 + ifunc'ed strcspn. + * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: + [EALIGN]: Removed. + [END]: Likewise + [STRSPN]: Define instead of the above to control symbol name. + * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: + New file. + * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: + Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: + Likewise. + * sysdeps/powerpc/powerpc64/power8/strcspn.S: + Likewise. + * sysdeps/powerpc/powerpc64/power8/strspn.S: + [INITIAL_MASK]: New macro. + [STRCSPN]: Likewise. + [UPDATE_MASK]: Likewise. + [USE_AS_STRCSPN]: Likewise. + +2016-04-25 Florian Weimer + + [BZ #19931] + * stdio-common/tst-vfprintf-width-prec.c: New file. + * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec. + (tests-special): Add tst-vfprintf-width-prec-mem.out. + (generated): Add mtrace-related files. + (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE. + (tst-%-mem.out): New pattern rule, replaces + tst-printf-bz18872-mem.out. + * stdio-common/vfprintf.c (vfprintf): When handling a precision + specifier, deallocate any previously allocated work buffer. + +2016-04-25 Chung-Lin Tang + + * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext): + Add nop before __startcontext, add explaining comments. + +2016-04-25 Samuel Thibault + + RFC2292 macros were obsoleted by RFC3542, and should not be exposed + any more. Notably since IPV6_PKTINFO has been reintroduced with a + completely different API. + + * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO. + (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS. + (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS. + (IPV6_RTHDR): Rename to IPV6_2292RTHDR. + (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS. + (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT. + (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT, + IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR, + IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU, + IPV6_PATHMTU, IPV6_DONTFRAG): New macros. + +2016-04-23 H.J. Lu + + * elf/dl-minimal.c (__libc_memalign): Mmap one extra page. + +2016-04-23 Mike Frysinger + + * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7 + when it is the default of 0. + +2016-04-22 Rajalakshmi Srinivasaraghavan + + * sysdeps/powerpc/locale-defines.sym: Add new macros. + * sysdeps/powerpc/powerpc64/multiarch/Makefile: + (sysdep_routines): Add new strcasestr targets. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: + (__libc_ifunc_impl_list): Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file. + * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file. + * sysdeps/powerpc/powerpc64/power8/Makefile: + New file to add strcasestr-ppc64 to sysdep_routines. + * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file. + * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file. + +2016-04-20 Siddhesh Poyarekar + + * benchtests/Makefile (wcsmbs-benchset): Include only for + native builds and runs. + (LOCALES): Likewise. + (bench-build): Build timing-type here instead of the bench + target. Generate locale only for native builds. + * benchtests/README: Add note for cross-building. + + * benchtests/Makefile (bench-clean): Clean up extra-objs. + + * benchtests/README: Update README to include instructions on + using bench-build. + + * Makefile.in (bench-build): New target. + * Rules (PHONY): Add bench-build target. + * benchtests/Makefile (bench): Depend on bench-build. + (bench-build): New target. + +2016-04-19 Samuel Thibault + + * sysdeps/mach/hurd/profil.c (update_waiter): Initialize + profil_reply_port. + (profile_waiter): Do not initialize profil_reply_port. + * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick + frequency instead of tick length in us. + +2016-04-18 Wilco Dijkstra + + [BZ #18712] + * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h. + (__old_mempcpy_small): Likewise. + (__old_strcpy_small): Likewise. + (__old_stpcpy_small): Likewise. + (__old_strpbrk_c2): Fix compat symbol name. + (__old_strpbrk_c3): Likewise. + * string/bits/string2.h (__STRING2_COPY_TYPE): Remove. + (__mempcpy_small): Remove. + (__strcpy_small): Remove. + (__stpcpy_small): Remove. + +2016-04-16 Robin van der Vliet + + [BZ #19400] + * locale/iso-639.def: Add the Talossan/tzl language. + +2016-04-16 Mike Frysinger + + [BZ #16983] + * locale/programs/ld-address.c (address_finish): Update postal_fmt + comment. Add "ln" to strchr check on postal_fmt. + +2016-04-16 Mike Frysinger + + * locale/programs/ld-telephone.c (telephone_finish): Add %t to the + default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and + tel_dom_fmt. + +2016-04-15 Carlos Eduardo Seo + + * sysdeps/powerpc/powerpc64/multiarch/Makefile: + (sysdep_routines): Added __strlen_power8. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added + __strlen_power8 entry. + * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file. + Implementation for POWER8. + * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector + for __strlen_power8. + * sysdeps/powerpc/powerpc64/power8/strlen.S: New file. + Implementation for POWER8. + +2016-04-15 Mike Frysinger + + * locale/iso-4217.def: Add SSP and change ZMK to ZMW. + +2016-04-15 H.J. Lu + + * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel + Goldmont and Airmont processors. + +2016-04-15 Wilco Dijkstra + + * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h. + * string/bits/string2.h (__STRING2_SMALL_GET16): Remove. + (__STRING2_SMALL_GET32): Remove. + (memset): Remove. + (__memset_1): Remove. + (__memset_gc): Remove. + (__mempcpy): Remove. + (mempcpy): Remove. + (__mempcpy_args): Remove. + (strchr): Remove. + (strcpy): Remove. + (strcpy_args): Remove. + (__stpcpy_args): Remove. + (__strcmp_cc): Remove. + (__strcmp_gc): Remove. + (strstr): Remove. + +2016-04-15 Yvan Roux + + * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'. + * nis/nis_call.c (nis_server_cache_add): Likewise. + +2016-04-14 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h. + +2016-04-14 Florian Weimer + + * malloc/arena.c (__malloc_fork_lock_parent) + (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add + internal_function attribute. + +2016-04-14 Stefan Liebler + + * stdio-common/printf_fp.c (__printf_fp_l): + Rename ___printf_fp_l to __printf_fp_l and + remove strong alias. Use libc_hidden_def instead + of ldbl_hidden_def macro. + +2016-04-14 Florian Weimer + + Remove malloc hooks from fork handler. They are no longer needed + because malloc runs right before fork, and no malloc calls from + other fork handlers are not possible anymore. + * malloc/malloc.c (malloc_atfork, free_atfork): Remove + declarations. + * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena) + (ATFORK_ARENA_PTR, malloc_atfork, free_atfork) + (atfork_recursive_cntr): Remove. + (__malloc_fork_lock_parent): Do not override malloc hooks and + thread_arena. + (__malloc_fork_unlock_parent): Do not restore malloc hooks and + thread_arena. + (__malloc_fork_unlock_child): Do not restore malloc hooks. Use + thread_arena instead of save_arena. + +2016-04-14 Florian Weimer + + * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle) + (thread_atfork, thread_atfork_static): Remove. + * sysdeps/mach/hurd/malloc-machine.h: + (thread_atfork, thread_atfork_static): Remove. + +2016-04-14 Florian Weimer + + [BZ #19431] + Run the malloc fork handler as late as possible to avoid deadlocks. + * malloc/malloc-internal.h: New file. + * malloc/malloc.c: Include it. + * malloc/arena.c (ATFORK_MEM): Remove. + (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all. + Update comment. + (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all. + (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2. + Remove outdated comment. + (ptmalloc_init): Do not call thread_atfork. Remove + thread_atfork_static. + * malloc/tst-malloc-fork-deadlock.c: New file. + * Makefile (tests): Add tst-malloc-fork-deadlock. + (tst-malloc-fork-deadlock): Link against libpthread. + * manual/memory.texi (Aligned Memory Blocks): Update safety + annotation comments. + * sysdeps/nptl/fork.c (__libc_fork): Call + __malloc_fork_lock_parent, __malloc_fork_unlock_parent, + __malloc_fork_unlock_child. + * sysdeps/mach/hurd/fork.c (__fork): Likewise. + +2016-04-14 Florian Weimer + + [BZ #19613] + Remove union wait. + * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode) + (w_stopsig, w_stopval): Remove. + * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the + stat_loc argument. + * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS) + (__WAIT_STATUS_DEFN): Remove. + (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED) + (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT. + (wait, wait3, wait4): Use int * for the stat_loc argument. + * posix/wait.c (__wait): Likewise. + * posix/wait3.c (__wait3): Likewise. + * posix/wait4.c (__wait4): Likewise. + * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS) + (__WAIT_STATUS_DEFN): Remove. + (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED) + (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT. + * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc + argument. + * sysdeps/posix/wait.c (__libc_wait): Likewise. + * sysdeps/posix/wait3.c (__wait3): Likewise. + * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise. + * sysdeps/unix/bsd/wait3.c (__wait3): Likewise. + * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast. + * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the + stat_loc argument. + * manual/process.texi (BSD Wait Functions): Remove union wait. + +2016-04-13 Andreas Schwab + + * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o. + (test-extras): Add tst-tlsalign-vars. + * math/Makefile: Wrap long lines. + (libm-vec-test-wrappers): Define. + (test-extras): Add $(libm-vec-test-wrappers). + (extra-test-objs): Add $(libm-vec-test-wrappers) objects. + * nss/Makefile (extra-test-objs): Add nss_test1.os. + * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects. + * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie + tst-quadmod2pie tst-audit4-aux tst-audit10-aux. + (extra-test-objs): Add corresponding objects. + +2016-04-12 H.J. Lu + + [BZ #19928] + * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold): + New. + (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6 + times of shared cache size. + * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S + (VMOVNT): New. + * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S + (VMOVNT): Likewise. + * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S + (VMOVNT): Likewise. + (VMOVU): Changed to movups for smaller code sizes. + (VMOVA): Changed to movaps for smaller code sizes. + * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update + comments. + (PREFETCH): New. + (PREFETCH_SIZE): Likewise. + (PREFETCHED_LOAD_SIZE): Likewise. + (PREFETCH_ONE_SET): Likewise. + Rewrite to use forward and backward loops, which move 4 vector + registers at a time, to support overlapping addresses and use + non temporal store if size is above the threshold and there is + no overlap between destination and source. + +2016-04-12 Alex Smith + + * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): + Include dl-vdso. + * sysdeps/unix/sysv/linux/mips/Versions: Add + __vdso_clock_gettime. + * sysdeps/unix/sysv/linux/mips/init-first.c: New file. + * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file. + * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: + (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS + definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}. + (HAVE_CLOCK_GETTIME_VSYSCALL): Define. + (HAVE_GETTIMEOFDAY_VSYSCALL): Define. + * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise. + +2016-04-11 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file. + * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove + syscalls generation. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h + [__NR_pwrite64] (__NR_write): Remove define. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h + [__NR_pwrite64] (__NR_write): Remove define. + * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite): + Remove define. + (__libc_pwrite): Use SYSCALL_LL macro on offset argument. + * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite): + Remove define. + (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument. + * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default + Linux implementation as base. + * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise. + + * sysdeps/unix/sysv/linux/arm/pread.c: Remove file. + * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise. + * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise, + * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove + syscall generation. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h + [__NR_pread64] (__NR_pread): Remove define. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: + [__NR_pread64] (__NR_pread): Likewise. + * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove + define. + (__libc_pread): Use SYSCALL_LL macro on offset argument. + * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread): + Remove define. + (__libc_pread64): Use SYSCALL_LL64 macro on offset argument. + * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default + Linux implementation as base. + * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pread.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. + + * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move + definition. + (__ALIGNMENT_COUNT): Likewise. + * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here. + (__ALIGNMENT_COUNT): Likewise. + (SYSCALL_LL): New define. + (SYSCALL_LL64): Likewise. + * sysdeps/unix/sysv/linux/mips/kernel-features.h: + [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define. + * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: + [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise. + + * sysdeps/unix/sysv/linux/arm/kernel-features.h + (__ASSUME_ALIGNED_REGISTER_PAIRS): Define. + * sysdeps/unix/sysv/linux/mips/kernel-features.h + [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise. + * sysdeps/unix/sysv/linux/powerpc/kernel-features.h + [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise. + +2016-04-11 Florian Weimer + + [BZ #19865] + * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore + original buffer before retry. + +2016-04-10 Samuel Thibault + + * sysdeps/generic/ldsodefs.h (struct rtld_global_ro) + [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field. + * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through + GLRO(dl_auxv) list. + * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before + including . + * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise. + +2016-04-09 Nick Alcock + + * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS). + * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as + $(CPPFLAGS). + +2016-04-09 Khem Raj + + [BZ #17950] + * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os): + Add -mfpmath=387. + +2016-04-09 Mike Frysinger + + * sysdeps/i386/configure.ac: Change == to = when calling test. + * sysdeps/x86_64/configure.ac: Likewise. + * sysdeps/i386/configure: Regenerated. + * sysdeps/x86_64/configure: Likewise. + +2016-04-08 Mike Frysinger + + [BZ #16137] + * benchtests/Makefile (LOCALES): Change iw_IL to he_IL. + * benchtests/bench-strcoll.c (input_files): Likewise. + * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise. + * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ... + * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here. + +2016-04-08 Joseph Myers + + [BZ #19929] + * include/bits/xopen_lim.h (NL_NMAX): Do not define if + [__USE_XOPEN2K8 && !__USE_GNU]. + * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove + variable. + + [BZ #19925] + * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not + define if [!__USE_MISC && __USE_XOPEN2K]. + * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise. + * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE): + Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise. + * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove + variable. + (test-xfail-XOPEN2K8/termios.h/conform): Likewise. + +2016-04-07 Paul E. Murphy + + * sysdeps/powerpc/powerpc64/multiarch/Makefile: + (sysdep_routines): Add new strspn targets. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: + (__libc_ifunc_impl_list): Add strspn. + * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: + New file. + * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: + Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strspn.c: + Likewise. + * sysdeps/powerpc/powerpc64/power8/strspn.S: + Likewise. + +2016-04-07 Florian Weimer + + * misc/hsearch_r.c: Include . + +2016-04-07 Florian Weimer + + * malloc/scratch_buffer_set_array_size.c: Include . + +2016-04-06 H.J. Lu + + * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S + (MEMCPY_SYMBOL): New. + (MEMPCPY_SYMBOL): Likewise. + (MEMMOVE_CHK_SYMBOL): Likewise. + Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk + symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on + __mempcpy symbols. Provide alias for __memcpy_chk in libc.a. + Provide alias for memcpy in libc.a and ld.so. + +2016-04-06 H.J. Lu + + * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S + (MEMSET_CHK_SYMBOL): New. Define if not defined. + (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH. + Disabled fro now. + Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk + symbols. Properly check USE_MULTIARCH on __memset symbols. + +2016-04-06 H.J. Lu + + * benchtests/Makefile (string-benchset): Add memcpy-large, + memmove-large and memset-large. + * benchtests/bench-memcpy-large.c: New file. + * benchtests/bench-memmove-large.c: Likewise. + * benchtests/bench-memmove-large.c: Likewise. + * benchtests/bench-string.h (TIMEOUT): Don't redefine. + +2016-04-05 H.J. Lu + + * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force + 32-bit displacement to avoid long nop between instructions. + +2016-04-05 H.J. Lu + + * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add + a comment on VMOVU and VMOVA. + +2016-04-04 Florian Weimer + + [BZ #19633] + Use specified locale for number formatting in strfmon_l. + * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr) + (__nl_lookup_word): New inline functions. + * include/printf.h (__print_fp_l): Declare. + * stdio-common/printf_fp.c (___printf_fp_l): Renamed from + ___printf_fp. Add locale argument. Replace _NL_CURRENT with + _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word. + (___printf_fp): New function. + * stdlib/strfmon_l.c (__printf_fp): Remove declaration. + (__vstrfmon_l): Call __printf_fp_l instead of printf_fp. + * stdlib/tst-strfmon_l.c (do_test): New test. + * stdlib/Makefile (tests): Add kt. + (LOCALES): Build additional locales. + (tst-strfmon_l.out): Require locales. + +2016-04-03 H.J. Lu + + * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip + if not in libc. + * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S: + Likewise. + * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: + Likewise. + * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S: + Likewise. + +2016-04-03 H.J. Lu + + * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: + (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk + with unaligned_erms. + (__memmove_erms): Skip if source == destination. + (__memmove_unaligned_erms): Don't check source == destination + first. + +2016-04-01 H.J. Lu + + * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set + bit_arch_Fast_Copy_Backward for Intel Core proessors. + +2016-04-01 Adhemerval Zanella + + * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN. + * string/strspn.c (strspn): Likewise. + +2016-04-01 H.J. Lu + + * benchtests/bench-memset.c (do_test): Support 64-byte + alignment. + (test_main): Test 64-byte alignment. + +2016-04-01 H.J. Lu + + * benchtests/bench-memmove.c (test_main): Test 64-byte + alignment. + +2016-04-01 H.J. Lu + + * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment. + +2016-04-01 Adhemerval Zanella + + * sysdeps/powerpc/powerpc64/strcspn.S: Remove file. + * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file. + * sysdeps/powerpc/powerpc64/strspn.S: Remove file. + + * string/strpbrk.c (strpbrk): Rewrite function. + * string/bits/string2.h (strpbrk): Use __builtin_strpbrk. + (__strpbrk_c2): Likewise. + (__strpbrk_c3): Likewise. + * string/string-inlines.c + [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2): + Likewise. + [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3): + Likewise. + + * string/strspn.c (strcspn): Rewrite function. + * string/bits/string2.h (strspn): Use __builtin_strcspn. + (__strspn_c1): Remove inline function. + (__strspn_c2): Likewise. + (__strspn_c3): Likewise. + * string/string-inlines.c + [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add + compatibility symbol. + [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2): + Likewise. + [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3): + Likewise. + * string/string-inlines.c: Include generic version. + +2016-04-01 Wilco Dijkstra + Adhemerval Zanella + + * string/Version (libc): Add GLIBC_2.24. + * string/strcspn.c (strcspn): Rewrite function. + * string/bits/string2.h (strcspn): Use __builtin_strcspn. + (__strcspn_c1): Remove inline function. + (__strcspn_c2): Likewise. + (__strcspn_c3): Likewise. + * string/string-inline.c + [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add + compatibility symbol. + [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2): + Likewise. + [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3): + Likewise. + * sysdeps/i386/string-inlines.c: Include generic string-inlines.c. + +2016-04-01 Stefan Liebler + + * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve): + Use ahi instead of aghi to adjust stack pointer. + +2016-03-31 Paul E. Murphy + + [BZ #19853] + * stdio-common/tst-sprintf3.c [TEST_N]: Refactor + TEST to take significant digits as second parameter. + [TEST]: Redefine in terms of TEST_N taking 30 + significant digits. + (do_test): Add test case to demonstrate precision + failure in the ldbl-128ibm printf. + * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c: + (__mpn_extract_long_double): Carry 7 extra intermediate + bits of precision to aide computing difference when + signs differ. + +2016-03-31 H.J. Lu + + [BZ #19881] + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add + memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and + memset-avx512-unaligned-erms. + * sysdeps/x86_64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned, + __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned, + __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned, + __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned, + __memset_sse2_unaligned_erms, __memset_erms, + __memset_avx2_unaligned, __memset_avx2_unaligned_erms, + __memset_avx512_unaligned_erms and __memset_avx512_unaligned. + * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New + file. + * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S: + Likewise. + * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: + Likewise. + * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: + Likewise. + +2016-03-31 H.J. Lu + + [BZ #19776] + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add + memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and + memmove-avx512-unaligned-erms. + * sysdeps/x86_64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Test + __memmove_chk_avx512_unaligned_2, + __memmove_chk_avx512_unaligned_erms, + __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms, + __memmove_chk_sse2_unaligned_2, + __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2, + __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2, + __memmove_avx512_unaligned_erms, __memmove_erms, + __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms, + __memcpy_chk_avx512_unaligned_2, + __memcpy_chk_avx512_unaligned_erms, + __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms, + __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms, + __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms, + __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms, + __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms, + __memcpy_erms, __mempcpy_chk_avx512_unaligned_2, + __mempcpy_chk_avx512_unaligned_erms, + __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms, + __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms, + __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms, + __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms, + __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and + __mempcpy_erms. + * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New + file. + * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S: + Likewise. + * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: + Likewise. + * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: + Likewise. + +2016-03-31 Stefan Liebler + + * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef. + (La_s390_32_regs): Append vector register lr_v24-lr_v31. + (La_s390_64_regs): Likewise. + (La_s390_32_retval): Append vector register lrv_v24. + (La_s390_64_retval): Likeweise. + * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile): + Handle extended structs La_s390_32_regs and La_s390_32_retval. + * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile): + Handle extended structs La_s390_64_regs and La_s390_64_retval. + +2016-03-31 Stefan Liebler + + [BZ #19916] + * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice + to create a non-vector/vector version for _dl_runtime_resolve and + _dl_runtime_profile. Move implementation to ... + * sysdeps/s390/s390-32/dl-trampoline.h: ... here. + (_dl_runtime_resolve) Save and restore fpr/vrs. + (_dl_runtime_profile) Save and restore vrs and fix some issues + if _dl_call_pltexit is called. + * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup): + Choose the correct resolver function if running on a machine with vx. + * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice + to create a non-vector/vector version for _dl_runtime_resolve and + _dl_runtime_profile. Move implementation to ... + * sysdeps/s390/s390-64/dl-trampoline.h: ... here. + (_dl_runtime_resolve) Save and restore fpr/vrs. + (_dl_runtime_profile) Save and restore vrs and fix some issues + * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup): + Choose the correct resolver function if running on a machine with vx. + +2016-03-31 Adhemerval Zanella + + * elf/tst-dlsym-error.c: Include for strchrnul. + +2016-03-31 Florian Weimer + + [BZ #19509] + * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if + skip_map != NULL. + * elf/tst-dlsym-error.c: New file. + * elf/Makefile (tests): Add tst-dlsym-error. + (tst-dlsym-error): Link against libdl. + +2016-03-29 Joseph Myers + + * sysdeps/unix/sysv/linux/microblaze/kernel-features.h + (__ASSUME_FUTIMESAT): Remove macro. + * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file. + +2016-03-29 Florian Weimer + + [BZ #19879] + CVE-2016-3075 + * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not + copy name. + +2016-03-29 Florian Weimer + + [BZ #19837] + * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE + error if parse_line fails. + +2016-03-28 H.J. Lu + + * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New. + (index_cpu_ERMS): Likewise. + (reg_ERMS): Likewise. + +2016-03-28 Aurelien Jarno + + * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS, + PER_LINUX_FDPIC): Add. + +2016-03-28 H.J. Lu + + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove + memcpy-avx512-no-vzeroupper. + * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed + to ... + * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This. + (MEMCPY): Don't define. + (MEMCPY_CHK): Likewise. + (MEMPCPY): Likewise. + (MEMPCPY_CHK): Likewise. + (MEMPCPY_CHK): Renamed to ... + (__mempcpy_chk_avx512_no_vzeroupper): This. + (MEMPCPY_CHK): Renamed to ... + (__mempcpy_chk_avx512_no_vzeroupper): This. + (MEMCPY_CHK): Renamed to ... + (__memmove_chk_avx512_no_vzeroupper): This. + (MEMCPY): Renamed to ... + (__memmove_avx512_no_vzeroupper): This. + (__memcpy_avx512_no_vzeroupper): New alias. + (__memcpy_chk_avx512_no_vzeroupper): Likewise. + +2016-03-28 H.J. Lu + + [BZ #18858] + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove + mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned + and mempcpy-avx512-no-vzeroupper. + * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK): + New. + (MEMPCPY): Likewise. + * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S + (MEMPCPY_CHK): New. + (MEMPCPY): Likewise. + * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New. + (MEMPCPY): Likewise. + * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New. + (MEMPCPY): Likewise. + * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed. + * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: + Likewise. + * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise. + * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise. + +2016-03-28 H.J. Lu + Amit Pawar + + [BZ #19583] + * sysdeps/x86/cpu-features.c (init_cpu_features): Set + Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel + processors. Set Fast_Copy_Backward for AMD Excavator + processors. + * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy): + New. + (index_arch_Fast_Unaligned_Copy): Likewise. + * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check + Fast_Unaligned_Copy instead of Fast_Unaligned_Load. + +2016-03-25 Florian Weimer + + [BZ #19791] + * resolv/res_send.c (close_and_return_error): New function. + (send_dg): Initialize *resplen2 after reopen failure. Call + close_and_return_error for error returns. On error paths without + __res_iclose, initialze *resplen2 explicitly. Update comment for + successful return. + +2016-03-25 Florian Weimer + + [BZ #19860] + * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return + zero if the compiler does not provide the AVX512F bit. + +2016-03-24 Joseph Myers + + [BZ #19848] + * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value + from 8 to 4. + (__ieee754_powl): Compare integer exponent against 4 not 8. + * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value + from 8 to 4. + (__ieee754_powl): Compare integer exponent against 4 not 8. + * math/auto-libm-test-in: Add more tests of pow. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2016-03-23 Aurelien Jarno + + * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]: + Make code unconditional. + [!__NR_utimensat]: Remove conditional code. + * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]: + Make code unconditional. + [!__NR_utimensat]: Remove conditional code. + * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]: + Make code unconditional. + [!__NR_utimensat]: Remove conditional code. + +2016-03-23 Aurelien Jarno + + * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]: + Make code unconditional. + +2016-03-23 Nick Alcock + + * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload + call-clobbered %eax on retry path. + * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise. + +2016-03-22 H.J. Lu + + * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY): + Don't set %rcx twice before "rep movsb". + +2016-03-22 H.J. Lu + + [BZ #19583] + * sysdeps/x86/cpu-features.c (get_common_indeces): Remove + inline. Check family before setting family, model and + extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable + bits here. + (init_cpu_features): Replace HAS_CPU_FEATURE and + HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and + CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load + for Intel processors with usable AVX2. Call get_common_indeces + for other processors with family == NULL. + * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro. + (CPU_FEATURES_ARCH_P): Likewise. + (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P. + (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P. + +2016-03-22 Samuel Thibault + + * malloc/Makefile ($(objpfx)tst-malloc-backtrace, + $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use + $(shared-thread-library) instead of hardcoding the path to libpthread. + +2016-03-22 Joseph Myers + + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_GETDENTS64_SYSCALL): Remove macro. + * sysdeps/unix/sysv/linux/getdents.c + [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code. + [!have_no_getdents64_defined]: Likewise. + (__GETDENTS): Remove __have_no_getdents64 conditional. + +2016-03-21 Joseph Myers + + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4): + Remove macro. + * sysdeps/unix/sysv/linux/signalfd.c: Do not include + . + (signalfd) [__NR_signalfd4]: Make code unconditional. + (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code. + +2016-03-21 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks + style. + +2016-03-21 H.J. Lu + + * sysdeps/unix/sysv/linux/x86_64/cancellation.S + (__pthread_enable_asynccancel): Use JUMPTARGET to call + __pthread_unwind. + * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S + (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume. + * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S + (__condvar_cleanup1): Likewise. + +2016-03-21 Dylan Alex Simon + + [BZ #19822] + * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and + move it to the final $@ location. + +2016-03-20 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory + access where posix_spawn success and pid argument is null. + * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for + success case. + +2016-03-20 Samuel Thibault + + * sysdeps/mach/hurd/i386/c++-types.data: New file. + + * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1. + + * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open + and __fcntl. + * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to + __fcntl only. + * include/fcntl.h [IS_IN (rtld)]: Include instead of + adding attribute_hidden to __open and __fcntl. + + * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip + "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not + depend on libc-modules.h, + * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h. + +2016-03-17 Joseph Myers + + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2): + Remove macro. + * sysdeps/unix/sysv/linux/eventfd.c: Remove file. + * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall + entry. + + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE): + Remove macro. + * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not + include . + [!__ASSUME_FALLOCATE]: Remove conditional code. + (posix_fallocate) [__NR_fallocate]: Make code unconditional. + +2016-03-16 H.J. Lu + + * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S + (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos. + * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S + (_ZGVdN4v_cos_avx2): Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S + (_ZGVdN4v_cos): Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S + (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp. + * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S + (_ZGVdN4v_exp_avx2): Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S + (_ZGVdN4v_exp): Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S + (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log. + * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S + (_ZGVdN4v_log_avx2): Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S + (_ZGVdN4v_log): Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S + (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow. + * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S + (_ZGVdN4vv_pow_avx2): Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S + (_ZGVdN4vv_pow): Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S + (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin. + * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S + (_ZGVdN4v_sin_avx2): Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S + (_ZGVdN4v_sin): Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S + (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos. + * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S + (_ZGVdN4vvv_sincos_avx2): Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S + (_ZGVdN4vvv_sincos): Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S + (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf. + * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S + (_ZGVbN4v_cosf_sse4): Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S + (_ZGVdN8v_cosf_avx2): Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S + (_ZGVdN8v_expf): Use JUMPTARGET to call expf. + * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S + (_ZGVbN4v_expf_sse4): Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S + (_ZGVdN8v_expf_avx2): Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S + (_ZGVdN8v_logf): Use JUMPTARGET to call logf. + * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S + (_ZGVbN4v_logf_sse4): Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S + (_ZGVdN8v_logf_avx2): Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S + (_ZGVdN8vv_powf): Use JUMPTARGET to call powf. + * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S + (_ZGVbN4vv_powf_sse4): Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S + (_ZGVdN8vv_powf_avx2): Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S + (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf. + * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S + (_ZGVbN4vvv_sincosf_sse4): Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S + (_ZGVdN8vvv_sincosf_avx2): Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S + (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf. + * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S + (_ZGVbN4v_sinf_sse4): Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S + (_ZGVdN8v_sinf_avx2): Likewise. + * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2): + Use JUMPTARGET to call callee. + (WRAPPER_IMPL_SSE2_ff): Likewise. + (WRAPPER_IMPL_SSE2_fFF): Likewise. + (WRAPPER_IMPL_AVX): Likewise. + (WRAPPER_IMPL_AVX_ff): Likewise. + (WRAPPER_IMPL_AVX_fFF): Likewise. + (WRAPPER_IMPL_AVX512): Likewise. + (WRAPPER_IMPL_AVX512_ff): Likewise. + * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2): + Likewise. + (WRAPPER_IMPL_SSE2_ff): Likewise. + (WRAPPER_IMPL_SSE2_fFF): Likewise. + (WRAPPER_IMPL_AVX): Likewise. + (WRAPPER_IMPL_AVX_ff): Likewise. + (WRAPPER_IMPL_AVX_fFF): Likewise. + (WRAPPER_IMPL_AVX512): Likewise. + (WRAPPER_IMPL_AVX512_ff): Likewise. + (WRAPPER_IMPL_AVX512_fFF): Likewise. + +2016-03-16 Samuel Thibault + + * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis. + * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function + qualifier. + * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden + internal_function qualifiers. + +2016-03-15 Carlos O'Donell + + * catgets/tst-catgets.c (do_bz17905): Mark result unused. + * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused. + * math/atest-exp.c (exp_mpn): Mark chk unused. + * math/atest-exp2.c (exp_mpn): Likewise. + * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused. + * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused. + +2016-03-15 Joseph Myers + + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL): + Remove macro. + * sysdeps/unix/sysv/linux/ppoll.c: Do not include + . + [__NR_ppoll]: Make code unconditional. + [!__ASSUME_PPOLL]: Remove conditional code. + + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally. + (__ASSUME_ACCEPT4): Likewise. + [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL): + Define. + [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG): + Likewise. + * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file. + * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/kernel-features.h + (__ASSUME_RECVMMSG_SYSCALL): Do not define. + (__ASSUME_ACCEPT4_SYSCALL): Likewise. + (__ASSUME_SENDMMSG_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/arm/kernel-features.h + (__ASSUME_RECVMMSG_SYSCALL): Likewise. + (__ASSUME_ACCEPT4_SYSCALL): Likewise. + (__ASSUME_SENDMMSG_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/hppa/kernel-features.h + (__ASSUME_ACCEPT4_SYSCALL): Likewise. + (__ASSUME_RECVMMSG_SYSCALL): Likewise. + (__ASSUME_SENDMMSG_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/i386/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL): + Likewise. + (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION < + 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >= + 0x040300]. + * sysdeps/unix/sysv/linux/ia64/kernel-features.h + (__ASSUME_RECVMMSG_SYSCALL): Do not define. + (__ASSUME_SENDMMSG_SYSCALL): Likewise. + (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION < + 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >= + 0x030300]. + [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine. + * sysdeps/unix/sysv/linux/m68k/kernel-features.h + (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION < + 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >= + 0x040300]. + (__ASSUME_RECVMMSG_SYSCALL): Likewise. + (__ASSUME_SENDMMSG_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/microblaze/kernel-features.h + (__ASSUME_ACCEPT4_SYSCALL): Do not define. + (__ASSUME_RECVMMSG_SYSCALL): Likewise. + (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION < + 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >= + 0x030300]. + * sysdeps/unix/sysv/linux/mips/kernel-features.h + (__ASSUME_ACCEPT4_SYSCALL): Do not define. + (__ASSUME_RECVMMSG_SYSCALL): Likewise. + (__ASSUME_SENDMMSG_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/powerpc/kernel-features.h + (__ASSUME_ACCEPT4_SYSCALL): Likewise. + (__ASSUME_RECVMMSG_SYSCALL): Likewise. + (__ASSUME_SENDMMSG_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/s390/kernel-features.h + (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION < + 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >= + 0x040300]. + (__ASSUME_RECVMMSG_SYSCALL): Likewise. + (__ASSUME_SENDMMSG_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/sh/kernel-features.h + (__ASSUME_ACCEPT4_SYSCALL): Do not define. + (__ASSUME_RECVMMSG_SYSCALL): Likewise. + (__ASSUME_SENDMMSG_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/sparc/kernel-features.h + (__ASSUME_ACCEPT4_SYSCALL): Likewise. + (__ASSUME_RECVMMSG_SYSCALL): Likewise. + (__ASSUME_SENDMMSG_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/tile/kernel-features.h + (__ASSUME_ACCEPT4_SYSCALL): Likewise. + (__ASSUME_RECVMMSG_SYSCALL): Likewise. + (__ASSUME_SENDMMSG_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/x86_64/kernel-features.h + (__ASSUME_ACCEPT4_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL): + Likewise. + +2016-03-15 Andreas Schwab + + [BZ #19257] + * resolv/res_init.c (__res_iclose): Use statp->nscount instead of + statp->_u._ext.nscount as loop count. + +2016-03-14 Andreas Schwab + + * math/test-signgam-finite-c99.c: Also #undef + __LIBC_INTERNAL_MATH_INLINES. + * math/test-signgam-main.c: Likewise. + +2016-03-14 Joseph Myers + + * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro. + * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC] + (MADV_FREE): Likewise. + * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise. + * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add + EPOLLEXCLUSIVE. + +2016-03-14 Carlos O'Donell + + * timezone/README: Remove mention of checktab.awk. Mention wiki + SharedSourceFiles. + +2016-03-13 Samuel Thibault + + * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of + WUNTRACED. + +2016-03-11 Tulio Magno Quites Machado Filho + + * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in + order to match the type of p when calling atomic_exchange_acq(). + +2016-03-11 Rajalakshmi Srinivasaraghavan + + * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange + cfi_offset calls. + * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise. + * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise. + * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise. + * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise. + * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise. + +2016-03-10 Carlos O'Donell + + * timezone/checktab.awk: Removed. + +2016-03-10 Joseph Myers + + * manual/math.texi (Errors in Math Functions): Document relaxed + accuracy goals for IBM long double. + * math/libm-test.inc (test_exceptions): Always allow spurious + "underflow" and "inexact" exceptions for IBM long double. + +2016-03-10 H.J. Lu + + [BZ #19762] + * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h + (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*. + * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise. + * sysdeps/x86/cpu-features.h (bit_*): Renamed to ... + (bit_arch_*): This for feature array. + (bit_*): Renamed to ... + (bit_cpu_*): This for cpu array. + (index_*): Renamed to ... + (index_arch_*): This for feature array. + (index_*): Renamed to ... + (index_cpu_*): This for cpu array. + [__ASSEMBLER__] (HAS_FEATURE): Add and use field. + [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE. + [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE. + [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and + bit_##name with index_cpu_##name and bit_cpu_##name. + [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and + bit_##name with index_arch_##name and bit_arch_##name. + +2016-03-09 Aurelien Jarno + + [BZ #19792] + * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext): + Terminate FDE before return label. + +2016-03-09 Joseph Myers + + [BZ #19790] + * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL] + (rintl): Define as macro. + [USE_AS_NEARBYINTL] (__rintl): Likewise. + (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead + of fesetround. Ensure results are evaluated before end of scope. + * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define + USE_AS_NEARBYINTL and include s_rintl.c. + * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc): + Disable exception traps in new environment. + (libc_feholdsetround_ppc_ctx): Likewise. + +2016-03-08 Roland McGrath + + * sysdeps/x86_64/tst-audit10.c: #include . + * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ... + (tst_audit10_aux) [__AVX512F__]: ... here. + +2016-03-08 Aurelien Jarno + + * include/sys/auxv.h: New file. + +2016-03-08 H.J. Lu + + [BZ #19759] + * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New. + +2016-03-08 Gabriel F. T. Gomes + + * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s + operand modifier. + (feclearexcept): Likewise. + +2016-03-08 Carlos Eduardo Seo + + * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated + to reflect the entire 32-bit HWCAP. + * sysdeps/powerpc/dl-procinfo.h: Code cleanup. + (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly. + +2016-03-08 H.J. Lu + + [BZ #19783] + * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with + $(test-via-rtld-prefix). + ($(binaries-bench)): Replace $(+link) with $(+link-tests). + +2016-03-08 Florian Weimer + + * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of + union wait. Report any non-zero exit status as error. + +2016-03-07 Adhemerval Zanella + + * posix/tst-execvpe5.c (do_test): Fix fix test invocation when + configured with --enable-hardcoded-path-in-tests. + +2016-03-08 Joseph Myers + + [BZ #19677] + * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c + (__ieee754_remainderl): Put zero low parts in canonical form. + * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New + file. Based on + sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c. + * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace + with wrapper round test-fmodrem-ldbl-128ibm.c. + * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New + file. + * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c: + Likewise. + * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add + test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm. + +2016-03-07 Florian Weimer + + [BZ #19610] + * elf/ldconfig.c (opt_link): Update comment. + (options): Update help string for option -X. + (search_dir): Unlink stale symbolic link only if updating symbolic + links. + * elf/tst-ldconfig-X.sh: New file. + * elf/Makefile (tests-special): Add tst-ldconfig-X.out. + (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh. + +2016-03-07 Andreas Schwab + + * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max + needed arguments. + +2016-03-07 Hongjiu Zhang + + [BZ #15333] + * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat + to lstat64. + +2016-03-07 Florian Weimer + + * libio/filedoalloc.c (isatty): Remove. + (local_isatty): Add comment. Call __isatty directly. + (_IO_file_doallocate): Update comment. Assume _LIBC. + * libio/wfiledoalloc.c (isatty): Remove. + (_IO_wfile_doallocate): Update comment. + +2016-03-07 Florian Weimer + + [BZ #19269] + * sysdeps/x86_64/Makefile (tst-audit4): Depend on + tst-audit4-aux.o. + (tst-audit10): Depend on tst-audit10-aux.o. + (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled. + (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled. + * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux + instead of inline AVX code. + * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux + instead of inline AVX512 code. + * sysdeps/x86_64/tst-audit4-aux.c: New file + * sysdeps/x86_64/tst-audit10-aux.c: New file + + [BZ #19648] + * test-skeleton.c (main): Do not set RLIMIT_DATA. + +2016-03-07 Adhemerval Zanella + + [BZ #14750] + [BZ #10354] + [BZ #18433] + * include/sched.h (__clone): Add hidden prototype. + (__clone2): Likewise. + * include/unistd.h (__dup): Likewise. + * posix/Makefile (tests): Add tst-spawn2. + * posix/tst-spawn2.c: New file. + * sysdeps/posix/dup.c (__dup): Add hidden definition. + * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise. + * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise. + * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise. + * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise. + * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise. + * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise. + * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise. + * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise. + * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise. + * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone): + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise. + * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise. + * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise. + * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise. + * sysdeps/unix/sysv/linux/nptl-signals.h + (____nptl_is_internal_signal): New function. + * sysdeps/unix/sysv/linux/spawni.c: New file. + + * posix/execvpe.c (__execvpe): Remove dynamic allocation. + * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}. + * posix/tst-execvp1.c (do_test): Use a macro to call execvp. + * posix/tst-execvp2.c (do_test): Likewise. + * posix/tst-execvp3.c (do_test): Likewise. + * posix/tst-execvp4.c (do_test): Likewise. + * posix/tst-execvpe1.c: New file. + * posix/tst-execvpe2.c: Likewise. + * posix/tst-execvpe3.c: Likewise. + * posix/tst-execvpe4.c: Likewise. + * posix/tst-execvpe5.c: Likewise. + * posix/tst-execvpe6.c: Likewise. + + [BZ #19534] + * posix/execl.c (execl): Remove dynamic memory allocation. + * posix/execle.c (execle): Likewise. + * posix/execlp.c (execlp): Likewise. + +2016-03-06 H.J. Lu + + * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: + Replace .text with .text.avx512. + * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: + Likewise. + +2016-03-07 Aurelien Jarno + + * sysdeps/generic/libnsl.abilist: New file. + * sysdeps/generic/libutil.abilist: New file. + +2016-03-06 H.J. Lu + + [BZ #19762] + * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use + HAS_ARCH_FEATURE with Fast_Rep_String. + * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise. + * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise. + * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk): + Likewise. + * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk): + Likewise. + * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise. + * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk): + Likewise. + * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise. + * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk): + Likewise. + +2016-03-04 H.J. Lu + + [BZ #19745] + * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT + with *%rax in call. + +2016-03-04 H.J. Lu + + [BZ #19745] + * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT + with *__libc_start_main@GOTPCREL(%rip) in call. + +2016-03-04 Roland McGrath + + * Makefile (tests-special): Add $(objpfx)c++-types-check.out only + inside conditional for nonempty $(CXX). + + * math/Makefile (tests): Add test-math-isinff only if $(CXX) is + nonempty. + + * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization + to test for empty $(CXX) rather than $(CXX) of "no". + +2016-03-04 H.J. Lu + + * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments. + +2016-03-04 Amit Pawar + H.J. Lu + + [BZ #18880] + * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load, + instead of Slow_BSF, and also check for Fast_Copy_Backward to + enable __memcpy_ssse3_back. + +2016-03-03 H.J. Lu + + [BZ #19758] + * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h + (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC. + +2016-03-03 Paul Pluzhnikov + + [BZ #19490] + * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor. + (__fentry__): Likewise. + +2016-03-03 H.J. Lu + + * gmon/Makefile (noprof): Add $(sysdep_noprof). + * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount. + +2016-03-01 H.J. Lu + + * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call + __mcount_internal directly. + (C_LABEL(__fentry__)): Likewise. + * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save + directly. + +2016-03-01 H.J. Lu + + * sysdeps/unix/sysv/linux/x86_64/__start_context.S + (__start_context): Call __setcontext directly. + +2016-02-26 Joseph Myers + + * sysdeps/unix/sysv/linux/alpha/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional. + [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise. + [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code. + * sysdeps/unix/sysv/linux/arm/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional. + [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise. + [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise. + * sysdeps/unix/sysv/linux/hppa/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise. + [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise. + [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code. + * sysdeps/unix/sysv/linux/ia64/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional. + [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise. + * sysdeps/unix/sysv/linux/m68k/kernel-features.h + [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code. + * sysdeps/unix/sysv/linux/microblaze/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional. + [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code. + [__LINUX_KERNEL_VERSION < 0x020625]: Likewise. + * sysdeps/unix/sysv/linux/mips/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional. + [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise. + [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]: + Remove conditional code. + * sysdeps/unix/sysv/linux/powerpc/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional. + [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise. + * sysdeps/unix/sysv/linux/sh/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise. + [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise. + [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code. + * sysdeps/unix/sysv/linux/sparc/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional. + [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise. + * sysdeps/unix/sysv/linux/tile/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise. + +2016-02-24 Marko Myllynen + + * NEWS (2.23): Fix typo in bug 19048 text. + +2016-02-24 Carlos O'Donell + + [BZ #14259] + * Makeconfig: Rename msgcatdir to localedir. + Rename inst_msgcatdir to inst_localedir. + * catgets/Makefile (catgets-CPPFLAGS): Use localedir. + * config.make.in: Add localedir. + * elf/Makefile ($(objpfx)sotruss): Use localedir. + (ldd-rewrite): Likewise. + * intl/Makefile: Rename inst_msgcatdir to inst_localedir. + (install-others): Use inst_localedir. + (CPPFLAGS): Use localedir. + * locale/Makefile (locale-CPPFLAGS): Likewise. + * po/Makefile (mo-installed): Use inst_localedir. + + [BZ #19575] + * localedata/charmaps/GB18030: Update comments regarding PAU to + non-PUA mappings. + +2016-02-24 Joseph Myers + + * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not + test for header. + * sysdeps/unix/sysv/linux/configure: Regenerated. + * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef. + * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]: + Remove conditional code. + [HAVE_LINUX_FANOTIFY_H]: Make code unconditional. + + * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION): + Define to 3.2.0. + (arch_minimum_kernel): Likewise. + * sysdeps/unix/sysv/linux/configure: Regenerated. + * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel): + Define to 2.6.32. + * sysdeps/unix/sysv/linux/i386/configure: Regenerated. + * sysdeps/unix/sysv/linux/x86_64/64/configure.ac + (arch_minimum_kernel): Define to 2.6.32. + * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated. + * README: Document Linux 3.2 requirement. + * manual/install.texi (Linux): Document Linux 3.2 headers + requirement. + * INSTALL: Regenerated. + +2016-02-24 Andreas Schwab + + * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl + if !NO_LONG_DOUBLE. + +2016-02-22 Roland McGrath + + * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23, + fts64_children, fts64_close, fts64_open, fts64_read and fts64_set. + +2016-02-22 Dmitry V. Levin + + [BZ #19512] + * config.h.in (HAVE_BUILTIN_EXPECT): New macro. + +2016-02-22 Stefan Liebler + + * posix/tst-dir.c: Include libc-internal.h. + +2016-02-20 Florian Weimer + + [BZ #19056] + * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated. + * manual/filesys.texi (Reading/Closing Directory): Mention + deprecaion. + * posix/tst-dir.c (main): Disable deprecation warning in test. + +2016-02-19 H.J. Lu + + [BZ #19679] + * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE): + Renamed to ... + (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8. + (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ... + (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated. + (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ... + (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. + * sysdeps/x86_64/dl-trampoline.h + (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ... + (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. + +2016-02-19 Mark Wielaard + + * elf/elf.h: Add NT_ARM_SYSTEM_CALL. + +2016-02-19 Mark Wielaard + + * elf/elf.h (R_386_GOT32X): New. + (R_386_NUM): Update. + (R_X86_64_GOTPCRELX: New. + (R_X86_64_REX_GOTPCRELX): New. + (R_X86_64_NUM): Update. + +2016-02-19 Mike Frysinger + + * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment. + +2016-02-19 Carlos O'Donell + + * nptl/allocatestack.c (allocate_stack): Declare new stackaddr, + assign attr->stackaddr to it, and adjust it down when + _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr. + [_STACK_GROWS_UP]: Delete assert. + * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]: + Implement stack grows up logic. + * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement + stack grows up logic. + +2016-02-19 Adhemerval Zanella + + * NEWS: Update with 2.24 template. + +2016-02-19 Joseph Myers + + [BZ #19678] + * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): + Ensure +0.0 is returned when taking the next value below the least + positive value. + +2016-02-19 Florian Weimer + + * sysdeps/generic/malloc-machine.h: Assume mutex_init is always + available. Do not define NO_THREADS. + * malloc/malloc.c: Do not check NO_THREADS. + * malloc/arena.c: Likewise. + +2016-02-19 Florian Weimer + + * malloc/malloc.c (__libc_mallinfo): Update comment. + (struct malloc_par): Remove max_total_mem member, it was always 0. + (int_mallinfo): Store 0 into usmblks (no functional change). + * malloc/hooks.c (struct malloc_state): Document that + max_total_mem is always 0. + * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is + always 0. + * manual/memory.texi (Statistics of Malloc): Likewise. + +2016-02-19 Florian Weimer + + * malloc/malloc.c (sysmalloc): Do not update arena_max. + * malloc/arena.c (arena_max): Remove. + (heap_trim, _int_new_arena): Do not update arena_max. + +2016-02-19 Florian Weimer + + * resolv/res_init.c (res_ninit): Update comment. + +2016-02-19 Florian Weimer + + [BZ #19505] + * posix/spawn_int.h: Add headers and include guard. + (__spawn_valid_fd): New function. + * posix/spawn_faction_addopen.c + (posix_spawn_file_actions_addopen): Use __spawn_valid_fd. + * posix/spawn_faction_addclose.c + (posix_spawn_file_actions_addclose): Likewise. + * posix/spawn_faction_adddup2.c + (posix_spawn_file_actions_adddup2): Likewise. Add check for + second file descriptor. + * posix/spawn_valid_fd.c: New file. + * posix/tst-posix_spawn-fd.c: New file. + * posix/Makefile (routines): Add spawn_valid_fd. + (tests): Add tst-posix_spawn-fd. + +2016-02-19 Florian Weimer + + * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early. + (do_test): Limit the number of arenas, so that we can use fewer + outer threads. Limit timeout to 3 seconds, in preparation for a + larger TIMEOUT value. + +2016-02-19 Joseph Myers + + [BZ #19674] + * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include + sign in overflowing and underflowing results when overflow or + underflow is detected early. Include sign in result before rather + than after scaling. + + [BZ #19603] + * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c + (__ieee754_remainderl): Adjust sign of integer version of low part + when taking absolute value of high part. + * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise. + * math/libm-test.inc (remainder_test_data): Add another test. + (remquo_test_data): Likewise. + +2016-02-18 Joseph Myers + + [BZ #19602] + * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle + equal high parts and both low parts zero specially. + * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test. + * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests): + Add test-fmodl-ldbl-128ibm. + + [BZ #19595] + * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use + common logic for all cases of shifting subnormal results. Do not + insert sign bit in shifted mantissa. Always pass -1023 as biased + exponent to ldbl_insert_mantissa in subnormal case. + + [BZ #19594] + * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round + on high and low parts then adjust result and use + ldbl_canonicalize_int if needed. + + [BZ #19593] + * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc + on high part and __floor or __ceil on low part then use + ldbl_canonicalize_int if needed. + + [BZ #19592] + * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on + high and low parts then use ldbl_canonicalize_int if needed. + + [BZ #17899] + * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int): + New function. + * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor + on high and low parts then use ldbl_canonicalize_int if needed. + +2016-02-18 Adhemerval Zanella + + * configure: Regenerated. + + * po/libc.pot: Regenerated. + + * po/be.po: Updated translation. + * po/bg.po: Likewise. + * po/ca.po: Likewise. + * po/cs.po: Likewise. + * po/da.po: Likewise. + * po/el.po: Likewise. + * po/eo.po: Likewise. + * po/es.po: Likewise. + * po/fi.po: Likewise. + * po/fr.po: Likewise. + * po/gl.po: Likewise. + * po/hr.po: Likewise. + * po/hu.po: Likewise. + * po/ia.po: Likewise. + * po/id.po: Likewise. + * po/it.po: Likewise. + * po/ja.po: Likewise. + * po/lt.po: Likewise. + * po/nb.po: Likewise. + * po/nl.po: Likewise. + * po/pt_BR.po: Likewise. + * po/rw.po: Likewise. + * po/sk.po: Likewise. + * po/sl.po: Likewise. + * po/sv.po: Likewise. + * po/tr.po: Likewise. + * po/zh_CN.po: Likewise. + * po/zh_TW.po: Likewise. + + * version.h (RELEAES): Set to "development". + (VERSION): Set to 2.23.90. + + * version.h (RELEASE): Set to "stable". + (VERSION): Set to 2.23. + * include/feature.h (__GLIBC_MINOR__): Set to 23. + + * NEWS: Updated fixed bugs. + +2016-02-18 H.J. Lu + Wilco Dijkstra + + [BZ #19462] + * bits/string.h (_STRING_ARCH_unaligned): Renamed to ... + (_STRING_INLINE_unaligned): This. + * include/string.h: Include . + * string/bits/string2.h: Replace _STRING_ARCH_unaligned with + _STRING_INLINE_unaligned. + * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed. + (_STRING_INLINE_unaligned): New. + * sysdeps/aarch64/string_private.h: New file. + * sysdeps/generic/string_private.h: Likewise. + * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise. + * sysdeps/s390/string_private.h: Likewise. + * sysdeps/x86/string_private.h: Likewise. + * sysdeps/m68k/m680x0/m68020/bits/string.h + (_STRING_ARCH_unaligned): Renamed to ... + (_STRING_INLINE_unaligned): This. + * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed + to ... + (_STRING_INLINE_unaligned): This. + * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed + to ... + (_STRING_INLINE_unaligned): This. + * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed + to ... + (_STRING_INLINE_unaligned): This. + +2016-02-17 Andrew Senkevich + H.J. Lu + + [BZ #19590] + * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC + relocation. + +2016-02-15 Carlos O'Donell + + [BZ #18665] + * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set + *herrno_p. + (gaih_getanswer): Document functional behviour. Return tryagain + if any result is tryagain. + * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero + when freed. + * resolv/res_send.c: Add copyright text. + (__libc_res_nsend): Document that MAXPACKET is expected. + (send_vc): Document. Remove buffer reuse. + (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the + size of the buffer. Add Dprint for truncated UDP buffer. + +2016-02-14 Carlos O'Donell + + * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk + 4.1.3, and sed 4.2.2. Remove po2test.sed comments. + * INSTALL: Regenerate. + +2016-02-14 Jakub Jelinek + Jonathan Wakely + Carlos O'Donell + + [BZ 19439] + * math/Makefile (tests): Add test-math-isinff. + (CFLAGS-test-math-isinff.cc): Use -std=gnu++11. + * math/bits/mathcalls.h [__USE_MISC]: Use + '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of + functions not in C++11 and which don't conflict e.g. isinff, + isinfl etc. + * math/test-math-isinff.cc: New file. + +2016-02-12 Florian Weimer + + * misc/bug18240.c (do_test): Set RLIMIT_AS. + +2016-02-11 Szabolcs Nagy + + [BZ #19529] + * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables. + +2016-02-04 Rajalakshmi Srinivasaraghavan + + * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated. + +2016-02-01 Joseph Myers + + [BZ #19550] + * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file. + * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to .... + * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here. + * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file. + * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64): + New syscall entry. + * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap): + New syscall entry. + * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove + syscall entry. + +2016-01-27 Paul Eggert + + [BZ #18240] + * misc/hsearch_r.c (isprime, __hcreate_r): Protect against + unsigned int wraparound. + +2016-01-27 Florian Weimer + + [BZ #18240] + * misc/bug18240.c: New test. + * misc/Makefile (tests): Add it. + +2016-01-28 Steve Ellcey + Joseph Myers + + * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word + load in branch delay slot when less than a word of input left. + +2016-01-27 Andreas Schwab + + * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove. + * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove. + * sysdeps/powerpc/fpu/s_cosf.c (one): Remove. + * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove. + +2016-01-26 David S. Miller + + * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp. + +2016-01-25 David S. Miller + + * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for + __sqrtl_finite. + * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define + instead using versioned_symbol. + * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering + of entries. + + * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move + __sqrtl_finite to GLIBC_2.23 + +2016-01-25 Ricchard Henderson + + * sysdeps/alpha/fpu/libm-test-ulps: Update. + +2016-01-25 Andreas Schwab + + [BZ #17514] + * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock) + : Don't do lock elision. + * nptl/Makefile (tests): Add tst-mutex-errorcheck. + * nptl/tst-mutex-errorcheck.c: New file. + +2016-01-25 Paul E. Murphy + + [BZ #18560] + * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove. + (IPCOP_semop): Likewise. + (IPCOP_semget): Likewise. + (IPCOP_semctl): Likewise. + (IPCOP_msgsnd): Likewise. + (IPCOP_msgrcv): Likewise. + (IPCOP_msgget): Likewise. + (IPCOP_msgctl): Likewise. + (IPCOP_shmat): Likewise. + (IPCOP_shmdt): Likewise. + (IPCOP_shmget): Likewise. + (IPCOP_shmctl): Likewise. + +2016-01-22 Stefan Liebler + + * string/tst-endian.c: Include . + (do_test): Ignore tautological-compare warnings around + "htobeXX (beXXtoh (i)) != i" and + "htoleXX (leXXtoh (i)) != i" if-statements. + +2016-01-24 David S. Miller + + * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file. + * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove + alias. + * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add + __sqrtl_finite. + + * sysdeps/sparc/fpu/libm-test-ulps: Update. + +2016-01-25 Maciej W. Rozycki + + * sysdeps/unix/sysv/linux/mips/configure.ac: Set + `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used. + * sysdeps/unix/sysv/linux/mips/configure: Regenerate. + +2016-01-22 Paul E. Murphy + + * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function. + (thread_func): Use new function to simplify barrier check. + (do_test): Use new function to simplify checking barrier exit + code, and actually join the child thread. + +2016-01-22 Paul E. Murphy + + * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove + semicolon. + (__libc_tend): Likewise. + (__libc_tabort): Likewise. + +2016-01-22 Chung-Lin Tang + + * sysdeps/nios2/libm-test-ulps: Update. + * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add. + (__gtsf2): Likewise. + (__unorddf2): Likewise. + (__unordsf2): Likewise. + (__ledf2): Likewise. + +2016-01-20 Chris Metcalf + + * nis/nis_table.c (__follow_path): Disable diagnostic for + uninitialized variable that is a false positive for gcc 4.7. + * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise. + +2016-01-20 Roland McGrath + + * sysdeps/nacl/lowlevellock-futex.h + (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake): + Always evaluate PRIVATE argument. + +2016-01-20 Paul Pluzhnikov + + [BZ #19490] + * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S + (pthread_cond_broadcast): Use ENTRY/END + * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S + (pthread_cond_signal): Likewise. + * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock): + Likewise. + * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock): + Likewise. + * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock): + Likewise. + +2016-01-20 Joseph Myers + + * sysdeps/ieee754/dbl-64/s_finite.c + [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define + compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in + SHLIB_COMPAT condition for libm, not GLIBC_2_0. + * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c + [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise. + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data + (__gtsf2): Add as optional for libc.so. + (__unordsf2): Likewise. + (__signbit): Remove for libc.so. + (__signbitl): Likewise. + +2016-01-19 Stefan Liebler + + * iconvdata/bug-iconv11.c (test_ibm93x): + Use %zu printf format specifier for size_t argument. + +2016-01-19 Joseph Myers + + * math/gen-libm-test.pl (parse_ulps): Do not reduce + already-recorded ulps. + * sysdeps/arm/libm-test-ulps: Regenerated. + * sysdeps/mips/mips32/libm-test-ulps: Likewise. + * sysdeps/mips/mips64/libm-test-ulps: Likewise. + * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise. + +2016-01-19 Andrew Senkevich + Paul Pluzhnikov + + * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with + assembler not supporting AVX-512. + +2016-01-18 Stefan Liebler + + * sysdeps/s390/fpu/libm-test-ulps: Regenerated. + +2016-01-18 Joseph Myers + + * sysdeps/mips/mips32/libm-test-ulps: Regenerated. + * sysdeps/mips/mips64/libm-test-ulps: Likewise. + + * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated. + + * sysdeps/arm/libm-test-ulps: Regenerated. + +2016-01-18 Paul Pluzhnikov + + [BZ #19451] + * math/Makefile (libm-vec-tests): Move libraries after wrappers.o + +2016-01-15 Stefan Liebler + + [BZ #19486] + * sysdeps/s390/fix-fp-int-convert-overflow.h: New File. + * sysdeps/generic/fix-fp-int-convert-overflow.h + (FIX_LDBL_LONG_CONVERT_OVERFLOW, + FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define. + * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise. + * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: + Likewise. + * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): + Avoid conversions to long int where inexact exceptions + could be raised. + * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): + Likewise. + * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): + Avoid conversions to long long int where inexact exceptions + could be raised. + * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): + Likewise. + +2016-01-17 Mike Frysinger + + * configure.ac: Rewrite error comment and use AC_MSG_ERROR. + * configure: Regenerated. + +2016-01-16 Andrew Senkevich + + * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos. + +2016-01-16 Mike Frysinger + + * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move + outside of comment. + +2016-01-15 Torvald Riegel + + * nptl/tst-barrier1.c: Add description on first line. + * nptl/tst-barrier2.c: Likewise. + * nptl/tst-barrier3.c: Likewise. + * nptl/tst-barrier4.c: Likewise. + * nptl/tst-barrier5.c: Likewise. + +2016-01-15 Torvald Riegel + + [BZ #18868] + * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix. + +2016-01-16 Andrew Senkevich + + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files. + * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests. + * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file. + * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise. + * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise. + * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch. + * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise. + * sysdeps/x86_64/multiarch/memmove.c: Likewise. + * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise. + * sysdeps/x86_64/multiarch/mempcpy.S: Likewise. + * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise. + +2016-01-15 Torvald Riegel + + [BZ #13065] + * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with + new implementation. + * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise. + * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt. + * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt. + (BARRIER_IN_THRESHOLD): New macro. + * nptl/pthread_barrierattr_setpshared.c + (pthread_barrierattr_setpshared): Clean up. + * nptl/tst-barrier4.c: Correct comment. + * nptl/tst-barrier5.c: New file. + * nptl/Makefile (tests): Add nptl/tst-barrier5.c. + (gen-as-const-headers): Remove lowlevelbarrier.sym. + * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove. + * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove. + * nptl/lowlevelbarrier.sym: Remove. + * nptl/DESIGN-barrier.txt: Remove. + * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove. + * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove. + * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove. + * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build + error. + * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic + implementation. + +2016-01-15 Paul E. Murphy + + * rt/tst-mqueue5.c (thr): Cleanup misleading comment. + (do_child): Mask SIGRTMIN while thr is running. + +2016-01-15 Martin Sebor + + [BZ #19432] + * iconvdata/Makefile: Add bug-iconv11. + * iconvdata/bug-iconv11.c: New test. + * iconvdata/ibm930.c: Do not reject redundant shift sequences. + * iconvdata/ibm933.c: Same. + * iconvdata/ibm935.c: Same. + * iconvdata/ibm937.c: Same. + * iconvdata/ibm939.c: Same. + +2016-01-15 Martin Sebor + + [BZ #19443] + * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string. + [DEBUG] (_ufc_set_bits): Declare used. + * iconv/gconv_dl.c [DEBUG]: Add a missing include directive. + [DEBUG] (print_all): Declare used. + * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert + operands of the ternary ?: expression to target type. + * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of + calling the undeclared abort. + * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME. + +2016-01-15 Martin Sebor + + [BZ #18755] + * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable + warnings. + * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same. + (__gai_create_helper_thread): Same. + * nscd/nscd.c (do_exit): Suppress -Wunused-variable. + * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable + to suppress -Wmaybe-uninitialized warnings. + +2016-01-15 H.J. Lu + + [BZ #19465] + * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier + inside if. + * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise. + * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise. + * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise. + +2016-01-14 H.J. Lu + + [BZ #19466] + * time/tst-mktime2.c (time_t_max): Removed. + (time_t_min): Likewise. + (TYPE_SIGNED): New. + (TYPE_MINIMUM): Likewise. + (TYPE_MAXIMUM): Likewise. + (TIME_T_MIN): Likewise. + (TIME_T_MAX): Likewise. + (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX + and TIME_T_MIN. + (do_test): Likewise. + +2016-01-14 Amit Pawar + + [BZ #19467] + * sysdeps/x86/cpu-features.c (init_cpu_features): Set + index_Fast_Unaligned_Load flag for Excavator family CPUs. + +2016-01-02 Marcin Koƛcielnicki + + * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field. + +2016-01-13 Carlos O'Donell + + * benchtests/Makefile (PYTHON): Define. + (bench-func): Use $(PYTHON) to run python scripts. + ($(objpfx)bench-%.c): Likewise. + +2016-01-13 Flavio Cruz + + * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove + leading slash when `file_name' is "/". + +2016-01-12 Joseph Myers + + * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro. + * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT): + Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT): + Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): + Likewise. + * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New + enum constant and macro. + (PTRACE_SETSIGMASK): Likewise. + (PTRACE_SECCOMP_GET_FILTER): Likewise. + * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h + (PTRACE_GETSIGMASK): Likewise. + (PTRACE_SETSIGMASK): Likewise. + (PTRACE_SECCOMP_GET_FILTER): Likewise. + * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK): + Likewise. + (PTRACE_SETSIGMASK): Likewise. + (PTRACE_SECCOMP_GET_FILTER): Likewise. + * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h + (PTRACE_GETSIGMASK): Likewise. + (PTRACE_SETSIGMASK): Likewise. + (PTRACE_SECCOMP_GET_FILTER): Likewise. + * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK): + Likewise. + (PTRACE_SETSIGMASK): Likewise. + (PTRACE_SECCOMP_GET_FILTER): Likewise. + * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK): + Likewise. + (PTRACE_SETSIGMASK): Likewise. + (PTRACE_SECCOMP_GET_FILTER): Likewise. + * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK): + Likewise. + (PTRACE_SETSIGMASK): Likewise. + (PTRACE_SECCOMP_GET_FILTER): Likewise. + +2016-01-11 Jonathan Wakely + Adhemerval Zanella + + [BZ #19439] + * math/bits/mathcalls.h + [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare + prototype. + [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise. + +2016-01-11 Andreas Schwab + + [BZ #19253] + * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute + cache when TZDEFRULES was used. + * time/tst-tzname.c: New file. + * time/Makefile (test): Add tst-tzname. + (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define. + * timezone/Makefile (test-zones): Add $(posixrules-file). + ($(testdata)/$(posixrules-file)): New rule. + +2016-01-10 Paul Eggert + + Fix doc quoting problems with Texinfo 5 + Without this change, in the info file output, Texinfo 5 quotes code + in text with undirected single quotes 'like this' and generates + code examples that with many PDF readers cannot be cut out of PDFs + and pasted into code. + * manual/libc.texinfo: Configure the libc manual like the GNU + Emacs manual, by using @documentencoding and setting + txicodequoteundirected and txicodequotebacktick. This way, + Texinfo 5 quotes code in text with directed single quotes ‘like + this’ and produces examples that can be cut out of PDFs. This + change causes Texinfo 5 to generate info files that contain UTF-8 + characters in the set {'‘', '’', '“', '”', 'Ä', 'Ă€', 'ö', '−', + '–', '—', '©', '⇒', '‱', '
'}, which is OK nowadays. + +2016-01-08 Tulio Magno Quites Machado Filho + + * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin, + __libc_tabort, __libc_tend): New wrappers that enforce compiler + barriers to their respective compiler built-ins. + * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK, + ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers. + * sysdeps/powerpc/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise. + +2016-01-08 Marko Myllynen + + * scripts/config.guess: Revert previous shebang change. + * scripts/config.sub: Likewise. + * scripts/mkinstalldirs: Likewise. + +2016-01-08 Carlos Eduardo Seo + + * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and + PPC_FEATURE2_HAS_IEEE128. + * sysdeps/powerpc/dl-procinfo.c: + (_dl_powerpc_cap_flags): Add corresponding names to new capabilities. + +2016-01-08 John David Anglin + + [BZ #19415] + * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare. + (elf_machine_resolve): New. Return address of _dl_runtime_resolve. + (_dl_lookup_address): Rewrite using function resolver trampoline. + * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom + two bits in address. + +2016-01-07 Mike Frysinger + + * longlong.h: Change !__SHMEDIA__ to + (!defined (__SHMEDIA__) || !__SHMEDIA__). + Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__. + +2016-01-07 Daniel Jacobowitz + Joseph Myers + Mark Shinwell + Andrew Stubbs + Rich Felker + + * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH. + +2016-01-07 Richard Henderson + + * longlong.h [__alpha] (umul_ppmm): Disable for c++. + +2016-01-07 Mike Frysinger + + * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change + __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT. + * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise. + * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise. + * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise. + +2016-01-07 Paul Eggert + Joseph Myers + + * timezone/private.h: Update from tzcode 2015g. + * timezone/tzfile.h: Likewise. + * timezone/tzselect.ksh: Likewise. + * timezone/zdump.c: Likewise. + * timezone/zic.c: Likewise. + * timezone/ialloc.c: Remove file. + * timezone/scheck.c: Likewise. + * timezone/Makefile (extra-objs): Remove variable. + ($(objpfx)zic): Do not depend on scheck.o and ialloc.o. + (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0 + -Wno-maybe-uninitialized. + (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT. + (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT. + (CFLAGS-ialloc.c): Remove variable. + (CFLAGS-scheck.c): Likewise. + * timezone/README: Update list of files from tzcode. + +2016-01-07 Khem Raj + + * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked + instead of __fxprintf when _LIBC is undefined. + +2016-01-07 Marko Myllynen + + * catgets/test-gencat.sh: Remove space after shebang. + * conform/GlibcConform.pm: Likewise. + * conform/check-header-lists.sh: Likewise. + * conform/conformtest.pl: Likewise. + * conform/linknamespace.pl: Likewise. + * conform/list-header-symbols.pl: Likewise. + * debug/catchsegv.sh: Likewise. + * elf/genrtldtbl.awk: Likewise. + * elf/tst-pathopt.sh: Likewise. + * elf/tst-rtld-load-self.sh: Likewise. + * grp/tst_fgetgrent.sh: Likewise. + * iconvdata/gen-8bit-gap-1.sh: Likewise. + * iconvdata/gen-8bit-gap.sh: Likewise. + * iconvdata/gen-8bit.sh: Likewise. + * iconvdata/run-iconv-test.sh: Likewise. + * intl/tst-gettext.sh: Likewise. + * intl/tst-gettext2.sh: Likewise. + * intl/tst-gettext4.sh: Likewise. + * intl/tst-gettext6.sh: Likewise. + * intl/tst-translit.sh: Likewise. + * io/ftwtest-sh: Likewise. + * libio/test-freopen.sh: Likewise. + * locale/gen-translit.pl: Likewise. + * malloc/tst-mtrace.sh: Likewise. + * manual/check-safety.sh: Likewise. + * manual/libc-texinfo.sh: Likewise. + * manual/tsort.awk: Likewise. + * manual/xtract-typefun.awk: Likewise. + * nptl/tst-cancel-wrappers.sh: Likewise. + * nptl/tst-tls6.sh: Likewise. + * posix/globtest.sh: Likewise. + * posix/tst-getconf.sh: Likewise. + * posix/wordexp-tst.sh: Likewise. + * scripts/check-c++-types.sh: Likewise. + * scripts/check-local-headers.sh: Likewise. + * scripts/config.guess: Likewise. + * scripts/config.sub: Likewise. + * scripts/cpp: Likewise. + * scripts/cross-test-ssh.sh: Likewise. + * scripts/documented.sh: Likewise. + * scripts/evaluate-test.sh: Likewise. + * scripts/gen-libc-abis: Likewise. + * scripts/gen-sorted.awk: Likewise. + * scripts/list-fixed-bugs.py: Likewise. + * scripts/merge-test-results.sh: Likewise. + * scripts/mkinstalldirs: Likewise. + * scripts/rellns-sh: Likewise. + * scripts/test-installation.pl: Likewise. + * scripts/update-copyrights: Likewise. + * stdio-common/tst-printf.sh: Likewise. + * stdio-common/tst-unbputc.sh: Likewise. + * stdlib/tst-fmtmsg.sh: Likewise. + * stdlib/tst-setcontext3.sh: Likewise. + * sysdeps/i386/tst-ld-sse-use.sh: Likewise. + * sysdeps/unix/make-syscalls.sh: Likewise. + +2016-01-06 John David Anglin + + * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace + asm stw with atomic_exchange_rel. Add explanatory comment. + * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock): + Likewise. + +2016-01-05 H.J. Lu + + [BZ #19122] + * include/unistd.h [IS_IN (rtld)]: Include . + * sysdeps/generic/dl-unistd.h: New file. + * sysdeps/mach/hurd/dl-unistd.h: Likewise. + +2016-01-05 H.J. Lu + + [BZ #19122] + * include/sys/mman.h [IS_IN (rtld)]: Include . + * sysdeps/generic/dl-mman.h: New file. + * sysdeps/mach/hurd/dl-mman.h: Likewise. + +2016-01-05 Joseph Myers + + * manual/texinfo.tex: Update to version 2016-01-04.21 with + trailing whitespace removed. + * scripts/config.guess: Update to version 2016-01-01. + * scripts/config.sub: Update to version 2016-01-01. + * scripts/move-if-change: Update from gnulib. + +2016-01-04 Anton Blanchard + + * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int + for array indices. + * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise. + +2016-01-04 Joseph Myers + + * NEWS: Update copyright dates. + * catgets/gencat.c (print_version): Likewise. + * csu/version.c (banner): Likewise. + * debug/catchsegv.sh: Likewise. + * debug/pcprofiledump.c (print_version): Likewise. + * debug/xtrace.sh (do_version): Likewise. + * elf/ldconfig.c (print_version): Likewise. + * elf/ldd.bash.in: Likewise. + * elf/pldd.c (print_version): Likewise. + * elf/sotruss.sh: Likewise. + * elf/sprof.c (print_version): Likewise. + * iconv/iconv_prog.c (print_version): Likewise. + * iconv/iconvconfig.c (print_version): Likewise. + * locale/programs/locale.c (print_version): Likewise. + * locale/programs/localedef.c (print_version): Likewise. + * login/programs/pt_chown.c (print_version): Likewise. + * malloc/memusage.sh (do_version): Likewise. + * malloc/memusagestat.c (print_version): Likewise. + * malloc/mtrace.pl: Likewise. + * manual/libc.texinfo: Likewise. + * nptl/version.c (banner): Likewise. + * nscd/nscd.c (print_version): Likewise. + * nss/getent.c (print_version): Likewise. + * nss/makedb.c (print_version): Likewise. + * posix/getconf.c (main): Likewise. + * scripts/test-installation.pl: Likewise. + * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise. + + * All files with FSF copyright notices: Update copyright dates + using scripts/update-copyrights. + * intl/plural.c: Regenerated. + * locale/programs/charmap-kw.h: Likewise. + * locale/programs/locfile-kw.h: Likewise. + +2016-01-02 Helge Deller + + [BZ #19285] + * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define. + (MAP_HUGETLB, MCL_ONFAULT): Likewise. + (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise. + (MADV_xxK_PAGES): Remove. + +2016-01-01 Mike Frysinger + + [BZ #15421] + * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h. + [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor. + * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise. + * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise. + +2015-12-30 Dmitry V. Levin + + [BZ #19408] + * sysdeps/unix/sysv/linux/personality.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise. + * sysdeps/unix/sysv/linux/tst-personality.c: Likewise. + * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc] + (sysdep_routines): Add personality. + (tests): Add tst-personality. + * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ... + * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here. + * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry. + * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise. + * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise. + * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise. + * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality): + Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality): + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality): + Likewise. + * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality): + Likewise. + +2015-12-30 Aurelien Jarno + + * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include . + (PATH_ARM_SYSTYPE): Remove. + (PATH_CPUINFO): Likewise. + (IO_BASE_FOOTBRIDGE): Likewise. + (IO_SHIFT_FOOTBRIDGE): Likewise. + (struct platform): Likewise. + (init_iosys): Remove compatibility code for 2.4 kernels. + * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf. + +2015-12-29 Florian Weimer + + * malloc/tst-malloc-thread-fail.c: New file. + * malloc/Makefile (tests): Add tst-malloc-thread-fail. + (tst-malloc-thread-fail): Link against libpthread. + +2015-12-29 Mike Frysinger + + * scripts/list-fixed-bugs.py: Import argparse. Call main instead. + (get_parser): New function. + (main): New function. + +2015-12-29 Rob Wu + + [BZ #19369] + * resolv/res_init.c (__res_vinit): Reset defdname before use. + +2015-12-29 John David Anglin + + [BZ #19270] + * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define. + +2015-12-28 Mike Frysinger + + [BZ #15421] + * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma. + +2015-12-23 Torvald Riegel + + [BZ #13690] + * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock + after releasing it. + (__lll_robust_unlock): Likewise. + * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise. + * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise. + (lll_robust_unlock): Likewise. + * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag): + Prevent warnings in callers. + +2015-12-23 Florian Weimer + + * malloc/arena.c (list_lock): Update comment. + +2015-12-22 Carlos Eduardo Seo + + * sysdeps/powerpc/hwcapinfo.c: Export symbol + __parse_hwcap_and_convert_at_platform to libc.a. + +2015-12-22 Carlos Eduardo Seo + + * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added + platform and feature support for POWER9. + * sysdeps/powerpc/dl-procinfo.h: Likewise. + * sysdeps/powerpc/powerpc32/power9/Implies: New file. + * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise. + * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise. + * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64. + * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise. + * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise. + * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise. + +2015-12-22 Samuel Thibault + + Harmonize generic stdio-lock support with nptl + + This fixes build when _IO_funlockfile is a macro, fixes build where + _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected + stack unwind. + + * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock, + _IO_release_lock ): Use cleanup attribute on new + _IO_acquire_lock_file variable instead of assuming that + _IO_release_lock will be called. + [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing + _IO_acquire_lock_needs_exceptions_enabled. + (_IO_acquire_lock_clear_flags2): New macro. + +2015-12-22 Adhemerval Zanella + + * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated. + +2015-12-21 Florian Weimer + + [BZ #19182] + * malloc/arena.c (list_lock): Document lock ordering requirements. + (free_list_lock): New lock. + (ptmalloc_lock_all): Comment on free_list_lock. + (ptmalloc_unlock_all2): Reinitialize free_list_lock. + (detach_arena): Update comment. free_list_lock is now needed. + (_int_new_arena): Use free_list_lock around detach_arena call. + Acquire arena lock after list_lock. Add comment, including FIXME + about incorrect synchronization. + (get_free_list): Switch to free_list_lock. + (reused_arena): Acquire free_list_lock around detach_arena call + and attached threads counter update. Add two FIXMEs about + incorrect synchronization. + (arena_thread_freeres): Switch to free_list_lock. + * malloc/malloc.c (struct malloc_state): Update comments to + mention free_list_lock. + +2015-12-21 Siddhesh Poyarekar + + * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2): + Remove functions. + (sloww, sloww1): Accept argument to offset quadrant. + (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on + quadrant. + (__sin, __cos): Consolidate common code into new functions. + (reduce_sincos_1, do_sincos_1): New functions. + * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them. + + * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common + code to new functions. + (reduce_sincos_2, do_sincos_2): New functions. + * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them. + + * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip + common code for sincos. + (__cos) [!IN_SINCOS]: Likewise. + * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos): + New function. + (__sincos): Use it. + +2015-12-20 Aurelien Jarno + + * sysdeps/i386/fpu/libm-test-ulps: Move to .... + * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here. + * sysdeps/i386/fpu/libm-test-ulps: Regenerate. + +2015-12-19 Andrew Senkevich + + * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file. + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file. + * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests. + * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch. + * sysdeps/x86_64/multiarch/memset_chk.S: Likewise. + * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER, + index_Prefer_No_VZEROUPPER): New feature. + * sysdeps/x86/cpu-features.c (init_cpu_features): Set the + Prefer_No_VZEROUPPER for Knights Landing. + +015-12-18 Torvald Riegel + + * math/atest-exp2.c (mp_exp_m1): Remove. + +2015-12-17 Adhemerval Zanella + + * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument + syscalls. + (__SYSCALL0): New macro. + (__SYSCALL1): Likewise. + (__SYSCALL2): Likewise. + (__SYSCALL3): Likewise. + (__SYSCALL4): Likewise. + (__SYSCALL5): Likewise. + (__SYSCALL6): Likewise. + (__SYSCALL_CONCAT_X): Likewise. + (__SYSCALL_CONCAT): Likewise. + (__SYSCALL_DIST): Likewise. + (__SYSCALL_CALL): Likewise. + +2015-12-17 H.J. Lu + + [BZ #19363] + * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file. + +2015-12-17 Adhemerval Zanella + + [BZ #19375] + * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for + negative subnormals. + +2015-12-16 H.J. Lu + + * sysdeps/unix/sysv/linux/x86_64/sysdep.h + (REGISTERS_CLOBBERED_BY_SYSCALL): New. + (INTERNAL_SYSCALL_NCS): Use it. + (INTERNAL_SYSCALL_NCS_TYPES): Likewise. + +2015-12-16 Florian Weimer + + [BZ #19243] + * malloc/arena.c (get_free_list): Remove assert and adjust + reference count handling. Add comment about reused_arena + interaction. + (reused_arena): Add comments abount get_free_list interaction. + * malloc/tst-malloc-thread-exit.c: New file. + * malloc/Makefile (tests): Add tst-malloc-thread-exit. + (tst-malloc-thread-exit): Link against libpthread. + +2015-12-15 H.J. Lu + + [BZ #19367] + * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file. + * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise. + * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New. + (index_Prefer_MAP_32BIT_EXEC): Likewise. + +2015-12-15 H.J. Lu + + * sysdeps/x86/cpu-features.c (init_cpu_features): Enable + Silvermont optimizations for Knights Landing. + +2015-12-15 Andreas Schwab + + [BZ #17197] + * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state + immediately after emitting SI. + * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise. + * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise. + * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise. + * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise. + * iconvdata/bug-iconv10.c: New file. + * iconvdata/Makefile (tests): Add bug-iconv10. + ($(objpfx)bug-iconv10.out): New rule. + +2015-12-15 Florian Weimer + + * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an + aliasing violation. + +2015-12-14 Joseph Myers + + [BZ #18472] + * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries + for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT + conditionals for them. + * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise. + * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove + sys/kdaemon.h. + * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into + compat-only syscall, obsoleted in glibc 2.23. + (create_module): Likewise. + (get_kernel_syms): Likewise. + (query_module): Likewise. + (uselib): Likewise. + * manual/sysinfo.texi (System Parameters): Do not mention bdflush. + +2015-12-11 Aurelien Jarno + + * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include + . + [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove + conditional code. + (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name + and ioshift_name initialization. + +2015-12-11 Steve Ellcey + + * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): + Fix indentation. + +2015-12-11 Steve Ellcey + + * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation. + +2015-12-11 Steve Ellcey + + * stdlib/strtol_l.c (__strtol_l): Fix indentation. + +2015-12-10 Aurelien Jarno + Jakub Wilk + + [BZ #19347] + * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try + to change the group of the device to the tty group. + +2015-12-10 Paul Eggert + + Split large string section; add truncation advice + * manual/examples/strncat.c: Remove. + This example was misleading, as the code would have undefined + behavior if "hello" was longer than SIZE. Anyway, the manual + shouldn't encourage strncpy+strncat for this sort of thing. + * manual/string.texi (Copying Strings and Arrays): Split into + three sections Copying Strings and Arrays, Concatenating Strings, + and Truncating Strings, as this section was way too long. All + cross-referenced changed. Add advice about string-truncation + functions. Remove misleading strncat example. + +2015-12-10 Carlos O'Donell + + * manual/nss.texi (NSS Modules Interface): Document + NSS_STATUS_NOTFOUND and SUCCESS. + +2015-12-09 Mike FABIAN + + [BZ 18568] + * include/stdc-predef.h (__STDC_ISO_10646__): Update to + 201505L, for Unicode 8. + +2015-12-09 Carlos O'Donell + + * locale/C-translit.h: Regenerate. + +2015-12-09 Mike FABIAN + + * locale/C-translit.h.in: Remove duplicate transliterations for U+0152 + and U+0153. + +2015-12-09 Joseph Myers + + [BZ #19351] + * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When + expanding log(1+z), compare z rather than its square with epsilon + to determine when to avoid evaluating the expansion. + + [BZ #19350] + * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): + Increase overflow threshold. + + [BZ #19349] + * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument + when small. + + * sysdeps/unix/sysv/linux/i386/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL): + New macro. + [__LINUX_KERNEL_VERSION >= 0x040300] + (__ASSUME_SOCKETPAIR_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] + (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] + (__ASSUME_GETSOCKOPT_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] + (__ASSUME_SETSOCKOPT_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] + (__ASSUME_GETSOCKNAME_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] + (__ASSUME_GETPEERNAME_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] + (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] + (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL): + Likewise. + * sysdeps/unix/sysv/linux/m68k/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] + (__ASSUME_SOCKETPAIR_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] + (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] + (__ASSUME_GETSOCKOPT_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] + (__ASSUME_SETSOCKOPT_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] + (__ASSUME_GETSOCKNAME_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] + (__ASSUME_GETPEERNAME_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] + (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] + (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL): + Likewise. + * sysdeps/unix/sysv/linux/microblaze/kernel-features.h + (__ASSUME_SOCKET_SYSCALL): Likewise. + (__ASSUME_BIND_SYSCALL): Likewise. + (__ASSUME_CONNECT_SYSCALL): Likewise. + (__ASSUME_LISTEN_SYSCALL): Likewise. + (__ASSUME_ACCEPT_SYSCALL): Likewise. + (__ASSUME_GETSOCKNAME_SYSCALL): Likewise. + (__ASSUME_GETPEERNAME_SYSCALL): Likewise. + (__ASSUME_SOCKETPAIR_SYSCALL): Likewise. + (__ASSUME_SEND_SYSCALL): Likewise. + (__ASSUME_SENDTO_SYSCALL): Likewise. + (__ASSUME_RECV_SYSCALL): Likewise. + (__ASSUME_RECVFROM_SYSCALL): Likewise. + (__ASSUME_SHUTDOWN_SYSCALL): Likewise. + (__ASSUME_GETSOCKOPT_SYSCALL): Likewise. + (__ASSUME_SETSOCKOPT_SYSCALL): Likewise. + (__ASSUME_SENDMSG_SYSCALL): Likewise. + (__ASSUME_RECVMSG_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/sh/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x020625] + (__ASSUME_GETSOCKNAME_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x020625] + (__ASSUME_GETPEERNAME_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x020625] + (__ASSUME_SOCKETPAIR_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x020625] + (__ASSUME_GETSOCKOPT_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x020625] + (__ASSUME_SETSOCKOPT_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL): + Likewise. + +2015-12-09 Aurelien Jarno + + * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to + record the current if the current ABI and CPU support the FP64 + extension. + (has-modd-spreg): Define to record the current if the current ABI and + CPU support 32-bit floating point values in odd FPU registers. + * sysdeps/unix/sysv/linux/mips/configure: Regenerate. + * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when + $(has-modd-spreg) equals yes. + (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes. + (tst-abi-fp64mod): Only build when both $(has-mpf64) and + $(has-modd-spreg) equal yes. + +2015-12-09 Aurelien Jarno + + * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of + basename. + +2015-12-08 Siddhesh Poyarekar + + * benchtests/Makefile (bench-math): Move ffs and ffsll... + (bench-string): ... here. + (bench): Add bench-string. + (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename + to *-benchset to reflect what they are. + (benchset): Adjust. + + * benchtests/sincos-inputs: Add inputs from sin-inputs and + cos-inputs. + +2015-12-07 Andrew Senkevich + + * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.* + __attribute__ ((__simd__)) for vector math function declarations. + +2015-12-04 Paul Eggert + + Fix typo in strncat, wcsncat manual entries + * manual/string.texi (Copying and Concatenation): Fix typos in + sample implementations of strncat and wcsncat, by having them use + the old value of the destination length, not the new one. + +2015-12-04 Joseph Myers + + [BZ #16961] + [BZ #16962] + * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a + string on the stack for strtod. + * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing + a string on the stack for strtof. + * math/s_nanl.c (__nanl): Use __strtold_nan instead of + constructing a string on the stack for strtold. + * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and + __strtold_nan to GLIBC_PRIVATE. + * math/test-nan-overflow.c: New file. + * math/test-nan-payload.c: Likewise. + * math/Makefile (tests): Add test-nan-overflow and + test-nan-payload. + +2015-12-04 Paul Eggert + + Consistency about byte vs character in string.texi + * manual/string.texi (String and Array Utilities): + Distinguish more carefully among bytes, multibyte characters, + and wide characters. Use "byte" when talking about C 'char', + to distinguish it more clearly from multibyte characters. + Say "wide character" or "multibyte character" instead of + "character", when a wide or multibyte character is intended. + Similarly for "multibyte string" versus "string". + Define these terms more carefully. + +2015-12-03 Chris Metcalf + + * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol. + * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT): + Likewise. + * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise. + * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise. + * sysdeps/sh/math_private.h: New file. + * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise. + * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE && + defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal + long double function name. + * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise. + * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: + Remove __finitel, __isinfl, and __isnanl. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: + Remove __finitel. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise. + +2015-12-03 Andrew Senkevich + + * math/Makefile ($(inst_libdir)/libm.so): Corrected path to + installed libmvec_nonshared.a. + +2015-12-03 Carlos Eduardo Seo + + * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo. + (sysdep_routines): Likewise. + (sysdep-rtld-routines): Likewise. + [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static + [$(subdir) = nptl](tests-static): test-get_hwcap-static + * sysdeps/powerpc/Versions: Added new + __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23. + * sysdeps/powerpc/hwcapinfo.c: New file. + (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize + and parse hwcap, hwcap2 and platform number information. + * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables + to store HWCAP+HWCAP2 and platform number. + * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets + for HWCAP+HWCAP2 and platform number in the TCB. + * sysdeps/powerpc/nptl/tls.h: New functionality. Stores + the HWCAP, HWCAP2 and platform number in the TCB. + (dtv): Added new fields for HWCAP+HWCAP2 and platform number. + (TLS_INIT_TP): Included calls to add the hwcap and + at_platform values in the TCB in TP initialization. + (TLS_DEFINE_INIT_TP): Likewise. + (THREAD_GET_HWCAP): New macro. + (THREAD_SET_HWCAP): Likewise. + (THREAD_GET_AT_PLATFORM): Likewise. + (THREAD_SET_AT_PLATFORM): Likewise. + * sysdeps/powerpc/powerpc32/dl-machine.h: + (dl_platform_init): New function that calls + __parse_hwcap_and_convert_at_platform for the dymanic linking case for + powerpc32. + * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64. + * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for + this functionality, static linking case. + * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic + linking case. + * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to + __parse_hwcap_and_convert_at_platform for the static linking case. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: + Included the new __parse_hwcap_and_convert_at_platform symbol in the + ABI list for GLIBC 2.23. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: + Likewise. + +2015-12-02 Ludovic CourtĂšs + + * configure.ac: Use 'pwd -P' instead of '/bin/pwd'. + * configure: Regenerate. + * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'. + * scripts/rellns-sh: Likewise. Remove 'pwd' variable. + +2015-12-02 Carlos O'Donell + + * iconvdata/ibm930.c: Add comment explaining encoding uses. + * iconvdata/ibm933.c: Likewise. + * iconvdata/ibm935.c: Likewise. + * iconvdata/ibm937.c: Likewise. + * iconvdata/ibm939.c: Likewise. + +2015-12-02 Adhemerval Zanella + + * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after + pthread_join. + * nptl/tst-cancel21.c (tf): Likewise. + +2015-12-01 H.J. Lu + + [BZ #19313] + * bits/typesizes.h (__CPU_MASK_TYPE): New. + * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise. + * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE): + Likewise. + * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE): + Likewise. + * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE): + Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE): + Likewise. + * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE): + * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace + unsigned long int with __CPU_MASK_TYPE. + +2015-12-01 Szabolcs Nagy + + * sysdeps/aarch64/libm-test-ulps: Regenerated. + +2015-12-01 Joseph Myers + + * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h. + (__ieee754_sqrt): Use hex float constants instead of tm256.x and + t512.x. + * sysdeps/ieee754/dbl-64/uroot.h: Remove file. + +2015-11-30 Amit Pawar + + [BZ #19214] + * sysdeps/x86/cpu-features.c (get_common_indeces): Add an + argument to return extended model. Update family and model + with extended family and model when family == 0x0f. + (init_cpu_features): Updated. + +2015-11-29 Samuel Thibault + + The RPC interface used by mmap uses the unsigned vm_offset_t, not the + signed off_t, so 32bit bigger than 2GiB values are fine actually. + + * sysdeps/mach/hurd/mmap64.c: New file. + +2015-11-29 Thomas Schwinge + + * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send + rights for its main user thread in NEWTASK. + +2015-11-28 Maciej W. Rozycki + + * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008. + (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008. + +2015-11-27 Carlos O'Donell + + [BZ #14259] + * Makeconfig: Rename localedir to complocaledir. + Rename inst_localedir to inst_complocaledir. + * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir. + * config.make.in: Use complocaledir and libc_cv_complocaledir. + * configure.ac: Use libc_cv_complocaledir. + * configure: Regenerate. + * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to + -DCOMPLOCALEDIR. + * locale/findlocale.c: Use COMPLOCALEDIR. + * locale/loadarchive.c: Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/localedef.c: Likewise. + * locale/programs/locarchive.c: Likewise. + * localedata/Makefile: Use inst_complocaledir. + * sysdeps/gnu/configure: Regenerate. + * sysdeps/hppa/configure: Regenerate. + * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate. + * sysdeps/unix/sysv/linux/mips/configure: Regenerate. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate. + * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate. + * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate. + * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate. + * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate. + +2015-11-27 Andrew Senkevich + + [BZ #19058] + * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to + AS_NEEDED. + * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases + workaround. + * sysdeps/x86_64/fpu/Makefile (libmvec-support, + libmvec-static-only-routines): Added new file. + * sysdeps/x86_64/fpu/svml_finite_alias.S: New file. + +2015-11-25 Samuel Thibault + + * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port + of interrupted RPC instead of restoring it. + + * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def. + * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove + libc_hidden_def. + * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get + into initialized data instead of common. Define rtld_hidden_data_def. + * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def. + * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add + libc_hidden_def. + (if_freenameindex): Add libc_hidden_weak. + (if_nameindex): Add libc_hidden_weak. + * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into + __open64. + * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def. + * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def. + * sysdeps/mach/nanosleep.c: Include + (__nanosleep): Rename to __libc_nanosleep. + (__nanosleep): Add weak_alias. + (nanosleep): Update alias. + +2015-11-24 Joseph Myers + + * stdlib/strtod_nan.c: New file. + * stdlib/strtod_nan_double.h: Likewise. + * stdlib/strtod_nan_float.h: Likewise. + * stdlib/strtod_nan_main.c: Likewise. + * stdlib/strtod_nan_narrow.h: Likewise. + * stdlib/strtod_nan_wide.h: Likewise. + * stdlib/strtof_nan.c: Likewise. + * stdlib/strtold_nan.c: Likewise. + * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise. + * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise. + * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise. + * wcsmbs/wcstod_nan.c: Likewise. + * wcsmbs/wcstof_nan.c: Likewise. + * wcsmbs/wcstold_nan.c: Likewise. + * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and + strtold_nan. + * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and + wcstof_nan. + * include/stdlib.h (__strtof_nan): Declare and use + libc_hidden_proto. + (__strtod_nan): Likewise. + (__strtold_nan): Likewise. + (__wcstof_nan): Likewise. + (__wcstod_nan): Likewise. + (__wcstold_nan): Likewise. + * include/wchar.h (____wcstoull_l_internal): Declare. + * stdlib/strtod_l.c: Do not include . + (____strtoull_l_internal): Remove declaration. + (STRTOF_NAN): Define macro. + (SET_MANTISSA): Remove macro. + (STRTOULL): Likewise. + (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload. + * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration. + (STRTOF_NAN): Define macro. + (SET_MANTISSA): Remove macro. + * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro. + (SET_MANTISSA): Remove macro. + * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define + macro. + (SET_MANTISSA): Remove macro. + * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define + macro. + (SET_MANTISSA): Remove macro. + * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro. + (SET_MANTISSA): Remove macro. + * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration. + * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise. + * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise. + + [BZ #19266] + * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for + upper case and lower case letters inside NAN(), not using TOLOWER. + * stdlib/tst-strtod-nan-locale-main.c: New file. + * stdlib/tst-strtod-nan-locale.c: Likewise. + * stdlib/Makefile (tests): Add tst-strtod-nan-locale. + [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out): + Depend on $(gen-locales). + ($(objpfx)tst-strtod-nan-locale): Depend on $(libm). + * wcsmbs/tst-wcstod-nan-locale.c: New file. + * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale. + [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out): + Depend on $(gen-locales). + ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm). + +2015-11-24 Chris Metcalf + + * misc/tst-tsearch.c (TIMEOUT): Set to 10. + + * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add + __finitel, __isinfl, and __isnanl. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add + __finitel. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise. + +2015-11-24 Gleb Fotengauer-Malinovskiy + + * malloc/memusage.c (me): Remove redundant getenv call. + +2015-10-24 Florian Weimer + + [BZ #19143] + [BZ #19164] + * nptl/check-cpuset.h: Remove. + * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new): + Remove CPU set size check. + * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np): + Likewise. + * sysdeps/unix/sysv/linux/check-cpuset.h: Remove. + * sysdeps/unix/sysv/linux/pthread_setaffinity.c + (__kernel_cpumask_size, __determine_cpumask_size): Remove. + (__pthread_setaffinity_new): Remove CPU set size check. + * sysdeps/unix/sysv/linux/sched_setaffinity.c + (__kernel_cpumask_size): Remove. + (__sched_setaffinity_new): Remove CPU set size check. + * manual/threads.texi (Default Thread Attributes): Remove stale + reference to check_cpuset_attr, determine_cpumask_size in comment. + * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests): + Remove tst-getcpu. Add tst-affinity, tst-affinity-pid. + [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread, + tst-thread-affinity-pthread2, tst-thread-affinity-sched. + * sysdeps/unix/sysv/linux/tst-affinity.c: New file. + * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file. + * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file. + * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file. + * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file. + * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file. + * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New + skeleton test file. + * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by + tst-affinity-pid. + +2015-11-24 Florian Weimer + + * scripts/update-abilist.sh: New file. + * Makefile (+subdir_targets): Add subdir_update-all-abi. + * Makerules (update-all-abi-%, update-all-abi) + (subdir_update-all-abi): New targets. + * elf/Makefile (update-all-abi): New target. + +2015-11-24 Florian Weimer + + Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code. + * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define. + (__libc_lock_define_initialized): Use it. + * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define. + * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER. + * malloc/malloc.c (main_arena): Likewise. + * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove. + * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove. + +2015-11-23 Joseph Myers + + * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h + (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions. + (PTRACE_O_SUSPEND_SECCOMP): Likewise. + (PTRACE_O_MASK): Update value. + * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL): + New value in enum __ptrace_setoptions. + (PTRACE_O_SUSPEND_SECCOMP): Likewise. + (PTRACE_O_MASK): Update value. + * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h + (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions. + (PTRACE_O_MASK): Update value. + * sysdeps/unix/sysv/linux/s390/sys/ptrace.h + (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions. + (PTRACE_O_MASK): Update value. + * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h + (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions. + (PTRACE_O_MASK): Update value. + * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP): + New value in enum __ptrace_setoptions. + (PTRACE_O_MASK): Update value. + * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL): + New value in enum __ptrace_setoptions. + (PTRACE_O_SUSPEND_SECCOMP): Likewise. + (PTRACE_O_MASK): Update value. + + * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH): + New macro. + (PACKET_AUXDATA): Likewise. + (PACKET_ORIGDEV): Likewise. + (PACKET_VERSION): Likewise. + (PACKET_HDRLEN): Likewise. + (PACKET_RESERVE): Likewise. + (PACKET_TX_RING): Likewise. + (PACKET_LOSS): Likewise. + (PACKET_VNET_HDR): Likewise. + (PACKET_TX_TIMESTAMP): Likewise. + (PACKET_TIMESTAMP): Likewise. + (PACKET_FANOUT): Likewise. + (PACKET_TX_HAS_OFF): Likewise. + (PACKET_QDISC_BYPASS): Likewise. + (PACKET_ROLLOVER_STATS): Likewise. + (PACKET_FANOUT_DATA): Likewise. + (PACKET_MR_UNICAST): Likewise. + + [BZ #19242] + * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale. + (TOUPPER): Likewise. + * stdlib/tst-strtol-locale-main.c: New file. + * stdlib/tst-strtol-locale.c: Likewise. + * stdlib/Makefile (tests): Add tst-strtol-locale. + [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9. + [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out): + Depend on $(gen-locales). + * wcsmbs/tst-wcstol-locale.c: New file. + * wcsmbs/Makefile (tests): Add tst-wcstol-locale. + [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and + tr_TR.ISO-8859-9. + [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out): + Depend on $(gen-locales). + +2015-11-20 Roland McGrath + + * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use + __glibc_likely instead of __builtin_expect. After falling back to + dyncode_create in a non-ET_DYN case, use the allocate_code_data + system interface to register the code pages as occupied. + +2015-11-20 Joseph Myers + + * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to + [!ARM_MATH_PRIVATE_H]. + [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro. + * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to + [!HPPA_MATH_PRIVATE_H]. + [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro. + * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard + to [!I386_MATH_PRIVATE_H]. + [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro. + * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]: + Change guard to [!M68K_MATH_PRIVATE_H]. + [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro. + * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change + guard to [!MICROBLAZE_MATH_PRIVATE_H]. + [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define + macro. + * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to + [!MIPS_MATH_PRIVATE_H]. + [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro. + * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to + [!NIO2_MATH_PRIVATE_H]. + [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro. + * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to + [!TILE_MATH_PRIVATE_H]. + [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro. + + [BZ #15421] + * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam, + initialize with 0 and define as weak alias of __signgam. + * include/math.h [!_ISOMAC] (__signgam): Declare. + * math/Makefile (libm-calls): Add w_lgamma_compat. + (tests): Add test-signgam-uchar, test-signgam-uchar-init, + test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and + test-signgam-ullong-init. + (tests-static): Add test-signgam-uchar-static, + test-signgam-uchar-init-static, test-signgam-uint-static, + test-signgam-uint-init-static, test-signgam-ullong-static and + test-signgam-ullong-init-static. + (CFLAGS-test-signgam-uchar.c): New variable. + (CFLAGS-test-signgam-uchar-init.c): Likewise. + (CFLAGS-test-signgam-uchar-static.c): Likewise. + (CFLAGS-test-signgam-uchar-init-static.c): Likewise. + (CFLAGS-test-signgam-uint.c): Likewise. + (CFLAGS-test-signgam-uint-init.c): Likewise. + (CFLAGS-test-signgam-uint-static.c): Likewise. + (CFLAGS-test-signgam-uint-init-static.c): Likewise. + (CFLAGS-test-signgam-ullong.c): Likewise. + (CFLAGS-test-signgam-ullong-init.c): Likewise. + (CFLAGS-test-signgam-ullong-static.c): Likewise. + (CFLAGS-test-signgam-ullong-init-static.c): Likewise. + * math/Versions (libm): Add GLIBC_2.23. + * math/lgamma-compat.h: New file. + * math/test-signgam-main.c: Likewise. + * math/test-signgam-uchar-init-static.c: Likewise. + * math/test-signgam-uchar-init.c: Likewise. + * math/test-signgam-uchar-static.c: Likewise. + * math/test-signgam-uchar.c: Likewise. + * math/test-signgam-uint-init-static.c: Likewise. + * math/test-signgam-uint-init.c: Likewise. + * math/test-signgam-uint-static.c: Likewise. + * math/test-signgam-uint.c: Likewise. + * math/test-signgam-ullong-init-static.c: Likewise. + * math/test-signgam-ullong-init.c: Likewise. + * math/test-signgam-ullong-static.c: Likewise. + * math/test-signgam-ullong.c: Likewise. + * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by + wrapper of w_lgamma_main.c. + * math/w_lgamma_compat.c: New file. + * math/w_lgamma_compatf.c: Likewise. + * math/w_lgamma_compatl.c: Likewise. + * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include + . Condition contents on [BUILD_LGAMMA]. Support + defining compatibility symbols. + (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA. + * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by + wrapper of w_lgammaf_main.c. + * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include + . Condition contents on [BUILD_LGAMMA]. Support + defining compatibility symbols. + (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA. + * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by + wrapper of w_lgammal_main.c. + * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include + . Condition contents on [BUILD_LGAMMA]. Support + defining compatibility symbols. + (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA. + * sysdeps/ia64/fpu/lgamma-compat.h: New file. + * sysdeps/ia64/fpu/w_lgamma.c: Move to .... + * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include + . + (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA. + (__ieee754_gamma): Define as alias. + * sysdeps/ia64/fpu/w_lgammaf.c: Move to .... + * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include + . + (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA. + (__ieee754_gammaf): Define as alias. + * sysdeps/ia64/fpu/w_lgammal.c: Move to .... + * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include + . + (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA. + (__ieee754_gammal): Define as alias. + * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to .... + * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include + . + [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat): + Define as alias of __lgamma_compat and use in defining lgammal. + * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to .... + * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include + and . + (USE_AS_COMPAT): New macro. + (LGAMMA_OLD_VER): Undefine and redefine. + (lgammal): Do not define here. + (gammal): Only define here if [GAMMA_ALIAS]. + * conform/linknamespace.pl (@whitelist): Remove signgam. + * sysdeps/nacl/libm.abilist: Update. + * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise. + +2015-11-20 Adhemerval Zanella + + [BZ #16364] + * sysdeps/unix/sysv/linux/sleep.c: Remove file. + * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling. + +2015-11-20 Stefan Liebler + + * sysdeps/s390/fpu/bits/mathinline.h: + Use __asm__ [__volatile__] instead of asm [volatile]. + * sysdeps/s390/abort-instr.h: Likewise. + * sysdeps/s390/atomic-machine.h: Likewise. + * sysdeps/s390/bits/string.h: Likewise. + * sysdeps/s390/dl-tls.h: Likewise. + * sysdeps/s390/fpu/e_sqrt.c: Likewise. + * sysdeps/s390/fpu/e_sqrtf.c: Likewise. + * sysdeps/s390/fpu/e_sqrtl.c: Likewise. + * sysdeps/s390/fpu/fesetround.c: Likewise. + * sysdeps/s390/fpu/fpu_control.h: Likewise. + * sysdeps/s390/fpu/s_fma.c: Likewise. + * sysdeps/s390/fpu/s_fmaf.c: Likewise. + * sysdeps/s390/memusage.h: Likewise. + * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise. + * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise. + * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise. + * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise. + * sysdeps/s390/nptl/tls.h: Likewise. + * sysdeps/s390/s390-32/__longjmp.c: Likewise. + * sysdeps/s390/s390-32/backtrace.c: Likewise. + * sysdeps/s390/s390-32/dl-machine.h: Likewise. + * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise. + * sysdeps/s390/s390-32/stackguard-macros.h: Likewise. + * sysdeps/s390/s390-32/tls-macros.h: Likewise. + * sysdeps/s390/s390-64/__longjmp.c: Likewise. + * sysdeps/s390/s390-64/backtrace.c: Likewise. + * sysdeps/s390/s390-64/dl-machine.h: Likewise. + * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise. + * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise. + * sysdeps/s390/s390-64/stackguard-macros.h: Likewise. + * sysdeps/s390/s390-64/tls-macros.h: Likewise. + * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise. + * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise. + * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise. + * sysdeps/unix/sysv/linux/s390/brk.c: Likewise. + * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise. + +2015-11-19 Adhemerval Zanella + Paul E. Murphy + + * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock): + Add lwarx hint, and use macro for acquire instruction. + * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock): + Likewise. + * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ... + * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and + update to use new atomic macros. + +2015-11-19 Paul E. Murphy + + * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c + (__lll_trylock_elision): Fix setting of adapt_count. + * sysdeps/unix/sysv/linux/powerpc/htm.h + (_ABORT_PERSISTENT): Define to clarify persistent aborts. + (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent. + (_ABORT_SYSCALL): Renumber, and clarify definition. + (_ABORT_LOCK_BUSY): Renumber, make non-persistent. + +2015-11-19 Paul E. Murphy + + * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers + after system headers to prevent MIN/MAX redefinition. Define + HAVE_ALLOCA to preserve builtin alloca usage. + +2015-11-17 Siddhesh Poyarekar + + * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function + static and don't set or restore rounding. + (__cos)[IN_SINCOS]: Likewise. + * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c. + (__sincos): Set and restore rounding mode. Remove check for infinite + or NaN input. + + * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses. + + * benchtests/scripts/bench.py (_print_arg_data): Mark output variables + as used. + +2015-11-16 Florian Weimer + + * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine. + +2015-11-14 H.J. Lu + + * config.make.in (have-glob-dat-reloc): New. + * configure.ac (libc_cv_has_glob_dat): New. Set to yes if + target supports GLOB_DAT relocaton. AC_SUBST. + * configure: Regenerated. + * elf/Makefile (tests): Add tst-prelink. + (tests-special): Add $(objpfx)tst-prelink-cmp.out. + (tst-prelink-ENV): New. + ($(objpfx)tst-prelink-conflict.out): Likewise. + ($(objpfx)tst-prelink-cmp.out): Likewise. + * sysdeps/x86/tst-prelink.c: Moved to ... + * elf/tst-prelink.c: Here. + * sysdeps/x86/tst-prelink.exp: Moved to ... + * elf/tst-prelink.exp: Here. + * sysdeps/x86/Makefile (tests): Don't add tst-prelink. + (tst-prelink-ENV): Removed. + ($(objpfx)tst-prelink-conflict.out): Likewise. + ($(objpfx)tst-prelink-cmp.out): Likewise. + (tests-special): Don't add $(objpfx)tst-prelink-cmp.out. + +2015-11-13 Joseph Myers + + [BZ #14551] + * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include . + (__mpn_construct_long_double): If high part overflows to infinity, + set errno and recompute overflowed result of the correct sign. + * sysdeps/ieee754/ldbl-128ibm/Makefile + [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm. + [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on + $(libm). + * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file. + +2015-11-12 Joseph Myers + + [BZ #15479] + [BZ #19238] + * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save + floating-point state after first operation on input. Restore full + state rather than just rounding mode. + * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise. + + [BZ #19235] + * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not + add 0.5 to integer arguments. + * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf): + Likewise. + (.LC2): New object. + +2015-11-11 Mike Frysinger + + * scripts/pylintrc (reports): Set to no. + +2015-11-10 Roland McGrath + + * elf/dl-load.c (open_verify): Take new argument FD. + Skip __open call if passed FD is not -1. + (_dl_map_object, open_path): Update callers. + * elf/dl-sysdep-open.h: New file. + * elf/dl-load.c: Include it. + (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache. + * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function. + * sysdeps/nacl/dl-sysdep-open.h: New file. + * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open + from libc to rtld. + +2015-11-10 Joseph Myers + + [BZ #19228] + * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save + and restore full floating-point state. + * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf): + Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint): + Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf): + Likewise. + * math/test-nearbyint-except-2.c: New file. + * math/Makefile (tests): Add test-nearbyint-except-2. + +2015-11-10 H.J. Lu + + [BZ #19178] + * sysdeps/x86/Makefile (tests): Add tst-prelink. + (tst-prelink-ENV): New. + ($(objpfx)tst-prelink-conflict.out): Likewise. + ($(objpfx)tst-prelink-cmp.out): Likewise. + (tests-special): Add $(objpfx)tst-prelink-cmp.out. + * sysdeps/x86/tst-prelink.c: New file. + * sysdeps/x86/tst-prelink.exp: Likewise. + +2015-11-10 Joseph Myers + + * math/auto-libm-test-in: Add another test of pow. + * math/auto-libm-test-out: Regenerated. + * math/libm-test.inc (pow_test_data): Add another test. + +2015-11-10 Adhemerval Zanella + + [BZ #19219] + * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and + weak_alias to nearbyintl. + +2015-11-10 Wilco Dijkstra + + * sysdeps/aarch64/bits/string.h: New file. + (_STRING_ARCH_unaligned): Define. + +2015-11-10 Wilco Dijkstra + + * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*. + * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise. + * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise. + * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise. + +2015-11-09 Ulrich Drepper + + * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter + for original name of the DSO. Add it to the name list of the DSO + if it is actually given. + (_dl_map_object): Keep track of whether an audit module rewrote + the file name. If yes, pass the original name to + _dl_map_object_from_fd in a new parameter, otherwise NULL. When + debugging is enabled, log the change of the file name. + * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to + _dl_map_object_from_fd. + * elf/Makefile: Build and run tst-audit11 and tst-audit12. + * elf/tst-audit11.c: New file + * elf/tst-auditmod11.c: New file. + * elf/tst-audit11mod1.c: New file. + * elf/tst-audit11mod2.c: New file. + * elf/tst-audit11mod2.map: New file. + * elf/tst-audit12.c: New file + * elf/tst-auditmod12.c: New file. + * elf/tst-audit12mod1.c: New file. + * elf/tst-audit12mod2.c: New file. + * elf/tst-audit12mod2.map: New file. + * elf/tst-audit12mod3.c: New file. + +2015-11-09 Stefan Liebler + + * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp): + Don't create weak aliases, + because versioned symbols are created later. + * sysdeps/s390/s390-32/setjmp.S + (setjmp, _setjmp): Remove weak and rename to an unique name + in SHARED case due to existing versioned symbols. + * sysdeps/s390/s390-64/setjmp.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S + (getcontext): Create weak alias only in non SHARED case. + * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise. + +2015-11-09 Stefan Liebler + + * sysdeps/unix/sysv/linux/s390/kernel-features.h: + (__ASSUME_*_SYSCALL) Define new macros. + * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: + Remove socketcall syscalls. + * sysdeps/unix/sysv/linux/accept.c (__libc_accept): + Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL. + * sysdeps/unix/sysv/linux/recv.c (__libc_recv): + Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL. + * sysdeps/unix/sysv/linux/send.c (__libc_send): + Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL. + +2015-11-09 Florian Weimer + + [BZ #12926] + Terminate process on invalid netlink response. + * sysdeps/unix/sysv/linux/netlinkaccess.h + (__netlink_assert_response): Declare. + * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file. + * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet] + (sysdep_routines): Add netlink_assert_response. + * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call + __netlink_assert_response. + * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise. + * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise. + * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add + __netlink_assert_response. + +2015-11-07 H.J. Lu + + [BZ #19178] + * elf/dl-lookup.c (RTYPE_CLASS_VALID): New. + (RTYPE_CLASS_PLT): Likewise. + (RTYPE_CLASS_COPY): Likewise. + (RTYPE_CLASS_TLS): Likewise. + (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID + to set relocation type class for DL_DEBUG_PRELINK. Keep only + ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for + DL_DEBUG_PRELINK. + +2015-11-06 Joseph Myers + + * math/test-signgam-finite.c (RUN_TESTS): Correct messages about + calls with argument -0.5. + * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise. + + * configure.ac (libc_cv_z_nodelete): Remove configure test. + (libc_cv_z_nodlopen): Likewise. + (libc_cv_z_initfirst): Likewise. + * configure: Regenerated. + +2015-11-06 Florian Weimer + + Simplify abilist format to be line-based. + * scripts/abilist.awk: Collect descriptors in the descs variable. + (emit): Write descs variable and sort it + externally, with sort. + * sysdeps/**/*.abilist: Convert to new format. + +2015-11-06 Mark Wielaard + + [BZ #11460] + * io/Makefile (routines): Add fts64. + (tests): Add tst-fts and tst-fts-lfs. + (CFLAGS-fts64.c): New. + * io/Versions (GLIBC_2.23): New. + * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use + function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and + FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE, + FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary. + * io/fts.h (FTS64): New if _USE_LARGEFILE64. + (FTSENT64): Likewise. + (fts64_children): Likewise. + (fts64_close): Likewise. + (fts64_open): Likewise. + (fts64_read): Likewise. + (fts64_set): Likewise. + * io/fts64.c: New file. + * io/tst-fts.c: New test. + * io/tst-fts-lfs.c: Likewise. + * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add + GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and + fts64_set. + * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise. + * sysdeps/wordsize-64/fts.c: New file. + * sysdeps/wordsize-64/fts64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise. + +2015-11-05 Joseph Myers + + * math/libm-test.inc (NON_FINITE): New macro. + (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE. + * math/gen-libm-test.pl (show_exceptions): Add argument + $non_finite. + (parse_args): Update call to show_exceptions. + * math/test-math-finite.h: New file. + * math/test-math-no-finite.h: Likewise. + * math/test-double-finite.c: Likewise. + * math/test-float-finite.c: Likewise. + * math/test-ldouble-finite.c: Likewise. + * math/test-double.c: Include "test-math-no-finite.h". + * math/test-float.c: Include "test-math-no-finite.h". + * math/test-ldouble.c: Include "test-math-no-finite.h". + * math/test-math-inline.h (TEST_FINITE): New macro. + * math/test-math-vector.h (TEST_FINITE): Likewise. + * math/Makefile (test-longdouble-yes): Add test-ldouble-finite. + (libm-tests): Add test-float-finite and test-double-finite. + ($(objpfx)test-float-finite.o): New dependency on + $(objpfx)libm-test.stmp. + ($(objpfx)test-double-finite.o): Likewise. + ($(objpfx)test-ldouble-finite.o): Likewise. + (libm-test-no-inline-cflags): New variable. + (libm-test-finite-cflags): Likewise. + (CFLAGS-test-float-finite.c): Likewise. + (CFLAGS-test-double-finite.c): Likewise. + (CFLAGS-test-ldouble-finite.c): Likewise. + (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags). + (CFLAGS-test-double.c): Likewise. + (CFLAGS-test-ldouble.c): Likewise. + +2015-11-05 Roland McGrath + + * io/fcntl.c (__fcntl): Add ... to prototype. + * misc/ioctl.c (__ioctl): Likewise. + * misc/syscall.c (syscall): Likewise. + +2015-11-05 Joseph Myers + + * scripts/list-fixed-bugs.py: New file. + + [BZ #19213] + * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always + returned for argument 1. + * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise. + * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise. + * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise. + * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise. + * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise. + * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise. + + [BZ #19211] + * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC || + __USE_XOPEN], not if [!__USE_ISOC99]. + (lgammaf): Likewise. + (lgammal): Likewise. + (gamma): Set signgam unconditionally, not if [!__USE_ISOC99]. + (gammaf): Likewise. + (gammal): Likewise. + * math/test-signgam-finite-c11.c: New file. + * math/test-signgam-finite-c99.c: Likewise. + * math/test-signgam-finite.c: Likewise. + * math/Makefile (tests): Add test-signgam-finite, + test-signgam-finite-c99 and test-signgam-finite-c11. + (CFLAGS-test-signgam-finite.c): New variable. + (CFLAGS-test-signgam-finite-c99.c): Likewise. + (CFLAGS-test-signgam-finite-c11.c): Likewise. + + [BZ #19212] + * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change + conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >= + 500]. + [_POSIX_C_SOURCE >= 1]: Change conditional to [defined + _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1]. + [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined + _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L]. + [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined + _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L]. + [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined + _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L]. + [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined + _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L]. + + [BZ #19209] + * math/bits/math-finite.h (ldexp): Remove declaration. + (ldexpf): Likewise. + (ldexpl): Likewise. + + [BZ #19205] + * math/bits/math-finite.h (acosf): Condition declaration on + [__USE_ISOC99]. + (acosl): Likewise. + (acoshf): Likewise. + (acoshl): Likewise. + (asinf): Likewise. + (asinl): Likewise. + (atan2f): Likewise. + (atan2l): Likewise. + (atanhf): Likewise. + (atanhl): Likewise. + (coshf): Likewise. + (coshl): Likewise. + (expf): Likewise. + (expl): Likewise. + (fmodf): Likewise. + (fmodl): Likewise. + (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99]. + (j0f): Change condition to [__USE_MISC && __USE_ISOC99]. + (j0l): Likewise. + (y0f): Likewise. + (y0l): Likewise. + (j1f): Likewise. + (j1l): Likewise. + (y1f): Likewise. + (y1l): Likewise. + (jnf): Likewise. + (jnl): Likewise. + (ynf): Likewise. + (ynl): Likewise. + (lgammaf_r): Condition declaration on [__USE_ISOC99]. + (lgammal_r): Likewise. + (__lgamma_r_finite): New declaration. + (__lgammaf_r_finite): Likewise. + (__lgammal_r_finite): Likewise. + (lgamma): Use __lgamma_r_finite. + (lgammaf): Condition definition on [__USE_ISOC99]. Use + __lgammaf_r_finite. + (lgammal): Condition definition on [__USE_ISOC99]. Use + __lgammal_r_finite. + (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use + __lgamma_r_finite. + (gammaf): Condition definition on [__USE_ISOC99]. Use + __lgammaf_r_finite. + (gammal): Condition definition on [__USE_ISOC99]. Use + __lgammal_r_finite. + (logf): Condition declaration on [__USE_ISOC99]. + (logl): Likewise. + (log10f): Likewise. + (log10l): Likewise. + (ldexpf): Likewise. + (ldexpl): Likewise. + (powf): Likewise. + (powl): Likewise. + (remainder): Condition declaration on [__USE_XOPEN_EXTENDED || + __USE_ISOC99]. + (remainderf): Condition declaration on [__USE_ISOC99]. + (remainderl): Likewise. + (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8]. + (scalbf): Change condition to [__USE_MISC && __USE_ISOC99]. + (scalbl): Likewise. + (sinhf): Condition declaration on [__USE_ISOC99]. + (sinhl): Likewise. + (sqrtf): Likewise. + (sqrtl): Likewise. + +2015-11-04 Joseph Myers + + * sysdeps/arm/atomic-machine.h + [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]: + Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]. + [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]: + Remove conditional code. + [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]: + Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]. + * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: + Change conditional to [__ASSEMBLER__]. + [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code. + [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to + [!__ASSEMBLER__]. + [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional + code. + * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove + conditional macro definitions. + (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP. + (__arch_compare_and_exchange_val_16_acq): Likewise. + (__arch_compare_and_exchange_val_32_acq): Likewise. + (atomic_exchange_and_add): Likewise. + (atomic_add): Likewise. + (atomic_add_negative): Likewise. + (atomic_add_zero): Likewise. + (atomic_bit_set): Likewise. + (atomic_bit_test_set): Likewise. + * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make + code unconditional. + [!__GNUC_PREREQ (4, 7)]: Remove conditional code. + + * math/test-math-errno.h: New file. + * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of + empty. + (TEST_ERRNO): New macro. + (TEST_EXCEPTIONS): Likewise. + * math/test-math-no-inline.h (TEST_INLINE): Likewise. + (TEST_EXCEPTIONS): Likewise. + * math/test-math-vector.h (TEST_ERRNO): Likewise. + * math/test-double.c: Include "test-math-errno.h". + * math/test-float.c: Likewise. + * math/test-ldouble.c: Likewise. + * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make + code unconditional. + (test_exceptions): Only run code if TEST_EXCEPTIONS. + (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code + unconditional. + (test_errno): Only run code if TEST_ERRNO. + (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef. + +2015-11-04 Florian Weimer + + * nptl/tst-once5.cc: Remove attribution. + +2015-11-04 Joseph Myers + + * math/auto-libm-test-in: Add more tests of sin, sincos, sinh, + sqrt, tan, tanh, y0, y1 and yn. + * math/auto-libm-test-out: Regenerated. + * math/libm-test.inc (scalb_test_data): Add more tests. + (scalbn_test_data): Likewise. + (scalbln_test_data): Likewise. + (signbit_test_data): Likewise. + (sin_test_data): Likewise. + (sincos_test_data): Likewise. + (sinh_test_data): Likewise. + (sqrt_test_data): Likewise. + (tan_test_data): Likewise. + (tanh_test_data): Likewise. + (tgamma_test_data): Likewise. + (y0_test_data): Likewise. + (y1_test_data): Likewise. + (yn_test_data): Likewise. + (significand_test_data): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Update. + +2015-11-03 David Kastrup + + [BZ #18604] + * assert/assert.h (assert): Don't macro-expand failed assertion + expression in error message. + * malloc/malloc.c (assert): Likewise. + +2015-11-03 Joseph Myers + + * configure.ac (libc_cv_ld_no_whole_archive): Remove configure + test. + * configure: Regenerated. + +2015-11-02 Joseph Myers + + * math/libm-test.inc (modf_test_data): Add more tests. + (nearbyint_test_data): Likewise. + (nextafter_test_data): Likewise. + (nexttoward_test_data): Likewise. + (pow_test_data): Likewise. + (remainder_test_data): Likewise. + (remquo_test_data): Likewise. + (rint_test_data): Likewise. + + [BZ #19201] + * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): + Check for zero remainder in case of large exponents and ensure + correct sign of result in that case. + * math/libm-test.inc (remainder_test_data): Add more tests. + + [BZ #6799] + * math/s_nextafter.c: Include . + (__nextafter): Set errno on overflow and underflow. + * math/s_nexttowardf.c: Include . + (__nexttowardf): Set errno on overflow and underflow. + * sysdeps/i386/fpu/s_nextafterl.c: Include . + (__nextafterl): Set errno on overflow and underflow. + * sysdeps/i386/fpu/s_nexttoward.c: Include . + (__nexttoward): Set errno on overflow and underflow. + * sysdeps/i386/fpu/s_nexttowardf.c: Include . + (__nexttowardf): Set errno on overflow and underflow. + * sysdeps/ieee754/flt-32/s_nextafterf.c: Include . + (__nextafterf): Set errno on overflow and underflow. + * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include . + (__nextafterl): Set errno on overflow and underflow. + * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include . + (__nexttoward): Set errno on overflow and underflow. + * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include . + (__nexttowardf): Set errno on overflow and underflow. + * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include . + (__nextafterl): Set errno on overflow and underflow. + * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include . + (__nexttoward): Set errno on overflow and underflow. + * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include . + (__nexttowardf): Set errno on overflow and underflow. + * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include . + (__nexttoward): Set errno on overflow and underflow. + * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include . + (__nexttowardf): Set errno on overflow and underflow. + * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include . + (__nldbl_nexttowardf): Set errno on overflow and underflow. + * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include . + (__nextafterl): Set errno on overflow and underflow. + * math/libm-test.inc (nextafter_test_data): Do not allow errno + setting to be missing on overflow. Add more tests. + (nexttoward_test_data): Likewise. + + * configure.ac (libc_cv_initfini_array): Remove configure test. + * configure: Regenerated. + +2015-10-29 Joseph Myers + + [BZ #19189] + * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for + non-finite argument handle arguments with negative sign. + + * math/libm-test.inc (j0_test_data): Do not test sign of zero + result from infinite argument. + (j1_test_data): Likewise. + (jn_test_data): Likewise. + (y0_test_data): Likewise. + (y1_test_data): Likewise. + (yn_test_data): Likewise. + + [BZ #16171] + * math/w_remainder.c (drem): Define as weak alias of __remainder. + [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder. + * math/w_remainderf.c (dremf): Define as weak alias of + __remainderf. + * math/w_remainderl.c (dreml): Define as weak alias of + __remainderl. + * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of + __remainder. + * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of + __remainderf. + * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of + __remainderl. + * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as + weak alias of remainderl. + * sysdeps/ieee754/ldbl-opt/w_remainder.c + [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong + alias of __remainder. + [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol. + * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as + strong alias of __remainderl. + (dreml): Use long_double_symbol. + * math/Makefile (libm-calls): Remove w_drem. + * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem. + (CFLAGS-nldbl-drem.c): Remove variable. + (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml. + * math/w_drem.c: Remove file. + * math/w_dremf.c: Likewise. + * math/w_dreml.c: Likewise. + * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise. + + * sysdeps/i386/configure.ac (cpuid.h): Do not test for header. + * sysdeps/i386/configure: Regenerated. + * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header. + * sysdeps/x86_64/configure: Regenerated. + + * configure.ac (libc_cv_asm_protected_directive): Remove configure + test. + (libc_cv_visibility_attribute): Likewise. + (libc_cv_protected_data): Test unconditionally. + (libc_cv_broken_visibility_attribute): Remove configure test. + (libc_cv_have_sdata_section): Test unconditionally. + * configure: Regenerated. + + * include/libc-internal.h (libc_max_align_t): Remove typedef. + * include/scratch_buffer.h: Include instead of + . + (struct scratch_buffer): Use max_align_t instead of + libc_max_align_t. + +2015-10-29 Florian Weimer + + * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array + instead of extend_alloca. Change control flow to avoid a goto. + Remove assert which is trivially always true. + +2015-10-28 Joseph Myers + + [BZ #16068] + * sysdeps/i386/fpu/fesetenv.c: Include . + (FE_ALL_EXCEPT_X86): New macro. + (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of + FE_ALL_EXCEPT. Ensure precision control is included in + floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV + handle "denormal operand exception" and clear FZ and DAZ bits. + * sysdeps/x86_64/fpu/fesetenv.c: Include . + (FE_ALL_EXCEPT_X86): New macro. + (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of + FE_ALL_EXCEPT. Ensure precision control is included in + floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV + handle "denormal operand exception" and clear FZ and DAZ bits. + * sysdeps/x86/fpu/test-fenv-sse-2.c: New file. + * sysdeps/x86/fpu/test-fenv-x87.c: Likewise. + * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add + test-fenv-x87 and test-fenv-sse-2. + [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable. + + * math/libm-test.inc (BUILD_COMPLEX): Remove macro. + * math/test-double.h (BUILD_COMPLEX): New macro. + * math/test-float.h (BUILD_COMPLEX): Likewise. + * math/test-ldouble.h (BUILD_COMPLEX): Likewise. + + * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN, + DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__, + __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__. + * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN + instead of DBL_DENORM_MIN in comment. + * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to + LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment. + * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include . + (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__. + * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to + LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment. + +2015-10-28 Florian Weimer + + [BZ #19048] + * malloc/malloc.c (struct malloc_state): Update comment. Add + attached_threads member. + (main_arena): Initialize attached_threads. + * malloc/arena.c (list_lock): Update comment. + (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise. + (ptmalloc_unlock_all2): Reinitialize arena reference counts. + (deattach_arena): New function. + (_int_new_arena): Initialize arena reference count and deattach + replaced arena. + (get_free_list, reused_arena): Update reference count and deattach + replaced arena. + (arena_thread_freeres): Update arena reference count and only put + unreferenced arenas on the free list. + +2015-10-28 Joseph Myers + + [BZ #19181] + * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised + SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV. + * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise. + * math/test-fenv-clear-main.c: New file. + * math/test-fenv-clear.c: Likewise. + * math/Makefile (tests): Add test-fenv-clear. + * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file. + * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add + test-fenv-clear-sse. + [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable. + + * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG, + DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__, + __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__. + +2015-10-28 Carlos Eduardo Seo + + * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in + static libc. + +2015-10-28 Joseph Myers + + * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure + test. + * sysdeps/i386/configure: Regenerated. + * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure + test. + * sysdeps/x86_64/configure: Regenerated. + * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef. + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add + memset-avx2 unconditionally instead of conditionally on + [$(config-cflags-avx2) = yes]. + * sysdeps/x86_64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code + unconditional. + * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise. + * sysdeps/x86_64/multiarch/memset_chk.S + [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional + to [IS_IN (libc) && SHARED]. + +2015-10-27 Joseph Myers + + * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove + configure test. + * sysdeps/arm/configure: Regenerated. + * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc): + Define variable if not already defined. + + [BZ #17404] + * sysdeps/mips/atomic-machine.h + [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]: + Change conditional to [__GNUC_PREREQ (4, 8) || __mips16]. + [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code. + + * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code + unconditional. + * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise. + [!__GNUC_PREREQ (4, 7)]: Remove conditional code. + * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code + unconditional. + [!__GNUC_PREREQ (4, 7)]: Remove conditional code. + * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code + unconditional. + [!__GNUC_PREREQ (4, 7)]: Remove conditional code. + * stdlib/setenv.c + [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make + code unconditional. + [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]: + Remove conditional code. + * sysdeps/ieee754/dbl-64/e_lgamma_r.c + (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code + unconditional. + (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional + code. + * sysdeps/ieee754/flt-32/e_lgammaf_r.c + (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code + unconditional. + (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional + code. + * sysdeps/ieee754/ldbl-128/k_tanl.c + (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional. + (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code. + * sysdeps/ieee754/ldbl-128ibm/k_tanl.c + (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional. + (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code. + * sysdeps/ieee754/ldbl-96/e_lgammal_r.c + (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code + unconditional. + (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional + code. + * sysdeps/ieee754/ldbl-96/k_tanl.c + (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional. + (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code. + + * nptl/tst-initializers1-c11.c: New file. + * nptl/tst-initializers1-gnu11.c: Likewise. + * nptl/Makefile (tests): Add these new tests. + (CFLAGS-tst-initializers1-c11.c): New variable. + (CFLAGS-tst-initializers1-gnu11.c): Likewise. + + * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99. + * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11 + instead of -std=gnu99. + * configure.ac (systemtap): Test with -std=gnu11 instead of + -std=gnu99. + * configure: Regenerated. + * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99 + in compilation command in comment. + + * sysdeps/nptl/configure.ac: Remove file. + * sysdeps/nptl/configure: Remove generated file. + * configure.ac (libc_cv_forced_unwind): Do not substitute. + * configure: Regenerated. + * config.h.in (HAVE_FORCED_UNWIND): Remove #undef. + * config.make.in (have-forced-unwind): Remove variable. + * nptl/Makefile [$(have-forced-unwind) = yes]: Make code + unconditional. + * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise. + * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise. + (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code. + * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional. + * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code + unconditional. + +2015-10-27 Paul E. Murphy + + [BZ #19174] + * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of + .skip_lock_out_of_tbegin_retries. + * sysdeps/unix/sysv/linux/powerpc/elision-lock.c + (__lll_lock_elision): Likewise, and respect a value of + try_tbegin <= 0. + +2015-10-27 Carlos Eduardo Seo + + * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case + statement. + +2015-10-27 Joseph Myers + + * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove + variable. + (test-xfail-ISO11/stdalign.h/conform): Likewise. + (test-xfail-ISO11/stdnoreturn.h/conform): Likewise. + + * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead + of -std=c1x -D_ISOC11_SOURCE. + + * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later. + * configure: Regenerated. + * manual/install.texi (Tools for Compilation): Document + requirement for GCC 4.7 or later. + * INSTALL: Regenerated. + +2015-10-27 Ludovic CourtĂšs + + * locale/loadlocale.c (_nl_intern_locale_data): Change assertion + on CNT to a conditional jump to 'puntdata'. + +2015-10-27 Joseph Myers + + * configure.ac (libc_cv_gcc___thread): Remove configure test. + (libc_cv_gcc_tls_model_attr): Likewise. + * configure: Regenerated. + + * configure.ac (libc_cv_need_minus_P): Remove configure test. + * configure: Regenerated. + * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment. + +2015-10-26 Joseph Myers + + * configure.ac (old_glibc_headers): Remove configure test. + * configure: Regenerated. + * config.make.in (old-glibc-headers): Remove variable. + * Makefile [!$(install_root) && $(old-glibc-headers) = yes] + (install): Remove dependency on remove-old-headers. + (headers2_0): Remove variable. + (remove-old-headers): Remove rule. + + * configure.ac (libc_cv_dot_text): Remove configure test. + (libc_cv_asm_set_directive): Use .text instead of + ${libc_cv_dot_text} in configure test. + * configure: Regenerated. + +2015-10-26 Florian Weimer + + [BZ #19168] + * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated. + +2015-10-26 Florian Weimer + + * configure.ac (CXX): Clear the variable if the C++ toolchain does + not support static linking. + * configure: Regenerate. + +2015-10-23 Joseph Myers + + * math/libm-test.inc (check_float_internal): Do not special-case + errors up to 0.5 ulp. + + * math/auto-libm-test-in: Add more tests of log, log10, log1p and + log2. + * math/auto-libm-test-out: Regenerated. + * math/libm-test.inc (MAX_EXP): New macro. + (ilogb_test_data): Add more tests. + (isfinite_test_data): Likewise. + (isgreater_test_data): Likewise. + (isgreaterequal_test_data): Likewise. + (isinf_test_data): Likewise. + (isless_test_data): Likewise. + (islessequal_test_data): Likewise. + (islessgreater_test_data): Likewise. + (isnan_test_data): Likewise. + (isnormal_test_data): Likewise. + (issignaling_test_data): Likewise. + (isunordered_test_data): Likewise. + (j0_test_data): Likewise. + (j1_test_data): Likewise. + (jn_test_data): Likewise. + (lgamma_test_data): Likewise. + (log_test_data): Likewise. + (log10_test_data): Likewise. + (log1p_test_data): Likewise. + (log2_test_data): Likewise. + (logb_test_data): Likewise. + * sysdeps/x86_64/fpu/libm-test-ulps: Update. + + [BZ #18611] + * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and + avoid excess range and precision on underflow. + * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise. + * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise. + * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise. + * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on + underflow. + * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise. + * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise. + * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise. + * math/auto-libm-test-in: Do not allow missing errno setting for + tests of j1 and jn. + * math/auto-libm-test-out: Regenerated. + +2015-10-22 Joseph Myers + + [BZ #15491] + * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore + floating-point environment instead of clearing all exceptions. + * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise. + * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise, + merging in "invalid" exceptions from frndint. + * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise. + * math/test-nearbyint-except.c: New file. + * math/Makefile (tests): Add test-nearbyint-except. + +2015-10-22 Chris Metcalf + + * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0. + + * sysdeps/tile/libm-test-ulps: Regenerated. + +2015-10-22 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c + (__NR_sync_file_range2): Assume it is always defined. + * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c + (__NR_sync_file_range): Assume it is always defined. + +2015-10-22 Andreas Schwab + + * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use + INTERNAL_SYSCALL_ERRNO. + * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise. + * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise. + * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise. + * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): + Likewise. + * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise. + +2015-10-21 Joseph Myers + + * io/tst-fcntl.c (fd): New static variable. + (do_prepare): Open temporary file here.... + (do_test): ...not here. + + * io/ftwtest-sh: Also trap on exit to remove temporary files. + +2015-10-21 H.J. Lu + + * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace + __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5. + * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5): + Moved before "#ifdef __ASSEMBLER__". + +2015-10-21 Joseph Myers + + [BZ #19156] + * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for + arguments very close to 0. + +2015-10-21 Chris Metcalf + + * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END) + (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining. + +2015-10-21 H.J. Lu + + * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5): + New. Defined for GCC 5 and above when not compiling for + profiling. + Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5. + + * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c): + Renamed to ... + (CFLAGS-epoll_pwait.o): This. + (CFLAGS-mmap.c): Renamed to ... + (CFLAGS-mmap.o): This. + (CFLAGS-mmap64.c): Renamed to ... + (CFLAGS-mmap64.o): This. + (CFLAGS-epoll_pwait.os): New. + (CFLAGS-mmap.os): Likewise. + (CFLAGS-mmap64.os): Likewise. + (CFLAGS-semtimedop.os): Likewise. + (CFLAGS-semtimedop.c): Renamed to ... + (CFLAGS-semtimedop.o): This. + +2015-10-21 Tulio Magno Quites Machado Filho + + * debug/tst-backtrace4.c (handle_signal): Fix a comment and + warning message. + +2015-10-21 Joseph Myers + + * Makeconfig (+gccwarn-c): Add -Wold-style-definition. + * Makefile ($(objpfx)c++-types-check.out): Filter out + $(+gccwarn-c) instead of -Wstrict-prototypes. + + * io/fts.c (fts_open): Convert to prototype-style function + definition. + * malloc/mcheck.c (mcheck): Likewise. + (mcheck_pedantic): Likewise. + * posix/regexec.c (re_search_2_stub): Likewise. Use + internal_function. + (re_search_internal): Likewise. + * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to + prototype-style function definition. + * sunrpc/clnt_udp.c (clntudp_call): Likewise. + * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise. + * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise. + (xdr_utmpptr): Likewise. + (xdr_utmparr): Likewise. + (xdr_utmpidle): Likewise. + (xdr_utmpidleptr): Likewise. + (xdr_utmpidlearr): Likewise. + + * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn, + log, log10 and log2. + * math/auto-libm-test-out: Regenerated. + * math/libm-test.inc (fmod_test_data): Add more tests. + (fpclassify_test_data): Likewise. + (frexp_test_data): Likewise. + (hypot_test_data): Likewise. + (ilogb_test_data): Likewise. + +2015-10-20 Joseph Myers + + * debug/fortify_fail.c (__fortify_fail): Convert to + prototype-style function definition. Use internal_function. + * libio/genops.c (save_for_backup): Convert to prototype-style + function definition. + * libio/wgenops.c (save_for_wbackup): Likewise. + * login/grantpt.c (grantpt): Likewise. + * login/ptsname.c (ptsname): Likewise. + (__ptsname_r): Likewise. + * login/unlockpt.c (unlockpt): Likewise. + * mach/msgserver.c (__mach_msg_server): Likewise. + * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise. + (__APPEND (FUNC_PREFIX, ecvt)): Likewise. + (__APPEND (FUNC_PREFIX, gcvt)): Likewise. + * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise. + (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise. + * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise. + * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer): + Likewise. + * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use + internal_function. + * nptl/pthread_atfork.c (__pthread_atfork): Convert to + prototype-style function definition. + * nptl/pthread_create.c (__pthread_create_2_1): Likewise. + [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)] + (__pthread_create_2_0): Likewise. + * nptl/pthread_key_create.c (__pthread_key_create): Likewise. + * nptl/register-atfork.c (__register_atfork): Likewise. + * posix/glob.c (glob): Likewise. + * posix/regcomp.c (re_comp): Likewise. + * posix/regexec.c (re_exec): Likewise. + * stdlib/add_n.c [__STDC__]: Make code unconditional. + [!__STDC__]: Remove conditional code. + * stdlib/cmp.c [__STDC__]: Make code unconditional. + [!__STDC__]: Remove conditional code. + * stdlib/divmod_1.c [__STDC__]: Make code unconditional. + [!__STDC__]: Remove conditional code. + * stdlib/divrem.c [__STDC__]: Make code unconditional. + [!__STDC__]: Remove conditional code. + * stdlib/lshift.c [__STDC__]: Make code unconditional. + [!__STDC__]: Remove conditional code. + * stdlib/mod_1.c [__STDC__]: Make code unconditional. + [!__STDC__]: Remove conditional code. + * stdlib/mul.c [__STDC__]: Make code unconditional. + [!__STDC__]: Remove conditional code. + * stdlib/mul_n.c [__STDC__]: Make code unconditional. + [!__STDC__]: Remove conditional code. + * stdlib/rshift.c [__STDC__]: Make code unconditional. + [!__STDC__]: Remove conditional code. + * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style + function definition. + (STRTOF): Likewise. + * stdlib/strtod_l.c (__STRTOF): Likewise. + * stdlib/strtol.c (INTERNAL (strtol)): Likewise. + * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise. + (__strtol_l): Likewise. + * stdlib/sub_n.c [__STDC__]: Make code unconditional. + [!__STDC__]: Remove conditional code. + * string/memrchr.c (MEMRCHR): Convert to prototype-style function + definition. + * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro. + [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument + type. + (__strcasecmp): Convert to prototype-style function definition. + * string/strncase.c (LOCALE_PARAM_DECL): Remove macro. + [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument + type. + (__strncasecmp): Convert to prototype-style function definition. + * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise. + * sunrpc/xdr.c (xdr_union): Likewise. + * sunrpc/xdr_array.c (xdr_array): Likewise. + * sunrpc/xdr_ref.c (xdr_reference): Likewise. + * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise. + * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)): + Likewise. + * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix): + Likewise. + * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise. + * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): + Likewise. + * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro. + (LOCALE_PARAM_PROTO): Likewise. + [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include + argument type. + (ut_argument_spec): Remove macro. + (ut_argument_spec_iso): Rename to ut_argument_spec. + (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to + prototype-style function definition. + (memcpy_uppcase): Likewise. + (__strftime_internal): Likewise. + (my_strftime): Likewise. + * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro. + (LOCALE_PARAM_DECL): Likewise. + [_LIBC] (LOCALE_PARAM): Include argument type. + (__strptime_internal): Convert to prototype-style function + definition. + (strptime): Likewise. + * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro. + [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument + type. + (__wcscasecmp): Convert to prototype-style function definition. + * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro. + [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument + type. + (__wcsncasecmp): Convert to prototype-style function definition. + + * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style + function definition. + * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise. + * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise. + * debug/backtracesyms.c (__backtrace_symbols): Likewise. + * elf/dl-minimal.c (_itoa): Likewise. + * hurd/hurdmalloc.c (malloc): Likewise. + (free): Likewise. + (realloc): Likewise. + * inet/inet6_option.c (inet6_option_space): Likewise. + (inet6_option_init): Likewise. + (inet6_option_append): Likewise. + (inet6_option_alloc): Likewise. + (inet6_option_next): Likewise. + (inet6_option_find): Likewise. + * io/ftw.c (FTW_NAME): Likewise. + (NFTW_NAME): Likewise. + (NFTW_NEW_NAME): Likewise. + (NFTW_OLD_NAME): Likewise. + * libio/iofwide.c (_IO_fwide): Likewise. + * libio/strops.c (_IO_str_init_static_internal): Likewise. + (_IO_str_init_static): Likewise. + (_IO_str_init_readonly): Likewise. + (_IO_str_overflow): Likewise. + (_IO_str_underflow): Likewise. + (_IO_str_count): Likewise. + (_IO_str_seekoff): Likewise. + (_IO_str_pbackfail): Likewise. + (_IO_str_finish): Likewise. + * libio/wstrops.c (_IO_wstr_init_static): Likewise. + (_IO_wstr_overflow): Likewise. + (_IO_wstr_underflow): Likewise. + (_IO_wstr_count): Likewise. + (_IO_wstr_seekoff): Likewise. + (_IO_wstr_pbackfail): Likewise. + (_IO_wstr_finish): Likewise. + * locale/programs/localedef.c (normalize_codeset): Likewise. + * locale/programs/locarchive.c (add_locale_to_archive): Likewise. + (add_locales_to_archive): Likewise. + (delete_locales_from_archive): Likewise. + * malloc/malloc.c (__libc_mallinfo): Likewise. + * math/gen-auto-libm-tests.c (init_fp_formats): Likewise. + * misc/tsearch.c (__tfind): Likewise. + * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise. + * nptl/pthread_attr_getdetachstate.c + (__pthread_attr_getdetachstate): Likewise. + * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize): + Likewise. + * nptl/pthread_attr_getinheritsched.c + (__pthread_attr_getinheritsched): Likewise. + * nptl/pthread_attr_getschedparam.c + (__pthread_attr_getschedparam): Likewise. + * nptl/pthread_attr_getschedpolicy.c + (__pthread_attr_getschedpolicy): Likewise. + * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): + Likewise. + * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): + Likewise. + * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr): + Likewise. + * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize): + Likewise. + * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise. + (__pthread_attr_init_2_0): Likewise. + * nptl/pthread_attr_setdetachstate.c + (__pthread_attr_setdetachstate): Likewise. + * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize): + Likewise. + * nptl/pthread_attr_setinheritsched.c + (__pthread_attr_setinheritsched): Likewise. + * nptl/pthread_attr_setschedparam.c + (__pthread_attr_setschedparam): Likewise. + * nptl/pthread_attr_setschedpolicy.c + (__pthread_attr_setschedpolicy): Likewise. + * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): + Likewise. + * nptl/pthread_attr_setstack.c (__pthread_attr_setstack): + Likewise. + * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr): + Likewise. + * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize): + Likewise. + * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock): + Likewise. + * nptl/pthread_create.c (__find_in_stack_list): Likewise. + * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise. + * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to + use internal_function. + * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to + prototype-style function definition. + * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise. + (__pthread_mutex_cond_lock_adjust): Likewise. Use + internal_function. + * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): + Convert to prototype-style function definition. + * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): + Likewise. + * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt): + Likewise. + (__pthread_mutex_unlock): Likewise. + * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise. + * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise. + * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise. + * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise. + * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise. + * nss/makedb.c (process_input): Likewise. + * posix/fnmatch.c (__strchrnul): Likewise. + (__wcschrnul): Likewise. + (fnmatch): Likewise. + * posix/fnmatch_loop.c (FCT): Likewise. + * posix/glob.c (globfree): Likewise. + (__glob_pattern_type): Likewise. + (__glob_pattern_p): Likewise. + * posix/regcomp.c (re_compile_pattern): Likewise. + (re_set_syntax): Likewise. + (re_compile_fastmap): Likewise. + (regcomp): Likewise. + (regerror): Likewise. + (regfree): Likewise. + * posix/regexec.c (regexec): Likewise. + (re_match): Likewise. + (re_search): Likewise. + (re_match_2): Likewise. + (re_search_2): Likewise. + (re_search_stub): Likewise. Use internal_function + (re_copy_regs): Likewise. + (re_set_registers): Convert to prototype-style function + definition. + (prune_impossible_nodes): Likewise. Use internal_function. + * resolv/inet_net_pton.c (inet_net_pton): Convert to + prototype-style function definition. + (inet_net_pton_ipv4): Likewise. + * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise. + * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise. + * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise. + * sysdeps/pthread/timer_delete.c (timer_delete): Likewise. + * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise. + Make variadic. + * time/strptime_l.c (localtime_r): Convert to prototype-style + function definition. + * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise. + * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise. + * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise. + * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise. + + * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function + definition. + (_ufc_doit_r): Likewise. + * crypt/crypt_util.c (_ufc_copymem): Likewise. + (_ufc_output_conversion_r): Likewise. + * inet/inet_mkadr.c (__inet_makeaddr): Likewise. + * inet/rcmd.c (rcmd_af): Likewise. + (rcmd): Likewise. + (ruserok_af): Likewise. + (ruserok): Likewise. + (ruserok2_sa): Likewise. + (ruserok_sa): Likewise. + (iruserok_af): Likewise. + (iruserok): Likewise. + (__ivaliduser): Likewise. + (__validuser2_sa): Likewise. + * inet/rexec.c (rexec_af): Likewise. + (rexec): Likewise. + * inet/ruserpass.c (ruserpass): Likewise. + * locale/programs/xmalloc.c (xcalloc): Likewise. + * manual/examples/timeval_subtract.c (timeval_subtract): Likewise. + * math/w_drem.c (__drem): Likewise. + * math/w_dremf.c (__dremf): Likewise. + * math/w_dreml.c (__dreml): Likewise. + * misc/daemon.c (daemon): Likewise. + * resolv/res_debug.c (p_fqnname): Likewise. + * stdlib/div.c (div): Likewise. + * string/memcmp.c (memcmp_bytes): Likewise. + * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise. + * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise. + + * crypt/cert.c (main): Convert to prototype-style function + definition. + * io/pipe.c (__pipe): Likewise. + * io/pipe2.c (__pipe2): Likewise. + * misc/futimesat.c (futimesat): Likewise. + * misc/utimes.c (__utimes): Likewise. + * posix/execve.c (__execve): Likewise. + * posix/execvp.c (execvp): Likewise. + * posix/execvpe.c (__execvpe): Likewise. + * posix/fexecve.c (fexecve): Likewise. + * socket/socketpair.c (socketpair): Likewise. + * stdlib/drand48-iter.c (__drand48_iterate): Likewise. + * stdlib/erand48.c (erand48): Likewise. + * stdlib/erand48_r.c (__erand48_r): Likewise. + * stdlib/jrand48.c (jrand48): Likewise. + * stdlib/jrand48_r.c (__jrand48_r): Likewise. + * stdlib/lcong48.c (lcong48): Likewise. + * stdlib/lcong48_r.c (__lcong48_r): Likewise. + * stdlib/nrand48.c (nrand48): Likewise. + * stdlib/nrand48_r.c (__nrand48_r): Likewise. + * stdlib/seed48.c (seed48): Likewise. + * stdlib/seed48_r.c (__seed48_r): Likewise. + * sysdeps/mach/hurd/execve.c (__execve): Likewise. + * sysdeps/mach/hurd/utimes.c (__utimes): Likewise. + * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise. + +2015-10-19 Joseph Myers + + * configure.ac (libc_cv_asm_unique_object): Remove configure test. + * configure: Regenerated. + * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef. + * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code + unconditional. + * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise. + * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise. + * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise. + (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code. + * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code + unconditional. + * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise. + + * posix/Makefile (CFLAGS-regex.c): Remove variable. + * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes. + + * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style + function definition. + * crypt/crypt_util.c (__encrypt_r): Likewise. + * libio/genops.c (_IO_no_init): Likewise. + * libio/iofopncook.c (_IO_fopencookie): Likewise. + (_IO_old_fopencookie): Likewise. + * libio/iofwrite_u.c (fwrite_unlocked): Likewise. + * libio/iogetline.c (_IO_getline): Likewise. + (_IO_getline_info): Likewise. + * libio/iogetwline.c (_IO_getwline): Likewise. + (_IO_getwline_info): Likewise. + * libio/vsnprintf.c (_IO_vsnprintf): Likewise. + * libio/vswprintf.c (_IO_vswprintf): Likewise. + * locale/programs/simple-hash.c (insert_entry_2): Likewise. + (find_entry): Likewise. + (iterate_table): Likewise. + (lookup): Likewise. + * login/forkpty.c (forkpty): Likewise. + * misc/hsearch_r.c (__hsearch_r): Likewise. + * misc/select.c (__select): Likewise. + * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore): + Likewise. + * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0): + Likewise. + * nptl/old_pthread_cond_timedwait.c + (__pthread_cond_timedwait_2_0): Likewise. + * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise. + * nptl/pthread_barrierattr_getpshared.c + (pthread_barrierattr_getpshared): Likewise. + * nptl/pthread_getschedparam.c (__pthread_getschedparam): + Likewise. + * nptl/pthread_mutex_setprioceiling.c + (pthread_mutex_setprioceiling): Likewise. + * nptl/pthread_mutexattr_getprioceiling.c + (pthread_mutexattr_getprioceiling): Likewise. + * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise. + * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock): + Likewise. + * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): + Likewise. + * nptl/pthread_setschedparam.c (__pthread_setschedparam): + Likewise. + * socket/recvfrom.c (__recvfrom): Likewise. + * socket/sendto.c (__sendto): Likewise. + * socket/setsockopt.c (__setsockopt): Likewise. + * stdio-common/_itoa.c (_itoa): Likewise. + * stdio-common/_itowa.c (_itowa): Likewise. + * stdio-common/reg-printf.c (__register_printf_specifier): + Likewise. + (__register_printf_function): Likewise. + * stdio-common/tempname.c (__path_search): Likewise. + * stdlib/addmul_1.c (mpn_addmul_1): Likewise. + * stdlib/mul_1.c (mpn_mul_1): Likewise. + * stdlib/random_r.c (__initstate_r): Likewise. + * stdlib/setenv.c (__add_to_environ): Likewise. + * stdlib/submul_1.c (mpn_submul_1): Likewise. + * streams/getpmsg.c (getpmsg): Likewise. + * streams/putmsg.c (putmsg): Likewise. + * streams/putpmsg.c (putpmsg): Likewise. + * sunrpc/clnt_raw.c (clntraw_call): Likewise. + * sunrpc/clnt_tcp.c (clnttcp_call): Likewise. + * sunrpc/clnt_udp.c (clntudp_create): Likewise. + * sunrpc/clnt_unix.c (clntunix_call): Likewise. + * sunrpc/pm_getport.c (pmap_getport): Likewise. + * sunrpc/svc_udp.c (cache_get): Likewise. + * sunrpc/xdr_array.c (xdr_vector): Likewise. + * sysdeps/mach/hurd/getcwd.c + (__canonicalize_directory_name_internal): Likewise. + * sysdeps/mach/hurd/pselect.c (__pselect): Likewise. + * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise. + * sysdeps/mach/hurd/select.c (__select): Likewise. + * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise. + * sysdeps/pthread/timer_settime.c (timer_settime): Likewise. + * sysdeps/sparc/nptl/pthread_barrier_init.c + (__pthread_barrier_init): Likewise. + * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c + (__pthread_cond_timedwait): Likewise. + * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise. + * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop): + Likewise. + * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise. + * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime): + Likewise. + * sysvipc/semtimedop.c (semtimedop): Likewise. + * time/setitimer.c (__setitimer): Likewise. + * time/strftime_l.c (emacs_strftime): Likewise. + +2015-10-19 Mike Frysinger + + * config.make.in (have-ssp): Delete. + (stack-protector): New variable. + * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong + cache test for -fstack-protector-strong. Export stack_protector to + the best ssp flag. + * configure: Regenerated. + * login/Makefile (pt_chown-cflags): Always add $(stack-protector). + * nscd/Makefile (CFLAGS-nscd): Likewise. + * resolv/Makefile (CFLAGS-libresolv): Likewise. + +2015-10-16 H.J. Lu + + [BZ #19122] + * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add + attribute_hidden. + +2015-10-19 Tulio Magno Quites Machado Filho + + [BZ #18743] + * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this + code to... + (ELIDE_LOCK): ...here. + (__get_new_count): New function with part of the code from + __elide_lock that updates the value of adapt_count after a + transaction abort. + (__elided_trylock): Moved this code to... + (ELIDE_TRYLOCK): ...here. + +2015-10-19 Mike Frysinger + + * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing. + * configure: Regenerate. + * INSTALL: Regenerate. + * manual/install.texi (--disable-timezone-tools): Use @theglibc{} + and tweak grammar. + +2015-10-19 Geoffrey Thomas + + * login/programs/pt_chown.c: Include signal.h + (main): Clear any signal mask from the parent process. + +2015-10-19 Joseph Myers + + * configure.ac (libc_cv_gnu89_inline): Remove configure test. + * configure: Regenerated. + * config.make.in (gnu89-inline-CFLAGS): Remove variable. + * Makeconfig (CFLAGS): Use -fgnu89-inline instead of + $(gnu89-inline-CFLAGS). + + * configure.ac (libc_cv_asm_weak_directive): Remove configure + test. + (libc_cv_asm_weakext_directive): Likewise. + * configure: Regenerated. + * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef. + (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise. + * include/libc-symbols.h + [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove + #error. + [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code. + [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional. + + * sysdeps/arm/backtrace.c (__backtrace): Convert to + prototype-style function definition. + * sysdeps/i386/backtrace.c (__backtrace): Likewise. + * sysdeps/i386/ffs.c (__ffs): Likewise. + * sysdeps/i386/i686/ffs.c (__ffs): Likewise. + * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock): + Likewise. + * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock): + Likewise. + * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): + Likewise. + * sysdeps/m68k/ffs.c (__ffs): Likewise. + * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise. + * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise. + * sysdeps/mach/adjtime.c (__adjtime): Likewise. + * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise. + * sysdeps/mach/hurd/_exit.c (_exit): Likewise. + * sysdeps/mach/hurd/access.c (__access): Likewise. + * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise. + * sysdeps/mach/hurd/chdir.c (__chdir): Likewise. + * sysdeps/mach/hurd/chmod.c (__chmod): Likewise. + * sysdeps/mach/hurd/chown.c (__chown): Likewise. + * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise. + (cthread_getspecific): Likewise. + (cthread_setspecific): Likewise. + (__libc_getspecific): Likewise. + * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise. + * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise. + * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise. + * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise. + * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise. + * sysdeps/mach/hurd/fchown.c (__fchown): Likewise. + * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise. + * sysdeps/mach/hurd/flock.c (__flock): Likewise. + * sysdeps/mach/hurd/fsync.c (fsync): Likewise. + * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise. + * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise. + * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise. + * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise. + * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise. + * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise. + * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise. + * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise. + * sysdeps/mach/hurd/group_member.c (__group_member): Likewise. + * sysdeps/mach/hurd/isatty.c (__isatty): Likewise. + * sysdeps/mach/hurd/lchown.c (__lchown): Likewise. + * sysdeps/mach/hurd/link.c (__link): Likewise. + * sysdeps/mach/hurd/linkat.c (linkat): Likewise. + * sysdeps/mach/hurd/listen.c (__listen): Likewise. + * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise. + * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise. + * sysdeps/mach/hurd/openat.c (__openat): Likewise. + * sysdeps/mach/hurd/poll.c (__poll): Likewise. + * sysdeps/mach/hurd/readlink.c (__readlink): Likewise. + * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise. + * sysdeps/mach/hurd/recv.c (__recv): Likewise. + * sysdeps/mach/hurd/rename.c (rename): Likewise. + * sysdeps/mach/hurd/renameat.c (renameat): Likewise. + * sysdeps/mach/hurd/revoke.c (revoke): Likewise. + * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise. + * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise. + * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise. + * sysdeps/mach/hurd/send.c (__send): Likewise. + * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise. + * sysdeps/mach/hurd/setegid.c (setegid): Likewise. + * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise. + * sysdeps/mach/hurd/setgid.c (__setgid): Likewise. + * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise. + * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise. + * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise. + * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise. + * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise. + * sysdeps/mach/hurd/setregid.c (__setregid): Likewise. + * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise. + * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise. + * sysdeps/mach/hurd/setuid.c (__setuid): Likewise. + * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise. + * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise. + * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise. + * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise. + * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise. + * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise. + * sysdeps/mach/hurd/socket.c (__socket): Likewise. + * sysdeps/mach/hurd/symlink.c (__symlink): Likewise. + * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise. + * sysdeps/mach/hurd/telldir.c (telldir): Likewise. + * sysdeps/mach/hurd/truncate.c (__truncate): Likewise. + * sysdeps/mach/hurd/umask.c (__umask): Likewise. + * sysdeps/mach/hurd/unlink.c (__unlink): Likewise. + * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise. + * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise. + * sysdeps/posix/alarm.c (alarm): Likewise. + * sysdeps/posix/cuserid.c (cuserid): Likewise. + * sysdeps/posix/dirfd.c (dirfd): Likewise. + * sysdeps/posix/dup.c (__dup): Likewise. + * sysdeps/posix/dup2.c (__dup2): Likewise. + * sysdeps/posix/euidaccess.c (euidaccess): Likewise. + (main): Likewise. + * sysdeps/posix/flock.c (__flock): Likewise. + * sysdeps/posix/fpathconf.c (__fpathconf): Likewise. + * sysdeps/posix/getcwd.c (__getcwd): Likewise. + * sysdeps/posix/gethostname.c (__gethostname): Likewise. + * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise. + * sysdeps/posix/isatty.c (__isatty): Likewise. + * sysdeps/posix/killpg.c (killpg): Likewise. + * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise. + * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise. + * sysdeps/posix/raise.c (raise): Likewise. + * sysdeps/posix/remove.c (remove): Likewise. + * sysdeps/posix/rename.c (rename): Likewise. + * sysdeps/posix/rewinddir.c (__rewinddir): Likewise. + * sysdeps/posix/seekdir.c (seekdir): Likewise. + * sysdeps/posix/sigblock.c (__sigblock): Likewise. + * sysdeps/posix/sigignore.c (sigignore): Likewise. + * sysdeps/posix/sigintr.c (siginterrupt): Likewise. + * sysdeps/posix/signal.c (__bsd_signal): Likewise. + * sysdeps/posix/sigset.c (sigset): Likewise. + * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise. + * sysdeps/posix/sysconf.c (__sysconf): Likewise. + * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise. + * sysdeps/posix/time.c (time): Likewise. + * sysdeps/posix/ttyname.c (getttyname): Likewise. + (ttyname): Likewise. + * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise. + * sysdeps/posix/utime.c (utime): Likewise. + * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise. + * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock): + Likewise. + * sysdeps/powerpc/nptl/pthread_spin_trylock.c + (pthread_spin_trylock): Likewise. + * sysdeps/pthread/aio_error.c (aio_error): Likewise. + * sysdeps/pthread/aio_read.c (aio_read): Likewise. + * sysdeps/pthread/aio_read64.c (aio_read64): Likewise. + * sysdeps/pthread/aio_write.c (aio_write): Likewise. + * sysdeps/pthread/aio_write64.c (aio_write64): Likewise. + * sysdeps/pthread/flockfile.c (__flockfile): Likewise. + * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise. + * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise. + * sysdeps/pthread/timer_create.c (timer_create): Likewise. + * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise. + * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise. + * sysdeps/s390/ffs.c (__ffs): Likewise. + * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock): + Likewise. + * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock): + Likewise. + * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock): + Likewise. + * sysdeps/sparc/nptl/pthread_barrier_destroy.c + (pthread_barrier_destroy): Likewise. + * sysdeps/sparc/nptl/pthread_barrier_wait.c + (__pthread_barrier_wait): Likewise. + * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise. + * sysdeps/sparc/sparc32/pthread_barrier_wait.c + (__pthread_barrier_wait): Likewise. + * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise. + * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise. + (memcmp_not_common_alignment): Likewise. + (MEMCMP): Likewise. + * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise. + (_wordcopy_fwd_dest_aligned): Likewise. + (_wordcopy_bwd_aligned): Likewise. + (_wordcopy_bwd_dest_aligned): Likewise. + * sysdeps/unix/bsd/ftime.c (ftime): Likewise. + * sysdeps/unix/bsd/gtty.c (gtty): Likewise. + * sysdeps/unix/bsd/stty.c (stty): Likewise. + * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise. + * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise. + * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise. + * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise. + * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise. + * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise. + * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise. + * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise. + * sysdeps/unix/bsd/wait3.c (__wait3): Likewise. + * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise. + * sysdeps/unix/sockatmark.c (sockatmark): Likewise. + * sysdeps/unix/stime.c (stime): Likewise. + * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise. + * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): + Likewise. Use internal_function. + * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction): + Convert to prototype-style function definition. + * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise. + * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise. + * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise. + * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue): + Likewise. Use internal_function. + * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to + prototype-style function definition + * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): + Likewise. + (__getlogin_r): Likewise. + * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise. + * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c + (__pthread_cond_broadcast): Likewise. + * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c + (__pthread_cond_destroy): Likewise. + * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c + (__pthread_cond_init): Likewise. + * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c + (__pthread_cond_signal): Likewise. + * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c + (__pthread_cond_wait): Likewise. + * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise. + * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise. + * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction): + Likewise. + * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending): + Likewise. + * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask): + Likewise. + * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction): + Likewise. + * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c + (__ftruncate64): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c + (truncate64): Likewise. + * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise. + * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c + (pthread_getcpuclockid): Likewise. + * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np): + Likewise. + * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np): + Likewise. + * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask): + Likewise. + * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue): + Likewise. + * sysdeps/unix/sysv/linux/raise.c (raise): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c + (__libc_sigaction): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending): + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c + (__sigprocmask): Likewise. + * sysdeps/unix/sysv/linux/semget.c (semget): Likewise. + * sysdeps/unix/sysv/linux/semop.c (semop): Likewise. + * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise. + * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise. + * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise. + * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise. + * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction): + Likewise. + * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise. + * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise. + * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise. + * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending): + Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c + (__sigprocmask): Likewise. + * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise. + (cfgetispeed): Likewise. + (cfsetospeed): Likewise. + (cfsetispeed): Likewise. + * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise. + * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise. + * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise. + * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise. + * sysdeps/unix/sysv/linux/time.c (time): Likewise. + * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise. + * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise. + * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun): + Likewise. + * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime): + Likewise. + * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending): + Likewise. + * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask): + Likewise. + * sysdeps/x86_64/backtrace.c (__backtrace): Likewise. + +2015-10-17 Florian Weimer + + sunrpc: Rewrite with explicit TLS access using __thread. + * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable. + (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars + directly. + (__rpc_thread_variables): Access thread_rpc_vars directly. + Eliminate redundant assignment of the tvp variable. + +2015-10-17 Florian Weimer + + malloc: Rewrite with explicit TLS access using __thread. + * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create) + (tsd_setspecific, tsd_getspecific): Remove. + * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create) + (tsd_setspecific, tsd_getspecific): Likewise. + * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create) + (tsd_setspecific, tsd_getspecific): Likewise. + * malloc/arena.c (thread_arena): New TLS variable. + (arena_key): Remove variable. + (arena_get): Use thread_arena. + (arena_lookup): Remove macro. + (malloc_atfork, free_atfork, ptmalloc_lock_all) + (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init) + (_int_new_arena, get_free_list, reused_arena) + (arena_thread_freeres): Use thread_arena. + * manual/memory.texi (Basic Allocation): Remove arena_lookup, + tsd_getspecific, tsd_setspecific from safety annotations. + (Allocating Cleared Space): Remove arena_lookup from safety + annotations. + +2015-10-17 Florian Weimer + + * stdio-common/vfprintf.c (printf_positional): Rewrite to use + struct scratch_buffer instead of extend_alloca. + +2015-10-17 Florian Weimer + + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_SOCK_CLOEXEC): Remove. + * include/sys/socket.h (__have_sock_cloexec): Remove declaration. + (__have_paccept): Remove unused macro. + * include/unistd.h (__have_sock_cloexec): Remove declaration. + * misc/syslog.c (openlog_internal): Remove fallback code for + !__ASSUME_SOCK_CLOEXEC. + * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for + missing SOCK_CLOEXEC. + * nscd/connections.c (have_sock_cloexec): Remove definition. + (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC. + * nscd/nscd_helper.c (open_socket): Remove fallback code for + !__ASSUME_SOCK_CLOEXEC. + * resolv/res_send.c (__have_o_nonblock): Remove definition. + (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC. + * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove + definition. + * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback + code for !__ASSUME_SOCK_CLOEXEC. + +2015-10-17 Florian Weimer + + [BZ #18982] + * manual/stdio.texi (Variable Arguments Output): Add portability + note, explaining that vfprintf clobbers the va_list pointer. + +2015-10-16 Joseph Myers + + * math/libm-test.inc (fabs_test_data): Add more tests. + (fdim_test_data): Likewise. + (fma_test_data): Likewise. + (fmax_test_data): Likewise. + (fmin_test_data): Likewise. + (fmod_test_data): Likewise. + +2015-10-16 Steve Ellcey + + * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned + data. + +2015-10-16 Joseph Myers + + * math/libm-test.inc (ceil_test_data): Add more tests and more + expectations for "inexact". + (floor_test_data): Add more tests. + (round_test_data): Likewise. + (trunc_test_data): Likewise. + + * crypt/cert.c (good_bye): Convert to prototype-style function + definition. + (get8): Likewise. + (put8): Likewise. + * crypt/crypt-entry.c (crypt): Likewise. + (__fcrypt): Likewise. + * crypt/crypt_util.c (_ufc_prbits): Likewise. + (_ufc_set_bits): Likewise. + (_ufc_clearmem): Likewise. + (__init_des_r): Likewise. + (shuffle_sb): Likewise. + (shuffle_sb): Likewise. + (_ufc_setup_salt_r): Likewise. + (_ufc_mk_keytab_r): Likewise. + (_ufc_dofinalperm_r): Likewise. + (encrypt): Likewise. + (__setkey_r): Likewise. + (setkey): Likewise. + * crypt/md5.c (md5_init_ctx): Likewise. + (md5_read_ctx): Likewise. + (md5_finish_ctx): Likewise. + (md5_stream): Likewise. + (md5_buffer): Likewise. + (md5_process_bytes): Likewise. + * crypt/sha256.c (__sha256_init_ctx): Likewise. + (__sha256_finish_ctx): Likewise. + (__sha256_process_bytes): Likewise. + * crypt/sha512.c (__sha512_init_ctx): Likewise. + (__sha512_finish_ctx): Likewise. + (__sha512_process_bytes): Likewise. + * ctype/isctype.c (__isctype): Likewise. + * debug/backtrace.c (__backtrace): Likewise. + * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise. + * debug/fgets_chk.c (__fgets_chk): Likewise. + * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise. + * debug/memcpy_chk.c (__memcpy_chk): Likewise. + * debug/memmove_chk.c (MEMMOVE_CHK): Likewise. + * debug/mempcpy_chk.c (__mempcpy_chk): Likewise. + * debug/memset_chk.c (__memset_chk): Likewise. + * debug/strcat_chk.c (__strcat_chk): Likewise. + * debug/strncat_chk.c (__strncat_chk): Likewise. + * debug/strncpy_chk.c (__strncpy_chk): Likewise. + * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise. + * dirent/dirfd.c (dirfd): Likewise. + * dirent/getdents.c (__getdirentries): Likewise. + * dirent/getdents64.c (getdirentries64): Likewise. + * dirent/rewinddir.c (__rewinddir): Likewise. + * dirent/seekdir.c (seekdir): Likewise. + * dirent/telldir.c (telldir): Likewise. + * elf/sln.c (makesymlinks): Likewise. + (makesymlink): Likewise. + * gmon/gmon.c (__moncontrol): Likewise. + (__monstartup): Likewise. + (write_hist): Likewise. + (write_call_graph): Likewise. + (write_bb_counts): Likewise. + * grp/setgroups.c (setgroups): Likewise. + * inet/inet_lnaof.c (inet_lnaof): Likewise. + * inet/inet_net.c (inet_network): Likewise. + * inet/inet_netof.c (inet_netof): Likewise. + * inet/rcmd.c (rresvport_af): Likewise. + (rresvport): Likewise. + * io/access.c (__access): Likewise. + * io/chdir.c (__chdir): Likewise. + * io/chmod.c (__chmod): Likewise. + * io/chown.c (__chown): Likewise. + * io/close.c (__close): Likewise. + * io/creat.c (creat): Likewise. + * io/creat64.c (creat64): Likewise. + * io/dup.c (__dup): Likewise. + * io/dup2.c (__dup2): Likewise. + * io/dup3.c (__dup3): Likewise. + * io/euidaccess.c (__euidaccess): Likewise. + * io/faccessat.c (faccessat): Likewise. + * io/fchmod.c (__fchmod): Likewise. + * io/fchmodat.c (fchmodat): Likewise. + * io/fchown.c (__fchown): Likewise. + * io/fchownat.c (fchownat): Likewise. + * io/fcntl.c (__fcntl): Likewise. + * io/flock.c (__flock): Likewise. + * io/fts.c (fts_load): Likewise. + (fts_close): Likewise. + (fts_read): Likewise. + (fts_set): Likewise. + (fts_children): Likewise. + (fts_build): Likewise. + (fts_stat): Likewise. + (fts_sort): Likewise. + (fts_alloc): Likewise. + (fts_lfree): Likewise. + (fts_palloc): Likewise. + (fts_padjust): Likewise. + (fts_maxarglen): Likewise. + (fts_safe_changedir): Likewise. + * io/getwd.c (getwd): Likewise. + * io/isatty.c (__isatty): Likewise. + * io/lchown.c (__lchown): Likewise. + * io/link.c (__link): Likewise. + * io/linkat.c (linkat): Likewise. + * io/lseek.c (__libc_lseek): Likewise. + * io/mkdir.c (__mkdir): Likewise. + * io/mkdirat.c (mkdirat): Likewise. + * io/mkfifo.c (mkfifo): Likewise. + * io/mkfifoat.c (mkfifoat): Likewise. + * io/open.c (__libc_open): Likewise. + * io/open64.c (__libc_open64): Likewise. + * io/readlink.c (__readlink): Likewise. + * io/readlinkat.c (readlinkat): Likewise. + * io/rmdir.c (__rmdir): Likewise. + * io/symlink.c (__symlink): Likewise. + * io/symlinkat.c (symlinkat): Likewise. + * io/ttyname.c (ttyname): Likewise. + * io/ttyname_r.c (__ttyname_r): Likewise. + * io/umask.c (__umask): Likewise. + * io/unlink.c (__unlink): Likewise. + * io/unlinkat.c (unlinkat): Likewise. + * io/utime.c (utime): Likewise. + * libio/clearerr.c (clearerr): Likewise. + * libio/clearerr_u.c (clearerr_unlocked): Likewise. + * libio/feof.c (_IO_feof): Likewise. + * libio/feof_u.c (feof_unlocked): Likewise. + * libio/ferror.c (_IO_ferror): Likewise. + * libio/ferror_u.c (ferror_unlocked): Likewise. + * libio/filedoalloc.c (_IO_file_doallocate): Likewise. + * libio/fileno.c (__fileno): Likewise. + * libio/fputc.c (fputc): Likewise. + * libio/fputc_u.c (fputc_unlocked): Likewise. + * libio/fputwc.c (fputwc): Likewise. + * libio/fputwc_u.c (fputwc_unlocked): Likewise. + * libio/freopen.c (freopen): Likewise. + * libio/freopen64.c (freopen64): Likewise. + * libio/fseek.c (fseek): Likewise. + * libio/fseeko.c (fseeko): Likewise. + * libio/fseeko64.c (fseeko64): Likewise. + * libio/ftello.c (__ftello): Likewise. + * libio/ftello64.c (ftello64): Likewise. + * libio/fwide.c (fwide): Likewise. + * libio/genops.c (_IO_un_link): Likewise. + (_IO_link_in): Likewise. + (_IO_least_marker): Likewise. + (_IO_switch_to_main_get_area): Likewise. + (_IO_switch_to_backup_area): Likewise. + (_IO_switch_to_get_mode): Likewise. + (_IO_free_backup_area): Likewise. + (_IO_switch_to_put_mode): Likewise. + (__overflow): Likewise. + (__underflow): Likewise. + (__uflow): Likewise. + (_IO_setb): Likewise. + (_IO_doallocbuf): Likewise. + (_IO_default_underflow): Likewise. + (_IO_default_uflow): Likewise. + (_IO_default_xsputn): Likewise. + (_IO_sgetn): Likewise. + (_IO_default_xsgetn): Likewise. + (_IO_sync): Likewise. + (_IO_default_setbuf): Likewise. + (_IO_default_seekpos): Likewise. + (_IO_default_doallocate): Likewise. + (_IO_init): Likewise. + (_IO_old_init): Likewise. + (_IO_default_sync): Likewise. + (_IO_default_finish): Likewise. + (_IO_default_seekoff): Likewise. + (_IO_sputbackc): Likewise. + (_IO_sungetc): Likewise. + (_IO_set_column): Likewise. + (_IO_set_column): Likewise. + (_IO_adjust_column): Likewise. + (_IO_get_column): Likewise. + (_IO_init_marker): Likewise. + (_IO_remove_marker): Likewise. + (_IO_marker_difference): Likewise. + (_IO_marker_delta): Likewise. + (_IO_seekmark): Likewise. + (_IO_unsave_markers): Likewise. + (_IO_nobackup_pbackfail): Likewise. + (_IO_default_pbackfail): Likewise. + (_IO_default_seek): Likewise. + (_IO_default_stat): Likewise. + (_IO_default_read): Likewise. + (_IO_default_write): Likewise. + (_IO_default_showmanyc): Likewise. + (_IO_default_imbue): Likewise. + (_IO_iter_next): Likewise. + (_IO_iter_file): Likewise. + * libio/getc.c (_IO_getc): Likewise. + * libio/getwc.c (_IO_getwc): Likewise. + * libio/iofclose.c (_IO_new_fclose): Likewise. + * libio/iofdopen.c (_IO_new_fdopen): Likewise. + * libio/iofflush.c (_IO_fflush): Likewise. + * libio/iofflush_u.c (__fflush_unlocked): Likewise. + * libio/iofgetpos.c (_IO_new_fgetpos): Likewise. + * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise. + * libio/iofgets.c (_IO_fgets): Likewise. + * libio/iofgets_u.c (__fgets_unlocked): Likewise. + * libio/iofgetws.c (fgetws): Likewise. + * libio/iofgetws_u.c (fgetws_unlocked): Likewise. + * libio/iofopen64.c (_IO_fopen64): Likewise. + * libio/iofopncook.c (_IO_cookie_read): Likewise. + (_IO_cookie_write): Likewise. + (_IO_cookie_seek): Likewise. + (_IO_cookie_close): Likewise. + (_IO_cookie_seekoff): Likewise. + (_IO_old_cookie_seek): Likewise. + * libio/iofputs.c (_IO_fputs): Likewise. + * libio/iofputs_u.c (__fputs_unlocked): Likewise. + * libio/iofputws.c (fputws): Likewise. + * libio/iofputws_u.c (fputws_unlocked): Likewise. + * libio/iofread.c (_IO_fread): Likewise. + * libio/iofread_u.c (__fread_unlocked): Likewise. + * libio/iofsetpos.c (_IO_new_fsetpos): Likewise. + * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise. + * libio/ioftell.c (_IO_ftell): Likewise. + * libio/iofwrite.c (_IO_fwrite): Likewise. + * libio/iogetdelim.c (_IO_getdelim): Likewise. + * libio/iogets.c (_IO_gets): Likewise. + * libio/iopadn.c (_IO_padn): Likewise. + * libio/iopopen.c (_IO_new_proc_open): Likewise. + (_IO_new_popen): Likewise. + (_IO_new_proc_close): Likewise. + * libio/ioputs.c (_IO_puts): Likewise. + * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise. + (_IO_seekoff): Likewise. + * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise. + (_IO_seekpos): Likewise. + * libio/iosetbuffer.c (_IO_setbuffer): Likewise. + * libio/iosetvbuf.c (_IO_setvbuf): Likewise. + * libio/ioungetc.c (_IO_ungetc): Likewise. + * libio/ioungetwc.c (ungetwc): Likewise. + * libio/iovdprintf.c (_IO_vdprintf): Likewise. + * libio/iovsscanf.c (_IO_vsscanf): Likewise. + * libio/iowpadn.c (_IO_wpadn): Likewise. + * libio/libc_fatal.c (__libc_fatal): Likewise. + * libio/memstream.c (__open_memstream): Likewise. + (_IO_mem_sync): Likewise. + (_IO_mem_finish): Likewise. + * libio/oldfileops.c (_IO_old_file_init): Likewise. + (_IO_old_file_close_it): Likewise. + (_IO_old_file_finish): Likewise. + (_IO_old_file_fopen): Likewise. + (_IO_old_file_attach): Likewise. + (_IO_old_file_setbuf): Likewise. + (_IO_old_do_write): Likewise. + (old_do_write): Likewise. + (_IO_old_file_underflow): Likewise. + (_IO_old_file_overflow): Likewise. + (_IO_old_file_sync): Likewise. + (_IO_old_file_seekoff): Likewise. + (_IO_old_file_write): Likewise. + (_IO_old_file_xsputn): Likewise. + * libio/oldiofclose.c (_IO_old_fclose): Likewise. + * libio/oldiofdopen.c (_IO_old_fdopen): Likewise. + * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise. + * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise. + * libio/oldiofopen.c (_IO_old_fopen): Likewise. + * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise. + * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise. + * libio/oldiopopen.c (_IO_old_proc_open): Likewise. + (_IO_old_popen): Likewise. + (_IO_old_proc_close): Likewise. + * libio/oldpclose.c (__old_pclose): Likewise. + * libio/pclose.c (__new_pclose): Likewise. + * libio/peekc.c (_IO_peekc_locked): Likewise. + * libio/putc.c (_IO_putc): Likewise. + * libio/putc_u.c (putc_unlocked): Likewise. + * libio/putchar.c (putchar): Likewise. + * libio/putchar_u.c (putchar_unlocked): Likewise. + * libio/putwc.c (putwc): Likewise. + * libio/putwc_u.c (putwc_unlocked): Likewise. + * libio/putwchar.c (putwchar): Likewise. + * libio/putwchar_u.c (putwchar_unlocked): Likewise. + * libio/rewind.c (rewind): Likewise. + * libio/setbuf.c (setbuf): Likewise. + * libio/setlinebuf.c (setlinebuf): Likewise. + * libio/vasprintf.c (_IO_vasprintf): Likewise. + * libio/vscanf.c (_IO_vscanf): Likewise. + * libio/vsnprintf.c (_IO_strn_overflow): Likewise. + * libio/vswprintf.c (_IO_wstrn_overflow): Likewise. + * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise. + * libio/wgenops.c (_IO_least_wmarker): Likewise. + (_IO_switch_to_main_wget_area): Likewise. + (_IO_switch_to_wbackup_area): Likewise. + (_IO_wsetb): Likewise. + (_IO_wdefault_pbackfail): Likewise. + (_IO_wdefault_finish): Likewise. + (_IO_wdefault_uflow): Likewise. + (__woverflow): Likewise. + (__wuflow): Likewise. + (__wunderflow): Likewise. + (_IO_wdefault_xsputn): Likewise. + (_IO_wdefault_xsgetn): Likewise. + (_IO_wdoallocbuf): Likewise. + (_IO_wdefault_doallocate): Likewise. + (_IO_switch_to_wget_mode): Likewise. + (_IO_free_wbackup_area): Likewise. + (_IO_switch_to_wput_mode): Likewise. + (_IO_sputbackwc): Likewise. + (_IO_sungetwc): Likewise. + (_IO_adjust_wcolumn): Likewise. + (_IO_init_wmarker): Likewise. + (_IO_wmarker_delta): Likewise. + (_IO_seekwmark): Likewise. + (_IO_unsave_wmarkers): Likewise. + * libio/wmemstream.c (open_wmemstream): Likewise. + (_IO_wmem_sync): Likewise. + (_IO_wmem_finish): Likewise. + * locale/nl_langinfo.c (nl_langinfo): Likewise. + * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise. + * locale/programs/simple-hash.c (init_hash): Likewise. + (delete_hash): Likewise. + (insert_entry): Likewise. + (set_entry): Likewise. + (next_prime): Likewise. + (is_prime): Likewise. + * locale/programs/xmalloc.c (fixup_null_alloc): Likewise. + (xmalloc): Likewise. + (xrealloc): Likewise. + * locale/programs/xstrdup.c (xstrdup): Likewise. + * localedata/collate-test.c (xstrcoll): Likewise. + * localedata/xfrm-test.c (xstrcmp): Likewise. + * login/getlogin_r.c (__getlogin_r): Likewise. + * login/getpt.c (__posix_openpt): Likewise. + * login/login_tty.c (login_tty): Likewise. + * login/setlogin.c (setlogin): Likewise. + * mach/msg-destroy.c (__mach_msg_destroy): Likewise. + (mach_msg_destroy_port): Likewise. + (mach_msg_destroy_memory): Likewise. + * malloc/mcheck.c (flood): Likewise. + * misc/acct.c (acct): Likewise. + * misc/brk.c (__brk): Likewise. + * misc/chflags.c (chflags): Likewise. + * misc/chroot.c (chroot): Likewise. + * misc/fchflags.c (fchflags): Likewise. + * misc/fstab.c (getfsspec): Likewise. + (getfsfile): Likewise. + * misc/fsync.c (fsync): Likewise. + * misc/ftruncate.c (__ftruncate): Likewise. + * misc/ftruncate64.c (__ftruncate64): Likewise. + * misc/getdomain.c (getdomainname): Likewise. + (getdomainname): Likewise. + * misc/gethostname.c (__gethostname): Likewise. + * misc/getpass.c (getpass): Likewise. + * misc/getttyent.c (skip): Likewise. + (value): Likewise. + * misc/gtty.c (gtty): Likewise. + * misc/hsearch.c (hsearch): Likewise. + (hcreate): Likewise. + * misc/hsearch_r.c (__hcreate_r): Likewise. + (__hdestroy_r): Likewise. + * misc/ioctl.c (__ioctl): Likewise. + * misc/mkdtemp.c (mkdtemp): Likewise. + * misc/mkostemp.c (mkostemp): Likewise. + * misc/mkostemp64.c (mkostemp64): Likewise. + * misc/mkostemps.c (mkostemps): Likewise. + * misc/mkostemps64.c (mkostemps64): Likewise. + * misc/mkstemp.c (mkstemp): Likewise. + * misc/mkstemp64.c (mkstemp64): Likewise. + * misc/mkstemps.c (mkstemps): Likewise. + * misc/mkstemps64.c (mkstemps64): Likewise. + * misc/mktemp.c (__mktemp): Likewise. + * misc/preadv.c (preadv): Likewise. + * misc/preadv64.c (preadv64): Likewise. + * misc/pwritev.c (pwritev): Likewise. + * misc/pwritev64.c (pwritev64): Likewise. + * misc/readv.c (__readv): Likewise. + * misc/revoke.c (revoke): Likewise. + * misc/setdomain.c (setdomainname): Likewise. + * misc/setegid.c (setegid): Likewise. + * misc/seteuid.c (seteuid): Likewise. + * misc/sethostid.c (sethostid): Likewise. + * misc/sethostname.c (sethostname): Likewise. + * misc/setregid.c (__setregid): Likewise. + * misc/setreuid.c (__setreuid): Likewise. + * misc/sstk.c (sstk): Likewise. + * misc/stty.c (stty): Likewise. + * misc/syscall.c (syscall): Likewise. + * misc/syslog.c (setlogmask): Likewise. + * misc/truncate.c (__truncate): Likewise. + * misc/truncate64.c (truncate64): Likewise. + * misc/ualarm.c (ualarm): Likewise. + * misc/usleep.c (usleep): Likewise. + * misc/ustat.c (ustat): Likewise. + * misc/writev.c (__writev): Likewise. + * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise. + * nptl/old_pthread_cond_broadcast.c + (__pthread_cond_broadcast_2_0): Likewise. + * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0): + Likewise. + * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): + Likewise. + * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): + Likewise. + * nptl/pt-raise.c (raise): Likewise. + * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): + Likewise. + * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise. + * nptl/pthread_barrierattr_destroy.c + (pthread_barrierattr_destroy): Likewise. + * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init): + Likewise. + * nptl/pthread_barrierattr_setpshared.c + (pthread_barrierattr_setpshared): Likewise. + * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): + Likewise. + * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise. + * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise. + * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise. + * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy): + Likewise. + * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock): + Likewise. + * nptl/pthread_condattr_getpshared.c + (pthread_condattr_getpshared): Likewise. + * nptl/pthread_condattr_init.c (__pthread_condattr_init): + Likewise. + * nptl/pthread_condattr_setpshared.c + (pthread_condattr_setpshared): Likewise. + * nptl/pthread_detach.c (pthread_detach): Likewise. + * nptl/pthread_equal.c (__pthread_equal): Likewise. + * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise. + * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise. + * nptl/pthread_key_delete.c (pthread_key_delete): Likewise. + * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): + Likewise. + * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy): + Likewise. + * nptl/pthread_mutex_getprioceiling.c + (pthread_mutex_getprioceiling): Likewise. + * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy): + Likewise. + * nptl/pthread_mutexattr_getprotocol.c + (pthread_mutexattr_getprotocol): Likewise. + * nptl/pthread_mutexattr_getpshared.c + (pthread_mutexattr_getpshared): Likewise. + * nptl/pthread_mutexattr_getrobust.c + (pthread_mutexattr_getrobust): Likewise. + * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype): + Likewise. + * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): + Likewise. + * nptl/pthread_mutexattr_setprioceiling.c + (pthread_mutexattr_setprioceiling): Likewise. + * nptl/pthread_mutexattr_setprotocol.c + (pthread_mutexattr_setprotocol): Likewise. + * nptl/pthread_mutexattr_setpshared.c + (pthread_mutexattr_setpshared): Likewise. + * nptl/pthread_mutexattr_setrobust.c + (pthread_mutexattr_setrobust): Likewise. + * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype): + Likewise. + * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy): + Likewise. + * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy): + Likewise. + * nptl/pthread_rwlockattr_getkind_np.c + (pthread_rwlockattr_getkind_np): Likewise. + * nptl/pthread_rwlockattr_getpshared.c + (pthread_rwlockattr_getpshared): Likewise. + * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): + Likewise. + * nptl/pthread_rwlockattr_setkind_np.c + (pthread_rwlockattr_setkind_np): Likewise. + * nptl/pthread_rwlockattr_setpshared.c + (pthread_rwlockattr_setpshared): Likewise. + * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): + Likewise. + * nptl/pthread_setcanceltype.c (__pthread_setcanceltype): + Likewise. + * nptl/pthread_setconcurrency.c (pthread_setconcurrency): + Likewise. + * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise. + * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise. + * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise. + * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise. + * nptl/sem_close.c (sem_close): Likewise. + * nptl/sem_destroy.c (__new_sem_destroy): Likewise. + * nptl/sem_init.c (__old_sem_init): Likewise. + * nptl/sigaction.c (__sigaction): Likewise. + * nptl/unregister-atfork.c (__unregister_atfork): Likewise. + * posix/_exit.c (_exit): Likewise. + * posix/alarm.c (alarm): Likewise. + * posix/confstr.c (confstr): Likewise. + * posix/fpathconf.c (__fpathconf): Likewise. + * posix/getgroups.c (__getgroups): Likewise. + * posix/getpgid.c (__getpgid): Likewise. + * posix/group_member.c (__group_member): Likewise. + * posix/pathconf.c (__pathconf): Likewise. + * posix/sched_getaffinity.c (sched_getaffinity): Likewise. + * posix/sched_setaffinity.c (sched_setaffinity): Likewise. + * posix/setgid.c (__setgid): Likewise. + * posix/setpgid.c (__setpgid): Likewise. + * posix/setuid.c (__setuid): Likewise. + * posix/sleep.c (__sleep): Likewise. + * posix/sysconf.c (__sysconf): Likewise. + * posix/times.c (__times): Likewise. + * posix/uname.c (__uname): Likewise. + * posix/waitid.c (__waitid): Likewise. + * pwd/getpw.c (__getpw): Likewise. + * resolv/base64.c (b64_pton): Likewise. + * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise. + * resolv/gethnamaddr.c (Dprintf): Likewise. + (gethostbyname): Likewise. + (gethostbyname2): Likewise. + (gethostbyaddr): Likewise. + (_sethtent): Likewise. + (_gethtbyname): Likewise. + (_gethtbyname2): Likewise. + (_gethtbyaddr): Likewise. + (map_v4v6_address): Likewise. + (map_v4v6_hostent): Likewise. + (addrsort): Likewise. + (ht_sethostent): Likewise. + (ht_gethostbyname): Likewise. + (ht_gethostbyaddr): Likewise. + * resolv/inet_net_ntop.c (inet_net_ntop): Likewise. + (inet_net_ntop_ipv4): Likewise. + * resolv/inet_neta.c (inet_neta): Likewise. + * resolv/inet_ntop.c (inet_ntop): Likewise. + (inet_ntop4): Likewise. + (inet_ntop6): Likewise. + * resolv/inet_pton.c (__inet_pton): Likewise. + (inet_pton4): Likewise. + (inet_pton6): Likewise. + * resolv/res_debug.c (loc_aton): Likewise. + (loc_ntoa): Likewise. + * resource/getpriority.c (__getpriority): Likewise. + * resource/getrusage.c (__getrusage): Likewise. + * resource/nice.c (nice): Likewise. + * resource/setpriority.c (__setpriority): Likewise. + * resource/setrlimit64.c (setrlimit64): Likewise. + * resource/vlimit.c (vlimit): Likewise. + * resource/vtimes.c (vtimes): Likewise. + * rt/aio_error.c (aio_error): Likewise. + * rt/aio_return.c (aio_return): Likewise. + * rt/aio_sigqueue.c (__aio_sigqueue): Likewise. + * signal/kill.c (__kill): Likewise. + * signal/killpg.c (killpg): Likewise. + * signal/raise.c (raise): Likewise. + * signal/sigaction.c (__sigaction): Likewise. + * signal/sigaddset.c (sigaddset): Likewise. + * signal/sigaltstack.c (sigaltstack): Likewise. + * signal/sigandset.c (sigandset): Likewise. + * signal/sigblock.c (__sigblock): Likewise. + * signal/sigdelset.c (sigdelset): Likewise. + * signal/sigempty.c (sigemptyset): Likewise. + * signal/sigfillset.c (sigfillset): Likewise. + * signal/sighold.c (sighold): Likewise. + * signal/sigignore.c (sigignore): Likewise. + * signal/sigintr.c (siginterrupt): Likewise. + * signal/sigisempty.c (sigisemptyset): Likewise. + * signal/sigismem.c (sigismember): Likewise. + * signal/signal.c (signal): Likewise. + * signal/sigorset.c (sigorset): Likewise. + * signal/sigpause.c (__sigpause): Likewise. + * signal/sigpending.c (sigpending): Likewise. + * signal/sigprocmask.c (__sigprocmask): Likewise. + * signal/sigrelse.c (sigrelse): Likewise. + * signal/sigreturn.c (__sigreturn): Likewise. + * signal/sigset.c (sigset): Likewise. + * signal/sigsetmask.c (__sigsetmask): Likewise. + * signal/sigstack.c (sigstack): Likewise. + * signal/sigsuspend.c (__sigsuspend): Likewise. + * signal/sigvec.c (sigvec_wrapper_handler): Likewise. + * signal/sysv_signal.c (__sysv_signal): Likewise. + * socket/accept.c (accept): Likewise. + * socket/accept4.c (__libc_accept4): Likewise. + * socket/bind.c (__bind): Likewise. + * socket/connect.c (__connect): Likewise. + * socket/getpeername.c (getpeername): Likewise. + * socket/getsockname.c (__getsockname): Likewise. + * socket/getsockopt.c (getsockopt): Likewise. + * socket/listen.c (__listen): Likewise. + * socket/recv.c (__recv): Likewise. + * socket/recvmsg.c (__recvmsg): Likewise. + * socket/send.c (__send): Likewise. + * socket/sendmsg.c (__sendmsg): Likewise. + * socket/shutdown.c (shutdown): Likewise. + * socket/sockatmark.c (sockatmark): Likewise. + * socket/socket.c (__socket): Likewise. + * stdio-common/ctermid.c (ctermid): Likewise. + * stdio-common/cuserid.c (cuserid): Likewise. + * stdio-common/printf-prs.c (parse_printf_format): Likewise. + * stdio-common/remove.c (remove): Likewise. + * stdio-common/rename.c (rename): Likewise. + * stdio-common/renameat.c (renameat): Likewise. + * stdio-common/tempname.c (__gen_tempname): Likewise. + * stdio-common/xbug.c (InitBuffer): Likewise. + (AppendToBuffer): Likewise. + (ReadFile): Likewise. + * stdlib/a64l.c (a64l): Likewise. + * stdlib/drand48_r.c (drand48_r): Likewise. + * stdlib/getcontext.c (getcontext): Likewise. + * stdlib/getenv.c (getenv): Likewise. + * stdlib/l64a.c (l64a): Likewise. + * stdlib/llabs.c (llabs): Likewise. + * stdlib/lldiv.c (lldiv): Likewise. + * stdlib/lrand48_r.c (lrand48_r): Likewise. + * stdlib/mrand48_r.c (mrand48_r): Likewise. + * stdlib/putenv.c (putenv): Likewise. + * stdlib/random.c (__srandom): Likewise. + (__initstate): Likewise. + (__setstate): Likewise. + * stdlib/random_r.c (__srandom_r): Likewise. + (__setstate_r): Likewise. + (__random_r): Likewise. + * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise. + * stdlib/setcontext.c (setcontext): Likewise. + * stdlib/setenv.c (setenv): Likewise. + (unsetenv): Likewise. + * stdlib/srand48.c (srand48): Likewise. + * stdlib/srand48_r.c (__srand48_r): Likewise. + * stdlib/swapcontext.c (swapcontext): Likewise. + * stdlib/system.c (__libc_system): Likewise. + * stdlib/tst-strtod.c (expand): Likewise. + * stdlib/tst-strtol.c (expand): Likewise. + * stdlib/tst-strtoll.c (expand): Likewise. + * streams/fattach.c (fattach): Likewise. + * streams/fdetach.c (fdetach): Likewise. + * streams/getmsg.c (getmsg): Likewise. + * streams/isastream.c (isastream): Likewise. + * string/ffs.c (__ffs): Likewise. + * string/ffsll.c (ffsll): Likewise. + * string/memcmp.c (memcmp_common_alignment): Likewise. + (memcmp_not_common_alignment): Likewise. + (MEMCMP): Likewise. + * string/memcpy.c (memcpy): Likewise. + * string/memmove.c (MEMMOVE): Likewise. + * string/memset.c (memset): Likewise. + * string/rawmemchr.c (RAWMEMCHR): Likewise. + * string/strchrnul.c (STRCHRNUL): Likewise. + * string/strerror.c (strerror): Likewise. + * string/strndup.c (__strndup): Likewise. + * string/strverscmp.c (__strverscmp): Likewise. + * sunrpc/clnt_raw.c (clntraw_freeres): Likewise. + * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise. + (clnttcp_freeres): Likewise. + * sunrpc/clnt_unix.c (clntunix_freeres): Likewise. + * sunrpc/pmap_prot.c (xdr_pmap): Likewise. + * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise. + * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise. + * sunrpc/rpc_prot.c (xdr_replymsg): Likewise. + (xdr_callhdr): Likewise. + * sunrpc/rpcinfo.c (udpping): Likewise. + (tcpping): Likewise. + (pstatus): Likewise. + (pmapdump): Likewise. + (brdcst): Likewise. + (deletereg): Likewise. + (getprognum): Likewise. + (getvers): Likewise. + (get_inet_address): Likewise. + * sunrpc/svc_raw.c (svcraw_recv): Likewise. + * sunrpc/svc_udp.c (svcudp_create): Likewise. + (svcudp_stat): Likewise. + (svcudp_recv): Likewise. + (svcudp_reply): Likewise. + (svcudp_getargs): Likewise. + (svcudp_freeargs): Likewise. + (svcudp_destroy): Likewise. + * sunrpc/xdr.c (xdr_bytes): Likewise. + (xdr_netobj): Likewise. + (xdr_string): Likewise. + (xdr_wrapstring): Likewise. + * sunrpc/xdr_float.c (xdr_float): Likewise. + (xdr_double): Likewise. + * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise. + * sunrpc/xdr_ref.c (xdr_pointer): Likewise. + * sysvipc/ftok.c (ftok): Likewise. + * sysvipc/msgctl.c (msgctl): Likewise. + * sysvipc/msgget.c (msgget): Likewise. + * sysvipc/msgrcv.c (msgrcv): Likewise. + * sysvipc/msgsnd.c (msgsnd): Likewise. + * sysvipc/semget.c (semget): Likewise. + * sysvipc/semop.c (semop): Likewise. + * sysvipc/shmat.c (shmat): Likewise. + * sysvipc/shmctl.c (shmctl): Likewise. + * sysvipc/shmdt.c (shmdt): Likewise. + * sysvipc/shmget.c (shmget): Likewise. + * termios/cfmakeraw.c (cfmakeraw): Likewise. + * termios/speed.c (cfgetospeed): Likewise. + (cfgetispeed): Likewise. + (cfsetospeed): Likewise. + (cfsetispeed): Likewise. + * termios/tcflow.c (tcflow): Likewise. + * termios/tcflush.c (tcflush): Likewise. + * termios/tcgetattr.c (__tcgetattr): Likewise. + * termios/tcgetpgrp.c (tcgetpgrp): Likewise. + * termios/tcgetsid.c (tcgetsid): Likewise. + * termios/tcsendbrk.c (tcsendbreak): Likewise. + * termios/tcsetpgrp.c (tcsetpgrp): Likewise. + * time/adjtime.c (__adjtime): Likewise. + * time/dysize.c (dysize): Likewise. + * time/ftime.c (ftime): Likewise. + * time/getitimer.c (__getitimer): Likewise. + * time/gettimeofday.c (__gettimeofday): Likewise. + * time/gmtime.c (__gmtime_r): Likewise. + (gmtime): Likewise. + * time/localtime.c (__localtime_r): Likewise. + (localtime): Likewise. + * time/offtime.c (__offtime): Likewise. + * time/settimeofday.c (__settimeofday): Likewise. + * time/stime.c (stime): Likewise. + * time/strftime_l.c (tm_diff): Likewise. + (iso_week_days): Likewise. + * time/strptime.c (strptime): Likewise. + * time/time.c (time): Likewise. + * time/timespec_get.c (timespec_get): Likewise. + * time/tzset.c (tzset_internal): Likewise. + (compute_change): Likewise. + (__tz_compute): Likewise. + * wcsmbs/btowc.c (__btowc): Likewise. + * wcsmbs/mbrlen.c (__mbrlen): Likewise. + * wcsmbs/mbsinit.c (__mbsinit): Likewise. + * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise. + * wcsmbs/wcpcpy.c (__wcpcpy): Likewise. + * wcsmbs/wcpncpy.c (__wcpncpy): Likewise. + * wcsmbs/wcscat.c (__wcscat): Likewise. + * wcsmbs/wcschrnul.c (__wcschrnul): Likewise. + * wcsmbs/wcscmp.c (WCSCMP): Likewise. + * wcsmbs/wcscpy.c (WCSCPY): Likewise. + * wcsmbs/wcscspn.c (wcscspn): Likewise. + * wcsmbs/wcsdup.c (wcsdup): Likewise. + * wcsmbs/wcslen.c (__wcslen): Likewise. + * wcsmbs/wcsncat.c (WCSNCAT): Likewise. + * wcsmbs/wcsncmp.c (WCSNCMP): Likewise. + * wcsmbs/wcsncpy.c (__wcsncpy): Likewise. + * wcsmbs/wcsnlen.c (__wcsnlen): Likewise. + * wcsmbs/wcspbrk.c (wcspbrk): Likewise. + * wcsmbs/wcsrchr.c (WCSRCHR): Likewise. + * wcsmbs/wcsspn.c (wcsspn): Likewise. + * wcsmbs/wcsstr.c (wcsstr): Likewise. + * wcsmbs/wcstok.c (wcstok): Likewise. + * wcsmbs/wctob.c (wctob): Likewise. + * wcsmbs/wmemchr.c (__wmemchr): Likewise. + * wcsmbs/wmemcmp.c (WMEMCMP): Likewise. + * wcsmbs/wmemcpy.c (__wmemcpy): Likewise. + * wcsmbs/wmemmove.c (__wmemmove): Likewise. + * wcsmbs/wmempcpy.c (__wmempcpy): Likewise. + * wcsmbs/wmemset.c (__wmemset): Likewise. + * wctype/wcfuncs.c (__towlower): Likewise. + (__towupper): Likewise. + + * sysdeps/unix/sysv/linux/i386/lowlevellock.h + (lll_unlock_elision): Add adapt_count parameter. + +2015-10-15 Joseph Myers + + * sysdeps/nptl/configure.ac: Do not give errors based on the + results of top-level configure tests. + * sysdeps/nptl/configure: Regenerated. + + * configure.ac (libc_cv_Bgroup): Remove configure test. + * configure: Regenerated. + * config.make.in (have-Bgroup): Remove variable. + + * configure.ac (sizeof_long_double): Remove configure test. + * configure: Regenerated. + * config.make.in (sizeof-long-double): Remove variable. + + * configure.ac (libc_cv_gcc_exceptions): Remove configure test. + * configure: Regenerated. + * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set + variable. + (exceptions): Likewise. + * sysdeps/arm/configure: Regenerated. + * config.make.in (exceptions): Remove variable. + * Makeconfig (uses-callbacks): Use -fexceptions instead of + $(exceptions). + * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise. + (CFLAGS-vdprintf_chk.c): Likewise. + (CFLAGS-printf_chk.c): Likewise. + (CFLAGS-fprintf_chk.c): Likewise. + (CFLAGS-vprintf_chk.c): Likewise. + (CFLAGS-vfprintf_chk.c): Likewise. + (CFLAGS-gets_chk.c): Likewise. + (CFLAGS-fgets_chk.c): Likewise. + (CFLAGS-fgets_u_chk.c): Likewise. + (CFLAGS-fread_chk.c): Likewise. + (CFLAGS-fread_u_chk.c): Likewise. + (CFLAGS-wprintf_chk.c): Likewise. + (CFLAGS-fwprintf_chk.c): Likewise. + (CFLAGS-vwprintf_chk.c): Likewise. + (CFLAGS-vfwprintf_chk.c): Likewise. + (CFLAGS-fgetws_chk.c): Likewise. + (CFLAGS-fgetws_u_chk.c): Likewise. + * libio/Makefile (CFLAGS-fileops.c): Likewise. + (CFLAGS-fputc.c): Likewise. + (CFLAGS-fputwc.c): Likewise. + (CFLAGS-freopen64.c): Likewise. + (CFLAGS-freopen.c): Likewise. + (CFLAGS-fseek.c): Likewise. + (CFLAGS-fseeko64.c): Likewise. + (CFLAGS-fseeko.c): Likewise. + (CFLAGS-ftello64.c): Likewise. + (CFLAGS-ftello.c): Likewise. + (CFLAGS-fwide.c): Likewise. + (CFLAGS-genops.c): Likewise. + (CFLAGS-getc.c): Likewise. + (CFLAGS-getchar.c): Likewise. + (CFLAGS-getwc.c): Likewise. + (CFLAGS-getwchar.c): Likewise. + (CFLAGS-iofclose.c): Likewise. + (CFLAGS-iofflush.c): Likewise. + (CFLAGS-iofgetpos64.c): Likewise. + (CFLAGS-iofgetpos.c): Likewise. + (CFLAGS-iofgets.c): Likewise. + (CFLAGS-iofgetws.c): Likewise. + (CFLAGS-iofputs.c): Likewise. + (CFLAGS-iofputws.c): Likewise. + (CFLAGS-iofread.c): Likewise. + (CFLAGS-iofsetpos64.c): Likewise. + (CFLAGS-iofsetpos.c): Likewise. + (CFLAGS-ioftell.c): Likewise. + (CFLAGS-iofwrite.c): Likewise. + (CFLAGS-iogetdelim.c): Likewise. + (CFLAGS-iogetline.c): Likewise. + (CFLAGS-iogets.c): Likewise. + (CFLAGS-iogetwline.c): Likewise. + (CFLAGS-ioputs.c): Likewise. + (CFLAGS-ioseekoff.c): Likewise. + (CFLAGS-ioseekpos.c): Likewise. + (CFLAGS-iosetbuffer.c): Likewise. + (CFLAGS-iosetvbuf.c): Likewise. + (CFLAGS-ioungetc.c): Likewise. + (CFLAGS-ioungetwc.c): Likewise. + (CFLAGS-oldfileops.c): Likewise. + (CFLAGS-oldiofclose.c): Likewise. + (CFLAGS-oldiofgetpos64.c): Likewise. + (CFLAGS-oldiofgetpos.c): Likewise. + (CFLAGS-oldiofsetpos64.c): Likewise. + (CFLAGS-oldiofsetpos.c): Likewise. + (CFLAGS-peekc.c): Likewise. + (CFLAGS-putc.c): Likewise. + (CFLAGS-putchar.c): Likewise. + (CFLAGS-putwc.c): Likewise. + (CFLAGS-putwchar.c): Likewise. + (CFLAGS-rewind.c): Likewise. + (CFLAGS-wfileops.c): Likewise. + (CFLAGS-wgenops.c): Likewise. + (CFLAGS-oldiofopen.c): Likewise. + (CFLAGS-iofopen.c): Likewise. + (CFLAGS-iofopen64.c): Likewise. + (CFLAGS-oldtmpfile.c): Likewise. + * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise. + (CFLAGS-fprintf.c): Likewise. + (CFLAGS-printf.c): Likewise. + (CFLAGS-vfwprintf.c): Likewise. + (CFLAGS-vfscanf.c): Likewise. + (CFLAGS-vfwscanf.c): Likewise. + (CFLAGS-fscanf.c): Likewise. + (CFLAGS-scanf.c): Likewise. + (CFLAGS-isoc99_vfscanf.c): Likewise. + (CFLAGS-isoc99_vscanf.c): Likewise. + (CFLAGS-isoc99_fscanf.c): Likewise. + (CFLAGS-isoc99_scanf.c): Likewise. + * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise. + (CFLAGS-isoc99_fwscanf.c): Likewise. + (CFLAGS-isoc99_vwscanf.c): Likewise. + (CFLAGS-isoc99_vfwscanf.c): Likewise. + + * io/test-lfs.c (do_prepare): Do not call add_temp_file until + after mkstemp64. + * login/tst-utmp.c (do_prepare): Likewise. + * rt/tst-aio.c (do_prepare): Likewise. + * rt/tst-aio64.c (do_prepare): Likewise. + +2015-10-15 Paul E. Murphy + + * sysdeps/unix/sysv/linux/powerpc/elision-lock.c + (__lll_lock_elision): Remove adapt_count decrement... + * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c + (__lll_trylock_elision): Likewise. + * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c + (__lll_unlock_elision): ... to here. And utilize + new adapt_count parameter. + * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h + (__lll_unlock_elision): Update to include adapt_count + parameter. + (lll_unlock_elision): Pass pointer to adapt_count + variable. + +2015-10-15 Paul E. Murphy + + * nptl/pthread_mutex_unlock.c (lll_unlock_elision): + Add elision adapt_count parameter to list of arguments. + * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h + (lll_unlock_elision): Update with new parameter list + * sysdeps/unix/sysv/linux/s390/lowlevellock.h + (lll_unlock_elision): Likewise. + * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h + (lll_unlock_elision): Likewise. + +2015-10-15 H.J. Lu + + [BZ #19122] + * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add + attribute_hidden. + + * include/string.h [IS_IN (rtld)] (__stpcpy): Add + attribute_hidden. + [IS_IN (rtld)] (__strdup): Likewise. + [IS_IN (rtld)] (__strerror_r): Likewise. + [IS_IN (rtld)] (__strsep_g): Likewise. + [IS_IN (rtld)] (memchr): Likewise. + [IS_IN (rtld)] (memcmp): Likewise. + [IS_IN (rtld)] (memcpy): Likewise. + [IS_IN (rtld)] (memmove): Likewise. + [IS_IN (rtld)] (memset): Likewise. + [IS_IN (rtld)] (rawmemchr): Likewise. + [IS_IN (rtld)] (stpcpy): Likewise. + [IS_IN (rtld)] (strchr): Likewise. + [IS_IN (rtld)] (strcmp): Likewise. + [IS_IN (rtld)] (strlen): Likewise. + [IS_IN (rtld)] (strnlen): Likewise. + [IS_IN (rtld)] (strsep): Likewise. + + * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add + attribute_hidden. + [IS_IN (rtld)] (__strtoul_internal): Likewise. + + * include/signal.h [IS_IN (rtld)] (__sigaction): Add + attribute_hidden. + [IS_IN (rtld)] (__libc_sigaction): Likewise. + + * include/setjmp.h (__longjmp): Add attribute_hidden. + [IS_IN (rtld)] (__sigsetjmp): Likewise. + + * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency): + Add attribute_hidden. + + * include/fcntl.h (__libc_fcntl): Add attribute_hidden. + [IS_IN (rtld)] (__open): Likewise. + [IS_IN (rtld)] (__fcntl): Likewise. + + * include/dirent.h (__opendirat): Add attribute_hidden. + (__getdents): Likewise. + (__getdents64): Likewise. + (__alloc_dir): Likewise. + [IS_IN (rtld)] (__closedir): Likewise. + [IS_IN (rtld)] (__fdopendir): Likewise. + [IS_IN (rtld)] (__readdir): Likewise. + [IS_IN (rtld)] (__readdir64): Likewise. + [IS_IN (rtld)] (__rewinddir): Likewise. + + * include/dlfcn.h (_dl_catch_error): Moved to ... + * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add + attribute_hidden. + + * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden. + (_itoa_word): Likewise. + + * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden. + * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise. + * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise. + * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise. + (_dl_higher_prime_number): Likewise. + (_dl_debug_printf_c): Likewise. + (_dl_signal_cerror): Likewise. + (_dl_receive_error): Likewise. + (_dl_reloc_bad_type): Likewise. + (_dl_resolve_conflicts): Likewise. + (_dl_check_all_versions): Likewise. + (_dl_check_map_versions): Likewise. + (_dl_sort_fini): Likewise. + (_dl_debug_initialize): Likewise. + (_dl_init_paths): Likewise. + (_dl_show_auxv): Likewise. + (_dl_next_ld_env_entry): Likewise. + (_dl_important_hwcaps): Likewise. + (_dl_load_cache_lookup): Likewise. + (_dl_update_slotinfo): Likewise. + (_dl_show_scope): Likewise. + + * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add + attribute_hidden. + (_wordcopy_fwd_dest_aligned): Likewise. + (_wordcopy_bwd_aligned): Likewise. + (_wordcopy_bwd_dest_aligned): Likewise. + + * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden. + * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): + Likewise. + * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): + Likewise. + * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise. + +2015-10-15 H.J. Lu + + * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for + GCC 5 requirement. + +2015-10-15 Joseph Myers + + * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure + test. + * sysdeps/i386/configure: Regenerated. + * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make + code unconditional. + + * configure.ac (libc_cv_asm_previous_directive): Remove configure + test. + (libc_cv_asm_popsection_directive): Likewise. + * configure: Regenerated. + * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef. + (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise. + * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE] + (__make_section_unallocated): Make definition unconditional. + [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated): + Remove conditional definition. + [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE] + (__make_section_unallocated): Likewise. + + * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test. + * configure: Regenerated. + * config.make.in (static-libgcc): Remove variable. + * Makerules (build-shlib-helper): Use -static-libgcc instead of + $(static-libgcc). + (build-module-helper): Likewise. + + * configure.ac (libc_cv_friendly_stddef): Remove configure test. + * configure: Regenerated. + +2015-10-15 Florian Weimer + + * stdio-common/vfscanf.c (MEMCPY): Remove macro. + (struct char_buffer): New type. + (char_buffer_start, char_buffer_size, char_buffer_error) + (char_buffer_rewind, char_buffer_add): New functions. + (ADDW): Remove macro, replaced by the char_buffer_add function. + (_IO_vfscanf_internal): Rewrite using struct char_buffer instead + of extend_alloca. Make control flow more explicit. + +2015-10-15 H.J. Lu + + [BZ #19137] + * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c): + Add -fomit-frame-pointer. + * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file. + +2015-10-15 H.J. Lu + + * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S + (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0). + * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros + only if !__GNUC_PREREQ (5,0). + (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5. + (INTERNAL_SYSCALL_MAIN_INLINE): Likewise. + (INTERNAL_SYSCALL_NCS): Likewise. + (LOADREGS_0): New macro for GCC 5. + (ASMARGS_0): Likewise. + (LOADREGS_1): Likewise. + (ASMARGS_1): Likewise. + (LOADREGS_2): Likewise. + (ASMARGS_2): Likewise. + (LOADREGS_3): Likewise. + (ASMARGS_3): Likewise. + (LOADREGS_4): Likewise. + (ASMARGS_4): Likewise. + (LOADREGS_5): Likewise. + (ASMARGS_5): Likewise. + (LOADREGS_6): Likewise. + (ASMARGS_6): Likewise. + +2015-10-15 H.J. Lu + + * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add + -fomit-frame-pointer. + (CFLAGS-mmap64.c): Likewise. + (CFLAGS-semtimedop.c): Likewise. + * sysdeps/unix/sysv/linux/i386/mmap.c: New file. + * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file. + * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise. + * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise. + +2015-10-15 Florian Weimer + + [BZ #18928] + * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove + _dl_pointer_guard member. + * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard + initializer. + (security_init): Always set up pointer guard. + (process_envvars): Do not process LD_POINTER_GUARD. + +2015-10-14 Joseph Myers + + [BZ #19134] + * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object. + (.LC2): Likewise. + (.LC3): Likewise. + (__lround): Do not add 0.5 to integer or out-of-range arguments. + +2015-10-14 Szabolcs Nagy + + [BZ #19129] + * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore + r0 and r1. + +2015-10-14 Namhyung Kim + + * manaual/argp.texi (Specifying Argp Parsers): Fix typo. + +2015-10-14 Carlos O'Donell + + * include/stap-probe.h: Fix macro definition formatting. + +2015-10-14 Florian Weimer + + [BZ #19074] + * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to + load and store num_ifs. + +2015-10-14 H.J. Lu + + [BZ #18822] + * sysdeps/unix/sysv/linux/sched_getaffinity.c + (__sched_getaffinity_new): Add libc_hidden_proto and + libc_hidden_def. + +2015-10-14 H.J. Lu + + [BZ #19007] + * scripts/localplt.awk: Also allow GOT references. + * sysdeps/unix/sysv/linux/i386/localplt.data: Mark + _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign + with "+ REL R_386_GLOB_DAT". + * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc + and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT". + +2015-10-14 H.J. Lu + + * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use + INLINE_SYSCALL_ERROR_RETURN_VALUE. + * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): + Likewise. + * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise. + * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise. + * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use + INTERNAL_SYSCALLINTERNAL_SYSCALL and + INLINE_SYSCALL_ERROR_RETURN_VALUE. + * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise. + * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise. + * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): + Likewise. + * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise. + +2015-10-13 Joseph Myers + + [BZ #19125] + * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include , + and . + (__llround): Avoid conversions to and from long long int, and + subtractions, where those might raise spurious exceptions. + * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include + and . + (__llroundf): Avoid conversions to and from long long int, and + subtractions, where those might raise spurious exceptions. + +2015-10-13 H.J. Lu + + * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use + INLINE_SYSCALL_ERROR_RETURN_VALUE. + * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise. + * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise. + * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise. + * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise. + * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise. + * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise. + * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise. + * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise. + * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise. + * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise. + * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise. + * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise. + * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise. + * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise. + * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise. + * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise. + * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise. + * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise. + * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise. + * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise. + * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise. + * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise. + * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise. + * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise. + * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise. + * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise. + * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise. + * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise. + (__xstat64_conv): Likewise. + (__xstat32_conv): Likewise. + +2015-10-13 H.J. Lu + + * sysdeps/unix/sysv/linux/sysdep.h: New file. + * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include + . + * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu] + (sysdep-dl-routines): Add sysdep. + [$(subdir) == nptl] (libpthread-routines): Likewise. + [$(subdir) == rt] (librt-routines): Likewise. + * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check + PIC when branching to SYSCALL_ERROR_LABEL. + * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed. + * sysdeps/unix/sysv/linux/i386/sysdep.h: Include + . + (SYSCALL_ERROR_LABEL): Changed to __syscall_error. + (SYSCALL_ERROR_ERRNO): Removed. + (SYSCALL_ERROR_HANDLER): Changed to empty. + (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise. + (__syscall_error): New prototype. + [IS_IN (libc)] (INLINE_SYSCALL): New macro. + (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise. + +2015-10-13 H.J. Lu + + [BZ #19124] + * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT] + (_dl_runtime_resolve_avx512): Make it a hidden alias of + _dl_runtime_resolve_avx. + (_dl_runtime_profile_avx512): Make it a hidden alias of + _dl_runtime_profile_avx. + +2015-10-13 Joseph Myers + + * sysdeps/powerpc/fpu/s_llround.c: Move to .... + * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here. + * sysdeps/powerpc/fpu/s_llroundf.c: Move to .... + * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here. + + [BZ #16422] + * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz): + New configure test. + * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated. + * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro. + * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include , + and . + (__llrint): Avoid conversions to long long int where those might + raise spurious exceptions. + * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include + and . + (__llrintf): Avoid conversions to long long int where those might + raise spurious exceptions. + +2015-10-12 Andreas Schwab + + [BZ #18969] + * debug/Makefile (LOCALES): Define. Include gen-locales.mk. + ($(objpfx)tst-chk1.out): Depend on $(gen-locales). + * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk. + ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on + $(gen-locales). + * intl/Makefile (LOCALES): Define. Include gen-locales.mk. + ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out) + ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out) + ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out) + ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on + $(gen-locales). + * libio/Makefile (LOCALES): Define. Include gen-locales.mk. + ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out) + ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out) + ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out) + ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out) + ($(objpfx)tst-ftell-active-handler.out) + ($(objpfx)tst-ftell-append.out) + ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out) + ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out) + ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out) + ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales). + * posix/Makefile (LOCALES): Define. Include gen-locales.mk. + ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out) + ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out) + ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out) + ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out) + ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out) + ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out) + ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out) + ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out) + ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out) + ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out) + ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out) + ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out) + ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales). + * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk. + ($(objpfx)bug14.out, $(objpfx)scanf13.out) + ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out) + ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out) + ($(objpfx)tst-swprintf.out): Depend on $(gen-locales). + * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk. + ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out) + ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out) + ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on + $(gen-locales). + * time/Makefile (LOCALES): Define. Include gen-locales.mk. + ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on + $(gen-locales). + * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk. + ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out) + ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out) + ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on + $(gen-locales). + * libio/tst_wprintf2.c (main): Use explicit locale. + * wcsmbs/wcsmbs-tst1.c (main): Likewise. + +2015-10-10 Samuel Thibault + + * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by + __msg_sig_post. + * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type. + +2015-10-09 Joseph Myers + + * sysdeps/mips/mips32/libm-test-ulps: Regenerated. + * sysdeps/mips/mips64/libm-test-ulps: Likewise. + + * sysdeps/arm/libm-test-ulps: Regenerated. + + [BZ #15470] + * sysdeps/arm/fix-fp-int-convert-overflow.h: New file. + + [BZ #16399] + * sysdeps/generic/fix-fp-int-convert-overflow.h: New file. + * sysdeps/ieee754/dbl-64/s_llrint.c: Include , + and . + (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if + FIX_DBL_LLONG_CONVERT_OVERFLOW. + * sysdeps/ieee754/dbl-64/s_llround.c: Include , + and . + (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if + FIX_DBL_LLONG_CONVERT_OVERFLOW. + * sysdeps/ieee754/dbl-64/s_lrint.c: Include + . + (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if + FIX_DBL_LLONG_CONVERT_OVERFLOW. + * sysdeps/ieee754/dbl-64/s_lround.c: Include + . + (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if + FIX_DBL_LLONG_CONVERT_OVERFLOW. + * sysdeps/ieee754/flt-32/s_llrintf.c: Include , + and . + (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if + FIX_DBL_LLONG_CONVERT_OVERFLOW. + * sysdeps/ieee754/flt-32/s_llroundf.c: Include , + and . + (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if + FIX_DBL_LLONG_CONVERT_OVERFLOW. + * sysdeps/ieee754/flt-32/s_lrintf.c: Include , + and . + (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if + FIX_DBL_LLONG_CONVERT_OVERFLOW. + * sysdeps/ieee754/flt-32/s_lroundf.c: Include , + and . + (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if + FIX_DBL_LLONG_CONVERT_OVERFLOW. + * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file. + +2015-10-09 Carlos O'Donell + + [BZ #18589] + * string/bug-strcoll2.c: Adjust copyright, and remove contributed by. + * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on + $(gen-locales). + +2015-10-09 Adhemerval Zanella + Phil Blundell + + * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c. + * nptl/tst-cancel26.c: New file. + * nptl/tst-cancel27.c: Likewise. + +2015-10-09 H.J. Lu + + * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if + __ILP32__ isn't defined. + (lrint): Likewise. + * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise. + (lrintf): Likewise. + * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise. + (lrintl): Likewise. + * sysdeps/x86_64/x32/fpu/s_lrint.S: New file. + * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise. + * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise. + +2015-10-09 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S + * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S + + * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove + file. + * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise. + * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise. + +2015-10-09 Joseph Myers + + * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove + configure test. + * sysdeps/i386/configure: Regenerated. + * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove + configure test. + * sysdeps/x86_64/configure: Regenerated. + * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]: + Make code unconditional. + + * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure + test. + * sysdeps/i386/configure: Regenerated. + * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure + test. + * sysdeps/x86_64/configure: Regenerated. + * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]: + Make code unconditional. + * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]: + Likewise. + * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]: + Likewise. + [!HAVE_FMA4_SUPPORT]: Remove conditional code. + * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make + code unconditional. + [!HAVE_FMA4_SUPPORT]: Remove conditional code. + * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make + code unconditional. + [!HAVE_FMA4_SUPPORT]: Remove conditional code. + * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make + code unconditional. + * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make + code unconditional. + [!HAVE_FMA4_SUPPORT]: Remove conditional code. + * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make + code unconditional. + [!HAVE_FMA4_SUPPORT]: Remove conditional code. + * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make + code unconditional. + [!HAVE_FMA4_SUPPORT]: Remove conditional code. + * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make + code unconditional. + [!HAVE_FMA4_SUPPORT]: Remove conditional code. + * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make + code unconditional. + [!HAVE_FMA4_SUPPORT]: Remove conditional code. + * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef. + + [BZ #19095] + * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of + mantissa to long int before shifting left. + +2015-10-08 Joseph Myers + + [BZ #19094] + * sysdeps/ieee754/dbl-64/s_lrint.c: Include and + . + (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception + when result overflows but exception would not result from cast. + * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include and + . + (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception + when result overflows but exception would not result from cast. + * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include and + . + (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception + when result overflows but exception would not result from cast. + * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include and + . + (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception + when result overflows but exception would not result from cast. + * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include and + . + (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception + when result overflows but exception would not result from cast. + * math/libm-test.inc (lrint_test_data): Add more tests. + (llrint_test_data): Likewise. + +2015-10-08 Roland McGrath + + [BZ #18872] + * stdio-common/Makefile ($(objpfx)tst-unbputc.out): + Move out from under [$(run-built-tests) = yes] conditional. + ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise. + ($(objpfx)tst-printf-bz18872-mem.out): Likewise. + +2015-10-08 Carlos O'Donell + + [BZ #18589] + * string/Makefile (tests): Add bug-strcoll2. + (LOCALES): Add cs_CZ.UTF-8. + * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string. + + [BZ #18589] + * string/bug-strcoll2.c: New file. + * locale/categories.def: Revert commit + f13c2a8dff2329c6692a80176262ceaaf8a6f74e. + * locale/langinfo.h: Likewise. + * locale/localeinfo.h: Likewise. + * locale/C-collate.c: Likewise. + * locale/programs/ld-collate.c (collate_output): Likewise. + * string/strcoll_l.c (STRDIFF): Likewise. + (STRCOLL): Likewise. + * wcsmbs/wcscoll_l.c: Likewise. + +2015-10-08 Joseph Myers + + * math/libm-test.inc (lround_test_data): Do not expect the absence + of "inexact" for some tests with non-integer arguments. + (llround_test_data): Likewise. + + * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure + test. + (libc_cv_cc_sse2avx): Likewise. + * sysdeps/i386/configure: Regenerated. + * sysdeps/i386/i686/multiarch/Makefile + [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to + [$(subdir) = math]. + * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make + code unconditional. + * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]: + Likewise. + * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]: + Likewise. + * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]: + Likewise. + * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure + test. + (libc_cv_cc_sse2avx): Likewise. + * sysdeps/x86_64/configure: Regenerated. + * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code + unconditional. + * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile) + [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code + unconditional. + (_dl_runtime_profile) + [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove + conditional code. + * sysdeps/x86_64/fpu/multiarch/Makefile + [$(config-cflags-sse2avx) = yes]: Make code unconditional. + * sysdeps/x86_64/fpu/multiarch/e_atan2.c + [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise. + * sysdeps/x86_64/fpu/multiarch/e_exp.c + [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise. + * sysdeps/x86_64/fpu/multiarch/e_log.c + [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_atan.c + [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]: + Likewise. + * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]: + Likewise. + * sysdeps/x86_64/fpu/multiarch/s_sin.c + [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_tan.c + [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise. + * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise. + * config.h.in (HAVE_AVX_SUPPORT): Remove #undef. + (HAVE_SSE2AVX_SUPPORT): Likewise. + +2015-10-07 Paul Pluzhnikov + + * stdio-common/tst-printf-bz18872.sh: Use attribute optimize + instead of #pragma optimize. + +2015-10-07 Carlos O'Donell + + [BZ #17195] + * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size, + as is similarly done in systrim and _int_free already. + +2015-10-08 Samuel Thibault + + * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify. + +2015-10-07 Joseph Myers + + [BZ #19088] + * sysdeps/ieee754/dbl-64/s_lround.c: Include and + . + (__lround) [FE_INVALID]: Force FE_INVALID exception when result + overflows but exception would not result from cast. + * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include + and . + (__lround) [FE_INVALID]: Force FE_INVALID exception when result + overflows but exception would not result from cast. + * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include and + . + (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result + overflows but exception would not result from cast. + * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include and + . + (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result + overflows but exception would not result from cast. + * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include and + . + (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result + overflows but exception would not result from cast. + * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include and + . + (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result + overflows but exception would not result from cast. + * math/libm-test.inc (lround_test_data): Add more tests. + (llround_test_data): Likewise. + +2015-10-07 Steve Ellcey + + * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable. + (CFLAGS-ialloc.c): Ditto. + (CFLAGS-scheck.c): Ditto. + +2015-10-07 Carlos O'Donell + + [BZ #19086] + * manual/filesys.texi (Storage Allocation): Fix argument order for + posix_fallocate64. + +2015-10-07 Joseph Myers + + [BZ #19085] + * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for + exponent below 48 inside case for non-overflowing exponent. + * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise. + +2015-10-07 Florian Weimer + + * iconvdata/cp737.h (from_idx): Add const. + * iconvdata/cp775.h (from_idx): Likewise. + +2015-10-07 Joseph Myers + + * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64. + * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c + (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error. + + [BZ #19079] + * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous + file, conditioned on [!_LP64]. + * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c + [!_LP64] (__lround): Do not define as function or alias. + [!_LP64] (lround): Likewise. + [!_LP64] (__lroundl): Likewise. + [!_LP64] (lroundl): Likewise. + * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove + macro. + * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64): + Likewise. + +2015-10-06 Joseph Myers + + * math/libm-test.inc (lrint_test_data): Add more tests. + (llrint_test_data): Likewise. + (lround_test_data): Likewise. + (llround_test_data): Likewise. + + * math/libm-test.inc (lrint_test_data): Add tests used for llrint. + (llrint_test_data): Add tests used for lrint. + + * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure + test. + * sysdeps/i386/configure: Regenerated. + * sysdeps/i386/i686/multiarch/Makefile + [$(config-cflags-sse4) = yes]: Make code unconditional. + * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]: + Likewise. + * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: + Likewise. + * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure + test. + * sysdeps/x86_64/configure: Regenerated. + * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]: + Make code unconditional. + * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]: + Likewise. + * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise. + * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef. + + * scripts/rpm2dynsym.sh: Remove file. + +2015-10-06 Florian Weimer + + * configure.ac (libc_cv_cxx_thread_local): Define. + * configure: Regenerate. + * config.make.in (have-cxx-thread_local): Define. + * nptl/Makefile (CFLAGS-tst-thread_local1.o): + (LDLIBS-tst-thread_local1): Define. + (tests): Add tst-thread_local1. + [have-cxx-thread_local != yes] (tests-unsupported): Add + tst-thread_local1. + * nptl/tst-thread_local1.cc: New file. + +2015-10-06 Joseph Myers + + [BZ #19078] + * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable. + (u_thres): Likewise. + (__expl): Determine whether to call __kernel_standard_l based on + value of result, not argument. + + * math/libm-test.inc (scalb_test_data): Add more expectations for + the "inexact" exception. + + [BZ #19077] + * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return + 0.0L for argument 1.0L. + + [BZ #19076] + * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by + constant 0.0L when computing infinite result. + +2015-10-06 Florian Weimer + + [BZ #10432] + * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to + malloc_usable_size. + +2015-10-06 Florian Weimer + + [BZ #19018] + * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): + Mangle function pointer before storing it. + (__call_tls_dtors): Demangle function pointer before calling it. + +2015-10-05 Paul Pluzhnikov + + [BZ #19012] + * iconv/gconv_db.c (gen_steps): Check for additional errors. + Clean up on failure. + +2015-10-05 Joseph Myers + + [BZ #19071] + * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned + long int variable to store possibly incremented high part of + mantissa. + * math/libm-test.inc (lround_test_data): Add tests used for + llround. Use [LONG_MAX > 0x7fffffff] consistently as condition + for tests requiring 64-bit long. Do not condition tests on + [TEST_FLOAT] unnecessarily. + (llround_test_data): Add tests used for lround. Add another + expectation for the "inexact" exception. Do not condition tests + on [TEST_FLOAT] unnecessarily. + + [BZ #887] + [BZ #19049] + [BZ #19050] + * sysdeps/generic/fix-int-fp-convert-zero.h: New file. + * sysdeps/ieee754/dbl-64/e_log10.c: Include + . + (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO. + * sysdeps/ieee754/dbl-64/e_log2.c: Include + . + (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO. + * sysdeps/ieee754/dbl-64/s_erf.c: Include + . + (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO. + * sysdeps/ieee754/dbl-64/s_logb.c: Include + . + (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO. + * sysdeps/ieee754/flt-32/e_log10f.c: Include + . + (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO. + * sysdeps/ieee754/flt-32/e_log2f.c: Include + . + (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO. + * sysdeps/ieee754/flt-32/s_erff.c: Include + . + (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO. + * sysdeps/ieee754/flt-32/s_logbf.c: Include + . + (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO. + * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include + . + (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO. + * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include + . + (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO. + * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file. + * sysdeps/powerpc/powerpc32/fpu/configure: New generated file. + * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New + file. + * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro. + +2015-10-03 Paul Pluzhnikov + + * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated. + +2015-10-02 Joseph Myers + + [BZ #19059] + * math/s_nexttowardf.c (__nexttowardf): Do not return value from + overflowing computation. + * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise. + * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise. + * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): + Likewise. + * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf): + Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): + Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf): + Likewise. + * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise. + * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): + Likewise. + * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf): + Likewise. + * math/libm-test.inc (nexttoward_test_data): Add more tests. + + * nss/rewrite_field.c (__nss_rewrite_field): Use + internal_function. + * nss/valid_field.c (__nss_valid_field): Likewise. + * nss/valid_list_field.c (__nss_valid_list_field): Likewise. + +2015-10-02 Florian Weimer + + [BZ #18724] + * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define. + (__nss_invalid_field_characters, __nss_valid_field) + (__nss_valid_list_field, __nss_rewrite_field): Declare. + * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c, + tst-field.c: New file. + * nss/Makefile (routines): Add valid_field, rewrite_field. + (tests-static): Define unconditionally. + (tests): Include tests-static. + [build-static-nss] (tests-static): Use append. + [build-static-nss] (tests): Remove modification. + * nss/getent.c (print_group): Call putgrent. Report error. + (print_gshadow): Call putsgent. Report error. + (print_passwd): Call putpwent. Report error. + (print_shadow): Call putspent. Report error. + * include/pwd.h: Include instead of . + * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute. + * pwd/putpwent.c (putpwent): Use ISO function definition. Check + name, password, directory, shell fields for valid syntax. Rewrite + GECOS field to match syntax. + * pwd/Makefile (tests): Add tst-putpwent. + * pwd/tst-putpwent.c: New file. + * grp/putgrent.c (putgrent): Convert to ISO function definition. + Check grName, grpasswd, gr_mem fields for valid syntax. + Change loop variable i to size_t. + * grp/Makefile (tests): Add tst-putgrent. + * grp/tst-putgrent.c: New file. + * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for + valid syntax. + * shadow/Makefile (tests): Add tst-putspent. + * shadow/tst-putspent.c: New file. + * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm, + sg_mem fields for valid syntax. + * gshadow/Makefile (tests): Add tst-putsgent. + * gshadow/tst-putsgent.c: New file. + +2015-10-01 Gabriel F. T. Gomes + + * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some + assembly instructions. + +2015-10-01 Gabriel F. T. Gomes + + * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register + prefix from operands. + +2015-10-01 Joseph Myers + + [BZ #16347] + [BZ #19046] + * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include + . + (MAXLGM): Do not use diagnostic control macros. + [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow + threshold for ldbl-128ibm. + (__ieee754_lgammal_r): For large arguments, multiply by log - 1 + instead of multiplying by log then subtracting. + * math/auto-libm-test-in: Add more tests of lgamma. + * math/auto-libm-test-out: Regenerated. + + * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro. + (TYPE_HEX_DIG): Likewise. + (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as + precisions when printing floating-point numbers. + (check_float_internal): Likewise. + +2015-09-30 Joseph Myers + + [BZ #16620] + * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value + of log (10) rounded downward to 48 bits. + (log10_low): Use corresponding low part of log (10). + + [BZ #19032] + * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1, + compute result as (x - x) / (x - x) not as 0 / 0. + * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise. + * math/libm-test.inc (acosh_test_data): Add another test of acosh. + + * math/auto-libm-test-in: Add more tests of acos, acosh, asin, + atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2 + and expm1. + * math/auto-libm-test-out: Regenerated. + * math/libm-test.inc (acos_test_data): Add more tests. + (asin_test_data): Likewise. + (asinh_test_data): Likewise. + (atan_test_data): Likewise. + (atanh_test_data): Likewise. + (atan2_test_data): Likewise. + (cbrt_test_data): Likewise. + (ceil_test_data): Likewise. + (copysign_test_data): Likewise. + (cos_test_data): Likewise. + (cosh_test_data): Likewise. + (erf_test_data): Likewise. + (erfc_test_data): Likewise. + (exp_test_data): Likewise. + (exp10_test_data): Likewise. + (exp2_test_data): Likewise. + (expm1_test_data): Likewise. + * sysdeps/x86_64/fpu/libm-test-ulps: Update. + +2015-09-30 H.J. Lu + + [BZ #19006] + * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved + to ... + * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here. + * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved + to ... + * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here. + * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved + to ... + * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here. + * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ... + * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here. + * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved + to ... + * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here. + * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: + Moved to ... + * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here. + * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: + Moved to ... + * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here. + * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved + to ... + * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here. + * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: + Moved to ... + * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here. + * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved + to ... + * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here. + * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: + Removed. + * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: + Likewise. + * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: + Likewise. + * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise. + * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: + Likewise. + * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: + Likewise. + * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: + Likewise. + * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: + Likewise. + * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: + Likewise. + * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: + Likewise. + * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: + Likewise. + * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: + Likewise. + * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: + Likewise. + * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise. + * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: + Likewise. + * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: + Likewise. + * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: + Likewise. + * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: + Likewise. + * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: + Likewise. + * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: + Replace ../i486/pthread_cond_timedwait.S with + ../pthread_cond_timedwait.S. + +2015-09-30 Joseph Myers + + * math/libm-test.inc (acos_test_data): Refine expectations for + errno and "inexact" exceptions. + (acosh_test_data): Likewise. + (asin_test_data): Likewise. + (asinh_test_data): Likewise. + (atan_test_data): Likewise. + (atanh_test_data): Likewise. + (atan2_test_data): Likewise. + (cbrt_test_data): Likewise. + (ceil_test_data): Likewise. + (copysign_test_data): Likewise. + (cosh_test_data): Likewise. + (erf_test_data): Likewise. + (erfc_test_data): Likewise. + (exp_test_data): Likewise. + (exp10_test_data): Likewise. + (exp2_test_data): Likewise. + (expm1_test_data): Likewise. + (fabs_test_data): Likewise. + (floor_test_data): Likewise. + (fma_test_data): Likewise. + (fmax_test_data): Likewise. + (fmin_test_data): Likewise. + (fmod_test_data): Likewise. + (fpclassify_test_data): Likewise. + (frexp_test_data): Likewise. + (hypot_test_data): Likewise. + (ilogb_test_data): Likewise. + (isgreater_test_data): Likewise. + (isgreaterequal_test_data): Likewise. + (isinf_test_data): Likewise. + (isless_test_data): Likewise. + (islessequal_test_data): Likewise. + (islessgreater_test_data): Likewise. + (isnan_test_data): Likewise. + (isnormal_test_data): Likewise. + (issignaling_test_data): Likewise. + (isunordered_test_data): Likewise. + (j0_test_data): Likewise. + (j1_test_data): Likewise. + (jn_test_data): Likewise. + (lgamma_test_data): Likewise. + (lrint_test_data): Likewise. + (llrint_test_data): Likewise. + (log_test_data): Likewise. + (log10_test_data): Likewise. + (log1p_test_data): Likewise. + (log2_test_data): Likewise. + (logb_test_data): Likewise. + (lround_test_data): Likewise. + (llround_test_data): Likewise. + (modf_test_data): Likewise. + (nearbyint_test_data): Likewise. + (nextafter_test_data): Likewise. + (nexttoward_test_data): Likewise. + (pow_test_data): Likewise. + (remainder_test_data): Likewise. + (remquo_test_data): Likewise. + (rint_test_data): Likewise. + (round_test_data): Likewise. + (signbit_test_data): Likewise. + (sinh_test_data): Likewise. + (sqrt_test_data): Likewise. + (tanh_test_data): Likewise. + (tgamma_test_data): Likewise. + (trunc_test_data): Likewise. + (y0_test_data): Likewise. + (y1_test_data): Likewise. + (yn_test_data): Likewise. + (significand_test_data): Likewise. + +2015-09-29 Carlos O'Donell + + * manual/filesys.texi (Storage Allocation): Document that + posix_fallocate emulation fails when fd is open with O_WRONLY. + +2015-09-28 Joseph Myers + + [BZ #19016] + * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to + allow more cases with X^2 + Y^2 >= 0.5. + * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as + normal element in sum instead of special-casing based on values of + arguments. + * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment. + * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add + -1 as normal element in sum instead of special-casing based on + values of arguments. + * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise. + * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0] + (__x2y2m1): Update comment. + * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1 + as normal element in sum instead of special-casing based on values + of arguments. + * math/s_clog.c (__clog): Handle more cases using log1p without + hypot. + * math/s_clog10.c (__clog10): Likewise. + * math/s_clog10f.c (__clog10f): Likewise. + * math/s_clog10l.c (__clog10l): Likewise. + * math/s_clogf.c (__clogf): Likewise. + * math/s_clogl.c (__clogl): Likewise. + * math/auto-libm-test-in: Add more tests of clog and clog10. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2015-09-28 Martin Sebor + + [BZ #18969] + * string/Makefile (LOCALES): Define. + (gen-locales.mk): Include. + (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out) + (tst-strxfrm2.out): Add deppendency on $(gen-locales). + * string/tst-strxfrm2.c (do_test): Print the name of the locale + on setlocale failure. + +2015-09-26 Paul Pluzhnikov + + [BZ #18985] + * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check. + (__strftime_internal): Likewise. + * time/tst-strftime.c (do_bz18985): New test. + (do_test): Call it. + +2015-09-26 Joseph Myers + + [BZ #18956] + * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000 + not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when + extracting high part. + * math/auto-libm-test-in: Add another test of pow. + * math/auto-libm-test-out: Regenerated. + * sysdeps/x86_64/fpu/libm-test-ulps: Update. + +2015-09-25 Joseph Myers + + [BZ #18825] + * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN): + New macro. + (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise. + (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise. + * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN. + (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of + DBL_NARROW_EVAL, reloading the PIC register as needed. + * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN. + (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of + FLT_NARROW_EVAL. Use separate return path for case when first + argument is NaN. + * sysdeps/i386/fpu/e_powl.S: Include . Use + DEFINE_LDBL_MIN. + (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the + PIC register. + * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use + math_check_force_underflow_nonneg. + * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force + underflow for subnormal result. + * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use + math_check_force_underflow_nonneg. + * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use + math_check_force_underflow. + * sysdeps/x86_64/fpu/x86_64-math-asm.h + (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro. + * sysdeps/x86_64/fpu/e_powl.S: Include . Use + DEFINE_LDBL_MIN. + (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN. + * math/auto-libm-test-in: Add more tests of pow. + * math/auto-libm-test-out: Regenerated. + +2015-09-25 Florian Weimer + + * nss/bug17079.c (init_test_items): Add diagnostic for + inconsistent entries. + (test_buffer_size): Skip inconsistent entries. + +2015-09-25 Joseph Myers + + [BZ #13304] + * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file. + * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise. + * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise. + + [BZ #13304] + * sysdeps/microblaze/s_fma.c: New file. + * sysdeps/microblaze/s_fmaf.c: Likewise. + * sysdeps/microblaze/sfp-machine.h: Likewise. + +2015-09-25 Maciej W. Rozycki + + [BZ #17250] + * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1 + member. + +2015-09-24 Joseph Myers + + [BZ #18803] + * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN. + (MO): New macro. + (__ieee754_hypot) [PIC]: Load PIC register. + (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of + DBL_NARROW_EVAL. + * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use + math_check_force_underflow_nonneg in case where result might be + tiny. + * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): + Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): + Likewise. + * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise. + * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise. + * math/auto-libm-test-in: Add more tests of hypot. + * math/auto-libm-test-out: Regenerated. + +2015-09-24 Steve Ellcey + + * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused. + +2015-09-24 Joseph Myers + + * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file. + * sysdeps/x86_64/fpu/e_exp2l.S: Include . + (ldbl_min): Replace with use of DEFINE_LDBL_MIN. + (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN. + * sysdeps/x86_64/fpu/e_expl.S: Include . + [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN. + (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG. + + * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use + LOAD_PIC_REG. + + * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro. + (FLT_CHECK_FORCE_UFLOW): Likewise. + (DBL_CHECK_FORCE_UFLOW): Likewise. + (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise. + (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise. + (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise. + (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise. + (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise. + (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise. + (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise. + (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise. + * sysdeps/i386/fpu/e_asin.S: Include . + (dbl_min): Replace with use of DEFINE_DBL_MIN. + (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW. + * sysdeps/i386/fpu/e_asinf.S: Include . + (flt_min): Replace with use of DEFINE_FLT_MIN. + (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW. + * sysdeps/i386/fpu/e_atan2.S: Include . + (dbl_min): Replace with use of DEFINE_DBL_MIN. + (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW. + * sysdeps/i386/fpu/e_atan2f.S: Include . + (flt_min): Replace with use of DEFINE_FLT_MIN. + (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW. + * sysdeps/i386/fpu/e_atanh.S: Include . + (dbl_min): Replace with use of DEFINE_DBL_MIN. + (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG. + * sysdeps/i386/fpu/e_atanhf.S: Include . + (flt_min): Replace with use of DEFINE_FLT_MIN. + (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG. + * sysdeps/i386/fpu/e_exp2l.S: Include . + (ldbl_min): Replace with use of DEFINE_LDBL_MIN. + (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN. + * sysdeps/i386/fpu/e_expl.S: Include . + [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN. + (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG. + * sysdeps/i386/fpu/s_atan.S: Include . + (dbl_min): Replace with use of DEFINE_DBL_MIN. + (__atan): Use DBL_CHECK_FORCE_UFLOW. + * sysdeps/i386/fpu/s_atanf.S: Include . + (flt_min): Replace with use of DEFINE_FLT_MIN. + (__atanf): Use FLT_CHECK_FORCE_UFLOW. + * sysdeps/i386/fpu/s_expm1.S: Include . + (dbl_min): Replace with use of DEFINE_DBL_MIN. + (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after + main computation. + * sysdeps/i386/fpu/s_expm1f.S: Include . + (flt_min): Replace with use of DEFINE_FLT_MIN. + (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after + main computation. + * sysdeps/i386/fpu/s_log1p.S: Include . + (dbl_min): Replace with use of DEFINE_DBL_MIN. + (MO): New macro. + (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN. + * sysdeps/i386/fpu/s_log1pf.S: Include . + (flt_min): Replace with use of DEFINE_FLT_MIN. + (MO): New macro. + (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN. + * sysdeps/i386/fpu/s_log1pl.S (MO): New macro. + (__log1pl): Use MO. + + [BZ #19003] + * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add + $(config-cflags-nofma). + +2015-09-24 Szabolcs Nagy + + * sysdeps/aarch64/libm-test-ulps: Regenerated. + +2015-09-23 Joseph Myers + + * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile. + (TWO127): Likewise. + + * sysdeps/generic/math_private.h (fabs_tg): New macro. + (min_of_type): Likewise. + (math_check_force_underflow): Likewise. + (math_check_force_underflow_nonneg): Likewise. + (math_check_force_underflow_complex): Likewise. + * math/e_exp2l.c (__ieee754_exp2l): Use + math_check_force_underflow_nonneg. + * math/k_casinh.c (__kernel_casinh): Likewise. + * math/k_casinhf.c (__kernel_casinhf): Likewise. + * math/k_casinhl.c (__kernel_casinhl): Likewise. + * math/s_catan.c (__catan): Use + math_check_force_underflow_complex. + * math/s_catanf.c (__catanf): Likewise. + * math/s_catanh.c (__catanh): Likewise. + * math/s_catanhf.c (__catanhf): Likewise. + * math/s_catanhl.c (__catanhl): Likewise. + * math/s_catanl.c (__catanl): Likewise. + * math/s_ccosh.c (__ccosh): Likewise. + * math/s_ccoshf.c (__ccoshf): Likewise. + * math/s_ccoshl.c (__ccoshl): Likewise. + * math/s_cexp.c (__cexp): Likewise. + * math/s_cexpf.c (__cexpf): Likewise. + * math/s_cexpl.c (__cexpl): Likewise. + * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg. + * math/s_clog10.c (__clog10): Likewise. + * math/s_clog10f.c (__clog10f): Likewise. + * math/s_clog10l.c (__clog10l): Likewise. + * math/s_clogf.c (__clogf): Likewise. + * math/s_clogl.c (__clogl): Likewise. + * math/s_csin.c (__csin): Use math_check_force_underflow_complex. + * math/s_csinf.c (__csinf): Likewise. + * math/s_csinh.c (__csinh): Likewise. + * math/s_csinhf.c (__csinhf): Likewise. + * math/s_csinhl.c (__csinhl): Likewise. + * math/s_csinl.c (__csinl): Likewise. + * math/s_csqrt.c (__csqrt): Use math_check_force_underflow. + * math/s_csqrtf.c (__csqrtf): Likewise. + * math/s_csqrtl.c (__csqrtl): Likewise. + * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex. + * math/s_ctanf.c (__ctanf): Likewise. + * math/s_ctanh.c (__ctanh): Likewise. + * math/s_ctanhf.c (__ctanhf): Likewise. + * math/s_ctanhl.c (__ctanhl): Likewise. + * math/s_ctanl.c (__ctanl): Likewise. + * stdlib/strtod_l.c (round_and_return): Use math_force_eval + instead of volatile. + * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use + math_check_force_underflow. + * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise. + * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use + volatile when forcing underflow. + * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use + math_check_force_underflow_nonneg. + * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): + Likewise. + * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use + math_check_force_underflow. + * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise. + * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise. + * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise. + * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use + math_check_force_underflow_nonneg. + * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use + math_check_force_underflow. + * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise. + * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval + instead of volatile. + * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use + math_check_force_underflow. + * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise. + * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use + math_check_force_underflow_nonneg. + * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use + math_check_force_underflow. + * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise. + * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise. + * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use + math_check_force_underflow_nonneg. + * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): + Likewise. + * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use + math_check_force_underflow. + * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise. + * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise. + * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise. + * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise. + * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise. + * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise. + * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise. + * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise. + * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise. + * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise. + * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise. + * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl): + Likewise. + * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use + math_check_force_underflow_nonneg. + * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r): + Likewise. + * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use + math_check_force_underflow. + * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise. + * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise. + * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl): + Likewise. + * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise. + * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise. + * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise. + * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise. + * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise. + * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise. + * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval + instead of volatile. + * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use + math_check_force_underflow. + * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use + math_check_force_underflow. + * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): + Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r): + Use math_check_force_underflow_nonneg. + * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use + math_check_force_underflow. + * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): + Likewise. + * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): + Likewise. + * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise. + * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise. + * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise. + * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use + math_check_force_underflow_nonneg. + * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use + math_check_force_underflow. + * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise. + * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise. + * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise. + * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use + math_check_force_underflow_nonneg. + * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use + math_check_force_underflow. + * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise. + * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval + instead of volatile. + * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use + math_check_force_underflow. + + * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval. + * stdlib/strtod_l.c: Include . + (overflow_value): Use math_narrow_eval. + (underflow_value): Likewise. + * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise. + * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise. + * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise. + (__ieee754_gamma_r): Likewise. + * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf): + Likewise. + * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): + Likewise. + * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise. + * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise. + * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise. + * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise. + * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise. + (__ieee754_gammaf_r): Likewise. + * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): + Likewise. + * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise. + * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise. + * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise. + * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise. + * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use + volatile. + * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise. + * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use + math_narrow_eval. + * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): + Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf): + Likewise. + * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product): + Likewise. + * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use + volatile. + * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise. + * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use + math_narrow_eval. + * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): + Likewise. + * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf): + Likewise. + +2015-09-22 H.J. Lu + + * nptl/Versions: Remove ignored symbols. + +2015-09-22 Florian Weimer + + * nss/bug17079.c: Renamed from nss/bug18287.c. Add description. + * nss/Makefile (tests): Update. + +2015-09-22 Florian Weimer + + * nss/bug18287.c: New file. + * nss/Makefile (tests): Add bug18287. + +2015-09-22 Samuel Thibault + + * mach/Versions (__mach_host_self_): Add symbol. + +2015-09-21 Samuel Thibault + + * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of + vm_page_size. + +2015-09-19 Samuel Thibault + + Really fix sysdeps/i386/fpu/s_scalbn.S build + + * math/Versions (libc: GLIBC_2_20): New (empty) version set. + (libc: GLIBC_2_22): Remove unused version set. + +2015-09-18 Mike Frysinger + + * config.make.in (enable-timezone-tools): New variable. + * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag. + (enable_timezone_tools): Export to generated files. + * configure: Regenerate. + * INSTALL: Regenerate. + * manual/install.texi (--disable-timezone-tools): Document new flag. + * timezone/Makefile (install-sbin, install-bin-script): Wrap in a + ifeq ($(enable-timezone-tools),yes) check. + +2015-09-18 Joseph Myers + + * timezone/Makefile: Revert previous change. + + [BZ #18980] + * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro. + (DEFINE_DBL_MIN): Likewise. + (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise. + (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise. + (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise. + (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise. + * sysdeps/i386/fpu/e_exp.S: Include . + (dbl_min): Replace with use of DEFINE_DBL_MIN. + (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN. + (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG. + * sysdeps/i386/fpu/e_exp10.S: Include . + (dbl_min): Replace with use of DEFINE_DBL_MIN. + (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN. + * sysdeps/i386/fpu/e_exp10f.S: Include . + (flt_min): Replace with use of DEFINE_FLT_MIN. + (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN. + * sysdeps/i386/fpu/e_exp2.S: Include . + (dbl_min): Replace with use of DEFINE_DBL_MIN. + (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN. + * sysdeps/i386/fpu/e_exp2f.S: Include . + (flt_min): Replace with use of DEFINE_FLT_MIN. + (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN. + * sysdeps/i386/fpu/e_expf.S: Include . + (flt_min): Replace with use of DEFINE_FLT_MIN. + (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN. + (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG. + * sysdeps/i386/fpu/e_hypot.S: Include . + (__ieee754_hypot): Use DBL_NARROW_EVAL. + * sysdeps/i386/fpu/e_hypotf.S: Include . + (__ieee754_hypotf): Use FLT_NARROW_EVAL. + * sysdeps/i386/fpu/e_pow.S: Include . + (__ieee754_pow): Use DBL_NARROW_EVAL. + * sysdeps/i386/fpu/e_powf.S: Include . + (__ieee754_powf): Use FLT_NARROW_EVAL. + * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S + (__ieee754_expf_sse2): Convert double-precision result to single + precision. + * sysdeps/i386/fpu/libm-test-ulps: Update. + +2015-09-18 Wilco Dijkstra + + * timezone/Makefile: Ignore unused variable errors due to private.h + (time_t_min) and (time_t_max). + * timezone/private.h (time_t_min): Revert removal. (time_t_max): + Likewise. + +2015-09-18 Joseph Myers + + [BZ #18981] + * sysdeps/i386/fpu/i386-math-asm.h: New file. + * sysdeps/i386/fpu/e_scalb.S: Include . + (__ieee754_scalb): Use DBL_NARROW_EVAL. + * sysdeps/i386/fpu/e_scalbf.S: Include . + (__ieee754_scalbf): Use FLT_NARROW_EVAL. + * sysdeps/i386/fpu/s_scalbn.S: Include . + (__scalbn): Use DBL_NARROW_EVAL. + * sysdeps/i386/fpu/s_scalbnf.S: Include . + (__scalbnf): Use FLT_NARROW_EVAL. + +2015-09-18 Wilco Dijkstra + + * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check. + * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise. + * math/w_tgammal.c (__ieee754_gammal_r): Likewise. + * stdio-common/printf_fp.c (___printf_fp): + Use signbit to get the sign. Use isinf macro to allow inlining. + * stdio-common/printf_fphex.c (__printf_fphex): Likewise. + * stdio-common/printf_size.c (__printf_size): Likewise. + +2015-09-18 Mike Frysinger + + * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory). + +2015-09-18 Joseph Myers + + [BZ #18980] + * sysdeps/generic/math_private.h: Include . + (math_narrow_eval): New macro. + [FLT_EVAL_METHOD != 0] (excess_precision): Likewise. + * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use + math_narrow_eval on overflowing return value. + * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): + Likewise. + * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise. + * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise. + * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): + Likewise. + * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise. + +2015-09-18 Wilco Dijkstra + + * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl. + * math/Makefile: Remove isinf_ns.c. + * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf. + * math/multc3.c (__multc3): Likewise. + * math/s_casin.c (__casin): Likewise. + * math/s_casinf.c (__casinf): Likewise. + * math/s_casinl.c (__casinl): Likewise. + * math/s_cproj.c (__cproj): Likewise. + * math/s_cprojf.c (__cprojf): Likewise. + * math/s_cprojl.c (__cprofl): Likewise. + * math/s_ctan.c (__ctan): Likewise. + * math/s_ctanf.c (__ctanf): Likewise. + * math/s_ctanh.c (__ctanh): Likewise. + * math/s_ctanhf.c (__ctanhf): Likewise. + * math/s_ctanhl.c (__ctanhl): Likewise. + * math/s_ctanl.c (__ctanl): Likewise. + * math/w_fmod.c (__fmod): Likewise. + * math/w_fmodf.c (__fmodf): Likewise. + * math/w_fmodl.c (_fmodl): Likewise. + * math/w_remainder.c (__remainder): Likewise. + * math/w_remainderf.c (__remainderf): Likewise. + * math/w_remainderl.c (__remainderl): Likewise. + * math/w_scalb.c (__scalb): Likewise. + * math/w_scalbf.c (__scalbf): Likewise. + * math/w_scalbl.c (__scalbl): Likewise. + * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file. + * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns + with isinf. + * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file. + * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file. + * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace + __isinf_nsf with isinf. + * sysdeps/ieee754/flt-32/math_private.h: Deleted file. + * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file. + * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file. + * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl + with isinf. + * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace + __isinf_nsl with isinf. + * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl + with isinf. + * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file. + * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace + __isinf_nsl with isinf. + * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file. + * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl + with isinf. + +2015-09-18 Wilco Dijkstra + + * resolv/base64.c (rcsid): Remove unused static. + * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused + static. (tqpi1): Likewise. + * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise. + * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise. + * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise. + * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise. + * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise. + * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise. + * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise. + * timezone/private.h (time_t_min): Likewise. (time_t_max): + Likewise. + +2015-09-18 H.J. Lu + + * sysdeps/nptl/jmp-unwind.c: Include instead of + . + (_longjmp_unwind): Use __libc_ptf_call. + * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise. + +2015-09-18 David Lamparter + + * sysdeps/arm/setjmp.S: Change PIC to SHARED. + * sysdeps/arm/__longjmp.S: Likewise. + +2015-09-18 Wilco Dijkstra + + * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit): + Use __builtin_signbit. + * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf): + Use __builtin_signbitf. + * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl): + Use __builtin_signbitl. + * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise. + * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise. + +2015-09-18 Wilco Dijkstra + + [BZ #15367] + [BZ #17441] + + * math/Makefile: Build test-snan.c with -fsignaling-nans. + * math/math.h (fpclassify): Use __builtin_fpclassify when + available. (signbit): Use __builtin_signbit(f/l). + (isfinite): Use__builtin_isfinite. (isnormal): Use + __builtin_isnormal. (isnan): Use __builtin_isnan. + (isinf): Use __builtin_isinf_sign. + +2015-09-18 Wilco Dijkstra + + * benchtests/Makefile: Add bench-math-inlines, link with libm. + * benchtests/bench-math-inlines.c: New benchmark. + * benchtests/bench-util.h: New file. + * benchtests/bench-util.c: New file. + * benchtests/bench-skeleton.c: Add include of bench-util.c/h. + +2015-09-18 Carlos O'Donell + + * elf/tst-dlmopen1.c: Define TEST_SO. + (do_test): Use TEST_SO. + + * elf/dl-load.c: Include libc-internal.h. + (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN. + +2015-09-18 Vincent Bernat + + [BZ #17887] + * time/strptime_l.c (__strptime_internal): Make %z accept + [+-]HH:MM time zones. + +2015-09-18 Vincent Bernat + + [BZ #17886] + * time/strptime_l.c (__strptime_internal): Make %z accept Z as a + valid time zone. + +2015-09-17 Mike Frysinger + + * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete. + * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete. + * sysdeps/unix/sysv/linux/alpha/kernel-features.h + (__ASSUME_FDATASYNC): Delete. + +2015-09-17 Joseph Myers + + * conform/linknamespace.pl: Require weak undefined symbols to be + in the standard namespace. + (%strong_syms): Rename to %seen_syms. + (%strong_seen): Rename to %seen_where. + +2015-09-17 H.J. Lu + + [BZ #18970] + * misc/error.c (error): Replace pthread_setcancelstate with + __pthread_setcancelstate. + (error_at_line): Likewise. + * posix/wordexp.c (parse_comm): Likewise. + * stdlib/fmtmsg.c (fmtmsg): Likewise. + * nptl/forward.c (pthread_setcancelstate): Renamed to ... + (__pthread_setcancelstate): This. + (pthread_setcancelstate): Add an alias. + * nptl/nptl-init.c (pthread_functions): Replace + ptr_pthread_setcancelstate with ptr___pthread_setcancelstate. + * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise. + * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with + hidden_proto. + * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark + it with hidden_def. + * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New. + (pthread_setcancelstate): Renamed to ... + (__pthread_setcancelstate): This. + * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use + __libc_ptf_call with __pthread_setcancelstate. + +2015-09-17 Joseph Myers + Andreas Schwab + + [BZ #17118] + * math/s_ctan.c (__ctan): Determine sign of zero real part of + result when imaginary part of argument is infinite using sine and + cosine. + * math/s_ctanf.c (__ctanf): Likewise. + * math/s_ctanl.c (__ctanl): Likewise. + * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part + of result when real part of argument is infinite using sine and + cosine. + * math/s_ctanhf.c (__ctanhf): Likewise. + * math/s_ctanhl.c (__ctanhl): Likewise. + * math/libm-test.inc (ctan_test_data): Add more tests of ctan. + (ctanh_test_data): Add more tests of ctanh. + +2015-09-17 Joseph Myers + + [BZ #15384] + * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as + bit-mask as in subtraction. + * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite): + Likewise. + * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise. + * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise. + + [BZ #18951] + * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force + underflow exception for small results. + * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): + Likewise. + * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r): + Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r): + Likewise. + * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): + Likewise. + * math/auto-libm-test-in: Add more tests of tgamma. + * math/auto-libm-test-out: Regenerated. + +2015-09-17 Andreas Schwab + + * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd. + +2015-09-16 Joseph Myers + + [BZ #18977] + * math/bits/mathcalls.h + [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do + not declare. + [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1): + Likewise. + [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn): + Likewise. + [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0): + Likewise. + [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1): + Likewise. + [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn): + Likewise. + * conform/data/math.h-data + [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect + function. + [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise. + [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise. + [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise. + [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise. + [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise. + [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise. + [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise. + [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise. + [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise. + [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise. + [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise. + + [BZ #6803] + * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp. + [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp. + * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf. + * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl. + * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias. + * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise. + * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise. + * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise. + [NO_LONG_DOUBLE] (scalbnl): Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn): + Likewise. + [NO_LONG_DOUBLE] (scalbnl): Likewise. + * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise. + * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove + long_double_symbol calls. + * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise. + * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as + strong alias of __ldexpl. + (scalbnl): Define using long_double_symbol. + * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)): + Remove alias. + * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise. + * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise. + * math/libm-test.inc (scalbn_test_data): Add errno expectations. + (scalbln_test_data): Add more errno expectations. + +2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de> + + Cache the host port like we cache the task port. This way we do not + need to call the kernel just to get the port. Furthermore, we no + longer increase the reference count on every invocation of + `mach_host_self'. + + * mach/mach/mach_traps.h (__mach_host_self, mach_host_self): + Protect declarations against the macro expansion. + * mach/mach_init.c (__mach_host_self_): New variable. + (mach_init): Initialize `__mach_host_self_'. + * mach/mach_init.h (__mach_host_self_): New declaration. + (__mach_host_self, mach_host_self): New macros. + * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): + Release reference. + +2015-09-16 Joseph Myers + + [BZ #4404] + * po/de.po: Update from Translation Project. + + [BZ #16415] + * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable. + (__expm1l): Remove code to handle positive infinity and overflow. + * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove + variable. + (__expm1l): Remove code to handle positive infinity and overflow. + +2015-09-16 Paul Eggert + Paul Pluzhnikov + + [BZ #18872] + * stdio-common/Makefile (tst-printf-bz18872): New test. + (tst-printf-bz18872-mem.out): Likewise. + * stdio-common/tst-printf-bz18872.sh: Generate new test. + * stdio-common/vfprintf.c: Fix memory leaks. + +2015-09-16 Andreas Schwab + + [BZ #17244] + * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl): + Remove extra va_start/va_end calls. + + [BZ #17243] + * posix/execl.c (execl): Add missing va_end. + * posix/execle.c (execle): Likewise. + * posix/execlp.c (execlp): Likewise. + +2015-09-15 Roland McGrath + + * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX] + (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX. + +2015-09-15 Joseph Myers + + [BZ #18967] + * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and + undefine around includes of . + * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do + not declare function. + [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise. + [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)] + (scalb): Likewise. + * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do + not define macro. + * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove + variable. + (test-xfail-XOPEN2K/tgmath.h/conform): Likewise. + (test-xfail-XOPEN2K8/math.h/conform): Likewise. + (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise. + + [BZ #18857] + * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just + return non-finite argument without doing ordered comparisons on + it. + + [BZ #16296] + * math/fenv.h (fegetround): Use __attribute_pure__. + * include/fenv.h (__fegetround): Likewise. + + [BZ #18595] + * math/s_ctan.c (__ctan): Force underflow exception for results + whose real or imaginary part has small absolute value. + * math/s_ctanf.c (__ctanf): Likewise. + * math/s_ctanh.c (__ctanh): Likewise. + * math/s_ctanhf.c (__ctanhf): Likewise. + * math/s_ctanhl.c (__ctanhl): Likewise. + * math/s_ctanl.c (__ctanl): Likewise. + * math/auto-libm-test-in: Do not allow missing underflow for ctan + and ctanh. Add more tests of ctan and ctanh. + + [BZ #15918] + * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify + handling of cases where one argument is an infinity. + + [BZ #18875] + [BZ #18966] + * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object. + (MO): New macro. + (__ieee754_exp10): For small results, force underflow exception + and remove excess range and precision from return value. + * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object. + (MO): New macro. + (__ieee754_exp10f): For small results, force underflow exception + and remove excess range and precision from return value. + * math/auto-libm-test-in: Add more tests of exp10. + * math/auto-libm-test-out: Regenerated. + +2015-09-14 Joseph Myers + + [BZ #18875] + [BZ #18961] + * sysdeps/i386/fpu/e_exp.S (dbl_min): New object. + (MO): New macro. + (__ieee754_exp): For small results, force underflow exception and + remove excess range and precision from return value. + (__exp_finite): Likewise. + * sysdeps/i386/fpu/e_expf.S (flt_min): New object. + (MO): New macro. + (__ieee754_expf): For small results, force underflow exception and + remove excess range and precision from return value. + (__expf_finite): Likewise. + * math/auto-libm-test-in: Add more tests of exp. + * math/auto-libm-test-out: Regenerated. + + [BZ #16521] + [BZ #18875] + * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for + small results. + * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object. + (MO): New macro. + (__ieee754_exp2): For small results, force underflow exception and + remove excess range and precision from return value. + * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object. + (MO): New macro. + (__ieee754_exp2f): For small results, force underflow exception + and remove excess range and precision from return value. + * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object. + (MO): New macro. + (__ieee754_exp2l): Force underflow exception for small results. + * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise. + * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise. + * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object. + (MO): New macro. + (__ieee754_exp2l): Force underflow exception for small results. + * math/auto-libm-test-in: Add more tests or exp2. + * math/auto-libm-test-out: Regenerated. + +2015-09-14 Carlos O'Donell + + * malloc/malloc.c (systrim): Use ALIGN_DOWN. + + * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from + /dev/null. + +2015-09-13 Samuel Thibault + + * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth + io fs process)): Drop spurious backslash. + +2015-09-12 Rasmus Villemoes + + * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages): + Use sysinfo system call instead of parsing /proc/meminfo. + * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages): + Likewise. + +2015-09-11 Mike Frysinger + + [BZ #16985] + * programs/localedef.c (main): Display argv[remaining] when + output_path is NULL. + +2015-09-11 Joseph Myers + + * math/auto-libm-test-in: Add more tests of acos, acosh, asin, + asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp, + exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and + tanh. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/mips/mips32/libm-test-ulps: Likewise. + * sysdeps/mips/mips64/libm-test-ulps: Likewise. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2015-09-11 Roland McGrath + + * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers): + Use 'override' keyword to freeze the value here, preventing + the addition of sys/mtio.h by sysdeps/gnu/Makefile. + +2015-09-11 Joseph Myers + + [BZ #14912] + * sysdeps/aarch64/bits/atomic.h: Move to ... + * sysdeps/aarch64/atomic-machine.h: ...here. + (_AARCH64_BITS_ATOMIC_H): Rename macro to + _AARCH64_ATOMIC_MACHINE_H. + * sysdeps/alpha/bits/atomic.h: Move to ... + * sysdeps/alpha/atomic-machine.h: ...here. + * sysdeps/arm/bits/atomic.h: Move to ... + * sysdeps/arm/atomic-machine.h: ...here. Update comments. + * bits/atomic.h: Move to ... + * sysdeps/generic/atomic-machine.h: ...here. + (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H. + * sysdeps/i386/bits/atomic.h: Move to ... + * sysdeps/i386/atomic-machine.h: ...here. + * sysdeps/ia64/bits/atomic.h: Move to ... + * sysdeps/ia64/atomic-machine.h: ...here. + * sysdeps/m68k/coldfire/bits/atomic.h: Move to ... + * sysdeps/m68k/coldfire/atomic-machine.h: ...here. + (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H. + * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ... + * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here. + * sysdeps/microblaze/bits/atomic.h: Move to ... + * sysdeps/microblaze/atomic-machine.h: ...here. + * sysdeps/mips/bits/atomic.h: Move to ... + * sysdeps/mips/atomic-machine.h: ...here. + (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H. + * sysdeps/powerpc/bits/atomic.h: Move to ... + * sysdeps/powerpc/atomic-machine.h: ...here. Update comments. + * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ... + * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update + comments. Include instead of . + * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ... + * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include + instead of . + * sysdeps/s390/bits/atomic.h: Move to ... + * sysdeps/s390/atomic-machine.h: ...here. + * sysdeps/sparc/sparc32/bits/atomic.h: Move to ... + * sysdeps/sparc/sparc32/atomic-machine.h: ...here. + (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H. + * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ... + * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here. + * sysdeps/sparc/sparc64/bits/atomic.h: Move to ... + * sysdeps/sparc/sparc64/atomic-machine.h: ...here. + * sysdeps/tile/bits/atomic.h: Move to ... + * sysdeps/tile/atomic-machine.h: ...here. + * sysdeps/tile/tilegx/bits/atomic.h: Move to ... + * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include + instead of + . + (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H. + * sysdeps/tile/tilepro/bits/atomic.h: Move to ... + * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include + instead of + . + (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H. + * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ... + * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include + instead of + . + * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ... + * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here. + (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H. + * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ... + * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here. + (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H. + * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ... + * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here. + (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H. + * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ... + * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here. + * sysdeps/x86_64/bits/atomic.h: Move to ... + * sysdeps/x86_64/atomic-machine.h: ...here. + * include/atomic.h: Include instead of + . + + * sysdeps/mips/mips32/libm-test-ulps: Update. + * sysdeps/mips/mips64/libm-test-ulps: Likewise. + + [BZ #18952] + * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do + not convert non-integer negative arguments to int to determine the + value of signgam. + * math/auto-libm-test-in: Add more tests of lgamma. + * math/auto-libm-test-out: Regenerated. + + * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt, + cosh, csqrt, erfc, expm1 and lgamma. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2015-09-10 Joseph Myers + + [BZ #2542] + [BZ #2543] + [BZ #2558] + * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call + __lgamma_neg for arguments from -28.0 to -2.0. + * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call + __lgamma_negf for arguments from -15.0 to -2.0. + * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): + Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0. + * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r): + Call __lgamma_negl for arguments from -33.0 to -2.0. + * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file. + * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise. + * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise. + * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise. + * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise. + * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise. + * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise. + * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise. + * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise. + * sysdeps/generic/math_private.h (__lgamma_negf): New prototype. + (__lgamma_neg): Likewise. + (__lgamma_negl): Likewise. + (__lgamma_product): Likewise. + (__lgamma_productl): Likewise. + * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product. + * math/auto-libm-test-in: Add more tests of lgamma. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2015-09-09 Justin Maggard + + [BZ #18675] + * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64. + +2015-09-08 Joseph Myers + + [BZ #14912] + * bits/libc-lock.h: Move to ... + * sysdeps/generic/libc-lock.h: ...here. + (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H. + * sysdeps/mach/hurd/bits/libc-lock.h: Move to ... + * sysdeps/mach/hurd/libc-lock.h: ...here. + (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H. + [_LIBC]: Include instead of . + * sysdeps/mach/bits/libc-lock.h: Move to ... + * sysdeps/mach/libc-lock.h: ...here. + (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H. + * sysdeps/nptl/bits/libc-lock.h: Move to ... + * sysdeps/nptl/libc-lock.h: ...here. + (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H. + * sysdeps/nptl/bits/libc-lockP.h: Move to ... + * sysdeps/nptl/libc-lockP.h: ...here. + (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H. + * crypt/crypt_util.c: Include instead of + . + * dirent/scandir-tail.c: Likewise. + * dlfcn/dlerror.c: Likewise. + * elf/dl-close.c: Likewise. + * elf/dl-iteratephdr.c: Likewise. + * elf/dl-lookup.c: Likewise. + * elf/dl-open.c: Likewise. + * elf/dl-support.c: Likewise. + * elf/dl-writev.h: Likewise. + * elf/rtld.c: Likewise. + * grp/fgetgrent.c: Likewise. + * gshadow/fgetsgent.c: Likewise. + * gshadow/sgetsgent.c: Likewise. + * iconv/gconv_conf.c: Likewise. + * iconv/gconv_db.c: Likewise. + * iconv/gconv_dl.c: Likewise. + * iconv/gconv_int.h: Likewise. + * iconv/gconv_trans.c: Likewise. + * include/link.h: Likewise. + * inet/getnameinfo.c: Likewise. + * inet/getnetgrent.c: Likewise. + * inet/getnetgrent_r.c: Likewise. + * intl/bindtextdom.c: Likewise. + * intl/dcigettext.c: Likewise. + * intl/finddomain.c: Likewise. + * intl/gettextP.h: Likewise. + * intl/loadmsgcat.c: Likewise. + * intl/localealias.c: Likewise. + * intl/textdomain.c: Likewise. + * libidn/idn-stub.c: Likewise. + * libio/libioP.h: Likewise. + * locale/duplocale.c: Likewise. + * locale/freelocale.c: Likewise. + * locale/newlocale.c: Likewise. + * locale/setlocale.c: Likewise. + * login/getutent_r.c: Likewise. + * login/getutid_r.c: Likewise. + * login/getutline_r.c: Likewise. + * login/utmp-private.h: Likewise. + * login/utmpname.c: Likewise. + * malloc/mtrace.c: Likewise. + * misc/efgcvt.c: Likewise. + * misc/error.c: Likewise. + * misc/fstab.c: Likewise. + * misc/getpass.c: Likewise. + * misc/mntent.c: Likewise. + * misc/syslog.c: Likewise. + * nis/nis_call.c: Likewise. + * nis/nis_callback.c: Likewise. + * nis/nss-default.c: Likewise. + * nis/nss_compat/compat-grp.c: Likewise. + * nis/nss_compat/compat-initgroups.c: Likewise. + * nis/nss_compat/compat-pwd.c: Likewise. + * nis/nss_compat/compat-spwd.c: Likewise. + * nis/nss_nis/nis-alias.c: Likewise. + * nis/nss_nis/nis-ethers.c: Likewise. + * nis/nss_nis/nis-grp.c: Likewise. + * nis/nss_nis/nis-hosts.c: Likewise. + * nis/nss_nis/nis-network.c: Likewise. + * nis/nss_nis/nis-proto.c: Likewise. + * nis/nss_nis/nis-pwd.c: Likewise. + * nis/nss_nis/nis-rpc.c: Likewise. + * nis/nss_nis/nis-service.c: Likewise. + * nis/nss_nis/nis-spwd.c: Likewise. + * nis/nss_nisplus/nisplus-alias.c: Likewise. + * nis/nss_nisplus/nisplus-ethers.c: Likewise. + * nis/nss_nisplus/nisplus-grp.c: Likewise. + * nis/nss_nisplus/nisplus-hosts.c: Likewise. + * nis/nss_nisplus/nisplus-initgroups.c: Likewise. + * nis/nss_nisplus/nisplus-network.c: Likewise. + * nis/nss_nisplus/nisplus-proto.c: Likewise. + * nis/nss_nisplus/nisplus-pwd.c: Likewise. + * nis/nss_nisplus/nisplus-rpc.c: Likewise. + * nis/nss_nisplus/nisplus-service.c: Likewise. + * nis/nss_nisplus/nisplus-spwd.c: Likewise. + * nis/ypclnt.c: Likewise. + * nptl/libc_pthread_init.c: Likewise. + * nss/getXXbyYY.c: Likewise. + * nss/getXXent.c: Likewise. + * nss/getXXent_r.c: Likewise. + * nss/nss_db/db-XXX.c: Likewise. + * nss/nss_db/db-netgrp.c: Likewise. + * nss/nss_db/nss_db.h: Likewise. + * nss/nss_files/files-XXX.c: Likewise. + * nss/nss_files/files-alias.c: Likewise. + * nss/nsswitch.c: Likewise. + * posix/regex_internal.h: Likewise. + * posix/wordexp.c: Likewise. + * pwd/fgetpwent.c: Likewise. + * resolv/res_hconf.c: Likewise. + * resolv/res_libc.c: Likewise. + * shadow/fgetspent.c: Likewise. + * shadow/lckpwdf.c: Likewise. + * shadow/sgetspent.c: Likewise. + * socket/opensock.c: Likewise. + * stdio-common/reg-modifier.c: Likewise. + * stdio-common/reg-printf.c: Likewise. + * stdio-common/reg-type.c: Likewise. + * stdio-common/vfprintf.c: Likewise. + * stdio-common/vfscanf.c: Likewise. + * stdlib/abort.c: Likewise. + * stdlib/cxa_atexit.c: Likewise. + * stdlib/fmtmsg.c: Likewise. + * stdlib/random.c: Likewise. + * stdlib/setenv.c: Likewise. + * string/strsignal.c: Likewise. + * sunrpc/auth_none.c: Likewise. + * sunrpc/bindrsvprt.c: Likewise. + * sunrpc/create_xid.c: Likewise. + * sunrpc/key_call.c: Likewise. + * sunrpc/rpc_thread.c: Likewise. + * sysdeps/arm/backtrace.c: Likewise. + * sysdeps/generic/ldsodefs.h: Likewise. + * sysdeps/generic/stdio-lock.h: Likewise. + * sysdeps/generic/unwind-dw2-fde.c: Likewise. + * sysdeps/i386/backtrace.c: Likewise. + * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise. + * sysdeps/m68k/backtrace.c: Likewise. + * sysdeps/mach/hurd/cthreads.c: Likewise. + * sysdeps/mach/hurd/dirstream.h: Likewise. + * sysdeps/mach/hurd/malloc-machine.h: Likewise. + * sysdeps/nptl/malloc-machine.h: Likewise. + * sysdeps/nptl/stdio-lock.h: Likewise. + * sysdeps/posix/dirstream.h: Likewise. + * sysdeps/posix/getaddrinfo.c: Likewise. + * sysdeps/posix/system.c: Likewise. + * sysdeps/pthread/aio_suspend.c: Likewise. + * sysdeps/s390/s390-32/backtrace.c: Likewise. + * sysdeps/s390/s390-64/backtrace.c: Likewise. + * sysdeps/unix/sysv/linux/check_pf.c: Likewise. + * sysdeps/unix/sysv/linux/if_index.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise. + * sysdeps/unix/sysv/linux/shm-directory.c: Likewise. + * sysdeps/unix/sysv/linux/system.c: Likewise. + * sysdeps/x86_64/backtrace.c: Likewise. + * time/alt_digit.c: Likewise. + * time/era.c: Likewise. + * time/tzset.c: Likewise. + * wcsmbs/wcsmbsload.c: Likewise. + * nptl/tst-initializers1.c (do_test): Refer to + instead of in comment. + +2015-09-08 Andrew Bennett + + * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2): + Only use .set mips2 if the current ISA is below mips2. + * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set): + Likewise. + * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set + mips32r2 if the current ISA is below mips32r2. + * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define. + (TLS_IE): Updated to use the TLD_RDHWR macro. + (TLS_LE): Likewise. + * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef + __ASSEMBLER__ condition. + +2015-09-08 Samuel Thibault + + Fix parallel build of before-compile targets. + + * sysdeps/mach/Makefile ($(patsubst + mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated + mach-before-compile target. + * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth + io fs process)): Move rule to dedicated hurd-before-compile target. + +2015-09-06 Samuel Thibault + + Fix rules generating headers in hurd/ and mach/ when initial make call + has subdir= explicitly set. + + * sysdeps/mach/Makefile ($(patsubst + mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when + calling $(MAKE). + * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth + io fs process)): Force subdir to hurd when calling $(MAKE). + ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force + subdir to mach when calling $(MAKE). + +2015-09-06 Manolis Ragkousis + + Check sysheaders when looking for Mach and Hurd headers + + * sysdeps/mach/configure.ac: Add sysheaders check. + * sysdeps/mach/configure: Regenerate. + * sysdeps/mach/hurd/configure.ac: Add sysheaders check. + * sysdeps/mach/hurd/configure: Regenerate. + +2015-09-04 Roland McGrath + + [BZ #18921] + * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]: + Fix inverted sense of test of 'o_directory_works' value. + Reported by PĂĄdraig Brady , diagnosed by + Bernhard Voelker . + +2015-09-04 Joseph Myers + + [BZ #14912] + * bits/linkmap.h: Move to ... + * sysdeps/generic/linkmap.h: ...here. + * sysdeps/aarch64/bits/linkmap.h: Move to ... + * sysdeps/aarch64/linkmap.h: ...here. + * sysdeps/arm/bits/linkmap.h: Move to ... + * sysdeps/arm/linkmap.h: ...here. + * sysdeps/hppa/bits/linkmap.h: Move to ... + * sysdeps/hppa/linkmap.h: ...here. + * sysdeps/ia64/bits/linkmap.h: Move to ... + * sysdeps/ia64/linkmap.h: ...here. + * sysdeps/mips/bits/linkmap.h: Move to ... + * sysdeps/mips/linkmap.h: ...here. + * sysdeps/s390/bits/linkmap.h: Move to ... + * sysdeps/s390/linkmap.h: ...here. + * sysdeps/sh/bits/linkmap.h: Move to ... + * sysdeps/sh/linkmap.h: ...here. + * sysdeps/x86/bits/linkmap.h: Move to ... + * sysdeps/x86/linkmap.h: ...here. + * include/link.h: Include instead of . + +2015-09-04 Andreas Schwab + + [BZ #18635] + * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S + (__makecontext): Terminate FDE before return label. + (__novec_makecontext): Likewise. + +2015-09-04 Carlos Eduardo Seo + + * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the + first member of struct sv in syscall macro. + +2015-09-04 Joseph Myers + + [BZ #14912] + * bits/stdio-lock.h: Move to ... + * sysdeps/generic/stdio-lock.h: ...here. + (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H. + * sysdeps/nptl/bits/stdio-lock.h: Move to ... + * sysdeps/nptl/stdio-lock.h: ...here. + (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H. + * include/libio.h: Include instead of + . + * sysdeps/nptl/fork.c: Likewise. + * sysdeps/pthread/flockfile.c: Likewise. + * sysdeps/pthread/ftrylockfile.c: Likewise. + * sysdeps/pthread/funlockfile.c: Likewise. + + [BZ #14912] + * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ... + * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here. + * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include + instead of . + * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise. + +2015-09-03 Roland McGrath + + * elf/Makefile (test-xfail-tst-protected1a): New variable. + (test-xfail-tst-protected1b): New variable. + +2015-09-03 Joseph Myers + + [BZ #14912] + * bits/libc-tsd.h: Move to ... + * sysdeps/generic/libc-tsd.h: ...here. + (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H. + * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ... + * sysdeps/mach/hurd/libc-tsd.h: ...here. + (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H. + * include/ctype.h: Include instead of + . + * include/rpc/rpc.h: Likewise. + * locale/localeinfo.h: Likewise. + * sunrpc/rpc_thread.c: Likewise. + * sysdeps/mach/hurd/malloc-machine.h: Likewise. + * sysdeps/nptl/malloc-machine.h: Likewise. + + * Makefile (headers): Remove bits/libc-lock.h. + * libio/Makefile (headers): Remove bits/stdio-lock.h. + + * libio/libio.h [_IO_MTSAFE_IO]: Remove include of + and commented-out include of . + * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include + . + * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine. + * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise. + +2015-09-01 Paul Pluzhnikov + + [BZ #18757] + * libio/iofopncook.c (_IO_fopencookie): Set errno on failure. + * libio/test-fmemopen.c (do_bz18820): Extend the test to cover + BZ #18757. + +2015-09-01 Paul Pluzhnikov + + * malloc/mtrace.pl: Filter out NULL entries. + +2015-09-01 Joseph Myers + + * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro. + * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New + macro. + + * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro. + (TCP_CC_INFO): Likewise. + (TCP_SAVE_SYN): Likewise. + (TCP_SAVED_SYN): Likewise. + +2015-08-31 Brett Neumeier + + [BZ #18870] + * sysdeps/sparc/sparc32/sem_open.c: Add missing #include + +2015-08-31 Paul Eggert + + [BZ #18873] + Fix broken overflow check in posix_fallocate + * sysdeps/posix/posix_fallocate.c (posix_fallocate): + * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64): + Fix parenthesization typo. + +2015-08-28 Mike Frysinger + + [BZ #18887] + * misc/Makefile (tests): Add tst-mntent-blank-corrupt and + tst-mntent-blank-passno. + * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0]. + * misc/tst-mntent-blank-corrupt.c: New test. + * misc/tst-mntent-blank-passno.c: New test ripped from ... + * misc/tst-mntent.c (do_test): ... here. + +2015-08-29 Mike Frysinger + + [BZ #4404] + * po/de.po: Fix SIGALRM typo. + +2015-08-28 James Perkins + + * time/tst-strptime2.c (tests): Replace short list of test + strings for strptime %z specifier with code which exhaustively + tests every combination of sign and 0 to 5 digits. Tests for + rejection of invalid strings. + +2015-08-28 James Perkins + + [BZ #16141] + * time/strptime_l.c (__strptime_internal): Fix %z minutes + calculation, removing incorrect decimal time rounding, so that + all minute values result in a valid seconds value. + * time/strptime_l.c (__strptime_internal): Extend %z time zone + offset range limits to UTC-99:59 through UTC+99:59 to parse + current and historical use cases. + * time/tst-strptime2.c (tests): Modify and add tests for the + strptime %z input field descriptor, specifically conversion of + minutes to seconds and validating an offset range of -9959 to + +9959. + +2015-08-27 Adhemerval Zanella + Dmitry V. Levin + + [BZ #18877] + * posix/Makefile (tests): Add tst-mmap-offset. + * posix/tst-mmap.c: New file. + * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix + offset calculation for negative values. + +2015-08-27 H.J. Lu + + * sysdeps/i386/init-arch.h: New file. + * sysdeps/i386/i586/init-arch.h: Likewise. + * sysdeps/i386/i686/init-arch.h: Likewise. + * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586 + bit if CX8 is available. Set bit_I686 bit if CMOV is available. + * sysdeps/x86/cpu-features.h (bit_I586): New. + (bit_I686): Likewise. + (bit_CX8): Likewise. + (bit_CMOV): Likewise. + (index_CX8): Likewise. + (index_CMOV): Likewise. + (index_I586): Likewise. + (index_I686): Likewise. + (reg_CX8): Likewise. + (reg_CMOV): Likewise. + (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't + available at compile-time. + (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't + available at compile-time. + * sysdeps/x86/init-arch.h (USE_I586): New macro. + (USE_I686): Likewise. + +2015-08-27 H.J. Lu + + * sysdeps/i386/bcopy.S: New file. + * sysdeps/i386/bzero.S: Likewise. + * sysdeps/i386/memcpy.S: Likewise. + * sysdeps/i386/memmove.S: Likewise. + * sysdeps/i386/mempcpy.S: Likewise. + * sysdeps/i386/memset.S: Likewise. + * sysdeps/i386/bzero.c: Removed. + * sysdeps/i386/memset.c: Likewise. + * sysdeps/i386/i586/memcpy_chk.S: Likewise. + * sysdeps/i386/i586/mempcpy_chk.S: Likewise. + * sysdeps/i386/i586/memset_chk.S: Likewise. + * sysdeps/i386/i686/memcpy_chk.S: Moved to ... + * sysdeps/i386/memcpy_chk.S: Here. + * sysdeps/i386/i686/memmove_chk.S: Moved to ... + * sysdeps/i386/memmove_chk.S: Here. + * sysdeps/i386/i686/mempcpy_chk.S: Moved to ... + * sysdeps/i386/mempcpy_chk.S: Likewise. + * sysdeps/i386/i686/memset_chk.S: Moved to ... + * sysdeps/i386/memset_chk.S: Likewise. + +2015-08-27 Steve Ellcey + + * soft-fp/fmasf4.c: Add include of sys/cdefs.h. + Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of + file, move DIAG_POP_NEEDS_COMMENT to end of file. + * soft-fp/fmadf4.c: Ditto. + * soft-fp/fmatf4.c: Ditto. + +2015-08-27 H.J. Lu + + * sysdeps/i386/i586/Implies: Removed. + * sysdeps/i386/i686/Implies: Likewise. + +2015-08-27 H.J. Lu + + * sysdeps/i386/i486/strlen.S: Moved to ... + * sysdeps/i386/strlen.S: Here. + +2015-08-27 H.J. Lu + + * sysdeps/i386/i486/strcat.S: Moved to ... + * sysdeps/i386/strcat.S: Here. + +2015-08-27 H.J. Lu + + * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ... + * sysdeps/i386/pthread_spin_trylock.S: Here. + * sysdeps/i386/i586/pthread_spin_trylock.S: Removed. + * sysdeps/i386/i686/pthread_spin_trylock.S: Updated. + +2015-08-27 H.J. Lu + + * sysdeps/i386/i486/string-inlines.c: Moved to ... + * sysdeps/i386/string-inlines.c: Here. + +2015-08-27 H.J. Lu + + * sysdeps/i386/i486/htonl.S: Moved ... + * sysdeps/i386/htonl.S: here. + +2015-08-27 H.J. Lu + + * sysdeps/i386/i486/bits/atomic.h: Moved to ... + * sysdeps/i386/bits/atomic.h: Here. + +2015-08-27 H.J. Lu + + * sysdeps/i386/i486/Versions: Removed. + +2015-08-27 Gleb Fotengauer-Malinovskiy + + [BZ #2898] + * misc/mktemp.c: Add mkdtemp to the link_warning message. + Based on patch by Aurelien Jarno. + +2015-08-26 Stan Shebs + + * sysdeps/ieee754/ldbl-96/k_tanl.c: Include . + (__kernel_tanl): Ignore uninitialized warnings around use of SIGN. + +2015-08-26 Carlos Eduardo Seo + + * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC. + * sysdeps/powerpc/dl-procinfo.c: + (_dl_powerpc_cap_flags): Added descriptor for this hwcap + feature so it shows when LD_SHOW_AUXV=1. + +2015-08-26 Paul E. Murphy + + * sysdeps/unix/sysv/linux/powerpc/elision-lock.c + (__arch_compare_and_exchange_val_32_acq): Remove and use common + definition. ISA 2.07B no longer requires full sync. + +2015-08-26 Mike Frysinger + + [BZ #18863] + * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys. + (si_call_addr): Define. + (si_syscall): Define. + (si_arch): Define. + +2015-08-26 H.J. Lu + + * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New. + * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise. + * sysdeps/i386/i586/memset.S (BZERO_P): Removed. + Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC. + (__memset_zero_constant_len_parameter): New. + * sysdeps/i386/i686/memset.S (BZERO_P): Removed. + Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC. + (__memset_zero_constant_len_parameter): Don't define if + __memset_chk or USE_AS_BZERO are defined. + + * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed. + Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC. + * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New. + + * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os, + tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ... + * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os, + tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update + comments. + * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add + -mno-mmx for $(all-rtld-routines). + * sysdeps/x86/tst-ld-sse-use.sh: Moved to ... + * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with + i386. + +2015-08-26 Stefan Liebler + + * sysdeps/generic/unwind.h + (_Unwind_Word): Use __mode__(__unwind_word__) + instead of __mode__(__word__). + (_Unwind_Sword): Likewise. + + * sysdeps/s390/s390-64/utf8-utf16-z9.c + (MAX_NEEDED_INPUT): New define. + (MAX_NEEDED_OUTPUT): New define. + + * NEWS: New item for IBM z13 string optimizations. + + * sysdeps/s390/multiarch/memrchr-c.c: New File. + * sysdeps/s390/multiarch/memrchr-vx.S: Likewise. + * sysdeps/s390/multiarch/memrchr.c: Likewise. + * sysdeps/s390/multiarch/Makefile + (sysdep_routines): Add memrchr functions. + * sysdeps/s390/multiarch/ifunc-impl-list-common.c + (__libc_ifunc_impl_list_common): Add ifunc test for memrchr. + + * sysdeps/s390/multiarch/wmemcmp-c.c: New File. + * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise. + * sysdeps/s390/multiarch/wmemcmp.c: Likewise. + * sysdeps/s390/multiarch/Makefile + (sysdep_routines): Add wmemcmp functions. + * sysdeps/s390/multiarch/ifunc-impl-list-common.c + (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp. + * benchtests/bench-wmemcmp.c: New File. + * benchtests/Makefile (wcsmbs-bench): Add wmemcmp. + + * sysdeps/s390/multiarch/wmemset-c.c: New File. + * sysdeps/s390/multiarch/wmemset-vx.S: Likewise. + * sysdeps/s390/multiarch/wmemset.c: Likewise. + * sysdeps/s390/multiarch/Makefile + (sysdep_routines): Add wmemset functions. + * sysdeps/s390/multiarch/ifunc-impl-list-common.c + (__libc_ifunc_impl_list_common): Add ifunc test for wmemset. + * wcsmbs/wmemset.c: Use WMEMSET if defined. + * string/test-memset.c: Add wmemset support. + * wcsmbs/test-wmemset.c: New File. + * wcsmbs/Makefile (strop-tests): Add wmemset. + * benchtests/bench-memset.c: Add wmemset support. + * benchtests/bench-wmemset.c: New File. + * benchtests/Makefile (wcsmbs-bench): Add wmemset. + + * sysdeps/s390/multiarch/memccpy-c.c: New File. + * sysdeps/s390/multiarch/memccpy-vx.S: Likewise. + * sysdeps/s390/multiarch/memccpy.c: Likewise. + * sysdeps/s390/multiarch/Makefile + (sysdep_routines): Add memccpy functions. + * sysdeps/s390/multiarch/ifunc-impl-list-common.c + (__libc_ifunc_impl_list_common): Add ifunc test for memccpy. + * string/memccpy.c: Use MEMCCPY if defined. + + * sysdeps/s390/multiarch/memchr-vx.S: New File. + * sysdeps/s390/multiarch/memchr.c: Likewise. + * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise. + * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise. + * sysdeps/s390/multiarch/rawmemchr.c: Likewise. + * sysdeps/s390/multiarch/wmemchr-c.c: Likewise. + * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise. + * sysdeps/s390/multiarch/wmemchr.c: Likewise. + * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise. + * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise. + * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr + and rawmemchr functions. + * sysdeps/s390/multiarch/ifunc-impl-list-common.c + (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr + and wmemchr. + * wcsmbs/wmemchr.c: Use WMEMCHR if defined. + * string/test-memchr.c: Add wmemchr support. + * wcsmbs/test-wmemchr.c: New File. + * wcsmbs/Makefile (strop-tests): Add wmemchr. + * benchtests/bench-memchr.c: Add wmemchr support. + * benchtests/bench-wmemchr.c: New File. + * benchtests/Makefile (wcsmbs-bench): wmemchr. + + * sysdeps/s390/multiarch/strcspn-c.c: New File. + * sysdeps/s390/multiarch/strcspn-vx.S: Likewise. + * sysdeps/s390/multiarch/strcspn.c: Likewise. + * sysdeps/s390/multiarch/wcscspn-c.c: Likewise. + * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise. + * sysdeps/s390/multiarch/wcscspn.c: Likewise. + * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and + wcscspn functions. + * sysdeps/s390/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn. + * wcsmbs/wcscspn.c: Use WCSCSPN if defined. + * string/test-strcspn.c: Add wcscspn support. + * wcsmbs/test-wcscspn.c: New File. + * wcsmbs/Makefile (strop-tests): Add wcscspn. + * benchtests/bench-strcspn.c: Add wcscspn support. + * benchtests/bench-wcscspn.c: New File. + * benchtests/Makefile (wcsmbs-bench): Add wcscspn. + + * sysdeps/s390/multiarch/strpbrk-c.c: New File. + * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise. + * sysdeps/s390/multiarch/strpbrk.c: Likewise. + * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise. + * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise. + * sysdeps/s390/multiarch/wcspbrk.c: Likewise. + * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and + wcspbrk functions. + * sysdeps/s390/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk. + * wcsmbs/wcspbrk.c: Use WCSPBRK if defined. + * string/test-strpbrk.c: Add wcspbrk support. + * wcsmbs/test-wcspbrk.c: New File. + * wcsmbs/Makefile (strop-tests): Add wcspbrk. + * benchtests/bench-strpbrk.c: Add wcspbrk support. + * benchtests/bench-wcspbrk.c: New File. + * benchtests/Makefile (wcsmbs-bench): Add wcspbrk. + + * sysdeps/s390/multiarch/strspn-c.c: New File. + * sysdeps/s390/multiarch/strspn-vx.S: Likewise. + * sysdeps/s390/multiarch/strspn.c: Likewise. + * sysdeps/s390/multiarch/wcsspn-c.c: Likewise. + * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise. + * sysdeps/s390/multiarch/wcsspn.c: Likewise. + * wcsmbs/wcsspn.c: Use WCSSPN if defined. + * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and + wcsspn functions. + * sysdeps/s390/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn. + * string/test-strspn.c: Add wcsspn support. + * wcsmbs/test-wcsspn.c: New File. + * wcsmbs/Makefile (strop-tests): Add wcsspn. + * benchtests/bench-strspn.c: Add wcsspn support. + * benchtests/bench-wcsspn.c: New File. + * benchtests/Makefile (wcsmbs-bench): Add wcsspn. + + * sysdeps/s390/multiarch/strrchr-c.c: New File. + * sysdeps/s390/multiarch/strrchr-vx.S: Likewise. + * sysdeps/s390/multiarch/strrchr.c: Likewise. + * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise. + * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise. + * sysdeps/s390/multiarch/wcsrchr.c: Likewise. + * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and + wcsrchr functions. + * sysdeps/s390/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr. + * benchtests/bench-wcsrchr.c: New File. + * benchtests/Makefile (wcsmbs-bench): Add wcsrchr. + + * sysdeps/s390/multiarch/strchrnul-c.c: New File. + * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise. + * sysdeps/s390/multiarch/strchrnul.c: Likewise. + * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise. + * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise. + * sysdeps/s390/multiarch/wcschrnul.c: Likewise. + * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and + wcschrnul functions. + * sysdeps/s390/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul. + * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined. + * string/test-strchr.c: Add wcschrnul support. + * wcsmbs/test-wcschrnul.c: New File. + * wcsmbs/Makefile (strop-tests): Add wcschrnul. + * benchtests/bench-strchr.c: Add wcschrnul support. + * benchtests/bench-wcschrnul.c: New File. + * benchtests/Makefile (wcsmbs-bench): Add wcschrnul. + + * sysdeps/s390/multiarch/strchr-c.c: New File. + * sysdeps/s390/multiarch/strchr-vx.S: Likewise. + * sysdeps/s390/multiarch/strchr.c: Likewise. + * sysdeps/s390/multiarch/wcschr-c.c: Likewise. + * sysdeps/s390/multiarch/wcschr-vx.S: Likewise. + * sysdeps/s390/multiarch/wcschr.c: Likewise. + * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and + wcschr functions. + * sysdeps/s390/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr. + * string/strchr.c (STRCHR): Define and use macro. + * benchtests/bench-wcschr.c: New File. + * benchtests/Makefile (wcsmbs-bench): Add wcschr. + + * sysdeps/s390/multiarch/strncmp-c.c: New File. + * sysdeps/s390/multiarch/strncmp-vx.S: Likewise. + * sysdeps/s390/multiarch/strncmp.c: Likewise. + * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise. + * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise. + * sysdeps/s390/multiarch/wcsncmp.c: Likewise. + * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and + wcsncmp functions. + * sysdeps/s390/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp. + * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro. + * benchtests/bench-strncmp.c: Add wcsncmp support. + * benchtests/bench-wcsncmp.c: New File. + * benchtests/Makefile (wcsmbs-bench): Add wcsncmp. + + * sysdeps/s390/multiarch/strcmp-vx.S: New File. + * sysdeps/s390/multiarch/strcmp.c: Likewise. + * sysdeps/s390/multiarch/wcscmp-c.c: Likewise. + * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise. + * sysdeps/s390/multiarch/wcscmp.c: Likewise. + * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise. + * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise. + * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and + wcscmp functions. + * sysdeps/s390/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp. + * string/strcmp.c (STRCMP): Define and use macro. + * benchtests/bench-wcscmp.c: New File. + * benchtests/Makefile (wcsmbs-bench): Add wcscmp. + * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp + instead of _HAVE_STRING_ARCH_memchr. + + * sysdeps/s390/multiarch/strncat-c.c: New File. + * sysdeps/s390/multiarch/strncat-vx.S: Likewise. + * sysdeps/s390/multiarch/strncat.c: Likewise. + * sysdeps/s390/multiarch/wcsncat-c.c: Likewise. + * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise. + * sysdeps/s390/multiarch/wcsncat.c: Likewise. + * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and + wcsncat functions. + * sysdeps/s390/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat. + * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro. + * string/test-strncat.c: Add wcsncat support. + * wcsmbs/test-wcsncat.c: New File. + * wcsmbs/Makefile (strop-tests): Add wcsncat. + * benchtests/bench-strncat.c: Add wcsncat support. + * benchtests/bench-wcsncat.c: New File. + * benchtests/Makefile (wcsmbs-bench): Add wcsncat. + + * sysdeps/s390/multiarch/strcat-c.c: New File. + * sysdeps/s390/multiarch/strcat-vx.S: Likewise. + * sysdeps/s390/multiarch/strcat.c: Likewise. + * sysdeps/s390/multiarch/wcscat-c.c: Likewise. + * sysdeps/s390/multiarch/wcscat-vx.S: Likewise. + * sysdeps/s390/multiarch/wcscat.c: Likewise. + * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and + wcscat functions. + * sysdeps/s390/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat. + * string/strcat.c (STRCAT): Define and use macro. + * wcsmbs/wcscat.c: Use WCSCAT if defined. + * string/test-strcat.c: Add wcscat support. + * wcsmbs/test-wcscat.c: New File. + * wcsmbs/Makefile (strop-tests): Add wcscat. + * benchtests/bench-strcat.c: Add wcscat support. + * benchtests/bench-wcscat.c: New File. + * benchtests/Makefile (wcsmbs-bench): Add wcscat. + + * sysdeps/s390/multiarch/stpncpy-c.c: New File. + * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise. + * sysdeps/s390/multiarch/stpncpy.c: Likewise. + * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise. + * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise. + * sysdeps/s390/multiarch/wcpncpy.c: Likewise. + * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and + wcpncpy functions. + * sysdeps/s390/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy. + * wcsmbs/wcpncpy.c: Use WCPNCPY if defined. + * string/test-stpncpy.c: Add wcpncpy support. + * wcsmbs/test-wcpncpy.c: New File. + * wcsmbs/Makefile (strop-tests): Add wcpncpy. + * benchtests/bench-stpncpy.c: Add wcpncpy support. + * benchtests/bench-wcpncpy.c: New File. + * benchtests/Makefile (wcsmbs-bench): Add wcpncpy. + + * sysdeps/s390/multiarch/strncpy-vx.S: New File. + * sysdeps/s390/multiarch/strncpy.c: Likewise. + * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise. + * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise. + * sysdeps/s390/multiarch/wcsncpy.c: Likewise. + * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise. + * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise. + * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and + wcsncpy functions. + * wcsmbs/wcsncpy.c: Use WCSNCPY if defined. + * sysdeps/s390/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy. + * string/test-strncpy.c: Add wcsncpy support. + * wcsmbs/test-wcsncpy.c: New File. + * wcsmbs/Makefile (strop-tests): Add wcsncpy. + * benchtests/bench-strncpy.c: Add wcsncpy support. + * benchtests/bench-wcsncpy.c: New File. + * benchtests/Makefile (wcsmbs-bench): Add wcsncpy + + * sysdeps/s390/multiarch/stpcpy-c.c: New File. + * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise. + * sysdeps/s390/multiarch/stpcpy.c: Likewise. + * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise. + * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise. + * sysdeps/s390/multiarch/wcpcpy.c: Likewise. + * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and + wcpcpy functions. + * string/stpcpy.c: Use STPCPY if defined. + * wcsmbs/wcpcpy.c: Use WCPCPY if defined. + * sysdeps/s390/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy. + * string/test-stpcpy.c: Add wcpcpy support. + * wcsmbs/test-wcpcpy.c: New File. + * wcsmbs/Makefile (strop-tests): Add wcpcpy. + * benchtests/bench-stpcpy.c: Add wcpcpy support. + * benchtests/bench-wcpcpy.c: New File. + * benchtests/Makefile (wcsmbs-bench): Add wcpcpy. + + * sysdeps/s390/multiarch/strcpy-vx.S: New File. + * sysdeps/s390/multiarch/strcpy.c: Likewise. + * sysdeps/s390/multiarch/wcscpy-c.c: Likewise. + * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise. + * sysdeps/s390/multiarch/wcscpy.c: Likewise. + * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise. + * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise. + * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and + wcscpy functions. + * sysdeps/s390/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy. + * benchtests/bench-wcscpy.c: New File. + * benchtests/Makefile (wcsmbs-bench): Add wcscpy. + + * sysdeps/s390/multiarch/strnlen-c.c: New File. + * sysdeps/s390/multiarch/strnlen-vx.S: Likewise. + * sysdeps/s390/multiarch/strnlen.c: Likewise. + * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise. + * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise. + * sysdeps/s390/multiarch/wcsnlen.c: Likewise. + * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and + wcsnlen functions. + * sysdeps/s390/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen. + * wcsmbs/wcsnlen.c: Use WCSNLEN if defined. + * string/test-strnlen.c: Add wcsnlen support. + * wcsmbs/test-wcsnlen.c: New File. + * wcsmbs/Makefile (strop-tests): Add wcsnlen. + * benchtests/bench-strnlen.c: Add wcsnlen support. + * benchtests/bench-wcsnlen.c: New File. + * benchtests/Makefile (wcsmbs-bench): Add wcsnlen. + + * sysdeps/s390/multiarch/Makefile: New File. + * sysdeps/s390/multiarch/strlen-c.c: Likewise. + * sysdeps/s390/multiarch/strlen-vx.S: Likewise. + * sysdeps/s390/multiarch/strlen.c: Likewise. + * sysdeps/s390/multiarch/wcslen-c.c: Likewise. + * sysdeps/s390/multiarch/wcslen-vx.S: Likewise. + * sysdeps/s390/multiarch/wcslen.c: Likewise. + * string/strlen.c (STRLEN): Define and use macro. + * sysdeps/s390/multiarch/ifunc-impl-list.c + (IFUNC_VX_IMPL): New macro function. + (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen. + * benchtests/Makefile (wcsmbs-bench): New variable. + (string-bench-all): Added wcsmbs-bench. + * benchtests/bench-wcslen.c: New File. + + * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc, + s390_vx_libc_ifunc2): New macro function. + + * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine. + * sysdeps/s390/configure.ac: Add test for S390 vector instruction + assembler support. + * sysdeps/s390/configure: Regenerated. + + * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13. + * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased. + + * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag. + * sysdeps/s390/dl-procinfo.h: Add vector capability. + * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define. + + * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines): + Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390. + * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File. + * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ... + * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here. + (memcmp, bcmp): Use __memcmp_default as alias source. + * sysdeps/s390/s390-32/multiarch/memcmp.c: New File. + * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5): + Rename to __memcmp_default. + * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ... + * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here. + (memcpy): Use __memcpy_default as alias source. + * sysdeps/s390/s390-32/multiarch/memcpy.c: New File. + * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5): + Rename to __memcpy_default. + * sysdeps/s390/s390-32/multiarch/memset.S: Move to ... + * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here. + (memset): Use __memset_default as alias source. + * sysdeps/s390/s390-32/multiarch/memset.c: New File. + * sysdeps/s390/s390-32/memset.S (__memset_g5): + Rename to __memset_default. + * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines): + Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x. + * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File. + * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ... + * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here. + (memcmp, bcmp): Use __memcmp_default as alias source. + * sysdeps/s390/s390-64/multiarch/memcmp.c: New File. + * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900): + Rename to __memcmp_default. + * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ... + * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here. + (memcpy): Use __memcpy_default as alias source. + * sysdeps/s390/s390-64/multiarch/memcpy.c: New File. + * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900): + Rename to __memcpy_default. + * sysdeps/s390/s390-64/multiarch/memset.S: Move to ... + * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here. + (memset): Use __memset_default as alias source. + * sysdeps/s390/s390-64/multiarch/memset.c: New File. + * sysdeps/s390/s390-64/memset.S (__memset_z900): + Rename to __memset_default. + * sysdeps/s390/multiarch/ifunc-resolve.h: New File. + * sysdeps/s390/multiarch/ifunc-impl-list.c: New File. + + [BZ #18610] + * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename + __ieee_instruction_pointer to __unused. + * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of + __ieee_instruction_pointer. + * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling. + * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise. + * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise. + * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise. + * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED): + Mark dxc-field as reserved. + +2015-08-25 Roland McGrath + + * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main + if the weak reference is not null. + +2015-08-25 H.J. Lu + + * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)". + + [BZ #11214] + * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed. + +2015-08-25 Rajalakshmi Srinivasaraghavan + + * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros. + * sysdeps/unix/sysv/linux/accept.c: Call direct system call. + * sysdeps/unix/sysv/linux/bind.c: Call direct system call. + * sysdeps/unix/sysv/linux/connect.c: Call direct system call. + * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call. + * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call. + * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call. + * sysdeps/unix/sysv/linux/listen.c: Call direct system call. + * sysdeps/unix/sysv/linux/recv.c: Call direct system call. + * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call. + * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call. + * sysdeps/unix/sysv/linux/send.c: Call direct system call. + * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call. + * sysdeps/unix/sysv/linux/sendto.c: Call direct system call. + * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call. + * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call. + * sysdeps/unix/sysv/linux/socket.c: Call direct system call. + * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call. + +2015-08-25 Paul E. Murphy + + * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use + register other than r0 for tabort, it has special meaning. + * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise. + * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort + transaction before starting syscall. + +2015-08-25 Rajalakshmi Srinivasaraghavan + + * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case. + +2015-08-25 H.J. Lu + + * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4]. + + * sysdeps/x86_64/rtld-memcmp.c: Removed. + * sysdeps/x86_64/rtld-memset.S: Likewise. + * sysdeps/x86_64/rtld-strchr.S: Likewise. + * sysdeps/x86_64/rtld-strlen.S: Likewise. + * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise. + * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise. + + * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0. + +2015-08-25 Ondƙej BĂ­lka + + * debug/strcpy_chk.c: Improve performance. + * debug/stpcpy_chk.c: Likewise. + * sysdeps/x86_64/strcpy_chk.S: Remove. + * sysdeps/x86_64/stpcpy_chk.S: Remove. + + [BZ #18240] + * misc/hsearch_r.c (__hcreate_r): Handle overflow. + +2015-08-25 H.J. Lu + + [BZ #15128] + * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add + ifuncmain8. + (modules-names): Add ifuncmod8. + ($(objpfx)ifuncmain8): New rule. + * sysdeps/x86_64/dl-machine.h: Include and + . + (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse, + _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512, + _dl_runtime_profile_sse, _dl_runtime_profile_avx, or + _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE. + * sysdeps/x86_64/dl-trampoline.S: Rewrite. + * sysdeps/x86_64/dl-trampoline.h: Likewise. + * sysdeps/x86_64/ifuncmain8.c: New file. + * sysdeps/x86_64/ifuncmod8.c: Likewise. + * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE): + Removed. + * sysdeps/x86_64/nptl/tls.h (__128bits): Removed. + (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1. + Change rtld_savespace_sse to __glibc_unused2. + (RTLD_CHECK_FOREIGN_CALL): Removed. + (RTLD_ENABLE_FOREIGN_CALL): Likewise. + (RTLD_PREPARE_FOREIGN_CALL): Likewise. + (RTLD_FINALIZE_FOREIGN_CALL): Likewise. + +2015-08-24 Wilco Dijkstra + + * sysdeps/aarch64/bzero.S (__bzero): Remove. + +2015-08-24 Wilco Dijkstra + + * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx): + Unconditionally set __fpcr to avoid uninialized warning. + (libc_feholdsetround_noex_aarch64_ctx): Likewise. + +2015-08-24 Siddhesh Poyarekar + + * malloc/arena.c (arena_get_retry): Don't use main_arena if it + is corrupt. + + * malloc/arena.c (arena_get2): Drop unused argument. + (arena_lock): Adjust. + (arena_get_retry): Likewise. + +2015-08-24 Andreas Schwab + + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64): + Don't define. + * sysdeps/unix/sysv/linux/powerpc/kernel-features.h + (__ASSUME_IPC64): Don't undef. + * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64. + * sysdeps/unix/sysv/linux/semctl.c: Likewise. + * sysdeps/unix/sysv/linux/shmctl.c: Likewise. + * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove. + * sysdeps/unix/sysv/linux/i386/semctl.c: Remove. + * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove. + * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove. + * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove. + * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove. + * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove. + * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove. + * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove. + * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove. + * sysdeps/unix/sysv/linux/sh/semctl.c: Remove. + * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove. + * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove. + * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove. + * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove. + * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove. + * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove. + * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove. + +2015-08-21 Mike Frysinger + + * manual/Makefile (install): Only build manual when perl is available. + +2015-08-21 Carlos Eduardo Seo + + * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace + '#undef memcpy' by '#undef memchr'. + +2015-08-21 Carlos Eduardo Seo + + * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make + memchr not point to the internal __GI_memchr implementation. + +2015-08-20 Joseph Myers + + * timezone/Makefile (CFLAGS-zdump.c): Remove + -Wno-strict-prototypes. + (CFLAGS-zic.c): Likewise. + (CFLAGS-ialloc.c): Likewise. + (CFLAGS-scheck.c): Likewise. + + * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add + -Wno-error=undef. + +2015-08-20 H.J. Lu + + * i386/i686/multiarch/strcasestr-c.c: Removed. + * x86_64/multiarch/strcasestr.c: Likewise. + * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list): + Remove strcasestr. + +2015-08-20 Joseph Myers + + * math/Makefile (CFLAGS): Don't add -Wno-uninitialized. + + * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize + variables for high and low parts before possibly modifying them. + +2015-08-20 H.J. Lu + + * sysdeps/i386/i686/multiarch/init-arch.h: Removed. + * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise. + * sysdeps/x86_64/cacheinfo.c: Include instead + of "multiarch/init-arch.h". + * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ... + * sysdeps/x86/init-arch.h: This. + +2015-08-20 H.J. Lu + + * sysdeps/i386/i686/multiarch/init-arch.c: Removed. + * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise. + +2015-08-20 Ondƙej BĂ­lka + + [BZ #17787] + * manual/macros.texi: Add twoexp macro. + * manual/filesys.texi: Fix exponents. + * manual/llio.texi: Likewise. + * manual/stdio.texi: Likewise. + +2015-08-20 Florian Weimer + + * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to + incorrect use. + +2015-08-19 Joseph Myers + + [BZ #18370] + * math/s_csqrt.c (__csqrt): Force underflow exception for results + whose real or imaginary part has small absolute value. + * math/s_csqrtf.c (__csqrtf): Likewise. + * math/s_csqrtl.c (__csqrtl): Likewise. + * math/auto-libm-test-in: Add more tests of csqrt. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + +2015-08-19 Gabriel F. T. Gomes + + * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high, + __ppc_set_ppr_very_low): New functions. + * manual/platform.texi: Add documentation about + __ppc_set_ppr_med_high and __ppc_set_ppr_very_low. + +2015-08-19 Wilco Dijkstra + + * string/stpncpy.c (stpncpy): Improve performance using + __strnlen/memcpy/memset. + +2015-08-19 Andrew Senkevich + + [BZ #18796] + * scripts/test-installation.pl: Don't add -lmvec to build options if + libmvec wasn't built. + +2015-08-19 Petar Jovanovic + + [BZ #14341] + * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the + case when there is a gap between DT_REL and DT_JMPREL sections. + * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc. + (LDFLAGS-tst-split-dynreloc): New. + (tst-split-dynreloc-ENV): Likewise. + * sysdeps/x86_64/tst-split-dynreloc.c: New file. + * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise. + +2015-08-19 H.J. Lu + + [BZ #18822] + * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add + attribute_hidden. + (__xstat64_conv): Likewise. + (__xstat32_conv): Likewise. + +2015-08-19 H.J. Lu + + [BZ #18822] + * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext): + Don't load %ebx when calling __setcontext. Call __setcontext + with HIDDEN_JUMPTARGET. + * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add + libc_hidden_def. + +2015-08-19 H.J. Lu + + * sysdeps/i386/i686/Makefile + [$(subdir) == string] (sysdep_routines): Moved to ... + * sysdeps/i386/Makefile: Here. + * sysdeps/i386/i686/cacheinfo.c: Moved to ... + * sysdeps/i386/cacheinfo.c: Here. + * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed. + * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ... + * sysdeps/unix/sysv/linux/x86/sysconf.c: Here. + +2015-08-19 H.J. Lu + + * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if + __i586__ is defined. + (HAS_I686): Defined to 1 if __i686__ is defined. + +2015-08-19 Joseph Myers + + * elf/Makefile [$(have-z-execstack) = yes] + (CPPFLAGS-tst-execstack.c): New variable. + + * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change + conditional to [defined UTMPX || _HAVE_UT_TYPE]. + [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined + UTMPX || _HAVE_UT_TV]. + [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined + UTMPX || _HAVE_UT_TV - 0]. + +2015-08-18 Joseph Myers + + * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change + conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6]. + * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise. + +2015-08-18 Carlos Eduardo Seo + + * sysdeps/powerpc/dl-procinfo.c: + (_dl_powerpc_cap_flags): Added missing strings for some + hwcap features. + * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count. + +2015-08-18 Paul Eggert + + Port the 0x7efe...feff pattern to GCC 6. + See Steve Ellcey's bug report in: + https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html + * string/memrchr.c (MEMRCHR): + * string/rawmemchr.c (RAWMEMCHR): + * string/strchr.c (strchr): + * string/strchrnul.c (STRCHRNUL): + Rewrite code to avoid issues with signed shift overflow. + +2015-08-18 H.J. Lu + + * sysdeps/x86/cpu-features.c (init_cpu_features): Check + whether cpuid is available only if HAS_CPUID is 0. + * sysdeps/x86/cpu-features.h (HAS_CPUID): New. + (HAS_I586): Likewise. + (HAS_I686): Likewise. + +2015-08-18 Zack Weinberg + + * misc/Versions (libc): Add GLIBC_2.23. + +2015-08-18 Alan Modra + + [BZ #18421] + * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define + .Lp__global. + (_start): Load %dp via .Lp__global. + [!SHARED]: Use .section .rodata. + +2015-08-18 Mike Frysinger + + * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file. + * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete. + +2015-08-18 Mike Frysinger + + * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file. + * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete. + +2015-08-18 Mike Frysinger + + * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file. + * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete. + +2015-08-18 Mike Frysinger + + * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file. + * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete. + +2015-08-18 Mike Frysinger + + * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file. + * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete. + +2015-08-18 Mike Frysinger + + * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND, + SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined. + +2015-08-18 Mike Frysinger + + * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define. + +2015-08-18 Mike Frysinger + + * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete + kernel-features.h include. Delete __ASSUME_LWS_CAS checks. + * sysdeps/unix/sysv/linux/hppa/kernel-features.h + (__ASSUME_LWS_CAS): Delete. + +2015-08-18 Mike Frysinger + + * sysdeps/hppa/configure.ac: Delete binutils tls checks. + * sysdeps/hppa/configure: Regenerated. + * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks. + * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks. + * sysdeps/hppa/nptl/tls.h: Likewise. + +2015-08-17 Joseph Myers + + [BZ #18823] + * math/s_csqrt.c (__csqrt): Increase threshold and scale factor + for scaling up small arguments. + * math/s_csqrtf.c (__csqrtf): Likewise. + * math/s_csqrtl.c (__csqrtl): Likewise. + * math/auto-libm-test-in: Add more tests of csqrt. + * math/auto-libm-test-out: Regenerated. + +2015-08-17 Andreas Schwab + + * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty + version set GLIBC_2.19. + +2015-08-16 Zack Weinberg + + [BZ #18681] + * misc/regexp.h: This interface is no longer supported. + Remove all contents, leaving only an #error directive. + * misc/regexp.c (loc1, loc2, locs, step, advance): + Demote to compatibility symbols. + +2015-08-15 Paul Pluzhnikov + + [BZ #18084] + * debug/tst-backtrace2.c (do_test): Add test for BZ #18084. + * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0. + * sysdeps/i386/backtrace.c (__backtrace): Likewise. + * sysdeps/m68k/backtrace.c (__backtrace): Likewise. + * sysdeps/microblaze/backtrace.c (__backtrace): Likewise. + * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise. + * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise. + * sysdeps/sparc/backtrace.c (__backtrace): Likewise. + * sysdeps/x86_64/backtrace.c (__backtrace): Likewise. + +2015-08-15 Zack Weinberg + + [BZ #18795] + * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the + buffer length is known to be too large, not if it's known to be + small enough. + * debug/tst-chk1.c (do_test): Do all tests for catching a buffer + overflow at runtime, involving a length parameter, twice: once + with a compile-time constant length parameter, once without. + +2015-08-14 Joseph Myers + + [BZ #18824] + * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for + scaling x * y up instead of down. + * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise. + * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise. + * math/auto-libm-test-in: Add more tests of fma. + * math/auto-libm-test-out: Regenerated. + +2015-08-14 Paul Pluzhnikov + + * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated. + +2015-08-14 Siddhesh Poyarekar + + * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove + unnecessary movq. + * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint): + Likewise. + +2015-08-13 Joseph Myers + + * math/auto-libm-test-in: Add more tests of acos, acosh, asin, + asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc, + exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh + and tgamma. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + [BZ #16520] + * sysdeps/ieee754/dbl-64/s_tanh.c: Include . + (__tanh): Force underflow exception for arguments with small + absolute value. + * sysdeps/ieee754/flt-32/s_tanhf.c: Include . + (__tanhf): Force underflow exception for arguments with small + absolute value. + * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include . + (__tanhl): Force underflow exception for arguments with small + absolute value. + * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include . + (__tanhl): Force underflow exception for arguments with small + absolute value. + * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include . + (__tanhl): Force underflow exception for arguments with small + absolute value. + * math/auto-libm-test-in: Add more tests of tanh. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + +2015-08-13 H.J. Lu + + * sysdeps/x86/cpu-features.c (init_cpu_features): Call + __get_cpuid_max if not compiling for i586, i686 nor x86-64. + +2015-08-13 H.J. Lu + + * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include + . + +2015-08-13 H.J. Lu + + * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init): + Replace HAS_RTM with HAS_CPU_FEATURE (RTM). + +2015-08-13 H.J. Lu + + * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))): + Remove $(objpfx)init-arch.o. + * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove + init-arch. + * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed. + (INIT_ARCH_EXT): Defined as empty. + (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX). + * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove + __init_cpu_features call. Replace HAS_XXX with + HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX). + * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise. + +2015-08-13 H.J. Lu + + * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX + with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX). + * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise. + * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise. + * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise. + * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise. + * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise. + * sysdeps/i386/i686/multiarch/s_fma.c: Likewise. + * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise. + * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features + call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO. + Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX + with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX). + * sysdeps/i386/i686/multiarch/bzero.S: Likewise. + * sysdeps/i386/i686/multiarch/memchr.S: Likewise. + * sysdeps/i386/i686/multiarch/memcmp.S: Likewise. + * sysdeps/i386/i686/multiarch/memcpy.S: Likewise. + * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise. + * sysdeps/i386/i686/multiarch/memmove.S: Likewise. + * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise. + * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise. + * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise. + * sysdeps/i386/i686/multiarch/memrchr.S: Likewise. + * sysdeps/i386/i686/multiarch/memset.S: Likewise. + * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise. + * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise. + * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise. + * sysdeps/i386/i686/multiarch/strcat.S: Likewise. + * sysdeps/i386/i686/multiarch/strchr.S: Likewise. + * sysdeps/i386/i686/multiarch/strcmp.S: Likewise. + * sysdeps/i386/i686/multiarch/strcpy.S: Likewise. + * sysdeps/i386/i686/multiarch/strcspn.S: Likewise. + * sysdeps/i386/i686/multiarch/strlen.S: Likewise. + * sysdeps/i386/i686/multiarch/strncase.S: Likewise. + * sysdeps/i386/i686/multiarch/strnlen.S: Likewise. + * sysdeps/i386/i686/multiarch/strrchr.S: Likewise. + * sysdeps/i386/i686/multiarch/strspn.S: Likewise. + * sysdeps/i386/i686/multiarch/wcschr.S: Likewise. + * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise. + * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise. + * sysdeps/i386/i686/multiarch/wcslen.S: Likewise. + * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise. + * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise. + +2015-08-13 H.J. Lu + + * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with + HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX). + * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use + LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1). + * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise. + * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise. + * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise. + * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise. + * sysdeps/x86_64/multiarch/strstr.c: Likewise. + * sysdeps/x86_64/multiarch/memmove.c: Likewise. + * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise. + * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise. + * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features + call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with + HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX). + * sysdeps/x86_64/multiarch/memcpy.S: Likewise. + * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise. + * sysdeps/x86_64/multiarch/mempcpy.S: Likewise. + * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise. + * sysdeps/x86_64/multiarch/memset.S: Likewise. + * sysdeps/x86_64/multiarch/memset_chk.S: Likewise. + * sysdeps/x86_64/multiarch/strcat.S: Likewise. + * sysdeps/x86_64/multiarch/strchr.S: Likewise. + * sysdeps/x86_64/multiarch/strcmp.S: Likewise. + * sysdeps/x86_64/multiarch/strcpy.S: Likewise. + * sysdeps/x86_64/multiarch/strcspn.S: Likewise. + * sysdeps/x86_64/multiarch/strspn.S: Likewise. + * sysdeps/x86_64/multiarch/wcscpy.S: Likewise. + * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise. + +2015-08-13 H.J. Lu + + * sysdeps/i386/dl-machine.h: Include . + (dl_platform_init): Call init_cpu_features. + * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New. + * sysdeps/i386/i686/cacheinfo.c + (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed. + * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch. + * sysdeps/i386/i686/multiarch/Versions: Removed. + * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET): + Removed. + * sysdeps/i386/ldsodefs.h: Include . + * sysdeps/unix/sysv/linux/x86/Makefile + (libpthread-sysdep_routines): Remove init-arch. + * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include + instead of + sysdeps/generic/dl-procinfo.c>. + * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers): + Add cpu-features-offsets.sym and rtld-global-offsets.sym. + [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features. + [$(subdir) == elf] (tests): Add tst-get-cpu-features. + [$(subdir) == elf] (tests-static): Add + tst-get-cpu-features-static. + * sysdeps/x86/Versions: New file. + * sysdeps/x86/cpu-features-offsets.sym: Likewise. + * sysdeps/x86/cpu-features.c: Likewise. + * sysdeps/x86/cpu-features.h: Likewise. + * sysdeps/x86/dl-get-cpu-features.c: Likewise. + * sysdeps/x86/libc-start.c: Likewise. + * sysdeps/x86/rtld-global-offsets.sym: Likewise. + * sysdeps/x86/tst-get-cpu-features-static.c: Likewise. + * sysdeps/x86/tst-get-cpu-features.c: Likewise. + * sysdeps/x86_64/dl-procinfo.c: Likewise. + * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed. + Assume USE_MULTIARCH is defined and don't check it. + (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features). + (is_amd): Likewise. + (max_cpuid): Likewise. + (intel_check_word): Likewise. + (__cache_sysconf): Don't call __init_cpu_features. + (__x86_preferred_memory_instruction): Removed. + (init_cacheinfo): Don't call __init_cpu_features. Replace + __cpu_features with GLRO(dl_x86_cpu_features). + * sysdeps/x86_64/dl-machine.h: . + (dl_platform_init): Call init_cpu_features. + * sysdeps/x86_64/ldsodefs.h: Include . + * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch. + * sysdeps/x86_64/multiarch/Versions: Removed. + * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise. + * sysdeps/x86_64/multiarch/init-arch.c: Likewise. + * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET): + Removed. + * sysdeps/x86_64/multiarch/init-arch.h: Rewrite. + +2015-08-12 Paul Pluzhnikov + + [BZ #18820] + * libio/Makefile (test-fmemopen-mem): New test. + * libio/test-fmemopen.c (do_bz18820): New test. + * libio/fmemopen.c (__fmemopen): Fix memory leak. + * libio/oldfmemopen.c (__old_fmemopen): Likewise. + +2015-08-12 Paul Pluzhnikov + + [BZ #16734] + * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete. + (FREE_BUF): Delete. + * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size. + * libio/genops.c (_IO_setb): Use malloc and free directly. + (_IO_default_doallocate, _IO_default_finish): Likewise. + ( _IO_unbuffer_all): Likewise. + ( libc_freeres_fn): Likewise. + * libio/filedoalloc.c (_IO_file_doallocate): Likewise. + * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise. + * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise. + (_IO_wdefault_doallocate): Likewise. + +2015-08-11 Paul Pluzhnikov + + [BZ #18086] + * sysdeps/posix/nice.c (nice): Restore old errno. + * posix/tst-nice.c (do_test): Add test for BZ #18086. + +2015-08-10 Ondrej Bilka + + * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc. + +2015-08-10 Adhemerval Zanella + + * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to + __bcopy and add a weak_alias to bcopy. + * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen + for static build. + + * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and + cleanup macro usage. + * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name. + * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file. + * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise. + * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise. + * sysdeps/powerpc/powerpc64/strcpy.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c + [SHARED && IS_IN (libc)]: Include . + * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c + [SHARED && IS_IN (libc)]: Include . + * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file. + * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise. + * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise. + + * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add + libc_hidden_def. + (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def. + + * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string] + (sysdep_routines): Add strstr-ppc64. + * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file. + +2015-08-10 Maxim Ostapenko + + [BZ #18778] + * elf/Makefile (tests): Add Add tst-nodelete2. + (modules-names): Add tst-nodelete2mod. + (tst-nodelete2mod.so-no-z-defs): New. + ($(objpfx)tst-nodelete2): Likewise. + ($(objpfx)tst-nodelete2.out): Likewise. + (LDFLAGS-tst-nodelete2): Likewise. + * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing + out of loop through all loaded libraries. + * elf/tst-nodelete2.c: New file. + * elf/tst-nodelete2mod.c: Likewise. + * elf/tst-znodelete-zlib.cc: Delete. + +2015-08-11 Andreas Schwab + + * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define. + * sysdeps/unix/sysv/linux/wordsize-64/openat.c + (__openat64_nocancel): Likewise. + +2015-08-11 Joseph Myers + + * math/auto-libm-test-in: Add more tests of acosh, asin, asinh, + atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10, + expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2015-08-10 Joseph Myers + + [BZ #18790] + * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase + threshold for returning +/- 1. + * math/auto-libm-test-in: Add more tests of tanh. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + +2015-08-10 Andreas Schwab + + [BZ #18781] + * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add + MORE_OFLAGS to oflag. + * io/test-lfs.c (do_test): Test openat64. + +2015-08-10 Joseph Myers + + [BZ #18789] + * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use + smaller threshold for returning the argument. + * math/auto-libm-test-in: Add more tests of sinh. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + +2015-08-09 H.J. Lu + + [BZ #18674] + * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing + break. + +2015-08-09 Andreas Schwab + + * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define. + (generated): Don't add $(addprefix z.,$(tzfiles)). + +2015-08-09 Mike Frysinger + + * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1. + * scripts/sysd-rules.awk: Likewise. + +2015-08-09 Mike Frysinger + + * iconvdata/tst-tables.sh: Change echo -n to printf. + * nss/db-Makefile: Likewise. + * posix/tst-getconf.sh: Likewise. + * stdio-common/tst-unbputc.sh: Likewise. + +2015-08-09 Mike Frysinger + + * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all + MADV_*_PAGES defines behind this feature check. + +2015-08-09 John David Anglin + + [BZ #18480] + * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1, + LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6): + Define. + (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4, + LOAD_REGS_5, LOAD_REGS_6): Update. + (INTERNAL_SYSCALL): Update using new LOAD defines. + (INTERNAL_SYSCALL_NCS): Likewise. + * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise. + +2015-08-08 Paul Pluzhnikov + + [BZ #16734] + * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well. + +2015-08-08 Paul Pluzhnikov + + [BZ #17905] + * catgets/Makefile (tst-catgets-mem): New test. + * catgets/catgets.c (catopen): Don't use unbounded alloca. + * catgets/open_catalog.c (__open_catalog): Likewise. + * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca. + +2015-08-08 John David Anglin + + [BZ #18787] + * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise + clobber registers. + (atomic_compare_and_exchange_val_acq): Use register asms to assign + operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks. + Cast return to __typeof (oldval). + +2015-08-08 Mike Frysinger + + * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file + in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h + and delete sys/syscall.h include. + +2015-08-07 Joseph Myers + + [BZ #16517] + * sysdeps/ieee754/dbl-64/s_tan.c: Include . + (tan): Force underflow exception for arguments with small absolute + value. + * sysdeps/ieee754/flt-32/k_tanf.c: Include . + (__kernel_tanf): Force underflow exception for arguments with + small absolute value. + * sysdeps/ieee754/ldbl-128/k_tanl.c: Include . + (__kernel_tanl): Force underflow exception for arguments with + small absolute value. + * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include . + (__kernel_tanl): Force underflow exception for arguments with + small absolute value. + * sysdeps/ieee754/ldbl-96/k_tanl.c: Include . + (__kernel_tanl): Force underflow exception for arguments with + small absolute value. + * math/auto-libm-test-in: Add more tests of tan. + * math/auto-libm-test-out: Regenerated. + +2015-08-07 Samuel Thibault + + Fix sysdeps/i386/fpu/s_scalbn.S build + + * math/Versions (libc: GLIBC_2_22): New (empty) version set. + +2015-08-07 Mike Frysinger + + * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def. + +2015-08-07 Samuel Thibault + + Fix gcrt0.o compilation + + When static-start-installed-name is different from + start-installed-name, we must not use the shared objects. + + * csu/Makefile + (extra-objs): Add gmon-start.o when building shared library and + $(static-start-installed-name) is different from + $(start-installed-name). + $(objpfx)g$(static-start-installed-name): When building shared + library and $(static-start-installed-name) is different from + $(static-start-installed-name), revert to non-shared rule, + i.e. using $(objpfx)% and gmon-start.o. + +2015-08-06 Joseph Myers + + [BZ #16519] + * sysdeps/ieee754/dbl-64/e_sinh.c: Include . + (__ieee754_sinh): Force underflow exception for arguments with + small absolute value. + * sysdeps/ieee754/flt-32/e_sinhf.c: Include . + (__ieee754_sinhf): Force underflow exception for arguments with + small absolute value. + * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include . + (__ieee754_sinhl): Force underflow exception for arguments with + small absolute value. + * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include . + (__ieee754_sinhl): Force underflow exception for arguments with + small absolute value. + * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include . + (__ieee754_sinhl): Force underflow exception for arguments with + small absolute value. + * math/auto-libm-test-in: Add more tests of sinh. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + +2015-08-06 Paul Pluzhnikov + + * libio/oldfileops.c: Include unistd.h. + +2015-08-06 Mike Frysinger + + * stdlib/isomac.c: Include ctype.h. + +2015-08-06 Arjun Shankar + + * dirent/tst-seekdir.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * elf/tst-dlmodcount.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * elf/tst-order-main.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * elf/tst-pie2.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * inet/tst-ether_aton.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * misc/tst-mntent.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * misc/tst-tsearch.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * posix/tst-regexloc.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * resolv/tst-aton.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * stdio-common/test-fwrite.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * stdio-common/tst-ferror.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * stdio-common/tst-printf.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * stdio-common/tst-printfsz.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * stdlib/tst-strtod.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * string/tst-strlen.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * string/tst-svc.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * time/tst-strptime.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * timezone/tst-timezone.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + +2015-08-05 Zack Weinberg + + * misc/regexp.h: Update comments. + +2015-08-05 Andreas Schwab + + [BZ #18635] + * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop + before return label. + +2015-08-05 H.J. Lu + + [BZ #18661] + * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes + when calling __errno_location. + * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise. + * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise. + +2015-08-05 H.J. Lu + + [BZ #18661] + * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S + (__lll_timedwait_tid): Align stack to 16 bytes when calling + __gettimeofday. + +2015-08-05 H.J. Lu + + [BZ #18661] + * sysdeps/unix/sysv/linux/x86_64/__start_context.S + (__start_context): Don't use pop to restore %rdi so that stack + is aligned to 16 bytes when calling __setcontext. + +2015-08-05 H.J. Lu + + * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile + only for libc. + * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise. + +2015-08-05 Wilco Dijkstra + + * string/string.h: (mempcpy): Redirect to __mempcpy_inline. + (__mempcpy): Likewise. (__mempcpy_inline): New inline function. + * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define. + +2015-08-05 Wilco Dijkstra + + * string/memccpy.c (memccpy): + Improve performance by using memchr/memcpy/__mempcpy. + +2015-08-05 Wilco Dijkstra + + * string/strncpy.c (strncpy): + Improve performance by using __strnlen/memcpy. + +2015-08-05 Wilco Dijkstra + + * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): + Optimize to avoid an unnecessary FPCR read. + +2015-08-05 Wilco Dijkstra + + * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): + Optimize to reduce FPCR/FPSR accesses. + +2015-08-05 H.J. Lu + + * locale/loadarchive.c (_nl_archive_subfreeres): Also check + dead->data[category] != NULL. + +2015-08-05 Joseph Myers + + [BZ #18647] + * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y + and |x| close to 1, use absolute value of x when computing log. + * math/auto-libm-test-in: Add more tests of pow. + * math/auto-libm-test-out: Regenerated. + +2015-08-05 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/arm/mmap.c: Add file. + * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file. + * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise. + +2015-08-05 Marko Myllynen + + [BZ #18525] + * locales/km_KH: Remove timezone definition. + * locales/lo_LA: Likewise. + * locales/my_MM: Likewise. + * locales/nan_TW@latin: Likewise. + * locales/th_TH: Likewise. + * locales/uk_UA: Likewise. + +2015-08-05 Daniel MarjamĂ€ki + + [BZ #18265] + * wcsmbs/wchar.h (wcscat): Add __nonnull attribute. + (wcsncat): Likewise. + (wcscmp): Likewise. + (wcsncmp): Likewise. + +2015-08-05 Mike Frysinger + + * test-skeleton.c (usage): New function. + (main): Call usage when opt is '?'. + +2015-08-05 Mike Frysinger + + * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define + before first use. + +2015-08-05 Mike Frysinger + + * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to + bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment + in there too. + +2015-08-05 Carlos O'Donell + + * version.h (RELEASE): Set to "development". + (VERSION): Set to "2.22.90" + + * version.h (RELEASE): Set to "stable". + (VERSION): Set to "2.22" + * include/features.h (__GLIBC_MINOR__): Set to 22. + +2015-08-04 Chris Metcalf + + * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update): + Restructure macro to avoid "value computed is not used" warning. + (atomic_compare_and_exchange_val_acq): Likewise. + +2015-08-04 Andreas Schwab + + [BZ #18635] + * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before + ret. + * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove. + +2015-08-01 Carlos O'Donell + + * po/pl.po: Updated translation. + * po/uk.po: Likewise. + * po/fi.po: Likewise. + * po/ko.po: Likewise. + * po/ru.po: Likewise. + * po/vi.po: Likewise. + +2015-07-31 Zack Weinberg + + [BZ #18681] + * regexp.h: Add unconditional #warning stating that this header + will be removed soon. Revise banner comment to match. + (compile): Consistently use ERROR instead of RETURN to report + errors (partial fix for BZ #18681). + * regexp.c: Don't include regexp.h. Remove some unnecessary + declarations. + +2015-07-31 Carlos O'Donell + + * po/libc.pot: Regenerated. + +2015-07-30 Andrew Senkevich + + [BZ #18740] + * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags, + float-vlen4-arch-ext-cflags): Removed. + * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c, + CFLAGS-test-float-vlen4-wrappers.c): Likewise. + +2015-07-30 Mike Frysinger + + [BZ #14113] + * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change + aligned to __aligned__. + (pthread_cond_t, pthread_rwlock_t): Likewise. + +2015-07-30 Torvald Riegel + + * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file. + +2015-07-30 Mike Frysinger + + * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h. + (struct sigaction): Change sa_flags from a long to an int, and add + __glibc_reserved0 before it for padding when __WORDSIZE is 64. + +2015-07-30 Mike Frysinger + + * hppa/sysdep.h: Delete sys/syscall.h and config.h includes. + * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete + sysdeps/generic/sysdep.h include. + * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in + _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and + sysdeps/hppa/sysdep.h. + (ENTRY, PSEUDO): Undefine before defining. + +2015-07-30 Mike Frysinger + + * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite + from scratch to use INTERNAL_SYSCALL. + +2015-07-29 H.J. Lu + + [BZ #18078] + * scripts/check-localplt.awk: Support alternate relocations. + * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL + sections. + * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and + malloc entries with + REL R_386_GLOB_DAT. + * sysdeps/x86_64/localplt.data: New file. + +2015-07-29 Andrew Senkevich + + [BZ #18731] + * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check. + * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise. + +2015-07-27 Mike Frysinger + + * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr. + +2015-07-27 Mike Frysinger + + * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define + directly in terms of __sync_fetch_and_add and delete (int) cast. + +2015-07-27 Mike Frysinger + + * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete + the -D_ASM_IA64_CURRENT_H flag. + +2015-07-27 Mike Frysinger + + [BZ #18641] + * pwd/pwd.h (putpwent): Delete __nonnull markings. + +2015-07-27 Andreas Schwab + + * conform/conformtest.pl (checknamespace): Filter out string + literals while tokenizing. + +2015-07-26 Chung-Lin Tang + + * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define. + * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle + ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA. + +2015-07-26 Chung-Lin Tang + + * nptl/tst-join7mod.c: Add #include . + +2015-07-25 Chung-Lin Tang + + * sysdeps/nios2/libm-test-ulps: Update. + +2015-07-25 Chung-Lin Tang + + * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext): + Fix order of arguments to the rt_sigprocmask syscall. + * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext): + Likewise. + +2015-07-24 Roland McGrath + + * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed. + +2015-07-24 Siddhesh Poyarekar + + [BZ #18457] + * nptl/Makefile (tests): New test case tst-join7. + (modules-names): New test case module tst-join7mod. + * nptl/tst-join7.c: New file. + * nptl/tst-join7mod.c: New file. + * Makeconfig (tls-model): Pass -ftls-model=initial-exec for + all translation units in libc.so, libpthread.so and rtld. + +2015-07-24 Adhemerval Zanella + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2015-07-24 Andrew Senkevich + + * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC. + * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise. + * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2. + * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL + implementation. + +2015-07-24 Szabolcs Nagy + + [BZ #17711] + * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define. + * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle + ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA. + * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define. + * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle + ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA. + +2015-07-24 Siddhesh Poyarekar + + * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock + instead of just saying load lock in the comments. + +2015-07-23 Roland McGrath + + * sysdeps/unix/Subdirs: Moved ... + * sysdeps/posix/Subdirs: ... here. + * login/pty.h (struct termios, struct winsize): Add forward decls. + * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ]. + * sysdeps/nacl/glob.c: Just #include . + * sysdeps/arm/nacl/libc.abilist: Updated. + * sysdeps/nacl/libutil.abilist: New file. + + * bits/signum.h: Update comments to mention 1003.1-2013 too. + (SIGWINCH): New macro. + + * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias. + * sysdeps/arm/nacl/libc.abilist: Add it. + +2015-07-23 Mike Frysinger + + * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl. + +2015-07-23 Mike Frysinger + + * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction): + Swap __glibc_reserved0 and sa_flags order. + +2015-07-23 Siddhesh Poyarekar + + [BZ #18657] + * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there + are pending TLS destructor calls. + * include/link.h (struct link_map): Add concurrency note for + L_TLS_DTOR_COUNT. + * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): + Don't touch the link map flag. Atomically increment + l_tls_dtor_count. + (__call_tls_dtors): Atomically decrement l_tls_dtor_count. + Avoid taking the load lock and don't touch the link map flag. + * stdlib/tst-tls-atexit-nodelete.c: New test case. + * stdlib/Makefile (tests): Use it. + * stdlib/tst-tls-atexit.c (do_test): dlopen + tst-tls-atexit-lib.so again before dlclose. Add conditionals + to allow tst-tls-atexit-nodelete test case to use it. + +2015-07-22 Mike Frysinger + + * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include + to bits/types.h. + (msgqnum_t): New typedef. + (msglen_t): Likewise. + (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t + and msg_qbytes type to msglen_t. + +2015-07-22 Mike Frysinger + + * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename + pad0 to __glibc_reserved0. + (struct stat64): Likewise. + +2015-07-22 Mike Frysinger + + * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction): + Change sa_flags from a long to an int and add __glibc_reserved0 before + it for padding. + +2015-07-22 Mike Frysinger + + * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct + anonymous by deleting "siginfo" name. + +2015-07-21 Roland McGrath + + * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename. + * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename + rather than __nacl_irt_filename. + * sysdeps/nacl/xstat.c (__xstat): Likewise. + + * NEWS: New item for arm-nacl port. + * sysdeps/arm/nacl/libc.abilist: New file. + * sysdeps/nacl/ld.abilist: New file. + * sysdeps/nacl/libBrokenLocale.abilist: New file. + * sysdeps/nacl/libanl.abilist: New file. + * sysdeps/nacl/libcrypt.abilist: New file. + * sysdeps/nacl/libdl.abilist: New file. + * sysdeps/nacl/libm.abilist: New file. + * sysdeps/nacl/libpthread.abilist: New file. + * sysdeps/nacl/libresolv.abilist: New file. + * sysdeps/nacl/librt.abilist: New file. + +2015-07-21 Chris Metcalf + + * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call + __startcontext to initialize the new context. + * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set + up CFI directive to forbid further backtracing. + +2015-07-21 Marko Myllynen + + * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map + reference. + * charmaps/ANSI_X3.4-1968: Likewise. + * charmaps/BS_4730: Likewise. + * charmaps/BS_VIEWDATA: Likewise. + * charmaps/CP1250: Likewise. + * charmaps/CP1251: Likewise. + * charmaps/CP1252: Likewise. + * charmaps/CP1253: Likewise. + * charmaps/CP1254: Likewise. + * charmaps/CP1255: Likewise. + * charmaps/CP1256: Likewise. + * charmaps/CSN_369103: Likewise. + * charmaps/EBCDIC-DK-NO: Likewise. + * charmaps/GB_1988-80: Likewise. + * charmaps/GREEK-CCITT: Likewise. + * charmaps/GREEK7: Likewise. + * charmaps/INIS-8: Likewise. + * charmaps/ISIRI-3342: Likewise. + * charmaps/ISO_2033-1983: Likewise. + * charmaps/ISO_5427-EXT: Likewise. + * locales/POSIX: Likewise. + * locales/ar_SA: Likewise. + * locales/be_BY: Likewise. + * locales/be_BY@latin: Likewise. + * locales/ca_ES: Likewise. + * locales/cs_CZ: Likewise. + * locales/da_DK: Likewise. + * locales/de_BE: Likewise. + * locales/de_CH: Likewise. + * locales/de_LU: Likewise. + * locales/en_AU: Likewise. + * locales/en_BW: Likewise. + * locales/en_CA: Likewise. + * locales/en_DK: Likewise. + * locales/en_GB: Likewise. + * locales/en_IE: Likewise. + * locales/en_NZ: Likewise. + * locales/en_ZA: Likewise. + * locales/en_ZW: Likewise. + * locales/es_AR: Likewise. + * locales/es_BO: Likewise. + * locales/es_CL: Likewise. + * locales/es_CO: Likewise. + * locales/es_DO: Likewise. + * locales/es_EC: Likewise. + * locales/es_ES: Likewise. + * locales/es_HN: Likewise. + * locales/es_MX: Likewise. + * locales/es_PA: Likewise. + * locales/es_PE: Likewise. + * locales/es_PY: Likewise. + * locales/es_SV: Likewise. + * locales/es_US: Likewise. + * locales/es_UY: Likewise. + * locales/es_VE: Likewise. + * locales/et_EE: Likewise. + * locales/fa_IR: Likewise. + * locales/fo_FO: Likewise. + * locales/fr_CA: Likewise. + * locales/fr_CH: Likewise. + * locales/gv_GB: Likewise. + * locales/he_IL: Likewise. + * locales/hr_HR: Likewise. + * locales/id_ID: Likewise. + * locales/is_IS: Likewise. + * locales/it_CH: Likewise. + * locales/iw_IL: Likewise. + * locales/kl_GL: Likewise. + * locales/ko_KR: Likewise. + * locales/kw_GB: Likewise. + * locales/lg_UG: Likewise. + * locales/lt_LT: Likewise. + * locales/lv_LV: Likewise. + * locales/mi_NZ: Likewise. + * locales/nhn_MX: Likewise. + * locales/nl_BE: Likewise. + * locales/pl_PL: Likewise. + * locales/sk_SK: Likewise. + * locales/sl_SI: Likewise. + * locales/sv_FI: Likewise. + * locales/tl_PH: Likewise. + * locales/tr_TR: Likewise. + * locales/vi_VN: Likewise. + +2015-07-21 Khem Raj + + [BZ #17475] + * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename + of tu_IN and bh_IN. + +2015-07-21 Mike Frysinger + + [BZ #18694] + * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include + bits/wordsize.h. + (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64. + +2015-07-21 Siddhesh Poyarekar + + * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor. + * stdlib/tst-tls-atexit.c: (is_loaded): New function. + (spawn_thread): New function. + (load): Rename to reg_dtor_and_close. Move dlopen to... + (do_test): ... here. Use IS_LOADED to test for its + availability. + +2015-07-21 Andreas Schwab + + * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update. + +2015-07-20 H.J. Lu + + [BZ #18696] + * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add + si_addr_bnd. + (si_lower): New. + (si_upper): Likewise. + +2015-07-16 David S. Miller + + * sysdeps/sparc/fpu/libm-test-ulps: Regenerated. + +2015-07-16 Adhemerval Zanella + + * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided + buffer. + * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and + fail output information. + +2015-07-16 Rajalakshmi Srinivasaraghavan + + * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7 + and strstr-ppc64.. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise. + * sysdeps/powerpc/powerpc64/power7/strstr.S: New File. + * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File. + * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File. + * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File. + +2015-07-16 Mike Frysinger + + * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap. + * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden. + * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap. + * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden. + +2015-07-16 Mike Frysinger + + * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def. + * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add + rtld_hidden_proto. + * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise. + +2015-07-16 Siddhesh Poyarekar + + * tst-nodelete-opened.c (do_test): Add comment to clarify how + the test can fail. + + * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup. + + [BZ #18676] + * elf/tst-nodelete-opened.c: New test case. + * elf/tst-nodelete-opened-lib.c: New test case module. + * elf/Makefile (tests, modules-names): Use them. + * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag + early. + +2015-07-15 David S. Miller + + * sysdeps/sparc/nptl/pthread_barrier_init.c: Include + futex-intenal.h + * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax. + * sysdeps/sparc/sparc64/Makefile: Likewise. + * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop): + Remove space from macro define. + * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise. + +2015-07-15 Pravin Satpute + + [BZ #17475] + * locale/iso-639.def: Update Bhili and Tulu language codes as + per iso639-3. + +2015-07-15 Arjun Shankar + + * elf/tst-leaks1.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * localedata/tst-langinfo.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * math/test-fpucw.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * math/test-tgmath.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * math/test-tgmath2.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * setjmp/tst-setjmp.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * stdio-common/tst-sscanf.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * sysdeps/x86_64/tst-audit6.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + + * elf/tst-audit9.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + +2015-07-15 Mike Frysinger + + * timezone/tst-tzset.c (TIMEOUT): Define to 5. + +2015-07-15 Stefan Liebler + + * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): + New variable. + +2015-07-15 Stefan Liebler + + * sysdeps/s390/fpu/libm-test-ulps: Regenerated. + +2015-07-14 Roland McGrath + + * sysdeps/generic/dl-fileid.h: New file. + * sysdeps/posix/dl-fileid.h: New file. + * sysdeps/nacl/dl-fileid.h: New file. + * include/link.h: Include . + (struct link_map): Replace l_dev and l_ino with l_file_id. + * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather + than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev + and l_ino directly. Initialize l_file_id rather than l_dev and l_ino. + +2015-07-14 Siddhesh Poyarekar + + * stdlib/tst-tls-atexit.c (do_test): Fix typo. + +2015-07-14 Adhemerval Zanella + + * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete): + Add iff $CXX is set. + [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod): + Likewise. + (tst-nodelete-zmodiff): Likewise. + * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5. + +2015-07-14 Siddhesh Poyarekar + + * stdlib/tst-tls-atexit.c (load): Fix up whitespace. + +2015-07-13 Wilco Dijkstra + + * sysdeps/aarch64/fpu/math_private.h + (define math_opt_barrier): Add AArch64 version. + (math_force_eval): Likewise. + +2015-07-13 Wilco Dijkstra + + * sysdeps/aarch64/strlen.S (strlen): Optimize strlen. + +2015-07-11 H.J. Lu + + * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace + %ld with %jd and cast to intmax_t. + (do_test_length_zero): Likewise. + +2015-07-10 Roland McGrath + + * sysdeps/nacl/pthread_condattr_setclock.c: New file. + +2015-07-10 Chris Metcalf + + * sysdeps/tile/libm-test-ulps: Regenerated. + + * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]: + Comment out the whole function, not just its body. + +2015-07-10 Siddhesh Poyarekar + + * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex + locks. + + * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion. + +2015-07-10 Torvald Riegel + + * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments. + (sem_assume_only_signals_cause_futex_EINTR): Remove. + +2015-07-10 Torvald Riegel + + * sysdeps/nptl/futex-internal.h: New file. + * sysdeps/nacl/futex-internal.h: New file. + * sysdeps/unix/sysv/linux/futex-internal.h: New file. + * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with + error checking. + (setxid_unmark_thread): Likewise. + (__nptl_setxid): Likewise. + (__wait_lookup_done): Likewise. + * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise. + * nptl/nptl-init.c (sighandler_setxid): Likewise. + * nptl/pthread_create.c (START_THREAD_DEFN): Likewise. + * nptl/pthread_once.c (clear_once_control): Likewise. + (__pthread_once_slow): Likewise. + * nptl/unregister-atfork.c (__unregister_atfork): Likewise. + * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise. + * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise. + * sysdeps/nptl/fork.c (__libc_fork): Likewise. + * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise. + * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): + Likewise. + (__pthread_rwlock_rdlock): Likewise. + * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock): + Likewise. + * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): + Likewise. + * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock): + Likewise. + * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise. + * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow: + Likewise. + * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove + __ASSUME_PRIVATE_FUTEX check. + * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared): + Check that shared futexes are supported. + * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex + wrappers with error checking. + * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments, + remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check. + * nptl/pthread_barrierattr_setpshared.c + (pthread_barrierattr_setpshared): Check that shared futexes are + supported. + * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared): + Likewise. + * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared): + Likewise. + * nptl/sem_init.c (futex_private_if_supported): Remove. + (__new_sem_init): Adapt and check that shared futexes are supported. + * nptl/sem_open.c (sem_open): Likewise. + * nptl/sem_post.c (futex_wake): Remove. + * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove. + (do_futex_wait): Use futex wrappers with error checking. + * nptl/sem_wait.c: Include lowlevellock.h. + * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init): + Use futex_supports_pshared. + * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait): + Use futex wrappers with error checking. + * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait): + Likewise. + * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove. + * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise. + * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED. + * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove. + (futex_wake): Likewise. + (sem_assume_only_signals_cause_futex_EINTR): Likewise. + (do_futex_wait): Use futex wrappers with error checking. + (__new_sem_wait_slow): Update EINTR handling. + * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h. + +2015-07-09 Martin Sebor + + [BZ #18435] + * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop): + Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54. + * nptl/Makefile (test-xfail-tst-once5): Define. + +2015-07-09 Roland McGrath + + * include/stdio.h: Add rtld_hidden_proto (__libc_fatal). + * elf/dl-minimal.c: For readability, reorder some definitions and + introduce more page breaks. Include . + (__libc_fatal): New function. + + * include/unistd.h: Add rtld_hidden_proto for _exit. + * posix/_exit.c: Add rtld_hidden_def. + * sysdeps/mach/hurd/_exit.c: Likewise. + * sysdeps/nacl/_exit.c: Likewise. + * sysdeps/unix/sysv/linux/_exit.c: Likewise. + * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise. + +2015-07-09 H.J. Lu + + * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve + bndmov encoding with zero displacement. + +2015-07-09 Igor Zamyatin + H.J. Lu + + [BZ #18134] + * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT. + * sysdeps/i386/configure: Regenerated. + * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New. + (_dl_runtime_profile): Save and restore Intel MPX return bound + registers when calling _dl_call_pltexit. Add + PRESERVE_BND_REGS_PREFIX before return. + * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New. + (LRV_BND1_OFFSET): Likewise. + * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and + lrv_bnd1. + * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix + typo in bndmov encoding. + * sysdeps/x86_64/dl-trampoline.h: Properly save and restore + Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before + branch instructions to preserve bounds. + +2015-07-09 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist + [GLIBC_2.22]: Add fmemopen. + +2015-07-09 Samuel Thibault + + * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports + returns an error, also try to use host port from __mach_host_self for + the __vm_wire call. + * sysdeps/mach/hurd/munlock.c (munlock): Likewise. + +2015-07-09 Szabolcs Nagy + + [BZ #18400] + [BZ #18648] + * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo): + Fix pr_uid and pr_gid members. + * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the + definition to elf_greg_t. + +2015-07-08 Roland McGrath + + [BZ #18383] + * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check. + Emit test-xfail-tst-tlsalign{,-static}=yes if it fails. + * sysdeps/arm/configure: Regenerated. + * elf/Makefile (test-xfail-tst-tlsalign): Variable removed. + (test-xfail-tst-tlsalign-static): Variable removed. + + * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'. + * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link) + rather than explicit 'ln -s'. + + * resolv/rpc/netdb.h: New file. + * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it. + +2015-07-08 Adhemerval Zanella + + * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero + length buffers. + * stdio-common/tst-fmemopen.c (do_test): Refactor to use + test-skeleton.c. + + [BZ #6544] + [BZ #11216] + [BZ #12836] + [BZ #13151] + [BZ #13152] + [BZ #14292] + * include/stdio.h (fmemopen): Remove hidden prototype. + (__fmemopen): Add new hidden prototype. + * libio/Makefile: Add oldfmemopen object. + * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol. + * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX + compliance. + * libio/oldfmemopen.c: New file: old fmemopen implementation for + symbol compatibility. + * stdio-common/Makefile [tests]: Add new tst-fmemopen3. + * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of + fmemopen. + * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus + on append and read mode. + * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add + fmemopen. + * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise. + * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise. + * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise. + * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]: + Likewise. + * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist + [GLIBC_2.22]: Likewise. + * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]: + Likewise. + * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]: + Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist + [GLIBC_2.22]: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist + [GLIBC_2.22]: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist + [GLIBC_2.22]: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist + [GLIBC_2.22]: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist + [GLIBC_2.22]: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist + [GLIBC_2.22]: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist + [GLIBC_2.22]: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]: + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]: + Likewise. + * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist + [GLIBC_2.22]: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist + [GLIBC_2.22]: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist + [GLIBC_2.22]: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist + [GLIBC_2.22]: Likewise. + * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]: + Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]: + Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]: + Likewise. + * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise. + * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise. + +2015-07-08 Carlos O'Donell + + [BZ #18643] + * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU, + IPV6_PATHMTU, and IPV6_DONTFRAG. + +2015-07-08 Feng Gao + + * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF + and _IO_UNBUFFERED. + * libio/oldfileops.c: Likewise. + * libio/wfileops.c: Likewise. + +2015-07-08 Mike Frysinger + + * nscd/selinux.c: Delete selinux/flask.h include. + +2015-07-08 Mike Frysinger + + [BZ #18641] + * pwd/pwd.h (fgetpwent): Add __nonnull markings. + (putpwent): Likewise. + (getpwnam): Likewise. + (getpwent_r): Likewise. + (getpwuid_r): Likewise. + (getpwnam_r): Likewise. + (fgetpwent_r): Likewise. + +2015-07-08 Carlos O'Donell + + [BZ #18557] + * inet/rcmd.c (__validuser2_sa): Check user first to + short-circuit host check. + +2015-07-07 Pavel Kopyl + Mikhail Ilin + + [BZ #17833] + * elf/Makefile (tests): Add tst-nodelete. + (modules-names): Add tst-nodelete-uniquemod. + (tst-nodelete-uniquemod.so-no-z-defs): New. + (tst-nodelete-rtldmod.so-no-z-defs): Likewise. + (tst-nodelete-zmod.so-no-z-defs): Likewise. + ($(objpfx)tst-nodelete): Likewise. + ($(objpfx)tst-nodelete.out): Likewise. + (LDFLAGS-tst-nodelete): Likewise. + (LDFLAGS-tst-nodelete-zmod.so): Likewise. + * elf/dl-close.c (_dl_close_worker): Add a parameter to + implement forced object deletion. + (_dl_close): Pass false to _dl_close_worker. + * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker. + * elf/tst-nodelete.cc: New file. + * elf/tst-nodeletelib.cc: Likewise. + * elf/tst-znodeletelib.cc: Likewise. + * include/dlfcn.h (_dl_close_worker): Add a new parameter. + +2015-07-07 Stefan Liebler + + [BZ #18508] + * stdlib/Makefile ($(objpfx)tst-makecontext3): + Depend on $(libdl). + * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace + is not called infinitely times. + (backtrace_helper): New function. + (trace_arg): New struct. + (st1): Enlarge stack size. + * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S: + (__makecontext_ret): Omit cfi_startproc and cfi_endproc. + * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S: + Likewise. + +2015-07-07 Stefan Liebler + + * sysdeps/s390/fpu/libm-test-ulps: Regenerated. + +2015-07-07 Stefan Liebler + + * sysdeps/unix/sysv/linux/s390/bits/sem.h: + Include sys/types.h instead of bits/types.h. + Remove inclusion of bits/wordsize.h. + +2015-07-07 H.J. Lu + + * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New. + * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise. + * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise. + * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise. + * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise. + * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise. + +2015-07-07 H.J. Lu + + * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add + link-defines.sym. + * sysdeps/i386/dl-trampoline.S: Include . + (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE, + LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET + and LR_SIZE. + * sysdeps/i386/link-defines.sym: New file. + +2015-07-07 H.J. Lu + + * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3. + (modules-names): Add tst-auditmod3a tst-auditmod3b. + ($(objpfx)tst-audit3): New rule. + ($(objpfx)tst-audit3.out): Likewise. + * sysdeps/i386/tst-audit3.c: New file. + * sysdeps/i386/tst-audit3.h: Likewise. + * sysdeps/i386/tst-auditmod3a.c: Likewise. + * sysdeps/i386/tst-auditmod3b.c: Likewise. + +2015-07-07 Torvald Riegel + + [BZ #18633] + * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid + pointer in C code. + (__strcat_c): Likewise. + (__strcat_g): Likewise. + +2015-07-07 Cyril Hrubis + + [BZ #18592] + * misc/sbrk.c: Set errno to ENOMEM on overflow. + +2015-07-06 Wilco Dijkstra + + * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): + New function. (__ieee754_sqrtf): New function. + * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt): + New function. + * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf): + New function. + +2015-07-06 Wilco Dijkstra + + * sysdeps/ieee754/support.c: Remove unused file. + +2015-07-06 Szabolcs Nagy + + * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q + registers instead of d ones so the layout is kernel abi compatible. + * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise. + * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): + Likewise. + +2015-07-02 Szabolcs Nagy + + * sysdeps/aarch64/libm-test-ulps: Regenerated. + +2015-07-01 Joseph Myers + + [BZ #18619] + * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow + and return argument in case of subnormal argument. + +2015-07-01 Martin Sebor + + [BZ #18435] + * nptl/Makefile: Add tst-once5.cc. + * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop): + Remove macro redefinitions. + * nptl/tst-once5.cc: New test. + +2015-07-01 Joseph Myers + + * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated. + + * sysdeps/arm/libm-test-ulps: Regenerated. + + * sysdeps/mips/mips32/libm-test-ulps: Regenerated. + * sysdeps/mips/mips64/libm-test-ulps: Likewise. + +2015-06-30 Torvald Riegel + + * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait, + lll_lock_wait_private and lll_futex_wake probes. + + * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove. + * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP): + Likewise. + * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to + atomic_spin_nop. + * sysdeps/x86_64/bits/atomic.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename + to atomic_spin_nop and move ... + * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop): + ... here and ... + * sysdeps/sparc/sparc64/bits/atomic.h: ... here. + * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use + atomic_spin_nop instead of BUSY_WAIT_NOP. + * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): + Likewise. + * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise. + * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove. + (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP. + * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop + instead of atomic_delay. + +2015-06-29 Joseph Myers + + [BZ #18613] + * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of + X_ADJ not X when adjusting exponent. + (__ieee754_gamma_r): Do intermediate computations in + round-to-nearest then adjust overflowing and underflowing results + as needed. + * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log + of X_ADJ not X when adjusting exponent. + (__ieee754_gammaf_r): Do intermediate computations in + round-to-nearest then adjust overflowing and underflowing results + as needed. + * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take + log of X_ADJ not X when adjusting exponent. + (__ieee754_gammal_r): Do intermediate computations in + round-to-nearest then adjust overflowing and underflowing results + as needed. Use 1.0L not 1.0f as numerator of division. + * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take + log of X_ADJ not X when adjusting exponent. + (__ieee754_gammal_r): Do intermediate computations in + round-to-nearest then adjust overflowing and underflowing results + as needed. Use 1.0L not 1.0f as numerator of division. + * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log + of X_ADJ not X when adjusting exponent. + (__ieee754_gammal_r): Do intermediate computations in + round-to-nearest then adjust overflowing and underflowing results + as needed. Use 1.0L not 1.0f as numerator of division. + * math/libm-test.inc (tgamma_test_data): Remove one test. Moved + to auto-libm-test-in. + (tgamma_test): Use ALL_RM_TEST. + * math/auto-libm-test-in: Add one test of tgamma. Mark some other + tests of tgamma with spurious-overflow. + * math/auto-libm-test-out: Regenerated. + * math/gen-libm-have-vector-test.sh: Do not check for START. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + [BZ #18612] + * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small + arguments, just return 0.5 times the argument, with underflow + forced as needed. + * math/auto-libm-test-in: Add more tests of j1. + * math/auto-libm-test-out: Regenerated. + + [BZ #16559] + * sysdeps/ieee754/dbl-64/e_j1.c: Include . + (__ieee754_j1): Force underflow exception for small results. + * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise. + * sysdeps/ieee754/flt-32/e_j1f.c: Include . + (__ieee754_j1f): Force underflow exception for small results. + * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise. + * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise. + * sysdeps/ieee754/ldbl-96/e_j1l.c: Include . + (__ieee754_j1l): Force underflow exception for small results. + * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise. + * math/auto-libm-test-in: Add more tests of j1 and jn. + * math/auto-libm-test-out: Regenerated. + + * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro. + * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise. + (PF_MPLS): Likewise. + (AF_IB): Likewise. + (AF_MPLS): Likewise. + * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum + value and macro. + (MS_RMT_MASK): Include MS_LAZYTIME. + +2015-06-26 Mel Gorman + + [BZ #18502] + * malloc/arena.c (heap_trim): Don't try to shrink a heap that is + already minimal. + +2015-06-26 Matthew Fortune + + * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro. + (DT_MIPS_NUM): Update. + * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle + DT_MIPS_RLD_MAP_REL. + +2015-06-25 Joseph Myers + + [BZ #16559] + [BZ #18602] + * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set + round-to-nearest internally then recompute results that + underflowed to zero in the original rounding mode. + * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise. + * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise. + * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise. + * math/libm-test.inc (jn_test): Use ALL_RM_TEST. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2015-06-25 Andrew Senkevich + + * NEWS: Fixed description of link with vector math library. + +2015-06-25 Andreas Schwab + + [BZ #18549] + * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC. + * libio/test-fmemopen.c (do_test): Add test for it. + +2015-06-25 H.J. Lu + + [BZ #17841] + * Makeconfig (no-pie-ldflag): New. + (+link): Set to $(+link-pie) if default to PIE. + (+link-tests): Set to $(+link-pie-tests) if default to PIE. + * config.make.in (build-pie-default): New. + * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE + is default. AC_SUBST. + * configure: Regenerated. + * elf/Makefile (LDFLAGS-tst-dlopen-aout): New. + +2015-06-24 Roland McGrath + + * nptl/descr.h (struct pthread): Change type of field setxid_futex + to 'unsigned int'. + + * resolv/gai_misc.h (struct waitlist): Change type of field + counterp to 'volatile unsigned int *'. + * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for + FUTEXADDR and OLDVAL. + * resolv/getaddrinfo_a.c (getaddrinfo_a): + Give local variable TOTAL type 'volatile unsigned int'. + (struct async_waitlist): Change type of field counter to 'unsigned int'. + * resolv/gai_suspend.c (gai_suspend): + Give local variable CNTR type 'unsigned int'. + + * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field + counterp to 'volatile unsigned int *'. + * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND] + (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'. + (aio_suspend): Give local variable CNTR type 'unsigned int'. + * sysdeps/pthread/lio_listio.c (lio_listio_internal): + Give local variable TOTAL type 'volatile unsigned int'. + (struct async_waitlist): Change type of field counter to 'unsigned int'. + +2015-06-24 H.J. Lu + + [BZ #18383] + * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align + TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment. + * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove + comment for i386/x86-64. + (test-xfail-tst-tlsalign-extern-static): Removed. + +2015-06-24 Joseph Myers + + * math/test-double.h: New file. + * math/test-float.h: Likewise. + * math/test-ldouble.h: Likewise. + * math/test-math-inline.h: Likewise. + * math/test-math-no-inline.h: Likewise. + * math/test-math-scalar.h: Likewise. + * math/test-math-vector.h: Likewise. + * math/test-vec-loop.h: Remove file. Contents moved into + test-math-vector.h. + * math/libm-test.inc (MATHCONST): Do not document macro. + * math/test-double.c: Include test-double.h, test-math-no-inline.h + and test-math-scalar.h. + (FUNC): Remove macro. + (FUNC_TEST): Likewise. + (FLOAT): Likewise. + (MATHCONST): Likewise. + (PRINTF_EXPR): Likewise. + (PRINTF_XEXPR): Likewise. + (PRINTF_NEXPR): Likewise. + (TEST_DOUBLE): Likewise. + (TEST_MATHVEC): Likewise. + (__NO_MATH_INLINES): Likewise. + * math/test-float.c: Include test-float.h, test-math-no-inline.h + and test-math-scalar.h. + (FUNC): Remove macro. + (FUNC_TEST): Likewise. + (FLOAT): Likewise. + (MATHCONST): Likewise. + (PRINTF_EXPR): Likewise. + (PRINTF_XEXPR): Likewise. + (PRINTF_NEXPR): Likewise. + (TEST_FLOAT): Likewise. + (TEST_MATHVEC): Likewise. + (__NO_MATH_INLINES): Likewise. + * math/test-idouble.c: Include test-double.h, test-math-inline.h + and test-math-scalar.h. + (FUNC): Remove macro. + (FUNC_TEST): Likewise. + (FLOAT): Likewise. + (MATHCONST): Likewise. + (PRINTF_EXPR): Likewise. + (PRINTF_XEXPR): Likewise. + (PRINTF_NEXPR): Likewise. + (TEST_DOUBLE): Likewise. + (TEST_MATHVEC): Likewise. + (TEST_INLINE): Likewise. + (__NO_MATH_INLINES): Likewise. + * math/test-ifloat.c: Include test-float.h, test-math-inline.h and + test-math-scalar.h. + (FUNC): Remove macro. + (FUNC_TEST): Likewise. + (FLOAT): Likewise. + (MATHCONST): Likewise. + (PRINTF_EXPR): Likewise. + (PRINTF_XEXPR): Likewise. + (PRINTF_NEXPR): Likewise. + (TEST_FLOAT): Likewise. + (TEST_MATHVEC): Likewise. + (TEST_INLINE): Likewise. + (__NO_MATH_INLINES): Likewise. + * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h + and test-math-scalar.h. + (FUNC): Remove macro. + (FUNC_TEST): Likewise. + (FLOAT): Likewise. + (MATHCONST): Likewise. + (PRINTF_EXPR): Likewise. + (PRINTF_XEXPR): Likewise. + (PRINTF_NEXPR): Likewise. + (TEST_LDOUBLE): Likewise. + (TEST_MATHVEC): Likewise. + (TEST_INLINE): Likewise. + (__NO_MATH_INLINES): Likewise. + * math/test-ldouble.c: Include test-ldouble.h, + test-math-no-inline.h and test-math-scalar.h. + (FUNC): Remove macro. + (FUNC_TEST): Likewise. + (FLOAT): Likewise. + (MATHCONST): Likewise. + (PRINTF_EXPR): Likewise. + (PRINTF_XEXPR): Likewise. + (PRINTF_NEXPR): Likewise. + (TEST_LDOUBLE): Likewise. + (TEST_MATHVEC): Likewise. + (__NO_MATH_INLINES): Likewise. + * math/test-double-vlen2.h: Include test-double.h, + test-math-no-inline.h and test-math-vector.h. + (FLOAT): Remove macro. + (FUNC): Likewise. + (MATHCONST): Likewise. + (PRINTF_EXPR): Likewise. + (PRINTF_XEXPR): Likewise. + (PRINTF_NEXPR): Likewise. + (TEST_DOUBLE): Likewise. + (TEST_MATHVEC): Likewise. + (__NO_MATH_INLINES): Likewise. + (CNCT): Likewise. + (CONCAT): Likewise. + (WRAPPER_NAME): Likewise. + (WRAPPER_DECL): Likewise. + (WRAPPER_DECL_ff): Likewise. + (WRAPPER_DECL_fFF): Likewise. + (VECTOR_WRAPPER): Likewise. + (VECTOR_WRAPPER_ff): Likewise. + (VECTOR_WRAPPER_fFF): Likewise. + (VEC_LEN): New macro. + * math/test-double-vlen4.h: Include test-double.h, + test-math-no-inline.h and test-math-vector.h. + (FLOAT): Remove macro. + (FUNC): Likewise. + (MATHCONST): Likewise. + (PRINTF_EXPR): Likewise. + (PRINTF_XEXPR): Likewise. + (PRINTF_NEXPR): Likewise. + (TEST_DOUBLE): Likewise. + (TEST_MATHVEC): Likewise. + (__NO_MATH_INLINES): Likewise. + (CNCT): Likewise. + (CONCAT): Likewise. + (WRAPPER_NAME): Likewise. + (WRAPPER_DECL): Likewise. + (WRAPPER_DECL_ff): Likewise. + (WRAPPER_DECL_fFF): Likewise. + (VECTOR_WRAPPER): Likewise. + (VECTOR_WRAPPER_ff): Likewise. + (VECTOR_WRAPPER_fFF): Likewise. + (VEC_LEN): New macro. + * math/test-double-vlen8.h: Include test-double.h, + test-math-no-inline.h and test-math-vector.h. + (FLOAT): Remove macro. + (FUNC): Likewise. + (MATHCONST): Likewise. + (PRINTF_EXPR): Likewise. + (PRINTF_XEXPR): Likewise. + (PRINTF_NEXPR): Likewise. + (TEST_DOUBLE): Likewise. + (TEST_MATHVEC): Likewise. + (__NO_MATH_INLINES): Likewise. + (CNCT): Likewise. + (CONCAT): Likewise. + (WRAPPER_NAME): Likewise. + (WRAPPER_DECL): Likewise. + (WRAPPER_DECL_ff): Likewise. + (WRAPPER_DECL_fFF): Likewise. + (VECTOR_WRAPPER): Likewise. + (VECTOR_WRAPPER_ff): Likewise. + (VECTOR_WRAPPER_fFF): Likewise. + (VEC_LEN): New macro. + * math/test-float-vlen4.h: Include test-float.h, + test-math-no-inline.h and test-math-vector.h. + (FLOAT): Remove macro. + (FUNC): Likewise. + (MATHCONST): Likewise. + (PRINTF_EXPR): Likewise. + (PRINTF_XEXPR): Likewise. + (PRINTF_NEXPR): Likewise. + (TEST_FLOAT): Likewise. + (TEST_MATHVEC): Likewise. + (__NO_MATH_INLINES): Likewise. + (CNCT): Likewise. + (CONCAT): Likewise. + (WRAPPER_NAME): Likewise. + (WRAPPER_DECL): Likewise. + (WRAPPER_DECL_ff): Likewise. + (WRAPPER_DECL_fFF): Likewise. + (VECTOR_WRAPPER): Likewise. + (VECTOR_WRAPPER_ff): Likewise. + (VECTOR_WRAPPER_fFF): Likewise. + (VEC_LEN): New macro. + * math/test-float-vlen8.h: Include test-float.h, + test-math-no-inline.h and test-math-vector.h. + (FLOAT): Remove macro. + (FUNC): Likewise. + (MATHCONST): Likewise. + (PRINTF_EXPR): Likewise. + (PRINTF_XEXPR): Likewise. + (PRINTF_NEXPR): Likewise. + (TEST_FLOAT): Likewise. + (TEST_MATHVEC): Likewise. + (__NO_MATH_INLINES): Likewise. + (CNCT): Likewise. + (CONCAT): Likewise. + (WRAPPER_NAME): Likewise. + (WRAPPER_DECL): Likewise. + (WRAPPER_DECL_ff): Likewise. + (WRAPPER_DECL_fFF): Likewise. + (VECTOR_WRAPPER): Likewise. + (VECTOR_WRAPPER_ff): Likewise. + (VECTOR_WRAPPER_fFF): Likewise. + (VEC_LEN): New macro. + * math/test-float-vlen16.h: Include test-float.h, + test-math-no-inline.h and test-math-vector.h. + (FLOAT): Remove macro. + (FUNC): Likewise. + (MATHCONST): Likewise. + (PRINTF_EXPR): Likewise. + (PRINTF_XEXPR): Likewise. + (PRINTF_NEXPR): Likewise. + (TEST_FLOAT): Likewise. + (TEST_MATHVEC): Likewise. + (__NO_MATH_INLINES): Likewise. + (CNCT): Likewise. + (CONCAT): Likewise. + (WRAPPER_NAME): Likewise. + (WRAPPER_DECL): Likewise. + (WRAPPER_DECL_ff): Likewise. + (WRAPPER_DECL_fFF): Likewise. + (VECTOR_WRAPPER): Likewise. + (VECTOR_WRAPPER_ff): Likewise. + (VECTOR_WRAPPER_fFF): Likewise. + (VEC_LEN): New macro. + * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include + test-vec-loop.h. + * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise. + +2015-06-24 Roland McGrath + + * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ... + (__getlogin_r): ... this. + +2015-06-24 Joseph Myers + + [BZ #18594] + * math/s_ccosh.c (__ccosh): Compare with least normal value + instead of comparing class with FP_SUBNORMAL. + * math/s_ccoshf.c (__ccoshf): Likewise. + * math/s_ccoshl.c (__ccoshl): Likewise. + * math/s_cexp.c (__cexp): Likewise. + * math/s_cexpf.c (__cexpf): Likewise. + * math/s_cexpl.c (__cexpl): Likewise. + * math/s_csin.c (__csin): Likewise. + * math/s_csinf.c (__csinf): Likewise. + * math/s_csinh.c (__csinh): Likewise. + * math/s_csinhf.c (__csinhf): Likewise. + * math/s_csinhl.c (__csinhl): Likewise. + * math/s_csinl.c (__csinl): Likewise. + * math/s_ctan.c (__ctan): Likewise. + * math/s_ctanf.c (__ctanf): Likewise. + * math/s_ctanh.c (__ctanh): Likewise. + * math/s_ctanhf.c (__ctanhf): Likewise. + * math/s_ctanhl.c (__ctanhl): Likewise. + * math/s_ctanl.c (__ctanl): Likewise. + * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp, + csin, csinh, ctan and ctanh. + * math/auto-libm-test-out: Regenerated. + * math/libm-test.inc (cexp_test): Use ALL_RM_TEST. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2015-06-24 Roland McGrath + + * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu + return value is wrong, print the expected value too. + +2015-06-24 H.J. Lu + + [BZ #18585] + * elf/readlib.c (is_gdb_python_file): New. + (process_file): Don't issue errors on filenames with -gdb.py + suffix. + +2015-06-24 Joseph Myers + + * math/auto-libm-test-in: Add more tests of csin and csinh. + * math/auto-libm-test-out: Regenerated. + * math/libm-test.inc (csin_test_data): Remove tests moved to + auto-libm-test-in. + (csinh_test_data): Likewise. + + [BZ #18593] + * math/s_csin.c (__csin): Negate before rather than after possibly + overflowing multiplication. + * math/s_csinf.c (__csinf): Likewise. + * math/s_csinh.c (__csinh): Likewise. + * math/s_csinhf.c (__csinhf): Likewise. + * math/s_csinhl.c (__csinhl): Likewise. + * math/s_csinl.c (__csinl): Likewise. + * math/auto-libm-test-in: Add some tests of csin and csinh. + * math/auto-libm-test-out: Regenerated. + * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c. + (csinh_test_data): Likewise. + * sysdeps/x86_64/fpu/libm-test-ulps: Update. + + [BZ #18586] + * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force + underflow exception for small results. + +2015-06-24 Andrew Senkevich + + * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list. + * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed + variable and included header. + * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise. + * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file. + * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise. + * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file. + * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise. + * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise. + * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise. + * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise. + * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise. + +2015-06-23 Joseph Myers + + [BZ #16526] + [BZ #16538] + * sysdeps/ieee754/dbl-64/s_sin.c: Include . + (__sin): Force underflow exception for arguments with small + absolute value. + * sysdeps/ieee754/flt-32/k_sinf.c: Include . + (__kernel_sinf): Force underflow exception for arguments with + small absolute value. + * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include . + (__kernel_sincosl): Force underflow exception for arguments with + small absolute value. + * sysdeps/ieee754/ldbl-128/k_sinl.c: Include . + (__kernel_sinl): Force underflow exception for arguments with + small absolute value. + * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include . + (__kernel_sincosl): Force underflow exception for arguments with + small absolute value. + * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include . + (__kernel_sinl): Force underflow exception for arguments with + small absolute value. + * sysdeps/ieee754/ldbl-96/k_sinl.c: Include . + (__kernel_sinl): Force underflow exception for arguments with + small absolute value. + * sysdeps/powerpc/fpu/k_sinf.c: Include . + (__kernel_sinf): Force underflow exception for arguments with + small absolute value. + * math/auto-libm-test-in: Add more tests of sin and sincos. + * math/auto-libm-test-out: Regenerated. + + [BZ #18245] + [BZ #18583] + * sysdeps/ieee754/k_standardl.c: Include . + (__kernel_standard_l): Use feholdexcept and fesetenv around + conversion to double instead of special-casing overflow and + underflow. + * math/libm-test.inc (fmod_test_data): Add more tests. + (remainder_test_data): Likewise. + (sqrt_test_data): Likewise. + +2015-06-23 Torvald Riegel + + [BZ #17403] + * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier, + atomic_read_barrier, atomic_write_barrier): Define. + * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier, + atomic_read_barrier, atomic_write_barrier): Define. + +2015-06-23 Joseph Myers + + * math/Makefile [$(PERL) != no] + ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move + dependency on libm-test.stmp below the inclusion of Rules. + +2015-06-23 Andrew Senkevich + + * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list. + * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable + and included header. + * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise. + * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file. + * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise. + * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include. + * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise. + * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise. + * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file. + * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise. + * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise. + * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise. + * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise. + * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise. + +2015-06-23 Joseph Myers + + [BZ #18371] + * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where + intermediate but not final result might underflow. + * math/s_csqrtf.c (__csqrtf): Likewise. + * math/s_csqrtl.c (__csqrtl): Likewise. + * math/auto-libm-test-in: Add more tests of csqrt. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + + [BZ #18219] + * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce + threshold on absolute value of exponent for which scaling is used. + * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise. + * math/auto-libm-test-in: Add more tests of exp2. + * math/auto-libm-test-out: Regenerated. + +2015-06-23 Dmitry V. Levin + + [BZ #17977] + * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking + when initializing interface list, based on the bug analysis + and the patch proposed by Eric Newton. + * resolv/tst-res_hconf_reorder.c: New test. + * resolv/Makefile [$(have-thread-library) = yes] (tests): Add + tst-res_hconf_reorder. + ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl) + and $(shared-thread-library). + (tst-res_hconf_reorder-ENV): New variable. + + * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo + in comment. + +2015-06-22 Joseph Myers + + [BZ #16353] + * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object. + (__expm1): Force underflow exception for arguments with small + absolute value. + * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object. + (__expm1f): Force underflow exception for arguments with small + absolute value. + * sysdeps/ieee754/dbl-64/s_expm1.c: Include . + (__expm1): Force underflow exception for arguments with small + absolute value. + * sysdeps/ieee754/flt-32/s_expm1f.c: Include . + (__expm1f): Force underflow exception for arguments with small + absolute value. + * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh): + Check for small arguments before calling __expm1. + * math/auto-libm-test-in: Do not mark underflow exceptions as + possibly missing for bug 16353. + * math/auto-libm-test-out: Regenerated. + +2015-06-22 Andreas Schwab + + [BZ #18513] + * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for + PTR queries. + +2015-06-22 Leonhard Holz + + * string/strcoll_l.c (STRCOLL): Remove unnecessary memset. + + * string/strcoll_l.c: Remove unused struct element idxnow. + +2015-06-21 Joseph Myers + + [BZ #18569] + * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force + underflow and return argument in case of subnormal argument. + * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: + Likewise. + * math/auto-libm-test-in: Add more tests of expm1. + * math/auto-libm-test-out: Regenerated. + + [BZ #16361] + * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object. + (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for + tiny results. + * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object. + (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for + tiny results. + * math/auto-libm-test-in: Add more tests of exp and exp10. Do not + mark underflow exceptions as possibly missing for bug 16361. + * math/auto-libm-test-out: Regenerated. + +2015-06-19 Joseph Myers + + * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect. + * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform): + Remove variable. + (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise. + (test-xfail-XOPEN2K8/utmpx.h/conform). + + * conform/conformtest.pl ($xerrors): New variable. + (note_error): New function. + (compiletest): New argument $xfail. Use not_error. + (runtest): Likewise. + (top level): Handle xfail- lines. Update calls to compiletest and + runtest. Handle xfail- and optional- in headers listed with + allow-header. + * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-. + (O_EXEC): Likewise. + (O_SEARCH): Likewise. + * conform/data/stropts.h-data (ioctl): Likewise. + * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise. + * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise. + * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise. + (msghdr.msg_controllen): Likewise. + (cmsghdr.cmsg_len): Likewise. + * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise. + * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove + variable. + (test-xfail-XPG3/sys/sem.h/conform): Likewise. + (test-xfail-XPG4/stropts.h/conform): Likewise. + (test-xfail-XPG4/sys/ipc.h/conform): Likewise. + (test-xfail-XPG4/sys/sem.h/conform): Likewise. + (test-xfail-XPG4/sys/socket.h/conform): Likewise. + (test-xfail-UNIX98/stropts.h/conform): Likewise. + (test-xfail-UNIX98/sys/ipc.h/conform): Likewise. + (test-xfail-UNIX98/sys/sem.h/conform): Likewise. + (test-xfail-UNIX98/sys/socket.h/conform): Likewise. + (test-xfail-XOPEN2K/stropts.h/conform): Likewise. + (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise. + (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise. + (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise. + (test-xfail-XOPEN2K/utmpx.h/conform): Likewise. + (test-xfail-POSIX2008/fcntl.h/conform): Likewise. + (test-xfail-POSIX2008/stropts.h/conform): Likewise. + (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise. + (test-xfail-XOPEN2K8/stropts.h/conform): Likewise. + (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise. + (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise. + (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise. + +2015-06-19 Andrew Senkevich + + * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable, + __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty + definitions for proper unfolding of __MATHDECL_VEC. + +2015-06-19 Stefan Liebler + + * benchtests/bench-strcoll.c: + Include string.h. + (main): Remove unused variable res. + +2015-06-19 Stefan Liebler + + * timezone/Makefile (%/UTC %/Universal): + Generate test-result files for UTC and Universal. + +2015-06-19 Stefan Liebler + + * sysdeps/s390/fpu/libm-test-ulps: Regenerated. + +2015-06-18 Joseph Myers + + [BZ #16350] + * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception + for arguments with small absolute value. + * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise. + * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise. + * sysdeps/ieee754/dbl-64/s_asinh.c: Include . + (__asinh): Force underflow exception for arguments with small + absolute value. + * sysdeps/ieee754/flt-32/s_asinhf.c: Include . + (__asinhf): Force underflow exception for arguments with small + absolute value. + * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include . + (__asinhl): Force underflow exception for arguments with small + absolute value. + * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include . + (__asinhl): Force underflow exception for arguments with small + absolute value. + * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include . + (__asinhl): Force underflow exception for arguments with small + absolute value. + * math/auto-libm-test-in: Do not mark underflow exceptions as + possibly missing for bug 16350. + * math/auto-libm-test-out: Regenerated. + + * include/bits/ipc.h: Remove file. + * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove + variable. + (test-xfail-XPG3/sys/shm.h/conform): Likewise. + (test-xfail-XPG4/sys/msg.h/conform): Likewise. + (test-xfail-XPG4/sys/shm.h/conform): Likewise. + (test-xfail-UNIX98/sys/msg.h/conform): Likewise. + (test-xfail-UNIX98/sys/shm.h/conform): Likewise. + (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise. + (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise. + (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise. + (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise. + + * math/auto-libm-test-in: Remove spurious underflow allowance for + tests of cexp. + * math/auto-libm-test-out: Regenerated. + + [BZ #18558] + * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove + unconditional definition. + (MCAST_BLOCK_SOURCE): Likewise. + (MCAST_UNBLOCK_SOURCE): Likewise. + (MCAST_LEAVE_GROUP): Likewise. + (MCAST_JOIN_SOURCE_GROUP): Likewise. + (MCAST_LEAVE_SOURCE_GROUP): Likewise. + (MCAST_MSFILTER): Likewise. + * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform): + Remove variable. + (test-xfail-XOPEN2K/netdb.h/conform): Likewise. + (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise. + (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise. + (test-xfail-XOPEN2K8/netdb.h/conform): Likewise. + (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise. + +2015-06-18 Andrew Senkevich + + * NEWS: Mention addition of x86_64 vector sincosf. + * math/test-float-vlen16.h: Added wrapper for sincosf tests. + * math/test-float-vlen4.h: Likewise. + * math/test-float-vlen8.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added. + * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration. + * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files. + * sysdeps/x86_64/fpu/Versions: New versions added. + * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated. + * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): + Added build of SSE, AVX2 and AVX512 IFUNC versions. + * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S + * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S + * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S + * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S + * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S + * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S + * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S + * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S + * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S + * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S + * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file. + * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file. + * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers. + * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests. + * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise. + + * NEWS: Mention addition of x86_64 vector sincos. + * bits/libm-simd-decl-stubs.h: Added stubs for sincos. + * math/math.h (__MATHDECL_VEC): New macro. + * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC. + * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper + declaration under condition. + * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored. + * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected + TEST_VEC_LOOP change. + * math/test-double-vlen4.h: Likewise. + * math/test-double-vlen8.h: Likewise. + * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change. + * math/test-float-vlen4.h: Likewise. + * math/test-float-vlen8.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added. + * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration. + * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files. + * sysdeps/x86_64/fpu/Versions: New versions added. + * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated. + * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): + Added build of SSE, AVX2 and AVX512 IFUNC versions. + * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file. + * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file. + * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file. + * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file. + * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file. + * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file. + * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file. + * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos. + * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests. + * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise. + * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise. + * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise. + * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise. + + * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added. + * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm + redirections for powf. + * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files. + * sysdeps/x86_64/fpu/Versions: New versions added. + * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated. + * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): + Added build of SSE, AVX2 and AVX512 IFUNC versions. + * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers. + * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file. + * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file. + * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file. + * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file. + * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file. + * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file. + * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file. + * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests. + * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise. + * math/test-float-vlen16.h: Fixed 2 argument macro. + * math/test-float-vlen4.h: Likewise. + * math/test-float-vlen8.h: Likewise. + * NEWS: Mention addition of x86_64 vector powf. + +2015-06-17 Joseph Myers + + * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine + and redefine. + * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine + and redefine. + * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file. + * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise. + + [BZ #18553] + * resource/getpriority.c (getpriority): Rename to __getpriority + and define as weak alias of __getpriority. + * resource/setpriority.c (setpriority): Rename to __setpriority + and define as weak alias of __setpriority. + * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to + __getpriority and define as weak alias of __getpriority. + * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to + __setpriority and define as weak alias of __setpriority. + * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as + strong name. + (setpriority): Use __setpriority as strong name. + * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to + __getpriority and define as weak alias of __getpriority. + * include/sys/resource.h (__getpriority): Declare. Use + libc_hidden_proto. + (__setpriority): Likewise. + (getpriority): Don't use libc_hidden_proto. + (setpriority): Likewise. + * sysdeps/posix/nice.c (nice): Call __getpriority instead of + getpriority. Call __setpriority instead of setpriority. + * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace): + Remove variable. + + [BZ #18547] + * misc/getttyent.c (getttynam): Rename to __getttynam and define + as weak alias of __getttynam. Use prototype function definition. + Call __setttyent, __getttyent and __endttyent instead of + setttyent, getttyent and endttyent. + (getttyent): Rename to __getttyent and define as weak alias of + __getttyent. Call __setttyent instead of setttyent. Call + __fgets_unlocked instead of fgets_unlocked. + (setttyent): Rename to __setttyent and define as weak alias of + __setttyent. + (endttyent): Rename to __endttyent and define as weak alias of + __endttyent. + * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto. + (__setttyent): Likewise. + (__endttyent): Likewise. + (getttyent): Don't use libc_hidden_proto. + (setttyent): Likewise. + (endttyent): Likewise. + * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and + __endttyent instead of setttyent, getttyent and endttyent. + * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace): + Remove variable. + + [BZ #18546] + * socket/recv.c (__recv): Use libc_hidden_def. + * socket/socket.c (__socket): Likewise. + * sysdeps/mach/hurd/recv.c (__recv): Likewise. + * sysdeps/mach/hurd/socket.c (__socket): Likewise. + * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise. + * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak. + * sysdeps/unix/sysv/linux/socket.c (__socket): Use + libc_hidden_def. + * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use + libc_hidden_weak. + * include/sys/socket.h (__socket): Do not use attribute_hidden. + Use libc_hidden_proto. + (__recv): Likewise. + * socket/Versions (libc): Export __recv and __socket at version + GLIBC_PRIVATE. + * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv + instead of recv. + (init_mq_netlink): Call __socket instead of socket. + * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace): + Remove variable. + + [BZ #18545] + * rt/mq_timedreceive.c (mq_timedreceive): Rename to + __mq_timedreceive and define as alias of __mq_timedreceive. Use + hidden_weak. + * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and + define as alias of __mq_timedsend. Use hidden_weak. + * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use + __mq_timedsend as strong name. + (mq_timedreceive): Use __mq_timedreceive as strong name. + * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto. + (__mq_timedreceive): Likewise. + * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call + __mq_timedreceive instead of mq_timedreceive. + * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend + instead of mq_timedsend. + * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace): + Remove variable. + + * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use + hidden_def and hidden_weak instead of libc_hidden_def and + libc_hidden_weak. + (top level): Refer to hidden_def in comment. + * sysdeps/unix/syscall-template.S (syscall_hidden_def): New + macro. Use it instead of libc_hidden_def. + * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not + specify __GI_* name explicitly. + (mq_timedreceive): Likewise. + (mq_setattr): Likewise. + + [BZ #18544] + * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to + __pthread_barrier_init and define as weak alias of + __pthread_barrier_init. + * sysdeps/sparc/nptl/pthread_barrier_init.c + (pthread_barrier_init): Likewise. + * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to + __pthread_barrier_wait and define as weak alias of + __pthread_barrier_wait. + * sysdeps/sparc/nptl/pthread_barrier_wait.c + (pthread_barrier_wait): Likewise. + * sysdeps/sparc/sparc32/pthread_barrier_wait.c + (pthread_barrier_wait): Likewise. + * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S + (pthread_barrier_wait): Likewise. + * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S + (pthread_barrier_wait): Likewise. + * nptl/Versions (libpthread): Export __pthread_barrier_init and + __pthread_barrier_wait at version GLIBC_PRIVATE. + * include/pthread.h (__pthread_barrier_init): Declare. + (__pthread_barrier_wait): Likewise. + * sysdeps/unix/sysv/linux/mq_notify.c (notification_function): + Call __pthread_barrier_wait instead of pthread_barrier_wait. + (helper_thread): Likewise. + (init_mq_netlink): Call __pthread_barrier_init instead of + pthread_barrier_init. + + [BZ #18542] + * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def. + (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias + * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto. + * libio/swscanf.c (__swscanf): Call __vswscanf instead of + vswscanf. + * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace): + Remove variable. + + [BZ #18540] + * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as + strong alias of _IO_fflush. Use libc_hidden_def. + * libio/iofflush_u.c (fflush_unlocked): Rename to + __fflush_unlocked and define as weak alias of __fflush_unlocked. + Use libc_hidden_weak. + * include/stdio.h (__fflush_unlocked): Declare. Use + libc_hidden_proto. + * misc/getpass.c (getpass): Call __fflush_unlocked instead of + fflush_unlocked. + * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace): + Remove variable. + + [BZ #18539] + * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and + define as weak alias of __addseverity. + * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace): + Remove variable. + (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise. + + [BZ #18536] + * misc/tsearch.c (__tsearch): Use libc_hidden_def. + (__tfind): Likewise. + (__tdelete): Likewise. + (__twalk): Likewise. + * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and + __twalk to GLIBC_PRIVATE. + * include/search.h (__tsearch): Use libc_hidden_proto. + (__tfind): Likewise. + (__tdelete): Likewise. + (__twalk): Likewise. + * nptl/sem_close.c (sem_close): Call __twalk instead of twalk. + Call __tdelete instead of tdelete. + * nptl/sem_open.c (check_add_mapping): Call __tfind instead of + tfind. Call __tsearch instead of tsearch. + * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise. + * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace): + Remove variable. + (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise. + + [BZ #18534] + * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def. + (dprintf): Define as a weak alias of __dprintf, not a strong + alias. + * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto. + * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of + dprintf. + * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace): + Remove variable. + (test-xfail-UNIX98/syslog.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise. + + [BZ #18533] + * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog, + not a strong alias. + * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace): + Remove variable. + + [BZ #18532] + * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and + define as weak alias of __in6addr_any. Use libc_hidden_data_weak. + (in6addr_loopback): Rename to __in6addr_loopback and define as + weak alias of __in6addr_loopback. Use libc_hidden_data_weak. + * include/netinet/in.h (__in6addr_loopback): Declare. Use + libc_hidden_proto. + (__in6addr_any): Likewise. + * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of + in6addr_any. + * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove + variable. + (test-xfail-UNIX98/netdb.h/linknamespace): Likewise. + +2015-06-17 Andrew Senkevich + + * bits/libm-simd-decl-stubs.h: Added stubs for pow. + * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC. + * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added. + * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm + redirections for pow. + * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files. + * sysdeps/x86_64/fpu/Versions: New versions added. + * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated. + * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added + build of SSE, AVX2 and AVX512 IFUNC versions. + * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers. + * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file. + * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file. + * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file. + * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file. + * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file. + * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file. + * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file. + * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test. + * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise. + * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise. + * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise. + * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise. + * NEWS: Mention addition of x86_64 vector pow. + + * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added. + * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm + redirections for expf. + * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files. + * sysdeps/x86_64/fpu/Versions: New versions added. + * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated. + * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added + build of SSE, AVX2 and AVX512 IFUNC versions. + * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file. + * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file. + * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file. + * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file. + * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file. + * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file. + * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file. + * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests. + * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise. + * NEWS: Mention addition of x86_64 vector expf. + + * bits/libm-simd-decl-stubs.h: Added stubs for exp. + * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC. + * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added. + * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm + redirections for exp. + * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files. + * sysdeps/x86_64/fpu/Versions: New versions added. + * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated. + * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added + build of SSE, AVX2 and AVX512 IFUNC versions. + * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file. + * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file. + * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file. + * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file. + * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file. + * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file. + * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file. + * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test. + * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise. + * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise. + * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise. + * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise. + * NEWS: Mention addition of x86_64 vector exp. + + * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added. + * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm + redirections for logf. + * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files. + * sysdeps/x86_64/fpu/Versions: New versions added. + * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated. + * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added + build of SSE, AVX2 and AVX512 IFUNC versions. + * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file. + * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file. + * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file. + * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file. + * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file. + * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file. + * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file. + * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests. + * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise. + * NEWS: Mention addition of x86_64 vector logf. + + * bits/libm-simd-decl-stubs.h: Added stubs for log. + * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC. + * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added. + * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm + redirections for log. + * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files. + * sysdeps/x86_64/fpu/Versions: New versions added. + * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated. + * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added + build of SSE, AVX2 and AVX512 IFUNC versions. + * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file. + * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file. + * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file. + * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file. + * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file. + * sysdeps/x86_64/fpu/svml_d_log_data.S: New file. + * sysdeps/x86_64/fpu/svml_d_log_data.h: New file. + * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log + test. + * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise. + * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise. + * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise. + * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise. + * NEWS: Mention addition of x86_64 vector log. + +2015-06-17 Szabolcs Nagy + + * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix + cfi_adjust_cfa_offset argument. + (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise. + (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise. + + [BZ #18034] + * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare. + * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define. + (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load + ordering using ldar. + (_dl_tlsdesc_dynamic): Likewise. + (_dl_tlsdesc_return_lazy): Likewise. + * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use + relaxed atomics instead of volatile and synchronize with release store. + (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of + volatile. + * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise. + +2015-06-15 Andrew Senkevich + + * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added. + * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf. + * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files. + * sysdeps/x86_64/fpu/Versions: New versions added. + * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated. + * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added + build of SSE, AVX2 and AVX512 IFUNC versions. + * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file. + * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file. + * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file. + * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file. + * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file. + * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file. + * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file. + * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests. + * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise. + * NEWS: Mention addition of x86_64 vector sinf. + +2015-06-14 Joseph Myers + + * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any + and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008. + * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace): + Remove variable. + (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise. + +2015-06-12 Joseph Myers + + [BZ #18530] + * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as + strong alias of _IO_fputs. Use libc_hidden_def. + * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked + and define as weak alias of __fputs_unlocked. Use + libc_hidden_weak. + * include/stdio.h (__fputs_unlocked): Declare. Use + libc_hidden_proto. + * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of + fputs_unlocked. + + [BZ #18529] + * resolv/netdb.h [__USE_POSIX]: Change condition to + [__USE_XOPEN2K]. + * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do + not expect. + [XPG4 || UNIX98] (AI_PASSIVE): Likewise. + [XPG4 || UNIX98] (AI_CANONNAME): Likewise. + [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise. + [XPG4 || UNIX98] (AI_V4MAPPED): Likewise. + [XPG4 || UNIX98] (AI_ALL): Likewise. + [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise. + [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise. + [XPG4 || UNIX98] (NI_NOFQDN): Likewise. + [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise. + [XPG4 || UNIX98] (NI_NAMEREQD): Likewise. + [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise. + [XPG4 || UNIX98] (NI_DGRAM): Likewise. + [XPG4 || UNIX98] (EAI_AGAIN): Likewise. + [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise. + [XPG4 || UNIX98] (EAI_FAIL): Likewise. + [XPG4 || UNIX98] (EAI_FAMILY): Likewise. + [XPG4 || UNIX98] (EAI_MEMORY): Likewise. + [XPG4 || UNIX98] (EAI_NONAME): Likewise. + [XPG4 || UNIX98] (EAI_SERVICE): Likewise. + [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise. + [XPG4 || UNIX98] (EAI_SYSTEM): Likewise. + [XPG4 || UNIX98] (EAI_SYSTEM): Likewise. + [XPG4 || UNIX98] (freeaddrinfo): Likewise. + [XPG4 || UNIX98] (gai_strerror): Likewise. + [XPG4 || UNIX98] (getaddrinfo): Likewise. + [XPG4 || UNIX98] (getnameinfo): Likewise. + + [BZ #18528] + * grp/grp.h (endgrent): Condition on [__USE_MISC || + __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED || + __USE_XOPEN2K8]. + (getgrent): Likewise. + * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not + expect. + [XPG3 || POSIX2008] (endgrent): Likewise. + [XPG3] (setgrent): Likewise. + * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove + variable. + (test-xfail-POSIX2008/grp.h/linknamespace): Likewise. + + [BZ #18527] + * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and + define as weak alias of __getlogin_r. Use libc_hidden_weak. + * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise. + * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise. + * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise. + * include/unistd.h (__getlogin_r): Declare. Use + libc_hidden_proto. + * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r. + * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove + variable. + (test-xfail-XPG3/wordexp.h/linknamespace): Likewise. + (test-xfail-XPG4/glob.h/linknamespace): Likewise. + (test-xfail-XPG4/wordexp.h/linknamespace): Likewise. + +2015-06-12 Martin Sebor + + [BZ #18512] + * Makerules (check-install-supported): New target. + (install): Add check-install-supported as a dependency. + * manual/install.texi (Installing the C Library): Document + that overriding prefix and exec_prefix is not supported. + Mention DESTDIR. + * INSTALL: Regenerate from the above. + +2015-06-12 Joseph Myers + + [BZ #18519] + * posix/Versions (libc): Export __libc_pread at version + GLIBC_PRIVATE. + * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread + instead of pread. + * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove + variable. + + [BZ #18522] + * misc/efgcvt_r.c + [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT] + (cvt_symbol): Use weak_alias instead of strong_alias. + [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise. + * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace): + Remove variable. + (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise. + + [BZ #18520] + * inet/herrno.c (h_errno): Rename to __h_errno. + (__libc_h_errno): Define as alias of __h_errno not h_errno. + * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define + to __h_errno instead of h_errno. + * nptl/herrno.c (h_errno): Rename to __h_errno. + (__h_errno_location): Refer to __h_errno not h_errno. + * resolv/Versions (h_errno): Rename to __h_errno. + * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace): + Remove variable. + (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise. + +2015-06-11 Andrew Senkevich + + * configure.ac: More strict check for AVX512 assembler support. + * configure: Regenerated. + + * bits/libm-simd-decl-stubs.h: Added stubs for sin. + * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC. + * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added. + * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin. + * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files. + * sysdeps/x86_64/fpu/Versions: New versions added. + * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated. + * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): + Added build of SSE, AVX2 and AVX512 IFUNC versions. + * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file. + * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file. + * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file. + * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file. + * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file. + * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file. + * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file. + * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin + test. + * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise. + * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise. + * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise. + * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise. + * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise. + * NEWS: Mention addition of x86_64 vector sin. + +2015-06-11 Florian Weimer + + * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in + comment. + +2015-06-10 Gleb Fotengauer-Malinovskiy + + [BZ #18479] + * nptl/pt-interp.c: New file. + * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines): + Add pt-interp. + [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on + $(common-objpfx)runtime-linker.h. + +2015-06-10 Dmitry V. Levin + + * Makeconfig (+interp): Remove unused variable. + * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes] + only. Depend on $(common-objpfx)runtime-linker.h instead of + $(elf-objpfx)runtime-linker.h. + ($(elf-objpfx)runtime-linker.h): Rename to + $(common-objpfx)runtime-linker.h and move ... + * Makerules [$(build-shared) = yes]: ... here. + * elf/interp.c: Include instead of + . + +2015-06-09 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/i386/gettimeofday.c + (__gettimeofday_syscall): Remove vsyscall fallback. + * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise. + * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall): + Add syscall fallback function. + (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism + if vDSO is not present. + * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall + fallback function. + (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not + present. + * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file. + * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise. + +2015-06-09 Joseph Myers + + [BZ #18497] + * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead + of wcscmp. + (wcscmp): Define as weak alias of WCSCMP. + * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of + wcscoll. + (USE_HIDDEN_DEF): Define. + [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of + __wcscoll. Don't use libc_hidden_weak. + * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of + wcscmp. + * sysdeps/i386/i686/multiarch/wcscmp-c.c + [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of + __GI_wcscmp. + (weak_alias): Undefine and redefine. + * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to + __wcscmp and define as weak alias of __wcscmp. + * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise. + * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto. + (__wcscoll): Likewise. + (wcscmp): Don't use libc_hidden_proto. + (wcscoll): Likewise. + * posix/regcomp.c (build_range_exp): Call __wcscoll instead of + wcscoll. + * posix/regexec.c (check_node_accept_bytes): Likewise. + * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove + variable. + (test-xfail-XPG4/regex.h/linknamespace): Likewise. + (test-xfail-POSIX/regex.h/linknamespace): Likewise. + + [BZ #18507] + * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to + __fstatvfs and define as weak alias of __fstatvfs. Use + libc_hidden_weak. + * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs + and define as weak alias of __statvfs. Use libc_hidden_weak. + * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64): + Define as alias of __fstatvfs, not fstatvfs. + (fstatvfs64): Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64): + Define as alias of __statvfs, not statvfs. + (statvfs64): Likewise. + * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace): + Remove variable. + +2015-06-09 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h + (HAVE_GETCPU_VSYSCALL): Define. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h + (HAVE_GETCPU_VSYSCALL): Likewise. + * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file. + * sysdeps/unix/sysv/linux/sched_getcpu.c + (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define. + (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL. + * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO + prototype. + * sysdeps/unix/sysv/linux/x86_64/init-first.c + (__vdso_platform_setup): Remove vsyscall getcpu fallback. + * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file. + * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL): + Define. + * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file. + * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise. + +2015-06-09 Andrew Senkevich + + * sysdeps/x86_64/fpu/Makefile: New file. + * sysdeps/x86_64/fpu/Versions: New file. + * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file. + * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file. + * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file. + * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file. + * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file. + * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file. + * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file. + * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file. + * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): + Added build of SSE, AVX2 and AVX512 IFUNC versions. + * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos. + * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC. + * sysdeps/x86_64/configure.ac: Options for libmvec build. + * sysdeps/x86_64/configure: Regenerated. + * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro. + * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file. + * manual/install.texi (Configuring and compiling): Document + --disable-mathvec. + * INSTALL: Regenerated. + * NEWS: Mention addition of libmvec and x86_64 vector cos. + + * math/Makefile: Added rules for vector tests. + * math/gen-libm-have-vector-test.sh: Added generation of wrapper + declaration under condition. + * math/test-double-vlen2.h: New file. + * math/test-double-vlen4.h: New file. + * math/test-double-vlen8.h: New file. + * math/test-vec-loop.h: Added initialization macro. + * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests. + * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated. + * sysdeps/x86_64/fpu/math-tests-arch.h: New file. + * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file. + * sysdeps/x86_64/fpu/test-double-vlen2.c: New file. + * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file. + * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file. + * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file. + * sysdeps/x86_64/fpu/test-double-vlen4.c: New file. + * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file. + * sysdeps/x86_64/fpu/test-double-vlen8.c: New file. + + * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files. + * sysdeps/x86_64/fpu/Versions: New versions added. + * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file. + * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file. + * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file. + * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file. + * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file. + * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file. + * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file. + * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file. + * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): + Added build of SSE, AVX2 and AVX512 IFUNC versions. + * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added. + * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf. + * NEWS: Mention addition of x86_64 vector cosf. + + * math/Makefile: Added CFLAGS for new tests. + * math/test-float-vlen16.h: New file. + * math/test-float-vlen4.h: New file. + * math/test-float-vlen8.h: New file. + * math/test-double-vlen2.h: Fixed 2 argument macro and comment. + * sysdeps/x86_64/fpu/Makefile: Added new tests and variables. + * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated. + * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file. + * sysdeps/x86_64/fpu/test-float-vlen16.c: New file. + * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file. + * sysdeps/x86_64/fpu/test-float-vlen4.c: New file. + * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file. + * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file. + * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file. + * sysdeps/x86_64/fpu/test-float-vlen8.c: New file. + +2015-06-09 Marko Myllynen + + * locale/C-ctype.c (PREDEFINED_CLASSES): Remove. + * locale/programs/ld-ctype.c: Likewise. + +2015-06-08 Andrew Senkevich + + * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable, + bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state, + bit_ZMM16_31_state): New macro. + * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): + Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable. + +2015-06-08 Joseph Myers + + * include/stdio.h (__open_memstream): Say "C++ tests" in comment. + +2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de> + + * mach/mach/mach_traps.h (thread_switch): Fix typo in comment. + +2015-06-05 Joseph Myers + + [BZ #18498] + * libio/memstream.c (open_memstream): Rename to __open_memstream + and define as weak alias of __open_memstream. + * include/stdio.h (__open_memstream): Declare. Use + libc_hidden_proto. + (open_memstream): Don't use libc_hidden_proto. + * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of + open_memstream. + * posix/getopt.c (_getopt_internal_r): Likewise. + * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove + variable. + (test-xfail-XPG4/stdio.h/linknamespace): Likewise. + (test-xfail-UNIX98/stdio.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise. + + [BZ #18496] + * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb + instead of wcrtomb. + + [BZ #18483] + * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to + [__USE_XOPEN2K8]. Remove redundant #endif. + [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8]. + Remove redundant #if. + * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace): + Remove variable. + (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise. + + [BZ #18495] + * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def. + (__iswlower): Likewise. + * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto. + (__iswlower): Likewise. + * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower + instead of towlower. + * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower + instead of iswlower. Call __towupper instead of towupper. + * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum + instead of iswalnum. + +2015-06-05 Tulio Magno Quites Machado Filho + + * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal + errors to stderr. + +2015-06-05 Florian Weimer + + [BZ #15661] + [BZ #17322] + * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64): + Check for overflow properly. Check for O_APPEND. Ignore large + file system block sizes. Add comments about problems. + * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise. + * manual/filesys.texi (Storage Allocation): New node. + +2015-06-04 Adhemerval Zanella + + * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define + cancellable syscalls. + (SYS_ify): Add guard to no redefine it. + (INLINE_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove + LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use + SYSCALL_CANCEL instead. + * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise. + * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise. + * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise. + * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise. + * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise. + * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise. + * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise. + * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise. + * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise. + * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise. + * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise. + * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise. + * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise. + * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise. + * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise. + * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread): + Likewise. + * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c + (__libc_pread64): Likewise. + * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c + (__libc_preadv): Likewise. + * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c + (__libc_readv64): Likewise. + * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c + (__libc_pwrite): Likewise. + * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c + (__libc_pwrite64): Likewise. + * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c + (__libc_pwritev): Likewise. + * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c + (__libc_pwritev64): Likewise. + * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c + (sync_file_range): Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate): + Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64): + Likewise. + * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise. + * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise. + * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise. + * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise. + * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise. + * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise. + * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise. + * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread): + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c + (__libc_read64): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write): + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64): + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl): + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread): + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c + (__libc_pread64): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite): + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c + (__libc_pwrite64): Likewise. + * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c + (sync_file_range): Likewise. + * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise. + * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise. + * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise. + * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise. + * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise. + * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise. + * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise. + * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise. + * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise. + * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise. + * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise. + * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise. + * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise. + * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise. + * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise. + * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise. + * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise. + * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv): + Likewise. + * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range): + Likewise. + * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise. + * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread): + Likewise. + * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise. + * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise. + * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate): + Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise. + * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise. + * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise. + * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise. + +2015-06-04 Nathan Lynch + + * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines): + Include dl-vdso. + * sysdeps/unix/sysv/linux/arm/init-first.c: New file: + Use VDSO routines for gettimeofday, clock_gettime if + available. + * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file: + Declare VDSO symbols. + * sysdeps/unix/sysv/linux/arm/sysdep.h: + [HAVE_GETTIMEOFDAY_VSYSCALL]: Define. + [HAVE_CLOCK_GETTIME_VSYSCALL]: Define. + * sysdeps/unix/sysv/linux/arm/Versions: Add + __vdso_clock_gettime. + +2015-06-04 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to + be an inline implementation regardless of library is built within. + (open_not_cancel_2): Likewise. + (__read_nocancel): Likewise. + (__write_nocancel): Likewise. + (openat_not_cancel): Likewise. + (openat_not_cancel_3): Likewise. + (openat64_not_cancel): Likewise. + (openat64_not_cancel_3): Likewise. + (__close_nocancel): Likewise. + (pause_not_cancel): Likewise. + (nanosleep_not_cancel): Likewise. + (sigsuspend_not_cancel): Likewise. + +2015-06-04 Torvald Riegel + + [BZ #14958] + * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing + wake-up. + (__pthread_rwlock_rdlock_slow): Likewise. + * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock): + Likewise. + * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock): + Likewise. + * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments. + * nptl/tst-rwlock16.c: New file. + * nptl/Makefile (tests): Add new test. + +2015-06-04 Torvald Riegel + + [BZ #18324] + * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add + missing wake-up of readers. + * nptl/tst-rwlock15.c: New file. + * nptl/Makefile (tests): Add new test. + +2015-06-03 Roland McGrath + + * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function. + (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function. + * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc + and __nacl_supply_interface_rtld. + * sysdeps/nacl/nacl_interface_ext_supply.c: New file. + * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it. + * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE): + Add __nacl_supply_interface_rtld. + (libc: GLIBC_2.22): Add nacl_interface_ext_supply. + +2015-06-03 Wilco Dijkstra + + * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with + isfinite. + * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise. + * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise. + +2015-06-03 Wilco Dijkstra + + * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and + __signbit* with standard C99 macros. + * math/e_exp10l.c: Likewise. + * math/e_exp2l.c: Likewise. + * math/e_scalb.c: Likewise. + * math/e_scalbf.c: Likewise. + * math/e_scalbl.c: Likewise. + * math/s_ldexp.c: Likewise. + * math/s_ldexpf.c: Likewise. + * math/s_ldexpl.c: Likewise. + * math/w_atan2.c: Likewise. + * math/w_atan2f.c: Likewise. + * math/w_atan2l.c: Likewise. + * math/w_cosh.c: Likewise. + * math/w_coshf.c: Likewise. + * math/w_coshl.c: Likewise. + * math/w_exp10.c: Likewise. + * math/w_exp10f.c: Likewise. + * math/w_exp10l.c: Likewise. + * math/w_exp2.c: Likewise. + * math/w_exp2f.c: Likewise. + * math/w_exp2l.c: Likewise. + * math/w_fmod.c: Likewise. + * math/w_fmodf.c: Likewise. + * math/w_fmodl.c: Likewise. + * math/w_hypot.c: Likewise. + * math/w_hypotf.c: Likewise. + * math/w_hypotl.c: Likewise. + * math/w_jnl.c: Likewise. + * math/w_lgamma.c: Likewise. + * math/w_lgamma_r.c: Likewise. + * math/w_lgammaf.c: Likewise. + * math/w_lgammaf_r.c: Likewise. + * math/w_lgammal.c: Likewise. + * math/w_lgammal_r.c: Likewise. + * math/w_pow.c: Likewise. + * math/w_powf.c: Likewise. + * math/w_powl.c: Likewise. + * math/w_remainder.c: Likewise. + * math/w_remainderf.c: Likewise. + * math/w_remainderl.c: Likewise. + * math/w_scalb.c: Likewise. + * math/w_scalbf.c: Likewise. + * math/w_scalbl.c: Likewise. + * math/w_scalbln.c: Likewise. + * math/w_scalblnf.c: Likewise. + * math/w_scalblnl.c: Likewise. + * math/w_sinh.c: Likewise. + * math/w_sinhf.c: Likewise. + * math/w_sinhl.c: Likewise. + * math/w_tgamma.c: Likewise. + * math/w_tgammaf.c: Likewise. + * math/w_tgammal.c: Likewise. + * sysdeps/ieee754/dbl-64/e_exp.c: Likewise. + * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise. + * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise. + * sysdeps/ieee754/dbl-64/e_j1.c: Likewise. + * sysdeps/ieee754/dbl-64/e_jn.c: Likewise. + * sysdeps/ieee754/dbl-64/e_pow.c: Likewise. + * sysdeps/ieee754/dbl-64/w_exp.c: Likewise. + * sysdeps/ieee754/flt-32/e_expf.c: Likewise. + * sysdeps/ieee754/flt-32/e_j1f.c: Likewise. + * sysdeps/ieee754/flt-32/e_jnf.c: Likewise. + * sysdeps/ieee754/flt-32/w_expf.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise. + * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise. + * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise. + * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise. + * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise. + * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise. + * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise. + * stdio-common/printf_fp.c: Likewise. + * stdio-common/printf_fphex.c: Likewise. + * stdio-common/printf_size.c: Likewise. + +2015-06-03 Joseph Myers + + [BZ #18470] + * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of + strnlen. + * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace): + Remove variable. + (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise. + (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise. + (test-xfail-POSIX/glob.h/linknamespace): Likewise. + (test-xfail-POSIX/wordexp.h/linknamespace): Likewise. + (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise. + (test-xfail-UNIX98/glob.h/linknamespace): Likewise. + (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise. + + [BZ #18468] + * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as + weak alias of __wmemchr. Use libc_hidden_weak. + * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto. + * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr + instead of wmemchr. + +2015-06-02 Roland McGrath + + [BZ #18383] + * elf/tst-tlsalign-extern.c: New file. + * elf/tst-tlsalign-extern-static.c: New file. + * elf/tst-tlsalign-vars.c: New file. + * elf/Makefile (tests-static): Add tst-tlsalign-extern-static. + [$(build-shared) = yes] (tests): Add tst-tlsalign-extern. + ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o. + ($(objpfx)tst-tlsalign-extern-static): Likewise. + (test-xfail-tst-tlsalign-extern-static): New variable. + +2015-06-02 Joseph Myers + + * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL): + Use variable name _sc_err instead of err. + [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret + instead of ret. + * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h + (INLINE_SYSCALL): Use variable name _sc_err instead of err. + * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h + (INLINE_SYSCALL): Likewise. + + * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def. + * include/string.h (__strnlen): Use libc_hidden_proto. + * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def. + * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED] + (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen. + * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S + (libc_hidden_def): Undefine and redefine. + * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c + [SHARED] (libc_hidden_def): Define __GI___strnlen as well as + __GI_strnlen. + * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use + libc_hidden_def. + * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise. + + [BZ #18469] + * wctype/wcfuncs.c (towlower): Rename to __towlower and define as + weak alias of __towlower. Use libc_hidden_weak. + (towupper): Rename to __towupper and define as weak alias of + __towupper. Use libc_hidden_weak. + * include/wctype.h (__towlower): Declare. Use libc_hidden_proto. + (__towupper): Likewise. + * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use + __towlower instead of towlower. + +2015-06-02 Roland McGrath + + * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use + "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma. + +2015-06-02 Szabolcs Nagy + + * sysdeps/aarch64/libm-test-ulps: Update. + +2015-06-01 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL): + Define. + (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise. + * sysdeps/unix/sysv/linux/x86_64/sysdep.h + (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise. + (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise. + * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h. + * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file. + * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise. + +2015-06-01 Martin Sebor + + [BZ #18116] + * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S + (__setcontext): Use extended four-operand version of mtsf whenever + possible. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S + (__novec_swapcontext): Likewise. + +2015-06-01 Siddhesh Poyarekar + + * benchtests/scripts/compare_bench.py: New file. + * benchtests/scripts/import_bench.py (mean): New function. + (split_list): Likewise. + (do_for_all_timings): Likewise. + (compress_timings): Likewise. + + * benchtests/scripts/import_bench.py: New file. + * benchtests/scripts/validate_benchout.py: Import import_bench + instead of jsonschema. + (validate_bench): Remove function. + (main): Use import_bench. + +2015-06-01 Steve Ellcey + + * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to + copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask. + +2015-05-29 Adhemerval Zanella + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2015-05-28 Roland McGrath + + * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached, + set THREAD_SELF->tid to a magic value and futex-wake it. + Pass its address to the thread_exit system call. + * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low + bit is clear. + * sysdeps/nacl/lowlevellock.h: New file. + * sysdeps/nacl/lll_timedwait_tid.c: New file. + + * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait): + Add TIMEOUT to current time, don't subtract it. + +2015-05-28 H.J. Lu + + [BZ #2981] + [BZ #18422] + * Makefile ($(objpfx)tst-audit2): Depend on $(libdl). + ($(objpfx)tst-audit2.out): Also depend on + $(objpfx)tst-auditmod9b.so. + * elf/tst-audit2.c: Include . + (calloc_called): New. + (calloc): Allow to be called more than once. + (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so. + +2015-05-28 Wilco Dijkstra + + * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs. + * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise. + +2015-05-27 Marko Myllynen + + * stdlib/monetary.h: Fix comment. + +2015-05-26 Chris Metcalf + + * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL): + Avoid using variables in #defines that might cause shadowing. + (INTERNAL_VSYSCALL_CALL): Likewise. + +2015-05-26 Roland McGrath + + * sysdeps/nacl/lll_timedlock_wait.c: New file. + + * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ... + * nptl/lll_timedlock_wait.c: ... to this new file. + * nptl/Makefile (libpthread-routines): Add it. + * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ... + * nptl/lll_timedwait_tid.c: ... to this new file. + * nptl/Makefile (libpthread-routines): Add it. + * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file. + * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file. + * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file. + * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file. + * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file. + * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file. + * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file. + * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file. + * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file. + * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file. + +2015-05-26 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file. + * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise. + * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise. + * sysdeps/unix/sysv/linux/aarch64/sysdep.h + (HAVE_GETTIMEOFDAY_VSYSCALL): Define. + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h + (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h + (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise. + * sysdeps/unix/sysv/linux/tile/sysdep.h + (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise. + * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday + using vDSO syscall macro. + +2015-05-26 Andriy Rysin + + [BZ #17293] + * uk_UA: Fix sorting order for Ukrainian locale + +2015-05-26 Marko Myllynen + + * stdlib/monetary.h: Fix comment. + +2015-05-26 Szabolcs Nagy + + [BZ #18234] + * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim, + st_mtim and st_ctim members. + * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make + st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only. + * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,): + (struct stat64): Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,): + (struct stat64): Likewise. + * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,): + (struct stat64): Likewise. + +2015-05-26 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL): + Define and include sysdep-vdso.h. + * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL): + Likewise. + * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL): + Likewise. + * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday): + Define with VDSO_SYMBOL and use PTR_MANGLE. + (__vdso_clock_gettime): Likewise. + (__vdso_clock_getres): Likewise. + (_libc_vdso_platform_setup): Likewise. + * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime): + Likewise. + (_libc_vdso_platform_setup): Likewise. + * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday): + Likewise. + (__vdso_clock_gettime): Likewise. + (__vdso_clock_getres): Likewise. + (__vdso_get_tbfreq): Likewise. + (__vdso_getcpu): Likewise. + (__vdso_time): Likewise. + (__vdso_sigtramp_rt64): Likewise. + (__vdso_signtramp32): Likewise. + (__vdso_sigtramp_rt32): Likewise. + (_libc_vdso_platform_setup): Likewise. + * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay): + Likewise. + (__vdso_clock_gettime): Likewise. + (__vdso_clock_getres): Likewise. + (_libc_vdso_platform_setup): Likewise. + * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday): + Likewise. + (__vdso_clock_gettime): Likewise. + (_libc_vdso_platform_setup): Likewise. + * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime): + Likewise. + (__vdso_getcpu): Likewise. + * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday): + Use VDSO_SYMBOL macro to define. + (__vdso_clock_gettime): Likewise. + (__vdso_clock_getres): Likewise. + * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday): + Likewise. + (__vdso_clock_gettime): Likewise. + (__vdso_clock_getres): Likewise. + (__vdso_get_tbfreq): Likewise. + (__vdso_getcpu): Likewise. + (__vdso_time): Likewise. + (__vdso_sigtramp_rt64): Likewise. + (__vdso_signtramp32): Likewise. + (__vdso_sigtramp_rt32): Likewise. + * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday): + Likewise. + (__vdso_clock_gettime): Likewise. + (__vdso_clock_getres): Likewise. + * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday): + Likewise. + (__vdso_clock_gettime): Likewise. + * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime): + Likewise. + * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove + macro. + (INTERNAL_VSYSCALL): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL): + Remove macro. + (INTERNAL_VSYSCALL): Likewise. + (INTERNAL_VSYSCALL_NCS): Likewise. + (INTERNAL_VSYSCALL_CALL): New macro. + (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL): + Likewise. + (INTERNAL_VSYSCALL): Likewise. + (INTERNAL_VSYSCALL_NCS): Likewise. + (INTERNAL_VSYSCALL_CALL): New macro. + (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h + (INLINE_VSYSCALL): Remove macro. + (INTERNAL_VSYSCALL): Remove macro. + (INTERNAL_VSYSCALL_NCS): Remove macro. + (INTERNAL_VSYSCALL_CALL): New macro. + (INTERNAL_VSYSCALL_CALL_TYPE): New macro. + (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL. + (INTERNAL_VSYSCALL_NCS_TYPE): Likewise. + (HAVE_CLOCK_GETRES_VSYSCALL): New define. + (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h + (INLINE_VSYSCALL): Remove macro. + (INTERNAL_VSYSCALL): Likewise. + (INTERNAL_VSYSCALL_NCS): Likewise. + (INTERNAL_VSYSCALL_CALL): New macro. + (INTERNAL_VSYSCALL_CALL_TYPE): Likewise. + (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and + PTR_DEMANGLE on vDSO pointer. + (INTERNAL_VSYSCALL_NCS_TYPE): Likewise. + * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove + macro. + (INTERNAL_SYSCALL): Likewise. + (INTERNAL_VSYSCALL_NCS): Remove macro. + (INTERNAL_VSYSCALL_CALL): New macro. + * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL): + Remove macro. + (INTERNAL_VSYSCALL): Likewise. + * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include + sysdep-vdso.h instead of libc-vdso.h. + * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove + definition. + (INLINE_VSYSCALL): Likewise. + (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define. + * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove + definition. + (INLINE_VSYSCALL): Likewise. + (INTERNAL_VSYSCALL): Likewise. + (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define. + * sysdeps/unix/sysv/linux/timespec_get.c + (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define. + (timespec_get): Use ANSI prototype. + * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros + and definition for Linux. + +2015-05-25 Andrew Senkevich + + * elf/Makefile (localplt-built-dso): libmvec added to localplt test. + * include/libc-symbols.h: libmvec_hidden_* macro series added. + +2015-05-22 H.J. Lu + + [BZ #2981] + [BZ #18410] + * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error + for missing DT_PLTRELSZ. + +2015-05-22 Paul Eggert + + Remove obsolete aliases that broke 'locale -a' + [BZ #18412] + * intl/locale.alias: Remove obsolete aliases "bokmĂ„l" and "français" + which caused 'locale -a' to output Latin-1 data in UTF-8 locales, + breaking some applications that use 'locale -a' output. + Change the encoding of this file from Latin-1 to ASCII to avoid + other potential problems with people grepping this file. + +2015-05-22 Adhemerval Zanella + + * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and + -fasynchronous-unwind-tables. + (CFLAGS-sendto.c): Likewise. + (CFLAGS-sendmsg.c): Likewise. + (CFLAGS-connect.c): Likewise. + (CFLAGS-recvmsg.c): Likewise. + (CFLAGS-recvfrom.c): Likewise. + * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define. + (SOCKETCALL): New macro: non-cancellable socketcall. + (SOCKETCALL_CANCEL): New macro: cancellable socketcall. + * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove + internal_accept4, internal_recvmmsg, and internal_sendmmsg rules. + * sysdeps/unix/sysv/linux/accept.c: New file. + * sysdeps/unix/sysv/linux/bind.c: Likewise. + * sysdeps/unix/sysv/linux/connect.c: Likewise. + * sysdeps/unix/sysv/linux/getpeername.c: Likewise. + * sysdeps/unix/sysv/linux/getsockname.c: Likewise. + * sysdeps/unix/sysv/linux/getsockopt.c: Likewise. + * sysdeps/unix/sysv/linux/listen.c: Likewise. + * sysdeps/unix/sysv/linux/recv.c: Likewise. + * sysdeps/unix/sysv/linux/recvfrom.c: Likewise. + * sysdeps/unix/sysv/linux/recvmsg.c: Likewise. + * sysdeps/unix/sysv/linux/send.c: Likewise. + * sysdeps/unix/sysv/linux/sendmsg.c: Likewise. + * sysdeps/unix/sysv/linux/sendto.c: Likewise. + * sysdeps/unix/sysv/linux/setsockopt.c: Likewise. + * sysdeps/unix/sysv/linux/shutdown.c: Likewise. + * sysdeps/unix/sysv/linux/socket.c: Likewise. + * sysdeps/unix/sysv/linux/socketpair.c: Likewise. + * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove + prototype. + (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation. + (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro + instead of __internal_xxx function. + * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove + prototype. + (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation. + (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro + instead of __internal_xxx function. + * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove + prototype. + (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation. + (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro + instead of __internal_xxx function. + * sysdeps/unix/sysv/linux/accept.S: Remove file. + * sysdeps/unix/sysv/linux/bind.S: Likewise. + * sysdeps/unix/sysv/linux/connect.S: Likewise. + * sysdeps/unix/sysv/linux/getpeername.S: Likewise. + * sysdeps/unix/sysv/linux/getsockname.S: Likewise. + * sysdeps/unix/sysv/linux/getsockopt.S: Likewise. + * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise. + * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise. + * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise. + * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise. + * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise. + * sysdeps/unix/sysv/linux/i386/socket.S: Likewise. + * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise. + * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise. + * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise. + * sysdeps/unix/sysv/linux/listen.S: Likewise. + * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise. + * sysdeps/unix/sysv/linux/recv.S: Likewise. + * sysdeps/unix/sysv/linux/recvfrom.S: Likewise. + * sysdeps/unix/sysv/linux/recvmsg.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise. + * sysdeps/unix/sysv/linux/send.S: Likewise. + * sysdeps/unix/sysv/linux/sendmsg.S: Likewise. + * sysdeps/unix/sysv/linux/sendto.S: Likewise. + * sysdeps/unix/sysv/linux/setsockopt.S: Likewise. + * sysdeps/unix/sysv/linux/sh/socket.S: Likewise. + * sysdeps/unix/sysv/linux/shutdown.S: Likewise. + * sysdeps/unix/sysv/linux/socketpair.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise. + * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise. + * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how + socketcall is implemented in GLIBC. + +2015-05-22 Joseph Myers + + * soft-fp/fmadf4.c: Include . + (__fma): Ignore uninitialized warnings around packing. + * soft-fp/fmasf4.c: Include . + (__fmaf): Ignore uninitialized warnings around packing. + * soft-fp/fmatf4.c: Include . + (__fmal): Ignore uninitialized warnings around packing. + + * sysdeps/ieee754/ldbl-128/k_tanl.c: Include . + (__kernel_tanl): Ignore uninitialized warnings around use of SIGN. + * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include . + (__kernel_tanl): Ignore uninitialized warnings around use of SIGN. + + * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in + switch statement into default case. + * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise. + + * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use + a conditional in forcing "inexact". + * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): + Likewise. + +2015-05-22 Roland McGrath + + * nptl/nptl-init.c (__pthread_initialize_minimal_internal): + Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope + for each INTERNAL_SYSCALL use. + +2015-05-22 Joseph Myers + + [BZ #438] + * posix/unistd.h (_POSIX2_C_VERSION): New macro. + * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove + variable. + + [BZ #18444] + * string/basename.c (basename): Rename to __basename and define as + weak alias of __basename. Use libc_hidden_weak. + * include/string.h (__basename): Declare. Use libc_hidden_proto. + * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call + __basename instead of basename. + * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace): + Remove variable. + (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise. + +2015-05-18 Florian Weimer + + * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS) + (_IO_JUMPS_FILE_plus): New. + (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use + _IO_CAST_FIELD_ACCESS. + * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap, + mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus. + * libio/freopen.c (freopen): Likewise. + * libio/freopen64.c (freopen64): Likewise. + * libio/iofopen.c (__fopen_maybe_mmap): Likewise. + * libio/iofopncook.c (_IO_old_fopencookie): Likewise. + * libio/iofwide.c (_IO_fwide): Likewise. + * libio/memstream.c (open_memstream): Likewise. + * libio/oldiofdopen.c (_IO_old_fdopen): Likewise. + * libio/oldiofopen.c (_IO_old_fopen): Likewise. + * libio/oldiopopen.c (_IO_old_popen): Likewise. + +2015-05-21 Joseph Myers + + * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include . + (__ieee754_lgamma_r): Ignore uninitialized warnings around use of + NADJ. + * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include . + (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of + NADJ. + * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include . + (__ieee754_lgammal_r): Ignore uninitialized warnings around use of + NADJ. + + * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on + (p == 4) case. + + * conform/linknamespace.pl (@whitelist): Add re_syntax_options. + * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace): + Remove variable. + (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise. + (test-xfail-POSIX2008/regex.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise. + +2015-05-21 Florian Weimer + + * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF): + Adjust jump table label generation macros. + +2015-05-21 Florian Weimer + + * stdio-common/vfprintf.c (vfprintf): Move local variables + args_malloced, specs, specs_malloced, and the code after + do_positional to the printf_positional function. + (printf_positional): New function. + +2015-05-21 Florian Weimer + + * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf + function. + (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE, + STEP4_TABLE, process_arg): Move macro definitions + out of the vfprintf function. (Cosmetic change only.) + +2015-05-21 Carlos O'Donell + + * benchtests/Makefile (stdio-common-bench): Define. + (benchset): Add stdio-common-bench. + * sprintf-inputs: New file. + * sprintf-source.c: New file. + +2015-05-21 Andreas Schwab + + [BZ #13028] + [BZ #17053] + * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member + of struct __res_state. + * resolv/res_send.c (__libc_res_nsend): Likewise. + (get_nsaddr): New function. + (res_ourserver_p, send_vc, reopen): Use it instead of accessing + statp directly. + +2015-05-20 Joseph Myers + + * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use + -D_POSIX_C_SOURCE=199506L. + + * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require. + + * conform/data/unistd.h-data (_POSIX_VERSION): Require. + (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98]. + Do not mention otherwise. + [POSIX] (_XOPEN_VERSION): Do not expect. + [POSIX] (_XOPEN_XCU_VERSION): Likewise. + [POSIX] (_POSIX2_C_BIND): Likewise. + [POSIX] (_POSIX2_VERSION): Likewise. + [POSIX] (_XOPEN_XPG2): Likewise. + [POSIX] (_XOPEN_XPG3): Likewise. + [POSIX] (_XOPEN_XPG4): Likewise. + [POSIX] (_XOPEN_UNIX): Likewise. + [POSIX] (_POSIX_ADVISORY_INFO): Likewise. + [POSIX] (_POSIX_BARRIERS): Likewise. + [POSIX] (_POSIX_CLOCK_SELECTION): Likewise. + [POSIX] (_POSIX_CPUTIME): Likewise. + [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise. + [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise. + [POSIX] (_POSIX_SHELL): Likewise. + [POSIX] (_POSIX_SPAWN): Likewise. + [POSIX] (_POSIX_SPIN_LOCKS): Likewise. + [POSIX] (_POSIX_SPORADIC_SERVER): Likewise. + [POSIX] (_POSIX_THREAD_CPUTIME): Likewise. + [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise. + [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise. + [POSIX] (_XBS5_ILP32_OFF32): Likewise. + [POSIX] (_XBS5_ILP32_OFBIG): Likewise. + [POSIX] (_XBS5_LP64_OFF64): Likewise. + [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise. + [POSIX] (_POSIX_TIMEOUTS): Likewise. + [POSIX] (_POSIX2_PBS): Likewise. + [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise. + [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise. + [POSIX] (_POSIX2_PBS_LOCATE): Likewise. + [POSIX] (_POSIX2_PBS_MESSAGE): Likewise. + [POSIX] (_POSIX2_PBS_TRACK): Likewise. + [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise. + [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise. + [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise. + [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise. + [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise. + [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise. + [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise. + [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise. + [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise. + [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise. + [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise. + [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise. + [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise. + [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise. + [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise. + [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise. + [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise. + [POSIX] (_SC_2_C_BIND): Likewise. + [POSIX] (_SC_2_C_VERSION): Likewise. + [POSIX] (_SC_2_PBS): Likewise. + [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise. + [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise. + [POSIX] (_SC_2_PBS_LOCATE): Likewise. + [POSIX] (_SC_2_PBS_MESSAGE): Likewise. + [POSIX] (_SC_2_PBS_TRACK): Likewise. + [POSIX] (_SC_ATEXIT_MAX): Likewise. + [POSIX] (_SC_BARRIERS): Likewise. + [POSIX] (_SC_BASE): Likewise. + [POSIX] (_SC_CLOCK_SELECTION): Likewise. + [POSIX] (_SC_DEVICE_IO): Likewise. + [POSIX] (_SC_DEVICE_SPECIFIC): Likewise. + [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise. + [POSIX] (_SC_FD_MGMT): Likewise. + [POSIX] (_SC_FIFO): Likewise. + [POSIX] (_SC_FILE_ATTRIBUTES): Likewise. + [POSIX] (_SC_FILE_LOCKING): Likewise. + [POSIX] (_SC_FILE_SYSTEM): Likewise. + [POSIX] (_SC_IOV_MAX): Likewise. + [POSIX] (_SC_MONOTONIC_CLOCK): Likewise. + [POSIX] (_SC_NETWORKING): Likewise. + [POSIX] (_SC_PAGE_SIZE): Likewise. + [POSIX] (_SC_PASS_MAX): Likewise. + [POSIX] (_SC_PIPE): Likewise. + [POSIX] (_SC_READER_WRITER_LOCKS): Likewise. + [POSIX] (_SC_REGEXP): Likewise. + [POSIX] (_SC_SHELL): Likewise. + [POSIX] (_SC_SIGNALS): Likewise. + [POSIX] (_SC_SINGLE_PROCESS): Likewise. + [POSIX] (_SC_SPIN_LOCKS): Likewise. + [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise. + [POSIX] (_SC_USER_GROUPS): Likewise. + [POSIX] (_SC_USER_GROUPS_R): Likewise. + [POSIX] (_SC_STREAMS): Likewise. + [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise. + [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise. + [POSIX] (_SC_XBS5_LP64_OFF64): Likewise. + [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise. + [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise. + [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise. + [POSIX] (_PC_FILESIZEBITS): Likewise. + [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise. + [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise. + [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise. + [POSIX] (_PC_REC_XFER_ALIGN): Likewise. + [POSIX] (uid_t): Likewise. + [POSIX] (gid_t): Likewise. + [POSIX] (off_t): Likewise. + [POSIX] (pid_t): Likewise. + [POSIX] (cuserid): Allow. + (_SC_2_CHAR_TERM): Require constant. + (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant. + * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New + variable. + +2015-05-20 Roland McGrath + + * sysdeps/nacl/pthread-pids.h: New file. + * sysdeps/nacl/createthread.c: Include . + (create_thread): Use __nacl_get_tid to initialize PD->tid. + + * nptl/pthread-pids.h: New file. + * sysdeps/unix/sysv/linux/pthread-pids.h: New file. + * nptl/nptl-init.c: Include . + (__pthread_initialize_minimal_internal): + Call __pthread_initialize_pids instead of set_tid_address syscall. + + * sysdeps/unix/sysv/linux/usleep.c: Moved to ... + * sysdeps/posix/usleep.c: ... here. + +2015-05-20 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove + call_pselect6 object. + [$(subdir) = io]: Remove call_sync_file_range object. + * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file. + * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file. + * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file. + * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file. + +2015-05-20 Wilco Dijkstra + + * math/s_cproj.c: Add include "math_private.h". + * math/s_cprojf.c: Likewise. + * math/s_cprojl.c: Likewise. + +2015-05-19 Joseph Myers + + [BZ #18244] + * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit + high mantissa bit when testing whether P is a NaN. + * math/libm-test.inc (remainder_test_data): Add more tests. + (remquo_test_data): Likewise. + + [BZ #18049] + * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents + below -32, return the argument, with underflow if subnormal. + * math/auto-libm-test-in: Add more tests of atanh. + * math/auto-libm-test-out: Regenerated. + +2015-05-19 Roland McGrath + + [BZ #18434] + * nptl/tst-sem15.c: New file. + * nptl/Makefile (tests): Add it. + * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]: + s/<>/ to fix typo in EOVERFLOW check. + * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise. + +2015-05-19 Siddhesh Poyarekar + + * manual/strings.texi (envz_remove): Fix typo in safety + annotations. + +2015-05-19 Paul Eggert + Steve Ellcey + + * inet/rcmd.c (rresvport_af): Change ss to anonymous union + in order to avoid strict alias warnings. + (iruserok_af): Ditto for ra. + +2015-05-19 James Lemke + + [BZ #17581] + * malloc/hooks.c + (magicbyte): Convert to a function and avoid returning 0x01. + (mem2mem_check): Avoid using a length byte equal to the magic byte. + (mem2chunk_check): Fix unsigned comparisons to zero. + Hoist defs of sz and magic. + +2015-05-19 Richard Henderson + + * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R. + + * sysdeps/alpha/fpu/libm-test-ulps: Update. + +2015-05-19 Siddhesh Poyarekar + + [BZ #16159] + * malloc/Makefile (tests): New test case tst-malloc-backtrace. + * malloc/arena.c (arena_lock): Check if arena is corrupt. + (reused_arena): Find a non-corrupt arena. + (heap_trim): Pass arena to unlink. + * malloc/hooks.c (malloc_check_get_size): Pass arena to + malloc_printerr. + (top_check): Likewise. + (free_check): Likewise. + (realloc_check): Likewise. + * malloc/malloc.c (malloc_printerr): Add arena argument. + (unlink): Likewise. + (munmap_chunk): Adjust. + (ARENA_CORRUPTION_BIT): New macro. + (arena_is_corrupt): Likewise. + (set_arena_corrupt): Likewise. + (sysmalloc): Use mmap if there are no usable arenas. + (_int_malloc): Likewise. + (__libc_malloc): Don't fail if arena_get returns NULL. + (_mid_memalign): Likewise. + (__libc_calloc): Likewise. + (__libc_realloc): Adjust for additional argument to + malloc_printerr. + (_int_free): Likewise. + (malloc_consolidate): Likewise. + (_int_realloc): Likewise. + (_int_memalign): Don't touch corrupt arenas. + * malloc/tst-malloc-backtrace.c: New test case. + + * Makefile (summarize-tests): Fix return value on success. + + * manual/string.texi (Envz Functions): Add envz_remove. + +2015-05-18 Roland McGrath + + * sysdeps/posix/opendir.c: Include . + (invalid_name): New function, broken out of ... + (__opendirat): ... here. Call it. + (need_isdir_precheck): New function, broken out of ... + (__opendirat): ... here. Call it. + Use __fxstatat64, not __xstatat64. + (opendir_oflags): New function, broken out of ... + (__opendirat): ... here. Call it. + (opendir_tail): New function, broken out of ... + (__opendirat): ... here. Call it. + (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and + opendir_tail, rather than punting to __opendirat. + (__opendirat): Conditionalize function definition on [IS_IN (libc)]. + +2015-05-18 Siddhesh Poyarekar + + * .gitignore: Ignore generated *.pyc. + +2015-05-18 Arjun Shankar + + * include/stdio.h: Define __need_wint_t. + * test-skeleton.c: Avoid `for' loop initial declaration. + * nptl/tst-initializers1.c: Use test-skeleton.c. + +2015-05-17 Adhemerval Zanella + + [BZ #18418] + * stdlib/tst-setcontext3.sh: Remove non-portable array use. + +2015-05-15 Joseph Myers + + [BZ #16352] + * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object. + (__ieee754_atanh): Force underflow exception for results with + small absolute value. + * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object. + (__ieee754_atanhf): Force underflow exception for results with + small absolute value. + * sysdeps/ieee754/dbl-64/e_atanh.c: Include . + (__ieee754_atanh): Force underflow exception for results with + small absolute value. + * sysdeps/ieee754/flt-32/e_atanhf.c: Include . + (__ieee754_atanhf): Force underflow exception for results with + small absolute value. + * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include . + (__ieee754_atanhl): Force underflow exception for results with + small absolute value. + * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include . + (__ieee754_atanhl): Force underflow exception for results with + small absolute value. + * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include . + (__ieee754_atanhl): Force underflow exception for results with + small absolute value. + * math/auto-libm-test-in: Do not allow missing underflow + exceptions from atanh. + * math/auto-libm-test-out: Regenerated. + + [BZ #18221] + * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not + 2**-28 as threshold for returning x or +/- 1/x. + * math/auto-libm-test-in: Add more tests of tan. + * math/auto-libm-test-out: Regenerated. + + [BZ #18220] + * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use + 2**26 not 2**58 as threshold for returning x * (log (x) - 1). + * math/auto-libm-test-in: Add another test of lgamma. + * math/auto-libm-test-out: Regenerated. + +2015-05-15 Wilco Dijkstra + + * stdio-common/printf_fp.c (___printf_fp): Use abs. + * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove. + * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs. + * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs. + (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs. + (ADD2A): Use fabs. (SUB2A): Use fabs. + * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs. + * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs. + * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs. + (log1): Use fabs. (my_log2): Use fabs. + * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs. + * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define. + * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs. + * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define. + * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs. + (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs. + (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs. + (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs. + (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs. + * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs. + * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include. + +2015-05-15 Joseph Myers + + [BZ #18217] + * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56 + as threshold for returning 1 - x. + * math/auto-libm-test-in: Add more tests of erfc. + * math/auto-libm-test-out: Regenerated. + +2015-05-14 Joseph Myers + + [BZ #18196] + * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as + threshold for large arguments. + * math/auto-libm-test-in: Add another test of atan. + * math/auto-libm-test-out: Regenerated. + + [BZ #16339] + * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object. + (__log1p): Force underflow exception for results with small + absolute value. + * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object. + (__log1pf): Force underflow exception for results with small + absolute value. + * sysdeps/ieee754/dbl-64/s_log1p.c: Include . + (__log1p): Force underflow exception for results with small + absolute value. + * sysdeps/ieee754/flt-32/s_log1pf.c: Include . + (__log1pf): Force underflow exception for results with small + absolute value. + * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include . + (__log1pl): Force underflow exception for results with small + absolute value. + * math/auto-libm-test-in: Do not allow missing underflow + exceptions from log1p. + * math/auto-libm-test-out: Regenerated. + +2015-05-14 Jakub Bogusz + Adhemerval Zanella + + [BZ #16704] + * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage. + +2015-05-14 Andrew Senkevich + + * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder. + (libmvec): New variable. + * configure.ac: Added option for mathvec build. + * configure: Regenerated. + * mathvec/Depend: New file. + * mathvec/Makefile: New file. + * shlib-versions: Added libmvec. + * math/Makefile: Added rule for libm.so installation. + + * bits/math-vector.h: New file. + * bits/libm-simd-decl-stubs.h: New header. + * math/Makefile (headers): Added new header + libm-simd-decl-stubs.h. + * math/math.h (__MATHCALL_VEC): New macro. + + * math/gen-libm-have-vector-test.sh: Script generates series of macros + for conditions in testing functions. + * math/Makefile: Added call of libm-have-vector-test.sh. + * math/libm-test.inc (HAVE_VECTOR): New macros. + + * math/libm-test.inc: START refactored. + * math/test-double.c (TEST_MATHVEC): Add define. + * math/test-float.c: Likewise. + * math/test-idouble.c: Likewise. + * math/test-ifloat.c: Likewise. + * math/test-ildoubl.c: Likewise. + * math/test-ldouble.c: Likewise. + * sysdeps/generic/math-tests-arch.h + (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime + architecture check. + + * math/test-double.c (FUNC_TEST): New macro. + * math/test-float.c: Likewise. + * math/test-idouble.c: Likewise. + * math/test-ifloat.c: Likewise. + * math/test-ildoubl.c: Likewise. + * math/test-ldouble.c: Likewise. + * math/libm-test.inc: Use FUNC_TEST for name of tested functions. + +2015-05-13 Roland McGrath + + * sysdeps/nacl/fdopendir.c: New file. + + * dirent/scandir-tail.c: New file. + * dirent/scandir64-tail.c: New file. + * dirent/Makefile (routines): Add them. + (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables. + * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them. + * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed. + [!SCANDIR] (SCANDIR_TAIL): New macro. + (SCANDIR): Call __opendir and __scandir_tail, not __scandirat. + * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64] + (SCANDIRAT): Macro removed. + (SCANDIR_TAIL): New macro. + * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed. + [!SCANDIRAT] (SCANDIR_TAIL): New macro. + (SCANDIRAT): Just call __opendirat and __scandir_tail. + * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64] + (READDIR): Macro removed. + (SCANDIR_TAIL): New macro. + * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed. + (SCANDIR_TAIL): New macro. + + * dirent/scandirat.c (__scandir_cancel_handler): Function moved ... + * dirent/scandir-cancel.c: ... to this new file. + * dirent/Makefile (routines): Add it. + * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed. + * sysdeps/unix/sysv/linux/i386/scandir64.c + (SKIP_SCANDIR_CANCEL): Macro removed. + * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden. + + * dirent/tst-scandir.c: New file. + * dirent/tst-scandir64.c: New file. + * dirent/Makefile (tests): Add them. + +2015-05-13 H.J. Lu + + [BZ #18409] + * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'. + +2015-05-13 Szabolcs Nagy + + * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber + list. + +2015-05-13 Leonhard Holz + + * benchtests/bench-strcoll.c: New benchmark. + * benchtests/Makefile: Generate locales and run benchmark. + * benchtests/strcoll-inputs/filelist#C: New benchmark input file. + * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise. + * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise. + * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise. + * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise. + * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise. + * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise. + * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise. + * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise. + * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise. + * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise. + * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise. + * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise. + * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise. + * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise. + * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise. + * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise. + * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise. + * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise. + * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise. + * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise. + * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise. + * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise. + * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise. + +2015-05-12 Ondƙej BĂ­lka + + * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection. + * sysdeps/x86_64/multiarch/strspn.S: Likewise. + +2015-05-12 Roland McGrath + + * posix/uname-values.h: New file. + * posix/uname.c: Include that instead of . + * sysdeps/nacl/uname-values.h: New file. + * sysdeps/arm/nacl/uname-values.h: New file. + +2015-05-12 Joseph Myers + + * conform/linknamespace.pl (list_syms): Remove \[.*?\] before + splitting into fields. + +2015-05-12 Leonhard Holz + + * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE. + * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list. + * locale/localeinfo.h: Add enum collation_encoding_type. + * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit. + * programs/ld-collate.c (collate_output): Add encoding type info. + * string/strcoll_l.c (STRDIFF): New function. + * (STRCOLL): Use STRDIFF to skip over equal prefix. + * wcsmbs/wcscoll_l.c: Define STRDIFF. + +2015-05-11 Joseph Myers + + [BZ #18397] + * sysdeps/mips/mips32/fpu/fpu_control.c: Move to .... + * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include + instead of . + * sysdeps/mips/mips32/fpu/Makefile: New file. + +2015-05-11 Andreas Schwab + + [BZ #18007] + * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call + nss_endgrent. + (_nss_compat_endgrent): Call nss_endgrent. + * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call + nss_endpwent. + (_nss_compat_endpwent): Call nss_endpwent. + * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter + needent, call nss_setspent only if non-zero. + (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero. + (internal_endspent): Don't call nss_endspent. + (_nss_compat_endspent): Call nss_endspent. + * nss/nss_files/files-XXX.c (position, last_use, keep_stream): + Remove. All uses removed. + (internal_setent): Remove parameter stayopen, add parameter + stream. Use it instead of global variable. + (CONCAT(_nss_files_set,ENTNAME)): Pass global stream. + (internal_endent, internal_getent): Add parameter stream. Use it + instead of global variable. + (CONCAT(_nss_files_end,ENTNAME)) + (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream. + (_nss_files_get##name##_r): Pass local stream. Remove locking. + * nss/nss_files/files-alias.c (position, last_use): Remove. All + uses removed. + (internal_setent, internal_endent): Add parameter stream. Use it + instead of global variable. + (_nss_files_setaliasent, _nss_files_endaliasent): Pass global + stream. + (get_next_alias): Add parameter stream. + (_nss_files_getaliasent_r): Pass global stream. + (_nss_files_getaliasbyname_r): Pass local stream. Remove locking. + * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r) + (_nss_files_gethostbyname4_r): Pass local stream to + internal_setent, internal_getent and internal_endent. Remove + locking. + +2015-05-11 Stefan Liebler + + * tst-strfmon1.c (tests): Update expected currency symbol. + +2015-05-08 Roland McGrath + + * sysdeps/nacl/gethostname.c: New file. + +2015-05-08 Joseph Myers + + * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10 + and sinh. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2015-05-08 Carlos O'Donell + + [BZ #18125] + * stdlib/tst-setcontext3.c: New file. + * stdlib/tst-setcontext3.sh: New file. + * stdlib/Makefile (tests): Add tst-setcontext3. + (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh + to verify test program created output file. + * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit. + * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise. + +2015-05-06 Roland McGrath + + [BZ #18383] + * elf/tst-tlsalign.c: New file. + * elf/tst-tlsalign-static.c: New file. + * elf/tst-tlsalign-lib.c: New file. + * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign. + (tests-static): Add tst-tlsalign-static. + (modules-names): Add tst-tlsalign-lib. + (test-xfail-tst-tlsalign): New variable. + (test-xfail-tst-tlsalign-static): New variable. + + * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER): + Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe. + +2015-05-06 Joseph Myers + + * math/auto-libm-test-in: Add more tests of acosh, atanh, cos, + csqrt, erfc, sin and sincos. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2015-05-06 Szabolcs Nagy + + * sysdeps/aarch64/libm-test-ulps: Update. + +2015-05-05 Joseph Myers + + * math/auto-libm-test-in: Add more tests of acosh, atanh, clog, + clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2015-04-30 Daniel MarjamĂ€ki + + [BZ #18265] + * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute. + (wcsncpy): Likewise. + +2015-05-05 Florian Weimer + + * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): + Assume __ASSUME_FALLOCATE is always true. + * sysdeps/unix/sysv/linux/posix_fallocate64.c + (__posix_fallocate64_l64): Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c + (posix_fallocate): Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c + (__posix_fallocate64_l64): Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c + [!__ASSUME_FALLOCATE]: Add comment. + +2015-05-05 Florian Weimer + + * sysdeps/unix/sysv/linux/i386/Makefile + (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate. + (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall. + * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove. + * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise. + * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise. + * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise. + * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise. + +2015-05-02 Joseph Myers + + * math/auto-libm-test-in: Add more tests of atan, clog, clog10, + cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and + tgamma. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2015-05-01 Joseph Myers + + * math/auto-libm-test-in: Add more tests of tgamma. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + * math/auto-libm-test-in: Add more tests of tanh. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + * math/auto-libm-test-in: Add more tests of tan. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + * math/auto-libm-test-in: Add more tests of cos, sin and sincos. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + * math/auto-libm-test-in: Add another test of pow. + * math/auto-libm-test-out: Regenerated. + * sysdeps/x86_64/fpu/libm-test-ulps: Update. + + * math/auto-libm-test-in: Add more tests of lgamma. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + * math/auto-libm-test-in: Add more tests of log, log10, log2 and + log1p. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2015-05-01 Mark Wielaard + + * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and + Elf64_Chdr structs and ELFCOMPRESS constants. + +2015-05-01 Joseph Myers + + * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and + expm1. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + * math/auto-libm-test-in: Add more tests of erf and erfc. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2015-05-01 Szabolcs Nagy + + * config.h.in (HAVE_AARCH64_BE): Add. + +2015-04-30 Joseph Myers + + * math/auto-libm-test-in: Add more tests of csqrt. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + * math/auto-libm-test-in: Add more tests of cosh and sinh. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file. + +2015-04-29 Roland McGrath + + * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE. + * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t. + + * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess. + (euidaccess, eaccess): Define as weak aliases. + + * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use + __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size, + but __suseconds_t is often 'long int' so some sources assume that + type is being used (e.g. they use %ld to print tv_usec). + +2015-04-29 Florian Weimer + + [BZ #18007] + * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen. + (CVE-2014-8121) + * nss/tst-nss-getpwent.c: New file. + * nss/Makefile (tests): Add new test. + +2015-04-28 Joseph Myers + + [BZ #18346] + * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all + exponents less than 48 as cases where high part of mantissa needs + examining to determine whether argument is integral. + * math/libm-test.inc (round_test_data): Add more tests. + +2015-04-28 Mark Wielaard + + * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift. + +2015-04-27 David S. Miller + + * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove + __tls_get_addr. + * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise. + +2015-04-27 H.J. Lu + + [BZ #18333] + * time/tzset.c (__tzfile_read): Check tzspec_len == 0. + +2015-04-27 Florian Weimer + + [BZ #18333] + * time/tzset.c (parse_tzname): Return error on memory allocation + failure. + * test-skeleton.c (struct temp_name_list): Change type of name + member to non-const. + (add_temp_file): Create a copy of the file name. + (delete_temp_files): Deallocate memory. + (create_temp_file): Add comment. + +2015-04-24 Florian Weimer + + * io/posix_fallocate.c (posix_fallocate): Do not set errno. + * io/posix_fallocate64.c (posix_fallocate64): Likewise. + +2015-04-24 Roland McGrath + + * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it. + * sysdeps/arm/configure: Regenerated. + +2015-04-24 Florian Weimer + + [BZ #17715] + * time/tzfile.c (__tzfile_read): Check for large values of + tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca. + * time/tzset.c (__tzstring_len): New function, based on the old + __tzstring function. + (__tzstring): Call __tzstring_len. + (parse_tzname): New helper function extracted from + __tzset_parse_tz. Call __tzstring_len, without making a copy of + the input string. + (parse_offset): New helper function extracted from + __tzset_parse_tz. Replace switch with fallthrough with + initialization before sscanf. + (parse_rule): Likewise. + (__tzset_parse_tz): Rewrite using the new helper functions. Use + new-style function definition. + * timezone/Makefile (tests): Add tst-tzset. + (tst-tzset.out): Dependencies on time zone files. + (tst-tzset-ENV): Set TZDIR. + (testdata/XT%): Copy crafted time zone files. + * timezone/README: Mention crafted time zone files. + * timezone/testdata/XT1, timezone/testdata/XT2, + timezone/testdata/XT3, timezone/testdata/XT4: New time zone test + files. + * timezone/tst-tzset.c: New test. + +2015-04-24 Florian Weimer + + * Makeconfig (+gccwarn): Remove -Winline. + +2015-04-24 Stefan Liebler + + * sysdeps/s390/fpu/libm-test-upls: Regenerate. + +2015-04-24 Stefan Liebler + + * NEWS: Mention sysconf() cache information support for s390. + * sysdeps/unix/sysv/linux/s390/sysconf.c: New File. + +2015-04-22 Wilco Dijkstra + + * math/k_casinh.c (__kernel_casinh): Use __copysign. + * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c + (__nearbyint): Likewise. + * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c + (copysignl): Likewise. + +2015-04-21 Arjun Shankar + + [BZ #18287] + * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length + based on padding. (CVE-2015-1781) + +2015-04-20 Adhemerval Zanella + + * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just + libc-vdso.h. + * sysdeps/powerpc/powerpc32/backtrace.c: Likewise. + * sysdeps/powerpc/powerpc64/backtrace.c: Likewise. + * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise. + * sysdeps/unix/sysv/linux/clock_getres.c: Likewise. + * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise. + * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise. + * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise. + * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise. + * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise. + * sysdeps/unix/sysv/linux/timespec_get.c: Likewise. + * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ... + * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here. + * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ... + * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here. + * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ... + * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here. + * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ... + * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here. + +2015-04-19 Paul Eggert + + * stdlib/setenv.c (__add_to_environ): + Dump core quickly if setenv (..., NULL, ...) is called. + This time, do it the right way, and pacify GCC with a pragma. + +2015-04-17 Roland McGrath + + * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that + IMAP->l_prev cannot be null, and #if out the code for the contrary + case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler + believe that NS (&_dl_ns[NSID]) could point outside the array. + + * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace + check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1, + before using NSID as an index. + +2015-04-17 Il'ya Malakhov + + [BZ #17825] + * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length. + * sysdeps/sparc/sparc64/memcmp.S: Likewise. + * sysdeps/sparc/sparc64/strncmp.S: Likewise. + +2015-04-17 Roland McGrath + + Add preliminary port to Google Native Client on ARM. + * abi-tags (.*-.*-nacl.*): New entry. + * sysdeps/arm/nacl: New directory. + * sysdeps/nacl: New directory. + +2015-04-16 David S. Miller + + * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of + lowlevellock-futex.h + +2015-04-16 Chris Metcalf + + * sysdeps/tile/configure.ac: New file. + * sysdeps/tile/configure: Regenerated. + +2015-04-15 Adhemerval Zanella + + * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove + conditionals for weak_alias and libc_hidden_weak. + * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine + libc_hidden_weak and weak_alias. + * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]: + Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds + and weak_alias for static one. + +2015-04-15 David S. Miller + + * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch. + +2015-04-13 Stefan Liebler + + [BZ #18206] + * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t. + Use signed comparision instead of substraction to avoid + overflow bug. + * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp): + Take the sign of ret. + * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc): + Do not expect precise return values. Only the sign matters. + * wcsmbs/Makefile (strop-tests): Add wcsncmp. + * wcsmbs/test-wcsncmp.c: New File. + * string/test-strncmp.c: Add wcsncmp support. + +2015-04-13 Stefan Liebler + + [BZ #6792] + * math/w_log1p.c: New file. + * math/w_log1pf.c: Likewise. + * math/w_log1pl.c: Likewise. + * math/Makefile (libm-calls): Add w_log1p. + * math/s_log1pl.c (log1pl): Remove weak_alias. + * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise. + * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise. + * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise. + * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise. + * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise. + [NO_LONG_DOUBLE] (log1pl): Likewise. + * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise. + * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise. + * sysdeps/ieee754/ldbl-64-128/s_log1pl.c + (log1p): Remove long_double_symbol. + * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise. + * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise. + * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to + remove weak_alias for corresponding log1p function. + * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise. + * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise. + * sysdeps/ia64/fpu/w_log1p.c: New file. + * sysdeps/ia64/fpu/w_log1pf.c: Likewise. + * sysdeps/ia64/fpu/w_log1pl.c: Likewise. + * math/libm-test.inc (log1p_test_data): Add errno expectations. + +2015-04-10 Joseph Myers + + [BZ #18247] + * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum + decimal exponent by 1. + * stdlib/tst-strtod-round-data: Add more tests. + * stdlib/tst-strtod-round.c (tests): Regenerated. + +2015-04-09 Joseph Myers + + * math/auto-libm-test-in: Add more tests of clog and clog10. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2015-04-09 Roland McGrath + + * Makeconfig (module-cppflags): Exclude all .v.i files. + (skip-module-cppflags): Variable removed. + + * configure.ac (libc_config_ok): Initialize before reading + preconfigure scripts, not after. + * configure: Regenerated. + + * test-skeleton.c (TIMEOUT): Move #define to top level. + (main): Grok environment variable TEST_DIRECT. If set, print + test expectation details into that file and then behave as if + given --direct. + +2015-04-09 Florian Weimer + + * malloc/tst-scratch_buffer.c (do_test): Suppress truncation + warning on 32-bit. + +2015-04-08 David S. Miller + + * sysdeps/sparc/fpu/libm-test-ulps: Update. + +2015-04-08 Joseph Myers + + * math/auto-libm-test-in: Add more tests of atanh. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + * math/auto-libm-test-in: Add more tests of atan. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2015-04-08 Florian Weimer + + * elf/pldd.c (main): Rewrite to use struct + scratch_buffer instead of extend_alloca. + * elf/pldd-xx.c (find_maps): Likewise. + * grp/initgroups.c: Include instead of + . + * grp/compat-initgroups.c (compat_call): Rewrite to use struct + scratch_buffer instead of extend_alloca. + * nscd/initgrcache.c: Include , now needed by + grp/compat-initgroups.c. + * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn): + Rewrite to use struct scratch_buffer instead of extend_alloca. + * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise. + * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. + +2015-04-08 Joseph Myers + + * math/auto-libm-test-in: Add more tests of cbrt. + * math/auto-libm-test-out: Regenerated. + * sysdeps/x86_64/fpu/libm-test-ulps: Update. + + * math/auto-libm-test-in: Add more tests of cabs. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + [BZ #18210] + [BZ #18211] + * sysdeps/ieee754/dbl-64/e_atan2.c: Include . + (__ieee754_atan2): Set FE_TONEAREST mode for internal + computations. + * math/auto-libm-test-in: Add more tests of atan2, carg, clog and + clog10. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + [BZ #18197] + * sysdeps/ieee754/dbl-64/s_atan.c: Include . + (atan): Set FE_TONEAREST mode for internal computations. + * math/auto-libm-test-in: Add more tests of atan. + * math/auto-libm-test-out: Regenerated. + +2015-04-07 James Cowgill + + [BZ #17930] + * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define. + +2015-04-07 Florian Weimer + + * malloc/scratch_buffer_grow_preserve.c: Include + +2015-04-07 Florian Weimer + + * include/scratch_buffer.h: New file. + * malloc/scratch_buffer_grow.c: Likewise. + * malloc/scratch_buffer_grow_preserve.c: Likewise. + * malloc/scratch_buffer_set_array_size.c: Likewise. + * malloc/tst-scratch_buffer.c: Likewise. + * malloc/Makefile (routines): Add scratch_buffer_grow. + (tests): Add test case. + * malloc/Versions (GLIBC_PRIVATE): Export + __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve, + __libc_scratch_buffer_set_array_size. + +2015-04-06 Richard Henderson + + * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h. + * sysdeps/alpha/fpu/libm-test-ulps: Update. + + * math/test-fenvinline.c (feenable_test): Cast fe_exc to + unsigned int before printing. + +2015-04-03 Rajalakshmi Srinivasaraghavan + + [BZ #17596] + * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0. + * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise. + +2015-04-02 Florian Weimer + + * include/libc-internal.h (libc_max_align_t): Define. + +2015-04-02 Andreas Schwab + + [BZ #16850] + * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file. + +2015-04-02 Mel Gorman + + [BZ #17195] + * malloc/arena.c (free): Apply trim threshold to per-thread heaps + as well as the main arena. + +2015-03-31 H.J. Lu + + [BZ #18185] + * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads + sharing L2 cache to 2 for Silvermont/Knights Landing. + +2015-03-31 H.J. Lu + + [BZ #17711] + * config.make.in (have-protected-data): New. + * configure.ac: Check linker support for protected data symbol. + * configure: Regenerated. + * elf/Makefile (modules-names): Add tst-protected1moda and + tst-protected1modb if $(have-protected-data) is yes. + (tests): Add tst-protected1a and tst-protected1b if + $(have-protected-data) is yes. + ($(objpfx)tst-protected1a): New. + ($(objpfx)tst-protected1b): Likewise. + (tst-protected1modb.so-no-z-defs): Likewise. + * elf/tst-protected1a.c: New file. + * elf/tst-protected1b.c: Likewise. + * elf/tst-protected1mod.h: Likewise. + * elf/tst-protected1moda.c: Likewise. + * elf/tst-protected1modb.c: Likewise. + +2015-03-31 H.J. Lu + + [BZ #17711] + * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which + indicates it is called from do_lookup_x on relocation against + protected data, skip the data definion in the executable from + copy reloc. + (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA, + instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for + EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol. + * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA): + New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined, + otherwise to 0. + * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New. + * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class + to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT. + * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New. + * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class + to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT. + +2015-03-28 Martin Galvan + + * sysdeps/nptl/pthread.h: Remove duplicate definition of + PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP. + +2015-03-27 Martin Galvan + + * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and + THREAD_SETMEM_NC. + * sysdeps/x86_64/nptl/tls.h: Ditto. + +2015-03-27 Roland McGrath + + * dlfcn/tststatic.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + +2015-03-26 Alan Modra + + * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt): + Don't segfault if ifunc resolver returns a NULL. Do set plt to + zero for undefined weak. + (elf_machine_plt_conflict): Similarly. + +2015-03-25 Joseph Myers + + * math/auto-libm-test-in: Add more tests of acosh, asinh and + atanh. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + * math/auto-libm-test-in: Add another test of asin. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD): + Remove macro. + (LLL_EBX_REG): Likewise. + (LLL_ENTER_KERNEL): Likewise. + + * math/auto-libm-test-in: Add more tests of asin. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + [BZ #18138] + * sysdeps/unix/sysv/linux/i386/sysdep.h (struct + libc_do_syscall_args): New structure. + (INTERNAL_SYSCALL_MAIN_0): New macro. + (INTERNAL_SYSCALL_MAIN_1): Likewise. + (INTERNAL_SYSCALL_MAIN_2): Likewise. + (INTERNAL_SYSCALL_MAIN_3): Likewise. + (INTERNAL_SYSCALL_MAIN_4): Likewise. + (INTERNAL_SYSCALL_MAIN_5): Likewise. + (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall. + (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr. + Replace conditional definitions by conditional definitions of .... + (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro. + * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file. + * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl] + (libpthread-sysdep_routines): Add libc-do-syscall. + * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file. + * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define + to __NR_futex not 240. + +2015-03-25 Alan Modra + + * NEWS: Advertise TLS optimization. + * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define. + (DT_PPC_NUM): Increment. + * elf/dynamic-link.h (HAVE_STATIC_TLS): Define. + (CHECK_STATIC_TLS): Use here. + * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize + TLS descriptors. + * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise. + * sysdeps/powerpc/dl-tls.c: New file. + * sysdeps/powerpc/Versions: Add __tls_get_addr_opt. + * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test. + * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test. + Build tst-tlsmod2.so with --no-tls-get-addr-optimize. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise. + +2015-03-25 Alan Modra + + * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support + for overlapping .opd entries" to "support...". + * sysdeps/powerpc/powerpc64/configure: Regenerate + +2015-03-25 Joseph Myers + + * math/auto-libm-test-in: Add more tests of acos. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + * math/auto-libm-test-in: Add more tests of expm1. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2015-03-24 Joseph Myers + + * math/auto-libm-test-in: Add more tests of cosh and sinh. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + * sysdeps/i386/fpu/libm-test-ulps: Regenerated. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + * math/auto-libm-test-in: Add more tests of log2. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2015-03-23 Roland McGrath + + * libio/iofdopen.c: Move FD_FLAGS declaration into its first use, + inside [F_GETFL]. Remove POSIX_MODE local variable, just test the + _IO_IS_APPENDING bit in READ_WRITE instead. + +2015-03-23 Florian Weimer + + * sysdeps/unix/sysv/linux/pthread_setaffinity.c + (__determine_cpumask_size): Replace extend_alloca with a + variable-length array. Do not treat res == 0 as an error. + +2015-03-23 Florian Weimer + + [BZ #18100] + * posix/wordexp.c (eval_expr_multdiv): Check for division by zero + and integer overflow. + * posix/wordexp-test.c (test_case): Add divide-by-zero test. + (main): Add integer overflow tests. + * manual/pattern.texi (Calling Wordexp): Document additional use + for WRDE_SYNTAX. + +2015-03-23 Alan Modra + + * config.h.in: Remove HAVE_ASM_PPC_REL16. + * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16 + and false branch of conditional. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: + Likewise. + +2015-03-21 Samuel Thibault + + * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on + libc-modules.h + * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove + unused declaration of _hurd_intr_rpc_msg_in_trap. + * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is + defined instead of whether it is non-zero. + * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m" + input constraint instead of both input and output constraint. Use ecx + clobber instead of %ecx. + * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock, + mutex_unlock): Use a statement expression instead of an expression list. + * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set + type to vm_size_t instead of vm_address_t. + * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is + defined instead of whether it is non-zero. + * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration. + * sysdeps/mach/hurd/setsid.c: Include . + * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for + comparisons with mapaddr. + * nscd/nscd-client.h: Include . + * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy + 9th parameter to __vm_region instead of int. + * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define. + * scripts/check-local-headers.sh (exclude): Add device/, + hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs, + cthreads.h. + +2015-03-19 Roland McGrath + + * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations + to account for alignment padding. + * sysdeps/arm/memmove.S: Likewise. + +2015-03-19 Chris Metcalf + + * sysdeps/unix/sysv/linux/generic/README: New file. + +2015-03-18 Joseph Myers + + [BZ #18138] + * nptl/sem_waitcommon.c: Include . + (futex_abstimed_wait) + [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]: + Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead + of lll_futex_timed_wait. + +2015-03-18 Brad Hubbard + + [BZ #17542] + * sunrpc/svc.c (xprt_register): Use calloc to allocate xports. + +2015-03-17 Alexandre Oliva + + [BZ #17090] + [BZ #17620] + [BZ #17621] + [BZ #17628] + * NEWS: Update. + * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV + entries with Static TLS too. Skip entries past the end of the + allocated DTV, from Alan Modra. + (tls_get_addr_tail): Update to glibc_likely/unlikely. Move + Static TLS DTV entry set up from... + (_dl_allocate_tls_init): ... here (fix modid assertion), ... + * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here... + * nptl/allocatestack.c (init_one_static_tls): ... and here... + * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound + for Static TLS. + * elf/tlsdeschtab.h (map_generation): Return size_t. Check + that the slot we find is associated with the given map before + using its generation count. + * nptl_db/db_info.c: Include ldsodefs.h. + (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs. + * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro. + (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise. + (link_map::l_tls_offset): New struct field. + (dtv_t::counter): Likewise. + (rtld_global): New struct. + (_rtld_global): New rtld variable. + (dl_tls_dtv_slotinfo_list): New rtld global field. + (dtv_slotinfo_list): New struct. + (dtv_slotinfo): Likewise. + * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include. + (td_lookup): Rename to... + (td_mod_lookup): ... this. Use new mod parameter instead of + LIBPTHREAD_SO. + * nptl_db/td_thr_tlsbase.c: Include link.h. + (dtv_slotinfo_list, dtv_slotinfo): New functions. + (td_thr_tlsbase): Check DTV generation. Compute Static TLS + addresses even if the DTV is out of date or missing them. + * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to + index zero-length arrays. + * nptl_db/thread_dbP.h: Include gnu/lib-names.h. + (td_lookup): Make it a macro implemented in terms of... + (td_mod_lookup): ... this declaration. + * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override. + (DB_MAIN_VARIABLE): Likewise. + +2015-03-16 H.J. Lu + + [BZ #18134] + * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New. + +2015-03-15 Paul Eggert + + * stdlib/setenv.c (__add_to_environ): Revert previous change. + +2015-03-14 Andreas Schwab + + [BZ #18128] + * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add) + (atomic_add, atomic_increment_and_test) + (atomic_decrement_and_test): Fix 64-bit arithmetic. + +2015-03-13 Paul Eggert + + * stdlib/setenv.c (__add_to_environ): + Dump core quickly if setenv (..., NULL, ...) is called. + +2015-03-13 Roland McGrath + + * sysdeps/arm/tls-macros.h: Include . + (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate + all the necessary asm magic in one place. + (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions + using those. + +2015-03-13 Carlos O'Donell + + [BZ #14906] + * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update + traced file mtime. Use consistent log message. + * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function. + (register_traced_file): Call install_watches. Always set mtime. + (invalidate_cache): Iterate over all trace files. Call install_watches. + (inotify_check_files): Don't inline. Handle watching parent + directories and configuration file movement in and out. + (handle_inotify_events): New function. + (main_loop_poll): Call handle_inotify_events. + (main_loop_epoll): Likewise. + * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX. + (struct traced_file): Use array of inotify fds. Add parent directory, + and basename. + (struct database_dyn): Remove unused file_mtime. + (init_traced_file): New inline function. + (define_traced_file): New macro. + * nss/nss_db/db-init.c: Use define_traced_file. + (_nss_db_init): Use init_traced_file. + * nss/nss_files/files-init.c: Use define_traced_file. + (_nss_files_init): Use init_traced_file. + +2015-03-12 Joseph Myers + + * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro. + [_LIBC]: Do not include . + [!_LIBC] (abort): Remove declaration. + * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use + _FP_STATIC_ASSERT instead of conditionally calling abort. + * soft-fp/op-common.h (_FP_FROM_INT): Likewise. + (_FP_EXTEND_CNAN): Likewise. + (FP_TRUNC): Likewise. + (__FP_CLZ): Likewise. + * sysdeps/powerpc/nofpu/flt-rounds.c: Include . + +2015-03-12 Yaakov Selkowitz + + * manual/string.texi (XPG basename): Fix prototype. + +2015-03-12 Stefan Liebler + + [BZ #18080] + * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S + (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK. + * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S + (__setcontext): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S + (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK. + Call rt_sigprocmask syscall one time to set new signal mask + and retrieve the current signal mask instead of two calls. + * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S + (__swapcontext): Likewise. + * stdlib/Makefile (tests): Add new testcase tst-setcontext2. + * stdlib/tst-setcontext2.c: New file. + +2015-03-12 Stefan Liebler + + * sysdeps/s390/fpu/libm-test-ulps: Regenerate. + +2015-03-11 Aurelien Jarno + + [BZ #18093] + * elf/cache.c (load_aux_cache): Regenerate the cache if it has + the wrong size. + +2015-03-11 Paul Pluzhnikov + + [BZ #18043] + * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1). + +2015-03-11 Adhemerval Zanellla + + * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define. + * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias): + Remove define. + [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise. + [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise. + [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise. + [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise. + [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise. + * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove + define. + * nptl_db/td_symbol_list.c (td_lookup): Remove + HAVE_ASM_GLOBAL_DOT_NAME code. + * sysdeps/powerpc/powerpc64/configure.ac: Remove + HAVE_ASM_GLOBAL_DOT_NAME check. + * sysdeps/powerpc/powerpc64/configure: Regenerate. + * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME] + (DOT_LABEL): Remove define. + [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise. + [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise. + [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise. + * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME] + (__TLS_GET_ADDR): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h + [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise. + +2015-03-11 Carlos O'Donell + + [BZ #18111] + * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define. + (_FPU_SETCW): Initialize cw from fpsr before storing. + * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h + (fesetexceptflag): Rewrite using fpu_control.h. + * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV. + +2015-03-11 John David Anglin + + [BZ #18110] + * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in + asms. + * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise. + +2015-03-11 Joseph Myers + + * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro. + * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of + abort. + (_FP_FMA): Likewise. + (_FP_DIV): Likewise. + +2015-03-10 Roland McGrath + + * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit + with 0 in that case. + * Makefile (summarize-tests): New canned sequence, factored out of + commands for targets tests and xtests. Display summary lines that + don't start with PASS: or XFAIL: rather than ones that do start with + ERROR: or FAIL:. Make the commands fail if any summary lines fail + to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any + do start with ERROR: or FAIL:. + * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally + (except for [$(build-shared) = yes]). + (tests-unsupported) [$(CXX) empty]: Add bug-atexit3. + (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty]. + ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise. + * nptl/Makefile: Revert 2015-03-04 changes. + [$(CXX) empty] (tests-unsupported): New variable. + * debug/Makefile: Likewise. + + * posix/regcomp.c: Fix comment typos and formatting to harmonize with + gnulib file. Replace __attribute with __attribute__ throughout. + +2015-03-10 Carlos O'Donell + + * sysdeps/hppa/fpu/libm-test-ulps: Update. + +2015-03-10 Joseph Myers + + [BZ #18104] + * math/auto-libm-test-in: Add another test of pow. + * math/auto-libm-test-out: Regenerated. + +2015-03-10 Adhemerval Zanella + + * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add + $(config-cflags-nofma). + +2015-03-10 Joseph Myers + + * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard. + * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise. + * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise. + * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise. + * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise. + * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise. + * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise. + * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise. + * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise. + * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty. + Add comment on closing #endif. + +2015-03-09 Paul Pluzhnikov + + * posix/wordexp.c (CHAR_IN_SET): New macro. + (parse_param): Use it. + +2015-03-09 Adhemerval Zanella + + * sysdeps/powerpc/fpu/libm-test-ulps: update. + +2015-03-09 Paul Pluzhnikov + + [BZ #18043] + * posix/wordexp.c (parse_param): Fix buffer overflow. + * posix/wordexp-test.c (test_case): Add test case. + +2015-03-09 Paul Pluzhnikov + + [BZ #18042] + * posix/wordexp.c (parse_backtick): Fix off-by-one. + * posix/wordexp-test.c (test_case): Add test for BZ #18042. + +2015-03-09 Paul Pluzhnikov + + [BZ #18043] + * posix/wordexp-test.c (test_case): Add test for BZ #18043 + (do_bz18043): Delete. + (at_page_end): New. + (testit): Refactor to have words at the edge of unreadable page. + +2015-03-08 Paul Pluzhnikov + + [BZ #16734] + * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write. + Cleanup read-only streams as well. + (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write. + +2015-03-08 Samuel Thibault + + * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include + + +2015-03-07 Joseph Myers + + * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending + on [__KERNEL__]. + * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT. + * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise. + * soft-fp/op-common.h (_FP_DECL): Likewise. + +2015-03-06 H.J. Lu + + * elf/ifuncdep2.c (global): Replace + __attribute__((visibility("protected"))) with + asm (".protected global"). + * elf/ifuncmod1.c (global): Likewise. + * elf/ifuncmod5.c (global): Likewise. + +2015-03-06 Joseph Myers + + * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include + instead of . + +2015-03-06 Roland McGrath + + * manual/install.texi (Configuring and compiling): + Document test-wrapper-env-only. + * INSTALL: Regenerated. + +2015-03-06 Paul Pluzhnikov + + [BZ #18043] + * posix/wordexp.c (parse_param): Fix buffer overflow. + * posix/wordexp-test.c (do_bz18043): Add test case. + +2015-03-06 Vincent Bernat + + * time/tst-strptime2.c (do_test): Ensure failing tests are + reported correctly. + * time/tst-strptime3.c (do_test): Likewise. + +2015-03-06 Samuel Thibault + + Fix aio_error thread-safety. + * sysdeps/pthread/aio_error.c: New file + * sysdeps/pthread/aio_misc.c: Remove optimistic comment about + synchronization. + +2015-03-06 Florian Weimer + + * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef. + (group_number, vfprintf): Use it. + (JUMP_TABLE_BASE_LABEL): New preprocessor macro. + (JUMP, REF): Use it. + (WORK_BUFFER_SIZE): New enum constant. + (process_arg, vfprintf): Use it. + +2015-03-06 Rical Jasan + + * manual/errno.texi (Error Messages): Complete example function + by adding missing #define. + (program_invocation_name): Add statement indicating GNU + extension and reference which header file declares the variable. + (program_invocation_short_name): Likewise. + +2015-03-06 Mike Frysinger + + * manual/errno.texi (Error Messages): Delete strerror ISO C89 + compatibility note. + +2015-03-05 Roland McGrath + + * Makeconfig (test-wrapper-env-only): New variable. + * Rules (make-test-out): If variable $*-ENV-only is nonempty, + then use that with $(test-wrapper-env-only) rather than using + $(test-wrapper-env) $(run-program-env) $($*-ENV). + +2015-03-05 H.J. Lu + + [BZ #18082] + * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace + ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments. + * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise. + * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise. + * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise. + * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise. + * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise. + * sysdeps/microblaze/dl-machine.h (elf_machine_type_class): + Likewise. + * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise. + * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class): + Likewise. + * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class): + Likewise. + * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class): + Likewise. + * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class): + Likewise. + * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise. + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class): + Likewise. + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class): + Likewise. + * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise. + * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise. + +2015-03-04 Roland McGrath + + * sysdeps/generic/netinet/if_ether.h: Don't #include . + (ETH_ALEN): New macro. + (struct ether_addr): Use it for length of ether_addr_octet. + + * nss/test-netdb.c: Don't #include . + (setdb): Don't call __nss_configure_lookup for "rpc". + (do_test): Don't call test_rpc. + (output_rpcent, test_rpc): Functions moved ... + * sunrpc/test-rpcent.c: ... to this new file. + * sunrpc/Makefile (tests): Add it. + + * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of + __xpg_sigpause. + * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN]. + * nptl/tst-signal6.c: Likewise. + * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO]. + * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO]. + + * configure.ac (libc_cv_cxx_link_ok): New check. + Reset CXX to empty if it fails to link. + * configure: Regenerated. + * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and + bug-atexit3-lib only if $(CXX) is nonempty. + * nptl/Makefile (tests): Likewise for tst-cancel24. + (tests, tests-static): Likewise for tst-cancel24-static. + * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6, + tst-lfschk4, tst-lfschk5, and tst-lfschk6. + * elf/Makefile (tests, modules-names): Likewise for tst-unique3, + tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib. + +2015-03-04 Andreas Schwab + + [BZ #17631] + * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define + for non-GCC compilers. + * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO): + Likewise. + +2015-03-03 Adhemerval Zanellla + + [BZ #17776] + * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to + integer before bitwise and assembly operations. + (feclearexcept): Likewise. + * math/test-fenvinline.c: New file. + * math/Makefile: Add test-fenvinline test. + +2015-03-03 Alan Modra + + [BZ #16512] + * scripts/localplt.awk: Strip off symbol version. + * NEWS: Mention bug fix. + +2015-03-02 Roland McGrath + + * sysdeps/pthread/timer_routines.c + (timer_free_list, thread_free_list, thread_active_list): Make static. + +2015-03-02 Joseph Myers + + [BZ #17779] + * sysdeps/unix/sysv/linux/hppa/kernel-features.h + [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64): + Undefine. + * sysdeps/unix/sysv/linux/microblaze/kernel-features.h + [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64): + Likewise. + * sysdeps/unix/sysv/linux/sh/kernel-features.h + [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64): + Likewise. + +2015-03-02 Paul Pluzhnikov + + [BZ #18036] + * posix/fnmatch_loop.c (END): Detect invalid pattern. + * posix/tst-fnmatch3.c (do_bz18036): Add test case. + +2015-03-02 Andreas Schwab + + * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in + variable name. + +2015-03-02 Florian Weimer + + * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): + Return error status. + +2015-02-27 Alexandre Oliva + + [BZ #15969] + * locale/findlocale.c (_nl_find_locale): Introduce const + version of loc_name and drop unsafe type casts. + +2015-02-27 Roland McGrath + + * dlfcn/tststatic2.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + +2015-02-27 H.J. Lu + + [BZ #17711] + * elf/Makefile (tests): Add vismain only if PIE is enabled. + (tests-pie): Add vismain. + (CFLAGS-vismain.c): New. + * elf/vismain.c: Add comments for PIE requirement. + +2015-02-27 Joseph Myers + + [BZ #18046] + [BZ #18047] + * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use + 0x1p-56L as threshold for just returning the argument. + * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use + 0x1p-32L as threshold for just returning the argument. + * math/auto-libm-test-in: Add more tests of atanh. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulp: Likewise. + +2015-02-27 Wilco Dijkstra + + * string/bcopy.c (bcopy): Call memmove for performance. + +2015-02-27 Wilco Dijkstra + + * string/bzero.c (__bzero): Call memset for performance. + +2015-02-27 John David Anglin + + [BZ #18068] + * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change + to 00100000. + +2015-02-27 Joseph Myers + + * sysdeps/ieee754/k_standard.c (CSTR): Add comment. + +2015-02-26 Joseph Myers + + * sysdeps/ieee754/k_standard.c (CSTR): New macro. + (__kernel_standard): Use CSTR macro when setting exc.name. + * sysdeps/ieee754/Makefile [$(subdir) = math] + (CFLAGS-k_standard.c): Remove variable. + + * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for + setting p and q from "else if" to "else". + (qzero): Likewise. + * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise. + (qone): Likewise. + * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise. + (qzerof): Likewise. + * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise. + (qonef): Likewise. + * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise. + (qzero): Likewise. + * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise. + (qone): Likewise. + + [BZ #18038] + [BZ #18039] + * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only + return pi/2 for arguments below 0x1p-113L. + * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only + return pi/2 for arguments below 0x1p-106L. + * math/auto-libm-test-in: Add more tests of acos. + * math/auto-libm-test-out: Regenerated. + + [BZ #16351] + * sysdeps/i386/fpu/e_asin.S (dbl_min): New object. + (MO): New macro. + (__ieee754_asin): Force underflow exception for results with small + absolute value. + * sysdeps/i386/fpu/e_asinf.S (flt_min): New object. + (MO): New macro. + (__ieee754_asinf): Force underflow exception for results with + small absolute value. + * sysdeps/ieee754/dbl-64/e_asin.c: Include and . + (__ieee754_asin): Force underflow exception for results with small + absolute value. + * sysdeps/ieee754/flt-32/e_asinf.c: Include . + (__ieee754_asinf): Force underflow exception for results with + small absolute value. + * sysdeps/ieee754/ldbl-128/e_asinl.c: Include . + (__ieee754_asinl): Force underflow exception for results with + small absolute value. + * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include . + (__ieee754_asinl): Force underflow exception for results with + small absolute value. + * sysdeps/ieee754/ldbl-96/e_asinl.c: Include . + (__ieee754_asinl): Force underflow exception for results with + small absolute value. + * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]: + Include . + * math/auto-libm-test-in: Do not mark underflow exceptions as + possibly missing for bug 16351. + * math/auto-libm-test-out: Regenerated. + + [BZ #18030] + * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent + of power of 2 down when low part has opposite sign. + * math/libm-test.inc (logb_test_data): Add more tests. + +2015-02-26 Andreas Schwab + + [BZ #18032] + * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping + over collating symbol inside a bracket expression. Minor cleanup. + * posix/tst-fnmatch3.c (do_test): Add test case. + +2015-02-26 Joseph Myers + + [BZ #18029] + * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): + Adjust exponent of power of 2 down when low part has opposite + sign. + * math/libm-test.inc (ilogb_test_data): Add more tests. + +2015-02-26 Alexandre Oliva + + [BZ #15969] + * locale/findlocale.c (_nl_find_locale): Fix constness error in + the previous change. + + [BZ #15969] + * locale/findlocale.c (_nl_find_locale): Retry archive search + after alias expansion. + +2015-02-25 Roland McGrath + + * iconv/tst-iconv3.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + + * iconv/tst-iconv5.c (testcode, number): Make variables static const. + (convert): Make function static. + (test_unalign): Likewise. Add const to argument pointee types. + (main): Replace with static function do_test. + Print "Succeeded." only if RET is zero. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + + * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd + returns a null pointer. + +2015-02-25 Adhemerval Zanella + + * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy + to __memcpy_ppc only for static builds. + +2015-02-25 Joseph Myers + + [BZ #18020] + * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and + 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas. + * math/auto-libm-test-in: Add more tests of asinh. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2015-02-25 Cong Wang + + [BZ #15850] + * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo + and ip6_mtuinfo definitions here. + * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code + in this define too. Update comment. + +2015-02-24 Benno Schulenberg + + * elf/sprof.c (load_shobj): Tweak error message to match others. + +2015-02-24 Kevin Easton + + [BZ #16145] (partial fix) + * time/tzset.c (__tz_convert): Unlock tzset_lock earlier + to reduce lock contention. + +2015-02-24 Miroslav Lichvar + + * sysdeps/unix/sysv/linux/bits/timex.h: Update version. + (struct timex): Update time comment. + (ADJ_SETOFFSET): Define. + +2015-02-24 Joseph Myers + + [BZ #18019] + * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use + 2**56 not 2**28 as threshold for log (2x) formula. + * math/auto-libm-test-in: Add more tests of acosh. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2015-02-24 Mike Frysinger + + * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add + parenthesis around the buf assignment. + [_STACK_GROWS_UP] (extend_alloca): Add a char* cast. + +2015-02-24 Joseph Myers + + [BZ #16783] + * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle + arguments (NaN, -Inf) the same as (+/-Inf, -Inf). + * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise. + * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise. + * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise. + * math/libm-test.inc (scalb_test_data): Add more tests. + +2015-02-24 Paul Pluzhnikov + + [BZ #17916] + * libio/fileops.c (_IO_new_file_fopen): Limit stack use + * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test + +2015-02-24 Eric Rannaud + + [BZ #17523] + * io/fcntl.h (__OPEN_NEEDS_MODE): New macro. + * io/bits/fcntl2.h (open): Use it. + (openat): Likewise. + * io/open.c (__libc_open): Likewise. + * io/open64.c (__libc_open64): Likewise. + * io/open64_2.c (__open64_2): Likewise. + * io/open_2.c (__open_2): Likewise. + * io/openat.c (__openat): Likewise. + * io/openat64.c (__openat64): Likewise. + * io/openat64_2.c (__openat64_2): Likewise. + * io/openat_2.c (__openat_2): Likewise. + * sysdeps/mach/hurd/open.c (__libc_open): Likewise. + * sysdeps/mach/hurd/openat.c (__openat): Likewise. + * sysdeps/posix/open64.c (__libc_open64): Likewise. + * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise. + * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise. + (__open_nocancel): Likewise. + * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise. + * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise. + * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise. + +2015-02-24 Siddhesh Poyarekar + + [BZ #14841] + * resolv/gethnamaddr.c (getanswer): Skip logging if + RES_USE_DNSSEC is set. + * resolv/nss_dns/dns-host.c (getanswer_r): Likewise. + +2015-02-24 Mike Frysinger + + * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h. + +2015-02-23 Alexandre Oliva + + * include/stdc-predef.h (__STDC_ISO_10646__): Update to + 201304L, for Unicode 7. + +2015-02-23 H.J. Lu + + [BZ #17836] + * csu/Makefile (extra-objs): Add gmon-start.o if not builing + shared library. Add gmon-start.os otherwise. + ($(objpfx)g$(start-installed-name)): Use $(objpfx)S% + $(objpfx)gmon-start.os if builing shared library. + ($(objpfx)g$(static-start-installed-name)): Likewise. + +2015-02-23 Andreas Schwab + + * elf/Makefile (CFLAGS-tst-audit2.c): Define. + +2015-02-22 Paul Pluzhnikov + + [BZ #17269] + * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow + (enlarge_userbuf): Likewise. + +2015-02-22 Chung-Lin Tang + + * libio/tst-memstream2.c (TIMEOUT): Define as 100. + * math/atest-exp.c (TIMEOUT): Adjust to 200. + * math/atest-exp2.c (TIMEOUT): Adjust to 300. + * math/atest-sincos.c (TIMEOUT): Adjust to 600. + +2015-02-20 Joseph Myers + + * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in + expression inside statement expression. + +2015-02-20 Stefan Liebler + + * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include + and remove macros and + functions that are now defined there. + (SYS_futex): Remove. + (lll_compare_and_swap): Remove. + * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define. + +2015-02-19 Joseph Myers + + [BZ #17999] + * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat + instead of scandirat. + * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise. + [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define. + [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of + __scandirat. + * include/dirent.h (scandirat): Do not use libc_hidden_proto. + (__scandirat): Declare. Use libc_hidden_proto. + * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace): + Remove variable. + (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise. + +2015-02-18 Joseph Myers + + [BZ #15319] + * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object. + (MO): New macro. + (__ieee754_atan2): For results with small absolute value, force + underflow exception and remove excess range and precision from + return value. + * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object. + (MO): New macro. + (__ieee754_atan2f): For results with small absolute value, force + underflow exception and remove excess range and precision from + return value. + * sysdeps/i386/fpu/s_atan.S (dbl_min): New object. + (MO): New macro. + (__atan): For results with small absolute value, force underflow + exception and remove excess range and precision from return value. + * sysdeps/i386/fpu/s_atanf.S (flt_min): New object. + (MO): New macro. + (__atanf): For results with small absolute value, force underflow + exception and remove excess range and precision from return value. + * sysdeps/ieee754/dbl-64/e_atan2.c: Include and + . + (__ieee754_atan2): Force underflow exception for results with + small absolute value. + * sysdeps/ieee754/dbl-64/s_atan.c: Include and + . + (atan): Force underflow exception for results with small absolute + value. + * sysdeps/ieee754/flt-32/s_atanf.c: Include . + (__atanf): Force underflow exception for results with small + absolute value. + * sysdeps/ieee754/ldbl-128/s_atanl.c: Include and + . + (__atanl): Force underflow exception for results with small + absolute value. + * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include . + (__atanl): Force underflow exception for results with small + absolute value. + * sysdeps/x86/fpu/bits/mathinline.h + [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES] + (__ieee754_atan2): Only define inline for long double. + * sysdeps/x86_64/fpu/multiarch/e_atan2.c + [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include . + * math/auto-libm-test-in: Do not mark underflow exceptions as + possibly missing for bug 15319. Add more tests of atan2. + * math/auto-libm-test-out: Regenerated. + * math/libm-test.inc (casin_test_data): Do not mark underflow + exceptions as possibly missing for bug 15319. + (casinh_test_data): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Update. + +2015-02-18 Steve Ellcey + + * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove. + * sysdeps/mips/bits/endian.h: Fix comments. + +2015-02-18 Joseph Myers + + [BZ #17996] + * include/search.h (hcreate_r): Don't use libc_hidden_proto. + (hdestroy_r): Likewise. + (hsearch_r): Likewise. + (__hcreate_r): Declare and use libc_hidden_proto. + (__hdestroy_r): Likewise. + (__hsearch_r): Likewise. + * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r. + (hcreate): Call __hcreate_r instead of hcreate_r. + (__hdestroy): Call __hdestroy_r instead of hdestroy_r. + * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define + as weak alias of __hcreate_r. + (hdestroy_r): Rename to __hdestroy_r and define as weak alias of + __hdestroy_r. + (hsearch_r): Rename to __hsearch_r and define as weak alias of + __hsearch_r. + * conform/Makefile (test-xfail-XPG3/search.h/linknamespace): + Remove variable. + (test-xfail-XPG4/search.h/linknamespace): Likewise. + (test-xfail-UNIX98/search.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/search.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise. + +2015-02-18 Siddhesh Poyarekar + + * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and + arena_lock into a single arena_get. + +2015-02-17 Carlos O'Donell + + * dl-reloc.c: Inlucde libc-internal.h. + (_dl_try_allocate_static_tls): Call ALIGN_UP. + (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN. + (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN. + * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP. + (grow_heap): Likewise. + * malloc/malloc.c: Include libc-internal.h. + (do_check_malloc): Call powerof2. + (sysmalloc): Use pagesize. Call ALIGN_UP. + (systrim): Use pagesize. + (mremap_chunk): Use pagesize. Call ALIGN_UP. + (__libc_valloc): Use pagesize. + (__libc_pvalloc): Use pagesize. Call ALIGN_UP. + +2015-02-17 Joseph Myers + + [BZ #17991] + * include/sys/resource.h (__getrlimit64): Declare. Use + libc_hidden_proto. + * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64 + and define as weak alias of __getrlimit64. Use libc_hidden_weak. + * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of + getrlimit64. + * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to + __getrlimit64. + [!getrlimit64] (getrlimit64): Define as weak alias of + __getrlimit64. Use libc_hidden_weak. + * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define + using __getrlimit64 not __new_getrlimit64. + (__GI_getrlimit64): Likewise. + * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64): + Likewise. + (__GI_getrlimit64): Likewise. + (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list + (getrlimit): Add __getrlimit64 alias. + * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit): + Likewise. + * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace): + Remove variable. + (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise. + +2015-02-17 Paul Pluzhnikov + + * libio/fileops.c: Add missing sys/mman.h + * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h + +2015-02-17 Joseph Myers + + * manual/math.texi (Errors in Math Functions): Clarify goals + regarding inexact and underflow exceptions. + +2015-02-17 Steve Ellcey + + * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check. + * sysdeps/mips/memset.S: Ditto. + +2015-02-17 Steve Ellcey + + * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if. + +2015-02-17 Stefan Liebler + + * sysdeps/unix/sysv/linux/s390/pt-longjmp.c + (__v1longjmp): Remove versioned symbol. + (__v1siglongjmp): Remove alias and versioned symbol. + (__v2longjmp): Use DEFINE_LONGJMP instead of alias. + (__v2siglongjmp): Likewise. + +2015-02-16 Torvald Riegel + + * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file. + +2015-02-16 Mike Frysinger + + * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete. + +2015-02-16 Joseph Myers + + [BZ #17987] + * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of + zero result does not depend on the sign resulting from + subtraction. + * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): + Likewise. + * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise. + * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise. + * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise. + * math/libm-test.inc (remquo_test_data): Add more tests. + +2015-02-16 Paul Eggert + + * manual/time.texi (TZ Variable): glibc no longer comes with tzdata. + Problem reported by J William Piggott. + +2015-02-16 Joseph Myers + + [BZ #17978] + * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form + products 4 * y and 2 * y where those would overflow. + * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): + Likewise. + * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise. + * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise. + * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise. + * math/libm-test.inc (remquo_test_data): Add more tests. + + * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro. + + * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to + [defined _COMPILING_NEWLIB]. + * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise. + * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise. + + * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to + [!defined __mips_isa_rev || __mips_isa_rev < 6]. + +2015-02-16 Torvald Riegel + + * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is + acquired. + +2015-02-15 Matthew Fortune + + [BZ #17792] + * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove. + (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR, + HOST_STACK_END_ADDR): Likewise. + +2015-02-13 Steve Ellcey + + * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if. + * sysdeps/mips/memcpy.S (__MIPSEB): Ditto. + * sysdeps/mips/memset.S (__MIPSEB): Ditto. + +2015-02-13 Roland McGrath + + * sysdeps/generic/c++-types.data: New file. + * sysdeps/generic/ld.abilist: New file. + * sysdeps/generic/libBrokenLocale.abilist: New file. + * sysdeps/generic/libanl.abilist: New file. + * sysdeps/generic/libc.abilist: New file. + * sysdeps/generic/libcrypt.abilist: New file. + * sysdeps/generic/libdl.abilist: New file. + * sysdeps/generic/libm.abilist: New file. + * sysdeps/generic/libpthread.abilist: New file. + * sysdeps/generic/libresolv.abilist: New file. + * sysdeps/generic/librt.abilist: New file. + +2015-02-13 Joseph Myers + + [BZ #17569] + * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): + Compute absolute value of x as modified by fmod, not original + value of x. + * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to + RUN_TEST_ffI_f1_mod8. Check extra return value mod 8. + (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call + RUN_TEST_ffI_f1_mod8. + (remquo_test_data): Add more tests. + +2015-02-13 Roland McGrath + + * sysdeps/init_array/pt-crti.S: New file. + +2015-02-13 Joseph Myers + + [BZ #17967] + * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use + __builtin_fmaf instead of relying on contraction of a * b + c. + +2015-02-12 J William Piggott + + [BZ #17969] + * manual/time.texi: correct the zoneinfo path in the TZ Variable + node. + +2015-02-12 Joseph Myers + + [BZ #17964] + * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use + __builtin_fma instead of relying on contraction of a * b + c. + +2015-02-12 Roland McGrath + + * Makeconfig (ASFLAGS): Add -Werror=undef. + * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set. + * sysdeps/unix/make-syscalls.sh: Always emit #define's for + SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0. + + * Makeconfig (after-link): New variable. + (+link-pie, +link-pie-tests): Use it. + (+link-static, +link-static-tests): Likewise. + (+link, +link-tests): Likewise. + * Makerules (build-module, build-module-asneeded): Likewise. + (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so): + Likewise. + * elf/Makefile ($(objpfx)ld.so): Likewise. + +2015-02-12 RĂŒdiger Sonderfeld + + [BZ #17965] + * manual/time.texi (Elapsed Time): tv_sec is of type time_t in + both struct timeval and struct timespec. + +2015-02-12 Joseph Myers + + [BZ #16560] + * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine + and redefine. + (__ieee754_exp2l): Do not multiply small fractional parts by + M_LN2l. + * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to + small argument. + * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise. + * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise. + * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise. + * math/auto-libm-test-in: Add more tests of exp2. + * math/auto-libm-test-out: Regenerated. + +2015-02-12 Rajalakshmi Srinivasaraghavan + + * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize + unaligned path. + +2015-02-12 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for + little endian. + +2015-02-12 Andreas Schwab + + [BZ #15790] + * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype): + Filter out elision flags from value returned in kind. + * nptl/Makefile (tests): Add tst-pthread-mutexattr. + * nptl/tst-pthread-mutexattr.c: New file. + +2015-02-11 Samuel Thibault + + * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu. + * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back + into gnu-gnu, and update comment to refer to abi-tags. + +2015-02-11 Joseph Myers + + [BZ #15467] + * sysdeps/ieee754/dbl-64/s_sincos.c: Include . + (__sincos): Set errno to EDOM for infinite argument. + * sysdeps/ieee754/flt-32/s_sincosf.c: Include . + (SINCOSF_FUNC): Set errno to EDOM for infinite argument. + * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include . + (__sincosl): Set errno to EDOM for infinite argument. + * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include . + (__sincosl): Set errno to EDOM for infinite argument. + * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include . + (__sincosl): Set errno to EDOM for infinite argument. + * math/libm-test.inc (sincos_test_data): Test errno setting. + +2015-02-11 Leonhard Holz + + * string/strxfrm_l.c: Remove #define STRCMP. + * string/strcoll_l.c: Remove #define STRLEN. + * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP. + * wcsmbs/wcscoll_l.c: Remove #define STRLEN. + +2015-02-10 Joseph Myers + + * sysdeps/mips/soft-fp/sfp-machine.h: Move to .... + * sysdeps/mips/mips32/sfp-machine.h: ... here. + * sysdeps/mips/mips64/soft-fp/Makefile: Move to .... + * sysdeps/mips/mips64/Makefile: ... here. + * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to .... + * sysdeps/mips/mips64/e_sqrtl.c: ... here. + * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to .... + * sysdeps/mips/mips64/sfp-machine.h: ... here. + * sysdeps/mips/mips32/Implies: Remove mips/soft-fp. + * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp. + * sysdeps/mips/mips64/n64/Implies: Likewise. + +2015-02-10 Roland McGrath + + * math/test-snan.c: Drop unnecessary #include's of , + , , and . + (dest_offset, dest_address, value, zero): Remove unused variables. + (ldouble): Remove typedef. + (myFPsighandler): Use simple handler signature, not SA_SIGINFO + signature. Pass 1 to siglongjmp rather than 0 (which is converted to + 1). Fix code style. + (set_sigaction_FP, remove_sigaction_FP): Functions removed. + (check): Function removed. + (CHECK): New macro. + (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating + boilerplate feclearexcept + feenableexcept + sigsetjmp code. + Don't call set_sigaction_FP and remove_sigaction_FP here. + (ldouble_test): Just use 'long double' as macro argument, no need for + the 'ldouble' typedef. + (do_test): Set up SIGFPE handler at start, using plain signal rather + than sigaction. Fix code style. + +2015-02-10 Evangelos Foutras + + [BZ #17949] + * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of + jump label. + +2015-02-09 Adhemerval Zanellla + + * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check. + * sysdeps/powerpc/powerpc32/configure: Regenerated. + + * sysdeps/powerpc/configure.ac: Remove file. + * sysdeps/powerpc/configure: Likewise. + + * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile + [sysdep_routines]: Remove wordcopy-power6 object. + * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c + (__memmove_power7): Use local call for wordcopy and memcpy symbols. + * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c + (__memmove_ppc32): Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove + file. + * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file. + * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]: + Remove preprocessor. + + * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile + [sysdep_routines]: Remove wide chars objects. + [wcsmbs]: New rule for wide char objects. + + * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: + Remove wordcopy-power6 obejct. + * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc): + Use local call for wordcopy and memcpy symbols. + * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file. + * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default + implementation for loader. + * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file. + + * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: + Remove wordcopy-power7 object. + * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file. + * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c + (_wordcopy_fwd_aligned): Remove POWER7 specialization. + (_wordcopy_fwd_dest_aligned): Likewise. + (_wordcopy_bwd_aligned): Likewise. + (_wordcopy_bwd_dest_aligned): Likewise. + + * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc): + Rewrite to call __memmove_ppc instead of include default + implementation. + + * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: + Remove wide chars objects. + [wcsmbs]: New rule for wide char objects. + +2015-02-09 Andreas Schwab + + [BZ #17912] + * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define + in terms of __O_DIRECTORY. + +2015-02-08 Samuel Thibault + + * time/getdate.c: Include . + * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not + call PTR_MANGLE. + [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call + PTR_DEMANGLE. + +2015-02-07 Paul Eggert + + Add ersatz _Static_assert on older C hosts + * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a + pre-C11 C platform that is not known to support _Static_assert. + +2015-02-07 Richard Braun + + * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock + sigstate. + * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case. + +2015-02-07 Samuel Thibault + + * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check + priority against unexistent AIO_PRIO_DELTA_MAX. + * misc/chflags.c (chflags): Set flags parameter type to unsigned long + instead of int. + * misc/fchflags.c (fchflags): Likewise. + * sysdeps/mach/hurd/chflags.c (chflags): Likewise. + * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise. + * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP, + UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE, + SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT): + Declare macros. + [__USE_MISC] (chflags, fchflags): Declare functions. + * hurd/hurdselect.c (_hurd_select): In the poll case, do not return + EINVAL when nfds is greater than FD_SETSIZE. + * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE, + NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to + 45. + * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to + __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR. + * hurd/hurdselect.c (_hurd_select): Remove unreachable check for + MACH_RCV_TIMED_OUT. + * hurd/hurd/signal.h (_hurd_self_sigstate, + _hurd_critical_section_lock, _hurd_critical_section_unlock): + Explicit casts from void *. + * sysdeps/mach/hurd/tls.h: Include and . + * abi-tags: Rename gnu-gnu os into gnu. + + [BZ #4719] + * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char, + _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t, + _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t, + _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t, + _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t, + _IOTBASE_unsigned, _IOTBASE_signed): Define macros. + + [BZ #17944] + * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which + duplicates ADDR->sun_path with sockaddr LEN limitation. + * sysdeps/mach/hurd/connect.c: Include + (__connect): Give result of _hurd_sun_path_dupa to name lookup. + * sysdeps/mach/hurd/sendmsg.c: Likewise. + * sysdeps/mach/hurd/sendto.c: Likewise. + * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of + implementing it by hand. + +2015-02-06 Roland McGrath + + * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL): + Use sfi_breg on ldr. + [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL): + Likewise. + + * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if + it's defined. + * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined. + Test SIGSETXID only if it's defined. + + * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined. + + * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which + will not be used. Use NULL rather than 0 for .sigev_notify_attributes. + + * nptl/tst-align2.c: Moved ... + * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here. + * nptl/Makefile (tests): Remove tst-align2. + * sysdeps/unix/sysv/linux/Makefile + [$(subdir) = nptl] (tests): Add tst-align-clone. + * nptl/tst-getpid1.c: Moved ... + * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here. + * nptl/tst-getpid2.c: Moved ... + * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here. + * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ... + * sysdeps/unix/sysv/linux/Makefile + [$(subdir) = nptl] (tests): ... here. + * nptl/Makefile (tst-getpid2-ENV): Move variable ... + * sysdeps/unix/sysv/linux/Makefile + [$(subdir) = nptl] (tst-getpid2-ENV): ... here. + + * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction. + Drop trailing \n from perror argument. Use return rather than exit. + + * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests + on [SA_SIGINFO]. + * nptl/tst-cancel21.c (do_test): Likewise. + * debug/tst-backtrace6.c: Include first thing. + Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO]. + [!SA_SIGINFO]: Make it a stub test. + + * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for + SIGCHLD; it's redundant with SIG_IGN as sa_handler. + + * posix/tst-getlogin.c: Move to ... + * login/tst-getlogin.c: ... here. + * posix/Makefile (tests): Move tst-getlogin to ... + * login/Makefile (tests): ... here. + + * libio/tst-atime.c (do_test): Move local variables SV and E + inside [ST_NOATIME] conditional. + + * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0. + + * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10. + + * nptl/tst-join5.c: Drop #include . + (wait_code): New function replaces macro. + Call nanosleep rather than syscall. + + * nptl/pt-system.c: Rewritten. Put everything under + [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)]. + Use IFUNC to redirect when possible. + + * nptl/pt-longjmp.c: Rewritten. Put everything under + [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)]. + Use IFUNC to redirect when possible. + + * nptl/pt-fork.c: Rewritten. Put everything under + [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)]. + Use IFUNC to redirect when possible. + * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set. + + * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all + code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined + unconditionally nowadays. This included the only reference to + __vdso_clock_gettime that appears outside libc proper. + * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE): + Remove version set (containing only __vdso_clock_gettime). + * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime): + Add attribute_hidden. + * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime): + Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and + libc_hidden_data_def. + * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise. + + * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r, + getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent, + setrpcent, and getrpcport to ... + * sunrpc/Versions (libc: GLIBC_2.0): ... here. + * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r, + getrpcbynumber_r, and getrpcent_r to ... + * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set. + * inet/getrpcbyname.c: Moved ... + * sunrpc/getrpcbyname.c: ... here. + * inet/getrpcbyname_r.c: Moved ... + * sunrpc/getrpcbyname_r.c: ... here. + * inet/getrpcbynumber.c: Moved ... + * sunrpc/getrpcbynumber.c: ... here. + * inet/getrpcbynumber_r.c: Moved ... + * sunrpc/getrpcbynumber_r.c: ... here. + * inet/getrpcent.c: Moved ... + * sunrpc/getrpcent.c: ... here. + * inet/getrpcent_r.c: Moved ... + * sunrpc/getrpcent_r.c: ... here. + * inet/Makefile (routines): Move those to ... + * sunrpc/Makefile (routines): ... here. + * nss/Makefile (databases): Add key and rpc only if sunrpc appears in + the $(subdirs) list. + (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC + to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list. + * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC]. + (databases): Conditionalize rpc entry on [HAVE_SUNRPC]. + + * elf/Makefile (routines): Include $(all-dl-routines), not just + $(dl-routines). + (rtld-routines): Likewise. Use = rather than :=. + * sysdeps/aarch64/Makefile [$(subdir) = elf] + (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and + dl-tlsdesc to these; sysdep-dl-routines alone is enough. + * sysdeps/arm/Makefile: Likewise. + * sysdeps/i386/Makefile: Likewise. + * sysdeps/x86_64/Makefile: Likewise. + * sysdeps/hppa/Makefile [$(subdir) = elf] + (sysdep_routines, sysdep-rtld-routines): Don't add + $(sysdep-dl-routines) to these. + * sysdeps/ia64/Makefile: Likewise. + * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise. + * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf] + [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines): + Don't add dl-static to these; sysdep-dl-routines alone is enough. + * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise. + * sysdeps/unix/sysv/linux/mips/Makefile: Likewise. + * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise. + * sysdeps/unix/sysv/linux/tile/Makefile: Likewise. + * sysdeps/powerpc/Makefile [$(subdir) = elf] + (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to + these; sysdep-dl-routines alone is enough. + +2015-02-06 Joseph Myers + + [BZ #17932] + * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case + where multiplication results in zero and third argument is finite + and nonzero. + * math/auto-libm-test-in: Add more tests of fma. + * math/auto-libm-test-out: Regenerated. + + * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro. + (_FP_CMP_CHECK_FLUSH_ZERO): Likewise. + (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO. + (_FP_CMP_EQ): Likewise. + (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM. + + * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with + extra argument CHECK_NAN. Redefine as wrapper around + _FP_EXTEND_CNAN. + +2015-02-06 Carlos O'Donell + + * version.h (RELEASE): Set to "stable". + (VERSION): Set to "2.21" + * include/features.h (__GLIBC_MINOR__): Set to 21. + + * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h. + +2015-02-05 Paul Pluzhnikov + Paul Eggert + + [BZ #16618] + * stdio-common/tst-sscanf.c (main): Test for buffer overflow. + * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed + size in bytes. Store needed elements in wpmax. Use needed size + in bytes for extend_alloca. + +2015-02-05 Carlos O'Donell + + * manual/install.texi: Latest tested versions are GCC 4.9.2, + binutls 2.25, and texinfo 5.2. + * INSTALL: Regenerate. + * sysdeps/nios2/configure: Regenerate. + * sysdeps/unix/sysv/linux/nios2/configure: Regenerate. + * manual/contrib.texi: Update. + * po/be.po: Update. + * po/bg.po: Update. + * po/ca.po: Update. + * po/cs.po: Update. + * po/da.po: Update. + * po/de.po: Update. + * po/el.po: Update. + * po/eo.po: Update. + * po/es.po: Update. + * po/fi.po: Update. + * po/fr.po: Update. + * po/gl.po: Update. + * po/hr.po: Update. + * po/hu.po: Update. + * po/ia.po: Update. + * po/id.po: Update. + * po/it.po: Update. + * po/ja.po: Update. + * po/ko.po: Update. + * po/lt.po: Update. + * po/nb.po: Update. + * po/nl.po: Update. + * po/pl.po: Update. + * po/pt_BR.po: Update. + * po/ru.po: Update. + * po/rw.po: Update. + * po/sk.po: Update. + * po/sl.po: Update. + * po/sv.po: Update. + * po/tr.po: Update. + * po/uk.po: Update. + * po/vi.po: Update. + * po/zh_CN.po: Update. + * po/zh_TW.po: Update. + + * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error. + * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag. + * sysdeps/hppa/dl-irel.h: Remove #warning. + * sysdeps/hppa/entry.h: Provide prototype for + __canonicalize_funcptr_for_compare and cast argument. + * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon. + * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise. + * sysdeps/hppa/sotruss-lib.c: New file. + * sysdeps/unix/sysv/linux/hppa/bits/atomic.h + (atomic_compare_and_exchange_val_acq): Use __typeof__. + (atomic_compare_and_exchange_bool_acq): Likewise. + * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias. + * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h. + + * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file. + * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here... + * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here. + +2015-02-05 Chung-Lin Tang + + * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of + called function in non-PIC case. + +2015-01-31 David S. Miller + + * sysdeps/sparc/sparc32/bits/atomic.h + (__sparc32_atomic_do_unlock24): Put the memory barrier before the + unlock not after it. + (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting + volatile register usage warnings from the compiler. + + * sysdeps/sparc/nptl/sem_init.c: Delete. + * sysdeps/sparc/nptl/sem_post.c: Delete. + * sysdeps/sparc/nptl/sem_timedwait.c: Delete. + * sysdeps/sparc/nptl/sem_wait.c: Delete. + * sysdeps/sparc/sparc32/sem_init.c: New file. + * sysdeps/sparc/sparc32/sem_waitcommon.c: New file. + * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with + padding explicitly initialized. + * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using + padding for in-semaphore spinlock. + * sysdeps/sparc/sparc32/sem_wait.c: Likewise. + * sysdeps/sparc/sparc32/sem_trywait.c: Delete. + * sysdeps/sparc/sparc32/sem_timedwait.c: Delete. + * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file. + * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file. + * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file. + * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file. + * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl + version. + * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete. + * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete. + +2015-01-30 H.J. Lu + + [BZ #17801] + * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): + Set the bit_AVX_Fast_Unaligned_Load bit for AVX2. + * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load): + New. + (index_AVX_Fast_Unaligned_Load): Likewise. + (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise. + * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the + bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit. + * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise. + * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise. + * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise. + * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace + HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD. + * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise. + +2015-01-29 Andreas Schwab + + * sysdeps/nptl/allocrtsig.c: Include . + +2015-01-29 Siddhesh Poyarekar + + [BZ #17892] + * nscd/nscd_stat.c (send_stats): Initialize DATA. + +2015-01-28 Martin Sebor + + * math/README.libm-test: Clarify. Add "How to read the test output." + +2015-01-28 Chris Metcalf + + * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS): + Define to 0. + +2015-01-28 Joseph Myers + + * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32] + (__HAVE_64B_ATOMICS): Define to 0. + +2015-01-28 Adhemerval Zanellla + + [BZ #17885] + * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct + value to set as new flag. + + [BZ #16576] + * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define + and use _ARCH_PPCSQ instead. + (__ieee754_sqrt): Likewise. + (__ieee754_sqrtf): Likewise. + * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if + _ARCH_PPCSQ is defined. + (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware + fsqrt instruction. + * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if + _ARCH_PPCSQ is defined. + (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware + fsqrts instruction. + * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file. + +2015-01-27 Andreas Krebbel + + * iconv/loop.c: Suppress array out of bound warning caused by GCC + bug (GCC BZ #64739). + +2015-01-25 Andreas Schwab + + * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue): + Mark _retval as used. + (lll_futex_wake_unlock): Likewise. + (lll_futex_timed_wait_requeue_pi): Likewise. + + * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h + (atomic_compare_and_exchange_val_acq): Use uint32_t for the + register variables. + + * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use + libm_hidden_def. + + * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32) + (__bswap_64): Mark as __always_inline. + +2015-01-25 Bram + + [BZ #15378] + * elf/dl-load.c (open_path): Avoid writing to 'env_path_list' + when none of the search directories exist. + +2015-01-24 Adhemerval Zanellla + + [BZ #17869] + * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of + power8 in .machine directive. + + [BZ #17868] + * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value + set dependency from opd value. + +2015-01-23 H.J. Lu + + * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): + Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont + architecture. + +2015-01-23 H.J. Lu + + [BZ #17870] + * nptl/sem_post.c (__new_sem_post): Replace unsigned long int + with uint64_t. + * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with + (uint64_t) 1. + (__new_sem_wait_fast): Replace unsigned long with uint64_t. + (__new_sem_wait_slow): Replace unsigned long int with uint64_t. + Replace 1UL with (uint64_t) 1. + * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long + int with uint64_t. + +2015-01-23 Roland McGrath + + * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak. + (if_freenameindex): Likewise. + + * resource/getrlimit64.c: Add missing libc_hidden_def. + +2015-01-22 Joseph Myers + + * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with + __label__. + (_FP_FMA): Likewise. + (_FP_TO_INT_ROUND): Likewise. + (_FP_FROM_INT): Likewise. + +2015-01-21 Adhemerval Zanella + + [BZ #16418] + * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq): + Make code racy and cancel safe. + +2015-01-21 Carlos O'Donell + + * sysdeps/arm/unwind-resume.h: Fix copyright year. + * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and + attribution. + + * pwd/tst-getpw.c: Rewrite. + + [BZ #17702] + * dlfcn/Makefile (tests): Add tst-rec-dlopen. + (modules-names): Add moddummy1 and moddummy2. + ($(objpfx)tst-rec-dlopen): Define. + * dlfcn/moddummy1.c: New file. + * dlfcn/moddummy2.c: New file. + * dlfcn/tst-rec-dlopen.c: New file. + * elf/dl-cache.c (_dl_load_cache_lookup): + Return char*. Copy result with alloca/strcpy/strdup. + * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup + returns char*. Free cached. If not saving realname + free cached. + * elf/dl-open.c (dl_open_worker): Do not assert that + _r_debug->r_state is RT_CONSISTENT. + * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup + returns char*. + +2015-01-21 Torvald Riegel + Carlos O'Donell + + [BZ #12674] + * nptl/sem_waitcommon.c: New file. + * nptl/sem_wait.c: Include sem_waitcommon.c. + (__sem_wait_cleanup, do_futex_wait): Remove. + (__new_sem_wait): Adapt. + (__new_sem_trywait): New function. + (__old_sem_trywait): Moved here from nptl/sem_trywait.c. + * nptl/sem_timedwait.c: Include sem_waitcommon.c. + (__sem_wait_cleanup, do_futex_timed_wait): Remove. + (sem_timedwait): Adapt. + * nptl/sem_post.c (__new_sem_post): Adapt. + (futex_wake): New function. + (__old_sem_post): Add release MO fence. + * nptl/sem_open.c (sem_open): Adapt. + * nptl/sem_init.c (__new_sem_init): Adapt. + (futex_private_if_supported): New function. + * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt. + (__old_sem_getvalue): Add using previous code. + * sysdeps/nptl/internaltypes.h: Adapt. + * nptl/tst-sem13.c (do_test): Adapt. + * nptl/tst-sem11.c (main): Adapt. + * nptl/sem_trywait.c: Remove. + * nptl/DESIGN-sem.txt: Remove. + * nptl/Makefile (libpthread-routines): Remove sem_trywait. + (gen-as-const-headers): Remove structsem.sym. + * nptl/structsem.sym: Remove. + * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove. + * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove. + * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove. + * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove. + * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove. + * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove. + * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove. + * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove. + * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove. + * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove. + * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove. + * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove. + * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove. + * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove. + * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove. + * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove. + * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove. + * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove. + * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove. + * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove. + * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove. + * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove. + +2015-01-20 Carlos O'Donell + + * INSTALL: Regenerated. + + * po/libc.pot: Regenerated. + +2015-01-18 Chung-Lin Tang + Sandra Loosemore + Andrew Jenner + Joseph Myers + Nathan Sidwell + + * NEWS: Mention new Nios II port. + * sysdeps/nios2/Implies: New file. + * sysdeps/nios2/Makefile: New file. + * sysdeps/nios2/Subdirs: New file. + * sysdeps/nios2/Versions: New file. + * sysdeps/nios2/__longjmp.S: New file. + * sysdeps/nios2/abort-instr.h: New file. + * sysdeps/nios2/backtrace.c: New file. + * sysdeps/nios2/bits/endian.h: New file. + * sysdeps/nios2/bits/fenv.h: New file. + * sysdeps/nios2/bits/link.h: New file. + * sysdeps/nios2/bits/setjmp.h: New file. + * sysdeps/nios2/bsd-_setjmp.S: New file. + * sysdeps/nios2/bsd-setjmp.S: New file. + * sysdeps/nios2/configure: New generated file. + * sysdeps/nios2/configure.ac: New file. + * sysdeps/nios2/crti.S: New file. + * sysdeps/nios2/crtn.S: New file. + * sysdeps/nios2/dl-init.c: New file. + * sysdeps/nios2/dl-machine.h: New file. + * sysdeps/nios2/dl-sysdep.h: New file. + * sysdeps/nios2/dl-tls.h: New file. + * sysdeps/nios2/dl-trampoline.S: New file. + * sysdeps/nios2/gccframe.h: New file. + * sysdeps/nios2/gmp-mparam.h: New file. + * sysdeps/nios2/jmpbuf-offsets.h: New file. + * sysdeps/nios2/jmpbuf-unwind.h: New file. + * sysdeps/nios2/ldsodefs.h: New file. + * sysdeps/nios2/libc-tls.c: New file. + * sysdeps/nios2/libm-test-ulps: New file. + * sysdeps/nios2/machine-gmon.h: New file. + * sysdeps/nios2/math-tests.h: New file. + * sysdeps/nios2/math_private.h: New file. + * sysdeps/nios2/memusage.h: New file. + * sysdeps/nios2/nptl/Makefile: New file. + * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file. + * sysdeps/nios2/nptl/bits/semaphore.h: New file. + * sysdeps/nios2/nptl/pthread_spin_lock.c: New file. + * sysdeps/nios2/nptl/pthreaddef.h: New file. + * sysdeps/nios2/nptl/tcb-offsets.sym: New file. + * sysdeps/nios2/nptl/tls.h: New file. + * sysdeps/nios2/preconfigure: New file. + * sysdeps/nios2/s_fma.c: New file. + * sysdeps/nios2/s_fmaf.c: New file. + * sysdeps/nios2/setjmp.S: New file. + * sysdeps/nios2/sfp-machine.h: New file. + * sysdeps/nios2/sotruss-lib.c: New file. + * sysdeps/nios2/stackguard-macros.h: New file. + * sysdeps/nios2/stackinfo.h: New file. + * sysdeps/nios2/start.S: New file. + * sysdeps/nios2/sysdep.h: New file. + * sysdeps/nios2/tls-macros.h: New file. + * sysdeps/nios2/tst-audit.h: New file. + * sysdeps/unix/sysv/linux/nios2/Implies: New file. + * sysdeps/unix/sysv/linux/nios2/Makefile: New file. + * sysdeps/unix/sysv/linux/nios2/Versions: New file. + * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file. + * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file. + * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file. + * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file. + * sysdeps/unix/sysv/linux/nios2/clone.S: New file. + * sysdeps/unix/sysv/linux/nios2/configure: New generated file. + * sysdeps/unix/sysv/linux/nios2/configure.ac: New file. + * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file. + * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file. + * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file. + * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file. + * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file. + * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file. + * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file. + * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file. + * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file. + * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file. + * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file. + * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file. + * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file. + * sysdeps/unix/sysv/linux/nios2/syscall.S: New file. + * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file. + * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file. + * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file. + * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file. + * sysdeps/unix/sysv/linux/nios2/vfork.S: New file. + * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file. + * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file. + * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file. + * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file. + * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file. + * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file. + * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file. + * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file. + * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file. + * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file. + * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file. + * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file. + * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file. + * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file. + * sysdeps/unix/sysv/linux/nios2/localplt.data: New file. + +2015-01-16 Stefan Liebler + + [BZ #17844] + * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c + (getutent): Use weak_alias in non SHARED case + and default_symbol_version in SHARED case. + * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c + (getutent_r, pututline): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c + (getutid): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c + (getutid_r): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c + (getutline): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c + (getutline_r): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c + (updwtmp): Likewise. + +2015-01-16 Stefan Liebler + + [BZ #17848] + * sysdeps/s390/s390-32/memcmp.S + (memcmp_g5): Rename to __memcmp_g5. + * sysdeps/s390/s390-32/memcpy.S + (memcpy_g5): Rename to __memcpy_g5. + Jump to __memcpy_mvcle instead of memcpy_mvcle. + (memcpy_mvcle) Rename to __memcpy_mvcle. + * sysdeps/s390/s390-32/memset.S + (memset_g5): Rename to __memset_g5. + * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c + (IFUNC_RESOLVE): Prefix ifunc-resolve function + and use prefixed functions. + * sysdeps/s390/s390-32/multiarch/memcmp.S + (memcmp_z196): Rename to __memcmp_z196. + (memcmp_z10): Rename to __memcmp_z10. + (memcmp): Set alias to __memcmp_g5. + (bcmp): Set alias to __memcmp_g5. + * sysdeps/s390/s390-32/multiarch/memcpy.S + (memcpy_z196): Rename to __memcpy_z196. + Jump to __memcpy_mvcle instead of memcpy_mvcle. + (memcpy_z10): Rename to __memcpy_z10. + Jump to __memcpy_mvcle instead of memcpy_mvcle. + (memcpy): Set alias to __memcpy_g5. + * sysdeps/s390/s390-32/multiarch/memset.S + (memset_z196): Rename to __memset_z196. + Jump to __memset_mvcle instead of memset_mvcle. + (memset_z10): Rename to __memset_z10. + Jump to __memset_mvcle instead of memset_mvcle. + (memset_mvcle) Rename to __memset_mvcle. + (memset): Set alias to __memset_g5. + * sysdeps/s390/s390-64/memcmp.S + (memcmp_z900): Rename to __memcmp_z900. + * sysdeps/s390/s390-64/memcpy.S + (memcpy_z900): Rename to __memcpy_z900. + Jump to __memcpy_mvcle instead of memcpy_mvcle. + (memcpy_mvcle) Rename to __memcpy_mvcle. + * sysdeps/s390/s390-64/memset.S + (memset_z900): Rename to __memset_z900. + * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c + (IFUNC_RESOLVE): Prefix ifunc-resolve function + and use prefixed functions. + * sysdeps/s390/s390-64/multiarch/memcmp.S + (memcmp_z196): Rename to __memcmp_z196. + (memcmp_z10): Rename to __memcmp_z10. + (memcmp): Set alias to __memcmp_z900. + (bcmp): Set alias to __memcmp_z900. + * sysdeps/s390/s390-64/multiarch/memcpy.S + (memcpy_z196): Rename to __memcpy_z196. + Jump to __memcpy_mvcle instead of memcpy_mvcle. + (memcpy_z10): Rename to __memcpy_z10. + Jump to __memcpy_mvcle instead of memcpy_mvcle. + (memcpy): Set alias to __memcpy_z900. + * sysdeps/s390/s390-64/multiarch/memset.S + (memset_z196): Rename to __memset_z196. + Jump to __memset_mvcle instead of memset_mvcle. + (memset_z10): Rename to __memset_z10. + Jump to __memset_mvcle instead of memset_mvcle. + (memset_mvcle) Rename to __memset_mvcle. + (memset): Set alias to __memset_z900. + +2015-01-14 Joseph Myers + + [BZ #17748] + * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call + __fesetenv instead of fesetenv. + +2015-01-14 Siddhesh Poyarekar + + * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr + macro. + +2015-01-13 Adhemerval Zanella + + * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance + regression on LE. + + * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file. + * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add + strncmp-power8 object. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add __strncmp_power8 implementation. + * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise. + * NEWS: Update. + +2015-01-13 Rajalakshmi Srinivasaraghavan + Adhemerval Zanella + + * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize + trailing byte check. + +2015-01-13 David S. Miller + + * include/signal.h (__sigreturn): Guard with __USE_MISC. + +2015-01-13 Roland McGrath + + * login/logout.c (logout): Use memset rather than bzero. + * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise. + * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise. + * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp. + (_gethtbyaddr): Likewise. + * locale/programs/simple-hash.c (bcopy): Macro removed. + +2015-01-13 Adhemerval Zanella + + * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: + Add strcmp-power8 object. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add __strcmp_power8 implementation. + * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add + __strcmp_power8 implementation. + * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file. + * NEWS: Update. + + * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: + Add strncpy-power8 and stpncpy-power8 objects. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8 + implementations. + * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add + __stpncpy_power8 implementation. + * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add + __strncpy_power8 implementation. + * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file. + * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file. + * NEWS: Update. + + * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file. + * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file. + * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise. + + * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add + strncat-power8 object. + * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add + __strcat_power8 implementation. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add __strcat_power8 implementation. + * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file: + optimized strcat for power8. + + * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add + strcpy-power8 and stpcpy-power8 objects. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8 + implementations. + * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file: + multiarch stpcpy implementation for POWER8. + * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file; + multiarch strcpy implementation for POWER8. + * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add + __strcpy_power8 function. + * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized + stpcpy for POWER8. + * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized + strcpy for POWER8. + * NEWS: Update. + +2015-01-13 Leonhard Holz + + [BZ #16009] + * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for + weights and rules. Use do_xfrm_cached if data fits in cache, + do_xfrm otherwise. Moved former main loop to... + * (do_xfrm_cached): New function. + * (do_xfrm): Non-caching version of do_xfrm_cached. Uses + find_idx, find_position and stack_push. + * (find_idx): New function. + * (find_position): Likewise. + * localedata/sort-test.sh: Added test run for do_xfrm. + * localedata/xfrm-test.c (main): Added command line option + -nocache to run the test with strings that are too large for + the STRXFRM cache. + +2015-01-13 Torvald Riegel + + * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex + variable to lll_futex_wake call, not the value itself. + +2015-01-12 Joseph Myers + + [BZ #17803] + * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to + twom64. Adjust value to 0x1p-64L. + (__scalblnl): Only return standard underflowing result for K <= + -64 not K <= -63; adjust exponent for underflowing result by 64 + not 63. + * math/libm-test.inc (scalbn_test_data): Add more tests. + (scalbln_test_data): Likewise. + + [BZ #17834] + * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to + 0x1p63L. + (__scalblnl): Get new exponent of adjusted subnormal value from ES + not HX. + * math/libm-test.inc (scalbn_test_data): Add more tests. + (scalbln_test_data): Likewise. + +2015-01-12 Adhemerval Zanella + Stefani Seibold + + * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf] + (sysdep_routines): Add dl-vdso here, ... + * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf] + (sysdep_routines): ... not here. + * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall + fallback when vDSO is not presented. + * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime): + Define with libc_hidden_proto/libc_hidden_data_def definitions. + (_libc_vdso_platform_setup): Rename to __vdso_platform_setup. + * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise. + * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ... + * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here. + * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ... + * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here. + * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ... + * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added + fallback configurable symbol when vDSO is not available. + * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ... + * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to + be able to redefine fallback symbol when vDSO is not available. + * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ... + * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here. + +2015-01-12 Adhemerval Zanella + + * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field. + (TLS_INIT_TP): Add tm_capable initialization. + (TLS_DEFINE_INIT_TP): Likewise. + (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from + TCB. + (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB. + * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset + calculation. + * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware + transactoion is lock elision is built and TCB tm_capable is set. + * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h + (INTERNAL_SYSCALL_NCS): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h + (INTERNAL_SYSCALL_NCS): Likewise. + * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define. + + * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support + for powerpc. + * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h + [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case + and remove it for 32 bits case. + [pthread_rwlock_t] (__rwelision): New field for lock elision. + (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field + initialization. + * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): + Disable lock elision with rdlocks if elision is not available. + + * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl] + (sysdep_routines): Add lock elision objects. + * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h + [pthread_mutex_t] (__spins): Rework to add lock elision field. + [pthread_mutex_t] (__elision): Add field. + [__PTHREAD_SPINS]: Adjust to init lock elision field. + * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock + elision definitions for powerpc. + * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file: + implementation of lock elision for powerpc. + * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file: + implementation of timed lock elision for powerpc. + * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file: + implementation of trylock with lock elision for powerpc. + * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file: + implementaion of unlock for lock elision for powerpc. + * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file: + automatic enable lock elision for mutexes. + * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware + transaction execution definitions for powerpc. + * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE + definitions. + * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file. + * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise. + * NEWS: Update. + +2015-01-09 Roland McGrath + + * sysdeps/posix/shm-directory.c: Use <> rather than "" + for #include of . + +2015-01-09 Chung-Lin Tang + + * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and + assign raw DT_REL[A]COUNT value to ranges[0].nrelative. + +2015-01-09 Matthew Fortune + + [BZ #17791] + * NEWS: Mention bug fix. + * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h + (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove. + (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove. + +2015-01-09 Torvald Riegel + + * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file. + +2015-01-09 Torvald Riegel + + * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file. + +2015-01-09 David Holsgrove + + * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void + pointer and cast to uintptr_t. + +2015-01-09 David Holsgrove + + * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function + removed. + (READ_THREAD_POINTER): Use __microblaze_thread_area instead. + +2015-01-09 David Holsgrove + + * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead + of 0. + +2015-01-08 Roland McGrath + + * sysdeps/pthread/timer_routines.c: Fix include to use + instead. + * sysdeps/pthread/aio_notify.c: Include for raise decl. + + * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not + already defined. + [__SIGRTMIN] (init): Function removed. + [__SIGRTMIN] (initialized): Variable removed. + [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed. + [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to + __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively. + (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init. + (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1. + (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias. + (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init. + (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1. + (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias. + (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init. + (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias. + * sysdeps/nptl/allocrtsig.c: New file. + * sysdeps/unix/sysv/linux/allocrtsig.c: File removed. + * sysdeps/unix/sysv/linux/testrtsig.h: File removed. + * sysdeps/generic/testrtsig.h: File removed. + + * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error. + (pthread_sigmask): Call sigprocmask, not __sigprocmask. + + * nptl/nptl-init.c (pthread_functions): Conditionalize + .ptr__nptl_setxid initialization on [SIGSETXID]. + + * sysdeps/nptl/sys/procfs.h: New file. + * nptl_db/Makefile (headers): Add it. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it. + + * nptl/pthreadP.h (check_cpuset_attr): Moved ... + * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file. + * nptl/pthread_attr_setaffinity.c: Include it. + * nptl/pthread_setattr_default_np.c: Likewise. + * nptl/check-cpuset.h: New file. + +2015-01-08 Richard Henderson + + * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines + (CFLAGS-tst-execstack-prog.c): Likewise. + * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise. + +2015-01-08 Chung-Lin Tang + Sandra Loosemore + Andrew Jenner + Joseph Myers + Nathan Sidwell + + * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II. + (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address. + (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations. + (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise. + (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise. + (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise. + (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise. + (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise. + (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise. + (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise. + (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise. + (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise. + (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise. + (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise. + (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise. + (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise. + (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise. + +2015-01-08 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first + timespec struct member in syscall macro. + * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise. + * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of + first timeval struct member in syscall macro. + * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise. + +2015-01-07 Joseph Myers + + [BZ #17748] + * include/fenv.h (__feupdateenv): Use libm_hidden_proto. + * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def. + * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to + __feupdateenv and define as weak alias of __feupdateenv. Use + libm_hidden_weak. + * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use + libm_hidden_def. + * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv + and define as weak alias of __feupdateenv. Use libm_hidden_weak. + * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise. + * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use + libm_hidden_def. + * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to + __feupdateenv and define as weak alias of __feupdateenv. Use + libm_hidden_weak. + * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use + libm_hidden_def. + * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to + __feupdateenv and define as weak alias of __feupdateenv. Use + libm_hidden_weak. + * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use + libm_hidden_def. + * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise. + * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c + (__feupdateenv): Likewise. + * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to + __feupdateenv and define as weak alias of __feupdateenv. Use + libm_hidden_weak. + * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise. + * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use + libm_hidden_def. + * sysdeps/tile/math_private.h (__feupdateenv): New inline + function. + * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use + libm_hidden_def. + * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call + __feupdateenv instead of feupdateenv. + (default_libc_feupdateenv_test): Likewise. + (libc_feresetround_ctx): Likewise. + +2015-01-07 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function + prototype. + +2015-01-07 Chris Metcalf + + * posix/regcomp.c (parse_bracket_exp): Initialize type to + COLL_SYM in a couple of places to avoid uninitialized variable + wanings on tilegx gcc 4.8.2. + +2015-01-07 Richard Earnshaw + + * sysdeps/aarch64/strcpy.S: New file. + * sysdeps/aarch64/stpcpy.S: New file. + * NEWS: Updated. + +2015-01-07 Richard Earnshaw + + * sysdeps/aarch64/strrchr.S: New file. + * NEWS: Updated. + +2015-01-07 Eric Biggers + + [BZ #17658] + * stdlib/setenv.c: Fix memory leak when setting large, + duplicate string. + +2015-01-06 Vladimir A. Nazarenko + + [BZ #17273] + * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces + and tabs from buffer before parsing fstab entry. + * misc/tst-mntent.c (main): Add test for mount entry with + trailing spaces and tabs. + +2015-01-06 Joseph Myers + + [BZ #17748] + * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto. + * math/fesetround.c (fesetround): Rename to __fesetround and + define as weak alias of __fesetround. Use libm_hidden_weak. + * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise. + * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise. + * sysdeps/arm/fesetround.c (fesetround): Likewise. + * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise. + * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise. + * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise. + * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise. + * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise. + * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to + __fesetround_inline. + * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call + __fesetround_inline instead of __fesetround. + * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to + __fesetround and define as weak alias of __fesetround. Use + libm_hidden_weak. Call __fesetround_inline instead of + __fesetround. + * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to + __fesetround and define as weak alias of __fesetround. Use + libm_hidden_weak. + * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround): + Likewise. + * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise. + * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise. + * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise. + * sysdeps/tile/math_private.h (__fesetround): New inline function. + * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to + __fesetround and define as weak alias of __fesetround. Use + libm_hidden_weak. + * sysdeps/generic/math_private.h (default_libc_fesetround): Call + __fesetround instead of fesetround. + (default_libc_feholdexcept_setround): Likewise. + (libc_feholdsetround_ctx): Likewise. + (libc_feholdsetround_noex_ctx): Likewise. + + [BZ #17748] + * include/fenv.h (__fesetenv): Use libm_hidden_proto. + * math/fesetenv.c (__fesetenv): Use libm_hidden_def. + * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv + and define as weak alias of __fesetenv. Use libm_hidden_weak. + * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def. + * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and + define as weak alias of __fesetenv. Use libm_hidden_weak. + * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise. + * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def. + * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and + define as weak alias of __fesetenv. Use libm_hidden_weak. + * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def. + * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and + define as weak alias of __fesetenv. Use libm_hidden_weak. + * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use + libm_hidden_def. + * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise. + * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv): + Likewise. + * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and + define as weak alias of __fesetenv. Use libm_hidden_weak. + * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise. + * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def. + * sysdeps/tile/math_private.h (__fesetenv): New inline function. + * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv + and define as weak alias of __fesetenv. Use libm_hidden_weak. + * sysdeps/generic/math_private.h (default_libc_fesetenv): Use + __fesetenv instead of fesetenv. + (libc_feresetround_noex_ctx): Likewise. + * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise. + * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise. + * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise. + * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise. + * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise. + * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise. + * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise. + * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c + (__feupdateenv): Likewise. + * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise. + * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise. + * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise. + * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise. + +2015-01-06 Aurelien Jarno + + [BZ #17806] + * resolv/res_init.c (__res_iclose): Only clear nsinit if the + addresses have been freed. + +2015-01-06 Aurelien Jarno + + * resolv/res_init.c (__res_vinit): Improve comments about nserv + and nservall. + +2015-01-06 Ondƙej BĂ­lka + + * sysdeps/unix/sysv/linux/check_pf.c (make_request): + Clean up check_pf allocation pattern. addresses + +2015-01-06 Adhemerval Zanella + + * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype. + * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise. + * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise. + * nptl/pthread_exit.c (__pthread_exit): Likewise. + * nptl/pthread_join.c (pthread_join): Likewise. + * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise. + * sysdeps/posix/waitid.c (__waitid): Likewise. + * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise. + * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise. + * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise. + * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise. + * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread): + Likewise. + * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c + (__libc_pread64): Likewise. + * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c + (__libc_pwrite): Likewise. + * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c + (__libc_pwrite64): Likewsie. + * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise. + * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise. + * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise. + * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise. + * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise. + * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise. + * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread): + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c + (__libc_pread64): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite): + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c + (__libc_pwrite64): Likewise. + * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise. + * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise. + * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise. + * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise. + * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise. + * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise. + * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise. + * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise. + * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise. + * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise. + * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise. + * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise. + * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise. + * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise. + * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv): + Likewise. + +2015-01-06 Andrew Senkevich + + * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math. + (CFLAGS-test-double.c): Likewise. + (CFLAGS-test-ldouble.c): Likewise. + (CPPFLAGS-test-ifloat.c): Likewise. + (CPPFLAGS-test-idouble.c): Likewise. + (CPPFLAGS-test-ildoubl.c): Likewise. + (CFLAGS-test-test-fenv.c): Remove variable. + (CFLAGS-test-misc.c): Likewise. + +2015-01-06 H.J. Lu + + [BZ #17797] + * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000). + * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise. + * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert + CLOCKS_PER_SEC == 1000000. + * time/clocktest.c (main): Replace %ld with %jd and cast to + intmax_t. + +2015-01-05 Roland McGrath + + * sysdeps/generic/unwind-resume.h: New file. + * sysdeps/gnu/unwind-resume.c: Include it. + (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype. + (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee + argument list. + (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden + global rather than static. + (_Unwind_Resume): Update user. + Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME]. + (init): Likewise. Renamed to __libgcc_s_init, made hidden global + rather than static. Add __attribute__ ((cold)). + (_Unwind_Resume, __gcc_personality_v0): Update callers. + * sysdeps/nptl/unwind-forcedunwind.c: Likewise. + * sysdeps/arm/arm-unwind-resume.S: New file. + * sysdeps/arm/rt-arm-unwind-resume.S: New file. + * sysdeps/arm/pt-arm-unwind-resume.S: New file. + * sysdeps/arm/Makefile [$(subdir) = csu] + (sysdep_routines, shared-only-routines): Add arm-unwind-resume. + [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines): + Add rt-arm-unwind-resume. + [$(subdir) = nptl] + (libpthread-sysdep_routines, libpthread-shared-only-routines): + Add pt-arm-unwind-resume. + * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed. + * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed. + +2015-01-05 Joseph Myers + + [BZ #17748] + * include/fenv.h (__feholdexcept): Declare. Use + libm_hidden_proto. + * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and + define as weak alias of __feholdexcept. Use libm_hidden_weak. + * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise. + * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise. + * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise. + * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise. + * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise. + * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise. + * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise. + * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise. + * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise. + * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise. + * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c + (feholdexcept): Likewise. + * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise. + * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise. + * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise. + * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise. + * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use + __feholdexcept instead of feholdexcept. + (default_libc_feholdexcept_setround): Likewise. + +2015-01-05 Steve Ellcey + + * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6 + to avoid using stl/str to align destination. + +2015-01-05 Steve Ellcey + + * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6. + +2015-01-05 Joseph Myers + + [BZ #17796] + * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c + [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64): + Define as weak alias not strong alias. + +2015-01-05 Steve Ellcey + + * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace + bltzal with addiupc. + (RTLD_START): Ditto. + +2015-01-05 Chris Metcalf + + * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type + for __vdso_* functions in declarations. + * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for + definitions. + * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL, + INTERNAL_VSYSCALL): Use struct return types to check for error. + + * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64 + && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround() + function with cast from llround(). + * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define. + * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64): + Define. + +2015-01-05 Joseph Myers + + [BZ #17793] + * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64): + Define as weak alias not strong alias. + + [BZ #17635] + * ctype/ctype-c99.c: New file. isblank implementation moved from + ... + * ctype/ctype-extn.c: ... here. + (__isblank_l): Move to ... + * ctype/ctype-c99_l.c: ... here. New file. + * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l. + * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace): + Remove variable. + (test-xfail-ISO11/ctype.h/linknamespace): Likewise. + (test-xfail-XPG3/ctype.h/linknamespace): Likewise. + (test-xfail-XPG4/ctype.h/linknamespace): Likewise. + (test-xfail-UNIX98/ctype.h/linknamespace): Likewise. + (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise. + + [BZ #17777] + * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c + (posix_fadvise64): Define as weak alias not strong alias. + * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c + (posix_fallocate64): Likewise. + * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace): + Remove variable. + (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise. + (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise. + (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise. + +2015-01-05 Matthew Fortune + + [BZ #16191] + * NEWS: Mention bug fix. + * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove. + (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise. + (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise. + (HOST_STACK_END_ADDR): Likewise. + +2015-01-02 Joseph Myers + + [BZ #17748] + * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto. + * math/fegetround.c (fegetround): Rename to __fegetround and + define as weak alias of __fegetround. Use libm_hidden_weak. + * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise. + * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise. + * sysdeps/arm/fegetround.c (fegetround): Likewise. + * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise. + * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise. + * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise. + * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise. + * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise. + * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise. + Undefine after rather than before function definition; use + parentheses around function name in definition. + (__fegetround): Also undefine macro after function definition. + * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to + __fegetround and define as weak alias of __fegetround. Use + libm_hidden_weak. Do not undefine as macro. + * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround): + Likewise. + * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to + __fegetround and define as weak alias of __fegetround. Use + libm_hidden_weak. + * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise. + * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise. + * sysdeps/tile/math_private.h (__fegetround): New inline function. + * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to + __fegetround and define as weak alias of __fegetround. Use + libm_hidden_weak. + * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use + __fegetround instead of fegetround. + + [BZ #17782] + * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT): + Condition macro definition on [__USE_MISC]. + + [BZ #17781] + * sysdeps/unix/sysv/linux/mips/bits/sigaction.h + (struct sigaction): Change type of sa_flags field to int. + + [BZ #17780] + * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock) + [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to + __glibc_reserved0. + + * nptl/version.c (banner): Use single year in copyright notice. + + * NEWS: Update copyright dates. + * catgets/gencat.c (print_version): Likewise. + * csu/version.c (banner): Likewise. + * debug/catchsegv.sh: Likewise. + * debug/pcprofiledump.c (print_version): Likewise. + * debug/xtrace.sh (do_version): Likewise. + * elf/ldconfig.c (print_version): Likewise. + * elf/ldd.bash.in: Likewise. + * elf/pldd.c (print_version): Likewise. + * elf/sotruss.sh: Likewise. + * elf/sprof.c (print_version): Likewise. + * iconv/iconv_prog.c (print_version): Likewise. + * iconv/iconvconfig.c (print_version): Likewise. + * locale/programs/locale.c (print_version): Likewise. + * locale/programs/localedef.c (print_version): Likewise. + * login/programs/pt_chown.c (print_version): Likewise. + * malloc/memusage.sh (do_version): Likewise. + * malloc/memusagestat.c (print_version): Likewise. + * malloc/mtrace.pl: Likewise. + * manual/libc.texinfo: Likewise. + * nptl/version.c (banner): Likewise. + * nscd/nscd.c (print_version): Likewise. + * nss/getent.c (print_version): Likewise. + * nss/makedb.c (print_version): Likewise. + * posix/getconf.c (main): Likewise. + * scripts/test-installation.pl: Likewise. + * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise. + +2015-01-02 Will Newton + + * sysdeps/arm/armv7/configure: Removed. + * sysdeps/arm/armv7/configure.ac: Likewise. + +2015-01-02 Joseph Myers + + * All files with FSF copyright notices: Update copyright dates + using scripts/update-copyrights. + * intl/plural.c: Regenerated. + * locale/programs/charmap-kw.h: Likewise. + * locale/programs/locfile-kw.h: Likewise. + +2015-01-02 Siddhesh Poyarekar + + * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf. + +2014-12-31 Joseph Myers + + [BZ #17748] + * include/fenv.h (__fegetenv): Use libm_hidden_proto. + * math/fegetenv.c (__fegetenv): Use libm_hidden_def. + * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv + and define as weak alias of __fegetenv. Use libm_hidden_weak. + * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def. + * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and + define as weak alias of __fegetenv. Use libm_hidden_weak. + * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise. + * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def. + * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and + define as weak alias of __fegetenv. Use libm_hidden_weak. + * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def. + * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and + define as weak alias of __fegetenv. Use libm_hidden_weak. + * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use + libm_hidden_def. + * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise. + * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv): + Likewise. + * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and + define as weak alias of __fegetenv. Use libm_hidden_weak. + * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise. + * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def. + * sysdeps/tile/math_private.h (__fegetenv): New inline function. + * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv + and define as weak alias of __fegetenv. Use libm_hidden_weak. + * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use + __fegetenv instead of fegetenv. + (libc_feholdsetround_noex_ctx): Likewise. + +2014-12-31 Matthew Fortune + + * elf/elf.h (PT_MIPS_ABIFLAGS): Define. + (Elf_MIPS_ABIFlags_v0): New structure. + (EF_MIPS_FP64): Define. + (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise. + (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise. + (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise. + (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise. + (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise. + (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise. + (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise. + (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise. + (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise. + (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise. + (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise. + (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise. + (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise. + (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise. + (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values. + (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise. + (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise. + (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise. + (Val_GNU_MIPS_ABI_FP_MAX): Likewise. + * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink, + tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests. + * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode + field. + * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject + EF_MIPS_FP64. + * sysdeps/mips/dl-machine-reject-phdr.h: New file. + * sysdeps/mips/tst-abi-fp32mod.c: Likewise. + * sysdeps/mips/tst-abi-fpxxmod.c: Likewise. + * sysdeps/mips/tst-abi-fpxxomod.c: Likewise. + * sysdeps/mips/tst-abi-fp64mod.c: Likewise. + * sysdeps/mips/tst-abi-fp64amod.c: Likewise. + * sysdeps/mips/tst-abi-interlink.c: Likewise. + * sysdeps/mips/tst-mode-switch-1.c: Likewise. + * sysdeps/mips/tst-mode-switch-2.c: Likewise. + * sysdeps/mips/tst-mode-switch-3.c: Likewise. + * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to + record the current FP ABI extension. + (mips-mode-switch): Define to show if kernel headers support mode + switching. + * sysdeps/unix/sysv/linux/mips/configure: Regenerate. + * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum + supported SYSV ABI version to 3. + * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64 + feature. + +2014-12-31 Rajalakshmi Srinivasaraghavan + Adhemerval Zanella + + * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned + path. + * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs. + +2014-12-31 Joseph Myers + + * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to + __fegetround and redefine to call __fegetround. Remove condition + on [!__NO_MATH_INLINES]. + * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline + function. + * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file. + * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround): + Remove macro. + * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include + instead of . + (__llrintl): Call fegetround instead of __fegetround. + * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include + instead of . + * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise. + (__lrintl): Call fegetround instead of __fegetround. + * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include + instead of . + * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise. + (__rintl): Call fegetround instead of __fegetround. + +2014-12-31 Siddhesh Poyarekar + + * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional + arrays. + +2014-12-30 H.J. Lu + + [BZ #17775] + * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed. + (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise. + (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise. + +2014-12-30 Andrew Senkevich + + * sysdeps/i386/tls-macros.h: Include . + (TLS_LE): Use non-PIC version for GCC >= 5.0. + (TLS_IE): Likewise. + (TLS_LD): Likewise. + (TLS_GD): Likewise. + * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't + define for GCC >= 5.0. + +2014-12-30 Chris Metcalf + + * math/test-fenv.c (test_single_exception, set_single_exc, + feenv_nomask_test, feenv_mask_test, feexcp_nomask_test, + feexcp_mask_test, feenable_test, fe_single_test): Add + [!FE_ALL_EXCEPT] test so these routines are not compiled in the + case where they are not used. + * math/libm-test.inc: Likewise. + * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable + unused in the absence of FP rounding/exception support. + * stdio-common/tst-printf-round.c: Likewise. + * stdlib/tst-strtod-round.c: Likewise. + * stdlib/tst-strtod-underflow.c: Likewise. + +2014-12-30 Joseph Myers + + [BZ #17723] + * include/fenv.h (__feraiseexcept): Use libm_hidden_proto. + * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def. + * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to + __feraiseexcept and define as weak alias of __feraiseexcept. Use + libm_hidden_weak. + * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise. + * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise. + * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use + libm_hidden_def. + * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to + __feraiseexcept and define as weak alias of __feraiseexcept. Use + libm_hidden_weak. + * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept): + Likewise. + * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro. + * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to + __feraiseexcept and define as weak alias of __feraiseexcept. Use + libm_hidden_weak. + * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use + libm_hidden_def. + * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise. + * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c + (__feraiseexcept): Likewise. + * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to + __feraiseexcept and define as weak alias of __feraiseexcept. Use + libm_hidden_weak. + * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise. + * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use + libm_hidden_def. + * sysdeps/tile/math_private.h (__feraiseexcept): New macro. + * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept): + Use libm_hidden_def. + * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use + libm_hidden_def. + (feraiseexcept): Define as weak not strong alias. Use + libm_hidden_weak. + * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero): + New inline function. Factored out of ... + (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero. + * sysdeps/x86/fpu/include/bits/fenv.h: New file. + * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of + feraiseexcept. + * math/w_acos.c (__acos): Likewise. + * math/w_asin.c (__asin): Likewise. + * math/w_ilogb.c (__ilogb): Likewise. + * math/w_j0.c (y0): Likewise. + * math/w_j1.c (y1): Likewise. + * math/w_jn.c (yn): Likewise. + * math/w_log.c (__log): Likewise. + * math/w_log10.c (__log10): Likewise. + * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise. + * sysdeps/aarch64/fpu/math_private.h + (libc_feupdateenv_test_aarch64): Likewise. + * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise. + * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise. + * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise. + * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise. + * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise. + * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise. + * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise. + * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise. + * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise. + * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise. + +2014-12-30 H.J. Lu + + [BZ #17732] + * io/test-utime.c (main): Replace %ld with %jd and cast to + intmax_t. + * libio/tst-ftell-active-handler.c (do_append_test): Likewise. + * nptl/tst-mutex5.c: Include . + (do_test): Replace %ld with %jd and cast to intmax_t. + * posix/tst-regex.c (run_test): Likewise. + (run_test_backwards): Likewise. + * rt/tst-clock.c: Include . + (clock_test): Replace %ld with %jd and cast to intmax_t. + * rt/tst-cpuclock1.c: Include . + (do_test): Replace %lu with %ju and cast to uintmax_t. + * rt/tst-cpuclock2.c: Include . + (do_test): Replace %lu with %ju and cast to uintmax_t. + * rt/tst-mqueue1.c: Include . + (check_attrs): Replace %ld with %jd and cast to intmax_t. + * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to + intmax_t. + * rt/tst-mqueue4.c (do_test): Likewise. + * rt/tst-timer4.c: Include . + (check_ts): Replace %ld with %jd and cast to intmax_t. + (do_test): Likewise. + * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd + and cast to intmax_t. + * sysdeps/pthread/tst-timer.c (main): Likewise. + * time/clocktest.c (main): Likewise. + * time/tst-posixtz.c (do_test): Likewise. + * timezone/tst-timezone.c (main): Likewise. + +2014-12-30 Andrew Senkevich + H.J. Lu + + * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file. + * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise. + * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise. + * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise. + * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned + version if bit_Fast_Unaligned_Load is set. + * sysdeps/i386/i686/multiarch/memcpy.S: Likewise. + * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise. + * sysdeps/i386/i686/multiarch/memmove.S: Likewise. + * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise. + * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise. + * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise. + * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add + bcopy-sse2-unaligned, memcpy-sse2-unaligned, + memmove-sse2-unaligned and mempcpy-sse2-unaligned. + * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set + to 4. + (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned, + __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned, + __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned, + __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned. + +2014-12-29 Chris Metcalf + + * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef + instead of #if to avoid a Wundef warning. + * stdlib/tst-limits.c (do_test): Likewise. + + * sysdeps/tile/math_private.h (fetestexcept): Add macro to + parallel other exception macros. + (fegetenv): Convert from macro to extern inline so that it applies + retroactively to inline functions already seen by the compiler. + (fesetenv, feupdateenv, fegetround, fesetround): Likewise. + + * posix/Makefile (before-compile): Use $(objpfx) for + posix-conf-vars-def.h. + +2014-12-29 Siddhesh Poyarekar + + * posix/getconf.c (main): Use size_t for type of I. + * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of + NSPEC. + + * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix. + * posix/confstr.c: Define NEED_SPEC_ARRAY to 0. + * posix/posix-envs.def: Likewise. + * sysdeps/posix/sysconf.c: Likewise. + * posix/getconf.c: Define NEED_SPEC_ARRAY to 1. + (specs): Remove array. + * scripts/gen-posix-conf-vars.awk: Support generation of specs + array. + + * posix/posix-conf-vars.list: Add _POSIX sysconf namespace. + * sysdeps/posix/sysconf.c: Include posix-conf-vars.h. + (__sysconf): Use CONF_IS_* macros. + + * posix/Makefile (before-compile): Add posix-conf-vars-def.h. + ($(objpfx)posix-conf-vars-def.h): New target. + * posix/posix-conf-vars.list: New file. + * posix/posix-conf-vars.h: New file. + * posix/confstr.c: Include posix-conf-vars.h. + (confstr): Use CONF_IS_* macros. + * posix/posix-envs.def: Include posix-conf-vars.h. Use + CONF_IS_* macros. + * scripts/gen-posix-conf-vars.awk: New file. + +2014-12-26 Chris Metcalf + + * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv, + fegetround): Add no-op macros to avoid linknamespace issues. + + * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove + definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL. + + * sysdeps/unix/sysv/linux/tile/sysdep.h + (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of + assembly-specific section to avoid a redefinition warning. + + * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to + long before casting to pointer to avoid a cast warning. + +2014-12-23 Chris Metcalf + + * sysdeps/tile/tilegx/Implies: New file. + +2014-12-23 Richard Earnshaw + + * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy. + +2014-12-23 Florian Weimer + + * iconvdata/run-iconv-test.sh: Actually test iconv modules. + +2014-12-22 Joseph Myers + + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do + not define. + * sysdeps/unix/sysv/linux/utimes.c: Do not include + . + (__utimes) [__NR_utimes]: Make code unconditional. + (__utimes) [!__ASSUME_UTIMES]: Remove conditional code. + * sysdeps/unix/sysv/linux/aarch64/kernel-features.h + (__ASSUME_UTIMES): Do not undefine. + * sysdeps/unix/sysv/linux/tile/kernel-features.h + (__ASSUME_UTIMES): Likewise. + * sysdeps/unix/sysv/linux/hppa/kernel-features.h + (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00] + instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00]. + * sysdeps/unix/sysv/linux/hppa/utimes.c: New file. + +2014-12-22 Steve Ellcey + + * sysdeps/mips/memcpy.S: Fix preprocessor indentation. + +2014-12-22 Chris Metcalf + + [BZ #17747] + * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong + alias to weak alias for j0l, y0l. + * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise. + * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise. + + [BZ #17746] + * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean + conversion. + +2014-12-22 Steve Ellcey + + * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set + to zero if not already defined. + +2014-12-22 Joseph Myers + + [BZ #17724] + * sysdeps/ieee754/k_standard.c: Don't include . + (__kernel_standard_f): Remove. Moved to k_standardf.c. + (__kernel_standard_l): Remove. Moved to k_standardl.c with + (char *) casts added. + * sysdeps/ieee754/k_standardf.c: New file. + * sysdeps/ieee754/k_standardl.c: Likewise. + * math/Makefile (libm-support): Remove k_standard. + (libm-calls): Add k_standard. + +2014-12-22 Wilco Dijkstra + + * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): + Optimize to avoid an unnecessary FPCR read. + +2014-12-22 Wilco Dijkstra + + * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): + Optimize to reduce FPCR/FPSR accesses. + +2014-12-22 Wilco Dijkstra + + * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept): + Call libc_fetestexcept_aarch64. + +2014-12-22 Wilco Dijkstra + + * sysdeps/aarch64/fpu/fesetround.c (fesetround): + Call libc_fesetround_aarch64. + +2014-12-22 Joseph Myers + + [BZ #17733] + * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define. + (__bind): Do not define as weak alias. + * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not + define. + (__getsockname): Do not define as weak alias. + +2014-12-22 Will Newton + + * manual/install.texi: Document that we require bison 2.7 + or above. + * INSTALL: Regenerate. + * configure.ac: Use AC_CHECK_PROG_VER instead of + AC_PATH_PROG when checking for bison and check for + version 2.7 or above. + * configure: Regenerate. + +2014-12-21 Chris Metcalf + + [BZ #17745] + * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition... + * sysdeps/tile/ffsll.c (ffsll): To here. + + * sysdeps/unix/sysv/linux/tile/localplt.data: Removed. + +2014-12-21 H.J. Lu + + * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition + if not defined. + * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden + definition. + * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the + hidden ___tls_get_addr. + * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the + hidden __tls_get_addr. + * sysdeps/generic/localplt.data (__tls_get_addr): Removed. + * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr): + Likewise. + +2014-12-21 Andreas Schwab + + * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from + _dl_init call. + +2014-12-21 H.J. Lu + + * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT + from "call _dl_init@PLT". + * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise. + +2014-12-21 Anders Kaseorg + + * manual/search.texi: (Array Sort Function): Clarify stable sorting + guarantees. + +2014-12-20 Chris Metcalf + + * sysdeps/unix/sysv/linux/tile/localplt.data: New file. + +2014-12-19 Chris Metcalf + + [BZ #17744] + * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not + strnlen. + +2014-12-19 Steve Ellcey + + * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead + of multu on MIPSr6. + * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto. + * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto. + * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto. + * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto. + * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto. + +2014-12-19 Steve Ellcey + + * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6. + (PTR_ADDIU): Use addiu for mips32r6/mips64r6. + (PTR_SUBU): Use subu for mips32r6/mips64r6. + (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist). + * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for + mips32r6/mips64r6. + (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6. + +2014-12-19 Ondƙej BĂ­lka + + * string/strncat.c (STRNCAT): Simplify implementation. + +2014-12-19 David S. Miller + + * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to + access the quad as both a long double and as a series of 4 words. + + * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a + link_map->l_info array access. + +2014-12-19 Chris Metcalf + + * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec. + + * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec. + * math/atest-exp2.c (TIMEOUT): Likewise. + * math/atest-sincos.c (TIMEOUT): Likewise. + +2014-12-19 H.J. Lu + + * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace + -Wno-error with -fno-builtin-lround. + +2014-12-19 Torvald Riegel + + * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file. + Contains futex constants and functions moved over from ... + * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include + . + (lll_wait_tid): Use lll_futex_wait instead of assembly code. + (lll_timedwait_tid): Add comments and parentheses around macro + arguments. + +2014-12-19 Torvald Riegel + + * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include + . Remove FUTEX_* constants defined there. + (__lll_private_flag): Remove. + (lll_futex_wait): Likewise. + (lll_futex_timed_wait): Likewise. + (lll_futex_wake): Likewise. + (lll_futex_requeue): Likewise. + (lll_wait_tid): Use lll_futex_wait instead of assembly code. + (__lll_timedwait_tid): Spell out argument names. + (lll_timedwait_tid): Add comments and parentheses around macro + arguments. + * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants, + LLL_SHARED and LLL_PRIVATE usable from assembly code. + +2014-12-19 Torvald Riegel + + * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file. + * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise. + * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise. + * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise. + * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise. + * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise. + * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise. + * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise. + * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise. + * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise. + * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise. + * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise. + * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise. + * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise. + * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise. + * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise. + * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise. + +2014-12-19 H.J. Lu + + * sysdeps/x86_64/x32/Makefile: New file. + +2014-12-19 H.J. Lu + + * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace + 1L with (mp_limb_t) 1. + +2014-12-17 Roland McGrath + + * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ... + * nptl/libc_pthread_init.c: ... here. + * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ... + * nptl/register-atfork.c: ... here. + + * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): + Use pthread_sigmask rather than INTERNAL_SYSCALL. + Use assert_perror to check its return value. + (__gai_create_helper_thread): Likewise. + + * inet/if_index.c (__if_freenameindex): Add libc_hidden_def. + + * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword. + +2014-12-17 Joseph Myers + + [BZ #17725] + * sysdeps/generic/profil-counter.h (profil_counter): Rename to + __profil_counter. + * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter): + Likewise. + * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter): + Likewise. + * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter): + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h + (profil_counter): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h + (profil_counter): Likewise. + * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter): + Likewise. + * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter): + Likewise. + * sysdeps/unix/sysv/linux/x86_64/profil-counter.h + (profil_counter): Likewise. + * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter): + Likewise. + [!__profil_counter] (profil_counter): Define as weak alias of + __profil_counter. + * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h + (profil_counter): Rename to __profil_counter. + [!__profil_counter] (profil_counter): Define as weak alias of + __profil_counter. + * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h + (profil_counter): Rename to __profil_counter. + [!__profil_counter] (profil_counter): Define as weak alias of + __profil_counter. + * sysdeps/posix/profil.c: Update comment referring to + profil_counter. + (__profil): Use __profil_counter instead of profil_counter. + * sysdeps/posix/sprofil.c (profil_counter): Rename to + __profil_counter. Use __profil_counter_ushort and + __profil_counter_uint in definitions. + (__sprofil): Use __profil_counter_uint and __profil_counter_ushort + instead of profil_counter_uint and profil_counter_ushort. + + [BZ #17722] + * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and + define as weak alias of __inet_makeaddr. + * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define + as weak alias of __inet_addr. + * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define + as weak alias of __inet_pton. Use libc_hidden_weak. + * include/arpa/inet.h (__inet_pton): Declare. Use + libc_hidden_proto. + (inet_makeaddr): Don't use libc_hidden_proto. + (__inet_makeaddr): Declare. Use libc_hidden_proto. + * resolv/res_init.c (__res_vinit): Use __inet_pton instead of + inet_pton. Use __inet_makeaddr instead of inet_makeaddr. + * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace): + Remove variable. + (test-xfail-POSIX/sched.h/linknamespace): Likewise. + (test-xfail-POSIX/time.h/linknamespace): Likewise. + +2014-12-17 Steve Ellcey + + * inet/getnetgrent_r.c: Move while loop to be inside if statement. + +2014-12-17 Stefan Liebler + + * stdio-common/bug-vfprintf-nargs.c (do_test): + Cast value to intptr_t to avoid format warning + for usage with PRIdPTR printing macro. + +2014-12-17 Stefan Liebler + + * libio/tst-widetext.c (do_test): + Use format type %td instead of %Zd for ptrdiff_t + in order to avoid format warning. + +2014-12-17 Andreas Schwab + + * nscd/mem.c (gc): Add size_t cast to match printf format. + +2014-12-16 Roland McGrath + + * sysdeps/gnu/unwind-resume.c: #include . + (init): Apply PTR_MANGLE to pointers before storing them. + (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers + before using them. + +2014-12-16 Joseph Myers + + [BZ #17719] + * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and + define as weak alias of __memrchr. + (__memrchr): Do not define as strong alias of memrchr. + * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace): + Remove variable. + (test-xfail-UNIX98/libgen.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise. + + [BZ #17717] + * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and + define as weak alias of __if_nametoindex. Use libc_hidden_weak. + (if_indextoname): Rename to __if_indextoname and define as weak + alias of __if_indextoname. Use libc_hidden_weak. + (if_freenameindex): Rename to __if_freenameindex and define as + weak alias of __if_freenameindex. + (if_nameindex): Rename to __if_nameindex and define as weak alias + of __if_nameindex. + * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to + __if_nametoindex and define as weak alias of __if_nametoindex. + Use libc_hidden_weak. + (if_freenameindex): Rename to __if_freenameindex and define as + weak alias of __if_freenameindex. + (if_nameindex): Rename to __if_nameindex and define as weak alias + of __if_nameindex. + (if_indextoname): Rename to __if_indextoname and define as weak + alias of __if_indextoname. Use libc_hidden_weak. + * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to + __if_nametoindex and define as weak alias of __if_nametoindex. + Use libc_hidden_weak. + (if_freenameindex): Rename to __if_freenameindex and define as + weak alias of __if_freenameindex. Use libc_hidden_weak. + (if_nameindex_netlink): Use __if_freenameindex instead of + if_freenameindex. + (if_nameindex): Rename to __if_nameindex and define as weak alias + of __if_nameindex. Use libc_hidden_weak. + (if_indextoname): Rename to __if_indextoname and define as weak + alias of __if_indextoname. Use libc_hidden_weak. + * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use + libc_hidden_proto. + [!_ISOMAC] (__if_freenameindex): Likewise. + * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of + if_nametoindex. + * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove + variable. + (test-xfail-XPG4/pwd.h/linknamespace): Likewise. + (test-xfail-UNIX98/aio.h/linknamespace): Likewise. + (test-xfail-UNIX98/grp.h/linknamespace): Likewise. + (test-xfail-UNIX98/pthread.h/linknamespace): Likewise. + (test-xfail-UNIX98/pwd.h/linknamespace): Likewise. + (test-xfail-UNIX98/sched.h/linknamespace): Likewise. + (test-xfail-UNIX98/time.h/linknamespace): Likewise. + + * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace): + Remove variable. + (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise. + +2014-12-16 Siddhesh Poyarekar + + * resolv/res_send.c (__libc_res_nsend): Disable warning 'array + subscript above bounds' + + * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap + bounds. + +2014-12-16 Arjun Shankar + + * libio/tst-fopenloc.c: Use test-skeleton.c. + + * stdlib/tst-bsearch.c: Use test-skeleton.c. + (entry): Rename to ITEM. + (do_test, comp): Adjust. + + * stdio-common/tst-fseek.c: Use test-skeleton.c. + +2014-12-16 Torvald Riegel + + * string/tester.c: Include . + (test_memset): Ignore -Wmemset-transposed-args. + +2014-12-16 Torvald Riegel + + * misc/tst-mntent2.c (do_test): Fix warning. + +2014-12-16 Torvald Riegel + + * elf/tst-unique4lib.cc(a): Mark as used. + +2014-12-16 Florian Weimer + + [BZ #17630] + * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias + names. + +2014-12-16 Allan McRae + + * stdio-common/Makefile (tests): Re-add bug26. + +2014-12-15 Ondƙej BĂ­lka + + [BZ #17657] + * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return + static array. + +2014-12-15 Bernard Ogden + + * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments. + (__lll_lock_wait): Likewise. + (__lll_timedlock_wait): Likewise. + (__lll_timedwait_tid): Likewise. + * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise. + (__lll_robust_timedlock_wait): Likewise. + * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise. + (lll_cond_trylock): Likewise. + (__lll_lock): Likewise. + (__lll_robust_lock): Likewise. + (__lll_cond_lock): Likewise. + (lll_robust_cond_lock): Likewise. + (__lll_timedlock): Likewise. + (__lll_robust_timedlock): Likewise. + (__lll_unlock): Likewise. + (__lll_robust_unlock): Likewise. + (lll_wait_tid): Likewise. + (lll_timedwait_tid): Likewise. + +2014-12-15 Torvald Riegel + + * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state. + +2014-12-15 Torvald Riegel + + * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled. + +2014-12-15 Adhemerval Zanella + + * stdio-common/test-vfprintf.c: Include . + * stdio-common/tst-sprintf.c: Likewise. + +2014-12-15 Torvald Riegel + + * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file. + +2014-12-15 Jeff Law + + [BZ #16617] + * stdio-common/vfprintf.c (vfprintf): Allocate large specs array + on the heap. (CVE-2012-3406) + * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file. + * stdio-common/bug23-4.c: New file. Test case by Joseph Myers. + * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4. + +2014-12-15 Will Newton + + * manual/install.texi: Bump required version of texinfo + to 4.7 from 4.5. + * INSTALL: Regenerated. + * configure.ac: Check for makeinfo version 4.7 and above. + * configure: Regenerated. + +2014-12-12 Roland McGrath + + * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument + PREFIX, string constant to insert between directory and name. + * sysdeps/posix/shm_open.c: Update caller. + * sysdeps/posix/shm_unlink.c: Likewise. + * nptl/semaphoreP.h (struct mountpoint_info): Type removed. + (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed. + (SEM_SHM_PREFIX): New macro. + * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if + [$(have-thread-library) = no]. + * nptl/Makefile (libpthread-routines): Add shm-directory. + * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory. + * sysdeps/nptl/shm-directory.h: New file. + * sysdeps/posix/shm-directory.c + [IS_IN (libpthread)] (__shm_directory): Add hidden_def. + * sysdeps/unix/sysv/linux/shm-directory.c: Likewise. + * nptl/sem_open.c (check_add_mapping): Use munmap function rather than + INTERNAL_SYSCALL. + (__where_is_shmfs): Function removed. + (mountpoint, defaultmount, defaultdir, __namedsem_once): + Variables removed. + (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL. + Use SHM_GET_NAME. + * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME. + + * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)] + (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as + unconditional for use inside libpthread. + [IS_IN (libpthread)]: Include . + +2014-12-12 Roland McGrath + + * nptl/pthread_getaffinity.c: New file. + * nptl/pthread_setaffinity.c: New file. + * nptl/pthread_getname.c: New file. + * nptl/pthread_setname.c: New file. + + * nptl/pthread_create.c (START_THREAD_DEFN) + [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument. + +2014-12-12 Stefan Liebler + Adhemerval Zanella + + * resolv/res_send.c (send_vc): Disable warning resplen may + be used uninitialized. + +2014-12-12 Stefan Liebler + + * nptl/tst-mutex6.c + (ATTR_NULL): New define checks ATTR against NULL. + (do_test): Use !ATTR_NULL instead of ATTR != NULL. + * nptl/tst-mutexpp6.c (ATTR_NULL): New define. + +2014-12-11 James Lemke + + [BZ #17581] + * malloc/hooks.c + (mem2mem_check): Revert my previous change. + (malloc_check_get_size): Revert my previous change. + (mem2chunk_check): Revert my previous change. + +2014-12-11 Roland McGrath + + * sysdeps/posix/shm-directory.c: New file. + * sysdeps/posix/shm-directory.h: New file. + * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it. + * sysdeps/posix/shm_open.c: Use SHM_GET_NAME. + Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL. + * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME. + Transmute EPERM to EACCES. + * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken + from ... + * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed. + * sysdeps/unix/sysv/linux/shm_unlink.c: File removed. + +2014-12-11 Kaz Kojima + + * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void + pointer and cast to uintptr_t. + * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0. + * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait): + Add cast to avoid warning. + * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL. + +2014-12-11 Joseph Myers + + * nptl/semaphore.h: Move to ... + * sysdeps/pthread/semaphore.h: ... here. + * Makefile (installed-headers): Change nptl/semaphore.h to + sysdeps/pthread/semaphore.h. + +2014-12-11 Roland McGrath + + * misc/tst-error1.c (do_test): Ignore -Wformat-security for + generated error format strings. + + * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and + -Wformat-extra-args warnings for scanf formats. + * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around + test of zero-length format (duh). + * stdio-common/scanf7.c (main): Ignore -Wformat warnings for + corner-case scanf format test. + * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for + generated fprintf format string. + * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for + corner-case sprintf format tests. + * stdio-common/tst-printf.c: Ignore -Wformat throughout. + * stdio-common/tst-printfsz.c (main): Ignore -Wformat and + -Wformat-extra-args warnings throughout. + * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed. + (CFLAGS-scanf4.c): Likewise. + (CFLAGS-scanf7.c): Likewise. + (CFLAGS-tst-sprintf.c): Likewise. + (CFLAGS-tst-printf.c): Likewise. + (CFLAGS-tst-printfsz.c): Likewise. + +2014-12-11 Joseph Myers + + * include/cpio.h: New file. + * include/fmtmsg.h: Likewise. + + * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast + corresponding format argument to size_t. + * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t + arguments. + * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast + corresponding format argument to size_t. + * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t + arguments. + * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast + corresponding format argument to size_t. + * tst-trans.c (do_test): Use %lc format for wint_t arguments. + * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable. + (CFLAGS-tst-mbswcs2.c): Likewise. + (CFLAGS-tst-mbswcs3.c): Likewise. + (CFLAGS-tst-mbswcs4.c): Likewise. + (CFLAGS-tst-mbswcs5.c): Likewise. + (CFLAGS-tst-trans.c): Likewise. + +2014-12-11 Roland McGrath + + * posix/regexbug1.c (main): Use "%s" format with regerror results, + rather than assuming they won't contain any '%'s. + +2014-12-11 Chris Metcalf + + * sysdeps/tile/tilegx/memset.c (__memcpy): Add + inhibit_loop_to_libcall to avoid recursive calls. + * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise. + * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise. + +2014-12-11 Adhemerval Zanella + + * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function + prototype. + +2014-12-11 Steve Ellcey + + * sysdeps/mips/dl-trampoline.c: Modify switch expression to have + integer value instead of boolean. + +2014-12-11 Steve Ellcey + + * malloc/malloc.c: Fix powerof2 check. + +2014-12-11 Stefan Liebler + + * locale/programs/locfile.h (maybe_swap_uint32): + Remove inline and add unused attribute. + +2014-12-11 Stefan Liebler + + * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address): + Truncating assembler expression to a .long expression. + +2014-12-11 Andreas Schwab + + * elf/rtld.c (struct map_args): Constify str member. + (do_preload): Constify fname argument. + +2014-12-11 Adhemerval Zanella + + * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for + constants definition. + +2014-12-11 Andreas Schwab + + [BZ #16657] + * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use + FORCE_ELISION instead of DO_ELISION. + * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION): + Remove. + * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION): + Likewise. + + * iconvdata/gconv-modules: Remove duplicate entry. + +2014-12-11 Will Newton + + Merge gettext 0.19.3 into intl/. + + This involves a number of cosmetic changes to comments + and ANSI function definitions and prototypes throughout + all the files. The gettext copyright header is used but + with the date ranges taken from the glibc copy. + + * NEWS: Add gettext merge to 2.21. + * intl/bindtextdom.c: Switch to gettext copyright. + Use ANSI definitions and prototypes. + Use gl_* locking primitives rather than __libc_* ones. + Use __builtin_expect rather than __glibc_likely/unlikely. + * intl/dcgettext.c: Switch to gettext copyright. + Use ANSI definitions and prototypes. + * intl/dcigettext.c: Switch to gettext copyright. + Use ANSI definitions and prototypes. + (INTDIV0_RAISES_SIGFPE): New define. + Use gl_* locking primitives rather than __libc_* ones. + Include eval-plural.h instead of plural-eval.c. + Use __builtin_expect rather than __glibc_likely/unlikely. + * intl/dcngettext.c: Switch to gettext copyright. + Use ANSI definitions and prototypes. + * intl/dgettext.c: Likewise. + * intl/dngettext.c: Likewise. + * intl/plural-eval.c: Renamed to... + * intl/eval-plural.h: ...this. + * intl/explodename.c: Switch to gettext copyright. + Use ANSI definitions and prototypes. + (_nl_explode_name): Use strchr instead of __rawmemchr. + * intl/finddomain.c: Switch to gettext copyright. + Use ANSI definitions and prototypes. + Use gl_* locking primitives rather than __libc_* ones. + (_nl_find_domain): Use malloc rather than alloca for + allocation of temporary locale name. + * intl/gettext.c: Switch to gettext copyright. + Use ANSI definitions and prototypes. + * intl/gettextP.h: Switch to gettext copyright. + Use ANSI definitions and prototypes. + Use gl_* locking primitives rather than __libc_* ones. + * intl/gmo.h: Switch to gettext copyright. + (struct sysdep_string): Move struct segment_pair outside of + struct definition. + * intl/hash-string.c: Use ANSI definitions and prototypes. + * intl/hash-string.h: Switch to gettext copyright. + Use ANSI definitions and prototypes. + * intl/l10nflist.c: Switch to gettext copyright. + Use ANSI definitions and prototypes. + (_nl_normalize_codeset): Avoid integer overflow. + * intl/loadinfo.h: Switch to gettext copyright. + Use ANSI definitions and prototypes. + (LIBINTL_DLL_EXPORTED): New define. + (PATH_SEPARATOR): New define. + * intl/loadmsgcat.c: Switch to gettext copyright. + * intl/localealias.c: Switch to gettext copyright. + Use ANSI definitions and prototypes. + (_nl_expand_alias): Use PATH_SEPARATOR. + * intl/ngettext.c: Switch to gettext copyright. + Use ANSI definitions and prototypes. + * intl/plural-exp.c: Likewise. + * intl/plural-exp.h: Switch to gettext copyright. + Use ANSI definitions and prototypes. + (struct expression): Move definition of enum operator outside + of struct definition. + * intl/plural.c: Regenerate. + * intl/plural.y: Switch to gettext copyright. + Use ANSI definitions and prototypes. + Port to bison 3.0. + * intl/textdomain.c: Switch to gettext copyright. + Use ANSI definitions and prototypes. + Use gl_* locking primitives rather than __libc_* ones. + +2014-12-10 Steve Ellcey + + * debug/warning-nop.c: Add used atrribute. + +2014-12-10 Joseph Myers + + * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file. + + * sysdeps/unix/sysv/linux/mips/mips64/Makefile + [$(subdir) == signal] (CFLAGS-sigaction.c): New variable. + [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise. + +2014-12-10 Joseph Myers + Adhemerval Zanella + + [BZ #17634] + * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr. + Undefine after defining function. Define as weak alias of + __wcschr. Use libc_hidden_weak. + * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto. + * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED] + (libc_hidden_def): Also define __GI___wcschr alias. + * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to + __wcschr and define as weak alias of __wcschr. + * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as + __wcschr. + [!WCSCHR] (DEFAULT_WCSCHR): Define. + [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def. + [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use + libc_hidden_weak. Do not use libc_hidden_def. + * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c + [IS_IN (libc) && SHARED] (libc_hidden_def): Also define + __GI___wcschr alias. + * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c + [IS_IN (libc)] (wcschr): Define as macro expanding to + __redirect_wcschr. + [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof. + [IS_IN (libc)] (__wcschr_power6): Likewise. + [IS_IN (libc)] (__wcschr_power7): Likewise. + [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc + instead of wcschr. + [IS_IN (libc)] (wcschr): Undefine and define as weak alias of + __libc_wcschr. + [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine. + * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to + __wcschr and define as weak alias of __wcschr. Use + libc_hidden_builtin_def. + * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define + as weak alias of __wcschr. Use libc_hidden_weak. + * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of + wcschr. + * time/era.c (_nl_init_era_entries): Likewise. + * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove + variable. + (test-xfail-XPG3/time.h/linknamespace): Likewise. + (test-xfail-XPG4/time.h/linknamespace): Likewise. + +2014-12-10 Joseph Myers + + * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld + format for long int variable. + +2014-12-10 Anders Kaseorg + + [BZ #10672] + * manual/search.texi: (Array Sort Function): Remove claim how to make + qsort stable. + +2014-12-10 Andreas Schwab + + [BZ #12847] + * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with + user-controlled locks. + +2014-12-10 Richard Earnshaw + + * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered + register. + +2014-12-10 Joseph Myers + + * configure.ac (--disable-werror): New configure option. + (enable_werror): New AC_SUBST. + * configure: Regenerated. + * config.make.in (enable-werror): New variable. + * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror + -Wno-error=undef. + (+gccwarn-c): Do not use -Werror=implicit-function-declaration. + * manual/install.texi (Configuring and compiling): Document + --disable-werror. + * INSTALL: Regenerated. + * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error. + (CFLAGS-tst-chk2.c): Likewise. + (CFLAGS-tst-chk3.c): Likewise. + (CFLAGS-tst-chk4.cc): Likewise. + (CFLAGS-tst-chk5.cc): Likewise. + (CFLAGS-tst-chk6.cc): Likewise. + (CFLAGS-tst-lfschk1.c): Likewise. + (CFLAGS-tst-lfschk2.c): Likewise. + (CFLAGS-tst-lfschk3.c): Likewise. + (CFLAGS-tst-lfschk4.cc): Likewise. + (CFLAGS-tst-lfschk5.cc): Likewise. + (CFLAGS-tst-lfschk6.cc): Likewise. + + * stdio-common/tst-printfsz.c: Include . + (main): Disable -Wdeprecated-declarations around calls to + register_printf_function. + + * stdio-common/tst-unlockedio.c: Include . + (do_test): Disable -Wdiv-by-zero around some calls to + fwrite_unlocked and fread_unlocked. + + * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro. + (DIAG_POP_NEEDS_COMMENT): Likewise. + (_DIAG_STR1): Likewise. + (_DIAG_STR): Likewise. + (DIAG_IGNORE_NEEDS_COMMENT): Likewise. + * stdio-common/bug21.c: Include . + (do_test): Disable -Wformat around call to sscanf. + * stdio-common/scanf14.c: Include . + (main): Disable -Wformat around some calls to scanf functions. + +2014-12-09 Torvald Riegel + + * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file. + +2014-12-08 Adhemerval Zanella + + * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character + stack variable alignment. + +2014-12-06 Joseph Myers + + [BZ #17682] + * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE. + * resource/getrlimit.c (__getrlimit): Use libc_hidden_def. + * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise. + * include/sys/resource.h (__getrlimit): Use libc_hidden_proto. + * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use + __getrlimit instead of getrlimit. + * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use + __gettimeofday instead of gettimeofday. + * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock): + Likewise. + * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): + Likewise. + * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise. + * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace): + Remove variable. + (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise. + (test-xfail-POSIX2008/time.h/linknamespace): Likewise. + +2014-12-05 Adhemerval Zanella + + * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun + for wide-character tests. + +2014-12-04 Roland McGrath + + * io/openat64.c: #include + (__openat64): Prototypify. Use ignore_value on MODE. + * io/openat.c: Likewise. + * misc/reboot.c: #include + (reboot): Prototypify. Use ignore_value on HOWTO. + * misc/ptrace.c: #include + (ptrace): Prototypify. Use ignore_value for va_arg'd parameters. + +2014-12-04 Joseph Myers + + * conform/list-header-symbols.pl (%extra_syms): Add h_errno for + XPG4, UNIX98 and XOPEN2K. + * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace): + Remove variable. + (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise. + +2014-12-04 Siddhesh Poyarekar + + * libio/fileops.c: Use ISO C style for function definitions. + * libio/iofopen.c: Likewise. + * libio/wfileops.c: Likewise. + + [BZ #17653] + * libio/fileops.c (_IO_new_file_underflow): Unset cached + offset on EOF. + * libio/wfileops.c (_IO_wfile_underflow): Likewise. + * libio/tst-ftell-active-handler.c (fgets_func_t): New type. + (fgets_func): Function pointer to fgets and fgetws. + (do_ftell_test): Add test to verify ftell value after read + EOF. + (do_test): Set fgets_func. + + * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add + O_TRUNC flag for w and w+ modes. + (do_rewind_test): Likewise. + (do_ftell_test): Likewise. + (do_write_test): Likewise. + + [BZ #17647] + * libio/fileops.c (do_ftell): Seek only when there are + unflushed writes. + * libio/wfileops.c (do_ftell_wide): Likewise. + * libio/tst-ftell-active-handler.c (do_ftruncate_test): New + test case. + (do_one_test): Call it. + +2014-12-03 Joseph Myers + + * conform/list-header-symbols.pl (%extra_syms): Add getdate_err + for XPG4, UNIX98, XOPEN2K and XOPEN2K8. + * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace): + Remove variable. + (test-xfail-XOPEN2K/time.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise. + +2014-12-02 Joseph Myers + + * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace): + Remove variable. + (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise. + + [BZ #17668] + * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define + as weak alias of __getifaddrs. Use libc_hidden_weak. + (freeifaddrs): Rename to __freeifaddrs and define as weak alias of + __freeifaddrs. Use libc_hidden_weak. + * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and + define as weak alias of __getifaddrs. Use libc_hidden_weak. + (freeifaddrs): Rename to __freeifaddrs and define as weak alias of + __freeifaddrs. Use libc_hidden_weak. + * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to + __getifaddrs and define as weak alias of __getifaddrs. Use + libc_hidden_weak. + (freeifaddrs): Rename to __freeifaddrs and define as weak alias of + __freeifaddrs. Use libc_hidden_weak. + * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace): + Remove variable. + (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise. + +2014-12-02 Petar Jovanovic + + [BZ #17601] + * sysdeps/mips/start.S (__start): Use indirect jump to call + __libc_start_main. + +2014-12-02 Joseph Myers + + * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t. + + * nptl/tst-mutex1.c: Include . + [!ATTR] (ATTR_NULL): New macro. + (do_test): Test !ATTR_NULL instead of ATTR != NULL. + * nptl/tst-mutexpi1.c (ATTR_NULL): New macro. + * nptl/tst-mutexpp1.c (ATTR_NULL): New macro. + + * posix/tst-getopt_long1.c (do_test): Cast elements of argv array + to char *. + + [BZ #17665] + * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]: + Change conditional to [__USE_MISC]. + + [BZ #17664] + * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of + fgets_unlocked. + * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to + __fgets_unlocked. + * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of + fgets_unlocked. + * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace): + Remove variable. + (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise. + (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise. + (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise. + (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise. + (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise. + + * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)). + +2014-12-02 Adhemerval Zanella + + * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: + Remove strpbrk objects. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Remove strpbrk implementation. + * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file. + * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file. + * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file. + * sysdeps/powerpc/powerpc64/strpbrk.S: New file. + + * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: + Remove strcspn objects. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Remove strcspn implementation. + * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file. + * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file. + * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file. + * sysdeps/powerpc/powerpc64/strcspn.S: New file. + + * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: + Remove strspn objetcs. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Remove strspn implementation. + * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file. + * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise. + * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file. + * sysdeps/powerpc/powerpc64/strspn.S: New file. + +2014-12-01 James Lemke + + [BZ #17581] + * malloc/hooks.c + (mem2mem_check): Add a terminator to the chain of checking blocks. + (malloc_check_get_size): Use it here. + (mem2chunk_check): Ditto. + +2014-12-01 Rajalakshmi Srinivasaraghavan + + * sysdeps/powerpc/powerpc64/strtok.S: New file. + * sysdeps/powerpc/powerpc64/strtok_r.S: New file. + +2014-11-29 Carlos O'Donell + + * bits/ioctl-types.h: Indent preprocessor directives correctly. + + * nptl/nptl-init.c: Include libc-internal.h. + (__pthread_initialize_minimal_internal): Use ROUND_UP. + + * elf/ldconfig.c (search_dir): Expand comment. + +2014-11-29 Joseph Myers + + * conform/Makefile (linknamespace-symlist-stdlibs-base): New + variable. + (linknamespace-symlist-stdlibs-tests): Likewise. + (tests-special): Append $(linknamespace-symlist-stdlibs-tests) + instead of $(objpfx)symlist-stdlibs. + (linknamespace-libs-isoc): New variable. + (linknamespace-libs): Use $(linknamespace-libs-isoc). + (linknamespace-libs-ISO): New variable. + (linknamespace-libs-ISO99): Likewise. + (linknamespace-libs-ISO11): Likewise. + (linknamespace-libs-XPG3): Likewise. + (linknamespace-libs-XPG4): Likewise. + (linknamespace-libs-POSIX): Likewise. + (linknamespace-libs-UNIX98): Likewise. + (linknamespace-libs-XOPEN2K): Likewise. + (linknamespace-libs-POSIX2008): Likewise. + (linknamespace-libs-XOPEN2K8): Likewise. + ($(objpfx)symlist-stdlibs): Replace by + $(linknamespace-symlist-stdlibs-tests). Use + $(linknamespace-libs-$*) as set of libraries. + ($(linknamespace-header-tests)): Update dependencies. Use + $(objpfx)symlist-stdlibs-$$std for --libsyms argument. + (test-xfail-XPG4/sys/mman.h/linknamespace): Remove. + * conform/linknamespace.pl: Remove comment about considering + definitions of symbols from irrelevant libraries. + +2014-11-28 H.J. Lu + + [BZ #13862] + * elf/dl-tls.c: Include . + (oom): Remove #ifdef SHARED/#endif. + (_dl_static_dtv, _dl_initial_dtv): Moved before ... + (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo. + (_dl_allocate_tls_init): Resize DTV if the current DTV isn't + big enough. + (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV. + * nptl/Makefile (tests): Add tst-stack4. + (modules-names): Add tst-stack4mod. + ($(objpfx)tst-stack4): New. + (tst-stack4mod.sos): Likewise. + ($(objpfx)tst-stack4.out): Likewise. + ($(tst-stack4mod.sos)): Likewise. + (clean): Likewise. + * nptl/tst-stack4.c: New file. + * nptl/tst-stack4mod.c: Likewise. + +2014-11-27 J. Brown + + * sysdeps/x86/bits/string.h: Add recent CPUs. + +2014-11-27 Joseph Myers + + * misc/tst-pselect.c (do_test): Use sigprocmask instead of + sigblock. + + * libio/bug-ungetwc1.c (do_test): Verify results of getwc and + feof. + + * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a + variable. + +2014-11-27 Stefan Liebler + + * nscd/connections.c: Include libc-internal.h because of macro + usage ignore_value. + +2014-11-27 Siddhesh Poyarekar + + * string/bits/string3.h (__warn_memset_zero_len): Don't + declare for gcc newer than 5.0. + (memset): Don't test for zero-length __LEN for gcc newer than + 5.0. + +2014-11-27 Joseph Myers + + * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to + size_t for %zu format. + + * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer + difference, not %ju. + +2014-11-26 Joseph Myers + + * include/libc-internal.h (ignore_value): New macro. + * nscd/connections.c (restart): Wrap calls to setuid and setgid + with ignore_value. + + * sysdeps/mips/__longjmp.c (____longjmp): Use prototype + definition. + + * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of + pthread_cleanup_push to void *. + + * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE): + Undefine. + + [BZ #16619] + [BZ #16740] + * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52 + instead of 1L << 52. + + * libio/bug-rewind.c (do_test): Check fwscanf return values. + * libio/bug-rewind2.c (do_test): Likewise. + + * debug/test-stpcpy_chk-ifunc.c: Remove file. + * debug/test-strcpy_chk-ifunc.c: Likewise. + * wcsmbs/test-wcschr-ifunc.c: Likewise. + * wcsmbs/test-wcscmp-ifunc.c: Likewise. + * wcsmbs/test-wcscpy-ifunc.c: Likewise. + * wcsmbs/test-wcslen-ifunc.c: Likewise. + * wcsmbs/test-wcsrchr-ifunc.c: Likewise. + * wcsmbs/test-wmemcmp-ifunc.c: Likewise. + * Rules [$(multi-arch) = no] (tests): Do not filter out + $(tests-ifunc). + [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc). + * debug/Makefile (tests-ifunc): Remove variable. + (tests): Do not add $(tests-ifunc). + * wcsmbs/Makefile (tests-ifunc): Remove variable. + (tests): Do not add $(tests-ifunc). + * benchtests/bench-string.h (TEST_IFUNC): Remove macro. + [TEST_IFUNC]: Remove conditionals. + * string/test-string.h (TEST_IFUNC): Remove macro. + [TEST_IFUNC]: Remove conditionals. + + * string/test-strchr.c [!WIDE] (L): New macro. + [WIDE] (L): Likewise. + (check1): Use CHAR instead of char. Use L on string and character + constants. + +2014-11-26 Adhemerval Zanella + + * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel} + tests. + * sysdeps/powerpc/bits/atomic.h + (__arch_atomic_exchange_and_add_32_acq): Add definition. + (__arch_atomic_exchange_and_add_32_rel): Likewise. + (atomic_exchange_and_add_acq): Likewise. + (atomic_exchange_and_add_rel): Likewise. + * sysdeps/powerpc/powerpc32/bits/atomic.h + (__arch_atomic_exchange_and_add_64_acq): Add definition. + (__arch_atomic_exchange_and_add_64_rel): Likewise. + * sysdeps/powerpc/powerpc64/bits/atomic.h + (__arch_atomic_exchange_and_add_64_acq): Add definition. + (__arch_atomic_exchange_and_add_64_rel): Likewise. + +2014-11-26 Torvald Riegel + + * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority): + Change synchronization of __sched_fifo_min_prio and + __sched_fifo_max_prio. + * nptl/pthread_mutexattr_getprioceiling.c + (pthread_mutexattr_getprioceiling): Likewise. + * nptl/pthread_mutexattr_setprioceiling.c + (pthread_mutexattr_setprioceiling): Likewise. + * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise. + * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling): + Likewise. + +2014-11-26 Joseph Myers + + * setjmp/jmpbug.c (test): Make foo volatile and cast it to + void. + +2014-11-25 Joseph Myers + + * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make + third argument const. + +2014-11-25 Paul Eggert + + fnmatch: work around GCC compiler warning bug with uninit var + * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array. + This works around a bug with x86-64 GCC 4.9.2 and earlier + where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains + "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be + used uninitialized in this function [-Wmaybe-uninitialized]". + +2014-11-25 Joseph Myers + + * posix/bug-regex31.c (main): Return RES not 0. + +2014-11-25 Anton Blanchard + + * sysdeps/powerpc/bits/atomic.h + (__arch_compare_and_exchange_bool_64_rel): Load from mem. + +2014-11-24 Sterling Augustine + + * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros. + +2014-11-24 Ryan Cumming + + [BZ #17608] + * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI. + +2014-11-24 Joseph Myers + + [BZ #17633] + * stdio-common/perror.c (perror): Call __fileno instead of fileno. + * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove + variable. + (test-xfail-ISO99/stdio.h/linknamespace): Likewise. + (test-xfail-ISO11/stdio.h/linknamespace): Likewise. + +2014-11-24 Wilco Dijkstra + + * string/strncpy.c (strncpy): Improve performance by using memset. + +2014-11-24 Wilco Dijkstra + + * string/strcpy.c (strcpy): + Improve performance by using strlen and memcpy. + +2014-11-24 Leonhard Holz + + * string/strcoll_l.c (get_next_seq): __always_inline. + * string/strcoll_l.c (do_compare): __always_inline. + +2014-11-24 Siddhesh Poyarekar + + * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is + defined. + * include/mqueue.h: Likewise. + * include/stdlib.h: Likewise. + + * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE. + (get_null_defines): Adjust. + * sunrpc/Makefile: Adjust comment. + * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc. + * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise. + (CFLAGS-interp.c): Likewise. + (CFLAGS-ldconfig.c): Likewise. + (CPPFLAGS-.os): Likewise. + * elf/rtld-Rules (rtld-CPPFLAGS): Likewise. + * extra-lib.mk (CPPFLAGS-$(lib)): Likewise. + * extra-modules.mk (extra-modules.mk): Likewise. + * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise. + * locale/Makefile (CPPFLAGS-locale_programs): Likewise. + * malloc/Makefile (CPPFLAGS-memusagestat): Likewise. + * nscd/Makefile (CPPFLAGS-nscd): Likewise. + * nss/Makefile (CPPFLAGS-nss_test1): Likewise. + * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise. + * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise. + * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise. + * iconvdata/Makefile (CPPFLAGS): Likewise. + (cpp-srcs-left): Add libof for all iconvdata routines. + * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN. + * include/assert.h: Likewise. + * include/ctype.h: Likewise. + * include/errno.h: Likewise. + * include/libc-symbols.h: Likewise. + * include/math.h: Likewise. + * include/netdb.h: Likewise. + * include/resolv.h: Likewise. + * include/stdio.h: Likewise. + * include/stdlib.h: Likewise. + * include/string.h: Likewise. + * include/sys/stat.h: Likewise. + * include/wctype.h: Likewise. + * intl/l10nflist.c: Likewise. + * libidn/idn-stub.c: Likewise. + * libio/libioP.h: Likewise. + * nptl/libc_multiple_threads.c: Likewise. + * nptl/pthreadP.h: Likewise. + * posix/regex_internal.h: Likewise. + * resolv/res_hconf.c: Likewise. + * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise. + * sysdeps/arm/memmove.S: Likewise. + * sysdeps/arm/sysdep.h: Likewise. + * sysdeps/generic/_itoa.h: Likewise. + * sysdeps/generic/symbol-hacks.h: Likewise. + * sysdeps/gnu/errlist.awk: Likewise. + * sysdeps/gnu/errlist.c: Likewise. + * sysdeps/i386/i586/memcpy.S: Likewise. + * sysdeps/i386/i586/memset.S: Likewise. + * sysdeps/i386/i686/memcpy.S: Likewise. + * sysdeps/i386/i686/memmove.S: Likewise. + * sysdeps/i386/i686/mempcpy.S: Likewise. + * sysdeps/i386/i686/memset.S: Likewise. + * sysdeps/i386/i686/multiarch/bcopy.S: Likewise. + * sysdeps/i386/i686/multiarch/bzero.S: Likewise. + * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise. + * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise. + * sysdeps/i386/i686/multiarch/memchr.S: Likewise. + * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise. + * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise. + * sysdeps/i386/i686/multiarch/memcmp.S: Likewise. + * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise. + * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise. + * sysdeps/i386/i686/multiarch/memcpy.S: Likewise. + * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise. + * sysdeps/i386/i686/multiarch/memmove.S: Likewise. + * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise. + * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise. + * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise. + * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise. + * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise. + * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise. + * sysdeps/i386/i686/multiarch/memrchr.S: Likewise. + * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise. + * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise. + * sysdeps/i386/i686/multiarch/memset.S: Likewise. + * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise. + * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise. + * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise. + * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise. + * sysdeps/i386/i686/multiarch/strcat.S: Likewise. + * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise. + * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise. + * sysdeps/i386/i686/multiarch/strchr.S: Likewise. + * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise. + * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise. + * sysdeps/i386/i686/multiarch/strcmp.S: Likewise. + * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise. + * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise. + * sysdeps/i386/i686/multiarch/strcpy.S: Likewise. + * sysdeps/i386/i686/multiarch/strcspn.S: Likewise. + * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise. + * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise. + * sysdeps/i386/i686/multiarch/strlen.S: Likewise. + * sysdeps/i386/i686/multiarch/strnlen.S: Likewise. + * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise. + * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise. + * sysdeps/i386/i686/multiarch/strrchr.S: Likewise. + * sysdeps/i386/i686/multiarch/strspn.S: Likewise. + * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise. + * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise. + * sysdeps/i386/i686/multiarch/wcschr.S: Likewise. + * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise. + * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise. + * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise. + * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise. + * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise. + * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise. + * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise. + * sysdeps/i386/i686/multiarch/wcslen.S: Likewise. + * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise. + * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise. + * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise. + * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise. + * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise. + * sysdeps/ia64/fpu/libm-symbols.h: Likewise. + * sysdeps/nptl/bits/libc-lock.h: Likewise. + * sysdeps/nptl/bits/libc-lockP.h: Likewise. + * sysdeps/nptl/bits/stdio-lock.h: Likewise. + * sysdeps/posix/closedir.c: Likewise. + * sysdeps/posix/opendir.c: Likewise. + * sysdeps/posix/readdir.c: Likewise. + * sysdeps/posix/rewinddir.c: Likewise. + * sysdeps/powerpc/novmx-sigjmp.c: Likewise. + * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise. + * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise. + * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise. + * sysdeps/powerpc/powerpc32/setjmp.S: Likewise. + * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise. + * sysdeps/powerpc/powerpc64/setjmp.S: Likewise. + * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise. + * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise. + * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise. + * sysdeps/s390/s390-32/multiarch/memset.S: Likewise. + * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise. + * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise. + * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise. + * sysdeps/s390/s390-64/multiarch/memset.S: Likewise. + * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise. + * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise. + * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise. + * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise. + * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise. + * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise. + * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise. + * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise. + * sysdeps/unix/alpha/sysdep.S: Likewise. + * sysdeps/unix/alpha/sysdep.h: Likewise. + * sysdeps/unix/make-syscalls.sh: Likewise. + * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/getpid.c: Likewise. + * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise. + * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise. + * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise. + * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/not-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise. + * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise. + * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise. + * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise. + * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. + * sysdeps/wordsize-32/symbol-hacks.h: Likewise. + * sysdeps/x86_64/memcpy.S: Likewise. + * sysdeps/x86_64/memmove.c: Likewise. + * sysdeps/x86_64/memset.S: Likewise. + * sysdeps/x86_64/multiarch/init-arch.h: Likewise. + * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise. + * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise. + * sysdeps/x86_64/multiarch/memcmp.S: Likewise. + * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise. + * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise. + * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise. + * sysdeps/x86_64/multiarch/memcpy.S: Likewise. + * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise. + * sysdeps/x86_64/multiarch/memmove.c: Likewise. + * sysdeps/x86_64/multiarch/mempcpy.S: Likewise. + * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise. + * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise. + * sysdeps/x86_64/multiarch/memset.S: Likewise. + * sysdeps/x86_64/multiarch/memset_chk.S: Likewise. + * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise. + * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise. + * sysdeps/x86_64/multiarch/strcat.S: Likewise. + * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise. + * sysdeps/x86_64/multiarch/strchr.S: Likewise. + * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise. + * sysdeps/x86_64/multiarch/strcmp.S: Likewise. + * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise. + * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise. + * sysdeps/x86_64/multiarch/strcpy.S: Likewise. + * sysdeps/x86_64/multiarch/strcspn.S: Likewise. + * sysdeps/x86_64/multiarch/strspn.S: Likewise. + * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise. + * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise. + * sysdeps/x86_64/multiarch/wcscpy.S: Likewise. + * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise. + * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise. + * sysdeps/x86_64/strcmp.S: Likewise. + + * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib). + + * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld. + * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld. + * elf/rtld-Rules: Likewise. + * elf/setup-vdso.h: Likewise. + * include/assert.h: Likewise. + * include/bits/stdlib-float.h: Likewise. + * include/errno.h: Likewise. + * include/sys/stat.h: Likewise. + * include/unistd.h: Likewise. + * sysdeps/aarch64/setjmp.S: Likewise. + * sysdeps/alpha/setjmp.S: Likewise. + * sysdeps/arm/__longjmp.S: Likewise. + * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise. + * sysdeps/arm/setjmp.S: Likewise. + * sysdeps/arm/sysdep.h: Likewise. + * sysdeps/generic/_itoa.h: Likewise. + * sysdeps/generic/dl-sysdep.h: Likewise. + * sysdeps/generic/ldsodefs.h: Likewise. + * sysdeps/i386/dl-tls.h: Likewise. + * sysdeps/i386/setjmp.S: Likewise. + * sysdeps/m68k/setjmp.c: Likewise. + * sysdeps/mach/hurd/dl-execstack.c: Likewise. + * sysdeps/mach/hurd/opendir.c: Likewise. + * sysdeps/posix/getcwd.c: Likewise. + * sysdeps/posix/opendir.c: Likewise. + * sysdeps/posix/profil.c: Likewise. + * sysdeps/powerpc/dl-procinfo.h: Likewise. + * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise. + * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise. + * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise. + * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise. + * sysdeps/s390/dl-tls.h: Likewise. + * sysdeps/s390/s390-32/setjmp.S: Likewise. + * sysdeps/s390/s390-64/setjmp.S: Likewise. + * sysdeps/sh/sh3/setjmp.S: Likewise. + * sysdeps/sh/sh4/setjmp.S: Likewise. + * sysdeps/unix/alpha/sysdep.h: Likewise. + * sysdeps/unix/arm/sysdep.S: Likewise. + * sysdeps/unix/i386/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/getcwd.c: Likewise. + * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise. + * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise. + * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise. + * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise. + * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. + * sysdeps/unix/x86_64/sysdep.S: Likewise. + * sysdeps/x86_64/setjmp.S: Likewise. + + * include/math.h: Use IS_IN instead of IS_IN_libm. + * sysdeps/alpha/fpu/s_copysign.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise. + * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise. + * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise. + * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise. + * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise. + * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise. + * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise. + * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise. + * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise. + * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise. + * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise. + * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise. + * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise. + * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise. + * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise. + * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise. + * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise. + * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise. + * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise. + * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise. + * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: + Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: + Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: + Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: + Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: + Likewise. + * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise. + * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise. + * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise. + * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise. + * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise. + * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise. + * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise. + * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise. + * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise. + * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise. + * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise. + * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise. + * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise. + * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise. + + * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread. + * nptl/pthreadP.h: Likewise. + * nptl_db/structs.def: Likewise. + * sysdeps/arm/sysdep.h: Likewise. + * sysdeps/nptl/bits/libc-lock.h: Likewise. + * sysdeps/nptl/bits/libc-lockP.h: Likewise. + * sysdeps/sparc/sparc32/lowlevellock.c: Likewise. + * sysdeps/unix/alpha/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/not-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise. + * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise. + * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise. + + * include/mqueue.h: Use IS_IN instead of IS_IN_librt. + * nptl/pthreadP.h: Likewise. + * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/not-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise. + * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise. + * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise. + + * dlfcn/dladdr.c: Use IS_IN. + * dlfcn/dladdr1.c: Likewise. + * dlfcn/dlclose.c: Likewise. + * dlfcn/dlerror.c: Likewise. + * dlfcn/dlinfo.c: Likewise. + * dlfcn/dlmopen.c: Likewise. + * dlfcn/dlopen.c: Likewise. + * dlfcn/dlsym.c: Likewise. + * dlfcn/dlvsym.c: Likewise. + + * include/ifaddrs.h: Use IS_IN. + * inet/check_pf.c: Likewise. + * sysdeps/unix/sysv/linux/check_pf.c: Likewise. + * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd. + + * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of + IS_IN_ldconfig. + * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN. + * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise. + + * include/shlib-compat.h [!NOT_IN_libc]: Remove. + * nss/nss_files/files-parse.c (IS_IN_libc): Replace with + IS_IN (libc). + + * elf/Makefile (libof-sotruss-lib): Set as extramodules. + + * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB. + * elf/rtld-Rules (rtld-CPPFLAGS): Likewise. + * extra-lib.mk (CPPFLAGS-$(lib)): Likewise. + * include/libc-symbols.h (IS_IN_LIB): New macro. + * include/errno.h: Use IS_IN_LIB instead of IN_LIB. + * include/netdb.h: Likewise. + * include/stap-probe.h: Remove all uses of IN_LIB. + + * Makeconfig (module-cppflags-real): Define MODULE_NAME + instead of IN_MODULE. + * include/libc-symbols.h (IN_MODULE): Define using + MODULE_NAME. + (PASTE_NAME, PASTE_NAME1): New macros. + * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead + of IN_LIB. + (STAP_PROBE_ASM): Likewise. + +2014-11-23 Samuel Thibault + + * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call + __mach_init in dlopened libc. + +2014-11-22 Mike Frysinger + + * sysdeps/arm/preconfigure.ac: Delete EABI check. + * sysdeps/arm/preconfigure: Regenerate. + +2014-11-21 Roland McGrath + + * nptl/pthread_create.c (__pthread_create_2_1): Set + ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags + when copying values from IATTR into PD. + +2014-11-21 Will Newton + Andrew Pinski + + * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): + Refactor inline-asm. Also add comment. + + * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use + ElfW macro instead of hardcoded Elf64 types. + (la_aarch64_gnu_pltenter): Likewise. + * sysdeps/aarch64/dl-machine.h + (elf_machine_runtime_setup): Use ElfW(Addr). + + * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY, + R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT, + R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD, + R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL, + R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define. + (R_AARCH64_TLS_DTPMOD64): Rename to .. + (R_AARCH64_TLS_DTPMOD): This. + (R_AARCH64_TLS_DTPREL64): Rename to ... + (R_AARCH64_TLS_DTPREL): This. + (R_AARCH64_TLS_TPREL64): Rename to ... + (R_AARCH64_TLS_TPREL): This. + * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update + R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and + R_AARCH64_TLS_TPREL64. + (elf_machine_rela): Likewise. + +2014-11-21 Torvald Riegel + + * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value + by setting it to 0. 64b atomics are not supported currently. + +2014-11-21 Alexandre Oliva + + [BZ #16469] + * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in + search domain names. + +2014-11-21 Alexandre Oliva + + [BZ #16469] + * NEWS: Update. + * resolv/res_query.c (__libc_res_nquerydomain): Retain + trailing dot. + * posix/tst-getaddrinfo5.c: New. + * posix/Makefile (tests): Add it. + +2014-11-21 Alexandre Oliva + + [BZ #14498] + * NEWS: Fixed. + * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx + after parsing line but before break_if_match. + * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;" + if there is a protocol mismatch. + +2014-11-21 Ma Shimiao + + * manual/sysinfo.texi (addmntent): It is actually MT-Safe, + because the potential race is on the user-supplied stream. + +2014-11-21 Alexandre Oliva + + * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a + string literal if not passed a buffer. + * manual/job.texi (ctermid): Update reasoning, note deviation + from posix, suggest mtasurace when not passed a buffer, for + future non-preliminary safety notes. + +2014-11-21 Alexandre Oliva + + * manual/users.texi (cuserid): Fix MT-Safety note for the case + of not passing it a buffer. + Reported by Peng Haitao. + +2014-11-21 Alexandre Oliva + + * manual/Makefile ($(objpfx)stamp-summary): Require + check-safety.sh to pass. + * manual/check-safety.sh: Wish for verification that every + @deftypefn and @deftypefun is followed by a @safety remark. + +2014-11-20 Roland McGrath + + * nptl/unwind.c (unwind_cleanup): Use __libc_fatal. + + * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for + PTHREAD_CANCEL_ASYNCHRONOUS. + * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to + send SIGCANCEL. + + * nptl/default-sched.h: New file. + * sysdeps/unix/sysv/linux/default-sched.h: New file. + * nptl/pthread_create.c: Include it. + (__pthread_create_2_1): Use collect_default_sched instead of making + Linux syscalls here directly. + +2014-11-20 Torvald Riegel + + * nptl/pthread_once.c (clear_once_control, __pthread_once_slow, + __pthread_once): Use C11 atomics. + +2014-11-20 Torvald Riegel + + * csu/tst-atomic.c (do_test): Add tests for C11-like atomics. + +2014-11-20 Torvald Riegel + + * include/atomic.h (__atomic_link_error, __atomic_check_size, + atomic_thread_fence_acquire, atomic_thread_fence_release, + atomic_thread_fence_seq_cst, atomic_load_relaxed, + atomic_load_acquire, atomic_store_relaxed, atomic_store_release, + atomic_compare_exchange_weak_relaxed, + atomic_compare_exchange_weak_acquire, + atomic_compare_exchange_weak_release, + atomic_exchange_acquire, atomic_exchange_release, + atomic_fetch_add_relaxed, atomic_fetch_add_acquire, + atomic_fetch_add_release, atomic_fetch_add_acq_rel, + atomic_fetch_and_acquire, + atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New. + +2014-11-20 Torvald Riegel + + * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS, + USE_ATOMIC_COMPILER_BUILTINS): Define. + * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS, + USE_ATOMIC_COMPILER_BUILTINS): Likewise. + * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS, + USE_ATOMIC_COMPILER_BUILTINS): Likewise. + * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS, + USE_ATOMIC_COMPILER_BUILTINS): Likewise. + * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS, + USE_ATOMIC_COMPILER_BUILTINS): Likewise. + * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS, + USE_ATOMIC_COMPILER_BUILTINS): Likewise. + * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS, + USE_ATOMIC_COMPILER_BUILTINS): Likewise. + * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS, + USE_ATOMIC_COMPILER_BUILTINS): Likewise. + * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS, + USE_ATOMIC_COMPILER_BUILTINS): Likewise. + * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS, + USE_ATOMIC_COMPILER_BUILTINS): Likewise. + * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS, + USE_ATOMIC_COMPILER_BUILTINS): Likewise. + * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS, + USE_ATOMIC_COMPILER_BUILTINS): Likewise. + * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS, + USE_ATOMIC_COMPILER_BUILTINS): Likewise. + * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS, + USE_ATOMIC_COMPILER_BUILTINS): Likewise. + * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS, + USE_ATOMIC_COMPILER_BUILTINS): Likewise. + * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS, + USE_ATOMIC_COMPILER_BUILTINS): Likewise. + * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS, + USE_ATOMIC_COMPILER_BUILTINS): Likewise. + * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS, + USE_ATOMIC_COMPILER_BUILTINS): Likewise. + * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h + (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise. + * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS, + USE_ATOMIC_COMPILER_BUILTINS): Likewise. + * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS, + USE_ATOMIC_COMPILER_BUILTINS): Likewise. + +2014-11-19 Roland McGrath + + * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate + the sched_priority value here. It was already checked when the user + called pthread_attr_setschedparam. + + * nptl/tst-bad-schedattr.c: New file. + * nptl/Makefile (tests): Add it. + +2014-11-19 Carlos O'Donell + Florian Weimer + Joseph Myers + Adam Conrad + Andreas Schwab + Brooks + + [BZ #17625] + * wordexp-test.c (__dso_handle): Add prototype. + (__register_atfork): Likewise. + (__app_register_atfork): New function. + (registered_forks): New global. + (register_fork): New function. + (test_case): Add 3 new tests for WRDE_CMDSUB. + (main): Call __app_register_atfork. + (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if + fork count is non-zero fail the test. + * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag + is set. + (parse_dollars): Remove check for WRDE_NOCMD. + (parse_dquote): Likewise. + +2014-11-19 Siddhesh Poyarekar + + * Makeconfig (built-modules): List non-library modules to be + built. + (module-cppflags): Include libc-modules.h for + everything except shlib-versions.v.i. + (CPPFLAGS): Use it. + (before-compile): Add libc-modules.h. + ($(common-objpfx)libc-modules.h, + $(common-objpfx)libc-modules.stmp): New targets. + (common-generated): Add libc-modules.h and libc-modules.stmp. + ($(common-objpfx)Versions.v.i): Depend on libc-modules.h. + * include/libc-symbols.h: Don't include libc-modules.h. + * include/libc-modules.h: Remove file. + * scripts/gen-libc-modules.awk: New script to generate + libc-modules.h. + * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): + Depend on libc-modules.stmp. + + * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN. + + * Makeconfig (in-module): Get value of libof set for the + translation unit. + (CPPFLAGS): Use $(in-module). + * Makerules: Don't suffix routine names for nonlib. + * include/libc-modules.h: New file. + * include/libc-symbols.h: Include libc-modules.h + (IS_IN): New macro to replace IS_IN_* macros. + * elf/Makefile: Set libof-* for each routine. + * elf/rtld-Rules: Likewise. + * extra-modules.mk: Likewise. + * iconv/Makefile: Likewise. + * iconvdata/Makefile: Likewise. + * locale/Makefile: Likewise. + * malloc/Makefile: Likewise. + * nss/Makefile: Likewise. + * sysdeps/gnu/Makefile: Likewise. + * sysdeps/ieee754/ldbl-opt/Makefile: Likewise. + * sysdeps/unix/sysv/linux/Makefile: Likewise. + * sysdeps/s390/s390-64/Makefile: Likewise. + * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and + CPPFLAGS for nscd instead of nonlib. + +2014-11-18 Roland McGrath + + * nptl/createthread.c: New file. + + * nptl/createthread.c: Moved ... + * sysdeps/unix/sysv/linux/createthread.c: ... here. + + * nptl/createthread.c: Add proper top-line comment. + (do_clone): Folded into ... + (create_thread): ... here. Take new arguments STOPPED_START and + THREAD_RAN. Always set PD->stopped_start to something here. Don't + increment __nptl_threads, do event-reporting logic, do + CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads + here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any + resource cleanup if sched_setaffinity or sched_setscheduler fails, + just send SIGCANCEL. + * nptl/pthread_create.c: Forward-declare create_thread before + including createthread.c. + (start_thread): Use new macro START_THREAD_DEFN to replace defining + declaration, and new macro START_THREAD_SELF to replace argument. + Remove return statement. + (report_thread_creation): New function. + (__pthread_create_2_1): Use it. Do TD_CREATE reporting, + synchronization logic, and __nptl_nthreads increment here, around + calling create_thread. Do CHECK_THREAD_SYSINFO and initialize + PD->parent_cancelhandling here, before create_thread. When + create_thread fails, do __nptl_nthreads decrement, setxid_futex wake, + __deallocate_stack, and ENOMEM translation here. + +2014-11-18 Joseph Myers + + [BZ #17616] + * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone. + (mptwo): Rename to __mptwo. + (__inv): Use __mptwo instead of mptwo. + * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone. + (mptwo): Rename to __mptwo. + * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead + of mpone and __mptwo instead of mptwo. + * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone + instead of mpone. + * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise. + * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise. + * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead + of mpone and __mptwo instead of mptwo. + (__mpranred): Use __mpone instead of mpone. + * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove + variable. + (test-xfail-ISO99/complex.h/linknamespace): Likewise. + (test-xfail-ISO99/math.h/linknamespace): Likewise. + (test-xfail-ISO99/tgmath.h/linknamespace): Likewise. + (test-xfail-ISO11/complex.h/linknamespace): Likewise. + (test-xfail-ISO11/math.h/linknamespace): Likewise. + (test-xfail-ISO11/tgmath.h/linknamespace): Likewise. + (test-xfail-XPG3/math.h/linknamespace): Likewise. + (test-xfail-XPG4/math.h/linknamespace): Likewise. + (test-xfail-POSIX/math.h/linknamespace): Likewise. + (test-xfail-UNIX98/math.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/math.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise. + (test-xfail-POSIX2008/complex.h/linknamespace): Likewise. + (test-xfail-POSIX2008/math.h/linknamespace): Likewise. + (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise. + +2014-11-18 Tom de Vries + + * manual/signal.texi (Primitives Interrupted by Signals): In section, + replace BSD Handler xref with BSD Signal Handling. + +2014-11-17 Richard Henderson + + * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove. + (_FP_PACK_RAW_2): Remove. + (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q. + (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q. + (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New. + (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New. + * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match. + * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise. + * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise. + * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise. + * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise. + * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise. + * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise. + * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise. + * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise. + * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise. + * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise. + * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise. + +2014-11-14 Roland McGrath + + * signal/signal.h [__USE_MISC] + (struct sigvec): Remove type. + (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros. + (sigvec): Remove declaration. + * sysdeps/posix/sigvec.c: Moved ... + * signal/sigvec.c: ... here, replacing old file. + (struct sigvec): New type, copied from old signal.h definition. + (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied. + (__sigvec): Convert definition to prototype. + (sigvec): Replace weak_alias with compat_symbol. + * signal/Versions (libc: GLIBC_2.21): New version set. + * include/signal.h: Remove __sigvec declaration. + * sysdeps/unix/bsd/sigvec.c: Remove file. + * sysdeps/unix/bsd/syscalls.list: Remove sigvec. + * manual/signal.texi (BSD Handler): Remove subsection. + Move siginterrupt up to ... + (BSD Signal Handling): ... here. Mark it as XPG rather than BSD. + (Blocking in BSD): Fold subsection into its parent. + * NEWS: Mention sigvec removal. + +2014-11-14 Joseph Myers + + * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)] + (DLA_FMS): Make definition conditional only on [__FMA4__]. + [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional + definition. + + * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT): + Make definition conditional only on [PROF]. + [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional + definition. + [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional. + [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition. + + * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN && + !__GNUC__]. + * include/signal.h (__sigpause): Move declaration above call to + libc_hidden_proto. + * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove + variable. + (test-xfail-ISO99/signal.h/linknamespace): Likewise. + (test-xfail-ISO11/signal.h/linknamespace): Likewise. + +2014-11-14 David S. Miller + + * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): + Define before including and . + +2014-11-14 Joseph Myers + + * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later. + * configure: Regenerated. + * manual/install.texi (Tools for Compilation): Document a + requirement of GCC 4.6 or later and that GCC 4.9 is the newest + compiler verified to work. + * INSTALL: Regenerated. + + * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not + redeclare with asm name. + [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise. + * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before + including . + * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c + [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise. + * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c + [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise. + * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c + [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise. + +2014-11-13 Joseph Myers + + * stdlib/strtol.c (__strtol): Use prototype definition. + + [BZ #17594] + * stdlib/strtol.c (SYM__): New macro. + (SYM__1): Likewise. + (__strtol): Likewise. + (strtol): Rename to __strtol and define as weak alias of + __strtol. Use libc_hidden_weak. + +2014-11-13 Stefan Liebler + + * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): + Use numbered labels in inline assembly. + +2014-11-13 Stefan Liebler + + * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): + Add setjmp LIBC_PROBE. + * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp): + Likewise. + * sysdeps/s390/s390-32/__longjmp.c (__longjmp): + Add longjmp, longjmp_target LIBC_PROBE. + * sysdeps/s390/s390-64/__longjmp.c (__longjmp): + Likewise. + +2014-11-13 Stefan Liebler + + * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): + Gate the definition of refsym additionally with !RTLD_BOOTSTRAP + to get rid of unused variable warning. + +2014-11-13 Stefan Liebler + + * sysdeps/s390/s390-32/backtrace.c (__backtrace): + Check for unwind_backtrace == NULL only in SHARED case. + (__backchain_backtrace): Compile only in SHARED case. + * sysdeps/s390/s390-64/backtrace.c (__backtrace): + Likewise. + (__backchain_backtrace): Declare as static. + +2014-11-12 Roland McGrath + + * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB] + (__libc_multiple_threads_ptr): Variable moved ... + * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here. + +2014-11-12 Joseph Myers + + * conform/GlibcConform.pm: New file. + * conform/conformtest.pl: Use GlibcConform module. + * conform/linknamespace.pl: New file. + * conform/list-header-symbols.pl: Likewise. + * conform/Makefile (linknamespace-symlists-base): New variable. + (linknamespace-symlists-tests): Likewise. + (linknamespace-header-base): Likewise. + (linknamespace-header-tests): Likewise. + (tests-special): Add new tests. + ($(linknamespace-symlists-tests)): New rule. + (linknamespace-libs): New variable. + ($(objpfx)symlist-stdlibs): New rule. + ($(linknamespace-header-tests)): Likewise. + (test-xfail-XPG3/varargs.h/linknamespace): New variable. + (test-xfail-XPG4/varargs.h/linknamespace): Likewise. + (test-xfail-UNIX98/varargs.h/linknamespace): Likewise. + (test-xfail-XPG4/ndbm.h/linknamespace): Likewise. + (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise. + (test-xfail-ISO/math.h/linknamespace): Likewise. + (test-xfail-ISO/signal.h/linknamespace): Likewise. + (test-xfail-ISO/stdio.h/linknamespace): Likewise. + (test-xfail-ISO/time.h/linknamespace): Likewise. + (test-xfail-ISO99/complex.h/linknamespace): Likewise. + (test-xfail-ISO99/ctype.h/linknamespace): Likewise. + (test-xfail-ISO99/math.h/linknamespace): Likewise. + (test-xfail-ISO99/signal.h/linknamespace): Likewise. + (test-xfail-ISO99/stdio.h/linknamespace): Likewise. + (test-xfail-ISO99/tgmath.h/linknamespace): Likewise. + (test-xfail-ISO11/complex.h/linknamespace): Likewise. + (test-xfail-ISO11/ctype.h/linknamespace): Likewise. + (test-xfail-ISO11/math.h/linknamespace): Likewise. + (test-xfail-ISO11/signal.h/linknamespace): Likewise. + (test-xfail-ISO11/stdio.h/linknamespace): Likewise. + (test-xfail-ISO11/tgmath.h/linknamespace): Likewise. + (test-xfail-XPG3/ctype.h/linknamespace): Likewise. + (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise. + (test-xfail-XPG3/glob.h/linknamespace): Likewise. + (test-xfail-XPG3/math.h/linknamespace): Likewise. + (test-xfail-XPG3/regex.h/linknamespace): Likewise. + (test-xfail-XPG3/search.h/linknamespace): Likewise. + (test-xfail-XPG3/stdio.h/linknamespace): Likewise. + (test-xfail-XPG3/time.h/linknamespace): Likewise. + (test-xfail-XPG3/unistd.h/linknamespace): Likewise. + (test-xfail-XPG3/wordexp.h/linknamespace): Likewise. + (test-xfail-XPG4/ctype.h/linknamespace): Likewise. + (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise. + (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise. + (test-xfail-XPG4/glob.h/linknamespace): Likewise. + (test-xfail-XPG4/grp.h/linknamespace): Likewise. + (test-xfail-XPG4/libgen.h/linknamespace): Likewise. + (test-xfail-XPG4/math.h/linknamespace): Likewise. + (test-xfail-XPG4/netdb.h/linknamespace): Likewise. + (test-xfail-XPG4/pwd.h/linknamespace): Likewise. + (test-xfail-XPG4/regex.h/linknamespace): Likewise. + (test-xfail-XPG4/search.h/linknamespace): Likewise. + (test-xfail-XPG4/stdio.h/linknamespace): Likewise. + (test-xfail-XPG4/stdlib.h/linknamespace): Likewise. + (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise. + (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise. + (test-xfail-XPG4/syslog.h/linknamespace): Likewise. + (test-xfail-XPG4/time.h/linknamespace): Likewise. + (test-xfail-XPG4/unistd.h/linknamespace): Likewise. + (test-xfail-XPG4/wordexp.h/linknamespace): Likewise. + (test-xfail-POSIX/aio.h/linknamespace): Likewise. + (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise. + (test-xfail-POSIX/glob.h/linknamespace): Likewise. + (test-xfail-POSIX/math.h/linknamespace): Likewise. + (test-xfail-POSIX/mqueue.h/linknamespace): Likewise. + (test-xfail-POSIX/pthread.h/linknamespace): Likewise. + (test-xfail-POSIX/regex.h/linknamespace): Likewise. + (test-xfail-POSIX/sched.h/linknamespace): Likewise. + (test-xfail-POSIX/semaphore.h/linknamespace): Likewise. + (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise. + (test-xfail-POSIX/time.h/linknamespace): Likewise. + (test-xfail-POSIX/unistd.h/linknamespace): Likewise. + (test-xfail-POSIX/wordexp.h/linknamespace): Likewise. + (test-xfail-UNIX98/aio.h/linknamespace): Likewise. + (test-xfail-UNIX98/ctype.h/linknamespace): Likewise. + (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise. + (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise. + (test-xfail-UNIX98/glob.h/linknamespace): Likewise. + (test-xfail-UNIX98/grp.h/linknamespace): Likewise. + (test-xfail-UNIX98/libgen.h/linknamespace): Likewise. + (test-xfail-UNIX98/math.h/linknamespace): Likewise. + (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise. + (test-xfail-UNIX98/netdb.h/linknamespace): Likewise. + (test-xfail-UNIX98/pthread.h/linknamespace): Likewise. + (test-xfail-UNIX98/pwd.h/linknamespace): Likewise. + (test-xfail-UNIX98/regex.h/linknamespace): Likewise. + (test-xfail-UNIX98/sched.h/linknamespace): Likewise. + (test-xfail-UNIX98/search.h/linknamespace): Likewise. + (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise. + (test-xfail-UNIX98/stdio.h/linknamespace): Likewise. + (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise. + (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise. + (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise. + (test-xfail-UNIX98/syslog.h/linknamespace): Likewise. + (test-xfail-UNIX98/time.h/linknamespace): Likewise. + (test-xfail-UNIX98/unistd.h/linknamespace): Likewise. + (test-xfail-UNIX98/wchar.h/linknamespace): Likewise. + (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/math.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/search.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/time.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise. + (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise. + (test-xfail-POSIX2008/aio.h/linknamespace): Likewise. + (test-xfail-POSIX2008/complex.h/linknamespace): Likewise. + (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise. + (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise. + (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise. + (test-xfail-POSIX2008/grp.h/linknamespace): Likewise. + (test-xfail-POSIX2008/math.h/linknamespace): Likewise. + (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise. + (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise. + (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise. + (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise. + (test-xfail-POSIX2008/regex.h/linknamespace): Likewise. + (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise. + (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise. + (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise. + (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise. + (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise. + (test-xfail-POSIX2008/time.h/linknamespace): Likewise. + (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise. + (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise. + + [BZ #17589] + * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead + of fgets_unlocked. + + [BZ #17585] + * string/memmem.c [!_LIBC] (__memmem): Define to memmem. + (memmem): Rename to __memmem and define as weak alias of + __memmem. Use libc_hidden_weak. + (__memmem): Use libc_hidden_def. + * include/string.h (__memmem): Declare. Use libc_hidden_proto. + * locale/findlocale.c (valid_locale_name): Use __memmem instead of + memmem. + + [BZ #17582] + * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO] + (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def. + * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked + and define as weak alias of __fgets_unlocked. Use + libc_hidden_weak. + (__fgets_unlocked): Use libc_hidden_def. + * include/stdio.h (__fgets_unlocked): Declare. Use + libc_hidden_proto. + * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use + __fgets_unlocked instead of fgets_unlocked. + * sysdeps/unix/sysv/linux/alpha/getsysstats.c + (GET_NPROCS_CONF_PARSER): Likewise. + * sysdeps/unix/sysv/linux/sparc/getsysstats.c + (GET_NPROCS_CONF_PARSER): Likewise. + + [BZ #17574] + * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as + weak alias of __wmemset. Use libc_hidden_weak. + (__wmemset): Use libc_hidden_def. + * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto. + * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead + of wmemset. + + [BZ #17573] + * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare + with asm name __mempcpy. + [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy. + + [BZ #17572] + * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr + and define as weak alias of __rawmemchr. + (__rawmemchr): Do not define as strong alias of rawmemchr. + + [BZ #17571] + * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak + alias of __qsort_r. + (qsort): Call __qsort_r instead of qsort_r. + * include/stdlib.h (qsort_r): Do not call libc_hidden_proto. + (__qsort_r): Declare. Call libc_hidden_proto. + * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r + instead of qsort_r. + * nscd/gai.c (__qsort_r): Define to qsort_r. + * posix/tst-rfc3484.c (__qsort_r): Likewise. + * posix/tst-rfc3484-2.c (__qsort_r): Likewise. + * posix/tst-rfc3484-3.c (__qsort_r): Likewise. + + [BZ #17570] + * malloc/malloc.c (malloc_info): Rename to __malloc_info and + define as weak alias of __malloc_info. + + [BZ #17584] + * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define + as weak alias of __rewinddir. Don't use libc_hidden_def. + (__rewinddir): Use libc_hidden_def. + * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define + as weak alias of __rewinddir. Don't use libc_hidden_def. + (__rewinddir): Use libc_hidden_def. + * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as + weak alias of __rewinddir. Don't use libc_hidden_def. + (__rewinddir): Use libc_hidden_def. + * include/dirent.h (rewinddir): Don't use libc_hidden_proto. + (__rewinddir): Use libc_hidden_proto. + * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to + rewinddir. + (__getcwd): Use __rewinddir instead of rewinddir. + + [BZ #17583] + * libio/fileno.c (fileno): Rename to __fileno and define as weak + alias of __fileno. Use libc_hidden_weak. + (__fileno): Use libc_hidden_def. + [weak_alias] (fileno_unlocked): Define as weak alias of __fileno. + * libio/ftello.c (ftello): Rename to __ftello and define as weak + alias of __ftello. + [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of + __ftello. + * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO] + (__fread_unlocked): Define as strong alias of _IO_fread. Use + libc_hidden_def. + (fread_unlocked): Don't use libc_hidden_ver. + * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked + and define as weak alias of __fread_unlocked. Don't use + libc_hidden_def. + (__fread_unlocked): Use libc_hidden_def. + * include/stdio.h (__fileno): Declare. Use libc_hidden_proto. + (ftello): Don't use libc_hidden_proto. + (__ftello): Declare. Use libc_hidden_proto. + (fread_unlocked): Don't use libc_hidden_proto. + (__fread_unlocked): Declare. Use libc_hidden_proto. + * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked + and __ftello instead of fileno, fread_unlocked and ftello. + +2012-11-12 Siddhesh Poyarekar + + * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of + GOT12. + * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address): + Likewise. + (_dl_start_user): Likewise. + * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise. + +2014-11-12 Carlos O'Donell + Siddhesh Poyarekar + + * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user): + Move argv and envp down instead of moving argc up. + * sysdeps/s390/s390-32/dl-sysdep.h: New file. + +2014-11-12 Leonhard Holz + + [BZ #17506] + * test-skeleton.c (main): Return successful if one of + EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given. + * string/tst-strcoll-overflow.c: Define expected status. + +2014-11-12 Tatiana Udalova + + [BZ #17475] + * locale/iso-639.def: Define Bhili and Tulu language codes. + +2014-11-11 Alan Hayward + + * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file. + +2014-11-10 Renlin Li + + [BZ #17555] + * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment. + +2014-11-10 Andrew Senkevich + + * configure.ac: Updated check of minimal required version to + 2.22. + * manual/install.texi (Tools for Compilation): Updated version + number. + * configure: Regenerated. + * INSTALL: Likewise. + +2014-11-07 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove + __tls_get_addr. + +2014-11-07 Joseph Myers + + * include/sys/wait.h (__libc_waitpid): Remove declaration. + * posix/waitpid.c (__libc_waitpid): Rename to __waitpid. + (__waitpid): Don't define as alias. Use libc_hidden_def not + libc_hidden_weak. + (waitpid): Define as alias of __waitpid. + * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to + __waitpid. + (__waitpid): Don't define as alias. Use libc_hidden_def not + libc_hidden_weak. + (waitpid): Define as alias of __waitpid. + * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove + __libc_waitpid alias. + * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise. + * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid): + Likewise. + * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise. + * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise. + * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove + alias. + * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to + __waitpid. + (__waitpid): Don't define as alias. Use libc_hidden_def not + libc_hidden_weak. + (waitpid): Define as alias of __waitpid. + +2014-11-06 Carlos O'Donell + + * manual/llio.texi: Add comment that write safety has been + fixed in Linux. + + * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so. + (localplt-build-dso): Add elf/ld.so. + * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr + i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc, + and free for ld.so. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add + __libc_memalign, malloc, calloc, realloc, and free for ld.so. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: + Likewise. + * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise. + * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore + version, __libc_memalign, malloc, calloc, realloc and free for ld.so. + * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise. + * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise. + * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise. + * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise. + * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise. + * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise. + +2014-11-05 Joseph Myers + + [BZ #14132] + * include/libc-symbols.h (INTUSE): Remove macro. + (INTDEF): Likewise. + (INTVARDEF): Likewise. + (_INTVARDEF): Likewise. + (INTDEF2): Likewise. + (INTVARDEF2): Likewise. + * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use + rtld_hidden_def instead of INTVARDEF. + * sysdeps/generic/ldsodefs.h [IS_IN_rtld] + (_dl_starting_up_internal): Remove declaration. + (_dl_starting_up): Use rtld_hidden_proto. + * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove + declaration. + [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise. + (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with + _dl_starting_up. + * elf/dl-writev.h (_dl_writev): Likewise. + * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS] + (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of + _dl_starting_up_internal. + +2014-11-05 Adhemerval Zanella + + * stdio-common/tst-fmemopen.c (do_test): Refactor to use + test-skeleton.c. + +2014-11-05 Will Newton + + * benchtests/Makefile: (bench-malloc): Add malloc thread + scalability benchmark. + * benchtests/bench-malloc-threads.c: New file. + +2014-11-05 Richard Earnshaw + + * sysdeps/aarch64/strchrnul.S: New file. + +2014-11-05 Adhemerval Zanella + + * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify + definition. + * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1): + Likewise. + * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1): + Likewise. + * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1): + Likewise. + * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1): + Likewise. + * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1): + Likewise. + +2014-11-05 Arjun Shankar + + * catgets/test-gencat.c: Use test-skeleton.c. + * catgets/tst-catgets.c: Likewise. + * csu/tst-empty.c: Likewise. + * elf/tst-audit2.c: Likewise. + * elf/tst-global1.c: Likewise. + * elf/tst-pathopt.c: Likewise. + * elf/tst-piemod1.c: Likewise. + * elf/tst-tls10.c: Likewise. + * elf/tst-tls11.c: Likewise. + * elf/tst-tls12.c: Likewise. + * gnulib/tst-gcc.c: Likewise. + * iconvdata/tst-e2big.c: Likewise. + * iconvdata/tst-loading.c: Likewise. + * iconv/tst-iconv1.c: Likewise. + * iconv/tst-iconv2.c: Likewise. + * inet/test-inet6_opt.c: Likewise. + * inet/tst-gethnm.c: Likewise. + * inet/tst-network.c: Likewise. + * inet/tst-ntoa.c: Likewise. + * intl/tst-codeset.c: Likewise. + * intl/tst-gettext2.c: Likewise. + * intl/tst-gettext3.c: Likewise. + * intl/tst-ngettext.c: Likewise. + * intl/tst-translit.c: Likewise. + * io/test-stat.c: Likewise. + * libio/test-fmemopen.c: Likewise. + * libio/tst-freopen.c: Likewise. + * libio/tst-sscanf.c: Likewise. + * libio/tst-ungetwc1.c: Likewise. + * libio/tst-ungetwc2.c: Likewise. + * libio/tst-widetext.c: Likewise. + * localedata/tst-ctype.c: Likewise. + * localedata/tst-digits.c: Likewise. + * localedata/tst-leaks.c: Likewise. + * localedata/tst-mbswcs1.c: Likewise. + * localedata/tst-mbswcs2.c: Likewise. + * localedata/tst-mbswcs3.c: Likewise. + * localedata/tst-mbswcs4.c: Likewise. + * localedata/tst-mbswcs5.c: Likewise. + * localedata/tst-setlocale.c: Likewise. + * localedata/tst-trans.c: Likewise. + * localedata/tst-wctype.c: Likewise. + * localedata/tst-xlocale1.c: Likewise. + * login/tst-grantpt.c: Likewise. + * malloc/tst-calloc.c: Likewise. + * malloc/tst-malloc.c: Likewise. + * malloc/tst-mallocstate.c: Likewise. + * malloc/tst-mcheck.c: Likewise. + * malloc/tst-mtrace.c: Likewise. + * malloc/tst-obstack.c: Likewise. + * math/atest-exp2.c: Likewise. + * math/atest-exp.c: Likewise. + * math/atest-sincos.c: Likewise. + * math/test-matherr.c: Likewise. + * math/test-misc.c: Likewise. + * math/test-powl.c: Likewise. + * math/tst-definitions.c: Likewise. + * misc/tst-dirname.c: Likewise. + * misc/tst-efgcvt.c: Likewise. + * misc/tst-fdset.c: Likewise. + * misc/tst-hsearch.c: Likewise. + * misc/tst-mntent2.c: Likewise. + * nptl/tst-sem7.c: Likewise. + * nptl/tst-sem8.c: Likewise. + * nptl/tst-sem9.c: Likewise. + * nss/test-netdb.c: Likewise. + * posix/tst-fnmatch.c: Likewise. + * posix/tst-getlogin.c: Likewise. + * posix/tst-gnuglob.c: Likewise. + * posix/tst-mmap.c: Likewise. + * pwd/tst-getpw.c: Likewise. + * resolv/tst-inet_ntop.c: Likewise. + * rt/tst-timer.c: Likewise. + * stdio-common/test-fseek.c: Likewise. + * stdio-common/test-popen.c: Likewise. + * stdio-common/test-vfprintf.c: Likewise. + * stdio-common/tst-cookie.c: Likewise. + * stdio-common/tst-fileno.c: Likewise. + * stdio-common/tst-gets.c: Likewise. + * stdio-common/tst-obprintf.c: Likewise. + * stdio-common/tst-perror.c: Likewise. + * stdio-common/tst-sprintf2.c: Likewise. + * stdio-common/tst-sprintf3.c: Likewise. + * stdio-common/tst-sprintf.c: Likewise. + * stdio-common/tst-swprintf.c: Likewise. + * stdio-common/tst-tmpnam.c: Likewise. + * stdio-common/tst-unbputc.c: Likewise. + * stdio-common/tst-wc-printf.c: Likewise. + * stdlib/tst-environ.c: Likewise. + * stdlib/tst-fmtmsg.c: Likewise. + * stdlib/tst-limits.c: Likewise. + * stdlib/tst-rand48-2.c: Likewise. + * stdlib/tst-rand48.c: Likewise. + * stdlib/tst-random2.c: Likewise. + * stdlib/tst-random.c: Likewise. + * stdlib/tst-strtol.c: Likewise. + * stdlib/tst-strtoll.c: Likewise. + * stdlib/tst-tls-atexit.c: Likewise. + * stdlib/tst-xpg-basename.c: Likewise. + * string/test-ffs.c: Likewise. + * string/tst-bswap.c: Likewise. + * string/tst-inlcall.c: Likewise. + * string/tst-strtok.c: Likewise. + * string/tst-strxfrm.c: Likewise. + * sysdeps/x86_64/tst-audit10.c: Likewise. + * sysdeps/x86_64/tst-audit3.c: Likewise. + * sysdeps/x86_64/tst-audit4.c: Likewise. + * sysdeps/x86_64/tst-audit5.c: Likewise. + * time/tst-ftime_l.c: Likewise. + * time/tst-getdate.c: Likewise. + * time/tst-mktime3.c: Likewise. + * time/tst-mktime.c: Likewise. + * time/tst-posixtz.c: Likewise. + * time/tst-strptime2.c: Likewise. + * time/tst-strptime3.c: Likewise. + * wcsmbs/tst-btowc.c: Likewise. + * wcsmbs/tst-mbrtowc.c: Likewise. + * wcsmbs/tst-mbsrtowcs.c: Likewise. + * wcsmbs/tst-wchar-h.c: Likewise. + * wcsmbs/tst-wcpncpy.c: Likewise. + * wcsmbs/tst-wcrtomb.c: Likewise. + * wcsmbs/tst-wcsnlen.c: Likewise. + * wcsmbs/tst-wcstof.c: Likewise. + +2014-11-04 Joseph Myers + + [BZ #14132] + * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of + INTDEF. + * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove + declaration. + (_dl_mcount): Use rtld_hidden_proto. + * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with + _dl_mcount. + * elf/rtld.c (_rtld_global_ro): Likewise. + + [BZ #14132] + * elf/dl-init.c (_dl_init): Don't use INTDEF. + * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead + of _dl_init_internal. + * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise. + * sysdeps/arm/dl-machine.h (RTLD_START): Likewise. + * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise. + * sysdeps/i386/dl-machine.h (RTLD_START): Likewise. + * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise. + * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise. + * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise. + * sysdeps/mips/dl-machine.h (RTLD_START): Likewise. + * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise. + * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise. + * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise. + * sysdeps/sh/dl-machine.h (RTLD_START): Likewise. + * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise. + * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise. + * sysdeps/tile/dl-start.S (_start): Likewise. + * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise. + * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise. + + [BZ #14132] + * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto. + [IS_IN_rtld] (_dl_argv_internal): Do not declare. + (rtld_progname): Make macro definition unconditional. + * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of + INTDEF. + (dlmopen_doit): Do not use INTUSE with _dl_argv. + (dl_main): Likewise. + * elf/dl-sysdep.c (_dl_sysdep_start): Likewise. + * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv + instead of _dl_argv_internal. + * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use + __GI__dl_argv instead of INTUSE(_dl_argv). + * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use + __GI__dl_argv instead of _dl_argv_internal. + + * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro. + * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New + macro. + [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise. + * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E): + New macro. + [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise. + * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New + macro. + [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise. + * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro. + +2014-11-04 Andreas Schwab + + * posix/regex_internal.h: Don't include . + +2014-11-03 Adhemerval Zanella + + * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode + mtvsrd instruction in binary form. + +2014-11-03 Andreas Schwab + + [BZ #17522] + * libio/wfileops.c (_IO_wdo_write): If the file buffer has room + for less than MB_LEN_MAX use a local buffer of that size. + * libio/tst-fputws.c: New file. + * libio/Makefile (tests): Add tst-fputws. + +2014-11-01 Jose E. Marchesi + + * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix + the size of the fpu_fr.fpu_dregs[] array. + +2014-11-01 Joseph Myers + + * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep. + (__nanosleep): Do not define as alias. + (nanosleep): Define as alias of __nanosleep. + * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove + __libc_nanosleep name. + +2014-10-31 Joseph Myers + + * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update + install.texi in comment. + +2014-10-31 Torvald Riegel + + * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and... + * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier): + ... add here and use lwsync or sync ... + * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier): + ... and add here using lwsync. + +2014-10-31 Matthew Fortune + + * elf/dl-machine-reject-phdr.h: New file. + * elf/dl-load.c: #include that. + (open_verify): Call elf_machine_reject_phdr_p and ignore the file + if that returned true. + +2014-10-31 Roland McGrath + + [BZ #17496] + * Makerules: Move gnu/lib-names.h generation chunk up, to right after + gen-as-const-headers chunk. Add a big scare comment after the last + safe place to touch before-compile. + +2014-10-31 Joseph Myers + + * manual/install.texi (Tools for Compilation): Update autoconf + version requirements. + * INSTALL: Regenerated. + + * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias. + * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6] + (__libc_pselect): Likewise. + + [BZ #14138] + * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise. + +2014-10-31 Torvald Riegel + + * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use + correct barrier instruction. + * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier): + Likewise. + * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier): + Likewise. + +2014-10-30 Roland McGrath + + * include/ctype.h: Include first thing rather than + after defining inlines. Instead, just use parens to defeat macro + expansion of __isctype in its declaration. + +2014-10-30 Joseph Myers + + * include/sys/uio.h (__libc_readv): Remove declaration. + (__libc_writev): Likewise. + * misc/readv.c (__libc_readv): Rename to __readv. + (__readv): Do not define as alias. + (readv): Define as alias of __readv. + * misc/writev.c (__libc_writev): Rename to __writev. + (__writev): Do not define as alias. + (writev): Define as alias of __writev. + * sysdeps/posix/readv.c (__libc_readv): Rename to __readv. + (__readv): Do not define as alias. + (readv): Define unconditionally as alias of __readv. + * sysdeps/posix/writev.c (__libc_writev): Rename to __writev. + (__writev): Do not define as alias. + (writev): Define unconditionally as alias of __writev. + * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv + name. + (writev): Do not define __libc_writev name. + +2014-10-30 Roland McGrath + + * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const. + (convert_charseq): New function, broken out of ... + (use_from_charmap): ... here. Call it. + (use_to_charmap): Use convert_charseq and free instead of duplicating + its code with a variable-length stack struct. + +2014-10-30 Joseph Myers + + * include/fcntl.h (__libc_creat): Remove declaration. + * io/creat.c (__libc_creat): Rename to creat. + (creat): Do not define as alias. + * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias + of creat instead of __libc_creat. + * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename + to creat. + (creat): Do not define as alias. + [__WORDSIZE == 64] (creat64): Define as alias of creat instead of + __libc_creat. + * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define + __libc_creat name. + * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat): + Likewise. + +2014-10-29 Carlos O'Donell + + * manual/llio.texi: Add comments discussing why write() may be + considered MT-unsafe on Linux. + +2014-10-28 Carlos O'Donell + + * dl-load.c (local_strdup): Remove. + (expand_dynamic_string_token): Use __strdup. + (decompose_rpath): Likewise. + (_dl_map_object): Likewise. + +2014-10-28 Joseph Myers + + [BZ #14132] + * sysdeps/generic/unwind-dw2-fde.c + (__register_frame_info_bases_internal): Do not declare. + (__register_frame_info_table_bases_internal): Likewise. + (__deregister_frame_info_bases_internal): Likewise. + (__register_frame_info_bases): Declare and use hidden_proto before + definition. Use hidden_def instead of INTDEF. + (__register_frame_info_table_bases): Likewise. + (__deregister_frame_info_bases): Likewise. + (__register_frame_info): Do not use INTUSE. + (__register_frame): Likewise. + (__register_frame_info_table): Likewise. + (__register_frame_table): Likewise. + (__deregister_frame_info): Likewise. + (__deregister_frame): Likewise. + +2014-10-27 Gratian Crisan + + * sysdeps/unix/sysv/linux/arm/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do + not undefine. + [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST): + Likewise. + +2014-10-27 Joseph Myers + + [BZ #14138] + * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file. + * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise. + * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise. + * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise. + * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add + syscall. + (setfsuid): Likewise. + * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise. + (setfsuid): Likewise. + * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise. + (setfsuid): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid): + Likewise. + (setfsuid): Likewise. + * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise. + (setfsuid): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid): + Likewise. + (setfsuid): Likewise. + +2014-10-27 Andreas Schwab + + [BZ #17501] + * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix + check for Slow_SSE4_2 feature bit. + * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise. + * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise. + * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp): + Likewise. Fix check for Fast_Unaligned_Load feature bit. + +2014-10-24 Roland McGrath + + * configure.ac: Validate compiler version with a empirical test of + __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping + $CC -v output. + * configure: Regenerated. + + * inet/htons.c (htons): Prototypify. + * inet/htonl.c (htonl): Likewise. + +2014-10-24 Wilco Dijkstra + + * string/strncat.c (strncat): Improve performance by using strlen. + +2014-10-24 Wilco Dijkstra + + * string/strcat.c (strcat): Improve performance by using strlen/strcpy. + +2014-10-24 Wilco Dijkstra + + * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag): + Call libc_fetestexcept_aarch64. + +2014-10-24 Wilco Dijkstra + + * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): + Call libc_feholdexcept_aarch64. + +2014-10-24 Wilco Dijkstra + + * sysdeps/aarch64/fpu/fegetround.c (fegetround): + Call get_rounding_mode. + +2014-10-24 Wilco Dijkstra + + * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): + Simplify logic. + +2014-10-24 Wilco Dijkstra + + * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): + Simplify logic. + +2014-10-24 Joseph Myers + + [BZ #14138] + * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file. + * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise. + * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise. + * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise. + * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise. + * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise. + * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise. + * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise. + * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise. + * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise. + * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise. + * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise. + * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise. + * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise. + * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add + syscall. + (geteuid): Likewise. + (getgid): Likewise. + (getuid): Likewise. + (getresgid): Likewise. + (getresuid): Likewise. + (getgroups): Likewise. + * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise. + (geteuid): Likewise. + (getgid): Likewise. + (getuid): Likewise. + (getresgid): Likewise. + (getresuid): Likewise. + (getgroups): Likewise. + * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise. + (geteuid): Likewise. + (getgid): Likewise. + (getuid): Likewise. + (getresgid): Likewise. + (getresuid): Likewise. + (getgroups): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid): + Likewise. + (geteuid): Likewise. + (getgid): Likewise. + (getuid): Likewise. + (getresgid): Likewise. + (getresuid): Likewise. + (getgroups): Likewise. + * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise. + (geteuid): Likewise. + (getgid): Likewise. + (getuid): Likewise. + (getresgid): Likewise. + (getresuid): Likewise. + (getgroups): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid): + Likewise. + (geteuid): Likewise. + (getgid): Likewise. + (getuid): Likewise. + (getgroups): Likewise. + + [BZ #14138] + * sysdeps/unix/sysv/linux/i386/chown.c: Remove file. + * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise. + * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file. + * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise. + * sysdeps/unix/sysv/linux/sh/chown.c: Likewise. + * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise. + * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add + __chown. + * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall. + (lchown): Likewise. + (fchown): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown): + Likewise. + (lchown): Likewise. + (fchown): Likewise. + * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise. + (lchown): Likewise. + (fchown): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown): + Likewise. + (lchown): Likewise. + (fchown): Likewise. + +2014-10-23 Wilco Dijkstra + + * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): + Simplify logic. + +2014-10-23 Wilco Dijkstra + + * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag): + Cleanup logic. + +2014-10-23 Wilco Dijkstra + + * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag): + Remove unused include. + +2014-10-23 Wilco Dijkstra + + * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces. + * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces. + * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces. + * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces. + +2014-10-23 Carlos O'Donell + Helge Deller + + [BZ #17508] + * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT. + Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12. + Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32. + +2014-10-23 Joseph Myers + + [BZ #14132] + * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20): + Remove macro definition. + (__ashrdi3_v_glibc20): Likewise. + (__lshrdi3_v_glibc20): Likewise. + (__cmpdi2_v_glibc20): Likewise. + (__ucmpdi2_v_glibc20): Likewise. + [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise. + [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise. + [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise. + [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise. + [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise. + [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise. + +2014-10-22 Roland McGrath + + * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than + old GNU extension [0] syntax. + * nscd/nscd_helper.c (open_socket): Use a flexible array member and + alloca rather than an array member with variable length. + * nscd/netgroupcache.c (addgetnetgrentX): Likewise. + * nscd/nscd.c (invalidate_db): New function, broken out of ... + (parse_opt): ... here. Likewise use alloca there. + Validate the -i argument before checking for rootness. + (send_shutdown): New function, broken out of ... + (parse_opt): ... here. + +2014-10-22 Roland McGrath + + * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL + macro to get at the _rt_local_ro field. + [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro + ([PIC] case) or _dl_hwcap ([!PIC] case). + * sysdeps/arm/setjmp.S: Likewise. + + * config.h.in (ARM_PCREL_MOVW_OK): New macro. + * sysdeps/arm/configure.ac: New check to define it. + * sysdeps/arm/configure: Regenerated. + * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include . + (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros. + (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions + depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__]. + (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]: + Use move/movt pair instead of a load. + (LDST_GLOBAL): Macro removed. + (LDR_GLOBAL): New macro replaces it. + (LDR_HIDDEN): New macro. + (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL. + Use LDR_HIDDEN instead for __pointer_chk_guard_local. + + * setjmp/tst-setjmp-static.c: New file. + * setjmp/Makefile (tests): Add it. + (tests-static): New variable. + +2014-10-22 Maciej W. Rozycki + + [BZ #17485] + * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define. + +2014-10-21 Joseph Myers + + [BZ #14132] + * math/s_ldexpf.c (__ldexpf): Do not use INTDEF. + +2014-10-21 Roland McGrath + + * nptl/version.c (__nptl_main): Call __libc_write, not __write. + +2014-10-20 Roland McGrath + + * io/fts.c (dirent_not_directory): New function. + (fts_build): Call it. + +2014-10-20 Roland McGrath + + * nptl/version.c (__nptl_main): Use normal __write rather than + INTERNAL_SYSCALL. + (banner): Update copyright years. + + * nptl/pthread_rwlock_timedrdlock.c: #include before using + gettimeofday. + * nptl/pthread_rwlock_timedwrlock.c: Likewise. + * nptl/pthread_cond_timedwait.c: Likewise. + * nptl/pthread_mutex_timedlock.c: Likewise. + * nptl/sem_timedwait.c: Likewise. + + * sysdeps/nptl/bits/libc-lock.h + [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)] + (__libc_lock_init_recursive): Return void, not 0. + * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise. + (__libc_rwlock_init): Likewise. + * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise. + +2014-10-20 Torvald Riegel + + [BZ #15215] + * nptl/pthread_once.c (__pthread_once): Split out fast path to ... + (__pthread_once_slow): ... here. + * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file. + * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file. + +2014-10-20 Torvald Riegel + + [BZ #15215] + * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE, + __PTHREAD_ONCE_FORK_GEN_INCR): New. + * sysdeps/nptl/fork.c (__libc_fork): Use them. + * nptl/pthread_once.c (__pthread_once): Likewise. + Update comments. + +2014-10-20 Joseph Myers + + [BZ #14138] + * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong + name. + (writev): Use __libc_writev as strong name. + * sysdeps/unix/sysv/linux/readv.c: Remove file. + * sysdeps/unix/sysv/linux/writev.c: Likewise. + +2014-10-17 Roland McGrath + + * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed. + + * sysdeps/i386/nptl/tls.h + (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed. + [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): + New macros. + * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO] + (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros. + * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]: + Call SETUP_THREAD_SYSINFO instead of doing an assignment. + * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]: + Call CHECK_THREAD_SYSINFO instead of doing an assert. + + * nptl/nptl-init.c (__pthread_initialize_minimal_internal): + Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes + on [__NR_futex]. + * nptl/pthread_mutex_init.c (prio_inherit_missing): New function, + broken out of ... + (__pthread_mutex_init): ... here. Call it. + * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): + Conditionalize PI cases on [__NR_futex]. + * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise. + * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise. + * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise. + + * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions + conditional on [SIGSETXID]. + (sigcancel_handler): Make definition conditional on [SIGCANCEL]. + (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it + is defined. Likewise for SIGSETXID. + * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread): + Conditionalize definitions on [SIGSETXID]. + (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise. + * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL + unblocking on [SIGCANCEL]. + + * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on + [__NR_set_robust_list]. + +2014-10-17 Siddhesh Poyarekar + + * string/strcoll_l.c (get_next_seq): Fix up formatting. + (do_compare): Likewise. + +2014-10-17 Leonhard Holz + + [BZ #15884] + * string/strcoll_l.c: Don't include stdio.h. + (coll_seq): Remove members idxarr and rulearr. + (get_next_seq_cached): Remove function. + (get_next_seq): Likewise. + (get_next_seq_nocache): Rename to get_next_seq. + (do_compare): Remove function. + (do_compare_nocache): Rename to do_compare. + (STRCOLL): Remove weight and rules cache. + +2014-10-16 Roland McGrath + + * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ... + * sysdeps/arm/sfp-machine.h: ... to here. + * sysdeps/arm/Implies: Remove arm/soft-fp. + +2014-10-14 Joseph Myers + + * conform/data/sys/utsname.h-data (*_t): Allow. + * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define. + [POSIX] (WEXITED): Do not expect constant. + [POSIX] (WSTOPPED): Likewise. + [POSIX] (WNOHANG): Likewise. + [POSIX] (WNOWAIT): Likewise. + [POSIX] (siginfo_t): Do not expect type or elements. + [POSIX] (pid_t): Do not expect type. + [POSIX] (signal.h): Do not allow header. + [POSIX] (sys/resource.h): Likewise. + [POSIX] (si_*): Do not allow pattern. + [POSIX] (W*): Likewise. + [POSIX] (P_*): Likewise. + [POSIX] (BUS_*): Likewise. + [POSIX] (CLD_*): Likewise. + [POSIX] (FPE_*): Likewise. + [POSIX] (ILL_*): Likewise. + [POSIX] (POLL_*): Likewise. + [POSIX] (SEGV_*): Likewise. + [POSIX] (SI_*): Likewise. + [POSIX] (TRAP_*): Likewise. + * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New + variable. + +2014-10-14 Paul Pluzhnikov + + [BZ #12926] + * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid + infinite loop when __recvmsg returns 0. + +2014-10-10 Joseph Myers + + * CANCEL-FCT-WAIVE: Remove file. + * CANCEL-FILE-WAIVE: Likewise. + + [BZ #14132] + * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def + instead of INTVARDEF. + (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure. + * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use + rtld_hidden_data_def instead of INTVARDEF. + (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure. + * elf/dl-deps.c (expand_dst): Likewise. + * elf/dl-load.c (_dl_dst_count): Likewise. + (_dl_dst_substitute): Likewise. + (decompose_rpath): Likewise. + (_dl_init_paths): Likewise. + (open_path): Likewise. + (_dl_map_object): Likewise. + * elf/rtld.c (dl_main): Likewise. + (process_dl_audit): Likewise. + (process_envvars): Likewise. + * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal): + Remove declaration. + (__libc_enable_secure): Use rtld_hidden_proto. + +2014-10-09 Kostya Serebryany + + * elf/dl-load.c + (add_path): New function broken out of _dl_rtld_di_serinfo. + (_dl_rtld_di_serinfo): Remove that nested function. Update call sites. + +2014-10-09 Joseph Myers + + * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use + parentheses around macro arguments. + [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise. + [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise. + [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise. + * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E): + Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise. + [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise. + [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise. + * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise. + (_FP_FRAC_SRS_1): Likewise. + (_FP_FRAC_CLZ_1): Likewise. + (_FP_MUL_MEAT_1_imm): Likewise. + (_FP_MUL_MEAT_1_wide): Likewise. + (_FP_MUL_MEAT_1_hard): Likewise. + (_FP_SQRT_MEAT_1): Likewise. + (_FP_FRAC_ASSEMBLE_1): Likewise. + (_FP_FRAC_DISASSEMBLE_1): Likewise. + * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise. + (__FP_CLZ_2): Likewise. + (_FP_MUL_MEAT_2_wide): Likewise. + (_FP_MUL_MEAT_2_wide_3mul): Likewise. + (_FP_MUL_MEAT_2_gmp): Likewise. + (_FP_MUL_MEAT_2_120_240_double): Likewise. + (_FP_SQRT_MEAT_2): Likewise. + (_FP_FRAC_ASSEMBLE_2): Likewise. + (_FP_FRAC_DISASSEMBLE_2): Likewise. + * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise. + (_FP_FRAC_CLZ_4): Likewise. + (_FP_MUL_MEAT_4_wide): Likewise. + (_FP_MUL_MEAT_4_gmp): Likewise. + (_FP_SQRT_MEAT_4): Likewise. + (_FP_FRAC_ASSEMBLE_4): Likewise. + (_FP_FRAC_DISASSEMBLE_4): Likewise. + * soft-fp/op-common.h (_FP_CMP): Likewise. + (_FP_CMP_EQ): Likewise. + (_FP_CMP_UNORD): Likewise. + (_FP_TO_INT): Likewise. + (_FP_FROM_INT): Likewise. + [!__FP_CLZ] (__FP_CLZ): Likewise. + (_FP_DIV_HELP_imm): Likewise. + * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q): + Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise. + [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise. + [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise. + [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise. + [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise. + * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise. + (FP_UNPACK_RAW_SP): Likewise. + (FP_PACK_RAW_S): Likewise. + (FP_PACK_RAW_SP): Likewise. + (FP_UNPACK_S): Likewise. + (FP_UNPACK_SP): Likewise. + (FP_UNPACK_SEMIRAW_S): Likewise. + (FP_UNPACK_SEMIRAW_SP): Likewise. + (FP_PACK_S): Likewise. + (FP_PACK_SP): Likewise. + (FP_PACK_SEMIRAW_S): Likewise. + (FP_PACK_SEMIRAW_SP): Likewise. + (_FP_SQRT_MEAT_S): Likewise. + (FP_CMP_S): Likewise. + (FP_CMP_EQ_S): Likewise. + (FP_CMP_UNORD_S): Likewise. + (FP_TO_INT_S): Likewise. + (FP_FROM_INT_S): Likewise. + + * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2. + + * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro. + (FP_EX_INVALID_IMZ): Likewise. + (FP_EX_INVALID_IMZ_FMA): Likewise. + (FP_EX_INVALID_ISI): Likewise. + (FP_EX_INVALID_ZDZ): Likewise. + (FP_EX_INVALID_IDI): Likewise. + (FP_EX_INVALID_SQRT): Likewise. + (FP_EX_INVALID_CVI): Likewise. + (FP_EX_INVALID_VC): Likewise. + * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise + "invalid" exceptions. + (_FP_CHECK_SIGNAN_SEMIRAW): Likewise. + (_FP_ADD_INTERNAL): Likewise. + (_FP_MUL): Likewise. + (_FP_FMA): Likewise. + (_FP_DIV): Likewise. + (_FP_CMP_CHECK_NAN): Likewise. + (_FP_SQRT): Likewise. + (_FP_TO_INT): Likewise. + (FP_EXTEND): Likewise. + +2014-10-09 Allan McRae + + * po/fr.po: Update French translation from translation project. + +2014-10-09 Joseph Myers + + [BZ #14132] + * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead + of INTDEF. + * include/stdlib.h (__cxa_atexit_internal): Remove declaration. + (__cxa_atexit): Use libc_hidden_proto. + [!NOT_IN_libc] (__cxa_atexit): Remove macro definition. + + [BZ #14132] + * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove + declaration. + [!_ISOMAC] (__iswdigit_l_internal): Likewise. + [!_ISOMAC] (__iswspace_l_internal): Likewise. + [!_ISOMAC] (__iswxdigit_l_internal): Likewise. + [!_ISOMAC] (__iswctype_internal): Likewise. + * stdio-common/siglist.c (_sys_siglist_internal): Remove alias. + * sysdeps/unix/syscalls.list (chown): Remove __chown_internal + alias. + (fcntl): Remove __fcntl_internal alias. + * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove + __connect_internal alias. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect): + Likewise. + + * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro. + * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check + FP_DENORM_ZERO. + (_FP_CHECK_FLUSH_ZERO): New macro. + (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO. + (_FP_CMP): Likewise. + (_FP_CMP_EQ): Likewise. + (_FP_TO_INT): Do not set inexact for subnormal arguments if + FP_DENORM_ZERO. + (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO. + (FP_TRUNC): Likewise. + + * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is + treated as invalid conversion, not as normal exponent. + + * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro. + (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN. + (_FP_CMP_EQ): Likewise. + (_FP_CMP_UNORD): Likewise. + * soft-fp/double.h (FP_CMP_D): Add extra argument EX. + (FP_CMP_EQ_D): Likewise. + (FP_CMP_UNORD_D): Likewise. + * soft-fp/extended.h (FP_CMP_E): Likewise. + (FP_CMP_EQ_E): Likewise. + (FP_CMP_UNORD_E): Likewise. + * soft-fp/quad.h (FP_CMP_Q): Likewise. + (FP_CMP_EQ_Q): Likewise. + (FP_CMP_UNORD_Q): Likewise. + * soft-fp/single.h (FP_CMP_S): Likewise. + (FP_CMP_EQ_S): Likewise. + (FP_CMP_UNORD_S): Likewise. + * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D. + * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S. + * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q. + * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D. + * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S. + * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q. + * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D. + * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S. + * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q. + * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D. + * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S. + * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q. + * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call + to FP_CMP_Q. + * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to + FP_CMP_Q. + * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to + FP_CMP_EQ_Q. + * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to + FP_CMP_Q. + * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to + FP_CMP_EQ_Q. + * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to + FP_CMP_Q. + * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to + FP_CMP_EQ_Q. + * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to + FP_CMP_Q. + * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to + FP_CMP_EQ_Q. + + * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces + a subnormal result, set the underflow exception if trapping on + underflow is enabled. + * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro. + (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS. + [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and + redefine to 0. + * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define. + * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise. + * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise. + * soft-fp/extendxftf2.c (__extendxftf2): Use + FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE. + + * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro. + * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS. + (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or + FP_HANDLE_EXCEPTIONS. + * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS. + (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or + FP_HANDLE_EXCEPTIONS. + * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS. + (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or + FP_HANDLE_EXCEPTIONS. + * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS. + (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or + FP_HANDLE_EXCEPTIONS. + +2014-10-08 Joseph Myers + + [BZ #14132] + * sysdeps/unix/sysv/linux/include/sys/timex.h: New file. + * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not + use INTUSE. + [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration. + * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal): + Remove alias. + (__adjtimex): Define using libc_hidden_ver. + * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)): + Remove declaration. + (ntp_gettime): Call __adjtimex directly. + * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)): + Remove declaration. + (ntp_gettimex): Call __adjtimex directly. + * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove + __adjtimex_internal alias. + +2014-10-08 Roland McGrath + + [BZ #17460] + * nscd/nscd.c (more_help): Rewrite list of tables collection + using xstrdup and asprintf. + + * nscd/nscd_conf.c: Remove local xstrdup declaration. + +2014-10-08 Kostya Serebryany + Roland McGrath + + * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ... + (do_lookup_unique): ... local function 'enter' here; update callers. + +2014-10-06 Joseph Myers + + * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition + compat_symbol calls on [SHARED]. + * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file. + * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit): + Remove. + (setrlimit): Add setrlimit@GLIBC_2.0 alias. + * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list + (oldsetrlimit): Remove. + (setrlimit): Add setrlimit@GLIBC_2.0 alias. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list + (lchown): New syscall entry. + (oldsetrlimit): Remove. + (setrlimit): Add setrlimit@GLIBC_2.0 alias. + * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list + (oldsetrlimit): Remove. + (setrlimit): Add setrlimit@GLIBC_2.0 alias. + + [BZ #14138] + * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file. + * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise. + * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall. + (fchown): Likewise. + * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise. + (fchown): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown): + Likewise. + +2014-10-06 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file. + * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c + (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of + __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr. + * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post): + Likewise. + (__old_sem_post): Likewise. + +2014-10-06 Chris Metcalf + + * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define + INLINE_VSYSCALL, INTERNAL_VSYSCALL, and + HAVE_CLOCK_GETTIME_VSYSCALL macros. + * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday): + Use INLINE_VSYSCALL macro. + * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of + __vdso_clock_gettime. + * sysdeps/unix/sysv/linux/tile/init-first.c + (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global. + * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add + __vdso_clock_gettime. + + * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code + to set up frame more cleanly. + + * sysdeps/tile/memcmp.c: New file. + + * sysdeps/unix/sysv/linux/tile/sysconf.c: New file. + + * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro. + * sysdeps/tile/tilegx/strcasestr.c: New file. + * sysdeps/tile/tilegx/strnlen.c: New file. + * sysdeps/tile/tilegx/strstr.c: New file. + + * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize. + +2014-10-06 Arjun Shankar + + * nptl/tst-setuid3.c: Write errors to stdout. + +2014-10-01 Kostya Serebryany + + * elf/dl-deps.c + (preload): New functions broken out of _dl_map_object_deps. + (_dl_map_object_deps): Remove a nested function. Update call sites. + +2014-10-01 Joseph Myers + + [BZ #14138] + * sysdeps/unix/sysv/linux/execve.c: Remove file. + * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall. + +2014-10-01 Steve Ellcey + + * sysdeps/mips/strcmp.S: New. + +2014-09-30 Joseph Myers + + [BZ #14138] + * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall. + (linkat): Likewise. + (mkdirat): Likewise. + (readlinkat): Likewise. + (renameat): Likewise. + (symlinkat): Likewise. + (unlinkat): Likewise. + * sysdeps/unix/sysv/linux/fchownat.c: Remove file. + * sysdeps/unix/sysv/linux/linkat.c: Likewise. + * sysdeps/unix/sysv/linux/mkdirat.c: Likewise. + * sysdeps/unix/sysv/linux/readlinkat.c: Likewise. + * sysdeps/unix/sysv/linux/renameat.c: Likewise. + * sysdeps/unix/sysv/linux/symlinkat.c: Likewise. + * sysdeps/unix/sysv/linux/unlinkat.c: Likewise. + +2014-09-30 Will Newton + + * math/math.h: Define long double math functions if + _LIBC_TEST is defined. + * stdlib/tst-strtod-round.c: Define _LIBC_TEST. + + * localedata/Makefile: Move assignment to tests-special + into an ifdef testing run-built-tests. + * timezone/Makefile: Likewise. + +2014-09-29 Joseph Myers + + * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script + with $(BASH) not $(SHELL). + +2014-09-29 Carlos O'Donell + Matthew LeGendre + + [BZ #17411] + * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for + l_reloc_result. + +2014-09-29 Kostya Serebryany + + * stdio-common/printf_fp.c + (hack_digit): New function, broken out of ... + (__printf_fp): ... local function here. Update call sites. + hack_digit now takes an additional parameter that is a pointer + to a struct of the referenced locals. Those locals moved inside + the struct and references updated. + +2014-09-29 H.J. Lu + + * aclocal.m4: Require autoconf 2.69. + * configure: Regenerated. + * sysdeps/aarch64/configure: Likewise. + * sysdeps/alpha/configure: Likewise. + * sysdeps/arm/armv7/configure: Likewise. + * sysdeps/arm/configure: Likewise. + * sysdeps/ia64/configure: Likewise. + * sysdeps/mach/configure: Likewise. + * sysdeps/mips/configure: Likewise. + * sysdeps/s390/configure: Likewise. + * sysdeps/unix/sysv/linux/mips/configure: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise. + + * sysdeps/alpha/configure.ac: Avoid empty lines at the end of + file. + * sysdeps/ia64/configure.ac: Likewise. + +2014-09-26 Joseph Myers + + * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not + specify symbol version for ld.so. Do not include entry for + libpthread. + * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise. + + [BZ #14171] + * Makeconfig [$(build-shared) = yes] + ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in + makefiles. + [$(build-shared) = yes && $(soversions.mk-done) = t] + ($(common-objpfx)gnu/lib-names.h): Remove rule. + [$(build-shared) = yes && $(soversions.mk-done) = t] + ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved + to Makerules. + [$(build-shared) = yes && $(soversions.mk-done) = t] + (before-compile): Don't append $(common-objpfx)gnu/lib-names.h + here. + [$(build-shared) = yes && $(soversions.mk-done) = t] + (common-generated): Don't append gnu/lib-names.h and + gnu/lib-names.stmp here. + * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t] + (lib-names-h-abi): New variable. + [$(build-shared) = yes && $(soversions.mk-done) = t] + (lib-names-stmp-abi): Likewise. + [$(build-shared) = yes && $(soversions.mk-done) = t && + abi-variants] (before-compile): Append + $(common-objpfx)$(lib-names-h-abi). + [$(build-shared) = yes && $(soversions.mk-done) = t && + abi-variants] (common-generated): Append gnu/lib-names.h. + [$(build-shared) = yes && $(soversions.mk-done) = t && + abi-variants] (install-others-nosubdir): Depend on + $(inst_includedir)/$(lib-names-h-abi). + [$(build-shared) = yes && $(soversions.mk-done) = t && + abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule. + [$(build-shared) = yes && $(soversions.mk-done) = t] + ($(common-objpfx)$(lib-names-h-abi)): New rule. + [$(build-shared) = yes && $(soversions.mk-done) = t] + ($(common-objpfx)$(lib-names-stmp-abi)): Likewise. + [$(build-shared) = yes && $(soversions.mk-done) = t] + (common-generated): Append $(lib-names-h-abi) and + $(lib-names-stmp-abi). + * scripts/lib-names.awk: Do not handle multi being set. + * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname): + Remove variable. + (abi-lp64_be-ld-soname): Likewise. + * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname): + Likewise. + (abi-hard-ld-soname): Likewise. + * sysdeps/unix/sysv/linux/i386/shlib-versions: New file. + * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname): + Remove variable. + (abi-o32_hard-ld-soname): Likewise. + (abi-o32_soft_2008-ld-soname): Likewise. + (abi-o32_hard_2008-ld-soname): Likewise. + (abi-n32_soft-ld-soname): Likewise. + (abi-n32_hard-ld-soname): Likewise. + (abi-n32_soft_2008-ld-soname): Likewise. + (abi-n32_hard_2008-ld-soname): Likewise. + (abi-n64_soft-ld-soname): Likewise. + (abi-n64_hard-ld-soname): Likewise. + (abi-n64_soft_2008-ld-soname): Likewise. + (abi-n64_hard_2008-ld-soname): Likewise. + * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname): + Likewise. + (abi-64-v2-ld-soname): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add + ld.so entries. + * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove + variable. + * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so + entry. + * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove + variable. + (abi-64-ld-soname): Likewise. + (abi-x32-ld-soname): Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so + entry. + * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise. + +2014-09-23 Joseph Myers + + [BZ #14138] + * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file. + * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise. + * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise. + * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add + syscall entry for GLIBC_2.2 symbol version. + * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit): + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list + (setrlimit): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit): + Likewise. + +2014-09-23 Will Newton + + * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for + _LINUX_ARM_SYSDEP_H include guard too. + * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove + define. + +2014-09-20 Rasmus Villemoes + + * sysdeps/unix/sysv/linux/eventfd.c: + Make first argument unsigned. + * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise. + * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise. + +2014-09-20 Ondƙej BĂ­lka + + [BZ #16852] + * socket/recvmmsg.c (recvmmsg): Drop const argument. + * socket/sys/socket.h: Likewise. + * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise. + +2014-09-19 Andreas Krebbel + + * stdlib/longlong.h: Add __udiv_w_sdiv prototype. + +2014-09-17 Arjun Shankar + + * time/tst-ftime.c: New test. + * time/Makefile (tests): Add tst-ftime. + +2014-09-17 Joseph Myers + + * soft-fp/extended.h: Fix comment formatting. + * soft-fp/op-1.h: Likewise. + * soft-fp/op-2.h: Likewise. + * soft-fp/op-4.h: Likewise. + * soft-fp/op-8.h: Likewise. + * soft-fp/op-common.h: Likewise. + * soft-fp/soft-fp.h: Likewise. + + * soft-fp/op-common.h (_FP_TO_INT): Correct formatting. + +2014-09-16 Joseph Myers + + [BZ #6652] + * Makeconfig (soversions-default-setname): Remove variable. + ($(common-objpfx)soversions.i): Don't pass default_setname to + soversions.awk. + * Makerules ($(common-objpfx)abi-versions.h): Don't pass + oldest_abi to abi-versions.awk. + * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine. + * config.make.in (oldest-abi): Remove variable. + * configure.ac (--enable-oldest-abi): Remove configure option. + * configure: Regenerated. + * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional + text. + * scripts/abi-versions.awk: Do not handle oldest_abi variable. + * scripts/soversions.awk: Do not handle default_setname variable. + * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi + variable. + * sysdeps/mach/hurd/configure: Regenerated. + * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi + variable. + * sysdeps/unix/sysv/linux/configure: Regenerated. + +2014-09-16 Siddhesh Poyarekar + + * elf/Makefile (CFLAGS-interp.c): Remove. + ($(elf-objpfx)runtime-linker.h): Generate header with linker + path string. + * elf/interp.c: Include generated runtime-linker.h + + * Makerules (lib%.so): Don't include $(+interp) in + prerequisites. + * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc. + * dlfcn/eval.c: Remove file. + + * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS + macros. + + [BZ #17266] + * misc/sys/cdefs.h: Define __extern_always_inline for clang + 4.2 and newer. + + [BZ #17370] + * libio/wfileops.c (do_ftell_wide): Free OUT on error path. + +2014-09-16 Siddhesh Poyarekar + Jakub Jelinek + + [BZ #17266] + * libio/stdio.h: Check definition of __fortify_function + instead of __extern_always_inline to include bits/stdio2.h. + * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also + check if __extern_always_inline is defined. + [__USE_MISC || __USE_XOPEN]: Likewise. + [__USE_ISOC99] Likewise. + * misc/sys/cdefs.h (__fortify_function): Define only if + __extern_always_inline is defined. + [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining + __extern_always_inline and __extern_inline only for g++-4.3 + and newer or a compatible gcc. + +2014-09-15 Andreas Schwab + + [BZ #17371] + * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix + last change to handle zero prefix length. + +2014-09-15 Siddhesh Poyarekar + + * sysdeps/posix/sysconf.c (__sysconf): Return -1 for + _SC_REGEX_VERSION. + + * posix/getconf.c (vars): Add _POSIX_IPV6 and + _POSIX_RAW_SOCKETS. + +2014-09-13 Allan McRae + + * po/ru.po: Update Russian translation from translation project. + +2014-09-12 Roland McGrath + + * locale/programs/locale.c (show_locale_vars): Inline local function + into its sole call site. Clean up some style nits. + (print_item): New function, broken out of ... + (show_info): ... local function here. Clean up style nits. + + * locale/programs/ld-ctype.c (set_one_default): New function, broken + out of ... + (set_class_defaults): ... local function set_default here. + Define set_default as a macro locally to pass constant parameters. + (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT, + rather than a shared local. + + * stdlib/rpmatch.c (try): New function, broken out of ... + (rpmatch): ... local function here. Also, prototypify definition. + +2014-09-12 Joseph Myers + + * scripts/soversions.awk: Do not handle configuration names. + * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu, + vendor and os variables to soversions.awk. + * configure.ac: Do not modify gnu-* host_os. + * configure: Regenerated + * shlib-versions: Remove first column with configuration names. + * nptl/shlib-versions: Likewise. + * nptl_db/shlib-versions: Likewise. + * sysdeps/hppa/shlib-versions: Likewise. + * sysdeps/m68k/shlib-versions: Likewise. + * sysdeps/mach/hurd/shlib-versions: Likewise. + * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise. + * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise. + * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise. + * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise. + * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise. + * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise. + * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise. + * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise. + * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise. + * sysdeps/unix/sysv/linux/shlib-versions: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise. + * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise. + + * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac + (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: + Regenerated. + * config.h.in (HAVE_ELFV2_ABI): New macro undefine. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: + Condition symbol version definitions on [HAVE_ELFV2_ABI]. + + * shlib-versions: Remove OS-specific entries. Moved to files in + sysdeps. + * sysdeps/mach/hurd/shlib-versions: New file. + * sysdeps/unix/sysv/linux/shlib-versions: Likewise. + + * nptl/shlib-versions: Remove architecture-specific entries. + Moved to files in sysdeps. + * shlib-versions: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New + file. + * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise. + * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise. + + * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro. + (UDP_NO_CHECK6_RX): Likewise. + +2014-09-12 Siddhesh Poyarekar + + * sysdeps/posix/sysconf.c (__sysconf): Spell + _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly. + +2014-08-12 Florian Weimer + + * iconv/gconv_open.c (__gconv_open): Remove transliteration module + loading. + * iconv/Versions (__gconv_transliterate): Export for use from + gconv modules. + * iconv/gconv.h (__GCONV_TRANSLIT): New flag. + (struct __gconv_trans_data, __gconv_trans_fct, + __gconv_trans_context_fct, __gconv_trans_query_fct, + __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type + definitions. + (struct __gconv_step_data): Remove __trans member. + (__gconv_transliterate): Declaration moved from gconv_int.h. No + longer hidden. Remove unused trans_data argument. + * iconv/gconv_int.h (struct trans_struct): Remove definition. + (__gconv_translit_find): Remove declaration. + (__gconv_transliterate): Declaration moved to gconv.h. Add hidden + prototype. + * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup. + * iconv/gconv_trans.c (__gconv_transliterate): Remove unused + trans_data argument. Add hidden definition. + (__gconv_translit_find): Remove. + * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call + __gconv_transliterate directly if __GCONV_TRANSLIT is set. + * iconv/skeleton.c: Remove transliteration initialization. + * libio/fileops.c (_IO_new_file_fopen): Adjust struct + __gconv_step_data initialization. + * libio/iofwide.c (__libio_translit_): Remove. + (_IO_fwide): Adjust struct __gconv_step_data initialization. + * wcsmbs/btowc.c (__btowc): Likewise. + * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise. + * wcsmbs/mbrtowc.c (__mbrtowc): Likewise. + * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise. + * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise. + * wcsmbs/wcrtomb.c (__wcrtomb): Likewise. + * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise. + * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise. + * wcsmbs/wctob.c (wctob): Likewise. + +2014-09-12 Siddhesh Poyarekar + + [BZ #16194] + * sysdeps/x86/tst-xmmymm.sh: Rename file to... + * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm + register usage. + * sysdeps/x86/Makefile: Adjust. + +2014-09-11 Kostya Serebryany + Roland McGrath + + * locale/weight.h: Add include guard. + (findidx): Make static rather than auto; take new parameters + TABLE, INDIRECT, and EXTRA instead of getting them as outer locals. + * locale/weightwc.h: Likewise. + * posix/fnmatch_loop.c + (FCT): Change type of EXTRA from int32_t to wint_t. + Don't include either header inside the function. + Call FINDIDX rather than findidx, and pass new arguments. + #undef FINDIDX at the end of the file. + * posix/fnmatch.c [_LIBC]: #include and define + FINDIDX before including fnmatch_loop.c for the non-wide version. + [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around + #include , and define FINDIDX to findidxwc + for the wide version. + * posix/regcomp.c [_LIBC]: #include . + (build_equiv_class) [_LIBC]: Don't #include it inside the function. + Pass new arguments to findidx. + * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include . + [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]: + Don't #include it inside the function. Pass new arguments to findidx. + * posix/regex_internal.h + [!NOT_IN_libc] [_LIBC]: #include . + (re_string_elem_size_at): Don't #include it inside the function. + Pass new arguments to findidx. + * string/strcoll_l.c: #include WEIGHT_H at top level. + (get_next_seq): Don't #include it inside the function. + Pass new arguments to findidx. + (get_next_seq_nocache): Likewise. + * string/strxfrm_l.c: #include WEIGHT_H at top level. + (STRXFRM): Don't #include it inside the function. + Pass new arguments to findidx. + +2014-09-11 Florian Weimer + + [BZ #17344] + * malloc/malloc.c (unlink): Turn asserts into a call to + malloc_printerr. + +2014-09-11 Tim Lammens + + [BZ #17370] + * libio/wfileops (do_ftell_wide): Free OUT. + +2014-09-10 Chris Metcalf + + * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file. + +2014-09-10 Siddhesh Poyarekar + + [BZ #17363] + * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next + group if the current group is empty. + +2014-09-10 Adhemerval Zanella + + * benchtests/bench-memset.c (test_main): Add more test from size + from 32 to 512 bytes. + * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: + Add POWER8 memset object. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations. + * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8 + implementation. + * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset): + Likewise. + * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file: + multiarch POWER8 memset optimization. + * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized + POWER8 memset optimization. + + * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: + Remove bzero multiarch objects. + * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file. + * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]: + Remove define. + [__bzero]: Redefine to specific name. + * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise. + * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove + define. + * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise. + +2014-09-10 Florian Weimer + + * Makeconfig (gccwarn-c): Turn implicit-function-declaration + warnings into errors. + + * stdlib/tst-tls-atexit-lib.c: Include , for the + __cxa_thread_atexit_impl prototype. + +2014-09-09 Steve Ellcey + + * sysdeps/mips/preconfigure: Put code inside mips* case statement. + Fix capitalization of error message. + +2014-09-09 Steve Ellcey + + * sysdeps/mips/preconfigure: Modify ABI tests. + +2014-09-07 Carlos O'Donell + + * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file. + +2014-09-07 Roland McGrath + Carlos O'Donell + + * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed. + * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ... + * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here. + * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ... + * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here. + * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ... + * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here. + * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ... + * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here. + * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ... + * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here. + * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ... + * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here. + * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ... + * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here. + * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ... + * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here. + * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ... + * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here. + * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ... + * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here. + * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ... + * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here. + * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ... + * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here. + * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ... + * sysdeps/hppa/nptl/bits/semaphore.h: ... here. + * sysdeps/unix/sysv/linux/hppa/clone.S: Include . + Deconditionalize the code that was previously under [RESET_PID]. + * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed. + * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file. + * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed. + * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't + include sysdep.h. + +2014-09-08 Allan McRae + + * version.h (RELEASE): Set to "development". + (VERSION): Set to "2.20.90" + +2014-09-07 Allan McRae + + * version.h (RELEASE): Set to "stable". + (VERSION): Set to "2.20" + * include/features.h (__GLIBC_MINOR__): Set to 20. + + * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan + Liebler. + + * po/ko.po: Update Korean translation from translation project. + +2014-09-06 Chris Metcalf + + [BZ #17354] + * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED + macro for handling signed relocations. + +2014-09-03 Florian Weimer + + [BZ #17325] + * iconvdata/ibm1364.c (BODY): Fix check for sentinel. + * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with + assert. + * iconvdata/ibm933.c (BODY): Fix check for sentinel. + * iconvdata/ibm935.c (BODY): Likewise. + * iconvdata/ibm937.c (BODY): Likewise. + * iconvdata/ibm939.c (BODY): Likewise. + * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with + assert. + * iconvdata/Makefile (iconv-test.out): Pass module list to test + script. + * iconvdata/run-iconv-test.sh: New test loop for checking for + decoder crashers. + +2014-09-02 Khem Raj + + * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add + libm_hidden_ver. + +2014-09-01 Allan McRae + + * po/eo.po: Update Esperanto translation from translation project. + + * po/ca.po: Update Catalan translation from translation project. + +2014-08-28 Samuel Thibault + + * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around + __proc_dostop call. + +2014-08-27 Mark Wielaard + + [BZ #17319] + * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL + to call set_thread_area instead of hand written asm. + (__NR_set_thread_area): Removed define. + (TLS_FLAG_WRITABLE): Likewise. + (__ASSUME_SET_THREAD_AREA): Remove check. + (TLS_EBX_ARG): Remove define. + (TLS_LOAD_EBX): Likewise. + +2014-08-27 Samuel Thibault + + Simplify atomicity of socket creation in bind. + + * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of + looking up the name after linking the file. + +2014-08-27 Allan McRae + + * sysdeps/i386/fpu/libm-test-ulps: Update ULPs. + +2014-08-26 Florian Weimer + + [BZ #17187] + * iconv/gconv_trans.c (struct known_trans, search_tree, lock, + trans_compare, open_translit, __gconv_translit_find): + Remove module loading code. + +2014-08-26 Allan McRae + + * po/vi.po: Update Vietnamese translation from translation project. + + * po/uk.po: Update Ukrainian translation from translation project. + + * po/fr.po: Update French translation from translation project. + + * po/ru.po: Update Russian translation from translation project. + + * po/pl.po: Update Polish translation from translation project. + + * po/cs.po: Update Czech translation from translation project. + + * po/de.po: Update German translation from translation project. + + * po/bg.po: Update Bulgarian translation from translation project. + + * po/sv.po: Update Sweedish translation from translation project. + + * po/nl.po: Update Dutch translation from translation project. + + * po/es.po: Update Spanish translation from translation project. + +2014-08-21 Siddhesh Poyarekar + + * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove. + + * catgets/Makefile (CPPFLAGS-gencat): Remove. + * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise. + (CPPFLAGS-iconvconfig): Likewise. + * timezone/Makefile (CPPFLAGS-zic): Likewise. + + * include/libc-symbols.h: Remove unnecessary check for + NOT_IN_libc. + * nptl/pthreadP.h: Likewise. + * sysdeps/aarch64/setjmp.S: Likewise. + * sysdeps/alpha/setjmp.S: Likewise. + * sysdeps/arm/sysdep.h: Likewise. + * sysdeps/i386/setjmp.S: Likewise. + * sysdeps/m68k/setjmp.c: Likewise. + * sysdeps/posix/getcwd.c: Likewise. + * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise. + * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise. + * sysdeps/s390/s390-32/setjmp.S: Likewise. + * sysdeps/s390/s390-64/setjmp.S: Likewise. + * sysdeps/sh/sh3/setjmp.S: Likewise. + * sysdeps/sh/sh4/setjmp.S: Likewise. + * sysdeps/unix/alpha/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise. + * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. + * sysdeps/x86_64/setjmp.S: Likewise. + +2014-08-13 Joseph Myers + + [BZ #17263] + * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include + . + (__get_clockfreq): Use uint64_t instead of hp_timing_t in + INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call. + +2014-08-13 Siddhesh Poyarekar + + * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment. + + [BZ #17262] + * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__ + and __x86_64__ when disabling x87 inline functions. + +2014-08-12 H.J. Lu + + [BZ #17259] + * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid + asm statement with __cpuid_count. + +2014-08-12 Mike Frysinger + + * configure.ac: Change __ehdr_start code to dereference the struct. + Run readelf on the output to look for relocations. + * configure: Regenerated. + +2014-08-12 Joseph Myers + + [BZ #17261] + * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change + value to 0. + (__fe_nonieee_env): Define as an alias for __fe_dfl_env. + +2014-08-12 Roland McGrath + + * NEWS: Mention x86-64 ld.so use of Intel MPX instructions. + +2014-08-12 Bernard Ogden + + [BZ #16892] + * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use + atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq. + +2014-08-12 Sean Anderson + + * malloc/malloc.c: Fix typo in comment. + +2014-08-09 Allan McRae + + * Regenerate libc.po. + +2014-08-08 Mike Frysinger + + * intl/tst-gettext2.sh: Check every lang file for creation. + +2014-08-07 Wilco Dijkstra + + * sysdeps/aarch64/fpu/math_private.h + (libc_feholdsetround_noex_aarch64_ctx): New function. + +2014-08-07 Wilco Dijkstra + + * sysdeps/arm/armv6/strcpy.S (strcpy): + Fix performance issue in misaligned cases. + +2014-08-05 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize): + Move definition from termios.h. + (struct termio): Likewise. + (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS, + TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP, + N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964, + N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI): + Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize): + Move definition to ioctl-types.h + (struct termio): Likewise. + (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS, + TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP, + N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964, + N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI): + Likewise. + +2014-08-05 Richard Henderson + + * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise + exceptions. + * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines): + Add fraiseexcpt. + * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS): + Use __feraiseexcept. + * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept): + Protect libm symbols with IS_IN_libm. + + * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file. + +2014-08-04 Bernard Ogden + + * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file. + +2014-08-04 Will Newton + + * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove + file. + +2014-08-04 Mike Frysinger + + * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel + variants for each function. + +2014-08-04 Roland McGrath + + * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents + appended ... + * sysdeps/unix/sysv/linux/ia64/Makefile: ... here. + * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents + appended ... + * sysdeps/unix/sysv/linux/ia64/Versions: ... here. + * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ... + * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here. + * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ... + * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here. + * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ... + * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here. + * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ... + * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here. + * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ... + * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here. + * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ... + * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here. + * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ... + * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here. + * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ... + * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here. + * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ... + * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here. + * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ... + * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here. + * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ... + * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here. + * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ... + * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here. + * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ... + * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here. + * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ... + * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here. + * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ... + * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here. + * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ... + * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here. + * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ... + * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here. + * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ... + * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here. + * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ... + * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here. + * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ... + * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here. + * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ... + * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here. + * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ... + * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here. + * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ... + * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here. + * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ... + * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here. + * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ... + * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here. + * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ... + * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here. + Update #include. + * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ... + * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here. + +2014-08-04 Roland McGrath + + * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ... + * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here. + * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ... + * sysdeps/ia64/nptl/bits/semaphore.h: ... here. + * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ... + * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here. + +2014-08-04 Roland McGrath + + * nptl/sysdeps/pthread/createthread.c: Include . + * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro. + * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro. + * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed. + +2014-08-04 Roland McGrath + + * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ... + * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here. + (__libc_vfork): Define function under this name. + (__vfork): Define as an alias. + * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file. + * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed. + +2014-08-04 Roland McGrath + + * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code + that was previously under [RESET_PID]. + * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed. + +2014-08-04 Andreas Schwab + + * sysdeps/ieee754/ldbl-96/s_fma.c: Include . + +2014-08-03 Mike Frysinger + + * stdlib/tst-setcontext.c (test_stack): Fix coding style. + (main): Likewise. + +2014-08-01 Roland McGrath + + * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed. + +2014-08-01 Richard Henderon + + * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before + feclearexcept; use math_opt_barrier instead of open-coded asm; fix + typo in exact zero test. + * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise. + * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise. + * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise. + +2014-08-01 Roland McGrath + + * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE) + (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros... + * sysdeps/arm/sysdep.h: ... here. + [!__ASSEMBLER__]: Include . + +2014-08-01 Siddhesh Poyarekar + + * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro. + (HAVE_WCTYPE_H): Likewise. + (HAVE_ISWCTYPE): Likewise. + (ENABLE_NLS): Likewise. + * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H + && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib. + + * posix/regex_internal.c: Check if DEBUG is defined and is + set. + + * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro. + (HAVE_MBSRTOWCS): Likewise. + * posix/fnmatch.c: Include string.h unconditionally. + +2014-08-01 Stefan Liebler + + * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change + reversal. + +2014-07-31 Roland McGrath + + * sysdeps/generic/safe-fatal.h: New file. + * sysdeps/unix/sysv/linux/safe-fatal.h: New file. + * nptl/forward.c: Include it. + (__pthread_unwind): Use __safe_fatal as default action, rather + than a bogus use of INTERNAL_SYSCALL that could never work. + + * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0. + * configure.ac (libc_cv_builtin_trap): New test. + * configure: Regenerated. + * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP] + (ABORT_INSTRUCTION): Define using __builtin_trap. + + * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ... + * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file. + * sysdeps/nptl/nptl-signals.h: New file. + * nptl/pthreadP.h: Include . + +2014-07-31 Stefan Liebler + + * sysdeps/s390/s390-64/utf16-utf32-z9.c + (ONE_DIRECTION): Define. + * sysdeps/s390/s390-64/utf8-utf16-z9.c + (ONE_DIRECTION): Define. + * sysdeps/s390/s390-64/utf8-utf32-z9.c + (ONE_DIRECTION): Define. + +2014-07-31 Stefan Liebler + + * sysdeps/s390/Makefile: Delete file. + * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp. + * sysdeps/s390/__longjmp.c: Delete file. + * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf): + Remove fields __flags and __reserved. + * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c + and add versioning. + * sysdeps/s390/rtld-__longjmp.c: Delete file. + * sysdeps/s390/rtld-global-offsets.sym: Likewise. + * sysdeps/s390/rtld-setjmp.S: Likewise. + * sysdeps/s390/s390-32/__longjmp-common.c: Move to ... + * sysdeps/s390/s390-32/__longjmp.c: ... here. + * sysdeps/s390/s390-32/setjmp-common.S: Move to ... + * sysdeps/s390/s390-32/setjmp.S: ... here. + Add versioning. + (__sigsetjmp): Remove setting __flags field. + * sysdeps/s390/s390-64/__longjmp-common.c:Move to ... + * sysdeps/s390/s390-64/__longjmp.c: ... here. + * sysdeps/s390/s390-64/setjmp-common.S: Move to ... + * sysdeps/s390/s390-64/setjmp.S: ... here. + Add versioning. + (__sigsetjmp): Remove setting __flags field. + * sysdeps/s390/setjmp.S: Delete file. + * sysdeps/s390/sigjmp.c: Likewise. + * sysdeps/s390/v1-longjmp.c: Likewise. + * sysdeps/s390/v1-setjmp.h: Likewise. + * sysdeps/s390/v1-sigjmp.c: Likewise. + * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines): + Remove v1-longjmp_chk. + * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file. + * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: + Include debug/longjmp_chk.c and add versioning. + * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: + Include nptl/pt-longjmp.c and add versioning. + * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file. + * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: + Include __longjmp.c. + * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S: + Move to ... + * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here. + (__getcontext): Remove setting __flags field. + Add versioning. + * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: + Don't restore upper high grps. + * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: + Likewise. + (__swapcontext): Remove setting uc_flags field. + * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: + Delete file. + * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: + Include __longjmp.c. + * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S: + Move to ... + * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here. + (__getcontext): Remove setting __flags field. + Add versioning. + * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: + (__swapcontext): Remove setting uc_flags field. + * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file. + * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext): + Remove fields uc_high_gprs and __reserved. + * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: + New file with reverted content. + * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file. + * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: + Regenerated. + * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: + Regenerated. + +2014-07-31 Andreas Schwab + + * config.h.in (HAVE_IFUNC): Define to 0. + * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not + definedness. + +2014-07-30 Ling Ma + + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add + memmove-avx-unaligned, memcpy-avx-unaligned and + mempcpy-avx-unaligned. + * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list): + Add tests for AVX memcpy functions. + * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy. + * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX + memcpy_chk. + * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove. + * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX + memmove_chk. + * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy. + * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX + mempcpy_chk. + * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file. + * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file. + * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file. + +2013-07-29 Adhemerval Zanella + + [BZ #17213] + * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for + powerpc64le. + +2014-07-29 Jeff Layton + + [BZ #16839] + * manual/llio.texi: Add section about open file description locks. + * manual/examples/ofdlocks.c: Example of open file description + lock usage. + * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK, + F_OFD_SETLK, and F_OFD_SETLKW. + +2014-07-23 Allan McRae + + * po/es.po: Update Spanish translation from translation project. + +2014-07-18 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed. + +2014-07-17 Maciej W. Rozycki + + [BZ #17078] + * sysdeps/arm/dl-machine.h (elf_machine_rela) + [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation. + (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries. + +2014-07-17 Joseph Myers + + [BZ #17088] + * math/fesetenv.c (__fesetenv) + [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV. + * math/feupdateenv.c (__feupdateenv) + [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise. + + * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file. + * sysdeps/unix/sysv/linux/kernel-features.h [__s390__] + (__ASSUME_SOCKETCALL): Do not define. + + * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file. + * sysdeps/unix/sysv/linux/kernel-features.h [__sh__] + (__ASSUME_SOCKETCALL): Do not define. + (__ASSUME_ST_INO_64_BIT): Define unconditionally. + [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__] + (__ASSUME_ACCEPT4_SYSCALL): Do not define. + [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__] + (__ASSUME_RECVMMSG_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__] + (__ASSUME_SENDMMSG_SYSCALL): Likewise. + [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise. + + * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file. + * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__] + (__ASSUME_SOCKETCALL): Do not define. + (__ASSUME_IPC64): Define unconditionally. + [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__] + (__ASSUME_ACCEPT4_SYSCALL): Do not define. + [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__] + (__ASSUME_RECVMMSG_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__] + (__ASSUME_SENDMMSG_SYSCALL): Likewise. + [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): + Likewise. + + * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file. + * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__] + (__ASSUME_SOCKETCALL): Do not define. + (__ASSUME_SET_ROBUST_LIST): Define unconditionally. + (__ASSUME_FUTEX_LOCK_PI): Likewise. + [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define. + [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise. + (__ASSUME_REQUEUE_PI): Define unconditionally. + [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__] + (__ASSUME_RECVMMSG_SYSCALL): Do not define. + [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__] + (__ASSUME_SENDMMSG_SYSCALL): Likewise. + [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise. + + * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file. + * sysdeps/unix/sysv/linux/kernel-features.h [__i386__] + (__ASSUME_SOCKETCALL): Do not define. + [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__] + (__ASSUME_RECVMMSG_SYSCALL): Likewise. + [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__] + (__ASSUME_SENDMMSG_SYSCALL): Likewise. + [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise. + + * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file. + * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__] + (__ASSUME_ACCEPT4_SYSCALL): Do not define. + [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__] + (__ASSUME_RECVMMSG_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__] + (__ASSUME_SENDMMSG_SYSCALL): Likewise. + [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100] + (__ASSUME_GETCPU_SYSCALL): Likewise. + + * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro. + * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove + cases for individual architectures. + * sysdeps/gnu/configure: Regenerated. + * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use + LIBC_SLIBDIR_RTLDDIR. + * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated. + * sysdeps/unix/sysv/linux/mips/configure.ac: Use + LIBC_SLIBDIR_RTLDDIR. + * sysdeps/unix/sysv/linux/mips/configure: Regenerated. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use + LIBC_SLIBDIR_RTLDDIR. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: + Regenerated. + * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated + file. + * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated + file. + * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file. + * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file. + * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file. + * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate. + + * sysdeps/aarch64/shlib-versions: Move to ... + * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here. + * sysdeps/alpha/shlib-versions: Move to ... + * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here. + * sysdeps/arm/shlib-versions: Move to ... + * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here. + * sysdeps/hppa/shlib-versions: Move all contents except for + libgcc_s entry to ... + * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in + entry from ... + * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file. + * sysdeps/ia64/shlib-versions: Move to ... + * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in + entry from ... + * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file. + * sysdeps/m68k/coldfire/shlib-versions: Move to ... + * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here. + * sysdeps/microblaze/shlib-versions: Move to ... + * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here. + * sysdeps/mips/shlib-versions: Move to ... + * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in + entry from ... + * sysdeps/mips/nptl/shlib-versions: ... here. Remove file. + * sysdeps/tile/shlib-versions: Move to ... + * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here. + * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry + from ... + * sysdeps/x86_64/64/shlib-versions: ... here. Remove file. + * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in + entry from ... + * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file. + +2014-07-17 Will Newton + + * sysdeps/arm/bits/atomic.h + (__arch_compare_and_exchange_bool_8_int): Evaluate to zero. + (__arch_compare_and_exchange_bool_16_int): Likewise. + (__arch_compare_and_exchange_bool_64_int): Likewise. + + * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc + into an #else block. + +2014-07-16 Roland McGrath + + * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not + just Linux configurations. Test empirically that the compiler sets + __ARM_EABI__, rather than using the tuple to decide. + * sysdeps/arm/preconfigure: Regenerated. + * sysdeps/unix/sysv/linux/arm/configure: File removed. + * sysdeps/unix/sysv/linux/arm/configure.ac: File removed, + contents appended ... + * sysdeps/arm/configure.ac: ... here. + * sysdeps/arm/configure: Regenerated. + +2014-07-15 Roland McGrath + + * nptl/pthread_kill.c: New file. + * nptl/pthread_sigmask.c: New file. + * nptl/pthread_sigqueue.c: New file. + + * sysdeps/nptl/lowlevellock.h: New file. + * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file. + * sysdeps/nptl/lowlevellock-futex.h: New file. + + * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax): + Remove dead declarations. + +2014-07-14 H.J. Lu + + * config.h.in (HAVE_AVX2_SUPPORT): New #undef. + * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and + config-cflags-avx2. + * sysdeps/x86_64/configure.ac: Likewise. + * sysdeps/i386/configure: Regenerated. + * sysdeps/x86_64/configure: Likewise. + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add + memset-avx2 only if config-cflags-avx2 is yes. + * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list): + Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is + defined. + * sysdeps/x86_64/multiarch/memset.S: Define multiple versions + only if HAVE_AVX2_SUPPORT is defined. + * sysdeps/x86_64/multiarch/memset_chk.S: Likewise. + +2014-07-14 Alan Modra + + [BZ #17153] + * elf/elf.h (DT_PPC64_NUM): Correct value. + * NEWS: Add to fixed bug list. + +2014-07-13 Jim Meyering + + [BZ 17150] + regex: don't deref NULL upon heap allocation failure + * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree + failure in one more place. + To trigger the segfault, configure grep -with-included-regex, + build it, and run these commands: + ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ ) + +2014-07-13 Andreas Schwab + + * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update. + +2014-07-11 Richard Henderson + + * sysdeps/aarch64/libm-test-ulps: Update. + +2014-07-10 Florian Weimer + + [BZ #17135] + * nptl/pthreadP.h (__nptl_setxid_error): Declare function. + * nptl/allocatestack.c (__nptl_setxid_error): New function. + (__nptl_setxid): Initialize error member. Call + __nptl_setxid_error. + * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error. + * nptl/descr.h (struct xid_command): Add error member. + * nptl/tst-setuid3.c: New file. + * nptl/Makefile (tests): Add it. + +2014-07-10 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock): + New define. + (__lll_trylock): Use __lll_base_trylock. + (__lll_cond_trylock): Likewise. + +2014-07-10 Roland McGrath + + * nptl/pthread_create.c (start_thread): Use atomic_or and + lll_futex_wake directly rather than lll_robust_dead. + * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h + (lll_robust_dead): Macro removed. + * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise. + + * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): + Use atomic_compare_and_exchange_val_acq directly rather than + lll_robust_trylock. + * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h + (__lll_robust_trylock, lll_robust_trylock): Removed. + * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise. + +2014-07-02 Florian Weimer + + * manual/locale.texi (Locale Names): New section documenting + locale name syntax. Adjust menu and node chaining accordingly. + (Choosing Locale): Reference Locale Names, Locale Categories. + Mention setting LC_ALL=C. Reflect that name syntax is now + documented. + (Locale Categories): New section title. Reference Locale Names. + LC_ALL is an environment variable, but not a category. + (Setting the Locale): Remove "locale -a" invocation and LOCPATH + description, now in Locale Name. Reference that section. Locale + name syntax is now documented. + +2014-07-02 Florian Weimer + + [BZ #17137] + * locale/findlocale.c (name_present, valid_locale_name): New + functions. + (_nl_find_locale): Use the loc_name variable to store name + candidates. Call name_present and valid_locale_name to check and + validate locale names. Return an error if the locale is invalid. + +2014-07-02 Florian Weimer + + * locale/setlocale.c (setlocale): Use strdup for allocating + composite name copy. + +2014-07-10 Siddhesh Poyarekar + + Sync up with gnulib. + * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H. + [!_LIBC && ENABLE_NLS]: Include gettext.h. + [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF + and _GL_ARG_NONNULL. + [USE_UNLOCKED_IO]: Include unlocked-io.h. + [!_LIBC]: Include code for Windows and Cygwin. + [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]: + Include prototype for int strerror_r. + [!_LIBC] (is_open): New function. + (flush_stdout): New function. + (print_errno_message): Use it. + (error): Likewise. + (error_at_line): Likewise. + (error_tail) Add function attribute macros. Use + __builtin_expect. + + * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R. + + * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME. + + * io/ftw.c: Include sys/param.h unconditionally. + + * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code. + + [BZ #17125] + * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use + libc_freeres_ptr. + (freecache): New function to free CACHE on exit. + + * sunrpc/xdr.c (xdr_string): Add comment about SIZE + initialization. + +2014-07-09 David S. Miller + + * sysdeps/sparc/fpu/libm-test-ulps: Update. + + * sysdeps/sparc/nptl/internaltypes.h: Delete. + * sysdeps/sparc/nptl/sparc-nptl.h: New file. + * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it. + * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise. + * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise. + * sysdeps/sparc/nptl/sem_init.c: Likewise. + * sysdeps/sparc/nptl/sem_post.c: Likewise. + * sysdeps/sparc/nptl/sem_timedwait.c: Likewise. + * sysdeps/sparc/nptl/sem_wait.c: Likewise. + * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise. + * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise. + * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise. + * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise. + +2014-07-09 Andreas Schwab + + * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to + output. + * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c + (do_test): Likewise. + + * sysdeps/i386/fpu/libm-test-ulps: Update ULPs. + +2014-07-09 Will Newton + + * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef. + * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise. + * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise. + * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise. + * sysdeps/hppa/start.S (_start): Likewise. + +2014-07-09 Siddhesh Poyarekar + + * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0. + + * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is + defined. + +2014-07-08 Siddhesh Poyarekar + + * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2 + after checking that it is non-NULL. + + * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL. + +2014-07-08 Adhemerval Zanella + + * sysdeps/powerpc/memmove.c: Remove file. + * sysdeps/powerpc/powerpc32/power4/memcopy.h + [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1. + * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c + [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define. + * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: + [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default + string memmove instead of removed powerpc one. + + * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S: + [weak_alias]: Fix compiler warning due trailing data. + * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: + [weak_alias]: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile + warnigs due missing definition of __strcpy_power7 and __strlen_power7. + + * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add memmove functions. + +2014-07-08 Siddhesh Poyarekar + + * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]: + Remove code. + * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]: + Likewise. + * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]: + Likewise. + * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]: + Likewise. + * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]: + Likewise. + * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]: + Likewise. + * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]: + Likewise. + * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]: + Likewise. + * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]: + Likewise. + * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]: + Likewise. + * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]: + Likewise. + * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]: + Likewise. + * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]: + Likewise. + * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]: + Likewise. + * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]: + Likewise. + * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]: + Likewise. + * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]: + Likewise. + +2014-07-07 Adhemerval Zanella + + * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B + to avoid alignment traps in non-cacheable memory. + * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise. + + * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove + multiarch objects. + * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New + file: multiarch power7 memmove. + * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file: + multiarch default memmove. + * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file: + multiarch memove for powerpc32/power4. + + * string/bcopy.c: Use full path to include memmove.c. + * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy + multiarch objects. + * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default + bcopy for powerpc64. + * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch + bcopy for powerpc64. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy + and memmove implementations. + * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file: + optimized multiarch memmove for POWER7/powerpc64. + * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file: + default multiarch memmove for powerpc64. + * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove + multiarch for powerpc64. + * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy + for POWER7/powerpc64. + * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized + memmove for POWER7/powerpc64. + + * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use + glibc default one. + + * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for + __ELF_NATIVE_CLASS equal to 64. + +2014-07-07 Roland McGrath + + * sysdeps/nptl/lowlevellock.h: File removed. + + * NEWS: NPTL is no longer an add-on! + * nptl/internaltypes.h: Moved ... + * sysdeps/nptl/internaltypes.h: ... here. + * sysdeps/nptl/aio_misc.h: Use in #include. + * sysdeps/nptl/fork.c: Likewise. + * sysdeps/nptl/gai_misc.h: Likewise. + * sysdeps/nptl/librt-cancellation.c: Likewise. + * sysdeps/nptl/jmp-unwind.c: Likewise. + * sysdeps/nptl/setxid.h: Likewise. + * sysdeps/unix/sysv/linux/aarch64/Implies: New file. + * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl. + * sysdeps/unix/sysv/linux/arm/Implies: New file. + * sysdeps/unix/sysv/linux/hppa/Implies: New file. + * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl. + * sysdeps/unix/sysv/linux/i386/i686/Implies: New file. + * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl. + * sysdeps/unix/sysv/linux/m68k/Implies: New file. + * sysdeps/unix/sysv/linux/microblaze/Implies: New file. + * sysdeps/unix/sysv/linux/mips/Implies: New file. + * sysdeps/unix/sysv/linux/powerpc/Implies: New file. + * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl. + * sysdeps/unix/sysv/linux/sh/Implies: New file. + * sysdeps/unix/sysv/linux/sparc/Implies: New file. + * sysdeps/unix/sysv/linux/tile/Implies: New file. + * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl. + * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file. + * nptl/Makeconfig: Moved ... + * sysdeps/nptl/Makeconfig: ... here. + * nptl/configure: File removed. + * nptl/ANNOUNCE: File removed. + * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check. + * sysdeps/unix/sysv/linux/configure: Regenerated. + + * nptl/Makefile (routines): Add libc_pthread_init, + libc_multiple_threads, register-atfork and unregister-atfork. + (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here. + (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym, + lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym, + pthread-pi-defines.sym, structsem.sym. + * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix] + (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables. + [$(subdir) = nptl] (tests): Add tst-setgetname. + * nptl/sysdeps/unix/sysv/linux/Makefile: File removed. + * sysdeps/unix/sysv/linux/sigaction.c: Just include + directly here, instead of WRAPPER_INCLUDE. + [!LIBC_SIGACTION]: Remove aliases. + * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise. + * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork. + (libc: GLIBC_PRIVATE): Add __libc_pthread_init, + __libc_current_sigrtmin_private, __libc_current_sigrtmax_private, + __libc_allocate_rtsig_private. + * nptl/sysdeps/unix/sysv/linux/Versions: File removed. + * sysdeps/unix/sysv/linux/sigtimedwait.c: Include . + * sysdeps/unix/sysv/linux/sigwait.c: Likewise. + * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. + * sysdeps/unix/sysv/linux/sleep.c: Likewise. + * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed. + * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed. + * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed. + * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed. + * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed. + * sysdeps/unix/sysv/linux/ia64/fork.S: File removed. + * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ... + * nptl/internaltypes.h: ... here. + * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ... + * sysdeps/nptl/jmp-unwind.c: ... here. + * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ... + * nptl/libc-lowlevellock.c: ... here. + * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ... + * nptl/libc_multiple_threads.c: ... here. + * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ... + * nptl/libc_pthread_init.c: ... here. + * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ... + * nptl/lowlevelbarrier.sym: ... here. + * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ... + * nptl/lowlevelcond.sym: ... here. + * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ... + * nptl/lowlevellock.c: ... here. + * nptl/lowlevellock.h: Moved ... + * sysdeps/nptl/lowlevellock.h: ... here. + * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ... + * nptl/lowlevelrobustlock.c: ... here. + * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ... + * nptl/lowlevelrobustlock.sym: ... here. + * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ... + * nptl/lowlevelrwlock.sym: ... here. + * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ... + * nptl/pt-fork.c: ... here. + * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ... + * nptl/pthread-pi-defines.sym: ... here. + * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ... + * nptl/pthread_attr_getaffinity.c: ... here. + * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ... + * nptl/pthread_attr_setaffinity.c: ... here. + * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ... + * nptl/pthread_mutex_cond_lock.c: ... here. + * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: + Update #include. + * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise. + * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ... + * nptl/pthread_once.c: ... here, replacing old file. + * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ... + * nptl/pthread_yield.c: ... here. + * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ... + * nptl/register-atfork.c: ... here. + * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ... + * nptl/sem_post.c: ... here. + * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include. + * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ... + * nptl/sem_timedwait.c: ... here. + * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ... + * nptl/sem_trywait.c: ... here. + * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include. + * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ... + * nptl/sem_wait.c: ... here. + * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ... + * nptl/structsem.sym: ... here. + * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ... + * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file. + * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ... + * nptl/unregister-atfork.c: ... here. + * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ... + * nptl/unwindbuf.sym: ... here. + * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ... + * sysdeps/nptl/fork.c: ... here. + * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ... + * sysdeps/nptl/fork.h: ... here. + * sysdeps/unix/sysv/linux/syscalls.list: Remove fork. + * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ... + * sysdeps/unix/sysv/linux/aio_misc.h: ... here. + * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ... + * sysdeps/unix/sysv/linux/allocrtsig.c: ... here. + * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ... + * sysdeps/unix/sysv/linux/getpid.c: ... here. + * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ... + * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here. + * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ... + * sysdeps/unix/sysv/linux/pt-raise.c: ... here. + * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ... + * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here. + * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ... + * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here. + * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ... + * sysdeps/unix/sysv/linux/pthread_getname.c: ... here. + * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ... + * sysdeps/unix/sysv/linux/pthread_kill.c: ... here. + * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ... + * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here. + * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ... + * sysdeps/unix/sysv/linux/pthread_setname.c: ... here. + * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ... + * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here. + * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ... + * sysdeps/unix/sysv/linux/raise.c: ... here. + * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ... + * sysdeps/unix/sysv/linux/timer_create.c: ... here. + * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ... + * sysdeps/unix/sysv/linux/timer_delete.c: ... here. + * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ... + * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here. + * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ... + * sysdeps/unix/sysv/linux/timer_gettime.c: ... here. + * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ... + * sysdeps/unix/sysv/linux/timer_routines.c: ... here. + * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ... + * sysdeps/unix/sysv/linux/timer_settime.c: ... here. + * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ... + * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here. + * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include. + +2014-07-04 Siddhesh Poyarekar + + * sysdeps/generic/memcopy.h: Add comment for + MEMCPY_OK_FOR_FWD_MEMMOVE. + +2014-07-04 Will Newton + + * string/memchr.c: Merge from gnulib. + [_LIBC]: Remove conditionals. + (__ptr_t): Remove define. + (LONG_MAX_32_BITS): Likewise. + (LONG_MAX): Likewise. + (MEMCHR): Use ANSI prototype and optimize algorithm. + + * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define. + +2014-07-03 Roland McGrath + + * sysdeps/unix/sysv/linux/ia64/lowlevellock.h + (lll_futex_timed_wait_bitset): Fix syscall argument count. + + * sysdeps/nptl/configure.ac (libc_cv_forced_unwind): + Use -Dinhibit_libc=1 for unwind.h check to prevent false failure + in a bare environment with no installed. + * sysdeps/nptl/configure: Regenerated. + + * sysdeps/alpha/fpu/s_nearbyint.c: Include . + + * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than + AC_EGREP_CPP for kernel header checks, so they only succeed if + including actually works right. + * sysdeps/unix/sysv/linux/configure: Regenerated. + + * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the + value so it's not diagnosed as unused. + + * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only + thing) with "ifeq ($(subdir),rt)". + +2014-07-03 Richard Henderson + + * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file. + * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove; + include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c. + + * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New. + (math_force_eval): New. + + * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding. + * sysdeps/alpha/fpu/s_lroundf.c: Likewise. + + * sysdeps/alpha/fpu/s_round.c: Remove file. + * sysdeps/alpha/fpu/s_roundf.c: Remove file. + + * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine. + (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead. + * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine. + (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead. + (_dl_start, print_statistics): Likewise. + * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check + HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset. + + * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define. + * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define. + * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define. + * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define. + * sysdeps/powerpc/powerpc32/power4/hp-timing.h + (HP_SMALL_TIMING_AVAIL): Define. + * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define. + * sysdeps/sparc/sparc32/sparcv9/hp-timing.h + (HP_SMALL_TIMING_AVAIL): Define. + * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define. + * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define. + + * sysdeps/aarch64/hp-timing.h: New file. + + * sysdeps/generic/hp-timing.h: Remove dead comment. + * sysdeps/generic/hp-timing-common.h: New file. + * sysdeps/alpha/hp-timing.h: Include it. + (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove. + * sysdeps/i386/i686/hp-timing.h: Likewise. + * sysdeps/ia64/hp-timing.h: Likewise. + * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise. + * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise. + * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise. + * sysdeps/sparc/sparc64/hp-timing.h: Likewise. + * sysdeps/x86_64/hp-timing.h: Don't include the i686 version. + (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define. + (hp_timing_t): New. + + * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove. + * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove. + (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT. + * elf/rtld.c (_dl_start_final): Likewise. + * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove. + * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove. + * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove. + * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove. + * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove. + * sysdeps/powerpc/powerpc32/power4/hp-timing.h + (HP_TIMING_DIFF_INIT): Remove. + * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove. + * sysdeps/sparc/sparc32/sparcv9/hp-timing.h + (HP_TIMING_DIFF_INIT): Remove. + * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove. + * sysdeps/i386/i686/hp-timing.c: Remove file. + * sysdeps/x86_64/hp-timing.c: Remove file. + * sysdeps/ia64/hp-timing.c: Remove file. + * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file. + * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file. + * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file. + * sysdeps/sparc/sparc64/hp-timing.c: Remove file. + + * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove. + * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove. + * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove. + * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove. + * sysdeps/powerpc/powerpc32/power4/hp-timing.h + (HP_TIMING_ACCUM): Remove. + * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove. + * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove. + * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove. + + * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove. + * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove. + * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove. + * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove. + * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove. + * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove. + * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove. + * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove. + + * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file. + +2014-07-03 Maciej W. Rozycki + + * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30. + +2014-07-02 Siddhesh Poyarekar + + Sync up with gettext. + * intl/loadmsgcat.c: Define O_BINARY if not defined. + [_MSC_VER]: Include malloc.h + [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined. + (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag. + (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use + TEMP_FAILURE_RETRY. Cast return of alloca. + [!_LIBC] Call gl_rwlock_init. + [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument. + +2014-07-02 Roland McGrath + + * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined + before checking its value. + +2014-07-02 Siddhesh Poyarekar + + * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect. + + * debug/memcpy_chk.c: Don't include pagecopy.h. + * debug/mempcpy_chk.c: Likewise. + * string/memcpy.c: Likewise. + * string/memmove.c: Likewise. + * sysdeps/powerpc/memmove.c: Likewise. + * sysdeps/generic/memcopy.h: Include pagecopy.h. Move + definition of PAGE_COPY_FWD_MAYBE here... + * sysdeps/generic/pagecopy.h: ... from here. + * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h. + +2014-07-02 Vidya Ranganathan + Adhemerval Zanella + + * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name. + * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch + optimizations. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: + (__libc_ifunc_impl_list): Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file: + multiarch strcat for PPC64. + * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/ + * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file. + +2014-07-02 Roland McGrath + + * sysdeps/unix/sysv/linux/dl-sysdep.c: Include . + +2014-07-02 Siddhesh Poyarekar + + * intl/loadmsgcat.c: Remove declaration of + get_sysdep_segment_value. + (get_sysdep_segment_value): Use ISO C style. + (_nl_load_domain): Use ISO C style. Get rid of redundant + semicolon. Fix typo and formatting in comment. + (_nl_unload_domain): Use ISO C style. + + * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name. + +2014-07-02 Will Newton + + * malloc/obstack.c: Merge from gnulib master. + [HAVE_CONFIG_H]: Remove conditional code. + [!_LIBC]: Include config.h. + [!ELIDE_CODE]: Don't include inttypes.h, include + stdint.h unconditionally. + (print_and_abort): Mark as _Noreturn. + (_obstack_allocated_p): Mark as __attribute_pure__. + (obstack_free): Rename to __obstack_free. + [!__attribute__]: Remove conditional code. + * malloc/obstack.h: Merge from gnulib master. + [__cplusplus]: Move conditional down. + [!__attribute_pure__]: Define __attribute_pure__ here + if it is not already defined. + (_obstack_memory_used): Mark as __attribute_pure__. + [!__obstack_free]: Define as obstack_free. + [__GNUC__]: Remove check for ancient NeXT gcc. + +2014-07-02 Will Newton + Paul Eggert + + * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers. + +2014-07-02 Siddhesh Poyarekar + + * resolv/gethnamaddr.c: Add comment warning that the file is + not maintained. + +2014-07-01 Carlos O'Donell + + * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3 + entries. + + * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3 + entry for aio_cancel and aio_cancel64. + * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file. + * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file. + * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file. + * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file. + * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file. + * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file. + * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file. + * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file. + * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file. + * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file. + * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file. + * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file. + * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file. + +2014-07-01 Roland McGrath + + * sysdeps/unix/sysv/linux/sysconf.c: Include . + * nptl/pthread_mutex_lock.c: Likewise. + * nptl/pthread_mutex_timedlock.c: Likewise. + * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise. + +2014-07-01 Richard henderson + + * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove. + (__isnan, __isnanl): Remove. + * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic. + + * sysdeps/alpha/fpu/libm-test-ulps: Update. + +2014-07-01 Stefan Liebler + + * sysdeps/s390/fpu/libm-test-ulps: Regenerate. + +2014-07-01 Siddhesh Poyarekar + + * resolv/nss_dns/dns-host.c (getanswer_r) + [MULTI_PTRS_ARE_ALIASES]: Remove code. + +2014-07-01 Joseph Myers + + * sysdeps/unix/sysv/linux/microblaze/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not + undefine. + [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise. + [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise. + +2014-07-01 Roland McGrath + + * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file. + * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed. + + * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP. + * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed. + + * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ... + * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h: + ... here. + * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ... + * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here. + + * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ... + * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here. + * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ... + * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here. + + * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ... + * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here. + * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ... + * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here. + * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: + Moved ... + * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist: + ... here. + * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ... + * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here. + * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ... + * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here. + * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ... + * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here. + * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ... + * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here. + * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ... + * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here. + * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ... + * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here. + * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ... + * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here. + * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ... + * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here. + * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ... + * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here. + * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ... + * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist: + ... here. + * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ... + * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here. + * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ... + * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here. + * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ... + * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here. + * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ... + * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here. + +2014-07-01 David Holsgrove + + * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file. + * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use. + * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines): + Add sysdep. + +2014-06-30 Adhemerval Zanella + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2014-06-30 Joseph Myers + + * sysdeps/mips/mips32/libm-test-ulps: Regenerated. + * sysdeps/mips/mips64/libm-test-ulps: Likewise. + + * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated. + + * sysdeps/arm/libm-test-ulps: Regenerated. + +2014-06-30 Maciej W. Rozycki + Roland McGrath + + * test-skeleton.c (signal_handler): Kill the whole process group + before killing the child individually. + (main): Report any failure on `setpgid'. + +2014-06-30 Roland McGrath + + * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard + from _TLS_H to _ARM_NPTL_TLS_H. + (TLS_INIT_TP): Move macro, and #include of , to ... + * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file. + +2014-06-30 Joseph Myers + + [BZ #16539] + * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include . + (__expm1l): Return argument unchanged when small but not + subnormal. + + * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to + include macro name. + (_FP_UNPACK_RAW_1_P): Likewise. + (_FP_PACK_RAW_1): Likewise. + (_FP_PACK_RAW_1_P): Likewise. + (_FP_MUL_MEAT_1_wide): Likewise. + (_FP_MUL_MEAT_DW_1_hard): Likewise. + (_FP_MUL_MEAT_1_hard): Likewise. + (_FP_DIV_MEAT_1_imm): Likewise. + (_FP_DIV_MEAT_1_udiv_norm): Likewise. + (_FP_DIV_MEAT_1_udiv): Likewise. + * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise. + (_FP_UNPACK_RAW_2): Likewise. + (_FP_UNPACK_RAW_2_P): Likewise. + (_FP_PACK_RAW_2): Likewise. + (_FP_PACK_RAW_2_P): Likewise. + (_FP_MUL_MEAT_DW_2_wide): Likewise. + (_FP_MUL_MEAT_2_wide): Likewise. + (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise. + (_FP_MUL_MEAT_2_wide_3mul): Likewise. + (_FP_MUL_MEAT_DW_2_gmp): Likewise. + (_FP_MUL_MEAT_2_gmp): Likewise. + (_FP_DIV_MEAT_2_udiv): Likewise. + * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise. + (_FP_FRAC_SRL_4): Likewise. + (_FP_FRAC_SRST_4): Likewise. + (_FP_FRAC_SRS_4): Likewise. + (_FP_UNPACK_RAW_4): Likewise. + (_FP_UNPACK_RAW_4_P): Likewise. + (_FP_PACK_RAW_4): Likewise. + (_FP_PACK_RAW_4_P): Likewise. + (_FP_MUL_MEAT_DW_4_wide): Likewise. + (_FP_MUL_MEAT_4_wide): Likewise. + (_FP_MUL_MEAT_4_gmp): Likewise. + (umul_ppppmnnn): Likewise. + (_FP_DIV_MEAT_4_udiv): Likewise. + (__FP_FRAC_ADD_4): Likewise. + (__FP_FRAC_SUB_3): Likewise. + (__FP_FRAC_SUB_4): Likewise. + (__FP_FRAC_DEC_3): Likewise. + (__FP_FRAC_DEC_4): Likewise. + (__FP_FRAC_ADDI_4): Likewise. + * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise. + (_FP_FRAC_SRL_8): Likewise. + (_FP_FRAC_SRS_8): Likewise. + + * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to + include macro name. + (FP_UNPACK_RAW_EP): Likewise. + (FP_PACK_RAW_E): Likewise. + (FP_PACK_RAW_EP): Likewise. + * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise. + (_FP_ISSIGNAN): Likewise. + (_FP_ADD_INTERNAL): Likewise. + (_FP_FMA): Likewise. + (_FP_CMP): Likewise. + (_FP_SQRT): Likewise. + (_FP_TO_INT): Likewise. + (_FP_FROM_INT): Likewise. + (FP_EXTEND): Likewise. + (_FP_DIV_MEAT_N_loop): Likewise. + +2014-06-30 Maciej W. Rozycki + + * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting + throughout. + +2014-06-29 Joseph Myers + + [BZ #17097] + * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return + result with correct sign in case of exponents that produce + overflow except for X very close to 1. + +2014-06-28 Paul Eggert + + mktime: merge #if/#ifdef usage from glibc + * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG", + as that works with both Glibc's and Gnulib's style. + See thread starting at Siddhesh Poyarekar's bug report at: + http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html + +2014-06-28 Siddhesh Poyarekar + + * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE. + * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE. + * sysdeps/tile/tilegx/memmove.c: Remove file. + +2014-06-27 Joseph Myers + + * Makeconfig ($(common-objpfx)soversions.mk): Do not generate + abi-name definition. + * scripts/soversions.awk: Do not handle or generate ABI lines. + * shlib-versions: Remove ABI entries. + * sysdeps/powerpc/nofpu/shlib-versions: Remove file. + * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry. + +2014-06-27 Roland McGrath + + * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ... + * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here. + * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ... + * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here. + * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ... + * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here. + * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist: + Moved ... + * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist: + ... here. + * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ... + * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here. + * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ... + * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here. + * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ... + * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here. + * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ... + * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here. + * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ... + * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here. + * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ... + * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here. + * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist: + Moved ... + * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here. + * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ... + * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here. + * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ... + * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here. + * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist: + Moved ... + * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here. + * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist: + Moved ... + * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here. + * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ... + * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here. + * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist: + Moved ... + * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here. + * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ... + * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here. + * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ... + * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here. + * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ... + * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here. + * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist: + Moved ... + * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here. + * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ... + * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here. + * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist: + Moved ... + * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here. + * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data: + Moved ... + * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here. + * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ... + * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here. + * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist: + Moved ... + * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist: + ... here. + * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist: + Identical file removed. + * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist: + Moved ... + * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here. + * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist: + Identical file removed. + * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ... + * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here. + * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist: + Moved ... + * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here. + * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist: + Identical file removed. + * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ... + * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here. + * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist: + Identical file removed. + * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ... + * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here. + * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist: + Identical file removed. + * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ... + * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here. + * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist: + Identical file removed. + * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist: + Moved ... + * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here. + * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist: + Identical file removed. + * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist: + Moved ... + * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here. + * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ... + * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here. + * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist: + Identical file removed. + * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist: + Moved ... + * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: + ... here. + * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist: + Identical file removed. + * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist: + Moved ... + * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here. + * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist: + Identical file removed. + * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data: + Moved ... + * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here. + * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ... + * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here. + * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ... + * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here. + * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist: + Moved ... + * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here. + * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ... + * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here. + + * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate + SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S. + * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed. + * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed. + * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file. + +2014-06-27 Arjun Shankar + + [BZ #17092] + * nscd/nscd.c (monitor_child): Return exit status of child + instead of return value from wait syscall. + +2014-06-27 Joseph Myers + + * configure.ac (libc_commonpagesize): Remove variable. + (libc_relro_required): Likewise. + (libc_cv_z_relro): Remove configure test. + * configure: Regenerated. + * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set + variable. + (libc_relro_required): Likewise. + * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise. + (libc_relro_required): Likewise. + * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise. + (libc_relro_required): Likewise. + * sysdeps/arm/preconfigure: Regenerated. + * sysdeps/ia64/preconfigure: Remove file. + * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set + variable. + (libc_relro_required): Likewise. + + [BZ #16561] + [BZ #16562] + * sysdeps/ieee754/dbl-64/e_jn.c: Include . + (__ieee754_yn): Set FE_TONEAREST mode internally and then + recompute overflowing results in original rounding mode. + * sysdeps/ieee754/flt-32/e_jnf.c: Include . + (__ieee754_ynf): Set FE_TONEAREST mode internally and then + recompute overflowing results in original rounding mode. + * sysdeps/ieee754/ldbl-128/e_jnl.c: Include . + (__ieee754_ynl): Set FE_TONEAREST mode internally and then + recompute overflowing results in original rounding mode. + * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include . + (__ieee754_ynl): Set FE_TONEAREST mode internally and then + recompute overflowing results in original rounding mode. + * sysdeps/ieee754/ldbl-96/e_jnl.c: Include . + (__ieee754_ynl): Set FE_TONEAREST mode internally and then + recompute overflowing results in original rounding mode. + * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__] + (libc_feholdsetround_ctx): New macro. + * math/libm-test.inc (yn_test): Use ALL_RM_TEST. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps : Likewise. + +2014-06-26 Joseph Myers + + * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h + [__PIC__] (PSEUDO): Use name of _nocancel entry point in + corresponding .cpsetup call. + +2014-06-26 Roland McGrath + + * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ... + * sysdeps/arm/libc-aeabi_read_tp.S: ... here. + * sysdeps/arm/Makefile [$(subdir) = csu] + (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here. + (static-only-routines): Add aeabi_read_tp here. + (shared-only-routines): Add libc-aeabi_read_tp here. + (CFLAGS-libc-start.c): Add -fexceptions here. + * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu] + (sysdep_routines, static-only-routines, shared-only-routines): + Don't add to these here. + (CFLAGS-libc-start.c): Likewise. + + * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ... + * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here. + * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ... + * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here. + * sysdeps/arm/Makefile [$(subdir) = rt] + (librt-sysdep_routines, librt-shared-only-routines): + Append rt-aeabi_unwind_cpp_pr1 here. + * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt] + (librt-sysdep_routines, librt-shared-only-routines): Don't do it here. + * sysdeps/arm/nptl/Makefile [$(subdir) = nptl] + (libpthread-sysdep_routines, libpthread-shared-only-routines): + Append nptl-aeabi_unwind_cpp_pr1 here. + (tests): Filter out tst-cleanupx4 here. + * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl] + (libpthread-sysdep_routines, libpthread-shared-only-routines, tests): + Don't do those here. + +2014-06-26 Joseph Myers + + * scripts/list-sources.sh: Do not handle ports specially. + +2014-06-26 Roland McGrath + + * sysdeps/arm/fesetenv.c: Include . + * sysdeps/arm/feupdateenv.c: Likewise. + + * posix/spawn_faction_addopen.c: Include for free decl. + +2014-06-26 Joseph Myers + + * manual/texinfo.tex: Update to version 2014-05-05.10 with + trailing whitespace removed. + * scripts/config.guess: Update to version 2014-03-23. + * scripts/config.sub: Update to version 2014-05-01 + * scripts/install-sh: Update to version 2013-12-25.23. + * scripts/move-if-change: Update from gnulib. + +2014-06-26 Siddhesh Poyarekar + + * debug/memmove_chk.c: Remove pagecopy.h include. + +2014-06-26 Paul Eggert + + * time/mktime.c (leapyear): Remove inline keyword. The code is now + identical to gnulib mktime. + +2014-06-26 Joseph Myers + + * configure.ac: Do not test for machine being rs6000. Do not test + for powerpc*-*soft. + * configure: Regenerated. + + [BZ #11505] + * configure.ac (libc_cv_asm_cfi_directives): Remove configure + test. + * configure: Regenerated. + * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine. + * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections): + Remove configure test. + * sysdeps/arm/configure: Regenerated. + * sysdeps/nptl/configure.ac: Do not check + libc_cv_asm_cfi_directives. + * sysdeps/nptl/configure: Regenerated. + * sysdeps/x86_64/nptl/configure.ac: Remove file. + * sysdeps/x86_64/nptl/configure: Remove generated file. + * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code + unconditional. + [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code. + +2014-06-26 Siddhesh Poyarekar + + * posix/fnmatch.c: Define WIDE_CHAR_VERSION. + * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION. + (FCT): Check value of WIDE_CHAR_VERSION instead of checking if + it is defined. + + * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA + instead of whether it is defined. + * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA. + * sysdeps/hppa/dl-machine.h: Likewise. + * sysdeps/ia64/dl-machine.h: Likewise. + * sysdeps/m68k/dl-machine.h: Likewise. + * sysdeps/microblaze/dl-machine.h: Likewise. + * sysdeps/mips/dl-machine.: Likewise. + * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise. + * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise. + * sysdeps/s390/s390-32/dl-machine.h: Likewise. + * sysdeps/s390/s390-64/dl-machine.h: Likewise. + * sysdeps/sh/dl-machine.h: Likewise. + * sysdeps/sparc/sparc32/dl-machine.h: Likewise. + * sysdeps/sparc/sparc64/dl-machine.h: Likewise. + * sysdeps/tile/dl-machine.h: Likewise. + * sysdeps/x86_64/dl-machine.h: Likewise. + + * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove + code. + (verify_persistent_db): Likewise. + +2014-06-26 Roland McGrath + + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ... + * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here. + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ... + * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here. + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist: + Moved ... + * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist: + ... here. + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ... + * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here. + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: + Identical file removed. + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ... + * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here. + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ... + * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here. + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ... + * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here. + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ... + * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here. + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ... + * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here. + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist: + Moved ... + * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here. + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ... + * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here. + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ... + * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here. + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist: + Moved ... + * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here. + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ... + * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here. + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ... + * sysdeps/unix/sysv/linux/s390/localplt.data: ... here. + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data: + Identical file removed. + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ... + * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here. + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ... + * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here. + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist: + Moved ... + * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist: + ... here. + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ... + * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here. + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ... + * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here. + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ... + * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here. + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ... + * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here. + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ... + * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here. + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist: + Moved ... + * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here. + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: + Moved ... + * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here. + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ... + * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here. + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist: + Moved ... + * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here. + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ... + * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here. + + * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents + folded into ... + * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here. + * sysdeps/unix/sysv/linux/s390/Versions + (libpthread: GLIBC_2.19): New version set. + * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed. + * sysdeps/unix/sysv/linux/s390/s390-64/Versions + (librt: GLIBC_2.3.3): New version set. + * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed. + * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ... + * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here. + * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ... + * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here. + * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ... + * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here. + * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ... + * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here. + * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ... + * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here. + * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ... + * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here. + * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ... + * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here. + * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ... + * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here. + * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ... + * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here. + * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ... + * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here. + * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ... + * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here. + * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ... + * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here. + * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ... + * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here. + * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ... + * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here. + * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ... + * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here. + * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ... + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here. + * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ... + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here. + * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ... + * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here. + * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ... + * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here. + * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ... + * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here. + * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ... + * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here. + * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ... + * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here. + + * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ... + * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here. + (__libc_vfork): Define the function under this name. + [!NOT_IN_libc] (__vfork): Make this an alias. + [!NOT_IN_libc] (vfork): Conditionalize the weak_alias. + * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ... + * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here. + (__libc_vfork): Define the function under this name. + [!NOT_IN_libc] (__vfork): Make this an alias. + [!NOT_IN_libc] (vfork): Conditionalize the weak_alias. + * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file. + * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed. + * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed. + * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork. + * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. + + * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the + code that was previously under [RESET_PID]. + * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise. + * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed. + * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed. + + * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ... + * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here. + * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ... + * sysdeps/aarch64/nptl/bits/semaphore.h: ... here. + * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ... + * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here. + * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ... + * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here. + * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ... + * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here. + * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist: + Moved ... + * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here. + * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ... + * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here. + * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ... + * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here. + * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ... + * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here. + * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ... + * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here. + * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ... + * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here. + * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ... + * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here. + * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ... + * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here. + * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ... + * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here. + * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ... + * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here. + * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ... + * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here. + * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ... + * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here. + * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ... + * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here. + * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ... + * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here. + * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ... + * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here. + +2014-06-25 Roland McGrath + + * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code + that was previously under [RESET_PID]. + * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed. + +2014-06-25 Joseph Myers + + * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do + not undefine and redefine. + * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs) + [O_CLOEXEC]: Make code unconditional. + (__get_nprocs) [!O_CLOEXEC]: Remove conditional code. + * sysdeps/unix/sysv/linux/shm_open.c: Do not include + . + [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove + conditional variable definition. + (shm_open) [O_CLOEXEC]: Make code unconditional. + (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional + code. + + * configure.ac (USE_REGPARMS): Don't define here. + * configure: Regenerated. + * sysdeps/i386/configure.ac (USE_REGPARMS): Define here. + * sysdeps/i386/configure: Regenerated. + + * nptl/createthread.c: Don't include kernel-features.h. + * nptl/pthread_cancel.c: Likewise. + * nptl/pthread_condattr_setclock.c: Likewise. + * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise. + * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise. + * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise. + * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise. + * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise. + * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise. + * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise. + * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise. + * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise. + * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise. + * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise. + * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise. + * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise. + * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise. + * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise. + * nscd/gai.c: Likewise. + * nss/nss_db/db-open.c: Likewise. + * sysdeps/generic/ldsodefs.h: Likewise. + * sysdeps/sh/nptl/tls.h: Likewise. + * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise. + * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/adjtime.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise. + * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise. + * sysdeps/unix/sysv/linux/check_pf.c: Likewise. + * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise. + * sysdeps/unix/sysv/linux/clock_getres.c: Likewise. + * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise. + * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise. + * sysdeps/unix/sysv/linux/clock_settime.c: Likewise. + * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise. + * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise. + * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise. + * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise. + * sysdeps/unix/sysv/linux/generic/poll.c: Likewise. + * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise. + * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise. + * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise. + * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise. + * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise. + * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise. + * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise. + * sysdeps/unix/sysv/linux/getcwd.c: Likewise. + * sysdeps/unix/sysv/linux/getpagesize.c: Likewise. + * sysdeps/unix/sysv/linux/getsysstats.c: Likewise. + * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise. + * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise. + * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise. + * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise. + * sysdeps/unix/sysv/linux/ia64/system.c: Likewise. + * sysdeps/unix/sysv/linux/if_index.c: Likewise. + * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise. + * sysdeps/unix/sysv/linux/ifreq.c: Likewise. + * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise. + * sysdeps/unix/sysv/linux/lutimes.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pread.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/mmap64.c: Likewise. + * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/pread.c: Likewise. + * sysdeps/unix/sysv/linux/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/prof-freq.c: Likewise. + * sysdeps/unix/sysv/linux/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise. + * sysdeps/unix/sysv/linux/s390/system.c: Likewise. + * sysdeps/unix/sysv/linux/sh/pread.c: Likewise. + * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/sigpending.c: Likewise. + * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise. + * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/system.c: Likewise. + * sysdeps/unix/sysv/linux/syslog.c: Likewise. + * sysdeps/unix/sysv/linux/system.c: Likewise. + * sysdeps/unix/sysv/linux/testrtsig.h: Likewise. + * sysdeps/unix/sysv/linux/timespec_get.c: Likewise. + * sysdeps/unix/sysv/linux/ttyname.c: Likewise. + * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise. + * sysdeps/unix/sysv/linux/utimensat.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/xstatconv.h: Likewise. + + * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test. + * configure: Regenerated. + * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro. + + * configure.ac (base_machine): Do not set specially for particular + machines here. + * configure: Regenerated. + * sysdeps/powerpc/preconfigure: Move machine and base_machine + settings from configure.ac. + * sysdeps/i386/preconfigure: New file. + * sysdeps/s390/preconfigure: Likewise. + * sysdeps/sh/preconfigure: Likewise. + * sysdeps/sparc/preconfigure: Likewise. + +2014-06-25 Roland McGrath + + * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ... + * sysdeps/sparc/sparc64/cpu_relax.S: ... here. + * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ... + * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here. + * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ... + * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here. + * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ... + * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here. + * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ... + * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here. + * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ... + * sysdeps/sparc/sparc64/pthreaddef.h: ... here. + * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include. + * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise. + * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise. + * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ... + * sysdeps/sparc/sparc64/Makefile: ... appended here. + + * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ... + * sysdeps/sparc/sparc32/lowlevellock.c: ... here. + * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ... + * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here. + * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ... + * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here. + * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ... + * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here. + * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ... + * sysdeps/sparc/sparc32/pthreaddef.h: ... here. + * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ... + * sysdeps/sparc/sparc32/sem_post.c: ... here. + * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ... + * sysdeps/sparc/sparc32/sem_timedwait.c: ... here. + * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ... + * sysdeps/sparc/sparc32/sem_trywait.c: ... here. + * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ... + * sysdeps/sparc/sparc32/sem_wait.c: ... here. + * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ... + * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here. + * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ... + * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here. + * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ... + * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here. + * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ... + * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here. + * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ... + * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here. + * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ... + * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here. + * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ... + * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here. + * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ... + * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here. + * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ... + * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here. + * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ... + * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here. + + * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ... + * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here. + * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ... + * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here. + * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist: + Moved ... + * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist: + ... here. + * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ... + * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here. + * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ... + * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here. + * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: + Moved ... + * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here. + * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ... + * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here. + * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ... + * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here. + * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ... + * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here. + * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist: + Moved ... + * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here. + * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist: + Moved ... + * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here. + * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ... + * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here. + * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist: + Moved ... + * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here. + * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ... + * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here. + * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ... + * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here. + * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ... + * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here. + * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ... + * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here. + * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist: + Moved ... + * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist: + ... here. + * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ... + * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here. + * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ... + * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here. + * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: + Moved ... + * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here. + * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ... + * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here. + * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ... + * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here. + * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ... + * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here. + * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist: + Moved ... + * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here. + * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist: + Moved ... + * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here. + * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ... + * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here. + * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist: + Moved ... + * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here. + * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ... + * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here. + * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ... + * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here. + +2014-06-25 Joseph Myers + + * timezone/checktab.awk: Update from tzcode 2014e. + * timezone/private.h: Likewise. + * timezone/tzfile.h: Likewise. + * timezone/zdump.c: Likewise. + * timezone/zic.c: Likewise. + + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro. + * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted) + [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional. + (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]: + Remove conditional code. + +2014-06-25 Will Newton + + * sysdeps/unix/sysv/linux/arm/dl-procinfo.c + (_dl_arm_cap_flags): Add HWCAP2 values. + * sysdeps/unix/sysv/linux/arm/dl-procinfo.h + (_DL_HWCAP_COUNT): Increase to 37. + (_DL_HWCAP_LAST): New define. + (_DL_HWCAP2_LAST): New define. + (_dl_procinfo): Add support for printing + AT_HWCAP2 entries. + (_dl_string_hwcap): Use _dl_hwcap_string. + +2014-06-25 Adhemerval Zanella + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2014-06-25 Joseph Myers + + * README: Do not mention ports directory. + + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT): + Remove macro. + * sysdeps/unix/sysv/linux/futimes.c: Do not include + . + [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove + conditional variable definition. + (__futimes): Update comment. + (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional. + (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code. + + [BZ #16560] + * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for + arguments close to 0. + * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l): + Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l): + Likewise. + * math/auto-libm-test-in: Add more tests of exp10. + * math/auto-libm-test-out: Regenerated. + * sysdeps/x86_64/fpu/libm-test-ulps: Update. + + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_COMPLETE_READV_WRITEV): Remove macro. + * sysdeps/unix/sysv/linux/readv.c: Do not include + . + [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code. + [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro. + (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code + unconditional. + (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove + conditional code. + * sysdeps/unix/sysv/linux/writev.c: Do not include + . + [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code. + [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro. + (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code + unconditional. + (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove + conditional code. + +2014-06-25 Will Newton + + * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic + comment changes throughout the file. Remove checks + for HAVE_*_H definitions that are not required. + (__gen_tempname): Call abort if an unknown kind value is + passed. + +2014-06-25 Andreas Schwab + + [BZ #17086] + * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for + scalbln, scalblnf, scalblnl in libc. + +2014-06-25 Siddhesh Poyarekar + + [BZ #17086] + * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so. + * sysdeps/i386/fpu/s_scalbnf.S: Likewise. + * sysdeps/i386/fpu/s_scalbnl.S: Likewise. + +2014-06-24 Roland McGrath + + * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ... + * sysdeps/i386/i486/pthread_spin_trylock.S: ... here. + * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ... + * sysdeps/i386/i586/pthread_spin_trylock.S: ... here. + Update #include. + * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ... + * sysdeps/i386/i686/pthread_spin_trylock.S: ... here. + Update #include. + * sysdeps/x86_64/64/nptl/shlib-versions: Moved ... + * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here. + * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ... + * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here. + * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ... + * sysdeps/x86/bits/pthreadtypes.h: ... here. + * sysdeps/x86/nptl/bits/semaphore.h: Moved ... + * sysdeps/x86/bits/semaphore.h: ... here. + * sysdeps/x86/nptl/elide.h: Moved ... + * sysdeps/x86/elide.h: ... here. + * sysdeps/x86_64/nptl/Implies: File removed. + * sysdeps/i386/nptl/Implies: File removed. + +2014-06-24 Joseph Myers + + [BZ #16539] + * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just + return the argument for normal arguments with exponent below -64. + * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: + Likewise. + * math/auto-libm-test-in: Add another test of expm1. + * math/auto-libm-test-out: Regenerated. + + [BZ #16287] + * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without + calling __erfcl for arguments at least 16. + * math/auto-libm-test-in: Add more tests of erf. + * math/auto-libm-test-out: Regenerated. + + * sysdeps/unix/sysv/linux/configure.ac: Remove cases for + individual architectures. + * sysdeps/unix/sysv/linux/configure: Regenerated. + * sysdeps/unix/sysv/linux/i386/configure.ac: New file. + * sysdeps/unix/sysv/linux/i386/configure: New generated file. + * sysdeps/unix/sysv/linux/powerpc/configure.ac + (ldd_rewrite_script): Define variable. + * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New + file. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New + generated file. + * sysdeps/unix/sysv/linux/s390/configure.ac: New file. + * sysdeps/unix/sysv/linux/s390/configure: New generated file. + * sysdeps/unix/sysv/linux/sh/configure.ac: New file. + * sysdeps/unix/sysv/linux/sh/configure: New generated file. + * sysdeps/unix/sysv/linux/sparc/configure.ac: New file. + * sysdeps/unix/sysv/linux/sparc/configure: New generated file. + * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file. + * sysdeps/unix/sysv/linux/x86_64/configure: New generated file. + +2014-06-24 Siddhesh Poyarekar + + [BZ #17084] + * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t): + Rename member __data.d to __data.__elision_data. + +2014-06-24 Wilco + + * NEWS: Add 16918 to fixed bug list. + +2014-06-24 Wilco + + * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation. + +2014-06-24 Wilco + + * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define. + * sysdeps/arm/fenv_private.h (libc_fesetround_vfp) + (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp) + (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx) + (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM. + * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM. + * sysdeps/arm/get-rounding-mode.h (get_rounding_mode): + Use _FPU_MASK_RM. + +2014-06-24 Wilco + + * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include. + +2014-06-24 Wilco + + * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space. + * sysdeps/arm/fesetenv.c (fesetenv): Remove space. + * sysdeps/arm/fesetround.c (fesetround): Remove space. + * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space. + +2014-06-24 Wilco + + [BZ #16918] + * sysdeps/arm/feupdateenv.c (feupdateenv): + Rewrite to reduce FPSCR accesses and fix return value. + +2014-06-24 Wilco + + * sysdeps/arm/fclrexcpt.c (feclearexcept): + Optimize to avoid unnecessary FPSCR writes. + * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise. + * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise. + * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise. + * sysdeps/arm/setfpucw.c (__setfpucw): Likewise. + +2014-06-24 Wilco + + * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode. + * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp. + * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp. + * sysdeps/arm/fgetexcptflg.c (fegetexceptflag): + Call libc_fetestexcept_vfp. + * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp. + * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of + __SOFTFP__ ifdef so that they can be built for softfp. + +2014-06-24 Siddhesh Poyarekar + + * sysdeps/x86/nptl/elide.h (elision_adapt): Make first + argument type signed char. + + * Makerules (check-abi): Dump diff of symlist if the test + fails. + +2014-06-23 Roland McGrath + + * sysdeps/generic/get-rounding-mode.h: Include before + using abort. + + * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): + Remove unused variable ST. + +2014-06-23 Joseph Myers + + [BZ #16354] + [BZ #17061] + * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for + small arguments before calling __expm1. + * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for + small arguments before calling __expm1f. + * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for + small arguments before calling __expm1l. + * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): + Likewise. + * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise. + * math/auto-libm-test-in: Add more cosh tests. Do not allow + spurious underflow for some cosh tests. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + + [BZ #17050] + * sysdeps/ieee754/dbl-64/e_j1.c: Include . + (__ieee754_y1): Set errno if return value overflows. + * sysdeps/ieee754/flt-32/e_j1f.c: Include . + (__ieee754_y1f): Set errno if return value overflows. + * sysdeps/ieee754/ldbl-128/e_j1l.c: Include . + (__ieee754_y1l): Set errno if return value overflows. + * sysdeps/ieee754/ldbl-96/e_j1l.c: Include . + (__ieee754_y1l): Set errno if return value overflows. + * math/auto-libm-test-in: Add more tests of y0, y1 and yn. + * math/auto-libm-test-out: Regenerated. + + * math/gen-auto-libm-tests.c: Document use of + ignore-zero-inf-sign. + (input_flag_type): Add value flag_ignore_zero_inf_sign. + (input_flags): Add ignore-zero-inf-sign. + (output_for_one_input_case): Handle flag_ignore_zero_inf_sign. + * math/gen-libm-test.pl (generate_testfile): Handle + ignore-zero-inf-sign. + * math/auto-libm-test-in: Mark some cpow tests with + ignore-zero-inf-sign and some with xfail-rounding. + * math/auto-libm-test-out: Regenerated. + * math/libm-test.inc (cpow_test): Use ALL_RM_TEST. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + [BZ #16315] + * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly + overflowing or underflowing operations take place with sign of + result. + * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise. + * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. + * sysdeps/ieee754/dbl-64/e_pow.c: Include . + (__ieee754_pow): Recompute overflowing and underflowing results in + original rounding mode. + * sysdeps/x86/fpu/powl_helper.c: Include . + (__powl_helper): Allow negative argument X and scale negated value + as needed. Avoid passing value outside [-1, 1] to f2xm1. + * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly + overflowing or underflowing operations take place with sign of + result. + * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: + Include . + * math/auto-libm-test-in: Add more tests of pow. + * math/auto-libm-test-out: Regenerated. + * math/libm-test.inc (pow_test): Use ALL_RM_TEST. + (pow_tonearest_test_data): Remove. + (pow_test_tonearest): Likewise. + (pow_towardzero_test_data): Likewise. + (pow_test_towardzero): Likewise. + (pow_downward_test_data): Likewise. + (pow_test_downward): Likewise. + (pow_upward_test_data): Likewise. + (pow_test_upward): Likewise. + (main): Don't call removed functions. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2014-06-23 Roland McGrath + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data: + File removed. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist: + File removed. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist: + File removed. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist: + File removed. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist: + File removed. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist: + File removed. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist: + File removed. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist: + File removed. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist: + File removed. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist: + File removed. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist: + File removed. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist: + File removed. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist: + ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist: + ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: + ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: + ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: + ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist: + ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist: + ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist: + ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist: + ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist: + ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist: + ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist: + ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist: + ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist: + ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here. + +2014-06-23 Will Newton + Wilco + + * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX + implementation. Include get-rounding-mode.h. + [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero. + [!libc_feholdsetround_noex_ctx]: Define + libc_feholdsetround_noex_ctx. + [!libc_feholdsetround_noexf_ctx]: Define + libc_feholdsetround_noexf_ctx. + [!libc_feholdsetround_noexl_ctx]: Define + libc_feholdsetround_noexl_ctx. + (libc_feholdsetround_ctx): New function. + (libc_feresetround_ctx): New function. + (libc_feholdsetround_noex_ctx): New function. + (libc_feresetround_noex_ctx): New function. + +2014-06-23 Roland McGrath + + * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ... + * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here. + * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ... + * sysdeps/mips/nptl/bits/semaphore.h: ... here. + * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ... + * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here. + + * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ... + * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here. + * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ... + * sysdeps/m68k/nptl/bits/semaphore.h: ... here. + * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ... + * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here. + * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ... + * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here. + * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ... + * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here. + * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist: + Moved ... + * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist: + ... here. + * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ... + * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here. + * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ... + * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here. + * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist: + Moved ... + * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here. + * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ... + * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here. + * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ... + * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here. + * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ... + * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here. + * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist: + Moved ... + * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here. + * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist: + Moved ... + * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here. + * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ... + * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here. + * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist: + Moved ... + * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here. + * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ... + * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here. + * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ... + * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here. + * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ... + * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here. + * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ... + * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here. + * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist: + Moved ... + * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist: + ... here. + * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ... + * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here. + * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ... + * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here. + * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ... + * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here. + * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ... + * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here. + * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ... + * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here. + * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ... + * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here. + * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist: + Moved ... + * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here. + * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ... + * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here. + * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ... + * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here. + * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist: + Moved ... + * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here. + * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ... + * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here. + * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ... + * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here. + + * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ... + * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here. + * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ... + * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here. + * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ... + * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here. + * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ... + * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here. + * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ... + * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here. + * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ... + * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here. + * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ... + * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here. + * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ... + * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here. + * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ... + * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here. + * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ... + * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here. + * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ... + * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here. + * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ... + * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here. + * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ... + * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here. + * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ... + * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here. + +2014-06-23 Joseph Myers + + * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU] + (FALLOC_FL_COLLAPSE_RANGE): New macro. + [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise. + * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise. + (IPV6_PMTUDISC_INTERFACE): Likewise. + (IPV6_PMTUDISC_OMIT): Likewise. + +2014-06-23 Andreas Schwab + + * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): + Remove unused errout label. + +2014-06-23 Adhemerval Zanella + + * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New + macro: hardware supports Vector Crypto instructions. + +2014-06-23 Will Newton + + * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely + rather than __builtin_expect. + + * elf/dl-lookup.c (undefined_msg): Remove variable. + (_dl_lookup_symbol_x): Replace undefined_msg with string + literal. + + * elf/dl-lookup.c (do_lookup_unique): New function. + (do_lookup_x): Move STB_GNU_UNIQUE handling code + to a separate function. + +2014-06-23 Andreas Schwab + + [BZ #17079] + * nss/nss_files/files-XXX.c (get_contents): Store overflow marker + before reading the next line. + +2014-06-23 Will Newton + + * test-skeleton.c (signal_handler): Use printf and %m + rather than perror. Use printf rather than fprintf to + stderr. Use puts rather than fputs to stderr. + (main): Likewise. + +2014-06-22 Ludovic CourtĂšs + + * nscd/nscd.c (thread_info_t): Remove typedef. + (thread_info): Remove variable. + +2014-06-21 Allan McRae + + * NEWS: Mention CVE-2014-4043. + +2014-06-20 Roland McGrath + + * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ... + * nptl/smp.h: ... here. + + * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed. + + * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros. + * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H. + * locale/Makefile (CPPFLAGS-locale-programs): Likewise. + * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it. + + * nptl/allocatestack.c: Include . + * nptl/stack-aliasing.h: New file. + * sysdeps/i386/i686/stack-aliasing.h: New file. + * sysdeps/i386/i686/nptl/Makefile: File removed. + * sysdeps/x86_64/stack-aliasing.h: New file. + * sysdeps/x86_64/nptl/Makefile + (CFLAGS-pthread_create.c): Variable removed. + + * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ... + * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the + old file. + * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ... + * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the + old file. + +2014-06-21 Joseph Myers + + * sysdeps/unix/sysv/linux/arm/kernel-features.h + (__ASSUME_SIGFRAME_V2): Remove macro. + * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment. + [!__ASSUME_SIGFRAME_V2]: Remove conditional code. + (__default_sa_restorer_v2): Rename to __default_sa_restorer. + (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer. + * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer): + Declare as function. Remove conditional macro definitions. + (__default_rt_sa_restorer): Likewise. + (__default_sa_restorer_v1): Remove declaration. + (__default_sa_restorer_v2): Likewise. + (__default_rt_sa_restorer_v1): Likewise. + (__default_rt_sa_restorer_v2): Likewise. + * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove + __default_sa_restorer_v1, __default_rt_sa_restorer_v1, + __default_sa_restorer_v2 and __default_rt_sa_restorer_v2. + +2014-06-20 Roland McGrath + + * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl] + (libpthread-routines): Add sysdep. + * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed. + * sysdeps/unix/sysv/linux/sparc/Versions + (libpthread: GLIBC_2.3.3): New version set. + * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed. + * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ... + * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here. + * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ... + * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next. + * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c: + Moved ... + * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here. + * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ... + * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here. + * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ... + * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here. + * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ... + * sysdeps/sparc/nptl/sem_init.c: ... here. + * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ... + * sysdeps/sparc/nptl/sem_post.c: ... here. + * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ... + * sysdeps/sparc/nptl/sem_timedwait.c: ... here. + * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ... + * sysdeps/sparc/nptl/sem_wait.c: ... here. + * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ... + * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here. + * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl] + (libpthread-routines): Add cpu_relax. + * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile: + File removed. + * sysdeps/unix/sysv/linux/sparc/sparc64/Versions + (librt: GLIBC_2.3.3): New version set. + * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed. + * sysdeps/sparc/sparc64/nptl/Makefile: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl] + (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables. + * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed. + * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ... + * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here. + * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c: + Moved ... + * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here. + * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ... + * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here. + * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ... + * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here. + * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ... + * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here. + * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ... + * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here. + * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S: + Moved ... + * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here. + Update #include. + * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c: + Moved ... + * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here. + Update #include. + * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c: + Moved ... + * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here. + Update #include. + * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c: + Moved ... + * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here. + Update #include. + * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c: + Moved ... + * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here. + Update #include. + * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c: + Moved ... + * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here. + Update #include. + * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ... + * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here. + * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ... + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here. + * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ... + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here. + * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ... + * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here. + * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ... + * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here. + * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: + Moved ... + * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here. + * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ... + * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here. + * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ... + * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here. + +2014-06-20 Joseph Myers + + * nptl/pthread_cond_wait.c: Include . + * nptl/pthread_rwlock_timedrdlock.c: Likewise. + * nptl/pthread_rwlock_timedwrlock.c: Likewise. + * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise. + * nscd/nscd.c: Likewise. + * sysdeps/i386/nptl/tcb-offsets.sym: Likewise. + * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise. + * sysdeps/sh/nptl/tcb-offsets.sym: Likewise. + * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise. + + * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include + . + (init_mq_netlink): Remove conditional have_sock_cloexec + definitions. Remove code conditional on have_sock_cloexec < 0. + (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code. + (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise. + * sysdeps/unix/sysv/linux/opensock.c: Do not include + . + (__opensock) [SOCK_CLOEXEC]: Make code unconditional. + (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code. + +2014-06-20 H.J. Lu + + * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list): + Add tests for memset_chk and memset. + + * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined + with AVX2_Usable. + +2014-06-20 Maciej W. Rozycki + + [BZ #16046] + * elf/tst-dl-iter-static.c: New file. + * elf/Makefile (tests-static): Add tst-dl-iter-static. + + * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation + error. + +2014-06-20 Joseph Myers + + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_F_GETOWN_EX): Remove macro. + * sysdeps/unix/sysv/linux/fcntl.c: Do not include + . + (miss_F_GETOWN_EX): Remove variable or macro. + (do_fcntl): Do not check miss_F_GETOWN_EX. + (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code. + + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM): + Remove macro. + * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard) + [!__ASSUME_AT_RANDOM]: Remove conditional code. + (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise. + + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro. + * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME) + [ADJ_OFFSET_SS_READ]: Make code unconditional. + (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code. + +2014-06-20 Maciej W. Rozycki + + [BZ #17075] + * sysdeps/arm/dl-machine.h (elf_machine_rel) : + Fix calculation of the symbol's value. + * sysdeps/arm/tst-armtlsdescloc.c: New file. + * sysdeps/arm/tst-armtlsdesclocmod.c: New file. + * sysdeps/arm/tst-armtlsdescextnow.c: New file. + * sysdeps/arm/tst-armtlsdescextlazymod.c: New file. + * sysdeps/arm/tst-armtlsdescextlazy.c: New file. + * sysdeps/arm/tst-armtlsdescextnowmod.c: New file. + * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc', + `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'. + (modules-names): Add `tst-armtlsdescmod', + `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'. + (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable. + (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise. + (CFLAGS-tst-armtlsdesclocmod.c): Likewise. + (CFLAGS-tst-armtlsdescextnowmod.c): Likewise. + (CFLAGS-tst-armtlsdescextlazymod.c): Likewise. + (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise. + ($(objpfx)tst-armtlsdescloc): New dependency. + ($(objpfx)tst-armtlsdescextnow): Likewise. + ($(objpfx)tst-armtlsdescextlazy): Likewise. + * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor + TLS scheme support. + * sysdeps/arm/configure: Regenerate. + +2014-06-20 Joseph Myers + + * include/fcntl.h (__atfct_seterrno): Remove prototype. + (__atfct_seterrno_2): Likewise. + * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include + . + (__ASSUME_ATFCTS): Do not undefine and redefine. + * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS] + (__have_atfcts): Remove conditional definition. + (__fxstatat([__NR_fstatat64]: Make code unconditional. + (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code + unreachable if [__ASSUME_ATFCTS]. + * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do + not undefine and redefine. + * sysdeps/unix/sysv/linux/faccessat.c: Do not include + . + (faccessat) [__NR_faccessat]: Make code unconditional. + (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code. + * sysdeps/unix/sysv/linux/fchmodat.c: Do not include + . + (fchmodat) [__NR_fchmodat]: Make code unconditional. + (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code. + * sysdeps/unix/sysv/linux/fchownat.c: Do not include + . + (fchownat) [__NR_fchownat]: Make code unconditional. + (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code. + * sysdeps/unix/sysv/linux/futimesat.c: Do not include + . + (futimesat) [__NR_futimesat]: Make code unconditional. + (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code. + * sysdeps/unix/sysv/linux/fxstatat.c: Do not include + . + (__fxstatat) [__NR_newfstatat]: Make code unconditional. + (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code. + * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include + . + (__fxstatat64) [__NR_fstatat64]: Make code unconditional. + (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code. + * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file. + * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include + . + (__fxstatat) [__NR_fstatat64]: Make code unconditional. + (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code. + * sysdeps/unix/sysv/linux/linkat.c: Do not include + . + (linkat) [__NR_linkat]: Make code unconditional. + (linkat) [!__ASSUME_ATFCTS]: Remove conditional code. + * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file. + * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include + . + (__fxstatat64) [__NR_newfstatat]: Make code unconditional. + (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code. + * sysdeps/unix/sysv/linux/mkdirat.c: Do not include + . + (mkdirat) [__NR_mkdirat]: Make code unconditional. + (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code. + * sysdeps/unix/sysv/linux/openat.c: Do not include + . + [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function. + [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable. + (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional. + (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code. + * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file. + * sysdeps/unix/sysv/linux/readlinkat.c: Do not include + . + (readlinkat) [__NR_readlinkat]: Make code unconditional. + (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return + result of INLINE_SYSCALL directly, not via int variable. + * sysdeps/unix/sysv/linux/renameat.c: Do not include + . + [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function. + (renameat) [__NR_renameat]: Make code unconditional. + (renameat) [!__ASSUME_ATFCTS]: Remove conditional code. + * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file. + * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file. + * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file. + * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c + (__ASSUME_ATFCTS): Do not undefine and redefine. + * sysdeps/unix/sysv/linux/symlinkat.c: Do not include + . + (symlinkat) [__NR_symlinkat]: Make code unconditional. + (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. + * sysdeps/unix/sysv/linux/unlinkat.c: Do not include + . + (unlinkat) [__NR_unlinkat]: Make code unconditional. + (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. + * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c + (__ASSUME_ATFCTS): Do not undefine and redefine. + * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include + . + (__fxstatat) [__NR_newfstatat]: Make code unconditional. + (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code. + * sysdeps/unix/sysv/linux/xmknodat.c: Do not include + . + (__xmknodat) [__NR_mknodat]: Make code unconditional. + (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code. + +2014-06-20 H.J. Lu + + * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed. + +2014-06-20 Andreas Schwab + + [BZ #17069] + * posix/regcomp.c (parse_reg_exp): Deallocate partially + constructed tree before returning error. + * posix/bug-regexp36.c: Expand test case. + +2014-06-20 Stefan Liebler + + [BZ #6803] + * math/libm-test.inc (scalbln_test_date): + Add errno expectations. + * math/w_scalblnf.c: New File. + Add wrapper which checks for setting errno to ERANGE. + Add weak_alias for corresponding scalbln function. + * math/w_scalbln.c: Likewise. + * math/w_scalblnl.c: Likewise. + * math/Makefile (libm-calls): Add w_scalbln. + * sysdeps/ieee754/flt-32/s_scalblnf.c: + Remove weak_alias for corresponding scalbln function. + * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise. + * sysdeps/i386/fpu/s_scalbnf.S: Likewise. + * sysdeps/i386/fpu/s_scalbn.S: Likewise. + * sysdeps/i386/fpu/s_scalbnl.S: Likewise. + * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise. + * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: + Remove long_double_symbol for scalblnl function in libm, libc. + * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File. + Add wrapper which checks for setting errno to ERANGE. + Add long_double_symbol for scalblnl function in libm, libc. + * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: + Remove long_double_symbol for scalblnl in libm. + * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File. + Add wrapper which checks for setting errno to ERANGE. + Add long_double_symbol for scalblnl function in libm. + * sysdeps/ia64/fpu/w_scalblnf.c: New File. + Do not use wrapper because of own implementation. + +2014-06-19 H.J. Lu + + * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use + 3 bytes for __pad1 for x32. + (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise. + +2014-06-19 Ling Ma + H.J. Lu + + * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2. + * sysdeps/x86_64/multiarch/memset-avx2.S: New file. + * sysdeps/x86_64/multiarch/memset.S: Likewise. + * sysdeps/x86_64/multiarch/memset_chk.S: Likewise. + * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise. + +2014-06-19 Andreas Schwab + + [BZ #17069] + * posix/regcomp.c (parse_expression): Deallocate partially + constructed tree before returning error. + * posix/Makefile.c (tests): Add bug-regex36. + (generated): Add bug-regex36.mtrace. + (tests-special): Add $(objpfx)bug-regex36-mem.out + (bug-regex36-ENV): New variable. + ($(objpfx)bug-regex36-mem.out): New rule. + * posix/bug-regex36.c: New file. + +2014-06-19 Will Newton + + * malloc/malloc.c (systrim): If extra is zero then return + early. + +2014-06-19 Siddhesh Poyarekar + + * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.). + +2014-06-19 Richard Earnshaw + + * sysdeps/aarch64/strchr.S: New file. + +2014-06-18 Joseph Myers + + [BZ #17022] + * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1 + from arguments -2 or below. + * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise. + * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise. + +2014-06-18 Andreas Schwab + + [BZ #17062] + * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest + of a bracket expr not to run off the end of the string. + * posix/Makefile (tests): Add tst-fnmatch3. + * posix/tst-fnmatch3.c: New file. + +2014-06-18 Joseph Myers + + * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix). + * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules) + [$(cross-compiling) = no]: Likewise. + * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules) + [$(cross-compiling) = no]: Likewise. + +2014-16-17 Rajalakshmi Srinivasaraghavan + + [BZ #17031] + * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low + double, adjusted for any remainder from the high double. + * math/libm-test.inc (nearbyint): Add tests. + (rint): Likewise. + +2014-06-17 Adhemerval Zanella + + * nptl/sysdeps/powerpc/Makefile: Moved ... + * sysdeps/powerpc/nptl/Makefile: ... here. + * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ... + * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here. + * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ... + * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here. + * nptl/sysdeps/powerpc/pthreaddef.h: Moved ... + * sysdeps/powerpc/nptl/pthreaddef.h: ... here. + * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ... + * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here. + * nptl/sysdeps/powerpc/tls.h: Moved ... + * sysdeps/powerpc/nptl/tls.h: ... here. + +2014-06-16 Joseph Myers + + [BZ #16681] + * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI. + * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise. + * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise. + * sysdeps/i386/fpu/s_floor.S (__floor): Likewise. + * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise. + * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise. + * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise. + * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise. + * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise. + +2014-06-17 Andreas Schwab + + * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update. + +2014-06-16 Andreas Schwab + + * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after + defined operator. + + * scripts/cross-test-ssh.sh (timeoutfactor): Default to + $TIMEOUTFACTOR. + +2014-06-16 Florian Weimer + + [BZ #17058] + * nptl/tst-setuid2.c (do_test): Fix tautological comparison in + non-executed part of the test. + +2014-06-16 Andreas Schwab + + * string/bits/string2.h (strdup, strndup): Update feature guard. + +2014-06-14 David S. Miller + + * sysdeps/sparc/fpu/libm-test-ulps: Update. + +2014-06-14 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code + that was previously under [RESET_PID]. + * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file. + + * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file. + * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file. + * sysdeps/unix/sysv/linux/m68k/vfork.S: Include . + (__vfork): Incorporate save/restore of PID from nptl/vfork.S here. + (__libc_vfork): New strong alias. + * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file. + +2014-06-14 Andi Kleen + + * sysdeps/generic/elide.h: New file. + +2014-06-13 Stefan Liebler + + * Makefile (installed-headers): Adjust path of pthread.h header. + +2014-06-13 Roland McGrath + + * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ... + * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here. + * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ... + * sysdeps/s390/nptl/bits/semaphore.h: ... here. + + * nptl/sysdeps/s390/Makefile: Moved ... + * sysdeps/s390/nptl/Makefile: ... here. + * nptl/sysdeps/s390/pthread_spin_init.c: Moved ... + * sysdeps/s390/nptl/pthread_spin_init.c: ... here. + * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ... + * sysdeps/s390/nptl/pthread_spin_lock.c: ... here. + * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ... + * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here. + * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ... + * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here. + * nptl/sysdeps/s390/pthreaddef.h: Moved ... + * sysdeps/s390/nptl/pthreaddef.h: ... here. + * nptl/sysdeps/s390/tcb-offsets.sym: Moved ... + * sysdeps/s390/nptl/tcb-offsets.sym: ... here. + * nptl/sysdeps/s390/tls.h: Moved ... + * sysdeps/s390/nptl/tls.h: ... here. + + * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file. + * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed. + +2014-06-13 David S. Miller + + * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete. + * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete. + * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ... + * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here. + * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete. + * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete. + * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ... + * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here. + * sysdeps/unix/sysv/linux/sparc/fork.S: Delete. + * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start): + Remove RESET_PID cpp guards. + * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start): + Remove RESET_PID cpp guards. + * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete. + +2014-06-13 Andreas Schwab + + * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast + __sp to uintptr_t. + +2014-06-13 Andi Kleen + + * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove. + * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito. + * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito. + * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito. + * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito. + * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito. + * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito. + * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito. + * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito. + * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito. + * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito. + * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito. + * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito. + * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito. + * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito. + * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito. + * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito. + * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito. + * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito. + * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito. + + * nptl/pthread_rwlock_rdlock.c: Include elide.h. + (pthread_rwlock_rdlock): Add elision. + * nptl/pthread_rwlock_wrlock.c: Include elide.h. + (pthread_rwlock_wrlock): Add elision. + * nptl/pthread_rwlock_trywrlock.c: Include elide.h. + (pthread_rwlock_trywrlock): Add elision. + * nptl/pthread_rwlock_tryrdlock.c: Include elide.h. + (pthread_rwlock_tryrdlock): Add elision. + * nptl/pthread_rwlock_unlock.c: Include elide.h. + (pthread_rwlock_tryrdlock): Add elision unlock. + * nptl/sysdeps/pthread/pthread.h: + (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define + (PTHREAD_RWLOCK_INITIALIZER, + PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP): + Handle new elision field. + * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros. + * sysdeps/arm/nptl/bits/pthreadtypes.h + (__PTHREAD_RWLOCK_ELISION_EXTRA): Add. + * sysdeps/sh/nptl/bits/pthreadtypes.h + (__PTHREAD_RWLOCK_ELISION_EXTRA): Add. + * sysdeps/tile/nptl/bits/pthreadtypes.h + (__PTHREAD_RWLOCK_ELISION_EXTRA): Add. + * sysdeps/a/nptl/bits/pthreadtypes.h + (__PTHREAD_RWLOCK_ELISION_EXTRA): Add. + * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h + (__PTHREAD_RWLOCK_ELISION_EXTRA): Add. + * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h + (__PTHREAD_RWLOCK_ELISION_EXTRA): Add. + * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h + (__PTHREAD_RWLOCK_ELISION_EXTRA): Add. + * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h + (__PTHREAD_RWLOCK_ELISION_EXTRA): Add. + * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h + (__PTHREAD_RWLOCK_ELISION_EXTRA): Add. + * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h + (__PTHREAD_RWLOCK_ELISION_EXTRA): Add. + * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h + (__PTHREAD_RWLOCK_ELISION_EXTRA): Add. + * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h + (__PTHREAD_RWLOCK_ELISION_EXTRA): Add. + * sysdeps/unix/sysv/linux/x86/elision-conf.c: + (elision_init): Set try_xbegin to zero when no RTM. + * sysdeps/x86/nptl/bits/pthreadtypes.h + (pthread_rwlock_t): Change __pad1 to __rwelision. + (__PTHREAD_RWLOCK_ELISION_EXTRA): Add. + +2014-06-13 Andi Kleen + + * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock): + Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock. + * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock): + Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock. + +2014-06-13 Meador Inge + + [BZ #16996] + * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure + that the cached result has been set before returning it. + +2014-06-12 Roland McGrath + + * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ... + * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here. + * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ... + * sysdeps/sparc/nptl/bits/semaphore.h: ... here. + * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ... + * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here. + + * nptl/sysdeps/sparc/Makefile: Moved ... + * sysdeps/sparc/nptl/Makefile: ... here. + * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ... + * sysdeps/sparc/nptl/tcb-offsets.sym: ... here. + * nptl/sysdeps/sparc/tls.h: Moved ... + * sysdeps/sparc/nptl/tls.h: ... here. + * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ... + * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here. + * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ... + * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here. + * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ... + * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here. + * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ... + * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here. + * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ... + * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here. + * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ... + * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here. + * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ... + * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here. + * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ... + * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here. + * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ... + * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here. + Update #include. + * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ... + * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here. + Update #include. + * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ... + * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here. + Update #include. + * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ... + * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here. + Update #include. + + * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro. + + * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file. + * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed. + + * sysdeps/pthread/posix-timer.h: Include . + (struct list_links): Type removed. + (struct thread_node, struct timer_node): Replace struct list_links + with struct list_head. + (list_unlink_ip): Likewise. + * sysdeps/pthread/timer_routines.c + (timer_free_list, thread_free_list, thread_active_list): Likewise. + (list_append, list_insbefore): Likewise. + (list_init): Function removed. + (thread_init, init_module): Use INIT_LIST_HEAD instead. + * sysdeps/nptl/Makefile: Move tst-timer bits to ... + * sysdeps/pthread/Makefile: ... here, new file. + + * nptl/sysdeps/unix/sysv/linux/Implies: Moved ... + * sysdeps/nptl/Implies: ... here. + * sysdeps/unix/sysv/linux/Implies: Add nptl. + * nptl/sysdeps/pthread/list.h: Moved ... + * include/list.h: ... here. + * nptl/sysdeps/pthread/createthread.c: Moved ... + * nptl/createthread.c: ... here. + * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include. + * nptl/sysdeps/pthread/pt-longjmp.c: Moved ... + * nptl/pt-longjmp.c: ... here. + * nptl/sysdeps/pthread/Makefile: Moved ... + * sysdeps/nptl/Makefile: ... here. + * nptl/sysdeps/pthread/Subdirs: Moved ... + * sysdeps/nptl/Subdirs: ... here. + * nptl/sysdeps/pthread/aio_misc.h: Moved ... + * sysdeps/nptl/aio_misc.h: ... here. + * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ... + * sysdeps/nptl/bits/libc-lock.h: ... here. + * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ... + * sysdeps/nptl/bits/libc-lockP.h: ... here. + * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ... + * sysdeps/nptl/bits/stdio-lock.h: ... here. + * nptl/sysdeps/pthread/configure: Moved ... + * sysdeps/nptl/configure: ... here. + * nptl/sysdeps/pthread/configure.ac: Moved ... + * sysdeps/nptl/configure.ac: ... here. + * nptl/sysdeps/pthread/gai_misc.h: Moved ... + * sysdeps/nptl/gai_misc.h: ... here. + * nptl/sysdeps/pthread/librt-cancellation.c: Moved ... + * sysdeps/nptl/librt-cancellation.c: ... here. + * nptl/sysdeps/pthread/malloc-machine.h: Moved ... + * sysdeps/nptl/malloc-machine.h: ... here. + * nptl/sysdeps/pthread/pthread-functions.h: Moved ... + * sysdeps/nptl/pthread-functions.h: ... here. + * nptl/sysdeps/pthread/pthread.h: Moved ... + * sysdeps/nptl/pthread.h: ... here. + * nptl/sysdeps/pthread/setxid.h: Moved ... + * sysdeps/nptl/setxid.h: ... here. + * nptl/sysdeps/pthread/sigfillset.c: Moved ... + * sysdeps/nptl/sigfillset.c: ... here. + * nptl/sysdeps/pthread/tcb-offsets.h: Moved ... + * sysdeps/nptl/tcb-offsets.h: ... here. + * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ... + * sysdeps/nptl/tst-mqueue8x.c: ... here. + * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ... + * sysdeps/nptl/unwind-forcedunwind.c: ... here. + * nptl/sysdeps/pthread/allocalim.h: Moved ... + * sysdeps/pthread/allocalim.h: ... here. + * nptl/sysdeps/pthread/bits/sigthread.h: Moved ... + * sysdeps/pthread/bits/sigthread.h: ... here. + * nptl/sysdeps/pthread/flockfile.c: Moved ... + * sysdeps/pthread/flockfile.c: ... here. + * nptl/sysdeps/pthread/ftrylockfile.c: Moved ... + * sysdeps/pthread/ftrylockfile.c: ... here. + * nptl/sysdeps/pthread/funlockfile.c: Moved ... + * sysdeps/pthread/funlockfile.c: ... here. + * nptl/sysdeps/pthread/posix-timer.h: Moved ... + * sysdeps/pthread/posix-timer.h: ... here. + * nptl/sysdeps/pthread/timer_create.c: Moved ... + * sysdeps/pthread/timer_create.c: ... here. + * nptl/sysdeps/pthread/timer_delete.c: Moved ... + * sysdeps/pthread/timer_delete.c: ... here. + * nptl/sysdeps/pthread/timer_getoverr.c: Moved ... + * sysdeps/pthread/timer_getoverr.c: ... here. + * nptl/sysdeps/pthread/timer_gettime.c: Moved ... + * sysdeps/pthread/timer_gettime.c: ... here. + * nptl/sysdeps/pthread/timer_routines.c: Moved ... + * sysdeps/pthread/timer_routines.c: ... here. + * nptl/sysdeps/pthread/timer_settime.c: Moved ... + * sysdeps/pthread/timer_settime.c: ... here. + * nptl/sysdeps/pthread/tst-timer.c: Moved ... + * sysdeps/pthread/tst-timer.c: ... here. + * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ... + * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here. + + * sysdeps/unix/sysv/linux/sigprocmask.c: Include . + * nptl/sysdeps/pthread/sigprocmask.c: File removed. + + * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ... + * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here. + * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ... + * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here. + Update #include target. + * nptl/sysdeps/i386/i686/Makefile: Moved ... + * sysdeps/i386/i686/nptl/Makefile: ... here. + * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ... + * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here. + Update #include target. + * nptl/sysdeps/i386/i686/tls.h: Moved ... + * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next. + * nptl/sysdeps/i386/Makefile: Moved ... + * sysdeps/i386/nptl/Makefile: ... here. + * nptl/sysdeps/i386/pthread_spin_init.c: Moved ... + * sysdeps/i386/nptl/pthread_spin_init.c: ... here. + * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target. + * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ... + * sysdeps/i386/nptl/pthread_spin_lock.S: ... here. + * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ... + * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here. + * nptl/sysdeps/i386/pthreaddef.h: Moved ... + * sysdeps/i386/nptl/pthreaddef.h: ... here. + * nptl/sysdeps/i386/tcb-offsets.sym: Moved ... + * sysdeps/i386/nptl/tcb-offsets.sym: ... here. + * nptl/sysdeps/i386/tls.h: Moved ... + * sysdeps/i386/nptl/tls.h: ... here. + + * sysdeps/sh/Makefile [$(subdir) = csu] + (gen-as-const-headers): Add tcb-offsets.sym. + * nptl/sysdeps/sh/Makefile: File removed. + * nptl/sysdeps/sh/pthread_spin_init.c: Moved ... + * sysdeps/sh/nptl/pthread_spin_init.c: ... here. + * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ... + * sysdeps/sh/nptl/pthread_spin_lock.c: ... here. + * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ... + * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here. + * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ... + * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here. + * nptl/sysdeps/sh/pthreaddef.h: Moved ... + * sysdeps/sh/nptl/pthreaddef.h: ... here. + * nptl/sysdeps/sh/tcb-offsets.sym: Moved ... + * sysdeps/sh/nptl/tcb-offsets.sym: ... here. + * nptl/sysdeps/sh/tls.h: Moved ... + * sysdeps/sh/nptl/tls.h: ... here. + * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ... + * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here. + * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ... + * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here. + * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ... + * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here. + * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ... + * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here. + * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ... + * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here. + * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ... + * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here. + * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ... + * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here. + * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ... + * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here. + * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ... + * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here. + * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ... + * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here. + * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ... + * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here. + * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ... + * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here. + * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: + Moved ... + * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here. + * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: + Moved ... + * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here. + * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ... + * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here. + * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ... + * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here. + * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ... + * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here. + * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ... + * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here. + * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ... + * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here. + * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ... + * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here. + * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ... + * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here. + * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ... + * sysdeps/unix/sysv/linux/sh/smp.h: ... here. + * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ... + * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here. + +2014-06-12 Stefan Liebler + + * posix/spawn_faction_addopen.c: Include string.h. + +2014-06-11 Roland McGrath + + * nptl/sysdeps/x86_64/64/shlib-versions: Moved ... + * sysdeps/x86_64/64/nptl/shlib-versions: ... here. + * nptl/sysdeps/x86_64/Makefile: Moved ... + * sysdeps/x86_64/nptl/Makefile: ... here. + * nptl/sysdeps/x86_64/configure: Moved ... + * sysdeps/x86_64/nptl/configure: ... here. + * nptl/sysdeps/x86_64/configure.ac: Moved ... + * sysdeps/x86_64/nptl/configure.ac: ... here. + * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ... + * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here. + * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ... + * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here. + * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ... + * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here. + * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ... + * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here. + * nptl/sysdeps/x86_64/pthreaddef.h: Moved ... + * sysdeps/x86_64/nptl/pthreaddef.h: ... here. + * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ... + * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here. + * nptl/sysdeps/x86_64/tls.h: Moved ... + * sysdeps/x86_64/nptl/tls.h: ... here. + * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ... + * sysdeps/x86_64/x32/nptl/shlib-versions: ... here. + * nptl/sysdeps/x86_64/x32/tls.h: Moved ... + * sysdeps/x86_64/x32/nptl/tls.h: ... here. + + * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next. + +2014-06-11 Adhemerval Zanella + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2014-06-11 Joseph Myers + + * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require + type. + [POSIX] (off_t): Likewise. + * conform/data/sys/stat.h-data (S_IRGRP): Require constant. + [POSIX] (S_ISBLK): Require macro. + [POSIX] (S_ISCHR): Likewise. + [POSIX] (S_ISDIR): Likewise. + [POSIX] (S_ISFIFO): Likewise. + [POSIX] (S_ISREG): Likewise. + [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list + optional-macro. + * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require + type. + [POSIX] (time_t): Likewise. + [POSIX] (timer_t): Likewise. + +2014-06-11 Florian Weimer + + [BZ #17048] + * posix/spawn_int.h (struct __spawn_action): Make the path string + non-const to support deallocation. + * posix/spawn_faction_addopen.c + (posix_spawn_file_actions_addopen): Make a copy of the pathname. + * posix/spawn_faction_destroy.c + (posix_spawn_file_actions_destroy): Adjust comment. Deallocate + path in all spawn_do_open actions. + * posix/tst-spawn.c (do_test): Exercise the copy operation in + posix_spawn_file_actions_addopen. + +2014-06-11 Chris Metcalf + + * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file. + * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file. + * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK + conditional code always true. + (__libc_vfork): New alias. + +2014-06-11 Roland McGrath + + * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro. + * sysdeps/unix/sysv/linux/tile/createthread.c: File removed. + + * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro. + + * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro. + * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed. + + * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro. + * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed. + + * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro. + * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed. + +2014-06-11 Vidya Ranganathan + + * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization. + * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file: + multiarch strcmp for PPC64. + * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp + multiarch optimizations. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: + (__libc_ifunc_impl_list): Likewise. + +2014-06-11 Siddhesh Poyarekar + + * benchtests/scripts/validate_benchout.py: New script. + * benchtests/Makefile (bench-func): Call it. + * benchtests/scripts/benchout.schema.json: New file. + +2014-06-10 Chris Metcalf + + * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ... + * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here. + * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ... + * sysdeps/tile/nptl/bits/semaphore.h: ... here. + * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ... + * sysdeps/unix/sysv/linux/tile/Makefile: ... here. + * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ... + * sysdeps/unix/sysv/linux/tile/clone.S: ... here. + * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ... + * sysdeps/unix/sysv/linux/tile/createthread.c: ... here. + * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ... + * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here. + * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ... + * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here. + * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ... + * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data: + Moved ... + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data: + ... here. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist: + Moved ... + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist: + Moved ... + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist: + ... here. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist: + Moved ... + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist: + ... here. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist: + Moved ... + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist: + Moved ... + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist: + ... here. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist: + Moved ... + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist: + ... here. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist: + Moved ... + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist: + Moved ... + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist: + ... here. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist: + Moved ... + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist: + ... here. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist: + Moved ... + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist: + ... here. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist: + Moved ... + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist: + Moved ... + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist: + ... here. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist: + Moved ... + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist: + ... here. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data: + Moved ... + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data: + ... here. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist: + Moved ... + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist: + Moved ... + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist: + ... here. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist: + Moved ... + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist: + ... here. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist: + Moved ... + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist: + Moved ... + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist: + ... here. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist: + Moved ... + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist: + Moved ... + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist: + Moved ... + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist: + ... here. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist: + Moved ... + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist: + ... here. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist: + Moved ... + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist: + ... here. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist: + Moved ... + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist: + Moved ... + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist: + ... here. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist: + Moved ... + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist: + ... here. + * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ... + * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here. + * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ... + * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here. + * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist: + Moved ... + * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist: + ... here. + * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ... + * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here. + * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ... + * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here. + * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ... + * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here. + * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ... + * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here. + * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ... + * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here. + * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ... + * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here. + * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist: + Moved ... + * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here. + * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist: + Moved ... + * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here. + * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ... + * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here. + * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist: + Moved ... + * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here. + * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ... + * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here. + * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ... + * sysdeps/unix/sysv/linux/tile/vfork.S: ... here. + * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ... + * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here. + +2014-06-10 Wilco + + * math/test-fenv-return.c: New file. + * math/Makefile: Add new test test-fenv-return. + +2014-06-10 Joseph Myers + + [BZ #17042] + * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value + when x - 1 is zero. + * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise. + * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise. + * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return + 0.0L for an argument of 1.0L. + * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): + Likewise. + * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute + value when x - 1 is zero. + * math/libm-test.inc (log2_test): Use ALL_RM_TEST. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2014-06-09 Bernard Ogden + + [BZ #15119] + * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file. + +2014-06-09 Roland McGrath + + * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro. + * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed. + +2014-06-09 Roland McGrath + + * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro. + * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed. + + * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro. + * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed. + + * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro. + * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed. + + * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro. + * sysdeps/unix/sysv/linux/arm/createthread.c: File removed. + + * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro, + if not already defined. + (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE. + * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro. + * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function. + (TLS_INIT_TP): Use it. + (TLS_DEFINE_INIT_TP): New macro. + * sysdeps/unix/sysv/linux/i386/createthread.c: File removed. + +2014-06-09 Joseph Myers + + * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect + constant. + [POSIX] (IXANY): Likewise. + [POSIX] (OLCUC): Likewise. + [POSIX || POSIX2008] (CBAUD): Do not allow. + [POSIX || POSIX2008] (DEFECHO): Likewise. + [POSIX || POSIX2008] (ECHOCTL): Likewise. + [POSIX || POSIX2008] (ECHOKE): Likewise. + [POSIX || POSIX2008] (ECHOPRT): Likewise. + [POSIX || POSIX2008] (EXTA): Likewise. + [POSIX || POSIX2008] (EXTB): Likewise. + [POSIX || POSIX2008] (FLUSHO): Likewise. + [POSIX || POSIX2008] (LOBLK): Likewise. + [POSIX || POSIX2008] (PENDIN): Likewise. + [POSIX || POSIX2008] (SWTCH): Likewise. + [POSIX || POSIX2008] (VDISCARD): Likewise. + [POSIX || POSIX2008] (VDSUSP): Likewise. + [POSIX || POSIX2008] (VLNEXT): Likewise. + [POSIX || POSIX2008] (VREPRINT): Likewise. + [POSIX || POSIX2008] (VSTATUS): Likewise. + [POSIX || POSIX2008] (VWERASE): Likewise. + (B*): Change to B[0123456789]*. + * conform/data/time.h-data [POSIX || UNIX98] + (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant. + [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise. + [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise. + [POSIX] (tm_*): Do not allow. + +2014-06-07 Joseph Myers + + * Makefile (install): Don't set LANGUAGE. + * Makefile.in (install): Likewise. + * assert/Makefile (test-assert-ENV): Remove variable. + (test-assert-perr-ENV): Likewise. + * elf/Makefile (neededtest4-ENV): Likewise. + * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules) + [$(cross-compiling) = no]: Don't set LANGUAGE. + * io/ftwtest-sh (LANG): Remove variable. + * libio/Makefile (tst-widetext-ENV): Likewise. + * manual/install.texi (Running make install): Don't refer to + environment settings for make install. + * INSTALL: Regenerated. + * nptl/tst-tls6.sh: Don't set LANG. + * posix/globtest.sh (LANG): Remove variable. + * string/Makefile (tester-ENV): Likewise. + (inl-tester-ENV): Likewise. + (noinl-tester-ENV): Likewise. + * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules) + [$(cross-compiling) = no]: Don't set LANGUAGE. + * timezone/Makefile (build-testdata): Use $(built-program-cmd) + without explicit environment settings. + +2014-06-06 Roland McGrath + + * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ... + * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here. + * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ... + * sysdeps/sh/nptl/bits/semaphore.h: ... here. + +2014-06-06 Chris Metcalf + + * crypt/crypt-private.h [DOS]: Add some includes taken from the + other files in the crypt directory. + * crypt/crypt.c: Remove duplicate includes. + * crypt/crypt-entry.c: Likewise. + * crypt/crypt_util.c: Likewise. + +2014-06-06 Joseph Myers + + * Makeconfig (run-program-env): New variable. + (run-program-prefix-before-env): Likewise. + (run-program-prefix-after-env): Likewise. + (run-program-prefix): Define in terms of new variables. + (built-program-cmd-before-env): New variable. + (built-program-cmd-after-env): Likewise. + (built-program-cmd): Define in terms of new variables. + (test-program-prefix-before-env): New variable. + (test-program-prefix-after-env): Likewise. + (test-program-prefix): Define in terms of new variables. + (test-program-cmd-before-env): New variable. + (test-program-cmd-after-env): Likewise. + (test-program-cmd): Define in terms of new variables. + * Rules (make-test-out): Use $(run-program-env). + * scripts/cross-test-ssh.sh (env_blacklist): Remove variable. + (help): Do not mention environment variables. Mention + --timeoutfactor option. + (timeoutfactor): New variable. + (blacklist_exports): Remove function. + (exports): Remove variable. + (command): Do not include ${exports}. + * manual/install.texi (Configuring and compiling): Do not mention + test wrappers preserving environment variables. Mention that last + assignment to a variable must take precedence. + * INSTALL: Regenerated. + * benchtests/Makefile (run-bench): Use $(run-program-env). + * catgets/Makefile ($(objpfx)test1.cat): Use + $(built-program-cmd-before-env), $(run-program-env) and + $(built-program-cmd-after-env). + ($(objpfx)test2.cat): Do not specify environment variables + explicitly. + ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env), + $(run-program-env) and $(built-program-cmd-after-env). + ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env), + $(run-program-env) and $(test-program-cmd-after-env). + ($(objpfx)sample.SJIS.cat): Do not specify environment variables + explicitly. + * catgets/test-gencat.sh: Use test_program_cmd_before_env, + run_program_env and test_program_cmd_after_env arguments. + * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env). + * elf/tst-pathopt.sh: Use run_program_env argument. + * iconvdata/Makefile ($(objpfx)iconv-test.out): Use + $(test-wrapper-env) and $(run-program-env). + * iconvdata/run-iconv-test.sh: Use test_wrapper_env and + run_program_env arguments. + * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly. + * intl/Makefile ($(objpfx)tst-gettext.out): Use + $(test-program-prefix-before-env), $(run-program-env) and + $(test-program-prefix-after-env). + ($(objpfx)tst-gettext2.out): Likewise. + * intl/tst-gettext.sh: Use test_program_prefix_before_env, + run_program_env and test_program_prefix_after_env arguments. + * intl/tst-gettext2.sh: Likewise. + * intl/tst-gettext4.sh: Do not set environment variables + explicitly. + * intl/tst-gettext6.sh: Likewise. + * intl/tst-translit.sh: Likewise. + * malloc/Makefile ($(objpfx)tst-mtrace.out): Use + $(test-program-prefix-before-env), $(run-program-env) and + $(test-program-prefix-after-env). + * malloc/tst-mtrace.sh: Use test_program_prefix_before_env, + run_program_env and test_program_prefix_after_env arguments. + * math/Makefile (run-regen-ulps): Use $(run-program-env). + * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env). + * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C + explicitly with each use of ${test_wrapper_env}. + * posix/Makefile ($(objpfx)wordexp-tst.out): Use + $(test-program-prefix-before-env), $(run-program-env) and + $(test-program-prefix-after-env). + * posix/tst-getconf.sh: Do not set environment variables + explicitly. + * posix/wordexp-tst.sh: Use test_program_prefix_before_env, + run_program_env and test_program_prefix_after_env arguments. + * stdio-common/tst-printf.sh: Do not set environment variables + explicitly. + * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use + $(test-program-prefix-before-env), $(run-program-env) and + $(test-program-prefix-after-env). + * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env, + run_program_env and test_program_prefix_after_env arguments. + Split $test calls into $test_pre and $test. + * timezone/Makefile (build-testdata): Use + $(built-program-cmd-before-env), $(run-program-env) and + $(built-program-cmd-after-env). + +2014-06-06 Adhemerval Zanella + + * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as + strlen for non SHARED builds. + +2014-06-05 Siddhesh Poyarekar + + * nptl/allocatestack.c (check_list): Inlined function... + (__reclaim_stacks): ... here. + +2014-06-05 Ondƙej BĂ­lka + + [BZ #15698] + * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix + memory overrun. + +2014-06-05 Joseph Myers + + * Rules (make-test-out): Include + LOCPATH=$(common-objpfx)localedata in default environment. + * debug/Makefile (tst-chk1-ENV): Remove variable. + (tst-chk2-ENV): Likewise. + (tst-chk3-ENV): Likewise. + (tst-chk4-ENV): Likewise. + (tst-chk5-ENV): Likewise. + (tst-chk6-ENV): Likewise. + (tst-lfschk1-ENV): Likewise. + (tst-lfschk2-ENV): Likewise. + (tst-lfschk3-ENV): Likewise. + (tst-lfschk4-ENV): Likewise. + (tst-lfschk5-ENV): Likewise. + (tst-lfschk6-ENV): Likewise. + * iconvdata/Makefile (bug-iconv6-ENV): Likewise. + (tst-iconv7-ENV): Likewise. + * intl/Makefile (LOCPATH-ENV): Likewise. + (tst-codeset-ENV): Likewise. + (tst-gettext3-ENV): Likewise. + (tst-gettext5-ENV): Likewise. + * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH. + (tst-fopenloc-ENV): Likewise. + (tst-fgetws-ENV): Remove variable. + (tst-ungetwc1-ENV): Likewise. + (tst-ungetwc2-ENV): Likewise. + (bug-ungetwc2-ENV): Likewise. + (tst-swscanf-ENV): Likewise. + (bug-ftell-ENV): Likewise. + (tst-fgetwc-ENV): Likewise. + (tst-fseek-ENV): Likewise. + (tst-ftell-partial-wide-ENV): Likewise. + (tst-ftell-active-handler-ENV): Likewise. + (tst-ftell-append-ENV): Likewise. + * posix/Makefile (tst-fnmatch-ENV): Likewise. + (tst-regexloc-ENV): Likewise. + (bug-regex1-ENV): Likewise. + (tst-regex-ENV): Likewise. + (tst-regex2-ENV): Likewise. + (bug-regex5-ENV): Likewise. + (bug-regex6-ENV): Likewise. + (bug-regex17-ENV): Likewise. + (bug-regex18-ENV): Likewise. + (bug-regex19-ENV): Likewise. + (bug-regex20-ENV): Likewise. + (bug-regex22-ENV): Likewise. + (bug-regex23-ENV): Likewise. + (bug-regex25-ENV): Likewise. + (bug-regex26-ENV): Likewise. + (bug-regex30-ENV): Likewise. + (bug-regex32-ENV): Likewise. + (bug-regex33-ENV): Likewise. + (bug-regex34-ENV): Likewise. + (bug-regex35-ENV): Likewise. + (tst-rxspencer-ENV): Likewise. + (tst-rxspencer-no-utf8-ENV): Likewise. + * stdio-common/Makefile (tst-sprintf-ENV): Likewise. + (tst-sscanf-ENV): Likewise. + (tst-swprintf-ENV): Likewise. + (tst-swscanf-ENV): Likewise. + (test-vfprintf-ENV): Likewise. + (scanf13-ENV): Likewise. + (bug14-ENV): Likewise. + (tst-grouping-ENV): Likewise. + * stdlib/Makefile (tst-strtod-ENV): Likewise. + (tst-strtod3-ENV): Likewise. + (tst-strtod4-ENV): Likewise. + (tst-strtod5-ENV): Likewise. + (testmb2-ENV): Likewise./ + * string/Makefile (tst-strxfrm-ENV): Likewise. + (tst-strxfrm2-ENV): Likewise. + (bug-strcoll1-ENV): Likewise. + (test-strcasecmp-ENV): Likewise. + (test-strncasecmp-ENV): Likewise. + * time/Makefile (tst-strptime-ENV): Likewise. + (tst-ftime_l-ENV): Likewise. + * wcsmbs/Makefile (tst-btowc-ENV): Likewise. + (tst-mbrtowc-ENV): Likewise. + (tst-wcrtomb-ENV): Likewise. + (tst-mbrtowc2-ENV): Likewise. + (tst-c16c32-1-ENV): Likewise. + (tst-mbsnrtowcs-ENV): Likewise. + +2014-06-05 Ondƙej BĂ­lka + + * manual/resource.texi (How to get information about the memory + subsystem?): Fix typo. + Reported by Peon de la Parra Ivan + +2014-06-03 Guo Yixuan + + [BZ #16882] + * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S + (pthread_spin_lock): Branch out of spin loop to proper location. + * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S + (pthread_spin_lock): Likewise. + + * nptl/tst-spin4.c: New test. + * nptl/Makefile (tests): Add tst-spin4. + +2014-06-03 Andreas Schwab + + [BZ #15946] + * resolv/res_send.c (send_dg): Reload file descriptor after + calling reopen. + +2014-06-03 Stefan Liebler + + * sysdeps/s390/fpu/libm-test-ulps: Regenerate. + +2014-06-03 Richard Henderson + + * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file. + * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file. + * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate + SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN + in the SAVE_PID block. + (__libc_vfork): New alias. + * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file. + + * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for + child in registers, not on the stack. Remove RESET_PID conditionals. + * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file. + +2014-06-03 Marcus Shawcroft + + * sysdeps/aarch64/libm-test-ulps: Regenerate. + +2014-06-03 Wilco + + * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64) + (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64) + (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx): + Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO. + * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode): + Likewise. + +2014-06-03 Wilco + + * sysdeps/aarch64/fpu/math_private.h + (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64) + (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64) + (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64) + (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx): + Fix declarations. + +2014-06-03 Kostya Serebryany + + * crypt/crypt-private.h: Include ufc-crypt.h. + (__b64_from_24bit): Declare extern. + * crypt/crypt_util.c(__b64_from_24bit): New function. + (b64t): New static const variable. + * crypt/md5-crypt.c (b64_from_24bit): Remove function. + (b64t): Remove variable. + (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit. + * crypt/sha256-crypt.c: Include crypt-private.h. + (b64t): Remove variable. + (__sha256_crypt_r): Remove b64_from_24bit and replace + with __b64_from_24bit. + * crypt/sha512-crypt.c: Likewise. + +2014-06-02 Roland McGrath + + * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ... + * sysdeps/unix/sysv/linux/sh/vfork.S: ... here. + Label the code __libc_vfork rather than __vfork. + [!NOT_IN_libc] (vfork): Define as weak alias. + [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def. + * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file. + * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed. + +2014-06-02 Siddhesh Poyarekar + + * malloc/malloc.c (malloc_info): Fix format specifier for + n_mmaps. + +2014-06-02 Wilco + + * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after + FPCR write. + +2014-06-02 Wilco + + [BZ #17009] + * sysdeps/aarch64/fpu/feupdateenv (feupdateenv): + Rewrite to reduce FPCR/FPSR accesses. + +2014-06-01 David S. Miller + + * sysdeps/sparc/fpu/libm-test-ulps: Update. + +2014-05-31 David S. Miller + + * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations + to occur in round to nearest mode when |x| >= 2.0 + +2014-05-30 Richard Henderson + + * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove. + (PSEUDO_RET_NOERRNO): Remove. + (ret): Don't redefine. + (ret_NOERRNO): Define in terms of ret. + (ret_ERRVAL): Likewise. + + * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the + use of PSEUDO_RET; perform the error check directly. + +2014-05-30 Marko Myllynen + + * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128 + with __int128_t. + +2014-05-30 Siddhesh Poyarekar + + * malloc/malloc (malloc_info): Fix formatting. + +2014-05-30 Siddhesh Poyarekar + Roland McGrath + + * malloc/malloc (malloc_info): Also print mmapped statistics. + +2014-05-30 Roland McGrath + + * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file. + * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed. + +2014-05-30 Ondƙej BĂ­lka + + * malloc/malloc.c (malloc_info): Inline mi_arena. + +2014-05-29 Richard Henderson + + * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS): + Remove comma before expanding ASM_ARGS_##nr. + (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting. + Make _x0 a strict output; make _x8 a strict input; adjust expansion + of ASM_ARGS_##nr. + (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove. + (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove. + (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove. + (ASM_ARGS_1): Add leading comma. + + * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc] + (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call + to __errno_location. + * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so): + Remove the expected plt for __errno_location. + + * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h + [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a + call to __read_tp. + + * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO): + Always allocate 64 bytes of stack frame. Use ldp/stp to create + it and break it down. + (DOCARGS_0, DOCARGS_1): Do nothing. + (DOCARGS_2): Update to store into the new stack frame. + (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise. + (UNDOCARGS_1): Update to restore from the new stack frame. + (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise. + (UNDOCARGS_5, UNDOCARGS_6): Likewise. + + * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h + (SINGLE_THREAD_P): New parameter for result regno. + (PSEUDO): Update to match; use cbz instead of beq. + + * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO): + Use ENTRY to define the _nocancel entry point. Share the syscall + and syscall error check paths with the cancel path. + (PSEUDO_END): New. + + * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust + whitespace; tabs before and after asm mnemonics. + +2014-05-29 Eric Wong + + [BZ #15132] + * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags): + Call fstat64 or stat64 internally, depending on arguments passed. + Replace stat buffer argument with file descriptor argument. + (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags. + * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): + Pass fd to __internal_statvfs instead of calling fstat64. + * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64): + Pass fd to __internal_statvfs64 instead of calling fstat64. + * sysdeps/unix/sysv/linux/statvfs.c (statvfs): + Pass -1 to __internal_statvfs instead of calling stat64. + * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64): + Pass -1 to __internal_statvfs64 instead of calling stat64. + +2014-05-28 Roland McGrath + + * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code + that was previously under [RESET_PID]. + * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed. + + * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file. + * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed. + +2014-05-27 Roland McGrath + + * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file. + + * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file. + * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed. + +2014-05-27 Ondƙej BĂ­lka + + * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code. + +2014-05-27 Andreas Schwab + + * csu/libc-tls.c (__libc_setup_tls): Remove second argument from + TLS_INIT_TP macro. + * elf/dl-load.c (_dl_map_object_from_fd): Likewise. + * elf/rtld.c (init_tls, dl_main): Likewise. + * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise. + * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise. + * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise. + * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise. + * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise. + * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise. + * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise. + * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise. + * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise. + * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise. + * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise. + * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise. + * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise. + * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise. + * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise. + * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise. + * sysdeps/generic/tls.h: Update description. + +2014-05-27 Will Newton + + [BZ #16990] + * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save + and restore r2 rather than just restoring. + +2014-05-27 Siddhesh Poyarekar + + [BZ #16724] + * libio/tst-ftell-append.c: New test case. + * libio/Makefile (tests): Add test case. + * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in + append mode. + * libio/wfileops.c (do_ftell_wide): Likewise. + +2014-05-26 Adhemerval Zanella + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + + * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into + ... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise. + * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ... + * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here. + * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ... + * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here. + * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ... + * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here. + * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here. + * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here. + * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ... + * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here. + * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ... + * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here. + * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved + ... + * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here. + * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ... + here. + * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved + ... + * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here. + * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ... + * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here. + + * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ... + * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here. + * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ... + * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here. + + * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove, + merge into ... + * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here. + * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved + ... + * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here. + * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved + ... + * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here. + * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ... + here. + * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here. + * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: + Moved ... + * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here. + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove + conditional [RESET_PID]. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise. + * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File + removed. + * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File + removed. + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include + . + (__vfork): Incorporate save/restore of PID from nptl/vfork.S here. + (__libc_vfork): New strong alias. + * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File + removed. + * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File + Removed. + + * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include + . + (__vfork): Incorporate save/retore of PID from nptl/vfork.S here. + (__libc_vfork): New strong alias. + * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File + removed. + * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File + removed. + +2014-05-26 Carlos O'Donell + + * malloc/malloc.c (mi_arena): New function. + (malloc_info): Remove nested function mi_arena. Call non-nosted + function mi_arena. + +2014-05-26 Adhemerval Zanella + + * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi + by insrwi. + * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise. + * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise. + * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise. + * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise. + * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise. + * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise. + * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise. + +2014-05-26 Andreas Schwab + + [BZ #16984] + * locale/programs/repertoire.c (repertoire_read): Add slash + between I18NPATH element and file name. + * locale/programs/locfile.c (locfile_read): Likewise. + +2014-05-26 Stefan Liebler + + * nptl/pthread_mutexattr_settype.c + (__pthread_mutexattr_settype): + Disable lock elision for PTHREAD_MUTEX_NORMAL. + +2014-05-26 Stefan Liebler + + * nptl/tst-mutex5 (do_test): + Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef. + +2014-05-26 Siddhesh Poyarekar + + * benchtests/README: Document 'init' directive. + * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call + BENCH_INIT. + * scripts/bench.py (gen_source): Define BENCH_INIT macro. + (parse_file): Recognize 'init' directive. + +2014-05-26 Kyle McMartin + + [BZ #16796] + * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the + alignment of struct pthread. + +2014-05-26 Siddhesh Poyarekar + + [BZ #16878] + * nscd/netgroupcache.c (addgetnetgrentX): Look for + NSS_STATUS_TRYAGAIN to indicate insufficient buffer space. + * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use + NSS_STATUS_TRYAGAIN to indicate insufficient buffer space. + +2014-05-25 Richard Henderson + + * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h + (SINGLE_THREAD_P_PIC): Remove. + * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h + (SINGLE_THREAD_P_PIC): Remove. + + * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move + branch to syscall error ... + (PSEUDO): ... here. + [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label + from __local_syscall_error to .Lsyscall_error. + [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error. + (SYSCALL_ERROR): Update label name. + + * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO): + Do not use DOARGS/UNDOARGS. + * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise. + (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove. + (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove. + (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove. + (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove. + + * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix + block comment. + + * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only + define if !NOT_IN_libc. + * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only + define with non-default symbol versions. + +2014-05-23 Richard Henderson + + * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc. + (vfork, __vfork): Define via compat_symbol. + + * nptl/pt-vfork.c: Error if !HAVE_IFUNC. + [!HAVE_IFUNC] (vfork_compat): Remove. + [!HAVE_IFUNC] (DEFINE_VFORK): Remove. + +2014-05-23 Joseph Myers + + [BZ #16978] + * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro. + * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove + variable. + +2014-05-23 Richard Henderson + + * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into... + * sysdeps/unix/sysv/linux/alpha/Makefile: ... here. + * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into... + * sysdeps/unix/sysv/linux/alpha/Versions: ... here. + + * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ... + * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here. + * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ... + * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here. + * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ... + * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here. + * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ... + * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here. + * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ... + * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here. + * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ... + * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here. + * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ... + * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here. + * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ... + * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here. + * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ... + * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here. + * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ... + * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here. + * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ... + * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here. + * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ... + * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here. + * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ... + * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here. + * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ... + * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here. + * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ... + * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here. + * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ... + * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here. + * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ... + * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here. + * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ... + * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here. + * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ... + * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here. + * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ... + * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here. + * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ... + * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here. + * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ... + * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here. + * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ... + * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here. + * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ... + * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here. + * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ... + * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here. + * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ... + * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here. + * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ... + * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here. + * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ... + * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here. + + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork. + * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ... + * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID + before exiting on error. + (__libc_vfork): New strong alias. + * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file. + * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file. + + * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code + that was previously under [RESET_PID]. + * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed. + + * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file. + +2014-05-23 Joseph Myers + + [BZ #16977] + * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute + value when x - 1 is zero. + * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise. + * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise. + * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return + 0.0L for an argument of 1.0L. + * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): + Likewise. + * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute + value when x - 1 is zero. + * math/libm-test.inc (log10_test): Use ALL_RM_TEST. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2014-05-23 Rasmus Villemoes + + * manual/filesys.texi (Scanning Directory Content): Fix prototype of + alphasort and versionsort. + +2014-05-22 Adhemerval Zanella + + * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded + macro. + [copysignf]: Likewise. + +2014-05-22 Siddhesh Poyarekar + + * crypt/md5-crypt.c: Fix formatting. + +2014-05-22 Kostya Serebryany + + * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function. + (b64_from_24bit): New function. + +2014-05-22 Adhemerval Zanella + + * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove + libc_hidden_builtin_def to ifunc. + * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c + [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32. + +2014-05-21 Roland McGrath + + * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file. + * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed. + +2014-05-21 Joseph Myers + + * nscd/Depend (linuxthreads): Remove. + (nptl): Add. + * resolv/Depend (linuxthreads): Remove. + * rt/Depend (linuxthreads): Remove. + + * Makeconfig [$(build-hardcoded-path-in-tests) = yes] + (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of + $(common-objpfx)elf/. + (link-libc-before-gnulib): Likewise. + (elfobjdir): Remove variable. + * Makefile (install): Use $(elf-objpfx) instead of + $(common-objpfx)elf/. + * Makerules (link-libc-args): Use $(elf-objpfx) instead of + $(elfobjdir)/. + (link-libc-deps): Likewise. + ($(common-objpfx)libc.so): Likewise. + ($(common-objpfx)linkobj/libc.so): Likewise. + [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx) + instead of $(common-objpfx)elf/. + (symbolic-link-list): Likewise. + * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules) + [$(cross-compiling) = no]: Likewise. + * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of + $(elfobjdir)/. + (static-gnulib-arch): Likewise. + * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules) + [$(cross-compiling) = no]: Use $(elf-objpfx) instead of + $(common-objpfx)elf/. + +2014-05-21 Richard Henderson + + * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h + (SINGLE_THREAD_P): Use the correct width load. Fold + into the ldr offset. + + * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO] + (SYSCALL_ERROR_HANDLER): Fold add insn into str offset. + +2014-05-20 Joseph Myers + + * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c + (libgcc_s_resume): Use __attribute_used__. + * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume): + Likewise. + +2014-05-20 Adhemerval Zanella + + * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro + optimization when used with float constants. + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2014-05-20 Aurelien Jarno + + [BZ #16915] + * locale/nl_langinfo_l.c: Make direct reference to every + _nl_current_CATEGORY symbol. + * localedata/Makefile (test-srcs): Add tst-langinfo-static. + (tests-static): Add tst-langinfo-static. + (tests-special): Add tst-langinfo-static.out. + ($(objpfx)tst-langinfo.out): Redirect output. + ($(objpfx)tst-langinfo-static.out): New. + * localedata/tst-langinfo.sh: Send output to stdout. + * localedata/tst-langinfo-static.c: New file. + + [BZ #16965] + * stdlib/strtod_l.c (round_and_return): Add code to shift limbs + when the shift amount is modulo the limb size. + +2014-05-20 Richard Henderson + + [BZ #16967] + * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction): + Change type of sa_flags from unsigned int to int. + + [BZ #16966] + * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file. + + * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define. + +2014-05-20 Will Newton + + * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO): + Test the return value of the system call in the nocancel case. + +2014-05-20 Will Newton + Yvan Roux + + * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused + #include of asm/ptrace.h. + (PTRACE_GET_THREAD_AREA): Remove #undef. + (PTRACE_GETHBPREGS): Likewise. + (PTRACE_SETHBPREGS): Likewise. + (struct user_regs_struct): New structure. + (struct user_fpsimd_struct): New structure. + * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused + #include of asm/ptrace.h and second #include of sys/user.h. + (PTRACE_GET_THREAD_AREA): Remove #undef. + (PTRACE_GETHBPREGS): Likewise. + (PTRACE_SETHBPREGS): Likewise. + (ELF_NGREG): Use new struct user_regs_struct. + (elf_fpregset_t): Use new struct user_fpsimd_struct. + +2014-05-19 Adhemerval Zanella + + * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ... + * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here. + +2014-05-17 Jose E. Marchesi + + [BZ #16958] + * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing + membar to avoid block loads/stores to overlap previous stores. + +2014-05-17 Richard Henderson + + * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO): + Create the __##syscall_name##_nocancel entry point. + * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel): + Remove; let the sysdep-cancel.h code create it. + +2014-05-17 David S. Miller + + * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP): + Protect with __USE_GNU. + (TIOCSET_TEMPT): Likewise. + (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS, + TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as + these are already provided in bits/ioctl-types.h + +2014-05-16 Roland McGrath + + * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file. + * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed. + + * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): + Use wait4 regardless of [__NR_waitpid]. + +2014-05-16 Maciej W. Rozycki + + PR libgcc/60166 + * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D) + (_FP_NANSIGN_Q): Set the quiet bit. + +2014-05-16 Joseph Myers + + * benchtests/Makefile + ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm), + not $(common-objpfx)math/libm.so. + ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on + $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so. + * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not + $(common-objpfx)dlfcn/libdl.so. + ($(objpfx)tst-audit8): Depend on $(libm), not + $(common-objpfx)math/libm.so. + * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl), + not $(common-objpfx)dlfcn/libdl.so. + * math/Makefile + ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))): + Depend on $(libm), not $(objpfx)libm.so. Do not condition on + [$(build-shared) = yes]. + ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not + $(common-objpfx)nptl/libpthread.so. + * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not + $(common-objpfx)math/libm.so$(libm.so-version) or + $(common-objpfx)math/libm.a depending on [$(build-shared) = yes]. + * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not + $(common-objpfx)dlfcn/libdl.so. + * setjmp/Makefile (link-libm): Remove variable. + ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm). + * stdio-common/Makefile (link-libm): Remove variable. + ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm). + * stdlib/Makefile (link-libm): Remove variable. + ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm). + ($(objpfx)tst-strtod-round): Likewise. + ($(objpfx)tst-tininess): Likewise. + ($(objpfx)tst-strtod-underflow): Likewise. + ($(objpfx)tst-strtod6): Likewise. + ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and + $(libdl), not $(common-objpfx)nptl/libpthread.so and + $(common-objpfx)dlfcn/libdl.so. + +2014-05-16 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard + BSD terminal modes definitions. + +2014-05-16 Roland McGrath + + * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file. + * sysdeps/unix/sysv/linux/arm/fork.c: File removed. + + * sysdeps/unix/sysv/linux/arch-fork.h: New file. + * sysdeps/unix/sysv/linux/i386/fork.h: Moved ... + * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here. + Don't do #include_next. + * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ... + * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here. + Don't do #include_next. + * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file. + * sysdeps/unix/sysv/linux/mips/fork.h: File removed. + * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file. + * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed. + +2014-05-16 Allan McRae + + * po/sv.po: Update Swedish translation from translation project. + + * timezone/Makefile ($(objpfx)tzselect): Use correct variable + in sed expression. + +2014-05-16 Aurelien Jarno + + [BZ #16917] + * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return + errno if the TIOCGPTN ioctl fails with an error different than + EINVAL. + * login/tst-ptsname.c: New file. + * login/Makefile (tests): Add tst-ptsname. + + [BZ #16943] + * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit + and prlimit64. + +2014-05-15 Siddhesh Poyarekar + + [BZ #16849] + * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for + herrno to return EAI_AGAIN. + +2014-05-14 Roland McGrath + + * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ... + * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here. + * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ... + * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here. + * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ... + * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here. + * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ... + * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here. + * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ... + * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here. + * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ... + * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here. + * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ... + * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here. + * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ... + * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here. + * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ... + * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here. + * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ... + * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here. + * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ... + * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here. + * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ... + * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here. + * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ... + * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here. + * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ... + * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here. + * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ... + * sysdeps/unix/sysv/linux/i386/localplt.data: ... here. + * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ... + * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here. + * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ... + * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here. + * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist: + Moved ... + * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here. + * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ... + * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here. + * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ... + * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here. + * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ... + * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here. + * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ... + * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here. + * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ... + * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here. + * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ... + * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here. + * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ... + * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here. + * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ... + * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here. + * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ... + * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here. + * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ... + * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here. + * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ... + * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here. + * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ... + * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here. + * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ... + * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here. + * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist: + Moved ... + * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here. + * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ... + * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here. + * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ... + * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here. + * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ... + * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here. + * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ... + * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here. + * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ... + * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here. + * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ... + * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here. + * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ... + * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here. + * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ... + * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here. + * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ... + * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here. + * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist: + Moved ... + * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here. + * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ... + * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here. + + * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed. + * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl] + (libpthread-sysdep_routines): Add elision-related stuff here instead. + * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ... + * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here. + * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ... + * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here. + * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ... + * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here. + * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ... + * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here. + * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ... + * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here. + * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ... + * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here. + * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ... + * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here. + * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ... + * sysdeps/unix/sysv/linux/x86/hle.h: ... here. + * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ... + * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here. + * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ... + * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here. + * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ... + * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here. + * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ... + * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here. + * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ... + * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here. + * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ... + * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here. + + * sysdeps/unix/sysv/linux/mips/fork.h: New file. + * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed. + + * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed. + * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ... + * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ... + * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: + Moved ... + * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: + Moved ... + * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: + Moved ... + * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: + Moved ... + * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ... + * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: + Moved ... + * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ... + * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ... + * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ... + * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: + Moved ... + * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: + Moved ... + * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: + ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ... + * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ... + * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: + Moved ... + * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: + ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: + Moved ... + * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ... + * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ... + * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: + Moved ... + * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: + Moved ... + * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: + Moved ... + * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: + Moved ... + * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ... + * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: + Moved ... + * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ... + * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ... + * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ... + * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: + Moved ... + * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: + Moved ... + * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: + ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ... + * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ... + * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: + Moved ... + * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: + ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: + Moved ... + * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ... + * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ... + * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ... + * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ... + * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: + Moved ... + * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: + Moved ... + * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: + Moved ... + * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: + Moved ... + * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ... + * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ... + * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: + Moved ... + * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ... + * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ... + * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ... + * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: + Moved ... + * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: + Moved ... + * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: + ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ... + * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ... + * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: + Moved ... + * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: + ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: + Moved ... + * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ... + * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ... + * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ... + * sysdeps/unix/sysv/linux/i386/smp.h: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ... + * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here. + * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ... + * sysdeps/unix/sysv/linux/i386/createthread.c: ... here. + + * sysdeps/unix/sysv/linux/powerpc/fork.h: New file. + * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed. + + * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed. + * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed. + + * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed. + * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ... + * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here. + * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ... + * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here. + * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ... + * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here. + * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ... + * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here. + * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ... + * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here. + * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ... + * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here. + * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ... + * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here. + * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ... + * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here. + * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: + Moved ... + * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here. + * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ... + * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here. + * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: + Moved ... + * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here. + * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ... + * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here. + * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ... + * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here. + * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ... + * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here. + * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: + Moved ... + * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here. + * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: + Moved ... + * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here. + * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ... + * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here. + * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ... + * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here. + * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ... + * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here. + * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ... + * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here. + * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ... + * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here. + * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ... + * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here. + * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ... + * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here. + * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ... + * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here. + + * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include. + * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed. + * sysdeps/unix/sysv/linux/x86_64/fork.h: New file. + * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed. + * sysdeps/unix/sysv/linux/i386/fork.h: New file. + + * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ... + * sysdeps/unix/sysv/linux/not-cancel.h: ... here. + * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed. + * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed. + * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed. + * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed. + * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed. + * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed. + * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed. + * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed. + + * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed. + * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise. + + * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ... + * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here. + * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ... + * sysdeps/unix/sysv/linux/x86_64/Versions: ... here. + * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ... + * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here. + * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ... + * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here + * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ... + * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here + * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ... + * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here + * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ... + * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here + * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: + Update #include. + * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: + Likewise. + * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: + Likewise. + * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: + Likewise. + * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: + Likewise. + * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: + Likewise. + * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: + Likewise. + * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: + Likewise. + * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: + Likewise. + * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: + Likewise. + * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise. + * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise. + * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise. + * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise. + * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise. + * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise. + * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise. + * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise. + * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise. + * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise. + + * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code + that was previously under [RESET_PID]. + * sysdeps/unix/sysv/linux/i386/clone.S: Likewise. + * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed. + * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed. + + * sysdeps/i386/nptl/Implies: New file. + * sysdeps/x86_64/nptl/Implies: New file. + * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ... + * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here. + * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ... + * sysdeps/x86/nptl/bits/semaphore.h: ... here. + + * sysdeps/unix/sysv/linux/i386/vfork.S: Include . + (__vfork): Incorporate save/restore of PID from nptl/vfork.S here. + (__libc_vfork): New strong alias. + * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed. + * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed. + + * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include . + (__vfork): Incorporate save/restore of PID from nptl/vfork.S here. + (__libc_vfork): New strong alias. + * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed. + * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed. + + * sysdeps/unix/sysv/linux/arm/vfork.S: Include . + (__vfork): Incorporate save/restore of PID from nptl/vfork.S here. + (__libc_vfork): New strong alias. + * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed. + * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed. + * nptl/pt-vfork.c: New file. + * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork. + (libpthread: GLIBC_2.20): New version set (empty). + +2014-05-14 Will Newton + + * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef + rather than #if. + +2014-05-14 Joseph Myers + + [BZ #16564] + * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive + arguments with exponent 65 or above. + * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to + arguments 0x1p113L or above. + * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1 + to arguments 0x1p107L or above. + * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to + positive arguments with exponent 65 or above. + * math/auto-libm-test-in: Add more tests of log1p. + * math/auto-libm-test-out: Regenerated. + + [BZ #16928] + * math/s_cacos.c (__cacos): Ensure zero real part of result from + non-finite arguments is +0. + * math/s_cacosf.c (__cacosf): Likewise. + * math/s_cacosl.c (__cacosl): Likewise. + * math/libm-test.inc (cacos_test): Use ALL_RM_TEST. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + [BZ #16927] + * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1 + value. + * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise. + * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise. + * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct + for explicit high bit of mantissa when testing for argument equal + to 1. + * math/libm-test.inc (acosh_test): Use ALL_RM_TEST. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + [BZ #16516] + * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable. + (__erf): Scale by 16 instead of 8 in potentially underflowing + case. Ensure exception if result actually underflows. + * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable. + (__erff): Scale by 16 instead of 8 in potentially underflowing + case. Ensure exception if result actually underflows. + * sysdeps/ieee754/ldbl-128/s_erfl.c: Include . + (efx8): Remove variable. + (__erfl): Scale by 16 instead of 8 in potentially underflowing + case. Ensure exception if result actually underflows. + * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include . + (efx8): Remove variable. + (__erfl): Scale by 16 instead of 8 in potentially underflowing + case. Ensure exception if result actually underflows. + * sysdeps/ieee754/ldbl-96/s_erfl.c: Include . + (efx8): Remove variable. + (__erfl): Scale by 16 instead of 8 in potentially underflowing + case. Ensure exception if result actually underflows. + * math/auto-libm-test-in: Add more tests of erf. + * math/auto-libm-test-out: Regenerated. + +2014-05-14 Andreas Schwab + + * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main): + Remove code conditionalized on USE___THREAD. + + * config.h.in (HAVE_PT_CHOWN): Define as 0. + * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value, + not definedness. + +2014-05-14 Joseph Myers + + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): + Define unconditionally. + (__ASSUME_O_CLOEXEC): Likewise. + (__ASSUME_SOCK_CLOEXEC): Likewise. + (__ASSUME_IN_NONBLOCK): Likewise. + (__ASSUME_PIPE2): Likewise. + (__ASSUME_EVENTFD2): Likewise. + (__ASSUME_SIGNALFD4): Likewise. + (__ASSUME_DUP3): Likewise. + * sysdeps/unix/sysv/linux/aarch64/kernel-features.h + (__ASSUME_DUP3): Do not define. + (__ASSUME_EVENTFD2): Likewise. + (__ASSUME_IN_NONBLOCK): Likewise. + (__ASSUME_O_CLOEXEC): Likewise. + (__ASSUME_PIPE2): Likewise. + (__ASSUME_SIGNALFD4): Likewise. + (__ASSUME_SOCK_CLOEXEC): Likewise. + (__ASSUME_UTIMES): Undefine. + * sysdeps/unix/sysv/linux/alpha/kernel-features.h + (__ASSUME_UTIMES): Do not define. + (__ASSUME_O_CLOEXEC): Likewise. + (__ASSUME_SOCK_CLOEXEC): Likewise. + (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION < + 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >= + 0x020621]. + (__ASSUME_PIPE2): Likewise. + (__ASSUME_EVENTFD2): Likewise. + (__ASSUME_SIGNALFD4): Likewise. + [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine. + * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES): + Do not define. + (__ASSUME_EVENTFD2): Likewise. + (__ASSUME_SIGNALFD4): Likewise. + * sysdeps/unix/sysv/linux/hppa/kernel-features.h + (__ASSUME_32BITUIDS): Likewise. + (__ASSUME_TRUNCATE64_SYSCALL): Likewise. + (__ASSUME_IPC64): Likewise. + (__ASSUME_ST_INO_64_BIT): Likewise. + (__ASSUME_GETDENTS64_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine. + * sysdeps/unix/sysv/linux/ia64/kernel-features.h + (__ASSUME_UTIMES): Do not define. + (__ASSUME_PSELECT): Likewise. + (__ASSUME_PPOLL): Likewise. + (__ASSUME_O_CLOEXEC): Likewise. + (__ASSUME_SOCK_CLOEXEC): Likewise. + (__ASSUME_IN_NONBLOCK): Likewise. + (__ASSUME_PIPE2): Likewise. + (__ASSUME_EVENTFD2): Likewise. + (__ASSUME_SIGNALFD4): Likewise. + (__ASSUME_DUP3): Likewise. + * sysdeps/unix/sysv/linux/m68k/kernel-features.h + (__ASSUME_UTIMES): Likewise. + (__ASSUME_O_CLOEXEC): Likewise. + (__ASSUME_SOCK_CLOEXEC): Likewise. + (__ASSUME_IN_NONBLOCK): Likewise. + (__ASSUME_PIPE2): Likewise. + (__ASSUME_EVENTFD2): Likewise. + (__ASSUME_SIGNALFD4): Likewise. + (__ASSUME_DUP3): Likewise. + * sysdeps/unix/sysv/linux/microblaze/kernel-features.h + (__ASSUME_UTIMES): Likewise. + (__ASSUME_O_CLOEXEC): Likewise. + (__ASSUME_SOCK_CLOEXEC): Likewise. + (__ASSUME_IN_NONBLOCK): Likewise. + (__ASSUME_PIPE2): Likewise. + (__ASSUME_EVENTFD2): Likewise. + (__ASSUME_SIGNALFD4): Likewise. + (__ASSUME_DUP3): Likewise. + * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64): + Likewise. + (__ASSUME_UTIMES): Likewise. + (__ASSUME_EVENTFD2): Likewise. + (__ASSUME_SIGNALFD4): Likewise. + * sysdeps/unix/sysv/linux/tile/kernel-features.h + (__ASSUME_O_CLOEXEC): Likewise. + (__ASSUME_SOCK_CLOEXEC): Likewise. + (__ASSUME_IN_NONBLOCK): Likewise. + (__ASSUME_PIPE2): Likewise. + (__ASSUME_EVENTFD2): Likewise. + (__ASSUME_SIGNALFD4): Likewise. + (__ASSUME_DUP3): Likewise. + (__ASSUME_UTIMES): Undefine. + + * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to + feclearexcept. Remove symbol versioning code. + * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove + symbol versioning code. + * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove + symbol versioning code. + * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to + feupdateenv. Remove symbol versioning code. + * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to + fegetexceptflag. Remove symbol versioning code. + * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to + fesetexceptflag. Remove symbol versioning code. + * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0, + GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4. + * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c + (__posix_fadvise64_l32): Remove prototype. + [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional + code. + +2014-05-13 Roland McGrath + + * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ... + * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here. + * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ... + * sysdeps/arm/nptl/bits/semaphore.h: ... here. + +2014-05-13 Sami Kerola + + * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead + current working directory + +2014-05-13 Roland McGrath + + * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ... + * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here. + * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ... + * sysdeps/unix/sysv/linux/arm/createthread.c: ... here. + * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ... + * sysdeps/unix/sysv/linux/arm/fork.c: ... here. + * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ... + * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here. + * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ... + * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here. + * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ... + * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here. + * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ... + * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here. + * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ... + * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here. + * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ... + * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here. + * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ... + * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here. + * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ... + * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here. + * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ... + * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here. + * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ... + * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here. + * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ... + * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here. + * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ... + * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here. + * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ... + * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here. + * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ... + * sysdeps/unix/sysv/linux/arm/localplt.data: ... here. + * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ... + * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here. + * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ... + * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here. + * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ... + * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here. + * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ... + * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here. + + * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set. + * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed. + + * sysdeps/unix/sysv/linux/arm/Makefile + [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines): + Add rt-aeabi_unwind_cpp_pr1. + [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines): + Add nptl-aeabi_unwind_cpp_pr1. + [$(subdir) = nptl] (tests): Filter out tst-cleanupx4. + * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed. + * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ... + * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here. + * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ... + * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here. + + * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here. + * sysdeps/unix/sysv/linux/arm/configure: Regenerated. + * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed. + * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed. + + * sysdeps/unix/sysv/linux/arm/clone.S: Include . + Deconditionalize the code that was previously under [RESET_PID]. + * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed. + + * sysdeps/generic/exit-thread.h: New file. + * sysdeps/unix/sysv/linux/exit-thread.h: New file. + * include/unistd.h (__exit_thread): Remove declaration. + * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread. + * sysdeps/unix/sysv/linux/exit-thread.S: File removed. + * csu/libc-start.c: Include . + (LIBC_START_MAIN): Pass no argument to __exit_thread. + * nptl/pthread_create.c: Include . + (start_thread): Call __exit_thread in place of __exit_thread_inline. + * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed. + * nptl/sysdeps/powerpc/pthreaddef.h: Likewise. + * nptl/sysdeps/s390/pthreaddef.h: Likewise. + * nptl/sysdeps/sh/pthreaddef.h: Likewise. + * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise. + * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise. + * nptl/sysdeps/x86_64/pthreaddef.h: Likewise. + * sysdeps/aarch64/nptl/pthreaddef.h: Likewise. + * sysdeps/alpha/nptl/pthreaddef.h: Likewise. + * sysdeps/arm/nptl/pthreaddef.h: Likewise. + * sysdeps/hppa/nptl/pthreaddef.h: Likewise. + * sysdeps/ia64/nptl/pthreaddef.h: Likewise. + * sysdeps/m68k/nptl/pthreaddef.h: Likewise. + * sysdeps/microblaze/nptl/pthreaddef.h: Likewise. + * sysdeps/mips/nptl/pthreaddef.h: Likewise. + * sysdeps/tile/nptl/pthreaddef.h: Likewise. + +2014-05-13 Andreas Schwab + + * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion. + +2014-05-12 Joseph Myers + + * sysdeps/unix/sysv/linux/kernel-features.h [__s390__] + (__ASSUME_UTIMES): Do not condition on kernel version. + (__ASSUME_PSELECT): Define unconditionally. + (__ASSUME_PPOLL): Likewise. + (__ASSUME_ATFCTS): Likewise. + (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version. + (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally. + (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version. + (__ASSUME_UTIMENSAT): Define unconditionally. + (__ASSUME_PRIVATE_FUTEX): Likewise. + (__ASSUME_FALLOCATE): Likewise. + (__ASSUME_O_CLOEXEC): Likewise. + (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove. + (__ASSUME_ARG_MAX_STACK_BASED): Likewise. + (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally. + (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version. + (__ASSUME_IN_NONBLOCK): Likewise. + (__ASSUME_PIPE2): Likewise. + (__ASSUME_EVENTFD2): Likewise. + (__ASSUME_SIGNALFD4): Likewise. + (__ASSUME_DUP3): Likewise. + [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise. + (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally. + (__ASSUME_AT_RANDOM): Likewise. + (__ASSUME_PREADV): Likewise. + (__ASSUME_PWRITEV): Likewise. + (__ASSUME_REQUEUE_PI): Do not condition on kernel version. + (__ASSUME_F_GETOWN_EX): Define unconditionally. + (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise. + * sysdeps/unix/sysv/linux/sysconf.c (__sysconf) + [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code. + * sysdeps/unix/sysv/linux/alpha/kernel-features.h + (__ASSUME_O_CLOEXEC): Define unconditionally. + (__ASSUME_PSELECT): Do not undefine conditionally. + (__ASSUME_PPOLL): Likewise. + (__ASSUME_ATFCTS): Likewise. + (__ASSUME_SET_ROBUST_LIST): Likewise. + (__ASSUME_UTIMENSAT): Likewise. + (__ASSUME_FDATASYNC): Define unconditionally. + * sysdeps/unix/sysv/linux/arm/kernel-features.h + (__ASSUME_SIGFRAME_V2): Likewise. + )__ASSUME_EVENTFD2): Likewise. + (__ASSUME_SIGNALFD4): Likewise. + (__ASSUME_PSELECT): Do not undefine conditionally. + (__ASSUME_PPOLL): Likewise. + * sysdeps/unix/sysv/linux/ia64/kernel-features.h + (__ASSUME_PSELECT): Define unconditionally. + (__ASSUME_PPOLL): Likewise. + (__ASSUME_O_CLOEXEC): Likewise. + (__ASSUME_SOCK_CLOEXEC): Likewise. + (__ASSUME_IN_NONBLOCK): Likewise. + (__ASSUME_PIPE2): Likewise. + (__ASSUME_EVENTFD2): Likewise. + (__ASSUME_SIGNALFD4): Likewise. + (__ASSUME_DUP3): Likewise. + * sysdeps/unix/sysv/linux/m68k/kernel-features.h + (__ASSUME_O_CLOEXEC): Likewise. + (__ASSUME_SOCK_CLOEXEC): Likewise. + (__ASSUME_IN_NONBLOCK): Likewise. + (__ASSUME_PIPE2): Likewise. + (__ASSUME_EVENTFD2): Likewise. + (__ASSUME_SIGNALFD4): Likewise. + (__ASSUME_DUP3): Likewise. + * sysdeps/unix/sysv/linux/mips/kernel-features.h + (__ASSUME_EVENTFD2): Likewise. + (__ASSUME_SIGNALFD4): Likewise. + (__ASSUME_ACCEPT4_SYSCALL): Likewise. + +2014-05-12 Andreas Schwab + + [BZ #16932] + * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r) + (_nss_nis_gethostbyname4_r): Return error if item length is larger + than maximum RPC packet size. + * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise. + * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise. + * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r) + (_nss_nis_getservbyport_r): Likewise. + +2014-05-12 Will Newton + + * malloc/Makefile (tests): Add tst-mallopt. + * malloc/tst-mallopt.c: New file. + +2014-05-09 Roland McGrath + + * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp. + [NO_THUMB]: Cope without cbz, cnbz, and orn instructions. + +2014-05-09 Adhemerval Zanella + + * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed). + (tst-tlsmod6.so): Likewise. + +2014-05-09 Roland McGrath + + * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn. + +2014-05-09 Joseph Myers + + [BZ #16064] + * sysdeps/i386/fpu/fegetenv.c: Include , + and . + (__fegetenv): Save SSE state in envp->__eip if supported. + * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in + envp->__eip if supported. + * sysdeps/i386/fpu/fesetenv.c: Include , + and . + (__fesetenv): Always set __eip, __cs_selector, __opcode, + __data_offset and __data_selector in environment to 0. Set SSE + state if supported. + * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add + test-fenv-sse. + [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2 + -mfpmath=sse. + * sysdeps/x86/fpu/test-fenv-sse.c: New file. + +2014-05-09 Will Newton + + * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize + and libc_relro_required for ARM. + * sysdeps/arm/preconfigure: Regenerate. + +2014-05-09 Dominik Vogt + Stefan Liebler + + * config.make.in (enable-lock-elision): New Makefile variable. + * configure.ac: Likewise. + * configure: Regenerate. + * sysdeps/s390/configure.ac: + Add check for gcc transactions support. + * sysdeps/s390/configure: Regenerate. + * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file. + Build elision files if enabled. + * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file. + Add lock elision support for s390. + * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise. + * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise. + * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise. + * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise. + * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise. + * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise. + * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: + Likewise. + * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: + Likewise. + * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: + Likewise. + * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: + Likewise. + * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: + (__lll_timedlock_elision, __lll_lock_elision) + (__lll_unlock_elision, __lll_trylock_elision) + (lll_timedlock_elision, lll_lock_elision) + (lll_unlock_elision, lll_trylock_elision): Add. + * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h + (pthread_mutex_t): Add lock elision support for s390. + +2014-05-14 Wilco + + * sysdeps/arm/fclrexcpt.c: Cleanup. + * sysdeps/arm/fedisblxcpt.c: Cleanup. + * sysdeps/arm/feenablxcpt.c: Cleanup. + * sysdeps/arm/fegetenv.c: Cleanup. + * sysdeps/arm/fegetexcept.c: Cleanup. + * sysdeps/arm/fegetround.c: Cleanup. + * sysdeps/arm/feholdexcpt.c: Cleanup. + * sysdeps/arm/fesetenv.c: Cleanup. + * sysdeps/arm/fesetround.c: Cleanup. + * sysdeps/arm/feupdateenv.c: Cleanup. + * sysdeps/arm/fgetexcptflg.c: Cleanup. + * sysdeps/arm/fraiseexcpt.c: Cleanup. + * sysdeps/arm/fsetexcptflg.c: Cleanup. + * sysdeps/arm/ftestexcept.c: Cleanup. + * sysdeps/arm/get-rounding-mode.h: Cleanup. + * sysdeps/arm/setfpucw.c: Cleanup. + +2014-05-09 Will Newton + + * sysdeps/arm/armv7/strcmp.S: New file. + * NEWS: Mention addition of ARMv7 optimized strcmp. + +2014-05-08 Roland McGrath + + * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to + look for %.ac rather than %.in. + + * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable. + * sysdeps/unix/sysv/linux/configure.ac: Likewise. + * sysdeps/mach/hurd/configure: Regenerated. + * sysdeps/unix/sysv/linux/configure: Regenerated. + + * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0. + +2014-05-07 Steve Ellcey + + [BZ #16922] + * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition. + (LONG_SUB): Ditto. + (PTR_SUB): Ditto. + +2014-05-07 Andreas Schwab + + * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer + when skipping over non-matching result from nscd. + +2014-05-07 Ondƙej BĂ­lka + + [BZ #16876] + * nptl/sockperf.c (client): Check socket return value. + + [BZ #16877] + * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is + nscd security class. + +2014-05-06 Roland McGrath + + * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ... + * sysdeps/arm/unwind.h: ... here. + +2014-05-06 Aurelien Jarno + + [BZ #16916] + * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE): + Define. + +2014-05-06 Vidya Ranganathan + + * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization. + * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file: + multiarch strncpy for PPC64. + * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file + * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file + * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy + multiarch optimizations. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: + (__libc_ifunc_impl_list): Likewise. + * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization. + * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file: + multiarch stpncpy for PPC64. + * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file + * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file + +2014-05-06 Andreas Schwab + + [BZ #16912] + * gmon/mcount.c (_MCOUNT_DECL): Use + atomic_compare_and_exchange_bool_acq instead of + catomic_compare_and_exchange_bool_acq. + +2014-05-05 Roland McGrath + + * elf/Makefile (others, install-bin): Remove pldd. + (pldd-modules): Variable removed. + ($(objpfx)pldd): Target removed. + * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf] + (others, install-bin): Append pldd here. + ($(objpfx)pldd): New target. + + * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX + to 0, so the first #if test emitted later doesn't see it undefined. + (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does. + * sysdeps/gnu/errlist.c: Regenerated. + +2014-05-04 Adhemerval Zanella + + * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c + [libc_hidden_builtin_def]: Define to empty value. + * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: + [libc_hidden_builtin_def]: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: + [libc_hidden_builtin_def]: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: + [libc_hidden_builtin_def]: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to + __redirect_memcpy and define ifunc as default hidden symbol. + * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise. + +2014-05-04 Adam Conrad + + * locale/iso-4217.def: Reintroduce XDR currency. + +2014-05-04 Allan McRae + + * po/eo.po: Update Esperanto translation from translation project. + +2014-05-02 Carlos O'Donell + + * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0, + and FEATURE_INDEX_MAX to 1. + [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*. + +2014-05-01 Steve Ellcey + + * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define. + * iconvdata/armscii-8.c (ONE_DIRECTION): Define. + * iconvdata/big5.c (ONE_DIRECTION): Define. + * iconvdata/big5hkscs.c (ONE_DIRECTION): Define. + * iconvdata/cp1255.c (ONE_DIRECTION): Define. + * iconvdata/cp1258.c (ONE_DIRECTION): Define. + * iconvdata/cp932.c (ONE_DIRECTION): Define. + * iconvdata/euc-cn.c (ONE_DIRECTION): Define. + * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define. + * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define. + * iconvdata/euc-jp.c (ONE_DIRECTION): Define. + * iconvdata/euc-kr.c (ONE_DIRECTION): Define. + * iconvdata/euc-tw.c (ONE_DIRECTION): Define. + * iconvdata/gb18030.c (ONE_DIRECTION): Define. + * iconvdata/gbbig5.c (ONE_DIRECTION): Define. + * iconvdata/gbgbk.c (ONE_DIRECTION): Define. + * iconvdata/gbk.c (ONE_DIRECTION): Define. + * iconvdata/ibm1364.c (ONE_DIRECTION): Define. + * iconvdata/ibm930.c (ONE_DIRECTION): Define. + * iconvdata/ibm932.c (ONE_DIRECTION): Define. + * iconvdata/ibm933.c (ONE_DIRECTION): Define. + * iconvdata/ibm935.c (ONE_DIRECTION): Define. + * iconvdata/ibm937.c (ONE_DIRECTION): Define. + * iconvdata/ibm939.c (ONE_DIRECTION): Define. + * iconvdata/ibm943.c (ONE_DIRECTION): Define. + * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define. + * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define. + * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define. + * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define. + * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define. + * iconvdata/iso646.c (ONE_DIRECTION): Define. + * iconvdata/iso8859-1.c (ONE_DIRECTION): Define. + * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define. + * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define. + * iconvdata/iso_6937.c (ONE_DIRECTION): Define. + * iconvdata/johab.c (ONE_DIRECTION): Define. + * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define. + * iconvdata/sjis.c (ONE_DIRECTION): Define. + * iconvdata/t.61.c (ONE_DIRECTION): Define. + * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define. + * iconvdata/tscii.c (ONE_DIRECTION): Define. + * iconvdata/uhc.c (ONE_DIRECTION): Define. + * iconvdata/unicode.c (ONE_DIRECTION): Define. + * iconvdata/utf-16.c (ONE_DIRECTION): Define. + * iconvdata/utf-32.c (ONE_DIRECTION): Define. + * iconvdata/utf-7.c (ONE_DIRECTION): Define. + +2014-05-01 Roland McGrath + + * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT] + (_IO_JUMPS_OFFSET): Define to 0. + + * nptl/sysdeps/pthread/bits/libc-lock.h + [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)] + (__libc_lock_define_initialized_recursive): Always define using + initializer. Modern compilers treat uninitialized (implicit zero) and + explicit zero initializers the same (i.e. put the datum in bss). + +2014-05-01 Andreas Schwab + + * nscd/nscd-client.h: Include . + +2014-05-01 David S. Miller + + [BZ #16885] + * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when + multiple zero bytes exist at the end of a string. + Reported by Aurelien Jarno + + * string/test-strcmp.c (check): Add explicit test for situations where + there are multiple zero bytes after the first. + +2014-05-01 Andreas Schwab + + [BZ #16890] + * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide + when compiling wprintf. + * stdio-common/tstdiomisc.c (t3): New function. + (main): Call it. + +2014-05-01 Steve Ellcey + + * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define. + * iconv/gconv_simple.c (ONE_DIRECTION): Define. + * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto. + * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto. + +2014-05-01 Steve Ellcey + + * stdlib/longlong.h: Updated from GCC. + +2014-05-01 Will Newton + Bernard Ogden + + * NEWS: Update fixed bug list. + + [BZ #15119] + * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file. + +2014-04-30 David S. Miller + + * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define. + (libc_feholdexcept_setround_sparc_ctx): New function. + (libc_fesetenv_sparc_ctx): Likewise. + (libc_feupdateenv_sparc_ctx): Likewise. + (libc_feholdsetround_sparc_ctx): Likewise. + (libc_feholdexcept_setround_ctx): Define. + (libc_feholdexcept_setroundf_ctx): Likewise. + (libc_feholdexcept_setroundl_ctx): Likewise. + (libc_fesetenv_ctx): Likewise. + (libc_fesetenvf_ctx): Likewise. + (libc_fesetenvl_ctx): Likewise. + (libc_feupdateenv_ctx): Likewise. + (libc_feupdateenvf_ctx): Likewise. + (libc_feupdateenvl_ctx): Likewise. + (libc_feresetround_ctx): Likewise. + (libc_feresetroundf_ctx): Likewise. + (libc_feresetroundl_ctx): Likewise. + (libc_feholdsetround_ctx): Likewise. + (libc_feholdsetroundf_ctx): Likewise. + (libc_feholdsetroundl_ctx): Likewise. + + * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect + with __USE_GNU instead of XOPEN cpp guards. + + * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to + 0. + + * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect + with XOPEN cpp guards. + +2014-04-30 Julian Brown + + [BZ #16888] + * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE + handling. + +2014-04-30 Joseph Myers + + [BZ #9894] + * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION): + Change to 2.6.32. + (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32. + * sysdeps/unix/sysv/linux/configure: Regenerated. + * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file. + * sysdeps/unix/sysv/linux/microblaze/configure: Likewise. + * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise. + * sysdeps/unix/sysv/linux/tile/configure: Likewise. + * README: Update reference to required Linux kernel version. + * manual/install.texi (Linux): Update reference to required Linux + kernel headers version. + * INSTALL: Regenerated. + + * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow + header inclusion. + [POSIX] (limits.h): Likewise. + [POSIX] (math.h): Likewise. + [POSIX] (sys/wait.h): Likewise. + * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require + function. + [POSIX] (stddef.h): Do not allow header inclusion. + +2014-04-30 Adhemerval Zanella + + * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias. + +2014-04-30 Yang Yingliang + + * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): + Return immediately after lll_futex_wake. + +2014-04-30 Siddhesh Poyarekar + + [BZ #16791] + * nscd/nscd-client.h (datahead_init_common): Initialize entire + structure. + (datahead_init_pos): Call datahead_init_common early. + (datahead_init_neg): Likewise. + + * nscd/nscd-client.h (datahead_init_common, datahead_init_pos, + datahead_init_neg): New functions. + * nscd/aicache.c (addhstaiX): Use them. + * nscd/grpcache.c (cache_addgr): Likewise. + * nscd/hstcache.c (cache_addhst): Likewise. + * nscd/initgrcache.c (addinitgroupsX): Likewise. + * nscd/netgroupcache.c (do_notfound): Likewise. + (addgetnetgrentX): Likewise. + (addinnetgrX): Likewise. + * nscd/pwdcache.c (cache_addpw): Likewise. + * nscd/servicescache.c (cache_addserv): Likewise. + +2014-04-30 Siddhesh Poyarekar + Atsushi Onoe + + [BZ #14308] + [BZ #12994] + [BZ #13651] + * resolv/res_query.c (__libc_res_nsearch): Return if at least + one response is valid. + * resolv/res_send.c (send_dg): Check for validity of other + response if the current response is a referral. + +2014-04-29 Steve Ellcey + + * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set. + +2014-04-29 Stefan Liebler + + [BZ #16823] + * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): + Always divide by positive zero when computing -Inf result. + * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise. + * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise. + +2014-04-28 Adhemerval Zanella + + * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update + FPSCR if value do not change. + * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise. + * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise. + * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise. + * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise. + * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise. + * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper + function. + +2014-05-29 Carlos O'Donell + + * sysdeps/hppa: Move directory from ports/sysdeps/hppa. + * sysdeps/unix/sysv/linux/hppa: Move directory from + ports/systeps/unix/sysv/linux/hppa. + * README: Update listing for hppa-*-linux-gnu. + +2014-04-28 Ondƙej BĂ­lka + + [BZ #16754] + * manual/stdio.texi (Hook functions): Fix types of stream hook + functions. + [BZ #16854] + * socket/sys/socket.h: Fix typo in comment. + +2014-04-28 Wilco + + * sysdeps/arm/fenv_private.h: New file. + * sysdeps/arm/math_private.h: New file. + * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT. + +2014-04-25 H.J. Lu + + * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128 + with __int128_t. + (La_x86_64_retval): Likewise. + +2014-04-24 Ian Bolton + + * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to + fpsr if value didn't change. + * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write + to fpcr if value didn't change. + * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise. + * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to + fpsr or fpcr if value didn't change. + * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise. + * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to + fpcr if value didn't change. + * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write + to fpsr if value didn't change. + +2014-02-23 Siddhesh Poyarekar + + * nptl/tst-sem3.c: Use test-skeleton.c + (main): Rename to do_test. Use return instead of + exit. + * nptl/tst-sem4.c: Use test-skeleton.c + (main): Rename to do_test. + +2014-04-22 David S. Miller + + * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h + (struct sigaction): New struct member __glibc_reserved0, change + type of sa_flags to int. + +2014-04-22 Yufeng Zhang + + * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros) + (COUNT_LEADING_ZEROS_0): Define for AArch64. + +2014-04-22 Siddhesh Poyarekar + + * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h. + * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise. + +2014-04-22 Will Newton + Venkataramanan Kumar + + * sysdeps/aarch64/__longjmp.S: Include stap-probe.h. + (__longjmp): Add longjmp and longjmp_target SystemTap + probes. + * sysdeps/aarch64/setjmp.S: Include stap-probe.h. + (__sigsetjmp): Add setjmp SystemTap probe. + +2014-04-17 Carlos O'Donell + + * manual/intro.texi (Roadmap to the manual): Sort chapter listing to + match manual order. + +2014-04-17 Adhemerval Zanella + + * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file. + + * sysdeps/powerpc/fpu/fenv_private.h + (libc_feholdexcept_setroundl_ctx): Define to + libc_feholdexcept_setround_ppc_ctx. + (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx. + (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx. + (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx. + (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx. + +2014-04-17 Ian Bolton + + * sysdeps/aarch64/math-tests.h: New file. + +2014-04-17 Sihai Yao + + * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7): + New. + * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): + Check and set bit_AVX2_Usable. + * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New + macro. + (bit_AVX2): Likewise. + (index_AVX2_Usable): Likewise. + (CPUID_AVX2): Likewise. + (HAS_AVX2): Likewise. + +2014-04-17 Will Newton + + * manual/setjmp.texi (System V contexts): Add note that + calling setcontext on a context created by a call to a + signal handler is undefined. Update text to note that + setcontext from a signal handler is possible but not + recommended. + + [BZ #16629] + * stdlib/tst-setcontext.c: Include signal.h. + (main): Check that the signal stack before and + after swapcontext is the same. + + * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): + Re-implement to restore registers in user code and avoid + rt_sigreturn system call. + +2014-04-17 Wilco + + * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings. + * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED). + * math/test-fenv.c: Skip exception trap tests on targets which only + support non-stop mode. + +2014-04-17 Ian Bolton + Wilco Dijkstra + + * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX) + (libc_feholdsetround_aarch64_ctx) + (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx) + (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx) + (libc_feresetround_ctx, libc_feresetroundf_ctx) + (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx) + (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx) + (libc_feresetround_noexl_ctx): Define. + +2014-04-16 Richard Henderson + + * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove. + + * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable + unwind tables. + + * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove + const from the non-libc, non-ldso copy. + + * sysdeps/alpha/libm-test-ulps: Regenerate. + +2014-04-16 Ian Bolton + Wilco Dijkstra + + * sysdeps/aarch64/fpu/math_private.h: New file. + +2014-04-16 Marcus Shawcroft + + * sysdeps/aarch64/libm-test-ulps: Regenerate. + +2014-04-16 Igor Zamyatin + + [BZ #16275] + * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd. + (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1. + * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save + Intel MPX bound registers before _dl_profile_fixup. + * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound + registers after _dl_profile_fixup. Save and restore bound + registers bnd0/bnd1 when calling _dl_call_pltexit. + * sysdeps/x86_64/link-defines.sym (BND_SIZE): New. + (LR_BND_OFFSET): Likewise. + (LRV_BND0_OFFSET): Likewise. + (LRV_BND1_OFFSET): Likewise. + +2014-04-16 Samuel Thibault + + * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations + to... + * sysdeps/mach/hurd/i386/tls.h: ... here. + (tcbhead_t): Add multiple_threads, sysinfo, stack_guard, + pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss + fields. + +2014-04-16 Samuel Thibault + + * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0. + +2014-04-16 Stefan Liebler + + * sysdeps/s390/fpu/libm-test-ulps: Regenerate. + +2014-04-16 Stefan Liebler + + [BZ #14770] + * sysdeps/s390/configure.ac: Check for Binutils >= 2.24. + * sysdeps/s390/configure: Regenerate. + + [BZ #16824] + * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): + Set round-to-nearest internally to reduce error accumulation. + +2014-04-16 Alan Modra + + [BZ #16740] + [BZ #16619] + * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite. + * math/libm-test.inc (frexp_test_data): Add tests. + * NEWS: Update fixed bug list. + +2014-04-15 Siddhesh Poyarekar + + * benchtests/Makefile: Depend on libraries in build directory. + (bench-math): Separate out math tests. + (bench-pthread): Separate out pthread tests. + (bench): Include math and pthread tests. + +2014-04-14 Carlos O'Donell + + [BZ #16831] + * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call + _dl_debug_initialize. + + * configure.ac: Remove SELinux header check. + * configure: Regenerate. + * nscd/selinux.c (perms): Array of const char* to permission names. + (nscd_request_avc_has_perm): Call security_deny_unknown to find + default policy. Call string_to_security_class and string_to_av_perm to + translate strings. Enforce default policy and call avs_has_perm with + results of translated strings. + +2014-04-13 David S. Miller + + * sysdeps/sparc/fpu/libm-test-ulps: Update. + +2014-04-12 Allan McRae + + [BZ #16838] + * manual/string.texi (Collation Functions): Fix qsort argument + order in example. + Reported by David C. Rankin . + +2014-04-11 Chris Metcalf + + * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test): + Make the test a no-op if there are no exceptions defined. + +2014-04-11 Paul Pluzhnikov + + * elf/Makefile (tests): make tst-dlopen-aout conditional on + enable-hardcoded-path-in-tests + +2014-04-11 Will Newton + + * benchtests/Makefile (extra-objs): Add json-lib.o. + (bench-func): Tidy up JSON output. + * benchtests/bench-skeleton.c: Include json-lib.h. + (main): Use JSON library functions to do output of + benchmark results. + * benchtests/bench-timing-type.c (main): Output the + timing type simply, leaving formatting to the user. + * benchtests/json-lib.c: New file. + * benchtests/json-lib.h: Likewise. + +2014-04-11 Torvald Riegel + + [BZ #15215] + * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ... + * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing + memory barriers. Add comments. + * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file. + * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file. + * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file. + * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file. + * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file. + * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file. + +2014-04-11 Stefan Liebler + + * sysdeps/s390/s390-32/configure.ac: Unify file with ... + * sysdeps/s390/s390-64/configure.ac: ... this ... + * sysdeps/s390/configure.ac: ... to here. + * sysdeps/s390/s390-32/configure: Delete file. + * sysdeps/s390/s390-64/configure: Delete file. + * sysdeps/s390/configure: Regenerate. + +2014-04-11 Joseph Anthony Pasquale Holsten + + * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment. + +2014-04-11 Will Newton + + * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG + to zero if it is not defined elsewhere. (mtrim): Test + the value of MALLOC_DEBUG with #if rather than #ifdef. + +2014-04-10 Torvald Riegel + + * benchtests/pthread_once-inputs: New file. + * benchtests/pthread_once-source.c: New file. + * benchtests/README: Update documentation. + +2014-04-09 Igor Zamyatin + H.J. Lu + + [BZ #16275] + * config.h.in (HAVE_MPX_SUPPORT): New #undef. + * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT. + * sysdeps/x86_64/configure: Regenerated. + * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New + macro. + (REGISTER_SAVE_RAX): Likewise. + (REGISTER_SAVE_RCX): Likewise. + (REGISTER_SAVE_RDX): Likewise. + (REGISTER_SAVE_RSI): Likewise. + (REGISTER_SAVE_RDI): Likewise. + (REGISTER_SAVE_R8): Likewise. + (REGISTER_SAVE_R9): Likewise. + (REGISTER_SAVE_BND0): Likewise. + (REGISTER_SAVE_BND1): Likewise. + (REGISTER_SAVE_BND2): Likewise. + (_dl_runtime_resolve): Use them. Save and restore Intel MPX + bound registers when calling _dl_fixup. + +2014-04-09 Adhemerval Zanella + + * bits/string.h (_STRING_ARCH_unaligned): Define it to 0. + * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead + of its definition. + * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise. + * iconv/loop.c (_STRING_ARCH_unaligned): Likewise. + * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise. + * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise. + * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise. + * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise. + * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise. + +2014-04-09 Peter Brett + + [BZ #15514] + * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for + pathconf(_PC_NAME_MAX). + +2014-04-09 Adhemerval Zanella + + * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION): + Remove macro usage. + (__PTHREAD_SPINS): Move definition to ... + * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h + (__PTHREAD_SPINS): ... here. + * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h + (__PTHREAD_SPIN): Likewise. + * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h + (__PTHREAD_SPIN): Likewise. + * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h + (__PTHREAD_SPIN): Likewise. + * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h + (__PTHREAD_SPIN): Likewise. + * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h + (__PTHREAD_SPIN): Likewise. + * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h + (__PTHREAD_SPIN): Likewise. + * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h + (__PTHREAD_SPIN): Likewise. + * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h + (__PTHREAD_SPIN): Likewise. + * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h + (__PTHREAD_SPIN): Likewise. + * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h + (__PTHREAD_SPIN): Likewise. + * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h + (__PTHREAD_SPIN): Likewise. + * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h + (__PTHREAD_SPIN): Likewise. + + * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file. + * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file. + * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file. + * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch + imply folder. + * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise. + * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise. + * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise. + * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust + correct imply path. + * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct + strlen symbol for non multi-arch builds. + * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add + missing hidden_def and weak_alias. + +2014-04-08 Carlos O'Donell + + * manual/ipc.texi (sem_close): AC-unsafe because of aculock. + +2014-04-07 Will Newton + + * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and + and contents. [!_LIBC] Remove #ifndef and contents. + (basename): Use ANSI prototype. [_LIBC] Remove #idef. + * string/memccpy.c (__memccpy): Use ANSI prototype. + * string/memfrob.c (memfrob): Likewise. + * string/strcoll.c (STRCOLL): Likewise. + * string/strlen.c (strlen): Likewise. + * string/strtok.c (STRTOK): Likewise. + * string/strcat.c: Remove unused #include of memcopy.h. + (strcat): Use ANSI prototype. + * string/strchr.c: Remove unused #include of memcopy.h. + (strchr): Use ANSI prototype. + * string/strcmp.c: Remove unused #include of memcopy.h. + (strcmp): Use ANSI prototype. + * string/strcpy.c: Remove unused #include of memcopy.h. + (strcpy): Use ANSI prototype. + +2014-04-06 Adhemerval Zanella + + * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list. + * config.make.in (config-extra-cppflags): Set it from + libc_extra_cppflags. + * configure.ac (libc_extra_cflags): Make it accumulate over + configure fragments. + (libc_extra_cppflags): New flag. + * configure. Regenerate. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac + (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does + not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate. + + [BZ #16815] + * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix + result for FE_DOWNWARD rounding mode. + * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf): + Likewise. + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2014-04-04 Chris Metcalf + + * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug + in function argument name. + +2014-04-03 David Svoboda + + [BZ #5666] + * manual/stdio.texi (Line-Oriented Input): Document buffer allocation + explicitly. + +2014-04-03 Roland McGrath + + * elf/dl-unmap-segments.h: New file. + * sysdeps/generic/ldsodefs.h + (DL_UNMAP): Use _dl_unmap_segments in place of __munmap. + * elf/dl-close.c: Include . + * elf/dl-fptr.c: Likewise. + (_dl_unmap): Use _dl_unmap_segments in place of __munmap. + * sysdeps/aarch64/tlsdesc.c: Likewise. + * sysdeps/arm/tlsdesc.c: Likewise. + * sysdeps/i386/tlsdesc.c: Likewise. + * sysdeps/tile/dl-runtime.c: Likewise. + * sysdeps/x86_64/tlsdesc.c: Likewise. + * elf/dl-load.h: New file. + * elf/dl-load.c: Include it. + (MAP_FILE, MAP_COPY, MAP_BASE_ADDR): + Macros moved to dl-load.h. + (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise. + (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h. + Use _dl_unmap_segments in place of __munmap. + Break out segment-mapping loop into ... + * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file. + +2014-04-03 Will Newton + + * elf/dl-lookup.c (do_lookup_x): Remove comment + referring to nested function and move variable + declarations down to before first use. + +2014-04-02 Joseph Myers + + [BZ #16799] + [BZ #16800] + * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2 + with 0 numerator. + * math/s_catanf.c (__catanf): Likewise. + * math/s_catanh.c (__catanh): Likewise. + * math/s_catanhf.c (__catanhf): Likewise. + * math/s_catanhl.c (__catanhl): Likewise. + * math/s_catanl.c (__catanl): Likewise. + * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide + by positive zero when computing -Inf result. + * math/libm-test.inc (catan_test): Use ALL_RM_TEST. + (catanh_test): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + [BZ #16789] + * math/s_clog.c (__clog): Use math_force_eval to ensure underflow + instead of using underflowing value in computing result. + * math/s_clog10.c (__clog10): Likewise. + * math/s_clog10f.c (__clog10f): Likewise. + * math/s_clog10l.c (__clog10l): Likewise. + * math/s_clogf.c (__clogf): Likewise. + * math/s_clogl.c (__clogl): Likewise. + * math/libm-test.inc (clog_test): Use ALL_RM_TEST. + (clog10_test): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2014-04-02 Alan Modra + + [BZ #16739] + * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct + output when value is near a power of two. Use int64_t for lx and + remove casts. Use decimal rather than hex exponent constants. + Don't use long double multiplication when double will suffice. + * math/libm-test.inc (nextafter_test_data): Add tests. + * NEWS: Add 16739 and 16786 to bug list. + + * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint. + + * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference. + +2014-04-01 Will Newton + + * benchtests/Makefile (CFLAGS-bench-ffs.c): Add + -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise. + +2014-04-01 Florian Weimer + + [BZ #13347] + * nptl/nptl-init.c (sighandler_setxid): Check system call result. + * nptl/tst-setuid2.c: New file. + * nptl/Makefile (xtests): Add tst-setuid2. + +2014-04-01 Alan Modra + + [BZ #16786] + * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack. + +2014-03-31 Joseph Myers + + [BZ #6803] + [BZ #6804] + * math/w_scalb.c (__scalb): For non-SVID mode, check result and + set errno as appropriate. + * math/w_scalbf.c (__scalbf): Likewise. + * math/w_scalbl.c (__scalbl): Likewise. + * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW, + ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW. + * math/libm-test.inc (scalb_test_data): Add errno expectations. + Add more NaN tests. + + [BZ #16349] + * math/w_atan2.c: Include . + (__atan2): Set errno for result underflowing to zero. + * math/w_atan2f.c: Include . + (__atan2f): Set errno for result underflowing to zero. + * math/w_atan2l.c: Include . + (__atan2l): Set errno for result underflowing to zero. + * math/auto-libm-test-in: Don't allow missing errno for some atan2 + tests. + * math/auto-libm-test-out: Regenerated. + +2014-03-31 Adhemerval Zanella + + * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1): + Encode instruction correctly in little endian. + * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1): + Likewise. + * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1): + Likewise. + * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1): + Likewise. + * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1): + Likewise. + +2014-03-31 Joseph Myers + + [BZ #9894] + * sysdeps/unix/sysv/linux/kernel-features.h + [__sparc__ && !__arch64__ && !__sparc_v9__] + (__ASSUME_SET_ROBUST_LIST): Do not define. + [__sparc__ && !__arch64__ && !__sparc_v9__] + (__ASSUME_FUTEX_LOCK_PI): Likewise. + [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI): + Likewise. + * sysdeps/unix/sysv/linux/arm/kernel-features.h + (__ASSUME_FUTEX_LOCK_PI): Undefine. + (__ASSUME_REQUEUE_PI): Likewise. + (__ASSUME_SET_ROBUST_LIST): Likewise. + * sysdeps/unix/sysv/linux/m68k/kernel-features.h + [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI): + Undefine. + * sysdeps/unix/sysv/linux/microblaze/kernel-features.h + [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI): + Likewise. + [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI): + Likewise. + [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST): + Likewise. + * sysdeps/unix/sysv/linux/mips/kernel-features.h + [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI): + Undefine. + [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise. + [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST): + Likewise. + + [BZ #16648] + * sysdeps/unix/sysv/linux/microblaze/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define. + * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file. + +2014-03-31 Will Newton + + * benchtests/Makefile (bench): Add ffs and ffsll to list + of tests. + * benchtests/ffs-inputs: New file. + * benchtests/ffsll-inputs: Likewise. + +2014-03-29 Joseph Myers + + [BZ #16770] + * math/e_scalb.c (__ieee754_scalb): Check second argument is not + too large before casting to int. + * math/e_scalbf.c (__ieee754_scalbf): Likewise. + * math/e_scalbl.c (__ieee754_scalbl): Likewise. + * math/libm-test.inc (scalb_test_data): Add more tests. + +2014-03-29 Siddhesh Poyarekar + + * benchtests/Makefile (DETAILED_OPT): New make option. + (bench-func): Run benchmark program with -d if DETAILED_OPT is + set. + * benchtests/bench-skeleton.c: Include stdbool.h. + (main): Store and print timings per input. + * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing + member to each argument value. + (EPILOGUE): Define new macros RESULT and RESULT_ACCUM. + (_print_arg_data): Initialize per-input timing to 0. + + * benchtests/Makefile (timing-type): New binary. + (bench-clean): Also remove bench-timing-type. + (bench): New target for timing-type. + (bench-func): Print output in JSON format. + * benchtests/bench-skeleton.c (main): Print output in JSON + format. + * benchtests/bench-timing-type.c: New file. + * benchtests/bench-timing.h (TIMING_TYPE): New macro. + (TIMING_PRINT_STATS): Remove. + * benchtests/scripts/bench.py (_print_arg_data): Store variant + name separately. + + * benchtests/bench-modf.c: Remove. + * benchtests/modf-inputs: New inputs file. + +2014-03-28 Joseph Myers + + [BZ #16362] + * math/s_clog10.c (M_PI_LOG10E): New macro. + (__clog10): Use M_PI_LOG10E instead of M_PI when real and + imaginary parts are 0. + * math/s_clog10f.c (M_PI_LOG10Ef): New macro. + (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and + imaginary parts are 0. + * math/s_clog10l.c (M_PI_LOG10El): New macro. + (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and + imaginary parts are 0. + * math/libm-test.inc (clog10_test_data): Update expected results + for when real and imaginary parts are 0. + +2014-03-27 Paul Pluzhnikov + + * elf/dl-load.c: Finish conversion of __builtin_expect into + __glibc_{un}likely. + +2014-03-27 Joseph Myers + + [BZ #16348] + * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use + 1+x for argument with exponent below -67. + * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: + Likewise. + * math/auto-libm-test-in: Add more tests of exp. + * math/auto-libm-test-out: Regenerated. + +2014-03-27 Siddhesh Poyarekar + + [BZ #16759] + * inet/getnetgrent_r.c (get_nonempty_val): New function. + (nscd_getnetgrent): Use it. + + [BZ #16760] + * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead + of stpcpy. + +2014-03-27 Andi Kleen + + * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock) + (lll_robust_lock, lll_cond_lock, lll_timedlock) + (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock) + (lll_robust_unlock): Remove out of line section. Use cfi + intrinsics. + (LLL_STUB_UNWIND_INFO*): Remove. + * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock) + (lll_robust_lock, lll_cond_lock, lll_timedlock) + (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock) + (lll_robust_unlock): Remove out of line section. Use cfi + intrinsics. + (LLL_STUB_UNWIND_INFO*): Remove. + +2014-03-27 Siddhesh Poyarekar + + [BZ #16758] + * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has + blank values. + +2014-03-26 Paul Pluzhnikov + + * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely. + +2014-03-26 Joseph Myers + + [BZ #16198] + * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after + fnstenv. + * math/test-fenv-preserve.c: New file. + * math/Makefile (tests): Add test-fenv-preserve. + +2014-03-26 Will Newton + + * benchtests/bench-strtod.c (TIMEOUT): Define to 10. + +2014-03-25 Roland McGrath + + * scripts/versionlist.awk: Partition the version sets and emit all + GLIBC_* (sorted) before all others (sorted). + +2014-03-25 Joseph Myers + + * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty + GLIBC_2.2.5 version. + +2014-03-25 Adhemerval Zanella + + * scripts/localplt.awk: Check for PLT generated by internal IFUNC + calls. + + * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert + previous change. + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2014-03-25 Andreas Schwab + + * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2 + label to be used after in6ailist is initialized. + +2014-03-25 Adhemerval Zanella + + * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h + (__PTHREAD_MUTEX_HAVE_ELISION): New define. + +2014-03-25 Joseph Myers + + [BZ #16357] + [BZ #16599] + * math/gen-auto-libm-tests.c (fp_format_desc): Add field + min_plus_half. + (fp_formats): Update initializers. + (init_fp_formats): Initialize new field. + (output_for_one_input_case): Allow underflow for results up to + min_plus_half. + * math/libm-test.inc (log1p_test): Use ALL_RM_TEST. + * math/auto-libm-test-in: Don't mark some underflows from asin and + atanh as spurious. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2014-03-25 Andreas Schwab + + * libio/Makefile (tst-ftell-partial-wide-ENV) + (tst-ftell-active-handler-ENV): Define. + +2014-03-25 Stefan Liebler + + * NEWS: Add 16712, 16713, 16714 to fixed bug list. + +2014-03-24 Paul Pluzhnikov + + * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c + +2014-03-24 Joseph Myers + + * sysdeps/ieee754/dbl-64/e_exp.c: Include . + * sysdeps/x86_64/fpu/multiarch/e_exp.c + [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise. + +2014-03-24 Paul Pluzhnikov + + [BZ #16634] + * elf/dl-load.c (open_verify): Add mode parameter. + Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC. + (open_path): Change from boolean 'secure' to complete flag 'mode' + (_dl_map_object): Adjust. + * elf/Makefile (tests): Add tst-dlopen-aout. + * elf/tst-dlopen-aout.c: New test. + +2014-03-24 Stefan Liebler + + [BZ #16714] + * sysdeps/unix/sysv/linux/s390/bits/stat.h + (struct stat): Rename member pad0 to __glibc_reserved0. + + [BZ #16712] + * sysdeps/s390/s390-32/bits/wordsize.h + (__WORDSIZE32_SIZE_ULONG): New define. + * sysdeps/s390/s390-64/bits/wordsize.h + (__WORDSIZE32_SIZE_ULONG): Likewise. + * sysdeps/generic/stdint.h (SIZE_MAX): + Define as UL if __WORDSIZE32_SIZE_ULONG. + + [BZ #16713] + * sysdeps/unix/sysv/linux/s390/bits/sigaction.h + (__glibc_reserved0): New variable. + (sa_flags): Change type to int. + + * posix/Makefile (before-compile): Use += before-compile instead + of a :=. + + * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h + (__PTHREAD_MUTEX_HAVE_ELISION): New define. + +2014-03-20 Andreas Schwab + + [BZ #16743] + * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over + non-matching result from nscd. + +2014-03-24 Siddhesh Poyarekar + + * scripts/bench.py: Moved to ... + * benchtests/scripts/bench.py: ... here. + * benchtests/Makefile ($(objpfx)bench-%.c): Adjust. + +2014-03-24 Andreas Schwab + + [BZ #16002] + * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use + alloca_account and account alloca use for struct in6ailist. + +2014-03-24 Joseph Myers + + [BZ #16284] + * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original + rounding mode to recompute results that overflow to infinity or + underflow to zero. + * math/auto-libm-test-in: Don't mark tests as expected to fail for + bug 16284. + * math/auto-libm-test-out: Regenerated. + * math/libm-test.inc (ccos_test): Use ALL_RM_TEST. + (ccosh_test): Likewise. + (csin_test_data): Use plus_oflow. + (csin_test): Use ALL_RM_TEST. + (csinh_test_data): Use plus_oflow. + (csinh_test): Use ALL_RM_TEST. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2014-03-21 Joseph Myers + + * sysdeps/mips/bits/wordsize.h: Include . + * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise. + + [BZ #16731] + * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value + when x - 1 is zero. + * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise. + * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise. + * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise. + * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when + argument is 1. + * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise. + * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is + zero. + * math/libm-test.inc (log_test): Use ALL_RM_TEST. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2014-03-21 Siddhesh Poyarekar + + * scripts/bench.pl: Remove file. + * scripts/bench.py: New benchmark script. + * benchtests/Makefile ($(objpfx)bench-%.c): Use it. + * benchtests/README: Mention python dependency. + * scripts/pylintrc: New file. + * scripts/pylint: New file. + + * bits/mathdef.h: Use #ifdef instead of #if. + * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined + _MATH_H && !defined _MATH_H_MATHDEF]: Likewise. + * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined + _MATH_H && !defined _MATH_H_MATHDEF]: Likewise. + * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined + _MATH_H && !defined _MATH_H_MATHDEF]: Likewise. + +2014-03-20 Adhemerval Zanella + Vidya Ranganathan + + * string/strpbrk.c (strpbrk): Using macro to redefine symbol name. + * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7 + and strpbrk-ppc64 objects. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add new strpbrk optimized symbols. + * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file: + multiarch strpbrk for POWER7. + * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file: + multiarch strpbrk for PPC64. + * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk + ifunc selector. + * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited + strpbrk for POWER7. + +2014-03-20 Joseph Myers + + * math/libm-test.inc (asinh_test): Use ALL_RM_TEST. + (atan_test): Likewise. + (atanh_test_data): Use NO_TEST_INLINE for two tests. + (atanh_test): Use ALL_RM_TEST. + (atan2_test_data): Likewise. + (cabs_test): Likewise. + (cacosh_test): Likewise. + (carg_test): Likewise. + (casin_test): Likewise. + (casinh_test): Likewise. + (cbrt_test): Likewise. + (csqrt_test): Likewise. + (erf_test): Likewise. + (erfc_test): Likewise. + (pow10_test): Likewise. + (exp2_test): Likewise. + (hypot_test): Likewise. + (j0_test): Likewise. + (j1_test): Likewise. + (lgamma_test): Likewise. + (gamma_test): Likewise. + (sincos_test): Likewise. + (tanh_test): Likewise. + (y0_test): Likewise. + (y1_test): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2014-03-20 Adhemerval Zanella + + * string/strcspn.c (strcspn): Using macro to redefine symbol name. + * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7 + and strcspn-ppc64 objects. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add new strcspn optimized symbols. + * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file: + multiarch strcspn for POWER7. + * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file: + multiarch strcspn for PPC64. + * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn + ifunc selector. + * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited + strcspn for POWER7. + +2014-03-20 Joseph Myers + + * math/gen-libm-test.pl (generate_testfile): Expect only function + name as argument to AUTO_TESTS_* and pass results for all rounding + modes to parse_args. + (parse_auto_input): Separate inputs of automatic tests from + outputs before storing in %auto_tests. + * math/libm-test.inc (acos_test_data): Update call to + AUTO_TESTS_f_f. + (acos_test): Use ALL_RM_TEST. + (acos_tonearest_test_data): Remove. + (acos_test_tonearest): Likewise. + (acos_towardzero_test_data): Likewise. + (acos_test_towardzero): Likewise. + (acos_downward_test_data): Likewise. + (acos_test_downward): Likewise. + (acos_upward_test_data): Likewise. + (acos_test_upward): Likewise. + (acosh_test_data): Update call to AUTO_TESTS_f_f. + (asin_test_data): Likewise. + (asin_test): Use ALL_RM_TEST. + (asin_tonearest_test_data): Remove. + (asin_test_tonearest): Likewise. + (asin_towardzero_test_data): Likewise. + (asin_test_towardzero): Likewise. + (asin_downward_test_data): Likewise. + (asin_test_downward): Likewise. + (asin_upward_test_data): Likewise. + (asin_test_upward): Likewise. + (asinh_test_data): Update call to AUTO_TESTS_f_f. + (atan_test_data): Likewise. + (atanh_test_data): Likewise. + (atan2_test_data): Update call to AUTO_TESTS_ff_f. + (cabs_test_data): Update call to AUTO_TESTS_c_f. + (carg_test_data): Likewise. + (cbrt_test_data): Update call to AUTO_TESTS_f_f. + (ccos_test_data): Update call to AUTO_TESTS_c_c. + (ccosh_test_data): Likewise. + (cexp_test_data): Likewise. + (clog_test_data): Likewise. + (clog10_test_data): Likewise. + (cos_test_data): Update call to AUTO_TESTS_f_f. + (cos_test): Use ALL_RM_TEST. + (cos_tonearest_test_data): Remove. + (cos_test_tonearest): Likewise. + (cos_towardzero_test_data): Likewise. + (cos_test_towardzero): Likewise. + (cos_downward_test_data): Likewise. + (cos_test_downward): Likewise. + (cos_upward_test_data): Likewise. + (cos_test_upward): Likewise. + (cosh_test_data): Update call to AUTO_TESTS_f_f. + (cosh_test): Use ALL_RM_TEST. + (cosh_tonearest_test_data): Remove. + (cosh_test_tonearest): Likewise. + (cosh_towardzero_test_data): Likewise. + (cosh_test_towardzero): Likewise. + (cosh_downward_test_data): Likewise. + (cosh_test_downward): Likewise. + (cosh_upward_test_data): Likewise. + (cosh_test_upward): Likewise. + (cpow_test_data): Update call to AUTO_TESTS_cc_c. + (csqrt_test_data): Update call to AUTO_TESTS_c_c. + (ctan_test_data): Likewise. + (ctan_test): Use ALL_RM_TEST. + (ctan_tonearest_test_data): Remove. + (ctan_test_tonearest): Likewise. + (ctan_towardzero_test_data): Likewise. + (ctan_test_towardzero): Likewise. + (ctan_downward_test_data): Likewise. + (ctan_test_downward): Likewise. + (ctan_upward_test_data): Likewise. + (ctan_test_upward): Likewise. + (ctanh_test_data): Update call to AUTO_TESTS_c_c. + (ctanh_test): Use ALL_RM_TEST. + (ctanh_tonearest_test_data): Remove. + (ctanh_test_tonearest): Likewise. + (ctanh_towardzero_test_data): Likewise. + (ctanh_test_towardzero): Likewise. + (ctanh_downward_test_data): Likewise. + (ctanh_test_downward): Likewise. + (ctanh_upward_test_data): Likewise. + (ctanh_test_upward): Likewise. + (erf_test_data): Update call to AUTO_TESTS_f_f. + (erfc_test_data): Likewise. + (exp_test_data): Likewise. + (exp_test): Use ALL_RM_TEST. + (exp_tonearest_test_data): Remove. + (exp_test_tonearest): Likewise. + (exp_towardzero_test_data): Likewise. + (exp_test_towardzero): Likewise. + (exp_downward_test_data): Likewise. + (exp_test_downward): Likewise. + (exp_upward_test_data): Likewise. + (exp_test_upward): Likewise. + (exp10_test_data): Update call to AUTO_TESTS_f_f. + (exp10_test): Use ALL_RM_TEST. + (exp10_tonearest_test_data): Remove. + (exp10_test_tonearest): Likewise. + (exp10_towardzero_test_data): Likewise. + (exp10_test_towardzero): Likewise. + (exp10_downward_test_data): Likewise. + (exp10_test_downward): Likewise. + (exp10_upward_test_data): Likewise. + (exp10_test_upward): Likewise. + (exp2_test_data): Update call to AUTO_TESTS_f_f. + (expm1_test_data): Likewise. + (expm1_test): Use ALL_RM_TEST. + (expm1_tonearest_test_data): Remove. + (expm1_test_tonearest): Likewise. + (expm1_towardzero_test_data): Likewise. + (expm1_test_towardzero): Likewise. + (expm1_downward_test_data): Likewise. + (expm1_test_downward): Likewise. + (expm1_upward_test_data): Likewise. + (expm1_test_upward): Likewise. + (fma_test_data): Update call to AUTO_TESTS_fff_f. + (fma_test): Use ALL_RM_TEST. + (fma_towardzero_test_data): Remove. + (fma_test_towardzero): Likewise. + (fma_downward_test_data): Likewise. + (fma_test_downward): Likewise. + (fma_upward_test_data): Likewise. + (fma_test_upward): Likewise. + (hypot_test_data): Update call to AUTO_TESTS_ff_f. + (j0_test_data): Update call to AUTO_TESTS_f_f. + (j1_test_data): Likewise. + (jn_test_data): Update call to AUTO_TESTS_if_f. + (lgamma_test_data): Update call to AUTO_TESTS_f_f1. + (log_test_data): Update call to AUTO_TESTS_f_f. + (log10_test_data): Likewise. + (log1p_test_data): Likewise. + (log2_test_data): Likewise. + (pow_test_data): Update call to AUTO_TESTS_ff_f. + (pow_tonearest_test_data): Likewise. + (sin_test_data): Update call to AUTO_TESTS_f_f. + (sin_test): Use ALL_RM_TEST. + (sin_tonearest_test_data): Remove. + (sin_test_tonearest): Likewise. + (sin_towardzero_test_data): Likewise. + (sin_test_towardzero): Likewise. + (sin_downward_test_data): Likewise. + (sin_test_downward): Likewise. + (sin_upward_test_data): Likewise. + (sin_test_upward): Likewise. + (sincos_test_data): Update call to AUTO_TESTS_fFF_11. + (sinh_test_data): Update call to AUTO_TESTS_f_f. + (sinh_test): Use ALL_RM_TEST. + (sinh_tonearest_test_data): Remove. + (sinh_test_tonearest): Likewise. + (sinh_towardzero_test_data): Likewise. + (sinh_test_towardzero): Likewise. + (sinh_downward_test_data): Likewise. + (sinh_test_downward): Likewise. + (sinh_upward_test_data): Likewise. + (sinh_test_upward): Likewise. + (sqrt_test_data): Update call to AUTO_TESTS_f_f. + (sqrt_test): Use ALL_RM_TEST. + (sqrt_tonearest_test_data): Remove. + (sqrt_test_tonearest): Likewise. + (sqrt_towardzero_test_data): Likewise. + (sqrt_test_towardzero): Likewise. + (sqrt_downward_test_data): Likewise. + (sqrt_test_downward): Likewise. + (sqrt_upward_test_data): Likewise. + (sqrt_test_upward): Likewise. + (tan_test_data): Update call to AUTO_TESTS_f_f. + (tan_test): Use ALL_RM_TEST. + (tan_tonearest_test_data): Remove. + (tan_test_tonearest): Likewise. + (tan_towardzero_test_data): Likewise. + (tan_test_towardzero): Likewise. + (tan_downward_test_data): Likewise. + (tan_test_downward): Likewise. + (tan_upward_test_data): Likewise. + (tan_test_upward): Likewise. + (tanh_test_data): Update call to AUTO_TESTS_f_f. + (tgamma_test_data): Likewise. + (y0_test_data): Likewise. + (y1_test_data): Likewise. + (yn_test_data): Update call to AUTO_TESTS_if_f. + (main): Do not call removed functions. + +2014-03-19 Joseph Myers + + * math/libm-test.inc (fdim_test): Use ALL_RM_TEST. + (ldexp_test_data): Remove. + (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with + scalbn_test_data. + (scalb_test): Use ALL_RM_TEST. + +2014-03-19 Andreas Schwab + + * nscd/nscd.service: Also invalidate netgroup cache on reload. + +2014-03-19 Joseph Myers + + [BZ #16649] + * sysdeps/unix/sysv/linux/alpha/kernel-features.h + [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine. + [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise. + * sysdeps/unix/sysv/linux/microblaze/kernel-features.h + (__ASSUME_PREADV): Undefine. + (__ASSUME_PWRITEV): Likewise. + +2014-03-18 Roland McGrath + + * bits/mman-linux.h: Add comment about non-Linux use. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about + bits/mman-linux.h resting place. + + * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ... + * bits/mman-linux.h: ... here. + +2014-03-18 Adhemerval Zanella + + * conform/conformtest.pl: Add standard definition when calling C + preprocessor on data files. + (checknamespace): Remove unused variable. + +2014-03-18 Joseph Myers + + * math/gen-libm-test.pl (parse_args): Handle plus_oflow, + minus_oflow, plus_uflow and minus_uflow in expected results. + * math/libm-test.inc (scalbn_test_data): Add more tests of + negative arguments. Use plus_oflow, minus_oflow, plus_uflow and + minus_uflow. + (scalbn_test): Use ALL_RM_TEST. + (scalbln_test_data): Add more tests of negative arguments. Use + plus_oflow, minus_oflow, plus_uflow and minus_uflow. + (scalbln_test): Use ALL_RM_TEST. + +2014-03-18 Roland McGrath + + * scripts/abilist.awk: Ignore symbols marked with .hidden. + +2014-03-18 Will Newton + + * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove + inaccurate comment. + +2014-03-18 Joseph Myers + + * Makerules [!subdir] (check-abi): Exit with error status if a + test failed. + +2014-03-17 Joseph Myers + + * math/libm-test.inc (nearbyint_test_data): Include all tests used + for rint. Include results for all rounding modes. + (nearbyint_test): Use ALL_RM_TEST. + (rint_test_data): Include all tests used for nearbyint. + +2014-03-17 Will Newton + + * nptl/sysdeps/pthread/pthread.h: Revert previous + change. + + * sysdeps/generic/ldsodefs.h: Revert previous + change. + + * libio/genops.c: Revert previous change. + * libio/libioP.h: Likewise. + * stdio-common/vfprintf.c: Likewise. + + * sysdeps/generic/math_private.h: Revert previous + change. + + * sysdeps/generic/math_private.h: Check whether + HAVE_RM_CTX is defined with #ifdef rather + than #if. + + * argp/argp-fmtstream.h: Check whether + __STRICT_ANSI__ is defined with #ifdef rather + than #if. + * argp/argp.h: Likewise. + + * libio/genops.c: Check whether + _IO_JUMPS_OFFSET is defined with #ifdef rather + than #if. + * libio/libioP.h: Likewise. + * stdio-common/vfprintf.c: Likewise. + + * sysdeps/generic/ldsodefs.h: Check whether + HP_SMALL_TIMING_AVAIL is defined with #ifdef rather + than #if. + + * nptl/sysdeps/pthread/pthread.h: Check + __PTHREAD_MUTEX_HAVE_ELISION is defined before testing + its value. + +2014-03-17 Siddhesh Poyarekar + + * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if + setting O_APPEND. + * libio/tst-ftell-active-handler.c (do_append_test): Add a + test case. + + [BZ #16680] + * libio/fileops.c (_IO_file_open): Seek to end of file but + don't cache the offset. + (get_file_offset): Remove function. + (do_ftell): Use cached offset when available. + * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but + don't cache the offset. + * libio/tst-ftell-active-handler.c (do_rewind_test): New test + case. + (do_one_test): Call it. + (do_ftell_test): Fix up expected old offset for a+ mode. + * libio/wfileops.c (do_ftell_wide): Used cached offset when + available. + + * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix + up test status with function return status. + (do_write_test): Likewise. + (do_append_test): Likewise. + + * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc + && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]: + Remove. + +2014-03-17 Joseph Myers + + * math/gen-libm-test.pl (parse_args): Handle results specified for + each rounding mode separately. + * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode + tests and results from lrint_tonearest_test_data, + lrint_towardzero_test_data, lrint_downward_test_data and + lrint_upward_test_data. + (lrint_test): Use ALL_RM_TEST. + (lrint_tonearest_test_data): Remove. + (lrint_test_tonearest): Likewise. + (lrint_towardzero_test_data): Likewise. + (lrint_test_towardzero): Likewise. + (lrint_downward_test_data): Likewise. + (lrint_test_downward): Likewise. + (lrint_upward_test_data): Likewise. + (lrint_test_upward): Likewise. + (llrint_test_data): Merge in per-rounding-mode tests and results + from llrint_tonearest_test_data, llrint_towardzero_test_data, + llrint_downward_test_data and llrint_upward_test_data. + (llrint_test): Use ALL_RM_TEST. + (llrint_tonearest_test_data): Remove. + (llrint_test_tonearest): Likewise. + (llrint_towardzero_test_data): Likewise. + (llrint_test_towardzero): Likewise. + (llrint_downward_test_data): Likewise. + (llrint_test_downward): Likewise. + (llrint_upward_test_data): Likewise. + (llrint_test_upward): Likewise. + (rint_test_data): Merge in per-rounding-mode tests and results + from rint_tonearest_test_data, rint_towardzero_test_data, + rint_downward_test_data and rint_upward_test_data. Add + per-rounding-mode results for tests not in those arrays. + (rint_test): Use ALL_RM_TEST. + (rint_tonearest_test_data): Remove. + (rint_test_tonearest): Likewise. + (rint_towardzero_test_data): Likewise. + (rint_test_towardzero): Likewise. + (rint_downward_test_data): Likewise. + (rint_test_downward): Likewise. + (rint_upward_test_data): Likewise. + (rint_test_upward): Likewise. + (main): Don't call removed functions. + +2014-03-14 Roland McGrath + + * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific + "Compiled on ..." crapola. It is anti-useful. + +2014-03-14 Joseph Myers + + * scripts/evaluate-test.sh: Handle fourth argument to determine + whether test run should stop on failure. + * Makeconfig (stop-on-test-failure): New variable. + (evaluate-test): Pass fourth argument to evaluate-test.sh based on + $(stop-on-test-failure). + * Makefile (tests): Give a summary of results from testing and + exit with failure status if they include an ERROR or FAIL. + (xtests): Likewise. + * manual/install.texi (Configuring and compiling): Mention + stop-on-test-failure=y. + * INSTALL: Regenerated. + +2014-03-14 Roland McGrath + + * scripts/versionlist.awk: New file. + * Makerules [$(build-shared) = yes] + (postclean-generated): Add Versions.def, not Versions.def.v and + Versions.def.v.i. + ($(common-objpfx)Versions.def.v.i): Target removed. + ($(common-objpfx)Versions.def): New target. + ($(common-objpfx)Versions.all): Depend on that rather that + $(common-objpfx)Versions.def.v. + * Versions.def: File removed. + + * Makeconfig (+gccwarn): Add -Wundef. + * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch + a dl-sysdep.h breaking its contract. + [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0. + * include/stackinfo.h: New file. + * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro. + * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro. + * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro. + * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro. + * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro. + * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro. + * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro. + * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro. + * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro. + * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro. + * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro. + * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro. + * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro. + * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro. + * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro. + +2014-03-14 Adhemerval Zanella + + [BZ #16707] + * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong + implementation. + * math/libm-test.inc (round_test_data): Add more tests. + + [BZ #16706] + * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong + implementation. + * math/libm-test.inc (nearbyint_test_data): Add more tests. + + [BZ #16701] + * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong + implementation. + * math/libm-test.inc (ceil_test_data): Add more tests. + + * math/libm-test.inc (trunc_test_data): Add more tests related to + BZ#16414. + +2014-03-14 Roland McGrath + + * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP + with #if rather than #ifdef. + * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise. + +2014-03-14 H.J. Lu + + * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support + first. Disable AVX-512 GCC support if assembler doesn't support + it. + * sysdeps/x86_64/configure: Regenerated. + +2014-03-13 Carlos O'Donell + + * nptl/pthread_attr_setstack.c (__pthread_attr_setstack) + [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr. + (__old_pthread_attr_setstack): Likewise. + * nptl/pthread_attr_getstack.c (__pthread_attr_getstack) + [!_STACK_GROWS_DOWN]: Likewise. + +2014-03-13 Mike Frysinger + + * config.make.in (have-bash2): Delete. + * configure.ac (libc_cv_have_bash2): Delete. + * configure: Regenerate. + * elf/Makefile (common-ldd-rewrite): Rename to ... + (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end. + (sh-ldd-rewrite): Delete. + (bash-ldd-rewrite): Delete. + (have-bash2): Delete checks. + [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to + ldd-rewrite. + + * config.make.in (have-ksh): Delete. + (KSH): Delete. + * configure.ac (libc_cv_have_ksh): Delete. + * configure: Regenerate. + + * elf/Makefile: Delete $(have-ksh) check. + ($(objpfx)sotruss): Change KSH to BASH. + * elf/sotruss.ksh: Rename to ... + * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change + function style to match POSIX. Drop ksh vim mode setting. + + * manual/time.texi (Specifying the Time Zone with TZ): Change + Tuesday to Thursday. + + * debug/tst-longjmp_chk2.c: Update header comment. + (stackoverflow_handler): Add comment. Call assert on pass value. + +2014-03-13 Igor Zamyatin + + [BZ #16194] + * config.h.in (HAVE_AVX512_SUPPORT): New #undef. + (HAVE_AVX512_ASM_SUPPORT): Likewise. + * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New. + (La_x86_64_vector): Add zmm. + * sysdeps/x86_64/Makefile (tests): Add tst-audit10. + (modules-names): Add tst-auditmod10a and tst-auditmod10b. + ($(objpfx)tst-audit10): New target. + ($(objpfx)tst-audit10.out): Likewise. + (tst-audit10-ENV): New. + (AVX512-CFLAGS): Likewise. + (CFLAGS-tst-audit10.c): Likewise. + (CFLAGS-tst-auditmod10a.c): Likewise. + (CFLAGS-tst-auditmod10b.c): Likewise. + * sysdeps/x86_64/configure.ac: Set config-cflags-avx512, + HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT. + * sysdeps/x86_64/configure: Regenerated. + * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add + AVX-512 zmm register support. + (_dl_x86_64_save_sse): Likewise. + (_dl_x86_64_restore_sse): Likewise. + * sysdeps/x86_64/dl-trampoline.h: Updated to support different + size vector registers. + * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New. + (ZMM_SIZE): Likewise. + * sysdeps/x86_64/tst-audit10.c: New file. + * sysdeps/x86_64/tst-auditmod10a.c: Likewise. + * sysdeps/x86_64/tst-auditmod10b.c: Likewise. + +2014-03-13 Roland McGrath + + * configure.ac (HAVE_EHDR_START): New check. + * configure: Regenerated. + * config.h.in (HAVE_EHDR_START): New #undef. + * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than + assuming the lowest-addressed segment maps the start of the file. + +2014-03-13 Joseph Myers + + * INSTALL: Regenerated. + +2014-03-13 Will Newton + + * manual/setjmp.texi (System V contexts): Improve + clarity and grammar of documentation. + +2014-03-12 Paul Pluzhnikov + + [BZ #16381] + * elf/Makefile (tests): Add tst-pie2. + (tests-pie): Add tst-pie2. + * elf/tst-pie2.c: New file. + * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type + for ET_EXEC. + * elf/rtld.c (map_doit): Load executable as lt_executable. + (dl_main): Likewise. + +2014-03-12 Joseph Myers + + [BZ #16642] + * sysdeps/unix/sysv/linux/microblaze/kernel-features.h + (__ASSUME_PSELECT): Undefine. + +2014-03-12 Adhemerval Zanella + + [BZ #16689] + * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S + (__bzero_ppc): Call memset@local instead of __memset_ppc@local for + static build. + * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC + selector for static builds. + +2014-03-12 Siddhesh Poyarekar + + [BZ #16695] + * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for + key in the buffer. + +2014-03-12 Adhemerval Zanella + + * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build + IFUNC selector for static builds. + +2014-03-11 Joseph Myers + + * sysdeps/mips/math_private.h [__mips_hard_float] + (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not + libc_feresetround_mips_ctx. + [__mips_hard_float] (libc_feresetroundf_ctx): Likewise. + [__mips_hard_float] (libc_feresetroundl_ctx): Likewise. + [__mips_hard_float] (libc_feresetround_mips_ctx): Remove. + + [BZ #16677] + * math/s_nextafter.c (__nextafter): Do not return value from + overflowing computation. + * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise. + * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise. + * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl): + Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): + Likewise. + * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise. + * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST. + +2014-03-11 Roland McGrath + + * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers. + * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers. + Move sfi_sp use from the load-multiple (that no longer sets sp) to + the new mov targetting sp. + +2014-03-11 Adhemerval Zanella + + [BZ #16683] + * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc): + Define it for static builds as well. + (NO_BZERO_IMPL): Likewise. + +2014-03-11 Vidya Ranganathan + + * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization. + * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file: + multiarch strspn for PPC64. + * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file + * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: + (__libc_ifunc_impl_list): Likewise. + * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn + multiarch optimizations + * string/strspn.c (strspn): Using macro to redefine symbol name. + +2014-03-10 Vidya Ranganathan + Adhemerval Zanella + + * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization. + * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file: + multiarch strncat for PPC64. + * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file + * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: + (__libc_ifunc_impl_list): Likewise. + * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat + multiarch optimizations + +2014-03-10 Siddhesh Poyarekar + + [BZ #16639] + * nscd/nscd.service: Make service type forking. + +2014-03-03 Adhemerval Zanella + + * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct + sign in non default rounding modes. + * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise. + +2014-03-08 Joseph Myers + + * math/libm-test.inc (ALL_RM_TEST): New macro. + (ceil_test): Use ALL_RM_TEST. + (cimag_test): Likewise. + (conj_test): Likewise. + (copysign_test): Likewise. + (cproj_test): Likewise. + (creal_test): Likewise. + (fabs_test): Likewise. + (floor_test): Likewise. + (fmax_test): Likewise. + (fmin_test): Likewise. + (fmod_test): Likewise. + (fpclassify_test): Likewise. + (frexp_test): Likewise. + (ilogb_test): Likewise. + (isfinite_test): Likewise. + (finite_test): Likewise. + (isgreater_test): Likewise. + (isgreaterequal_test): Likewise. + (isinf_test): Likewise. + (isless_test): Likewise. + (islessequal_test): Likewise. + (islessgreater_test): Likewise. + (isnan_test): Likewise. + (isnormal_test): Likewise. + (issignaling_test): Likewise. + (isunordered_test): Likewise. + (logb_test): Likewise. + (logb_downward_test_data): Remove. + (logb_test_downward): Likewise. + (lround_test): Use ALL_RM_TEST. + (llround_test): Likewise. + (modf_test): Likewise. + (nexttoward_test): Likewise. + (remainder_test): Likewise. + (drem_test): Likewise. + (remainder_tonearest_test_data): Likewise. + (remainder_test_tonearest): Likewise. + (drem_test_tonearest): Likewise. + (remainder_towardzero_test_data): Likewise. + (remainder_test_towardzero): Likewise. + (drem_test_towardzero): Likewise. + (remainder_downward_test_data): Likewise. + (remainder_test_downward): Likewise. + (drem_test_downward): Likewise. + (remainder_upward_test_data): Likewise. + (remainder_test_upward): Likewise. + (drem_test_upward): Likewise. + (remquo_test): Use ALL_RM_TEST. Remove comment about x. + (round_test): Use ALL_RM_TEST. + (signbit_test): Likewise. + (trunc_test): Likewise. + (significand_test): Likewise. + (main): Don't call removed functions. + +2014-03-07 Joseph Myers + + [BZ #16674] + * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED + || __USE_XOPEN2K8]. + (ILL_ILLOPN): Likewise. + (ILL_ILLADR): Likewise. + (ILL_ILLTRP): Likewise. + (ILL_PRVOPC): Likewise. + (ILL_PRVREG): Likewise. + (ILL_COPROC): Likewise. + (ILL_BADSTK): Likewise. + (FPE_INTDIV): Likewise. + (FPE_INTOVF): Likewise. + (FPE_FLTDIV): Likewise. + (FPE_FLTOVF): Likewise. + (FPE_FLTUND): Likewise. + (FPE_FLTRES): Likewise. + (FPE_FLTINV): Likewise. + (FPE_FLTSUB): Likewise. + (SEGV_MAPERR): Likewise. + (SEGV_ACCERR): Likewise. + (BUS_ADRALN): Likewise. + (BUS_ADRERR): Likewise. + (BUS_OBJERR): Likewise. + (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED]. + (TRAP_TRACE): Likewise. + (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED || + __USE_XOPEN2K8]. + (CLD_KILLED): Likewise. + (CLD_DUMPED): Likewise. + (CLD_TRAPPED): Likewise. + (CLD_STOPPED): Likewise. + (CLD_CONTINUED): Likewise. + (POLL_IN): Likewise. + (POLL_OUT): Likewise. + (POLL_MSG): Likewise. + (POLL_ERR): Likewise. + (POLL_PRI): Likewise. + (POLL_HUP): Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC): + Likewise. + (ILL_ILLOPN): Likewise. + (ILL_ILLADR): Likewise. + (ILL_ILLTRP): Likewise. + (ILL_PRVOPC): Likewise. + (ILL_PRVREG): Likewise. + (ILL_COPROC): Likewise. + (ILL_BADSTK): Likewise. + (FPE_INTDIV): Likewise. + (FPE_INTOVF): Likewise. + (FPE_FLTDIV): Likewise. + (FPE_FLTOVF): Likewise. + (FPE_FLTUND): Likewise. + (FPE_FLTRES): Likewise. + (FPE_FLTINV): Likewise. + (FPE_FLTSUB): Likewise. + (SEGV_MAPERR): Likewise. + (SEGV_ACCERR): Likewise. + (BUS_ADRALN): Likewise. + (BUS_ADRERR): Likewise. + (BUS_OBJERR): Likewise. + (BUS_MCEERR_AR): Likewise. + (BUS_MCEERR_AO): Likewise. + (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED]. + (TRAP_TRACE): Likewise. + (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED || + __USE_XOPEN2K8]. + (CLD_KILLED): Likewise. + (CLD_DUMPED): Likewise. + (CLD_TRAPPED): Likewise. + (CLD_STOPPED): Likewise. + (CLD_CONTINUED): Likewise. + (POLL_IN): Likewise. + (POLL_OUT): Likewise. + (POLL_MSG): Likewise. + (POLL_ERR): Likewise. + (POLL_PRI): Likewise. + (POLL_HUP): Likewise. + * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise. + (ILL_ILLOPN): Likewise. + (ILL_ILLADR): Likewise. + (ILL_ILLTRP): Likewise. + (ILL_PRVOPC): Likewise. + (ILL_PRVREG): Likewise. + (ILL_COPROC): Likewise. + (ILL_BADSTK): Likewise. + (FPE_INTDIV): Likewise. + (FPE_INTOVF): Likewise. + (FPE_FLTDIV): Likewise. + (FPE_FLTOVF): Likewise. + (FPE_FLTUND): Likewise. + (FPE_FLTRES): Likewise. + (FPE_FLTINV): Likewise. + (FPE_FLTSUB): Likewise. + (SEGV_MAPERR): Likewise. + (SEGV_ACCERR): Likewise. + (BUS_ADRALN): Likewise. + (BUS_ADRERR): Likewise. + (BUS_OBJERR): Likewise. + (BUS_MCEERR_AR): Likewise. + (BUS_MCEERR_AO): Likewise. + (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED]. + (TRAP_TRACE): Likewise. + (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED || + __USE_XOPEN2K8]. + (CLD_KILLED): Likewise. + (CLD_DUMPED): Likewise. + (CLD_TRAPPED): Likewise. + (CLD_STOPPED): Likewise. + (CLD_CONTINUED): Likewise. + (POLL_IN): Likewise. + (POLL_OUT): Likewise. + (POLL_MSG): Likewise. + (POLL_ERR): Likewise. + (POLL_PRI): Likewise. + (POLL_HUP): Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC): + Likewise. + (ILL_ILLOPN): Likewise. + (ILL_ILLADR): Likewise. + (ILL_ILLTRP): Likewise. + (ILL_PRVOPC): Likewise. + (ILL_PRVREG): Likewise. + (ILL_COPROC): Likewise. + (ILL_BADSTK): Likewise. + (ILL_BADIADDR): Likewise. + (ILL_BREAK): Likewise. + (FPE_INTDIV): Likewise. + (FPE_INTOVF): Likewise. + (FPE_FLTDIV): Likewise. + (FPE_FLTOVF): Likewise. + (FPE_FLTUND): Likewise. + (FPE_FLTRES): Likewise. + (FPE_FLTINV): Likewise. + (FPE_FLTSUB): Likewise. + (FPE_DECOVF): Likewise. + (FPE_DECDIV): Likewise. + (FPE_DECERR): Likewise. + (FPE_INVASC): Likewise. + (FPE_INVDEC): Likewise. + (SEGV_MAPERR): Likewise. + (SEGV_ACCERR): Likewise. + (SEGV_PSTKOVF): Likewise. + (BUS_ADRALN): Likewise. + (BUS_ADRERR): Likewise. + (BUS_OBJERR): Likewise. + (BUS_MCEERR_AR): Likewise. + (BUS_MCEERR_AO): Likewise. + (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED]. + (TRAP_TRACE): Likewise. + (TRAP_BRANCH): Likewise. + (TRAP_HWBKPT): Likewise. + (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED || + __USE_XOPEN2K8]. + (CLD_KILLED): Likewise. + (CLD_DUMPED): Likewise. + (CLD_TRAPPED): Likewise. + (CLD_STOPPED): Likewise. + (CLD_CONTINUED): Likewise. + (POLL_IN): Likewise. + (POLL_OUT): Likewise. + (POLL_MSG): Likewise. + (POLL_ERR): Likewise. + (POLL_PRI): Likewise. + (POLL_HUP): Likewise. + * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise. + (ILL_ILLOPN): Likewise. + (ILL_ILLADR): Likewise. + (ILL_ILLTRP): Likewise. + (ILL_PRVOPC): Likewise. + (ILL_PRVREG): Likewise. + (ILL_COPROC): Likewise. + (ILL_BADSTK): Likewise. + (FPE_INTDIV): Likewise. + (FPE_INTOVF): Likewise. + (FPE_FLTDIV): Likewise. + (FPE_FLTOVF): Likewise. + (FPE_FLTUND): Likewise. + (FPE_FLTRES): Likewise. + (FPE_FLTINV): Likewise. + (FPE_FLTSUB): Likewise. + (SEGV_MAPERR): Likewise. + (SEGV_ACCERR): Likewise. + (BUS_ADRALN): Likewise. + (BUS_ADRERR): Likewise. + (BUS_OBJERR): Likewise. + (BUS_MCEERR_AR): Likewise. + (BUS_MCEERR_AO): Likewise. + (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED]. + (TRAP_TRACE): Likewise. + (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED || + __USE_XOPEN2K8]. + (CLD_KILLED): Likewise. + (CLD_DUMPED): Likewise. + (CLD_TRAPPED): Likewise. + (CLD_STOPPED): Likewise. + (CLD_CONTINUED): Likewise. + (POLL_IN): Likewise. + (POLL_OUT): Likewise. + (POLL_MSG): Likewise. + (POLL_ERR): Likewise. + (POLL_PRI): Likewise. + (POLL_HUP): Likewise. + * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise. + (ILL_ILLOPN): Likewise. + (ILL_ILLADR): Likewise. + (ILL_ILLTRP): Likewise. + (ILL_PRVOPC): Likewise. + (ILL_PRVREG): Likewise. + (ILL_COPROC): Likewise. + (ILL_BADSTK): Likewise. + (FPE_INTDIV): Likewise. + (FPE_INTOVF): Likewise. + (FPE_FLTDIV): Likewise. + (FPE_FLTOVF): Likewise. + (FPE_FLTUND): Likewise. + (FPE_FLTRES): Likewise. + (FPE_FLTINV): Likewise. + (FPE_FLTSUB): Likewise. + (SEGV_MAPERR): Likewise. + (SEGV_ACCERR): Likewise. + (BUS_ADRALN): Likewise. + (BUS_ADRERR): Likewise. + (BUS_OBJERR): Likewise. + (BUS_MCEERR_AR): Likewise. + (BUS_MCEERR_AO): Likewise. + (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED]. + (TRAP_TRACE): Likewise. + (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED || + __USE_XOPEN2K8]. + (CLD_KILLED): Likewise. + (CLD_DUMPED): Likewise. + (CLD_TRAPPED): Likewise. + (CLD_STOPPED): Likewise. + (CLD_CONTINUED): Likewise. + (POLL_IN): Likewise. + (POLL_OUT): Likewise. + (POLL_MSG): Likewise. + (POLL_ERR): Likewise. + (POLL_PRI): Likewise. + (POLL_HUP): Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise. + (ILL_ILLOPN): Likewise. + (ILL_ILLADR): Likewise. + (ILL_ILLTRP): Likewise. + (ILL_PRVOPC): Likewise. + (ILL_PRVREG): Likewise. + (ILL_COPROC): Likewise. + (ILL_BADSTK): Likewise. + (FPE_INTDIV): Likewise. + (FPE_INTOVF): Likewise. + (FPE_FLTDIV): Likewise. + (FPE_FLTOVF): Likewise. + (FPE_FLTUND): Likewise. + (FPE_FLTRES): Likewise. + (FPE_FLTINV): Likewise. + (FPE_FLTSUB): Likewise. + (SEGV_MAPERR): Likewise. + (SEGV_ACCERR): Likewise. + (BUS_ADRALN): Likewise. + (BUS_ADRERR): Likewise. + (BUS_OBJERR): Likewise. + (BUS_MCEERR_AR): Likewise. + (BUS_MCEERR_AO): Likewise. + (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED]. + (TRAP_TRACE): Likewise. + (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED || + __USE_XOPEN2K8]. + (CLD_KILLED): Likewise. + (CLD_DUMPED): Likewise. + (CLD_TRAPPED): Likewise. + (CLD_STOPPED): Likewise. + (CLD_CONTINUED): Likewise. + (POLL_IN): Likewise. + (POLL_OUT): Likewise. + (POLL_MSG): Likewise. + (POLL_ERR): Likewise. + (POLL_PRI): Likewise. + (POLL_HUP): Likewise. + * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise. + (ILL_ILLOPN): Likewise. + (ILL_ILLADR): Likewise. + (ILL_ILLTRP): Likewise. + (ILL_PRVOPC): Likewise. + (ILL_PRVREG): Likewise. + (ILL_COPROC): Likewise. + (ILL_BADSTK): Likewise. + (ILL_DBLFLT): Likewise. + (ILL_HARDWALL): Likewise. + (FPE_INTDIV): Likewise. + (FPE_INTOVF): Likewise. + (FPE_FLTDIV): Likewise. + (FPE_FLTOVF): Likewise. + (FPE_FLTUND): Likewise. + (FPE_FLTRES): Likewise. + (FPE_FLTINV): Likewise. + (FPE_FLTSUB): Likewise. + (SEGV_MAPERR): Likewise. + (SEGV_ACCERR): Likewise. + (BUS_ADRALN): Likewise. + (BUS_ADRERR): Likewise. + (BUS_OBJERR): Likewise. + (BUS_MCEERR_AR): Likewise. + (BUS_MCEERR_AO): Likewise. + (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED]. + (TRAP_TRACE): Likewise. + (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED || + __USE_XOPEN2K8]. + (CLD_KILLED): Likewise. + (CLD_DUMPED): Likewise. + (CLD_TRAPPED): Likewise. + (CLD_STOPPED): Likewise. + (CLD_CONTINUED): Likewise. + (POLL_IN): Likewise. + (POLL_OUT): Likewise. + (POLL_MSG): Likewise. + (POLL_ERR): Likewise. + (POLL_PRI): Likewise. + (POLL_HUP): Likewise. + * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise. + (ILL_ILLOPN): Likewise. + (ILL_ILLADR): Likewise. + (ILL_ILLTRP): Likewise. + (ILL_PRVOPC): Likewise. + (ILL_PRVREG): Likewise. + (ILL_COPROC): Likewise. + (ILL_BADSTK): Likewise. + (FPE_INTDIV): Likewise. + (FPE_INTOVF): Likewise. + (FPE_FLTDIV): Likewise. + (FPE_FLTOVF): Likewise. + (FPE_FLTUND): Likewise. + (FPE_FLTRES): Likewise. + (FPE_FLTINV): Likewise. + (FPE_FLTSUB): Likewise. + (SEGV_MAPERR): Likewise. + (SEGV_ACCERR): Likewise. + (BUS_ADRALN): Likewise. + (BUS_ADRERR): Likewise. + (BUS_OBJERR): Likewise. + (BUS_MCEERR_AR): Likewise. + (BUS_MCEERR_AO): Likewise. + (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED]. + (TRAP_TRACE): Likewise. + (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED || + __USE_XOPEN2K8]. + (CLD_KILLED): Likewise. + (CLD_DUMPED): Likewise. + (CLD_TRAPPED): Likewise. + (CLD_STOPPED): Likewise. + (CLD_CONTINUED): Likewise. + (POLL_IN): Likewise. + (POLL_OUT): Likewise. + (POLL_MSG): Likewise. + (POLL_ERR): Likewise. + (POLL_PRI): Likewise. + (POLL_HUP): Likewise. + * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove. + (test-xfail-POSIX/sys/wait.h/conform): Likewise. + + [BZ #16670] + * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define + before #include of . + [!__USE_XOPEN2K] (__need_timespec): Likewise. + * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove. + (test-xfail-UNIX98/sched.h/conform): Likewise. + +2014-03-07 Marcus Shawcroft + + * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and + error absence of trapping exception support. + * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise. + +2014-03-07 Joseph Myers + + * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat. + ($(objpfx)sample.SJIS.cat): Use $(evaluate-test). + * timezone/Makefile (testdata): Move definition above include of + Rules. + (test-zones): New variable. + (tests-special): Add zone files. + (build-testdata): Use $(evaluate-test). + + * elf/Makefile (tests-special): Rename tests to end with .out. + ($(objpfx)noload-mem): Likewise. + ($(objpfx)tst-leaks1-mem): Likewise. + ($(objpfx)tst-leaks1-static-mem.out): Likewise. + * iconv/Makefile (xtests-special): Change test-iconvconfig to + $(objpfx)test-iconvconfig.out. + (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use + set -e inside subshell and redirect output to file. + * iconvdata/Makefile (generated): Rename tests to end with .out. + Correct type. + (tests-special): Rename tests to end with .out. + ($(objpfx)mtrace-tst-loading): Likewise. + * intl/Makefile (generated): Likewise. + (tests-special): Likewise. + ($(objpfx)mtrace-tst-gettext): Likewise. + * misc/Makefile (generated): Likewise. + (tests-special): Likewise. + ($(objpfx)tst-error1-mem): Likewise. + * nptl/Makefile (tests-special): Likewise. + ($(objpfx)tst-stack3-mem): Likewise. + (generated): Likewise. + * posix/Makefile (generated): Likewise. + (tests-special): Likewise. + (xtests-special): Likewise. + ($(objpfx)tst-fnmatch-mem): Likewise. + ($(objpfx)bug-regex2-mem): Likewise. + ($(objpfx)bug-regex14-mem): Likewise. + ($(objpfx)bug-regex21-mem): Likewise. + ($(objpfx)bug-regex31-mem): Likewise. + ($(objpfx)tst-vfork3-mem): Likewise. + ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise. + ($(objpfx)tst-pcre-mem): Likewise. + ($(objpfx)tst-boost-mem): Likewise. + ($(objpfx)bug-ga2-mem): Likewise. + ($(objpfx)bug-glob2-mem): Likewise. + * resolv/Makefile (generate): Likewise. + (tests-special): Likewise. + (xtests-special): Likewise. + (generated): Likewise. + ($(objpfx)mtrace-tst-leaks): Likewise. + ($(objpfx)mtrace-tst-leaks2): Likewise. + + * scripts/merge-test-results.sh: New file. + * Makefile (tests-special-notdir): New variable. + (tests): Run merge-test-results.sh. + (xtests): Likewise. + * Rules (tests-special-notdir): New variable. + (xtests-special-notdir): Likewise. + (tests): Run merge-test-results.sh + (xtests): Likewise. + + * Makeconfig (test-xfail-name): New variable. + (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to + compute variable name for expected failures. + * conform/Makefile (conformtest-headers-data): New variable. + (conformtest-standards): Likewise. + (conformtest-headers-ISO): Likewise. + (conformtest-headers-ISO99): Likewise. + (conformtest-headers-ISO11): Likewise. + (conformtest-headers-POSIX): Likewise. + (conformtest-headers-XPG3): Likewise. + (conformtest-headers-XPG4): Likewise. + (conformtest-headers-UNIX98): Likewise. + (conformtest-headers-XOPEN2K): Likewise. + (conformtest-headers-POSIX2008): Likewise. + (conformtest-headers-XOPEN2K8): Likewise. + (conformtest-header-list-base): Likewise. + (conformtest-header-list-tests): Likewise. + (conformtest-header-base): Likewise. + (conformtest-header-tests): Likewise. + (tests-special): Add $(conformtest-header-list-tests). If + [$(fast-check) && !$(cross-compiling)], add + $(conformtest-header-tests) instead of + $(objpfx)run-conformtest.out. + (generated): Add $(conformtest-header-list-base). If + [$(fast-check) && !$(cross-compiling)], add + $(conformtest-header-base). Remove previous setting. + ($(conformtest-header-list-tests)): New target. + (test-xfail-run-conformtest): Remove variable. + ($(objpfx)run-conformtest.out): Remove target. + (test-xfail-ISO11/complex.h/conform): New variable. + (test-xfail-ISO11/stdalign.h/conform): Likewise. + (test-xfail-ISO11/stdnoreturn.h/conform): Likewise. + (test-xfail-XPG3/varargs.h/conform): Likewise. + (test-xfail-XPG4/varargs.h/conform): Likewise. + (test-xfail-UNIX98/varargs.h/conform): Likewise. + (test-xfail-XPG4/ndbm.h/conform): Likewise. + (test-xfail-UNIX98/ndbm.h/conform): Likewise. + (test-xfail-XOPEN2K/ndbm.h/conform): Likewise. + (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise. + (test-xfail-XPG3/fcntl.h/conform): Likewise. + (test-xfail-XPG3/ftw.h/conform): Likewise. + (test-xfail-XPG3/grp.h/conform): Likewise. + (test-xfail-XPG3/langinfo.h/conform): Likewise. + (test-xfail-XPG3/limits.h/conform): Likewise. + (test-xfail-XPG3/pwd.h/conform): Likewise. + (test-xfail-XPG3/search.h/conform): Likewise. + (test-xfail-XPG3/signal.h/conform): Likewise. + (test-xfail-XPG3/stdio.h/conform): Likewise. + (test-xfail-XPG3/stdlib.h/conform): Likewise. + (test-xfail-XPG3/string.h/conform): Likewise. + (test-xfail-XPG3/sys/ipc.h/conform): Likewise. + (test-xfail-XPG3/sys/msg.h/conform): Likewise. + (test-xfail-XPG3/sys/sem.h/conform): Likewise. + (test-xfail-XPG3/sys/shm.h/conform): Likewise. + (test-xfail-XPG3/sys/stat.h/conform): Likewise. + (test-xfail-XPG3/sys/types.h/conform): Likewise. + (test-xfail-XPG3/sys/wait.h/conform): Likewise. + (test-xfail-XPG3/termios.h/conform): Likewise. + (test-xfail-XPG3/time.h/conform): Likewise. + (test-xfail-XPG3/unistd.h/conform): Likewise. + (test-xfail-XPG4/arpa/inet.h/conform): Likewise. + (test-xfail-XPG4/fcntl.h/conform): Likewise. + (test-xfail-XPG4/langinfo.h/conform): Likewise. + (test-xfail-XPG4/netdb.h/conform): Likewise. + (test-xfail-XPG4/netinet/in.h/conform): Likewise. + (test-xfail-XPG4/signal.h/conform): Likewise. + (test-xfail-XPG4/stdio.h/conform): Likewise. + (test-xfail-XPG4/stdlib.h/conform): Likewise. + (test-xfail-XPG4/stropts.h/conform): Likewise. + (test-xfail-XPG4/sys/ipc.h/conform): Likewise. + (test-xfail-XPG4/sys/msg.h/conform): Likewise. + (test-xfail-XPG4/sys/sem.h/conform): Likewise. + (test-xfail-XPG4/sys/shm.h/conform): Likewise. + (test-xfail-XPG4/sys/socket.h/conform): Likewise. + (test-xfail-XPG4/sys/stat.h/conform): Likewise. + (test-xfail-XPG4/sys/time.h/conform): Likewise. + (test-xfail-XPG4/sys/types.h/conform): Likewise. + (test-xfail-XPG4/sys/wait.h/conform): Likewise. + (test-xfail-XPG4/termios.h/conform): Likewise. + (test-xfail-XPG4/ucontext.h/conform): Likewise. + (test-xfail-XPG4/unistd.h/conform): Likewise. + (test-xfail-XPG4/utmpx.h/conform): Likewise. + (test-xfail-POSIX/sched.h/conform): Likewise. + (test-xfail-POSIX/signal.h/conform): Likewise. + (test-xfail-POSIX/sys/wait.h/conform): Likewise. + (test-xfail-POSIX/tar.h/conform): Likewise. + (test-xfail-UNIX98/arpa/inet.h/conform): Likewise. + (test-xfail-UNIX98/fcntl.h/conform): Likewise. + (test-xfail-UNIX98/langinfo.h/conform): Likewise. + (test-xfail-UNIX98/netdb.h/conform): Likewise. + (test-xfail-UNIX98/netinet/in.h/conform): Likewise. + (test-xfail-UNIX98/sched.h/conform): Likewise. + (test-xfail-UNIX98/signal.h/conform): Likewise. + (test-xfail-UNIX98/stdio.h/conform): Likewise. + (test-xfail-UNIX98/stdlib.h/conform): Likewise. + (test-xfail-UNIX98/stropts.h/conform): Likewise. + (test-xfail-UNIX98/sys/ipc.h/conform): Likewise. + (test-xfail-UNIX98/sys/msg.h/conform): Likewise. + (test-xfail-UNIX98/sys/sem.h/conform): Likewise. + (test-xfail-UNIX98/sys/shm.h/conform): Likewise. + (test-xfail-UNIX98/sys/socket.h/conform): Likewise. + (test-xfail-UNIX98/sys/time.h/conform): Likewise. + (test-xfail-UNIX98/sys/wait.h/conform): Likewise. + (test-xfail-UNIX98/ucontext.h/conform): Likewise. + (test-xfail-UNIX98/unistd.h/conform): Likewise. + (test-xfail-UNIX98/utmpx.h/conform): Likewise. + (test-xfail-XOPEN2K/aio.h/conform): Likewise. + (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise. + (test-xfail-XOPEN2K/fcntl.h/conform): Likewise. + (test-xfail-XOPEN2K/langinfo.h/conform): Likewise. + (test-xfail-XOPEN2K/math.h/conform): Likewise. + (test-xfail-XOPEN2K/mqueue.h/conform): Likewise. + (test-xfail-XOPEN2K/netdb.h/conform): Likewise. + (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise. + (test-xfail-XOPEN2K/semaphore.h/conform): Likewise. + (test-xfail-XOPEN2K/signal.h/conform): Likewise. + (test-xfail-XOPEN2K/stdarg.h/conform): Likewise. + (test-xfail-XOPEN2K/stdio.h/conform): Likewise. + (test-xfail-XOPEN2K/stropts.h/conform): Likewise. + (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise. + (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise. + (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise. + (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise. + (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise. + (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise. + (test-xfail-XOPEN2K/termios.h/conform): Likewise. + (test-xfail-XOPEN2K/tgmath.h/conform): Likewise. + (test-xfail-XOPEN2K/ucontext.h/conform): Likewise. + (test-xfail-XOPEN2K/utmpx.h/conform): Likewise. + (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise. + (test-xfail-POSIX2008/fcntl.h/conform): Likewise. + (test-xfail-POSIX2008/netdb.h/conform): Likewise. + (test-xfail-POSIX2008/netinet/in.h/conform): Likewise. + (test-xfail-POSIX2008/signal.h/conform): Likewise. + (test-xfail-POSIX2008/stropts.h/conform): Likewise. + (test-xfail-POSIX2008/sys/socket.h/conform): Likewise. + (test-xfail-POSIX2008/sys/wait.h/conform): Likewise. + (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise. + (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise. + (test-xfail-XOPEN2K8/limits.h/conform): Likewise. + (test-xfail-XOPEN2K8/math.h/conform): Likewise. + (test-xfail-XOPEN2K8/netdb.h/conform): Likewise. + (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise. + (test-xfail-XOPEN2K8/signal.h/conform): Likewise. + (test-xfail-XOPEN2K8/stdio.h/conform): Likewise. + (test-xfail-XOPEN2K8/stropts.h/conform): Likewise. + (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise. + (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise. + (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise. + (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise. + (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise. + (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise. + (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise. + (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise. + (test-xfail-XOPEN2K8/termios.h/conform): Likewise. + (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise. + (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise. + (conformtest-cc-flags): Likewise. + ($(conformtest-header-tests): New target. + * conform/check-header-lists.sh: New file. + * conform/run-conformtest.sh: Remove. + + * conform/conformtest.pl: Allow ' and \ in values given for + constants. + * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header + inclusion. + [POSIX] (sys/types.h): Likewise. + [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header + inclusion. + [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header + inclusion. + * conform/data/signal.h-data (SIGIO): Remove expectation. + [XPG3] (SIGBUS): Do not expect. + [POSIX || XPG3] (SIGPOLL): Likewise. + [POSIX || XPG3] (SIGPROF): Likewise. + [POSIX || XPG3] (SIGSYS): Likewise. + [XPG3] (SIGTRAP): Likewise. + [POSIX || XPG3] (SIGURG): Likewise. + [POSIX || XPG3] (SIGVTALRM): Likewise. + [POSIX || XPG3] (SIGXCPU): Likewise. + [POSIX || XPG3] (SIGXFSZ): Likewise. + [POSIX] (SA_SIGINFO): Expect. + [XPG3] (siginfo_t): Do not expect type or contents. + [POSIX] (si_pid): Do not expect element. + [POSIX] (si_uid): Likewise. + [POSIX] (si_addr): Likewise. + [POSIX] (si_status): Likewise. + [POSIX] (si_band): Likewise. + [XPG4] (si_value): Likewise. + [POSIX || XPG3] (ILL_ILLOPC): Do not expect. + [POSIX || XPG3] (ILL_ILLOPN): Likewise. + [POSIX || XPG3] (ILL_ILLADR): Likewise. + [POSIX || XPG3] (ILL_ILLTRP): Likewise. + [POSIX || XPG3] (ILL_PRVOPC): Likewise. + [POSIX || XPG3] (ILL_PRVREG): Likewise. + [POSIX || XPG3] (ILL_COPROC): Likewise. + [POSIX || XPG3] (ILL_BADSTK): Likewise. + [POSIX || XPG3] (FPE_INTDIV): Likewise. + [POSIX || XPG3] (FPE_INTOVF): Likewise. + [POSIX || XPG3] (FPE_FLTDIV): Likewise. + [POSIX || XPG3] (FPE_FLTOVF): Likewise. + [POSIX || XPG3] (FPE_FLTUND): Likewise. + [POSIX || XPG3] (FPE_FLTRES): Likewise. + [POSIX || XPG3] (FPE_FLTINV): Likewise. + [POSIX || XPG3] (FPE_FLTSUB): Likewise. + [POSIX || XPG3] (SEGV_MAPERR): Likewise. + [POSIX || XPG3] (SEGV_ACCERR): Likewise. + [POSIX || XPG3] (BUS_ADRALN): Likewise. + [POSIX || XPG3] (BUS_ADRERR): Likewise. + [POSIX || XPG3] (BUS_OBJERR): Likewise. + [POSIX || XPG3] (CLD_EXITED): Likewise. + [POSIX || XPG3] (CLD_KILLED): Likewise. + [POSIX || XPG3] (CLD_DUMPED): Likewise. + [POSIX || XPG3] (CLD_TRAPPED): Likewise. + [POSIX || XPG3] (CLD_STOPPED): Likewise. + [POSIX || XPG3] (CLD_CONTINUED): Likewise. + [POSIX || XPG3] (POLL_IN): Likewise. + [POSIX || XPG3] (POLL_OUT): Likewise. + [POSIX || XPG3] (POLL_MSG): Likewise. + [POSIX || XPG3] (POLL_ERR): Likewise. + [POSIX || XPG3] (POLL_PRI): Likewise. + [POSIX || XPG3] (POLL_HUP): Likewise. + [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise. + [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise. + (SIG*): Do not allow. + [XPG3] (si_*): Likewise. + [XPG3] (SI_*): Likewise. + [XPG3 || XPG4] (sigev_*): Likewise. + [XPG3 || XPG4] (SIGEV_*): Likewise. + [XPG3 || XPG4] (sival_*): Likewise. + [POSIX || XPG3 || XPG4] (uc_*): Likewise. + [POSIX || XPG3] (BUS_*): Likewise. + [POSIX || XPG3] (CLD_*): Likewise. + [POSIX || XPG3] (FPE_*): Likewise. + [POSIX || XPG3] (ILL_*): Likewise. + [POSIX || XPG3] (POLL_*): Likewise. + [POSIX || XPG3] (SEGV_*): Likewise. + [POSIX || XPG3 || POSIX2008] (SS_*): Likewise. + [POSIX || XPG3 || POSIX2008] (SV_*): Likewise. + [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise. + [POSIX || XPG3 || POSIX2008] (ss_*): Likewise. + [POSIX || XPG3 || POSIX2008] (sv_*): Likewise. + * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant. + Specify type and value. + (TVERSLEN): Likewise. + (REGTYPE): Likewise. + (AREGTYPE): Likewise. + (LNKTYPE): Likewise. + (SYMTYPE): Likewise. + (CHRTYPE): Likewise. + (BLKTYPE): Likewise. + (DIRTYPE): Likewise. + (FIFOTYPE): Likewise. + (CONTTYPE): Likewise. + (TSUID): Likewise. + (TSGID): Likewise. + (TSVTX): Likewise. + (TUREAD): Likewise. + (TUWRITE): Likewise. + (TUEXEC): Likewise. + (TGREAD): Likewise. + (TGWRITE): Likewise. + (TGEXEC): Likewise. + (TOREAD): Likewise. + (TOWRITE): Likewise. + (TOEXEC): Likewise. + [POSIX] (TSVTX): Expect constant. + +2014-03-06 Joseph Myers + + * Makefile (tests): Change dependencies to .... + (tests-special): ... additions to this variable. + (tests): Depend on $(tests-special). + * Makerules (check-abi-list): New variable. + (check-abi): Depend on $(check-abi-list). + [$(subdir) = elf] (tests-special): Add + $(objpfx)check-abi-libc.out. + [$(build-shared) = yes && subdir] (tests-special): Add + $(check-abi-list). + [$(build-shared) = yes && subdir] (tests): Do not depend on + check-abi. + * Rules (tests): Depend on $(tests-special). + (xtests): Depend on $(xtests-special). + * catgets/Makefile (tests): Change dependencies to .... + (tests-special): ... additions to this variable. + * conform/Makefile (tests): Change dependencies to .... + (tests-special): ... additions to this variable. + * elf/Makefile (tests): Change dependencies to .... + (tests-special): ... additions to this variable. + * grp/Makefile (tests): Change dependencies to .... + (tests-special): ... additions to this variable. + * iconv/Makefile (xtests): Change dependencies to .... + (xtests-special): ... additions to this variable. + * iconvdata/Makefile (tests): Change dependencies to .... + (tests-special): ... additions to this variable. + * intl/Makefile (tests): Change dependencies to .... + (tests-special): ... additions to this variable. Also add + $(objpfx)tst-gettext.out. + * io/Makefile (tests): Change dependencies to .... + (tests-special): ... additions to this variable. + * libio/Makefile (tests): Change dependencies to .... + (tests-special): ... additions to this variable. + * malloc/Makefile (tests): Change dependencies to .... + (tests-special): ... additions to this variable. + * misc/Makefile (tests): Change dependencies to .... + (tests-special): ... additions to this variable. + * nptl/Makefile (tests): Change dependencies to .... + (tests-special): ... additions to this variable. + * nptl_db/Makefile (tests): Change dependencies to .... + (tests-special): ... additions to this variable. + * posix/Makefile (tests): Change dependencies to .... + (tests-special): ... additions to this variable. + (xtests): Change dependencies to .... + (xtests-special): ... additions to this variable. + * resolv/Makefile (tests): Change dependencies to .... + (tests-special): ... additions to this variable. + (xtests): Change dependencies to .... + (xtests-special): ... additions to this variable. + * stdio-common/Makefile (tests): Change dependencies to .... + (tests-special): ... additions to this variable. + (do-tst-unbputc): Remove target. + (do-tst-printf): Likewise. + * stdlib/Makefile (tests): Change dependencies to .... + (tests-special): ... additions to this variable. + * string/Makefile (tests): Change dependencies to .... + (tests-special): ... additions to this variable. + * sysdeps/x86/Makefile (tests): Change dependencies to .... + (tests-special): ... additions to this variable. + + * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable + whole file. + * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable + whole file. + * conform/data/sys/uio.h-data [POSIX2008]: Likewise. + * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise. + + * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file. + * conform/data/arpa/inet.h-data [XPG3]: Likewise. + * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise. + * conform/data/fmtmsg.h-data [XPG3]: Likewise. + * conform/data/libgen.h-data [XPG3]: Likewise. + * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise. + * conform/data/ndbm.h-data [XPG3]: Likewise. + * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise. + * conform/data/netdb.h-data [XPG3]: Likewise. + * conform/data/netinet/in.h-data [XPG3]: Likewise. + * conform/data/poll.h-data [XPG3]: Likewise. + * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise. + * conform/data/strings.h-data [XPG3]: Likewise. + * conform/data/stropts.h-data [XPG3]: Likewise. + * conform/data/sys/mman.h-data [XPG3]: Likewise. + * conform/data/sys/resource.h-data [XPG3]: Likewise. + * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]: + Likewise. + * conform/data/sys/statvfs.h-data [XPG3]: Likewise. + * conform/data/sys/time.h-data [XPG3]: Likewise. + * conform/data/sys/timeb.h-data [XPG3]: Likewise. + * conform/data/sys/uio.h-data [XPG3]: Likewise. + * conform/data/sys/un.h-data [XPG3]: Likewise. + * conform/data/syslog.h-data [XPG3]: Likewise. + * conform/data/ucontext.h-data [XPG3]: Likewise. + * conform/data/utmpx.h-data [XPG3]: Likewise. + * conform/data/varargs.h-data [UNIX98]: Enable file. + + * manual/Makefile (INSTALL_INFO): Remove variable setting. + + * math/libm-test.inc (struct test_f_f_data): Move expected results + into structure for each rounding mode. + (struct test_ff_f_data): Likewise. + (struct test_ff_f_data_nexttoward): Likewise. + (struct test_fi_f_data): Likewise. + (struct test_fl_f_data): Likewise. + (struct test_if_f_data): Likewise. + (struct test_fff_f_data): Likewise. + (struct test_c_f_data): Likewise. + (struct test_f_f1_data): Likewise. + (struct test_fF_f1_data): Likewise. + (struct test_ffI_f1_data): Likewise. + (struct test_c_c_data): Likewise. + (struct test_cc_c_data): Likewise. + (struct test_f_i_data): Likewise. + (struct test_ff_i_data): Likewise. + (struct test_f_l_data): Likewise. + (struct test_f_L_data): Likewise. + (struct test_fFF_11_data): Likewise. + (RM_): New macro. + (RM_FE_DOWNWARD): Likewise. + (RM_FE_TONEAREST): Likewise. + (RM_FE_TOWARDZERO): Likewise. + (RM_FE_UPWARD): Likewise. + (RUN_TEST_LOOP_f_f): Update references to expected results. + (RUN_TEST_LOOP_2_f): Likewise. + (RUN_TEST_LOOP_fff_f): Likewise. + (RUN_TEST_LOOP_c_f): Likewise. + (RUN_TEST_LOOP_f_f1): Likewise. + (RUN_TEST_LOOP_fF_f1): Likewise. + (RUN_TEST_LOOP_fI_f1): Likewise. + (RUN_TEST_LOOP_ffI_f1): Likewise. + (RUN_TEST_LOOP_c_c): Likewise. + (RUN_TEST_LOOP_cc_c): Likewise. + (RUN_TEST_LOOP_f_i): Likewise. + (RUN_TEST_LOOP_f_i_tg): Likewise. + (RUN_TEST_LOOP_ff_i_tg): Likewise. + (RUN_TEST_LOOP_f_b): Likewise. + (RUN_TEST_LOOP_f_b_tg): Likewise. + (RUN_TEST_LOOP_f_l): Likewise. + (RUN_TEST_LOOP_f_L): Likewise. + (RUN_TEST_LOOP_fFF_11): Likewise. + * math/gen-libm-test.pl (parse_args): Output four copies of + expected results for each test. + + * sysdeps/unix/sysv/linux/aarch64/kernel-features.h + (__ASSUME_UTIMES): Remove. + * sysdeps/unix/sysv/linux/tile/kernel-features.h + (__ASSUME_UTIMES): Likewise. + + * math/gen-auto-libm-tests.c: Update comment on output format. + (output_for_one_input_case): Generate before-rounding and + after-rounding information as conditions on output flags not + floating-point format. + * math/auto-libm-test-out: Regenerated. + * math/gen-libm-test.pl (cond_value): New function. + (or_cond_value): Use cond_value. + (generate_testfile): Handle conditional exceptions. + +2014-03-05 Joseph Myers + + * math/libm-test.inc (max_valid_error): New variable. + (init_max_error): Take new argument specifying whether function + results are exactly determined. Set max_valid_error and bound + other variables for errors based on this argument. + (set_max_error): Do not record results above max_valid_error. + (check_float_internal): Only accept errors of up to 0.5ulps if + also at most max_valid_error. + (START): Take new argument EXACT and pass it to init_max_error. + (acos_test): Update call to START. + (acos_test_tonearest): Likewise. + (acos_test_towardzero): Likewise. + (acos_test_downward): Likewise. + (acos_test_upward): Likewise. + (acosh_test): Likewise. + (asin_test): Likewise. + (asin_test_tonearest): Likewise. + (asin_test_towardzero): Likewise. + (asin_test_downward): Likewise. + (asin_test_upward): Likewise. + (asinh_test): Likewise. + (atan_test): Likewise. + (atanh_test): Likewise. + (atan2_test): Likewise. + (cabs_test): Likewise. + (cacos_test): Likewise. + (cacosh_test): Likewise. + (carg_test): Likewise. + (casin_test): Likewise. + (casinh_test): Likewise. + (catan_test): Likewise. + (catanh_test): Likewise. + (cbrt_test): Likewise. + (ccos_test): Likewise. + (ccosh_test): Likewise. + (ceil_test): Likewise. + (cexp_test): Likewise. + (cimag_test): Likewise. + (clog_test): Likewise. + (clog10_test): Likewise. + (conj_test): Likewise. + (copysign_test): Likewise. + (cos_test): Likewise. + (cos_test_tonearest): Likewise. + (cos_test_towardzero): Likewise. + (cos_test_downward): Likewise. + (cos_test_upward): Likewise. + (cosh_test): Likewise. + (cosh_test_tonearest): Likewise. + (cosh_test_towardzero): Likewise. + (cosh_test_downward): Likewise. + (cosh_test_upward): Likewise. + (cpow_test): Likewise. + (cproj_test): Likewise. + (creal_test): Likewise. + (csin_test): Likewise. + (csinh_test): Likewise. + (csqrt_test): Likewise. + (ctan_test): Likewise. + (ctan_test_tonearest): Likewise. + (ctan_test_towardzero): Likewise. + (ctan_test_downward): Likewise. + (ctan_test_upward): Likewise. + (ctanh_test): Likewise. + (ctanh_test_tonearest): Likewise. + (ctanh_test_towardzero): Likewise. + (ctanh_test_downward): Likewise. + (ctanh_test_upward): Likewise. + (erf_test): Likewise. + (erfc_test): Likewise. + (exp_test): Likewise. + (exp_test_tonearest): Likewise. + (exp_test_towardzero): Likewise. + (exp_test_downward): Likewise. + (exp_test_upward): Likewise. + (exp10_test): Likewise. + (exp10_test_tonearest): Likewise. + (exp10_test_towardzero): Likewise. + (exp10_test_downward): Likewise. + (exp10_test_upward): Likewise. + (pow10_test): Likewise. + (exp2_test): Likewise. + (expm1_test): Likewise. + (expm1_test_tonearest): Likewise. + (expm1_test_towardzero): Likewise. + (expm1_test_downward): Likewise. + (expm1_test_upward): Likewise. + (fabs_test): Likewise. + (fdim_test): Likewise. + (floor_test): Likewise. + (fma_test): Likewise. + (fma_test_towardzero): Likewise. + (fma_test_downward): Likewise. + (fma_test_upward): Likewise. + (fmax_test): Likewise. + (fmin_test): Likewise. + (fmod_test): Likewise. + (fpclassify_test): Likewise. + (frexp_test): Likewise. + (hypot_test): Likewise. + (ilogb_test): Likewise. + (isfinite_test): Likewise. + (finite_test): Likewise. + (isgreater_test): Likewise. + (isgreaterequal_test): Likewise. + (isinf_test): Likewise. + (isless_test): Likewise. + (islessequal_test): Likewise. + (islessgreater_test): Likewise. + (isnan_test): Likewise. + (isnormal_test): Likewise. + (issignaling_test): Likewise. + (isunordered_test): Likewise. + (j0_test): Likewise. + (j1_test): Likewise. + (jn_test): Likewise. + (ldexp_test): Likewise. + (lgamma_test): Likewise. + (gamma_test): Likewise. + (lrint_test): Likewise. + (lrint_test_tonearest): Likewise. + (lrint_test_towardzero): Likewise. + (lrint_test_downward): Likewise. + (lrint_test_upward): Likewise. + (llrint_test): Likewise. + (llrint_test_tonearest): Likewise. + (llrint_test_towardzero): Likewise. + (llrint_test_downward): Likewise. + (llrint_test_upward): Likewise. + (log_test): Likewise. + (log10_test): Likewise. + (log1p_test): Likewise. + (log2_test): Likewise. + (logb_test): Likewise. + (logb_test_downward): Likewise. + (lround_test): Likewise. + (llround_test): Likewise. + (modf_test): Likewise. + (nearbyint_test): Likewise. + (nextafter_test): Likewise. + (nexttoward_test): Likewise. + (pow_test): Likewise. + (pow_test_tonearest): Likewise. + (pow_test_towardzero): Likewise. + (pow_test_downward): Likewise. + (pow_test_upward): Likewise. + (remainder_test): Likewise. + (drem_test): Likewise. + (remainder_test_tonearest): Likewise. + (drem_test_tonearest): Likewise. + (remainder_test_towardzero): Likewise. + (drem_test_towardzero): Likewise. + (remainder_test_downward): Likewise. + (drem_test_downward): Likewise. + (remainder_test_upward): Likewise. + (drem_test_upward): Likewise. + (remquo_test): Likewise. + (rint_test): Likewise. + (rint_test_tonearest): Likewise. + (rint_test_towardzero): Likewise. + (rint_test_downward): Likewise. + (rint_test_upward): Likewise. + (round_test): Likewise. + (scalb_test): Likewise. + (scalbn_test): Likewise. + (scalbln_test): Likewise. + (signbit_test): Likewise. + (sin_test): Likewise. + (sin_test_tonearest): Likewise. + (sin_test_towardzero): Likewise. + (sin_test_downward): Likewise. + (sin_test_upward): Likewise. + (sincos_test): Likewise. + (sinh_test): Likewise. + (sinh_test_tonearest): Likewise. + (sinh_test_towardzero): Likewise. + (sinh_test_downward): Likewise. + (sinh_test_upward): Likewise. + (sqrt_test): Likewise. + (sqrt_test_tonearest): Likewise. + (sqrt_test_towardzero): Likewise. + (sqrt_test_downward): Likewise. + (sqrt_test_upward): Likewise. + (tan_test): Likewise. + (tan_test_tonearest): Likewise. + (tan_test_towardzero): Likewise. + (tan_test_downward): Likewise. + (tan_test_upward): Likewise. + (tanh_test): Likewise. + (tgamma_test): Likewise. + (trunc_test): Likewise. + (y0_test): Likewise. + (y1_test): Likewise. + (yn_test): Likewise. + (significand_test): Likewise. + + * math/libm-test.inc (struct ulp_data): Don't refer to ulps for + individual tests in comment. + (libm-test-ulps.h): Don't refer to test_ulps in #include comment. + (prev_max_error): New variable. + (prev_real_max_error): Likewise. + (prev_imag_max_error): Likewise. + (compare_ulp_data): Don't refer to test names in comment. + (find_test_ulps): Remove function. + (find_function_ulps): Likewise. + (find_complex_function_ulps): Likewise. + (init_max_error): Take function name as argument. Look up ulps + for that function. + (print_ulps): Remove function. + (print_max_error): Use prev_max_error instead of calling + find_function_ulps. + (print_complex_max_error): Use prev_real_max_error and + prev_imag_max_error instead of calling find_complex_function_ulps. + (check_float_internal): Take max_ulp parameter instead of calling + find_test_ulps. Don't call print_ulps. + (check_float): Update call to check_float_internal. + (check_complex): Update calls to check_float_internal. + (START): Pass argument to init_max_error. + * math/gen-libm-test.pl (%results): Don't include "kind" + information. + (parse_ulps): Don't handle ulps of individual tests. + (print_ulps_file): Likewise. + (output_ulps): Likewise. + * math/README.libm-test: Update. + * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of + individual tests. + * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps. + * sysdeps/alpha/fpu/libm-test-ulps: Likewise. + * sysdeps/arm/libm-test-ulps: Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Likewise. + * sysdeps/ia64/fpu/libm-test-ulps: Likewise. + * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise. + * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise. + * sysdeps/microblaze/libm-test-ulps: Likewise. + * sysdeps/mips/mips32/libm-test-ulps: Likewise. + * sysdeps/mips/mips64/libm-test-ulps: Likewise. + * sysdeps/powerpc/fpu/libm-test-ulps: Likewise. + * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise. + * sysdeps/s390/fpu/libm-test-ulps: Likewise. + * sysdeps/sh/libm-test-ulps: Likewise. + * sysdeps/sparc/fpu/libm-test-ulps: Likewise. + * sysdeps/tile/libm-test-ulps: Likewise. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2014-03-04 Joseph Myers + + * math/libm-test.inc (print_complex_max_error): Check separately + whether real and imaginary errors are within allowed range and + pass 0 to print_complex_function_ulps instead of value within + allowed range. + +2014-03-04 Siddhesh Poyarekar + + * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix + formatting. + (get_handles_fopen): Likewise. + (do_write_test): Likewise. + + * libio/wfileops.c (do_ftell_wide): Fix up formatting. + + * libio/fileops.c (do_ftell): Use cached offset when + available. + * libio/iofwide.c (do_ftell_wide): Likewise. + * libio/iofdopen.c (_IO_new_fdopen): Don't use + _IO_file_attach. + * libio/wfileops.c (_IO_fwide): Don't cache offset. + + [BZ #16532] + * libio/libioP.h (get_file_offset): New function. + * libio/fileops.c (get_file_offset): Likewise. + (do_ftell): Likewise. + (_IO_new_file_seekoff): Split out ftell logic. + * libio/wfileops.c (do_ftell_wide): Likewise. + (_IO_wfile_seekoff): Split out ftell logic. + * libio/tst-ftell-active-handler.c: New test case. + * libio/Makefile (tests): Add it. + +2014-03-03 Roland McGrath + + * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used. + * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used. + +2014-03-03 Siddhesh Poyarekar + + [BZ #16639] + * nscd/connections.c (nscd_init): Call do_exit. + (start_threads): Call do_exit and notify_parent. + (begin_drop_privileges): Call do_exit. + (finish_drop_privileges): Likewise. + * nscd/selinux.c (preserve_capabilities): Likewise. + (install_real_capabilities): Likewise. + (nscd_selinux_enabled): Likewise. + (avc_create_thread): Likewise. + (avc_alloc_lock): Likewise. + (nscd_avc_init): Likewise. + * nscd/nscd.c (parent_fd): New static variable. + (main): Create a pipe between parent and child processes. + Skip closing parent_fd. + (monitor_child): New function. + (do_exit): Likewise. + (notify_parent): Likewise. + * nscd/nscd.h (notify_parent): Likewise. + (do_exit): Likewise. + +2014-03-03 Carlos O'Donell + + * malloc/malloc.c (__libc_calloc): Revert last change. + +2014-03-03 Adhemerval Zanella + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2014-03-03 Rajalakshmi Srinivasaraghavan + + * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch + implementation. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: + (__libc_ifunc_impl_list): Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file. + * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file. + * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file. + * string/strrchr.c: Define STRRCHR. + +2014-02-28 Ondƙej BĂ­lka + + * benchtest/bench-strtok.c (simple_strtok): Delete. + (strtok_string): Use as benchmark. + * string/strtok (STRTOK): New macro. + +2014-02-28 Carlos O'Donell + + * manual/threads.texi: Add header and standard comments to all + functions. + + * elf/dl-lookup.c (check_match): New function. + (ELF_MACHINE_SYM_NO_MATCH): Adjust comment. + (do_lookup_x): Remove nested function check_match. Use non-nested + function check_match. + +2014-02-28 Roland McGrath + + * csu/Makefile (generated, before-compile): Use += rather than =. + * catgets/Makefile (generated, generated-dirs): Likewise. + * debug/Makefile (generated): Likewise. + * dlfcn/Makefile (generated): Likewise. + * elf/Makefile (before-compile, generated, generated-dirs): Likewise. + * iconvdata/Makefile (before-compile, generated): Likewise. + * intl/Makefile (before-compile, generated, generated-dirs): Likewise. + * libio/Makefile (generated): Likewise. + * malloc/Makefile (generated): Likewise. + * manual/Makefile (generated, generated-dirs): Likewise. + * misc/Makefile (generated): Likewise. + * posix/Makefile (generated): Likewise. + * resolv/Makefile (generated): Likewise. + * sunrpc/Makefile (generated, generated-dirs): Likewise. + * timezone/Makefile (generated, generated-dirs): Likewise. + + * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }. + +2014-02-27 Adhemerval Zanella + + * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround + power8 implementation. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New + file: POWER8 llround ifunc implementation. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c + (__lllround): Add POWER8 implementation. + * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file: + POWER8 llround implementation. + + * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint + power8 implementation. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New + file: POWER8 llrint ifunc implementation. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): + Add POWER8 implementation. + * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file: + POWER8 llrint implementation. + + * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite + power8 implementation. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New + file: POWER8 finite ifunc implementation. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): + Add POWER8 implementation. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef): + Likewise. + * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file: + POWER8 finite implementation. + * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file. + + * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf + power8 implementation. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New + file: POWER8 isinf ifunc implementation. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add + POWER8 implementation. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff): + Likewise. + * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8 + isinf implementation. + * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file. + + * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h + (INIT_ARCH): Add hwcap2 initialization. + * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan + power8 implementation. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New + file: POWER8 isnan ifunc implementation. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add + POWER8 implementation. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf): + Likewise. + * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8 + isnan implementation. + * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file. + +2014-02-27 Joey Ye + + * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D) + (_FP_NANFRAC_Q): Set to zero. + +2014-02-27 Siddhesh Poyarekar + + [BZ #16623] + * math/auto-libm-test-in: New test inputs. + * math/auto-libm-test-out: Regenerate. + * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A + and DA. + (__cos): Likewise. + * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate. + +2014-02-27 Joseph Myers + + * scripts/evaluate-test.sh: Take new argument indicating whether + failure is expected. + * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh + indicating whether failure is expected. + * conform/Makefile (test-xfail-run-conformtest): New variable. + ($(objpfx)run-conformtest.out): Don't expect to fail at makefile + level. + * posix/Makefile (test-xfail-annexc): New variable. + ($(objpfx)annexc.out): Don't expect to fail at makefile level. + +2014-02-26 Joseph Myers + + * argp/Makefile: Include Makeconfig immediately after defining + subdir. + * assert/Makefile: Likewise. + * benchtests/Makefile: Likewise. + * catgets/Makefile: Likewise. + * conform/Makefile: Likewise. + * crypt/Makefile: Likewise. + * csu/Makefile: Likewise. + (all): Remove target. + * ctype/Makefile: Include Makeconfig immediately after defining + subdir. + * debug/Makefile: Likewise. + * dirent/Makefile: Likewise. + * dlfcn/Makefile: Likewise. + * gmon/Makefile: Likewise. + * gnulib/Makefile: Likewise. + * grp/Makefile: Likewise. + * gshadow/Makefile: Likewise. + * hesiod/Makefile: Likewise. + * hurd/Makefile: Likewise. + (all): Remove target. + * iconvdata/Makefile: Include Makeconfig immediately after + defining subdir. + * inet/Makefile: Likewise. + * intl/Makefile: Likewise. + * io/Makefile: Likewise. + * libio/Makefile: Likewise. + (all): Remove target. + * locale/Makefile: Include Makeconfig immediately after defining + subdir. + * login/Makefile: Likewise. + * mach/Makefile: Likewise. + (all): Remove target. + * malloc/Makefile: Include Makeconfig immediately after defining + subdir. + (all): Remove target. + * manual/Makefile: Include Makeconfig immediately after defining + subdir. + * math/Makefile: Likewise. + * misc/Makefile: Likewise. + * nis/Makefile: Likewise. + * nss/Makefile: Likewise. + * po/Makefile: Likewise. + (all): Remove target. + * posix/Makefile: Include Makeconfig immediately after defining + subdir. + * pwd/Makefile: Likewise. + * resolv/Makefile: Likewise. + * resource/Makefile: Likewise. + * rt/Makefile: Likewise. + * setjmp/Makefile: Likewise. + * shadow/Makefile: Likewise. + * signal/Makefile: Likewise. + * socket/Makefile: Likewise. + * soft-fp/Makefile: Likewise. + * stdio-common/Makefile: Likewise. + * stdlib/Makefile: Likewise. + * streams/Makefile: Likewise. + * string/Makefile: Likewise. + * sunrpc/Makefile: Likewise. + (all): Remove target. + * sysvipc/Makefile: Include Makeconfig immediately after defining + subdir. + * termios/Makefile: Likewise. + * time/Makefile: Likewise. + * timezone/Makefile: Likewise. + (all): Remove target. + * wcsmbs/Makefile: Include Makeconfig immediately after defining + subdir. + * wctype/Makefile: Likewise. + +2014-02-26 Steve Ellcey + + * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New. + (libc_feholdexcept_mips): Use _FPU_MASK_ALL. + (libc_feholdexcept_setround_mips): Ditto. + (libc_feholdsetround): New. + (libc_feholdsetroundf): New. + (libc_feholdsetroundl): New. + (libc_feupdateenv_test_mips): New. + (libc_feupdateenv_test): New. + (libc_feupdateenv_testf): New. + (libc_feupdateenv_testl): New. + (libc_feresetround): New. + (libc_feresetroundf): New. + (libc_feresetroundl): New. + (libc_fetestexcept_mips): New. + (libc_fetestexcept): New. + (libc_fetestexceptf): New. + (libc_fetestexceptl): New. + (HAVE_RM_CTX): New. + (libc_feholdexcept_setround_mips_ctx): New. + (libc_feholdexcept_setround_ctx): New. + (libc_feholdexcept_setroundf_ctx): New. + (libc_feholdexcept_setroundl_ctx): New. + (libc_fesetenv_mips_ctx): New. + (libc_fesetenv_ctx): New. + (libc_fesetenv_ctxf): New. + (libc_fesetenv_ctxl): New. + (libc_feupdateenv_mips_ctx): New. + (libc_feupdateenv_ctx): New. + (libc_feupdateenvf_ctx): New. + (libc_feupdateenvl_ctx): New. + (libc_feholdsetround_mips_ctx): New. + (libc_feholdsetround_ctx): New. + (libc_feholdsetroundf_ctx): New. + (libc_feholdsetroundl_ctx): New. + (libc_feresetround_mips_ctx): New. + (libc_feresetround_ctx): New. + (libc_feresetroundf_ctx): New. + (libc_feresetroundl_ctx): New. + +2014-02-26 Carlos O'Donell + + * manual/ipc.texi (Semaphores): Use @Theglibc{}. + + * manual/ipc.texi: New file. + * manual/Makefile (chapters): Add ipc. + * manual/job.texi: Add "Inter-Process Communication" to next. + * manual/process.texi: Add "Inter-Process Communication" to prev. + +2014-02-26 Adhemerval Zanella + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2014-02-26 Ondƙej BĂ­lka + + * malloc/malloc.c (__libc_calloc): Simplify implementation. + + * manual/arith.texi: Fix spaces after sentences. + * manual/charset.texi: Likewise. + * manual/errno.texi: Likewise. + * manual/install.texi: Likewise. + * manual/llio.texi: Likewise. + * manual/locale.texi: Likewise. + * manual/maint.texi: Likewise. + * manual/math.texi: Likewise. + * manual/memory.texi: Likewise. + * manual/message.texi: Likewise. + * manual/probes.texi: Likewise. + * manual/resource.texi: Likewise. + * manual/signal.texi: Likewise. + * manual/socket.texi: Likewise. + * manual/stdio.texi: Likewise. + * manual/string.texi: Likewise. + * manual/time.texi: Likewise. + * manual/users.texi: Likewise. + +2014-02-25 Carlos O'Donell + + [BZ #16632] + * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if + _DEFAULT_SOURCE is defined. + +2014-02-25 Ulrich Drepper + Carlos O'Donell + + [BZ #16613] + * elf/dl-tls.c (_dl_count_modids): New function. + * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids. + * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in + audit library and increment generation counter. + (_dl_allocate_tls_init): Add assertion to check TLS generation count. + * elf/tst-audit9.c: New file. + * elf/tst-auditmod9a.c: New file. + * elf/tst-auditmod9b.c: New file. + * elf/Makefile: Add rules to build and run tst-audit9. + +2014-02-25 Florian Weimer + + [BZ #15347] + * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow. + +2014-02-25 Will Newton + + * sysdeps/arm/__longjmp.S: Include stap-probe.h. + (__longjmp): Restore sp and lr before restoring callee + saved registers. Add longjmp and longjmp_target + SystemTap probe point. + * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment. + * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP): + Define to zero to match jmpbuf layout. + * sysdeps/arm/setjmp.S: Include stap-probe.h. + (__sigsetjmp): Save sp and lr before saving callee + saved registers. Add setjmp SystemTap probe point. + +2014-02-24 Stefan Liebler + + * sysdeps/s390/fpu/libm-test-ulps: Regenerate. + +2014-02-24 Andreas Schwab + + [BZ #15804] + * elf/pldd.c (wait_for_ptrace_stop): New function. + (main): Call it after attaching. + +2014-02-22 Roland McGrath + + * Makerules ($(common-objpfx)Versions.v.i): No longer depend + on $(common-objpfx)abi-versions.h; using inside + Versions files is now verboten. + * hurd/Versions (libc: GLIBC_2.0): + Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections. + (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under + [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]. + * mach/Versions: Likewise. + + * csu/Versions: Remove unused %include. + * resolv/Versions: Likewise. + +2014-02-21 Joseph Myers + + * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test). + ($(objpfx)check-local-headers.out): Likewise. + ($(objpfx)begin-end-check.out): Likewise. + * Makerules (check-abi-%.out): Likewise. + * catgets/Makefile ($(objpfx)test1.cat): Likewise. + ($(objpfx)test2.cat): Likewise. + ($(objpfx)de/libc.cat): Likewise. + ($(objpfx)test-gencat.out): Likewise. + * conform/Makefile ($(objpfx)run-conformtest.out): Likewise. + * elf/Makefile ($(objpfx)order-cmp.out): Likewise. + ($(objpfx)noload-mem): Likewise. + ($(objpfx)tst-pathopt.out): Likewise. + ($(objpfx)tst-rtld-load-self.out): Likewise. + ($(objpfx)tst-array1-cmp.out): Likewise. + ($(objpfx)tst-array1-static-cmp.out): Likewise. + ($(objpfx)tst-array2-cmp.out): Likewise. + ($(objpfx)tst-array3-cmp.out): Likewise. + ($(objpfx)tst-array4-cmp.out): Likewise. + ($(objpfx)tst-array5-cmp.out): Likewise. + ($(objpfx)tst-array5-static-cmp.out): Likewise. + ($(objpfx)check-textrel.out): Likewise. + ($(objpfx)check-execstack.out): Likewise. + ($(objpfx)check-localplt.out): Likewise. + ($(objpfx)order2-cmp.out): Likewise. + ($(objpfx)tst-leaks1-mem): Likewise. + ($(objpfx)tst-leaks1-static-mem): Likewise. + ($(objpfx)tst-initorder-cmp.out): Likewise. + ($(objpfx)tst-initorder2-cmp.out): Likewise. + ($(objpfx)tst-unused-dep.out): Likewise. + ($(objpfx)tst-unused-dep-cmp.out): Likewise. + * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise. + * iconv/Makefile (test-iconvconfig): Likewise. + * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise. + ($(objpfx)iconv-test.out): Likewise. + ($(objpfx)tst-tables.out): Likewise. + * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise. + ($(objpfx)tst-gettext.out): Likewise. + ($(objpfx)tst-translit.out): Likewise. + ($(objpfx)tst-gettext2.out): Likewise. + ($(objpfx)tst-gettext4.out): Likewise. + ($(objpfx)tst-gettext6.out): Likewise. + * io/Makefile ($(objpfx)ftwtest.out): Likewise. + * libio/Makefile ($(objpfx)test-freopen.out): Likewise. + ($(objpfx)tst-fopenloc-cmp.out): Likewise. + ($(objpfx)tst-fopenloc-mem.out): Likewise. + * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise. + * misc/Makefile ($(objpfx)tst-error1-mem): Likewise. + * posix/Makefile ($(objpfx)globtest.out): Likewise. + ($(objpfx)wordexp-tst.out): Likewise. + ($(objpfx)annexc.out): Likewise. + ($(objpfx)tst-fnmatch-mem): Likewise. + ($(objpfx)bug-regex2-mem): Likewise. + ($(objpfx)bug-regex14-mem): Likewise. + ($(objpfx)bug-regex21-mem): Likewise. + ($(objpfx)bug-regex31-mem): Likewise. + ($(objpfx)tst-vfork3-mem): Likewise. + ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise. + ($(objpfx)tst-pcre-mem): Likewise. + ($(objpfx)tst-boost-mem): Likewise. + ($(objpfx)tst-getconf.out): Likewise. + ($(objpfx)bug-ga2-mem): Likewise. + ($(objpfx)bug-glob2-mem): Likewise. + * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise. + ($(objpfx)mtrace-tst-leaks2): Likewise. + * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise. + ($(objpfx)tst-printf.out): Likewise. + ($(objpfx)tst-setvbuf1.out): Likewise. + ($(objpfx)tst-setvbuf1-cmp.out): Likewise. + * stdlib/Makefile ($(objpfx)isomac.out): Likewise. + ($(objpfx)tst-fmtmsg.out): Likewise. + * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise. + * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise. + + * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals. + * bits/sigaction.h [__USE_MISC]: Likewise. + * bits/waitstatus.h: Update #endif comments. + * ctype/ctype.h: Likewise. + * dirent/dirent.h: Likewise. + [__USE_MISC]: Remove redundant conditionals. + * grp/grp.h: Update #endif comments. + [__USE_GNU]: Remove redundant conditionals. + [__USE_MISC]: Likewise. + * inet/netinet/in.h [__USE_GNU]: Likewise. + * io/sys/stat.h [__USE_MISC]: Likewise. + * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise. + * libio/bits/stdio.h: Update #endif comments. + [__USE_MISC]: Remove redundant conditionals. + * libio/bits/stdio2.h [__USE_MISC]: Likewise. + * libio/stdio.h: Update #endif comments. + [__USE_MISC]: Remove redundant conditionals. + * math/bits/math-finite.h [__USE_MISC]: Likewise. + * math/bits/mathcalls.h [__USE_MISC]: Likewise. + * math/math.h: Update #else and #endif comments. + [__USE_MISC]: Remove redundant conditionals. + * misc/sys/uio.h: Update #endif comments. + * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals. + * posix/glob.h [__USE_MISC]: Likewise. + * posix/sys/types.h: Update #endif comments. + [__USE_MISC]: Remove redundant conditionals. + * posix/sys/wait.h: Update #endif comments. + [__USE_MISC]: Remove redundant conditionals. + * posix/unistd.h: Update #endif comments. + [__USE_MISC]: Remove redundant conditionals. + * pwd/pwd.h [__USE_GNU]: Likewise. + [__USE_MISC]: Likewise. + * resolv/netdb.h [__USE_GNU]: Likewise. + * signal/signal.h: Update #endif comments. + [__USE_MISC]: Remove redundant conditionals. + * stdlib/stdlib.h: Update #else and #endif comments. + [__USE_MISC]: Remove redundant conditionals. + [__USE_GNU]: Likewise. + * string/bits/string2.h [__USE_MISC]: Likewise. + * string/string.h: Update #endif comments. + [__USE_MISC]: Remove redundant conditionals. + * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]: + Likewise. + * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise. + * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]: + Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]: + Likewise. + * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif + comments. + [__USE_MISC]: Remove redundant conditionals. + * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise. + * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise. + * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise. + * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]: + Likewise. + * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]: + Likewise. + * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]: + Likewise. + * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]: + Likewise. + * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]: + Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]: + Likewise. + * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise. + * sysdeps/x86/bits/string.h: Update #endif comments. + * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant + conditionals. + * time/sys/time.h: Update #endif comments. + * time/time.h: Likewise. + [__USE_MISC]: Remove redundant conditionals. + +2014-02-21 Yury Gribov + + [BZ #16600] + * sysdeps/arm/libm-test-ulps: Update for VFPv4. + +2014-02-21 Andreas Schwab + + * Versions.def (librt): Add GLIBC_2.17. + +2014-02-21 Adam Conrad + + * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a + synonym for _SYS_AUXV_H to allow direct inclusion. + * sysdeps/sparc/bits/hwcap.h: Likewise. + * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of + _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together. + * sysdeps/sparc/sysdep.h: Likewise. + +2014-02-21 Siddhesh Poyarekar + + * benchtests/bench-strrchr.c (do_test): Fix minor formatting. + +2014-02-21 Rajalakshmi Srinivasaraghavan + + * benchtests/bench-strrchr.c: Print length instead of position. + +2014-02-20 Joseph Myers + + [BZ #16611] + * sysdeps/unix/sysv/linux/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL] + (__ASSUME_SENDMMSG_SOCKETCALL): Define. + [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ || + __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL): + Likewise. + [__i386__ || __powerpc__ || __sh__ || __sparc__] + (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise. + [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL] + (__ASSUME_SENDMMSG): Define instead of using previous + [__LINUX_KERNEL_VERSION >= 0x020627] condition. + * sysdeps/unix/sysv/linux/aarch64/kernel-features.h + (__ASSUME_SENDMMSG_SYSCALL): Define. + * sysdeps/unix/sysv/linux/alpha/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL): + Likewise. + * sysdeps/unix/sysv/linux/arm/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL): + Likewise. + * sysdeps/unix/sysv/linux/ia64/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL): + Likewise. + * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL + && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL && + !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine. + [__ASSUME_SENDMMSG]: Change conditionals to + [__ASSUME_SENDMMSG_SOCKETCALL]. + * sysdeps/unix/sysv/linux/microblaze/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL): + Define. + * sysdeps/unix/sysv/linux/mips/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL): + Likewise. + * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL && + !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL && + !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine. + [!__ASSUME_SENDMMSG]: Change conditional to + [!__ASSUME_SENDMMSG_SOCKETCALL]. + * sysdeps/unix/sysv/linux/tile/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL): + Define. + + [BZ #16610] + * sysdeps/unix/sysv/linux/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL] + (__ASSUME_RECVMMSG_SOCKETCALL): Define. + [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ || + __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ + || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise. + [__i386__ || __sparc__] + (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise. + [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL] + (__ASSUME_RECVMMSG): Define instead of using previous + [__LINUX_KERNEL_VERSION >= 0x020621] condition. + * sysdeps/unix/sysv/linux/aarch64/kernel-features.h + (__ASSUME_RECVMMSG_SYSCALL): Define. + * sysdeps/unix/sysv/linux/alpha/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL): + Likewise. + * sysdeps/unix/sysv/linux/arm/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL): + Likewise. + * sysdeps/unix/sysv/linux/ia64/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL): + Likewise. + * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL + && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL && + !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine. + [__ASSUME_RECVMMSG]: Change condition to + [__ASSUME_RECVMMSG_SOCKETCALL]. + * sysdeps/unix/sysv/linux/microblaze/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL): + Define. + (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise. + * sysdeps/unix/sysv/linux/mips/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL): + Likewise. + * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL && + !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL && + !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine. + [!__ASSUME_RECVMMSG]: Change condition to + [!__ASSUME_RECVMMSG_SOCKETCALL]. + * sysdeps/unix/sysv/linux/tile/kernel-features.h + (__ASSUME_RECVMMSG_SYSCALL): Define. + + [BZ #16609] + * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ || + __powerpc__ || __s390__ || __sh__ || __sparc__] + (__ASSUME_SOCKETCALL): Define. + [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL] + (__ASSUME_ACCEPT4_SOCKETCALL): Likewise. + [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__)) + || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ || + __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise. + [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise. + [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL] + (__ASSUME_ACCEPT4): Define instead of using previous + [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ || + __powerpc__ || __sparc__ || __s390__)] condition. + * sysdeps/unix/sysv/linux/aarch64/kernel-features.h + (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. + * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL && + !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL && + !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine. + [!__ASSUME_ACCEPT4]: Change condition to + [!__ASSUME_ACCEPT4_SOCKETCALL]. + * sysdeps/unix/sysv/linux/alpha/kernel-features.h + (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct + condition to [__LINUX_KERNEL_VERSION >= 0x030200]. + * sysdeps/unix/sysv/linux/arm/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to + __ASSUME_ACCEPT4_SYSCALL. + * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]: + Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL]. + * sysdeps/unix/sysv/linux/ia64/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to + __ASSUME_ACCEPT4_SYSCALL. + * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL + && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL && + !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine. + [__ASSUME_ACCEPT4]: Change condition to + [__ASSUME_ACCEPT4_SOCKETCALL]. + * sysdeps/unix/sysv/linux/m68k/kernel-features.h + (__ASSUME_SOCKETCALL): Define. + [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove. + * sysdeps/unix/sysv/linux/microblaze/kernel-features.h + (__ASSUME_SOCKETCALL): Define. + (__ASSUME_ACCEPT4): Remove. + [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL): + Define. + * sysdeps/unix/sysv/linux/mips/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL): + Likewise. + * sysdeps/unix/sysv/linux/tile/kernel-features.h + (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. + + * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New + macro. + (HWCAP_ARM_LPAE): Likewise. + (HWCAP_ARM_EVTSTRM): Likewise. + * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags): + Add vpfd32, lpae and evtstrm. + * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT): + Increase to 22. + +2014-02-19 Joseph Myers + + * math/auto-libm-test-in: Add tests of clog10. + * math/auto-libm-test-out: Regenerated. + * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2014-02-18 Andreas Schwab + + [BZ #16574] + * resolv/res_send.c (send_vc): Add parameter ansp2_malloced. + Store non-zero if the second buffer was newly allocated. + (send_dg): Likewise. + (__libc_res_nsend): Add parameter ansp2_malloced and pass it down + to send_vc and send_dg. + (res_nsend): Pass NULL for ansp2_malloced. + * resolv/res_query.c (__libc_res_nquery): Add parameter + answerp2_malloced and pass it down to __libc_res_nsend. + (res_nquery): Pass additional NULL to __libc_res_nquery. + (__libc_res_nsearch): Add parameter answerp2_malloced and pass it + down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate + second answer buffer if answerp2_malloced was set. + (res_nsearch): Pass additional NULL to __libc_res_nsearch. + (__libc_res_nquerydomain): Add parameter + answerp2_malloced and pass it down to __libc_res_nquery. + (res_nquerydomain): Pass additional NULL to + __libc_res_nquerydomain. + * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass + additional NULL to __libc_res_nsend and __libc_res_nquery. + * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass + additional NULL to __libc_res_nsearch. + (_nss_dns_gethostbyname4_r): Revert last change. Use new + parameter of __libc_res_nsearch to check for separately allocated + second buffer. + (_nss_dns_gethostbyaddr2_r): Pass additional NULL to + __libc_res_nquery. + * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass + additional NULL to __libc_res_nquery. + * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to + __libc_res_nsearch. + (gethostbyaddr): Pass additional NULL to __libc_res_nquery. + * include/resolv.h: Update prototypes of __libc_res_nquery, + __libc_res_nsearch, __libc_res_nsend. + +2014-02-18 Joseph Myers + + * math/auto-libm-test-in: Add tests of fma. + * math/auto-libm-test-out: Regenerated. + * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f. + (fma_towardzero_test_data): Likewise. + (fma_downward_test_data): Likewise. + (fma_upward_test_data): Likewise. + * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field + mpc_mode. + (rounding_modes): Add values for new field. + (func_calc_method): Add value mpfr_fff_f. + (func_calc_desc): Add mpfr_fff_f union field. + (test_function): Add field exact_args. + (FUNC): Add macro argument EXACT_ARGS. + (FUNC_mpfr_f_f): Update call to FUNC. + (FUNC_mpfr_f_f): Likewise. + (FUNC_mpfr_ff_f): Likewise. + (FUNC_mpfr_if_f): Likewise. + (FUNC_mpc_c_f): Likewise. + (FUNC_mpc_c_c): Likewise. + (test_functions): Add fma. Update calls to FUNC. + (handle_input_arg): Add argument exact_args. + (add_test): Update call to handle_input_arg. + (calc_generic_results): Add argument mode. Handle mpfr_fff_f. + (output_for_one_input_case): Update call to calc_generic_results. + Recalculate exact zero results in each rounding mode. + + * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are + non-negative before setting low bit. + * math/auto-libm-test-in: Mark one asin test possibly having + spurious underflow. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2014-02-17 David Holsgrove + + * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze. + * sysdeps/unix/sysv/linux/microblaze: Move directory from + ports/sysdeps/unix/sysv/linux/microblaze. + * README: Add missing listing for microblaze*-*-linux-gnu. + +2014-02-16 Ondƙej BĂ­lka + + * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove + duplicate code + +2014-02-16 Mike Frysinger + + * sysdeps/ia64: Move directory from ports/sysdeps/ia64. + * sysdeps/unix/sysv/linux/ia64: Move directory from + ports/sysdeps/unix/sysv/linux/ia64. + * README: Update listing for ia64-*-linux-gnu. + +2014-02-14 Tomas Dohnalek + Joseph Myers + + * Makeconfig (test-name): New variable. + (evaluate-test): Likewise. + * Makerules (do-test-clean): Remove .test-result files. + (common-mostlyclean): Likewise. + * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules. + * scripts/evaluate-test.sh: New file. + +2014-02-14 Joseph Myers + + * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into + separate $(objpfx)tst-fopenloc-cmp.out and + $(objpfx)tst-fopenloc-mem.out targets. + (tests): Update dependencies. + * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8. + (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to + tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace. + (tst-rxspencer-no-utf8-ARGS): New variable. + (tst-rxspencer-no-utf8-ENV): Likewise. + (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem + instead of $(objpfx)tst-rxspencer-mem. + ($(objpfx)tst-rxspencer-mem): Change target to + $(objpfx)tst-rxspencer-no-utf8-mem. Depend on + $(objpfx)tst-rxspencer-no-utf8.out instead of running test program. + * posix/tst-rxspencer-no-utf8.c: New file. + + * elf/Makefile ($(objpfx)order.out): Remove rule. + [$(run-built-tests) = yes] (tests): Depend on + $(objpfx)order-cmp.out. + ($(objpfx)order-cmp.out): New rule. + [$(run-built-tests) = yes] (tests): Depend on + $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out, + $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out, + $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and + $(objpfx)tst-array5-static-cmp.out. + ($(objpfx)tst-array1.out): Remove rule. + ($(objpfx)tst-array1-cmp.out): New rule. + ($(objpfx)tst-array1-static.out): Remove rule. + ($(objpfx)tst-array1-static-cmp.out): New rule. + ($(objpfx)tst-array2.out): Remove rule. + ($(objpfx)tst-array2-cmp.out): New rule. + ($(objpfx)tst-array3.out): Remove rule. + ($(objpfx)tst-array3-cmp.out): New rule. + ($(objpfx)tst-array4.out): Remove rule. + ($(objpfx)tst-array4-cmp.out): New rule. + ($(objpfx)tst-array5.out): Remove rule. + ($(objpfx)tst-array5-cmp.out): New rule. + ($(objpfx)tst-array5-static.out): Remove rule. + ($(objpfx)tst-array5-static-cmp.out): New rule. + [$(run-built-tests) = yes] (tests): Depend on + $(objpfx)order2-cmp.out. + ($(objpfx)order2.out): Remove rule. + ($(objpfx)order2-cmp.out): New rule. + ($(objpfx)tst-initorder.out): Remove rule. + [$(run-built-tests) = yes] (tests): Depend on + $(objpfx)tst-initorder-cmp.out. + ($(objpfx)tst-initorder-cmp.out): New rule. + ($(objpfx)tst-initorder2.out): Remove rule. + [$(run-built-tests) = yes] (tests): Depend on + $(objpfx)tst-initorder2-cmp.out. + ($(objpfx)tst-initorder2-cmp.out): New rule. + [$(run-built-tests) = yes] (tests): Depend on + $(objpfx)tst-unused-dep-cmp.out. + ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp. + ($(objpfx)tst-unused-dep-cmp.out): New rule. + * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend + on $(objpfx)tst-setvbuf1-cmp.out. + ($(objpfx)tst-setvbuf1.out): Do not run cmp. + ($(objpfx)tst-setvbuf1-cmp.out): New rule. + * string/Makefile [$(run-built-tests) = yes] (tests): Depend + $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out. + ($(objpfx)tst-svc.out): Remove rule. + ($(objpfx)tst-svc-cmp.out): New rule. + +2014-02-13 Joseph Myers + + * bits/mman.h [__USE_MISC]: Remove redundant conditionals. + * ctype/ctype.h [__USE_MISC]: Likewise. + * dirent/dirent.h [__USE_MISC]: Likewise. + * grp/grp.h [__USE_MISC]: Likewise. + * io/fcntl.h [__USE_MISC]: Likewise. + * io/sys/stat.h [__USE_MISC]: Likewise. + * libio/stdio.h [__USE_MISC]: Likewise. + * posix/unistd.h [__USE_MISC]: Likewise. + * pwd/pwd.h [__USE_MISC]: Likewise. + * stdlib.h [__USE_MISC]: Likewise. + * string/bits/string2.h [__USE_MISC]: Likewise. + * string/string.h [__USE_MISC]: Likewise. + * time/time.h [__USE_MISC]: Likewise. + +2014-02-13 Andreas Schwab + + [BZ #16574] + * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the + second answer buffer if it was separately allocated. + +2014-02-12 Joseph Myers + + * sysdeps/mips/math-tests.h: Include . + [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)] + (ROUNDING_TESTS_long_double): Do not define. + [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)] + (EXCEPTION_TESTS_long_double): Likewise. + * sysdeps/mips/mips64/libm-test-ulps: Update. + + * include/features.h (__USE_BSD): Remove macro definitions. + (__USE_SVID): Likewise. + (_BSD_SOURCE): Likewise. + (_SVID_SOURCE): Likewise. + [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition + from definition of _DEFAULT_SOURCE. + [_BSD_SOURCE || _SVID_SOURCE]: Change condition to + [_DEFAULT_SOURCE]. + * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC]. + * bits/mman.h [__USE_BSD]: Likewise. + * bits/termios.h [__USE_BSD]: Likewise. + * bits/waitstatus.h [__USE_BSD]: Likewise. + * ctype/ctype.h [__USE_SVID]: Likewise. + * dirent/dirent.h [__USE_BSD]: Likewise. + * grp/grp.h [__USE_SVID]: Likewise. + [__USE_BSD]: Likewise. + * inet/netinet/igmp.h [__USE_BSD]: Likewise. + * io/fcntl.h [__USE_BSD]: Likewise. + * io/ftw.h [__USE_BSD]: Likewise. + * io/sys/stat.h [__USE_BSD]: Likewise. + * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise. + * libio/bits/stdio2.h [__USE_BSD]: Likewise. + * libio/stdio.h [__USE_SVID]: Likewise. + [__USE_BSD]: Likewise. + * math/math.h [__USE_SVID]: Likewise. + [__USE_BSD]: Likewise. + * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise. + * misc/bits/syslog.h [__USE_BSD]: Likewise. + * misc/search.h [__USE_SVID]: Likewise. + * misc/sys/mman.h [__USE_BSD]: Likewise. + * misc/sys/syslog.h [__USE_BSD]: Likewise. + * misc/sys/uio.h [__USE_BSD]: Likewise. + * posix/bits/unistd.h [__USE_BSD]: Likewise. + * posix/glob.h [__USE_BSD]: Likewise. + * posix/regex.h [__USE_BSD]: Likewise. + * posix/sys/types.h [__USE_BSD]: Likewise. + [__USE_SVID]: Likewise. + * posix/sys/utsname.h [__USE_SVID]: Likewise. + * posix/sys/wait.h [__USE_BSD]: Likewise. + [__USE_SVID]: Likewise. + * posix/unistd.h [__USE_BSD]: Likewise. + [__USE_SVID]: Likewise. + * pwd/pwd.h [__USE_SVID]: Likewise. + * resolv/netdb.h [__USE_BSD]: Likewise. + * setjmp/setjmp.h [__USE_BSD]: Likewise. + * signal/signal.h [__USE_BSD]: Likewise. + [__USE_SVID]: Likewise. + * socket/sys/socket.h [__USE_BSD]: Likewise. + * stdlib/fmtmsg.h [__USE_SVID]: Likewise. + * stdlib/stdlib.h [__USE_BSD]: Likewise. + [__USE_SVID]: Likewise. + * string/bits/string2.h [__USE_BSD]: Likewise. + [__USE_SVID]: Likewise. + * string/bits/string3.h [__USE_BSD]: Likewise. + * string/endian.h [__USE_BSD]: Likewise. + * string/string.h [__USE_SVID]: Likewise. + [__USE_BSD]: Likewise. + * string/strings.h [__USE_BSD]: Likewise. + * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise. + * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise. + * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise. + * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]: + Likewise. + * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]: + Likewise. + * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise. + * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]: + Likewise. + * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]: + Likewise. + * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]: + Likewise. + * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise. + * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]: + Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]: + Likewise. + * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise. + * sysvipc/sys/ipc.h [__USE_SVID]: Likewise. + * termios/termios.h [__USE_BSD]: Likewise. + * time/sys/time.h [__USE_BSD]: Likewise. + * time/time.h [__USE_BSD]: Likewise. + [__USE_SVID]: Likewise. + + * Makefile (subdir_targets): Remove subdir_lint.out. + + * stdio-common/Makefile (do-tst-unbputc): Remove target. + (do-tst-printf): Likewise. + (tests): Depend directly on $(objpfx)tst-unbputc.out and + $(objpfx)tst-printf.out. + + * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out. + + * Makerules (check-abi-%): Change target to + $(objpfx)check-abi-%.out. + (check-abi target): Update dependencies. + (check-abi-pattern variable): Redirect output of diff to $@. + (check-abi variable): Likewise. + * elf/Makefile (check-abi): Update dependencies. + + * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly + unused. + (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted + value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in + subnormal range. + (_FP_PACK_CANONICAL): Determine tininess based on rounding to + normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded + value has largest subnormal exponent. + * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] + (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0. + * sysdeps/aarch64/soft-fp/sfp-machine.h + (_FP_TININESS_AFTER_ROUNDING): New macro. + * sysdeps/alpha/soft-fp/sfp-machine.h + (_FP_TININESS_AFTER_ROUNDING): Likewise. + * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): + Likewise. + * sysdeps/mips/mips64/soft-fp/sfp-machine.h + (_FP_TININESS_AFTER_ROUNDING): Likewise. + * sysdeps/mips/soft-fp/sfp-machine.h + (_FP_TININESS_AFTER_ROUNDING): Likewise. + * sysdeps/powerpc/soft-fp/sfp-machine.h + (_FP_TININESS_AFTER_ROUNDING): Likewise. + * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): + Likewise. + * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h + (_FP_TININESS_AFTER_ROUNDING): Likewise. + * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h + (_FP_TININESS_AFTER_ROUNDING): Likewise. + * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): + Likewise. + +2014-02-12 Dylan Alex Simon + + [BZ #16545] + * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h + model 1. + +2014-02-12 Richard Henderson + + * sysdeps/alpha: Move directory from ports/sysdeps/alpha. + * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha. + * sysdeps/unix/sysv/linux/alpha: Move directory from + ports/sysdeps/unix/sysv/linux/alpha. + * README: Update listing for alpha-*-linux-gnu. + +2014-02-11 Joseph Myers + + * include/features.h: Update comment documenting feature test + macros. + [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define + _DEFAULT_SOURCE. + * manual/creature.texi (_BSD_SOURCE): Remove documentation. + (_SVID_SOURCE): Likewise. + (_DEFAULT_SOURCE): Update description of default features. + (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction + with _GNU_SOURCE. + * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE. + (S_ISVTX): Likewise. + * manual/math.texi (Mathematical Constants): Likewise. + * manual/signal.texi (Interrupted Primitives): Likewise. + * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE. + * math/test-matherr.c (_SVID_SOURCE): Do not define. + * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]: + Don't refer to _SVID_SOURCE in warning text. + + * sysdeps/x86_64/fpu/libm-test-ulps: Update. + + * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not + already defined. + (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH. + * sysdeps/mips/dl-lookup.c: Remove. + * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro. + +2014-02-11 Stefan Liebler + + [BZ #16447] + * math/auto-libm-test-in: Add testcase for expl. + * math/auto-libm-test-out: Regenerate. + * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix + calculation of unsafe. + * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase. + +2014-02-11 Marcus Shawcroft + + * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64. + * sysdeps/unix/sysv/linux/aarch64: Move directory from + ports/sysdeps/unix/sysv/linux/aarch64. + * README: Update listing for aarch64*-*-linux-gnu. + +2014-02-11 Will Newton + + * manual/probes.texi (Mathematical Function Probes): Use + "triggered" instead of "hit". + + * manual/probes.texi (Internal Probes): Add documentation + of setjmp, longjmp and longjmp_target probes. + + * include/stap-probe.h: Add comment about probe argument + format. + + * malloc/mtrace.c (attribute_hidden): Remove unused macro + definition. (tr_where, tr_freehook, tr_mallochook, + tr_reallochook, tr_memalignhook): Use ANSI protoype. + +2014-02-11 David S. Miller + + * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when + processing int_tests. + +2014-02-10 Joseph Myers + + * sysdeps/mips: Move directory from ports/sysdeps/mips. + * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips. + * sysdeps/unix/sysv/linux/mips: Move directory from + ports/sysdeps/unix/sysv/linux/mips. + * README: Update listing for mips-*-linux-gnu and + mips64-*-linux-gnu. + +2014-02-10 Andreas Schwab + + * sysdeps/m68k: Move directory from ports/sysdeps/m68k. + * sysdeps/unix/sysv/linux/m68k: Move directory from + ports/sysdeps/unix/sysv/linux/m68k. + * README: Update listing for m68k-*-linux-gnu. + +2014-02-10 Chris Metcalf + + * sysdeps/tile: Move directory from ports/sysdeps/tile. + * sysdeps/unix/sysv/linux/generic: Move directory from + ports/sysdeps/unix/sysv/linux/generic. + * sysdeps/unix/sysv/linux/tile: Move directory from + ports/sysdeps/unix/sysv/linux/tile. + * README: Update listing for tile*-*-linux-gnu. + +2014-02-10 Ondƙej BĂ­lka + + * assert/assert.c (__assert_fail_base): Use glibc_likely instead + __builtin_expect. + * benchtests/bench-memmem.c (simple_memmem): Likewise. + * catgets/open_catalog.c (__open_catalog): Likewise. + * csu/libc-start.c (LIBC_START_MAIN): Likewise. + * debug/confstr_chk.c: Likewise. + * debug/fread_chk.c (__fread_chk): Likewise. + * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise. + * debug/getgroups_chk.c: Likewise. + * debug/mbsnrtowcs_chk.c: Likewise. + * debug/mbsrtowcs_chk.c: Likewise. + * debug/mbstowcs_chk.c: Likewise. + * debug/memcpy_chk.c: Likewise. + * debug/memmove_chk.c: Likewise. + * debug/mempcpy_chk.c: Likewise. + * debug/memset_chk.c: Likewise. + * debug/stpcpy_chk.c (__stpcpy_chk): Likewise. + * debug/strcat_chk.c (__strcat_chk): Likewise. + * debug/strcpy_chk.c (__strcpy_chk): Likewise. + * debug/strncat_chk.c (__strncat_chk): Likewise. + * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise. + * debug/vswprintf_chk.c (__vswprintf_chk): Likewise. + * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise. + * debug/wcpncpy_chk.c: Likewise. + * debug/wcscat_chk.c (__wcscat_chk): Likewise. + * debug/wcscpy_chk.c (__wcscpy_chk): Likewise. + * debug/wcsncat_chk.c (__wcsncat_chk): Likewise. + * debug/wcsncpy_chk.c: Likewise. + * debug/wcsnrtombs_chk.c: Likewise. + * debug/wcsrtombs_chk.c: Likewise. + * debug/wcstombs_chk.c: Likewise. + * debug/wmemcpy_chk.c: Likewise. + * debug/wmemmove_chk.c: Likewise. + * debug/wmempcpy_chk.c: Likewise. + * debug/wmemset_chk.c: Likewise. + * dirent/scandirat.c (SCANDIRAT): Likewise. + * dlfcn/dladdr1.c (dladdr1): Likewise. + * dlfcn/dladdr.c (dladdr): Likewise. + * dlfcn/dlclose.c (dlclose_doit): Likewise. + * dlfcn/dlerror.c (__dlerror): Likewise. + * dlfcn/dlinfo.c (dlinfo_doit): Likewise. + * dlfcn/dlmopen.c (dlmopen_doit): Likewise. + * dlfcn/dlopen.c (dlopen_doit): Likewise. + * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise. + * dlfcn/dlsym.c (dlsym_doit): Likewise. + * dlfcn/dlvsym.c (dlvsym_doit): Likewise. + * elf/dl-cache.c (_dl_load_cache_lookup): Likewise. + * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close): + Likewise. + * elf/dl-conflict.c: Likewise. + * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise. + * elf/dl-dst.h: Likewise. + * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise. + * elf/dl-fptr.c (_dl_make_fptr): Likewise. + * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise. + * elf/dl-init.c (call_init, _dl_init): Likewise. + * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise. + * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths) + (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object): + Likewise. + * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x): + Likewise. + * elf/dl-minimal.c (__libc_memalign): Likewise. + * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise. + * elf/dl-reloc.c (_dl_relocate_object): Likewise. + * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise. + * elf/dl-sym.c (do_sym): Likewise. + * elf/dl-tls.c (tls_get_addr_tail, update_get_addr) + (__tls_get_addr, _dl_tls_get_addr_soft): Likewise. + * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise. + * elf/dl-writev.h (_dl_writev): Likewise. + * elf/ldconfig.c (search_dir): Likewise. + * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload) + (dl_main): Likewise. + * elf/setup-vdso.h (setup_vdso): Likewise. + * grp/compat-initgroups.c (compat_call): Likewise. + * grp/fgetgrent.c (fgetgrent): Likewise. + * grp/initgroups.c (getgrouplist, initgroups): Likewise. + * grp/putgrent.c (putgrent): Likewise. + * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn): + Likewise. + * hurd/hurdinit.c: Likewise. + * iconvdata/8bit-gap.c (struct): Likewise. + * iconvdata/ansi_x3.110.c : Likewise. + * iconvdata/big5.c : Likewise. + * iconvdata/big5hkscs.c : Likewise. + * iconvdata/cp1255.c: Likewise. + * iconvdata/cp1258.c : Likewise. + * iconvdata/cp932.c : Likewise. + * iconvdata/euc-cn.c: Likewise. + * iconvdata/euc-jisx0213.c : Likewise. + * iconvdata/euc-jp.c: Likewise. + * iconvdata/euc-jp-ms.c : Likewise. + * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise. + * iconvdata/gb18030.c : Likewise. + * iconvdata/gbbig5.c (const): Likewise. + * iconvdata/gbgbk.c: Likewise. + * iconvdata/gbk.c : Likewise. + * iconvdata/ibm1364.c : Likewise. + * iconvdata/ibm930.c : Likewise. + * iconvdata/ibm932.c: Likewise. + * iconvdata/ibm933.c : Likewise. + * iconvdata/ibm935.c : Likewise. + * iconvdata/ibm937.c : Likewise. + * iconvdata/ibm939.c : Likewise. + * iconvdata/ibm943.c: Likewise. + * iconvdata/iso_11548-1.c: Likewise. + * iconvdata/iso-2022-cn.c : Likewise. + * iconvdata/iso-2022-cn-ext.c : Likewise. + * iconvdata/iso-2022-jp-3.c: Likewise. + * iconvdata/iso-2022-jp.c (gconv_end): Likewise. + * iconvdata/iso-2022-kr.c : Likewise. + * iconvdata/iso646.c (gconv_end): Likewise. + * iconvdata/iso_6937-2.c : Likewise. + * iconvdata/iso_6937.c : Likewise. + * iconvdata/iso8859-1.c: Likewise. + * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise. + * iconvdata/shift_jisx0213.c : Likewise. + * iconvdata/sjis.c : Likewise. + * iconvdata/t.61.c : Likewise. + * iconvdata/tcvn5712-1.c : Likewise. + * iconvdata/tscii.c: Likewise. + * iconvdata/uhc.c : Likewise. + * iconvdata/unicode.c (gconv_end): Likewise. + * iconvdata/utf-16.c (gconv_end): Likewise. + * iconvdata/utf-32.c (gconv_end): Likewise. + * iconvdata/utf-7.c (base64): Likewise. + * iconv/gconv_cache.c (__gconv_load_cache): Likewise. + * iconv/gconv_close.c (__gconv_close): Likewise. + * iconv/gconv_open.c (__gconv_open): Likewise. + * iconv/gconv_simple.c (internal_ucs4_loop_single) + (ucs4_internal_loop, ucs4_internal_loop_unaligned) + (ucs4_internal_loop_single, internal_ucs4le_loop_single) + (ucs4le_internal_loop, ucs4le_internal_loop_unaligned) + (ucs4le_internal_loop_single): Likewise. + * iconv/iconv.c (iconv): Likewise. + * iconv/iconv_close.c: Likewise. + * iconv/loop.c (SINGLE): Likewise. + * iconv/skeleton.c (FUNCTION_NAME): Likewise. + * include/atomic.h: Likewise. + * inet/inet6_option.c (option_alloc): Likewise. + * intl/bindtextdom.c (set_binding_values): Likewise. + * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise. + * intl/loadmsgcat.c (_nl_load_domain): Likewise. + * intl/localealias.c (read_alias_file): Likewise. + * libio/filedoalloc.c (_IO_file_doallocate): Likewise. + * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap) + (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise. + * libio/fmemopen.c (fmemopen): Likewise. + * libio/iofgets.c (_IO_fgets): Likewise. + * libio/iofgets_u.c (fgets_unlocked): Likewise. + * libio/iofgetws.c (fgetws): Likewise. + * libio/iofgetws_u.c (fgetws_unlocked): Likewise. + * libio/iogetdelim.c (_IO_getdelim): Likewise. + * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap) + (adjust_wide_data, _IO_wfile_seekoff): Likewise. + * locale/findlocale.c (_nl_find_locale): Likewise. + * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise. + * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale): + Likewise. + * locale/setlocale.c (setlocale): Likewise. + * login/programs/pt_chown.c (main): Likewise. + * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise. + * malloc/malloc.c (_int_malloc, _int_free): Likewise. + * malloc/memusage.c (update_data, malloc, realloc, calloc, free) + (mmap, mmap64, mremap, munmap): Likewise. + * math/e_exp2l.c: Likewise. + * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise. + * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise. + * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise. + * math/s_catan.c (__catan): Likewise. + * math/s_catanf.c (__catanf): Likewise. + * math/s_catanh.c (__catanh): Likewise. + * math/s_catanhf.c (__catanhf): Likewise. + * math/s_catanhl.c (__catanhl): Likewise. + * math/s_catanl.c (__catanl): Likewise. + * math/s_ccosh.c (__ccosh): Likewise. + * math/s_ccoshf.c (__ccoshf): Likewise. + * math/s_ccoshl.c (__ccoshl): Likewise. + * math/s_cexp.c (__cexp): Likewise. + * math/s_cexpf.c (__cexpf): Likewise. + * math/s_cexpl.c (__cexpl): Likewise. + * math/s_clog10.c (__clog10): Likewise. + * math/s_clog10f.c (__clog10f): Likewise. + * math/s_clog10l.c (__clog10l): Likewise. + * math/s_clog.c (__clog): Likewise. + * math/s_clogf.c (__clogf): Likewise. + * math/s_clogl.c (__clogl): Likewise. + * math/s_csin.c (__csin): Likewise. + * math/s_csinf.c (__csinf): Likewise. + * math/s_csinh.c (__csinh): Likewise. + * math/s_csinhf.c (__csinhf): Likewise. + * math/s_csinhl.c (__csinhl): Likewise. + * math/s_csinl.c (__csinl): Likewise. + * math/s_csqrt.c (__csqrt): Likewise. + * math/s_csqrtf.c (__csqrtf): Likewise. + * math/s_csqrtl.c (__csqrtl): Likewise. + * math/s_ctan.c (__ctan): Likewise. + * math/s_ctanf.c (__ctanf): Likewise. + * math/s_ctanh.c (__ctanh): Likewise. + * math/s_ctanhf.c (__ctanhf): Likewise. + * math/s_ctanhl.c (__ctanhl): Likewise. + * math/s_ctanl.c (__ctanl): Likewise. + * math/w_pow.c: Likewise. + * math/w_powf.c: Likewise. + * math/w_powl.c: Likewise. + * math/w_scalb.c (sysv_scalb): Likewise. + * math/w_scalbf.c (sysv_scalbf): Likewise. + * math/w_scalbl.c (sysv_scalbl): Likewise. + * misc/error.c (error_tail): Likewise. + * misc/pselect.c (__pselect): Likewise. + * nis/nis_callback.c (__nis_create_callback): Likewise. + * nis/nis_call.c (__nisfind_server): Likewise. + * nis/nis_creategroup.c (nis_creategroup): Likewise. + * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise. + * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise. + * nis/nis_getservlist.c (nis_getservlist): Likewise. + * nis/nis_lookup.c (nis_lookup): Likewise. + * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise. + * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry) + (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise. + * nis/nis_xdr.c (xdr_endpoint): Likewise. + * nis/nss_compat/compat-grp.c (getgrent_next_file) + (internal_getgrnam_r, internal_getgrgid_r): Likewise. + * nis/nss_compat/compat-initgroups.c (add_group) + (internal_getgrent_r): Likewise. + * nis/nss_compat/compat-pwd.c (getpwent_next_file) + (internal_getpwnam_r, internal_getpwuid_r): Likewise. + * nis/nss_compat/compat-spwd.c (getspent_next_file) + (internal_getspnam_r): Likewise. + * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r) + (_nss_nis_getaliasbyname_r): Likewise. + * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r) + (_nss_nis_getntohost_r): Likewise. + * nis/nss_nis/nis-grp.c (internal_nis_setgrent) + (internal_nis_getgrent_r, _nss_nis_getgrnam_r) + (_nss_nis_getgrgid_r): Likewise. + * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent) + (internal_nis_gethostent_r, internal_gethostbyname2_r) + (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r) + (_nss_nis_gethostbyname4_r): Likewise. + * nis/nss_nis/nis-initgroups.c (internal_getgrent_r) + (initgroups_netid): Likewise. + * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise. + * nis/nss_nis/nis-network.c (internal_nis_getnetent_r) + (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise. + * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r) + (_nss_nis_getprotobynumber_r): Likewise. + * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey) + (_nss_nis_getsecretkey): Likewise. + * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent) + (internal_nis_getpwent_r, _nss_nis_getpwnam_r) + (_nss_nis_getpwuid_r): Likewise. + * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r) + (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise. + * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r) + (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise. + * nis/nss_nis/nis-spwd.c (_nss_nis_setspent) + (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise. + * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r): + Likewise. + * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r) + (_nss_nisplus_getntohost_r): Likewise. + * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r) + (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise. + * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r) + (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): + Likewise. + * nis/nss_nisplus/nisplus-initgroups.c + (_nss_nisplus_initgroups_dyn): Likewise. + * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r) + (_nss_nisplus_getnetbyaddr_r): Likewise. + * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r) + (_nss_nisplus_getprotobynumber_r): Likewise. + * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r) + (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise. + * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r): + Likewise. + * nis/nss_nisplus/nisplus-service.c + (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r) + (_nss_nisplus_getservbyport_r): Likewise. + * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r) + (_nss_nisplus_getspnam_r): Likewise. + * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): + Likewise. + * nscd/aicache.c (addhstaiX): Likewise. + * nscd/cache.c (cache_search, prune_cache): Likewise. + * nscd/connections.c (register_traced_file, send_ro_fd) + (handle_request, nscd_run_prune, nscd_run_worker, fd_ready) + (main_loop_epoll): Likewise. + * nscd/grpcache.c (addgrbyX): Likewise. + * nscd/hstcache.c (addhstbyX): Likewise. + * nscd/initgrcache.c (addinitgroupsX): Likewise. + * nscd/mem.c (gc, mempool_alloc): Likewise. + * nscd/netgroupcache.c (do_notfound, addgetnetgrentX) + (addinnetgrX): Likewise. + * nscd/nscd-client.h (__nscd_acquire_maplock) + (__nscd_drop_map_ref): Likewise. + * nscd/nscd_getai.c (__nscd_getai): Likewise. + * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. + * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r): + Likewise. + * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise. + * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise. + * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping) + (__nscd_get_map_ref): Likewise. + * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise. + * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): + Likewise. + * nscd/pwdcache.c (addpwbyX): Likewise. + * nscd/selinux.c (preserve_capabilities): Likewise. + * nscd/servicescache.c (addservbyX): Likewise. + * nss/nss_files/files-XXX.c (internal_getent): Likewise. + * posix/fnmatch.c (fnmatch): Likewise. + * posix/getopt.c (_getopt_internal_r): Likewise. + * posix/glob.c (glob, glob_in_dir): Likewise. + * posix/wordexp.c (exec_comm_child): Likewise. + * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r) + (getanswer_r, gaih_getanswer_slice): Likewise. + * resolv/nss_dns/dns-network.c (getanswer_r): Likewise. + * resolv/res_init.c: Likewise. + * resolv/res_mkquery.c (res_nmkquery): Likewise. + * resolv/res_query.c (__libc_res_nquery): Likewise. + * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg): + Likewise. + * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise. + * stdio-common/perror.c (perror): Likewise. + * stdio-common/printf_fp.c (___printf_fp): Likewise. + * stdio-common/tmpnam.c (tmpnam): Likewise. + * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise. + * stdlib/cxa_finalize.c (__cxa_finalize): Likewise. + * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): + Likewise. + * stdlib/drand48-iter.c (__drand48_iterate): Likewise. + * stdlib/putenv.c (putenv): Likewise. + * stdlib/setenv.c (__add_to_environ): Likewise. + * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise. + * stdlib/strtol_l.c (INTERNAL): Likewise. + * string/memmem.c (memmem): Likewise. + * string/strerror.c (strerror): Likewise. + * string/strnlen.c (__strnlen): Likewise. + * string/test-memmem.c (simple_memmem): Likewise. + * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise. + * sunrpc/pm_getport.c (__get_socket): Likewise. + * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise. + * sysdeps/i386/dl-irel.h (elf_irel): Likewise. + * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup) + (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela): + Likewise. + * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise. + * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise. + * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise. + * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise. + * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise. + * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): + Likewise. + * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): + Likewise. + * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise. + * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise. + * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise. + * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise. + * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise. + * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise. + * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise. + * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise. + * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise. + * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise. + * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh): + Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): + Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): + Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise. + * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise. + * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise. + * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise. + * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise. + * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): + Likewise. + * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l): + Likewise. + * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l): + Likewise. + * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl): + Likewise. + * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise. + * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise. + * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres): + Likewise. + * sysdeps/posix/fdopendir.c (__fdopendir): Likewise. + * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise. + * sysdeps/posix/opendir.c (__opendirat): Likewise. + * sysdeps/posix/sleep.c: Likewise. + * sysdeps/posix/tempname.c: Likewise. + * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise. + * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela): + Likewise. + * sysdeps/powerpc/powerpc32/dl-machine.h + (elf_machine_runtime_setup, elf_machine_rela): Likewise. + * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise. + * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise. + * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise. + * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend): + Likewise. + * sysdeps/s390/dl-irel.h (elf_irela): Likewise. + * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup) + (elf_machine_rela, elf_machine_lazy_rel): Likewise. + * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup) + (elf_machine_rela, elf_machine_lazy_rel): Likewise. + * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise. + * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise. + * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise. + * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise. + * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise. + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela) + (elf_machine_lazy_rel): Likewise. + * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise. + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela) + (elf_machine_lazy_rel): Likewise. + * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise. + * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise. + * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise. + * sysdeps/unix/grantpt.c (grantpt): Likewise. + * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise. + * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise. + * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise. + * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): + Likewise. + * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise. + * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise. + * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise. + * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise. + * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise. + * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise. + * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise. + * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise. + * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise. + * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise. + * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq): + Likewise. + * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c + (__posix_fallocate64_l64): Likewise. + * sysdeps/unix/sysv/linux/i386/posix_fallocate.c + (posix_fallocate): Likewise. + * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): + Likewise. + * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request) + (getifaddrs_internal): Likewise. + * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise. + * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise. + * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise. + * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise. + * sysdeps/unix/sysv/linux/posix_fallocate64.c + (__posix_fallocate64_l64): Likewise. + * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): + Likewise. + * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise. + * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c + (__get_clockfreq): Likewise. + * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise. + * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise. + * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise. + * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise. + * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open): + Likewise. + * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise. + * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise. + * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise. + * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise. + * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise. + * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat): + Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c + (posix_fallocate): Likewise. + * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise. + * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise. + * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup) + (elf_machine_rela, elf_machine_rela_relative) + (elf_machine_lazy_rel): Likewise. + * time/asctime.c (asctime_internal): Likewise. + * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise. + * time/tzset.c (__tzset_parse_tz): Likewise. + * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise. + * wcsmbs/mbrtowc.c (__mbrtowc): Likewise. + * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise. + * wcsmbs/wcsmbsload.h: Likewise. + + [BZ #15894] + * stdlib/setenv.c (__add_to_environ): Remove duplicate code. + + * malloc/arena.c (grow_heap, get_free_list, reused_arena) + (arena_get2): Remove THREAD_STATS conditionals. + * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free) + (__malloc_stats, int): Likewise. + +2014-02-08 Mike Frysinger + + * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare + f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too. + + * manual/setjmp.texi: Fix typos/grammar errors. + + * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output. + Only return early when n is <= 0. Delete unused return statement. + + * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define. + (CPPFLAGS-tst-longjmp_chk3.c): Likewise. + * debug/tst-longjmp_chk3.c: New file. + + * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top. + (test_main): Replace code with set_fortify_handler call. + * debug/test-strcpy_chk.c: Likewise. + * debug/tst-chk1.c: Likewise. + * debug/tst-longjmp_chk.c: Likewise. + * test-skeleton.c: Include fcntl.h & paths.h + (set_fortify_handler): Define. + + * debug/tst-longjmp_chk.c: Add header comment and include + ../test-skeleton.c. + (do_test): Mark static. + (TEST_FUNCTION): Define. + + * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define. + (IP_PMTUDISC_INTERFACE): Likewise. + (IP_MULTICAST_IF): Likewise. + (IP_MULTICAST_TTL): Likewise. + (IP_MULTICAST_LOOP): Likewise. + (IP_ADD_MEMBERSHIP): Likewise. + (IP_DROP_MEMBERSHIP): Likewise. + (IP_UNBLOCK_SOURCE): Likewise. + (IP_BLOCK_SOURCE): Likewise. + (IP_ADD_SOURCE_MEMBERSHIP): Likewise. + (IP_DROP_SOURCE_MEMBERSHIP): Likewise. + (IP_MSFILTER): Likewise. + (MCAST_JOIN_GROUP): Likewise. + (MCAST_BLOCK_SOURCE): Likewise. + (MCAST_UNBLOCK_SOURCE): Likewise. + (MCAST_LEAVE_GROUP): Likewise. + (MCAST_JOIN_SOURCE_GROUP): Likewise. + (MCAST_LEAVE_SOURCE_GROUP): Likewise. + (MCAST_MSFILTER): Likewise. + (IP_MULTICAST_ALL): Likewise. + (IP_UNICAST_IF): Likewise. + + * timezone/Makefile: Delete $(have-ksh) check. + ($(objpfx)tzselect): Change $(KSH) to $(BASH). + * timezone/tzselect.ksh: Add +x mode bits. + + * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define. + (ANON_INODE_FS_MAGIC): Likewise. + (BDEVFS_MAGIC): Likewise. + (BINFMTFS_MAGIC): Likewise. + (BTRFS_TEST_MAGIC): Likewise. + (CRAMFS_MAGIC_WEND): Likewise. + (DEBUGFS_MAGIC): Likewise. + (ECRYPTFS_SUPER_MAGIC): Likewise. + (EXT3_SUPER_MAGIC): Likewise. + (EXT4_SUPER_MAGIC): Likewise. + (FUTEXFS_SUPER_MAGIC): Likewise. + (HOSTFS_SUPER_MAGIC): Likewise. + (HUGETLBFS_MAGIC): Likewise. + (MINIX3_SUPER_MAGIC): Likewise. + (MTD_INODE_FS_MAGIC): Likewise. + (NILFS_SUPER_MAGIC): Likewise. + (OPENPROM_SUPER_MAGIC): Likewise. + (PIPEFS_MAGIC): Likewise. + (PSTOREFS_MAGIC): Likewise. + (QNX6_SUPER_MAGIC): Likewise. + (RAMFS_MAGIC): Likewise. + (REISERFS_SUPER_MAGIC_STRING): Likewise. + (REISER2FS_SUPER_MAGIC_STRING): Likewise. + (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise. + (SECURITYFS_MAGIC): Likewise. + (SELINUX_MAGIC): Likewise. + (SMACK_MAGIC): Likewise. + (SOCKFS_MAGIC): Likewise. + (SQUASHFS_MAGIC): Likewise. + (STACK_END_MAGIC): Likewise. + (TMPFS_MAGIC): Likewise. + (USBDEVICE_SUPER_MAGIC): Likewise. + (V9FS_MAGIC): Likewise. + (XENFS_SUPER_MAGIC): Likewise. + (CRAMFS_MAGIC): Fix typo in comment. + (EXT2_SUPER_MAGIC): Update comment. + (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down. + +2014-02-08 Joseph Myers + + * sysdeps/arm: Move directory from ports/sysdeps/arm. + * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm. + * sysdeps/unix/sysv/linux/arm: Move directory from + ports/sysdeps/unix/sysv/linux/arm. + * README: Update listing for arm-*-linux-gnueabi. + + * README: Remove mention of am33. + +2014-02-07 Roland McGrath + + * bits/sigset.h (__sigemptyset): Use a statement expression rather + than the comma operator, to avoid "rhs of comma has no effect" + compiler warnings. + (__sigfillset, __sigandset, __sigorset): Likewise. + * include/signal.h (__sigemptyset): Likewise. + * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise. + +2014-02-07 Allan McRae + + * version.h (RELEASE): Set to "development". + (VERSION): Set to "2.19.90" + * NEWS: Add 2.20 section. + +2014-02-06 Carlos O'Donell + + [BZ #16529] + * inet/netinet/in.h: Remove comma after IPPROTO_MH. + +2014-02-06 Siddhesh Poyarekar + + * manual/contrib.texi: Update entry for Carlos O'Donell, + Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold. + +2014-02-05 Carlos O'Donell + + * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment. + + * sysdeps/unix/sysv/linux/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x020621] + (__ASSUME_PROC_PID_TASK_COMM): Define. + +2014-02-05 Siddhesh Poyarekar + + [BZ #16398] + * libio/wfileops.c (_IO_wfile_seekoff): Break out form + conversion when destination buffer does not have enough space. + * libio/tst-ftell-partial-wide.c: New test case. + * libio/Makefile (tests): Add tst-ftell-partial-wide. + + * manual/contrib.texi: Update entry for Ondrej Bilka, Will + Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris + Leonard and Allan McRae. + +2014-02-04 David S. Miller + + * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from + 32-bit. + +2014-02-04 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: + New file + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist: + New file + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: + New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: + New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist: + New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: + New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: + New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist: + New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist: + New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist: + New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist: + New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist: + New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist: + New file. + +2014-02-01 Adhemerval Zanella + + * nptl/shlib-versions: Change powerpc*le start to 2.17. + * shlib-versions: Likewise. + +2014-02-04 Roland McGrath + Adhemerval Zanella + + * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le'] + (abilist-pattern): New variable, set to %-le.abilist. + + * Makerules (abilist-pattern): New variable. + (vpath): Use $(abilist-pattern) in place of %.abilist. + (check-abi-% pattern rule): Likewise. + (check-abi, update-abi): Likewise. + +2014-02-04 Eric Wong + + * sysdeps/x86_64/fpu/libm-test-ulps: Update. + +2014-02-03 Carlos O'Donell + + * manual/startup.texi: Add next, previous, and top entries for + the `Program Arguments' and `Environment Variables' nodes. + +2014-02-03 Alexandre Oliva + + * manual/macros.texi: Add comments before MTASC-safety macros. + + * manual/users.texi: Document MTASC-safety properties. + + * manual/threads.texi (pthread_key_create, pthread_key_delete) + (pthread_getspecific, pthread_setspecific): Format with + @deftypefun, and add @safety note. + * manual/signal.texi: Move comments that analyze the above + functions to their home place. + +2014-02-03 Allan McRae + + * po/sl.po: Update Slovenian translation from translation project. + +2014-02-02 Alexandre Oliva + + * manual/time.texi (timegm): Add missing blank after @c. + Reported by Joseph Myers . + +2014-02-01 Alexandre Oliva + + * manual/check-safety.sh: New. + * manual/Makefile ($(objpfx)stamp-summary): Run it. + + * manual/terminal.texi: Document MTASC-safety properties. + + * manual/filesys.texi: Document MTASC-safety properties. + + * manual/errno.texi: Document MTASC-safety properties. + + * manual/intro.texi: Document safety identifiers and + conditionals. + + * manual/string.texi (wcstok): Fix prototype. + (wcstok, strtok, strtok_r): Adjust reentrancy remarks. + + * manual/time.texi: Document MTASC-safety properties. + + * manual/string.texi: Document MTASC-safety properties. + + * manual/threads.texi: Document MTASC-safety properties. + + * manual/stdio.texi: Document MTASC-safety properties. + + * manual/syslog.texi: Document MTASC-safety properties. + + * manual/sysinfo.texi: Document MTASC-safety properties. + + * manual/startup.texi: Document MTASC-safety properties. + + * manual/socket.texi: Document MTASC-safety properties. + + * manual/signal.texi: Document MTASC-safety properties. + +2014-01-31 Alexandre Oliva + + * manual/setjmp.texi: Document MTASC-safety properties. + + * manual/search.texi: Document MTASC-safety properties. + + * manual/resource.texi: Document MTASC-safety properties. + + * manual/process.texi: Document MTASC-safety properties. + + * manual/platform.texi: Document MTASC-safety properties. + + * manual/pipe.texi: Document MTASC-safety properties. + + * manual/pattern.texi: Document MTASC-safety properties. + + * manual/message.texi: Document MTASC-safety properties. + + [BZ #12751] + * manual/memory.texi: Document MTASC-safety properties. + + * manual/math.texi: Document MTASC-safety properties. + + * manual/locale.texi: Document MTASC-safety properties. + + * manual/llio.texi: Document MTASC-safety properties. + + * manual/libdl.texi: New. + + * manual/lang.texi: Document MTASC-safety properties. + + * manual/job.texi: Document MTASC-safety properties. + + * manual/getopt.texi: Document MTASC-safety properties. + + * manual/ctype.texi: Document MTASC-safety properties. + +2014-01-31 Maciej W. Rozycki + + [BZ #16046] + * csu/libc-tls.c (static_map): Remove variable. + (__libc_setup_tls): Use main executable's link map for TLS data. + * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special + casing for LM_ID_BASE and GL(dl_nns). + * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove + function. Alias dl_iterate_phdr to __dl_iterate_phdr. + * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special + casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded. + * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1 + member. + (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and + l_phnum members. + +2014-01-30 Alexandre Oliva + + * manual/debug.texi: Document MTASC-safety properties. + +2014-01-29 H.J. Lu + + [BZ #16510] + * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead + of __x86_64__ when disabling x87 inline functions. + +2014-01-29 Alexandre Oliva + + * manual/charset.texi: Document MTASC-safety properties. + + * manual/crypt.texi: Document MTASC-safety properties. + + * manual/conf.texi: Document MTASC-safety properties. + + * manual/arith.texi: Document MTASC-safety properties. + + * manual/argp.texi: Document MTASC-safety properties. + + * manual/macros.texi: Introduce macros to document multi + thread, asynchronous signal and asynchronous cancellation + safety properties. + * manual/intro.texi: Introduce the properties themselves. + +2014-01-27 Kaz Kojima + + * sysdeps/sh/sh4/Makefile: New file. + +2014-01-27 Andreas Schwab + + * math/gen-libm-test.pl ($srcdir): New variable. + ($auto_input): Use it. + +2014-01-27 Siddhesh Poyarekar + + [BZ #16506] + * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid + access beyond array bounds when parsing netgroups file. + + * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from + the old buffer before realloc. + +2014-01-27 Allan McRae + + * po/fr.po: Update French translation from translation project. + +2014-01-26 Kaz Kojima + + * sysdeps/sh/libm-test-ulps: Regenerate. + +2014-01-24 David S. Miller + + * sysdeps/sparc/fpu/libm-test-ulps: Regenerate. + +2014-01-25 Kaz Kojima + + * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ... + * sysdeps/sh/libm-test-ulps: ... here and regenerated. + +2013-01-24 Siddhesh Poyarekar + + [BZ #16474] + * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet + string pointers after reallocation. + +2014-01-24 Kaz Kojima + + * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and + __SH4A__ instead of __SH_FPU_ANY__. + +2014-01-23 Kaz Kojima + + * sysdeps/sh/fpu_control.h: New file. + * sysdeps/sh/sh4/fpu/fpu_control.h: Remove. + * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file. + * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove. + * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory. + * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove. + * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory. + * sysdeps/sh/sys/ucontext.h: Remove. + * sysdeps/sh/sys: Remove directory. + +2014-01-22 Andreas Krebbel + + * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into + s390/sys/ucontext.h. + * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise. + * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file. + +2014-01-20 H.J. Lu + + [BZ #15605] + * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h. + +2014-01-20 Adhemerval Zanella + + [BZ #16431] + * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday): + Adjust the vDSO correctly for internal calls. + * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise. + +2014-01-20 Allan McRae + + * po/ca.po: Update Catalan translation from translation project. + +2014-01-16 Mike Frysinger + + * sysdeps/s390/sotruss-lib.c: New file. + +2014-01-16 Adhemerval Zanella + + [BZ #16430] + * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c + (__GI___gettimeofday): Alias for a different internal symbol to avoid + local calls issues by not having a PLT stub required for IFUNC calls. + * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise. + +2014-01-16 Joseph Myers + + * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c. + * math/test-fpucw-static.c: Likewise. + +2013-01-16 Siddhesh Poyarekar + + [BZ #16453] + * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca. + +2014-01-15 Adhemerval Zanella + + * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so + implementation for powerpc. + +2014-01-15 Ondƙej BĂ­lka + + [BZ #14782] + * sysdeps/posix/system.c (__libc_system): Do not enable + asynchronous cancellation. + +2014-01-15 Andreas Krebbel + + [BZ #16427] + * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE + handling only for numbers special also in the IEEE case. + +2014-01-15 Andreas Krebbel + + * sysdeps/s390/fpu/libm-test-ulps: Regenerate. + +2014-01-11 Allan McRae + + * po/bg.po: Update Bulgarian translation from translation project. + + * po/de.po: Update German translation from translation project. + +2014-01-10 Roland McGrath + + * sysdeps/generic/gcc-compat.h: New file. + +2014-01-10 Siddhesh Poyarekar + + * benchtests/asin-inputs: Correct slow inputs. + * benchtests/acos-inputs: Likewise. + +2014-01-10 Allan McRae + + * po:sv.po: Update Swedish translation from translation project. + + * po/vi.po: Update Vietnamese translation from translation project. + + * po/eo.po: Update Esperanto translation from translation project. + + * po/cs.po: Update Czech translation from translation project. + + * po/nl.po: Update Dutch translation from translation project. + + * po/pl.po: Update Polish translation from translation project. + + * po/ru.po: Update Russian translation from translation project. + + * po/uk.po: Update Ukrainian translation from translation project. + +2014-01-08 Brooks Moses + + * elf/dl-load.c: Fix comment typo. + +2014-01-08 Carlos O'Donell + + * po/header.pot: Rename to... + * po/pot.header: ... this. + * po/Makefile: Use pot.header. + +2014-01-08 Yuriy Kaminskiy + Maxim Kuvyrkov + + [BZ #16394] + * sysdeps/i386/i686/memmove.S (memmove): Compare distance between + SRC and DEST against LEN. + +2014-01-08 Adhemerval Zanella + + [BZ #16414] + * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong + implementation. + * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment. + +2014-01-08 Adhemerval Zanella + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2014-01-08 Joseph Myers + + [BZ #16408] + * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl + for large positive arguments. + +2014-01-07 Joseph Myers + + * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated. + + * math/auto-libm-test-in: Mark various tests with + xfail-rounding:ldbl-128ibm. + * math/auto-libm-test-out: Regenerated. + + [BZ #16407] + * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): + Increase overflow threshold. + +2014-01-07 Ondƙej BĂ­lka + + [BZ #14286] + * stdio-common/vfprintf.c: Check for integer overflow. + +2014-01-07 Andreas Krebbel + + * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for + the first argument and return value of __tls_get_addr_internal. + +2014-01-07 Andreas Krebbel + + * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym + also with !RTLD_BOOTSTRAP to get rid of unused variable warning. + +2014-01-07 Andreas Krebbel + + * sysdeps/s390/Makefile: Build rtld-global-offsets.sym. + * sysdeps/s390/rtld-global-offsets.sym: New file. + * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new + GLIBC_2.19 symbol. + * sysdeps/unix/sysv/linux/s390/getcontext.S: New file. + * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ... + * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S: + ... this. + * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ... + * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S: + ... this. + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: + Regenerate. + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: + Regenerate. + * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper + halfs of GPRs for high_gprs contexts. + * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and + restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags + field. + * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy + uc_flags field. + * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and + 64 bit versions: + * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field + for high GPRs (uc_high_gprs) and for future extensions + (__reserved). + * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field + for future extensions (__reserved). + * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and + 64 bit versions: + * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add + SC_HIGHGPRS offset definition. + * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file. + * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file. + + * Versions.def: Add GLIBC_2.19 for libpthread. + * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and + siglongjmp for libpthread with GLIBC_2.19 symver. + * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file. + * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c. + * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols. + * sysdeps/s390/__longjmp.c: New file. + * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf. + * sysdeps/s390/longjmp.c: New file. + * sysdeps/s390/setjmp.S: New file. + * sysdeps/s390/sigjmp.S: New file. + * sysdeps/s390/v1-longjmp.c: New file. + * sysdeps/s390/v1-setjmp.h: New file. + * sysdeps/s390/v1-sigjmp.c: New file. + * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk. + * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with + GLIBC_2.19 version. + * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide + versioned symbols for ____longjmp_chk. + * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: + Regenerate. + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist: + Regenerate. + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: + Regenerate. + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist: + Regenerate. + * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file. + * sysdeps/s390/s390-32/__longjmp.c: Rename to ... + * sysdeps/s390/s390-32/__longjmp-common.c: ... this. + * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ... + * sysdeps/s390/s390-32/setjmp-common.S: ... this. + * sysdeps/s390/s390-64/__longjmp.c: Rename to ... + * sysdeps/s390/s390-64/__longjmp-common.c: ... this. + * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ... + * sysdeps/s390/s390-64/setjmp-common.S: ... this. + * sysdeps/s390/rtld-__longjmp.c: New file. + * sysdeps/s390/rtld-setjmp.S: New file. + +2014-01-06 Joseph Myers + + [BZ #16400] + * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): + Return -__logl (x) for small positive arguments without evaluating + a polynomial. + +2014-01-06 Mike Frysinger + + * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args): + Rename to ... + (__ptrace_peeksiginfo_args): ... this. + * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise. + * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise. + +2014-01-06 Allan McRae + + * inet/netinet/in.h: Fix typo in comment. + +2014-01-05 Andreas Jaeger + + * sysdeps/i386/fpu/libm-test-ulps: Update. + +2014-01-05 Allan McRae + + * po/libc.pot: Regenerated. + + * malloc/memusagestat.c: Fix gettext call formatting. + +2014-01-04 Sami Kerola + + * nscd/nscd.c: Improve usage() output. + +2014-01-04 Mike Frysinger + + * config.h.in: Add HAVE_LINUX_FANOTIFY_H template. + * sysdeps/unix/sysv/linux/configure: Regenerated. + * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE. + * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h. + +2014-01-03 Joseph Myers + + [BZ #16390] + * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math] + (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl. + +2014-01-03 Adhemerval Zanella + + * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove + extra tokens at end of #undef directive. + * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise. + +2014-01-03 Joseph Myers + + * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated. + + * math/auto-libm-test-in: Mark various tests with + xfail-rounding:ldbl-128ibm. + * math/auto-libm-test-out: Regenerated. + +2014-01-02 Joseph Myers + + [BZ #16386] + * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust + numbers with subnormal high part when calculating exponent. + + [BZ #16385] + * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not + fabs. + + [BZ #16384] + * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with + M_LN2l. + (__ieee754_acoshl): Use __log1pl not __log1p. + +2013-01-02 Ondƙej BĂ­lka + + * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all) + (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry) + (__failing_morecore, ptmalloc_init, dump_heap, new_heap) + (grow_heap, heap_trim, _int_new_arena, get_free_list) + (reused_arena, arena_get2): Convert to GNU style. + * malloc/hooks.c (memalign_hook_ini, __malloc_check_init) + (mem2mem_check, mem2chunk_check, top_check, realloc_check) + (memalign_check, __malloc_set_state): Likewise. + * malloc/mallocbug.c (main): Likewise. + * malloc/malloc.c (__malloc_assert, malloc_init_state) + (free_perturb, do_check_malloced_chunk, do_check_malloc_state) + (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free) + (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate) + (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt) + (__posix_memalign, malloc_info): Likewise. + * malloc/malloc.h: Likewise. + * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook) + (mallochook, memalignhook, reallochook, mabort): Likewise. + * malloc/mcheck.h: Likewise. + * malloc/memusage.c (update_data, me, malloc, realloc, calloc) + (free, mmap, mmap64, mremap, munmap, dest): Likewise. + * malloc/memusagestat.c (main, parse_opt, more_help): Likewise. + * malloc/morecore.c (__default_morecore): Likewise. + * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise. + * malloc/obstack.c (_obstack_begin, _obstack_newchunk) + (_obstack_allocated_p, obstack_free, _obstack_memory_used) + (print_and_abort): Likewise. + * malloc/obstack.h: Likewise. + * malloc/set-freeres.c (__libc_freeres): Likewise. + * malloc/tst-mallocstate.c (main): Likewise. + * malloc/tst-mtrace.c (main): Likewise. + * malloc/tst-realloc.c (do_test): Likewise. + +2013-01-02 Siddhesh Poyarekar + + [BZ #16366] + * nscd/netgroupcache.c (do_notfound): New function. + (addgetnetgrentX): Use it. + + [BZ # 16365] + * nscd/netgroupcache.c (addgetnetgrentX): Break if status is + NSS_STATUS_NOTFOUND. + +2014-01-01 Joseph Myers + + * sysdeps/i386/fpu/libm-test-ulps: Regenerated. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2014-01-01 Allan McRae + + * scripts/update-copyrights: Update configure input file suffix. + + * NEWS: Update copyright year. + * catgets/gencat.c: Likewise. + * csu/version.c: Likewise. + * debug/catchsegv.sh: Likewise. + * debug/pcprofiledump.c: Likewise. + * debug/xtrace.sh: Likewise. + * elf/ldconfig.c: Likewise. + * elf/ldd.bash.in: Likewise. + * elf/pldd.c: Likewise. + * elf/sotruss.ksh: Likewise. + * elf/sprof.c: Likewise. + * iconv/iconv_prog.c: Likewise. + * iconv/iconvconfig.c: Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/localedef.c: Likewise. + * login/programs/pt_chown.c: Likewise. + * malloc/memusage.sh: Likewise. + * malloc/memusagestat.c: Likewise. + * malloc/mtrace.pl: Likewise. + * manual/libc.texinfo: Likewise. + * nscd/nscd.c: Likewise. + * nss/getent.c: Likewise. + * nss/makedb.c: Likewise. + * posix/getconf.c: Likewise. + * scripts/test-installation.pl: Likewise. + + * All files with FSF copyright notices: Update copyright dates + using scripts/update-copyrights. + * intl/plural.c: Regenerated. + * locale/programs/charmap-kw.h: Likewise. + * locale/programs/locfile-kw.h: Likewise. + +2013-12-31 Mike Frysinger + + * sysdeps/unix/sysv/linux/configure: Regenerated. + * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on + the linux/fanotify.h header. + * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if + HAVE_LINUX_FANOTIFY_H is defined. + +2013-12-31 Siddhesh Poyarekar + + * benchtests/cos-inputs: New inputs. + * benchtests/sin-inputs: Likewise. + + * benchtests/atan-inputs: New inputs. Fix name of multiple + precision fallback inputs. + + * benchtests/atanh-inputs: New inputs. + * benchtests/tanh-inputs: Likewise. + + * benchtests/acosh-inputs: New inputs. + * benchtests/asinh-inputs: Likewise. + + * benchtests/cosh-inputs: New inputs. + * benchtests/sinh-inputs: Likewise. + + * benchtests/acos-inputs: Add more inputs. + * benchtests/asin-inputs: Likewise. + +2013-12-30 Ville Skytta + + [BZ #16375] + * manual/arith.texi: Fix spelling. + * manual/charset.texi: Likewise. + * manual/errno.texi: Likewise. + * manual/filesys.texi: Likewise. + * manual/lang.texi: Likewise. + * manual/llio.texi: Likewise. + * manual/locale.texi: Likewise. + * manual/message.texi: Likewise. + * manual/resource.texi: Likewise. + * manual/search.texi: Likewise. + * manual/setjmp.texi: Likewise. + * manual/stdio.texi: Likewise. + * manual/string.texi: Likewise. + * manual/sysinfo.texi: Likewise. + * manual/time.texi: Likewise. + +2013-12-27 Carlos O'Donell + + * po/sl.po: New file. + +2013-12-27 Mike Frysinger + + * .gitignore: Add core/.gdbinit/.gdb_history. + +2013-12-27 Allan McRae + + [BZ #16369] + * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name. + Reported by Il'ya Malakhov + +2013-12-24 Brooks Moses + + * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for + all compilers that claim C++98 compliance, not just GCC. + * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO): + Likewise. + +2013-12-24 Maxim Kuvyrkov + + * NEWS: Restore accidentally deleted bug-fix entries. + +2013-12-24 Maxim Kuvyrkov + Ondƙej BĂ­lka + + [BZ #15073] + * malloc/malloc.c (_int_free): Perform sanity check only if we + have_lock. + +2013-12-23 Ondƙej BĂ­lka + + [BZ #12986] + * manual/stdio.texi (String Input Conversions): Clarify that character + classes are not supported. + +2013-12-23 Adhemerval Zanella + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2013-12-22 Joseph Myers + + [BZ #16337] + * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): + Calculate results for small negative arguments directly rather + than using reflection formula with special underflow handling. + + * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd. + * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from + sysdeps/unix/bsd/bsd4.4/syscalls.list. + (fchflags): Likewise. + (revoke): Likewise. + (setlogin): Likewise. + (sigaltstack): Likewise. + (wait4): Likewise. + (sigblock): Remove. + (sigsetmask): Likewise. + (wait3): Likewise. + (waitpid): Likewise. + * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file. + * sysdeps/unix/sysv/linux/wait3.c: Update directory of included + file. + * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ... + * sysdeps/unix/bsd/Makefile: ... here. + * sysdeps/unix/bsd/bsd4.4/Versions: Move to ... + * sysdeps/unix/bsd/Versions: ... here. + * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ... + * sysdeps/unix/bsd/bits/sockaddr.h: ... here. + * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ... + * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here. + * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ... + * sysdeps/unix/bsd/sigblock.c: ... here. + * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ... + * sysdeps/unix/bsd/sigsetmask.c: ... here. + * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ... + * sysdeps/unix/bsd/sigvec.c: ... here. + * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ... + * sysdeps/unix/bsd/tcdrain.c: ... here. + * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ... + * sysdeps/unix/bsd/tcgetattr.c: ... here. + * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ... + * sysdeps/unix/bsd/tcsetattr.c: ... here. + * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ... + * sysdeps/unix/bsd/wait.c: ... here. + * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ... + * sysdeps/unix/bsd/wait3.c: ... here. + * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ... + * sysdeps/unix/bsd/waitpid.c: ... here. + +2013-12-21 Joseph Myers + + [BZ #16356] + * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set + round-to-nearest for [!USE_AS_EXPM1L]. + * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise. + * math/auto-libm-test-in: Do not expect cosh tests to fail. Add + more tests of exp and exp10. Expect some exp10 tests to miss + exceptions or fail in directed rounding modes. + * math/auto-libm-test-out: Regenerated. + * math/libm-test.inc (exp10_tonearest_test_data): New array. + (exp10_test_tonearest): New function. + (exp10_towardzero_test_data): New array. + (exp10_test_towardzero): New function. + (exp10_downward_test_data): New array. + (exp10_test_downward): New function. + (exp10_upward_test_data): New array. + (exp10_test_upward): New function. + (main): Call the new functions. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2013-12-20 Joseph Myers + + * math/auto-libm-test-in: Add more tests of acos, acosh, asin, + asinh, atan, atan2, atanh, cbrt, cos and cosh. + * math/auto-libm-test-out: Regenerated. + * math/libm-test.inc (acosh_test_data): Add more tests. + (atanh_test_data): Likewise. + (ceil_test_data): Likewise. + (copysign_test_data): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + * timezone/checktab.awk: Update from tzcode 2013i. + * timezone/private.h: Likewise. + * timezone/scheck.c: Likewise. + * timezone/tzfile.h: Likewise. + * timezone/tzselect.ksh: Likewise. + * timezone/zdump.c: Likewise. + * timezone/zic.c: Likewise. + + * math/auto-libm-test-in: Add tests of cpow. + * math/auto-libm-test-out: Regenerated. + * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c. + * math/gen-auto-libm-tests.c (func_calc_method): Add value + mpc_cc_c. + (func_calc_desc): Add mpc_cc_c union field. + (test_functions): Add cpow. + (special_fill_2pi): New function. + (special_real_inputs): Add 2pi. + (calc_generic_results): Handle mpc_cc_c. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog, + csqrt, ctan and ctanh. + * math/auto-libm-test-out: Regenerated. + * math/libm-test.inc (TEST_COND_x86_64): New macro. + (TEST_COND_x86): Likewise. + (ccos_test_data): Use AUTO_TESTS_c_c. + (ccosh_test_data): Likewise. + (cexp_test_data): Likewise. + (clog_test_data): Likewise. + (csqrt_test_data): Likewise. + (ctan_test_data): Likewise. + (ctan_tonearest_test_data): Likewise. + (ctan_towardzero_test_data): Likewise. + (ctan_downward_test_data): Likewise. + (ctan_upward_test_data): Likewise. + (ctanh_test_data): Likewise. + (ctanh_tonearest_test_data): Likewise. + (ctanh_towardzero_test_data): Likewise. + (ctanh_downward_test_data): Likewise. + (ctanh_upward_test_data): Likewise. + * math/gen-auto-libm-tests.c (func_calc_method): Add value + mpc_c_c. + (func_calc_desc): Add mpc_c_c union field. + (FUNC_mpc_c_c): New macro. + (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh, + ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and + ctanh. + (special_fill_min_subnorm_p120): New function. + (special_real_inputs): Add min_subnorm_p120. + (calc_generic_results): Handle mpc_c_c. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2013-12-20 Siddhesh Poyarekar + + * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin) + (do_sin_slow): New functions. + (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2) + (cslow2, csloww1, csloww2): Use the new functions. + + * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M. + Use M to change sign of result instead of X. Assume X is + positive. + (csloww1): Likewise. + (__sin): Adjust. + (__cos): Adjust. + + * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove + arguments A and DA. + (__sin): Adjust. + (__cos): Likewise. + + * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly. + (__cos): Likewise. + (sloww1): Don't adjust sign of DX. + (csloww1): Likewise. + (sloww2): Use X directly and don't adjust sign of DX. + (csloww2): Likewise. + +2013-12-19 Joseph Myers + + * math/auto-libm-test-in: Add tests of cabs and carg. + * math/auto-libm-test-out: Regenerated. + * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f. + (carg_test_data): Likewise. + * math/gen-auto-libm-tests.c (func_calc_method): Add value + mpc_c_f. + (func_calc_desc): Add mpc_c_f union field. + (test_functions): Add cabs and carg. + (calc_generic_results): Handle mpc_c_f. + + * sysdeps/powerpc/powerpc32/libgcc-compat.S + [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define + as a macro and a compat symbol. + [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise. + [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise. + [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise. + [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise. + [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise. + [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do + not use .hidden. + [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi): + Likewise. + [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi): + Likewise. + [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi): + Likewise. + [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf): + Likewise. + [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf): + Likewise. + * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi, + __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf + from GLIBC_2.3.2. + +2013-12-19 Adhemerval Zanella + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2013-12-19 Joseph Myers + + * manual/texinfo.tex: Update to version 2013-11-26.10 with + trailing whitespace removed. + * scripts/config.guess: Update to version 2013-11-29. + * scripts/config.sub: Update to version 2013-10-01. + + * math/auto-libm-test-in: Add tests of sincos. + * math/auto-libm-test-out: Regenerated. + * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11. + * math/gen-auto-libm-tests.c (func_calc_method): Add value + mpfr_f_11. + (func_calc_desc): Add mpfr_f_11 union field. + (test_functions): Add sincos. + (calc_generic_results): Handle mpfr_f_11. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2013-12-19 Andreas Schwab + + * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of + CALL_MCOUNT. + * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/strcasecmp.S + [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise. + +2013-12-19 Joseph Myers + + * math/gen-libm-test.pl (%beautify): Remove M_* constants. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + [BZ #16293] + * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set + round-to-nearest mode when using frndint. + * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise. + * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise. + * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: + Likewise. + * math/auto-libm-test-in: Add more tests of expm1. Do not expect + sinh test to fail. + * math/auto-libm-test-out: Regenerated. + * math/libm-test.inc (TEST_COND_x86_64): Remove macro. + (TEST_COND_x86): Likewise. + (expm1_tonearest_test_data): New array. + (expm1_test_tonearest): New function. + (expm1_towardzero_test_data): New array. + (expm1_test_towardzero): New function. + (expm1_downward_test_data): New array. + (expm1_test_downward): New function. + (expm1_upward_test_data): New array. + (expm1_test_upward): New function. + (main): Run the new test functions. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + * include/features.h: Update comment documenting feature test + macros. Mention _DEFAULT_SOURCE in comment. + [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine. + [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE, + _BSD_SOURCE and _SVID_SOURCE. + [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE && + !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE && + !_SVID_SOURCE]: Likewise. + [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE] + (__USE_POSIX_IMPLICITLY): Define. + [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE] + (_POSIX_SOURCE): Undefine and redefine. + [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE] + (_POSIX_C_SOURCE): Likewise. + * manual/creature.texi (_DEFAULT_SOURCE): Document. + (Feature Test Macros): Update documentation of default features. + +2013-12-19 Rajalakshmi Srinivasaraghavan + + * benchtests/Makefile: Add bench-strtok. + * benchtests/bench-strtok.c: New file: strtok benchtest. + +2013-12-19 Allan McRae + + * manual/install.texi: Suppress menu for plain text output. + * INSTALL: Regenerated. + +2013-12-18 Brooks Moses + + [BZ #15846] + * misc/getauxval.c: Include errno.h. + (__getauxval): Set errno to ENOENT if the requested type is not + found. + * misc/sys/auxv.h (getauxval): Document that it may set errno; + don't declare with __attribute_const__. + * elf/tst-auxv.c: Add tests for errno and type-not-found case. + * manual/startup.texi: Document that getauxval sets errno. + +2013-12-18 Joseph Myers + + * math/auto-libm-test-in: Add tests of jn and yn. + * math/auto-libm-test-out: Regenerated. + * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f. + (yn_test_data): Likewise. + * math/gen-auto-libm-tests.c (func_calc_method): Add value + mpfr_if_f. + (func_calc_desc): Add mpfr_if_f union field. + (FUNC_mpfr_if_f): New macro. + (test_functions): Add jn and yn. + (calc_generic_results): Assert type of second input for + mpfr_ff_f. Handle mpfr_if_f. + (output_for_one_input_case): Disable all checking for arguments + fitting floating-point types in case of an integer argument. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data: + Don't expect fegetround reference in libm.so. + +2013-12-17 Marcus Shawcroft + + * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add + $(config-cflags-nofma). + +2013-12-18 Joseph Myers + + * math/auto-libm-test-in: Mark some hypot tests no-test-inline. + * math/auto-libm-test-out: Regenerated. + + [BZ #16338] + * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl + to determine exponent and adjust argument to have exponent of -1. + * math/auto-libm-test-in: Add more tests of log, log10, log1p and + log2. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2013-12-18 Ondƙej BĂ­lka + + * manual/probes.texi: Remove cases when per-thread arenas are + disabled. + +2013-12-18 Andreas Schwab + + * sysdeps/i386/i686/multiarch/strstr.c: Remove. + * sysdeps/i386/i686/multiarch/strstr-c.c: Remove. + * sysdeps/i386/i686/multiarch/strcasestr.c: Remove. + * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove. + * sysdeps/i386/i686/multiarch/Makefile: Update. + * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update. + +2013-12-17 Joseph Myers + + * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file. + * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise. + +2013-12-17 Paul Eggert + + [BZ #15968] + Support TZ transition times < 00:00:00. + This is needed for version-3 tz-format files; it supports time + stamps past 2037 for America/Godthab (the only entry in the tz + database for which this change is relevant). + * manual/time.texi (TZ Variable): Document transition times + from -167:59:59 through -00:00:01. + * time/tzset.c (tz_rule): Time of day is now signed. + (__tzset_parse_tz): Parse negative time of day. + + Document TZ transition times >= 25:00:00. + * manual/time.texi (TZ Variable): Document transition times from + 25:00:00 through 167:59:59. These are already supported, and this + support will help with version-3 tz-format files. + + * manual/time.texi (TZ Variable): Modernize North America example + to reflect current (i.e., 2007-and-later) daylight saving rules. + + * manual/time.texi (TZ Variable): POSIX.1 hour can be 24. + +2013-12-17 Joseph Myers + + * sysdeps/unix/bsd/bits/posix_opt.h: Remove file. + * sysdeps/unix/bsd/bits/stat.h: Likewise. + * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise. + * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise. + * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise. + * sysdeps/unix/bsd/bsdstat.h: Likewise. + * sysdeps/unix/bsd/clock.c: Likewise. + * sysdeps/unix/bsd/i386/vfork.S: Likewise. + * sysdeps/unix/bsd/i386/wait3.S: Likewise. + * sysdeps/unix/bsd/init-posix.c: Likewise. + * sysdeps/unix/bsd/poll.c: Likewise. + * sysdeps/unix/bsd/ptsname.c: Likewise. + * sysdeps/unix/bsd/seekdir.c: Likewise. + * sysdeps/unix/bsd/setegid.c: Likewise. + * sysdeps/unix/bsd/seteuid.c: Likewise. + * sysdeps/unix/bsd/setgid.c: Likewise. + * sysdeps/unix/bsd/setrgid.c: Likewise. + * sysdeps/unix/bsd/setruid.c: Likewise. + * sysdeps/unix/bsd/setsid.c: Likewise. + * sysdeps/unix/bsd/setuid.c: Likewise. + * sysdeps/unix/bsd/sigaction.c: Likewise. + * sysdeps/unix/bsd/sigprocmask.c: Likewise. + * sysdeps/unix/bsd/sigsuspend.c: Likewise. + * sysdeps/unix/bsd/sys/reboot.h: Likewise. + * sysdeps/unix/bsd/telldir.c: Likewise. + * sysdeps/unix/bsd/times.c: Likewise. + * sysdeps/unix/bsd/usleep.c: Likewise. + + * misc/Makefile (install-lib): Remove libbsd-compat.a. + ($(objpfx)libbsd-compat.a): Remove rule. + + * include/features.h (__FAVOR_BSD): Do not define. + * manual/creature.texi (_BSD_SOURCE): Do not document as enabling + features conflicting with POSIX. + (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE. + (_BSD_SOURCE): Remove description of not being a subset of other + feature test macros. + * manual/job.texi (getpgrp): Do not document BSD version. + (getpgid): Do not document by reference to BSD getpgrp. + * posix/unistd.h [__FAVOR_BSD]: Remove conditional code. + * setjmp/setjmp.h [__FAVOR_BSD]: Likewise. + * signal/signal.h [__FAVOR_BSD]: Likewise. + * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions + instead of making contents conditional on [__FAVOR_BSD]. + * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise. + +2013-12-17 Adhemerval Zanella + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2013-12-17 Joseph Myers + + [BZ #16314] + * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up + values below 2**-450, not 2**-500. + * math/auto-libm-test-in: Don't allow spurious underflow from + hypot. + * math/auto-libm-test-out: Regenerated. + + [BZ #16316] + [BZ #16330] + * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update + values of ha and hb and sort them after adjusting subnormal + arguments. + * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): + Likewise. + * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update + values of ea and eb and sort them after adjusting subnormal + arguments. + * math/auto-libm-test-in: Do not expect some hypot tests of + subnormals to fail. Add more hypot tests. + * math/auto-libm-test-out: Regenerated. + +2013-12-16 Kaz Kojima + + [BZ #13304] + * sysdeps/sh/s_fma.c: New file. + * sysdeps/sh/s_fmaf.c: New file. + * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm + version. + * sysdeps/sh/Implies: Add sh/soft-fp. + +2013-12-16 Roland McGrath + + * elf/dl-error.c (struct catch): Add new member `errcode'. Add a + level of indirection to members `objname', `errstring', `malloced'. + (_dl_signal_error): Store through pointers in *LCATCH rather modifying + *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing + it as the __longjmp argument (just pass 1 instead). + (_dl_catch_error): Initialize C with argument pointers and address of + volatile local ERRCODE rather than copying values out of C at return. + +2013-12-16 Joseph Myers + + * math/auto-libm-test-in: Add tests of atan2, hypot and pow. + * math/auto-libm-test-out: Regenerated. + * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f. + (hypot_test_data): Likewise. + (pow_test_data): Likewise. + (pow_tonearest_test_data): Likewise. + * math/gen-auto-libm-tests.c (func_calc_method): Add value + mpfr_ff_f. + (func_calc_desc): Add mpfr_ff_f union field. + (FUNC_mpfr_ff_f): New macro. + (test_functions): Add atan2, hypot and pow. + (special_fill_min): New function. + (special_fill_minus_min): Likewise. + (special_fill_min_subnorm): Likewise. + (special_fill_minus_min_subnorm): Likewise. + (special_real_inputs): Add min, -min, min_subnorm and + -min_subnorm. + (calc_generic_results): Handle mpfr_ff_f. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2013-12-16 Will Newton + + * manual/memory.texi (Malloc Examples): Mention aligned_alloc. + (Aligned Memory Blocks): Add documentation for aligned_alloc + and suggest it as an alternative to posix_memalign. + (Hooks for Malloc): Document __memalign_hook is also called + for aligned_alloc. (Summary of Malloc): Add summary for + aligned alloc. Document __memalign_hook is also called + for aligned_alloc. + +2013-12-16 Will Newton + + * manual/memory.texi (Malloc Examples): Clarify default + alignment documentation. Suggest posix_memalign rather + than memalign or valloc. + (Aligned Memory Blocks): Remove suggestion to use memalign + or valloc. Remove obsolete comment about BSD. + Document memalign errno values and mark the function obsolete. + Document posix_memalign returned error codes. Mark valloc + as obsolete. (Hooks for Malloc): __memalign_hook is also + called for posix_memalign and valloc. + (Summary of Malloc): Add posix_memalign to function summary. + __memalign_hook is also called for posix_memalign and valloc. + +2013-12-16 Siddhesh Poyarekar + + * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to + TAYLOR_SIN. + (__sin): Adjust. + (__cos): Likewise. + (sloww): Use mynumber union. Expand ternary operator into + if-else statements. + (cslow): use mynumber union. + +2013-12-16 Allan McRae + + * configure.ac: Set AUTOCONF when maintainer-mode is not used. + * configure: Regenerated. + + * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name. + + [BZ #14120] + * configure.ac: Added --enable-maintainer-mode. Check for + autoconf when enabled. + * configure: Regenerated. + + * nscd/nscd.service: New file. + * nscd/nscd.tmpfiles: New file. + +2013-12-14 Ondƙej BĂ­lka + + [BZ #12100] + * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file + * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ... + * sysdeps/x86_64/multiarch/strstr.c: ... here. + (strstr): Add __strstr_sse2_unaligned ifunc. + * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ... + * sysdeps/x86_64/multiarch/strcasestr.c ... here. + (strcasestr): Remove __strcasestr_sse42 ifunc. + * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove. + * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update. + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update. + +2013-12-14 Kaz Kojima + + * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ... + * sysdeps/sh/bits/fenv.h: ... here. + * sysdeps/sh/sh4/fpu/bits: Remove directory. + +2013-12-13 Adhemerval Zanella + + * NEWS: Mention ppc64 STT_GNU_IFUNC support. + + * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and + hypotf multiarch implementations. + * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file: + multiarch hypot for PPC64. + * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file: + multiarch hypotf for PPC64. + + * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and + modff multiarch implementations. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file: + multiarch modf for PPC64. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file: + multiarch modff for PPC64. + + * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf, + and logl multiarch implementations. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file: + multiarch logb for PPC64. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file: + multiarch logb for PPC64. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file: + multiarch logb for PPC64. + + * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and + isinff multiarch implementation. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New + file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file: + multiarch isinf for PPC64. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New + file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file: + multiarch isinff for PPC64. + + * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and + finitef multiarch implementation. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New + file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file: + multiarch finite for PPC64. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New + file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file: + multiarch finitef for PPC64. + + * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and + lrint multiarch implementation. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New + file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file: + multiarch llrint for PPC64. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file: + multiarch lrint for PPC64. + + * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/ + copysignf multiarch implementation. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New + file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New + file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file: + multiarch copysign for PPC64. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file: + multiarch copysignf for PPC64. + + * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf + multiarch implementation. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New + file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New + file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New + file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New + file. + multiarch llround for PPC64. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file: + multiarch trunc for PPC64. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file: + multiarch truncf for PPC64. + + * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf + multiarch implementation. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New + file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New + file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New + file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New + file. + multiarch llround for PPC64. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file: + multiarch round for PPC64. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file: + multiarch roundf for PPC64. + + * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf + multiarch implementation. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New + file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New + file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New + file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New + file. + multiarch llround for PPC64. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file: + multiarch floor for PPC64. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file: + multiarch floorf for PPC64. + + * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf + multiarch implementation. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New + file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New + file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New + file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New + file. + multiarch llround for PPC64. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file: + multiarch ceil for PPC64. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file: + multiarch ceilf for PPC64. + + * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround + multiarch implementation. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New + file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New + file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New + file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file: + multiarch llround for PPC64. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file: + multiarch lround for PPC64. + + * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan + multiarch implementation. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New + file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file: + multiarch isnan for PPC64. + * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file: + multiarch isnanf for PPC64. + + * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file. + * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file. + * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file. + * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file. + * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file + * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove. + + * sysdeps/powerpc/fpu/w_sqrt.c: Remove file + * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise. + * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise. + * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise. + + * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy + multiarch implementations. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Likewise. + * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file. + * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file. + * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file: + multiarch stpcpy for PPC64. + + * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy + multiarch implementations. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file. + * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file. + * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file: + multiarch strcpy for PPC64. + + * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to + redefine function name. + (_wordcopy_fwd_dest_aligned): Likewise. + (_wordcopy_bwd_aligned): Likewise. + (_wordcopy_bwd_dest_aligned): Likewise. + * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy + multiarch implementations. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Likewise. + * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file. + * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file. + * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file. + * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file: + multiarch wcscpy for PPC64. + + * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy + multiarch implementations. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Likewise. + * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file. + * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file. + * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file. + * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file: + multiarch wcscpy for PPC64. + + * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr + multiarch implementations. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Likewise. + * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file. + * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file. + * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file. + * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file: + multiarch wcsrchr for PPC64. + + * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr + multiarch implementations. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Likewise. + * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file. + * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file. + * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file. + * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file: + multiarch wcschr for PPC64. + + * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul + multiarch implementations. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file. + * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file: + multiarch strchrnul for PPC64. + + * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch + implementations. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Likewise. + * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch + strchr for PPC64. + + * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch + implementations. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch + strncmp for PPC64. + + * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp + multiarch implementations. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file. + * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch + strncasecmp for PPC64. + * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file. + * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file: + multiarch strncasecmp_l for PPC64. + + * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp + multiarch implementations. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: + (__libc_ifunc_impl_list): Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file: + multiarch strcasecmp for PPC64. + * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New + file. + * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file: + multiarch strcasecmp_l for PPC64. + + * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch + implementations. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file. + * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch + strnlen for PPC64. + + * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch + implementations. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch + strlen for PPC64. + + * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch + implementations. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Likewise. + * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file. + * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch + rawmemrchr for PPC64. + + * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch + implementation. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Likewise. + * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file. + * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch + memrchr for PPC64. + + * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch + implementation. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Likewise. + * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file. + * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch + memchr for PPC64. + + * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch + implementation. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Likewise. + * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file. + * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch + mempcpy for PPC64. + + * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to + avoid cretion of __bzero symbol. + * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL): + Likewise. + * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL): + Likewise. + * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL): + Likewise. + * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero + multiarch implementations. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Likewise. + * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch + bzero for PPC32. + * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch + memset for PPC64. + * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file. + + * string/memcmp.c (memcmp): Using macro to redefine symbol name. + * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch + implementations. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Likewise. + * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file. + * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch + memcmp for PPC64. + + * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support + multiarch for POWER/PPC64. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch + memcpy for PPC64. + + * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file. + * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File. + * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File. + * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File. + * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File. + * sysdeps/powerpc/powerpc64/power5/Implies: New File. + * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File. + * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File. + * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File. + * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File. + * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File. + * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File. + * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File. + * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File. + * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove. + +2013-12-12 Kaz Kojima + + * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver. + +2013-12-12 Siddhesh Poyarekar + + * benchtests/Makefile (bench): Add exp2 and log2. + (LDLIBS-bench-exp2): Add -lm. + (LDLIBS-bench-log2): Likewise. + * benchtests/exp2-inputs: New inputs file. + * benchtests/log2-inputs: New inputs file. + * benchtests/log-inputs: Add new inputs. + * benchtests/tan-inputs: Likewise. + +2013-12-11 Siddhesh Poyarekar + + * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const + definition... + (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1) + (csloww2): ... from here. + + * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double + instead of structures. + * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust. + (POLYNOMIAL): Likewise. + (TAYLOR_SLOW): Likewise. + (__sin): Likewise. + (__cos): Likewise. + (slow1): Likewise. + (slow2): Likewise. + (sloww): Likewise. + (sloww1); Likewise. + (sloww2): Likewise. + (bsloww1): Likewise. + (bsloww2): Likewise. + (cslow2): Likewise. + (csloww): Likewise. + (csloww1): Likewise. + (csloww2): Likewise. + +2013-12-10 Ondƙej BĂ­lka + + * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete. + (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc): + Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset. + * malloc/hooks.c (realloc_check): Likewise. + + * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag. + * malloc/arena.c: Remove PER_THREAD conditional. + [!PER_THREAD]: Remove code. + (ptmalloc_unlock_all2): Likewise. + (ptmalloc_init): Likewise. + (_int_new_arena): Likewise. + (arena_get2): Likewise. + * malloc/hooks.c (__malloc_get_state): Likewise. + (__malloc_set_state): Likewise. + * malloc/malloc.c: Likewise. + (struct malloc_state): Likewise. + (struct malloc_par): Likewise. + (__libc_realloc): Likewise. + (__libc_mallopt): Likewise. + +2013-12-09 Adhemerval Zanella + + * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19. + +2013-12-09 Ondƙej BĂ­lka + + * malloc/malloc.c (alloc_perturb, free_perturb): Convert from + macro to a function. Check for zero perturb_byte. + (_int_malloc, _int_free): Remove zero perturb_byte checks. + + * malloc/malloc.c: (force_reg): Remove. + (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc) + (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace + force_reg by atomic_forced_read. + * malloc/arena.c (ptmalloc_init): Likewise. + * malloc/hooks.c (top_check): Likewise. + +2013-12-09 Adhemerval Zanella + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2013-12-09 Markus Trippelsdorf + + * sysdeps/x86_64/fpu/libm-test-ulps: Update. + +2013-12-08 Joseph Myers + + * math/auto-libm-test-in: Add tests of lgamma. + * math/auto-libm-test-out: Regenerated. + * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro. + (M_LOG_2_SQRT_PIl): Likewise. + (lgamma_test_data): Use AUTO_TESTS_f_f1. + * math/gen-auto-libm-tests.c (func_calc_method): Add value + mpfr_f_f1. + (func_calc_desc): Add mpfr_f_f1 union field. + (ARGS1): New macro. + (ARGS2): Likewise. + (ARGS3): Likewise. + (ARGS4): Likewise. + (RET1): Likewise. + (RET2): Likewise. + (CALC): Likewise. + (FUNC): Likewise. + (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC. + (test_functions): Add lgamma. + (calc_generic_results): Handle mpfr_f_f1. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2013-12-06 Adhemerval Zanella + + * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized + __mpn_add_n for PowerPC64/POWER7. + * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized + __mpn_sub_n for PowerPC64/POWER7. + + * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized + __mpn_addmul_1 for PowerPC64. + * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized + __mpn_submul_1 for PowerPC64. + * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift + for PowerPC64. + * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1 + for PowerPC64. + +2013-12-06 Fernando J. V. da Silva + + [BZ #15089] + * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size. + +2013-12-06 Adhemerval Zanella + + * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support. + + * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file: + add multiarch folders. + * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise. + * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise. + * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise. + * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise. + * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise. + * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise. + * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise. + * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise. + * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise. + * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise. + * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove. + + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add + __ieee754_hypot and __ieee754_hypotf multiarch implementations. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c: + New file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c: + New file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file: + multiarch __ieee754_hypot for PowerPC32. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c: + New file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c: + New file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file: + multiarch __ieee754_hypotf for PowerPC32. + + * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define + long_double_symbol only if __logbl is defined. + * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ... + * sysdeps/powerpc/power7/fpu/s_logb.c: ... here. + * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ... + * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here. + * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ... + * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here. + * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new + path for implementation. + * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise. + * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf, + logb, and logbl multiarch implementations for PowerPC32. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New + file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New + file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file: + multiarch logb for PowerPC32. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New + file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New + file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file: + multiarch logbf for PowerPC32. + * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New + file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file: + multiarch logbl implementation for PowerPC32. + + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf + and modff multiarch implementations. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c: + New file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c: + New file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file: + multiarch modf for PowerPC32. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c: + New file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c: + New file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file: + multiarch modff for PowerPC32. + + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint + and lrintf multiarch implementations. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S: + New file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S: + New file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file: + multiarch lrint for PowerPC32. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New + file: multiarch lrintf for PowerPC32. + + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround + and lroundf multiarch implementations. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S: + New file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S: + New file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S: + New file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file: + multiarch lround for PowerPC32. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New + file: multiarch lroundf for PowerPC32. + + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add + copysign and copysignf multiarch implementations. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S: + New file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S: + New file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New + file: multiarch copysign for PowerPC32. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New + file: multiarch copysignf for PowerPC32. + + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc + and truncf multiarch implementations. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S: + New file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New + file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file: + multiarch trunc for PowerPC32. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S: + New file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S: + New file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file: + multiarch truncf for PowerPC32. + + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round + and roundf multiarch implementations. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S: + New file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New + file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file: + multiarch round for PowerPC32. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S: + New file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S: + New file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file: + multiarch roundf for PowerPC32. + + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor + and floorf multiarch implementations. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S: + New file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New + file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file: + multiarch floor for PowerPC32. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S: + New file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S: + New file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file: + multiarch floorf for PowerPC32. + + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil + and ceilf multiarch implementations. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S: + New file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New + file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file: + multiarch ceil for PowerPC32. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S: + New file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New + file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file: + multiarch ceilf for PowerPC32. + + * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE + is defined. + * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if + FINITEF is defined. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite + and finitef multiarch implementations. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S: + New file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New + file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file: + multiarch finite for PowerPC32. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c: + New file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New + file: multiarch finitef for PowerPC32. + + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf + and isinff multiarch implementations. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New + file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New + file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file: + multiarch isinf for PowerPC32. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c: + New file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file: + multiarch isinff for PowerPC32. + + * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement + alias when __isnan is defined. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan + and isnanf multiarch implementations. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New + file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New + file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New + file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New + file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file: + multiarch isnan for PowerPC32. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S: + New file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S: + New file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file: + multiarch isnanf for PowerPC32. + + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt + and sqrtf multiarch implementations. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New + file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New + file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file: + multiarch sqrt for PowerPC32. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New + file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New + file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file: + multiarch sqrtf for PowerPC32. + + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround + and llroundf multiarch implementations. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S: + New file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S: + New file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S: + New file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New + file: multiarch llround for PowerPC32. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New + file: multiarch llroundf for PowerPC32. + + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file: + multiarch PowerPC32 fpu implementations. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S: + New file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S: + New file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file: + multiarch llrint for PowerPC32. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S: + New file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S: + New file. + * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New + file. + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove. + + * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New + file. + * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New + file. + * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New + file. + * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file: + multiarch wordcopy for PPC32. + * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy + wordcopy objects. + * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list + (__libc_ifunc_impl_list): Likewise. + * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ... + * sysdeps/powerpc/power4/wordcopy.c: ... to here. + * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ... + * sysdeps/powerpc/power6/wordcopy.c: ... to here. + * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file. + * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise. + + * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name + * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New + file. + * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New + file. + * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New + file. + * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file: + multiarch wcscpy for PPC32. + * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy + multiarch objects. + * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list + (__libc_ifunc_impl_list): Likewise. + * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ... + * sysdeps/powerpc/power6/wcsrchr.c: ... to here. + * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use + sysdeps/powerpc/power6/wcscpy.c. + + * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name + * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New + file. + * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New + file. + * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New + file. + * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file: + multiarch wcsrchr for PPC32. + * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr + multiarch objects. + * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list + (__libc_ifunc_impl_list): Likewise. + * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ... + * sysdeps/powerpc/power6/wcsrchr.c: ... to here. + * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use + sysdeps/powerpc/power6/wcsrchr.c. + + * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New + file. + * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New + file. + * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file. + * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file: + multiarch wcschr for PPc32. + * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr + multiarch objects. + * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list + (__libc_ifunc_impl_list): Likewise. + * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ... + * sysdeps/powerpc/power6/wcschr.c: ... to here. + * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use + sysdeps/powerpc/power6/wcschr.c. + + * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file. + * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New + file. + * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file. + * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New + file: multiarch strchr for PPC32. + * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr + multiarch objects. + * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list + (__libc_ifunc_impl_list): Likewise. + + * string/strchrnul.c (__strchrnul): Using macro to redefine symbol + name. + * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New + file. + * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New + file. + * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file: + multiarch strchrnul for PPC32. + * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul + multiarch objects. + * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list + (__libc_ifunc_impl_list): Likewise. + + * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New + file. + * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file: + multiarch strncasecmp for PPC32. + * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New + file. + * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file: + multiarch strncasecmp_l for PPC32. + * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added + strncasecmp multiarch objects. + * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list + (__libc_ifunc_impl_list): Likewise. + + * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New + file. + * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file: + multiarch strncasecmp for PPC32. + * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S: + New file. + * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file: + multiarch strcasecmp_l for PPC32. + * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp + multiarch objects. + * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list + (__libc_ifunc_impl_list): Likewise. + + * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New + file. + * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New + file. + * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file: + multiarch strncmp for PPC32. + * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp + multiarch objects. + * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list + (__libc_ifunc_impl_list): Likewise. + + * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file. + * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New + file. + * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file. + * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file. + * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen + multiarch objects. + * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list + (__libc_ifunc_impl_list): Likewise. + + * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New + file. + * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New + file. + * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file. + * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen + multiarch objects. + * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list + (__libc_ifunc_impl_list): Likewise. + + * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New + file. + * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New + file. + * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file: + multiarch rawmemchr for PPC32. + * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr + multiarch objects. + * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list + (__libc_ifunc_impl_list): Likewise. + + * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New + file. + * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New + file. + * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New + file: memrchr multiarch for PPC32. + * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr + multiarch objects. + * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list + (__libc_ifunc_impl_list): Likewise. + + * string/memchr.c (__memchr): Using macro to redefine symbol name. + * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New + file. + * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File. + * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file: + multiarch memchr for PPC32. + * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr + multiarch objects. + * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Likewise. + + * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name. + * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New + file. + * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New + file. + * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New + file: multiarch mempcpy for PPC32. + * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy + multiarch objects. + * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Likewise. + + * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file. + * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file. + * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file. + * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file: + multiarch bzero for PPC32. + * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New + file. + * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New + file. + * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file. + * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New + file: multiarch memset for PPC32. + * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file. + * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and + memset multiarch objects. + * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Likewise. + + * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New + file. + * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file. + * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch + memcmp for PPC32. + * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file. + * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp + multiarch objects. + * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Likewise. + + * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file. + * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file. + * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New + file. + * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New + file. + * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New + file. + * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file: + multiarch memcpy for PPC32. + * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy + multiarch objects. + * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Likewise. + + * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to + support multiarch for POWER/PPC32. + * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c: + Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove + Implies file to make multiarch folder appers before the fpu and + default folder for power4 configuration. + +2013-12-06 Siddhesh Poyarekar + + * scripts/bench.pl: Append volatile keyword to type. + +2013-12-05 Kaz Kojima + + * sysdeps/sh/sotruss-lib.c: New file. + * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file. + +2013-12-05 Adhemerval Zanella + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2013-12-05 Joseph Myers + + [BZ #6810] + * math/w_tgamma.c: Include . + (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0. + * math/w_tgammaf.c: Include . + (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0. + * math/w_tgammal.c: Include . + (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0. + * math/auto-libm-test-in: Do not allow missing errno on tgamma + underflow. Add more tgamma tests. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + * math/auto-libm-test-in: Add tests of log, log10, log1p, log2, + sin, sinh, tan, tanh, tgamma, y0 and y1. + * math/auto-libm-test-out: Regenerated. + * math/libm-test.inc (TEST_COND_x86_64): New macro. + (TEST_COND_x86): Likewise. + (M_E2l): Remove macro. + (M_E3l): Likewise. + (M_2_SQRT_PIl): Likewise. + (M_SQRT_PIl): Likewise. + (M_1_DIV_El): Likewise. + (log_test_data): Use AUTO_TESTS_f_f. + (log10_test_data): Likewise. + (log1p_test_data): Likewise. + (log2_test_data): Likewise. + (sin_test_data): Likewise. + (sin_tonearest_test_data): Likewise. + (sin_towardzero_test_data): Likewise. + (sin_downward_test_data): Likewise. + (sin_upward_test_data): Likewise. + (sinh_test_data): Likewise. + (sinh_tonearest_test_data): Likewise. + (sinh_towardzero_test_data): Likewise. + (sinh_downward_test_data): Likewise. + (sinh_upward_test_data): Likewise. + (tan_test_data): Likewise. + (tan_tonearest_test_data): Likewise. + (tan_towardzero_test_data): Likewise. + (tan_downward_test_data): Likewise. + (tan_upward_test_data): Likewise. + (tanh_test_data): Likewise. + (tgamma_test_data): Likewise. + (y0_test_data): Likewise. + (y1_test_data): Likewise. + * math/gen-auto-libm-tests.c (special_fill_pi_4): New function. + (special_real_inputs): Add pi/4. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2013-12-05 Adhemerval Zanella + + * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and + "longjmp_target" static probes. + (__longjmp): Rename to __longjmp_symbol. + * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise. + * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based + on which longjmp to generate. + * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static + probe. + (__sigsetjmp): Rename to __sigsetjmp_symbol. + (__sigjmp_save): Rename to __sigjmp_save_symbol. + * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol + and __sigjmp_save_symbol based on which sigsetjmp to generated. + * sysdeps/powerpc/powerpc32/setjmp.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define + __longjmp_symbol based on which __longjmp to generate. + * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static + probe. + (setjmp): Rename to setjmp_symbol. + (__sigsetjmp): Rename to __sigsetjmp_symbol. + (_setjmp): Rename to _setjmp_symbol. + (__sigsetjmp): Rename to __sigsetjmp_symbol. + * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol, + _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on + which setjmp to generate. + * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and + "longjmp_target" static probes. + +2013-12-05 Siddhesh Poyarekar + + * benchtests/README: Add note about output arguments. + * benchtests/bench-sincos.c: Remove file. + * benchtests/sincos-inputs: New file. + * scripts/bench.pl: Identify output arguments and define + static variables for them. + + * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables. + + [BZ #15941] + * Makefile (INSTALL): Add install-plain.texi as the primary + dependency. + * manual/install-plain.texi: New file. + * manual/install.texi: Include node directive only for + non-plaintext output. + +2013-12-04 Joseph Myers + + * stdlib/longlong.h: Update from GCC. + + [BZ #6807] + [BZ #15901] + * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument. + * math/w_j0f.c (y0f): Likewise. + * math/w_j0l.c (__y0l): Likewise. + * math/w_j1.c (y1): Likewise. + * math/w_j1f.c (y1f): Likewise. + * math/w_j1l.c (__y1l): Likewise. + * math/w_jn.c (yn): Likewise. + * math/w_jnf.c (ynf): Likewise. + * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for + Bessel function pole errors in _POSIX_ mode. Use NAN as return + value for Bessel function domain errors outside _SVID_ mode. + Adjust sign of return value for yn (negative integer, 0). + * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division + by zero in return for negative x and set sign appropriately for + negative n. + * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise. + * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise. + * math/libm-test.inc (y0_test_data): Add more tests and adjust + expectations in error cases. + (y1_test_data): Likewise. + (yn_test_data): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2013-11-12 Ulrich Weigand + + * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename + "64" to "64-v1". Add "64-v2". + (abi-64-options): Rename to ... + (abi-64-v1-options): ... this. Redefine _CALL_ELF. + (abi-64-condition): Rename to ... + (abi-64-v1-condition): ... this. Add _CALL_ELF check., + (abi-64-ld-soname): Rename to ... + (abi-64-v1-ld-soname): ... this. + (abi-64-v2-options): Define. + (abi-64-v2-condition): Likewise. + (abi-64-v2-ld-soname): Likewise. + * sysdeps/unix/sysv/linux/powerpc/ldconfig.h + (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2". + * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate. + +2013-11-12 Ulrich Weigand + Alan Modra + + * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval): + New versions for use with the ELFv2 ABI. + (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes. + * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward + declaration. + (struct La_ppc64v2_retval): Likewise. + (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter. + (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit. + * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define + to ppc64v2_gnu_pltenter if _CALL_ELF == 2. + (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2. + * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve): + Do not save or restore CR. + (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2. + (_dl_profile_resolve): Do no save or restore CR. Support extended + return values for ELFv2 ABI. Fix location of FPR return registers. + * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide + updated values for _CALL_ELF == 2. + (La_regs, La_retval, int_retval): Likewise. + +2013-12-04 Ulrich Weigand + + * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define. + (FRAME_MIN_SIZE_PARM): Likewise. + (FRAME_BACKCHAIN): Likewise. + (FRAME_CR_SAVE): Likewise. + (FRAME_LR_SAVE): Likewise. + (FRAME_TOC_SAVE): Likewise. + (FRAME_PARM_SAVE): Likewise. + (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE, + FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE, + FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise. + (call_mcount_parm_offset): New macro. + (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it. + (PROF): Use symbolic stack frame offsets. + (TAIL_CALL_SYSCALL_ERROR): Likewise. + * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS): + Redefine in terms of FRAME_MIN_SIZE. + (_dl_runtime_resolve): Use symbolic stack frame offsets. + (_dl_profile_resolve): Likewise. Update comment. + * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use + symbols stack frame offsets. + (__sigsetjmp): Likewise. + * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise. + * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise. + * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise. + * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise. + + * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym + (FRAME_BACKCHAIN): Remove. + (FRAME_CR_SAVE): Likewise. + (FRAME_LR_SAVE): Likewise. + (FRAME_COMPILER_DW): Likewise. + (FRAME_LINKER_DW): Likewise. + (FRAME_TOC_SAVE): Likewise. + (FRAME_PARM_SAVE): Likewise. + (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE) + (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE) + (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S + (CHECK_SP): Use symbolic stack frame offsets. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red + zone" instead of caller's parameter save area for temp storage. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone): + Likewise. Also, use symbolic stack frame offsets. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE, + stackblock): Redefine for _CALL_ELF == 2 to save parameters into + our own stack frame instead of the caller's. + (__socket): Use symbolic stack frame offsets. + +2013-12-04 Ulrich Weigand + Alan Modra + + * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC): + Define. + (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK) + (PPC64_LOCAL_ENTRY_OFFSET): Define. + * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset): + New function. + (elf_machine_fixup_plt): Call it. + (elf_machine_plt_conflict): Likewise. Add map, sym_map, and + reloc arguments. + (elf_machine_rela): Update call to elf_machine_plt_conflict. + * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve) + (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into + r2 before calling target. + +2013-12-04 Ulrich Weigand + Alan Modra + + * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2] + (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New + versions of macros to support ELFv2 ABI. + (LOCALENTRY): New macro. + (ENTRY, EALIGN): Use it. + * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY. + * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not + fall through into ENTRY entry point. + * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc): + Only define if _CALL_ELF != 2. + + (elf_machine_matches_host): Verify ABI version matches. + (RTLD_START): Use LOCALENTRY. + (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI. + (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2. + (PLT_ENTRY_WORDS): New macro. + (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise. + (elf_machine_runtime_setup): Support ELFv2 ABI. + (elf_machine_fixup_plt): Likewise. + (elf_machine_plt_conflict): Likewise. + (resolve_ifunc): Likewise. + * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h + (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S + (makecontext): Support ELFv2 ABI. + * elf/elf.h (EF_PPC64_ABI): Define. + +2013-12-04 Ulrich Weigand + + * sysdeps/powerpc/powerpc64/sysdep.h + (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro. + (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ... + (ENTRY) [ASSEMBLER]: ... but instead here ... + (EALIGN) [ASSEMBLER]: ... and here. + (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro. + (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry. + (ENTRY_2) [!ASSEMBLER]: Use it. + * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for + ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR. + * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve) + (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR. + * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone): + Use PPC64_LOAD_FUNCPTR. + + * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field. + +2013-12-04 Alan Modra + + * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define. + (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise. + (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise. + (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise. + + * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add + overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA, + R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA. + Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA, + R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations. + Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32. + +2013-12-04 Ulrich Weigand + + * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S + (__makecontext): Fix incorrect CFI when backtracing out of + context created via makecontext. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S + (__setcontext): Fix incorrect CFI during switch to new context. + (__novec_setcontext): Likewise. + +2013-12-04 Ondƙej BĂ­lka + + [BZ #4772] + * time/strptime_l.c (__strptime_internal): Allow modifiers + in strptime. + * time/tst-strptime.c (day_tests): Add testcase. + +2013-12-04 Siddhesh Poyarekar + + * scripts/bench.pl: Skip over blank lines. + +2013-12-04 Paul Eggert + + [BZ #926] + * manual/time.texi (Calendar Time): Clarify what timezone functions + use. + +2013-12-04 Adhemerval Zanella + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2013-12-04 Ondƙej BĂ­lka + + * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom + implementation. + * debug/memmove_chk.c (MEMMOVE_CHK): Likewise. + * debug/mempcpy_chk.c (__mempcpy_chk): Likewise. + * debug/memset_chk.c (__memset_chk): Likewise. + * debug/stpncpy_chk.c (__stpncpy_chk): Likewise. + * debug/strncpy_chk.c: Likewise. + +2013-12-03 Joseph Myers + + [BZ #15268] + [BZ #15425] + * sysdeps/ieee754/dbl-64/e_exp.c: Include . + (__ieee754_exp): For possibly underflowing results, check size of + result and force underflow exception if required. + * math/auto-libm-test-in: Add more tests of exp. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + [BZ #16283] + * math/w_exp2.c (__exp2): Handle a zero result as underflow. + * math/w_exp2f.c (__exp2f): Likewise. + * math/w_exp2l.c (__exp2l): Likewise. + * math/auto-libm-test-in: Do not allow missing errno on exp2 + underflow. + * math/auto-libm-test-out: Regenerated. + +2013-12-03 Ondƙej BĂ­lka + + [BZ #16274] + * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly + handle filename validation. + * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails. + (do_open): Delete. + +2013-12-03 Joseph Myers + + [BZ #6786] + * sysdeps/ieee754/dbl-64/s_erf.c: Include and . + (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny. + * sysdeps/ieee754/flt-32/s_erff.c: Include and + . + (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny. + * sysdeps/ieee754/ldbl-128/s_erfl.c: Include . + (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny. + * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include . + (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny. + * sysdeps/ieee754/ldbl-96/s_erfl.c: Include . + (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny. + * math/auto-libm-test-in: Don't allow missing errno from erfc. + Add more erfc tests. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10, + exp2, expm1, j0 and j1. + * math/auto-libm-test-out: Regenerated. + * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f. + (erfc_test_data): Likewise. + (exp_test_data): Likewise. + (exp_tonearest_test_data): Likewise. + (exp_towardzero_test_data): Likewise. + (exp_downward_test_data): Likewise. + (exp_upward_test_data): Likewise. + (exp10_test_data): Likewise. + (exp2_test_data): Likewise. + (expm1_test_data): Likewise. + (j0_test_data): Likewise. + (j1_test_data): Likewise. + * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment. + (input_flag_type): Add flag_xfail_rounding. + (input_flags): Add xfail-rounding. + (adjust_real): Assert mpfr_number_p not mpfr_regular_p. + (output_for_one_input_case): Handle flag_xfail_rounding. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2013-12-03 Aurelien Jarno + + [BZ #16289] + * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid + division by 0. + +2013-12-03 Siddhesh Poyarekar + + [BZ #16195] + * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__] + (LIBC_PROBE): Change definition to call STAP_PROBE* macros. + (STAP_PROBE0): New macro. + (STAP_PROBE1): Likewise. + (STAP_PROBE2): Likewise. + (STAP_PROBE3): Likewise. + (STAP_PROBE4): Likewise. + +2013-12-02 Ondƙej BĂ­lka + + * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close. + +2013-12-02 Steve Ellcey + + * benchtests/Makefile (bench): Add sqrt. + (LDLIBS-bench-sqrt): New. + * benchtests/sqrt-input: New. + +2013-12-02 Pavel Simerda + + * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro. + (GAIH_EAI): Likewise. + (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC. + (gaih_inet): Likewise. + (getaddrinfo): Don't use GAIH_EAI. + + * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro. + (struct gaih): Remove definition. + +2013-12-02 Siddhesh Poyarekar + + * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r): + Use HERRNOP directly. + +2013-12-02 Adhemerval Zanella + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2013-11-30 Joseph Myers + + * math/gen-auto-libm-tests.c (test_functions): Add more + single-argument functions. + (special_fill_pi_2): New function. + (special_fill_minus_pi_2): Likewise. + (special_fill_pi_6): Likewise. + (special_fill_minus_pi_6): Likewise. + (special_fill_pi_3): Likewise. + (special_fill_2pi_3): Likewise. + (special_fill_e): Likewise. + (special_fill_1_e): Likewise. + (special_fill_e_minus_1): Likewise. + (special_real_inputs): Add more special inputs. + (output_for_one_input_case): Do not require ERANGE on underflow to + zero if round-to-nearest result does not underflow to zero, unless + exact results required. + * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh, + atan, atanh, cbrt, cos and cosh. + * math/auto-libm-test-out: Regenerated. + * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f. + (acos_tonearest_test_data): Likewise. + (acos_towardzero_test_data): Likewise. + (acos_downward_test_data): Likewise. + (acos_upward_test_data): Likewise. + (acosh_test_data): Likewise. + (asin_test_data): Likewise. + (asin_tonearest_test_data): Likewise. + (asin_towardzero_test_data): Likewise. + (asin_upward_test_data): Likewise. + (asinh_test_data): Likewise. + (atan_test_data): Likewise. + (atanh_test_data): Likewise. + (cbrt_test_data): Likewise. + (cos_test_data): Likewise. + (cos_tonearest_test_data): Likewise. + (cos_towardzero_test_data): Likewise. + (cos_downward_test_data): Likewise. + (cos_upward_test_data): Likewise. + (cosh_test_data): Likewise. + (cosh_tonearest_test_data): Likewise. + (cosh_towardzero_test_data): Likewise. + (cosh_downward_test_data): Likewise. + (cosh_upward_test_data): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2013-11-29 Joseph Myers + + [BZ #6787] + * math/w_exp10.c (__exp10): Handle a zero result as underflow. + * math/w_exp10f.c (__exp10f): Likewise. + * math/w_exp10l.c (__exp10l): Likewise. + * math/libm-test.inc (exp10_test_data): Add more tests and expect + errno settings in existing tests. + + [BZ #14032] + * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with + precision control set to double precision. + * sysdeps/i386/fpu/w_sqrt.c: New file. + * math/auto-libm-test-in: Add more tests. + * math/auto-libm-test-out: Update. + + * math/libm-test.inc (sqrt_tonearest_test_data): New variable. + (sqrt_test_tonearest): New function. + (sqrt_towardzero_test_data): New variable. + (sqrt_test_towardzero): New function. + (sqrt_downward_test_data): New variable. + (sqrt_test_downward): New function. + (sqrt_upward_test_data): New variable. + (sqrt_test_upward): New function. + (main): Call the new functions. + + * math/gen-auto-libm-tests.c: New file. + * math/auto-libm-test-in: Likewise. + * math/auto-libm-test-out: New generated file. + * math/gen-libm-test.pl ($auto_input, %auto_tests): New global + variables. + (%beautify): Add generated representations of zero. + (top level): Set $auto_input and call parse_auto_input. + (beautify): Remove trailing "f" from hex float constants. + (parse_args): Handle XFAIL_TEST. + (convert_condition): New function. + (or_value): Likewise. + (or_cond_value): Likewise. + (generate_testfile): Handle AUTO_TESTS_* lines. + (parse_auto_input): New function. + * math/libm-test.inc (XFAIL_TEST): New macro. + (ERRNO_UNCHANGED): Update value. + (ERRNO_EDOM): Likewise. + (ERRNO_ERANGE): Likewise. + (IGNORE_RESULT): Likewise. + (TEST_COND_flt_32): New macro. + (TEST_COND_dbl_64): Likewise. + (TEST_COND_ldbl_96_intel): Likewise. + (TEST_COND_ldbl_96_m68k): Likewise. + (TEST_COND_ldbl_128): Likewise. + (TEST_COND_ldbl_128ibm): Likewise. + (TEST_COND_long32): Likewise. + (TEST_COND_long64): Likewise. + (TEST_COND_before_rounding): Likewise. + (TEST_COND_after_rounding): Likewise. + (enable_test): Handle XFAIL_TEST flag. + (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs + with finite results. + * math/Makefile ($(objpfx)libm-test.stmp): Depend on + auto-libm-test-out. + +2013-11-29 Siddhesh Poyarekar + Andreas Krebbel + + [BZ #16214] + * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke + __tls_get_addr_internal instead of __tls_get_offset in order to + avoid GOT pointer dependency. Make rtld export + __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding + __tls_get_addr since we are a __tls_get_offset platform. + * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on + GOT pointer being set up before. + * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise. + +2013-11-28 Joseph Myers + + * manual/math.texi (Errors in Math Functions): Document accuracy + goals. + + [BZ #15004] + * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file. + * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise. + + * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file. + * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise. + * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise. + * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise. + * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c: + Likewise. + * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c: + Likewise. + * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c: + Likewise. + * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise. + * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp] + (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept, + atomic-feupdateenv and flt-rounds. + * sysdeps/powerpc/nofpu/Versions (libc): Add + __atomic_feholdexcept, __atomic_feclearexcept, + __atomic_feupdateenv and __flt_rounds to GLIBC_2.19. + * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h + (__feraiseexcept_soft): Declare and use libc_hidden_proto here. + * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c + (__feraiseexcept_soft): Don't declare and use libc_hidden_proto + here. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist: + Update. + + * manual/arith.texi (FP Exceptions): Document that exceptions may + not be raised when matherr is used. + (Math Error Reporting): Document overflow in directed rounding + modes. Document that errno may not be set when finite values are + returned on overflow. Document intent to set errno on underflow + only for underflow to zero. + + [BZ #16271] + * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set + round-to-nearest then adjust result for other rounding modes. + * include/fenv.h (fegetround): Use libm_hidden_proto. + * math/fegetround.c (fegetround): Use libm_hidden_def. + * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise. + * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise. + * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise. + * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround): + Likewise. + * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise. + * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise. + * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise. + * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise. + +2013-11-28 Siddhesh Poyarekar + + [BZ #16077] + * nss/Versions (libnss_files): Add + _nss_files_gethostbyname3_r. + * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r): + New function. + (HOST_DB_LOOKUP): Remove macro. + (_nss_files_gethostbyname_r): Implement function without the + HOST_DB_LOOKUP macro. + (_nss_files_gethostbyname2_r): Likewise. + +2013-11-28 Ondƙej BĂ­lka + + * malloc/malloc.c (__libc_calloc): Make memset a tail call. + +2013-11-26 Uros Bizjak + + * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against + _FP_W_TYPE_SIZE to avoid "left shift count >= width of type" + warning. + +2013-11-26 Adhemerval Zanella + + * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use + __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call. + * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise. + * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise. + * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to + __fe_nomask_env_priv and attribute_hidden. + * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise. + (libc_feupdateenv_test_ppc): Likewise. + (libc_feresetround_ppc): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c + (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust + compat_symbol macro. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c + (__fe_nomask_env): Likewise. + * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise. + +2013-11-26 Ondƙej BĂ­lka + + * string/Makefile: Remove ifunc tests. + * string/test-string.h: Define TEST_IFUNC. + * string/test-bcopy-ifunc.c: Remove. + * string/test-bzero-ifunc.c: Likewise. + * string/test-memccpy-ifunc.c: Likewise. + * string/test-memchr-ifunc.c: Likewise. + * string/test-memcmp-ifunc.c: Likewise. + * string/test-memcpy-ifunc.c: Likewise. + * string/test-memmem-ifunc.c: Likewise. + * string/test-memmove-ifunc.c: Likewise. + * string/test-mempcpy-ifunc.c: Likewise. + * string/test-memrchr-ifunc.c: Likewise. + * string/test-memset-ifunc.c: Likewise. + * string/test-rawmemchr-ifunc.c: Likewise. + * string/test-stpcpy-ifunc.c: Likewise. + * string/test-stpncpy-ifunc.c: Likewise. + * string/test-strcasecmp-ifunc.c: Likewise. + * string/test-strcasestr-ifunc.c: Likewise. + * string/test-strcat-ifunc.c: Likewise. + * string/test-strchr-ifunc.c: Likewise. + * string/test-strchrnul-ifunc.c: Likewise. + * string/test-strcmp-ifunc.c: Likewise. + * string/test-strcpy-ifunc.c: Likewise. + * string/test-strcspn-ifunc.c: Likewise. + * string/test-strlen-ifunc.c: Likewise. + * string/test-strncasecmp-ifunc.c: Likewise. + * string/test-strncat-ifunc.c: Likewise. + * string/test-strncmp-ifunc.c: Likewise. + * string/test-strncpy-ifunc.c: Likewise. + * string/test-strnlen-ifunc.c: Likewise. + * string/test-strpbrk-ifunc.c: Likewise. + * string/test-strrchr-ifunc.c: Likewise. + * string/test-strspn-ifunc.c: Likewise. + * string/test-strstr-ifunc.c: Likewise. + +2013-11-26 Ondƙej BĂ­lka + + * benchtests/Makefile: Remove ifunc tests. + * benchtests/bench-string.h: Define TEST_IFUNC. + * benchtests/bench-bcopy-ifunc.c: Remove. + * benchtests/bench-bzero-ifunc.c: Likewise. + * benchtests/bench-memccpy-ifunc.c: Likewise. + * benchtests/bench-memchr-ifunc.c: Likewise. + * benchtests/bench-memcmp-ifunc.c: Likewise. + * benchtests/bench-memcpy-ifunc.c: Likewise. + * benchtests/bench-memmem-ifunc.c: Likewise. + * benchtests/bench-memmove-ifunc.c: Likewise. + * benchtests/bench-mempcpy-ifunc.c: Likewise. + * benchtests/bench-memrchr-ifunc.c: Likewise. + * benchtests/bench-memset-ifunc.c: Likewise. + * benchtests/bench-rawmemchr-ifunc.c: Likewise. + * benchtests/bench-stpcpy_chk-ifunc.c: Likewise. + * benchtests/bench-stpcpy-ifunc.c: Likewise. + * benchtests/bench-stpncpy-ifunc.c: Likewise. + * benchtests/bench-strcasecmp-ifunc.c: Likewise. + * benchtests/bench-strcasestr-ifunc.c: Likewise. + * benchtests/bench-strcat-ifunc.c: Likewise. + * benchtests/bench-strchr-ifunc.c: Likewise. + * benchtests/bench-strchrnul-ifunc.c: Likewise. + * benchtests/bench-strcmp-ifunc.c: Likewise. + * benchtests/bench-strcpy_chk-ifunc.c: Likewise. + * benchtests/bench-strcpy-ifunc.c: Likewise. + * benchtests/bench-strcspn-ifunc.c: Likewise. + * benchtests/bench-strlen-ifunc.c: Likewise. + * benchtests/bench-strncasecmp-ifunc.c: Likewise. + * benchtests/bench-strncat-ifunc.c: Likewise. + * benchtests/bench-strncmp-ifunc.c: Likewise. + * benchtests/bench-strncpy-ifunc.c: Likewise. + * benchtests/bench-strnlen-ifunc.c: Likewise. + * benchtests/bench-strpbrk-ifunc.c: Likewise. + * benchtests/bench-strrchr-ifunc.c: Likewise. + * benchtests/bench-strsep-ifunc.c: Likewise. + * benchtests/bench-strspn-ifunc.c: Likewise. + * benchtests/bench-strstr-ifunc.c: Likewise. + +2013-11-26 Ondƙej BĂ­lka + + * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo. + +2013-11-26 Ondƙej BĂ­lka + + * resolv/netdb.h: Use __glibc_reserved instead __unused. + * rt/aio.h: Likewise. + * sysdeps/gnu/bits/utmp.h: Likewise. + * sysdeps/gnu/bits/utmpx.h: Likewise. + * sysdeps/gnu/netinet/ip_icmp.h: Likewise. + * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise. + * sysdeps/unix/sysv/linux/bits/msq.h: Likewise. + * sysdeps/unix/sysv/linux/bits/sem.h: Likewise. + * sysdeps/unix/sysv/linux/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise. + * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise. + * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise. + * sysdeps/unix/sysv/linux/sys/timex.h: Likewise. + * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise. + * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise. + * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/xstatconv.c: Likewise. + * sysdeps/x86/fpu/bits/fenv.h: Likewise. + +2013-11-25 Carlos O'Donell + + [BZ #16245] + * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): + Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP. + +2013-11-25 Joseph Myers + + * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro. + * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround): + Likewise. + +2013-11-25 Adhemerval Zanella + + * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use + SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv. + * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define. + (__fesetround): Remove define. + * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point + rounding and exceptions handling. + * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h. + * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden. + (__fe_nomask_env): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use + __fegetround instead of fegetround. + * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise. + +2013-11-21 Roland McGrath + + * malloc/malloc.c: Move #include to the top; comment why + it's there. + + * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype. + +2013-11-21 Meador Inge + + [BZ #11157] + * crypt/crypt.h (encrypt): Use __glibc_block instead of __block. + (encrypt_r): Likewise. + * malloc/obstack.h (obstack_free): Likewise. + * posix/unistd.h (encrypt): Likewise. + +2013-11-21 Guy Martin + + * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and + DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and + DL_CALL_DT_FINI() that call the functions directly. + * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro. + * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro. + * elf/dl-fini.c: Likewise. + +2013-11-20 Ondƙej BĂ­lka + + * malloc/hooks.c (memalign_check): Add alignment rounding. + * malloc/malloc.c (_mid_memalign): New function. + (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign): + Implement by calling _mid_memalign. + * manual/probes.texi (Memory Allocation Probes): Remove + memory_valloc_retry and memory_pvalloc_retry. + +2013-11-20 Siddhesh Poyarekar + + * locale/programs/locarchive.c (open_archive): Add const + qualifier to ARCHIVEFNAME and copy default fname to + DEFAULT_FNAME. + + [BZ #15601] + * libio/tst-widetext.input: Rename Oriya to Odia. + * locale/iso-639.def: Likewise. + + * manual/probes.texi (Mathematical Function Probes): Add + documentation for sin, cos, asin and acos probes. + * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h. + (__sin32): Add slowasin probe. + (__cos32): Add slowacos probe. + (__mpsin): Add slowsin probe. + (__mpcos): Add slowcos probe. + +2013-11-19 Joseph Myers + + [BZ #15483] + * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to + thread-local __sim_exceptions_thread and global + __sim_exceptions_global. + (__sim_disabled_exceptions): Change to thread-local + __sim_disabled_exceptions_thread and global + __sim_disabled_exceptions_global. + (__sim_round_mode): Change to thread-local __sim_round_mode_thread + and global __sim_round_mode_global. + (__simulate_exceptions): Use thread-local floating-point state and + set global state from it as needed. + * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add + __sim_exceptions_thread, __sim_disabled_exceptions_thread and + __sim_round_mode_thread. + * sysdeps/powerpc/nofpu/soft-supp.h: Include . + (__sim_exceptions): Change to thread-local __sim_exceptions_thread + and global __sim_exceptions_global. + (__sim_disabled_exceptions): Change to thread-local + __sim_disabled_exceptions_thread and global + __sim_disabled_exceptions_global. + (__sim_round_mode): Change to thread-local __sim_round_mode_thread + and global __sim_round_mode_global. + [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro. + (SIM_SET_GLOBAL): Likewise. + * sysdeps/powerpc/soft-fp/sfp-machine.h + [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use + __sim_round_mode_thread. + [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use + __sim_disabled_exceptions_thread. + (__sim_exceptions): Change to __sim_exceptions_thread. + (__sim_disabled_exceptions): Change to + __sim_disabled_exceptions_thread. + (__sim_round_mode): Change to __sim_round_mode_thread. + * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use + thread-local floating-point state and set global state from it as + needed. + * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise. + * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h". + (__sim_disabled_exceptions): Remove extern declaration. + (feenableexcept): Use thread-local floating-point state and set + global state from it as needed. + * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove + extern declaration. + (__sim_disabled_exceptions): Likewise. + (__sim_round_mode): Likewise. + (__fegetenv): Use thread-local floating-point state. + * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise. + * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise. + * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local + floating-point state and set global state from it as needed. + * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise. + * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise. + * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag): + Likewise. + * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise. + * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag): + Likewise. + sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise. + * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode): + Use __sim_round_mode_thread. + * math/test-fenv-tls.c: New file. + * math/Makefile (tests): Add test-fenv-tls. + ($(objpfx)test-fenv-tls): Depend on + $(common-objpfx)nptl/libpthread.so. + +2013-11-19 Andreas Schwab + + * locale/programs/locale.c (show_info): Decode wordarray elements. + * locale/categories.def (LC_MONETARY): Add element for + _NL_MONETARY_CRNCYSTR. + * locale/C-monetary.c (conversion_rate): New variable. + (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE + element. + +2013-11-18 Chris Metcalf + + * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL): + Omit definition of FPU_CONTROL and use default if no _FPU_IEEE. + +2013-11-18 Paul Pluzhnikov + + * elf/Makefile (tst-auxv): New test. + * elf/tst-auxv.c: New + * elf/rtld.c (dl_main): Adjust AT_EXECFN + +2013-11-18 Joseph Myers + + * include/libc-symbols.h (__hidden_proto): Add argument "thread". + (hidden_proto): Caller changed. + (hidden_tls_proto): New macro. + (libc_hidden_tls_proto): Likewise. + (rtld_hidden_tls_proto): Likewise. + (libm_hidden_tls_proto): Likewise. + (libresolv_hidden_tls_proto): Likewise. + (librt_hidden_tls_proto): Likewise. + (libdl_hidden_tls_proto): Likewise. + (libnss_files_hidden_tls_proto): Likewise. + (libnsl_hidden_tls_proto): Likewise. + (libnss_nisplus_hidden_tls_proto): Likewise. + (libutil_hidden_tls_proto): Likewise. + +2013-11-18 Ondƙej BĂ­lka + + [BZ #10253] + * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path. + (decompose_rpath): Defer expansion to fillin_rpath. + (_dl_init_paths): Pass linkmap to fillin_rpath. + +2013-11-18 Rajalakshmi Srinivasaraghavan + + * benchtests/Makefile: Add strsep. + * benchtests/bench-strsep.c: New file: strsep benchtest. + * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest. + +2013-11-18 Andreas Schwab + + * locale/programs/locale.c (show_info) [case byte]: Check for + '\377' instead of '\177'. + * locale/C-monetary.c (not_available): Always use "\377". + * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for + unspecified p_sign_posn and n_sign_posn. Check for '\377' to + detect unavailable sign_posn locale elements. + * locale/localeconv.c (__localeconv): For grouping and + mon_grouping handle "\177" and "\377" like no grouping. + (INT_ELEM): New macro. Use it to set all numeric members. + * locale/programs/ld-monetary.c (monetary_read) + : Normalize single -1 to the empty string. + * locale/programs/ld-numeric.c (numeric_read) : + Likewise. + +2013-11-07 Ondƙej BĂ­lka + + [BZ #16055] + * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width + when we match (nil). + * stdio-common/tst-sscanf.c (struct test): Add testcase. + +2013-11-16 Joseph Myers + + * math/libm-test.inc (TEST_NAN_SIGN): New macro. + (NO_TEST_INLINE): Update value. + (ERRNO_UNCHANGED): Likewise. + (ERRNO_EDOM): Likewise. + (ERRNO_ERANGE): Likewise. + (IGNORE_RESULT): Likewise. + (check_float_internal): Check signs of NaN results if + TEST_NAN_SIGN used. + (check_complex): Pass TEST_NAN_SIGN flag through to second + check_float_internal call. + (copysign_test_data): Add tests with quiet NaNs as second + argument. Use TEST_NAN_SIGN. + (fabs_test_data): Add test of negative quiet NaN argument. Use + TEST_NAN_SIGN. + (signbit_test_data): Add tests of quiet NaN argument. + * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN. + + * math/gen-libm-test.pl (show_exceptions): Take extra argument + $ignore_result. + (parse_args): Handle function results specified as IGNORE. + * math/libm-test.inc (IGNORE_RESULT): New macro. + (check_float_internal): Do not check numerical result if flag + IGNORE_RESULT set. + (check_complex): Pass through IGNORE_RESULT to second + check_float_internal call. + (check_int): Do not check numerical result if flag IGNORE_RESULT + set. + (check_long): Likewise. + (check_bool): Likewise. + (check_longlong): Likewise. + (lrint_test_data): Add tests of infinite and NaN arguments. + (lrint_tonearest_test_data): Likewise. + (lrint_towardzero_test_data): Likewise. + (lrint_downward_test_data): Likewise. + (lrint_upward_test_data): Likewise. + (llrint_test_data): Likewise. + (llrint_tonearest_test_data): Likewise. + (llrint_towardzero_test_data): Likewise. + (llrint_downward_test_data): Likewise. + (llrint_upward_test_data): Likewise. + (lround_test_data): Likewise. + (llround_test_data): Likewise. + + * math/libm-test.inc (NO_TEST_INLINE): New macro. + (ERRNO_UNCHANGED): Update value. + (ERRNO_EDOM): Likewise. + (ERRNO_ERANGE): Likewise. + (NO_TEST_INLINE_FLOAT): New macro. + (NO_TEST_INLINE_DOUBLE): Likewise. + (enable_test): New function. + (RUN_TEST_f_f): Check enable_test before running test. + (RUN_TEST_2_f): Likewise. + (RUN_TEST_fff_f): Likewise. + (RUN_TEST_c_f): Likewise. + (RUN_TEST_f_f1): Likewise. + (RUN_TEST_fF_f1): Likewise. + (RUN_TEST_fI_f1): Likewise. + (RUN_TEST_ffI_f1): Likewise. + (RUN_TEST_c_c): Likewise. + (RUN_TEST_cc_c): Likewise. + (RUN_TEST_f_i): Likewise. + (RUN_TEST_f_i_tg): Likewise. + (RUN_TEST_ff_i_tg): Likewise. + (RUN_TEST_f_b): Likewise. + (RUN_TEST_f_b_tg): Likewise. + (RUN_TEST_f_l): Likewise. + (RUN_TEST_f_L): Likewise. + (RUN_TEST_fFF_11): Likewise. + (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE] + conditionals. + (cosh_test_data): Likewise. + (exp_test_data): Likewise. + (expm1_test_data): Likewise. + (hypot_test_data): Likewise. + (pow_test_data): Likewise. + (sinh_test_data): Likewise. + (tanh_test_data): Likewise. + * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as + flags argument. + + * libm-test.inc (acos_test_data): Disallow inexact exceptions for + tests with quiet NaN input and output. + (acosh_test_data): Likewise. + (asin_test_data): Likewise. + (asinh_test_data): Likewise. + (atan_test_data): Likewise. + (atanh_test_data): Likewise. + (atan2_test_data): Likewise. + (cbrt_test_data): Likewise. + (cos_test_data): Likewise. + (cosh_test_data): Likewise. + (erf_test_data): Likewise. + (erfc_test_data): Likewise. + (exp_test_data): Likewise. + (exp10_test_data): Likewise. + (exp2_test_data): Likewise. + (expm1_test_data): Likewise. + (hypot_test_data): Likewise. + (j0_test_data): Likewise. + (j1_test_data): Likewise. + (jn_test_data): Likewise. + (lgamma_test_data): Likewise. + (log_test_data): Likewise. + (log10_test_data): Likewise. + (log1p_test_data): Likewise. + (log2_test_data): Likewise. + (pow_test_data): Likewise. + (scalb_test_data): Likewise. + (sin_test_data): Likewise. + (sincos_test_data): Likewise. + (sinh_test_data): Likewise. + (tan_test_data): Likewise. + (tanh_test_data): Likewise. + (tgamma_test_data): Likewise. + (y0_test_data): Likewise. + (y1_test_data): Likewise. + (yn_test_data): Likewise. + + [BZ #16167] + * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first + argument being NaN and avoid computations with second argument in + that case. + * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise. + * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. + * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise. + +2013-11-15 Arun Kumar Pyasi + + * locale/iso-639.def: Add Chitwani Tharu (the). + +2013-11-14 Andreas Schwab + + * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero + word instead of empty string. + +2013-11-13 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c + (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c + (__fe_nomask_env): Likewise. + +2013-11-13 Steve Ellcey + + * benchtests/bench-timing.h: Include time.h. + +2013-11-13 H.J. Lu + + [BZ #15997] + * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set + to 3.4.0 for x32. + * sysdeps/unix/sysv/linux/configure: Regenerated. + +2013-11-13 Joseph Myers + + [BZ #16151] + * stdlib/strtod_l.c (round_and_return): Do not consider + retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an + exponent one less than half the least subnormal exponent. + * stdlib/test-strtod-round-data: Add more tests. + * stdlib/tst-strtod-round.c (tests): Regenerated. + +2013-11-13 Adhemerval Zanella + + [BZ #14143] + * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration. + (__fe_mask_env): Likewise. + * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove + libm_hidden_proto and add function prototype. + (__fe_mask_env): Add function prototype. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c + (__fe_nomask_env): Add compat symbol for GLIBC_2.1. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c + (__fe_mask_env): Remove compiler warnings regarding ununsed variables. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c + (__fe_nomask_env): Add compat symbol for GLIBC_2.3. + +2013-11-13 Marcus Shawcroft + + * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false + set reference_name to "" to avoid passing NULL to DSO_FILENAME. + +2013-11-13 Marcus Shawcroft + + * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure + of htab_find_slot(). + +2013-11-11 David S. Miller + + [BZ #16150] + * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic + symbol in the non-vis3 case in static builds. + * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise. + * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise. + * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise. + * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise. + +2013-11-11 Jan Kratochvil + + [BZ #387] + * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if + it is empty. + +2013-11-11 Adhemerval Zanella + + * benchtests/Makefile: Add bench-strtod. + * benchtests/bench-strtod.c: New file: strtod benchtest + +2013-11-11 Andreas Schwab + + [BZ #16153] + * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include + terminating NUL in key length. + +2013-11-08 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): + Add artificial ODP entry for vDSO symbol for PPC64. + * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes. + * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise. + +2013-11-07 Ondƙej BĂ­lka + + [BZ #15374] + * nss/getent.c (services_keys): Recognize services starting with digit. + +2013-11-06 David S. Miller + + [BZ #15985] + * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd + on pre-v9 cpus, use a fnegs+fmovs sequence instead. + +2013-11-06 Will Newton + + * manual/memory.texi (Malloc Examples): Remove register + keyword from examples. + +2013-11-04 Chris Leonard + + * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm). + +2013-11-04 Joseph Myers + + [BZ #6981] + * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define + depending on [__GCC_IEC_559 > 0]. + [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define + depending on [__GCC_IEC_559_COMPLEX > 0]. + +2013-11-03 Chris Leonard + + * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl) + to iso-639.def. + +2013-11-03 Ondƙej BĂ­lka + + * elf/rtld.c: Remove unused NONTLS_INIT_TP. + +2013-11-01 Ondƙej BĂ­lka + + [BZ #16112] + * malloc/malloc (malloc_info): Do not handle first bin as + special case. + +2013-11-01 Chris Leonard + + * locale/iso-639.def: Add Central Nahuatl (nhn). + +2013-11-01 Bruno Haible + + [BZ #7003] + * manual/math.texi (BSD Random): Specify range upper bound as + in POSIX. + +2013-10-31 Chris Leonard + + * locale/iso-639.def: Add Meadow Mari (mhr). + +2013-10-31 Ondƙej BĂ­lka + + [BZ #14752], [BZ #15763] + * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink): + Validate name. + * rt/tst_shm.c: Add test for escaping directory. + +2013-10-31 Andreas Schwab + + [BZ #15917] + * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not + followed by 'x' as part of digit sequence. + * stdio-common/tst-sscanf.c (double_tests2): New tests. + +2013-10-31 Marc-Antoine Perennou + + [BZ #16037] + * configure.ac: allow GNU Make 4.0 and greater. + * configure: Regenerated. + +2013-10-30 Will Newton + + [BZ #16038] + * malloc/hooks.c (memalign_check): Limit alignment to the + maximum representable power of two. + * malloc/malloc.c (__libc_memalign): Likewise. + * malloc/tst-memalign.c (do_test): Add test for very + large alignment values. + * malloc/tst-posix_memalign.c (do_test): Likewise. + +2013-10-30 Ondƙej BĂ­lka + + [BZ #11087] + * malloc/malloc.c (sysmalloc): Compute statistics atomically. + (munmap_chunk): Likewise. + (mremap_chunk): Likewise. + +2013-10-30 Ondƙej BĂ­lka + + [BZ #15799] + * stdlib/div.c (div): Remove obsolete code. + * stdlib/ldiv.c (ldiv): Likewise. + * stdlib/lldiv.c (lldiv): Likewise. + +2013-10-30 Siddhesh Poyarekar + + [BZ #16071] + * nss/nss_files/files-XXX.c (get_contents_ret): New + enumerator. + (get_contents): New function. + (internal_getent): Use it. Expand size of LINEBUFLEN. + +2013-10-30 Mike Frysinger + + * configure.in: Moved to ... + * configure.ac: ... here. Change reference to configure.in + to configure.ac. + * sysdeps/arm/preconfigure.ac: ... here. + configure.in to configure.ac. + * sysdeps/gnu/configure.in: Moved to ... + * sysdeps/gnu/configure.ac: ... here. + * sysdeps/i386/configure.in: Moved to ... + * sysdeps/i386/configure.ac: ... here. + * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ... + * sysdeps/ieee754/ldbl-opt/configure.ac: ... here. + * sysdeps/mach/configure.in: Moved to ... + * sysdeps/mach/configure.ac: ... here. + * sysdeps/mach/hurd/configure.in: Moved to ... + * sysdeps/mach/hurd/configure.ac: ... here. + * sysdeps/powerpc/configure.in: Moved to ... + * sysdeps/powerpc/configure.ac: ... here. + * sysdeps/powerpc/powerpc32/configure.in: Moved to ... + * sysdeps/powerpc/powerpc32/configure.ac: ... here. + * sysdeps/powerpc/powerpc64/configure.in: Moved to ... + * sysdeps/powerpc/powerpc64/configure.ac: ... here. + * sysdeps/s390/s390-32/configure.in: Moved to ... + * sysdeps/s390/s390-32/configure.ac: ... here. + * sysdeps/s390/s390-64/configure.in: Moved to ... + * sysdeps/s390/s390-64/configure.ac: ... here. + * sysdeps/sh/configure.in: Moved to ... + * sysdeps/sh/configure.ac: ... here. + * sysdeps/sparc/configure.in: Moved to ... + * sysdeps/sparc/configure.ac: ... here. + * sysdeps/unix/sysv/linux/configure.in: Moved to ... + * sysdeps/unix/sysv/linux/configure.ac: ... here. + * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ... + * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here. + * sysdeps/x86_64/configure.in: Moved to ... + * sysdeps/x86_64/configure.ac: ... here. + * sysdeps/x86_64/preconfigure.in: Moved to ... + * sysdeps/x86_64/preconfigure.ac: ... here. + * aclocal.m4: Change reference to configure.in to configure.ac. + * config.h.in: Likewise. + * manual/install.texi: Likewise. + * manual/maint.texi: Likewise. + * Makefile: Likewise. + * malloc/Makefile: Likewise. + * nscd/Makefile: Likewise. + * Makeconfig: Change reference to configure.in and + preconfigure.in to configure.ac and preconfigure.ac + respectively. + * INSTALL: Regenerated. + * configure: Likewise. + * sysdeps/gnu/configure: Likewise. + * sysdeps/i386/configure: Likewise. + * sysdeps/ieee754/ldbl-opt/configure: Likewise. + * sysdeps/mach/configure: Likewise. + * sysdeps/mach/hurd/configure: Likewise. + * sysdeps/powerpc/configure: Likewise. + * sysdeps/powerpc/powerpc32/configure: Likewise. + * sysdeps/powerpc/powerpc64/configure: Likewise. + * sysdeps/s390/s390-32/configure: Likewise. + * sysdeps/s390/s390-64/configure: Likewise. + * sysdeps/sh/configure: Likewise. + * sysdeps/sparc/configure: Likewise. + * sysdeps/unix/sysv/linux/configure: Likewise. + * sysdeps/unix/sysv/linux/powerpc/configure: Likewise. + * sysdeps/x86_64/configure: Likewise. + * sysdeps/x86_64/preconfigure: Likewise. + +2013-10-29 Andreas Schwab + + * stdio-common/Makefile (tst-swscanf-ENV): Define. + +2013-10-28 Siddhesh Poyarekar + + * benchtests/pow-inputs: Add new inputs. + + * benchtests/exp-inputs: Add new inputs. + + * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate + conditional check for return value. + (__cos32): Likewise. + +2013-10-26 Adhemerval Zanella + + * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store + to provide a boost for large inputs with word alignment. + * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite + implementation based on optimized PPC64 strcpy. + * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized + strcpy for PPC64/POWER7 based on both doubleword and word load/store. + * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized + stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy. + +2013-10-25 Ondƙej BĂ­lka + + [BZ #2801] + * manual/socket.texi (Host Names): Fix gethostbyname_r example. + +2013-10-25 Ondƙej BĂ­lka + + [BZ #14876] + * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry. + * time/tst-strptime.c (day_tests): Add testcase. + +2013-10-25 Ondƙej BĂ­lka + + [BZ #14029] + * manual/pattern.texi: Acknowledge that fnmatch can fail. + +2013-10-25 Fabrice Bauzac + + [BZ #16074] + * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns + MAP_FAILED on error. + +2013-10-25 Siddhesh Poyarekar + + [BZ #16072] + * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on + heap for large requests. + +2013-10-25 Aurelien Jarno + + [BZ #9954] + * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native + result if the result has no associated interface. + * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect + interface for all 127.X.Y.Z addresses. + +2013-10-24 Chris Leonard + + * locale/iso-639.def: Add Ligurian (lij) + +2013-10-21 Ondƙej BĂ­lka + + [BZ #15825] + * sunrpc/rpc_main.c: Document rpcgen -5. + +2013-10-19 Michael Stahl + + * elf/rtld.c (do_preload): Print the reason why preloading failed. + +2013-10-19 Ondƙej BĂ­lka + + [BZ #10278] + * posix/glob.c: Match only directories when trailing slash is present. + * posix/tst-gnuglob.c (my_opendir): Do not open files. + (main): Add testcase. + +2013-10-19 Ondƙej BĂ­lka + + [BZ #15670] + * time/tzfile.c (__tzfile_read): Replace alloca with malloc. + +2013-10-18 Carlos O'Donell + + * manual/crypt.texi (Cryptographic Functions): Using SunRPC and + AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for + AUTH_DES and cindex for FIPS 140-2. + (DES Encryption): Add cindex FIPS 46-3. + + * locale/locarchive.h (struct locarhandle): Add fname. + * locale/programs/localedef.c (main): Pass ARGV[remaining] + if an optional argument was specified to --list-archive, + otherwise NULL. + * locale/programs/locarchive.c (show_archive_content): Take new + argument fname and pass it via ah.fname to open_archive. + * locale/programs/localedef.h: Update decl. + (open_archive): If AH->fname is non-null, open that file + rather than the default file name, and don't ignore ENOENT. + (create_archive): Set AH.fname to NULL. + (delete_locales_from_archive): Likewise. + (add_locales_to_archive): Likewise. + * locale/programs/locfile.c (write_all_categories): Likewise. + +2013-10-18 Joseph Myers + Aldy Hernandez + + * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file. + * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise. + * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise. + * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise. + * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise. + * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise. + * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise. + * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise. + * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise. + * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise. + * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise. + * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise. + * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise. + * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise. + * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c: + Likewise. + * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c: + Likewise. + * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c: + Likewise. + * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c: + Likewise. + * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise. + * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c: + Likewise. + * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise. + * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise. + * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise. + * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h: + Likewise. + * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise. + * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise. + * sysdeps/powerpc/preconfigure: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies: + Likewise. + * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]: + Replace contents of file by #include of . + * sysdeps/powerpc/soft-fp/sfp-machine.h + [__NO_FPRS__ && !_SOFT_FLOAT]: Include , + and . + [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare. + [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro. + [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise. + [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise. + [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise. + [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise. + [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise. + [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise. + [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise. + [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise. + [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise. + [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data: + Allow copysignl PLT reference to be missing. + +2013-10-18 Richard Sandiford + Joseph Myers + + [BZ #15948] + * locale/programs/ld-collate.c (new_element): Handle as a + single character. + (add_to_tablewc): Assert sequence of wide characters is nonempty. + +2013-10-18 Siddhesh Poyarekar + + * elf/tst-tls-dlinfo.c: Don't include tls.h. + * elf/tst-tls1.c: Likewise. + * elf/tst-tls10.h: Likewise. + * elf/tst-tls14.c: Likewise. + * elf/tst-tls2.c: Likewise. + * elf/tst-tls3.c: Likewise. + * elf/tst-tls4.c: Likewise. + * elf/tst-tls5.c: Likewise. + * elf/tst-tls6.c: Likewise. + * elf/tst-tls7.c: Likewise. + * elf/tst-tls8.c: Likewise. + * elf/tst-tls9.c: Likewise. + * elf/tst-tlsmod1.c: Likewise. + * elf/tst-tlsmod13.c: Likewise. + * elf/tst-tlsmod13a.c: Likewise. + * elf/tst-tlsmod14a.c: Likewise. + * elf/tst-tlsmod16a.c: Likewise. + * elf/tst-tlsmod16b.c: Likewise. + * elf/tst-tlsmod2.c: Likewise. + * elf/tst-tlsmod3.c: Likewise. + * elf/tst-tlsmod4.c: Likewise. + * elf/tst-tlsmod5.c: Likewise. + * elf/tst-tlsmod6.c: Likewise. + +2013-10-18 Ondƙej BĂ­lka + + [BZ #12486] + * malloc/malloc.c: remove checks for statistics. + +2013-10-17 Ondƙej BĂ­lka + + [BZ #15277] + * inet/inet_net.c (inet_network): Detect additional invalid strings. + * inet/tst-network.c: Add testcase. + +2013-10-17 Andreas Schwab + + [BZ #15218] + * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr + to determine canonical name. + +2013-10-17 Ondƙej BĂ­lka + + * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting. + * sysdeps/ieee754/dbl-64/dla.h: Likewise. + * sysdeps/ieee754/dbl-64/dosincos.c: Likewise. + * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise. + * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. + * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise. + * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise. + * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise. + * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise. + * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise. + * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise. + * sysdeps/ieee754/dbl-64/e_j0.c: Likewise. + * sysdeps/ieee754/dbl-64/e_j1.c: Likewise. + * sysdeps/ieee754/dbl-64/e_jn.c: Likewise. + * sysdeps/ieee754/dbl-64/e_log10.c: Likewise. + * sysdeps/ieee754/dbl-64/e_log2.c: Likewise. + * sysdeps/ieee754/dbl-64/e_log.c: Likewise. + * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise. + * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise. + * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise. + * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise. + * sysdeps/ieee754/dbl-64/halfulp.c: Likewise. + * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise. + * sysdeps/ieee754/dbl-64/MathLib.h: Likewise. + * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise. + * sysdeps/ieee754/dbl-64/mpa.c: Likewise. + * sysdeps/ieee754/dbl-64/mpatan.c: Likewise. + * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise. + * sysdeps/ieee754/dbl-64/mptan.c: Likewise. + * sysdeps/ieee754/dbl-64/mydefs.h: Likewise. + * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise. + * sysdeps/ieee754/dbl-64/s_atan.c: Likewise. + * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise. + * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise. + * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise. + * sysdeps/ieee754/dbl-64/s_erf.c: Likewise. + * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise. + * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise. + * sysdeps/ieee754/dbl-64/s_finite.c: Likewise. + * sysdeps/ieee754/dbl-64/s_floor.c: Likewise. + * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise. + * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise. + * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise. + * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise. + * sysdeps/ieee754/dbl-64/s_llround.c: Likewise. + * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise. + * sysdeps/ieee754/dbl-64/s_logb.c: Likewise. + * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise. + * sysdeps/ieee754/dbl-64/s_modf.c: Likewise. + * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise. + * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise. + * sysdeps/ieee754/dbl-64/s_rint.c: Likewise. + * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise. + * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise. + * sysdeps/ieee754/dbl-64/s_sin.c: Likewise. + * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise. + * sysdeps/ieee754/dbl-64/s_tan.c: Likewise. + * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise. + +2013-10-17 Joseph Myers + + [BZ #16041] + * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN, + make result into a quiet NaN. + +2013-10-16 Joseph Myers + + * soft-fp/adddf3.c: Fix horizontal whitespace. + * soft-fp/addsf3.c: Likewise. + * soft-fp/addtf3.c: Likewise. + * soft-fp/divdf3.c: Likewise. + * soft-fp/divsf3.c: Likewise. + * soft-fp/divtf3.c: Likewise. + * soft-fp/double.h: Likewise. + * soft-fp/eqdf2.c: Likewise. + * soft-fp/eqsf2.c: Likewise. + * soft-fp/eqtf2.c: Likewise. + * soft-fp/extenddftf2.c: Likewise. + * soft-fp/extended.h: Likewise. + * soft-fp/extendsfdf2.c: Likewise. + * soft-fp/extendsftf2.c: Likewise. + * soft-fp/extendxftf2.c: Likewise. + * soft-fp/fixdfdi.c: Likewise. + * soft-fp/fixdfsi.c: Likewise. + * soft-fp/fixdfti.c: Likewise. + * soft-fp/fixsfdi.c: Likewise. + * soft-fp/fixsfsi.c: Likewise. + * soft-fp/fixsfti.c: Likewise. + * soft-fp/fixtfdi.c: Likewise. + * soft-fp/fixtfsi.c: Likewise. + * soft-fp/fixtfti.c: Likewise. + * soft-fp/fixunsdfdi.c: Likewise. + * soft-fp/fixunsdfsi.c: Likewise. + * soft-fp/fixunsdfti.c: Likewise. + * soft-fp/fixunssfdi.c: Likewise. + * soft-fp/fixunssfsi.c: Likewise. + * soft-fp/fixunssfti.c: Likewise. + * soft-fp/fixunstfdi.c: Likewise. + * soft-fp/fixunstfsi.c: Likewise. + * soft-fp/fixunstfti.c: Likewise. + * soft-fp/floatdidf.c: Likewise. + * soft-fp/floatdisf.c: Likewise. + * soft-fp/floatditf.c: Likewise. + * soft-fp/floatsidf.c: Likewise. + * soft-fp/floatsisf.c: Likewise. + * soft-fp/floatsitf.c: Likewise. + * soft-fp/floattidf.c: Likewise. + * soft-fp/floattisf.c: Likewise. + * soft-fp/floattitf.c: Likewise. + * soft-fp/floatundidf.c: Likewise. + * soft-fp/floatundisf.c: Likewise. + * soft-fp/floatunditf.c: Likewise. + * soft-fp/floatunsidf.c: Likewise. + * soft-fp/floatunsisf.c: Likewise. + * soft-fp/floatunsitf.c: Likewise. + * soft-fp/floatuntidf.c: Likewise. + * soft-fp/floatuntisf.c: Likewise. + * soft-fp/floatuntitf.c: Likewise. + * soft-fp/fmadf4.c: Likewise. + * soft-fp/fmasf4.c: Likewise. + * soft-fp/fmatf4.c: Likewise. + * soft-fp/gedf2.c: Likewise. + * soft-fp/gesf2.c: Likewise. + * soft-fp/getf2.c: Likewise. + * soft-fp/ledf2.c: Likewise. + * soft-fp/lesf2.c: Likewise. + * soft-fp/letf2.c: Likewise. + * soft-fp/muldf3.c: Likewise. + * soft-fp/mulsf3.c: Likewise. + * soft-fp/multf3.c: Likewise. + * soft-fp/negdf2.c: Likewise. + * soft-fp/negsf2.c: Likewise. + * soft-fp/negtf2.c: Likewise. + * soft-fp/op-1.h: Likewise. + * soft-fp/op-2.h: Likewise. + * soft-fp/op-4.h: Likewise. + * soft-fp/op-8.h: Likewise. + * soft-fp/op-common.h: Likewise. + * soft-fp/quad.h: Likewise. + * soft-fp/single.h: Likewise. + * soft-fp/soft-fp.h: Likewise. + * soft-fp/sqrtdf2.c: Likewise. + * soft-fp/sqrtsf2.c: Likewise. + * soft-fp/sqrttf2.c: Likewise. + * soft-fp/subdf3.c: Likewise. + * soft-fp/subsf3.c: Likewise. + * soft-fp/subtf3.c: Likewise. + * soft-fp/truncdfsf2.c: Likewise. + * soft-fp/trunctfdf2.c: Likewise. + * soft-fp/trunctfsf2.c: Likewise. + * soft-fp/trunctfxf2.c: Likewise. + * soft-fp/unorddf2.c: Likewise. + * soft-fp/unordsf2.c: Likewise. + * soft-fp/unordtf2.c: Likewise. + +2013-10-15 Joseph Myers + + * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro. + * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise. + +2013-10-15 Ondƙej BĂ­lka + + * elf/dl-libc.c: Clear initfini list after freeing. + +2013-10-14 Joseph Myers + + * soft-fp/adddf3.c: Fix vertical whitespace and indentation. + * soft-fp/addsf3.c: Likewise. + * soft-fp/addtf3.c: Likewise. + * soft-fp/divdf3.c: Likewise. + * soft-fp/divsf3.c: Likewise. + * soft-fp/divtf3.c: Likewise. + * soft-fp/double.h: Likewise. + * soft-fp/eqdf2.c: Likewise. + * soft-fp/eqsf2.c: Likewise. + * soft-fp/eqtf2.c: Likewise. + * soft-fp/extenddftf2.c: Likewise. + * soft-fp/extended.h: Likewise. + * soft-fp/extendsfdf2.c: Likewise. + * soft-fp/extendsftf2.c: Likewise. + * soft-fp/extendxftf2.c: Likewise. + * soft-fp/fixdfdi.c: Likewise. + * soft-fp/fixdfsi.c: Likewise. + * soft-fp/fixdfti.c: Likewise. + * soft-fp/fixsfdi.c: Likewise. + * soft-fp/fixsfsi.c: Likewise. + * soft-fp/fixsfti.c: Likewise. + * soft-fp/fixtfdi.c: Likewise. + * soft-fp/fixtfsi.c: Likewise. + * soft-fp/fixtfti.c: Likewise. + * soft-fp/fixunsdfdi.c: Likewise. + * soft-fp/fixunsdfsi.c: Likewise. + * soft-fp/fixunsdfti.c: Likewise. + * soft-fp/fixunssfdi.c: Likewise. + * soft-fp/fixunssfsi.c: Likewise. + * soft-fp/fixunssfti.c: Likewise. + * soft-fp/fixunstfdi.c: Likewise. + * soft-fp/fixunstfsi.c: Likewise. + * soft-fp/fixunstfti.c: Likewise. + * soft-fp/floatdidf.c: Likewise. + * soft-fp/floatdisf.c: Likewise. + * soft-fp/floatditf.c: Likewise. + * soft-fp/floatsidf.c: Likewise. + * soft-fp/floatsisf.c: Likewise. + * soft-fp/floatsitf.c: Likewise. + * soft-fp/floattidf.c: Likewise. + * soft-fp/floattisf.c: Likewise. + * soft-fp/floattitf.c: Likewise. + * soft-fp/floatundidf.c: Likewise. + * soft-fp/floatundisf.c: Likewise. + * soft-fp/floatunsidf.c: Likewise. + * soft-fp/floatunsisf.c: Likewise. + * soft-fp/floatuntidf.c: Likewise. + * soft-fp/floatuntisf.c: Likewise. + * soft-fp/floatuntitf.c: Likewise. + * soft-fp/fmadf4.c: Likewise. + * soft-fp/fmasf4.c: Likewise. + * soft-fp/fmatf4.c: Likewise. + * soft-fp/gedf2.c: Likewise. + * soft-fp/gesf2.c: Likewise. + * soft-fp/getf2.c: Likewise. + * soft-fp/ledf2.c: Likewise. + * soft-fp/lesf2.c: Likewise. + * soft-fp/letf2.c: Likewise. + * soft-fp/muldf3.c: Likewise. + * soft-fp/mulsf3.c: Likewise. + * soft-fp/multf3.c: Likewise. + * soft-fp/negdf2.c: Likewise. + * soft-fp/negsf2.c: Likewise. + * soft-fp/negtf2.c: Likewise. + * soft-fp/op-1.h: Likewise. + * soft-fp/op-2.h: Likewise. + * soft-fp/op-4.h: Likewise. + * soft-fp/op-8.h: Likewise. + * soft-fp/op-common.h: Likewise. + * soft-fp/quad.h: Likewise. + * soft-fp/single.h: Likewise. + * soft-fp/soft-fp.h: Likewise. + * soft-fp/sqrtdf2.c: Likewise. + * soft-fp/sqrtsf2.c: Likewise. + * soft-fp/sqrttf2.c: Likewise. + * soft-fp/subdf3.c: Likewise. + * soft-fp/subsf3.c: Likewise. + * soft-fp/subtf3.c: Likewise. + * soft-fp/truncdfsf2.c: Likewise. + * soft-fp/trunctfdf2.c: Likewise. + * soft-fp/trunctfsf2.c: Likewise. + * soft-fp/trunctfxf2.c: Likewise. + * soft-fp/unorddf2.c: Likewise. + * soft-fp/unordsf2.c: Likewise. + * soft-fp/unordtf2.c: Likewise. + +2013-10-14 Ondƙej BĂ­lka + + [BZ #15672] + * misc/error.c (error_tail): Fix possible buffer overflow. + +2013-10-14 Aurelien Jarno + + [BZ #13028] + * res_send.c(__libc_res_nsend): Correctly copy the nameserver + address. + +2013-10-14 P. J. McDermott + + [BZ #832] + * elf/ldd.bash.in (try_trace): New function. Delete previous code + testing pipefail option. + +2013-10-12 Joseph Myers + + * soft-fp/double.h: Indent preprocessor directives inside #if. + * soft-fp/extended.h: Likewise. + * soft-fp/op-2.h: Likewise. + * soft-fp/op-4.h: Likewise. + * soft-fp/op-common.h: Likewise. + * soft-fp/quad.h: Likewise. + * soft-fp/single.h: Likewise. + * soft-fp/soft-fp.h: Likewise. + +2013-10-12 Yuri Chornoivan + + * iconv/iconv_prog.c: Fix typos. + * stdio-common/psiginfo-data.h: Likewise. + +2013-10-12 Reuben Thomas + + [BZ #15764] + * locale/setlocale.c: Fix typo. + +2013-10-12 Joseph Myers + + [BZ #16036] + * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for + signaling NaN arguments. + * soft-fp/unordsf2.c (__unordsf2): Likewise. + * soft-fp/unordtf2.c (__unordtf2): Likewise. + + [BZ #14910] + * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all + unordered operands. + * soft-fp/gesf2.c (__gesf2): Likewise. + * soft-fp/getf2.c (__getf2): Likewise. + * soft-fp/ledf2.c (__ledf2): Likewise. + * soft-fp/lesf2.c (__lesf2): Likewise. + * soft-fp/letf2.c (__letf2): Likewise. + + * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS. + * soft-fp/eqsf2.c (__eqsf2): Likewise. + * soft-fp/eqtf2.c (__eqtf2): Likewise. + * soft-fp/fixdfdi.c (__fixdfdi): Likewise. + * soft-fp/fixdfsi.c (__fixdfsi): Likewise. + * soft-fp/fixdfti.c (__fixdfti): Likewise. + * soft-fp/fixsfdi.c (__fixsfdi): Likewise. + * soft-fp/fixsfsi.c (__fixsfsi): Likewise. + * soft-fp/fixsfti.c (__fixsfti): Likewise. + * soft-fp/fixtfdi.c (__fixtfdi): Likewise. + * soft-fp/fixtfsi.c (__fixtfsi): Likewise. + * soft-fp/fixtfti.c (__fixtfti): Likewise. + * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise. + * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise. + * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise. + * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise. + * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise. + * soft-fp/fixunssfti.c (__fixunssfti): Likewise. + * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise. + * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise. + * soft-fp/fixunstfti.c (__fixunstfti): Likewise. + * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE. + * soft-fp/floatdisf.c (__floatdisf): Likewise. + * soft-fp/floatsisf.c (__floatsisf): Likewise. + * soft-fp/floattidf.c (__floattidf): Likewise. + * soft-fp/floattisf.c (__floattisf): Likewise. + * soft-fp/floattitf.c (__floattitf): Likewise. + * soft-fp/floatundidf.c (__floatundidf): Likewise. + * soft-fp/floatundisf.c (__floatundisf): Likewise. + * soft-fp/floatunsisf.c (__floatunsisf): Likewise. + * soft-fp/floatuntidf.c (__floatuntidf): Likewise. + * soft-fp/floatuntisf.c (__floatuntisf): Likewise. + * soft-fp/floatuntitf.c (__floatuntitf): Likewise. + * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS. + * soft-fp/gesf2.c (__gesf2): Likewise. + * soft-fp/getf2.c (__getf2): Likewise. + * soft-fp/ledf2.c (__ledf2): Likewise. + * soft-fp/lesf2.c (__lesf2): Likewise. + * soft-fp/letf2.c (__letf2): Likewise. + + * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION): + Undefine and redefine. + [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise. + [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise. + [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise. + * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro. + (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS. + * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro. + (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS. + * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro. + (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS. + * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro. + (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS. + * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro. + (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS. + * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro. + (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS. + + [BZ #16032] + * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right + without decrementing exponent if mantissa >= that for the + denominator, not >. + (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the + denominator, not >. Decrement exponent in < case instead of + incrementing in >= case. + * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right + without decrementing exponent if mantissa >= that for the + denominator, not >. + + * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for + computing saturated result for unsigned overflow. + +2013-10-11 Siddhesh Poyarekar + Jeff Law + + * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h. + (atan2Mp): Add systemtap probe marker. + * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h. + (__ieee754_log): Add systemtap probe marker. + * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h. + (atanMp): Add systemtap probe marker. + * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h. + (tanMp): Add systemtap probe marker. + * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h. + (__slowexp): Add systemtap probe marker. + * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h. + (__slowpow): Add systemtap probe marker. + * manual/probes.texi: Document probes. + +2013-10-11 Eric Biggers + + [BZ #15362] + * libio/fileops.c (_IO_new_file_write): Return count of bytes + written. + (_IO_new_file_xsputn): Don't return EOF if nothing has been + written. + * libio/iofwrite.c (_IO_fwrite): Return count if bytes were + written to buffer but not flushed. + * libio/iofwrite_u.c: Likewise. + * libio/iopadn.c: Return bytes returned even if EOF was + encountered. + * libio/iowpadn.c: Likewise. + * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error + if _IO_padn does not write the whole buffer. + [!COMPILE_WPRINTF] (PAD): Likewise. + +2013-10-10 David S. Miller + + * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of + directory block. + +2013-10-10 Joseph Myers + + * soft-fp/extendxftf2.c: Use copyright year range. Use URL + instead of FSF address. + * soft-fp/fixdfti.c: Likewise. + * soft-fp/fixsfti.c: Likewise. + * soft-fp/fixtfti.c: Likewise. + * soft-fp/fixunsdfti.c: Likewise. + * soft-fp/fixunssfti.c: Likewise. + * soft-fp/fixunstfti.c: Likewise. + * soft-fp/floattidf.c: Likewise. + * soft-fp/floattisf.c: Likewise. + * soft-fp/floattitf.c: Likewise. + * soft-fp/floatuntidf.c: Likewise. + * soft-fp/floatuntisf.c: Likewise. + * soft-fp/floatuntitf.c: Likewise. + * soft-fp/trunctfxf2.c: Likewise. + + * soft-fp/extendxftf2.c: New file. Copied from libgcc. + * soft-fp/fixdfti.c: Likewise. + * soft-fp/fixsfti.c: Likewise. + * soft-fp/fixtfti.c: Likewise. + * soft-fp/fixunsdfti.c: Likewise. + * soft-fp/fixunssfti.c: Likewise. + * soft-fp/fixunstfti.c: Likewise. + * soft-fp/floattidf.c: Likewise. + * soft-fp/floattisf.c: Likewise. + * soft-fp/floattitf.c: Likewise. + * soft-fp/floatuntidf.c: Likewise. + * soft-fp/floatuntisf.c: Likewise. + * soft-fp/floatuntitf.c: Likewise. + * soft-fp/trunctfxf2.c: Likewise. + +2013-10-10 David S. Miller + + * sysdeps/sparc/fpu/libm-test-ulps: Update. + +2013-10-10 Joseph Myers + + * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math] + (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl. + [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise. + [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise. + [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise. + [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise. + [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise. + + * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check + for NaNs before doing comparisons on argument. + * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): + Likewise. + +2013-10-10 Will Newton + + * malloc/hooks.c (memalign_check): Ensure the value of bytes + passed to _int_memalign does not overflow. + +2013-10-10 Torvald Riegel + + * scripts/bench.pl: Add include-sources directive. + * benchtests/README: Update documentation. + +2013-10-10 Joseph Myers + + * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro. + * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS + instead of FP_INIT_ROUNDMODE. + * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise. + * soft-fp/extendsftf2.c (__extendsftf2): Likewise. + + [BZ #16034] + * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not + copy class of input value. + * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do + not handle exceptions. + * soft-fp/negsf2.c (__negsf2): Likewise. + * soft-fp/negtf2.c (__negtf2): Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise. + +2013-10-09 Joseph Myers + + * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing + semicolon. From Linux kernel. + +2013-10-09 Adam Buchbinder + + * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment. + +2013-10-08 Yogesh Chaudhari + + [BZ #156] + * manual/socket.texi: Added statement about buffer + for gethostbyname2_r. + +2013-10-08 Ondƙej BĂ­lka + + * sysdeps/x86_64/memset.S (ALIGN): Macro removed. + Use .p2align directive instead, throughout. + * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise. + * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise. + * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise. + * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise. + * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise. + * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise. + * sysdeps/x86_64/strchr.S: Likewise. + * sysdeps/x86_64/strrchr.S: Likewise. + +2013-10-08 Siddhesh Poyarekar + + * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting. + + * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting. + + * sysdeps/generic/math_private.h (__mpsin1): Remove + declaration. + (__mpcos1): Likewise. + (__mpsin): New argument __range_reduce. + (__mpcos): Likewise. + * sysdeps/ieee754/dbl-64/s_sin.c: Likewise. + (slow): Use __mpsin and __mpcos. + (slow1): Likewise. + (slow2): Likewise. + (sloww): Likewise. + (sloww1): Likewise. + (sloww2): Likewise. + (bsloww): Likewise. + (bsloww1): Likewise. + (bsloww2): Likewise. + (cslow2): Likewise. + (csloww): Likewise. + (csloww1): Likewise. + (csloww2): Likewise. + * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument + range_reduce. Merge in __mpsin1. + (__mpcos): Likewise. + (__mpsin1): Remove. + (__mpcos1): Likewise. + +2013-10-07 Joseph Myers + + * locale/loadlocale.c (_nl_intern_locale_data): Use + LOCFILE_ALIGNED_P. + * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use + LOCFILE_ALIGN_UP and LOCFILE_ALIGN. + * locale/programs/ld-collate.c (obstack_int32_grow): Assert that + obstack data is appropriately aligned. + (obstack_int32_grow_fast): Likewise. + * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN. + * locale/programs/locfile.c (add_locale_uint32): Likewise. + (add_locale_uint32_array): Likewise. + +2013-10-07 Siddhesh Poyarekar + + * benchtests/Makefile: Remove ARGLIST and RET variables. + ($(objpfx)bench-%.c): Pass only function name to the script. + * benchtests/README: Update documentation. + * benchtests/acos-inputs: Add new directives. + * benchtests/acosh-inputs: Likewise. + * benchtests/asin-inputs: Likewise. + * benchtests/asinh-inputs: Likewise. + * benchtests/atan-inputs: Likewise. + * benchtests/atanh-inputs: Likewise. + * benchtests/cos-inputs: Likewise. + * benchtests/cosh-inputs: Likewise. + * benchtests/exp-inputs: Likewise. + * benchtests/log-inputs: Likewise. + * benchtests/pow-inputs: Likewise. + * benchtests/rint-inputs: Likewise. + * benchtests/sin-inputs: Likewise. + * benchtests/sinh-inputs: Likewise. + * benchtests/tan-inputs: Likewise. + * benchtests/tanh-inputs: Likewise. + * scripts/bench.pl: Add support for new directives. + +2013-10-07 Alan Modra + + * README: Fix careless merge. + +2013-10-05 Alan Modra + + * NEWS: Mention powerpc64le support and bugs fixed. + * README: Both big-endian and little-endian powerpc64 supported. + +2013-10-04 Samuel Thibault + + * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook) + (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks. + (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call + _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking. + +2013-10-04 Ryan S. Arnold + + * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to + match prototype. + +2013-10-04 Joseph Myers + + * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags): + Move -mhard-float appending from + ports/sysdeps/powerpc/powerpc32/Makefile. + [$(with-fp) = yes] (ASFLAGS): Likewise. + [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise. + * sysdeps/powerpc/nofpu: Move directory from + ports/sysdeps/powerpc/nofpu. + * sysdeps/powerpc/soft-fp: Move directory from + ports/sysdeps/powerpc/soft-fp. + * sysdeps/powerpc/powerpc32/405: Move directory from + ports/sysdeps/powerpc/powerpc32/405. + * sysdeps/powerpc/powerpc32/440: Move directory from + ports/sysdeps/powerpc/powerpc32/440. + * sysdeps/powerpc/powerpc32/464: Move directory from + ports/sysdeps/powerpc/powerpc32/464. + * sysdeps/powerpc/powerpc32/476: Move directory from + ports/sysdeps/powerpc/powerpc32/476. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory + from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory + from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory + from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory + from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory + from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476. + * README: Update for powerpc-*-linux-gnu software floating point + support in libc. + + * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change + case to powerpc/powerpc32*. + * sysdeps/unix/sysv/linux/configure: Regenerated. + + * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT] + (_FPU_MASK_OM): Define as 0x04. + [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08. + [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as + 0x00c10080. + [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as + 0x0000003c. + [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT. + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S + (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use + getcontext_e500. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S + (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use + setcontext_e500. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S + (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500 + and setcontext_e500. + +2013-10-04 Chris Leonard + + * locale/iso-3166.def: Update iso-1366.def and related occurrences + +2013-10-04 Siddhesh Poyarekar + + * manual/threads.texi (Default Thread Attributes): Fix typo. + +2013-10-04 Will Newton + + * malloc/Makefile: Add tst-memalign. + * malloc/tst-memalign.c: New file. + + * malloc/tst-posix_memalign.c: Add comments. + (do_test): Add comments and call free on all potentially + allocated pointers. Add space after cast. + + * malloc/tst-pvalloc.c: Add comments. + (do_test): Add comments and call free on all potentially + allocated pointers. Remove duplicate check for NULL pointer. + Add space after cast. + + * malloc/tst-valloc.c: Add comments. + (do_test): Add comments and call free on all potentially + allocated pointers. Remove duplicate check for NULL pointer. + Add space after cast. + +2013-10-04 Alan Modra + + * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela): + Use stdint types in rather than __attribute__((mode())). + * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise. + +2013-10-04 Alan Modra + + * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela): + Correct handling of unaligned relocs for little-endian. + * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise. + +2013-10-04 Alan Modra + + * configure.in: Map powerpc64le and powerpcle to base_machine/machine. + * configure: Regenerate. + * nptl/shlib-versions: Powerpc*le starts at 2.18. + * shlib-versions: Likewise. + +2013-10-04 Alan Modra + + * string/tester.c (test_memrchr): Increment reported test cycle. + +2013-10-04 Alan Modra + + * string/test-memcpy.c (do_one_test): When reporting errors, print + string address and don't overrun end of string. + +2013-10-04 Alan Modra + + * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with + insrdi. Make better use of reg selection to speed exit slightly. + Schedule entry path a little better. Remove useless "are we done" + checks on entry to main loop. Handle wrapping around zero address. + Correct main loop count. Handle single left-over word from main + loop inline rather than by using loop_small. Remove extra word + case in loop_small caused by wrong loop count. Add little-endian + support. + * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper + cache hint. + * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian + support. Avoid rlwimi. + * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise. + +2013-10-04 Alan Modra + + * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with + insrdi. Formatting. + * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise. + * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise. + * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise. + * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise. + * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise. + +2013-10-04 Alan Modra + + * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support. + * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise. + * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise. + * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise. + * sysdeps/powerpc/powerpc64/memcpy.S: Likewise. + * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise. + * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better + use of regs. Use power7 mtocrf. Tidy function tails. + +2013-10-04 Alan Modra + + * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support. + Formatting. Consistently use rXXX register defines or rN defines. + Use early exit labels that avoid restoring unused non-volatile regs. + Make cr field use more consistent with rWORDn compares. Rename + regs used as shift registers for unaligned loop, using rN defines + for short lifetime/multiple use regs. + * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise. + * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with + addi 1,1,64 to pop stack frame. Simplify return value code. + * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise. + +2013-10-04 Alan Modra + + * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian + support. Correct typos, formatting. Optimize tail. Use insrdi + rather than rlwimi. + * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add + little-endian support. Correct typos. + * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi + rather than rlwimi. + * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use + in loop and entry code to keep "and." results. + (strchr): Add little-endian support. Comment. Move cntlzd + earlier in tail. + * sysdeps/powerpc/powerpc32/strchr.S: Likewise. + +2013-10-04 Alan Modra + + * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support: + * sysdeps/powerpc/powerpc32/strcpy.S: Likewise. + * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise. + * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise. + +2013-10-04 Alan Modra + + * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0. + (rTMP): Define as r11. + (strcmp): Add little-endian support. Optimise tail. + * sysdeps/powerpc/powerpc32/strcmp.S: Similarly. + * sysdeps/powerpc/powerpc64/strncmp.S: Likewise. + * sysdeps/powerpc/powerpc32/strncmp.S: Likewise. + * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise. + * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise. + * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise. + +2013-10-04 Alan Modra + + * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add + little-endian support. Remove unnecessary "are we done" tests. + Handle "s" wrapping around zero and extremely large "size". + Correct main loop count. Handle single left-over word from main + loop inline rather than by using small_loop. Correct comments. + Delete "zero" tail, use "end_max" instead. + * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise. + +2013-10-04 Alan Modra + + * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian + support. Don't branch over align. + * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise. + * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian + support. Rearrange tmp reg use to suit. Comment. + * sysdeps/powerpc/powerpc32/strlen.S: Likewise. + +2013-10-04 Alan Modra + + * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file. + +2013-10-04 Alan Modra + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use + conditional form of branch and link when obtaining pc. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise. + +2013-10-04 Alan Modra + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use + HIWORD/LOWORD. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto. + +2013-10-04 Alan Modra + + * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros. + * sysdeps/powerpc/novmx-longjmp.c: Likewise. + * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise. + * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise. + * sysdeps/powerpc/powerpc32/mcount.c: Likewise. + * sysdeps/powerpc/powerpc32/setjmp.S: Likewise. + * sysdeps/powerpc/powerpc64/setjmp.S: Likewise. + * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise. + +2013-10-04 Anton Blanchard + Alistair Popple + Alan Modra + + [BZ #15723] + * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix. + * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct + _dl_hwcap access for little-endian. + * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't + destroy vmx regs when saving unaligned. + * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load. + * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't + destroy vmx regs when saving unaligned. + +2013-10-04 Alan Modra + + * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW): + Don't use a union to pack hi/low value. + +2013-10-04 Anton Blanchard + + * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants + for little-endian. + * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise. + +2013-10-04 Alan Modra + + * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of + constants to usual value for .cst8 section, and remove redundant + high address load. + * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float + constant for 0x1p52. Load little-endian words of double from + correct stack offsets. + +2013-10-04 Alan Modra + + * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define. + * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian + words of double from correct stack offsets. + * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise. + * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise. + * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise. + * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise. + * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise. + * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise. + * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise. + * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise. + * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise. + * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise. + * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT. + * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise. + +2013-10-04 Alan Modra + + * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using + 64-bit int/double union. + (_FPU_SETCW): Likewise. + * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise. + (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise. + +2013-10-04 Alan Modra + + * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite. + * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite. + +2013-10-04 Alan Modra + + * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't + use vector int constants. + (__float_and_test24, __float_and8, __float_get_exp): Likewise. + +2013-10-04 Anton Blanchard + + * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int + array with long long. + * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust. + * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust. + * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust. + * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust. + * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust. + * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust. + * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust. + * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust. + * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust. + * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust. + * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust. + * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust. + * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust. + +2013-10-04 Anton Blanchard + + * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin. + (__signbit): Likewise. Correct for little-endian. + (__signbitl): Call __signbit. + (lrint): Correct for little-endian. + (lrintf): Call lrint. + +2013-10-04 Alan Modra + + * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace + union 32-bit int array member with 64-bit int array. + (t515, tm256): Double rather than long double. + (__ieee754_sqrtl): Rewrite using 64-bit arithmetic. + +2013-10-04 Alan Modra + + * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double): + Delete. + (IEEE854_LONG_DOUBLE_BIAS): Delete. + * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854 + version of math_ldbl.h. + +2013-10-04 Alan Modra + + [BZ #15734], [BZ #15735] + * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite + all uses of ieee875 long double macros and unions. Simplify test + for 0.0L. Correct |x|<|y| and |x|=|y| test. Use + ldbl_extract_mantissa value for ix,iy exponents. Properly + normalize after ldbl_extract_mantissa, and don't add hidden bit + already handled. Don't treat low word of ieee854 mantissa like + low word of IBM long double and mask off bit when testing for + zero. + * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite + all uses of ieee875 long double macros and unions. Simplify tests + for 0.0L and inf. Correct double adjustment of k. Delete dead code + adjusting ha,hb. Simplify code setting kld. Delete two600 and + two1022, instead use their values. Recognise that tests for large + "a" and small "b" are mutually exclusive. Rename vars. Comment. + * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl): + Rewrite all uses of ieee875 long double macros and unions. Simplify + test for 0.0L and nan. Correct negation. + * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of + ieee875 long double macros and unions. Correct output for large + magnitude x. Correct absolute value calculation. + (__erfcl): Likewise. + * math/libm-test.inc: Add tests for errors discovered in IBM long + double versions of fmodl, remainderl, erfl and erfcl. + +2013-10-04 Alan Modra + + * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite + all uses of ieee854 long double macros and unions. Simplify tests + for long doubles that are fully specified by the high double. + * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r): + Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise. + Remove dead code too. + * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise. + (__ieee754_ynl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise. + Remove dead code too. + * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise. + Simplify. + * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise. + Simplify. + * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise. + Comment on variable precision. + * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf): + Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise. + * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps. + +2013-10-04 Alan Modra + + * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define. + * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite + all uses of ieee854 long double macros and unions. + * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l): + Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise. + Simplify sign and nan test too. + * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl): + Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl): + Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise. + * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise. + +2013-10-04 Alan Modra + + * stdio-common/printf_size.c (__printf_size): Don't use + union ieee854_long_double in fpnum union. + * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use + signbit macro to retrieve sign from long double. + * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to + retrieve sign from long double. + * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change. + * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise. + * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise. + * sysdeps/x86_64/fpu/printf_fphex.c: Likewise. + * math/test-misc.c (main): Don't use union ieee854_long_double. + +2013-10-04 Alan Modra + + [BZ #15680] + * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix. + * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c + (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff + calculation. Remove unnecessary test for denormal exponent. + * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double): + Correct handling of denormals. Avoid undefined shift behaviour. + Correct normalisation of low mantissa when low double is denormal. + * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h + (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64. + (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t. + Correct normalisation of low mantissa. Test for overflow of high + mantissa and normalise. + (ldbl_nearbyint): Use more readable constant for two52. + * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c + (__mpn_construct_long_double): Fix test for overflow of high + mantissa and correct normalisation. Avoid undefined shift. + +2013-10-04 Alan Modra + + * sysdeps/ieee754/ldbl-128ibm/ieee754.h + (union ibm_extended_long_double): Define as an array of ieee754_double. + (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete. + * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references + to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS. + * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise. + * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise. + +2013-10-03 Joseph Myers + + * locale/programs/locarchive.c (add_locale): Use constant 4096 for + page size instead of calling getpagesize. + + * locale/localeinfo.h (LOCFILE_ALIGN): New macro. + (LOCFILE_ALIGN_MASK): Likewise. + (LOCFILE_ALIGN_UP): Likewise. + (LOCFILE_ALIGNED_P): Likewise. + * locale/programs/ld-collate.c (collate_output): Use the new + macros instead of __alignof__ (int32_t). + * locale/weight.h (findidx): Likewise. + +2013-10-03 Ondƙej BĂ­lka + + [BZ #431] + * manual/string.texi: Fix strncat and wcsncat. + +2013-10-03 Brooks Moses + + [BZ #15915] + * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to... + * Makerules: ...here, and adjust associated comments. + +2013-10-02 Will Newton + + * malloc/Makefile: Add tst-pvalloc. + * malloc/tst-pvalloc.c: New file. + +2013-10-02 Will Newton + + * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and + improve test coverage. + +2013-10-02 Will Newton + + * malloc/Makefile: Add tst-posix_memalign. + * malloc/tst-posix_memalign.c: New file. + +2013-10-01 Eric Blake + + * posix/glob.c (next_brace_sub, prefix_array, collated_compare): + Use __THROWNL rather than __THROW on static functions. + +2013-09-30 Petr Machata + + * elf/elf.h (R_AARCH64_ABS16): New macro. + (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise. + (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise. + (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise. + (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise. + (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise. + (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise. + (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise. + (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise. + (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise. + (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise. + (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise. + (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise. + (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise. + (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise. + (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise. + (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise. + (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise. + (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise. + (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise. + (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise. + (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise. + (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise. + (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise. + (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise. + (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise. + (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise. + (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise. + (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise. + (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise. + (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise. + (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise. + (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise. + (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise. + (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise. + (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise. + (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise. + (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise. + (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise. + (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise. + (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise. + (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise. + (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise. + (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise. + (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise. + (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise. + (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise. + (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise. + (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise. + (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise. + (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise. + (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise. + (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise. + (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise. + (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise. + (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise. + (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise. + (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise. + (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise. + (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise. + (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise. + (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise. + (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise. + (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise. + (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise. + (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise. + (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise. + (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise. + (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise. + (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise. + (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise. + (R_AARCH64_TLSDESC_LD_PREL19): Likewise. + (R_AARCH64_TLSDESC_ADR_PREL21): Likewise. + (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise. + (R_AARCH64_TLSDESC_LD64_LO12): Likewise. + (R_AARCH64_TLSDESC_ADD_LO12): Likewise. + (R_AARCH64_TLSDESC_OFF_G1): Likewise. + (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise. + (R_AARCH64_TLSDESC_LDR): Likewise. + (R_AARCH64_TLSDESC_ADD): Likewise. + (R_AARCH64_TLSDESC_CALL): Likewise. + +2013-09-30 Andreas Schwab + + [BZ #15048] + * nscd/aicache.c (addhstaiX): Properly use the cache variable for + the nss database lookup. + * nscd/initgrcache.c (addinitgroupsX): Likewise. + * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise. + +2013-09-28 Mike Frysinger + + * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style. + +2013-09-28 P. J. McDermott + + * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use + ${Bash-specific parameter/pattern/string} parameter expansion. + * sysdeps/unix/make-syscalls.sh: Likewise. + +2013-09-27 Kaz Kojima + + * sysdeps/sh/stackguard-macros.h: New file. + +2013-09-26 Ondƙej BĂ­lka + + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update. + * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc. + * sysdeps/x86_64/multiarch/strend-sse4.S Remove. + * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise. + * sysdeps/x86_64/multiarch/strrchr.S: Likewise. + * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation. + +2013-09-25 Adhemerval Zanella + + * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD: + Fix thread ID register. + +2013-09-25 Joseph Myers + + * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file. + [POSIX || UNIX98]: Require rather than permitting all symbols from + . + [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional + element of struct sched_param. + [POSIX || UNIX98] (sched_ss_repl_period): Likewise. + [POSIX || UNIX98] (sched_ss_init_budget): Likewise. + [POSIX || UNIX98] (sched_ss_max_repl): Likewise. + [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional + constant. + +2013-09-24 Olivier Langlois + + * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length + argument calculation. + +2013-09-24 Joseph Myers + + * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER): + Expect macro. + [POSIX] (pthread_attr_t): Do not require type. + [POSIX] (pthread_cond_t): Likewise. + [POSIX] (pthread_condattr_t): Likewise. + [POSIX] (pthread_key_t): Likewise. + [POSIX] (pthread_mutex_t): Likewise. + [POSIX] (pthread_mutexattr_t): Likewise. + [POSIX] (pthread_once_t): Likewise. + [POSIX] (pthread_t): Likewise. + [POSIX-based standards] (pthread_atfork): Expect function. + +2013-09-24 Joseph Myers + Richard Sandiford + + * locale/programs/locfile.h: Include and . + (swap_endianness_p): New extern variable. + (set_big_endian): New inline function. + (maybe_swap_uint32): Likewise. + (maybe_swap_uint32_array): Likewise. + (maybe_swap_uint32_obstack): Likewise. + * locale/programs/locfile.c: Include . + (swap_endianness_p): New variable. + (add_locale_uint32): Call maybe_swap_uint32. + (add_locale_uint32_array): Call maybe_swap_uint32_obstack. + (write_locale_data): Call maybe_swap_uint32_array. + * locale/programs/ld-collate.c (obstack_int32_grow): Call + maybe_swap_uint32. + (obstack_int32_grow_fast): Likewise. + (output_weightwc): Call maybe_swap_uint32_obstack. + (collate_output): Likewise. + * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro. + (OPT_LITTLE_ENDIAN): Likewise. + (options): Add --little-endian and --big-endian options. + (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN. + * locale/programs/locarchive.c: Include "locfile.h". + (GET): New macro. + (SET): Likewise. + (INC): Likewise. + (create_archive): Use the new macros to access fields of + structures directly mapped from or written to locale archives. + (oldlocrecentcmp): Likewise. + (enlarge_archive): Likewise. + (insert_name): Likewise. + (add_alias): Likewise. + (add_locale): Likewise. + (delete_locales_from_archive): Likewise. + (show_archive_content): Likewise. + (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on + locale data. + +2013-09-24 Roland McGrath + + * manual/freemanuals.texi: Updated from (newly) canonical copy at + http://www.gnu.org/doc/freemanuals.texi. + * manual/libc.texinfo (Free Manuals): Put the @appendix line here. + +2013-09-24 Will Newton + + * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove + macro. + +2013-09-23 Joseph Myers + + * locale/hashval.h (compute_hashval): Interpret bytes of key as + unsigned char. + +2013-09-23 Maciej W. Rozycki + + * manual/threads.texi (POSIX Threads): Fix a typo. + +2013-09-23 Siddhesh Poyarekar + + [BZ #14547] + * string/tst-strcoll-overflow.c: New test case. + * string/Makefile (xtests): Add tst-strcoll-overflow. + * string/strcoll_l.c (STRCOLL): Skip allocating memory for + cache if string sizes may cause integer overflow. + + [BZ #14547] + * string/strcoll_l.c (coll_seq): New members rule, idx, + save_idx and back_us. + (get_next_seq_nocache): New function. + (do_compare_nocache): New function. + (STRCOLL): Use get_next_seq_nocache and do_compare_nocache + when malloc fails. + +2013-09-23 Carlos O'Donell + + [BZ #15754] + * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use + __pointer_chk_guard_local, otherwise __pointer_chk_guard. + * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c. + + [BZ #15754] + * elf/Makefile (tests): Add tst-ptrguard1. + (tests-static): Add tst-ptrguard1-static. + (tst-ptrguard1-ARGS): Define. + (tst-ptrguard1-static-ARGS): Define. + * elf/tst-ptrguard1.c: New file. + * elf/tst-ptrguard1-static.c: New file. + * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD. + * sysdeps/i386/stackguard-macros.h: Likewise. + * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise. + * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise. + * sysdeps/s390/s390-32/stackguard-macros.h: Likewise. + * sysdeps/s390/s390-64/stackguard-macros.h: Likewise. + * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise. + * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise. + +2013-09-23 Hector Marco + Ismael Ripoll + Carlos O'Donell + + [BZ #15754] + * sysdeps/generic/stackguard-macros.h: Define + __pointer_chk_guard_local and POINTER_CHK_GUARD. + * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]: + Define __pointer_chk_guard_local. + (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard. + Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local. + +2013-09-15 Vinitha Vijayan + + [BZ #15859] + * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration. + +2013-09-20 Andreas Schwab + + * include/string.h (__ffs): Declare as hidden. + * string/ffs.c (__ffs): Define as hidden. + * sysdeps/i386/ffs.c (__ffs): Likewise. + * sysdeps/i386/i686/ffs.c (__ffs): Likewise. + * sysdeps/powerpc/ffs.c (__ffs): Likewise. + * sysdeps/s390/ffs.c (__ffs): Likewise. + * sysdeps/x86_64/ffs.c (__ffs): Likewise. + +2013-09-20 Alexandre Oliva + + * NEWS: Mention malloc probes. + + * malloc/arena.c (new_heap): New memory_heap_new probe. + (grow_heap): New memory_heap_more probe. + (shrink_heap): New memory_heap_less probe. + (heap_trim): New memory_heap_free probe. + * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe. + (systrim): New memory_sbrk_less probe. + * manual/probes.texi: Document them. + + * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe. + * manual/probes.texi: Document it. + + * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe. + (__libc_realloc): Add memory_realloc_retry probe. + (__libc_memalign): Add memory_memalign_retry probe. + (__libc_valloc): Add memory_valloc_retry probe. + (__libc_pvalloc): Add memory_pvalloc_retry probe. + (__libc_calloc): Add memory_calloc_retry probe. + * manual/probes.texi: Document them. + + * malloc/arena.c (get_free_list): Add probe + memory_arena_reuse_free_list. + (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait + and memory_arena_reuse. + (arena_get2) [!PER_THREAD]: Likewise. + * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe + memory_arena_reuse_realloc. + * manual/probes.texi: Document them. + + * malloc/malloc.c (__libc_free): Add + memory_mallopt_free_dyn_thresholds probe. + (__libc_mallopt): Add multiple memory_mallopt probes. + * manual/probes.texi: Document them. + + * malloc/malloc.c: Include stap-probe.h. + (__libc_mallopt): Add memory_mallopt probe. + * malloc/arena.c (_int_new_arena): Add memory_arena_new probe. + * manual/probes.texi: New. + * manual/Makefile (chapters): Add probes. + * manual/threads.texi: Set next node. + +2013-09-19 Wei-Lun Chao + + [BZ #15963, #13985] + * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak, + czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue). + Add `Chinese' to `nan' entry name. + +2013-09-19 Siddhesh Poyarekar + + * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro. + (POLYNOMIAL): Likewise. + (TAYLOR_SINCOS): Likewise. + (TAYLOR_SLOW): Likewise. + (__sin): Use TAYLOR_SINCOS. + (__cos): Likewise. + (slow): Use TAYLOR_SLOW. + (sloww): Likewise. + (bsloww): Likewise. + (csloww): Likewise. + +2013-09-19 Liubov Dmitrieva + + * stdlib/strtod_l.c: Fix buffer overrun. + +2013-09-19 Siddhesh Poyarekar + + * benchtests/Makefile (bench): Add sincos. + * benchtests/bench-sincos.c: New file. + + * math/libm-test.inc (cos_test_data): New test inputs. + (sin_test_data): Likewise. + + * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New + macro. + (__sin): Use it. + (__cos): Likewise. + (slow1): Likewise. + (slow2): Likewise. + (sloww1): Likewise. + (sloww2): Likewise. + (bsloww1): Likewise. + (bsloww2): Likewise. + (cslow2): Likewise. + (csloww1): Likewise. + (csloww2): Likewise. + + * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New + function. + (__sin): Use it. + (__cos): Likewise. + + * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant + gotos. + (__cos): Likewise. + +2013-09-18 Maciej W. Rozycki + + * config.h.in (HAVE_MIPS_NAN2008): New macro. + * elf/elf.h (EF_MIPS_NAN2008): Likewise. + * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise. + (FLAG_MIPS64_LIBN32_NAN2008): Likewise. + (FLAG_MIPS64_LIBN64_NAN2008): Likewise. + * elf/cache.c (print_entry): Handle the new cache flags. + +2013-09-18 Joseph Myers + Aldy Hernandez + + * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]: + Change condition to [_SOFT_FLOAT]. + [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro. + [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise. + [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise. + [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise. + [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise. + [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise. + [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise. + [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise. + [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise. + [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise. + [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise. + [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise. + [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef. + [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro. + [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise. + [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable + declaration. + +2013-09-18 Joseph Myers + + * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define + macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)]. + (__longjmp): Use LOAD_GP to load saved GPRs. + * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define + macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)]. + (__sigsetjmp): Use SAVE_GP to save GPRs. + + * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags): + Do not append -msoft-float. + [$(with-fp) = no] (sysdep-LDFLAGS): Likewise. + +2013-09-18 Siddhesh Poyarekar + + * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting. + +2013-09-17 Joseph Myers + + [BZ #15966] + * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__] + (_FPU_GETCW): Use initial "__" on variable and field names but not + on macro parameter name. + [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use + parentheses around reference to macro parameter. + +2013-09-13 Richard Sandiford + + * locale/programs/ld-ctype.c (find_idx): Use uint32_t in + prototype. + (ctype_startup): Use uint32_t in cast and sizeof for + ctype->charnames. + +2013-09-11 Jia Liu + + * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and + __daddr_t_defined. + [__FreeBSD__]: Likewise. + +2013-09-11 Ondƙej BĂ­lka + + * sysdeps/x86_64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Remove: __strchr_sse42. + * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove. + (strchr): Remove __strchr_sse42 ifunc selection. + * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation. + * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S. + +2013-09-11 Will Newton + + * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS + parameter to RES. Remove hardcoded 1000 value. + * benchtests/bench-skeleton.c (main): Pass RES parameter + to TIMING_INIT and multiply result by 1000. + +2013-09-10 Adhemerval Zanella + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2013-09-11 Andreas Schwab + + * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define + if not defined. + (O_TMPFILE) [__USE_GNU]: Define. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE): + Define. + +2013-09-11 Will Newton + + [BZ #15857] + * malloc/malloc.c (__libc_memalign): Check the value of bytes + does not overflow. + +2013-09-11 Will Newton + + [BZ #15856] + * malloc/malloc.c (__libc_valloc): Check the value of bytes + does not overflow. + +2013-09-11 Will Newton + + [BZ #15855] + * malloc/malloc.c (__libc_pvalloc): Check the value of bytes + does not overflow. + +2013-09-10 Ondƙej BĂ­lka + + * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals. + * sysdeps/ieee754/dbl-64/e_j1.c: Likewise. + * sysdeps/ieee754/dbl-64/s_erf.c: Likewise. + * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise. + * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise. + +2013-09-10 Allan McRae + + [BZ #15748] + * manual/arith.texi (Parsing of Floats): Clarify + cross-reference. + + [BZ #15849] + * manual/install.texi (Running make install): Mention + --enable-pt-chown. + * INSTALL: Regenerated. + +2013-09-09 Maciej W. Rozycki + + * csu/init-first.c (_init): Remove the !SHARED condition around + FPU control word initialization. + * elf/dl-support.c (_dl_fpu_control): New variable. + (_dl_aux_init) : Initialize it. + * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro. + (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout. + * math/test-fpucw-static.c: New file. + * math/test-fpucw-ieee.c: New file. + * math/test-fpucw-ieee-static.c: New file. + * math/Makefile (tests): Add `test-fpucw-ieee' and + `$(tests-static)'. + (tests-static): New variable. + [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move + dependency to... + [($(build-shared),yes)] + ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))): + ... this. + [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))): + New dependency. + +2013-09-09 Allan McRae + + [BZ #15939] + * manual/string.texi (Collation Functions): Fix typo in + strcoll example. + Reported by Suren Karapetyan . + + [BZ #15893] + * stdlib/isomac.c (get_null_defines): Fix memory leak. + + [BZ #15892] + * libio/memstream.c (open_memstream): Fix memory leak. + * libio/wmemstream.c (open_wmemstream): Likewise. + + [BZ #15895] + * nscd/netgroupcache.c: Fix nesting of ifdefs. + +2013-09-09 Will Newton + + * malloc/Makefile: Add tst-realloc to tests. + * malloc/tst-realloc.c: New file. + +2013-09-09 Allan McRae + + [BZ #15844] + * COPYING: Update from GNU website to fix FSF address. + * COPYING.LIB: Likewise. + +2013-09-06 David S. Miller + + * po/zh_TW.po: Update Chinese (traditional) translation from + translation project. + +2013-09-06 Richard Sandiford + Joseph Myers + + * locale/programs/locfile.c: Include , and + "localeinfo.h". + (obstack_chunk_alloc): New macro. + (obstack_chunk_free): Likewise. + (record_offset): New function. + (init_locale_data): Likewise. + (align_locale_data): Likewise. + (add_locale_empty): Likewise. + (add_locale_raw_data): Likewise. + (add_locale_raw_obstack): Likewise. + (add_locale_string): Likewise. + (add_locale_wstring): Likewise. + (add_locale_uint32): Likewise. + (add_locale_uint32_array): Likewise. + (add_locale_char): Likewise. + (start_locale_structure): Likewise. + (end_locale_structure): Likewise. + (start_locale_prelude): Likewise. + (end_locale_prelude): Likewise. + (write_locale_data): Take locale_file structure rather than an + iovec. + * locale/programs/locfile.h: Include "obstack.h". + (struct locale_file): Change to store locale file contents instead + of header. + (init_locale_data): New prototype. + (align_locale_data): Likewise. + (add_locale_empty): Likewise. + (add_locale_raw_data): Likewise. + (add_locale_raw_obstack): Likewise. + (add_locale_string): Likewise. + (add_locale_wstring): Likewise. + (add_locale_uint32): Likewise. + (add_locale_uint32_array): Likewise. + (add_locale_char): Likewise. + (start_locale_structure): Likewise. + (end_locale_structure): Likewise. + (start_locale_prelude): Likewise. + (end_locale_prelude): Likewise. + (write_locale_data): Update prototype. + * locale/programs/3level.h (struct TABLE): Remove result field. + (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE). + Use new locale_file interface. + [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE]. + (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE. + * locale/programs/ld-address.c (address_output): Use new + locale_file interface. + * locale/programs/ld-collate.c (NO_FINALIZE): Change to + NO_ADD_LOCALE. + (collate_finish): Don't call collseq_table_finalize. + (collate_output): Use new locale_file interface. + * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier + in file. + (NO_FINALIZE): Change to NO_ADD_LOCALE. + (TABLE): Move defines earlier in file. + (ELEMENT): Likewise. + (DEFAULT): Likewise. + (wctrans_table_add): Move macro and inline function earlier in + file. + (struct wctype_table): Move type earlier in file. + (add_locale_wctype_table): New static prototype. + (struct locale_ctype_t): Use logical types instead of struct iovec + pointers for members. + (ctype_output): Use new locale_file interface. + (wctype_table_finalize): Change to add_locale_wctype_table. Use + new locale_file interface. + (allocate_arrays): Update for use of new locale_file interface. + * locale/programs/ld-identification.c (identification_output): Use + new locale_file interface. + * locale/programs/ld-measurement.c (measurement_output): Likewise. + * locale/programs/ld-messages.c (messages_output): Likewise. + * locale/programs/ld-monetary.c (monetary_output): Likewise. + * locale/programs/ld-name.c (name_output): Likewise. + * locale/programs/ld-numeric.c (numeric_output): Likewise. + * locale/programs/ld-paper.c (paper_output): Likewise. + * locale/programs/ld-telephone.c (telephone_output): Likewise. + * locale/programs/ld-time.c (time_output): Likewise. + +2013-09-06 Adhemerval Zanella + + * benchtests/Makefile: Add memrchr benchmark. + * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use + benchmark as memrchr. + * benchtests/bench-memrchr-ifunc.c: New file. + * benchtests/bench-memrchr.c: New file. + +2013-09-06 Will Newton + + * benchtests/Makefile (string-bench): Add memcpy. + +2013-09-05 Carlos O'Donell + Cong Wang + + [BZ #15850] + * sysdeps/unix/sysv/linux/bits/in.h + [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS. + * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion + before __USE_KERNEL_IPV6_DEFS uses. + * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and + IPPROTO_BEETPH. + [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr, + sockaddr_in6, or ipv6_mreq. + +2013-09-05 Adhemerval Zanella + + * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid + memory access for final bytes in some large inputs. + * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise. + +2013-09-05 Adhemerval Zanella + + * string/test-memrchr.c: New file. + * string/test-memrchr-ifunc.c: New file. + * string/Makefile: Add new memrchr testcase. + +2013-09-05 Mike Frysinger + + * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when + fanotify_init returns EPERM. + +2013-09-04 Joseph Myers + + * conform/conformtest.pl (newtoken): Treat tokens not allowed as + errors. + (top level): Treat second token from macro or constant entries for + allowed headers as allowed. + * include/complex.h: Condition internal declarations on + [!_ISOMAC]. + * include/fenv.h: Condition include of and internal + declarations on [!_ISOMAC]. + +2013-09-04 Chris Leonard + + [BZ #15923] + * locale/iso-4217.def: Update iso-1427.def and related occurrences. + +2013-09-04 Joseph Myers + + * configure.in (--enable-versioning): Remove configure option. + (libc_cv_asm_symver_directive): Remove configure test. + (libc_cv_ld_version_script_option): Likewise. + (VERSIONING): Remove variable and AC_SUBST. + (DO_VERSIONING): Remove AC_DEFINE. + * configure: Regenerated. + * config.h.in (DO_VERSIONING): Remove macro. + * Makerules [$(versioning) = yes]: Change conditionals to + [$(build-shared) = yes]. + * config.make.in (versioning): Remove variable. + * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to + [$(build-shared) = yes]. + * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional. + * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise. + * elf/Makefile [$(versioning) = yes]: Change conditionals to + [$(build-shared) = yes]. + * extra-lib.mk [$(versioning) = yes]: Likewise. + * hurd/Makefile [$(versioning) = yes]: Likewise. + * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to + [SHARED]. + * include/libc-symbols.h [DO_VERSIONING]: Change conditional to + [SHARED]. + [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to + [SHARED && !NO_HIDDEN]. + * include/shlib-compat.h [DO_VERSIONING]: Change conditional to + [SHARED]. + [SHARED && DO_VERSIONING]: Likewise.. + * libio/Makefile [$(versioning) = yes]: Change conditionals to + [$(build-shared) = yes]. + * manual/install.texi (--disable-versioning): Remove + documentation. + * INSTALL: Regenerated. + * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional + to [SHARED]. + * sunrpc/Makefile [$(versioning) = yes]: Change conditional to + [$(build-shared) = yes]. + * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise. + * sysdeps/i386/i686/multiarch/strstr-c.c + [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to + [SHARED && !NO_HIDDEN]. + * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h + [SHARED && DO_VERSIONING]: Change conditional to [SHARED]. + * sysdeps/powerpc/powerpc32/dl-machine.c + [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error. + * sysdeps/powerpc/powerpc32/sysdep.h + [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional + to [SHARED && PIC && !NO_HIDDEN]. + * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change + conditional to [SHARED]. + +2013-09-04 Will Newton + + * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro. + * benchtests/bench-string.h: Include bench-timing.h instead + of including hp-timing.h directly. (INNER_LOOP_ITERS): New + define. (HP_TIMING_BEST): Delete macro. (test_init): Remove + call to HP_TIMING_DIFF_INIT. + * benchtests/bench-memccpy.c: Use bench-timing.h macros + instead of hp-timing.h macros. + * benchtests/bench-memchr.c: Likewise. + * benchtests/bench-memcmp.c: Likewise. + * benchtests/bench-memcpy.c: Likewise. + * benchtests/bench-memmem.c: Likewise. + * benchtests/bench-memmove.c: Likewise. + * benchtests/bench-memset.c: Likewise. + * benchtests/bench-rawmemchr.c: Likewise. + * benchtests/bench-strcasecmp.c: Likewise. + * benchtests/bench-strcasestr.c: Likewise. + * benchtests/bench-strcat.c: Likewise. + * benchtests/bench-strchr.c: Likewise. + * benchtests/bench-strcmp.c: Likewise. + * benchtests/bench-strcpy.c: Likewise. + * benchtests/bench-strcpy_chk.c: Likewise. + * benchtests/bench-strlen.c: Likewise. + * benchtests/bench-strncasecmp.c: Likewise. + * benchtests/bench-strncat.c: Likewise. + * benchtests/bench-strncmp.c: Likewise. + * benchtests/bench-strncpy.c: Likewise. + * benchtests/bench-strnlen.c: Likewise. + * benchtests/bench-strpbrk.c: Likewise. + * benchtests/bench-strrchr.c: Likewise. + * benchtests/bench-strspn.c: Likewise. + * benchtests/bench-strstr.c: Likewise. + +2013-09-04 Will Newton + + * benchtests/Makefile: Use LDLIBS instead of LDFLAGS. + +2013-09-03 Joseph Myers + + [BZ #15427] + * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use + 2**-30 instead of 2**-70 as threshold for returning -log(|x|). + * math/libm-test.inc (lgamma_test_data): Add more tests. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2013-09-03 Ondƙej BĂ­lka + + * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file. + * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list): + Add ifunc. + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): + Add strcmp-sse2-unaligned + * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc. + +2013-09-02 Mike Frysinger + + * Versions.def (libc): Add GLIBC_2.19. + +2013-09-02 Mike Frysinger + + * sysdeps/unix/sysv/linux/tst-fanotify.c: New test. + * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify. + +2013-09-02 Joseph Myers + + [BZ #14155] + * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for + intermediate calculations in recurrence. + (__ieee754_ynf): Likewise. + * math/libm-test.inc (jn_test_data): Do not allow spurious + underflow exception. Add more tests. + (yn_test_data): Add more tests. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2013-09-02 Ondƙej BĂ­lka + + * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo. + +2013-08-30 Ondƙej BĂ­lka + + * csu/init-first.c: Fix then/than typos. + * locale/programs/ld-collate.c: Likewise. + * locale/programs/linereader.h: Likewise. + * manual/charset.texi: Likewise. + * manual/filesys.texi: Likewise. + * manual/stdio.texi: Likewise. + * manual/string.texi: Likewise. + * stdlib/fmtmsg.c: Likewise. + * sysdeps/i386/stpncpy.S: Likewise. + * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise. + * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise. + * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise. + * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise. + +2013-08-30 Ondƙej BĂ­lka + + * elf/dl-open.c: Fix typos. + * iconvdata/gbbig5.c: Likewise. + * iconvdata/iso-2022-jp.c: Likewise. + * iconv/gconv_int.h: Likewise. + * iconv/loop.c: Likewise. + * nis/rpcsvc/nis.h: Likewise. + * resolv/ns_name.c: Likewise. + * stdio-common/vfscanf.c: Likewise. + * streams/stropts.h: Likewise. + * sunrpc/rpc_thread.c: Likewise. + * sysdeps/i386/strpbrk.S: Likewise. + * sysdeps/ieee754/k_standard.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise. + * sysdeps/mach/hurd/dl-sysdep.c: Likewise. + * sysdeps/mach/hurd/profil.c: Likewise. + * sysdeps/s390/dl-procinfo.h: Likewise. + * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise. + * sysdeps/x86_64/dl-trampoline.S: Likewise. + * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise. + +2013-08-30 Ondƙej BĂ­lka + + * sysdeps/x86_64/multiarch/rawmemchr.S: Delete. + * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc. + +2013-08-29 Ondƙej BĂ­lka + + * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove + aix specific files. + * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise. + +2013-08-29 Thomas Schwinge + Roland McGrath + + * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS. + * sysdeps/mach/hurd/bits/errno.h: Regenerate. + +2013-08-29 Samuel Thibault + + * sysdeps/mach/hurd/i386/init-first.c (init1): Use + __executable_start symbol instead of _start. + +2013-08-29 Thomas Schwinge + + * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER) + (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): + Move macros to... + * sysdeps/gnu/ldsodefs.h: ... this new file. + + * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI) + (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU + instead of ELFOSABI_LINUX. + + [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases + * stdlib/strtof_l.c (SET_MANTISSA): Rewrite. + * stdlib/strtod_l.c (SET_MANTISSA): Likewise. + * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA): + Likewise. + * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise. + * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise. + * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA): + Likewise. + * sysdeps/ieee754/ldbl-128ibm/ieee754.h + (ibm_extended_long_double): Add ieee_nan member. + * stdlib/tst-strtod6.c (test): New function, renamed from do_test. + (do_test): New function. + + * math/basic-test.c (TEST_CONVERT): New macro, renamed from + TEST_TRUNC. + (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New + functions, renamed from truncdfsf_test, trunctfsf_test, + trunctfdf_test. + (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New + functions. + (do_test): Run all these. + +2013-08-29 Ondƙej BĂ­lka + + * argp/argp-help.c: Fix typos. + * argp/argp-parse.c: Likewise. + * debug/backtracesyms.c: Likewise. + * elf/elf.h: Likewise. + * malloc/malloc.c: Likewise. + * nis/nis_print.c: Likewise. + * resolv/res_comp.c: Likewise. + * stdlib/stdlib.h: Likewise. + * sunrpc/clnt_tcp.c: Likewise. + * sunrpc/clnt_udp.c: Likewise. + * sunrpc/clnt_unix.c: Likewise. + * sysdeps/unix/bsd/ptsname.c: Likewise. + * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: + Likewise. + * sysdeps/unix/sysv/linux/ptsname.c: Likewise. + +2013-08-28 Siddhesh Poyarekar + + * nscd/aicache.c (addhstaiX): Use __glibc_unlikely. + * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise. + +2013-08-27 Mike Frysinger + + [BZ #15897] + * dlfcn/Makefile (tests): Add bug-dl-leaf. + (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb. + ($(objpfx)bug-dl-leaf): New rule. + ($(objpfx)bug-dl-leaf.so): Likewise. + ($(objpfx)bug-dl-leaf.out): Likewise. + ($(objpfx)bug-dl-leaf-lib.so): Likewise. + ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise. + * dlfcn/bug-dl-leaf.c: New test. + * dlfcn/bug-dl-leaf-lib.c: Likewise. + * dlfcn/bug-dl-leaf-lib-cb.c: Likewise. + * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL. + (dlclose): Likewise. + (dlmopen): Likewise. + +2013-08-27 Roland McGrath + + * include/netdb.h [!_ISOMAC]: + Don't include . + (h_errno, __libc_h_errno): Move declaration and macros out of + [_LIBC_REENTRANT]. + + * include/resolv.h [_RESOLV_H_]: + Don't include . + (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT]. + * resolv/res_libc.c: Don't include . + (_res): Use __attribute__ ((nocommon)) in place of + __attribute__ ((section (".bss"))). + + * Makefile ($(common-objpfx)linkobj/libc_pic.a): + If [sunrpc not in $(subdirs)], define to use libc_pic.a directly. + + * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD]. + + * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare + only under [SIOCGIFCONF && SIOCGIFNETMASK]. + + * resolv/res_mkquery.c: Include . + + * inet/ifreq.c: Moved to ... + * sysdeps/unix/ifreq.c: ... here. + * inet/ifreq.c: New file, true stub version. + + * socket/sa_len.c: New file. + * socket/Makefile (aux): Add it. + * sysdeps/unix/sysv/linux/Makefile + [$(subdir) = socket] (sysdep_routines): Don't add sa_len here. + * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H + and #include . + * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define + HAVE_NETIUCV_IUCV_H and #include . + + * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ... + * bits/socket.h: ... here. + + * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type): + Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD. + (SOCK_MAX, SOCK_TYPE_MASK): New macros. + +2013-08-27 Andreas Schwab + + [BZ #15736] + * locale/categories.def (LC_CTYPE): Add "nonascii-case" element. + * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV) + (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define. + * string/test-strcasecmp.c (test_main): Run tests in several + locales. + * string/test-strncasecmp.c (test_main): Likewise. + + * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2) + (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through + to __strcasecmp_nonascii and __strncasecmp_nonascii. + * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3) + (__strncasecmp_ssse3) [PIC]: Likewise. + +2013-08-26 Roland McGrath + + * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat. + + * nss/nss_files/files-key.c: Include + instead of explicitly declaring xdecrypt. + * nis/nss_nis/nis-publickey.c: Likewise. + +2013-08-26 Siddhesh Poyarekar + + [BZ #15890] + * nscd/aicache.c: Include res_hconf.h. + (addhstaiX): Initialize res_hconf. + +2013-08-26 Andreas Schwab + + * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove. + ($(objpfx)tst-tls-atexit): Add dependencies here instead. + +2013-08-26 Siddhesh Poyarekar + + * nscd/aicache.c (addhstaiX): Fix indentation. + +2013-08-25 Mike Frysinger + + * configure.ac: Quote $build_pt_chown test. + * configure: Regenerated. + +2013-08-23 Joseph Myers + + [BZ #15532] + * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument. + * math/s_cexpf.c (__cexpf): Likewise. + * math/s_cexpl.c (__cexpl): Likewise. + * math/libm-test.inc (cexp_test_data): Correct expected return + value for NaN + i0. Add another test. + +2013-08-22 David S. Miller + + * po/ca.po: Update Catalan translation from translation project. + * po/uk.po: Add Ukrainian translations from translation project. + +2013-08-21 Joseph Myers + + [BZ #15797] + * math/s_fdim.c (__fdim): Check for infinite arguments if result + is infinite, not alongside NaN test. + * math/s_fdimf.c (__fdimf): Likewise. + * math/s_fdiml.c (__fdiml): Likewise. + * math/libm-test.inc (fdim_test_data): Add more tests. Test that + errno is unchanged. + +2013-08-21 Ondƙej BĂ­lka + + * argp/argp-help.c: Fix typos. + * crypt/speeds.c: Likewise. + * csu/check_fds.c: Likewise. + * elf/dl-load.c: Likewise. + * elf/dl-open.c: Likewise. + * elf/reldep3.c: Likewise. + * elf/reldep.c: Likewise. + * elf/sprof.c: Likewise. + * iconv/iconv_charmap.c: Likewise. + * iconv/skeleton.c: Likewise. + * iconv/strtab.c: Likewise. + * io/lockf64.c: Likewise. + * libio/libioP.h: Likewise. + * resolv/gai_notify.c: Likewise. + * resolv/ns_name.c: Likewise. + * resolv/ns_samedomain.c: Likewise. + * resolv/res_send.c: Likewise. + * stdlib/random.c: Likewise. + * sunrpc/rpc/xdr.h: Likewise. + * sysdeps/i386/fpu/fraiseexcpt.c: Likewise. + * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise. + * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise. + * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise. + * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise. + * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise. + * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise. + * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise. + * sysdeps/mach/hurd/check_fds.c: Likewise. + * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise. + * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise. + * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. + * sysdeps/powerpc/powerpc32/setjmp.S: Likewise. + * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise. + * sysdeps/pthread/aio_notify.c: Likewise. + * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise. + * sysdeps/unix/sysv/linux/socketcall.h: Likewise. + * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise. + * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise. + * sysdeps/x86/fpu/bits/fenv.h: Likewise. + +2013-08-21 Liubov Dmitrieva + + * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2 + version if bit_Slow_SSE4_2 is set. + * sysdeps/i386/i686/multiarch/strncase.S: Likewise. + * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise. + +2013-07-23 Adhemerval Zanella + + [BZ #15867] + * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal + trampoline stack frame information. + * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h + (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline. + (__vdso_sigtramp32): New variable: PPC32 signal trampoline. + (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline. + * sysdeps/unix/sysv/linux/powerpc/init-first.c + (_libc_vdso_platform_setup): Initialize the signal trampolines. + * debug/tst-backtrace5.c (fn): Add an option set modify sigaction + sa_flags value. + * debug/tst-backtrace6.c: New file: check backtrace for signal frames, + interrupting a syscall and set with option SA_SIGINFO. + +2013-08-20 Joseph Myers + + [BZ #15531] + * math/s_cproj.c (__cproj): Only return an infinity if one part of + argument is infinite. + * math/s_cprojf.c (__cprojf): Likewise. + * math/s_cprojl.c (__cprojl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise. + * math/libm-test.inc (cproj_test_data): Add more tests. + + * sysdeps/unix/sysv/linux/mmap64.c: Include . + + * sysdeps/unix/sysv/linux/mmap64.c (__mmap64) + [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page + size. Use __ffs to determine corresponding shift. + +2013-08-20 Joseph Myers + Roland McGrath + + * Makefile (INSTALL): Remove trailing blank lines from output of + makeinfo. + +2013-08-20 Andreas Krebbel + + * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus): + Align 32 bit compat elf_greg to 8 bytes. + +2013-08-20 Andreas Arnez + + * elf/setup-vdso.h (setup_vdso): Fix missing string termination. + +2013-08-20 Siddhesh Poyarekar + + * string/strcoll_l.c (coll_seq): New structure. + (get_next_seq_cached): New function. + (get_next_seq): New function. + (do_compare): New function. + (STRCOLL): Use GNU style definition. Simplify implementation + by using get_next_seq, get_next_seq_cached and do_compare. + +2013-08-16 Florian Weimer + + [BZ #14699] + CVE-2013-4237 + * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode + member. + * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode + member. + * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member. + * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit. + Return delayed error code. Remove GETDENTS_64BIT_ALIGNED + conditional. + * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define + GETDENTS_64BIT_ALIGNED. + * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise. + * manual/filesys.texi (Reading/Closing Directory): Document + ENAMETOOLONG return value of readdir_r. Recommend readdir more + strongly. + * manual/conf.texi (Limits for Files): Add portability note to + NAME_MAX, PATH_MAX. + (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX. + +2013-08-13 Andreas Schwab + + [BZ #15749] + * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead + of fabs. + * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE && + LDBL_MAX_EXP >= 16384]: Add tests for it. + +2013-08-12 David S. Miller + + * version.h (RELEASE): Set to "development". + (VERSION): Set to "2.18.90". + * NEWS: Add 2.19 section. + +2013-08-03 David S. Miller + + * po/ko.po: Update Korean translation from translation project. + +2013-08-01 David S. Miller + + * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add + entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej + Bilka. + +2013-07-30 David S. Miller + + * po/fr.po: Update French translation from translation project. + +2013-07-28 David S. Miller + + * po/cs.po: Update Czech translation from translation project. + + * po/sv.po: Update Swedish translation from translation project. + +2013-07-27 David S. Miller + + * po/eo.po: Update Esperanto translation from translation project. + + * po/vi.po: Update Vietnamese translation from translation project. + + * po/de.po: Update German translation from translation project. + +2013-07-26 David S. Miller + + * po/bg.po: Update Bulgarian translation from translation project. + + * po/nl.po: Update Dutch translation from translation project. + * po/pl.po: Update Polish translation from translation project. + * po/ru.po: Update Russian translation from translation project. + +2013-07-24 David S. Miller + + * po/libc.pot: Update. + +2013-07-23 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support + variable page size. + * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf. + * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init. + +2013-07-22 Andreas Krebbel + + * sysdeps/s390/fpu/libm-test-ulps: Refresh. + +2013-07-21 Siddhesh Poyarekar + Andreas Schwab + Roland McGrath + Joseph Myers + Carlos O'Donell + + [BZ #15755] + * config.h.in: Define HAVE_PT_CHOWN. + * config.make.in (build-pt-chown): New variable. + * configure.in (--enable-pt_chown): New configure option. + * configure: Regenerate. + * login/Makefile: Include Makeconfig. Build pt_chown only if + build-pt-chown is enabled. + * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn + pt_chown to fix pty ownership. + * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define + CLOSE_ALL_FDS. + * manual/install.texi (Configuring and compiling): Mention + --enable-pt_chown. Add @findex for grantpt. + * INSTALL: Regenerate. + +2013-07-20 David S. Miller + + * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor + difference between 32-bit and 64-bit. + +2013-07-15 Carlos O'Donell + + [BZ #15711] + * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h): + Avoid system header dependency with -ffreestanding. + ($(objpfx)bits/syscall%d): Likewise. + +2013-07-13 David S. Miller + + * math/libm-test.inc (casin_test_data): Annotate more cases of missing + underflows from atanl/atan2l due to bug 15319. + (casinh_test_data): Likewise. + +2013-07-07 David S. Miller + + * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch. + +2013-07-05 Jeroen Albers <_jeroen_@yahoo.com> + + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2013-07-04 Siddhesh Poyarekar + + * configure.in (--enable-lock-elision): Fix message text. + * INSTALL: Regenerate. + * configure: Regenerate. + +2013-07-04 Adhemerval Zanella + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2013-07-03 Andreas Jaeger + + * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add + define. + (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10. + (ptrace_peeksiginfo_args): Add. + (__ptrace_peeksiginfo_flags): Add. + * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise. + * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise. + +2013-07-03 Allan McRae + + * sysdeps/i386/fpu/libm-test-ulps: Update. + +2013-07-02 David S. Miller + + * sysdeps/sparc/fpu/libm-test-ulps: Update. + +2013-07-02 Markus Trippelsdorf + + * sysdeps/x86_64/fpu/libm-test-ulps: Update. + +2013-07-02 Joseph Myers + + * sysdeps/i386/fpu/libm-test-ulps: Regenerated. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2013-07-02 Andi Kleen + + * config.h.in (ENABLE_LOCK_ELISION): Add. + * configure.in (--enable-lock-elision): Add option. + * manual/install.texi: Document --enable lock elision. + * configure: Regenerate + * INSTALL: Regenerate. + +2013-07-02 H.J. Lu + + * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable + SSE4.2 strcasecmp for libc.a. + * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise. + +2013-07-02 Joseph Myers + + [BZ #13304] + * soft-fp/op-common.h (_FP_FMA): New macro. + * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro. + (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ... + (_FP_MUL_MEAT_1_imm): ... here. + (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ... + (_FP_MUL_MEAT_1_wide): ... here. + (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ... + (_FP_MUL_MEAT_1_hard): ... here. + * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro. + (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ... + (_FP_MUL_MEAT_2_wide): ... here. + (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ... + (_FP_MUL_MEAT_2_wide_3mul): ... here. + (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ... + (_FP_MUL_MEAT_2_gmp): ... here. + * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro. + (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ... + (_FP_MUL_MEAT_4_wide): ... here. + (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ... + (_FP_MUL_MEAT_4_gmp): ... here. + * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro. + (_FP_WFRACBITS_DW_S): Likewise. + (_FP_WFRACXBITS_DW_S): Likewise. + (_FP_HIGHBIT_DW_S): Likewise. + (FP_FMA_S): Likewise. + (_FP_FRAC_HIGH_DW_S): Likewise. + * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro. + (_FP_WFRACBITS_DW_D): Likewise. + (_FP_WFRACXBITS_DW_D): Likewise. + (_FP_HIGHBIT_DW_D): Likewise. + (FP_FMA_D): Likewise. + (_FP_FRAC_HIGH_DW_D): Likewise. + * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro. + (_FP_WFRACBITS_DW_E): Likewise. + (_FP_WFRACXBITS_DW_E): Likewise. + (_FP_HIGHBIT_DW_E): Likewise. + (FP_FMA_E): Likewise. + (_FP_FRAC_HIGH_DW_E): Likewise. + * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro. + (_FP_WFRACBITS_DW_Q): Likewise. + (_FP_WFRACXBITS_DW_Q): Likewise. + (_FP_HIGHBIT_DW_Q): Likewise. + (FP_FMA_Q): Likewise. + (_FP_FRAC_HIGH_DW_Q): Likewise. + * soft-fp/fmasf4.c: New file. + * soft-fp/fmadf4.c: Likewise. + * soft-fp/fmatf4.c: Likewise. + +2013-06-28 Liubov Dmitrieva + + * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set + bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel + Silvermont. + * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New + macro. + (index_Slow_SSE4_2): Likewise. + (index_Prefer_PMINUB_for_stringop): Likewise. + * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if + bit_Slow_SSE4_2 is set. + * sysdeps/x86_64/multiarch/strcmp.S: Likewise. + * sysdeps/x86_64/multiarch/strrchr.S: Likewise. + +2013-06-28 Ryan S. Arnold + + * sysdeps/powerpc/Makefile: Add comment about generating an offset to + rtld_global._dl_hwcap2. + * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for + POWER8. + * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for + POWER8 feature descriptions defined in _dl_hwcap2. + * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2 + string handling for POWER8 feature bits. + (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits. + (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in + _dl_powerpc_cap_flags. + (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2. + * sysdeps/powerpc/rtld-global-offsets.sym + (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate + _dl_hwcap2 in the rtld_global_ro structure. + +2013-06-28 Ryan S. Arnold + + * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more + hardware capabilities in support of AT_HWCAP2. + (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2). + * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into + GLRO(dl_hwcap2). + (_dl_show_auxv): Add support for calling _dl_procinfo to display + AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2 + explicitly the unknown a_type display mechanism is used. + * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2. + * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new + struct member. + * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter + to macro prototype for AT_HWCAP2 support. + * sysdeps/i386/dl-procinfo.h: Likewise. + * sysdeps/s390/dl-procinfo.h: Likewise. + * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to + macro prototype for AT_HWCAP2 support. Make WORD unsigned long int + rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to + return -1 for unknown a_type display fallback. + * sysdeps/sparc/dl-procinfo.h: Likewise. + * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise. + * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise. + +2013-06-28 Joseph Myers + + * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift + instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL. + +2013-06-28 Pierre Ynard + + [BZ #12492] + * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of + mprotect making __stack_prot writable. + +2013-06-28 Nathan Froyd + Joseph Myers + + * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count' + as being properly aligned. + +2013-06-28 Maciej W. Rozycki + + * dlfcn/modstatic5.c: New file. + * dlfcn/tststatic5.c: New file. + * dlfcn/Makefile (tests): Add tststatic5. + (tests-static): Likewise. + (modules-names): Add modstatic5. + (tststatic5-ENV): New variable. + ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies. + + [BZ #15022] + * elf/dl-support.c (_dl_main_map): New variable. + (_dl_ns): Use it to initialize [LM_ID_BASE] element. + (_dl_nns, _dl_load_adds): Set to 1. + (_dl_initial_searchlist): Refer to _dl_main_map. + (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin. + * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback + call to _dl_get_origin. + * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing + around call_map. + (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns). + * dlfcn/modstatic3.c: New file. + * dlfcn/tststatic3.c: New file. + * dlfcn/tststatic4.c: New file. + * dlfcn/Makefile (tests): Add tststatic3 and tststatic4. + (tests-static): Likewise. + (modules-names): Add modstatic3. + (tststatic3-ENV, tststatic4-ENV): New variables. + ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies. + ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise. + +2013-06-26 Joseph Myers + + * configure.in (CC): Require GCC version 4.4 or later. + * configure: Regenerated. + * manual/install.texi (Tools for Compilation): Update GCC version + requirement. + * INSTALL: Regenerated. + +2013-06-26 Liubov Dmitrieva + + [BZ #15674] + * string/test-memcmp.c (check2): New. + (main): Call check2. + + * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun. + +2013-06-26 Maciej W. Rozycki + + [BZ #15022] + * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT + over to... + (dl_open_worker) [!SHARED]: ... here. + +2013-06-26 Ryan S. Arnold + + * elf/elf.h (AT_HWCAP2): Add a new a_type entry. + +2013-06-25 Richard Henderson + + * locale/programs/locarchive.c: Include + +2013-06-25 Joseph Myers + + * manual/texinfo.tex: Update to version 2013-06-21.17, with + trailing whitespace removed. + +2013-06-24 Mike Frysinger + + [BZ #10283] + * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len. + * locale/programs/locarchive.c: Include libc-mmap.h. + (prepare_address_space): Take two new outputs (the mmap base and len). + Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right + values. + (create_archive): Declare new mmap base and len values for + prepare_address_space, and store the result in ah. + (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT. + (enlarge_archive): If ah->mmap_base is not NULL, use that and + ah->mmap_len to unmap rather than ah->addr and ah->reserved. + Declare new mmap base and len values for + prepare_address_space, and store the result in new_ah. + (open_archive): Declare new mmap base and len values for + prepare_address_space, and store the result in ah. + (close_archive): If ah->mmap_base is not NULL, use that and + ah->mmap_len to unmap rather than ah->addr and ah->reserved. + * sysdeps/generic/libc-mmap.h: New file. + +2013-06-24 Mike Frysinger + + * include/libc-internal.h (ALIGN_DOWN): New helper macro. + (ALIGN_UP): Likewise. + (PTR_ALIGN_DOWN): Likewise. + (PTR_ALIGN_UP): Likewise. + +2013-06-24 Ryan S. Arnold + + * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8" + entry mapped to PPC_PLATFORM_POWER8. + * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for + POWER8. + (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor. + (_dl_string_platform): Add case for exporting platform position for + POWER8. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain + search path to sysdeps/powerpc/powerpc32/power8 directory. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain + search path to sysdeps/powerpc/powerpc64/power8 directory. + * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to + power7 directories. + * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to + power7 directories. + +2013-06-24 Siddhesh Poyarekar + + * INSTALL: Regenerate. + + * nscd/connections.c (nscd_init): Fix comment. + +2013-06-22 Joseph Myers + + * sysdeps/unix/sysv/linux/libc_fatal.c: Include . + + [BZ #15667] + * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2 + to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2. + +2013-06-21 Maciej W. Rozycki + + * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to + DL_DST_REQ_STATIC. + (DL_DST_REQ_STATIC): Remove macro. + +2013-06-21 Joseph Myers + + [BZ #7006] + * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL + with a shift of 0 bits. + +2013-06-21 Maciej W. Rozycki + + * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of + $(tststatic-ENV). + +2013-06-21 Kaz Kojima + + [BZ #15655] + * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file. + +2013-06-20 Adhemerval Zanella + + * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define. + * configure.in (libc_cv_cc_loop_to_function): Check if compiler + accepts -fno-tree-loop-distribute-patterns. + * include/libc-symbols.h (inhibit_loop_to_libcall): New macro. + * string/memmove.c (MEMMOVE): Disable loop transformation to avoid + recursive call. + * string/memset.c (memset): Likewise. + * string/test-memmove.c (simple_memmove): Disable loop transformation + to library calls. + * string/test-memset.c (simple_memset): Likewise. + * benchtests/bench-memmove.c (simple_memmove): Likewise. + * benchtests/bench-memset.c (simple_memset): Likewise. + * configure: Regenerated. + +2013-06-20 Joseph Myers + + * math/test-misc.c (main): Ignore fesetround failure when failures + of subsequent rounding tests would be ignored. + + [BZ #15654] + * math/fedisblxcpt.c (fedisableexcept): Return 0. + * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0. + * math/fegetenv.c (__fegetenv): Return 0. + * math/fegetexcept.c (fegetexcept): Return 0. + * math/fegetround.c (fegetround) [FE_TONEAREST]: Return + FE_TONEAREST. + * math/feholdexcpt.c (feholdexcept): Return 0. + * math/fesetenv.c (__fesetenv): Return 0. + * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for + argument FE_TONEAREST. + * math/feupdateenv.c (__feupdateenv): Return 0. + * math/fgetexcptflg.c (__fegetexceptflag): Return 0. + +2013-06-18 Roland McGrath + + * elf/rtld-Rules (rtld-compile-command.S): New variable. + (rtld-compile-command.s, rtld-compile-command.c): New variables. + ($(objpfx)rtld-%.os rules): Use them. + +2013-06-17 Adhemerval Zanella + + * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch + fields. + +2013-06-17 Roland McGrath + + * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending + length of target pattern, then descending length of dependency pattern. + * configure.in (AWK): Require gawk 3.1.2 or newer. + * manual/install.texi (Tools for Compilation): Say that we do. + * configure: Regenerated. + + * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed. + ($(common-objpfx)sysd-rules): Replace shell logic with running ... + * scripts/sysd-rules.awk: ... this new script. + * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather + than a glob-style pattern. + +2013-06-17 Joseph Myers + + * math/test-misc.c (main): Do not treat incorrectly rounded + conversions as failure unless ROUNDING_TESTS passes. + +2013-06-15 Joseph Myers + + [BZ #15631] + * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and + restore exception state around main square root computation, then + check for inexactness explicitly. + + * math/libm-test.inc (fma_test_data): Add another test. + +2013-06-15 Siddhesh Poyarekar + + * manual/threads.texi (Non-POSIX Extensions): New document + node. Document pthread_getattr_default_np and + pthread_setattr_default_np. + + * Versions.def (libpthread): Add GLIBC_2.18. + * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist: + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist: + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist: + Likewise. + * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: + Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist: + Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist: + Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: + Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: + Likewise. + +2013-06-14 Liubov Dmitrieva + + * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): + Set bit_Fast_Unaligned_Load for Intel Silvermont architecture. + +2013-06-14 Siddhesh Poyarekar + H.J. Lu + + [BZ #15627] + * sysdeps/x86_64/rtld-memset.c: Remove file. + * sysdeps/x86_64/rtld-memset.S: New file. + +2013-06-14 Joseph Myers + + * stdlib/tst-strtod-round.c: Include . + (test_in_one_mode): Take arguments for whether the rounding mode + is supported for each floating-point type. + (do_test): Pass new arguments to test_in_one_mode using + ROUNDING_TESTS. + +2013-06-13 Roland McGrath + + * posix/tst-waitid.c (do_test): Distinguish different instances of + stopped/continued in CHECK_SIGCHLD uses. Insert a delay between + sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered + before entering the kernel for waitpid. + +2013-06-13 Siddhesh Poyarekar + + * NEWS: Fix note on clock function precision. Text by Roland + McGrath. + +2013-06-13 Roland McGrath + + * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move + it into place only when and if the sanity check passes. + +2013-06-13 Joseph Myers + + * stdlib/gen-tst-strtod-round.c (round_str): Always generate + output for whether conversion result is exact. Take argument + indicating whether type is IBM long double. + (round_for_all): Change need_exact field to ibm_ld. + * stdlib/tst-strtod-round.c (struct exactness): New type. + (struct test): Change bool ld_ok field to struct exactness exact. + (TEST): Update all definitions for change to field. + (tests): Regenerate array contents. + (test_in_one_mode): Take pointer to new field instead of old ld_ok + field value. Check for IBM long double here. + (do_test): Update calls to test_in_one_mode. + +2013-06-13 Siddhesh Poyarekar + + [BZ #12515] + * sysdeps/unix/sysv/linux/clock.c (clock): Use result from + CLOCK_PROCESS_CPUTIME_ID clock instead of __times. + +2013-06-12 Adhemerval Zanella + + [BZ #15605] + * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls + generated by the compiler on loop optimizations. + * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for + general definitions. + +2013-06-12 Joseph Myers + + * math/bug-nextafter.c: Include . + (main): Only test for exceptions if EXCEPTION_TESTS is true for + the relevant type. + * math/bug-nexttoward.c: Include . + (main): Only test for exceptions if EXCEPTION_TESTS is true for + the relevant type. + * math/test-misc.c: Include . + (main): Only test for exceptions if EXCEPTION_TESTS is true for + the relevant type. + +2013-06-12 Andreas Jaeger + + * po/ia.po: Update Interlingua translation from translation + project. + +2013-06-12 Siddhesh Poyarekar + + * include/fenv.h: Include stdbool.h. + (struct rm_ctx): New structure. + * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC): + Define macro. + (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC. + (SET_RESTORE_ROUNDF): Likewise. + (SET_RESTORE_ROUNDL): Likewise. + (SET_RESTORE_ROUND_NOEX): Likewise. + (SET_RESTORE_ROUND_NOEXF): Likewise. + (SET_RESTORE_ROUND_NOEXL): Likewise. + (SET_RESTORE_ROUND_53BIT): Likewise. + [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro. + (libc_feresetround_noexf_ctx): Likewise. + (libc_feresetround_noexl_ctx): Likewise. + (libc_feholdsetround_53bit_ctx): Likewise. + (libc_feresetround_53bit_ctx): Likewise. + * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro. + (libc_feholdexcept_setround_sse_ctx): New function. + (libc_fesetenv_sse_ctx): Likewise. + (libc_feupdateenv_sse_ctx): Likewise. + (libc_feholdexcept_setround_387_prec_ctx): Likewise. + (libc_feholdexcept_setround_387_ctx): Likewise. + (libc_feholdexcept_setround_387_53bit_ctx): Likewise. + (libc_feholdsetround_387_prec_ctx): Likewise. + (libc_feholdsetround_387_ctx): Likewise. + (libc_feholdsetround_387_53bit_ctx): Likewise. + (libc_feholdsetround_sse_ctx): Likewise. + (libc_feresetround_sse_ctx): Likewise. + (libc_feresetround_387_ctx): Likewise. + (libc_feupdateenv_387_ctx): Likewise. + (libc_feholdexcept_setroundf_ctx): Define macro. + (libc_fesetenvf_ctx): Likewise. + (libc_feupdateenvf_ctx): Likewise. + (libc_feholdsetroundf_ctx): Likewise. + (libc_feresetroundf_ctx): Likewise. + (libc_feholdexcept_setround_ctx): Likewise. + (libc_fesetenv_ctx): Likewise. + (libc_feupdateenv_ctx): Likewise. + (libc_feholdsetround_ctx): Likewise. + (libc_feresetround_ctx): Likewise. + (libc_feholdexcept_setroundl_ctx): Likewise. + (libc_feupdateenvl_ctx): Likewise. + (libc_feholdsetroundl_ctx): Likewise. + (libc_feresetroundl_ctx): Likewise. + [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise. + (libc_feresetround_53bit_ctx): Likewise. + +2013-06-11 Siddhesh Poyarekar + + * locale/iso-639.def: Convert to UTF-8. + +2013-06-11 Joseph Myers + + * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro. + (EXCEPTION_TESTS_double): Likewise. + (EXCEPTION_TESTS_long_double): Likewise. + (EXCEPTION_TESTS): Likewise. + * math/libm-test.inc (test_exceptions): Only test exceptions if + EXCEPTION_TESTS (FLOAT). + +2013-06-11 Siddhesh Poyarekar + + * benchtests/Makefile (string-bench): Add strcpy_chk and + stpcpy_chk. + * benchtests/bench-stpcpy_chk-ifunc.c: New file. + * benchtests/bench-stpcpy_chk.c: New file. + * benchtests/bench-strcpy_chk-ifunc.c: New file. + * benchtests/bench-strcpy_chk.c: New file. + * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING + code. + (do_test): Likewise. + +2013-06-11 Ryan S. Arnold + + * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405, + ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c. + * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces + with tabs where appropriate. + [PPC_PLATFORM_PPC405]: Define new platform merging from ports/ + dl-procinfo.h. + [PPC_PLATFORM_PPC440]: Likewise. + [PPC_PLATFORM_PPC464]: Likewise. + [PPC_PLATFORM_PPC476]: Likewise. + (_dl_string_platform): Add support for detecting ppc405, ppc440, + ppc464, and ppc476 platform strings merging from ports/ + dl-procinfo.h. + +2013-06-11 Andreas Schwab + + [BZ #14991] + * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4) + (from_ucs4_idx): Regenerate. + (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros. + (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM) + (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO) + (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM) + (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP) + (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT) + (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros. + (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define + from FROM_LOOP and TO_LOOP specific macros. + (BODY): Handle combining characters. + * iconvdata/BIG5HKSCS.irreversible: Update. + * iconvdata/BIG5HKSCS.precomposed: New file. + * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned + characters. + * iconvdata/testdata/BIG5HKSCS..UTF8: Update. + +2013-06-11 Siddhesh Poyarekar + + * include/sys/time.h: Fix indentation and add copyright header. + + * string/test-memccpy.c (do_one_test): Remove HP_TIMING code. + (do_test): Likewise. + * string/test-memchr.c (do_one_test): Likewise. + (do_test): Likewise. + * string/test-memcmp.c (do_one_test): Likewise. + (do_test): Likewise. + * string/test-memcpy.c (do_one_test): Likewise. + (do_test): Likewise. + * string/test-memmem.c (do_one_test): Likewise. + (do_test): Likewise. + (do_random_tests): Likewise. + * string/test-memmove.c (do_one_test): Likewise. + (do_test): Likewise. + * string/test-memset.c (do_one_test): Likewise. + (do_test): Likewise. + * string/test-rawmemchr.c (do_one_test): Likewise. + (do_test): Likewise. + * string/test-strcasecmp.c (do_one_test): Likewise. + (do_test): Likewise. + * string/test-strcasestr.c (do_one_test): Likewise. + (do_test): Likewise. + * string/test-strcat.c (do_one_test): Likewise. + (do_test): Likewise. + * string/test-strchr.c (do_one_test): Likewise. + (do_test): Likewise. + * string/test-strcmp.c (do_one_test): Likewise. + (do_test): Likewise. + * string/test-strcpy.c (do_one_test): Likewise. + (do_test): Likewise. + * string/test-string.h: Likewise. + (test_init): Likewise. + * string/test-strlen.c (do_one_test): Likewise. + (do_test): Likewise. + * string/test-strncasecmp.c (do_one_test): Likewise. + (do_test): Likewise. + * string/test-strncat.c (do_one_test): Likewise. + (do_test): Likewise. + * string/test-strncmp.c (do_one_test): Likewise. + (do_test_limit): Likewise. + (do_test): Likewise. + * string/test-strncpy.c (do_one_test): Likewise. + (do_test): Likewise. + * string/test-strnlen.c (do_one_test): Likewise. + (do_test): Likewise. + * string/test-strpbrk.c (do_one_test): Likewise. + (do_test): Likewise. + * string/test-strrchr.c (do_one_test): Likewise. + (do_test): Likewise. + * string/test-strspn.c (do_one_test): Likewise. + (do_test): Likewise. + * string/test-strstr.c (do_one_test): Likewise. + (do_test): Likewise. + + * benchtests/Makefile (string-bench): Add string benchmarks. + * benchtests/bench-bcopy-ifunc.c: New file. + * benchtests/bench-bcopy.c: New file. + * benchtests/bench-bzero-ifunc.c: New file. + * benchtests/bench-bzero.c: New file. + * benchtests/bench-memccpy-ifunc.c: New file. + * benchtests/bench-memccpy.c: New file. + * benchtests/bench-memchr-ifunc.c: New file. + * benchtests/bench-memchr.c: New file. + * benchtests/bench-memcmp-ifunc.c: New file. + * benchtests/bench-memcmp.c: New file. + * benchtests/bench-memmem-ifunc.c: New file. + * benchtests/bench-memmem.c: New file. + * benchtests/bench-memmove-ifunc.c: New file. + * benchtests/bench-memmove.c: New file. + * benchtests/bench-mempcpy-ifunc.c: New file. + * benchtests/bench-mempcpy.c: New file. + * benchtests/bench-memset-ifunc.c: New file. + * benchtests/bench-memset.c: New file. + * benchtests/bench-rawmemchr-ifunc.c: New file. + * benchtests/bench-rawmemchr.c: New file. + * benchtests/bench-stpcpy-ifunc.c: New file. + * benchtests/bench-stpcpy.c: New file. + * benchtests/bench-stpncpy-ifunc.c: New file. + * benchtests/bench-stpncpy.c: New file. + * benchtests/bench-strcasecmp-ifunc.c: New file. + * benchtests/bench-strcasecmp.c: New file. + * benchtests/bench-strcasestr-ifunc.c: New file. + * benchtests/bench-strcasestr.c: New file. + * benchtests/bench-strcat-ifunc.c: New file. + * benchtests/bench-strcat.c: New file. + * benchtests/bench-strchr-ifunc.c: New file. + * benchtests/bench-strchr.c: New file. + * benchtests/bench-strchrnul-ifunc.c: New file. + * benchtests/bench-strchrnul.c: New file. + * benchtests/bench-strcmp-ifunc.c: New file. + * benchtests/bench-strcmp.c: New file. + * benchtests/bench-strcpy-ifunc.c: New file. + * benchtests/bench-strcpy.c: New file. + * benchtests/bench-strcspn-ifunc.c: New file. + * benchtests/bench-strcspn.c: New file. + * benchtests/bench-strlen-ifunc.c: New file. + * benchtests/bench-strlen.c: New file. + * benchtests/bench-strncasecmp-ifunc.c: New file. + * benchtests/bench-strncasecmp.c: New file. + * benchtests/bench-strncat-ifunc.c: New file. + * benchtests/bench-strncat.c: New file. + * benchtests/bench-strncmp-ifunc.c: New file. + * benchtests/bench-strncmp.c: New file. + * benchtests/bench-strncpy-ifunc.c: New file. + * benchtests/bench-strncpy.c: New file. + * benchtests/bench-strnlen-ifunc.c: New file. + * benchtests/bench-strnlen.c: New file. + * benchtests/bench-strpbrk-ifunc.c: New file. + * benchtests/bench-strpbrk.c: New file. + * benchtests/bench-strrchr-ifunc.c: New file. + * benchtests/bench-strrchr.c: New file. + * benchtests/bench-strspn-ifunc.c: New file. + * benchtests/bench-strspn.c: New file. + * benchtests/bench-strstr-ifunc.c: New file. + * benchtests/bench-strstr.c: New file. + + * benchtests/Makefile: Disable parallel execution of targets. + (string-bench): Add memcpy. + (benchset): New variable to store a list of benchmark sets. + (bench-func): Renamed from bench. + (bench-set): New target. + (bench): Depend on bench-func and bench-set. + * benchtests/README: Add section on benchmark sets. + * benchtests/bench-memcpy-ifunc.c: New file. + * benchtests/bench-memcpy.c: New file. + * benchtests/bench-string.h: New file. + +2013-06-11 Andreas Schwab + + [BZ #15577] + * nscd/connections.c (nscd_run_worker): Always zero-terminate key. + * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent + values in the triple. + * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero + terminator in the group key. + +2013-06-11 Andreas Jaeger + + * po/zh_TW.po: Update Chinese (traditional) translation from + translation project. + +2013-06-11 Siddhesh Poyarekar + + * include/time.h (__clock_gettime): Add libc_hidden_proto. + * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to + __clock_getcpuclockid. Add weak_alias and libc_hidden_def. + * sysdeps/unix/sysv/linux/clock_getcpuclockid.c + (clock_getcpuclockid): Likewise. + * rt/clock_getres.c (clock_getres): Rename to __clock_getres. + Add weak_alias and libc_hidden_def. + * sysdeps/posix/clock_getres.c (clock_getres): Likewise. + * rt/clock_gettime.c (clock_gettime): Rename to + __clock_gettime. Add weak_alias and libc_hidden_def. + * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise. + * rt/clock_nanosleep.c (clock_nanosleep): Rename to + __clock_nanosleep. Add weak_alias and libc_hidden_def. + * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise. + * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep): + Likewise. + * rt/clock_settime.c (clock_settime): Rename to + __clock_settime. Add weak_alias and libc_hidden_def. + * sysdeps/unix/clock_settime.c (clock_settime): Likewise. + +2013-06-10 Joseph Myers + + * mach/err_boot.sub: Remove trailing whitespace. + * mach/err_ipc.sub: Likewise. + * mach/err_mach.sub: Likewise. + + * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro. + (ROUNDING_TESTS_double): Likewise. + (ROUNDING_TESTS_long_double): Likewise. + (ROUNDING_TESTS): Likewise. + * math/libm-test.inc: Include . + (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS. + (IF_ROUND_INIT_FE_TONEAREST): Likewise. + (IF_ROUND_INIT_FE_TOWARDZERO): Likewise. + (IF_ROUND_INIT_FE_UPWARD): Likewise. + +2013-06-10 Siddhesh Poyarekar + + * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead + of assigning. + +2013-06-08 Joseph Myers + + * sysdeps/gnu/errlist.awk: Do not generate space at end of + otherwise empty TRANS lines. + * sysdeps/gnu/errlist.c: Regenerated. + + * catgets/gencat.c (error_print): Use (void) in function + definition. + * crypt/crypt_util.c (__init_des): Likewise. + * crypt/speeds.c (Stop): Likewise. + (main): Likewise. + * hurd/hurdmalloc.c (print_malloc_free_list): Likewise. + * inet/ruserpass.c (token): Likewise. + * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise. + * intl/localealias.c (extend_alias_table): Likewise. + * intl/plural-exp.c (init_germanic_plural): Likewise. + * libio/fcloseall.c (__fcloseall): Likewise. + * libio/genops.c (_IO_flush_all): Likewise. + (_IO_flush_all_linebuffered): Likewise. + (_IO_cleanup): Likewise. + (_IO_iter_begin): Likewise. + (_IO_iter_end): Likewise. + (_IO_list_lock): Likewise. + (_IO_list_unlock): Likewise. + (_IO_list_resetlock): Likewise. + * libio/getchar.c (getchar): Likewise. + * libio/getchar_u.c (getchar_unlocked): Likewise. + * libio/getwchar.c (getwchar): Likewise. + * libio/getwchar_u.c (getwchar_unlocked): Likewise. + * libio/oldstdfiles.c (_IO_check_libio): Likewise. + * login/getpt.c (__getpt): Likewise. + * login/tst-utmp.c (main): Likewise. + * malloc/hooks.c (__malloc_check_init): Likewise. + * malloc/malloc.c (__malloc_stats): Likewise. + * malloc/mtrace.c (tr_break): Likewise. + (mtrace): Likewise. + (muntrace): Likewise. + * misc/fstab.c (endfsent): Likewise. + * misc/getclktck.c (__getclktck): Likewise. + * misc/getdtsz.c (__getdtablesize): Likewise. + * misc/gethostid.c (gethostid): Likewise. + * misc/getpagesize.c (__getpagesize): Likewise. + * misc/getsysstats.c (__get_nprocs_conf): Likewise. + (__get_nprocs): Likewise. + (__get_phys_pages): Likewise. + (__get_avphys_pages): Likewise. + * misc/getttyent.c (getttyent): Likewise. + (setttyent): Likewise. + (endttyent): Likewise. + * misc/getusershell.c (getusershell): Likewise. + (endusershell): Likewise. + (setusershell): Likewise. + (initshells): Likewise. + * misc/hsearch.c (__hdestroy): Likewise. + * misc/sync.c (sync): Likewise. + * misc/syslog.c (closelog_internal): Likewise. + (closelog): Likewise. + * misc/ttyslot.c (ttyslot): Likewise. + * misc/vhangup.c (vhangup): Likewise. + * posix/fork.c (__fork): Likewise. + * posix/getegid.c (__getegid): Likewise. + * posix/geteuid.c (__geteuid): Likewise. + * posix/getgid.c (__getgid): Likewise. + * posix/getpid.c (__getpid): Likewise. + * posix/getppid.c (__getppid): Likewise. + * posix/getuid.c (__getuid): Likewise. + * posix/pause.c (pause): Likewise. + * posix/setpgrp.c (setpgrp): Likewise. + * posix/setsid.c (__setsid): Likewise. + * posix/test-vfork.c (noop): Likewise. + * resolv/gethnamaddr.c (_endhtent): Likewise. + (_gethtent): Likewise. + (ht_endhostent): Likewise. + (gethostent): Likewise. + (dns_service): Likewise. + * stdlib/drand48.c (drand48): Likewise. + * stdlib/lrand48.c (lrand48): Likewise. + * stdlib/mrand48.c (mrand48): Likewise. + * stdlib/rand.c (rand): Likewise. + * stdlib/random.c (__random): Likewise. + * stdlib/setenv.c (clearenv): Likewise. + * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise. + * sunrpc/clnt_unix.c (clntunix_abort): Likewise. + * sysdeps/mach/getpagesize.c (__getpagesize): Likewise. + * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise. + (__get_nprocs): Likewise. + (__get_phys_pages): Likewise. + (__get_avphys_pages): Likewise. + * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise. + * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise. + * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise. + * sysdeps/mach/hurd/getegid.c (__getegid): Likewise. + * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise. + * sysdeps/mach/hurd/getgid.c (__getgid): Likewise. + * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise. + * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise. + * sysdeps/mach/hurd/getpid.c (__getpid): Likewise. + * sysdeps/mach/hurd/getppid.c (__getppid): Likewise. + * sysdeps/mach/hurd/getuid.c (__getuid): Likewise. + * sysdeps/mach/hurd/sync.c (sync): Likewise. + * sysdeps/posix/clock.c (clock): Likewise. + * sysdeps/unix/bsd/setsid.c (__setsid): Likewise. + * sysdeps/unix/getpagesize.c (__getpagesize): Likewise. + * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise. + * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise. + * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise. + * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise. + (__get_nprocs_conf): Likewise. + (__get_phys_pages): Likewise. + (__get_avphys_pages): Likewise. + * time/clock.c (clock): Likewise. + * time/tzset.c (__tzname_max): Likewise. + +2013-06-07 Joseph Myers + + * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)] + (__bswap_32): Do not use "register". + * crypt/crypt.c (_ufc_doit_r): Likewise. + * debug/stpcpy_chk.c (__stpcpy_chk): Likewise. + * debug/wcscat_chk.c (__wcscat_chk): Likewise. + * gmon/gmon.c (__monstartup): Likewise. + * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise. + * hurd/hurdmalloc.c (more_memory): Likewise. + (malloc): Likewise. + (free): Likewise. + (realloc): Likewise. + (malloc_fork_prepare): Likewise. + (malloc_fork_parent): Likewise. + (malloc_fork_child): Likewise. + * include/rpc/auth_des.h (xdr_authdes_verf): Likewise. + (_svcauth_des): Likewise. + * inet/inet_lnaof.c (inet_lnaof): Likewise. + * inet/inet_net.c (inet_network): Likewise. + * inet/inet_netof.c (inet_netof): Likewise. + * inet/rcmd.c (__validuser2_sa): Likewise. + * io/fts.c (fts_open): Likewise. + (fts_load): Likewise. + (fts_close): Likewise. + (fts_read): Likewise. + (fts_children): Likewise. + (fts_build): Likewise. + (fts_stat): Likewise. + (fts_sort): Likewise. + (fts_alloc): Likewise. + (fts_lfree): Likewise. + * libio/fileops.c (_IO_new_file_xsputn): Likewise. + (_IO_file_xsgetn): Likewise. + (_IO_file_xsgetn_mmap): Likewise. + * libio/iofopncook.c (_IO_cookie_read): Likewise. + (_IO_cookie_write): Likewise. + * libio/oldfileops.c (_IO_old_file_xsputn): Likewise. + * libio/wfileops.c (_IO_wfile_xsputn): Likewise. + * mach/msgserver.c (__mach_msg_server_timeout): Likewise. + * malloc/obstack.c (_obstack_begin): Likewise. + (_obstack_begin_1): Likewise. + (_obstack_newchunk): Likewise. + (_obstack_allocated_p): Likewise. + (obstack_free): Likewise. + (_obstack_memory_used): Likewise. + * misc/getttyent.c (getttynam): Likewise. + (getttyent): Likewise. + (skip): Likewise. + (value): Likewise. + * misc/getusershell.c (initshells): Likewise. + * misc/syslog.c (__vsyslog_chk): Likewise. + * misc/ttyslot.c (ttyslot): Likewise. + * nis/nis_hash.c (__nis_hash): Likewise. + * posix/fnmatch_loop.c (FCT): Likewise. + * posix/getconf.c (print_all): Likewise. + (main): Likewise. + * posix/getopt.c (exchange): Likewise. + * posix/glob.c (globfree): Likewise. + (prefix_array): Likewise. + (__glob_pattern_type): Likewise. + * resolv/arpa/nameser.h (NS_GET16): Likewise. + (NS_GET32): Likewise. + (NS_PUT16): Likewise. + (NS_PUT32): Likewise. + * resolv/gethnamaddr.c (getanswer): Likewise. + (gethostbyname2): Likewise. + (gethostbyaddr): Likewise. + (_gethtent): Likewise. + (_gethtbyname2): Likewise. + (_gethtbyaddr): Likewise. + * resolv/ns_print.c (dst_s_get_int16): Likewise. + * resolv/nss_dns/dns-host.c (getanswer_r): Likewise. + * resolv/res_init.c (__res_vinit): Likewise. + (net_mask): Likewise. + * resolv/res_mkquery.c (outchar): Likewise. + (PRINT): Likewise. + * stdio-common/printf_fp.c (outchar): Likewise. + (PRINT): Likewise. + * stdio-common/printf_fphex.c (outchar): Likewise. + (PRINT): Likewise. + * stdio-common/printf_size.c (outchar): Likewise. + (PRINT): Likewise. + * stdio-common/test_rdwr.c (main): Likewise. + * stdio-common/tfformat.c (matches): Likewise. + * stdio-common/vfprintf.c (outchar): Likewise. + (printf_unknown): Likewise. + (buffered_vfprintf): Likewise. + * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise. + * stdio-common/xbug.c (AppendToBuffer): Likewise. + (ReadFile): Likewise. + * stdlib/qsort.c (SWAP): Likewise. + (_quicksort): Likewise. + * stdlib/setenv.c (__add_to_environ): Likewise. + * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise. + * stdlib/strtol_l.c (__strtol_l): Likewise. + * stdlib/tst-strtod.c (main): Likewise. + * stdlib/tst-strtol.c (main): Likewise. + * stdlib/tst-strtoll.c (main): Likewise. + * string/bits/string2.h (__strcmp_cc): Likewise. + (__strcmp_cg): Likewise. + (__strcspn_c1): Likewise. + (__strcspn_c2): Likewise. + (__strcspn_c3): Likewise. + (__strspn_c1): Likewise. + (__strspn_c2): Likewise. + (__strspn_c3): Likewise. + (__strsep_1c): Likewise. + (__strsep_2c): Likewise. + (__strsep_3c): Likewise. + * string/memccpy.c (__memccpy): Likewise. + * string/stpcpy.c (__stpcpy): Likewise. + * string/strcmp.c (strcmp): Likewise. + * string/strrchr.c (strrchr): Likewise. + * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask): + Likewise. + * sysdeps/mach/hurd/getcwd.c + (_hurd_canonicalize_directory_name_internal): Likewise. + * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise. + * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise. + * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise. + * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16): + Likewise, in both definitions. + * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple + definitions. + [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE == + 64] (__bswap_64): Likewise. + * time/test_time.c (main): Likewise. + * time/tzfile.c (__tzfile_read): Likewise. + (__tzfile_compute): Likewise. + * time/tzset.c (__tzset_parse_tz): Likewise. + (tzset_internal): Likewise. + (compute_change): Likewise. + * wcsmbs/wcscat.c (__wcscat): Likewise. + * wcsmbs/wcschr.c (wcschr): Likewise. + * wcsmbs/wcschrnul.c (__wcschrnul): Likewise. + * wcsmbs/wcscspn.c (wcscspn): Likewise. + * wcsmbs/wcspbrk.c (wcspbrk): Likewise. + * wcsmbs/wcsrchr.c (wcsrchr): Likewise. + * wcsmbs/wcsspn.c (wcsspn): Likewise. + * wcsmbs/wcsstr.c (wcsstr): Likewise. + * wcsmbs/wmemchr.c (wmemchr): Likewise. + * wcsmbs/wmemcmp.c (WMEMCMP): Likewise. + * wcsmbs/wmemset.c (wmemset): Likewise. + +2013-06-06 Joseph Myers + + * scripts/config.guess: Update to version 2013-05-16. + * scripts/config.sub: Update to version 2013-04-24. + * scripts/install-sh: Update to version 2011-11-20.07. + * scripts/mkinstalldirs: Update to version 2009-04-28.21. + * scripts/move-if-change: Update to version 2012-01-06 07:23. + +2013-06-06 Ondƙej BĂ­lka + + * debug/fgetws_u_chk.c: Fix leading whitespaces. + * elf/sln.c: Likewise. + * hurd/hurd/ioctl.h: Likewise. + * hurd/hurdmalloc.c: Likewise. + * hurd/xattr.c: Likewise. + * include/shlib-compat.h: Likewise. + * inet/ruserpass.c: Likewise. + * libio/iofgets_u.c: Likewise. + * libio/iofgetws_u.c: Likewise. + * locale/programs/ld-identification.c: Likewise. + * locale/programs/ld-time.c: Likewise. + * mach/msg-destroy.c: Likewise. + * nss/nss_files/files-netgrp.c: Likewise. + * resolv/res_data.c: Likewise. + * soft-fp/op-1.h: Likewise. + * soft-fp/op-2.h: Likewise. + * soft-fp/op-4.h: Likewise. + * soft-fp/op-common.h: Likewise. + * stdio-common/printf_fphex.c: Likewise. + * stdlib/strtod_l.c: Likewise. + * sunrpc/rpc/clnt.h: Likewise. + * sysdeps/generic/framestate.c: Likewise. + * sysdeps/i386/bsd-_setjmp.S: Likewise. + * sysdeps/i386/bsd-setjmp.S: Likewise. + * sysdeps/i386/__longjmp.S: Likewise. + * sysdeps/i386/setjmp.S: Likewise. + * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise. + * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise. + * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise. + * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise. + * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise. + * sysdeps/ieee754/support.c: Likewise. + * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise. + * sysdeps/powerpc/powerpc32/lshift.S: Likewise. + * sysdeps/sparc/sparc32/__longjmp.S: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise. + * sysdeps/unix/sysv/linux/lutimes.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise. + +2013-06-05 Ondƙej BĂ­lka + + * posix/transbug.c: Remove executable mode. + +2013-06-05 Joseph Myers + + * crypt/speeds.c: Remove trailing whitespace. + * dlfcn/default.c: Likewise. + * elf/ifuncdep2.c: Likewise. + * elf/ifuncmain1.c: Likewise. + * elf/ifuncmain1vis.c: Likewise. + * elf/testobj.h: Likewise. + * elf/tst-stackguard1.c: Likewise. + * gmon/sys/gmon.h: Likewise. + * hurd/hurdmsg.c: Likewise. + * hurd/new-fd.c: Likewise. + * hurd/ports-get.c: Likewise. + * iconvdata/ibm1008_420.c: Likewise. + * inet/tst-getni1.c: Likewise. + * inet/tst-getni2.c: Likewise. + * libio/ioungetc.c: Likewise. + * libio/wfiledoalloc.c: Likewise. + * manual/libm-err-tab.pl: Likewise. + * math/w_dremf.c: Likewise. + * misc/ftruncate.c: Likewise. + * posix/bug-glob2.c: Likewise. + * posix/tst-pcre.c: Likewise. + * posix/wait4.c: Likewise. + * resolv/README: Likewise. + * resolv/res_debug.h: Likewise. + * resolv/tst-inet_ntop.c: Likewise. + * setjmp/bug269-setjmp.c: Likewise. + * soft-fp/extended.h: Likewise. + * soft-fp/op-1.h: Likewise. + * soft-fp/op-2.h: Likewise. + * soft-fp/op-4.h: Likewise. + * soft-fp/op-8.h: Likewise. + * soft-fp/testit.c: Likewise. + * stdio-common/bug16.c: Likewise. + * stdlib/random.c: Likewise. + * sunrpc/rpcsvc/rquota.x: Likewise. + * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise. + * sysdeps/ieee754/flt-32/k_cosf.c: Likewise. + * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise. + * sysdeps/ieee754/flt-32/k_sinf.c: Likewise. + * sysdeps/ieee754/flt-32/k_tanf.c: Likewise. + * sysdeps/ieee754/flt-32/s_atanf.c: Likewise. + * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise. + * sysdeps/ieee754/flt-32/s_erff.c: Likewise. + * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise. + * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise. + * sysdeps/ieee754/flt-32/s_logbf.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise. + * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise. + * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise. + * sysdeps/ieee754/s_lib_version.c: Likewise. + * sysdeps/mach/hurd/check_fds.c: Likewise. + * sysdeps/mach/hurd/getsockname.c: Likewise. + * sysdeps/mach/hurd/net/if_ppp.h: Likewise. + * sysdeps/mach/hurd/recvfrom.c: Likewise. + * sysdeps/powerpc/bits/link.h: Likewise. + * sysdeps/powerpc/dl-procinfo.c: Likewise. + * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise. + * sysdeps/powerpc/fpu/fenv_const.c: Likewise. + * sysdeps/powerpc/fpu/fesetenv.c: Likewise. + * sysdeps/powerpc/fpu/feupdateenv.c: Likewise. + * sysdeps/powerpc/fpu/s_rintf.c: Likewise. + * sysdeps/powerpc/fpu/t_sqrt.c: Likewise. + * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise. + * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise. + * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise. + * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise. + * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise. + * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise. + * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise. + * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise. + * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise. + * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise. + * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise. + * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise. + * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise. + * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise. + * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise. + * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise. + * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise. + * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise. + * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise. + * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise. + * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise. + * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise. + * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise. + * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise. + * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise. + * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise. + * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise. + * sysdeps/powerpc/powerpc64/strlen.S: Likewise. + * sysdeps/powerpc/powerpc64/strncmp.S: Likewise. + * sysdeps/powerpc/sysdep.h: Likewise. + * sysdeps/s390/s390-64/s390x-mcount.S: Likewise. + * sysdeps/s390/s390-64/sub_n.S: Likewise. + * sysdeps/sh/dl-trampoline.S: Likewise. + * sysdeps/sh/memset.S: Likewise. + * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise. + * sysdeps/sh/strlen.S: Likewise. + * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise. + * sysdeps/sparc/sparc32/dotmul.S: Likewise. + * sysdeps/sparc/sparc32/memcpy.S: Likewise. + * sysdeps/sparc/sparc32/rem.S: Likewise. + * sysdeps/sparc/sparc32/sdiv.S: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise. + * sysdeps/sparc/sparc32/strchr.S: Likewise. + * sysdeps/sparc/sparc32/udiv.S: Likewise. + * sysdeps/sparc/sparc32/urem.S: Likewise. + * sysdeps/sparc/sparc64/add_n.S: Likewise. + * sysdeps/sparc/sparc64/memcpy.S: Likewise. + * sysdeps/sparc/sparc64/rawmemchr.S: Likewise. + * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise. + * sysdeps/sparc/sparc64/stpncpy.S: Likewise. + * sysdeps/sparc/sparc64/strncmp.S: Likewise. + * sysdeps/sparc/sparc64/strncpy.S: Likewise. + * sysdeps/unix/bsd/times.c: Likewise. + * sysdeps/unix/sysv/linux/a.out.h: Likewise. + * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise. + * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise. + * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise. + * sysdeps/unix/sysv/linux/sh/brk.c: Likewise. + * sysdeps/unix/sysv/linux/sh/clone.S: Likewise. + * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise. + * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise. + * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise. + * sysdeps/unix/sysv/linux/sys/personality.h: Likewise. + * sysdeps/x86_64/fpu/s_ceill.S: Likewise. + * sysdeps/x86_64/fpu/s_llrintl.S: Likewise. + * sysdeps/x86_64/strcspn.S: Likewise. + +2013-06-05 Ryan S. Arnold + + * locale/C-translit.h: Revert #include because this is a + generated file. Regenerate properly from gen-translit.pl. + * locale/gen-translit.pl: Add #include . This generates + locale/C-translit.h. + +2013-06-05 Andreas Schwab + + [BZ #15100] + * time/strptime_l.c (__strptime_internal): Count Sunday in a %W + week as 6 instead of -1. + * time/tst-strptime.c (day_tests): Add test case. + +2013-06-05 Siddhesh Poyarekar + + * sysdeps/generic/math_private.h + (libc_feholdexcept_setround_53bit): Replace with + libc_feholdsetround_53bit. + (libc_feupdateenv_53bit): Replace with + libc_feresetround_53bit. + (SET_RESTORE_ROUND_53BIT): Adjust. + +2013-06-03 Siddhesh Poyarekar + + * string/test-strchrnul.c: Add copyright header. + + * posix/tst-getaddrinfo4.c: Increase test timeout. + +2013-06-03 Carlos O'Donell + + [BZ #15536] + * math/libm-test.inc (MAX_EXP): Remove + (MIN_EXP): Define. + (ulp): Use MIN_EXP - MANT_DIG. + (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp. + +2013-05-31 Carlos O'Donell + + * po/be.po: Revert last change. + * po/zh_CN.po: Likewise. + * po/header.pot: Likewise. + +2013-05-31 Joseph Myers + + * Makefile ($(common-objpfx)linkobj/libc.so): Define + link-libc-deps to empty as target-specific variable. + * Makerules (link-libc-args): New variable. + (libc-for-link): Likewise. + (link-libc-deps): Likewise. + (lib%.so): Depend on $(link-libc-deps). Link with + $(link-libc-args). + (build-module): Link with $(link-libc-args). + (build-module-asneeded): Likewise. + (build-module-helper-objlist): Filter out $(link-libc-deps) from + list of objects. + ($(common-objpfx)libc.so): Define link-libc-deps to empty as + target-specific variable. + ($(extra-modules-build:%=$(objpfx)%.so)): Depend on + $(link-libc-deps) instead of libc.so and libc_nonshared.a. + * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on + libc. + * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on + libc and ld.so. + ($(objpfx)libpcprofile.so): Likewise. + * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and + libc_nonshared.a. + ($(objpfx)libdl.so): Remove dependencies on libc and ld.so. + * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise. + * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on + $(link-libc-deps). + ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so. + * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise. + * login/Makefile ($(objpfx)libutil.so): Likewise. + * malloc/Makefile ($(objpfx)libmemusage.so): Likewise. + * math/Makefile ($(objpfx)libm.so): Likewise. + * nis/Makefile ($(services:%=$(objpfx)libnss_%.so) + $(objpfx)libnsl.so): Define libc-for-link as target-specific + variable instead of depending directly on libc. + * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise. + ($(objpfx)/libnss_test1.so): Change dependencies on libc to + $(link-libc-deps). + * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on + libc. + [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable. + ($(objpfx)libnss_dns.so): Remove dependencies on libc. + ($(objpfx)libanl.so): Likewise. + * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and + ld.so. + * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on + $(link-libc-deps). + * sysdeps/i386/fpu/Makefile: Remove file. + * sysdeps/powerpc/fpu/Makefile [$(subdir) = math] + ($(objpfx)libm.so): Remove dependency on ld.so. + +2013-05-30 Patsy Franklin + + [BZ # 15553] + * nis/yp_xdr.c (XDRMAXNAME): Define. + (XDRMAXRECORD): Define. + (xdr_domainname): Use XDRMAXNAME. + (xdr_mapname): Likewise. + (xdr_peername): Likewise. + (xdr_keydat): Use XDRMAXRECORD. + (xdr_valdat): Likewise. + +2013-05-30 Jeff Law + + [BZ #14256] + * manual/errno.texi (ESTALE): Update to account for more than + just NFS file systems. + * sysdeps/gnu/errlist.c: Regenerated. + +2013-05-29 Siddhesh Poyarekar + + [BZ #15465] + * elf/Makefile (tests): Add tst-null-argv. + (modules-names): Add tst-null-argv-lib. + ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so. + (tst-null-argv-ENV): Set environment for tst-null-argv. + * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro. + (RTLD_PROGNAME): New macro. + * elf/tst-null-argv.c: New test case. + * elf/tst-null-argv-lib.c: Library for test case. + * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME. + * elf/dl-deps.c (_dl_map_object_deps): Likewise. + * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME. + * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME. + * elf/dl-init.c (call_init): Likewise. + (_dl_init): Likewise. + * elf/dl-load.c (print_search_path): Likewise. + (_dl_map_object): Likewise. + * elf/dl-lookup.c (do_lookup_x): Likewise. + (add_dependency): Likewise. + (_dl_lookup_symbol_x): Likewise. + (_dl_debug_bindings): Likewise. + * elf/dl-open.c (_dl_show_scope): Likewise. + * elf/dl-reloc.c (_dl_relocate_object): Likewise. + * elf/dl-version.c (match_symbol): Likewise. + (_dl_check_map_versions): Likewise. + * elf/rtld.c (dl_main): Likewise. + (print_unresolved): Use RTLD_PROGNAME. + (print_missing_version): Likewise. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. + (elf_machine_rela): Likewise. + * sysdeps/powerpc/powerpc32/dl-machine.c + (__process_machine_rela): Likewise. + * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): + Likewise. + * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): + Likewise. + * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): + Likewise. + * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise. + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): + Likewise. + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): + Likewise. + * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise. + +2013-05-28 Carlos O'Donell + + * po/be.po: Add descriptive title. + * po/zh_CN.po: Likewise. + * po/header.pot: Likewise. + +2013-05-28 Mike Frysinger + + * locale/programs/locarchive.c (create_archive): Inlucde fname in + error message. + (enlarge_archive): Likewise. + +2013-05-28 Ben North + + * manual/arith.texi (frexp): It is the magnitude of the return + value which lies in [0.5, 1), not the return value itself. + +2013-05-28 Adhemerval Zanella + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2013-05-26 Thomas Schwinge + + * stdio-common/bug26.c (main): Correct fscanf template. + + * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't + declare _dl_skip_args. + + * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init): + Don't declare. + + * manual/platform.texi: Add missing @end deftypefun. + +2013-05-24 Joseph Myers + + [BZ #15529] + * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high + bit of mantissa of 2^16382. + * math/libm-test.inc (hypot_test_data): Add more tests. + + * math/libm-test.inc: Add drem and pow10 to list of tested + functions. + (pow10_test): New function. + (drem_test): Likewise. + (drem_test_tonearest): Likewise. + (drem_test_towardzero): Likewise. + (drem_test_downward): Likewise. + (drem_test_upward): Likewise. + (main): Call the new functions. + + * math/libm-test.inc (finite_test_data): Remove. + (finite_test): Run tests from isfinite_test_data. + (gamma_test_data): Remove. + (gamma_test): Run tests from lgamma_test_data. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2013-05-24 Adhemerval Zanella + + * manual/platform.texi: Add PowerPC PPR function set documentation. + * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function + implementation. + +2013-05-24 Carlos O'Donell + + * math/libm-test.inc (MAX_EXP): Define. + (ULPDIFF): Define. + (ulp): New function. + (check_float_internal): Use ULPDIFF. + (cpow_test): Disable failing test. + (check_ulp): Test ulp() implementation. + (main): Call check_ulp before starting tests. + +2013-05-24 Joseph Myers + + * math/gen-libm-test.pl (generate_testfile): Do not handle + START_DATA and END_DATA. + * math/libm-test.inc (acos_test_data): Do not use START_DATA and + END_DATA. + (acos_tonearest_test_data): Likewise. + (acos_towardzero_test_data): Likewise. + (acos_downward_test_data): Likewise. + (acos_upward_test_data): Likewise. + (acosh_test_data): Likewise. + (asin_test_data): Likewise. + (asin_tonearest_test_data): Likewise. + (asin_towardzero_test_data): Likewise. + (asin_downward_test_data): Likewise. + (asin_upward_test_data): Likewise. + (asinh_test_data): Likewise. + (atan_test_data): Likewise. + (atanh_test_data): Likewise. + (atan2_test_data): Likewise. + (cabs_test_data): Likewise. + (cacos_test_data): Likewise. + (cacosh_test_data): Likewise. + (carg_test_data): Likewise. + (casin_test_data): Likewise. + (casinh_test_data): Likewise. + (catan_test_data): Likewise. + (catanh_test_data): Likewise. + (cbrt_test_data): Likewise. + (ccos_test_data): Likewise. + (ccosh_test_data): Likewise. + (ceil_test_data): Likewise. + (cexp_test_data): Likewise. + (cimag_test_data): Likewise. + (clog_test_data): Likewise. + (clog10_test_data): Likewise. + (conj_test_data): Likewise. + (copysign_test_data): Likewise. + (cos_test_data): Likewise. + (cos_tonearest_test_data): Likewise. + (cos_towardzero_test_data): Likewise. + (cos_downward_test_data): Likewise. + (cos_upward_test_data): Likewise. + (cosh_test_data): Likewise. + (cosh_tonearest_test_data): Likewise. + (cosh_towardzero_test_data): Likewise. + (cosh_downward_test_data): Likewise. + (cosh_upward_test_data): Likewise. + (cpow_test_data): Likewise. + (cproj_test_data): Likewise. + (creal_test_data): Likewise. + (csin_test_data): Likewise. + (csinh_test_data): Likewise. + (csqrt_test_data): Likewise. + (ctan_test_data): Likewise. + (ctan_tonearest_test_data): Likewise. + (ctan_towardzero_test_data): Likewise. + (ctan_downward_test_data): Likewise. + (ctan_upward_test_data): Likewise. + (ctanh_test_data): Likewise. + (ctanh_tonearest_test_data): Likewise. + (ctanh_towardzero_test_data): Likewise. + (ctanh_downward_test_data): Likewise. + (ctanh_upward_test_data): Likewise. + (erf_test_data): Likewise. + (erfc_test_data): Likewise. + (exp_test_data): Likewise. + (exp_tonearest_test_data): Likewise. + (exp_towardzero_test_data): Likewise. + (exp_downward_test_data): Likewise. + (exp_upward_test_data): Likewise. + (exp10_test_data): Likewise. + (exp2_test_data): Likewise. + (expm1_test_data): Likewise. + (fabs_test_data): Likewise. + (fdim_test_data): Likewise. + (finite_test_data): Likewise. + (floor_test_data): Likewise. + (fma_test_data): Likewise. + (fma_towardzero_test_data): Likewise. + (fma_downward_test_data): Likewise. + (fma_upward_test_data): Likewise. + (fmax_test_data): Likewise. + (fmin_test_data): Likewise. + (fmod_test_data): Likewise. + (fpclassify_test_data): Likewise. + (frexp_test_data): Likewise. + (gamma_test_data): Likewise. + (hypot_test_data): Likewise. + (ilogb_test_data): Likewise. + (isfinite_test_data): Likewise. + (isgreater_test_data): Likewise. + (isgreaterequal_test_data): Likewise. + (isinf_test_data): Likewise. + (isless_test_data): Likewise. + (islessequal_test_data): Likewise. + (islessgreater_test_data): Likewise. + (isnan_test_data): Likewise. + (isnormal_test_data): Likewise. + (issignaling_test_data): Likewise. + (isunordered_test_data): Likewise. + (j0_test_data): Likewise. + (j1_test_data): Likewise. + (jn_test_data): Likewise. + (ldexp_test_data): Likewise. + (lgamma_test_data): Likewise. + (lrint_test_data): Likewise. + (lrint_tonearest_test_data): Likewise. + (lrint_towardzero_test_data): Likewise. + (lrint_downward_test_data): Likewise. + (lrint_upward_test_data): Likewise. + (llrint_test_data): Likewise. + (llrint_tonearest_test_data): Likewise. + (llrint_towardzero_test_data): Likewise. + (llrint_downward_test_data): Likewise. + (llrint_upward_test_data): Likewise. + (log_test_data): Likewise. + (log10_test_data): Likewise. + (log1p_test_data): Likewise. + (log2_test_data): Likewise. + (logb_test_data): Likewise. + (logb_downward_test_data): Likewise. + (lround_test_data): Likewise. + (llround_test_data): Likewise. + (modf_test_data): Likewise. + (nearbyint_test_data): Likewise. + (nextafter_test_data): Likewise. + (nexttoward_test_data): Likewise. + (pow_test_data): Likewise. + (pow_tonearest_test_data): Likewise. + (pow_towardzero_test_data): Likewise. + (pow_downward_test_data): Likewise. + (pow_upward_test_data): Likewise. + (remainder_test_data): Likewise. + (remainder_tonearest_test_data): Likewise. + (remainder_towardzero_test_data): Likewise. + (remainder_downward_test_data): Likewise. + (remainder_upward_test_data): Likewise. + (remquo_test_data): Likewise. + (rint_test_data): Likewise. + (rint_tonearest_test_data): Likewise. + (rint_towardzero_test_data): Likewise. + (rint_downward_test_data): Likewise. + (rint_upward_test_data): Likewise. + (round_test_data): Likewise. + (scalb_test_data): Likewise. + (scalbn_test_data): Likewise. + (scalbln_test_data): Likewise. + (signbit_test_data): Likewise. + (sin_test_data): Likewise. + (sin_tonearest_test_data): Likewise. + (sin_towardzero_test_data): Likewise. + (sin_downward_test_data): Likewise. + (sin_upward_test_data): Likewise. + (sincos_test_data): Likewise. + (sinh_test_data): Likewise. + (sinh_tonearest_test_data): Likewise. + (sinh_towardzero_test_data): Likewise. + (sinh_downward_test_data): Likewise. + (sinh_upward_test_data): Likewise. + (sqrt_test_data): Likewise. + (tan_test_data): Likewise. + (tan_tonearest_test_data): Likewise. + (tan_towardzero_test_data): Likewise. + (tan_downward_test_data): Likewise. + (tan_upward_test_data): Likewise. + (tanh_test_data): Likewise. + (tgamma_test_data): Likewise. + (trunc_test_data): Likewise. + (y0_test_data): Likewise. + (y1_test_data): Likewise. + (yn_test_data): Likewise. + (significand_test_data): Likewise. + + * math/gen-libm-test.pl (@functions): Remove variable. + (generate_testfile): Don't handle START and END lines. + * math/libm-test.inc (START): New macro. + (END): Likewise. + (END_COMPLEX): Likewise. + (acos_test): Use END macro without arguments. + (acos_test_tonearest): Likewise. + (acos_test_towardzero): Likewise. + (acos_test_downward): Likewise. + (acos_test_upward): Likewise. + (acosh_test): Likewise. + (asin_test): Likewise. + (asin_test_tonearest): Likewise. + (asin_test_towardzero): Likewise. + (asin_test_downward): Likewise. + (asin_test_upward): Likewise. + (asinh_test): Likewise. + (atan_test): Likewise. + (atanh_test): Likewise. + (atan2_test): Likewise. + (cabs_test): Likewise. + (cacos_test): Use END_COMPLEX macro without arguments. + (cacosh_test): Likewise. + (carg_test): Use END macro without arguments. + (casin_test): Use END_COMPLEX macro without arguments. + (casinh_test): Likewise. + (catan_test): Likewise. + (catanh_test): Likewise. + (cbrt_test): Use END macro without arguments. + (ccos_test): Use END_COMPLEX macro without arguments. + (ccosh_test): Likewise. + (ceil_test): Use END macro without arguments. + (cexp_test): Use END_COMPLEX macro without arguments. + (cimag_test): Use END macro without arguments. + (clog_test): Use END_COMPLEX macro without arguments. + (clog10_test): Likewise. + (conj_test): Likewise. + (copysign_test): Use END macro without arguments. + (cos_test): Likewise. + (cos_test_tonearest): Likewise. + (cos_test_towardzero): Likewise. + (cos_test_downward): Likewise. + (cos_test_upward): Likewise. + (cosh_test): Likewise. + (cosh_test_tonearest): Likewise. + (cosh_test_towardzero): Likewise. + (cosh_test_downward): Likewise. + (cosh_test_upward): Likewise. + (cpow_test): Use END_COMPLEX macro without arguments. + (cproj_test): Likewise. + (creal_test): Use END macro without arguments. + (csin_test): Use END_COMPLEX macro without arguments. + (csinh_test): Likewise. + (csqrt_test): Likewise. + (ctan_test): Likewise. + (ctan_test_tonearest): Likewise. + (ctan_test_towardzero): Likewise. + (ctan_test_downward): Likewise. + (ctan_test_upward): Likewise. + (ctanh_test): Likewise. + (ctanh_test_tonearest): Likewise. + (ctanh_test_towardzero): Likewise. + (ctanh_test_downward): Likewise. + (ctanh_test_upward): Likewise. + (erf_test): Use END macro without arguments. + (erfc_test): Likewise. + (exp_test): Likewise. + (exp_test_tonearest): Likewise. + (exp_test_towardzero): Likewise. + (exp_test_downward): Likewise. + (exp_test_upward): Likewise. + (exp10_test): Likewise. + (exp2_test): Likewise. + (expm1_test): Likewise. + (fabs_test): Likewise. + (fdim_test): Likewise. + (finite_test): Likewise. + (floor_test): Likewise. + (fma_test): Likewise. + (fma_test_towardzero): Likewise. + (fma_test_downward): Likewise. + (fma_test_upward): Likewise. + (fmax_test): Likewise. + (fmin_test): Likewise. + (fmod_test): Likewise. + (fpclassify_test): Likewise. + (frexp_test): Likewise. + (gamma_test): Likewise. + (hypot_test): Likewise. + (ilogb_test): Likewise. + (isfinite_test): Likewise. + (isgreater_test): Likewise. + (isgreaterequal_test): Likewise. + (isinf_test): Likewise. + (isless_test): Likewise. + (islessequal_test): Likewise. + (islessgreater_test): Likewise. + (isnan_test): Likewise. + (isnormal_test): Likewise. + (issignaling_test): Likewise. + (isunordered_test): Likewise. + (j0_test): Likewise. + (j1_test): Likewise. + (jn_test): Likewise. + (ldexp_test): Likewise. + (lgamma_test): Likewise. + (lrint_test): Likewise. + (lrint_test_tonearest): Likewise. + (lrint_test_towardzero): Likewise. + (lrint_test_downward): Likewise. + (lrint_test_upward): Likewise. + (llrint_test): Likewise. + (llrint_test_tonearest): Likewise. + (llrint_test_towardzero): Likewise. + (llrint_test_downward): Likewise. + (llrint_test_upward): Likewise. + (log_test): Likewise. + (log10_test): Likewise. + (log1p_test): Likewise. + (log2_test): Likewise. + (logb_test): Likewise. + (logb_test_downward): Likewise. + (lround_test): Likewise. + (llround_test): Likewise. + (modf_test): Likewise. + (nearbyint_test): Likewise. + (nextafter_test): Likewise. + (nexttoward_test): Likewise. + (pow_test): Likewise. + (pow_test_tonearest): Likewise. + (pow_test_towardzero): Likewise. + (pow_test_downward): Likewise. + (pow_test_upward): Likewise. + (remainder_test): Likewise. + (remainder_test_tonearest): Likewise. + (remainder_test_towardzero): Likewise. + (remainder_test_downward): Likewise. + (remainder_test_upward): Likewise. + (remquo_test): Likewise. + (rint_test): Likewise. + (rint_test_tonearest): Likewise. + (rint_test_towardzero): Likewise. + (rint_test_downward): Likewise. + (rint_test_upward): Likewise. + (round_test): Likewise. + (scalb_test): Likewise. + (scalbn_test): Likewise. + (scalbln_test): Likewise. + (signbit_test): Likewise. + (sin_test): Likewise. + (sin_test_tonearest): Likewise. + (sin_test_towardzero): Likewise. + (sin_test_downward): Likewise. + (sin_test_upward): Likewise. + (sincos_test): Likewise. + (sinh_test): Likewise. + (sinh_test_tonearest): Likewise. + (sinh_test_towardzero): Likewise. + (sinh_test_downward): Likewise. + (sinh_test_upward): Likewise. + (sqrt_test): Likewise. + (tan_test): Likewise. + (tan_test_tonearest): Likewise. + (tan_test_towardzero): Likewise. + (tan_test_downward): Likewise. + (tan_test_upward): Likewise. + (tanh_test): Likewise. + (tgamma_test): Likewise. + (trunc_test): Likewise. + (y0_test): Likewise. + (y1_test): Likewise. + (yn_test): Likewise. + (significand_test): Likewise. + +2013-05-24 Ondƙej BĂ­lka + + [BZ #15381] + * libio/genops.c (_IO_no_init): Initialize wide struct info. + +2013-05-23 Edjunior Machado + + [BZ #14894] + * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield, + __ppc_mdoio and __ppc_mdoom. + * manual/platform.texi: Document new functions __ppc_yield, + __ppc_mdoio and __ppc_mdoom. + +2013-05-22 Carlos O'Donell + + * elf/ldconfig.c (is_hwcap_platform): Make comments full setences. + (main): Mention "tls" pseudo-hwcap is legacy. + * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment. + +2013-05-22 Joseph Myers + + * math/gen-libm-test.pl (parse_args): Output only string of + arguments as text for test name, not full call or descriptions of + tests for extra outputs. + (generate_testfile): Do not pass function name to parse_args. + Generate this_func variable from START. + * math/libm-test.inc (struct test_f_f_data): Rename test_name + field to arg_str. + (struct test_ff_f_data): Likewise. + (test_ff_f_data_nexttoward): Likewise. + (struct test_fi_f_data): Likewise. + (struct test_fl_f_data): Likewise. + (struct test_if_f_data): Likewise. + (struct test_fff_f_data): Likewise. + (struct test_c_f_data): Likewise. + (struct test_f_f1_data): Likewise. Remove field extra_name. + (struct test_fF_f1_data): Likewise. + (struct test_ffI_f1_data): Likewise. + (struct test_c_c_data): Rename test_name field to arg_str. + (struct test_cc_c_data): Likewise. + (struct test_f_i_data): Likewise. + (struct test_ff_i_data): Likewise. + (struct test_f_l_data): Likewise. + (struct test_f_L_data): Likewise. + (struct test_fFF_11_data): Likewise. Remove fields extra1_name + and extra2_name. + (COMMON_TEST_SETUP): New macro. + (EXTRA_OUTPUT_TEST_SETUP): Likewise. + (COMMON_TEST_CLEANUP): Likewise. + (EXTRA_OUTPUT_TEST_CLEANUP): Likewise. + (RUN_TEST_f_f): Take argument string. Call new setup and cleanup + macros. + (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f. + (RUN_TEST_2_f): Take argument string. Call new setup and cleanup + macros. + (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f. + (RUN_TEST_fff_f): Take argument string. Call new setup and + cleanup macros. + (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f. + (RUN_TEST_c_f): Take argument string. Call new setup and cleanup + macros. + (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f. + (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup + macros. + (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1. + (RUN_TEST_fF_f1): Take argument string. Call new setup and + cleanup macros. + (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1. + (RUN_TEST_fI_f1): Take argument string. Call new setup and + cleanup macros. + (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1. + (RUN_TEST_ffI_f1): Take argument string. Call new setup and + cleanup macros. + (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1. + (RUN_TEST_c_c): Take argument string. Call new setup and cleanup + macros. + (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c. + (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup + macros. + (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c. + (RUN_TEST_f_i): Take argument string. Call new setup and cleanup + macros. + (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i. + (RUN_TEST_f_i_tg): Take argument string. Call new setup and + cleanup macros. + (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg. + (RUN_TEST_ff_i_tg): Take argument string. Call new setup and + cleanup macros. + (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg. + (RUN_TEST_f_b): Take argument string. Call new setup and cleanup + macros. + (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b. + (RUN_TEST_f_b_tg): Take argument string. Call new setup and + cleanup macros. + (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg. + (RUN_TEST_f_l): Take argument string. Call new setup and cleanup + macros. + (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l. + (RUN_TEST_f_L): Take argument string. Call new setup and cleanup + macros. + (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L. + (RUN_TEST_fFF_11): Take argument string. Call new setup and + cleanup macros. + (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11. + +2013-05-22 Edjunior Barbosa Machado + + * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb + to _sifields.sigfault. + (si_addr_lsb): Define new macro. + (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values. + * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise. + * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise. + +2013-05-03 Carlos O'Donell + + [BZ #15441] + * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg + returns -1. + (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is + null return -1. + * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort + loading the domain. + +2013-05-22 Joseph Myers + + * math/gen-libm-test.pl (parse_args): Do not include expected + result in test name. + * sysdeps/i386/fpu/libm-test-ulps: Update test names. + * sysdeps/powerpc/fpu/libm-test-ulps: Likewise. + * sysdeps/s390/fpu/libm-test-ulps: Likewise. + * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise. + * sysdeps/sparc/fpu/libm-test-ulps: Likewise. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2013-05-22 Siddhesh Poyarekar + + * benchtests/Makefile: Sort function entries. + + * benchtests/Makefile (bench): Add asin, acos, sinh, cosh, + tanh, asinh, acosh, atanh. + * benchtests/acos-inputs: New file. + * benchtests/acosh-inputs: New file. + * benchtests/asin-inputs: New file. + * benchtests/asinh-inputs: New file. + * benchtests/atanh-inputs: New file. + * benchtests/cosh-inputs: New file. + * benchtests/log-inputs: New file. + * benchtests/sinh-inputs: New file. + * benchtests/tanh-inputs: New file. + +2013-05-21 Dmitry V. Levin + + [BZ #15339] + * posix/tst-getaddrinfo4.c: New test. + * posix/Makefile (tests): Add it. + +2013-05-21 Siddhesh Poyarekar + + [BZ #15339] + * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only + when no services were used. + * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno. + Return EAI_SYSTEM if h_errno is NETDB_INTERNAL. + +2013-05-21 Andreas Schwab + + [BZ #15014] + * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)) + [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was + successful. + * nss/digits_dots.c (__nss_hostname_digits_dots): Remove + redundant variable declarations and reallocation of buffer when + parsing as IPv6 address. Always set NSS status when called from + reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when + buffer too small. Correct computation of needed size. + * nss/Makefile (tests): Add test-digits-dots. + * nss/test-digits-dots.c: New test. + +2013-05-21 Siddhesh Poyarekar + + * benchtests/Makefile: Remove instructions for adding + benchmark tests. + * benchtests/README: New file to explain how to execute and + enhance the benchmark tests. + +2013-05-21 Andreas Schwab + + [BZ #15493] + * setjmp/Makefile (tests): Add tst-sigsetjmp. + * setjmp/tst-sigsetjmp.c: New test. + +2013-05-20 Ondƙej BĂ­lka + + * sysdeps/x86_64/memset.S (memset): New implementation. + (__bzero): Likewise. + (__memset_tail): New function. + +2013-05-20 Ondƙej BĂ­lka + + * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file. + * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add + __memcpy_sse2_unaligned ifunc selection. + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): + Add memcpy-sse2-unaligned.S. + * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list): + Add: __memcpy_sse2_unaligned. + +2013-05-19 Joseph Myers + + [BZ #15490] + * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use + math_force_eval before restoring floating-point envrionment. + * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise. + * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): + Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include + . + (__nearbyintl): Use math_force_eval before restoring + floating-point environment. + * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise. + + * math/gen-libm-test.pl (special_functions): Remove. + (parse_args): Don't handle TEST_extra. Handle functions with no + return value. + * math/libm-test.inc (struct test_sincos_data): Replace with + struct test_fFF_11_data. + (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11. + (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11. + (sincos_test_data): Change element type to struct + test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra. + (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of + RUN_TEST_LOOP_sincos. + * math/README.libm-test: Don't mention special handling of + individual functions. + * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests. + * sysdeps/powerpc/fpu/libm-test-ulps: Likewise. + * sysdeps/s390/fpu/libm-test-ulps: Likewise. + * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise. + * sysdeps/sparc/fpu/libm-test-ulps: Likewise. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + * math/gen-libm-test.pl (get_variable): Remove function. + (parse_args): Don't show pointer parameters to call in test + names. Use "extra output N" in test names for extra outputs + rather than naming variables. + +2013-05-18 Joseph Myers + + [BZ #15488] + * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) && + __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro. + * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long + double tests. + * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not + disable. + (do_test) [NO_LONG_DOUBLE]: Do not disable call to + check_long_double. + + * math/gen-libm-test.pl (@tests): Remove variable. + ($count): Likewise. + (new_test): Remove function. + (show_exceptions): New function. + (special_functions): Use show_exceptions instead of new_test. + (parse_args): Likewise. + (generate_testfile): Pass only function name in generated call to + print_max_error or print_complex_max_error. + (get_ulps): Do not handle complex tests specially. + (output_test): Rename to ... + (get_all_ulps_for_test): ... this. Return a string rather than + printing to a file. Require ulps to be present. + (output_ulps): Generate arrays rather than #defines. + * math/libm-test.inc: Move down #include of "libm-test-ulps.h". + (struct ulp_data): New type. + (BUILD_COMPLEX_ULP): Remove macro. + (compare_ulp_data): New function. + (find_ulps): Likewise. + (find_test_ulps): Likewise. + (find_function_ulps): Likewise. + (find_complex_function_ulps): Likewise. + (print_max_error): Determine allowed ulps using + find_function_ulps. + (print_complex_max_error): Determine allowed ulps using + find_complex_function_ulps. + (check_float_internal): Determine max ulps using find_test_ulps. + (check_float): Do not take max_ulp parameter. Update call to + check_float_internal. + (check_complex): Likewise. + (check_int): Do not take max_ulp parameter. + (check_long): Likewise. + (check_bool): Likewise. + (check_longlong): Likewise. + (struct test_f_f_data): Remove max_ulp field. + (struct test_ff_f_data): Likewise. + (struct test_ff_f_data_nexttoward): Likewise. + (struct test_fi_f_data): Likewise. + (struct test_fl_f_data): Likewise. + (struct test_if_f_data): Likewise. + (struct test_fff_f_data): Likewise. + (struct test_c_f_data): Likewise. + (struct test_f_f1_data): Remove max_ulp and extra_ulp fields. + (struct test_fF_f1_data): Likewise. + (struct test_ffI_f1_data): Likewise. + (struct test_c_c_data): Remove max_ulp field. + (struct test_cc_c_data): Likewise. + (struct test_f_i_data): Likewise. + (struct test_ff_i_data): Likewise. + (struct test_f_l_data): Likewise. + (struct test_f_L_data): Likewise. + (struct test_sincos_data): Likewise. + (RUN_TEST_f_f): Do not handle ulps. + (RUN_TEST_LOOP_f_f): Likewise. + (RUN_TEST_2_f): Likewise. + (RUN_TEST_LOOP_2_f): Likewise. + (RUN_TEST_fff_f): Likewise. + (RUN_TEST_LOOP_fff_f): Likewise. + (RUN_TEST_c_f): Likewise. + (RUN_TEST_LOOP_c_f): Likewise. + (RUN_TEST_f_f1): Likewise. + (RUN_TEST_LOOP_f_f1): Likewise. + (RUN_TEST_fF_f1): Likewise. + (RUN_TEST_LOOP_fF_f1): Likewise. + (RUN_TEST_fI_f1): Likewise. + (RUN_TEST_LOOP_fI_f1): Likewise. + (RUN_TEST_ffI_f1): Likewise. + (RUN_TEST_LOOP_ffI_f1): Likewise. + (RUN_TEST_c_c): Likewise. + (RUN_TEST_LOOP_c_c): Likewise. + (RUN_TEST_cc_c): Likewise. + (RUN_TEST_LOOP_cc_c): Likewise. + (RUN_TEST_f_i): Likewise. + (RUN_TEST_LOOP_f_i): Likewise. + (RUN_TEST_f_i_tg): Likewise. + (RUN_TEST_LOOP_f_i_tg): Likewise. + (RUN_TEST_ff_i_tg): Likewise. + (RUN_TEST_LOOP_ff_i_tg): Likewise. + (RUN_TEST_f_b): Likewise. + (RUN_TEST_LOOP_f_b): Likewise. + (RUN_TEST_f_b_tg): Likewise. + (RUN_TEST_LOOP_f_b_tg): Likewise. + (RUN_TEST_f_l): Likewise. + (RUN_TEST_LOOP_f_l): Likewise. + (RUN_TEST_f_L): Likewise. + (RUN_TEST_LOOP_f_L): Likewise. + (RUN_TEST_sincos): Likewise. + (RUN_TEST_LOOP_sincos): Likewise. + +2013-05-17 Joseph Myers + + [BZ #15480] + [BZ #15485] + * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For + main case of finite arguments, set rounding mode to FE_TONEAREST + and discard exceptions. + * math/libm-test.inc (remainder_test_data): Disallow "inexact" + exceptions. + (remainder_tonearest_test_data): New variable. + (remainder_test_tonearest): New function. + (remainder_towardzero_test_data): New variable. + (remainder_test_towardzero): New function. + (remainder_downward_test_data): New variable. + (remainder_test_downward): New function. + (remainder_upward_test_data): New variable. + (remainder_test_upward): New function. + (main): Call the new test functions. + + * math/libm-test.inc (struct test_f_f1_data): Remove field + extra_init. + (struct test_fF_f1_data): Likewise. + (struct test_ffI_f1_data): Likewise. + (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR + based on value of EXTRA_EXPECTED. + (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1. + (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize + EXTRA_VAR based on value of EXTRA_EXPECTED. + (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1. + (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize + EXTRA_VAR based on value of EXTRA_EXPECTED. + (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1. + (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize + EXTRA_VAR based on value of EXTRA_EXPECTED. + (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1. + * math/gen-libm-test.pl (parse_args): Don't output initializers + for extra output values. + + * math/libm-test.inc (check_int): Expect result to be exactly + equal to expected value and do not handle ulps. + (check_long): Likewise. + (check_longlong): Likewise. + + * math/libm-test.inc (ceil_test_data): Test for "inexact" + exceptions. + (cimag_test_data): Likewise. + (conj_test_data): Likewise. + (copysign_test_data): Likewise. + (cproj_test_data): Likewise. + (creal_test_data): Likewise. + (fabs_test_data): Likewise. + (fdim_test_data): Likewise. + (finite_test_data): Likewise. + (floor_test_data): Likewise. + (fmax_test_data): Likewise. + (fmin_test_data): Likewise. + (fmod_test_data): Likewise. + (fpclassify_test_data): Likewise. + (frexp_test_data): Likewise. + (ilogb_test_data): Likewise. + (isfinite_test_data): Likewise. + (isgreater_test_data): Likewise. + (isgreaterequal_test_data): Likewise. + (isinf_test_data): Likewise. + (isless_test_data): Likewise. + (islessequal_test_data): Likewise. + (islessgreater_test_data): Likewise. + (isnan_test_data): Likewise. + (isnormal_test_data): Likewise. + (issignaling_test_data): Likewise. + (isunordered_test_data): Likewise. + (ldexp_test_data): Likewise. + (lrint_test_data): Likewise. + (lrint_test_data) [TEST_FLOAT]: Disable one test. + (lrint_test_data) [!TEST_LDOUBLE]: Likewise. + (lrint_tonearest_test_data): Test for "inexact" exceptions. + (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test. + (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise. + (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that + test input. + (lrint_towardzero_test_data): Test for "inexact" exceptions. + (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test. + (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise. + (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on + that test input. + (lrint_downward_test_data): Test for "inexact" exceptions. + (lrint_downward_test_data) [TEST_FLOAT]: Disable one test. + (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise. + (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that + test input. + (lrint_upward_test_data): Test for "inexact" exceptions. + (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one + test input. + (llrint_test_data): Test for "inexact" exceptions. + (llrint_test_data) [TEST_FLOAT]: Disable one test. + (llrint_tonearest_test_data): Test for "inexact" exceptions. + (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test. + (llrint_towardzero_test_data): Test for "inexact" exceptions. + (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test. + (llrint_downward_test_data): Test for "inexact" exceptions. + (llrint_downward_test_data) [TEST_FLOAT]: Disable one test. + (llrint_upward_test_data): Test for "inexact" exceptions. + (logb_test_data): Likewise. + (logb_downward_test_data): Likewise. + (nextafter_test_data): Likewise. + (nexttoward_test_data): Likewise. + (remainder_test_data): Likewise. + (remquo_test_data): Likewise. + (scalbn_test_data): Likewise. + (scalbln_test_data): Likewise. + (signbit_test_data): Likewise. + (sqrt_test_data): Likewise. + (significand_test_data): Likewise. + +2013-05-17 Siddhesh Poyarekar + + [BZ #15424] + * benchtests/bench-modf.c (struct args): Mark arg0 as + volatile. + * scripts/bench.pl: Mark members of struct args as volatile. + +2013-05-17 Adhemerval Zanella + + [BZ # 15497] + * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for + negative infinity on POWER6 or lower. + * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise. + +2013-05-16 Maciej W. Rozycki + + [BZ #15442] + * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro. + (_FP_FRAC_SNANP_SEMIRAW): Likewise. + (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP. + (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW. + (_FP_SETQNAN): New macro. + (_FP_SETQNAN_SEMIRAW): Likewise. + (_FP_PACK_SEMIRAW): Use _FP_SETQNAN. + (_FP_PACK_CANONICAL): Use _FP_SETQNAN. + (_FP_ISSIGNAN): Use _FP_FRAC_SNANP. + (FP_EXTEND): Use _FP_FRAC_SNANP. + (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW. + * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP + into account. + * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP): + New macro. + * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP): + Likewise. + +2013-05-16 Joseph Myers + + * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together + with DIVIDE_BY_ZERO_EXCEPTION. + (gamma_test_data): Likewise. + (lgamma_test_data): Likewise. + (log_test_data): Likewise. + (log10_test_data): Likewise. + (log2_test_data): Likewise. + (tgamma_test_data): Likewise. + + * math/libm-test.inc (acos_test): Don't test for ENOSYS error. + (acos_test_tonearest): Likewise. + (acos_test_towardzero): Likewise. + (acos_test_downward): Likewise. + (acos_test_upward): Likewise. + (acosh_test): Likewise. + (asin_test): Likewise. + (asin_test_tonearest): Likewise. + (asin_test_towardzero): Likewise. + (asin_test_downward): Likewise. + (asin_test_upward): Likewise. + (asinh_test): Likewise. + (atan_test): Likewise. + (atanh_test): Likewise. + (atan2_test): Likewise. + (cabs_test): Likewise. + (cacos_test): Likewise. + (cacosh_test): Likewise. + (casin_test): Likewise. + (casinh_test): Likewise. + (catan_test): Likewise. + (catanh_test): Likewise. + (cbrt_test): Likewise. + (ccos_test): Likewise. + (ccosh_test): Likewise. + (cexp_test): Likewise. + (clog_test): Likewise. + (clog10_test): Likewise. + (cos_test): Likewise. + (cos_test_tonearest): Likewise. + (cos_test_towardzero): Likewise. + (cos_test_downward): Likewise. + (cos_test_upward): Likewise. + (cosh_test): Likewise. + (cosh_test_tonearest): Likewise. + (cosh_test_towardzero): Likewise. + (cosh_test_downward): Likewise. + (cosh_test_upward): Likewise. + (cpow_test): Likewise. + (csin_test): Likewise. + (csinh_test): Likewise. + (csqrt_test): Likewise. + (ctan_test): Likewise. + (ctan_test_tonearest): Likewise. + (ctan_test_towardzero): Likewise. + (ctan_test_downward): Likewise. + (ctan_test_upward): Likewise. + (ctanh_test): Likewise. + (ctanh_test_tonearest): Likewise. + (ctanh_test_towardzero): Likewise. + (ctanh_test_downward): Likewise. + (ctanh_test_upward): Likewise. + (erf_test): Likewise. + (erfc_test): Likewise. + (exp_test): Likewise. + (exp_test_tonearest): Likewise. + (exp_test_towardzero): Likewise. + (exp_test_downward): Likewise. + (exp_test_upward): Likewise. + (exp10_test): Likewise. + (exp2_test): Likewise. + (expm1_test): Likewise. + (fmod_test): Likewise. + (gamma_test): Likewise. + (hypot_test): Likewise. + (j0_test): Likewise. + (j1_test): Likewise. + (jn_test): Likewise. + (lgamma_test): Likewise. + (log_test): Likewise. + (log10_test): Likewise. + (log1p_test): Likewise. + (log2_test): Likewise. + (logb_test_downward): Likewise. + (pow_test): Likewise. + (pow_test_tonearest): Likewise. + (pow_test_towardzero): Likewise. + (pow_test_downward): Likewise. + (pow_test_upward): Likewise. + (remainder_test): Likewise. + (remquo_test): Likewise. + (sin_test): Likewise. + (sin_test_tonearest): Likewise. + (sin_test_towardzero): Likewise. + (sin_test_downward): Likewise. + (sin_test_upward): Likewise. + (sincos_test): Likewise. + (sinh_test): Likewise. + (sinh_test_tonearest): Likewise. + (sinh_test_towardzero): Likewise. + (sinh_test_downward): Likewise. + (sinh_test_upward): Likewise. + (sqrt_test): Likewise. + (tan_test): Likewise. + (tan_test_tonearest): Likewise. + (tan_test_towardzero): Likewise. + (tan_test_downward): Likewise. + (tan_test_upward): Likewise. + (tanh_test): Likewise. + (tgamma_test): Likewise. + (y0_test): Likewise. + (y1_test): Likewise. + (yn_test): Likewise. + + * math/gen-libm-test.pl (adjust_arg): Remove function. + (special_function): Remove argument $in_func. Only handle + generating output for tables of tests, not inside functions. + (parse_args): Likewise. + (generate_testfile): Remove variable $in_func. Update call to + parse_args. + * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero. + (MINUS_ZERO_INIT): Rename macro to minus_zero. + (PLUS_INFTY_INIT): Rename macro to plus_infty. + (MINUS_INFTY_INIT): Rename macro to minus_infty. + (QNAN_VALUE_INIT): Rename macro to qnan_value. + (MAX_VALUE_INIT): Rename macro to max_value. + (MIN_VALUE_INIT): Rename macro to min_value. + (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value. + (plus_zero): Remove variable. + (minus_zero): Likewise. + (plus_infty): Likewise. + (minus_infty): Likewise. + (qnan_value): Likewise. + (max_value): Likewise. + (min_value): Likewise. + (min_subnorm_value): Likewise. + +2013-05-16 Ryan S. Arnold + + * crypt/sha512-block.c: Add missing #include due to + uint64_t or uint32_t usage. + * crypt/sha256-block.c: Likewise. + * crypt/sha256-crypt.c: Likewise. + * crypt/sha256.c: Likewise. + * crypt/sha512-block.c: Likewise. + * crypt/sha512-crypt.c: Likewise. + * crypt/sha512.c: Likewise. + * debug/backtrace-tst.c: Likewise. + * debug/pcprofiledump.c: Likewise. + * elf/cache.c: Likewise. + * elf/dl-cache.c: Likewise. + * elf/dl-misc.c: Likewise. + * elf/dl-profile.c: Likewise. + * elf/dl-support.c: Likewise. + * elf/ldconfig.c: Likewise. + * elf/sprof.c: Likewise. + * iconv/dummy-repertoire.c: Likewise. + * iconv/iconv_charmap.c: Likewise. + * iconv/skeleton.c: Likewise. + * iconvdata/8bit-generic.c: Likewise. + * iconvdata/cp737.h: Likewise. + * iconvdata/cp775.h: Likewise. + * iconvdata/ibm1008.h: Likewise. + * iconvdata/ibm1025.h: Likewise. + * iconvdata/ibm1046.h: Likewise. + * iconvdata/ibm1097.h: Likewise. + * iconvdata/ibm1112.h: Likewise. + * iconvdata/ibm1122.h: Likewise. + * iconvdata/ibm1123.h: Likewise. + * iconvdata/ibm1124.h: Likewise. + * iconvdata/ibm1129.h: Likewise. + * iconvdata/ibm1130.h: Likewise. + * iconvdata/ibm1132.h: Likewise. + * iconvdata/ibm1133.h: Likewise. + * iconvdata/ibm1137.h: Likewise. + * iconvdata/ibm1140.h: Likewise. + * iconvdata/ibm1141.h: Likewise. + * iconvdata/ibm1142.h: Likewise. + * iconvdata/ibm1143.h: Likewise. + * iconvdata/ibm1144.h: Likewise. + * iconvdata/ibm1145.h: Likewise. + * iconvdata/ibm1146.h: Likewise. + * iconvdata/ibm1147.h: Likewise. + * iconvdata/ibm1148.h: Likewise. + * iconvdata/ibm1149.h: Likewise. + * iconvdata/ibm1153.h: Likewise. + * iconvdata/ibm1154.h: Likewise. + * iconvdata/ibm1155.h: Likewise. + * iconvdata/ibm1156.h: Likewise. + * iconvdata/ibm1157.h: Likewise. + * iconvdata/ibm1158.h: Likewise. + * iconvdata/ibm1160.h: Likewise. + * iconvdata/ibm1161.h: Likewise. + * iconvdata/ibm1162.h: Likewise. + * iconvdata/ibm1163.h: Likewise. + * iconvdata/ibm1164.h: Likewise. + * iconvdata/ibm1166.h: Likewise. + * iconvdata/ibm1167.h: Likewise. + * iconvdata/ibm12712.h: Likewise. + * iconvdata/ibm1390.h: Likewise. + * iconvdata/ibm1399.h: Likewise. + * iconvdata/ibm16804.h: Likewise. + * iconvdata/ibm4517.h: Likewise. + * iconvdata/ibm4899.h: Likewise. + * iconvdata/ibm4909.h: Likewise. + * iconvdata/ibm4971.h: Likewise. + * iconvdata/ibm5347.h: Likewise. + * iconvdata/ibm803.h: Likewise. + * iconvdata/ibm856.h: Likewise. + * iconvdata/ibm901.h: Likewise. + * iconvdata/ibm902.h: Likewise. + * iconvdata/ibm9030.h: Likewise. + * iconvdata/ibm9066.h: Likewise. + * iconvdata/ibm921.h: Likewise. + * iconvdata/ibm922.h: Likewise. + * iconvdata/ibm9448.h: Likewise. + * iconvdata/isiri-3342.h: Likewise. + * iconvdata/jis0201.h: Likewise. + * include/link.h: Likewise. + * include/netdb.h: Likewise. + * inet/check_native.c: Likewise. + * inet/check_pf.c: Likewise. + * inet/getipv4sourcefilter.c: Likewise. + * inet/getnameinfo.c: Likewise. + * inet/getsourcefilter.c: Likewise. + * inet/htonl.c: Likewise. + * inet/setipv4sourcefilter.c: Likewise. + * inet/setsourcefilter.c: Likewise. + * inet/test-inet6_opt.c: Likewise. + * inet/tst-network.c: Likewise. + * locale/C-collate.c: Likewise. + * locale/C-ctype.c: Likewise. + * locale/C-time.c: Likewise. + * locale/C-translit.h: Likewise. + * locale/loadarchive.c: Likewise. + * locale/programs/3level.h: Likewise. + * locale/programs/charmap.c: Likewise. + * locale/programs/charmap.h: Likewise. + * locale/programs/ld-address.c: Likewise. + * locale/programs/ld-collate.c: Likewise. + * locale/programs/ld-ctype.c: Likewise. + * locale/programs/ld-identification.c: Likewise. + * locale/programs/ld-measurement.c: Likewise. + * locale/programs/ld-messages.c: Likewise. + * locale/programs/ld-monetary.c: Likewise. + * locale/programs/ld-name.c: Likewise. + * locale/programs/ld-numeric.c: Likewise. + * locale/programs/ld-paper.c: Likewise. + * locale/programs/ld-telephone.c: Likewise. + * locale/programs/ld-time.c: Likewise. + * locale/programs/linereader.c: Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/locarchive.c: Likewise. + * locale/programs/locfile.h: Likewise. + * locale/programs/repertoire.c: Likewise. + * locale/programs/simple-hash.c: Likewise. + * locale/programs/simple-hash.h: Likewise. + * malloc/memusage.c: Likewise. + * malloc/memusagestat.c: Likewise. + * nis/nis_defaults.c: Likewise. + * nis/nis_hash.c: Likewise. + * nis/nis_print.c: Likewise. + * nis/nis_xdr.c: Likewise. + * nscd/connections.c: Likewise. + * nscd/hstcache.c: Likewise. + * nscd/nscd_gethst_r.c: Likewise. + * nscd/nscd_getserv_r.c: Likewise. + * nscd/nscd_helper.c: Likewise. + * nscd/servicescache.c: Likewise. + * nss/makedb.c: Likewise. + * nss/nss_db/db-XXX.c: Likewise. + * nss/nss_db/db-initgroups.c: Likewise. + * nss/nss_db/db-netgrp.c: Likewise. + * nss/nss_files/files-network.c: Likewise. + * nss/nss_files/files-parse.c: Likewise. + * posix/bug-regex5.c: Likewise. + * posix/fnmatch_loop.c: Likewise. + * posix/regcomp.c: Likewise. + * posix/regexec.c: Likewise. + * posix/tst-rfc3484-2.c: Likewise. + * posix/tst-rfc3484-3.c: Likewise. + * posix/tst-rfc3484.c: Likewise. + * resolv/nss_dns/dns-canon.c: Likewise. + * resolv/nss_dns/dns-network.c: Likewise. + * resolv/res_init.c: Likewise. + * resolv/res_mkquery.c: Likewise. + * resolv/tst-aton.c: Likewise. + * stdlib/cxa_atexit.c: Likewise. + * stdlib/cxa_finalize.c: Likewise. + * stdlib/gen-fpioconst.c: Likewise. + * stdlib/strtol_l.c: Likewise. + * string/tst-endian.c: Likewise. + * sunrpc/auth_des.c: Likewise. + * sunrpc/clnt_udp.c: Likewise. + * sunrpc/rtime.c: Likewise. + * sunrpc/svcauth_des.c: Likewise. + * sunrpc/xdr.c: Likewise. + * sunrpc/xdr_intXX_t.c: Likewise. + * sunrpc/xdr_rec.c: Likewise. + * sysdeps/generic/ldconfig.h: Likewise. + * sysdeps/generic/ldsodefs.h: Likewise. + * sysdeps/generic/memusage.h: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise. + * sysdeps/posix/getaddrinfo.c: Likewise. + * sysdeps/powerpc/fpu/e_hypot.c: Likewise. + * sysdeps/powerpc/fpu/e_hypotf.c: Likewise. + * sysdeps/powerpc/fpu/e_sqrt.c: Likewise. + * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise. + * sysdeps/powerpc/test-gettimebase.c: Likewise. + * sysdeps/unix/sysv/linux/check_pf.c: Likewise. + * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise. + * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise. + * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise. + * sysdeps/unix/sysv/linux/preadv.c: Likewise. + * sysdeps/unix/sysv/linux/pwritev.c: Likewise. + * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise. + * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise. + * sysdeps/x86_64/dl-tls.h: Likewise. + * sysdeps/x86_64/dl-tlsdesc.h: Likewise. + * time/alt_digit.c: Likewise. + * time/era.c: Likewise. + * wcsmbs/tst-c16c32-1.c: Likewise. + +2013-05-16 Joseph Myers + + * math/libm-test.inc (struct test_sincos_data): New type. + (RUN_TEST_LOOP_sincos): New macro. + (sincos_test_data): New variable. + (sincos_test): Run tests with RUN_TEST_LOOP_sincos. + +2013-05-16 Richard Henderson + + * math/atest-exp2.c (LIMB64): New macro. + (CONSTSZ): New macro. + (mp_exp1, mp_exp_m1, mp_log2): New variables. + (hexdig): Move ... + (print_mpn_fp): ... to function scope. + (read_mpn_hex): Remove. + (get_log2): Remove. + (exp2_mpn): Use mp_log2. + (main): Use mp_exp1. + +2013-05-16 Joseph Myers + + * math/libm-test.inc: Remove comment about not testing "inexact" + exceptions. + (INEXACT_EXCEPTION): New macro. + (NO_INEXACT_EXCEPTION): Likewise. + (INVALID_EXCEPTION_OK): Update value. + (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise. + (OVERFLOW_EXCEPTION_OK): Likewise. + (UNDERFLOW_EXCEPTION_OK): Likewise. + (IGNORE_ZERO_INF_SIGN): Likewise. + (ERRNO_UNCHANGED): Likewise. + (ERRNO_EDOM): Likewise. + (ERRNO_ERANGE): Likewise. + (test_exceptions): Handle testing "inexact" exceptions. + (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests. + (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION. + (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests. + (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and + INEXACT_EXCEPTION. + (rint_towardzero_test_data): Likewise. + (rint_downward_test_data): Likewise. + (rint_upward_test_data): Likewise. + + * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together + with OVERFLOW_EXCEPTION. + (exp10_test_data): Likewise. + (exp2_test_data): Likewise. + (expm1_test_data): Likewise. + (lgamma_test_data): Likewise. + (pow_test_data): Likewise. + (tgamma_test_data): Likewise. + (yn_test_data): Remove duplicate test of overflow. + + * math/libm-test.inc (struct test_cc_c_data): New type. + (RUN_TEST_LOOP_cc_c): New macro. + (cpow_test_data): New variable. + (cpow_test): Run tests with RUN_TEST_LOOP_cc_c. + + * math/libm-test.inc (struct test_f_L_data): New type. + (RUN_TEST_LOOP_f_L): New macro. + (llrint_test_data): New variable. + (llrint_test): Run tests with RUN_TEST_LOOP_f_L. + (llrint_tonearest_test_data): New variable. + (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L. + (llrint_towardzero_test_data): New variable. + (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L. + (llrint_downward_test_data): New variable. + (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L. + (llrint_upward_test_data): New variable. + (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L. + (llround_test_data): New variable. + (llround_test): Run tests with RUN_TEST_LOOP_f_L. + +2013-05-13 Peter Collingbourne + + * math/atest-exp2.c (get_log2): Remove const attribute. + +2013-05-15 Joseph Myers + + * math/libm-test.inc (struct test_f_l_data): New type. + (RUN_TEST_LOOP_f_l): New macro. + (lrint_test_data): New variable. + (lrint_test): Run tests with RUN_TEST_LOOP_f_l. + (lrint_tonearest_test_data): New variable. + (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l. + (lrint_towardzero_test_data): New variable. + (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l. + (lrint_downward_test_data): New variable. + (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l. + (lrint_upward_test_data): New variable. + (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l. + (lround_test_data): New variable. + (lround_test): Run tests with RUN_TEST_LOOP_f_l. + +2013-05-15 Peter Collingbourne + + * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro. + (EXTRACT_WORDS64) Use where appropriate. + (INSERT_WORDS64) Likewise. + + * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm + constraints with x constraints. + * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise. + + * malloc/obstack.c (_obstack_compat): Add initializer. + +2013-05-15 Edjunior Machado + + * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove + si_trapno and add si_addr_lsb to _sifields.sigfault. + (si_trapno): Remove macro. + (si_addr_lsb): Define new macro. + (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values. + +2013-05-15 Joseph Myers + + * math/libm-test.inc (llrint_test): Consistently use TEST_f_L + instead of TEST_f_l. + (llrint_test_tonearest): Likewise. + (llrint_test_towardzero): Likewise. + (llrint_test_downward): Likewise. + (llrint_test_upward): Likewise. + (llround_test): Likewise. + + * math/libm-test.inc (struct test_f_i_data): Add comment. + (RUN_TEST_LOOP_f_b): New macro. + (RUN_TEST_LOOP_f_b_tg): Likewise. + (finite_test_data): New variable. + (finite_test): Run tests with RUN_TEST_LOOP_f_b. + (isfinite_test_data): New variable. + (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg. + (isinf_test_data): New variable. + (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg. + (isnan_test_data): New variable. + (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg. + (isnormal_test_data): New variable. + (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg. + (issignaling_test_data): New variable. + (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg. + (signbit_test_data): New variable. + (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg. + + * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together + with INVALID_EXCEPTION. + (acosh_test_data): Likewise. + (asin_test_data): Likewise. + (atanh_test_data): Likewise. + (fmod_test_data): Likewise. + (log_test_data): Likewise. + (log10_test_data): Likewise. + (log2_test_data): Likewise. + (pow_test_data): Likewise. + (sqrt_test_data): Likewise. + (y0_test_data): Likewise. + (y1_test_data): Likewise. + (yn_test_data): Likewise. + + * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable + function contents. + + * math/libm-test.inc (struct test_ff_i_data): New type. + (RUN_TEST_LOOP_ff_i_tg): New macro. + (isgreater_test_data): New variable. + (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg. + (isgreaterequal_test_data): New variable. + (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg. + (isless_test_data): New variable. + (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg. + (islessequal_test_data): New variable. + (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg. + (islessgreater_test_data): New variable. + (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg. + (isunordered_test_data): New variable. + (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg. + +2013-05-14 David S. Miller + + * sysdeps/sparc/fpu/libm-test-ulps: Update. + +2013-05-14 Joseph Myers + + * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace. + + * math/libm-test.inc (struct test_fF_f1_data): Change type of + extra_test to int. + (struct test_f_i_data): Change type of max_ulp to int. + + * math/libm-test.inc (test_ffI_f1_data): New type. + (RUN_TEST_LOOP_ffI_f1): New macro. + (remquo_test_data): New variable. + (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1. + + * setjmp/tst-setjmp-fp.c: New file. + * setjmp/Makefile (tests): Add tst-setjmp-fp. + (link-libm): New variable. + ($(objpfx)tst-setjmp-fp): Depend on $(link-libm). + + * math/libm-test.inc (struct test_f_i_data): New type. + (RUN_TEST_LOOP_f_i): New macro. + (RUN_TEST_LOOP_f_i_tg): Likewise. + (fpclassify_test_data): New variable. + (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg. + (ilogb_test_data): New variable. + (ilogb_test): Run tests with RUN_TEST_LOOP_f_i. + + * math/libm-test.inc (scalbln_test): Correct function name in END + call. + + * math/libm-test.inc (struct test_f_f1_data): Add comment. + (RUN_TEST_LOOP_fI_f1): New macro. + (frexp_test_data): New variable. + (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1. + + * math/libm-test.inc (struct test_fF_f1_data): New type. + (RUN_TEST_LOOP_fF_f1): New macro. + (modf_test_data): New variable. + (modf_test): Run tests with RUN_TEST_LOOP_fF_f1. + + * math/libm-test.inc (struct test_f_f1_data): New type. + (RUN_TEST_LOOP_f_f1): New macro. + (gamma_test_data): New variable. + (gamma_test): Run tests with RUN_TEST_LOOP_f_f1. + (lgamma_test_data): New variable. + (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1. + +2013-05-13 Carlos O'Donell + + * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading. + * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check. + (main): Comment "tls" pseudo-hwcap. + +2013-05-13 Joseph Myers + + * math/libm-test.inc (struct test_fl_f_data): New type. + (RUN_TEST_LOOP_fl_f): New variable. + (scalbln_test_data): New variable. + (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f. + + * math/libm-test.inc (struct test_fi_f_data): New type. + (RUN_TEST_LOOP_fi_f): New macro. + (ldexp_test_data): New variable. + (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f. + (scalbn_test_data): New variable. + (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f. + + * math/libm-test.inc (struct test_c_f_data): New type. + (RUN_TEST_LOOP_c_f): New macro. + (cabs_test_data): New variable. + (cabs_test): Run tests with RUN_TEST_LOOP_c_f. + (carg_test_data): New variable. + (carg_test): Run tests with RUN_TEST_LOOP_c_f. + (cimag_test_data): New variable. + (cimag_test): Run tests with RUN_TEST_LOOP_c_f. + (creal_test_data): New variable. + (creal_test): Run tests with RUN_TEST_LOOP_c_f. + + * math/libm-test.inc (struct test_if_f_data): New type. + (RUN_TEST_LOOP_if_f): New macro. + (jn_test_data): New variable. + (jn_test): Run tests with RUN_TEST_LOOP_if_f. + (yn_test_data): New variable. + (yn_test): Run tests with RUN_TEST_LOOP_if_f. + + * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f. + +2013-05-13 Adhemerval Zanella + + * math/libm-test.inc (M_1_DIV_El): Define using decimal constant. + (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El. + +2013-05-13 Siddhesh Poyarekar + + * benchtests/Makefile (CPPFLAGS-nonlib): Add + -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined. + (bench-deps): Add bench-timing.h. + * benchtests-bench-skeleton.c: Include bench-timing.h. + (main): Use TIMING_* macros instead of clock_gettime. + * benchtests/bench-timing.h: New file. + + [BZ #14582] + * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL): + Renamed from _LIB_VERSION. + (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL. + +2013-05-12 Joseph Myers + + * math/libm-test.inc (struct test_fff_f_data): New type. + (RUN_TEST_LOOP_fff_f): New macro. + (fma_test_data): New variable. + (fma_test): Run tests with RUN_TEST_LOOP_fff_f. + (fma_towardzero_test_data): New variable. + (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f. + (fma_downward_test_data): New variable. + (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f. + (fma_upward_test_data): New variable. + (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f. + + * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro. + (struct test_c_c_data): New type. + (RUN_TEST_LOOP_c_c): New macro. + (cacos_test_data): New variable. + (cacos_test): Run tests with RUN_TEST_LOOP_c_c. + (cacosh_test_data): New variable. + (cacosh_test): Run tests with RUN_TEST_LOOP_c_c. + (casin_test_data): New variable. + (casin_test): Run tests with RUN_TEST_LOOP_c_c. + (casinh_test_data): New variable. + (casinh_test): Run tests with RUN_TEST_LOOP_c_c. + (catan_test_data): New variable. + (catan_test): Run tests with RUN_TEST_LOOP_c_c. + (catanh_test_data): New variable. + (catanh_test): Run tests with RUN_TEST_LOOP_c_c. + (ccos_test_data): New variable. + (ccos_test): Run tests with RUN_TEST_LOOP_c_c. + (ccosh_test_data): New variable. + (ccosh_test): Run tests with RUN_TEST_LOOP_c_c. + (cexp_test_data): New variable. + (cexp_test): Run tests with RUN_TEST_LOOP_c_c. + (clog_test_data): New variable. + (clog_test): Run tests with RUN_TEST_LOOP_c_c. + (clog10_test_data): New variable. + (clog10_test): Run tests with RUN_TEST_LOOP_c_c. + (conj_test_data): New variable. + (conj_test): Run tests with RUN_TEST_LOOP_c_c. + (cproj_test_data): New variable. + (cproj_test): Run tests with RUN_TEST_LOOP_c_c. + (csin_test_data): New variable. + (csin_test): Run tests with RUN_TEST_LOOP_c_c. + (csinh_test_data): New variable. + (csinh_test): Run tests with RUN_TEST_LOOP_c_c. + (csqrt_test_data): New variable. + (csqrt_test): Run tests with RUN_TEST_LOOP_c_c. + (ctan_test_data): New variable. + (ctan_test): Run tests with RUN_TEST_LOOP_c_c. + (ctan_tonearest_test_data): New variable. + (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c. + (ctan_towardzero_test_data): New variable. + (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c. + (ctan_downward_test_data): New variable. + (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c. + (ctan_upward_test_data): New variable. + (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c. + (ctanh_test_data): New variable. + (ctanh_test): Run tests with RUN_TEST_LOOP_c_c. + (ctanh_tonearest_test_data): New variable. + (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c. + (ctanh_towardzero_test_data): New variable. + (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c. + (ctanh_downward_test_data): New variable. + (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c. + (ctanh_upward_test_data): New variable. + (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c. + * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead + of BUILD_COMPLEX. + + * math/libm-test.inc (struct test_ff_f_data): New type. + (struct test_ff_f_data_nexttoward): Likewise. + (RUN_TEST_LOOP_2_f): New macro. + (RUN_TEST_LOOP_ff_f): Likewise. + (atan2_test_data): New variable. + (atan2_test): Run tests with RUN_TEST_LOOP_ff_f. + (copysign_test_data): New variable. + (copysign_test): Run tests with RUN_TEST_LOOP_ff_f. + (fdim_test_data): New variable. + (fdim_test): Run tests with RUN_TEST_LOOP_ff_f. + (fmax_test_data): New variable. + (fmax_test): Run tests with RUN_TEST_LOOP_ff_f. + (fmin_test_data): New variable. + (fmin_test): Run tests with RUN_TEST_LOOP_ff_f. + (fmod_test_data): New variable. + (fmod_test): Run tests with RUN_TEST_LOOP_ff_f. + (hypot_test_data): New variable. + (hypot_test): Run tests with RUN_TEST_LOOP_ff_f. + (nextafter_test_data): New variable. + (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f. + (nexttoward_test_data): New variable. + (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f. + (pow_test_data): New variable. + (pow_test): Run tests with RUN_TEST_LOOP_ff_f. + (pow_tonearest_test_data): New variable. + (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f. + (pow_towardzero_test_data): New variable. + (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f. + (pow_downward_test_data): New variable. + (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f. + (pow_upward_test_data): New variable. + (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f. + (remainder_test_data): New variable. + (remainder_test): Run tests with RUN_TEST_LOOP_ff_f. + (scalb_test_data): New variable. + (scalb_test): Run tests with RUN_TEST_LOOP_ff_f. + * sysdeps/i386/fpu/libm-test-ulps: Update. + +2013-05-11 Joseph Myers + + * math/libm-test.inc (fma_test): Use max_value instead of local + variable fltmax. + (nextafter_test): Likewise. + + * math/libm-test.inc (acos_towardzero_test_data): New variable. + (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f. + (acos_downward_test_data): New variable. + (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f. + (acos_upward_test_data): New variable. + (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f. + (acosh_test_data): New variable. + (acosh_test): Run tests with RUN_TEST_LOOP_f_f. + (asin_test_data): New variable. + (asin_test): Run tests with RUN_TEST_LOOP_f_f. + (asin_tonearest_test_data): New variable. + (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f. + (asin_towardzero_test_data): New variable. + (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f. + (asin_downward_test_data): New variable. + (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f. + (asin_upward_test_data): New variable. + (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f. + (asinh_test_data): New variable. + (asinh_test): Run tests with RUN_TEST_LOOP_f_f. + (atan_test_data): New variable. + (atan_test): Run tests with RUN_TEST_LOOP_f_f. + (atanh_test_data): New variable. + (atanh_test): Run tests with RUN_TEST_LOOP_f_f. + (cbrt_test_data): New variable. + (cbrt_test): Run tests with RUN_TEST_LOOP_f_f. + (ceil_test_data): New variable. + (ceil_test): Run tests with RUN_TEST_LOOP_f_f. + (cos_test_data): New variable. + (cos_test): Run tests with RUN_TEST_LOOP_f_f. + (cos_tonearest_test_data): New variable. + (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f. + (cos_towardzero_test_data): New variable. + (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f. + (cos_downward_test_data): New variable. + (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f. + (cos_upward_test_data): New variable. + (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f. + (cosh_test_data): New variable. + (cosh_test): Run tests with RUN_TEST_LOOP_f_f. + (cosh_tonearest_test_data): New variable. + (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f. + (cosh_towardzero_test_data): New variable. + (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f. + (cosh_downward_test_data): New variable. + (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f. + (cosh_upward_test_data): New variable. + (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f. + (erf_test_data): New variable. + (erf_test): Run tests with RUN_TEST_LOOP_f_f. + (erfc_test_data): New variable. + (erfc_test): Run tests with RUN_TEST_LOOP_f_f. + (exp_test_data): New variable. + (exp_test): Run tests with RUN_TEST_LOOP_f_f. + (exp_tonearest_test_data): New variable. + (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f. + (exp_towardzero_test_data): New variable. + (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f. + (exp_downward_test_data): New variable. + (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f. + (exp_upward_test_data): New variable. + (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f. + (exp10_test_data): New variable. + (exp10_test): Run tests with RUN_TEST_LOOP_f_f. + (exp2_test_data): New variable. + (exp2_test): Run tests with RUN_TEST_LOOP_f_f. + (expm1_test_data): New variable. + (expm1_test): Run tests with RUN_TEST_LOOP_f_f. + (fabs_test_data): New variable. + (fabs_test): Run tests with RUN_TEST_LOOP_f_f. + (floor_test_data): New variable. + (floor_test): Run tests with RUN_TEST_LOOP_f_f. + (j0_test_data): New variable. + (j0_test): Run tests with RUN_TEST_LOOP_f_f. + (j1_test_data): New variable. + (j1_test): Run tests with RUN_TEST_LOOP_f_f. + (log_test_data): New variable. + (log_test): Run tests with RUN_TEST_LOOP_f_f. + (log10_test_data): New variable. + (log10_test): Run tests with RUN_TEST_LOOP_f_f. + (log1p_test_data): New variable. + (log1p_test): Run tests with RUN_TEST_LOOP_f_f. + (log2_test_data): New variable. + (log2_test): Run tests with RUN_TEST_LOOP_f_f. + (logb_test_data): New variable. + (logb_test): Run tests with RUN_TEST_LOOP_f_f. + (logb_downward_test_data): New variable. + (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f. + (nearbyint_test_data): New variable. + (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f. + (rint_test_data): New variable. + (rint_test): Run tests with RUN_TEST_LOOP_f_f. + (rint_tonearest_test_data): New variable. + (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f. + (rint_towardzero_test_data): New variable. + (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f. + (rint_downward_test_data): New variable. + (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f. + (rint_upward_test_data): New variable. + (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f. + (round_test_data): New variable. + (round_test): Run tests with RUN_TEST_LOOP_f_f. + (sin_test_data): New variable. + (sin_test): Run tests with RUN_TEST_LOOP_f_f. + (sin_tonearest_test_data): New variable. + (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f. + (sin_towardzero_test_data): New variable. + (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f. + (sin_downward_test_data): New variable. + (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f. + (sin_upward_test_data): New variable. + (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f. + (sinh_test_data): New variable. + (sinh_test): Run tests with RUN_TEST_LOOP_f_f. + (sinh_tonearest_test_data): New variable. + (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f. + (sinh_towardzero_test_data): New variable. + (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f. + (sinh_downward_test_data): New variable. + (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f. + (sinh_upward_test_data): New variable. + (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f. + (sqrt_test_data): New variable. + (sqrt_test): Run tests with RUN_TEST_LOOP_f_f. + (tan_test_data): New variable. + (tan_test): Run tests with RUN_TEST_LOOP_f_f. + (tan_tonearest_test_data): New variable. + (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f. + (tan_towardzero_test_data): New variable. + (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f. + (tan_downward_test_data): New variable. + (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f. + (tan_upward_test_data): New variable. + (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f. + (tanh_test_data): New variable. + (tanh_test): Run tests with RUN_TEST_LOOP_f_f. + (tgamma_test_data): New variable. + (tgamma_test): Run tests with RUN_TEST_LOOP_f_f. + (trunc_test_data): New variable. + (trunc_test): Run tests with RUN_TEST_LOOP_f_f. + (y0_test_data): New variable. + (y0_test): Run tests with RUN_TEST_LOOP_f_f. + (y1_test_data): New variable. + (y1_test): Run tests with RUN_TEST_LOOP_f_f. + (significand_test_data): New variable. + (significand_test): Run tests with RUN_TEST_LOOP_f_f. + +2013-05-10 Christian Grönke + + [BZ #12387] + * sysdeps/unix/sysv/linux/sh/getgid.c: New file. + +2013-05-10 Pino Toscano + + * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME. + +2013-05-10 Andreas Jaeger + + [BZ #15448] + * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S) + (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow. + +2013-05-10 Joseph Myers + + * math/gen-libm-test.pl (adjust_arg): New function. + (special_functions): Handle generating output in both functions + and arrays. + (parse_args): Likewise. + (generate_testfile): Handle START_DATA and END_DATA. Pass extra + $in_func argument to parse_args. + * math/libm-test.inc (struct test_f_f_data): New type. + (IF_ROUND_INIT_): New macro. + (IF_ROUND_INIT_FE_DOWNWARD): Likewise. + (IF_ROUND_INIT_FE_TONEAREST): Likewise. + (IF_ROUND_INIT_FE_TOWARDZERO): Likewise. + (IF_ROUND_INIT_FE_UPWARD): Likewise. + (ROUND_RESTORE_): Likewise. + (ROUND_RESTORE_FE_DOWNWARD): Likewise. + (ROUND_RESTORE_FE_TONEAREST): Likewise. + (ROUND_RESTORE_FE_TOWARDZERO): Likewise. + (ROUND_RESTORE_FE_UPWARD): Likewise. + (RUN_TEST_LOOP_f_f): New macro. + (acos_test_data): New variable. + (acos_test): Run tests with RUN_TEST_LOOP_f_f. + (acos_tonearest_test_data): New variable. + (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f. + +2013-05-10 Siddhesh Poyarekar + + * benchtests/bench-skeleton.c (startup): Fix coding style. + +2013-05-10 Joseph Myers + + [BZ #6809] + * math/w_tgamma.c (__tgamma): Also call __kernel_standard for + negative infinity argument. + * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for + negative infinity argument. + * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for + negative infinity argument. + * math/libm-test.inc (tgamma_test): Expect errno to be set for + domain errors. + +2013-05-10 Florian Weimer + + * elf/sprof.c (load_profdata): Use fstat64 instead of fstat. + * iconv/iconv_charmap.c (charmap_conversion): Likewise. + * iconv/iconv_prog.c (main): Likewise. + * locale/programs/charmap-dir.c (charmap_readdir) + (fopen_uncompressed): Likewise. + * locale/programs/locfile.c (siblings_uncached) + (write_locale_data): Use lstat64 instead of lstat. + * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of + stat. + +2013-05-10 Andreas Jaeger + + [BZ #15395] + * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for + localization. + Include . + +2013-05-09 Carlos O'Donell + + * elf/dl-close.c (_dl_close_worker): Add comments. + +2013-05-09 Joseph Myers + + [BZ #15359] + * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for + high part of pi/2. + (__ieee754_rem_pio2l): Update comments. + + [BZ #15429] + * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for + high part of pi/2. + (__ieee754_rem_pio2l): Update comments. + + * math/libm-test.inc (M_SQRT_2_2): Remove macro. + (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2. + + * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 * + M_PI_4l. + + * math/libm-test.inc (M_PI_34l): Define using decimal constant. + (M_PI_34_LOG10El): Likewise. + (M_PI2_LOG10El): Likewise. + (M_PI4_LOG10El): Likewise. + (M_PI_LOG10El): Likewise. + +2013-05-08 Adhemerval Zanella + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2013-05-08 Joseph Myers + + * math/libm-test.inc (PLUS_ZERO_INIT): New macro. + (MINUS_ZERO_INIT): Likewise. + (PLUS_INFTY_INIT): Likewise. + (MINUS_INFTY_INIT): Likewise. + (QNAN_VALUE_INIT): Likewise. + (MAX_VALUE_INIT): Likewise. + (MIN_VALUE_INIT): Likewise. + (MIN_SUBNORM_VALUE_INIT): Likewise. + (plus_zero): Initialize with PLUS_ZERO_INIT. + (minus_zero): Initialize with MINUS_ZERO_INIT. + (plus_infty): Initialize with PLUS_INFTY_INIT. + (minus_infty): Initialize with MINUS_INFTY_INIT. + (qnan_value): Initialize with QNAN_VALUE_INIT. + (max_value): Initialize with MAX_VALUE_INIT. + (min_value): Initialize with MIN_VALUE_INIT. + (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT. + + * math/libm-test.inc (RUN_TEST_if_f): New macro. + (jn_test): Use TEST_if_f instead of TEST_ff_f. + (ldexp_text): Use TEST_fi_i instead of TEST_ff_f. + (yn_test): Use TEST_if_f instead of TEST_ff_f. + + * math/libm-test.inc (RUN_TEST_f_f): New macro. + (RUN_TEST_2_f): Likewise. + (RUN_TEST_ff_f): Likewise. + (RUN_TEST_fi_f): Likewise. + (RUN_TEST_fl_f): Likewise. + (RUN_TEST_fff_f): Likewise. + (RUN_TEST_c_f): Likewise. + (RUN_TEST_f_f1): Likewise. + (RUN_TEST_fF_f1): Likewise. + (RUN_TEST_fI_f1): Likewise. + (RUN_TEST_ffI_f1): Likewise. + (RUN_TEST_c_c): Likewise. + (RUN_TEST_cc_c): Likewise. + (RUN_TEST_f_i): Likewise. + (RUN_TEST_f_i_tg): Likewise. + (RUN_TEST_ff_i_tg): Likewise. + (RUN_TEST_f_b): Likewise. + (RUN_TEST_f_b_tg): Likewise. + (RUN_TEST_f_l): Likewise. + (RUN_TEST_f_L): Likewise. + (RUN_TEST_sincos): Likewise. + * math/gen-libm-test.pl (new_test): Take new argument to indicate + whether to show exceptions. Do not include ");\n" in return + value. + (special_functions): Output call to RUN_TEST_sincos instead of + check_float calls. Update calls to new_test. + (parse_args): Output call to single RUN_TEST_* macro instead of + check_* calls and other assignments. Update calls to new_test. + + [BZ #2546] + [BZ #2560] + [BZ #5159] + [BZ #15426] + * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of + input to result for tgamma overflow. + * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include . + (gamma_coeff): New variable. + (NCOEFF): New macro. + (gamma_positive): New function. + (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and + underflow here. Use gamma_positive instead of exp (lgamma) for + other arguments. + * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include . + (gamma_coeff): New variable. + (NCOEFF): New macro. + (gammaf_positive): New function. + (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and + underflow here. Use gamma_positive instead of exp (lgamma) for + other arguments. + * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include . + (gamma_coeff): New variable. + (NCOEFF): New macro. + (gammal_positive): New function. + (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and + underflow here. Use gamma_positive instead of exp (lgamma) for + other arguments. + * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include . + (gamma_coeff): New variable. + (NCOEFF): New macro. + (gammal_positive): New function. + (__ieee754_gammal_r): Handle positive infinity, overflow and + underflow here. Handle NaN the same as positive infinity. Remove + check x < 0xffffffff for negative integers. Use gamma_positive + instead of exp (lgamma) for other arguments. + * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include . + (gamma_coeff): New variable. + (NCOEFF): New macro. + (gammal_positive): New function. + * sysdeps/ieee754/dbl-64/gamma_product.c: New file. + * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise. + * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise. + * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise. + * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise. + * sysdeps/generic/math_private.h (__gamma_productf): New + prototype. + (__gamma_product): Likewise. + (__gamma_productl): Likewise. + * math/Makefile (libm-calls): Add gamma_product. + * math/libm-test.inc (tgamma_test): Add more tests. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2013-05-08 Ondƙej BĂ­lka + + * benchtests/bench-skeleton.c (main): Preheat CPU. + +2013-05-07 Aurelien Jarno + + * misc/sys/param.h (DEV_BSIZE): Define only if not already defined. + +2013-05-07 Roland McGrath + + * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args + and _dl_skip_args_internal. + +2013-05-07 Carlos O'Donell + + * manual/message.texi (Message Translation): Talk about users. + Message to key mapping impacts design. + +2013-05-06 Roland McGrath + + * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file. + + * elf/dl-open.c: Remove declaration of _dl_sysdep_start. + + * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ... + * sysdeps/wordsize-64/glob64.c: ... here. + + * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro. + (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel): + New macros. + + * debug/getlogin_r_chk.c: Moved to ... + * login/getlogin_r_chk.c: ... here. + * debug/Makefile (routines): Move getlogin_r_chk to ... + * login/Makefile (routines): ... here. + * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ... + * login/Versions (libc: GLIBC_2.4): ... here. + + * io/poll.c (__poll): Renamed from poll. + Add libc_hidden_def. + (poll): Define as weak alias. + + * debug/ptsname_r_chk.c: Moved to ... + * login/ptsname_r_chk.c: ... here. + * debug/Makefile (routines): Move ptsname_r_chk to ... + * login/Makefile (routines): ... here. + * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ... + * login/Versions (libc: GLIBC_2.4): ... here. + + * posix/getlogin.c: Moved to ... + * login/getlogin.c: ... here. + * posix/getlogin_r.c: Moved to ... + * login/getlogin_r.c: ... here. + * posix/getlogin_r.c: Moved to ... + * login/getlogin_r.c: ... here. + * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ... + * login/Makefile (routines): ... here. + * posix/Versions (libc: GLIBC_2.0): Move setlogin to ... + * login/Versions (libc: GLIBC_2.0): ... here. + + * resource/setrlimit.c (__setrlimit): Renamed from setrlimit. + (setrlimit): Define as weak alias. + + * sysdeps/posix/truncate.c (__truncate): Renamed from truncate. + Call __ names for open, ftruncate, and close. + For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate. + (truncate): Define as weak alias. + +2013-05-06 Joseph Myers + + * math/gen-libm-test.pl (parse_args): Initialize x before each + test of frexp, modf and remquo. + + * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to + test signgam value. + +2013-05-06 Adhemerval Zanella + + [BZ #15418] + [BZ #15419] + * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by + internal tests. + * sysdeps/powerpc/fpu/e_hypotf.c: Likewise. + +2013-05-06 Roland McGrath + + * elf/dl-writev.h: New file. + * elf/dl-misc.c: Include it. + (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al. + * sysdeps/unix/sysv/linux/dl-writev.h: New file. + +2013-05-04 Joseph Myers + + * math/libm-test.inc (noXFails): Remove variable. + (noXPasses): Likewise. + (BUILD_COMPLEX_INT): Remove macro. + (print_screen): Remove xfail argument. + (print_screen_max_error): Likewise. + (update_stats): Likewise. + (print_max_error): Likewise. Update calls to other affected + functions. + (print_complex_max_error): Likewise. + (test_single_exception): Update calls to print_screen. + (test_single_errno): Likewise. + (check_float_internal): Remove xfail argument. Update calls to + other affected functions. + (check_float): Likewise. + (check_complex): Likewise. + (check_int): Likewise. + (check_long): Likewise. + (check_bool): Likewise. + (check_longlong): Likewise. + (main): Don't print noXFails and noXPasses. + * math/gen-libm-test.pl (top level): Don't mention expected + failure handling in comment. + (new_test): Don't handle expected failures. + (parse_args): Don't mention expected failure handling in comment. + (generate_testfile): Don't handle expected failures. + (parse_ulps): Likewise. + (print_ulps_file): Likewise. + (get_failure): Remove function. + (output_test): Don't handle expected failures. + * make/README.libm-test: Don't mention expected failure handling. + + * math/libm-test.inc (plus_zero): Make const. Add initializer. + (minus_zero): Likewise. + (plus_infty): Likewise. + (minus_infty): Likewise. + (qnan_value): Likewise. + (max_value): Likewise. + (min_value): Likewise. + (min_subnorm_value): Likewise. + (initialize): Do not initialize those variables dynamically. + +2013-05-03 Roland McGrath + + * io/open.c (__open_2): Moved to ... + * io/open_2.c: ... this new file. + * io/open64.c (__open64_2): Moved to ... + * io/open64_2.c: ... this new file. + * io/openat.c (__openat_2): Moved to ... + * io/openat_2.c: ... this new file. + * io/openat64.c (__openat64_2): Moved to ... + * io/openat64_2.c: ... this new file. + * io/Makefile (routines): Add them. + * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them. + * sysdeps/unix/sysv/linux/open_2.c: File removed. + * sysdeps/unix/sysv/linux/open64_2.c: File removed. + * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed. + * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed. + * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed. + (__openat64): Add hidden_ver. + * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed. + * sysdeps/mach/hurd/openat.c (__openat_2): Removed. + + * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]: + Separately conditionalize setting of GLRO(dl_sysinfo) so + that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO] + as well, but the actual setting is only under [NEED_DL_SYSINFO]. + +2013-04-30 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol. + * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time + definition. + (VDSO_IFUNC_RET): Cast to void * to silence compiler warning. + * sysdeps/unix/sysv/linux/powerpc/init-first.c + (_libc_vdso_platform_setup): Add __vdso_time initialization. + * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation + for PowerPC using vDSO where is avaliable or gettimeofday as a fallback. + +2013-05-03 Joseph Myers + + * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to + test signgam value. + + * math/libm-test.inc (hypot_test): Do not use + IGNORE_ZERO_INF_SIGN. + +2013-05-03 Andreas Jaeger + + * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from + Linux 3.9. + * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add. + (PF_MAX): Adjust for VSOCK change. + +2013-05-03 Adhemerval Zanella + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2013-05-02 Carlos O'Donell + + [BZ #15264] + * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr. + * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES. + * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr. + +2013-05-02 David S. Miller + + * sysdeps/sparc/fpu/libm-test-ulps: Update. + +2013-05-01 Ondƙej BĂ­lka + + * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc. + +2013-05-01 Roland McGrath + + * sysdeps/posix/opendir.c: Include to get MIN/MAX macros. + +2013-05-01 Richard Smith + + [BZ #14952] + * misc/sys/cdefs.h (__extern_inline, __extern_always_inline) + [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]: + Use __attribute__ ((__gnu_inline__)). + [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]: + Don't use __attribute__ ((__gnu_inline__)). + +2013-05-01 Joseph Myers + + [BZ #15423] + * math/s_catan.c (__catan): Handle small real or imaginary part of + input specially to avoid spurious underflow. + * math/s_catanf.c (__catanf): Likewise. + * math/s_catanh.c (__catanh): Likewise. + * math/s_catanhf.c (__catanhf): Likewise. + * math/s_catanhl.c (__catanhl): Likewise. + * math/s_catanl.c (__catanl): Likewise. + * math/libm-test.inc (catan_test): Add more tests. + (catanh_test): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2013-04-30 Adhemerval Zanella + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2013-04-30 Joseph Myers + + [BZ #15416] + * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more + accurately for denominator in atan2. + * math/s_catanf.c (__catanf): Likewise. + * math/s_catanh.c (__catanh): Likewise. + * math/s_catanhf.c (__catanhf): Likewise. + * math/s_catanhl.c (__catanhl): Likewise. + * math/s_catanl.c (__catanl): Likewise. + * math/libm-test.inc (catan_test): Add more tests. + (catanh_test): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2013-04-30 Siddhesh Poyarekar + + * sysdeps/ieee754/dbl-64/s_sin.c: Format code. + + * benchtests/Makefile (bench): Remove slow benchmarks. + * benchtests/atan-inputs: Add slow benchmark inputs. + * benchtests/bench-modf.c (NUM_VARIANTS): Define. + (BENCH_FUNC): Accept variant offset. + (VARIANT): Define. + * benchtests/bench-skeleton.c (main): Run benchmark for each + variant. + * benchtests/cos-inputs: Add slow benchmark inputs. + * benchtests/exp-inputs: Likewise. + * benchtests/pow-inputs: Likewise. + * benchtests/sin-inputs: Likewise. + * benchtests/slowatan-inputs: Remove. + * benchtests/slowatan.c: Remove. + * benchtests/slowcos-inputs: Remove. + * benchtests/slowcos.c: Remove. + * benchtests/slowexp-inputs: Remove. + * benchtests/slowexp.c: Remove. + * benchtests/slowpow-inputs: Remove. + * benchtests/slowpow.c: Remove. + * benchtests/slowsin-inputs: Remove. + * benchtests/slowsin.c: Remove. + * benchtests/slowtan-inputs: Remove. + * benchtests/slowtan.c: Remove. + * benchtests/tan-inputs: Add slow benchmark inputs. + * scripts/bench.pl: Parse comments and directives. + + * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION + in CPPFLAGS. + ($(objpfx)bench-%.c): Remove *-ITER. + * benchtests/bench-modf.c: Remove definition of ITER. + * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro. + (main): Loop for DURATION seconds instead of fixed number of + iterations. + * scripts/bench.pl: Don't expect iterations in parameters. + +2013-04-29 Roland McGrath + + * io/fchdir.c (__fchdir): Renamed from fchdir. + (fchdir): Define as weak alias. + +2013-04-29 Joseph Myers + + * math/libm-test.inc (ERRNO_UNCHANGED): New macro. + (ERRNO_EDOM): Likewise. + (ERRNO_ERANGE): Likewise. + (noErrnoTests): New variable. + (init_max_error): Set errno to 0. + (test_single_errno): New function. + (test_errno): Likewise. + (check_float_internal): Call test_errno. Set errno to 0. + (check_complex): Refer to errno tests in comment. + (check_int): Call test_errno. Set errno to 0. + (check_long): Likewise. + (check_bool): Likewise. + (check_longlong): Likewise. + (cos_test): Use ERRNO_* flags for errno tests instead of + check_int. + (expm1_test): Likewise. + (fmod_test): Likewise. + (ilogb_test): Likewise. + (lgamma_test): Likewise. + (pow_test): Likewise. + (remainder_test): Likewise. + (sin_test): Likewise. + (tan_test): Likewise. + (yn_test): Likewise. + (initialize): Set errno to 0. + (main): Print number of errno tests. + * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests. + +2013-04-29 Andreas Jaeger + + [BZ #15084] + * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING + and RES_USEVC. + + [BZ #15085] + * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented. + * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as + unimplemented. + + [BZ #15380] + * stdlib/random.c (__initstate): Return NULL if + __initstate fails. + + [BZ #15086] + * resolv/res_debug.c (p_option): Handle RES_NOALIASES, + RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP, + RES_SNGLKUPREOP. + +2013-04-29 Adhemerval Zanella + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2013-04-29 Joseph Myers + + * math/libm-test.inc (cacos_test): Add missing semicolons at ends + of individual tests. + (casin_test): Likewise. + (casinh_test): Likewise. + +2013-04-27 Joseph Myers + + [BZ #15409] + * math/s_catan.c (__catan): Handle arguments with large real or + imaginary part separately without squaring. + * math/s_catanf.c (__catanf): Likewise. + * math/s_catanh.c (__catanh): Likewise. + * math/s_catanhf.c (__catanhf): Likewise. + * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine + and redefine. + (__catanhl): Handle arguments with large real or imaginary part + separately without squaring. + * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine + and redefine. + (__catanl): Handle arguments with large real or imaginary part + separately without squaring. + * math/libm-test.inc (catan_test): Add more tests. + (catanh_test): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2013-04-27 Andreas Jaeger + + [BZ #15007] + * stdlib/stdlib.h: Update guards for qecvt. + * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with + . + +2013-04-27 Allan McRae + + * sysdeps/i386/fpu/libm-test-ulps: Update. + +2013-04-26 Joseph Myers + + [BZ #15406] + * math/s_catan.c: Include . + (__catan): Ensure underflow exception occurs for underflowed + result. + * math/s_catanf.c: Include . + (__catanf): Ensure underflow exception occurs for underflowed + result. + * math/s_catanh.c: Include . + (__catanh): Ensure underflow exception occurs for underflowed + result. + * math/s_catanhf.c: Include . + (__catanhf): Ensure underflow exception occurs for underflowed + result. + * math/s_catanhl.c: Include . + (__catanhl): Ensure underflow exception occurs for underflowed + result. + * math/s_catanl.c: Include . + (__catanl): Ensure underflow exception occurs for underflowed + result. + * math/libm-test.inc (catan_test): Add more tests. + (catanh_test): Likewise. + + [BZ #15405] + * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for + underflowed result. + * math/s_ccoshf.c (__ccoshf): Likewise. + * math/s_ccoshl.c (__ccoshl): Likewise. + * math/s_csin.c (__csin): Likewise. + * math/s_csinf.c (__csinf): Likewise. + * math/s_csinh.c (__csinh): Likewise. + * math/s_csinhf.c (__csinhf): Likewise. + * math/s_csinhl.c (__csinhl): Likewise. + * math/s_csinl.c (__csinl): Likewise. + * math/libm-test.inc (ccos_test): Add more tests. + (ccosh_test): Likewise. + (csin_test): Likewise. + (csinh_test): Likewise. + +2013-04-26 Adhemerval Zanella + + * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ... + * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this. + * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ... + * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this. + * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and + powerpc/power5+/fpu folders. + * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise. + + +2013-04-26 Markus Trippelsdorf + + * sysdeps/x86_64/fpu/libm-test-ulps: Update. + +2013-04-25 Joseph Myers + + * elf/Makefile [$(config-machine) = x86_64] (tests): Remove + additions to variable. + [$(config-machine) = x86_64] (modules-names): Likewise. + ($(objpfx)tst-audit3): Remove dependency. + ($(objpfx)tst-audit3.out): Likewise. + ($(objpfx)tst-audit4): Likewise. + ($(objpfx)tst-audit4.out): Likewise. + ($(objpfx)tst-audit5): Likewise. + ($(objpfx)tst-audit5.out): Likewise. + ($(objpfx)tst-audit6): Likewise. + ($(objpfx)tst-audit6.out): Likewise. + ($(objpfx)tst-audit7): Likewise. + ($(objpfx)tst-audit7.out): Likewise. + (tst-audit3-ENV): Remove variable. + (tst-audit4-ENV): Likewise. + (tst-audit5-ENV): Likewise. + (tst-audit6-ENV): Likewise. + (tst-audit7-ENV): Likewise. + [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise. + [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove + addition to variable. + [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise. + [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise. + [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise. + [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise. + [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise. + * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add + tst-audit3, tst-audit4 and tst-audit5. + [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add + tst-audit6 and tst-audit7. + [$(subdir) = elf] (modules-names): Add audit modules for those + tests. + [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency. + [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise. + [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise. + [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise. + [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise. + [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise. + [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise. + [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise. + [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise. + [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise. + [$(subdir) = elf] (tst-audit3-ENV): New variable. + [$(subdir) = elf] (tst-audit4-ENV): Likewise. + [$(subdir) = elf] (tst-audit5-ENV): Likewise. + [$(subdir) = elf] (tst-audit6-ENV): Likewise. + [$(subdir) = elf] (tst-audit7-ENV): Likewise. + [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS): + Likewise. + [$(subdir) = elf && $(config-cflags-avx) = yes] + (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS). + [$(subdir) = elf && $(config-cflags-avx) = yes] + (CFLAGS-tst-auditmod4a.c): Likewise. + [$(subdir) = elf && $(config-cflags-avx) = yes] + (CFLAGS-tst-auditmod4b.c): Likewise. + [$(subdir) = elf && $(config-cflags-avx) = yes] + (CFLAGS-tst-auditmod6b.c): Likewise. + [$(subdir) = elf && $(config-cflags-avx) = yes] + (CFLAGS-tst-auditmod6c.c): Likewise. + [$(subdir) = elf && $(config-cflags-avx) = yes] + (CFLAGS-tst-auditmod7b.c): Likewise. + * elf/tst-audit3.c: Move to ... + * sysdeps/x86_64/tst-audit3.c: ... here. + * elf/tst-audit4.c: Move to ... + * sysdeps/x86_64/tst-audit4.c: ... here. + * elf/tst-audit5.c: Move to ... + * sysdeps/x86_64/tst-audit5.c: ... here. + * elf/tst-audit6.c: Move to ... + * sysdeps/x86_64/tst-audit6.c: ... here. + * elf/tst-audit7.c: Move to ... + * sysdeps/x86_64/tst-audit7.c: ... here. + * elf/tst-auditmod3a.c: Move to ... + * sysdeps/x86_64/tst-auditmod3a.c: ... here. + * elf/tst-auditmod3b.c: Move to ... + * sysdeps/x86_64/tst-auditmod3b.c: ... here. + * elf/tst-auditmod4a.c: Move to ... + * sysdeps/x86_64/tst-auditmod4a.c: ... here. + * elf/tst-auditmod4b.c: Move to ... + * sysdeps/x86_64/tst-auditmod4b.c: ... here. + * elf/tst-auditmod5a.c: Move to ... + * sysdeps/x86_64/tst-auditmod5a.c: ... here. + * elf/tst-auditmod5b.c: Move to ... + * sysdeps/x86_64/tst-auditmod5b.c: ... here. + * elf/tst-auditmod6a.c: Move to ... + * sysdeps/x86_64/tst-auditmod6a.c: ... here. + * elf/tst-auditmod6b.c: Move to ... + * sysdeps/x86_64/tst-auditmod6b.c: ... here. + * elf/tst-auditmod6c.c: Move to ... + * sysdeps/x86_64/tst-auditmod6c.c: ... here. + * elf/tst-auditmod7a.c: Move to ... + * sysdeps/x86_64/tst-auditmod7a.c: ... here. + * elf/tst-auditmod7b.c: Move to ... + * sysdeps/x86_64/tst-auditmod7b.c: ... here. + +2013-04-25 Paul Pluzhnikov + + [BZ #15366] + * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.): + define unconditionally. + * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.): + define unconditionally. + (INT8_C, INT16_C, etc.): Likewise. + +2013-04-25 Maciej W. Rozycki + + * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare + __ehdr_start with hidden visibility. + + * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment. + +2013-04-24 Carlos O'Donell + + * math/libm-test.inc (cos_test): Use accurate hex constants. + (sincost_test): Likewise. + +2013-04-24 Joseph Myers + + * math/libm-test.inc (catan_test): Add more tests. + (catanh_test): Likewise. + + * math/s_catanf.c (__catanf): Use suffixed floating-point + constants. + * math/s_catanhf.c (__catanhf): Likewise. + * math/s_catanhl.c (__catanhl): Likewise. + * math/s_catanl.c (__catanl): Likewise. + + [BZ #15394] + * math/s_catan.c (__catan): Calculate imaginary part of result + with log1p not log unless computing log of number close to 0. + * math/s_catanf.c (__catanf): Likewise. + * math/s_catanl.c (__catanl): Likewise. + * math/s_catanh.c (__catanh): Calculate real part of result with + log1p not log unless computing log of number close to 0. + * math/s_catanhf.c (__catanhf): Likewise. + * math/s_catanhl.c (__catanhl): Likewise. + * math/libm-test.inc (catan_test): Add more tests. + (catanh_test): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2013-04-24 Siddhesh Poyarekar + + * benchtests/Makefile: Mention files in which fast and slow + paths of math functions are implemented. + +2013-04-23 Roland McGrath + + * sysdeps/posix/timespec_get.c: New file. + +2013-04-23 Adhemerval Zanella + + * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for + POWER. + * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization + for POWER. + * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and + powerpc/power5/fpu folders. + * sysdeps/powerpc/powerpc32/power5/Implies: Likewise. + * benchtests/Makefile: Add modf testcase. + * benchtests/bench-modf.c: New file: Benchmark test for mo + +2013-04-23 Siddhesh Poyarekar + + [BZ #14888] + * time/Makefile (tests): Add tst-strptime-whitespace. + * time/strptime_l.c (get_number): Use ISSPACE. + (__strptime_internal): Likewise. + * time/tst-strptime-whitespace.c: New test case. + +2013-04-23 Andreas Schwab + + * nss/nss_files/files-init.c (TF): Don't initialize flexible array + member. + (_nss_files_init): Set it here. + +2013-04-23 Heiko Carstens + + * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of + f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to + unsigned. + +2013-04-22 Jan-Benedict Glaw + + * nss/getent.c (shadow_keys): Call endspent, not endpwent. + +2013-04-22 Siddhesh Poyarekar + + * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results + size just once. + +2013-04-21 David S. Miller + + * po/ru.po: Update Russion translation from translation project. + +2013-04-17 Adam Conrad + + * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid + and setfsgid. + +2013-04-17 Carlos O'Donell + + * configure.in: Remove i386 configure warning. Remove i386 case. + * configure: Regenerate. + * sysdeps/i386/configure.in: Raise error if config_machine is i386. + Add example to error message. + * sysdeps/i386/configure: Regenerate. + +2013-04-17 Siddhesh Poyarekar + + * benchtests/Makefile (bench): Add cos, tan, slowcos and + slowtan. + * benchtests/cos-inputs: New file. + * benchtests/slowcos-inputs: New file. + * benchtests/slowcos.c: New file. + * benchtests/slowtan-inputs: New file. + * benchtests/slowtan.c: New file. + * benchtests/tan-inputs: New file. + +2013-04-16 Roland McGrath + + * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now + considered kosher. + +2013-04-16 Siddhesh Poyarekar + + * benchtests/Makefile: Include cppflags-iterator.mk to add + -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs. + + * Makefile.in (bench-clean): New target. + * benchtests/Makefile (bench-clean): Likewise. + +2013-04-16 David Holsgrove + + * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations. + +2013-04-15 Thomas Schwinge + + * stdio-common/tstdiomisc.c: Fix coding-style violation. + +2013-04-15 Andreas Schwab + + * nscd/grpcache.c (cache_addgr): Properly check for short write. + * nscd/initgrcache.c (addinitgroupsX): Likewise. + * nscd/pwdcache.c (cache_addpw): Likewise. + * nscd/servicescache.c (cache_addserv): Likewise. Don't write + more than recsize. + +2013-04-15 Siddhesh Poyarekar + + * benchtests/Makefile (bench): Write all output to + bench-out.tmp together. + +2013-04-15 Andreas Schwab + + * nscd/nscd.c (main): Don't fork again after closing files. + +2013-04-15 Siddhesh Poyarekar + + * libio/tst-fwrite-error.c (do_test): Fix BUF array definition. + + * benchtests/Rules (bench-deps): Collect dependencies into a + single variable. Add Makefile to dependencies. + ($(objpfx)bench-%.c): Depend on bench-deps. + +2013-04-12 Roland McGrath + Xavier Roche + + [BZ #15361] + * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes, + just that it's a file descriptor. + * manual/llio.texi (Synchronizing AIO Operations): Update description + for EBADF error from aio_fsync. + +2013-04-12 Siddhesh Poyarekar + + * Rules (bench): Move target definition... + * benchtests/Makefile: ... here. + +2013-04-11 Carlos O'Donell + + * math/libm-test.inc (cos_test): Fix PI/2 test. + (sincos_test): Likewise. + * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate. + * sysdeps/i386/fpu/libm-test-ulps: Regenerate. + +2013-04-11 Andreas Schwab + + [BZ #13988] + * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float + accept exponent character only when digits were seen. + * stdio-common/Makefile (tests): Add bug26. + * stdio-common/bug26.c: New file. + + [BZ #14293] + * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as + non-freeable. + +2013-04-11 Siddhesh Poyarekar + + * Makeconfig (rtld-prefix): Define built linker prefix. + * Rules (run-bench): Use it. + * math/Makefile (run-regen-ulps): Likewise. + + * Rules (bench): Remove eval. + +2013-04-10 Siddhesh Poyarekar + Roland McGrath + Ondrej Bilka + + [BZ #15346] + * time/getdate.c: Include ctype.h and alloca.h. + (__getdate_r): Trim leading and trailing spaces of input. + * time/tst-getdate.c (tests): Add tests with leading and + trailing spaces. + +2013-04-08 Roland McGrath + + [BZ #14280] + * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum + when computing value. + +2013-04-06 Carlos O'Donell + + * math/README.libm-test (How can I generate "libm-test-ulps"?): + Use testrun.sh to run libm tests. + + [BZ #15309] + * elf/dl-open.c (dl_open_worker): memset all of seen array. + +2013-04-06 Marko Myllynen + + [BZ #15264] + * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr. + +2013-04-06 Carlos O'Donell + + * Makefile.in (regen-ulps): New target. + * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY. + [ifneq (no,$(PERL)] (run-regen-ulps): New variable. + [ifneq (no,$(PERL)] (regen-ulps): New target. + [ifeq (no,$(PERL)] (regen-ulps): New target. + * math/libm-test.inc (ulps_file_name): Define. + (output_dir): New variable. + (options): Add "output-dir" option. + (parse_opt): Handle 'o' case. + (main): If output_dir is non-NULL use it as a prefix + otherwise use "". + * math/README.libm-test: Update `How can I generate "libm-test-ulps"?' + +2013-04-06 Carlos O'Donell + + [BZ #10060, #10062] + * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro. + * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and + fail configure if __sync_val_compare_and_swap is not inlined. + * sysdeps/i386/configure: Regenerate. + * configure.in: Build for i686 when configured for i386. + * configure: Regenerate. + * README: Remove i386 reference. + +2013-04-06 Carlos O'Donell + + * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition. + * sysdeps/s390/s390-64/sysdep.h: Likewise. + +2013-04-05 Thomas Schwinge + + * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval) + (lmsnanval): New variables. + (F): Add conversion tests. + * stdlib/tst-strtod6.c (do_test): Add issignaling tests. + * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm). + + * stdio-common/tstdiomisc.c (F): Properly collect individual + tests' results. + + [BZ #14686, #15336] + * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions. + * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): + Instead, use input NaN values or generate a qNaN by arithmetic + operation. Also fix bugs to comply with the standard. + * math/libm-test.inc (remainder_test): Add more tests. + + [BZ #15335, #15342] + * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions. + * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use + input NaN values or generate a qNaN by arithmetic operation. + + * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove + unreachable code. + + * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused + definitions. + +2013-04-03 Joseph Myers + + [BZ #14478] + * math/s_cexp.c (__cexp): Ensure underflow exception occurs for + underflowed result. + * math/s_cexpf.c (__cexpf): Likewise. + * math/s_cexpl.c (__cexpl): Likewise. + * math/libm-test.inc (cexp_test): Add more tests. + +2013-04-03 Andreas Schwab + + [BZ #15330] + * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and + order arrays from heap if bigger than alloca cutoff. + +2013-04-03 Thomas Schwinge + + * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float) + (SNAN_TESTS_double): Refer to GCC PR56831. + * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to + GCC PR56828. + +2013-04-03 Siddhesh Poyarekar + + * Rules (bench): Move bench.out after the run is complete. + + * Rules (bench): Echo currently running benchmark. + + * benchtests/Makefile (bench): Add atan and slowatan. + * benchtests/atan-inputs: New file. + * benchtests/slowatan-inputs: New file. + * benchtests/slowatan.c: New file. + + * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition. + * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with + its value. + + [BZ #15305] + * sysdeps/unix/sysv/linux/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x02061d]: Define + __ASSUME_XFS_RESTRICTED_CHOWN. + * sysdeps/unix/sysv/linux/pathconf.c + (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]: + Save and restore errno. + +2013-04-02 Joseph Myers + + [BZ #15327] + * math/s_cacosh.c (__cacosh): Implement for finite nonzero + arguments using __kernel_casinh. + * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero + arguments using __kernel_casinhf. + * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero + arguments using __kernel_casinhl. + * math/libm-test.inc (cacosh_test): Add more tests. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2013-04-02 Siddhesh Poyarekar + + * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23. + * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t. + + * bench/Makefile (bench): Add sin and slowsin. + * benchtests/sin-inputs: New file. + * benchtests/slowsin-inputs: New file. + * benchtests/slowsin.c: New file. + + * benchtests/Makefile: Add benchmarks for slowpow and slowexp. + (bench): Add slowexp and slowpow. + (exp-ITER): Increase iterations. + (pow-ITER): Likewise. + * benchtests/exp-inputs: Change input. + * benchtests/pow-inputs: Likewise. + * benchtests/slowexp-inputs: New file. + * benchtests/slowexp.c: New file. + * benchtests/slowpow-inputs: New file. + * benchtests/slowpow.c: New file. + +2013-04-02 Adhemerval Zanella + + * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction + instructions. + * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise. + * benchtests/Makefile: Add rint benchtest. + * benchtests/rint-inputs: Input for rint benchtest. + +2013-04-02 Thomas Schwinge + + * Versions.def (libm): Add GLIBC_2.18. + * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add + hidden libm prototypes. + [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise. + * math/Makefile (libm-calls): Add s_issignaling. + * math/Versions (libm: GLIBC_2.18): Add __issignaling, + __issignalingf, __issignalingl. Adjust all libm.abilist files. + * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype + declaration. + * math/math.h [__USE_GNU] (issignaling): New macro. + * sysdeps/ieee754/flt-32/s_issignalingf.c: New file. + * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise. + * manual/arith.texi (issignaling): New section. + * manual/libm-err-tab.pl (@all_functions): Update comment. + * math/gen-libm-test.pl (parse_args): Apply special handling for + issignaling. + * math/libm-test.inc (print_float, issignaling_test): New + functions. + (check_float_internal): Add issignaling checks. + * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide + default definition. + * sysdeps/powerpc/math-tests.h: New file. + * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling + tests. + * math/test-snan.c (TEST_FUNC): Likewise. + +2013-03-30 David S. Miller + + * po/de.po: Update from translation team. + +2013-03-30 Joseph Myers + + [BZ #10357] + * math/k_casinh.c (__kernel_casinh): Handle arguments with + imaginary part less than 1.0 and real part less than 0.5 + specially. + * math/k_casinhf.c (__kernel_casinhf): Likewise. + * math/k_casinhl.c (__kernel_casinhl): Likewise. + * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro. + (cacos_test): Add more tests. + (casin_test): Likewise. + (casinh_test): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2013-03-29 Siddhesh Poyarekar + + * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace + ONE with its value. + + * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines. + (__pow_mp): Replace ONE and MONE with their values. + * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise. + * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise. + * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise. + * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise. + * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise. + * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise. + + * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting. + + * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines. + (__pow_mp): Replace ZERO and MZERO with their values. + * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise. + * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise. + * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise. + * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise. + * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise. + * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise. + (__sqr): Likewise. + + * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting. + + * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting. + +2013-03-28 Roland McGrath + + * include/stdlib.h [!SHARED] (__call_tls_dtors): + Declare with __attribute__ ((weak)). + * stdlib/exit.c (__libc_atexit) [!SHARED]: + Call __call_tls_dtors only if it's not NULL. + +2013-03-28 Roland McGrath + + * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init + didn't do it already, then set _dl_phdr and _dl_phnum based on the + magic __ehdr_start linker symbol if it's defined. + * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set + them up here if it was already done. + + * elf/dl-support.c (_dl_phdr): Make pointer to const. + (_dl_aux_init): Use const in cast when setting it. + * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast. + * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl. + * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const. + + * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum): + Declare them here. + * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here. + * csu/libc-tls.c: Nor here. + * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here. + + * sysdeps/posix/libc_fatal.c: Don't include . + (__libc_message): Never call vsyslog. + +2013-03-28 Alan Modra + + * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc): + Define as empty. + * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc): + Likewise. + +2013-03-28 Adhemerval Zanella + + [BZ #15214] + * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious + underflow. + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2013-03-28 Siddhesh Poyarekar + + [BZ #15304] + * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn): + Don't add gid passed as argument. + + * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat. + +2013-03-27 Joseph Myers + + [BZ #15307] + * math/k_casinh.c (__kernel_casinh): Handle arguments with + imaginary part between 1.0 and 1.5 and real part less than 0.5 + specially. + * math/k_casinhf.c (__kernel_casinhf): Likewise. + * math/k_casinhl.c (__kernel_casinhl): Likewise. + * math/libm-test.inc (cacos_test): Add more tests. + (casin_test): Likewise. + (casinh_test): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2013-03-26 Siddhesh Poyarekar + + * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral + constants. + (norm): Likewise. + (denorm): Likewise. + (__dbl_mp): Likewise. + (add_magnitudes): Likewise. + (sub_magnitudes): Likewise. + (__add): Likewise. + (__sub): Likewise. + (__mul): Likewise. + (__sqr): Likewise. + (__inv): Likewise. + (__dvd): Likewise. + + * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove + commented code. + * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise. + (__dubcos): Likewise. + * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise. + (__ieee754_acos): Likewise. + * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise. + * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise. + (__exp1): Likewise. + * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise. + * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise. + (log1): Likewise. + (my_log2): Likewise. + (checkint): Likewise. + * sysdeps/ieee754/dbl-64/e_remainder.c + (__ieee754_remainder): Likewise. + * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise. + * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise. + (bsloww): Likewise. + * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise. + + * sysdeps/ieee754/dbl-64/mpa-arch.h: New file. + * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and + MANTISSA_STORE_T to store computations on mantissa. Use + macros for rounding and division. + (denorm): Likewise. + (__dbl_mp): Likewise. + (add_magnitudes): Likewise. + (sub_magnitudes): Likewise. + (__mul): Likewise. + (__sqr): Likewise. + * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define + powers of two in terms of TWOPOW macro. + (mp_no): Make type of mantissa as MANTISSA_T. + [!RADIXI]: Define RADIXI. + [!TWO52]: Define TWO52. + * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file. + +2013-03-25 Adhemerval Zanella + + * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing + llroundl symbol when building for PPC32. + +2013-03-24 Mark H Weaver + + * manual/arith.texi (Normalization Functions): Fix prototypes for + scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl. + +2013-03-19 Adhemerval Zanella + + [BZ #13889] + * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the + high value to check if expl overflow. + * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants + to check for underflow and overflow. + * math/libm-test.inc: Add exp test. + +2013-03-21 Dmitry V. Levin + + [BZ #11120] + * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib + with NOT_IN_libc. + +2013-03-21 Adhemerval Zanella + + * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat + symbol. + +2013-03-21 Thomas Schwinge + + * math/gen-libm-test.pl (parse_args, special_functions): Properly + wrap blocks consisting of several statements. + + * sysdeps/generic/math-tests.h: New file. + * sysdeps/i386/fpu/math-tests.h: Likewise. + * math/test-snan.c: Include it. + (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests. + +2013-03-21 Joseph Myers + + [BZ #15285] + * sysdeps/ieee754/ldbl-128/e_j0l.c: Include . + (__ieee754_j0l): Do not improve calculations using cos of twice + input for inputs above LDBL_MAX / 2.0L. + (__ieee754_y0l): Likewise. + * sysdeps/ieee754/ldbl-128/e_j1l.c: Include . + (__ieee754_j1l): Do not improve calculations using cos of twice + input for inputs above LDBL_MAX / 2.0L. + (__ieee754_y1l): Likewise. + * math/libm-test.inc (j0_test): Add another test. + (j1_test): Likewise. + (y0_test): Likewise. + (y1_test): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Update. + +2013-03-21 Siddhesh Poyarekar + + * Rules ($(objpfx)bench-%.c): Include code from a C source + file. + +2013-03-21 Joseph Myers + + [BZ #15287] + * math/k_casinh.c (__kernel_casinh): Handle arguments with + imaginary part 1.0 and real part less than 0.5 specially. + * math/k_casinhf.c (__kernel_casinhf): Likewise. + * math/k_casinhl.c (__kernel_casinhl): Likewise. + * math/libm-test.inc (cacos_test): Add more tests. + (casin_test): Likewise. + (casinh_test): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2013-03-21 Siddhesh Poyarekar + + * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD. + * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise. + +2013-03-20 Joseph Myers + + * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro. + * config.make.in (config-cflags-sse4): Remove variable. + (config-cflags-avx): Likewise. + (config-cflags-sse2avx): Likewise. + (config-cflags-novzeroupper): Likewise. + (config-asflags-i686): Likewise. + (have-mfma4): Likewise. + (have-as-vis3): Likewise. + (MIG): Likewise. + * configure.in (MIG): Do not AC_SUBST. + (libc_cv_cc_nofma): Move AC_SUBST next to configure test. + (libc_cv_cc_sse4): Do not AC_SUBST. + (libc_cv_cc_avx): Likewise. + (libc_cv_cc_sse2avx): Likewise. + (libc_cv_cc_novzeroupper): Likewise. + (libc_cv_cc_fma4): Likewise. + (libc_cv_as_i686): Likewise. + (libc_cv_sparc_as_vis3): Likewise. + * sysdeps/i386/configure.in (config-cflags-sse4): Set using + LIBC_CONFIG_VAR. + (config-asflags-i686): Likewise. + (config-cflags-avx): Likewise. + (config-cflags-sse2avx): Likewise. + (have-mfma4): Likewise. + (config-cflags-novzeroupper): Likewise. + * sysdeps/mach/configure.in (MIG): Likewise. + * sysdeps/sparc/configure.in (have-as-vis3): Likewise. + * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using + LIBC_CONFIG_VAR. + (config-cflags-avx): Likewise. + (config-cflags-sse2avx): Likewise. + (have-mfma4): Likewise. + (config-cflags-novzeroupper): Likewise. + * configure: Regenerated. + * sysdeps/i386/configure: Likewise. + * sysdeps/mach/configure: Likewise. + * sysdeps/sparc/configure: Likewise. + * sysdeps/x86_64/configure: Likewise. + +2013-03-20 Roland McGrath + + [BZ #14812] + * locale/programs/localedef.c (options): Put N_ translation marker + on argument names, not just descriptions. + +2013-03-20 Marcus Shawcroft + + * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir). + +2013-03-20 Ondƙej BĂ­lka + + [BZ #14176] + * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur. + +2013-03-19 Roland McGrath + + * sysdeps/posix/libc_fatal.c: Include . + [!WRITEV_FOR_FATAL] (writev_for_fatal): New function. + [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that. + [!BEFORE_ABORT] (before_abort): New function. + [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that. + * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes. + (writev_for_fatal): New function. + (WRITEV_FOR_FATAL): New macro; call that. + (backtrace_and_maps): New function. + (BEFORE_ABORT): New macro; call that. + (struct str_list): Type removed. + (__libc_message, __libc_fatal): Functions removed. + Include instead. + +2013-03-19 Joseph Myers + + * math/k_casinhf.c (__kernel_casinhf): Consistently use float + constants. + * math/k_casinhl.c (__kernel_casinhl): Consistently use long + double constants. + +2013-03-19 Andreas Schwab + + * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x. + * sysdeps/gnu/configure: Regenerate. + + * configure.in: Substitute libc_cv_rtlddir. + * configure: Regenerate. + * config.make.in (rtlddir): Set from libc_cv_rtlddir. + * Makeconfig (rtlddir, inst_rtlddir): New variables. + (rtld-LDFLAGS): Use them with $(rtld-installed-name). + * elf/Makefile (install-others, CFLAGS-interp.c) + (ldso_install, common-ldd-rewrite): Likewise. + ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from + $(inst_slibdir)/$(rtld-installed-name). + * scripts/rellns-sh: Add -p option. + * Makerules (make-shlib-link): Use rellns-sh to get relative name + for source. + +2013-03-19 Siddhesh Poyarekar + + * manual/nptl.texi: Renamed to ... + * manual/threads.texi: ... this. + * manual/Makefile (chapters): Update. + +2013-03-18 Roland McGrath + + [BZ #14812] + * argp/argp-parse.c (argp_default_options): Put N_ translation marker + on argument names, not just descriptions. + * malloc/memusagestat.c (options): Likewise. + * nss/getent.c (options): Likewise. + +2013-03-18 Benno Schulenberg + + [BZ #14812] + * iconv/iconv_prog.c (options): Put N_ translation marker + on argument names, not just descriptions. + * iconv/iconvconfig.c (options): Likewise. + +2013-03-18 Ondrej Bilka + + * sysdeps/x86_64/strlen.S: Replace with new SSE2 based + implementation which is faster on all x86_64 architectures. + Tested on AMD, Intel Nehalem, SNB, IVB. + * sysdeps/x86_64/strnlen.S: Likewise. + + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): + Remove all multiarch strlen and strnlen versions. + * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update. + Remove strlen and strnlen related parts. + + * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update. + Inline strlen part. + * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise. + + * sysdeps/x86_64/multiarch/strlen.S: Remove. + * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise. + * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise. + * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise. + * sysdeps/x86_64/multiarch/strnlen.S: Likewise. + * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise. + +2013-03-17 Carlos O'Donell + + * manual/memory.texi (Malloc Tunable Parameters): + Sort parameters alphabetically. Add comments for missing entries. + +2013-03-17 David S. Miller + + * sysdeps/sparc/fpu/libm-test-ulps: Update. + +2013-03-16 Joseph Myers + + [BZ #15283] + * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test + for arguments at most half maximum finite value. + * math/libm-test.inc (j0_test): Add more tests. + (j1_test): Likewise. + (y0_test): Likewise. + (y1_test): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + [BZ #14155] + * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute + 1 / x and functions P and Q for arguments above 0x1p256L. + (__ieee754_y0l): Likewise. + * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise. + (__ieee754_y1l): Likewise. + * math/libm-test.inc (j0_test): Do not allow spurious underflows. + (j1_test): Likewise. + (y0_test): Likewise. + (y1_test): Likewise. + +2013-03-16 Thomas Schwinge + + * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var + variable. + +2013-03-15 Roland McGrath + + * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ. + (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be + zero since it's initialized to EXEC_PAGESIZE. + + * sysdeps/unix/sysv/linux/ldsodefs.h + (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ... + * sysdeps/generic/ldsodefs.h: ... here. + +2013-03-15 Thomas Schwinge + + * math/libm-test.inc (ldexp_test): Add missing START/END markers. + + * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to + math/test-snan.c. + * math/test-snan.c: Renamed from + sysdeps/powerpc/fpu/test-powerpc-snan.c. + * math/Makefile (tests): Add test-snan. + * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add + test-powerpc-snan. + + * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with + SUFFIX. Initialize qNaN_var with __builtin_nan family of + functions. + (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with + __builtin_nan family of functions. + * math/libm-test.inc (initialize): Initialize qnan_value with + __builtin_nan family of functions. + * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl): + Remove variables. + (init_signaling_nan, snan_float, snan_double, snan_ldouble): + Remove functions. + (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static + storage class. Initialize qNaN_var and sNaN_var with + __builtin_nan and __builtin_nans families of functions, + respectively. + + * math/libm-test.inc (acosh_test): Also test with qNaN input. + (sqrt_test): Remove duplicate test with qNaN input. + (lrint_test, llrint_test, lround_test, llround_test, rint_test) + (round_test, signbit_test, significand_test): Note missing +/-Inf + as well as qNaN tests. + + * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to + qNaN_var. Fix a few strings, too. + * math/libm-test.inc (nan_value): Rename to qnan_value. + * math/gen-libm-test.pl (%beautify): Adjust to that. + * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN. + * math/test-misc.c (main): Likewise. + * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename + to __qnan_bytes, and __qnan_union, respectively. + * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union): + Likewise. + * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval, + and lqnanval, respectively. + * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN. + * sysdeps/powerpc/fpu/fenv_libc.h: Likewise. + * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise, + and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var. + + * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test. + * math/test-misc.c (main) [__x86_64__]: Enable test for long + doubles. + + * math/test-misc.c (main): Fix copy'n'pastos. + * misc/tst-efgcvt.c (special): Likewise. + + * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal): + Remove declarations. + +2013-03-15 Siddhesh Poyarekar + + * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove. + * sysdeps/ieee754/dbl-64/mpa.c: Revert last change. + * sysdeps/ieee754/dbl-64/mpa.h: Revert last change. + * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove. + +2013-03-15 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add + macro to return vdso values correctly in IFUNC implementations. + * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday): + Optimization by using IFUNC. + +2013-03-15 Siddhesh Poyarekar + Richard Henderson + Tulio Magno Quites Machado Filho + + * Makefile.in (bench): New target. + * NEWS: Mention the benchmark framework. + * Rules (bench): Likewise. + (binaries-bench): Generate binaries for functions to + benchmark. + * benchtests/Makefile: New makefile for benchmark tests. + * benchtests/bench-skeleton.c: New skeleton file for benchmark + programs. + * benchtests/exp-inputs: New input file for EXP function. + * benchtests/pow-inputs: New input file for POW function. + * scripts/bench.pl: New script to generate source files for + benchmark programs. + +2013-03-15 Siddhesh Poyarekar + + * sysdeps/ieee754/dbl-64/mpa-arch.h: New file. + * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store + computations on mantissa. Use macros for rounding and + division. + (denorm): Likewise. + (__dbl_mp): Likewise. + (add_magnitudes): Likewise. + (sub_magnitudes): Likewise. + (__mul): Likewise. + (__sqr): Likewise. + * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define + powers of two in terms of TWOPOW macro. + (mp_no): Make type of mantissa as MANTISSA_T. + [!RADIXI]: Define RADIXI. + [!TWO52]: Define TWO52. + * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file. + + * manual/nptl.texi (cindex): Modify threads to pthreads. + +2013-03-15 Joseph Myers + + * sysdeps/x86_64/preconfigure: Regenerated. + +2013-03-14 Joseph Myers + + [BZ #14155] + * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments + 0x1p28 and above. + (qzero): Return -0.125 / x for arguments 0x1p28 and above. + * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments + 0x1p28 and above. + (qzero): Return 0.375 / x for arguments 0x1p28 and above. + * math/libm-test.inc (j0_test): Do not allow one spurious + underflow exception. + (y1_test): Likewise. + +2013-03-14 Siddhesh Poyarekar + + * manual/Makefile (chapters): Add nptl. + * manual/debug.texi (Debugging Support): Add link to Threads + chapter. + * manual/nptl.texi: New file. + + * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting. + +2013-03-14 Petr Baudis + + * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test + for non-NULL pointer before the memory validity test. Pointed + out by Holger Brunck . + +2013-03-13 Andreas Schwab + + * extra-lib.mk (extra-objs): Add static-only-routines as .oS + instead of .os. + +2013-03-13 Joseph Myers + + * timezone/zic.c: Update from tzcode 2013b. + +2013-03-12 Carlos O'Donell + + * manual/install.texi (Configuring and compiling): + Mention i686 and i586. + * INSTALL: Regenerate. + +2013-03-12 Roland McGrath + + * sysdeps/init_array/elf-init.c: New file. + * csu/elf-init.c + (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this. + (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this. + + * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define + __gmon_start__ as global, but as static with a .preinit_array pointer. + * sysdeps/init_array/gmon-start.c: New file. Use that. + * sysdeps/init_array/crti.S: New file, empty except for comments. + * sysdeps/init_array/crtn.S: Likewise. + +2013-03-11 Ondƙej BĂ­lka + + * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for + definining bcopy. + * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): + Remove Prefer_SSE_for_memop. + * sysdeps/x86_64/multiarch/init-arch.h: Remove + bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop, + HAS_PREFER_SSE_FOR_MEMOP. + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove + memset-x86-64. + * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list): + Remove bzero, memset ifunc support. + * sysdeps/x86_64/multiarch/bzero.S: Remove file. + * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise. + * sysdeps/x86_64/multiarch/memset.S: Likewise. + * sysdeps/x86_64/multiarch/memset_chk.S: Likewise. + +2013-03-11 Andreas Schwab + + [BZ #15234] + * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used + by SHLIB_COMPAT. + * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist + (GLIBC_2.16): Remove pthread_atfork. + +2013-03-08 Paul Pluzhnikov + + * posix/Makefile (testcases.h): Set LC_ALL=C before sed. + (ptestcases.h): Likewise. + +2013-03-08 Roland McGrath + + * Makeconfig ($(common-objpfx)config.status): Depend on + sysdeps/*/preconfigure{,.in} too. + +2013-03-08 Joseph Myers + + * malloc/malloc.h (__malloc_ptr_t): Remove macro. + (__free_hook): Use void * instead of __malloc_ptr_t. + (__malloc_hook): Likewise. + (__realloc_hook): Likewise. + (__memalign_hook): Likewise. + (__after_morecore_hook): Likewise. + * malloc/arena.c (save_malloc_hook): Likewise. + (save_free_hook): Likewise. + * malloc/hooks.c (malloc_hook_ini): Likewise. + (realloc_hook_ini): Likewise. + (memalign_hook_ini): Likewise. + * malloc/malloc.c (malloc_hook_ini): Likewise. + (realloc_hook_ini): Likewise. + (memalign_hook_ini): Likewise. + (__free_hook): Likewise. + (__malloc_hook): Likewise. + (__realloc_hook): Likewise. + (__memalign_hook): Likewise. + (__libc_malloc): Likewise. + (__libc_free): Likewise. + (__libc_realloc): Likewise. + (__libc_memalign): Likewise. + (__libc_valloc): Likewise. + (__libc_pvalloc): Likewise. + (__libc_calloc): Likewise. + (__posix_memalign): Likewise. + * malloc/morecore.c (__sbrk): Likewise. + (__default_morecore): Likewise. + + * malloc/morecore.c (__default_morecore): Use ISO C prototype. + + * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro. + * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of + __malloc_ptrdiff_t. + + * malloc/malloc.h (__malloc_size_t): Remove macro. + * malloc/mcheck.c (old_malloc_hook): Use size_t instead of + __malloc_size_t. + (old_memalign_hook): Likewise. + (old_realloc_hook): Likewise. + (struct hdr): Likewise. + (flood): Likewise. + (mallochook): Likewise. + (memalignhook): Likewise. + (reallochook): Likewise. + * malloc/mtrace.c (tr_old_malloc_hook): Likewise. + (tr_old_realloc_hook): Likewise. + (tr_old_memalign_hook): Likewise. + (tr_mallochook): Likewise. + (tr_reallochook): Likewise. + (tr_memalignhook): Likewise. + +2013-03-08 Adhemerval Zanella + + * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to + default_ldbl_pack and using as default implementation. + (ldbl_unpack): Rename to default_ldbl_unpack and using as default + implementation. + * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove + redundant definition. + (ldbl_insert_mantissa): Likewise. + (ldbl_canonicalize): Likewise. + (ldbl_nearbyint): Likewise. + (ldbl_pack): Rename to ldbl_pack_ppc. + (ldbl_unpack): Rename to ldbl_unpack_ppc. + * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file. + * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm. + +2013-03-08 Siddhesh Poyarekar + + * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file... + * sysdeps/powerpc/power4/fpu/mpa.c: ... here. + * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file... + * sysdeps/powerpc/power4/fpu/Makefile: ... here. + * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file. + * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file. + * sysdeps/powerpc/powerpc32/power4/Implies: New file. + * sysdeps/powerpc/powerpc64/power4/Implies: New file. + +2013-03-07 Andreas Jaeger + + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add + bits/mman-linux.h. + +2013-03-07 Siddhesh Poyarekar + + * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]: + Include mpa.h and declare __MPEXP. + [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL. + * sysdeps/powerpc/powerpc32/power4/fpu/Makefile + (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP. + * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove. + * sysdeps/powerpc/powerpc64/power4/fpu/Makefile + (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP. + * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove. + + * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP] + (__slowpow): Use long double EXPL and LOGL functions to + compute POW. + * sysdeps/powerpc/powerpc32/power4/fpu/Makefile + (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP. + * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove. + * sysdeps/powerpc/powerpc64/power4/fpu/Makefile + (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP. + * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove. + + * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use + intermediate variable to calculate exponent. + (__sqr): Likewise. + * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): + Likewise. + (__sqr): Likewise. + + * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul. + [!NO__SQR]: Define __sqr. + * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL + and NO__SQR. Remove all code except __mul and __sqr. Include + sysdeps/ieee754/dbl-64/mpa.c. + * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise. + + [BZ #12723] + * posix/Makefile (tests): Add tst-pathconf. + * posix/tst-pathconf.c: New test case. + * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove + _PC_PIPE_BUF. + * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise. + +2013-03-06 Patsy Franklin + + * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR. + +2013-03-06 Andreas Jaeger + + * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow + definition via __MAP_ANONYMOUS. + + * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove, + it's not part of Linux headers. + + * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define. + (MAP_HUGE_MASK): Define. + + * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL): + Define. + (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL. + * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL): + Define. + (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL. + * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL): + Define. + (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL. + * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL): + Define. + (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL. + + * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise. + * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define. + * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise. + * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise. + * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define. + + * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max): + Handle f2fs. + + * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags): + Handle f2fs and efivarfs. + + * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle + f2fs. + + * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add. + (EFIVARFS_MAGIC): Add. + (F2FS_LINK_MAX): Add. + +2013-03-06 Paul Pluzhnikov + + * stdio-common/vfprintf.c: Replace __builtin_expect with + __glibc_unlikely. + +2013-03-06 Joseph Myers + + [BZ #13550] + * sysdeps/generic/bp-sym.h: Remove file. + * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise. + * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include + and . + (__longjmp): Don't use BP_SYM. + * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include + and . + (memcpy): Don't use BP_SYM. + * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include + and . + (memcpy): Don't use BP_SYM. + * sysdeps/powerpc/powerpc64/memcpy.S: Don't include and + . + (memcpy): Don't use BP_SYM. + * sysdeps/powerpc/powerpc64/memset.S: Don't include and + . + (memset): Don't use BP_SYM. + (memset) [__BOUNDED_POINTERS__]: Remove conditional code. + (memset) [!__BOUNDED_POINTERS__]: Make code unconditional. + (__bzero): Don't use BP_SYM. + (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code. + (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional. + * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include + and . + (memcmp): Don't use BP_SYM. Remove comment about bounded + pointers. + * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include + and . + (memcpy): Don't use BP_SYM. + * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include + and . + (memset): Don't use BP_SYM. + (memset) [__BOUNDED_POINTERS__]: Remove conditional code. + (memset) [!__BOUNDED_POINTERS__]: Make code unconditional. + (__bzero): Don't use BP_SYM. + (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code. + (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional. + * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include + and . + (strncmp): Don't use BP_SYM. Remove comment about bounded + pointers. + * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include + and . + (memcpy): Don't use BP_SYM. + * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include + and . + (memset): Don't use BP_SYM. + (memset) [__BOUNDED_POINTERS__]: Remove conditional code. + (memset) [!__BOUNDED_POINTERS__]: Make code unconditional. + (__bzero): Don't use BP_SYM. + (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code. + (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional. + * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include + and . + (__memchr): Don't use BP_SYM. + * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include + and . + (memcmp): Don't use BP_SYM. Remove comment about bounded + pointers. + * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include + and . + (memcpy): Don't use BP_SYM. + * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include + and . + (__mempcpy): Don't use BP_SYM. + * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include + and . + (__memrchr): Don't use BP_SYM. + * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include + and . + (memset): Don't use BP_SYM. + (__bzero): Likewise. + * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include + and . + (__rawmemchr): Don't use BP_SYM. + * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include + and . + (__STRCMP): Don't use BP_SYM. + * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include + and . + (strchr): Don't use BP_SYM. + * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include + and . + (__strchrnul): Don't use BP_SYM. + * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include + and . + (strlen): Don't use BP_SYM. + * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include + and . + (strncmp): Don't use BP_SYM. Remove comment about bounded + pointers. + * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include + and . + (__strnlen): Don't use BP_SYM. + * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include + and . + (__GI__setjmp): Don't use BP_SYM. + (_setjmp): Likewise. + (__sigsetjmp): Likewise. + * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h". + (L(start_addresses)): Don't use BP_SYM. + (_start): Likewise. + * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include and + . + (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW, + STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE. + (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code. + (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional. + * sysdeps/powerpc/powerpc64/strchr.S: Don't include and + . + (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS, + CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment + about bounded pointers. + (strchr) [__BOUNDED_POINTERS__]: Remove conditional code. + (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional. + * sysdeps/powerpc/powerpc64/strcmp.S: Don't include and + . + (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment + about bounded pointers. Remove GKM FIXME comments. + (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code. + * sysdeps/powerpc/powerpc64/strcpy.S: Don't include and + . + (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and + STORE_RETURN_BOUNDS. Remove comment about bounded pointers. + Remove GKM FIXME comments. + (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code. + (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional. + * sysdeps/powerpc/powerpc64/strlen.S: Don't include and + . + (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment + about bounded pointers. Remove GKM FIXME comment. + * sysdeps/powerpc/powerpc64/strncmp.S: Don't include + and . + (strncmp): Don't use BP_SYM. Remove comment about bounded + pointers. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include + and . + (__brk): Don't use BP_SYM and DISCARD_BOUNDS. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include + and . + (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME + comment. + +2013-03-05 Paul Pluzhnikov + + * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't + call free(NULL). + +2013-03-05 David S. Miller + + * po/es.po: Update from translation team. + +2013-03-05 Andreas Jaeger + + * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include + . + (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value + is fine. + * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of + to end of file. + (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value + is fine. + * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of + to end of file. + (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value + is fine. + * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of + to end of file. + + * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT] + (MCL_CURRENT, MCL_FUTURE): Define here. + +2013-03-05 Andreas Krebbel + + [BZ #15232] + * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use + attribute_hidden. + * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise. + +2013-03-05 Andreas Krebbel + + * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the + fourth parameter needed for rt_sigprocmask syscall. + * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: + * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise. + * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8. + +2013-03-04 Joseph Myers + + [BZ #13550] + * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove + comment about bounded pointers. + * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise. + * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise. + +2013-03-04 Andreas Jaeger + + * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux + common definitions. + + * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines + provided by bits/mman-linux.h and include . + * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise. + +2013-03-04 Adhemerval Zanella + + [BZ #15055] + * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use + __ieee754_sqrl instead of __sqrl. + +2013-03-01 Joseph Myers + + * sysdeps/powerpc/fpu/fpu_control.h: Move to ... + * sysdeps/powerpc/fpu_control.h: ... here. + * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ... + * sysdeps/powerpc/bits/fenvinline.h: ... here. + * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ... + * sysdeps/powerpc/bits/mathinline.h: ... here. + +2013-03-01 Roland McGrath + + * elf/dl-hwcaps.c (_dl_important_hwcaps): + Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals + to just [NEED_DL_SYSINFO_DSO]. + * elf/dl-support.c: Likewise. + * elf/dl-sysdep.c (_dl_sysdep_start): Likewise. + * elf/rtld.c (dl_main): Likewise. + * elf/setup-vdso.h (setup_vdso): Likewise. + * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise. + * sysdeps/unix/sysv/linux/dl-sysdep.c + (_dl_discover_osversion): Likewise. + +2013-03-01 Carlos O'Donell + + * csu/libc-start.c (__pthread_initialize_minimal): Revert last change. + * csu/libc-tls.c (__pthread_initialize_minimal): Likewise. + +2013-03-01 Siddhesh Poyarekar + + * NEWS: Mention libm performance improvements and non-x86 PI + futex support. + + * csu/libc-start.c (__pthread_initialize_minimal): Change + function arguments. + * csu/libc-tls.c (__pthread_initialize_minimal): Likewise. + +2013-02-28 Joseph Myers + + [BZ #13550] + * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file. + * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include + and . + (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT. + * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include + and . + (memcpy): Don't use BP_SYM. + * sysdeps/powerpc/powerpc32/add_n.S: Don't include and + . + (__mpn_add_n): Don't use BP_SYM. + (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code. + * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include + and . + (__mpn_addmul_1): Don't use BP_SYM. + (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code. + * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include + . + (_setjmp): Don't use BP_SYM. + (__novmx_setjmp): Likewise. + (__GI__setjmp): Likewise. + (__vmx_setjmp): Likewise. + * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include + . + * sysdeps/powerpc/powerpc32/bzero.S: Don't include . + (__bzero): Don't use BP_SYM. + (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code. + (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional. + * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include + and . + (memcpy): Don't use BP_SYM. + * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include + and . + (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT. + * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include + and . + (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT. + * sysdeps/powerpc/powerpc32/lshift.S: Don't include and + . + (__mpn_lshift): Don't use BP_SYM. + (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code. + * sysdeps/powerpc/powerpc32/memset.S: Don't include and + . + (memset): Don't use BP_SYM. + (memset) [__BOUNDED_POINTERS__]: Remove conditional code. + (memset) [!__BOUNDED_POINTERS__]: Make code unconditional. + * sysdeps/powerpc/powerpc32/mul_1.S: Don't include and + . + (__mpn_mul_1): Don't use BP_SYM. + (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code. + * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include + and . + (memcmp): Don't use BP_SYM. + * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include + and . + (memcpy): Don't use BP_SYM. + * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include + and . + (memset): Don't use BP_SYM. + * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include + and . + (strncmp): Don't use BP_SYM. + * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include + and . + (memcpy): Don't use BP_SYM. + * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include + and . + (memset): Don't use BP_SYM. + * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include + and . + (__memchr): Don't use BP_SYM. + * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include + and . + (memcmp): Don't use BP_SYM. + * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include + and . + (memcpy): Don't use BP_SYM. + * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include + and . + (__mempcpy): Don't use BP_SYM. + * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include + and . + (__memrchr): Don't use BP_SYM. + * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include + and . + (memset): Don't use BP_SYM. + * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include + and . + (__rawmemchr): Don't use BP_SYM. + * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include + and . + (__STRCMP): Don't use BP_SYM. + * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include + and . + (strchr): Don't use BP_SYM. + * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include + and . + (__strchrnul): Don't use BP_SYM. + * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include + and . + (strlen): Don't use BP_SYM. + * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include + and . + (strncmp): Don't use BP_SYM. + * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include + and . + (__strnlen): Don't use BP_SYM. + * sysdeps/powerpc/powerpc32/rshift.S: Don't include and + . + (__mpn_rshift): Don't use BP_SYM. + (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code. + * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include + and . + (__sigsetjmp): Don't use BP_SYM. + * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h". + (L(start_addresses)): Don't use BP_SYM. + (_start): Likewise. + * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include and + . + (__stpcpy): Don't use BP_SYM and macros from bp-asm.h. + (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code. + (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional. + * sysdeps/powerpc/powerpc32/strchr.S: Don't include and + . + (strchr): Don't use BP_SYM.h and macros from bp-asm.h. + (strchr) [__BOUNDED_POINTERS__]: Remove conditional code. + (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional. + * sysdeps/powerpc/powerpc32/strcmp.S: Don't include and + . + (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME + comments. + (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code. + * sysdeps/powerpc/powerpc32/strcpy.S: Don't include and + . + (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM + FIXME comments. + (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code. + (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional. + * sysdeps/powerpc/powerpc32/strlen.S: Don't include and + . + (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME + comment. + * sysdeps/powerpc/powerpc32/strncmp.S: Don't include + and . + (strncmp): Don't use BP_SYM, + * sysdeps/powerpc/powerpc32/sub_n.S: Don't include and + . + (__mpn_sub_n): Don't use BP_SYM. + (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code. + * sysdeps/powerpc/powerpc32/submul_1.S: Don't include + and . + (__mpn_submul_1): Don't use BP_SYM. + (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include + and . + (__brk): Don't use BP_SYM and DISCARD_BOUNDS. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include + and . + (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME + comment. + +2013-02-28 Siddhesh Poyarekar + + * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes): + Use ZK to minimize writes to Z. + (sub_magnitudes): Simplify code a bit. + * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes): + Use ZK to minimize writes to Z. + (sub_magnitudes): Simplify code a bit. + +2013-02-27 Roland McGrath + + * csu/gmon-start.c: Add special exception to license text. + +2013-02-27 Richard Henderson + + * scripts/config.guess: Update from config.git. + * scripts/config.sub: Likewise. + +2013-02-27 Siddhesh Poyarekar + + * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat. + + * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat. + + * sysdeps/ieee754/dbl-64/mpatan.c: Reformat. + + * sysdeps/ieee754/dbl-64/mptan.c: Reformat. + + * sysdeps/ieee754/dbl-64/mplog.c: Reformat. + +2013-02-26 Roland McGrath + + * Makeconfig (%.v.i, %.v): Move these pattern rules outside of + [$(build-shared = yes]. + +2013-02-26 Siddhesh Poyarekar + + * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h. + (__mul): Reduce iterations for calculating mantissa. + + * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and + MPTWO. + (__mpranred): Likewise. + + [BZ #15160] + * malloc/memusagestat.c (main): Draw graphs for heap and stack + only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero. + +2013-02-26 Paul Eggert + + * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]: + Define __attribute__. + +2013-02-26 Siddhesh Poyarekar + + * locale/elem-hash.h (elem_hash): Mark as pure and possibly + unused. + * posix/regex_internal.h (__attribute): Remove. + [!_LIBC && __i386__]: Use __attribute__ instead of __attribute. + (re_string_context_at): Likewise. + (bitset_not): Use __attribute__ and mark function as possibly + unused. + (bitset_merge): Likewise. + (bitset_mask): Likewise. + (re_string_char_size_at): Likewise. + (re_string_wchar_at): Likewise. + (re_string_elem_size_at): Likewise. + +2013-02-25 Siddhesh Poyarekar + + * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented + code. + (cc32): Likewise. + + * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int. + (__acr): Likewise. + (__cpy): Likewise. + (norm): Likewise. + (denorm): Likewise. + (__dbl_mp): Likewise. + (add_magnitudes): Likewise. + (sub_magnitudes): Likewise. + (__mul): Likewise. + (__inv): Likewise. + + * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding + style. + + * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding + style. + + * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented + code. + + * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync + up changes with default code. + * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl): + Likewise. + +2013-02-24 Allan McRae + + * manual/socket.texi (The Internet Namespace): Order menu items + to match that in the file. + + * manual/libc-texinfo.sh: Use @detailmenu around the detailed + node listing of the info page menu. + +2013-02-21 Joseph Myers + + [BZ #13550] + * sysdeps/i386/bp-asm.h: Remove file. + * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (S1): Likewise. + (S2): Likewise. + (SIZE): Likewise. + (__mpn_add_n): Do not use BP_SYM + * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and + "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (S1): Likewise. + (SIZE): Likewise. + (__mpn_addmul_1): Do not use BP_SYM + * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and + "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (SIGMSK): Likewise. + (_setjmp): Likewise. Do not use BP_SYM. + * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and + "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (SIGMSK): Likewise. + (setjmp): Likewise. Do not use BP_SYM. + * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and + "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (__frexp): Do not use BP_SYM. + (frexp): Likewise. + * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and + "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (__frexpf): Do not use BP_SYM. + (frexpf): Likewise. + * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and + "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (__frexpl): Do not use BP_SYM. + (frexpl): Likewise. + * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and + "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (__remquo): Do not use BP_SYM. + (remquo): Likewise. + * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and + "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (__remquof): Do not use BP_SYM. + (remquof): Likewise. + * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and + "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (__remquol): Do not use BP_SYM. + (remquol): Likewise. + * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and + "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (DEST): Likewise. + (SRC): Likewise. + (strcat): Remove GKM FIXME comment. Do not use BP_SYM. + * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and + "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (strlen): Do not use BP_SYM. + * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and + "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (S1): Likewise. + (S2): Likewise. + (SIZE): Likewise. + (__mpn_add_n): Do not use BP_SYM. + * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and + "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (S1): Likewise. + (SIZE): Likewise. + (__mpn_addmul_1): Do not use BP_SYM. + * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in + weak_alias. + (bzero): Likewise. + * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and + "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (S): Likewise. + (SIZE): Likewise. + (__mpn_lshift): Do not use BP_SYM. + * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and + "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (DEST): Likewise. + (SRC): Likewise. + (LEN): Likewise. + (memcpy): Likewise. Do not use BP_SYM. + * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in + libc_hidden_def and weak_alias. + (mempcpy): Do not use BP_SYM in weak_alias. + * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and + "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (DEST): Likewise. + (LEN): Likewise. + [!BZERO_P] (CHR): Likewise. + (memset): Likewise. Do not use BP_SYM. + * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and + "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (S1): Likewise. + (SIZE): Likewise. + (__mpn_mul_1): Do not use BP_SYM. + * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and + "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (S): Likewise. + (SIZE): Likewise. + (__mpn_rshift): Do not use BP_SYM. + * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and + "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (STR): Likewise. + (CHR): Likewise. + (strchr): Likewise. Do not use BP_SYM. + (index): Do not use BP_SYM in weak_alias. + * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and + "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (DEST): Likewise. + (SRC): Likewise. + (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM. + * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and + "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (strlen): Do not use BP_SYM. + * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and + "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (S1): Likewise. + (S2): Likewise. + (SIZE): Likewise. + (__mpn_sub_n): Do not use BP_SYM. + * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and + "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (S1): Likewise. + (SIZE): Likewise. + (__mpn_submul_1): Do not use BP_SYM. + * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and + "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (S1): Likewise. + (S2): Likewise. + (SIZE): Likewise. + (__mpn_add_n): Do not use BP_SYM. + * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in + weak_alias. + (bzero): Likewise. + * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and + "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (BLK2): Likewise. + (LEN): Likewise. + (memcmp): Do not use BP_SYM. + (bcmp): Do not use BP_SYM in weak_alias. + * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and + "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (DEST): Likewise. + (SRC): Likewise. + (LEN): Likewise. + (memcpy): Likewise. Do not use BP_SYM. + * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and + "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (DEST): Likewise. + (SRC): Likewise. + (LEN): Likewise. + (memmove): Likewise. Do not use BP_SYM. + * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and + "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (DEST): Likewise. + (SRC): Likewise. + (LEN): Likewise. + (__mempcpy): Likewise. Do not use BP_SYM. + (mempcpy): Do not use BP_SYM in weak_alias. + * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and + "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (DEST): Likewise. + (LEN): Likewise. + [!BZERO_P] (CHR): Likewise. + (memset): Likewise. Do not use BP_SYM. + * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and + "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (STR2): Likewise. + (strcmp): Do not use BP_SYM. + * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and + "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (STR): Likewise. + (DELIM): Likewise. + [USE_AS_STRTOK_R] (SAVE): Likewise. + (FUNCTION): Likewise. Do not use BP_SYM. + * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in + aliases. + (strtok_r): Likewise. + (__GI___strtok_r): Likewise. + * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (S): Likewise. + (SIZE): Likewise. + (__mpn_lshift): Do not use BP_SYM. + * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (STR): Likewise. + (CHR): Likewise. + (__memchr): Do not use BP_SYM. + (memchr): Do not use BP_SYM in weak_alias. + * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (BLK2): Likewise. + (LEN): Likewise. + (memcmp): Do not use BP_SYM. + (bcmp): Do not use BP_SYM in weak_alias. + * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (S1): Likewise. + (SIZE): Likewise. + (__mpn_mul_1): Do not use BP_SYM. + * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and + "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (STR): Likewise. + (CHR): Likewise. + (__rawmemchr): Do not use BP_SYM. + (rawmemchr): Do not use BP_SYM in weak_alias. + * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (S): Likewise. + (SIZE): Likewise. + (__mpn_rshift): Do not use BP_SYM. + * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (SIGMSK): Likewise. + (__sigsetjmp): Likewise. Do not use BP_SYM. + * sysdeps/i386/start.S: Do not include "bp-sym.h". + (_start): Do not use BP_SYM. + * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (DEST): Likewise. + (SRC): Likewise. + (__stpcpy): Likewise. Do not use BP_SYM. + (stpcpy): Do not use BP_SYM in weak_alias. + * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and + "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (DEST): Likewise. + (SRC): Likewise. + (LEN): Likewise. + (__stpncpy): Likewise. Do not use BP_SYM. + (stpncpy): Do not use BP_SYM in weak_alias. + * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (STR): Likewise. + (CHR): Likewise. + (strchr): Likewise. Do not use BP_SYM. + * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and + "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (STR): Likewise. + (CHR): Likewise. + (__strchrnul): Likewise. Do not use BP_SYM. + (strchrnul): Do not use BP_SYM in weak_alias. + * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and + "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (STOP): Likewise. + (strcspn): Do not use BP_SYM. + * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and + "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (STR): Likewise. + (STOP): Likewise. + (strpbrk): Likewise. Do not use BP_SYM. + * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and + "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (STR): Likewise. + (CHR): Likewise. + (strrchr): Likewise. Do not use BP_SYM. + * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (SKIP): Likewise. + (strspn): Do not use BP_SYM. + * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (STR): Likewise. + (DELIM): Likewise. + (SAVE): Likewise. + (FUNCTION): Likewise. Do not use BP_SYM. + * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in + aliases. + (strtok_r): Likewise. + (__GI___strtok_r): Likewise. + * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (S1): Likewise. + (S2): Likewise. + (SIZE): Likewise. + (__mpn_sub_n): Do not use BP_SYM. + * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and + "bp-asm.h". + (PARMS): Do not use macros from bp-asm.h. + (S1): Likewise. + (SIZE): Likewise. + (__mpn_submul_1): Do not use BP_SYM. + * sysdeps/unix/i386/sysdep.S: Do not include and + . + * sysdeps/unix/sysv/linux/i386/clone.S: Do not include + and . + (PARMS): Do not use macros from bp-asm.h. + (FLAGS): Likewise. + (PTID): Likewise. + (TLS): Likewise. + (CTID): Likewise. + (__clone): Do not use BP_SYM. + (clone): Do not use BP_SYM in weak_alias. + * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include + and . + (PARMS): Do not use macros from bp-asm.h. + (LEN): Likewise. + (__mmap64): Do not use BP_SYM. + (mmap64): Do not use BP_SYM in weak_alias. + * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include + and . + (PARMS): Do not use macros from bp-asm.h. + (__posix_fadvise64_l64): Do not use BP_SYM. + * sysdeps/unix/sysv/linux/i386/semtimedop.S + (PARMS): Do not use macros from bp-asm.h. + (NSOPS): Likewise. + (semtimedop): Do not use BP_SYM. + * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include + and . + +2013-02-21 Allan McRae + + * manual/message.texi (Charset conversion in gettext): + Move @end statement to beginning of line. + +2013-02-21 Siddhesh Poyarekar + + * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as + static. + * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv): + Likewise. + + * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace. + (denorm): Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise. + * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise. + +2013-02-21 Andreas Krebbel + + * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a + tail-call to the resolved function if pltexit isn't needed. + +2013-02-21 Siddhesh Poyarekar + + * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X + or Y being zero as being unlikely. + * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): + Likewise. + +2013-02-20 Carlos O'Donell + + * manual/nss.texi (System Databases and Name Service Switch): + Remove frobnicate @pxref. + +2013-02-20 Thomas Schwinge + + * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change + __attribute__ ((unused)) to __attribute__ ((__unused__)). + +2013-02-20 Petr Machata + + * elf/elf.h (R_ARM_TARGET1): New macro. + (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise. + (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise. + (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise. + (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise. + (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise. + (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise. + (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise. + (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise. + (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise. + (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise. + (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise. + (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise. + (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise. + (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise. + (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise. + (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise. + (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise. + (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise. + (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise. + (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise. + (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise. + (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise. + (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise. + (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise. + (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise. + (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise. + (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise. + (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise. + (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise. + (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise. + (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise. + (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise. + (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise. + (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise. + (R_ARM_THM_GOT_BREL12): Likewise. + (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro. + (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise. + (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro. + (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise. + (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise. + (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise. + (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise. + (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise. + (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace. + +2013-02-20 Thomas Schwinge + + * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change + __attribute_used__ to __attribute__ ((unused)). + +2013-02-20 Siddhesh Poyarekar + + * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from + powerpc mpa.c. + * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix + comment formatting. + * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise. + +2013-02-19 Joseph Myers + + [BZ #13550] + * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED): + Remove macro. + (ENTER): Remove both macro definitions. + (LEAVE): Likewise. + (CHECK_BOUNDS_LOW): Likewise. + (CHECK_BOUNDS_HIGH): Likewise. + (CHECK_BOUNDS_BOTH): Likewise. + (CHECK_BOUNDS_BOTH_WIDE): Likewise. + (RETURN_BOUNDED_POINTER): Likewise. + (RETURN_NULL_BOUNDED_POINTER): Likewise. + (PUSH_ERRNO_LOCATION_RETURN): Likewise. + (POP_ERRNO_LOCATION_RETURN): Likewise. + * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros. + (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code. + * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed + macros. + (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code. + * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros. + * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise. + * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise. + * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise. + * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise. + * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise. + * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise. + * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise. + * sysdeps/i386/i486/strcat.S (strcat): Likewise. + * sysdeps/i386/i486/strlen.S (strlen): Likewise. + * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise. + (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code. + * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use + removed macros. + (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code. + * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed + macros. + (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code. + * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros. + * sysdeps/i386/i586/memset.S (memset): Likewise. + * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise. + (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code. + * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed + macros. + (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code. + * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros. + Change uses of L(2) to L(out). + * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros. + * sysdeps/i386/i586/strlen.S (strlen): Likewise. + * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise. + (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code. + * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use + removed macros. + (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code. + * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed + macros. + (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code. + * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER. + (RETURN): Do not use macro LEAVE. + * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros. + * sysdeps/i386/i686/memmove.S (memmove): Likewise. + * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise. + * sysdeps/i386/i686/memset.S (memset): Likewise. + * sysdeps/i386/i686/strcmp.S (strcmp): Likewise. + (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional. + (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code. + * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: + Likewise. + (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional. + (FUNCTION): Do not use removed macros. Combine labels L(1_1), + L(1_2) and L(1_3) into L(1). + (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code. + * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros. + (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code. + * sysdeps/i386/memchr.S (__memchr): Do not use removed macros. + (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code. + * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros. + * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise. + (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code. + * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed + macros. + * sysdeps/i386/rshift.S (__mpn_rshift): Likewise. + (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code. + * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros. + * sysdeps/i386/stpcpy.S (__stpcpy): Likewise. + * sysdeps/i386/stpncpy.S (__stpncpy): Likewise. + (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code. + * sysdeps/i386/strchr.S (strchr): Do not use removed macros. + * sysdeps/i386/strchrnul.S (__strchrnul): Likewise. + * sysdeps/i386/strcspn.S (strcspn): Likewise. + * sysdeps/i386/strpbrk.S (strpbrk): Likewise. + * sysdeps/i386/strrchr.S (strrchr): Likewise. + * sysdeps/i386/strspn.S (strspn): Likewise. + * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove + conditional code. + (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional. + (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise. + (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code. + (FUNCTION): Do not use removed macros. Combine labels L(1_2) and + L(1_3) into L(1_1). + * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros. + (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code. + * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed + macros. + (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code. + +2013-02-19 Jakub Jelinek + + * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like + macro. + +2013-02-19 Siddhesh Poyarekar + + * math/atest-exp.c (exp_mpn): Remove ROUND. + * math/atest-exp2.c (exp_mpn): Likewise. + * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK. + + * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year. + * stdlib/tst-tls-atexit-lib.c: Likewise. + * stdlib/tst-tls-atexit.c: Likewise. + +2013-02-18 Mike Frysinger + + * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__ + and __attribute_alloc_size__. + +2013-02-18 Mike Frysinger + + * include/programs/xmalloc.h: Change __attribute_alloc_size to + __attribute_alloc_size__. + * include/sys/cdefs.h (__attribute_alloc_size): Macro removed. + * misc/sys/cdefs.h (__attribute_alloc_size__): New macro. + +2013-02-18 Mike Frysinger + + * include/programs/xmalloc.h: New file. + * catgets/gencat.c: Include it. + (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them. + * elf/pldd.c: Likewise. + * iconv/iconv_charmap.c: Likewise. + * iconv/iconvconfig.c: Likewise. + * iconv/strtab.c: Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/localedef.h: Likewise. + * locale/programs/simple-hash.c: Likewise. + * nscd/nscd.h: Likewise. + * nss/makedb.c: Likewise. + * sysdeps/generic/ldconfig.h: Likewise. + +2013-02-18 Siddhesh Poyarekar + + * Versions.def: Add GLIBC_2.18. + * include/link.h (struct link_map): New member l_tls_dtor_count. + * include/stdlib.h (__cxa_thread_atexit_impl): Declare. + (__call_tls_dtors): Likewise. + * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add + __cxa_thread_atexit_impl. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: + Likewise. + * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: + Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: + Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: + Likewise. + * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl. + (tests): Add test case tst-tls-atexit. + (modules-names): Add shared library for tst-tls-atexit. + * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl. + (GLIBC_PRIVATE): Add __call_tls_dtors. + * stdlib/cxa_thread_atexit_impl.c: New file with helper function + for libstdc++. + * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors. + * stdlib/tst-tls-atexit.c: New test case. + * stdlib/tst-tls-atexit-lib.c: New test case. + + * misc/tst-pselect.c: Include stdlib.h for declaration of exit. + + * elf/Versions (ld): Add _dl_find_dso_for_object. + * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object. + * elf/dl-open.c (_dl_find_dso_for_object): New function. + (dl_open_worker): Use _dl_find_dso_for_object. + * elf/dl-sym.c (do_sym): Likewise. + * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object. + +2013-02-18 Andreas Krebbel + + * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve): + Syntactic changes only. + (_dl_runtime_profile): Do a tail-call to the resolved function. + +2013-02-17 Joseph Myers + + [BZ #13550] + * sysdeps/x86_64/bp-asm.h: Remove file. + * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include + and . + (__clone): Do not use BP_SYM. + * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include + and . + * sysdeps/unix/x86_64/sysdep.S: Likewise. + * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and + "bp-asm.h". + (_setjmp): Do not use BP_SYM. + * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and + "bp-asm.h". + (setjmp): Do not use BP_SYM. + * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in + libc_hidden_def. + (mempcpy): Do not use BP_SYM in weak_alias. + * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and + "bp-asm.h". + (strchr): Do not use BP_SYM. + * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and + "bp-asm.h". + * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM. + * sysdeps/x86_64/start.S: Do not include "bp-sym.h". + (_start): Do not use BP_SYM. + * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and + "bp-asm.h". + (strcat): Do not use BP_SYM. + * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and + "bp-asm.h". + (STRCMP): Do not use BP_SYM. + * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and + "bp-asm.h". + (STRCPY): Do not use BP_SYM. + * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and + "bp-asm.h". + * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and + "bp-asm.h". + (FUNCTION): Do not use BP_SYM. + * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in + weak_alias. + (__GI___strtok_r): Do not use BP_SYM in strong_alias. + +2013-02-17 Andreas Jaeger + + * time/Versions: Sort entries. + * string/Versions: Likewise. + * resolv/Versions: Likewise. + * posix/Versions: Likewise. + * iconv/Versions: Likewise. + * elf/Versions: Likewise. + * wcsmbs/Versions: Likewise. + +2013-02-15 Siddhesh Poyarekar + + * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in + loop termination condition. + + * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate + variable to calculate EZ. + (__sqr): Likewise. + + * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of + the lower precision input. + +2013-02-15 Joseph Myers + + [BZ #13550] + * Makeconfig [!+link-bounded] (+link-bounded): Remove variable. + [!link-extra-libs] (link-extra-libs-bounded): Likewise. + (run-via-rtld-prefix): Do not handle %-bp tests. + (test-via-rtld-prefix): Do not mention %-bp tests in comment. + (all-object-suffixes): Remove .ob. + (bppfx): Remove variable. + [$(build-bounded) = yes] (object-suffixes): Do not add .ob. + [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable. + [$(build-bounded) = yes] (CFLAGS-.ob): Likewise. + [$(build-bounded) = yes] (libtype.ob): Likewise. + * Makerules (elide-routines.ob): Remove variable. + (do-tests-clean): Do not handle *-bp.out. + (common-mostlyclean): Do not handle *-bp and *-bp.out. + * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable. + [$(build-bounded) = yes] (xtests-bp.out): Likewise. + (tests): Do not include $(tests-bp.out). + (xtests): Do not include $(xtests-bp.out). + [$(build-bounded) = yes] (binaries-bounded): Remove variable. + [$(build-bounded) = yes] ($(addprefix + $(objpfx),$(binaries-bounded))): Remove rule. + ($(objpfx)%-bp.out): Remove rule. + * config.make.in (build-bounded): Remove variable. + * crypt/Makefile [$(build-bounded) = yes] + ($(tests:%=$(objpfx)%-bp)): Remove dependency. + * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not + append to variable. + [$(build-bounded) = yes] (install-lib): Likewise. + [$(build-bounded) = yes] (generated): Likewise. + [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)): + Remove rule. + * intl/Makefile [$(build-bounded) = yes] + ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency. + * math/Makefile [$(build-bounded) = yes] + ($(tests:%=$(objpfx)%-bp): Likewise. + * misc/Makefile [$(build-bounded) = yes] + ($(objpfx)tst-tsearch-bp): Likewise. + * nptl/Makeconfig (bounded-thread-library): Remove variable. + * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)): + Remove dependency. + * string/Makefile (o-objects.ob): Remove variable. + * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes] + (CFLAGS-.ob): Remove variable. + [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise. + * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove + both definitions of variable. + * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes] + (ASFLAGS-.ob): Remove variable. + +2013-02-14 Joseph Myers + + [BZ #13550] + * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]: + Remove __BOUNDED_POINTERS__ from condition. + * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise. + * string/bits/string2.h [!__NO_STRING_INLINES && + !__BOUNDED_POINTERS__]: Likewise. + * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]: + Likewise. + * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]: + Remove conditional code. + * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES && + __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 && + !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from + condition. + + [BZ #13550] + * csu/libc-start.c: Do not include . + [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM. + * elf/dl-open.c: Do not include . + (_dl_sysdep_start): Do not use BP_SYM in weak_extern. + * math/fegetenv.c: Do not include . + (fegetenv): Do not use BP_SYM in versioned symbols. + * nptl/sysdeps/pthread/bits/libc-lockP.h + [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include + . + [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] + (__pthread_mutex_init): Do not use BP_SYM in weak_extern. + [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] + (__pthread_mutex_destroy): Likewise. + [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] + (__pthread_mutex_lock): Likewise. + [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] + (__pthread_mutex_trylock): Likewise. + [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] + (__pthread_mutex_unlock): Likewise. + [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] + (__pthread_mutexattr_init): Likewise. + [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] + (__pthread_mutexattr_destroy): Likewise. + [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] + (__pthread_mutexattr_settype): Likewise. + [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] + (__pthread_rwlock_init): Likewise. + [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] + (__pthread_rwlock_destroy): Likewise. + [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] + (__pthread_rwlock_rdlock): Likewise. + [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] + (__pthread_rwlock_tryrdlock): Likewise. + [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] + (__pthread_rwlock_wrlock): Likewise. + [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] + (__pthread_rwlock_trywrlock): Likewise. + [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] + (__pthread_rwlock_unlock): Likewise. + [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] + (__pthread_key_create): Likewise. + [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] + (__pthread_setspecific): Likewise. + [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] + (__pthread_getspecific): Likewise. + [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once): + Likewise. + [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] + (_pthread_cleanup_push_defer): Likewise. + [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] + (_pthread_cleanup_pop_restore): Likewise. + [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] + (pthread_setcancelstate): Likewise. + * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include + . + [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition. + (memchr): Do not use BP_SYM in weak_alias. + * sysdeps/i386/fpu/fegetenv.c: Do not include . + (fegetenv): Do not use BP_SYM in versioned symbols. + * sysdeps/i386/fpu/fesetenv.c: Do not include . + (fesetenv): Do not use BP_SYM in versioned symbols. + * sysdeps/i386/fpu/feupdateenv.c: Do not include . + (feupdateenv): Do not use BP_SYM in versioned symbols. + * sysdeps/i386/fpu/fsetexcptflg.c: Do not include . + (fesetexceptflag): Do not use BP_SYM in versioned symbols. + * sysdeps/posix/open64.c: Do not include . + (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak. + (open64): Do not use BP_SYM in weak_alias. + * sysdeps/powerpc/fpu/fegetenv.c: Do not include . + (fegetenv): Do not use BP_SYM in versioned symbols. + * sysdeps/powerpc/fpu/fesetenv.c: Do not include . + (fesetenv): Do not use BP_SYM in versioned symbols. + * sysdeps/powerpc/fpu/feupdateenv.c: Do not include . + (feupdateenv): Do not use BP_SYM in versioned symbols. + * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include . + (fegetexceptflag): Do not use BP_SYM in versioned symbols. + * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include . + (feraiseexcept): Do not use BP_SYM in versioned symbols. + * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include . + (fesetexceptflag): Do not use BP_SYM in versioned symbols. + * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include + . + (__libc_start_main): Do not use BP_SYM. + +2013-02-14 Siddhesh Poyarekar + + * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove + redundant return line. + (norm): Likewise. + (denorm): Likewise. + (dbl_mp): Likewise. + (sub_magnitudes): Likewise. + (__add): Likewise. + (__sub): Likewise. + (__mul): Likewise. + (__inv): Likewise. + (__dvd): Likewise. + * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise. + (norm): Likewise. + (denorm): Likewise. + (dbl_mp): Likewise. + (sub_magnitudes): Likewise. + (__add): Likewise. + (__sub): Likewise. + (__mul): Likewise. + (__inv): Likewise. + (__dvd): Likewise. + + * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr + instead of __mul. + * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise. + * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise. + (cc32): Likewise. + + * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function. + * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare. + * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead + of __mul for squares. + * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New + function + * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr): + Likewise. + * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr. + * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise. + +2013-02-13 Joseph Myers + + [BZ #13550] + * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional + code. + * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in + prototype or function definition. Rename ubp_* variables and + parameters. Remove argv definitions conditional on + [__BOUNDED_POINTERS__]. + * debug/backtrace.c (__backtrace): Do not use __unbounded. + * elf/dl-runtime.c (_dl_fixup): Likewise. + * include/set-hooks.h (RUN_HOOK): Likewise. + * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either + definition. + * string/strcpy.c (strcpy): Do not use __unbounded. + * sysdeps/generic/frame.h (struct layout): Likewise. + * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise. + * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise. + * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise. + * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise. + * sysdeps/sparc/backtrace.c (struct layout): Likewise. + (__backtrace): Likewise. + * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not + use __ptrvalue. + * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise. + * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise. + * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue): + Likewise. + * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise. + * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise. + * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise. + * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise. + * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds): + Do not use __unbounded. + * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit): + Rename __unboundedrlimits parameter to rlimits in prototype. + * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds): + Do not use __unbounded. + * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do + not use __ptrvalue. + * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise. + * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise. + * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise. + * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use + __ptrvalue or __unbounded. + (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code. + * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not + use __unbounded. + (__new_msgctl): Do not use __ptrvalue. + * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use + __unbounded. + (__libc_msgrcv): Do not use __ptrvalue. + * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct + startup_info): Do not use __unbounded. + (__libc_start_main): Likewise. Rename ubp_* variables and + parameters. Remove argv definitions conditional on + [__BOUNDED_POINTERS__]. + * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use + __ptrvalue. + * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not + use __unbounded. + * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded + or __ptrvalue. + * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not + use __unbounded. + (__new_shmctl): Do not use __ptrvalue. + * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise. + * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction): + Likewise. + * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c + (__libc_sigaction): Likewise. + * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise. + * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction): + Likewise. + * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise. + +2013-02-13 Ondƙej BĂ­lka + + * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h. + + * string/mempcpy.c: Implement by calling memcpy. + +2013-02-13 Siddhesh Poyarekar + + * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA. + + * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial + evaluation. + + * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero + values in the mantissa. + + * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to + minimize writes to Z. + (sub_magnitudes): Simplify code a bit. + +2013-02-12 Roland McGrath + + * include/libc-symbols.h (stub_warning): Remove "warning: " prefix + from the message. The linker prefixes all warnings with that already. + +2013-02-12 Andreas Schwab + + [BZ #15078] + * posix/regexec.c (extend_buffers): Add parameter min_len. + (check_matching): Pass minimum needed length. + (clean_state_log_if_needed): Likewise. + (get_subexp): Likewise. + * posix/Makefile (tests): Add bug-regex34. + (bug-regex34-ENV): Define. + * posix/bug-regex34.c: New file. + + [BZ #11561] + * posix/regcomp.c (parse_bracket_exp): When looking up collating + elements compare against the byte sequence of it, not its name. + * posix/Makefile (tests): Add bug-regex35. + (bug-regex35-ENV): Define. + * posix/bug-regex35.c: New file. + +2013-02-11 Tom de Vries + + * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in + comment. + Add RET0_IF_0 and CHECK_EOL to macro list in comment. + (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef. + (CHECK_EOL): Add undef. + +2013-02-11 Ondƙej BĂ­lka + + * bits/stdlib-bsearch.h: New file. + * stdlib/bsearch.c: Include bits/stdlib-bsearch.h. + * stdlib/stdlib.h: Likewise. + +2013-02-11 Roland McGrath + + * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t. + * manual/errno.texi (Error Messages): Fix typo in error_print_progname + declaration. + * manual/search.texi (Array Search Function): Add missing const in + lfind prototype. + * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY + declaration to use rlim_t. + (Basic Scheduling Functions): Remove erroneous const from + sched_getparam prototype. Remove erroneous * from + sched_get_priority_max and sched_get_priority_min prototypes. + (Resource Usage): Fix summary @comment on vtimes to refer to + sys/vtimes.h rather than vtimes.h. + Add missing *s in vtimes prototype. + (Limits on Resources): Fix ulimit prototype to return long int. + * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r + prototypes to use long int rather than double. + (BSD Random): Fix initstate and setstate to use char *, not void *. + * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64 + prototype to make second argument 'struct aiocb64 *const[]'. + Fix aio_read64 and aio_write64 prototypes to use struct aiocb64. + (Status of AIO Operations): Remove erroneous const in aio_return and + aio_return64 prototypes. + (Synchronizing I/O): Fix sync prototype to return void. + * manual/startup.texi (Suboptions): Remove an erroneous const in + getsubopt prototype. + * manual/getopt.texi (Using Getopt): Add a const in getopt prototype. + * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to + use size_t rather than int. + (Scanning All Users): Likewise for getpwent_r. + (Setting Groups): Add missing const to setgroups prototype. + * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype. + * manual/socket.texi (Host Names): Fix gethostbyaddr and + gethostbyaddr_r prototypes to use socklen_t rather than size_t and + 'const void *' rather than 'const char *'. + (Host Address Functions): Likewise for inet_ntop. + (Networks Database): Fix getnetbyaddr prototype to use uint32_t. + (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use + ssize_t for return value. + (Sending Data): Likewise for send, sendto, sendmsg. + (Socket Option Functions): Add a missing const in setsockopt prototype. + * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to + use wchar_t for the argument. + (Formatted Input Functions): Fix swscanf prototype to use wchar_t *. + * manual/arith.texi (Control Functions): Fix fegetexcept prototype to + take no arguments. + (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use + double/float/long double for second argument. + Fix return types of significand, significandf, significandl. + * manual/filesys.texi (Setting Permissions): Use mode_t for second + argument in fchmod prototype. + (File Owner): Use uid_t and gid_t in fchown prototype. + (File Times): Add const to utimes, futimes, and lutimes prototypes. + (Making Special Files): Use mode_t and dev_t in mknod prototype. + (Scanning Directory Content): Fix scandir and scandir64 prototypes to + use 'const struct dirent **' as argument types to CMP function pointer + argument. + (Symbolic Links): Fix readlink prototype with ssize_t as return value. + (File Times): Fix summary magic @comment for struct utimbuf and utime + to refer to utime.h, not time.h. + * manual/string.texi (Argz Functions): Add missing const in + argz_extract and argz_next prototypes. + (Finding Tokens in a String): Likewise for basename. + (String/Array Comparison): Fix typo in wcscasecmp prototype. + (Copying and Concatenation): Fix typo in wmemmove prototype. + * manual/signal.texi (Using Pause): Use (void) in pause prototype. + (Signal Stack): Remove erroneous const in sigstack prototype. + * manual/time.texi (Setting an Alarm): Add missing const in setitimer + prototype. + (Simple Calendar Time): Likewise for stime. + * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty + prototype. + * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to + say sys/sysctl.h instead. + * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog + and vsyslog prototypes. + +2013-02-11 Tom de Vries + + * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c): + Remove. + +2013-02-11 Roland McGrath + + * misc/sys/mman.h: Fix typo in mremap comment. + +2013-02-08 Roland McGrath + + * manual/examples/mkfsock.c (make_named_socket): Don't add one for + the '\0' terminator. + +2013-02-08 Joseph Myers + + [BZ #13550] + * debug/segfault.c: Don't include . + * sysdeps/generic/bp-checks.h: Remove file. + * sysdeps/unix/sysv/linux/getdents.c: Don't include . + (__GETDENTS): Don't use CHECK_N. + * sysdeps/unix/sysv/linux/i386/brk.c: Don't include . + * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise. + (__getgroups): Don't use CHECK_N. + * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise. + (setgroups): Don't use CHECK_N. + * sysdeps/unix/sysv/linux/mmap64.c: Don't include . + * sysdeps/unix/sysv/linux/msgrcv.c: Likewise. + (__libc_msgrcv): Don't use CHECK_N. + * sysdeps/unix/sysv/linux/msgsnd.c: Don't include . + (__libc_msgsnd): Don't use CHECK_N. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include + . + (__libc_pread): Don't use CHECK_N. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't + include . + (__libc_pread64): Don't use CHECK_N. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't + include . + (__libc_pwrite): Don't use CHECK_N. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't + include . + (__libc_pwrite64): Don't use CHECK_N. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include + . + (__libc_pread): Don't use CHECK_N. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't + include . + (__libc_pread64): Don't use CHECK_N. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't + include . + (__libc_pwrite): Don't use CHECK_N. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't + include . + (__libc_pwrite64): Don't use CHECK_N. + * sysdeps/unix/sysv/linux/pread.c: Don't include . + (do_pread): Don't use CHECK_N. + * sysdeps/unix/sysv/linux/pread64.c: Don't include . + (do_pread64): Don't use CHECK_N. + * sysdeps/unix/sysv/linux/pwrite.c: Don't include . + (do_pwrite): Don't use CHECK_N. + * sysdeps/unix/sysv/linux/pwrite64.c: Don't include . + (do_pwrite64): Don't use CHECK_N. + * sysdeps/unix/sysv/linux/readv.c: Don't include . + (__libc_readv): Don't use CHECK_N. + * sysdeps/unix/sysv/linux/semop.c: Don't include . + (semop): Don't use CHECK_N. + * sysdeps/unix/sysv/linux/semtimedop.c: Don't include + . + (semtimedop): Don't use CHECK_N. + * sysdeps/unix/sysv/linux/sh/pread.c: Don't include . + (__libc_pread): Don't use CHECK_N. + * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include + . + (__libc_pread64): Don't use CHECK_N. + * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include + . + (__libc_pwrite): Don't use CHECK_N. + * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include + . + (__libc_pwrite64): Don't use CHECK_N. + * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include + . + (__libc_msgrcv): Don't use CHECK_N. + * sysdeps/unix/sysv/linux/sysctl.c: Don't include . + (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment. + * sysdeps/unix/sysv/linux/writev.c: Don't include . + (__libc_writev): Don't use CHECK_N. + +2013-02-08 Roland McGrath + + * string/strcpy.c: Removed unused variable. + + * Makeconfig (+sysdep-includes): Define with := rather than =. + Use an existing include/ subdir of each sysdeps dir before it. + +2013-02-08 Carlos O'Donell + + * nscd/connection.c (register_traced_file): Comment function. + [HAVE_INOTIFY] (union __inev): Define. + [HAVE_INOTIFY] (inotify_check_files): New function. + [HAVE_INOTIFY] (clear_db_cache): Likewise. + [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and + clear_db_cache. + [HAVE_INOTIFY] (main_loop_epoll): Likewise. + +2013-02-08 Carlos O'Donell + + * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is + loaded if not already and that a failure is permanent. + +2013-02-08 Carlos O'Donell + + [BZ #15006] + * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF. + * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support. + +2013-02-08 Joseph Myers + + [BZ #13550] + * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions. + (CHECK_1_NULL_OK): Likewise. + * sysdeps/unix/sysv/linux/fxstat.c: Do not include . + (__fxstat): Do not use CHECK_1. + * sysdeps/unix/sysv/linux/fxstat64.c: Do not include + . + (___fxstat64): Do not use CHECK_1. + * sysdeps/unix/sysv/linux/fxstatat.c: Do not include + . + (__fxstatat): Do not use CHECK_1. + * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include + . + (__fxstatat64): Do not use CHECK_1. + * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include + . + (__fxstat): Do not use CHECK_1. + * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include + . + (__fxstatat): Do not use CHECK_1. + * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include + . + (__getresgid): Do not use CHECK_1. + * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include + . + (__getresuid): Do not use CHECK_1. + * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include + . + (__lxstat): Do not use CHECK_1. + * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include + . + (__old_msgctl): Do not use CHECK_1. + (__new_msgctl): Likewise. + * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include + . + (__new_setrlimit): Do not use CHECK_1. + * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include + . + (__old_shmctl): Do not use CHECK_1. + (__new_shmctl): Likewise. + * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include + . + (__xstat): Do not use CHECK_1. + * sysdeps/unix/sysv/linux/lxstat.c: Do not include . + (__lxstat): Do not use CHECK_1. + * sysdeps/unix/sysv/linux/lxstat64.c: Do not include + . + (___lxstat64): Do not use CHECK_1. + * sysdeps/unix/sysv/linux/msgctl.c: Do not include . + (__old_msgctl): Do not use CHECK_1. + (__new_msgctl): Likewise. + * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include + . + (__gettimeofday): Do not use CHECK_1. + * sysdeps/unix/sysv/linux/ptrace.c: Do not include . + (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code. + * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include + . + (__gettimeofday): Do not use CHECK_1. + * sysdeps/unix/sysv/linux/shmctl.c: Do not include . + (__old_shmctl): Do not use CHECK_1_NULL_OK. + (__new_shmctl): Do not use CHECK_1. + * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include + . + (do_sigtimedwait): Do not use CHECK_1. + * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include + . + (do_sigwaitinfo): Do not use CHECK_1. + * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include + . + (msgctl): Do not use CHECK_1. + * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include + . + (shmctl): Do not use CHECK_1. + * sysdeps/unix/sysv/linux/ustat.c: Do not include . + (ustat): Do not use CHECK_1. + * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include + . + (__fxstat): Do not use CHECK_1. + * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include + . + (__fxstatat): Do not use CHECK_1. + * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include + . + (__lxstat): Do not use CHECK_1. + * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include + . + (__xstat): Do not use CHECK_1. + * sysdeps/unix/sysv/linux/xstat.c: Do not include . + (__xstat): Do not use CHECK_1. + * sysdeps/unix/sysv/linux/xstat64.c: Do not include . + (___xstat64): Do not use CHECK_1. + + [BZ #13550] + * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all + definitions. + (CHECK_BOUNDS_HIGH): Likewise. + * string/strcpy.c: Do not include . + (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH. + +2013-02-07 Roland McGrath + + * nscd/nscd-client.h (__nscd_drop_map_ref): + Add __attribute__ ((unused)). + * nis/nss-nisplus.h (niserr2nss): Likewise. + + * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only + under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)]. + + * csu/libc-tls.c (init_static_tls, init_slotinfo): + Remove inline keyword. + * include/rounding-mode.h (round_away): Likewise. + * libio/wfileops.c (adjust_wide_data): Likewise. + * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise. + (__m128i_strloadu_tolower): Likewise. + * sysdeps/x86_64/multiarch/strcasestr-nonascii.c + (__m128i_strloadu_tolower): Likewise. + * time/mktime.c (ydhms_diff): Likewise. + * locale/elem-hash.h (elem_hash): Likewise. + * locale/setlocale.c (setdata): Likewise. + * posix/regex_internal.h (re_string_char_size_at): Likewise. + (re_string_wchar_at): Likewise. + (bitset_not, bitset_merge, bitset_mask): Likewise. + [!(__GNUC__ > 3)] (inline): Remove macro. + * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword. + * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise. + * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise. + (_dl_tlsdesc_wake_up_held_fixups): Likewise. + * string/memcmp.c (memcmp_bytes): Likewise. + * locale/programs/locarchive.c (compute_hashval): Likewise. + * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise. + * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise. + * resolv/res_send.c (evNowTime, evCmpTime): Likewise. + * nss/getent.c (print_rpc, print_protocols): Likewise. + (print_passwd, print_group, print_aliases): Likewise. + * nis/nss-nisplus.h (niserr2nss): Likewise. + * nscd/connections.c (restart_p): Likewise. + Change return type to bool. + +2013-02-05 Roland McGrath + + * Makeconfig (all-Depend-files): Add existing + $(sorted-subdirs:=/Depend) files. + (all-subdirs): Remove nss. + * sysdeps/unix/inet/Subdirs: Add it here instead. + * hesiod/Depend: New file. + + * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array + instead of calling alloca. + + * io/lseek.c (__lseek): Rename to __libc_lseek. + Define __lseek as an alias. + + * sysdeps/generic/malloc-sysdep.h: Include and . + +2013-02-04 Carlos O'Donell + + * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the + else clause and remove check for non-standard endianness. + +2013-02-04 David S. Miller + + * sysdeps/sparc/fpu/libm-test-ulps: Update. + +2013-02-04 Joseph Myers + + [BZ #13550] + * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__] + (__ubp_memchr): Remove prototype. + [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro. + [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise. + [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise. + [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise. + * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr): + Remove alias. + * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__] + (__ubp_memchr): Likewise. + * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__] + (__ubp_memchr): Likewise. + * sysdeps/unix/sysv/linux/execve.c: Do not include . + (__execve) [__BOUNDED_POINTERS__]: Remove conditional code. + (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional. + * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use + CHECK_STRING. + * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise. + * sysdeps/unix/sysv/linux/getcwd.c: Do not include . + (__getcwd): Do not use CHECK_STRING. + * sysdeps/unix/sysv/linux/i386/chown.c: Do not include + . + (__real_chown): Do not use CHECK_STRING. + * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include + . + (fchownat): Do not use CHECK_STRING. + * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use + CHECK_STRING. + * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include + . + (__lchown): Do not use CHECK_STRING. + * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise. + * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise. + * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise. + * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not + include . + (truncate64): Do not use CHECK_STRING. + * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include + . + (__real_chown): Do not use CHECK_STRING. + * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include + . + (__lchown): Do not use CHECK_STRING. + * sysdeps/unix/sysv/linux/sh/chown.c: Do not include + . + (__chown): Do not use CHECK_STRING. + * sysdeps/unix/sysv/linux/truncate64.c: Do not include + . + (truncate64): Do not use CHECK_STRING. + * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat): + Likewise. + * sysdeps/unix/sysv/linux/xmknod.c: Do not include . + (__xmknod): Do not use CHECK_STRING. + * sysdeps/unix/sysv/linux/xmknodat.c: Do not include + . + (__xmknodat): Do not use CHECK_STRING. + * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise. + * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise. + +2013-02-04 Andreas Schwab + + [BZ #14142] + * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB. + * include/netdb.h: Likewise for h_errno. + * elf/tst-stackguard1.c: Include . + +2013-02-02 Jan Kratochvil + + * elf/link.h (struct link_map): Extend the l_addr comment. + * include/link.h (struct link_map): Likewise. + +2013-02-01 Joseph Myers + + [BZ #13550] + * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions. + (BOUNDED_1): Remove macro. + * debug/backtrace.c: Don't include . + (ADVANCE_STACK_FRAME): Don't use BOUNDED_1. + (__backtrace): Likewise. + * sysdeps/powerpc/powerpc32/backtrace.c: Don't include + . + (__backtrace): Don't use BOUNDED_1. + * sysdeps/powerpc/powerpc64/backtrace.c: Don't include + . + (__backtrace): Don't use BOUNDED_1. + * sysdeps/sparc/backtrace.c: Don't include . + (__backtrace): Don't use BOUNDED_1. + * sysdeps/unix/sysv/linux/shmat.c: Don't include . + (shmat): Don't use BOUNDED_N. + +2013-01-31 Joseph Myers + + [BZ #13550] + * sysdeps/generic/bp-start.h: Remove file. + * csu/libc-start.c: Don't include . + (LIBC_START_MAIN): Set up __environ directly instead of using + INIT_ARGV_and_ENVIRON. + * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include + . + + [BZ #13550] + * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both + definitions. + (CHECK_FCNTL): Likewise. + (CHECK_N_PAGES): Likewise. + + [BZ #13550] + * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both + definitions. + (CHECK_SIGSET_NULL_OK): Likewise. + * sysdeps/unix/sysv/linux/sigpending.c: Don't include + . + (sigpending): Don't use CHECK_SIGSET. + * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include + . + (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK. + * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include + . + (do_sigsuspend): Don't use CHECK_SIGSET. + * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't + use CHECK_SIGSET. + * sysdeps/unix/sysv/linux/sigwait.c: Don't include . + (do_sigwait): Don't use CHECK_SIGSET. + * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't + use CHECK_SIGSET. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't + include . + (sigpending): Don't use CHECK_SIGSET. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't + include . + (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK. + * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include + . + (sigpending): Don't use CHECK_SIGSET. + * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include + . + (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK. + + [BZ #13550] + * sysdeps/generic/bp-semctl.h: Remove file. + * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include + and . + (__old_semctl): Don't use CHECK_SEMCTL. + (__new_semctl): Likewise. + * sysdeps/unix/sysv/linux/semctl.c: Don't include + and . + (__old_semctl): Don't use CHECK_SEMCTL. + (__new_semctl): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include + and . + (__old_semctl): Don't use CHECK_SEMCTL. + (__new_semctl): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include + and . + (semctl): Don't use CHECK_SEMCTL. + + [BZ #13550] + * Makerules (elide-bp-thunks): Remove variable. + (elide-routines.oS): Don't use $(elide-bp-thunks). + (elide-routines.os): Likewise. + (elide-routines.o): Likewise. + (elide-routines.op): Likewise. + (elide-routines.og): Likewise. + (objects): Don't use $(bp-thunks). + * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not + include. + (common-generated): Do not add s-proto-bp.d. + * sysdeps/unix/make-syscalls.sh (ptr): Remove variable. + (int): Likewise. + (typ): Likewise. + Do not generate makefile rules for bounded-pointer thunks. + * sysdeps/generic/bp-thunks.h: Remove file. + * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise. + * sysdeps/unix/s-proto-bp.S: Likewise. + + [BZ #15062] + * math/k_casinh.c (__kernel_casinh): Compute real and imaginary + parts of result separately when argument is not close to line from + -i to i and one part of argument is small. + * math/k_casinhf.c (__kernel_casinhf): Likewise. + * math/k_casinhl.c (__kernel_casinhl): Likewise. + * math/libm-test.inc (cacos_test): Add more tests. + (casin_test): Likewise. + (casinh_test): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2013-01-31 David S. Miller + + * po/de.po: Update from translation team. + +2013-01-25 Maxim Kuvyrkov + + * time/tzfile.c: Include stdint.h for SIZE_MAX. + +2013-01-25 Thomas Schwinge + + * configure.in (_AC_PROG_CC_C89): New definition. + * configure: Regenerate. + + * configure.in (AC_PROG_CPP): New definition. + * configure: Regenerate. + +2013-01-23 Joseph Myers + + * debug/tst-backtrace.h: New file. + * debug/tst-backtrace2.c: Include tst-backtrace.h. + (ret): Remove variable. + (x): Likewise. + (FAIL): Remove macro. + (NO_INLINE): Likewise. + (fn1): Use match function instead of strstr. + * debug/tst-backtrace3.c: Include tst-backtrace.h. + (ret): Remove variable. + (x): Likewise. + (FAIL): Remove macro. + (NO_INLINE): Likewise. + (fn): Use match function instead of strstr. + * debug/tst-backtrace4.c: Include tst-backtrace.h. + (ret): Remove variable. + (x): Likewise. + (FAIL): Remove macro. + (NO_INLINE): Likewise. + (handle_signal): Use match function instead of strstr. + * debug/tst-backtrace5.c: Include tst-backtrace.h. + (ret): Remove variable. + (x): Likewise. + (FAIL): Remove macro. + (NO_INLINE): Likewise. + (handle_signal): Use match function instead of strstr. + +2013-01-23 Roland McGrath + + * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace. + +2013-01-23 David S. Miller + + * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h + (__arch_compare_and_exchange_val_32_acq): Use %g0 as second + argument of CAS if possible. + * sysdeps/sparc/sparc64/bits/atomic.h + (__arch_compare_and_exchange_val_32_acq): Likewise. + (__arch_compare_and_exchange_val_64_acq): Likewise. + +2013-01-23 Pino Toscano + + * sysdeps/unix/sysv/linux/ulimit.c: Moved to ... + * sysdeps/posix/ulimit.c: ... this. + Include . + * sysdeps/unix/bsd/ulimit.c: Remove file. + +2013-01-23 Adam Conrad + + * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed). + (LDFLAGS-tst-array5): Likewise. + +2013-01-23 Joseph Myers + + [BZ #15036] + * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or + based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__]. + (__WCHAR_MIN): Likewise, using __WCHAR_MIN__. + * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove. + +2013-01-21 David S. Miller + + * sysdeps/sparc/backtrace.c: New file. + * sysdeps/sparc/sparc32/backtrace.h: New file. + * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file. + * sysdeps/sparc/sparc64/backtrace.h: New file. + * sysdeps/sparc/sparc64/backtrace.c: Delete. + * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add + -funwind-tables. + +2013-01-21 Andreas Schwab + + [BZ #15020] + * posix/wordexp.c (exec_comm): Avoid busy loop when command has + closed its stdout. + +2013-01-20 Andreas Schwab + + * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include + "mpa2.h". + * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise. + +2013-01-18 Joseph Myers + Mark Mitchell + Tom de Vries + Paul Pluzhnikov + + * debug/tst-backtrace2.c: New file. + * debug/tst-backtrace3.c: Likewise. + * debug/tst-backtrace4.c: Likewise. + * debug/tst-backtrace5.c: Likewise. + * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable. + (CFLAGS-tst-backtrace3.c): Likewise. + (CFLAGS-tst-backtrace4.c): Likewise. + (CFLAGS-tst-backtrace5.c): Likewise. + (LDFLAGS-tst-backtrace2): Likewise. + (LDFLAGS-tst-backtrace3): Likewise. + (LDFLAGS-tst-backtrace4): Likewise. + (LDFLAGS-tst-backtrace5): Likewise. + (tests): Add new tests tst-backtrace2, tst-backtrace3, + tst-backtrace4 and tst-backtrace5. + +2013-01-18 Anton Blanchard + Ryan S. Arnold + + * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename + __kernel_vdso_get_tbfreq to __kernel_get_tbfreq. + * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to + INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h + (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to + "+r" and remove output regs list as redundant. Add explicit inline + asm to specify register of return val to work around compiler codegen + bug. Remove (int) cast on return value. Add return type parameter to + use in macro so that this macro does not truncate return value for + 64-bit values. + (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and + pass to INTERNAL_VSYSCALL_NCS. + (INLINE_VSYSCALL): Add 'long int' as return type to + INTERNAL_VSYSCALL_NCS macro invocation. + (INTERNAL_VSYSCALL): Add 'long int' as return type to + INTERNAL_VSYSCALL_NCS macro invocation. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise. + +2013-01-18 Siddhesh Poyarekar + + [BZ #14496] + * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse): + Fix application of SIMD FP exception mask. + + * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an + mp_no from a power of two. + * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove + __mpexp_twomm1. Use __pow_mp. + + * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary + multiplication. + +2013-01-17 David S. Miller + + * sysdeps/sparc/fpu/libm-test-ulps: Update. + +2013-01-17 Joseph Myers + + [BZ #15023] + * include/complex.h: Condition contents on [!_COMPLEX_H]. + (__kernel_casinhf): New prototype. + (__kernel_casinh): Likewise. + (__kernel_casinhl): Likewise. + * math/Makefile (libm_calls): Add k_casinh. + * math/k_casinh.c: New file. + * math/k_casinhf.c: Likewise. + * math/k_casinhl.c: Likewise. + * math/s_cacos.c (__cacos): Implement using __kernel_casinh for + finite nonzero arguments. + * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for + finite nonzero arguments. + * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for + finite nonzero arguments. + * math/s_casinh.c: Do not include . + (__casinh): Move code for finite nonzero arguments to k_casinh.c. + * math/s_casinhf.c: Do not include . + (__casinhf): Move code for finite nonzero arguments to + k_casinhf.c. + * math/s_casinhl.c: Do not include . + [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and + redefine. + (__casinhl): Move code for finite nonzero arguments to + k_casinhl.c. + * math/libm-test.inc (cacos_test): Add more tests. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2013-01-17 Pino Toscano + + * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define. + * malloc/malloc.c: Include and . + [!HAVE_MREMAP]: Remove [defined linux] case. + * malloc/arena.c: Do not include . + +2013-01-17 Siddhesh Poyarekar + + * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment. + +2013-01-17 H.J. Lu + + * elf/elf.h (R_386_SIZE32): New relocation. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle + R_386_SIZE32. + (elf_machine_rela): Likewise. + * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle + R_X86_64_SIZE64 and R_X86_64_SIZE32. + +2013-01-17 Joseph Myers + + * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__] + (FP_FAST_FMA): Do not define. + [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise. + * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT + && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition. + * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ && + !_SOFT_FLOAT]: Likewise. + * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__] + [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic + value. + [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise. + [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise. + [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise. + [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise. + [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise. + [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of + file. + +2013-01-16 Andreas Schwab + + [BZ #14327] + * include/stdlib.h (__mktemp): Add declaration. + * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias. + * misc/Versions (GLIBC_PRIVATE): Add __mktemp. + +2013-01-16 Siddhesh Poyarekar + + * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value + definitions. + * sysdeps/ieee754/dbl-64/atnat2.h: Likewise. + * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h. + * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value + definitions here. + * sysdeps/ieee754/dbl-64/mpa2.h: Remove. + * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value + definitions. + * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO + and ONE. + * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h. + * sysdeps/ieee754/dbl-64/mpexp.h: Remove. + * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value + definitions. + * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE. + * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value + definitions. + * sysdeps/ieee754/dbl-64/utan.h: Likewise. + + * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO. + +2013-01-15 David S. Miller + + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3 + trunc{,f} to libm-sysdep_routes. + * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New + file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New + file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New + file. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file. + * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file. + * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file. + + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3 + nearbyint{,f} to libm-sysdep_routes. + * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S: + New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New + file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S: + New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New + file. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New + file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New + file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file. + * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file. + * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file. + + * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use + libc_feholdexcept and libc_fesetenv. + +2013-01-15 Mike Frysinger + + * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h. + +2013-01-14 David S. Miller + + * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro. + (SPARC_ASM_VIS2_IFUNC): Likewise. + (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make + use of 'siam' instruction. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: + Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: + Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: + Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New + file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New + file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New + file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New + file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in + new VIS2 routines. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: + Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2 + routines to libm-sysdep_routines. + * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise. + + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3 + fdim/fdimf to libm-sysdep_routines. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New + file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New + file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file. + * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file. + * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file. + * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file. + * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file. + +2013-01-14 Siddhesh Poyarekar + + * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable + to optimize copies. + + * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting. + * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise. + * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise. + + * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove + local variable MPTWO. + * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv): + Likewise. + +2013-01-13 Mike Frysinger + + * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after + GLOB_NOESCAPE. + +2013-01-13 Mike Frysinger + + * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions. + +2013-01-13 Mike Frysinger + + * manual/pattern.texi (glob_t): Document gl_flags. + (glob64_t): Likewise. + +2013-01-11 David S. Miller + + * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines). + * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math] + (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines. + * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file. + * sysdeps/sparc/sparc64/multiarch/add_n.S: New file. + * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file. + * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file. + * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file. + * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file. + * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file. + * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file. + * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file. + * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file. + + * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit + sparc V9 rather than using V8 code. + * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise. + + * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies: + Move to... + * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies: + Here. + +2013-01-11 Roland McGrath + + [BZ #14941] + * configure.in (sysnames): Use $multi_arch_d in setting up $mach list, + not in the main loop. + * configure: Regenerated. + +2013-01-11 Joseph Myers + + * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove. + * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition + to just #else. + * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove + [!__GLIBC_HAVE_LONG_LONG] case. + * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif + condition to just #else. + * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG && + __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC]. + [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD]. + * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code + unconditional. + * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise. + * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change + #elif condition to just #else. + * sysdeps/unix/sysv/linux/sys/sysmacros.h + [__GLIBC_HAVE_LONG_LONG]: Make code unconditional. + * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change + #elif condition to just #else. + +2013-01-11 Steve Ellcey + + * elf/elf.h (EF_MIPS_ARCH_32): Fix value. + (EF_MIPS_ARCH_64): Fix value. + (EF_MIPS_ARCH_32R2): New. + (EF_MIPS_ARCH_64R2): New. + +2013-01-11 H.J. Lu + + * Makeconfig (+link-pie-before-libc): New. + (+link-pie-after-libc): Likewise. + (+link-pie-tests): Likewise. + (+link-pie): Rewritten. + (link-before-libc): Remove $(config-LDFLAGS). + (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc). + (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc). + (config-LDFLAGS): Renamed to ... + (rtld-LDFLAGS): This. + (rtld-tests-LDFLAGS): New macro. + (link-libc-rpath-link): Likewise. + (link-libc-tests-rpath-link): Likewise. + (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link). + (link-libc): Prepand $(link-libc-rpath-link). + (link-libc-tests): Prepand $(link-libc-tests-rpath-link). + (test-program-prefix): New macro. + (test-via-rtld-prefix): Likewise. + (test-program-cmd): Likewise. + (host-test-program-cmd): Likewise. + * Makefile ($(common-objpfx)testrun.sh): Replace + $(run-program-prefix) with $(test-program-prefix). + * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with + $(rtld-LDFLAGS). + ($(common-objpfx)shlib.lds): Likewise. + (build-module-helper): Likewise. + ($(common-objpfx)format.lds): Likewise. + * Rules (binaries-pie-tests): New. + (binaries-pie-notests): Likewise. + (binaries-pie): Rewritten. + ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ... + ($(addprefix $(objpfx),$(binaries-pie-notests))): This. + ($(addprefix $(objpfx),$(binaries-pie-tests))): New. + (make-test-out): Replace $(host-built-program-cmd) with + $(host-test-program-cmd). + * config.make.in (build-hardcoded-path-in-tests): New variable. + * configure.in (--enable-hardcoded-path-in-tests): New configure + option. + (hardcoded_path_in_tests): New AC_SUBST. + * configure: Regenerated. + * catgets/Makefile ($(objpfx)test-gencat.out): Replace + $(built-program-cmd) with $(test-program-cmd). + * catgets/test-gencat.sh (run_program_cmd): Renamed to ... + (test_program_cmd): This. + * elf/Makefile ($(objpfx)order.out): Run test with + $(test-program-prefix). + ($(objpfx)order2.out): Likewise. + ($(objpfx)tst-initorder.out): Likewise. + ($(objpfx)tst-initorder2.out): Likewise. + ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with + $(test-program-cmd). + ($(objpfx)tst-array1-static.out): Likewise. + ($(objpfx)tst-array2.out): Likewise. + ($(objpfx)tst-array3.out): Likewise. + ($(objpfx)tst-array4.out): Likewise. + ($(objpfx)tst-array5.out): Likewise. + ($(objpfx)tst-array5-static.out): Likewise. + (tst-stackguard1-ARGS): Replace $(built-program-cmd) with + $(test-program-cmd). + * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace + $(run-program-prefix) with $(test-program-prefix). + * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ... + (test_program_prefix): This. + * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace + $(run-program-prefix) with $(test-program-prefix). + * iconvdata/tst-table.sh (run_program_prefix): Renamed to ... + (test_program_prefix): This. + * iconvdata/tst-tables.sh: Likewise. + * intl/Makefile ($(objpfx)tst-gettext.out): Replace + $(run-program-prefix) with $(test-program-prefix). + ($(objpfx)tst-translit.out): Likewise. + ($(objpfx)tst-gettext2.out): Likewise. + ($(objpfx)tst-gettext4.out): Likewise. + ($(objpfx)tst-gettext6.out): Likewise. + * intl/tst-gettext.sh (run_program_prefix): Renamed to ... + (test_program_prefix): This. + * intl/tst-gettext2.sh: Likewise. + * intl/tst-gettext4.sh Likewise. + * intl/tst-gettext6.sh: Likewise. + * intl/tst-translit.sh: Likewise. + * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd) + with $(test-program-cmd). + * libio/Makefile ($(objpfx)test-freopen.out): Replace + $(run-program-prefix) with $(test-program-prefix). + * libio/test-freopen.sh (run_program_prefix): Renamed to ... + (test_program_prefix): This. + * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace + $(run-program-prefix) with $(test-program-prefix). + * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ... + (test_program_prefix): This. + * manual/install.texi: Document --enable-hardcoded-path-in-tests. + * posix/Makefile ($(objpfx)globtest.out): Replace + $(run-via-rtld-prefix) and $(test-wrapper) with + $(test-program-prefix) and $(test-via-rtld-prefix). + ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with + $(test-program-prefix). + (tst-exec-ARGS): Replace $(host-built-program-cmd) with + $(host-test-program-cmd). + (tst-spawn-ARGS): Likewise. + ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with + $(test-program-prefix). + * posix/globtest.sh (un_via_rtld_prefix): Renamed to ... + (test_via_rtld_prefix): This. + (test_wrapper): Renamed to ... + (test_program_prefix): This. + (run_program_prefix): Replaced by test_program_prefix. + * posix/wordexp-tst.sh (run_program_prefix): Renamed to ... + (test_program_prefix): This. + * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd) + with $(host-test-program-cmd). + * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace + $(run-program-prefix) with $(test-program-prefix). + ($(objpfx)tst-printf.out): Likewise. + ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with + $(test-program-cmd). + * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ... + (test_program_prefix): This. + * stdio-common/tst-unbputc.sh: Likewise. + * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace + $(run-program-prefix) with $(test-program-prefix). + * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ... + (test_program_prefix): This. + * string/Makefile ($(objpfx)tst-svc.out): Replace + $(built-program-cmd) with $(test-program-cmd). + +2013-01-11 Andreas Jaeger + + [BZ #15003] + * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New + value. Sync with Linux 3.7. + +2013-01-10 David S. Miller + + * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes. + * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise. + +2013-01-10 Roland McGrath + + * configure.in (sysnames): Drop use of $m0sub and $msub, which are + never set. + * configure: Regenerated. + +2013-01-10 David S. Miller + + * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit + sparc V9 rather than using V8 code. + * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise. + +2013-01-10 Roland McGrath + + * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace. + (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise. + (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise. + (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise. + (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise. + (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise. + (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart. + (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise. + (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise. + (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace. + (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise. + (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise. + (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise. + (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise. + (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise. + (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise. + (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise. + (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise. + (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise. + (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise. + (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise. + (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise. + (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise. + (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise. + (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise. + (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise. + (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise. + +2013-01-10 David S. Miller + + * sysdeps/sparc/fpu/libm-test-ulps: Update. + +2013-01-10 H.J. Lu + + * posix/Makefile (tests-static): New variable. + (tests): Add $(tests-static). + (tst-exec-static-ARGS): New variable. + (tst-spawn-static-ARGS): Likewise. + * posix/tst-exec-static.c: New file. + * posix/tst-spawn-static.c: Likewise. + * posix/tst-exec.c: Support run directly. + * posix/tst-spawn.c: Likewise. + +2013-01-10 Joseph Myers + + * elf/link.h (struct dl_phdr_info): Use __extension__ with long + long. + * math/bits/mathcalls.h (llrint): Likewise. + (llround): Likewise. + * stdlib/stdlib.h (struct drand48_data): Likewise. + * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise. + * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm): + Likewise. + * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): + Likewise. + * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__] + (elf_greg_t): Likewise. + * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64] + (__jmp_buf): Likewise. + * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all + definitions. + (llrint): Likewise, for all definitions. + (llrintl): Likewise. + + * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll): + Remove [__GNUC__] condition. + * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change + condition to just [__USE_ISOC99]. + [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU]. + +2013-01-10 H.J. Lu + + [BZ #14200] + * sysdeps/unix/sysv/linux/x86/bits/environments.h + (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't + defined. + (_POSIX_V6_ILP32_OFF32): Likewise. + (_XBS5_ILP32_OFF32): Likewise. + (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32. + (__ILP32_OFFBIG_LDFLAGS): Likewise. + +2013-01-10 Siddhesh Poyarekar + + * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting. + + * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of + doubles __mpexp_twomm1. Adjust usage. + * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): + Remove. + +2013-01-10 Andreas Schwab + + [BZ #14964] + * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE) + (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros. + +2013-01-09 David S. Miller + + [BZ #15003] + * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS) + (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT) + (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS) + (TCP_FASTOPEN): Define. + (tcp_repair_opt): New structure. + (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New + enum values. + (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE) + (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN) + (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define. + (tcp_cookie_transactions): New structure. + +2013-01-09 Anton Blanchard + + * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file. + * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu. + * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise. + +2013-01-09 Joseph Myers + + * include/features.h (__USE_ANSI): Remove. + +2013-01-09 Roland McGrath + + * posix/Makefile (others): Depend on $(objpfx)getconf.speclist. + + * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro. + +2013-01-09 Siddhesh Poyarekar + + * sysdeps/s390/fpu/libm-test-ulps: Update. + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + + * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment. + (__acr): Likewise. + (__cpy): Likewise. + (norm): Likewise. + (denorm): Likewise. + (__mp_dbl): Likewise. + (__dbl_mp): Likewise. + (add_magnitudes): Likewise. + (sub_magnitudes): Likewise. + (__add): Likewise. + (__sub): Likewise. + (__mul): Likewise. + (__inv): Likewise. + (__dvd): Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise. + (__acr): Likewise. + (__cpy): Likewise. + (norm): Likewise. + (denorm): Likewise. + (__mp_dbl): Likewise. + (__dbl_mp): Likewise. + (add_magnitudes): Likewise. + (sub_magnitudes): Likewise. + (__add): Likewise. + (__sub): Likewise. + (__mul): Likewise. + (__inv): Likewise. + (__dvd): Likewise. + * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise. + (__acr): Likewise. + (__cpy): Likewise. + (norm): Likewise. + (denorm): Likewise. + (__mp_dbl): Likewise. + (__dbl_mp): Likewise. + (add_magnitudes): Likewise. + (sub_magnitudes): Likewise. + (__add): Likewise. + (__sub): Likewise. + (__mul): Likewise. + (__inv): Likewise. + (__dvd): Likewise. + +2013-01-08 Joseph Myers + + * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 && + __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES]. + * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >= + 2 && __USE_EXTERN_INLINES]: Likewise. + +2013-01-08 Andreas Jaeger + + [BZ #14985] + * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK): + Remove. + * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise. + * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise. + +2013-01-07 Anton Blanchard + + * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors. + * sysdeps/powerpc/fpu/feupdateenv.c: Likewise. + * sysdeps/powerpc/fpu/math_ldbl.h: Likewise. + * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise. + * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise. + * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise. + * sysdeps/powerpc/powerpc32/dl-start.S: Likewise. + * sysdeps/powerpc/powerpc32/memset.S: Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise. + * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise. + * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise. + * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise. + * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise. + * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise. + * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise. + * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise. + * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. + * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise. + * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise. + * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise. + * sysdeps/powerpc/powerpc32/strncmp.S: Likewise. + * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise. + * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise. + * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise. + * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise. + * sysdeps/powerpc/powerpc64/memcpy.S: Likewise. + * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise. + * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise. + * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise. + * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise. + * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise. + * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise. + * sysdeps/powerpc/powerpc64/strncmp.S: Likewise. + +2013-01-07 Joseph Myers + + * malloc/malloc.h (__MALLOC_P): Remove all definitions. + (__MALLOC_PMT): Likewise. + [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on + [__GNUC__], only on [_LIBC]. + [__GNUC__] (__MALLOC_DEPRECATED): Likewise. + [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition. + [!__GNUC__] (__MALLOC_DEPRECATED): Likewise. + * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in + forward declaration. + (realloc_hook_ini): Likewise. + (memalign_hook_ini): Likewise. + (__libc_memalign): Do not use __MALLOC_PMT in variable + declaration. + (__libc_valloc): Likewise. + (__libc_pvalloc): Likewise. + (__libc_calloc): Likewise. + (__posix_memalign): Likewise. + + [BZ #14996] + * math/s_casinh.c: Include . + (__casinh): Do not do computation with squaring and square root + for large arguments. + * math/s_casinhf.c: Include . + (__casinhf): Do not do computation with squaring and square root + for large arguments. + * math/s_casinhl.c: Include . + [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine. + (__casinhl): Do not do computation with squaring and square root + for large arguments. + * math/libm-test.inc (casin_test): Add more tests. + (casinh_test): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2013-01-04 H.J. Lu + + * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed. + (__x86_64_raw_data_cache_size): Likewise. + (__x86_64_data_cache_size_half): Likewise. + (__x86_64_raw_data_cache_size_half): Likewise. + (__x86_64_shared_cache_size): Likewise. + (__x86_64_raw_shared_cache_size): Likewise. + (__x86_64_shared_cache_size_half): Likewise. + (__x86_64_raw_shared_cache_size_half): Likewise. + * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed + to ... + (__x86_data_cache_size): This. + (__x86_64_raw_data_cache_size): Renamed to ... + (__x86_raw_data_cache_size): This. + (__x86_64_data_cache_size_half): Renamed to ... + (__x86_data_cache_size_half): This. + (__x86_64_raw_data_cache_size_half): Renamed to ... + (__x86_raw_data_cache_size_half): This. + (__x86_64_shared_cache_size): Renamed to ... + (__x86_shared_cache_size): This. + (__x86_64_raw_shared_cache_size): Renamed to ... + (__x86_raw_shared_cache_size): This. + (__x86_64_shared_cache_size_half): Renamed to ... + (__x86_shared_cache_size_half): This. + (__x86_64_raw_shared_cache_size_half): Renamed to ... + (__x86_raw_shared_cache_size_half): This. + * sysdeps/x86_64/memcpy.S: Updated. + * sysdeps/x86_64/memset.S: Likewise. + * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise. + * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise. + * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise. + +2013-01-04 David S. Miller + + * sysdeps/sparc/fpu/libm-test-ulps: Update. + +2013-01-04 Andreas Schwab + + * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as + 1 to avoid redefinition warning. + (__USE_GNU): Don't define. + (init_signaling_nan): Protoize. + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2013-01-04 Siddhesh Poyarekar + + * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code. + * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove. + (__cpymn): Likewise. + (norm): Remove commented code. + (denorm): Likewise. + (__mp_dbl): Likewise. + (__inv): Likewise. + * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove. + (__cpymn): Likewise. + (norm): Remove commented code. + (denorm): Likewise. + (__mp_dbl): Likewise. + (__inv): Likewise. + + * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define + mp_no value for 1.0 and 2.0. + (norm): Use RADIXI instead of radixi.d. + (denorm): Likewise. + (__mul): Use 0.0 instead of zero.d. + * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define + mp_no value for 1.0 and 2.0. + (norm): Use RADIXI instead of radixi.d. + (denorm): Likewise. + (__mul): Use 0.0 instead of zero.d. + +2013-01-04 Joseph Myers + + [BZ #14994] + * math/s_casinh.c (__casinh): Reduce finite argument to first + quadrant then set signs of results at the end. + * math/s_casinhf.c (__casinhf): Likewise. + * math/s_casinhl.c (__casinhl): Likewise. + * math/libm-test.inc (casin_test): Add more tests. + (casinh_test): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2013-01-04 Siddhesh Poyarekar + + * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting. + + * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO. + + * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented + declarations. + (denorm): Likewise. + (__mp_dbl): Likewise. + (__inv): Likewise. + + * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations + and adjust the header comment. + + * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary + variable name from declaration. + +2013-01-03 H.J. Lu + + * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): + Initialize COMMON_CPUID_INDEX_7 element. + * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro. + (CPUID_RTM): Likewise. + (HAS_RTM): Likewise. + (COMMON_CPUID_INDEX_7): New enum. + +2013-01-03 Andreas Schwab + + [BZ #14981] + * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when + size is zero, record memory as freed. + +2013-01-03 Andreas Jaeger + + * po/ia.po: Add new Interlingua translation. + +2012-01-03 Allan McRae + + * locale/programs/localedef.c: Fix description of '--posix' flag. + +2013-01-02 Joseph Myers + + * NEWS: Update dates in second copyright notice. + * README: Update copyright dates in example. + * manual/libc.texinfo: Update copyright dates. + * scripts/test-installation.pl: Update copyright date in --version + output. + + * hurd/ctty-input.c: Fix copyright notice formatting. + * hurd/ctty-output.c: Likewise. + * hurd/dtable.c: Likewise. + * hurd/hurd-raise.c: Likewise. + * hurd/hurdprio.c: Likewise. + * hurd/msgportdemux.c: Likewise. + * misc/sys/file.h: Likewise. + * misc/sys/ioctl.h: Likewise. + * sysdeps/gnu/netinet/ip_icmp.h: Likewise. + * sysdeps/mach/hurd/chdir.c: Likewise. + * sysdeps/mach/hurd/fchdir.c: Likewise. + * sysdeps/mach/hurd/rename.c: Likewise. + * sysdeps/mach/hurd/rmdir.c: Likewise. + * sysdeps/mach/hurd/seekdir.c: Likewise. + * sysdeps/mach/hurd/setsid.c: Likewise. + * sysdeps/posix/wait3.c: Likewise. + + * All files with FSF copyright notices: Update copyright dates + using scripts/update-copyrights. + * intl/plural.c: Regenerated. + * locale/programs/charmap-kw.h: Likewise. + * locale/programs/locfile-kw.h: Likewise. + +2013-01-02 Siddhesh Poyarekar + + * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first + four values. + + * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa + calculation loop and add branch prediction. + + * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to + check access beyond bounds of m1np. + + * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant + MPTWO. + (__inv): Remove local variable MPTWO to use the global + constant. + * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO. + * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local + variable MPTWO. + * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and + MP3HALFS static const. + +2013-01-01 David S. Miller + + * po/ca.po: Update from translation team. + +2013-01-01 Joseph Myers + + * scripts/update-copyrights: New file. + * Makeconfig: Reformat copyright notice. + * ctype/ctype.h: Likewise. + * debug/swprintf_chk.c: Likewise. + * elf/dl-cache.c: Likewise. + * elf/dl-debug.c: Likewise. + * elf/dl-object.c: Likewise. + * grp/initgroups.c: Likewise. + * hurd/Makefile: Likewise. + * hurd/hurd/signal.h: Likewise. + * hurd/hurdfault.c: Likewise. + * hurd/hurdioctl.c: Likewise. + * hurd/hurdlookup.c: Likewise. + * hurd/intr-msg.c: Likewise. + * iconv/gconv_open.c: Likewise. + * libio/swprintf.c: Likewise. + * locale/lc-ctype.c: Likewise. + * locale/nl_langinfo.c: Likewise. + * mach/Machrules: Likewise. + * mach/Makefile: Likewise. + * malloc/obstack.h: Likewise. + * manual/Makefile: Likewise. + * manual/tsort.awk: Likewise. + * misc/bits/stab.def: Likewise. + * nis/nis_print_group_entry.c: Likewise. + * nis/nis_table.c: Likewise. + * nis/nss_compat/compat-pwd.c: Likewise. + * nis/nss_compat/compat-spwd.c: Likewise. + * po/Makefile: Likewise. + * posix/fnmatch.c: Likewise. + * posix/regex.h: Likewise. + * resolv/Makefile: Likewise. + * resolv/nss_dns/dns-network.c: Likewise. + * resolv/res_hconf.c: Likewise. + * scripts/gen-sorted.awk: Likewise. + * soft-fp/soft-fp.h: Likewise. + * stdio-common/printf.h: Likewise. + * stdlib/monetary.h: Likewise. + * stdlib/random.c: Likewise. + * stdlib/random_r.c: Likewise. + * sysdeps/generic/Makefile: Likewise. + * sysdeps/gnu/Makefile: Likewise. + * sysdeps/ieee754/dbl-64/doasin.c: Likewise. + * sysdeps/ieee754/dbl-64/dosincos.c: Likewise. + * sysdeps/ieee754/dbl-64/e_asin.c: Likewise. + * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. + * sysdeps/ieee754/dbl-64/e_exp.c: Likewise. + * sysdeps/ieee754/dbl-64/e_log.c: Likewise. + * sysdeps/ieee754/dbl-64/e_pow.c: Likewise. + * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise. + * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise. + * sysdeps/ieee754/dbl-64/halfulp.c: Likewise. + * sysdeps/ieee754/dbl-64/mpa.c: Likewise. + * sysdeps/ieee754/dbl-64/mpatan.c: Likewise. + * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise. + * sysdeps/ieee754/dbl-64/mpexp.c: Likewise. + * sysdeps/ieee754/dbl-64/mplog.c: Likewise. + * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise. + * sysdeps/ieee754/dbl-64/mptan.c: Likewise. + * sysdeps/ieee754/dbl-64/s_atan.c: Likewise. + * sysdeps/ieee754/dbl-64/s_sin.c: Likewise. + * sysdeps/ieee754/dbl-64/s_tan.c: Likewise. + * sysdeps/ieee754/dbl-64/sincos32.c: Likewise. + * sysdeps/ieee754/dbl-64/slowexp.c: Likewise. + * sysdeps/ieee754/dbl-64/slowpow.c: Likewise. + * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise. + * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise. + * sysdeps/mach/hurd/errnos.awk: Likewise. + * sysdeps/mach/hurd/fork.c: Likewise. + * sysdeps/mach/hurd/getcwd.c: Likewise. + * sysdeps/mach/hurd/i386/trampoline.c: Likewise. + * sysdeps/mach/hurd/mmap.c: Likewise. + * sysdeps/mach/hurd/utimes.c: Likewise. + * sysdeps/mach/hurd/xmknod.c: Likewise. + * sysdeps/posix/profil.c: Likewise. + * sysdeps/posix/readdir_r.c: Likewise. + * sysdeps/powerpc/bits/mathdef.h: Likewise. + * sysdeps/powerpc/bits/setjmp.h: Likewise. + * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise. + * sysdeps/powerpc/powerpc32/memset.S: Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise. + * sysdeps/powerpc/powerpc32/sysdep.h: Likewise. + * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise. + * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise. + * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise. + * sysdeps/pthread/lio_listio.c: Likewise. + * sysdeps/sparc/dl-procinfo.h: Likewise. + * sysdeps/unix/i386/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise. + * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise. + * sysdeps/unix/sysv/linux/getdents.c: Likewise. + * sysdeps/unix/sysv/linux/msgctl.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/semctl.c: Likewise. + * sysdeps/unix/sysv/linux/shmctl.c: Likewise. + * sysdeps/unix/sysv/linux/speed.c: Likewise. + * sysdeps/unix/sysv/linux/xstatconv.h: Likewise. + * sysdeps/wordsize-32/divdi3.c: Likewise. + * time/sys/time.h: Likewise. + * wcsmbs/Makefile: Likewise. + +2013-01-01 David S. Miller + + * po/fr.po: Update from translation team. + + * catgets/gencat.c: Update copyright year. + * csu/version.c: Likewise. + * debug/catchsegv.sh: Likewise. + * debug/pcprofiledump.c: Likewise. + * debug/xtrace.sh: Likewise. + * elf/ldconfig.c: Likewise. + * elf/ldd.bash.in: Likewise. + * elf/pldd.c: Likewise. + * elf/sotruss.ksh: Likewise. + * elf/sprof.c: Likewise. + * iconv/iconv_prog.c: Likewise. + * iconv/iconvconfig.c: Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/localedef.c: Likewise. + * login/programs/pt_chown.c: Likewise. + * malloc/memusage.sh: Likewise. + * malloc/memusagestat.c: Likewise. + * malloc/mtrace.pl: Likewise. + * nscd/nscd.c: Likewise. + * nss/getent.c: Likewise. + * nss/makedb.c: Likewise. + * posix/getconf.c: Likewise. + +2012-12-31 Siddhesh Poyarekar + + * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal + numbers. + +2012-12-30 Mike Frysinger + + * math/bits/mathcalls.h (modf): Use __nonnull. + +2012-12-29 Siddhesh Poyarekar + + * sysdeps/ieee754/dbl-64/branred.h: Include dla.h. + (split): Use macro CN instead of the bare value. + * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN + could be used. + * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN + instead of the bare value. + (power1): Likewise. + +2012-12-28 Siddhesh Poyarekar + + * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove + __ATAN_TWOM. + * sysdeps/ieee754/dbl-64/mpatan.h: Likewise. + + * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with + their values. + * sysdeps/ieee754/dbl-64/atnat2.h: Likewise. + * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise. + * sysdeps/ieee754/dbl-64/ulog.h: Likewise. + * sysdeps/ieee754/dbl-64/utan.h: Likewise. + +2012-12-28 Andreas Jaeger + + * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New + values are from Linux 3.7. + + * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA) + (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7. + +2012-12-28 Siddhesh Poyarekar + + * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for + TRUE case. + + * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI. + (norm): Likewise. + * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const + variables with preprocessor constants. + * sysdeps/ieee754/dbl-64/mpatan.h: Likewise. + * sysdeps/ieee754/dbl-64/mpexp.h: Likewise. + * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise. + +2012-12-27 Bruno Haible + + [BZ #14317] + * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen + only if needed. + +2012-12-27 Siddhesh Poyarekar + + * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn + and use variable directly. + * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove. + + * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant + MPONE. + * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE. + * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local + variable MPONE. + * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise. + * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise. + * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h + include directive. Remove local variable MPONE. + * sysdeps/ieee754/dbl-64/mplog.h: Remove. + * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST. + * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise. + +2012-12-25 David S. Miller + + * version.h (RELEASE): Set to "development". + (VERSION): Set to "2.17.90". + * NEWS: Add 2.18 section. + +2012-12-21 David S. Miller + + * po/hr.po: Update from translation team. + +2012-12-21 Andreas Krebbel + + * sysdeps/s390/fpu/libm-test-ulps: Refreshed. + +2012-12-19 Steve Ellcey + + * NEWS: Mention new memcpy for MIPS. + +2012-12-18 Marcus Shawcroft + + * manual/contrib.texi (Contributors): Spelling correction. + +2012-12-15 David S. Miller + + * po/ru.po: Update from translation team. + +2012-12-13 David S. Miller + + * NEWS: Mention IFUNC testsuite enhancements. + + * po/pl.po: Update from translation team. + * po/bg.po: Likewise. + + * manual/contrib.texi (Contributors): Update entries for Hongjiu + Lu and Joseph S. Myers. Add entry for Marcus Shawcroft. + +2012-12-11 David S. Miller + + * po/sv.po: Update from translation team. + + * po/vi.po: Update from translation team. + + * po/cs.po: Update from translation team. + + * po/de.po: Update from translation team. + * po/eo.po: Likewise. + * po/nl.po: Likewise. + +2012-12-11 Siddhesh Poyarekar + + [BZ #14246] + * manual/argp.texi (Argp Helper Functions): Move node to follow + Argp Parsing State. + + [BZ #14872] + * manual/conf.texi (Limits on File System Capacity): Mention if + terminating null is included in the max size. + +2012-12-10 Andreas Jaeger + + * po/cs.po: Update from translation team. + +2012-12-08 Siddhesh Poyarekar + + * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as + void pointer and cast to uintptr_t. + * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include + path. + * sysdeps/s390/s390-64/memcpy.S: Likewise. + * sysdeps/s390/s390-64/memset.S: Likewise. + +2012-12-08 Benno Schulenberg + + [BZ #14833] + * menual/message.texi (Message Translation): Fix typos. + (Helper programs for gettext): Likewise. + +2012-12-07 Andreas Schwab + + [BZ #14898] + * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]: + Change to -1. + +2012-12-07 David S. Miller + + * po/libc.pot: Update. + +2012-12-07 Richard Henderson + + [BZ #10114] + * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the + normal/normal case to before the switch. + (_FP_DIV): Likewise. + +2012-12-06 Carlos O'Donell + Mike Frysinger + + * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also + check for __NR_fadvise64_64. + +2012-12-06 Chris Metcalf + + * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to + 0, not just to plain "0" as a statement. + (_FPU_SETCW): Define to (void) (cw), rather than doing nothing + with cw. + +2012-12-06 Joseph Myers + + * NEWS: Use sourceware.org in Bugzilla URL. + +2012-12-06 Siddhesh Poyarekar + + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h + (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)). + + * stdio-common/tst-put-error.c (do_test): Add newline to the + padded test to ensure flush. + +2012-12-05 Jeff Law + + * sunrpc/etc.rpc (fedfs_admin): Add entry. + +2012-12-05 Joseph Myers + + * README: Don't refer to ports add-on as distributed separately. + Mention AArch64 in list of systems supported in the ports add-on. + + * LICENSES: Add more non-FSF copyright and license notices. + + * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__ + ((unused)). + + * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include . + + * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of + 10000 as width of padded output. + +2012-12-04 Joseph Myers + + * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty. + + * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark + variable LX with __attribute__ ((unused)). + * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l): + Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY + with __attribute__ ((unused)). + +2012-12-04 David S. Miller + + * sysdeps/generic/memcopy.h: Add multiple inclusion protection. + +2012-12-04 Joseph Myers + + * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] + (CFLAGS-nldbl-acos.c): New variable. + [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise. + [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise. + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h + (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)). + + [BZ #14914] + * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear + whole low double instead of just low 47 bits when splitting values + into two parts. + +2012-12-03 Allan McRae + + * manual/stdio.texi (Predefined Printf Handlers): Remove + @hsep and @vsep usage. + +2012-12-03 Mike Frysinger + + * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3. + * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise. + +2012-12-03 Jeff Law + + * time/sys/time.h (settimeofday): Do not mark TV argument + as __nonnull. + +2012-12-01 Mike Frysinger + + * libio/fileops.c (_IO_new_file_close_it): Do not always flush + when currently writing and seek to current position when not. + * libio/Makefile (tests): Remove bug-fclose1. + * libio/bug-fclose1.c: Delete. + +2012-12-01 Joseph Myers + + * manual/arith.texi (feenableexcept): Fix typo. + (fedisableexcept): Likewise. + +2012-11-30 Roland McGrath + + * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a + second, differently-typed declaration, rather than a cast. + +2012-11-30 Siddhesh Poyarekar + + * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration... + * include/rpc/svc.h: ... here. + +2012-11-30 Aurelien Jarno + + [BZ #13013] + * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2 + depending n and resplen2 to catch cases where answer + equals answerp2. + +2012-11-29 Carlos O'Donell + + * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn + for unsupported DF_1_* bits when DL_DEBUG_FILES is set. + +2012-11-29 Mike Frysinger + + * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete. + +2012-11-29 Roland McGrath + + * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning. + +2012-11-28 Jeff Law + + [BZ #13761] + * nscd/grpcache.c (cache_addgr): Rename alloca_used to + dataset_temporary. Track alloca usage into alloca_used. + If dataset is large allocate and release it via malloc/free. + +2012-06-04 Florian Weimer + + [BZ #14197] + * debug/test-strcpy_chk.c: Mention __chk_fail ABI test. + +2012-11-28 David S. Miller + + * sysdeps/sparc/fpu/libm-test-ulps: Update. + +2012-11-28 Joseph Myers + + [BZ #14803] + * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value + of pi/2 rounded to nearest to 64 bits. + (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to + nearest to 64 bits. + (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64 + bits. + +2012-11-28 Jeff Law + Martin Osvald + + [BZ #14889] + * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype. + * sunrpc/svc.c: Include time.h. + (__svc_accept_failed): New function. + * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for + any reason other than EINTR, call __svc_accept_failed. + * sunrpc/svc_udp.c (svcudp_recv): Similarly. + * sunrpc/svc_unix.c (rendezvous_request): Similarly. + +2012-11-28 Andreas Schwab + + * scripts/abilist.awk: Also handle indirect functions in .opd + section. + +2012-11-28 Joseph Myers + + [BZ #13881] + * sysdeps/x86/fpu/powl_helper.c: New file. + * sysdeps/x86/fpu/Makefile: Likewise. + * sysdeps/i386/fpu/e_powl.S (limit): Remove object. + (p3): New object. + (__ieee754_powl): Use __powl_helper for finite arguments except + integer exponents below 8. + * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object. + (p3): New object. + (__ieee754_powl): Use __powl_helper for finite arguments except + integer exponents below 8. + * math/libm-test.inc (pow_test): Add more tests and enable some + previously disabled tests. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2012-11-28 Siddhesh Poyarekar + Carlos O'Donell + + * nss/makedb.c (is_prime): Assert that input is odd and greater + than 4. Note that fact in a comment too. + (next_prime): Add 4 to input. + +2012-11-27 Siddhesh Poyarekar + + [BZ #11741] + * libio/Makefile (tests): Add test case tst-fwrite-error. + * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF. + * libio/iofwrite_u.c (fwrite_unlocked): Likewise. + * libio/tst-fwrite-error.c: New test case. + +2012-11-26 H.J. Lu + + * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t + before casting to void *. + * include/libc-internal.h (__pointer_type): New macro. + (__integer_if_pointer_type_sub): Likewise. + (__integer_if_pointer_type): Likewise. + (cast_to_integer): Likewise. + * sysdeps/x86_64/bits/atomic.h: Include . + (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer + before casting to atomic64_t. + (atomic_exchange_acq): Likewise. + (__arch_exchange_and_add_body): Likewise. + (__arch_add_body): Likewise. + (atomic_add_negative): Likewise. + (atomic_add_zero): Likewise. + +2012-11-26 Joseph Myers + + * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function. + (fde_unencoded_compare): Use get_pc_begin instead of type-punning. + (add_fdes): Likewise. + (linear_search_fdes): Likewise. + (binary_search_unencoded_fdes): Likewise. + +2012-11-26 Andreas Schwab + + * elf/sotruss.ksh: Correctly locate argument of -F and -T options. + +2012-11-24 Adam Conrad + + * configure.in: Autodetect C++ header directories. + * configure: Regenerated. + +2012-11-23 Mike Frysinger + + * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF). + +2012-11-23 Andreas Schwab + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2012-11-22 Joseph Myers + + * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE && + LDBL_MANT_DIG == 106]: Disable some tests. + (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]: + Likewise. + (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]: + Likewise. + + [BZ #14871] + * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the + input for small inputs. Return +/- pi/2 for large inputs. + * math/libm-test.inc (atan_test): Add more tests. + + * sysdeps/generic/unwind-dw2-fde-glibc.c + (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with + __attribute__ ((unused)). + + [BZ #14645] + * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as + x * y if x and y are nonzero and z is zero. + + [BZ #14811] + * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate + nonzero exponents with absolute value below 0x1p-117 to +/- + 0x1p-117. + + [BZ #14869] + * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale + up arguments below 2**-450, not just those below 2**-500. + * math/libm-test.inc (hypot_test): Add another test. + + [BZ #14868] + * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): + Return a+b for ratio over 2**120, not 2**60. + * math/libm-test.inc (hypot_test): Add another test. + + * math/libm-test.inc (clog_test): Use + UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests. + (clog10_test): Likewise. + + [BZ #6778] + * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L. + +2012-11-22 Andreas Schwab + + * sysdeps/i386/fpu/libm-test-ulps: Update. + +2012-11-22 Pino Toscano + + * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate + printf output with newline. + +2012-11-21 H.J. Lu + + [BZ #14865] + * aclocal.m4 (LIBC_LINKER_FEATURE): New macro. + * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete, + -z nodlopen, -z initfirst and -z execstack support. + * configure: Regenerated. + + * elf/elf.h (DF_1_NODIRECT): New macro. + (DF_1_IGNMULDEF): Likewise. + (DF_1_NOKSYMS): Likewise. + (DF_1_NOHDR): Likewise. + (DF_1_EDITED): Likewise. + (DF_1_NORELOC): Likewise. + (DF_1_SYMINTPOSE): Likewise. + (DF_1_GLOBAUDIT): Likewise. + (DF_1_SINGLETON): Likewise. + * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert + DT_1_SUPPORTED_MASK bits. + * include/elf.h (DT_1_SUPPORTED_MASK): New macro. + +2012-11-20 Carlos O'Donell + + * sysdeps/unix/make-syscalls.sh: Document prefixes. + +2012-11-20 Thomas Schwinge + + * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New + macro. + + * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg) + (sendmmsg): Move declarations... + * socket/sys/socket.h: ... here. + * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg && + !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and + include it from... + * socket/recvmmsg.c: ... this new file. + * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG] + (sendmmsg): Rename to __sendmmsg, create weak alias and make + definition of __sendmmsg hidden. + * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise. + [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg): + Move ENOSYS stub into and include it from... + * socket/sendmmsg.c: ... this new file. + * sysdeps/unix/sysv/linux/Makefile [subdir=socket] + (sysdep_routines): Move recvmmsg and sendmmsg... + * socket/Makefile (routines): ... here. + * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg. + (GLIBC_PRIVATE): Add __sendmmsg. + * include/sys/socket.h (__sendmmsg): Add declarations. + * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of + sendmmsg. + +2012-11-20 Joseph Myers + + * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark + variable I1 with __attribute__ ((unused)). + * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise. + +2012-11-19 Joseph Myers + + * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare + DUMMY variables with __attribute__ ((unused)). + + * bits/byteswap.h: Include . + (__bswap_64): Use __uint64_t instead of unsigned long long int. + +2012-11-19 Pino Toscano + + * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to + string_t. Do not manually set errno. + (__ptsname_r): Change the type of PEERNAME to string_t, and check its + length with __strnlen. Make sure to both set errno and return it on + failure. + +2012-11-19 David S. Miller + + With help from Joseph Myers. + * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and + very large arguments properly. + * math/libm-test.inc (atan_test): New tests. + (atan2_test): New tests. + * sysdeps/sparc/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Update. + +2012-11-19 Joseph Myers + + [BZ #14856] + * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX): + Define to 3. + + * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect. + [POSIX] (EADDRNOTAVAIL): Likewise. + [POSIX] (EAFNOSUPPORT): Likewise. + [POSIX] (EALREADY): Likewise. + [POSIX] (ECONNABORTED): Likewise. + [POSIX] (ECONNREFUSED): Likewise. + [POSIX] (ECONNRESET): Likewise. + [POSIX] (EDESTADDRREQ): Likewise. + [POSIX] (EDQUOT): Likewise. + [POSIX] (EHOSTUNREACH): Likewise. + [POSIX] (EIDRM): Likewise. + [POSIX] (EISCONN): Likewise. + [POSIX] (ELOOP): Likewise. + [POSIX] (EMULTIHOP): Likewise. + [POSIX] (ENETDOWN): Likewise. + [POSIX] (ENETUNREACH): Likewise. + [POSIX] (ENOBUFS): Likewise. + [POSIX] (ENODATA): Likewise. + [POSIX] (ENOLINK): Likewise. + [POSIX] (ENOMSG): Likewise. + [POSIX] (ENOPROTOOPT): Likewise. + [POSIX] (ENOSR): Likewise. + [POSIX] (ENOSTR): Likewise. + [POSIX] (ENOTCONN): Likewise. + [POSIX] (ENOTSOCK): Likewise. + [POSIX] (EOPNOTSUPP): Likewise. + [POSIX] (EOVERFLOW): Likewise. + [POSIX] (EPROTO): Likewise. + [POSIX] (EPROTONOSUPPORT): Likewise. + [POSIX] (EPROTOTYPE): Likewise. + [POSIX] (ESTALE): Likewise. + [POSIX] (ETIME): Likewise. + [POSIX] (ETXTBSY): Likewise. + [POSIX] (EWOULDBLOCK): Likewise. + [!ISO && !ISO99 && !ISO11] (E*): Do not allow. + * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow. + [POSIX] (SEEK_CUR): Likewise. + [POSIX] (SEEK_END): Likewise. + [POSIX || UNIX98] (mode_t): Do not require. + [POSIX] (off_t): Likewise. + [POSIX] (pid_t): Likewise. + [POSIX] (sys/stat.h): Do not allow header. + [POSIX] (unistd.h): Likewise. + [!ISO && !ISO99 && !ISO11] (timespec): Do not allow. + [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise. + [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise. + * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not + require. + * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct + sigevent): Specify elements. + [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type + entry. + [!ISO && !ISO99 && !ISO11] (mq_*): Allow. + [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise. + + * conform/data/cpio.h-data [POSIX]: Disable whole file. + * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect. + * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11] + (AIO_LIST_MAX): Change to AIO_LISTIO_MAX. + [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove. + [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow. + [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow. + [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise. + [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow. + [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry. + [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow. + [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise. + [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise. + [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN): + Likewise. + [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE): + Likewise. + [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE): + Likewise. + [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN): + Likewise. + [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise. + [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise. + [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise. + [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise. + [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant. + Specify lower bound on value. + [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise. + [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise. + [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise. + [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise. + [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise. + [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise. + [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow. + [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact + value. + [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify + as optional. + [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise. + [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise. + [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise. + [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise. + [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise. + [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise. + [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise. + [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise. + [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise. + [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise. + [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise. + [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise. + [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise. + [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise. + [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise. + [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate + entry. + [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as + optional. + [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise. + [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise. + [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise. + [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise. + [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise. + [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS): + Likewise. + [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise. + [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise. + [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise. + [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise. + [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give + value as 3 for [POSIX || XPG3 || XPG4 || UNIX98]. + [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify + as optional. + [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise. + [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise. + [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise. + [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX): + Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98]. + [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not + specify as optional. + [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise. + [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise. + [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise. + [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow. + [POSIX || XPG3] (NL_ARGMAX): Do not allow. + [XPG3] (NL_LANGMAX): Likewise. + [POSIX || XPG3] (NL_MSGMAX): Likewise. + [POSIX || XPG3] (NL_NMAX): Likewise. + [POSIX || XPG3] (NL_SETMAX): Likewise. + [POSIX || XPG3] (NL_TEXTMAX): Likewise. + [XPG3] (NZERO): Likewise. + [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions. + [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow. + [!ISO && !ISO99 && !ISO11] (*_t): Allow. + * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11] + (REG_ERANGE): Expect. + * conform/data/stdio.h-data [POSIX] (L_cuserid): Use + optional-constant. + [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked): + Use (void) in prototype. + [POSIX] (*_t): Allow. + * conform/data/sys/times.h-data [POSIX]: Enable whole file. + * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11] + (WRDE_BADVAL): Expect. + + * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not + expect. + [XPG3 || XPG4] (O_RSYNC): Likewise. + * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill): + Likewise. + [XPG3 || XPG4] (pthread_sigmask): Likewise. + [XPG3 || XPG4] (sigqueue): Likewise. + [XPG3 || XPG4] (sigtimedwait): Likewise. + [XPG3 || XPG4] (sigwaitinfo): Likewise. + * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise. + [XPG3 || XPG4] (vsnprintf): Likewise. + * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t): + Likewise. + [XPG3 || XPG4] (blksize_t): Likewise. + * conform/data/time.h-data [XPG3 || XPG4] (struct timespec): + Likewise. + [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise. + [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise. + [XPG3 || XPG4] (struct itimerspec): Likewise. + [XPG3 || XPG4] (CLOCK_REALTIME): Likewise. + [XPG3 || XPG4] (TIMER_ABSTIME): Likewise. + [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise. + [XPG3 || XPG4] (clockid_t): Likewise. + [XPG3 || XPG4] (timer_t): Likewise. + [XPG3 || XPG4] (clock_getres): Likewise. + [XPG3 || XPG4] (clock_gettime): Likewise. + [XPG3 || XPG4] (clock_settime): Likewise. + [XPG3 || XPG4] (nanosleep): Likewise. + [XPG3 || XPG4] (timer_create): Likewise. + [XPG3 || XPG4] (timer_delete): Likewise. + [XPG3 || XPG4] (timer_gettime): Likewise. + [XPG3 || XPG4] (timer_getoverrun): Likewise. + [XPG3 || XPG4] (timer_settime): Likewise. + * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise. + [XPG3 || XPG4] (getlogin_r): Likewise. + [XPG3 || XPG4] (pread): Likewise. + [XPG3 || XPG4] (pthread_atfork): Likewise. + [XPG3 || XPG4] (pwrite): Likewise. + + [BZ #14835] + * signal/signal.h [__USE_XOPEN_EXTENDED]: Include + . + +2012-11-19 Pino Toscano + + * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before + finalizing MALLSTREAM. + + * sysdeps/mach/hurd/syncfs.c: New file. + +2012-11-19 Siddhesh Poyarekar + + [BZ #14719] + * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to + NETDB_INTERNAL when NSS_STATUS_UNAVAIL. + * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set + h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE. + (_nss_dns_gethostbyname4_r): Likewise. + * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to + EAI_SYSTEM if NSS_STATUS_UNAVAIL. + +2012-11-19 Peng Haitao + + [BZ #13763] + * sunrpc/bindrsvprt.c: Add lock to protect static variable. + +2012-11-19 Steve McIntyre + + * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro. + * elf/cache.c (print_entry): Print ",AArch64" for + FLAG_AARCH64_LIB64 + + * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro. + * elf/cache.c (print_entry): Print ",hard-float" for + FLAG_ARM_LIBHF. + +2012-11-18 David S. Miller + + With help from Joseph Myers. + * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness + cutoff to 2**-13. + * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness + cutoff to 2**-25. + * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant. + ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very + small. + * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise. + * math/libm-test.inc (y0_test): New tests. + (y1_test): New tests. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Update. + * sysdeps/sparc/fpu/libm-test-ulps: Update. + +2012-11-18 Andreas Schwab + + * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on + 64-bit targets. + * configure: Regenerated. + +2012-11-17 David S. Miller + + [BZ #14811] + * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate + nonzero exponents with absolute value below 0x1p-128 to +/- + 0x1p-128. + +2012-11-17 Joseph Myers + + * sysdeps/unix/sysv/linux/fxstatat.c: Include . + + * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional. + + * posix/getconf-speclist.c: New file. + * posix/posix-envs.def: Likewise. + * posix/confstr.c (START_ENV_GROUP): New macro. + (END_ENV_GROUP): Likewise. + (KNOWN_ABSENT_ENVIRONMENT): Likewise. + (KNOWN_PRESENT_ENV_STRING): Likewise. + (KNOWN_PRESENT_ENVIRONMENT): Likewise. + (UNKNOWN_ENVIRONMENT): Likewise. + (confstr): Include posix-envs.def instead of handling + _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and + _CS_V5_WIDTH_RESTRICTED_ENVS directly here. + * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro. + (END_ENV_GROUP): Likewise. + (KNOWN_ABSENT_ENVIRONMENT): Likewise. + (KNOWN_PRESENT_ENVIRONMENT): Likewise. + (UNKNOWN_ENVIRONMENT): Likewise. + (__sysconf): Include posix-envs.def instead of handling associated + cases directly here. + * posix/Makefile ($(objpfx)getconf.speclist): Generate by + preprocessing getconf-speclist.c rather than running getconf or + generating empty file. + +2012-11-16 Pino Toscano + + * scripts/check-local-headers.sh: Ignore 'mach' headers. + +2012-11-16 Andrej Lajovic + + [BZ #14672] + * iconv/iconv_prog.c (main): Fix -c handling of '/'. + +2012-11-16 David S. Miller + + * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is + smaller than LDBL_EPSILON/2.0L, just return xm1. + +2012-11-16 H.J. Lu + + * elf/tst-array1.c (init): Set constructor priority to 1000. + (fini): Set destructor priority to 1000. + * elf/tst-array2dep.c: Likewise. + +2012-11-16 Siddhesh Poyarekar + + [BZ #11741] + * libio/fileops.c (_IO_new_file_write): Correctly return error. + (_IO_new_file_xsputn): Also return EOF if none of the input + data was written when overflow failed. + * libio/iopadn.c (_IO_padn): Likewise. + * libio/iowpadn.c (_IO_wpadn): Likewise. + * stdio-common/tst-put-error.c: Add copyright notice. + (do_test): Add case for printing padded string. + * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if + _IO_padn returned error. + [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error. + * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can + return EOF. + +2012-11-16 Siddhesh Poyarekar + + * libio/libioP.h: Add comment note that the references to C++ + bits are now obsolete. + +2012-11-15 Marcus Shawcroft + + * math/libm-test.inc (check_complex): Use asprintf. + +2012-11-14 Joseph Myers + + * debug/pcprofiledump.c (print_version): Update copyright year. + * malloc/memusagestat.c (print_version): Likewise. + +2012-11-14 H.J. Lu + + [BZ #14831] + * elf/Makefile (tests): Add tst-audit8. + ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so. + ($(objpfx)tst-audit8.out): New target. + (tst-audit8-ENV): New variable. + * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip + audit if l_reloc_result is NULL. + (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't + defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined. + * elf/tst-audit8.c: New file. + +2012-11-14 Marcus Shawcroft + + * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define. + * misc/Makefile (CFLAGS-select.c): Define. + * posix/Makefile (CFLAGS-pause.c): Define. + +2012-11-13 David S. Miller + + * crypt/Makefile: Move test targets after toplevel Rules + inclusion. Grab any necessary sysdep routines when linking. + * crypt/md5.c (md5_process_block): Remove define, we will always + name it __md5_process_block. + (md5_finish_ctx): Update md5_process_block call. + (md5_stream): Likewise. + (md5_process_bytes): Likewise. + (md5_process_block): Rename to __md5_process_block and move to ... + * crypt/md5-block.c: ... here. + * crypt/sha256.c (sha256_process_block): Move to ... + * crypt/sha256-block.c: ... here. + * crypt/sha512.c (sha512_process_block): Move to ... + * crypt/sha512-block.c: ... here. + * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include + path. + * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define. + * sysdeps/sparc/sparc64/multiarch/Makefile + (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in + crypt subdir. + (localedef-aux): Add md5 crypto assembler when in locale subdir. + * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64 + multiarch changes. + * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file. + * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file. + * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file. + * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file. + * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file. + * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file. + * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file. + * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file. + * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New + file. + * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file. + * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New + file. + * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file. + +2012-11-13 Joseph Myers + + * timezone/tzselect.ksh: Update from tzcode git revision + a435f9f0ecafa56d9e0263835836bd0c64cd7307. + * timezone/zdump.c: Likewise. + * timezone/zic.c: Likewise. + * timezone/Makefile ($(objpfx)version.h): Only include $(version) + in TZVERSION setting, not $(PKGVERSION). + ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and + REPORT_BUGS_TO settings. + + [BZ #14838] + * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define + macro. + +2012-11-13 Marcus Shawcroft + + * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow + detection to immediately after _FP_ROUND(). + * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working + bits are 0. + +2012-11-11 David S. Miller + + * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include + inttypes.h + (__get_clockfreq_via_proc_openprom): Use __open, __read, and + __close rather than their public counterparts. + +2012-11-10 Joseph Myers + + * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole + file. + [UNIX98] (sem_timedwait): Do not expect. + * conform/data/sys/socket.h-data [XPG3]: Disable whole file. + [XPG4 || UNIX98] (sockatmark): Do not expect. + * conform/data/time.h-data [XPG3 || XPG4 || UNIX98] + (clock_getcpuclockid): Do not expect. + [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect. + * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid): + Do not expect. + [XPG3 || XPG4 || UNIX98] (seteuid): Likewise. + * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect. + [UNIX98] (vwscanf): Likewise. + [UNIX98] (vswscanf): Likewise. + +2012-11-09 Joseph Myers + + * timezone/version.h: Remove file. + * timezone/README: Do not refer to version.h. + * timezone/Makefile ($(objpfx)zic.o): New dependency on + $(objpfx)version.h. + ($(objpfx)zdump.o): Likewise. + ($(objpfx)version.h): New target. + + * timezone/tzselect.ksh: Change to verbatim copy from tzcode + 2012i. + * timezone/README: Don't mention modification to tzselect.ksh. + * timezone/Makefile ($(objpfx)tzselect): Update substitutions to + work on unmodified tzselect.ksh. Substitute version numbers in + tzselect.ksh. + + * Makefile (format-me): Remove. + (INSTALL): Adjust indentation. Use commands directly instead of + using $(format-me). + + * aclocal.m4 (ACX_PKGVERSION): New macro. + (ACX_BUGURL): Likewise. + * configure.in: Use ACX_PKGVERSION and ACX_BUGURL. + (PKGVERSION): New AC_DEFINE_UNQUOTED. + (REPORT_BUGS_TO): Likewise. + * configure: Regenerated. + * config.h.in (PKGVERSION): New macro. + (REPORT_BUGS_TO): Likewise. + * config.make.in (PKGVERSION): New variable. + (PKGVERSION_TEXI): Likewise. + (REPORT_BUGS_TO): Likewise. + (REPORT_BUGS_TEXI): Likewise. + * Makefile (format-me): Use -I$(common-objpfx)manual. + (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi. + ($(common-objpfx)manual/%): New target. + (manual/%): Remove target. + * catgets/gencat.c (more_help): Use REPORT_BUGS_TO. + (print_version): Use PKGVERSION. + * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO. + * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION + and REPORT_BUGS_TO. + ($(objpfx)xtrace): Likewise. + * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO. + * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO. + (print_version): Use PKGVERSION. + * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO. + (do_version): Use PKGVERSION. + * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and + REPORT_BUGS_TO. + (common-ldd-rewrite): Likewise. + * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO. + * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO. + (print_version): Use PKGVERSION. + * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO. + * elf/pldd.c (argp_program_bug_address): Remove variable. + (more_help): New function. + (argp): Use more_help. + (print_version): Use PKGVERSION. + * elf/sln.c (main): Use PKGVERSION. + (usage): Use REPORT_BUGS_TO. + * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO. + (top level): Use PKGVERSION. + * elf/sprof.c (more_help): Use REPORT_BUGS_TO. + (print_version): Use PKGVERSION. + * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO. + (print_version): Use PKGVERSION. + * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO. + (print_version): Use PKGVERSION. + * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO. + (print_version): Use PKGVERSION. + * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO. + (print_version): Use PKGVERSION. + * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO. + (print_version): Use PKGVERSION. + * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION + and BUGURL. + ($(objpfx)memusage): Likewise. + * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO. + (do_version): Use PKGVERSION. + * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO. + (print_version): Use PKGVERSION. + * malloc/mtrace.pl ($PACKAGE): Remove variable. + ($PKGVERSION): New variable. + ($REPORT_BUGS_TO): Likewise. + (usage): Use $REPORT_BUGS_TO. + (top level): Use $PKGVERSION. + * manual/Makefile (libc-texi-generated): Add pkgvers.texi. + ($(objpfx)pkgvers.texi): New rule. + ($(objpfx)stamp-pkgvers): Likewise. + * manual/install.texi: Include pkgvers.texi. + (--with-pkgversion): Document new configure option. + (--with-bugurl): Likewise. + (Reporting Bugs): Describe Bugzilla as upstream tracker rather + than necessarily for this particular distribution. Use + REPORT_BUGS_TO for where to report bugs. + * INSTALL: Regenerated. + * manual/libc.texinfo: Include pkgvers.texi. + [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information. + * nscd/nscd.c (more_help): Use REPORT_BUGS_TO. + (print_version): Use PKGVERSION. + * nss/getent.c (more_help): Use REPORT_BUGS_TO. + (print_version): Use PKGVERSION. + * nss/makedb.c (more_help): Use REPORT_BUGS_TO. + (print_version): Use PKGVERSION. + * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO. + * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove + macro. + * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO. + (print_version): Use PKGVERSION. + * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO. + (print_version): Use PKGVERSION. + * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO + and PKGVERSION. + + * timezone/checktab.awk: Update from tzcode 2012i. + * timezone/ialloc.c: Likewise. + * timezone/private.h: Likewise. + * timezone/scheck.c: Likewise. + * timezone/tzfile.h: Likewise. + * timezone/tzselect.ksh: Merge in changes from tzcode 2012i. + (TZVERSION): Hardcode tzcode version number. + * timezone/zdump.c: Update from tzcode 2012i. + * timezone/zic.c: Likewise. + * timezone/version.h: New file. + * timezone/README: Describe version.h. Update upstream location. + + [BZ #14824] + * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] + (mktemp): Enable declaration. + [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise. + [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise. + [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise. + [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt): + Likewise. + [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt): + Likewise. + [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt): + Likewise. + [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r): + Likewise. + [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r): + Likewise. + [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r): + Likewise. + + [BZ #14821] + * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed + offset in buffer as u_int32_t not u_long. Consistently use memcpy + for copies of such integer values. + * sunrpc/clnt_udp.c (clntudp_control): Likewise. + * sunrpc/clnt_unix.c (clntunix_control): Likewise. + +2012-11-09 Andreas Jaeger + + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all + definitions and declarations that are provided by + and include . + +2012-11-08 Andreas Krebbel + + * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te". + * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value. + * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro + definition. + +2012-11-08 Marcus Shawcroft + + * elf/elf.h: Update comment before AArch64 relocations. + +2012-11-07 David S. Miller + + * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c + (__start_context): Declare. + (__makecontext_ret): Delete. + (__makecontext): Hook up __start_context instead of + __makecontext_ret. + * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile + (sysdep_routines): Add __start_context when in stdlib. + +2012-11-07 Joseph Myers + + * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM), + $(OBJDUMP) and $(READELF) to tst-xmmymm.sh. + * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of + hardcoded "nm". + (OBJDUMP): New variable. Use it instead of hardcoded "objdump". + (READELF): New variable. Use it instead of hardcoded "readelf". + +2012-11-07 H.J. Lu + + * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ... + * sysdeps/x86/Makefile: Here. + * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ... + * sysdeps/x86/tst-xmmymm.sh: This. + +2012-11-07 Joseph Myers + + * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all + expectations. + [UNIX98] (pthread_barrier_t): Do not expect. + [UNIX98] (pthread_barrierattr_t): Likewise. + [UNIX98] (pthread_spinlock_t): Likewise. + [UNIX98] (pthread_barrier_destroy): Likewise. + [UNIX98] (pthread_barrier_init): Likewise. + [UNIX98] (pthread_barrier_wait): Likewise. + [UNIX98] (pthread_barrierattr_destroy): Likewise. + [UNIX98] (pthread_barrierattr_getpshared): Likewise. + [UNIX98] (pthread_barrierattr_init): Likewise. + [UNIX98] (pthread_barrierattr_setpshared): Likewise. + [UNIX98] (pthread_getcpuclockid): Likewise. + [UNIX98] (pthread_mutex_timedlock): Likewise. + [UNIX98] (pthread_rwlock_timedrdlock): Likewise. + [UNIX98] (pthread_rwlock_timedwrlock): Likewise. + [UNIX98] (pthread_sigmask): Likewise. + [UNIX98] (pthread_spin_destroy): Likewise. + [UNIX98] (pthread_spin_init): Likewise. + [UNIX98] (pthread_spin_lock): Likewise. + [UNIX98] (pthread_spin_trylock): Likewise. + [UNIX98] (pthread_spin_unlock): Likewise. + * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t): + Do not expect. + [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise. + [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise. + [XPG3 || XPG4] (pthread_cond_t): Likewise. + [XPG3 || XPG4] (pthread_condattr_t): Likewise. + [XPG3 || XPG4] (pthread_key_t): Likewise. + [XPG3 || XPG4] (pthread_mutex_t): Likewise. + [XPG3 || XPG4] (pthread_mutexattr_t): Likewise. + [XPG3 || XPG4] (pthread_once_t): Likewise. + [XPG3 || XPG4] (pthread_rwlock_t): Likewise. + [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise. + [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise. + [XPG3 || XPG4] (pthread_t): Likewise. + + * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do + not expect. + [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise. + + * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan): + Change function return type to int. + + * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL): + Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98]. + [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise. + [!POSIX] (POSIX_MADV_RANDOM): Likewise. + [!POSIX] (POSIX_MADV_WILLNEED): Likewise. + [!POSIX] (POSIX_MADV_DONTNEED): Likewise. + [!POSIX] (posix_madvise): Likewise. + (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4 + && !UNIX98]. + (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise. + (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise. + (mode_t): Likewise. + (posix_mem_offset): Likewise. + (posix_typed_mem_get_info): Likewise. + (posix_typed_mem_open): Likewise. + + * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat): + Change condition to [XOPEN2K8]. + + * conform/conformtest.pl: Preprocess allow-header data with -x c + instead of from stdin. + (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h. + * conform/data/complex.h-data [C99-based standards] (cerf): Allow. + [C99-based standards] (cerfc): Likewise. + [C99-based standards] (cexp2): Likewise. + [C99-based standards] (cexpm1): Likewise. + [C99-based standards] (clog10): Likewise. + [C99-based standards] (clog1p): Likewise. + [C99-based standards] (clog2): Likewise. + [C99-based standards] (clgamma): Likewise. + [C99-based standards] (ctgamma): Likewise. + [C99-based standards] (cerff): Likewise. + [C99-based standards] (cerfcf): Likewise. + [C99-based standards] (cexp2f): Likewise. + [C99-based standards] (cexpm1f): Likewise. + [C99-based standards] (clog10f): Likewise. + [C99-based standards] (clog1pf): Likewise. + [C99-based standards] (clog2f): Likewise. + [C99-based standards] (clgammaf): Likewise. + [C99-based standards] (ctgammaf): Likewise. + [C99-based standards] (cerfl): Likewise. + [C99-based standards] (cerfcl): Likewise. + [C99-based standards] (cexp2l): Likewise. + [C99-based standards] (cexpm1l): Likewise. + [C99-based standards] (clog10l): Likewise. + [C99-based standards] (clog1pl): Likewise. + [C99-based standards] (clog2l): Likewise. + [C99-based standards] (clgammal): Likewise. + [C99-based standards] (ctgammal): Likewise. + * conform/data/inttypes.h-data [C99-based standards]: Include + stdint.h-data. Remove all expectations for stdint.h contents. + [C99-based standards] (PRI*): Do not allow. + [C99-based standards] (SCN*): Likewise. + [C99-based standards] (*_t): Likewise. + [C99-based-standards] (PRId8): Expect macro. + [C99-based-standards] (PRIi8): Likewise. + [C99-based-standards] (PRIo8): Likewise. + [C99-based-standards] (PRIu8): Likewise. + [C99-based-standards] (PRIx8): Likewise. + [C99-based-standards] (PRIX8): Likewise. + [C99-based-standards] (SCNd8): Likewise. + [C99-based-standards] (SCNi8): Likewise. + [C99-based-standards] (SCNo8): Likewise. + [C99-based-standards] (SCNu8): Likewise. + [C99-based-standards] (SCNx8): Likewise. + [C99-based-standards] (PRIdLEAST8): Likewise. + [C99-based-standards] (PRIiLEAST8): Likewise. + [C99-based-standards] (PRIoLEAST8): Likewise. + [C99-based-standards] (PRIuLEAST8): Likewise. + [C99-based-standards] (PRIxLEAST8): Likewise. + [C99-based-standards] (PRIXLEAST8): Likewise. + [C99-based-standards] (SCNdLEAST8): Likewise. + [C99-based-standards] (SCNiLEAST8): Likewise. + [C99-based-standards] (SCNoLEAST8): Likewise. + [C99-based-standards] (SCNuLEAST8): Likewise. + [C99-based-standards] (SCNxLEAST8): Likewise. + [C99-based-standards] (PRIdFAST8): Likewise. + [C99-based-standards] (PRIiFAST8): Likewise. + [C99-based-standards] (PRIoFAST8): Likewise. + [C99-based-standards] (PRIuFAST8): Likewise. + [C99-based-standards] (PRIxFAST8): Likewise. + [C99-based-standards] (PRIXFAST8): Likewise. + [C99-based-standards] (SCNdFAST8): Likewise. + [C99-based-standards] (SCNiFAST8): Likewise. + [C99-based-standards] (SCNoFAST8): Likewise. + [C99-based-standards] (SCNuFAST8): Likewise. + [C99-based-standards] (SCNxFAST8): Likewise. + [C99-based-standards] (PRId16): Likewise. + [C99-based-standards] (PRIi16): Likewise. + [C99-based-standards] (PRIo16): Likewise. + [C99-based-standards] (PRIu16): Likewise. + [C99-based-standards] (PRIx16): Likewise. + [C99-based-standards] (PRIX16): Likewise. + [C99-based-standards] (SCNd16): Likewise. + [C99-based-standards] (SCNi16): Likewise. + [C99-based-standards] (SCNo16): Likewise. + [C99-based-standards] (SCNu16): Likewise. + [C99-based-standards] (SCNx16): Likewise. + [C99-based-standards] (PRIdLEAST16): Likewise. + [C99-based-standards] (PRIiLEAST16): Likewise. + [C99-based-standards] (PRIoLEAST16): Likewise. + [C99-based-standards] (PRIuLEAST16): Likewise. + [C99-based-standards] (PRIxLEAST16): Likewise. + [C99-based-standards] (PRIXLEAST16): Likewise. + [C99-based-standards] (SCNdLEAST16): Likewise. + [C99-based-standards] (SCNiLEAST16): Likewise. + [C99-based-standards] (SCNoLEAST16): Likewise. + [C99-based-standards] (SCNuLEAST16): Likewise. + [C99-based-standards] (SCNxLEAST16): Likewise. + [C99-based-standards] (PRIdFAST16): Likewise. + [C99-based-standards] (PRIiFAST16): Likewise. + [C99-based-standards] (PRIoFAST16): Likewise. + [C99-based-standards] (PRIuFAST16): Likewise. + [C99-based-standards] (PRIxFAST16): Likewise. + [C99-based-standards] (PRIXFAST16): Likewise. + [C99-based-standards] (SCNdFAST16): Likewise. + [C99-based-standards] (SCNiFAST16): Likewise. + [C99-based-standards] (SCNoFAST16): Likewise. + [C99-based-standards] (SCNuFAST16): Likewise. + [C99-based-standards] (SCNxFAST16): Likewise. + [C99-based-standards] (PRId32): Likewise. + [C99-based-standards] (PRIi32): Likewise. + [C99-based-standards] (PRIo32): Likewise. + [C99-based-standards] (PRIu32): Likewise. + [C99-based-standards] (PRIx32): Likewise. + [C99-based-standards] (PRIX32): Likewise. + [C99-based-standards] (SCNd32): Likewise. + [C99-based-standards] (SCNi32): Likewise. + [C99-based-standards] (SCNo32): Likewise. + [C99-based-standards] (SCNu32): Likewise. + [C99-based-standards] (SCNx32): Likewise. + [C99-based-standards] (PRIdLEAST32): Likewise. + [C99-based-standards] (PRIiLEAST32): Likewise. + [C99-based-standards] (PRIoLEAST32): Likewise. + [C99-based-standards] (PRIuLEAST32): Likewise. + [C99-based-standards] (PRIxLEAST32): Likewise. + [C99-based-standards] (PRIXLEAST32): Likewise. + [C99-based-standards] (SCNdLEAST32): Likewise. + [C99-based-standards] (SCNiLEAST32): Likewise. + [C99-based-standards] (SCNoLEAST32): Likewise. + [C99-based-standards] (SCNuLEAST32): Likewise. + [C99-based-standards] (SCNxLEAST32): Likewise. + [C99-based-standards] (PRIdFAST32): Likewise. + [C99-based-standards] (PRIiFAST32): Likewise. + [C99-based-standards] (PRIoFAST32): Likewise. + [C99-based-standards] (PRIuFAST32): Likewise. + [C99-based-standards] (PRIxFAST32): Likewise. + [C99-based-standards] (PRIXFAST32): Likewise. + [C99-based-standards] (SCNdFAST32): Likewise. + [C99-based-standards] (SCNiFAST32): Likewise. + [C99-based-standards] (SCNoFAST32): Likewise. + [C99-based-standards] (SCNuFAST32): Likewise. + [C99-based-standards] (SCNxFAST32): Likewise. + [C99-based-standards] (PRId64): Likewise. + [C99-based-standards] (PRIi64): Likewise. + [C99-based-standards] (PRIo64): Likewise. + [C99-based-standards] (PRIu64): Likewise. + [C99-based-standards] (PRIx64): Likewise. + [C99-based-standards] (PRIX64): Likewise. + [C99-based-standards] (SCNd64): Likewise. + [C99-based-standards] (SCNi64): Likewise. + [C99-based-standards] (SCNo64): Likewise. + [C99-based-standards] (SCNu64): Likewise. + [C99-based-standards] (SCNx64): Likewise. + [C99-based-standards] (PRIdLEAST64): Likewise. + [C99-based-standards] (PRIiLEAST64): Likewise. + [C99-based-standards] (PRIoLEAST64): Likewise. + [C99-based-standards] (PRIuLEAST64): Likewise. + [C99-based-standards] (PRIxLEAST64): Likewise. + [C99-based-standards] (PRIXLEAST64): Likewise. + [C99-based-standards] (SCNdLEAST64): Likewise. + [C99-based-standards] (SCNiLEAST64): Likewise. + [C99-based-standards] (SCNoLEAST64): Likewise. + [C99-based-standards] (SCNuLEAST64): Likewise. + [C99-based-standards] (SCNxLEAST64): Likewise. + [C99-based-standards] (PRIdFAST64): Likewise. + [C99-based-standards] (PRIiFAST64): Likewise. + [C99-based-standards] (PRIoFAST64): Likewise. + [C99-based-standards] (PRIuFAST64): Likewise. + [C99-based-standards] (PRIxFAST64): Likewise. + [C99-based-standards] (PRIXFAST64): Likewise. + [C99-based-standards] (SCNdFAST64): Likewise. + [C99-based-standards] (SCNiFAST64): Likewise. + [C99-based-standards] (SCNoFAST64): Likewise. + [C99-based-standards] (SCNuFAST64): Likewise. + [C99-based-standards] (SCNxFAST64): Likewise. + [C99-based-standards] (PRIdMAX): Likewise. + [C99-based-standards] (PRIiMAX): Likewise. + [C99-based-standards] (PRIoMAX): Likewise. + [C99-based-standards] (PRIuMAX): Likewise. + [C99-based-standards] (PRIxMAX): Likewise. + [C99-based-standards] (PRIXMAX): Likewise. + [C99-based-standards] (SCNdMAX): Likewise. + [C99-based-standards] (SCNiMAX): Likewise. + [C99-based-standards] (SCNoMAX): Likewise. + [C99-based-standards] (SCNuMAX): Likewise. + [C99-based-standards] (SCNxMAX): Likewise. + [C99-based-standards] (PRIdPTR): Likewise. + [C99-based-standards] (PRIiPTR): Likewise. + [C99-based-standards] (PRIoPTR): Likewise. + [C99-based-standards] (PRIuPTR): Likewise. + [C99-based-standards] (PRIxPTR): Likewise. + [C99-based-standards] (PRIXPTR): Likewise. + [C99-based-standards] (SCNdPTR): Likewise. + [C99-based-standards] (SCNiPTR): Likewise. + [C99-based-standards] (SCNoPTR): Likewise. + [C99-based-standards] (SCNuPTR): Likewise. + [C99-based-standards] (SCNxPTR): Likewise. + * conform/data/iso646.h-data [ISO C standards] (*_t): Do not + allow. + * conform/data/stdint.h-data: Update comments to clarify + requirements. + [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify + type. + [C99-based standards] (INT8_MAX): Likewise. + [C99-based standards] (INT16_MIN): Likewise. + [C99-based standards] (INT16_MAX): Likewise. + [C99-based standards] (INT32_MIN): Likewise. + [C99-based standards] (INT32_MAX): Likewise. + [C99-based standards] (INT64_MIN): Likewise. + [C99-based standards] (INT64_MAX): Likewise. + [C99-based standards] (UINT8_MAX): Likewise. + [C99-based standards] (UINT16_MAX): Likewise. + [C99-based standards] (UINT32_MAX): Likewise. + [C99-based standards] (UINT64_MAX): Likewise. + [C99-based standards] (INT_LEAST8_MIN): Likewise. + [C99-based standards] (INT_LEAST8_MAX): Likewise. + [C99-based standards] (INT_LEAST16_MIN): Likewise. + [C99-based standards] (INT_LEAST16_MAX): Likewise. + [C99-based standards] (INT_LEAST32_MIN): Likewise. + [C99-based standards] (INT_LEAST32_MAX): Likewise. + [C99-based standards] (INT_LEAST64_MIN): Likewise. + [C99-based standards] (INT_LEAST64_MAX): Likewise. + [C99-based standards] (UINT_LEAST8_MAX): Likewise. + [C99-based standards] (UINT_LEAST16_MAX): Likewise. + [C99-based standards] (UINT_LEAST32_MAX): Likewise. + [C99-based standards] (UINT_LEAST64_MAX): Likewise. + [C99-based standards] (INT_FAST8_MIN): Likewise. + [C99-based standards] (INT_FAST8_MAX): Likewise. + [C99-based standards] (INT_FAST16_MIN): Likewise. + [C99-based standards] (INT_FAST16_MAX): Likewise. + [C99-based standards] (INT_FAST32_MIN): Likewise. + [C99-based standards] (INT_FAST32_MAX): Likewise. + [C99-based standards] (INT_FAST64_MIN): Likewise. + [C99-based standards] (INT_FAST64_MAX): Likewise. + [C99-based standards] (UINT_FAST8_MAX): Likewise. + [C99-based standards] (UINT_FAST16_MAX): Likewise. + [C99-based standards] (UINT_FAST32_MAX): Likewise. + [C99-based standards] (UINT_FAST64_MAX): Likewise. + [C99-based standards] (INTPTR_MIN): Likewise. + [C99-based standards] (INTPTR_MAX): Likewise. + [C99-based standards] (UINTPTR_MAX): Likewise. + [C99-based standards] (INTMAX_MIN): Likewise. + [C99-based standards] (INTMAX_MAX): Likewise. + [C99-based standards] (UINTMAX_MAX): Likewise. + [C99-based standards] (PTRDIFF_MIN): Likewise. + [C99-based standards] (PTRDIFF_MAX): Likewise. + [C99-based standards] (SIG_ATOMIC_MAX): Likewise. + [C99-based standards] (SIZE_MAX): Likewise. + [C99-based standards] (WCHAR_MAX): Likewise. + [C99-based standards] (WINT_MAX): Likewise. + [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify + constraint on value. + [C99-based standards] (WCHAR_MIN): Likewise. + [C99-based standards] (WINT_MIN): Likewise. + [C99-based standards] (*_t): Allow. + * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change + condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98]. + Include math.h-data and complex.h-data. Remove all expectations + of math.h and complex.h contents. + * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16" + at end of line. + * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4] + (struct tm): Expect tag. + [C99-based-standards] (wcstof): Expect function. + [C99-based-standards] (wcstold): Likewise. + [C99-based-standards] (wcstoll): Likewise. + [C99-based-standards] (wcstoull): Likewise. + [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use + macro-int-constant. Specify type. + [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify + constraint on value. + [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant. + Specify type. + [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant. + Specify value. + [ISO C standards]: Do not allow headers. + [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to + wcs[abcdefghijklmnopqrstuvwxyz]*. + [ISO C standards] (*_t): Do not allow. + * conform/data/wctype.h-data [C99-based standards] (iswblank): + Expect function. + [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise. + [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant. + Specify type. + [ISO C standards]: Do not allow headers. + [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to + is[abcdefghijklmnopqrstuvwxyz]*. + [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to + to[abcdefghijklmnopqrstuvwxyz]*. + [ISO C standards] (*_t): Do not allow. + * conform/data/stdalign.h-data: New file. + * conform/data/stdbool.h-data: Likewise. + * conform/data/stdnoreturn.h-data: Likewise. + +2012-11-07 Roland McGrath + + [BZ #14815] + * manual/filesys.texi (Directory Entries): Typo fix. + Reported by . + +2012-11-07 Marcus Shawcroft + + * elf/elf.h (EM_AARCH64): New macro. + (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise. + (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise. + (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise. + (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise. + (R_AARCH64_TLSDESC): Likewise. + (NT_ARM_TLS): Likewise. + (NT_ARM_HW_BREAK): Likewise. + (NT_ARM_HW_WATCH): Likewise. + +2012-11-07 Joseph Myers + + [BZ #14811] + * sysdeps/i386/fpu/e_powl.S (pm79): New object. + (__ieee754_powl): Saturate nonzero exponents with absolute value + below 0x1p-79 to +/- 0x1p-79. + * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero + exponents with absolute value below 0x1p-64 to +/- 0x1p-64. + * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate + nonzero exponents with absolute value below 0x1p-32 to +/- + 0x1p-32. + * sysdeps/x86_64/fpu/e_powl.S (pm79): New object. + (__ieee754_powl): Saturate nonzero exponents with absolute value + below 0x1p-79 to +/- 0x1p-79. + * math/libm-test.inc (pow_test): Add more tests. + +2012-11-07 Andreas Krebbel + + * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync + _dl_s390_cap_flags with kernel. Increase string length. + (_dl_s390_platforms): Add z196 and zEC12. + +2012-11-07 Joseph Myers + + * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]: + Change XOPEN21K to XOPEN2K. + +2012-11-06 Maxim Kuvyrkov + + * string/memmove.c: Use memcpy when possible. + +2012-11-06 Andreas Jaeger + + * po/eo.po: Update from translation team. + +2012-11-06 Joseph Myers + + [BZ #14793] + * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z + exponent and small x and y exponents, scale x or y up. Increase + by 2 the exponent used in scaling up. + * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise. + * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise. + * math/libm-test.inc (fma_test): Add more tests. + (fma_test_towardzero): Likewise. + (fma_test_downward): Likewise. + (fma_test_upward): Likewise. + +2012-11-05 Joseph Myers + + [BZ #14805] + * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const + fenv_t *. + + [BZ #14801] + * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation + namespace for names of struct fields. + * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to + fenv_t fields. + * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise. + * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise. + +2012-11-04 Samuel Thibault + + [BZ #3665] + * sysdeps/mach/hurd/bits/errno.h: Regenerated. + +2012-11-04 Thomas Schwinge + + * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of + PTR_DEMANGLE. + + [BZ #5246] + * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of + PTR_DEMANGLE. + +2012-11-04 Joseph Myers + + [BZ #14797] + * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that + definitely overflow as x * y not x * y + z. + * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise. + * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise. + * math/libm-test.inc (fma_test): Add more tests. + (fma_test_towardzero): Likewise. + (fma_test_downward): Likewise. + (fma_test_upward): Likewise. + +2012-11-04 Thomas Schwinge + + [BZ #157] + + * include/stub-tag.h: Remove file. + * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit + '#include' of it. + * manual/maint.texi (Porting): Don't reference it. + * Makerules ($(objpfx)stubs): Likewise. + * dirent/closedir.c: Don't include . + * dirent/dirfd.c: Likewise. + * dirent/fdopendir.c: Likewise. + * dirent/getdents.c: Likewise. + * dirent/getdents64.c: Likewise. + * dirent/opendir.c: Likewise. + * dirent/readdir.c: Likewise. + * dirent/readdir64.c: Likewise. + * dirent/readdir64_r.c: Likewise. + * dirent/readdir_r.c: Likewise. + * dirent/rewinddir.c: Likewise. + * dirent/seekdir.c: Likewise. + * dirent/telldir.c: Likewise. + * gmon/profil.c: Likewise. + * grp/setgroups.c: Likewise. + * inet/if_index.c: Likewise. + * io/access.c: Likewise. + * io/chdir.c: Likewise. + * io/chmod.c: Likewise. + * io/chown.c: Likewise. + * io/close.c: Likewise. + * io/dup.c: Likewise. + * io/dup2.c: Likewise. + * io/dup3.c: Likewise. + * io/euidaccess.c: Likewise. + * io/faccessat.c: Likewise. + * io/fchdir.c: Likewise. + * io/fchmod.c: Likewise. + * io/fchmodat.c: Likewise. + * io/fchown.c: Likewise. + * io/fchownat.c: Likewise. + * io/fcntl.c: Likewise. + * io/flock.c: Likewise. + * io/fstatfs.c: Likewise. + * io/fstatfs64.c: Likewise. + * io/fstatvfs.c: Likewise. + * io/fstatvfs64.c: Likewise. + * io/futimens.c: Likewise. + * io/fxstat.c: Likewise. + * io/fxstat64.c: Likewise. + * io/fxstatat.c: Likewise. + * io/fxstatat64.c: Likewise. + * io/getcwd.c: Likewise. + * io/isatty.c: Likewise. + * io/lchmod.c: Likewise. + * io/lchown.c: Likewise. + * io/link.c: Likewise. + * io/linkat.c: Likewise. + * io/lseek.c: Likewise. + * io/lseek64.c: Likewise. + * io/lxstat64.c: Likewise. + * io/mkdir.c: Likewise. + * io/mkdirat.c: Likewise. + * io/mkfifo.c: Likewise. + * io/mkfifoat.c: Likewise. + * io/open.c: Likewise. + * io/open64.c: Likewise. + * io/openat.c: Likewise. + * io/openat64.c: Likewise. + * io/pipe.c: Likewise. + * io/pipe2.c: Likewise. + * io/poll.c: Likewise. + * io/posix_fadvise.c: Likewise. + * io/posix_fadvise64.c: Likewise. + * io/posix_fallocate.c: Likewise. + * io/posix_fallocate64.c: Likewise. + * io/read.c: Likewise. + * io/readlink.c: Likewise. + * io/readlinkat.c: Likewise. + * io/rmdir.c: Likewise. + * io/sendfile.c: Likewise. + * io/sendfile64.c: Likewise. + * io/statfs.c: Likewise. + * io/statfs64.c: Likewise. + * io/statvfs.c: Likewise. + * io/statvfs64.c: Likewise. + * io/symlink.c: Likewise. + * io/symlinkat.c: Likewise. + * io/ttyname.c: Likewise. + * io/ttyname_r.c: Likewise. + * io/umask.c: Likewise. + * io/unlink.c: Likewise. + * io/unlinkat.c: Likewise. + * io/utime.c: Likewise. + * io/utimensat.c: Likewise. + * io/write.c: Likewise. + * io/xmknod.c: Likewise. + * io/xmknodat.c: Likewise. + * io/xstat.c: Likewise. + * io/xstat64.c: Likewise. + * login/getpt.c: Likewise. + * login/grantpt.c: Likewise. + * login/unlockpt.c: Likewise. + * math/e_acoshl.c: Likewise. + * math/e_acosl.c: Likewise. + * math/e_asinl.c: Likewise. + * math/e_atan2l.c: Likewise. + * math/e_atanhl.c: Likewise. + * math/e_coshl.c: Likewise. + * math/e_expl.c: Likewise. + * math/e_fmodl.c: Likewise. + * math/e_gammal_r.c: Likewise. + * math/e_hypotl.c: Likewise. + * math/e_j0l.c: Likewise. + * math/e_j1l.c: Likewise. + * math/e_jnl.c: Likewise. + * math/e_lgammal_r.c: Likewise. + * math/e_log10l.c: Likewise. + * math/e_log2l.c: Likewise. + * math/e_logl.c: Likewise. + * math/e_powl.c: Likewise. + * math/e_rem_pio2l.c: Likewise. + * math/e_sinhl.c: Likewise. + * math/e_sqrtl.c: Likewise. + * math/fclrexcpt.c: Likewise. + * math/fedisblxcpt.c: Likewise. + * math/feenablxcpt.c: Likewise. + * math/fegetenv.c: Likewise. + * math/fegetexcept.c: Likewise. + * math/fegetround.c: Likewise. + * math/feholdexcpt.c: Likewise. + * math/fesetenv.c: Likewise. + * math/fesetround.c: Likewise. + * math/feupdateenv.c: Likewise. + * math/fgetexcptflg.c: Likewise. + * math/fraiseexcpt.c: Likewise. + * math/fsetexcptflg.c: Likewise. + * math/ftestexcept.c: Likewise. + * math/k_cosl.c: Likewise. + * math/k_rem_pio2l.c: Likewise. + * math/k_sinl.c: Likewise. + * math/k_tanl.c: Likewise. + * math/s_asinhl.c: Likewise. + * math/s_atanl.c: Likewise. + * math/s_cbrtl.c: Likewise. + * math/s_erfl.c: Likewise. + * math/s_expm1l.c: Likewise. + * math/s_log1pl.c: Likewise. + * math/s_tanhl.c: Likewise. + * misc/acct.c: Likewise. + * misc/brk.c: Likewise. + * misc/chflags.c: Likewise. + * misc/chroot.c: Likewise. + * misc/fchflags.c: Likewise. + * misc/fgetxattr.c: Likewise. + * misc/flistxattr.c: Likewise. + * misc/fremovexattr.c: Likewise. + * misc/fsetxattr.c: Likewise. + * misc/fsync.c: Likewise. + * misc/ftruncate.c: Likewise. + * misc/futimes.c: Likewise. + * misc/futimesat.c: Likewise. + * misc/getdomain.c: Likewise. + * misc/getdtsz.c: Likewise. + * misc/gethostid.c: Likewise. + * misc/gethostname.c: Likewise. + * misc/getloadavg.c: Likewise. + * misc/getpagesize.c: Likewise. + * misc/getsysstats.c: Likewise. + * misc/getxattr.c: Likewise. + * misc/gtty.c: Likewise. + * misc/ioctl.c: Likewise. + * misc/lgetxattr.c: Likewise. + * misc/listxattr.c: Likewise. + * misc/llistxattr.c: Likewise. + * misc/lremovexattr.c: Likewise. + * misc/lsetxattr.c: Likewise. + * misc/lutimes.c: Likewise. + * misc/madvise.c: Likewise. + * misc/mincore.c: Likewise. + * misc/mlock.c: Likewise. + * misc/mlockall.c: Likewise. + * misc/mmap.c: Likewise. + * misc/mprotect.c: Likewise. + * misc/msync.c: Likewise. + * misc/munlock.c: Likewise. + * misc/munlockall.c: Likewise. + * misc/munmap.c: Likewise. + * misc/preadv.c: Likewise. + * misc/preadv64.c: Likewise. + * misc/ptrace.c: Likewise. + * misc/pwritev.c: Likewise. + * misc/pwritev64.c: Likewise. + * misc/readv.c: Likewise. + * misc/reboot.c: Likewise. + * misc/remap_file_pages.c: Likewise. + * misc/removexattr.c: Likewise. + * misc/revoke.c: Likewise. + * misc/select.c: Likewise. + * misc/setdomain.c: Likewise. + * misc/setegid.c: Likewise. + * misc/seteuid.c: Likewise. + * misc/sethostid.c: Likewise. + * misc/sethostname.c: Likewise. + * misc/setregid.c: Likewise. + * misc/setreuid.c: Likewise. + * misc/setxattr.c: Likewise. + * misc/sstk.c: Likewise. + * misc/stty.c: Likewise. + * misc/swapoff.c: Likewise. + * misc/swapon.c: Likewise. + * misc/sync.c: Likewise. + * misc/syncfs.c: Likewise. + * misc/syscall.c: Likewise. + * misc/truncate.c: Likewise. + * misc/ualarm.c: Likewise. + * misc/usleep.c: Likewise. + * misc/ustat.c: Likewise. + * misc/utimes.c: Likewise. + * misc/vhangup.c: Likewise. + * misc/writev.c: Likewise. + * posix/_exit.c: Likewise. + * posix/alarm.c: Likewise. + * posix/execve.c: Likewise. + * posix/fexecve.c: Likewise. + * posix/fork.c: Likewise. + * posix/fpathconf.c: Likewise. + * posix/getaddrinfo.c: Likewise. + * posix/getegid.c: Likewise. + * posix/geteuid.c: Likewise. + * posix/getgid.c: Likewise. + * posix/getgroups.c: Likewise. + * posix/getlogin.c: Likewise. + * posix/getlogin_r.c: Likewise. + * posix/getpgid.c: Likewise. + * posix/getpid.c: Likewise. + * posix/getppid.c: Likewise. + * posix/getresgid.c: Likewise. + * posix/getresuid.c: Likewise. + * posix/getsid.c: Likewise. + * posix/getuid.c: Likewise. + * posix/glob64.c: Likewise. + * posix/nanosleep.c: Likewise. + * posix/pathconf.c: Likewise. + * posix/pause.c: Likewise. + * posix/posix_madvise.c: Likewise. + * posix/pread.c: Likewise. + * posix/pread64.c: Likewise. + * posix/pwrite.c: Likewise. + * posix/pwrite64.c: Likewise. + * posix/sched_getaffinity.c: Likewise. + * posix/sched_getp.c: Likewise. + * posix/sched_gets.c: Likewise. + * posix/sched_primax.c: Likewise. + * posix/sched_primin.c: Likewise. + * posix/sched_rr_gi.c: Likewise. + * posix/sched_setaffinity.c: Likewise. + * posix/sched_setp.c: Likewise. + * posix/sched_sets.c: Likewise. + * posix/sched_yield.c: Likewise. + * posix/setgid.c: Likewise. + * posix/setlogin.c: Likewise. + * posix/setpgid.c: Likewise. + * posix/setresgid.c: Likewise. + * posix/setresuid.c: Likewise. + * posix/setsid.c: Likewise. + * posix/setuid.c: Likewise. + * posix/sleep.c: Likewise. + * posix/spawni.c: Likewise. + * posix/sysconf.c: Likewise. + * posix/times.c: Likewise. + * posix/wait.c: Likewise. + * posix/wait3.c: Likewise. + * posix/wait4.c: Likewise. + * posix/waitpid.c: Likewise. + * resolv/gai_sigqueue.c: Likewise. + * resource/getpriority.c: Likewise. + * resource/getrlimit.c: Likewise. + * resource/getrusage.c: Likewise. + * resource/nice.c: Likewise. + * resource/setpriority.c: Likewise. + * resource/setrlimit.c: Likewise. + * resource/ulimit.c: Likewise. + * rt/aio_cancel.c: Likewise. + * rt/aio_fsync.c: Likewise. + * rt/aio_read.c: Likewise. + * rt/aio_sigqueue.c: Likewise. + * rt/aio_suspend.c: Likewise. + * rt/aio_write.c: Likewise. + * rt/clock_getres.c: Likewise. + * rt/clock_gettime.c: Likewise. + * rt/clock_nanosleep.c: Likewise. + * rt/clock_settime.c: Likewise. + * rt/lio_listio.c: Likewise. + * rt/mq_close.c: Likewise. + * rt/mq_getattr.c: Likewise. + * rt/mq_notify.c: Likewise. + * rt/mq_open.c: Likewise. + * rt/mq_receive.c: Likewise. + * rt/mq_send.c: Likewise. + * rt/mq_setattr.c: Likewise. + * rt/mq_timedreceive.c: Likewise. + * rt/mq_timedsend.c: Likewise. + * rt/mq_unlink.c: Likewise. + * rt/shm_open.c: Likewise. + * rt/shm_unlink.c: Likewise. + * rt/timer_create.c: Likewise. + * rt/timer_delete.c: Likewise. + * rt/timer_getoverr.c: Likewise. + * rt/timer_gettime.c: Likewise. + * rt/timer_settime.c: Likewise. + * setjmp/__longjmp.c: Likewise. + * setjmp/setjmp.c: Likewise. + * signal/kill.c: Likewise. + * signal/killpg.c: Likewise. + * signal/raise.c: Likewise. + * signal/sigaction.c: Likewise. + * signal/sigaltstack.c: Likewise. + * signal/sigblock.c: Likewise. + * signal/sigignore.c: Likewise. + * signal/sigintr.c: Likewise. + * signal/signal.c: Likewise. + * signal/sigpause.c: Likewise. + * signal/sigpending.c: Likewise. + * signal/sigqueue.c: Likewise. + * signal/sigreturn.c: Likewise. + * signal/sigset.c: Likewise. + * signal/sigsetmask.c: Likewise. + * signal/sigstack.c: Likewise. + * signal/sigsuspend.c: Likewise. + * signal/sigtimedwait.c: Likewise. + * signal/sigvec.c: Likewise. + * signal/sigwait.c: Likewise. + * signal/sigwaitinfo.c: Likewise. + * signal/sysv_signal.c: Likewise. + * socket/accept.c: Likewise. + * socket/accept4.c: Likewise. + * socket/bind.c: Likewise. + * socket/connect.c: Likewise. + * socket/getpeername.c: Likewise. + * socket/getsockname.c: Likewise. + * socket/getsockopt.c: Likewise. + * socket/isfdtype.c: Likewise. + * socket/listen.c: Likewise. + * socket/recv.c: Likewise. + * socket/recvfrom.c: Likewise. + * socket/recvmsg.c: Likewise. + * socket/send.c: Likewise. + * socket/sendmsg.c: Likewise. + * socket/sendto.c: Likewise. + * socket/setsockopt.c: Likewise. + * socket/shutdown.c: Likewise. + * socket/sockatmark.c: Likewise. + * socket/socket.c: Likewise. + * socket/socketpair.c: Likewise. + * stdio-common/ctermid.c: Likewise. + * stdio-common/cuserid.c: Likewise. + * stdio-common/remove.c: Likewise. + * stdio-common/rename.c: Likewise. + * stdio-common/renameat.c: Likewise. + * stdio-common/tempname.c: Likewise. + * stdlib/getcontext.c: Likewise. + * stdlib/makecontext.c: Likewise. + * stdlib/setcontext.c: Likewise. + * stdlib/swapcontext.c: Likewise. + * stdlib/system.c: Likewise. + * streams/fattach.c: Likewise. + * streams/fdetach.c: Likewise. + * streams/getmsg.c: Likewise. + * streams/getpmsg.c: Likewise. + * streams/putmsg.c: Likewise. + * streams/putpmsg.c: Likewise. + * sysdeps/unix/bsd/getpt.c: Likewise. + * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise. + * sysdeps/unix/sysv/linux/futimens.c: Likewise. + * sysdeps/unix/sysv/linux/lutimes.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c: + Likewise. + * sysdeps/unix/sysv/linux/readahead.c: Likewise. + * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise. + * sysdeps/unix/sysv/linux/utimensat.c: Likewise. + * sysvipc/msgctl.c: Likewise. + * sysvipc/msgget.c: Likewise. + * sysvipc/msgrcv.c: Likewise. + * sysvipc/msgsnd.c: Likewise. + * sysvipc/semctl.c: Likewise. + * sysvipc/semget.c: Likewise. + * sysvipc/semop.c: Likewise. + * sysvipc/semtimedop.c: Likewise. + * sysvipc/shmat.c: Likewise. + * sysvipc/shmctl.c: Likewise. + * sysvipc/shmdt.c: Likewise. + * sysvipc/shmget.c: Likewise. + * termios/tcdrain.c: Likewise. + * termios/tcflow.c: Likewise. + * termios/tcflush.c: Likewise. + * termios/tcgetattr.c: Likewise. + * termios/tcgetpgrp.c: Likewise. + * termios/tcsendbrk.c: Likewise. + * termios/tcsetattr.c: Likewise. + * termios/tcsetpgrp.c: Likewise. + * time/adjtime.c: Likewise. + * time/clock.c: Likewise. + * time/getitimer.c: Likewise. + * time/gettimeofday.c: Likewise. + * time/setitimer.c: Likewise. + * time/settimeofday.c: Likewise. + * time/stime.c: Likewise. + * time/time.c: Likewise. + +2012-11-04 Pino Toscano + + * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and + /usr/old/bin. + + * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs + instead of spaces. + * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise. + +2012-11-03 Joseph Myers + + [BZ #14796] + * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to + FE_TONEAREST before applying Dekker multiplication and Knuth + addition. Clear inexact exceptions and check for exact zero + results afterwards. + * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise. + * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise. + * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise. + * math/libm-test.inc (fma_test): Add more tests. + (fma_test_towardzero): Likewise. + (fma_test_downward): Likewise. + (fma_test_upward): Likewise. + * sysdeps/generic/math_private.h (default_libc_fesetround): New + function. + (libc_fesetround): New macro. + (libc_fesetroundf): Likewise. + (libc_fesetroundl): Likewise. + * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New + function. + (libc_fesetround_387): Likewise. + (libc_fesetroundf): New macro. + (libc_fesetround): Likewise. + (libc_fesetroundl): Likewise. + * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New + function. + (libc_fesetroundf): New macro. + (libc_fesetround): Likewise. + (libc_fesetroundl): Likewise. + * include/fenv.h (feclearexcept): Add libm_hidden_proto. + * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver. + * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add + libm_hidden_ver. + * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise. + * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add + libm_hidden_def. + * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise. + * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add + libm_hidden_ver. + * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add + libm_hidden_def. + + [BZ #3439] + * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to + integer constant usable in #if and use that to give value to enum + constant. + (FE_DIVBYZERO): Likewise. + (FE_UNDERFLOW): Likewise. + (FE_OVERFLOW): Likewise. + (FE_INVALID): Likewise. + (FE_INVALID_SNAN): Likewise. + (FE_INVALID_ISI): Likewise. + (FE_INVALID_IDI): Likewise. + (FE_INVALID_ZDZ): Likewise. + (FE_INVALID_IMZ): Likewise. + (FE_INVALID_COMPARE): Likewise. + (FE_INVALID_SOFTWARE): Likewise. + (FE_INVALID_SQRT): Likewise. + (FE_INVALID_INTEGER_CONVERSION): Likewise. + (FE_TONEAREST): Likewise. + (FE_TOWARDZERO): Likewise. + (FE_UPWARD): Likewise. + (FE_DOWNWARD): Likewise. + * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise. + (FE_DIVBYZERO): Likewise. + (FE_OVERFLOW): Likewise. + (FE_UNDERFLOW): Likewise. + (FE_INEXACT): Likewise. + (FE_TONEAREST): Likewise. + (FE_DOWNWARD): Likewise. + (FE_UPWARD): Likewise. + (FE_TOWARDZERO): Likewise. + * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise. + (FE_UNDERFLOW): Likewise. + (FE_OVERFLOW): Likewise. + (FE_DIVBYZERO): Likewise. + (FE_INVALID): Likewise. + (FE_TONEAREST): Likewise. + (FE_TOWARDZERO): Likewise. + * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise. + (FE_OVERFLOW): Likewise. + (FE_UNDERFLOW): Likewise. + (FE_DIVBYZERO): Likewise. + (FE_INEXACT): Likewise. + (FE_TONEAREST): Likewise. + (FE_TOWARDZERO): Likewise. + (FE_UPWARD): Likewise. + (FE_DOWNWARD): Likewise. + * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise. + (FE_DIVBYZERO): Likewise. + (FE_OVERFLOW): Likewise. + (FE_UNDERFLOW): Likewise. + (FE_INEXACT): Likewise. + (FE_TONEAREST): Likewise. + (FE_DOWNWARD): Likewise. + (FE_UPWARD): Likewise. + (FE_TOWARDZERO): Likewise. + +2012-11-02 Chris Metcalf + + * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add. + +2012-11-03 Andreas Schwab + + * scripts/cross-test-ssh.sh (command): Use newlines to separate + commands. Quote $PWD. + (blacklist_exports): Don't use remove_newlines. Replace "declare + -x" by "export". + (remove_newlines): Remove. + +2012-11-02 H.J. Lu + + * stdlib/Makefile (headers): Add bits/stdlib-float.h. + * stdlib/stdlib.h (atof): Moved to ... + * include/bits/stdlib-float.h: Here. New file. + * stdlib/stdlib.h: Include . + * stdlib/bits/stdlib-float.h: New file. + * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with + -mno-sse -mno-mmx. + * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include + . + +2012-11-02 Joseph Myers + + * conform/conformtest.pl (@headers): Add fenv.h. + * conform/data/fenv.h-data: New file. + * include/fenv.h [_ISOMAC]: Disable all contents of file except + include of . + + * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K || + POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4 + && !UNIX98]. Enables tests for XOPEN2K8. + * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K || + POSIX2008]: Likewise. + + * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008] + (struct rusage): Do not expect type or its members. + + [BZ #3439] + * math/math.h (FP_NAN): Define macro to integer constant usable in + #if and use that to give value to enum constant. + (FP_INFINITE): Likewise. + (FP_ZERO): Likewise. + (FP_SUBNORMAL): Likewise. + (FP_NORMAL): Likewise. + +2012-11-02 Andreas Schwab + + * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments. + * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t + arguments. + +2012-11-02 Roland McGrath + + * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro. + Check that AC_AUTOCONF_VERSION matches it and m4_fatal at + autoconf-time if not. + * configure.in: Remove AC_PREREQ. + +2012-11-02 Tulio Magno Quites Machado Filho + + * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use + __builtin_ppc_get_timebase when building with GCC >= 4.8 instead + of the internal implementation. + +2012-11-02 Joseph Myers + + * include/sys/syslog.h [_ISOMAC]: Disable all contents of file + except include of . + +2012-11-01 Andreas Schwab + + * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the + function returns with a NULL context exit with zero. + +2012-11-01 Tulio Magno Quites Machado Filho + + * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics. + +2012-11-01 H.J. Lu + + * catgets/test-gencat.sh (run_program_prefix): Renamed to ... + (run_program_cmd): This. + * localedata/tst-langinfo.sh (run_program_prefix): Removed. + (tst_langinfo): New variable. Use it. + +2012-11-01 Sebastan Andrzej Siewior + + * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around + floating point opcodes. + +2012-11-01 Thomas Schwinge + + * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New + variable. + + * elf/dl-support.c: Unconditionally include "setup-vdso.h". + + * sysdeps/mach/hurd/powerpc: Remove directory. + * sysdeps/mach/powerpc: Likewise. + +2012-11-01 Andreas Schwab + + * scripts/check-local-headers.sh: Ignore c++ headers. + +2012-11-01 Thomas Schwinge + + * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for + __libc_cleanup_region_start argument. + +2012-11-01 Joseph Myers + + [BZ #14784] + [BZ #14785] + * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small + x * y using scaling, not as x * y + z. + * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise. + * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise. + * math/libm-test.inc (fma_test): Add more tests. + (fma_test_towardzero): Likewise. + (fma_test_downward): Likewise. + (fma_test_upward): Likewise. + +2012-11-01 Thomas Schwinge + + * sysdeps/mach/hurd/bits/param.h: Remove stray #endif. + +2012-10-31 Joseph Myers + + * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c): + New variable. + +2012-10-31 Thomas Schwinge + + * rt/tst-shm.c (worker): Correct checking for mmap failure. + +2012-10-31 Andreas Schwab + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist: + Fix sort order. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: + Likewise. + +2012-10-31 Tulio Magno Quites Machado Filho + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist: + Fix the order of the list for glibc 2.17. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: + Likewise. + +2012-10-31 Andreas Schwab + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2012-10-31 Joseph Myers + + [BZ #14610] + * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check + for low part of x being zero before using __atanl (y). + * math/libm-test.inc (atan2_test): Add another test. + + * manual/install.texi (Configuring and compiling): Document + general use of test-wrapper and test-wrapper-env. + * INSTALL: Regenerated. + + * sysdeps/ieee754/dbl-64/s_fma.c: Include . + (__fma): Do not extract and scale down low bits on after-rounding + systems when result rounded to normal precision would have normal + exponent. + * sysdeps/ieee754/ldbl-128/s_fmal.c: Include . + (__fmal): Do not extract and scale down low bits on after-rounding + systems when result rounded to normal precision would have normal + exponent. + * sysdeps/ieee754/ldbl-96/s_fmal.c: Include . + (__fmal): Do not extract and scale down low bits on after-rounding + systems when result rounded to normal precision would have normal + exponent. + * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New + macro. + (fma_test): Add more tests. + (fma_test_towardzero): Likewise. + (fma_test_downward): Likewise. + (fma_test_upward): Likewise. + +2012-10-30 H.J. Lu + + * sysdeps/i386/tininess.h: Renamed to ... + * sysdeps/x86/tininess.h: This. + * sysdeps/x86_64/tininess.h: Removed. + +2012-10-30 Joseph Myers + + * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison + input. Use $(build-program-cmd). + ($(objpfx)tst-array1-static.out): Likewise. + ($(objpfx)tst-array2.out): Likewise. + ($(objpfx)tst-array3.out): Likewise. + ($(objpfx)tst-array4.out): Likewise. + ($(objpfx)tst-array5.out): Likewise. + ($(objpfx)tst-array5-static.out): Likewise. + +2012-10-30 Chris Metcalf + + * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD + if defined. + + * nss/nsswitch.h (nss_interface_function): Provide new + macro for use with NSS functions. + * grp/initgroups.c: Use new macro. + * nss/getXXbyYY.c: Likewise. + * nss/getXXbyYY_r.c: Likewise. + * nss/getXXent.c: Likewise. + * nss/getXXent_r.c: Likewise. + * sysdeps/posix/getaddrinfo.c: Likewise. + +2012-10-30 Andreas Jaeger + + * po/ru.po: Update Russion translation from translation project. + +2012-10-30 Joseph Myers + + [BZ #14152] + [BZ #14783] + * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of + result and shift together with sticky bit instead of replicating + round-to-nearest rounding. + * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise. + * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise. + * math/libm-test.inc (fma_test): Add more tests. Do not permit + missing underflow exceptions. + (fma_test_towardzero): Add more tests. + (fma_test_downward): Likewise. + (fma_test_upward): Likewise. + + [BZ #14047] + * sysdeps/generic/tininess.h: New file. + * sysdeps/i386/tininess.h: Likewise. + * sysdeps/sh/tininess.h: Likewise. + * sysdeps/x86_64/tininess.h: Likewise. + * stdlib/tst-strtod-underflow.c: Likewise. + * stdlib/tst-tininess.c: Likewise. + * stdlib/strtod_l.c: Include . + (round_and_return): Do not set errno for exact underflow cases. + Force an underflow exception when setting errno for underflow. + Determine underflow based on rounding to normal precision if + TININESS_AFTER_ROUNDING. + * stdlib/tst-strtod.c (tests): Do not expect errno to be set to + ERANGE for exact underflow cases. + * stdlib/Makefile (tests): Add tst-tininess and + tst-strtod-underflow. + ($(objpfx)tst-tininess): Use $(link-libm). + ($(objpfx)tst-strtod-underflow): Likewise. + +2012-10-30 Andreas Jaeger + + [BZ #14767] + * elf/Makefile (tests): Remove conditional for have-initfini-array + since this is now always required and the variable does not exist + anymore. + (tests-static): Likewise. + (modules-names): Likewise. + + * po/eo.po: Add Esperanto translation from translation project. + + * elf/tst-array1.c (fini_array): Make writeable so that it can be + merged with constructor/destructor. + (init_array): Likewise. + * elf/tst-array2dep.c (fini_array): Likewise. + (init_array): Likewise. + +2012-10-29 Mike Frysinger + + * manual/message.texi: Delete @cartouche tags. + +2012-10-29 Pino Toscano + + * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is + EOPNOTSUPP. + * sysdeps/mach/hurd/fsync.c: Likewise. + + * sysdeps/pthread/aio_notify.c (__aio_notify_only) + [_POSIX_REALTIME_SIGNALS]: Change condition to + [_POSIX_REALTIME_SIGNALS > 0]. + +2012-10-27 Andreas Jaeger + + * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE) + [!__x86_64]: Do not define, take value from . + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): + [__WORDSIZE != 64]: Likewise. + +2012-10-26 H.J. Lu + + * iconvdata/tst-table.sh: Remove ${SHELL}. + * iconvdata/tst-tables.sh: Likewise. + +2012-10-25 David S. Miller + + * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c + (__get_clockfreq_via_proc_openprom): Use strtoumax instead + of strtoull. + + * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for + ifunc-impl-list.c + * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise. + * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file. + * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New + file. + +2012-10-25 Roland McGrath + + * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c + (__get_clockfreq_via_proc_openprom): Use __getdents instead of + __getdirentries. + +2012-10-25 Joseph Myers + Jim Blandy + + * scripts/cross-test-ssh.sh: New file. + * manual/install.texi (Configuring and compiling): Document use of + cross-test-ssh.sh. + * INSTALL: Regenerated. + +2012-10-25 Pino Toscano + + * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return + EOPNOTSUPP. + +2012-10-25 Joseph Myers + + * Makeconfig (run-program-prefix): Fix comment. + +2012-10-24 Joseph Myers + Jim Blandy + + * Makeconfig (test-wrapper): New variable, + (test-wrapper-env): Likewise. + [$(cross-compiling) = yes && $(test-wrapper) != ""] + (run-built-tests): Define to yes. + (run-program-prefix): Use $(test-wrapper). + (built-program-cmd): Likewise. + * Rules (make-test-out): Use $(test-wrapper-env) and + $(host-built-program-cmd). + * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper). + ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to + tst-pathopt.sh. + ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and + $(test-wrapper-env) to tst-rtld-load-self.sh. + ($(objpfx)order2.out): Use $(test-wrapper). + ($(objpfx)tst-initorder.out): Likewise. + ($(objpfx)tst-initorder2.out): Likewise. + ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env). + * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable. + (test_wrapper_env): New variable. Use it to run ld.so. + * elf/tst-rtld-load-self.sh (test_wrapper): New variable. + Use it to run ld.so. + (test_wrapper_env): Likewise. + * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass + $(test-wrapper) to run-iconv-test.sh. + * iconvdata/run-iconv-test.sh (test_wrapper): New variable. + (ICONV): Use $test_wrapper. + * posix/Makefile ($(objpfx)globtest.out): Pass + $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to + globtest.sh, not $(run-program-prefix). + * posix/globtest.sh (run_via_rtld_prefix): New variable. + (test_wrapper): Likewise. + (test_wrapper_env): Likewise. Use it to run globtest with HOME + set together with run_via_rtld_prefix. + (run_program_prefix): Define in terms of test_wrapper and + run_via_rtld_prefix. + +2012-10-24 Roland McGrath + + * nscd/Makefile ($(objpfx)nscd): Remove librt dependency. + * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2): + Targets removed. + + [BZ #14743] + * include/time.h: Remove librt_hidden_proto (clock_gettime). + Declare __clock_getres, __clock_gettime, __clock_settime, + __clock_nanosleep, and __clock_getcpuclockid. + * rt/clock_gettime.c: Define __clock_gettime as an alias. + Remove librt_hidden_def (clock_gettime). + * sysdeps/unix/clock_gettime.c: Likewise. + * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias. + * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise. + * rt/clock_getres.c: Define __clock_getres as an alias. + * sysdeps/posix/clock_getres.c: Likewise. + * rt/clock_settime.c: Define __clock_settime as an alias. + * sysdeps/unix/clock_settime.c: Likewise. + * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias. + * sysdeps/unix/clock_nanosleep.c: Likewise. + * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise. + * rt/clock-compat.c: New file. + * rt/Makefile (librt-routines): Add clock-compat and move + $(clock-routines) to ... + (routines): ... here, new variable. + * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines): + Don't add get_clockfreq here. + * rt/Versions (libc: GLIBC_2.17): New version set. + Add clock_* symbols here. + (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here. + * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist + (GLIBC_2.17): Add clock_* symbols. + * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist: + Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise. + * NEWS: Mention the move. + + * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq): + Use __open, __read, __close rather than their public counterparts. + * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c + (__get_clockfreq_via_cpuinfo): Likewise. + (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries. + (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl. + + * config.h.in (HAVE_IFUNC): New #undef. + * configure.in: Define it if libc_cv_ld_gnu_indirect_function + was successful. + * configure: Regenerated. + +2012-10-24 Mike Frysinger + + * configure.in: Move READELF check to start of file. + (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from + libc_cv_asm_gnu_indirect_function in the process. + * configure: Regenerated. + +2012-10-24 Mike Frysinger + + * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and + send the output to /dev/null. + (libc_cv_cc_with_libunwind): Likewise. + (libc_cv_as_noexecstack): Likewise. + * configure: Regenerate. + +2012-10-24 Joseph Myers + + * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`. + + * posix/globtest.sh (TMPDIR): Do not set. + (testdir): Define using ${common_objpfx}posix not $TMPDIR. + (testout): Likewise. + +2012-10-24 Andreas Jaeger + + * io/fcntl.h: Always define mode_t, off_t, pid_t and use these + types for creat, creat64, lockf, posix_fadvise, posix_fallocate. + [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t. + [__USE_LARGEFILE64]: Use off64_t in declaration of lock64, + posix_fadvise64, posix_fallocate64. + + * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK) + (F_SETLKW) [__x86_64]: Remove, provided by . + (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]: + Likewise. + (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]: + Likewise. + (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise. + + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK) + (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by + . + (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise. + + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD) + (F_SETFD, F_GETFL, F_SETFL): Remove, provided by . + (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise. + (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64) + [__WORDSIZE != 64]: Likewise. + +2012-10-23 Joseph Myers + + * Makeconfig (run-built-tests): New variable. + * Rules [$(cross-compiling) = yes]: Change condition to + [$(run-built-tests) = no]. + * catgets/Makefile [$(cross-compiling) != yes]: Change condition + to [$(run-built-tests) = yes]. + * elf/Makefile [$(cross-compiling) = no]: Likewise. + * grp/Makefile [$(cross-compiling) = no]: Likewise. + * iconv/Makefile [$(cross-compiling) != yes]: Likewise. + * iconvdata/Makefile [$(cross-compiling) = no]: Likewise. + * intl/Makefile [$(cross-compiling) = no]: Likewise. + * io/Makefile [$(cross-compiling) = no]: Likewise. + * libio/Makefile [$(cross-compiling) = no]: Likewise. + * malloc/Makefile [$(cross-compiling) = no]: Likewise. + * misc/Makefile [$(cross-compiling) = no]: Likewise. + * posix/Makefile [$(cross-compiling) = no]: Likewise. + * resolv/Makefile [$(cross-compiling) = no]: Likewise. + * stdio-common/Makefile [$(cross-compiling) = no]: Likewise. + * stdlib/Makefile [$(cross-compiling) = no]: Likewise. + * string/Makefile [$(cross-compiling) = no]: Likewise. + + * posix/Makefile ($(objpfx)globtest.out): Pass + $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and + $(rtld-installed-name). + * posix/globtest.sh (elf_objpfx): Remove variable. + (rtld_installed_name): Likewise. + (library_path): Likewise. + (run_program_prefix): New variable. Use for running globtest + binary. + +2012-10-23 Jim Blandy + Joseph Myers + + * Makeconfig (host-built-program-cmd): New variable. + * elf/Makefile (tst-stackguard1-ARGS): Use + $(host-built-program-cmd). + * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd). + (tst-spawn-ARGS): Likewise. + * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd). + +2012-10-23 Joseph Myers + Jim Blandy + + * Makeconfig (run-via-rtld-prefix): New variable. + (run-program-prefix): Define in terms of $(run-via-rtld-prefix). + (built-program-cmd): Likewise. + +2012-10-22 Andreas Jaeger + + * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to + __O_RSYNC if it exists, otherwise to O_SYNC. + +2012-10-22 Jim Blandy + Joseph Myers + + * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from + /dev/null. + * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop + from /dev/null + * posix/tst-getconf.sh: Redirect getconf stdin in loop from + /dev/null. + +2012-10-22 Andreas Jaeger + + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE): + Define always. + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise. + + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add + bits/fcntl-linux.h. + + * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK) + (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64]. + + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename + to __O_LARGEFILE. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename + to __O_LARGEFILE. + +2012-10-21 Jim Blandy + Joseph Myers + + * config.make.in (NM): New variable. + +2012-10-21 Andreas Jaeger + + * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all + definitions and declarations that are provided by + and include . + +2012-10-20 H.J. Lu + + [BZ #14683] + * elf/Makefile (tests-static): Add tst-leaks1-static. + (tests): Also depend on $(objpfx)tst-leaks1-static-mem. + ($(objpfx)tst-leaks1-static): New rule. + ($(objpfx)tst-leaks1-static-mem): Likewise. + (tst-leaks1-static-ENV): New macro. + * elf/dl-open.c (dl_open_worker): Check the main application + only if SHARED is defined. + * elf/tst-leaks1-static.c: New file. + +2012-10-20 Andreas Jaeger + + * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains + generic values for Linux. + * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions + and declarations that are provided by and + include . + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. + +2012-10-20 Roland McGrath + + * io/fcntl.h: Move include of to the top and + include it unconditionally. + +2012-10-20 H.J. Lu + + * wcsmbs/Makefile (tests-ifunc): New variable. + (tests): Add $(tests-ifunc). + * wcsmbs/test-wcschr-ifunc.c: New file. + * wcsmbs/test-wcscmp-ifunc.c: Likewise. + * wcsmbs/test-wcscpy-ifunc.c: Likewise. + * wcsmbs/test-wcslen-ifunc.c: Likewise. + * wcsmbs/test-wcsrchr-ifunc.c: Likewise. + * wcsmbs/test-wmemcmp-ifunc.c: Likewise. + + * string/Makefile (tests-ifunc): New variable. + (tests): Add $(tests-ifunc). + * string/test-memccpy.c (TEST_NAME): New macro. + * string/test-memchr.c (TEST_NAME): Likewise. + * string/test-memcmp.c (TEST_NAME): Likewise. + * string/test-memcpy.c (TEST_NAME): Likewise. + * string/test-memmem.c (TEST_NAME): Likewise. + * string/test-memmove.c (TEST_NAME): Likewise. + * string/test-memset.c (TEST_NAME): Likewise. + * string/test-rawmemchr.c (TEST_NAME): Likewise. + * string/test-stpcpy.c (TEST_NAME): Likewise. + * string/test-stpncpy.c (TEST_NAME): Likewise. + * string/test-strcasecmp.c (TEST_NAME): Likewise. + * string/test-strcasestr.c (TEST_NAME): Likewise. + * string/test-strcat.c (TEST_NAME): Likewise. + * string/test-strchr.c (TEST_NAME): Likewise. + * string/test-strcmp.c(TEST_NAME): Likewise. + * string/test-strcpy.c (TEST_NAME): Likewise. + * string/test-strcspn.c (TEST_NAME): Likewise. + * string/test-strlen.c (TEST_NAME): Likewise. + * string/test-strncasecmp.c (TEST_NAME): Likewise. + * string/test-strncmp.c (TEST_NAME): Likewise. + * string/test-strncpy.c (TEST_NAME): Likewise. + * string/test-strnlen.c (TEST_NAME): Likewise. + * string/test-strpbrk.c (TEST_NAME): Likewise. + * string/test-strrchr.c (TEST_NAME): Likewise. + * string/test-strspn.c (TEST_NAME): Likewise. + * string/test-strstr.c (TEST_NAME): Likewise. + * string/test-bcopy-ifunc.c: New file. + * string/test-bzero-ifunc.c: Likewise. + * string/test-memccpy-ifunc.c: Likewise. + * string/test-memchr-ifunc.c: Likewise. + * string/test-memcmp-ifunc.c: Likewise. + * string/test-memcpy-ifunc.c: Likewise. + * string/test-memmem-ifunc.c: Likewise. + * string/test-memmove-ifunc.c: Likewise. + * string/test-mempcpy-ifunc.c: Likewise. + * string/test-memset-ifunc.c: Likewise. + * string/test-rawmemchr-ifunc.c: Likewise. + * string/test-stpcpy-ifunc.c: Likewise. + * string/test-stpncpy-ifunc.c: Likewise. + * string/test-strcasecmp-ifunc.c: Likewise. + * string/test-strcasestr-ifunc.c: Likewise. + * string/test-strcat-ifunc.c: Likewise. + * string/test-strchr-ifunc.c: Likewise. + * string/test-strchrnul-ifunc.c: Likewise. + * string/test-strcmp-ifunc.c: Likewise. + * string/test-strcpy-ifunc.c: Likewise. + * string/test-strcspn-ifunc.c: Likewise. + * string/test-strlen-ifunc.c: Likewise. + * string/test-strncasecmp-ifunc.c: Likewise. + * string/test-strncat-ifunc.c: Likewise. + * string/test-strncmp-ifunc.c: Likewise. + * string/test-strncpy-ifunc.c: Likewise. + * string/test-strnlen-ifunc.c: Likewise. + * string/test-strpbrk-ifunc.c: Likewise. + * string/test-strrchr-ifunc.c: Likewise. + * string/test-strspn-ifunc.c: Likewise. + * string/test-strstr-ifunc.c: Likewise. + + * debug/Makefile (tests-ifunc): New variable. + (tests): Add $(tests-ifunc). + * debug/test-stpcpy_chk.c (TEST_NAME): New macro. + * debug/test-strcpy_chk.c (TEST_NAME): Likewise. + * debug/test-stpcpy_chk-ifunc.c: New file. + * debug/test-strcpy_chk-ifunc.c: Likewise. + +2012-10-20 Siddhesh Poyarekar + + [BZ #13601] + * elf/dl-load.c (open_verify): Retry read if the entire ELF + header is not read in. + +2012-10-19 Joseph Myers + + * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass + script to $(SHELL) as $<. Pass $(common-objpfx) to script + directly. Pass built executable to script as + $(built-program-cmd). + * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as + $testprogram without using LD_LIBRARY_PATH and $ldso. + + * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass + $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and + $(rtld-installed-name). + * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable. + (rtld_installed_name): Likewise. + (library_path): Likewise. + (run_program_prefix): New variable. Use it to run tst_fgetgrent. + * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass + $(run-program-prefix) to tst-tables.sh. + * iconvdata/tst-table.sh (run_program_prefix): New variable. Use + it to run tst-table-from and tst-table-to. + * iconvdata/tst-tables.sh (run_program_prefix): New variable. + Pass it to tst-table.sh. + * intl/Makefile ($(objpfx)tst-gettext.out): Pass + $(run-program-prefix) to tst-gettext.sh. + ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to + tst-translit.sh. + ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to + tst-gettext2.sh. + * intl/tst-gettext.sh (run_program_prefix): New variable. Use it + to run tst-gettext. + * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it + to run tst-gettext2. + * intl/tst-translit.sh (run_program_prefix): New variable. Use it + to run tst-translit. + * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass + $(run-program-prefix) to tst-mtrace.sh. + * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it + to run tst-mtrace. + * posix/Makefile ($(objpfx)wordexp-tst.out): Pass + $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and + $(rtld-installed-name). + * posix/wordexp-tst.sh (elf_objpfx): Remove variable. + (rtld_installed_name): Likewise. + (run_program_prefix): New variable. Use it to run wordexp-test. + + * Makeconfig (ARCH): Remove all definitions. + (machine): Likewise. + [ARCH]: Remove conditional code. + [!objdir]: Give error. + [!objdir] (objpfx): Remove. + [!objdir] (common-objpfx): Likewise. + [!objdir] (common-objdir): Likewise. + * configure.in (config_makefile): Remove. Hardcode Makefile in + AC_CONFIG_FILES call. + * configure: Regenerated. + + [BZ #13888] + * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp + or TMPDIR. + (testout): Likewise. + + * posix/Makefile ($(objpfx)tst-getconf.out): Pass + $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and + $(rtld-installed-name). + * posix/tst-getconf.sh (elf_objpfx): Remove variable. + (rtld_installed_name): Likewise. + (runit): Remove function. + (run_getconf): New variable, Use it for running getconf binary. + +2012-10-18 H.J. Lu + + [BZ #14716] + * string/test-memmem.c (check_result): New function. + (do_one_test): Use it. + (check1): New function. + (test_main): Use it. + +2012-10-18 Markus Trippelsdorf + + * math/Makefile: Comment on slow compilation of test-tgmath2.c. + +2012-10-18 Joseph Myers + + * sysdeps/generic/_G_config.h (_G_OPEN64): Remove. + (_G_LSEEK64): Likewise. + (_G_MMAP64): Likewise. + (_G_FSTAT64): Likewise. + * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove. + (_G_LSEEK64): Likewise. + (_G_MMAP64): Likewise. + (_G_FSTAT64): Likewise. + * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code + unconditional. Call __mmap64 directly. + (mmap_remap_check) [!_G_MMAP64]: Remove conditional code. + (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call + __lseek64 directly. + (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code. + (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call + __mmap64 directly. + (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code. + (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call + __lseek64 directly. + (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code. + (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call + __lseek64 directly. + (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code. + (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call + __lseek64 directly. + (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code. + (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call + __fxstat64 directly. + (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code. + * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code + unconditional. + (freopen64) [!_G_OPEN64]: Remove conditional code. + * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code + unconditional. + (fseeko64) [!_G_LSEEK64]: Remove conditional code. + * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code + unconditional. + (ftello64) [!_G_LSEEK64]: Remove conditional code. + * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code + unconditional. + (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code. + * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code + unconditional. + (_IO_fopen64) [!_G_OPEN64]: Remove conditional code. + * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code + unconditional. + (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code. + * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code + unconditional. + (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code. + * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code + unconditional. + (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code. + +2012-10-18 Siddhesh Poyarekar + + [BZ #12140] + * manual/memory.texi (Malloc Tunable Parameters): Add note + about free list pointers overwriting some perturb bytes. + Wording suggested by Roland McGrath. + +2012-10-17 Joseph Myers + + * math/libm-test.inc (gamma_test): Do not call feclearexcept. + (lgamma_test): Likewise. + (tgamma_test): Likewise. + +2012-10-16 Florian Weimer + + [BZ #14700] + * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant. + (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE. + +2012-10-16 Maxim Kuvyrkov + + * NEWS: Mention BZ #14716. + * string/str-two-way.h (two_way_short_needle): Fix thinko introduced + when removing AVAILABLE1_USES_J macro. + +2012-10-12 H.J. Lu + + * sysdeps/x86/bits/byteswap.h: Include . + (__bswap_64): __uint64_t for unsigned 64-bit int. + +2012-10-12 Andreas Schwab + + * include/string.h (memmem): Declare libc hidden alias. + * string/memmem.c (memmem): Define libc hidden alias. + * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open, + __read, __close instead of open, read, close. + +2012-10-11 H.J. Lu + + * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file. + * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it + global and hidden. + * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise. + * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise. + * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42): + Likewise. + (__rawmemchr_sse2): Likewise. + * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise. + * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise. + (__strchr_sse2): Likewise. + * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise. + * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise. + (__strcasecmp_sse2): Likewise. + (__strncasecmp_sse2): Likewise. + * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise. + * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise. + * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise. + * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise. + (__strrchr_sse2): Likewise. + * sysdeps/x86_64/multiarch/memcmp.S: Add comments for + ifunc-impl-list.c. + * sysdeps/x86_64/multiarch/memcpy.S: Likewise. + * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise. + * sysdeps/x86_64/multiarch/memmove.c: Likewise. + * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise. + * sysdeps/x86_64/multiarch/mempcpy.S: Likewise. + * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise. + * sysdeps/x86_64/multiarch/memset.S: Likewise. + * sysdeps/x86_64/multiarch/memset_chk.S: Likewise. + * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise. + * sysdeps/x86_64/multiarch/stpcpy.S: Likewise. + * sysdeps/x86_64/multiarch/stpncpy.S: Likewise. + * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise. + * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise. + * sysdeps/x86_64/multiarch/strcat.S: Likewise. + * sysdeps/x86_64/multiarch/strchr.S: Likewise. + * sysdeps/x86_64/multiarch/strcmp.S: Likewise. + * sysdeps/x86_64/multiarch/strcpy.S: Likewise. + * sysdeps/x86_64/multiarch/strcspn.S: Likewise. + * sysdeps/x86_64/multiarch/strlen.S: Likewise. + * sysdeps/x86_64/multiarch/strncase_l.S: Likewise. + * sysdeps/x86_64/multiarch/strncat.S: Likewise. + * sysdeps/x86_64/multiarch/strncmp.S: Likewise. + * sysdeps/x86_64/multiarch/strncpy.S: Likewise. + * sysdeps/x86_64/multiarch/strnlen.S: Likewise. + * sysdeps/x86_64/multiarch/strpbrk.S: Likewise. + * sysdeps/x86_64/multiarch/strrchr.S: Likewise. + * sysdeps/x86_64/multiarch/strspn.S: Likewise. + * sysdeps/x86_64/multiarch/strstr-c.c: Likewise. + * sysdeps/x86_64/multiarch/wcscpy.S: Likewise. + * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise. + + * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it + global and hidden. + * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise. + * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise. + * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise. + * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32): + Likewise. + * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32): + Likewise. + * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise. + * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise. + * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise. + * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for + ifunc-impl-list.c. + * sysdeps/i386/i686/multiarch/bzero.S: Likewise. + * sysdeps/i386/i686/multiarch/memchr.S: Likewise. + * sysdeps/i386/i686/multiarch/memcmp.S: Likewise. + * sysdeps/i386/i686/multiarch/memcpy.S: Likewise. + * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise. + * sysdeps/i386/i686/multiarch/memmove.S: Likewise. + * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise. + * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise. + * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise. + * sysdeps/i386/i686/multiarch/memrchr.S: Likewise. + * sysdeps/i386/i686/multiarch/memset.S: Likewise. + * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise. + * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise. + * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise. + * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise. + * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise. + * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise. + * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise. + * sysdeps/i386/i686/multiarch/strcat.S: Likewise. + * sysdeps/i386/i686/multiarch/strchr.S: Likewise. + * sysdeps/i386/i686/multiarch/strcmp.S: Likewise. + * sysdeps/i386/i686/multiarch/strcpy.S: Likewise. + * sysdeps/i386/i686/multiarch/strcspn.S: Likewise. + * sysdeps/i386/i686/multiarch/strlen.S: Likewise. + * sysdeps/i386/i686/multiarch/strncase.S: Likewise. + * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise. + * sysdeps/i386/i686/multiarch/strncat.S: Likewise. + * sysdeps/i386/i686/multiarch/strncmp.S: Likewise. + * sysdeps/i386/i686/multiarch/strncpy.S: Likewise. + * sysdeps/i386/i686/multiarch/strnlen.S: Likewise. + * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise. + * sysdeps/i386/i686/multiarch/strrchr.S: Likewise. + * sysdeps/i386/i686/multiarch/strspn.S: Likewise. + * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise. + * sysdeps/i386/i686/multiarch/wcschr.S: Likewise. + * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise. + * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise. + * sysdeps/i386/i686/multiarch/wcslen.S: Likewise. + * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise. + * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise. + * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file. + + * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc). + [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc). + * include/ifunc-impl-list.h: New file. + * misc/ifunc-impl-list.c: Likewise. + * misc/Makefile (routines): Add ifunc-impl-list. + * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list. + * string/test-string.h: Include . + (func_list, func_count, impl_count, impl_array) [TEST_IFUNC && + TEST_NAME]: New variables. + (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME + are defined. + (test_init): Call __libc_ifunc_impl_list to initialize + func_list if TEST_IFUNC and TEST_NAME are defined. + + * string/Makefile (strop-tests): Add bcopy and bzero. + * string/test-bcopy.c: New file. + * string/test-bzero.c: Likewise. + * string/test-memmove.c: Support bcopy test if TEST_BCOPY is + defined. + * string/test-memset.c: Support bzero test if TEST_BZERO is + defined. + * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to + __libc_memmove. + * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to + __libc_memset. + * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias + of memset. + +2012-10-10 Joseph Myers + + * configure.in: Run $CXX, not cc1plus, to locate C++ headers. + * configure: Regenerated. + + * Makeconfig (+link-static-before-libc): Don't include + $(link-static-libc). + + * libio/libio.h (_IO_pos_t): Remove. + +2012-10-10 Alexandre Oliva + + * NEWS: Add note about FIPS mode. Wording suggested by Roland + McGrath. + +2012-10-10 Alexandre Oliva + + * crypt/crypt-entry.c: Include fips-private.h. + (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled. + * crypt/md5c-test.c (main): Tolerate disabled MD5. + * sysdeps/unix/sysv/linux/fips-private.h: New file. + * sysdeps/generic/fips-private.h: New file, dummy fallback. + +2012-10-10 Alexandre Oliva + + * crypt/crypt-private.h: Include stdbool.h. + (_ufc_setup_salt_r): Return bool. + * crypt/crypt-entry.c: Include errno.h. + (__crypt_r): Return NULL with EINVAL for bad salt. + * crypt/crypt_util.c (bad_for_salt): New. + (_ufc_setup_salt_r): Check that salt is long enough and within + the specified alphabet. + * crypt/badsalttest.c: New file. + * crypt/Makefile (tests): Add it. + ($(objpfx)badsalttest): New. + +2012-10-09 Maxim Kuvyrkov + + * NEWS: Add entry for BZ #14602. + +2012-10-09 Joseph Myers + + * math/gen-libm-test.pl (parse_args): Handle comparison macros as + type-generic. + * math/libm-test.inc: Update comment listing what functions and + macros are tested. + (isgreater_test): New function. + (isgreaterequal_test): Likewise. + (isless_test): Likewise. + (islessequal_test): Likewise. + (islessgreater_test): Likewise. + (isunordered_test): Likewise. + (main): Call the new functions. + +2012-10-09 Roland McGrath + + * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE, + _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status, + AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile. + * sysdeps/i386/configure: Regenerated. + * sysdeps/ieee754/ldbl-opt/configure: Regenerated. + * sysdeps/mach/configure: Regenerated. + * sysdeps/mach/hurd/configure: Regenerated. + * sysdeps/powerpc/configure: Regenerated. + * sysdeps/powerpc/powerpc32/configure: Regenerated. + * sysdeps/powerpc/powerpc64/configure: Regenerated. + * sysdeps/s390/s390-32/configure: Regenerated. + * sysdeps/s390/s390-64/configure: Regenerated. + * sysdeps/sh/configure: Regenerated. + * sysdeps/sparc/configure: Regenerated. + * sysdeps/unix/sysv/linux/configure: Regenerated. + * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated. + * sysdeps/x86_64/configure: Regenerated. + + * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is + defined. Don't check if MAP is NULL. + +2012-10-09 Joseph Myers + + * sysdeps/generic/_G_config.h (_G_off64_t): Remove. + (_G_stat64): Likewise. + * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove. + (_G_stat64): Likewise. + * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64 + instead of struct _G_stat64. + * libio/fileops.c (mmap_remap_check): Likewise. + (decide_maybe_mmap): Likewise. + (_IO_new_file_seekoff): Likewise. + (_IO_file_stat): Likewise. + * libio/libio.h (_IO_off64_t): Define to __off64_t, not + _G_off64_t. + * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64 + instead of struct _G_stat64. + * libio/wfileops.c (_IO_wfile_seekoff): Likewise. + +2012-10-08 Maxim Kuvyrkov + + [BZ #14602] + * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): + Replace with ... + (CHECK_EOL): New macro. + (two_way_short_needle): Check beginning of haystack for EOL. Use + CHECK_EOL. + * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): + Replace with CHECK_EOL. + * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): + Replace with CHECK_EOL. + +2012-10-08 Joseph Myers + + * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as + type-generic. + * math/libm-test.inc: Update comment listing what functions and + macros are tested. + (finite_test): New function. + (isinf_test): Likewise. + (isnan_test): Likewise. + (fpclassify_test): Test subnormal input. + (isfinite_test): Likewise. + (isnormal_test): Likewise. + (main): Call the new functions. + +2012-10-08 Jonathan Nieder + + [BZ #14660] + * Makerules (%.dynsym): Force C locale when running + $(OBJDUMP) --dynamic-syms. + +2012-10-08 Andreas Schwab + + * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include + . + +2012-10-06 David S. Miller + + * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear + upper 32-bits of the length value in %o2 since we use branch-on-register + tests which consider the entire 64-bit register. + +2012-10-06 H.J. Lu + + * string/test-strstr.c (check2): Add a test for page boundary. + +2012-10-05 David S. Miller + + * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file. + * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New + file. + * sysdeps/sparc/sparc64/multiarch/Makefile: Add to + sysdep_routines. + * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise. + * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset + and bzero when HWCAP_SPARC_CRYPTO is present. + +2012-10-05 H.J. Lu + + [BZ #14602] + * string/test-strstr.c (check2): New function. + (test_main): Call check2. + + * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1 + and bug-strchr1. + * string/bug-strcasestr1.c (do_test): Moved to ... + * string/test-strcasestr.c (check1): Here. New function. + (do_one_test): Break out result checking code into ... + (check_result): This. New function. + (do_one_test): Call check_result. + (test_main): Call check1. + * string/bug-strchr1.c (do_test): Moved to ... + * string/test-strchr.c (check1): Here. New function. + (do_one_test): Break out result checking code into ... + (check_result): This. New function. + (do_one_test): Call check_result. + (test_main): Call check1. + * string/bug-strstr1.c (main): Moved to ... + * string/test-strstr.c (check1): Here. New function. + (do_one_test): Break out result checking code into ... + (check_result): This. New function. + (do_one_test): Call check_result. + (test_main): Call check1. + * string/bug-strcasestr1.c: Removed. + * string/bug-strchr1.c: Likewise. + * string/bug-strstr1.c: Likewise. + + * elf/Makefile (dl-routines): Add hwcaps. + * elf/dl-support.c (_dl_important_hwcaps): Removed. + * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise. + (_dl_important_hwcaps): Moved to ... + * elf/dl-hwcaps.c: Here. New file. + * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed. + + [BZ #14557] + * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO + if IS_IN_rtld isn't defined. + + * elf/dl-support.c (_dl_sysinfo_map): New. + Include "get-dynamic-info.h" and "setup-vdso.h". + (_dl_non_dynamic_init): Call setup_vdso. + * elf/dynamic-link.h: Don't include . + (elf_get_dynamic_info): Moved to ... + * elf/get-dynamic-info.h: Here. New file. + * elf/dynamic-link.h: Include "get-dynamic-info.h". + * elf/rtld.c (dl_main): Break out vDSO setup code into ... + * elf/setup-vdso.h: Here. New file. + * elf/rtld.c: Include "setup-vdso.h". + (dl_main): Call setup_vdso. + +2012-10-05 Joseph Myers + + * math/libm-test.inc: List nexttoward, cimag, clog10, conf and + creal in comment listing functions tested. List finite, isinf, + isnan, isless, islessequal, isgreater, isgreaterequal, + islessgreater, isunordered, lgamma_r and pow10 as functions and + macros not tested. Mention which functions not tested are aliases + for other functions. Fix typo. Note that signs of NaNs are not + tested. + + * scripts/config.guess: Update from config.git. + * scripts/config.sub: Likewise. + +2012-10-04 Roland McGrath + + * misc/Versions (GLIBC_PRIVATE): New set, add __madvise. + * misc/madvise.c (madvise): Renamed to __madvise. + Make madvise a weak alias. + * include/sys/mman.h: Declare __madvise. + Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise). + * sysdeps/unix/syscalls.list + (madvise): Make __madvise the strong name, and madvise a weak alias. + * sysdeps/unix/sysv/linux/syscalls.list + (madvise, mmap): Remove redundant entries. + * malloc/arena.c (shrink_heap): Use __madvise, not madvise. + * malloc/malloc.c (mtrim): Likewise. + * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise. + +2012-10-03 Roland McGrath + + * sysdeps/mach/hurd/dl-cache.c: File removed. + * config.h.in (USE_LDCONFIG): New #undef. + * configure.in (use_ldconfig): If set, define USE_LDCONFIG. + * configure: Regenerated. + * elf/Makefile (dl-routines): Add dl-cache only under + [$(use-ldconfig) = yes]. + * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the + cache on [USE_LDCONFIG]. + * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under + [USE_LDCONFIG]. + * elf/rtld.c (dl_main): Likewise. + +2012-10-03 Pino Toscano + + * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for + _SC_LEVEL4_CACHE_LINESIZE. + +2012-10-03 Roland McGrath + + * sysdeps/unix/bsd/confstr.h: File removed. + +2012-10-02 Alexandre Oliva + + * scripts/check-local-headers.sh: Exclude sys/sdt.h and + sys/sdt-config.h. + +2012-10-02 Roland McGrath + + * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd): + Make 'mapoff' field ElfW(Off) rather than off_t. + +2012-10-02 Dmitry V. Levin + + * nscd/Makefile: Remove nscd-cflags and all its users. + (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules. + (CFLAGS-nonlib): Add compiler flags for nscd modules. + + [BZ #10631] + * malloc.c (malloc_printerr): Clarify error message. + +2012-10-02 H.J. Lu + + [BZ #14648] + * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): + Set bit_FMA_Usable if FMA is supported. + * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New + macro. + (bit_FMA4_Usable): Updated. + (index_FMA_Usable): New macro. + (CPUID_FMA): Likewise. + (HAS_FMA): Defined with bit_FMA_Usable. + +2012-10-01 Roland McGrath + + * bits/types.h (__swblk_t): Type removed. + * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed. + * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise. + * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h + (__SWBLK_T_TYPE): Likewise. + * sysdeps/unix/sysv/linux/x86/bits/typesizes.h + (__SWBLK_T_TYPE): Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h + (__SWBLK_T_TYPE): Likewise. + * sysdeps/unix/sysv/linux/s390/bits/typesizes.h + (__SWBLK_T_TYPE): Likewise. + +2012-10-01 Patsy Franklin + Honza Horak + + * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize. + (xdr_mapname): Use YPMAXMAP as maxsize. + (xdr_peername): Use YPMAXPEER as maxsize. + (xdr_keydat): Use YPAXRECORD as maxsize. + (xdr_valdat): Use YPMAXRECORD as maxsize. + +2012-10-01 Roland McGrath + + * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable. + + * sysdeps/unix/sysv/linux/init-first.c: Moved to ... + * csu/init-first.c: ... here. + * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include. + * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise. + * sysdeps/i386/init-first.c: File removed. + * sysdeps/sh/init-first.c: File removed. + +2012-10-01 Joseph Myers + + [BZ #14645] + * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y + if x * y might underflow to zero and z is zero. + * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise. + * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise. + * math/libm-test.inc (min_subnorm_value): New variable. + (fma_test): Add more tests. + (fma_test_towardzero): Likewise. + (fma_test_downward): Likewise. + (fma_test_upward): Likewise. + (initialize): Set min_subnorm_value. + +2012-09-29 Joseph Myers + + [BZ #14638] + * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact + 0 + 0. + * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding + mode for addition resulting in exact zero. + * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise. + * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for + exact 0 + 0. + * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise. + * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise. + * math/libm-test.inc (fma_test): Add more tests. + (fma_test_towardzero): New function. + (fma_test_downward): Likewise. + (fma_test_upward): Likewise. + (main): Call the new functions. + +2012-09-28 David S. Miller + + * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file. + +2012-09-28 Roland McGrath + + * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep + instead of SIGALRM. + + * sysdeps/gnu/_G_config.h: Moved to ... + * sysdeps/unix/sysv/linux/_G_config.h: ... here. + * sysdeps/mach/hurd/_G_config.h: Moved to ... + * sysdeps/generic/_G_config.h: ... here. + + * io/open.c (__open): Renamed to __libc_open. Make __open an alias. + + * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory). + + * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)): + Conditionalize target on [libnss_test1.so-version]. + + * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED]. + + * Makeconfig (nssobjdir, resolvobjdir): Remove variables. + (elfobjdir): Move out of conditionals. + + * nss/nsswitch.c (nss_new_service): Conditionalize definition and + declaration on [!DO_STATIC_NSS || SHARED], matching its only caller. + (__nss_lookup_function): Conditionalize label remove_from_tree on + [!DO_STATIC_NSS || SHARED], matching its only use. + +2012-09-28 David S. Miller + + * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file. + * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New + file. + * sysdeps/sparc/sparc64/multiarch/Makefile: Add to + sysdep_routines. + * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise. + * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy + when HWCAP_SPARC_CRYPTO is present. + +2012-09-28 Pino Toscano + + * io/tst-mknodat.c: Create a FIFO instead of a socket. + +2012-09-28 Andreas Schwab + + [BZ #6530] + * stdio-common/vfprintf.c (process_string_arg): Revert + 2000-07-22 change. + +2011-09-28 Jonathan Nieder + + * stdio-common/Makefile (tst-sprintf-ENV): Set environment + for testcase. + * stdio-common/tst-sprintf.c: Include + (main): Test sprintf's handling of incomplete multibyte + characters. + +2012-09-28 H.J. Lu + + * elf/dl-runtime.c (VERSYMIDX): Removed. + * elf/dl-version.c (VERSYMIDX): Likewise. + * elf/do-rel.h (VERSYMIDX): Likewise. + (VALIDX): Likewise. + * elf/dynamic-link.h (VERSYMIDX): Likewise. + * elf/rtld.c (VALIDX): Likewise. + (ADDRIDX): Likewise. + * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise. + * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise. + * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise. + * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro. + (VALIDX): Likewise. + (ADDRIDX): Likewise. + +2012-09-28 Pino Toscano + + * sysdeps/pthread/aio_fsync.c: Fix the file mode checking. + +2012-09-28 Dmitry V. Levin + + [BZ #11438] + * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses + to global scope. + * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16 + addresses are in the same scope as 192.0.2/24. + * posix/gai.conf: Document new scope table defaults. + +2012-09-28 Siddhesh Poyarekar + + [BZ #5298] + * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer + for ftell. Compute offsets from write pointers instead. + * libio/wfileops.c (_IO_wfile_seekoff): Likewise. + +2012-09-28 Siddhesh Poyarekar + + [BZ #14543] + * libio/Makefile (tests): New test case tst-fseek. + * libio/tst-fseek.c: New test case to verify that fseek/ftell + combination works in wide mode. + * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer + state when the external buffer state changes. + +2012-09-27 David S. Miller + + [BZ #14376] + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not + pass reloc->r_addend in as the 'high' argument to + sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations. + + * sysdeps/sparc/fpu/libm-test-ulps: Update. + +2012-09-28 Pino Toscano + + * rt/tst-aio2.c: Include . + * rt/tst-aio3.c: Likewise. + +2012-09-27 Steve Ellcey + + * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove. + +2012-09-27 H.J. Lu + + * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize + contents on [SHARED]. + +2012-09-26 Marek Polacek + + [BZ #14530] + [BZ #13741] + * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline + for C++ and GCC <4.3 as well as for non GCC compilers. + +2012-09-26 Markus Trippelsdorf + + * sysdeps/x86_64/fpu/libm-test-ulps: Update. + +2012-09-25 Roland McGrath + + * Makefile.in (all, install): Declare with .PHONY. + Reported by Michael Hope . + +2012-09-25 Tulio Magno Quites Machado Filho + + * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq. + * sysdeps/powerpc/sys/platform/ppc.h: Include the operating + system header. + * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers): + Likewise. + (sydep_routines): Add the new and the internal functions. + * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file. + * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions + (GLIBC_2.17): Add the new function. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist + (GLIBC_2.17): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions + (GLIBC_2.17): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist + (GLIBC_2.17): Likewise. + * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file. + +2012-09-25 Alan Modra + + * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once): + Add release barrier before setting once_control to say + initialisation is done. Add hints on lwarx. Use macro in + place of isync. + (clear_once_control): Add release barrier. + +2012-09-25 Joseph Myers + + [BZ #13629] + * math/s_clog.c (__clog): Handle more values close to |z| = 1 + specially. + * math/s_clog10.c (__clog10): Likewise. + * math/s_clog10f.c (__clog10f): Likewise. + * math/s_clog10l.c (__clog10l): Likewise. + * math/s_clogf.c (__clogf): Likewise. + * math/s_clogl.c (__clogl): Likewise. + * math/Makefile (libm-calls): Add x2y2m1. + * sysdeps/generic/math_private.h (__x2y2m1f): Declare. + (__x2y2m1): Likewise. + (__x2y2m1l): Likewise. + * sysdeps/ieee754/dbl-64/x2y2m1.c: New file. + * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise. + * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise. + * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise. + * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise. + * math/libm-test.inc (clog_test, clog10_test): Add more tests. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + [BZ #14621] + * posix/glob.c (next_brace_sub): Use size_t instead of unsigned + int as type of variable DEPTH. + (glob): Use size_t instead of int as type of variables NEWCOUNT + and OLD_PATHC. + +2012-09-25 Liubov Dmitrieva + + * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines): + Add s_sincosf-sse2. + * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file. + * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file. + * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add + macros for using routine as __sincosf_ia32. + Use macro for function declaration and weak_alias. + * sysdeps/i386/fpu/libm-test-ulps: Update. + + * sysdeps/x86_64/fpu/s_sincosf.S: New file. + * sysdeps/x86_64/fpu/libm-test-ulps: Update. + + * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for + subnormal argument. + * math/s_cexpf.c (__cexpf): Likewise. + * math/s_csinf.c (__csinf): Likewise. + * math/s_csinhf.c (__csinhf): Likewise. + * math/s_ctanf.c (__ctanf): Likewise. + * math/s_ctanhf.c (__ctanhf): Likewise. + * math/s_ccosh.c (__ccoshf): Likewise. + * math/s_cexp.c (__cexpl): Likewise. + * math/s_csin.c (__csin): Likewise. + * math/s_csinh.c (__csinh): Likewise. + * math/s_ctan.c (__ctan): Likewise. + * math/s_ctanh.c (ctanh): Likewise. + * math/s_ccoshl.c (__ccoshl): Likewise. + * math/s_cexpl.c (__cexpl): Likewise. + * math/s_csinl.c (__csinl): Likewise. + * math/s_csinhl.c (__csinhl): Likewise. + * math/s_ctanl.c (__ctanl): Likewise. + * math/s_ctanhl.c (__ctanhl): Likewise. + +2012-09-25 Joseph Myers + + * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t. + (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t. + (_IO_off_t): Define to __off_t, not _G_off_t. + (_IO_pid_t): Define to __pid_t, not _G_pid_t. + (_IO_uid_t): Define to __uid_t, not _G_uid_t. + (_IO_wint_t): Define to wint_t, not _G_wint_t. + * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as + type of __dummy and __dummy2 fields. + * sysdeps/generic/_G_config.h (_G_size_t): Remove. + (_G_ssize_t): Likewise. + (_G_off_t): Likewise. + (_G_pid_t): Likewise. + (_G_uid_t): Likewise. + (_G_wchar_t): Likewise. + (_G_wint_t): Likewise. + * sysdeps/gnu/_G_config.h (_G_size_t): Remove. + (_G_ssize_t): Likewise. + (_G_off_t): Likewise. + (_G_pid_t): Likewise. + (_G_uid_t): Likewise. + (_G_wchar_t): Likewise. + (_G_wint_t): Likewise. + * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove. + (_G_ssize_t): Likewise. + (_G_off_t): Likewise. + (_G_pid_t): Likewise. + (_G_uid_t): Likewise. + (_G_wchar_t): Likewise. + (_G_wint_t): Likewise. + +2012-09-25 Siddhesh Poyarekar + + * malloc/arena.c: Include malloc-sysdep.h. + (shrink_heap): Use check_may_shrink_heap to decide if madvise + is sufficient to shrink the heap or an unmap is needed. + * sysdeps/generic/malloc-sysdep.h: New file. Define + new function check_may_shrink_heap. + * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define + new function check_may_shrink_heap. + +2012-09-25 Siddhesh Poyarekar + + * libio/fileops.c (_IO_new_file_seekoff): Fix typos in + comments. + +2012-09-24 Dmitry V. Levin + + * catgets/test-gencat.sh: Add "set -e". + * elf/tst-pathopt.sh: Likewise. + * grp/tst_fgetgrent.sh: Likewise. + * iconvdata/run-iconv-test.sh: Likewise. + * intl/tst-gettext.sh: Likewise. + * intl/tst-gettext2.sh: Likewise. + * intl/tst-gettext4.sh: Likewise. + * intl/tst-gettext6.sh: Likewise. + * intl/tst-translit.sh: Likewise. + * io/ftwtest-sh: Likewise. + * libio/test-freopen.sh: Likewise. + * malloc/tst-mtrace.sh: Likewise. + * posix/globtest.sh: Likewise. + * posix/tst-getconf.sh: Likewise. + * posix/wordexp-tst.sh: Likewise. + * stdio-common/tst-printf.sh: Likewise. + * stdio-common/tst-unbputc.sh: Likewise. + * stdlib/tst-fmtmsg.sh: Likewise. + * sysdeps/x86_64/tst-xmmymm.sh: Likewise. + * catgets/Makefile: Do not specify -e option when running + testsuite shell scripts. + * elf/Makefile: Likewise. + * grp/Makefile: Likewise. + * iconvdata/Makefile: Likewise. + * intl/Makefile: Likewise. + * io/Makefile: Likewise. + * libio/Makefile: Likewise. + * malloc/Makefile: Likewise. + * posix/Makefile: Likewise. + * stdio-common/Makefile: Likewise. + * stdlib/Makefile: Likewise. + * sysdeps/x86_64/Makefile: Likewise. + + * io/ftwtest-sh: Add copyright header. + * posix/globtest.sh: Likewise. + * posix/tst-getconf.sh: Likewise. + * posix/wordexp-tst.sh: Likewise. + * sysdeps/x86_64/tst-xmmymm.sh: Likewise. + +2012-09-24 H.J. Lu + + [BZ #13679] + * Makeconfig (+link): Defined as $(+link-static) if + $(build-shared) isn't yes. + (link-tests): Defined as $(+link-static-tests) if $(build-shared) + isn't yes. + (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes. + + * Makeconfig (+postctorT): Replace crtendS.o with crtend.o. + + [BZ #14562] + * malloc/arena.c (heap_trim): Properly get fencepost and adjust + new chunk size with MALLOC_ALIGN_MASK. + +2012-09-24 Joseph Myers + + [BZ #5044] + * stdio-common/printf_fphex.c: Include and + . + (__printf_fphex): Determine rounding using get_rounding_mode and + round_away. + * stdio-common/tst-printf-round.c (struct hex_test): New + structure. + (hex_tests): New variable. + (test_hex_in_one_mode): New function. + (do_test): Also run tests for hex float output. + +2012-09-21 Joseph Myers + + * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional. + [!_IO_HAVE_SYS_WAIT]: Remove conditional code. + * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove. + * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional. + [!_IO_HAVE_SYS_WAIT]: Remove conditional code. + * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove. + * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise. + * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise. + +2012-09-20 Joseph Myers + + * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional. + * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove. + * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove. + * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove. + +2012-09-19 Dmitry V. Levin + + [BZ #14579] + * elf/rtld.c (dl_main): Limit the check for self loading to normal + mode only. + * elf/tst-rtld-load-self.sh: New test. + * elf/Makefile: Run it. + +2012-09-18 Joseph Myers + + * sysdeps/wordsize-64/Makefile [$(subdir) = misc] + (tst-writev-ENV): Remove. + * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define. + +2012-09-17 Chris Metcalf + + * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx. + +2012-09-17 Joseph Myers + + * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code + unconditional. + * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: + Likewise. + * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove. + * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise. + * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO): + Likewise. + +2012-09-14 H.J. Lu + + [BZ #14587] + * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check. + * config.make.in (have-cpp-asm-debuginfo): Removed. + * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo. + * configure: Regenerated. + +2012-09-14 Joseph Myers + + [BZ #5044] + * stdio-common/printf_fp.c: Include and + . + (___printf_fp): Determine rounding using get_rounding_mode and + round_away. + * stdio-common/tst-printf-round.c: New file. + * stdio-common/Makefile (tests): Add tst-printf-round. + (link-libm): New variable. + ($(objpfx)tst-printf-round): Depend in $(link-libm). + +2012-09-13 H.J. Lu + + [BZ #14576] + * bits/libc-lock.h (__rtld_lock_init_recursive): Removed. + * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive): + Likewise. + * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive): + Likewise. + +2012-09-13 Joseph Myers + + * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove. + * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise. + * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise. + * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise. + +2012-09-12 Joseph Myers + + [BZ #14518] + * include/rounding-mode.h: New file. + * sysdeps/generic/get-rounding-mode.h: Likewise. + * sysdeps/s390/fpu/get-rounding-mode.h: Likewise. + * stdlib/strtod_l.c: Include . + (MAX_VALUE): New macro. + (MIN_VALUE): Likewise. + (overflow_value): New function. + (underflow_value): Likewise. + (round_and_return): Use overflow_value and underflow_value to + determine return values in overflow and underflow cases. Use + round_away to determine rounding depending on rounding mode. + (____STRTOF_INTERNAL): Use overflow_value and underflow_value to + determine return values in overflow and underflow cases. + * stdlib/tst-strtod-round.c: Include . + (struct test_results): New structure. + (struct test): Use struct test_results to store expected results + for all rounding modes. + (TEST): Include expected results for all rounding modes. + (test_in_one_mode): New function. + (do_test): Use test_in_one_mode to compute and check results. + Check results for all rounding modes. + * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on + $(link-libm). + +2012-12-09 Allan McRae + + * sysdeps/i386/fpu/libm-test-ulps: Update + +2012-09-11 Joseph Myers + + * sysdeps/generic/_G_config.h (_G_int16_t): Remove. + (_G_int32_t): Likewise. + (_G_uint16_t): Likewise. + (_G_uint32_t): Likewise. + (_G_HAVE_BOOL): Likewise. + (_G_HAVE_ATEXIT): Likewise. + (_G_HAVE_LONG_DOUBLE_IO): Likewise. + (_G_HAVE_IO_FILE_OPEN): Likewise. + * sysdeps/gnu/_G_config.h (_G_int16_t): Remove. + (_G_int32_t): Likewise. + (_G_uint16_t): Likewise. + (_G_uint32_t): Likewise. + (_G_HAVE_BOOL): Likewise. + (_G_HAVE_ATEXIT): Likewise. + (_G_HAVE_LONG_DOUBLE_IO): Likewise. + (_G_HAVE_IO_FILE_OPEN): Likewise. + * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove. + (_G_int32_t): Likewise. + (_G_uint16_t): Likewise. + (_G_uint32_t): Likewise. + (_G_HAVE_BOOL): Likewise. + (_G_HAVE_ATEXIT): Likewise. + (_G_HAVE_LONG_DOUBLE_IO): Likewise. + (_G_HAVE_IO_FILE_OPEN): Likewise. + +2012-09-11 H.J. Lu + + * csu/libc-tls.c: Update copyright years. + +2012-09-10 Joseph Myers + + * libioP.h [_G_USING_THUNKS]: Make code unconditional. + [!_G_USING_THUNKS]: Remove conditional code. + * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove. + * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise. + + * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove. + [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise. + * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove. + (_G_VTABLE_LABEL_PREFIX): Likewise. + (_G_VTABLE_LABEL_HAS_LENGTH): Likewise. + * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove. + (_G_VTABLE_LABEL_HAS_LENGTH): Likewise. + (_G_VTABLE_LABEL_PREFIX): Likewise. + (_G_VTABLE_LABEL_PREFIX_ID): Likewise. + * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove. + (_G_VTABLE_LABEL_HAS_LENGTH): Likewise. + (_G_VTABLE_LABEL_PREFIX): Likewise. + (_G_VTABLE_LABEL_PREFIX_ID): Likewise. + +2012-09-10 H.J. Lu + + * libio/Makefile: Include ../Makeconfig before tests. + (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check + only if $(build-shared) is yes. + + * iconv/gconv_db.c: Update copyright years. + +2012-09-10 Liubov Dmitrieva + + * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix + unwind info if defined PIC. Fix special cases description. + * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise. + + * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix + DP_HI_MASK entry. + * sysdeps/x86_64/fpu/s_cosf.S: Likewise. + +2012-09-07 H.J. Lu + + * scripts/check-local-headers.sh: Add "shopt -s nullglob". + + * iconv/gconv_db.c (free_derivation): Check if deriv->steps + is NULL. + + * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ... + (LDLIBS-tst-chk4): This. + (LDFLAGS-tst-chk5): Renamed to ... + (LDLIBS-tst-chk5): This. + (LDFLAGS-tst-chk6): Renamed to ... + (LDLIBS-tst-chk6): This. + (LDFLAGS-tst-lfschk4): Renamed to ... + (LDLIBS-tst-lfschk4): This. + (LDFLAGS-tst-lfschk5): Renamed to ... + (LDLIBS-tst-lfschk5): This. + (LDFLAGS-tst-lfschk6): Renamed to ... + (LDLIBS-tst-lfschk6): This. + + * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency + on $(common-objpfx)soversions.mk. + +2012-09-07 Joseph Myers + + [BZ #10014] + * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as + example host name. + +2012-09-07 Siddhesh Poyarekar + + * malloc/arena.c (arena_get_retry): New function that gets + another arena for the caller to try its request on. + * malloc/malloc.c (__libc_malloc): Use get_another_arena if the + current arena cannot fulfill the request. + (__libc_memalign): Likewise. + (__libc_memalign): Likewise. + (__libc_pvalloc): Likewise. + (__libc_calloc): Likewise. + +2012-09-05 John Tobey + + [BZ #13542] + * manual/arith.texi (Operations on Complex): Fix description + of carg branch cut. + +2012-09-06 Joseph Myers + + [BZ #10014] + * manual/socket.texi (Host Addresses): Use www.gnu.org as example + host name. + + [BZ #10038] + * manual/memory.texi (Memory): Make order of menu items match + order of sections. + +2012-09-06 H.J. Lu + + * elf/dl-tls.c (DL_INITIAL_DTV): Removed. + (_dl_initial_dtv): New. Defined if SHARED isn't defined. + (_dl_deallocate_tls): Restore GL(dl_initial_dtv). + +2012-09-06 H.J. Lu + + * csu/libc-tls.c (static_dtv): Renamed to ... + (_dl_static_dtv): This. Make it global. + (_dl_initial_dtv): Removed. + (__libc_setup_tls): Updated. + * elf/dl-tls.c (DL_INITIAL_DTV): New macro. + (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with + DL_INITIAL_DTV. + +2012-09-06 Petr Machata + + * elf/elf.h (NT_S390_HIGH_GPRS): New macro. + (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise. + (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise. + (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise. + +2012-09-06 H.J. Lu + + [BZ #14545] + * csu/libc-tls.c (_dl_initial_dtv): New variable. + * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before + freeing dtv[-1]. + +2012-09-06 H.J. Lu + + [BZ #14544] + * Makeconfig (link-static-before-libc): Replace $(+prector) + with $(+prectorT). + (link-static-after-libc): Replace $(+postctor) with + $(+postctorT). + (link-bounded): Replace $(+prector)/$(+postctor) with + $(+prectorT)/$(+postctorT). + (+prectorT): New macro. + (+postctorT): Likewise. + +2012-09-06 Joseph Myers + + * stdlib/gen-tst-strtod-round.c: Include . + (round_str): Handle values above the maximum for IBM long double + as inexact. + * stdlib/tst-strtod-round.c (tests): Regenerated. + +2012-09-06 Andreas Krebbel + + * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch + assembler flag. + * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode + zarch_nohighgprs around the zarch optimized routines. + * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise. + * sysdeps/s390/s390-32/multiarch/memset.S: Likewise. + * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check + for zarch. + +2012-09-05 David S. Miller + + * sysdeps/sparc/fpu/libm-test-ulps: Update. + + * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE) + (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define. + * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27. + * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new + entries. + +2012-09-05 Alexandre Oliva + + * malloc/arena.c: Fold copyright years. + * malloc/mcheck.c, malloc/memusage.c: Likewise. + +2012-09-05 Alexandre Oliva + + * malloc/malloc.c (__libc_mallopt) : Fix indentation. + +2012-09-05 Alexandre Oliva + + * manual/contrib.texi (Contributors): Fix typo. Complete entry. + +2012-09-05 Alexandre Oliva + + * malloc/malloc.c (__libc_mallopt) : Do not + change internal state upon failure. + +2012-09-05 Alexandre Oliva + + * malloc/mcheck.c (mcheck_check_all): Fix typo. + * malloc/memusage.c (mmap): Likewise. + (mmap64, mremap): Likewise. Adjust name in comment. + +2012-09-05 Siddhesh Poyarekar + + * libio/fileops.c: Fix typos in comments. + * libio/oldfileops.c: Likewise. + * libio/wfileops.c: Likewise. + +2012-09-05 Siddhesh Poyarekar + + [BZ #1349] + * malloc/Makefile (tests): Add tst-malloc-usable test case. + (tst-malloc-usable-ENV): Set environment for test case. + * malloc/hooks.c (malloc_check_get_size): New function to get + requested size. + * malloc/malloc.c (musable): Use malloc_check_get_size. + * malloc/tst-malloc-usable.c: New test case. + +2012-09-05 Andreas Schwab + + * stdlib/tst-strtod-overflow.c (TIMEOUT): Define. + +2012-09-05 Allan McRae + + [BZ #13966] + * configure.in (CXX_SYSINCLUDES): Use compiler output to + determine header location. + * configure: Regenerated. + +2012-09-05 Andreas Schwab + + * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended + float format. + * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 && + LDBL_MAX_EXP == 16384]: Add case for Motorola extended float + format. + (test): Regenerate. + +2012-09-04 David S. Miller + + * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file. + * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file. + * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file. + +2012-09-04 Florian Weimer + + * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID + failures. + + * stdlib/tst-secure-getenv.c: Fix whitespace in comments. + +2012-09-04 Joseph Myers + + [BZ #9914] + * libio/iogetdelim.c: Include . + (_IO_getdelim): Avoid integer overflow in testing whether cur_len + + len + 1 would overflow. + +2012-09-03 Andreas Jaeger + + * sysdeps/x86_64/fpu/libm-test-ulps: Update. + * sysdeps/i386/fpu/libm-test-ulps: Update. + +2012-09-03 Liubov Dmitrieva + + * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines): + Add s_sinf-sse2, s_conf-sse2. + + * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file. + * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file. + * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file. + * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file. + + * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros + for using routine as __sinf_ia32. + Use macro for function declaration and weak_alias. + * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros + for using routine as __cosf_ia32. + Use macro for function declaration and weak_alias. + + * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright. + * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright. + + * sysdeps/x86_64/fpu/s_sinf.S: New file. + * sysdeps/x86_64/fpu/s_cosf.S: New file. + * sysdeps/x86_64/fpu/libm-test-ulps: Update. + + * math/libm-test.inc (cos_test): Add more test cases. + (sin_test): Likewise. + (sincos_test): Likewise. + +2012-09-03 Andreas Krebbel + + * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c + (IFUNC_RESOLVE): Make pointers to the specialized implementations + hidden. + * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise. + +2012-09-02 H.J. Lu + + [BZ #14538] + * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the + first element of the GOT. + (elf_machine_load_address): Return the difference between + the runtime address of _DYNAMIC and elf_machine_dynamic (). + +2012-09-01 Allan McRae + + [BZ #13412] + * configure.in (AWK): Require gawk version 3.0 or later. + * configure: Regenerated. + +2012-09-01 Joseph Myers + + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_POSIX_CPU_TIMERS): Remove. + * sysdeps/unix/sysv/linux/clock_getcpuclockid.c + [__NR_clock_getres]: Make code unconditional. + [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code. + (clock_getcpuclockid): Remove code left unreachable by removal of + conditionals. + * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make + code unconditional. + [__ASSUME_POSIX_CPU_TIMERS]: Likewise. + [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code. + * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]: + Make code unconditional. + [__ASSUME_POSIX_CPU_TIMERS]: Likewise. + [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code. + * sysdeps/unix/sysv/linux/clock_settime.c + [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove + conditional code. + [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional. + [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code. + +2012-08-29 H.J. Lu + + [BZ #14476] + * Makefile (install): Also pass LD_SO=$(ld.so-version) to + scripts/test-installation.pl. + + * scripts/test-installation.pl: Use LD_SO to get $ld_so_name + and $ld_so_version if it is set. + +2012-08-29 Siddhesh Poyarekar + + [BZ #14516] + * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return + failure if reading from procfs failed. + * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise. + +2012-08-27 Joseph Myers + + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_STAT64_SYSCALL): Remove all definitions. + * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]: + Remove conditional code. + [__ASSUME_STAT64_SYSCALL]: Make code unconditional. + * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]: + Remove conditional code. + [__ASSUME_STAT64_SYSCALL]: Make code unconditional. + * sysdeps/unix/sysv/linux/i386/fxstat.c + [!__ASSUME_STAT64_SYSCALL]: Remove conditional code. + [__ASSUME_STAT64_SYSCALL]: Make code unconditional. + * sysdeps/unix/sysv/linux/i386/fxstatat.c + [!__ASSUME_STAT64_SYSCALL]: Remove conditional code. + [__ASSUME_STAT64_SYSCALL]: Make code unconditional. + * sysdeps/unix/sysv/linux/i386/lxstat.c + [!__ASSUME_STAT64_SYSCALL]: Remove conditional code. + [__ASSUME_STAT64_SYSCALL]: Make code unconditional. + * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]: + Remove conditional code. + [__ASSUME_STAT64_SYSCALL]: Make code unconditional. + * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]: + Remove conditional code. + [__ASSUME_STAT64_SYSCALL]: Make code unconditional. + * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include + . + [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64): + Remove. + * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]: + Remove conditional code. + [__ASSUME_STAT64_SYSCALL]: Make code unconditional. + * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]: + Remove conditional. + +2012-08-27 Mike Frysinger + + [BZ #5400] + * NEWS: Add fixed bug number. + +2012-08-27 Joseph Myers + + [BZ #14519] + * stdlib/strtod_l.c (round_and_return): Return -0.0 for + underflowing exponent in case of negative sign. + * stdlib/tst-strtod-round-data: Add more tests. + * stdlib/tst-strtod-round.c (tests): Regenerated. + + [BZ #3479] + * stdlib/strtod_l.c (NDIG): Remove. + (HEXNDIG): Likewise. + (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the + smallest representable value. + (____STRTOF_INTERNAL): Use all fractional decimal digits that may + lie within an exact representation of 1/2 ulp of the result. + * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10 + unconditionally. + (TENS_P9_IDX): Define unconditionally. + (TENS_P9_SIZE): Likewise. + (TENS_P10_IDX): Likewise. + (TENS_P10_SIZE): Likewise. + [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10 + to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024. + [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add + entries for 10^2^13 and 10^2^14. + [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] + (TENS_P13_IDX): Define. + (TENS_P13_SIZE): Likewise. + (TENS_P14_IDX): Likewise. + (TENS_P14_SIZE): Likewise. + (_fpioconst_pow10): Change array size to + FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10 + unconditional. + (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > + 1024]: Add entries for 10^2^13 and 10^2^14. + [LAST_POW10 > _LAST_POW10]: Remove #error. + * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define. + (_fpioconst_pow10): Change array size to + FPIOCONST_POW10_ARRAY_SIZE. + * stdlib/gen-fpioconst.c: New file. + * stdlib/gen-tst-strtod-round.c: Likewise. + * stdlib/tst-strtod-round-data: Likewise. + * stdlib/tst-strtod-round.c: Likewise. + * stdlib/Makefile (tests): Add tst-strtod-round. + + [BZ #14459] + * stdlib/strtod_l.c: Include . + (NDEBUG): Do not define. + (round_and_return): Change EXPONENT parameter to type intmax_t. + Rearrange calculations to avoid internal overflow possibilities. + (str_to_mpn): Change EXPONENT parameter to type intmax_t *. + Rearrange calculations to avoid internal overflow possibilities. + Assert that number fits inside MPNSIZE limbs. + (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t. + Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange + calculations and add assertions to avoid internal overflow + possibilities. Add casts to avoid signed/unsigned operations. + * stdlib/tst-strtod-overflow.c: New file. + * stdlib/Makefile (tests): Add tst-strtod-overflow. + +2012-08-25 Marek Polacek + + * time/time.h: Fix some typos in comments. + +2012-08-23 Roland McGrath + + * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c. + * posix/tst-rfc3484-2.c: Likewise. + * posix/tst-rfc3484-3.c: Likewise. + +2012-08-23 Steve McIntyre + + * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro. + (EF_ARM_ABI_FLOAT_HARD): Likewise. + +2012-08-23 Joseph Myers + + * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in + #include of fxstatat64.c. + +2012-08-22 Roland McGrath + + * shadow/getspent.c: #undef USE_NSCD before #include that gets the code. + * shadow/getspent_r.c: Likewise. + * shadow/getspnam.c: Likewise. + * shadow/getspnam_r.c: Likewise. + * gshadow/getsgent.c: Likewise. + * gshadow/getsgent_r.c: Likewise. + * gshadow/getsgnam.c: Likewise. + * gshadow/getsgnam_r.c: Likewise. + * inet/getnetbyad.c: Likewise. + * inet/getnetbyad_r.c: Likewise. + * inet/getnetbynm.c: Likewise. + * inet/getnetbynm_r.c: Likewise. + * inet/getnetent.c: Likewise. + * inet/getnetent_r.c: Likewise. + * inet/getproto.c: Likewise. + * inet/getproto_r.c: Likewise. + * inet/getprtent.c: Likewise. + * inet/getprtent_r.c: Likewise. + * inet/getprtname.c: Likewise. + * inet/getprtname_r.c: Likewise. + * inet/getrpcbyname.c: Likewise. + * inet/getrpcbyname_r.c: Likewise. + * inet/getrpcbynumber.c: Likewise. + * inet/getrpcbynumber_r.c: Likewise. + * inet/getrpcent.c: Likewise. + * inet/getrpcent_r.c: Likewise. + * inet/getaliasent.c: Likewise. + * inet/getaliasent_r.c: Likewise. + * inet/getaliasname.c: Likewise. + * inet/getaliasname_r.c: Likewise. + * nscd/getgrgid_r.c: Likewise. + * nscd/getgrnam_r.c: Likewise. + * nscd/gethstbyad_r.c: Likewise. + * nscd/gethstbynm3_r.c: Likewise. + * nscd/getpwnam_r.c: Likewise. + * nscd/getpwuid_r.c: Likewise. + * nscd/getsrvbynm_r.c: Likewise. + * nscd/getsrvbypt_r.c: Likewise. + * nscd/gai.c: Likewise. + + * configure.in (build_nscd): New substituted variable, set + by --disable-build-nscd and defaults to $use_nscd. + * configure: Regenerated. + * config.make.in (build-nscd): New substituted variable. + * nscd/Makefile (others, others-pie, install-sbin, extra-objs): + Change conditional to require [$(build-nscd) = yes] as well. + * NEWS: Mention --disable-build-nscd in the --disable-nscd item. + + [BZ #13696] + * configure.in (use_nscd): New substituted variable, set by + --disable-nscd. If enabled, define USE_NSCD. + * configure: Regenerated. + * config.h.in: Add USE_NSCD. + * config.make.in (use-nscd): New substituted variable. + * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise. + (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise. + (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed. + * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD. + (CFLAGS-getgrnam_r.c): Likewise. + (CFLAGS-initgroups.c): Likewise. + * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD. + * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c): + Variables removed. + * inet/getnetgrent_r.c + (nscd_setnetgrent): New function, broken out of ... + (setnetgrent): ... here. Call it. + (innetgr): Conditionalize nscd bits on [USE_NSCD]. + (nscd_getnetgrent): Conditionalize on [USE_NSCD]. + (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD]. + * nscd/Makefile (routines, aux): Move definitions after include of + Makeconfig. Conditionalize on [$(use-nscd) != no]. + * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd): + Conditionalize on [USE_NSCD]. + (is_nscd, nscd_init_cb): Likewise. + (nss_load_library): Conditionalize init callback on [USE_NSCD]. + * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD]. + * nss/nss_db/db-init.c: Likewise. + * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on + [USE_NSCD]. + * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function. + (make_request): Use it. + (cache_valid_p): New function. + (__check_pf): Use it. + * NEWS: Add item for --disable-nscd. + +2012-08-22 Dmitry V. Levin + + * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp + to support sed >= 4.2.1-20-ga9bf076. + * configure: Regenerated. + +2012-08-22 Roland McGrath + + * csu/libc-start.c (apply_irel): Move extern declarations inside here. + Conditionalize whole body on [IREL]. + +2012-08-22 Jeff Law + + [BZ #14505] + * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r + if the family is PF_UNSPEC. + +2012-08-22 Mike Frysinger + + * Makerules (lib-version): Rename from V. + (install-lib-nosubdir): Change V to lib-version. + +2012-08-22 Will Schmidt + + [BZ #14252] + * powerpc32/power6/wcschr.c: New file. + * powerpc32/power6/wcscpy.c: New file. + * powerpc32/power6/wcsrchr.c: New file. + * powerpc64/power6/wcschr.c: New file. + * powerpc64/power6/wcscpy.c: New file. + * powerpc64/power6/wcsrchr.c: New file. + +2012-08-21 Maxim Kuvyrkov + + * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default. + (two_way_short_needle): Use it. + * string/strstr.c (AVAILABLE1_USES_J): Define. + * string/strcasestr.c: Likewise. + + * string/str-two-way.h (two_way_short_needle): Use pointers instead of + array references. + * string/strcasestr.c (TOLOWER): Make side-effect safe. + + [BZ #11607] + * NEWS: Add an entry. + * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros, + define their defaults. + (two_way_short_needle): Detect end-of-string on-the-fly. + * string/strcasestr.c, string/strstr.c (AVAILABLE): Update. + (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define. + * string/bug-strcasestr1.c: New test. + * string/Makefile: Run it. + +2012-08-21 Maxim Kuvyrkov + + [BZ #11607] + * string/str-two-way.h (two_way_short_needle): Optimize matching of + the first character. + +2012-08-21 Roland McGrath + + * csu/elf-init.c (__libc_csu_irel): Function removed. + * csu/libc-start.c (apply_irel): New function. + (LIBC_START_MAIN): Call it instead of __libc_csu_irel. + +2012-08-21 Joseph Myers + + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_FADVISE64_64_SYSCALL): Remove. + * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include + . + [__NR_fadvise64_64]: Make code unconditional. + [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code. + [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL || + !__NR_fadvise64_64)]: Likewise. + [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL || + !__NR_fadvise64_64))]: Likewise. + [__NR_fadvise64]: Make code unconditional. + [!__NR_fadvise64]: Remove conditional code. + * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include + . + (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code + unconditional. + (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove + conditional code. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do + not include . + (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code + unconditional. + (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove + conditional code. + * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not + include . + (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code + unconditional. + (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove + conditional code. + +2012-08-21 Will Schmidt + + * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and + slight instruction rearrangements per scrollpipe analysis. + * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise. + +2012-08-20 Roland McGrath + + * manual/syslog.texi (syslog; vsyslog, closelog): + Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}. + Reported by Ricardo Catalinas JimĂ©nez . + + * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using + DSOCAPS to match condition on defining it. + +2012-08-20 Joseph Myers + + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_SWAPCONTEXT_SYSCALL): Remove. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S + [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional. + [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S + [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional. + [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S + [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional. + [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code. + + * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ && + __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define. + + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_MMAP2_SYSCALL): Remove all definitions. + * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code + unconditional. + [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code. + * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap) + [__ASSUME_MMAP2_SYSCALL]: Make code unconditional. + (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code. + * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]: + Make code unconditional. + (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code. + (__mmap64) [!__NR_mmap2]: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap) + [__ASSUME_MMAP2_SYSCALL]: Make code unconditional. + (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code. + * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64) + [__NR_mmap2]: Make code unconditional. + (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code. + (__mmap64) [!__NR_mmap2]: Likewise. + +2012-08-20 Andreas Krebbel + + * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove. + +2012-08-18 Andreas Jaeger + + * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable. + +2012-08-18 Mike Frysinger + + * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden. + * include/unistd.h (__have_sock_cloexec): Likewise. + (__have_pipe2): Likewise. + (__have_dup3): Likewise. + +2012-08-18 Mike Frysinger + + [BZ #9685] + * include/unistd.h (__have_pipe2): Change define into an extern int. + (__have_dup3): Likewise. + * socket/have_sock_cloexec.c: Include fcntl.h. + (__have_pipe2): New variable. + (__have_dup3): Likewise. + +2012-08-17 Mike Frysinger + + * sysdeps/unix/sysv/linux/nice.c: Adjust #include. + +2012-08-17 Marek Polacek + + * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__ + ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used. + +2012-08-17 Roland McGrath + + * configure.in: Add AC_SUBST for sysheaders. + * configure: Regenerated. + * config.make.in (sysheaders): New substituted variable. + + * sysdeps/unix/mkfifo.c: Moved ... + * sysdeps/posix/mkfifo.c: ... here. + * sysdeps/unix/mkfifoat.c: Moved ... + * sysdeps/posix/mkfifoat.c: ... here. + + * sysdeps/unix/utime.c: Moved ... + * sysdeps/posix/utime.c: ... here. + + * sysdeps/unix/time.c: Moved ... + * sysdeps/posix/time.c: ... here. + * sysdeps/unix/sysv/linux/time.c: Adjust #include. + * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise. + + * sysdeps/unix/nice.c: Moved ... + * sysdeps/posix/nice.c: ... here. + + * sysdeps/unix/alarm.c: Moved ... + * sysdeps/posix/alarm.c: ... here. + + * intl/Makefile ($(codeset_mo)): Depend on the input file. + +2012-08-17 Jeff Law + + * intl/Makefile (codeset_mo): New variable. + ($(codeset_mo)): New target. + (tst-codeset.out): Depend on that. Remove explicit rule. + (tst-gettext3.out, tst-gettext5.out): Likewise. + (LOCPATH-ENV, tst-codeset-ENV): New variables. + (tst-gettext3-ENV, tst-gettext5-ENV): Likewise. + * intl/tst-codeset.sh: Remove. + * intl/tst-gettext3.sh: Likewise. + * intl/tst-gettext5.sh: Likewise. + +2012-08-17 Roland McGrath + + * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ... + * sysdeps/unix/syscalls.list: ... here. + + * sysdeps/posix/getaddrinfo.c + (save_gaiconf_mtime, check_gaiconf_mtime): New functions. + (gaiconf_init, gaiconf_reload): Use them. + [!_STATBUF_ST_NSEC] + (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime): + Define using time_t rather than struct timespec. + + * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro. + (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier): + Macros removed. + * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on + [!NO_THREADS]. + (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise. + (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2): + Likewise. + + * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for + __libc_cleanup_push argument. + + * bits/param.h: New file. + * misc/sys/param.h: New file. + * include/sys/param.h: New file. + * misc/Makefile (headers): Add bits/param.h. + * sysdeps/generic/sys/param.h: File removed. + * sysdeps/unix/sysv/linux/bits/param.h: New file. + * sysdeps/unix/sysv/linux/sys/param.h: File removed. + * sysdeps/mach/hurd/bits/param.h: New file. + * sysdeps/mach/hurd/sys/param.h: File removed. + + * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the + last change. + + * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on + [_IO_MTSAFE_IO]. + * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc] + (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock): + New macros. + + * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable. + * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally + rather than -D_IO_MTSAFE_IO conditionally. + * stdio-common/Makefile (CPPFLAGS): Likewise. + * wcsmbs/Makefile (CPPFLAGS): Likewise. + * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c): + Use $(libio-mtsafe). + * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead + of -D_IO_MTSAFE_IO. + (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise. + (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise. + (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise. + (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise. + (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise. + (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise. + (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise. + (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise. + (CFLAGS-fread_u_chk.c): Likewise. + (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise. + (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise. + (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise. + (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise. + * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise. + * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise. + * misc/Makefile (CFLAGS-mntent_r.c): Likewise. + * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise. + * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise. + + * libio/Makefile: Test [$(libc-reentrant) = yes] + instead of [$(filter %REENTRANT, $(defines)) nonempty]. + + * Makeconfig + [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT. + * sysdeps/pthread/configure: File removed. + * sysdeps/pthread/Makeconfig: New file. + * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable. + * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here. + +2012-08-16 Gary Benson + + * elf/dl-close.c (_dl_close_worker): Also set r->r_map when + unmapping the first object in a namespace. + +2012-08-16 Roland McGrath + + * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ... + (__internal_setnetgrent): ... this. Add internal_function to + definition. Add libc_hidden_def. + (setnetgrent): Update caller. + (internal_endnetgrent): Renamed to ... + (__internal_endnetgrent): ... this. Add internal_function to + definition. Add libc_hidden_def. + (endnetgrent): Update caller. + (internal_getnetgrent_r): Renamed to ... + (__internal_getnetgrent_r): ... this. Add internal_function to + definition. Add libc_hidden_def. + (__getnetgrent_r): Update caller. + * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses. + +2012-08-16 Joseph Myers + + * stdlib/longlong.h: Update from GCC. + +2012-08-16 Roland McGrath + + * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused)) + on _QL, which is set by umul_ppmm but never used. + * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY + variables, which are set by GMP macros but never used. + * stdio-common/_itowa.c (_itowa): Likewise. + * stdlib/divmod_1.c (mpn_divmod_1): Likewise. + * stdlib/mod_1.c (mpn_mod_1): Likewise. + +2012-08-16 Carlos O'Donell + + * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) : + struct La_sh_regs is not constant. + * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS) + : struct La_sparc32_regs + and struct La_sparc64_regs are not constant. + +2012-08-16 Joseph Myers + + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_POSIX_TIMERS): Remove. + * sysdeps/unix/sysv/linux/clock_getcpuclockid.c + [!__ASSUME_POSIX_TIMERS]: Remove conditional code. + * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]: + Make code unconditional. + [!__ASSUME_POSIX_TIMERS]: Remove conditional code. + * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]: + Make code unconditional. + [!__ASSUME_POSIX_TIMERS]: Remove conditional code. + * sysdeps/unix/sysv/linux/clock_nanosleep.c + [__ASSUME_POSIX_TIMERS]: Make code unconditional. + [!__ASSUME_POSIX_TIMERS]: Remove conditional code. + * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]: + Make code unconditional. + [!__ASSUME_POSIX_TIMERS]: Remove conditional code. + [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime] + (__libc_missing_posix_timers): Remove. + +2012-08-15 Roland McGrath + + * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize + check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT]. + + * bits/libc-lock.h (__rtld_lock_initialize): New macro. + + * elf/dl-sym.c: Include . + + * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit + constants, which avoids warnings in 32-bit builds. + + * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]: + (O_DSYNC, O_RSYNC): New macros (with NetBSD values). + + * misc/lseek.c: File moved to ... + * io/lseek.c: ... here. + + * rt/clock_nanosleep.c: Include , not . + + * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid + shifting LEN more than 31 bits at once. + +2012-08-15 Liubov Dmitrieva + + [BZ #14195] + * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix + segmentation fault for a case of two empty input strings. + * string/test-strncasecmp.c (check1): Renamed to... + (bz12205): ...this. + (bz14195): Add new testcase for two empty input strings and N > 0. + (test_main): Call new testcase, adapt for renamed function. + +2012-08-15 Andreas Jaeger + + [BZ #14090] + * crypt/md5test2.c: New test, based on test supplied by Serge + Belyshev . + * crypt/Makefile (xtests): Add md5test-giant.. + * crypt/Makefile ($(objpfx)md5test-giant): Add. + +2012-08-15 Paul Eggert + + [BZ #14090] + * crypt/md5.c (md5_process_block): Don't assume the buffer + length is less than 2**32. + * crypt/sha512.c (sha512_process_block): Don't assume the buffer + length is less than 2**64. + +2012-08-15 Roland McGrath + + * string/str-two-way.h: Include . + (MAX): Macro removed. + + * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header. + Move #define and #undef of memmove to just before and after + including . + + * sysdeps/x86_64/multiarch/memmove.c: Don't include . + [!NOT_IN_libc]: Move #define and #undef of memmove to just before + and after including . Move declarations of + __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back + to before #include "string/memmove.c". + + * include/dirent.h: Declare __getdirentries. + + * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not + using its value, to avoid warnings in the [!_LIBC_REENTRANT] case. + +2012-08-14 Mike Frysinger + + * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete. + * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check. + * sysdeps/i386/configure: Regenerated. + * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1, + STABS_CURRENT_FILE, and STABS_FUN. + (END): Remove call to STABS_FUN_END. + (STABS_CURRENT_FILE1): Delete. + (STABS_CURRENT_FILE): Likewise. + (STABS_FUN): Likewise. + (STABS_FUN_END): Likewise. + (STABS_FUN2): Likewise. + * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check. + * sysdeps/x86_64/configure: Regenerated. + +2012-08-14 Roland McGrath + + * elf/dl-open.c: Include . + * elf/dl-lookup.c: Likewise. + +2012-08-14 Joseph Myers + + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_CLONE_THREAD_FLAGS): Remove. + * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define + unconditionally. + * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define + unconditionally. + * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not + condition on __ASSUME_CLONE_THREAD_FLAGS. + +2012-08-14 Andreas Jaeger + + * sysdeps/i386/fpu/libm-test-ulps: Update. + +2012-08-13 Maxim Kuvyrkov + + * include/atomic.h (atomic_exchange_and_add): Split into ... + (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these. + New atomic macros. + +2012-08-13 Markus Trippelsdorf + + * sysdeps/x86_64/fpu/libm-test-ulps: Update. + +2012-08-13 Jeff Law + + * manual/stdio.texi (snprintf): Clarify handling of the trailing + null byte in the output string. + +2012-08-10 Joseph Myers + + * sysdeps/unix/sysv/linux/kernel-features.h + (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define. + [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL] + (__ASSUME_ARG_MAX_STACK_BASED): Define. + * sysdeps/unix/sysv/linux/sysconf.c (__sysconf) + [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to + !__ASSUME_ARG_MAX_STACK_BASED. Compare version with + __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL. + +2012-08-09 Jeff Law + + [BZ #13939] + * malloc.c/arena.c (reused_arena): New parameter, avoid_arena. + When avoid_arena is set, don't retry in the that arena. Pick the + next one, whatever it might be. + (arena_get2): New parameter avoid_arena, pass through to reused_arena. + (arena_lock): Pass in new parameter to arena_get2. + * malloc/malloc.c (__libc_memalign): Pass in new parameter to + arena_get2. + (__libc_malloc): Unify retrying after main arena failure with + __libc_memalign version. + (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise. + +2012-08-09 H.J. Lu + + [BZ #14166] + * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined + to __redirect_strstr. + (__strstr_sse42): Use typeof __redirect_strstr. + (__strstr_ia32): Likewise. + (__libc_strstr): New prototype. + (strstr): Renamed to ... + (__libc_strstr): This. + (strstr): New strong alias of __libc_strstr. + * sysdeps/x86_64/multiarch/strstr-c.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to + __redirect_time. + Include . + (__libc_time): New prototype. + (time_ifunc): Replace time with __libc_time. + (time): New strong alias and hidden definition of __libc_time. + (__GI_time): Remove strong alias. + * sysdeps/x86_64/multiarch/memmove.c: Don't include . + Include . + (memmove): Redefined to __redirect_memmove. + (__memmove_sse2): Use typeof __redirect_memmove. + (__memmove_ssse3): Likewise. + (__memmove_ssse3_back): Likewise. + (__libc_memmove): New prototype. + (memmove): Renamed to ... + (__libc_memmove): This. + (memmove): New strong alias of __libc_memmove. + +2012-08-08 Mark Salter + + * elf/elf.h + (R_MN10300_TLS_GD): Define. + (R_MN10300_TLS_LD): Likewise. + (R_MN10300_TLS_LDO): Likewise. + (R_MN10300_TLS_GOTIE): Likewise. + (R_MN10300_TLS_IE): Likewise. + (R_MN10300_TLS_LE): Likewise. + (R_MN10300_TLS_DTPMOD): Likewise. + (R_MN10300_TLS_DTPOFF): Likewise. + (R_MN10300_TLS_TPOFF): Likewise. + (R_MN10300_SYM_DIFF): Likewise. + (R_MN10300_ALIGN): Likewise. + (R_MN10300_NUM): Update. + +2012-08-08 Joseph Myers + + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL): + Remove. + +2012-08-08 Roland McGrath + + * sysdeps/posix/fdopendir.c: Include . + + * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for + sysdeps/unix -> sysdeps/posix move. + * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise. + +2012-08-07 Allan McRae + + [BZ #14303] + * sunrpc/rpc_main.c (SVR4_CPP): Remove. + (SUNOS_CPP): Likewise. + (find_cpp): Fall back to selecting system cpp when /lib/cpp is + not found. + (open_input): Call CPP using execvp. + +2012-08-07 Joseph Myers + + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_PROT_GROWSUPDOWN): Remove. + (__ASSUME_NO_CLONE_DETACHED): Likewise. + (__ASSUME_GETDENTS32_D_TYPE): Likewise. + (__ASSUME_WAITID_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/dl-execstack.c + (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make + code unconditional. + (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove + conditional code. + * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS) + [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional. + (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional + code. + * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code + unconditional. + [__ASSUME_WAITID_SYSCALL]: Likewise. + [!__ASSUME_WAITID_SYSCALL]: Remove conditional code. + +2012-08-07 Roland McGrath + + * sysdeps/unix/closedir.c: Renamed to ... + * sysdeps/posix/closedir.c: ... here. + * sysdeps/unix/dirfd.c: Renamed to ... + * sysdeps/posix/dirfd.c: ... here. + * sysdeps/unix/dirstream.h: Renamed to ... + * sysdeps/posix/dirstream.h: ... here. + * sysdeps/unix/fdopendir.c: Renamed to ... + * sysdeps/posix/fdopendir.c: ... here. + * sysdeps/unix/opendir.c: Renamed to ... + * sysdeps/posix/opendir.c: ... here. + * sysdeps/unix/readdir.c: Renamed to ... + * sysdeps/posix/readdir.c: ... here. + * sysdeps/unix/readdir_r.c: Renamed to ... + * sysdeps/posix/readdir_r.c: ... here. + * sysdeps/unix/rewinddir.c: Renamed to ... + * sysdeps/posix/rewinddir.c: ... here. + * sysdeps/unix/seekdir.c: Renamed to ... + * sysdeps/posix/seekdir.c: ... here. + * sysdeps/unix/telldir.c: Renamed to ... + * sysdeps/posix/telldir.c: ... here. + * sysdeps/unix/sysv/linux/opendir.c: Update #include. + * sysdeps/unix/sysv/linux/readdir64.c: Likewise. + * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise. + + * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ... + * bits/fcntl.h: ... here. + + * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000, + not 0. + (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC]. + [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros. + (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed. + (struct flock): Move l_start, l_len to the beginning. + Use __pid_t for l_pid. + [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros. + [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise. + [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise. + (F_GETLK64, F_SETLK64, F_SETLKW64): New macros. + [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro. + [__USE_LARGEFILE64] (struct flock64): New type. + (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8]. + + * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ... + * bits/dirent.h: ... here. + + * sysdeps/unix/bsd/bsd4.4/bits/dirent.h + [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro. + +2012-08-07 Joseph Myers + + * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): + Change from 2.6.0 to 2.6.16. + * sysdeps/unix/sysv/linux/configure: Regenerated. + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally. + (__ASSUME_TGKILL): Define conditional on architectures, not kernel + version. + (__ASSUME_UTIMES): Likewise. + (__ASSUME_CLONE_STOPPED): Remove. + (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on + architectures, not kernel version. + (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally. + (__ASSUME_NO_CLONE_DETACHED): Likewise. + (__ASSUME_GETDENTS32_D_TYPE): Likewise. + (__ASSUME_WAITID_SYSCALL): Likewise. + [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not + condition definition on __LINUX_KERNEL_VERSION >= 0x02060c. + * README: State 2.6.16 as minimum Linux kernel version. Do not + refer to older versions. + +2012-08-06 Roland McGrath + + * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]: + Define alphasort64 as an alias. + * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]: + Define versionsort64 as an alias. + * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]: + Define scandir64 as an alias. + * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]: + Define scandirat64 as an alias. + * dirent/alphasort64.c (alphasort64): + Conditionalize on [!_DIRENT_MATCHES_DIRENT64]. + * dirent/versionsort64.c: Likewise. + * dirent/scandir64.c: Likewise. + * dirent/scandirat64.c: Likewise. + * sysdeps/wordsize-64/alphasort.c: File removed. + * sysdeps/wordsize-64/alphasort64.c: File removed. + * sysdeps/wordsize-64/scandir.c: File removed. + * sysdeps/wordsize-64/scandir64.c: File removed. + * sysdeps/wordsize-64/scandirat.c: File removed. + * sysdeps/wordsize-64/scandirat64.c: File removed. + * sysdeps/wordsize-64/versionsort.c: File removed. + * sysdeps/wordsize-64/versionsort64.c: File removed. + * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed. + * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed. + * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed. + * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed. + * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed. + * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed. + * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed. + * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed. + + * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros. + * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: + [__s390x__] (__INO_T_MATCHES_INO64_T): New macro. + * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h + [defined __arch64__ || defined __sparcv9] + (__INO_T_MATCHES_INO64_T): New macro. + * sysdeps/unix/sysv/linux/x86/bits/typesizes.h + [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro. + * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro. + * sysdeps/unix/sysv/linux/bits/dirent.h + [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T] + (_DIRENT_MATCHES_DIRENT64): New macro. + + * io/lockf.c [__OFF_T_MATCHES_OFF64_T]: + Define lockf64 as an alias. + * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]: + Define fseeko64 as an alias. + * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]: + Define ftello64 as an alias. + * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]: + Define _IO_fgetpos64 and fgetpos64 as aliases. + * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]: + Define _IO_fsetpos64 and fsetpos64 as aliases. + * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]: + Conditionalize body on this. + * libio/fseeko64.c: Likewise. + * libio/ftello64.c: Likewise. + * libio/iofgetpos64.c: Likewise. + * libio/iofsetpos64.c: Likewise. + * sysdeps/wordsize-64/lockf.c: File removed. + * sysdeps/wordsize-64/lockf64.c: File removed. + * sysdeps/wordsize-64/fseeko.c: File removed. + * sysdeps/wordsize-64/fseeko64.c: File removed. + * sysdeps/wordsize-64/ftello.c: File removed. + * sysdeps/wordsize-64/ftello64.c: File removed. + * sysdeps/wordsize-64/iofgetpos.c: File removed. + * sysdeps/wordsize-64/iofgetpos64.c: File removed. + * sysdeps/wordsize-64/iofsetpos.c: File removed. + * sysdeps/wordsize-64/iofsetpos64.c: File removed. + * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed. + * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed. + * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed. + * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed. + * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed. + * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed. + * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed. + * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed. + * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed. + * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed. + + * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro. + * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: + [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro. + * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h + [defined __arch64__ || defined __sparcv9] + (__OFF_T_MATCHES_OFF64_T): New macro. + * sysdeps/unix/sysv/linux/x86/bits/typesizes.h + [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro. + * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h + (__OFF_T_MATCHES_OFF64_T): New macro. + +2012-08-06 H.J. Lu + + * stdlib/secure-getenv.c (__secure_getenv): Replace + GLIBC_2_16 with GLIBC_2_17. + +2012-08-06 H.J. Lu + + * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed. + * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise. + +2012-08-03 David S. Miller + + * sysdeps/sparc/fpu/libm-test-ulps: Update. + +2012-08-03 Joseph Myers + + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE): + Remove. + (__ASSUME_CORRECT_SI_PID): Likewise. + (__ASSUME_BRK_PAGE_ROUNDED): Likewise. + (__ASSUME_TMPFS_NAME): Likewise. + * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk) + [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code. + * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE] + (HAVE_AUX_SECURE): Make definition unconditional. + * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs) + [!__ASSUME_TMPFS_NAME]: Remove conditional code. + +2012-08-03 Roland McGrath + + * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed. + * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed. + * sysdeps/mach/hurd/eloop-threshold.h: New file. + * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use + __eloop_threshold instead of SYMLOOP_MAX. + + * sysdeps/generic/eloop-threshold.h: New file. + * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead + of MAXSYMLINKS. + * elf/chroot_canon.c (chroot_canon): Likewise. + +2012-08-03 Joseph Myers + + [BZ #13717] + * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): + Change to 2.6.0 everywhere. + * sysdeps/unix/sysv/linux/configure: Regenerated. + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove. + (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not + kernel versions. + (__ASSUME_POSIX_TIMERS): Define unconditionally. + (__ASSUME_FUTEX_REQUEUE): Remove. + (__ASSUME_STATFS64): Define unconditionally. + (__ASSUME_AT_SECURE): Likewise. + (__ASSUME_CORRECT_SI_PID): Likewise. + (__ASSUME_TGKILL): Define without depending on kernel version for + i386. + (__ASSUME_UTIMES): Likewise. + (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not + kernel version. + (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally. + (__ASSUME_TMPFS_NAME): Likewise. + * README: Update reference to Linux kernel versions. + +2012-08-02 Marek Polacek + + [BZ #14150] + * configure.in (libc_cv_asm_type_prefix): Remove test. Replace + libc_cv_asm_type_prefix with %. + * configure: Regenerated. + * include/libc-symbols.h: Remove comment about + ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %. + (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define. + (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise. + (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise. + (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise. + * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %. + [HAVE_ASM_UNIQUE_OBJECT]: Do not define S. + [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S. + * elf/tst-unique2mod1.c: Likewise. + * elf/tst-unique1mod2.c: Likewise. + * elf/tst-unique1mod1.c: Likewise. + * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX. + * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE. + Replace ASM_TYPE_DIRECTIVE with .type. + * sysdeps/s390/s390-64/sysdep.h: Likewise. + * sysdeps/i386/sysdep.h: Likewise. + * sysdeps/x86_64/sysdep.h: Likewise. + * sysdeps/sh/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: + Do not define ASM_TYPE_DIRECTIVE. + * sysdeps/powerpc/sysdep.h: Likewise. + * sysdeps/powerpc/powerpc32/sysdep.h: + Replace ASM_TYPE_DIRECTIVE with .type. + * sysdeps/s390/s390-32/s390-mcount.S: Likewise. + * sysdeps/s390/s390-64/s390x-mcount.S: Likewise. + * sysdeps/i386/fpu/e_powf.S: Likewise. + * sysdeps/i386/fpu/e_expl.S: Likewise. + * sysdeps/i386/fpu/e_atanhf.S: Likewise. + * sysdeps/i386/fpu/e_acosh.S: Likewise. + * sysdeps/i386/fpu/e_pow.S: Likewise. + * sysdeps/i386/fpu/s_asinhl.S: Likewise. + * sysdeps/i386/fpu/e_acoshl.S: Likewise. + * sysdeps/i386/fpu/s_expm1.S: Likewise. + * sysdeps/i386/fpu/s_frexpf.S: Likewise. + * sysdeps/i386/fpu/e_log2.S: Likewise. + * sysdeps/i386/fpu/e_log2l.S: Likewise. + * sysdeps/i386/fpu/e_scalb.S: Likewise. + * sysdeps/i386/fpu/e_powl.S: Likewise. + * sysdeps/i386/fpu/e_log10f.S: Likewise. + * sysdeps/i386/fpu/s_cbrtf.S: Likewise. + * sysdeps/i386/fpu/e_logl.S: Likewise. + * sysdeps/i386/fpu/s_cbrt.S: Likewise. + * sysdeps/i386/fpu/s_frexpl.S: Likewise. + * sysdeps/i386/fpu/s_expm1f.S: Likewise. + * sysdeps/i386/fpu/e_log2f.S: Likewise. + * sysdeps/i386/fpu/e_acoshf.S: Likewise. + * sysdeps/i386/fpu/e_log.S: Likewise. + * sysdeps/i386/fpu/e_scalbf.S: Likewise. + * sysdeps/i386/fpu/e_logf.S: Likewise. + * sysdeps/i386/fpu/e_log10l.S: Likewise. + * sysdeps/i386/fpu/e_atanh.S: Likewise. + * sysdeps/i386/fpu/s_asinhf.S: Likewise. + * sysdeps/i386/fpu/e_log10.S: Likewise. + * sysdeps/i386/fpu/s_frexp.S: Likewise. + * sysdeps/i386/fpu/e_atanhl.S: Likewise. + * sysdeps/i386/fpu/s_asinh.S: Likewise. + * sysdeps/i386/fpu/s_cbrtl.S: Likewise. + * sysdeps/i386/fpu/e_scalbl.S: Likewise. + * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise. + * sysdeps/i386/i686/fpu/e_logl.S: Likewise. + * sysdeps/i386/i686/strtok.S: Likewise. + * sysdeps/i386/i386-mcount.S: Likewise. + * sysdeps/i386/strtok.S: Likewise. + * sysdeps/x86_64/fpu/e_expl.S: Likewise. + * sysdeps/x86_64/fpu/e_log2l.S: Likewise. + * sysdeps/x86_64/fpu/e_powl.S: Likewise. + * sysdeps/x86_64/fpu/e_logl.S: Likewise. + * sysdeps/x86_64/fpu/e_expf.S: Likewise. + * sysdeps/x86_64/fpu/e_log10l.S: Likewise. + * sysdeps/x86_64/fpu/s_copysignf.S: Likewise. + * sysdeps/x86_64/fpu/s_copysign.S: Likewise. + * sysdeps/x86_64/fpu/e_scalbl.S: Likewise. + * sysdeps/x86_64/_mcount.S: Likewise. + * sysdeps/x86_64/strtok.S: Likewise. + * sysdeps/sh/_mcount.S: Likewise. + +2012-08-01 Roland McGrath + + * libio/iofopen.c: Include . + [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0] + (_IO_fopen64, fopen64): Define as aliases. + * libio/iofopen64.c: Include . + [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]: + Conditionalize body on this. + * sysdeps/wordsize-64/iofopen.c: File removed. + * sysdeps/wordsize-64/iofopen64.c: File removed. + +2012-08-01 Marek Polacek + + * libc/Makeconfig: Use elf in place of binfmt-subdir. + Use dlfcn directly instead of a variable. + (binfmt-subdir): Do not define. + (dlfcn): Likewise. + +2012-08-01 Joseph Myers + + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64): + Remove all definitions. + * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include + . + [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove. + (miss_F_GETOWN_EX): Remove all definitions. + [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove + macro definition. + [!__ASSUME_FCNTL64]: Remove conditional code. + [__ASSUME_FCNTL64]: Make code unconditional. + * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include + . + [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove. + (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code. + (lockf64) [__NR_fcntl64]: Make code unconditional. + (lockf64) [__ASSUME_FCNTL64]: Likewise. + + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_VFORK_SYSCALL): Remove all definitions. + * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]: + Make code unconditional. + (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise. + (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork) + [__NR_vfork]: Make code unconditional. + (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise. + (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork) + [__NR_vfork]: Make code unconditional. + (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise. + (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code. + +2012-08-01 Roland McGrath + + * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX]. + (MAXSYMLINKS): Define only if [SYMLOOP_MAX]. + + * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]: + Define mkstemp64 as an alias. + * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]: + Define mkstemps64 as an alias. + * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]: + Define mkostemp64 as an alias. + * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]: + Define mkostemps64 as an alias. + * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]: + Conditionalize body on this. + * misc/mkostemp64.c: Likewise. + * misc/mkostemps64.c: Likewise. + * misc/mkstemps64.c: Likewise. + * sysdeps/wordsize-64/mkstemp64.c: File removed. + * sysdeps/wordsize-64/mkostemp64.c: File removed. + * sysdeps/wordsize-64/mkostemp.c: File removed. + * sysdeps/wordsize-64/mkstemp.c: File removed. + * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed. + * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed. + * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed. + * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed. + + [BZ #14138] + * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line. + * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed. + * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed. + * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed. + + * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and + compat_symbol macros from rather than the underlying + default_symbol_version and symbol_version macros, so that DEFAULT + lines in shlib-versions are respected. + * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise. + +2012-08-01 Florian Weimer + + * posix/unistd.h (setuid, setreuid, seteuid, setresuid): + Declare with warn_unused_result. + (setgid, setregid, setegid, setresgid): Likewise. + * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid): + Likewise. + * WUR-REPORT: Remove set*id functions. + +2012-07-31 Pino Toscano + + * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c. + +2012-07-31 Roland McGrath + + [BZ #10191] + * include/sys/socket.h (__libc_accept, __libc_accept4): + Add attribute_hidden. + * socket/accept4.c (__libc_accept4): Remove libc_hidden_def. + + * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize + use of PTR_MANGLE. + * inet/getnetgrent_r.c (setup): Likewise. + + * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef. + +2012-07-31 David S. Miller + + * sysdeps/sparc/fpu/libm-test-ulps: Update. + +2012-07-31 Joseph Myers + + [BZ #13629] + * math/s_clog.c (__clog): Use __log1p if larger part has absolute + value between 1.0 and 2.0 and smaller part has absolute value less + than 1.0. + * math/s_clog10.c (__clog10): Likewise. + * math/s_clog10f.c (__clog10f): Likewise. + * math/s_clog10l.c (__clog10l): Likewise. + * math/s_clogf.c (__clogf): Likewise. + * math/s_clogl.c (__clogl): Likewise. + * math/libm-test.inc (clog_test): Add more tests. + (clog10_test): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2012-07-31 Florian Weimer + + * stdlib/tst-secure-getenv.c: Use printf for error reporting. + Exit with zero in case no suitable GID is found, and write a + message to standard error. + +2012-07-30 Roland McGrath + + * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX + rather than to 1. + (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros. + (MAXPATHLEN): Removed. + (NOGROUP, NODEV): New macros. + (setbit, clrbit, isset, isclr): New macros. + (howmany, roundup, powerof2): New macros. + (DEV_BSIZE): New macro. + + * include/unistd.h: Add attribute_hidden on __libc_pwrite64. + * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64). + + * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize + definition on [!__NO_LONG_DOUBLE_MATH]. + + * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of + PTR_MANGLE and PTR_DEMANGLE. + + * socket/accept4.c (accept4): Rename to __libc_accept4. + Define accept4 as a weak alias. + + * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use + on [_DIRENT_HAVE_D_TYPE]. + * io/ftw.c (ftw_dir): Likewise. + + * io/xmknod.c (__xmknod): Don't check PATH for being null. + + * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO]. + + * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD): + Use the BSD numbers rather than the arbitrary ones we had. + (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros. + (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros. + (SIGXCPU, SIGXFSZ): New macros. + (_NSIG): Now 32. + + * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE] + initializer on [_LIBC_REENTRANT]. + + * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR + definitions inside [_POSIX_MAPPED_FILES]. + + * posix/regex.c: Include for MIN/MAX. + + * dirent/opendir.c: Include . + + * bits/libc-lock.h (__libc_setspecific): Evaluate arguments. + (__libc_getspecific): Likewise. + (__libc_key_create): Likewise. + + * stdio-common/tmpfile64.c: Include first. + [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this. + * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0] + (tmpfile64): Define as alias. + * sysdeps/wordsize-64/tmpfile.c: File removed. + * sysdeps/wordsize-64/tmpfile64.c: File removed. + * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed. + * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed. + + * stdio-common/vfscanf.c: Include . + * nss/makedb.c: Likewise. + * stdio-common/_i18n_number.h: Likewise. + * argp/argp-help.c: Likewise. + * posix/wordexp.c: Likewise. + * sysdeps/posix/spawni.c: Likewise. + * nss/nss_files/files-initgroups.c: Likewise. + * stdio-common/reg-modifier.c: Include . + * nss/nss_files/files-initgroups.c: Likewise. + * nss/nss_db/db-netgrp.c: Likewise. + * nss/nss_db/db-initgroups.c: Likewise. + * io/fchmodat.c: Include . + + * sysdeps/generic/ldsodefs.h (struct rtld_global): Use + __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t. + + * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of + [HAVE_MMAP]. + + * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too. + Add multiple inclusion protection. + +2012-07-27 David S. Miller + + * sysdeps/sparc/fpu/libm-test-ulps: Update. + +2012-07-27 Gary Benson + + [BZ #14298] + * elf/rtld.c: Include . + (dl_main): Added static probes "init_start" and "init_complete". + * elf/dl-load.c: Include . + (lose): Take new parameter "nsid". + Added static probe "map_failed". + (_dl_map_object_from_fd): Pass namespace id to lose. + Added static probe "map_start". + (open_verify): Pass namespace id to lose. + * elf/dl-open.c: Include . + (dl_open_worker) Added static probes "map_complete", "reloc_start" + and "reloc_complete". + * elf/dl-close.c: Include . + (_dl_close_worker): Added static probes "unmap_start" and + "unmap_complete". + * elf/rtld-debugger-interface.txt: New file documenting the above. + +2012-07-26 Roland McGrath + + * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format + rather than a string variable. + * sunrpc/rpc_main.c (h_output): Likewise. + * sunrpc/rpc_svcout.c (write_real_program): Likewise. + +2012-07-26 Pino Toscano + + * inet/check_native.c: New file. + +2012-07-26 Joseph Myers + + [BZ #13629] + * math/s_clog.c (__clog): Use __log1p or direct log1p calculation + if larger part has absolute value 1.0. + * math/s_clog10.c (__clog10): Likewise. + * math/s_clog10f.c (__clog10f): Likewise. + * math/s_clog10l.c (__clog10l): Likewise. + * math/s_clogf.c (__clogf): Likewise. + * math/s_clogl.c (__clogl): Likewise. + * math/libm-test.inc (clog_test): Add more tests. + (clog10_test): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro. + (pltexit): Likewise. + (La_regs): Likewise. + (La_retval): Likewise. + (int_retval): Likewise. + Update #error for removed macros to refer only to definitions in + tst-audit.h. + * elf/tst-auditmod3b.c (pltenter): Remove all definitions of + macro. + (pltexit): Likewise. + (La_regs): Likewise. + (La_retval): Likewise. + (int_retval): Likewise. + * elf/tst-auditmod4b.c (pltenter): Remove all definitions of + macro. + (pltexit): Likewise. + (La_regs): Likewise. + (La_retval): Likewise. + (int_retval): Likewise. + * elf/tst-auditmod5b.c (pltenter): Remove all definitions of + macro. + (pltexit): Likewise. + (La_regs): Likewise. + (La_retval): Likewise. + (int_retval): Likewise. + * elf/tst-auditmod6b.c (pltenter): Remove all definitions of + macro. + (pltexit): Likewise. + (La_regs): Likewise. + (La_retval): Likewise. + (int_retval): Likewise. + * elf/tst-auditmod6c.c (pltenter): Remove all definitions of + macro. + (pltexit): Likewise. + (La_regs): Likewise. + (La_retval): Likewise. + (int_retval): Likewise. + * elf/tst-auditmod7b.c (pltenter): Remove all definitions of + macro. + (pltexit): Likewise. + (La_regs): Likewise. + (La_retval): Likewise. + (int_retval): Likewise. + * sysdeps/generic/tst-audit.h: Update comment to refer only to + macro definitions in tst-audit.h. + * sysdeps/i386/tst-audit.h: New file. + * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise. + * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise. + * sysdeps/s390/s390-32/tst-audit.h: Likewise. + * sysdeps/s390/s390-64/tst-audit.h: Likewise. + * sysdeps/sh/tst-audit.h: Likewise. + * sysdeps/sparc/sparc32/tst-audit.h: Likewise. + * sysdeps/sparc/sparc64/tst-audit.h: Likewise. + * sysdeps/x86_64/tst-audit.h: Likewise. + +2012-07-26 Andreas Jaeger + + * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for + ptrace. + + * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add + new value PTRACE_EVENT_SECCOMP from Linux 3.5. + (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust + PTRACE_O_MASK. + * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise. + + * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new + value. + + * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add + _sigsys. + (si_call_addr, si_syscall, si_arch): Define new macro. + * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add + _sigsys. + (si_call_addr, si_syscall, si_arch): Define new marcro. + * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add + _sigsys. + (si_call_addr, si_syscall, si_arch): Define new macro. + * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add + _sigsys. + (si_call_addr, si_syscall, si_arch): Define new macro. + +2012-07-25 Joseph Myers + + [BZ #13717] + * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): + Change to 2.4.21 where previously 2.4.1. + * sysdeps/unix/sysv/linux/configure: Regenerated. + * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ || + __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on + Linux kernel version. + (__ASSUME_STD_AUXV): Remove. + [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux + kernel version. + [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise. + (__ASSUME_NEW_PRCTL_SYSCALL): Remove. + (__ASSUME_FIXED_CLONE_SYSCALL): Likewise. + (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise. + (__ASSUME_NETLINK_SUPPORT): Likewise. + * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0] + (__no_netlink_support): Remove conditional definition. + * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support): + Remove. + (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code. + [__ASSUME_NETLINK_SUPPORT]: Make code unconditional. + * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT] + (if_nameindex_ioctl): Remove. + (if_nameindex_netlink): Do not handle __no_netlink_support. + (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional + code. + * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]: + Remove conditional code. + (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional + code. + (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code + unconditional. + [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code. + [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional. + * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support): + Remove. + * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c + [!__ASSUME_STD_AUXV]: Remove conditional code. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone) + [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code. + [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c + [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove. + (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional + code. + [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c + [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove. + (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove + conditional code. + [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c + (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional + code. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c + (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove + conditional code. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S + (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make + code unconditional. + (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove + conditional code. + (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code + unconditional. + (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove + conditional code. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S + (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code + unconditional. + (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove + conditional code. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S + (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make + code unconditional. + (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove + conditional code. + (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code + unconditional. + (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove + conditional code. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S + (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make + code unconditional. + (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove + conditional code. + (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code + unconditional. + (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove + conditional code. + +2012-07-25 Andreas Schwab + + * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label. + * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise. + * sysdeps/unix/sysv/linux/i386/clone.S: Likewise. + * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise. + * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise. + * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise. + * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/i386/socket.S: Likewise. + * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise. + * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise. + * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise. + * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise. + * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise. + * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise. + * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise. + * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise. + * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise. + +2012-07-25 Florian Weimer + + * Versions.def: Add GLIBC_2.17. + * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv. + * include/stdlib.h: Rename __secure_getenv to secure_getenv. + Introduce __libc_secure_getenv. + * stdlib/Versions (2.17): Add secure_getenv + (GLIBC_PRIVATE): Add __libc_secure_getenv. + * stdlib/secure-getenv.c: Rename __secure_getenv to + __libc_secure_getenv. Add secure_getenv alias. Add compatibility + symbol __secure_getenv for GLIBC_2.0. + * stdlib/tst-secure-getenv.c: New. + * stdlib/Makefile (tests): Add testcase. + * manual/startup.texi (Environment Access): Document + secure_getenv. + * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to + __libc_secure_getenv. + * inet/ruserpass.c (ruserpass): Likewise. + * malloc/mtrace.c (mtrace): Likewise. + * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise. + * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise. + * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise. + * sysdeps/posix/tempname.c: Likewise. Evaluate + HAVE_SECURE_GETENV. + * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename + __secure_getenv to __libc_secure_getenv. + * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise. + +2012-07-25 Joseph Myers + + * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove. + (struct La_i86_retval): Likewise. + (struct La_x86_64_regs): Likewise. + (struct La_x86_64_retval): Likewise. + (struct La_x32_regs): Likewise. + (struct La_x32_retval): Likewise. + (struct La_ppc32_regs): Likewise. + (struct La_ppc32_retval): Likewise. + (struct La_ppc64_regs): Likewise. + (struct La_ppc64_retval): Likewise. + (struct La_sh_regs): Likewise. + (struct La_sh_retval): Likewise. + (struct La_s390_32_regs): Likewise. + (struct La_s390_32_retval): Likewise. + (struct La_s390_64_regs): Likewise. + (struct La_s390_64_retval): Likewise. + (struct La_sparc32_regs): Likewise. + (struct La_sparc32_retval): Likewise. + (struct La_sparc64_regs): Likewise. + (struct La_sparc64_retval): Likewise. + (struct audit_ifaces): Remove architecture-specific pltenter and + pltexit members. + * sysdeps/i386/ldsodefs.h: New file. + * sysdeps/powerpc/ldsodefs.h: Likewise. + * sysdeps/s390/ldsodefs.h: Likewise. + * sysdeps/sh/ldsodefs.h: Likewise. + * sysdeps/sparc/ldsodefs.h: Likewise. + * sysdeps/x86_64/ldsodefs.h: Likewise. + +2012-07-25 Marek Polacek + + [BZ #6808] + * math/libm-test.inc (yn_test): Add another test. + * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno + to ERANGE when the result is +-Inf. + * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise. + * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise. + * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise. + * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise. + +2012-07-24 Joseph Myers + + * conform/data/time.h-data (NULL): Use macro-constant. Require + equal to 0. + (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as + clock_t. + [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0. + +2012-07-23 Thomas Schwinge + + * configure.in : Correct printing + Implies_before. + * configure: Regenerate. + +2012-07-22 Thomas Schwinge + + * math/w_ilogb.c: Include . + * math/w_ilogbl.c: Likewise. + +2012-07-20 Joseph Myers + + * manual/lang.texi (__va_copy): Document primarily as ISO C99 + va_copy. Document allowing for unavailable va_copy only as + pre-C99 compatibility. + * manual/string.texi (Copying and Concatenation): Use va_copy + instead of __va_copy in concat example. + +2012-07-20 Pino Toscano + + * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine. + (__sendto): Use create_address_port. Initialize APORT and deallocate + it if not null. + + * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c + with O_NOLINK passed to __file_name_lookup. + + * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c + with O_NOLINK passed to __file_name_lookup. + + * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for + negative N or less than NGIDS. + + * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its + type to string_t. Set ERANGE as errno and return it if NAME is not big + enough. Use memcpy instead of strncpy. + +2012-07-20 Joseph Myers + + * elf/Makefile (check-data): Remove. + (localplt.data): New vpath directive. + ($(objpfx)check-localplt.out): Use localplt.data from vpath + instead of $(check-data). + * scripts/data/localplt-generic.data: Move to ... + * sysdeps/generic/localplt.data: ... here. + * scripts/data/localplt-i386-linux-gnu.data: Move to ... + * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here. + * scripts/data/localplt-powerpc-linux-gnu.data: Move to ... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data: + ... here. + * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ... + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data: + ... here. + * scripts/data/localplt-s390-linux-gnu.data: Move to ... + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: + ... here. + * scripts/data/localplt-s390x-linux-gnu.data: Move to ... + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data: + ... here. + * scripts/data/localplt-sparc-linux-gnu.data: Move to ... + * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: + ... here. + * scripts/data/localplt-sparc64-linux-gnu.data: Move to ... + * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: + ... here. + +2012-07-19 Adhemerval Zanella + + * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in + PPC32 and PPC64 files. + * sysdeps/powerpc/powerpc32/tls-macros.h: New file. + * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise. + +2012-07-19 Andreas Krebbel + + * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move + __makecontext_ret to ... + * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S: + ... here and call exit if uc_link is NULL. New file. + * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add + __makecontext_ret.S. + * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move + __makecontext_ret to ... + * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S: + ... here and call exit if uc_link is NULL. New file. + * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add + __makecontext_ret.S. + +2012-07-19 Andreas Krebbel + + * elf/elf.h (R_390_IRELATIVE): New definition. + * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the + resolver function for IFUNC symbols. Support R_390_IRELATIVE. + (elf_machine_lazy_rel): Support R_390_IRELATIVE. + * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): + (elf_machine_lazy_rel): Likewise. + * sysdeps/s390/dl-irel.h: New file. + * sysdeps/s390/s390-64/memcpy.S: New asm code. + * sysdeps/s390/s390-64/memset.S: New asm code. + * sysdeps/s390/s390-64/memcmp.S: New asm code. + * sysdeps/s390/s390-64/multiarch/memset.S: New file. + * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file. + * sysdeps/s390/s390-64/multiarch/memcmp.S: New file. + * sysdeps/s390/s390-64/multiarch/memcpy.S: New file. + * sysdeps/s390/s390-64/multiarch/Makefile: New file. + * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file. + * sysdeps/s390/s390-32/multiarch/Makefile: New file. + * sysdeps/s390/s390-32/multiarch/memcmp.S: New file. + * sysdeps/s390/s390-32/multiarch/memcpy.S: New file. + * sysdeps/s390/s390-32/multiarch/memset.S: New file. + * sysdeps/s390/s390-32/memcpy.S: New asm code. + * sysdeps/s390/s390-32/memset.S: New asm code. + * sysdeps/s390/s390-32/memcmp.S: New asm code. + +2012-07-17 Marek Polacek + + [BZ #14349] + * sysdeps/s390/s390-32/configure.in: Remove TLS check. + * sysdeps/s390/s390-64/configure.in: Likewise. + * sysdeps/sparc/configure.in: Likewise. + * sysdeps/powerpc/powerpc32/configure.in: Likewise. + * sysdeps/powerpc/powerpc64/configure.in: Likewise. + * sysdeps/i386/configure.in: Likewise. + * sysdeps/x86_64/configure.in: Likewise. + * sysdeps/sh/configure.in: Likewise. + * sysdeps/s390/s390-32/configure: Regenerated. + * sysdeps/s390/s390-64/configure: Likewise. + * sysdeps/x86_64/configure: Likewise. + * sysdeps/sh/configure: Likewise. + * sysdeps/powerpc/powerpc64/configure: Likewise. + * sysdeps/powerpc/powerpc32/configure: Likewise. + * sysdeps/sparc/configure: Likewise. + * sysdeps/i386/configure: Likewise. + + * elf/dl-open.c: Comment fixes. + +2012-07-17 Joseph Myers + + * Makefile [CXX] (check-data): Remove. + [CXX] (c++-types.data): New vpath directive. + [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from + vpath. Do not allow for C++ type data being missing. + * scripts/data/c++-types-alpha-linux-gnu.data: Move to + ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data. + * scripts/data/c++-types-ia64-linux-gnu.data: Move to + ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data. + * scripts/data/c++-types-i386-linux-gnu.data: Move to ... + * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here. + * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data: + ... here. + * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ... + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data: + ... here. + * scripts/data/c++-types-s390-linux-gnu.data: Move to ... + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: + ... here. + * scripts/data/c++-types-s390x-linux-gnu.data: Move to ... + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: + ... here. + * scripts/data/c++-types-sparc-linux-gnu.data: Move to ... + * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: + ... here. + * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ... + * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: + ... here. + * scripts/data/c++-types-x32-linux-gnu.data: Move to ... + * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: + ... here. + * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ... + * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here. + + * elf/tls-macros.h (TLS_LE): Move architecture-specific + definitions to architecture-specific files. + (TLS_IE): Likewise. + (TLS_LD): Likewise. + (TLS_GD): Likewise. + * sysdeps/i386/tls-macros.h: New file. + * sysdeps/powerpc/tls-macros.h: Likewise. + * sysdeps/s390/s390-32/tls-macros.h: Likewise. + * sysdeps/s390/s390-64/tls-macros.h: Likewise. + * sysdeps/sh/tls-macros.h: Likewise. + * sysdeps/sparc/sparc32/tls-macros.h: Likewise. + * sysdeps/sparc/sparc64/tls-macros.h: Likewise. + * sysdeps/x86_64/tls-macros.h: Likewise. + +2012-07-17 Thomas Schwinge + + * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve + zero value for regular exit case. + + * sysdeps/unix/sysv/linux/x86_64/__start_context.S + (__start_context): Preserve zero value for regular exit case. + +2012-07-17 Thomas Schwinge + Andreas Krebbel + + * manual/setjmp.texi (setcontext): Clarify normal process + termination when uc_link is the null pointer. + * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit + exit call. + +2012-07-16 Andreas Schwab + + * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in + preprocessor. Test for each exception mask separately. + +2012-07-16 Andreas Jaeger + + * po/ru.po: Update from translation team. + +2012-07-15 Joseph Myers + + * conform/data/string.h-data (NULL): Use macro-constant. Require + equal to 0. + [ISO || ISO99 || ISO11] (stddef.h): Do not allow header. + (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*. + (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*. + (mem[abcdefghijklmnopqrstuvwxyz]*): Allow. + [ISO || ISO99 || ISO11] (*_t): Do not allow. + +2012-07-13 Andreas Jaeger + + * po/fr.po: Update from translation team. + +2012-07-12 Marek Polacek + + [BZ #14173] + * math/libm-test.inc (yn_test): Add test for BZ #14173. + * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct + loop condition. + +2012-07-12 Joseph Myers + + [BZ #13717] + * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): + Change to 2.4.1 where previously 2.4.0. + * sysdeps/unix/sysv/linux/configure: Regenerated. + * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__] + (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel + version. + [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise. + (__ASSUME_AT_CLKTCK): Remove. + (__ASSUME_AT_PAGESIZE): Likewise. + (__ASSUME_AT_XID): Likewise. + (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally. + [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally. + * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define + unconditionally. + (HAVE_AUX_PAGESIZE): Likewise. + * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency) + [__ASSUME_AT_CLKTCK]: Make code unconditional. + [!__ASSUME_AT_CLKTCK]: Remove conditional code. + +2012-07-12 Jeroen van Bemmel + + [BZ #14307] + * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of + the temporary buffer used to invoke __gethostbyname2_r, + __gethostbyaddr_r and gethostbyname4_r to make room for struct + host_data / struct gaih_addrtuple. + * resolv/nss_dns/dns-host.c (global scope): Move definition of + implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to + header file nss/nsswitch.h. + * nss/nsswitch.h (global scope): Add definition of implementation + constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from + resolv/nss_dns/dns-host.c). + +2012-07-11 Andreas Jaeger + + * po/fr.po: Update from translation team. + + * po/sv.po: Update from translation team + * po/fr.po: Another update from translation team. + +2012-07-11 Adhemerval Zanella + + * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh + for subnormals or multiply small sinh result by itself. + * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise. + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2012-07-11 David S. Miller + + * sysdeps/sparc/fpu/libm-test-ulps: Update. + +2012-07-10 Andreas Schwab + + [BZ #14347] + * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument. + (INTERNAL_MARK): Shift it here. + +2012-07-10 Marek Polacek + + [BZ #14151] + * configure.in (libc_cv_asm_global_directive): Remove test. Replace + libc_cv_asm_global_directive with .globl. + * configure: Regenerated. + * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive + with .globl. + * sysdeps/i386/configure: Regenerated. + * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive + with .globl. + * sysdeps/x86_64/configure: Regenerated. + * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE. + * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl. + * elf/tst-unique2mod2.c: Likewise. + * elf/tst-unique2mod1.c: Likewise. + * elf/tst-unique1mod2.c: Likewise. + * elf/tst-unique1mod1.c: Likewise. + * sysdeps/s390/s390-32/sysdep.h: Likewise. + * sysdeps/s390/s390-32/s390-mcount.S: Likewise. + * sysdeps/s390/s390-64/sysdep.h: Likewise. + * sysdeps/s390/s390-64/s390x-mcount.S: Likewise. + * sysdeps/mach/sysdep.h: Likewise. + * sysdeps/i386/sysdep.h: Likewise. + * sysdeps/i386/i386-mcount.S: Likewise. + * sysdeps/x86_64/_mcount.S: Likewise. + * sysdeps/x86_64/sysdep.h: Likewise. + * sysdeps/sh/_mcount.S: Likewise. + * sysdeps/sh/sysdep.h: Likewise. + * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise. + * sysdeps/powerpc/powerpc32/sysdep.h: Likewise. + * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise. + * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise. + * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise. + * locale/localeinfo.h: Likewise. + (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro. + (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise. + +2012-07-09 Roland McGrath + + [BZ #14336] + * manual/charset.texi (Extended Char Intro): Word use fix, "operating + system". + * manual/message.texi (The Uniforum approach): Likewise. + * manual/charset.texi (Extended Char Intro): Spelling fix, "affected". + (glibc iconv Implementation): Likewise. + +2012-07-09 Joseph Myers + + [BZ #14337] + * math/s_clog.c (__clog): Avoid scaling a value down where that + could result in underflow. + * math/s_clog10.c (__clog10): Likewise. + * math/s_clog10f.c (__clog10f): Likewise. + * math/s_clog10l.c (__clog10l): Likewise. + * math/s_clogf.c (__clogf): Likewise. + * math/s_clogl.c (__clogl): Likewise. + * math/libm-test.inc (clog_test): Add more tests. + (clog10_test): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2012-07-06 Andreas Schwab + + [BZ #14283] + * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift + by 7 not 8 to examine high bit of fractional part. + + [BZ #14042] + * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT + for call to __mcount_internal. + * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines) + (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount. + * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file. + +2012-07-06 Joseph Myers + + [BZ #14154] + * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear + approximation for values within 0x1p-13f of an odd multiple of + pi/4. + * math/libm-test.inc (tan_test): Do not allow spurious underflow + exception. Add more tests. + * sysdeps/i386/fpu/libm-test-ulps: Update. + + [BZ #6778] + * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative + inputs and return -1 for them. Do not check for +Inf in case not + reachable for +Inf. + * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise. + * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define. + (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs + and return -1 for them. Do not check for +Inf in case not + reachable for +Inf. + * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not + define. + (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs + and return -1 for them. Do not check for +Inf in case not + reachable for +Inf. + * math/libm-test.inc (expm1_test): Add more tests. Do not allow + spurious underflow. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2012-07-06 Mike Frysinger + + * sunrpc/rpc_clntout.c: Change to "rpc/types.h". + +2012-07-05 Joseph Myers + + [BZ #14157] + [BZ #14331] + * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this + could result in spurious underflow. Scale down values above + DBL_MAX / 4.0 instead of DBL_MAX / 2.0. + * math/s_csqrtf.c (__csqrtf): Likewise. + * math/s_csqrtl.c (__csqrtl): Likewise. + * math/libm-test.inc (csqrt_test): Add more tests. Do not allow + spurious underflow. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2012-07-04 Andreas Schwab + + * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of + xopen-msg.sed. + * catgets/xopen-msg.awk: New file. + * catgets/xopen-msg.sed: Removed. + + * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of + po2text.sed. + * intl/po2test.awk: New file. + * intl/po2test.sed: Removed. + +2012-07-04 Joseph Myers + + [BZ #14328] + * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals + or multiply small sinh result by itself. + * math/s_ctanf.c (__ctanf): Likewise. + * math/s_ctanh.c (__ctanh): Likewise. + * math/s_ctanhf.c (__ctanhf): Likewise. + * math/s_ctanhl.c (__ctanhl): Likewise. + * math/s_ctanl.c (__ctanl): Likewise. + * math/libm-test.inc (ctan_test_tonearest): New function. + (ctan_test_towardzero): Likewise. + (ctan_test_downward): Likewise. + (ctan_test_upward): Likewise. + (ctanh_test_tonearest): Likewise. + (ctanh_test_towardzero): Likewise. + (ctanh_test_downward): Likewise. + (ctanh_test_upward): Likewise. + (main): Call these new functions. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2012-07-03 Mike Frysinger + + * .gitignore: Delete /ports entry. + +2012-07-03 Andreas Jaeger + + * po/bg.po: Update from translation team. + * po/cs.po: Likewise. + * po/de.po: Likewise. + * po/hr.po: Likewise. + * po/nl.pl: Likewise. + * po/pl.po: Likewise. + * po/vi.po: Likewise. + +2012-07-03 Joseph Myers + + * Makeconfig [!+link] (+link-before-libc): New variable. + [!+link] (+link-after-libc): Likewise. + [!+link] (+link-tests): Likewise. + [!+link] (+link): Define in terms of $(+link-before-libc) and + $(+link-after-libc). + [!+link-static] (+link-static-before-libc): New variable. + [!+link-static] (+link-static-after-libc): Likewise. + [!+link-static] (+link-static-tests): Likewise. + [!+link-static] (+link-static): Define in terms of + $(+link-static-before-libc) and $(+link-static-after-libc). + [build-shared] (link-libc-before-gnulib): New variable. + [build-shared] (link-libc-tests): Likewise. + [build-shared] (link-libc): Define in terms of + $(link-libc-before-gnulib). + [!build-shared] (link-libc-tests): New variable. + (link-libc-static-tests): New variable. + [!gnulib] (gnulib-arch): New variable. + [!gnulib] (gnulib-tests): Likewise. + [!gnulib] (static-gnulib-arch): Likewise. + [!gnulib] (static-gnulib-tests): Likewise. + [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh). + Define with "=" instead of ":=". + [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use + -lgcc_eh $(libunwind). Define with "=" instead of ":=". + * Rules (binaries-all-notests): New variable. + (binaries-all-tests): Likewise. + (binaries-static-notests): Likewise. + (binaries-static-tests): Likewise. + (binaries-all): Define using $(binaries-all-notests) and + $(binaries-all-tests). + (binaries-static): Define using $(binaries-static-notests) and + $(binaries-static-tests). + (binaries-shared-tests): New variable. + (binaries-shared-notests): Likewise. + (binaries-shared): Remove variable. + ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule. + ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise. + ($(addprefix $(objpfx),$(binaries-shared))): Remove rule. + ($(addprefix $(objpfx),$(binaries-static-notests))): New rule. + ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise. + ($(addprefix $(objpfx),$(binaries-static))): Remove rule. + * elf/Makefile (sln-modules): New variable. + (extra-objs): Add $(sln-modules:=.o). + (ldconfig-modules): Add static-stubs. + ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o). + * elf/static-stubs.c: New file. + + [BZ #14283] + * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift + by 7 not 8 to examine high bit of fractional part. Use volatile + variables when splitting into final array of floats if + __FLT_EVAL_METHOD__ != 0. + * math/libm-test.inc (cos_test): Add another test. + (sin_test): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Update. + + [BZ #14273] + * math/libm-test.inc (cosh_test): Add more tests. + + * version.h (RELEASE): Set to "development". + (VERSION): Set to "2.16.90". + +2012-06-30 Carlos O'Donell + + * NEWS: Update copyright. Remove last-updated date. + Mention math library bug fixes and timezone data changes. + * README: Mention GNU/Hurd, x32, and HPPA support status. + +2012-06-28 Thomas Schwinge + + * manual/contrib.texi (Contributors): Sort alphabetically by last name. + +2012-06-27 Andreas Jaeger + + * manual/contrib.texi (Contributors): Add Samuel Thibault. + +2012-06-25 Andreas Jaeger + + * sysdeps/s390/fpu/libm-test-ulps: Update. + +2012-06-23 Andreas Schwab + Thomas Schwinge + + * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark. + * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark. + * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add + fanotify_mark. + +2012-06-23 Thomas Schwinge + + * sysdeps/mach/start.c: Remove file. + * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include. + * sysdeps/i386/init-first.c: Fix comment regarding start.S. + * sysdeps/sh/init-first.c: Likewise. + + * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr + registers for frame unwinding purposes, add CFI directives. + * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise. + * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise. + * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER): + Likewise. + + * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to + __fortify_fail returning. + * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise. + + * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on + sysdeps/sh/____longjmp_chk.S. + * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based + on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym. + * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc] + (gen-as-const-headers): Append sigaltstack-offsets.sym. + + * sysdeps/sh/abort-instr.h: New file. + * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the + process in case exit returns. + + * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always + initialize the GOT register before use. + + * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix + calculation of ARGC > 4. + + * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more + meaningful names to some local labels. + +2012-06-22 Nobuhiro Iwamatsu + Kaz Kojima + + * sysdeps/unix/sysv/linux/sh/bits/atomic.h + (__arch_compare_and_exchange_val_8_acq): Remove explicit nop. + (__arch_compare_and_exchange_val_16_acq): Likewise. + (__arch_compare_and_exchange_val_32_acq): Likewise. + (atomic_exchange_and_add): Fix gUSA sequence. + (atomic_add): Likewise. + (atomic_add_negative): Likewise. + (atomic_add_zero): Likewise. + (atomic_bit_test_set): Likewise. + +2012-06-22 Andreas Schwab + + [BZ #13579] + * include/link.h (struct link_map): Add l_free_initfini. + * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning + l_initfini. + * elf/dl-close.c (_dl_close_worker): Don't free l_initfini. + * elf/rtld.c (dl_main): Clear it on all objects loaded on startup. + * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is + set. + +2012-06-22 Carlos O'Donell + + * configure.in: Use AC_LANG_SOURCE. + * configure: Regenerate. + +2012-06-22 Roland McGrath + + * configure.in (libc_cv_localstatedir): New substituted variable. + * configure: Regenerated. + * config.make.in (localstatedir): New variable, substituted from + libc_cv_localstatedir. + * Makeconfig (vardbdir): Use $(localstatedir) in place of /var. + * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change + ${prefix}/var to /var when we change ${prefix}/etc to /etc. + * sysdeps/gnu/configure: Regenerated. + +2012-06-21 Jeff Law + + [BZ #14277] + * intl/dcigettext.c (_nl_find_msg): Avoid use after potential + free. Simplify list management for _LIBC case. + +2012-06-21 Joseph Myers + + [BZ #14273] + * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh): + Clear sign bit of 64-bit integer value before comparing against + overflow value. + + * sysdeps/mach/configure: Regenerated. + +2012-06-21 H.J. Lu + + [BZ #14278] + * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo. + +2012-06-21 Jeff Law + + [BZ #13882] + * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use + uint16_t for elements in the "seen" array to avoid char overflows. + * elf/dl-fini.c (_dl_sort_fini): Likewise. + * elf/dl-open.c (dl_open_worker): Likewise. + +2012-06-21 Carlos O'Donell + + * scripts/list-sources.sh: Scan PORTS for translations. + * po/libc.pot: Regenerated. + +2012-06-21 Andreas Jaeger + + [BZ #12194] + * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion + warning. + * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise. + * bits/byteswap-16.h (__bswap_16): Likewise. + * bits/byteswap.h (__bswap_constant_16): Likewise. + +2012-06-18 H.J. Lu + + [BZ #14117] + * sysdeps/i386/fpu_control.h: Removed. + * sysdeps/x86_64/fpu_control.h: Moved to ... + * sysdeps/x86/fpu_control.h: Here. + + * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__. + (_FPU_SETCW): Likewise. + +2012-06-15 H.J. Lu + + [BZ #14117] + * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ... + * sysdeps/x86/fpu/bits/mathinline.h: This. + * sysdeps/x86_64/fpu/bits/mathinline.h: Removed. + + [BZ #14050] + [BZ #14117] + * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline + functions if __x86_64__ is defined. + +2012-06-15 Chung-Lin Tang + + * string/endian.h: Add !__ASSEMBLER__ condition for including + conversion interfaces. + +2012-06-15 Joseph Myers + + [BZ #14241] + * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead + of ABS(x) in calculating zero to negative powers other than odd + integers. + * math/libm-test.inc (pow_test): Add more tests. + +2012-06-15 Andreas Jaeger + + * manual/contrib.texi (Contributors): Update entry of Liubov + Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites + Machado Filho. + +2012-06-15 Cyril Hrubis + + * string/string.h: Add __wur to GNU version of strerror_r. + +2012-06-14 H.J. Lu + + [BZ #14229] + * string/Makefile (tests): Add tst-strtok_r. + * string/tst-strtok_r.c: New file. + * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use + RAX_LP/RDX_LP on SAVE_PTR. + +2012-06-14 Roland McGrath + + * manual/Makefile ($(objpfx)texis): Do $(make-target-directory). + +2012-06-14 Joseph Myers + + * libm_test.inc (csqrt_test): Allow more spurious underflow + exceptions. + (j0_test): Likewise. + (j1_test): Likewise. + (y0_test): Likewise. + (y1_test): Likewise. + +2012-06-13 Carlos O'Donell + + * po/Makefile (libc.pot): Use UTF-8 charset. + +2012-06-13 Paul Pluzhnikov + + [BZ #14210] + Suppress sign-conversion warning from FD_SET. + See . + * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int, + not unsigned long int. + * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise. + +2012-06-12 H.J. Lu + + [BZ #14050] + [BZ #14117] + * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check + __extern_always_inline instead of __extern_inline. + (__signbitf): Support __SSE2_MATH__ and C++ namespace. + (__signbit): Likewise. + (__signbitl): Support C++ namespace. + (lrintf): New inline function. + (lrint): Likewise. + (llrintf): Likewise. + (llrint): Likewise. + (fmaxf): Likewise. + (fmax): Likewise. + (fminf): Likewise. + (fmin): Likewise. + (rint): Likewise. + (rintf): Likewise. + (ceil): Likewise. + (ceilf): Likewise. + (floor): Likewise. + (floorf): Likewise. + (nearbyint): Likewise. + (nearbyintf): Likewise. + +2012-06-12 Thomas Schwinge + + * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for + non-default versions. + +2012-06-11 Roland McGrath + + [BZ #14218] + * manual/argp.texi (Argp): Reword argp_parse description slightly. + +2012-06-09 Thomas Schwinge + + * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define. + (FE_UPWARD, FE_DOWNWARD): Don't define. + * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that. + * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise. + + * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after + reading it. + * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise. + * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise. + +2012-06-09 Kaz Kojima + + * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file. + * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed. + * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed. + * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed. + +2012-06-06 H.J. Lu + + [BZ #14117] + * sysdeps/i386/fpu/bits/fenv.h: Removed. + * sysdeps/i386/fpu/Implies: New file. + * sysdeps/x86_64/fpu/Implies: Likewise. + * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ... + * sysdeps/x86/fpu/bits/fenv.h: This. + + * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check + __SSE_MATH__. + +2012-06-06 Siddhesh Poyarekar + + [BZ #14134] + * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid + character 0xffff that matches the last element of the + conversion table. + +2012-06-05 Adhemerval Zanella + + * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm + fmodl commit. + +2012-06-05 Adhemerval Zanella + + * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for + values higher than 25.6283. + +2012-06-04 Adhemerval Zanella + + * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix + subnormal exponent extraction and add some __builtin_expect. + * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa): + Fix for subnormal mantissa calculation. + +2012-06-04 Mike Frysinger + + * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when + cpu2 is -1 and errno is not ENOSYS. + +2012-06-04 H.J. Lu + + [BZ #14117] + * sysdeps/i386/i486/bits/string.h: Renamed to ... + * sysdeps/x86/bits/string.h: This. + * sysdeps/x86_64/bits/string.h: Removed. + + * sysdeps/i386/i486/bits/string.h: Define inline functions only + if not compiling for x86-64, but compiling for >= i486. + + * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ... + * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This. + + * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1): + New macro from Linux kernel 3.4.0. + (FP_XSTATE_MAGIC2): Likewise. + (FP_XSTATE_MAGIC2_SIZE): Likewise. + (X86_FXSR_MAGIC): New macro from Linux i386 kernel. + (struct _fpx_sw_bytes): New struct. + (struct _xsave_hdr): Likewise. + (struct _ymmh_state): Likewise. + (struct _xstate): Likewise. + + * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed. + * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ... + * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This. + * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ... + * sysdeps/unix/sysv/linux/x86/sys/reg.h: This. + + * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed. + * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ... + * sysdeps/unix/sysv/linux/x86/sys/io.h: This. + * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed. + * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ... + * sysdeps/unix/sysv/linux/x86/sys/perm.h: This. + +2012-06-04 Tulio Magno Quites Machado Filho + + [BZ #13743] + * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features. + * sysdeps/powerpc/Makefile (tests): Add test-gettimebase. + (sysdep_headers): Include sys/platform/ppc.h. + * sysdeps/powerpc/test-gettimebase.c: Test for + __ppc_get_timebase() to catch future ISA opcode/insn changes. + * manual/Makefile (appendices): Include platform.texi. + * manual/contrib.texi (Contributors): Update @node pointers. + * manual/maint.texi (Maintenance): Likewise. + (Platform): New node. + * manual/platform.texi: New file. Document the new features. + +2012-06-04 Siddhesh Poyarekar + Jakub Jelinek + + [BZ #14188] + * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases + where __builtin_expect is unavailable. + +2012-06-03 David S. Miller + + * stdlib/longlong.h: Updated from GCC. + +2012-06-02 Andreas Schwab + + [BZ #14042] + * sysdeps/powerpc/powerpc32/mcount.c: New file. + * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add + __mcount_internal. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist + (GLIBC_2.16): Likewise. + +2012-06-01 H.J. Lu + + * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo. + +2012-06-01 Joseph Myers + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile + (default-abi): New variable. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file. + * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New + variable. + * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi): + Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi): + Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi): + Likewise. + + * Makeconfig [abi-variants && !default-abi] (default-abi): Remove + definition. Document in comment. + +2012-06-01 David S. Miller + + * stdlib/longlong.h: Updated from GCC. + +2012-06-01 H.J. Lu + + [BZ #14117] + * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers): + Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h + sys/debugreg.h sys/io.h here. + * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add + sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h + sys/io.h. + * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers): + Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here. + * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ... + * sysdeps/unix/sysv/linux/x86/sys/elf.h: This. + * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ... + * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This. + + * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8): + Define only if __x86_64__ is defined. + +2012-06-01 Joseph Myers + + [BZ #14048] + * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod): + Use int64_t for variable i. + * math/libm-test.inc (fmod_test): Add more tests. + + * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double) + z computation is not scheduled after fetestexcept. + * sysdeps/ieee754/ldbl-128/s_fmal.c: Include . + Use math_force_eval instead of asm to ensure calculation scheduled + before exception test. + * sysdeps/ieee754/ldbl-96/s_fmal.c: Include . + Ensure a1 + u.d computation is not scheduled after fetestexcept. + +2012-06-01 Aurelien Jarno + + * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d + computation is not scheduled after fetestexcept. + +2012-06-01 H.J. Lu + + [BZ #14117] + * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ... + * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This. + +2012-06-01 Adhemerval Zanella + + * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation. + * sysdeps/powerpc/fpu/k_sinf.c: Likewise. + +2012-05-31 H.J. Lu + + [BZ #14117] + * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include + . + (__WCHAR_MIN): Support __WORDSIZE == 64. + (__WCHAR_MAX): Likewise. + + * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ... + * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This. + + [BZ #14183] + * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE): + Defined with __SWORD_TYPE if __x86_64__ isn't defined. + + [BZ #14117] + * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ... + * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This. + + * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ... + * sysdeps/unix/sysv/linux/x86/bits/stat.h: This. + + * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL): + Defined to 1 if __x86_64__ isn't defined. + (_STAT_VER_LINUX_OLD): New. + (st_atime): Remove duplicate. + (st_mtime): Likewise. + (st_ctime): Likewise. + +2012-05-31 David S. Miller + + * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test + entries. + +2012-06-01 Andreas Schwab + + * sysdeps/powerpc/fpu/libm-test-ulps: Sort through + gen-libm-test.pl. + + [BZ #14132] + * elf/dl-reloc.c: Include <_itoa.h>. + (_dl_reloc_bad_type): Remove use of INTUSE. + * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise. + * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise. + * stdio-common/psiginfo.c (psiginfo): Likewise. + * stdio-common/psignal.c (psignal): Likewise. + * string/strsignal.c (strsignal): Likewise. + * include/signal.h (_sys_siglist): Declare hidden proto. + * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace + INTVARDEF with libc_hidden_data_def. + * stdio-common/itoa-udigits.c: Likewise. + * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal) + (_itoa_lower_digits_internal): Remove declaration. + (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto. + * sysdeps/gnu/siglist.c (_sys_siglist_internal) + (_sys_sigabbrev_internal): Remove aliases. + (_sys_siglist): Define hidden alias. + +2012-05-31 Markus Trippelsdorf + + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add + bits/sysctl.h. + +2012-05-31 H.J. Lu + + [BZ #14117] + * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ... + * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This. + + * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed. + * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ... + * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This. + * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed. + * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ... + * sysdeps/unix/sysv/linux/x86/sys/user.h: This. + + * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed. + * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ... + * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This. + + * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr + with __addr. + (insw): Likewise. + (insl): Likewise. + (outsb): Likewise. + (outsw): Likewise. + (outsl): Likewise. + + * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed. + * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ... + * sysdeps/unix/sysv/linux/x86/bits/mman.h: This. + + * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ... + * sysdeps/unix/sysv/linux/x86/bits/msq.h: This. + * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ... + * sysdeps/unix/sysv/linux/x86/bits/sem.h: This. + * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ... + * sysdeps/unix/sysv/linux/x86/bits/shm.h: This. + + * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ... + * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This. + + * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ... + * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This. + + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed. + * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ... + * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This. + + * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed. + * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed + to ... + * sysdeps/unix/sysv/linux/x86/bits/environments.h: This. + + * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed. + * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ... + * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This. + + * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling + for x86-64. + * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise. + +2012-05-31 Joseph Myers + + * math/math.h (M_El): Use two more decimal places. + (M_LOG2El): Likewise. + (M_LOG10El): Likewise. + (M_LN2l): Likewise. + (M_LN10l): Likewise. + (M_PIl): Likewise. + (M_PI_2l): Likewise. + (M_PI_4l): Likewise. + (M_1_PIl): Likewise. + (M_2_PIl): Likewise. + (M_2_SQRTPIl): Likewise. + (M_SQRT2l): Likewise. + (M_SQRT1_2l): Likewise. + +2012-05-31 David S. Miller + + * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit + values between float registers. + * sysdeps/sparc/sparc64/memset.S: Likewise. + * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise. + +2012-05-31 Mike Frysinger + + * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete + -D_FORTIFY_SOURCE=1. + (CPPFLAGS-tst-longjmp_chk.c): Define. + (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1. + (CPPFLAGS-tst-longjmp_chk2.c): Define. + * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from + CFLAGS-tst-wchar-h.c. + +2012-05-31 Marek Polacek + + [BZ #14132] + * include/mntent.h (__setmntent_internal, __getmntent_r_internal + __endmntent_internal): Remove declaration. + (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro. + (__setmntent, __endmntent, __getmntent_r): Declare hidden proto. + * misc/mntent_r.c: Replace INTDEF with libc_hidden_def. + +2012-05-30 David S. Miller + + * sysdeps/sparc/sparc32/soft-fp/q_util.c + (___Q_simulate_exceptions): Use real FP ops rather than writing + into the %fsr. + * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions): + Likewise. + +2012-05-30 H.J. Lu + + [BZ #14117] + * sysdeps/x86_64/bits/xtitypes.h: Renamed to ... + * sysdeps/x86/bits/xtitypes.h: This. + + * sysdeps/x86_64/bits/wordsize.h: Renamed to ... + * sysdeps/x86/bits/wordsize.h: This. + + * sysdeps/i386/bits/huge_vall.h: Renamed to ... + * sysdeps/x86/bits/huge_vall.h: This. + + * sysdeps/i386/bits/select.h: Removed. + * sysdeps/x86_64/bits/select.h: Renamed to ... + * sysdeps/x86/bits/select.h: This. + + * sysdeps/i386/bits/setjmp.h: Removed. + * sysdeps/x86_64/bits/setjmp.h: Renamed to ... + * sysdeps/x86/bits/setjmp.h: This. + + * sysdeps/i386/bits/mathdef.h: Removed. + * sysdeps/x86_64/bits/mathdef.h: Renamed to ... + * sysdeps/x86/bits/mathdef.h: This. + +2012-05-30 Andreas Schwab + + [BZ #14132] + * include/sys/socket.h (__connect_internal) + (__libc_sa_len_internal): Remove declaration. + (__connect, __libc_sa_len): Declare hidden_proto. + (SA_LEN): Remove use of INTUSE. + * socket/connect.c: Add libc_hidden_def. + * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def. + * sysdeps/unix/sysv/linux/sa_len.c: Likewise. + * sysdeps/unix/inet/syscalls.list: Remove __connect_internal + alias. + * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead + of adding _internal alias. + +2012-05-30 H.J. Lu + + [BZ #14117] + * sysdeps/i386/bits/link.h: Removed. + * sysdeps/i386/bits/linkmap.h: Likewise. + * sysdeps/x86_64/bits/link.h: Renamed to ... + * sysdeps/x86/bits/link.h: This. + * sysdeps/x86_64/bits/linkmap.h: Renamed to ... + * sysdeps/x86/bits/linkmap.h: This. + + * sysdeps/i386/bits/endian.h: Removed. + * sysdeps/x86_64/bits/endian.h: Renamed to ... + * sysdeps/x86/bits/endian.h: This. + + * sysdeps/i386/bits/byteswap.h: Removed. + * sysdeps/i386/bits/byteswap-16.h: Likewise. + * sysdeps/x86_64/bits/byteswap.h: Renamed to ... + * sysdeps/x86/bits/byteswap.h: This. + * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ... + * sysdeps/x86/bits/byteswap-16.h: This. + * sysdeps/i386/Implies: Add x86. + * sysdeps/x86_64/Implies: Likewise. + +2012-05-30 David S. Miller + + * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define. + (FP_TRAPPING_EXCEPTIONS): Provide default implementation. + * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h + (FP_TRAPPING_EXCEPTIONS): Define. + * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h + (FP_TRAPPING_EXCEPTIONS): Define. + * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for + subnormals only when inexact has been signalled or underflow + exceptions are enabled. + (_FP_PACK_CANONICAL): Likewise. + +2012-05-30 H.J. Lu + + [BZ #14183] + * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE): + Defined with __UWORD_TYPE if __x86_64__ isn't defined. + +2012-05-30 Richard Henderson + + * sysdeps/unix/make-syscalls.sh: Protect symbol_version output + with #ifndef NOT_IN_libc. + + * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions + marked to avoid plt entry. + +2012-05-30 H.J. Lu + + [BZ #14112] + * Makeconfig (default-abi): New macro. + (abi-includes): Likewise. + ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use + $(abi-$(default-abi)-lib-soname) for soname if defined. + ($(common-objpfx)gnu/lib-names.stmp): Generate from + abi-variants. + * Makefile (installed-stubs): Likewise. + * include/stubs-biarch.h: Removed. + * scripts/lib-names.awk: Only handle one library at a time. + * scripts/soversions.awk: Remove WORDSIZE support. + * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld + entries. + * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants): + Removed. + (syscall-list-default-condition): Likewise. + (syscall-list-default-condition): Likewise. + (syscall-list-includes): Likewise. + ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace + syscall-list-* with abi-*. Handle undefined abi-variants. + * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro. + * sysdeps/unix/sysv/linux/i386/Implies: New file. + * sysdeps/unix/sysv/linux/x86/Makefile: Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise. + * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86. + * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants): + Removed. + (syscall-list-32-options): Likewise. + (syscall-list-32-condition): Likewise. + (syscall-list-64-options): Likewise. + (syscall-list-64-condition): Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New + macro. + * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*): + Renamed to ... + (abi-*): This. + (abi-64-ld-soname): New macro. + * sysdeps/unix/sysv/linux/s390/Makefile: Likewise. + * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*): + Renamed to ... + (abi-*): This. + * sysdeps/x86_64/64/shlib-versions: Remove ld entry. + * sysdeps/x86_64/x32/shlib-versions: Likewise. + +2012-05-30 Joseph Myers + + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions. + * sysdeps/unix/sysv/linux/ftruncate64.c: Do not + include . + [!__NR_ftruncate64]: Remove conditional code. + [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise. + [__NR_ftruncate64]: Make code unconditional. + [__ASSUME_TRUNCATE64_SYSCALL]: Likewise. + * sysdeps/unix/sysv/linux/truncate64.c: Do not + include . + [!__NR_ftruncate64]: Remove conditional code. + [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise. + [__NR_ftruncate64]: Make code unconditional. + [__ASSUME_TRUNCATE64_SYSCALL]: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not + include . + [!__NR_ftruncate64]: Remove conditional code. + [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise. + [__NR_ftruncate64]: Make code unconditional. + [__ASSUME_TRUNCATE64_SYSCALL]: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not + include . + [!__NR_ftruncate64]: Remove conditional code. + [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise. + [__NR_ftruncate64]: Make code unconditional. + [__ASSUME_TRUNCATE64_SYSCALL]: Likewise. + + * configure.in (libc_cv_fpie): Weaken to a compile test using + LIBC_TRY_CC_OPTION. + * configure: Regenerated. + +2012-05-29 Andreas Krebbel + + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed. + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed. + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed. + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist: + Refreshed. + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed. + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed. + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed. + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed. + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed. + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist: + Refreshed. + +2012-05-27 David S. Miller + + * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete. + (___Q_zero): New. + (__Q_simulate_exceptions): Return void. Change to simulate + exceptions by writing into the %fsr. + * sysdeps/sparc/sparc64/soft-fp/qp_util.c + (__Qp_handle_exceptions): Likewise. + (numbers): Delete. + * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for + __Qp_handle_exceptions. + * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove + __Qp_handle_exceptions. + * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark + as unused and give dummy FP_RND_NEAREST initializer. + (FP_INHIBIT_RESULTS): Define. + (___Q_simulate_exceptions): Update declaration. + (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm + formatting. + * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark + as unused and give dummy FP_RND_NEAREST initializer. + (__Qp_handle_exceptions): Update declaration. + (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm + formatting. + +2012-05-27 Thomas Schwinge + + * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for + the temporary FPU control word. + * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise. + * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise. + * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise. + * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise. + * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise. + * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise. + * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise. + * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise. + * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise. + * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise. + * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise. + +2012-05-27 Kaz Kojima + + * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag + fields. + +2012-05-27 Chung-Lin Tang + + * sysdeps/sh/_mcount.S (_mount): Add CFI directives. + * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise. + * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise. + * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext): + Likewise. + * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise. + * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext): + Likewise. + +2012-05-27 Ulrich Drepper + + * po/h.po: Update from translation team. + +2012-05-26 Andreas Schwab + + * sysdeps/powerpc/powerpc32/dl-irel.h: Include . + + * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize + handling of denormals. + * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise. + * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise. + * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise. + * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise. + * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise. + * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl): + Likewise. + +2012-05-26 Marek Polacek + + [BZ #14152] + * math/libm-test.inc (fma_test): Don't always expect underflow + exception. + +2012-05-26 Siddhesh Poyarekar + + [BZ #12416] + * elf/tst-execstack.c: Include stackinfo.h. + (do_test): Adjust test case to ensure that pthread_getattr_np + behaviour remains the same after marking stack executable. + +2012-05-25 Joseph Myers + + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions. + * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include + kernel-features.h. + [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code. + [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional. + * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include + kernel-features.h. + [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code. + [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional. + +2012-05-25 H.J. Lu + + * configure.in: Define the default includes to being none. + * configure: Regenerated. + +2012-05-25 Roland McGrath + + * sysdeps/x86_64/__longjmp.S: Add a static probe here. + * sysdeps/x86_64/setjmp.S: Likewise. + * sysdeps/i386/bsd-setjmp.S: Likewise. + * sysdeps/i386/bsd-_setjmp.S: Likewise. + * sysdeps/i386/setjmp.S: Likewise. + * sysdeps/i386/__longjmp.S: Likewise. + * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise. + * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise. + + * include/stap-probe.h: New file. + * configure.in: Handle --enable-systemtap. + * configure: Regenerated. + * config.h.in (USE_STAP_PROBE): New #undef. + * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib). + * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld. + * elf/rtld-Rules (rtld-CPPFLAGS): Likewise. + +2012-05-25 Joseph Myers + + [BZ #13717] + * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set + to 2.4.0 where earlier. + * sysdeps/unix/sysv/linux/configure: Regenerated. + * sysdeps/unix/sysv/linux/i386/chown.c: Do not include + . + [__ASSUME_32BITUIDS]: Make code unconditional. + [!__ASSUME_32BITUIDS]: Remove conditional code. + * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include + . + [__ASSUME_32BITUIDS]: Make code unconditional. + [!__ASSUME_32BITUIDS]: Remove conditional code. + * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat) + [__ASSUME_32BITUIDS]: Make code unconditional. + (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code. + * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include + . + [__ASSUME_32BITUIDS]: Make code unconditional. + [!__ASSUME_32BITUIDS]: Remove conditional code. + * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include + . + [__ASSUME_32BITUIDS]: Make code unconditional. + [!__ASSUME_32BITUIDS]: Remove conditional code. + * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include + . + [__ASSUME_32BITUIDS]: Make code unconditional. + [!__ASSUME_32BITUIDS]: Remove conditional code. + * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include + . + [__ASSUME_32BITUIDS]: Make code unconditional. + [!__ASSUME_32BITUIDS]: Remove conditional code. + * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include + . + [__ASSUME_32BITUIDS]: Make code unconditional. + [!__ASSUME_32BITUIDS]: Remove conditional code. + * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include + . + [__ASSUME_32BITUIDS]: Make code unconditional. + [!__ASSUME_32BITUIDS]: Remove conditional code. + * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include + . + [__ASSUME_32BITUIDS]: Make code unconditional. + [!__ASSUME_32BITUIDS]: Remove conditional code. + * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include + . + [__ASSUME_32BITUIDS]: Make code unconditional. + [!__ASSUME_32BITUIDS]: Remove conditional code. + * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include + . + [__ASSUME_32BITUIDS]: Make code unconditional. + [!__ASSUME_32BITUIDS]: Remove conditional code. + * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include + . + [__ASSUME_32BITUIDS]: Make code unconditional. + [!__ASSUME_32BITUIDS]: Remove conditional code. + * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include + . + [__NR_setresgid] (__setresgid): Do not declare. + [__ASSUME_32BITUIDS]: Make code unconditional. + [!__ASSUME_32BITUIDS]: Remove conditional code. + * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include + . + [__NR_setresuid] (__setresuid): Do not declare. + [__ASSUME_32BITUIDS]: Make code unconditional. + [!__ASSUME_32BITUIDS]: Remove conditional code. + * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include + . + [__ASSUME_32BITUIDS]: Make code unconditional. + [!__ASSUME_32BITUIDS]: Remove conditional code. + * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include + . + [__ASSUME_32BITUIDS]: Make code unconditional. + [!__ASSUME_32BITUIDS]: Remove conditional code. + * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include + . + [__ASSUME_32BITUIDS]: Make code unconditional. + [!__ASSUME_32BITUIDS]: Remove conditional code. + * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include + . + [__ASSUME_32BITUIDS]: Make code unconditional. + [!__ASSUME_32BITUIDS]: Remove conditional code. + * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include + . + [__ASSUME_32BITUIDS]: Make code unconditional. + [!__ASSUME_32BITUIDS]: Remove conditional code. + * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include + . + [__ASSUME_32BITUIDS]: Make code unconditional. + [!__ASSUME_32BITUIDS]: Remove conditional code. + * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include + . + [__ASSUME_32BITUIDS]: Make code unconditional. + [!__ASSUME_32BITUIDS]: Remove conditional code. + * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include + . + [__ASSUME_32BITUIDS]: Make code unconditional. + [!__ASSUME_32BITUIDS]: Remove conditional code. + * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include + . + [__ASSUME_32BITUIDS]: Make code unconditional. + [!__ASSUME_32BITUIDS]: Remove conditional code. + * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include + . + [__ASSUME_32BITUIDS]: Make code unconditional. + [!__ASSUME_32BITUIDS]: Remove conditional code. + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_SETRESUID_SYSCALL): Remove. + (__ASSUME_SETRESGID_SYSCALL): Likewise. + (__ASSUME_32BITUIDS): Likewise. + (__ASSUME_LDT_WORKS): Likewise. + (__ASSUME_O_DIRECTORY): Likewise. + (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on + architecture but not kernel version. + (__ASSUME_TRUNCATE64_SYSCALL): Likewise. + (__ASSUME_MMAP2_SYSCALL): Likewise. + (__ASSUME_STAT64_SYSCALL): Likewise. + (__ASSUME_IPC64): Likewise. + * sysdeps/unix/sysv/linux/local-setxid.h: Do not include + . + [__ASSUME_32BITUIDS]: Make code unconditional. + [!__ASSUME_32BITUIDS]: Remove conditional code. + * sysdeps/unix/sysv/linux/opendir.c: Do not include + . + [__ASSUME_O_DIRECTORY]: Make code unconditional. + * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION < + 132096]: Remove conditional code. + [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional. + * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include + . + [__ASSUME_32BITUIDS]: Make code unconditional. + [!__ASSUME_32BITUIDS]: Remove conditional code. + * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include + . + [__ASSUME_32BITUIDS]: Make code unconditional. + [!__ASSUME_32BITUIDS]: Remove conditional code. + * sysdeps/unix/sysv/linux/setegid.c: Do not include + . + [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code + unconditional. + (__setresgid): Do not declare. + [__ASSUME_32BITUIDS]: Make code unconditional. + [!__ASSUME_32BITUIDS]: Remove conditional code. + * sysdeps/unix/sysv/linux/seteuid.c: Do not include + . + [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code + unconditional. + (__setresuid): Do not declare. + [__ASSUME_32BITUIDS]: Make code unconditional. + [!__ASSUME_32BITUIDS]: Remove conditional code. + * sysdeps/unix/sysv/linux/sh/chown.c: Do not include + . + [__ASSUME_32BITUIDS]: Make code unconditional. + [!__ASSUME_32BITUIDS]: Remove conditional code. + * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include + . + [__ASSUME_32BITUIDS]: Make code unconditional. + [!__ASSUME_32BITUIDS]: Remove conditional code. + +2012-05-25 Richard Henderson + + * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass + dl_hwcap to ifunc resolver. + * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use + elf_ifunc_invoke. + * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass + dl_hwcap to ifunc resolver. + * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise. + +2012-05-24 Joseph Myers + + [BZ #14153] + * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2 + for |x| <= 2**-26, not 2**-57. + * math/libm-test.inc (acos_test): Do not allow spurious underflow + exception. + +2012-05-24 Jeff Law + + * stdio-common/Makefile (tests): Add bug25. + * stdio-common/bug25.c: New test. + +2012-05-24 H.J. Lu + + [BZ #13576] + * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a + multiple of MALLOC_ALIGNMENT in size. + (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT. + +2012-05-24 Joseph Myers + + * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant. + Require >= 256. + (FILENAME_MAX): Use macro-int-constant. + (FOPEN_MAX): Use macro-int-constant. Require >= 8. + (_IOFBF): Use macro-int-constant. + (_IOLBF): Likewise. + (_IONBF): Likewise. + (SEEK_CUR): Likewise. + (SEEK_END): Likewise. + (SEEK_SET): Likewise. + (TMP_MAX): Likewise. + (EOF): Use macro-int-constant. Require < 0. + (NULL): Use macro-constant. Require == 0. + (stdin): Require type to be FILE *. + (stdout): Likewise. + (stderr): Likewise. + * conform/data/stdlib.h-data (EXIT_FAILURE): Use + macro-int-constant. + (EXIT_SUCCESS): Likewise. + (NULL): Use macro-constant. Require == 0. + (RAND_MAX): Use macro-int-constant. + [ISO99 || ISO11] (lldiv_t): Require also for these standards. + [C99-based standards] (strtof): Require function. + [C99-based standards] (strtold): Likewise. + [C99-based standards] (strtoll): Likewise. + [C99-based standards] (strtoull): Likewise. + [ISO || ISO99 || ISO11] (stddef.h): Do not allow header. + [ISO || ISO99 || ISO11] (limits.h): Likewise. + [ISO || ISO99 || ISO11] (math.h): Likewise. + [ISO || ISO99 || ISO11] (sys/wait.h): Likewise. + (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*. + [ISO || ISO99 || ISO11] (*_t): Do not allow. + +2012-05-24 Andreas Schwab + + [BZ #14132] + * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE. + * argp/argp-parse.c (dgettext) [_LIBC]: Likewise. + * intl/dgettext.c (DCGETTEXT): Likewise. + * intl/gettext.c (DCGETTEXT): Likewise. + * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise. + * posix/regex_internal.h (gettext): Likewise. + * include/libintl.h (__dcgettext_internal, __dcngettext_internal): + Remove declaration. + * include/argz.h (__argz_count_internal) + (__argz_stringify_internal): Remove declaration. + (__argz_count, __argz_stringify): Declare hidden proto. + * intl/dcgettext.c: Remove use of INTDEF. + * string/argz-count.c: Replace INTDEF with libc_hidden_def. + * string/argz-stringify.c: Likewise. + * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area) + (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf): + Declare hidden proto. + * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area) + (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf): + Declare hidden proto. + * include/stdio.h (__asprintf_internal): Don't declare. + (__asprintf): Don't define as macro. Declare hidden proto. + * include/stdio_ext.h (__fsetlocking_internal): Don't declare. + (__fsetlocking): Declare hidden proto. + * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread) + (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare + hidden proto. + (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf) + (_IO_setlinebuf): Remove use of INTUSE. + (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal) + (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal) + (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal): + Remove declaration. + * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define. + (_IO_do_flush): Remove use of INTUSE. + (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link) + (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb) + (_IO_adjust_column, _IO_least_wmarker) + (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area) + (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc) + (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow) + (_IO_default_doallocate, _IO_wdefault_doallocate) + (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail) + (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn) + (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write) + (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered) + (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff) + (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close) + (_IO_file_underflow, _IO_file_overflow, _IO_file_init) + (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync) + (_IO_file_close_it, _IO_file_seek, _IO_file_finish) + (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow) + (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow) + (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff) + (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden + proto. + (_IO_flush_all_internal, _IO_adjust_column_internal) + (_IO_default_uflow_internal, _IO_default_finish_internal) + (_IO_default_pbackfail_internal, _IO_default_xsputn_internal) + (_IO_default_xsgetn_internal, _IO_default_doallocate_internal) + (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal) + (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal) + (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal) + (_IO_file_doallocate_internal, _IO_file_setbuf_internal) + (_IO_file_seekoff_internal, _IO_file_xsputn_internal) + (_IO_file_xsgetn_internal, _IO_file_stat_internal) + (_IO_file_close_internal, _IO_file_close_it_internal) + (_IO_file_underflow_internal, _IO_file_overflow_internal) + (_IO_file_init_internal, _IO_file_attach_internal) + (_IO_file_fopen_internal, _IO_file_read_internal) + (_IO_file_sync_internal, _IO_file_seek_internal) + (_IO_file_finish_internal, _IO_wfile_xsputn_internal) + (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal) + (_IO_str_underflow_internal, _IO_str_overflow_internal) + (_IO_str_pbackfail_internal, _IO_str_seekoff_internal) + (_IO_file_jumps_internal, _IO_wfile_jumps_internal) + (_IO_list_all_internal, _IO_link_in_internal) + (_IO_sputbackc_internal, _IO_wdoallocbuf_internal) + (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal) + (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal) + (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal) + (_IO_do_write_internal, _IO_padn_internal) + (_IO_getline_info_internal, _IO_getline_internal) + (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal) + (_IO_switch_to_wbackup_area_internal, _IO_setb_internal) + (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal) + (_IO_vfscanf_internal, _IO_vfprintf_internal) + (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal) + (_IO_init_internal, _IO_un_link_internal): Don't declare. + * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2 + with libc_hidden_ver, remove use of INTUSE. + * libio/genops.c: Likewise. + * libio/freopen.c: Likewise. + * libio/freopen64.c: Likewise. + * libio/iofclose.c: Likewise. + * libio/iofdopen.c: Likewise. + * libio/iofflush.c: Likewise. + * libio/iofflush_u.c: Likewise. + * libio/iofgets.c: Likewise. + * libio/iofgets_u.c: Likewise. + * libio/iofopen.c: Likewise. + * libio/iofopncook.c: Likewise. + * libio/iofread.c: Likewise. + * libio/iofread_u.c: Likewise. + * libio/ioftell.c: Likewise. + * libio/iofwrite.c: Likewise. + * libio/iogetline.c: Likewise. + * libio/iogets.c: Likewise. + * libio/iogetwline.c: Likewise. + * libio/iopadn.c: Likewise. + * libio/iopopen.c: Likewise. + * libio/ioseekoff.c: Likewise. + * libio/ioseekpos.c: Likewise. + * libio/iosetbuffer.c: Likewise. + * libio/iosetvbuf.c: Likewise. + * libio/ioungetc.c: Likewise. + * libio/ioungetwc.c: Likewise. + * libio/iovdprintf.c: Likewise. + * libio/iovsprintf.c: Likewise. + * libio/iovsscanf.c: Likewise. + * libio/memstream.c: Likewise. + * libio/obprintf.c: Likewise. + * libio/oldfileops.c: Likewise. + * libio/oldiofclose.c: Likewise. + * libio/oldiofdopen.c: Likewise. + * libio/oldiofopen.c: Likewise. + * libio/oldiopopen.c: Likewise. + * libio/oldstdfiles.c: Likewise. + * libio/putc.c: Likewise. + * libio/setbuf.c: Likewise. + * libio/setlinebuf.c: Likewise. + * libio/stdfiles.c: Likewise. + * libio/strops.c: Likewise. + * libio/vasprintf.c: Likewise. + * libio/vscanf.c: Likewise. + * libio/vsnprintf.c: Likewise. + * libio/vswprintf.c: Likewise. + * libio/wfiledoalloc.c: Likewise. + * libio/wfileops.c: Likewise. + * libio/wgenops.c: Likewise. + * libio/wmemstream.c: Likewise. + * libio/wstrops.c: Likewise. + * libio/__fpurge.c: Likewise. + * libio/__fsetlocking.c: Likewise. + * assert/assert.c: Likewise. + * debug/fgets_chk.c: Likewise. + * debug/fgets_u_chk.c: Likewise. + * debug/fread_chk.c: Likewise. + * debug/fread_u_chk.c: Likewise. + * debug/gets_chk.c: Likewise. + * debug/obprintf_chk.c: Likewise. + * debug/vasprintf_chk.c: Likewise. + * debug/vdprintf_chk.c: Likewise. + * debug/vsnprintf_chk.c: Likewise. + * debug/vsprintf_chk.c: Likewise. + * malloc/mtrace.c: Likewise. + * misc/error.c: Likewise. + * misc/syslog.c: Likewise. + * stdio-common/asprintf.c: Likewise. + * stdio-common/fxprintf.c: Likewise. + * stdio-common/getw.c: Likewise. + * stdio-common/isoc99_fscanf.c: Likewise. + * stdio-common/isoc99_scanf.c: Likewise. + * stdio-common/isoc99_vfscanf.c: Likewise. + * stdio-common/isoc99_vscanf.c: Likewise. + * stdio-common/isoc99_vsscanf.c: Likewise. + * stdio-common/printf-prs.c: Likewise. + * stdio-common/printf_fp.c: Likewise. + * stdio-common/printf_fphex.c: Likewise. + * stdio-common/printf_size.c: Likewise. + * stdio-common/putw.c: Likewise. + * stdio-common/scanf.c: Likewise. + * stdio-common/sprintf.c: Likewise. + * stdio-common/tmpfile.c: Likewise. + * stdio-common/vfprintf.c: Likewise. + * stdio-common/vfscanf.c: Likewise. + * stdlib/strfmon_l.c: Likewise. + * sunrpc/openchild.c: Likewise. + * sunrpc/xdr_stdio.c: Likewise. + * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise. + * sysdeps/mach/hurd/tmpfile.c: Likewise. + +2012-05-24 Roland McGrath + + * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file. + + * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER" + in the third column, to generate for the shared library an IFUNC + that uses _dl_vdso_vsym. + * Makerules (COMPILE.c, compile-stdin.c): New variables. + * Makeconfig (object-suffixes-noshared): New variable. + + * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro. + (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros. + (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros. + (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros. + + [BZ #14132] + * include/sys/time.h (__gettimeofday): Remove macro. + (__gettimeofday, gettimeofday): Add libc_hidden_proto. + * time/gettimeofday.c (__gettimeofday): Remove #undef. + Remove INTDEF. + (__gettimeofday): Add libc_hidden_def. + (gettimeofday): Add libc_hidden_weak. + * sysdeps/mach/gettimeofday.c: Likewise. + * sysdeps/posix/gettimeofday.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise. + * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c + (__gettimeofday_internal): Remove strong_alias. + (__gettimeofday): Add libc_hidden_def. + (gettimeofday): Add libc_hidden_weak. + * sysdeps/unix/syscalls.list (gettimeofday): + Remove __gettimeofday_internal alias. + +2012-05-24 Daniel Jacobowitz + H.J. Lu + + [BZ #12495] + * malloc/malloc.c (SMALLBIN_CORRECTION): New. + (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment. + (largebin_index_32_big): New. + (largebin_index): Use it for 16-byte alignment. + (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update + correction with front_misalign. + +2012-05-24 H.J. Lu + + * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file. + * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist: + Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: + Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: + Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: + Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: + Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: + Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: + Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: + Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: + Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist: + Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: + Likewise. + + * scripts/data/c++-types-x32-linux-gnu.data: New file. + * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry. + +2012-05-24 Joseph Myers + + [BZ #10846] + [BZ #14036] + * math/libm-test.inc (exp_test): Add test from bug 14036. + (pow_test): Add test from bug 10846. + + * math/gen-libm-test.pl (%beautify): Remove entries for exceptions + and other flags. + (special_function): Do not include flags in test name. + (parse_args): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/powerpc/fpu/libm-test-ulps: Likewise. + * sysdeps/s390/fpu/libm-test-ulps: Likewise. + * sysdeps/sparc/fpu/libm-test-ulps: Likewise. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + * math/gen-libm-test.pl (%beautify): Add entries for underflow + exceptions. + * math/libm-test.inc ("Philosophy"): Update comment about + exception testing. + (UNDERFLOW_EXCEPTION): New macro. + (UNDERFLOW_EXCEPTION_OK): Likewise. + (UNDERFLOW_EXCEPTION_FLOAT): Likewise. + (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise. + (UNDERFLOW_EXCEPTION_DOUBLE): Likewise. + (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise. + (INVALID_EXCEPTION_OK): Update value. + (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise. + (OVERFLOW_EXCEPTION_OK): Likewise. + (IGNORE_ZERO_INF_SIGN): Likewise. + (test_exceptions): Handle underflow exceptions. + (acos_test): Update for underflow exception expectations. + (cexp_test): Likewise. + (clog_test): Likewise. + (clog10_test): Likewise. + (csqrt_test): Likewise. + (ctan_test): Likewise. + (ctanh_test): Likewise. + (exp_test): Likewise. + (exp10_test): Likewise. + (exp2_test): Likewise. + (expm1_test): Likewise. + (fma_test): Likewise. + (j0_test): Likewise. + (jn_test): Likewise. + (nexttoward_test): Likewise. + (pow_test): Likewise. + (scalbn_test): Likewise. + (scalbln_test): Likewise. + (tan_test): Likewise. + (y1_test): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2012-05-23 David S. Miller + + * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c + (__libc_sigaction): Remove unused local variables. + +2012-05-23 H.J. Lu + + * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file. + +2012-05-23 Paul Eggert + + mktime: avoid signed integer overflow + * time/mktime.c (__mktime_internal): Do not mishandle the case + where diff == INT_MIN. + + mktime: simplify computation of average + * time/mktime.c (ranged_convert): Use new time_t_avg function + instead of rolling our own (probably-slower) code. + + mktime: do not assume signed right shift propagates sign bit + * time/mktime.c (isdst_differ): New static function. + (__mktime_internal): No need to normalize tm_isdst now. + (__mktime_internal, not_equal_tm): Use isdst_differ to compare + tm_isdst values. + + mktime: merge another wrapv change from gnulib + * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics + from some compilers. + + mktime: remove incorrect attempt at unusual arithmetics + * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove. + The code didn't really work on such machines anyway. + (TYPE_MINIMUM): Assume two's complement. + (twos_complement_arithmetic): Verify that long_int and time_t + are two's complement (or unsigned, in the latter case). + + mktime: check signed shifts on long_int and time_t, too + * time/mktime.c (SHR): Check that shifts work as desired + on the types long_int and time_t too, as SHR is used on + such types. + + mktime: do not assume 'long' is wide enough + * time/mktime.c (verify): Move decl up. + (long_int): New type. + (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it, + to remove assumption in the code that 'long' is wide enough to + store year values. This assumption is not true on x32 and on + some non-glibc platforms. + + mktime: merge wrapv change from gnulib + * time/mktime.c (WRAPV): New macro. + (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions. + (guess_time_tm, __mktime_internal): Do not assume that signed + integer overflow wraps around; modern compilers generate code + where this assumption is no longer valid. + +2012-05-23 H.J. Lu + + * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER): + Replace "jmp L(pseudo_end)" with "ret". + * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): + Likewise. + +2012-05-23 Andreas Jaeger + + * sysdeps/unix/sysv/linux/syscalls.list: Add poll. + * sysdeps/unix/sysv/linux/poll.c: Remove file. + +2012-05-23 Andreas Jaeger + Maximilian Attems + + * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC): + New macros. + +2012-05-23 H.J. Lu + + * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange + code so that pseudo_end is just ret and the stack pointer is + correct also for static library in error case. + +2012-05-23 Joseph Myers + + * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting + move to syscalls.list. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise. + + * manual/install.texi (Running make install): Do not mention Linux + kernel version for which pt_chown is not needed. + (Linux): Do not mention problems with nscd with 2.0 kernels. + * INSTALL: Regenerated. + +2012-05-23 Andreas Jaeger + + * sysdeps/unix/sysv/linux/powerpc/bits/mman.h + (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4. + macro. + * sysdeps/unix/sysv/linux/s390/bits/mman.h + (MADV_DONTDUMP,MADV_DODUMP): Likewise. + * sysdeps/unix/sysv/linux/sh/bits/mman.h + (MADV_DONTDUMP,MADV_DODUMP): Likewise. + * sysdeps/unix/sysv/linux/i386/bits/mman.h + (MADV_DONTDUMP,MADV_DODUMP): Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/mman.h + (MADV_DONTDUMP,MADV_DODUMP): Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/mman.h + (MADV_DONTDUMP,MADV_DODUMP): Likewise. + * sysdeps/unix/sysv/linux/bits/in.h + (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise. + +2012-05-22 Roland McGrath + + * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed. + (PREPARE_VERSION): Just use assert instead, it will be elided + under [NDEBUG] anyway. + +2012-05-22 H.J. Lu + + * sysdeps/unix/sysv/linux/Makefile: Include + $(firstword $(wildcard $(sysdirs:=/sysctl.mk))). + (sysdep_routines): Remove sysctl. + * sysdeps/unix/sysv/linux/bits/sysctl.h: New file. + * sysdeps/unix/sysv/linux/sysctl.mk: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise. + * sysdeps/unix/sysv/linux/sys/sysctl.h: Include . + +2012-05-22 Andreas Jaeger + + * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so + that pseudo_end is just ret and the stack pointer is correct also + for static library in error case. + +2012-05-22 Paul Pluzhnikov + + [BZ #14122] + * nss/nsswitch.c (defconfig_entries): New variable. + (__nss_database_lookup): Don't leak defconfig entries. + (nss_parse_service_list): Don't leak on error paths. + (free_database_entries): New function. + (free_defconfig): New function. + (free_mem): Move common code to free_database_entries. + +2012-05-22 H.J. Lu + + * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines): + Add arch_prctl. + * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file. + + * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c + (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined. + * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES): + New macro. + (INTERNAL_SYSCALL_NCS_TYPES): Likewise. + (INTERNAL_SYSCALL_TYPES): Likewise. + (LOAD_ARGS_TYPES_[1-6]): Likewise. + (LOAD_REGS_TYPES_[1-6]): Likewise. + (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6]. + (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6]. + +2012-05-22 Adhemerval Zanella + + * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol + copysignl for GLIBC_2_0. + * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol + finitel for GLIBC_2.0 and __finitel for GLIBC_2_1. + * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol + logbl for GLIBC_2_0. + * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise. + +2012-05-22 H.J. Lu + + * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include + . Check __x86_64__ instead of __WORDSIZE. + + * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER): + Use "neg %eax". + + * time/mktime.c: Update copyright years. + +2012-05-22 Paul Eggert + + mktime: merge comment-quoting-style change from gnulib + * time/mktime.c: Quote 'like this' in comments. + The GNU coding standards suggest that we no longer quote `like this', + as "`" and "'" are typically rendered asymmetrically nowadays. + The typical gnulib style is to quote 'like this' when quoting + code, and "like this" when quoting English. + + * time/mktime.c (compile-command): Add "-I.". + + mktime: merge mktime-internal.h change from gnulib + * time/mktime.c [!_LIBC]: Include "mktime-internal.h". + + mktime: merge time_r change from gnulib + * time/mktime.c [!_LIBC]: Do not include "time_r.h". + + mktime: merge DEBUG change from gnulib + * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in + case system has a #define. + + mktime: merge change from gnulib + * time/mktime.c: Do not include ; no longer needed, + since is now guaranteed to define time_t. + + mktime: merge HAVE_CONFIG_H change from gnulib + * time/mktime.c: Include if !_LIBC, not if HAVE_CONFIG_H. + +2012-05-22 H.J. Lu + + * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO): + Use "neg %eax". + + * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use + __rlim_t cast. + (struct rusage): Use anonymous union to pad each field to + __syscall_slong_t. + +2012-05-21 David S. Miller + + * Makefules (o-iterator): Remove .s cases. + (compile-command.s): Delete. + (COMPILE.s): Delete. + * sysdeps/unix/make-syscalls.sh: Remove .s file tests. + +2012-05-21 Joseph Myers + + * configure.in (libc_cv_predef_stack_protector): Only consider + "foobar" and "__stack_chk_fail" lines in libc_undefs. + * configure: Regenerated. + +2012-05-21 H.J. Lu + + * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO): + New macro. Use R*LP on int and pointer. + (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO. + * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file. + * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise. + + * sysdeps/gnu/bits/utmp.h (struct lastlog): Check + [__WORDSIZE_TIME64_COMPAT32] instead of + [__WORDSIZE == 64 && __WORDSIZE_COMPAT32]. + (struct utmp): Likewise. + * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise. + * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32): + Renamed to ... + (__WORDSIZE_TIME64_COMPAT32): This. + * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise. + * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise. + * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise. + * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed. + (__WORDSIZE_TIME64_COMPAT32): New macro. + +2012-05-21 Andreas Jaeger + + * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def + only if [SHARED]. Add prototype for __wcschr_ia32. + +2012-05-21 Roland McGrath + + * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits + of %rbp unmolested in the jmp_buf while mangling the low bits. + * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the + unmolested high bits of %rbp while demangling the low bits. + * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise. + +2012-05-21 Andreas Jaeger + + * include/shlib-compat.h (libc_sunrpc_symbol): New macro. + * sunrpc/svc_simple.c: Use it for registerrpc. + * sunrpc/xcrypt.c: Use it for passwd2des. + + * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT. + +2012-05-21 H.J. Lu + + * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED): + Don't define if [__SYSCALL_WORDSIZE != 32]. + * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE): + New macro. + +2012-05-21 Bruno Haible + Andreas Jaeger + + [BZ #13691], Revert breakage of iconv() converter for TCVN-5712. + * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider + inptr and inend for must_buffer_ch. + * wcsmbs/tst-mbsnrtowcs.c: Remove file. + * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs. + * stdio-common/Makefile (tests): Remove bug15. + (bug15-ENV): Remove macro. + * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1 + anymore. + +2012-05-19 Andreas Jaeger + Roland McGrath + + * manual/contrib.texi: Completely rewritten. It contains now an + alphabetical list of contributors and their contributions. + +2012-05-21 Richard Henderson + + * misc/getauxval.c (__getauxval): Use unsigned long int. + * misc/sys/auxv.h: Include . + (getauxval): Use unsigned long int. + +2012-05-21 H.J. Lu + + * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file. + +2012-05-21 Roland McGrath + + * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)] + (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and + __alignof__ (long double). + +2012-05-21 Adhemerval Zanella + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2012-05-20 Richard Henderson + + * misc/getauxval.c: New file. + * misc/sys/auxv.h: New file. + * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h. + (routines): Add getauxval. + * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval. + * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv. + * elf/dl-sysdep.c (_dl_auxv): Remove. + (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv. + * elf/dl-support.c (_dl_auxv): New variable. + (_dl_aux_init): Initialize it. + * manual/startup.texi (Auxiliary Vector): New node. + * sysdeps/generic/bits/hwcap.h: New file. + * sysdeps/powerpc/bits/hwcap.h: New file, split out from ... + * sysdeps/powerpc/sysdep.h: ... here. Include it. + * sysdeps/sparc/bits/hwcap.h: New file, split out from ... + * sysdeps/sparc/sysdep.h: ... here. Include it. + * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file. + * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist: + Update. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update. + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update. + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update. + * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update. + * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update. + * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update. + * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update. + * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update. + +2012-05-19 Adhemerval Zanella + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2012-05-19 David S. Miller + + * sysdeps/sparc/fpu/libm-test-ulps: Update. + +2012-05-19 Joseph Myers + + [BZ #14123] + * math/s_ccosh.c: Include + (__ccosh): Avoid internal overflow calculating sinh and cosh + values before multiplying by sin and cos values. + * math/s_ccoshf.c: Likewise. + * math/s_ccoshl.c: Likewise. + * math/s_csin.c: Likewise. + * math/s_csinf.c: Likewise. + * math/s_csinl.c: Likewise. + * math/s_csinh.c: Likewise. + * math/s_csinhf.c: Likewise. + * math/s_csinhl.c: Likewise. + * math/libm-test.inc (ccos_test): Add more tests. + (ccosh_test): Likewise. + (csin_test): Likewise. + (csinh_test): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2012-05-19 H.J. Lu + + * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise. + + * sysdeps/x86_64/x32/_itoa.h: Add comment. + +2012-05-19 Joseph Myers + + * sysdeps/powerpc/soft-fp/Makefile: Remove file. + * sysdeps/powerpc/soft-fp/Subdirs: Likewise. + * sysdeps/powerpc/soft-fp/Versions: Likewise. + * sysdeps/powerpc/soft-fp/q_add.c: Likewise. + * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise. + * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise. + * sysdeps/powerpc/soft-fp/q_div.c: Likewise. + * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise. + * sysdeps/powerpc/soft-fp/q_feq.c: Likewise. + * sysdeps/powerpc/soft-fp/q_fge.c: Likewise. + * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise. + * sysdeps/powerpc/soft-fp/q_fle.c: Likewise. + * sysdeps/powerpc/soft-fp/q_flt.c: Likewise. + * sysdeps/powerpc/soft-fp/q_fne.c: Likewise. + * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise. + * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise. + * sysdeps/powerpc/soft-fp/q_mul.c: Likewise. + * sysdeps/powerpc/soft-fp/q_neg.c: Likewise. + * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise. + * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise. + * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise. + * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise. + * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise. + * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise. + * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise. + * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise. + * sysdeps/powerpc/soft-fp/q_sub.c: Likewise. + * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise. + * sysdeps/powerpc/soft-fp/q_util.c: Likewise. + * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise. + * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise. + +2012-05-18 Andreas Jaeger + + * csu/.gitignore: Delete. + +2012-05-18 H.J. Lu + + * sysdeps/unix/sysv/linux/bits/timex.h: Include . + (timex): Use __syscall_slong_t. + +2012-05-18 Andreas Jaeger + Carlos O'Donell + + * manual/install.texi (Configuring and compiling): Update + description about files modified in the source directory. + * INSTALL: Regenerated. + +2012-05-18 H.J. Lu + + * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return + value. Use "or" to set return value to -1. + * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to + negate return value. + +2012-05-18 Tulio Magno Quites Machado Filho + + * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c) + (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build + failure if the compiler has Graphite support disabled. + * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c): + Likewise. + * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c) + (CFLAGS-memmove.c): Likewise. + * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c): + Likewise. + +2012-05-18 H.J. Lu + + * sysdeps/x86_64/x32/_itoa.h: New file. + + * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use + getdents system call only if kernel and user dirents have the + same d_ino and d_off. + + * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of + LLONG_MAX != LONG_MAX. + (_itoa_word): Use _ITOA_WORD_TYPE on value. + (_fitoa_word): Likewise. + + * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright + years. + * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise. + + * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't + include . Check __x86_64__ instead of + __WORDSIZE. + (sigcontext): Use "__uint64_t" instead of "unsigned long int" + if __x86_64__ is defined. Use anonymous union on fpstate. + + * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use + anonymous union. + +2012-05-18 Andreas Schwab + + * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use + INTUSE on _dl_argv, and _rtld_local instead of _rtld_global. + * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]: + Refer to _rtld_local_ro instead of _rtld_global_ro. + * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]: + Likewise. + * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]: + Likewise. + * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]: + Likewise. + * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise. + * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead + of _rtld_global, and rtld_progname instead of _dl_argv[0]. + + [BZ #10882] + * sysdeps/powerpc/powerpc32/dl-machine.c + (__elf_machine_runtime_setup) [PROF]: Don't reference + _dl_prof_resolve. + +2012-05-18 Andreas Jaeger + + * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline + function only available for GCCs before 3.4 since GCC 3.4 + introduced a builtin. + (lrint): Likewise. + (llrintf): Likewise. + (llrint): Likewise. + (fmaxf): Likewise. + (fmax): Likewise. + (fminf): Likewise. + (fmin): Likewise. + (rint): Likewise. + (rintf): Likewise. + (nearbyint): Likewise. + (nearbyintf): Likewise. + (ceil): Likewise. + (ceilf): Likewise. + (floor): Likewise. + (floorf): Likewise. + +2012-05-17 H.J. Lu + + * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t + on both fields and cast pointer to __syscall_ulong_t. + + * bits/types.h (__fsword_t): New type. + * bits/typesizes.h (__FSWORD_T_TYPE): New macro. + sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise. + * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h + (__FSWORD_T_TYPE): Likewise. + * sysdeps/unix/sysv/linux/s390/bits/typesizes.h + (__FSWORD_T_TYPE): Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h + (__FSWORD_T_TYPE): Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h + (__FSWORD_T_TYPE): Likewise. + * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace + __SWORD_TYPE with __fsword_t. + (statfs64): Likewise. + +2012-05-17 David S. Miller + + * crypt/sha512c-test.c (TIMEOUT): Increase to 32. + +2012-05-17 Andreas Jaeger + + * elf/tst-relsort1.c (do_test): Fix function declaration to avoid + warning. + +2012-05-17 H.J. Lu + + * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long. + +2012-05-17 Andreas Jaeger + + * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only + when it is used. + +2012-05-17 Chris Metcalf + + * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60. + +2012-05-17 H.J. Lu + + * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1. + * sysdeps/x86_64/tst-mallocalign1.c: New file. + +2012-05-17 Andreas Jaeger + Carlos O'Donell + + [BZ #14059] + * sysdeps/x86_64/multiarch/init-arch.h + (bit_YMM_Usable): Rename to... + (bit_AVX_Usable): ... this. + (bit_FMA4_Usable): New macro. + (bit_XMM_state): New macro. + (bit_YMM_state): New macro. + [__ASSEMBLER__] (index_YMM_Usable): Rename to... + [__ASSEMBLER__] (index_AVX_Usable): ... this. + [__ASSEMBLER__] (index_FMA4_Usable): New macro. + (CPUID_OSXSAVE): New macro. + (CPUID_AVX): New macro. + (CPUID_FMA4): New macro. + (index_YMM_Usable): Rename to... + (index_AVX_Usable): ... this. + (HAS_AVX): Use HAS_ARCH_FEATURE. + (HAS_FMA4): Likewise. + (HAS_YMM_USABLE): Remove. + * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): + Enable AVX or FMA4 IFF YMM and XMM states are usable and the features + are present. + * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable. + * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests. + * sysdeps/x86_64/multiarch/Makefile: Likewise. + * sysdeps/i386/i686/multiarch/test-multiarch.c: New file. + * sysdeps/x86_64/multiarch/test-multiarch.c: New file. + +2012-05-17 Chris Metcalf + + * math/libm-test.c: Support platforms without multiple rounding modes. + * math/bug-nextafter.c: Support platforms without FP exceptions. + * math/bug-nexttoward.c: Likewise. + * math/test-fenv.c: Likewise. + * math/test-misc.c: Likewise. + * stdlib/bug-getcontext.c: Likewise. + +2012-05-17 Andreas Jaeger + + * manual/examples/search.c (critter_cmp): Change signature to + avoid warnings. + * manual/string.texi (Collation Functions): Likewise. + +2012-05-16 H.J. Lu + + * bits/types.h: Fold copyright years. + * bits/typesizes.h: Likewise. + * sysdeps/mach/hurd/bits/typesizes.h: Likewise. + * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise. + * time/time.h: Likewise. + +2012-05-16 Paul Pluzhnikov + + [BZ #208] + * malloc.c (int_mallinfo): Add parameter to accumulate statistics + in instead of returning them. Return void. + (__libc_mallinfo): Accumulate over all arenas. + (__malloc_stats): Adjust for change in int_mallinfo interface. + +2012-05-16 Roland McGrath + + [BZ #10375] + * configure.in (NM): Add AC_CHECK_TOOL for it. + (libc_extra_cflags): New substituted variable. + Check for -fstack-protector being used implicitly. + * configure: Regenerated. + * config.make.in (config-extra-cflags): New variable, + gets @libc_extra_cflags@. + * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front. + + [BZ #10375] + * configure.in: Check for _FORTIFY_SOURCE being predefined. + (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed. + * configure: Regenerated. + * config.make.in (CPPUNDEFS): New substituted variable. + * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning. + * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS). + * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime. + +2012-05-16 H.J. Lu + + * sysdeps/unix/sysv/linux/bits/mqueue.h: Include . + (mq_attr): Use __syscall_slong_t. + +2012-05-16 H.J. Lu + + * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4): + Check __x86_64__ instead of __WORDSIZE. + (_STAT_VER_LINUX): Likewise. + (stat): Check __x86_64__ instead of __WORDSIZE. Use + __syscall_ulong_t and __syscall_slong_t. + (stat64): Likewise. + +2012-05-16 H.J. Lu + + * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file. + +2012-05-16 H.J. Lu + + * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file. + +2012-05-16 H.J. Lu + + * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use + __syscall_ulong_t. + + * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't + include . Check __x86_64__ instead of + __WORDSIZE. + (greg_t): Use "__extension__ long long int" if __x86_64__ is + defined. + (mcontext_t): Replace "unsigned long" with "unsigned long long". + + * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't + include . Check __x86_64__ instead of + __WORDSIZE. + (user_regs_struct): Use "__extension__ unsigned long long" + instead of "unsigned long" if __x86_64__ is defined. + (user): Likewise. Pad after pointer field if __ILP32__ is + defined. + +2012-05-16 Joseph Myers + + * configure.in (makeinfo): Require version 4.5 or later. Allow + versions 5 to 9. + * configure: Regenerated. + * manual/install.texi (texinfo): Increase version requirement to + 4.5 or later. + * INSTALL: Regenerated. + + * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L. + +2012-05-16 H.J. Lu + + * sysdeps/x86_64/x32/gmp-mparam.h: New file. + + * sysdeps/x86_64/x32/ffs.c: New file. + + * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use + __syscall_ulong_t. + (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't + defined. Use __syscall_ulong_t. + (shminfo): Use __syscall_ulong_t. + (shm_info): Likewise. + + * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use + __syscall_ulong_t. + + * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include + . + (msgqnum_t): Use __syscall_ulong_t. + (msglen_t): Likewise. + (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use + __syscall_ulong_t. + + * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include + . Check __x86_64__ instead of __WORDSIZE. + + * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file. + + * sysdeps/x86_64/x32/divdi3.c: New dummy file. + * sysdeps/x86_64/x32/symbol-hacks.h: Likewise. + + * sysvipc/sys/msg.h (msgbuf): Replace long int with + __syscall_slong_t. + + * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't + include . Check __x86_64__ instead of + __WORDSIZE. + + * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use + "unsigned long long int" if __x86_64__ is defined. + (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE. + + * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include + . Check __x86_64__ instead of __WORDSIZE. + (DR_CONTROL_RESERVED): Use ULL instead of UL suffix. + + * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include + . + (GET_PC): Cast to uintptr_t first. + (GET_FRAME): Likewise. + (GET_STACK): Likewise. + + * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file. + * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise. + +2012-05-16 Andreas Schwab + + * Makerules (+depfiles): Also collect depfiles from .oS in + $(extra-objs). + * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix + .oS, $(libnldbl-routines)). + + * Makerules (native-compile-mkdep-flags): Define. + * sunrpc/Makefile (extra-objs): Add $(addprefix + cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs). + ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead + of $(compile-mkdep-flags). Depend on $(before-compile) instead of + calling $(make-target-directory). + +2012-05-15 H.J. Lu + + * bits/types.h (__snseconds_t): Removed. + * time/time.h (struct timespec): Replace __snseconds_t with + __syscall_slong_t. + * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed. + * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE): + Likewise. + * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h + (__SNSECONDS_T_TYPE): Likewise. + * sysdeps/unix/sysv/linux/s390/bits/typesizes.h + (__SNSECONDS_T_TYPE): Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h + (__SNSECONDS_T_TYPE): Likewise. + +2012-05-15 H.J. Lu + + * sysdeps/mach/hurd/bits/typesizes.h + (__SYSCALL_SLONG_TYPE): New macro. + (__SYSCALL_ULONG_TYPE): Likewise. + +2012-05-15 H.J. Lu + + * bits/types.h (__syscall_slong_t): New type. + (__syscall_ulong_t): Likewise. + + * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro. + (__SYSCALL_ULONG_TYPE): Likewise. + * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h + (__SYSCALL_SLONG_TYPE): Likewise. + (__SYSCALL_ULONG_TYPE): Likewise. + * sysdeps/unix/sysv/linux/s390/bits/typesizes.h + (__SYSCALL_SLONG_TYPE): Likewise. + (__SYSCALL_ULONG_TYPE): Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h + (__SYSCALL_SLONG_TYPE): Likewise. + (__SYSCALL_ULONG_TYPE): Likewise. + +2012-05-15 H.J. Lu + + * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers): + Add sigaltstack-offsets.sym. + * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include + . + (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on + longjmp_msg pointer. + (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use + R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate + signal stack. + * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New. + +2012-05-15 Joseph Myers + + * elf/stackguard-macros.h: Remove file. + * sysdeps/generic/stackguard-macros.h: New file. + * sysdeps/i386/stackguard-macros.h: Likewise. + * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise. + * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise. + * sysdeps/s390/s390-32/stackguard-macros.h: Likewise. + * sysdeps/s390/s390-64/stackguard-macros.h: Likewise. + * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise. + * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise. + * sysdeps/x86_64/stackguard-macros.h: Likewise. + * nptl/tst-stackguard1.c: Include not + . + + [BZ #14109] + * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use + __aligned__ in attribute. + * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise. + (gregset_t): Likewise. + +2012-05-15 H.J. Lu + + * sysdeps/x86_64/Implies (wordsize-64): Moved to .... + * sysdeps/x86_64/64/Implies-after: Here. New file. + * sysdeps/x86_64/x32/Implies-after: New file. + +2012-05-15 H.J. Lu + + * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments + and access return value for _dl_profile_fixup. Use R10_LP to + load frame size. + +2012-05-15 H.J. Lu + + * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New. + +2012-05-15 H.J. Lu + + * sysdeps/x86_64/sysdep.h: Allowed to be include more than once. + * sysdeps/x86_64/x32/sysdep.h: New file. + +2012-05-15 H.J. Lu + + * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC. + * sysdeps/x86_64/setjmp.S: Likewise. + +2012-05-15 Adhemerval Zanella + + * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file. + * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file. + * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents. + * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also + remove unused global constant. + +2012-05-15 Chris Metcalf + + * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate + include of . + +2012-05-15 Roland McGrath + + * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting. + +2012-05-15 Jeff Law + Andreas Jaeger + + [BZ #13594] + * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split + out from... + * nscd/nscd_helper.c (__nscd_get_map_ref): ... here. + * nscd/nscd-client.h: Add __nscd_acquire_maplock. + * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to + code changing __hst_map_handle.map. + +2012-05-15 Roland McGrath + + * configure.in (sysnames): Look for Implies-before and Implies-after + files. + * configure: Regenerated. + +2012-05-15 H.J. Lu + + * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace + 8-byte data alignment with LP_SIZE alignment. + +2012-05-15 H.J. Lu + + * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID + into R10_LP. + +2012-05-15 H.J. Lu + + * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New. + +2012-05-15 H.J. Lu + + * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file. + * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: + Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise. + +2012-05-15 H.J. Lu + + * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP. + (stackinfo_sub_sp): Likewise. + +2012-05-15 H.J. Lu + + * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into + RAX_LP. + +2012-05-15 H.J. Lu + + * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes + into R*_LP. + +2012-05-15 H.J. Lu + + * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache + sizes into R*_LP. + +2012-05-15 H.J. Lu + + * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP. + +2012-05-15 H.J. Lu + + * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half + into R11_LP and load __x86_64_shared_cache_size_half into + R8_LP. + +2012-05-15 H.J. Lu + + * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into + R8_LP. + +2012-05-15 Adhemerval Zanella + + * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized + logb for POWER7. + * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized + logbf for POWER7. + * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized + logbl for POWER7. + * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use + powerpc32/power7/fpu/s_logb.c via #include. + * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use + powerpc32/power7/fpu/s_logbf.c via #include. + * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use + powerpc32/power7/fpu/s_logbl.c via #include. + +2012-05-15 Joseph Myers + + * README.libm: Remove file. + +2012-05-14 H.J. Lu + + * sysdeps/x86_64/start.S: Simulate popping 4-byte argument + count for x32. Use R*_LP and omit operand-size suffix. + +2012-05-14 H.J. Lu + + * shlib-versions: Move x86_64-.*-linux.* entries to ... + * sysdeps/x86_64/64/shlib-versions: Here. New file. + * sysdeps/x86_64/x32/shlib-versions: New file. + +2012-05-14 Roland McGrath + + * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed. + * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]: + Use _dl_fatal_printf instead. + +2012-05-14 Joseph Myers + + * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always + set if not set by the user. Do not allow for being unset. + * sysdeps/unix/sysv/linux/configure: Regenerated. + +2012-05-14 H.J. Lu + + * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove + the `q' suffix from lea and replace .quad with ASM_ADDR. + +2012-05-14 H.J. Lu + + * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove + the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1 + instead of $17. + (PTR_DEMANGLE): Likewise. + +2012-05-14 H.J. Lu + + * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro. + (LP_OP): Likewise. + (ASM_ADDR): Likewise. + (RAX_LP): Likewise. + (RBP_LP): Likewise. + (RBX_LP): Likewise. + (RCX_LP): Likewise. + (RDI_LP): Likewise. + (RSI_LP): Likewise. + (RSP_LP): Likewise. + (R8_LP): Likewise. + (R9_LP): Likewise. + (R10_LP): Likewise. + (R10_LP): Likewise. + (R11_LP): Likewise. + (R12_LP): Likewise. + (R13_LP): Likewise. + (R14_LP): Likewise. + (R15_LP): Likewise. + +2012-05-14 H.J. Lu + + * sysdeps/x86_64/x32/dl-machine.h: New file. + +2012-05-14 Andreas Jaeger + + * manual/Makefile (subdir): Remove export of subdir. + (all): Remove target. + (.PHONY): Remove all from list. + (mkinstalldirs): Remove. + (.PHONY): Remove installdirs from list. + ($(inst_infodir)/libc.info): Use make-target-directory. + (installdirs): Remove. + (subdir_%): Remove. + (glibc-targets): Remove. + (lib): Remove. + (stubs): Remove. + ($(objpfx)stubs ../po/manual.pot): Remove. + ($(objpfx)stamp%): Remove. + (make-target-directory): Remove. + (subdir_install): Remove. + (routines): Remove. + (aux): Remove. + (sources): Remove. + (objects): Remove. + (headers): Remove. + + [BZ #13750] + * manual/.gitignore: Remove, it's not needed anymore. + * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create + all files in it. + * manual/Makefile (dvi, pdf, info, html): Depend on files in build + directory. + (texis): Renamed to $(objpfx)texis. + (texis-path): New, contains path to generated files. + (chapters.%): Use texis-path for complete path, add extra argument + libc-texinfo.sh. + (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix. + (libc/index.html, summary.texi): Add $(objpfx) as prefix. + (summary,texi, stamp-summary): Use complete path of + files. Generate files in build dir. + (dir-add.texi): Build in build dir. + (libm-err.texi,stamp-libm-err): Likewise. + (version.texi, stamp-version): Likewise. + (.%c.texi): Likewise. + (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir. + (mostlyclean): Remove target. + (realclean): Remove target. + (generated): Add new variable with contents from mostlyclean and + realclean, remove entries duplicated in common-mostlyclean, add + stamp-libm-err and stamp-version. + (generated-dirs): Add libc directory. + ($(inst_infodir)/libc.info): Install files from build dir. + + * manual/install.texi (Configuring and compiling): Adjust since + the info files are not part of the tar ball anymore. + +2012-05-14 Andreas Jaeger + + * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused + variable. + +2012-05-14 Joseph Myers + + [BZ #13717] + * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set + to 2.2.0 where earlier. + * sysdeps/unix/sysv/linux/configure: Regenerated. + * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]: + Remove conditional code. + [__ASSUME_GETCWD_SYSCALL]: Make code unconditional. + * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]: + Remove conditional code. + [!__NR_lchown]: Likewise. + [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional. + [__NR_lchown]: Likewise. + * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove + comment referencing __ASSUME_LCHOWN_SYSCALL. + * sysdeps/unix/sysv/linux/i386/sigaction.c + [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code. + [__ASSUME_REALTIME_SIGNALS]: Make code unconditional. + * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]: + Remove conditional code. + [__ASSUME_SIOCGIFNAME ]: Make code unconditional. + (__protocol_available): Remove #if 0 code. + * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove + conditional code. + [__ASSUME_SIOCGIFNAME]: Make code unconditional. + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_GETCWD_SYSCALL): Don't define. + (__ASSUME_REALTIME_SIGNALS): Likewise. + (__ASSUME_PREAD_SYSCALL): Likewise. + (__ASSUME_PWRITE_SYSCALL): Likewise. + (__ASSUME_POLL_SYSCALL): Likewise. + (__ASSUME_LCHOWN_SYSCALL): Likewise. + (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for + non-SPARC. + (__ASSUME_SIOCGIFNAME): Don't define. + (__ASSUME_MSG_NOSIGNAL): Likewise. + (__ASSUME_SENDFILE): Define unconditionally. + (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define. + * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove + conditional code. + [__ASSUME_POLL_SYSCALL]: Make code unconditional. + * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown) + [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code. + (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional. + * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat) + [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code. + (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c + [!__ASSUME_PREAD_SYSCALL]: Remove conditional code. + [__ASSUME_PREAD_SYSCALL]: Make code unconditional. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c + [!__ASSUME_PREAD_SYSCALL]: Remove conditional code. + [__ASSUME_PREAD_SYSCALL]: Make code unconditional. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c + [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code. + [__ASSUME_PWRITE_SYSCALL]: Make code unconditional. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c + [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code. + [__ASSUME_PWRITE_SYSCALL]: Make code unconditional. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c + [!__ASSUME_PREAD_SYSCALL]: Remove conditional code. + [__ASSUME_PREAD_SYSCALL]: Make code unconditional. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c + [!__ASSUME_PREAD_SYSCALL]: Remove conditional code. + [__ASSUME_PREAD_SYSCALL]: Make code unconditional. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c + [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code. + [__ASSUME_PWRITE_SYSCALL]: Make code unconditional. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c + [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code. + [__ASSUME_PWRITE_SYSCALL]: Make code unconditional. + * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]: + Remove conditional code. + [__ASSUME_PREAD_SYSCALL]: Make code unconditional. + * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]: + Remove conditional code. + [__ASSUME_PREAD_SYSCALL]: Make code unconditional. + * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal) + [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code. + * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]: + Remove conditional code. + [__ASSUME_PWRITE_SYSCALL]: Make code unconditional. + * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]: + Remove conditional code. + [__ASSUME_PWRITE_SYSCALL]: Make code unconditional. + * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]: + Remove conditional code. + [__ASSUME_PREAD_SYSCALL]: Make code unconditional. + * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]: + Remove conditional code. + [__ASSUME_PREAD_SYSCALL]: Make code unconditional. + * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]: + Remove conditional code. + [__ASSUME_PWRITE_SYSCALL]: Make code unconditional. + * sysdeps/unix/sysv/linux/sh/pwrite64.c + [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code. + [__ASSUME_PWRITE_SYSCALL]: Make code unconditional. + * sysdeps/unix/sysv/linux/sigaction.c + [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code. + [__ASSUME_REALTIME_SIGNALS]: Make code unconditional. + * sysdeps/unix/sysv/linux/sigpending.c + [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code. + [__ASSUME_REALTIME_SIGNALS]: Make code unconditional. + * sysdeps/unix/sysv/linux/sigprocmask.c + [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code. + [__ASSUME_REALTIME_SIGNALS]: Make code unconditional. + * sysdeps/unix/sysv/linux/sigsuspend.c + [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code. + [__ASSUME_REALTIME_SIGNALS]: Make code unconditional. + * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c + (__libc_missing_rt_sigs): Remove. + (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional. + (__libc_sigaction): Do not handle ENOSYS from rt_sigaction. + * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]: + Remove conditional code. + [__ASSUME_MSG_NOSIGNAL]: Make code unconditional. + * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always + return 1. + * sysdeps/unix/sysv/linux/ttyname.c (ttyname) + [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code. + * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r) + [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise. + +2012-05-14 Andreas Jaeger + + * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove, + it's not used in glibc. + (__coshm1): Likewise. + (__acosh1p): Likewise. + (__sgn): Likewise. + + * manual/string.texi (Copying and Concatenation): Add missing + variable in concat example. + Reported by David C. Rankin . + +2012-05-14 H.J. Lu + + [BZ #14103] + * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace + __builtin_clzl with __builtin_clzll. + +2012-05-14 H.J. Lu + + [BZ #14104] + * sysdeps/unix/sysv/linux/check_pf.c (cache): Use + libc_freeres_ptr. + +2012-05-14 Liubov Dmitrieva + + * sysdeps/i386/i686/fpu/multiarch/Makefile: New file. + * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file. + * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file. + * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file. + +2012-05-14 Mike Frysinger + + * NEWS: Update ia64 info. + +2012-05-12 Andreas Schwab + + * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if + used as bcopy. + +2012-05-12 Thomas Schwinge + + * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3. + * sysdeps/unix/syscalls.list (dup3): Likewise. + * libio/freopen.c (freopen): Invoke __dup3 instead of dup3. + * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3. + +2012-05-11 H.J. Lu + + * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use + "%c1" with "i" (offsetof (tcbhead_t, stack_guard)). + +2012-05-11 H.J. Lu + + * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load + thread pointer. + (TLS_IE): Use mov/add instead of movq/addq to load thread + pointer. + (TLS_GD_PREFIX): New. + (TLS_GD): Use it. + +2012-05-11 David S. Miller + + * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__. + * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise. + (_FPU_SETCW): Likewise. + +2012-05-10 H.J. Lu + + * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE + is 32-byte aligned. + +2012-05-11 Andreas Schwab + + [BZ #11837] + * iconvdata/gb18030.c: Update tables. + (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP + characters specially. + (BODY for TO_LOOP): Add encoding of missing ranges. + +2012-05-11 Thomas Schwinge + + [BZ #13673] + * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL. + * sysdeps/mach/hurd/dup3.c: Likewise. + * sysdeps/mach/hurd/readlinkat.c: Likewise. + * sysdeps/powerpc/memmove.c:: Likewise. + +2012-05-10 H.J. Lu + + * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle + R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined. + +2012-05-10 H.J. Lu + + * elf/elf.h (R_X86_64_RELATIVE64): New. + (R_X86_64_NUM): Updated. + * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle + R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64. + (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64. + * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2 + tst-quad1pie tst-quad2pie + (modules-names): Add tst-quadmod1 tst-quadmod2. + ($(objpfx)tst-quad1): New dependency. + ($(objpfx)tst-quad2): Likewise. + ($(objpfx)tst-quad1pie): Likewise. + ($(objpfx)tst-quad2pie): Likewise. + * sysdeps/x86_64/tst-quad1.c: New file. + * sysdeps/x86_64/tst-quad1pie.c: New file. + * sysdeps/x86_64/tst-quad2.c: Likewise. + * sysdeps/x86_64/tst-quad2pie.c: Likewise. + * sysdeps/x86_64/tst-quadmod1.S: Likewise. + * sysdeps/x86_64/tst-quadmod1pie.S: Likewise. + * sysdeps/x86_64/tst-quadmod2.S: Likewise. + * sysdeps/x86_64/tst-quadmod2pie.S: Likewise. + +2012-05-10 Samuel Thibault + + * io/fcntl.h (mode_t, off_t, pid_t): Define types. + (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros. + * streams/stropts.h (t_scalar_t): Define type. + + * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man" + (_PATH_PRESERVE): Set to "/var/lib". + (_PATH_RWHODIR): Set to "/var/spool/rwho". + + * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t + instead of int. + + * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only + if __dir_mkfile succeeded. + + * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before + checking for _hurd_dtablesize. Unlock it right after having + finished _hurd_dtable allocation. + +2012-05-10 Thomas Schwinge + + * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...]. + * sysdeps/mach/hurd/configure: Regenerated. + * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr + special-casing to... + * sysdeps/gnu/configure.in: ... this new file. + * sysdeps/unix/sysv/linux/configure: Regenerated. + * sysdeps/gnu/configure: New generated file. + + * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done + for Linux: use nsec instead of usec, as well as: + [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New + members of type struct timespec. + [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime): + New macros. + (struct stat64): Likewise. + (_STATBUF_ST_NSEC): New macro. + * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that. + + * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use + __strtoul_internal rather than strtoul. + +2012-05-10 Pino Toscano + + * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains, + and reject them. + +2012-05-10 Samuel Thibault + + * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case, + which preserves existing values. + * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise. + +2012-05-10 Pino Toscano + + * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative + TIMEOUT values. Return EINVAL for NFDS values either negative or + greater than FD_SETSIZE. + +2012-05-10 Samuel Thibault + + * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be + allocated, call __vm_protect to finish enabling the existing space, and + pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to + allocate the remainder. + +2012-05-10 Pino Toscano + + * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null + address port. Set ADDR_LEN to 0 when not filling ADDRARG. + +2012-05-10 Samuel Thibault + + * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from + sysdeps/mach/hurd/readlink.c. + + * posix/tst-sysconf.c (posix_options): Only use + _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and + _POSIX_SYNCHRONIZED_IO when they are defined + * sysdeps/mach/hurd/bits/posix_opt.h: + (_POSIX_PRIORITY_SCHEDULING): Undefine macro. + (_XOPEN_REALTIME): Undefine macro. + (_XOPEN_REALTIME_THREADS): Undefine macro. + (_XOPEN_SHM): Undefine macro. + [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define + macro to -1. + [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define + macro to -1. + (_POSIX_ASYNC_IO): Undefine macro. + (_POSIX_PRIORITIZED_IO): Undefine macro. + (_POSIX_SPIN_LOCKS): Define macro to -1. + + * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART, + SA_NODEFER, SA_RESETHAND. + * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define + O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN, + F_DUPFD_CLOEXEC. + +2012-05-10 Thomas Schwinge + + * elf/Makefile (pldd-modules): Define unconditionally. + +2012-05-10 Thomas Schwinge + + * sysdeps/mach/hurd/opendir.c (__opendirat): New function. + +2012-05-10 Samuel Thibault + + * hurd/hurdchdir.c (_hurd_change_directory_port_from_name): + Return ENOENT when name is empty. + * sysdeps/mach/hurd/chroot.c (chroot): Likewise. + +2012-05-10 Thomas Schwinge + + * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro. + + * nss/makedb.c (MAP_POPULATE): If not defined, define to zero. + +2012-05-10 Samuel Thibault + + Fix mlock in all cases except non-readable pages. + * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ + instead of VM_PROT_ALL as parameter to __vm_wire function. + + * sysdeps/mach/hurd/mkdir.c: Include . + (__mkdir): When path is `/', just fail with EEXIST. + * sysdeps/mach/hurd/mkdirat.c: Likewise. + +2012-05-10 Thomas Schwinge + + * nss/makedb.c: Include (for MAX and roundup), and + (for writev). + * nss/nss_db/db-initgroups.c: Include (for ULONG_MAX), + and (for MIN). + +2012-05-10 Pino Toscano + + * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of + REQUESTED_TIME. Properly set the remaining time and return EINTR + if interrupted. + +2012-05-10 Thomas Schwinge + + * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so): + Depend on against $(link-rpcuserlibs). + +2012-05-10 Samuel Thibault + + * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO] + (__libc_stack_end): Do not use attribute_relro. + * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define. + * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end + to libthread-provided value. + * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use + attribute_relro. + +2012-05-10 Thomas Schwinge + + [BZ #3748] + * bits/libc-lock.h (__libc_once_get): New macro. + * sysdeps/mach/bits/libc-lock.h: Likewise. + * sysdeps/mach/hurd/bits/libc-lock.h: Likewise. + * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get + instead of using implementation details. + + * libio/fileops.c: Unconditionally include . + * libio/freopen.c: Likewise. + * libio/freopen64.c: Likewise. + * misc/syslog.c: Likewise. + * nscd/connections.c: Likewise. + * nscd/netgroupcache.c: Likewise. + * sysdeps/posix/getcwd.c: Likewise. + +2012-05-10 Roland McGrath + + * math/w_ilogbf.c: Add #include . + +2012-05-10 Samuel Thibault + + * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit + path instead of returning without unlocking. + + * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for + immediate-write ioctls. + * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments. + +2012-05-10 Thomas Schwinge + + * sysdeps/mach/hurd/i386/init-first.c (init): Use + __builtin_frame_address instead of making assumptions about the + location of the return address relative to DATA. Force early load of + the return address. + (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use + __builtin_frame_address. + + dup3 for GNU Hurd. + * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it. + * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to + implement dup3 and do some further code clean-ups. + * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3. + * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define. + +2012-05-10 Samuel Thibault + + * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED]. + + * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/ + HURD_CRITICAL_END around holding _hurd_dtable_lock. + * sysdeps/mach/hurd/dirfd (dirfd): Likewise. + * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call + HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding + d->port.lock. + + * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp + instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp + when handler == SIG_ERR, not when handler != SIG_ERR. + +2012-05-10 Thomas Schwinge + + * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one. + (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New + definitions. + + accept4 for GNU Hurd. + * include/sys/socket.h (__libc_accept4): New prototype. + * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it + to implement __libc_accept4. + * sysdeps/mach/hurd/accept.c (accept): Reimplement using + __libc_accept4. + * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define. + + * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file. + * sysdeps/mach/hurd/i386/signal-defines.sym: New file. + * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add + signal-defines.sym. + +2012-05-10 Samuel Thibault + + * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros. + +2012-05-10 Thomas Schwinge + + * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise + assertion on O_CLOEXEC flag. + * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC. + * hurd/intern-fd.c: Likewise. + * hurd/port2fd.c: Likewise. + +2012-05-10 Samuel Thibault + + [BZ #3906] + * bits/in.h (IPV6_PKTINFO): Define new macro. + (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO. + +2012-05-09 Adhemerval Zanella + + [BZ #13954] + [BZ #13955] + [BZ #13956] + * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number. + * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise. + * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise. + * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise. + * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise. + * math/libm-test.inc (logb_test) : Additional logb tests. + +2012-05-09 Andreas Schwab + Andreas Jaeger + + * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc. + * configure: Regenerated. + * config.h.in (LINK_OBSOLETE_RPC): New macro. + * config.make.in (link-obsolete-rpc): New substituted variable. + * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from + libc_hidden_nolink and define based on LINK_OBSOLETE_RPC. + * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers. + (shared-only-routines): Don't set it under [link-obsolete-rpc], + so that libc.a contains the symbols. + * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers. + * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc. + * sunrpc/auth_none.c: Likewise. + * sunrpc/auth_unix.c: Likewise. + * sunrpc/authdes_prot.c: Likewise. + * sunrpc/authuxprot.c: Likewise. + * sunrpc/clnt_gen.c: Likewise. + * sunrpc/clnt_perr.c: Likewise. + * sunrpc/clnt_raw.c: Likewise. + * sunrpc/clnt_simp.c: Likewise. + * sunrpc/clnt_tcp.c: Likewise. + * sunrpc/clnt_udp.c: Likewise. + * sunrpc/clnt_unix.c: Likewise. + * sunrpc/des_crypt.c: Likewise. + * sunrpc/des_soft.c: Likewise. + * sunrpc/get_myaddr.c: Likewise. + * sunrpc/key_call.c: Likewise. + * sunrpc/key_prot.c: Likewise. + * sunrpc/netname.c: Likewise. + * sunrpc/pm_getmaps.c: Likewise. + * sunrpc/pm_getport.c: Likewise. + * sunrpc/pmap_clnt.c: Likewise. + * sunrpc/pmap_prot.c: Likewise. + * sunrpc/pmap_prot2.c: Likewise. + * sunrpc/pmap_rmt.c: Likewise. + * sunrpc/publickey.c: Likewise. + * sunrpc/rpc_cmsg.c: Likewise. + * sunrpc/rpc_common.c: Likewise. + * sunrpc/rpc_dtable.c: Likewise. + * sunrpc/rpc_prot.c: Likewise. + * sunrpc/rpc_thread.c: Likewise. + * sunrpc/rtime.c: Likewise. + * sunrpc/svc.c: Likewise. + * sunrpc/svc_auth.c: Likewise. + * sunrpc/svc_raw.c: Likewise. + * sunrpc/svc_run.c: Likewise. + * sunrpc/svc_tcp.c: Likewise. + * sunrpc/svc_udp.c: Likewise. + * sunrpc/svc_unix.c: Likewise. + * sunrpc/svcauth_des.c: Likewise. + * sunrpc/xcrypt.c: Likewise. + * sunrpc/xdr.c: Likewise. + * sunrpc/xdr_array.c: Likewise. + * sunrpc/xdr_float.c: Likewise. + * sunrpc/xdr_intXX_t.c: Likewise. + * sunrpc/xdr_mem.c: Likewise. + * sunrpc/xdr_rec.c: Likewise. + * sunrpc/xdr_ref.c: Likewise. + * sunrpc/xdr_sizeof.c: Likewise. + * sunrpc/xdr_stdio.c: Likewise. + +2012-05-10 Roland McGrath + + * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last + change. Update copyright years. + +2012-05-10 Joseph Myers + + * include/stdc-predef.h (__STDC_NO_THREADS__): Define. + +2012-05-10 Maxim Kuvyrkov + Joseph Myers + Paul Pluzhnikov + + [BZ #14012] + * sunrpc/Makefile [cross-compiling] (headers): Enable additions + requiring rpcgen. + [cross-compiling] (extra-libs): Likewise. + [cross-compiling] (extra-libs-others): Likewise. + [cross-compiling] (librpcsvc-routines): Likewise. + [cross-compiling] (librpcsvc-inhibit-o): Likewise. + [cross-compiling] (omit-deps): Likewise. + (sunrpc-CPPFLAGS): New variable. + (CPPFLAGS): Define using $(sunrpc-CPPFLAGS). + (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS). + (cross-rpcgen-objs): New variable. + (extra-objs): Append $(cross-rpcgen-objs). + ($(cross-rpcgen-objs)): New rule. + ($(objpfx)cross-rpcgen): Likewise. + (rpcgen-cmd): Define to use $(built-program-file). Expand + comment. + ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen. + ($(objpfx)x%.stmp): Likewise. + * sunrpc/proto.h [IS_IN_build] (_): Define. + [IS_IN_build] (_libc_intl_domainname): Likewise. + +2012-05-10 H.J. Lu + + * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]: + Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64 + and R_X86_64_TPOFF64. + +2012-05-10 Joseph Myers + + * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from + sysdeps/unix/sysv/syscalls.list. + (stime): Likewise. + (utime): Likewise. + * sysdeps/unix/sysv/syscalls.list: Remove file. + +2012-05-10 Paul Eggert + + [BZ #3440] + * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME) + (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER) + (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT) + (__LC_IDENTIFICATION): Make these macros useful in #if + expressions, as required by C99. + +2012-05-10 Andreas Schwab + + * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add + $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules + after this. + +2012-05-09 H.J. Lu + + * stdlib/longlong.h: Updated from GCC. + +2012-05-09 Andreas Jaeger + + * nscd/nscd.c (run_modes): Make named enum, reorder so that + default is first entry. + (run_mode): Set type. + (main): Remove informal message about syslog. + (options): Fix typo. + + [BZ #14053] + * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile + to asm. + (lrint): Likewise. + (llrintf): Likewise. + (llrint): Likewise. + (rint): Likewise. + (rintf): Likewise. + (nearbyint): Likewise. + (nearbyintf): Likewise. + +2012-05-09 Andreas Jaeger + Pedro Alves + + * nscd/nscd.c (run_mode): Use enum. + (main): Cleanup coding style issue. + +2012-05-09 Alexandre Oliva + Andreas Jaeger + + * nscd/nscd.c (go_background): Replaced with... + (run_mode): ... this. + (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add. + (options): Add -F --foreground. + (main): Implement it. + (parse_opt): Parse it. + +2012-05-09 Andreas Jaeger + + [BZ #14083] + * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) && + !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid + -Wconversion warning. + (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]: + Likewise. + +2012-05-09 Joseph Myers + + * conform/data/locale.h-data (NULL): Use macro-constant. Require + == 0. + (LC_ALL): Use macro-int-constant. + (LC_COLLATE): Likewise. + (LC_CTYPE): Likewise. + (LC_MESSAGES): Likewise. + (LC_MONETARY): Likewise. + (LC_NUMERIC): Likewise. + (LC_TIME): Likewise. + [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require. + (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*. + [ISO || ISO99 || ISO11] (*_t): Do not allow. + * conform/data/math.h-data (HUGE_VAL): Use macro-constant. + Specify type. + [C99-based standards] (float_t): Expect type. + [C99-based standards] (double_t): Expect type. + [C99-based standards] (HUGE_VALF): Use macro-constant. Specify + type. + [C99-based standards] (HUGE_VALL): Likewise. + [C99-based standards] (INFINITY): Likewise. + [C99-based standards] (NAN): Likewise. + [C99-based standards] (FP_INFINITE): Use macro-int-constant. + [C99-based standards] (FP_NAN): Likewise. + [C99-based standards] (FP_NORMAL): Likewise. + [C99-based standards] (FP_SUBNORMAL): Likewise. + [C99-based standards] (FP_ZERO): Likewise. + [C99-based standards] (FP_FAST_FMA): Use + optional-macro-int-constant. Specify type. Require == 1. + [C99-based standards] (FP_FAST_FMAF): Likewise. + [C99-based standards] (FP_FAST_FMAL): Likewise. + [C99-based standards] (FP_ILOGB0): Use macro-int-constant. + [C99-based standards] (FP_ILOGBNAN): Likewise. + [C99-based standards] (MATH_ERRNO): Use macro-int-constant. + Specify type. + [C99-based standards] (MATH_ERREXCEPT): Likewise. + [C99-based standards] (math_errhandling): Specify type. + [ISO99 || ISO11] (signgam): Do not allow. + [non-C99-based standards] (copysignf): Do not allow. + [non-C99-based standards] (exp2f): Likewise. + [non-C99-based standards] (log2f): Likewise. + [non-C99-based standards] (modff): Allow. + [non-C99-based standards] (erff): Do not allow. + [non-C99-based standards] (erfcf): Likewise. + [non-C99-based standards] (gammaf): Likewise. + [non-C99-based standards] (hypotf): Likewise. + [non-C99-based standards] (j0f): Likewise. + [non-C99-based standards] (j1f): Likewise. + [non-C99-based standards] (jnf): Likewise. + [non-C99-based standards] (lgammaf): Likewise. + [non-C99-based standards] (tgammaf): Likewise. + [non-C99-based standards] (y0f): Likewise. + [non-C99-based standards] (y1f): Likewise. + [non-C99-based standards] (ynf): Likewise. + [non-C99-based standards] (isnanf): Likewise. + [non-C99-based standards] (acoshf): Likewise. + [non-C99-based standards] (asinhf): Likewise. + [non-C99-based standards] (atanhf): Likewise. + [non-C99-based standards] (cbrtf): Likewise. + [non-C99-based standards] (expm1f): Likewise. + [non-C99-based standards] (ilogbf): Likewise. + [non-C99-based standards] (log1pf): Likewise. + [non-C99-based standards] (logbf): Likewise. + [non-C99-based standards] (nextafterf): Likewise. + [non-C99-based standards] (remainderf): Likewise. + [non-C99-based standards] (rintf): Likewise. + [non-C99-based standards] (scalbf): Likewise. + [non-C99-based standards] (copysignl): Likewise. + [non-C99-based standards] (exp2l): Likewise. + [non-C99-based standards] (log2l): Likewise. + [non-C99-based standards] (modfl): Allow. + [non-C99-based standards] (erfl): Do not allow. + [non-C99-based standards] (erfcl): Likewise. + [non-C99-based standards] (gammal): Likewise. + [non-C99-based standards] (hypotl): Likewise. + [non-C99-based standards] (j0l): Likewise. + [non-C99-based standards] (j1l): Likewise. + [non-C99-based standards] (jnl): Likewise. + [non-C99-based standards] (lgammal): Likewise. + [non-C99-based standards] (tgammal): Likewise. + [non-C99-based standards] (y0l): Likewise. + [non-C99-based standards] (y1l): Likewise. + [non-C99-based standards] (ynl): Likewise. + [non-C99-based standards] (isnanl): Likewise. + [non-C99-based standards] (acoshl): Likewise. + [non-C99-based standards] (asinhl): Likewise. + [non-C99-based standards] (atanhl): Likewise. + [non-C99-based standards] (cbrtl): Likewise. + [non-C99-based standards] (expm1l): Likewise. + [non-C99-based standards] (ilogbl): Likewise. + [non-C99-based standards] (log1pl): Likewise. + [non-C99-based standards] (logbl): Likewise. + [non-C99-based standards] (nextafterl): Likewise. + [non-C99-based standards] (remainderl): Likewise. + [non-C99-based standards] (rintl): Likewise. + [non-C99-based standards] (scalbl): Likewise. + [ISO || ISO99 || ISO11] (*_t): Do not allow. + [non-C99-based standards] (FP_*): Do not allow. + [C99-based standards] (FP_*): Change to + FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*. + * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not + allow. + * conform/data/signal.h-data (SIG_DFL): Use macro-constant. + (SIG_ERR): Likewise. + [X/Open-based standards] (SIG_HOLD): Likewise. + (SIG_IGN): Likewise. + (SIGABRT): Use macro-int-constant. Specify type. Require + positive value. + (SIGFPE): Likewise. + (SIGILL): Likewise. + (SIGINT): Likewise. + (SIGSEGV): Likewise. + (SIGTER): Likewise. + [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise. + [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise. + [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise. + [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise. + [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise. + [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise. + [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise. + [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise. + [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise. + [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise. + [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise. + [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise. + [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise. + [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise. + [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise. + [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise. + [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise. + [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise. + [X/Open-based standards] (SIGTRAP): Likewise. + [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise. + [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise. + [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise. + [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise. + * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not + allow. + +2012-05-08 Ian Wienand + + [BZ #14080] + * time/tzset.c (__tzset_parse_tz): Update default rules for + daylight time changes in the Energy Policy Act of 2005. + +2012-05-09 Andreas Jaeger + + [BZ #13983] + * elf/ldconfig.c (parse_conf): Change string to make clear that + ldconfig only issued a warning if ld.so.conf does not exist. + +2012-05-08 David S. Miller + + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use + movxtod instead of popping the value on the stack. + + * sysdeps/sparc/fpu/libm-test-ulps: Update. + +2012-05-08 Carlos O'Donell + + * config.h.in: Add HAVE_ARM_PCS_VFP. + +2012-05-08 Roland Mc Grath + + [BZ #13979] + * include/features.h: Warn if user requests __FORTIFY_SOURCE + checking but the checks are disabled for any reason. + +2012-05-08 H.J. Lu + + * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX) + and ELF64_R_TYPE with ELFW(R_TYPE). + +2012-05-08 Joseph Myers + + * sysdeps/unix/sysv/syscalls.list (pause): Remove. + (ulimit): Likewise. + + * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove. + (settimeofday): Likewise. + +2012-05-08 Mike Frysinger + + * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add + a struct th_u2 inside the union, and move tu_block/tu_code into + a new th_u3 union of tu_block/tu_code inside of that. Move + th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to + tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same. + (th_block): Change to th_u1.th_u2.th_u3.tu_block. + (th_code): Change to th_u1.th_u2.th_u3.tu_code. + (th_stuff): Change to th_u1.tu_stuff. + (th_data): Define. + (th_msg): Change to th_u1.th_u2.tu_data. + +2012-05-07 David S. Miller + + * sysdeps/sparc/fpu/libm-test-ulps: Update. + + [BZ #14074] + * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro. + (SETUP_PIC_REG): Use it. + (SETUP_PIC_REG_LEAF): Use it. + +2012-05-07 Joseph Myers + + [BZ #13885] + [BZ #13923] + * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on + USE_AS_EXPM1L. + (EXPL_FINITE): Likewise. + (FLDLOG): Likewise. + (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l. + * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include + e_expl.S. + * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on + USE_AS_EXPM1L. + (EXPL_FINITE): Likewise. + (FLDLOG): Likewise. + (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l. + * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include + e_expl.S. + * math/libm-test.inc (expm1_test): Add more tests. Do not disable + test of -max_value argument for long double. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2012-05-06 David S. Miller + + * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to + quad soft-float symbols whose references which are compiler + generated. + * scripts/data/localplt-sparc64-linux-gnu.data: Likewise. + +2012-05-06 Joseph Myers + + [BZ #13884] + [BZ #13914] + * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on + USE_AS_EXP10L. + (EXPL_FINITE): Likewise. + (FLDLOG): Likewise. + (c0): Likewise. + (c1): Likewise. + (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro. + Adjust comments for base varying. + (__expl_finite): Change alias to EXPL_FINITE. + * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include + e_expl.S. + * sysdeps/ieee754/dbl-64/e_exp10.c: New file. + * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise. + * sysdeps/x86_64/fpu/e_exp10l.S: Likewise. + * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on + USE_AS_EXP10L. + (EXPL_FINITE): Likewise. + (FLDLOG): Likewise. + (c0): Likewise. + (c1): Likewise. + (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro. + Adjust comments for base varying. + (__expl_finite): Change alias to EXPL_FINITE. + * math/libm-test.inc (exp10_test): Add more tests. Do not disable + tests for bugs. + * sysdeps/x86_64/fpu/libm-test-ulps: Update. + + [BZ #14064] + * math/libm-test.inc (check_float_internal): Correct ulp + calculation for subnormal expected results. + +2012-05-06 Andreas Jaeger + + * Makeconfig (+math-flags): New, set to -frounding-math. + (+cflags): Add +math-flags so that all of glibc gets compiled with + it. + + * sysdeps/x86_64/fpu/libm-test-ulps: Updated. + +2012-05-05 Joseph Myers + + * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]: + Disable one test. + + [BZ #13787] + [BZ #13922] + [BZ #14036] + * sysdeps/i386/fpu/e_expl.S (csat): New constant. + (__ieee754_expl): Allow for and saturate large arguments. + * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable. + (u_threshold): Likewise. + (__exp): Call __ieee754_exp before checking for overflow and + underflow. + * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable. + (u_threshold): Likewise. + (__expf): Call __ieee754_expf before checking for overflow and + underflow. + * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable. + (u_threshold): Likewise. + (__expl): Call __ieee754_expl before checking for overflow and + underflow. + * sysdeps/x86_64/fpu/e_expl.S (csat): New constant. + (__ieee754_expl): Allow for and saturate large arguments. + * math/libm-test.inc (exp_test): Add another test. Do not allow + missing overflow exception on overflow. + (expm1_test): Do not allow missing overflow exception on overflow. + + * sysdeps/i386/fpu/e_expl.c: Move to ... + * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly + rather than using inline asm. + * sysdeps/x86_64/fpu/e_expl.c: Remove file. + * sysdeps/x86_64/fpu/e_expl.S: Copy from + sysdeps/i386/fpu/e_expl.S, adjusted for x86_64. + + * sysdeps/unix/sysv/syscalls.list (ftime): Remove. + (nice): Likewise. + (poll): Likewise. + (signal): Likewise. + (time): Likewise. + (times): Likewise. + +2012-05-04 Joseph Myers + + * sysdeps/unix/syscalls.list (adjtime): Add entry from + sysdeps/unix/common/syscalls.list. + (fchmod): Likewise. + (fchown): Likewise. + (ftruncate): Likewise. + (getrusage): Likewise. + (gettimeofday): Likewise. + (setpgid): Likewise. + (setregid): Likewise. + (setreuid): Likewise. + (sigaction): Likewise. + (truncate): Likewise. + (vhangup): Likewise. + * sysdeps/unix/common/syscalls.list: Remove file. + * sysdeps/unix/bsd/Implies: Don't include unix/common. + * sysdeps/unix/sysv/linux/Implies: Likewise. + +2012-05-04 H.J. Lu + + * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ... + * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here. + * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: + Moved to ... + * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist: + Here. + * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved + to ... + * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here. + * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved + to ... + * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here. + * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved + to ... + * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here. + * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved + to ... + * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here. + * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved + to ... + * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here. + * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved + to ... + * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here. + * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved + to ... + * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: + Here. + * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved + to ... + * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: + Here. + * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved + to ... + * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here. + * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: + Moved to ... + * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: + Here. + * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved + to ... + * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here. + +2012-05-04 Joseph Myers + + * sysdeps/unix/common/bits/dirent.h: Remove file. + * sysdeps/unix/common/bits/fcntl.h: Likewise. + + * sysdeps/unix/bsd/bits/dirent.h: Remove file. + * sysdeps/unix/bsd/bits/fcntl.h: Likewise. + * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise. + * sysdeps/unix/bsd/isatty.c: Likewise. + * sysdeps/unix/bsd/tcdrain.c: Likewise. + * sysdeps/unix/bsd/tcgetattr.c: Likewise. + * sysdeps/unix/bsd/tcsetattr.c: Likewise. + +2012-05-04 Adhemerval Zanella + + [BZ #13563] + * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix + long double comparison inaccuracies. + * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise. + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2012-05-04 Andreas Schwab + + * sysdeps/unix/make-syscalls.sh: Fix check for version aliases. + * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change. + +2012-05-04 Joseph Myers + + [BZ #14049] + * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing + nonzero digits before rounding a hex value. + * stdlib/tst-strtod.c (tests): Add another test. + +2012-05-03 Andreas Krebbel + + * sysdeps/s390/fpu/libm-test-ulps: Update. + +2012-05-03 Andreas Jaeger + + * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair + does not get optimized out. + (malloc_opt_barrier): New. + +2012-05-03 Andreas Jaeger + Roland McGrath + + * Makerules (.PRECIOUS): Add %.symlist pattern to prevent + intermediate file deletion. + (generated): Add .symlist files. + +2012-05-03 Joseph Myers + + [BZ #13775] + * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk): + Redirect under this condition. + [__USE_XOPEN2K8] (__vdprintf_chk): Likewise. + [__USE_GNU] (__dprintf_chk): Not under this condition. + [__USE_GNU] (__vdprintf_chk): Likewise. + * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare + under this condition. + [__USE_XOPEN2K8] (__vdprintf_chk): Likewise. + [__USE_XOPEN2K8] (dprintf): Define under this condition. + [__USE_XOPEN2K8] (vdprintf): Likewise. + [__USE_GNU] (__dprintf_chk): Not under this condition. + [__USE_GNU] (__vdprintf_chk): Likewise. + [__USE_GNU] (dprintf): Likewise. + [__USE_GNU] (vdprintf): Likewise. + +2012-05-03 Roland McGrath + + * elf/Makefile (common-generated): Set this instead of generated for + .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the + $(all-built-dso)-derived lists. + +2012-05-03 Andreas Jaeger + + * sysdeps/i386/fpu/libm-test-ulps: Update. + + * FAQ: Removed. + * FAQ.in: Likewise. + * scripts/gen-FAQ.pl: Likewise. + * manual/install.texi (Installation): Point to online location of + FAQ. + * Makefile (files-for-dist): Remove FAQ. + (FAQ): Remove. + +2012-05-02 Allan McRae + + * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed). + (LDFLAGS-reldepmod5.so): Likewise. + (LDFLAGS-reldep6mod1.so): Likewise. + (LDFLAGS-reldep6mod4.so): Likewise. + (LDFLAGS-reldep8mod3.so): Likewise. + (LDFLAGS-unload4mod1.so): Likewise. + (LDFLAGS-unload4mod2.so): Likewise. + (LDFLAGS-tst-initorder): Likewise. + (LDFLAGS-tst-initordera2.so): Likewise. + (LDFLAGS-tst-initordera3.so): Likewise. + (LDFLAGS-tst-initordera4.so): Likewise. + (LDFLAGS-tst-initorderb2.so): Likewise. + (LDFLAGS-noload): Likewise. + (LDFLAGS-next): Likewise. + (LDFLAGS-order2mod1.so): Likewise. + (LDFLAGS-order2mod2.so): Likewise. + (LDFLAGS-tst-initorder2): Likewise. + (LDFLAGS-tst-initorder2a.so): Likewise. + (LDFLAGS-tst-initorder2b.so): Likewise. + (LDFLAGS-tst-initorder2c.so): Likewise. + * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise. + +2012-05-02 David S. Miller + + * sysdeps/sparc/fpu/libm-test-ulps: Update. + +2012-05-02 Paul Pluzhnikov + + [BZ #14055] + * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check. + +2012-05-02 Andreas Jaeger + + * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math + since we manipulate rounding mode. + (CPPFLAGS-test-idouble.c): Likewise. + (CPPFLAGS-test-ifloat.c): Likewise. + (CFLAGS-test-ldouble.c): Likewise. + (CFLAGS-test-double.c): Likewise. + (CFLAGS-test-float.c): Likewise. + (CFLAGS-test-misc.c): Likewise. + (CFLAGS-test-test-fenv.c): Likewise. + +2012-05-02 Adhemerval Zanella + + [BZ #2550] + [BZ #2570] + * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point + comparisons to determine direction to adjust input. + +2012-05-01 Roland McGrath + + * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's + output to the target. + + * scripts/localplt.awk: New file. + * elf/Makefile ($(objpfx)check-localplt): Target removed. + (check-localplt-CFLAGS): Variable removed. + ($(all-built-dso:=.jmprel)): New static pattern rule. + (generated): Add those targets. + (localplt-built-dso): New variable. + ($(objpfx)check-localplt.out): Use the script on the .jmprel files. + + * elf/check-localplt.c: File removed. + + * scripts/check-execstack.awk: New file. + * elf/Makefile ($(objpfx)check-execstack): Target removed. + (check-execstack-CFLAGS): Variable removed. + ($(objpfx)check-execstack.h): Target removed. + ($(objpfx)execstack-default): New target. + (generated): Add that instead of check-execstack.h. + ($(all-built-dso:=.phdr)): New static pattern rule. + (generated): Add those targets. + * elf/check-execstack.c: File removed. + + * scripts/check-textrel.awk: New file. + * elf/Makefile ($(objpfx)check-textrel): Target removed. + (check-textrel-CFLAGS): Variable removed. + (all-built-dso): Use := to define.o + ($(all-built-dso:=.dyn)): New static pattern rule. + (generated): Add those targets. + ($(objpfx)check-textrel.out): Use the script on the .dyn files. + * config.make.in (READELF): New substituted variable. + * elf/check-textrel.c: File removed. + +2012-05-01 Joseph Myers + + * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not + allow. + * conform/data/ctype.h-data [C99-based standards] (isblank): + Expect function. + (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*. + (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*. + [ISO || ISO99 || ISO11] (*_t): Do not allow. + * conform/data/errno.h-data (EDOM): Use macro-int-constant. + Specify type. Require positive value. + (EILSEQ): Likewise. + (ERANGE): Likewise. + [ISO || POSIX] (EILSEQ): Do not expect. + [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant. + Specify type. Require positive value. + [!ISO && !ISO99 && !ISO11] (EACCES): Likewise. + [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise. + [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise. + [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise. + [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise. + [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise. + [!ISO && !ISO99 && !ISO11] (EBADF): Likewise. + [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise. + [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise. + [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise. + [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise. + [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise. + [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise. + [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise. + [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise. + [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise. + [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise. + [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise. + [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise. + [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise. + [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise. + [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise. + [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise. + [!ISO && !ISO99 && !ISO11] (EINTR): Likewise. + [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise. + [!ISO && !ISO99 && !ISO11] (EIO): Likewise. + [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise. + [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise. + [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise. + [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise. + [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise. + [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise. + [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise. + [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise. + [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise. + [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise. + [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise. + [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise. + [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise. + [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise. + [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise. + [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise. + [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise. + [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise. + [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise. + [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise. + [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise. + [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise. + [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise. + [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise. + [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise. + [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise. + [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise. + [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise. + [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise. + [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise. + [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise. + [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise. + [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise. + [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise. + [!ISO && !ISO99 && !ISO11] (EPERM): Likewise. + [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise. + [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise. + [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise. + [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise. + [!ISO && !ISO99 && !ISO11] (EROFS): Likewise. + [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise. + [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise. + [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise. + [!ISO && !ISO99 && !ISO11] (ETIME): Likewise. + [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise. + [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise. + [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise. + [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise. + [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise. + [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise. + * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant. + Require >= 2. + (FLT_ROUNDS): Expect as macro, not constant. + (FLT_MANT_DIG): Use macro-int-constant. + (DBL_MANT_DIG): Likewise. + (LDBL_MANT_DIG): Likewise. + (FLT_DIG): Likewise. + (DBL_DIG): Likewise. + (LDBL_DIG): Likewise. + (FLT_MIN_EXP): Use macro-int-constant. Require < 0. + (DBL_MIN_EXP): Likewise. + (LDBL_MIN_EXP): Likewise. + (FLT_MAX_EXP): Use macro-int-constant. + (DBL_MAX_EXP): Likewise. + (LDBL_MAX_EXP): Likewise. + (FLT_MAX_10_EXP): Likewise. + (DBL_MAX_10_EXP): Likewise. + (LDBL_MAX_10_EXP): Likewise. + (FLT_MAX): Use macro-constant. + (DBL_MAX): Likewise. + (LDBL_MAX): Likewise. + (FLT_EPSILON): Use macro-constant. Give upper bound. + (DBL_EPSILON): Likewise. + (LDBL_EPSILON): Likewise. + (FLT_MIN): Likewise. + (DBL_MIN): Likewise. + (LDBL_MIN): Likewise. + [C99-based standards] (DECIMAL_DIG): Use macro-int-constant. + [C99-based standards] (FLT_EVAL_METHOD): Likewise. + [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant. + [ISO11] (FLT_HAS_SUBNORM): Likewise. + [ISO11] (LDBL_HAS_SUBNORM): Likewise. + [ISO11] (DBL_DECIMAL_DIG): Likewise. + [ISO11] (FLT_DECIMAL_DIG): Likewise. + [ISO11] (LDBL_DECIMAL_DIG): Likewise. + [ISO11] (DBL_TRUE_MIN): Use macro-constant. + [ISO11] (FLT_TRUE_MIN): Likewise. + [ISO11] (LDBL_TRUE_MIN): Likewise. + [ISO || ISO99 || ISO11] (*_t): Do not allow. + * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant. + (SCHAR_MIN): Use macro-int-constant. Specify type. + (SCHAR_MAX): Likewise. + (UCHAR_MAX): Likewise. + (CHAR_MIN): Likewise. + (CHAR_MAX): Likewise. + (MB_LEN_MAX): Use macro-int-constant. + (SHRT_MIN): Use macro-int-constant. Specify type. + (SHRT_MAX): Likewise. + (USHRT_MAX): Likewise. + (INT_MAX): Likewise. + (INT_MIN): Use macro-int-constant. Specify type. Make upper + bound negative. + (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower + bound with "U". + (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower + bound with "L". + (LONG_MIN): Use macro-int-constant. Specify type. Make upper + bound negative. Suffix upper bound with "L". + (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower + bound with "UL". + [C99-based standards] (LLONG_MIN): Use macro-int-constant. + Specify type. + [C99-based standards] (LLONG_MAX): Likewise. + [C99-based standards] (ULLONG_MAX): Likewise. + * conform/data/stddef.h-data (NULL): Use macro-constant. Require + == 0. + [ISO11] (max_align_t): Require type. + [ISO || ISO99 || ISO11] (*_t): Do not allow. + + * conform/conformtest.pl ($CFLAGS_namespace): Define separately + from $CFLAGS, without defining away __attribute__ calls. + (checknamespace): Use $CFLAGS_namespace. + + * conform/conformtest.pl (@keywords): Only include C99 keywords + for standards based on C99 or C11. + + * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]: + Disable tests. + * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 || + UNIX98]: Likewise. + + * conform/conformtest.pl: Handle "macro-int-constant" and test for + usability of symbols in #if. + + * conform/conformtest.pl: If macro or constant types start + "promoted:", expect the symbol to be of the following type + promoted by the integer promotions. + + * conform/conformtest.pl: Parse all "constant" and "macro" lines + in one place. Also handle "macro-constant". + + * conform/conformtest.pl: Only accept expected macro values with + "==". Parse all "macro" lines in one place. + * conform/data/stdlib.h-data: Use "==" form on "macro" lines. + + * conform/conformtest.pl: Handle braced types on "constant" lines + instead of handling "typed-constant". + * conform/data/signal.h-data: Use "constant" instead of + "typed-constant". + + * conform/conformtest.pl: Handle "optional-" at start of lines in + one place rather than duplicating several cases. Handle each + format of "macro" line with initial "optional-". + + * conform/conformtest.pl: Only accept expected constant or + optional-constant values with "==". Parse all "constant" lines in + one place. Parse all "optional-constant" lines in one place. + * conform/data/cpio.h-data: Use "==" form on "constant" lines. + * conform/data/fmtmsg.h-data: Likewise. + * conform/data/netinet/in.h-data: Likewise. + * conform/data/tar.h-data: Likewise. + * conform/data/limits.h-data: Use "==" form on "constant" and + "optional-constant" lines. + + * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98. + Use -std=c99 for XOPEN2K. + (@knownproblems): Remove. + (newtoken): Don't check %isknown. + + * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify): + Do not expect macro. + [XPG3 || XPG4 || UNIX98] (isfinite): Likewise. + [XPG3 || XPG4 || UNIX98] (isinf): Likewise. + [XPG3 || XPG4 || UNIX98] (isnan): Likewise. + [XPG3 || XPG4 || UNIX98] (isnormal): Likewise. + [XPG3 || XPG4 || UNIX98] (signbit): Likewise. + [XPG3 || XPG4 || UNIX98] (isgreater): Likewise. + [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise. + [XPG3 || XPG4 || UNIX98] (isless): Likewise. + [XPG3 || XPG4 || UNIX98] (islessequal): Likewise. + [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise. + [XPG3 || XPG4 || UNIX98] (isunordered): Likewise. + [XPG3 || XPG4 || UNIX98] (isnan): Expect as function. + [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect. + [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise. + [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise. + [XPG3 || XPG4 || UNIX98] (NAN): Likewise. + [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise. + [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise. + [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise. + [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise. + [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise. + [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise. + [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise. + [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise. + [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise. + [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise. + [XPG3 || XPG4 || UNIX98] (copysign): Likewise. + [XPG3 || XPG4 || UNIX98] (exp2): Likewise. + [XPG3 || XPG4 || UNIX98] (log2): Likewise. + [XPG3 || XPG4 || UNIX98] (tgama): Likewise. + [XPG3] (acosh): Likewise. + [XPG3] (asinh): Likewise. + [XPG3] (atanh): Likewise. + [XPG3] (cbrt): Likewise. + [XPG3] (expm1): Likewise. + [XPG3] (ilogb): Likewise. + [XPG3] (log1p): Likewise. + [XPG3] (logb): Likewise. + [XPG3] (nextafter): Likewise. + [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise. + [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise. + [XPG3] (remainder): Likewise. + [XPG3] (rint): Likewise. + [XPG3 || XPG4 || UNIX98] (round): Likewise. + [XPG3 || XPG4 || UNIX98] (trunc): Likewise. + [XPG3 || XPG4 || UNIX98] (lrint): Likewise. + [XPG3 || XPG4 || UNIX98] (llrint): Likewise. + [XPG3 || XPG4 || UNIX98] (lround): Likewise. + [XPG3 || XPG4 || UNIX98] (llround): Likewise. + [XPG3 || XPG4 || UNIX98] (remquo): Likewise. + [UNIX98 || XOPEN2K] (scalb): Expect. + [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect. + [XPG3 || XPG4 || UNIX98] (scalbln): Likewise. + [XPG3 || XPG4 || UNIX98] (fdim): Likewise. + [XPG3 || XPG4 || UNIX98] (fmax): Likewise. + [XPG3 || XPG4 || UNIX98] (fmin): Likewise. + [XPG3 || XPG4 || UNIX98] (fma): Likewise. + [XPG3 || XPG4 || UNIX98] (nan): Likewise. + [XPG3 || XPG4 || UNIX98] (acosf): Likewise. + [XPG3 || XPG4 || UNIX98] (asinf): Likewise. + [XPG3 || XPG4 || UNIX98] (atanf): Likewise. + [XPG3 || XPG4 || UNIX98] (atan2f): Likewise. + [XPG3 || XPG4 || UNIX98] (ceilf): Likewise. + [XPG3 || XPG4 || UNIX98] (copysignf): Likewise. + [XPG3 || XPG4 || UNIX98] (cosf): Likewise. + [XPG3 || XPG4 || UNIX98] (coshf): Likewise. + [XPG3 || XPG4 || UNIX98] (expf): Likewise. + [XPG3 || XPG4 || UNIX98] (exp2f): Likewise. + [XPG3 || XPG4 || UNIX98] (fabsf): Likewise. + [XPG3 || XPG4 || UNIX98] (floorf): Likewise. + [XPG3 || XPG4 || UNIX98] (fmodf): Likewise. + [XPG3 || XPG4 || UNIX98] (frexpf): Likewise. + [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise. + [XPG3 || XPG4 || UNIX98] (logf): Likewise. + [XPG3 || XPG4 || UNIX98] (log10f): Likewise. + [XPG3 || XPG4 || UNIX98] (log2f): Likewise. + [XPG3 || XPG4 || UNIX98] (modff): Likewise. + [XPG3 || XPG4 || UNIX98] (powf): Likewise. + [XPG3 || XPG4 || UNIX98] (sinf): Likewise. + [XPG3 || XPG4 || UNIX98] (sinhf): Likewise. + [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise. + [XPG3 || XPG4 || UNIX98] (tanf): Likewise. + [XPG3 || XPG4 || UNIX98] (tanhf): Likewise. + [XPG3 || XPG4 || UNIX98] (erff): Likewise. + [XPG3 || XPG4 || UNIX98] (erfcf): Likewise. + [XPG3 || XPG4 || UNIX98] (gammaf): Likewise. + [XPG3 || XPG4 || UNIX98] (hypotf): Likewise. + [XPG3 || XPG4 || UNIX98] (j0f): Likewise. + [XPG3 || XPG4 || UNIX98] (j1f): Likewise. + [XPG3 || XPG4 || UNIX98] (jnf): Likewise. + [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise. + [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise. + [XPG3 || XPG4 || UNIX98] (y0f): Likewise. + [XPG3 || XPG4 || UNIX98] (y1f): Likewise. + [XPG3 || XPG4 || UNIX98] (ynf): Likewise. + [XPG3 || XPG4 || UNIX98] (acoshf): Likewise. + [XPG3 || XPG4 || UNIX98] (asinhf): Likewise. + [XPG3 || XPG4 || UNIX98] (atanhf): Likewise. + [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise. + [XPG3 || XPG4 || UNIX98] (expm1f): Likewise. + [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise. + [XPG3 || XPG4 || UNIX98] (log1pf): Likewise. + [XPG3 || XPG4 || UNIX98] (logbf): Likewise. + [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise. + [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise. + [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise. + [XPG3 || XPG4 || UNIX98] (remainderf): Likewise. + [XPG3 || XPG4 || UNIX98] (rintf): Likewise. + [XPG3 || XPG4 || UNIX98] (roundf): Likewise. + [XPG3 || XPG4 || UNIX98] (truncf): Likewise. + [XPG3 || XPG4 || UNIX98] (lrintf): Likewise. + [XPG3 || XPG4 || UNIX98] (llrintf): Likewise. + [XPG3 || XPG4 || UNIX98] (lroundf): Likewise. + [XPG3 || XPG4 || UNIX98] (llroundf): Likewise. + [XPG3 || XPG4 || UNIX98] (remquof): Likewise. + [XPG3 || XPG4 || UNIX98] (scalbf): Likewise. + [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise. + [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise. + [XPG3 || XPG4 || UNIX98] (fdimf): Likewise. + [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise. + [XPG3 || XPG4 || UNIX98] (fminf): Likewise. + [XPG3 || XPG4 || UNIX98] (fmaf): Likewise. + [XPG3 || XPG4 || UNIX98] (nanf): Likewise. + [XPG3 || XPG4 || UNIX98] (acosl): Likewise. + [XPG3 || XPG4 || UNIX98] (asinl): Likewise. + [XPG3 || XPG4 || UNIX98] (atanl): Likewise. + [XPG3 || XPG4 || UNIX98] (atan2l): Likewise. + [XPG3 || XPG4 || UNIX98] (ceill): Likewise. + [XPG3 || XPG4 || UNIX98] (copysignl): Likewise. + [XPG3 || XPG4 || UNIX98] (cosl): Likewise. + [XPG3 || XPG4 || UNIX98] (coshl): Likewise. + [XPG3 || XPG4 || UNIX98] (expl): Likewise. + [XPG3 || XPG4 || UNIX98] (exp2l): Likewise. + [XPG3 || XPG4 || UNIX98] (fabsl): Likewise. + [XPG3 || XPG4 || UNIX98] (floorl): Likewise. + [XPG3 || XPG4 || UNIX98] (fmodl): Likewise. + [XPG3 || XPG4 || UNIX98] (frexpl): Likewise. + [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise. + [XPG3 || XPG4 || UNIX98] (logl): Likewise. + [XPG3 || XPG4 || UNIX98] (log10l): Likewise. + [XPG3 || XPG4 || UNIX98] (log2l): Likewise. + [XPG3 || XPG4 || UNIX98] (modfl): Likewise. + [XPG3 || XPG4 || UNIX98] (powl): Likewise. + [XPG3 || XPG4 || UNIX98] (sinl): Likewise. + [XPG3 || XPG4 || UNIX98] (sinhl): Likewise. + [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise. + [XPG3 || XPG4 || UNIX98] (tanl): Likewise. + [XPG3 || XPG4 || UNIX98] (tanhl): Likewise. + [XPG3 || XPG4 || UNIX98] (erfl): Likewise. + [XPG3 || XPG4 || UNIX98] (erfcl): Likewise. + [XPG3 || XPG4 || UNIX98] (gammal): Likewise. + [XPG3 || XPG4 || UNIX98] (hypotl): Likewise. + [XPG3 || XPG4 || UNIX98] (j0l): Likewise. + [XPG3 || XPG4 || UNIX98] (j1l): Likewise. + [XPG3 || XPG4 || UNIX98] (jnl): Likewise. + [XPG3 || XPG4 || UNIX98] (lgammal): Likewise. + [XPG3 || XPG4 || UNIX98] (tgammal): Likewise. + [XPG3 || XPG4 || UNIX98] (y0l): Likewise. + [XPG3 || XPG4 || UNIX98] (y1l): Likewise. + [XPG3 || XPG4 || UNIX98] (ynl): Likewise. + [XPG3 || XPG4 || UNIX98] (acoshl): Likewise. + [XPG3 || XPG4 || UNIX98] (asinhl): Likewise. + [XPG3 || XPG4 || UNIX98] (atanhl): Likewise. + [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise. + [XPG3 || XPG4 || UNIX98] (expm1l): Likewise. + [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise. + [XPG3 || XPG4 || UNIX98] (log1pl): Likewise. + [XPG3 || XPG4 || UNIX98] (logbl): Likewise. + [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise. + [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise. + [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise. + [XPG3 || XPG4 || UNIX98] (remainderl): Likewise. + [XPG3 || XPG4 || UNIX98] (rintl): Likewise. + [XPG3 || XPG4 || UNIX98] (roundl): Likewise. + [XPG3 || XPG4 || UNIX98] (truncl): Likewise. + [XPG3 || XPG4 || UNIX98] (lrintl): Likewise. + [XPG3 || XPG4 || UNIX98] (llrintl): Likewise. + [XPG3 || XPG4 || UNIX98] (lroundl): Likewise. + [XPG3 || XPG4 || UNIX98] (llroundl): Likewise. + [XPG3 || XPG4 || UNIX98] (remquol): Likewise. + [XPG3 || XPG4 || UNIX98] (scalbl): Likewise. + [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise. + [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise. + [XPG3 || XPG4 || UNIX98] (fdiml): Likewise. + [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise. + [XPG3 || XPG4 || UNIX98] (fminl): Likewise. + [XPG3 || XPG4 || UNIX98] (fmal): Likewise. + [XPG3 || XPG4 || UNIX98] (nanl): Likewise. + + * conform/conformtest.pl: Define _XOPEN_SOURCE as well as + _XOPEN_SOURCE_EXTENDED for XPG4. + + * conform/conformtest.pl: Handle "symbol" lines for allow-header. + + * Makeconfig (localtime): Remove variable. + (inst_localtime-file): Likewise. + +2012-05-01 Andreas Schwab + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist: + Update. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist: + Update. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist: + Update. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist: + Update. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist: + Update. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: + Update. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: + Update. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: + Update. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist: + Update. + +2012-05-01 Joseph Myers + + [BZ #2550] + [BZ #2570] + * math/s_nexttowardf.c (__nexttowardf): Use floating-point + comparisons to determine direction to adjust input. + * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise. + * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise. + * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): + Likewise. + * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf): + Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf): + Likewise. + * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise. + * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): + Likewise. + * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf): + Likewise. + * math/libm-test.inc (nexttoward_test): Add more tests. + +2012-05-01 Andreas Schwab + + [BZ #14040] + * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define + in version GLIBC_2.1, not GLIBC_2.0. + * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl): + Likewise. + +2012-04-30 Joseph Myers + + [BZ #13942] + * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as + (1 - x) * (1 + x). + * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise. + * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise. + * math/libm-test.inc (acos_test): Add more tests. + (asin_test): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + [BZ #14034] + * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value + of square root. + * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise. + * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise. + * math/libm-test.inc (acos_test_tonearest): New function. + (acos_test_towardzero): Likewise. + (acos_test_downward): Likewise. + (acos_test_upward): Likewise. + (asin_test_tonearest): Likewise. + (asin_test_towardzero): Likewise. + (asin_test_downward): Likewise. + (asin_test_upward): Likewise. + (main): Call the new functions. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Update. + + [BZ #13884] + [BZ #13924] + * math/e_exp10.c: Include . + (__ieee754_exp10): Handle underflow here rather than multiplying + large negative argument by M_LN10. + * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead + of __ieee754_expf. + * math/e_exp10l.c: Include . + (__ieee754_exp10l): Handle underflow here rather than multiplying + large negative argument by M_LN10l. + * math/libm-test.inc (exp10_test): Add another test. Do not allow + spurious overflow exception on underflow. + +2012-04-29 Marek Polacek + + * misc/sys/cdefs.h (__attribute_artificial__): New macro. + (__fortify_function): New macro. + (__extern_always_inline): Don't use __attribute__ ((__artificial__)). + * libio/bits/stdio-ldbl.h: Use __fortify_function in place of + __extern_always_inline. + * libio/bits/stdio2.h: Likewise. + * libio/bits/stdio.h: Likewise. + * string/string.h: Likewise. + * string/bits/string3.h: Likewise. + * include/stdio.h: Likewise. + * stdlib/bits/stdlib.h: Likewise. + * stdlib/stdlib.h: Likewise. + * rt/bits/mqueue2.h: Likewise. + * rt/mqueue.h: Likewise. + * posix/bits/unistd.h: Likewise. + * posix/unistd.h: Likewise. + * io/bits/poll2.h: Likewise. + * io/bits/fcntl2.h: Likewise. + * io/fcntl.h: Likewise. + * io/sys/poll.h: Likewise. + * misc/bits/syslog.h: Likewise. + * misc/bits/syslog-ldbl.h: Likewise. + * misc/sys/syslog.h: Likewise. + * socket/bits/socket2.h: Likewise. + * socket/sys/socket.h: Likewise. + * debug/tst-chk1.c: Likewise. + * wcsmbs/bits/wchar2.h: Likewise. + * wcsmbs/bits/wchar-ldbl.h: Likewise. + * wcsmbs/wchar.h: Likewise. + +2012-04-29 Andreas Jaeger + + * Makerules (tests): Remove enable-check-abi protection. + (check-abi-warn): Remove. + (check-abi-%): Remove check-abi-warn usage. + + * configure.in: Remove check-abi configure option. + * configure: Regenerated. + * config.make.in (enable-check-abi): Remove. + +2012-04-28 Andreas Schwab + + [BZ #14033] + * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long + double functions to double *_finite functions. + + [BZ #13941] + * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c + (__mpn_extract_long_double): Use DBL_MIN_EXP instead of + LDBL_MIN_EXP. + * stdio-common/Makefile (tests): Add tst-sprintf3. + * stdio-common/tst-sprintf3.c: New file. + + * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem) + ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling. + +2012-04-28 Joseph Myers + + * conform/conformtest.pl: Remove duplicate typed-constant + handling. + +2012-04-28 David S. Miller + + * Makerules (%.abilist): Add vpath on sysdep_dirs. + (check-abi-%): Remove AWK script prerequisite and explicit + abilist directory. + (check-abi): Rewrite to just diff the symlist with the abilist. + (config-tls, config-abi-config): Delete, no longer used. + (update-abi-%): Remove AWK script and explicit abilist directory. + (update-abi): Rewrite to simply compare and conditionally copy the + symlist and the sysdep abilist file. Remove update-abi-config + checks. + * abilist/ld.abilist: Remove. + * abilist/libBrokenLocale.abilist: Remove. + * abilist/libanl.abilist: Remove. + * abilist/libcrypt.abilist: Remove. + * abilist/libdl.abilist: Remove. + * abilist/librt.abilist: Remove. + * abilist/libthread_db.abilist: Remove. + * abilist/libutil.abilist: Remove. + * scripts/extract-abilist.awk: Remove. + * scripts/merge-abilist.awk: Remove. + * sysdeps/generic/libcidn.abilist: New file. + * sysdeps/generic/libnss_compat.abilist: New file. + * sysdeps/generic/libnss_db.abilist: New file. + * sysdeps/generic/libnss_dns.abilist: New file. + * sysdeps/generic/libnss_files.abilist: New file. + * sysdeps/generic/libnss_hesiod.abilist: New file. + * sysdeps/generic/libnss_nis.abilist: New file. + * sysdeps/generic/libnss_nisplus.abilist: New file. + * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file. + * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file. + * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New + file. + * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file. + * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file. + * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file. + * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file. + * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file. + * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file. + * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file. + * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file. + * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New + file. + * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file. + * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file. + * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file. + * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New + file. + * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file. + * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file. + * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file. + * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file. + * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file. + * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New + file. + * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file. + * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file. + * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New + file. + * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file. + * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist: + New file. + * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist: + New file. + * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist: + New file. + * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist: + New file. + * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist: + New file. + * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist: + New file. + * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist: + New file. + * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist: + New file. + * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist: + New file. + * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist: + New file. + * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist: + New file. + * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist: + New file. + * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist: + New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New + file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist: + New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist: + New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New + file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist: + New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist: + New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New + file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist: + New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist: + New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist: + New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist: + New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist: + New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist: + New file. + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file. + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New + file. + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist: + New file. + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New + file. + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New + file. + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New + file. + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New + file. + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New + file. + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist: + New file. + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New + file. + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New + file. + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist: + New file. + * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New + file. + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New + file. + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist: + New file. + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New + file. + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New + file. + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New + file. + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New + file. + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New + file. + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist: + New file. + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New + file. + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New + file. + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist: + New file. + * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New + file. + * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file. + * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file. + * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New + file. + * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file. + * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file. + * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file. + * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file. + * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file. + * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file. + * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file. + * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file. + * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file. + * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New + file. + * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist: + New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New + file. + * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New + file. + * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New + file. + * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New + file. + * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New + file. + * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist: + New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist: + New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New + file. + * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist: + New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New + file. + * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New + file. + * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist: + New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New + file. + * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New + file. + * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New + file. + * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New + file. + * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New + file. + * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist: + New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist: + New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New + file. + * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist: + New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New + file. + +2012-04-28 Joseph Myers + + * conform/conformtest.pl: Fix typo in handling typed-constant from + allow-header. + +2012-04-27 Joseph Myers + + * README: Cut down references to pre-2.6 Linux kernels and + Linuxthreads. Update lists of configurations in libc and ports + and sort alphabetically. Say "or newer" with Linux kernel version + requirements. + + * config.h.in [IS_IN_build]: Allow compiling without optimization. + +2012-04-27 Ryan S. Arnold + + [BZ #887] + * math/libm-test.inc (logb_test_downward): New test to expose + erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD + rounding mode. + +2012-04-27 Joseph Myers + + [BZ #14027] + * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs + to be done. + * math/fraiseexcpt.c (__feraiseexcept): Likewise. + * math/fsetexcptflg.c (__fesetexceptflag): Likewise. + +2012-04-26 Joseph Myers + + * sysdeps/unix/i386/brk.S: Remove file. + * sysdeps/unix/i386/dl-brk.S: Likewise. + * sysdeps/unix/i386/pipe.S: Likewise. + * sysdeps/unix/i386/sigreturn.S: Likewise. + * sysdeps/unix/i386/syscall.S: Likewise. + * sysdeps/unix/i386/vfork.S: Likewise. + * sysdeps/unix/i386/wait.S: Likewise. + + * sysdeps/unix/common/tcsendbrk.c: Move to ... + * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here. + + * configure.in (arm*-none*): Do not allow without + --enable-hacker-mode. + (netbsd*): Remove case setting base_os. + (386bsd*): Likewise. + (freebsd*): Likewise. + (bsdi*): Likewise. + (osf*): Likewise. + (sunos*): Likewise. + (ultrix*): Likewise. + (newsos*): Likewise. + (dynix*): Likewise. + (*bsd*): Likewise. + (sysv*): Likewise. + (isc*): Likewise. + (esix*): Likewise. + (sco*): Likewise. + (minix*): Likewise. + (irix4*): Likewise. + (irix6*): Likewise. + (solaris[2-9]*): Likewise. + (none): Likewise. + * configure: Regenerated. + +2012-04-26 Adhemerval Zanella + + [BZ #11521] + * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal + overflow or cancellation in calculating denominator. + * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking + down expression to avoid unexpected rounding in newer GCCs. + * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix. + +2012-04-26 David S. Miller + + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate + long-double compat symbols. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise. + +2012-04-25 David S. Miller + + * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get + HWCAP_* values only after the memory barriers have been defined. + (atomic_full_barrier): Define. + (atomic_read_barrier): Define. + (atomic_write_barrier): Define. + +2012-04-26 Siddhesh Poyarekar + + * shlib-versions: Add libgcc_s version information. + * sysdeps/generic/libgcc_s.h: Remove. + * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of + libgcc_s.h. + * sysdeps/gnu/unwind-resume.c: Likewise. + * scripts/test-installation.pl: Remove libgcc_s from link_libs. + +2012-04-25 David S. Miller + + * sysdeps/unix/sparc/brk.S: Delete. + * sysdeps/unix/sparc/dl-brk.S: Delete. + * sysdeps/unix/sparc/pipe.S: Delete. + * sysdeps/unix/sparc/sysdep.S: Delete. + * sysdeps/unix/sparc/sysdep.h: Delete. + * sysdeps/unix/sparc/vfork.S: Delete. + * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG) + (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define. + * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO) + (ret_ERRVAL, r0, r1, MOVE): Define. + (JUMPTARGET): Remove. + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include + sysdeps/unix/sparc/sysdep.h + (ENTRY, END): Remove. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. + +2012-04-25 Joseph Myers + + * Makerules (native-compile): Use $(BUILD_LDFLAGS). + (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE + -DIS_IN_build. + + * timezone/README: Update upstream location and email address for + tzcode and tzdata. + * timezone/zdump.c: Update from tzcode 2012b. + * timezone/zic.c: Likewise. + + * configure.in (libc_cv_as_needed): Remove test. + * configure: Regenerated. + * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove + conditional definition. + [$(have-as-needed) != yes] (no-as-needed): Likewise. + [$(have-as-needed) != yes] (libgcc_eh): Likewise. + * config.make.in (have-as-needed): Remove variable. + +2012-04-25 Siddhesh Poyarekar + Paul Pluzhnikov + + * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal + strings correctly. + +2012-04-25 Chung-Lin Tang + + * sysdeps/sh/memcpy.S: Remove include of endian.h, change + preprocessor endian tests to '#ifdef __BIG_ENDIAN__'. + * sysdeps/sh/strlen.S: Likewise. + +2012-04-24 Joseph Myers + + * sysdeps/unix/fork.S: Remove file. + * sysdeps/unix/i386/fork.S: Likewise. + * sysdeps/unix/sparc/fork.S: Likewise. + + * sysdeps/unix/system.c: Remove file. + * sysdeps/unix/bsd/bsd4.4/system.c: Likewise. + + * sysdeps/unix/getegid.S: Remove file. + * sysdeps/unix/geteuid.S: Likewise. + +2012-04-24 Roland McGrath + + * scripts/check-localplt.awk: New file. + * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead + of diff. + * scripts/data/localplt-generic.data: Add a comment. + + * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on + NODE when __dir_mkfile failed. + * sysdeps/mach/hurd/symlinkat.c: Likewise. + Reported by Ludovic CourtĂšs . + +2012-04-24 Andreas Jaeger + + * Makerules (common-clean): Also remove gen-as-const-headers + files. + +2012-04-24 Joseph Myers + + * Makerules (native-compile): Do not change working directory for + build. Use $(OUTPUT_OPTION) in command. + (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h. + +2012-04-24 Adhemerval Zanella + + [BZ #13886] + * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the + sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead. + * math/libm-test.inc (floor_test): Add more tests. + * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests. + +2012-04-24 Joseph Myers + + * sysdeps/unix/getdents.c: Remove file. + * sysdeps/unix/sysv/getdents.c: Likewise. + * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove. + + * sysdeps/unix/syscalls.list (madvise): Add syscall from + sysdeps/unix/mman/syscalls.list. + (mmap): Likewise. + (mprotect): Likewise. + (msync): Likewise. + (munmap): Likewise. + * sysdeps/unix/bsd/bsd4.4/Implies: Remove. + * sysdeps/unix/mman/syscalls.list: Remove. + * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman. + + * configure.in (libc_cv_libgcc_s_suffix): Remove test. + (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix. + * configure: Regenerated. + * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use + $(libgcc_s_suffix). + * config.make.in (libgcc_s_suffix): Remove variable. + +2012-04-23 Joseph Myers + + * sysdeps/unix/sysv/gethostname.c: Move to ... + * sysdeps/posix/gethostname.c: ... here. + + * sysdeps/unix/execve.S: Remove file. + + * sysdeps/unix/_exit.S: Remove file. + +2012-04-23 Andreas Jaeger + + [BZ #13739] + * manual/Makefile: Remove make dist support, there's no + need for a stand-alone documentation tar ball. + (TEXI2DVI): Define always, it's not in Makeconfig. + (dist): Removed. + (tar-it): Removed. + (edition): Removed. + (glibc-doc-$(edition).tar): Removed + (%.Z): Removed. + (%.gz): Removed. + (%.uu): Removed. + (ETAGS): Remove, it's in Makeconfig. + (move-if-change): Remove, it's in Makeconfig. + +2012-04-23 Paul Eggert + + [BZ #13970] + * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc. + (strtod, strtof, strtold, strtol, strtoul, strtoq) + (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l) + (strtod_l, strtof_l, strtold_l): Remove __wur. + It is not necessarily an error to ignore strtol's return value. + One can reliably look at the stored endptr to decide whether + the number had valid syntax. + +2012-04-21 Andreas Jaeger + + [BZ #13739] + * sysdeps/s390/s390-64/Makefile (distribute): Remove variable. + +2012-04-21 Joseph Myers + + * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo. + * sysdeps/unix/sysv/Versions: Remove file. + +2012-04-21 Markus Trippelsdorf + + [BZ #13927] + * sysdeps/x86_64/fpu/libm-test-ulps: Update. + +2012-04-21 Nick Alcock + + [BZ #7064] + * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit + version from __vm86. + +2012-04-20 Joseph Myers + + * sysdeps/unix/common/lxstat.c: Remove file. + * sysdeps/unix/common/syscalls.list (sys_lstat): Remove. + + * sysdeps/unix/sysv/Makefile: Remove file. + + * sysdeps/unix/sysv/direct.h: Remove file. + + * sysdeps/unix/sysv/bits/dirent.h: Remove file. + * sysdeps/unix/sysv/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/bits/local_lim.h: Likewise. + * sysdeps/unix/sysv/bits/signum.h: Likewise. + * sysdeps/unix/sysv/bits/stat.h: Likewise. + * sysdeps/unix/sysv/bits/utmp.h: Likewise. + * sysdeps/unix/sysv/bits/utsname.h: Likewise. + + * sysdeps/unix/sysv/setrlimit.c: Remove file. + + * sysdeps/unix/xmknod.c: Remove file. + * sysdeps/unix/syscalls.list (sys_mknod): Remove. + + * sysdeps/unix/sysv/settimeofday.c: Remove file. + + * sysdeps/unix/sysv/i386/time.S: Remove file. + + * sysdeps/unix/fxstat.c: Remove file. + * sysdeps/unix/xstat.c: Likewise. + * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove. + + * sysdeps/unix/sysv/sigaction.c: Remove file. + + * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers] + (sysdep_headers): Remove variable. + [termio.h not in sysdep_headers] (generated): Likewise. + [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule. + * sysdeps/unix/sysv/sysv_termio.h: Remove file. + * sysdeps/unix/sysv/tcdrain.c: Likewise. + * sysdeps/unix/sysv/tcflow.c: Likewise. + * sysdeps/unix/sysv/tcflush.c: Likewise. + * sysdeps/unix/sysv/tcgetattr.c: Likewise. + * sysdeps/unix/sysv/tcgetpgrp.c: Likewise. + * sysdeps/unix/sysv/tcsendbrk.c: Likewise. + * sysdeps/unix/sysv/tcsetattr.c: Likewise. + * sysdeps/unix/sysv/tcsetpgrp.c: Likewise. + + * sysdeps/unix/siglist.c: Remove file. + + * sysdeps/unix/getppid.S: Remove file. + + * sysdeps/unix/mkdir.c: Remove file. + * sysdeps/unix/rmdir.c: Likewise. + +2012-04-19 Andreas Schwab + + * sysdeps/gnu/errlist-compat.awk (END): Correct computation of + ERR_MAX value. + * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust + errlist-compat value. + +2012-04-18 David S. Miller + + * sysdeps/generic/memcopy.h (reg_char): Delete. + * debug/strcat_chk.c: Use char, not reg_char. + * debug/strcpy_chk.c: Likewise. + * debug/strncat_chk.c: Likewise. + * debug/strncpy_chk.c: Likewise. + * string/memchr.c: Likewise. + * string/memrchr.c: Likewise. + * string/rawmemchr.c: Likewise. + * string/strcat.c: Likewise. + * string/strchr.c: Likewise. + * string/strchrnul.c: Likewise. + * string/strcmp.c: Likewise. + * string/strcpy.c: Likewise. + * string/strncat.c: Likewise. + * string/strncmp.c: Likewise. + * string/strncpy.c: Likewise. + +2012-04-18 Will Schmidt + + * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where + __builtin_memcopy is called when src and dest ranges are known to not + overlap. + +2012-04-18 Will Schmidt + + * sysdeps/powerpc/powerpc64/power6/wordcopy.c + (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized + fwd_align_merge macro call. + (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized + bwd_align_merge macro call. + * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise. + +2012-04-18 Will Schmidt + + * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and + bwd_align_merge macros. + (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls. + (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls. + * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise. + +2012-04-18 David S. Miller + + * sysdeps/sparc/sparc64/memcopy.h: Delete. + +2012-04-18 Andreas Jaeger + + [BZ #6794] + * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here. + Rename __ilogbl to __ieee754_ilogbl and remove weak_alias. + + * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ... + * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here. + Rename __ilogbl to __ieee754_ilogbl and remove weak_alias. + + * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ... + * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here. + Adjust for changed ldbl-128 files. + + * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ... + * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here. + Rename __ilogbl to __ieee754_ilogbl and remove weak_alias. + +2012-04-17 David S. Miller + + * sysdeps/sparc/sparc32/memcopy.h: Delete. + +2012-04-17 Andreas Schwab + + * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias. + * sysdeps/i386/fpu/e_ilogbf.S: Likewise. + * sysdeps/i386/fpu/e_ilogbl.S: Likewise. + * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise. + * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise. + * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise. + +2012-04-17 Adhemerval Zanella + + [BZ #6794] + * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb. + * math/libm-test.inc: Add ilogb errno and exception tests. + * math/w_ilogb.c: New file: ilogb wrapper. + * math/w_ilogbf.c: New file: ilogbf wrapper. + * math/w_ilogbl.c: New file: ilogbl wrapper. + * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes. + * sysdeps/i386/fpu/s_ilogb.S: Moved to ... + * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO + exception being thrown with 0.0 as argument. + * sysdeps/i386/fpu/s_ilogbf.S: Moved to ... + * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO + exception being thrown with 0.0 as argument. + * sysdeps/i386/fpu/s_ilogbl.S: Moved to ... + * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO + exception being thrown with 0.0 as argument. + * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ... + * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO + exception being thrown with 0.0 as argument. + * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here. + * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ... + * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here. + * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ... + * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here. + * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ... + * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here. + * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper. + +2012-04-17 Petr Baudis + + * include/sys/uio.h: Change __vector to __iovec to avoid clash + with altivec. + +2012-04-16 Marek Polacek + + * elf/pldd-xx.c: Rename static_assert to pldd_assert. + +2012-04-16 Marek Polacek + + * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the + operands of fdivp instruction. + +2012-04-13 H.J. Lu + + * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__. + * elf/tst-auditmod3b.c: Likewise. + * elf/tst-auditmod4b.c: Likewise. + * elf/tst-auditmod5b.c: Likewise. + * elf/tst-auditmod6b.c: Likewise. + * elf/tst-auditmod6c.c: Likewise. + * elf/tst-auditmod7b.c: Likewise. + * sysdeps/x86_64/ffsll.c (ffsl): Likewise. + * sysdeps/x86_64/preconfigure.in: Likewise. + * sysdeps/x86_64/preconfigure: Regenerated. + +2012-04-13 H.J. Lu + + * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check + __ILP32__. + +2012-04-13 Antoine Balestrat + + * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c + (__get_clockfreq_via_proc_openprom): Fix test on wrong variable. + +2012-04-13 Chris Leonard + + [BZ #13973] + * locale/iso-639.def: Fix gl language name. Spotted by + Yaron Shahrabani. + +2012-04-12 Roland McGrath + + [BZ #2074] + * libio/libio.h (__io_write_fn): Update comment. + +2012-04-12 Petr Baudis + + [BZ #2074] + * stdio.texi (Hook Functions): The user provided writer function + is not allowed to return -1. + +2012-04-11 David S. Miller + + * sysdeps/sparc/fpu/libm-test-ulps: Update. + +2012-04-11 Mike Frysinger + + * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db. + Add a leading slash to rtkaio. + +2012-04-11 Jim Meyering + + [BZ #11959] + * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur. + It is not necessarily an error to ignore fwrite's return + value. One can reliably use ferror to test for errors after + the fact. + +2012-04-10 H.J. Lu + + * bits/types.h (__snseconds_t): New type. + * time/time.h (struct timespec): Use __snseconds_t on tv_nsec. + + * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro. + * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h + (__SNSECONDS_T_TYPE): Likewise. + * sysdeps/unix/sysv/linux/s390/bits/typesizes.h + (__SNSECONDS_T_TYPE): Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h + (__SNSECONDS_T_TYPE): Likewise. + +2012-04-10 Andreas Jaeger + + [BZ #2636] + * manual/time.texi (Processor Time): Return type of times is + elapsed real time since an arbitrary point in the past. + (CPU Time): Move CLK_TCK from here... + (Processor Time): ...to here. Correct description. + * manual/conf.texi (Constants for Sysconf): Correct description of + _SC_CLK_TCK. + +2012-04-10 David S. Miller + + [BZ #13967] + * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case + where the is a gap between DT_REL(A) and DT_JMPREL. + +2012-04-10 H.J. Lu + + * sysdeps/x86_64/bits/byteswap.h: Include . + (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2. + (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2. + +2012-04-10 Siddhesh Poyarekar + + * elf/dl-support.c (_dl_inhibit_cache): New variable. + * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache. + (dl_main): Handle --inhibit-cache. + * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member + _dl_inhibit_cache. + * elf/dl-load.c (_dl_map_object): Use it. + * elf/Makefile: Define SYSCONFDIR when building rtld.c. + +2012-04-09 Joseph Myers + + [BZ #13872] + * sysdeps/i386/fpu/e_powl.S (p78): New object. + (__ieee754_powl): Saturate large exponents rather than testing for + overflow of y*log2(x). + * sysdeps/x86_64/fpu/e_powl.S: Likewise. + * math/libm-test.inc (pow_test): Do not permit spurious overflow + exceptions. + + [BZ #11521] + * math/s_ctan.c: Include . + (__ctan): Avoid internal overflow or cancellation in calculating + denominator. + * math/s_ctanf.c: Likewise. + * math/s_ctanl.c: Likewise. + * math/s_ctanh.c: Likewise. + * math/s_ctanhf.c: Likewise. + * math/s_ctanhl.c: Likewise. + * math/libm-test.inc (ctan_test): Add more tests. + (ctanh_test): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2012-04-09 Andreas Jaeger + + [BZ #6894] + * manual/filesys.texi (Directory Entries): Mention that d_namlen + is an optional BSD extension. + + [BZ #10254] + * manual/stdio.texi (Opening Streams): Document additional fopen + parameters. + +2012-04-09 Roland McGrath + + * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber + %eax without telling the compiler. + +2012-04-09 Carlos O'Donell + + [BZ # 13963] + * manual/install.texi: Use sourceware.org. + +2012-04-09 Joseph Myers + + [BZ #13873] + * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables. + (__ieee754_pow): Generate overflow and underflow using huge*huge + and tiny*tiny rather than just returning constant infinity or zero + for large exponents. + * math/libm-test.inc (pow_test): Require overflow exceptions for + applicable cases of large exponents. + + [BZ #706] + * sysdeps/i386/fpu/e_pow.S (p10): New object. + (__ieee754_pow): Use iterative multiplication algorithm only for + integer exponents with absolute value below 1024. Check for odd + integer exponents when using algorithm for real exponents. + * math/libm-test.inc (pow_test): Add more tests. + * sysdeps/x86_64/fpu/libm-test-ulps: Update. + +2012-04-08 Joseph Myers + + [BZ #13705] + * math/libm-test.inc (exp_test): Do not allow overflow exception + on underflow test. + +2012-04-08 Aurelien Jarno + + [BZ #13705] + * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard + instead of __kernel_standard_f. + +2012-04-08 Mike Frysinger + + * sysdeps/i386/i686/memset_chk.S: Update copyright year. + * sysdeps/x86_64/memset_chk.S: Likewise. + +2012-04-08 Andreas Jaeger + + [BZ #10153] + * manual/startup.texi (Environment Access): Describe return value + for putenv and setenv. + + [BZ #6895] + * manual/filesys.texi (Directory Entries): Add description for + DT_LNK. + + [BZ #6890] + * manual/filesys.texi (Directory Entries): Clarify that it's file + system not operating system in the description of DT_UNKNOWN. + + [BZ #6578] + * manual/syslog.texi (closelog): Fix reference, it's openlog. + +2012-04-08 Stephen Compall + + [BZ #6649] + * manual/llio.texi (Opening and Closing Files): Add cross + reference to explain mode argument. + +2012-04-07 Mike Frysinger + + * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED. + * sysdeps/x86_64/memset_chk.S: Likewise. + +2012-04-07 David S. Miller + + * elf/elf.h (R_SPARC_WDISP10): Define. + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle + R_SPARC_SIZE32. + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle + R_SPARC_SIZE64 and R_SPARC_H34. + +2012-04-07 Carlos O'Donell + + * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify + conditions and remove no longer applicable assertion. + +2012-04-06 H.J. Lu + + * bits/byteswap.h: Include . + (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2. + (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2. + +2012-04-06 H.J. Lu + + * bits/byteswap.h (__bswap_16): Removed. + Include to get __bswap_16. + * sysdeps/i386/bits/byteswap.h: Likewise. + * sysdeps/s390/bits/byteswap.h: Likewise. + * sysdeps/x86_64/bits/byteswap.h: Likewise. + * bits/byteswap-16.h: New file. + * sysdeps/i386/bits/byteswap-16.h: Likewise. + * sysdeps/s390/bits/byteswap-16.h: Likewise. + * sysdeps/x86_64/bits/byteswap-16.h: Likewise. + * string/Makefile (headers): Add bits/byteswap-16.h. + +2012-04-06 Paul Pluzhnikov + + [BZ #13895] + * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid + extra indirection. + * nss/Makefile (tests-static, tests): Add tst-nss-static. + * nss/tst-nss-static.c: New. + +2012-04-06 Robert Millan + + [BZ #6486] + * manual/llio.texi (File Position Primitive): lseek + refers to WHENCE when it really means OFFSET. + +2012-04-06 Andreas Jaeger + + * nss/nss_db/db-initgroups.c: Include for strlen and + strncmp declarations. + + * abilist/libc.abilist: Add __poll and __ppoll. + +2012-04-05 David S. Miller + + * scripts/check-local-headers.sh: Accept a host triplet in the + path matched by the exclude regexp. + + * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one + definition. + * sysdeps/powerpc/powerpc32/dl-machine.h + (ELF_MACHINE_PLTREL_OVERLAP): Delete. + * sysdeps/s390/s390-32/dl-machine.h + (ELF_MACHINE_PLTREL_OVERLAP): Likewise. + * sysdeps/sparc/sparc32/dl-machine.h + (ELF_MACHINE_PLTREL_OVERLAP): Likewise. + * sysdeps/sparc/sparc64/dl-machine.h + (ELF_MACHINE_PLTREL_OVERLAP): Likewise. + + * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off + lazy binding. + * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore + undefined symbol errors. + + * elf/rtld.c (dl_main): Skip VDSO when checking for unused + DT_NEEDED entries. + +2012-04-05 Michael Matz + + [BZ #13592] + * sysdeps/x86_64/memset.S: Fix size paramater comparisions. + +2012-04-05 Andreas Jaeger + + [BZ #13908] + * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix + comment. + +2012-04-05 Nobuhiro Iwamatsu + + * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value + which ROUND is no valid rounding mode. + +2012-04-05 Nobuhiro Iwamatsu + + * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which + read again. + * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise. + +2012-04-05 Nobuhiro Iwamatsu + + * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce + an exception using FPU order intentionally. + +2012-04-05 Nobuhiro Iwamatsu + + * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file. + * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file. + * sysdeps/sh/sh4/fpu/fegetexcept.c: New file. + * sysdeps/sh/sh4/fpu/feupdateenv.c: New file. + +2012-04-05 Simon Josefsson + + [BZ #12340] + * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of + EINVAL when BUFLEN is too smal. + +2012-04-05 Thomas Schwinge + + [BZ #13553] + * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile. + * sysdeps/mach/powerpc/machine-lock.h: Likewise. + +2012-04-03 Andreas Jaeger + + [BZ #13938] + * manual/setjmp.texi (System V contexts): Fix sentence. + + [BZ #13926] + * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64): + New macro for this case. + [!__GNUC__] (__bswap_64): New inline function for this case. + * sysdeps/x86_64/bits/byteswap.h: Likewise. + * bits/byteswap.h: Likewise. + * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use + ull, guard with __GLIBC_HAVE_LONG_LONG. + + * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with + __GLIBC_HAVE_LONG_LONG. + + * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG. + Include for __GLIBC_HAVE_LONG_LONG. + +2012-04-02 Tulio Magno Quites Machado Filho + + [BZ #13691] + * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using + inptr and inend, rather than using last_ch. + +2012-04-02 David S. Miller + + With help from Paul Eggert, Carlos O'Donell, and Roland McGrath. + * stdio-common/printf-parse.h (read_int): Change return type to + 'int', return -1 on INT_MAX overflow. + * stdio-common/vfprintf.c (vfprintf): Validate width and precision + against overflow of INT_MAX. Set errno to EOVERFLOW when 'done' + overflows INT_MAX. Check for overflow of in-format-string precision + values properly. Use EOVERFLOW rather than ERANGE throughout. Use + SIZE_MAX not INT_MAX for integer overflow test. + * stdio-common/printf-parsemb.c: If read_int signals an overflow, + skip the construct in the format string but do not record anything. + * stdio-common/bug22.c: Adjust to test both width/prevision + INT_MAX overflow as well as total length INT_MAX overflow. Check + explicitly for proper errno values. + +2012-04-02 Thomas Schwinge + + * string/test-memcmp.c [! WIDE]: #include for CHAR_MIN, + CHAR_MAX. + * string/test-strcmp.c [! WIDE]: Likewise. + * time/tst-mktime2.c: Likewise for INT_MAX. + * string/test-string.h: #include for MIN. + + * csu/init-first.c (__libc_init_first): Call __ctype_init. + * sysdeps/i386/init-first.c (init): Likewise. + * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise. + * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise. + * sysdeps/sh/init-first.c (init): Likewise. + +2012-04-01 Ulrich Drepper + + * po/ru.po: Update from translation team. + * po/vi.po: Likewise. + +2012-03-31 Siddhesh Poyarekar + + * resolv/nss_dns/dns-host.c: Merge copyright years. + +2012-03-22 Liubov Dmitrieva + + * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update. + Optimize memcpy with prefetch if + DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and + src, dst pointers have unequal 16 byte alignments. + +2012-03-30 Siddhesh Poyarekar + + [BZ #13928] + * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl + from a CNAME entry and return the minimum ttl for the query. + (gaih_getanswer_slice): Likewise. + +2012-03-30 Jeff Law + + * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses + due to long keys. + * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise. + * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise. + + * resolv/nss_dns/dns-host.c: Update copyright year. + +2012-03-30 Ulrich Drepper + + * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two + requests to save a system call. Fix check that all bytes are sent. + + * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up + comments for sendmmsg. + +2012-03-30 Tulio Magno Quites Machado Filho + + [BZ #13691] + * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings + with only 1 character between 0x0041 and 0x01b0. + * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs. + * wcsmbs/tst-mbsnrtowcs.c: New file. + +2012-03-29 David S. Miller + + * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize + small copies by hand. + +2012-03-28 Siddhesh Poyarekar + + [BZ #13761] + * nis/nss_compat/compat-initgroups.c (getgrent_next_nss) + (_nss_compat_initgroups_dyn): Fall back to malloc/free for large + group memberships. + +2012-03-28 David S. Miller + + * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub + that branches into memcpy. + * sysdeps/sparc/sparc64/memcpy.S: Likewise. + * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise. + * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise. + * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise. + * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch + bits. + * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy + implementation too. + * sysdeps/sparc/mempcpy.S: New file. + + * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to + the IFUNC routine in the libc case. + * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise. + + * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file. + * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file. + * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file. + * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file. + * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file. + * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file. + * sysdeps/sparc/sparc64/rtld-memset.c: New file. + * sysdeps/sparc/sparc64/rtld-memcpy.c: New file. + + * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main + loop to 256 bytes instead of 64 bytes and fix test signedness. + + * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here.... + * sysdeps/sparc/sparc32/Makefile: rather than here... + * sysdeps/sparc/sparc64/Makefile: and here. + +2012-03-28 Ulrich Drepper + + * malloc/mallocbug.c: Avoid warnings about unused variables. + +2012-02-22 Siddhesh Poyarekar + + [BZ #13760] + * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno + in the right place. Discard and retry query if response is + larger than input buffer size. + +2012-03-28 Joseph Myers + + [BZ #369] + [BZ #2678] + [BZ #3866] + * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of + x for large integer exponent. + * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise. + * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust + sign of result as needed afterwards. + * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise. + * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of + result for underflowing pow the same as for overflow. + (__kernel_standard_l): Handle powl overflow and underflow here + rather than calling __kernel_standard. + * math/libm-test.inc (pow_test): Add more tests. + + [BZ #3868] + [BZ #13879] + [BZ #13910] + [BZ #13911] + [BZ #13912] + [BZ #13913] + [BZ #13915] + [BZ #13916] + [BZ #13917] + [BZ #13918] + [BZ #13919] + [BZ #13920] + [BZ #13921] + * sysdeps/generic/math_private.h (__kernel_standard_l): Declare. + * sysdeps/ieee754/k_standard.c: Include . + (__kernel_standard_l): New function. + * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of + __kernel_standard. + * math/w_acosl.c (__acosl): Likewise. + * math/w_asinl.c (__asinl): Likewise. + * math/w_atan2l.c (__atan2l): Likewise. + * math/w_atanhl.c (__atanhl): Likewise. + * math/w_coshl.c (__coshl): Likewise. + * math/w_exp10l.c (__exp10l): Likewise. + * math/w_exp2l.c (__exp2l): Likewise. + * math/w_fmodl.c (__fmodl): Likewise. + * math/w_hypotl.c (__hypotl): Likewise. + * math/w_j0l.c (__j0l, __y0l): Likewise. + * math/w_j1l.c (__j1l, __y1l): Likewise. + * math/w_jnl.c (__jnl, __ynl): Likewise. + * math/w_lgammal.c (__lgammal): Likewise. + * math/w_log10l.c (__log10l): Likewise. + * math/w_log2l.c (__log2l): Likewise. + * math/w_logl.c (__logl): Likewise. + * math/w_powl.c (__powl): Likewise. + * math/w_remainderl.c (__remainderl): Likewise. + * math/w_scalbl.c (sysv_scalbl): Likewise. + * math/w_sinhl.c (__sinhl): Likewise. + * math/w_sqrtl.c (__sqrtl): Likewise. + * math/w_tgammal.c (__tgammal): Likewise. + * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise. + * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise. + * math/libm-test.inc (acos_test): Add more tests. + (acosh_test): Likewise. + (asin_test): Likewise. + (atanh_test): Likewise. + (exp_test): Likewise. + (exp10_test): Likewise. + (exp2_test): Likewise. + (expm1_test): Likewise. + (lgamma_test): Likewise. + (log_test): Likewise. + (log10_test): Likewise. + (log1p_test): Likewise. + (log2_test): Likewise. + (pow_test): Do not allow some spurious overflow exceptions. + (sqrt_test): Add more tests. + (tgamma_test): Likewise. + (y0_test): Likewise. + (y1_test): Likewise. + (yn_test): Likewise. + +2012-03-27 Anton Blanchard + + * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and + MAP_HUGETLB. + * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise. + +2012-03-27 David S. Miller + + * conform/Makefile: Run run-conformtest.sh using $(BASH). + + * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before + have-as-vis3 check. + +2012-03-27 Andreas Jaeger + + * sysdeps/x86_64/elf/configure.in: Moved to ... + * sysdeps/x86_64/configure.in: ... here. + * sysdeps/x86_64/elf/start.S: Moved to ... + * sysdeps/x86_64/start.S: ... here. + * sysdeps/x86_64/elf/configure: Delete. + + * sysdeps/x86_64/configure.in: Merge contents from + sysdeps/i386/configure.in (without i686 check). + + * sysdeps/i386/elf/Versions: Merge into ... + * sysdeps/i386/Versions: ... this. + * sysdeps/i386/elf/Versions: Delete file. + * sysdeps/i386/elf/start.S: Moved to ... + * sysdeps/i386/start.S: ...here. + * sysdeps/i386/elf/configure.in: Merge into... + * sysdeps/i386/configure.in: ...here. + * sysdeps/i386/elf/configure.in: Delete file. + * sysdeps/i386/elf/configure: Delete file. + + * sysdeps/generic/elf/backtracesyms.c: Moved to ... + * debug/backtracesyms.c: ... here. + * sysdeps/generic/elf/backtracesymsfd.c: Moved to ... + * debug/backtracesymsfd.c: ... here. + * sysdeps/generic/elf/ifunc-sel.h: Moved to ... + * sysdeps/generic/ifunc-sel.h: ... here. + + * sysdeps/unix/i386/start.c: Delete file. + * sysdeps/unix/sparc/start.c: Delete file. + * sysdeps/unix/start.c: Delete file. + + * sysdeps/sh/elf/configure.in: Moved to ... + * sysdeps/sh/configure.in: ... here. + * sysdeps/sh/elf/start.S: Moved to ... + * sysdeps/sh/start.S: ... here. + * sysdeps/sh/elf/configure: Delete file. + + * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ... + * sysdeps/powerpc/powerpc64/bzero.S: ... here. + * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ... + * sysdeps/powerpc/powerpc64/entry.h: ... here. + * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ... + * sysdeps/powerpc/powerpc64/start.S: here. + * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ... + * sysdeps/powerpc/powerpc64/Makefile: ... this. + * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ... + * sysdeps/powerpc/powerpc64/configure.in: ... this. + * sysdeps/powerpc/powerpc64/elf/configure: Delete file. + + * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ... + * sysdeps/powerpc/powerpc32/bzero.S: ... here. + * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ... + * sysdeps/powerpc/powerpc32/start.S: ... here. + * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ... + * sysdeps/powerpc/powerpc32/configure.in: ... this. + * sysdeps/powerpc/powerpc32/elf/configure: Delete file. + + * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ... + * sysdeps/powerpc/ifunc-sel.h: ... here. + * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ... + * sysdeps/powerpc/rtld-global-offsets.sym: ... here. + + * sysdeps/sparc/elf/configure.in: Moved to ... + * sysdeps/sparc/configure.in: ... here. + * sysdeps/sparc/elf/configure: Delete file. + * sysdeps/sparc/sparc32/elf/start.S: Moved to ... + * sysdeps/sparc/sparc32/start.S: ... here. + * sysdeps/sparc/sparc64/elf/start.S: Moved to ... + * sysdeps/sparc/sparc64/start.S: ... here. + * sysdeps/sparc/sparc32/elf/Makefile: Merged into ... + * sysdeps/sparc/sparc32/Makefile: ... this. + * sysdeps/sparc/sparc64/elf/Makefile: Merged into ... + * sysdeps/sparc/sparc64/Makefile: ... this. + + * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ... + * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here. + * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ... + * sysdeps/s390/s390-32/bsd-setjmp.S: ... here. + * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ... + * sysdeps/s390/s390-32/setjmp.S: ... here. + * sysdeps/s390/s390-32/elf/configure.in: Moved to ... + * sysdeps/s390/s390-32/configure.in: ... here. + * sysdeps/s390/s390-32/elf/configure: Delete file. + * sysdeps/s390/s390-32/elf/start.S: Moved to ... + * sysdeps/s390/s390-32/start.S: ... here. + + * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ... + * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here. + * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ... + * sysdeps/s390/s390-64/bsd-setjmp.S: ... here. + * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ... + * sysdeps/s390/s390-64/setjmp.S: ... here. + * sysdeps/s390/s390-64/elf/configure.in: Moved to ... + * sysdeps/s390/s390-64/configure.in: ... here + * sysdeps/s390/s390-64/elf/configure: Delete file. + * sysdeps/s390/s390-64/elf/start.S: Moved to ... + * sysdeps/s390/s390-64/start.S: ... here. + * sysdeps/s390/s390-64/elf/configure: Delete. + + * configure.in: Remove support for elf directories in sysdeps. + + * configure: Regenerated. + * sysdeps/i386/configure: Regenerated. + * sysdeps/powerpc/powerpc32/configure: Regenerated. + * sysdeps/powerpc/powerpc64/configure: Regenerated. + * sysdeps/s390/s390-32/configure: Regenerated. + * sysdeps/s390/s390-64/configure: Regenerated. + * sysdeps/sh/configure: Regenerated. + * sysdeps/sparc/configure: Regenerated. + * sysdeps/x86_64/configure: Regenerated. + +2012-03-26 Andreas Schwab + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + + * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take + denormal result into account. + +2012-03-25 Roland McGrath + + * posix/confstr.c (confstr): Lift RESTENVS definition to function scope. + Reported by Allan McRae . + +2012-03-23 Jeff Law + + * nss/getnssent.c (__nss_getent): Fix typo. + +2012-03-23 David S. Miller + + * sysdeps/sparc/fpu/libm-test-ulps: Update. + +2012-03-23 H.J. Lu + + * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union + to pad to uint64_t for each field. + (dl_tls_index): Replace unsigned long with uint64_t. + +2012-03-23 Daniel Jacobowitz + Paul Pluzhnikov + + [BZ #6528] + * grp/Makefile (otherlibs): Don't set it. + * inet/Makefile (otherlibs): Likewise. + * login/Makefile (otherlibs): Likewise. + * nscd/Makefile (otherlibs): Likewise. + * posix/Makefile (otherlibs): Likewise. + * pwd/Makefile (otherlibs): Likewise. + * rt/Makefile (otherlibs): Likewise. + * sunrpc/Makefile (otherlibs): Likewise. + * nss/Makefile (otherlibs): Likewise. + Add libnss_files to routines and static-only-routines. + ($(objpfx)getent): Remove rule. + * resolv/Makefile: Add libnss_dns and libresolv to routines and + static-only-routines. + +2012-03-22 Joseph Myers + + [BZ #13892] + * math/s_cexp.c: Include . + (__cexp): Handle exp result overflowing not necessarily + overflowing both real and imaginary parts of result. + * math/s_cexpf.c: Likewise. + * math/s_cexpl.c: Likewise. + * math/libm-test.inc (cexp_test): Add more tests. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2012-03-22 H.J. Lu + + * include/link.h (ELFW): New macro. + * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX). + Replace ELF64_R_TYPE with ELFW(R_TYPE). + +2012-03-22 H.J. Lu + + * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long + with uint64_t. + +2012-03-22 H.J. Lu + + * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward + declaration. + (struct La_x32_retval): Likewise. + +2012-03-22 H.J. Lu + + * sysdeps/x86_64/preconfigure.in: New file. + * sysdeps/x86_64/preconfigure: New generated file. + +2012-03-22 Joseph Myers + + [BZ #13824] + * math/e_exp2l.c: Include . + (__ieee754_exp2l): Handle overflow and underflow cases + separately. Only pass fractional part of argument to + __ieee754_expl. + * math/libm-test.inc (exp2_test): Add more tests. + + * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if + negating x to take absolute value. + * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl): + Likewise. + * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): + Likewise. + * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when + computing low part if x was negated. + * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise. + +2012-03-21 H.J. Lu + + * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and + la_x32_gnu_pltexit. + (pltexit): Cast int_retval to ptrdiff_t. + * elf/tst-auditmod3b.c: Likewise. + * elf/tst-auditmod4b.c: Likewise. + * elf/tst-auditmod5b.c: Likewise. + * elf/tst-auditmod6b.c: Likewise. + * elf/tst-auditmod6c.c: Likewise. + * elf/tst-auditmod7b.c: Likewise. + + * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter + and x32_gnu_pltexit. + + * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of + __ELF_NATIVE_CLASS. + (La_x32_regs): New macro. + (La_x32_retval): Likewise. + (la_x32_gnu_pltenter): New function prototype. + (la_x32_gnu_pltexit): Likewise. + +2012-03-21 Andreas Schwab + + * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct + exponent. + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + + * configure.in (libc_cv_cc_nofma): Check for option to disable + generation of FMA instructions. + * configure: Regenerate. + * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma. + * sysdeps/ieee754/dbl-64/Makefile: New file. + * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines): + Remove brandred-fma4. + (CFLAGS-brandred-fma4.c): Remove. + * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove. + * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't + define. + * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't + define. + +2012-03-21 H.J. Lu + + * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of + LLONG_MAX != LONG_MAX. + (_itoa_word): Use _ITOA_WORD_TYPE on value. + (_fitoa_word): Likewise. + * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of + LLONG_MAX != LONG_MAX. + * stdio-common/_itowa.h: Include <_itoa.h>. + (_itowa_word): Use _ITOA_WORD_TYPE on value. + (_itowa): New macro. Defined only if _ITOA_NEEDED is false. + * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined + only if not defined. + (_ITOA_WORD_TYPE): Likewise. + (_itoa_word): Use _ITOA_WORD_TYPE on value. + Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX. + +2012-03-21 David S. Miller + + * sysdeps/sparc/fpu/libm-test-ulps: Update. + +2012-03-21 H.J. Lu + + * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead + of x86_64 when setting libc_cv_slibdir, libdir and + libc_cv_localedir. + * sysdeps/unix/sysv/linux/configure: Regenerated. + +2012-03-21 Joseph Myers + + * manual/lang.texi (Old Varargs): Remove section. + (How Variadic): Update menu. + (va_start): Do not mention varargs.h. + +2012-03-21 Thomas Schwinge + Joseph Myers + + * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a + link test. + * configure: Regenerated. + +2012-03-21 Thomas Schwinge + + * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp. + * conform/run-conformtest.sh: Pass --tmpdir argument when invoking + conformtest.pl + +2012-03-21 Joseph Myers + + * NOTES: Remove. + * Makefile (files-for-dist): Remove NOTES. + (NOTES): Remove rule. + * README: Don't refer to NOTES. + * manual/creature.texi: Don't include macros.texi. + * manual/intro.texi (creature.texi): Remove comment referring to + NOTES. + + * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro. + * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION. + * configure: Regenerated. + * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use + LIBC_TRY_CC_OPTION. + (libc_cv_as_i686): Likewise. + (libc_cv_cc_avx): Likewise. + (libc_cv_cc_sse2avx): Likewise. + (libc_cv_cc_fma4): Likewise. + (libc_cv_cc_novzeroupper): Likewise. + * sysdeps/i386/configure: Regenerated. + + [BZ #13883] + * sysdeps/i386/fpu/s_cexp.S: Remove. + * sysdeps/i386/fpu/s_cexpf.S: Likewise. + * sysdeps/i386/fpu/s_cexpl.S: Likewise. + * math/libm-test.inc (cexp_test): Add more tests. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2012-03-21 Allan McRae + + * timezone/Makefile: Do not install iso3166.tab and zone.tab + +2012-03-21 Joseph Myers + + [BZ #13871] + * math/w_exp2.c: Do not include . + (o_threshold, u_threshold): Remove. + (__exp2): Calculate result before checking finiteness and calling + __kernel_standard. + * math/w_exp2f.c: Likewise. + * math/w_exp2l.c: Likewise. + * math/libm-test.inc (exp2_test): Require overflow exception for + 1e6 input. + + [BZ #3866] + * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the + range of signed 64-bit integers before using fistpll. Remove + checks for whether integers fit in mantissa bits. + * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside + the range of signed 32-bit integers before using fistpl. Remove + checks for whether integers fit in mantissa bits. + * sysdeps/i386/fpu/e_powl.S (p64): New object. + (__ieee754_powl): Test for y outside the range of signed 64-bit + integers before using fistpll. Reduce 64-bit values to 63-bit + ones as needed. + * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure + divide-by-zero is raised for zero to large negative powers. + * sysdeps/x86_64/fpu/e_powl.S (p64): New object. + (__ieee754_powl): Test for y outside the range of signed 64-bit + integers before using fistpll. Reduce 64-bit values to 63-bit + ones as needed. + * math/libm-test.inc (pow_test): Add more tests. + +2012-03-20 H.J. Lu + + * debug/backtracesymsfd.c: Include <_itoa.h> instead of + . + * debug/segfault.c: Likewise. + * elf/dl-cache.c: Likewise. + * elf/dl-minimal.c: Likewise. + * elf/dl-misc.c: Likewise. + * elf/dl-sysdep.c: Likewise. + * elf/dl-version.c: Likewise. + * elf/rtld.c: Likewise. + * hurd/hurdsock.c: Likewise. + * hurd/lookup-retry.c: Likewise. + * malloc/malloc.c: Likewise. + * malloc/mtrace.c: Likewise. + * nscd/nscd_getgr_r.c: Likewise. + * nscd/nscd_getpw_r.c: Likewise. + * nscd/nscd_getserv_r.c: Likewise. + * posix/getopt_init.c: Likewise. + * posix/wordexp.c: Likewise. + * stdio-common/_itoa.c: Likewise. + * stdio-common/printf_fphex.c: Likewise. + * stdio-common/vfprintf.c: Likewise. + * string/_strerror.c: Likewise. + * sysdeps/generic/elf/backtracesymsfd.c: Likewise. + * sysdeps/i386/i686/hp-timing.h: Likewise. + * sysdeps/mach/_strerror.c: Likewise. + * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise. + * sysdeps/mach/hurd/sethostid.c: Likewise. + * sysdeps/mach/hurd/xmknodat.c: Likewise. + * sysdeps/mach/xpg-strerror.c: Likewise. + * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise. + * sysdeps/powerpc/powerpc32/register-dump.h: Likewise. + * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise. + * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise. + * sysdeps/powerpc/powerpc64/register-dump.h: Likewise. + * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise. + * sysdeps/sparc/sparc64/hp-timing.h: Likewise. + * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise. + * sysdeps/unix/sysv/linux/futimes.c: Likewise. + * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise. + * sysdeps/unix/sysv/linux/ptsname.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise. + * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise. + * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise. + * sysdeps/unix/sysv/linux/ttyname.c: Likewise. + * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise. + + * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h". + + * stdio-common/_itoa.h: Moved to ... + * sysdeps/generic/_itoa.h: Here. + + * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h". + + * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h> + instead of "_itoa.h" and "_itowa.h". + * stdio-common/vfprintf.: Likewise. + +2012-03-20 H.J. Lu + + * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include + . + (__signbitf): Check __x86_64__ instead of __WORDSIZE. + (__signbit): Likewise. + (llrintf): Likewise. + (llrint): Likewise. + +2012-03-20 H.J. Lu + + * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with + __WORDSIZE != 64. + +2012-03-20 Joseph Myers + + * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and + OVERFLOW_EXCEPTION_OK. + * math/libm-test.inc ("Philosophy"): Update comment about + exception testing. + (OVERFLOW_EXCEPTION): Define. + (OVERFLOW_EXCEPTION_OK): Likewise. + (INVALID_EXCEPTION_OK): Renumber. + (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise. + (IGNORE_ZERO_INF_SIGN): Likewise. + (test_exceptions): Handle FE_OVERFLOW. + (exp10_test): Expect overflow exceptions. + (exp2_test): Likewise. + (expm1_test): Likewise. + (nextafter_test): Likewise. + (pow_test): Likewise. + (scalbn_test): Likewise. + (scalbln_test): Likewise. + +2012-03-19 H.J. Lu + + * sysdeps/x86_64/bits/atomic.h + (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on + 64bit integer. + (atomic_exchange_acq): Likewise. + (__arch_exchange_and_add_body): Likewise. + (__arch_add_body): Likewise. + (atomic_add_negative): Likewise. + (atomic_add_zero): Likewise. + +2012-03-19 H.J. Lu + + * sysdeps/x86_64/fpu/bits/fenv.h: Don't include . + (fenv_t): Check __x86_64__ instead of __WORDSIZE. + +2012-03-19 H.J. Lu + + * sysdeps/x86_64/bits/mathdef.h: Don't include . + Check __x86_64__ instead of __WORDSIZE. + +2012-03-19 H.J. Lu + + * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32. + +2012-03-19 David S. Miller + + * sysdeps/sparc/fpu/libm-test-ulps: Update. + + * sysdeps/sparc/fpu/fenv_private.h: New file. + * sysdeps/sparc/fpu/math_private.h: Use it. + (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl): + Remove. + (libc_feholdexcept_setround, libc_feholdexcept_setroundf) + (libc_feholdexcept_setroundl): Remove. + (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): + Remove. + (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove. + (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove. + +2012-03-19 H.J. Lu + + * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use + int64_t instead of long int. + (INSERT_WORDS64): Likewise. + +2012-03-19 H.J. Lu + + * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast + _Unwind_GetCFA return to _Unwind_Ptr first. + +2012-03-19 Joseph Myers + + [BZ #13629] + * math/s_clog.c: Include . + (__clog): Scale large or subnormal inputs. + * math/s_clogf.c: Likewise. + * math/s_clogl.c: Likewise. + * math/s_clog10.c: Include . + (M_LOG10_2): Define. + (__clog10): Scale large or subnormal inputs. + * math/s_clog10f.c: Likewise. + * math/s_clog10l.c: Likewise. + * math/libm-test.inc (clog_test): Add more tests. + (clog10_test): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + [BZ #11451] + * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large + x and y. + * math/libm-test.inc (atan2_test): Add another test. + + * Makerules (common-objdir-compile): Remove. + * sysdeps/unix/Makefile (config-generated): Do not add + $(unix-generated) to variable. + [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable. + [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h): + Remove rule. + [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim): + Likewise. + [generic bits/local_lim.h] (before-compile): Do not append to + variable. + [generic bits/local_lim.h] (common-generated): Likewise. + [generic sys/param.h] (before-compile): Do not append to variable. + [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule. + [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise. + [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise. + [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not + include. + [generic sys/param.h] (sys/param.h-includes): Remove variable. + [generic sys/param.h] (sys/param.h-includes): Remove rule. + [generic sys/param.h] ($(addprefix + $(common-objpfx),$(sys/param.h-includes))): Likewise. + [generic sys/param.h] (common-generated): Do not append to + variable. + [generic sys/param.h] (sysdep_headers): Likewise. + [generic bits/errno.h] (before-compile): Do not append to + variable. + [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove + rule. + [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise. + [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise. + [generic bits/errno.h] ($(common-objpfx)errnos): Likewise. + [generic bits/errno.h] (common-generated): Do not append to + variable. + [generic bits/ioctls.h] (before-compile): Do not append to + variable. + [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove + rule. + [generic bits/ioctls.h] (ioctl-includes): Remove variable. + [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise. + [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove + rule. + [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise. + [generic bits/ioctls.h] (bits_termios.h): Remove variable. + [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule. + [generic bits/ioctls.h] (common-generated): Do not append to + variable. + [generic sys/syscall.h] (syscall.h): Remove variable. + [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove + rule. + [generic sys/syscall.h] (before-compile): Do not append to + variable. + [generic sys/syscall.h] (common-generated): Likewise. + * sysdeps/unix/errnos-tmpl.c: Remove file. + * sysdeps/unix/errnos.awk: Likewise. + * sysdeps/unix/ioctls-tmpl.c: Likewise. + * sysdeps/unix/ioctls.awk: Likewise. + * sysdeps/unix/mk-local_lim.c: Likewise. + * sysdeps/unix/snarf-ioctls: Likewise. + +2012-03-19 Richard Henderson + + * sysdeps/i386/fpu/fenv_private.h: New file. + * sysdeps/i386/fpu/math_private.h: Use it. + (math_opt_barrier, math_force_eval): Remove. + (libc_feholdexcept_setround_53bit): Remove. + (libc_feupdateenv_53bit): Remove. + * sysdeps/x86_64/fpu/math_private.h: Likewise. + (math_opt_barrier, math_force_eval): Remove. + (libc_feholdexcept): Remove. + (libc_feholdexcept_setround): Remove. + (libc_fetestexcept, libc_fesetenv): Remove. + (libc_feupdateenv_test): Remove. + (libc_feupdateenv, libc_feholdsetround): Remove. + (libc_feresetround): Remove. + + * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv. + * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise. + + * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New. + (libc_feupdateenv_test, libc_feupdateenv_testf): New. + (libc_feupdateenv_testl): New. + * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New. + (libc_feupdateenv_testf): New. + (libc_feupdateenv): Use libc_feupdateenv_test. + * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test. + * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise. + + * sysdeps/generic/math_private.h (libc_feholdsetround): New. + (libc_feholdsetroundf, libc_feholdsetroundl): New. + (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New. + (libc_feresetround_noex): New. + (libc_feresetround_noexf): New. + (libc_feresetround_noexl): New. + (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New. + (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New. + (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New. + * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use + SET_RESTORE_ROUND. + * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise. + * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT. + (__cos): Likewise. + * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise. + * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use + SET_RESTORE_ROUND_NOEX. + * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use + SET_RESTORE_ROUND_NOEXF. + * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise. + * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New. + (libc_feholdsetroundf): New. + (libc_feresetround, libc_feresetroundf): New. + + * sysdeps/i386/fpu/math_private.h: Include , . + (libc_feholdexcept_setround_53bit): Convert from macro to function. + (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED. + + * sysdeps/generic/math_private.h: Include . + (default_libc_feholdexcept): New. + (default_libc_feholdexcept_setround): New. + (default_libc_fesetenv, default_libc_feupdateenv): New. + (libc_feholdexcept): Only define if undefined. + (libc_feholdexceptf, libc_feholdexceptl): Likewise. + (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise. + (libc_feholdexcept_setroundl): Likewise. + (libc_feholdexcept_setround_53bit): Likewise. + (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise. + (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise. + (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise. + (libc_feupdateenv_53bit): Likewise. + * sysdeps/x86_64/fpu/math_private.h: Include . + (libc_feholdexcept): Convert from macro to inline function. + (libc_feholdexcept_setround, libc_fetestexcept): Likewise. + (libc_fesetenv, libc_feupdateenv): Likewise. + + * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if + not previously defined. + (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise. + (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise. + (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file. + * sysdeps/ieee754/flt-32/math_private.h: New file. + * sysdeps/x86_64/fpu/math_private.h: Move the include_next of + math_private.h below SET_FLOAT_WORD. + (__isnan, __isinf_ns, __finite): Remove. + (__isnanf, __isinf_nsf, __finitef): Remove. + +2012-03-18 Andreas Schwab + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2012-03-17 David S. Miller + + [BZ #6471] + * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry + for 2.16. + +2012-03-16 David S. Miller + + * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid + warnings. + + [BZ #6471] + * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors + properly. + * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file. + * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to + sysdep_routines when subdir is sysvipc. + * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new + __getshmlba helper. + + * sysdeps/sparc/fpu/libm-test/ulps: Update. + +2012-03-16 H.J. Lu + + * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under + [__LP64__]. + +2012-03-16 H.J. Lu + + * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ... + * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This. + (__lround): Renamed to ... + (__llround): This. Replace long int with long long int. + Define lround functions as aliases of llround functions. + * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file. + +2012-03-16 H.J. Lu + + * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext): + Use greg_t on sp. Use unsigned int on idx_uc_link. Cast + adresses to uintptr_t. Replace "long int" and "unsigned long + int" with "greg_t" on va_arg. + +2012-03-16 H.J. Lu + + * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro. + * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32. + + * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file): + Move e_machine check before EI_CLASS check. Handle x32 + libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined. + * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define + SKIP_EM_IA_64 and include + . + + * sysdeps/unix/sysv/linux/x86_64/dl-cache.h: + Don't include . + (add_system_dir): New macro. + + * sysdeps/unix/sysv/linux/x86_64/ldconfig.h + (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2. + +2012-03-16 Joseph Myers + + [BZ #2551] + [BZ #2552] + [BZ #2553] + [BZ #2554] + [BZ #2562] + [BZ #2563] + [BZ #2565] + [BZ #2566] + [BZ #2576] + * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm. + (y0): Likewise. + * math/w_j0f.c (j0f): Likewise. + (y0f): Likewise. + * math/w_j0l.c (__j0l): Likewise. + (__y0l): Likewise. + * math/w_j1.c (j1): Likewise. + (y1): Likewise. + * math/w_j1f.c (j1f): Likewise. + (y1f): Likewise. + * math/w_j1l.c (__j1l): Likewise. + (__y1l): Likewise. + * math/w_jn.c (jn): Likewise. + (yn): Likewise. + * math/w_jnf.c (jnf): Likewise. + (ynf): Likewise. + * math/w_jnl.c (__jnl): Likewise. + (__ynl): Likewise. + * math/libm-test.inc (j0_test): Add more tests. + (j1_test): Likewise. + (jn_test): Likewise. Add trailing semicolon to existing test. + (y0_test): Likewise. + (y1_test): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + [BZ #13851] + [BZ #13854] + * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use + libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit. + * sysdeps/ieee754/ldbl-96/k_tanl.c: New file. + * sysdeps/ieee754/ldbl-96/s_tanl.c: Include . + (__tanl): Set errno for infinite argument. + * sysdeps/i386/fpu/mptan.c: Remove. + * sysdeps/i386/fpu/s_tan.S: Likewise. + * sysdeps/i386/fpu/s_tanl.S: Likewise. + * sysdeps/x86_64/fpu/k_tanl.c: Likewise. + * sysdeps/x86_64/fpu/s_tanl.S: Likewise. + * math/libm-test.inc (tan_test): Add more tests and enable more + tests for double and long double. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2012-03-16 Jan Kratochvil + + * sysdeps/x86_64/elf/start.S: Include . + (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc. + +2012-03-16 Roland McGrath + + * aclocal.m4 (LIBC_PRECONFIGURE): New macro. + * configure.in: Use it for both main tree and add-ons. + * configure: Regenerated. + +2012-03-16 H.J. Lu + + * time/offtime.c (__offtime): Use time_t on days, rem, y and yg. + +2012-03-16 Joseph Myers + + * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program + in comment. + + [BZ #13851] + * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file. + * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise. + * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise. + * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for + infinite argument. + * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise. + * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__ + != 0 for prec == 2. + * sysdeps/i386/fpu/e_rem_pio2l.c: Remove. + * sysdeps/i386/fpu/k_rem_pio2.c: Likewise. + * sysdeps/i386/fpu/s_cosl.S: Likewise. + * sysdeps/i386/fpu/s_sincosl.S: Likewise. + * sysdeps/i386/fpu/s_sinl.S: Likewise. + * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise. + * sysdeps/x86_64/fpu/k_cosl.c: Likewise. + * sysdeps/x86_64/fpu/k_sinl.c: Likewise. + * sysdeps/x86_64/fpu/s_cosl.S: Likewise. + * sysdeps/x86_64/fpu/s_sincosl.S: Likewise. + * sysdeps/x86_64/fpu/s_sinl.S: Likewise. + * math/libm-test.inc (cos_test): Add more tests and enable more + tests for long double. + (sin_test): Likewise. + (sincos_test): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2012-03-16 David S. Miller + + * sysdeps/sparc/fpu/math_private.h: New file. + +2012-03-15 David S. Miller + + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New + file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New + file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf + sysdep routines. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise. + + * sysdeps/sparc/sparc32/fpu/s_fma.c: New file. + * sysdeps/sparc/sparc64/fpu/s_fma.c: New file. + + * sysdeps/sparc/sparc-ifunc.h: New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use + sparc-ifunc.h + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: + Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: + Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: + Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: + Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: + Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise. + +2012-03-15 Andreas Schwab + + * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of + scaling. + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2012-03-15 Andreas Jaeger + + [BZ #13852] + * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the + ieee754/flt-32 implementation for sin, cos and sincos. + * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise. + * sysdeps/i386/fpu/s_cosf.S: Likewise. + * sysdeps/i386/fpu/s_sincosf.S: Likewise. + * sysdeps/i386/fpu/s_sinf.S: Likewise. + * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the + ieee754/flt-32 implementation for tan. + + * math/libm-test.inc (cos_test): Enable some large input tests for + float as well + (sin_test): Likewise. + (sincos_test): Likewise. + (tan_test): Add tests for large input. + + * sysdeps/i386/fpu/libm-test-ulps: Update. + +2012-03-15 Andreas Jaeger + + [BZ #13658] + * math/libm-test.inc (cos_test): Add more test cases. + (sin_test): Likewise. + (sincos_test): Likewise. + +2012-03-15 Andreas Jaeger + + [BZ #13837] + * math/libm-test.inc (cos_test): Add a test case for large input + value. + (sin_test): Likewise. + (sincos_test): Likewise. + +2012-03-15 Andreas Jaeger + Joseph Myers + + [BZ #13658] + * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that + x86-64 and i386 use the iee754/dbl-64 sin and cos implementation. + * sysdeps/i386/fpu/branred.c: Likewise. + * sysdeps/i386/fpu/dosincos.c: Likewise. + * sysdeps/i386/fpu/mpa.c: Likewise. + * sysdeps/i386/fpu/s_cos.S: Likewise. + * sysdeps/i386/fpu/s_sin.S: Likewise. + * sysdeps/i386/fpu/s_sincos.S: Likewise. + * sysdeps/i386/fpu/sincos32.c: Likewise. + + * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit): + Define. + (libc_feupdateenv_53bit): Define. + * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit): + Define. + (libc_feupdateenv_53bit): Define. + + * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in + 53 bit (without extend i386 double precision). + + * math/libm-test.inc (sincos_test): Add tests for large input. + (sin): Likewise. + (cos): Likewise. + + * sysdeps/i386/fpu/libm-test-ulps: Update ULPs. + +2012-03-15 Andreas Schwab + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2012-03-15 David S. Miller + + * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file. + * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file. + * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file. + * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New + file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New + file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New + file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New + file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3 + fmin/fmax sysdep routines. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise. + +2012-03-14 David S. Miller + + * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3 + routines. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New + file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New + file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New + file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New + file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New + file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New + file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New + file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New + file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New + file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S: + New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New + file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New + file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New + file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New + file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New + file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new + VIS3 routines. + + * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies: + New file. + + * sysdeps/sparc/fpu/libm-test-ulps: Update. + + * sysdeps/sparc/configure.in: New file. + * sysdeps/sparc/configure: Generate. + * configure.in (libc_cv_sparc_as_vis3): Substitute. + * configure: Regenerate. + * config.h.in (HAVE_AS_VIS3_SUPPORT): New. + * config.make.in (have-as-vis3): New. + * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is + available use -Av9d instead of -Av9a. + * sysdeps/sparc/sparc64/Makefile: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S: + New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New + file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S: + New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New + file. + * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file. + + * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use + fzeros/fnegs to load 0x80000000 into a float register instead of + using the stack. + * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise. + +2012-03-14 Joseph Myers + + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add + bits/syscall.h. + ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h. + ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d. + ($(inst_includedir)/bits/syscall.h): Remove rule. + ($(objpfx)bits/syscall.d): Include instead of + $(objpfx)syscall-list.d. + (generated): Change syscall-list.h and syscall-list.d to + bits/syscall.h and bits/syscall.d. + +2012-03-14 Roland McGrath + + [BZ #13846] + * manual/llio.texi (Memory-mapped I/O): Fix wrong function name. + +2012-03-14 Joseph Myers + + [BZ #13841] + * math/s_csqrt.c: Include . + (__csqrt): Scale large or subnormal inputs. + * math/s_csqrtf.c: Likewise. + * math/s_csqrtl.c: Likewise. + * math/libm-test.inc (csqrt_test): Add more tests. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + [BZ #13840] + * math/libm-test.inc (hypot_test): Add more tests. + +2012-03-13 David S. Miller + + [BZ #13840] + * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use + double-precision for the calculation instead of scaling. + +2012-03-13 Joseph Myers + + * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not + manipulate bits before adding and subtracting TWO52[sx]. + * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint): + Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise. + +2012-03-13 David S. Miller + + * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling. + * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete. + * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include + rtld-global-offsets.h + * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise. + + * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for + large parameters. + + * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file. + + * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall + 'err' in the ifdef scope in which it is actually used. + + * nss/nss_db/db-init.c: Include string.h + +2012-03-12 David S. Miller + + * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix + masking out of the most significant byte of random value used. + * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): + Fix coding style in previous change. + + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later. + (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify + expression. + (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and + later. + +2012-03-11 David S. Miller + + * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c + (__makecontext): Fix signedness of pointer casts setting up 'sp'. + * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long' + for 'resultvar' otherwise things get truncated on 64-bit. + + * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): + Fix masking out of the most significant byte of random value used. + + * sysdeps/sparc/fpu/libm-test-ulps: Update. + +2012-03-10 Andreas Schwab + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2012-03-09 David S. Miller + + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local + variables with appropriate CPP guards. + * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr + from the frame pointer, not the stack pointer. Correct layout + comments. Fix test on resulting framesize and the management of + the outregs buffer for pltexit. Preserve floating point return + values across _dl_call_pltexit call. + * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting + framesize and the management of the outregs buffer for pltexit. + Preserve floating point return values across _dl_call_pltexit + call. + * elf/sotruss-lib.c (la_sparc32_gnu_pltenter) + (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit) + (la_sparc64_gnu_pltexit): New functions. + (print_exit): Fix format string for return register value. + +2012-03-10 Joseph Myers + + * sunrpc/Makefile (others): Add rpcgen. + ($(objpfx)rpcgen): Remove special build rule and dependency on + libc. + * sunrpc/rpcgen.c: New file. + +2012-03-09 Paul Eggert + + [BZ #13673] + * posix/bug-regex33.c: Replace FSF snail mail address with URL. + * stdio-common/bug-vfprintf-nargs.c: Likewise. + * sysdeps/i386/crti.S: Likewise. + * sysdeps/i386/crtn.S: Likewise. + * sysdeps/powerpc/powerpc32/crti.S: Likewise. + * sysdeps/powerpc/powerpc32/crtn.S: Likewise. + * sysdeps/powerpc/powerpc64/crti.S: Likewise. + * sysdeps/powerpc/powerpc64/crtn.S: Likewise. + * sysdeps/sh/crti.S: Likewise. + * sysdeps/sh/crtn.S: Likewise. + * sysdeps/x86_64/fpu/e_expf.S: Likewise. + + [BZ #13673] + * locale/programs/charmap-kw.gperf: Replace FSF snail mail address + with URL. + * locale/programs/locfile-kw.gperf: Likewise. + * locale/programs/charmap-kw.h: Regenerated. + * locale/programs/locfile-kw.h: Likewise. + + [BZ #13673] + * intl/plural.y: Replace FSF snail mail address with URL. + * intl/plural.c: Regenerated. + +2012-03-09 Richard Henderson + + * include/math_private.h: Remove file. + * math/math_private.h: Move file ... + * sysdeps/generic/math_private.h: ... here. + + * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h. + * sysdeps/powerpc/fpu/math_private.h: Likewise. + * sysdeps/x86_64/fpu/math_private.h: Likewise. + + * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both + and . + * sysdeps/i386/fpu/s_isinfl.c: Likewise. + * sysdeps/i386/fpu/s_isnanl.c: Likewise. + * sysdeps/i386/fpu/s_nextafterl.c: Likewise. + * sysdeps/i386/fpu/s_nexttoward.c: Likewise. + * sysdeps/i386/fpu/s_nexttowardf.c: Likewise. + * sysdeps/ieee754/dbl-64/branred.c: Likewise. + * sysdeps/ieee754/dbl-64/doasin.c: Likewise. + * sysdeps/ieee754/dbl-64/dosincos.c: Likewise. + * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise. + * sysdeps/ieee754/dbl-64/e_asin.c: Likewise. + * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. + * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise. + * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise. + * sysdeps/ieee754/dbl-64/e_exp.c: Likewise. + * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise. + * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise. + * sysdeps/ieee754/dbl-64/e_j0.c: Likewise. + * sysdeps/ieee754/dbl-64/e_j1.c: Likewise. + * sysdeps/ieee754/dbl-64/e_jn.c: Likewise. + * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise. + * sysdeps/ieee754/dbl-64/e_log.c: Likewise. + * sysdeps/ieee754/dbl-64/e_log10.c: Likewise. + * sysdeps/ieee754/dbl-64/e_log2.c: Likewise. + * sysdeps/ieee754/dbl-64/e_pow.c: Likewise. + * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise. + * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise. + * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise. + * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise. + * sysdeps/ieee754/dbl-64/halfulp.c: Likewise. + * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise. + * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise. + * sysdeps/ieee754/dbl-64/s_atan.c: Likewise. + * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise. + * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise. + * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise. + * sysdeps/ieee754/dbl-64/s_erf.c: Likewise. + * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise. + * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise. + * sysdeps/ieee754/dbl-64/s_finite.c: Likewise. + * sysdeps/ieee754/dbl-64/s_floor.c: Likewise. + * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise. + * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise. + * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise. + * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise. + * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise. + * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise. + * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise. + * sysdeps/ieee754/dbl-64/s_llround.c: Likewise. + * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise. + * sysdeps/ieee754/dbl-64/s_logb.c: Likewise. + * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise. + * sysdeps/ieee754/dbl-64/s_lround.c: Likewise. + * sysdeps/ieee754/dbl-64/s_modf.c: Likewise. + * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise. + * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise. + * sysdeps/ieee754/dbl-64/s_rint.c: Likewise. + * sysdeps/ieee754/dbl-64/s_round.c: Likewise. + * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise. + * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise. + * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise. + * sysdeps/ieee754/dbl-64/s_sin.c: Likewise. + * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise. + * sysdeps/ieee754/dbl-64/s_tan.c: Likewise. + * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise. + * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise. + * sysdeps/ieee754/dbl-64/sincos32.c: Likewise. + * sysdeps/ieee754/dbl-64/slowexp.c: Likewise. + * sysdeps/ieee754/dbl-64/slowpow.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise. + * sysdeps/ieee754/flt-32/e_acosf.c: Likewise. + * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise. + * sysdeps/ieee754/flt-32/e_asinf.c: Likewise. + * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise. + * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise. + * sysdeps/ieee754/flt-32/e_coshf.c: Likewise. + * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise. + * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise. + * sysdeps/ieee754/flt-32/e_j0f.c: Likewise. + * sysdeps/ieee754/flt-32/e_j1f.c: Likewise. + * sysdeps/ieee754/flt-32/e_jnf.c: Likewise. + * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise. + * sysdeps/ieee754/flt-32/e_log10f.c: Likewise. + * sysdeps/ieee754/flt-32/e_log2f.c: Likewise. + * sysdeps/ieee754/flt-32/e_logf.c: Likewise. + * sysdeps/ieee754/flt-32/e_powf.c: Likewise. + * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise. + * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise. + * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise. + * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise. + * sysdeps/ieee754/flt-32/k_cosf.c: Likewise. + * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise. + * sysdeps/ieee754/flt-32/k_sinf.c: Likewise. + * sysdeps/ieee754/flt-32/k_tanf.c: Likewise. + * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise. + * sysdeps/ieee754/flt-32/s_atanf.c: Likewise. + * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise. + * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise. + * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise. + * sysdeps/ieee754/flt-32/s_cosf.c: Likewise. + * sysdeps/ieee754/flt-32/s_erff.c: Likewise. + * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise. + * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise. + * sysdeps/ieee754/flt-32/s_finitef.c: Likewise. + * sysdeps/ieee754/flt-32/s_floorf.c: Likewise. + * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise. + * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise. + * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise. + * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise. + * sysdeps/ieee754/flt-32/s_isinff.c: Likewise. + * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise. + * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise. + * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise. + * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise. + * sysdeps/ieee754/flt-32/s_logbf.c: Likewise. + * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise. + * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise. + * sysdeps/ieee754/flt-32/s_modff.c: Likewise. + * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise. + * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise. + * sysdeps/ieee754/flt-32/s_remquof.c: Likewise. + * sysdeps/ieee754/flt-32/s_rintf.c: Likewise. + * sysdeps/ieee754/flt-32/s_roundf.c: Likewise. + * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise. + * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise. + * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise. + * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise. + * sysdeps/ieee754/flt-32/s_sinf.c: Likewise. + * sysdeps/ieee754/flt-32/s_tanf.c: Likewise. + * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise. + * sysdeps/ieee754/flt-32/s_truncf.c: Likewise. + * sysdeps/ieee754/k_standard.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise. + * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise. + * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise. + * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise. + * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise. + * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise. + * sysdeps/ieee754/s_lib_version.c: Likewise. + * sysdeps/ieee754/s_matherr.c: Likewise. + * sysdeps/ieee754/s_signgam.c: Likewise. + * sysdeps/powerpc/fpu/e_hypot.c: Likewise. + * sysdeps/powerpc/fpu/e_hypotf.c: Likewise. + * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise. + * sysdeps/powerpc/fpu/k_cosf.c: Likewise. + * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise. + * sysdeps/powerpc/fpu/k_sinf.c: Likewise. + * sysdeps/powerpc/fpu/s_cosf.c: Likewise. + * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise. + * sysdeps/powerpc/fpu/s_isnan.c: Likewise. + * sysdeps/powerpc/fpu/s_rint.c: Likewise. + * sysdeps/powerpc/fpu/s_rintf.c: Likewise. + * sysdeps/powerpc/fpu/s_sinf.c: Likewise. + * sysdeps/powerpc/fpu/w_sqrt.c: Likewise. + * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise. + * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise. + * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise. + * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise. + * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise. + +2012-03-09 Joseph Myers + + * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals. + * sunrpc/rpc_main.c: Likewise. + * sunrpc/rpc_svcout.c: Likewise. + +2012-03-09 David S. Miller + + * include/math_private.h: New file. + +2012-03-09 Joseph Myers + + * sysdeps/unix/sysv/linux/bits/socket_type.h: New file. + * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise. + * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type + from . + (enum __socket_type): Don't define here. + * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add + bits/socket_type.h. + + [BZ #13566] + * libio/stdio.h (gets): Always declare for C++ up to C++11 without + checking __USE_GNU. + + * Makerules ($(inst_includedir)/%.h): New rule. + * stdio-common/Makefile (headers): Add bits/stdio_lim.h. + (install-others): Remove variable setting. + ($(inst_includedir)/bits/stdio_lim.h): Remove rule. + +2012-03-08 Richard Henderson + + * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert + from macro to inline function; merge with the + !__LIBC_INTERNAL_MATH_INLINES version. + (__ieee754_sqrtf): Likewise. + + * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro + to inline function. + (__rintf, __floor, __floorf): Likewise. + + * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from + macro to inline function. + (__ieee754_sqrtf, __ieee754_sqrtl): Likewise. + + * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include , + not . + +2012-03-08 David S. Miller + + * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update + copyright year. + * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise. + +2012-03-08 Thomas Schwinge + + * resolv/gai_misc.c (handle_requests): Fix struct timespec + normalization. + * rt/tst-cpuclock2.c (test_nanosleep): Likewise. + * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise. + +2012-03-08 Ulrich Drepper + + * stdio-common/tst-fphex.c: Various cleanups. The macros cannot + be defined individually, they must be defined as a block. Define + S for printing a string instead of hidint the different by using a + macro for adding the 'l'. + * stdio-common/tst-fphex-wide.c: Adjust. + +2012-03-07 Marek Polacek + + * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets. + +2012-03-08 Marek Polacek + + [BZ #13806] + * stdio-common/Makefile (tests): Add tst-fphex-wide. + * stdio-common/tst-fphex.c: Define a few macros to make the + test reusable. Use them. + * stdio-common/tst-fphex-wide.c: New file. + +2012-03-08 Joseph Myers + + [BZ #6911] + * manual/macros.texi (gnusystems): New macro. + (nongnusystems): Likewise. + (gnulinuxhurdsystems): Likewise. + (gnuhurdsystems): Likewise.. + (gnulinuxsystems): Likewise. + * manual/charset.texi: Use new macros or @theglibc{} to refer to + variants of the GNU system, not "GNU system". + * manual/conf.texi: Likewise. + * manual/errno.texi: Likewise. Update example of errno macro + expansion. + * manual/filesys.texi: Likewise. + (getumask): Document as specific to GNU/Hurd. + * manual/install.texi: Likewise. Reword some references to + GNU/Linux. + * manual/intro.texi: Likewise. + * manual/io.texi: Likewise. + (File Name Portability): Detail which constraints are inapplicable + to all GNU systems and which are only inapplicable to GNU/Hurd. + * manual/job.texi: Likewise. + * manual/llio.texi: Likewise. + (O_NOCTTY): Document as present on GNU/Linux. + * manual/maint.texi: Likewise. + * manual/memory.texi: Likewise. + * manual/pattern.texi: Likewise. + * manual/pipe.texi: Likewise. + * manual/process.texi: Likewise. + * manual/resource.texi: Likewise. + (RUSAGE_CHILDREN): Remove statement about specifying a particular + child on GNU/Hurd. + * manual/setjmp.texi: Likewise. + * manual/signal.texi: Likewise. + * manual/startup.texi: Likewise. + * manual/stdio.texi: Likewise. + * manual/terminal.texi: Likewise. + (ONLCR): Document as POSIX. + (OXTABS): Document availability on GNU/Linux as XTABS. + (ONOEOT): Document availability separately from other bits. + (VLNEXT, VDISCARD, VSTATUS): Document availability individually. + * manual/time.texi: Likewise. + * manual/users.texi: Likewise. + * INSTALL: Regenerated. + * sysdeps/gnu/errlist.c: Regenerated. + + * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro. + * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC. + (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling + puts. + * configure: Regenerated. + +2012-03-07 Joseph Myers + + * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no + default includes instead of AC_HEADER_CHECK. + * sysdeps/i386/configure: Regenerated. + + [BZ #10716] + * math/s_cacosh.c (__cacosh): Convert negative log results to 0. + * math/s_cacoshf.c (__cacoshf): Likewise. + * math/s_cacoshl.c (__cacoshl): Likewise. + * math/s_casinh.c (__casinh): Set signs of result from argument. + * math/s_casinhf.c (__casinhf): Likewise. + * math/s_casinhl.c (__casinhl): Likewise. + * math/libm-test.inc (cacos_test, cacosh_test, casin_test) + (casinh_test): Add more tests. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2012-03-07 Ulrich Drepper + + * po/zh_TW.po: Update from translation team. + + * login/Makefile (distribute): Remove variable. + * catgets/Makefile: Likewise. + * mach/Makefile: Likewise. + * malloc/Makefile: Likewise. + * misc/Makefile: Likewise. + * iconv/Makefile: Likewise. + * nscd/Makefile: Likewise. + * hurd/Makefile: Likewise. + * manual/Makefile: Likewise. + * locale/Makefile: Likewise. + * intl/Makefile: Likewise. + * conform/Makefile: Likewise. + * nss/Makefile: Likewise. + * time/Makefile: Likewise. + * soft-fp/Makefile: Likewise. + * dirent/Makefile: Likewise. + * gmon/Makefile: Likewise. + * po/Makefile: Likewise. + * rt/Makefile: Likewise. + * socket/Makefile: Likewise. + * math/Makefile: Likewise. + * signal/Makefile: Likewise. + * debug/Makefile: Likewise. + * elf/Makefile: Likewise. + * timezone/Makefile: Likewise. + * stdlib/Makefile: Likewise. + * iconvdata/Makefile: Likewise. + * sunrpc/Makefile: Likewise. + * io/Makefile: Likewise. + * argp/Makefile: Likewise. + * inet/Makefile: Likewise. + * hesiod/Makefile: Likewise. + * grp/Makefile: Likewise. + * csu/Makefile: Likewise. + * wctype/Makefile: Likewise. + * crypt/Makefile: Likewise. + * libio/Makefile: Likewise. + * string/Makefile: Likewise. + * nis/Makefile: Likewise. + * resolv/Makefile: Likewise. + * stdio-common/Makefile: Likewise. + * wcsmbs/Makefile: Likewise. + * dlfcn/Makefile: Likewise. + * posix/Makefile: Likewise. + + [BZ #6959] + * timezone/Makefile: Don't install timezone files, just the programs + and scripts. + +2012-03-06 Ulrich Drepper + + * nss/databases.def: Add missing gshadow entry. + + * stdio-common/vfprintf.c: Fix formatting. Missing copyright update. + +2012-03-06 Marek Polacek + + [BZ #13726] + * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr. + * sysdeps/x86_64/fpu/printf_fphex.c: Likewise. + * stdio-common/Makefile (tests): Add tst-long-dbl-fphex. + * stdio-common/tst-long-dbl-fphex.c: New file. + +2012-03-06 David S. Miller + + * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c + (set_obp_int): New function. + (get_obp_int): New function. + (__get_clockfreq_via_dev_openprom): Likewise. + * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P): + Avoid unused variable warnings on 'val' and use builtin_expect. + (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with + __builtin_expect. + (INLINE_CLONE_SYSCALL): Likewise. + +2012-03-05 David S. Miller + + * sysdeps/sparc/fpu/libm-test-ulps: Update. + +2012-03-05 Andreas Schwab + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + + * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term + only for |x| >= 40. + * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise. + +2012-03-05 H.J. Lu + + * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc): + Replace gettimeofday with __vdso_gettimeofday. + + * sysdeps/unix/sysv/linux/x86_64/init-first.c + (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with + __vdso_clock_gettime and __vdso_getcpu. + + * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace + time with __vdso_time. + +2012-03-05 Joseph Myers + + * manual/lang.texi (size_t): Note types to which size_t may be + equivalent with the GNU C Library, but do not describe when + differences between them are significant. + +2012-03-05 Andreas Jaeger + + * sysdeps/i386/fpu/libm-test-ulps: Update. + +2012-03-05 Joseph Myers + + [BZ #3976] + * sysdeps/ieee754/dbl-64/e_pow.c: Include . + (__ieee754_pow): Save and restore rounding mode and use + round-to-nearest for main computations. + * math/libm-test.inc (pow_test_tonearest): New function. + (pow_test_towardzero): Likewise. + (pow_test_downward): Likewise. + (pow_test_upward): Likewise. + (main): Call the new functions. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + [BZ #3976] + * math/libm-test.inc (cosh_test_tonearest): New function. + (cosh_test_towardzero): Likewise. + (cosh_test_downward): Likewise. + (cosh_test_upward): Likewise. + (sinh_test_tonearest): Likewise. + (sinh_test_towardzero): Likewise. + (sinh_test_downward): Likewise. + (sinh_test_upward): Likewise. + (main): Call the new functions. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2012-03-05 Tom de Vries + + * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure + default stack guard is set in last bytes. + * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same. + +2012-03-05 Kees Cook + + * stdio-common/vfprintf.c (vfprintf): add missing errno settings. + + [BZ #13656] + * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and + possibly allocate from heap instead of stack. + * stdio-common/bug-vfprintf-nargs.c: New file. + * stdio-common/Makefile (tests): Add nargs overflow test. + +2012-03-03 Andreas Schwab + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2012-03-03 Marek Polacek + + * include/sys/cdefs.h: Remove __GNUC_PREREQ macro. + * math/math_private.h: Likewise. + * stdlib/tst-strtod.c: Likewise. + * sysdeps/i386/i486/bits/atomic.h: Likewise. + * sysdeps/x86_64/bits/atomic.h: Likewise. + +2012-03-02 David S. Miller + + * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file. + * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file. + * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file. + * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file. + * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file. + +2012-03-02 Roland McGrath + + [BZ #13792] + * manual/examples/README: New file, says the example source files + can be used under GPL>=2. + * manual/Makefile (%.c.texi): Eat the leading part of the file until a + line containing just "*/". + * manual/examples/add.c: Add copyright header (GPL>=2). + * manual/examples/argp-ex1.c: Likewise. + * manual/examples/argp-ex2.c: Likewise. + * manual/examples/argp-ex3.c: Likewise. + * manual/examples/argp-ex4.c: Likewise. + * manual/examples/atexit.c: Likewise. + * manual/examples/db.c: Likewise. + * manual/examples/dir.c: Likewise. + * manual/examples/dir2.c: Likewise. + * manual/examples/execinfo.c: Likewise. + * manual/examples/filecli.c: Likewise. + * manual/examples/filesrv.c: Likewise. + * manual/examples/fmtmsgexpl.c: Likewise. + * manual/examples/genpass.c: Likewise. + * manual/examples/inetcli.c: Likewise. + * manual/examples/inetsrv.c: Likewise. + * manual/examples/isockad.c: Likewise. + * manual/examples/longopt.c: Likewise. + * manual/examples/memopen.c: Likewise. + * manual/examples/memstrm.c: Likewise. + * manual/examples/mkfsock.c: Likewise. + * manual/examples/mkisock.c: Likewise. + * manual/examples/mygetpass.c: Likewise. + * manual/examples/pipe.c: Likewise. + * manual/examples/popen.c: Likewise. + * manual/examples/rprintf.c: Likewise. + * manual/examples/search.c: Likewise. + * manual/examples/select.c: Likewise. + * manual/examples/setjmp.c: Likewise. + * manual/examples/sigh1.c: Likewise. + * manual/examples/sigusr.c: Likewise. + * manual/examples/stpcpy.c: Likewise. + * manual/examples/strdupa.c: Likewise. + * manual/examples/strftim.c: Likewise. + * manual/examples/strncat.c: Likewise. + * manual/examples/subopt.c: Likewise. + * manual/examples/swapcontext.c: Likewise. + * manual/examples/termios.c: Likewise. + * manual/examples/testopt.c: Likewise. + * manual/examples/testpass.c: Likewise. + * manual/examples/timeval_subtract.c: Likewise. + + [BZ #13792] + * manual/time.texi (Elapsed Time): Move timeval_subtract example + function to ... + * manual/timeval_subtract.c.texi: ... here, new file. + +2012-03-02 David S. Miller + + * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests. + +2012-03-02 Joseph Myers + + [BZ #3976] + * sysdeps/ieee754/dbl-64/s_sin.c: Include + (__sin): Save and restore rounding mode and use round-to-nearest + for all computations. + (__cos): Save and restore rounding mode and use round-to-nearest + for all computations. + * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and + . + (tan): Save and restore rounding mode and use round-to-nearest for + all computations. + * math/libm-test.inc (cos_test_tonearest): New function. + (cos_test_towardzero): Likewise. + (cos_test_downward): Likewise. + (cos_test_upward): Likewise. + (sin_test_tonearest): Likewise. + (sin_test_towardzero): Likewise. + (sin_test_downward): Likewise. + (sin_test_upward): Likewise. + (tan_test_tonearest): Likewise. + (tan_test_towardzero): Likewise. + (tan_test_downward): Likewise. + (tan_test_upward): Likewise. + (main): Call the new functions. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + [BZ #10135] + * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for + small n, then large n, before computing and testing k+n. + * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln): + Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn): + Likewise. + * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise. + * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise. + * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise. + * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise. + * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise. + * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise. + * math/libm-test.inc (scalbn_test): Add more tests. + (scalbln_test): Likewise. + + * manual/filesys.texi (mode_t): Describe constraints on size and + signedness, not exact equivalence to a particular type. + (ino_t): Likewise. + (ino64_t): Likewise. + (dev_t): Likewise. + (nlink_t): Likewise. + (blkcnt_t): Likewise. + (blkcnt64_t): Likewise. + * manual/llio.texi (off_t): Likewise. + + [BZ #3976] + * sysdeps/ieee754/dbl-64/e_exp.c: Include . + (__ieee754_exp): Save and restore rounding mode and use + round-to-nearest for all computations. + * math/libm-test.inc (exp_test_tonearest): New function. + (exp_test_towardzero): Likewise. + (exp_test_downward): Likewise. + (exp_test_upward): Likewise. + (main): Call the new functions. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2012-03-01 Chris Demetriou + + * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to + have predictable order. + +2012-03-01 David S. Miller + + * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete. + + * sysdeps/sparc/sparc64/fpu/s_finite.S: New file. + * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file. + * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file. + * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file. + + * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file. + * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file. + * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file. + * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file. + * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file. + * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file. + * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file. + * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file. + + * sysdeps/sparc/fpu/libm-test-ulps: Update. + + * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move... + * sysdeps/sparc/fpu/libm-test-ulps: to here. + * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete. + + * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks. + * sysdeps/sparc/sparc32/dl-machine.h: Likewise. + * sysdeps/sparc/sparc32/elf/start.S: Likewise. + * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise. + * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise. + * sysdeps/sparc/sparc64/dl-machine.h: Likewise. + * sysdeps/sparc/sparc64/elf/start.S: Likewise. + * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise. + * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. + * config.h.in (HAVE_BINUTILS_GOTDATA): Delete. + * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks. + * sysdeps/sparc/elf/configure: Regenerated. + +2012-03-01 Joseph Myers + + * configure.in (AS, LD): Require binutils 2.20 or later. + * configure: Regenerated. + * manual/install.texi (Tools for Compilation): Give binutils 2.20 + as required minimum version. + * INSTALL: Regenerated. + + [BZ #2541] + [BZ #4108] + * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit + before squaring exponent. + * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole + bottom long double and 27 bits of top long double before squaring + exponent. + * math/libm-test.inc (erfc_test): Add more tests. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/powerpc/fpu/libm-test-ulps: Likewise. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2012-03-01 Kai Tietz + + * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro. + * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct + containing bit-fields. + * soft-fp/extended.h (_FP_UNION_E): Likewise. + * soft-fp/single.h (_FP_UNION_S): Likewise. + * soft-fp/double.h (_FP_UNION_D): Likewise. + +2012-02-29 Joseph Myers + + [BZ #13786] + * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do + not include ../strcmp.S. + [USE_AS_STRNCASECMP_L]: Likewise. + * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c + (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii. + * sysdeps/i386/i686/multiarch/strncase_l-c.c + (__strncasecmp_l_ia32): Define as alias to + __strncasecmp_l_nonascii. + + [BZ #5794] + * math/libm-test.inc (expm1_test): Add test for bug 5794. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2012-02-29 Jeff Law + + * resolv/res_query.c (__libc_res_nquerydomain): Avoid + out of bounds read. + +2012-02-29 Marek Polacek + + [BZ #13706] + * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO. + * elf/Makefile: Add rules to run tst-unused-dep.out. + +2012-02-28 David S. Miller + + * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file. + * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file. + * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file. + * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file. + +2012-02-29 Joseph Myers + + * math/libm-test.inc (llround_test): Move one test from + lround_test. Use TEST_f_L in moved test. + (lround_test): Move misplaced test to llround_test. Add testcase + from bug 2561. + +2012-02-28 Ulrich Drepper + + * sysdeps/x86_64/fpu/e_expf.S: New file. + Contributed by Dmitrieva Liubov . + +2012-02-28 Stanislav Brabec + + [BZ #13637] + * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation + of remain_len that may cause incomplete multi-byte character and + false match. + * posix/bug-regex33.c: New file. + * posix/Makefile (tests): Add bug-regex33. + +2012-02-28 Joseph Myers + + * manual/macros.texi: New file. + * Makefile (INSTALL, NOTES): Depend on manual/macros.texi. + * manual/libc.texinfo: Include macros.texi. + * manual/creatute.texi: Likewise. + * manual/install.texi: Likewise. + * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and + @glibcadj{} in references to the GNU C Library. + * manual/charset.texi: Likewise. + * manual/conf.texi: Likewise. + * manual/contrib.texi: Likewise. Consistently use "GNU C Library" + when not using those macros. + * manual/creature.texi: Likewise. + * manual/crypt.texi: Likewise. + * manual/errno.texi: Likewise. + * manual/filesys.texi: Likewise. + * manual/header.texi: Likewise. + * manual/install.texi: Likewise. + * manual/intro.texi: Likewise. + * manual/io.texi: Likewise. + * manual/job.texi: Likewise. + * manual/lang.texi: Likewise. + * manual/libc.texiinfo: Likewise. + * manual/llio.texi: Likewise. + * manual/locale.texi: Likewise. + * manual/maint.texi: Likewise. + * manual/math.texi: Likewise. + * manual/memory.texi: Likewise. + * manual/message.texi: Likewise. + * manual/nss.texi: Likewise. + * manual/pattern.texi: Likewise. + * manual/process.texi: Likewise. + * manual/resource.texi: Likewise. + * manual/search.texi: Likewise. + * manual/setjmp.texi: Likewise. + * manual/signal.texi: Likewise. + * manual/socket.texi: Likewise. + * manual/startup.texi: Likewise. + * manual/stdio.texi: Likewise. + * manual/string.texi: Likewise. + * manual/sysinfo.texi: Likewise. + * manual/syslog.texi: Likewise. + * manual/terminal.texi: Likewise. + * manual/time.texi: Likewise. + * manual/users.texi: Likewise. + * INSTALL: Regenerated. + * NOTES: Regenerated. + * sysdeps/gnu/errlist.c: Regenerated. + +2012-02-28 Andreas Schwab + + * include/dirent.h: Include before + . + +2012-02-28 David S. Miller + + * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file. + * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file. + * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file. + * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file. + +2012-02-27 David S. Miller + + * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file. + * sysdeps/sparc/sparc64/fpu/s_floor.S: New file. + * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file. + + * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of + frame pointer instead of stack pointer relative arg slot. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise. + * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise. + * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise. + +2012-02-27 Carlos O'Donell + + [BZ #3992] + * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h. + +2012-02-27 David S. Miller + + * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise. + * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise. + * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise. + * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise. + * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise. + +2012-02-27 Joseph Myers + + * configure.in (CC): Restrict allowed GCC versions to 4.3 and + later. Allow versions 5-9. + * configure: Regenerated. + * manual/install.texi (Tools for Compilation): Give GCC 4.3 as + required minimum version and 4.6 as recommended version. Do not + mention bugs in GCC 2.7 and 2.8. + * INSTALL: Regenerated. + +2012-02-27 David S. Miller + + * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file. + * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file. + * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file. + * sysdeps/sparc/sparc64/fpu/s_rint.S: New file. + * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file. + + * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not + manipulate bits before adding and subtracting TWO112[sx]. + * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise. + +2012-02-27 Roland McGrath + + [BZ #13775] + * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under + [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls. + * libio/stdio.h (vdprintf, dprintf): Remove comment about these not + being in POSIX, because they are in 1003.1-2008. + + * rt/tst-aio.c: Include . + * rt/tst-aio7.c: Likewise. + * rt/tst-aio64.c: Likewise. + + * stdio-common/tst-fmemopen.c (main): Remove spurious const. + +2012-02-27 Joseph Myers + + * manual/install.texi (--with-headers): Describe headers as + interface headers, not private headers. + (Specific advice for GNU/Linux systems): Describe use of headers + from "make headers_install", not private headers from older + kernels. + * INSTALL: Regenerated. + * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): + Change to 2.6.19. + * sysdeps/unix/sysv/linux/configure: Regenerated. + + * manual/llio.texi (fclean): Remove documentation. + + * manual/Makefile (libc-texi-generated): New variable. Include + version.texi. + (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on + $(libc-texi-generated), not duplicated list of files. + (version.texi, stamp-version): New rules. + (realclean): Remove $(libc-texi-generated), not individual files + from that list. Do not remove dir-add.texinfo. + * manual/libc.texinfo: Comment out uses of edition numbers and + references to printed manual. Remove last-updated dates. + (EDITION): Comment out. + (ISBN): Likewise. + (VERSION, UPDATED): Remove. + (version.texi): Include. + +2012-02-27 Andreas Schwab + + * sysdeps/posix/spawni.c: Include . + * sysdeps/pthread/aio_cancel.c: Include . + * sysdeps/pthread/aio_fsync.c: Likewise. + +2012-02-26 Ulrich Drepper + + * conform/Makefile (tests): Run only when not cross-compiling and + when fast-check is not defined. + + * conform/conformtest.pl: XPG7 and POSIX2008 require C99. + * conform/data/limits.h-data: Fixes for POSIX2008. + * conform/run-conformtest.sh: Run all tests. + * include/arpa/inet.h: Changes to allow conformtest.pl to use the + headers. + * include/bits/dlfcn.h: Likewise. + * include/langinfo.h: Likewise. + * include/monetary.h: Likewise. + * include/sys/poll.h: Likewise. + + * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only + for __USE_GNU. + * posix/spawn.h: Define __need_sigset_t. + * posix/sys/wait.h: Don't include , define id_t here. + * posix/unistd.h: Declare ctermid only for XPG before XPG6. + * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h + to get sigevent_t only. + * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg + only for __USE_GNU. + * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise. + * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and + process_vm_writev only for __USE_GNU. + * termios/termios.h: Declare tcgetsid also for POSIX2008. + + * conform/Makefile: For now ignore errors from run-conformtest. + * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for + POSIX to avoid namespace pollution. Don't prepend headers. + * conform/data/aio.h-data: Fixes for POSIX testing. + * conform/data/fcntl.h-data: Likewise. + * conform/data/glob.h-data: Likewise. + * conform/data/grp.h-data: Likewise. + * conform/data/pthread.h-data: Likewise. + * conform/data/pwd.h-data: Likewise. + * conform/data/signal.h-data: Likewise. + * conform/data/spawn.h-data: Likewise. + * conform/data/stdio.h-data: Likewise. + * conform/data/stdlib.h-data: Likewise. + * conform/data/stropts.h-data: Likewise. + * conform/data/sys/mman.h-data: Likewise. + * conform/data/sys/stat.h-data: Likewise. + * conform/data/sys/types.h-data: Likewise. + * conform/data/sys/wait.h-data: Likewise. + * conform/data/time.h-data: Likewise. + * conform/data/unistd.h-data: Likewise. + * conform/data/utime.h-data: Likewise. + + * io/sys/stat.h: fchmod was always in POSIX. + * posix/sys/wait.h: Include only for waitid. + * posix/unistd.h: fsync and ftruncate were in early POSIX as well. + * rt/aio.h: Define __need_timespec before including . + * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t + struct. Add forward declaration of pthread_attr_t and use it in + sigevent. + * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise. + * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__ + always remove CLK_TCK definition. + +2012-02-26 Andreas Schwab + + * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file. + +2012-02-25 Ulrich Drepper + + * conform/run-conformtest.sh: New file. + * conform/Makefile: Run run-conformtest for tests. + * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11 + support. + + * conform/data/uchar.h-data: New file. + * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing. + * conform/data/arpa/inet.h-data: Likewise. + * conform/data/assert.h-data: Likewise. + * conform/data/complex.h-data: Likewise. + * conform/data/cpio.h-data: Likewise. + * conform/data/ctype.h-data: Likewise. + * conform/data/dirent.h-data: Likewise. + * conform/data/dlfcn.h-data: Likewise. + * conform/data/errno.h-data: Likewise. + * conform/data/fcntl.h-data: Likewise. + * conform/data/float.h-data: Likewise. + * conform/data/fmtmsg.h-data: Likewise. + * conform/data/fnmatch.h-data: Likewise. + * conform/data/ftw.h-data: Likewise. + * conform/data/glob.h-data: Likewise. + * conform/data/grp.h-data: Likewise. + * conform/data/iconv.h-data: Likewise. + * conform/data/inttypes.h-data: Likewise. + * conform/data/langinfo.h-data: Likewise. + * conform/data/libgen.h-data: Likewise. + * conform/data/limits.h-data: Likewise. + * conform/data/locale.h-data: Likewise. + * conform/data/math.h-data: Likewise. + * conform/data/monetary.h-data: Likewise. + * conform/data/mqueue.h-data: Likewise. + * conform/data/ndbm.h-data: Likewise. + * conform/data/net/if.h-data: Likewise. + * conform/data/netdb.h-data: Likewise. + * conform/data/netinet/in.h-data: Likewise. + * conform/data/nl_types.h-data: Likewise. + * conform/data/poll.h-data: Likewise. + * conform/data/pthread.h-data: Likewise. + * conform/data/pwd.h-data: Likewise. + * conform/data/regex.h-data: Likewise. + * conform/data/sched.h-data: Likewise. + * conform/data/search.h-data: Likewise. + * conform/data/semaphore.h-data: Likewise. + * conform/data/setjmp.h-data: Likewise. + * conform/data/signal.h-data: Likewise. + * conform/data/spawn.h-data: Likewise. + * conform/data/stdarg.h-data: Likewise. + * conform/data/stdio.h-data: Likewise. + * conform/data/stdlib.h-data: Likewise. + * conform/data/string.h-data: Likewise. + * conform/data/strings.h-data: Likewise. + * conform/data/stropts.h-data: Likewise. + * conform/data/sys/ipc.h-data: Likewise. + * conform/data/sys/mman.h-data: Likewise. + * conform/data/sys/msg.h-data: Likewise. + * conform/data/sys/resource.h-data: Likewise. + * conform/data/sys/select.h-data: Likewise. + * conform/data/sys/sem.h-data: Likewise. + * conform/data/sys/shm.h-data: Likewise. + * conform/data/sys/socket.h-data: Likewise. + * conform/data/sys/stat.h-data: Likewise. + * conform/data/sys/statvfs.h-data: Likewise. + * conform/data/sys/time.h-data: Likewise. + * conform/data/sys/timeb.h-data: Likewise. + * conform/data/sys/times.h-data: Likewise. + * conform/data/sys/types.h-data: Likewise. + * conform/data/sys/uio.h-data: Likewise. + * conform/data/sys/un.h-data: Likewise. + * conform/data/sys/utsname.h-data: Likewise. + * conform/data/sys/wait.h-data: Likewise. + * conform/data/syslog.h-data: Likewise. + * conform/data/tar.h-data: Likewise. + * conform/data/termios.h-data: Likewise. + * conform/data/utime.h-data: Likewise. + * conform/data/utmpx.h-data: Likewise. + * conform/data/varargs.h-data: Likewise. + * conform/data/wchar.h-data: Likewise. + * conform/data/wctype.h-data: Likewise. + * conform/data/wordexp.h-data: Likewise. + + * include/stropts.h: New file. + * include/uchar.h: New file. + * include/aio.h: Changes to allow conformtest.pl to use the headers. + * include/assert.h: Likewise. + * include/ctype.h: Likewise. + * include/dirent.h: Likewise. + * include/dlfcn.h: Likewise. + * include/fcntl.h: Likewise. + * include/fnmatch.h: Likewise. + * include/glob.h: Likewise. + * include/grp.h: Likewise. + * include/libio.h: Likewise. + * include/locale.h: Likewise. + * include/math.h: Likewise. + * include/net/if.h: Likewise. + * include/netdb.h: Likewise. + * include/netinet/in.h: Likewise. + * include/pthread.h: Likewise. + * include/pwd.h: Likewise. + * include/regex.h: Likewise. + * include/sched.h: Likewise. + * include/search.h: Likewise. + * include/setjmp.h: Likewise. + * include/signal.h: Likewise. + * include/stdio.h: Likewise. + * include/stdlib.h: Likewise. + * include/string.h: Likewise. + * include/sys/cdefs.h: Likewise. + * include/sys/mman.h: Likewise. + * include/sys/msg.h: Likewise. + * include/sys/resource.h: Likewise. + * include/sys/select.h: Likewise. + * include/sys/socket.h: Likewise. + * include/sys/stat.h: Likewise. + * include/sys/statvfs.h: Likewise. + * include/sys/time.h: Likewise. + * include/sys/times.h: Likewise. + * include/sys/uio.h: Likewise. + * include/sys/utsname.h: Likewise. + * include/sys/wait.h: Likewise. + * include/termios.h: Likewise. + * include/time.h: Likewise. + * include/ulimit.h: Likewise. + * include/unistd.h: Likewise. + * include/utime.h: Likewise. + * include/wchar.h: Likewise. + * include/wctype.h: Likewise. + * include/wordexp.h: Likewise. + + * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008. + + * time/time.h: TIME_UTC must be a macro. + Make timespec_get available for ISO C11 only as well. + +2012-02-24 Ulrich Drepper + + * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list. + Reported by Peng Haitao . + +2012-02-24 Joseph Myers + + * configure.in: Use -o not -a in test for unsupported multi-arch. + +2012-02-24 Joseph Myers + + * manual/texinfo.tex: Update to version 2012-01-19.16. + +2012-02-24 Joseph Myers + + * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi. + +2012-02-24 Roland McGrath + + [BZ #13738] + * manual/libc.texinfo (FDL_VERSION): Set to 1.3. + * manual/fdl-1.3.texi: New file. + * manual/fdl-1.1.texi: File removed. + + [BZ #13738] + * manual/libc.texinfo (FDL_VERSION): New @set. + Use it for mention of FDL in cover text. + (Documentation License): Use it in @include file name. + +2012-02-22 Joseph Myers + Roland McGrath + + [BZ #5461] + * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN) + (not LONG_LONG_MAX and LONG_LONG_MIN. + * manual/lang.texi (LONG_LONG_MIN): Document first as ISO + LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific + name. + (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise. + +2012-02-22 Joseph Myers + + [BZ #2547] + [BZ #11365] + * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not + manipulate bits before adding and subtracting TWO23[sx]. + * math/libm-test.inc (nearbyint_test): Add more tests. + +2012-02-22 Joseph Myers + + [BZ #2548] + * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate + bits before adding and subtracting TWO23[sx]. + * math/libm-test.inc (rint_test): Add more tests. + (rint_test_tonearest): Likewise. + (rint_test_towardzero): Likewise. + (rint_test_downward): Likewise. + (rint_test_upward: Likewise. + +2012-02-22 Joseph Myers + + [BZ #10110] + * include/stdc-predef.h: New file. Extracted from features.h. + * include/features.h: Include stdc-predef.h. + * Makefile (headers): Add stdc-predef.h. + * CONFORMANCE (Compiler limitations): Update. + +2012-02-22 Joseph Myers + + * manual/libc.texinfo (VERSION, UPDATED): Revert. + +2012-02-21 David S. Miller + + * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates. + * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise. + +2012-02-20 David S. Miller + + * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path + using a normal save/restore sequence, rather than allocating a + dummy stack frame just to store a frame pointer and restore. + * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise. + +2012-02-21 Joseph Myers + + * manual/install.texi: Fix stray word in line-wrapped comment. + +2012-02-20 David S. Miller + + * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if + both binutils and gcc support GOTDATA. + + * sysdeps/unix/sparc/sysdep.h: Document why we don't use + "rd %pc" in the PIC register setup sequences. + + * sysdeps/sparc/crti.S: Try to use GOTDATA relocs. + * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise. + * sysdeps/sparc/sparc32/elf/start.S: Likewise. + * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise. + * sysdeps/sparc/sparc64/elf/start.S: Likewise. + * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise. + * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h + (SYSCALL_ERROR_HANDLER): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h + (SYSCALL_ERROR_HANDLER): Likewise. + + * config.h.in (HAVE_BINUTILS_GOTDATA): New. + (HAVE_GCC_GOTDATA): New. + * sysdeps/sparc/elf/configure.in: Test for GOTDATA + relocation support in both binutils and gcc. + * sysdeps/sparc/elf/configure: Regenerate. + + * sysdeps/sparc/sparc32/elf/configure.in: Delete. + * sysdeps/sparc/sparc32/elf/configure: Delete. + * sysdeps/sparc/sparc64/elf/configure.in: Delete. + * sysdeps/sparc/sparc64/elf/configure: Delete. + * sysdeps/sparc/elf/configure.in: New file. + * sysdeps/sparc/elf/configure: Generate. + + * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check. + * sysdeps/sparc/sparc32/elf/configure: Regenerate. + * sysdeps/sparc/sparc64/elf/configure.in: Likewise. + * sysdeps/sparc/sparc64/elf/configure: Regenerate. + * config.h.in (BROKEN_SPARC_WDISP22): Remove. + +2012-02-21 Joseph Myers + + * manual/install.texi: Do not mention specific glibc version + numbers. + * manual/libc.texinfo (VERSION, UPDATED): Update. + (@copying): Use @copyright{} and range of years. + +2012-02-21 Joseph Myers + + [BZ #13695] + * csu/Makefile (distribute): Remove initfini.c and defs.awk. + [crti.S not in sysdirs] (generated): Do not append. + [crti.S not in sysdirs] (omit-deps): Likewise. + [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule. + [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise. + [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise. + [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise. + [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): + Likewise. + [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise. + [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable. + [crti.S not in sysdirs] (initfini.c): Remove vpath directive. + * csu/defs.awk: Remove file. + * sysdeps/generic/initfini.c: Likewise. + * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove + variable. + * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s): + Likewise. + +2012-02-20 Joseph Myers + + * sysdeps/unix/sysv/linux/bits/epoll.h: New file. + * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove + * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise. + * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from + . + (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here. + (__EPOLL_PACKED): Define to empty if not defined by + . + (struct epoll_event): Use __EPOLL_PACKED to make possibly packed. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add + bits/epoll.h. + +2012-02-20 Joseph Myers + + * sysdeps/unix/sysv/linux/bits/timerfd.h: New file. + * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove. + * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from + . + (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add + bits/timerfd.h. + +2012-02-20 Joseph Myers + + * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n + in C locale. + * sysdeps/powerpc/fpu/libm-test-ulps: Likewise. + * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise. + * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2012-02-20 Aurelien Jarno + + * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests. + * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise. + +2012-02-19 Andreas Schwab + + * manual/errno.texi (Error Codes): Add EHWPOISON entry. + * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not + defined. + * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON): + Likewise. + * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat + entry for 2.16. + +2012-02-19 Aurelien Jarno + + * math/w_acos.c: Use non-signaling floating-point comparisons. + * math/w_acosf.c: Likewise. + * math/w_acosh.c: Likewise. + * math/w_acoshf.c: Likewise. + * math/w_acoshl.c: Likewise. + * math/w_acosl.c: Likewise. + * math/w_asin.c: Likewise. + * math/w_asinf.c: Likewise. + * math/w_asinl.c: Likewise. + * math/w_atanh.c: Likewise. + * math/w_atanhf.c: Likewise. + * math/w_atanhl.c: Likewise. + * math/w_exp2.c: Likewise. + * math/w_exp2f.c: Likewise. + * math/w_exp2l.c: Likewise. + * math/w_j0.c: Likewise. + * math/w_j0f.c: Likewise. + * math/w_j0l.c: Likewise. + * math/w_j1.c: Likewise. + * math/w_j1f.c: Likewise. + * math/w_j1l.c: Likewise. + * math/w_jn.c: Likewise. + * math/w_jnf.c: Likewise. + * math/w_log.c: Likewise. + * math/w_log10.c: Likewise. + * math/w_log10f.c: Likewise. + * math/w_log10l.c: Likewise. + * math/w_log2.c: Likewise. + * math/w_log2f.c: Likewise. + * math/w_log2l.c: Likewise. + * math/w_logf.c: Likewise. + * math/w_logl.c: Likewise. + * math/w_sqrt.c: Likewise. + * math/w_sqrtf.c: Likewise. + * math/w_sqrtl.c: Likewise. + * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise. + * sysdeps/ieee754/dbl-64/w_exp.c: Likewise. + * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise. + * sysdeps/ieee754/flt-32/w_expf.c: Likewise. + * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise. + +2012-02-19 Joseph Myers + + [BZ #9739] + * manual/string.texi (strnlen): Use correct parameter name in + equivalent expression. + +2012-02-19 Joseph Myers + + [BZ #11174] + * manual/users.texi (seteuid): Consistently use neweuid for + argument name. + +2012-02-19 Joseph Myers + + [BZ #13704] + * manual/nss.texi (Services in the NSS configuration): Correct + list of services in example configuration file. + +2012-02-19 Nick Bowler + + [BZ #11322] + * manual/arith.texi: Remove statements about negative zero + behaving identically to zero. + +2012-02-18 Joseph Myers + + [BZ #5993] + * manual/install.texi: Do not document upgrading from libc5. + +2012-02-18 Joseph Myers + + [BZ #4596] + * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__. + +2012-02-18 David S. Miller + + * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro. + (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore + %o7 across the call. + (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro instead. - * stdlib/Makefile (headers): Added alloca.h. + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use + SETUP_PIC_REG_LEAF. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. + * sysdeps/sparc/crti.S: Use SETUP_PIC_REG. + * sysdeps/sparc/crtn.S: Likewise. - * stdio/getline.c (getsome): Fixed bugs. +2012-02-17 Ulrich Drepper - * math/bsd/common_source/mathimpl.h: #define expm1 __expm1. - * math/bsd/common_source/expm1.c: Renamed to __expm1.c - * math/bsd/mc68881/expm1.s: Renamed to __expm1.s; renamed fn too. - * math/expm1.c: New file, fn alias expm1 -> __expm1. + * aout/Makefile: Remove. - * math/Makefile (routines): Add __rint. - * math/rint.c: New file, fn alias rint -> __rint. - * math/bsd/common_source/floor.c (rint): Renamed to __rint. - * sysdeps/generic/Makefile: Remove __rint, not rint. +2012-02-18 Rafe Kettler - * math/Makefile (BSDmath-files): Always include it, and don't depend - on undependable things. + [BZ #13058] + * manual/examples/argp-ex1.c (main): Format definition in GNU + style. + * manual/examples/argp-ex2.c (main): Likewise. + * manual/examples/argp-ex3.c (main): Likewise. + * manual/examples/argp-ex4.c (main): Likewise. + * manual/examples/longopt.c (main): Use new-style prototype + definition. + * manual/examples/strncat.c (main): Specify return type and use + (void) for arguments. + * manual/examples/subopt.c (main): Use char **argv argument. - * Makerules (sysdep-Makefile): Always include it, and make it - without depending on make vars that might not be right yet. +2012-02-17 Joseph Myers -Mon Feb 10 00:55:58 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + [BZ #5077] + * manual/lang.texi (FLT_EPSILON): Avoid description depending on + rounding modes. - * stdlib/stdlib.h: #undef alloca before declaring it. +2012-02-17 Fabrice Bauzac - * sysdeps/sparc/__longjmp.S: Use be instead of bz. + [BZ #6907] + * manual/string.texi (strchr): Change when strchrnul is + recommended. - * sysdeps/unix/bsd/Dist: Add bsdtty.h. +2012-02-17 Dwayne Grant McConnell - * tzfile.c (__tzfile_read): Don't allocate space for 0 leaps. - Don't loop infinitely. + [BZ #174] + * manual/locale.texi (setlocale): Document LOCPATH. - * sysdeps/unix/Makefile (make-errnos.c): Use tr to eat newlines in - errnos file. +2012-02-17 Joseph Myers - * sysdeps/unix/bsd/sun/sun4/__brk.S: Fix andn arg order. + [BZ #10210] + * manual/process.texi (execle): Move @dots{} before last argument. - * posix/Makefile: Don't get getopt by vpath. Turns out to be too - much hassle for dist. Just made symlinks in posix/ instead. +2012-02-17 Paul Bolle - * manual/Makefile: Renamed summary.out to summary.texinfo. + [BZ #12047] + * manual/charset.texi (Generic Charset Conversion): Fix typo + (LC_TYPE -> LC_CTYPE). - * manual/summary.awk: New file, to make summary.out. - Replaces `process-definitions.el'. - * manual/Makefile (summary.out): Create using summary.awk. +2012-02-17 Nicolas Boulenguez - * manual/Makefile: Created. - * Makefile, Make-dist: Use it to format and distribute the manual. + [BZ #5805] + * manual/arith.texi (scalbn): Use @var{} on parameter names. + (scalbnf): Likewise. + (scalbnl): Likewise. + (scalbln): Likewise. + (scalblnf): Likewise. + (scalblnl): Likewise. + * manual/errno.texi (vwarn): Name last parameter as @var{ap}. + (vwarnx): Likewise. + (verr): Likewise. + (verrx): Likewise. + * manual/filesys.texi (telldir): Use braces around return type. + * manual/llio.texi (mmap): Add space after comma. + (mmap64): Likewise. + * manual/math.texi (jn): Use @var{} on parameter names. + (jnf): Likewise. + (jnl): Likewise. + (yn): Likewise. + (ynf): Likewise. + (ynl): Likewise. + * manual/memory.texi (alloca): Remove semicolon on @deftypefun + line. + * manual/resource.texi (ulimit): Use @dots{} instead of literal + "...". + (sched_get_priority_min): Remove semicolon on @deftypefun line. + (sched_get_priority_max): Likewise. + * manual/signal.texi (sigvec): Add space after comma. + * manual/socket.texi (if_nametoindex): Use @var{} on parameter + names. + (if_indextoname): Likewise. + (if_freenameindex): Likewise. + (sendto): Use ',' instead of '.' in prototype. + * manual/startup.texi (syscall): Use @dots{} instead of literal + "...". + * manual/stdio.texi (__fpending): Separate initial words of + paragraph from @deftypefun line. + * manual/syslog.texi (syslog): Use @dots{} instead of literal + "...". + (vsyslog): Use @var{} on parameter names. + * manual/terminal.texi (stty): Use @var{} on parameter names. + * manual/users.texi (getutmp): Use @var{} on parameter names. + (getutmpx): Likewise. -Mon Feb 10 00:32:17 1992 Jim Meyering (meyering@churchy.gnu.ai.mit.edu) +2012-02-17 Joseph Myers - * All Makefiles: - Whenever using shell redirection to create a target, - do not create the target directly like this + [BZ #6884] + * manual/stdio.texi (fopen): Fix typos in description of + ",ccs=STRING". - foo: bar - process $< > $@ +2012-02-17 Aurelien Jarno - That loses when `process' fails (interrupt, disk full, ...) - and bar exists and looks up-to-date, but isn't. - This sort of failure is particularly insidious when - the initial error message is obscured by lots of subsequent - output (echoed commands etc). + [BZ #4026] + * sysdeps/unix/sysv/linux/clock_settime.c: include to + get clock_id definition. - Instead use rules like this +2012-02-17 Thomas Schwinge - foo: bar - process $< > $@-tmp - mv $@-tmp $@ + [BZ #4822] + * sysdeps/mach/hurd/malloc-machine.h: #include . + (madvise): Cast every argument to void on its own. - Using this paradigm, as long as process returns non-zero - whenever it fails, the target won't be touched. +2012-02-17 Joseph Myers -Sun Feb 9 22:58:51 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + [BZ #9902] + * manual/startup.texi (Exit Status): Fix typo. - * posix/unistd.h (getopt): Fixed prototype. - * sysdeps/generic/memset.c, stdio/vdprintf.c: Fixed DEFUNs. +2012-02-17 Joseph Myers - * Makerules (lib): Use $(RANLIB) for ranlib. - * Makeconfig: Define it. + [BZ #10140] + * manual/examples/argp-ex1.c: Include . + * manual/examples/argp-ex2.c: Likewise. + * manual/examples/argp-ex3.c: Likewise. - * configure: Create config.status to set ARCH, if successful. - * Makeconfig: include config.status ifndef ARCH. +2012-02-16 Richard Henderson -Thu Feb 6 20:57:10 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files. + * sysdeps/s390/s390-32/initfini.c: Remove. + * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S: + * sysdeps/s390/s390-64/initfini.c: Remove. - * ansidecl.h (INCLUDE, STARTCOMMENT, ENDCOMMENT): New magic words. - * sysdeps/m68k/68881/fl.h: Use new magic to snarf ieee754/fl.h during - ansideclification. +2012-02-15 Kaz Kojima - * sysdeps/ieee754/fl.h: New file, taken mostly from the old - 68881 file. HUGE_VAL redone to be machine independent. - (NAN): New macro for an IEEE NaN, done like HUGE_VAL. - * sysdeps/m68k/68881/fl.h: Now #includes ieee754/fl.h, and overrides - FLT_ROUNDS for 68881 magic. NB: the #include is a prob. for install. + * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on + compiler output for sysdeps/generic/initfini.c. + * sysdeps/sh/elf/initfini.c: Remove file. -Wed Jan 29 17:11:25 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) +2012-02-16 David S. Miller - * sysdeps/posix/getcwd.c: Don't use chdir; use a long ../../../... - path name instead. + [BZ #11494] + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define. -Fri Jan 17 02:51:10 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S + * sysdeps/sparc/crti.S: New file. + * sysdeps/sparc/crtn.S: New file. + * sysdeps/sparc/sparc32/Makefile: Remove initfini handling. + * sysdeps/sparc/sparc64/Makefile: Likewise. - * posix/Makefile (headers): Added getopt.h. - (routines): Added getopt1. - Get getopt* from /home/gd/gnu/lib by vpath. +2012-02-15 Mike Frysinger - * Makerules (+ansideclificate): Don't assume . is in PATH. + [BZ #3335] + * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h. -Thu Jan 16 18:43:05 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) +2012-02-15 Roland McGrath - * posix/glob.c [sgi]: No alloca.h, after all. + [BZ #4822] + * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro. -Wed Jan 15 14:17:37 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + * mach/devstream.c (cookie_io_functions_t): Macro removed. + (write, read, close): Likewise. + Patch by Aurelien Jarno . - * termios/termios.h: Reworked to be compatible with 4.4BSD. - * termios/speed.c, sysdeps/unix/bsd/{__tcgetattr,tcsetattr}.c: Store - speeds as their own values (B9600==9600, etc.) and translate to BSD - values only for ioctl. - * termios/cfsetpseed.c: New fn to set both speeds at once (from 4.4). +2012-02-15 Joseph Myers -Tue Jan 14 21:18:10 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + * sysdeps/unix/sysv/linux/bits/signalfd.h: New file. + * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove. + * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from + . + (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add + bits/signalfd.h. - * sysdeps/unix/i386/__brk.S: __end, not ___end. - Get the arg off the stack correctly. +2012-02-14 Marek Polacek - * sysdeps/unix/Makefile: Allow errnos like EL3HLT. + * sysdeps/x86_64/crti.S: New file. + * sysdeps/x86_64/crtn.S: New file. + * sysdeps/x86_64/elf/initfini.c: Remove file. - * sysdeps/posix/{readv,writev}.c: Typos. +2012-02-13 Joseph Myers - * sysdeps/posix/__sigpause.c: Rewritten to know that sigset_t is a - mask, and to pass a (sigset_t *) instead of sigset_t to sigsuspend. + * sysdeps/unix/sysv/linux/bits/inotify.h: New file. + * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove. + * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from + . + (IN_CLOEXEC, IN_NONBLOCK): Don't define here. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add + bits/inotify.h. - * sysdeps/i386/memset.c: Include . +2012-02-13 Joseph Myers - * sysdeps/generic/uname.c (uname): Save and restore errno if - gethostname gets ENOSYS. + * sysdeps/unix/sysv/linux/bits/eventfd.h: New file. + * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove. + * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from + . + (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add + bits/eventfd.h. - * stdio/perror.c (perror): Check correctly for S == "". - Check correctly for ERRNUM being in range. +2012-02-10 Thomas Schwinge - * find-sysdirs: Don't use fgrep -s, since USG apparently doesn't - have that flag. Just >/dev/null instead. + * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke + __feraiseexcept instead of feraiseexcept. -Mon Jan 13 17:00:15 1992 Torbjorn Granlund (tege at mole.gnu.ai.mit.edu) + * rt/tst-cpuclock1.c: Add a few comments, and error checking for + nanosleep invocations. + * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory + strings, and add error checking for a nanosleep invocations. - * sysdeps/generic/wordcopy.c (all four functions): Move do0 label to - the ultimate store statement at the end of each function. (Used to - be in the loop.) +2012-02-09 Paul Eggert -Tue Jan 7 18:40:18 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + Replace FSF snail mail address with URLs, as per GNU coding standards. + Most of the snail mail addresses were wrong anyway, and omitting + them makes the source code easier to maintain. Almost all of the + changes are to license notices and to locale LC_IDENTIFICATION + addresses, except for this one: + * manual/libc.texinfo: In "Published by", give the FSF's URL, + not its snail mail address. - * resource/sys/resource.h (struct rusage): Change `ru_outblock' to - `ru_oublock'. +2012-02-09 Richard Henderson - * sysdeps/generic/stpcpy.c: Fixed off-by-one bug. + * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include + of kernel-features.h. -Thu Jan 2 15:19:01 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning. - * sysdeps/sparc/Dist: Add umul.S and mul.S. +2012-02-08 Marek Polacek -Tue Dec 31 15:33:39 1991 Roland McGrath (roland@albert.gnu.ai.mit.edu) + * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional. + * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro. + * sysdeps/gnu/_G_config.h: Likewise. + * sysdeps/generic/_G_config.h: Likewise. - * signal/signal.h [__USE_GNU]: Add user-visible `sighandler_t' == - __sighandler_t. +2012-02-08 Andreas Schwab - * termios/speed.c (speedtab): Made const. + * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn + tests. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - * posix/Makefile (routines): Add flock. + * sysdeps/powerpc/powerpc32/crti.S: New file. + * sysdeps/powerpc/powerpc32/crtn.S: New file. + * sysdeps/powerpc/powerpc64/crti.S: New file. + * sysdeps/powerpc/powerpc64/crtn.S: New file. -Tue Dec 31 03:38:30 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * Makeconfig (have-initfini): Don't set. + * config.make.in (have-initfini, need-nopic-initfini): Don't set. + * configure.in (nopic_initfini): Don't substitute. + * config.h.in (HAVE_INITFINI): Don't #undef. + * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI. + * csu/gmon-start.c: Assume HAVE_INITFINI is defined. - * termios/speed.c: Accept and return speeds as actual baud rates. - * termios/termios.h (B110, etc.): Define B110 as 110, etc. - Likewise for _B110, etc. +2012-02-08 Joseph Myers -Thu Oct 24 16:19:49 1991 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) + Support crti.S and crtn.S provided directly by architectures. + * csu/Makefile [crti.S in sysdirs] (generated): Do not append. + [crti.S in sysdirs] (omit-deps): Likewise. + [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable. + [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule. + [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise. + [crti.S in sysdirs] ($(objpfx)crti.S): Likewise. + [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise. + [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise. + [crti.S in sysdirs] ($(objpfx)defs.h): Likewise. + [crti.S in sysdirs] (initfini.c): Remove vpath directive. + * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on + compiler output for sysdeps/generic/initfini.c. + * sysdeps/i386/elf/Makefile: Remove file. + * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable. - * ansidecl: Put `M4OPTS=+quiet' in the environment make GNU m4 quiet. +2012-02-07 Marek Polacek -Sun Oct 20 19:31:28 1991 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/generic/_G_config.h: Remove _G_ARGS macro. + * sysdeps/gnu/_G_config.h: Likewise. + * sysdeps/mach/hurd/_G_config.h: Likewise. - * Make-dist (tardir): Define as `libc-RELEASE-VERSION', strings - snarfed from version.c. - ($(..)$(tardir)): Add rule to make as symlink to . (parent dir). - [subdir] (dist), [parent] (dist.tar): Depend on that. - [subdir] (tarsources), [parent] (+tsrcs): Add $(tardir)/ to files. +2012-02-07 Marek Polacek - * sysdeps/sparc/Makefile (distribute): Move data into Dist file. + * math/Makefile (tests): Add tst-CMPLX2. + * math/tst-CMPLX2.c: New file. -Fri Oct 18 15:27:58 1991 Roland McGrath (roland@churchy.gnu.ai.mit.edu) +2012-02-07 Andreas Schwab - * Makefile (subdirs): Add $(sysdep-subdirs), so sysdep makefiles can - add subdirs. + * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests. - * posix/glob.c [sgi]: Use . + * math/libm-test.inc (jn_test): Add missing L suffix. - * stdio/fopen.c: If not appending, initialize the offset to 0. +2012-02-06 Marek Polacek - * sysdeps/generic/strcasecmp.c: Fixed losing braindead code. + * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals. + * sysdeps/i386/fpu/e_powf.S: Likewise. + * sysdeps/i386/fpu/e_atanhf.S: Likewise. + * sysdeps/i386/fpu/s_cexpl.S: Likewise. + * sysdeps/i386/fpu/e_acosh.S: Likewise. + * sysdeps/i386/fpu/e_pow.S: Likewise. + * sysdeps/i386/fpu/s_asinhl.S: Likewise. + * sysdeps/i386/fpu/e_acoshl.S: Likewise. + * sysdeps/i386/fpu/s_expm1.S: Likewise. + * sysdeps/i386/fpu/s_frexpf.S: Likewise. + * sysdeps/i386/fpu/e_log2.S: Likewise. + * sysdeps/i386/fpu/e_log2l.S: Likewise. + * sysdeps/i386/fpu/e_scalb.S: Likewise. + * sysdeps/i386/fpu/e_powl.S: Likewise. + * sysdeps/i386/fpu/s_log1p.S: Likewise. + * sysdeps/i386/fpu/e_log10f.S: Likewise. + * sysdeps/i386/fpu/s_cbrtf.S: Likewise. + * sysdeps/i386/fpu/e_logl.S: Likewise. + * sysdeps/i386/fpu/s_cbrt.S: Likewise. + * sysdeps/i386/fpu/s_expm1l.S: Likewise. + * sysdeps/i386/fpu/s_frexpl.S: Likewise. + * sysdeps/i386/fpu/s_expm1f.S: Likewise. + * sysdeps/i386/fpu/e_log2f.S: Likewise. + * sysdeps/i386/fpu/e_acoshf.S: Likewise. + * sysdeps/i386/fpu/e_log.S: Likewise. + * sysdeps/i386/fpu/s_cexp.S: Likewise. + * sysdeps/i386/fpu/e_scalbf.S: Likewise. + * sysdeps/i386/fpu/s_log1pl.S: Likewise. + * sysdeps/i386/fpu/e_logf.S: Likewise. + * sysdeps/i386/fpu/e_log10l.S: Likewise. + * sysdeps/i386/fpu/e_atanh.S: Likewise. + * sysdeps/i386/fpu/s_log1pf.S: Likewise. + * sysdeps/i386/fpu/s_asinhf.S: Likewise. + * sysdeps/i386/fpu/s_cexpf.S: Likewise. + * sysdeps/i386/fpu/e_log10.S: Likewise. + * sysdeps/i386/fpu/s_frexp.S: Likewise. + * sysdeps/i386/fpu/e_atanhl.S: Likewise. + * sysdeps/i386/fpu/s_asinh.S: Likewise. + * sysdeps/i386/fpu/s_cbrtl.S: Likewise. + * sysdeps/i386/fpu/e_scalbl.S: Likewise. + * sysdeps/i386/i686/fpu/e_logl.S: Likewise. + * sysdeps/i386/asm-syntax.h: Likewise. + * sysdeps/x86_64/fpu/e_log2l.S: Likewise. + * sysdeps/x86_64/fpu/e_powl.S: Likewise. + * sysdeps/x86_64/fpu/e_logl.S: Likewise. + * sysdeps/x86_64/fpu/s_expm1l.S: Likewise. + * sysdeps/x86_64/fpu/s_log1pl.S: Likewise. + * sysdeps/x86_64/fpu/e_log10l.S: Likewise. + * sysdeps/x86_64/fpu/s_copysignf.S: Likewise. + * sysdeps/x86_64/fpu/s_copysign.S: Likewise. + * sysdeps/x86_64/fpu/e_scalbl.S: Likewise. + * sysdeps/powerpc/sysdep.h: Likewise. + * sysdeps/powerpc/powerpc64/sysdep.h: Likewise. + * sysdeps/powerpc/powerpc32/sysdep.h: Likewise. -Tue Oct 8 15:27:54 1991 Roland McGrath (roland@albert.gnu.ai.mit.edu) +2012-02-06 Joseph Myers - * Version 0.1. - * This ChangeLog is lacking much information. - * After this release, I hope to maintain the log well. + [BZ #411] + * sysdeps/i386/sysdep.h (__i686): Undefine and redefine. -Fri Jul 26 18:02:57 1991 Roland McGrath (roland@churchy.gnu.ai.mit.edu) +2012-02-06 Joseph Myers - * stdio/Makefile (routines): Remove _cleanup. + * sysdeps/i386/sysdep.h: Include . + (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler + version. -Thu Jul 25 23:12:45 1991 Roland McGrath (roland@churchy.gnu.ai.mit.edu) +2012-02-05 Joseph Myers - * stdio/memstream.c (close_memstream): Removed. - (trim_buffer): New fn to be io_funcs->__close for memstreams. - (open_memstream): Take arg char **BUFLOC. Stuff it in - stream->__fd, and store the location of the initial buffer in - *BUFLOC. - (enlarge_buffer): Keep *(char **) stream->__fd updated to be the - location of the buffer. + * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR): + Define. + * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use + LOAD_PIC_REG_STR. -Tue Jul 23 14:11:29 1991 Roland McGrath (roland@churchy.gnu.ai.mit.edu) +2012-02-03 Joseph Myers - * posix/glob.c: Don't #include #ifdef sun. - Is there anyone on the face of the planet other than me capable of - implementing the ANSI C standard to spec???? + * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define. + (SETUP_PIC_REG): Use GET_PC_THUNK. + * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR + macro. - * posix/glob.c [DIRENT]: #include before - #ifdef USG. +2012-02-03 Joseph Myers -Mon Jul 22 17:06:24 1991 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also + for non-PIC compilation. + (SETUP_PIC_REG): Add .p2align directive. + * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup. + * sysdeps/i386/i686/multiarch/bcopy.S: Likewise. + * sysdeps/i386/i686/multiarch/bzero.S: Likewise. + * sysdeps/i386/i686/multiarch/memchr.S: Likewise. + * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise. + * sysdeps/i386/i686/multiarch/memcmp.S: Likewise. + * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise. + * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise. + * sysdeps/i386/i686/multiarch/memcpy.S: Likewise. + * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise. + * sysdeps/i386/i686/multiarch/memmove.S: Likewise. + * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise. + * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise. + * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise. + * sysdeps/i386/i686/multiarch/memrchr.S: Likewise. + * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise. + * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise. + * sysdeps/i386/i686/multiarch/memset.S: Likewise. + * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise. + * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise. + * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise. + * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise. + * sysdeps/i386/i686/multiarch/strcat.S: Likewise. + * sysdeps/i386/i686/multiarch/strchr.S: Likewise. + * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise. + * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise. + * sysdeps/i386/i686/multiarch/strcmp.S: Likewise. + * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise. + * sysdeps/i386/i686/multiarch/strcpy.S: Likewise. + * sysdeps/i386/i686/multiarch/strcspn.S: Likewise. + * sysdeps/i386/i686/multiarch/strlen.S: Likewise. + * sysdeps/i386/i686/multiarch/strncase.S: Likewise. + * sysdeps/i386/i686/multiarch/strnlen.S: Likewise. + * sysdeps/i386/i686/multiarch/strrchr.S: Likewise. + * sysdeps/i386/i686/multiarch/strspn.S: Likewise. + * sysdeps/i386/i686/multiarch/wcschr.S: Likewise. + * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise. + * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise. + * sysdeps/i386/i686/multiarch/wcslen.S: Likewise. + * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise. + * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise. - * sysdeps/posix/make-stdio_limits.c: #include , - not . +2012-02-03 Joseph Myers - * README: Refer to COPYING.LIB, not COPYING. + * math/tst-CMPLX.c: Include . - * config.libc: Renamed to `configure'. - -Local Variables: -mode: change-log -End: +2012-01-31 Joseph Myers + + * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as + float. + * sysdeps/sh/sh4/bits/mathdef.h: Likewise. + * sysdeps/sparc/bits/mathdef.h: Likewise. + +2012-01-31 Marek Polacek + + * libio/libio.h: Don't define _PARAMS. + * locale/programs/config.h: Don't define PARAMS. + * stdlib/strtol_l.c: Likewise. + (__strtol_l): Remove PARAMS from the prototype. + +2012-01-31 Ulrich Drepper + + * malloc/malloc.c: Remove name translation. Don't use mixed-cap + names. Just use the correct names. Remove unnecessary wrapper + functions. + * malloc/arena.c: Likewise. + * malloc/hooks.c: Likewise. + + * malloc/arena.c (arena_get2): Really don't call __get_nprocs if + ARENA_TEST says not to. Simplify test for creation of a new arena. + Partially based on a patch by Siddhesh Poyarekar . + +2012-01-30 Ulrich Drepper + + * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls + into tail calls. + (update_get_addr): New function. + (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove + GET_ADDR_MODULE parameter. + +2012-01-30 Joseph Myers + + * crypt/cert.c: Remove __STDC__ conditionals. + * crypt/crypt-entry.c: Likewise. + * crypt/crypt_util.c: Likewise. + * libio/filedoalloc.c: Likewise. + * libio/fileops.c: Likewise. + * libio/genops.c: Likewise. + * libio/iofclose.c: Likewise. + * libio/iofdopen.c: Likewise. + * libio/iofopen.c: Likewise. + * libio/iofopen64.c: Likewise. + * libio/iogetdelim.c: Likewise. + * libio/iopopen.c: Likewise. + * libio/obprintf.c: Likewise. + * libio/oldfileops.c: Likewise. + * libio/oldiofclose.c: Likewise. + * libio/oldiofdopen.c: Likewise. + * libio/oldiofopen.c: Likewise. + * libio/oldiopopen.c: Likewise. + * libio/wfiledoalloc.c: Likewise. + * libio/wgenops.c: Likewise. + * locale/programs/xmalloc.c: Likewise. + * misc/syslog.c: Likewise. + * stdio-common/xbug.c: Likewise. + * string/memchr.c: Likewise. + * string/memcmp.c: Likewise. + * string/memrchr.c: Likewise. + * string/rawmemchr.c: Likewise. + * sysdeps/posix/getcwd.c: Likewise. + * time/strftime_l.c: Likewise. + +2012-01-30 Joseph Myers + + * configure.in (libc_cv_cc_sse2avx): AC_SUBST. + * config.make.in (config-cflags-sse2avx): Define. + * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c): + Fix typo. + +2012-01-29 Chris Metcalf + + * scripts/config.guess: Update from upstream config git repository. + * scripts/config.sub: Likewise. + +2012-01-28 Chris Metcalf + + * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros. + (EM_NUM): Update. + (R_TILEPRO_*, R_TILEGX_*): New macros. + + * scripts/firstversions.awk: Fix bug in version range handling. + + * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h. + + * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64. + + * include/sys/epoll.h: New file. + * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as + libc_hidden_def. + +2012-01-28 Ulrich Drepper + + * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit. + Avoid unnecessary __WORDSIZE == 64 test. + (fmaxf): Use VEX format if possible. + (fmax): Likewise. + (fminf): Likewise. + (fmin): Likewise. + + * config.h.in: Define HAVE_SSE2AVX_SUPPORT. + * math/math_private.h: Remove libc_fegetround* and + libc_fesetround*. + * sysdeps/i386/configure.in: Check for -msse2avx. + * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions + also if SSE2AVX is defined. + Remove libc_fegetround* and libc_fesetround*. + * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions + if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines. + * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead + of HAS_YMM_USABLE. + * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise. + + * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions. + +2012-01-19 Adhemerval Zanella + + * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line + size is not set. + * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise. + +2012-01-27 Ulrich Drepper + + [BZ #13618] + * elf/dl-open.c (dl_open_worker): Sort objects by dependency before + relocation. + * Makeconfig (libm): Define. + * elf/Makefile: Add rules to build and run tst-relsort1. + * elf/tst-relsort1.c: New file. + * elf/tst-relsort1mod1.c: New file. + * elf/tst-relsort1mod2.c: New file. + +2012-01-27 Joseph Myers + + * math/s_ldexp.c: Remove __STDC__ conditionals. + * math/s_ldexpf.c: Likewise. + * math/s_ldexpl.c: Likewise. + * math/s_nextafter.c: Likewise. + * math/s_nexttowardf.c: Likewise. + * math/s_significand.c: Likewise. + * math/s_significandf.c: Likewise. + * math/s_significandl.c: Likewise. + * math/w_jnl.c: Likewise. + * sysdeps/i386/fpu/s_isinfl.c: Likewise. + * sysdeps/i386/fpu/s_isnanl.c: Likewise. + * sysdeps/i386/fpu/s_nextafterl.c: Likewise. + * sysdeps/i386/fpu/s_nexttoward.c: Likewise. + * sysdeps/i386/fpu/s_nexttowardf.c: Likewise. + * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise. + * sysdeps/ieee754/dbl-64/k_tan.c: Likewise. + * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise. + * sysdeps/ieee754/dbl-64/s_erf.c: Likewise. + * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise. + * sysdeps/ieee754/dbl-64/s_finite.c: Likewise. + * sysdeps/ieee754/dbl-64/s_floor.c: Likewise. + * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise. + * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise. + * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise. + * sysdeps/ieee754/dbl-64/s_logb.c: Likewise. + * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise. + * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise. + * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise. + * sysdeps/ieee754/flt-32/e_asinf.c: Likewise. + * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise. + * sysdeps/ieee754/flt-32/k_cosf.c: Likewise. + * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise. + * sysdeps/ieee754/flt-32/k_sinf.c: Likewise. + * sysdeps/ieee754/flt-32/k_tanf.c: Likewise. + * sysdeps/ieee754/flt-32/s_atanf.c: Likewise. + * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise. + * sysdeps/ieee754/flt-32/s_cosf.c: Likewise. + * sysdeps/ieee754/flt-32/s_erff.c: Likewise. + * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise. + * sysdeps/ieee754/flt-32/s_finitef.c: Likewise. + * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise. + * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise. + * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise. + * sysdeps/ieee754/flt-32/s_logbf.c: Likewise. + * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise. + * sysdeps/ieee754/flt-32/s_sinf.c: Likewise. + * sysdeps/ieee754/flt-32/s_tanf.c: Likewise. + * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise. + * sysdeps/ieee754/k_standard.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise. + * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise. + * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise. + * sysdeps/ieee754/s_matherr.c: Likewise. + * sysdeps/powerpc/fpu/w_sqrt.c: Likewise. + * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise. + * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise. + * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise. + +2012-01-26 Joseph Myers + + * crypt/md5.h: Remove __STDC__ conditionals. + * libio/libioP.h: Likewise. + * locale/programs/config.h: Likewise. + * sysdeps/generic/sysdep.h: Likewise. + * sysdeps/i386/asm-syntax.h: Likewise. + * sysdeps/s390/asm-syntax.h: Likewise. + * sysdeps/unix/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise. + +2012-01-26 Joseph Myers + + * libio/libio.h: Remove __STDC__ conditionals. + * malloc/obstack.h: Likewise. + * math/complex.h: Likewise. + * math/math.h: Likewise. + * sysdeps/generic/_G_config.h: Likewise. + * sysdeps/gnu/_G_config.h: Likewise. + * sysdeps/mach/hurd/_G_config.h: Likewise. + * sysdeps/powerpc/bits/mathdef.h: Likewise. + * sysdeps/sh/sh4/bits/mathdef.h: Likewise. + * sysdeps/sparc/bits/mathdef.h: Likewise. + +2012-01-26 Ulrich Drepper + + [BZ #13583] + * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE. + Clean up HAS_* macros. + * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If + bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if + possible. + * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not + HAS_AVX. + * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise. + +2012-01-25 Joseph Myers + + * elf/tst-unique3.cc (gets): Remove declaration. + * elf/tst-unique3lib.cc (gets): Likewise. + * elf/tst-unique3lib2.cc (gets): Likewise. + * elf/tst-unique4.cc (gets): Likewise. + +2012-01-24 Ulrich Drepper + + * include/stdio.h: Add C++ protection. Add gets declarations and + definitions. + * debug/tst-chk1.c: Don't declare gets here. + * stdio-common/tst-gets.c: Likewise. + +2012-01-24 Joseph Myers + + * posix/glob: Remove directory. + +2012-01-24 Joseph Myers + + * wcsmbs/Makefile (tst-c16c32-1-ENV): Define. + +2012-01-22 Pino Toscano + + * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead + of the non-standard EPFNOSUPPORT. + +2011-12-26 Samuel Thibault + + * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try + __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with + ANYWHERE set to 1 only on KERN_NO_SPACE error. + +2012-01-21 Ulrich Drepper + + * wcsmbs/uchar.h: Test __STDC_VERSION__. + +2012-01-20 Ulrich Drepper + + * nscd/aicache.c (addhstaiX): Do not cache negative results of + transient errors. + * nscd/grpcache.c (cache_addgr): Likewise. + * nscd/hstcache.c (cache_addhst): Likewise. + * nscd/initgrcache.c (addinitgroupsX): Likewise. + * nscd/pwdcache.c (cache_addpw): Likewise. + * nscd/servicescache.c (cache_addserv): Likewise. + +2012-01-16 Ulrich Drepper + + * malloc/malloc.c: Various cleanups. + * malloc/hooks.c: Likewise. + + * stdlib/Makefile (tests): Add bug-fmtmsg1. + * stdlib/bug-fmtmsg1.c: New file. + + * stdlib/fmtmsg.c (init): Add missing unlock. + Patch by Peng Haitao . + +2012-01-12 Marek Polacek + + * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11, + and _GNU_SOURCE. + +2012-01-04 Will Schmidt + + * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros. + * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call + macro to ensure uniqueness of label name. + * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise. + * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise. + +2012-01-11 Ulrich Drepper + + * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file. + + * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction. + * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file. + +2012-01-10 Ulrich Drepper + + * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file. + + * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction. + * sysdeps/ieee754/flt-32/s_modff.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise. + + * math/bits/mathcalls.h: Add const attribute to fmin and fmax. + + * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction. + * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file. + + * math/bits/math-finite.h: Add ldexp support. + +2012-01-10 Marek Polacek + + * locale/programs/localedef.h (show_archive_content): Add noreturn + attribute. + +2012-01-09 Ulrich Drepper + + * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction. + +2012-01-08 Ulrich Drepper + + * io/bits/poll2.h: Add __BEGIN/__END_DECLS. + + * io/Makefile (headers): Add bits/poll2.h. + +2011-01-05 Will Schmidt + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a + typo #include statement. + +2012-01-08 Ulrich Drepper + + * include/sys/cdefs.h: Define __attribute_alloc_size. + * catgets/gencat.c: Add alloc_size attribute and apply consistently + the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup. + * elf/pldd.c: Likewise. + * iconv/iconv_charmap.c: Likewise. + * iconv/iconvconfig.c: Likewise. + * iconv/strtab.c: Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/localedef.h: Likewise. + * locale/programs/simple-hash.c: Likewise. + * nscd/nscd.h: Likewise. + * nss/makedb.c: Likewise. + * sysdeps/generic/ldconfig.h: Likewise. + * locale/programs/localedef.c: Remove xmalloc prototype. + * nscd/mem.c: Remove xmalloc and xcalloc prototypes. + +2012-01-05 Paul Pluzhnikov + + * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when + appropriate. + +2012-01-08 Ulrich Drepper + + * math/Makefile (tests): Add tst-CMPLX. + * math/tst-CMPLX.c: New file. + + * math/complex.h (CMPLXL): Fix typo. + + * debug/Makefile (routines): Add poll_chk and ppoll_chk. + * debug/Versions: Export __pool_chk and __ppoll_chk from libc for + GLIBC_2.16. + * debug/tst-chk1.c: Add poll and ppoll tests. + * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE. + * include/sys/poll.h: Add hidden proto for ppoll. + * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def. + * sysdeps/mach/hurd/ppoll.c: Likewise. + * io/ppoll.c: Likewise. + * debug/poll_chk.c: New file. + * debug/ppoll_chk.c: New file. + * include/bits/poll2.h: New file. + * io/bits/poll2.h: New file. + + [BZ #1350] + * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define. + + * configure.in: static is always set to yes. Remove. + * config.make.in: Don't set build-static. + * Makeconfig: Remove use of build-static. + * dlfcn/Makefile: Likewise. + * elf/Makefile: Likewise. + * math/Makefile: Likewise. + * misc/Makefile: Likewise. + * nptl/Makefile: Likewise. + * sysdeps/mach/hurd/Makefile: Likewise. + + * configure.in: PWD_P is not used anymore. + * config.make.in: Remove PWD_P entry. + + * configure.in: Remove last remnants of RANLIB. + No need to check for signed size_t anymore. + Don't set libc_commonpagesize and libc_relro_required here for Alpha + and IA-64. + Remove __builtin_expect test because we require at least gcc 3.4. + * aclocal.m4: Likewise. + + * wcsmbs/mbrtoc16.c: Implement using towc function. + * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions. + * wcsmbs/wcsmbsload.c: Likewise. + * iconv/gconv_simple.c: Likewise. + * iconv/gconv_int.h: Likewise. + * iconv/gconv_builtin.h: Likewise. + * iconv/iconv_prog.c: Remove CHAR16 handling. + + * wcsmbs/c16rtomb.c: Remove #if 0'ed code. + + * wcsmbs/mbrtowc.c: Better check for invalid inputs. + + * configure.in: Remove --with-elf and --enable-bounded options. + Dont set base_machine for ia64. More non-ELF conditions removed. + Remove testing and setting of leading underscore information. + * config.make.in (build-bounded): Set to no. + * config.h.in: Remove NO_UNDERSCORES entry. + * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has + them. + * csu/start.c: Remove !NO_UNDERSCORE code. + * locale/localeinfo.h: Likewise. + * sysdeps/generic/machine-gmon.h: Likewise. + * sysdeps/generic/sysdep.h: Likewise. + * sysdeps/i386/sysdep.h: Likewise. + * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise. + * sysdeps/mach/sysdep.h: Likewise. + * sysdeps/s390/s390-32/sysdep.h: Likewise. + * sysdeps/s390/s390-64/sysdep.h: Likewise. + * sysdeps/sh/sysdep.h: Likewise. + * sysdeps/sparc/sparc32/alloca.S: Likewise. + * sysdeps/unix/i386/sysdep.S: Likewise. + * sysdeps/unix/sparc/start.c: Likewise. + * sysdeps/unix/sparc/sysdep.S: Likewise. + * sysdeps/unix/sparc/sysdep.h: Likewise. + * sysdeps/unix/start.c: Likewise. + * sysdeps/unix/x86_64/sysdep.S: Likewise. + * sysdeps/x86_64/sysdep.h: Likewise. + +2012-01-07 Ulrich Drepper + + [BZ #13553] + * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition + for non-gcc. + * argp/argp-fmtstream.h: Use const instead __const. + * argp/argp.h: Likewise. + * assert/assert.h: Likewise. + * bits/fenv.h: Likewise. + * bits/sched.h: Likewise. + * bits/sigset.h: Likewise. + * bits/sigthread.h: Likewise. + * catgets/nl_types.h: Likewise. + * conform/data/pthread.h-data: Likewise. + * crypt/crypt-private.h: Likewise. + * crypt/crypt.h: Likewise. + * crypt/crypt_util.c: Likewise. + * ctype/ctype.h: Likewise. + * debug/execinfo.h: Likewise. + * debug/mbsnrtowcs_chk.c: Likewise. + * debug/mbsrtowcs_chk.c: Likewise. + * debug/wcsnrtombs_chk.c: Likewise. + * debug/wcsrtombs_chk.c: Likewise. + * debug/wcstombs_chk.c: Likewise. + * dirent/dirent.h: Likewise. + * dlfcn/dlfcn.h: Likewise. + * elf/neededtest4.c: Likewise. + * grp/grp.h: Likewise. + * gshadow/gshadow.h: Likewise. + * iconv/gconv.h: Likewise. + * iconv/gconv_int.h: Likewise. + * iconv/gconv_simple.c: Likewise. + * iconv/iconv.h: Likewise. + * iconv/loop.c: Likewise. + * iconv/skeleton.c: Likewise. + * include/aio.h: Likewise. + * include/aliases.h: Likewise. + * include/argz.h: Likewise. + * include/arpa/inet.h: Likewise. + * include/assert.h: Likewise. + * include/dirent.h: Likewise. + * include/dlfcn.h: Likewise. + * include/execinfo.h: Likewise. + * include/fcntl.h: Likewise. + * include/fenv.h: Likewise. + * include/glob.h: Likewise. + * include/grp.h: Likewise. + * include/libintl.h: Likewise. + * include/mntent.h: Likewise. + * include/netdb.h: Likewise. + * include/pwd.h: Likewise. + * include/rpc/netdb.h: Likewise. + * include/sched.h: Likewise. + * include/search.h: Likewise. + * include/shadow.h: Likewise. + * include/signal.h: Likewise. + * include/stdio.h: Likewise. + * include/stdlib.h: Likewise. + * include/string.h: Likewise. + * include/sys/socket.h: Likewise. + * include/sys/stat.h: Likewise. + * include/sys/statfs.h: Likewise. + * include/sys/statvfs.h: Likewise. + * include/sys/syslog.h: Likewise. + * include/sys/time.h: Likewise. + * include/sys/uio.h: Likewise. + * include/time.h: Likewise. + * include/unistd.h: Likewise. + * include/utmp.h: Likewise. + * include/wchar.h: Likewise. + * include/wctype.h: Likewise. + * inet/aliases.h: Likewise. + * inet/arpa/inet.h: Likewise. + * inet/netinet/ether.h: Likewise. + * inet/netinet/in.h: Likewise. + * intl/libintl.h: Likewise. + * io/bits/fcntl2.h: Likewise. + * io/fcntl.h: Likewise. + * io/ftw.h: Likewise. + * io/sys/poll.h: Likewise. + * io/sys/stat.h: Likewise. + * io/sys/statfs.h: Likewise. + * io/sys/statvfs.h: Likewise. + * io/utime.h: Likewise. + * libio/bits/stdio.h: Likewise. + * libio/bits/stdio2.h: Likewise. + * libio/libio.h: Likewise. + * libio/libioP.h: Likewise. + * libio/stdio.h: Likewise. + * locale/lc-ctype.c: Likewise. + * locale/locale.h: Likewise. + * login/utmp.h: Likewise. + * malloc/arena.c: Likewise. + * malloc/malloc.c: Likewise. + * malloc/malloc.h: Likewise. + * malloc/mcheck.c: Likewise. + * malloc/mtrace.c: Likewise. + * math/bits/mathcalls.h: Likewise. + * math/fenv.h: Likewise. + * math/math_private.h: Likewise. + * misc/bits/error.h: Likewise. + * misc/bits/syslog.h: Likewise. + * misc/err.h: Likewise. + * misc/error.h: Likewise. + * misc/fstab.h: Likewise. + * misc/mntent.h: Likewise. + * misc/regexp.h: Likewise. + * misc/search.h: Likewise. + * misc/sgtty.h: Likewise. + * misc/sys/mman.h: Likewise. + * misc/sys/syslog.h: Likewise. + * misc/sys/uio.h: Likewise. + * misc/sys/xattr.h: Likewise. + * misc/ttyent.h: Likewise. + * nis/rpcsvc/ypclnt.h: Likewise. + * nss/nss.h: Likewise. + * posix/bits/unistd.h: Likewise. + * posix/fnmatch.h: Likewise. + * posix/glob.h: Likewise. + * posix/sched.h: Likewise. + * posix/spawn.h: Likewise. + * posix/sys/wait.h: Likewise. + * posix/unistd.h: Likewise. + * posix/wordexp.h: Likewise. + * pwd/pwd.h: Likewise. + * resolv/netdb.h: Likewise. + * resource/sys/resource.h: Likewise. + * rt/aio.h: Likewise. + * rt/bits/mqueue2.h: Likewise. + * rt/mqueue.h: Likewise. + * shadow/shadow.h: Likewise. + * signal/signal.h: Likewise. + * socket/send.c: Likewise. + * socket/sendto.c: Likewise. + * socket/sys/socket.h: Likewise. + * stdio-common/printf.h: Likewise. + * stdlib/bits/stdlib.h: Likewise. + * stdlib/fmtmsg.h: Likewise. + * stdlib/monetary.h: Likewise. + * stdlib/stdlib.h: Likewise. + * stdlib/ucontext.h: Likewise. + * streams/stropts.h: Likewise. + * string/argz.h: Likewise. + * string/bits/string2.h: Likewise. + * string/string.h: Likewise. + * string/strings.h: Likewise. + * sunrpc/rpc/auth.h: Likewise. + * sunrpc/rpc/auth_des.h: Likewise. + * sunrpc/rpc/clnt.h: Likewise. + * sunrpc/rpc/netdb.h: Likewise. + * sunrpc/rpc/pmap_clnt.h: Likewise. + * sunrpc/rpc/xdr.h: Likewise. + * sysdeps/generic/inttypes.h: Likewise. + * sysdeps/generic/net/if.h: Likewise. + * sysdeps/generic/sys/swap.h: Likewise. + * sysdeps/gnu/net/if.h: Likewise. + * sysdeps/gnu/utmpx.h: Likewise. + * sysdeps/i386/fpu/bits/fenv.h: Likewise. + * sysdeps/i386/i486/bits/string.h: Likewise. + * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise. + * sysdeps/s390/bits/string.h: Likewise. + * sysdeps/s390/fpu/bits/fenv.h: Likewise. + * sysdeps/sparc/fpu/bits/fenv.h: Likewise. + * sysdeps/sparc/fpu/bits/mathinline.h: Likewise. + * sysdeps/unix/sysv/linux/bits/resource.h: Likewise. + * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. + * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise. + * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. + * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise. + * sysdeps/unix/sysv/linux/bits/uio.h: Likewise. + * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise. + * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise. + * sysdeps/unix/sysv/linux/preadv.c: Likewise. + * sysdeps/unix/sysv/linux/prlimit.c: Likewise. + * sysdeps/unix/sysv/linux/pwritev.c: Likewise. + * sysdeps/unix/sysv/linux/readv.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise. + * sysdeps/unix/sysv/linux/sys/acct.h: Likewise. + * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise. + * sysdeps/unix/sysv/linux/sys/mount.h: Likewise. + * sysdeps/unix/sysv/linux/sys/swap.h: Likewise. + * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise. + * sysdeps/x86_64/fpu/bits/fenv.h: Likewise. + * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise. + * sysdeps/x86_64/strncase_l-nonascii.c: Likewise. + * sysvipc/sys/ipc.h: Likewise. + * sysvipc/sys/msg.h: Likewise. + * sysvipc/sys/sem.h: Likewise. + * sysvipc/sys/shm.h: Likewise. + * termios/termios.h: Likewise. + * time/sys/time.h: Likewise. + * time/time.h: Likewise. + * wcsmbs/bits/wchar2.h: Likewise. + * wcsmbs/uchar.h: Likewise. + * wcsmbs/wchar.h: Likewise. + * wctype/wctype.h: Likewise. + + [BZ #13551] + * Makeconfig: Remove all but ELF support including AIX support. + * Makerules: Likewise. + * config.h.in: Likewise. + * config.make.in: Likewise. + * configure: Likewise. + * configure.in: Likewise. + * csu/Makefile: Likewise. + * csu/version.c: Likewise. + * debug/Makefile: Likewise. + * dlfcn/Makefile: Likewise. + * elf/Makefile: Likewise. + * extra-lib.mk: Likewise. + * iconv/Makefile: Likewise. + * include/libc-symbols.h: Likewise. + * include/shlib-compat.h: Likewise. + * resolv/Makefile: Likewise. + * resolv/res_libc.c: Likewise. + * rt/Makefile: Likewise. + * sysdeps/i386/asm-syntax.h: Likewise. + * sysdeps/i386/sysdep.h: Likewise. + * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise. + * sysdeps/mach/sysdep.h: Likewise. + * sysdeps/powerpc/powerpc32/Makefile: Likewise. + * sysdeps/powerpc/powerpc64/Makefile: Likewise. + * sysdeps/s390/asm-syntax.h: Likewise. + * sysdeps/s390/s390-32/sysdep.h: Likewise. + * sysdeps/s390/s390-64/sysdep.h: Likewise. + * sysdeps/sh/sysdep.h: Likewise. + * sysdeps/unix/sparc/sysdep.h: Likewise. + * sysdeps/wordsize-32/divdi3.c: Likewise. + * sysdeps/x86_64/sysdep.h: Likewise. + + * argp/Versions: Remove _argp_unlock_xxx. + + [BZ #13559] + * abilist/ld.abilist: Update. Adjust for removal of tls option. + * abilist/libBrokenLocale.abilist: Likewise. + * abilist/libanl.abilist: Likewise. + * abilist/libc.abilist: Likewise. + * abilist/libcrypt.abilist: Likewise. + * abilist/libdl.abilist: Likewise. + * abilist/libm.abilist: Likewise. + * abilist/libnsl.abilist: Likewise. + * abilist/libpthread.abilist: Likewise. + * abilist/libresolv.abilist: Likewise. + * abilist/librt.abilist: Likewise. + * abilist/libthread_db.abilist: Likewise. + * abilist/libutil.abilist: Likewise. + * abilist/libnss_db.abilist: New file. + + * scripts/abilist.awk: Add support for indirect functions. + + * sysdeps/unix/sysv/linux/configure.in: Remove m68k support. + + * sysdeps/generic/ldsodefs.h: Remove Alpha support. + + * shlib-versions: Remove entries for ports architectures. + + * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in + files in ports. + * elf/stackguard-macros.h: Remove support for IA-64. + * elf/tst-auditmod1.c: Likewise. + * sysdeps/generic/ldsodefs.h: Likewise. + + * sysdeps/unix/sysv/linux/configure.in: Ports should define + libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their + configure files. + + [BZ #13552] + * configure.in: Remove --enable-omitfp support. + * FAQ.in: Adjust. + * config.make.in: Likewise. + * Makeconfig: Likewise. + * manual/install.texi: Likewise. + + In case anyone cares, the IA-64 architecture could move to ports. + * sysdeps/ia64/*: Removed. + * sysdeps/unix/sysv/linux/ia64/*: Removed. + * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support. + + [BZ #13555] + * configure.in: Remove entries for unsupported architectures. + + [BZ #13533] + * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions. + * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8 + routines. + * iconv/gconv_int.h: Adjust prototypes for char16_t routines. + * iconv/iconv_prog.c: Recognize CHAR16 as internal name. + * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and + fall back to using wcrtomb. + * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions. + * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for + renaming. + * wcsmbs/Makefile (tests): Add tst-c16c32-1: + * wcsmbs/tst-c16c32-1.c: New file. + + * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing + local variable. + + * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE. + + * elf/tst-unique3.cc: Add explicit declaration of gets. + * elf/tst-unique3lib.cc: Likewise. + * elf/tst-unique3lib2.cc: Likewise. + * elf/tst-unique4.cc: Likewise. + + * string/test-strcpy.c (do_one_test): Fix format string for WIDE use. + +2012-01-06 Joseph Myers + + [BZ #13566] + * assert/assert.h (static_assert): Don't define for C++. + * libio/stdio.h (gets): Do declare for C++ <= C++11. + * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11. + +2012-01-03 Ulrich Drepper + + * iconv/loop.c (single loop): Fix assertion in storing of + remaining bytes. + + * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings. + +2012-01-01 Ulrich Drepper + + * posix/getconf.c: Update copyright year. + * nss/getent.c: Likewise. + * nss/makedb.c: Likewise. + * iconv/iconvconfig.c: Likewise. + * iconv/iconv_prog.c: Likewise. + * elf/ldconfig.c: Likewise. + * elf/pldd.c: Likewise. + * elf/sotruss.ksh: Likewise. + * catgets/gencat.c: Likewise. + * csu/version.c: Likewise. + * elf/ldd.bash.in: Likewise. + * elf/sprof.c (print_version): Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/localedef.c: Likewise. + * login/programs/pt_chown.c: Likewise. + * nscd/nscd.c (print_version): Likewise. + * debug/xtrace.sh: Likewise. + * malloc/memusage.sh: Likewise. + * malloc/mtrace.pl: Likewise. + * debug/catchsegv.sh: Likewise. + +2011-12-30 Jakub Jelinek + + * posix/regex_internal.c (re_string_fetch_byte_case): Remove + pure attribute. + +2011-12-24 Ulrich Drepper + + [BZ #13533] + * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations. + * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16 + transformations. + * iconv/gconv_int.h: Likewise. + * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb. + * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb + from libc for GLIBC_2.16. + * wcsmbs/mbrtowc.c: Define mbrtoc32 alias. + * wcsmbs/wcrtomb.c: Define c32rtomb alias. + * wcsmbs/uchar.h: Really define mbstate_t. + * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h. + * wcsmbs/c16rtomb.c: New file. + * wcsmbs/mbrtoc16.c: New file. + * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions + for C/POSIX locale. + (__wcsmbs_load_conv): Do not fill in c16 routines yet. + * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines. + + * wcsmbs/wchar.h: Add missing __restrict. + +2011-12-23 Ulrich Drepper + + [BZ #13532] + * time/Makefile (routines): Add timespec_get. + * time/Versions: Export timespec_get from libc for GLIBC_2.16. + * time/time.h: Define TIME_UTC and declare timespec_get. Define + timespec for ISO C11. + * time/timespec_get.c: New file. + * sysdeps/unix/sysv/linux/timespec_get.c: New file. + * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file. + + [BZ #13531] + * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn. + * stdlib/stdlib.h: Declare aligned_alloc. + * Versions.def: Add GLIBC_2.16 for libc. + * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16. + + [BZ 13527] + * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for + ISO C11. + + * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11 + code. + + [BZ #13528] + * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE. + + [BZ #13529] + * assert/assert.h (static_assert): Define. + + * version.h: Update for 2.16 development version. + + [BZ #13526] + * include/features.h: Handle __STDC_VERSION__ >= 201112 and + _ISOC11_SOURCE. + + * version.h (RELEASE): Bump for 2.15 release. + * include/features.h (__GLIBC_MINOR__): Bump to 15. + + * sysdeps/x86_64/dl-machine.h: Fix typos in comments. + Patch by Marek Polacek . + + * bits/byteswap.h: Protect long long constants with __extension__. + * sysdeps/i386/bits/byteswap.h: Likewise. + * sysdeps/ia64/bits/byteswap.h: Likewise. + * sysdeps/s390/bits/byteswap.h: Likewise. + * sysdeps/x86_64/bits/byteswap.h: Likewise. + +2011-12-23 Liubov Dmitrieva + + [BZ #13540] + * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in + destination buffer. + * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise. + +2011-12-23 Marek Polacek + + * elf/dl-addr.c (determine_info): Add inline keyword. + * elf/tst-auditmod4b.c (check_avx): Likewise. + * elf/tst-auditmod6b.c (check_avx): Likewise. + * elf/tst-auditmod6c.c (check_avx): Likewise. + * elf/tst-auditmod7b.c (check_avx): Likewise. + +2011-12-23 Ulrich Drepper + + * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for + !__SSE_MATH__. + +2011-12-23 Liubov Dmitrieva + + [BZ #13540] + * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying + processing for last bytes. + +2011-08-06 Bruno Haible + + [BZ #13061] + * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to + U+0385, not to U+1FEE. + + [BZ #13062] + * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong + entry for U+00A5 U+0301. + +2011-12-22 Ulrich Drepper + + [BZ #13166] + * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the + buffer for the output is too small. + + * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept + optimization. + + [BZ #13185] + * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return + SSE flags if possible. + +2011-12-22 Liubov Dmitrieva + + [BZ #13540] + * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying + processing for last bytes. + +2011-12-22 Joseph Myers + + * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants) + (syscall-list-default-options, syscall-list-default-condition) + (syscall-list-includes): Define. + ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary + list of ABIs and options and #if conditions for each ABI. Do not + handle common syscalls between ABIs specially. + * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine): + Remove. + (syscall-list-variants, syscall-list-32bit-options) + (syscall-list-32bit-condition, syscall-list-64bit-options) + (syscall-list-64bit-condition): Define. + * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove. + (syscall-list-variants, syscall-list-32bit-options) + (syscall-list-32bit-condition, syscall-list-64bit-options) + (syscall-list-64bit-condition): Define. + * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine): + Remove. + (syscall-list-variants, syscall-list-32bit-options) + (syscall-list-32bit-condition, syscall-list-64bit-options) + (syscall-list-64bit-condition): Define. + * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine): + Remove. + (syscall-list-variants, syscall-list-32bit-options) + (syscall-list-32bit-condition, syscall-list-64bit-options) + (syscall-list-64bit-condition): Define. + +2011-12-22 Ulrich Drepper + + * locale/iso-639.def: Add brx entry. + + [BZ #13328] + * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock. + Proposed by Mariusz_Cukr . + + * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for + __feraiseexcept_renamed. + +2011-12-21 Ulrich Drepper + + [BZ #13538] + * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and + EPOLLET with unsigned values. + * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise. + + * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead + to large cancellation. + * math/s_cacoshf.c: Likewise. + * math/s_cacoshl.c: Likewise. + +2011-11-18 Richard B. Kreckel + + [BZ #13305] + [BZ #12786] + * math/s_cacosh.c: Fix rare miscomputation in cacosh(). + * math/s_cacoshf.c: Likewise. + * math/s_cacoshl.c: Likewise. + +2011-12-21 Ulrich Drepper + + [BZ #13439] + * iconv/gconv.h: Define __GCONV_SWAP. + * iconvdata/unicode.c: The swap bit must be stored in __flags. + * iconvdata/utf-16.c: Likewise. + * iconvdata/utf-32.c: Likewise. + +2011-12-21 Andreas Schwab + + [BZ #13524] + * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of + numerator after shifting it by one limb. + +2011-12-19 Rafael Ávila de EspĂ­ndola + + * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only + under [__USE_EXTERN_INLINES]. + +2011-12-17 Ulrich Drepper + + [BZ #13446] + * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array. + +2011-11-22 Adhemerval Zanella + + * sysdeps/powerpc/Makefile: Added locale-defines.sym generation. + * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp + optimized code. + * sysdeps/powerpc/powerpc32/power7/Makefile: New file. + * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file. + * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file. + * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option + for strncasecmp/strncasecmp_l compilation. + * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file. + * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file. + +2011-12-08 Marek Polacek + + [BZ #13484] + * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead + of __asm__. + +2011-12-17 Ulrich Drepper + + [BZ #13506] + * time/tzfile.c (__tzfile_read): Check values from file header. + +2011-11-21 Will Schmidt + + * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro. + * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro. + * powerpc/powerpc32/dl-start.S: Likewise. + * powerpc/powerpc32/elf/start.S: Likewise. + * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise. + * powerpc/powerpc32/fpu/s_ceil.S: Likewise. + * powerpc/powerpc32/fpu/s_ceilf.S: Likewise. + * powerpc/powerpc32/fpu/s_floor.S: Likewise. + * powerpc/powerpc32/fpu/s_floorf.S: Likewise. + * powerpc/powerpc32/fpu/s_lround.S: Likewise. + * powerpc/powerpc32/fpu/s_rint.S: Likewise. + * powerpc/powerpc32/fpu/s_rintf.S: Likewise. + * powerpc/powerpc32/fpu/s_round.S: Likewise. + * powerpc/powerpc32/fpu/s_roundf.S: Likewise. + * powerpc/powerpc32/fpu/s_trunc.S: Likewise. + * powerpc/powerpc32/fpu/s_truncf.S: Likewise. + * powerpc/powerpc32/fpu/setjmp-common.S: Likewise. + * powerpc/powerpc32/memset.S: Likewise. + * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise. + * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise. + * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise. + * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise. + * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise. + * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise. + * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise. + * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise. + * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise. + * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise. + * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise. + * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise. + * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise. + +2011-11-18 Adhemerval Zanella + + * math/libm-test.inc: Added more nearbyint tests. + * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file. + * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file. + +2011-11-21 Ross Lagerwall + + * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with + FD_CLOEXEC. + +2011-11-14 Liubov Dmitrieva + + * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines): + Add wcscpy-ssse3 wcscpy-c. + * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file. + * sysdeps/x86_64/multiarch/wcscpy-c.c: New file. + * sysdeps/x86_64/multiarch/wcscpy.S: New file. + * sysdeps/x86_64/wcschr.S: New file. + * sysdeps/x86_64/wcsrchr.S: New file. + * string/test-strcmp.c: Remove checking of wcscmp function for + wrong alignments. + * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs] + (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c + wcsrchr-sse2 wcsrchr-c. + * sysdeps/i386/i686/multiarch/wcschr.S: New file. + * sysdeps/i386/i686/multiarch/wcschr-c.c: New file. + * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file. + * sysdeps/i386/i686/multiarch/wcsrchr.S: New file. + * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file. + * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file. + * sysdeps/i386/i686/multiarch/wcscpy.S: New file. + * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file. + * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file. + * wcsmbc/wcschr.c (WCSCHR): New macro. + +2011-11-17 Liubov Dmitrieva + + * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy. + * wcsmbs/test-wcsrchr.c: New file. + * string/test-strrchr.c: Add wcsrchr support. + (WIDE): New macro. + * wcsmbs/test-wcscpy.c: New file. + * string/test-strcpy.c: Add wcscpy support. + (WIDE): New macro. + +2011-12-10 Ulrich Drepper + + * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of + the inner loop. + +2011-12-06 Andreas Schwab + + [BZ #13472] + * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value. + +2011-12-04 Ulrich Drepper + + * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute. + Minor optimizations. + + * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues. + * sunrpc/clnt_tcp.c (clnttcp_control): Likewise. + * sunrpc/clnt_udp.c (clntudp_call): Likewise. + +2011-12-03 Ulrich Drepper + + * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED, + IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL, + IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL + for gcc to avoid warnings. + * inet/Makefile (tests): Add tst-checks. + * inet/tst-checks.c: New file. + + * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid + warning. + + * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for + __wmemcmp_sse2. + + * sysdeps/x86_64/fpu/s_scalbln.c: Removed. + * sysdeps/x86_64/fpu/s_scalbn.c: Removed. + + * malloc/mcheck.h: Fix use of incorrect encoding in comment. + +2011-12-02 Ulrich Drepper + + * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing + problem. + + * nscd/aicache.c (addhstaiX): Avoid unused variable warning. + +2011-11-29 Joseph Myers + + * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define + conditional on GCC version. + (__arch_compare_and_exchange_val_8_acq) + (__arch_compare_and_exchange_val_16_acq) + (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add) + (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set) + (atomic_bit_test_set): Use rNOSP instead of "r" constraints. + +2011-12-02 Joseph Myers + + * sysdeps/sh/backtrace.c: New file. + +2011-12-02 Andreas Schwab + + * misc/bits/select2.h (__FD_ELT): Mark as extension. Add + parenthesis. + +2011-12-01 Andreas Schwab + + * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when + falling back to utime. + +2011-11-30 Andreas Schwab + + * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i) + expectations for float. + +2011-11-29 Andreas Schwab + + * locale/weight.h (findidx): Add parameter len. + * locale/weightwc.h (findidx): Likewise. + * posix/fnmatch_loop.c (FCT): Adjust caller. + * posix/regcomp.c (build_equiv_class): Likewise. + * posix/regex_internal.h (re_string_elem_size_at): Likewise. + * posix/regexec.c (check_node_accept_bytes): Likewise. + * string/strcoll_l.c (STRCOLL): Likewise. + * string/strxfrm_l.c (STRXFRM): Likewise. + +2011-11-17 Ulrich Drepper + + * Makefile.in: Remove CVSOPT handling. + * configure.in: Remove use of AC_REVISION. + * iconvdata/Makefile (distribute): No need to filter out CVS. + * scripts/list-sources.sh: Remove CVS, subversion and monotone + handling. + +2011-11-16 Andreas Schwab + + * sysdeps/i386/i686/multiarch/strcmp-ssse3.S + [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC. + [USE_AS_STRNCASECMP_L]: Likewise. + (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle + NO_TLS_DIRECT_SEG_REFS. + * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]: + Fix argument offsets for non-PIC. + [USE_AS_STRNCASECMP_L]: Likewise. + (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle + NO_TLS_DIRECT_SEG_REFS. + +2011-11-15 Ulrich Drepper + + * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with + O_CLOEXEC. + * locale/loadlocale.c (_nl_load_locale): Likewise. + +2011-11-15 Andreas Schwab + + * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU) + [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break. + * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c + (SYSCALL_GETTIME): Set errno on error. + + * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly + count references to noai6ai_cached. + +2011-11-15 Ulrich Drepper + + * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file. + + * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set + FD_CLOEXEC for /proc/self/maps. + + * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set + FD_CLOEXEC for /proc/meminfo. + + * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for + gai.conf. + + * resolv/res_query.c (res_hostalias): Don't allow cancellation and set + FD_CLOEXEC for given file. + + * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf. + + * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set + FD_CLOEXEC for /etc/hosts. + (_gethtent): Likewise. + + * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC. + + * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow + cancellation and set FD_CLOEXEC for /etc/netgroup. + + * nss/nss_files/files-key.c (search): Don't allow cancellation when + reading /etc/publickey. + + * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't + allow cancellation when reading /etc/group. + + * nss/nss_files/files-alias.c (internal_setent): Don't allow + cancellation. + (get_next_alias): Likewise for included file. Also set FD_CLOEXEC. + + * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation + when using data file. + + * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss. + + * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC. + (write_nis_obj): Use "c" and "e" in fopen. + + * misc/mntent_r.c (__setmntent): Also append e to fopen format. + + * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells. + + * misc/getttyent.c (setttyent): Set FD_CLOEXEC. + + * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty. + + * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for + locale.alias. + + * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc. + + * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv. + + * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file. + + * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config + file parsing and set FD_CLOEXEC. + +2011-11-14 Ulrich Drepper + + * time/tzfile.c (__tzfile_read): Use "e" in fopen call. + +2011-11-14 Andreas Schwab + + * malloc/arena.c (arena_get2): Don't call reused_arena when + _int_new_arena failed. + +2011-11-14 Ulrich Drepper + + * sysdeps/i386/i686/multiarch/Makefile [subdir=string] + (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4. + * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code. + * sysdeps/i386/i686/multiarch/strcmp.S: Likewise. + * sysdeps/i386/i686/multiarch/strncase.S: Likewise. + * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse + to compile strcasecmp and strncasecmp. + * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file. + * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file. + + * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently. + +2011-11-13 Ulrich Drepper + + * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add + locale-defines.sym to gen-as-const-headers. + (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c, + strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3. + * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse + to compile strcasecmp and strncasecmp. + * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for + strcasecmp_l and strncasecmp_l. + * sysdeps/i386/i686/multiarch/locale-defines.sym: New file. + * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file. + * sysdeps/i386/i686/multiarch/strcasecmp.S: New file. + * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file. + * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file. + * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file. + * sysdeps/i386/i686/multiarch/strncase-c.c: New file. + * sysdeps/i386/i686/multiarch/strncase.S: New file. + * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file. + * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file. + * sysdeps/i386/i686/multiarch/strncase_l.S: New file. + +2011-11-12 Ulrich Drepper + + * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign + result of SYSDEP_GETTIME_CPU to retval. + * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add + parameter list to macro. Remove trailing semicolon. Adjust users. + + * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused + variable. + + * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing + mantissa words. + * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise. + + * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning + from unused variable. + + * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for + DWARF definitions. + * sysdeps/generic/dwarf2.h: Don't define enums when using the file + for assembling. + + * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate + over namespaces. + + * sunrpc/rpc_prot.c (rejected): Fix case value. + + * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use + unsigned long long int to avoid warnings in shift. + + * posix/regex_internal.c (re_string_reconstruct): Actually use result + of use of trans. + * posix/regex_internal.h (re_string_wchar_at): Remove temporary + variable tmp. + + * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning. + * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise. + * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise. + + * nis/nis_table.c (nis_list): Use variable of correct type for + result of __follow_path call. + +2011-11-07 Adhemerval Zanella + + * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version + of math functions ceil, trunc, floor, round, and sqrt, when + avaliable on the platform. + * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid + name clash. + * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise. + * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise. + * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise. + +2011-10-30 Marek Polacek + + * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable. + * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise. + +2011-11-11 Roland McGrath + + * include/unistd.h: Fix __readlink return type. + Reported by Chris Metcalf . + +2011-11-11 Ulrich Drepper + + * stdlib/ucontext.h: Undo last change for makecontext. + +2011-11-11 Andreas Schwab + + * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script. + + * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define. + * setjmp/setjmp.h: Mark functions as non-leaf. + * setjmp/bits/setjmp2.h: Likewise. + * stdlib/ucontext.h: Likewise. + +2011-11-10 Andreas Schwab + + * malloc/arena.c (_int_new_arena): Don't increment narenas. + (reused_arena): Don't check arena limit. + (arena_get2): Atomically check arena limit. + +2011-11-08 Ulrich Drepper + + * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l. + * intl/localealias.c (strcasecmp): Define using __strcasecmp_l. + + * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary + instructions. + +2011-11-07 Andreas Schwab + + * libio/genops.c (_IO_flush_all_lockp): Only register cleanup + handler when locking. + + * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): + Fix size of allocated buffer. + +2011-11-04 Andreas Schwab + + [BZ #10103] + * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide + declarations for long double functions. + * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise. + + * elf/sprof.c (load_shobj): Fix off-by-one when reading link name. + +2011-11-03 Andreas Schwab + + * nscd/nscd.c (main): Don't start AVC thread until credentials are + installed. + + * nss/makedb.c (set_file_creation_context): Do nothing if SELinux + is disabled. + +2011-11-02 Samuel Thibault + + * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4. + +2011-11-01 Andreas Schwab + + * include/alloca.h (stackinfo_alloca_round): Define. + (extend_alloca): Use it. + [_STACK_GROWS_UP]: Correct check for adjacent allocation. + * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size + here. + + * scripts/check-local-headers.sh: Ignore libaudit.h. + + * nscd/Makefile (extra-objs): Make recursively expanded. + +2011-11-01 Ulrich Drepper + + * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales. + * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise. + + * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function. + * posix/tst-rfc3484-2.c: Likewise. + * posix/tst-rfc3484-3.c: Likewise. + + * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and + process_vm_writev. + * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and + process_vm_writev. + * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and + process_vm_writev from libc using GLIBC_2.15 version. + + * nscd/connections.c: Use kernel headers instead of . + +2011-10-31 Paul Pluzhnikov + + * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce + stack usage. + +2011-10-31 Ulrich Drepper + + [BZ #13367] + * nss/getent.c (initgroups_keys): Show error message in case no group + names are given. + + * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp. + * inet/check_pf.c: Provide dummy versions of __free_in6ai and + __bump_nl_timestamp. + * nscd/connections (nscd_init): When host database is served open + netlink socket and request notification about configuration changes. + (main_loop_poll): Track netlink file descriptor and bump timestamp + in case data becomes available. + (main_loop_epoll): Likewise. + * nscd/nscd-client.h (DB_VERSION): Bump to 2. + (database_pers_head): Add extra_data fileds. + Declare __nscd_get_mapping and __nscd_get_nl_timestamp. + * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function. + * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping. + Adjust caller. + * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on + in6ai data, call __free_in6ai. + * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS): + Add -DHAVE_NETLINK. + * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the + interface information. Reuse previous data if netlink timestamp + is not changed. + (__bump_nl_timestamp): New function. + (__free_in6ai): New function. + +2011-10-30 Ulrich Drepper + + * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call + close_not_cancel_no_status here. + (__check_pf): Reorganize code a bit to not call close twice if OOM. + +2011-10-29 Ulrich Drepper + + [BZ #13276] + * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap + return value. + + * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL. + * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf, + asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL. + +2011-07-03 Andreas Jaeger + + [BZ #10709] + * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding + of sin. Patch suggested by Paul Zimmermann . + * math/libm-test.inc (sin_test): Add test case. + +2011-10-29 Ulrich Drepper + + [BZ #13337] + * elf/sprof.c (load_shobj): Correctly NUL-terminate link name. + Patch by Thomas Jarosch . + + * elf/chroot_canon.c (chroot_canon): Cleanups. + + * elf/dl-lookup.c (_dl_setup_hash): Avoid warning. + + [BZ #13335] + * elf/chroot_canon.c (chroot_canon): Fix readlink call. + Patch by Thomas Jarosch . + + * string/test-strchr.c: Make usable for strchrnul testing. + * string/test-strchrnul.c: New file. + * string/Makefile (strop-tests): Add strchrnul. + + * po/it.po: Update from translation team. + * po/es.po: Likewise. + +2011-10-28 Ulrich Drepper + + * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take + the three constants needed as parameters. Drop the others. + (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to + __m128i_strloadu_tolower. + Create and initialize variable zero and use it in all the places + where _mm_setzero_si128 was used. + + * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c, + doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c, + mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c. + * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants + anymore. + * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2. + * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan. + * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred, + __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1. + * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred, + __mpranred, __mptan. + * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed. + * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed. + * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed. + * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed. + * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed. + * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed. + * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed. + * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed. + * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed. + +2011-10-28 Andreas Schwab + + * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only + redefine if SHARED. + * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise. + + * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move + wide char related routines to wcsmbs subdir. + +2011-10-27 Andreas Schwab + + [BZ #13344] + * misc/sys/cdefs.h (__THROWNL): Define. + * posix/unistd.h: Use __THREADNL instead of __THREAD + for memory synchronization functions. + +2011-10-26 Roland McGrath + + [BZ #13349] + * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which + doesn't exist. + * manual/stdio.texi (Obstack Streams): Node removed. + +2011-10-26 Andreas Schwab + + * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval. + * sysdeps/ieee754/dbl-64/s_round.c: Likewise. + * sysdeps/ieee754/flt-32/s_roundf.c: Likewise. + + * math/math_private.h (math_force_eval): Allow non-addressable + arguments. + * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise. + +2011-10-25 Ulrich Drepper + + * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the + file is not needed. + + * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants. + * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables. + Add AVX variants. + * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file. + * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file. + * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file. + * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file. + * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file. + * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file. + * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file. + * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file. + * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file. + * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file. + * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file. + * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file. + * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file. + * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file. + * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file. + * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file. + * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file. + * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file. + * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file. + + * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available + all the time. Define bit_AVX. Define HAS_* macros using bit_* macros. + + * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier + place. Use VEX encoding when compiling for AVX. + +2011-10-25 Andreas Schwab + + * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t. + * wcsmbs/wmemcmp.c (WMEMCMP): Likewise. + + * string/test-strchr.c (do_test): Don't generate NUL bytes. + +2011-10-25 Ulrich Drepper + + * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a + useless if() expression. + * sysdeps/ieee754/dbl-64/e_j0.c: Likewise. + * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise. + * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise. + * sysdeps/ieee754/dbl-64/s_floor.c: Likewise. + * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise. + * sysdeps/ieee754/dbl-64/s_round.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise. + * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise. + * sysdeps/ieee754/flt-32/e_j0f.c: Likewise. + * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise. + * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise. + * sysdeps/ieee754/flt-32/s_floorf.c: Likewise. + * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise. + * sysdeps/ieee754/flt-32/s_roundf.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise. + + * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible. + +2011-10-25 Andreas Schwab + + * elf/dl-deps.c (_dl_map_object_deps): Remove always true + condition. + * elf/dl-fini.c (_dl_sort_fini): Likewise. + +2011-10-25 Ulrich Drepper + + * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate + .text section. Avoid duplicate constants. + * sysdeps/ieee754/dbl-64/doasin.c: Likewise. + * sysdeps/ieee754/dbl-64/dosincos.c: Likewise. + * sysdeps/ieee754/dbl-64/e_asin.c: Likewise. + * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. + * sysdeps/ieee754/dbl-64/e_exp.c: Likewise. + * sysdeps/ieee754/dbl-64/e_log.c: Likewise. + * sysdeps/ieee754/dbl-64/e_pow.c: Likewise. + * sysdeps/ieee754/dbl-64/halfulp.c: Likewise. + * sysdeps/ieee754/dbl-64/mpa.c: Likewise. + * sysdeps/ieee754/dbl-64/mpa.h: Likewise. + * sysdeps/ieee754/dbl-64/mpatan.c: Likewise. + * sysdeps/ieee754/dbl-64/mpatan.h: Likewise. + * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise. + * sysdeps/ieee754/dbl-64/mpexp.c: Likewise. + * sysdeps/ieee754/dbl-64/mpexp.h: Likewise. + * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise. + * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise. + * sysdeps/ieee754/dbl-64/mptan.c: Likewise. + * sysdeps/ieee754/dbl-64/s_sin.c: Likewise. + * sysdeps/ieee754/dbl-64/s_tan.c: Likewise. + * sysdeps/ieee754/dbl-64/sincos32.c: Likewise. + * sysdeps/ieee754/dbl-64/slowexp.c: Likewise. + * sysdeps/ieee754/dbl-64/slowpow.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise. + +2011-10-24 Ulrich Drepper + + * sysdeps/x86_64/dla.h: Move to ... + * sysdeps/x86_64/fpu/dla.h: ...here. + (DLA_FMS): Some compilers fail to inline __builtin_fma in some + situations. Use __builtin_fma only for gcc 4.6 and up. + + * config.make.in: Add have-mfma4 entry. + * configure.in: Substitute libc_cv_cc_fma4. + * math/Makefile (dbl-only-routines): Add sincostab. + * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl. + Use __sincostab not sincos. + * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function + name is a macro. + * sysdeps/ieee754/dbl-64/e_exp.c: Likewise. + * sysdeps/ieee754/dbl-64/e_log.c: Likewise. + * sysdeps/ieee754/dbl-64/e_pow.c: Likewise. + * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2 + using __copysign. + * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define + __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define + norm, denorm, and __mp_dbl unless NO___MP_DBL is defined. + * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn, + and __inv. + * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static. + * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using + __copysign. + * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't + define aliases when function name is a macro. + * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from + sysdeps/ieee754/dbl-64/sincos.tbl. + * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build + fma4-enabled routines. + * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file. + * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file. + * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file. + * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file. + * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file. + * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file. + * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file. + * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file. + * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file. + * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file. + * sysdeps/x86_64/fpu/multiarch/e_log.c: New file. + * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file. + * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file. + * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file. + * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file. + * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file. + * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file. + * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file. + * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file. + * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file. + * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file. + * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file. + * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file. + * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file. + * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file. + * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file. + * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file. + * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file. + * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file. + * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file. + + * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS + rename. + * sysdeps/ieee754/dbl-64/dosincos.c: Likewise. + * sysdeps/ieee754/dbl-64/dosincos.c: Likewise. + * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. + * sysdeps/ieee754/dbl-64/e_log.c: Likewise. + * sysdeps/ieee754/dbl-64/e_pow.c: Likewise. + * sysdeps/ieee754/dbl-64/halfulp.c: Likewise. + * sysdeps/ieee754/dbl-64/s_atan.c: Likewise. + * sysdeps/ieee754/dbl-64/s_tan.c: Likewise. + +2011-10-24 Andreas Schwab + + * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic. + +2011-10-23 Ulrich Drepper + + * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file. + + * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch + prediction. + * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file. + + * string/strnlen.c: Don't define STRNLEN, reverse logic. + Remove unused variable magic_bits. + * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file. + + * string/strnlen.c: Define and use STRNLEN macro. + * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines): + Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c. + * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen. + * wcsmbs/wcslen.c: Define and use WCSLEN. + * sysdeps/i386/i686/multiarch/strnlen-c.c: New file. + * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file. + * sysdeps/i386/i686/multiarch/strnlen.S: New file. + * sysdeps/i386/i686/multiarch/wcslen-c.c: New file. + * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file. + * sysdeps/i386/i686/multiarch/wcslen.S: New file. + Patch by Liubov Dmitrieva . + +2011-10-20 Liubov Dmitrieva + + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add + strnlen-sse2-no-bsf. + Rename strlen-no-bsf to strlen-sse2-no-bsf. + * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to + * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: + Add strnlen support. + (USE_AS_STRNLEN): New macro. + * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file. + * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update. + Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S + * sysdeps/x86_64/wcslen.S: New file. + +2011-10-20 Michael Zolotukhin + + * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update. + XMM-moves are used for copying on small sizes. + +2011-10-19 Liubov Dmitrieva + + * wcsmbs/Makefile (strop-tests): Add wcschr. + * wcsmbs/test-wcschr.c: New file. + * string/test-strchr.c: Update. + Add wcschr support. + (WIDE): New macro. + +2011-10-18 Liubov Dmitrieva + + * wcsmbs/Makefile (strop-tests): Add wcslen. + * wcsmbs/test-wcslen.c: New file. + * string/test-strlen.c: Update. + Add wcslen support. + (WIDE): New macro. + +2011-10-23 Ulrich Drepper + + * po/it.po: Update from translation team. + +2011-09-22 Liubov Dmitrieva + + * sysdeps/x86_64/wcscmp.S: Update. + Fix wrong comparison semantics. + wcscmp shall use signed comparison not unsigned. + Don't use substraction to avoid overflow bug. + * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise. + * wcsmbc/wcscmp.c: Likewise. + * string/test-strcmp.c: Likewise. + Add new tests to check cases with negative values. + +2011-10-23 Ulrich Drepper + + * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to... + * sysdeps/x86_64/dla.h: ...here. New file. + * sysdeps/ieee754/dbl-64/doasin.c: Use not "dla.h". + * sysdeps/ieee754/dbl-64/dosincos.c: Likewise. + * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. + * sysdeps/ieee754/dbl-64/e_log.c: Likewise. + * sysdeps/ieee754/dbl-64/e_pow.c: Likewise. + * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise. + * sysdeps/ieee754/dbl-64/halfulp.c: Likewise. + * sysdeps/ieee754/dbl-64/s_atan.c: Likewise. + * sysdeps/ieee754/dbl-64/s_tan.c: Likewise. + +2011-10-23 Andreas Schwab + + * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and + __ynl_finite aliases. + +2011-10-22 Ulrich Drepper + + * sysdeps/x86_64/fpu/libm-test-ulps: Update. + + * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support + define DLA_FMA. + [DLA_FMA] (EMULV): Use DLA_FMA. + [DLA_FMA] (MUL12): Use EMULV. + * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables + that are not needed. + * sysdeps/ieee754/dbl-64/dosincos.c: Likewise. + * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. + * sysdeps/ieee754/dbl-64/e_log.c: Likewise. + * sysdeps/ieee754/dbl-64/e_pow.c: Likewise. + * sysdeps/ieee754/dbl-64/halfulp.c: Likewise. + * sysdeps/ieee754/dbl-64/s_atan.c: Likewise. + * sysdeps/ieee754/dbl-64/s_tan.c: Likewise. + +2011-10-22 Andreas Schwab + + * math/s_nan.c: Undef __nan. + * math/s_nanf.c: Undef __nanf. + * math/s_nanl.c: Undef __nanl. + * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include before + "math_private.h". + +2011-10-22 Ulrich Drepper + + * math/s_catan.c: Add branch predictions. + * math/s_catanf.c: Likewise. + * math/s_catanh.c: Likewise. + * math/s_catanhf.c: Likewise. + * math/s_catanhl.c: Likewise. + * math/s_catanl.c: Likewise. + * math/s_cexp.c: Likewise. + * math/s_cexpf.c: Likewise. + * math/s_cexpl.c: Likewise. + * math/s_clog.c: Likewise. + * math/s_clog10.c: Likewise. + * math/s_clog10f.c: Likewise. + * math/s_clog10l.c: Likewise. + * math/s_clogf.c: Likewise. + * math/s_clogl.c: Likewise. + * math/s_csqrt.c: Likewise. + * math/s_csqrtf.c: Likewise. + * math/s_csqrtl.c: Likewise. + * math/s_ctanf.c: Likewise. + * math/s_ctanh.c: Likewise. + * math/s_ctanhf.c: Likewise. + * math/s_ctanhl.c: Likewise. + * math/s_ctanl.c: Likewise. + + * math/math_private.h: Define __nan, __nanf, __nanl. + * math/s_cacosh.c: Include . + * math/s_cacoshl.c: Likewise. + * math/s_casinh.c: Likewise. + * math/s_casinhf.c: Likewise. + * math/s_casinhl.c: Likewise. + * math/s_ccos.c: Rely entire on ccosh. + * math/s_ccosf.c: Rely entire on ccoshf. + * math/s_ccosl.c: Rely entirely on ccoshl. + * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction. + Remove tests for FE_INVALID. + * math/s_ccoshf.c: Likewise. + * math/s_ccoshl.c: Likewise. + * math/s_csin.c: Likewise. + * math/s_csinf.c: Likewise. + * math/s_csinh.c Likewise. + * math/s_csinhf.c: Likewise. + * math/s_csinhl.c: Likewise. + * math/s_csinl.c: Likewise. + * math/s_ctan.c: Likewise. + * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt. + * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf. + * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl. + +2011-10-21 Ulrich Drepper + + * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix + compilation problems. + + * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more + __builtin_expect. + +2011-10-20 Ulrich Drepper + + * sysdeps/i386/configure.in: Test for -mfma4 option. + * config.h.in: Add HAVE_FMA4_SUPPORT entry. + * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and + COMMON_CPUID_INDEX_80000001. + * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD. + * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and + use it if FMA3 is not supported. + * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise. + + * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch. + * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise. + +2011-10-20 Andreas Schwab + + [BZ #12892] + * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if + it would create a cycle with a link time dependency. + +2011-10-19 Ulrich Drepper + + * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an + instruction. + * string/Makefile (strop-tests): Add rawmemchr. + * string/test-rawmemchr.c: New file. + + * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX. + * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from... + * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S + when compiling str{,n}casecmp and when AVX is available. Hook up + new optimized code in initializers. + +2011-10-19 Andreas Schwab + + * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use + __feraiseexcept instead of feraiseexcept. + +2011-10-18 Ulrich Drepper + + * math/math_private.h: Define defaults for libc_fetestexcept and + libc_feupdateenv. + * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces. + * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise. + * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise. + * sysdeps/ieee754/flt-32/e_expf.c: Likewise. + * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise. + * sysdeps/x86_64/fpu/math_private.h: Define special versions of + libc_fetestexcept and libc_feupdateenv. + + * math/math_private.h: Define defaults for libc_feholdexcept_setround, + libc_feholdexcept_setroundf, libc_feholdexcept_setroundl. + * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround. + * sysdeps/x86_64/fpu/math_private.h: Define special version of + libc_feholdexcept_setround. + + * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines): + Add s_nearbyint-c and s_nearbyintf-c. + * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and + nearbyintf inlines. + * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file. + * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file. + * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file. + * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file. + + * math/math_private.h: Define defaults for libc_fegetround, + libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf, + libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf, + libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl. + * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use + libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the + standard functions. + * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise. + Remove comments and hacks for old compiler versions. + * sysdeps/x86_64/fpu/math_private.h: Define special versions of + libc_fegetround, libc_fesetround, libc_feholdexcept, and + libc_feholdexceptl. + +2011-10-18 Andreas Schwab + + * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers. + (__feraiseexcept_renamed): Add __NTH. + (feraiseexcept): Add __NTH. Rename local variables to fix + namespace violations. + +2011-10-17 Ulrich Drepper + + * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization. + + * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file. + + * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for + recently added interfaces. + * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise. + + * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe + about macro parameter expansion. + + * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if + __NO_MATH_INLINES is defined. Cleanups. + + * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor, + and __floorf is target has SSE4.1. + * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first. + * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise. + + * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function + name. + (floorf): Likewise. + + * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting. + +2011-10-17 Andreas Schwab + + * misc/sys/cdefs.h: Fix last change. + + * grp/initgroups.c (internal_getgrouplist): Fix initgroups + database lookup. + +2011-10-16 Ulrich Drepper + + * misc/sys/cdefs.h: Use leaf function attribute in __THROW. + + * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed. + * sysdeps/ieee754/dbl-64/s_floor.c: Likewise. + * sysdeps/ieee754/dbl-64/s_rint.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise. + * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise. + * sysdeps/ieee754/flt-32/s_floorf.c: Likewise. + * sysdeps/ieee754/flt-32/s_rintf.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/Makefile: New file. + * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file. + * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file. + * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file. + * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file. + * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file. + * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file. + * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file. + * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file. + * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file. + * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file. + * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file. + * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file. + + * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf, + ceil, ceilf, floor, floorf. + + * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem. + Perform IRELATIVE relocations last. + + * elf/do-rel.h: Add another parameter nrelative, replacing the + local variable with the same name. Change name of the function + to end in Rel or Rela (uppercase). + * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element + nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the + elf_dynamic_do_##reloc function. + +2011-10-15 Ulrich Drepper + + * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x + is sufficient, at least on modern CPUs. + + * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file. + + * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup. + * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file. + + * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite, + __expl_finite. + * math/bits/math-finite.h: Add entries for exp. + * math/e_expl.c: Add __*_finite alias. + * sysdeps/i386/fpu/e_exp.S: Likewise. + * sysdeps/i386/fpu/e_expf.S: Likewise. + * sysdeps/i386/fpu/e_expl.c: Likewise. + * sysdeps/ieee754/dbl-64/e_exp.c: Likewise. + * sysdeps/ieee754/flt-32/e_expf.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise. + * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite. + * sysdeps/ieee754/flt-32/w_expf.c: Likewise. + * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise. + + * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x + is sufficient, at least on modern CPUs. + + * ctype/ctype-info.c (__ctype_init): Define. + * include/ctype.h (__ctype_init): Declare. + (__ctype_b_loc): The variable is always initialized. + (__ctype_toupper_loc): Likewise. + (__ctype_tolower_loc): Likewise. + * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE. + * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init. + +2011-10-15 Andreas Schwab + + * wcsmbs/wmemcmp.c (WMEMCMP): Define. + + * configure.in: Also look in $cxxmachine/include for C++ system + headers. + +2011-09-27 Liubov Dmitrieva + + * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add + memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c + * sysdeps/x86_64/multiarch/memcmp-ssse3: New file. + * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3. + * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update. + (USE_AS_WMEMCMP): New macro. + Fixing indents. + * sysdeps/x86_64/multiarch/wmemcmp.S: New file. + * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file. + * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file. + * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file. + * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add + wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c + * sysdeps/i386/i686/multiarch/wmemcmp.S: New file. + * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file. + * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file. + * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file. + * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update. + (USE_AS_WMEMCMP): New macro. + * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise. + * sysdeps/string/test-memcmp.c: Update. + Fix simple_wmemcmp. + Add new tests. + * wcsmbs/wmemcmp.c: Update. + (WMEMCMP): New macro. + Fix overflow bug. + +2011-10-12 Andreas Jaeger + + [BZ #13268] + * math/bits/mathcalls.h: Mark argument 2 of modf as non-null. + +2011-10-15 Ulrich Drepper + + * libio/iofwide.c (do_length): Avoid warning. + + * ctype/ctype.h (__isctype_f): Add missing __THROW. + +2011-10-14 Ulrich Drepper + + * elf/pldd-xx.c (find_maps): Remove leftover debug message. + + * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite. + * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite. + * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite. + * sysdeps/i386/i686/fpu/e_log.S: New file. + * sysdeps/i386/i686/fpu/e_logf.S: New file. + * sysdeps/i386/i686/fpu/e_logl.S: New file. + + * ctype/ctype.h: Add support for inlined isXXX functions when + compiling C++ code. + +2011-10-14 Andreas Schwab + + * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests. + + * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change. + +2011-10-13 Roland McGrath + + [BZ #13291] + * manual/string.texi (String/Array Comparison): Typo fix in strverscmp. + +2011-10-13 Andreas Schwab + + * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias. + * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of + feraiseexcept. + + * sysdeps/x86_64/memrchr.S: Check for zero size. + + * string/stratcliff.c: Add memrchr tests. + +2011-10-12 Liubov Dmitrieva + + * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add + memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c + rawmemchr-sse2 rawmemchr-sse2-bsf. + * sysdeps/i386/i686/multiarch/memchr.S: New file. + * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file. + * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file. + * sysdeps/i386/i686/multiarch/memrchr.S: New file. + * sysdeps/i386/i686/multiarch/memrchr-c.c: New file. + * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file. + * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file. + * sysdeps/i386/i686/multiarch/rawmemchr.S: New file. + * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file. + * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file. + * string/memrchr.c (MEMRCHR): New macro. + +2011-10-12 Ulrich Drepper + + Add integration with gcc's -ffinite-math-only and optimize wrapper + functions in libm. + * Versions.def: Define GLIBC_2.15 version for libm. + * math/Makefile (headers): Add bits/math-finite.h. + * math/bits/math-finite.h: New file. + * sysdeps/ia64/fpu/bits/math-finite.h: New file. + * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols. + * math/e_acoshl.c: Add __*_finite alias. + * math/e_acosl.c: Likewise. + * math/e_asinl.c: Likewise. + * math/e_atan2l.c: Likewise. + * math/e_atanhl.c: Likewise. + * math/e_coshl.c: Likewise. + * math/e_exp10.c: Likewise. + * math/e_exp10f.c: Likewise. + * math/e_exp10l.c: Likewise. + * math/e_exp2l.c: Likewise. + * math/e_fmodl.c: Likewise. + * math/e_gammal_r.c: Likewise. + * math/e_hypotl.c: Likewise. + * math/e_j0l.c: Likewise. + * math/e_j1l.c: Likewise. + * math/e_jnl.c: Likewise. + * math/e_lgammal_r.c: Likewise. + * math/e_log10l.c: Likewise. + * math/e_log2l.c: Likewise. + * math/e_logl.c: Likewise. + * math/e_powl.c: Likewise. + * math/e_sinhl.c: Likewise. + * math/e_sqrtl.c: Likewise. + * math/e_scalb.c: Completely rewritten and optimized. + * math/e_scalbf.c: Likewise. + * math/e_scalbl.c: Likewise. + * math/w_acos.c: Likewise. + * math/w_acosf.c: Likewise. + * math/w_acosl.c: Likewise. + * math/w_acosh.c: Likewise. + * math/w_acoshf.c: Likewise. + * math/w_acoshl.c: Likewise. + * math/w_asin.c: Likewise. + * math/w_asinf.c: Likewise. + * math/w_asinl.c: Likewise. + * math/w_atan2.c: Likewise. + * math/w_atan2f.c: Likewise. + * math/w_atan2l.c: Likewise. + * math/w_atanh.c: Likewise. + * math/w_atanhf.c: Likewise. + * math/w_atanhl.c: Likewise. + * math/w_exp10.c: Likewise. + * math/w_exp10f.c: Likewise. + * math/w_exp10l.c: Likewise. + * math/w_fmod.c: Likewise. + * math/w_fmodf.c: Likewise. + * math/w_fmodl.c: Likewise. + * math/w_j0.c: Likewise. + * math/w_j0f.c: Likewise. + * math/w_j0l.c: Likewise. + * math/w_j1.c: Likewise. + * math/w_j1f.c: Likewise. + * math/w_j1l.c: Likewise. + * math/w_jn.c: Likewise. + * math/w_jnf.c: Likewise. + * math/w_log.c: Likewise. + * math/w_logf.c: Likewise. + * math/w_logl.c: Likewise. + * math/w_log10.c: Likewise. + * math/w_log10f.c: Likewise. + * math/w_log10l.c: Likewise. + * math/w_log2.c: Likewise. + * math/w_log2f.c: Likewise. + * math/w_log2l.c: Likewise. + * math/w_pow.c: Likewise. + * math/w_powf.c: Likewise. + * math/w_powl.c: Likewise. + * math/w_remainder.c: Likewise. + * math/w_remainderf.c: Likewise. + * math/w_remainderl.c: Likewise. + * math/w_scalb.c: Likewise. + * math/w_scalbf.c: Likewise. + * math/w_scalbl.c: Likewise. + * math/w_sqrt.c: Likewise. + * math/w_sqrtf.c: Likewise. + * math/w_sqrtl.c: Likewise. + * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions + are declared. Include if -ffinite-math-only is + used. + * math/math_private.h: Declare __kernel_standard_f. + * math/w_cosh.c: Remove cruft and optimize a bit. + * math/w_coshf.c: Likewise. + * math/w_coshl.c: Likewise. + * math/w_exp2.c: Likewise. + * math/w_exp2f.c: Likewise. + * math/w_exp2l.c: Likewise. + * math/w_hypot.c: Likewise. + * math/w_hypotf.c: Likewise. + * math/w_hypotl.c: Likewise. + * math/w_lgamma.c: Likewise. + * math/w_lgamma_r.c: Likewise. + * math/w_lgammaf.c: Likewise. + * math/w_lgammaf_r.c: Likewise. + * math/w_lgammal.c: Likewise. + * math/w_lgammal_r.c: Likewise. + * math/w_sinh.c: Likewise. + * math/w_sinhf.c: Likewise. + * math/w_sinhl.c: Likewise. + * math/w_tgamma.c: Likewise. + * math/w_tgammaf.c: Likewise. + * math/w_tgammal.c: Likewise. + * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise. + * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise. + * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias. + Minor optimizations. Pretty printing. Remove cruft. + * sysdeps/i386/fpu/e_acosf.S: Likewise. + * sysdeps/i386/fpu/e_acosh.S: Likewise. + * sysdeps/i386/fpu/e_acoshf.S: Likewise. + * sysdeps/i386/fpu/e_acoshl.S: Likewise. + * sysdeps/i386/fpu/e_acosl.c: Likewise. + * sysdeps/i386/fpu/e_asin.S: Likewise. + * sysdeps/i386/fpu/e_asinf.S: Likewise. + * sysdeps/i386/fpu/e_atan2.S: Likewise. + * sysdeps/i386/fpu/e_atan2f.S: Likewise. + * sysdeps/i386/fpu/e_atan2l.c: Likewise. + * sysdeps/i386/fpu/e_atanh.S: Likewise. + * sysdeps/i386/fpu/e_atanhf.S: Likewise. + * sysdeps/i386/fpu/e_atanhl.S: Likewise. + * sysdeps/i386/fpu/e_exp10.S: Likewise. + * sysdeps/i386/fpu/e_exp10f.S: Likewise. + * sysdeps/i386/fpu/e_exp10l.S: Likewise. + * sysdeps/i386/fpu/e_exp2.S: Likewise. + * sysdeps/i386/fpu/e_exp2f.S: Likewise. + * sysdeps/i386/fpu/e_exp2l.S: Likewise. + * sysdeps/i386/fpu/e_fmod.S: Likewise. + * sysdeps/i386/fpu/e_fmodf.S: Likewise. + * sysdeps/i386/fpu/e_fmodl.c: Likewise. + * sysdeps/i386/fpu/e_hypot.S: Likewise. + * sysdeps/i386/fpu/e_hypotf.S: Likewise. + * sysdeps/i386/fpu/e_log.S: Likewise. + * sysdeps/i386/fpu/e_log10.S: Likewise. + * sysdeps/i386/fpu/e_log10f.S: Likewise. + * sysdeps/i386/fpu/e_log10l.S: Likewise. + * sysdeps/i386/fpu/e_log2.S: Likewise. + * sysdeps/i386/fpu/e_log2f.S: Likewise. + * sysdeps/i386/fpu/e_log2l.S: Likewise. + * sysdeps/i386/fpu/e_logf.S: Likewise. + * sysdeps/i386/fpu/e_logl.S: Likewise. + * sysdeps/i386/fpu/e_pow.S: Likewise. + * sysdeps/i386/fpu/e_powf.S: Likewise. + * sysdeps/i386/fpu/e_powl.S: Likewise. + * sysdeps/i386/fpu/e_remainder.S: Likewise. + * sysdeps/i386/fpu/e_remainderf.S: Likewise. + * sysdeps/i386/fpu/e_remainderl.S: Likewise. + * sysdeps/i386/fpu/e_scalb.S: Likewise. + * sysdeps/i386/fpu/e_scalbf.S: Likewise. + * sysdeps/i386/fpu/e_scalbl.S: Likewise. + * sysdeps/i386/fpu/e_sqrt.S: Likewise. + * sysdeps/i386/fpu/e_sqrtf.S: Likewise. + * sysdeps/i386/fpu/e_sqrtl.c: Likewise. + * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise. + * sysdeps/ieee754/dbl-64/e_asin.c: Likewise. + * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. + * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise. + * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise. + * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise. + * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise. + * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise. + * sysdeps/ieee754/dbl-64/e_j0.c: Likewise. + * sysdeps/ieee754/dbl-64/e_j1.c: Likewise. + * sysdeps/ieee754/dbl-64/e_jn.c: Likewise. + * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise. + * sysdeps/ieee754/dbl-64/e_log.c: Likewise. + * sysdeps/ieee754/dbl-64/e_log10.c: Likewise. + * sysdeps/ieee754/dbl-64/e_log2.c: Likewise. + * sysdeps/ieee754/dbl-64/e_pow.c: Likewise. + * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise. + * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise. + * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise. + * sysdeps/ieee754/dbl-64/halfulp.c: Likewise. + * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise. + * sysdeps/ieee754/flt-32/e_acosf.c: Likewise. + * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise. + * sysdeps/ieee754/flt-32/e_asinf.c: Likewise. + * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise. + * sysdeps/ieee754/flt-32/e_coshf.c: Likewise. + * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise. + * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise. + * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise. + * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise. + * sysdeps/ieee754/flt-32/e_j0f.c: Likewise. + * sysdeps/ieee754/flt-32/e_j1f.c: Likewise. + * sysdeps/ieee754/flt-32/e_jnf.c: Likewise. + * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise. + * sysdeps/ieee754/flt-32/e_log10f.c: Likewise. + * sysdeps/ieee754/flt-32/e_log2f.c: Likewise. + * sysdeps/ieee754/flt-32/e_logf.c: Likewise. + * sysdeps/ieee754/flt-32/e_powf.c: Likewise. + * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise. + * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise. + * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise. + * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise. + * sysdeps/powerpc/fpu/e_hypot.c: Likewise. + * sysdeps/powerpc/fpu/e_hypotf.c: Likewise. + * sysdeps/powerpc/fpu/e_sqrt.c: Likewise. + * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise. + * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise. + * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise. + * sysdeps/s390/fpu/e_sqrt.c: Likewise. + * sysdeps/s390/fpu/e_sqrtf.c: Likewise. + * sysdeps/s390/fpu/e_sqrtl.c: Likewise. + * sysdeps/sparc/sparc32/e_sqrt.c: Likewise. + * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise. + * sysdeps/x86_64/fpu/e_exp2l.S: Likewise. + * sysdeps/x86_64/fpu/e_fmodl.S: Likewise. + * sysdeps/x86_64/fpu/e_log10l.S: Likewise. + * sysdeps/x86_64/fpu/e_log2l.S: Likewise. + * sysdeps/x86_64/fpu/e_logl.S: Likewise. + * sysdeps/x86_64/fpu/e_powl.S: Likewise. + * sysdeps/x86_64/fpu/e_remainderl.S: Likewise. + * sysdeps/x86_64/fpu/e_scalbl.S: Likewise. + * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order + * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise. + * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter. + (__isnanf): Likewise. + (__isinf_ns): Likewise. + (__isinf_nsf): Likewise. + (__finite): Likewise. + (__finitef): Likewise. + (__ieee754_sqrt): Define as macro. + (__ieee754_sqrtf): Define as macro. + (__ieee754_sqrtl): Define as macro. + * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially + inlined copy. + * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of + __FINITE_MATH_ONLY__ consistent. + * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function. + +2011-10-10 Andreas Schwab + + * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead + of rawmemchr. + + * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file. + +2011-10-09 Ulrich Drepper + + * po/ja.po: Update from translation team. + +2011-10-08 Roland McGrath + + * locale/programs/locarchive.c (prepare_address_space): New function. + (create_archive, enlarge_archive, open_archive): Use it. + + * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include + inside [SHARED], where it is used. + + * nscd/nscd_proto.h: Declare __nscd_setnetgrent. + + * nss/getent.c (netgroup_keys): Remove unused variable. + * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise. + +2011-10-08 Ulrich Drepper + + * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl. + * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file. + * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file. + * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file. + * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file. + * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file. + * math/Makefile (libm-calls): Add s_isinf_ns. + * math/divtc3.c: Use __isinf_nsl instead of isinf. + * math/multc3.c: Likewise. + * math/s_casin.c: Likewise. + * math/s_casinf.c: Likewise. + * math/s_casinl.c: Likewise. + * math/s_ccos.c: Likewise. + * math/s_ccosf.c: Likewise. + * math/s_ccosl.c: Likewise. + * math/s_ctan.c: Likewise. + * math/s_ctanf.c: Likewise. + * math/s_ctanh.c: Likewise. + * math/s_ctanhf.c: Likewise. + * math/s_ctanhl.c: Likewise. + * math/s_ctanl.c: Likewise. + * math/w_fmod.c: Likewise. + * math/w_fmodf.c: Likewise. + * math/w_fmodl.c: Likewise. + * math/w_remainder.c: Likewise. + * math/w_remainderf.c: Likewise. + * math/w_remainderl.c: Likewise. + * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite. + * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan. + * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite. + * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan. + * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef. + * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan. + * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn, + __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef. + + * stdio-common/printf_fp.c: Use the fact that isinf returns the sign + of the number. + * stdio-common/printf_fphex.c: Likewise. + * stdio-common/printf_size.c: Likewise. + + * math/e_exp10.c: Include math_private.h using <...> not "...". + * math/e_exp10f.c: Likewise. + * math/e_exp10l.c: Likewise. + * math/e_exp2l.c: Likewise. + * math/e_j0l.c: Likewise. + * math/e_j1l.c: Likewise. + * math/e_jnl.c: Likewise. + * math/e_lgammal_r.c: Likewise. + * math/e_rem_pio2l.c: Likewise. + * math/e_scalb.c: Likewise. + * math/e_scalbf.c: Likewise. + * math/e_scalbl.c: Likewise. + * math/k_cosl.c: Likewise. + * math/k_sinl.c: Likewise. + * math/k_tanl.c: Likewise. + * math/s_cacoshf.c: Likewise. + * math/s_catan.c: Likewise. + * math/s_catanf.c: Likewise. + * math/s_catanh.c: Likewise. + * math/s_catanhf.c: Likewise. + * math/s_catanhl.c: Likewise. + * math/s_catanl.c: Likewise. + * math/s_ccosh.c: Likewise. + * math/s_ccoshf.c: Likewise. + * math/s_ccoshl.c: Likewise. + * math/s_cexp.c: Likewise. + * math/s_cexpf.c: Likewise. + * math/s_cexpl.c: Likewise. + * math/s_clog.c: Likewise. + * math/s_clog10.c: Likewise. + * math/s_clog10f.c: Likewise. + * math/s_clog10l.c: Likewise. + * math/s_clogf.c: Likewise. + * math/s_clogl.c: Likewise. + * math/s_csin.c: Likewise. + * math/s_csinf.c: Likewise. + * math/s_csinh.c: Likewise. + * math/s_csinhf.c: Likewise. + * math/s_csinhl.c: Likewise. + * math/s_csinl.c: Likewise. + * math/s_csqrt.c: Likewise. + * math/s_csqrtf.c: Likewise. + * math/s_csqrtl.c: Likewise. + * math/s_ctan.c: Likewise. + * math/s_ctanf.c: Likewise. + * math/s_ctanh.c: Likewise. + * math/s_ctanhf.c: Likewise. + * math/s_ctanhl.c: Likewise. + * math/s_ctanl.c: Likewise. + * math/s_ldexp.c: Likewise. + * math/s_ldexpf.c: Likewise. + * math/s_ldexpl.c: Likewise. + * math/s_significand.c: Likewise. + * math/s_significandf.c: Likewise. + * math/s_significandl.c: Likewise. + * math/w_acos.c: Likewise. + * math/w_acosf.c: Likewise. + * math/w_acosh.c: Likewise. + * math/w_acoshf.c: Likewise. + * math/w_acoshl.c: Likewise. + * math/w_acosl.c: Likewise. + * math/w_asin.c: Likewise. + * math/w_asinf.c: Likewise. + * math/w_asinl.c: Likewise. + * math/w_atan2.c: Likewise. + * math/w_atan2f.c: Likewise. + * math/w_atan2l.c: Likewise. + * math/w_atanh.c: Likewise. + * math/w_atanhf.c: Likewise. + * math/w_atanhl.c: Likewise. + * math/w_cosh.c: Likewise. + * math/w_coshf.c: Likewise. + * math/w_coshl.c: Likewise. + * math/w_dremf.c: Likewise. + * math/w_exp10.c: Likewise. + * math/w_exp10f.c: Likewise. + * math/w_exp10l.c: Likewise. + * math/w_exp2.c: Likewise. + * math/w_exp2f.c: Likewise. + * math/w_fmod.c: Likewise. + * math/w_fmodf.c: Likewise. + * math/w_fmodl.c: Likewise. + * math/w_hypot.c: Likewise. + * math/w_hypotf.c: Likewise. + * math/w_hypotl.c: Likewise. + * math/w_j0.c: Likewise. + * math/w_j0f.c: Likewise. + * math/w_j0l.c: Likewise. + * math/w_j1.c: Likewise. + * math/w_j1f.c: Likewise. + * math/w_j1l.c: Likewise. + * math/w_jn.c: Likewise. + * math/w_jnf.c: Likewise. + * math/w_jnl.c: Likewise. + * math/w_lgamma.c: Likewise. + * math/w_lgamma_r.c: Likewise. + * math/w_lgammaf.c: Likewise. + * math/w_lgammaf_r.c: Likewise. + * math/w_lgammal.c: Likewise. + * math/w_lgammal_r.c: Likewise. + * math/w_log.c: Likewise. + * math/w_log10.c: Likewise. + * math/w_log10f.c: Likewise. + * math/w_log10l.c: Likewise. + * math/w_log2.c: Likewise. + * math/w_log2f.c: Likewise. + * math/w_log2l.c: Likewise. + * math/w_logf.c: Likewise. + * math/w_logl.c: Likewise. + * math/w_pow.c: Likewise. + * math/w_powf.c: Likewise. + * math/w_powl.c: Likewise. + * math/w_remainder.c: Likewise. + * math/w_remainderf.c: Likewise. + * math/w_remainderl.c: Likewise. + * math/w_scalb.c: Likewise. + * math/w_scalbf.c: Likewise. + * math/w_scalbl.c: Likewise. + * math/w_sinh.c: Likewise. + * math/w_sinhf.c: Likewise. + * math/w_sinhl.c: Likewise. + * math/w_sqrt.c: Likewise. + * math/w_sqrtf.c: Likewise. + * math/w_sqrtl.c: Likewise. + * math/w_tgamma.c: Likewise. + * math/w_tgammaf.c: Likewise. + * math/w_tgammal.c: Likewise. + + * po/ja.po: Update from translation team. + +2011-09-29 Andreas Jaeger + + [BZ #13179] + * sunrpc/netname.c (netname2host): Fix logic. + + [BZ #6779] + [BZ #6783] + * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y) + correctly. + * math/w_remainder.c (__remainder): Likewise. + * math/w_remainderf.c (__remainderf): Likewise. + * math/libm-test.inc (remainder_test): Add test cases. + +2011-10-04 Andreas Krebbel + + * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and + sdiv_qrnnd. + +2011-10-07 Ulrich Drepper + + * string/test-memcmp.c: Avoid unncessary #defines. + Patch by Liubov Dmitrieva . + +2011-08-31 Liubov Dmitrieva + + * sysdeps/x86_64/multiarch/rawmemchr.S: Update. + Use new sse2 version for core i3 - i7 as it's faster + than sse42 version. + (bit_Prefer_PMINUB_for_stringop): New. + * sysdeps/x86_64/rawmemchr.S: Update. + Replace with faster SSE2 version. + * sysdeps/x86_64/memrchr.S: New file. + * sysdeps/x86_64/memchr.S: Update. + Replace with faster SSE2 version. + +2011-09-12 Marek Polacek + + * elf/dl-load.c (lose): Add cast to avoid warning. + +2011-10-07 Ulrich Drepper + + * po/ca.po: Update from translation team. + + * inet/getnetgrent_r.c: Hook up nscd. + * nscd/Makefile (routines): Add nscd_netgroup. + (nscd-modules): Add netgroupcache. + (CFLAGS-netgroupcache.c): Define. + * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR. + (cache_search): Add const to second parameter. + * nscd/connections.c (serv2str): Add entries for GETNETGRENT and + INNETGR. + (dbs): Add netgrdb entry. + (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR. + (verify_persistent_db): Handle netgrdb. + (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR. + * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and + GETFDNETGR. + (netgroup_response_header): Define. + (innetgroup_response_header): Define. + (datahead): Add netgroup_response_header and innetgroup_response_header + elements. + * nscd/nscd.conf: Add entries for netgroup cache. + * nscd/nscd.h (dbtype): Add netgrdb. + (_PATH_NSCD_NETGROUP_DB): Define. + (netgroup_iov_disabled): Declare. + (xmalloc, xcalloc, xrealloc): Move declarations here. + (cache_search): Adjust prototype. + Add netgroup-related prototypes. + * nscd/nscd_conf.c (dbnames): Add netgrdb entry. + * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare. + (__nscd_innetgr): Declare. + * nscd/selinux.c (perms): Use access_vector_t as element type and + add netgroup-related initializers. + * nscd/netgroupcache.c: New file. + * nscd/nscd_netgroup.c: New file. + * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup. + * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter. + For four parameters use innetgr. + * nss/nss_files/files-init.c: Add definition and callback for netgr. + * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def. + (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup. + * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto. + + * nscd/connections.c (register_traced_file): Don't register file + for disabled databases. + +2011-10-06 Ulrich Drepper + + * nscd/grpcache.c (cache_addgr): Initialize written in all cases. + + * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting + from tree and freeing node. + +2011-09-25 Jiri Olsa + + * nss/nsswitch.c (__nss_database_lookup): Handle + nss_parse_service_list out of memory case. + +2011-09-15 Jiri Olsa + + * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch + out of memory case. + +2011-10-04 Andreas Schwab + + * include/dlfcn.h (__RTLD_NOIFUNC): Define. + * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and + pass it down. + * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel, + elf_machine_rela, elf_machine_lazy_rel. + (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down. + (ELF_DYNAMIC_DO_REL): Likewise. + (ELF_DYNAMIC_DO_RELA): Likewise. + (ELF_DYNAMIC_RELOCATE): Likewise. + * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down + to ELF_DYNAMIC_DO_REL. + * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE. + (dl_main): In trace mode always set __RTLD_NOIFUNC. + * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to + elf_machine_rela. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter + skip_ifunc, don't call ifunc function if non-zero. + (elf_machine_rela): Likewise. + (elf_machine_lazy_rel): Likewise. + (elf_machine_lazy_rela): Likewise. + * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise. + (elf_machine_lazy_rel): Likewise. + * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): + Likewise. + (elf_machine_lazy_rel): Likewise. + * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): + Likewise. + (elf_machine_lazy_rel): Likewise. + * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise. + (elf_machine_lazy_rel): Likewise. + * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise. + (elf_machine_lazy_rel): Likewise. + * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise. + (elf_machine_lazy_rel): Likewise. + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise. + (elf_machine_lazy_rel): Likewise. + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise. + (elf_machine_lazy_rel): Likewise. + * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise. + (elf_machine_lazy_rel): Likewise. + +2011-09-28 Ulrich Drepper + + * nss/nss_files/files-init.c (_nss_files_init): Use static + initialization for all the *_traced_file variables. + +2011-09-28 Andreas Schwab + + * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests. + +2011-09-27 Roland McGrath + + [BZ #13226] + * manual/signal.texi (Longjmp in Handler): Grammar fixes. + +2011-09-27 Andreas Schwab + + * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): + Reread the line before reparsing it. + +2011-09-26 Andreas Schwab + + * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm. + +2011-09-21 Chung-Lin Tang + Maxim Kuvyrkov + Joseph Myers + + * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so + if needed for __stack_chk_guard. + +2011-09-19 Roland McGrath + + * sysdeps/posix/spawni.c (script_execute): Always define it. + It will be optimized away if unused. + (maybe_script_execute): New function. + (__spawni): Call it. + + * Makerules: Don't include tls.make. + (config-tls): Always set to thread. + * tls.make.c: File removed. + +2011-09-19 Mike Frysinger + + * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config). + * config.make.in (CPPFLAGS-config): New substituted variable. + +2011-09-15 Ulrich Drepper + + * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file. + + [BZ #13192] + * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define. + Patch mostly by Neil Horman . + +2011-09-15 Roland McGrath + + * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S + (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail. + * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S + (CALL_FAIL): Likewise. + * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise. + (CALL_FAIL): Macro removed. + Patch mostly by Mike Frysinger . + +2011-09-15 Ulrich Drepper + + * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations + for __FINITE_MATH_ONLY__ == 1. + +2011-09-15 Andreas Schwab + + * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use + __ieee754_sqrt instead of sqrt. + * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use + __ieee754_sqrtf instead of sqrtf. + * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use + __floorf instead of floorf. + * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use + __floorf, __truncf instead of floorf, truncf. + +2011-09-14 Ulrich Drepper + + * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section. + + * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use + __extern_always_inline. + Define lrint{f,} and llrint{f,} for 64-bit and in some situations for + 32-bit. + +2011-09-14 Andreas Schwab + + * elf/rtld.c (dl_main): Also relocate in dependency order when + doing symbol dependency testing. + +2011-09-13 Andreas Schwab + + * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): + Always define `refsym'. + +2011-09-13 Andreas Schwab + + * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK. + (__FD_ELT): Renamed from __FDELT. + * misc/bits/select2.h (__FD_ELT): Likewise. + * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT, + __FD_MASK instead of __FDELT, __FDMASK. + * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): + Likewise. + * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): + Likewise. + + * elf/Makefile (gen-ldd): Fix pattern. + + * elf/rtld.c (dl_main): Only use USE___THREAD when defined. + (init_tls): Likewise. + +2011-09-12 Ulrich Drepper + + * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file. + +2011-09-12 Andreas Schwab + + * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to + `struct cmsghdr *' instead of `void *'. + * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr): + Likewise. + +2011-09-11 Andreas Schwab + + * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script) + if non-absolute. + * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from + ldd_rewrite_script. + +2011-09-11 Ulrich Drepper + + * configure.in: Remove --with-tls option. + * config.h.in: Remove HAVE_TLS_SUPPORT entry. + * sysdeps/i386/elf/configure.in: Always test for TLS support and err + out in case it is missing. + * sysdeps/ia64/elf/configure.in: Likewise. + * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise. + * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise. + * sysdeps/s390/s390-32/elf/configure.in: Likewise. + * sysdeps/s390/s390-64/elf/configure.in: Likewise. + * sysdeps/sh/elf/configure.in: Likewise. + * sysdeps/sparc/sparc32/elf/configure.in: Likewise. + * sysdeps/sparc/sparc64/elf/configure.in: Likewise. + * sysdeps/x86_64/elf/configure.in: Likewise. + * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT. + * sysdeps/mach/hurd/tls.h: Likewise. + + [BZ #13067] + * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int. + + [BZ #13090] + * configure.in: Fix use of AC_INIT. + + * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE. + +2011-09-10 Ulrich Drepper + + * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of + __set_errno. + * malloc/hooks.c: Likewise. + + [BZ #11929] + * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all + variables statically. + (narenas): Initialize. + (list_lock): Initialize. + (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove + initializtion of main_arena and list_lock. Small cleanups. + Replace all uses of malloc_getpagesize with GLRO(dl_pagesize). + * malloc/malloc.c: Remove malloc_getpagesize. Include . + Add initializers to main_arena and mp_. + (malloc_state): Remove pagesize member. Change all users to use + GLRO(dl_pagesize). + + * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize. + * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize) + is always initialized. + + * malloc/malloc.c: Removed unused configurations and dead code. + * malloc/arena.c: Likewise. + * malloc/hooks.c: Likewise. + * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS. + + * include/tls.h: Removed. USE___THREAD must always be defined. + * bits/libc-tsd.h: Don't handle !USE___THREAD. + * elf/dl-libc.c: Likewise. + * elf/dl-tsd.c: Likewise. + * include/errno.h: Likewise. + * include/netdb.h: Likewise. + * include/resolv.h: Likewise. + * inet/herrno-loc.c: Likewise. + * inet/herrno.c: Likewise. + * malloc/arena.c: Likewise. + * malloc/hooks.c: Likewise. + * malloc/malloc.c: Likewise. + * resolv/res-state.c: Likewise. + * resolv/res_libc.c: Likewise. + * sysdeps/i386/dl-machine.h: Likewise. + * sysdeps/ia64/dl-machine.h: Likewise. + * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise. + * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise. + * sysdeps/s390/s390-32/dl-machine.h: Likewise. + * sysdeps/s390/s390-64/dl-machine.h: Likewise. + * sysdeps/sh/dl-machine.h: Likewise. + * sysdeps/sparc/sparc32/dl-machine.h: Likewise. + * sysdeps/sparc/sparc64/dl-machine.h: Likewise. + * sysdeps/unix/i386/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. + * sysdeps/unix/x86_64/sysdep.S: Likewise. + * sysdeps/x86_64/dl-machine.h: Likewise. + * tls.make.c: Likewise. + + * configure.in: Remove --with-__thread option. Make tests for + --no-whole-archive, __builtin_expect, symbol redirection, __thread, + tls_model attribute fail if no support is available. Remove + USE_IN_LIBIO. + * Makeconfig: Adjust for dropped configure option. All features are + now mandatory. + * Makerules: Likewise. + * Versions.def: Likewise. + * argp/argp-fmtstream.c: Likewise. + * argp/argp-fmtstream.h: Likewise. + * argp/argp-help.c: Likewise. + * assert/assert.c: Likewise. + * config.h.in: Likewise. + * config.make.in: Likewise. + * configure: Likewise. + * configure.in: Likewise. + * csu/Versions: Likewise. + * csu/init.c: Likewise. + * elf/tst-audit2.c: Likewise. + * elf/tst-tls10.c: Likewise. + * elf/tst-tls10.h: Likewise. + * elf/tst-tls11.c: Likewise. + * elf/tst-tls12.c: Likewise. + * elf/tst-tls14.c: Likewise. + * elf/tst-tlsmod11.c: Likewise. + * elf/tst-tlsmod12.c: Likewise. + * elf/tst-tlsmod13.c: Likewise. + * elf/tst-tlsmod13a.c: Likewise. + * elf/tst-tlsmod14a.c: Likewise. + * elf/tst-tlsmod15b.c: Likewise. + * elf/tst-tlsmod16a.c: Likewise. + * elf/tst-tlsmod16b.c: Likewise. + * elf/tst-tlsmod7.c: Likewise. + * elf/tst-tlsmod8.c: Likewise. + * elf/tst-tlsmod9.c: Likewise. + * gmon/gmon.c: Likewise. + * grp/fgetgrent_r.c: Likewise. + * grp/putgrent.c: Likewise. + * hurd/fopenport.c: Likewise. + * include/libc-symbols.h: Likewise. + * include/tls.h: Likewise. + * intl/gettextP.h: Likewise. + * intl/loadinfo.h: Likewise. + * locale/global-locale.c: Likewise. + * locale/localeinfo.h: Likewise. + * mach/devstream.c: Likewise. + * malloc/arena.c: Likewise. + * malloc/set-freeres.c: Likewise. + * misc/err.c: Likewise. + * misc/getttyent.c: Likewise. + * misc/mntent_r.c: Likewise. + * posix/getopt.c: Likewise. + * posix/wordexp.c: Likewise. + * pwd/fgetpwent_r.c: Likewise. + * resolv/Versions: Likewise. + * resolv/res_hconf.c: Likewise. + * shadow/fgetspent_r.c: Likewise. + * shadow/putspent.c: Likewise. + * stdio-common/printf_fphex.c: Likewise. + * stdio-common/tmpfile.c: Likewise. + * stdlib/abort.c: Likewise. + * stdlib/fmtmsg.c: Likewise. + * sunrpc/auth_unix.c: Likewise. + * sunrpc/clnt_perr.c: Likewise. + * sunrpc/clnt_tcp.c: Likewise. + * sunrpc/clnt_udp.c: Likewise. + * sunrpc/clnt_unix.c: Likewise. + * sunrpc/openchild.c: Likewise. + * sunrpc/svc_simple.c: Likewise. + * sunrpc/svc_tcp.c: Likewise. + * sunrpc/svc_udp.c: Likewise. + * sunrpc/svc_unix.c: Likewise. + * sunrpc/xdr.c: Likewise. + * sunrpc/xdr_array.c: Likewise. + * sunrpc/xdr_rec.c: Likewise. + * sunrpc/xdr_ref.c: Likewise. + * sunrpc/xdr_stdio.c: Likewise. + +2011-09-09 Ulrich Drepper + + * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests. + +2011-07-03 Andreas Jaeger + + * math/libm-test.inc (jn_test): Add tests for BZ#11589. + * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test, + regenerate with gen-libm-tests.pl. + +2010-05-12 Petr Baudis + + [BZ #11589] + * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss + around j0() zero points by switching to j1(). + * sysdeps/ieee754/flt-32/e_jnf.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise. + +2011-09-09 Ulrich Drepper + + * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL + instead of 0. + * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0 + instead of 0. + * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise. + Patch in part by Pavel Roskin . + + [BZ #13138] + * stdio-common/vfscanf.c (ADDW): Allocate large memory block with + realloc. + (_IO_vfscanf_internal): Remove reteof. Use errout after setting done. + Free memory block if necessary. + + [BZ #12847] + * libio/genops.c (INTDEF): For string streams the _lock pointer can + be NULL. Don't lock in this case. + +2011-09-09 Roland McGrath + + * elf/elf.h (ELFOSABI_GNU): New macro. + (ELFOSABI_LINUX): Define to that. + +2011-07-29 Denis Zaitceff + + * string/strncat.c (strncat): Undef the symbol in case it has been + defined in bits/string.h. + +2011-09-09 Ulrich Drepper + + * elf/sotruss.ksh: Clean up, fix, and complete help messages. + + * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real + link map. + +2011-08-17 Andreas Jaeger + + * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction. + +2011-08-18 Paul Pluzhnikov + Ian Lance Taylor + + * math/libm-test.inc (lround_test): New testcase. + * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision. + +2011-09-08 Ulrich Drepper + + * Makefile: Remove support for automatic cvs check-ins. + * Makerules: Likewise. + * config.make.in: Likewise. + * configure.in: Likewise. + * intl/Makefile: Likewise. + * locale/Makefile: Likewise. + * po/Makefile: Likewise. + * posix/Makefile: Likewise. + * sysdeps/gnu/Makefile: Likewise. + * sysdeps/mach/hurd/Makefile: Likewise. + * sysdeps/sparc/sparc32/Makefile: Likewise. + + [BZ #13118] + * posix/Makefile (bug-regex32-ENV): Define. + Patch by John Stanley . + + * misc/Makefile (headers): Add bits/select2.h. + * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE. + * misc/bits/select2.h: New file. + * include/bits/select2.h: New file. + * debug/Makefile (routines): Add fdelt_chk. + * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15. + * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and + FD_ISSET. + * debug/fdelt_chk.c: New file. + + * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust. + * wcsmbs/test-wmemcmp.c: Likewise. + * string/Makefile (strop-tests): Remove wcscmp and wmemcmp. + * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp. + +2011-09-08 Liubov Dmitrieva + + * string/Makefile (strop-tests): Add memcmp. + * string/test-wmemcmp.c: New file. + * string/test-memcmp.c: Add wmemcmp support. + +2011-09-08 Roland McGrath + + [BZ #13153] + * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for + 2011-07-19 change. + + * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a + garbage value in a __mach_port_mod_refs call in the cases of the + task-self and thread-self ports. + +2011-09-06 Samuel Thibault + + * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro. + +2011-09-08 Andreas Schwab + + * elf/dl-load.c (lose): Check for non-null L. + +2011-09-07 Ulrich Drepper + + * elf/dl-load.c (open_verify): Use O_CLOEXEC. + + * elf/dl-libc.c (dlerror_run): Pass back error code from + dl_catch_error. + + [BZ #13123] + * elf/dl-load.c (lose): Free l_origin if it is valid. + + * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section + names. + * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise. + * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise. + * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise. + * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise. + * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise. + Patch by Liubov Dmitrieva . + +2011-08-01 Adhemerval Zanella + + * sysdeps/powerpc/fpu/e_hypot.c: New file. + * sysdeps/powerpc/fpu/e_hypotf.c: New file. + * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file. + * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file. + * sysdeps/powerpc/fpu/k_cosf.c: New file. + * sysdeps/powerpc/fpu/k_sinf.c: New file. + * sysdeps/powerpc/fpu/s_cosf.c: New file. + * sysdeps/powerpc/fpu/s_sinf.c: New file. + * sysdeps/powerpc/fpu/s_scalbnf.c: New file. + * sysdeps/powerpc/fpu/s_float_bitwise.h: New file. + +2011-08-15 Alan Modra + + [BZ #13092] + * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to.. + * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here.. + * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add + ppc_mcount to static-only-routines. + * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE + __mcount_internal. + * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call + __mcount_internal with usual JUMPTARGET. Remove useless nop. + +2011-08-18 David Flaherty + + * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks + for finite and infinity parameters. + +2011-08-04 Will Schmidt + + * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment + and add nop instructions for throughput optimization. + * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise. + +2011-07-28 Will Schmidt + + * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the + aligned copy for power7 with vector-scalar instructions. + * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise. + +2011-07-24 H.J. Lu + + * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify + AVX check. + +2011-09-07 Andreas Schwab + + [BZ #13144] + * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert + last change. + +2011-09-07 Ulrich Drepper + + * sysdeps/unix/sysv/linux/x86_64/init-first.c + (_libc_vdso_platform_setup): If vDSO is not present store pointer to + syscall wrapper around clock_gettime in __vdso_clock_gettime. + * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for + clock_gettime. + +2011-09-06 Ulrich Drepper + + * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME): + Forgot to demangle the pointer. + + * sysdeps/i386/sysdep.h: Define atom_text_section. + * sysdeps/x86_64/sysdep.h: Likewise. + * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in + section with atom_text_section. + * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise. + * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise. + * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise. + * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise. + * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise. + + * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file. + * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow + already be defined. Change to take two parameters and don't assign + result to variable. Adjust all users. + Define INTERNAL_GETTIME if not already defined. + Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime + call. + * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define + HAVE_CLOCK_GETTIME_VSYSCALL. + * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU. + + * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use + gettimeofday vsyscall, just use time. + +2011-09-06 Andreas Schwab + + * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include + . + +2011-09-06 Ulrich Drepper + + * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu + syscall on x86-64. + * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real + syscall. + * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real + syscall if possible. + +2011-09-05 Ulrich Drepper + + * elf/pldd.c (get_process_info): Don't read whole ELF header, just + e_ident. Don't pass to find_mapsXX. + * elf/pldd-xx.c (find_mapsXX): Remove second parameter. + +2011-07-20 Liubov Dmitrieva + + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add + strchr-sse2-no-bsf strrchr-sse2-no-bsf + * sysdeps/x86_64/multiarch/strchr.S: Update. + Check bit_slow_BSF bit. + * sysdeps/x86_64/multiarch/strrchr.S: Likewise. + * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file. + * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file. + +2011-09-05 Ulrich Drepper + + [BZ #13134] + * sysdeps/posix/spawni.c (script_execute): Define only for compatibility + before glibc 2.15. + (tryshell): Define. + (__spawni): Change last parameter to be flag. Test + SPAWN_XFLAGS_USE_PATH flag to use path or not. + Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set. + * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user. + * posix/spawni.c: Likewise. + * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL. + * posix/spawnp.c: Likewise. Change normal version to use + SPAWN_XFLAGS_USE_PATH. + * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and + SPAWN_XFLAGS_TRY_SHELL. + + [BZ #13150] + * posix/glob.h: Remove gcc 1.x support. + + [BZ #13068] + * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC. + +2011-07-20 Liubov Dmitrieva + + * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add + strchr-sse2 strrchr-sse2 strchr-sse2-bsf + strrchr-sse2-bsf + * sysdeps/i386/i686/multiarch/strchr.S: New file. + * sysdeps/i386/i686/multiarch/strrchr.S: New file. + * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file. + * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file. + * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file. + * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file. + +2011-08-29 Liubov Dmitrieva + + * sysdeps/x86_64/wcscmp.S: New file. + + * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add + wcscmp-c wcscmp-sse2 + * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file. + * sysdeps/i386/i686/multiarch/wcscmp.S: New file. + * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file. + * wcsmbs/wcscmp.c: Allow renaming. + +2011-09-05 David S. Miller + + * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument + stack slot, rather than the struct return pointer slot. + * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete. + * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file. + * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise. + +2011-09-05 Ulrich Drepper + + * po/ja.po: Update from translation team. + + [BZ #13144] + * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match + kernel in 64-bit binaries. + +2011-09-01 David S. Miller + + * elf/elf.h (HWCAP_SPARC_*): Move to.. + * sysdeps/sparc/sysdep.h: this new file and add new values. + * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h + * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase + _DL_HWCAP_COUNT to 24. + * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new + entries. + * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local + __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead. + * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h + * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_* + instead of magic constants. + * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise. + +2011-08-31 David S. Miller + + * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define. + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO): + Reimplement to do errno handling inline. + (SYSCALL_ERROR_HANDLER): New macro. + (__SYSCALL_STRING): Do not do errno handling in asm. + (__CLONE_SYSCALL_STRING): Delete. + (__INTERNAL_SYSCALL_STRING): Delete. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include + sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h + (PSEUDO): Reimplement to do errno handling inline. + (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine. + (SYSCALL_ERROR_HANDLER): New macro. + (__SYSCALL_STRING): Do not do errno handling in asm. + (__CLONE_SYSCALL_STRING): Delete. + (__INTERNAL_SYSCALL_STRING): Delete. + * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL): + Implement in terms of INTERNAL_SYSCALL and __set_errno, just like + i386. + (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state. + (inline_syscall*): Add 'err' argument. + (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS, + INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down. + (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING, + INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P. + + * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'. + * scripts/data/localplt-sparc64-linux-gnu.data: Likewise. + +2011-08-30 Andreas Schwab + + * elf/rtld.c (dl_main): Relocate objects in dependency order. + +2011-08-29 Jiri Olsa + + * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi + directive. + +2011-08-24 David S. Miller + + * sysdeps/sparc/sparc64/strcmp.S: Rewrite. + +2011-08-24 Andreas Schwab + + * elf/Makefile: Add rules to build and run unload8 test. + * elf/unload8.c: New file. + * elf/unload8mod1.c: New file. + * elf/unload8mod1x.c: New file. + * elf/unload8mod2.c: New file. + * elf/unload8mod3.c: New file. + + * elf/dl-close.c (_dl_close_worker): Reset private search list if + it wasn't used. + +2011-08-23 David S. Miller + + * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not + subtract stack bias. + * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use + %sp not %fp in calculations. + (_JMPBUF_UNWINDS_ADJ): Likewise. + + * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function. + (aio_suspend): Call it to force an exception region around the + AIO_MISC_WAIT() invocation. + +2011-08-23 Andreas Schwab + + * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing + backslash. + +2011-07-04 Aurelien Jarno + + * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion + protection macro. + * sysdeps/powerpc/powerpc64/dl-irel.h: Include + and . + (Elf64_FuncDesc): Remove. + +2011-08-22 David S. Miller + + * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix + sigaltstack check, add missing cfi directives. + * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add + missing cfi directives, and sigaltstack handling. + +2011-08-16 Andreas Schwab + + [BZ #11724] + * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when + object is seen twice. + * elf/dl-fini.c (_dl_sort_fini): Likewise. + + * elf/Makefile (distribute): Add tst-initorder2.c. + (tests): Add tst-initorder2. + (modules-names): Add tst-initorder2a tst-initorder2b + tst-initorder2c tst-initorder2d. Add rules to build them. + ($(objpfx)tst-initorder2.out): New rule. + * elf/tst-initorder2.c: New file. + * elf/tst-initorder2.exp: New file. + +2011-08-22 Andreas Schwab + + * sysdeps/unix/sysv/linux/i386/scandir64.c: Include . + + * elf/dl-deps.c (_dl_map_object_deps): Move check for missing + dependencies back to end of function. + + * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd + $(elfobjdir)/ld.so. + +2011-08-21 Ulrich Drepper + + * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed. + * sysdeps/unix/sysv/linux/x86_64/time.S: Removed. + * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file. + * sysdeps/unix/sysv/linux/x86_64/time.c: New file. + * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration + of __vdso_gettimeofday. + * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of + __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with + attribute_hidden. + (_libc_vdso_platform_setup): Remove initialization of + __vdso_gettimeofday and __vdso_time. + +2011-08-20 Ulrich Drepper + + * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked + and fgetc_unlocked. + * nss/nss_files/files-key.c (search): Use fgets_unlocked and + getc_unlocked. + + * elf/dl-open.c (add_to_global): Report additions to the global scope + for LD_DEBUG=scopes. + (dl_open_worker): Also print scope of newly loaded dependencies. + (_dl_show_scope): Indicate if there is no scope. + + [BZ #13114] + * stdio-common/Makefile (tests): Add bug24. + * stdio-common/bug24.c: New file. + +2011-08-19 Andreas Jaeger + + [BZ #13114] + * libio/fileops.c (_IO_new_file_fopen): Fix handling of + non-existant file when using close-on-exec mode. + +2011-08-20 Ulrich Drepper + + * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for + the very first instruction. + + * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore + the CFI state in the end. + * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first + inclusion of dl-trampoline.h. + Based on a patch by Jiri Olsa . + +2011-08-19 Andreas Schwab + + * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i) + expectations for long double. + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed + from sysdeps/unix/sysv/linux/powerpc/scandir64.c. + +2011-08-14 David S. Miller + + * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The + artificual limit depends upon the system page size. + +2011-08-17 Ulrich Drepper + + * Makeconfig (override CFLAGS): Add library-specific CFLAGS. + * resolv/Makefile: Define CFLAGS-libresolv. + +2011-08-17 Andreas Schwab + + * nss/makedb.c (compute_tables): Make variables used in nested + function static. + +2011-08-17 Ulrich Drepper + + * elf/pldd-xx.c (r_debug): Explicitly add padding when needed. + * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector + if buffer was too small. + + * elf/pldd.c (main): Attach to all threads in the process. + Rewrite /proc handling to use *at functions. + +2011-08-16 Ulrich Drepper + + * elf/dl-open.c (_dl_show_scope): Take additional parameter which + specifies first scope to show. + (dl_open_worker): Update callers. Move printing scope of new + object to before the relocation. + * elf/rtld.c (dl_main): Update _dl_show_scope call. + * sysdeps/generic/ldsodefs.h: Update declaration. + + * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the + string for the scope number. + +2011-08-14 Ulrich Drepper + + * nscd/servicescache.c (cache_addserv): Make sure written is always + initialized. + +2011-08-14 Roland McGrath + + * sysdeps/i386/i486/bits/atomic.h + (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of + statement expression, so as to suppress "set but not used" warning. + (__arch_c_compare_and_exchange_val_64_acq): Likewise. + + * string/strncat.c (STRNCAT): Use prototype definition. + + * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs. + (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and + -Iprograms here. + (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib. + (localedef-modules): Add localedef. + (locale-modules): Add locale. + + * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const. + * elf/rtld.c (dl_main): Invert order of assignment in last change, + to avoid a warning. + +2011-08-14 David S. Miller + + * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY, + RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc. + +2011-08-13 Ulrich Drepper + + * elf/dl-open.c: Rename show_scope to _dl_show_scope and export. + (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set. + * elf/rtld.c (dl_main): Set l_name of vDSO. + Call _dl_show_scope when DL_DEBUG_SCOPES. + (process_dl_debug): Recognize scopes flag and also set it for all. + * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES. + Declare _dl_show_scope. + + * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen. + (do_dlopen): Pass caller_dlopen to dl_open. + (__libc_dlopen_mode): Initialize caller_dlopen. + + * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside + of libc. Make tolower call locale-independent. Optimize a bit by + using isdigit instead of isalnum. + * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc. + +2011-08-12 Ulrich Drepper + + * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO + was a dependency or dynamically loaded. + +2011-08-11 Ulrich Drepper + + * intl/l10nflist.c: Allow architecture-specific pop function. + * sysdeps/x86_64/l10nflist.c: New file. + + * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent + classification. + +2011-08-10 Andreas Schwab + + * include/dirent.h: Add libc_hidden_proto for scandirat and + scandirat64. Don't declare __scandirat64. + * dirent/scandirat.c: Add libc_hidden_def. + * dirent/scandirat64.c (SCANDIRAT): Remove underscores. + * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise. + +2011-08-10 David S. Miller + + * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in + enum. + * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise. + * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise. + +2011-08-09 Ulrich Drepper + + * Versions.def [libc]: Add GLIBC_2.15. + * dirent/Makefile (routines): Add scandirat and scandirat64. + * dirent/Versions [libc]: Export scandirat and scandirat64 for + GLIBC_2.15. + * dirent/dirent.h: Declare scandirat and scandirat64. + * dirent/scandirat.c: New file. + * dirent/scandirat64.c: New file. + * sysdeps/wordsize-64/scandirat.c: New file. + * sysdeps/wordsize-64/scandirat64.c: New file. + * dirent/opendir.c: Define opendirat. + * dirent/scandir.c: Move code to scandirat.c. Implement scandir + using scandirat. + * dirent/scandir64.c: Adjust for scandir.c change. + * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat, + __scandirat64, and __scandir_cancel_handler. + * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take + additional parameter and use openat instead of open (outside of ld.so). + Add new __opendir as wrapper around __opendirat. + * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64 + here without requiring old scandirat implementation. + +2011-08-08 Ulrich Drepper + + * dirent/scandir.c (cancel_handler): Renamed to + __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is + defined. Adjust users. + * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL. + * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise. + +2011-08-04 Ulrich Drepper + + * string/test-string.h (IMPL): Use __STRING to expand name and then + stringify it. + + * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots + of cleanups. + +2011-07-22 Liubov Dmitrieva + + * string/Makefile: Update. + (strop-tests): Append strncat. + * string/test-wcscmp.c: New file. + New comprehensive test for wcscmp. + * string/test-strcmp.c: Update. + (WIDE): New define. + +2011-07-22 Andreas Schwab + + * resolv/res_init.c (__res_vinit): Properly tokenize nameserver + line. + +2011-07-26 Andreas Schwab + + * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of + encoding to ACE if AI_IDN. + +2011-08-01 Jakub Jelinek + + * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq + to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0. + +2011-07-22 Liubov Dmitrieva + + * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update. + Fix overflow bug in strncat. + * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise. + + * string/test-strncat.c: Update. + Add new tests for checking overflow bugs. + +2011-07-15 Liubov Dmitrieva + + * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add + strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c. + * sysdeps/i386/i686/multiarch/strcat.S: New file. + * sysdeps/i386/i686/multiarch/strcat-c.c: New file. + * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file. + * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file. + * sysdeps/i386/i686/multiarch/strncat.S: New file. + * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file. + * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file. + + * sysdeps/i386/i686/multiarch/strcpy-ssse3.S + (USE_AS_STRCAT): Define. + Add strcat and strncat support. + * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise. + +2011-07-25 Andreas Schwab + + * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle + __n bigger than INT_MAX+1. + (__strncmp_g): Likewise. + +2011-07-23 Ulrich Drepper + + * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE. + * libio/stido.h: Likewise. + + * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define. + (AF_NFC): Define. + * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define. + (AF_NFC): Define. + + * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants. + * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise. + * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise. + + [BZ #13021] + * scripts/test-installation.pl: Don't expect libnss_test1 to be + installed. + + * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more + typo. + (_dl_x86_64_save_sse): Likewise. + +2011-07-22 Ulrich Drepper + + * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for + OSXSAVE. + (_dl_x86_64_save_sse): Likewise. + + * crypt/crypt_util.c (__init_des_r): Optimize memset calls. + + * crypt/crypt_util.c (__init_des_r): Add read barrier as well. + +2011-07-21 Andreas Schwab + + * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last + change. + (_dl_x86_64_save_sse): Use correct AVX check. + +2011-07-21 Liubov Dmitrieva + + * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow + bug in strncpy/strncat. + * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise. + +2011-07-21 Ulrich Drepper + + * string/tester.c (test_strcat): Add tests for different alignments + of source and destination. + (test_strncat): Likewise. + +2011-07-20 Ulrich Drepper + + [BZ #12852] + * posix/glob.c (glob): Check passed in values before using them in + expressions to avoid some overflows. + (glob_in_dir): Likewise. + + [BZ #13007] + * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete + check for AVX enablement so that we don't crash with old kernels and + new hardware. + * elf/tst-audit4.c: Add same checks here. + * elf/tst-audit6.c: Likewise. + + * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment. + +2011-07-09 Andreas Schwab + + * sysdeps/unix/sysv/linux/pathconf.c: Include . + +2011-07-20 Ulrich Drepper + + * po/cs.po: Update from translation team. + * po/bg.po: Likewise. + +2011-07-12 Marek Polacek + + * misc/sys/cdefs.h: Add support for const attribute. + * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__ + to gnu_dev_{major,minor,makedev} functions. + +2011-07-20 Marek Polacek + + * intl/dcigettext.c (get_output_charset): Add missing bracket. + +2011-07-20 Andreas Schwab + + * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for + strlen results. + +2011-07-13 Andreas Krebbel + + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h + (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address + register in order to avoid conflicts with the soft frame pointer + being held in r11 when necessary. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h + (INTERNAL_VSYSCALL_NCS): Likewise. + +2011-07-14 Marek Polacek + + * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument, + * elf/dl-fini.c (_dl_fini): Adjust caller. + * elf/dl-close.c (_dl_close_worker): Likewise. + * sysdeps/generic/ldsodefs.h: Adjust declaration. + +2011-07-15 Marek Polacek + + * elf/cache.c (load_aux_cache): Remove unnecessary condition of + "aux_cache->nlibs < 0". + + * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition + in the reload-count case. + +2011-07-15 Liubov Dmitrieva + + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add + strcat-ssse3 strcat-sse2-unaligned strncat-ssse3 + strncat-sse2-unaligned strncat-c strlen-sse2-pminub + * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file. + * sysdeps/x86_64/multiarch/strcat.S: New file. + * sysdeps/x86_64/multiarch/strncat.S: New file. + * sysdeps/x86_64/multiarch/strncat-c.c: New file. + * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file. + * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file. + * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file. + * sysdeps/x86_64/multiarch/strcpy-ssse3.S + (USE_AS_STRCAT): Define. + Add strcat and strncat support. + * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise. + * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise. + * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file. + * string/strncat.c: Update. + (USE_AS_STRNCAT): Define. + * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): + Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5 + and i7. + * sysdeps/x86_64/multiarch/init-arch.h + (bit_Prefer_PMINUB_for_stringop): New. + (index_Prefer_PMINUB_for_stringop): Likewise. + * sysdeps/x86_64/multiarch/strlen.S (strlen): Check + bit_Prefer_PMINUB_for_stringop. + +2011-07-19 Ulrich Drepper + + * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add + buffer64. + * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead + of casting of buffer. + * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add + buffer32 and buffer64. + * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for + writes instead of casting of buffer. + * crypt/md5.h (struct md5_ctx): Move buffer into union and add + buffer32. + * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of + casting of buffer. + +2011-07-19 Andreas Schwab + + * string/strxfrm_l.c (STRXFRM): Fix alloca accounting. + +2011-07-19 Ulrich Drepper + + * nscd/nscd.c (termination_handler): Don't do anything for a database + if it has not yet been initialized. + +2011-07-18 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo. + +2011-07-15 Marek Polacek + + * bits/sched.h (__CPU_EQUAL_S): Fix a typo. + +2011-07-18 Ulrich Drepper + + * po/nl.po: Update from translation team. + * po/sv.po: Likewise. + +2011-07-16 Roland McGrath + + * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2, + now disallowed by GCC. + + * configure.in (use-default-link): Default to yes if a test -shared + link meets our qualifications. + * configure: Regenerated. + + * config.make.in (output-format): New variable. + * configure.in: Check for ld --print-output-format support. + * configure: Regenerated. + * Makerules ($(common-objpfx)format.lds) + [$(output-format) != unknown]: Just use $(output-format), + instead of the linker-script munging. + +2011-07-14 Roland McGrath + + * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead + of $(common-objpfx)shlib.lds. + * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise. + + * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def): + Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN]. + + * configure.in (-z relro check): Adjust test code to add a large + writable data section after it. + * configure: Regenerated. + +2011-07-11 Roland McGrath + + * configure.in (-z relro check): Fix test code to make the variable + truly const. + * configure: Regenerated. + +2011-07-11 Ulrich Drepper + + * nscd/nscd.h (struct traced_file): Define. + (struct database_dyn): Remove inotify_descr, reset_res, and filename + elements. Add traced_files. + (inotify_fd): Declare. + (register_traced_file): Declare. + * nscd/connections.c (dbs): Remove reset_res and filename initializers. + (inotify_fd): Export. + (resolv_conf_descr): Remove. + (nscd_init): Move inotify descriptor creation to main. + Don't register files for notification here. + (register_traced_file): New function. + (invalidate_cache): Don't use reset_res to determine whether to call + res_init, go through the list of registered files. + (main_loop_poll): The inotify descriptors are now stored in the + structures for the traced files. + (main_loop_epoll): Likewise. + * nscd/nscd.c (main): Create inotify socket here. Pass extra argument + to __nss_disable_nscd. + * nscd/cache.c (prune_cache): There is no single inotify descriptor + for a database anymore. Check the records for all the registered + files instead. + * nss/Makefile (libnss_files-routines): Add files-init. + (libnss_db-routines): Add db-init. + * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init. + [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init. + * nss/nss_db/db-init.c: New file. + * nss/nss_files/files-init.c: New file. + * nss/nsswitch.c (nss_load_library): New function. Broken out of + __nss_lookup_function. + (__nss_lookup_function): Call nss_load_library. + (nss_load_all_libraries): New function. + (__nss_disable_nscd): Take parameter with callback function for files + to register. Set is_nscd. Load all the DSOs for the NSS modules + used for the cached services. + * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype. + * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D + options for features to all the files in nscd. + + * nss/nsswitch.c (nss_parse_file): Add missing fclose. + +2011-07-10 Roland McGrath + + * csu/elf-init.c (__libc_csu_init): Comment typo. + +2011-07-09 Ulrich Drepper + + * po/pl.po: Update from translation team. + * po/ja.po: Likewise. + * po/ru.po: Likewise. + * po/ko.po: Likewise. + * po/fr.po: Likewise. + +2011-07-09 Roland McGrath + + * configure.in (.ctors/.dtors header and trailer check): + Use an empirical test on a built program. + * configure: Regenerated. + + * configure.in (-z relro check): Use an empirical test on a built DSO. + Detect, but do not require, on ia64. + * configure: Regenerated. + + * configure.in (READELF): Find it with AC_CHECK_TOOL. + Update tests that use readelf to use $READELF instead. + * configure: Regenerated. + +2011-07-08 Ulrich Drepper + + * malloc/hooks.c (memalign_check): Avoid using checked_request2size + if the result is not used. + +2011-07-05 Andreas Jaeger + + [BZ #9696] + * stdlib/tst-strtod.c: Add testcase. + +2011-07-07 Ulrich Drepper + + * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function. + (__statfs_link_max): Use it to distinguish between ext2/3 and ext4. + The latter has a higher limit. Take additional parameter to pass to + the new function. + (__pathconf): Pass file to __statfs_link_max. + * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to + __statfs_link_max. + * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of + __statfs_link_max. + + [BZ #12868] + * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants. + * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags): + Handle Lustre. + * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise. + (__statfs_filesize_max): Likewise. + Patch mostly by Andreas Dilger . + +2011-07-05 Andreas Jaeger + + * resolv/res_comp.c (dn_skipname): Remove unused variable. + +2011-07-06 Marek Polacek + + * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the + `status' variable. + * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): + Likewise. + +2011-07-04 H.J. Lu + + * Makefile (strop-tests): Add strncat. + * string/test-strncat.c: New file. + +2011-06-30 Marek Polacek + + * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function. + +2011-06-21 Andreas Jaeger + + * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules): + Copy rule from iconvdata/Makefile. + +2011-07-06 Ulrich Drepper + + [BZ #12922] + * posix/getopt.c (_getopt_internal_r): When "W;" is in short options + but no long options are defined, just return 'W'. + +2011-06-22 Marek Polacek + + [BZ #9696] + * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM. + +2011-07-06 Ulrich Drepper + + * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known + netgroups to read. + (innetgr): Likewise. + +2011-07-05 Roland McGrath + + * config.make.in (install_root): Default to $(DESTDIR). + +2011-07-05 Ulrich Drepper + + * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning. + +2011-07-02 Roland McGrath + + * Makerules ($(common-objpfx)format.lds): Fail if result is empty. + + * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to + containing directory rather than embedding absolute directory names. + + * scripts/check-local-headers.sh: Rewritten using awk. + Match by word, not by line. Print error messages for matches. + * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it. + + * Makerules [shlib-lds-flags empty]: + ($(common-objpfx)libc_pic.opts): New target. + ($(common-objpfx)libc_pic.os.clean): New target. + ($(common-objpfx)libc.so): Link it instead of libc_pic.os. + + * config.make.in (OBJCOPY): New variable. + * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too. + * configure: Regenerated. + + * config.make.in (use-default-link): New variable. + * configure.in (use_default_link): Grok --with-default-link to set it. + * configure: Regenerated. + * Makerules [$(elf) = yes] [$(use-default-link) = yes]: + (shlib-lds, shlib-lds-flags): Define to empty. + + * Makerules (shlib-lds): New variable. + (shlib-lds-flags): New variable. + (build-shlib, build-moduile, build-module-asneeded): Use it. + ($(common-objpfx)libc.so): Use $(shlib-lds). + ($(extra-modules-build:%=$(objpfx)%.so)): Likewise. + * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise. + + * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept + DT_FLAGS/DT_FLAGS_1 with zero flags. + + * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of + linker script munging. + +2011-07-02 Ulrich Drepper + + * crypt/sha512.h (struct sha512_ctx): Add union to access total also + as 128-bit value. + * crypt/sha512.c (sha512_process_block): Perform total addition using + 128-bit if possible. + (__sha512_finish_ctx): Likewise. + * crypt/sha256.h (struct sha256_ctx): Add union to access total also + as 64-bit value. + * crypt/sha256.c (SWAP64): Define. + (sha256_process_block): Perform total addition using 64-bit if + possible. + (__sha256_finish_ctx): Likewise. + +2011-07-01 Ulrich Drepper + + * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction. + * nscd/initgrcache.c (addinitgroupsX): Likewise. + * nscd/hstcache.c (cache_addhst): Likewise. + * nscd/grpcache.c (cache_addgr): Likewise. + * nscd/aicache.c (addhstaiX): Likewise. + * nscd/servicescache.c (cache_addserv): Handle zero negtimeout. + +2011-07-01 Thorsten Kukuk + + * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout. + * nscd/initgrcache.c (addinitgroupsX): Likewise. + * nscd/hstcache.c (cache_addhst): Likewise. + * nscd/grpcache.c (cache_addgr): Likewise. + * nscd/aicache.c (addhstaiX): Likewise. + +2011-07-01 Andreas Schwab + + * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS + domain only when needed. + +2011-06-30 Andreas Schwab + + * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6 + is always restored. + +2011-06-29 Ulrich Drepper + + * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we + are re-adding the entry. + * nscd/servicescache.c (cache_addserv): Likewise. + +2011-06-30 Aurelien Jarno + + * sysdeps/generic/dl-irel.h: fix protection against multiple + inclusions. + * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New. + +2011-06-28 Ulrich Drepper + + [BZ #12935] + * malloc/memusage.sh: Fix quoting in message. + * debug/xtrace.sh: Likewise. + + * configure.in: Remove support for --experimental-malloc option, make + it the default. + * config.make.in: Likewise. + * malloc/Makefile: Likewise. + +2011-06-27 Andreas Schwab + + * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP + two-byte characters. + +2011-06-27 Roland McGrath + + * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own + AC_CACHE_CHECK invocation. + * configure: Regenerated. + + * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute. + +2011-06-27 Ulrich Drepper + + [BZ #12350] + * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6 + bit from old_res_options. + + * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define. + + * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return + value type for setfct. + +2011-06-23 H.J. Lu + + * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use + __gettimeofday instead of gettimeofday. + +2011-06-26 Ulrich Drepper + + * elf/Makefile (all-built-dso): No need to check linkobj/libc.so. + +2011-06-24 H.J. Lu + + * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo. + + * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind + info. + +2011-06-22 H.J. Lu + + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add + strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3 + strcpy-sse2-unaligned strncpy-sse2-unaligned + stpcpy-sse2-unaligned stpncpy-sse2-unaligned. + * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file. + * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file. + * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file. + * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file. + * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file. + * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file. + * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file. + * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file. + * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3. + (STRCPY): Support SSE2 and SSSE3 versions. + +2011-06-24 Ulrich Drepper + + [BZ #12874] + * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define. + * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+ + kernels which artificially limit size of requests. + +2011-06-22 H.J. Lu + + * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add + strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3 + strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2. + * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file. + * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file. + * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file. + * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file. + * sysdeps/i386/i686/multiarch/stpncpy.S : New file. + * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file. + * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file. + * sysdeps/i386/i686/multiarch/strcpy.S: New file. + * sysdeps/i386/i686/multiarch/strncpy-c.c: New file. + * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file. + * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file. + * sysdeps/i386/i686/multiarch/strncpy.S: New file. + * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): + Enable unaligned load optimization for Intel Core i3, i5 and i7 + processors. + * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load): + Define. + (index_Fast_Unaligned_Load): Define. + (HAS_FAST_UNALIGNED_LOAD): Define. + +2011-06-23 Marek Polacek + + * nss/nss_db/db-open.c: Include for read declaration. + +2011-06-22 Ulrich Drepper + + [BZ #12907] + * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf + until it is clear that the information is realy needed. + Patch mostly by David Hanisch . + +2011-06-22 Andreas Schwab + + * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change. + +2011-06-22 Ulrich Drepper + + * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use + /sys/devices/system/cpu/online if it is usable. + + * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit + reading the information from the /proc filesystem to once a second. + +2011-06-21 Andreas Jaeger + + * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of + NULL after inclusion of kernel headers. + +2011-06-21 Ulrich Drepper + + * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful + calls to internal_setent. + + [BZ #12885] + * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6 + addresses using gethostbyname4_r ignore IPv4 addresses. + + * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the + branch using gethostbyname2 is only for AF_INET. Optimize accordingly. + + * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places. + +2011-06-20 David S. Miller + + * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple + inclusions. + * sysdeps/sparc/sparc64/dl-plt.h: Likewise. + + * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New. + (elf_irel): Use it. + * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise. + * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise. + * sysdeps/sparc/sparc32/dl-irel.h: Likewise. + * sysdeps/sparc/sparc64/dl-irel.h: Likewise. + * sysdeps/x86_64/dl-irel.h: Likewise. + + * elf/dl-runtime.c: Use elf_ifunc_invoke. + * elf/dl-sym.c: Likewise. + +2011-06-15 Ulrich Drepper + + * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We + need to dereference resplen2. + +2011-06-14 Andreas Schwab + + * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file. + +2011-06-15 Ulrich Drepper + + * Makeconfig: Define vardbdir and inst_vardbdir. + * nss/Makefile: Add rules to install db-Makefile. + + * nss/nss_db/db-XXX.c: Cleanup. + + * nss/Makefile (libnss_db-dbs): Add db-initgroups. + * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for + GLIBC_PRIVATE. + * nss/db-Makefile (groups.db): Emit entries for initgroups lookups. + * nss/makedb.c: Implement -g option to specify that value strings + are generated and should not be added to table iterated over for + get*ent calls. + * nss/nss_db/db-initgroups.c: New file. + + * nss/getent.c: Add support for initgroups lookups through getgrouplist + interface. + + * grp/initgroups.c (__nss_initgroups_database): Renamed and exported. + (internal_getgrouplist): Adjust to name change. + Update use_initgroups_entry if this is not the first call. + * nss/databases.def: Add initgroups entry. + + * nss/makedb.c (compute_tables): Check result of multiple hash table + sizes to minimize maximum chain length. + +2011-06-14 Ulrich Drepper + + * Versions.def: Add entry for libnss_db. + * shlib-versions: Likewise. + * nss/Makefile: Add rules to build libnss_db. + * nss/Versions: Add libnss_db information. Organize libnss_files + entries better. + * nss/db-Makefile: Add gshadow support. Change rules for the new + makedb progra. Some minor improvements to generate smaller files. + * nss/nss_db/nss_db.h: Move NSS database header data structures to + here from... + * nss/makedb.c: ...here. + Improve database format to be smaller and require less memory at + runtime. + * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use + db anymore. + * nss/nss_db/db-netgrp.c: Likewise. + * nss/nss_db/db-open.c: Likewise. + * nss/nss_files/flies-XXX.x: Adjust comments. + * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition. + * nss/nss_files/files-grp.c: Likewise. + * nss/nss_files/files-hosts.c: Likewise. + * nss/nss_files/files-network.c: Likewise. + * nss/nss_files/files-proto.c: Likewise. + * nss/nss_files/files-pwd.c: Likewise. + * nss/nss_files/files-rpc.c: Likewise. + * nss/nss_files/files-service.c: Likewise. + * nss/nss_files/files-sgrp.c: Likewise. + * nss/nss_files/files-spwd.c: Likewise. + * nss/nss_db/db-alias.c: Removed. + * nss/nss_db/dummy-db.h: Removed. + +2011-06-02 Ulrich Drepper + + * nss/makedb.c: Rewritten to not use database library. + * nss/Makefile: Update to build new makedb program. + +2011-06-14 Andreas Jaeger + + * sysdeps/unix/sysv/linux/check_native.c: Include for + memset declaration. + +2011-06-10 Andreas Schwab + + * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating + tmpbuf. + +2011-06-10 Roland McGrath + + * Makerules (shlib.lds): Fail if the linker script comes out empty. + * elf/Makefile ($(objpfx)ld.so): Likewise. + + * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \. + Don't list ld.so twice in dependencies. + + * posix/bug-regex31.c: Include . + + * nscd/hstcache.c (cache_addhst): Remove unused variable. + + * nis/nss_compat/compat-spwd.c + (getspent_next_nss_netgr): Remove unused variable. + * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise. + + * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit + nonmembers" output to use the right array. + + * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable. + + * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1. + + * locale/programs/ld-ctype.c (ctype_read): Remove unused variable. + * locale/programs/ld-collate.c (add_to_tablewc): Likewise. + * catgets/gencat.c (read_input_file): Likewise. + * locale/programs/locarchive.c (enlarge_archive): Likewise. + + * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK + variable definition inside #if's controlling its use. + + * inet/getnetgrent_r.c (innetgr): Remove unused variable. + + * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration. + + * misc/syslog.c (__vsyslog_chk): Remove unused variable. + + * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for + unreachable code. + + * stdio-common/printf_fp.c (___printf_fp): Remove unused variable. + + * configure.in (nss-crypt check): Use AC_LANG_PROGRAM. + * configure: Regenerated. + + * Makerules: Revert last change. + * elf/Makefile: Likewise. + +2011-06-09 Roland McGrath + + * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r. + * elf/Makefile ($(objpfx)librtld.os): Likewise. + (reloc-link): Likewise. + +2011-06-09 Ulrich Drepper + + * elf/Makefile: Add rules to build pldd. + * elf/pldd.c: New file. + * elf/pldd-xx.c: New file. + +2011-06-07 Ulrich Drepper + + * version.h: Update for 2.15 development version. + +2011-06-07 David S. Miller + + * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to + ifuncs. + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela, + elf_machine_lazy_rel): Likewise. + * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise. + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela, + elf_machine_lazy_rel): Likewise. + * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch + dl_hwcap via passed in argument. + * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero): + Likewise. + +2011-06-06 Andreas Krebbel + + * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390. + +2011-06-06 Roland McGrath + + [BZ #12849] + * manual/fdl-1.1.texi: New file, verbatim from: + http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi + * manual/lgpl-2.1.texi: New file, verbatim from: + http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi + * manual/Makefile (licenses): New variable, list those new file names. + (texis): Use it. + (chapters.% top-menu.%): Include $(licenses) with $(appendices). + + * manual/fdl.texi: File removed. + * manual/lesser.texi: File removed. + * manual/libc.texinfo (Copying, Documentation License): + Use new @include file names, put @appendix directive before @include. + +2011-06-04 Jakub Jelinek + + [BZ #12841] + * rt/bits/mqueue2.h (__mq_open_2): Add __THROW. + (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT. + (mq_open): Add __NTH. + +2011-06-02 H.J. Lu + + * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): + Assume Intel Core i3/i5/i7 processor if AVX is available. + +2011-05-31 Ulrich Drepper + + * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix + typo. + +2011-05-31 Andreas Schwab + + * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced + memory. Use alloca_account. Fix memory leak when retrying. + +2011-05-31 Ulrich Drepper + + * version.h (RELEASE): Bump for 2.14 release. + * include/features.h (__GLIBC_MINOR__): Bump to 14. + + * config.make.in (RANLIB): Remove entry. + +2011-05-30 Ulrich Drepper + + * po/Makefile (po-sed-cmd): Add ksh to extensions. + (libc.pot): Work around missing support for .ksh extension in xgettext. + + [BZ #12684] + * resolv/res_send.c (__libc_res_nsend): Only go to the next name server + if both request failed. + (send_dg): In case of server errors clear resplen or *resplen2. + + [BZ #12454] + * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only + when there are multiple maps. + * elf/dl-fini.c (_dl_sort_fini): Check for list of one. + (_dl_fini): Remove test here. + + * elf/rtld.c (dl_main): Don't allow the loader to load itself. + +2011-05-29 Ulrich Drepper + + [BZ #12350] + * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6 + bit from old_res_options. + (gaih_inet): Likewise. + + [BZ #11099] + * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values + as signed. + + * resolv/res_init.c (res_setoptions): Make the code more compact. + + [BZ #11558] + * resolv/res_init.c (res_setoptions): Recognize use-vc option and + set RES_USEVC. + + [BZ #11634] + * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx. + + * malloc/malloc.h: Mark malloc hook variables as deprecated. + + [BZ #11781] + * malloc/malloc.h: Declare malloc hook variables as volatile. + + * locale/programs/locarchive.c (add_locale_to_archive): Fix typo + in last patch. + + [BZ #11799] + * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention + raise in the comment. + * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise. + +2011-05-28 Ulrich Drepper + + [BZ #12811] + * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to + grow the buffers more if it already has to be sufficient. + (build_wcs_upper_buffer): Likewise. + * posix/regexec.c (check_matching): Likewise. + (clean_state_log_if_needed): Likewise. + (extend_buffers): Don't enlarge buffers beyond size of the input + buffer. + Patches mostly by Emil Wojak . + * posix/bug-regex32.c: New file. + * posix/Makefile (tests): Add bug-regex32. + + * locale/findlocale.c (_nl_find_locale): Return right away if + _nl_explode_name failed. + * locale/programs/locarchive.c (add_locale_to_archive): Likewise. + + * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define. + + * debug/xtrace.sh: Unify messages. + * malloc/memusage.sh: Likewise. + + [BZ #12813] + * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve + time symbol from vDSO. Substitute with vsyscall if not available. + * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use + __vdso_time. + + * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file. + * sysdeps/unix/sysv/linux/sendmmsg.c: New file. + * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines): + Add sendmmsg and internal_sendmmsg. + * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg. + * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg. + * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG. + + * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry. + * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns. + * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns. + +2011-05-27 Ulrich Drepper + + [BZ #12813] + * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu): + Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not + available. + * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use + __vdso_getcpu. + + [BZ #12814] + * iconvdata/Makefile (tests): Add bug-iconv9. + * iconvdata/bug-iconv9.c: New file. + +2011-05-27 Andreas Schwab + + [BZ #12814] + * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing. + +2011-05-25 Jakub Jelinek + + * sysdeps/unix/sysv/linux/x86_64/sys/user.h + (struct user_regs_struct): Change intcs field back to cs. + +2011-05-25 Ulrich Drepper + + * po/ja.po: Update from translation team. + +2011-05-23 Ulrich Drepper + + [BZ #12795] + * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define. + * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise. + +2011-05-20 Andreas Schwab + + * stdlib/longlong.h: Update from GCC. + +2011-05-23 Andreas Schwab + + * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add + parameter name. + * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK): + Add parameter name. + (__sysconf): Pass it down. + +2011-05-22 Ulrich Drepper + + [BZ #12671] + * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in + some situations. + * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise. + * posix/glob.c (glob_in_dir): Take additional parameter alloca_used. + add in in __libc_use_alloca calls. Adjust callers. + (glob): Use malloc in some situations. + + * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER + and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and + pltexit. + +2011-05-21 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM + and CLOCK_BOOTTIME_ALARM. + + [BZ #12782] + * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error + is returned. + + * string/_strerror.c (__strerror_r): Print negative errors as signed + numbers. + + [BZ #12777] + * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC. + (decomp_table): Change U0385 entry to emit 0xA5 0xEC. + * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC. + + * configure.in: Fix typo in redirection and correct removal of test + files in two cases. + + [BZ #12788] + * locale/setlocale.c (new_composite_name): Fix test to check for + identical name of all categories. + + [BZ #12792] + * libio/filedoalloc.c (local_isatty): New function. + (_IO_file_doallocate): Use local_isatty. + * stdio-common/perror.c (perror): In case a new stream is used + forward the stream error. + * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set + error flag. + +2011-05-20 Ulrich Drepper + + [BZ #11884] + * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use + alloca. + * include/alloca.h (extend_alloca_account): Define. + + [BZ #11857] + * posix/regex.h: Fix comments with documentation of user-accessible + fields after compilation and describe correct free'ing of pattern + after re_compile_pattern. + Patch by Reuben Thomas . + +2011-05-18 Ryan S. Arnold + + * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx + and -mno-altivec to prevent the compiler from using Altivec and/or + VSX instructions when the corresponding registers are not available. + +2011-05-19 Andreas Schwab + + * grp/compat-initgroups.c (__libc_use_alloca): Don't define. + +2011-05-19 Ulrich Drepper + + * libio/freopen.c (freopen): Use __dup2, not dup2. + * libio/freopen64.c (freopen64): Likewise. + +2011-05-17 H.J. Lu + + [BZ #12775] + * sysdeps/x86_64/fpu/e_powl.S: Fix a typo. + * math/Makefile (tests): Add test-powl. + (CFLAGS-test-powl.c): Define. + * math/test-powl.c: New file. + +2011-05-16 H.J. Lu + + * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno. + +2011-05-17 Ulrich Drepper + + [BZ #11837] + * iconvdata/gb18030.c: Update to GB18020-2005. + +2011-05-16 Ulrich Drepper + + * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK, + RE_SYNTAX_POSIX_AWK): Update to match recent development. + Patch by Aharon Robbins . + + [BZ #11892] + * stdlib/putenv.c (putenv): Don't always create copy of the variable + on the stack. + + [BZ #11895] + * misc/pselect.c (__pselect): Handle timeout value errors hidden + through underflows. + + [BZ #12766] + * misc/error.c (error_at_line): Ensure file_name and old_file_name + point to strings before performing equality test for error_one_per_line + mode. + + [BZ #11697] + * login/programs/pt_chown.c (do_pt_chown): Always call chown. + + [BZ #11820] + * sysdeps/unix/sysv/linux/x86_64/sys/user.h + (struct user_fpregs_struct): Avoid __uint*_t types. + + [BZ #6420] + * malloc/mtrace.c (tr_where): Add additional parameter to point to + symbol info. Use it instead of calling _dl_addr locally. + (lock_and_info): New function. + (tr_freehook): Call lock_and_info and pass symbol info as additional + parameter to tr_where. + (tr_mallochook): Likewise. + (tr_reallochook): Likewise. + (tr_memalignhook): Likewise. + + * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not + used and couldn't be at all thread-safe. + +2011-05-15 Ulrich Drepper + + * libio/freopen.c (freopen): Don't close old file descriptor + before the new one is opened. Instead dup the new file descriptor + to the old one after the new stream is created. + * libio/freopen64.c (freopen64): Likewise. + * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC. + * libio/fileops.c (_IO_new_file_close_it): Handle new + _IO_FLAGS2_NOCLOSE flag. + (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode. + If _IO_file_open didn't set FD_CLOEXEC do it after the call. + * libio/oldfileops.c (_IO_old_file_close_it): Handle new + _IO_FLAGS2_NOCLOSE flag. + * include/unistd.h: Add hidden_proto for dup3. + Define __have_dup3. + * io/dup3.c: Define hidden symbol. + * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3. + + [BZ #7101] + * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities + when an incomplete long option is used. + * posix/tst-getopt_long1.c: New file. + * posix/Makefile (tests): Add tst-getopt_long1. + + [BZ #10138] + * scripts/config.guess: Update from autoconf-2.68. + * scripts/config.sub: Likewise. + + [BZ #10157] + * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME + tests into ... + (has_cpuclock): ...this. New function. + * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK + macro here based on has_cpuclock code. + + [BZ #10149] + * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): + First byte (not low byte) is now always NUL. + * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise. + + * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): + Use non-cancelable interfaces. + + [BZ #9809] + * locale/iso-639.def: Add entry for Sorani. + + [BZ #11901] + * include/stdlib.h: Move include protection to the right place. + Define abort_msg_s. Declare __abort_msg with it. + * stdlib/abort.c (__abort_msg): Adjust type. + * assert/assert.c (__assert_fail_base): New function. Majority + of code from __assert_fail. Allocate memory for __abort_msg with + mmap. + (__assert_fail): Now call __assert_fail_base. + * assert/assert-perr.c: Remove bulk of implementation. Use + __assert_fail_base. + * include/assert.hL Declare __assert_fail_base. + * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with + mmap. + * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise. + +2011-05-14 Ulrich Drepper + + [BZ #11952] + [BZ #12453] + * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo + until all modules are registered in the DTV. + * elf/Makefile: Add rules to build and run tst-tls19. + * elf/tst-tls19.c: New file. + * elf/tst-tls19mod1.c: New file. + * elf/tst-tls19mod2.c: New file. + * elf/tst-tls19mod3.c: New file. + Patch mostly by Martin von Gagern . + + [BZ #12083] + * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num + correctly. + + [BZ #12601] + * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of + two-byte sequence errors. + * iconvdata/Makefile (tests): Add bug-iconv8. + * iconvdata/bug-iconv8.c: New file. + + [BZ #12626] + * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move + buf2 definition. + + * libio/fileops.c (_IO_new_file_close_it): Initialize write_status. + + [BZ #12432] + * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element. + (dummy_getcfa): New function. + (init): Get _Unwind_GetCFA address, use dummy if not found. + (backtrace_helper): In recursion check, also check whether CFA changes. + (__backtrace): Completely initialize arg. + + * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before + storing incomplete byte sequence in state object. Avoid testing for + guaranteed too small input if we know there is enough data available. + +2011-05-11 Andreas Schwab + + * Makeconfig (+link-pie): Indent. + * Rules (binaries-pie): Define if $(have-fpie) and + $(build-shared). + (binaries-shared): Also filter out $(binaries-pie). + ($(addprefix $(objpfx),$(binaries-pie))): New rule. + * nscd/Makefile (others-pie): Add nscd. + (LDFLAGS-nscd): Set this instead of relro-LDFLAGS. + ($(objpfx)nscd): Remove command override. + * login/Makefile (others-pie): Add pt_chown. + ($(objpfx)pt_chown): Remove command override. + * elf/Makefile: Add PIE tests to tests and tests-pie variables and + remove command overrides. + +2011-05-13 Ulrich Drepper + + * libio/tst_putwc.c: Fix error messages. + + [BZ #12724] + * libio/fileops.c (_IO_new_file_close_it): Always flush when + currently writing and seek to current position when not. + * libio/Makefile (tests): Add bug-fclose1. + * libio/bug-fclose1.c: New file. + +2011-05-12 Ulrich Drepper + + [BZ #12511] + * elf/dl-lookup.c (enter): Don't test for copy relocation here and + don't set DF_1_NODELETE here. + (do_lookup_x): When entering new entry test for copy relocation + and if necessary set DF_1_NODELETE flag. + * elf/tst-unique4.cc: New file. + * elf/tst-unique4.h: New file. + * elf/tst-unique4lib.cc: New file. + * elf/Makefile: Add rules to build and run tst-unique4. + Patch by Piotr Bury . + +2011-05-11 Ulrich Drepper + + [BZ #12052] + * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call. + + [BZ #12625] + * misc/mntent_r.c (addmntent): Flush the stream after the output + + [BZ #12393] + * elf/dl-load.c (is_trusted_path): Remove unnecessary test. + (is_trusted_path_normalize): Skip initial colon. Append slash + to empty buffer. Duplicate is_trusted_path code but allow + constructed patch to be prefix. + (is_dst): Allow $ORIGIN followed by /. + (_dl_dst_substitute): Correct clearing of check_for_trusted. + Correct testing of result of is_trusted_path_normalize + (decompose_rpath): Fix warning. + +2011-05-10 Ulrich Drepper + + [BZ #11257] + * grp/initgroups.c (internal_getgrouplist): When we found the service + list through the initgroups entry in nsswitch.conf do not always + continue on a successful lookup. Don't always use the + __nss_group_database value if it is set. + * nss/nsswitch.conf (initgroups): Change action for successful db + lookup to continue for compatibility. + +2011-05-09 Ulrich Drepper + + [BZ #11532] + * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773, + and CP774 modules. + * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773, + and CP774 modules. + * iconvdata/tst-tables.sh: Likewise. + * iconvdata/cp770.c: New file. + * iconvdata/cp771.c: New file. + * iconvdata/cp772.c: New file. + * iconvdata/cp773.c: New file. + * iconvdata/cp774.c: New file. + * iconvdata/testdata/CP770: New file. + * iconvdata/testdata/CP770..UTF8: New file. + * iconvdata/testdata/CP771: New file. + * iconvdata/testdata/CP771..UTF8: New file. + * iconvdata/testdata/CP772: New file. + * iconvdata/testdata/CP772..UTF8: New file. + * iconvdata/testdata/CP773: New file. + * iconvdata/testdata/CP773..UTF8: New file. + * iconvdata/testdata/CP774: New file. + * iconvdata/testdata/CP774..UTF8: New file. + + * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at + END CHARMAP line. + * iconvdata/gen-8bit-gap.sh: Likewise. + * iconvdata/gen-8bit.sh: Likewise. + + * locale/iso-639.def: Add ary entry. + + [BZ #11258] + * locale/C-translit.h.in: Add U20A1 transliteration. + + [BZ #12178] + * locale/iso-639.def: Add wae entry. + Patch by Kevin Bortis . + + [BZ #12545] + * locale/programs/localedef.c (construct_output_path): Use ssize_t + for n. + + [BZ #12711] + * locale/C-translit.h.in: Add entry for U20B9. + Patch by pravin.d.s@gmail.com. + +2011-05-08 Ulrich Drepper + + [BZ #12713] + * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report + ENAMETOOLONG use generic getcwd. + * sysdeps/posix/getcwd.c: Add support to use openat. Make usable + in rtld. Use *stat64. + * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines): + Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64. + * sysdeps/unix/sysv/linux/dl-getcwd.c: New file. + * sysdeps/unix/sysv/linux/dl-openat64.c: New file. + * sysdeps/unix/sysv/linux/dl-opendir.c: New file. + * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file. + * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and + __fstatat64 macros. + * include/dirent.h: Add libc_hidden_proto for rewinddir. + * dirent/rewinddir.c: Add libc_hidden_def. + * sysdeps/mach/hurd/rewinddir.c: Likewise. + * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc. + + * include/dirent.h (__alloc_dir): Add flags parameter. + * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir. + * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to + __alloc_dir. + (__alloc_dir): Take new parameter. Don't call fcntl for invocations + from fdopendir if O_CLOEXEC is already set. + +2011-03-15 Alan Modra + + * elf/dl-reloc.c (_dl_try_allocate_static_tls ): Handle + l_tls_firstbyte_offset non-zero. Save padding offset in + l_tls_firstbyte_offset for later use. + * elf/dl-close.c (_dl_close_worker ): Correct code + freeing static tls block. + +2011-03-05 Jonathan Nieder + + * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX + where #ifdef was intended. The intent is to prevent ARG_MAX from + being defined by the kernel headers. + +2011-05-07 Ulrich Drepper + + [BZ #12734] + * resolv/resolv.h: Define RES_NOTLDQUERY. + * resolv/res_init.c (res_setoptions): Recognize no_tld_query and + no-tld-query and set RES_NOTLDQUERY. + * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY. + * resolv/res_query.c (__libc_res_nsearch): Backport changes from + modern BIND to search name as TLD unless forbidden. + +2011-05-07 Petr Baudis + Ulrich Drepper + + [BZ #12393] + * elf/dl-load.c (fillin_rpath): Move trusted path check... + (is_trusted_path): ...to here. + (is_trusted_path_normalize): Wrapper for /../ and /./ normalization. + (_dl_dst_substitute): Verify expanded $ORIGIN path elements + using is_trusted_path_normalize() in setuid scripts. + +2011-05-06 Paul Pluzhnikov + + * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing + __BEGIN/__END_DECLS. + +2011-05-06 Ulrich Drepper + + * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return + NSS_STATUS_NOTFOUND if no record was found. + +2011-05-05 Andreas Schwab + + * sunrpc/Makefile (headers): Add rpc/netdb.h. + (headers-not-in-tirpc): Remove rpc/netdb.h + * resolv/netdb.h: Revert last change. + +2011-05-05 Paul Pluzhnikov + + * Makeconfig (link-libc-static): Use --{start,end}-group to handle + circular dependency between libgcc.a and libc.a. + +2011-05-05 Andreas Schwab + + * resolv/netdb.h: Don't include . + * nis/Makefile: Don't install rpcsvc/*. + * inet/protocols/timed.h: Include and + instead of . + (MAXHOSTNAMELEN): Define. + +2011-05-03 Andreas Schwab + + * elf/ldconfig.c (add_dir): Don't crash on empty path. + +2011-04-28 Maciej Babinski + + [BZ #12714] + * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass + gethostbyname4_r when IPv6 results are possible. + +2011-05-02 Ulrich Drepper + + [BZ #12723] + * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement + _PC_PIPE_BUF handling. + +2011-04-30 Bruno Haible + + [BZ #12717] + * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant. + * resolv/netdb.h (getnameinfo): Change type of flags parameter + to 'int'. + * inet/getnameinfo.c (getnameinfo): Likewise. + +2011-04-29 Ulrich Drepper + + * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting + to groups setting in database lookup. + * nss/nsswitch.conf: Add initgroups entry. + +2011-04-22 Ulrich Drepper + + [BZ #12685] + * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the + mode string. + Patch by Eric Blake . + +2011-04-20 H.J. Lu + + * sunrpc/Makefile (need-export-routines): Add svc_run. + (routines): Remove svc_run. + ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so. + * sunrpc/clnt_perr.c (clnt_perrno): Export. + * sunrpc/svc_run.c (svc_run): Likewise. + * sunrpc/svc_udp.c (svcudp_create): Likewise. + +2011-04-21 Ulrich Drepper + + * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix + problem in reallocation in last patch. + +2011-04-20 Ulrich Drepper + + * sunrpc/Makefile: Move inclusion of Rules. + +2011-04-19 Ulrich Drepper + + * nss/nss_files/files-initgroups.c: New file. + * nss/Makefile (libnss_files-routines): Add files-initgroups. + * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export + _nss_files_initgroups_dyn. + +2011-03-31 Richard Sandiford + + * elf/elf.h (R_ARM_IRELATIVE): Define. + +2011-04-19 Ulrich Drepper + + * po/ru.po: Update from translation team. + +2011-04-17 Ulrich Drepper + + * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to + dependencies. + +2011-02-06 Mike Frysinger + + [BZ #12653] + * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect + MEMCPY_CHK with USE_AS_BCOPY ifdef check. + * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise. + * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise. + * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise. + +2011-03-28 Andreas Schwab + + * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past + differing bytes. + * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise. + * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise. + +2011-04-17 Ulrich Drepper + + [BZ #12420] + * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after + storing it. + * stdlib/bug-getcontext.c: New file. + * stdlib/Makefile: Add rules to build and run bug-getcontext. + +2011-04-13 Andreas Krebbel + + * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109 + instructions into .machine "z9-109". + * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise. + * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise. + +2011-04-11 Andreas Krebbel + + * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes + between environment variables and auxiliary vector. + +2011-04-16 Ulrich Drepper + + * Makefile: Add rules to build linkobj/libc.so. + * include/libc-symbols.h: Define libc_hidden_nolink. + * include/rpc/auth.h: Mark functions which are to be hidden. + * include/rpc/auth_des.h: Likewise. + * include/rpc/auth_unix.h: Likewise. + * include/rpc/clnt.h: Likewise. + * include/rpc/des_crypt.h: Likewise. + * include/rpc/key_prot.h: Likewise. + * include/rpc/pmap_clnt.h: Likewise. + * include/rpc/pmap_prot.h: Likewise. + * include/rpc/pmap_rmt.h: Likewise. + * include/rpc/rpc_msg.h: Likewise. + * include/rpc/svc.h: Likewise. + * include/rpc/svc_auth.h: Likewise. + * include/rpc/xdr.h: Likewise. + * nis/Makefile: Link all DSOs against linkobj/libc.so. + * nss/Makefile: Likewise. + * sunrpc/Makefile: Don't install headers. Build library with normal + entry points. Don't build rpcinfo. Link RPC tests appropriately. + * sunrpc/auth_des.c: Hide exported symbols by default, export some + for the compat linking library. Remove use of INTDEF/INTUSE. + * sunrpc/auth_none.c: Likewise. + * sunrpc/auth_unix.c: Likewise. + * sunrpc/authdes_prot.c: Likewise. + * sunrpc/authuxprot.c: Likewise. + * sunrpc/clnt_gen.c: Likewise. + * sunrpc/clnt_perr.c: Likewise. + * sunrpc/clnt_raw.c: Likewise. + * sunrpc/clnt_simp.c: Likewise. + * sunrpc/clnt_tcp.c: Likewise. + * sunrpc/clnt_udp.c: Likewise. + * sunrpc/clnt_unix.c: Likewise. + * sunrpc/des_crypt.c: Likewise. + * sunrpc/des_soft.c: Likewise. + * sunrpc/get_myaddr.c: Likewise. + * sunrpc/key_call.c: Likewise. + * sunrpc/key_prot.c: Likewise. + * sunrpc/netname.c: Likewise. + * sunrpc/pm_getmaps.c: Likewise. + * sunrpc/pm_getport.c: Likewise. + * sunrpc/pmap_clnt.c: Likewise. + * sunrpc/pmap_prot.c: Likewise. + * sunrpc/pmap_prot2.c: Likewise. + * sunrpc/pmap_rmt.c: Likewise. + * sunrpc/publickey.c: Likewise. + * sunrpc/rpc_cmsg.c: Likewise. + * sunrpc/rpc_common.c: Likewise. + * sunrpc/rpc_dtable.c: Likewise. + * sunrpc/rpc_prot.c: Likewise. + * sunrpc/rpc_thread.c: Likewise. + * sunrpc/rtime.c: Likewise. + * sunrpc/svc.c: Likewise. + * sunrpc/svc_auth.c: Likewise. + * sunrpc/svc_authux.c: Likewise. + * sunrpc/svc_raw.c: Likewise. + * sunrpc/svc_run.c: Likewise. + * sunrpc/svc_simple.c: Likewise. + * sunrpc/svc_tcp.c: Likewise. + * sunrpc/svc_udp.c: Likewise. + * sunrpc/svc_unix.c: Likewise. + * sunrpc/svcauth_des.c: Likewise. + * sunrpc/xcrypt.c: Likewise. + * sunrpc/xdr.c: Likewise. + * sunrpc/xdr_array.c: Likewise. + * sunrpc/xdr_float.c: Likewise. + * sunrpc/xdr_intXX_t.c: Likewise. + * sunrpc/xdr_mem.c: Likewise. + * sunrpc/xdr_rec.c: Likewise. + * sunrpc/xdr_ref.c: Likewise. + * sunrpc/xdr_sizeof.c: Likewise. + * sunrpc/xdr_stdio.c: Likewise. + +2011-04-10 Ulrich Drepper + + [BZ #12650] + * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED. + * sysdeps/ia64/dl-tls.h: Likewise. + * sysdeps/powerpc/dl-tls.h: Likewise. + * sysdeps/s390/dl-tls.h: Likewise. + * sysdeps/sh/dl-tls.h: Likewise. + * sysdeps/sparc/dl-tls.h: Likewise. + * sysdeps/x86_64/dl-tls.h: Likewise. + * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here. + +2011-03-14 Andreas Schwab + + * elf/dl-load.c (_dl_dst_substitute): When skipping the first + rpath element also skip the following colon. + (expand_dynamic_string_token): Add is_path parameter and pass + down to DL_DST_REQUIRED and _dl_dst_substitute. + (decompose_rpath): Call expand_dynamic_string_token with + non-zero is_path. Ignore empty rpaths. + (_dl_map_object_from_fd): Call expand_dynamic_string_token + with zero is_path. + +2011-04-08 Andreas Schwab + + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c: + Make cancelable. + +2011-04-09 Ulrich Drepper + + [BZ #12655] + * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment. + Patch by Filipe David Manana . + +2011-04-07 Andreas Schwab + + * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL): + Maintain aligned stack. + (CHECK_RSP): Remove unused macro. + +2011-04-03 Ulrich Drepper + + * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table. + * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise. + +2011-04-02 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define. + + * include/features.h: Mention __USE_XOPEN2K8 in comment. + +2011-03-26 H.J. Lu + + [BZ #12518] + * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14. + * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy. + * sysdeps/x86_64/memmove.c: New file. + * sysdeps/x86_64/multiarch/memcpy.S: Include . + (memcpy): Renamed to ... + (__new_memcpy): This. + (memcpy): Provide GLIBC_2_14 memcpy. + * sysdeps/x86_64/multiarch/memmove.c: Include . + (memcpy): Provide GLIBC_2_2_5 memcpy. + +2011-04-01 Ulrich Drepper + + [BZ #12631] + * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8. + +2011-03-30 Andreas Schwab + + * misc/syncfs.c: New file. + * misc/Makefile (routines): Add syncfs. + * posix/unistd.h: Declare syncfs. + * sysdeps/unix/syscalls.list: Add syncfs. + +2011-04-01 Andreas Schwab + + * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to + open_by_handle_at. + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. + +2011-04-01 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH. + * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. + + * io/Makefile: Compile fallocate.c, fallocate64.c, and + sync_file_range.c with -fexceptions. + * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable. + * sysdeps/unix/sysv/linux/fallocate64.c: Likewise. + * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise. + * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise. + * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark + sync_file_range as cancellation point + * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is + now a wrapper around __call_sync_file_range with cancellation handling. + * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ... + * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change + function name to __call_sync_file_range. + * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines): + Add call_sync_file_range. + +2011-04-01 Andreas Schwab + + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add + bits/timex.h. + +2011-04-01 Ulrich Drepper + + * iconv/iconv.h: Fix typo in comment. + * io/fcntl.h: Likewise. + * libio/stdio.h: Likewise. + * posix/spawn.h: Likewise. + * posix/unistd.h: Likewise. + * stdlib/stdlib.h: Likewise. + * time/time.h: Likewise. + * wcsmbs/wchar.h: Likewise. + + * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at, + open_by_handle): Add. + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle + and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle. + Augment a few comments. + * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and + open_by_handle. + + * io/fcntl.h (AT_EMPTY_PATH): Define. + +2011-03-30 Ulrich Drepper + + * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime. + * sysdeps/unix/sysv/linux/bits/time.h: New file. + * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition + to... + * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file. + * Versions.def: Add GLIBC_2.14. + * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime): + Export. + +2011-03-22 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment + round counter. + * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise. + +2011-03-20 H.J. Lu + + [BZ #12597] + * string/test-strncmp.c (do_page_test): New function. + (check2): Likewise. + (test_main): Call check2. + * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary. + +2011-03-20 Ulrich Drepper + + [BZ #12587] + * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): + Handle cache information in CPU leaf 4. + * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise. + +2011-03-18 Ulrich Drepper + + [BZ #12583] + * posix/fnmatch.c (fnmatch): Check size of pattern in wide + character representation. + Partly based on a patch by Tomas Hoger . + +2011-03-16 Ryan S. Arnold + + * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix + END(__isnan) to END(__isnanf) to match function entry point/label + EALIGN(__isnanf,...). + +2011-03-10 Jakub Jelinek + + * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers. + +2011-03-10 Ulrich Drepper + + [BZ #12510] + * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects + copy from the symbol referenced in the relocation to initialize the + used variable. + Patch by Piotr Bury . + * elf/Makefile: Add rules to build and tst-unique3. + * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration. + * elf/tst-unique3.cc: New file. + * elf/tst-unique3.h: New file. + * elf/tst-unique3lib.cc: New file. + * elf/tst-unique3lib2.cc: New file. + + * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled. + +2011-03-10 Mike Frysinger + + * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add + $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main + to _start. + +2011-03-06 Ulrich Drepper + + * elf/dl-load.c (_dl_map_object): If we are looking for the first + to-be-loaded object along a path to loader is ld.so. + +2011-03-02 Harsha Jagasia + Ulrich Drepper + + * sysdeps/x86_64/memset.S: After aligning destination, code + branches to different locations depending on the value of + misalignment, when multiarch is enabled. Fix this. + +2011-03-02 Harsha Jagasia + + * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): + Set _x86_64_preferred_memory_instruction for AMD processsors. + * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): + Set bit_Prefer_SSE_for_memop for AMD processors. + +2011-03-04 Ulrich Drepper + + * libio/fmemopen.c (fmemopen): Optimize a bit. + +2011-03-03 Andreas Schwab + + * libio/fmemopen.c (fmemopen): Don't read past end of buffer. + +2011-03-03 Roland McGrath + + * setjmp/bits/setjmp2.h: Canonicalize comment formatting. + +2011-02-28 Aurelien Jarno + + * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call + __bzero_ultra1 instead of __memset_ultra1. + +2011-02-23 Andreas Schwab + Ulrich Drepper + + [BZ #12509] + * include/link.h (struct link_map): Add l_orig_initfini. + * elf/dl-load.c (_dl_map_object_from_fd): Free realname before + returning unsuccessfully. + * elf/dl-close.c (_dl_close_worker): If this is the last explicit + close of a file loaded at startup, restore the original l_initfini + list. + * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini + list, store the pointer. + * elf/Makefile ($(objpfx)noload-mem): New rule. + (noload-ENV): Define. + (tests): Add $(objpfx)noload-mem. + * elf/noload.c: Include . + (main): Call mtrace. Close all opened handles. + +2011-02-17 Andreas Schwab + + [BZ #12454] + * elf/dl-deps.c (_dl_map_object_deps): Signal error early when + dependencies are missing. + +2011-02-22 Samuel Thibault + + Fix __if_freereq crash: Unlike the generic version which uses free, + Hurd needs munmap. + * sysdeps/mach/hurd/ifreq.h: New file. + +2011-01-27 Petr Baudis + Ulrich Drepper + + [BZ 12445]# + * stdio-common/vfprintf.c (vfprintf): Pass correct newlen + to extend_alloca(). + * stdio-common/bug23.c: New file. + * stdio-common/Makefile (tests): Add bug23. + +2010-09-28 Andreas Schwab + Ulrich Drepper + + [BZ #12489] + * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs) + before performing relro protection. At old place add assertion + to make sure nothing changed. + +2011-02-17 Nathan Sidwell + Glauber de Oliveira Costa + + * elf/elf.h: Add new ARM TLS relocs. + +2011-02-16 Ryan S. Arnold + + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: + (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int) + cast from r3. + * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to + 'tests' variable. + * sysdeps/wordsize-64/tst-writev.c: New file. + +2011-02-15 Ryan S. Arnold + + * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds + -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and + insns in _dl_start to prevent a TOC reference before relocs are + resolved. + +2011-02-15 Ulrich Drepper + + [BZ #12469] + * Makeconfig: Remove RANLIB definition. + * Makerules: Don't use RANLIB. + * aclocal.m4: Remove ranlib test. + * configure.in: No need to check for ranlib. + * elf/rtld-Rules: Don't use RANLIB. + +2011-02-16 Samuel Thibault + + * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion + protection macro. + * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H + inclusion protection macro. + + * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against + SIGRTMIN and SIGRTMAX and print information in that case only when + SIGRTMIN is defined. + +2011-02-11 Jakub Jelinek + + * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle + arginfo fn returning -1. + + * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal + and thousands string is zero terminated. + +2011-02-03 Andreas Schwab + + * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with + sysdeps/unix/sysv/linux/bits/socket.h. + +2011-01-30 Samuel Thibault + + * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET) + (__CPU_COUNT): Remove old macros. + (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S) + (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE) + (__CPU_ALLOC, __CPU_FREE): Add macros. + (__sched_cpualloc, __sched_cpufree): Add declarations. + +2011-02-05 Ulrich Drepper + + * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE. + (struct datahead): Reuse 32 bits of the alignment for a TTL field. + * nscd/aicache.c (addhstaiX): Return timeout of added value. + (readdhstai): Return value of addhstaiX call. + * nscd/grpcache.c (cache_addgr): Return timeout of added value. + (addgrbyX): Return value returned by cache_addgr. + (readdgrbyname): Return value returned by addgrbyX. + (readdgrbygid): Likewise. + * nscd/pwdcache.c (cache_addpw): Return timeout of added value. + (addpwbyX): Return value returned by cache_addpw. + (readdpwbyname): Return value returned by addhstbyX. + (readdpwbyuid): Likewise. + * nscd/servicescache.c (cache_addserv): Return timeout of added value. + (addservbyX): Return value returned by cache_addserv. + (readdservbyname): Return value returned by addservbyX: + (readdservbyport): Likewise. + * nscd/hstcache.c (cache_addhst): Return timeout of added value. + (addhstbyX): Return value returned by cache_addhst. + (readdhstbyname): Return value returned by addhstbyX. + (readdhstbyaddr): Likewise. + (readdhstbynamev6): Likewise. + (readdhstbyaddrv6): Likewise. + * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value. + (readdinitgroups): Return value returned by addinitgroupsX. + * nscd/cache.c (readdfcts): Change return value of functions to time_t. + (prune_cache): Keep track of timeout value of re-added entries. + * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE. + * nscd/nscd.h: Adjust prototypes of readd* functions. + +2011-02-04 Roland McGrath + + * nis/nis_server.c (nis_servstate): Use the right name for 0. + (nis_stats): Likewise. + * nis/nis_modify.c (nis_modify): Likewise. + * nis/nis_remove.c (nis_remove): Likewise. + * nis/nis_add.c (nis_add): Likewise. + + * elf/dl-object.c (_dl_new_object): Remove unused variable L. + + * posix/fnmatch_loop.c: Add some consts. + + * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef. + +2011-02-02 H.J. Lu + + [BZ #12460] + * config.make.in (config-cflags-novzeroupper): Define. + * configure.in: Substitute libc_cv_cc_novzeroupper. + * elf/Makefile (AVX-CFLAGS): Define. + (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS). + (CFLAGS-tst-auditmod4a.c): Likewise. + (CFLAGS-tst-auditmod4b.c): Likewise. + (CFLAGS-tst-auditmod6b.c): Likewise. + (CFLAGS-tst-auditmod6c.c): Likewise. + (CFLAGS-tst-auditmod7b.c): Likewise. + * sysdeps/i386/configure.in: Check -mno-vzeroupper. + +2011-02-02 Ulrich Drepper + + * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the + function to the callback. + Patch partly by Jiri Olsa . + +2011-02-02 Andreas Schwab + + * shadow/sgetspent.c: Check return value of __sgetspent_r instead + of errno. + +2011-01-19 Ulrich Drepper + + [BZ #11724] + * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order + of constructors. + * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order + of destructors. + (_dl_fini): Don't call _dl_sort_fini if there is only one object. + + [BZ #11724] + * elf/Makefile: Add rules to build and run new test. + * elf/tst-initorder.c: New file. + * elf/tst-initorder.exp: New file. + * elf/tst-initordera1.c: New file. + * elf/tst-initordera2.c: New file. + * elf/tst-initordera3.c: New file. + * elf/tst-initordera4.c: New file. + * elf/tst-initorderb1.c: New file. + * elf/tst-initorderb2.c: New file. + * elf/tst-order-a1.c: New file. + * elf/tst-order-a2.c: New file. + * elf/tst-order-a3.c: New file. + * elf/tst-order-a4.c: New file. + * elf/tst-order-b1.c: New file. + * elf/tst-order-b2.c: New file. + * elf/tst-order-main.c: New file. + New test case by George Gensure . + +2010-10-01 Andreas Schwab + + * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of + decoding ACE if AI_CANONIDN. + +2011-01-18 Ulrich Drepper + + * elf/Makefile: Build IFUNC tests unless multi-arch = no. + +2011-01-17 Ulrich Drepper + + * version.h (RELEASE): Bump for 2.13 release. + * include/features.h: (__GLIBC_MINOR__): Bump to 13. + + * io/fcntl.h: Define AT_NO_AUTOMOUNT. + + * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and + MADV_NOHUGEPAGE. + * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise. + + * posix/getconf.c: Update copyright year. + * catgets/gencat.c: Likewise. + * csu/version.c: Likewise. + * debug/catchsegv.sh: Likewise. + * debug/xtrace.sh: Likewise. + * elf/ldconfig.c: Likewise. + * elf/ldd.bash.in: Likewise. + * elf/sprof.c (print_version): Likewise. + * iconv/iconv_prog.c: Likewise. + * iconv/iconvconfig.c: Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/localedef.c: Likewise. + * malloc/memusage.sh: Likewise. + * malloc/mtrace.pl: Likewise. + * nscd/nscd.c (print_version): Likewise. + * nss/getent.c: Likewise. + + * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG, + PF_CAIF, and PF_ALG. + * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise. + +2011-01-16 Andreas Schwab + + * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define. + (modules-names): Use them. + (ifunc-test-modules, ifunc-pie-tests): Define. + (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules, + tst-pie1, ifunc-test-modules and ifunc-pie-tests objects. + (test-extras): Likewise. + ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use + $(compile-command.c). + ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise. + (all-built-dso): Define. + (check-textrel.out, check-execstack.out): Depend on it. + + * configure.in: Don't override --enable-multi-arch. + +2011-01-15 Ulrich Drepper + + [BZ #6812] + * nscd/hstcache.c (tryagain): Define. + (cache_addhst): Return tryagain not notfound for temporary errors. + (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation + failed. + +2011-01-14 Ulrich Drepper + + [BZ #10563] + * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL + to make the syscall. + * sysdeps/unix/sysv/linux/setgroups.c: New file. + + [BZ #12378] + * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning + and fall back to matching as normal character if the string ends before + the matching ']' is found. This is what POSIX requires. + * posix/testfnm.c: Adjust test result. + * posix/globtest.sh: Adjust test result. Add new test. + * posix/tst-fnmatch.input: Likewise. + * posix/tst-fnmatch2.c: Add new test. + +2010-12-28 Andreas Schwab + + * elf/Makefile (check-execstack): Revert last change. Depend on + check-execstack.h. + (check-execstack.h): New target. + (generated): Add check-execstack.h. + * elf/check-execstack.c: Include "check-execstack.h". + (main): Revert last change. + (handle_file): Return zero if GNU_STACK is absent and + DEFAULT_STACK_PERMS doesn't include PF_X. + +2011-01-13 Ulrich Drepper + + * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action + in child fails because the descriptor is already closed. + * include/sys/resource.h: Add libc_hidden_proto for getrlimit64. + * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def. + * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise. + + [BZ #12397] + * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing + syscall. + + [BZ #10484] + * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of + temporary buffer used to handle multi lookups locally. + * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff. + +2011-01-12 Ulrich Drepper + + * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when + loader is ld.so. + +2011-01-10 Paul Pluzhnikov + + * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack + alignment for SSE2. + +2011-01-12 Ulrich Drepper + + [BZ #12394] + * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping + characters. When rounding increased number of integer digits recompute + number of groups. + * stdio-common/tst-grouping.c: New file. + * stdio-common/Makefile: Add rules to build and run tst-grouping. + +2011-01-09 Ulrich Drepper + + * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET, + __FD_CLR, and __FS_ISSET. gcc generates better code on its own. + + * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as + void. + * bits/select.h: Likewise. + +2011-01-08 Ulrich Drepper + + * po/ja.po: Update from translation team. + +2011-01-04 David S. Miller + + [BZ #11155] + * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's + implementation just like for lxstat, fxstatat, et al. + +2010-12-27 Jim Meyering + + [BZ #12348] + * posix/regexec.c (build_trtable): Return failure indication upon + calloc failure. Otherwise, re_search_internal could infloop on OOM. + +2010-12-25 Ulrich Drepper + + [BZ #12201] + * sysdeps/unix/sysv/linux/getrlimit64.c: New file. + * sysdeps/unix/sysv/linux/setrlimit64.c: New file. + * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c. + * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64. + + [BZ #12207] + * malloc/malloc.c (do_check_malloc_state): Use fastbin macro. + + [BZ #12204] + * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1. + * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise. + +2010-12-15 H.J. Lu + + * config.h.in (NO_CTORS_DTORS_SECTIONS): Define. + * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker + script has SORT_BY_INIT_PRIORITY. + * elf/sofini.c: Remove `.ctors' and `.dtors' sections if + NO_CTORS_DTORS_SECTIONS is defined. + * elf/soinit.c: Likewise. + * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if + NO_CTORS_DTORS_SECTIONS is defined. + * sysdeps/mach/hurd/i386/init-first.c: Likewise. + * sysdeps/mach/hurd/powerpc/init-first.c: Likewise. + * sysdeps/sh/init-first.c: Likewise. + * sysdeps/unix/sysv/linux/init-first.c: Likewise. + +2010-12-24 Ulrich Drepper + + * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed + always use the slow path. + +2010-12-15 Ryan S. Arnold + + * elf/Makefile: (check-execstack): Replace $(native-compile) with a + similar rule which adds the sysdep directories to the header search in + order to pick up the correct platform stackinfo.h. + * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and + perform test if it is, otherwise return successfully without testing. + * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from + DEFAULT_STACK_PERMS define in stackinfo.h. + * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS + defined in stackinfo.h. + * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from + DEFAULT_STACK_PERMS defined in stackinfo.h. + * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X. + * sysdeps/ia64/stackinfo.h: Likewise. + * sysdeps/s390/stackinfo.h: Likewise. + * sysdeps/sh/stackinfo.h: Likewise. + * sysdeps/sparc/stackinfo.h: Likewise. + * sysdeps/x86_64/stackinfo.h: Likewise. + * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without + PF_X for powerpc64. Retain PF_X for powerpc32. + +2010-12-19 Ulrich Drepper + + * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more + accurately. + * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define + GETDENTS_64BIT_ALIGNED. + +2010-12-14 Ulrich Drepper + + * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin. + +2010-12-10 Andreas Schwab + + * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under + _GNU_SOURCE. + + * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict. + * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset): + Remove __restrict. + (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy) + (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict. + +2010-12-09 Ulrich Drepper + + [BZ #11655] + * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize + are initialized. + +2010-12-09 Jakub Jelinek + + * string/bits/string3.h (memmove, bcopy): Remove __restrict. + +2010-12-03 Ulrich Drepper + + * po/it.po: Update from translation team. + +2010-12-01 H.J. Lu + + * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove + unused codes. + +2010-11-30 Ulrich Drepper + + * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations. + +2010-11-24 Andreas Schwab + + * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0 + specially. + (gaih_getanswer_slice): Likewise. + +2010-10-20 Jakub Jelinek + + * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm. + +2010-05-31 Petr Baudis + + [BZ #11149] + * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail + silently even in the chroot mode. + +2010-11-22 Ulrich Drepper + + * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize + last patch a bit. Pretty printing + +2010-05-31 Petr Baudis + + [BZ #10085] + * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix + initialization of skip_initgroups_dyn. + +2010-11-19 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB. + * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise. + +2010-11-16 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define. + +2010-11-11 Andreas Schwab + + * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca. + * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem. + (tst-fnmatch-ENV): Set MALLOC_TRACE. + ($(objpfx)tst-fnmatch-mem): New rule. + (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace. + * posix/tst-fnmatch.c (main): Call mtrace. + +2010-11-11 H.J. Lu + + * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): + Support Intel processor model 6 and model 0x2c. + +2010-11-10 Luis Machado + + * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force + signed comparison. + +2010-11-09 H.J. Lu + + [BZ #12205] + * string/test-strncasecmp.c (check_result): New function. + (do_one_test): Use it. + (check1): New function. + (test_main): Use it. + * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit): + Support strcasecmp and strncasecmp. + +2010-11-08 Ulrich Drepper + + [BZ #12194] + * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16. + * sysdeps/x86_64/bits/byteswap.h: Likewise. + +2010-11-07 H.J. Lu + + * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for + IFUNC support. + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add + memset-x86-64. + * sysdeps/x86_64/multiarch/bzero.S: New file. + * sysdeps/x86_64/multiarch/cacheinfo.c: New file. + * sysdeps/x86_64/multiarch/memset-x86-64.S: New file. + * sysdeps/x86_64/multiarch/memset.S: New file. + * sysdeps/x86_64/multiarch/memset_chk.S: New file. + * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): + Set bit_Prefer_SSE_for_memop for Intel processors. + * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop): + Define. + (index_Prefer_SSE_for_memop): Define. + (HAS_PREFER_SSE_FOR_MEMOP): Define. + +2010-11-04 Luis Machado + + * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file. + * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file. + +2010-11-03 H.J. Lu + + [BZ #12191] + * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New. + (__x86_64_raw_data_cache_size_half): Likewise. + (__x86_64_raw_shared_cache_size): Likewise. + (__x86_64_raw_shared_cache_size_half): Likewise. + + * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New. + (__x86_64_raw_data_cache_size_half): Likewise. + (__x86_64_raw_shared_cache_size): Likewise. + (__x86_64_raw_shared_cache_size_half): Likewise. + (init_cacheinfo): Set __x86_64_raw_data_cache_size, + __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size + and __x86_64_raw_shared_cache_size_half. Round + __x86_64_data_cache_size_half, __x86_64_data_cache_size + __x86_64_shared_cache_size_half and __x86_64_shared_cache_size, + to multiple of 256 bytes. + +2010-11-03 Ulrich Drepper + + [BZ #12167] + * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling + of inacessible symlinks. Verify result of symlink before returning it. + * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise. + Patch mostly by Miklos Szeredi . + +2010-10-28 Erich Ritz + + * math/math.h (isinf): Fix typo in comment. + +2010-11-01 Ulrich Drepper + + * po/da.po: Update from translation team. + +2010-10-26 Ulrich Drepper + + * elf/rtld.c (dl_main): Move assertion after the point where rtld map + is added to the list. + +2010-10-20 Andreas Krebbel + Ulrich Drepper + + * elf/dl-object.c (_dl_new_object): Don't append the new object to + the global list here. Move code to... + (_dl_add_to_namespace_list): ...here. New function. + * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list. + * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare. + * elf/dl-load.c (lose): Don't remove the element from the list. + (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list. + (_dl_map_object): Likewise. + +2010-10-25 Ulrich Drepper + + [BZ #12159] + * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte + into all bytes of SSE register. + Patch by Richard Li . + +2010-10-24 Ulrich Drepper + + [BZ #12140] + * malloc/malloc.c (_int_free): Fill correct number of bytes when + perturbing. + +2010-10-20 Michael B. Brutman + + * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform + * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform + * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file. + * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New + submachine. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise. + +2010-10-22 Andreas Schwab + + * include/dlfcn.h (__RTLD_SECURE): Define. + * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use + mode & __RTLD_SECURE instead. + (open_path): Rename preloaded parameter to secure. + * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration. + * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object. + * elf/dl-deps.c (openaux): Likewise. + * elf/rtld.c (struct map_args): Remove is_preloaded. + (map_doit): Don't use it. + (dl_main): Likewise. + (do_preload): Use __RTLD_SECURE instead of is_preloaded. + (dlmopen_doit): Add __RTLD_SECURE to mode bits. + +2010-09-09 Andreas Schwab + + * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%. + (sysd-rules-targets): Remove duplicates. + * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with + rtld-%.$o dependency. + +2010-10-18 Andreas Schwab + + * elf/dl-open.c (dl_open_worker): Don't expand DST here, let + _dl_map_object do it. + +2010-10-19 Ulrich Drepper + + * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has + fast fma builtins, define the macros in the C99 standard. + (FP_FAST_FMAF): Likewise. + (FP_FAST_FMAL): Likewise. + * sysdeps/x86_64/bits/mathdef.h: Likewise. + + * bits/mathdef.h: Update copyright year. + * sysdeps/powerpc/bits/mathdef.h: Likewise. + +2010-10-19 Michael Meissner + + * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma + builtins, define the macros in the C99 standard. + (FP_FAST_FMAF): Likewise. + (FP_FAST_FMAL): Likewise. + * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as + multiply/add. + (FP_FAST_FMAF): Likewise. + +2010-10-15 Jakub Jelinek + + [BZ #3268] + * math/libm-test.inc (fma_test): Some new testcases. + * sysdeps/ieee754/ldbl-128/s_fmal.c: New file. + * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and + y and infinite z. Do multiplication by C already in long double. + * sysdeps/ieee754/ldbl-96/s_fmal.c: New file. + * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and + y and infinite z. Do bitwise or of inexact bit into u.d. + * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file. + * sysdeps/i386/fpu/s_fmaf.S: Removed. + * sysdeps/i386/fpu/s_fma.S: Removed. + * sysdeps/i386/fpu/s_fmal.S: Removed. + +2010-10-16 Jakub Jelinek + + [BZ #3268] + * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests. + * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d + computation is not scheduled after fetestexcept. Fix value + of minimum denormal long double. + +2010-10-14 Jakub Jelinek + + [BZ #3268] + * math/libm-test.inc (fma_test): Add some more tests. + * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows + correctly. + +2010-10-15 Andreas Schwab + + * scripts/data/localplt-s390-linux-gnu.data: New file. + * scripts/data/localplt-s390x-linux-gnu.data: New file. + +2010-10-13 Jakub Jelinek + + [BZ #3268] + * math/libm-test.inc (fma_test): Some more fmaf and fma tests. + * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version + instead of dbl-64. + * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove + inlines. + * sysdeps/ieee754/ldbl-96/s_fma.c: New file. + * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment + if one of x and y is very large and the other is subnormal. + * sysdeps/s390/fpu/s_fmaf.c: New file. + * sysdeps/s390/fpu/s_fma.c: New file. + * sysdeps/powerpc/fpu/s_fmaf.S: New file. + * sysdeps/powerpc/fpu/s_fma.S: New file. + * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file. + * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file. + +2010-10-12 Jakub Jelinek + + [BZ #3268] + * math/libm-test.inc (fma_test): Add some more fmaf tests, add + fma tests. + * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check. + * sysdeps/ieee754/dbl-64/s_fma.c: New file. + * sysdeps/i386/i686/multiarch/s_fma.c: Include + sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c. + * sysdeps/x86_64/multiarch/s_fma.c: Likewise. + * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_fma.c: New file. + +2010-10-12 Ulrich Drepper + + [BZ #12078] + * posix/regcomp.c (parse_branch): One more memory leak plugged. + * posix/bug-regex31.input: Add test case. + +2010-10-11 Ulrich Drepper + + * posix/bug-regex31.c: Rewrite to run multiple tests from stdin. + * posix/bug-regex31.input: New file. + + [BZ #12078] + * posix/regcomp.c (parse_branch): Free memory when allocation failed. + (parse_sub_exp): Fix last change, use postorder. + + * posix/bug-regex31.c: New file. + * posix/Makefile: Add rules to build and run bug-regex31. + + * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls. + + [BZ #12078] + * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used. + + [BZ #12108] + * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX + to have entries in sys_siglist. + + [BZ #12093] + * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might + be NULL. + +2010-10-07 Jakub Jelinek + + [BZ #3268] + * math/libm-test.inc (fma_test): Add 2 fmaf tests. + * sysdeps/ieee754/dbl-64/s_fmaf.c: New file. + * sysdeps/i386/i686/multiarch/s_fmaf.c: Include + sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c. + * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise. + * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto. + * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver. + * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise. + * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise. + * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise. + * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise. + * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def. + * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise. + * math/ftestexcept.c (fetestexcept): Likewise. + * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise. + * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise. + * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise. + * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise. + * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise. + * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise. + * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise. + +2010-10-11 Ulrich Drepper + + [BZ #12107] + * stdio-common/psiginfo.c (psiginfo): Terminate all strings with + newline. + +2010-10-06 Ulrich Drepper + + * string/bug-strstr1.c: New file. + * string/Makefile: Add rules to build and run bug-strstr1. + +2010-10-05 Eric Blake + + [BZ #12092] + * string/str-two-way.h (two_way_long_needle): Always clear memory + when skipping input due to the shift table. + +2010-10-03 Ulrich Drepper + + [BZ #12005] + * malloc/mcheck.c: Handle large requests. + + [BZ #12077] + * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer + for strncmp and strncasecmp. + * string/stratcliff.c: Add tests for strcmp and strncmp. + * wcsmbs/wcsatcliff.c: Adjust for stratcliff change. + +2010-09-28 Nobuhiro Iwamatsu + + * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to + __set_fpscr. + +2010-09-30 Andreas Jaeger + + * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define. + (CGROUP_SUPER_MAGIC): Define. + * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags): + Handle btrfs and cgroup file systems. + * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max): + Likewise. + +2010-09-27 Luis Machado + + * sysdeps/powerpc/powerpc32/rtld-memset.c: New file. + * sysdeps/powerpc/powerpc64/rtld-memset.c: New file. + +2010-09-29 Andreas Krebbel + + [BZ #12067] + * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when + trying to locate the ELF header. + +2010-09-27 Andreas Schwab + + [BZ #11611] + * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): + Mask out sign-bit copies when constructing f_fsid. + +2010-09-24 Petr Baudis + + * debug/stack_chk_fail_local.c: Add missing licence exception. + * debug/warning-nop.c: Likewise. + +2010-09-15 Joseph Myers + + * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When + implementing getdents64 using getdents syscall, set d_type if + __ASSUME_GETDENTS32_D_TYPE. + +2010-09-16 Andreas Schwab + + * elf/dl-close.c (free_slotinfo, free_mem): Move to... + * elf/dl-libc.c (free_slotinfo, free_mem): ... here. + +2010-09-21 Ulrich Drepper + + [BZ #12037] + * posix/unistd.h: Undo change of feature selection for ftruncate from + 2010-01-11. + +2010-09-20 Ulrich Drepper + + * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit + detection. + +2010-09-20 Andreas Schwab + + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add + fanotify_mark. + * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise. + +2010-09-14 Andreas Schwab + + * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register + variables after CHECK_SP call. + * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise. + +2010-09-13 Andreas Schwab + Ulrich Drepper + + * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before + re-relocationg ld.so. + * elf/dl-support.c (_dl_non_dynamic_init): And here after the + _dl_init_paths call. + * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs) + here anymore. + +2010-09-14 Ulrich Drepper + + * resolv/res_init.c (__res_vinit): Count the default server we added. + +2010-09-08 Chung-Lin Tang + Ulrich Drepper + + [BZ #11968] + * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S + (____longjmp_chk): Use %ebx for saving value across system call. + Add unwind info. + +2010-09-06 Andreas Schwab + + * manual/Makefile: Don't mix pattern rules with normal rules. + +2010-09-05 Andreas Schwab + + * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined + operation. + * libio/iofdopen.c (_IO_new_fdopen): Likewise. + * libio/iofopncook.c (_IO_cookie_init): Likewise. + * libio/iovdprintf.c (_IO_vdprintf): Likewise. + * libio/oldiofdopen.c (_IO_old_fdopen): Likewise. + * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): + Likewise. + +2010-09-04 Ulrich Drepper + + [BZ #11979] + * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from + IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939. + +2010-09-02 Ulrich Drepper + + * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1. + * sysdeps/x86_64/addmul_1.S: Likewise. + * sysdeps/x86_64/lshift.S: Likewise. + * sysdeps/x86_64/mul_1.S: Likewise. + * sysdeps/x86_64/rshift.S: Likewise. + * sysdeps/x86_64/sub_n.S: Likewise. + * sysdeps/x86_64/submul_1.S: Likewise. + +2010-09-01 Samuel Thibault + + This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h: + Define __sched_param instead of SCHED_* and sched_param when + is included with __need_schedparam defined. + * bits/sched.h [__need_schedparam] + (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define. + [!__defined_schedparam && (__need_schedparam || _SCHED_H)] + (__defined_schedparam): Define to 1. + (__sched_param): New structure, identical to sched_param. + (__need_schedparam): Undefine. + +2010-08-31 Mike Frysinger + + * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete. + (epoll_create1): Declare. + + * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo. + +2010-08-31 Andreas Schwab + + [BZ #7066] + * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when + shifting retval into place. + +2010-09-01 Ulrich Drepper + + * nis/rpcsvc/nis.h: Update copyright notice. + * nis/rpcsvc/nis.x: Likewise. + * nis/rpcsvc/nis_callback.h: Likewise. + * nis/rpcsvc/nis_callback.x: Likewise. + * nis/rpcsvc/nis_object.x: Likewise. + * nis/rpcsvc/nis_tags.h: Likewise. + * nis/rpcsvc/yp.h: Likewise. + * nis/rpcsvc/yp.x: Likewise. + * nis/rpcsvc/ypupd.h: Likewise. + * nis/yp_xdr.c: Likewise. + * nis/ypupdate_xdr.c: Likewise. + + * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is + mainly the body of pmap_getport. Add parameters to specify timeouts. + (pmap_getport): Use __libc_rpc_getport. + * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE. + * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport. + * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport. + +2010-08-31 Andreas Schwab + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add + fanotify_mark. + +2010-08-27 Roland McGrath + + * sysdeps/i386/i686/multiarch/Makefile + (CFLAGS-varshift.c): New variable. + +2010-08-27 Ulrich Drepper + + * sysdeps/i386/i686/multiarch/varshift.S: File removed. + * sysdeps/i386/i686/multiarch/varshift.c: New file. + + * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section. + + * sysdeps/x86_64/strlen.S: Minimal code improvement. + +2010-08-26 H.J. Lu + + * sysdeps/x86_64/strlen.S: Unroll the loop. + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add + strlen-sse2 strlen-sse2-bsf. + * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return + __strlen_no_bsf if bit_Slow_BSF is set. + (__strlen_sse42): Removed. + * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file. + * sysdeps/x86_64/multiarch/strlen-sse4.S: New file. + +2010-08-25 Roland McGrath + + * sysdeps/x86_64/multiarch/varshift.S: File removed. + * sysdeps/x86_64/multiarch/varshift.c: New file. + * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable. + * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast. + * sysdeps/x86_64/multiarch/memmove.c: Move decls around. + * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise. + +2010-08-25 H.J. Lu + + * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add + strlen-sse2 strlen-sse2-bsf. + * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return + __strlen_sse2_bsf if bit_Slow_BSF is unset. + (__strlen_sse2): Removed. + * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file. + * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file. + * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set + bit_Slow_BSF for Atom. + * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define. + (index_Slow_BSF): Define. + (HAS_SLOW_BSF): Define. + +2010-08-25 Ulrich Drepper + + [BZ #10851] + * resolv/res_init.c (__res_vinit): When no server address at all + is given default to loopback. + +2010-08-24 Roland McGrath + + * configure.in: Remove config-name.h generation. + * configure: Regenerated. + * config-name.in: File removed. + * scripts/config-uname.sh: New file. + * posix/Makefile (uname.c): Depend on $(objdir)config-name.h. + ($(objdir)config-name.h): New target. + + * sunrpc/rpc_parse.h: Avoid nested comment. + +2010-08-24 Richard Henderson + Ulrich Drepper + H.J. Lu + + * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift. + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise. + * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h". + Replace _mm_srli_si128 with __m128i_shift_right. Replace + _mm_alignr_epi8 with _mm_loadu_si128. + * sysdeps/x86_64/multiarch/strspn-c.c: Likewise. + * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h". + (__m128i_shift_right): Removed. + * sysdeps/i386/i686/multiarch/varshift.h: New file. + * sysdeps/i386/i686/multiarch/varshift.S: New file. + * sysdeps/x86_64/multiarch/varshift.h: New file. + * sysdeps/x86_64/multiarch/varshift.S: New file. + +2010-08-21 Mike Frysinger + + * configure.in: Move assembler checks to before sysdep dir checking. + +2010-08-20 Petr Baudis + + * LICENSES: Sync the sunrpc license. + +2010-08-19 Ulrich Drepper + + * sunrpc/auth_des.c: Update copyright notice once again. + * sunrpc/auth_none.c: Likewise. + * sunrpc/auth_unix.c: Likewise. + * sunrpc/authdes_prot.c: Likewise. + * sunrpc/authuxprot.c: Likewise. + * sunrpc/bindrsvprt.c: Likewise. + * sunrpc/clnt_gen.c: Likewise. + * sunrpc/clnt_perr.c: Likewise. + * sunrpc/clnt_raw.c: Likewise. + * sunrpc/clnt_simp.c: Likewise. + * sunrpc/clnt_tcp.c: Likewise. + * sunrpc/clnt_udp.c: Likewise. + * sunrpc/clnt_unix.c: Likewise. + * sunrpc/des_crypt.c: Likewise. + * sunrpc/des_soft.c: Likewise. + * sunrpc/get_myaddr.c: Likewise. + * sunrpc/getrpcport.c: Likewise. + * sunrpc/key_call.c: Likewise. + * sunrpc/key_prot.c: Likewise. + * sunrpc/openchild.c: Likewise. + * sunrpc/pm_getmaps.c: Likewise. + * sunrpc/pm_getport.c: Likewise. + * sunrpc/pmap_clnt.c: Likewise. + * sunrpc/pmap_prot.c: Likewise. + * sunrpc/pmap_prot2.c: Likewise. + * sunrpc/pmap_rmt.c: Likewise. + * sunrpc/rpc/auth.h: Likewise. + * sunrpc/rpc/auth_unix.h: Likewise. + * sunrpc/rpc/clnt.h: Likewise. + * sunrpc/rpc/des_crypt.h: Likewise. + * sunrpc/rpc/key_prot.h: Likewise. + * sunrpc/rpc/netdb.h: Likewise. + * sunrpc/rpc/pmap_clnt.h: Likewise. + * sunrpc/rpc/pmap_prot.h: Likewise. + * sunrpc/rpc/pmap_rmt.h: Likewise. + * sunrpc/rpc/rpc.h: Likewise. + * sunrpc/rpc/rpc_des.h: Likewise. + * sunrpc/rpc/rpc_msg.h: Likewise. + * sunrpc/rpc/svc.h: Likewise. + * sunrpc/rpc/svc_auth.h: Likewise. + * sunrpc/rpc/types.h: Likewise. + * sunrpc/rpc/xdr.h: Likewise. + * sunrpc/rpc_clntout.c: Likewise. + * sunrpc/rpc_cmsg.c: Likewise. + * sunrpc/rpc_common.c: Likewise. + * sunrpc/rpc_cout.c: Likewise. + * sunrpc/rpc_dtable.c: Likewise. + * sunrpc/rpc_hout.c: Likewise. + * sunrpc/rpc_main.c: Likewise. + * sunrpc/rpc_parse.c: Likewise. + * sunrpc/rpc_parse.h: Likewise. + * sunrpc/rpc_prot.c: Likewise. + * sunrpc/rpc_sample.c: Likewise. + * sunrpc/rpc_scan.c: Likewise. + * sunrpc/rpc_scan.h: Likewise. + * sunrpc/rpc_svcout.c: Likewise. + * sunrpc/rpc_tblout.c: Likewise. + * sunrpc/rpc_util.c: Likewise. + * sunrpc/rpc_util.h: Likewise. + * sunrpc/rpcinfo.c: Likewise. + * sunrpc/rpcsvc/bootparam_prot.x: Likewise. + * sunrpc/rpcsvc/key_prot.x: Likewise. + * sunrpc/rpcsvc/klm_prot.x: Likewise. + * sunrpc/rpcsvc/mount.x: Likewise. + * sunrpc/rpcsvc/nfs_prot.x: Likewise. + * sunrpc/rpcsvc/nlm_prot.x: Likewise. + * sunrpc/rpcsvc/rex.x: Likewise. + * sunrpc/rpcsvc/rstat.x: Likewise. + * sunrpc/rpcsvc/rusers.x: Likewise. + * sunrpc/rpcsvc/sm_inter.x: Likewise. + * sunrpc/rpcsvc/spray.x: Likewise. + * sunrpc/rpcsvc/yppasswd.x: Likewise. + * sunrpc/rtime.c: Likewise. + * sunrpc/svc.c: Likewise. + * sunrpc/svc_auth.c: Likewise. + * sunrpc/svc_authux.c: Likewise. + * sunrpc/svc_raw.c: Likewise. + * sunrpc/svc_run.c: Likewise. + * sunrpc/svc_simple.c: Likewise. + * sunrpc/svc_tcp.c: Likewise. + * sunrpc/svc_udp.c: Likewise. + * sunrpc/svc_unix.c: Likewise. + * sunrpc/svcauth_des.c: Likewise. + * sunrpc/xcrypt.c: Likewise. + * sunrpc/xdr.c: Likewise. + * sunrpc/xdr_array.c: Likewise. + * sunrpc/xdr_float.c: Likewise. + * sunrpc/xdr_mem.c: Likewise. + * sunrpc/xdr_rec.c: Likewise. + * sunrpc/xdr_ref.c: Likewise. + * sunrpc/xdr_sizeof.c: Likewise. + * sunrpc/xdr_stdio.c: Likewise. + + * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp + handling. + +2010-08-19 Andreas Schwab + + * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check. + +2010-08-19 Luis Machado + + * sysdeps/powerpc/powerpc32/power7/memchr.S: New file. + * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file. + * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file. + * sysdeps/powerpc/powerpc32/power7/strchr.S: New file. + * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file. + * sysdeps/powerpc/powerpc32/power7/strlen.S: New file. + * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file. + * sysdeps/powerpc/powerpc64/power7/memchr.S: New file. + * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file. + * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file. + * sysdeps/powerpc/powerpc64/power7/strchr.S: New file. + * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file. + * sysdeps/powerpc/powerpc64/power7/strlen.S: New file. + * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file. + +2010-07-26 Anton Blanchard + + * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask. + * malloc/arena.c (heap_trim): Likewise. + +2010-08-16 Ulrich Drepper + + * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init + here. Not... + * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here... + * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere. + +2010-08-12 H.J. Lu + + * sysdeps/i386/elf/Makefile: New file. + +2010-08-14 Andreas Schwab + + * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument + from fanotify_init. + * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. + +2010-08-15 Ulrich Drepper + + * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter + of strncasecmp_l. + * sysdeps/multiarch/strcmp.S: Likewise. + +2010-08-14 Ulrich Drepper + + * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add + strncase_l-nonascii. + * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines): + Add strncase_l-ssse3. + * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp. + * sysdeps/x86_64/strcmp.S: Likewise. + * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file. + * sysdeps/x86_64/multiarch/strncase_l.S: New file. + * sysdeps/x86_64/strncase.S: New file. + * sysdeps/x86_64/strncase_l-nonascii.c: New file. + * sysdeps/x86_64/strncase_l.S: New file. + * string/Makefile (strop-tests): Add strncasecmp. + * string/test-strncasecmp.c: New file. + + * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid + warning. + + * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to... + * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here. + +2010-08-14 Andreas Schwab + + * sysdeps/unix/sysv/linux/prlimit.c: Make it compile. + +2010-08-12 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC. + * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise. + +2010-05-01 Alan Modra + + * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24. + * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents.. + * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too.. + * sysdeps/powerpc/powerpc64/setjmp.S: ..to here.. + * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some + tidying. Don't tail-call __sigjmp_save for static lib. + * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct + save location. + (CFI_SAVE_ARG, CFI_REST_ARG): New macros. + (CALL_MCOUNT): Add eh info, and nop after bl. + (TAIL_CALL_SYSCALL_ERROR): New macro. + (PSEUDO_RET): Use it. + * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve): + Correct save location of integer regs and cr. + (_dl_profile_resolve): Correct cr save location. Delete nops + after bl when SHARED. Reduce cfi size a little by better + placement of cfi directives. + * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't + make a stack frame. Instead use parm save area as a temp. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't + make a stack frame. Use TAIL_CALL_SYSCALL_ERROR. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone): + Don't make a stack frame for parent, use parm save area. + Increase child stack frame to 112 bytes. Don't save unused reg, + and adjust reg usage. Set up cfi on error recovery and + epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S + (__makecontext): Add dummy nop after jump to exit. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket): + Use correct parm save area and cr save, reduce stack frame. + Correct cfi for possible PSEUDO_RET frame setup. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork): + Branch to local label emitted by PSEUDO_RET rather than + __syscall_error. + +2010-08-12 Andreas Schwab + + [BZ #11904] + * locale/programs/locale.c (print_assignment): New function. + (show_locale_vars): Use it. + +2010-08-11 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags + field. + (struct statfs64): Likewise. + (_STATFS_F_FLAGS): Define. + * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise. + * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags): + Don't define if __ASSUME_STATFS_F_FLAGS is defined. + (ST_VALID): Define locally. + (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call + __statvfs_getflags, use the provided value. + * sysdeps/unix/sysv/linux/kernel-features.h: Define + __ASSUME_STATFS_F_FLAGS. + + * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define. + + * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers): + Add sys/fanotify.h. + * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and + fanotify_mask for GLIBC_2.13. + * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for + fanotify_init and fanotify_mark. + * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/sys/fanotify.h: New file. + + * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines): + Add prlimit. + * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and + prlimit64 for GLIBC_2.13. + * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and + prlimit64. + * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64 + syscall. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also + add prlimit alias. + * sysdeps/unix/sysv/linux/prlimit.c: New file. + + [BZ #11903] + * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition. + Patch by Evgeni Bikov . + + * nss/Makefile: Add rules to build and run tst-nss-test1. + * shlib-versions: Add entry for libnss_test1. + * nss/nss_test1.c: New file. + * nss/tst-nss-test1.c: New file. + + * nss/nsswitch.c (__nss_database_custom): Define new variable. + (__nss_configure_lookup): Set appropriate entry in + __nss_configure_lookup to true. + * nss/nsswitch.h: Define enum with indeces of databases in + databases and __nss_database_custom arrays. Declare + __nss_database_custom. + * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom + to avoid using nscd when custom rules are installed. + * nss/getXXbyYY_r.c: Likewise. + * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise. + + * nss/nss_files/files-parse.c: Whitespace fixes. + +2010-08-09 Ulrich Drepper + + [BZ #11883] + * posix/fnmatch.c: Keep track of alloca use and fall back on malloc. + * posix/fnmatch_loop.c: Likewise. + +2010-07-17 Andi Kleen + + * sysdeps/i386/i386-mcount.S (__fentry__): Define. + * sysdeps/x86_64/_mcount.S (__fentry__): Define. + * stdlib/Versions (__fentry__): Add for GLIBC 2.13 + * Versions.def [GLIBC_2.13]: Add. + +2010-08-06 Ulrich Drepper + + * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): + Also fail if tpwd after pwuid call is NULL. + +2010-07-31 Samuel Thibault + + * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down + when converting to ms. + +2010-06-06 Samuel Thibault + + * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and + EOPNOTSUPP errors with ENOTTY. + * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and + EOPNOTSUPP errors with ENOTTY. + +2010-07-31 Ulrich Drepper + + * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines): + Add strcasecmp_l-ssse3. + * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for + strcasecmp. + * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp. + * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file. + * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file. + +2010-07-30 Ulrich Drepper + + * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing. + + * string/Makefile (strop-tests): Add strcasecmp. + * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add + strcasecmp_l-nonascii. + (gen-as-const-headers): Add locale-defines.sym. + * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation. + * sysdeps/x86_64/strcasecmp.S: New file. + * sysdeps/x86_64/strcasecmp_l.S: New file. + * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file. + * sysdeps/x86_64/locale-defines.sym: New file. + * string/test-strcasecmp.c: New file. + + * string/test-strcasestr.c: Test both ends of the range of characters. + * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition. + +2010-07-29 Roland McGrath + + [BZ #11856] + * manual/locale.texi (Yes-or-No Questions): Fix example code. + +2010-07-27 Ulrich Drepper + + * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file + for ld.so. + +2010-07-27 Andreas Schwab + + * manual/memory.texi (Malloc Tunable Parameters): Document + M_PERTURB. + +2010-07-26 Roland McGrath + + [BZ #11840] + * configure.in (-fgnu89-inline check): Set and substitute + gnu89_inline, not libc_cv_gnu89_inline. + * configure: Regenerated. + * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@. + +2010-07-26 Ulrich Drepper + + * string/test-strnlen.c: New file. + * string/Makefile (strop-tests): Add strnlen. + * string/tester.c (test_strnlen): Add a few more test cases. + * string/tst-strlen.c: Better error reporting. + + * sysdeps/x86_64/strnlen.S: New file. + +2010-07-24 Ulrich Drepper + + * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use + lower-latency instructions. + +2010-07-23 Ulrich Drepper + + * string/test-strcasestr.c: New file. + * string/test-strstr.c: New file. + * string/Makefile (strop-tests): Add strstr and strcasestr. + * string/str-two-way.h: Don't undefine MAX. + * string/strcasestr.c: Don't define alias if NO_ALIAS is defined. + +2010-07-21 Andreas Schwab + + * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add + strcasestr-nonascii. + (CFLAGS-strcasestr-nonascii.c): Define. + * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file. + * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42): + Remove unused attribute. + +2010-07-20 Roland McGrath + + * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to + dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in + ld.so.cache was broken. With it, there is no way to disable dsocaps + like LD_HWCAP_MASK can disable hwcaps. + +2010-06-02 Emilio Pozuelo Monfort + + * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks. + +2010-07-16 Ulrich Drepper + + * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function + call in strcasestr. + * sysdeps/x86_64/multiarch/strcasestr.c: Declare + __strcasestr_sse42_nonascii. + * sysdeps/x86_64/multiarch/Makefile: Add rules to build + strcasestr-nonascii.c. + * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file. + +2010-06-15 Luis Machado + + * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file. + * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file. + * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file. + * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file. + +2010-07-09 Ulrich Drepper + + * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not + fcntl. + +2010-07-06 Andreas Schwab + + [BZ #11577] + * elf/dl-version.c (match_symbol): Don't pass NULL occation to + dl_signal_cerror. + +2010-07-06 Ulrich Drepper + + * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement + _PC_PIPE_BUF using F_GETPIPE_SZ. + +2010-07-05 Roland McGrath + + * manual/arith.texi (Rounding Functions): Fix rint description + implicit in round description. + +2010-07-02 Ulrich Drepper + + * elf/Makefile: Fix linking for a few tests to make recent linker + happy. + +2010-06-30 Andreas Schwab + + * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd + $(common-objpfx)libc_nonshared.a. + +2010-06-21 Luis Machado + + * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove. + * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove. + * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove. + * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove. + * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove. + * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove. + * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove. + * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove. + * sysdeps/powerpc/powerpc32/970/Implies: Point to power4. + * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4. + * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5. + * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+. + * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6. + * sysdeps/powerpc/powerpc64/970/Implies: Point to power4. + * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4. + * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5. + * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+. + * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6. + * sysdeps/powerpc/powerpc32/power7/Implies: New file. + * sysdeps/powerpc/powerpc64/power7/Implies: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file. + +2010-06-25 H.J. Lu + + * debug/memmove_chk.c (__memmove_chk): Renamed to ... + (MEMMOVE_CHK): ...this. Default to __memmove_chk. + * string/memmove.c (memmove): Renamed to ... + (MEMMOVE): ...this. Default to memmove. + * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK. + * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define. + (END_CHK): Define. + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add + memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back + mempcpy-ssse3-back memmove-ssse3-back. + * sysdeps/x86_64/multiarch/bcopy.S: New file . + * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file. + * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file. + * sysdeps/x86_64/multiarch/memcpy.S: New file. + * sysdeps/x86_64/multiarch/memcpy_chk.S: New file. + * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file. + * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file. + * sysdeps/x86_64/multiarch/memmove.c: New file. + * sysdeps/x86_64/multiarch/memmove_chk.c: New file. + * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file. + * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file. + * sysdeps/x86_64/multiarch/mempcpy.S: New file. + * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file. + * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward): + Define. + (index_Fast_Copy_Backward): Define. + (HAS_ARCH_FEATURE): Define. + (HAS_FAST_REP_STRING): Define. + (HAS_FAST_COPY_BACKWARD): Define. + +2010-06-21 Andreas Schwab + + * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): + Restore proper fallback handling. + +2010-06-19 Ulrich Drepper + + [BZ #11701] + * posix/group_member.c (__group_member): Correct checking loop. + + * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle + OOM in getpwuid_r correctly. Return error number when the caller + should return, otherwise -1. + (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid + call returning > 0 value. + * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise. + +2010-06-07 Andreas Schwab + + * dlfcn/Makefile: Remove explicit dependencies on libc.so and + libc_nonshared.a from targets in modules-names. + +2010-06-02 Kirill A. Shutemov + + * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch + requires it. + +2010-06-10 Luis Machado + + * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file + * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file. + * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file. + * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file. + +2010-06-02 Andreas Schwab + + * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer. + +2010-06-14 Ulrich Drepper + + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ + and F_GETPIPE_SZ. + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. + +2010-06-14 Roland McGrath + + * manual/libc.texinfo (@copying): Change to GFDL v1.3. + +2010-06-07 Jakub Jelinek + + * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of + __REDIRECT followed by __THROW. + * wcsmbs/wchar.h (swscanf, vswscanf): Likewise. + * posix/getopt.h (getopt): Likewise. + +2010-06-02 Emilio Pozuelo Monfort + + * hurd/lookup-at.c (__file_name_lookup_at): Accept + AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both + AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present + in AT_FLAGS. + * hurd/hurd/fd.h (__file_name_lookup_at): Update comment. + * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS. + +2010-05-28 Luis Machado + + * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi. + +2010-05-26 H.J. Lu + + [BZ #11640] + * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): + Properly check family and model. + +2010-05-26 Takashi Yoshii + + * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size. + +2010-05-24 Luis Machado + + * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix. + +2010-05-21 Ulrich Drepper + + * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak + symbol reference. + +2010-05-19 Andreas Schwab + + * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak + symbol reference. + +2010-05-21 Andreas Schwab + + * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg + and internal_recvmmsg. + * sysdeps/unix/sysv/linux/recvmmsg.c: New file. + * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file. + * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define. + * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove. + + * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break. + * sunrpc/clnt_udp.c (clntudp_control): Likewise. + * sunrpc/clnt_unix.c (clntunix_control): Likewise. + +2010-05-20 Andreas Schwab + + * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH. + +2010-05-17 Luis Machado + + POWER7 optimizations. + * sysdeps/powerpc/powerpc64/power7/memset.S: New file. + * sysdeps/powerpc/powerpc32/power7/memset.S: New file. + +2010-05-19 Ulrich Drepper + + * version.h: Update for 2.13 development version. + +2010-05-12 Andrew Stubbs + + * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all + exceptions. Return 0. + +2010-05-07 Roland McGrath + + * elf/ldconfig.c (main): Add a const. + +2010-05-06 Ulrich Drepper + + * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN. + (args_options): Add no-idn option. + (ahosts_keys_int): Add idn_flags to ai_flags. + (parse_option): Handle 'i' option to clear idn_flags. + + * malloc/malloc.c (_int_free): Possible race in the most recently + added check. Only act on the data if no current modification + happened. + +See ChangeLog.17 for earlier changes. diff --git a/ChangeLog.10 b/ChangeLog.10 index 6736bcc1fa..11b6cd2f52 100644 --- a/ChangeLog.10 +++ b/ChangeLog.10 @@ -1,13265 +1,6677 @@ -2000-02-28 Ulrich Drepper +1999-02-05 Andreas Jaeger - * sysdeps/powerpc/fprsave.S: New file. - * sysdeps/powerpc/fprrest.S: New file. - * sysdeps/powerpc/Makefile [$(subdir)=misc] (sysdep_routines): - Add fprsave and fprrest. + * nscd/hstcache.c (addhstbyaddr): Use INET_ADDRSTRLEN for buffer. + (addhstbyaddr6): Use INET6_ADDRSTRLEN for buffer. + (addhstbynamev6): Correct debug output. - * sysdeps/powerpc/gprrest0.S: Use ASM_GLOBAL_DIRECTIVE instead of - .globl. - * sysdeps/powerpc/gprsave0.S: Likewise. - * sysdeps/powerpc/gprrest1.S: Likewise. - * sysdeps/powerpc/gprsave1.S: Likewise. + * nscd/connections.c: Include for inet_ntop. + (handle_request): Correctly print gethostbyaddr* debug messages. - * sysdeps/powerpc/fpu/s_copysign.S: Use L() instead of local labels. - * sysdeps/powerpc/submul_1.S: Likewise. - * sysdeps/powerpc/sub_n.S: Likewise. - * sysdeps/powerpc/strcpy.S: Likewise. - * sysdeps/powerpc/strcmp.S: Likewise. - * sysdeps/powerpc/stpcpy.S: Likewise. - * sysdeps/powerpc/rshift.S: Likewise. - * sysdeps/powerpc/mul_1.S: Likewise. - * sysdeps/powerpc/memset.S: Likewise. - * sysdeps/powerpc/lshift.S: Likewise. - * sysdeps/powerpc/addmul_1.S: Likewise. - * sysdeps/powerpc/add_n.S: Likewise. +1999-02-04 Ulrich Drepper - * sysdeps/unix/start.c: Initialize __errno and add comment - explaining why. Remove K&R compatibility. + * stdlib/strtoll.c: Add alias __strtoq_internal. + * stdlib/strtoull.c: Add alias __strtouq_internal. - * sysdeps/powerpc/fpu/s_isnan.c: Avoid using asm statement to - declare aliases. + * wcsmbs/mbrtowc.c: Correct logic testing for converted NUL + character. Patch by Owen Taylor . - * sysdeps/powerpc/Makefile: Always pass flags to compile for ppc - and not rs6000. - [$(subdir)=misc] (sysdep_routines): Add gprsave0, gprrest0, - gprsave1 , and gprrest1. - Don't pass special flags to compiler for init and gmon-start if - this is no ELF platform. - * sysdeps/powerpc/gprrest0.S: New file. - * sysdeps/powerpc/gprsave0.S: New file. - * sysdeps/powerpc/gprrest1.S: New file. - * sysdeps/powerpc/gprsave1.S: New file. - * sysdeps/powerpc/Versions: Export _savegpr* and _restgpr* - functions. +1999-02-03 Mark Kettenis - * sysdeps/mach/hurd/bits/statfs.h: Define _STATFS_F_NAMELEN. - * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: Likewise. - * sysdeps/posix/fpathconf.c: Don't unconditionally use f_namelen - in statfs. Check feature macro and use f_name_max or NAME_MAX - instead. - * sysdeps/posix/pathconf.c: Likewise. + * sysdeps/mach/hurd/utimes.c (__utimes): Deal with TVP being NULL. - * dlfcn/dlfcn.h: Remove DL_CALL_FCT definition here. - * sysdeps/generic/bits/dlfcn.h: Define DL_CALL_FCT here. - * sysdeps/mips/bits/dlfcn.h: Define DL_CALL_FCT here. - * iconv/skeleton.c: If DL_CALL_FCT is not yet defined, add dummy - definition here. +1999-02-03 Ulrich Drepper - * sysdeps/generic/libc-start.c: Fix typo in comment. + * version.h (VERSION): Bump to 2.1. + (RELEASE): Change to stable. - * include/set-hooks.h: Allow systems to not define - symbol_set_define. + * elf/dlsym.c (dlsym_doit): If no symbol for RTLD_NEXT is found + initialize ref element of args object so that dlsym does not dump + a core. + * elf/dlvsym.c (dlvsym_doit): Likewise. - * configure.in: Unify machine names rs6000 and powerpc. +1999-02-03 Jakub Jelinek -2000-02-25 Andreas Jaeger + * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Set branch + prediction correctly. - * malloc/Versions: Change version of __libc_freeres to 2.1 in - accordance with usage in glibc 2.1.3. + * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Signal + takes a pointer to __sigcontext_t. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Do a nop after retl. + * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove fork.S. -2000-02-28 Ulrich Drepper +1999-02-02 Andreas Schwab - * stdlib/msort.c (qsort): Limit the amount of memory spend on a - temporary array for the mergesort. + * manual/time.texi (General Time String Parsing): Fix typos. Fix + column widths of table. -2000-02-28 Andreas Jaeger +1999-01-31 Mark Kettenis - * stdlib/canonicalize.c: Include for ptrdiff_t. + * sysdeps/mach/hurd/times.c: New file. -2000-02-27 Ulrich Drepper +1999-02-02 Ulrich Drepper - * conform/conformtest.pl (@headers): Add wordexp.h, wctype.h, wchar.h, - varargs.h, utmpx.h, utime.h, unistd.h, ulimit.h, ucontext.h, time.h, - termios.h, tar.h, sys/wait.h, sys/uio.h, sys/types.h, sys/times.h, - sys/timeb.h, sys/time.h, sys/statvfs.h, sys/stat.h, sys/shm.h, - sys/sem.h, and sys/resource.h. - Implement handling of allow-header. - * conform/data/fcntl.h-data: Correct various bugs. - * conform/data/fnmatch.h-data: Likewise. - * conform/data/math.h-data: Likewise. - * conform/data/ndbm.h-data: Likewise. - * conform/data/nl_types.h-data: Likewise. - * conform/data/poll.h-data: Likewise. - * conform/data/pthread.h-data: Likewise. - * conform/data/semaphore.h-data: Likewise. - * conform/data/setjmp.h-data: Likewise. - * conform/data/signal.h-data: Likewise. - * conform/data/stdarg.h-data: Likewise. - * conform/data/stddef.h-data: Likewise. - * conform/data/stdio.h-data: Likewise. - * conform/data/stdlib.h-data: Likewise. - * conform/data/string.h-data: Likewise. - * conform/data/strings.h-data: Likewise. - * conform/data/stropts.h-data: Likewise. - * conform/data/syslog.h-data: Likewise. - * conform/data/sys/ipc.h-data: Likewise. - * conform/data/sys/mman.h-data: Likewise. - * conform/data/sys/msg.h-data: Likewise. - * conform/data/tar.h-data: New file. - * conform/data/termios.h-data: New file. - * conform/data/time.h-data: New file. - * conform/data/ucontext.h-data: New file. - * conform/data/ulimit.h-data: New file. - * conform/data/unistd.h-data: New file. - * conform/data/utime.h-data: New file. - * conform/data/utmpx.h-data: New file. - * conform/data/varargs.h-data: New file. - * conform/data/wchar.h-data: New file. - * conform/data/wctype.h-data: New file. - * conform/data/wordexp.h-data: New file. - * conform/data/sys/resource.h-data: New file. - * conform/data/sys/sem.h-data: New file. - * conform/data/sys/shm.h-data: New file. - * conform/data/sys/stat.h-data: New file. - * conform/data/sys/statvfs.h-data: New file. - * conform/data/sys/time.h-data: New file. - * conform/data/sys/timeb.h-data: New file. - * conform/data/sys/times.h-data: New file. - * conform/data/sys/types.h-data: New file. - * conform/data/sys/uio.h-data: New file. - * conform/data/sys/wait.h-data: New file. + * nscd/nscd_getpw_r.c (nscd_getpw_r): Mark as internal and take + extra argument with length of key string. + (__nscd_getpwnam_r): Call nscd_getpw_r with extra argument. + (__nscd_getpwuid_r): Create key string on stack. + * nscd/nscd_getgr_r.c: Mark local functions as internal. + * nscd/nscd_gethst_r.c: Likewise. - * grp/grp.h (getgrent_r): Declare only if __USE_GNU. + * elf/dl-load.c: Use alloca, not __alloca. - * include/sys/time.h (__itimes): Fix type of second parameter. + * sysdeps/unix/sysv/linux/reboot.c: Make sure first parameter is + correctly passed to the kernel even on 64bit platforms. + Patch by Bruce Elliott . - * io/sys/stat.h (S_IFLNK): Define also if __USE_XOPEN. - (S_ISVTX): Likewise. + * localedata/locales/it_CH: New file. + Contributed by Giacomo Amabile Catenazzi . - * io/sys/statvfs.h: Define fsblkcnt_t and fsfilcnt_t. +1999-01-31 Andreas Jaeger - * locale/langindo.h: Make ERA_YEAR, INT_CURR_SYMBOL, CURRENCY_SYMBOL, - MON_DECIMAL_POINT, MON_THOUSANDS_SEP, MON_GROUPING, POSITIVE_SIGN, - NEGATIVE_SIGN, INT_FRAC_DIGITS, FRAC_DIGITS, P_CS_PRECEDES, - P_SEP_BY_SPACE, N_CS_PRECEDES, N_SEP_BY_SPACE, P_SIGN_POSN, - N_SIGN_POSN, DECIMAL_POINT, THOUSANDS_SEP, GROUPING, YESEXPR, - NOEXPR, YESSTR, and NOSTR only available if __USE_GNU. + * manual/install.texi (Configuring and compiling): Building in the + source directory works, change paragraph stating the opposite. - * math/bits/mathcalls.h: Don't declare tgamma and scalbn if only - __USE_XOPEN. +1999-01-29 Andreas Schwab - * posix/unistd.h: Don't define ptrdiff_t. - (sbrk): Correct type of parameter. - * sysdeps/generic/sbrk.c: Likewise. - * sysdeps/mach/hurd/sbrk.c: Likewise. + * locale/programs/locale-spec.c: Fix last change. - * posix/sys/types.h: Allow id_t, suseconds_t, fsblkcnt_t, and - fsfilcnt_t being defined elsewhere. +1999-01-31 Ulrich Drepper - * resource/sys/resource.h: Define id_t. - If __USE_XOPEN use int for type of first parameter if getrlimit, - getrlimit64, setrlimit, setrlimit64, getrusage, getpriority, and - setpriority. - * sysdeps/generic/getpriority.c: Fix type of second parameter. - * sysdeps/generic/setpriority.c: Likewise. - * sysdeps/mach/hurd/getpriority.c: Likewise. - * sysdeps/mach/hurd/setpriority.c: Likewise. - * sysdeps/unix/sysv/irix4/getpriority.c: Likewise. - * sysdeps/unix/sysv/irix4/setpriority.c: Likewise. - * sysdeps/unix/sysv/linux/getpriority.c: Likewise. + * math/libm-test.c (fdim_test): Fix typo in message. + Patch by Paul Kimoto . - * sysdeps/generic/utimes.c: Fix parameter of third parameter. - * sysdeps/mach/hurd/utimes.c: Likewise. - * sysdeps/posix/utimes.c: Likewise. +1999-01-31 Philip Blundell - * sysdeps/generic/bits/shm.h: Define shmatt_t type and use it in - struct shmid_ds definition. - * sysdeps/gnu/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: If the kernel + doesn't have vfork, resort to using fork. + * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise. - * sysvipc/sys/shm.h: Define time_t. +1999-01-30 Ulrich Drepper - * sysvipc/sys/sem.h (struct sembuf): Make sem_num field unsigned. + * sysdeps/sparc/sparc32/__longjmp.S: Include bits/setjmp.h not + jmp_buf.h. Patch by David S. Miller . - * sysdeps/gnu/bits/sem.h: Rename anonymous type struct sem_queue and - struct sem_undo to struct __sem_queue and struct __sem_undo resp. + * sysdeps/libm-i387/s_fdim.S: Reverse arguments of instruction + changed in last patch. + * sysdeps/libm-i387/s_fdimf.S: Likewise. + * sysdeps/libm-i387/s_fdiml.S: Likewise. - * time/time.h: Define suseconds_t if not already done. +1999-01-29 Richard Henderson - * sysdeps/unix/sysv/linux/bits/statvfs.h: Rename f_spare to __f_spare. + * scripts/config.sub: Recognize alpha{pca5[67],ev[67]}. + + * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols): + Format pointer differences as longs. + + * sysdeps/alpha/fpu/s_floor.c, sysdeps/alpha/fpu/s_floorf.c: + Copy commentary from bits/mathinclude.h. Kill unused defines. + + * sysdeps/alpha/atomicity.h: New file. + +1999-01-29 Ulrich Drepper + + * version.h (VERSION): Bump to 2.0.112. + + * scripts/versions.awk: Quote { in regexp. + + * sunrpc/clnt_tcp.c (clnttcp_call): Resolve 32-64 comparison + conflict for 64 bit platforms. + Patch by trott@rottmann.hi.shuttle.de. + + * sysdeps/unix/sparc/vfork.S: Correct comment. + * sysdeps/unix/sparc/fork.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Remove vfork. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: No special case for + child necessary. + * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: New file. + Patches by Jakub Jelinek . + + * sysdeps/libm-i387/s_fdim.S: Change fsubp to fsubrp for picky gas. + * sysdeps/libm-i387/s_fdimf.S: Likewise. + * sysdeps/libm-i387/s_fdiml.S: Likewise. + + * sysdeps/alpha/fpu/s_floor.c (__floor): Don't depend on inlining, + duplicate the code. + * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise. + + * sysdeps/i386/Versions: Exports functions from libgcc since this + is what was done in glibc 2.0. + * sysdeps/m68k/Versions: Likewise. New file. + +1999-01-28 Andreas Schwab + + * sysdeps/wordsize-32/stdint.h (INT8_C, INT16_C, INT32_C, INT64_C, + UINT8_C, UINT16_C, UINT32_C, UINT64_C): Remove casts, they must be + integer constants. Use ## directly instead of __CONCAT so that + the suffix string is not expanded as a macro. + * sysdeps/wordsize-64/stdint.h (INT8_C, INT16_C, INT32_C, INT64_C, + UINT8_C, UINT16_C, UINT32_C, UINT64_C): Likewise. + (INT64_MIN, INT64_MAX, UINT64_MAX, INT_LEAST64_MIN, + INT_LEAST64_MAX, UINT_LEAST64_MAX, INT_FAST16_MIN, INT_FAST32_MIN, + INT_FAST64_MIN, INT_FAST16_MAX, INT_FAST32_MAX, INT_FAST64_MAX, + UINT_FAST16_MAX, UINT_FAST32_MAX, UINT_FAST64_MAX, INTMAX_MIN, + INTMAX_MAX, UINTMAX_MAX): Define as long constants, not long long. + +1999-01-28 Andreas Schwab + + * locale/mb_cur_max.c (__ctype_get_mb_cur_max): Correct return + type to size_t. + * locale/broken_cur_max.c (__ctype_get_mb_cur_max): Likewise. + * stdlib/stdlib.h (__ctype_get_mb_cur_max): Likewise. + +1999-01-27 Philip Blundell + + * sysdeps/unix/sysv/linux/arm/vfork.S: Deleted. + +1999-01-28 David S. Miller + + * sysdeps/sparc/sparc32/__longjmp.S: Rewrite without bogus sanity + checks and aborts, to make longjmp based thread schemes work again. + +1999-01-28 Ulrich Drepper + + * sysdeps/unix/sysv/sysv4/solaris2/configure.in: New file. + * sysdeps/unix/sysv/sysv4/solaris2/configure: New file. + * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: New file. + Patch by Jeff Bailey . + + * locale/setlocale.c (free_mem): Don't try to free C locale data + and use setdata instead of doing it by hand. + + * iconv/gconv_conf.c (add_alias): Check that so such alias is + currently stored. + + * iconv/gconv_db.c (free_derivation): Free names if charsets for + first and last step. + + * iconv/gconv_dl.c: Unload all modules when debugging memory use. + + * locale/loadlocale.c (_nl_unload_locale): Free locale name. + + * intl/finddomain.c (free_mem): Also free filename. + * locale/findlocale.c (free_mem): Likewise. + (_nl_find_locale): Duplicate loc_name with strdupa not strdup. + * locale/setlocale.c (free_mem): New function. Free current locale + data and set current locale to "C". + + * libio/genops.c (_IO_un_link): Move #ifdef introduced in last + change in right place. + + * sysdeps/unix/sysv/linux/sys/timex.h: Add MAXTC from kernel + header. Suggested by Thomas Quinot . + +1999-01-28 Andreas Jaeger + + * libio/getc_u.c (__getc_unlocked): Avoid compiler warning. + +1999-01-28 Ulrich Drepper + + * libio/genops.c (_IO_un_link, _IO_link_in): Don't use locking if + _IO_MTSAFE_IO is not defined. + + * iconv/gconv_db.c (free_modules_db): Don't free memory of + internal modules. + + * iconv/gconv_db.c (free_mem): Don't free module tree if there is none. + +1999-01-27 Ulrich Drepper + + * locale/programs/locale-spec.c (locale_special): Take care of + possible trigraph sequence. + Patch by Zack Weinberg . + + * time/strptime.c (strptime_internal, case 's'): Initialize secs + to zero. Patch by Bruce Elliott . + +1999-01-27 Andreas Schwab + + * elf/Makefile (extra-objs): Add test modules objects. + +1999-01-27 Ulrich Drepper + + * wctype/wcextra.c: Declare __ctype32_b. + + * manual/string.texi: Add optimization examples for strcat and strchr. + +1999-01-26 Ulrich Drepper + + * libio/Makefile (routines): Remove fgetc. + * libio/fgetc.c: Removed. + * libio/getc.c: Add fgetc alias. + * libio/Versions [GLIBC_2.1]: Add fgetc_unlocked. + * libio/getc_u.c: Rename function to __getc_unlocked and make + getc_unlocked and fgetc_unlocked weak aliases. + * libio/stdio.h: Add prototype for fgetc_unlocked. + + * sysdeps/gnu/bits/utmp.h: Don't prepend exit_status elements with + __ since utmp.h is not mentioned in any standard. + + * sysdeps/unix/sysv/linux/i386/clone.S: When not using PIC don't + use jecxz since the label might be far away. + + * sysdeps/unix/sysv/linux/sigaction.c: Update comment to say the + __libc_missing_rt_sigs is defined here. + * sysdeps/unix/sysv/linux/sigpending.c: Only declare + __libc_missing_rt_sigs. + * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise. + * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise. + +1999-01-25 Ulrich Drepper + + * scripts/config.guess: Changes for ARM/Linux. + * scripts/config.sub: Likewise. + + * elf/Makefile: Define libdl variable as name of libdl library and + use it in all dependencies. + +1999-01-26 Geoff Keating + + * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Suppress warning + about potentially uninitialized `flags'. + * nss/nss_db/db-alias.c (internal_setent): Likewise. + +1999-01-25 Andreas Jaeger + + * elf/failobj.c: Provide prototype for xyzzy. + +1999-01-25 Philip Blundell + + * sysdeps/unix/sysv/linux/arm/clone.S: Correct error check again. + +1999-01-24 Roland McGrath + + * sysdeps/mach/hurd/ioctl.c: Include . + (__ioctl): Use IOC_MSGID macro. + +1999-01-24 Ulrich Drepper + + * libio/iofopen.c (_IO_fopen): Pass correct value as fourth + parameter to _IO_file_fopen. + * libio/iofopen64.c (_IO_fopen64): Likewise. + + * po/sv.po: Update from translation team. + + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add __vfork + as alias. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + +1999-01-24 Andreas Jaeger + + * ctype/ctype.h (toupper,tolower): Use __inline instead of inline, + define inline functions only when optimizing for speed and + __USE_EXTERN_INLINES is set. + +1999-01-24 Ulrich Drepper + + * scripts/config.sub: Update from latest autoconf release. + * scripts/config.guess: Likewise. + + * sysdeps/i386/i786/Implies: New file. + +1999-01-24 Andreas Jaeger + + * manual/install.texi (Running make install): Change for Linux 2.2. + +1999-01-24 Andreas Jaeger + + * manual/process.texi (Creating a Process): Fix typos. + +1999-01-24 Roland McGrath + + * sysdeps/mach/hurd/dl-sysdep.c (__getcwd): Fail with ENOSYS, don't + call abort. Suggested by Mark Kettenis . + +1999-01-23 Roland McGrath + + * sysdeps/unix/sysv/linux/sys/mtio.h: Moved to... + * sysdeps/gnu/sys/mtio.h: ...here. + (_IOT_mtop, _IOT_mtget, _IOT_mtpos, _IOT_mtconfiginfo): New macros. + * sysdeps/gnu/Dist: Add sys/mtio.h. + * sysdeps/unix/sysv/linux/Dist: Remove sys/mtio.h. + * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc] + (sysdep_headers): Don't add sys/mtio.h here. + * sysdeps/gnu/Makefile [$(subdir) = misc] (sysdep_headers): Add it + here instead. + + Revamp Hurd ioctl typing magic to handle `struct' keyword in the + ioctl command macros, so we can use Unix-compatible headers that + make use of the _IO* macros. + * sysdeps/mach/hurd/bits/ioctls.h (_IOC_ENCODE_TYPE, + _IOC_ENCODE_TYPE_1, _IOC_ENCODE_TYPE_2, _IOTBASE_struct): New macros. + (_IOR, _IOW, _IOWR): Use them _IOC_ENCODE_TYPE(t) instead of _IOT_##t. + (_IOT_int, _IOT_char, _IOT_short): Renamed to _IOT__IOTBASE_*. + (numerous ioctl command macros): Restore `struct' keyword. + +1999-01-24 Ulrich Drepper + + * ctype/ctype.c (toupper): Correct variable names from last change. + (tolower): Likewise. + +1999-01-23 Ulrich Drepper + + * sunrpc/rpc_main.c (open_output): Allow better translation of + error message. + (close_output): Likewise. + * locale/programs/localedef.c: Unify messages. + * malloc/obstack.c: Likewise. + Suggested by Vladimir Michl . + + * grp/putgrent.c (putgrent): Don't insert extra colon. + Patch by Michael Schaefer . + + * nss/nss_files/files-XXX.c (internal_getent): Make sure the buffer has + at least two bytes (not one). Correct buflen parameter type. + * nss/nss_files/files-alias.c (get_next_alias): Make sure buffer + has at least two bytes. Use fgets_unlocked instead of fgets. + + * ctype/ctype.h: Don't user __tolower directly for tolower + implementation. Use inline function which tests for the range + first. Make _tolower equivalent to old tolower macros. + Likewise for toupper. + * ctype/ctype.c: Change tolower/toupper definition accordingly. + + * argp/argp-help.c: Use _tolower instead of tolower if possible. + * inet/ether_aton_r.c: Likewise. + * inet/ether_line.c: Likewise. + * inet/rcmd.c: Likewise. + * intl/l10nflist.c: Likewise. + * locale/programs/ld-collate.c: Likewise. + * locale/programs/linereader.c: Likewise. + * locale/programs/localedef.c: Likewise. + * nis/nss_nis/nis-alias.c: Likewise. + * nis/nss_nis/nis-network.c: Likewise. + * posix/regex.c: Likewise. + * resolv/inet_net_pton.c: Likewise. + * stdio-common/printf_fp.c: Likewise. + * stdio-common/vfscanf.c: Likewise. + * sysdeps/generic/strcasestr.c: Likewise. + + * math/bits/mathcalls.h: Fix typo. + +1999-01-23 Roland McGrath + + * sysdeps/gnu/errlist.awk: Add comment. + +1999-01-23 Ulrich Drepper + + * csu/Versions: Add __register_frame_info_table. + +1998-12-29 Geoff Keating + + * sunrpc/Versions: Include _authenticate, it's defined in a user + header (in fact, it's the whole contents of rpc/svc_auth.h). + +1999-01-23 Ulrich Drepper + + * io/ftw.c (process_entry): Initialize flag since not all gcc + versions are smart enough to see that this is no problem. + + * elf/dl-open.c (_dl_init_paths): Check malloc result. + + * csu/Versions: Add __frame_state_for. + +1999-01-22 Ulrich Drepper + + * sysdeps/gnu/errlist.awk: Mark ENOTSUP as alias for EOPNOTSUPP. + + * iconv/gconv_conf.c (add_alias): Convert names to uppercase before + adding into search tree. + (add_module): Likewise. + * iconv/iconv_open.c: Likewise. + * iconv/gconv_db.c: Change all __strcasecmp to strcmp. + * iconv/skeleton.c (gconv_init): Likewise. + +1999-01-20 Andreas Schwab + + * elf/Makefile: Make dependencies between test modules explicit. + (preloadtest-preloads): New variable. + ($(objpfx)preloadtest.out): Use it. + (preloadtest-ENV): Use it. + +1999-01-22 Andreas Schwab + + * sysdeps/unix/sysv/linux/arm/Dist: Undo last change. Not needed. + +1999-01-22 Roland McGrath + + * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Depend on + $(common-objpfx)errnos.d. + + * sysdeps/mach/hurd/Makefile: Fix errnos.h -> bits/errno.h in rules. + + * manual/errno.texi (Error Codes): Fix ENOSYS description. + Add ENOTSUP. + +1999-01-21 Ulrich Drepper + + * elf/Makefile: Add missing dependency for preloadtest binary. + +1999-01-21 Ulrich Drepper + + * version.h (VERSION): Bump to 2.0.111. + + * elf/Makefile (distribute): Add test module sources. + + * sysdeps/unix/sysv/linux/sys/sysmacros.h: Pretty print. + * sysdeps/unix/sysv/linux/Dist: Remove sys/sysmacros.h. + * sysdeps/unix/sysv/linux/Makefile: Remove sys/sysmacros.h. + * posix/Makefile (headers): Add sys/sysmacros.h. + * posix/sys/types.h: Include sys/sysmacros.h for __USE_BSD. + * sysdeps/generic/sys/sysmacros.h: New file. + * sysdeps/mach/hurd/xmknod.c: Include sys/types.h and remove minor and + major definition. + + * elf/dl-close.c: Rewrite the way adding to the global scope works + to handle error cases better than the last change. + The l_global flag is now only set when the object is actually + counted in the global scope list. + * elf/dl-deps.c: Likewise. + * elf/dl-open.c: Likewise. + +1999-01-20 Philip Blundell + + * sysdeps/unix/sysv/linux/arm/sigaction.c: New file. + + * sysdeps/unix/sysv/linux/arm/vfork.S: New file. + * sysdeps/unix/sysv/linux/arm/Dist: Add vfork.S. + + * sysdeps/unix/sysv/linux/arm/clone.S: Optimise a little, support + 26-bit machines correctly and fix check for returned errors. + +1999-01-21 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/clone.S: Micro-optimization. + + * sysdeps/unix/sysv/linux/i386/vfork.S: Add back the first + implementation now that the syscall is back in 2.2.0. + + * elf/Makefile: Change rule to make test module so that they are + compiled using -fPIC. + * elf/testobj1.c: Add missing prototype. + * elf/testobj1_1.c: Likewise. + * elf/testobj2.c: Likewise. + * elf/testobj3.c: Likewise. + * elf/testobj4.c: Likewise. + * elf/testobj5.c: Likewise. + * elf/testobj6.c: Likewise. + +1999-01-20 Ulrich Drepper + + * elf/Makefile (tests): Add loadfail. + Add rules to build failobj.so. + * elf/loadfail.c: New file. Test of failing to load object with + RTLD_GLOBAL set. + * elf/failobj.c: New file. Object which will fail to load. + + * elf/dl-close.c (_dl_close): Fix last patch (cnt is unsigned). + + * elf/dl-close.c: Handle failed loads which would have gone in the + global scope correctly. + + * elf/testobj1.c: Include stdlib.h to get NULL defined. + * elf/testobj2.c: Likewise. + * elf/testobj3.c: Likewise. + * elf/testobj4.c: Likewise. + * elf/testobj5.c: Likewise. + + * iconvdata/Makefile (modules): Add SAMI-WS2 and ISO-IR-197. + * iconvdata/gconv-modules: Add entries for above charsets. + * iconvdata/iso-ir-197.c: New file. + * iconvdata/sami-ws2.c: New file. + + * sysdeps/unix/sysv/linux/vfork.c: Once again use generic version. + +1999-01-18 Andreas Schwab + + * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.d): Fix + generation of dependency list to make it work with newer versions + of gcc. + +1999-01-18 Andreas Schwab + + * Makerules (build-module): New macro, moved from... + * elf/Makefile (build-module): ... here. + * iconvdata/Makefile (build-module): ... and here. + +1999-01-20 Ulrich Drepper + + * sysdeps/alpha/Versions: Add __atan2 for libm and GLIBC_2.0. + + * elf/Makefile (tests): Add preloadtest. Add rules to build more test + modules and the preloadtest binary. + * elf/loadtest.c (TEST_ROUNDS): Increase to 1000. + (testobjs): Add more modules. + (tests): Add entries for new modules. + * elf/preloadtest.c: New file. Test for LD_PRELOAD. + * elf/testobj1.c: Add 'preload' function. + * elf/testobj2.c: Likewise. + * elf/testobj3.c: Likewise. + * elf/testobj4.c: New file. + * elf/testobj5.c: New file. + * elf/testobj6.c: New file. + +1999-01-19 Ulrich Drepper + + * elf/dl-object.c (_dl_new_object): Micro-optimization. + + * elf/restest1.c: New file. Symbol resolution test. + * elf/testobj1_1.c: New file. Module used in this test. + * elf/Makefile: Add rules for restest1 generation and execution. + + * elf/dl-object.c (_dl_new_object): l_local_scope really gets + assigned the local scope. + + * posix/test-vfork.c (main): Improve test to check for correct + exit code. + + * sysdeps/unix/sysv/linux/i386/vfork.S: Rewrite to use clone. + + * sysdeps/unix/sysv/linux/bits/sched.h: Define CLONE_VFORK. + + * timezone/zdump.c: Update from tzcode1999a. + * timezone/zic.c: Likewise. + +1999-01-19 Andreas Jaeger + + * math/tgmath.h: Rename nextafterx to nexttoward. + +1999-01-19 Ulrich Drepper + + * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Add baud rates > + 460800. + * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise. + * sysdeps/unix/sysv/linux/bits/termios.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise. + + * math/Makefile (libm-calls): Rename s_nextafterx to s_nexttoward. + * math/Versions: Likewise. + * math/bits/mathcalls.h: Likewise. + * manual/arith.texi: Likewise. + * sysdeps/libm-ieee754/s_nextafterl.c: Likewise. + * sysdeps/libm-ieee754/s_nextafterx.c: Replaced by... + * sysdeps/libm-ieee754/s_nexttoward.c: New file. + * sysdeps/libm-ieee754/s_nextafterxf.c: Replaced by... + * sysdeps/libm-ieee754/s_nexttowardf.c: New file. + * sysdeps/libm-ieee754/s_nextafterxl.c: Replaced by... + * sysdeps/libm-ieee754/s_nexttowardl.c: New file. + + * time/Makefile (routines): Removed strfxtime. + * time/Versions: Likewise. + * time/strfxtime.c: Removed. + * time/time.h: Remove _LOCALTIME, _NO_LEAP_SECONDS, struct tmx, + mkxtime, and strfxtime. + +1999-01-18 Ulrich Drepper + + * iconv/gconv_conf.c (add_module): Complete rewrite. Use cleverer + data structures and avoid creating intermediate representations + first. Rewrite also all helper functions. + * iconv/gconv_db.c (find_derivation): Use new data structure for + module database. + * iconv/Versions: Remove __gconv_nmodules. + * iconv/iconv_prog.c: Rewrite generation of charset name list to + use new data structure. + * iconv/gconv_int.h (struct gconv_module): Add new elements for + database data structure. + (__gconv_modules_db): Update type. + (__gconv_transform_dummy): Removed. + * iconv/gconv_builtin.h: Remove dummy transformation. + * iconv/gconv_simple.c: Remove __gconv_transform_dummy. + + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Remove + __syscall_vfork, add vfork. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + +1999-01-18 Andreas Jaeger + + * posix/test-vfork.c: Include for wait declaration. + +1999-01-16 Andreas Schwab + + * manual/ctype.texi: Fix cross refs and typos. + * manual/charset.texi: Likewise. + +1999-01-18 Ulrich Drepper + + * Rules: Add dummy.c and dummy.o to common-generated. + Patch by Andreas Schwab. + +1999-01-18 10:07 -0500 Zack Weinberg + + * manual/libc-texinfo.sh: Use tsort.awk. + * manual/tsort.awk: New file. + * manual/Makefile (minimal-dist): Add tsort.awk. + (distribute): Remove generated files: summary.texi, + stamp-summary, chapters.texi, top-menu.texi, and texis. + +1999-01-15 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/vfork.S: Test return value after + fork syscall. + +1999-01-17 Ulrich Drepper + + * wctype/wcfuncs.c: Declare __ctype32_b. + + * elf/Makefile (test-modules): Add test-modules. + + * stdlib/canonicalize.c (canonicalize): Update write pointer after + realloc. Minor optimizations. + +1999-01-16 Ulrich Drepper + + * po/no.po: Update from norwegian translation team. + + * iconvdata/iso-2022-jp.c: Correct handling of G2 set. + Patch by Shinya Hanataka . + + * elf/Makefile (tests): Add loadtest. + Add rules to generate test modules. + * Makeconfig (+link): Add $(LDFLAGS-$(@F)) to command line. + * elf/loadtest.c: New file. + * elf/testobj1.c: New file. + * elf/testobj2.c: New file. + * elf/testobj3.c: New file. + + * elf/dl-close.c: Correct removing module from global list. + + * elf/dl-open.c: Add debugging code. + + * include/string.h: Add __rawmemchr prototype. + * string/Makefile (routines): Add rawmemchr. + * string/Versions [GLIBC_2.1]: Add __rawmemchr and rawmemchr. + * string/string.h: Add prototype for rawmemchr. + * string/bits/string2.h: Optimize strchr with rawmemchr. + * sysdeps/generic/rawmemchr.c: New file. + * sysdeps/i386/rawmemchr.c: New file. + * sysdeps/i386/i486/bits/string.h: Add rawmemchr inline code. + Optimize strchr with rawmemchr. + + * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _LFS_LARGEFILE, + _LFS64_LARGEFILE, and _LFS64_STDIO for Unix98. + +1999-01-14 Andreas Jaeger + + * nis/nis_error.c (nis_errlist): Fix capitilasation. + +1999-01-15 Ulrich Drepper + + * posix/Makefile (tests): Add test-vfork. + * posix/test-vfork.c: New file by Andreas Schwab. + + * manual/charset.texi: More misspelling fixes. + Reported by Tom Tromey . + Improve mbsinit example. + + * sysdeps/unix/sysv/linux/vfork.c: Removed. + * sysdeps/unix/sysv/linux/i386/vfork.S: New file. + +1999-01-14 Ulrich Drepper + + * Make-dist: If file is generated but still distributed the later + is correct. + + * sysdeps/unix/sysv/linux/arm/Dist: Add sys/user.h. + + * manual/Makefile (examples): Filter out the example code from + add-ons. + + * version.h (VERSION): Bump to 2.0.110. + + * nis/nis_error.c (nis_errlist): Fix typo in string. + + * misc/regexp.h: Add restrict to function declarations. + +1998-12-30 Andreas Jaeger + + Patche by Ralf Baechle : + * sysdeps/mips/sys/regdef.h: New file, enhanced versions of + deleted linux specific files. + +1998-12-29 Andreas Jaeger + + * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: New file. + +1999-01-14 Andreas Jaeger + + * misc/regexp.h (compile): Correct end-of-line check, fix typo in + docu. Reported by Kalle Olavi Niemitalo . + +1999-01-14 Ulrich Drepper + + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add vfork. + Patch by Richard Henderson . + +1999-01-13 Ulrich Drepper + + * manual/nss.texi (NSS Module Interface): Document requirement on errno + value after unsuccessful call of module function. + + * sysdeps/unix/sysv/linux/syscalls.list: Add __syscall_fork alias. + * sysdeps/unix/sysv/linux/vfork.c: Use vfork syscall if available, + otherwise use fork. + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add vfork. + * sysdeps/unix/sysv/linux/sparc32/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/sparc64/syscalls.list: Likewise. + + * sysdeps/unix/sysv/linux/i386/sysdep.h: Correct handling of + INLINE_SYSCALL for syscall without parameters. + +1999-01-13 Andreas Schwab + + * sysdeps/unix/make-syscalls.sh: Set shared-only-routines for + versioned syscalls. + + * Rules: Remove rules for empty.* again. + +1999-01-13 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/vfork.S: New file. + +1999-01-13 Ulrich Drepper + + * sysdeps/i386/bits/string.h: Correct several bugs in various + functions which never worked. + Patch by Maciej W. Rozycki . + +1999-01-12 Ulrich Drepper + + * manual/charset.texi: Add many corrections. + Patch by Benjamin Kosnik . + +1999-01-12 Andreas Jaeger + + * manual/charset.texi: Fix some typos. + +1999-01-12 Ulrich Drepper + + * login/programs/pt_chown.c (main): Update copyright year. + +1999-01-11 Ulrich Drepper + + * sysdeps/posix/tempname.c: Open files with mode 0600. + + * ctype/Versions [GLIBC_2.0]: Export __ctype32_b. + * include/wctype.h: Declare __iswctype. + * stdio-common/vfscanf.c (__vfscanf): Use __iswspace instead of + iswspace. + * wctype/Makefile (routines): Add wcextra_l. + * wctype/wcextra.c (iswblank): Implement function here and don't use + __iswctype. + (__iswblank_l): Move definition to... + * wctype/wcextra_l.c: ...here. New file. + * wctype/wcfuncs.c: Really implement functions and don't call + __iswctype or __towctrans. + * wctype/wctype.h: Change isw* and tow* macros. Don't call + __iswctype or __towctrans. Instead optimize constant argument case. + + * iconv/gconv.h: Fix typos. + + * iconv/skeleton.c: Fix typos. Optimize init function a bit. + Correctly emit escape sequence to return to initial state in + conversion function. + + * iconvdata/iso-2022-jp.c (gconv_init): Correctly initialize + max_needed_to element. + + * manual/mbyte.texi: Removed. This is now described in charset.texi. + * manual/charset.texi: New file. + * manual/Makefile (chapters): Replace mbyte by charset. + * manual/ctype.texi: Document wide character functions. + * manual/intro.texi: Fix reference to mbyte chapter. + * manual/lang.texi: Likewise. + * manual/locale.texi: Likewise. + * manual/stdio.texi: Likewise. + * manual/string.texi: Fix @node line for new charset chapter. + * manual/libc.texinfo (UPDATED): Updated. Also update copyright years. + * manual/memory.texi (savestring): Optimize code to give a good + example. + + * manual/filesys.texi: Fix wording. Patches by Jim Meyering. + + * nscd/nscd_getgr_r.c: Include stdint.h to get uintptr_t definition. + * nscd/nscd_getpw_r.c: Likewise. + * nscd/nscd_gethst_r.c: Likewise. + + * stdlib/stdtold_l.c: Always include xlocale.h. + +1999-01-11 Geoffrey Keating + + * stdlib/fpioconst.h (LDBL_MAX_10_EXP_LOG): Define to be same as + DBL_MAX_10_EXP_LOG if there is no long double. + (_fpioconst_pow10): Always use size as LDBL_MAX_10_EXP_LOG to match + printf_fp.c. + +1999-01-10 Andreas Jaeger + + * timezone/Makefile ($(testdata)/GB): Changed to ... + ($(testdata)/Europe/London): ... for tst-timezone test. + ($(objpfx)tst-timezone.out): Change GB to Europe/London. + + * timezone/tst-timezone.c (main): Enable DST switching test, + change GB to Europe/London. + +1999-01-10 Philip Blundell + + * socket/Makefile (headers): Remove bits/sockunion.h. + +1999-01-09 Philip Blundell + + * socket/sys/socket.h: Don't include . + * sysdeps/generic/bits/sockunion.h: Deleted. + * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise. + +1999-01-08 H.J. Lu + + * io/fts.c (fts_close): Don't access memory after having it freed. + +1998-01-08 Andreas Schwab + + * manual/Makefile (stamp-summary): Remove space after -t option + for compatibility with non-GNU sort programs. + +1999-01-08 Andreas Schwab + + * manual/search.texi (Comparison Functions): Fix compare_doubles + example. + +1999-01-07 Andreas Schwab + + * Makerules (do-tests-clean): Remove reference to obsolete + variable tests-static. + +1999-01-07 Ulrich Drepper + + * sysdeps/unix/sysv/linux/ntp_adjtime.c: Removed. It's an alias + for adjtimex. + * sysdeps/unix/sysv/linux/Dist: Add ntp_gettime.c. + * sysdeps/unix/sysv/linux/Makefile [subdir=time] (sysdep_routines): + Remove ntp_adjtime. + * sysdeps/unix/sysv/linux/syscalls.list: Add alias ntp_adjtime to + adjtimex. + * sysdeps/unix/sysv/linux/sys/timex.h: Correct prototype for + ntp_adjtime. + + * sysdeps/i386/i686/mempcpy.S: Fix typos. + + * sysdeps/i386/i686/memset.S: New file. + * sysdeps/i386/i686/bzero.S: New file. + * sysdeps/i386/i686/strcmp.S: New file. + * sysdeps/i386/i686/memcpy.S: New file. + + * sysdeps/unix/sysv/linux/Makefile [subdir=time] (sysdep_routines): + Add ntp_adjtime and ntp_gettime. + * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add ntp_adjtime and + ntp_gettime. + +1998-12-29 Ulrich Windl + + * manual/time.texi (Precision Time): Add documentation for + ntp_gettime and ntp_adjtime. + +1998-12-28 Ulrich Windl + + * sysdeps/unix/sysv/linux/ntp_gettime.c: Created new file + + * sysdeps/unix/sysv/linux/ntp_adjtime.c: Created new file + + * sysdeps/unix/sysv/linux/sys/timex.h (struct ntptimeval): Added. + Add prototypes for ntp_adjtime and ntp_gettime. + +1999-01-07 Ulrich Drepper + + * sysdeps/i386/bits/select.h (__FD_ZERO): Remove early clobbers + from c and D register output. + +1999-01-07 Philip Blundell + + * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Fix bug in last change. + +1999-01-07 Ulrich Drepper + + * sysdeps/unix/sysv/linux/alpha/bits/types.h: Correct type for + __fsfilcnt_t. Patch by Bruce Elliott . + +1999-01-05 Andreas Schwab + + * manual/conf.texi: Remove pointers from first @node. Move old + @node spec inside comment. + * manual/lang.texi: Likewise. + * manual/libc-texinfo.sh: Also find `@node.*Top' in a comment. + * manual/stdio.texi: Fix typo. + +1999-01-04 Andreas Schwab + + * wcsmbs/btowc.c: Accept all values in the range [SCHAR_MIN + .. UCHAR_MAX]. Local var buf renamed to result and its type + changed from char[] to wchar_t to get proper alignment. + + * posix/fnmatch.c: Also cast the arguments of the other ctype + functions to unsigned char. + +1999-01-07 Ulrich Drepper + + * Rules: Add rules for empty.{o,os,op} back. + +1999-01-05 Ulrich Drepper + + * Makerules (common-mostlyclean): Add missing parentheses. + + * Rules: Add back rules for empty.o generation. + +1999-01-05 Philip Blundell + + * sysdeps/unix/sysv/linux/net/if_arp.h: Add new ARPHRD definitions + from latest (2.2.0pre4) kernel. + +1999-01-05 Scott Bambrough + + * sysdeps/unix/sysv/linux/arm/sys/user.h : New file. Fixes problem + on ARM platforms with programs that include and + . Solution suggested by Geoff Keating earlier with + fix for same problem on the PowerPC platform. + +1999-01-04 Philip Blundell + + * sysdeps/unix/sysv/linux/arm/register-dump.h: Correct widths of + register values. + * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: New file. + +1999-01-04 Ulrich Drepper + + * csu/version.c (banner): Update date. + * catgets/gencat.c: Update year in copyright message text. + * db2/makedb.c: Likewise. + * debug/catchsegv.sh: Likewise. + * elf/ldd.bash.in: Likewise. + * elf/sprof.c: Likewise. + * iconv/iconv_prog.c: Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/localedef.c: Likewise. + * login/programs/utmpd.c: Likewise. + * malloc/mtrace.pl: Likewise. + * nscd/nscd.c: Likewise. + * nss/getent.c: Likewise. + * posix/getconf.c: Likewise. + +1999-01-02 Philip Blundell + + * sunrpc/Makefile: Ensure that we really use the right path for cpp. + +1999-01-03 Philip Blundell + + * Makefile (tests-clean): New target to delete test output files. + * Makerules (do-tests-clean): New rule to support the above. + * Rules (subdir_testclean): Likewise. + +1999-01-03 Andreas Schwab + + * iconv/Makefile: Use install-others instead of explicit + dependency on subdir_install. + +1999-01-02 Andreas Schwab + + * iconv/gconv_db.c (find_derivation): Release lock before + returning. + (__gconv_find_transform): Likewise. + +1999-01-01 Andreas Schwab + + * inet/ether_ntoa.c (ether_ntoa): Make `asc' static since that's + what we return. + +1999-01-01 Andreas Schwab + + * Makerules: Remove all references to obsolete variables + tests-static and test-srcs-static. + * Make-dist: Likewise. + * Rules: Likewise. Remove rules to generate obsolete empty.{c,o*}. + +1999-01-03 Philip Blundell + + * sysdeps/unix/sysv/linux/arm/pread.c: Use the i386 implementation. + * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise. + +1998-12-28 Andreas Schwab + + * sysdeps/m68k/dl-machine.h (elf_machine_rela): Reorder expression + to avoid accessing global data in the usual case. + +1999-01-01 Andreas Jaeger + + * wcsmbs/wcstold_l.c: Correct last patch to include wchar.h from + system path. + +1998-12-31 Ulrich Drepper + + * iconvdata/Makefile: Use rpath $ORIGIN for modules which use any of + the conversion libraries. + + * include/features.h: Mention latest extensions in _POSIX_C_SOURCE + description. + + * libio/genops.c (list_all_lock): New variable. + (_IO_un_link, _IO_link_in): Acquire lock before modifying _IO_list_all. + [PR libc/911]. + + * sysdeps/i386/i686/strtok.s: Add missing cld. + + * sysdeps/i386/i686/mempcpy.S: New file. + +1998-12-30 Geoff Keating + + Suppress parentheses warnings: + * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c + (DL_FIND_ARG_COMPONENTS): here, + * sysdeps/powerpc/dl-machine.c: here, + * sysdeps/powerpc/fclrexcpt.c (feclearexcept): here, + * sysdeps/powerpc/fesetround.c (fesetround): here, + * sysdeps/powerpc/feupdateenv.c (feupdateenv): here, + * sysdeps/powerpc/fraiseexcpt.c (feraiseexcept): here, + * sysdeps/powerpc/fsetexcptflg.c (fesetexceptflag): here, + * sysdeps/powerpc/s_rint.c (__rint): here, + * sysdeps/powerpc/s_rintf.c (__rintf): here, + * sysdeps/powerpc/w_sqrt.c (__sqrt): here, + * sysdeps/powerpc/w_sqrtf.c (__sqrtf): and here. + +1998-12-30 Geoff Keating + + * wcsmbs/wcstold.c [__NO_LONG_DOUBLE_MATH]: Include wchar.h. + * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Likewise. Also define + appropropriate prototypes, correct procedure names. + +1998-12-30 Geoff Keating + + * sysdeps/generic/crypt-entry.c: Prototype __crypt_r, suppress + warning. + (__crypt_r): Add __restrict. + * sysdeps/generic/crypt.h: Remove internal routine. Add __restrict. + +1998-12-31 Ulrich Drepper + + * stdlib/longlong.h: Add missing #else in SPARC definitions. + +1998-12-30 Andreas Jaeger + + Patches by Ralf Baechle : + * sysdeps/unix/sysv/linux/mips/sgidefs.h: Removed. + * sysdeps/unix/sysv/linux/mips/sys/asm.h: Removed. + * sysdeps/unix/sysv/linux/mips/sys/regdef.h: Removed. + * sysdeps/unix/sysv/linux/mips/sys/fpregdef.h: Removed. + * sysdeps/unix/sysv/linux/mips/regdef.h: Removed. + * sysdeps/unix/sysv/linux/mips/fpregdef.h: Removed. + + * sysdeps/unix/sysv/linux/mips/Makefile: Remove delete files. + * sysdeps/unix/sysv/linux/mips/Dist: Remove deleted files. + + * sysdeps/mips/sys/fpregdef.h: New files, enhanced versions of deleted + linux specific files. + * sysdeps/mips/sys/asm.h: Likewise. + * sysdeps/mips/sgidefs.h: Likewise. + * sysdeps/mips/fpregdef.h: Likewise. + * sysdeps/mips/regdef.h: Likewise. + + * sysdeps/mips/Makefile: Add new headers. + * sysdeps/mips/Dist: Add new files. + + * sysdeps/mips/fpu_control.h (_FPU_DEFAULT): Change value. + +1998-12-28 Andreas Schwab + + * iconvdata/Makefile: Remove variable assignments and rules that + are now auto-generated. Include $(objpfx)iconv-rules instead. + Btw, that removes a few typos. + (charmaps): New variable. + ($(objpfx)iconv-rules): New target. + (gen-8bit-modules): Renamed from sed-generated-headers, remove .h + suffixes. + (gen-8bit-gap-modules): Renamed from awk-generated-headers, remove + .h suffixes. + (gen-special-modules): New variable. + (generated-modules): New variable. + (headers): Use it. + (before-compile): Likewise. + (generated): Likewise, and add iconv-rules. + * iconvdata/euc-cn.c: Renamed from euccn.c. + * iconvdata/euc-jp.c: Renamed from eucjp.c. + * iconvdata/euc-kr.c: Renamed from euckr.c. + * iconvdata/euc-tw.c: Renamed from euctw.c. + * iconvdata/iso_6937.c: Renamed from iso6937.c. + * iconvdata/iso_6937-2.c: Renamed from iso6937-2.c. + * iconvdata/t.61.c: Renamed from t61.c. + * iconvdata/Makefile (distribute): Adjusted for those renames. + Remove $(objpfx) from names. + +1998-12-28 Andreas Schwab + + * sysdeps/generic/hp-timing.h: Fix comment. + * sysdeps/generic/dl-hash.h: Likewise. + * sysdeps/i386/i686/hp-timing.h: Likewise. + +1998-12-28 Andreas Schwab + + * posix/fnmatch.c (fnmatch): Always pass unsigned char values to + FOLD macro. + +1998-12-28 Andreas Schwab + + * nss/db-Makefile ($(VAR_DB)/shadow.db): Fix last change. + +1998-12-29 Andreas Jaeger + + * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Sync with + current Linux 2.1.132 kernel sources. + +1998-12-28 Andreas Jaeger + + Patches by Ralf Baechle for Linux/MIPS: + * sysdeps/unix/sysv/linux/mips/syscalls.list: Add ipc, change + pread/pwrite and llseek calls. + + * sysdeps/unix/sysv/linux/mips/sysdep.S: New file. + +1998-12-29 Wolfram Gloger + + * malloc/thread-m.h [_LIBC] : Fix for NO_THREADS case. + +1998-12-28 Ulrich Drepper + + * version.h (VERSION): Bump to 2.0.109. + + * Makefile (distribute): Add INTERFACE and CONFORMANCE. + * elf/Makefile (distribute): Add hp-timing.h. + * sysdeps/i386/i686/Dist: New file. + + * mach/Versions: Add mach_msg_send and mach_msg_receive. + Patch by UCHIYAMA Yasushi . + + * sysdeps/unix/sysv/linux/netipx/ipx.h (SIOCIPXNCPCONN): New macro + from latest kernel. + + * stdlib/fpioconst.c: If __NO_LONG_DOUBLE_MATH don't define constants + beyond range of double. + * stdlib/fpioconst.h (_fpioconst_pow10): Reduce size according to + fpioconst.c change. + * stdlib/strtold.c: Fall back on double functions if + __NO_LONG_DOUBLE_MATH. + * stdlib/strtold_l.c: Likewise. + * wcsmbs/wcstold.c: Likewise. + * wcsmbs/wcstold_l.c: Likewise. + * sysdeps/ieee754/ldbl2mpn.c: Don't generate code if + __NO_LONG_DOUBLE_MATH. + * sysdeps/ieee754/mpn2ldbl.c: Likewise. + +1998-12-28 Geoff Keating + + * sysdeps/powerpc/bits/endian.h: Use #warning, not #error, if + the endianness can't be determined, for makedepend. + +1998-12-27 Ulrich Drepper + + * elf/dl-lookup.c (_dl_num_relocations): New variable. + (do_lookup): Increment _dl_num_relocations for every call. + * elf/rtld.c (print_statistics): New function. + (_dl_debug_statistics): New variable. Set when statistics are asked + for. + (rtld_total_time, relocate_time, load_time): New variables. Used + in print_statistics. + (_dl_start): Record start and end time of startup. Call + print_statistics if needed. + (dk_main): Record times for relocations and loading. + (process_dl_debug): Recognize statistics. + + Low-level, low-overhead, high-precision timing functionality. + * sysdeps/generic/hp-timing.h: New file. + * sysdeps/i386/i686/Makefile: New file. + * sysdeps/i386/i686/hp-timing.h: New file. + * sysdeps/i386/i686/hp-timing.c: New file. + + * sysdeps/i386/dl-machine.h (elf_machine_rel): Reverse order of OR + clauses to avoid accessing global variables during rtld relocation. + + * sunrpc/rpc_main.c: Unify messages. + + * sysdeps/unix/sysv/linux/arm/Dist: Add ioperm.c and sys/io.h. + +1998-12-27 Roland McGrath + + * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64): + Remove __ from member names; rename __unused to f_spare. + +1998-12-21 Mark Kettenis + + Implement fstatvfs and statvfs on the Hurd. + * sysdeps/mach/hurd/bits/statfs.h: New file. + * sysdeps/mach/hurd/bits/statvfs.h: New file. + * sysdeps/mach/hurd/fstatvfs.c: New file. + * sysdeps/mach/hurd/statvfs.c: New file. + + * sysdeps/generic/fstatfs64.c: Changed into stub. + Moved previous contents to... + * sysdeps/unix/sysv/linux/fstatfs64.c: ...here. + * sysdeps/generic/fstatvfs64.c: Likewise. * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise. + * sysdeps/generic/statfs64.c: Likewise. + * sysdeps/unix/sysv/linux/statfs64.c: Likewise. + * sysdeps/generic/statvfs64.c: Likewise. * sysdeps/unix/sysv/linux/statvfs64.c: Likewise. - * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise. - * intl/bindtextdom.c: Use rwlock to avoid surprising results in - multithreaded applications. - * intl/dcigettext.c: Likewise. - * intl/textdomain.c: Likewise. - * intl/*.c: Update copyright. - * sysdeps/generic/bits/libc-lock.h: Define __libc_rwlock_* stubs. +1998-12-25 Geoff Keating -2000-02-27 Andreas Jaeger + * crypt/sysdeps/unix/ufc-crypt.h: Use . - * sysdeps/unix/sysv/linux/configure.in: Treat also "/usr/" as - prefix especially. + * crypt/configure: Delete the code dealing with building the add-on + outside glibc, as this doesn't work. -2000-02-27 Ulrich Drepper +1998-12-25 Ulrich Drepper + + * elf/dl-hash.h: Move to... + * sysdeps/generic/dl-hash.h: ...here. Correct parameter type (must + be unsigned char). Remove conditional from inner loop and rearrange + binary operations (12-22% performance increase). + * sysdeps/i386/i686/dl-hash.h: New file. Another 10% faster than + optimized generic version. + +1998-12-23 Ulrich Drepper + + * elf/dl-lookup.c (do_lookup): If looking up an unversioned symbol + but the object file only contains versioned definitions than + accept the definition if there is exactly one even if the version + number is not the default version. This helps dlsym() to find + newly introduced symbols. + + * locale/programs/ld-collate.c: Unify messages and correct typos. + * locale/programs/ld-monetary.c: Likewise. + * locale/programs/ld-numeric.c: Likewise. + * locale/programs/ld-time.c: Likewise. + * manual/errno.texi: Likewise. + * nis/nis_error.c: Likewise. + * nis/nis_print.c: Likewise. + * nis/nss_nisplus/nisplus-publickey.c: Likewise. + * sunrpc/rpc_main.c: Likewise. + +1998-12-20 Philip Blundell + + * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Add + implementation. + * sysdeps/unix/sysv/linux/arm/syscalls.list: Remove wrappers for + now-inlined calls. + +1998-12-22 Philip Blundell + + * sysdeps/unix/sysv/linux/arm/ioperm.c: New file. + Implementation of inb, outb etc for ARM systems. + * sysdeps/unix/sysv/linux/arm/sys/io.h: Likewise. + * sysdeps/unix/sysv/linux/arm/Versions: Add appropriate + entries for the above. + +1998-12-21 Ulrich Drepper + + * nss/db-Makefile (shadow.db): Create file with correct protections. + Based on a patch by Joel Klecker . + + * inet/gethstbynm_r.c: Remove NEED__RES definition since we do this + anyway for digits_dots.c. + * nss/getXXbyYY.c: Initialize _res before using digits_dots.c + functions. + * nss/getXXbyYY_r.c: Likewise. + +1998-12-19 Andreas Schwab + + * sunrpc/key_call.c (getkeyserv_handle): Use __fcntl instead of + fcntl. + +1998-12-20 Andreas Schwab + + * locale/weight.h (get_weight): Extract string elements as + unsigned values. + +1998-12-06 Mark Kettenis + + Reverse the change of 1998-04-22. Providing a struct dirent with + different members when __USE_FILE_OFFSET64 is defined is asking + for trouble. Instead add the necessary LFS magic to the 4.4BSD + header. + * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Add LFS definitions. + * sysdeps/mach/hurd/bits/dirent.h: Removed. + * sysdeps/mach/hurd/readdir64.c: Removed. + * sysdeps/mach/hurd/readdir64_r.c: Removed. + +1998-12-20 Roland McGrath + + * sysdeps/generic/bits/mman.h [__USE_MISC] (MAP_ANONYMOUS): Define as + alias for MAP_ANON. + + * stdio/stdio.h (sys_errlist, sys_nerr, _sys_errlist, _sys_nerr): + Remove decls. They don't exist at all on the Hurd. + + * sunrpc/svc_unix.c, sunrpc/clnt_unix.c: Avoid using `struct cmsghdr' + and `struct ucred' #ifndef SCM_CREDENTIALS. + + * sunrpc/publickey.c (getsecretkey): Use `&errno' instead of + `__errno_location ()'; means the same, works for Hurd. + + * sysdeps/mach/hurd/Makefile (subdirs): Don't elide sunrpc. + +1998-12-18 Ulrich Drepper + + * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Include + features.h and stddef.h. + * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h (struct + sigaltstack): Move ss_size field at the end. + Patches by Jeff Bailey . + + * time/getdate.c (check_mday): tm_mon contains values from 0 to 11, + not 1 to 12. + + * manual/texinfo.tex: Update to latest version. + + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add ipc. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + Patch by Cristian Gafton . + +1998-12-17 Ulrich Drepper + + * iconvdata/gconv-modules: Add remaining aliases from Internet + standards. + + * iconv/gconv_int.h (gconv_module): Add new element from_regex_mem. + * iconv/gconv_conf.c (module_compare): Make s1 and s2 const. + (detect_conflict): New function. + (add_alias): Call detect_conflict to see whether there is already + a module for the new name. + (add_module): Make sure there is no alias for the new name. + (read_conf_file): Call add_alias with new argument. + (__gconv_read_conf): Don't destroy module tree immediately after + walking it. We need it to test the internal conversions for + conflicts. + * iconv/gconv_db.c (find_derivation): Don't allocate memory for + regular expression. There is now room in the module descriptor. + (free_mem): Don't free memory for regular expression. + + * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_IRDA, PF_IRDA and + MSG_TRYHARD. + + * sunrpc/clnt_unix.c (clntunix_destroy): Use __close not close. + * libio/oldtmpfile.c: Likewise. + * libio/oldiofdopen.c: Use __fcntl instead fcntl. + * sysdeps/posix/profil.c: Use __sigaction instead of sigaction. + + * iconvdata/iso646.c (gconv_init): Return correct error value if we + run out of memory. + * iconvdata/iso-2022-jp.c: Likewise. + + * iconv/gconv_db.c (gen_steps): Respect error return value from + init functions and abort. + + * iconvdata/iso646.c: Recognize NF_Z_62-010_1973 as charset name. + +1998-12-17 H.J. Lu + + * sunrpc/rpc/xdr.h (XDR_DESTROY): Add ';'. + (xdr_destroy): Likewise. + +1998-12-17 Ulrich Drepper + + * login/login.c: Determine pts/3 as terminal name if path is + /dev/pts/3. This is consistent with getlogin. [PR libc/906] + +1998-12-16 Andreas Schwab + + * sysdeps/posix/tempname.c (__path_search): Add casts for format + string. + +1998-12-16 Andreas Schwab + + * sunrpc/rpc/xdr.h (XDR_DESTROY, xdr_destroy): Avoid dangling else + problem. + (IXDR_PUT_INT32): Fully parenthesize parameters. + (IXDR_GET_LONG, IXDR_PUT_LONG): Mark GCC extension. Fully + parenthesize parameter. + +1998-12-16 Ulrich Drepper + + * iconvdata/gconv-modules: Add some of the charset name aliases + used in Internet standards. + +1998-12-16 Ulrich Drepper + + * version.h (VERSION): Bump to 2.0.107. + + * sysdeps/i386/i486/bits/string.h: Pretty printing. + +1998-12-16 Thorsten Kukuk + + * sunrpc/rpc/xdr.h: Revert patch from 1998-12-14, partly revert + patch from 1998-12-01. + +1998-12-16 Roland McGrath + + * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Define this #ifdef + __USE_BSD as well as #ifdef __USE_GNU, so MAXSYMLINKS can use it. + Reported by UCHIYAMA Yasushi + +1998-12-16 Ulrich Drepper + + * iconvdata/ibm866.c: New file. + * iconvdata/cp1258.c: New file. + * iconvdata/cp1258.h: New file. + * iconvdata/mac-uk.c: New file. + * iconvdata/gconv-modules: Add rules for new modules. + * iconvdata/Makefile: Likewise. + + * sysdeps/gnu/bits/ipc.h: Move libc internal bits to... + * include/bits/ipc.h: ..here. New file. + +1998-12-16 Andreas Jaeger + + * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Don't change + read-only struct termios_p* but change k_termios member directly. + +1998-12-15 H.J. Lu + + * sysdeps/posix/tempname.c (__path_search): Fix the maximum + string length. + +1998-12-15 Ulrich Drepper + + * sysdeps/unix/sysv/linux/msgctl.c: Use INLINE_SYSCALL. + * sysdeps/unix/sysv/linux/msgget.c: Likewise. + * sysdeps/unix/sysv/linux/msgrcv.c: Likewise. + * sysdeps/unix/sysv/linux/msgsnd.c: Likewise. + * sysdeps/unix/sysv/linux/semctl.c: Likewise. + * sysdeps/unix/sysv/linux/semget.c: Likewise. + * sysdeps/unix/sysv/linux/semop.c: Likewise. + * sysdeps/unix/sysv/linux/shmat.c: Likewise. + * sysdeps/unix/sysv/linux/shmctl.c: Likewise. + * sysdeps/unix/sysv/linux/shmdt.c: Likewise. + * sysdeps/unix/sysv/linux/shmget.c: Likewise. + * sysdeps/unix/sysv/linux/syscalls.list: Remove ipc syscall here. + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add ipc syscall here. + + * time/strftime.c: Remove 'f' format. + + * time/strptime.c (get_number): Ignore trailing whitespace. + (strptime_internal): Handle 'F' and 'k' formats. + + * sysdeps/posix/tempname.c (__path_search): Add second part of the + patch by Andreas Jaeger. + +1998-12-15 Andreas Jaeger + + * stdio-common/tst-tmpnam.c (main): Use void as parameter to avoid + warnings about unused args. Fix comment. + +1998-12-15 Andreas Jaeger + + * sysdeps/posix/tempname.c (__path_search): Correct last patch. + +1998-12-14 Ulrich Drepper + + * sunrpc/rpc/xdr.h (IXDR_GET_INT32): Case pointer before reading from + it. + (IXDR_PUT_INT32): Likewise for writing. + Patch by Bruce Elliott . + +1998-12-08 H.J. Lu + + * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Don't clear + the IBAUD0 bit in c_iflag. + + * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Clear the + the IBAUD0 bit in c_iflag. + +1998-12-14 Ulrich Drepper + + * time/Makefile (tests): Add tst-strptime. + * time/tst-strptime.c: New file. + * time/strptime.c: Correct bugs in weekday and yearday computation. + +1998-12-14 Ulrich Drepper + + * time/strptime.c (strptime_internal): Set tm_wday and tm_yday in + any of tm_year, tm_mon, or tm_mday was changed and the value + itself wasn't specified. + + * include/stdio.h: Add new parameter to __path_search. + * libio/oldtmpfile.c: Add 0 as new parameter to __path_search. + * stdio-common/tmpfile.c: Likewise. + * stdio-common/tmpfile64.c: Likewise. + * stdio-common/tmpnam.c: Likewise. + * stdio-common/tmpnam_r.c: Likewise. + * stdio-common/tempnam.c: Add 1 as new parameter to __path_search. + * sysdeps/posix/tempname.c: Add new parameter. If value is nonzero + consider TMPDIR environment variable and dir parameter. Otherwise not. + * stdio-common/Makefile (tests): Add tst-tmpnam. + * stdio-common/tst-tmpnam.c: New file. + + * po/es.po: Update from translation team. + +1998-12-12 Andreas Schwab + + * timezone/Makefile: Protect inclusion of z.* by avoid-generated + and inhibit_timezone_rules instead of no_deps. + * Make-dist: Pass inhibit_timezone_rules=t when making + echo-distinfo. + +1998-12-12 Andreas Schwab + + * manual/Makefile (distribute): Remove dir-add.texinfo. + + * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/procfs.h and + sys/user.h. + +1998-12-11 Andreas Schwab + + * manual/Makefile (stamp-summary): Use ^L as separator for + sorting. + * manual/arith.texi: Add comments before all @deffoox lines to get + them added to the summary. + * manual/creature.texi: Likewise. + * manual/math.texi: Likewise. + +1998-12-13 Andreas Jaeger + + * math/libm-test.c: Remove macro ISINF. Change all usages of + ISINF to isinf. + +1998-12-13 Ulrich Drepper + + * sysdeps/posix/tempname.c: Use __xstat instead of __stat. + * sysdeps/unix/grantpt.c: Likewise. + * sysdeps/unix/sysv/linux/ptsname.c: Likewise. + * sysvipc/ftok.c: Likewise. + Patch by Franz Sirl . + + * stdlib/test-canon.c: Define PATH_MAX if the system does not. + * string/stratcliff.c: Use MAP_ANON instead of MAP_ANONYMOUS. + Patch by UCHIYAMA Yasushi . + +1998-12-13 Andreas Jaeger + + * sysdeps/alpha/fpu/fsetexcptflg.c: Avoid -Wparentheses warning. + + * sysdeps/libm-ieee754/s_expm1.c (__expm1): Avoid -Wparentheses + warning. + * sysdeps/libm-ieee754/s_log1p.c (__log1p): Likewise. + * sysdeps/libm-ieee754/e_logf.c (__ieee754_logf): Likewise. + * sysdeps/libm-ieee754/s_expm1f.c (__expm1f): Likewise. + * sysdeps/libm-ieee754/e_log.c (__ieee754_log): Likewise. + * sysdeps/libm-ieee754/s_log1pf.c (__log1pf): Likewise. + +1998-12-13 Andreas Jaeger + + * sunrpc/svc_udp.c (svcudp_bufcreate): Declare len as socklen_t. + (svcudp_recv): Likewise. + +1998-12-13 Thorsten Kukuk + + * nis/nss-nisplus.h: Change some mappings of NIS+ errors to + NSS error codes to avoid endless loops. + +1998-12-13 Ulrich Drepper + + * iconvdata/gconv-modules: Correct aliases for ISO-8859-13 and add + aliases for ISO-8859-14. + +1998-12-12 Geoff Keating + + * posix/fnmatch.c (fnmatch): Arguments to FOLD must not have + side-effects. + +1998-12-12 Ulrich Drepper + + * iconvdata/iso-8859-11.h: ISO 8859-11 conversion data. + * iconvdata/iso-8859-11.c: ISO 8859-11 conversion module. + * iconvdata/iso-8859-13.c: Likewise for 8859-13. + * iconvdata/iso-8859-14.c: Likewise for 8859-14. + * iconvdata/iso-8859-15.c: Likewise for 8859-15. + * iconvdata/gconv-modules: Add rules for new modules. + * iconvdata/Makefile: Likewise. + +1998-12-12 Ulrich Drepper + + * stdio-common/printf_fp.c: #ifdef out long double handling code if + __NO_LONG_DOUBLE_MATH is defined to avoid warnings. + * stdio-common/printf_fphex.c: Likewise. + * stdio-common/printf-size.c: Likewise. + +1998-12-12 Ulrich Drepper + + * login/Makefile: Install pt_chown using INSTALL_PROGRAM. + Patch by Maciej W. Rozycki . + +1998-12-11 Ulrich Drepper + + * sysdeps/powerpc/dl-machine.h (elf_machine_matches_host): Mark + static inline, not extern inline. + (elf_machine_dynamic): Likewise. + (elf_machine_lazy_rel): Likewise. + (elf_machine_plt_value): Likewise. + * sysdeps/powerpc/backtrace.c: Include stddef.h to get NULL + definition. + Patchess by Franz Sirl . + + * sysdeps/mips/dl-machine.h (elf_machine_rel): Fixl_addr parameter + type. Reported by job bogan . + + * sysdeps/unix/opendir.c (__opendir): Use __xstat instead of + __stat. + +1998-12-11 Kunihiro Ishiguro + + * inet/netinet/in.h: Change obsolete structure member + ipv6mr_ifindex to new ipv6mr_interface. + +1998-12-11 Ulrich Drepper + + * sysdeps/ieee754/dbl2mpn.c: Changed '#include "ieee754.h"' to + '#include '. ARM port has its own version of 'ieee754.h' + due to its big endian floating point format. + * sysdeps/ieee754/ldbl2mpn.c: Likewise. + * sysdeps/ieee754/mpn2dbl.c: Likewise. + * sysdeps/ieee754/mpn2ldbl.c: Likewise. + * sysdeps/ieee754/mpn2flt.c: Likewise. + Patch by Scott Bambrough . + +1998-12-10 Ulrich Drepper + + * sysdeps/unix/sysv/linux/adjtime.c: Undo last change. + + * posix/PTESTS: Fix typo. + + * po/es.po: Update from translation team. + * po/fr.po: Likewise. + +1998-12-10 Geoff Keating + + * crypt/sysdeps/unix/crypt-entry.c: Don't include "patchlevel.h". + + * crypt/sysdeps/unix/crypt.h: Move __crypt_r, __setkey_r, + __encrypt_r to... + * crypt/sysdeps/unix/crypt-private.h: ...here. + + * crypt/sysdeps/unix/crypt.h: Add __restrict to the structure + parameters. + * crypt/sysdeps/unix/crypt-private.h: Likewise. Also add const to + first parameter of _ufc_mk_keytab_r. + * crypt/sysdeps/unix/crypt.c: Update prototypes. + * crypt/sysdeps/unix/crypt-entry.c: Likewise. + * crypt/sysdeps/unix/crypt_util.c: Likewise. + + * crypt/sysdeps/unix/crypt-entry.c (crypt): Use __crypt_r not crypt_r. + +1998-12-10 Thorsten Kukuk + + * nis/nss_compat/compat-pwd.c: Fix handling of +/- entries. + +1998-12-10 Ulrich Drepper + + * sunrpc/Makefile: Call rpcgen program which -Y parameter so that + it can find the preprocessor. + +1998-12-09 Geoff Keating + + * sysdeps/unix/sysv/linux/sys/procfs.h: Use sys/user.h not + asm/user.h. + * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise. + + * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: New file, + like linux/sys/procfs.h but uses uid_t and gid_t. + * sysdeps/unix/sysv/linux/powerpc/sys/user.h: New file, + don't include . + +1998-12-08 Andreas Schwab + + * posix/runptests.c (main): Check that regcomp did not succeed + unexpectedly. + * posix/runtests.c (run_a_test): Likewise. Return appropriate + exit code. + * posix/TESTS: Regexp "a[b-a]" should not compile. + * posix/PTESTS: Comment out bogus tests GA113(2), GA145(2) and + GA147(2). + +1998-12-09 Andreas Schwab + + * locale/programs/ld-ctype.c (allocate_arrays): Don't crash if + there is no codeset name. + * locale/programs/ld-collate.c (collate_output): Don't crash if a + character has no weight. + +1998-12-10 Ulrich Drepper + + * inet/getnetgrent_r.c (innetgr): Check host and domain name with + strcasecmp, not strcmp. [PR libc/894]. + +1998-12-08 Andreas Jaeger + + * posix/regex.h: Declare re_comp, re_exec if compiling for libc to + get prototypes. + + * wctype/wctype.h: Add prototypes for __iswblank_l and iswblank. + +1998-12-08 Andreas Jaeger + + * sysdeps/unix/sysv/linux/gethostid.c: Include to get + prototype for __gethostbyname_r. + + * include/time.h: Add declarations of internal interfaces. + + * time/tzset.c: Remove declarations of internal interfaces. + * time/gmtime.c: Likewise. + * time/localtime.c: Likewise. + * time/offtime.c: Likewise. + * time/tzfile.c: Likewise. + +1998-12-01 09:47 -0500 Zack Weinberg + + * sysdeps/unix/sysv/linux/sys/timex.h: Copy out + user-space-relevant definitions from linux/timex.h of kernel + 2.1.130 and remove include of kernel header. + + * sysdeps/unix/sysv/linux/adjtime.c: Remove portability crud. + +1998-12-08 Andreas Jaeger + + * posix/regex.c: Get regex.h from system path, not from local + directory. + + * posix/regex.h: Move internal interfaces to ... + * include/regex.h: ...here. + + * posix/unistd.h: Move internal interfaces to ... + * include/unistd.h: ...here. + + * math/math.h: Move internal interfaces to ... + * include/math.h: ...here. + + * posix/glob.h: Move internal interfaces to ... + * include/glob.h: ...here. + + * string/string.h: Move internal interfaces to ... + * include/string.h: ...here. + + * time/sys/time.h: Move internal interfaces to ... + * include/sys/time.h: ...here. + + * resolv/netdb.h: Move internal interfaces to ... + * include/netdb.h: ...here. + +1998-12-08 Ulrich Drepper + + * iconvdata/eucjp.c: Handle Yen in overscore conversion from ISO 10646 + correctly. + * iconvdata/iso-2022-jp.c: Handle Kana in 2022-JP2 correctly + Fix various bugs in conversion routine. + * iconvdata/jis0201.h: Correct variable name. + * iconvdata/jis0208.c: Correct script to generate tables and regenerate + them. + * iconvdata/jis0208.h: Likewise. + * iconvdata/jis0212.c: Likewise. + * iconvdata/sjis.c: Likewise. + Patch by HANATAKA Shinya . + +1998-12-07 Ulrich Drepper + + * sysdeps/unix/sysv/linux/speed.c (IBAUD0): New definition. Bit + set in c_iflag if cfsetispeed is call with SPEED set to zero. + (cfgetispeed): Return zero if prior if IBAUD0 is set. + (cfsetospeed): Clear IBAUD0 bit. + (cfgetispeed): Set IBAUD0 bit if necessary. + * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Clear + the IBAUD0 bit in c_iflag when making the system call. + Work around a Linux kernel bug which silently changes the + PARENB/CREAD/CSIZE bits in c_cflag on pty. + * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Make a real + function. Don't set speed is SPEED parameter is zero since this + means set it to the output speed. + Based on a patch by H.J. Lu . + + * version.h (VERSION): Bump to 2.0.106. + + * Makeconfig (link-libc-static): Don't use link-libc since this + includes the shared object. Use gnulib only. + + * configure.in: Disable --disable-static. + +1998-12-07 12:06 Ulrich Drepper * po/de.po: Update from translation team. * po/ko.po: Likewise. -2000-02-25 Andreas Jaeger +1998-12-07 Richard Henderson - * math/Versions: Move fe* function to GLIBC_2.2. The patches have - not been added to glibc 2.1.3. - * Versions.def: Remove 2.1.3 entry for math. - * sysdeps/alpha/fpu/fclrexcpt.c: Change default version to GLIBC_2.2. - * sysdeps/alpha/fpu/fegetenv.c: Likewise. - * sysdeps/alpha/fpu/fesetenv.c: Likewise. - * sysdeps/alpha/fpu/feupdateenv.c: Likewise. - * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise. - * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise. - * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise. - * sysdeps/arm/fpu/fclrexcpt.c: Likewise. - * sysdeps/arm/fpu/fegetenv.c: Likewise. - * sysdeps/arm/fpu/fesetenv.c: Likewise. - * sysdeps/arm/fpu/fraiseexcpt.c: Likewise. - * sysdeps/arm/fpu/fsetexcptflg.c: Likewise. - * sysdeps/generic/fclrexcpt.c: Likewise. - * sysdeps/generic/fegetenv.c: Likewise. - * sysdeps/generic/fesetenv.c: Likewise. - * sysdeps/generic/feupdateenv.c: Likewise. - * sysdeps/generic/fgetexcptflg.c: Likewise. - * sysdeps/generic/fraiseexcpt.c: Likewise. - * sysdeps/generic/fsetexcptflg.c: Likewise. - * sysdeps/i386/fpu/fclrexcpt.c: Likewise. - * sysdeps/i386/fpu/fegetenv.c: Likewise. - * sysdeps/i386/fpu/fesetenv.c: Likewise. - * sysdeps/i386/fpu/feupdateenv.c: Likewise. - * sysdeps/i386/fpu/fgetexcptflg.c: Likewise. - * sysdeps/i386/fpu/fraiseexcpt.c: Likewise. - * sysdeps/i386/fpu/fsetexcptflg.c: Likewise. - * sysdeps/m68k/fpu/fclrexcpt.c: Likewise. - * sysdeps/m68k/fpu/fegetenv.c: Likewise. - * sysdeps/m68k/fpu/fesetenv.c: Likewise. - * sysdeps/m68k/fpu/feupdateenv.c: Likewise. - * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise. - * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise. - * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise. - * sysdeps/mips/fpu/fclrexcpt.c: Likewise. - * sysdeps/mips/fpu/fegetenv.c: Likewise. - * sysdeps/mips/fpu/fesetenv.c: Likewise. - * sysdeps/mips/fpu/feupdateenv.c: Likewise. - * sysdeps/mips/fpu/fgetexcptflg.c: Likewise. - * sysdeps/powerpc/fclrexcpt.c: Likewise. - * sysdeps/powerpc/fpu/fegetenv.c: Likewise. - * sysdeps/powerpc/fpu/fesetenv.c: Likewise. - * sysdeps/powerpc/fpu/feupdateenv.c: Likewise. - * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise. - * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise. - * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise. - * sysdeps/sparc/fpu/fclrexcpt.c: Likewise. - * sysdeps/sparc/fpu/fegetenv.c: Likewise. - * sysdeps/sparc/fpu/fesetenv.c: Likewise. - * sysdeps/sparc/fpu/feupdateenv.c: Likewise. - * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise. - * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise. - * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/select.S: Save a4 through + both paths. -2000-02-25 Andreas Jaeger +1998-12-05 Roland McGrath - * sysdeps/alpha/fpu/fraiseexcpt.c (__feraiseexcept): Correct - declaration to return value. + * sysdeps/mach/hurd/pselect.c: New file. - * sysdeps/ieee754/Makefile (CFLAGS-k_standard.c): Added. + * sysdeps/mach/hurd/poll.c: New file. - * math/Makefile: Remove -Wno-write-strings since it's only needed - by one file. + * hurd/Makefile (routines): Add hurdselect. + * hurd/hurdselect.c: New file. + (_hurd_select): New function, guts taken from ... + * sysdeps/mach/hurd/select.c (__select): ... here. + Now work by just calling _hurd_select. + * hurd/hurd/fd.h: Declare _hurd_select. - * intl/Makefile (CFLAGS-bindtextdom.c): The code has been fixed, - we don't need to disable the warnings anymore, remove them. - (CFLAGS-finddomain.c): Likewise. - (CFLAGS-localealias.c): Likewise. +1998-12-05 Roland McGrath -2000-02-25 Andreas Jaeger + * time/strptime.c: Fix unterminated comment in last change. - * configure.in: Allow sed 3.02 or newer versions. +1998-12-05 Ulrich Drepper - * manual/install.texi (Tools for Compilation): Document sed - requirement. + * ctype/ctype.h (_ISbit): Protect use of parameter with + parentheses. + * wctype/wctype.h (_ISwbit): Likewise. -2000-02-25 Ulrich Drepper + * locale/Versions: Make experimental locale interface available in + GLIBC_2.1. - * sysdeps/powerpc/bzero.S: Moved to... - * sysdeps/powerpc/elf/bzero.S: ...here. New file. + * sysdeps/gnu/bits/utmp.h (struct exit_status): Define members + without leading __ only for __USE_GNU. + * sysdeps/gnu/bits/utmpx.h (struct __exit_status): Likewise. - * posix/environ.c: Moved to... - * sysdeps/generic/environ.c: ...here. New file. +1998-12-04 Ulrich Drepper -2000-02-25 Andreas Jaeger - - * stdio-common/Makefile (CFLAGS-_itoa.c): The code has been - fixed, we don't need to disable the warnings anymore, remove them. - * elf/Makefile (CFLAGS-dl-load.c): Likewise. - - * posix/Makefile (CFLAGS-regex.c): Remove not needed warning - flag. - - * posix/regex.c (regex_compile): Remove unused variables. - -2000-02-25 Andreas Jaeger - - * sysdeps/unix/sysv/linux/bits/msq.h (struct msqid_ds): Use - __pid_t. - * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise. - -2000-02-25 Andreas Jaeger - - * locale/programs/ld-ctype.c (allocate_arrays): Add missing - variable declaration. - -2000-02-25 Ulrich Drepper - - * conform/conformtest.pl (@headers): Add "sys/msg.h", "sys/mman.h", - "sys/ipc.h", "syslog.h", and "stropts.h". - Handle / in header names correctly. - * conform/data/stropts.h-data: New file. - * conform/data/syslog.h-data: New file. - * conform/data/sys/ipc.h-data: New file. - * conform/data/sys/mman.h-data: New file. - * conform/data/sys/msg.h-data: New file. - - * misc/sys/mman.h: Define off_t and mode_t if not already done. - - * streams/stropts.h: Define gid_t and uid_t if not already done. - - * sysdeps/gnu/bits/ipc.h (IPC_INFO): Only define if __USE_GNU. - * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise. - * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise. - - * sysvipc/sys/msg.h: Don't include sys/types.h. - Define time_t, pid_t, and ssize_t if not already done. - (struct msgbuf): Define only if __USE_GNU. - - * sysdeps/generic/bits/msq.h: Include bits/types.h, not sys/types.h. - (MSG_EXCEPT): Only define if __USE_GNU. - Define msgqnum_t and msglen_t and use them in struct msqid_ds - definition. - * sysdeps/gnu/bits/msq.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Likewise. - * sysdeps/unix/sysv/linux/bits/msq.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise. - - * sysdeps/generic/bits/stropts.h (I_GWROPT): Renamed from I_GWRSET. - (FLUSHBAND): Only define is __USE_GNU. - (RPROTMASK): Likewise. - (SNDPIPE): Likewise. - (MUXID_ALL): Likewise. - (struct strrecvfd): Rename fill to __fill. - -2000-02-24 Ulrich Drepper - - * stdlib/stdlib.h: Move definition X/Open compatibility stuff - inside the main #ifdef. - -2000-02-24 Geoff Clare - - * posix/wordexp-test.c: Updated to include tests for all the - problems fixed by the last changes to wordexp.c. - -2000-02-24 Ulrich Drepper - - * posix/sys/wait.h: Handle definitions duplicated in stdlib.h - correctly. - * stdlib/stdlib.h: Handle definition of wait macros correctly. - - * posix/sys/wait.h: Add missing #endif. - - * stdlib/stdlib.h (setstate): Don't mark argument as const (yet). - * stdlib/random_r.c: Change parameter types for initstate_t and - setstate_r. - * include/stdlib.h: Change parameter types for __initstate_t and - __setstate_r. - -2000-02-24 Andreas Jaeger - - * include/stdlib.h: Fix prototypes of __initstate and __setstate. - - * manual/time.texi (Precision Time): Fix typo. - Patch by John Tobey , PR libc/1576. - -2000-02-24 Ulrich Drepper - - * conform/conformtest.pl (@headers): Add string.h and strings.h. - * conform/data/string.h-data: New file. - * conform/data/strings.h-data: New file. - - * string/string.h [__USE_XOPEN]: Don't declare functions from - here as well. - -2000-02-23 Ulrich Drepper - - * posix/sys/wait.h: Pretty printing. Allow WEXITSTATUS etc be - defined elsewhere. - * stdlib/stdlib.h [__USE_XOPEN]: Define WEXITSTATUS etc. - * sysdeps/generic/bits/waitflags.h: Allow including from stdlib.h. - * sysdeps/unix/bsd/bits/waitflags.h: Likewise. - * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise. - * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise. - * sysdeps/generic/bits/waitstatus.h: Likewise. - - * posix/wordexp.c: Use $HOME to expand ~ (if set); fix off-by-one - error in expansion of ~user; correct handling of WRDE_APPEND and - WRDE_DOOFFS; return WRDE_SYNTAX for syntax errors in command - substitutions; limit removal of newlines to those that are - really `trailing'; allow for current word to continue after - a command substitution (e.g. "a$(echo b)c"); restore pwordexp - members properly on error returns. - Patch by Geoff Clare . - - * locale/programs/ld-ctype.c (allocate_arrays): Make sure the end - of width table is 4-byte aligned. - (ctype_output): Write out the entire width array. - - * sysdeps/unix/sysv/linux/bits/waitflags.h: Add __WALL. - -2000-02-23 Andreas Jaeger - - * dlfcn/dlopen.c: Include for NULL. - * dlfcn/dlopenold.c: Likewise. - * dlfcn/dlsym.c: Likewise. - * dlfcn/dlvsym.c: Likewise. - * iconv/gconv.c: Likewise. - -2000-02-23 Ulrich Drepper - - * conform/conformtest.pl (@headers): Add stdlib.h. - * conform/data/stdlib.h-data: New file. - -2000-02-22 Ulrich Drepper - - * dlfcn/dlfcn.h (RTLD_DEFAULT): Don't use NULL. - - * iconv/iconv.h (iconv): Fix prototype. - - * misc/libgen.h: When using gcc using renaming feature to get XPG - definition of basename. - - * misc/search.h (struct entry): Fix type of element data. - - * posix/unistd.h (getpagesize): Declare as const function. - - * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Define SA_NOCLDWAIT. - * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise. - - * signal/signal.h [__USE_XOPEN]: Define uid_t. - (sigstack): Correct type of first parameter. - * sysdeps/generic/sigstack.c (sigstack): Likewise. - * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise. - - * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: New file. Copy of - old sysdeps/unix/sysv/linux/bits/siginfo.h. - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise. - * sysdeps/unix/sysv/linux/bits/siginfo.h [struct siginfo] (si_band): - Change type to `long int'. - - * signal/signal.h [__USE_XOPEN]: Declare sigpause to redirect to - __xpg_sigpause. - * sysdeps/generic/sigpause.c: Define __xpg_sigpause. - * sysdeps/posix/sigpause.c: Likewise. - - * conform/conformtest.pl: Correct bugs. Add more functionality. - * conform/data/dlfcn.h-data: Correct typos. - * conform/data/ftw.h-data: Likewise. - * conform/data/iconv.h-data: Likewise. - * conform/data/nl_types.h-data: Likewise. - * conform/data/search.h-data: Likewise. - * conform/data/semaphore.h-data: New file. - * conform/data/setjmp.h-data: New file. - * conform/data/signal.h-data: New file. - * conform/data/stdarg.h-data: New file. - * conform/data/stddef.h-data: New file. - * conform/data/stdio.h-data: New file. - - * po/de.po: Update from translation team. - -1999-12-31 Martin Buchholz - - * argp/argp-help.c: Fix typos. - * argp/argp.h: Likewise. - * elf/dl-object.c: Likewise. - * elf/dl-open.c: Likewise. - * elf/elf.h: Likewise. - * elf/rtld.c: Likewise. - * iconv/gconv_open.c: Likewise. - * localedata/tst-fmon.data: Likewise. - * localedata/tst-rpmatch.sh: Likewise. - * login/programs/xtmp.h: Likewise. - * manual/arith.texi: Likewise. - * manual/charset.texi: Likewise. - * manual/creature.texi: Likewise. - * manual/llio.texi: Likewise. - * manual/search.texi: Likewise. - * manual/signal.texi: Likewise. - * manual/stdio.texi: Likewise. - * manual/string.texi: Likewise. - * manual/sysinfo.texi: Likewise. - * manual/users.texi: Likewise. - * manual/examples/argp-ex2.c: Likewise. - * manual/examples/argp-ex3.c: Likewise. - * manual/examples/argp-ex4.c: Likewise. - * manual/examples/mkfsock.c: Likewise. - * math/test-fenv.c: Likewise. - * nscd/nscd_gethst_r.c: Likewise. - * nss/test-netdb.c: Likewise. - * posix/regex.c: Likewise. - * scripts/test-installation.pl: Likewise. - * stdlib/canonicalize.c: Likewise. - * stdlib/fmtmsg.c: Likewise. - * string/argz-replace.c: Likewise. + * argp/argp.h: Add __restrict. + * dirent/dirent.h: Likewise. + * elf/dlfcn.h: Likewise. + * grp/grp.h: Likewise. + * iconv/iconv.h: Likewise. + * inet/aliases.h: Likewise. + * libio/libio.h: Likewise. + * libio/stdio.h: Likewise. + * locale/locale.h: Likewise. + * misc/mntent.h: Likewise. + * posix/wordexp.h: Likewise. + * pwd/pwd.h: Likewise. + * resolv/netdb.h: Likewise. + * rt/aio.h: Likewise. + * stdio-common/printf.h: Likewise. + * stdlib/monetary.h: Likewise. + * stdlib/stdlib.h: Likewise. * string/argz.h: Likewise. - * string/bits/string2.h: Likewise. - * sysdeps/generic/glob.c: Likewise. - * sysdeps/generic/setenv.c: Likewise. - * sysdeps/i386/memcmp.S: Likewise. - * sysdeps/posix/waitid.c: Likewise. - * time/tzset.c: Likewise. + * string/envz.h: Likewise. + * string/string.h: Likewise. + * time/time.h: Likewise. -2000-02-21 Ulrich Drepper +1998-12-04 Zack Weinberg - * sysdeps/unix/sysv/linux/i386/syscalls.list: Add - getrlimit@GLIBC_2.0. - Reported by Yoshito Kawada . + * misc/sys/cdefs.h: Only include features.h if _FEATURES_H isn't + defined. gcc's redundant include optimizer isn't clever enough to + prevent a reinclusion here. + Define __restrict to the empty string only if not GCC or + GCC version less than 2.92. - * sysdeps/unix/sysv/linux/powerpc/setrlimit64.c: Removed. - Reported by Kaoru Fukui . +1998-12-03 Andreas Schwab - * elf/elf.h (ELF32_ST_OTHER): Removed. - (ELF64_ST_OTHER): Likewise. + * sysdeps/unix/sysv/linux/configure.in: Fix last change. - * sysdeps/alpha/fpu/fpu_control.h: Update comment. +1998-12-03 Mark Kettenis - * malloc/Makefile (tests): Add tst-valloc. - * malloc/tst-valloc.c: New file. + * time/strptime.c (strptime_internal): Make use of `%C' format + specifier if it is seen together with the `%y' specifier. -2000-02-21 Andreas Jaeger +1998-12-04 Ulrich Drepper - * sysdeps/unix/sysv/linux/bits/in.h (IPV6_RXSRCRT): Renamed to - IPV6_RTHDR; added IPV6_RTHDR_LOOSE, IPV6_RTHDR_STRICT and - IPV6_RTHDR_TYPE_0 to synch with RFC 2292. - * sysdeps/generic/bits/in.h: Likewise. + * po/sk.po: New file. -2000-02-21 Ulrich Drepper +1998-12-03 Scott Bambrough - * po/gl.po: Update from translation team. + * sysdeps/arm/dl-machine.h (dl_start_user): Incorrect address + for _dl_main_searchlist passed to _dl_init_next. - * timezone/antarctica: Update from tzdata2000b. - * timezone/asia: Likewise. - * timezone/australasia: Likewise. - * timezone/europe: Likewise. +1998-12-02 Andreas Schwab - * malloc/malloc.c (vALLOc): Call ptmalloc_init before mEMALIGn - call to initialize malloc_getpagesize. - (pvALLOc): Likewise. + * math/libm-test.c: Expand literal tabs in strings. Normalize + whitespace. -2000-02-20 Ulrich Drepper +1998-12-02 Andreas Schwab - * po/it.po: Update from translation team. + * sysdeps/unix/sysv/linux/sys/fsuid.h: Fix spelling. -2000-02-20 Philip Blundell +1998-12-04 Mark Kettenis - * sysdeps/unix/sysv/linux/arm/mmap64.S: Fix off by one error. + Provide backwards binary compatibility for the Hurd. + * hurd/geteuids.c [PIC && DO_VERSIONING]: Make __getuids a weak + alias for geteuids. + * hurd/Versions [GLIBC_2.0]: Add __getuids, + __hurd_file_name_lookup and _hurd_umask. + [GLIBC_2.1]: Add _hurd_proc_init. + * hurd/Makefile [versioning] (routines): Add compat-20. + (shared-only-routines): Likewise. + * hurd/hurdinit.c (_hurd_new_proc_init): Renamed from + _hurd_proc_init. Use it as the default _hurd_proc_init version + for GLIBC_2.1. + * hurd/compat-20.c: New file. + * mach/Versions [GLIBC_2.0]: Add __vm_allocate. -2000-02-20 Ulrich Drepper +1998-12-02 Ulrich Drepper - * sunrpc/rpc_main.c (checkfiles): Add comment to help translators. + * elf/elf.h: Add R_MIPS_JALR and adjust R_MIPS_NUM appropriately. - * po/de.po: Update from translation team. +1998-12-02 Andreas Jaeger -2000-02-19 Ulrich Drepper + * inet/Versions: Remove inet6_isipv4mapped. - * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Add definition of - _libc_fpreg and _libc_fpstate and use it to define fpregset_t. - * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prgregset_t): Define - using elf_gregset_t. - (prfpregset_t): Define using elf_fpregset_t. +1998-12-02 Philip Blundell - * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Make fpregset_t - definition compatible with definition in 2.1.2 and before. - (struct ucontext): Use fpregset_t. - * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t): Define - as pointer to fpregset_t. + * inet/in6_addr.c (inet6_isipv4mapped): Obsolete, deleted. -2000-02-18 Ulrich Drepper +1998-11-30 Andreas Schwab - * string/bits/string2.h (strnlen): Add cast to prevent warning. + * manual/time.texi (Formatting Date and Time): Fix typo. - * nscd/connections.c (handle_request): Don't abort() if unknown - command is sent. +1998-11-30 Andreas Schwab -2000-02-17 Ulrich Drepper + * sysdeps/unix/sysv/linux/configure.in: Only check for symlinks + when configuring natively. Use autoconf macros instead of rolling + our own. Handle defaulted prefix. - * nscd/hstcache.c (cache_addhst): Don't cache name->record entries - if more than one IP address is available. +1998-12-01 Ulrich Drepper -2000-02-17 Jakub Jelinek + * version.h (VERSION): Bump to 2.0.105. - * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Sync with kernel. + * sysdeps/generic/Dist: Add bits/libc-tsd.h. -2000-02-16 Ulrich Drepper + * sysdeps/mach/hurd/Dist: Add bits/libc-tsd.h. - * locale/programs/charmap.c (charmap_read): Find charmap also in - the standard directory. + * sysdeps/unix/sysv/linux/mips/Dist: Add xstatconv.c. - * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct prototype for - __syscall_mmap2. +1998-11-29 1998 H.J. Lu - * sysdeps/unix/sysv/linux/execve.c: Pretty print. + * libio/genops.c (_IO_unbuffer_write): Renamed from + _IO_unbuffer_all. + (_IO_cleanup): Call _IO_unbuffer_write instead of + _IO_unbuffer_all. - * po/it.po: New file. - * po/pl.po: Update from translation team. +1998-12-01 Ulrich Drepper -2000-02-16 Andreas Jaeger + * intl/localealias.c: Use *_unlocked version of stdio function if + _LIBC_REENTRANT is defined, not _LIBC. - * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix return - value. +1998-12-01 Andreas Jaeger -2000-02-16 Andreas Jaeger + * include/grp.h: Add prototypes for internal functions + __getgrgid_r and __getgrnam_r. - * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c (ftruncate64): Fix - typo. + * inet/herrno.c: Include for prototype, undef h_errno. -2000-02-15 Andreas Jaeger + * resolv/nsap_addr.c: Include for inet_nsap_addr and + inet_nsap_ntoa prototypes. - * sysdeps/i386/fpu/libm-test-ulps: Add one value for AMD K7. +1998-12-01 Ulrich Drepper -2000-02-15 Andreas Jaeger + * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Pass -I option + to gcc to have it find the correct system header. + Patch by Maciej W. Rozycki . - * math/libm-test.inc (nearbyint_test): Add some tests. - (rint_test): Likewise. + * Makefile (postclean): Add sysd-sorted. + Reported by Maciej W. Rozycki . -2000-02-14 Ulrich Drepper +1998-12-01 Thorsten Kukuk - * locale/programs/repertoire.c (repertoire_new_char): NUL - terminated names of character in range. + * sunrpc/auth_des.c: Use new XDR int32 functions for integers. + * sunrpc/rpc/xdr.h: Add IXDR INT32 functions. + * sunrpc/rpc_hout.c: Remove (u_long) casts in defines to avoid + conflicts with new solaris version. + * sunrpc/rpc_main.c: Fix bug in generating Makefile name (malloc + doesn't zero allocated memory). + * sunrpc/rpc_svcout.c: Local variables now starts with a _ to avoid + conflicts with xdr functions. Solves PR libc/877. + * nis/rpcsvc/nis.x: Use always uint32_t. + * nis/rpcsvc/nis.h: Likewise. + * nis/rpcsvc/nis_object.x: Likewise. - * stdio-common/vfprintf.c (vfprintf): Initialize thousands_sep. - Define and initialize use_outdigits in the inner loops. +1998-12-01 Ulrich Drepper - * sysdeps/posix/sigwait.c: Don't look for signal 0 since it does - not exist. Patch by Miloslav Trmac (PR libc/1601). + * math/libm-test.c: Various cleanups. Patch by Zack Weinberg. - * sysdeps/i386/fpu/s_nearbyint.S: Disable raising exception, not - enable it. Patch by Miloslav Trmac (PR libc/1600). - * sysdeps/i386/fpu/s_nearbyintf.S: Likewise. - * sysdeps/i386/fpu/s_nearbyintl.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Use correct type for + parameter. Patch by Christian Gafton. -2000-02-14 Andreas Jaeger + * string/envz.h: Add prototype for envz_remove. + Reported by Andreas Jaeger. - * elf/rtld.c (dl_main): Fix check for references to dynamic linker. +1998-11-30 Mark Kettenis -2000-02-14 Ulrich Drepper + * mach/Versions [libc, GLIBC_2.0]: Add __spin_lock, + __spin_lock_init, __mutex_lock, __mutex_trylock, + __mutex_unlock. + Remove get_priviliged_ports. Moved to hurd/Versions. - * manual/job.texi: Fix typos. - * manual/process.texi: Likewise. - * manual/signal.texi: Likewise. + * hurd/Versions [libc, GLIBC_2.0]: Add _end. This makes the Hurd + brk implementation see the end of the data segment of the program + instead of the shared library. + Add __hurd_errno_location. This inline function is used in user + programs. + Add _hurd_critical_section_lock, _hurd_critical_section_unlock, + _hurd_fd_get, _hurd_port_free, _hurd_port_get, + _hurd_port_locked_get. These inline functions are used by macros + used in mail.local in the Hurd distribution. + Add get_privileged_ports. Moved here from mach/Versions. + Remove __hurd_file_name_lookup, __hurd_file_name_lookup_retry, + __hurd_file_name_split, __hurd_file_name_path_lookup. These are + not used outside libc. - * sysdeps/powerpc/atomicity.h: Remove white space to avoid - compiler warning. +1998-11-30 Mark Kettenis -2000-02-14 Scott Bambrough + * hurd/hurdstartup.c: Really include set-hooks.h with <> instead + of "". - * sysdeps/unix/sysv/linux/arm/ioperm.c (_iopl, _ioperm): Add - Rebel-NetWinder to platform table so _ioperm platform lookup via - /proc/cpuinfo works on later version NetWinders. +1998-11-29 Thorsten Kukuk -2000-02-13 Ulrich Drepper + * sunrpc/Makefile: Add xdr_intXX_t to routines. + * sunrpc/Versions: Add xdr_int8_t, xdr_uint8_t, xdr_in16_t and + xdr_uint16_t. + * sunrpc/rpc/xdr.h: Add prototypes for new xdr_intXX_t functions. + * sunrpc/xdr.c: Remove xdr_int32_t and xdr_uint32_t. + * sunrpc/xdr_intXX_t.c: New, contains all xdr_intXX_t functions. - * locale/programs/charmap.c (charmap_read): Remove erronous free - call. + * nis/Depend: New. + * nis/nss_nis/nis-service.c: Include generated prototype for parser. - * sysdeps/i386/fpu/s_cosf.S: Domain of opcode is not large enough - so test for overflow and handle it. - * sysdeps/i386/fpu/s_sinf.S: Likewise. - * sysdeps/i386/fpu/s_tanf.S: Likewise. - Patch by Miloslav Trmac (PR libc/1563). +1998-11-30 Andreas Jaeger - * iconvdata/Makefile (modules): Add UTF-16. - (distribute): Add utf-16.c. - * iconvdata/gconv-modules: Add entries for UTF-16, UTF-16BE, and - UTF-16LE. - * iconvdata/utf-16.c: New file. - * iconv/gconv_builtin.h: Remove UTF-16 entries here. - * iconv/gconv_simple.c: Remove conversion functions to and from UTF-16. - PR libc/1580 and libc/1581. + * nscd/nscd_getpw_r.c: Include nscd_proto.h for prototypes. - * iconv/skeleton.c: Increment __invocation_counter after every call - to the loops. + * sysdeps/generic/errno-loc.c: Include for prototype, + undefine errno to get variable. -2000-02-12 Andreas Jaeger - - * sysdeps/unix/sysv/linux/i386/msgctl.c (__new_msgctl): Move errno - declaration to place where it's needed to avoid compiler warning. - * sysdeps/unix/sysv/linux/i386/semctl.c (__new_semctl): Likewise. - -2000-02-12 Ulrich Drepper - - * locale/weightwc.h (findidx): Correct find index value. - - * locale/nl_langinfo.h: Add casts to prevent warnings. - - * wctype/iswctype_l.c: Use correct types for mapped data. - * wctype/wcfuncs.c: Add one more comment for clarification. - * wctype/wcfuncs_l.c: Use __ctype32_tolower and __ctype32_toupper. - * wctype/wctrans.c: Likewise. - -2000-02-12 Andreas Jaeger - - * sysdeps/mips/dl-machine.h (__start): Rewritten for 2.2 startup - conventions. - (elf_machine_rel): Use R_MIPS_REL32 for RESOLVE. - (elf_machine_runtime_setup,elf_machine_got_rel): Move at end of - file and make dependend on RESOLVE. - (ELF_MACHINE_RUNTIME_TRAMPOLINE): Fix arguments to _dl_lookup_symbol. - (RESOLVE_GOTSYM): Fix arguments to _dl_lookup_symbol. - -2000-02-11 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/shmctl.c: Fix handling of save_errno. - - * locale/langinfo.h: Make CRNCYSTR a separate entry instead of an - alias for CURRENCY_SYMBOL. - * locale/programs/ld-monetary.c: Add support to write out CRNCYSTR - information. [PR libc/1583]. - -2000-02-08 Shinya Hanataka - - * locale/weightwc.h: Fix problem with collating-element. - - * locale/programs/ld-collate.c (collate_finish): Output wide - character collating-symbol, which has no wide strings. - - * locale/programs/ld-collate.c (collate_output): Fix problem with - wide character collating-element. - -2000-02-09 Andreas Jaeger - - * time/strptime.c (strptime_internal): Fix pointer dereference. - Patch by Juergen Heinzl , closes PR - libc/1591. - -2000-02-08 Jakub Jelinek - - * sysdeps/unix/sysv/linux/alpha/msgctl.c: New file. - * sysdeps/unix/sysv/linux/alpha/semctl.c: New file. - * sysdeps/unix/sysv/linux/alpha/shmctl.c: New file. - * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl, semctl, - shmctl): Make them EXTRA as __old_* and as GLIBC_2.0 symbols. - * sysdeps/unix/sysv/linux/alpha/Makefile: Add oldmsgctl, oldsemctl - and oldshmctl to sysdep-routines. - -2000-02-08 Andreas Jaeger - - * locale/programs/locale.c (write_locales): Fix handling of - whitespace lines. - Fixes PR libc/1588, reported by Miroslav Holcak - . - -2000-02-07 Thorsten Kukuk - - * config.make.in: Add infodir. - * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Sync with kernel - header files. - -2000-02-11 Ulrich Drepper - - * posix/getopt.c: Suppress messages if first character of - optstring is a colon (PR libc/1584). - - * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Define ELF_* constants - and elf_* types to interpret values passed up from the kernel. - Patch by Franz Sirl . - - * locale/nl_langinfo.c: Correct return value in error case. Don't - set errno (PR libc/1582). - * manual/locale.texi: Update to reflect change. - -2000-02-02 Andreas Schwab - - * malloc/Makefile (distribute): Add memprof.h. - * malloc/memprof.c: Move definition of GETSP and GETTIME to new - header memprof.h. - * sysdeps/generic/memprof.h: New file. - * sysdeps/alpha/memprof.h: New file. - * sysdeps/i386/memprof.h: New file. - * sysdeps/m68k/memprof.h: New file. - * sysdeps/mips/memprof.h: New file. - * sysdeps/powerpc/memprof.h: New file. - * sysdeps/sparc/memprof.h: New file. - -2000-02-01 Jakub Jelinek - - * sysdeps/unix/sysv/linux/getresgid.c: Move... - * sysdeps/unix/sysv/linux/i386/getresgid.c: ...here. - (getresgid): Use getresgid32 if __libc_missing_32bit_uids - is -1 or 0. - * sysdeps/unix/sysv/linux/getresuid.c: Move... - * sysdeps/unix/sysv/linux/i386/getresuid.c: ...here. - (getresuid): Use getresuid32 if __libc_missing_32bit_uids - is -1 or 0. - * sysdeps/unix/sysv/linux/i386/getuid.c: Document new tristate - __libc_missing_32bit_uids. - (__getuid): Use 32bit uid syscall if __libc_missing_32bit_uids is - -1 or 0. - * sysdeps/unix/sysv/linux/i386/chown.c (__real_chown): Likewise. - * sysdeps/unix/sysv/linux/i386/fchown.c (__fchown): Likewise. - * sysdeps/unix/sysv/linux/i386/getegid.c (__getegid): Likewise. - * sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Likewise. - * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Likewise. - * sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Likewise. - * sysdeps/unix/sysv/linux/i386/lchown.c (__lchown): Likewise. - * sysdeps/unix/sysv/linux/i386/setfsgid.c (setfsgid): Likewise. - * sysdeps/unix/sysv/linux/i386/setfsuid.c (setfsuid): Likewise. - * sysdeps/unix/sysv/linux/i386/setgid.c (__setgid): Likewise. - * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise. - * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Likewise. - * sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Likewise. - * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Likewise. - * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Likewise. - * sysdeps/unix/sysv/linux/i386/setuid.c (__setuid): Likewise. - * sysdeps/unix/sysv/linux/m68k/chown.c (__chown): Likewise. - * sysdeps/unix/sysv/linux/arm/getresuid.c: New file. - * sysdeps/unix/sysv/linux/arm/getresgid.c: New file. - * sysdeps/unix/sysv/linux/arm/msgctl.c: New file. - * sysdeps/unix/sysv/linux/arm/semctl.c: New file. - * sysdeps/unix/sysv/linux/arm/shmctl.c: New file. - * sysdeps/unix/sysv/linux/i386/msgctl.c: New file. - * sysdeps/unix/sysv/linux/i386/semctl.c: New file. - * sysdeps/unix/sysv/linux/i386/shmctl.c: New file. - * sysdeps/unix/sysv/linux/m68k/getresgid.c: New file. - * sysdeps/unix/sysv/linux/m68k/getresuid.c: New file. - * sysdeps/unix/sysv/linux/m68k/msgctl.c: New file. - * sysdeps/unix/sysv/linux/m68k/semctl.c: New file. - * sysdeps/unix/sysv/linux/m68k/shmctl.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: New file. - * sysdeps/unix/sysv/linux/mips/syscalls.list (getresuid): - Make syscall directly, no stubs needed. - (getresgid): Likewise. - * sysdeps/unix/sysv/linux/powerpc/syscalls.list (getresuid): - Likewise. - (getresgid): Likewise. - -2000-02-11 Ulrich Drepper - - * iconvdata/gconv-modules: Add aliases CN-GB and CN-BIG5. - Reported by Bruno Haible . - - * stdio-common/printf-parse.h (parse_one_spec): Set wide elements. - - * stdio-common/printf_fp.c: Truely support wide characater output. - Finally handle decimal points and thousands separator characters - correctly for multibyte output. - * stdio-common/printf_size.c: Likewise. - * sysdeps/generic/printf_fphex.c: Likewise. - * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise. - - * stdio-common/vfscanf.c: Implement I modifier for numbers to read - locale dependent digits. - - * locale/C-monetary.c (_nl_C_LC_MONETARY): Change wide character - decimal point and thousands separator values to wide characters from - wide character strings. - * locale/C-numeric.c (_nl_C_LC_NUMERIC): Likewise. - - * locale/indigitswc.h: Dereference wcdigits array elements. - -2000-02-03 Jakub Jelinek - - * stdlib/canonicalize.c (canonicalize): Zero terminate - path to copy on error. - -2000-02-01 Cristian Gafton - - * misc/syslog.c (closelog): Reset LogType to SOCK_DGRAM. - -2000-01-31 Philip Blundell - - * sysdeps/arm/fpu/fpu_control.h (_FPU_DEFAULT): Set the AC bit. - -2000-01-31 Andreas Jaeger - - * intl/Makefile (generated): msgs.h is generated. - - * localedata/Makefile (generated-dirs): Add de_DE.437. - -2000-01-31 Jakub Jelinek - - * config.make.in: Allow default localedir to come from configure. - * configure.in: Export libc_cv_localedir. - * sysdeps/unix/sysv/linux/configure.in: For sparc64, put locale - stuff into $exec_prefix/lib/locale because it can be shared between - 32bit and 64bit libraries. - * configure: Rebuilt. - * sysdeps/unix/sysv/linux/configure: Rebuilt. - -2000-01-31 Andreas Jaeger - - * inet/tst-network.c: New file. - * inet/Makefile (tests): Add tst-network. - - * inet/inet_net.c (inet_network): Don't overwrite memory or allow - to great last digits. - -2000-02-10 Andreas Jaeger - - * sysdeps/unix/sysv/linux/mips/clone.S: Rewritten. - Based on a patch by Hiroyuki Machida . - -2000-02-09 Andreas Jaeger - - * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Add new syscalls. - - * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing syscalls. - -2000-02-08 Andreas Jaeger - - * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Fix typo. - - * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): - Make it compile. - - * sysdeps/unix/sysv/linux/mips/bits/termios.h: Remove members - c_ispeed and c_ospeed which are not implemented. - - * sysdeps/unix/sysv/linux/mips/pwrite64.c: Define __libc_* variant - for cancelation wrapper; use __ASSUME_PWRITE_SYSCALL macro. - * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pread.c: Likewise. - -2000-02-05 Andreas Jaeger - - * sysdeps/unix/sysv/linux/mips/bits/mman.h (MS_SYNC): 0 will not - work - set to 4 in accordance with changes made in the Linux/MIPS - kernel. Using MS_SYNC on older kernels with MS_SYNC == 0 doesn't - actually work. - -2000-02-04 Andreas Jaeger - - * sysdeps/unix/sysv/linux/mips/bits/mman.h: Use correct values for - the defines. - -2000-02-03 Andreas Jaeger - - * sysdeps/mips/abort-instr.h: New file. - - * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: New file. - - * sysdeps/unix/sysv/linux/mips/register-dump.h: New file. - - * sysdeps/mips/stackinfo.h: New file. - -2000-02-01 Andreas Jaeger - - * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove duplicates. - - * sysdeps/unix/sysv/linux/mips/lxstat.c: Removed, we can use the - generic function. - * sysdeps/unix/sysv/linux/mips/fxstat.c: Likewise. - - * sysdeps/unix/sysv/linux/mips/init-first.h: New file, from Ralf - Baechle . - - * sysdeps/unix/sysv/linux/mips/brk.c: New file. - - * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Add missing ints. - - * sysdeps/mips/elf/start.S: Rewritten for __libc_start_main. - -2000-01-31 Andreas Jaeger - - * inet/inet_net.c (inet_network): Synch with bind 8.2.2. Fixes PR - libc/1567. - -2000-01-30 Ulrich Drepper - - * sysdeps/alpha/fpu/feholdexcpt.c: Correct return value according to - the standard. - * sysdeps/alpha/fpu/fesetround.c: Likewise. - * sysdeps/arm/fpu/feholdexcpt.c: Likewise. - * sysdeps/arm/fpu/fesetround.c: Likewise. - * sysdeps/generic/feholdexcpt.c: Likewise. - * sysdeps/generic/fesetround.c: Likewise. - * sysdeps/i386/fpu/feholdexcpt.c: Likewise. - * sysdeps/i386/fpu/fesetround.c: Likewise. - * sysdeps/m68k/fpu/feholdexcpt.c: Likewise. - * sysdeps/m68k/fpu/fesetround.c: Likewise. - * sysdeps/mips/fpu/fesetround.c: Likewise. - * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise. - * sysdeps/powerpc/fpu/fesetround.c: Likewise. - * sysdeps/sparc/fpu/feholdexcpt.c: Likewise. - * sysdeps/sparc/fpu/fesetround.c: Likewise. - Patch by Miloslav Trmac . - - * locale/programs/ld-collate.c (struct locale_collate_t): Change - type of plane_size and plane_cnt to uint32_t. - Reported by Jakub Jelinek. - -2000-01-29 Jakub Jelinek - - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h - (SYSCALL_ERROR_HANDLER): Optimize. - (__SYSCALL_STRING, __SYSCALL_CLOBBERS): Define. - Include linux/sparc/sysdep.h. - Use a different guard define than linux/sparc/sysdep.h. - * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Remove - stubs for inlined syscalls. - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h - (SYSCALL_ERROR_HANDLER): Optimize. - (__SYSCALL_STRING, __SYSCALL_CLOBBERS): Define. - Include linux/sparc/sysdep.h. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove - stubs for inlined syscalls. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction): - Use INLINE_SYSCALL. - * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Remove. - * sysdeps/unix/sysv/linux/sparc/sysdep.h: New file. - -2000-01-29 Ulrich Drepper - - * locale/loadlocale.c (_nl_load_locale): Optimize a bit. Pretty - print. Add checks for _POSIX_MMAPPED_FILES where necessary. - (_nl_unload_locale): If locale data was mmapped use munmap. - -2000-01-29 Andreas Jaeger - - * sysdeps/unix/sysv/linux/i386/sys/io.h: Add missing ints, use - _EXTERN_INLINE, compile inline assembler functions only with gcc. - -2000-01-29 Ulrich Drepper - - * catgets/catgets.c (catopen): Handle NL_CAT_LOCALE correctly. - * catgets/gencat.c (read_input_file): Remove messages correctly. - * catgets/open_catalog.c (__open_catalog): Handle trailing colons and - adjacent colons correctly. Correct loops to read territory and - and codeset part. - Patches by Geoff Clare (PR libc/1559). - - * rt/aio_misc.c (get_elem): Assign pointer to new row to correct - pool entry. - Patch by Jens Moeller (PR libc/1558). - -2000-01-28 Jakub Jelinek - - * sysdeps/unix/sysv/linux/arm/Versions: Export the new *rlimit - interface with symbol version GLIBC_2.2. - * sysdeps/unix/sysv/linux/i386/Versions: Likewise. - * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise. - -2000-01-27 Scott Bambrough - - * sysdeps/unix/sysv/linux/arm/Makefile: Backout rlimit changes for - resource directory. - * sysdeps/unix/sysv/linux/arm/syscalls.list: Backout changes for - versioning setrlimit and getrlimit. - -2000-01-27 Andreas Jaeger - - * sysdeps/powerpc/fpu/libm-ulps: Renamed to ... - * sysdeps/powerpc/fpu/libm-test-ulps: ...this. - -2000-01-27 Ruediger Oertel - - * sysdeps/unix/sysv/linux/i386/sys/io.h: Change "::" to ": :" for g++. - -2000-01-29 Ulrich Drepper - - * locale/programs/ld-numeric.c (numeric_output): Increment cnt in - correct place to avoid uninitialized memory passed to writev. - - * locale/programs/ld-monetary.c (STR_ELEM_WC): Fix test for too - long string in definition.Only enable returning wide character - strings if really needed. - * locale/programs/ld-numeric.c (STR_ELEM): Likewise. - - * configure.in: Add check for recent enough sed version. - -2000-01-28 Ulrich Drepper - - * stdio-common/vfprintf.c [COMPILE_WPRINT] (_i18n_itoa_word, - _i18n_itoa): Fix parameter lists. - - * locale/C-monetary.c: Add initializers for new fields. - * locale/C-numeric.c: Likewise. - * locale/Makefile (distribute): Add indigits.h, indigitswc.h, - outdigits.h, and outdigitswc.h. - * locale/langinfo.h: Add _NL_MONETARY_DECIMAL_POINT_WC, - _NL_MONETARY_THOUSANDS_SEP_WC, _NL_NUMERIC_DECIMAL_POINT_WC, - and _NL_NUMERIC_THOUSANDS_SEP_WC. - * locale/indigits.h: New file. - * locale/indigitswc.h: New file. - * locale/outdigits.h: New file. - * locale/outdigitswc.h: New file. - * locale/programs/ld-monetary.c: Write out decimal point and - thousands separator info in wide character form. - * locale/programs/ld-numeric.c: Likewise. - * stdio-common/Makefile (routines): Add _i18n_itoa and _i18n_itowa. - (distribute): Add _i18n_itoa.h and _i18n_itowa.h. - * stdio-common/_i18n_itoa.c: New file. - * stdio-common/_i18n_itoa.h: New file. - * stdio-common/_i18n_itowa.c: New file. - * stdio-common/_i18n_itowa.h: New file. - * stdio-common/printf-parse.h: Parse 'I' flag. - * stdio-common/printf.h (struct printf_info): Add i18n field. - * stdio-common/vfprintf.c: Implement 'I' flag to print using locales' - outdigits. - -2000-01-27 Geoff Keating - - * csu/Makefile ($(objpfx)version-info.h): Don't use echo -n - unnecessarily. - - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_STAT64_SYSCALL, __ASSUME_TRUNCATE64_SYSCALL, - __ASSUME_NEW_GETRLIMIT_SYSCALL): Define on powerpc for kernels >= - 2.3.35. - - * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: New file. - * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: New file. - * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: New file. - * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: New file. - * sysdeps/unix/sysv/linux/powerpc/mmap64.c: New file. - * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: New file. - * sysdeps/unix/sysv/linux/powerpc/setrlimit64.c: New file. - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add - s_fstat64, s_ftruncate64, s_lstat64, s_mmap2, s_stat64, - s_truncate64. - * sysdeps/unix/sysv/linux/powerpc/truncate64.c: New file. - * sysdeps/unix/sysv/linux/powerpc/Versions: New file. - - * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]: Don't access - __curbrk off the small data area register. Reported by - Andrew Haley . - -2000-01-26 Andreas Jaeger - - * Make-dist (+sysdep-tscrs): Add libm-test-ulps. - -2000-01-26 Ulrich Drepper - - * locale/Makefile (distribute): Remove nonexisting files. - * sysdeps/powerpc/Dist: Move FPU specific files to... - * sysdeps/powerpc/fpu/Dist: ...here. New file. - * nss/Makefile: Distribute files for new libdb interface. - * math/Makefile (distribute): Add README.libm-test. - Patch by Andreas Jaeger. - -2000-01-26 David McCann - - * libio/libioP.h [!_G_HAVE_MMAP]: Define ALLOC_WBUF. - -2000-01-25 Andreas Jaeger - - * sysdeps/unix/sysv/linux/configure.in: Set CPPFLAGS for kernel - version check since we're using cpp. - -2000-01-26 Jakub Jelinek - - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getresgid): - Fix a typo. - -2000-01-26 Andreas Jaeger - - * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Avoid warning - about unitialised variable kbuf. - * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise. - * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise. - -2000-01-26 Ulrich Drepper - - * locale/programs/ld-collate.c (check_duplicate): Fix printing of error - messages. - (collate_read): Remove unnecessary `if'. - -2000-01-25 Ulrich Drepper - - * libio/fileops.c (_IO_new_file_open): Recognize ,ccs= in mode string - and load appropriate conversions. - * libio/iofwide.c (__libio_codecvt): Renamed from libio_codecvt and - made global. - * libio/libioP.h: Declare __libio_codecvt. - * manual/stdio.texi: Document ,ccs= option for fopen. - * wcsmbs/wcsmbsload.c (__wcsmbs_named_conv): New function. - * wcsmbs/wcsmbsload.h (__wcsmbs_named_conv): Declare. - - * libio/iofclose.c: Free conversion data if stream was wide-oriented. - - * sysdeps/unix/sysv/linux/i386/Dist: Add sys/io.h. - - * sysdeps/unix/sysv/linux/Dist: Remove sys/io.h. - - * posix/fnmatch_loop.c: Fix problem with FNM_LEADING_DIR. - * posix/testfnm.c: Add a few more tests. Rearrange test output. - -2000-01-25 Andreas Schwab - - * posix/testfnm.c: Add new test case. Use FNM_PATHNAME instead of - FNM_FILE_NAME consistently. - -2000-01-25 Ulrich Drepper - - * posix/fnmatch.c: Define STRCOLL appropriately for the loop - definition. - * posix/fnmatch_loop.c: Undefine STRCOLL. - - * sysdeps/unix/sysv/linux/i386/fxstat.c: Correct code to handle - kernels with stat64 support. - * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise - * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise. - Patch by SL Baur . - - * string/strxfrm.c: Don't count in the terminating NUL byte/word. - -2000-01-24 Paul Eggert - - * posix/fnmatch_loop.c (FCT): Use locale's collating sequence when - deciding whether a character falls within a character range. - -2000-01-24 Paul Eggert - - * posix/fnmatch_loop.c (FCT): When matching [A-Z] and folding case, - lower-case A too. - -2000-01-24 Thorsten Kukuk - - * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove old[gs]etrlimit. - -2000-01-23 Paul Eggert - - * posix/regex.c (GET_UNSIGNED_NUMBER): Allow only ASCII digits. - -2000-01-23 Paul Eggert - - * posix/regex.c (compile_range): When matching a character - range, use the current collating sequence, as POSIX requires. - -2000-01-25 Ulrich Drepper - - * string/argz-stringify.c: Handle case of missing \0 at the end of - the given argz. - -2000-01-24 Ulrich Drepper - - * nscd/hstcache.c: Don't count in mapped IPv6 addresses in total - size anymore. - - * locale/programs/ld-collate.c (collate_output): Also handle - IGNOREd characters in the simple way when generating the multibyte - table. - - * locale/programs/ld-ctype.c (allocate_arrays): Move codeset_name - handling to ... - (ctype_finish): ...here. Check for missing codeset name. - - * sysdeps/unix/sysv/linux/Dist: Add ipc_priv.h. - * sysdeps/unix/sysv/linux/alpha/Dist: Likewise. - -2000-01-24 Jakub Jelinek - - * sysdeps/unix/sysv/linux/bits/ipc.h: Move private decls... - * sysdeps/unix/sysv/linux/ipc_priv.h: ...here. - * sysdeps/unix/sysv/linux/bits/msq.h: Move private decls... - * sysdeps/unix/sysv/linux/msgctl.c: ...here. Include ipc_priv.h. - * sysdeps/unix/sysv/linux/bits/sem.h: Move private decls... - * sysdeps/unix/sysv/linux/semctl.c: ...here. Include ipc_priv.h. - * sysdeps/unix/sysv/linux/bits/shm.h: Move private decls... - * sysdeps/unix/sysv/linux/shmctl.c: ...here. Include ipc_priv.h. - * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Move private decls... - * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: ...here. - * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove private decls. - * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Include ipc_priv.h. - * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise. - * sysdeps/unix/sysv/linux/msgget.c: Likewise. - * sysdeps/unix/sysv/linux/msgrcv.c: Likewise. - * sysdeps/unix/sysv/linux/msgsnd.c: Likewise. - * sysdeps/unix/sysv/linux/semget.c: Likewise. - * sysdeps/unix/sysv/linux/semop.c: Likewise. - * sysdeps/unix/sysv/linux/shmat.c: Likewise. - * sysdeps/unix/sysv/linux/shmdt.c: Likewise. - * sysdeps/unix/sysv/linux/shmget.c: Likewise. - -2000-01-24 Jakub Jelinek - - * sysdeps/unix/sysv/linux/arm/bits/resource.h: New file. - * sysdeps/unix/sysv/linux/arm/Makefile: Remove oldsetrlimit64.c. - * sysdeps/unix/sysv/linux/i386/Makefile: Likewise. - * sysdeps/unix/sysv/linux/i386/Dist: Likewise. - * sysdeps/unix/sysv/linux/arm/Versions: Remove - setrlimit64@GLIBC_2.1.3. - * sysdeps/unix/sysv/linux/i386/Versions: Likewise. - * sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: Remove. - * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: Likewise. - * sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setrlimit64.c: Likewise. - * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Call __new_getrlimit, - so that setrlimit64@GLIBC_2.1 can report limits above 2G. - * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getrlimit, - setrlimit): Remove syscall stubs, add normal syscalls. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (setrlimit): - Remove syscall stub. - -2000-01-22 Andreas Jaeger - - * localedata/tst-locale.sh: Enable test for de_DE.437. - -2000-01-23 Ulrich Drepper - - * string/Versions: Export __strndup. - -2000-01-23 Philip Blundell - - Add basic support for RPC over IPv6: - * sunrpc/rpc/svc.h (struct SVCXPRT): Use `struct sockaddr_storage' - for remote address. - (svcudp6_create, svcudp6_bufcreate, svctcp6_create): New - prototypes. - * sunrpc/rpc/clnt.h (clnttcp6_create, clntudp6_create, - clntudp6_bufcreate): New prototypes. - * inet/netinet/in.h (bindresport6): Likewise. - * sunrpc/Makefile (routines): Add svc_tcp6, svc_udp6, bindrsvprt6. - * sunrpc/Versions: Add svcfd6_create, svctcp6_create, - svcudp6_create, svcudp6_bufcreate, svcudp6_enablecache, - bindresvport6 for GLIBC_2.2. - * sunrpc/rpc_main.c: Support `tcp6' and `udp6' transport types. - * sunrpc/rpc_svcout.c: Likewise. - * sunrpc/svc_tcp.c (rendezvous_request): Use memcpy rather than - simple assignment when copying addresses. - * sunrpc/svc_udp.c (cache_get): Likewise. - * sunrpc/svc_unix.c (rendezvous_request): Likewise. - * sunrpc/bindrsvprt6.c, sunrpc/clnt_tcp6.c, sunrpc/clnt_udp6.c, - sunrpc/svc_tcp6.c, sunrpc/svc_udp6.c: New files. - -2000-01-05 Philip Blundell - - * sysdeps/unix/sysv/linux/arm/mmap64.S: Correct check for ENOSYS. - -2000-01-23 Andreas Jaeger - - * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Pass right - parameter to fstat calls. - -2000-01-18 Roland McGrath - - * sysdeps/generic/bits/socket.h - (__ss_aligntype, struct sockaddr_storage): Make these like Linux - version, replacing old type name `__ss_align'. - -2000-01-05 Roland McGrath - - * sysdeps/generic/lseek64.c (__libc_lseek64): Renamed from __lseek64. - (__lseek64, lseek64): Make these weak aliases for __libc_lseek64. - * sysdeps/mach/hurd/lseek.c (__libc_lseek): Renamed from __lseek. - (__lseek, lseek): Make these weak aliases for __libc_lseek. - * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Renamed from __fcntl. - (__fcntl, fcntl): Make these weak aliases for __libc_fcntl. - * sysdeps/mach/hurd/open.c (__libc_open): Renamed from __open. - (__open, open): Make these weak aliases for __libc_open. - - * sysdeps/generic/bits/socket.h (enum __socket_type): Remove - trailing comma. - (anonymous enum for MSG_*): Likewise. - (anonymous enum for SO_*): Likewise. - -2000-01-23 Ulrich Drepper - - * string/bits/string2.h: Fix typo (__GNU_SOURCE -> __USE_GNU) - (PR libc/1553). - -2000-01-08 Mark Kettenis - - * sysdeps/mach/hurd/setitimer.c (quantize_timeval): New function. - (setitimer_locked): Use it to quantize the timer values. Use - quantized timer values to check if the timeout changed. - -2000-01-22 Andreas Jaeger - - * sunrpc/rpc/svc.h: Fix description for svc_register. - -2000-01-23 Mark Kettenis - - * inet/rexec.c (rexec_af): Use SA_LEN instead of __libc_sa_len. - -2000-01-22 Thorsten Kukuk - - * sunrpc/xdr_rec.c: Don't set frag_sent if no more data, - fixes part 2 of bug 1549. - * sunrpc/rpc_des.h: Remove unused defines. - -2000-01-22 Mark Kettenis - - * intl/Makefile ($(objpfx)msgs.h): Do $(make-target-directory) first. - -2000-01-22 Thorsten Kukuk - - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove sys/io.h. - * sysdeps/unix/sysv/linux/alpha/Makefile: Add sys/io.h. - * sysdeps/unix/sysv/linux/arm/Makefile: Likewise. - * sysdeps/unix/sysv/linux/i386/Makefile: Likewise. - * sysdeps/unix/sysv/linux/sys/io.h: Move from here ... - * sysdeps/unix/sysv/linux/i386/sys/io.h: ... to here, add inb, outb - and other inline functions for port access. - * sysdeps/unix/sysv/linux/alpha/sys/io.h: Add prototypes for port - access functions. - -2000-01-23 Ulrich Drepper - - * iconv/gconv_simple.c: Fix two problems in UTF-8 decoder. - Patch by Bruno Haible . - -2000-01-05 Roland McGrath - - * sysdeps/mach/hurd/errnos.awk: Rediddle to collect lines and print - them all at the end, eliding the final comma. - * sysdeps/mach/hurd/bits/errno.h: Regenerated. - -2000-01-21 Ulrich Drepper - - * intl/libintl.h: Add format_arg attributes to declarations of new - functions. - - * intl/Makefile (routines): Add dcigettext, dcngettext, dngettxt, - ngettext, and plural. - (distribute): Add plural.y, po2test.sed, and tst-gettext.sh. - (test-srcs): Add tst-gettext. - (before-compile): Add $(objpfx)msgs.h. - Add rules for plural.c and msgs.h generation and running tst-gettext.\ - * intl/Versions [GLIBC_2.2]: Add __dcngettext, dcngettext, dngettext, - and ngettext. - * intl/dcgettext.c: Move most code into dcigettext.c. Add call - dcigettext with appropriate parameters. - * intl/dcigettext.c: New file. - * intl/dcngettext.c: New file. - * intl/dngettext.c: New file. - * intl/ngettext.c: New file. - * intl/gettextP.h (struct expression): Define. - (struct loaded_domain): Add plural and nplurals members. - Add prototypes for new internal functions. - * intl/libintl.h: Declare new functions. Add optimizations for them. - * intl/loadinfo.h: Add new parameter to _nl_find_msg declaration. - * intl/loadmsgcat.c (_nl_load_domain): Search for plural information in - header entry and parse and store the expression. - * intl/plural.y: New file. - * intl/po2test.sed: New file. - * intl/tst-gettext.c: New file. - * intl/tst-gettext.sh: New file. - * manual/message.texi: Document new interfaces. - - * intl/gettext.c: Call __dcgettext directly. - -2000-01-20 Ulrich Drepper - - * manual/getopt.texi (Using the getopt function): Fix description of - return value for format string starting with '-' (PR libc/1551). - Patch by Raúl Núńez de Arenas Coronado - - * sunrpc/clnt_perr.c (rpc_errlist): Fix index for RPC_PROGVERSMISMATCH. - Patch by jens.moeller@westgeo.com (PR libc/1550). - - * locale/programs/ld-collate.c (struct element_t): Add wclast - and compute it where necessary. - (collate_output): Insert indirect references in the right order. - - * math/Makefile (tests): Add test-misc. - * math/test-misc.c: New file. - -2000-01-19 Ulrich Drepper - - * sysdeps/ieee754/ldbl-96/s_modfl.c: Correct handling of arguments - with exponent >31 and < 63 (PR libc/1548). - - * locale/programs/ld-collate.c (output_weightwc): Return index - measured in words, not bytes. Don't write out words for ignored - characters. - (collate_output): Correct various problems with alignment in the - output file. - * locale/weight.h: Adjust for last change in ld-collate.c of adding - alignment padding. - - * stdlib/strfmon.c: Don't report an error if final NUL is at the - end of the buffer. Set errno correctly if floating-point number - would overflow buffer. - - * posix/regex.h: Update comment of RE_SYNTAX_POSIX_MINIMAL_EXTENDED. - - * locale/weight.h (findidx): Little optimization. Correctly return - offset in indirect table. - * locale/programs/ld-collate.c (struct element_t): Add mblast - and compute it where necessary. - (insert_weights): Correctly handle missing weights in ellipsis - expression. - (handle_ellipsis): Correctly enqueue new element. - (collate_output): Insert indirect references in the right order. - -2000-01-18 Ulrich Drepper - - * wcsmbs/mbrtowc.c: Create temporary state object if no output is - written. - * wcsmbs/mbsrtowcs.c: Likewise. - * wcsmbs/wcrtomb.c: Likewise. - * wcsmbs/wcsrtombs.c: Likewise. - - * wcsmbs/wcrtomb.c: Compute result correctly for successful call - with s == NULL. - - * wcsmbs/mbsrtowcs.c: Compute return value correctly after change - in gconv function. - - * wcsmbs/mbrtowc.c: Don't set errno if byte sequence is only - incomplete but correct. - - * locale/programs/charmap.c: NUL-terminate names of generated - entries for ellipsis. - -2000-01-18 Andreas Jaeger - - * sysdeps/unix/sysv/linux/i386/lxstat.c: New file, handles 32bit UIDs. - * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise. - * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Move - _STAT_VER_KERNEL handling up; don't save errno. - * sysdeps/unix/sysv/linux/arm/fxstat.c: New file. - * sysdeps/unix/sysv/linux/arm/lxstat.c: Likewise. - * sysdeps/unix/sysv/linux/arm/xstat.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/fxstat.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/lxstat.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/xstat.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/fxstat.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/lxstat.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/xstat.c: Likewise. - -2000-01-18 Ulrich Drepper - - * iconv/loop.c (COUNT_CONVERTED): Remove macro, comment, and all uses. - Remove done variable and all uses. - * iconv/skeleton.c: Update comment for *written modification. - * iconv/gconv_int.h (__gconv): Update comment. - Reported by Bruno Haible. - -2000-01-18 Bruno Haible - - * posix/fnmatch.c (ISWCTYPE): New macro. - (__wcschrnul): New function. - (BTOWC): New macro. Define it instead of __btowc. - (is_char_class) [!_LIBC]: Fix 'mstate_t' typo. Fix 2nd arg to - wcsrtombs. Call wctype, not __wctype. - * posix/fnmatch_loop.c (FCT): Use ISWCTYPE instead of __iswctype, and - BTOWC instead of __btowc. - -2000-01-18 Andreas Jaeger - - * inet/Versions: Add new functions added on 2000-01-17. - -2000-01-18 Jakub Jelinek - - * dirent/dirent.h (getdentries): Correct prototype to use __off64_t. - -2000-01-18 Ulrich Drepper - - * timezone/antarctica: Update from tzdata2000a. - * timezone/asia: Likewise. - * timezone/australasia: Likewise. - * timezone/backward: Likewise. - * timezone/northamerica: Likewise. - * timezone/southamerica: Likewise. - * timezone/zone.tab: Likewise. - - * nscd/connections.c (dbs): Use - PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP for .lock. - Pretty printing. - - * nscd/hstcache.c (cache_addhst): Don't automatically add IPv6 - address. Suggested by Philip Blundell. - - * posix/TESTS: Fix expected result for test cases with * with no - leading expression. - - * sysdeps/unix/sysv/linux/fstatvfs.c: Move actual code in... - * sysdeps/unix/sysv/linux/internal_statvfs.c: ...here. New file. - * sysdeps/unix/sysv/linux/statvfs.c: Don't use fstatvfs since the - open call would require read permission. - Patch by James Antill . - - * sysdeps/unix/sysv/linux/Dist: Add internal_fnmatch.c. - - * inet/getnameinfo.c: Terminate host name for NI_NOFQDN. - * sysdeps/posix/getaddrinfo.c: Correct modifications done for - PR1515. Patches by Hideaki YOSHIFUJI . - - * posix/regex.h (RE_SYNTAX_POSIX_EXTENDED): Add RE_CONTEXT_INVALID_OPS. - * posix/regex.c (regex_compile): Return appropriate errors for - unterminated brace expressions. Detect invalid characters - in brace expressions. - * posix/bits/posix2_lim.h: Define RE_DUP_MAX correctly. - * sysdeps/posix/sysconf.c: Include regex.h. - Reported by Geoff Clare (PR libc/1522). - -2000-01-17 Ulrich Drepper - - * sysdeps/posix/getaddrinfo.c (gaih_local): If name is given and - AI_NUMERICHOST flag is set, return an error. - Patch by Hideaki YOSHIFUJI . - - * inet/rcmd.c: Implement rcmd_af, rresvport_af, ruserok_af, and - iruserok_af. - * inet/rexec.c: Implement rexec_af. - Patch by Hideaki YOSHIFUJI . - - * resolv/netdb.h: Add declarations of rcmd_af, rexec_af, ruserok_af, - and rresvport_af. - -2000-01-17 Jakub Jelinek - - * sysdeps/unix/sysv/linux/bits/ipc.h: New file. - * sysdeps/unix/sysv/linux/bits/sem.h: New file. - * sysdeps/unix/sysv/linux/bits/shm.h: New file. - * sysdeps/unix/sysv/linux/bits/msg.h: New file. - * sysdeps/unix/sysv/linux/bits/alpha/ipc.h: Update for new ipc. - * sysdeps/unix/sysv/linux/bits/alpha/sem.h: New file. - * sysdeps/unix/sysv/linux/bits/alpha/shm.h: New file. - * sysdeps/unix/sysv/linux/bits/alpha/msg.h: New file. - * sysdeps/unix/sysv/linux/bits/sparc/ipc.h: New file. - * sysdeps/unix/sysv/linux/bits/sparc/sem.h: New file. - * sysdeps/unix/sysv/linux/bits/sparc/shm.h: New file. - * sysdeps/unix/sysv/linux/bits/sparc/msg.h: New file. - - * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): - Renamed from msgctl. - (__new_msgctl): New function. - * sysdeps/unix/sysv/linux/semctl.c (__old_semctl): - Renamed from semctl. - (__new_semctl): New function. - * sysdeps/unix/sysv/linux/shmctl.c (__old_shmctl): - Renamed from shmctl. - (__new_shmctl): New function. - - * sysdeps/unix/sysv/linux/msgget.c: Define __LIBC_IPC_INTERNAL. - * sysdeps/unix/sysv/linux/msgrcv.c: Likewise. - * sysdeps/unix/sysv/linux/semget.c: Likewise. - * sysdeps/unix/sysv/linux/msgsnd.c: Likewise. - * sysdeps/unix/sysv/linux/semop.c: Likewise. - * sysdeps/unix/sysv/linux/shmat.c: Likewise. - * sysdeps/unix/sysv/linux/shmdt.c: Likewise. - * sysdeps/unix/sysv/linux/shmget.c: Likewise. - - * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: New file. - - * sysdeps/unix/sysv/linux/Versions: Add msgctl, semctl, shmctl. - -2000-01-17 Jakub Jelinek - - * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove setres[ug]id. - * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Kill warnings. - * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Define needed - syscalls. - - * sysdeps/unix/sysv/linux/pwrite64.c: Use proper prototype. - * sysdeps/unix/sysv/linux/truncate64.c: Likewise. - - * sysdeps/unix/sysv/linux/kernel-features.h: [gs]etres[ug]id are - available on sparc since 2.3.39. - - * sysdeps/unix/sysv/linux/execve.c: Kill warnings. - -2000-01-17 Jakub Jelinek - - * sysdeps/unix/sysv/linux/i386/chown.c (__syscall_chown): Use proper - prototype. - (__real_chown): Return EINVAL if owner or group are out of the range - -1U .. 65534. - * sysdeps/unix/sysv/linux/i386/lchown.c (__lchown): Likewise. - * sysdeps/unix/sysv/linux/i386/fchown.c (__fchown): Likewise. - * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Return - EINVAL if ruid, euid or suid are out of the range -1U .. 65534. - * sysdeps/unix/sysv/linux/i386/setresgid.c (__setresgid): Similarly. - * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Simplify. - * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Likewise. - * sysdeps/unix/sysv/linux/m68k/chown.c (__syscall_chown): Use proper - prototype. - Don't include non-existant header. - (__chown): Return EINVAL if owner or group are out of the range - -1U .. 65534. - * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setresuid, - setresgid): Inherit standard linux/syscalls.list definitions. - * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Remove. - * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Remove. - * sysdeps/unix/sysv/linux/syscalls.list (setresgid): Provide - __setresgid symbol. - -2000-01-17 Ulrich Drepper - - * locale/iso-639.def: Update Hebrew, Yiddish, and Indonesian entry - from 1989 change in ISO 639. - -2000-01-12 Andreas Jaeger - - * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): New - function; needed for 32bit uid support. - - * sysdeps/unix/sysv/linux/i386/xstat.c: New file, handles 32bit - uids correctly. - -2000-01-17 Ulrich Drepper - - * intl/locale.alias: Add entries for galician. - - * locale/programs/ld-ctype.c (get_character): If tok_ucs4 found, first - try to get sequence from charmap with Uxxxxxxxx name. - (charclass_ucs4_ellipsis): Likewise. - (charclass_charcode_ellipsis): Allow byte sequence missing. - (read_writestring): Free allocated memory in case of an error. - (set_class_defaults): Don't search repertoire map for wide character - default values; we know it's UCS4. - - * locale/programs/repertoire.c (repertoire_find_value): Just return an - error if no repertoire map was loaded. - (repertoire_find_symbol): Likewise. - (repertoire_find_seq): Likewise. - - * posix/fnmatch.c: Put internal_fnmatch in separate file. Include - twice, to define singlebyte and multibyte version. - (fnmatch): Differentiate between singlebyte and multibyte locale and - call appropriate internal function. - * posix/fnmatch_loop.c: New file. - * posix/Makefile (distribute): Add fnmatch_loop.c. - - * locale/programs/repertoire.c (repertoire_read): Don't print - error message when repertoire map is missing. - (repertoire_complain): Print error message for missing map, but only - once. - * locale/programs/repertoire.h (repertoire_complain): Add prototype. - - * locale/programs/linereader.c (get_string): Prefer getting names - from charseq entries. Try finding Uxxxxxxxx names in charmap - before trying to map from repertoire. - -2000-01-16 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/getgroups.c: Fix missing brace - error in last change. - * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise. - - * stdlib/longlong.h: Fix typo in last patch. - -2000-01-12 Andreas Jaeger - - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS): - Added for Linux 2.3.39+. - - * sysdeps/unix/sysv/linux/getresgid.c: Support 32bit UIDs and - 32bit GIDs. - * sysdeps/unix/sysv/linux/getresuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setfsuid.c: Include + instead of for prototype. * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise. - * sysdeps/unix/sysv/linux/setegid.c: Likewise. - * sysdeps/unix/sysv/linux/arm/chown.c: New file. - * sysdeps/unix/sysv/linux/arm/fchown.c: New file. - * sysdeps/unix/sysv/linux/arm/geteuid.c: New file. - * sysdeps/unix/sysv/linux/arm/getegid.c: New file. - * sysdeps/unix/sysv/linux/arm/getuid.c: New file. - * sysdeps/unix/sysv/linux/arm/getgid.c: New file. - * sysdeps/unix/sysv/linux/arm/lchown.c: New file. - * sysdeps/unix/sysv/linux/i386/fchown.c: New file. - * sysdeps/unix/sysv/linux/i386/getegid.c: New file. - * sysdeps/unix/sysv/linux/i386/geteuid.c: New file. - * sysdeps/unix/sysv/linux/i386/getgid.c: New file. - * sysdeps/unix/sysv/linux/i386/getuid.c: New file. - * sysdeps/unix/sysv/linux/i386/lchown.c: New file. - * sysdeps/unix/sysv/linux/m68k/chown.c: New file. - * sysdeps/unix/sysv/linux/m68k/fchown.c: New file. - * sysdeps/unix/sysv/linux/m68k/getegid.c: New file. - * sysdeps/unix/sysv/linux/m68k/geteuid.c: New file. - * sysdeps/unix/sysv/linux/m68k/getgid.c: New file. - * sysdeps/unix/sysv/linux/m68k/getuid.c: New file. - * sysdeps/unix/sysv/linux/m68k/lchown.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: New file. - Based on a patch by Chris Wing . +1998-11-30 Ulrich Drepper -2000-01-14 Jakub Jelinek + * misc/err.h: Correct comments and use protected attribute keywords. + Reported by Joseph Myers . - * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: New file. +1998-11-29 Roland McGrath -2000-01-13 Jakub Jelinek + * malloc/thread-m.h [_LIBC]: Include , and + remove tsd stuff from pthreads/cthreads libc sections. + Use __libc_tsd_define for MALLOC key. + [_LIBC] (tsd_key_t, tsd_key_create): Define to a zero-size type and a + no-op, respectively. + [_LIBC] (tsd_setspecific, tsd_getspecific): Use __libc_tsd_get/set. - * sysdeps/generic/backtrace.c: Include signal.h which - sigcontextinfo.h headers are used to expect. - * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h - (register_dump): Fix a typo in the printout. - Avoid using reg_window, so that asm/ptrace.h is not necessary. - * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h - (ADVANCE_STACK_FRAME): Likewise. + * elf/dl-error.c: Include . + Use __libc_tsd_define for DL_ERROR key. + (tsd_setspecific, tsd_getspecific): Rewritten using __libc_tsd_get/set. - * stdlib/longlong.h: Avoid using __sparc_v9__ ifdefs. - * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise. - * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise. + * sysdeps/mach/hurd/bits/libc-tsd.h: New file. + * sysdeps/generic/bits/libc-tsd.h: New file. + * Makefile (distribute): Add bits/libc-tsd.h. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Include bits/wordsize.h - to make it clear this file depends on __WORDSIZE. - * sysdeps/unix/sysv/linux/ftruncate64.c (__have_no_truncate64): - Renamed from have_no_truncate64. - * sysdeps/unix/sysv/linux/truncate64.c (__have_no_truncate64): - Likewise. +1998-10-12 Roland McGrath -2000-01-16 Ulrich Drepper + * elf/dl-error.c: Remove kludge to check for ld.so load address. + There is no need if weak undefined symbols are not used in ld.so; + see linuxthreads/ChangeLog for changes to files + linuxthreads/sysdeps/pthread/bits/libc-lock.h and + linuxthreads/sysdeps/pthread/bits/libc-tsd.h. - * Makeconfig (rpath-dirs): Remove db2. - (dbojdir): Remove variable. +1998-11-30 Andreas Jaeger - * locale/programs/locfile.h (handle_copy): Take repertoire map - name as parameter, not pointer to repertoire structure. - * locale/programs/ld-address.c: Change caller. - * locale/programs/ld-ctype.c: Likewise. - * locale/programs/ld-identification.c: Likewise. - * locale/programs/ld-measurement.c: Likewise. - * locale/programs/ld-messages.c: Likewise. - * locale/programs/ld-monetary.c: Likewise. - * locale/programs/ld-name.c: Likewise. - * locale/programs/ld-numeric.c: Likewise. - * locale/programs/ld-paper.c: Likewise. - * locale/programs/ld-telephone.c: Likewise. - * locale/programs/ld-time.c: Likewise. + * sysdeps/i386/bits/string.h (__memset_cc): Fix typo (s->__s). -2000-01-13 Ulrich Drepper + * sysdeps/i386/i486/bits/string.h: Add prototypes for all new + inline functions. + * sysdeps/i386/bits/string.h: Likewise. - * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code generated if - mmap2 is available when compiling but no at runtime. +1998-11-30 Andreas Jaeger -2000-01-12 Ulrich Drepper + * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Remove ipc_kludge. - * iconvdata/iso-ir-165.c: New file. - * iconvdata/iso-ir-165.h: New file. - * iconvdata/Makefile: Add rules to build libISOIR165. +1998-11-30 Andreas Schwab - * Makefile (install): Correct passing -r parameter to ldconfig. + * db2/progs/db_load/db_load.c (main): Avoid -Wparentheses warning. - * iconvdata/gconv-modules: Add aliases ISO-IR-199 and ISO-IR-203. - Reported by Bruno Haible . +1998-09-12 Mark Kettenis -2000-01-11 Andreas Schwab + * sysdeps/mach/hurd/dl-sysdep.c: Do not define + __hurd_threadvar_max. Add comment explaining why we define + __hurd_threadvar_stack_offset and __hurd_threadvar_stack_mask here. - * sysdeps/i386/fpu/libm-test-ulps: Adjust some epsilons. +1998-07-29 Mark Kettenis -2000-01-10 Thorsten Kukuk + * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base, + __hurd_sigthread_stack_end, __hurd_sigthread_variables): Define to + prevent inclusion of Hurd signal handling code. + (__libc_write): New function. + (_dl_sysdep_output): Removed. The implementation in + `elf/dl-misc.c' now also works for the Hurd. - * nss/getent.c: Add ipv6 support for hosts. +1998-09-12 Mark Kettenis -2000-01-05 Philip Blundell + * hurd/hurdstartup.c: Do not include hurdmalloc.h; _hurd_startup + does not use any of malloc/realloc/free anymore. Include + set-hooks.h with <> instead of "". - * sysdeps/unix/sysv/linux/arm/Versions: Add getrlimit, setrlimit, - getrlimit64, setrlimit64 for GLIBC_2.1.3. - * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit, - oldsetrlimit. - * sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: New file. - * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise. - * sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise. - * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Likewise. - * sysdeps/unix/sysv/linux/arm/setrlimit.c: Likewise. - * sysdeps/unix/sysv/linux/arm/getrlimit.c: Likewise. +1998-11-29 Roland McGrath - * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource] - (sysdep_routines): Add oldgetrlimit64, oldsetrlimit64. - [subdir=misc] (sysdep_headers): Add sys/elf.h. + * sunrpc/svc_unix.c (__msgread): Move ON local var inside block + within #ifdef SO_PASSCRED. Avoids unused var when no SO_PASSCRED. + * sunrpc/clnt_unix.c (__msgread): Likewise. -2000-01-09 Andreas Jaeger +1998-11-28 Roland McGrath - * manual/install.texi (Tools for Compilation): Update required - compiler version. - (Configuring and compiling): Restore old comments about - configparms; modify to reflect current usage. + * hurd/setuids.c: Renamed to ... + * hurd/seteuids.c: this. + (setuids): Renamed to seteuids. + * hurd/getuids.c: Renamed to ... + * hurd/geteuids.c: this. + (__getuids): Renamed to geteuids, no aliases. + * hurd/hurd.h (geteuids, seteuids): Declare them. + * hurd/Versions: Replace getuids; __getuids with geteuids; seteuids. + * hurd/Makefile (routines): Updated. -2000-01-09 Philip Blundell +1998-11-29 Ulrich Drepper - * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't attempt name - resolution if the hints included AI_NUMERICHOST. + * sysdeps/generic/segfault.c (install_handler): Correct test for + SEGFAULT_HANDLER=all. + Patch by Zack Weinberg. -2000-01-11 Andreas Schwab +1998-11-28 23:23 -0500 Zack Weinberg - * sysdeps/mips/__longjmp.c (__longjmp): Change call to abort into - infinite loop to avoid pulling in stdio in the dynamic linker. - * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise. + * sysdeps/unix/sysv/linux/configure.in: Test for symlinks in + $prefix/include that may be clobbered on installation. -2000-01-10 Andreas Jaeger +1998-11-27 Philip Blundell - * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Follow - change from 1999-10-07 to elf/elf.h and rename EM_MIPS_RS4_BE to - EM_MIPS_RS3_LE. + Fixes to allow compilation with static NSS: + * nss/Makefile: Make explicit the dependency of getent on + libnss_files.a. + [build_static_nss]: Define $(otherlibs) appropriately. + * nss/Depend: Add a dependency on `resolv'. + +1998-11-27 Andreas Jaeger + + Partial support for MIPS ISO C 9x exception handling: + * sysdeps/mips/fclrexcpt.c: New file. + * sysdeps/mips/ftestexcept.c: New file. + * sysdeps/mips/fgetexcptflg.c: New file. + * sysdeps/mips/fesetround.c: New file. + * sysdeps/mips/fegetround.c: New file. + * sysdeps/mips/fegetenv.c: New file. + * sysdeps/mips/fesetenv.c: New file. + * sysdeps/mips/feupdateenv.c: Likewise. + * sysdeps/mips/bits/fenv.h: New file. + +1998-11-28 Andreas Jaeger + + * sysdeps/unix/sysv/linux/mips/bits/signum.h: Remove inclusion of + and add needed symbols from ; bring + in sync with linux specific version. + + Patches by Ralf Baechle for mips-linux: + + * sysdeps/unix/mips/sysdep.S: Define _errno as weak_alias, rewrite + errno declaration. + + * sysdeps/unix/sysv/linux/mips/ustat.c: Use INLINE_SYSCALL instead + of calling __syscall_*. + * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise. + + * sysdeps/unix/sysv/linux/mips/syscalls.list: Update entries. + + * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Add missing SYS_* + constants, correct values according to Linux 2.1.130. + + * sysdeps/unix/sysv/linux/mips/pwrite.c: New file. + * sysdeps/unix/sysv/linux/mips/pwrite64.c: New file. + * sysdeps/unix/sysv/linux/mips/pread.c: New file. + * sysdeps/unix/sysv/linux/mips/pread64.c: New file. + + * sysdeps/mips/Makefile (sysdep_routines): Use += instead of a + :=. + + * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Remove ipc_kludge. + + * sysdeps/unix/sysv/linux/mips/xstatconv.c: New file. + + * sysdeps/unix/sysv/linux/mips/xstat.c: Removed. + + * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: New file. + + * sysdeps/unix/sysv/linux/mips/kernel_termios.h: Add copyright + message, change name of include protection, remove inclusion of + . + + * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h + (old_kernel_sigaction): Define. + (struct kernel_sigaction): Rename sa_handler to k_sa_handler. + + * sysdeps/unix/sysv/linux/mips/bits/time.h: Removed, we can use + the general linux version. + * sysdeps/unix/sysv/linux/mips/bits/stat.h (_STAT_VER_KERNEL): Added. + + * sysdeps/unix/sysv/linux/mips/bits/socket.h: Update file. + +1998-09-03 Philip Blundell + + * sysdeps/arm/bits/endian.h (__FLOAT_WORD_ORDER): Define to big + endian. + * math/math_private.h: Use __FLOAT_WORD_ORDER rather than + BYTE_ORDER. + * string/endian.h: If __FLOAT_WORD_ORDER wasn't defined by + , make it the same as __BYTE_ORDER. + +1998-11-27 Ulrich Drepper + + * math/math.h: Avoid using long double functions in generic macros + if __NO_LONG_DOUBLE_MATH. + + * sysdeps/arm/dl-machine.h: Fix handling of weak undefined symbols + during bootstrapping. + * scripts/config.sub: Add Netwinder specific matches. + Patch by Scott Bambrough . + +1998-11-26 Andreas Schwab + + * Makeconfig ($(common-objpfx)sysd-dirs): Use automatic variables + if possible. + ($(common-objpfx)sysd-sorted): Likewise. + +1998-11-27 Andreas Jaeger + + * sysdeps/libm-ieee754/e_log.c (__ieee754_log): Add declaration of + local variables t1,t2 only if needed. + + * sysdeps/libm-ieee754/e_atan2.c: Added braces to avoid compiler + warnings. + * sysdeps/libm-ieee754/s_truncf.c (__truncf): Likewise. + * sysdeps/libm-ieee754/s_trunc.c (__trunc): Likewise. + + * sysdeps/mips/mul_1.S (Loop): Add closing comment to avoid + warning. + +1998-11-27 Andreas Jaeger + + * math/math.h: Add brace to correct #if expression. + +1998-11-26 Philip Blundell + + Undo change of 1998-11-12: + * sysdeps/unix/sysv/linux/netlink/netlink.h: Deleted. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove + netlink/netlink.h. + * sysdeps/unix/sysv/linux/Dist: Likewise. + +1998-11-22 Thorsten Kukuk + + * nis/nis_print.c (nis_print_entry): Changes to match Solaris output. + +1998-11-26 Ulrich Drepper + + * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): New defined macro. + (elf_machine_got_rel): Remove scope variable. Use scope from the map. + Don't modify _dl_global_scope_end in the end. + (__dl_runtime_resolv): Also use scope from the map. * sysdeps/mips/mips64/dl-machine.h: Likewise. + * elf/dl-runtime.c: Don't define fixup and profile_fixup if + ELF_MACHINE_NO_PLT is defined. + * sysdeps/mips/sys/ucontext.h: New file. + Patches by kaz Kojima . - * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Remove greg_t, - gregset_t, fpregset_t, and NGREG definitions. +1998-11-26 Andreas Jaeger - * sysdeps/mips/Implies: Add wordsize-32. + * sysdeps/generic/pselect.c (__pselect): Change interface, + set/restore sigmask. - * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Add missing - int's. + * misc/sys/select.h: Change declaration according to Stevens' Unix + Network Programming. + * include/sys/select.h (__pselect): Likewise. + Reported by [PR libc/872]. - * sysdeps/unix/sysv/linux/mips/sys/acct.h: Remove K&R support, add - missing int's. + * include/fpu_control.h: New file, contains __setfpucw + declaration. - * sysdeps/unix/sysv/linux/mips/bits/errno.h: Remove K&R support. - * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise. - * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise. + * sysdeps/generic/fpu_control.h: Remove __setfpucw declaration, + it's an internal symbol. + * sysdeps/alpha/fpu/fpu_control.h: Likewise. + * sysdeps/arm/fpu/fpu_control.h: Likewise. + * sysdeps/i386/fpu_control.h: Likewise. + * sysdeps/m68k/fpu_control.h: Likewise. + * sysdeps/powerpc/fpu_control.h: Likewise. + * sysdeps/sparc/sparc32/fpu/fpu_control.h: Likewise. + * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise. -2000-01-09 Philip Blundell +1998-11-25 Ulrich Drepper - * sysdeps/arm/dl-machine.h (CLEAR_CACHE): System calls clobber R0. - (dl_platform_init): Allow _dl_platform to be NULL. + * version.h (VERSION): Bump to 2.0.104. - * sysdeps/unix/sysv/linux/arm/sysdep.h (UNDOARGS_5): Fix error in +1998-11-25 Mark Kettenis + + * libio/bits/stdio.h (fread_unlocked): Add missing parentheses + around parameter n. + +1998-11-24 Andreas Schwab + + * time/tzfile.c (__tzfile_read): Fix comment. + +1998-11-24 Andreas Schwab + + * Makerules (build-shlib): Pass -O1 down to linker to get + optimized shared libraries. + +1998-11-24 Andreas Schwab + + * Makeconfig ($(common-objpfx)sysd-dirs): Cope with no Subdirs + file. Strip "-" from inhibited subdir name. Combine into a + single awk program. + ($(common-objpfx)sysd-sorted): Fix sed command. + +1998-11-25 Roland McGrath + + * sysdeps/mach/hurd/i386/init-first.c (init): Restored as inline fn. + Use constant _HURD_THREADVARS_MAX for temporary array size. + + * Makeconfig ($(common-objpfx)sysd-sorted): Use @ instead of / as sed + s separator, since $(..) might contain a /. + +1998-11-23 Andreas Jaeger + + * configure.in (mips): Fix typo (Replace ,, by ;;). + + * libio/Versions: Clean up entries. + +1998-11-23 Ulrich Drepper + + * sysdeps/i386/fpu/bits/mathinline.h: Add optimizations for lrint + and llrint. + +1998-11-21 Andreas Jaeger + + * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Removed. There are too + many differences between the Linux 2.0 and 2.1 versions of this + file and it's too difficult to convert all calls. The file should + only be needed by the ipfw program which has to take care of the + correct kernel version and include files. + + * sysdeps/unix/sysv/linux/Dist: Remove netinet/ip_fw.h. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise. + +1998-11-23 Ulrich Drepper + + * Makeconfig: Don't read sysd-sorted unless sysd-dirs is read. + Patch by Zack Weinberg. + + * math/bits/mathcalls.h: Adjust comments. Remove gamma_r prototype. + + * sysdeps/i386/fpu/bits/mathinline.h: Make log2 only available if + __USE_ISOC9X is defined. Provide rint optimization. + +1998-11-21 H.J. Lu + + * libio/Versions (_IO_popen, _IO_proc_open, _IO_proc_close, + popen, pclose): Add to GLIBC_2.1. + + * libio/Makefile (routines): Add oldiopopen and oldpclose. + (shared-only-routines): Likewise. + + * libio/pclose.c (pclose): Make it default for GLIBC_2.1. + * libio/iopopen.c (_IO_proc_open, _IO_popen, popen, + _IO_proc_close): Likewise. + + * libio/iolibio.h (_IO_new_popen, _IO_old_popen, __new_pclose, + __old_pclose): New prototypes. + + * libio/libioP.h (_IO_new_file_jumps): Removed. + (_IO_old_proc_jumps): Added. + (_IO_new_proc_open, _IO_old_proc_open): New prototypes. + + * libio/oldiopopen.c: New file. + + * libio/oldpclose.c: New file. + +1998-11-22 Thorsten Kukuk + + * nss/Makefile: Build and install getent. + * nss/getent.c: New, get entries from administrative database. + +1998-11-22 Roland McGrath + + * sysdeps/mach/hurd/i386/init-first.c (init): Provide temporary storage + for the per-thread variables of the main user thread to make it + possible to use malloc as soon as _hurd_preinit_hook has been run. + For cthreads, copy values to new stack from there. + For non-cthreads, malloc threadvar array here and copy from temp space. + (init1): No longer initialize threadvars here. + (doinit1): Made static void at top level. + (init): Folded into [PIC] _init or [!PIC] doinit1, since GCC cannot + inline a function that uses dynamic auto arrays. + +1998-11-20 Ulrich Drepper + + * version.h (VERSION): Bump to 2.0.103. + + * aclocal.m4 (LIBC_PROG_BINUTILS): Also add AR and RANLIB using the + same method. + * configure.in: Don't define AR and RANLIB here. + + * inet/gethstbyad_r.c: Define NEED__RES_HCONV and POSTPROCESS for + host name res_hconf code. + * inet/gethstbynm_r.c: Likewise. + * nss/getXXbyYY_r.c: Include resolv/res_hconf.h if NEED__RES_HCONF + is defined. Call res_hconf_init if necessary. If POSTPROCESS is + defined execute the code. + * resolv/Makefile (routines): Add res_hconf. + (headers): Add res_hconf.h. + * resolv/res_hconf.c: Pretty print. + * resolv/res_hconf.h: Likewise. + +1998-11-20 Ulrich Drepper + + * sysdeps/generic/bits/byteswap.h: Fix typos in non-GCC + definitions. Reported by Scott Bambrough . + +1998-11-20 1998 Andreas Schwab + + * math/libm-test.c: Raise some epsilons a bit. + +1998-11-20 Andreas Schwab + + * Makeconfig ($(common-objpfx)sysd-sorted): Fix portability problems. + +1998-11-20 Ulrich Drepper + + * Makefile (distribute): Add scripts/gen-sorted.awk. + +1998-11-19 Ulrich Drepper + + * posix/regex.c (regex_compile): Handle extra long class names + correctly. + +1998-11-19 Geoff Keating + + * elf/rtld.c (_dl_start): Handle weak undefined symbols in ld.so + correctly. + +1998-11-19 Ulrich Drepper + + * misc/error.c: Undo last change. + + * ctype/Versions: Add _tolower and _toupper. + +1998-11-19 Thorsten Kukuk + + * sunrpc/svc_unix.c (readunix): Check for POLLERR, POLLHUP and + POLLNVAL. + +1998-11-19 Ulrich Drepper + + * Makeconfig: Add comment to all-subdirs definition. + Add rule to generate sysd-sorted. Include this file and and set + subdirs value to $(sorted-subdirs). + * scripts/gen-sorted.awk: New file. + * Make-dist (+tsrcs): Add Depend. + * nscd/Depend: New file. + * nss/Depend: New file. + * rt/Depend: New file. + +1998-11-18 Ulrich Drepper + + * sysdeps/unix/bsd/poll.c (__poll): Add code to extend sets if any + passed file descriptor exceeds the size determined by + getdtablesize. + + * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Update + from inline version in bits/socket.h. + + * sysdeps/unix/sysv/linux/bits/socket.h: Define __cmsg_nxthdr as + inline function only is __USE_EXTERN_INLINES is defined. + + * time/strftime.c (my_strftime): Make code a bit clearer. + Patch by Paul Eggert . + + * io/Makefile (CFLAGS-ftw.c): Removed. + + * manual/errno.texi: Change the short text for ENODEV to + "No such device". + +1998-11-18 Andreas Schwab + + * io/Makefile (tests): Make sure that the test program has an + explicit directory part. + +1998-11-18 Andreas Schwab + + * configure.in: Fix last change. + +1998-11-18 Thorsten Kukuk + + * sunrpc/Makefile (routines): Add create_xid. + + * sunrpc/clnt_tcp.c: Use non-guessable xid. + * sunrpc/clnt_udp.c: Likewise. + * sunrpc/clnt_unix.c: Likewise. + * sunrpc/pmap_rmt.c: Likewise. + * sunrpc/create_xid.c: New, create non-guessable xid. + + * sunrpc/svc_tcp.c: Remove patch from 1998-06-15, use poll instead + of select. + * sunrpc/svc_unix.c: Use poll instead of select. + +1998-11-17 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sleep.c (__sleep): Make Unix98 compliant + by removing SIG_IGN handler for SIGCHLD if necessary. + Patch by H.J. Lu . + + * stdio-common/printf_fphex.c (__printf_fphex): Correct printing + of denormalized numbers. + +1998-10-06 Geoff Keating + + * sysdeps/powerpc/dl-machine.h (elf_machine_load_address): Suppress + another parentheses warning, make nano-optimisation. + + * sysdeps/powerpc/dl-machine.h (_dl_runtime_resolve): Preserve + saved LR on stack so _mcount works. + (_dl_prof_resolve): Likewise. + * sysdeps/powerpc/register-dump.h: Print FPRs. Adjust for correct + signal handler calling convention. + * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Adjust for + correct signal handler calling convention---more like x86 linux and + mklinux, less like linux-ppc versions between 2.1 and 2.1.126. + +1998-11-17 Ulrich Drepper + + * configure.in: Correct allowed makeinfo version. + +1998-11-17 Philip Blundell + + * sysdeps/generic/bits/mathdef.h: Fix typo. + +1998-11-17 Geoff Keating + + * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Prototype the syscall + under the right name (squish warning). + * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise. + +1998-11-17 Geoff Keating + + * stdio-common/_itoa.c (_itoa): Add redundant parentheses to + prevent warnings. + +1998-11-16 Ulrich Drepper + + * intl/locale.alias: Change `japanese' alias to match X11R6's. + Add `japanese.euc' alias. + + * manual/Makefile (%.info): Set LANGUAGE and LC_ALL explicitly to C + before running makeinfo. + + * math/Makefile (libm-routines): $(strip) entire value. + + * nss/nss_db/db-XXX.c (internal_setent): Rewrite to avoid warning. + +1998-10-24 H.J. Lu + + * libio/libio.h (_IO_cookie_io_functions_t): Protect with __USE_GNU. + (_IO_cookie_file): Likewise. + +1998-11-16 Philip Blundell + + * inet/netinet/icmp6.h: Correct naming of constants. + +1998-11-16 Ulrich Drepper + + * sysdeps/unix/opendir.c: Use o_directory_works differently. Treat + zero value as uninitialized so that variable can go into .bss. + + * dirent/opendir-tst1.c: Print error strings to stdout. + + * sysdeps/unix/sysv/linux/mmap64.c: New file. Empty. + * sysdeps/unix/sysv/linux/syscalls.list: Add mmap with mmap64 alias. + * sysdeps/unix/sysv/linux/arm/mmap.S: Add mmap64 alias. + * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise. + +1998-11-16 Andreas Schwab + + * time/tzfile.c (__tzfile_read): Check that types[i].isdst is in + range. + +1998-11-16 Ulrich Drepper + + * libio/bits/stdio.h (fread_unlocked): Do handle zero size and number. + (fwrite_unlocked): Likewise. + +1998-11-16 Andreas Schwab + + * libio/bits/stdio.h (fread_unlocked): Don't evaluate non-constant + twice. Don't bother handling zero size. + (fwrite_unlocked): Likewise. + +1998-11-15 Andreas Schwab + + * configure.in: Fix regex for makeinfo version string. + +1998-11-15 Andreas Schwab + + * sunrpc/rpc_sample.c (write_sample_server): Avoid -Wparentheses + warning. + * sunrpc/rpc_svcout.c (write_program): Likewise. + +1998-11-15 Andreas Schwab + + * time/Makefile (CFLAGS-test_time.c): Add -Wno-format. + +1998-11-16 Ulrich Drepper . + +1998-11-16 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Undo last change. -2000-01-08 Ulrich Drepper +1998-11-13 Ulrich Drepper - * nscd/connections.c (handle_request): Handle systems without - SO_PEERCRED. - (nscd_run): Likewise. + * stdio-common/vfscanf.c: Don't return -1 in case of an invalid + format, just stop. -2000-01-07 Andreas Jaeger + * version.h (VERSION): Bump to 2.0.102. - Add support for Berkeley db 3.0.x and merge db support: - * nss/nss_db/dummy-db.h (struct db30): New. - (struct dbc30): New. - Added DB30* flags. + * stdio-common/tstdiomisc.c (t2): Update test case for last scanf + change. + * stdio-common/scanf7.c (main): Likewise. - * nss/makedb.c: Move all database routines to db-open.c. - (main): Adjust to interface changes. - Load database early to initialize version dependend variables. +1998-11-13 Ulrich Drepper - * nss/db-open.c: Merge database routines from makedb.c. - Define version dependend constansts as variables. - (load_db): Check also for db 3. - (internal_setent): Call dbopen. - (db_cursor): New function from makedb; handles db 3 now. - (dbopen): New function from makedb; handles db 3. + * stdio-common/vfscanf.c: Return EOF for invalid format + characters. - * nss/nss_db/db-XXX.c: Use db_notfound since the value is - different in different DB versions. + * version.h (VERSION): Bump to 2.0.101. - * nss/nss_db/nss_db.h: Add version dependend constants as - variables, add exportet interfaces from db-open.c. + * Makerules (Versions.all): Generate this file from all Versions.def + files. + (sysd-versions): Use Versions.all instead of Versions.def. - * nss/Makefile ($(objpfx)makedb): Link against db-open. +1998-11-13 Philip Blundell -2000-01-07 Ulrich Drepper + * sysdeps/arm/fpu/bits/setjmp.h (__JMP_BUF_SP): Correct value. + Reported by Scott Bambrough. - * misc/error.c: Don't use `defined _LIBC', only `_LIBC'. - Reported by Jim Meyering. +1998-11-11 Andreas Schwab - * time/strftime.c: Pretty printing. + * locale/programs/config.h: Define HAVE_STRING_H for xstrdup.c. -2000-01-07 Andreas Jaeger +1998-11-13 Ulrich Drepper - * manual/socket.texi (Host Names): Fix example. - Reported by Marco Budde . + * libio/bits/stdio.h: Correct and improve fread_unlocked and + fwrite_unlocked optimizations. -2000-01-06 Ulrich Drepper + * time/tzfile.c (__tzfile_read): Set __tzname based on last names + in time not to last entries in the file. + (__tzfile_compute): Likewise. Fix for PR libc/863. - * localedata/Makefile (install-locales): Create locale directory - if it does not exist. + * timezone/Makefile: Generate GB timezone data for test. + * timezone/tst-timezone.c: More tests for DST switching time (disabled + for now). - * locale/programs/charmap.c (charmap_read): Call lr_open here and - not in parse_charmap. Try also the directories on the I18NPATH. - (parse_charmap): Change accordingly. +1998-11-13 Andreas Schwab -2000-01-05 Ulrich Drepper + * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Remove + d0 from clobber list. - * sysdeps/unix/sysv/linux/i386/Dist: Distribute oldgetrlimit64.c - and oldsetrlimit64.c. +1998-11-12 Ulrich Drepper - * sysdeps/unix/sysv/linux/arm/Dist: Distribute sys/elf.h and - sys/procfs.h. + * inet/netinet/in.h: Add a few more IPPROTO_* macros. - * manual/texinfo.tex: Updated from latest official version. + * libio/Makefile (headers): Add bits/stdio.h. + * libio/iofread_u.c: Undefine fread_unlocked before definition. + * libio/iofwrite_u.c: Undefine fwrite_unlocked before definition. + * libio/stdio.h: Move optimizations into ... + * libio/bits/stdio.h: ...here. New file. - * debug/Makefile (distribute): Add frame.h. + * libio/iofread.c: Pretty print. -2000-01-05 Philip Blundell +1998-11-12 Mark Kettenis - * sysdeps/arm/frame.h: New file. - * sysdeps/generic/frame.h: Likewise. - * sysdeps/generic/segfault.c (struct layout): Delete definition; - include the above file instead. - * sysdeps/generic/backtrace.c (struct layout): Likewise. - (__backtrace): Use ADVANCE_STACK_FRAME. - * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h - (ADVANCE_STACK_FRAME): New macro. - (GET_FRAME): Apply above to returned value. + * sysdeps/gnu/bits/utmpx.h: Protect members of struct + __exit_status with `__'. Rename pad member of struct utmpx to + __unused. + (RUN_LVL): Define unconditionally. + * sysdeps/gnu/bits/utmp.h: Rename pad member of struct utmp to + __unused. - * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Add `fault_address'. +1998-11-12 Philip Blundell -2000-01-05 Ulrich Drepper + * sysdeps/unix/sysv/linux/netlink/netlink.h: New file, support for + Linux AF_NETLINK sockets (needed since the kernel version is + unusable). + * sysdeps/unix/sysv/linux/Makefile: Install it. + * sysdeps/unix/sysv/linux/Dist: Distribute it. - * sysdeps/posix/getaddrinfo.c: Add support for SOCK_RAW. - Patch by YOSHIFUJI Hideaki . +1998-11-12 Andreas Jaeger - * io/ftw.c (process_entry): Cache object dev/inode only for - directories (PR libc/1514). + * timezone/tst-timezone.c (tests): Add entry for America/Chicago + to test for bug in PR libc/863. -2000-01-05 Andreas Schwab +1998-11-12 Ulrich Drepper - * locale/programs/charmap.c (charmap_read): Fix typo. + * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Cleanup comment. -2000-01-05 Ulrich Drepper + * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Rename macro + parameter lazy to do_lazy to avoid clashing with struct member name. + Reported by Ralf Baechle . - * locale/programs/charset.c: Removed. +1998-11-10 H.J. Lu - * iconvdata/Makefile: Add rules for ISO-8859-16 module. - * iconvdata/gconv-modules: Likewise. - * iconvdata/iso8859-16.c: New file. + * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine NR_OPEN + if it is defined in . -2000-01-05 Andreas Schwab +1998-11-09 13:07 -0500 Zack Weinberg - * iconv/iconv_prog.c (process_block): Add cast to avoid warning. + * include/protocols/routed.h: Include the real header with + a full path from the top of the source tree. + * include/protocols/rwhod.h: Likewise. + * include/protocols/talkd.h: Likewise. + * include/protocols/timed.h: Likewise. -2000-01-05 Andreas Jaeger + * timezone/Makefile: Don't include z.ZONE files if no_deps + is set, not if avoid-generated is set. - * intl/locale.alias: Add lithunian entry. - Reported by Kestutis Kupciunas , PR libc/1507. +1998-11-12 Ulrich Drepper -2000-01-04 Ulrich Drepper + * signal/signal.h: Undo last change. Get definition of timespec + if __USE_POSIX199309. - * locale/programs/stringtrans.c: Removed. - * locale/programs/stringtrans.h: Removed. - * locale/programs/linereader.c: Remove #include of stringtrans.h. + * string/bits/string2.h (__strpbrk_c2): Add intermediate cast to + size_t to prevent gcc warning when using -Wqual-cast. + (__strpbrk_c3): Likewise. + Suggested by Alan Curry . - * locale/findlocale.c (_nl_find_locale): Don't try using mmap is - _POSIX_MAPPED_FILES is not defined. +1998-11-11 Roland McGrath - * locale/findlocale.c (_nl_find_locale): Correct memory allocation - for loc_name copy. + * hurd/hurdsig.c (_hurdsig_init): Add assertion that no pending, + unblocked signals are set in the startup masks. - * locale/setlocale.c (new_composite_name): Use _nl_C_name and - _nl_POSIX_name instead of "C" and "POSIX" strings. + * hurd/hurdsig.c (_hurdsig_init): Take new args, INTARRAY and + INTARRAYSIZE. Initialize main thread's sigstate from INIT_SIG* ints. - * ctype/ctype-info.c (__ctype32_tolower): Use _nl_C_CTYPE_tolower. - (__ctype32_toupper): Use _nl_C_CTYPE_toupper. - * locale/C-ctype.c (_nl_C_LC_CTYPE_tolower32): Removed. We can - reuse the _nl_C_LC_CTYPE_tolower table. - (_nl_C_LC_CTYPE_toupper32): Likewise. - (_nl_C_LC_CTYPE): Use normal table to initialize tolower32 and - toupper32 entries. + * hurd/hurd/signal.h: Update _hurdsig_init decl. + * hurd/hurdinit.c (_hurd_proc_init): Take new args, INTARRAY and + INTARRAYSIZE, pass them down to _hurdsig_init. + * hurd/hurd.h: Update _hurd_proc_init decl. - * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISNCTRL bit for - characters >= 0x80. - (_nl_C_LC_CTYPE_class32): Likewise. +1998-11-10 Ulrich Drepper - * rt/aio.h (struct aioinit): Replace one aio_reserved value with - aio_idle_time. - * rt/aio_misc.c: Rewrite to not automatically terminate worker threads - after the operation is done. Let them linger for a user-definable - time. - * rt/aio_cancel.c: Likewise. - Patch by Willian M Shubert . + * math/cabs.c: Replace complex by _Complex. + * math/cabsf.c: Likewise. + * math/cabsl.c: Likewise. + * math/cimag.c: Likewise. + * math/cimagf.c: Likewise. + * math/cimagl.c: Likewise. + * math/conj.c: Likewise. + * math/conjf.c: Likewise. + * math/conjl.c: Likewise. + * math/creal.c: Likewise. + * math/crealf.c: Likewise. + * math/creall.c: Likewise. - * sysdeps/i386/i686/add_n.S: New file. + * sysdeps/alpha/fpu/bits/mathdef.h: Define ISO C 9X stuff only if + included from math.h and __USE_ISOC9X is defined. + * sysdeps/generic/bits/mathdef.h: Likewise. + * sysdeps/generic/i386/fpu/mathdef.h: Likewise. + * sysdeps/generic/m68k/fpu/mathdef.h: Likewise. + * sysdeps/generic/powerpc/bits/mathdef.h: Likewise. + * sysdeps/generic/sparc/fpu/bits/mathdef.h: Likewise. -2000-01-02 Philip Blundell +1998-11-10 Andreas Jaeger - * sysdeps/unix/sysv/linux/arm/ioperm.c: Use sysctl by preference - to obtain port mapping information. Avoid use of mprotect. + * sysdeps/i386/fpu/bits/mathdef.h: Allow direct inclusion by + . + * sysdeps/alpha/fpu/bits/mathdef.h: Likewise. + * sysdeps/generic/bits/mathdef.h: Likewise. + * sysdeps/m68k/fpu/bits/mathdef.h: Likewise. + * sysdeps/powerpc/bits/mathdef.h: Likewise. + * sysdeps/sparc/fpu/bits/mathdef.h: Likewise. -2000-01-04 Ulrich Drepper +1998-11-09 Ulrich Drepper - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Add - definition from 2.3.36. + * extra-lib.mk: Fix typo in last change. -2000-01-04 Andreas Jaeger + * math/complex.h: Include bits/mathdef.h to get __NO_LONG_DOUBLE_MATH + is needed. + Don't define long double functions if __NO_LONG_DOUBLE_MATH is defined. + Don't define `complex' but instead `_Complex'. The later is the + reserved keyword. + * math/bits/cmathcalls.c: Define _Mdouble_complex_ using _Complex, + not complex. - * nss/nss_db/dummy-db.h (struct db24): Add missing field flags. - (struct db27): Add missing fields byteswapped, join and flags; - remove wrong member handleq. - (struct dbc27): Correct lock field. +1998-11-07 Andreas Schwab - * nss/makedb.c: Remove __P. + * manual/libc.texinfo: Remove colon from category name. + * manual/Makefile (dir-add.info): Likewise. -2000-01-04 Andreas Jaeger +1998-11-07 Andreas Schwab - * nss/nss_db/db-open.c (internal_setent): Check for db_open for - success, fix a memory leak and clean up function. + * configure.in: Avoid autoconf bug. -2000-01-04 Ulrich Drepper +1998-10-28 H.J. Lu - * Makefile (install): Pass $(install_root) to ldconfig. - Patch by Akira YOSHIYAMA . + * posix/getopt.h: Add "__" to arguments in prototypes. -2000-01-03 Jakub Jelinek +1998-11-05 H.J. Lu - * soft-fp/op-1.h: Fix division for machines using not normalizing - version of udiv_qrnnd in longlong.h. - * soft-fp/sysdeps/mips/sfp-machine.h: Likewise. - * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Likewise. - * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Likewise. - Patch by Eddie C. Dost . + * libio/iofgets.c (_IO_fgets): Don't report error + if something was read in and errno is set to + EAGAIN. + * libio/iofgets_u.c (fgets_unlocked): Likewise. - * soft-fp/soft-fp.h (QItype, UQItype): New types used by longlong.h. +1998-11-05 Philip Blundell -2000-01-03 Andreas Schwab + * sysdeps/unix/sysv/linux/net/if_packet.h: Don't include kernel + header; it defines too much. Provide a local definition of struct + sockaddr_pkt and a comment advising against its use. - * sysdeps/generic/dl-sysdep.c: Initialize __libc_multiple_libcs, - needed for change in common symbol handing in newer binutils. +1998-11-06 Andreas Schwab -2000-01-03 Ulrich Drepper + * extra-lib.mk: Avoid empty include list. - * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code for running on - kernel without mmap2 syscall. +1998-11-04 Andreas Schwab -2000-01-03 Philip Blundell + * extra-lib.mk: Add support for $(lib)-shared-only-routines. - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MMAP2_SYSCALL, - __ASSUME_TRUNCATE64_SYSCALL, __ASSUME_STAT64_SYSCALL): Define on - ARM for kernels >= 2.3.35. + * elf/Makefile (libdl-routines): Add dlopenold only if doing + versioning. + (libdl-shared-only-routines): New variable. -2000-01-03 Philip Blundell +1998-11-06 Paul Eggert - * sysdeps/unix/sysv/linux/arm/mmap.S: Remove mmap64 alias. - Optimise error handling a little. - * sysdeps/unix/sysv/linux/arm/mmap64.S: New file. + Don't invoke localtime_r or gmtime_r unless it's the GNU C + library's localtime_r and gmtime_r; there are too many buggy + implementations of localtime_r and gmtime_r out there, and + it's not worth keeping track of all the different bugs. -2000-01-03 Andreas Jaeger - - * include/resolv.h: Remove declarations for __ns_name_ntop and - __ns_name_unpack since those are available in resolv/arpa/nameser.h. - -2000-01-03 Andreas Jaeger - - * time/tst-strptime.c (test_tm): Add tests for all fields of - struct tm. - -2000-01-03 Ulrich Drepper - - * string/bits/string2.h (__strsep_g): Don't handle empty __S special. - -2000-01-03 Andreas Jaeger - - * string/tester.c (test_strsep): Add one more test. - -2000-01-03 Philip Blundell - - * string/tester.c (test_mempcpy): New function. - (main): Call it. - (test_memcpy): Test unaligned cases too. - - * sysdeps/arm/bits/string.h (_HAVE_STRING_ARCH_mempcpy): Define. - - * sysdeps/arm/fpu/bits/mathdef.h: New file. - -2000-01-02 Ulrich Drepper - - * posix/Makefile (tests): Add tst-mmap. - * posix/tst-mmap.c: New file. - - * sysdeps/unix/sysv/linux/i386/mmap64.S: Pop registers after mmap2 - call before handling error. - - * sysdeps/unix/sysv/linux/i386/mmap64.S: Handle unaligned offsets. - * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. - - * iconvdata/ksc5601.c (__ksc5601_sym_to_ucs): Add mapping for - 0xa2e6 and 0xa2e7. - (__ksc5601_sym_from_ucs): Add mapping back from U00AE and U20AC. - * iconvdata/ksc5601.h (KSC5601_SYMBOL): Adjust for the two new - mappings. - * iconvdata/testdata/EUC-KR: Add Euro and Registered sign. - * iconvdata/testdata/ISO-2022-KR: Likewise. - - * sysdeps/unix/sysv/linux/llseek.c: Formulate warning message stronger. - - * iconvdata/gconv-modules: Remove BALTIC. It's the same as - ISO-8859-13. - * iconvdata/Makefile (distribute): Remove baltic.c. - (modules): Remove BALTIC. - (gen-8bit-gap-modules): Remove baltic. - * iconvdata/baltic.c: Removed. - - * sysdeps/posix/system.c: Correct return value for LINE == NULL. - - * signal/Versions [GLIBC_2.1.3] (libc): Export __sigsuspend. - - * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Fix - typos (__ASSUME_TRUNCATE64_SYSCALL -> __ASSUME_MMAP2_SYSCALL). - Reported by Philip Blundell . - - * nss/Makefile: Add rules to build makedb. - * nss/nss_db/nss_db.h: Add definitions needed for makedb. - * nss/nss_db/dummy-db.h: Likewise. - * nss/makedb.c: New file. Copied from file in db2, modified to not - depend on being linked against libdb. - -2000-01-01 Ulrich Drepper - - * Makeconfig (all-subdirs): Remove db and db2. - * db/*: Removed. - * db2/*: Removed. - - * nss/nss_db/db-XXX.c: Move internal_setent and internal_endent - functions from here... - * nss/db-alias.c: ...and here... - * nss/db-netgrp.c: ...and here... - * nss/nss_db/db-open.c: ...to here. New file. - * nss/nss_db/dummy-db.h: New file. - * nss/nss_db/nss_db.h: New file. - * nss/Depend: Depend in dlfcn, not db2. - * nss/Makefile (libnss_db-routines): Add db-open. - (distribute): Add nss_db.h dummy-db.h. - (libnss_db.so): Replace libdb dependency by $(libdl). - Based on a patch by Zack Weinberg. - - * locale/programs/ld-ctype.c: Implement rest of transliteration - definition parsing. - * locale/programs/locfile-kw.gperf: New keyword translit_ignore. - * locale/programs/locfile-token.h: Add tok_translit_ignore. - -1999-12-31 Ulrich Drepper - - * locale/programs/ld-collate.c (collate_output): Emit correct - information for collation elements. - Don't write over end of array idx. - * posix/regex.c: Handle also collation elements at end of range. - - * posix/PTESTS: Fix a few typos. - - * posix/bits/posix2_lim.h: Remove _POSIX2_EQUIV_CLASS_MAX. I have - no idea where this came from. - * sysdeps/posix/sysconf.c: Remove _POSIX2_EQUIV_CLASS_MAX handling. - -1999-12-31 Andreas Jaeger - - * libio/strfile.h: Remove K&R compatibility. - * locale/langinfo.h: Likewise. - * locale/localeconv.c (localeconv): Likewise. - * locale/programs/simple-hash.h: Likewise. - * nis/nis_xdr.h: Likewise. - * nis/rpcsvc/nislib.h: Likewise. - * nis/rpcsvc/nis_callback.h: Likewise. - * nis/rpcsvc/nis.h: Likewise. - * nis/ypclnt.c: Likewise. - * nscd/nscd_proto.h: Likewise. - * nscd/nscd.c: Likewise. - * sysdeps/generic/inttypes.h: Likewise. - * sysdeps/gnu/utmpx.h: Likewise. - - * nis/nis_intern.h: Remove K&R compatibility; add missing ints. - * sunrpc/rpcsvc/rusers.x: Likewise. - - * nis/rpcsvc/ypclnt.h: Remove K&R compatibility; reformat. - - * elf/dl-misc.c: Remove __libc_write prototype since it's already - in include/unistd.h. - * elf/dl-profile.c: Likewise. - * elf/dl-load.c: Likewise for __libc_read. - - * elf/dl-profile.c: Remove __P. - * elf/sprof.c: Likewise. - * elf/sln.c: Likewise. - -1999-12-31 Ulrich Drepper - - * locale/langinfo.h: Add constants for wide character collation - symbol table. - * locale/categories.def: Add appropriate entries for collate symbol - table entries. - * locale/C-collate.c: Add initializers for new entries. - Remove commented out code. - * locale/elem-hash.h: New file. - * locale/Makefile (distribute): Add elem-hash.h. - * locale/programs/ld-collate.c: Implement output of collate symbol - table. - - * posix/regex.c: Implement collation class handling. - -1999-12-30 Ulrich Drepper - - * posix/regex.c (regex_compile): Implement equivalence class handling. - -1999-12-30 Geoffrey Keating - - * sysdeps/powerpc/dl-machine.c: Many minor formatting changes. - (OPCODE_LWZU): New macro. - (OPCODE_ADDIS_HI): New macro. - (OPCODE_LIS_HI): New macro. - (__elf_machine_runtime_setup): Change PLT code-generation scheme - for thread safety even with very large PLTs, better efficiency, - and to fix a cache-flushing bug. Also support the Motorola - 8xx processors which have a different cache line size than all - the others. - (__elf_machine_fixup_plt): Likewise. - (__process_machine_rela): Don't use elf_machine_fixup_plt. - -1999-12-30 Ulrich Drepper - - * wcsmbs/wcscoll.c: Use multibyte character version. - * wcsmbs/wcsxfrm.c: Likewise. - * string/strcoll.c: Prepare to be used for the wide character version. - * string/strxfrm.c: Likewise. - * locale/weightwc.h: New file. - -1999-12-30 Geoff Keating - - * sysdeps/powerpc/fpu/bits/fenvinline.h (feraiseexcept): Remove - the (void) casts as now feraiseexcept returns a value. - (feclearexcept): Likewise. - - * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use '%r0', - it interferes with the macros for AIX. - -1999-12-30 Ulrich Drepper - - * locale/programs/ld-collate.c (collate_finish): Always define - weight for UNDEFINED if not defined by the user but don't complain - unless it is needed in the multibyte character table. - (collate_output): Add extra dummy elements in wide char tables in the - same way done for multibyte. Always output undefined entry in - wide character table. - - * locale/Makefile (categories): Remove commented-out old definition. - - * locale/programs/ld-collate.c (insert_value): Don't pass wide string - to new_element if the wide char is not valid. - (handle_ellipsis): Likewise. - (collate_read): It's no problem if the string in the collating element - definition cannot be represented as multibyte or wide char string. - -1999-12-13 Andreas Jaeger - - * resolv/resolv.h: Remove K&R compatibility. - - * resolv/res_libc.c: Move definition of _res after res_init, - res_init should use the threaded specific context. - - * resolv/Makefile (+cflags): Remove -Wno-comment since it's not - needed anymore. - -1999-12-29 Ulrich Drepper - - * locale/langinfo.h: Add constants for wide character collation data. - * locale/categories.def: Add appropriate entries for collate entries. - * locale/C-collate.c: Add initializers for new entries. - * locale/programs/ld-collate.c: Implement output of wide character - tables. - - * locale/programs/ld-ctype.c (allocate_arrays): Change algorithm to - compute wide character table size a bit: it now gives up a bit of - total table size for fewer levels. - - * soft-fp/*: Tons of new files to implement floating-point arithmetic - in software. - Contributed by Richard Henderson, Jakub Jelinek and others. - -1999-12-29 Andreas Jaeger - - * sysdeps/unix/sysv/linux/alpha/sys/io.h: Don't include - ; remove K&R compatibility; add missing ints. - - * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove K&R compatibility, - add missing ints. - - * sysdeps/unix/sysv/linux/sys/io.h: Don't include . - -1999-12-29 Andreas Jaeger - - * manual/getopt.texi (Using Getopt): Document ordering of options. - -1999-12-29 Andreas Jaeger - - * sysdeps/unix/sysv/linux/llseek.c: Emit link time warning for llseek. - Requested by Michael Deutschmann . - -1999-12-14 Andreas Jaeger - - * sysdeps/unix/sysv/linux/scsi/scsi.h: Add new defines from Linux - 2.3.32. - -1999-12-28 Jakub Jelinek - - * elf/sprof.c (load_shobj): Fix error message. - (generate_call_graph): Cast %*s length argument to int. - * locale/programs/localedef.c (construct_output_path): Likewise. - * locale/programs/ld-ctype.c (ctype_finish): Use proper format - specifier. - (ctype_class_new): Likewise. - * locale/programs/ld-time.c (time_finish): Likewise. - * sunrpc/svc_simple.c (register_rpc): Likewise. - * nscd/connections.c (nscd_run, start_threads): Use long instead of - int to avoid cast warnings. - * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l): Kill - warning. - * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Remove unused - variable se. - - * time/strftime.c (my_strftime): Provide wide era string when - requested. - - * sysdeps/sparc/fpu/bits/mathinline.h (__signbit, __signbitl): - Separate into 32bit and 64bit versions. - -1999-12-28 Ulrich Drepper - - * iconvdata/Makefile (modules): Add ISO-2022-CN. - Add link rules for this module. - (distribute): Add iso-2022-cn.c and cns11643l2.h. - * iconvdata/cns11643l2.h: New file. - * iconvdata/iso-2022-cn.c: New file. - * iconvdata/gconv-modules: Add entries for ISO-2022-CN module. - - * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Make string argument - unsigned. - (ucs4_to_cns11643l1): Likewise. - * iconvdata/euc-tw.c: Correct parameter passed to cns11643l1_to_ucs4. - - * iconvdata/iso-2022-kr.c: Remove unnecessary test from conversion - loop to UCS4. - Optimize recognition of escape sequences a bit. - - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove oldgetrlimit - and oldsetrlimit definitions. - -1999-12-27 Ulrich Drepper - - * iconvdata/run-iconv-test.sh: Improve test output a bit to allow - identifying errors more easily. - - * iconvdata/testdata/EUC-CN..UTF8: New file. - * iconvdata/testdata/GBK..UTF8: New file. - - * iconvdata/gbk.c: In mapping from UCS4: don't crash for undefined - mappings. Fix last patch. - * iconvdata/TESTS: Add GBK. - * iconvdata/testdata/GBK: New file. - - * iconvdata/gb2312.h (ucs4_to_gb2312): Fix mapping of 0x0101, - 0x2312, and 0x2500..0x254b. - * iconvdata/TESTS: Add EUC-CN. - * iconvdata/testdata/EUC-CN: New file. - - * iconvdata/gbgbk.c: New file. - * iconvdata/Makefile (modules): Add GBGBK. - (distribute): Add gbgbk.c. - * iconvdata/gconv-modules: Add entries for GBGBK modules. - - * iconvdata/euc-cn.c: Fix comment. - - * iconvdata/gbk.c: Optimize the switch statement in the conversion - to GBK a bit. - - * locale/programs/charmap.c (charmap_new_char): Recognize special - character names Uxxxx and Pxxxx and initialize the UCS4 value from - the value of xxxx. - -1999-12-17 Andreas Jaeger - - * stdlib/Versions: Export __cxa_atexit and __cxa_finalize. - -1999-12-16 Mark Mitchell - - * stdlib/Makefile (routines): Add cxa_atexit and cxa_finalize. - * stdlib/exit.h (flavor): Add ef_cxa. - (exit_function): Add cxa variant. - * stdlib/exit.c (exit): Handle ef_cxa exit functions. - * stdlib/cxa_atexit.c: New file. - * stdlib/cxa_finalize.c: New file. - -1999-12-27 Ulrich Drepper - - * iconvdata/gb2312.c: Update mapping of GB 0x212c from latest - Unicode tables. - -1999-12-26 Ulrich Drepper - - * sysdeps/unix/sysv/linux/fxstat64.c: Rename have_no_stat64 to - __have_no_stat64. - * sysdeps/unix/sysv/linux/lxstat64.c: Likewise. - * sysdeps/unix/sysv/linux/xstat64.c: Likewise. - - * sysdeps/unix/sysv/linux/mips/bits/resource.h: Remove inclusion - of . - -1999-12-26 Philip Blundell - - * sysdeps/unix/sysv/linux/arm/syscalls.list: Remove vm86. Set - argument count for `syscall' to 7. - * sysdeps/unix/sysv/linux/arm/sysdep.h: Add support for syscalls - with more than five arguments. - (DOARGS_5, UNDOARGS_5): Don't corrupt the calling stack frame. - -1999-12-26 Ulrich Drepper - - * locale/programs/ld-collate.c (collate_output): Don't start with empty - extrapool and indirectpool obstacks since we need the offsets to be - nonzero. - (collate_read): Call load_locale, not find_locale. - * locale/programs/ld-ctype.c (ctype_finish): If LC_CTYPE category - wasn't defined in the file also initialize repertoire if possible. - * locale/programs/ld-time.c (time_finish): Fix message string. - * locale/programs/linereader.c: Cast parameters of lr_error to - correct type to prevnet warning. - * locale/programs/localedef.c (load_locale): New file. - * locale/programs/localedef.h: Add its prototype. - * locale/programs/repertoire.c (repertoire_new_char): Add missing - parameters to lr_error call. - - * localedata/Makefile: Enable running tests again. - * localedata/tests/test2.def: Adjust syntax to new specification. - * localedata/tests/test3.def: Likewise. - * localedata/tst-trans.sh: Redirect output of program into file. - - * string/strcoll.c: Fix many error in new implementation to make it - pass (at least) the test suite. - - * locale/Makefile: Don't link localedef statically anymore. - - * locale/ld-collate.c (struct element_t): Add field is_character and - use it to distinguish real character from collating elements and - symbols. - (new_element): Take new parameter to initialize is_character. Change - all callers. - (handle_ellipsis): Use is_character field to make sure ellipsis is - only used with characters. - (collate_read): Fix reading of collating elements. - - * string/strxfrm.c: Correct loop end detection and memory access - in the little optimization at the end. - - * locale/programs/ld-monetary.c (monetary_finish): Correct code to - emit warnings. Provide default value for mon_decimal_point. - - * locale/programs/ld-collate.c (collate_finish): Don't crash if this - category wasn't defined. - (collate_output): Likewise. - - * locale/programs/ld-address.c: Don't emit message about not defined - category if be_quiet. - * locale/programs/ld-ctype.c: Likewise. - * locale/programs/ld-identification.c: Likewise. - * locale/programs/ld-measurement.c: Likewise. - * locale/programs/ld-messages.c: Likewise. - * locale/programs/ld-monetary.c: Likewise. - * locale/programs/ld-name.c: Likewise. - * locale/programs/ld-numeric.c: Likewise. - * locale/programs/ld-paper.c: Likewise. - * locale/programs/ld-telephone.c: Likewise. - * locale/programs/ld-time.c: Likewise. - - * locale/programs/locfile.c (write_locale_data): Correct memory - allocation for fname. - -1999-12-25 Ulrich Drepper - - * locale/programs/ld-collate.c (read_directions): Fix a few messages. - (collate_finish): Test that position is used in all sections for - a level or in none. - - * string/strxfrm.c: Optimize a bit. We don't need the highest bit - of the index returned by findidx. - - * string/strcoll.c: Complete rewrite for new collate implementation. - * wcsmbs/wcscoll.c: Don't use strcoll.c, implement dummy implementation - locally. - - * locale/C-collate.c (_nl_C_LC_COLLATE): Add one more entry for the - indirect table. - * locale/langinfo.h: Likewise. - * locale/categories.def: Likewise. Remove reference to postload - functions. - * locale/lc-collate.c (_nl_postload_collate): Removed. Also remove - __collate_tablemb, __collate_weightmb, and __collate_extramb. - * locale/localeinfo.h: Remove declaration for removed variables above. - Remove prototype for _nl_get_era_entry. - * locale/weight.h: Complete rewrite for new collate implementation. - * locale/programs/ld-collate.c: Many changes to make output file - usable in strxfrm/strcoll. - * string/strxfrm.c: Complete rewrite for new collate implementation. - * wcsmbs/wcsxfrm.c: Don't use strxfrm.c, implement dummy implementation - locally. - -1999-12-25 Shinya Hanataka - - * locale/programs/ld-ctype.c (allocate_arrays): Correctly assign - transformation values for chars >255. - * wctype/wctrans.c: Return pointer unmodified. - -1999-12-24 Ulrich Drepper - - * sysdeps/posix/system.c (__libc_system): Check whether command - processor is available if LINE is NULL. Don't return immediately - if wait call returned with EINTR. - Patches by Geoff Clare (PR libc/1497 and libc/1498). - -1999-12-23 Ulrich Drepper - - * locale/programs/ld-monetary.c (monetary_finish): Add cast to - prevent warning. - - * locale/programs/ld-collate.c: Implement writing out multibyte - collation data. - - * locale/setlocale.c (setlocale): Allow setting LC_COLLATE again. - * locale/localeinfo.h: Declare variables only for currently implemented - collate functionality. Remove FORWARD_CHAR and ELLIPSIS_CHAR. - * locale/lc-collate.c: Define variables only for currently implemented - functionality. - * locale/langinfo.h: Define symbols only for currently implemented - functionality. - * locale/categories.def: Define elements for currently implemented - functionality. - * locale/C-collate.c: Comment out definitions of arrays with symbol - name definitions etc. - (_nl_C_LC_COLLATE): Update for currently defined information. - - * intl/libintl.h: Remove dcgettext macro definition. - * intl/gettextP.h: Declare _nl_msg_cat_cntr. - - * locale/iso-4217.def: Add NAD. Remove a few obsolete entries. - - * sysdeps/generic/glob.c (glob): Pass alternate file access functions - also in recursive call. Patch by Joe Orton . - -1999-12-22 Jakub Jelinek - - * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Use proper type - for __fenv_stfsr argument. - * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add - truncate64, ftruncate64, fstat64, lstat64, stat64 and mmap2. - Remove ugetrlimit. - * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h - (XSTAT_IS_XSTAT64): Define. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Add - __libc_lseek64, __libc_pread, __libc_pread64, __libc_pwrite - and __libc_pwrite64. - Remove oldgetrlimit and oldsetrlimit. - * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat64.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat64.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/xstat64.c: New file. - - * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): Pass the buf - pointer to the syscall, not address of that pointer. - * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise. - * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise. - (__syscall_stat64): Provide proper prototype. - - * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Share - has_no_truncate64 between truncate64 and ftruncate64. - * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise. - - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL, - __ASSUME_STAT64_SYSCALL): Define on Sparc for kernels >= 2.3.35. - -1999-12-22 Andreas Jaeger - - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __libc_lseek64, - __libc_pread, __libc_pread64, __libc_pwrite and __libc_pwrite64. - -1999-12-21 Shinya Hanataka - - * locale/lc-time.c: Extend structure era_entry. - * locale/localeinfo.h: Likewise. - * locale/lc-time.c: Handle '-' direction used in locale's era part - properly. - * time/strptime.c: Likewise. + * time/mktime.c (__EXTENSIONS__): Remove. + (): No need to include. * time/strftime.c: Likewise. - * locale/programs/ld-time.c: Consider negative values in era part - of locale as B.C.. - * time/strptime.c (strptime_internal): Merged Yoshiyama's - %E[CyY] implementation. -1999-12-21 Akira Yoshiyama + * time/mktime.c (_POSIX_THREAD_SAFE_FUNCTIONS, HAVE_LOCALTIME_R): + Remove. + (my_mktime_localtime_r): Renamed from localtime_r; all uses changed. + Base it on localtime unless _LIBC. - * time/strptime.c (strptime_internal): Fix segV bugs of a couple - of recursive() call. - * time/strptime.c (strptime_internal): Implement `%EC',`%Ey',`%EY' - parsing. + * time/strftime.c (my_strftime_gmtime_r): Renamed from gmtime_r; + all uses changed. + (my_strftime_localtime_r): Renamed from localtime_r; all uses changed. + Base them on localtime/gmtime if not _LIBC. -1999-12-21 Ulrich Drepper +1998-11-07 Ulrich Drepper - * sysdeps/arm/dl-machine.c (CLEAR_CACHE): Fix a2 value. - Patch by Scott Bambrough . + * sysdeps/generic/isastream.c: Always return 0 unless it is an invalid + file descriptor. This makes this function actually usable. + Proposed by Mark Kettenis . -1999-12-21 Andreas Schwab +1998-11-05 Ulrich Drepper - * sysdeps/unix/sysv/linux/pread.c: Fix typo. + * math/math.h: Unconditionally include bits/mathdef.h. Declare + long double functions only if __NO_LONG_DOUBLE_MATH is not + defined. + * sysdeps/generic/bits/mathdef.h: Define only if __USE_ISOC9X. + Define __NO_LONG_DOUBLE_MATH. + * sysdeps/m68k/fpu/bits/mathdef.h: Define only if __USE_ISOC9X. + * sysdeps/i386/fpu/bits/mathdef.h: Likewise. - * include/unistd.h: Declare __libc_lseek. + * elf/rtld.c: Add a few __builtin_expects where they will improve + a lot. -1999-12-21 Andreas Jaeger +1998-11-05 Ulrich Drepper - * stdlib/longlong.h: Remove __P. + * version.h (VERSION): Bump to 2.0.100. -1999-12-21 Andreas Jaeger + * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Fix fldl -> fld. - * sysdeps/powerpc/fpu/libm-ulps: New file. + * sysdeps/libm-i387/s_fma.S: Optimize a bit. + * sysdeps/libm-i387/s_fmaf.S: Likewise. -1999-12-21 Ulrich Drepper +1998-11-04 Andreas Schwab - * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Include sys/ucontext.h - and remove definitions for NREGS, greg_t, gregset_t, and fpregset_t. + * libio/genops.c (_IO_least_marker): Add additional parameter + end_p replacing fp->_IO_read_end. + (save_for_backup): Likewise. All callers changed. Use _IO_size_t + and _IO_ssize_t instead of int. + (_IO_switch_to_main_get_area): Remove use of _IO_save_ptr. + (_IO_switch_to_backup_area): Likewise. Fix comments. + (_IO_seekmark): Undo last change. + (_IO_default_pbackfail): Correct use of backup area. + * libio/libio.h (_IO_FILE_complete): Remove _IO_save_ptr. -1999-12-21 Andreas Jaeger +1998-11-04 19:47 -0500 Zack Weinberg - * sysdeps/unix/sysv/linux/m68k/putpmsg.c: Add missing #. - * sysdeps/unix/sysv/linux/mips/putpmsg.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: Likewise. - * sysdeps/unix/sysv/linux/mips/getmsg.c: Add missing #. - * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/getpmsg.c: Add missing #. - * sysdeps/unix/sysv/linux/mips/getpmsg.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: Likewise. + * configure.in: Search for install-info and substitute it. + Determine whether install-info is the buggy Debian version + that doesn't understand INFO-DIR-SECTION. + * config.make.in: Add INSTALL_INFO and OLD_DEBIAN_INSTALL_INFO + to be substituted. + * manual/Makefile: If OLD_DEBIAN_INSTALL_INFO, give + install-info the --section argument it needs to work properly. + (dir-add.texinfo): Delete target. + (dir-add.info): Generate this directly. Sort entries. Put a + colon at the end of the INFO-DIR-SECTION line. + * manual/libc.texinfo: Put a colon at the end of the + @dircategory line. -1999-12-21 Ulrich Drepper +1998-11-05 Paul Eggert - * sysdeps/unix/sysv/linux/i386/getmsg.c: New file. - * sysdeps/unix/sysv/linux/i386/getpmsg.c: New file. - * sysdeps/unix/sysv/linux/i386/putmsg.c: New file. - * sysdeps/unix/sysv/linux/i386/putpmsg.c: New file. - * sysdeps/unix/sysv/linux/m68k/getmsg.c: New file. - * sysdeps/unix/sysv/linux/m68k/getpmsg.c: New file. - * sysdeps/unix/sysv/linux/m68k/putmsg.c: New file. - * sysdeps/unix/sysv/linux/m68k/putpmsg.c: New file. - * sysdeps/unix/sysv/linux/mips/getmsg.c: New file. - * sysdeps/unix/sysv/linux/mips/getpmsg.c: New file. - * sysdeps/unix/sysv/linux/mips/putmsg.c: New file. - * sysdeps/unix/sysv/linux/mips/putpmsg.c: New file. - * sysdeps/unix/sysv/linux/powerpc/getmsg.c: New file. - * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: New file. - * sysdeps/unix/sysv/linux/powerpc/putmsg.c: New file. - * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: New file. - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getpmsg and - putpmsg. + * time/mktime.c (__mktime_internal): Adopt the traditional (and + problematic) notion of what to do when tm_isdst doesn't match. -1999-12-20 Ulrich Drepper +1998-11-04 Andreas Schwab - * sysdeps/unix/sysv/linux/lxstat64.c: Include "kernel-features.h" - before testing for __ASSUME_STAT64_SYSCALL. - * sysdeps/unix/sysv/linux/fxstat64.c: Likewise. - * sysdeps/unix/sysv/linux/xstat64.c: Likewise. + * posix/PTESTS: Fix spelling. -1999-12-20 Andreas Schwab +1998-11-04 Ulrich Drepper - * manual/install.texi (Running make install): Clearify that - install_root should be an absolute file name. + * misc/efgcvt_r.c (fcvt_r): Remove code which tries to use libm + functions. Reduce error in computing normalized value by multiplying + factor in loop and compute result in one step. + Reported by Christian Gafton. -1999-12-20 Ulrich Drepper + * sysdeps/libm-i387/e_hypot.S: New file. + * sysdeps/libm-i387/e_hypotf.S: New file. - * iconv/gconv.c (__gconv): Deal with outbuf being NULL. +1998-11-04 Andreas Jaeger - * iconv/iconv.c (iconv): Allow omitting output buffer if no input - buffer is given to place conversion descriptor in initial state. - * iconvdata/gconv-modules: Correct aliases CSPC850MULTILINGUAL and - CSPC862LATINHEBREW. - * iconvdata/gconv-modules: Add aliases GB2312 and csGB2312 - (according to IANA registry). - Reported by Bruno Haible . + * elf/dlopenold.c: Compile only if DO_VERSIONING is also defined. - * iconvdata/johab.c: Correct completely broken conversion to JOHAB. +1998-11-03 H.J. Lu - * locale/categories.def: Remove most of the collate definitions. - * locale/langinfo.h: Comment out corresponding definitions. - * locale/programs/locale-spec.c (locale_special): Don't recognize the - collate names yet. - * locale/programs/ld-collate.c: Correct and optimize computation of - weights. Set up list of all definitions correctly. Start writing - function to generate output file. + * libio/fileops.c (new_do_write): New function. + (_IO_new_do_write): Call new_do_write. + (_IO_new_file_xsputn): Likewise. - * locale/programs/ld-ctype.c (allocate_arrays): Increment counter in - loop to compute default mapping. + * libio/oldfileops.c (old_do_write): New function. + (_IO_old_do_write): Call old_do_write. + (_IO_old_file_xsputn): Likewise. -1999-12-19 Ulrich Drepper +1998-11-04 Ulrich Drepper - * sysdeps/unix/sysv/linux/powerpc/pread.c: Define __libc_* variant for - cancelation wrapper. + * time/mktime.c (__mktime_internal): Correct last change. We must + stop searching for the right isdst value before stepping to the + initial value. + + * malloc/malloc.c: Make sure calloc really returned zeroed memory. + Patch by Wolfram Gloger . + +1998-11-02 16:12 -0500 Zack Weinberg + + * sysdeps/generic/bits/signum.h: Define signals with their + historical numbers when those are in the 1-15 range and + consistent across platforms. + Define compatibility aliases (SIGIOT, SIGCLD) if __USE_MISC. + Define SIG_DFL, SIG_IGN, SIG_ERR as numeric constants cast + appropriately instead of with fake function declarations + (would cause link errors). + If __USE_UNIX98, define SIG_HOLD. + +1998-10-29 H.J. Lu + + * sysdeps/unix/sysv/linux/bits/sigaction.h (sigaction): Use + union only if __USE_POSIX199309 is defined. + + * misc/sys/select.h (pselect): Declared only if __USE_GNU is + defined. + +1998-11-03 Ulrich Drepper + + * time/mktime.c (__mktime_internal): Handle broken down times + around the time of the DST switches more correctly. + +1998-11-02 Ulrich Drepper + + * elf/Makefile (libdl-routines): Add dlopenold. + * elf/Versions [libdl, GLIBC_2.1]: Add dlopen. + * elf/dl-open.c (_dl_open): Check whether RTLD_LAZY or RTLD_GLOBAL + is set and bounce otherwise. + * elf/dlopen.c: Rename function to __dlopen_check and make version + named dlopen. + * elf/dlopenold.c: New file. + +1998-11-02 Ulrich Drepper + + * elf/Versions [libc, GLIBC_2.01]: Add _dl_global_scope_alloc. + * elf/dl-open.c (_dl_global_scope_alloc): Move definition to + * elf/dl-deps.c: ...here. + * elf/dl-open.c (dl_open_worker): Call _dl_map_object_deps with + new parameter and expect result. Remove code handling RTLD_GLOBAL. + Add return value of _dl_map_object_deps to + _dl_main_searchlist->r_nlist. + * elf/dl-deps.c (_dl_map_object_deps): Change to return value. + If we parameter GLOBAL is nonzero add object and dependencies to + the global scope. + * elf/ldsodefs.h: Adapt prototype for _dl_map_object_deps. + * elf/rtld.c (dl_main): Call _dl_map_object_deps with new parameter. + Mark all objects as in global scope. + * elf/dl-object.c (_dl_new_object): Initialize l_global to zero. + + * sysdeps/unix/sysv/linux/bits/sockunion.h: Add Econet support. + + * sysdeps/unix/sysv/linux/i386/sysdep.h: Add .L prefix to symbols + used in macro magic. + +1998-11-02 Andreas Jaeger + + * sysdeps/unix/sysv/linux/netatalk/at.h: Include + before to make sockaddr_at available to + . + + * posix/glob.h: Remove __P from parameter lists of declarations. + +1998-11-02 Andreas Jaeger + + * time/tzset.c (tz_compute): Remove unused parameter timer. + Change caller. + +1998-11-02 Mark Kettenis + + * sysdeps/generic/bits/types.h (__ipc_pid_t): New typedef. + +1998-11-02 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Remove + unnecessary test and add cast. + +1998-11-02 Andreas Jaeger + + * posix/getconf.c: Add initializer SYSCONF for CHARCLASS_NAME_MAX. + + * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Remove unused + parameter fd. + * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise. + +1998-11-02 Mark Kettenis + + * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access + fds_bits member. + (__FDMASK): Use __fd_mask instead of unsigned long int in cast. + +1998-10-31 Richard Henderson + + * math/Makefile (gmp-objs): Add udiv_qrnnd. + + * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL*): New. + (inline_syscall*): New. + * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL): New. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Kill __syscall* bits. + +1998-10-31 Ulrich Drepper + + * aclocal.m4 (LIBC_PROG_FOO_GNU): Name output file using -o to + avoid ld test generating an unwanted file. + + * posix/PTESTS: Remove comment about incorrect test (it is correct). + +1998-10-30 Thorsten Kukuk + + * sunrpc/Versions: Add xdr_uint32_t and xdr_int32_t. + * sunrpc/pmap_rmt.c: Initialize clnt_stat variable. + * sunrpc/rpc/auth_des.h: Use uint32_t for time values. + * sunrpc/rpc/xdr.h: Add INT32 support. + * sunrpc/xdr.c: Implement xdr_int32_t and xdr_uint32_t . + + * nis/nis_call.c: Changes for new 64bit clean NIS+ interface. + * nis/nis_callback.c: Likewise. + * nis/nis_creategroup.c: Likewise. + * nis/nis_defaults.c: Likewise. + * nis/nis_intern.h: Likewise. + * nis/nis_lookup.c: Likewise. + * nis/nis_ping.c: Likewise. + * nis/nis_print.c: Likewise. + * nis/nis_table.c: Likewise. + * nis/nis_util.c: Likewise. + * nis/nis_xdr.c: Likewise. + * nis/rpcsvc/nis.h: Likewise. + * nis/rpcsvc/nis.x: Likewise. + * nis/rpcsvc/nis_callback.h: Likewise. + * nis/rpcsvc/nis_object.x: Likewise. + * nis/rpcsvc/nislib.h: Likewise. + + * nis/rpcsvc/yp.h: Remove casts to (u_long). + * nis/rpcsvc/yp_prot.h: Likewise. + * nis/rpcsvc/ypupd.h: Likewise. + * nis/ypclnt.c: Change %ld to %d in sprintf. + +1998-10-29 Andreas Schwab + + * manual/locale.texi (Formatting Numbers): Fix strfmon examples. + +1998-10-28 Andreas Schwab + + * sysdeps/generic/bits/select.h (__FD_ZERO): Change '\0' to plain + 0, __fd_mask is usually not a char. + +1998-10-30 Andreas Jaeger + + * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Allow + compilation on systems without rt_* syscalls (e.g. on Linux 2.0). + * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise. + * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. + * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise. + * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise + * sysdeps/unix/sysv/linux/sigqueue.c: Likewise. + * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise. + + * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Allow + compiling on systems without rt_sigaction syscall. + * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction): + Likewise. + +1998-10-30 Andreas Jaeger + + * time/strptime.c (HERE_D_FMT): Fix typo. + Reported by Claus Heine , PR libc/842. + +1998-10-30 Ulrich Drepper + + * catgets/Makefile (tests): Add rules to run gencat on test1.msg. + (generate): Add test1.cat and test1.h. + (distribute): Add test1.msg. + * catgets/test1.msg: New file. + + * catgets/gencat.c: Do a better job in initializing dynamic + memory [PR libc/844]. + +1998-10-30 18:11 Ulrich Drepper + + * iconv/gconv_conf.c (__gconv_read_conf): Don't define as + internal_function since it is called through a pointer. + * iconv/gconv_db.c (free_derivation): Likewise. + * iconv/gconv_int.h: Adjust prototype od __gconv_read_conf. + + * posix/wordexp.c: Add internal_function to parse_backtick definition. + * rt/aio_misc.c: Add internal_function to __aio_free_request, + __aio_find_req, __aio_find_req_fd, and __aio_enqueue_request + definitions. + * rt/aio_notify.c: Add internal_function to __aio_notify_only and + __aio_notify definitions. + * wcsmbsload.c: Add internal_function to __wcsmbs_load_conv definition. + +1998-10-30 Ulrich Drepper + + * Makerules (build-shlib): Add -O to generate optimized shared + objects. + +1998-10-30 11:15 Ulrich Drepper + + * sysdeps/libm-i387/e_fmod.S: Remove invalid operand size suffix. + * sysdeps/libm-i387/e_fmodf.S: Likewise. + * sysdeps/libm-i387/e_fmodl.S: Likewise. + * sysdeps/libm-i387/s_ilogb.S: Likewise. + * sysdeps/libm-i387/s_ilogbf.S: Likewise. + * sysdeps/libm-i387/s_logb.S: Likewise. + * sysdeps/libm-i387/s_logbf.S: Likewise. + * sysdeps/libm-i387/s_remquo.S: Likewise. + * sysdeps/libm-i387/s_remquof.S: Likewise. + * sysdeps/libm-i387/s_remquol.S: Likewise. + * sysdeps/libm-i387/s_significand.S: Likewise. + * sysdeps/libm-i387/s_significandf.S: Likewise. + +1998-10-30 Geoff Keating + + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Really correct + _llseek. + +1998-10-30 Geoff Keating + + * math/libm-test.c: Loosen deltas for sin(0.9)^2+cos(0.9)^2. + +1998-10-29 Ulrich Drepper + + * stdio-common/vfprintf.c (vfprintf): Fix the remaining premature + returns without cleaning up the lock. + (printf_unknown): Add label all_done. + + * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Keep Linux 2.0 + kernels in mind when reading /proc/self/fd/FD. + * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise. + + * nscd/nscd.c (doc): It's "Name Service" not "Name Switch". + + * malloc/mtrace.c (tr_where): Replace snprintf call by mempcpy and + _fitoa. + + * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Try reading + /prof/self/fd/FD first. + * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise. + + * stdio-common/_itoa.h (_fitoa_word): New inline function. Write + formatted number starting at given position and return pointer to + following byte. + (_fitoa): Likewise, for long long. + +1998-10-29 Roland McGrath + + * sysdeps/unix/sysv/linux/bits/sem.h, + sysdeps/unix/sysv/linux/bits/ipc.h, + sysdeps/unix/sysv/linux/bits/shm.h, + sysdeps/unix/sysv/linux/bits/msq.h: Moved to ... + * sysdeps/gnu/bits/sem.h, sysdeps/gnu/bits/ipc.h, + sysdeps/gnu/bits/shm.h, sysdeps/gnu/bits/msq.h: ... here, + so the same bits will be used for the Hurd. + +1998-10-29 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Allow + compiling on systems without rt_sigaction syscall. + +1998-10-12 Philip Blundell + + * Makeconfig (sysdep-subdirs): Allow Subdirs files to remove + directories as well as add them. + +1998-10-28 Philip Blundell + + * sysdeps/unix/sysv/linux/neteconet/ec.h: New file. Support for + AF_ECONET sockets as found in recent Linux 2.1 kernels. + * sysdeps/unix/sysv/linux/Dist: Distribute it. + * sysdeps/unix/sysv/linux/Makefile: Install it. + +1998-10-27 Andreas Schwab + + * string/bits/string2.h: __USE_GNU already implies __USE_MISC. + +1998-10-27 Andreas Schwab + + * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access + fds_bits member. + * sysdeps/unix/sysv/linux/alpha/bits/types.h (__FDS_BITS): Likewise. + * sysdeps/unix/sysv/linux/bits/types.h (__FDS_BITS): Likewise. + * sysdeps/unix/sysv/linux/mips/bits/types.h (__FDS_BITS): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__FDS_BITS): + Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h (__FDS_BITS): + Likewise. + * sysdeps/generic/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR, + __FD_ISSET): Use it. + * sysdeps/i386/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR, + __FD_ISSET): Likewise. + +1998-10-28 Geoff Keating + + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Tidy up, correct + llseek. + + * sysdeps/unix/sysv/linux/powerpc/pread.c: Do not use the i386 version. + Instead call the system call wrapper function using an 64bit argument. * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise. -1999-12-19 Andreas Jaeger +1998-10-27 Ulrich Drepper - * sysdeps/generic/libc-start.c: Remove declaration of - __libc_open. Move declaration of __libc_fcntl to ... - * include/fcntl.h: ...here. + * signal/signal.h: Don't include for timespec, add + forward declaration. - * include/unistd.h: Move __libc_open and __libc_open64 to ... - * include/fcntl.h: ...here. + * sysdeps/i386/bits/select.h [!__USE_XOPEN]: Add special version + of __FD_* macros which use __fds_bits. + * sysdeps/generic/bits/select.h: Likewise. + Reported by Matt McLean . - * malloc/malloc.h (__attribute_malloc__): Only define if hasn't - happened yet. +1998-10-27 Philip Blundell - * malloc/Versions: __libc_freeres was exported with glibc 2.1.3, - rename label. + * elf/elf.h: Update ARM definitions. -1999-12-19 Ulrich Drepper +1998-10-27 Ulrich Drepper - * sysdeps/unix/sysv/linux/bits/resource.h: Remove - inclusion. + * signal/signal.h: Include bits/sigthread.h only for Unix98. -1999-12-19 Andreas Jaeger +1998-10-26 Ulrich Drepper - * include/string.h: Mark __strndup with __attribute_malloc__. + * include/libc-symbols.h: If HAVE_BUILTIN_EXPECT is not defined + define __builtin_expect as a macro substituting to the first + argument. + * config.h.in: Define HAVE_BUILTIN_EXPECT. + * configure.in: Add test for __builtin_expect. -1999-12-19 Ulrich Drepper - - * locale/langinfo.h: Always define CODESET. - (CODESET): Define also as macro. - - * stdio-common/printf_fp.c (__printf_fp): Allocate buffer to - generate mantissa output in using malloc if it is larger than - 20000 characters. - Reported by Jim Meyering . - -1999-12-18 Ulrich Drepper - - * misc/sys/cdefs.h: Define __attribute_malloc__ according to - available gcc version. - * string/string.h: Mark strdup, __strdup, and strndup with - __attribute_malloc__. - * stdlib/stdlib.h: Make malloc, calloc, realloc, and valloc with - __attribute_malloc__. - * malloc/malloc.h: Make malloc, calloc, realloc, valloc, pvalloc, - and __default_morecore with __attribute_malloc__. - Provide default definition for __attribute_malloc__. - * libio/stdio.h: Make tempnam with __attribute_malloc__. - - * include/unistd.h: Declare __libc_open64, __libc_lseek64, - __libc_pread, __libc_pread64, __libc_pwrite, and __libc_pwrite64. - * io/Versions: Export __libc_open64 and __libc_lseek64. - * posix/Versions: Export __libc_pread, __libc_pread64, __libc_pwrite, - and __libc_pwrite64. - * sysdeps/generic/open64.c: Define __libc_* variant for cancelation - wrapper. - * sysdeps/generic/pread.c: Likewise. - * sysdeps/generic/pread64.c: Likewise. - * sysdeps/generic/pwrite.c: Likewise. - * sysdeps/generic/pwrite64.c: Likewise. - * sysdeps/posix/open64.c: Likewise. - * sysdeps/posix/pread.c: Likewise. - * sysdeps/posix/pread64.c: Likewise. - * sysdeps/posix/pwrite.c: Likewise. - * sysdeps/posix/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/llseek.c: Likewise. - * sysdeps/unix/sysv/linux/pread.c: Likewise. - * sysdeps/unix/sysv/linux/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/i386/pread.c: Likewise. - * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise. - - * sysdeps/posix/open64.c: Help gcc generating better code. - - * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_open - instead of __open. - -1999-12-11 H.J. Lu - - * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_fcntl - instead of __fcntl. - -1999-12-18 Ulrich Drepper - - * iconvdata/isiri-3342.c: New file. - * iconvdata/Makefile (modules): Add ISIRI-3342. - (distribute): Add isiri-3342.c. - (gen-8bit-gap-modules): Add isiri-3342. - * iconvdata/gconv-modules: Add entries for ISIRI-3342. - - * malloc/Versions: Export __libc_freeres for GLIBC_2.1. - - * sysdeps/unix/sysv/linux/i386/setrlimit.c: Declare local variable - result if necessary. - - * sysdeps/unix/sysv/linux/i386/bits/resource.h: Don't depend on the - unreliable kernel headers. - * sysdeps/unix/sysv/linux/bits/resource.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/resource.h: New file. - * sysdeps/unix/sysv/linux/mips/bits/resource.h: New file. - -1999-12-18 Andreas Jaeger - - * config.make.in (datadir): Added. - Closes PR libc/1491. Patch by dervishd@jazzfree.com. - -1999-12-18 Andreas Jaeger - - * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Save and - set errno. - * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise. - -1999-12-18 Andreas Jaeger - - * sysdeps/unix/sysv/linux/fxstat64.c: Rewrite to use fstat64 - syscall if available. - * sysdeps/unix/sysv/linux/lxstat64.c: Likewise for lstat64. - * sysdeps/unix/sysv/linux/xstat64.c: Likewise for stat64. - - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_STAT64_SYSCALL): New. - -1999-12-17 Scott Bambrough - - * sysdeps/arm/dl-machine.h (CLEAR_CACHE): New macro to force a - cache flush. - * elf/dl-reloc.c (_dl_relocate_object): Add call to flush cache - after .text segment fixups. - -1999-12-16 Andreas Jaeger - - * rt/aio.h: Remove erroneous __restrict declarations. - -1999-12-18 Ulrich Drepper - - * scripts/rellns-sh: Find pwd program also in /usr/bin and let shell - do the job if it is there neither. - Patch by David R. Conrad (PR libc/1485). - -1999-12-16 Andreas Jaeger - - * sysdeps/ieee754/bits/nan.h (NAN): Rename union to avoid - duplicate definition with function __nan. - Closes PR libc/1487 reported by . - -1999-12-17 Ulrich Drepper - - * string/bits/string2.h (__strsep): Help gcc optimizing string access. - - * locale/programs/ld-collate.c: Implement handling of absolute - ellipsis. Parsing of file and constructing the internal data - structures should now be complete. - (collate_finish): Start adding support to generate the data - structures which are written out to the file. - - * intl/dcgettext.c: Rewrite to handle caching of previous results here - instead of in the dcgettext macro. - * intl/libintl.h (dcgettext): Don't define for systems using this - glibc or systems with tsearch. - - * sysdeps/generic/mathdef.h: Protect definitions for math.h - against double inclusion. - * sysdeps/alpha/fpu/bits/mathdef.h: Likewise. - * sysdeps/i386/fpu/bits/mathdef.h: Likewise. - * sysdeps/m68k/fpu/bits/mathdef.h: Likewise. - * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise. - - * sysdeps/i386/fpu/libm-test-ulps: Add more deltas (are mobile PIIs - that different?). - -1999-12-17 Andreas Jaeger - - * rt/aio.h (struct aiocb64): Add member __next_prio to sync the - struct with aiocb. - - * rt/Makefile (tests): Added tst-aio64. - Added dependency rules for tst-aio64. - - * rt/tst-aio64.c: New file, copied from tst-aio.c and changed for - 64bit tests. - -1999-12-15 Thorsten Kukuk - - * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: Removed. - * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: Removed. - * sysdeps/unix/sysv/linux/bits/resource.h: Change RLIM_INFINITY back to - old value (signed long). - * sysdeps/unix/sysv/linux/i386/bits/resource.h: New, with unsigned - long RLIM_INFINITY. - * sysdeps/unix/sysv/linux/getrlimit.c: Moved from here to ... - * sysdeps/unix/sysv/linux/i386/getrlimit.c: ... here. - * sysdeps/unix/sysv/linux/getrlimit64.c: Moved from here to ... - * sysdeps/unix/sysv/linux/i386/getrlimit64.c: ... here. - * sysdeps/unix/sysv/linux/oldgetrlimit64.c: Moved from here to ... - * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: ... here. - * sysdeps/unix/sysv/linux/oldsetrlimit64.c: Moved from here to ... - * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: ... here. - * sysdeps/unix/sysv/linux/setrlimit.c: Moved from here to ... - * sysdeps/unix/sysv/linux/i386/setrlimit.c: ... here. - * sysdeps/unix/sysv/linux/setrlimit64.c: Moved from here to ... - * sysdeps/unix/sysv/linux/i386/setrlimit64.c: ... here. - * sysdeps/unix/sysv/linux/sparc/bits/resource.h: New. - * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: Removed. - * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: Removed. - -1999-12-17 Andreas Jaeger - - * elf/ldconfig.c: Add new option -l to manualy link shared - libraries. - (options): Added option. - (parse_opt): Set option. - (main): Handle option. - (manual_link): New function. - -1999-12-17 Thorsten Kukuk - - * string/bits/string2.h: Fix patch from 1999-12-07. - -1999-12-16 Ulrich Drepper - - * sysdeps/generic/strsep.c: If delim string has only one character - don't run over end of string. - - * locale/programs/ld-collate.c (insert_weights): Also update next - pointer of last cursor element. - (insert_value): Return nonzero value if nothing got inserted. - (handle_ellipsis): Don't do anything if to-value cannot be inserted. - -1999-12-10 Jakub Jelinek - - * stdlib/longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT - where appropriate. - -1999-12-10 Jakub Jelinek - - * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction): - Copy sa_flags into kernel sigaction structure. - -1999-12-14 Andreas Jaeger - - * string/tester.c (test_strsep): More tests for access beyond - the final NUL. The first two tests come from PR libc/1486 by - martinea@iro.umontreal.ca. - -1999-12-14 Thorsten Kukuk - - * nis/ypclnt.c: Correct handling of cached client handles. - (__xdr_ypresp_all): Call callback function for errors, too, - like Solaris does. - * nis/nss_compat/compat-grp.c: Make sure errno is always set correct. - * nis/nss_compat/compat-initgroups.c: Likewise. - * nis/nss_compat/compat-spwd.c: Likewise. - * nis/nss_nis/nis-alias.c: Likewise. - * nis/nss_nis/nis-ethers.c: Likewise. - * nis/nss_nis/nis-grp.c: Likewise. - * nis/nss_nis/nis-hosts.c: Likewise. - * nis/nss_nis/nis-netgrp.c: Likewise. - * nis/nss_nis/nis-publickey.c: Likewise. - * nis/nss_nis/nis-service.c: Likewise. Also use services.byservicename - Map if available, optimize query if name/port and protocol is known. - -1999-12-12 Ulrich Drepper - - * locale/programs/ld-collate.c (collate_read): Make symbolic - ellipsis work. Remove old and unused code. - -1999-12-11 Ulrich Drepper - - * locale/programs/ld-collate.c (collate_read): Implement - reorder-section handling. - -1999-12-10 Ulrich Drepper - - * locale/programs/ld-collate.c: Implement "copy" in LC_COLLATE. - - * locale/programs/ld-collate.c (collate_read): Add handling of - reorder-after. - - * locale/programs/ld-collate.c: Many changes to implement parsing - of collation definition (still not complete). - -1999-12-09 Andreas Jaeger - - * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Always set - errno to ENOENT when returning NSS_STATUS_NOTFOUND. - Reported by Christian Starkjohann . - -1999-12-09 Andreas Jaeger - - * sysdeps/i386/fpu/libm-test-ulps: Added some ulps. - -1999-12-09 Jakub Jelinek - - * stdlib/longlong.h: Update from latest egcs version. - - * sysdeps/sparc/fpu/fegetenv.c: Add semicolons. - - * sysdeps/unix/sysv/linux/bits/errno.h (__errno_location): __THROW - has to preceede __attribute__, otherwise g++ barfs. - - * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Make things compile - on sparc64-*-linux. - - * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Changed to - use sigcontext. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise. - -1999-12-05 Wolfram Gloger - - * malloc/malloc.c (arena_get2): If generating a new arena fails, - try to generate a minimal one and hope for mmap_chunk() to succeed - later. - -1999-11-07 Wolfram Gloger - - * malloc/thread-m.h [NO_THREADS]: The mutex_* macros now let - mutex_t work as an `in-use' flag even without threads. - * malloc/malloc.c (USE_ARENAS): New feature flag, controls support - for multiple arenas separately from NO_THREADS. - (mALLOc, chunk_realloc, mEMALIGn, cALLOc) [USE_ARENAS]: try to - fall back to an mmap()ed arena when sbrk() has failed. - -1999-12-09 Ulrich Drepper - - * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit, - getrlimit64, setrlimit64 for GLIBC_2.1.3. - * sysdeps/unix/sysv/linux/i386/Versions: Add getrlimit, setrlimit, - getrlimit64, setrlimit64 for GLIBC_2.1.3. - * sysdeps/unix/sysv/linux/i386/Makefile: Add rules for - oldgetrlimit and oldsetrlimit. - * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldgetrlimit and - oldsetrlimit. - * sysdeps/unix/sysv/linux/Makefile: Move oldgetrlimit and - oldsetrlimit rules into 32-bit arch subdirs. - * sysdeps/unix/sysv/linux/syscalls.list: Likewise. - - * locale/programs/ld-collate.c (insert_value): If this is the - first symbol the cursor can be the same as the next pointer. - -1999-12-08 Ulrich Drepper - - * locale/programs/ld-ctype.c (ctype_output): Correct sizes of mapping - arrays. - (allocate_arrays): Allocate memory for map32. Correctly install - default values in it and install defined mappings. - - * locale/programs/ld-monetary.c (monetary_finish): Provide default - value for mon_grouping. - - * elf/readlib.c: Include a.out.h last since the Linux/Alpha - headers are not clean enough. - - * sysdeps/unix/sysv/linux/getrlimit.c: Remove K&R compatibility. - - * sysdeps/unix/sysv/linux/kernel-features.h: Define - __ASSUME_TRUNCATE64_SYSCALL and __ASSUME_MMAP2_SYSCALL for 2.3.31 - on x86. - * sysdeps/unix/sysv/linux/ftruncate64.c: New file. - * sysdeps/unix/sysv/linux/truncate64.c: New file. - * sysdeps/unix/sysv/linux/i386/mmap.S: Allow using mmap2. - * sysdeps/unix/sysv/linux/i386/mmap64.S: New file. - - * ctype/Versions: Add __ctype32_tolower and __ctype32_toupper. - * ctype/ctype-info.c: Define __ctype32_tolower and __ctype32_toupper. - * locale/C-ctype.c: Add _nl_C_LC_CTYPE_toupper32 and - _nl_C_LC_CTYPE_tolower32 tables. - Don't compile it names of 14652 classes and maps. - * locale/langinfo.h: Define _NL_CTYPE_TOUPPER32 and - _NL_CTYPE_TOLOWER32. - * locale/lc-ctype.c (_nl_postload_ctype): Initialize __ctype32_toupper - and __ctype32_tolower. - * locale/programs/ld-ctype.c (struct locale_ctype_t): Add map32. - (ctype_output): Write out map32 values. - (allocate_arrays): Compute mapping tables correctly. - * wctype/wcfuncs.c (towlower): Use __ctype32_tolower. - (towupper): Use __ctype32_toupper. - * wctype/wctype.h: Optimize towupper and towlower for values < 256. - - * locale/programs/ld-ctype.c (set_class_defaults): Correctly - determine tolower mapping for 8bit table if the tolower keyword is - not given. - - * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't fail if host has - only IPv6 address. Reported by Artur Frysiak . - -1999-12-07 Jakub Jelinek - - * string/bits/string2.h (__memset_gc, __mempcpy_small, __strcpy_small, - __stpcpy_small): Cast switch expressions to int to shut up compiler - warnings. - -1999-12-07 Scott Bambrough - - * sysdeps/arm/dl-machine.h (elf_machine_rel): Fixup R_ARM_PC24 - relocs if possible. - -1999-12-06 Andreas Schwab - - * sysdeps/unix/sysv/linux/setrlimit.c: First find out wether the - ugetrlimit syscall exists. - - * sysdeps/unix/sysv/linux/getrlimit.c: Only put versions on - exported symbols. - * sysdeps/unix/sysv/linux/setrlimit.c: Likewise. - -1999-12-07 Ulrich Drepper - - * iconvdata/ansi_x3.110.c (from_ansi_x3_110): Don't increment - pointers if character is illegal. - Reported by Bruno Haible . - - * iconv/gconv_db.c (gen_steps): Set __counter initialy to 1. - (increment_counter): New function. Broken out of find_derivation. - (find_derivation): No need for a lock. Increment counter only when - the derivation was already available. - * iconv/gconv_dl.c: Add debugging functions. - (known_compare): We have to use strcmp. - Reported by Bruno Haible . - -1999-12-06 Ulrich Drepper - - * iconvdata/sami-ws2.c (CHARSET_NAME): Fix typo. - * iconvdata/iso_2033.c (CHARSET_NAME): Fix typo. - * iconvdata/ecma-cyrillic.c (CHARSET_NAME): Fix typo. - * iconvdata/gconv-modules: Correct ISO646-PT2 alias. Add - SHIFT_JIS alias. - Reported by Bruno Haible . - - * locale/programs/xstrdup.c: It's _LIBC, not __LIBC. - -1999-12-03 Andreas Jaeger - - * nss/getXXbyYY.c: Include - (FUNCTION_NAME): Use res_ninit instead of res_init. - - * nss/getXXbyYY_r.c [NEED__RES]: Include for _res - declaration and prototypes. - Remove extra _res declaration. - (INTERNAL): Use thread aware res_ninit function. - - * inet/gethstbyad_r.c: Include . - - * resolv/res_data.c: Update from Bind 8.2.2-P5. Moved res_init to - res_libc.c. Disabled unneeded functions. - - * resolv/res_libc.c: New file. - - * Versions.def: Add version GLIBC_2.2 for libpthread. - Add versions GLIBC_2.1 and GLIBC_2.2 for libresolv. - - * include/resolv.h: Add internal interfaces. - - * resolv/Makefile (routines): Add new files. - (libresolv-routines): Likewise. - (distribute): Likewise. - - * resolv/gethnamaddr.c: Use thread safe resolver functions. - * resolv/nss_dns/dns-host.c: Likewise. - * resolv/nss_dns/dns-network.c: Likewise. - - * resolv/arpa/nameser.h: Update from Bind 8.2.2-P5. - * resolv/nsap_addr.c: Likewise. - * resolv/res_comp.c: Likewise. - * resolv/res_debug.c: Likewise. - * resolv/res_init.c: Likewise. - * resolv/res_mkquery.c: Likewise. - * resolv/res_query.c: Likewise. - * resolv/res_send.c: Likewise. - * resolv/resolv.h: Likewise. - - * resolv/Versions: Add __res_state and __res_ninit with version - GLIBC_2.2 to libc. - Add new interfaces with version GLIBC_2.2 to libresolv. - - * resolv/Banner: Update. - - * include/arpa/nameser_compat.h: New file. - - * resolv/ns_name.c: New file from Bind 8.2.2-P5. - * resolv/ns_netint.c: Likewise. - * resolv/ns_parse.c: Likewise. - * resolv/ns_print.c: Likewise. - * resolv/ns_samedomain.c: Likewise. - * resolv/ns_ttl.c: Likewise. - * resolv/arpa/nameser_compat.h: Likewise. - * resolv/res_debug.h: Likewise. - - Some patches are based on work done by Adam D. Bradley - . - -1999-11-30 Andreas Jaeger - - Add ldconfig: - * elf/Makefile (extra-objs): Added ldconfig-modules. - (ldconfig-modules): New. - Added vpath for xstrdup and xmalloc. - Check for use-ldconfig instead of has-ldconfig. - ($(objpfx)ldconfig): New rule with dependencies. - (distribute): Add new files. - - * sysdeps/unix/sysv/linux/sparc/readelflib.c: New file, - developed together with Jakub Jelinek . - * sysdeps/generic/readelflib.c: Likewise. - - * elf/cache.c: New file. - * elf/ldconfig.c: New file. - * elf/ldconfig.h: New file. - * elf/readlib.c: New file. - - * Makefile (install): Remove flag -d in ldconfig call. - - * configure.in: Rename has_ldconfig to use_ldconfig, set it to no - by default. - - * config.make.in (has-ldconfig): Renamed to use-ldconfig, changed - comment. - - * sysdeps/unix/sysv/linux/configure.in: Remove check for ldconfig, - set always use_ldconfig instead. - -1999-12-03 Ulrich Drepper - - * sysdeps/generic/bits/stropts.h: Update with LiS types and - values. Patch by David Grothe . - - * sysdeps/unix/sysv/linux/bits/types.h (__t_scalar_t, __t_uscalar_t): - Make long types. + * sysdeps/unix/sysv/linux/bits/types.h: Include + bits/pthreadtypes.h only not for POSIX 199506. * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise. -1999-12-02 Akira Yoshiyama +1998-10-26 Mark Kettenis - * locale/lc-time.c (_nl_get_era_entry): Separate eras - initialization as _nl_init_era_entry(). - * locale/lc-time.c (_nl_get_era_nf_entry): New function. - * locale/lc-time.c (_nl_get_era_year_offset): New function. - * locale/lc-time.c (_nl_get_era_year_start): New function. - * locale/localeinfo.h: Declare new functions. - Define ERA_NAME_FORMAT_MEMBERS, ERA_M_NAME, ERA_M_FORMAT, ERA_W_NAME, - and ERA_W_FORMAT. + * sysdeps/unix/sysv/linux/Versions: Move shutdown ... + * socket/Versions [libc, GLIBC_2.0]: ... to here. -1999-12-02 Ulrich Drepper +1998-10-25 Andreas Jaeger - * posix/regex.c (SYNTAX): Make more portable. - Patch by Aharon Robbins . + * include/stdio.h: Included for size_t. -1999-11-18 Roland McGrath + * stdio/stdio.h: Move __path_search, __gen_tempname, __libc_fatal + to ... + * include/stdio.h: ...here. + * libio/stdio.h: Removed __path_search, __gen_tempname, __libc_fatal. - * hurd/hurdsig.c (_hurdsig_init): If __hurd_threadvar_stack_mask is - nonzero, use cthread_fork to create the signal thread. - * hurd/msgportdemux.c (_hurd_msgport_receive): Initialize - _hurd_msgport_thread here (to self). - * sysdeps/mach/hurd/fork.c (__fork): When __hurd_sigthread_stack_end - is zero, instead compute child signal thread's starting SP from parent - signal thread's current SP and the threadvar_stack variables. - * hurd/Versions (GLIBC_2.1.3): Add cthread_fork, cthread_detach. - These are now referenced weakly by _hurdsig_init. +1998-10-26 11:09 Ulrich Drepper - * hurd/report-wait.c (_S_msg_report_wait): Fix typo: - &_hurd_itimer_thread not &_hurd_msgport_thread. + * time/Makefile (tests): Add tst-posixtz. + * time/tst-posixtz.c: New file. -1999-10-01 Roland McGrath +1998-10-24 Andreas Schwab - * hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Rewrite - without HURD_DPORT_USE to clean up warnings. - * hurd/dtable.c (get_dtable_port): Likewise. + * elf/rtld.c (process_envvars): Accept any non-null value of + LD_BIND_NOW, as mandated by the ABI. - * hurd/hurdioctl.c (rectty_dtable): Renamed to install_ctty. - (install_ctty): Do the changing of the cttyid port cell here, inside - the critical section while we holding the dtable lock. - (_hurd_setcttyid, tiocsctty, tiocnotty): Use that instead of changing - the port cell and calling rectty_dtable. - (_hurd_locked_install_cttyid): New function, split out of install_ctty. - (install_ctty): Use it inside a critical section, with the lock held. - * sysdeps/mach/hurd/setsid.c (__setsid): Use - _hurd_locked_install_cttyid to effect the cttyid and dtable changes - after proc_setsid, having held the dtable lock throughout. - * hurd/dtable.c (ctty_new_pgrp): With the dtable lock held, check the - cttyid port for null and bail out early if so. The dtable lock - serializes us after any cttyid change and its associated dtable update. +1998-10-24 Andreas Schwab -1999-11-14 Roland McGrath - - * sysdeps/mach/hurd/nfs/nfs.h: New file, empty but for comments. - Its presence lets librpcsvc compile ok. This from Mark Kettenis. - We don't install this file for users. - * sysdeps/mach/hurd/Dist: Add it. - * sysdeps/mach/hurd/Makefile [$(subdir) = sunrpc] (sysdep_headers): - Append nfs/nfs.h here. - -1999-12-01 Andreas Jaeger - - * sysdeps/generic/if_index.c (__protocol_available): Add missing - int for parameter. - - * stdio/stdio.h: Fix typo. - Patches by Marcus G. Daniels . - -1999-12-01 Andreas Jaeger - - * scripts/test-installation.pl (installation_problem): Filter out - libpthread_db. - -1999-12-01 Andreas Schwab - - * sysdeps/unix/sysv/linux/alpha/bits/types.h: Fix signedness of - __rlim_t and __rlim64_t. - * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise. - -1999-12-01 Andreas Schwab - - * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add - oldgetrlimit64 and oldsetrlimit64 for subdir = resource. - * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit, - getrlimit64 and setrlimit64 to version GLIBC_2.1.3. - * sysdeps/unix/sysv/linux/setrlimit.c: Correct handling of old and - new kernel version. Add symbol versions. - * sysdeps/unix/sysv/linux/syscalls.list: Add oldsetrlimit and - oldgetrlimit. + * sysdeps/unix/sysv/linux/pread.c: Rename __syscall_pread64 to + __syscall_pread. + * sysdeps/unix/sysv/linux/pwrite.c: Rename __syscall_pwrite64 to + __syscall_pwrite. * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_getrlimit - and s_ugetrlimit. + * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/getrlimit.c: New file. - * sysdeps/unix/sysv/linux/getrlimit64.c: New file. - * sysdeps/unix/sysv/linux/oldgetrlimit64.c: New file. - * sysdeps/unix/sysv/linux/oldsetrlimit64.c: New file. - * sysdeps/unix/sysv/linux/setrlimit64.c: New file. - * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: New file. - * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: New - file. - * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: New + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise. Remove + duplicate entries. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove + s_pread64 and s_pwrite64. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise. + +1998-10-24 Andreas Schwab + + * sysdeps/unix/sysv/linux/llseek.c: Use INLINE_SYSCALL. + * sysdeps/unix/sysv/linux/arm/syscalls.list: Rename __sys_llseek + to __syscall__llseek. + * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove entry for + __sys_llseek. + +1998-10-26 Cristian Gafton + + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add s_setfsgid + and s_setfsuid. + +1998-10-26 Ulrich Drepper + + * time/tzset.c (tz_compute): Correct last patch and describe this + in a comment. + +1998-10-24 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove + rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo, + rt_sigaction and rt_sigpending. + * sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove all entries + for __syscall_* functions. + * sysdeps/unix/sysv/linux/m68k/sysdep.h: Implement INLINE_SYSCALL. + +1998-10-26 Roland McGrath + + * hurd/Versions: Add _hurd_dtable, _hurd_dtablesize, + _hurd_dtable_lock, _hurd_intern_fd. + + * sysdeps/mach/hurd/Versions: Add cthread_keycreate, + cthread_getspecific, cthread_setspecific, __libc_getspecific. + + * mach/Versions: Fix typo in last change. + +1998-10-25 Ulrich Drepper + + * time/tzset.c (tz_compute): If time to switch to DST is later in + the year switch back in the next year. + Reported by jwitford@hutch.com.au. + +1998-10-24 Mark Kettenis + + * mach/Versions: Add evc_wait, mach_error, mach_error_string, + mach_error_type, mach_msg_destroy, mig_deallocate_reply_port. + Remove __mach_host_self, __mach_reply_port, __mach_setup_thread, + __mach_port_allocate, __mach_port_allocate_name, + __mach_port_insert_right __mutex_trylock, __mutex_lock, + __mutex_unlock, __swtch, __switch, __task_create, __task_suspend, + __task_set_special_port, __task_terminate, __thread_depress_abort, + __thread_switch, __vm_allocate, __vm_deallocate, __vm_map. These + functions are not used outside libc. + + * sysdeps/mach/hurd/Versions: New file. + [libc, GLIBC_2.0]: Add _cthread_exit_routine and + _cthread_init_routine. These are set by the Hurd cthreads library. + Add __getcwd, __mmap. If we don't add these, the weak definitions in + the dynamic linker will not be replaced by the corresponding shared + library routines once they are loaded. + +1998-10-21 Mark Kettenis + + * sysdeps/mach/hurd/i386/init-first.c: Only define + __libc_enable_secure if PIC is not defined. + +1998-10-25 Roland McGrath + + * argp/Versions: Add _argp_unlock_xxx. Lock-savvy functions call this + to recurse into argp. + +1998-10-25 Ulrich Drepper + + * include/features.h: Define __USE_POSIS199506 is _POSIX_C_SOURCE is + greater or equal than 199506L. + + * sysdeps/generic/bits/types.h (__fd_set): Define element as fds_bits + only is __USE_XOPEN. Otherwise use __fds_bits. + * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/bits/types.h: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise. + +1998-10-24 H.J. Lu + + * locale/programs/charmap.c (parse_charmap): Accept tok_string + for . + +1998-10-25 H.J. Lu + + * locale/programs/ld-ctype.c (ctype_finish): Also check + . + +1998-10-25 Ulrich Drepper + + * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX199506. + + * sysdeps/unix/sysv/linux/bits/types.h: Include pthreadtypes.h only + if __USE_POSIX199506 or __USE_UNIX98. + +1998-10-24 22:34 -0400 Zack Weinberg + + * string/bits/string2.h: Inline strdup+friends only if + __USE_MISC || __USE_GNU (prevents namespace pollution). + +1998-10-24 H.J. Lu + + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (LOCK_SH, + LOCK_EX, LOCK_NB, LOCK_UN): Protect with __USE_BSD. + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (LOCK_SH, LOCK_EX, + LOCK_NB, LOCK_UN): Likewise. + * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (LOCK_SH, LOCK_EX, + LOCK_NB, LOCK_UN): Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (LOCK_SH, LOCK_EX, + LOCK_NB, LOCK_UN): Likewise. + * sysdeps/unix/sysv/linux/bits/fcntl.h (LOCK_SH, LOCK_EX, + LOCK_NB, LOCK_UN): Likewise. + +1998-10-24 H.J. Lu + + * libio/ioseekoff.c (_IO_seekoff): Check the valid dir value. + + * libio/rewind.c (rewind): Clear the error. + +1998-10-24 H.J. Lu + + * grp/grp.h (getgrent_r, getgrgid_r, getgrnam_r): Add "__" to + "buffer". + +1998-10-24 H.J. Lu + + * sysdeps/unix/sysv/linux/alpha/bits/time.h (timeval): Protect + with __need_timeval. + * sysdeps/unix/sysv/linux/mips/bits/time.h (timeval): Likewise. + * sysdeps/unix/sysv/linux/bits/time.h (timeval): Likewise. + +1998-10-24 H.J. Lu + + * signal/signal.h (timespec, siginfo_t, sigwaitinfo, sigtimedwait, + sigqueue): Protect with __USE_POSIX199309. + +1998-10-24 H.J. Lu + + * time/time.h (timespec): Protect with __USE_POSIX199309 instead of + __USE_POSIX. + +1998-10-24 H.J. Lu + + * libio/fileops.c (_IO_new_file_seekoff): Always resync with + the kernel file offset. + * libio/oldfileops.c (_IO_old_file_seekoff): Likewise. + +1998-10-24 H.J. Lu + + * time/tzfile.c (__tzfile_default): Set num_types to 2. + +1998-10-23 Andreas Jaeger + + * rt/aio.h: Move __aio_init to... + * include/aio.h: ...here. + +1998-10-24 Andreas Jaeger + + * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate + definition of O_LARGEFILE. + +1998-10-24 Andreas Jaeger + + * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path + as first argument to statfs. + +1998-10-24 Andreas Jaeger + + * sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else. + +1998-10-24 Andreas Jaeger + + * malloc/mtrace.c: Include for strlen. + +1998-10-24 Roland McGrath + + * sysdeps/mach/hurd/bits/environments.h: New file. + + * sysdeps/mach/hurd/dl-sysdep.c (__getcwd): New weak function. + + * mach/Versions, hurd/Versions: Add numerous symbols. + Remove libmachuser and libhurduser sections, punt + versioning for those libraries for now. + + * misc/Versions: Add reboot here; it exists on all platforms. + * sysdeps/unix/sysv/linux/Versions: Remove reboot here. + +1998-10-23 Ulrich Drepper + + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOFOLLOW): New + macro. + * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_LARGEFILE, + O_NOFOLLOW, O_DIRECT): New macros. + (O_DIRECTORY): Correct definition according to official 2.1.126. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECTORY, + O_NOFOLLOW): New macros. + +1998-10-24 Roland McGrath + + * include/ldsodefs.h: Test HAVE_ELF instead of __ELF__. + + * sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "". + (__opendir): Add trailing slash to name for open, for ENOTDIR check. + +1998-10-23 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/Dist: Add setresuid.c, setresgid.c, + setfsuid.c, and setfsgid.c. + * sysdeps/unix/sysv/linux/arm/Dist: Likewise. + * sysdeps/unix/sysv/linux/m68k/Dist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise. + + * version.h (VERSION): Bump to 2.0.99. + + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove duplicate + ustat definition. + + * sysdeps/unix/sysv/linux/i386/Dist: Remove s_pread64.c and + s_pwrite64.c. + + * posix/fnmath.h: Don't redefine __P when used in glibc. + * posix/glob.h: Likewise. + + * inet/rcmd.c (__ivaliduser2): Fix memory leak. + Patch by Dick Streefland . + + * stdio-common/tst-ungetc.c: Add more test cases. + + * sysdeps/unix/sysv/linux/Dist: Add linux_fsinfo.h. + * sysdeps/unix/sysv/linux/fstatvfs.c: Move filesystem magic number + definitions to ... + * sysdeps/unix/sysv/linux/linux_fsinfo.h: ...here. New file. + * sysdeps/unix/sysv/linux/fpathconf.c: New file. + * sysdeps/unix/sysv/linux/pathconf.c: New file. + * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Handle _PC_LINK_MAX here. + * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise. + +1998-10-20 Philip Blundell + + * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Include + to define struct pt_regs. + * sysdeps/unix/sysv/linux/arm/profil-counter.h: Don't bother + including here. + + * sysdeps/unix/sysv/linux/arm/sysdep.S: Remove spurious call to + C_SYMBOL_NAME macro. + +1998-10-23 Andreas Jaeger + + * sysdeps/generic/sys/ptrace.h (__ptrace_request): Remove comma at + end of enumerator list. + * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Likewise. + * posix/wordexp.h: Likewise. + + * db/db.h: Use __PMT instead of __P in typedefs. + * db/mpool.h: Likewise. + * sysdeps/generic/bits/siginfo.h: Likewise. + * nis/rpcsvc/ypclnt.h: Likewise. + +1998-10-23 Ulrich Drepper + + * libio/genops.c (_IO_seekmark): When switching to backup buffer + make sure all characters from the read buffer are read after + switching back to it. + +1998-10-22 Ulrich Drepper + + * configure.in: Add support for Cygnus GNUPro compilers. + +1998-10-22 Andreas Jaeger + + * stdio/stdio.h: Use __PMT instead of __P in typedefs. + + * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use __PMT instead + of __P for sa_restorer. + * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct + kernel_sigaction, old_kernel_sigaction): Likewise. + +1998-10-22 Ulrich Drepper + + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add __syscall_pread + and __syscall_pwrite aliases. + + * sunrpc/rpc/auth.h (AUTH_DH): New macro. Alias for AUTH_DES. + + * sysdeps/unix/sysv/linux/i386/sysdep.h: Drastically simplify and + improve INLINE_SYSCALL using macro assembler magic. + +1998-10-22 H.J. Lu + + * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Add + sanity check for n. + * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise. + + * sysdeps/posix/fpathconf.c (__fpathconf): Set errno to + EINVAL if errno == ENODEV. Tested by VSX-PCT. + + * sysdeps/posix/isatty.c (__isatty): Don't reset errno. Tested + by VSX-PCT. + + * posix/execvp.c (execvp): Check "". Tested by VSX-PCT. + +1998-10-22 Philip Blundell + + * sysdeps/unix/arm/sysdep.h: Wrap assembler macros in #ifdef + __ASSEMBLER__. + +1998-10-21 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/sysdep.h: Remove EXTRAVARS_* macros + and adjust formats. + +1998-10-21 14:38 Ulrich Drepper + + * sysdeps/unix/sysdep.h (INLINE_SYSCALL): New macro. Simply call + __syscall_* function. + * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use INLINE_SYSCALL instead + of calling __syscall_* function. + * sysdeps/unix/sysv/linux/fxstat.c: Likewise. + * sysdeps/unix/sysv/linux/fxstat64.c: Likewise. + * sysdeps/unix/sysv/linux/getcwd.c: Likewise. + * sysdeps/unix/sysv/linux/getdents.c: Likewise. + * sysdeps/unix/sysv/linux/getpriority.c: Likewise. + * sysdeps/unix/sysv/linux/getresgid.c: Likewise. + * sysdeps/unix/sysv/linux/getresuid.c: Likewise. + * sysdeps/unix/sysv/linux/lxstat.c: Likewise. + * sysdeps/unix/sysv/linux/lxstat64.c: Likewise. + * sysdeps/unix/sysv/linux/poll.c: Likewise. + * sysdeps/unix/sysv/linux/pread.c: Likewise. + * sysdeps/unix/sysv/linux/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/ptrace.c: Likewise. + * sysdeps/unix/sysv/linux/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/readv.c: Likewise. + * sysdeps/unix/sysv/linux/reboot.c: Likewise. + * sysdeps/unix/sysv/linux/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/siglist.h: Likewise. + * sysdeps/unix/sysv/linux/sigpending.c: Likewise. + * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise. + * sysdeps/unix/sysv/linux/sigqueue.c: Likewise. + * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise. + * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise. + * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. + * sysdeps/unix/sysv/linux/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/sysctl.c: Likewise. + * sysdeps/unix/sysv/linux/ustat.c: Likewise. + * sysdeps/unix/sysv/linux/writev.c: Likewise. + * sysdeps/unix/sysv/linux/xmknod.c: Likewise. + * sysdeps/unix/sysv/linux/xstat.c: Likewise. + * sysdeps/unix/sysv/linux/xstat64.c: Likewise. + * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise. + * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise. + + * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INLINE_SYSCALL using + inline assembler. + * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove various + __syscall_* definitions. + + * sysdeps/unix/sysv/linux/syscalls.list: Move various __syscall_* + definitions to... + * sysdeps/unix/sysv/linux/alpha/syscalls.list: ...here... + * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here... + * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here... + * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here... + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here... + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here... + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here. + + * sysdeps/unix/sysv/linux/Makefile [subdir=signal] (sysdep_routines): + Move definition to... + * sysdeps/unix/sysv/linux/alpha/Makefile: ...here... + * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here... + * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here... + * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here... + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here... + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here... + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here. + + * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc] + (sysdep_routines): Remove s_pread64 and s_pwrite64. + + * sysdeps/unix/sysv/linux/i386/pread.c: New file. + * sysdeps/unix/sysv/linux/i386/pread64.c: New file. + * sysdeps/unix/sysv/linux/i386/pwrite.c: New file. + * sysdeps/unix/sysv/linux/i386/pwrite64.c: New file. + * sysdeps/unix/sysv/linux/i386/s_pread64.S: Removed. + * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Removed. + +1998-10-21 Andreas Jaeger + + * sysdeps/unix/sysv/linux/siglist.h: Fix some typos in these files + and bring them in synch. + * sysdeps/unix/siglist.c: Likewise. + Reported by Vladimir Michl [PR libc/832]. + +1998-10-20 Andreas Schwab + + * sysdeps/unix/sysv/linux/i386/setresuid.c: Allow -1 as arguments. + * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise. + + * sysdeps/unix/sysv/linux/i386/setreuid.c: New file. + * sysdeps/unix/sysv/linux/i386/setregid.c: New file. + * sysdeps/unix/sysv/linux/m68k/setreuid.c: New file. + * sysdeps/unix/sysv/linux/m68k/setregid.c: New file. + * sysdeps/unix/sysv/linux/arm/setreuid.c: New file. + * sysdeps/unix/sysv/linux/arm/setregid.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: New file. + * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_setreuid and + s_setregid. + * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise. + +1998-10-20 Andreas Schwab + + * sunrpc/rpc_main.c (close_output, close_input): New functions. + (c_output, h_output, s_output, l_output, t_output, svc_output, + clnt_output, mkfile_output): Call them at the end. + +1998-10-19 Andreas Schwab + + * db/Makefile (LDFLAGS-db1.so): New variable, to avoid duplicating + link command. + +1998-10-19 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents. + * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id. + +1998-10-20 Ulrich Drepper + + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_pread64 and + s_pwrite64. + * sysdeps/unix/sysv/linux/powerpc/pread.c: New file. + * sysdeps/unix/sysv/linux/powerpc/pread64.c: New file. + * sysdeps/unix/sysv/linux/powerpc/pwrite.c: New file. + * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: New file. + Patch by Geoffrey KEATING . + +1998-10-18 Zack Weinberg + + * sysdeps/unix/opendir.c: Check at runtime for kernel support for + O_DIRECTORY. + +1998-10-20 H.J. Lu + + * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix + argument types. + +1998-10-19 Ulrich Drepper + + * math/tgmath.h: Make nested function calls work. + + * include/ldsodefs.h: Fix typo. + + * posix/Makefile (tests): Add tst-preadwrite. + * posix/tst-preadwrite.c: New file. + + * sysdeps/unix/opendir.c (__opendir): Add back fstat call to make + sure that descriptor is in any case for a directory. + +1998-10-19 18:59 -0400 Zack Weinberg + + * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG): Fix typo: val -> Val. + (atan2): Takes two arguments. + +1998-10-19 Ulrich Drepper + + * include/ldsodefs.h: New file. + + * iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h. + Remove change to avoid using _CALL_DL_FCT. + * iconv/gconv_db.c: Likewise. + * iconv/gconv_dl.c: Likewise. + * iconv/skeleton.c: Likewise, here for DL_CALL_FCT. + * malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h. + * nss/nsswitch.c: Likewise. + * nss/nsswitch.h: Likewise. + +1998-10-19 Philip Blundell + + * sunrpc/Makefile (otherlibs): If static NSS is in use, set to the + required libraries. + * login/Makefile (otherlibs): Likewise. + * nscd/Makefile (otherlibs): Likewise. + * Makeconfig (link-libc) [! build_shared]: Add $(otherlibs). + + * debug/Makefile (install-bin): Only build catchsegv if using ELF. + + * inet/Makefile: Add -DSTATIC_NSS to CFLAGS. + +1998-10-19 Philip Blundell + + * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid + and setfsuid. + +1998-10-19 Andreas Jaeger + + * nscd/connections.c: Fix typos in comments and strings. + + * nscd/nscd.conf: Update according to recent changes to nscd. + + * nscd/cache.c (prune_cache): Remove wrong comment. + +1998-10-19 13:24 Ulrich Drepper + + * locale/programs/ld-collate.c (collate_startup): Clear bit for this + category in copy_posix. + (collate_finish): Don't warn about UNDEFINED not being defined. + * locale/programs/ld-ctype.c (ctype_startup): Clear bit for this + category in copy_posix. + * locale/programs/ld-messages.c (messages_startup): Likewise. + * locale/programs/ld-monetary.c (monetary_startup): Likewise. + * locale/programs/ld-numeric.c (numeric_startup): Likewise. + * locale/programs/ld-time.c (time_startup): Likewise. + * locale/programs/localedef.c: Move copy_def_list_t definition into + locales.h. Define copy_posix variable. + (main): Before processing copy list add ©_posix to copy_list. + * locale/programs/locales.h: Add definition of copy_def_list_t. + * locale/programs/locfile.c: Clear bit for appropriate category in + copy_posix.mask for copy instruction. + +1998-10-19 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/setresgid.c: Remove #include of + non-existing file with generic implementation. + * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. + +1998-10-19 Philip Blundell + + * iconv/gconv_db.c: Include ELF header only if STATIC_GCONV is not + defined. Avoid using _CALL_DL_FCT if it is not defined. + * iconv/gconv.c: Likewise. + +1998-10-19 Ulrich Drepper + + * nscd/connections.c (dbs): Define defualt values for timeouts and + set enabled to 0 by default. + (CACHE_PRUNE_INTERVAL): New constant. Use it instead of magical 15 in + nscd_run. + + * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for + character >= 0x80. + (_nl_C_LC_CTYPE_class32): Likewise. + Reported by HJ Lu. + +1998-10-19 Roland McGrath + + * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add + _HURD_THREADVAR_DL_ERROR. + + * hurd/Makefile (user-interfaces): Add login, password. + + * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses. + +1998-08-06 Mark Kettenis + + [submitted 1998-08-06] + * mach/Machrules: Create target directory and force re-evaluation + of Makefile to prevent `make' from optimizing away most of the + implicit rules and `vpath' directives. + +1998-10-19 Roland McGrath + + * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread + is null, short-circuit to __mach_msg. + + * sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function, + broken out of init1. + (init1) [PIC]: Call it. + (__libc_init_first) [! PIC]: Call it. + + * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call + __libc_init_secure. Instead set __libc_enable_secure here from + the exec flags. + (__libc_enable_secure): New variable it. + * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module. + +1998-10-19 Roland McGrath + + * nscd/nscd-client.h: New file, broken out of "nscd.h". + * nscd/nscd.h: Move defns needed by clients to "nscd-client.h", + and #include that. + * nscd/Makefile (distribute): Add nscd-client.h. + * nscd/nscd_getgr_r.c, nscd/nscd_gethst_r.c, nscd/nscd_getpw_r.c: + Include "nscd-client.h" instead of "nscd.h" + +1998-10-18 Ulrich Drepper + + * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing + directory entries when a lstat call fails. + Patch by Colin Plumb . + + * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the + NSS functions. + * resolv/nss_dns/dns-network.c: Likewise. + + * grp/Makefile: Don't search for linuxthreads in add-ons, use + have-thread-library to determine whether threads are available. + * pwd/Makefile: Remove wrong comment. + + * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c, + and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1. + + * locale/C-messages.c: Define default strings for YESTR and NOSTR. + + * nss/Versions: Add __nss_hosts_lookup. + + * nss/getXXbyYY.c: Remove unneeded assignment. + + * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed. + + Almost complete rewrite of the NSCD to make it smaller, faster, + add more functionnality and make it easier to extend. + * nscd/Makfile (routines): Add nscd_gethst_r. + (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache. + * nscd/cache.c: New file. + * nscd/gethstbyad_r.c: New file. + * nscd/gethstbynm2_r.c: New file. + * nscd/hstcache.c: New file. + * nscd/nscd_gethst_r.c: New file. + * nscd/connections.c: Rewritten. Don't start new thread for every + new connection. Use a fixed set of threads which handle all + connections and also the cache cleanup. + * nscd/grpcache.c: Rewritten to use generic cache handling functions + in cache.c. + * nscd/nscd.c: Recognize new parameter nthreads. Adjust initialization + for rewrite. Remove handle_requests function. + * nscd/nscd.h (NSCD_VERSION): Bump to 2. + Define new data structure for the new unified cache and the host + database entries. + * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more + databases easily. Recognize check-files and threads definitions. + * nscd/nscd.conf: Add definition of enable-cache and check-files to + passwd and group definitions. Add new set of definitions for hosts. + * nscd/nscd_getgr_r.c: Rewrite for new protocol. + * nscd/nscd_getpw_r.c: Likewise. + * nscd/nscd_proto.h: Add prototype for host database functions. + * nscd/nscd_stat.c: Rewrite to simplify printing of information + for many databases. + * nscd/dbg_log.c: Remove unnecessary variable initializations. + Global variable debug_flag is renamed to dbg_level. + * nscd/dbg_log.h: Declare set_logfile. + +1998-10-16 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of + O_LARGEFILE back. + +1998-10-16 Paul Eggert + + * time/mktime.c: Some systems require to be + included before for localtime_r to be declared + properly. + * time/strftime.c: Likewise. + +1998-10-16 Ulrich Drepper + + * db/Makefile: Add rule to generate shared object with the soname + from glibc 2.0. + + * sysdeps/unix/opendir.c: Use O_DIRECTORY if available. If not + available double check to verify it's a directory. + + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY. + * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise. + * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which + are not generally available. + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file. + + * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values. + * sysdeps/unix/sysv/linux/arm/Makefile: New file. + * sysdeps/unix/sysv/linux/arm/setegid.c: New file. + * sysdeps/unix/sysv/linux/arm/seteuid.c: New file. + * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file. + * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file. + * sysdeps/unix/sysv/linux/arm/setgid.c: New file. + * sysdeps/unix/sysv/linux/arm/setgroups.c: New file. + * sysdeps/unix/sysv/linux/arm/setresgid.c: New file. + * sysdeps/unix/sysv/linux/arm/setresuid.c: New file. + * sysdeps/unix/sysv/linux/arm/setuid.c: New file. + * sysdeps/unix/sysv/linux/i386/setegid.c: New file. + * sysdeps/unix/sysv/linux/i386/seteuid.c: New file. + * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file. + * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file. + * sysdeps/unix/sysv/linux/i386/setgid.c: New file. + * sysdeps/unix/sysv/linux/i386/setgroups.c: New file. + * sysdeps/unix/sysv/linux/i386/setresgid.c: New file. + * sysdeps/unix/sysv/linux/i386/setresuid.c: New file. + * sysdeps/unix/sysv/linux/i386/setuid.c: New file. + * sysdeps/unix/sysv/linux/m68k/setegid.c: New file. + * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file. + * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file. + * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file. + * sysdeps/unix/sysv/linux/m68k/setgid.c: New file. + * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file. + * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file. + * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file. + * sysdeps/unix/sysv/linux/m68k/setuid.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file. + + * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid, + s_setresgid, and s_setuid. + * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc] + (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid. + * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise. + +1998-10-16 Ulrich Drepper + + * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get + localtime_t declaration on some systems. + +1998-10-16 10:07 Ulrich Drepper + + * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to + -DSTATIC_GCONV. + * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not + defined. Avoid using DL_CLL_FCT if it is not defined. + +1998-10-16 10:40 -0400 Zack Weinberg + + * resolv/arpa/nameser.h: Include sys/types.h unconditionally. + Include endian.h unconditionally. Remove portability goop + depending on #ifdef linux, #ifdef BSD, #ifdef machine-type. + +1998-10-16 11:39 -0400 Zack Weinberg + + * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it. + +1998-10-15 Ulrich Drepper + + * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios + again. Use char[44] to define size of the struct. + + * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h. + +1998-10-14 Andreas Schwab + + * string/bits/string2.h (strcmp): Don't cache the result of + __builtin_constant_p in variables, otherwise constant folding + can fail in big functions. + +1998-10-14 Andreas Schwab + + * string/bits/string2.h: Add prototypes for the new inline + functions. + +1998-10-15 Ulrich Drepper + + * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to + have all types defined. + Patch by Matti Aarnio . + +1998-10-08 Paul Eggert + + * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r. + Define also if HAVE_LOCALTIME_R && defined localtime_r, with + a body that merely expands localtime_r; this works around a + bug in Digital Unix 4.0A and 4.0D. + +1998-10-14 Ulrich Drepper + + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl. + * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define + __ioctl to __syscall_ioctl and include Linux version of this file. + * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file. Redirect + ioctl calls which handle struct termios. + Based on a patch by Dan Jacobowitz . + +1998-10-14 Ulrich Drepper + + * version.h (VERSION): Bump to 2.0.98. + + * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios + here instead of including kernel_termios.h. + +1998-10-14 Andreas Jaeger + + * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is + unnecessary after the changes of 1998-10-12. + +1998-10-13 Ulrich Drepper + + * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output + parameter format string. + (inline_outw): Likewise. + + * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include + string.h to get memcpy prototype and NULL definition. + +1998-10-12 Andreas Schwab + + * misc/sys/cdefs.h (__THROW): New macro. + * argp/argp.h: Use it to replace the kludgey __P in inline + function definitions. + * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. + * stdlib/stdlib.h: Likewise. + * wcsmbs/wchar.h: Likewise. + * libio/stdio.h: Likewise. + * stdio/stdio.h: Likewise. + * sysdeps/wordsize-64/inttypes.h: Likewise. + * sysdeps/wordsize-32/inttypes.h: Likewise. + * string/argz.h: Likewise. + * io/sys/stat.h: Likewise. + +1998-10-12 Andreas Schwab + + * Rules (stdio_lim): New variable. + ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend + on Rules and config.make, use $(move-if-change) to avoid unnessary + recompilations, and cleanup command. + (common-generated): Add bits/stdio_lim.st. + +1998-10-12 Ulrich Drepper + + * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New + variable to prevent warnings from use of modern CPU instructions. + Patch by Richard Henderson . + + * sysdeps/unix/opendir.c: Test whether NAME is directory before + opening it. + +1998-10-12 Philip Blundell + + * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing + semicolon so that profiling works. + +1998-10-12 Roland McGrath + + * sysdeps/generic/glob.c: #undef mempcpy before #define. + + * sysdeps/unix/bsd/clock.c: Use prototype defns. + +1998-10-11 Ulrich Drepper + + * Rules [posix in sysdirs]: Set L_tmpnam to 20. + Patch by Zack Weinberg . + + * string/bits/string2.h [!_STRING_ARCH_unaligned] + (__mempcpy_small): Add parameter for 1 byte copy and use it. + Reported by Geoff Keating . + +1998-10-09 Mark Kettenis + + * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove, + it is already defined in . + +1998-10-09 Ulrich Drepper + + * posix/ptestcases.h: Fix typo. + +1998-10-08 Andreas Schwab + + * posix/regex.c (regcomp): Allocate and prepare a fastmap. + (regexec): Allocate regs.start and regs.end as one block. + +1998-10-08 Andreas Schwab + + * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of + enum decl. + +1998-10-08 Philip Blundell + + * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of + sigcontext union to ... + * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here. New file. + * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for + version 2.0 kernels. -1999-12-01 Ulrich Drepper +1998-10-08 Ulrich Drepper - * sysdeps/generic/usleep.c: Fix typo. + * malloc/mtrace.c (tr_reallochook): Produce better output for real + reallocation case. - * sysdeps/generic/sys/ptrace.h: Remove K&R compatibility. + * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined. + * argp/argp-xinl.c: Likewise. - * sysdeps/unix/Makefile (param.h.dep): Filter out sys/param.h - itself. + * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing + Ruffian entry back. + Patch by Christian Gafton. - * sysdeps/unix/sysv/bits/utsname.h: Test for _SYS_UTSNAME_H, not - _UTSNAME_H. +1998-10-08 Paul Eggert - * malloc/set-freeres.c: Really use already_called variable. + * time/mktime.c (__mktime_internal): When the requested time falls + in a spring-forward gap of size DT, return a time that is DT away + from the requested time, preferring a time whose tm_isdst differs + from the requested value. Bump the max number of probes from 4 to + 6 to account for the extra probes needed to discover a + spring-forward gap in the worst case. - * libio/iosetbuffer.c: Use _IO_WSETBUF instead of constructing - function call directly. - * libio/iosetvbuf.c: Likewise. +1998-10-07 17:05 Ulrich Drepper -1999-11-29 Ulrich Drepper + * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection + of the weird alpha architectures. + Patch by Cristian Gafton . - * configure.in: Add AIX 4.3 support. +1998-02-18 23:31 Richard Henderson - * iconvdata/gconv-modules: Correct alias for ISO-8859-10. This - standard was issued in 1992. - Reported by Bruno Haible . + * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for + RAWHIDE and TSUNAMI. Patch from Jay.Estabrook@digital.com. -1999-11-29 Thorsten Kukuk +1998-10-07 Ulrich Drepper - * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add define for - SIGCLD als SIGCHLD. + * elf/dl-open.c (_dl_global_scope_alloc): Make global. + (dl_open_worker): Use realloc, not malloc to resize array. + * elf/rtld.c (_dl_initial_searchlist): New variable. + (_dl_main): Copy content of _dl_main_searchlist to + _dl_initial_searchlist. + * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and + _dl_global_scope_alloc. + * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist. + * elf/dl-close.c (_dl_close): When removing object with global + scope remove allocated searchlist if no dynamically loaded object + is on it anymore. + * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope. + (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist. -1999-11-29 Andreas Jaeger + * malloc/mtrace.c (tr_where): Don't print space in location string, + print it afterwards. Print better symbol name information. - * manual/time.texi (Basic CPU Time): Better describe wrap around. - Patch by Andries Brouwer . +1998-10-06 Andreas Schwab -1999-11-29 Ulrich Drepper + * manual/filesys.texi (Setting Permissions): Fix example for + reading umask. - * iconvdata/gconv-modules: Fix typos in LATIN8/L8 aliases. - Patch by Bruno Haible . +1998-10-07 Andreas Schwab -1999-11-29 Thorsten Kukuk + * elf/sprof.c (load_profdata): Fix typo in error message. - * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Remove K&R compatibility. +1998-10-06 Andreas Schwab -1999-11-29 Andreas Schwab + * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup + flag. - * sysdeps/m68k/bits/byteswap.h (__bswap_32): Rename local variable - __v to __bswap_32_v. - (__bswap_64): Rename local variables __v and __r to __bswap_64_v - and __bswap_64_r to avoid clash with __bswap_32 macro. +1998-10-04 Roland McGrath -1999-11-28 Ulrich Drepper + * mach/mach.h: Remove __mach_msg decl; now does it. - * iconvdata/t.61.c (CHARSET_NAME): Correct name to what is used in - gconv-modules. +1998-10-06 Ulrich Drepper -1999-11-26 Ulrich Drepper + * version.h (VERSION): Bump to 2.0.97. - * locale/programs/ld-ctype.c (allocate_arrays): Complete last - patch. Use wch instead of idx to compute index. - Patch by Shinya Hanataka . +1998-10-05 Andreas Jaeger - * inet/rcmd.c (ruserok): Use iruserok2 not iruserok. + * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P + in definitions of inline stat functions so that they match the + declaration. + * stdlib/stdlib.h: Likewise. + * wcsmbs/wchar.h: Likewise. + * libio/stdio.h: Likewise. + * stdio/stdio.h: Likewise. + * sysdeps/wordsize-64/inttypes.h: Likewise. + * sysdeps/wordsize-32/inttypes.h: Likewise. + * string/argz.h: Likewise. + * argp/argp.h: Likewise. - * locale/iso-3166.def: Update from latest official list. +1998-10-06 Ulrich Drepper -1999-11-26 Thorsten Kukuk + * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in + netinet/in.h. - * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Include - asm/ptrace.h, since this will not be done with 2.3.xx automatically - * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise. +1998-10-05 Philip Blundell -1999-11-26 Andreas Jaeger + * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures + and constants. Tidy up formatting a little. - * libio/libioP.h: Remove duplicate declaration of _IO_wsetb. + * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6): + Move definitions to in.h. -1999-11-26 Andreas Jaeger +1998-10-02 Andreas Jaeger - * inet/rcmd.c: Include stdlib for declaration of free. - Declare iruserok. + * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER, + SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added. + Remove inclusion of . -1999-11-25 Ulrich Drepper +1998-10-05 Ulrich Drepper - * iconv/gconv.c (__gconv): Always initialize - cd->__data[last_step].__outbuf and cd->__data[last_step].__outbufend. + * io/sys/stat.h: Use __P in definitions of inline stat functions + so that they match the declaration. - * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Update number of - written bytes. - * iconvdata/iso-2022-jp.c: Likewise. +1998-10-02 Andreas Jaeger -1999-11-25 H.J. Lu + * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added. - * stdlib/exit.c (exit): Run funtions only if - __exit_funcs->idx > 0. +1998-10-02 Andreas Jaeger -1999-11-25 Ulrich Drepper + * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current + linux 2.1 version. - * manual/charset.texi (iconv Examples): Add iconv call to flush - state. Reported by Andrew Clausen . +1998-10-02 Philip Blundell -1999-11-25 Andreas Jaeger + * sysdeps/arm/dl-machine.h: Fix typo in last change. - * manual/install.texi (Running make install): Better describe - update from libc5. + * sysdeps/arm/bits/huge_val.h: New file. + +1998-10-02 Andreas Jaeger + + * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added. + + * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add + define. + +1998-10-05 Ulrich Drepper + + * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to + store result of realloc instead of using BUF. + +1998-10-04 Andreas Jaeger + + * misc/sgtty.h (_SGTTY_H): Correct spelling. + Reported by Rouben Rostamian [PR libc/817]. + +1998-10-04 Andreas Jaeger + + * manual/memory.texi (Obstacks): Document + obstack_alloc_failed_handler usage. + + * malloc/obstack.h: Enhance comment about + obstack_alloc_failed_handler usage. + * malloc/obstack.c: Likewise. + +1998-10-05 Ulrich Drepper + + * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or + gcc before 2.8 is used. + +1998-10-01 Philip Blundell + + * sysdeps/arm/machine-gmon.h: Correct args to mcount(). Patch + from Scott Bambrough. + + * sysdeps/unix/sysv/linux/arm/register-dump.h: New file. + + * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't + include the lock member. + +1998-09-03 Philip Blundell + + * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler. + +1998-10-01 Ulrich Drepper + + * timezone/zic.c: Update from tzcode1998h. + * timezone/europe: Update from tzdata1998i. + * timezone/southamerica: Likewise. + + * sys/types.h: Protect use of long long by __extension__. + * stdlib/stdlib.h: Likewise. + * string/string.h: Likewise. + * sysdeps/i386/bits/byteswap.h: Likewise. + * sysdeps/geeric/bits/byteswap.h: Likewise. + * sysdeps/i386/fpu/bits/mathinline.h: Likewise. + * sysdeps/unix/sysv/linux/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. + * sysdeps/wordsize-32/inttypes.h: Likewise. + * sysdeps/wordsize-32/stdint.h: Likewise. + * wcsmbs/wchar.h: Likewise. + +1998-09-29 Andreas Schwab + + * string/bits/string2.h (__string2_1bptr_p): Don't use a statement + expression. + (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk, + __strsep): Greatly reduce size of expansion by combining common + expressions. + (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to + inline function. + (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used + by the above definitions. + +1998-09-27 Geoff Keating + + * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use + correct struct ipc_perm definition. + +1998-09-29 Thorsten Kukuk + + * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free. + +1998-09-29 Cristian Gafton + + * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[]. + * sysdeps/unix/sysv/linux/net/if_shaper.h: New file. + * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h. + * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers): + Add net/if_shaper.h. + +1998-09-29 Ulrich Drepper + + * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind. + + * nis/ypclnt.c: Remove not needed close calls. + +1998-09-28 23:55 Ulrich Drepper + + * nis/ypclnt.c (__yp_bind): Pretty print. Optimize readv result + check a bit. Also close socket of domain client. Close socket + in IPPORT_RESERVED error case. + +1998-09-28 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use + CMSG_ALIGN (fixes a bug) and correct test for availability of + another entry. + * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic + Linux version. + (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for + availability of another entry. + Patch by ak@muc.de. + + * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo. + Patch by ak@muc.de. + + * libio/libio.h [!__STDC__]: Define const only if not defined. + +1998-09-27 Andreas Schwab + + * posix/annexc.c (xsystem): New function. Use it instead of + system. + +1998-09-28 Ulrich Drepper + + * stdlib/longlong.h: Remove #endif for #if removed in last change. + +1998-09-25 Ulrich Drepper + + * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu. + Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to + allow using `ut' parameter. + [!emacs]: Define ut_argument, ut_argument_spec, and + ut_argument_spec_iso as empty. Define ut to 0. Add ut_argument and + argument_spec to prototypes and definitions. + (my_strftime): Don't call tzset of ut != 0. + Compute diff as 0 is ut != 0; + [emacs]: Define new emacs_strftime function. + Based on a patch by Paul Eggert. + +1998-09-24 Paul Eggert + + * time/strftime.c (my_strftime): When asking for the length of the + subformatted buffer, do not limit the length to look for; + otherwise, we have no reliable way to distinguish between the + empty buffer and an error. + +1998-09-25 Ulrich Drepper + + * math/Makefile (gmp-objs): Add mp_clz_tab. + +1998-09-25 David S. Miller + + * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't + set them. + * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for + cpus lacking hardware multiply and divide. + +1998-09-24 Andreas Schwab + + * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use + $( + + * db/btree/bt_delete.c: Fix -Wparentheses warning. + +1998-09-24 Andreas Schwab + + * Makefile ($(inst_includedir)/gnu/lib-names.h): Use + $(do-install). + +1998-09-24 Ulrich Drepper + + * debug/catchsegv.sh: Also produce output if clone process died. + +1998-09-24 Paul Eggert + + * time/strftime.c (f_wkday): Remove duplicate definition. + (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when + !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the + 1998-09-11 fix to this case. + (wkday_len, month_len): Remove these macros; they're no longer needed. + +1998-09-24 Paul Eggert + + * time/strftime.c (my_strftime): Don't store past the end of a + zero-sized buffer. + +1998-09-24 Paul Eggert + + * time/strftime.c (underlying_strftime): + Set the buffer to a nonzero value before calling + strftime, and check to see whether strftime has set the buffer to zero. + This lets us distinguish between an empty buffer and an error. + +1998-09-24 Paul Eggert + + * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000. + This fix is propagated from tzcode1998g.tar.gz. + +1998-09-24 Mark Kettenis + + * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for + _sys_siglist. [!HAVE_GNU_LD]: Do not define _sys_siglist as + sys_siglist. This is handled correctly by the weak_alias macro. + +1998-09-24 Ulrich Drepper + + * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition + of mempcpy. Reported by Andreas Jaeger. + + * misc/regexp.h (compile): Use alloca instead of __alloca. It won't + pollute the namespace since the compiler will resolve it inline. + Reported by Florian La Roche . + +1998-09-24 10:29 Ulrich Drepper + + * timezone/private.h: Update from tzcode1998g. + + * timezone/africa: Update from tzdata1998h. + * timezone/asia: Likewise. + * timezone/australasia: Likewise. + * timezone/europe: Likewise. + * timezone/northamerica: Likewise. + * timezone/southamerica: Likewise. + * timezone/zone.tab: Likewise. + +1998-09-23 17:28 -0400 Zack Weinberg + + * misc/sys/mman.h: New file. + + * sysdeps/generic/bits/mman.h: New file. + * sysdeps/unix/bsd/osf/bits/mman.h: New file. + * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file. + * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file. + * sysdeps/unix/sysv/irix4/bits/mman.h: New file. + + * sysdeps/generic/sys/mman.h: Removed. + * sysdeps/unix/bsd/osf/sys/mman.h: Removed. + * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed. + * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed. + * sysdeps/unix/sysv/irix4/sys/mman.h: Removed. + * sysdeps/unix/sysv/linux/sys/mman.h: Removed. + + * include/sys/mman.h: Look directly for misc/sys/mman.h. + * misc/Makefile (headers): Add bits/mman.h. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove + bits/mman.h. + + * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h. + * sysdeps/unix/sysv/linux/arm/Dist: Likewise. + * sysdeps/unix/sysv/linux/i386/Dist: Likewise. + * sysdeps/unix/sysv/linux/m68k/Dist: Likewise. + * sysdeps/unix/sysv/linux/mips/Dist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise. + +1998-09-23 16:27 -0400 Zack Weinberg + + * sysdeps/mach/alpha/sysdep.h: Don't use #include_next. + * sysdeps/mach/alpha/thread_state.h: Likewise. + * sysdeps/mach/i386/sysdep.h: Likewise. + * sysdeps/mach/i386/thread_state.h: Likewise. + * sysdeps/mach/mips/sysdep.h: Likewise. + * sysdeps/mach/mips/thread_state.h: Likewise. + * sysdeps/posix/profil.c: Likewise. + * sysdeps/i386/i586/memcopy.h: Likewise. + * sysdeps/mach/pagecopy.h: Likewise. + +1998-09-23 15:25 Ulrich Drepper + + * libio/stdio.h: Define __need_getopt and include getopt.h to define + getopt stuff. + * posix/unistd.h: Likewise. + * stdio/stdio.h: Likewise. + * posix/getopt.h: Remove _GNU_SOURCE use. If __need_getopt is defined + define only getopt and the variables. + +1998-09-23 Andreas Jaeger + + * scripts/test-installation.pl (installation_problem): Don't link + the test program against libdb1. + +1998-09-23 13:52 Ulrich Drepper + + * Makeconfig (all-subdirs): Add db. + * Versions.def: Add definition for libdb1. + * shlib-versions: Add definitions for libdb1. + * db/Makefile (extra-libs): Replace by libdb1. + (libdb-routines): Rename to libdb1-routines. + (headers): Rename to db1-headers. + (distribute): Add $(db1-headers). + (install-others): Define to install symlink libdb.so.NN and the + $(db1-headers). + (CPPFLAGS): Add -DUSE_LIBDB1 + Remove rules to build makedb. + * db/Versions: Rename libdb to libdb1. + * include/db.h: If USE_LIBDB1 is defined include db/db.h. + * db/makedb.c: Removed. + + * scripts/versions.awk: Recognize digits in library names. + + * db/btree/bt_open.c: Fix compiler warnings. + * db/btree/bt_put.c: Likewise. + * db/btree/bt_split.c: Likewise. + * db/hash/hash.c: Likewise. + * db/hash/hash_bigkey.c: Likewise. + * db/recno/rec_close.c: Likewise. + + * Makefile: Add localedata/% goal. + +1998-09-22 19:58 -0400 Zack Weinberg + + * posix/execvp.c: Don't give up searching the PATH if execve + returns ENOTDIR. + +1998-09-22 12:53 Ulrich Drepper + + * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only + if _dl_fpu_control_set is set. + * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set. + * elf/rtld.c: Don't define _dl_fpu_control_set. + * elf/Versions: Remove _dl_fpu_control_set. + +1998-09-22 11:51 Ulrich Drepper + + * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define. + * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise. + Correct values of other SA_* macros according to kernel headers. + +1998-09-22 Andreas Schwab + + * elf/dl-load.c (_dl_init_paths): Avoid warning about unused + variable l. + * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering + old. + +1998-09-21 Andreas Schwab + + * elf/ldsodefs.h: Fix typo in comment. + +1998-09-21 Andreas Schwab + + * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned + char when comparing buffer contents with putback character. + +1998-09-21 Andreas Schwab + + * elf/Makefile (dl-routines, elide-routines.os, rtld-routines): + Undo last change. + * elf/Versions: Undo last change. Export _dl_fpu_control and + _dl_fpu_control_set. + * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New + variables. Include . + * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in + _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set + to indicate that is was seen. + * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw + only if _dl_fpu_control was set and is equal to desired value. + * math/Makefile (aux): Undo last change. + * math/Versions: Export __fpu_control with version GLIBC_2.0. + +1998-09-21 Andreas Schwab + + * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly + optimized. + +1998-09-21 10:00 Ulrich Drepper + + * string/bits/string2.h: Add mempcpy optimization. + * sysdeps/generic/mempcpy.c: Undefined __mempcpy. + * intl/localealias.c: Define mempcpy only if not already defined. + + * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already + defined. + +1998-09-20 10:48 -0400 Zack Weinberg + + * csu/abi-note.S: Emit the note directly instead of defining + a preprocessor macro that's only used once. Don't include sysdep.h. + * abi-tags: Generalize Solaris entry. + +1998-09-18 Andreas Schwab + + * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2): + Change to array to avoid runtime relocation. + * sysdeps/unix/sysv/linux/ptsname.c: Update declarations. + +1998-09-21 12:22 Andreas Schwab + + * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S). + * math/Makefile ($(objpfx)libieee.a): Likewise. + +1998-09-21 Ulrich Drepper + + * sysdeps/generic/getpt.c: Fix order of argument to weak_alias. + Patch by John Tobey . + +1998-09-20 Ulrich Drepper + + * login/Makefile (distribute): Remove pty-internal.h, add + pty-private.h. + + * stdlib/tst-strtol.c: Add more checks. + Patch by Zack Weinberg . + +1998-09-20 09:37 Ulrich Drepper + + * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control. + * elf/elf.h: Add AT_FPUCW. + * elf/Makefile (dl-routines): Add fpu_control. + (elide-routines.os): Add fpu_control. + (rtld-routines): Add fpu_control. + * math/Makefile (aux): Remove fpu_control. + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW. + (_dl_show_auxv): Likewise. + * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only + if different from OS default. + + * stdio-common/tstscanf.c: Add test case for (nil). + +1998-09-18 17:41 Ulrich Drepper + + * libio/fileops.c (_IO_new_file_underflow): Before allocating + buffer make sure the pushback buffer is destroyed. + (_IO_new_file_seekoff): Likewise. + If mode==0 quit early with the result. + Clear OEF flag after successful fseek. + * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr. + * libio/ftello.c (ftello): Add offset from original buffer if + stream has pushed back characters. + * libio/ftello64.c (ftello64): Likewise. + * libio/iofgetpos.c (_IO_fgetpos): Likewise. + * libio/iofgetpos64.c (_IO_fgetpos64): Likewise. + * libio/ioftell.c (_IO_ftell): Likewise. + * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr + and _IO_save_ptr. + (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr. + (_IO_default_pbackfail): Only stored push back character in original + buffer if it is the same as the one in the file at this position. + * libio/iofclose.c: Free backup buffer if one is available. + * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if + mode!=0. + + * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly. + + * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12. + + * stdio-common/vfscanf.c: Fix reading (nil) for %p. + +1998-09-18 Mark Kettenis + + * login/programs/pt_chown.c (more_help): Correct message that + describes the purpose of the program. + + * login/openpty.c: Do not include pty-private.h. + (pts_name): New function. Return name of slave pseudo terminal in + an allocated buffer if necessary. + (openpty): Use pts_name to get name of the slave end of the pseudo + terminal pair. + + * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by + pts_name before return. + +1998-09-18 11:15 Ulrich Drepper + + * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__. + +1998-09-18 Andreas Jaeger + + * login/openpty.c: Include pty-private.h instead of + pty-internal.h. + +1998-09-09 Philip Blundell + + * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit. + +1998-09-07 Philip Blundell + + * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with + recent ld.so changes. + (elf_machine_runtime_setup): Correct behaviour when profiling. + +1998-09-17 19:34 Ulrich Drepper + + * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo. + Patch by John Tobey . + +1998-09-17 Mark Kettenis + + * login/pty-internal.h: Removed. Moved constants related to the + `grantpt' helper program protocol to ... + * login/pty-private.h: ... here. New file. + * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation + to make the function work with kernels >= 2.1.115. + * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD + version if using the cloning device fails. + * sysdeps/unix/sysv/linux/grantpt.c: New file. + * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup. + * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow + use by Linux specific code. + * sysdeps/unix/bsd/unlockpt.c: General cleanup. + * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New + function. (grantpt): Use pts_name, check group and permission + mode in addition to owner. Try to set the owner, group and + permission mode first without invoking the helper program. + * login/programs/pt_chown.c: Largely rewritten. Add argp and + internationalization support. Use symbolic constants instead of + hardwired numbers for permission mode. + * sysdeps/unix/bsd/ptsname.c: New file. + +1998-09-17 22:04 Tim Waugh + + * posix/wordexp-test.c: Undo last change. + + * posix/wordexp.c: Undo last change. + +1998-09-16 Ulrich Drepper + + * nscd/grpcache.c (save_grp): Partly undo last change. + + * nscd/pwdcache.c (save_pwd): Undo last change. + +1998-09-14 Andreas Jaeger + + * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy + function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789]. + +1998-09-15 David S. Miller + + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup): + Add profiling support. + (TRAMPOLINE_TEMPLATE): New macro. + (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that. + (RTLD_START): Prettify, and set __libc_stack_end properly. + (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef + and check for sym being NULL instead. + * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes + of stack space. + * sysdeps/sparc/sparc64/lshift.S: Likewise. + * sysdeps/sparc/sparc64/mul_1.S: Likewise. + * sysdeps/sparc/sparc64/rshift.S: Likewise. + * sysdeps/sparc/sparc64/submul_1.S: Likewise. + * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old + MEDANY code model %g4 usage. + * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old + MEDANY code model %g4 usage. + * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY + code model address formation. + * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do + include elf/ldsodefs.h + (DT_SPARC): Remove. + (elf_machine_matches_host): It is now EM_SPARCV9. + (elf_machine_dynamic): Clean up to remove ugly cast. + (elf_machine_fixup_plt): Rework for new V9 ABI, add support for + new PLT formats. + (elf_machine_rela): Don't do anything at all for R_SPARC_NONE. + Prettify rest of function. + [R_SPARC_COPY]: Check for sym being NULL. + [R_SPARC_32]: Handle it. + [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the + MEDMID code model. + [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the + MEDANY code model. + [R_SPARC_NONE]: Remove this case, as it is now checked earlier. + (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats. + Add profiling support. + (TRAMPOLINE_TEMPLATE): New macro. + (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that. + (RTLD_START): Prettify and set __libc_stack_end. + * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO): + Define. + * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64. + (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define. + * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove + unused variable scratch. + * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c + (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub): + Declare. + (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn + stub to rt_sigaction syscalls. Rewrite non-rt case to use correct + old format kernel sigaction structures. + * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move... + * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here. + * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix + ucontext include. + (_JMPBUF_UNWINDS): Define. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare + statfs64 structure, which is exactly the same as the normal one. + * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes + of stack. Use correct syscall trap number. Add branch prediction + settings to branch instructions. Remove old MEDANY code model %g4 + referneces for non-PIC. + * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add + __libc_longjmp and __libc_siglongjmp strong aliases. + * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64): + Also define to __no__readdir64_decl around readdir.c inclusion. + (__readdir64): Add strong alias. + * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit): + Set strong and weak names properly. + +1998-09-16 11:25 Andreas Schwab + + * manual/Makefile (AWK): Default to gawk if standalone. + +1998-09-15 Andreas Schwab + + * Makefile (distribute): Undo last change. + * Make-dist (+tsrc) [not subdir]: Also include indirection headers + for sysdep headers. + (+subdir-headers): Removed, unused. + +1998-09-15 Andreas Schwab + + * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use + $(do-install). + +1998-09-15 Andreas Schwab + + * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for + absolute name in $(config-sysdirs), can never happen. + ($(+sysdir_pfx)sysd-rules): Likewise. + * Makeconfig (full-config-sysdirs): Likewise. + (all-Subdirs-files): Prepend $(..). + + * configure.in: Don't check for absolute name in $add_ons_pfx, can + not happen. Let --enable-add-ons=yes work if no add-ons actually + exist. + +1998-09-15 Andreas Schwab + + * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra + continuations in command. + +1998-09-15 Andreas Schwab + + * libio/oldstdfiles.c (_IO_stdin_used): Update declaration. + +1998-09-16 00:47 Tim Waugh + + * posix/wordexp-test.c: If expansion or substitution occurs + anywhere in a word, the entire word is subject to field-splitting. + + * posix/wordexp.c (parse_glob): Look for end of word instead of + end of field when deciding what to glob. + (field_split_word): New function, now the only place where + field-splitting is performed. + (parse_dollars): New parameter - tell the caller if + field-splitting should be performed on this word. + + * posix/wordexp-test.c (testit): Only call wordfree if wordexp + succeeded (or failed with WRDE_NOSPACE). + +1998-09-15 19:53 1998 Tim Waugh + + * posix/wordexp.c (wordexp): Don't convert IFS characters to + blanks. + + * posix/wordexp-test.c: Words not the result of expansion or + substitution should remain unchanged. + +1998-09-15 Ulrich Drepper + + * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP] + (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy. + +1998-09-15 Andreas Jaeger + + * stdio-common/Makefile: Include Makeconfig so that + $(inst_includedir) is defined. + +1998-09-14 Andreas Schwab + + * io/pwd.c: Include . + +1998-09-15 08:00 Ulrich Drepper + + * nscd/pwdcache.c (save_pwd): Correct copying. + * nscd/grpcache.c (save_grp): Likewise. + +1998-09-14 23:36 Ulrich Drepper + + * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call. + (free_pwd): Adjust for this change. + * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call. + (free_grp): Adjust for this change. + +1998-09-14 Ulrich Drepper + + * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size. + +1998-09-14 15:29 Ulrich Drepper + + * stdio-common/Makefile (headers): Remove bits/stdio_lim.h. + (install-others): Add bits/stdio_lim.h. + Add rule to install bits/stdio_lim.h. + + * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file. + + * Makefile (distribute): Add include/sys/mman.h. + + * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S. + * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h. + * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h. + + * grp/initgroups.c: Include stdlib.h. + Patch by Zack Weinberg. + +1998-09-14 22:46 Tim Waugh + + * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour + for field-splitting :abc: is correct, and that two fields should + result. Revert tests to reflect this. + + * posix/wordexp.c (w_emptyword): Remove function. + (exec_comm): Don't use w_emptyword. + (parse_param): Likewise. + +1998-09-14 15:00 Ulrich Drepper + + * sysdeps/arm/fpu/Dist: Moved to... + * sysdeps/arm/Dist: ...here. + * sysdeps/posix/Dist: Removed. + * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to... + * sysdeps/unix/sysv/linux/i386/Dist: ...here. + +1998-08-26 Geoff Keating + + * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable. + +1998-09-14 11:26 Ulrich Drepper + + * wcsmbs/wcsmbs-tst1.c: Include stdlib.h. + +1998-09-14 Thorsten Kukuk + + * libc-work/nis/nss_nisplus/nisplus-service.c + (_nss_nisplus_parse_servent): Convert port in network byte order. + +1998-09-14 07:53 -0400 Zack Weinberg + + * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc, + to provide only malloc and calloc. + * include/stdlib.h: Support the above. + * string/bits/string2.h: Use __need_malloc_and_calloc when + including stdlib.h. + (__string2_1bptr_p): Avoid -Wbad-function-cast warnings. + + * iconvdata/iso-2022-jp.c: Include . + * iconvdata/iso646.c: Include . + +1998-09-14 07:51 -0400 Zack Weinberg + + * sunrpc/rpc_cout.c: Add braces around ambiguous else. + * sysdeps/libm-ieee754/w_pow.c: Likewise. + * sysdeps/libm-ieee754/w_powf.c: Likewise. + * sysdeps/libm-ieee754/w_powl.c: Likewise. + +1998-09-14 07:57 -0400 Zack Weinberg + + * stdio-common/stdio_lim.h.in: New file. All parameters + are adjustable at build time. + * Rules: Add a rule to build bits/stdio_lim.h from + stdio-common/stdio_lim.h.in. (It has to be in Rules so that + all subdirectories know how to make the file. It can't be + in Makerules because then it gets built at top level and the + dependencies are wrong.) + + * stdio-common/Makefile (distribute): Add stdio_lim.h.in. + * sysdeps/unix/sysv/linux/Makefile: Delete rules to make + stdio_lim.h. + * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed. + * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in. + * sysdeps/posix/Makefile: Removed. + * sysdeps/posix/mk-stdiolim.c: Removed. + * sysdeps/generic/bits/stdio_lim.h: Removed. + +1998-09-12 Andreas Schwab + + * argp/argp-help.c: Fixup indentation. + * nss/nss_files/files-alias.c: Quiet -Wparentheses warning. + * resolv/nss_dns/dns-network.c: Likewise. + * resolv/res_send.c: Likewise. + * rt/aio_cancel.c: Likewise. + * rt/aio_misc.c: Likewise. + +1998-09-12 Andreas Schwab + + * Makefile (install-symbolic-link): Remove the link list file at last. + * Makerules (install-clean-symbolic-link-list): Removed. + +1998-09-12 Andreas Schwab + + * timezone/tst-timezone.c: Print time in UTC to get consistent + output. + +1998-09-12 Andreas Schwab + + * elf/rtld.c (_dl_rpath): Removed. + * elf/dl-support.c (_dl_path): Removed. + * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath. + (CFLAGS-dl-support.c): Removed. + + * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All + uses changed. + (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH, + instead of appending it to the main map's rpath info. + (_dl_map_object): Consistently use LD_LIBRARY_PATH after all + DT_RPATHs. This makes it effective again. + (decompose_rpath): Remove second parameter, callers changed. + (fillin_rpath): Allocate enough space in curwd. + (expand_dynamic_string_token): Cope with get_origin returning -1. + +1998-09-14 Thorsten Kukuk + + * libc-work/nis/nss_compat/compat-pwd.c: Add support for + passwd.adjunct. + + * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for + invalid password. + +1998-09-13 18:06 Ulrich Drepper + + * locale/programs/locale.c: Update dates. + +1998-09-13 Mark Kettenis + + * sysdeps/generic/bits/types.h: Include . Make sure + size_t is defined. Some reordering of definitions to make + maintaining this file in parallel with the linux-specific file easier. + +1998-09-13 Ulrich Drepper + + * io/pwd.c (main): Add call to mtrace. + + * malloc/mtrace.pl: Quote @ in string. + +1998-09-13 19:25 Tim Waugh + + * posix/wordexp.c (parse_arith): Fix memory leaks. + (exec_comm): Likewise. + (parse_param): Likewise. + (wordexp): Likewise. + (exec_comm): Reduce number of function return points. + (parse_param): Likewise. + (wordexp): Likewise. + +1998-09-13 14:53 Tim Waugh + + * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should + yield three fields, not two. Test both parameter expansion and + command substitution for correct field-splitting behaviour. + + * posix/wordexp.c (w_emptyword): New function. + (parse_param): Use it. + (exec_comm): Likewise, for consistency with the way parse_param + splits fields. + (parse_param): Fix some memory leaks. + +1998-09-13 18:04 Geoff Keating + + * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI): + Don't mark asm `volatile'. + (__elf_machine_runtime_setup): Clear the last partial block in the PLT + from the data cache too. Assume it isn't in the instruction cache yet. + (__elf_machine_fixup_plt): Clear the modified address from the caches. + +1998-09-12 Mark Kettenis + + * sysdeps/generic/segfault.c (install_handler): Install signal + handler with SA_ONSTACK instead of setting the stack flags to + SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not + defined. + +1998-09-12 14:24 -0400 Zack Weinberg + + * signal/signal.h: Fix multiple inclusion guard to cover the + entire file. + * wcsmbs/wchar.h: Remove prototype of internal function + __mbsrtowcs. + * sysdeps/i386/i486/bits/string.h (memchr): Don't do + arithmetic on `void *'. + +1998-09-12 01:09 Tim Waugh + + * posix/wordexp-test.c: Fix wrong tests. Add new tests. + + * posix/wordexp.c (wordexp): Perform word-splitting instead of + field-splitting here. + (wordexp): If out of memory mid-word, free the word (but still + leave pwordexp alone for caller to see). + (parse_param): Allow for zero-length fields (smarter checking of + memory allocation failure). + (w_addword): Convert NULL words to "". + (wordexp): Convert left-over IFS characters to blanks (like bash). + +1998-09-11 Ulrich Drepper + + * configure.in: Use test -f instead of test -e. + Patch by John Tobey . + + * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file. + * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file. + * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file. + * sysdeps/unix/sysv/linux/sigstack.c: Fix typo. + * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo. + * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file. + * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file. + Patches by John Tobey . + + * time/strftime.c (my_strftime): Delay use of *tp values until + latest possible point to allow partly initialized structures + (e.g., from strptime). + + * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO, + and NATS-SEFI. + Define *-routines variables for new modules. + (distribute): Add .c files for new modules. + (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h, + and nats-sefi.h. + Add rules for header generation. + * iconvdata/gconv-modules: Add entries for new modules. + * iconvdata/iso_10367-box.c: New file. + * iconvdata/mac-is.c: New file. + * iconvdata/nats-dano.c: New file. + * iconvdata/nats-sefi.c: New file. + +1998-04-30 18:20 H.J. Lu + + * elf/dl-load.c (_dl_init_paths): Don't check the dynamic + loader if PIC is not defined. + +1998-09-11 Ulrich Drepper + + * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS, + ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS, + INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT, + and ISO_5428. + Define *-routines variables for new modules. + (distribute): Add .c files for new modules. + (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h, + ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h, + greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h, + iso_5427.h, iso_5427-ext.h, and iso_5428.h. + Add rules for header generation. + * iconvdata/gconv-modules: Add entries for new modules. + * iconvdata/csn_369103.c: New file. + * iconvdata/cwi.c: New file. + * iconvdata/dec-mcs.c: New file. + * iconvdata/ecma-cyrillic.c: New file. + * iconvdata/gost_19768-74.c: New file. + * iconvdata/greek-ccitt.c: New file. + * iconvdata/greek7-old.c: New file. + * iconvdata/greek7.c: New file. + * iconvdata/inis-8.c: New file. + * iconvdata/inis-cyrillic.c: New file. + * iconvdata/inis.c: New file. + * iconvdata/iso6937-2.c: New file. + * iconvdata/iso_2033.c: New file. + * iconvdata/iso_5427-ext.c: New file. + * iconvdata/iso_5427.c: New file. + * iconvdata/iso_5428.c: New file. + + * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9 + entries. + Convert U02dd correctly. + +1998-09-11 20:46 Richard Henderson + + * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to + _dl_main_searchlist not _dl_default_scope to _dl_init_next. + * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise. + * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise. + +1998-09-11 Ulrich Drepper + + * resolv/res_init.c (res_init): Handle resolv.conf file with only + one nameserver correctly. Patch by HJ Lu. + + * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449, + and ANSI_X3.110. + Define *-routines variables for new modules. + (distribute): Add .c files for new modules. + (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h. + Add rules for hedaer generation. + * iconvdata/gconv-modules: Add entries for new modules. Pretty print. + * iconvdata/ansi_x3.110.c: New file. + * iconvdata/asmo_449.c: New file. + * iconvdata/baltic.c: New file. + * iconvdata/iec_p27-1.c: New file. + + * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81 + entries. + Convert U02dc correctly. + + * math/atest-exp.c: Add parentheses to avoid gcc warnings. + * math/atest-exp2.c: Likewise. + * math/atest-sincos.c: Likewise. + + * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE + is defined. + +1998-09-11 10:51 Andreas Schwab + + * string/strcoll.c: Optimize a few expressions. + * string/strxfrm.c: Likewise. + +1998-09-02 Andreas Jaeger + + * manual/locale.texi: Fix typos. + +1998-09-10 Ulrich Drepper + + * stdlib/random_r.c (__setstate_r): Allow call with same state + array as currently used (PR libc/774). + + * include/limits.h: Include gcc's header even if this file is + found more than once before it (PR libc/778) + + * sysdeps/unix/sysv/linux/Makefile [subdir==misc] + (sysdep_headers): Remove sys/debugreg.h. + * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc] + (sysdep_headers): Add sys/debugreg.h. + * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed. + * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file. + + * stdio-common/tmpnam.c: Move local static variable buf to + toplevel and rename to tmpnam_buffer to ease debugging. + Patch by Joe Keane . + Optimize s == NULL case a bit. + + * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap + correction. + +1998-09-10 12:51 Ulrich Drepper + + * resolv/res_init.c (res_init): Initialize _res.nscount and + _res.nsaddr.sin_port differently for the can when no loopback + is available to allow immediate timeout in non-networking environments. + Patch by Cristian Gafton . + +1998-09-10 Andreas Jaeger + + * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL + BAR and not EM DASH. + * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0). + * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF). + Fixes PR libc/717. + +1998-09-10 11:53 Ulrich Drepper + + * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files + for test. + * timezone/tst-timezone.c (tests): Fix typo in last patch. + + * time/tzfile.c (__tzfile_read): Handle case when there are no + transitions. Set __timezone based on computed offset. + * time/tzset.c (tzset_internal): Set __timezone before returning. + + * time/tzset.c (tzset_internal): Optimize handling of local string + copy. + +1998-09-10 Andreas Jaeger + + * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR + libc/776). + +1998-09-09 Benjamin Kosnik + + * math/libm-test.c (exp10_test): Adapt epsilons for powerpc. + (csqrt_test): Likewise. + * sysdeps/powerpc/bits/fenv.h: Add parens. + +1998-09-09 18:48 Ulrich Drepper + + * sysdeps/powerpc/dl-start.S (_start): Pass pointer to + _dl_main_searchlist not _dl_default_scope to _dl_init_next. + Patch by Benjamin Kosnik . + +1998-09-09 Mark Kettenis + + * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is + the special `-1' pointer. + +1998-09-09 09:32 Ulrich Drepper + + * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function + inline. + +1998-09-07 Paul Eggert + + * time/mktime.c (__EXTENSIONS__): Define if not defined. + (_REENTRANT): Remove. It has undesirable consequences in + Solaris 2.6 (e.g. it turns off the putc macro). Defining + __EXTENSIONS__ makes localtime_r and gmtime_r visible, which + is what we want. + * time/strftime.c: Likewise. + +1998-09-08 Andreas Schwab + + * elf/dl-error.c: Fix spelling. + +1998-09-08 Andreas Schwab + + * stdlib/strfmon.c: Quiet -Wparentheses warnings. + * stdio-common/_itoa.c: Likewise. + * stdio-common/printf_fp.c: Likewise. + * stdio-common/vfscanf.c: Likewise. + * wcsmbs/wcstok.c: Likewise. + * sysdeps/generic/glob.c: Likewise. + * posix/getopt.c: Likewise. + * sysdeps/posix/getaddrinfo.c: Likewise. + * posix/wordexp.c: Likewise. + * io/ftw.c: Likewise. + * io/fts.c: Likewise. + * misc/getpass.c: Likewise. + * iconv/gconv_conf.c: Likewise. + * argp/argp-fmtstream.c: Likewise. + * argp/argp-help.c: Likewise. + * elf/dl-load.c: Likewise. + * locale/programs/stringtrans.c: Likewise. + * catgets/gencat.c: Likewise. + * posix/getconf.c: Likewise. + * iconv/gconv_conf.c: Likewise. + * iconv/iconv_prog.c: Likewise. + + * string/strcoll.c: Optimize a few expressions. + * string/strxfrm.c: Likewise. + +1998-09-08 Andreas Schwab + + * elf/dl-open.c (dl_open_worker): Move decl of new_global up one + level to avoid uninit variable warning. + +1998-09-09 10:34 Andreas Schwab + + * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist + instead of _dl_default_scope[2] as argument to _dl_init_next. + + * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with + C9x macro. + +1998-09-08 Ulrich Drepper + + Fix compatibility problems introduced in last change. + * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is + defined. + * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add + -DWEAK_GMON_START to CFLAGS-initfini.s. + + * elf/dl-object.c (_dl_new_object): Store map address in + _dl_loaded if _dl_loaded is NULL. + * elf/rtld.c (dl_main): Don't update _dl_loaded here. + + * sysdeps/generic/setrlimit64.c: Remove stub warning. + +1998-09-07 Ulrich Drepper + + * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc + quiet. + * db2/btree/bt_cursor.c: Likewise. + * db2/common/db_region.db_c: Likewise. + * db2/common/db_salloc.db_c: Likewise. + * db2/db/db.c: Likewise. + * db2/db/db_rec.c: Likewise. + * db2/hash/hash.c: Likewise. + * db2/hash/hash_page.c: Likewise. + * db2/hash/hash_rec.c: Likewise. + * db2/log/log_findckp.c: Likewise. + * db2/log/log_get.c: Likewise. + * db2/log/log_put.c: Likewise. + * db2/mp/mp_fget.c: Likewise. + * db2/mp/mp_fput.c: Likewise. + * db2/mp/mp_region.c: Likewise. + * stdlib/strtol.c: Likewise. + * string/strcoll.c: Likewise. + * string/strxfrm.c: Likewise. + * argp/argp-help.c: Likewise. + * argp/argp-parse.c: Likewise. + * resolv/res_debug.c: Likewise. + +1998-09-07 09:58 Ulrich Drepper + + * math/tgmath.h (scalb): Only define for __USE_MISC or + __USE_XOPEN_EXTENDED. Patch by Zack Weinberg. + +1998-09-06 Andreas Schwab + + * libio/stdio.h: Fix comment. + + * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if + __USE_ISOC9X. + +1998-09-06 09:53 -0400 Zack Weinberg + + * Makeconfig (+gccwarn): Remove -Wno-parentheses. + + * elf/dl-open.c: Quiet -Wparentheses warnings. + * iconvdata/johab.c: Likewise. + * iconvdata/uhc.c: Likewise. + * inet/inet_net.c: Likewise. + * io/fts.c: Likewise. + * locale/newlocale.c: Likewise. + * misc/getttyent.c: Likewise. + * misc/mntent_r.c: Likewise. + * misc/ttyslot.c: Likewise. + * nscd/nscd_conf.c: Likewise. + * nss/nsswitch.c: Likewise. + * resolv/gethnamaddr.c: Likewise. + * resolv/nsap_addr.c: Likewise. + * resolv/res_debug.c: Likewise. + * stdio-common/_itoa.c: Likewise. + * stdlib/strtod.c: Likewise. + * string/strverscmp.c: Likewise. + * sunrpc/svc.c: Likewise. + * sysdeps/libm-ieee754/e_cosh.c: Likewise. + * sysdeps/libm-ieee754/e_gamma_r.c: Likewise. + * sysdeps/libm-ieee754/e_sinh.c: Likewise. + * sysdeps/posix/getaddrinfo.c: Likewise. + +1998-09-06 15:13 Ulrich Drepper + + * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test + for use of global scope. + * elf/dlvsym.c (dlvsym_doit): Likewise. + +1998-09-02 Paul Eggert + + * strftime.c (my_strftime): When mbrlen returns (size_t) -2, + copy the redundant bytes at the end of the format as-is; don't + just copy their first byte and then rescan, as that might get + us an encoding error. + Account correctly for the length of multibyte sequences in the + format. + +1998-09-03 20:14 Tim Waugh + + * posix/wordexp-test.c: Add tests for different IFS values. + Change unquoted-newline test so that newline is not in IFS. + + * posix/wordexp.c (wordexp): Correct null/unset mix-up when + determining IFS characters. Return WRDE_BADCHAR for unquoted + special characters _except_ if they are separators. + +1998-09-06 10:56 Ulrich Drepper + + * include/tgmath.h: New file. + + * libio/stdio.h: Correct reversed #ifs. + Patch by Zack Weinberg. + + * manual/creature.texi: Better explain reason for feature select + macros. Patch by Michael Deutschmann . -1999-11-25 Andreas Jaeger +1998-09-06 10:25 -0400 Zack Weinberg - * include/sys/mman.h: Remove K&R compatibility. - -1999-11-15 Andreas Jaeger - - * misc/sys/mman.h: Use __REDIRECT for mmap, correct prototype to - use __off64_t. - -1999-11-25 Ulrich Drepper - - * iconv/iconv_prog.c (process_block): For stateful charsets write - out byte sequence to get to initial state at the end of the file. - -1999-11-25 Andreas Schwab - - * Makeconfig: Include sys-dirs and sys-sorted earlier. - ($(common-objpfx)soversions.mk): Wait until subdirs is complete. - ($(common-objpfx)sysd-sorted): Emit marker when this file is - complete. - -1999-11-24 Ulrich Drepper - - * manual/setjmp.texi: Many changes to correct bad English introduced - mainly by me. - * manual/time.texi: Likewise. - Patches by Neil Booth . - - * include/string.h: Remove K&R compatibility. - -1999-11-23 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/signum.h (SIGSYS): New definition. - - * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE802_TR): Added. - - * string/stratcliff.c: Add one more strchr test for something - which was reported to not work (which proofed to be wrong). - - * iconv/skeleton.c: It's __is_last, not is_last. - - * locale/programs/ld-ctype.c (ctype_finish): Correct method to find - the UCS value. - (allocate_arrays): Likewise. - (find_idx): Correctly increase array size. - Patches by Shinya Hanataka . - -1999-11-23 Thorsten Kukuk - - * iconv/skeleton.c: Don't access next_step->fct if data->is_last - is true. - -1999-11-23 Andreas Jaeger - - * include/sys/select.h: Remove K&R compatibility. - * include/sys/statfs.h: Likewise. - * include/gnu/libc-version.h: Likewise. + * include/alloca.h: Add multiple-inclusion guard. + * include/db.h: Likewise. * include/db_185.h: Likewise. * include/dlfcn.h: Likewise. - * include/search.h: Likewise. - * include/setjmp.h: Likewise. - * include/signal.h: Likewise. - * include/stdio.h: Likewise. - * include/unistd.h: Likewise. - -1999-11-23 Andreas Jaeger - - * include/aio.h: Remove __THROW from internal interfaces. __THROW - is only need in external header files that might be compiled by a - C++ compiler. - * include/alloca.h: Likewise. - * include/db.h: Likewise. - * include/dirent.h: Likewise. - * include/execinfo.h: Likewise. - * include/fpu_control.h: Likewise. - * include/glob.h: Likewise. + * include/fcntl.h: Likewise. * include/grp.h: Likewise. * include/libintl.h: Likewise. - * include/math.h: Likewise. - * include/math.h: Likewise. * include/mntent.h: Likewise. - * include/mntent.h: Likewise. - * include/netdb.h: Likewise. * include/pwd.h: Likewise. * include/sched.h: Likewise. + * include/search.h: Likewise. + * include/setjmp.h: Likewise. * include/shadow.h: Likewise. + * include/signal.h: Likewise. + * include/stdio.h: Likewise. * include/stdlib.h: Likewise. - * include/sys/file.h: Likewise. - * include/sys/gmon.h: Likewise. - * include/sys/ioctl.h: Likewise. - * include/sys/socket.h: Likewise. - * include/sys/stat.h: Likewise. - * include/sys/sysinfo.h: Likewise. - * include/sys/time.h: Likewise. - * include/sys/times.h: Likewise. - * include/sys/uio.h: Likewise. - * include/sys/wait.h: Likewise. + * include/string.h: Likewise. * include/termios.h: Likewise. * include/time.h: Likewise. * include/ulimit.h: Likewise. * include/utmp.h: Likewise. * include/wchar.h: Likewise. - -1999-11-22 Andreas Jaeger - - * sunrpc/rpc_clntout.c (printbody): Fix -CLMNab output. - Patch by Jerry Perkins , closes PR - libc/1456+1457. - -1999-11-22 Jakub Jelinek - - * sysdeps/generic/siglist.h: Avoid declaring the same field - twice if SIGPWR is defined to SIGLOST. - * sysdeps/sparc/sparc32/memcpy.S: bcopy takes size_t argument, - not signed, so we should not special case it for negative args. - * sysdeps/sparc/sparc32/sparcv9/memmove.c: Don't use generic - memmove, use the one provided in memcpy.S. - * sysdeps/sparc/sparc64/memcpy.S: bcopy should handle overlapping - copies like memmove, while the previous version worked like memcpy. - Implement optimized assembly memmove. - * sysdeps/sparc/sparc64/memmove.c: New file. - -1999-11-23 Ulrich Drepper - - * po/cs.po: Update from translators. - -1999-11-23 Andreas Jaeger - - * sysdeps/mips/dl-machine.h (elf_machine_dynamic): New function. - (elf_machine_got): Removed, not needed anymore. - (ELF_MACHINE_RELOC_NOPLT): Removed. - (ELF_MACHINE_JMP_SLOT): Added. - (_RTLD_PROLOGUE): We use gcc, no need to check for __STDC__. - (_RTLD_EPILOGUE): Likewise. - (RESOLVE_GOTSYM): Use R_MIPS_REL32. - (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise. - Based on patches from Maciej W. Rozycki and - Ralf Baechle . - - * sysdeps/mips/mips64/dl-machine.h: Apply same patches. - -1999-11-22 Ulrich Drepper - - * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Don't use the charset - name from the locale name. Only use the value in the LC_CTYPE - locale data file. - - * locale/loadlocale.c (_nl_load_locale): Allow index of entry in - file be equal to file size. - - * stdlib/longlong.h: Add count_trailing_zeros back. - - * stdlib/longlong.h: Update from latest egcs version. - -1999-11-22 Andreas Jaeger - - * locale/programs/ld-collate.c (insert_value): Correct order of - arguments for lr_error call. - - * sysdeps/unix/sysv/linux/mips/syscalls.list: Add - __syscall_setrlimit. - - * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Include - for key_t. - Patch by Maciej W. Rozycki . - -1999-11-21 Ulrich Drepper - - * sysdeps/i386/fpu/libm-test-ulps: Increase error value for latest - gcc version. - - * locale/programs/ld-ctype.c (ctype_read): Correctly implement - 14652-style definition of new maps and classes. - -1999-11-20 Ulrich Drepper - - * locale/programs/ld-monetary.c (monetary_finish): Don't print - individual error message if nothing is defined. - - * locale/programs/ld-time.c (time_startup): Test for lr being - nonzero, not time. - - * locale/programs/ld-numeric.c (numeric_finish): Don't crash if - decimal_point is not defined. - - * wctype/wctrans.c (wctrans): Use correct base index to access - extra mapping tables. - - * locale/loadlocale.c (_nl_load_locale): Use actual number of - entries from file and not the fixed (minimal number from the - langinfo.h list. - - * locale/programs/ld-ctype.c (ctype_read): Fix reading of - values in charmaps. - -1999-11-18 Paul Eggert - - * time/strftime.c (my_strftime): Some old compilers object to - '\a', so don't bother optimizing for it. - -1999-11-19 Ulrich Drepper - - * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Don't modify - the rlimits structure passed in. - -1999-11-19 Andreas Jaeger - - * include/sys/resource.h (__setrlimit): Add prototype. - -1999-11-19 Ulrich Drepper - - * elf/dl-load.c (_dl_init_paths): Allocate correct number of - entries for rtld_search_dirs[0]. - Patch by David Mosberger . - -1999-11-18 Ulrich Drepper - - * locale/programs/ld-ctype.c: Don't predefine the character - classes and mappings of ISO 14652. - - * locale/programs/ld-ctype.c: Punt if character class definitions - to not consists of tok_bsymbol (for now). - - * time/strptime.c (day_of_the_week): Make sure result is never - negative. - (strptime_internal): Allow %C without %y. - -1999-11-18 Andreas Jaeger - - * sysdeps/unix/sysv/linux/linux_fsinfo.h: Sorted entries and added - comments. - - * sysdeps/unix/sysv/linux/getpt.c: Include linux_fsinfo.h instead - of defining *_SUPER_MAGIC. - * sysdeps/unix/sysv/linux/grantpt.c: Likewise. - -1999-11-18 Ulrich Drepper - - * locale/programs/locale.c: Don't handle LC_ALL together with the - other categories when printing the value. - Patch by Akira YOSHIYAMA . - - * locale/locale.h: Correct comment about LC_ALL. - -1999-11-17 Ulrich Drepper - - * locale/programs/ld-ctype.c (ctype_output): Correct computation of - nelems. Correctly compute index for additional character classes. - (ctype_read): Handle charclass and charconv definitions. Also - recognize arbitrary strings as mapping names. - * locale/programs/ld-time.c (time_finish): Correctly skip over wide - character era strings. - * locale/lc-time.c (_nl_get_era_entry): Correctly skip era name - and format for wide characters. - * time/strftime.c: Correctly determine era information for wide - wcsftime. - * wctype/wctrans.c: Fix after removal of second endianess table. - * wctype/wctype.h (_ISwbit): Correctly handle bits > 16. - Patches by Shinya Hanataka . - - * wcsmbs/wcwidth.h (internal_wcwidth): Reject non-printable characters. - * wcsmbs/wcswidth.c (wcswidth): Don't forget to decrement counter n. - - * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove greg_t, - gregset_t, fpregset_t, and NGREG definitions. - - * locale/programs/ld-ctype.c: Implement character width information - handling. - -1999-11-09 Andreas Jaeger - - * sysdeps/unix/sysv/linux/grantpt.c (grantpt): Add support for devfs. - - * sysdeps/unix/sysv/linux/getpt.c (__getpt): Check for devfs. - Patch by German Jose Gomez Garcia . - - * sysdeps/unix/sysv/linux/linux_fsinfo.h (DEVFS_SUPER_MAGIC): Added. - -1999-11-17 Ulrich Drepper - - * sysdeps/gnu/netinet/tcp.h: Add TCP_CORK definition. - -1999-11-07 Andreas Jaeger - - * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: New file with some - defines from Linux scsi_ioctl.h header. - - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Added - scsi_ioctl.h. - * sysdeps/unix/sysv/linux/Dist: Likewise. - - * sysdeps/unix/sysv/linux/scsi/sg.h: Synced with Linux 2.3.26; - pretty printed. - - * sysdeps/unix/sysv/linux/scsi/scsi.h (TYPE_ENCLOSURE): Added to - sync with Linux 2.3.26. - -1999-11-17 Andreas Jaeger - - * shlib-versions: Allow mipsel for libm. - Patch by Maciej W. Rozycki . - -1999-11-16 Andreas Jaeger - - * math/fenv.h: Fix typos in comments. Reported by Andreas Schwab. - -1999-11-16 Ulrich Drepper - - * locale/programs/ld-ctype.c (set_class_defaults): Set default - value for alpha and alnum correctly. - - * locale/programs/ld-address.c (address_output): Fix output of - country_num. - -1999-11-15 Ulrich Drepper - - * timezone/asia: Update from tzdata1999j. - * timezone/australasia: Likewise. - * timezone/europe: Likewise. - * timezone/northamerica: Likewise. - * timezone/southamerica: Likewise. - * timezone/zone.tab: Likewise. - -1999-11-14 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sys/procfs.h: Remove duplicate definitions. - * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise. - * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise. - -1999-11-15 Andreas Jaeger - - * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add - __syscall_setrlimit. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. - -1999-11-14 Ulrich Drepper - - * scripts/versions.awk: Don't expect to read predecessor versions, - compute them. - * Versions.def: Remove predecessors. They now get computed. - -1999-11-14 Ulrich Drepper - - * sysdeps/unix/sysv/linux/execve.c: Add __syscall_execve prototype. - * sysdeps/unix/sysv/linux/setrlimit.c: Add __syscall_setrlimit - prototype. - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add setrlimit. - * sysdeps/powerpc/stackinfo.h: New file. - Patches by Franz Sirl . - -1999-11-13 Roland McGrath - - * Versions.def (libc): Move GLIBC_2.2 dependency from GLIBC_2.1.1 to - GLIBC_2.1.3. - -1999-11-13 Roland McGrath - - * hurd/Versions (GLIBC_2.1.3): Define, adding directory_name_split and - hurd_directory_name_split. - * Versions.def (libc): Add GLIBC_2.1.3. - -1999-11-09 Roland McGrath - - * hurd/report-wait.c (describe_port): Return char * and use __stpcpy - to return the location of the null byte written into the string. - (describe_number): Likewise. - (describe_number): Remove assert, not always used with #. - If FLAVOR is null, don't use it. - (describe_number): Take signed argument and print a - if negative. - (_S_msg_report_wait): Report system call number for system calls that - aren't mach_msg. Soup up reporting for mach_msg: If destination port - matches SS->intr_port, bracket port description with [...] to indicate - a Hurd interruptible RPC; if destination port is null, examine the - receive port and report that state; if receive port is also null, - check for timeout and report its value. - * sysdeps/mach/hurd/i386/intr-msg.h (MSG_EXAMINE): Return int that is - zero iff we managed to examine the stack; take new args RCV_NAME, - SEND_NAME, OPTION, and TIMEOUT to fill in with mach_msg args. - - * hurd/report-wait.c (describe_port): Recognize MACH_PORT_NULL and - MACH_PORT_DEAD specially. - -1999-10-04 Roland McGrath - - * hurd/hurdlookup.c (__hurd_directory_name_split): New function. - (__directory_name_split): New function. - * hurd/hurd.h: Declare them. - * sysdeps/mach/hurd/rmdir.c: Use __directory_name_split instead of - __file_name_split, so we ignore trailing slashes properly. - * sysdeps/mach/hurd/rename.c: Likewise. - -1999-11-13 Thorsten Kukuk - - * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add SIGPWR define - from current kernel headers. - - * sunrpc/key_call.c: Use /usr/etc/keyenvoy only if we don't have - SO_PASSCRED defined. - -1999-11-12 Ulrich Drepper - - * locale/C-ctype.c: Fix typo in char class name. - - * configure.in: Allow user so specify --enable-kernel=current. - -1999-11-12 Thorsten Kukuk - - * nis/nss_nisplus/nisplus-publickey.c: Check for snprintf return value. - - * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Follow changes from - i386 version. - * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise. - * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise. - * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise. - -1999-11-12 Ulrich Drepper - - * intl/locale.alias: Add Estonian entries. - Patch by Marko Kreen [PR libc/1444]. - -1999-11-02 Andreas Jaeger - - * Versions.def: Add version GLIBC_2.2 for libm. - * math/fenv.h: Add prototypes for fegetexcept, feenableexcept and - fedisableexcept. - * sysdeps/generic/feenablxcpt.c: Stub file. - * sysdeps/generic/fedisblxcpt.c: Stub file. - * sysdeps/generic/fegetexcept.c: Stub file. - * sysdeps/i386/fpu/fedisblxcpt.c: New file. - * sysdeps/i386/fpu/feenablxcpt.c: New file. - * sysdeps/i386/fpu/fegetexcept.c: New file. - * math/Makefile (libm-support): Add new files. - * math/Versions: Add new functions with version GLIBC_2.2. - * manual/arith.texi (Control Functions): Document fegetexcept, - feenableexcept and fedisableexcept. - -1999-11-01 Wolfram Gloger - - * malloc/malloc.h: Describe __malloc_initialize_hook. - * manual/memory.texi: Document __malloc_initialize_hook. - -1999-11-11 Ulrich Drepper - - * sysdeps/unix/sysv/linux/setrlimit.c: Correctly use rlimits. - -1999-11-09 Andreas Jaeger - - * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin - implementation for ttyname_r call; fix inverted condition; return - ut_user. - Closes PR libc/1438. - -1999-11-10 Ulrich Drepper - - * math/fenv.h: Include bits/fenvinline.h if optimizing. - * sysdeps/powerpc/fpu/bits/fenv.h: Remove inline functions. Moved to.. - * sysdeps/powerpc/fpu/bits/fenvinline.h: ...here. New file. - * sysdeps/generic/bits/fenv.h: New file. - -1999-11-10 Ulrich Drepper - - * misc/tst-efgcvt.c (output_r_error): Remove extra parameter to - printf call. - -1999-11-10 Andreas Jaeger - - * misc/tst-efgcvt.c: Also test ecvt_r and fcvt_r. - -1999-11-10 Andreas Jaeger - - * string/strsignal.c (strsignal): Correct check for snprintf - return value. - * argp/argp-fmtstream.c (__argp_fmtstream_printf): Likewise. - - * misc/efgcvt_r.c (APPEND): Correct check for too small buffer - according to changed snprintf return value. - Reported by Lawrence K. Chen . - - * misc/tst-efgcvt.c (special): Add tests for a too small buffer - for ecvt_r and fcvt_r. - -1999-11-09 Ulrich Drepper - - * elf/dl-load.c (_dl_dst_count): Allow $ORIGIN to point to - directory with the reference since this is as secure as using the - object with the dependency. - (_dl_dst_substitute): Likewise. - - * elf/dl-load.c (_dl_dst_count): Change strings in first two - strncmp calls to allow reuse. - (_dl_dst_substitute): Likewise. - -1999-11-01 Arnold D. Robbins - - * posix/regex.c (init_syntax_once): move below definition of - ISALNUM etc., then use ISALNUM to init the table, so that - the word ops will work if i18n'ed. - (SYNTAX): And subscript with 0xFF for 8bit character sets. - -1999-11-09 Andreas Jaeger - - * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin - implementation for ttyname_r call; fix inverted condition; return - ut_user. Closes PR libc/1438. - -1999-11-09 Ulrich Drepper - - * timezone/checktab.awk: Update from tzcode1999h. - * timezone/africa: Update from tzdata1999i. - * timezone/asia: Likewise. - * timezone/australasia: Likewise. - * timezone/backward: Likewise. - * timezone/europe: Likewise. - * timezone/northamerica: Likewise. - * timezone/southamerica: Likewise. - * timezone/iso3166.tab: Likewise. - * timezone/zone.tab: Likewise. - - * sysdeps/unix/sysv/linux/bits/resource.h: Define values also as - macros. Patch by brg@csua.berkeley.edu [PR libc/1439]. - -1999-11-09 Andreas Jaeger - - * posix/Makefile (tests): Added tst-getlogin. - - * posix/tst-getlogin.c: New file, contains simple tests for - getlogin and getlogin_r. - -1999-11-09 Andreas Schwab - - * misc/syslog.c: For LOG_PERROR only append a newline if - necessary. - -1999-11-08 Ulrich Drepper - - * elf/elf.h: Add STT_REGISTER, STT_HP_OPAQUE, and STT_ST_STUB - definitions. - -1999-11-08 Andreas Jaeger - - * locale/findlocale.c (_nl_find_locale): Free normalized_codeset; - this fixes a memory leak (closes PR libc/1435). - - * intl/l10nflist.c (_nl_normalize_codeset): Update comment to - reflect memory allocation. - - * intl/loadinfo.h: Comment _nl_normalize_codeset, comment memory - allocation in _nl_explode_name. - -1999-11-06 Andreas Jaeger - - * time/tzset.c: Use __libc_lock_define_initialized for tzset_lock - to initialize it. - Reported by wes@surety.com, closes PR libc/1432. - -1999-11-05 Geoff Keating - - * sysdeps/powerpc/fpu/bits/fenv.h: Don't put commas at the end of - enumerator lists (-pedantic complains). - (feraiseexcept): Use i#*X as the constraint. Fix a bug in the - test for 'one bit set'. - (feclearexcept): Likewise. - -1999-11-05 Ulrich Drepper - - * sysdeps/unix/sysv/linux/setrlimit.c: New file. - - * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Adjust - for kernel changes. - * sysdeps/unix/sysv/linux/bits/types.h (__rlim_t, __rlim64_t): Make - unsigned. - -1999-10-04 Tim Waugh - - * posix/wordexp-test.c: More tests. - - * posix/wordexp.c (wordexp): Explicit null words should be kept. - -1999-11-04 Shinya Hanataka - - * locale/programs/linereader.c (get_string): Correct type of buf2 - variable. - * locale/programs/ld-ctype.c (ctype_output): Store index correctly - for _NL_CTYPE_INDIGITS_MB_LEN, _NL_CTYPE_INDIGITS_WC_LEN, - _NL_CTYPE_INDIGITS*_MB, _NL_CTYPE_OUTDIGIT*_MB, and - _NL_CTYPE_OUTDIGIT*_WC. - (allocate_arrays): Completely initialize mapping tables. - * locale/programs/ld-time.c (time_startup): We need the wide car - string. - (time_finish): Correct handling of era. - (time_output): Fix a few array indeces. - (time_read): Pass the repertoire map to lr_token. - -1999-11-03 Ulrich Drepper - - * Versions.def: Add version for libthread_db. - -1999-11-02 Andreas Jaeger - - * manual/header.texi (Library Summary): The command @indexfonts - doesn't exist anymore, use @smallfonts instead. - -1999-11-02 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Include sys/ucontext.h - instead of duplicating definitions. - -1999-11-01 Ulrich Drepper - - * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Add more pr* types used - by the debugger. - * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise. - * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Likewise. - * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise. - * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise. - -1999-11-01 Ulrich Drepper - - * sysdeps/unix/sysv/linux/net/if_arp.h: Add ARPHDR_HWX25. - - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_NEW_GETRLIMIT_SYSCALL): New definition. - * sysdeps/unix/sysv/linux/i386/getrlimit.c: New file. - - * manual/texinfo.tex: Updated. - -1999-11-01 Andreas Jaeger - - * sysdeps/unix/sysv/linux/sys/reboot.h: Remove K&R compatibility. - - * inet/gethstbynm2_r.c: Reorder addresses. - -1999-09-11 Paul Eggert - - * posix/glob.h (glob): If #defining to glob64, do this before - declaring it, so that all declarations and uses match, and do not - declare glob64, to avoid a declaration clash. - (globfree): Likewise with globfree64. - -1999-09-08 Eli Zaretskii - - * sysdeps/generic/glob.c (prefix_array) [__MSDOS__,WINDOWS32]: - Keep the trailing slash unless DIRNAME is just "x:/". - -1999-10-11 Andreas Jaeger - - * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_KERNEL): Added. - * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise. - Closes PR libc/1384. - -1999-10-20 Andreas Schwab - - * math/Makefile (libm-tests-generated): Remove libm-test.stmp. - (generated): Add it here. - (before-compile): Add libm-test.c. - ($(addprefix $(objpfx), $(libm-tests-generated))): Depend on - libm-test.stmp. - ($(objpfx)libm-test.stmp): Use $(objpfx) instead of - $(objdir)/math/. - -1999-10-31 Ulrich Drepper - - * Makefile (pdf): New goal. - * manual/Makefile: Add definitions and rules for PDF generation. - - * Versions.def (libm): Add GLIBC_2.1.3. - - ISO C99 TR1 changes various fe* functions to return an error value. - * math/Versions [GLIBC_2.1.3]: Add feclearexcept, fegetexceptflag, - feraiseexcept, fesetexceptflag, fegetenv, fesetenv, and feupdateenv. - * sysdeps/alpha/fpu/fclrexcpt.c: Return value and add alias. - * sysdeps/alpha/fpu/fegetenv.c: Likewise. - * sysdeps/alpha/fpu/fesetenv.c: Likewise. - * sysdeps/alpha/fpu/feupdateenv.c: Likewise. - * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise. - * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise. - * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise. - * sysdeps/arm/fpu/fclrexcpt.c: Likewise. - * sysdeps/arm/fpu/fegetenv.c: Likewise. - * sysdeps/arm/fpu/fesetenv.c: Likewise. - * sysdeps/arm/fpu/fraiseexcpt.c: Likewise. - * sysdeps/arm/fpu/fsetexcptflg.c: Likewise. - * sysdeps/generic/fclrexcpt.c: Likewise. - * sysdeps/generic/fegetenv.c: Likewise. - * sysdeps/generic/fesetenv.c: Likewise. - * sysdeps/generic/feupdateenv.c: Likewise. - * sysdeps/generic/fgetexcptflg.c: Likewise. - * sysdeps/generic/fraiseexcpt.c: Likewise. - * sysdeps/generic/fsetexcptflg.c: Likewise. - * sysdeps/i386/fpu/fclrexcpt.c: Likewise. - * sysdeps/i386/fpu/fegetenv.c: Likewise. - * sysdeps/i386/fpu/fesetenv.c: Likewise. - * sysdeps/i386/fpu/feupdateenv.c: Likewise. - * sysdeps/i386/fpu/fgetexcptflg.c: Likewise. - * sysdeps/i386/fpu/fraiseexcpt.c: Likewise. - * sysdeps/i386/fpu/fsetexcptflg.c: Likewise. - * sysdeps/m68k/fpu/fclrexcpt.c: Likewise. - * sysdeps/m68k/fpu/fegetenv.c: Likewise. - * sysdeps/m68k/fpu/fesetenv.c: Likewise. - * sysdeps/m68k/fpu/feupdateenv.c: Likewise. - * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise. - * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise. - * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise. - * sysdeps/mips/fclrexcpt.c: Likewise. - * sysdeps/mips/fegetenv.c: Likewise. - * sysdeps/mips/fesetenv.c: Likewise. - * sysdeps/mips/feupdateenv.c: Likewise. - * sysdeps/mips/fgetexcptflg.c: Likewise. - * sysdeps/powerpc/fclrexcpt.c: Likewise. - * sysdeps/powerpc/fegetenv.c: Likewise. - * sysdeps/powerpc/fesetenv.c: Likewise. - * sysdeps/powerpc/feupdateenv.c: Likewise. - * sysdeps/powerpc/fgetexcptflg.c: Likewise. - * sysdeps/powerpc/fraiseexcpt.c: Likewise. - * sysdeps/powerpc/fsetexcptflg.c: Likewise. - * sysdeps/sparc/fpu/fclrexcpt.c: Likewise. - * sysdeps/sparc/fpu/fegetenv.c: Likewise. - * sysdeps/sparc/fpu/fesetenv.c: Likewise. - * sysdeps/sparc/fpu/feupdateenv.c: Likewise. - * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise. - * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise. - * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise. - * math/fenv.h: Adjust prototypes.: Likewise. - * manual/arith.texi: Adjust documentation for these changes. - - * manual/arith.texi: Document feraiseexcept. - - * sysdeps/powerpc/fegetenv.c: Moved to... - * sysdeps/powerpc/fpu/fegetenv.c: ...here. - * sysdeps/powerpc/fegetround.c: Moved to... - * sysdeps/powerpc/fpu/fegetround.c: ...here. - * sysdeps/powerpc/feholdexcpt.c: Moved to... - * sysdeps/powerpc/fpu/feholdexcpt.c: ...here. - * sysdeps/powerpc/fesetenv.c: Moved to... - * sysdeps/powerpc/fpu/fesetenv.c: ...here. - * sysdeps/powerpc/fenv_libc.h: Moved to... - * sysdeps/powerpc/fpu/fenv_libc.h: ...here. - * sysdeps/powerpc/feupdateenv.c: Moved to... - * sysdeps/powerpc/fpu/feupdateenv.c: ...here. - * sysdeps/powerpc/fgetexcptflg.c: Moved to... - * sysdeps/powerpc/fpu/fgetexcptflg.c: ...here. - * sysdeps/powerpc/fraiseexcpt.c: Moved to... - * sysdeps/powerpc/fpu/fraiseexcpt.c: ...here. - * sysdeps/powerpc/fsetexcptflg.c: Moved to... - * sysdeps/powerpc/fpu/fsetexcptflg.c: ...here. - * sysdeps/powerpc/ftestexcept.c: Moved to... - * sysdeps/powerpc/fpu/ftestexcept.c: ...here. - * sysdeps/powerpc/fesetround.c: Moved to... - * sysdeps/powerpc/fpu/fesetround.c: ...here - * sysdeps/powerpc/fenv_const.c: Moved to... - * sysdeps/powerpc/fpu/fenv_const.c: ...here. - - * sysdeps/mips/fclrexcpt.c: Moved to... - * sysdeps/mips/fpu/fclrexcpt.c: ...here. - * sysdeps/mips/fegetenv.c: Moved to... - * sysdeps/mips/fpu/fegetenv.c: ...here. - * sysdeps/mips/fegetround.c: Moved to... - * sysdeps/mips/fpu/fegetround.c: ...here. - * sysdeps/mips/fesetenv.c: Moved to... - * sysdeps/mips/fpu/fesetenv.c: ...here. - * sysdeps/mips/fesetround.c: Moved to... - * sysdeps/mips/fpu/fesetround.c: ...here. - * sysdeps/mips/feupdateenv.c: Moved to... - * sysdeps/mips/fpu/feupdateenv.c: ...here. - * sysdeps/mips/fgetexcptflg.c: Moved to... - * sysdeps/mips/fpu/fgetexcptflg.c: ...here. - * sysdeps/mips/ftestexcept.c: Moved to... - * sysdeps/mips/fpu/ftestexcept.c: ...here. - -1999-10-29 Jakub Jelinek - - * stdlib/longlong.h: Avoid UDIV_TIME redefinition. - * sysdeps/sparc/sparc32/dl-machine.h: Fix loading of SPARC v8plus - libraries from statically linked programs. - * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: POSIX 199309 - fix for sigaction on SPARC. - Patches by David S. Miller . - - * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Declare - gregset_t and other required structures and defines for SPARC 64bit - ABI as well, not only 32bit ABI. - -1999-10-31 Andreas Jaeger - - * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Replace __USE_ISOC9X - by __USE_ISOC99 and update comments. - - * math/complex.h: Update comments for ISO C99. - * math/fenv.h: Likewise. - * math/test-fenv.c: Likewise. - * math/tgmath.h: Likewise. - * libio/stdio.h: Likewise. - * posix/sys/types.h: Likewise. - * sysdeps/generic/inttypes.h: Likewise. - * sysdeps/generic/stdint.h: Likewise. - -1999-10-31 Ulrich Drepper - - * manual/creature.texi (Feature Test Macros): Mention _ISOC99_SOURCE. - - * includes/features.h: Replace __USE_ISOC9X by __USE_ISOC99 and also - recognize _ISOC99_SOURCE. - * libio/stdio.h: Likewise. - * math/math.h: Likewise. - * math/bits/mathcalls.h: Likewise. - * math/stdio.h: Likewise. - * stdlib/stdlib.h: Likewise. - * sysdeps/alpha/fpu/bits/mathdef.h: Likewise. - * sysdeps/alpha/fpu/bits/mathinline.h: Likewise. - * sysdeps/arm/bits/huge_val.h: Likewise. - * sysdeps/generic/bits/mathdef.h: Likewise. - * sysdeps/i386/bits/huge_val.h: Likewise. - * sysdeps/i386/fpu/bits/mathdef.h: Likewise. - * sysdeps/i386/fpu/bits/mathinline.h: Likewise. - * sysdeps/ieee754/bits/huge_val.h: Likewise. - * sysdeps/m68k/bits/huge_val.h: Likewise. - * sysdeps/m68k/fpu/bits/mathdef.h: Likewise. - * sysdeps/m68k/fpu/bits/mathinline.h: Likewise. - * sysdeps/powerpc/bits/mathdef.h: Likewise. - * sysdeps/powerpc/bits/mathinline.h: Likewise. - * sysdeps/sparc/fpu/bits/mathdef.h: Likewise. - * sysdeps/sparc/fpu/bits/mathinline.h: Likewise. - * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise. - * wcsmbs/wchar.h: Likewise. - - * sysdeps/powerpc/bits/mathdef.h: Moved to... - * sysdeps/powerpc/fpu/bits/mathdef.h: ...here. - * sysdeps/powerpc/bits/mathinline.h: Moved to... - * sysdeps/powerpc/fpu/bits/mathinline.h: ...here. - * sysdeps/powerpc/bits/fenv.h: Moved to... - * sysdeps/powerpc/fpu/bits/fenv.h: ...here. - -1999-10-31 Andreas Jaeger - - * manual/math.texi (Errors in Math Functions): Correct TeX code. - -1999-10-31 Andreas Jaeger - - * math/libm-test.inc: Change comments to use ISO C99 instead of - ISO C9x. - * math/w_lgamma.c: Likewise. - * math/w_lgammaf.c: Likewise. - * math/w_lgammal.c: Likewise. - * math/test-fenv.c: Likewise. - * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise. - * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise. - * sysdeps/generic/printf_fphex.c: Likewise. - -1999-10-31 Andreas Jaeger - - * manual/arith.texi (Parsing of Floats): Remove C from ISO C comment. - - * manual/math.texi: Change ISO C9x to ISO C99. - * manual/startup.texi: Likewise. - * manual/stdio.texi: Likewise. - -1999-10-31 Andreas Jaeger - - * manual/arith.texi: Change ISO C9x to ISO C99. - * manual/time.texi (Low-Level Time String Parsing): Likewise. - -1999-10-30 Ulrich Drepper - - * socket/Makefile (distribute): Add ifreq.h. - - * manual/time.texi (Formatting Date and Time): Revise comments about - origins of the formats with ISO C99 references. - -1999-10-30 Andreas Jaeger - - * sysdeps/unix/sysv/linux/ifreq.h: New file. - -1999-10-29 Andreas Jaeger - - * manual/arith.texi (Parsing of Floats): Document the hexadecimal - input format; mention that strtof and strtold are part of ISO C99. - -1999-10-29 Ulrich Drepper - - * manual/math.texi (Errors in Math Functions): New section. - * math/libm-err-tab.pl: Moved to... - * manual/libm-err-tab.pl: ...here. - * manual/Makefile: Add rules for math function error table generation. - - * stdlib/tst-strtod.c: Add more hexadecimal tests. - - * stdlib/strtod.c: Handle hexadecimal numbers with leading digit - != 1 correctly and more than one digit before decimal point.. - -1999-10-27 Andreas Jaeger - - * sysdeps/generic/ifreq.h: New file. - - * resolv/res_hconf.c: Add missing includes to get all prototypes. - (_res_hconf_reorder_addrs): Rewrite. This never worked before. - Reported by John DiMarco . - - (_res_hconf_reorder_addrs): Made thread safe. - (free_mem): New function, needed for malloc debugging. - -1999-10-29 Andreas Jaeger - - * sysdeps/unix/sysv/linux/if_index.c (opensock): Move function to ... - * sysdeps/generic/opensock.c (__opensock): ...here in a new file. - * sysdeps/unix/sysv/linux/if_index.c: Change all callers of - opensock to use __opensock. - - * socket/Makefile (routines): Add opensock. - - * include/sys/socket.h (__opensock): Add prototype declaration. - -1999-10-29 Andreas Jaeger - - * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Added missing - N_* constants. - * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise. - - * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_SYNC_PPP): Added - new constant from Linux 2.3.25pre1. - - * sysdeps/unix/sysv/linux/linux_fsinfo.h (BFS_MAGIC): Added. - -1999-10-29 Andreas Jaeger - - * math/libm-err-tab.pl: New file to generate a table of - libm-test-ulps values. - -1999-10-29 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Expect - struct sigcontext* object as second parameter for profil_counter. - Patches by Jakub Jelinek . - -1999-10-29 Andreas Jaeger - - * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Handle reiserfs. - * sysdeps/unix/sysv/linux/pathconf.c: Likewise. - - * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add values for devpts, - efs, qnx4 and reiser file systems. - -1999-10-29 Andreas Jaeger - - * locale/Makefile (others): Set to localedef and locale for make - clean. - - * debug/Makefile (generated): Add xtrace for make clean to work. - -1999-10-29 Andreas Jaeger - - * stdlib/tst-strtod.c: Add two testcases for hexadecimal input. - -1999-10-25 Andreas Jaeger - - * math/libm-test.inc: Added code to ignore the given max ulps. - (print_max_error): Check for ignore_max_ulp. - (check_float_internal): Likewise. - (parse_opt): Parse --ignore-max-ulp. - (main): Initialize ignore_max_ulp. - -1999-10-26 Andreas Jaeger - - * stdlib/msort.c: Include for prototype. - Remove K&R compatibility and _quicksort prototype. - - * stdlib/qsort.c: Make code and comments 64 bit clean; clarify - some comments. - Reported by Bernd Loechner . - Remove K&R compatibility. - Move prototype declaration to include/stdlib.h. - Include for prototype; include for CHAR_BIT. - - * include/stdlib.h: Prototype declaration for _quicksort. - -1999-10-27 Andreas Jaeger - - * stdlib/rand_r.c (rand_r): Really use 31 bits, the result was - shifted a bit too much. - Reported by Eugen Dedu . - -1999-10-25 Ulrich Drepper - - * resolv/gethnamaddr.c: Account bytes needed for alignment in - buflen. Patch by Olaf Kirch . - - * md5-crypt/md5test.c: Correct names of MD5 functions after - removing of public names. - - * configure.in: Don't allow --enable-kernel without parameter. - -1999-10-25 Ulrich Drepper - - * sysdeps/i386/fpu/libm-test-ulps: Remove entries caused by +-0 - problems. - -1999-10-25 Thorsten Kukuk - - * md5-crypt/md5.h: Remove prototypes for public interface. md5 is - only used internally. - * md5-crypt/md5-crypt.c: Use internal names for md5 functions, - remove weak alias for public names. - * md5-crypt/md5.c: Remove weak aliase. - -1999-10-25 Andreas Jaeger - - * math/README.libm-test: New file, documents libm-test.inc. - -1999-10-25 Andreas Jaeger - - * math/gen-libm-test.pl: Only generate a new ulps file when -n is - given. - (print_ulps_file): Fix loops to not read @tests and @functions - since those are not initialized with -n now. - (parse_ulps): Set $results{..}{"kind"}. - -1999-10-25 Andreas Jaeger - - * math/gen-libm-test.pl (parse_ulps): Ignore 0 has ulp. - - * math/libm-test.inc (check_float_internal): Don't print ulps for - wrong sign of zero. - -1999-10-20 Andreas Jaeger - - * manual/socket.texi (Address Formats): Describe usage of AF_UNIX - versus AF_LOCAL. - Patch by Robert Bihlmeyer . - -1999-10-24 Ulrich Drepper - - * math/libm-test.inc: Disable some boundary case tests for inline - function testing. - - * math/math.h: Pretty printing. - - * sysdeps/i386/fpu/e_atanh.S: Correct handling of NaN. - * sysdeps/i386/fpu/e_atanhf.S: Likewise. - * sysdeps/i386/fpu/e_atanhl.S: Likewise. - * sysdeps/i386/fpu/e_log10.S: Likewise. - * sysdeps/i386/fpu/e_log10f.S: Likewise. - * sysdeps/i386/fpu/e_log10l.S: Likewise. - * sysdeps/i386/fpu/s_log1p.S: Likewise. - * sysdeps/i386/fpu/s_log1pf.S: Likewise. - * sysdeps/i386/fpu/s_log1pl.S: Likewise. - * sysdeps/i386/fpu/s_log2.S: Likewise. - * sysdeps/i386/fpu/s_log2f.S: Likewise. - * sysdeps/i386/fpu/s_log2l.S: Likewise. - - * sysdeps/i386/fpu/libm-test-ulps: New file. - - * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Correct return - value for x == 0. - (pow): Correct case x == 0. - (__sgn1l): Correct handling of -0.0. - -1999-10-22 Andreas Jaeger - - * math/libm-test.inc (asinh_test): Add test for NaN as input parameter. - (atan_test): Likewise. - (atanh_test): Likewise. - (atan2_test): Likewise. - (carg_test): Likewise. - (ceil_test): Likewise. - (cos_test): Likewise. - (cosh_test): Likewise. - (cpow_test): Likewise. - (erf_test): Likewise. - (erfc_test): Likewise. - (exp_test): Likewise. - (exp10_test): Likewise. - (exp2_test): Likewise. - (expm1_test): Likewise. - (fabs_test): Likewise. - (floor_test): Likewise. - (fmod_test): Likewise. - (gamma_test): Likewise. - (lgamma_test): Likewise. - (log10_test): Likewise. - (log1p_test): Likewise. - (log2_test): Likewise. - (logb_test): Likewise. - (nearbyint_test): Likewise. - (remainder_test): Likewise. - (remquo_test): Likewise. - (sin_test): Likewise. - (sincos_test): Likewise. - (sinh_test): Likewise. - (sqrt_test): Likewise. - (tan_test): Likewise. - (tanh_test): Likewise. - (tgamma_test): Likewise. - -1999-10-21 Ulrich Drepper - - * sysdeps/ieee754/ldbl-96/s_nexttoward.c: If x == y, return y. - - * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't handle -Inf special. - - * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Check - for -Inf and return NaN. - - * configure.in: Correct test for Cygnus gcc versions. - -1999-10-21 Andreas Jaeger - - * math/libm-test.inc (cimag_test): New function, tests cimag. - (creal_test): New function, tests creal. - (conj_test): New function, tests conj. - (main): Add new functions. - -1999-10-20 Andreas Jaeger - - * math/libm-test.inc: Rewrite to allow different deltas for real - and imaginary part of complex functions. - * math/gen-libm-test.pl: Likewise. - -1999-10-19 Ulrich Drepper - - * sysdeps/i386/fpu/s_nextafterl.c: Add __nextafterl and nextafterl - aliases. - - * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Don't handle -Inf special. - - * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Check - for -Inf and return NaN. - - * math/gen-libm-test.pl: Fix program name in help message. - - * math/libm-test.inc (check_complex): It's Imaginary, not Complex. - - * math/libm-test.inc (gamma_test): Result of gamma(-inf) is +inf. - - * sysdeps/i386/Implies: Correct order of libm directories. - -1999-10-19 Andreas Jaeger - - * include/bits/ipc.h: Remove K&R compatibility. - * include/libintl.h: Likewise. - * include/math.h: Likewise. - * include/mntent.h: Likewise - * include/netdb.h: Likewise. - * include/pwd.h: Likewise. - * include/sched.h: Likewise. - * include/shadow.h: Likewise - * include/stdlib.h: Likewise. * include/sys/file.h: Likewise. * include/sys/gmon.h: Likewise. * include/sys/ioctl.h: Likewise. * include/sys/mman.h: Likewise. * include/sys/resource.h: Likewise. + * include/sys/select.h: Likewise. * include/sys/socket.h: Likewise. - * include/sys/stat.h: Likewise. - * include/sys/sysinfo.h: Likewise. + * include/sys/statfs.h: Likewise. * include/sys/time.h: Likewise. * include/sys/times.h: Likewise. - * include/sys/uio.h: Likewise. * include/sys/wait.h: Likewise. - * include/termios.h: Likewise. - * include/time.h: Likewise. - * include/ulimit.h: Likewise. - * include/utmp.h: Likewise. - * include/wchar.h: Likewise. - * include/wctype.h: Likewise. -1999-10-19 Andreas Jaeger - - * math/libm-test.inc: Remove one K&R compatibility. - (main): Enable nexttoward_test. - - * math/gen-libm-test.pl (output_ulps): Output name of Ulps file to - libm-test-ulps.h; pretty print output a bit. - -1999-10-19 Andreas Jaeger - - * iconv/iconv_prog.c (main): Set exit value in case that reading - from stdin failed [PR libc/1404]. - -1999-10-18 Andreas Jaeger - - Added improved math testsuite: - * math/libm-test.inc: New file, contains all tests from - libm-test.c but in a different form. - * math/libm-test.c: Removed. - * sysdeps/generic/libm-test-ulps: New file: Fallback ulps file. - * math/gen-libm-test.pl: New file: Preprocessor. - * math/test-double.c: Adopted to new testsuite. - * math/test-idouble.c: Likewise. - * math/test-float.c: Likewise. - * math/test-ifloat.c: Likewise. - * math/test-ldouble.c: Likewise. - * math/test-ildoubl.c: Likewise. - * math/Makefile: Added rules to generate new suite. - -1999-10-18 Ulrich Drepper - - * inet/rcmd.c (iruserok2): Initialize isbad to -1 [PR libc/1405]. - Patch by J. Richard Sladkey . - - * scripts/config.sub: Update from latest autoconf version. - * scripts/config.guess: Likewise. - -1999-10-18 Andreas Jaeger - - * inet/arpa/inet.h: Remove K&R compatibility. - * math/fenv.h: Likewise. - -1999-10-18 Andreas Jaeger - - * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct - kernel_sigaction): Remove K&R compatibility. - * sysdeps/unix/sysv/linux/net/if.h: Likewise. - * sysdeps/unix/sysv/linux/sys/acct.h: Likewise. - * sysdeps/unix/sysv/linux/sys/fsuid.h: Likewise. - * sysdeps/unix/sysv/linux/sys/io.h: Likewise. - * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise. - * sysdeps/unix/sysv/linux/sys/klog.h: Likewise. - * sysdeps/unix/sysv/linux/sys/mount.h: Likewise. - * sysdeps/unix/sysv/linux/sys/prctl.h: Likewise. - * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise. - * sysdeps/unix/sysv/linux/sys/quota.h: Likewise. - * sysdeps/unix/sysv/linux/sys/sendfile.h: Likewise. - * sysdeps/unix/sysv/linux/sys/swap.h: Likewise. - * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise. - * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise. - * sysdeps/unix/sysv/linux/sys/timex.h: Likewise. - * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise. - * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise. - -1999-10-18 Andreas Jaeger - - * iconv/iconv_prog.c (process_block): Save errno value from iconv call. - Patch by Bruno Haible [libc/1402]. - -1999-10-18 Ulrich Drepper - - * po/gl.po: New file. - -1999-10-18 Andreas Schwab - - * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Correct - namespace selection. - -1999-10-18 Andreas Schwab - - * debug/xtrace.sh: Use TERMINAL_PROG instead of TERM to avoid - clash with the TERM environment variable. - -1999-10-18 Andreas Jaeger - - * sysdeps/generic/s_cproj.c (__cproj): Fix bug: NaN + i NaN - returns now NaN + i NaN. - * sysdeps/generic/s_cprojf.c (__cprojf): Likewise - * sysdeps/generic/s_cprojl.c (__cprojl): Likewise. - -1999-10-18 Andreas Jaeger - - * include/aio.h: Remove K&R compatiblity. - * include/alloca.h: Likewise. - * include/db.h: Likewise. - * include/dirent.h: Likewise. - * include/fcntl.h: Likewise. - * include/fpu_control.h: Likewise. - * include/glob.h: Likewise. - * include/grp.h: Likewise. - * sysdeps/unix/sysv/linux/bits/errno.h: Likewise. - * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. - * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise. - * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. - - * include/execinfo.h: Add __THROW. - -1999-10-18 Ulrich Drepper - - * sysdeps/mips/Implies: Remove wordsize-32 reference. - * sysdeps/mips/mips3/Implies: Add it here. - -1999-10-17 Ulrich Drepper - - * elf/elf.h: Add various platform and architecture extensions. - - * locale/lc-collate.c (_nl_postload_collate): Disable code for now. - * locale/setlocale.c (setlocale): Don't call _nl_find_locale for - LC_ALL. - - * socket/sys/socket.h: Remove K&R compatibility. - -1999-10-16 Andreas Jaeger - - * sysdeps/unix/sysv/linux/bits/in.h: Added struct in_pktinfo. - -1999-10-15 Andreas Jaeger - - * stdlib/Makefile (tests): Added tst-xpg-basename. - - * stdlib/tst-xpg-basename.c: New test file. - -1999-10-14 Cristian Gafton - - * string/bits/string2.h (__stpcpy_small): Make -pedantic shut up. - -1999-10-14 Andreas Jaeger - - * resolv/inet_addr.c (inet_aton): Fix last patch. The little - endian version works for both endiannesses. - - * sysdeps/unix/sysv/linux/sleep.c (__sleep): Optimize for zero - seconds. - -1999-10-12 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Don't define - register names unconditionally, only if __USE_GNU. - - * debug/Makefile: Fix rules to generate pcprofiledump. - - * include/ucontext.h: New file. - - * locale/setlocale.c: Fix gcc warning about uninitialized variable. - -1999-10-12 Andreas Jaeger - - * stdlib/tst-environ.c: Include for strcpy declaration. - - * math/basic-test.c: Fix typo. - - * locale/programs/xstrdup.c: Include string.h for glibc - compilation to get string prototypes. - - * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Add definition of - gregset_t and fpregset_t. - - * sysdeps/generic/s_nexttowardf.c: Add parenthesis to shut up gcc - warnings. Correct value for x == 0. - - * argp/argp-help.c: Remove broken definition of flockfile and - funlockfile. - -1999-10-12 Andreas Schwab - - * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Update to match - generic Linux version. - -1999-10-12 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/sigaction.h: Remove K&R compatibility. - -1999-10-11 Ulrich Drepper - - * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Add gregset_t - and fpregset_t definitions. - - * malloc/memprof.c (GETSP): Define for PowerPC. - (GETTIME): Fix generic version. - -1999-10-10 Philip Blundell - - * sunrpc/xdr_float.c (LSW): Depend on __FLOAT_WORD_ORDER not - __BYTE_ORDER. - -1999-10-11 Ulrich Drepper - - * sysdeps/unix/sysv/linux/powerpc/socket.S: Adjust asm syntax. - * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/brk.S: Likewise. - - * sysdeps/powerpc/Makefile [math] (libm-support): Remove t_sqrt. - - * sysdeps/powerpc/e_sqrt.c: Moved to... - * sysdeps/powerpc/fpu/e_sqrt.c: ...here. - * sysdeps/powerpc/e_sqrtf.c: Moved to... - * sysdeps/powerpc/fpu/e_sqrtf.c: ...here. - - * sysdeps/powerpc/submul_1.S: Adjust asm syntax. - * sysdeps/powerpc/sub_n.S: Likewise. - * sysdeps/powerpc/strlen.S: Likewise. - * sysdeps/powerpc/strcpy.S: Likewise. - * sysdeps/powerpc/strcmp.S: Likewise. - * sysdeps/powerpc/strchr.S: Likewise. - * sysdeps/powerpc/stpcpy.S: Likewise. - * sysdeps/powerpc/setjmp.S: Likewise. - * sysdeps/powerpc/rshift.S: Likewise. - * sysdeps/powerpc/ppc-mcount.S: Likewise. - * sysdeps/powerpc/mul_1.S: Likewise. - * sysdeps/powerpc/memset.S: Likewise. - * sysdeps/powerpc/lshift.S: Likewise. - * sysdeps/powerpc/dl-start.S: Likewise. - * sysdeps/powerpc/bzero.S: Likewise. - * sysdeps/powerpc/bsd-setjmp.S: Likewise. - * sysdeps/powerpc/bsd-_setjmp.S: Likewise. - * sysdeps/powerpc/addmul_1.S: Likewise. - * sysdeps/powerpc/add_n.S: Likewise. - * sysdeps/powerpc/__longjmp.S: Likewise. - * sysdeps/powerpc/elf/start.S: Likewise. - -1999-10-11 Cristian Gafton - - * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Declare - SA_SIGINFO. - -1999-10-10 Ulrich Drepper - - * stdlib/atexit.c (initial): New variable. Use to initialize - __exit_funcs. - * stdlib/exit.c (exit): Beware to not free statically allocated - list element [PR libc/1305]. - - * stdlib/xpg_basename.c (__xpg_basename): Don't return pointer to - slash before the basename [PR libc/1383]. - - * argp/argp.h: Fix typo in last patch. - - * sysdeps/powerpc/sysdep.h: New file. - * sysdeps/unix/powerpc/sysdep.h: New file. - * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Include - sysdeps/unix/powerpc/sysdep.h, not sysdeps/unix/sysdep.h. - * sysdeps/powerpc/fpu/s_copysign.S: Use symbolic names for registers - instead of bare numbers. - * sysdeps/powerpc/fpu/s_fabs.S: Likewise. - * sysdeps/powerpc/fpu/s_fmax.S: Likewise. - * sysdeps/powerpc/fpu/s_fmin.S: Likewise. - - * sysdeps/hppa/sysdep.h: New file. - -1999-10-10 Andreas Jaeger - - * misc/sgtty.h: Fix typo in last patch. - -1999-10-09 Ulrich Drepper - - * nss/getXXbyYY_r.c (do_weak_alias): Remove unnecessary parenthesis. - * sysdeps/powerpc/s_copysign.S: Move to... - * sysdeps/powerpc/fpu/s_copysign.S: ...here. Use portable asm syntax. - * sysdeps/powerpc/s_copysignf.S: Move to... - * sysdeps/powerpc/fpu/s_copysignf.S: ...here. - * sysdeps/powerpc/s_fabs.S: Move to... - * sysdeps/powerpc/fpu/s_fabs.S: ...here. Use portable asm syntax. - * sysdeps/powerpc/s_fabsf.S: Move to... - * sysdeps/powerpc/fpu/s_fabsf.S: ...here. - * sysdeps/powerpc/s_fdim.c: Move to... - * sysdeps/powerpc/fpu/s_fdim.c: ...here. - * sysdeps/powerpc/s_fdimf.c: Move to... - * sysdeps/powerpc/fpu/s_fdimf.c: ...here. - * sysdeps/powerpc/s_fmax.S: Move to... - * sysdeps/powerpc/fpu/s_fmax.S: ...here. Use portable asm syntax. - * sysdeps/powerpc/s_fmaxf.S: Move to... - * sysdeps/powerpc/fpu/s_fmaxf.S: ...here. - * sysdeps/powerpc/s_fmin.S: Move to... - * sysdeps/powerpc/fpu/s_fmin.S: ...here. Use portable asm syntax. - * sysdeps/powerpc/s_fminf.S: Move to... - * sysdeps/powerpc/fpu/s_fminf.S: ...here. - * sysdeps/powerpc/s_isnan.S: Move to... - * sysdeps/powerpc/fpu/s_isnan.c: ...here. - * sysdeps/powerpc/s_isnanf.S: Move to... - * sysdeps/powerpc/fpu/s_isnanf.S: ...here. - * sysdeps/powerpc/s_llrint.c: Move to... - * sysdeps/powerpc/fpu/s_llrint.c: ...here. - * sysdeps/powerpc/s_llrintf.c: Move to... - * sysdeps/powerpc/fpu/s_llrintf.c: ...here. - * sysdeps/powerpc/s_llround.c: Move to... - * sysdeps/powerpc/fpu/s_llround.c: ...here. - * sysdeps/powerpc/s_llroundf.c: Move to... - * sysdeps/powerpc/fpu/s_llroundf.c: ...here. - * sysdeps/powerpc/s_lrint.c: Move to... - * sysdeps/powerpc/fpu/s_lrint.c: ...here. - * sysdeps/powerpc/s_lrintf.S: Move to... - * sysdeps/powerpc/fpu/s_lrintf.S: ...here. - * sysdeps/powerpc/s_lround.c: Move to... - * sysdeps/powerpc/fpu/s_lround.c: ...here. - * sysdeps/powerpc/s_lroundf.c: Move to... - * sysdeps/powerpc/fpu/s_lroundf.c: ...here. - * sysdeps/powerpc/s_rint.c: Move to... - * sysdeps/powerpc/fpu/s_rint.c: ...here. - * sysdeps/powerpc/s_rintf.c: Move to... - * sysdeps/powerpc/fpu/s_rintf.c: ...here. - * sysdeps/powerpc/t_sqrt.c: Move to... - * sysdeps/powerpc/fpu/t_sqrt: ...here. - * sysdeps/powerpc/w_sqrt.c: Move to... - * sysdeps/powerpc/fpu/w_sqrt.c: ...here. - * sysdeps/powerpc/w_sqrtf.c: Move to... - * sysdeps/powerpc/fpu/w_sqrtf.c: ...here. - * configure.in: Support platforms which have no .text pseudo-op. - Patches partly by Jimi X . - - * Makeconfig: Look also in all subdirs for shlib-versions files. - - * malloc/memprof.sh: Fix --help string a bit. - - * argp/argp.h: Remove K&R compatiblity. - * assert/assert.h: Likewise. - * catgets/nl_types.h: Likewise. - * ctype/ctype.h: Likewise. - * db/db.h: Likewise. - * db/ndbm.h: Likewise. - * db2/db.h: Likewise. - * db2/db_185.h: Likewise. - * debug/execinfo.h: Likewise. - * dirent/dirent.h: Likewise. - * dlfcn/dlfcn.h: Likewise. - * gmon/sys/gmon.h: Likewise. - * grp/grp.h: Likewise. - * iconv/gconv.h: Likewise. - * iconv/iconv.h: Likewise. - * include/execinfo.h: Likewise. - * inet/aliases.h: Likewise. - * inet/netinet/ether.h: Likewise. - * inet/netinet/in.h: Likewise. - * intl/libintl.h: Likewise. - * io/fcntl.h: Likewise. - * io/fts.h: Likewise. - * io/ftw.h: Likewise. - * io/utime.h: Likewise. - * io/sys/poll.h: Likewise. - * io/sys/stat.h: Likewise. - * io/sys/statfs.h: Likewise. - * io/sys/statvfs.h: Likewise. - * libio/libio.h: Likewise. - * libio/stdio.h: Likewise. - * linuxthreads/sysdeps/pthread/pthread.h: Likewise. - * locale/locale.h: Likewise. - * login/pty.h: Likewise. - * login/utmp.h: Likewise. - * malloc/mcheck.h: Likewise. - * math/complex.h: Likewise. - * math/math.h: Likewise. - * math/math_private.h: Likewise. - * misc/err.h: Likewise. - * misc/fstab.h: Likewise. - * misc/libgen.h: Likewise. - * misc/mntent.h: Likewise. - * misc/regexp.h: Likewise. - * misc/search.h: Likewise. - * misc/sgtty.h: Likewise. - * misc/ttyent.h: Likewise. - * misc/sys/cdefs.h: Likewise. - * misc/sys/file.h: Likewise. - * misc/sys/ioctl.h: Likewise. - * misc/sys/mman.h: Likewise. - * misc/sys/select.h: Likewise. - * misc/sys/syslog.h: Likewise. - * misc/sys/uio.h: Likewise. - * misc/sys/ustat.h: Likewise. - * nss/nss.h: Likewise. - * posix/sched.h: Likewise. - * posix/unistd.h: Likewise. - * posix/wordexp.h: Likewise. - * posix/sys/times.h: Likewise. - * posix/sys/utsname.h: Likewise. - * posix/sys/wait.h: Likewise. - * pwd/pwd.h: Likewise. - * resolv/netdb.h: Likewise. - * resolv/resolv.h: Likewise. - * resource/ulimit.h: Likewise. - * resource/sys/resource.h: Likewise. - * resource/sys/vlimit.h: Likewise. - * resource/sys/vtimes.h: Likewise. - * rt/aio.h: Likewise. - * setjmp/setjmp.h: Likewise. - * shadow/shadow.h: Likewise. - * signal/signal.h: Likewise. - * socket/socket.h: Likewise. - * stdio/stdio.h: Likewise. - * stdio-common/_itoa.h: Likewise. - * stdio-common/_itowa.h: Likewise. - * stdio-common/printf.h: Likewise. - * stdlib/alloca.h: Likewise. - * stdlib/fmtmsg.h: Likewise. - * stdlib/monetary.h: Likewise. - * stdlib/stdlib.h: Likewise. - * stdlib/ucontext.h: Likewise. - * streams/stropts.h: Likewise. - * string/argz.h: Likewise. - * string/envz.h: Likewise. - * string/string.h: Likewise. - * string/strings.h: Likewise. - * string/bits/string2.h: Likewise. - * sunrpc/rpc/auth.h: Likewise. - * sunrpc/rpc/auth_des.h: Likewise. - * sunrpc/rpc/auth_unix.h: Likewise. - * sunrpc/rpc/clnt.h: Likewise. - * sunrpc/rpc/des_crypt.h: Likewise. - * sunrpc/rpc/netdb.h: Likewise. - * sunrpc/rpc/pmap_clnt.h: Likewise. - * sunrpc/rpc/pmap_prot.h: Likewise. - * sunrpc/rpc/pmap_rmt.h: Likewise. - * sunrpc/rpc/rpc_msg.h: Likewise. - * sunrpc/rpc/svc.h: Likewise. - * sunrpc/rpc/svc_auth.h: Likewise. - * sunrpc/rpc/xdr.h: Likewise. - * sysdeps/unix/sysv/linux/bits/sigstack.h: Likewise. - * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. - * sysvipc/sys/ipc.h: Likewise. - * sysvipc/sys/msg.h: Likewise. - * sysvipc/sys/sem.h: Likewise. - * sysvipc/sys/shm.h: Likewise. - * termios/termios.h: Likewise. - * time/time.h: Likewise. - * time/sys/time.h: Likewise. - * time/sys/timeb.h: Likewise. - * wcsmbs/wchar.h: Likewise. - * wctype/wctype.h: Likewise. - -1999-10-05 Roland McGrath - - * mach/mach/mig_support.h [! __USE_GNU]: Use #error to insist that - _GNU_SOURCE be defined. - -1999-10-08 Ulrich Drepper - - * ctype/ctype.h: Pretty print. - - * po/cs.po: Fix typos. - - * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_spent): Fix - handling of empty entries. [PR libc/1345] - Patch by Thorsten Kukuk . - -1999-10-08 Andreas Schwab - - * debug/xtrace.sh: Fix quoting bugs. Implement --help and --version. - -1999-10-08 Andreas Schwab - - * debug/pcprofiledump.c: Fix typos. - -1999-10-07 Andreas Jaeger - - * math/Makefile (tests): Added basic-tests. - - * math/basic-test.c: New file. Contains function basic_tests from - libm-test. - -1999-10-07 Andreas Schwab - - * malloc/memprof.sh: Fix quoting bugs. - -1999-10-08 Ulrich Drepper - - * timezone/europe: Update from tzdata1999h. - -1999-10-07 Ulrich Drepper - - * elf/elf.h: Update from last gABI draft. - - * elf/elf.h: Remove EM_486 entry. - * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Remove - test for EM_486. - -1999-10-07 Ulrich Drepper - - * debug/Makefile (install-bin): Add pcprofiledump and xtrace. - Add rules for both programs. - * debug/pcprofiledump.c: New file. - * debug/xtrace.sh: New file. - * debug/pcprofile.c: Allow creating output file. Add magic signature - to let reader recognize file format. - -1999-10-06 Ulrich Drepper - - * locale/programs/ld-ctype.c (ctype_read): Fix typos in last patch. - -1999-10-05 Andreas Jaeger - - * locale/programs/ld-identification.c: Fix typo in comment. - * locale/programs/ld-messages.c: Likewise. - * locale/programs/ld-monetary.c: Likewise. - * locale/programs/ld-name.c: Likewise. - - * locale/programs/ld-collate.c (read_lc_collate): Fix typo in comment. - (collate_read): Remove unnecessary comparisons with ignore_content. - - * locale/programs/ld-ctype.c (ctype_finish): Loop only over actual - assigned elements. - (ctype_read): Remove unnecessary comparisons with ignore_content. - Fix typos in comments. - - * locale/programs/ld-address.c (STR_ELEM): Remove unnecessary - comparisons with ignore_content. - -1999-10-05 Ulrich Drepper - - * po/cs.po: Update. - - * time/time.h: Move __gmtime_r declaration to ... - * include/time.h: ...here. - -1999-10-05 Andreas Jaeger - - * manual/message.texi (The message catalog files): Fix description - to match gencat implementation and Unix98: Message fields are - separated by a single blank space. - -1999-10-05 Andreas Jaeger - - * manual/string.texi (Search Functions): Add missing end for - memrchr description. - -1999-10-04 Ulrich Drepper - - * malloc/memprof.sh: Various small cleanups. Add short options. - Write error messages to stderr. - - * malloc/Makefile ($(objpfx)memprof): Fix typo in rule. - - * malloc/memprof.sh: Take options to control memprofstat. - - * malloc/Makefile: Add rule to generate memprof script. - * malloc/memprof.sh: New file. - - * elf/ldd.bash.in: Add "Usage: " in help message to comply with - GNU standard. - -1999-10-04 Andreas Jaeger - - * configure.in: Allow makeinfo 4.*. - -1999-10-04 Ulrich Drepper - - * stdio-common/vfprintf.c: Correct last patch and use outchar - instead of PUTC to output single characters. - * stdio-common/Makefile (tests): Add bug13. - * stdio-common/bug13.c: New file. - - * configure.in: Add additional options --with-gd-include and - --with-gd-lib to help people with strange installations. - - * malloc/Makefile: Add libdl dependency to libmemprof.so. - * malloc/Depend: New file. - -1999-10-04 Andreas Jaeger - - * timezone/README: Change wording to not mention the current - version. This way we can't forget to update the file. - -1999-10-04 Andreas Jaeger - - * manual/time.texi (Basic CPU Time): Fix typo. - Reported by Ben Pfaff . - -1999-10-04 Ulrich Drepper - - * string/string.h: Move __memrchr declaration to ... - * include/string.h: ...here. - -1999-10-03 Ulrich Drepper - - * string/Makefile (routines): Add memrchr. - - * sysdeps/generic/memrchr.c: Don't undef memchr, undef memrchr. - Correct order of tests for matching bytes. - - * string/tester.c: Add tests for memrchr. - - * sysdeps/i386/i486/bits/string.h (__memrchr): Correct implementation. - Start from the last character and take decrement not increment - into account for correction in return line. Add memrchr alias. - * sysdeps/i386/bits/string.h: Likewise. - -1999-10-04 Roland McGrath - - * stdlib/stdlib.h [__USE_BSD]: Declare getloadavg. - -1999-10-03 Ulrich Drepper - - * sysdeps/i386/i486/bits/string.h (__memrchr): New function. - - * sysdeps/i386/bits/string.h (__memrchr): Add cld to comply to - conventions. - - * string/Versions: Export memrchr. - -1999-10-04 Roland McGrath - - * misc/Versions (GLIBC_2.2): Add getloadavg. - * misc/Makefile (routines): Add getloadavg. - * sysdeps/generic/getloadavg.c: New file. - * sysdeps/mach/getloadavg.c: New file. - * sysdeps/unix/sysv/linux/getloadavg.c: New file. - - * sysdeps/generic/memrchr.c: New file, adapted from memchr.c. - * sysdeps/i386/bits/string.h (__memrchr): New function. - * string/string.h: Declare memrchr, __memrchr. - * manual/string.texi (Search Functions): Document memrchr. - -1999-10-03 Ulrich Drepper - - * configure.in: Accept --with-gd option and set all libgd-LDFLAGS, - CFLAGS-memprofstat.c, and LIBGD variables. - * config.make.in: Add LIBGD. - * malloc/Makefile: Add rules to generate libmemprof.so and - memprofstat. - * malloc/memprof.c: New file. - * malloc/memprofstat.c: New file. - -1999-10-02 Ulrich Drepper - - * resolv/nsap_addr.c (inet_nsap_addr): Little optimization. - - * resolv/inet_ntop.c (inet_ntop4): Little optimization. - (inet_ntop6): Likewise. - - * resolv/inet_net_pton.c (inet_net_pton_ipv4): Prevent buffer - overruns. - - * resolv/tst-aton.c (main): Add more tests. - - * resolv/inet_addr.c (inet_aton): Correct some problems with to - large numbers. Optimize a bit. - -1999-10-01 Ulrich Drepper - - * resolv/inet_net_ntop.c (inet_net_ntop_ipv4): If BITS is zero - account for added '0'. - - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Align - handling of IPv6 tunnel address handling with bind 8.2.1. Allow - len argument to be greater than needed address size. - -1999-10-01 Andreas Jaeger - - * locale/programs/ld-collate.c (insert_value): Add cast to avoid - warning. - * intl/finddomain.c (_nl_find_domain): Likewise. - -1999-09-30 Andreas Schwab - - * sysdeps/unix/sysv/linux/alpha/ioperm.c: Disable debug messages. - -1999-09-30 Andreas Jaeger - - * sysdeps/i386/lshift.S: Correct assembler commands to fix warnings. - * sysdeps/i386/rshift.S: Likewise. - * sysdeps/i386/strchrnul.S: Likewise. - * sysdeps/i386/strchr.S: Likewise. - Patch by Michael Deutschmann , - PR libc/1339. - -1999-09-30 Andreas Jaeger - - * manual/examples/pipe.c: Close other end of pipe to make example work. - -1999-10-01 Ulrich Drepper - - * timezone/checktab.awk: Update from tzcode1999g. - * timezone/tzselect.ksh: Likewise. - * timezone/africa: Update from tzdata1999g. - * timezone/asia: Likewise. - * timezone/australasia: Likewise. - * timezone/europe: Likewise. - * timezone/northamerica: Likewise. - * timezone/southamerica: Likewise. - * timezone/iso3166.tab: Likewise. - * timezone/zone.tab: Likewise. - -1999-09-27 Andreas Jaeger - - * resolv/netdb.h: Remove declaration of getnodebyname. It has - been renamed to getipnodebyname. Move flags around. - -1999-09-27 Andreas Schwab - - * manual/message.texi (Locating gettext catalog): Fix typos. - -1999-09-27 Andreas Jaeger - - * manual/socket.texi (Out-of-Band Data): Correct example program, - rename some variables for clarity. - Reported by James Antill , close PR libc/1329. - -1999-09-27 Ulrich Drepper - - * locale/programs/ld-collate.c (insert_value): Add hack to not - crash in incomplete collate implementation. - - * locale/programs/ld-collate.c (read_directions): Read new token - after accepting sorting rule. - -1999-09-26 Ulrich Drepper - - * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix - error message printing. Correctly test whether all characters of - current token are used. - (ctype_read): NUL terminate last_str. - -1999-09-26 Thorsten Kukuk - - * nscd/connections.c: Invalidate caches on request. - * nscd/nscd-client.h: Add INVALIDATE to request_type. - * nscd/nscd.c: Add invalidate cache option. - * nscd/nscd.conf: Change log directory to /var/log (FHS). - -1999-09-24 Ulrich Drepper - - * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_grent): Do - not ovverwrite last group member with NULL pointer. - Reported by Thomas Winder . - -1999-09-24 Andreas Jaeger - - * stdio-common/tst-printf.c (main): Add a testcase for large - precision. Reported by Tymm Twillman . - -1999-09-24 Andreas Schwab - - * math/bits/mathcalls.h: Fix last change. Also declare __finite. - -1999-09-24 Andreas Jaeger - - * intl/finddomain.c (_nl_find_domain): Fix memory leak: Free - normalized_codeset. Reported by Belicky Zsolt . - -1999-09-23 Mark Kettenis - - * sysdeps/unix/sysv/linux/Makefile [malloc] (CFLAGS-malloc.c): New - variable. Define MORECORE_CLEARS to 2. - - * malloc/malloc.c (cALLOc): Correctly handle systems where sbrk - doesn't clear the contents of memory that is reallocated after - decrementing the break value first. Update comment about - MORECORE_CLEARS, explaining the meaning of the values it can be - set to. - -1999-09-23 Ulrich Drepper - - * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Set errno in - one more case. - - * sysdeps/i386/fpu/bits/mathinline.h (atan): Add st(1) to clobbers. - (log): Likewise. - (log10): Likewise. - (log1p): Likewise. - (log2): Likewise. - -1999-09-22 Andreas Jaeger - - * stdio-common/tstscanf.c (main): Add test case from PR libc/1313 - reported by Ben Caradoc-Davies . - -1999-09-22 Andreas Schwab - - * stdio-common/vfscanf.c: Fix width handling when scanning floats. - -1999-04-02 Andreas Jaeger - - * elf/Makefile (CFLAGS-multiload.c): Change to allow building in - the source directory. Fixes PR libc/1059. - -1999-09-21 Ulrich Drepper - - * locale/programs/repertoire.c (repertoire_find_value): Abort if - rep parameter is NULL. - (repertoire_find_symbol): Likewise. - (repertoire_find_seq): Likewise. - -1999-09-20 Jean-Louis Martineau - - * nis/nss_compat/compat-pwd.c (getpwuid_plusgroup): Correct - returned errno value in some cases. - -1999-09-19 Ulrich Drepper - - * iconvdata/Makefile (modules): Add GBK. - (distribute): Add gbk.c. - * iconvdata/gbk.c: New file. - * iconvdata/gconv-modules: Add GBK entry. - Contributed by Sean Chen . - - * locale/programs/ld-monetary.c (monetary_output): Remove - byte-order code. - - * locale/programs/ld-time.c (time_output): Correct expected number - of iov entries. - - * manual/filesys.texi (Testing File Access): Correct description of - SUID. - -1999-080-25 H.J. Lu - - * csu/defs.awk (.end): Only match with leading white spaces. - (.align): Likewise. - -1999-09-19 Ulrich Drepper - - * stdlib/isomac.c: Add va_copy to allowed macros. - - * po/pl.po: Updated. - -1999-09-17 Andreas Schwab - - * Makefile (clean): Also remove $(postclean) files. - -1999-09-15 Andreas Jaeger - - * pwd/Makefile (otherlibs): Add for building with static-nss. - * inet/Makefile (otherlibs): Likewise. - -1999-09-15 Andreas Jaeger - - * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Use old style - function definition to avoid a compilation failure. - -1999-09-15 Andreas Jaeger - - * stdlib/tst-environ.c (main): Add getenv regression test for - environment variable that's one character long. - -1999-09-15 Andreas Jaeger - - * sysdeps/unix/sysv/linux/i386/sigaction.c: Protect real time - signal definitions to let glibc compile with older Linux versions - (2.0.10 to 2.1.100 or so). - -1999-09-18 Roland McGrath - - * sysdeps/mach/hurd/wait4.c (__wait4): When proc_wait returns EAGAIN, - return zero to indicate no children died yet (assuming WNOHANG). - - * sysdeps/mach/hurd/setsid.c: #include . - -1999-09-17 Roland McGrath - - * hurd/port2fd.c (_hurd_port2fd): Never change CTTYID port. - - * sysdeps/mach/hurd/setsid.c (__setsid): Fix return type -> pid_t. - Return _hurd_pgrp instead of 0. - -1999-09-19 Roland McGrath - - * sysdeps/mach/hurd/brk.c (_hurd_set_brk): Deallocate and reallocate - pages rather than just reprotecting them. This way we don't hold on - to the backing space. - - * hurd/hurdprio.c (_hurd_priority_which_map): Rearrange the code a bit. - Use __munmap instead of __vm_deallocate. - -1999-09-18 Ulrich Drepper - - * nis/nss_compat/compat-grp.c (getgrgid_plusgroup): Correct - returned errno value in some cases. - -1999-09-17 Andreas Jaeger - - * sysdeps/i386/Makefile (CFLAGS-initfini.s): Add also -mcpu=i386 - to override user settings. - -1999-09-17 Andreas Schwab - - * sysdeps/unix/sysv/linux/semctl.c: Copy the argument instead of - using a pointer to it. - -1999-09-16 Ulrich Drepper - - * time/getdate.c (__getdate_r): Pass correct year to check_mday. - Reported by Vern Staats . - -1999-09-14 Ulrich Drepper - - * db2/mutex/sparc.gcc (TSL_UNSET): Dereference pointer. - - * elf/elf.h (PF_MASKOS): New definition. - (EM_VAX): New definition. - -1999-08-09 Scott Bambrough - - * sysdeps/unix/sysv/linux/arm/sys/user.h: Added members - 'unsigned char ftype[8]', and 'unsigned int init_flag' to - struct user_fp. These were added in version 2.2.12 of the - ARM Linux kernel. - * sysdeps/unix/sysv/linux/arm/sys/elf.h: New file. - * sysdeps/unix/sysv/linux/arm/sys/procfs.h: New file. - The generic procfs.h included . This causes - structure redefinition errors when and - are included in the same source file. Found when building GDB. - -1999-09-13 Ulrich Drepper - - * locale/langinfo.h: Remove byte-order dependent names. - * locale/categories.def: Update after removal of byte-order dependent - names. - * locale/loadlocale.c (_nl_load_locale): Don't allow locale files - with magic number in other byte order. - * locale/newlocale.c (__newlocale): Remove byte-order dependent code. - * locale/C-collate.c: Remove initializers for other byte-order. - * locale/C-ctype.c: Likewise. - * locale/C-monetary.c: Likewise. - * locale/C-paper.c: Likewise. - * locale/C-time.c: Likewise. - * locale/lc-collate.c: Remove byte-order oriented initialization. - * locale/lc-ctype.c: Likewise. - * locale/lc-monetary.c: Likewise. - * locale/lc-time.c: Likewise. - * locale/programs/ld-address.c: Don't generate output in both - byte-orders. - * locale/programs/ld-ctype.c: Likewise. - * locale/programs/ld-paper.c: Likewise. - * locale/programs/ld-time.c: Likewise. - * time/strftime.c (NLW): Don't use different byte-orders. - * wctype/cname-lookup.h (cname_lookup): Likewise. - - * Makeconfig (localedir): Define using libdir, not datadir. - (msgcatdir): New variable. - * catgets/Makefile (CPPFLAGS): Define NLSPATH using msgcatdir. - * elf/Makefile (bash-ldd-rewrite): Replace @TEXTDOMAINDIR@ using - msgcatdir. - * intl/Makefile (install-others): Install locale.alias in msgcatdir. - (CPPFLAGS): Define paths using msgcatdir. - * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH using msgcatdir. - * po/Makefile (mo-installed): Define using msgcatdir. - - * sysdeps/unix/sysv/linux/net/if_arp.h: Fix typo. - -1999-09-12 Ulrich Drepper - - * stdio-common/vfprintf.c: Remove limitation on size of precision - for integers. - - * posix/fnmatch.c (internal_fnmatch): Make it compilable outside - glibc by defining internal_function if it isn't already. - - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If res_search - fails don't rely on errno value. - (getanswer_r): Set *ERRNOP in error cases. - - * sysdeps/posix/getaddrinfo.c (gaih_local): Test protocol and socktype. - (gaih_inet_serv): Return EIA_NODATA if name is known but has no - associated data. Test for matching numeric address and family. - (getaddrinfo): Remember EAI_NODATA result and return this in case - everything fails. - Reported by Arkadiusz Miskiewicz . - - * locale/programs/ld-address.c: Fix handling of non-existing - definitions for this category. Correctly ignore content of this - category is this is necessary. - * locale/programs/ld-collate.c: Likewise. - * locale/programs/ld-ctype.c: Likewise. - * locale/programs/ld-identification.c: Likewise. - * locale/programs/ld-measurement.c: Likewise. - * locale/programs/ld-messages.c: Likewise. - * locale/programs/ld-monetary.c: Likewise. - * locale/programs/ld-name.c: Likewise. - * locale/programs/ld-numeric.c: Likewise. - * locale/programs/ld-paper.c: Likewise. - * locale/programs/ld-telephone.c: Likewise. - * locale/programs/ld-time.c: Likewise. - * locale/programs/locfile.h (handle_copy): Take extra parameter - with result pointer. Fill in name of locale from which to copy. - Correctly read token after `END'. - - * locale/programs/localedef.c (main): Correct handling copy. - (add_to_readlist): Take extra parameter which says whether we - are supposed to read the file or not. - (find_locale): Call add_to_readlist with extra parameter set to 0. - - * locale/programs/localedef.h (struct localedef_t): Use __LC_LAST - instead of wrong number in array definitions. - (add_to_readlist): Update prototype. - - * locale/programs/locfile.c (locfile_read): Mark categories not - available in source file as read. - (write_all_categories): Fix typo. - - * locale/programs/locales.h: Removed. - -1999-09-10 Ulrich Drepper - - * elf/elf.h (SHF_MASKOS): Added. - - * sysdeps/unix/sysv/linux/sys/raw.h (RAW_MAJOR): Added. - -1999-09-08 Andreas Jaeger - - * manual/install.texi (Configuring and compiling): Mention GCC 2.95. - -1999-09-08 Andreas Jaeger - - * configure.in: Fix make version test for make 3.77.95 and later - versions. - Based on a patch by Paul D. Smith . - -1999-09-10 Ulrich Drepper - - * wcsmbs/wchar.h (WCHAR_MIN, WCHAR_MAX): Use all-numeric values. - - * sysdeps/generic/stdint.h: Correct WCHAR_MIN, WCHAR_MAX, and - WINT_MAX values. - - * wctype/wctype.h: Remove incorrect towlower/towupper optimizations. - -1999-09-09 Andreas Schwab - - * elf/link.h: Fix comment. - -1999-09-10 Ulrich Drepper - - * math/bits/mathcalls.h: Add __isnan declaration [PR libc/1294]. - - * math/math.h: Pretty print. - -1999-09-10 Andreas Schwab - - * sysdeps/generic/getenv.c (getenv): Fix lookup for single - character variable on bigendian platforms without unaligned memory - access. - -1999-09-07 Cristian Gafton - - * sysdeps/unix/sysv/linux/sys/raw.h: New file - * sysdeps/unix/sysv/linux/Dist: Add raw.h. - * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_headers): Add raw.h. - -1999-09-06 Ulrich Drepper - - * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/user.h. - - * time/ap.c: Removed. It was not used. - * time/date.c: Likewise. - * sysdeps/unix/nlist.c: Likewise. - * sysdeps/generic/nlist.c: Likewise. - * sysdeps/generic/varargs.h: Likewise. - * stdio-common/scanf11.c: Likewise. - * stdio-common/scanf6.c: Likewise. - * scripts/=__ify: Likewise. - * scripts/printsources: Likewise. - * resolv/getnetnamadr.c: Likewise. - * posix/id.c: Likewise. - * misc/ioctltst.c: Likewise. - * misc/nlist.h: Likewise. - * math/test-math.h: Likewise. - * include/nlist.h: Likewise. - -1999-09-06 Andreas Schwab - - * time/tzset.c (compute_change): Replace slow loop to compute T by - simple algorithm. - -1999-09-06 Ulrich Drepper - - * iconvdata/iso-2022-jp.c: When translating to ISO-2022-JP* write - escape sequences out even if the character itself does not fit - into the buffer. - - * iconvdata/jis0201.h (ucs4_to_jisx0201): Correct mapping for U005C. - -1999-08-31 H.J. Lu - - * nscd/nscd_getgr_r.c (nscd_getgr_r): Cleanup the buffer count. - -1999-09-05 Roland McGrath - - * hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default - it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER. - (_hurd_priority_which_map): - -1999-09-04 Ulrich Drepper - - * sysdeps/unix/sysv/linux/getaddrinfo.c: Little optimization. - -1999-09-03 Andreas Schwab - - * sysdeps/unix/sysv/linux/syscalls.list: Rename strong name for - fork from __syscall_fork to __libc_fork. - * posix/Versions: Add __libc_fork and __vfork to version - GLIBC_2.1.2. - -1999-08-30 Andreas Jaeger - - * io/ftwtest-sh: Set LC_ALL and LANG to fix locale - dependencies in sort. - -1999-09-01 H.J. Lu - - * sysdeps/unix/sysv/linux/alpha/sys/user.h: New file. - - * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Include - instead of . - -1999-09-02 Ulrich Drepper - - * elf/elf.h: Update PARISC-specific flags and symbolic names. - -1999-09-01 Ulrich Drepper - - * elf/elf.h: Update PARISC relocations. - -1999-08-31 Scott Bambrough - - * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Enclose header in an - #ifdef statement to prevent it from being included twice. - * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: - #include . - -1999-08-31 Andreas Schwab - - * locale/C-collate.c: Add missing initialisations. - * locale/C-ctype.c: Likewise. - -1999-08-31 Ulrich Drepper - - * time/strftime.c (my_strftime): Remove unneeded variable len. - - * time/strptime.c: Undo last change. - -1999-08-30 Ulrich Drepper - - * locale/Makefile (distribute): Add iso-639.def and iso-3166.def. - Change charset.h to charmap.h. - (categories): Add new categories. Leave out collate for now. - Update build rules. - * locale/categories.def: Add definitions for new categories. - * locale/langinfo.h: Likewise. - * locale/locale.h: Likewise. - * locale/C-address.c: New file. - * locale/C-identification.c: New file. - * locale/C-measurement.c: New file. - * locale/C-name.c: New file. - * locale/C-paper.c: New file. - * locale/C-telephone.c: New file. - * locale/lc-address.c: Likewise. - * locale/lc-identification.c: Likewise. - * locale/lc-measurement.c: Likewise. - * locale/lc-name.c: Likewise. - * locale/lc-paper.c: Likewise. - * locale/lc-telephone.c: Likewise. - * locale/C-ctype.c: Update for locale rewrite. - * locale/C-messages.c: Likewise. - * locale/C-monetary.c: Likewise. - * locale/C-time.c: Likewise. - * locale/lc-collate.c: Likewise. - * locale/lc-ctype.c: Likewise. - * locale/lc-monetary.c: Likewise. - * locale/lc-time.c: Likewise. - * locale/localeinfo.h: Likewise. - * locale/newlocale.c: Likewise. - * locale/setlocale.c: Likewise. - * locale/weight.h: Likewise. - * locale/findlocale.c: Unconditionally use mmap. - Handle new categories. - * locale/loadlocale.c: Likewise. - * locale/iso-3166.def: New file. - * locale/iso-639.def: New file. - * locale/programs/charmap-kw.gperf: Add new keywords. - * locale/programs/locfile-kw.gperf: Likewise. - * locale/programs/locfile-token.h: Define new tokens. - * locale/programs/charmap.c: Rewrite to handle multibyte charsets. - * locale/programs/charmap.h: New file. - * locale/programs/charset.h: Removed. - * locale/programs/config.h: Add __LC_LAST. - * locale/programs/lc-address.c: New file. - * locale/programs/lc-identification.c: New file. - * locale/programs/lc-measurement.c: New file. - * locale/programs/lc-name.c: New file. - * locale/programs/lc-paper.c: New file. - * locale/programs/lc-telephone.c: New file. - * locale/programs/lc-collate.c: Update for locale rewrite. - * locale/programs/lc-ctype.c: Likewise. - * locale/programs/lc-messages.c: Likewise. - * locale/programs/lc-monetary.c: Likewise. - * locale/programs/lc-numeric.c: Likewise. - * locale/programs/lc-time.c: Likewise. - * locale/programs/locale.c: Likewise. - * locale/programs/localedef.c: Likewise. - * locale/programs/locfile.c: Likewise. - * locale/programs/repertoire.c: Likewise. - * locale/programs/repertoire.h: Likewise. - * locale/programs/locfile.c: Update prototypes. - Update handle_copy definition. - * locale/programs/linereader.c: Add handling of wide char strings and - new definition file syntax. - * locale/programs/linereader.h (struct token): Add elements for wide - character strings. - * locale/programs/locale-spec.c: Disable handling of collation - elements for now. - * locale/programs/simple-hash.h: Cleanup. - * locale/programs/stringtrans.h: Handle quite of end of line. - * string/strcoll.c: Fall back on strcmp for now. - * string/strxfrm.c: Fall back on strncpy/strlen for now. - * time/strftime.c: Use new wide character data for wcsftime. - * time/strptime.c: Remove _nl_C_LC_TIME declaration. - * wctype/cname-lookup.h: Update for new LC_CTYPE data. - - * sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force - compiling for i386 to avoid i686-like GOT pointer computation. - - * db2/db_int.h: Change tsl_t type to u_int32_t. - * db2/mutex/mutex.c: Allow Alpha mutex definitions. - * db2/mutex/alpha.h: New file. - * db2/mutex/sparc.gcc: Fix store code for v9. Simplify clear code. - * sysdeps/alpha/Makefile [db2]: Set CFLAGS of mutex.c to make spinlocks - known. - Patches by Richard Henderson. - - * stdlib/tst-environ.c: Add cast to avoid warning. - * timezone/test-tz.c: Use setenv instead of putenv. - -1999-08-28 Andreas Jaeger - - * manual/libc.texinfo: Update version and date. - - * manual/locale.texi (Formatting Numbers): Fix @node pointers. - - * manual/filesys.texi (Working with Directory Trees): Add missing @code. - (File System Interface): Correct entry. - (Permission Bits): Add missing commata after @xref. - -1999-08-29 Andreas Jaeger - - * timezone/tst-timezone.c (main): Don't pass const strings to - putenv to avoid warnings. - - * posix/regexbug1.c: Include for puts prototype. - -1999-08-29 Thorsten Kukuk - - * nis/Versions: Add _nss_*_getipnodebyname_r. - * nis/nss_nis/nis-hosts.c: Add _nss_nis_getipnodebyname_r. - * nis/nss_nisplus/nisplus-hosts.c: Add _nss_nisplus_getipnodebyname_r. - * nss/Versions: Add _nss_files_getipnodebyname_r. - -1999-08-28 H.J. Lu - - * nscd/nscd_getgr_r.c (nscd_getgr_r): Don't count the alloca'ed - memory for buffer. - -1999-08-27 Ulrich Drepper - - * sysdeps/unix/sysv/linux/netpacket/packet.h: Update from 2.3.15 - kernel. - * inet/netinet/in.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. - -1999-08-28 Ulrich Drepper - - * malloc/malloc.c (ptmalloc_init): Don't use variables to set - thresholds for SUID binaries. [PR libc/1277] - - * posix/regexbug1.c: Add one more similar case. - -1999-08-28 Andreas Jaeger - - * manual/install.texi (Running make install): Give examples for - timezone and locale installation. - -1999-08-28 Zack Weinberg - - * glibcbug.in: Get CCVERSION from autoconf substitution. - * configure.in: Calculate and substitute CCVERSION. - -1999-08-28 Andreas Jaeger - - * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Fix sa_flags, - partially reverting a patch from 1998-12-29. We just can't change - the flags, kernels with different flags lead to - incompatibilities. - -1999-08-26 Andreas Schwab - - * locale/langinfo.h (YESSTR, NOSTR): Still define if __USE_GNU. - -1999-08-27 Ulrich Drepper - - * inet/rexec.c (rexec): Free memory if strings were allocated in - ruserpass. Reported by Andrew Morton . - -1999-08-27 Ulrich Drepper - - * locale/categories.def: Use __YESSTR amd __NOSTR in definition. - - * manual/argp.texi: Fixing language and typos. - * manual/conf.texi: Likewise. - * manual/contrib.texi: Likewise. - * manual/ctype.texi: Likewise. - * manual/filesys.texi: Likewise. - * manual/install.texi: Likewise. - * manual/job.texi: Likewise. - * manual/lang.texi: Likewise. - * manual/llio.texi: Likewise. - * manual/locale.texi: Likewise. - * manual/math.texi: Likewise. - * manual/nss.texi: Likewise. - * manual/pipe.texi: Likewise. - * manual/signal.texi: Likewise. - * manual/socket.texi: Likewise. - * manual/stdio.texi: Likewise. - * manual/sysinfo.texi: Likewise. - * manual/users.texi: Likewise. - Patches by Neil Booth . - -1999-08-25 Ulrich Drepper - - * sysdeps/i386/fpu/bits/mathinline.h (__finite): Mark constant as - unsigned to avoid warning. [PR libc/1271]. - - * conform/conformtest.pl: Allow testing regex.h which requires - sys/types.h being included. - - * conform/data/regex.h-data: Allow *_t types. - * conform/data/pwd.h-data: Likewise. - * conform/data/sched.h-data: Likewise. - * conform/data/pthread.h-data: Likewise. - * conform/data/search.h-data: Likewise. - - * misc/search.h: Avoid namespace pollution. - - * conform/conformtest.pl (@headers): Add search.h, sched.h, regex.h, - pwd.h, and pthread.h. - * conform/data/pthread.h-data: New file. - * conform/data/pwd.h-data: New file. - * conform/data/regex.h-data: New file. - * conform/data/sched.h-data: New file. - * conform/data/search.h-data: New file. - - * NAMESPACE: Add REG_ for regex.h. - - * locale/langinfo.h: Don't define YESSTR and NOSTR for XPG6 since - they are removed. - - * configure.in (libc_cv_asm_global_directive): Indent .text in - test code so that the lame HPUX compiler recognizes it. - * sysdeps/hppa/bits/endian.h: New file. - * sysdeps/unix/sysv/hpux/bits/errno.h: New file. - * sysdeps/unix/sysv/hpux/bits/setjmp.h: New file. - * sysdeps/unix/sysv/hpux/bits/stat.h: New file. - * sysdeps/unix/sysv/hpux/bits/types.h: New file. - - * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: New file. - Patch by John Tobey . - - * sysdeps/unix/sysv/sysv4/solaris2/bits/dirent.h: New file. - - * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Move - old_siocfifconf definition to toplevel. - (__protocol_available): Remove old_siocfifconf definition. - -1999-08-25 Mark Kettenis - - * sysdeps/unix/sysv/linux/ptsname.c: Add checks to make sure we're - really dealing with a master pseudo terminal, and really returning - the name of the associated slave pseudo terminal by checking the - device number. - * sysdeps/unix/sysv/linux/pty-private.h: Removed. - * login/programs/pt_chown.c (do_pt_chown): Don't use unix98_pseudo_p. - -1999-08-25 Andreas Jaeger - - * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing - underscore in _llseek entry. - - * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix typo in execve - entry. - - * sysdeps/unix/sysv/linux/bits/errno.h: Fix comment. - * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise. - - * elf/Makefile ($(objpfx)ld.so): Fix rtld-ldscript dependency. - Patch by Ralf Baechle . - -1999-08-25 Ulrich Drepper - - * inet/Makefile (routines): Add getipnodebynm. - * inet/getipnodebynm.c: New file. - * nss/digits_dots.c: If HAVE_TYPE is define type contains the - interface type. - * nss/nss_files/files-XXX.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and - EXTRA_ARGS_VALUE is not already done. - (internal_getent): Allow extra parameters and pass them to parse_line. - (_nss_files_get,ENTNAME_r): Pass extra parameters to internal_getent. - (_nss_files_get##name##_r): Likewise. - * nss/nss_files/files-hosts.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, - and EXTRA_ARGS_VALUE to pass flags and type to parser. - Add getipnodebyname function. - * nss/nss_files/files-parse.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and - EXTRA_ARGS_VALUE is not already done. - (parse_line): Add EXTRA_ARGS_DECL to parameter list. - * nss/nss_db/db-XXX.c (lookup): Allow extra parameters and pass them - to parse_line. - (_nss_db_get##name##_r): Pass extra parameters to lookup. - (_nss_db_get,ENTNAME_r): Likewise. - * sysdeps/generic/if_index.c (__protocol_available): New function. - * sysdeps/unix/sysv/linux/if_index.c: Likewise. - -1999-08-24 Ulrich Drepper - - * login/pty-private.h: Move to... - * sysdeps/generic/pty-private.h: ...here. - * sysdeps/unix/sysv/linux/pty-private.h: New file. Linux specific - version. - * login/programs/pt_chown.c (do_pt_chown): Use unix98_pseudo_p is - available. - - * libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead - of __overflow. - - * conform/conformtest.pl (@headers): Add monetary.h-data, - mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data. - * conform/data/monetary.h-data: New file. - * conform/data/mqueue.h-data: New file. - * conform/data/ndbm.h-data: New file. - * conform/data/nl_types.h.h-data: New file. - * conform/data/poll.h-data: New file. - - * stdio-common/Makefile (test): Add tst-cookie. - * stdio-common/tst-cookie.c: New file. - - * sysdeps/unix/sysv/linux/mips/bits/errno.h: Fix EILSEQ value - changed in last patch. Reported by Ralf Baechle. - -1999-08-24 Andreas Jaeger - - * sysdeps/unix/mips/sysdep.h: Use __syscall_error. - - * sysdeps/unix/mips/sysdep.S: Rewrite, don't declare errno here. - Patches by Ralf Baechle - -1999-08-24 Andreas Jaeger - - * sysdeps/unix/sysv/linux/net/if_arp.h: Add new constants from - Linux 2.3.15. - -1999-08-24 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve - syscall. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. - - * misc/libgen.h: Don't take basename macro as taking arguments. - - * sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants - for gcc >= 2.95. - * sysdeps/i386/bits/huge_val.h: Likewise. - * sysdeps/i386/bits/huge_val.h: Likewise. - * sysdeps/ieee754/bits/huge_val.h: Likewise. - * sysdeps/m68k/bits/huge_val.h: Likewise. - * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise. - * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise. - - * conform/Makefile: New file. - * conform/conformtest.pl: New file. - * conform/data/aio.h-data: New file. - * conform/data/assert.h-data: New file. - * conform/data/cpio.h-data: New file. - * conform/data/ctype.h-data: New file. - * conform/data/dirent.h-data: New file. - * conform/data/dlfcn.h-data: New file. - * conform/data/errno.h-data: New file. - * conform/data/fcntl.h-data: New file. - * conform/data/float.h-data: New file. - * conform/data/fmtmsg.h-data: New file. - * conform/data/fnmatch.h-data: New file. - * conform/data/ftw.h-data: New file. - * conform/data/glob.h-data: New file. - * conform/data/grp.h-data: New file. - * conform/data/iconv.h-data: New file. - * conform/data/inttypes.h-data: New file. - * conform/data/iso646.h-data: New file. - * conform/data/langinfo.h-data: New file. - * conform/data/libgen.h-data: New file. - * conform/data/locale.h-data: New file. - * conform/data/math.h-data: New file. - -1999-08-23 Ulrich Drepper - - * posix/execvp.c (execvp): Correct copying of file name. - -1999-08-23 Mark Kettenis - - * hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else. - -1999-08-23 Ulrich Drepper - - * stdio-common/Makefile: Move addition to routines to the right place. - -1999-08-23 Andreas Jaeger - - * sysdeps/unix/sysv/linux/mips/bits/errno.h: New file. Neccessary - since mips*-linux has ECANCELED. - -1999-08-23 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Define - SIGCONTEXT_EXTRA_ARGS. - * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise. - * sysdeps/generic/sigcontextinfo.h: Likewise. - * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise. - * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise. - -1999-08-23 Ulrich Drepper - - * posix/regexbug1.c: Make it an error if the test fails. - -1999-08-23 Andreas Schwab - - * posix/regex.c (re_match_2_internal): Correct check for charset - after exactn in loop. - -1999-08-22 Ulrich Drepper - - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall. - * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. - Patch by Joel Klecker. - - * iconv/gconv_int.h (GCONV_AVOID_NOCONV): New definition. - (__gconv_find_transform): Update prototype. - (__gconv_open): Likewise. - * iconv/gconv_open.c: Take extra parameter and pass it to - __gconv_find_transform. - * iconv/gconv_db.c (__gconv_find_transform): Take extra parameter with - flags. If GCONV_AVOID_NOCONV flag is set don't return copying - transformation. - * iconv/iconv_open.c: Pass extra parameter to __gconv_open. - * wcsmbs/wcsmbsload.c: Likewise. - * intl/dcgettext.c (_nl_find_msg): Rewrite to use gconv instead of - iconv for glibc. - * intl/gettextP.h: Likewise. - * intl/loadmsgcat.c: Likewise. - - * posix/regexbug1.c: New file. - * posix/Makefile (tests): Add regexbug1. - -1999-08-22 Mark Kettenis - - * hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags. - * hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when - installing PORT in the descriptor cell. - -1999-08-19 Roland McGrath - - * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and - TIMEOUT as outputs of the asm to indicate that the signal thread - might mutate them. - * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain - mach_msg if only sending or only receiving (i.e., not an RPC). When - making an RPC that might get interrupted, save OPTION and the portion - of the message buffer that gets clobbered by an EINTR reply message, - and properly restore them before attempting to retry the request - message send. - -1999-08-21 Mark Kettenis - - * stdio-common/vfscanf.c [! USE_IN_LIBIO]: Add necessary - definitions for MEMCPY, ISSPACE, ISDIGIT, ISXDIGIT, TOLOWER, L_, - CHAR_T, UCHAR_T and WIN_T to make the code compile again when - stdio is used instead of libio. - * stdio-common/vfprintf.c [! USE_IN_LIBIO]: Add necessary - definitions for CHAR_T, UCHAR_T, INT_T, L_, ISDIGIT, PAD and PUTC - to make the code compile again when stdio is used instead of - libio. - (vfprintf): Only check for correct orientation if ORIENT is - defined. - * stdio-common/Makefile (routines): Only add vfwprintf and - vfwscanf if we're using libio. - -1999-08-21 Mark Kettenis - - * include/stdio.h [! USE_IN_LIBIO && __need_FILE]: Avoid defining - any additional prototype just as we do for libio. - -1999-08-21 Mark Kettenis - - * include/bits/xopen_lim.h: Do not define STREAM_MAX and - TZNAME_MAX. These limits are not X/Open specific. - * stdio-common/stdio_lim.h.in: Allow inclusion when __need_IOV_MAX - is defined. - -1999-08-21 Mark Kettenis - - * Rules: When generated stdio_lim.h, avoid defining IOV_MAX if - UIO_MAXIOV is left undefined in sys/uio.h. - * stdio-common/stdio_lim.h.in: Adapt for change above. - -1999-08-21 Andreas Jaeger - - * sysdeps/unix/sysv/linux/mips/bits/sigaction.h (SA_RESETHAND): Add it. - * sysdeps/mips/bits/dlfcn.h: Remove SGI specific calls, add RTLD_LOCAL. - Patches by Ralf Baechle - -1999-08-21 Ulrich Drepper - - * stdlib/fmtmsg.h: Don't define NULL to keep namespace clean. - -1999-08-20 Ulrich Drepper - - * sysdeps/unix/sysv/linux/execve.c: Define weak alias execve. - - * sysdeps/unix/sysv/linux/init-first.c (init): Remove personality - call. It should not be necessary andis harmful for Alpha. - - * sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size - type. [PR libc/1269] - - * posix/execvp.c (execvp): Allocate array name of correct size. - Optimize inner loop. Use execve directly, not execv. - - * elf/elf.h: Corrected SHT_ values from new draft. - - * intl/gettextP.h (struct loaded_domain): Add conv element. - * intl/dcgettext.c (find_msg): Rename to _nl_find_msg and make public. - Instead of returning found message directly convert it using iconv - if a conversion was found when opening the file. - * intl/loadinfo.h: Protect against multiple inclusion. - Declare _nl_find_msg. - * intl/loadmsgcat.c (_nl_load_domain): Try to determine charset used - in the message file and if necessary find approrpiate - conversion to match currently selected charset. - * include/libintl.h: Declare __dgettext and __dcgettext. - * include/iconv.h: New file. - -1999-08-20 Andreas Schwab - - * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo. - -1999-08-19 Ulrich Drepper - - * sysdeps/unix/sysv/linux/execve.c: New file. This version terminates - all threads [PR libc/1223]. - - * elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero. - [PR libc/1165]. - - * configure.in: Search for programs with prefix gnu* and g* first. - [PR libc/1104]. - - * dirent/Makefile (routines): Add getdents64. - * sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines): - Remove getdents64. - * dirent/dirent.h: Redirect getdirentries to getdirentries64 if - compiled with _FILE_OFFSET_BITS=64. - * sysdeps/generic/getdents64.c: New file. - * sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and - __lseek for getdirentries64 definition. - - * sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias. - - * sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with - _FILE_OFFSET_BITS=64. - - * sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second - parameter. - - * sysdeps/generic/setenv.c (__add_to_environ): Initialize ep - after we have the lock. - - * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file. - Patch by Richard Henderson. - -1999-08-19 Andreas Schwab - - * libio/iovswscanf.c (vswscanf): Make stream unoriented initially - and call _IO_fwide, to get the wide stream state initialized - correctly. Don't set _IO_JUMPS. - * libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *. - * libio/vswprintf.c (_IO_vswprintf): Likewise. Pass - _IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS - directly. - -1999-08-19 Andreas Jaeger - - * math/libm-test.c (jn_test): Fix typo in description. - (erfc_test): Add some more tests. - (erf_test): Add some more tests. - -1999-08-19 Andreas Schwab - - * csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by - expression using $(exceptions). - -1999-08-18 Ulrich Drepper - - * sysdeps/generic/setenv.c: Avoid warning about uninitialized variable. - - * libio/fileops.c (_IO_file_xsgetn): Allocate buffer if none is - allocated so far. [PR libc/1261]. - - * math/libm-test.c (j0_test): Adjust deltas for m68k. - (jn_test): Likewise. - - * dirent/dirent.h: Only define ino64_t if not already done. - * posix/sys/types.h: Likewise. - - * ctype/ctype.h: Avoid useless #endif #if pairs. - - * dirent/dirent.h: Define ino_t and ino64_t if not done already. - (seekdir): Fix type of second parameter. - * sysdeps/generic/seekdir.c: Likewise. - * sysdeps/mach/hurd/seekdir.c: Likewise. - * sysdeps/unix/seekdir.c: Likewise. - - * dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU. - -1999-08-18 Andreas Jaeger - - * manual/install.texi (Configuring and compiling): Clarify ix86 - situation. - -1999-08-18 Ulrich Drepper - - * Rules: When generating stdio_lim.h also rewrite IOV_MAX definition. - * stdio-common/stdio_lim.h.in: Add IOV_MAX template. - * include/bits/xopen_lim.h: Don't define IOV_MAX here, get it from - stdio_lim.h. Define LONG_BIT and WORD_BIT. - - * include/features.h: Define __USE_XOPEN2K if _XOPEN_SOURCE == 600. - - * libio/stdio.h: Don't declare cuserid and getopt for X/Open issue 6. - - * misc/search.h: Don't define NULL. - - * posix/sys/types.h: Define blksize_t if it hasn't happened. - Only define key_t and blkcnt_t if it hasn't happened before. - Define blksize_t if not happened before. - * io/sys/stat.h: Don't define pid_t. Define blkcnt_t and blksize_t. - * sysdeps/generic/bits/types.h: Define __blksize_t. - * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise. - * sysdeps/mach/hurd/bits/stat.h (struct stat): Use __blksize_t for - st_blksize member. - (struct stat64): Likewise. - * sysdeps/unix/bsd/bits/stat.h: Likewise. - * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise. - * sysdeps/unix/sysv/sysv4/i386/bist/stat.h: Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise. - - * stdlib/getsubopt.c: Correct type of second argument. - * stdlib/stdlib.h: Likewise. - - * stdlib/monetary.h: Don't include sys/types.h. Define only size_t - and ssize_t. - - * sysdeps/generic/putenv.c: Correct type of parameter. - * stdlib/stdlib.h: Likewise. - - * sysdeps/generic/msgsnd.c: Correct type of second parameter. - * sysdeps/unix/sysv/linux/msgsnd.c: Likewise. - * sysvips/sys/msg.h: Likewise. - - * sysdeps/generic/semop.c: Correct type of third parameter. - * sysdeps/unix/sysv/linux/semop.c: Likewise. - * sysvipc/sys/sem.h: Likewise. Don't include sys/types.h, define - size_t. - - * sysdeps/generic/shmget.c: Correct type of second parameter. - * sysdeps/unix/sysv/linux/shmget.c: Likewise. - * sysvips/sys/shm.h: Likewise. Don't include unistd.h and sys/types.h. - Declare __getpagesize here. - - * sysdeps/generic/bits/ipc.h: Include bits/types.h instead of - sys/types.h. - * sysdeps/gnu/bits/ipc.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise. - * sysvipc/sys/ipc.h: Define uid_t, gid_t, mode_t, and key_t if not - already done. - - * sysdeps/unix/bsd/usleep.c: Correct type of parameter. - - * debug/versions: Export __cyg_profile_func_enter and - __cyg_profile_func_exit. - - * math/bits/mathcalls.h: Pretty print. - -1999-08-17 Ulrich Drepper - - * timezone/tst-timezone.c (tests): Update America/Sao_Paulo test - case for new tzdata. - - * sysdeps/unix/sysv/linux/alpha/bits/types.h: Make __useconds_t - unsigned. - * sysdeps/unix/sysv/linux/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise. - - * sysdeps/generic/bits/types.h: Make __useconds_t unsigned. - - * sysdeps/generic/ualarm.c (ualarm): Change return value and - parameter type to useconds_t. - * sysdeps/unix/bsd/ualarm.c: Likewise. - - * sysdeps/generic/usleep.c (usleep): Change parameter type to - useconds_t. - * sysdeps/unix/sysv/linux/usleep.c: Likewise. - * sysdeps/mach/usleep.c: Likewise. - - * locale/weight.h: Include . - - * posix/sys/types.h: Define type useconds_t if not done already. - * posix/unistd.h: Likewise. Use this in ualarm and usleep - declarations. - * sysdeps/generic/bits/types.h: Define type __useconds_t. - * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise. - - * dirent/dirent.h (telldir): Change return type to long int. - * sysdeps/generic/telldir.c: Likewise. - * sysdeps/mach/hurd/telldir.c: Likewise. - * sysdeps/unix/telldir.c: Likewise. - * sysdeps/unix/bsd/telldir.c: Likewise. Fix locking problem. - - * locale/weight.h: Set errno if an invalid character is found. - -1999-08-17 Andreas Jaeger - - * math/libm-test.c (erfc_test): Add test for example from PR - libc/1259. - (erf_test): Likewise. - -1999-08-17 Ulrich Drepper - - * sysdeps/ieee754/dbl-64/s_erf.c: Correct type in performance increase - rewrite. Patch by Alan Stern . - - * timezone/private.h: Update from tzcode1999e. - * timezone/zic.c: Likewise. - - * timezone/africa: Update from tzdata1999e. - * timezone/antarctica: Likewise. - * timezone/asia: Likewise. - * timezone/australasia: Likewise. - * timezone/europe: Likewise. - * timezone/leapseconds: Likewise. - * timezone/northamerica: Likewise. - * timezone/southamerica: Likewise. - - * stdio-common/vfprintf.c (process_string_arg): Correct last patch - and write correct number of bytes in case of %ls with precision. - Reported by Shinya Hanataka . - -1999-08-16 Ulrich Drepper - - * nscd/nscd.init: Test for kernel version and make LSB compliant. - Patch by Christian Gafton. - - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and - O_RSYNC. Patch by Christian Gafton. - - * stdio-common/vfprintf.c (process_string_arg) [printf]: Handle - possibly unterminated strings for %ls when a precision is - specified. - Patch by Akira YOSHIYAMA . - - * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call - update_conversion_ptrs. - Reported by Shinya Hanataka . - -1999-08-15 Ulrich Drepper - - * wcsmbs/wcsnlen.c: Correct decrement of maxlen. - Reported by Shinya Hanataka . - - * wcsmbs/Makefile (tests): Add tst-wcsnlen. - * wcsmbs/tst-wcsnlen.c: New file. - -1999-08-16 Andreas Jaeger - - * libio/ioputs.c (_IO_puts): Add missing brace. - -1999-07-20 Geoff Keating - - * math/libm-test.c: Tweak deltas for a clean run on ppc. - -1999-08-10 H.J. Lu - - * stdio-common/vfprintf.c (ORIENT): Check for the old stream. - (vfprintf): Likewise. - * stdio-common/vfscanf.c (ORIENT): Likewise. - * libio/genops.c (__underflow): Likewise. - (__uflow): Likewise. - * libio/iofputs.c (_IO_fputs): Likewise. - * libio/ioftell.c (_IO_ftell): Likewise. - * libio/iofwrite.c (_IO_fwrite): Likewise. - * libio/ioputs.c (_IO_puts): Likewise. - * libio/iosetbuffer.c (_IO_setbuffer): Likewise. - * libio/iosetvbuf.c (_IO_setvbuf): Likewise. - -1999-08-15 Ulrich Drepper - - * iconv/gconv_builtin.h: Add ISO registry alias for UTF8. - -1999-08-15 Andreas Jaeger - - * manual/job.texi (Process Group Functions): Document getpgid, - getsid. - -1999-08-15 Ulrich Drepper - - * sysdeps/unix/sysv/linux/aio_sigqueue.c: Take extra parameter and - initialize si_pid from it. - * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Take extra - parameter. - * rt/aio_misc.c (__aio_enqueue_request): Initialize caller_pid. - * rt/aio_misc.h (struct waitlist): Add caller_pid element. - (struct requestlist): Likewise. - Adjust prototypes of __aio_notify_only and __aio_sigqueue. - * rt/aio_notify.c (__aio_notify_only): Take extra parameter. Pass it - to __aio_sigqueue. - (__aio_notify): Pass caller PID to __aio_notify_only. - * rt/aio_suspend.c: Initialize caller_pid. - * rt/lio_listio.c: Likewise. - * rt/lio_listio64.c: Likewise. - - * rt/lio_listio.c: If nothing has to be done free mutex before - signalling. - * rt/lio_listio64.c: Likewise. - -1999-08-10 H.J. Lu - - * resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-buffer - handling. - -1999-08-15 Ulrich Drepper - - * elf/elf.h: Define ElfXX_Versym. - * elf/link.h (struct link_map): Use ElfXX_Versym for l_versyms - definition. - - * stdio-common/vfprintf.c (process_string_arg): Handle precisions - for string output correctly in the wide character case. - Patch by Akira YOSHIYAMA . - - * intl/locale.alias: Add catalan. - -1999-08-14 Andreas Jaeger - - * manual/install.texi (Configuring and compiling): Mention CFLAGS. - -1999-08-15 Ulrich Drepper - - * po/pt_BR.po: New file. - -1999-08-13 Andreas Jaeger - - * math/libm-test.c (yn_test): Adjust deltas for i386. - (ccosh_test): Likewise. - (jn_test): Likewise. - -1999-08-15 Ulrich Drepper - - * sysdeps/generic/_G_config.h: Get definition of mbstate_t. - -1999-08-13 Ulrich Drepper - - * stdio-common/tstscanf.c: Add test for hexadecimal float parsing - problem. - -1999-08-13 Andreas Jaeger - - * configure.in: install-sh lives now in scripts subdir. - PR libc/1255 (bug 4). - -1999-08-13 Ulrich Drepper - - * sysdeps/generic/_G_config.h: Update _G_iconv_t type from Linux - version. - - * po/fr.po: Update. - -1999-08-11 Thorsten Kukuk - - * nis/nis_callback.c (internal_nis_do_callback): Free my_pollfd. - -1999-08-13 Ulrich Drepper - - * stdio-common/vfscanf.c: Don't recognize hexadecimal floats without - exponent. - -1999-08-10 Andreas Schwab - - * elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf - header. - -1999-08-09 Scott Bambrough - - * elf/elf.h: Added definition of ELFOSABI_ARM. - * elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER, - VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an - object's header and ABI values are acceptable. - (VALID_ELF_HEADER): New macro; provide default definition. - (VALID_ELF_OSABI): New macro; provide default definition. - (VALID_ELF_ABIVERSION): New macro; provide default definition. - * sysdeps/arm/dl-machine.h Define ARM specific versions of - VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION. - -1999-08-09 Andreas Schwab - - * inet/tst-ipnode.c (main): Don't compare integer with NULL. - -1999-08-09 Thorsten Kukuk - - * sunrpc/svc_run.c (svc_run): Free my_pollfd. - -1999-08-09 Andreas Schwab - - * sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister. - -1999-08-08 Ulrich Drepper - - * sysdeps/ieee754/ieee754.h: Handle platforms with special - __FLOAT_WORD_ORDER. Patch by Joel Klecker . - - * string/bits/string2.h: Mark void* operations as extensions. - * sysdeps/i386/i486/bits/string.h: Likewise. - - * debug/Makefile (routines): Add noophooks. - (extra-libs): Add libpcprofile. Add rules to build libpcprofile. - * debug/noophooks.c: New file. - * debug/pcprofile.c: New file. - -1999-08-06 Ulrich Drepper - - * rt/aio_misc.c (handle_fildes_io): Imitate the behaviour on other - systems which allow using the functions also on non-seekable - devices. - - * resolv/res_send.c (res_send): Recompute timeout for poll for - each jump to `wait'. - - * inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of - braces to avoid warnings. - (IN6ADDR_LOOPBACK_INIT): Likewise. - - * sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC -> - MSG_DONTWAIT). - -1999-08-06 H.J. Lu - - * malloc/malloc.c: Initialize __libc_pagesize early. - -1999-08-06 Ulrich Drepper - - * string/string-inlines.c: Undefined __USE_STRING_INLINES before - defining it. - - * inet/Makefile (tests): Add tst-ipnode. - * inet/tst-ipnode.c: New file. - -1999-08-06 Andreas Schwab - - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC): - New definitions. - (O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU. - (O_LARGEFILE): Define only if __USE_LARGEFILE64. - * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC): - New definitions. - (O_LARGEFILE): Define only if __USE_LARGEFILE64. - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise. - -1999-08-06 Jakub Jelinek - - * sysdeps/ieee754/ldbl-128/e_expl.c: New file. - * sysdeps/ieee754/ldbl-128/t_expl.h: New file. - * sysdeps/ieee754/ldbl-128/Dist: Add t_expl.h. - -1999-08-06 Ulrich Drepper - - * resolv/res_send.c (res_send): Don't test file descriptor for - range, we use poll now. [PR libc/1240] - -1999-08-05 Ulrich Drepper - - * libio/genops.c (_IO_flush_all): Don't access elements beyond what - 2.0 defined if they are not available. - -1999-08-05 Thorsten Kukuk - - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC): - Define. - -1999-08-04 Ulrich Drepper - - * rt/aio_read.c: Fix return value. - * rt/aio_read64.c: Likewise. - Reported by Christian Gafton. - - * rt/aio_write.c: Fix return value. - * rt/aio_write64.c: Likewise. - * rt/aio_fsync.c: Likewise. - - * rt/aio_misc.c: Set errno at correct place. - - * rt/aio_fsync.c: Test OP parameter for correct values. - - * hesiod/hesiod.c: Avoid emitting rcsid in object file. - -1999-08-04 Andreas Schwab - - * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER): - Initialize result to one. - (GET_NPROCS_CONF_PARSER): Likewise. - -1999-08-03 Ulrich Drepper - - * inet/ether_hton.c: Pass errno pointer to NSS function. - * inet/getnetgrent_r.c: Likewise. - Reported by Marty Leisner . - -1999-08-02 Thorsten Kukuk - - * nis/nis_callback.c: Fix port problem on big-endian machines - * sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC - fields are always 32 bit. - Patches from Paul Mackerras - - * nis/nss_nis/nis-service.c: Remove htons, port is always in - network-byte-order. - * nis/nss_nisplus/nisplus-service.c: Rename number to port. - -1999-08-03 Andreas Schwab - - * sysdeps/posix/sigset.c: Unblock the signal after setting its - disposition. Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to - avoid two calls to sigprocmask. - -1999-08-02 Ulrich Drepper - - * sysdeps/generic/s_nexttowardf.c: Fix typo. - -1999-08-02 Jakub Jelinek - - * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction): - Only allow rt signal frames. No SA_SIGINFO signals will have the - siginfo_t just not filled out with SI_NOINFO code. - * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h - (register_dump): Take the above change into account. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h - (rt_signal_frame): Likewise. - - * sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file. - -1999-08-02 Thorsten Kukuk - - * nis/nis_callback.c (internal_nis_do_callback): Use poll() - instead of select(). - -1999-08-02 Ulrich Drepper - - * sysdeps/generic/s_nextafter.c: Define __nexttoward and - nexttoward so something else so that aliasing works. - -1999-08-02 Thorsten Kukuk - - * sysdeps/generic/math_ldbl.h: Fix typo. - * sysdeps/generic/strtold.c: Remove unbalanced #endif. - * sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c. - -1999-08-02 Ulrich Drepper - - * elf/resolvfail.c: Include stdio.h. Also test dlerror. - -1999-08-01 Ulrich Drepper - - * elf/Makefile (tests): Add resolvfail. Add rules to build the - program. - * elf/resolvfail.c: New file. - - * elf/dl-sym.c (_dl_sym): Always determine module of the caller to - pass it to _dl_lookup_symbol. - - * elf/dl-error.c (_dl_signal_error): Optimize string generation a - bit. Reword message. - - * dlfcn/dlerror.c: Make code thread-safe. - -1999-07-31 Roland McGrath - - * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member - initializer in CHECK: a bit size, not the type code repeated! - -1999-07-31 Ulrich Drepper - - * string/tester.c: Add tests with constant arguments for strcpy - and stpcpy. - -1999-07-31 H.J. Lu - - * string/bits/string2.h (__strcpy_small): Fix a typo. - -1999-07-31 Ulrich Drepper - - * Makeconfig (link-libc): Always define it, not only for shared - builds. - - * sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop. - * sysdeps/i386/fpu/e_powf.S: Likewise. - * sysdeps/i386/fpu/e_powl.S: Likewise. [PR libc/1213]. - - * sysdeps/generic/e_lgammal_r.c: Set *signgam to zero. - * sysdeps/generic/e_gammal_r.c: Likewise. [PR libc/1212]. - -1999-07-30 Andreas Schwab - - * sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New - definition. - (__get_nprocs): Use it. - (__get_nprocs_conf): Define as separate function if - GET_NPROCS_CONF_PARSER is defined. - * sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file. - - * include/sys/sysinfo.h: New file. - * sysdeps/generic/sys/sysinfo.h: Remove declaration of internal - interface. - * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise. - -1999-07-30 H.J. Lu - - * libio/iofflush.c (fflush_unlocked): Weak aliase if - _IO_MTSAFE_IO is not defined. - * libio/clearerr.c (clearerr_unlocked): Likewise. - * libio/feof.c (feof_unlocked): Likewise. - * libio/ferror.c (ferror_unlocked): Likewise. - * libio/fputc.c (fputc_unlocked): Likewise. - * libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise. - * libio/getchar.c (getchar_unlocked): Likewise. - * libio/putc.c (putc_unlocked): Likewise. - * libio/putchar.c (putchar_unlocked): Likewise. - -1999-07-30 Thorsten Kukuk - - * sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll, - svc_max_pollfd and svc_pollfd to GLIBC_2.2 - * sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes - for svc_run/poll interface. - * sunrpc/rpc/types.h: Add rpc*_t typedefs. - * sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as - global variable. - * sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common, - rewrite other svc_getreq* functions to use svc_getreq_common. - * sunrpc/svc_run.c: Use poll(). - -1999-07-30 Andreas Schwab - - * Makerules: Put sysd-versions and Versions.all on - postclean-generated instead of common-generated. - -1999-07-29 Andreas Jaeger - - * manual/time.texi (Basic CPU Time): Note that clock_t can wrap - around and CLOCKS_PER_SEC is 1e6. - -1999-07-30 Ulrich Drepper - - * configure.in: Add test for local label subtraction. - * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS. - * stdio-common/vfprintf.c (vfprintf): Use subtraction of local - labels to reduce number of runtime relocations and move jump - tables in read-only seciton. - - * malloc/malloc.c (ptmalloc_init): Correct last patch. The - assignment cannot be moved. - -1999-07-29 H.J. Lu - - * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize - if no threads are used. - - * libio/iofwrite.c: Add weak alias for _unlocked function if not - _IO_MTSAFE_IO. - * libio/iofread.c: Likewise. - * libio/iofgets.c: Likewise. - * libio/iofputs.c: Likewise. - - * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New - definition. - - * stdlib/mbtowc.c: Include . - * stdlib/wctomb.c: Likewise. - * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise. - * sysdeps/unix/sysv/linux/statfs64.c: Likewise. - - * misc/mntent_r.c: Include . +1998-09-06 09:00 Ulrich Drepper + + * version.h (VERSION): Bump to 2.0.96. + + Rewrite runtime linker to be truly thread-safe. There is now no + global variable specifying the scope. We create all needed + scopes at the time the link maps are created. + * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist. + * elf/link.h: Add struct r_scope_elem and use this for l_searchlist, + l_symbolic_searchlist, l_scope, and l_local_scope elements in + struct link_map. + * elf/dl-close.c: Rewritten accordingly. + * elf/dl-deps.c: Likewise. + * elf/dl-error.c: Likewise. + * elf/dl-init.c: Likewise. + * elf/dl-load.c: Likewise. + * elf/dl-lookup.c: Likewise. + * elf/dl-object.c: Likewise. + * elf/dl-open.c: Likewise. + * elf/dl-reloc.c: Likewise. * elf/dl-runtime.c: Likewise. - -1999-07-29 Andreas Schwab - - * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for - all floating point formats supported by gcc. Error out for - unhandled precisions. - * misc/efgcvt_r.c (NDIGIT_MAX): Likewise. - * misc/qefgcvt.c (NDIGIT_MAX): Likewise. - * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise. - -1999-07-29 Ulrich Drepper - - * sysdeps/generic/setenv.c: Move setenv code in new function - __add_to_environ. Add new parameter specifying already - constructed string for the environment. - (setenv): Call __add_to_environ with new parameter set to NULL. - (unsetenv): Really test all elements for duplicated name. Missed those - cases where the two are following each other. - * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv. - * include/stdlib.h: Add prototype of __add_to_environ. - * stdlib/tst-environ.c: New file. - * stdlib/Makefile (tests): Add tst-environ. - - * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch. - - * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size - argument in realloc call. - * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups): - Likewise. - Reported by Danny Braniss . - -1999-07-28 Ulrich Drepper - - * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits - to print. - * misc/efgcvt_r.c: Likewise. - * misc/qefgcvt.c: Likewise. - * misc/qefgcvt_r.c: Likewise. - * misc/tst-efgcvt.c: Remove one test which cannot reliably be run - anymore. - -1999-07-27 Andreas Jaeger - - * manual/math.texi (FP Function Optimization): Mention drawbacks. - -1999-07-28 Ulrich Drepper - - * stdlib/mblen.c: Use static state. - Reported by Bruno Haible . - - * stdlib/mbtowc.c: Reset state for s == NULL. - * stdlib/wctomb.c: Likewise. - Reported by Bruno Haible . - - * stdlib/mbstowcs.c: Do not use global state. - Reported by Bruno Haible . - -1999-07-28 Andeas Schwab - - * iconvdata/Makefile: Don't try to run iconv tests when cross - compiling. - -1999-07-27 Mark Kettenis - - * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline - assembler code to switch stacks and call init1 outside this - function. Inside `init' the code was optimized away by gcc - 2.95 since it was "clearly" unreachable. - * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): - Do something similar for the trampoline code. - -1999-07-27 Ulrich Drepper - - * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information - for the hinted protocol. - -1999-07-26 Andreas Jaeger - - * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2. - -1999-07-25 Jakub Jelinek - - * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx. - * elf/dl-lookup.c (_dl_setup_hash): Likewise. - * elf/dl-load.c (_dl_map_object): Likewise. - * elf/do-lookup.h (do_lookup*): Likewise. - * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t. - * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx - as uint64_t. - * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx. - -1999-07-26 Ulrich Drepper - - * sysdeps/unix/sysv/sysv4/setsid.c: Correct types. - * sysdeps/generic/getpgrp.c: Likewise. - * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise. - * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise. - Patch by John Tobey . - - * sysdeps/posix/wait3.c: Help compiling in presence of - __transparent_union__. Reported by John Tobey . - -1999-07-25 Jakub Jelinek - - * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers - as much as possible. Declare them using .register pseudo-op if they - are still used. - * sysdeps/sparc/sparc64/lshift.S: Likewise. - * sysdeps/sparc/sparc64/memchr.S: Likewise. - * sysdeps/sparc/sparc64/memcmp.S: Likewise. - * sysdeps/sparc/sparc64/memcpy.S: Likewise. - * sysdeps/sparc/sparc64/memset.S: Likewise. - * sysdeps/sparc/sparc64/rawmemchr.S: Likewise. - * sysdeps/sparc/sparc64/rshift.S: Likewise. - * sysdeps/sparc/sparc64/stpcpy.S: Likewise. - * sysdeps/sparc/sparc64/stpncpy.S: Likewise. - * sysdeps/sparc/sparc64/strcat.S: Likewise. - * sysdeps/sparc/sparc64/strchr.S: Likewise. - * sysdeps/sparc/sparc64/strcmp.S: Likewise. - * sysdeps/sparc/sparc64/strcpy.S: Likewise. - * sysdeps/sparc/sparc64/strcspn.S: Likewise. - * sysdeps/sparc/sparc64/strlen.S: Likewise. - * sysdeps/sparc/sparc64/strncmp.S: Likewise. - * sysdeps/sparc/sparc64/strncpy.S: Likewise. - * sysdeps/sparc/sparc64/strpbrk.S: Likewise. - * sysdeps/sparc/sparc64/strspn.S: Likewise. - * sysdeps/sparc/sparc64/sub_n.S: Likewise. - * sysdeps/sparc/sparc64/dl-machine.h: Likewise. - Optimize trampoline code for .plt4-.plt32767. - Fix trampolines for .plt32768+. - -1999-07-25 Jakub Jelinek - - * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use - -mcpu=v8. - * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise. - * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for - libc's private use (as assembly routine clobber it anyway). - -1999-07-26 Andreas Jaeger - - * README.template (configurations): The crypt add-on has a new - ftp site. - * manual/install.texi (Installation): Likewise. - -1999-07-26 Ulrich Drepper - - * time/time.h: Add forward for struct sigevent. Unix98 maybe - requires to have a full definition but we wait for a bug report - based on the test suite. - - * sysdeps/generic/clock_getres.c: New file. - * sysdeps/generic/clock_gettime.c: New file. - * sysdeps/generic/clock_settime.c: New file. - * sysdeps/generic/timer_create.c: New file. - * sysdeps/generic/timer_delete.c: New file. - * sysdeps/generic/timer_getoverr.c: New file. - * sysdeps/generic/timer_gettime.c: New file. - * sysdeps/generic/timer_settime.c: New file. - - * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t, - CLOCK_REALTIME, and TIMER_ABSTIME. - * sysdeps/mach/hurd/bits/time.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise. - * sysdeps/unix/sysv/linux/bits/time.h: Likewise. - - * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS. - - * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and - si_timer2. - - * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls. - - * time/Makefile (routines): Add clock_getres, clock_gettime, - clock_setres, timer_create, timer_delete, timer_getoverr, - timer_gettime, and timer_settime. - - * time/time.h: Define clockid_t, timer_t, and struct itimerspec for - POSIX.1b. Add prototypes for clock and timer functions. - -1999-07-26 Roland McGrath - - * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS. - Fix from Marcus Brinkmann . - -1999-07-26 Ulrich Drepper - - * stdlib/wcstombs.c: Do not use global state. - Reported by Bruno Haible . - - * wcsmbs/wctob.c: Avoid sign extension when returning character. - Reported by Bruno Haible . - - * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number - of wide characters to convert do it right and don't overestimate - by multiplying with MB_CUR_MAX. - Reported by Bruno Haible . - -1999-07-26 Jakub Jelinek - - * string/bits/string2.h (__strcpy_small): Avoid compile time warning. - (__stpcpy_small): Likewise. - Union has no __uc member but __c. - -1999-07-26 Andreas Schwab - - * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions. - -1999-07-25 Ulrich Drepper - - * libio/iofclose.c (_IO_new_fclose): Only fall back on - _IO_old_fclose if doing versioning. - - * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle - them appropriately. - * libio/oldiofclose.c (_IO_old_fclose): Likewise. - - * misc/mntent_r.c: Allow spaces and tabs in entry names by - encoding these characters. - * misc/tst-mntent.c: Add test case for addmntent and getmntent. - - * string/bits/string2.h: Fix aliasing problems. - * sysdeps/i386/i486/bits/string.h: Likewise. - * sysdeps/i386/bits/string.h: Likewise. - -1998-12-28 Geoff Keating - - * sysdeps/powerpc/dl-machine.c: Handle shared library profiling. - * elf/rtld.c (dl_main): Don't call malloc() between - re-relocating the dynamic linker and running the application's crt0. - -1999-07-21 Paul D. Smith - - * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below - glob.h to get __P() macro. - - * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax, - not ANSI. - (__strchrnul): This won't exist outside GLIBC, so create one. - -1999-07-25 Jakub Jelinek - - * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t. - __ino64_t should be 32bit unsigned type on sparc32. - Define __off64_t to __quad_t instead of __int64_t. - Make __pic_pid_t unsigned on sparc32. - -1999-07-25 Andreas Jaeger - - * localedata/tst-rpmatch.sh: Use "&" instead of "§" to avoid a bug - in bash 2.03. - -1999-07-25 Ulrich Drepper - - * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case - of an error. Patch by Changwoo Ryu . - -1999-07-24 Ulrich Drepper - - * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory - accesses. - - * resolv/res_send.c: Add locks for res_send and res_close use. - - * elf/Makefile (dl-routines): Add preinit. - * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next. - * elf/link.h (struct link_map): Add new field l_preinitcount. - * elf/dl-preinit.c: New file. - * elf/dynamic-link.h: Initialize l_preinitcount. - * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions. - - * elf/dl-fini.c: Handle DT_FINI_ARRAY. - * elf/link.h (struct link_map): Remove l_init_running. Add l_runcount - and l_initcount. - * elf/dl-init.c: Handle DT_INIT_ARRAY. - * elf/dynamic-link.h: Change parameters. Now only get link_map - pointer. Calculate l_initcount. - - * elf/link.h (struct link_map): Add l_runpath_dirs. - * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL. - * elf/dl-load.c: Pretty print. - (decompose_rpath): Take new parameter with info from where the path - comes. Pass it the fillin_rpath. - (_dl_init_paths): Initialize l_runpath_dirs. - (_dl_map_object): Don't search using RPATHs if object has RUNPATH. - Search using RUNPATH after LD_LIBRARY_PATH. - * elf/dl-support.c: Adjust comment. - * elf/rtld.c: Adjust help message. - -1999-07-24 Andreas Jaeger - - * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol - interface. - -1999-07-23 Roland McGrath - - * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to - match BSD value; previous value of 1<<8 was a typo. I bet nothing - ever used this, so I'm not going to worry about compatibility. - [__USE_GNU] (IUCLC, OLCUC): New macros. - -1999-07-23 Ulrich Drepper - - * include/libintl.h: Undefine N_ and _ first to avoid warnings. - - * elf/elf.h: Add ET_LOOS and ET_HIOS. - Add various EM_* constants. - Add SHN_LOOS and SHN_HIOS. - Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY. - Add SHF_MERGE and SHF_STRINGS. - (ElfXX_Sym): Update description of st_other field. - Add STT_COMMON. - Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER. - Add STV_* macros. - Update comment on DT_RPATH. Add DT_RUNPATH, DT_FLAGS, DT_ENCODING, - DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ. - Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW. - - * posix/unistd.h: Move declaration of __libc_enable_secure to... - * include/unistd.h: ...here. - - * elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt. - * elf/dl-deps.c (expand_dst): Likewise. - - * elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW - based on DT_FLAGS value. - - * elf/do-lookup.h: Remove reference_name parameter, add undef_map. - Add test for symbols marked STV_HIDDEN. - * elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter, - add undef_map. Compute reference_name locally. Update call to - do_lookup. - (_dl_lookup_symbol_skip): Likewise. - (_dl_lookup_versioned_symbol): Likewise. - (_dl_lookup_versioned_symbol_skip): Likewise. - * elf/dl-libc.c: Update call to _dl_lookup_*symbol. - * elf/dl-runtime.c: Likewise. - * elf/dl-sym.c: Likewise. + * elf/dl-support.c: Likewise. * elf/dl-symbol.c: Likewise. - * elf/ldsodefs.h: Adjust prototypes. - - * elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and - handle appropriately. Add comment about DT_TEXTREL. - * elf/dl-runtime.c: Likewise. - -1999-07-21 Roland McGrath - - * elf/dl-reloc.c (_dl_reloc_bad_type): New function. - * elf/ldsodefs.h: Declare it. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it - instead of assert. - (elf_machine_lazy_rel): Likewise. Take new arg MAP. - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise. - (elf_machine_lazy_rel): Likewise. - * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise. - (elf_machine_lazy_rel): Likewise. - * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise. - (elf_machine_lazy_rel): Likewise. - * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise. - (elf_machine_lazy_rel): Likewise. - * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. - (elf_machine_lazy_rel): Likewise. - * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise. - * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise. - (elf_machine_lazy_rel): Likewise. - * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise. - (elf_machine_lazy_rel): Likewise. - * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise. - * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use - _dl_reloc_bad_type instead of _dl_signal_error. - * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel. - -1999-07-20 Mark Kettenis - - * sysdeps/mach/_strerror.c: Include . - -1999-07-19 Roland McGrath - - * hurd/hurdsig.c (_hurd_internal_post_signal): If a - hurd_signal_preemptor matches but its `preemptor' field is null, use - its `handler' field directly. This is to comply with behavior - documented in . - -1999-07-21 Andreas Schwab - - * libio/fileops.c (_IO_new_file_underflow): Set error indicator - when reading from write-only stream. - * libio/oldfileops.c (_IO_old_file_underflow): Likewise. - * libio/wfileops.c (_IO_wfile_underflow): Likewise. - -1999-07-21 Andreas Schwab - - * nss/test-netdb.c (output_hostent): Don't crash if h_aliases is - NULL. - -1999-07-21 Mark Kettenis - - * sysdeps/mach/hurd/read.c: Do not include and - . - * sysdeps/mach/hurd/write.c: Do not include and - . - (__libc_write): Call __pwrite instead of __pread. - -1999-07-20 Mark Kettenis - - * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in - __vm_allocate calls. - - * sysdeps/mach/hurd/pread.c (__pread): Include . Fix typo. - * sysdeps/mach/hurd/pwrite.c (__pwrite): Include . - - * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call - _hurd_fd_read with new OFFSET argument set to -1. - (__stdio_write): Call _hurd_fd_write with new OFFSET argument set - to -1. - -1999-07-17 Roland McGrath - - * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the - descriptor table sent in the RPC. - -1999-07-20 Andreas Jaeger - - * time/strptime.c [!_LIBC]: Fix __mon_day size. Reported by - bill@taniwha.org [PR libc/1211]. - -1999-07-19 Andreas Schwab - - * libio/Makefile (routines): Add fwprintf. - - PowerPC has own version of w_sqrt.c and w_sqrtf.c. - * math/w_sqrt.c: Moved to ... - * sysdeps/generic/w_sqrt.c: ... here. - * math/w_sqrtf.c: Moved to ... - * sysdeps/generic/w_sqrtf.c: ... here. - - * Make-dist (generic-dirs): New variable. - (try-sysdeps, +sysdep-names): Use it. - * extra-lib.mk (all-$(lib)-routines): New variable. Use it - instead of $(lib)-routines. - * elf/Makefile (distribute): Add dl-cache.h. - * db2/Makefile (distribute): Add all new files. - * iconvdata/Makefile (distribute): Don't distribute CVS - directory. - * math/Makefile (distribute): Remove machine/endian.h, add - math_ldbl.h. - * stdio-common/Makefile (distribute): Add _itowa.h. - * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h. - * sysdeps/gnu/Dist: Add eval.c - * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) = - dlfcn]: Add to this instead of libdl-routines. - * sysdeps/ieee754/ldbl-128/Dist: New file. - * sysdeps/mach/hurd/Dist: Add siglist.h - * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h. - -1999-07-18 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed. - - * inet/Makefile (routines): Add getipnodebyad and freehostent. - * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent. - * inet/freehostent.c: New file. - * inet/getipnodebyad.c: New file. - * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent, - and getipnodebyname. The latter comes soon. - * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested. - Add support for getipnode* functions. - - * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop. - Set h_aliases to NULL and not to a pointer to an array with a NULL - pointer following XNS 5.2. - - * posix/sched.h: Remove internal interfaces. - * include/sched.h: Add internal interfaces. - - * nss/getXXbyYY.c: Provide variable h_errnop to help shared code. - - * nss/digits_dots.c: Set h_errnop if memory allcoation failed. - - * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address - and return an error in this case. - * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if - available. - -1999-07-18 Andreas Jaeger - - * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from - 1999-07-17 and adjust len parameter. - * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise. - * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise. - * manual/socket.texi (Host Names): Likewise. - * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise. - * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r): - Likewise. - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise. - * resolv/gethnamaddr.c (gethostbyaddr): Likewise. - (ht_gethostbyaddr): Likewise. - (_gethtbyaddr): Likewise. - -1999-07-17 Ulrich Drepper - - * resolv/netdb.h: Adjust parameters of gethostbyaddr and - gethostbyaddr_r. - * include/netdb.h: Likewise. - * inet/gethstbyad.c: Correct type of len parameter. - * inet/gethstbyad_r.c: Likewise. - - * sysdeps/unix/sysv/linux/arm/Versions: Undo last change. - -1999-07-17 Zack Weinberg - - * include/libc-symbol.h: Clean up definitions of weak_alias, - strong_alias, symbol_version, etc. etc. - * posix/getopt.h: Use ctype.h to get features.h included, and don't - include it at all if __GNU_LIBRARY__ is already defined. - -1999-07-17 Ulrich Drepper - - * stdio-common/bug1.c: Include to get prototype for free. - - * malloc/malloc.c: Add missing chunk of patch from 1999-07-04. - - * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t - type for tv_usec element. - * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise. - * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t. - * sysdeps/generic/bits/time.h: Likewise. - * sysdeps/mach/hurd/bits/time.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise. - * sysdeps/generic/bits/types.h: Likewise. - * posix/sys/types.h: Define suseconds_t for X/Open. - -1999-07-15 Ulrich Drepper - - * stdio-common/bug1.c: Avoid memory leak. - - * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep - program deterministic. - * sysdeps/i386/fpu/e_powf.S: Likewise. - * sysdeps/i386/fpu/e_powl.S: Likewise. - -1999-07-15 Jakub Jelinek - - * math/Makefile: Add t_sincosl and k_sincosl support routines. - * math/math_private.h (__kernel_sincosl): New declaration. - * sysdeps/generic/t_sincosl.c: New file. - * sysdeps/generic/k_sincosl.c: New file. - * sysdeps/ieee754/ldbl-128/k_cosl.c: New file. - * sysdeps/ieee754/ldbl-128/k_sinl.c: New file. - * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file. - * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file. - * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file. - * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use - __kernel_sincosl. - * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New - definition. - -1999-07-15 Ulrich Drepper - - * posix/unistd.h: Use __PMT for exit. - -1999-07-15 Philip Blundell - - * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb, - _outw, _outl): Added to GLIBC_2.1.2. - -1999-07-15 Ulrich Drepper - - * posix/fnmatch.h: Use __name instead of __string in prototype to - allow use outside glibc. - -1999-07-14 Ulrich Drepper - - * time/tst-strptime.c (main): Add one more test case. Produce - output even when result is ok. - - * time/strptime.c (get_number): Handle number parsing more - consistent with strftime. Only parse a given number of digits. - (get_alt_number): Fix implementation. Was broken. - (strptime_internal): Add third parameter to get_number and - get_alt_number calls. - -1999-07-13 Jakub Jelinek - - * elf/ldd.bash.in: Add support for multiple dynamic linkers. - * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*, - try both 32bit and 64bit dynamic linker. - * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite - script on all sparc targets. - -1999-07-13 Jakub Jelinek - - * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer - to int. - -1999-07-13 Andreas Schwab - - * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent - inlining. Fixes PR libc/1198. - -1999-07-14 Andreas Schwab - - * Makerules (common-generated): Don't prepend $(common-objpfx). - -1999-07-12 Jakub Jelinek - - * stdio-common/printf_fp.c (__printf_fp): Adjust for IEEE quad - as _FPIO_CONST_OFFSET does not cover all bits after binary dot. - * sysdeps/generic/printf_fphex.c (__printf_fphex): Support IEEE - quad by moving long double support into PRINT_FPHEX_LONG_DOUBLE - macro. - * sysdeps/alpha/Implies: Imply ieee754/flt-32 and ieee754/dbl-64 - instead of ieee754. - * sysdeps/arm/Implies: Likewise. - * sysdeps/i386/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and - ieee754/ldbl-96 instead of ieee754. - * sysdeps/i386/i686/Implies: Remove implication for libm-i387/i686. - * sysdeps/generic/e_atanhl.c: New file. - * sysdeps/generic/e_coshl.c: New file. - * sysdeps/generic/e_sinhl.c: New file. - * sysdeps/generic/e_gammal_r.c: New file. - * sysdeps/generic/e_hypotl.c: New file. - * sysdeps/generic/s_cbrtl.c: New file. - * sysdeps/generic/s_asinhl.c: New file. - * sysdeps/generic/s_tanhl.c: New file. - * sysdeps/generic/w_expl.c: New file. - * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64 - instead of ieee754. - * sysdeps/m68k/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and - ieee754/ldbl-96 instead of ieee754. - * sysdeps/m68k/strtold.c: Include ldbl-96 version of strtold. - * sysdeps/m68k/printf_fphex.c: Include ldbl-96 version of - printf_fphex. - * sysdeps/mips/Implies: Imply ieee754/flt-32 and ieee754/dbl-64 - instead of ieee754. - * sysdeps/mips/mips64/Implies: Likewise. - * sysdeps/powerpc/Implies: Likewise. - * sysdeps/sparc/Implies: Remove. - * sysdeps/sparc/sparc32/Implies: Imply ieee754/flt-32 and - ieee754/dbl-64. - * sysdeps/sparc/sparc64/Implies: Imply ieee754/flt-32, ieee754/dbl-64, - and ieee754/ldbl-128. - - * sysdeps/sparc/bits/wordsize.h: Remove. - * sysdeps/sparc/fpu/bits/mathinline.h: New file. - * sysdeps/sparc/fpu/bits/mathdef.h: __NO_LONG_DOUBLE_MATH - only for sparc32. - * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: New file. - * sysdeps/sparc/sparc32/bits/wordsize.h: New file. - * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: New file. - * sysdeps/sparc/sparc64/bits/wordsize.h: New file. - * sysdeps/sparc/sparc64/Makefile: Add IEEE quad long double - support. - - * sysdeps/sparc/sparc64/addmul_1.S: Fix miscalculation - of carries. Optimize. - - * sysdeps/libm-ieee754/e_exp10.c: Moved to ... - * sysdeps/generic/e_exp10.c: ...here. - * sysdeps/libm-ieee754/e_exp10f.c: Moved to ... - * sysdeps/generic/e_exp10f.c: ...here. - * sysdeps/libm-ieee754/e_exp10l.c: Moved to ... - * sysdeps/generic/e_exp10l.c: ...here. - * sysdeps/libm-ieee754/e_scalb.c: Moved to ... - * sysdeps/generic/e_scalb.c: ...here. - * sysdeps/libm-ieee754/e_scalbf.c: Moved to ... - * sysdeps/generic/e_scalbf.c: ...here. - * sysdeps/libm-ieee754/e_scalbl.c: Moved to ... - * sysdeps/generic/e_scalbl.c: ...here. - * sysdeps/libm-ieee754/s_cacos.c: Moved to ... - * sysdeps/generic/s_cacos.c: ...here. - * sysdeps/libm-ieee754/s_cacosf.c: Moved to ... - * sysdeps/generic/s_cacosf.c: ...here. - * sysdeps/libm-ieee754/s_cacosh.c: Moved to ... - * sysdeps/generic/s_cacosh.c: ...here. - * sysdeps/libm-ieee754/s_cacoshf.c: Moved to ... - * sysdeps/generic/s_cacoshf.c: ...here. - * sysdeps/libm-ieee754/s_cacoshl.c: Moved to ... - * sysdeps/generic/s_cacoshl.c: ...here. - * sysdeps/libm-ieee754/s_cacosl.c: Moved to ... - * sysdeps/generic/s_cacosl.c: ...here. - * sysdeps/libm-ieee754/s_casin.c: Moved to ... - * sysdeps/generic/s_casin.c: ...here. - * sysdeps/libm-ieee754/s_casinf.c: Moved to ... - * sysdeps/generic/s_casinf.c: ...here. - * sysdeps/libm-ieee754/s_casinh.c: Moved to ... - * sysdeps/generic/s_casinh.c: ...here. - * sysdeps/libm-ieee754/s_casinhf.c: Moved to ... - * sysdeps/generic/s_casinhf.c: ...here. - * sysdeps/libm-ieee754/s_casinhl.c: Moved to ... - * sysdeps/generic/s_casinhl.c: ...here. - * sysdeps/libm-ieee754/s_casinl.c: Moved to ... - * sysdeps/generic/s_casinl.c: ...here. - * sysdeps/libm-ieee754/s_catan.c: Moved to ... - * sysdeps/generic/s_catan.c: ...here. - * sysdeps/libm-ieee754/s_catanf.c: Moved to ... - * sysdeps/generic/s_catanf.c: ...here. - * sysdeps/libm-ieee754/s_catanh.c: Moved to ... - * sysdeps/generic/s_catanh.c: ...here. - * sysdeps/libm-ieee754/s_catanhf.c: Moved to ... - * sysdeps/generic/s_catanhf.c: ...here. - * sysdeps/libm-ieee754/s_catanhl.c: Moved to ... - * sysdeps/generic/s_catanhl.c: ...here. - * sysdeps/libm-ieee754/s_catanl.c: Moved to ... - * sysdeps/generic/s_catanl.c: ...here. - * sysdeps/libm-ieee754/s_ccos.c: Moved to ... - * sysdeps/generic/s_ccos.c: ...here. - * sysdeps/libm-ieee754/s_ccosf.c: Moved to ... - * sysdeps/generic/s_ccosf.c: ...here. - * sysdeps/libm-ieee754/s_ccosh.c: Moved to ... - * sysdeps/generic/s_ccosh.c: ...here. - * sysdeps/libm-ieee754/s_ccoshf.c: Moved to ... - * sysdeps/generic/s_ccoshf.c: ...here. - * sysdeps/libm-ieee754/s_ccoshl.c: Moved to ... - * sysdeps/generic/s_ccoshl.c: ...here. - * sysdeps/libm-ieee754/s_ccosl.c: Moved to ... - * sysdeps/generic/s_ccosl.c: ...here. - * sysdeps/libm-ieee754/s_cexp.c: Moved to ... - * sysdeps/generic/s_cexp.c: ...here. - * sysdeps/libm-ieee754/s_cexpf.c: Moved to ... - * sysdeps/generic/s_cexpf.c: ...here. - * sysdeps/libm-ieee754/s_cexpl.c: Moved to ... - * sysdeps/generic/s_cexpl.c: ...here. - * sysdeps/libm-ieee754/s_clog.c: Moved to ... - * sysdeps/generic/s_clog.c: ...here. - * sysdeps/libm-ieee754/s_clog10.c: Moved to ... - * sysdeps/generic/s_clog10.c: ...here. - * sysdeps/libm-ieee754/s_clog10f.c: Moved to ... - * sysdeps/generic/s_clog10f.c: ...here. - * sysdeps/libm-ieee754/s_clog10l.c: Moved to ... - * sysdeps/generic/s_clog10l.c: ...here. - * sysdeps/libm-ieee754/s_clogf.c: Moved to ... - * sysdeps/generic/s_clogf.c: ...here. - * sysdeps/libm-ieee754/s_clogl.c: Moved to ... - * sysdeps/generic/s_clogl.c: ...here. - * sysdeps/libm-ieee754/s_cpow.c: Moved to ... - * sysdeps/generic/s_cpow.c: ...here. - * sysdeps/libm-ieee754/s_cpowf.c: Moved to ... - * sysdeps/generic/s_cpowf.c: ...here. - * sysdeps/libm-ieee754/s_cpowl.c: Moved to ... - * sysdeps/generic/s_cpowl.c: ...here. - * sysdeps/libm-ieee754/s_cproj.c: Moved to ... - * sysdeps/generic/s_cproj.c: ...here. - * sysdeps/libm-ieee754/s_cprojf.c: Moved to ... - * sysdeps/generic/s_cprojf.c: ...here. - * sysdeps/libm-ieee754/s_cprojl.c: Moved to ... - * sysdeps/generic/s_cprojl.c: ...here. - * sysdeps/libm-ieee754/s_csin.c: Moved to ... - * sysdeps/generic/s_csin.c: ...here. - * sysdeps/libm-ieee754/s_csinf.c: Moved to ... - * sysdeps/generic/s_csinf.c: ...here. - * sysdeps/libm-ieee754/s_csinh.c: Moved to ... - * sysdeps/generic/s_csinh.c: ...here. - * sysdeps/libm-ieee754/s_csinhf.c: Moved to ... - * sysdeps/generic/s_csinhf.c: ...here. - * sysdeps/libm-ieee754/s_csinhl.c: Moved to ... - * sysdeps/generic/s_csinhl.c: ...here. - * sysdeps/libm-ieee754/s_csinl.c: Moved to ... - * sysdeps/generic/s_csinl.c: ...here. - * sysdeps/libm-ieee754/s_csqrt.c: Moved to ... - * sysdeps/generic/s_csqrt.c: ...here. - * sysdeps/libm-ieee754/s_csqrtf.c: Moved to ... - * sysdeps/generic/s_csqrtf.c: ...here. - * sysdeps/libm-ieee754/s_csqrtl.c: Moved to ... - * sysdeps/generic/s_csqrtl.c: ...here. - * sysdeps/libm-ieee754/s_ctan.c: Moved to ... - * sysdeps/generic/s_ctan.c: ...here. - * sysdeps/libm-ieee754/s_ctanf.c: Moved to ... - * sysdeps/generic/s_ctanf.c: ...here. - * sysdeps/libm-ieee754/s_ctanh.c: Moved to ... - * sysdeps/generic/s_ctanh.c: ...here. - * sysdeps/libm-ieee754/s_ctanhf.c: Moved to ... - * sysdeps/generic/s_ctanhf.c: ...here. - * sysdeps/libm-ieee754/s_ctanhl.c: Moved to ... - * sysdeps/generic/s_ctanhl.c: ...here. - * sysdeps/libm-ieee754/s_ctanl.c: Moved to ... - * sysdeps/generic/s_ctanl.c: ...here. - * sysdeps/libm-ieee754/s_fdim.c: Moved to ... - * sysdeps/generic/s_fdim.c: ...here. - * sysdeps/libm-ieee754/s_fdimf.c: Moved to ... - * sysdeps/generic/s_fdimf.c: ...here. - * sysdeps/libm-ieee754/s_fdiml.c: Moved to ... - * sysdeps/generic/s_fdiml.c: ...here. - * sysdeps/libm-ieee754/s_fma.c: Moved to ... - * sysdeps/generic/s_fma.c: ...here. - * sysdeps/libm-ieee754/s_fmaf.c: Moved to ... - * sysdeps/generic/s_fmaf.c: ...here. - * sysdeps/libm-ieee754/s_fmal.c: Moved to ... - * sysdeps/generic/s_fmal.c: ...here. - * sysdeps/libm-ieee754/s_fmax.c: Moved to ... - * sysdeps/generic/s_fmax.c: ...here. - * sysdeps/libm-ieee754/s_fmaxf.c: Moved to ... - * sysdeps/generic/s_fmaxf.c: ...here. - * sysdeps/libm-ieee754/s_fmaxl.c: Moved to ... - * sysdeps/generic/s_fmaxl.c: ...here. - * sysdeps/libm-ieee754/s_fmin.c: Moved to ... - * sysdeps/generic/s_fmin.c: ...here. - * sysdeps/libm-ieee754/s_fminf.c: Moved to ... - * sysdeps/generic/s_fminf.c: ...here. - * sysdeps/libm-ieee754/s_fminl.c: Moved to ... - * sysdeps/generic/s_fminl.c: ...here. - * sysdeps/libm-ieee754/s_ldexp.c: Moved to ... - * sysdeps/generic/s_ldexp.c: ...here. - * sysdeps/libm-ieee754/s_ldexpf.c: Moved to ... - * sysdeps/generic/s_ldexpf.c: ...here. - * sysdeps/libm-ieee754/s_ldexpl.c: Moved to ... - * sysdeps/generic/s_ldexpl.c: ...here. - * sysdeps/libm-ieee754/s_nan.c: Moved to ... - * sysdeps/generic/s_nan.c: ...here. - * sysdeps/libm-ieee754/s_nanf.c: Moved to ... - * sysdeps/generic/s_nanf.c: ...here. - * sysdeps/libm-ieee754/s_nanl.c: Moved to ... - * sysdeps/generic/s_nanl.c: ...here. - * sysdeps/libm-ieee754/s_significand.c: Moved to ... - * sysdeps/generic/s_significand.c: ...here. - * sysdeps/libm-ieee754/s_significandf.c: Moved to ... - * sysdeps/generic/s_significandf.c: ...here. - * sysdeps/libm-ieee754/s_significandl.c: Moved to ... - * sysdeps/generic/s_significandl.c: ...here. - Avoid conversion from int to double and then to long double. - * sysdeps/libm-ieee754/w_acos.c: Moved to ... - * math/w_acos.c: ...here. - * sysdeps/libm-ieee754/w_acosf.c: Moved to ... - * math/w_acosf.c: ...here. - * sysdeps/libm-ieee754/w_acosh.c: Moved to ... - * math/w_acosh.c: ...here. - * sysdeps/libm-ieee754/w_acoshf.c: Moved to ... - * math/w_acoshf.c: ...here. - * sysdeps/libm-ieee754/w_acoshl.c: Moved to ... - * math/w_acoshl.c: ...here. - * sysdeps/libm-ieee754/w_acosl.c: Moved to ... - * math/w_acosl.c: ...here. - * sysdeps/libm-ieee754/w_asin.c: Moved to ... - * math/w_asin.c: ...here. - * sysdeps/libm-ieee754/w_asinf.c: Moved to ... - * math/w_asinf.c: ...here. - * sysdeps/libm-ieee754/w_asinl.c: Moved to ... - * math/w_asinl.c: ...here. - * sysdeps/libm-ieee754/w_atan2.c: Moved to ... - * math/w_atan2.c: ...here. - * sysdeps/libm-ieee754/w_atan2f.c: Moved to ... - * math/w_atan2f.c: ...here. - * sysdeps/libm-ieee754/w_atan2l.c: Moved to ... - * math/w_atan2l.c: ...here. - * sysdeps/libm-ieee754/w_atanh.c: Moved to ... - * math/w_atanh.c: ...here. - * sysdeps/libm-ieee754/w_atanhf.c: Moved to ... - * math/w_atanhf.c: ...here. - * sysdeps/libm-ieee754/w_atanhl.c: Moved to ... - * math/w_atanhl.c: ...here. - * sysdeps/libm-ieee754/w_cosh.c: Moved to ... - * math/w_cosh.c: ...here. - * sysdeps/libm-ieee754/w_coshf.c: Moved to ... - * math/w_coshf.c: ...here. - * sysdeps/libm-ieee754/w_coshl.c: Moved to ... - * math/w_coshl.c: ...here. - * sysdeps/libm-ieee754/w_drem.c: Moved to ... - * math/w_drem.c: ...here. - * sysdeps/libm-ieee754/w_dremf.c: Moved to ... - * math/w_dremf.c: ...here. - * sysdeps/libm-ieee754/w_dreml.c: Moved to ... - * math/w_dreml.c: ...here. - * sysdeps/libm-ieee754/w_exp10.c: Moved to ... - * math/w_exp10.c: ...here. - * sysdeps/libm-ieee754/w_exp10f.c: Moved to ... - * math/w_exp10f.c: ...here. - * sysdeps/libm-ieee754/w_exp10l.c: Moved to ... - * math/w_exp10l.c: ...here. - * sysdeps/libm-ieee754/w_exp2.c: Moved to ... - * math/w_exp2.c: ...here. - * sysdeps/libm-ieee754/w_exp2f.c: Moved to ... - * math/w_exp2f.c: ...here. - * sysdeps/libm-ieee754/w_exp2l.c: Moved to ... - * math/w_exp2l.c: ...here. - * sysdeps/libm-ieee754/w_fmod.c: Moved to ... - * math/w_fmod.c: ...here. - * sysdeps/libm-ieee754/w_fmodf.c: Moved to ... - * math/w_fmodf.c: ...here. - * sysdeps/libm-ieee754/w_fmodl.c: Moved to ... - * math/w_fmodl.c: ...here. - * sysdeps/libm-ieee754/w_hypot.c: Moved to ... - * math/w_hypot.c: ...here. - * sysdeps/libm-ieee754/w_hypotf.c: Moved to ... - * math/w_hypotf.c: ...here. - * sysdeps/libm-ieee754/w_hypotl.c: Moved to ... - * math/w_hypotl.c: ...here. - * sysdeps/libm-ieee754/w_j0.c: Moved to ... - * math/w_j0.c: ...here. - * sysdeps/libm-ieee754/w_j0f.c: Moved to ... - * math/w_j0f.c: ...here. - * sysdeps/libm-ieee754/w_j0l.c: Moved to ... - * math/w_j0l.c: ...here. - * sysdeps/libm-ieee754/w_j1.c: Moved to ... - * math/w_j1.c: ...here. - * sysdeps/libm-ieee754/w_j1f.c: Moved to ... - * math/w_j1f.c: ...here. - * sysdeps/libm-ieee754/w_j1l.c: Moved to ... - * math/w_j1l.c: ...here. - * sysdeps/libm-ieee754/w_jn.c: Moved to ... - * math/w_jn.c: ...here. - * sysdeps/libm-ieee754/w_jnf.c: Moved to ... - * math/w_jnf.c: ...here. - * sysdeps/libm-ieee754/w_jnl.c: Moved to ... - * math/w_jnl.c: ...here. - * sysdeps/libm-ieee754/w_lgamma.c: Moved to ... - * math/w_lgamma.c: ...here. - * sysdeps/libm-ieee754/w_lgamma_r.c: Moved to ... - * math/w_lgamma_r.c: ...here. - * sysdeps/libm-ieee754/w_lgammaf.c: Moved to ... - * math/w_lgammaf.c: ...here. - * sysdeps/libm-ieee754/w_lgammaf_r.c: Moved to ... - * math/w_lgammaf_r.c: ...here. - * sysdeps/libm-ieee754/w_lgammal.c: Moved to ... - * math/w_lgammal.c: ...here. - * sysdeps/libm-ieee754/w_lgammal_r.c: Moved to ... - * math/w_lgammal_r.c: ...here. - * sysdeps/libm-ieee754/w_log.c: Moved to ... - * math/w_log.c: ...here. - * sysdeps/libm-ieee754/w_log10.c: Moved to ... - * math/w_log10.c: ...here. - * sysdeps/libm-ieee754/w_log10f.c: Moved to ... - * math/w_log10f.c: ...here. - * sysdeps/libm-ieee754/w_log10l.c: Moved to ... - * math/w_log10l.c: ...here. - * sysdeps/libm-ieee754/w_logf.c: Moved to ... - * math/w_logf.c: ...here. - * sysdeps/libm-ieee754/w_logl.c: Moved to ... - * math/w_logl.c: ...here. - * sysdeps/libm-ieee754/w_pow.c: Moved to ... - * math/w_pow.c: ...here. - * sysdeps/libm-ieee754/w_powf.c: Moved to ... - * math/w_powf.c: ...here. - * sysdeps/libm-ieee754/w_powl.c: Moved to ... - * math/w_powl.c: ...here. - * sysdeps/libm-ieee754/w_remainder.c: Moved to ... - * math/w_remainder.c: ...here. - * sysdeps/libm-ieee754/w_remainderf.c: Moved to ... - * math/w_remainderf.c: ...here. - * sysdeps/libm-ieee754/w_remainderl.c: Moved to ... - * math/w_remainderl.c: ...here. - * sysdeps/libm-ieee754/w_scalb.c: Moved to ... - * math/w_scalb.c: ...here. - * sysdeps/libm-ieee754/w_scalbf.c: Moved to ... - * math/w_scalbf.c: ...here. - * sysdeps/libm-ieee754/w_scalbl.c: Moved to ... - * math/w_scalbl.c: ...here. - * sysdeps/libm-ieee754/w_sinh.c: Moved to ... - * math/w_sinh.c: ...here. - * sysdeps/libm-ieee754/w_sinhf.c: Moved to ... - * math/w_sinhf.c: ...here. - * sysdeps/libm-ieee754/w_sinhl.c: Moved to ... - * math/w_sinhl.c: ...here. - * sysdeps/libm-ieee754/w_sqrt.c: Moved to ... - * math/w_sqrt.c: ...here. - * sysdeps/libm-ieee754/w_sqrtf.c: Moved to ... - * math/w_sqrtf.c: ...here. - * sysdeps/libm-ieee754/w_sqrtl.c: Moved to ... - * math/w_sqrtl.c: ...here. - * sysdeps/libm-ieee754/w_tgamma.c: Moved to ... - * math/w_tgamma.c: ...here. - * sysdeps/libm-ieee754/w_tgammaf.c: Moved to ... - * math/w_tgammaf.c: ...here. - * sysdeps/libm-ieee754/w_tgammal.c: Moved to ... - * math/w_tgammal.c: ...here. - * sysdeps/libm-i387/e_acos.S: Moved to ... - * sysdeps/i386/fpu/e_acos.S: ...here. - * sysdeps/libm-i387/e_acosf.S: Moved to ... - * sysdeps/i386/fpu/e_acosf.S: ...here. - * sysdeps/libm-i387/e_acosh.S: Moved to ... - * sysdeps/i386/fpu/e_acosh.S: ...here. - * sysdeps/libm-i387/e_acoshf.S: Moved to ... - * sysdeps/i386/fpu/e_acoshf.S: ...here. - * sysdeps/libm-i387/e_acoshl.S: Moved to ... - * sysdeps/i386/fpu/e_acoshl.S: ...here. - * sysdeps/libm-i387/e_acosl.S: Moved to ... - * sysdeps/i386/fpu/e_acosl.S: ...here. - * sysdeps/libm-i387/e_asin.S: Moved to ... - * sysdeps/i386/fpu/e_asin.S: ...here. - * sysdeps/libm-i387/e_asinf.S: Moved to ... - * sysdeps/i386/fpu/e_asinf.S: ...here. - * sysdeps/libm-i387/e_asinl.S: Moved to ... - * sysdeps/i386/fpu/e_asinl.S: ...here. - * sysdeps/libm-i387/e_atan2.S: Moved to ... - * sysdeps/i386/fpu/e_atan2.S: ...here. - * sysdeps/libm-i387/e_atan2f.S: Moved to ... - * sysdeps/i386/fpu/e_atan2f.S: ...here. - * sysdeps/libm-i387/e_atan2l.S: Moved to ... - * sysdeps/i386/fpu/e_atan2l.S: ...here. - * sysdeps/libm-i387/e_atanh.S: Moved to ... - * sysdeps/i386/fpu/e_atanh.S: ...here. - * sysdeps/libm-i387/e_atanhf.S: Moved to ... - * sysdeps/i386/fpu/e_atanhf.S: ...here. - * sysdeps/libm-i387/e_atanhl.S: Moved to ... - * sysdeps/i386/fpu/e_atanhl.S: ...here. - * sysdeps/libm-i387/e_exp.S: Moved to ... - * sysdeps/i386/fpu/e_exp.S: ...here. - * sysdeps/libm-i387/e_exp10.S: Moved to ... - * sysdeps/i386/fpu/e_exp10.S: ...here. - * sysdeps/libm-i387/e_exp10f.S: Moved to ... - * sysdeps/i386/fpu/e_exp10f.S: ...here. - * sysdeps/libm-i387/e_exp10l.S: Moved to ... - * sysdeps/i386/fpu/e_exp10l.S: ...here. - * sysdeps/libm-i387/e_expf.S: Moved to ... - * sysdeps/i386/fpu/e_expf.S: ...here. - * sysdeps/libm-i387/e_expl.S: Moved to ... - * sysdeps/i386/fpu/e_expl.S: ...here. - * sysdeps/libm-i387/e_fmod.S: Moved to ... - * sysdeps/i386/fpu/e_fmod.S: ...here. - * sysdeps/libm-i387/e_fmodf.S: Moved to ... - * sysdeps/i386/fpu/e_fmodf.S: ...here. - * sysdeps/libm-i387/e_fmodl.S: Moved to ... - * sysdeps/i386/fpu/e_fmodl.S: ...here. - * sysdeps/libm-i387/e_hypot.S: Moved to ... - * sysdeps/i386/fpu/e_hypot.S: ...here. - * sysdeps/libm-i387/e_hypotf.S: Moved to ... - * sysdeps/i386/fpu/e_hypotf.S: ...here. - * sysdeps/libm-i387/e_log.S: Moved to ... - * sysdeps/i386/fpu/e_log.S: ...here. - * sysdeps/libm-i387/e_log10.S: Moved to ... - * sysdeps/i386/fpu/e_log10.S: ...here. - * sysdeps/libm-i387/e_log10f.S: Moved to ... - * sysdeps/i386/fpu/e_log10f.S: ...here. - * sysdeps/libm-i387/e_log10l.S: Moved to ... - * sysdeps/i386/fpu/e_log10l.S: ...here. - * sysdeps/libm-i387/e_logf.S: Moved to ... - * sysdeps/i386/fpu/e_logf.S: ...here. - * sysdeps/libm-i387/e_logl.S: Moved to ... - * sysdeps/i386/fpu/e_logl.S: ...here. - * sysdeps/libm-i387/e_pow.S: Moved to ... - * sysdeps/i386/fpu/e_pow.S: ...here. - * sysdeps/libm-i387/e_powf.S: Moved to ... - * sysdeps/i386/fpu/e_powf.S: ...here. - * sysdeps/libm-i387/e_powl.S: Moved to ... - * sysdeps/i386/fpu/e_powl.S: ...here. - * sysdeps/libm-i387/e_rem_pio2l.c: Moved to ... - * sysdeps/i386/fpu/e_rem_pio2l.c: ...here. - * sysdeps/libm-i387/e_remainder.S: Moved to ... - * sysdeps/i386/fpu/e_remainder.S: ...here. - * sysdeps/libm-i387/e_remainderf.S: Moved to ... - * sysdeps/i386/fpu/e_remainderf.S: ...here. - * sysdeps/libm-i387/e_remainderl.S: Moved to ... - * sysdeps/i386/fpu/e_remainderl.S: ...here. - * sysdeps/libm-i387/e_scalb.S: Moved to ... - * sysdeps/i386/fpu/e_scalb.S: ...here. - * sysdeps/libm-i387/e_scalbf.S: Moved to ... - * sysdeps/i386/fpu/e_scalbf.S: ...here. - * sysdeps/libm-i387/e_scalbl.S: Moved to ... - * sysdeps/i386/fpu/e_scalbl.S: ...here. - * sysdeps/libm-i387/e_sqrt.S: Moved to ... - * sysdeps/i386/fpu/e_sqrt.S: ...here. - * sysdeps/libm-i387/e_sqrtf.S: Moved to ... - * sysdeps/i386/fpu/e_sqrtf.S: ...here. - * sysdeps/libm-i387/e_sqrtl.S: Moved to ... - * sysdeps/i386/fpu/e_sqrtl.S: ...here. - * sysdeps/libm-i387/k_rem_pio2l.c: Moved to ... - * sysdeps/i386/fpu/k_rem_pio2l.c: ...here. - * sysdeps/libm-i387/s_asinh.S: Moved to ... - * sysdeps/i386/fpu/s_asinh.S: ...here. - * sysdeps/libm-i387/s_asinhf.S: Moved to ... - * sysdeps/i386/fpu/s_asinhf.S: ...here. - * sysdeps/libm-i387/s_asinhl.S: Moved to ... - * sysdeps/i386/fpu/s_asinhl.S: ...here. - * sysdeps/libm-i387/s_atan.S: Moved to ... - * sysdeps/i386/fpu/s_atan.S: ...here. - * sysdeps/libm-i387/s_atanf.S: Moved to ... - * sysdeps/i386/fpu/s_atanf.S: ...here. - * sysdeps/libm-i387/s_atanl.S: Moved to ... - * sysdeps/i386/fpu/s_atanl.S: ...here. - * sysdeps/libm-i387/s_cbrt.S: Moved to ... - * sysdeps/i386/fpu/s_cbrt.S: ...here. - * sysdeps/libm-i387/s_cbrtf.S: Moved to ... - * sysdeps/i386/fpu/s_cbrtf.S: ...here. - * sysdeps/libm-i387/s_cbrtl.S: Moved to ... - * sysdeps/i386/fpu/s_cbrtl.S: ...here. - * sysdeps/libm-i387/s_ceil.S: Moved to ... - * sysdeps/i386/fpu/s_ceil.S: ...here. - * sysdeps/libm-i387/s_ceilf.S: Moved to ... - * sysdeps/i386/fpu/s_ceilf.S: ...here. - * sysdeps/libm-i387/s_ceill.S: Moved to ... - * sysdeps/i386/fpu/s_ceill.S: ...here. - * sysdeps/libm-i387/s_cexp.S: Moved to ... - * sysdeps/i386/fpu/s_cexp.S: ...here. - * sysdeps/libm-i387/s_cexpf.S: Moved to ... - * sysdeps/i386/fpu/s_cexpf.S: ...here. - * sysdeps/libm-i387/s_cexpl.S: Moved to ... - * sysdeps/i386/fpu/s_cexpl.S: ...here. - * sysdeps/libm-i387/s_copysign.S: Moved to ... - * sysdeps/i386/fpu/s_copysign.S: ...here. - * sysdeps/libm-i387/s_copysignf.S: Moved to ... - * sysdeps/i386/fpu/s_copysignf.S: ...here. - * sysdeps/libm-i387/s_copysignl.S: Moved to ... - * sysdeps/i386/fpu/s_copysignl.S: ...here. - * sysdeps/libm-i387/s_cos.S: Moved to ... - * sysdeps/i386/fpu/s_cos.S: ...here. - * sysdeps/libm-i387/s_cosf.S: Moved to ... - * sysdeps/i386/fpu/s_cosf.S: ...here. - * sysdeps/libm-i387/s_cosl.S: Moved to ... - * sysdeps/i386/fpu/s_cosl.S: ...here. - * sysdeps/libm-i387/s_exp2.S: Moved to ... - * sysdeps/i386/fpu/s_exp2.S: ...here. - * sysdeps/libm-i387/s_exp2f.S: Moved to ... - * sysdeps/i386/fpu/s_exp2f.S: ...here. - * sysdeps/libm-i387/s_exp2l.S: Moved to ... - * sysdeps/i386/fpu/s_exp2l.S: ...here. - * sysdeps/libm-i387/s_expm1.S: Moved to ... - * sysdeps/i386/fpu/s_expm1.S: ...here. - * sysdeps/libm-i387/s_expm1f.S: Moved to ... - * sysdeps/i386/fpu/s_expm1f.S: ...here. - * sysdeps/libm-i387/s_expm1l.S: Moved to ... - * sysdeps/i386/fpu/s_expm1l.S: ...here. - * sysdeps/libm-i387/s_fdim.S: Moved to ... - * sysdeps/i386/fpu/s_fdim.S: ...here. - * sysdeps/libm-i387/s_fdimf.S: Moved to ... - * sysdeps/i386/fpu/s_fdimf.S: ...here. - * sysdeps/libm-i387/s_fdiml.S: Moved to ... - * sysdeps/i386/fpu/s_fdiml.S: ...here. - * sysdeps/libm-i387/s_finite.S: Moved to ... - * sysdeps/i386/fpu/s_finite.S: ...here. - * sysdeps/libm-i387/s_finitef.S: Moved to ... - * sysdeps/i386/fpu/s_finitef.S: ...here. - * sysdeps/libm-i387/s_finitel.S: Moved to ... - * sysdeps/i386/fpu/s_finitel.S: ...here. - * sysdeps/libm-i387/s_floor.S: Moved to ... - * sysdeps/i386/fpu/s_floor.S: ...here. - * sysdeps/libm-i387/s_floorf.S: Moved to ... - * sysdeps/i386/fpu/s_floorf.S: ...here. - * sysdeps/libm-i387/s_floorl.S: Moved to ... - * sysdeps/i386/fpu/s_floorl.S: ...here. - * sysdeps/libm-i387/s_fma.S: Moved to ... - * sysdeps/i386/fpu/s_fma.S: ...here. - * sysdeps/libm-i387/s_fmaf.S: Moved to ... - * sysdeps/i386/fpu/s_fmaf.S: ...here. - * sysdeps/libm-i387/s_fmal.S: Moved to ... - * sysdeps/i386/fpu/s_fmal.S: ...here. - * sysdeps/libm-i387/s_fmax.S: Moved to ... - * sysdeps/i386/fpu/s_fmax.S: ...here. - * sysdeps/libm-i387/s_fmaxf.S: Moved to ... - * sysdeps/i386/fpu/s_fmaxf.S: ...here. - * sysdeps/libm-i387/s_fmaxl.S: Moved to ... - * sysdeps/i386/fpu/s_fmaxl.S: ...here. - * sysdeps/libm-i387/s_fmin.S: Moved to ... - * sysdeps/i386/fpu/s_fmin.S: ...here. - * sysdeps/libm-i387/s_fminf.S: Moved to ... - * sysdeps/i386/fpu/s_fminf.S: ...here. - * sysdeps/libm-i387/s_fminl.S: Moved to ... - * sysdeps/i386/fpu/s_fminl.S: ...here. - * sysdeps/libm-i387/s_frexp.S: Moved to ... - * sysdeps/i386/fpu/s_frexp.S: ...here. - * sysdeps/libm-i387/s_frexpf.S: Moved to ... - * sysdeps/i386/fpu/s_frexpf.S: ...here. - * sysdeps/libm-i387/s_frexpl.S: Moved to ... - * sysdeps/i386/fpu/s_frexpl.S: ...here. - * sysdeps/libm-i387/s_ilogb.S: Moved to ... - * sysdeps/i386/fpu/s_ilogb.S: ...here. - * sysdeps/libm-i387/s_ilogbf.S: Moved to ... - * sysdeps/i386/fpu/s_ilogbf.S: ...here. - * sysdeps/libm-i387/s_ilogbl.S: Moved to ... - * sysdeps/i386/fpu/s_ilogbl.S: ...here. - * sysdeps/libm-i387/s_llrint.S: Moved to ... - * sysdeps/i386/fpu/s_llrint.S: ...here. - * sysdeps/libm-i387/s_llrintf.S: Moved to ... - * sysdeps/i386/fpu/s_llrintf.S: ...here. - * sysdeps/libm-i387/s_llrintl.S: Moved to ... - * sysdeps/i386/fpu/s_llrintl.S: ...here. - * sysdeps/libm-i387/s_log1p.S: Moved to ... - * sysdeps/i386/fpu/s_log1p.S: ...here. - * sysdeps/libm-i387/s_log1pf.S: Moved to ... - * sysdeps/i386/fpu/s_log1pf.S: ...here. - * sysdeps/libm-i387/s_log1pl.S: Moved to ... - * sysdeps/i386/fpu/s_log1pl.S: ...here. - * sysdeps/libm-i387/s_log2.S: Moved to ... - * sysdeps/i386/fpu/s_log2.S: ...here. - * sysdeps/libm-i387/s_log2f.S: Moved to ... - * sysdeps/i386/fpu/s_log2f.S: ...here. - * sysdeps/libm-i387/s_log2l.S: Moved to ... - * sysdeps/i386/fpu/s_log2l.S: ...here. - * sysdeps/libm-i387/s_logb.S: Moved to ... - * sysdeps/i386/fpu/s_logb.S: ...here. - * sysdeps/libm-i387/s_logbf.S: Moved to ... - * sysdeps/i386/fpu/s_logbf.S: ...here. - * sysdeps/libm-i387/s_logbl.S: Moved to ... - * sysdeps/i386/fpu/s_logbl.S: ...here. - * sysdeps/libm-i387/s_lrint.S: Moved to ... - * sysdeps/i386/fpu/s_lrint.S: ...here. - * sysdeps/libm-i387/s_lrintf.S: Moved to ... - * sysdeps/i386/fpu/s_lrintf.S: ...here. - * sysdeps/libm-i387/s_lrintl.S: Moved to ... - * sysdeps/i386/fpu/s_lrintl.S: ...here. - * sysdeps/libm-i387/s_nearbyint.S: Moved to ... - * sysdeps/i386/fpu/s_nearbyint.S: ...here. - * sysdeps/libm-i387/s_nearbyintf.S: Moved to ... - * sysdeps/i386/fpu/s_nearbyintf.S: ...here. - * sysdeps/libm-i387/s_nearbyintl.S: Moved to ... - * sysdeps/i386/fpu/s_nearbyintl.S: ...here. - * sysdeps/libm-i387/s_remquo.S: Moved to ... - * sysdeps/i386/fpu/s_remquo.S: ...here. - * sysdeps/libm-i387/s_remquof.S: Moved to ... - * sysdeps/i386/fpu/s_remquof.S: ...here. - * sysdeps/libm-i387/s_remquol.S: Moved to ... - * sysdeps/i386/fpu/s_remquol.S: ...here. - * sysdeps/libm-i387/s_rint.S: Moved to ... - * sysdeps/i386/fpu/s_rint.S: ...here. - * sysdeps/libm-i387/s_rintf.S: Moved to ... - * sysdeps/i386/fpu/s_rintf.S: ...here. - * sysdeps/libm-i387/s_rintl.S: Moved to ... - * sysdeps/i386/fpu/s_rintl.S: ...here. - * sysdeps/libm-i387/s_scalbn.S: Moved to ... - * sysdeps/i386/fpu/s_scalbn.S: ...here. - * sysdeps/libm-i387/s_scalbnf.S: Moved to ... - * sysdeps/i386/fpu/s_scalbnf.S: ...here. - * sysdeps/libm-i387/s_scalbnl.S: Moved to ... - * sysdeps/i386/fpu/s_scalbnl.S: ...here. - * sysdeps/libm-i387/s_significand.S: Moved to ... - * sysdeps/i386/fpu/s_significand.S: ...here. - * sysdeps/libm-i387/s_significandf.S: Moved to ... - * sysdeps/i386/fpu/s_significandf.S: ...here. - * sysdeps/libm-i387/s_significandl.S: Moved to ... - * sysdeps/i386/fpu/s_significandl.S: ...here. - * sysdeps/libm-i387/s_sin.S: Moved to ... - * sysdeps/i386/fpu/s_sin.S: ...here. - * sysdeps/libm-i387/s_sincos.S: Moved to ... - * sysdeps/i386/fpu/s_sincos.S: ...here. - * sysdeps/libm-i387/s_sincosf.S: Moved to ... - * sysdeps/i386/fpu/s_sincosf.S: ...here. - * sysdeps/libm-i387/s_sincosl.S: Moved to ... - * sysdeps/i386/fpu/s_sincosl.S: ...here. - * sysdeps/libm-i387/s_sinf.S: Moved to ... - * sysdeps/i386/fpu/s_sinf.S: ...here. - * sysdeps/libm-i387/s_sinl.S: Moved to ... - * sysdeps/i386/fpu/s_sinl.S: ...here. - * sysdeps/libm-i387/s_tan.S: Moved to ... - * sysdeps/i386/fpu/s_tan.S: ...here. - * sysdeps/libm-i387/s_tanf.S: Moved to ... - * sysdeps/i386/fpu/s_tanf.S: ...here. - * sysdeps/libm-i387/s_tanl.S: Moved to ... - * sysdeps/i386/fpu/s_tanl.S: ...here. - * sysdeps/libm-i387/s_trunc.S: Moved to ... - * sysdeps/i386/fpu/s_trunc.S: ...here. - * sysdeps/libm-i387/s_truncf.S: Moved to ... - * sysdeps/i386/fpu/s_truncf.S: ...here. - * sysdeps/libm-i387/s_truncl.S: Moved to ... - * sysdeps/i386/fpu/s_truncl.S: ...here. - * sysdeps/libm-ieee754/k_standard.c: Moved to ... - * sysdeps/ieee754/k_standard.c: ...here. - * sysdeps/libm-ieee754/s_lib_version.c: Moved to ... - * sysdeps/ieee754/s_lib_version.c: ...here. - * sysdeps/libm-ieee754/s_matherr.c: Moved to ... - * sysdeps/ieee754/s_matherr.c: ...here. - * sysdeps/libm-ieee754/s_signgam.c: Moved to ... - * sysdeps/ieee754/s_signgam.c: ...here. - * sysdeps/ieee754/dbl2mpn.c: Moved to ... - * sysdeps/ieee754/dbl-64/dbl2mpn.c: ...here. - * sysdeps/ieee754/mpn2dbl.c: Moved to ... - * sysdeps/ieee754/dbl-64/mpn2dbl.c: ...here. - * sysdeps/libm-ieee754/e_acos.c: Moved to ... - * sysdeps/ieee754/dbl-64/e_acos.c: ...here. - * sysdeps/libm-ieee754/e_acosh.c: Moved to ... - * sysdeps/ieee754/dbl-64/e_acosh.c: ...here. - * sysdeps/libm-ieee754/e_asin.c: Moved to ... - * sysdeps/ieee754/dbl-64/e_asin.c: ...here. - * sysdeps/libm-ieee754/e_atan2.c: Moved to ... - * sysdeps/ieee754/dbl-64/e_atan2.c: ...here. - * sysdeps/libm-ieee754/e_atanh.c: Moved to ... - * sysdeps/ieee754/dbl-64/e_atanh.c: ...here. - * sysdeps/libm-ieee754/e_cosh.c: Moved to ... - * sysdeps/ieee754/dbl-64/e_cosh.c: ...here. - * sysdeps/libm-ieee754/e_exp.c: Moved to ... - * sysdeps/ieee754/dbl-64/e_exp.c: ...here. - * sysdeps/libm-ieee754/e_fmod.c: Moved to ... - * sysdeps/ieee754/dbl-64/e_fmod.c: ...here. - * sysdeps/libm-ieee754/e_gamma_r.c: Moved to ... - * sysdeps/ieee754/dbl-64/e_gamma_r.c: ...here. - * sysdeps/libm-ieee754/e_hypot.c: Moved to ... - * sysdeps/ieee754/dbl-64/e_hypot.c: ...here. - * sysdeps/libm-ieee754/e_j0.c: Moved to ... - * sysdeps/ieee754/dbl-64/e_j0.c: ...here. - * sysdeps/libm-ieee754/e_j1.c: Moved to ... - * sysdeps/ieee754/dbl-64/e_j1.c: ...here. - * sysdeps/libm-ieee754/e_jn.c: Moved to ... - * sysdeps/ieee754/dbl-64/e_jn.c: ...here. - * sysdeps/libm-ieee754/e_lgamma_r.c: Moved to ... - * sysdeps/ieee754/dbl-64/e_lgamma_r.c: ...here. - * sysdeps/libm-ieee754/e_log.c: Moved to ... - * sysdeps/ieee754/dbl-64/e_log.c: ...here. - * sysdeps/libm-ieee754/e_log10.c: Moved to ... - * sysdeps/ieee754/dbl-64/e_log10.c: ...here. - * sysdeps/libm-ieee754/e_pow.c: Moved to ... - * sysdeps/ieee754/dbl-64/e_pow.c: ...here. - * sysdeps/libm-ieee754/e_remainder.c: Moved to ... - * sysdeps/ieee754/dbl-64/e_remainder.c: ...here. - * sysdeps/libm-ieee754/e_sinh.c: Moved to ... - * sysdeps/ieee754/dbl-64/e_sinh.c: ...here. - * sysdeps/libm-ieee754/e_sqrt.c: Moved to ... - * sysdeps/ieee754/dbl-64/e_sqrt.c: ...here. - * sysdeps/libm-ieee754/k_cos.c: Moved to ... - * sysdeps/ieee754/dbl-64/k_cos.c: ...here. - * sysdeps/libm-ieee754/k_sin.c: Moved to ... - * sysdeps/ieee754/dbl-64/k_sin.c: ...here. - * sysdeps/libm-ieee754/k_tan.c: Moved to ... - * sysdeps/ieee754/dbl-64/k_tan.c: ...here. - * sysdeps/libm-ieee754/s_asinh.c: Moved to ... - * sysdeps/ieee754/dbl-64/s_asinh.c: ...here. - * sysdeps/libm-ieee754/s_atan.c: Moved to ... - * sysdeps/ieee754/dbl-64/s_atan.c: ...here. - * sysdeps/libm-ieee754/s_cbrt.c: Moved to ... - * sysdeps/ieee754/dbl-64/s_cbrt.c: ...here. - * sysdeps/libm-ieee754/s_ceil.c: Moved to ... - * sysdeps/ieee754/dbl-64/s_ceil.c: ...here. - * sysdeps/libm-ieee754/s_copysign.c: Moved to ... - * sysdeps/ieee754/dbl-64/s_copysign.c: ...here. - * sysdeps/libm-ieee754/s_cos.c: Moved to ... - * sysdeps/ieee754/dbl-64/s_cos.c: ...here. - * sysdeps/libm-ieee754/s_erf.c: Moved to ... - * sysdeps/ieee754/dbl-64/s_erf.c: ...here. - * sysdeps/libm-ieee754/s_exp2.c: Moved to ... - * sysdeps/ieee754/dbl-64/s_exp2.c: ...here. - * sysdeps/libm-ieee754/s_expm1.c: Moved to ... - * sysdeps/ieee754/dbl-64/s_expm1.c: ...here. - * sysdeps/libm-ieee754/s_fabs.c: Moved to ... - * sysdeps/ieee754/dbl-64/s_fabs.c: ...here. - * sysdeps/libm-ieee754/s_finite.c: Moved to ... - * sysdeps/ieee754/dbl-64/s_finite.c: ...here. - * sysdeps/libm-ieee754/s_floor.c: Moved to ... - * sysdeps/ieee754/dbl-64/s_floor.c: ...here. - * sysdeps/libm-ieee754/s_fpclassify.c: Moved to ... - * sysdeps/ieee754/dbl-64/s_fpclassify.c: ...here. - * sysdeps/libm-ieee754/s_frexp.c: Moved to ... - * sysdeps/ieee754/dbl-64/s_frexp.c: ...here. - * sysdeps/libm-ieee754/s_ilogb.c: Moved to ... - * sysdeps/ieee754/dbl-64/s_ilogb.c: ...here. - * sysdeps/libm-ieee754/s_isinf.c: Moved to ... - * sysdeps/ieee754/dbl-64/s_isinf.c: ...here. - * sysdeps/libm-ieee754/s_isnan.c: Moved to ... - * sysdeps/ieee754/dbl-64/s_isnan.c: ...here. - (__isnan): Comment above function says it returns 0 or 1, but it - used to return 0 or -1. - * sysdeps/libm-ieee754/s_llrint.c: Moved to ... - * sysdeps/ieee754/dbl-64/s_llrint.c: ...here. - * sysdeps/libm-ieee754/s_llround.c: Moved to ... - * sysdeps/ieee754/dbl-64/s_llround.c: ...here. - * sysdeps/libm-ieee754/s_log1p.c: Moved to ... - * sysdeps/ieee754/dbl-64/s_log1p.c: ...here. - * sysdeps/libm-ieee754/s_log2.c: Moved to ... - * sysdeps/ieee754/dbl-64/s_log2.c: ...here. - * sysdeps/libm-ieee754/s_logb.c: Moved to ... - * sysdeps/ieee754/dbl-64/s_logb.c: ...here. - * sysdeps/libm-ieee754/s_lrint.c: Moved to ... - * sysdeps/ieee754/dbl-64/s_lrint.c: ...here. - * sysdeps/libm-ieee754/s_lround.c: Moved to ... - * sysdeps/ieee754/dbl-64/s_lround.c: ...here. - * sysdeps/libm-ieee754/s_modf.c: Moved to ... - * sysdeps/ieee754/dbl-64/s_modf.c: ...here. - * sysdeps/libm-ieee754/s_nearbyint.c: Moved to ... - * sysdeps/ieee754/dbl-64/s_nearbyint.c: ...here. - * sysdeps/libm-ieee754/s_nextafter.c: Moved to ... - * sysdeps/generic/s_nextafter.c: ...here. - Add __nexttoward and nexttoward aliases if NO_LONG_DOUBLE. - * sysdeps/libm-ieee754/s_remquo.c: Moved to ... - * sysdeps/ieee754/dbl-64/s_remquo.c: ...here. - * sysdeps/libm-ieee754/s_rint.c: Moved to ... - * sysdeps/ieee754/dbl-64/s_rint.c: ...here. - * sysdeps/libm-ieee754/s_round.c: Moved to ... - * sysdeps/ieee754/dbl-64/s_round.c: ...here. - * sysdeps/libm-ieee754/s_scalbn.c: Moved to ... - * sysdeps/ieee754/dbl-64/s_scalbn.c: ...here. - * sysdeps/libm-ieee754/s_signbit.c: Moved to ... - * sysdeps/ieee754/dbl-64/s_signbit.c: ...here. - * sysdeps/libm-ieee754/s_sin.c: Moved to ... - * sysdeps/ieee754/dbl-64/s_sin.c: ...here. - * sysdeps/libm-ieee754/s_sincos.c: Moved to ... - * sysdeps/ieee754/dbl-64/s_sincos.c: ...here. - * sysdeps/libm-ieee754/s_tan.c: Moved to ... - * sysdeps/ieee754/dbl-64/s_tan.c: ...here. - * sysdeps/libm-ieee754/s_tanh.c: Moved to ... - * sysdeps/ieee754/dbl-64/s_tanh.c: ...here. - * sysdeps/libm-ieee754/s_trunc.c: Moved to ... - * sysdeps/ieee754/dbl-64/s_trunc.c: ...here. - * sysdeps/libm-ieee754/t_exp2.h: Moved to ... - * sysdeps/ieee754/dbl-64/t_exp2.h: ...here. - * sysdeps/libm-ieee754/w_exp.c: Moved to ... - * sysdeps/ieee754/dbl-64/w_exp.c: ...here. - * sysdeps/ieee754/mpn2flt.c: Moved to ... - * sysdeps/ieee754/flt-32/mpn2flt.c: ...here. - * sysdeps/libm-ieee754/e_acosf.c: Moved to ... - * sysdeps/ieee754/flt-32/e_acosf.c: ...here. - * sysdeps/libm-ieee754/e_acoshf.c: Moved to ... - * sysdeps/ieee754/flt-32/e_acoshf.c: ...here. - * sysdeps/libm-ieee754/e_asinf.c: Moved to ... - * sysdeps/ieee754/flt-32/e_asinf.c: ...here. - * sysdeps/libm-ieee754/e_atan2f.c: Moved to ... - * sysdeps/ieee754/flt-32/e_atan2f.c: ...here. - * sysdeps/libm-ieee754/e_atanhf.c: Moved to ... - * sysdeps/ieee754/flt-32/e_atanhf.c: ...here. - * sysdeps/libm-ieee754/e_coshf.c: Moved to ... - * sysdeps/ieee754/flt-32/e_coshf.c: ...here. - * sysdeps/libm-ieee754/e_expf.c: Moved to ... - * sysdeps/ieee754/flt-32/e_expf.c: ...here. - * sysdeps/libm-ieee754/e_fmodf.c: Moved to ... - * sysdeps/ieee754/flt-32/e_fmodf.c: ...here. - * sysdeps/libm-ieee754/e_gammaf_r.c: Moved to ... - * sysdeps/ieee754/flt-32/e_gammaf_r.c: ...here. - * sysdeps/libm-ieee754/e_hypotf.c: Moved to ... - * sysdeps/ieee754/flt-32/e_hypotf.c: ...here. - * sysdeps/libm-ieee754/e_j0f.c: Moved to ... - * sysdeps/ieee754/flt-32/e_j0f.c: ...here. - * sysdeps/libm-ieee754/e_j1f.c: Moved to ... - * sysdeps/ieee754/flt-32/e_j1f.c: ...here. - * sysdeps/libm-ieee754/e_jnf.c: Moved to ... - * sysdeps/ieee754/flt-32/e_jnf.c: ...here. - * sysdeps/libm-ieee754/e_lgammaf_r.c: Moved to ... - * sysdeps/ieee754/flt-32/e_lgammaf_r.c: ...here. - * sysdeps/libm-ieee754/e_log10f.c: Moved to ... - * sysdeps/ieee754/flt-32/e_log10f.c: ...here. - * sysdeps/libm-ieee754/e_logf.c: Moved to ... - * sysdeps/ieee754/flt-32/e_logf.c: ...here. - * sysdeps/libm-ieee754/e_powf.c: Moved to ... - * sysdeps/ieee754/flt-32/e_powf.c: ...here. - * sysdeps/libm-ieee754/e_remainderf.c: Moved to ... - * sysdeps/ieee754/flt-32/e_remainderf.c: ...here. - * sysdeps/libm-ieee754/e_sinhf.c: Moved to ... - * sysdeps/ieee754/flt-32/e_sinhf.c: ...here. - * sysdeps/libm-ieee754/e_sqrtf.c: Moved to ... - * sysdeps/ieee754/flt-32/e_sqrtf.c: ...here. - * sysdeps/libm-ieee754/k_cosf.c: Moved to ... - * sysdeps/ieee754/flt-32/k_cosf.c: ...here. - * sysdeps/libm-ieee754/k_sinf.c: Moved to ... - * sysdeps/ieee754/flt-32/k_sinf.c: ...here. - * sysdeps/libm-ieee754/k_tanf.c: Moved to ... - * sysdeps/ieee754/flt-32/k_tanf.c: ...here. - * sysdeps/libm-ieee754/s_asinhf.c: Moved to ... - * sysdeps/ieee754/flt-32/s_asinhf.c: ...here. - * sysdeps/libm-ieee754/s_atanf.c: Moved to ... - * sysdeps/ieee754/flt-32/s_atanf.c: ...here. - * sysdeps/libm-ieee754/s_cbrtf.c: Moved to ... - * sysdeps/ieee754/flt-32/s_cbrtf.c: ...here. - * sysdeps/libm-ieee754/s_ceilf.c: Moved to ... - * sysdeps/ieee754/flt-32/s_ceilf.c: ...here. - * sysdeps/libm-ieee754/s_copysignf.c: Moved to ... - * sysdeps/ieee754/flt-32/s_copysignf.c: ...here. - * sysdeps/libm-ieee754/s_cosf.c: Moved to ... - * sysdeps/ieee754/flt-32/s_cosf.c: ...here. - * sysdeps/libm-ieee754/s_erff.c: Moved to ... - * sysdeps/ieee754/flt-32/s_erff.c: ...here. - * sysdeps/libm-ieee754/s_exp2f.c: Moved to ... - * sysdeps/ieee754/flt-32/s_exp2f.c: ...here. - * sysdeps/libm-ieee754/s_expm1f.c: Moved to ... - * sysdeps/ieee754/flt-32/s_expm1f.c: ...here. - * sysdeps/libm-ieee754/s_fabsf.c: Moved to ... - * sysdeps/ieee754/flt-32/s_fabsf.c: ...here. - * sysdeps/libm-ieee754/s_finitef.c: Moved to ... - * sysdeps/ieee754/flt-32/s_finitef.c: ...here. - * sysdeps/libm-ieee754/s_floorf.c: Moved to ... - * sysdeps/ieee754/flt-32/s_floorf.c: ...here. - * sysdeps/libm-ieee754/s_fpclassifyf.c: Moved to ... - * sysdeps/ieee754/flt-32/s_fpclassifyf.c: ...here. - * sysdeps/libm-ieee754/s_frexpf.c: Moved to ... - * sysdeps/ieee754/flt-32/s_frexpf.c: ...here. - * sysdeps/libm-ieee754/s_ilogbf.c: Moved to ... - * sysdeps/ieee754/flt-32/s_ilogbf.c: ...here. - * sysdeps/libm-ieee754/s_isinff.c: Moved to ... - * sysdeps/ieee754/flt-32/s_isinff.c: ...here. - * sysdeps/libm-ieee754/s_isnanf.c: Moved to ... - * sysdeps/ieee754/flt-32/s_isnanf.c: ...here. - * sysdeps/libm-ieee754/s_llrintf.c: Moved to ... - * sysdeps/ieee754/flt-32/s_llrintf.c: ...here. - * sysdeps/libm-ieee754/s_llroundf.c: Moved to ... - * sysdeps/ieee754/flt-32/s_llroundf.c: ...here. - * sysdeps/libm-ieee754/s_log1pf.c: Moved to ... - * sysdeps/ieee754/flt-32/s_log1pf.c: ...here. - * sysdeps/libm-ieee754/s_log2f.c: Moved to ... - * sysdeps/ieee754/flt-32/s_log2f.c: ...here. - * sysdeps/libm-ieee754/s_logbf.c: Moved to ... - * sysdeps/ieee754/flt-32/s_logbf.c: ...here. - * sysdeps/libm-ieee754/s_lrintf.c: Moved to ... - * sysdeps/ieee754/flt-32/s_lrintf.c: ...here. - * sysdeps/libm-ieee754/s_lroundf.c: Moved to ... - * sysdeps/ieee754/flt-32/s_lroundf.c: ...here. - * sysdeps/libm-ieee754/s_modff.c: Moved to ... - * sysdeps/ieee754/flt-32/s_modff.c: ...here. - * sysdeps/libm-ieee754/s_nearbyintf.c: Moved to ... - * sysdeps/ieee754/flt-32/s_nearbyintf.c: ...here. - * sysdeps/libm-ieee754/s_nextafterf.c: Moved to ... - * sysdeps/ieee754/flt-32/s_nextafterf.c: ...here. - * sysdeps/libm-ieee754/s_remquof.c: Moved to ... - * sysdeps/ieee754/flt-32/s_remquof.c: ...here. - * sysdeps/libm-ieee754/s_rintf.c: Moved to ... - * sysdeps/ieee754/flt-32/s_rintf.c: ...here. - * sysdeps/libm-ieee754/s_roundf.c: Moved to ... - * sysdeps/ieee754/flt-32/s_roundf.c: ...here. - * sysdeps/libm-ieee754/s_scalbnf.c: Moved to ... - * sysdeps/ieee754/flt-32/s_scalbnf.c: ...here. - * sysdeps/libm-ieee754/s_signbitf.c: Moved to ... - * sysdeps/ieee754/flt-32/s_signbitf.c: ...here. - * sysdeps/libm-ieee754/s_sincosf.c: Moved to ... - * sysdeps/ieee754/flt-32/s_sincosf.c: ...here. - * sysdeps/libm-ieee754/s_sinf.c: Moved to ... - * sysdeps/ieee754/flt-32/s_sinf.c: ...here. - * sysdeps/libm-ieee754/s_tanf.c: Moved to ... - * sysdeps/ieee754/flt-32/s_tanf.c: ...here. - * sysdeps/libm-ieee754/s_tanhf.c: Moved to ... - * sysdeps/ieee754/flt-32/s_tanhf.c: ...here. - * sysdeps/libm-ieee754/s_truncf.c: Moved to ... - * sysdeps/ieee754/flt-32/s_truncf.c: ...here. - * sysdeps/libm-ieee754/t_exp2f.h: Moved to ... - * sysdeps/ieee754/flt-32/t_exp2f.h: ...here. - * sysdeps/libm-ieee754/w_expf.c: Moved to ... - * sysdeps/ieee754/flt-32/w_expf.c: ...here. - * sysdeps/libm-ieee754/e_acoshl.c: Moved to ... - * sysdeps/ieee754/ldbl-96/e_acoshl.c: ...here. - * sysdeps/libm-ieee754/e_atan2l.c: Moved to ... - * sysdeps/ieee754/ldbl-96/e_atan2l.c: ...here. - * sysdeps/libm-ieee754/e_atanhl.c: Moved to ... - * sysdeps/ieee754/ldbl-96/e_atanhl.c: ...here. - * sysdeps/libm-ieee754/e_coshl.c: Moved to ... - * sysdeps/ieee754/ldbl-96/e_coshl.c: ...here. - * sysdeps/libm-ieee754/e_gammal_r.c: Moved to ... - * sysdeps/ieee754/ldbl-96/e_gammal_r.c: ...here. - * sysdeps/libm-ieee754/e_hypotl.c: Moved to ... - * sysdeps/ieee754/ldbl-96/e_hypotl.c: ...here. - * sysdeps/libm-ieee754/e_remainderl.c: Moved to ... - * sysdeps/ieee754/ldbl-96/e_remainderl.c: ...here. - * sysdeps/libm-ieee754/e_sinhl.c: Moved to ... - * sysdeps/ieee754/ldbl-96/e_sinhl.c: ...here. - * sysdeps/libm-ieee754/s_asinhl.c: Moved to ... - * sysdeps/ieee754/ldbl-96/s_asinhl.c: ...here. - * sysdeps/libm-ieee754/s_cbrtl.c: Moved to ... - * sysdeps/ieee754/ldbl-96/s_cbrtl.c: ...here. - * sysdeps/libm-ieee754/s_ceill.c: Moved to ... - * sysdeps/ieee754/ldbl-96/s_ceill.c: ...here. - * sysdeps/libm-ieee754/s_copysignl.c: Moved to ... - * sysdeps/ieee754/ldbl-96/s_copysignl.c: ...here. - * sysdeps/libm-ieee754/s_cosl.c: Moved to ... - * sysdeps/ieee754/ldbl-96/s_cosl.c: ...here. - * sysdeps/libm-ieee754/s_fabsl.c: Moved to ... - * sysdeps/ieee754/ldbl-96/s_fabsl.c: ...here. - * sysdeps/libm-ieee754/s_finitel.c: Moved to ... - * sysdeps/ieee754/ldbl-96/s_finitel.c: ...here. - * sysdeps/libm-ieee754/s_floorl.c: Moved to ... - * sysdeps/ieee754/ldbl-96/s_floorl.c: ...here. - * sysdeps/libm-ieee754/s_fpclassifyl.c: Moved to ... - * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: ...here. - * sysdeps/libm-ieee754/s_frexpl.c: Moved to ... - * sysdeps/ieee754/ldbl-96/s_frexpl.c: ...here. - * sysdeps/libm-ieee754/s_ilogbl.c: Moved to ... - * sysdeps/ieee754/ldbl-96/s_ilogbl.c: ...here. - * sysdeps/libm-ieee754/s_llrintl.c: Moved to ... - * sysdeps/ieee754/ldbl-96/s_llrintl.c: ...here. - * sysdeps/libm-ieee754/s_llroundl.c: Moved to ... - * sysdeps/ieee754/ldbl-96/s_llroundl.c: ...here. - * sysdeps/libm-ieee754/s_logbl.c: Moved to ... - * sysdeps/ieee754/ldbl-96/s_logbl.c: ...here. - * sysdeps/libm-ieee754/s_lrintl.c: Moved to ... - * sysdeps/ieee754/ldbl-96/s_lrintl.c: ...here. - * sysdeps/libm-ieee754/s_lroundl.c: Moved to ... - * sysdeps/ieee754/ldbl-96/s_lroundl.c: ...here. - * sysdeps/libm-ieee754/s_modfl.c: Moved to ... - * sysdeps/ieee754/ldbl-96/s_modfl.c: ...here. - (__modfl): IEEE 854 long doubles should use SET_LDOUBLE_WORDS, not - INSERT_WORDS. - * sysdeps/libm-ieee754/s_nearbyintl.c: Moved to ... - * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: ...here. - (__nearbyintl): Fix for exponents 2^30. - * sysdeps/libm-ieee754/s_remquol.c: Moved to ... - * sysdeps/ieee754/ldbl-96/s_remquol.c: ...here. - * sysdeps/libm-ieee754/s_rintl.c: Moved to ... - * sysdeps/ieee754/ldbl-96/s_rintl.c: ...here. - (__rintl): Fix for exponents 2^30. - * sysdeps/libm-ieee754/s_roundl.c: Moved to ... - * sysdeps/ieee754/ldbl-96/s_roundl.c: ...here. - * sysdeps/libm-ieee754/s_scalbnl.c: Moved to ... - * sysdeps/ieee754/ldbl-96/s_scalbnl.c: ...here. - (__scalbnl): Fix exponent for subnormal result. - * sysdeps/libm-ieee754/s_signbitl.c: Moved to ... - * sysdeps/ieee754/ldbl-96/s_signbitl.c: ...here. - * sysdeps/libm-ieee754/s_sincosl.c: Moved to ... - * sysdeps/ieee754/ldbl-96/s_sincosl.c: ...here. - * sysdeps/libm-ieee754/s_sinl.c: Moved to ... - * sysdeps/ieee754/ldbl-96/s_sinl.c: ...here. - * sysdeps/libm-ieee754/s_tanhl.c: Moved to ... - * sysdeps/ieee754/ldbl-96/s_tanhl.c: ...here. - * sysdeps/libm-ieee754/s_tanl.c: Moved to ... - * sysdeps/ieee754/ldbl-96/s_tanl.c: ...here. - * sysdeps/libm-ieee754/s_truncl.c: Moved to ... - * sysdeps/ieee754/ldbl-96/s_truncl.c: ...here. - * sysdeps/libm-ieee754/w_expl.c: Moved to ... - * sysdeps/ieee754/ldbl-96/w_expl.c: ...here. - * sysdeps/libm-i387/i686/s_fminl.S: Moved to ... - * sysdeps/i386/i686/fpu/s_fminl.S: ...here. - * sysdeps/libm-i387/s_scalblnf.c: Moved to ... - * sysdeps/i386/fpu/s_scalblnf.c: ...here. - * sysdeps/libm-ieee754/s_scalblnf.c: Moved to ... - * sysdeps/ieee754/flt-32/s_scalblnf.c: ...here. - * sysdeps/libm-i387/i686/s_fdiml.S: Moved to ... - * sysdeps/i386/i686/fpu/s_fdiml.S: ...here. - * sysdeps/libm-i387/e_rem_pio2f.c: Moved to ... - * sysdeps/i386/fpu/e_rem_pio2f.c: ...here. - * sysdeps/libm-ieee754/e_rem_pio2f.c: Moved to ... - * sysdeps/ieee754/flt-32/e_rem_pio2f.c: ...here. - * sysdeps/libm-i387/i686/s_fmin.S: Moved to ... - * sysdeps/i386/i686/fpu/s_fmin.S: ...here. - * sysdeps/libm-i387/k_rem_pio2.c: Moved to ... - * sysdeps/i386/fpu/k_rem_pio2.c: ...here. - * sysdeps/libm-ieee754/k_rem_pio2.c: Moved to ... - * sysdeps/ieee754/dbl-64/k_rem_pio2.c: ...here. - * sysdeps/libm-i387/k_rem_pio2f.c: Moved to ... - * sysdeps/i386/fpu/k_rem_pio2f.c: ...here. - * sysdeps/libm-ieee754/k_rem_pio2f.c: Moved to ... - * sysdeps/ieee754/flt-32/k_rem_pio2f.c: ...here. - * sysdeps/libm-i387/s_scalbln.c: Moved to ... - * sysdeps/i386/fpu/s_scalbln.c: ...here. - * sysdeps/libm-ieee754/s_scalbln.c: Moved to ... - * sysdeps/ieee754/dbl-64/s_scalbln.c: ...here. - * sysdeps/libm-i387/i686/s_fmax.S: Moved to ... - * sysdeps/i386/i686/fpu/s_fmax.S: ...here. - * sysdeps/libm-i387/t_exp.c: Moved to ... - * sysdeps/i386/fpu/t_exp.c: ...here. - * sysdeps/libm-ieee754/t_exp.c: Moved to ... - * sysdeps/ieee754/dbl-64/t_exp.c: ...here. - * sysdeps/libm-i387/e_rem_pio2.c: Moved to ... - * sysdeps/i386/fpu/e_rem_pio2.c: ...here. - * sysdeps/libm-ieee754/e_rem_pio2.c: Moved to ... - * sysdeps/ieee754/dbl-64/e_rem_pio2.c: ...here. - * sysdeps/libm-i387/s_isinfl.c: Moved to ... - * sysdeps/i386/fpu/s_isinfl.c: ...here. - * sysdeps/libm-ieee754/s_isinfl.c: Moved to ... - * sysdeps/ieee754/ldbl-96/s_isinfl.c: ...here. - * sysdeps/libm-i387/s_scalblnl.c: Moved to ... - * sysdeps/i386/fpu/s_scalblnl.c: ...here. - * sysdeps/libm-ieee754/s_scalblnl.c: Moved to ... - * sysdeps/ieee754/ldbl-96/s_scalblnl.c: ...here. - Fix exponent for subnormal result. - * sysdeps/libm-ieee754/s_nexttowardl.c: Moved to ... - * sysdeps/generic/s_nexttowardl.c: ...here. - * sysdeps/libm-i387/i686/s_fmaxf.S: Moved to ... - * sysdeps/i386/i686/fpu/s_fmaxf.S: ...here. - * sysdeps/libm-i387/s_isnanl.c: Moved to ... - * sysdeps/i386/fpu/s_isnanl.c: ...here. - * sysdeps/libm-ieee754/s_isnanl.c: Moved to ... - * sysdeps/ieee754/ldbl-96/s_isnanl.c: ...here. - Comment above function says it returns 0 or 1, but it used to return - 0 or -1. - * sysdeps/libm-i387/i686/s_fminf.S: Moved to ... - * sysdeps/i386/i686/fpu/s_fminf.S: ...here. - * sysdeps/libm-i387/i686/s_fdim.S: Moved to ... - * sysdeps/i386/i686/fpu/s_fdim.S: ...here. - * sysdeps/libm-i387/i686/s_fdimf.S: Moved to ... - * sysdeps/i386/i686/fpu/s_fdimf.S: ...here. - * sysdeps/libm-i387/i686/s_fmaxl.S: Moved to ... - * sysdeps/i386/i686/fpu/s_fmaxl.S: ...here. - * sysdeps/libm-ieee754/s_nexttoward.c: Moved to ... - * sysdeps/ieee754/ldbl-96/s_nexttoward.c: ...here. - Cannot compare exponents with different biases without adjusting. - * sysdeps/libm-ieee754/s_nexttowardf.c: Moved to ... - * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: ...here. - Cannot compare exponents with different biases without adjusting. - * sysdeps/libm-i387/s_nextafterl.c: Moved to ... - * sysdeps/i386/fpu/s_nextafterl.c: ...here. - * sysdeps/libm-ieee754/s_nextafterl.c: Moved to ... - * sysdeps/ieee754/ldbl-96/s_nextafterl.c: ...here. - * sysdeps/ieee754/ldbl2mpn.c: Moved to ... - * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: ...here. - Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file. - * sysdeps/ieee754/mpn2ldbl.c: Moved to ... - * sysdeps/ieee754/ldbl-96/mpn2ldbl.c: ...here. - Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file. - * sysdeps/libm-ieee754/Dist: Split into ... - * sysdeps/ieee754/dbl-64/Dist: ...this and ... - * sysdeps/ieee754/flt-32/Dist: ...this file. - - * sysdeps/ieee754/dbl-64/s_nexttoward.c: New file. - * sysdeps/ieee754/dbl-64/mpn2ldbl.c: New file. - * sysdeps/ieee754/ldbl-96/math_ldbl.h: New file. - * sysdeps/ieee754/ldbl-96/strtold.c: New file. - * sysdeps/ieee754/ldbl-96/printf_fphex.c: New file. - * sysdeps/ieee754/ldbl-128/s_sinl.c: New file. - * sysdeps/ieee754/ldbl-128/s_ceill.c: New file. - * sysdeps/ieee754/ldbl-128/e_remainderl.c: New file. - * sysdeps/ieee754/ldbl-128/ieee754.h: New file. - * sysdeps/ieee754/ldbl-128/e_atan2l.c: New file. - * sysdeps/ieee754/ldbl-128/s_finitel.c: New file. - * sysdeps/ieee754/ldbl-128/s_roundl.c: New file. - * sysdeps/ieee754/ldbl-128/s_llrintl.c: New file. - * sysdeps/ieee754/ldbl-128/e_gammal_r.c: New file. - * sysdeps/ieee754/ldbl-128/s_llroundl.c: New file. - * sysdeps/ieee754/ldbl-128/s_sincosl.c: New file. - * sysdeps/ieee754/ldbl-128/s_cosl.c: New file. - * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: New file. - * sysdeps/ieee754/ldbl-128/s_ilogbl.c: New file. - * sysdeps/ieee754/ldbl-128/s_floorl.c: New file. - * sysdeps/ieee754/ldbl-128/s_logbl.c: New file. - * sysdeps/ieee754/ldbl-128/s_scalbnl.c: New file. - * sysdeps/ieee754/ldbl-128/s_remquol.c: New file. - * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: New file. - * sysdeps/ieee754/ldbl-128/s_tanl.c: New file. - * sysdeps/ieee754/ldbl-128/s_rintl.c: New file. - * sysdeps/ieee754/ldbl-128/e_acoshl.c: New file. - * sysdeps/ieee754/ldbl-128/s_lroundl.c: New file. - * sysdeps/ieee754/ldbl-128/s_signbitl.c: New file. - * sysdeps/ieee754/ldbl-128/s_copysignl.c: New file. - * sysdeps/ieee754/ldbl-128/s_fabsl.c: New file. - * sysdeps/ieee754/ldbl-128/s_frexpl.c: New file. - * sysdeps/ieee754/ldbl-128/s_truncl.c: New file. - * sysdeps/ieee754/ldbl-128/s_modfl.c: New file. - * sysdeps/ieee754/ldbl-128/s_lrintl.c: New file. - * sysdeps/ieee754/ldbl-128/s_isinfl.c: New file. - * sysdeps/ieee754/ldbl-128/s_scalblnl.c: New file. - * sysdeps/ieee754/ldbl-128/e_fmodl.c: New file. - * sysdeps/ieee754/ldbl-128/s_isnanl.c: New file. - * sysdeps/ieee754/ldbl-128/math_ldbl.h: New file. - * sysdeps/ieee754/ldbl-128/strtold.c: New file. - * sysdeps/ieee754/ldbl-128/s_nextafterl.c: New file. - * sysdeps/ieee754/ldbl-128/s_nexttoward.c: New file. - * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: New file. - * sysdeps/ieee754/ldbl-128/printf_fphex.c: New file. - * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: New file. - * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: New file. - - * sysdeps/generic/math_ldbl.h: New file. - * sysdeps/generic/s_nexttowardf.c: New file. - * sysdeps/generic/strtold.c: New file. - * sysdeps/generic/ldbl2mpn.c: New file. - - * math/machine/endian.h: Remove. - * sysdeps/i386/fpu/Implies: Remove. - * sysdeps/ieee754/Implies: Remove. - - * math/math_private.h: Move long double macros to math_ldbl.h - header. - -1999-07-12 Ulrich Drepper - - * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive - connections without a hostname set address to localhost address. - -1999-07-11 H.J. Lu - - * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get - nscd's own strong version of the get[a-z]*_r function. - * nscd/hstcache.c: Likewise. - * nscd/pwdcache.c: Likewise. - -1999-07-12 Ulrich Drepper - - * configure.in: Recognize 2.95 as gcc version number. - Patch by Joel Klecker . - -1999-07-12 Andreas Schwab - - * elf/rtld.c (dl_main): When putting back the interpreter object - handle the case where a missing object might occur in the list of - objects but not in the search list when in trace mode. - -1999-07-11 Ulrich Drepper - - * Versions.def (libnss_hesiod): Add GLIBC_2.2. - * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add - _nss_hesiod_initgroups. - -1999-07-11 Roland McGrath - - * sysdeps/mach/hurd/brk.c (static_data_start): New variable. - (_hurd_set_brk, init_brk): Use that instead of &__data_start. - Initialize it from &__data_start if defined, or else &_end. - -1999-07-11 Roland McGrath - - * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate - for MAP_ANON, prot==PROT_READ|PROT_WRITE. - -1999-07-09 Ulrich Drepper - - * stdio-common/vfprintf.c (buffered_vfprintf): Add locking. - -1999-07-09 H.J. Lu - - * Versions.def (GLIBC_2.1.2): Added. - - * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the - old one as GLIBC_2.0. - * nss/getXXbyYY_r.c: Likewise. - - * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to - GLIBC_2.1.2. - * inet/Versions (getaliasbyname_r, getaliasent_r, - gethostbyaddr_r, gethostbyname2_r, gethostbyname_r, - gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r, - getnetgrent_r, getprotobyname_r, getprotobynumber_r, - getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r, - getservbyname_r): Likewise. - * pwd/Versions (getpwent_r, getpwuid_r): Likewise. - * shadow/Versions (getspent_r, getspnam_r): Likewise. - -1999-07-09 Ulrich Drepper - - * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old - compilers. - (__memset_cc): Likewise. - - * sysdeps/generic/libc-start.c: For SUID binaries check whether - the standard file descriptors are open. - Reported by Chris Evans . - - * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap. - * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in - range of mmap. If not fail. - Patches by Daniel Jacobowitz . - - * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage - before the relocation happened. - Patch by Franz Sirl . - - * Versions.def (libnsl): Add GLIBC_2.2. - * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall. - -1999-07-08 Cristian Gafton - - * nis/yp_xdr.c (xdr_ypall): New function. - -1999-07-09 Andreas Schwab - - * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h. - - * dlfcn/Makefile (headers): Add bits/dlfcn.h. - -1999-07-09 Ulrich Drepper - - * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups. - * hesiod/hesiod-grp.c: Add initgroups support. - Patch by Nalin Dahyabhai . - -1999-07-08 Andreas Schwab - - * libio/iofopncook.c (fopencookie): Set _fileno to -2. - - * libio/libioP.h (_IO_file_is_open): Only check for -1, not all - negative numbers. - - * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not - EOF. - * libio/oldfileops.c (_IO_old_file_close_it): Likewise. - -1999-07-08 Andreas Schwab - - * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode. - -1999-07-08 Andreas Schwab - - * libio/fileno.c: Return -1 instead of EOF and set errno if the - stream is not a real file stream. - -1999-07-08 Andreas Schwab - - * manual/charset.texi: Fix typos. - -1999-07-07 Ulrich Drepper - - * sysdeps/gnu/Makefile (libdl-routines): Add eval. - -1999-07-06 Zack Weinberg - - * dlfcn: New directory. Move the following files from elf: - dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c, - dlopenold.c, dlsym.c, dlvsym.c. - * dlfcn/Makefile: New file. - * dlfcn/Versions: New file. - * dlfcn/dlsym.c: All ELF-specific code split out to new - function _dl_sym. - * dlfcn/dlvsym.c: All ELF-specific code split out to new - function _dl_vsym. - * elf/dl-sym.c: New file. _dl_sym and _dl_vsym are - implemented here. - - * dlfcn/dladdr.c: Remove all references to ELF data structures - or headers. - * dlfcn/dlclose.c: Likewise. - * dlfcn/dlerror.c: Likewise. - * dlfcn/dlopen.c: Likewise. - * dlfcn/dlopenold.c: Likewise. - - * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is - yes, empty otherwise. - (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes, - depending on build-shared. - (subdirs): Add $(dlfcn). - (rpath-dirs): Add dlfcn. - * elf/Makefile: Remove all references to libdl or its - components, except the ones relating to the test cases. - (routines): Add dl-sym. - * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2. - (libdl): Delete. - - * elf/dl-close.c (_dl_close): Change argument to void *. - * elf/dl-open.c (_dl_open): Change return type to void *. - * elf/eval.c: Removed. - * elf/ldsodefs.h: Move prototypes of _dl_catch_error, - _dlerror_run, _dl_open, _dl_close, _dl_addr, and - _dl_mcount_wrapper_check to include/dlfcn.h. Delete - _CALL_DL_FCT macro. - * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here. - Include real header from dlfcn directory. - * include/ldsodefs.h: Removed. - - * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT. - * nss/getXXbyYY_r.c: Likewise. - * nss/getXXent_r.c: Likewise. - * iconv/gconv.c: Likewise. Don't include ldsodefs.h. - * iconv/gconv_db.c: Likewise. Don't include ldsodefs.h. - * iconv/skeleton.c: Don't include ldsodefs.h. - * nss/nsswitch.h: Don't include ldsodefs.h. Include dlfcn.h. - -1999-07-07 Ulrich Drepper - - * sysdeps/generic/setenv.c: Describe problem. - - * malloc/malloc.c (request2size): Also set errno if failing. - - * malloc/malloc.c (request2size): Take care of overflow in - addition. - - * sysdeps/posix/getcwd.c: Correct last patch. Handle getcwd - (NULL, != 0) correctly. - - * elf/dl-load.c: Use a few more __builtin_expect. - - * sysdeps/posix/getcwd.c: When resizing buffer make sure new size - is large enough. - -1999-07-07 Andreas Schwab - - * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted. - (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions. - (_PATH_DEVPTMX): Use _PATH_DEV. - -1999-07-07 Andreas Jaeger - - * malloc/tst-malloc.c: New file. Tests some basic functionality. - * malloc/Makefile (tests): Add tst-malloc. - -1999-07-06 Ulrich Drepper - - * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new - convention. - - * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more - motherboards. - Patch by Jay Estabrook. - - * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in - ldd for SPARC. - * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file. - Patch by Cristian Gafton. - -1999-07-02 Cristian Gafton - - * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0" - instead of "return NULL" to make C++ happy. - -1999-07-04 Mark Kettenis - - * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not - allowed by the file access mode of the open file. - -1999-07-06 Ulrich Drepper - - * sysdeps/generic/setfpucw.c: Include math.h to get all needed - macros defined. - -1999-07-03 Jakub Jelinek - - * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize. - * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize. - * sysdeps/sparc/sparc64/rshift.S: Likewise. - * sysdeps/sparc/sparc64/mul_1.S: Optimize. - -1999-07-04 Wolfram Gloger - - * malloc/malloc.c (request2size): Check for overflow and return - NULL whenever it is encountered. - -1999-07-04 Zack Weinberg - - * sysdeps/posix/tempname.c (__gen_tempname): Add - ability to create directories. Replace OPENIT and LARGEFILE - args with a single flags parameter. - * sysdeps/generic/tempname.c: Likewise. - * include/stdio.h: Adjust prototype of __gen_tempname to - match. Define symbolic constants for second argument. - - * misc/mkdtemp.c: New file, provides new function mkdtemp(). - * stdlib/stdlib.h: Prototype it. - * misc/Versions: Export it. - * misc/Makefile (routines): Add mktemp. - * manual/filesys.texi: Document it. - - * misc/mktemp.c: Adjust call of __gen_tempname to match new - convention. - * misc/mkstemp.c: Likewise. - * stdio-common/tempnam.c: Likewise. - * stdio-common/tmpfile.c: Likewise. - * stdio-common/tmpfile64.c: Likewise. - * stdio-common/tmpnam.c: Likewise. - * stdio-common/tmpnam_r.c: Likewise. - -1999-07-05 Jakub Jelinek - - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support - R_SPARC_OLO10 relocations. - * elf/elf.h (R_SPARC_OLO10): Fix comment. - -1999-07-02 Tim Waugh - - * posix/wordexp-test.c: Revert bogus 'unset IFS' change. It - doesn't belong in the tests, but in the wordexp implementation. - - * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't - split fields. - -1999-07-01 Cristian Gafton - - * time/strptime.c (strptime): Initialize the tm struct first to avoid - returning bogus results on incomplete data. - (strptime_internal): day_of_the_week() requres both tm_mon and - tm_mday to be initialized. - Compute them first if they are not given. - (strptime_internal): (have_mon, have_mday): New variables. - -1999-07-01 Andreas Jaeger - - * inet/rcmd.c (__icheckhost): Fix typo in last patch. - -1999-07-01 Andreas Jaeger - - * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon. - * wcsmbs/wcsrchr.c (wcsrchr): Likewise. - -1999-07-01 Andreas Jaeger - - * posix/wordexp.c (parse_tilde): Handle failing call to - get.*_r functions correctly for non-existing entry. - * sysdeps/posix/cuserid.c (cuserid): Likewise. - * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise. - -1999-06-30 Ulrich Drepper - - * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to - getxxbyYY_r functions correctly for non-existing entry. - * sunrpc/getrpcport.c: Likewise. - * sunrpc/clnt_simp.c: Likewise. - * inet/rexec.c: Likewise. - * sunrpc/clnt_gen.c: Likewise. - * inet/rcmd.c: Likewise. - * sysdeps/generic/glob.c: Likewise. - -1999-06-29 Andreas Jaeger - - * pwd/Makefile (tests): Add rules for tst-getpw. - - * pwd/tst-getpw.c: New program to test getpw. - -1999-06-28 Andreas Jaeger - - * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result - correctly. - -1999-06-25 Andreas Jaeger - - * manual/arith.texi (System V Number Conversion): Fix the - description which confused pointer and value to pointer. - Reported by Andries.Brouwer@cwi.nl. - -1999-06-28 Andreas Jaeger - - * pwd/getpw.c (__getpw): Check for NULL result pointer. - -1999-06-29 Andreas Jaeger - - * manual/users.texi (Lookup User): Document POSIX return - semantics for getpwuid_r and getgrgid_r. - - * manual/socket.texi (Host Names): Document that the result - pointer is null in case of error or host not found and fix a - typo. Give a small example. - -1999-06-30 Ulrich Drepper - - * pwd/getpw.c: Add warning since no buffer size is given and - therefore no overrun tests are possible. - -1999-06-30 Andreas Jaeger - - * pwd/pwd.h: Add getpw prototype declaration. - -1999-06-30 Ulrich Drepper - - * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter. - * wcsmbs/wcschr.c: Likewise. - -1999-06-28 Ulrich Drepper - - * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN - returns. - * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise. - * sysdeps/libm-ieee754/e_gammal_r.c: Likewise. - Reported by John Reiser [PR libc/1185]. - - * elf/dl-dst.h: Fix typo. - * elf/dl-open.c: Likewise. - -1999-06-26 Zack Weinberg - - * elf/dl-libc.c: New file, provides three functions: - __libc_dlopen, __libc_dlclose, __libc_dlsym. - * include/dlfcn.h: Prototype them. Prototype _dl_addr. - * elf/Makefile (routines): Add dl-libc.c. - * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of - argument to void *. - * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match. - - * iconv/gconv.c: Include dlfcn.h. - * iconv/gconv_db.c: Likewise. - * malloc/mtrace.c: Likewise. Don't include ldsodefs.h. - - * iconv/gconv_int.h (struct __gconv_loaded_object): Change - `handle' to a void *. - (__gconv_find_func): Delete prototype. - - * iconv/gconv_dl.c: Don't include ldsodefs.h. Remove - dlerror_run and related functions and structs. Use - __libc_dlopen, __libc_dlsym, __libc_dlclose. - * nss/nsswitch.c: Likewise. - -1999-06-28 Ulrich Drepper - - * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r - function correctly. - - * sunrpc/getrpcport.c: Test for gethostbyname_r function - correctly. - - * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly. - - * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r - functions correctly. - - * inet/rexec.c (rexec): Test for gethostbyname_r result correctly. - - * inet/rcmd.c: Test for gethostbyname_r result correctly. Optimize - file reading a bit. - - * sysdeps/generic/glob.c: Test for getpwnam_r result correctly. - -1999-06-28 Andreas Jaeger - - * manual/string.texi (Copying and Concatenation): Mention that - strndup is a GNU extension. - -1999-06-28 Andreas Jaeger - - * pwd/getpw.c (__getpw): Fix check for error return. - -1999-06-25 Andreas Schwab - - * elf/dl-deps.c (_dl_map_object_deps): When looking for the next - occurence of the aux object start with the current list entry, not - the new one. Adjust tail pointer in the unique list. Explain how - the meaning of the variables changes [PR libc/1168]. - -1999-06-27 Andreas Schwab - - * sysdeps/m68k/fpu/Dist: New file. - -1999-06-26 Andreas Schwab - - * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal - definitions... - * sysdeps/m68k/fpu/mathimpl.h: ... here. New file. - * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h". - * sysdeps/m68k/fpu/e_atan2.c: Likewise. - * sysdeps/m68k/fpu/e_fmod.c: Likewise. - * sysdeps/m68k/fpu/e_pow.c: Likewise. - * sysdeps/m68k/fpu/e_scalb.c: Likewise. - * sysdeps/m68k/fpu/s_ccos.c: Likewise. - * sysdeps/m68k/fpu/s_ccosh.c: Likewise. - * sysdeps/m68k/fpu/s_cexp.c: Likewise. - * sysdeps/m68k/fpu/s_csin.c: Likewise. - * sysdeps/m68k/fpu/s_csinh.c: Likewise. - * sysdeps/m68k/fpu/s_ilogb.c: Likewise. - * sysdeps/m68k/fpu/s_llrint.c: Likewise. - * sysdeps/m68k/fpu/s_llrintf.c: Likewise. - * sysdeps/m68k/fpu/s_llrintl.c: Likewise. - * sysdeps/m68k/fpu/s_modf.c: Likewise. - -1999-06-25 Roland McGrath - - * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h, - hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of - _EXTERN_INLINE, use a macro specific to each file, - _HURD_FD_H_EXTERN_INLINE and the like. - * hurd/Makefile (inline-headers): New variable. - (routines): Remove hurdinline. Add $(inlines). - (inlines): New variable. - ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them. - (generated): Append those here. - * hurd/hurdinline.c: File removed. - - * sysdeps/generic/glob64.c: Include for NULL. - - * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy. - -1999-06-25 Andreas Jaeger - - * nscd/connections.c (nscd_run): Use correct type for optlen variable. - -1999-06-25 Ulrich Drepper - - * string/bits/string2.h (strnlen): Remove extra prototype. - -1999-06-25 Andreas Jaeger - - * manual/filesys.texi (Working on Directory Trees): Fix typos. - Reported by Andries.Brouwer@cwi.nl. - -1999-06-24 Ulrich Drepper - - * nscd/connections.c (handle_request): Use correct type for optlen - variable. - - * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16. - * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r. - -1999-06-24 Thorsten Kukuk - - * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer. - * nscd/pwdcache.c: Likewise. - * nscd/hstcache.c: Likewise. - -1999-06-23 Ulrich Drepper - - * sysdeps/generic/fpu_control.c: Include math.h for __P definition. - - * posix/getopt.h: Include stdio.h. - - * manual/arith.texi: Document restriction of ndigit parameter of - ecvt and friends. - * misc/efgcvt.c: Define NDIGIT_MAX. - (gcvt): Limit precision in sprintf call to NDIGIT_MAX. - Do not dynamically allocate the static buffers. They are small enough. - * misc/efgcvt_r.c: Define NDIGIT_MAX. - (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX. - * misc/qefgcvt.c: Define NDIGIT_MAX. - * misc/qefgcvt_r.c: Likewise. - * misc/tst-efgcvt.c (special): Add test for large ndigit parameter. - -1999-06-23 Zack Weinberg - - * libio/stdio.h: Define stdin, stdout, stderr as macros. - * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}. - These are *pragmas* not macros. - * wcsmbs/wchar.h: Fix comment. - - * grp/grp.h: Use __foo_t_defined convention to typedef things - only once. - * io/sys/stat.h: Likewise. - * libio/stdio.h: Likewise. - * posix/unistd.h: Likewise. - * posix/sys/types.h: Likewise. - * posix/sys/wait.h: Likewise. - * pwd/pwd.h: Likewise. - * signal/signal.h: Likewise. - * sysdeps/generic/stdint.h: Likewise. - * sysdeps/gnu/utmpx.h: Likewise. - * termios/termios.h: Likewise. - -1999-06-23 Ulrich Drepper - - * stdio/fputc.c: Don't define alias if fputc is defined as a - macro. - * stdio/putc.c: Define weak alias here since it is not done - anymore in fputc.c. - -1999-06-23 Andreas Schwab - - * assert/assert.h: Don't produce `defined' as part of macro - expansion. - -1999-06-23 Roland McGrath - - * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with - OFFSET argument of (off_t) -1. - * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with - OFFSET argument of (off_t) -1. - - * sysdeps/mach/hurd/pwrite.c: New file. - * sysdeps/mach/hurd/pread.c: New file. - - * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and - pass it in the RPC instead of always -1. - * hurd/fd-write.c (_hurd_fd_write): Likewise. - * hurd/hurd/fd.h: Update decls. - -1999-06-22 Andreas Jaeger - - * libio/wscanf.c: Include for prototype. - -1999-06-22 Ulrich Drepper - - * manual/io.texi. Fix typos. - * manual/stdio.texi: Likewise. - Patches by Brian Youmans <3diff@gnu.org>. - -1999-06-22 Geoff Keating - - * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high - bits of two words differ. - -1999-06-21 Andreas Schwab - - * libio/Makefile (routines): Add putwchar and putwchar_u. - - * libio/putwchar.c: Include instead of "stdio.h". - * libio/putwchar_u.c: Likewise. Use _IO_stdout instead of - stdout. Fix parameter name. - - * libio/getchar.c: Consistently use _IO_stdin instead of stdin. - * libio/getchar_u.c: Likewise. - - * libio/putchar_u.c: Use _IO_stdout instead of stdout. - -1999-06-21 Andreas Schwab - - * include/features.h (__GNUC_PREREQ): Don't generate `defined' via - macro expansion---it's undefined. Properly parenthesize - substituted parameters. - (__GLIBC_PREREQ): Likewise. - -1999-06-21 Ulrich Drepper - - * Makeconfig (CPPFLAGS): Revert last change. It has too many - weird effects. - - * stdlib/longlong.h: Provide __P definition if not already - defined. - - * include/wchar.h: Use __gnuc_va_list not va_list in prototype. - -1999-06-18 Thorsten Kukuk - - * sysdeps/alpha/atomicity.h: Correct counting of subsections. - -1999-06-17 Andreas Schwab - - * stdlib/tst-strtoll.c: Avoid warning about huge constant. - -1999-06-20 Andreas Schwab - - * stdio-common/vfprintf.c (group_member): Make parameters and - return types pointers to CHAR_T instead of UCHAR_T. - (vfprintf): Change type of work_buffer, workend and string to - CHAR_T pointer/array. - (process_arg, process_string_arg): Adjust/remove casts. Add - missing use of L_ macro. - (printf_unknown): Add missing uses of L_ macro. - -1999-06-20 Andreas Schwab - - * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid - warning. - -1999-06-20 Andreas Schwab - - * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF. Call - _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode. - (__wunderflow): Likewise. - (_IO_switch_to_wget_mode): Likewise. - (_IO_init_wmarker): Likewise. - - * libio/wfileops.c (_IO_wfile_seekoff): Call - _IO_switch_to_wget_mode, not _IO_switch_to_get_mode. - (_IO_wfile_jumps): Fix pbackfail entry. - - * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf - function if the stream is currently unoriented. - -1999-06-19 Zack Weinberg - - * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h. - Wrap all wide stream functions with #ifdef __USE_ISOC9X. Use - __gnuc_va_list in v*w(printf|scanf) prototypes. - -1999-06-20 Andreas Jaeger - - * libio/oldiopopen.c (_IO_old_proc_open): Apply change from - 1999-03-29 to iopopen also here. - Reported by Richard Braakman . - -1999-06-20 Andreas Jaeger - - * include/features.h: Use __GNUC_PREREQ. - * sysdeps/i386/fpu/bits/mathinline.h: Likewise. - -1999-06-19 Andreas Schwab - - * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]: - Change EOF to WEOF and remove cast. - (UNGETC): Remove macro. - (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc. - * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]: - Change ISASCII to isascii and MBRLEN to mbrlen. - (parse_one_spec): Compare info.spec always against wchar_t - values. - * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN. - (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument. - (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_. - -1999-06-19 Andreas Schwab - - * libio/Makefile (shared-only-routines): Add oldiofgetpos, - oldiofgetpos64, oldiofsetpos and oldiofsetpos64. - (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and - oldiofsetpos64 only if doing versioning. - -1999-06-20 Ulrich Drepper - - * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x. - -1999-06-20 Andreas Jaeger - - * libio/libio.h: Fix last patch. - -1999-06-20 Ulrich Drepper - - * libio/libio.h (_IO_putwc): Correct type of first argument. - * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked, - putwc_unlocked, putwchar_unlocked): Likewise. - * libio/fputwc.c: Likewise. - * libio/fputwc_unlocked.c: Likewise. - * libio/putwc.c: Likewise. - * libio/putwc_unlocked.c: Likewise. - * libio/putwchar.c: Likewise. - * libio/putwchar_unlocked.c: Likewise. - -1999-06-19 Roland McGrath - - * sysdeps/gnu/siglist.h: File moved to ... - * sysdeps/generic/siglist.h: ... here. This file should be usable for - any platform, since it just associates the SIG* macros with text names - and descriptions. For any signal macros do not exist on every - platform, we can use #ifdef tests here and still use this single - common file for all platforms. - * sysdeps/generic/siglist.c: Rewrite using . This file - should be usable for all platforms after the binary compatibility - stuff in the current sysdeps/gnu version is no longer required. - * sysdeps/generic/Makefile: Remove rules for generating siglist.c. - * sysdeps/generic/make_siglist.c: File removed. - * sysdeps/mach/hurd/siglist.h: Use #include_next. - * sysdeps/unix/sysv/linux/siglist.h: Likewise. - -1999-06-16 Roland McGrath - - * sysdeps/unix/sysv/linux/siglist.c: Moved to ... - * sysdeps/gnu/siglist.c: ... here. - Use instead of "siglist.h", to ensure sysdeps-search. - Use instead of to determine PTR_SIZE_STR. - * sysdeps/gnu/siglist.h: New file, contents from linux version. - Add entry for SIGLOST protected by #ifdef. - * sysdeps/unix/sysv/linux/siglist.h: Just #include that file, - and define OLD_SIGLIST_SIZE_STR. - * sysdeps/mach/hurd/siglist.h: New file, likewise. - -1999-06-18 Zack Weinberg - - * include/features.h: Define new macros __GNUC_PREREQ and - __GLIBC_PREREQ which can be used to test the version of gcc - and glibc respectively. - - * assert/assert.h: Use __GNUC_PREREQ. - * intl/libintl.h: Likewise. - * math/complex.h: Likewise. - * math/tgmath.h: Likewise. - * misc/sys/cdefs.h: Likewise. - * posix/sys/types.h: Likewise. - * socket/sys/socket.h: Likewise. - * string/bits/string2.h: Likewise. - * sysdeps/alpha/fpu/bits/mathinline.h: Likewise. - * sysdeps/i386/fpu/bits/mathinline.h: Likewise. - -1999-06-18 Zack Weinberg - - * include/libintl.h: Declare _libc_intl_domainname here. - Define _ and N_ here. - * include/libc-symbols.h: Don't include . Don't - define _ and N_. Don't declare _libc_intl_domainname. - * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h. - - * db2/config.h: Don't include sys/stat.h or define - HAVE_ST_BLKSIZE here... - * db2/compat.h: ...do it here. - - * linuxthreads/internals.h: Include bits/libc-tsd.h after all - other headers. - * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P. - * iconv/iconv.c: Include stddef.h for NULL. - * malloc/malloc.h: Include features.h. - * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t. - - * sysdeps/unix/make_errlist.c: Write an "#include " - into the generated file. - * sysdeps/gnu/errlist.awk: Likewise. - * sysdeps/gnu/errlist.c: Rebuilt. - - * assert/assert-perr.c: Include libintl.h. - * assert/assert.c: Likewise. - * elf/dl-open.c: Likewise. + * elf/dl-version.c: Likewise. * elf/dlsym.c: Likewise. * elf/dlvsym.c: Likewise. - * iconv/iconv_prog.c: Likewise. - * inet/rcmd.c: Likewise. - * inet/ruserpass.c: Likewise. - * locale/programs/charset.c: Likewise. - * locale/programs/ld-collate.c: Likewise. - * locale/programs/ld-ctype.c: Likewise. - * locale/programs/ld-messages.c: Likewise. - * locale/programs/ld-monetary.c: Likewise. - * locale/programs/ld-numeric.c: Likewise. - * locale/programs/ld-time.c: Likewise. - * locale/programs/locfile.c: Likewise. - * locale/programs/repertoire.c: Likewise. - * login/programs/database.c: Likewise. - * login/programs/request.c: Likewise. - * malloc/mcheck.c: Likewise. - * misc/error.c: Likewise. - * nis/nis_call.c: Likewise. - * nis/nis_callback.c: Likewise. - * nis/nis_error.c: Likewise. - * nis/nis_local_names.c: Likewise. - * nis/nis_print.c: Likewise. - * nis/nis_print_group_entry.c: Likewise. - * nis/ypclnt.c: Likewise. - * nis/nss_nisplus/nisplus-publickey.c: Likewise. - * nscd/cache.c: Likewise. - * nscd/connections.c: Likewise. - * nscd/grpcache.c: Likewise. - * nscd/hstcache.c: Likewise. - * nscd/nscd_conf.c: Likewise. - * nscd/nscd_stat.c: Likewise. - * nscd/pwdcache.c: Likewise. - * posix/id.c: Likewise. - * resolv/herror.c: Likewise. - * stdio-common/psignal.c: Likewise. - * string/strsignal.c: Likewise. - * sunrpc/auth_unix.c: Likewise. - * sunrpc/clnt_perr.c: Likewise. - * sunrpc/clnt_raw.c: Likewise. - * sunrpc/clnt_tcp.c: Likewise. - * sunrpc/clnt_udp.c: Likewise. - * sunrpc/clnt_unix.c: Likewise. - * sunrpc/get_myaddr.c: Likewise. - * sunrpc/pm_getmaps.c: Likewise. - * sunrpc/pmap_clnt.c: Likewise. - * sunrpc/pmap_rmt.c: Likewise. - * sunrpc/rpc_main.c: Likewise. - * sunrpc/rpc_scan.c: Likewise. - * sunrpc/svc_run.c: Likewise. - * sunrpc/svc_simple.c: Likewise. - * sunrpc/svc_tcp.c: Likewise. - * sunrpc/svc_udp.c: Likewise. - * sunrpc/svc_unix.c: Likewise. - * sunrpc/xdr_rec.c: Likewise. - * sunrpc/xdr_ref.c: Likewise. - * sysdeps/mach/hurd/mips/dl-machine.c: Likewise. - * sysdeps/posix/gai_strerror.c: Likewise. - * sysdeps/unix/siglist.c: Likewise. - * sysdeps/unix/sysv/linux/siglist.c: Likewise. - * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise. - * timezone/zic.c: Likewise. - -1999-06-18 H.J. Lu - - * localedata/Makefile (charmaps): Exclude SCCS. - (locales): Likewise. - (repertoiremaps): Likewise. - -1999-06-18 Ulrich Drepper - - * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h. - * sysdeps/generic/bsd-setjmp.c: Likewise. - - * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments. - - * iconv/gconv_open.c: Include string.h for memset prototype. - - * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro - definitions. - - * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc - assignment to avoid warning on 64bit platforms. - -1999-06-17 Ulrich Drepper - - * libio/libio.h (_IO_codecvt): Change __P ot __PMT. - - * nss/getXXbyYY_r.c: Return error code not -1. - * nss/getXXent_r.c: Likewise. - * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too - small. - * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and - value > 0 for error. - * nscd/nscd_gethst_r.c: Likewise. - * nscd/nscd_getpw_r.c: Likewise. - -1999-06-17 Andreas Jaeger - - * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line - disciplines. - -1999-06-14 Andreas Jaeger - - * nscd/nscd_nischeck.c: Fix typos. - -1999-06-17 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail - always when oact is NULL. - Patch by Christian Meder . - -1999-06-17 Andreas Jaeger - - * math/libm-test.c (jn_test): Adjust delta. - -1999-06-17 Andreas Jaeger - - * libio/vwprintf.c: Include for prototypes. - * libio/wprintf.c: Likewise. - -1999-06-17 Andreas Jaeger - - * elf/dl-load.c (_dl_init_paths): Add one more element to aelem - to not write beyond allocated memory. - Reported by John Reiser , closes PR libc/1167. - -1999-06-17 Ulrich Drepper - - * malloc/mtrace.c: Keep lock while printing output lines. - Patch by carsten.zimmermann@mediaways.net [PR libc/1166]. - -1999-06-16 Ulrich Drepper - - * configure.in: Add warnings about broken code. - - * Versions.def: Add GLIBC_2.2 for libc. - - * iconv/gconv.h: Make header suitable for inclusion in public header - by protecting all names with __. - * iconv/gconv.c: Adapt for symbol name changes. - * iconv/gconv.h: Likewise. - * iconv/gconv_builtin.c: Likewise. - * iconv/gconv_close.c: Likewise. - * iconv/gconv_db.c: Likewise. + * elf/ldsodefs.h: Likewise. + * elf/rtld.c: Likewise. * iconv/gconv_dl.c: Likewise. - * iconv/gconv_int.h: Likewise. - * iconv/gconv_open.c: Likewise. - * iconv/gconv_simple.c: Likewise. - * iconv/iconv.c: Likewise. - * iconv/iconv_close.c: Likewise. - * iconv/iconv_open.c: Likewise. - * iconv/loop.c: Likewise. - * iconv/skeleton.c: Likewise. - * iconvdata/8bit-gap.c: Likewise. - * iconvdata/8bit-generic.c: Likewise. - * iconvdata/ansi_x3.110.c: Likewise. - * iconvdata/big5.c: Likewise. - * iconvdata/cns11643.h: Likewise. - * iconvdata/cns11643l1.h: Likewise. - * iconvdata/euc-cn.c: Likewise. - * iconvdata/euc-jp.c: Likewise. - * iconvdata/euc-kr.c: Likewise. - * iconvdata/euc-tw.c: Likewise. - * iconvdata/gb2312.h: Likewise. - * iconvdata/iso-2022-jp.c: Likewise. - * iconvdata/iso-2022-kr.c: Likewise. - * iconvdata/iso646.c: Likewise. - * iconvdata/iso8859-1.c: Likewise. - * iconvdata/iso_6937-2.c: Likewise. - * iconvdata/iso_6937.c: Likewise. - * iconvdata/jis0201.h: Likewise. - * iconvdata/jis0208.h: Likewise. - * iconvdata/jis0212.h: Likewise. - * iconvdata/johab.c: Likewise. - * iconvdata/ksc5601.h: Likewise. - * iconvdata/sjis.c: Likewise. - * iconvdata/t.61.c: Likewise. - * iconvdata/uhc.c: Likewise. - * stdlib/mblen.c: Likewise. - * stdlib/mbtowc.c: Likewise. - * stdlib/wctomb.c: Likewise. - * wcsmbs/btowc.c: Likewise. - * wcsmbs/mbrtowc.c: Likewise. - * wcsmbs/mbsnrtowcs.c: Likewise. - * wcsmbs/mbsrtowcs.c: Likewise. - * wcsmbs/wchar.h: Likewise. - * wcsmbs/wcrtomb.c: Likewise. - * wcsmbs/wcsmbsload.c: Likewise. - * wcsmbs/wcsmbsload.h: Likewise. - * wcsmbs/wcsnrtombs.c: Likewise. - * wcsmbs/wcsrtombs.c: Likewise. - * wcsmbs/wctob.c: Likewise. - - * include/limits.h (MB_LEN_MAX): Increase to 16. - - * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct. Define - _G_iconv_t. - * sysdeps/unix/sysv/linux/_G_config.h: Likewise. - * include/wchar.h: Change mbstate_t to __mbstate_t. - - * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos, - oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u, - getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u, - iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u, - putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf, - vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops, - and iofwide. - (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf. - * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos, - _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws, - fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked, - fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked, - getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar, - putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf, - vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to - GLIBC_2.2 for libc. - * libio/libio.h: Define codecvt struct. Define _IO_wide_data. - Extend _IO_file contain pointer to codecvt, widedata and mode. - (_IO_getwc_unlocked): New macro. - (_IO_putwc_unlocked): New macro. - (_IO_fwide): New macro. - * libio/libioP.h: Add new prototypes and adjust existing declarations. - * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata - buffers based on mode. - (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide - oriented. - (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING - flag to be enough to signal unallocated buffer. For wide oriented - stream don't make it linebuffered. Don't use _IO_do_flush, use - _IO_new_do_write directly. - (_IO_new_file_seekoff): Change return value type to _IO_off64_t. - (_IO_file_seek): Likewise. - * libio/genops.c (_IO_least_marker): Make global. - (__underflow): Orient stream if not already done. - (__uflow): Likewise. - (_IO_default_seekpos): Change to type _IO_off64_t. - (_IO_default_seekoff): Likewise. - (_IO_default_seek): Likewise. - (_IO_no_init): New function. Similar to _IO_init but allows to orient - in initialization. - * libio/iolibio.h: Add prototype for _IO_vswprintf. Change _IO_pos_BAD - to use _IO_off64_t. - * libio/ftello.c: Use _IO_off_t. For now abort when use with wide - char stream. - * libio/ftello64.c: Likewise. - * libio/ioftell.c: Likewise. - * libio/iofopncook.c: Likewise. - * libio/ioseekoff.c: Likewise. - * libio/ioseekpos.c: Likewise. - * libio/oldfileops.c: Likewise. - * libio/iofgetpos.c: Store state of conversion if necessary. - * libio/iofgetpos64.c: Likewise. - * libio/iofsetpos.c: Restore conversion state if necessary. - * libio/iofsetpos64.c: Likewise. - * libio/iofdopen.c: Initialize so that stream can be wide oriented. - * libio/iofopen.c: Likewise. - * libio/iofopen64.c: Likewise. - * libio/iopopen.c: Likewise. - * libio/iovdprintf.c: Likewise. - * libio/iovsprintf.c: Likewise. - * libio/iovsscanf.c: Likewise. - * libio/memstream.c: Likewise. - * libio/obprintf.c: Likewise. - * libio/iofputs.c: Orient stream if not already happened. - * libio/iofputs_u.c: Likewise. - * libio/iofwrite.c: Likewise. - * libio/iofwrite_u.c: Likewise. - * libio/ioputs.c: Likewise. - * libio/iosetbuffer.c: Handle not yet oriented stream. - * libio/iosetvbuf.c: Likewise. - * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call. - * libio/stdfiles.c: Likewise. - * libio/strops.c (_IO_str_overflow): Correctly free buffer after - failed allocation. - (_IO_str_seekoff): Use _IO_off64_t. - * libio/vasprintf.c: Pre-orient stream. - * libio/vsnprintf.c: Likewise. - * libio/fputwc.c: New file. - * libio/fputwc_u.c: New file. - * libio/fwprintf.c: New file. - * libio/fwscanf.c: New file. - * libio/getwc.c: New file. - * libio/getwc_u.c: New file. - * libio/getwchar.c: New file. - * libio/getwchar_u.c: New file. - * libio/iofgetws.c: New file. - * libio/iofgetws_u.c: New file. - * libio/iofputws.c: New file. - * libio/iofputws_u.c: New file. - * libio/iofwide.c: New file. - * libio/iogetwline.c: New file. - * libio/ioungetwc.c: New file. - * libio/iovswscanf.c: New file. - * libio/iowpadn.c: New file. - * libio/oldiofgetpos.c: New file. - * libio/oldiofgetpos64.c: New file. - * libio/oldiofsetpos.c: New file. - * libio/oldiofsetpos64.c: New file. - * libio/putwc.c: New file. - * libio/putwc_u.c: New file. - * libio/putwchar.c: New file. - * libio/putwchar_u.c: New file. - * libio/swprintf.c: New file. - * libio/swscanf.c: New file. - * libio/tst_swprintf.c: New file. - * libio/tst_swscanf.c: New file. - * libio/tst_wprintf.c: New file. - * libio/tst_wscanf.c: New file. - * libio/tst_wscanf.input: New file. - * libio/vswprintf.c: New file. - * libio/vwprintf.c: New file. - * libio/vwscanf.c: New file. - * libio/wfiledoalloc.c: New file. - * libio/wfileops.c: New file. - * libio/wgenops.c: New file. - * libio/wprintf.c: New file. - * libio/wscanf.c: New file. - * libio/wstrops.c: New file. - * stdio-common/Makefile (routines): Add _itowa, itowa-digits, - vfwprintf, and vfwscanf. - * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and - make global. - * stdio-common/_itowa.c: New file. - * stdio-common/_itowa.h: New file. - * stdio-common/itoa-digits.c: Minimal optimization. - * stdio-common/itowa-digits.c: New file. - * stdio-common/printf-parse.h: Allow use in wide character context. - * stdio-common/printf-prs.c: Define ISASCII and MBRLEN. - * stdio-common/printf.h (printf_info): Add wide bit. - * stdio-common/printf_fp.c: Determine from wide bit whether stream - is wide oriented or not. - * stdio-common/printf_size.c: Likewise. - * sysdeps/generic/printf_fphex.c: Likewise. - * stdlib/strfmon.c: Call __printf_fp with wide bit cleared. - * stdio-common/vfprintf.c: Rewrite to allow use in wide character - context. - * stdio-common/vfscand.c: Likewise. - * stdio-common/vfwprintf.c: New file. - * stdio-common/vfwscanf.c: New file. - - * time/Makefile (routines): Add wcsftime. - (tests): Add tst_wcsftime. - * time/Versions: Add wcsftime to GLIBC_2.2 for libc. - * time/strftime.c: Make usable as wcsftime. - * time/wcsftime.c: New file. - * time/tst_wcsftime.c: New file. - - * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul. - * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc. - * wcsmbs/wcschrnul.c: New file. - * wcsmbs/wmemcpy.c: New file. - * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias. - * wcsmbs/wmemmove.c: Likewise for wmemmove. - - * manual/stdio.texi: Document is_char and wide element if printf_info. - - * manual/time.texi: Document wcsftime. - - * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy, - __wmemmove, __wcschrnul, and __vfwscanf. - - * locale/langinfo.h: Add new LC_TIME entries for wchar_t data. - * locale/C-time.c: Adapt for above change. - * locale/categories.def: Likewise. - * locale/localeinfo.h: Likewise. - * localedata/Makefile: Don't run tests for now. - - * manual/errno.texi: Fix typos. - * manual/memory.texi: Likewise. - * manual/ctype.texi: Likewise. - Patches by Brian Youmans <3diff@gnu.org>. - -1999-06-16 Andreas Jaeger - - * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added. - -1999-06-14 Andreas Schwab - - * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct - word order. - * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file. - * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file. - -1999-06-15 Andreas Schwab - - * db2/db/db.c: Restore __nss_db_open alias. - * db2/db_int.h: Use instead of "db.h" to find header in - include. - * db2/os/os_rw.c (__os_write): Maintain const correctness. - * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'. - -1999-06-15 Ulrich Drepper - - * stdio-common/printf-parse.h (parse_one_spec): Don't set - is_longlong if not necessary. - -1999-06-15 H.J. Lu - - * Make-dist (sysdep_dirs): Exclude SCCS. - * MakeTAGS (sysdep_dirs): Likewise. - -1999-06-15 Ulrich Drepper - - * posix/regex.c (re_error_msgid): Remove extra commas. - -1999-06-14 Geoff Keating - - * stdlib/tst-strtoll.c: New file. - * stdlib/Makefile (tests): Add tst-strtoll.c - * stdlib/strtol.c: It is not generally true that if - (unsigned)a*(unsigned)b overflows, then the result is - less than 'a'. - -1999-06-14 Thorsten Kukuk - - * nscd/connections.c (handle_request): Only root is allowed to - send GETSTAT request in non secure mode. - * nscd/nscd.c: Print error message if other then root try to - use getstat. - -1999-06-15 Andreas Jaeger - - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl. - -1999-06-15 Andreas Jaeger - - * manual/time.texi (Limits on Resources): Describe RLIMIT_AS. - Closes PR libc/1164, reported by sascha@schumann.2ns.de. - -1999-06-13 Andreas Schwab - - * sysdeps/generic/strchr.c: Include and use reg_char - for character to search, to help the compiler. - * sysdeps/generic/strchrnul.c: Likewise. - * sysdeps/generic/memchr.c: Likewise. - * sysdeps/generic/memccpy.c: Likewise. - * sysdeps/generic/rawmemchr.c: Likewise. Fix comment. - -1999-06-13 Andreas Schwab - - * sysdeps/m68k/memchr.S: New file. - * sysdeps/m68k/rawmemchr.S: New file. - * sysdeps/m68k/strchr.S: New file. - * sysdeps/m68k/strchrnul.S: New file. - -1999-06-13 Geoff Keating - - * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile'; - add `memory' clobber; optimise for constant `val'. - (atomic_add): Likewise. - (test_and_set): Remove `volatile'; add `memory' clobber; be more - like the original `test_and_set'. - (compare_and_swap): Remove `volatile'; add `memory' clobber; - optimise for constant `oldval'. - (always_swap): Remove `volatile'; add `memory' clobber. - -1999-06-13 Andreas Jaeger - - * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline - functions for gcc <= 2.7.x. - -1999-06-13 Roland McGrath - - * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last - change. - -1999-06-13 Ulrich Drepper - - * db2/Makefile (distribute): Remove files which do not exist - anymore. - - * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit - definitions to calm down gcc. - - * db2/db.h: Update from db 2.7.5. - * db2/db_185.h: Likewise. - * db2/db_int.h: Likewise. - * db2/btree/bt_compare.c: Likewise. - * db2/btree/bt_conv.c: Likewise. - * db2/btree/bt_curadj.c: Likewise. - * db2/btree/bt_cursor.c: Likewise. - * db2/btree/bt_delete.c: Likewise. - * db2/btree/bt_open.c: Likewise. - * db2/btree/bt_page.c: Likewise. - * db2/btree/bt_put.c: Likewise. - * db2/btree/bt_rec.c: Likewise. - * db2/btree/bt_recno.c: Likewise. - * db2/btree/bt_rsearch.c: Likewise. - * db2/btree/bt_search.c: Likewise. - * db2/btree/bt_split.c: Likewise. - * db2/btree/bt_stat.c: Likewise. - * db2/btree/btree_auto.c: Likewise. - * db2/common/db_appinit.c: Likewise. - * db2/common/db_apprec.c: Likewise. - * db2/common/db_err.c: Likewise. - * db2/common/db_region.c: Likewise. - * db2/common/db_salloc.c: Likewise. - * db2/db/db.c: Likewise. - * db2/db/db.src: Likewise. - * db2/db/db_am.c: Likewise. - * db2/db/db_auto.c: Likewise. - * db2/db/db_dispatch.c: Likewise. - * db2/db/db_dup.c: Likewise. - * db2/db/db_iface.c: Likewise. - * db2/db/db_join.c: Likewise. - * db2/db/db_overflow.c: Likewise. - * db2/db/db_pr.c: Likewise. - * db2/db/db_rec.c: Likewise. - * db2/db/db_ret.c: Likewise. - * db2/db185/db185.c: Likewise. - * db2/dbm/dbm.c: Likewise. - * db2/hash/hash.c: Likewise. - * db2/hash/hash_auto.c: Likewise. - * db2/hash/hash_dup.c: Likewise. - * db2/hash/hash_page.c: Likewise. - * db2/hash/hash_rec.c: Likewise. - * db2/hash/hash_stat.c: Likewise. - * db2/include/btree.h: Likewise. - * db2/include/btree_ext.h: Likewise. - * db2/include/clib_ext.h: Likewise. - * db2/include/common_ext.h: Likewise. - * db2/include/db_am.h: Likewise. - * db2/include/db_auto.h: Likewise. - * db2/include/db_cxx.h: Likewise. - * db2/include/db_ext.h: Likewise. - * db2/include/db_join.h: Likewise. - * db2/include/db_page.h: Likewise. - * db2/include/hash.h: Likewise. - * db2/include/hash_ext.h: Likewise. - * db2/include/lock.h: Likewise. - * db2/include/lock_ext.h: Likewise. - * db2/include/log.h: Likewise. - * db2/include/log_ext.h: Likewise. - * db2/include/mp.h: Likewise. - * db2/include/mp_ext.h: Likewise. - * db2/include/os.h: Likewise. - * db2/include/os_ext.h: Likewise. - * db2/include/os_func.h: Likewise. - * db2/include/txn.h: Likewise. - * db2/include/txn_auto.h: Likewise. - * db2/include/txn_ext.h: Likewise. - * db2/include/xa.h: Likewise. - * db2/include/xa_ext.h: Likewise. - * db2/lock/lock.c: Likewise. - * db2/lock/lock_conflict.c: Likewise. - * db2/lock/lock_deadlock.c: Likewise. - * db2/lock/lock_region.c: Likewise. - * db2/lock/lock_util.c: Likewise. - * db2/log/log.c: Likewise. - * db2/log/log_archive.c: Likewise. - * db2/log/log_auto.c: Likewise. - * db2/log/log_findckp.c: Likewise. - * db2/log/log_get.c: Likewise. - * db2/log/log_put.c: Likewise. - * db2/log/log_rec.c: Likewise. - * db2/log/log_register.c: Likewise. - * db2/mp/mp_bh.c: Likewise. - * db2/mp/mp_fget.c: Likewise. - * db2/mp/mp_fopen.c: Likewise. - * db2/mp/mp_fput.c: Likewise. - * db2/mp/mp_fset.c: Likewise. - * db2/mp/mp_open.c: Likewise. - * db2/mp/mp_pr.c: Likewise. - * db2/mp/mp_region.c: Likewise. - * db2/mp/mp_sync.c: Likewise. - * db2/mutex/mutex.c: Likewise. - * db2/mutex/uts4_cc.s: Likewise. - * db2/os/os_abs.c: Likewise. - * db2/os/os_alloc.c: Likewise. - * db2/os/os_config.c: Likewise. - * db2/os/os_dir.c: Likewise. - * db2/os/os_fid.c: Likewise. - * db2/os/os_fsync.c: Likewise. - * db2/os/os_map.c: Likewise. - * db2/os/os_oflags.c: Likewise. - * db2/os/os_open.c: Likewise. - * db2/os/os_rw.c: Likewise. - * db2/os/os_seek.c: Likewise. - * db2/os/os_sleep.c: Likewise. - * db2/os/os_spin.c: Likewise. - * db2/os/os_stat.c: Likewise. - * db2/os/os_tmpdir.c: Likewise. - * db2/os/os_unlink.c: Likewise. - * db2/progs/db_archive/db_archive.c: Likewise. - * db2/progs/db_checkpoint/db_checkpoint.c: Likewise. - * db2/progs/db_deadlock/db_deadlock.c: Likewise. - * db2/progs/db_dump/db_dump.c: Likewise. - * db2/progs/db_load/db_load.c: Likewise. - * db2/progs/db_printlog/README: Likewise. - * db2/progs/db_printlog/commit.awk: Likewise. - * db2/progs/db_printlog/count.awk: Likewise. - * db2/progs/db_printlog/db_printlog.c: Likewise. - * db2/progs/db_printlog/pgno.awk: Likewise. - * db2/progs/db_printlog/range.awk: Likewise. - * db2/progs/db_printlog/status.awk: Likewise. - * db2/progs/db_printlog/txn.awk: Likewise. - * db2/progs/db_recover/db_recover.c: Likewise. - * db2/progs/db_stat/db_stat.c: Likewise. - * db2/txn/txn.c: Likewise. - * db2/txn/txn.src: Likewise. - * db2/txn/txn_auto.c: Likewise. - * db2/txn/txn_rec.c: Likewise. - * db2/xa/xa.c: Likewise. - * db2/xa/xa_db.c: Likewise. - * db2/xa/xa_map.c: Likewise. - - * db2/btree/bt_close.c: Removed. - * db2/db/db_thread.c: Likewise. - * db2/hash/hash_debug.c: Likewise. - * db2/include/db.h.src: Likewise. - * db2/include/db_int.h.src: Likewise. - * db2/include/os_jump.h: Likewise. - * db2/mutex/alpha.dec: Likewise. - * db2/mutex/alpha.gcc: Likewise. - * db2/mutex/parisc.hp: Likewise. - * db2/mutex/uts4.cc.s: Likewise. - - * db2/Makefile: Add new routines, remove old for 2.7.5. - * db2/Versions: Add internal function names for the helper programs. - * db2/makedb.c: Update for new cursor callback. - * Versions.def: Define versions for libdb. - -1999-06-13 Thorsten Kukuk - - * nscd/connections.c (nscd_run): Get user ID for all non-db services. - * nscd/Makefile (others, install-sbin): Add nscd_nischeck. - * nscd/nscd_nischeck.c: New file. - * nscd/nscd.init: Enable use of nscd_nischeck and secure tables. - -1999-06-13 Andreas Jaeger - - * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing - MSG_* flags from Linux 2.2.9. - -1999-06-12 Mark Kettenis - - * Makeconfig (static-start-installed-name): Set to - $(start-installed-name) if not defined. - (+link-static): Use $(static-start-installed-name) instead of - $(start-installed-name). - * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name): - Set to crt0.o. - -1999-06-12 Mark Kettenis - - * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when - inserting a send right into the child instead of unconditionally - copying the send right. - -1999-06-12 Ulrich Drepper - - * locale/lc-time.c: Add free_mem function to free if necessary - statically allocated memory. - -1999-06-10 Jakub Jelinek - - * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent - bias from the raw exponent. - -1999-06-11 Ulrich Drepper - - * inet/arpa/tftp.h: Move attribute declaration in right position. - -1999-06-11 Thorsten Kukuk - - * nscd/nscd.c: Add -S options for separate caching of data for - every user. So one user couldn't see the data another user - has gotten with his credentials. - * nscd/nscd.h: Add new prototypes. - * nscd/cache.c: Compare owner of cache entry if in secure mode. - * nscd/connections.c: Check on shutdown if caller really was root. - In secure mode get uid of caller. - * nscd/grpcache.c: Add support for new secure group mode. - * nscd/hstcache.c: Add support for new secure hosts mode. - * nscd/pwdcache.c: Add support for new secure passwd mode. - -1999-06-11 Ulrich Drepper - - * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage - of user-provided buffer. - -1999-06-11 Mark Kettenis - - * hurd/hurdsock.c (max_domain): Initialize to `-1'. - (_hurd_socket_server): Fix off-by-one error in setting `max_domain'. - -1999-06-10 Ulrich Drepper - - * stdio-common/printf-parse.h (parse_one_spec): Add support for a - and A format. - - * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for - returning after last entry. - * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise. - -1999-06-09 Ulrich Drepper - - * misc/sysexits.h: Remove advertising clause of copyright. - * resolv/getnetnamadr.c: Likewise. - * sysdeps/vax/bcopy.s: Likewise. - * sysdeps/vax/bzero.s: Likewise. - * sysdeps/vax/ffs.s: Likewise. - * sysdeps/vax/memchr.s: Likewise. - * sysdeps/vax/memcmp.s: Likewise. - * sysdeps/vax/memmove.s: Likewise. - * sysdeps/vax/memset.s: Likewise. - * sysdeps/vax/strcat.s: Likewise. - * sysdeps/vax/strchr.s: Likewise. - * sysdeps/vax/strcmp.s: Likewise. - * sysdeps/vax/strcpy.s: Likewise. - * sysdeps/vax/strcspn.s: Likewise. - * sysdeps/vax/strlen.s: Likewise. - * sysdeps/vax/strncat.s: Likewise. - * sysdeps/vax/strncmp.s: Likewise. - * sysdeps/vax/strncpy.s: Likewise. - * sysdeps/vax/strpbrk.s: Likewise. - * sysdeps/vax/strrchr.s: Likewise. - * sysdeps/vax/strsep.s: Likewise. - * sysdeps/vax/strspn.s: Likewise. - * sysdeps/vax/strstr.s: Likewise. - - * libio/iofopncook.c: Adjust for renaming of structure elements. - * libio/libio.h: Define cookie functions with all the names. - - * pwd/fgetpwent_r.c: Set errno in the correct way. - * shadow/fgetspent_r.c: Likewise. - * pwd/fgetpwent.c: Handle long lines correctly. Little - optimizations. Free static buffer when debugging memory handling. - * shadow/fgetspent.c: Likewise. - - * grp/fgetgrent.c: Little optimization in loop. - -1999-06-09 Andreas Jaeger - - * grp/tst_fgetgrent.c (write_group): Fix generation of long line - in a different way. - -1999-06-09 Jakub Jelinek - - * stdlib/longlong.h: gas changed sethi handling when without - %hi(). Fix assembly. - * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow - port specific cache id checks. - * sysdeps/generic/dl-cache.h: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file. - -1999-06-08 Ulrich Drepper - - * gmon/gmon.c: Remove advertising clause of copyright. - * gmon/mcount.c: Likewise. - * gmon/sys/gmon.h: Likewise. - * inet/arpa/ftp.h: Likewise. - * inet/arpa/telnet.h: Likewise. - * inet/arpa/tftp.h: Likewise. - * inet/inet_lnaof.c: Likewise. - * inet/inet_mkadr.c: Likewise. - * inet/inet_net.c: Likewise. - * inet/inet_netof.c: Likewise. - * inet/protocols/routed.h: Likewise. - * inet/protocols/rwhod.h: Likewise. - * inet/protocols/talkd.h: Likewise. - * inet/protocols/timed.h: Likewise. - * inet/rcmd.c: Likewise. - * inet/rexec.c: Likewise. - * inet/ruserpass.c: Likewise. - * io/fts.c: Likewise. - * io/fts.h: Likewise. - * login/login_tty.c: Likewise. - * misc/fstab.h: Likewise. - * misc/getttyent.c: Likewise. - * misc/getusershell.c: Likewise. - * misc/sys/queue.h: Likewise. - * misc/sys/syslog.h: Likewise. - * misc/syslog.c: Likewise. - * misc/ttyent.h: Likewise. - * misc/ttyslot.c: Likewise. - * resolv/arpa/nameser.h: Likewise. - * resolv/gethnamaddr.c: Likewise. - * resolv/herror.c: Likewise. - * resolv/inet_addr.c: Likewise. - * resolv/mapv4v6addr.h: Likewise. - * resolv/mapv4v6hostent.h: Likewise. - * resolv/nss_dns/dns-host.c: Likewise. - * resolv/nss_dns/dns-network.c: Likewise. - * resolv/res_comp.c: Likewise. - * resolv/res_data.c: Likewise. - * resolv/res_debug.c: Likewise. - * resolv/res_init.c: Likewise. - * resolv/res_mkquery.c: Likewise. - * resolv/res_query.c: Likewise. - * resolv/res_send.c: Likewise. - * resolv/resolv.h: Likewise. - * sysdeps/generic/div.c: Likewise. - * sysdeps/generic/netinet/ip.h: Likewise. - * sysdeps/generic/netinet/tcp.h: Likewise. - * sysdeps/generic/paths.h: Likewise. - * sysdeps/generic/prof-freq.c: Likewise. - * sysdeps/generic/sys/ttydefaults.h: Likewise. - * sysdeps/gnu/netinet/ip_icmp.h: Likewise. - * sysdeps/gnu/netinet/tcp.h: Likewise. - * sysdeps/ieee754/support.c: Likewise. - * sysdeps/mach/hurd/sys/param.h: Likewise. - * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise. - * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise. - * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise. - * sysdeps/unix/bsd/sys/reboot.h: Likewise. - * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise. - * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise. - * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise. - * sysdeps/unix/sysv/linux/paths.h: Likewise. - * sysdeps/unix/sysv/linux/sys/quota.h: Likewise. - * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise. - * sysdeps/vax/DEFS.h: Likewise. - * termios/sys/ttychars.h: Likewise. - * misc/daemon.c: Likewise. Call fork. - - * grp/fgetgrent.c (buffer): Make file local variable. - (free_mem): New function. Call for malloc debugging. - - * grp/tst_fgetgrent.c (write_users): Correctly generate long line. - -1999-06-08 Andreas Jaeger - - * grp/Makefile: Add rules for tst_fgetgrent. - - * grp/tst_fgetgrent.c: Rewritten to read only one file. - - * grp/tst_fgetgrent.sh: New file. - -1999-06-08 Ulrich Drepper - - * grp/Makefile (tests): Add tst_fgetgrent. - * grp/tst_fgetgrent.c: New file. - Patches by Andreas Jaeger . - -1999-06-07 Roland McGrath - - * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to - be POSIX compliant. Prior definition was broken for Hurd. - Reported by Mark Kettenis . - -1999-06-08 Ulrich Drepper - - * ctype/ctype.h: Protect __tobody code by __extension__. - -1999-06-07 Ulrich Drepper - - * grp/fgetgrent.c (fgetgrent): Remember position of stream before - reading and reset in case the buffer was too small. - - * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case - of EOF. - -1999-06-07 Andreas Jaeger - - * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix - another SIOGIFNAME typo. - -1999-06-07 Ulrich Drepper - - * elf/dl-lookup.c: Remove duplicated assert.h inclusion. - - * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little - bit. - -1999-06-05 Andreas Schwab - - * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore - the precision if the mantissa is zero. - -1999-06-05 Andreas Schwab - - * manual/lang.texi (Floating Point Parameters): GCC already - supports long double for a long time. - -1999-06-05 Andreas Schwab - - * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test, - yn_test): Increase some epsilons. - -1999-06-07 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed - parameters. - -1999-06-06 Ulrich Drepper - - * sysdeps/unix/sysv/linux/kernel-features.h: Define - __ASSUME_SIOCGIFNAME for kernel >= 2.1.50. - * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME -> - SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME. - - * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions. - * sysdeps/libm-ieee754/w_j0f.c: Likewise. - * sysdeps/libm-ieee754/w_j0l.c: Likewise. - * sysdeps/libm-ieee754/w_j1.c: Likewise. - * sysdeps/libm-ieee754/w_j1f.c: Likewise. - * sysdeps/libm-ieee754/w_j1l.c: Likewise. - * sysdeps/libm-ieee754/w_jn.c: Likewise. - * sysdeps/libm-ieee754/w_jnf.c: Likewise. - * sysdeps/libm-ieee754/w_jnl.c: Likewise. - - * stdio-common/vfprintf.c: Correct typos. - - * math/libm-test.c (jn_test): Adjust delta. - (y1_test): Likewise. - (yn_test): Likewise. - - * elf/do-lookup.h: It should never happen that if we expect a versioned - symbol from a file the file has no version table. This should have - been checked in dl-version.c. - * elf/dl-lookup.c: Include assert.h. - - * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer - function handling. - - * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define. - -1999-06-06 Andi Kleen - - * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set - SA_RESTORER flag. - -1999-06-04 Andreas Jaeger - - * math/libm-test.c (yn_test): Change one delta. - (jn_test): Likewise. - (j1_test): Likewise. - (y0_test): Likewise. - -1999-06-06 Ulrich Drepper - - * malloc/malloc.c: Introduce local variable __libc_getpagesize to - avoid multiple calls to getpagesize() which might be a syscall. - -1999-06-06 Philip Blundell - - * stdio-common/tstscanf.c (main): Test the half-word format "%hd". - -1999-06-06 Andreas Jaeger - - * manual/install.texi (Running make install): Correct typo in - dynamic linker invocation. - -1999-06-05 Philip Blundell - - * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix - problems with GOT addressing. - -1999-06-05 Wolfram Gloger - - * malloc/malloc.c (check_action): Change into bitmap so that both - diagnostic and abort can be requested by setting it to 3. - (mALLOC_SET_STATe): Disable malloc checking if necessary. - -1999-06-03 Ulrich Drepper - - * configure.in: Few changes for HPUX. - - * scripts/config.guess: Update from latest version. - * scripts/config.sub: Likewise. - -1999-06-03 Andreas Jaeger - - * Makerules: Set LC_ALL explicitly to archieve correct sorting of - map files. Closes PR libc/1147. - -1999-06-03 Andreas Jaeger - - * math/libm-test.c (main): Add new test functions. - (jn_test): New tests. - (j1_test): Add some more tests. - (j0_test): Add some more tests. - (y0_test): Add some more tests. - (y1_test): Add some more tests. - -1999-06-02 Andreas Jaeger - - * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices. - Patch by mhagger@dera.gov.uk [PR libc/1145]. - - * math/libm-test.c (y1_test): New tests. - (y0_test): Likewise. - (j1_test): Likewise. - (j0_test): Likewise. - (main): Added new tests. - -1999-06-02 Jakub Jelinek - - * stdlib/longlong.h: Define UDIV_TIME on sparc64. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file. - -1999-06-02 David S. Miller - - * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list - pointers properly. - -1999-06-02 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h - and elide compatibility code if possible. - -1999-06-01 Ulrich Drepper - - * manual/llio.texi: Remove menu entry for removed section. - -1999-05-29 Andreas Schwab - - * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused - variables. - -1999-06-01 Andreas Jaeger - - * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it - (from Linux 2.3.4). - -1999-05-30 Ulrich Drepper - - * inet/netinet/in.h: Mark ntoh* and hton* as constant functions. - -1999-05-30 Andreas Jaeger - - * manual/stdio.texi: Fix some typos. - -1999-05-27 Andreas Schwab - - * malloc/malloc.h: Properly handle future GCC versions. - -1999-05-27 Andreas Schwab - - * sysdeps/unix/sysv/linux/configure.in: Change version checks to - use AC_EGREP_CPP. Change sed pattern to not use alternation. Fix - text of error message. - - * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'. - -1999-05-29 Ulrich Drepper - - * manual/filesys.texi: Extend (f)truncate documentation. - * manual/llio.texi: Remove duplicate (f)truncate definition. - -1999-05-29 Andreas Jaeger - - * manual/stdio.texi (Formatted Output Functions): Mention - semantics of snprintf in glibc 2.0. - Reported by Ben Pfaff . - -1999-05-29 Ulrich Drepper - - * include/features.h (__GLIBC_MINOR__): Bump to 2. - -1999-05-27 Ulrich Drepper - - * math/libm-test.c: Adjust a few more deltas for the poor ARM - FPU emulator. - -1999-05-27 Andreas Jaeger - - * configure.in: Fix typo. - -1999-05-27 Andreas Jaeger - - * manual/socket.texi (Host Names): Remove statement that h_errno - needs to be declared since this isn't true anymore. - Closes PR libc/1138. - -1999-05-26 Ulrich Drepper - - * config.h.in: Add __LINUX_KERNEL_VERSION. - * configure.in: Recognize --enable-kernel. - * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel - headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION - appropriately. - * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is - given perform runtime test. - - * sysdeps/unix/sysv/linux/kernel-features.h: New file. - * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if - minimal supported kernel is known to have the feature. - * sysdeps/unix/sysv/linux/poll.c: Likewise. - * sysdeps/unix/sysv/linux/pread.c: Likewise. - * sysdeps/unix/sysv/linux/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/seteuid.c: Likewise. - * sysdeps/unix/sysv/linux/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise. - * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise. - * sysdeps/unix/sysv/linux/testrtsig.h: Likewise. - * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. - * sysdeps/unix/sysv/linux/i386/pread.c: Likewise. - * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise. - - * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias. - -1999-05-25 Ulrich Drepper - - * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks. - -1999-05-26 Jakub Jelinek - - * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm): - Optimized sparc64 routines. - -1999-05-25 Ulrich Drepper - - * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if - they are the same as ints. - * stdio-common/vfscanf.c (_IO_vfscanf): Likewise. - - * version.h (VERSION): Bump to 2.1.90. - (RELEASE): Mark as development. - - * stdio-common/vfprintf.c (vfprintf): Don't implement special - handling for long long if it is the same as long. - * stdio-common/vfscanf.c (_IO_vfscanf): Likewise. - - * stdlib/strtol.c: Moved to ... - * sysdeps/generic/strtol.c: ...here. - * stdlib/strtoul.c: Moved to ... - * sysdeps/generic/strtoul.c: ...here. - * stdlib/strtoll.c: Moved to ... - * sysdeps/generic/strtoll.c: ...here. - * stdlib/strtoull.c: Moved to ... - * sysdeps/generic/strtoull.c: ...here. - * stdlib/strtol_l.c: Moved to ... - * sysdeps/generic/strtol_l.c: ...here. - * stdlib/strtoul_l.c: Moved to ... - * sysdeps/generic/strtoul_l.c: ...here. - * stdlib/strtoll_l.c: Moved to ... - * sysdeps/generic/strtoll_l.c: ...here. - * stdlib/strtoull_l.c: Moved to ... - * sysdeps/generic/strtoull_l.c: ...here. - - * sysdeps/wordsize-64/strtol.c: New file. - * sysdeps/wordsize-64/strtoul.c: New file. - * sysdeps/wordsize-64/strtoll.c: New file. - * sysdeps/wordsize-64/strtoull.c: New file. - * sysdeps/wordsize-64/strtol_l.c: New file. - * sysdeps/wordsize-64/strtoul_l.c: New file. - * sysdeps/wordsize-64/strtoll_l.c: New file. - * sysdeps/wordsize-64/strtoull_l.c: New file. - - * wcsmbs/wcstol.c: Moved to ... - * sysdeps/generic/wcstol.c: ...here. - * wcsmbs/wcstoul.c: Moved to ... - * sysdeps/generic/wcstoul.c: ...here. - * wcsmbs/wcstoll.c: Moved to ... - * sysdeps/generic/wcstoll.c: ...here. - * wcsmbs/wcstoull.c: Moved to ... - * sysdeps/generic/wcstoull.c: ...here. - * wcsmbs/wcstol_l.c: Moved to ... - * sysdeps/generic/wcstol_l.c: ...here. - * wcsmbs/wcstoul_l.c: Moved to ... - * sysdeps/generic/wcstoul_l.c: ...here. - * wcsmbs/wcstoll_l.c: Moved to ... - * sysdeps/generic/wcstoll_l.c: ...here. - * wcsmbs/wcstoull_l.c: Moved to ... - * sysdeps/generic/wcstoull_l.c: ...here. - - * sysdeps/wordsize-64/wcstol.c: New file. - * sysdeps/wordsize-64/wcstoul.c: New file. - * sysdeps/wordsize-64/wcstoll.c: New file. - * sysdeps/wordsize-64/wcstoull.c: New file. - * sysdeps/wordsize-64/wcstol_l.c: New file. - * sysdeps/wordsize-64/wcstoul_l.c: New file. - * sysdeps/wordsize-64/wcstoll_l.c: New file. - * sysdeps/wordsize-64/wcstoull_l.c: New file. - -1999-05-24 Jakub Jelinek - - * sysdeps/sparc/bits/wordsize.h: New file. - * sysdeps/sparc/fpu/bits/fenv.h: New file. - * sysdeps/sparc/fpu/fpu_control.h: New file. - * sysdeps/sparc/gmp-mparam.h: New file. - - * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove. - * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove. - * sysdeps/sparc/sparc64/bits/wordsize.h: Remove. - * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove. - * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove. - * sysdeps/sparc/sparc64/gmp-mparam.h: Remove. - - * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file. - * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file. - * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file. - * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file. - - * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove. - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove. - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove. - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove. - * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove. - -1999-05-24 Ulrich Drepper - - * login/openpty.c (openpty): Make sure pty does not because - controlling TTY. - - * ctype/ctype.h: Don't optimize toupper/tolower for C++. - -1999-05-23 Roland McGrath - - * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600. - Do proper error return. - -1999-05-23 Andreas Jaeger - - * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage - of __P in the rest of glibc; define __MALLOC_PMT and use it. - Reported by Stephan Kulow . - -1999-05-23 Ulrich Drepper - - * sysdeps/alpha/fpu/bits/fenv.h: Pretty print. - - * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if. - -1999-05-22 Andreas Schwab - - * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member - names to protect from user's macro namespace. - * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise. - * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise. - * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise. - * sysdeps/mips/bits/fenv.h (fenv_t): Likewise. - * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c: - Adapted. - * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c, - sysdeps/arm/fpu/fesetenv.c: Likewise. - * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c, - sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c, - sysdeps/i386/fpu/fsetexcptflg.c: Likewise. - * sysdeps/mips/fesetenv.c: Likewise. - -1999-05-22 Roland McGrath - - * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma. - -1999-05-20 Ulrich Drepper - - * configure.in: Recognize and allow gcc 2.95. - -1999-05-19 Jakub Jelinek - - * sysdeps/generic/bits/elfclass.h: Version common to - wordsize-32 and wordsize-64. - * sysdeps/generic/bits/environments.h: Ditto. - * sysdeps/generic/stdint.h: Ditto. - * sysdeps/generic/inttypes.h: Ditto. - - * sysdeps/generic/bits/wordsize.h: New file. - * stdlib/Makefile: Add bits/wordsize.h to headers. - - * sysdeps/sparc/sparc64/bits/wordsize.h: New file. - - * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported - headers to be used for 32bit and 64bit ABI compilations. - * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto. - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto. - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto. - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto. - * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto. - - * sysdeps/wordsize-64/bits/elfclass.h: Remove. - * sysdeps/wordsize-64/bits/environments.h: Remove. - * sysdeps/wordsize-64/stdint.h: Remove. - * sysdeps/wordsize-64/inttypes.h: Remove. - * sysdeps/wordsize-64/bits/wordsize.h: New file. - - * sysdeps/wordsize-32/bits/elfclass.h: Remove. - * sysdeps/wordsize-32/bits/environments.h: Remove. - * sysdeps/wordsize-32/stdint.h: Remove. - * sysdeps/wordsize-32/inttypes.h: Remove. - * sysdeps/wordsize-32/bits/wordsize.h: New file. - -1999-05-19 Jakub Jelinek - - * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8, - __align_cpy_16): New functions. - (__align_cpy_2, __align_cpy_1): New aliases to memcpy. - - * sysdeps/sparc/sparc32/Versions: New file. - * sysdeps/sparc/sparc64/Versions: New file. - * sysdeps/sparc/Versions: Remove. - -1999-05-19 Jakub Jelinek - - * sysdeps/unix/sysv/linux/configure.in: - On sparc64-*-linux*, set slibdir to /lib64 if prefix - is /usr, plus set libdir to ${exec_prefix}/lib64. - * sysdeps/unix/sysv/linux/configure: Regenerated. - * config.make.in: Propagate libdir settings from configure - to the Makefiles. - * shlib-versions: sparc64-*-linux* dynamic linker is - /lib64/ld-linux.so.2. - -1999-05-18 Thorsten Kukuk - - * nis/nis_lookup.c (nis_lookup): If we run out of memory, close - RPC connection. - -1999-05-18 Jakub Jelinek - - * sysdeps/sparc/sparc64/rawmemchr.S: New file. - * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file. - - * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument - contains garbage in bits 8-63. - * sysdeps/sparc/sparc64/memset.S: Ditto. - * sysdeps/sparc/sparc64/strchr.S: Ditto. - -1999-05-18 Ulrich Drepper - - * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ). - -1999-05-17 David S. Miller - - * sysdeps/sparc/sparc32/atomicity.h: New file. - * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file. - * sysdeps/sparc/sparc64/atomicity.h: New file. - * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to - sysdep-CFLAGS. - -1999-05-18 Richard Henderson - - * sysdeps/alpha/memchr.S: Zap high byte of length. Reschedule. - -1999-05-04 Zack Weinberg - - * argp/argp.h, assert/assert.h, misc/sys/cdefs.h, - posix/sys/types.h: Handle the case of __GNUC__=3, - __GNUC_MINOR__=(anything). - -1999-05-18 Andreas Jaeger - - * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary - if _FORCE_INLINES. - -1999-05-17 Ulrich Drepper - - * elf/Makefile (distribute): Remove dl-origin.h. - Add dl-dst.h and gen-trusted-dirs.awk. - -1999-05-17 Andreas Jaeger - - * sysdeps/i386/i486/Versions: New file with inline functions from - sysdeps/i386/i486/bits/string.h for now. - - * sysdeps/i386/Versions: Add inline functions from - sysdeps/i386/bits/string.h. - - * string/Versions: Add inline functions from . - - * string/Makefile (routines): Add string-inlines. - * string/string-inlines.c: New file, used for implementation of - extern inline functions. - - * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate - non inlined versions of functions. - * string/bits/string2.h: Likewise. - * sysdeps/i386/bits/string.h: Likewise. - -1999-05-17 Ulrich Drepper - - * inet/arpa/tftp.h: Add second packed attribute. - -1999-05-16 Wolfram Gloger - - * malloc/malloc.c: Cleanup to bring in line with released - stand-alone version `ptmalloc'. Update some comments. - (internal_function): Move fallback definition so that the source - compiles outside of libc, and use it in more places. - (malloc_atfork): Fix when malloc_check is in use. - -1999-05-16 Andreas Schwab - - * stdlib/tst-strtod.c: Fix typo. - -1999-05-16 Andreas Schwab - - * elf/dl-close.c (_dl_close): Add cast to avoid warning about - const incorrectness. - -1999-05-16 Roland McGrath - - * sysdeps/generic/bits/termios.h (CRTSCTS): New macro. - -1999-05-16 Thorsten Kukuk - - * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs. - * sunrpc/key_call.c: Fix memory leak, close file handle. - * nis/nis_creategroup.c: Use malloc instead of calloc, - set ctime and mtime. - * nis/nis_subr.c: Check for realloc result. - * nis/nis_file.c: Fix memory leak. - * nis/nis_table.c: Pretty print. - * nis/nis_getservlist.c: Likewise. - * nis/nis_ismember.c: Likewise. - * nis/nis_lookup.c: Likewise. - * nis/nis_ping.c: Likewise. - * nis/nis_removemember.c: Likewise. - * nis/nis_util.c: Likewise, check calloc result. - -1999-05-16 Roland McGrath - - * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ... - * sysdeps/generic/sys/socketvar.h: ... here. - * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ... - * sysdeps/generic/netinet/in_systm.h: ... here. - * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h, - sys/socketvar.h. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise. - * inet/Makefile (headers): Add netinet/in_systm.h here. - * socket/Makefile (headers): Add sys/socketvar.h here. - -1999-05-15 Ulrich Drepper - - * stdlib/strtol.c: Optimize inner loop of long long versions. - - * sysdeps/gnu/utmpx.h: Add needed type definitions according to - Unix98. Add forward declaration of struct utmp. - -1999-05-14 Ulrich Drepper - - * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of - calloc. - - * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks. - * nis/nis_addmember.c (nis_addmember): Fix memory leak. Test - memory allocation results. - -1999-05-14 Mark Kettenis - - * sysdeps/generic/getutmp.c: Include - (getutmp): Rewrite to only copy those members that are really - present in `struct utmp'. - * sysdeps/generic/getutmpx.c: Likewise. - -1999-05-14 Ulrich Drepper - - * nss/getXXbyYY.c: Add free_mem function which disposes all - statically allocated memory when debugging. - * nss/getXXent.c: Likewise. * nss/nsswitch.c: Likewise. + * sysdeps/i386/dl-machine.h: Likewise. + * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise. -1999-05-13 Ulrich Drepper + * elf/dlfcn.h: Declare dladdr only for __USE_GNU. + Define RTLD_DEFAULT. - * sysdeps/gnu/getutmpx.c: New file. - * sysdeps/gnu/getutmp.c: New file. +1998-09-05 Mark Kettenis -1999-05-13 H.J. Lu + * sysdeps/mach/hurd/i386/init-first.c (init1): Call + __getopt_clean_environment with __environ instead of envp. - * login/Versions (getutmpx): Added to GLIBC_2.1.1. - (getutmp): Likewise. +1998-09-05 Roland McGrath - * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and - getutmpx for login. + * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0. - * sysdeps/gnu/utmpx.h (getutmp): Added. - (getutmpx): Likewise. + * string/argz-extract.c (__argz_extract): Add de-consting cast for + setting results. - * sysdeps/generic/getutmp.c: New file. + * string/argz.h (argz_next): Add de-consting cast for return. + * string/argz-next.c (__argz_next): Likewise. - * sysdeps/generic/getutmpx.c: New file. + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers): + Don't add netinet/udp.h, netinet/ip_icmp.h here. + * sysdeps/gnu/Makefile: Do it here instead. + * sysdeps/unix/sysv/linux/Dist: Move those files from here ... + * sysdeps/gnu/Dist: ... to here. -1999-05-13 Andreas Jaeger + * sysdeps/unix/sysv/linux/netinet/ip_icmp.h, + sysdeps/unix/sysv/linux/netinet/tcp.h, + sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet. - * glibcbug.in (BUGGLIBC): Change address to - libc-alpha@sourceware.cygnus.com. +1998-09-04 Roland McGrath -1999-05-12 Andreas Jaeger + * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param. + * string/argz-next.c, string/argz-extract.c: Fix defns. - * resolv/arpa/nameser.h: Add C++ protectors. +1998-09-03 Roland McGrath -1999-05-08 Andreas Jaeger + * mach/Makefile: Use -include for mach-syscalls.mk to silence warning. - * iconvdata/gconv-modules: Fix alias for CP1255. Reported by - Elad Tsur . + * sysdeps/mach/hurd/sysd-stdio.c: Declare fns + __stdio_{read,write,seek,close,fileno} using __io_*_fn types. + * sysdeps/generic/sysd-stdio.c: Likewise. -1999-05-11 Ulrich Drepper +1998-09-02 Ulrich Drepper - * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy. - * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects - lazily if LD_BIND_NOW is not set. - * elf/dl-support.c (_dl_lazy): New variable. - (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar. - * elf/rtld.c (_dl_lazy): new global variable. - ( dl_main): Remove lazy, replace it by _dl_lazy. + * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly. + (_dl_map_object_from_fd): Make NAME argument const. + Remove last parameter in _dl_new_object call. + (print_search_path): Correct construction of composed path name. + (_dl_map_object): Prevent looking at RPATH of the main map twice. + Remove last parameter in _dl_new_object call. + * elf/dl-object.c: Remove last parameter. Determine whether create + origin entry based on empty realname. Handle file in root directory + correctly. + * elf/ldsodefs.h: Adjust prototype for _dl_new_object. + * elf/rtld.c (dl_main): Add comment describing reason for memory leak. + Remove last parameter in _dl_new_object call. + * sysdeps/generic/dl-origin.h: Handle file in root directory correctly. + * sysdeps/unix/sysv/linux/dl-origin.h: Likewise. -1999-05-06 Andreas Schwab +1998-09-01 Ulrich Drepper - * locale/setlocale.c (new_composite_name): Check also whether the - first category name differs. + * elf/dl-close.c (_dl_close): Add more comments and correct some. + Free l_searchlist and l_dupsearchlist. -1999-05-11 Andreas Schwab + * debug/catchsegv.sh: Add one more pair of quotes. - * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not - the generic one. +1998-09-01 17:53 Ulrich Drepper -1999-05-11 Philip Blundell + * elf/dl-load.c (add_name_to_object): Change return type to void and + make NAME parameter const. Allocate room for NAME in same memory + block used for l_libname entry. + (_dl_map_object_from_fd): Don't free NAME on failure. + (map_segment): Pass SONAME to add_name_to_object, not a copy. + (_dl_map_object): Don't create copy of NAME. Pass NAME to + _dl_map_object_from_fd. + * elf/dl-object.c (dl_new_object): Allocate room for NAME in same + memory block used for l_libname entry. + * elf/dl-close.c: Adjust free()ing for this change. - * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New - structure; storage suitable for any socket address. - * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage): - Likewise. - * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct - sockaddr_storage): Likewise. +1998-09-01 15:36 Ulrich Drepper - * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit - platform. + * malloc/Makefile: Include Makeconfig before testing config-sysdirs. -1999-05-10 Ulrich Drepper + * malloc/mtrace.c: Add bug report address. Update email address. + Add more @XXX@ to print correct address size. - * hesiod/Versions: Change _nss_hesiod_getpwuid and - _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and - _nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115. + * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is + really initialized. -1999-05-09 Mark Kettenis + * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info + for munmap call instead of examining phdr again. + Free all malloc()ed strings and arrays. - * hurd/get-host.c (_hurd_get_host_config): Return an empty value - if the file is empty. +1998-08-09 Geoff Keating -1999-05-07 Ulrich Drepper + * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of + dl-machine.h. + * sysdeps/powerpc/dl-machine.c: New file. + * sysdeps/powerpc/dl-machine.h: Move much stuff into separate + files. Revise ELF_PREFERRED_ADDRESS to take account of + the new mapping information (fixes bug involving huge bloated + web browser). Set ELF_MACHINE_PLTREL_OVERLAP. + * sysdeps/powerpc/dl-start.S: New file. - * elf/do-lookup.h: Fix typo in comment. + * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start, + l_map_end. + * elf/do-rel.h: Call elf_machine_rel only once (to save space). + * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the + others. Call elf_dynamic_do_##reloc only once (to save even more + space). + * elf/link.h: Add new members l_map_start and l_map_end to keep + track of the memory map. + * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and + the executable. - * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to - f_bsize to help some broken programs. +1998-09-01 11:53 Ulrich Drepper - * stdio-common/tst-printf.c: Add test case for last _itoa problem. + * debug/Makefile (catchsegv): We need not rewrite SOVER anymore. + Reported by Andreas Jaeger. - * stdio-common/vfprintf.c: Fix typo. + * posix/glob.h: Use __size_t instead of size_t in definitions and + make sure this is defined. -1999-05-06 Ulrich Drepper +1998-09-01 10:34 Ulrich Drepper - * elf/link.h (struct link_map): New field l_phdr_allocated. - * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having - the program header being part of any loaded segment. If it is not - allocate memory and set l_phdr_allocated flag. - * elf/dl-close.c (_dl_close): Free l_phdr if necessary. + * manual/locale.texi: Almost complete rewrite. Document more functions + and functionality. + * manual/arith.texi: Correct reference. + * manual/string.texi: Pretty printing. - * nss/digits_dots.c: Correct return value interpretation of - inet_ntoa. Fix PR libc/1109. + * manual/texinfo.tex: Update from last available version. -1999-05-06 Zack Weinberg +1998-08-31 22:44 Ulrich Drepper - * sysdeps/sparc/sparc32/sparcv9/Dist: New file. + * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for + invalid password. + (_nss_nis_getpwuid_r): Likewise. + Patch by Matthew Arnison . -1999-05-06 Thorsten Kukuk + * inet/rcmd.c: Implement netgroup support. + Patch by Dick Streefland . - * stdlib/fpioconst.c (__tens): Export also for 64bit platforms. - * stdlib/fpioconst.c: Move #endif before end of struct. +1998-08-31 Ulrich Drepper -1999-05-05 Ulrich Drepper + * elf/dl-close.c (_dl_close): Update _dl_loaded if the first + object on the list is removed. Don't use this code for PIC. + Reported by HJ Lu [PR libc/770]. - * Versions.def (ld.so): Add GLIBC_2.1.1. - * elf/Makefile (routines): Add dl-origin. - (tests): Add origtest. Add dependencies for the program. - * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path, - _dl_platformlen, _dl_dst_count and _dl_dst_substitute. - * elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename. - (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED, - DT_AUXILIARY, and DT_FILTER filenames. - * elf/dl-load.c (expand_dynamic_string_token): Explode into - two functions and three macros. - (_dl_dst_count, _dl_dst_substitute): New functions. - * elf/dl-dst.h: New file. - * elf/dl-open.c (_dl_open): Take extra parameter with address of - caller. Pass address in args structure. - (dl_open_worker): Recognize and expand DSTs in filename. - * elf/ldsodefs.h (_dl_open): Adapt prototype. - * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open. - (__dlopen_check): Pass caller address to dlopen_doit in args. - * elf/dlopendoit.c: Likewise. - * iconv/gconv_dl.c: Adapt call of _dl_open. - * nss/nsswitch.c: Likewise. - * elf/origtest.c: New file. - * sysdeps/generic/dl-origin.h: Moved to... - * sysdeps/generic/dl-origin.c: ...here. - * sysdeps/unix/sysv/linux/dl-origin.h: Moved to... - * sysdeps/unix/sysv/linux/dl-origin.c: ...here. +1998-08-31 15:56 Ulrich Drepper - * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case - with specific bases and only few bits set in second word. + * db2/db_int.h: Use instead of "db.h" to find header in include. - * timezone/Makefile (install-others): Create target directory - before creating tzfiles. + * include/stdio.h: Add __vsscanf. -1999-05-05 Thorsten Kukuk + * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if + __USE_ISOC9X. + Remove __vsscanf declaration. + Always declare fgetpos and fsetpos. - * nis/nis_file.c (readColdStartFile): Allocate memory only after - the file is opened successfully. + * math/math.h: Define isinf as macro. + * math/bits/mathcalls.h: Change to declare __isinf all the time. + Don't declare scalb for ISO C 9x. - * nis/nis_table.c: Fix some memory leaks. + * math/tgmath.h: Define fma. Rewrite the underlying macros. -1999-05-04 Ulrich Drepper + * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X. - * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st + * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from + sys/ucontext.h. + + * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN* + macros. + +1998-08-31 Andreas Jaeger + + * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate. + Reported by jreising@frequentis.com [PR libc/767]. + +1998-08-31 Andreas Jaeger + + * io/lockf.c (lockf): Move initilisation of fl.l_whence and + fl.l_start at beginning of function. + Patch by Geoff. Dash [PR libc/769]. + +1998-08-31 Ulrich Drepper + + * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX). + Reported by Rob.Hagopian@vu.union.edu [PR libc/763]. + + * nscd/nscd.init: Make it work in RedHat systems. + Patch by Christian Gafton. + +1998-08-29 Philip Blundell + + * catgets/Makefile: Don't try to run test programs when + cross-compiling. + +1998-08-31 Ulrich Drepper + + * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX. + Reported by Zack Weinberg. + +1998-08-30 Andreas Schwab + + * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S. + * elf/Makefile (distribute): Remove ldd.sh.in. + +1998-08-31 11:46 Andreas Schwab + + * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused variable. - * elf/dl-load.c (expand_dynamic_string_token): Recognize { } - around DST. Correctly ignore ORIGIN IN SUID binaries. +1998-08-29 Ulrich Drepper + + * sysdeps/i386/register-dump.h: Move to ... + * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here. + +1998-08-28 22:49 Ulrich Drepper -1999-05-03 Ulrich Drepper + * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel + with load address, not map address. + * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first + parameter and use this value. + * sysdeps/arm/dl-machine.h: Likewise. + * sysdeps/i386/dl-machine.h: Likewise. + * sysdeps/m68k/dl-machine.h: Likewise. + * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first + parameter. + * sysdeps/powerpc/dl-machine.h: Likewise + * sysdeps/sparc/sparc32/dl-machine.h: Likewise + * sysdeps/sparc/sparc64/dl-machine.h: Likewise + +1998-08-28 09:22 Ulrich Drepper + + * elf/rtld.c (process_envvars): Fix copy&paste error. + + * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and + memalign hook. + (realloc_hook_ini): Don't overwrite memalign hook. + (memalign_hook_ini): Don't overwrite malloc and memalign hooks. + Reported by Philippe Troin . + + * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer. + Patch by Philippe Troin . + +1998-08-26 Andreas Schwab - * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr. - * sysdeps/generic/strtok.c: Likewise. + * sysdeps/generic/segfault.c (install_handler): Protect the + non-POSIX signals with #ifdef. + (catch_segfault): Add missing mode parameter for open. + * debug/catchsegv.sh: Avoid termination message from shell. Allow + other termination signals. - * string/tester.c: Add test of rawmemchr. +1998-08-27 Andreas Schwab - * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output - specification. It's not necessary. + * debug/Makefile (distribute): Add register-dump.h. - * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk. - * elf/gen-trusted-dirs.awk: New file. - * elf/dl-load.c (systems_dirs): Moved into file scope. Initialize - from SYSTEM_DIRS macro. - (system_dirs_len): New variable. Contains lengths of system_dirs - strings. - (fillin_rpath): Rewrite for systems_dirs being a simple string. - Improve string comparisons. Change parameter trusted to be a flag. - Change all callers. - (_dt_init_paths): Improve using new format for system_dirs. +1998-08-28 10:41 Andreas Schwab - * elf/dl-load.c (expand_dynamic_string_token): Don't expand - $ORIGIN for SUID binaries. + * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file. - * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S. +1998-08-27 19:42 Ulrich Drepper -1999-05-02 Andreas Schwab + * elf/Makefile (distribute): Add dl-origin.h. + * sysdeps/generic/dl-origin.h: New file. + * sysdeps/unix/sysv/linux/dl-origin.h: New file. + * elf/link.h (struct link_map): Add l_origin field. + * elf/dl-load.c (expand_dynamic_string_token): New function. + (decompose_path): Remove WHERE argument, take link map pointer instead. + Call expand_dynamic_string_token instead of local_strdup to make copy + of rpath. + (_dl_init_paths): Call decompose_path with correct argument. + (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is + not defined. + Check EI_OSABI and EI_ABIVERSION fields in header. + Call _dl_new_object with extra argument. + (_dl_map_object): Call decompose_path with correct argument. + Call expand_dynamic_string_token instead of local_strdup to also + expand DST. + Call _dl_new_object with extra argument. + * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps + but the main one if new argument is nonzero. + * elf/ldsodefs.h: Adjust for _dl_new_object change. + * elf/dl-support.c: Define _dl_origin_path. + * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH. + (dl_main): Call _dl_new_object with extra argument. - * sunrpc/Makefile: Generate dependencies for all flavors of - librpcsvc objects. - (rpcgen-cmd): Pass -Y flag here and remove it from the macro - invocations. + * elf/dl-close (_dl_close): Free l_name and l_origin. -1999-05-02 Andreas Schwab + * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P + modifier in asm, not c. - * elf/dlopenold.c: Move #if down after includes to get - dependencies right. + * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c + to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern. -1999-05-01 Andreas Schwab +1998-08-26 17:48 Ulrich Drepper - * sysdeps/generic/bzero.c: Undefine __bzero. + * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local + variable so that map can be freed. + Reported by Philippe Troin . -1999-05-02 Ulrich Drepper + * elf/dl-open.c (dl_open_worker): Correct test for extending global + scope array. + Patch by Philippe Troin . - * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header. - * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise. - * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise. - Patch by Craig Small . +1998-08-26 Geoff Keating - * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth - parameter to struct gaih_servtuple *. Adapt appropriately. - (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls. - This fixes a memory leak. - Reported by Mikolaj J. Habryn . + * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way. + Don't call writev() with a 100-element vector. + * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL + return address. - * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t, - and fpregset_t definition. They are defined in ucontext.h. + * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version. + In particular, set __libc_stack_end. + * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be + undefined. Fix copyright notice. -1999-04-14 Scott Bambrough +1998-08-25 Andreas Schwab - * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr - and struct ether_header must be packed on the ARM. The default - alignment constraints add padding to the end of the structures. + * math/Makefile (gmp-objs): New variable. + ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2): + Depend on it. + (tests): Add atest-exp atest-sincos atest-exp2. + (tests-static): Remove atest-exp atest-sincos atest-exp2. -1999-04-14 Scott Bambrough +1998-08-25 Ulrich Drepper - * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The - default alignment constraints add padding to the end of the - structure and between members. + * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize + to toplevel. + (_dl_unload_cache): New function. + * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache. + * elf/dl-open.c (_dl_open): Unload map file before freeing the lock. + * elf/rtld.c (dl_main): Unload map file before jumping to user code. -1999-05-02 Ulrich Drepper + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT. + Correct comment for O_LARGEFILE. + * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT. + Change O_LARGEFILE to correct value. - * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use - _dl_cache_libcmp instead of strcmp. +1998-08-25 14:34 Ulrich Drepper - * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir - fails on a file. - Reported by Sergei Ivanov [PR libc/1032]. + * libio/iogetline.c (_IO_getline_info): Don't read anything for + N == 0. Patch by HJ Lu. -1998-03-30 Joel Klecker +1998-08-25 11:43 Ulrich Drepper - * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile - (sysdep-others,install-bin): Add lddlibc4. + * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF. -1999-05-02 H.J. Lu +1998-08-25 Bernd Schmidt - * timezone/zic.c (dolink): Remove the symlink destination first. + * argp/argp.h: Use __inline__ not inline. - * catgets/open_catalog.c (__open_catalog): Set catalog->status - to "nonexisting" if failed to open the file. + * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate + an input register as being clobbered. + * sysdeps/i386/memset.c (memset): Likewise. + * sysdeps/i386/bzero.c (__bzero): Likewise. + * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise. -1999-05-01 Ulrich Drepper +1998-08-25 Andreas Jaeger - * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and - gcc3. + * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result. + Fixes PR libc/757 (Reported by Michael Creutz -1999-04-30 Andreas Schwab + * debug/catchsegv.sh: Handle text preceding backtrace better. + * sysdeps/generic/segfault.c: Allow register dump. Allow handler + to be installed for other signals than SIGSEGV. + * sysdeps/generic/register-dump.h: New file. + * sysdeps/i386/register-dump.h: New file. + * sysdeps/powerpc/register-dump.h: New file. - * string/bits/string2.h (memset): Revert to previous version if - unaligned writes are not available. + * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from + sigcontextinfo.h. + * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version. -1999-04-30 Ulrich Drepper +1998-08-24 Geoff Keating - * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating - better code in presence of the asm. + * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file. -1999-04-30 Andreas Schwab +1998-08-09 Geoff Keating - * stdlib/fmtmsg.c (keywords): Increase array size for faster - indexing. + * sysdeps/unix/sysv/linux/powerpc/chown.c: New file. + * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file. + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove + getresuid, getresgid. - * locale/localeinfo.h (_nl_category_names): Increase array element - size for faster indexing. - * locale/setlocale.c (_nl_category_names): Adjusted. +1998-08-16 Geoff Keating -1999-04-30 Andreas Schwab + * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack + pointer in userland. - * iconv/gconv_conf.c (add_alias): Remove wrong cast. +1998-08-21 Andreas Schwab -1999-05-01 Andreas Schwab + * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum + and fix value. - * sysdeps/m68k/stackinfo.h: New file. +1998-08-22 Andreas Schwab -1999-04-30 Ulrich Drepper + * elf/ldd.bash.in: Add missing quotes around $file. Make loop + over arguments Bourne shell compatible. Don't exit unsuccessfully + if nonelf returns successfully. Avoid duplicating most of the + script. + * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes + around $file. - * string/tester.c (test_strchrnul): New function. - (test_memset): Test one more special case. +1998-08-24 10:37 Andreas Schwab - * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in - 25% of all cases. + * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add + sys/reg.h. + * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file. + * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it. - * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with - base types. +1998-08-23 Ulrich Drepper - * string/bits/string2.h: Fix bugs I introduced in last change. + * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add + __modify_ldt and modify_ldt. + * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt. - * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial - register stall. - Extend memset optimization. - Correct i686 version of memchr. - -1999-04-30 Roland McGrath - - * sysdeps/i386/bzero.c: Add #undef __bzero. - - * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if - EXEC_SIGTRAP was set in the incoming exec flags--that indicates the - exec server simulated a SIGTRAP before we even started up, so gdb is - already happy. - -1999-04-30 Ulrich Drepper - - * nss/digits_dots.c: Always initialize not_ok. - -1999-04-30 09:02 -0400 Zack Weinberg - - * string/bits/string2.h (memset): Avoid arithmetic overflow at - compile time, which produces obnoxious warnings. If GCCv2 is - in use, map __bzero to __builtin_memset to enable that - optimization. - -1999-04-29 Ulrich Drepper - - * string/bits/string2.h: Add more memset optimizations. - - * resolv/inet_addr.c (inet_aton): Optimize switch statement away. - - * resolv/inet_pton.c (inet_pton4): Little optimizations. - (inet_pton6): Likewise. - - * nss/getXXbyYY_r.c: Include assert.h. - * nss/getXXbyYY.c: Likewise. - -1999-04-29 Andreas Jaeger - - * termios/tcgetsid.c (tcgetsid): Rename variable to - tiocgsid_does_not_work. - -1999-04-29 Ulrich Drepper - - * inet/getnameinfo.c (nrl_domainname): Fix last patch. - -1999-04-28 Andreas Jaeger - - * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers. - This allows e.g. gethostbyname to accept "10.1234". - Reported by Alexander V. Lukyanov [PR libc/1096]. - - * nss/test-netdb.c (test_hosts): Add test for gethostbyname and - non quad IPv4 numbers. - -1999-04-29 Andreas Jaeger - - * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end. - -1999-04-28 Ulrich Drepper - - * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0. - * argp/argp-parse.c (_argp_hang): Likewise. - * argp/argp-pv.c (argp_program_version): Likewise. - * argp/argp-pvh.c (argp_program_version_hook): Likewise. - * inet/ether_hton.c (ether_hton, startp): Likewise. - * inet/ether_ntoh.c (ether_ntoh, startp): Likewise. - * inet/getnetgrent_r.c (setup, startp): Likewise. - * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise. - * intl/localealias.c (string_space, string_space_act, string_space_max, - nmap, maxmap): Likewise. - * libio/iopopen.c (proc_file_chain): Likewise. - * libio/oldiopopen.c (old_proc_file_chain): Likewise. - * locale/lc-collate.c (__collate_table, __collate_extra, - __collate_element_hash, __collate_element_strings, - __collate_element_values): Likewise. - * malloc/mcheck.c (mcheck_used): Likewise. - * malloc/mtrace.c (added_atexit_handler): Likewise. - * malloc/set-freeres.c (already_called): Likewise. - * misc/getpass.c (getpass) [buf, bufsize]: Likewise. - * misc/syslog.c (LogStat, LogTag): Likewise. - * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise. - * nss/getXXbyYY_r.c (startp): Likewise. - * posix/getopt.c (optarg, __getopt_initialized): Likewise. - * posix/regex.c (init_syntax_once) [done]: Likewise. - (debug): Likewise. - * string/strfry.c (init): Likewise. - * sunrpc/svc_run.c (svc_top): Likewise. - * posix/euidaccess.c (have_ids): Likewise. - * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise. - * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise. - * time/getdate.c (getdate_err): Likewise. - * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps): - Likewise. - * time/tzset.c (old_tz, is_initialized): Likewise. - - * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization - of static data with zero. - * signal/allocrtsig.c (init): Likewise. - - * string/Makefile (routines): Add strchrnul. - * string/Versions [GLIBC_2.1.1]: Add strchrnul. - * string/string.c: Add strchrnul prototype. - * include/string.h: Add __strchrnul prototype. - * sysdeps/generic/strchrnul.c: New file. - * sysdeps/i386/strchrnul.S: New file. - * sysdeps/i386/bits/string.c: Add strchrnul optimization. - * sysdeps/i386/i486/bits/string.c: Likewise. - * argp/argp-help.c (argp_args_usage): Use __strchrnul. - * inet/ether_line.c (ether_line): Likewise. - * nscd/nscd_conf.c (nscd_parse_file): Likewise. - * nss/nsswitch.c (nss_parse_file): Likewise. - * posix/execvp.c (execvp): Likewise. - * posix/fnmatch.c (internal_fnmatch): Likewise. - * resolv/res_hconf.c (_res_hconv_init): Likewise. - * resolv/res_init.c (res_init): Likewise. - * stdlib/fmtmsg.c (init): Likewise. - * stdlib/getsubopt.c (getsubopt): Likewise. - - * catgets/catgets.c (catopen): Only allocate one memory block. - (catclose): Only one free call necessary. - - * catgets/open_catalog.c (__open_catalog): Simplify handling of - file descriptor. - - * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead - of real functions. Simplify _tolower and _toupper. - - * grp/initgroups.c (compat_call): Remove unnecessary use of pointer - variable. - - * iconv/gconv.h (struct gconv_info): Change data element from pointer - to array of size 0. - * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly. - * iconv/gconv_close.c (__gconv_close): Don't free data. - - * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to - insert new alias. - - * iconv/gconv_db.c (add_derivation): More efficient copying. Check - for error while inserting in tree. - - * include/time.h: Pretty print. - - * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers - in table and lots of relocations. - * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid - string pointers in table and lots of relocations. - - * intl/finddomain.c: Remove definition of strchr macro. - - * io/ftw.c (nftw_arr, ftw_arr): Make const. - - * locale/loadlocale.c (_nl_load_locale): Optimize string copying. - - * locale/localeinfo.h (_nl_category_names): Change into an array with - fixed width char string elements. - * locale/setlocale.c (_nl_category_names): Likewise. - (_nl_current): Make global. - * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now. - - * malloc/Makefile (distribute): Add stackinfo.h. - * sysdeps/generic/stackinfo.h: New file. - * sysdeps/i386/stackinfo.h: New file. - * posix/execl.c: Use stackinfo.h in optimizing alloca use. - * posix/execle.c: Likewise. - * posix/execlp.c: Likewise. - - * nis/nis_table.c (__create_ib_request): Always use realloc. - - * posix/execvp.c (execute): Rename to script_execute and keep only - code to execute using shell. - (execvp): Call execv directly and only fall back on script_execute. - - * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define - and always use xdigits instead. - - * resolv/res_init.c (res_init): Use rawmemchr instead of strchr - where appropriate. - - * stdlib/fpioconst.h (__tens): New declaration. - (struct mp_power): Remove array, add arrayoff element. - * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one - __tens array and add in _fpioconst_pow10 offsets into __tens. - * stdio-common/printf_fp.c: Rewrite to use new __tens array. - * stdlib/strtod.c: Likewise. - - * stdlib/a64l.c (a64l_table): Avoid unnecessary elements. - - * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end - of the list. - * stdlib/atexit.c (__exit_funcs): Don't initialize. - - * stdlib/fmtmsg.c (keywords): Make name element fixed width array. - - * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use - a single and an array with offsets. - - * sunrpc/des_soft.c (partab): Make it const. - - * sunrpc/key_call.c (trytimeout, tottimeout): Make const. - (__key_encryptsession_pk_LOCAL): Don't initialize with 0. - (__key_decryptsession_pk_LOCAL): Likewise. - (__key_gendes_LOCAL): Likewise. - (MESSENGER): Mark const. - (key_call_private_main): Don't initialize with 0. - (use_keyenvoy): Don't initialize with 0. - (key_call): Rewrite to reverse logic of use_doors variable. - - * sunrpc/netname.c (OPSYS): Define as array, not pointer. - (startp): Don't initialize with zero. - - * sunrpc/openchild.c (_openchild): Make first argument const. - - * sunrpc/pmap_rmt.c (timeout): Mark const. - * sunrpc/xcrypt.c (hex): Likewise. - - * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting - initialization of global variables. - * sysdeps/unix/sysv/linux/getpt.c: Likewise. - * sysdeps/unix/sysv/linux/if_index.c: Likewise. - * termios/tcgetsid.c: Likewise. - - * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change - fxsr to osfxsr. - - * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory - block. Add function to free memory if wanted. - * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read. - - * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers. - - * wcsmbs/wmemset.c: Little code optimization. - -1999-04-23 Paul Eggert - - * stdlib/strtoull.c: Surround strong_alias and weak_alias with - ifdef _LIBC. - -1999-04-28 Roland McGrath - - * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove - implementation and just always fail with ENOSYS. This entry point is - obsolete. Add link warning to that effect. - -1999-04-27 Roland McGrath - - * hurd/get-host.c: Include . - -1999-04-28 Ulrich Drepper - - * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem - is != NULL. - -1999-04-28 Andreas Jaeger - - * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow - ISO C9x and Unix98. - -1999-04-28 Ulrich Drepper - - * libio/iofopncook.c (_IO_cookie_seek): Correct return value. - Patch by Peter Miller . - -1999-04-27 Thorsten Kukuk - - * sunrpc/pmap_clnt.c: Add own get_myaddress function, which - prefers loopback device. - -1999-04-28 Ulrich Drepper - - * posix/fnmatch.c (internal_fnmatch): Finish incomplete - no_leading_period change. - - * posix/testfnm.c: More test cases. - -1999-04-27 Ulrich Drepper - - * include/dirent.h: Remove __getdirentries declaration, add __getdents - and __getdents64. - * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries. - * sysdeps/unix/readdir_r.c: Likewise. - * sysdeps/unix/sysv/linux/readdir64.c: Likewise. - * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise. - * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not - __getdirentries. Remove fourth argument. - * sysdeps/unix/sysv/linux/getdirentries.c: New file. - * sysdeps/unix/sysv/linux/getdirentries64.c: New file. - * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines): - Add getdirentries and getdirentries64. - * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64. - - * posix/fnmatch.c (internal_fnmatch): Correctly reset string - pointer in case of an invalid [[: expression. - - * posix/testfnm.c: Add more test cases. - -1999-04-27 Roland McGrath - - * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced - set, pass EXEC_SIGTRAP flag in exec RPC. - -1999-04-26 Ulrich Drepper - - * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take - extra parameter. Fix several more bugs involving wildcard and - ranges. - (fnmatch): New function. Call internal_fnmatch. - - * posix/testfnm.c: More test cases. - -1999-04-03 Andreas Jaeger - - * manual/install.texi (Configuring and compiling): Explain that - files are changed in the source directory. - Closes PR libc/981. - (Configuring and compiling): Explain situation with PARALLELMFLAGS - in the source directory. - -1999-04-24 Andreas Schwab - - * locale/programs/ld-ctype.c: Spelling fixes. - (ctype_finish): Fix argument of error message format. - * locale/programs/ld-messages.c: Spelling fixes. - * locale/programs/ld-monetary.c: Spelling fixes. - * locale/programs/ld-time.c (time_finish): Make sure that name and - format of era_entries are adjacent. - (time_output): Reduce the size of the io vector. - -1999-04-25 Andreas Schwab - - * manual/filesys.texi (Attribute Meanings): Move a misplaced - paragraph. - -1999-04-23 Andreas Schwab - - * locale/programs/ld-collate.c (collate_output): Convert - undefined_offset to an array index. Fix computation of other - endian extra table. - -1999-04-26 Roland McGrath - - * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file, - return success with empty value. - -1999-04-26 Ulrich Drepper - - * posix/fnmatch.c: Include string.h also for glibc. - (fnmatch, case '?'): Optimize if cascades a bit. - (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set. - - * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors. - -1999-04-24 Ulrich Drepper - - * iconv/gconv_builtin.h: Add definitions for UTF16 builtins. - * iconv/gconv_int.h: Declare UTF16 functions. - * iconv/gconv_simple.c: Add UTF16 conversion functions. - -1999-04-20 Andreas Jaeger - - * posix/wordexp.c (parse_param): Fix type of offset to allow it to - be used correctly as parameter for parse_dollars/parse_tilde. - -1999-04-19 Andreas Schwab - - * manual/conf.texi (Utility Limits): Remove duplicate description - of BC_DIM_MAX. - -1999-04-19 Ulrich Drepper - - * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize - outbufend for dst==NULL. - -1999-04-18 Ulrich Drepper - - * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend - for dst==NULL. - Fixes PR libc/1084. - - * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR. - Fixes PR libc/1083. - -1999-04-18 Thorsten Kukuk - - * sunrpc/Makefile: Remove special handling of bootparam.x, - add rpcsvc/bootparam.h to headers. - * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility. - * sunrpc/rpcsvc/bootparam.x: Renamed to... - * sunrpc/rpcsvc/bootparam_prot.x: ...this. - -1999-04-18 Ulrich Drepper - - * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to - detect and handle invalid descriptors. - -1999-04-17 Thorsten Kukuk - - * timezone/zic.c (dolink): Append complete path not only filename - to ../ list. - -1999-04-17 Andreas Jaeger - - * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change. - -1999-04-17 Ulrich Drepper - - * iconvdata/gconv-modules: Rename CP874 to IBM874. - * iconvdata/Makefile: Likewise. - * iconvdata/cp874.h: Removed. - * iconvdata/cp874.c: Renamed to... - * iconvdata/ibm874.c: ...this. - -1999-04-16 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/types.h: Correct - signed/unsigned-ness of blkcnt and fsblkcnt. - * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. - - * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM, - SOL_AAL, and SOL_IRDA. - -1999-04-15 Andreas Schwab - - * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't - include "linux_fsinfo.h". - Based on a patch by H.J. Lu . - -1999-04-16 Thorsten Kukuk - - * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long. - -1999-04-16 Ulrich Drepper - - * nscd/cache.c (prune_cache): Only disable file checking for - future if the file does not exist. - Update file_mtime if cache was flushed. - -1999-04-15 David S. Miller - - * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6. - * sysdeps/sparc/sparc32/strcpy.S: Likewise. - -1999-04-15 Scott Bambrough - - * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing - compilation of file. - -1999-04-15 Ulrich Drepper - - * Versions.def: Add GLIBC_2.1.1 to libpthread. - - * iconvdata/Makefile (modules): Add KOI8-U. - (distribute): Add koi8-u.c. - (gen-8bit-gap-modules): Add koi8-u. - * iconvdata/gconv-modules: Add KOI8-U entries. - * iconvdata/koi8-u.c: New file. - -1999-04-13 Thorsten Kukuk - - * sunrpc/auth_des.c: 64bit fixes, security fixes. - * sunrpc/auth_none.c: Pretty print. - * sunrpc/auth_unix.c: Likewise. - * sunrpc/authdes_prot.c: Likewise. - * sunrpc/authuxprot.c: Likewise. - * sunrpc/bindrsvprt.c: Likewise. - * sunrpc/clnt_gen.c: Likewise. - * sunrpc/rpc/xdr.h: Likewise. - * sunrpc/rpc/auth_des.h: Add rpc_timeval struct. - * sunrpc/rpc_cmsg.c: Don't use *long pointers. - * sunrpc/rtime.c: Use new rpc_timeval. - * sunrpc/svc_authux.c: Don't use *long pointers. - * sunrpc/svcauth_des.c: Likewise + security fixes. - * sunrpc/xdr_mem.c: Don't use *long pointers. - * sunrpc/xdr_rec.c: Likewise. - * sunrpc/xdr_sizeof.c: Likewise. - * sunrpc/xdr_stdio.c: Likewise. - -1999-04-15 Ulrich Drepper - - * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup - so that it is redone for each sending. - -1999-04-15 Andreas Jaeger - - * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup. - -1999-04-15 Ulrich Drepper - - * iconv/gconv_db.c (__gconv_find_transform): If conversion is - known to not exist don't try to load shared objects. - Patch by Petr Vandrovec Ing. VTEI . - - * nscd/cache.c (prune_cache): The table might not be unused. In - this case do nothing. - - * catgets/gencat.c (read_input_file): Don't drop white spaces - between number/identifier and string. - Patch by Dima Barsky . - If no white space at all follows number/identifier remove existing - message with the number/identifier. - -1999-04-14 H.J. Lu - - * sunrpc/clnt_udp.c (is_network_up): New function. - (clntudp_call): Call is_network_up () to check if any network - interface is up in case of timeout. - -1999-04-14 Andreas Jaeger - - * wctype/test_wcfuncs.c: New file, tests towlower and towupper. - * wctype/Makefile (tests): Add test_wcfuncs. - -1999-04-14 Jakub Jelinek - - * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-* - architectures. - * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS - instead of CFLAGS. - * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS - instead of CFLAGS. For gnulib and string directories use - -Wa,-Av9a gcc ASFLAGS. - * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file. - * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-* - the same way as sparc-*. - -1999-04-14 Ulrich Drepper - - * locale/programs/locfile.c (locfile_read): Fix typo. - Patch by Kaoru Fukui . - -1999-04-14 Scott Bambrough - - * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be - restarted after being interrupted by a signal. The parameters on - the stack were corrupted by the signal handler. - - * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be - restarted after being interrupted by a signal. The parameters on - the stack were corrupted by the signal handler. - -1999-04-14 Andreas Jaeger - - * wctype/wcfuncs.c (towlower): Use __ctype_tolower. - Reported by Kalle Olavi Niemitalo - -1999-04-12 Tim Waugh - - * posix/wordexp-test.c: In field-splitting test cases where - subshells were involved, unset IFS first: some shells (ash) use - IFS even when no expansion is performed. - -1999-04-13 Andreas Schwab - - * libio/obprintf.c (_IO_obstack_overflow): Put the write end at - the real end of the chunk, not some random point inbetween. - (_IO_obstack_xsputn): Likewise. Actually copy the data into the - obstack when growing. Use fast version of obstack_blank when - shrinking. - (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly - allocating the vtable pointer. - (_IO_obstack_vprintf): Adjust for above change and avoid - unnecessary casts. Use fast version of obstack_blank when - shrinking. - Fixes PR libc/1075. - -1999-04-12 Ulrich Drepper - - * iconvdata/gconv-modules: Fix typo. Add UJIS alias. - Reported by GOTO Masanori . - -1999-04-11 Tim Waugh - - * posix/wordexp.c (wordexp): Fix a leak when an invalid character - is seen, as well as fixing semantics. Don't reset the word count - to zero when an invalid character is seen, but leave it as it was - (this makes a difference with WRDE_APPEND). - - * posix/wordexp-test.c: More test cases. - - * posix/wordexp.c (parse_param): In words like ${var#pattern}, - always expand pattern when it is needed. Also, handle quoting in - pattern properly. - -1999-04-12 Philip Blundell - - * elf/elf.h: Update ARM definitions to match current gas2. - - * sysdeps/arm/bits/endian.h: Support big endian operation. - - * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl): - Don't bother range checking the port number. - - * sysdeps/unix/sysv/linux/arm/vfork.S: New file. - - * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include - the syscall name in assembler output for ease of debugging. - - * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined - compiler behaviour. - * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file. - * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal] - (sysdep_routines): Add sigrestorer. - - * string/tester.c (test_strcpy): Add new tests for unaligned - arguments. - * sysdeps/arm/bits/string.h: Delete inline implementations of - strcpy and stpcpy. - -1999-04-11 Ulrich Drepper - - * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG. - -1999-04-10 Mark Kettenis - - * sysdeps/mach/hurd/Dist: Add clk_tck.c. - -1999-04-10 Ulrich Drepper - - * iconvdata/Makefile (modules): Add TIS-620. - (distribute): Add tis-620.c. - (gen-8bit-gap-modules): tis-620. - * iconvdata/tis-620.c: New file. - * iconvdata/gconv-modules: Add TIS-620 entries. - - * iconvdata/asmo_449.c: Correct comment. - -1999-04-10 Andreas Jaeger - - * manual/install.texi (Configuring and compiling): Comment out - description of --disable-static since this doesn't work currently - (see change by Ulrich Drepper on 1998-12-07 for configure.in). - -1999-04-10 Ulrich Drepper - - * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to - use binary search. - Based on a patch by Jakub Jelinek . - -1999-04-08 Andreas Jaeger - - * scripts/test-installation.pl (installation_problem): Skip - libnss1_* libraries from glibc-compat add-on. - -1999-04-07 H.J. Lu - - * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for - libstdc++ 2.7.2. - * posix/Versions (__waitpid): Likewise. - -1999-04-08 Andreas Jaeger - - * manual/install.texi (Reporting Bugs): Add section about reported - bugs and correct email address of glibcbug script. - -1999-04-01 Thorsten Kukuk - - * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1 - * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and - xdr_u_longlong_t. Based on patch from Dan Shechter - . - * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t - * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions. - - * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code. - -1999-04-07 Andreas Jaeger - - * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return - directly if getdents returns with error set. - -1999-04-05 Andreas Jaeger - - * locale/langinfo.h (THOUSEP): Rename second occurence of - THOUSANDS_SEP to THOUSEP. - Reported by Roman Belenov . - -1999-04-05 Roland McGrath - - * hurd/STATUS: File removed. Moved items that are still relevant into - TODO list in hurd source. - -1999-03-26 Mark Kettenis - - * sysdeps/mach/hurd/bits/time.h: New file. - * sysdeps/mach/hurd/getrusage.c: New file. - * sysdeps/mach/hurd/clk_tck.c: New file. - * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck. - * sysdeps/mach/hurd/Makefile [$(subdir) = posix] - (sysdep_routines): Add clk_tck. - * sysdeps/mach/hurd/times.c: Removed, since getrusage is now - implemented. - -1999-04-02 Ulrich Drepper - - * misc/syslog.c (closelog_internal): Do not reset LogTag here. - (closelog): But instead here. - Patch by Alan Curry [PR libc/1061]. - -1999-04-02 Andreas Jaeger - - * elf/Makefile (CFLAGS-multiload.c): Change to allow building in - the source directory. Fixes PR libc/1059. - -1999-04-01 Andreas Jaeger - - * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string. - * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise. - -1999-04-01 Ulrich Drepper - - * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15. - * iconvdata/testdata/ISO-8859-14: New file. - * iconvdata/testdata/ISO-8859-14..UTF8: New file. - * iconvdata/testdata/ISO-8859-15: New file. - * iconvdata/testdata/ISO-8859-15..UTF8: New file. - -1999-03-31 Ulrich Drepper - - * iconvdata/testdata/CP1258: New file. - * iconvdata/testdata/CP1258..UTF8: New file. - * iconvdata/TESTS: Add CP1258 entry. - - * iconvdata/cp874.h (to_ucs4): Add Euro sign. - - * timezone/africa: Update from tzdata1999d. - * timezone/europe: Likewise. - * timezone/northamerica: Likewise. - -1999-03-31 Mark Kettenis - - * login/programs/pt_chown.c (main): Save effective user ID before - dropping priviliges and use this to check if the program is - properly installed. - -1999-03-31 Ulrich Drepper - - * iconvdata/testdata/CP1254: Update for charmap changes. - * iconvdata/testdata/CP1254..UTF8: Likewise. - * iconvdata/testdata/CP1255: Likewise. - * iconvdata/testdata/CP1255..UTF8: Likewise. - * iconvdata/testdata/CP1256: Likewise. - * iconvdata/testdata/CP1256..UTF8: Likewise. - * iconvdata/testdata/CP1257: Likewise. - * iconvdata/testdata/CP1257..UTF8: Likewise. - - * iconvdata/Makefile (distribute): Remove cp1258.h. - (gen-8bit-gap-modules): Add cp1258. - * iconvdata/cp1258.h: Removed. - -1999-03-30 Ulrich Drepper - - * timezone/tst-timezone.c (tests): Add more cases. - (check_tzvars): Mark errors clearer. - (main): Likewise. - -1999-03-30 20:59 -0500 Zack Weinberg - - * login/programs/pt_chown.c: Drop privileges if invoked with - arguments. Don't close the master pty. - -1999-03-30 Ulrich Drepper - - * time/tzfile.c (__tzfile_read): Process transitions from the rear. - Minor optimization. - -1999-03-29 Ulrich Drepper - - * elf/rtld.c (process_envvars): Do not automatically prevent lazy - relocation for SUID binaries. - -1999-03-29 Paul Eggert - - * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain - while in child process. - -1999-03-29 Jakub Jelinek - - * sysdeps/sparc/sparc32/sparcv8/Makefile: New file. - * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y. - * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise. - * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise. - * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise. - - * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file. - * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file. - * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file. - * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file. - * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file. - * sysdeps/sparc/sparc32/sparcv9/memset.S: New file. - * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file. - * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file. - * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file. - * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file. - * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file. - * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file. - * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file. - * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file. - * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file. - * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file. - * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file. - * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file. - * sysdeps/sparc/sparc32/sparcv9/rem.S: New file. - * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file. - * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file. - * sysdeps/sparc/sparc32/sparcv9/umul.S: New file. - * sysdeps/sparc/sparc32/sparcv9/urem.S: New file. - * sysdeps/sparc/sparc32/sparcv9/Makefile: New file. - * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file. - * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file. - - * sysdeps/sparc/sparc32/bcopy.c: New file. - * sysdeps/sparc/sparc32/bzero.c: New file. - * sysdeps/sparc/sparc32/memchr.S: New file. - * sysdeps/sparc/sparc32/memcpy.S: New file. - * sysdeps/sparc/sparc32/memmove.c: New file. - * sysdeps/sparc/sparc32/memset.S: New file. - * sysdeps/sparc/sparc32/stpcpy.S: New file. - * sysdeps/sparc/sparc32/strchr.S: New file. - * sysdeps/sparc/sparc32/strrchr.c: New file. - * sysdeps/sparc/sparc32/strcpy.S: New file. - * sysdeps/sparc/sparc32/strlen.S: New file. - * sysdeps/sparc/sparc32/strcat.S: New file. - * sysdeps/sparc/sparc32/strcmp.S: New file. - - * sysdeps/sparc/sparc64/bcopy.c: New file. - * sysdeps/sparc/sparc64/bzero.c: New file. - * sysdeps/sparc/sparc64/memchr.S: New file. - * sysdeps/sparc/sparc64/memcmp.S: New file. - * sysdeps/sparc/sparc64/memcpy.S: New file. - * sysdeps/sparc/sparc64/memset.S: New file. - * sysdeps/sparc/sparc64/stpcpy.S: New file. - * sysdeps/sparc/sparc64/strcat.S: New file. - * sysdeps/sparc/sparc64/strchr.S: New file. - * sysdeps/sparc/sparc64/strcmp.S: New file. - * sysdeps/sparc/sparc64/strcpy.S: New file. - * sysdeps/sparc/sparc64/strcspn.S: New file. - * sysdeps/sparc/sparc64/strlen.S: New file. - * sysdeps/sparc/sparc64/strncpy.S: New file. - * sysdeps/sparc/sparc64/strpbrk.S: New file. - * sysdeps/sparc/sparc64/strrchr.c: New file. - * sysdeps/sparc/sparc64/strspn.S: New file. - * sysdeps/sparc/sparc64/stpncpy.S: New file. - * sysdeps/sparc/sparc64/strncmp.S: New file. - - * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os): - Append -fPIC, don't replace. - - * configure.in: Recognize sparcv8plus / sparcv9. - -1999-03-27 Andreas Jaeger - - * malloc/obstack.h (obstack_free): Explicitly convert __obj to - char * to avoid C++ warning. - Patch by yasushi@cs.washington.edu [PR libc/1035]. - -1999-03-29 Andreas Jaeger - - * manual/filesys.texi (Temporary Files): mktemp and mkstemp are - declared in stdlib.h, correct return value of mkstemp. - Reported by Andries Brouwer . - - * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines - from Linux 2.2.5. - -1999-03-28 Andreas Jaeger - - * misc/regexp.h (compile): Cast some pointers to (char *) to avoid - C++ warning. - - * ctype/ctype.h (tolower, toupper): Add __THROW declaration to - inline functions. Closes PR libc/1049. - -1999-03-25 Andreas Jaeger - - * timezone/README: Update from tzdata1999c and tzcode1999c. - - * timezone/africa: Update from tzdata1999c. - * timezone/antarctica: Likewise. - * timezone/asia: Likewise. - * timezone/australasia: Likewise. - * timezone/europe: Likewise. - * timezone/northamerica: Likewise. - * timezone/southamerica: Likewise. - * timezone/zone.tab: Likewise. - - * timezone/zic.c: Update from tzcode1999c. - -1999-03-26 Andreas Schwab - - * Makerules: Add $(common-objpfx)Versions.all to common-generated - outside of ifndef avoid-generated. - - * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes - in iofdopen.c. - * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in - iofopen.c. - * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes - in iofclose.c. - * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync, - _IO_old_file_seekoff): Bring over recent changes in fileops.c. - -1999-03-26 Mark Kettenis - - * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script - if we build the profiled library. - -1999-03-26 Andreas Schwab - - * math/Makefile (gmp-objs): Add inlines. Reported by Andreas - Jaeger - -1999-03-25 Roland McGrath - - * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu] - (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START. - This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386. - -1999-03-24 Roland McGrath - - * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule - works properly in subdirs. - -1999-03-23 Roland McGrath - - * sysdeps/mach/hurd/Makefile: Undo last change. - [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so. - [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so. - - * mach/Machrules (+preinit, +postinit, +interp, - LDFLAGS-$(interface.so)): Variables removed. Interface libraries get - linked just like other shared libraries. - (interface.so): Fix typo in defn, so it works. - ($(objpfx)$(interface.so)): Make it depend on libc.so. - -1999-03-21 Roland McGrath - - * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on - $(link-rpcuserlibs). - -1999-03-22 Andreas Schwab - - * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name), - $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable - targets if not building shared libraries. - -1999-03-22 Andreas Schwab - - * configure.in: Also look in $PATH when searching for - install-info. Remove autoconf bug workaround and require autoconf - 2.13. - -1999-03-21 Andreas Jaeger - - * db/Makefile: Don't try to install shared library link if not - building with shared libs. - -1999-03-19 Andreas Jaeger - - * rt/Makefile: Link against static library if no shared lib is - available. - - * localedata/Makefile: The shells scripts implementing the test - require the dynamic linker which is not available with - --disable-shared. Skip the test if --disable-shared is given. - - * linuxthreads/Makefile: Link test against static libpthread if no - shared lib is available. - - * iconvdata/Makefile (tests): Run iconv-test only if we're - building shared libraries. - * elf/Makefile (tests): Likewise for elf tests. - - * posix/Makefile: The test frameworks globtest and wordexp-test - require the dynamic linker which is not available with - --disable-shared. Skip the test if --disable-shared is given. - - * grp/Makefile (otherlibs): For static nss build link against - necessary libs. - -1999-03-19 Andreas Jaeger - - * debug/Makefile (install-bin): Install and build catchsegv only - if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR - libc/965]. - -1999-03-20 Andreas Schwab - - * time/tzfile.c (__tzfile_read): Handle the case where there are - transitions but no DST. - -1999-03-20 Roland McGrath - - * mach/Machrules (extra-libs-others): Add $(interface-library) here - too, so it gets built in the others pass rather than the lib pass. - This is necessary since the RPC libraries need to be linked against - libc. - -1999-03-19 Roland McGrath - - * sysdeps/generic/segfault.c: Include for - _itoa_word decl. - - * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable. - ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs). - ($(link-rpcuserlibs)): New static pattern rule; link intermediate - versions of lib{mach,hurd}user.so without reference to libc.so, - then link libc.so against that to get deps and symbol versions, then - finally link real lib*user.so against libc.so. - - * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW): - Support whole-file locking (only) by using the file_lock RPC. This - has very wrong semantics, but is better than nothing for the time - being. (Correct POSIX.1 locking will require new RPCs in the Hurd - protocols that will be somewhat hairy to specify.) - -1999-03-17 Mark Kettenis - - * sysdeps/mach/hurd/ptsname.c: New file. - -1999-03-20 Andreas Schwab - - * timezone/asia: Fix rule in Asia/Nicosia entry. - -1999-03-16 Andreas Jaeger - - * manual/getopt.texi (Using Getopt): Explain "::" in option - string. Reported by Yuri Niyazov . - -1999-03-18 Thorsten Kukuk - - * sunrpc/clnt_unix.c: Fix creation of parameters for - sendmsg/recvmsg on non intel platforms. - * sunrpc/svc_unix.c: Likewise. - -1999-03-18 Philip Blundell - - * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386 - implementation. - -1999-03-19 Andreas Jaeger - - * timezone/africa: Update from tzdata1999b. - * timezone/asia: Likewise. - * timezone/australasia: Likewise. - * timezone/europe: Likewise. - * timezone/northamerica: Likewise. - * timezone/southamerica: Likewise. - * timezone/zone.tab: Likewise. - - * timezone/README: Mention tzdata1999b. - -1999-03-17 Ulrich Drepper - - * sysdeps/generic/segfault.c (write_strsignal): New function. - (catch_segfault): Use it instead of calling strsignal. - -1999-03-16 Andreas Jaeger - - * iconv/gconv.c (__gconv): Change type of last_start to unsigned - char to avoid warning. - -1999-03-15 Ulrich Drepper - - * iconv/iconv.c (iconv): Correctly cast parameters for __gconv. - - * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of - outbuf to unsigned char to avoid warning. - -1999-03-11 David S. Miller - - * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable - masks. - * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise. - -1999-03-15 Ulrich Drepper - - * iconv/gconv.h (gconv_fct): Change parameter from `char' to - `unsigned char'. - (gconv_step_data): Likewise. - * iconv/gconv_int.h (__gconv): Likewise. - (__BUILINT_TRANS): Likewise. - * iconv/gconv.c (__gconv): Likewise. - * iconv/iconv.c (iconv): Add casts for call of __gconv. - * iconv/skeleton.c: Change local parameters and variable from `char' to - `unsigned char'. Remove casts from calls into modules. - * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from - `char' to `unsigned char'. - * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'. - * wcsmbs/mbrtowc.c: Likewise. - * wcsmbs/mbsnrtowcs.c: Likewise. - * wcsmbs/mbsrtowcs.c: Likewise. - * wcsmbs/wcrtomb.c: Likewise. - * wcsmbs/wcsnrtombs.c: Likewise. - * wcsmbs/wcsrtombs.c: Likewise. - * wcsmbs/wctob.c: Likewise. - -1999-03-15 Mark Kettenis - - * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add - __hurd_sigthread_stack_base, __hurd_sigthread_stack_end, - __hurd_sigthread_variables, __hurd_threadvar_stack_mask, - __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd, - __getpid, __libc_read, __libc_write, __lseek, __mmap, __open, - __xstat, _exit, _hurd_intr_rpc_mach_msg and abort. - -1999-03-15 Mark Kettenis - - * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to - _hurd_select if TIMEMOUT is -1. - -1999-03-15 Mark Kettenis - - * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL. - -1999-03-15 Ulrich Drepper - - * elf/dl-load.c: Compute rtld_search_dir array size correctly. - Reported by Yasushi Saito . - -1999-03-15 Andreas Schwab - - * manual/libc.texinfo: Undo last change for now. - -1999-03-15 Ulrich Drepper - - * intl/locale.alias: Add entries for Croatian. - Patch by Tomislav Vujec . - -1999-03-13 Mark Kettenis - - * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check - if the opened master pty really is a pty. `isatty' checks for - tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE - if we are out of pty's. - -1999-03-13 Mark Kettenis - - * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just - opened file is closed on exec. - * login/utmp_daemon.c (setutent_daemon): Likewise for the just - opened socket. - -1999-03-13 Andreas Jaeger - - * manual/llio.texi (File Position Primitive): Reformat @end - command. Patch by Bruno Haible [PR libc/1020]. - -1999-03-14 Ulrich Drepper - - * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no - entry is found. - * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. - * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise. - - * locale/programs/localedef.c (main): Initialize `cat' to please - the compiler. - -1999-03-14 Roland McGrath - - * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW, - check for root-owned symlinks and reject them too. - -1999-03-09 Andreas Schwab - - * stdio-common/printf_fphex.c: Move to ... - * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of - extended precision number. - * sysdeps/m68k/printf_fphex.c: New file. - -1999-03-09 Andreas Schwab - - * manual/stdio.texi: Fix typos. - -1999-03-09 Ulrich Drepper - - * version.h (VERSION): Bump to 2.1.1. - -1999-03-09 Thorsten Kukuk - - * nis/ypclnt.c: Try only twice to connect to NIS server. - -1999-03-09 Roland McGrath - - * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change. - -1999-03-09 Andreas Schwab - - * stdlib/strtod.c (round_and_return): Fix rounding of denormals. - (DENORM_EXP): New define. Use it as the exponent for a denormal. - * stdlib/strtold.c: Moved to ... - * sysdeps/generic/strtold.c: ... here. - * sysdeps/m68k/strtold.c: New file. - -1999-03-09 Andreas Schwab - - * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal - point if the precision is zero, even if the mantissa is non-zero. - -1999-03-09 Roland McGrath - - * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the - arguments into the request message buffer inside `send_rpc' - subfunction. We must repeat the marshalling when retrying the RPC - after a SIGTTOU delivery. - - * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code - path when there is no ctty port. - * hurd/ctty-output.c (_hurd_ctty_output): Likewise. - Move sigstate check inside loop so we recheck after handling a signal. - -1999-03-05 Andreas Jaeger - - * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and - O_EXLOCK are BSD extensions. - Reported by Jochen Voss [PR libc/985]. - -1999-03-08 Ulrich Drepper - - * manual/signal.texi (Termination in Handler): Correct example. - Install default handler before reraising the signal. - Patch by Jochen Voss . - -1999-03-08 Roland McGrath - - * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being - null, in which case send an empty string. - -1999-03-02 Mark Kettenis - - * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the - backward compatibility EH functions to be linked when using - gcc-2.8.1. Patch by Zack Weinberg . - -1999-03-08 Andreas Schwab - - * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change. - /dev/pts status may change during runtime. - -1999-03-08 Andreas Schwab - - * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last - change. /dev/pts status can change during runtime. - -1999-03-07 Thorsten Kukuk - - * sunrpc/svc_tcp.c (readtcp): go into fatal error state if - poll reports error. - * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls, - add some more sanity checks. - * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for - parser prototype. - -1999-03-05 Thorsten Kukuk - - * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops, - change XDR_GETINT32/XDR_PUTINT32 to sue new functions. - * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32. - * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32. - * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function - for x_getint32. - * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32. - * nis/nis_print.c: Fix ctime argument for platforms where - sizeof (time_t) != sizeof (int). - -1999-03-07 Mark Kettenis - - * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use - CLOCKS_PER_SEC instead of CLK_TCK. - -1999-03-05 Ulrich Drepper - - * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember - whether /dev/pts is available. - * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of - dev_pts_available. - - * posix/globtest.sh: Make common_objpfx path absolute and and db2 - and hesiod directory to library path [PR libc/1007]. - -1999-03-05 Andreas Jaeger - - * resolv/inet_addr.c (inet_aton): Don't allow componets > - 255. Patch by Bruno Haible [PR libc/1010]. - -1999-03-05 Geoff Keating - - * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup): - DT_PLTGOT has already been relocated. - (__elf_machine_fixup_plt): Likewise. - Minor cleanups. - -1999-03-04 Roland McGrath - - * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix. - -1999-03-03 Ulrich Drepper - - * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes - and fold string to uppercase [PR libc/1005]. - -1999-03-03 Andreas Schwab - - * elf/dl-load.c (lose): Fix return type. - -1999-03-03 Roland McGrath - - * sysdeps/mach/hurd/bits/fcntl.h - [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros. - * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set, - set O_NOTRANS as well. - (__hurd_file_name_lookup_retry): At successful end of lookup, - if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if - it is a translated node not owned by root. - (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash - on the file name passed to LOOKUP. - -1999-03-02 Ulrich Drepper - - * manual/time.texi (High Resolution Timer): Correct computation in - example. Reported by jjf@devel.cemsys.com. - -1999-03-02 Philip Blundell - - * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT - entry is already relocated. - -1999-03-01 Andreas Jaeger - - * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported - by Marcus Harnisch . - -1999-03-01 Andreas Jaeger - - * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to - uc_link which is the right name according to Unix98. - Reported by Craig Metz [PR libc/1001]. - * sysdeps/arm/sys/ucontext.h (ucontext): Likewise. - * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise. - * sysdeps/mips/sys/ucontext.h (ucontext): Likewise. - * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise. - * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise. - * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise. - -1999-02-25 Andreas Schwab - - * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of - @ifinfo. - -1999-02-25 Andreas Schwab - - * iconvdata/Makefile: Always include iconv-rules, but disable rule - to regenerate it if avoid-generated. - - * Makeconfig: Always include sys-dirs, but disable rule to - regenerate it when avoid-generated. - - * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around - rule to generate sysd-syscalls. - - * elf/Makefile (generated): Remove $(objpfx) from names. - -1999-02-28 Mark Kettenis - - * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the - actual length if the adress length is smaller than the input - value. Change type of *LEN paramater to socklen_t. - * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise. - * sysdeps/mach/hurd/accept.c (accept): Likewise. - * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise. - * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN - paramater to socklen_t. - -1999-02-28 Roland McGrath - - * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request" - msg_sig_post RPC (with SIGNO=0), rather than generating signal (again) - with the RPC. - -1999-02-27 Roland McGrath - - * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs, - __get_phys_pages): Cast &HBI to silence warning. - - * hurd/Makefile (routines): Add hurdchdir and hurdfchdir. - * hurd/hurdchdir.c: New file. - * hurd/hurdfchdir.c: New file. - * sysdeps/mach/hurd/chroot.c: Call - _hurd_change_directory_port_from_name to do the work. - * sysdeps/mach/hurd/chdir.c: Likewise. - * sysdeps/mach/hurd/fchdir.c: Call - _hurd_change_directory_port_from_fd to do the work. - * hurd/fchroot.c: Likewise. - * hurd/hurd.h: Declare them. - -1999-02-27 Ulrich Drepper - - * elf/dl-load.c (lose): Add more comments to explain the `why'. - (_dl_map_object): Remove redundant test. - -1999-02-27 Roland McGrath - - * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't - try to _hurd_port_free a lower-numbered descriptor that was not in any - fd_set. - -1999-02-26 Andreas Jaeger - - * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype - declaration for ____wcstod_l_internal. - - * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include for - __strtod_internal prototype. - * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH] - (____strtold_l_internal): Add prototype declaration. - (__strtold_l): Call correct function. - -1999-02-24 Ulrich Drepper - - * elf/elf.h: Add 32bit HPPA definitions. - -1999-02-23 Andreas Schwab - - * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a - non-checked heap is restored when malloc checking was requested by - the user. - (struct malloc_state): Add using_malloc_checking. - (MALLOC_STATE_VERSION): Increment minor. - (using_malloc_checking, disallow_malloc_check): New variables. - (__malloc_check_init): Use them. - (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so - that it can the chunk is properly instrumented when malloc - checking is enabled. Set the new using_malloc_checking field. - (malloc_hook_ini): Correct signature when _LIBC is not defined. - -1999-02-23 Andreas Schwab - - * sysdeps/unix/sysv/linux/i386/dl-librecon.h - (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second - time. - - * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main. - Don't call elf_get_dynamic_info and _dl_setup_hash a second time - if ld.so is the main program. - -1999-02-23 Ulrich Drepper - - * stdio-common/vfprintf.c (vfprintf): If precision or width is too - large for work_buffer, allocate new buffer. - (printf_unknown): Likewise. [PR libc/988] - -1999-02-22 Ulrich Drepper - - * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat - instead of stat and fstat. - * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise. - -1999-02-23 Andreas Schwab - - * elf/dl-error.c (_dl_signal_cerror): New function. - (_dl_signal_error): Don't call receiver function. - * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror - instead of _dl_signal_error when reporting references to undefined - symbols or versions. - (_dl_lookup_versioned_symbol): Likewise. - (_dl_lookup_versioned_symbol_skip): Likewise. - * elf/dl-version.c (match_symbol): Likewise. - - * elf/ldsodefs.h: Declare _dl_signal_cerror. - -1999-02-22 Ulrich Drepper - - * misc/getttyent.c (getttyent): Release lock on stream later to - also protect global variable zapchar. - - * sysdeps/unix/sysv/linux/clock.c: Don't test return value of - __times [PR libc/990]. - -1999-02-21 David S. Miller - - * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix - parentheses in Feb 2 changes. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise. - -1999-02-21 Andreas Jaeger - - * sysdeps/generic/glob.c (glob): Save previous errno. - -1999-02-21 Ulrich Drepper - - * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant - lookup functions if it is too small. - -1999-02-20 Ulrich Drepper - - * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created - for tracing to the scope lists. - * elf/do-lookup.h: Remove test for l_opencount == 0 after above change. - DT_SYMTAB is always available according to ELF spec. - - * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup - call test whether there is any scope left. - (_dl_lookup_versioned_symbol_skip): Likewise. - - * elf/Makefile (distribute): Add do-lookup.h. - * elf/do-lookup.h: New file. Split out from dl-lookup.c. - * elf/dl-lookup.c: Move do_lookup function in separate file and - include the file twice, for handling versioning and without it. - - * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT - entry is already relocated. - * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise. - * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise. - * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise. - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup): - Likewise. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup): - Likewise. - * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup): + * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER): + Use orl $-1 instead of movl $-1 to save two bytes. + * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER): Likewise. - * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with - load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL, - DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry. - (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether - rel and rela relocations can both happen and skip one test if this - is not possible. - (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC - appropriately. - * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are - already relocated. - * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already - relocated. - * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated. - (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument. - (_dl_map_object): DT_STRTAB entry is already relocated. - * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are - already relocated. - * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already - relocated. - * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and - DT_VERSYM entries are already relocated. - (profile_fixup): Likewise. - * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace - all users. - (match_symbol): DT_STRTAB entry is already relocated. - (_dl_check_map_versions): Likewise. Also fo DT_VERSYM. - * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be - relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated. - * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info. - (find_needed): DT_STRTAB entry is already relocated. - (dl_main): Pass extra argument to elf_get_dynamic_info. - DT_STRTAB entry is already relocated. - * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and - DT_PLTGOT entries are already relocated. - (elf_machine_rela): Likewise for DT_SYMTAB. - * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already - relocated. - * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. - * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise. - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise. - * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise. - * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise. - (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB. - * sysdeps/mips/mips64/dl-machine.h: Likewise. - - * grp/initgroups.c (initgroups): If function in current module was - successful don't stop but continue to process to get all the groups. - - * elf/dl-load.c (_dl_map_object_from_fd): Use global - _dl_pf_to_proot array to convert p_flags value. - * elf/dl-reloc.c (_dl_relocate_object): Likewise. - - * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of - loop to clear `info'. - - * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc - do the work and don't use inline assembler. - -1999-02-19 Ulrich Drepper - - * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__. - * elf/dl-load.c (lose): Make it a function at the toplevel, mark as - noreturn, and prevent it from being inlined. - Define LOSE appropriately. - (_dl_map_object_from_fd): Compare all bytes in e_ident at once. - Optimize decoding of p_flags for certain platforms. - -1999-02-19 Philip Blundell +1998-08-17 H.J. Lu - * Makeconfig (link-libc): When doing a static link, make sure that - libgcc.a is included both before and after libc.a. + * libio/Versions (_IO_do_write, _IO_file_attach, + _IO_file_close_it, _IO_file_finish, _IO_file_fopen, + _IO_file_init, _IO_file_overflow, _IO_file_seekoff, + _IO_file_setbuf, _IO_file_sync, _IO_file_underflow, + _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1. -1999-02-18 Thorsten Kukuk + * libio/fileops.c (_IO_do_write, _IO_file_attach, + _IO_file_close_it, _IO_file_finish, _IO_file_fopen, + _IO_file_init, _IO_file_overflow, _IO_file_seekoff, + _IO_file_setbuf, _IO_file_sync, _IO_file_underflow, + _IO_file_write, _IO_file_xsputn): Change the prefix to + "_IO_new_". Added to GLIBC_2.1. - * nis/nss_compat/compat-spwd.c: Fix handling of default values for - sp_warn, sp_inact, sp_expire and sp_flag. + * libio/libioP.h (_IO_do_write, _IO_file_attach, + _IO_file_close_it, _IO_file_finish, _IO_file_fopen, + _IO_file_init, _IO_file_overflow, _IO_file_seekoff, + _IO_file_setbuf, _IO_file_sync, _IO_file_underflow, + _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix + "_IO_new_". -1999-02-18 Ulrich Drepper + * libio/oldfileops.c (_IO_do_write, _IO_file_attach, + _IO_file_close_it, _IO_file_finish, _IO_file_fopen, + _IO_file_init, _IO_file_overflow, _IO_file_seekoff, + _IO_file_setbuf, _IO_file_sync, _IO_file_underflow, + _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0. - * elf/link.h (link_map): Add l_dev and l_ino. - * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly - loaded shared object with all loaded objects. Initialize l_ino - and l_dev in case it's new. - * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main - object. - * elf/Makefile: Compile and run new test. - * elf/multiload.c: New file. +1998-08-23 Richard Henderson - * nss/nsswitch.h (service_user): Change name field from const char * - to char[0]. - (name_database_entry): Likewise. - * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation - for change of `service_user'. - (nss_getline): Adjust memory allocation for change of - `name_database_entry'. + * Makeconfig (LDFLAGS): Remove. - * catgets/catgets.c: Correctly handle NLSPATH from environment - [PR libc/980]. + * csu/initfini.c: Return to .text before __gmon_start__. - * io/Makefile (routines): Add lock64. - * io/Versions: Add lockf64 for GLIBC_2.1.1. - * sysdeps/generic/lockf64.c: New file. + * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA. + (STO_MIPS_*): Rename from STO_*. + (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON. + (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New. -1999-02-16 Ulrich Drepper + * math/atest-exp.c (mpn_bitsize): Fix bit location calculation. + (main): e3s is negative on zero. + * math/atest-exp2.c: Likewise. + * math/atest-sincos.c: Likewise. - * string/bits/string2.h: Only use strncmp optimization if count - argument is constant. +1998-08-23 Andreas Jaeger -1999-02-16 Roland McGrath + * Makerules (install): Add comment about absolute paths. - * sysdeps/mach/hurd/revoke.c: New file. +1998-08-23 Ulrich Drepper -1999-02-16 Ulrich Drepper + * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination + array to NUL to handle maxlen==1 case correctly. + Patch by HJ Lu. - * wctype/wctype.h (_ISwbit): Cast result of shift operations to - int to avoid warning about `ISO C restricts enumerator values to - range of `int''. +1998-08-23 Richard Henderson -1999-02-16 Andreas Jaeger + * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used. + * sysdeps/alpha/elf/crtend.S: Likewise. + * sysdeps/alpha/elf/start.S: Likewise. - * elf/dlfcn.h: Fix typo. - * sysdeps/generic/bits/dlfcn.h: Likewise. - * sysdeps/mips/bits/dlfcn.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue; + non-standard pv usage. -1999-02-16 Ulrich Drepper + * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation. + * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/select.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise. - * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags - for the case N == 0. + * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is + a finite non-denormal, deferring to the full IEEE version otherwise. - * db2/Makefile (distribute): Add LICENSE. + * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor): + Early out for -0. Optimize for !_IEEE_FP_INEXACT. + * sysdeps/alpha/fpu/s_floor.c: New. + * sysdeps/alpha/fpu/s_floorf.c: New. + * sysdeps/alpha/fpu/s_ceil.c: New. + * sysdeps/alpha/fpu/s_ceilf.c: New. -1999-02-03 Jeff Bailey +1998-08-22 Philip Blundell - * sysdeps/unix/make_errlist.c: Add i18n and copyright to - generated files. + * sysdeps/arm/bits/string.h: New file. - * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo. +1998-08-12 Andreas Jaeger -1999-02-16 Ulrich Drepper + * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers, + document it. - * time/mktime.c: Use ISO C form for function definitions and - remove unnecessary prototypes. + * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains + test for recent Linux 2.1.100+ headers. - * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change. +1998-08-21 Thorsten Kukuk - * time/time.h: Avoid unneccesary #ifdef. + * nis/nss_compat/compat-initgroups.c: Optimize NIS query. -1999-02-15 Geoff Keating +1998-08-21 17:21 Ulrich Drepper - * stdio-common/_itoa.c (_itoa): Correct parameters to - udiv_qrnnd_preinv. + * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64. -1999-02-14 Andreas Jaeger +1998-08-20 Andreas Schwab - * misc/sys/cdefs.h: Undefine __PMT since it might be defined - before (e.g. in glob.h). - Closes PR libc/959. + * Makefile (elf/ldso_install): Put back. The problem still persists. + * elf/Makefile (ldso_install): Likewise. -1999-02-16 Andreas Jaeger +1998-08-20 Andreas Schwab - * sysdeps/mips/fpu_control.h: Fix typo. - Patch by Sylvain Pion . - Remove __setfpucw. + * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and + create weak alias. + * include/db.h: Declare __nss_db_open. + * db2/Versions: Export it. -1999-02-10 Roland McGrath + * db2/makedb.c: Convert to use db2 API. + * nss/nss_db/db-XXX.c: Likewise. + * nss/nss_db/db-netgrp.c: Likewise. + * nss/nss_db/db-alias.c: Likewise. + (_nss_db_getaliasent_r): Allow retrying with a larger buffer. - * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on - the "unused" ends of the sockets. Let pipes be bidirectional. +1998-08-19 Andreas Schwab -1999-02-15 Ulrich Drepper + * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove + sys_setresuid, already built automatically (or not). + * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid + instead of __syscall_setresuid and add back setresuid. + * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of + __syscall_setresuid. - * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for - invalid ai_flags. +1998-08-21 Andreas Jaeger -1999-02-15 Andreas Jaeger + * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo. - * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by - Jochen Voss [PR libc/969]. +1998-08-20 Ulrich Drepper - * manual/setjmp.texi (Non-Local Exits and Signals): Fix - typo. Patch by Jochen Voss [PR libc/970]. + * elf/Makefile (sh-ldd-rewrite): Remove expression to remove + BASH-ONLY marked region. + * elf/ldd.bash.in: Remove special BASH-ONLY markers. -1999-02-15 Ulrich Drepper +1998-02-20 17:54 H.J. Lu - * string/Versions: Add __strverscmp to GLIBC_2.1.1. + * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if + _IO_SYSSEEK fails. -1999-02-13 Andreas Schwab + * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t. - * misc/syslog.c (vsyslog): Remember errno for %m format. Fix - check for priority mask. + * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset + element. -1999-02-14 Ulrich Drepper +1998-08-21 Roland McGrath - * resolv/netdb.h (AI_NUMERICHOST): Change to 4. - Reported by Craig Metz . + * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these + with magic comments ###BASH-ONLY and ###END-BASH-ONLY. + * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in. + (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite). + (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by + those magic comments, and to use /bin/sh for @BASH@. + (bash-ldd-rewrite): Use $(common-ldd-rewrite). + * elf/ldd.sh.in: File removed. -1999-02-14 Andreas Jaeger +1998-08-20 20:07 Ulrich Drepper - * stdio-common/Makefile (tests): tllformat added. + * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and + cast them to unsigned long int. + * pwd/putpwent.c (putpwent): Likewise. + Patch by John Tobey . - * stdio-common/tllformat.c: New program, based on tiformat.c with - examples from Franz Sirl . +1998-08-20 17:14 H.J. Lu -1999-02-14 Andreas Schwab + * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to + _IO_pos_BAD. - * posix/test-vfork.c: Fix exit status test. +1998-02-20 17:54 H.J. Lu -1999-02-14 Andreas Jaeger + * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if + _IO_SYSSEEK fails. - * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some - missing cases. Reported by Craig Metz [PR libc/964]. +1998-08-20 19:14 Ulrich Drepper -1999-02-14 Andreas Schwab + * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines): + Add umount and umount2. + * sysdeps/unix/sysv/linux/syscalls.list: Remove umount. + * sysdeps/unix/sysv/linux/umount.S: New file. + * sysdeps/unix/sysv/linux/umount2.S: New file. + * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2. + Define MNT_FORCE. - * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead - of separare explicit comparisons. + * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers): + Add sys/sendfile.h. + * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile. + * sysdeps/unix/sysv/linux/sys/sendfile.h: New file. -1999-02-11 Andreas Schwab + * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print. - * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet - defined. + * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and + sendfile. - * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet - defined. +1998-08-20 16:01 Ulrich Drepper -1999-02-09 Ulrich Drepper + * elf/ldd.sh.in: Redirect warnings and error messages to stderr. + * elf/ldd.bash.in: Likewise. - * po/el.po: Update from translation team. + * elf/sln.c: Avoid warning for no main prototype. -1999-02-09 Andreas Jaeger + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and + O_WRITE. + * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. - * intl/locale.alias: Fix slovenian entry [PR libc/948]. + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and + F_GETSIG. + * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. -1999-02-09 Andreas Jaeger +1998-08-20 Philip Blundell - * elf/sprof.c: assert.h isn't used anymore, remove inclusion. - * inet/ruserpass.c: Likewise. - * locale/programs/stringtrans.c: Likewise. - * locale/programs/localedef.c: Likewise. - * nscd/grpcache.c: Likewise. - * nss/nss_files/files-XXX.c: Likewise. - * stdlib/canonicalize.c: Likewise. - * sysdeps/posix/sigwait.c: Likewise. + * sysdeps/arm/fpu/ieee754.h: Move to... + * sysdeps/arm/ieee754.h: ... here. -1999-02-09 Andreas Jaeger + * sysdeps/arm/__longjmp.S: Put return value in correct register. + Don't set the condition flags unnecessarily. + * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point + registers correctly. - * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison - even on 64 bit platforms. + * sysdeps/arm/dl-machine.h: Fix problems with profiling code + (patch from Scott Bambrough). - * sunrpc/clnt_tcp.c (clnttcp_call): Likewise. - Patch by Loic Prylli . + * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons. -1999-02-09 Ulrich Drepper + * csu/initfini.c (_init): Don't check whether __gmon_start__ is + NULL, just call it unconditionally. + (__gmon_start__): Provide stub version as a weak symbol. - * intl/dcgettext.c: Include locale.h is available. +1998-07-30 Philip Blundell -1999-02-08 Ulrich Drepper + * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch + by Scott Bambrough) - * po/nl.po: Update from translation team. + * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't + like `@' in .type directives. - * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value. + * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call. + * sysdeps/arm/bsd-_setjmp.S: Likewise. - * Makefile: Allow calling goals for po subdir. + * sysdeps/arm/dl-machine.h: Set __libc_stack_end. - * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT - signal definitions. +1998-08-20 Andreas Jaeger - * po/el.po: New file. + * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value. + (F_GETOWN): Likewise. -1999-02-07 Andreas Schwab + * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from + Linux 2.1.117). - * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant - when processing DT_SYMBOLIC objects. +1998-08-20 Ulrich Drepper -1999-02-07 Andreas Schwab + * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not + already defined. - * elf/dl-load.c (_dl_map_object_from_fd): When looking for the - program headers without PT_PHDR only require that they are - contained within one of the loaded segments. Don't use assert, - since that would be a bug in the object, not the dynamic linker. +1998-08-18 Ulrich Drepper -1999-02-08 Richard Henderson - - * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and - restore all call-clobbered fp regs. - -1999-02-08 Ulrich Drepper - - * po/cs.po: New file. - - * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for - SUID binaries. - -1999-02-07 Ulrich Drepper - - * signal/signal.h: Don't declare __libc_allocate_rtsig. - * include/signal.h: Declare __libc_allocate_rtsig here. - - * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry - point functions, not do_lookup since the later can be called more - than once. - -1999-02-03 Jakub Jelinek - - * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME - macro, so that architectures which need to add some special - offset to stack pointer can share this file. - - * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file. - - * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove. - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove. - * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common - between sparc32 and sparc64. - - * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove. - * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove. - * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common - between sparc32 and sparc64. - - * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove. - * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove. - * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common - between sparc32 and sparc64. - - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove. - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove. - * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common - between sparc32 and sparc64. - -1999-02-07 Ulrich Drepper - - * Versions.def: New version GLIBC_2.1.1 for libc. - * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1. - * stdlib/labs.c: Moved to... - * sysdeps/generic/labs.c: ...here. - * stdlib/llabs.c: Moved to... - * sysdeps/generic/llabs.c: ...here. - * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other - header. Declare _Exit. - * sysdeps/generic/_exit.c: Add alias _Exit. - * sysdeps/mach/hurd/_exit.c: Likewise. - * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise. - * sysdeps/standalone/i960/nindy960/_exit.c: Likewise. - * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise. - * sysdeps/unix/_exit.c: Likewise. - * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare - imaxdiv and imaxabs. Declare lldiv_t if necessary. + * include/features.h: Define __USE_EXTERN_INLINES for recent + enough gcc. + * argp/argp.h: Define extern inline functions only if + __USE_EXTERN_INLINES is defined. + * libio/stdio.h: Likewise. + * math/math.h: Likewise. + * stdlib/stdlib.h: Likewise. + * string/argz.h: Likewise. + * sysdeps/generic/bits/sigset.h: Likewise. + * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise. + * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise. + * sysdeps/wordsize-32/inttypes.h: Likewise. * sysdeps/wordsize-64/inttypes.h: Likewise. - * sysdeps/wordsize-32/llabs.c: New file. - * sysdeps/wordsize-32/lldiv.c: New file. - * sysdeps/wordsize-64/labs.c: New file. - * sysdeps/wordsize-64/ldiv.c: New file. - * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv. - * manual/startup.texi: Document _Exit. + * wcsmbs/wchar.h: Likewise. -1999-02-07 Andreas Jaeger + * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat + to allow compilation without optimization. - * nscd/cache.c: Include for inet_ntop. +1998-08-14 Thorsten Kukuk -1999-02-06 Ulrich Drepper + * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no + more entries. + * nis/nss_compat/compat-initgroups.c: Likewise. + * nis/nss_compat/compat-pwd.c: Likewise. + * nis/nss_compat/compat-spwd.c: Likewise. + * nis/nss_nis/nis-alias.c: Likewise. + * nis/nss_nis/nis-ethers.c: Likewise. + * nis/nss_nis/nis-grp.c: Likewise. + * nis/nss_nis/nis-hosts.c: Likewise. + * nis/nss_nis/nis-initgroups.c: Likewise. + * nis/nss_nis/nis-network.c: Likewise. + * nis/nss_nis/nis-proto.c: Likewise. + * nis/nss_nis/nis-pwd.c: Likewise. + * nis/nss_nis/nis-rpc.c: Likewise. + * nis/nss_nis/nis-service.c: Likewise. + * nis/nss_nis/nis-spwd.c: Likewise. - * Versions.def: Add versions for ld.so. - * csu/Versions: Remove __libc_stack_end here. - * elf/Versions: Split libc definitions in libc and ld.so definitions. - * elf/Makefile (ld-map): Change to ld.so.map. - * scripts/versions.awk: Recognize dot in library names. + * nis/rpcsvc/yp.h: Generate new without 1024 byte limits. - * ctype/ctype.h: Remove definitions of __tolower and __toupper. - Don't use __tolower and __toupper in inline functions. - Add optimizing macros for tolower and toupper. - * ctype/ctype-extn.c (_tolower): Don't use __tolower. - (_toupper): Don't use __toupper. - * ctype/ctype.c (tolower): Don't use __tolower. - (toupper): Don't use toupper. + * nis/ypclnt.c: Try binding dir only first time, could be to old. - * nscd/cache.c (prune_cache): Correct printing of debugging messages. + * nis/yp_xdr.c: Remove 1024 byte limit. + * nis/ypupdate_xdr.c: Likewise. - * resolv/Versions (libresolv): Export __ns_name_unpack and - __ns_name_ntop. - * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and - make it global. Change all users. Similar for ns_name_ntop. - * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in - user-provided buffer. Use __ns_name_unpack and __ns_name_ntop - directly to detect too small buffer. - * resolv/nss_dns/dns-network.c: Likewise. + * nis/nss_nis/nis-publickey.c: Make sure, nobody could send + wrong data. - * stdio-common/Makefile (tests): Add scanf12. - * stdio-common/scanf12.c: New file. - * stdio-common/scanf12.input: New file. - * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of - floating-point correctly if the number is invalid. +1998-08-18 Roland McGrath - * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion - functions. - * stdio-common/printf_fp.c: Likewise. - * stdio-common/printf_fphex.c: Likewise. - * stdio-common/vfprintf.c: Likewise. + * Rules (binaries-static, binaries-shared static pattern rules): + Depend on lib%, not just libc%, from $(link-libc{,-static}). + + * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set + this here, overriding Makeconfig generic value so we link against + the RPC libs. + +1998-08-17 Ulrich Drepper + + * posix/tstgetopt.c (options): Add NULL entry at end + Patch by Adrian Miranda . + +1998-08-15 18:21 Ulrich Drepper + + * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD + to 9. + +1998-08-15 14:11 Ulrich Drepper + + * elf/elf.h: Add PPC Diab relocations. + + * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln. + +1998-08-14 10:08 Ulrich Drepper + + * manual/texinfo.tex: Update. + +1998-08-07 Geoff Keating + + * sysdeps/powerpc/backtrace.c: New file. + +1998-08-14 Philip Blundell + + * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling + sigjmp_save. + * sysdeps/arm/elf/setjmp.S: Obsolete, deleted. + +1998-08-11 Andreas Schwab + + * Makefile (install-symbolic-link): Fix spelling. + +1998-08-11 Andreas Schwab + + * elf/elf.h (SHT_HIOS): Fix value. + +1998-08-10 Andreas Schwab + + * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as + part of the expansion, this is undefined by the standard. + +1998-08-13 19:41 Ulrich Drepper + + * posix/getconf.c: Add support for systems with incomplete confname.h. + + * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined. + + * sysdeps/posix/wait3.c: Make it work. + +1998-08-13 Andreas Jaeger + + * Makefile ($(inst_slibdir)/libc-$(version).so): Remove. + (elf/ldso_install): Remove. + + * elf/Makefile (distribute): Add sln.c. + (others): Add sln. + (others-static): Add sln. + (install-rootsbin): Add sln. + (others-static): Add sln. + (ldso_install): Remove. + +1998-07-24 10:58 Andreas Schwab + + * Makerules (install-clean-symbolic-link-list): Make phony. + * Makefile (install-symbolic-link): Make phony. Depend on + subdir_install for parallel makes. -See ChangeLog.9 for earlier changes. +1998-07-22 Ulrich Drepper + + * elf/Makefile (distribute): Add sln.c + +1998-07-21 07:10 H.J. Lu + + * elf/sln.c: New file. + + * Makerules (symbolic-link-prog, symbolic-link-list): New macros. + (install-clean-symbolic-link-list): New target. + (install): Depend on install-clean-symbolic-link-list. + (make-shlib-link): Changed for $(symbolic-link-list). + + * Makefile (install-symbolic-link): New target. + (install): Depend on install-symbolic-link. + +1998-08-12 17:03 Ulrich Drepper + + * include/unistd.h: Protect against multiple inclusion. + + * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P + is defined, not is glob is defined. + * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P. + +1998-08-01 17:18 H.J. Lu + + * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of + xdr_string for ut_line, ut_name and ut_host. + +1998-08-12 Andreas Jaeger + + * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to + /var/mail in accordance with FHS 2.0. + Reported by Javier Kohen [PR libc/639]. + +1998-08-12 Richard Henderson + + * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg): + Update aliases for cancelation. + + * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before + playing with symbol versions. + +1998-08-12 Roland McGrath + + * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and + multiple inclusion protection. + (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES, + _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros, + define all these to 1. + (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it. + +1998-08-12 Roland McGrath + + * sysdeps/mach/usleep.c: Include . + (usleep): Return void. + +1998-08-11 Roland McGrath + + * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward + decl to inhibit warning in if_freenameindex defn. + + * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable. + + * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name. + + * sysdeps/mach/hurd/reboot.c: Include . + * sysdeps/mach/hurd/getdents.c: Include . + * sysdeps/mach/hurd/sbrk.c: Include . + * sysdeps/mach/usleep.c: Likewise. + + * sysdeps/mach/hurd/bind.c (bind): Add a const. + + * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn. + * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise. + * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise. + * sysdeps/mach/hurd/reboot.c (reboot): Likewise. + * sysdeps/mach/usleep.c (usleep): Likewise. + * sysdeps/mach/hurd/chflags.c (chflags): Likewise. + * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise. + * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise. + * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise. + +1998-08-11 Roland McGrath + + * sysdeps/generic/glob64.c: Include , , . + (glob64): Fix typo. + + * malloc/malloc.c (free_check, realloc_check): Don't cast to long for + %p arg to fprintf, since `void *' is the right type already. + +1998-07-25 19:47 Jose M. Moya + + * sysdeps/mach/hurd/getcwd.c + (_hurd_canonicalize_directory_name_internal): Do not loop forever + for unknown root directories. + (__getcwd): Return NULL when the current root directory could not + be reached. + +1998-08-11 18:39 Ulrich Drepper + + * string/strsignal.c (strsignal): Count real-time signals from zero. + + +See ChangeLog.8 for earlier changes. diff --git a/ChangeLog.11 b/ChangeLog.11 index 356da033c3..6736bcc1fa 100644 --- a/ChangeLog.11 +++ b/ChangeLog.11 @@ -1,13405 +1,13265 @@ -2000-11-09 Ulrich Drepper - - * version.h (VERSION): Bump to 2.2. - (RELEASE): Set to stable. - - * posix/Makefile (tst-dir-ARGS): Fix problem with compiling in - source directory. - (tst-chmod-ARGS): Likewise. - -2000-11-09 H.J. Lu - - * io/Versions (GLIBC_2.2): Add __open64. - -2000-11-09 Jakub Jelinek - - * locale/C-time.c (_nl_C_LC_TIME): Fix value for _NL_TIME_WEEK_1STWEEK. - -2000-11-09 Jakub Jelinek - - * locale/programs/ld-paper.c (paper_output): Fix offset into width - field. - -2000-10-27 Bruno Haible - - * locale/programs/charmap.c (charmap_read): Verify ASCII - compatibility of charmap. - -2000-11-08 Ulrich Drepper - - * catgets/gencat.c (main): Don't use exit() to avoid warnings with - broken compilers. - - * include/features.h (__STDC_ISO_10646__): Correct value to be - 200009L. Patch by Markus Kuhn . - -2000-11-08 H.J. Lu - - * pwd/Versions (GLIBC_2.1.2): Add getpwnam_r. - -2000-11-08 Jakub Jelinek - - * string/bits/string2.h: Check if _USE_STRING_ARCH_ macros are - defined, not _HAVE_STRING_ARCH_. - * sysdeps/i386/bits/string.h (_USE_STRING_ARCH_memset, - _USE_STRING_ARCH_strchr): Define. - * sysdeps/i386/i486/bits/string.h (_USE_STRING_ARCH_memset, - _USE_STRING_ARCH_strchr): Define. - * sysdeps/sparc/bits/string.h: New file. - -2000-11-08 Bruno Haible - - * locale/C-translit.h.in: Tweak result. - * locale/C-translit.h: Regenerated. - -2000-11-08 Ulrich Drepper - - * posix/unistd.h: Add attribute((const)) to sysconf prototype. - - * iconvdata/euc-kr.c (euckr_from_ucs4): Map 0x20a9 to \xa3dc. - (BODY from direction): Remove special handling of \x5c. - * iconvdata/EUC-KR.irreversible: Adjust for this change. - * iconvdata/testdata/EUC-KR..UTF8: Likewise. - Reported by Jungshik Shin . - -2000-11-07 Kazumoto Kojima - - * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Skip FPU fields. - -2000-11-06 Ulrich Drepper - - * iconvdata/big5.c: Regenerated after BIG5 charmap change. - Patch by Tung-Han Hsieh . - - * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Fix typo in - comparison with new cache magic bytes. - Patch by Denis Zaitsev . - -2000-11-03 Bruno Haible - - * locale/C-translit.h.in: Update from translit_neutral. - * locale/C-translit.h: Regenerated. - * intl/tst-translit.c: Update. - -2000-11-04 Mark Kettenis - - * sysdeps/mach/hurd/Dist: Remove clk_tck.c. - - * sysdeps/mach/hurd/Versions [libc] (GLIBC_2.1.1): Remove - __libc_clk_tck. - * sysdeps/mach/hurd/Makefile [$(subdir)==posix] (sysdep_routines): - Remove clk_tck. - * sysdeps/mach/hurd/clk_tck.c: Removed. - * sysdeps/mach/hurd/getclktck.c: New file. - * sysdeps/mach/hurd/setitimer.c (quantize_timeval): Use - __getclktck instead of __libc_clk_tck. - * sysdeps/mach/hurd/bits/time.h: Use __sysconf for CLK_TCK instead - of __libc_clk_tck. - * sysdeps/mach/hurd/i386/bits/time.h: Likewise. - -2000-11-03 Ulrich Drepper - - * posix/Versions: Export __sysconf. - -2000-11-02 Ulrich Drepper - - * version.h (VERSION): Bump to 2.1.97. - - * iconvdata/Makefile (distribute): Add viscii.c. - - * elf/Makefile (distribute): Add tst-pathopt.sh. - - * sysdeps/i386/i486/bits/string.h (strcmp): Cast arguments to - __strcmp_cc, __strcmp_cg, and __strcmp_gc to unsigned char *. - (__strcmp_cc, __strcmp_cg, __strcmp_gc): Remove casts of values here. - Reported by Denis Zaitsev . - - * iconvdata/utf-16.c (PREPARE_LOOP): Correct typo preventing BOM from - being written. - - * manual/socket.texi (Local Namespace Concepts): Don't mention what - permissions are necessary to connect to a socket. - Reported by Peter Eisentraut . - - * sysdeps/generic/backtracesyms.c (__backtrace_symbols): Fix - computation of total for 64-bit machines. - Patch by Byron Stanoszek . - - * manual/arith.texi (Rounding): Correct description of fesetround - return value. Patch by Conrado Badenas . - -2000-10-30 Maciej W. Rozycki - - * sysdeps/mips/dl-machine.h (elf_machine_rel): Add the symbol's - value plus the run-time displacement to the relocation for non-GOT - symbols. Set the relocation to the GOT entry for GOT symbols. - -2000-11-02 Ulrich Drepper - - * sysdeps/unix/sysv/linux/s390/bits/time.h: Removed. - -2000-11-01 Ulrich Drepper - - * iconvdata/TESTS: Add entries for IBM856, IBM930, IBM933, IBM935, - IBM937, IBM939, and IBM1046. - * iconvdata/testdata/IBM1046: New file. - * iconvdata/testdata/IBM930..UTF8: New file. - * iconvdata/testdata/IBM1046..UTF8: New file. - * iconvdata/testdata/IBM933: New file. - * iconvdata/testdata/IBM935: New file. - * iconvdata/testdata/IBM937: New file. - * iconvdata/testdata/IBM856..UTF8: New file. - * iconvdata/testdata/IBM939: New file. - * iconvdata/testdata/IBM933..UTF8: New file. - * iconvdata/testdata/IBM935..UTF8: New file. - * iconvdata/testdata/IBM930: New file. - * iconvdata/testdata/IBM856: New file. - * iconvdata/testdata/IBM937..UTF8: New file. - * iconvdata/testdata/IBM939..UTF8: New file. - Contributed by Masahide Washizawa . - -2000-11-01 Martin Buchholz - - * manual/memory.texi (Hooks for Malloc): Fix `caller' arg docs to - agree with implementation. - -2000-11-01 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/time.h (CLK_TCK): Cast sysconf result - to __clock_t. - * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise. - - * sysdeps/unix/sysv/linux/bits/socket.h (CMSG_ALIGN): Cast result - of unary ~ to size_t. - - * stdlib/strtod.c: Make gcc shut up about SWAP use. - - * sysdeps/i386/fpu/bits/mathinline.h: Add support for builtin - unordered compare functions to gcc 2.97 and up. - - * string/bits/string2.h: Disable strstr optimizations for newer - gcc versions. Patch by Joseph S. Myers . - - * configure.in (with_cvs): Test for pserver access. - -2000-10-31 Ulrich Drepper - - * elf/Versions [ld] (GLIBC_2.2): Export _dl_clktck and _dl_pagesize. - * elf/dl-load.c: Define _dl_clktck. - * elf/elf.h: Define AT_CLKTCK. - * include/time.h: Declare __getclktck. - * misc/Makefile (routines): Add getclktck. - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_CLKTCK. - (_dl_show_auxv): Show AT_CLKTCK value. - * sysdeps/generic/getclktck.c: New file. - * sysdeps/unix/sysv/linux/getclktck.c: New file. - * sysdeps/unix/sysv/linux/alpha/getclktck.c: New file. - * sysdeps/unix/sysv/linux/ia64/getclktck.c: New file. - * sysdeps/posix/sysconf.c: Use __getclktck to handle _SC_CLK_TCK. - * sysdeps/unix/sysv/linux/getpagesize.c: New file. - * sysdeps/unix/sysv/linux/bits/time.h: Use __sysconf to for CLK_TCK. - * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise. - - * sunrpc/clnt_gen.c (clnt_create): Don't set timeout with - clnt_control for any protocol. This would make it impossible for - the user to provide one in clnt_call(). - Reported by Hitoshi Guutara Maruyama . - * sunrpc/clnt_tcp.c (clnt_call): Don't use timeout in tests with zero, - use ct->ct_wait. - * sunrpc/clnt_unix.c (clnt_call): Likewise. - -2000-10-31 Jes Sorensen - - * sysdeps/ia64/fpu/s_isinfl.S: New file, - assembly based - implementation based on suggestion by Richard Henderson. - * sysdeps/ia64/fpu/s_isinfl.c: Removed. - -2000-10-30 Jes Sorensen - - * sysdeps/ia64/fpu/s_isnanl.S: New file - assembly based - implementation based on suggestion by Richard Henderson. - * sysdeps/ia64/fpu/s_isnanl.c: Removed. - -2000-10-31 Ulrich Drepper - - * locale/programs/locale.c (print_item): Fix one more problem with - string lists. Patch by Chen Xiangyang . - - * locale/categories.def: Add number of arguments to ctype-map-names - and ctype-class-names entries. Mark era as stringlist. - - * iconvdata/Makefile (modules): Add IBM856, IBM930, IBM933, IBM935, - IBM937, IBM939, and IBM1046. - (distribute): Add ibm856.c, ibm930.c, ibm933.c, ibm935.c, ibm937.c, - ibm939.c, ibm1046.c, ibm856.h, ibm930.h, ibm933.h, ibm935.h, ibm937.h, - ibm939.h, and ibm1046.h. - * iconvdata/gconv-modules: Add entries for IBM856, IBM930, IBM933, - IBM935, IBM937, IBM939, and IBM1046. - * iconvdata/ibm1046.c: New file. - * iconvdata/ibm1046.h: New file. - * iconvdata/ibm856.c: New file. - * iconvdata/ibm856.h: New file. - * iconvdata/ibm930.c: New file. - * iconvdata/ibm930.h: New file. - * iconvdata/ibm933.c: New file. - * iconvdata/ibm933.h: New file. - * iconvdata/ibm935.c: New file. - * iconvdata/ibm935.h: New file. - * iconvdata/ibm937.c: New file. - * iconvdata/ibm937.h: New file. - * iconvdata/ibm939.c: New file. - * iconvdata/ibm939.h: New file. - Patches by Masahide Washizawa . - -2000-10-30 Ulrich Drepper - - * locale/localeinfo.h (enum value_type): Add wstring, wstringarray, - and wstringlist. - * locale/categories.def: Mark wide char strings as wstring or - stringarray. - * locale/programs/locale.c (show_info): Handle wstring, wstringarray, - and wstringlist. Print keywords only if there is real output. - Reported by Chen Xiangyang . - - * sysdeps/sparc/fpu/bits/mathinline.h: Add __THROW where necessary. - Patch by Ben Collins . - - * stdio-common/Makefile (tests): Add tst-fmemopen. - * stdio-common/tst-fmemopen.c: New file. - Test case by Ben Collins . - - * libio/iofopncook.c (_IO_cookie_seek): Correct test for error. - - * libio/fmemopen.c (fmemopen_read): Return 0 at end of buffer. - (fmemopen_write): Set errno at end of buffer. - - * posix/runtests.c (main): Don't use exit() to avoid warning with - broken compilers. - - * string/bug-strncat1.c: Undefine __USE_STRING_INLINES before - defining it again to avoid warning. - * string/bug-strpbrk1.c: Likewise. - * string/bug-strspn1.c: Likewise. - -2000-10-29 Bruno Haible - - * locale/C-translit.h.in: Include more rules from translit_neutral. - Remove a few German and Danish specific rules. - * locale/gen-translit.pl: Avoid an error when printing a string - containing a '%' character. - * locale/C-translit.h: Regenerated. - * intl/translit.po: Choose different translations. - * intl/tst-translit.c: Update. - -2000-10-29 Bruno Haible - - * locale/programs/ld-ctype.c (translit_include_t): New type. - (locale_ctype_t): Remove translit_copy_locale, translit_copy_repertoire - fields, add translit_include field. - (ctype_read): After seeing "translit_start" in ignore_content mode, - skip the entire translit section, not only one line. Remove dead test - for tok_translit_end. Enqueue include statements into a list. - Signal error if tok_eof seen before tok_translit_end. - (translit_flatten): New function. - (allocate_arrays): Call translit_flatten. - -2000-10-30 Ulrich Drepper - - * locale/findlocale.c (free_mem): We can remove NODELETE marked - data, just not the C locale data. - - * intl/tst-gettext.c: Use setlocale() in addition to setting envvar. - * intl/tst-gettext.sh: Copy locale data if necessary. - * intl/Makefile (generated-dirs): Add localedir. - - * intl/dcigettext.c (guess_category_value): For libc always use - the setlocale() method. - - * intl/Makefile: Add rules to build, run and, distribute tst-gettext2. - * intl/tst-gettext2.c: New file. - * intl/tst-gettext2.sh: New file. - * intl/tstlang1.po: New file. - * intl/tstlang2.po: New file. - Patch by Andreas Jaeger . - -2000-10-26 GOTO Masanori - - * intl/locale.alias: Add ja_JP.ujis alias. - -2000-10-30 Ulrich Drepper - - * locale/findlocale.c (_nl_find_locale): Don't store normalized - name in *NAME. - -2000-10-29 Ben Collins - - * sysdeps/generic/lockf64.c: In the case of F_TEST, set l_type to - F_RDLCK explicitly. - * sysdeps/unix/sysv/linux/i386/lockf64.c: Likewise. - -2000-10-29 Ulrich Drepper - - * iconvdata/big5.c: Update. - Patch by Tung-Han Hsieh . - - * iconvdata/Makefile (distribute): Add BIG5.irreversible. - * iconvdata/BIG5.irreversible: New file. - -2000-10-29 Greg Louis - - * posix/regex.h (__restrict_arr): Move definition out of #ifndef block. - Required because egcs-2.91.66 (aka 1.1.2) defines __restrict, but - doesn't define __restrict_arr. - -2000-10-29 Ulrich Drepper - - * manual/search.texi: Correct description if VISIT values. - Patch by Ben Collins . - - * string/bits/string2.h (strspn): Evaluate first argument if - second is "". - (strpbrk): Likewise. - * sysdeps/i386/i486/bits/string.h: Likewise. - * string/Makefile (tests): Add bug-strspn1 and bug-strpbrk1. - * string/bug-strspn1.c: New file. - * string/bug-strpbrk1.c: New file. - Test cases by Joseph S. Myers . - - * string/bits/string2.h (strncat): Terminate string correctly. - * sysdeps/i386/i486/bits/string.h (strncat): Likewise. - * string/Makefile (tests): Add bug-strncat1. - * string/bug-strncat1.c: New file. - Test case by Joseph S. Myers . - -2000-10-27 Ben Collins - - * sysdeps/generic/lockf.c (lockf): Set l_type to F_RDLCK before - calling for F_GETLK. - -2000-10-29 Ulrich Drepper - - * elf/dl-load.c (open_path): Don't exit loop early if we didn't - use a directory at all. - - * elf/Makefile: Add rules to build and run tst-pathopt. - * elf/tst-pathopt.c: New file. - * elf/tst-pathopt.sh: New file. - * elf/pathoptobj.c: New file. - - * elf/elf.h (SHN_XINDEX): Define. - -2000-10-28 Ulrich Drepper - - * io/Makefile (tests): Add test-stat2. - (test-stat2-ARS): New variable. - * io/test-stat2.c: New file. - - * Makeconfig (ETAGS): Remove -T flag. - - * elf/dl-load.c (open_verify): Only try to load ET_DYN and ET_EXEC - objects. Reject all other types. - (_dl_map_object_from_fd): Optimize a bit. - -2000-10-27 Ulrich Drepper - - * stdio-common/Makefile (tests): Add tst-fseek. - * stdio-common/tst-fseek.c: New file. - - * posix/regex.c (gettext): Use correct translation domain for glibc. - - * argp/argp-parse.c: Use __dcgettext instead of dcgettext for glibc. - * argp/argp-help.c: Likewise. - * inet/getnameinfo.c (getnameinfo): Use __snprintf instead of snprintf. - * inet/rexec.c (rexec_af): Use __snprintf instead of snprintf. - * misc/regexp.c (__step): Use __regexec instead of regexec. - (__advance): Likewise. - * nss/digits_dots.c: Use __inet_aton instead of inet_aton. - * nscd/gethstbynm2_r.c (__inet_aton): Define as inet_aton since - the former is not exported. - * misc/daemon.c (daemon): Use __fork instead of fork. - - * stdlib/fmtmsg.c (fmtmsg): Change output format slightly to make - it look better and bring it closer to SysV behavior. - * stdlib/Makefile (distribute): Add tst-fmtmsg.sh. - (test-srcs): Add tst-fmtmsg. - (tests): Add $(objpfx)tst-fmtmsg.out. Add rule to generate it. - * stdlib/tst-fmtmsg.sh: New file. - * stdlib/tst-fmtmsg.c: New file. - - * iconvdata/Makefile (modules): Add VISCII. - (gen-8bit-modules): Add viscii. - * iconvdata/viscii.c: New file. - * iconvdata/gconv-modules: Add entries for VISCII. - * iconvdata/tst-tables.sh: Add VISCII. - -2000-10-27 Andreas Schwab - - * sysdeps/m68k/fpu/libm-test-ulps: Add some more ulps. - -2000-10-26 Ulrich Drepper - - * version.h (VERSION): Bump to 2.1.96. - - * inet/getipnodebyad.c: Removed. - * inet/getipnodebynm.c: Removed. - * inet/tst-ipnode.c: Removed. - * inet/freehostent.c: Removed. - - * sysdeps/unix/bsd/osf/=dirstream.h: Removed. - - * sysdeps/unix/sysv/linux/Dist: Add bits/initspin.h. - - * elf/Makefile (distribute): Add neededobj4.c. - - * iconvdata/Makefile (distribute): Add BIG5HKSCS.irreversible. - - * sysdeps/hppa/Dist: New file. - * sysdeps/unix/sysv/linux/hppa/Dist: New file. - - * posix/tst-chmod.c (do_test): Account for people running the - tests as root. - - * locale/langinfo.h (THOUSEP): Define this and don't duplicate - definition of THOUSANDS_SEP. - - * locale/C-monetary.c: Set mon_decimal to empty string. - Add missing entry _NL_MONETARY_CRNCYSTR. - * stdio-common/printf_fp.c: If MON_DECIAL_POINT is not provided use - DECIMAL_POINT information. - * locale/C-numeric.c: Set mon_grouping entry to empty string. - * locale/C-time.c: Add date_fmt entries. Remove two wrong entries. - Correct value for number of entries. - * locale/localeconv.c: Normalize result passed back in .grouping. - Fix assignment to .int_* entries. - - * locale/Makefile (tests): Add tst-C-locale. - * locale/tst-C-locale.c: New file. - - * locale/setlocale.c: Use LOCALEDIR and not LOCALE_PATH to locate - locale files. - * locale/newlocale.c: Likewise. - -2000-10-26 GOTO Masanori - - * locale/langinfo.h: Define _DATE_FMT and _NL_W_DATE_FMT. - * locale/categories.def: New support for date_fmt. - * locale/programs/ld-time.c: Likewise. - * locale/programs/locfile-kw.gperf: Likewise. - * locale/programs/locfile-kw.h: Likewise. - * locale/programs/locfile-token.h: Likewise. - -2000-10-26 Jakub Jelinek - - * sysdeps/ieee754/ldbl-128/e_hypotl.c: New. - - * math/libm-test.inc (cabs_test, cexp_test, csqrt_test, hypot_test): - Increase precision of constants. - * sysdeps/alpha/fpu/libm-test-ulps: Update. - * sysdeps/arm/libm-test-ulps: Update. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/ia64/fpu/libm-test-ulps: Update. - * sysdeps/m68k/fpu/libm-test-ulps: Update. - * sysdeps/mips/fpu/libm-test-ulps: Update. - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update. - * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update. - * sysdeps/sh/sh4/fpu/libm-test-ulps: Update. - * sysdeps/s390/fpu/libm-test-ulps: Update. - -2000-10-26 Ulrich Drepper - - * io/Makefile (tests): Add tst-fcntl. - * io/tst-fcntl.c: New file. - - * posix/Makefile (tests): Add tst-chmod. - (tst-chmod-ARGS): Define. - * posix/tst-chmod.c: New file. - - * test-skeleton.c: Before calling user-defined function remove - parameters from argument list. - * posix/tst-exec.c: Adjust to this change. - * posix/tst-spawn.c: Likewise. - - * sysdeps/unix/opendir.c (__opendir): Optimize a bit. Add - __builtin_expect. - -2000-10-25 Ulrich Drepper - - * intl/Makefile (tests): Add tst-ngettext. - * intl/tst-ngettext.c: New file. - -2000-10-25 Bruno Haible - - * manual/charset.texi: Fix spelling of __GCONV_FULL_OUTPUT. - * manual/message.texi (Translation with gettext): Remove paragraph - about macros contained in libintl.h. - (bind_textdomain_codeset): Describe codeset argument. - (Using gettextized software): Add setlocale call to sample code. - -2000-10-26 Kazumoto Kojima - Yutaka Niibe - - * sysdeps/sh/dl-machine.h (elf_machine_rela): Handle in place - relocation which is generated by new ld. - * sysdeps/sh/elf/initfini.c (_init): Preseted __fpscr_values. - (_fini): Delete an obsolete register prefix. - * sysdeps/unix/sysv/linux/sh/Versions: Add __xstat64, __fxstat64, - __lxstat64, alphasort64, glob64, readdir64, readdir64_r, scandir64 - and versionsort64 as the 2.2-versioned symbols. - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: New file. - * sysdeps/unix/sysv/linux/sh/brk.c: Changes for the new system call - calling convention of the kernel. - * sysdeps/unix/sysv/linux/sh/pipe.S: Likewise. - * sysdeps/unix/sysv/linux/sh/socket.S: Likewise. - * sysdeps/unix/sysv/linux/sh/clone.S: Likewise. - * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/sh/fcntl.c: New file. - * sysdeps/unix/sysv/linux/sh/lockf64.c: New file. - * sysdeps/unix/sysv/linux/sh/sys/user.h: Include the kernel header - file and delete the definitions of struct user and user_fp. - * sysdeps/unix/sysv/linux/sh/syscall.S: New file. - * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove entries for - s_ioctl, s_ipc, s_llseek, s_chown, s_fchown, s_lchown, s_execve, - rt_sigaction, rt_sigpending, rt_sigprocmask, rt_sigqueueinfo, - rt_sigsuspend, rt_sigtimedwait, s_getcwd, s_getdents, s_getgroups, - s_getpriority, s_getegid, s_geteuid, s_getuid, getresgid, getresuid, - s_getrlimit, s_poll, s_pread64, s_ptrace, s_pwrite64, s_reboot, - s_setrlimit, s_sigaction, s_sigpending, s_sigprocmask, s_sigsuspend, - s_setfsgid, s_setfsuid, s_setgid, s_setgroups, s_setregid, - s_setresgid, s_setresuid, s_setreuid, s_setuid, s_sysctl, - s_ugetrlimit, s_ustat, sys_fstat, sys_lstat, sys_mknod, sys_readv, - sys_stat, sys_writev and syscall. - -2000-10-25 Ulrich Drepper - - * io/test-lfs.c (do_prepare): Rewrite so it doesn't fail on systems - without LFS support. - - * sysdeps/ieee754/dbl-64/e_jn.c: Use __ieee754_sqrt instead of __sqrt. - * sysdeps/ieee754/dbl-64/e_j1.c: Likewise. - * sysdeps/ieee754/dbl-64/e_j0.c: Likewise. - * sysdeps/ieee754/flt-32/e_j1f.c: Likewise. - * sysdeps/ieee754/flt-32/e_j0f.c: Likewise. - -2000-10-25 David Mosberger - - * sysdeps/unix/sysv/linux/ia64/profil-counter.h: Multiply slot - number by four to use bins of width 4 to get accurate - instruction-level profiling. - -2000-10-25 Andreas Jaeger - - * sysdeps/generic/dl-cache.h (CACHEMAGIC_VERSION_NEW): Correct string. - -2000-10-25 Jakub Jelinek - - * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): When - converting struct flock64 to struct flock and back, use fcntl commands - which work on struct flock. - -2000-10-25 Jakub Jelinek - - * math/test-misc.c (main): Only check modfl if NO_LONG_DOUBLE is not - defined. - * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update. - * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update. - -2000-10-25 Ulrich Drepper - - * sysdeps/arm/libm-test-ulps: Updated. - - * sysdeps/generic/dl-cache.h (CACHEMAGIC_VERSION_NEW): New value. - -2000-10-25 Andreas Jaeger - - * elf/dl-load.c (_dl_map_object_from_fd): Remove unused variable. - (_dl_map_object): Likewise. - -2000-10-24 Paul Eggert - - * time/strftime.c (my_strftime macro) - [!defined _LIBC && HAVE_TZNAME && HAVE_TZSET]: - When redefining, do it without args, so that it works even if - emacs is defined and an extra argument is passed to my_stftime. - (my_strftime function): When evaluating a subformat, pass - ut_argument as well. - -2000-10-24 Andreas Schwab - - * sysdeps/unix/sysv/linux/ia64/Versions: Add pciconfig_read and - pciconfig_write. - -2000-10-25 Ulrich Drepper - - * sysdeps/generic/dl-cache.c (_dl_cache_verify_ptr): Correct test - for files with new cache format. - (_dl_load_cache_lookup): Add variable cache_data_size for size of the - data. Correctly report error if neither old not new signature is - found. Little optimizations. - Mostly based on a patch by Denis Zaitsev . - - * elf/dl-close.c (_dl_close): Optimize a bit by optimizing out the - nsearchlist variable. - -2000-10-24 Ulrich Drepper - - * elf/dl-lookup.c (add_dependency): Fix test to check whether - dependency already exists. - * elf/Makefile: Add testobj1 and testobj2 as dependencies of testobj6. - * elf/loadtest.c (main): Add test at the end that everything is - unloaded. - - * elf/dl-open.c (dl_open_worker): Fix typo in comment. - - * elf/elf.h: Add even more IA-64 relocations. - -2000-10-24 Geoffrey Keating - - * io/test-lfs.c (do_prepare): Call setrlimit64, in case the user - has a limit set---for instance, a limit of 2^31 bytes, which can't - easily be reset by non-LFS-aware shells. - - * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Define PAGE_SHIFT - explicitly rather than getting it from . - -2000-10-24 Ulrich Drepper - - * elf/dl-close.c (_dl_close): Handle relocation dependencies of - the dependencies of the object currently unloaded. - - * elf/dl-close.c (_dl_close): Don't free memory for global scope - list immediately when empty. Move code to... - (free_mem): ...here. Called as part of __libc_subfreeres list. - - * elf/dl-deps.c (_dl_map_object_deps): Put l_initfini array before - r_list array in allocated memory. - * elf/dl-close.c (_dl_close): Optimize access to l_initfini list - and remove use of r_list. - - * elf/dl-close.c (_dl_close): Use correct list (l_initfini) when - computing new opencounts. - * elf/Makefile: Add rules to build and run neededtest3. - * neededtest3.c: New file. - * neededobj4.c: New file. - - * elf/neededtest.c (main): Correct tests for failing dlopen. - -2000-10-24 Andreas Jaeger - - * elf/dl-lookup.c (add_dependency): Remove unused variable j. - -2000-10-24 Ulrich Drepper - - * malloc/obstack.c (_obstack_newchunk): Correctly align first returned - block. - * malloc/tst-obstack.c: New file. - Patch and test case by Alexandre Duret-Lutz . - * malloc/Makefile (tests): Add tst-obstack. - - Complete revamp of the reference counter handling. - * include/link.h (struct link_map): Add l_idx field. - * elf/dl-close.c: Handle decrementing of reference counters more - correctly. If necessary decrement reference counters of dependencies - of dependencies. - * elf/dl-lookup.c (add_dependency): Only increment reference counter - of the object itself and not also its dependencies. - * elf/dl-open.c: Increment reference counters here. - * elf/dl-deps.c: Remove reference counter handling here. - * elf/dl-load.c: Likewise. - * elf/rtld.c: Adjust for _dl_map_deps not handling reference counters. - - * elf/loadtest.c: Print loaded objects at the beginning. - -2000-10-24 Andreas Jaeger - - * sysdeps/mips/dl-machine.h: Partly revert patch from 2000-10-18. - -2000-10-23 Ulrich Drepper - - * include/link.h (struct link_map): New bit field l_faked. - * elf/dl-deps.c: Use l_faked field in struct link_map instead of - the magic l_opencount==0. - * elf/dl-load.c: Likewise. - * elf/dl-version.c: Likewise. - * elf/rtld.c: Likewise. - - * elf/dl-close.c (_dl_close): Add a few more __builtin_expect. - -2000-10-23 Jim Meyering - - Allow this code to be used outside of glibc. - * sysdeps/generic/memrchr.c: Undef __memrchr, too. - [!weak_alias]: Define __memrchr to memrchr. - Guard weak_alias use with `#ifdef weak_alias'. - -2000-10-23 Ulrich Drepper - - * elf/unload.c: Generate more debugging output. - - * elf/neededtest.c: Make it more complicated. - * elf/neededtest2.c: New file. - * elf/Makefile: Add rules to build and run neededtest2. - - * elf/dl-sym.c (_dl_sym): Use exact check for caller PC in range - of DSO address space. - (_dl_vsym): Likewise. - - * elf/dl-sym.c (_dl_sym): For RTLD_DEFAULT, search in objects - global scope if we can determine it. - -2000-10-23 Andreas Schwab - - * sysdeps/unix/sysv/linux/ia64/bits/resource.h (RLIMIT_LOCKS): Added. - (RLIMIT_NLIMITS): Sync with kernel definition. - (PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Also define as macros. - -2000-10-23 Andreas Schwab - - * sysdeps/m68k/fpu/libm-test-ulps: Updated. - -2000-10-23 Ulrich Drepper - - * elf/elf.h (R_IA64_GPREL32MSB, R_IA64_GPREL32LSB): New definitions. - -2000-10-22 Bruno Haible - - * iconvdata/big5hkscs.c (big5hkscs_to_ucs): Add irreversible mappings - for 0x8BF8, 0xA27E..0xA2A7. - * iconvdata/BIG5HKSCS.irreversible: New file. - -2000-10-23 Jakub Jelinek - - * timezone/zdump.c (main): setlocale LC_CTYPE as well as LC_MESSAGES. - * timezone/zic.c (main): Likewise. - -2000-10-23 Thorsten Kukuk - - * nscd/connections.c (invalidate_cache): Don't invalidate a cache - if it is not enabled. - -2000-10-23 Andreas Jaeger - - * sysdeps/s390/fpu/libm-test-ulps: New ulps. - - * sysdeps/unix/sysv/linux/mips/syscalls.list: Add fcntl64. - Patch by Ralf Baechle . - -2000-10-21 Ulrich Drepper - - * elf/dl-load.c (_dl_map_object_from_fd): Split out ELF file - verification in open_verify. - (open_verify): New function. Called instead of open. Ignores valid - files for other architectures. - (open_path): Call open_verify instead of open. - (_dl_map_object): Likewise. - Somewhat based on a patch by Don Dugger . - - * io/pwd.c (main): The output was missing a newline. - - * posix/fnmatch_loop.c: Make FNM_LEADING_DIR behave as GNU tar - expects it. Patch by Colin Watson . - * posix/tst-fnmatch.input: Add test cases for FNM_LEADING_DIR. - - * elf/dl-open.c (add_to_global): New function. Split out from - dl_open_worker. - (dl_open_worker): Call add_to_global not only for new objects, also for - previously loaded objects when (mode & RTLD_GLOBAL) and the object - was not yet in the global scope. - * elf/Makefile: Add rules to build and run lateglobal. - * elf/lateglobal.c: New file. - * elf/ltglobmod1.c: New file. - * elf/ltglobmod2.c: New file. - -2000-10-20 Ulrich Drepper - - * include/link.h (struct link_map): Add l_soname_added bitfield. - * elf/dl-load.c (_dl_map_object): Remember when we added the - SONAME to the l_libname list and don't try it again. - - * elf/dl-close.c: Decrement opencount for all dependencies which can - be removed even if the object is not yet unloaded. - * elf/dl-deps.c (_dl_map_object_deps): If dependency is already in - the list decrement opencount of all dependencies. - * elf/dl-load.c (_dl_map_object_from_fd): Increment object of object - and all dependencies. - (_dl_map_object): Likewise. - * elf/dl-lookup.c (add_dependency): Likewise. - - * elf/loadtest.c: Add debug when with more output. - - * elf/Makefile: Add rules to build and run unload2. - * elf/unload2.c: New file. - * elf/unload2mod.c: New file. - * elf/unload2dep.c: New file. - - * intl/libintl.h (ngettext macro): Add missing parameter. - (dngettext macro): Likewise. - -2000-10-19 H.J. Lu - - * elf/Makefile (distribute): Add neededtest.c, neededobj1.c, - neededobj2.c and neededobj3.c. - (tests): Add neededtest. - (modules-names): Add neededobj1, neededobj2 and neededobj3. - ($(objpfx)neededobj1.so): New target. - ($(objpfx)neededobj2.so): Likewise. - ($(objpfx)neededobj3.so): Likewise. - ($(objpfx)neededtest): Likewise. - ($(objpfx)neededtest.out): Likewise. - * elf/neededtest.c: New. Based on the bug report from - Allen Bauer . - * elf/neededobj1.c: Likewise. - * elf/neededobj2.c: Likewise. - * elf/neededobj3.c: Likewise. - -2000-10-20 Ulrich Drepper - - * elf/dl-load.c (_dl_map_object_from_fd): Pass pointer to ELF header - to elf_machine_matches_host. - * sysdeps/alpha/dl-machine.h (elf_machine_matches_host): Parameter - is now pointer to ELF header. - * sysdeps/arm/dl-machine.h: Likewise. - * sysdeps/generic/dl-machine.h: Likewise. - * sysdeps/hppa/dl-machine.h: Likewise. - * sysdeps/i386/dl-machine.h: Likewise. - * sysdeps/ia64/dl-machine.h: Likewise. - * sysdeps/m68k/dl-machine.h: Likewise. - * sysdeps/mips/dl-machine.h: Likewise. - * sysdeps/mips/mips64/dl-machine.h: Likewise. - * sysdeps/powerpc/dl-machine.h: Likewise. - * sysdeps/s390/dl-machine.h: Likewise. - * sysdeps/sh/dl-machine.h: Likewise. - * sysdeps/sparc/sparc32/dl-machine.h: Likewise. - * sysdeps/sparc/sparc64/dl-machine.h: Likewise. - Patch by Martin Schwidefsksy . - -2000-10-20 Jakub Jelinek - - * include/limits.h: Include bits/wordsize.h, use #if __WORDSIZE == 64 - check instead of #ifdef __alpha__. - * include/bits/xopen_lim.h (WORD_BIT, LONG_BIT): Don't count on - INT_MAX, __INT_MAX__, LONG_MAX or __LONG_MAX__ being defined when - this is included. - -2000-10-20 Ulrich Drepper - - * posix/wordexp-tst.sh (testout): Place output file in build - directory. Patch by Joseph S. Myers . - - * sysdeps/powerpc/fpu/bits/mathinline.h: Pretty print. - -2000-10-19 Ulrich Drepper - - * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn): - Correctly handle numeric group member information. - Patch by tomasw@cs.huji.ac.il. - - * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn): - Complete test for strtol overflow. - -2000-10-19 Jakub Jelinek - - * sysdeps/unix/sysv/linux/alpha/semctl.c (__new_semctl): Pass union - semun as 4th argument to semctl syscall, not address of it. - -2000-10-18 Franz Sirl - - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add fcntl64() syscall. - -2000-10-17 Andreas Schwab - - * string/string.h: Remove declaration of __strcasecmp and __strcasestr. - * include/string.h: Declare them here. - -2000-10-18 Ralf Baechle - - * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Include . - -2000-10-19 Geoffrey Keating - - * sysdeps/powerpc/fpu/bits/mathinline.h: Add versions - of the unordered comparison functions that use the GCC builtins. - - * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): New function. - (__process_machine_rela): Print the address of an overflowing - reloc. - -2000-10-18 Ulrich Drepper - - * sysdeps/unix/sysv/linux/shm_open.c: Correct default mount point - in comments. - (freeit): Remove unnecessary test. - -2000-10-18 Andreas Jaeger - - * sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_OK): New. - (ELF_MACHINE_BEFORE_RTLD_RELOC): Handle newer linkers. - (elf_machine_runtime_link_map): Likewise. - (elf_machine_runtime_setup): Likewise. - Handle dynamic linker's local got entries. - Patches by Ralf Baechle . - -2000-10-09 Maciej W. Rozycki - - * sysdeps/mips/dl-machine.h (_dl_runtime_resolve): Define $sp as - the frame pointer. Allocate stack space for $a0 for - __dl_runtime_resolve(). Do not save $sp in $s0 as it's - callee-saved anyway. - -2000-10-17 Ulrich Drepper - - * sysdeps/powerpc/fpu/libm-test-ulps: Update for changes in - libm-test.inc. - -2000-10-17 Andreas Schwab - - * sysdeps/m68k/fpu/libm-test-ulps: Update for changes in - libm-test.inc. - -2000-10-17 Jakub Jelinek - - * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE): - Add missing backslash. - -2000-10-16 Ulrich Drepper - - * sysdeps/generic/dl-sysdep.c (DL_FIND_ARG_COMPONENTS): Little cleanup. - - * sysdeps/i386/fpu/libm-test-ulps: Update for changes in libm-test.inc. - -2000-10-16 Jakub Jelinek - - * math/libm-test.inc (M_LOG_SQRT_PIl, M_LOG_2_SQRT_PIl): Increase - precision. - (acos_test, asin_text, cexp_test, cos_test, cproj_test, exp10_test, - sin_test, sincos_test, sqrt_test): Likewise. Add L suffixes also - to parameters. - (acosh_test, asinh_test, atan2_test, atanh_test, atan_test, cabs_test, - cacosh_test, cacos_test, casinh_test, casin_test, catanh_test, - catan_test, cbrt_test, ccosh_test, ccos_test, clog10_test, cosh_test, - csinh_test, csin_test, csqrt_test, ctanh_test, ctan_test, erfc_test, - erf_test, exp2_test, expm1_test, exp_test, fmod_test, hypot_test, - j0_test, j1_test, jn_test, lgamma_test, llrint_test, llround_test, - log10_test, log1p_test, log2_test, log_test, lrint_test, lround_test, - nextafter_test, nexttoward_test, pow_test, round_test, scalb_test, - sinh_test, static void, tanh_test, tan_test, tgamma_test, y0_test, - y1_test, yn_test): Add L suffixes also to parameters. - * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Fix mask. - * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise. - * soft-fp/op-2.h (_FP_FRAC_SRS_2): Fix computation of sticky bit. - -2000-10-16 Ulrich Drepper - - * timezone/Makefile: Define HAVE_GETTEXT for zdump.c, zic.c, - ialloc.c, and scheck.c. - * malloc/obstack.c: Always include for glibc. - * posix/getopt.c: Likewise. - Reported by Petr Vandrovec . - -2000-10-15 Pete Wyckoff - - * Rules: Define _LIBC during generation of bits/stdio_lim.d. - -2000-10-15 Pete Wyckoff - - * iconvdata/tst-tables.sh: Invoke other shell scripts through ${SHELL}. - * iconvdata/tst-table.sh: Likewise. - -2000-10-15 Ulrich Drepper - - * elf/dl-error.c (_dl_signal_error): Allocate memory for objname - as well. Reported by Alexander V. Lukyanov . - - * iconvdata/gconv-modules: Add aliases for Windows charsets. - Patch by Joseph S. Myers . - -2000-10-13 Andreas Schwab - - * elf/elf.h (R_IA64_PCREL60B): Add relocation. - -2000-10-15 Ulrich Drepper - - * sysdeps/unix/sysv/linux/hppa/brk.c: Cleanups. - * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise. - * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Likewise. - * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise. - -2000-10-14 Ulrich Drepper - - * math/libm-test.inc (frexp_test): Add L suffix also to parameters. - (hypot_test): Likewise. - - * sysdeps/generic/printf_fphex.c: Compute width of decimal point - string correctly. Handle padding correctly. - - * sysdeps/ia64/fpu/printf_fphex.c: Use sizeof in _itowa parameters - correctly. - * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise. - * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise. - -2000-10-12 Alan Modra - - * FAQ.in: Add --start-group and --end-group. - -2000-10-12 Alan Modra - - * malloc/memusage.c: Conditionalize stack usage calculation on - stack direction. - -2000-10-12 Alan Modra - - * config.h.in: Add ASM_LINE_SEP. - * configure.in: Add test for comment and line separators. - * include/libc-symbols.h: Define and use ASM_LINE_SEP, and add tabs to - placate some hppa assemblers. - * sysdeps/hppa/sysdep.h: Likewise. - * sysdeps/gnu/siglist.c: Insert \n and \t into inline asm. - * sysdeps/unix/sysv/linux/errlist.c: Likewise. - -2000-10-12 David Huggins-Daines - - * sysdeps/unix/sysv/linux/Makefile: Include in - $(sysdep_headers). - * sysdeps/unix/sysv/linux/bits/initspin.h: Dummy version for - non-threaded platforms. - -2000-10-12 David Huggins-Daines - - * configure.in: Add definitions for hppa. - * elf/elf.h: Add PLABEL32 relocation for hppa ELF32, comments - for IPLT and EPLT relocations. - * shlib-versions: Version symbol definitions for hppa-linux. - * sysdeps/unix/sysv/linux/configure.in: Define $arch_minimum_kernel - for hppa. - -2000-10-12 David Huggins-Daines - - * sysdeps/hppa/Makefile: New file. - * sysdeps/hppa/Versions: New file. - - * sysdeps/hppa/setjmp.S: New file. - * sysdeps/hppa/__longjmp.S: New file. - * sysdeps/hppa/bits/setjmp.h: New file. - * sysdeps/hppa/frame.h: New file. - - * sysdeps/hppa/add_n.s: Don't use %r19 (linkage table pointer). - * sysdeps/hppa/sub_n.s: Likewise. - * sysdeps/hppa/lshift.s: Likewise. - * sysdeps/hppa/rshift.s: Likewise. - * sysdeps/hppa/udiv_qrnnd.s: Likewise. - * sysdeps/hppa/hppa1.1/addmul_1.s: Likewise. - * sysdeps/hppa/hppa1.1/submul_1.s: Likewise. - * sysdeps/hppa/hppa1.1/mul_1.s: Likewise. - * sysdeps/hppa/hppa1.1/udiv_qrnnd.s: Likewise. - - * sysdeps/hppa/dl-machine.h: New file. - * sysdeps/hppa/dl-fptr.c: New file (note that this is almost - identical to the IA-64 one). - * sysdeps/hppa/dl-lookupcfg.h: Likewise. - * sysdeps/hppa/dl-symaddr.c: Likewise. - - * sysdeps/hppa/elf/initfini.c: New file. - * sysdeps/hppa/elf/start.S: New file. - - * sysdeps/hppa/fpu/bits/fenv.h: New file. - * sysdeps/hppa/fpu/fclrexcpt.c: New file. - * sysdeps/hppa/fpu/fedisblxcpt.c: New file. - * sysdeps/hppa/fpu/feenablxcpt.c: New file. - * sysdeps/hppa/fpu/fegetenv.c: New file. - * sysdeps/hppa/fpu/fegetexcept.c: New file. - * sysdeps/hppa/fpu/fegetround.c: New file. - * sysdeps/hppa/fpu/feholdexcpt.c: New file. - * sysdeps/hppa/fpu/fesetenv.c: New file. - * sysdeps/hppa/fpu/fesetround.c: New file. - * sysdeps/hppa/fpu/feupdateenv.c: New file. - * sysdeps/hppa/fpu/fegetexcptflg.c: New file. - * sysdeps/hppa/fpu/fraiseexcpt.c: New file. - * sysdeps/hppa/fpu/fsetexcptflg.c: New file. - * sysdeps/hppa/fpu/ftestexcept.c: New file. - - * sysdeps/unix/sysv/linux/hppa/Makefile: New file. - * sysdeps/unix/sysv/linux/hppa/Versions: New file. - * sysdeps/unix/sysv/linux/hppa/syscalls.list: New file. - * sysdeps/unix/sysv/linux/hppa/sysdep.c: New file. - * sysdeps/unix/sysv/linux/hppa/sysdep.h: New file. - - - * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: New file. - * sysdeps/unix/sysv/linux/hppa/bits/ioctls.h: New file. - * sysdeps/unix/sysv/linux/hppa/bits/mman.h: New file. - * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: New file. - * sysdeps/unix/sysv/linux/hppa/bits/signum.h: New file. - * sysdeps/unix/sysv/linux/hppa/brk.c: New file. - * sysdeps/unix/sysv/linux/hppa/clone.S: New file. - * sysdeps/unix/sysv/linux/hppa/socket.S: New file. - * sysdeps/unix/sysv/linux/hppa/syscall.S: New file. - * sysdeps/unix/sysv/linux/hppa/setrlimit.c: New file. - * sysdeps/unix/sysv/linux/hppa/getrlimit.c: New file. - * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: New file. - * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: New file. - * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: New file. - * sysdeps/unix/sysv/linux/hppa/mmap.c: New file. - * sysdeps/unix/sysv/linux/hppa/profil-counter.h: New file. - * sysdeps/unix/sysv/linux/hppa/procfs.h: New file. - * sysdeps/unix/sysv/linux/hppa/ucontext.h: New file. - * sysdeps/unix/sysv/linux/hppa/umount.c: New file. - -2000-10-12 Alan Modra - - * sysdeps/hppa/hppa1.1/Implies: New file. - * sysdeps/hppa/memusage.h: New file. - -2000-10-28 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/Versions: Export ioperm, iopl, inb, - inw, inl, _inb, _inw, _inl, outb, outw, outl, _outb, _outw, - _outl. Reported by Bill Nottingham. - -2000-04-06 Andreas Schwab - - * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and - restore register r8 for functions that return a structure. - -2000-10-12 Jakub Jelinek - - * math/libm-test.inc (M_PI_6l, M_E2l, M_E3l, M_2_SQRT_PIl, - M_SQRT_PIl): Increase precision. - (cbrt_test): If cbrt is not implemented, don't test it. - Add L suffix to double constants in results which differ from their - L suffixed counterparts. - (exp10_test, fmod_test, frexp_test, hypot_test, sqrt_test): Likewise. - - * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update. - -2000-10-11 Jakub Jelinek - - * inet/rexec.c (rexec_af): Convert rport to host order before - passing it to snprintf. - -2000-10-14 Ulrich Drepper - - * sysdeps/gnu/netinet/tcp.h: Use u_intXX_t types instead of - uintXX_t since this is what defines and we include - this header. Reported by Bernhard Rosenkraenzer . - - * intl/localealias.c (read_alias_file): Update string pointers - in map[] if realloc() changed the values. - Patch by Jakub Jelinek . - - * manual/stdio.texi: Update printf extension documentation after - z became a valid modifier. - Patch by Joseph S. Myers . - - * timezone/africa: Update from tzcode2000g and tzdata2000g. - * timezone/asia: Likewise. - * timezone/australasia: Likewise. - * timezone/backward: Likewise. - * timezone/europe: Likewise. - * timezone/iso3166.tab: Likewise. - * timezone/northamerica: Likewise. - * timezone/southamerica: Likewise. - * timezone/zone.tab: Likewise. - -2000-10-14 Geoffrey Keating - - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add fcntl() - syscall. - -2000-10-13 Michael Fedrowitz - - * sysdeps/unix/sysv/linux/m68k/alphasort64.c: New file. - * sysdeps/unix/sysv/linux/m68k/fcntl.c: New file. - * sysdeps/unix/sysv/linux/m68k/getdents64.c: New file. - * sysdeps/unix/sysv/linux/m68k/getrlimit.c: New file. - * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: New file. - * sysdeps/unix/sysv/linux/m68k/glob64.c: New file. - * sysdeps/unix/sysv/linux/m68k/lockf64.c: New file. - * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: New file. - * sysdeps/unix/sysv/linux/m68k/readdir64.c: New file. - * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: New file. - * sysdeps/unix/sysv/linux/m68k/scandir64.c: New file. - * sysdeps/unix/sysv/linux/m68k/setrlimit.c: New file. - * sysdeps/unix/sysv/linux/m68k/versionsort64.c: New file. - * sysdeps/unix/sysv/linux/m68k/Dist: Add oldgetrlimit64.c. - * sysdeps/unix/sysv/linux/m68k/Makefile: Add oldgetrlimit64. - * sysdeps/unix/sysv/linux/m68k/Versions: Export __xstat64, - __fxstat64, __lxstat64, alphasort64, glob64, getrlimit, setrlimit, - getrlimit64, readdir64, readdir64_r, scandir64, versionsort64 at - GLIBC_2.2. - * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add oldgetrlimit, - oldsetrlimit for GLIBC_2.0. - - * sysdeps/m68k/dl-machine.h (_dl_start_user): Pass correct - arguments to _dl_init. - -2000-10-13 Geoffrey Keating - - * sysdeps/i386/fpu/libm-test-ulps: Update ULPs for my Pentium III - building with the default options. - -2000-10-11 Andreas Jaeger - - * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set cache. - Patch by Denis Zaitsev . - -2000-10-09 Jakub Jelinek - - * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): If x == y, - return y not x. - * manual/arith.texi (nextafter): Document it. - * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Fix a comment. - -2000-10-08 Ulrich Drepper - - * version.h (VERSION): Bump to 2.1.95. - - * configure.in: Remove warning message. - - * nscd/Makefile (distribute): Add nscd-types.h. - * elf/Makefile (distribute): Add gccframe.h. - * sysdeps/sparc/sparc32/Dist: Add ieee754.h. - * sysdeps/ia64/Dist: Add ieee754.h. - -2000-10-07 Ulrich Drepper - - * elf/elf.h: Add a few section-related symbols. - - * include/features.h (__STDC_ISO_10646__): Set to correct date. - Patch by Markus Kuhn . - -2000-10-06 Jes Sorensen - - * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Implement - overflow generation by adding DBL_MAX to DBL_MAX instead of - setting the bits manually in the fpsr and generating the exception - with kill() if necessary. - (feraiseexcept): Implement underflow by dividing DBL_MIN by - DBL_MIN - similar to the overflow change described above. - -2000-08-27 H.J. Lu - - * sysdeps/unix/sysv/linux/ia64/clone.S: Make it a dummy as clone - is not supported under Linux/ia64, use clone2. - -2000-10-06 Jakub Jelinek - - * malloc/malloc.h (__THROW): Define to nothing if not gcc. - * misc/sys/cdefs.h (__THROW): Likewise. - -2000-10-05 Jakub Jelinek - - * sysdeps/sparc/sparc64/fpu/libm-test-ulps: New file. - -2000-10-02 Jakub Jelinek - - * sunrpc/svc_udp.c (svcudp_recv): Set msg_controllen to all - remaining xp_pad space. - -2000-10-05 Jakub Jelinek - - * elf/dl-close.c (_dl_close): Check imap's l_flags_1 for - DF_1_NODELETE, not list[i]'s. - -2000-10-04 Ulrich Drepper - - * iconvdata/euc-kr.c (euckr_from_ucs4): Handle U20a9. - (BODY from direction): Map \x5c to U20a9. - * iconvdata/testdata/EUC-KR..UTF8: Adjust to this change. - * iconvdata/EUC-KR.irreversible: New file. - * iconvdata/Makefile (distribute): Add EUC-KR.irreversible. - - * argp/argp-parse.c (argp_default_argp): Set libc as message domain. - (argp_version_argp): Likewise. - -2000-10-04 Jakub Jelinek - - * stdio-common/vfscanf.c (_IO_vfscanf): For [ conversion do - input_error() if EOF is seen before processing. - * stdio-common/tstscanf.c (main): Add testcase. - -2000-10-04 Ulrich Drepper - - * argp/argp-help.c: Make sure we get the correct gettext and - dgettext definitions. - * argp/argp-parse.c: Likewise. - -2000-10-03 Ulrich Drepper - - * locale/programs/linereader.c (get_string): Also clear wide - string info if illegal_string. - -2000-10-03 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/bits/stat.h: New file. - -2000-10-02 Jakub Jelinek - - * elf/nextmod1.c (failing_rtld_next_use): Ensure it is not tail call - optimized. - - * sysdeps/sparc/sparc32/fpu/libm-test-ulps: New file. - -2000-10-02 Ralf Baechle - - * sysdeps/unix/sysv/linux/mips/sys/tas.h: Add missing .mips0 at the - end of inline assembler code. - -2000-10-02 Ulrich Drepper - - * include/features.h [__USE_FILE_OFFSET && !__REDIRECT]: Define - __USE_LARGEFILE64 and __USE_LARGEFILE to 1 and not nothing. - -2000-10-02 Andreas Jaeger - - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Synch with Linux - 2.4.0-test9-pre8. - - * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Add RLIMIT_LOCKS. - -2000-10-01 Ralf Baechle - - * sysdeps/mips/dl-machine.h (RTLD_START): Fix computation of envp - argument passed to _dl_init. - -2000-09-30 Bruno Haible - - * locale/programs/charmap-dir.h: New file. - * locale/programs/charmap-dir.c: New file. - * locale/programs/linereader.h (lr_create): New declaration. - * locale/programs/linereader.c (lr_create): New function, split out - from lr_open. - (lr_open): Tailcall lr_create. - * locale/programs/locale.c: Include "charmap-dir.h". Don't include - . - (xstrdup): New declaration. - (more_help): Use xstrdup instead of strdup. - (write_locales): Likewise. When encountering a symbolic link, call - stat. - (write_charmaps): Simplify using the charmap-dir.h functions. - Use xstrdup instead of strdup. - * locale/programs/charmap.c: Include "charmap-dir.h". Don't include - and . - (cmlr_open): New function. - (charmap_read): Use cmlr_open instead of lr_open. Simplify using the - charmap-dir.h functions. - * locale/Makefile (distribute): Add charmap-dir.h. - (lib-modules): Add charmap-dir. - (CFLAGS-charmap-dir.c): Set to -Wno-write-strings, because posix_spawn - wants a 'char **', not a 'const char **'. - * include/spawn.h: New file. - -2000-09-30 Bruno Haible - - * posix/spawn_faction_init.c: Include "spawn_int.h". - (__posix_spawn_file_actions_realloc): Fix second realloc argument. - -2000-09-30 Bruno Haible - - * locale/programs/config.h (DEFAULT_CHARMAP): Set to ANSI_X3.4-1968. - -2000-09-30 Bruno Haible - - * wcsmbs/wcwidth.h (__ctype32_wctype): Remove declaration. - (internal_wcwidth): Remove the tests for L'\0' and iswprint. - * locale/programs/ld-ctype.c (find_idx): If max == NULL, return - a pointer to the table entry, without extending the table. - (allocate_arrays): Set a width only for characters with 'print' - property. Set the width of L'\0' to 0. - * locale/C-ctype.c (_nl_C_LC_CTYPE_width): Use default entry 0xff - for unprintable characters. Set entry of NUL to 0. - -2000-09-30 Bruno Haible - - * locale/programs/charmap.c (charmap_read): Avoid redundant tests. - Don't forget to call closedir when the filename was found as a - code_set_name. - -2000-09-30 Bruno Haible - - * iconv/gconv.h (__gconv_trans_context_fct): Change first argument's - type to 'void *'. - -2000-09-30 Bruno Haible - - * locale/programs/ld-ctype.c (wctype_table_init): Initialize level1, - level2, and level3 as well. - (wctype_table_add): Remove a few unnecessary conditionals. - -2000-09-30 Ralf Baechle - - * wcsmbs/Versions [libc] (GLIBC_2.0): Add __mbrtowc. - -2000-09-30 H.J. Lu - - * sysdeps/ieee754/ldbl-96/s_ceill.c (__ceill): Handle overflow. - * sysdeps/ieee754/ldbl-96/s_floorl.c (__floorl): Likewise. - -2000-09-29 H.J. Lu - - * math/libm-test.inc (init_max_error): Clear all exceptions - before starting test. - (acosh_test): Test for existence of function. - (asinh_test): Likewise. - (atan2_test): Likewise. - (cabs_test): Likewise. - (cacos_test): Likewise. - (cacosh_test): Likewise. - (casin_test): Likewise. - (casinh_test): Likewise. - (catan_test): Likewise. - (catanh_test): Likewise. - (ccos_test): Likewise. - (ccosh_test): Likewise. - (cexp_test): Likewise. - (clog_test): Likewise. - (clog10_test): Likewise. - (cosh_test): Likewise. - (cpow_test): Likewise. - (csin_test): Likewise. - (csinh_test): Likewise. - (csqrt_test): Likewise. - (ctan_test): Likewise. - (ctanh_test): Likewise. - (fmod_test): Likewise. - (hypot_test): Likewise. - (remainder_test): Likewise. - (remquo_test): Likewise. - (sincos_test): Likewise. - (sinh_test): Likewise. - (tanh_test): Likewise. - -2000-09-29 H.J. Lu - - * sysdeps/ia64/ieee754.h: New file. - - * sysdeps/ia64/fpu/math_ldbl.h: New file. - -2000-09-30 Jakub Jelinek - - * elf/ldconfig.h (FLAG_X8664_LIB64): Define. - * sysdeps/unix/sysv/linux/i386/readelflib.c: New file. - -2000-09-30 Ulrich Drepper - - * manual/charset.texi: Correct notations, reference to C90 amd 1, - and some other details. - * manual/ctype.texi: Likewise. - Patches by Markus Kuhn . - -2000-09-30 Franz Sirl - - * sysdeps/ieee754/flt-32/s_frexpf.c: Make it aliasing safe. - -2000-09-29 Ulrich Drepper - - * elf/cache.c (save_cache): Initialize __unused field in new cache - as well to get reproducable results. - -2000-09-29 H.J. Lu - - * sysdeps/ia64/fpu/libm-test-ulps: Updated for long double. - -2000-09-29 H.J. Lu - - * sysdeps/ia64/bits/huge_val.h: New file. - -2000-09-29 Ulrich Drepper - - * elf/chroot_canon.c: Don't report a failure if the last path - component is not available. - * elf/ldconfig.c (parse_conf): Use canonicalized name when reporting - error. - - * elf/cache.c (print_cache): Use stat64 instead of stat. - * elf/ldconfig.c (chroot_stat): Likewise. - (create_links): Likewise. - (manual_link): Likewise. - (search_dir): Likewise. - * elf/readlib.c (process_file): Likewise. - - * Makefile (install): Set LC_ALL and LANGUAGE to C before running - ldconfig. - -2000-09-29 Jakub Jelinek - - * elf/chroot_canon.c: New file. - * elf/Makefile: Build and distribute it. - * elf/ldconfig.h (process_file): Add real_file_name argument. - (chroot_canon): Add prototype. - * elf/ldconfig.c (cache_file): Remove const. - (chroot_stat): New. - (create_links): Add real_path argument. - If opt_chroot, maintain both real and given filenames. - (manual_link): Likewise. - (search_dir): Likewise. - (parse_conf): If opt_chroot, use chroot_canon to find the real - config file. - (main): For -r, try to use chroot, if it fails, leave opt_chroot set - and use chroot_canon where appropriate to do the same as if chroot - succeeded. - * elf/readlib.c (process_file): Add real_file_name argument, pass it - to fopen. - -2000-09-29 Ulrich Drepper - - * math/complex.h (_Complex): We can be more specific when _Complex - is defined by the compiler. - -2000-09-29 H.J. Lu - - * sysdeps/unix/sysv/linux/ia64/dl-cache.h: New. - - * elf/cache.c (print_entry): Replace 64bit with IA-64 in message - for x86/IA-64 binary. - -2000-09-29 Andreas Schwab - - * sysdeps/unix/sysv/linux/ia64/readelflib.c: New file. - - * elf/cache.c (print_entry): Check for FLAG_IA64_LIB64. - -2000-09-29 Mark Kettenis - - * sysdeps/mach/hurd/dl-sysdep.c (__access): New function. Dummy - implementation for use by the dynamic linker. - -2000-09-29 Andreas Jaeger - - * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Protect DN_* by - __USE_GNU. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. - -2000-09-29 Andreas Jaeger - - * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Synch with Linux - 2.4.0-test9-pre7. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. - -2000-09-29 David Mosberger - - * sysdeps/unix/sysv/linux/ia64/sysdep.S (__ia64_syscall): Cleanup. - - * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Implement. - -2000-06-10 David Mosberger - - * sysdeps/unix/sysv/linux/ia64/setjmp.S: Fix it so it actually - works: call to __sigjmp_save must be done unconditionally to - ensure jmp_buf is initialized properly. - -2000-09-27 Andreas Jaeger - - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Synch with Linux - 2.4.0-test9-pre7. - -2000-09-29 Jakub Jelinek - - * nscd/nscd-client.h (NSCD_VERSION): Bump to 3. - Use nscd_ssize_t where appropriate. - * nscd/nscd_gethst_r.c (nscd_gethst_r): Use nscd_ssize_t instead of - ssize_t where appropriate. - * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. - * nscd/hstcache.c (cache_addhst): Likewise. - * nscd/grpcache.c (cache_addgr): Likewise. - * sysdeps/generic/nscd-types.h: New file. - * sysdeps/alpha/nscd-types.h: New file. - -2000-09-29 Ulrich Drepper - - * inet/getnameinfo.c (nrl_domainname): Use symbolic constant - INADDR_LOOPBACK instead of numeric value. - -2000-09-28 H.J. Lu - - * sysdeps/ia64/dl-machine.h (RTLD_START): Adjust _dl_argv by - _dl_skip_args. - (ELF_MACHINE_FIXED_STACK): Removed. - -2000-09-29 Andreas Jaeger - - * sysdeps/unix/sysv/linux/s390/lockf64.c: New file. - - * sysdeps/unix/sysv/linux/s390/fcntl.c: New file. - - * sysdeps/unix/sysv/linux/powerpc/lockf64.c: New file. - - * sysdeps/unix/sysv/linux/powerpc/fcntl.c: New file. - -2000-09-28 Ulrich Drepper - - * sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle unaligned - relocation also for R_ALPHA_RELATIVE. - Reported by Ivan Kokshaysky . - -2000-09-18 Bruno Haible - - * intl/dcigettext.c: Outside libc, use local variable names that don't - clash with those in libc. - * intl/bindtextdom.c: Likewise. - * intl/textdomain.c: Likewise. - -2000-09-28 Ulrich Drepper - - * elf/ldconfig.c (parse_conf): Print full name of config dir - including chroot() path. - (main): Remove trailing / from opt_chroot string. - - * include/features.h: Correct description of what happens if no - *_SOURCE macro is defined. - - * sysdeps/posix/getaddrinfo.c (gaih_inet): Handle req->ai_socktype - correctly. Reported by Felix von Leitner . - -2000-09-19 H.J. Lu - - * malloc/malloc.h (__memalign_hook): Fix the parameter order. - * malloc/malloc.c (__memalign_hook): Likewise. - (memalign_hook_ini): Likewise. - -2000-09-28 Ulrich Drepper - - * stdio-common/tmpnam.c (tmpnam): Optimize a bit. - - * sysdeps/posix/getaddrinfo.c (gaih_local): Don't use tmpnam, use - underlying functions directly. - - * sysdeps/unix/sysv/linux/bits/resource.h: Add RLIMIT_LOCKS. - * sysdeps/unix/sysv/linux/arm/bits/resource.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/resource.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: Likewise. - * sysdeps/unix/sysv/linux/sh/bits/resource.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise. - -2000-09-28 Franz Sirl - - * sysdeps/unix/sysv/linux/kernel-features.h: Add __ASSUME_IPC64, only - define it for powerpc for kernel >= 2.4.0. - * sysdeps/unix/sysv/linux/msgctl.c: Test for __ASSUME_IPC64, not - __ASSUME_32BITUIDS. - * sysdeps/unix/sysv/linux/semctl.c: Likewise. - * sysdeps/unix/sysv/linux/shmctl.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Sync with kernel. - * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: New file. - * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: New file. - * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: New file. - -2000-09-28 Martin Schwidefsksy - - * sysdeps/s390/atomicity.h: Fix compare_and_swap. - - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h - (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8. - -2000-09-28 Denis Joseph Barrow - - * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Use definitions from - ucontext.h. - * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Fix ucontext structure. - -2000-09-27 Andreas Schwab - - * math/Makefile (distribute): Explicitly add the long double test - sources, to get them included even if long double is not supported. - -2000-09-27 Jes Sorensen - - * elf/soinit.c (struct object): Move definition to gccframe.h and - include it. Problem identified by HJ Lu. - - * sysdeps/ia64/gccframe.h: New file. ia64 specific version of - struct object to be searched for frame unwind info. - * sysdeps/generic/gccframe.h: New file. Generic version of - struct object to be searched for frame unwind info. - -2000-09-28 Ulrich Drepper - - * manual/errno.texi: Correct error text for ENXIO. - Reported by Jörg Schilling . - -2000-09-27 Jes Sorensen - - * sysdeps/ia64/fpu/fsetexcptflg.c (fesetexceptflag): Set the - exception status bits rather than the exception disable bits. - Don't include math.h. - - * sysdeps/ia64/fpu/fgetexcptflg.c (fegetexceptflag): Report the - status of exceptions currently raised rather than which exceptions - are enabled. - - * sysdeps/ia64/fpu/fclrexcpt.c (feclearexcept): Typecase to fenv_t - rather than unsigned long int. - - * sysdeps/ia64/fpu/fedisblxcpt.c (fedisableexcept): Only disable - the exceptions actually requested by the caller and not just - disable all exceptions. - - * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Exceptions on - the ia64 are enabled by clearing the respective bits in the fpsr, - not setting them. - - * sysdeps/ia64/bits/fenv.h: typedef fexcept_t and fenv_t to - unsigned long int rather than unsigned long to be consistent with - the coding conventions. - -2000-09-20 H.J. Lu - - * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Use fenv_t instead of - unsigned long int. - * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise. - -2000-09-28 Ulrich Drepper - - * string/bits/string2.h: Unify #if usage. - -2000-09-27 Jakub Jelinek - - * math/test-fenv.c (feexcp_mask_test): If enabling all exceptions - and disabling underflow or overflow, disable inexact as well. - -2000-09-26 Andreas Jaeger - - * sysdeps/gnu/netinet/tcp.h: Add tcp_info defines and types. - - * sysdeps/unix/sysv/linux/sys/mount.h (enum): New flag MS_BIND. - - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETLKW64, - F_GETLK64, F_SETLK64): Update from Linux-2.4.0-test9-pre4. - - * elf/ldconfig.c (search_dir): Allow unlimited path length. - (create_links): Likewise. - -2000-09-27 Ulrich Drepper - - * posix/tst-dir.c: Test a few error cases of chdir. - -2000-09-26 Ulrich Drepper - - * math/math_private.h: Don't add long double prototypes if - NO_LONG_DOUBLE is defined. - - * sysdeps/unix/i386/i586/clock_nanosleep.c (CLOCK_P): Remove - CLOCK_MONOTONIC. - * sysdeps/unix/i386/i586/clock_gettime.c (EXTRA_CLOCK_CASES): Likewise. - * sysdeps/unix/i386/i586/clock_getres.c (EXTRA_CLOCK_CASES): Likewise. - - * sysdeps/unix/sysv/linux/i386/bits/time.h: Remove CLOCK_MONOTONIC. - -2000-09-26 Jakub Jelinek - - * sysdeps/sparc/sparc32/bits/endian.h: Remove. - * sysdeps/sparc/sparc32/ieee754.h: New. - * sysdeps/sparc/sparc64/bits/endian.h: Move... - * sysdeps/sparc/bits/endian.h: ...here. - * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Optimize. - * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Check - %o1, not %o0 to see if we're parent or child. Optimize. - -2000-09-26 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/fork.S: New file (based on code - by Hans Boehm). - * sysdeps/unix/sysv/linux/ia64/vfork.S: New file (based on - code by Hans Boehm). - * sysdeps/unix/sysv/linux/ia64/fork.c: Deleted (obsoleted by fork.S). - -2000-09-20 H.J. Lu - - * sysdeps/ia64/fpu/printf_fphex.c: New file. - - * sysdeps/ia64/fpu/libm-test-ulps: New file. - -2000-09-17 H.J. Lu - - * sysdeps/ia64/Makefile (long-double-fcts): New. Defined as yes. - - * sysdeps/ia64/fpu/s_isinfl.c: New file. Include - sysdeps/i386/fpu/s_isinfl.c. - - * sysdeps/ia64/fpu/s_isnanl.c: New file. Include - sysdeps/i386/fpu/s_isnanl.c. - - * sysdeps/ia64/fpu/s_nextafterl.c: New file. Include - sysdeps/i386/fpu/s_nextafterl.c. - - * sysdeps/ia64/fpu/bits/mathdef.h: New file. Copied from - sysdeps/i386/fpu/bits/mathdef.h. - -2000-09-16 H.J. Lu - - * sysdeps/generic/ldsodefs.h (DL_UNMAP): New. Defined if - DL_UNMAP_IS_SPECIAL is not defined. - - * sysdeps/ia64/dl-lookupcfg.h (DL_UNMAP_IS_SPECIAL): Defined. - (_dl_unmap): New prototype. - (DL_UNMAP): New. Defined as _dl_unmap. - - * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_unmap. - - * elf/dl-close.c (_dl_close): Replace __munmap with DL_UNMAP. - -2000-09-16 H.J. Lu - - * sysdeps/generic/ldsodefs.h (DL_LOOKUP_ADDRESS): New. Defined - if ELF_FUNCTION_PTR_IS_SPECIAL is not defined. - - * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): New - prototype. - (DL_LOOKUP_ADDRESS): New. Defined as _dl_lookup_address. - - * sysdeps/ia64/dl-fptr.c (_dl_lookup_address): New. Lookup - the memory location of a function from a function descriptor. - - * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_lookup_address. - - * elf/dl-addr.c (_dl_addr): Use DL_LOOKUP_ADDRESS to get the - memory location. - -2000-09-14 Jes Sorensen - - * sysdeps/ia64/bits/byteswap.h (__bswap_16): Don't mark output - variable as input argument. - (__bswap_32): Likewise. - - * sysdeps/ia64/dl-machine.h: Add missing stop bit in RTLD_START() - - found by Jim Wilson - -2000-09-26 Ulrich Drepper - - * string/strxfrm.c: Only require alignment on __alignof__ (int32_t) - instead of 4. - -2000-09-26 Andreas Schwab - - * locale/programs/ld-collate.c (collate_output): Only require - alignment on __alignof__ (int32_t) instead of 4. - * locale/loadlocale.c (_nl_load_locale): Likewise. - * string/strcoll.c: Likewise. - -2000-09-26 Jes Sorensen - - * sysdeps/ieee754/ldbl-96/e_atan2l.c (__ieee754_atan2l): Add - parentheses around arithmetic used in | statement to kill compiler - warning. - - * math/math_private.h: Add prototype for __finitel. - (__ilogbl): Likewise. - (__isinfl): Likewise. - (__isnanl): Likewise. - (__atanl): Likewise. - (__copysignl): Likewise. - (__expm1l): Likewise. - (__floorl): Likewise. - (__frexpl): Likewise. - (__ldexpl): Likewise. - (__log1pl): Likewise. - (__nanl): Likewise. - (__rintl): Likewise. - (__scalbnl): Likewise. - (__sqrtl): Likewise. - (fabsl): Likewise. - (__sincosl): Likewise. - -2000-09-26 Andreas Schwab - - * sysdeps/m68k/fpu/libm-test-ulps: New file - -2000-09-26 Ulrich Drepper - - * locale/langinfo.h (__nl_langinfo_l): Add prototype. - -2000-09-26 Andreas Jaeger - - * misc/mkstemp64.c: New file. - * misc/Makefile (routines): Add mkstemp64. - * stdlib/stdlib.h: Add prototype and redirection magic. - * misc/Versions: Add mkstemp64. - -2000-09-26 Thorsten Kukuk - - * nscd/dbg_log.c (dbg_log): Add missing format string. - -2000-09-26 Ulrich Drepper - - * catgets/catgets.c (catopen): Use getenv instead of __secure_getenv - since we filter out the variable once. - * iconv/gconv_conf.c (__gconv_get_path): Likewise. - * locale/newlocale.c (__newlocale): Likewise. - * locale/setlocale.c (setlocale): Likewise. - * malloc/malloc.c (ptmalloc_init): Likewise. - * resolv/res_hconf.c (_res_hconf_init): Likewise. - * resolv/res_init.c (__res_vinit): Likewise. - * time/tzfile.c (__tzfile_read): Likewise. - * sysdeps/generic/unsecvars.h: New file. - * elf/dl-support.c (non_dynamic_init): Use it here to remove variables. - * elf/rtld.c (process_envvars): Likewise. - * elf/Makefile (distribute): Add unsecvars.h. - - * misc/daemon.c (daemon): Fail if !noclose and we cannot open the - real /dev/null device. - - * sysdeps/generic/check_fds.c: Include device-nrs.h. - * sysdeps/generic/device-nrs.h: New file. - * sysdeps/unix/sysv/linux/device-nrs.h: New file. - * misc/Makefile (distribute): Add device-nrs.h. - - * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Use O_TRUNC to - remove possible garbage at the end of the file. - -2000-09-25 Ulrich Drepper - - * stdio-common/tmpnam_r.c: Warn about insecure tmpnam_r. - * stdio-common/tmpnam.c: Warn about insecure tmpnam. - * stdio-common/tempnam.c: Warn about insecure tempnam. - * misc/mktemp.c: Warn about insecure mktemp. - - * sysdeps/generic/check_fds.c: Check that file opened is really - /dev/null. - * posix/wordexp.c (exec_comm_child): Likewise. - - * elf/rtld.c (process_envvars): Open debug output file with O_NOFOLLOW. - - * locale/Makefile (routines): Add nl_langinfo_l. - * locale/Versions [libc] (GLIBC_2.2): Add __nl_langinfo_l. - * locale/nl_langinfo_l.c: New file. - * locale/nl_langinfo.c: Allow use of file for __nl_langinfo_l - definition. - -2000-09-23 Bruno Haible - - * iconvdata/gbk.c (USE_PRIVATE_AREA): Define to 0. - (__gbk_to_ucs): Conditionalize private area mappings. - (__gbk_from_ucs4_tab9): Likewise. - (BODY for TO_LOOP): Likewise. - * iconvdata/testdata/GBK: Don't use characters not yet in Unicode. - * iconvdata/testdata/GBK..UTF-8: Likewise. - * iconvdata/tst-tables.sh: Enable GBK test. - -2000-09-23 Bruno Haible - - * iconvdata/gbk.c (__gbk_to_ucs): Swap U+2014 and U+2015. - (__gbk_from_ucs4_tab4): Swap entries for U+2014 and U+2015. - (BODY for FROM_LOOP): Reject input > 0xFEA0, avoids out-of-bounds - array access. - * iconvdata/gbgbk.c (BODY for FROM_LOOP): Map 0xA844 to 0xA1AA. - * iconvdata/testdata/GBK..UTF8: Swap U+2014 and U+2015. - -2000-09-23 Bruno Haible - - * iconvdata/johab.c (final_to_ucs): Fix typos. - (jamo_from_ucs_table): Likewise. - (BODY for FROM_LOOP): Map 0x5c to U+20A9. Reject ranges - 0xD9E6..0xD9FE and 0xDEF2..0xDEFE. - (BODY for TO_LOOP): Map U+20A9 to 0x5c. Don't produce values in - the range 0xD9E6..0xD9FE. - * iconvdata/tst-tables.sh: Enable JOHAB testing. - -2000-09-25 Ulrich Drepper - - * iconv/gconv_conf.c (__gconv_get_path): Fix problem with relative - GCONV_PATH. - -2000-09-24 Ulrich Drepper - - * libio/genops.c (_IO_doallocbuf): Don't use single byte buffer if - stream is in wide mode. - - * stdio-common/vfprintf.c (buffered_vfprintf): Orient stream. - -2000-09-21 Bruno Haible - - * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Shift __count - by 3, not 2. - (INIT_PARAMS, UPDATE_PARAMS): Likewise. - -2000-09-21 Bruno Haible - - * stdio-common/vfscanf.c (__vfscanf, _IO_vfscanf): Fix bugs in - reallocation logic for MALLOC (%as, %aS formats). - -2000-09-24 Ulrich Drepper - - * stdio-common/vfprintf.c (process_arg): Handle %hhn. - Add missing case in va_arg handling for numbers. - * stdio-common/tst-printf.c (main): Add tests for %hhu and %hhn - handling. - * stdio/tst-printf.sh: Adjust expected results. - Reported by Joseph S. Myers . - -2000-09-20 Bruno Haible - - * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Reject 0x80. - (BODY for TO_LOOP): Clear bit 7 when outputting ISO-8859-1 upper half - characters. - * iconvdata/gen-8bit-gap-1.sh: Recognize lowercase hexadecimal digits - as equivalent to uppercase hexadecimal digits. - -2000-09-20 Bruno Haible - - * iconvdata/testdata/EUC-KR..UTF8: New file. - * iconvdata/testdata/EUC-TW: New file. - * iconvdata/testdata/EUC-TW..UTF8: New file. - * iconvdata/testdata/EUC-JP: New file. - * iconvdata/testdata/EUC-JP..UTF8: New file. - * iconvdata/testdata/ISO-2022-JP: New file. - * iconvdata/testdata/ISO-2022-JP..UTF8: New file. - * iconvdata/testdata/ISO-2022-JP-2: New file. - * iconvdata/testdata/ISO-2022-JP-2..UTF8: New file. - * iconvdata/testdata/ISO-2022-KR: Add a few more lines. - * iconvdata/testdata/ISO-2022-KR..UTF8: New file. - * iconvdata/testdata/ISO-2022-CN: New file. - * iconvdata/testdata/ISO-2022-CN..UTF8: New file. - * iconvdata/testdata/ISO-2022-CN-EXT: New file. - * iconvdata/testdata/ISO-2022-CN-EXT..UTF8: New file. - * iconvdata/TESTS: Enable tests for ISO-2022-JP, ISO-2022-JP-2, - ISO-2022-CN, ISO-2022-CN-EXT, EUC-JP, EUC-TW. - -2000-09-24 Andreas Jaeger - - * elf/ldconfig.c (add_dir): Move logic to add entry to list to new - function add_single_dir. - (add_single_dir): New function. - (search_dir): Use add_single_dir instead of recursing. - - * sysdeps/generic/dl-cache.h: Include stdint.h. - (struct file_entry_new): Use fixed sizes for interoperability - between 32bit and 64bit systems, add __unused to make alignment - explicit. - (CACHE_VERSION): Increment. - (struct cache_file_new): Use fixed sizes, add one more unused - entry to make alignment explicit. - -2000-09-24 Ulrich Drepper - - * elf/ldconfig.c (search_dir): Make more use of d_type information. - -2000-09-23 Ulrich Drepper - - * stdio-common/printf-parse.h (parse_one_spec): Clear - spec->info.i18n. Patch by Joseph S. Myers . - -2000-09-18 Mark Kettenis - - * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_SYNCHRONIZED_IO): - #undef since we don't have msync. - - * sysdeps/mach/hurd/bits/time.h: (CLOCKS_PER_SEC): Make a long int - constant since that is what clock_t is. - * sysdeps/mach/hurd/i386/bits/time.h: Likewise. - -2000-09-11 Mark Kettenis - - * sysdeps/mach/getloadavg.c (getloadavg): Divide instead of - multiply by LOAD_SCALE. - -2000-09-22 Jakub Jelinek - - * crypt/crypt.h (crypt, setkey, encrypt): Add __THROW. - (crypt_r, setkey_r, encrypt_r): Likewise. - -2000-09-22 Andreas Jaeger - - * locale/programs/repertoire.c (repertoiremap_hash): Don't specify - array size. - - * sysdeps/alpha/fpu/libm-test-ulps: New file. - From Christian Iseli . - -2000-09-21 Andreas Jaeger - - * math/libm-test.inc (atan_test): Test for existence of function. - (expm1_test): Likewise. - (acos_test): Likewise. - (asin_test): Likewise. - (exp_test): Likewise. - (log10_test): Likewise. - (log_test): Likewise. - (pow_test): Likewise. - (sqrt_test): Likewise. - (cos_test): Likewise. - (sin_test): Likewise. - (tan_test): Likewise. - (log1p_test): Likewise. - (log2_test): Likewise. - - * sysdeps/i386/fpu/libm-test-ulps: Tweak some values for K6. - - * libio/oldiofsetpos64.c: Fix alias names. - -2000-09-21 Martin Buchholz - - * manual/terminal.texi (Allocation): Sample code correction. - -2000-09-20 Andreas Jaeger - - * iconvdata/Makefile (generated): Add tst-tables.out. - - * intl/Makefile (generated): Add test output. - -2000-09-19 Andreas Jaeger - - * sunrpc/clnt_simp.c (callrpc): Fix write beyond end of buffer. - Reported by Jens-Uwe Mager . - -2000-09-18 Ulrich Drepper - - * version.h (VERSION): Bump to 2.1.94. - - * sysdeps/mips/Dist: Add fpu/fenv_libc.h. - * sysdeps/sparc/sparc32/soft-fp/Dist: Add q_add.c. - * sysdeps/sparc/sparc64/soft-fp/Dist: Add qp_add.c. - * sysdeps/unix/sysv/linux/ia64/Dist: Add net/route.h. - - * malloc/mtrace.c (mtrace): Mark stream as close on exec. - -2000-09-17 Bruno Haible - - * iconvdata/utf-16.c (BODY for TO_LOOP): Reject UCS-4 input in the - range 0xD800..0xDFFF. - * iconvdata/unicode.c (BODY for TO_LOOP): Likewise. - (BODY for FROM_LOOP): Likewise. - * iconv/gconv_simple.c (ucs2_internal_loop): Likewise. - (internal_ucs2_loop): Likewise. - (ucs2reverse_internal_loop): Likewise. - (internal_ucs2reverse_loop): Likewise. - -2000-09-17 Bruno Haible - - * iconvdata/utf-16.c (gconv_init): Add missing slashes to encoding - names. - -2000-09-17 Bruno Haible - - * iconvdata/tst-table-from.c (main): Fix test for error on stdout. - * iconvdata/tst-table-to.c (main): Likewise. - -2000-09-17 Bruno Haible - - * iconvdata/iso-ir-165.c (__isoir165_from_tab): Renamed from - __isoir165_tab. - * iconvdata/cns11643.h (__cns11643l1_to_ucs4_tab): New declaration. - * iconvdata/iso-2022-cn-ext.c: Include "cns11643.h". - (GB7590_set, GB13132_set, CNS11643_3_set, CNS11643_4_set, - CNS11643_5_set, CNS11643_6_set, CNS11643_7_set): Change enum values. - (BODY for FROM_LOOP): Fix buffer overrun. Treat CNS11643 plane 3. - Return __GCONV_INCOMPLETE_INPUT instead of __GCONV_EMPTY_INPUT. - (BODY for TO_LOOP): Fix usage of `set' vs. `used'. Fix typo that - caused GB2312 to be used instead of ISO-IR-165. Treat CNS11643 - plane 3. Fix shift sequences. Output announcement for SS2 and SS3 - encodings when needed. When outputting an announcement, don't clear - most other announcements. - -2000-09-17 Bruno Haible - - * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): Fix buffer overrun. - (BODY for TO_LOOP): Fix usage of `set' vs. `used'. - -2000-09-14 Bruno Haible - - * intl/Versions: Add bind_textdomain_codeset. - -2000-09-16 Ralf Baechle - - * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Reformat. Declare - as function. - (_RTLD_EPILOGUE): Reformat. Declare size of entry function. - (ELF_MACHINE_BEFORE_RTLD_RELOC): Relocate the dynamic linker itself so - it will even work when not loaded to the standard address. - (RTLD_START): Reformat. Call _dl_start in a way that is safe even - before the dynamic linker itself is relocated. - -2000-09-18 Andreas Jaeger - - * sysdeps/unix/sysv/linux/kernel-features.h: Always define - __ASSUME_32BITUIDS for MIPS. - * sysdeps/unix/sysv/linux/mips/ipc_priv.h: New file. - * sysdeps/unix/sysv/linux/mips/Dist: Add ipc_priv.h. - -2000-09-17 H.J. Lu - - * catgets/Makefile ($(objpfx)de/libc.cat): Use - $(make-target-directory) instead of mkdir. - -2000-09-17 Franz Sirl - - * sysdeps/unix/sysv/linux/kernel-features.h: Always define - __ASSUME_32BITUIDS for __powerpc__. - * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: New file. - * sysdeps/unix/sysv/linux/powerpc/Dist: Add ipc_priv.h. - -2000-09-17 Ulrich Drepper - - * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Fix last - patch. - * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise. - -2000-09-16 Jakub Jelinek - - * sysdeps/ia64/Implies: Reorder ieee754 implies so that ldbl-* comes - first. - * sysdeps/m68k/Implies: Likewise. - * sysdeps/sparc/sparc64/Implies: Likewise. - -2000-09-16 Jakub Jelinek - - * elf/readlib.c (process_file): Don't error for stale .so links either. - -2000-09-16 Ulrich Drepper - - * elf/dl-load.c (_dl_map_object_from_fd): Add one more - __builtin_expect. - - * include/bits/xopen_lim.h (LONG_BIT): Use LONG_MAX, not INT_MAX. - Patch by Thorsten Kukuk . - - * dlfcn/Makefile (distribute): Add defaultmod1.c and defaultmod2.c. - (test): Add default. - (modules-names): Add defaultmod1 and defaultmod2. - Add rules to build test objects. - -2000-09-15 Ulrich Drepper - - * wctype/wctype.h: Always include . - Reported by Jim Meyering . - - * elf/rtld.c (_dl_dynamic_weak): Set to 1 by default for now. - * elf/dl-support.c: Likewise. - - * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Correct position of - st_blocks member in stat and stat64 structs. - Patch by Bill Nottingham . - - * iconvdata/tst-tables.sh: Add warning that GB18030 test might - take longer. - - * math/complex.h: Don't define _Complex macro for gcc 3. Add - __extension__ to _Complex_I definition since gcc warns if -pedantic. - * math/bits/cmathcalls.h (conj): Add __extension__ since we use ~. - Patches by Joseph S. Myers . - - * include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX if - necessary. Move includes of POSIX and Unix limits files to the end. - * stdlib/Makefile (tests): Add tst-limits. - * stdlib/tst-limits.h: New file. - -2000-09-15 Andreas Jaeger - - * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Handle FE_NOMASK_ENV. - - * sysdeps/mips/bits/fenv.h (FE_NOMASK_ENV): Define. - -2000-09-15 Jakub Jelinek - - * sysdeps/unix/alpha/sysdep.h (inline_syscall_clobbers): Add memory - clobber. - * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Likewise. - -2000-09-15 Ulrich Drepper - - * elf/Makefile (distribute): Add nextmod1.c and nextmod2.c. - (tests): Add next. - (modules-names): Add nextmod1 and nextmod2. - Add rules to build and run next. - * elf/next.c: New file. - * elf/nextmod1.c: New file. - * elf/nextmod2.c: New file. - -2000-09-14 Jakub Jelinek - - * elf/dl-lookup.c (_dl_lookup_symbol_skip): Fix a typo. - -2000-09-15 Andreas Jaeger - - * sysdeps/mips/fpu/fenv_libc.h: New file. - * sysdeps/mips/fpu/feenablxcpt.c: Use fenv_libc.h - * sysdeps/mips/fpu/fegetexcept.c: Likewise. - * sysdeps/mips/fpu/fedisblxcpt.c: Likewise. - - * sysdeps/mips/fpu/feenablxcpt.c: New file. - * sysdeps/mips/fpu/fegetexcept.c: New file. - * sysdeps/mips/fpu/fedisblxcpt.c: New file. - -2000-09-14 Ulrich Drepper - - * intl/Makefile: Avoid unnecessary test reruns. - - * stdio-common/tst-printf.sh: Also allow output from 64-bit machines. - - * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Change - to not use sysctl(). Too many architectures have problems with it. - -2000-09-14 Andreas Jaeger - - * scripts/config.sub: New version from subversions.gnu.org. - - * time/clocktest.c (main): Change format, CLOCKS_PER_SEC is now - long. - -2000-09-14 Jakub Jelinek - - * posix/regex.c (compile_range): Cast collseq index to unsigned char - to avoid accessing data before collseq. - - * sysdeps/sparc/fpu/bits/mathinline.h (__unordered_v9cmp): Avoid - pasting strings together. - -2000-09-14 Greg McGary - - * sysdeps/generic/bp-checks.h: Remove bogus reference to GNU MP in - copyright notice. - * sysdeps/generic/bp-semctl.h: Likewise. - * sysdeps/generic/bp-start.h: Likewise. - * sysdeps/generic/bp-sym.h: Likewise. - * sysdeps/generic/bp-thunks.h: Likewise. Include to get - rename prototype. - -2000-09-13 Ulrich Drepper - - * io/test-lfs.c (do_test): Allow stat64() to return EOVERFLOW and - don't fail. - - * elf/elf.h: Add missing official relocations. - - * libio/stdio.h: Define __FILE if __need___FILE is defined. - * stdio/stdio.h: Likewise. - * wcsmbs/wchar.h: Get definition of __FILE. Use __FILE instead of FILE. - * include/stdio.h: Handle __need___FILE like __need_FILE. - * include/wchar.h: Use __FILE instead of FILE. - * libio/fwprintf.c: Include for FILE definition. - * libio/fwscanf.c: Likewise. - * libio/getwc.c: Likewise. - - * sysdeps/generic/stdint.h (WINT_MAX): Define to 4294967295u. - * sysdeps/generic/bits/wchar.h (WCHAR_MIN): Define to -2147483647 - 1. - * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Likewise. - - * assert/assert.h: Update comment header about ISO C section. - * math/complex.h: Likewise. - * ctype/ctype.h: Likewise. - * include/errno.h: Likewise. - * include/limits.h: Likewise. - * locale/locale.h: Likewise. - * math/math.h: Likewise. - * setjmp/setjmp.h: Likewise. - * signal/signal.h: Likewise. - * stdio/stdio.h: Likewise. - * libio/stdio.h: Likewise. - * stdlib/stdlib.h: Likewise. - * string/string.h: Likewise. - * time/time.h: Likewise. - * wcsmbs/wchar.h: Likewise. - * wctype/wctype.h: Likewise. - Patches by Joseph S. Myers . - -2000-09-13 Andreas Jaeger - - * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Fix test - for no more entries. - * sysdeps/unix/sysv/aix/bits/socket.h (__cmsg_nxthdr): Likewise. - * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Likewise. - Reported by Eric S. Johnson , closes PR libc/1887. - -2000-09-13 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Make a long int - constant since this is what clock_t is. - * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise. - - * time/time.h: Don't defined clockid_t and timer_t unless POSIX - definitions are requested. - -2000-09-13 Andreas Jaeger - - * shlib-versions: libBrokenLocale needs minimal version for ia64, - sparc64 and sh to synch with libc. - -2000-09-13 Ulrich Drepper - - * iconvdata/Makefile (modules): Add ISO-2022-CN-EXT. - (distribute): Add iso-2022-cn-ext.c. - Add definitions to compile the new module. - * iconvdata/gconv-modules: Add entries for ISO-2022-CN-EXT. - * iconvdata/iso-2022-cn-ext.c: New file. - * iconvdata/iso-ir-165.h (isoir165_to_ucs4): Renamed from - ucs4_from_isoir165. Increment input pointer if successful. - - * csu/Makefile: Work around a gcc bug when creating csu-dummies. - - * sysdeps/unix/sysv/linux/getdents.c: Pretty print. - -2000-09-01 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add - __syscall_getdents64 wrapper. - - * sysdeps/unix/sysv/linux/ia64/net/route.h: New file. - -2000-09-12 Ulrich Drepper - - * iconvdata/gb18030.c: Many many changes. Make consistent with - charmap and with itself. - * iconvdata/tst-tables.sh: Test GB18030. - -2000-09-11 Ulrich Drepper - - * iconv/skeleton.c: Fix last patch, add missing parameter to - unaligned function call. - -2000-09-10 Bruno Haible - - * locale/programs/ld-collate.c (collate_read): Fix typo in handling - of decimal ellipsis. - -2000-09-11 Bruno Haible - - * locale/programs/ld-collate.c (collate_read): Always initialize - error_section.next. - -2000-09-10 Bruno Haible - - * locale/programs/ld-collate.c (collate_finish): Upper bound for - ruleidx is 128, not 256. - -2000-09-11 Ulrich Drepper - - * locale/programs/ld-collate.c (collate_read): Correct check for - already inserted entries. - -2000-09-10 Bruno Haible - - * iconv/skeleton.c (FUNCTION_NAME): Handle unaligned access in - second try as well. - -2000-09-10 Bruno Haible - - * iconv/skeleton.c (FUNCTION_NAME): Optimize an `if' if - MAX_NEEDED_FROM > 1 && MAX_NEEDED_TO > 1. - -2000-09-10 Bruno Haible - - * iconv/skeleton.c (gconv_init): Replace all uses of RESET_STATE with - SAVE_RESET_STATE. - -2000-09-10 Bruno Haible - - * iconvdata/utf-7.c: New file. - * iconvdata/gconv-modules (UTF-7): New module entries. - * iconvdata/Makefile (modules): Add UTF-7. - (distribute): Add utf-7.c. - * iconvdata/testdata/UTF-7: New file. - * iconvdata/testdata/UTF-7..UTF8: New file. - * iconvdata/TESTS (UTF-7): New entry. - * iconvdata/run-iconv-test.sh: Fix confusing output. - -2000-09-11 Ulrich Drepper - - * sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat. - -2000-09-10 David S. Miller - - * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp - frame pointer offset for non-fast path. - -2000-09-10 Ulrich Drepper - - * locale/programs/3level.h (*_init): Initialize level1, level2, - and level3 as well. - (*_add): Remove a few unnecessary conditionals. - -2000-09-05 Wolfram Gloger - - * malloc/thread-m.h [_LIBC]: Even if not linking with libpthread, - ensure usability of mutex as an `in use' flag. - -2000-09-10 Ulrich Drepper - - * shlib-versions: Simplify libm entries. Correct a few Hurd entries. - - * sysdeps/generic/initfini.c: Rewrite slightly to get rid of the - ugly GMON_WEAK_START hack. - Patch by Philip Blundell . - - * sysdeps/i386/i486/bits/string.h: Pretty printing. - -2000-09-09 Ulrich Drepper - - * sysdeps/powerpc/dl-machine.c: Add volatile to PPC_DCBST, PPC_SYNC, - and PPC_ICBI asm for broken compilers. - Patch by Franz Sirl . - -2000-09-09 Andreas Jaeger - - * manual/message.texi (Advanced gettext functions): Fix typo. - - * sysdeps/unix/sysv/linux/dl-osinfo.h: Include for - strncpy prototype. - -2000-09-09 Ulrich Drepper - - * sysdeps/ia64/memchr.S: Add .pred.rel to avoid wrong assembler - warnings. - * sysdeps/ia64/memccpy.S: Likewise. - Patches by Jim Wilson . - - * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Use uname - before trying to read /proc. - Patch by Matt Wilson . - * include/sys/utsname.h: Declare __uname. - * sysdeps/generic/uname.c: Make uname a weak alias of __uname. - * sysdeps/mach/hurd/uname.c: Likewise. - * sysdeps/unix/syscalls.list: Likewise. - - * iconv/gconv_dl.c (do_release_shlib): Rewrite condition for - unloading a bit. - -2000-09-08 Ulrich Drepper - - * posix/getopt.c (_getopt_internal): When long_only is set always - recognize conflicts just like before. - -2000-09-08 Franz Sirl - - * sysdeps/ia64/Makefile (sysdep-rtld-routines): New variable. - -2000-09-08 Greg McGary - - * sysdeps/unix/sysv/linux/syscalls.list (mincore): Fix arg signature. - * sysdeps/unix/make-syscalls.sh: New signature keyletter `V'. - * sysdeps/generic/bp-checks.h (CHECK_N_PAGES): New macro. - -2000-09-08 Andreas Jaeger - - * sysdeps/unix/sysv/linux/arm/lockf64.c: New file. - - * sysdeps/unix/sysv/linux/arm/fcntl.c: New file. - - * sysdeps/unix/sysv/linux/arm/bits/fcntl.h - (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8. - (F_GETLK,F_SETLK,F_SETLKW): Handle __USE_FILE_OFFSET64 correctly. - -2000-09-07 Ulrich Drepper - - * iconvdata/tst-tables.sh: Enable EUC-KR test. - - * elf/dl-load.c (lose): Decrement _nl_loaded. - (_dl_map_object_from_fd): Don't try to dlopen executables. - - * iconvdata/tst-tables.sh: Actually return with an error if - something goes wrong. - * iconvdata/tst-table.sh: Return with an error if any of the cmp fails. - * iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input. - - * iconvdata/tst-tables.sh: Add BIG5HKSCS. - - * iconvdata/tst-table-to.c (main): Correct cast in iconv call. - * iconvdata/tst-table-from.c: Include . - (try): Correct cast in iconv call. - - * elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines) - too. - * sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable. - (sysdep_routines): Remove dl-start. - Patches by Franz Sirl . - - * assert/__assert.c: Undefine NDEBUG before include . - - * sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning. - * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise. - -2000-09-06 Andreas Schwab - - * sysdeps/unix/sysv/linux/ia64/bits/time.h: New file. - -2000-09-07 Ulrich Drepper - - * sysdeps/unix/sysv/linux/gethostid.c: Find hostid file in /etc. - - * scripts/config.sub: Strip out -unknown for Linux targets. - Patch by Scott Bambrough . - - * posix/tst-dir.c (main): Correct one bug (missing NULL test) and - add one more test. - -2000-09-07 Andreas Jaeger - - * sysdeps/unix/sysv/linux/mips/lockf64.c: New file. - - * sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the - syscalls. - - * sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_fcntl. - - * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to dl_lookup. - (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise. - - * sysdeps/unix/sysv/linux/mips/fcntl.c: New file. - - * stdlib/tst-bsearch.c (main): Add more test cases. - - * locale/programs/ld-collate.c (handle_ellipsis): Fix typo. - * elf/dl-load.c (_dl_map_object_from_fd): Likewise. - Reported by GOTO Masanori . - -2000-09-07 Ulrich Drepper - - * posix/Makefile (tests): Add tst-dir. - (tst-dir-ARGS): New variable. - * posix/tst-dir.c: New file. - -2000-09-07 Andreas Jaeger - - * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_getdents64): New. - (SYS_fcntl64): New. - - * sysdeps/unix/sysv/linux/mips/syscalls.list: Add getdents64. - -2000-09-06 Ulrich Drepper - - * sysdeps/unix/opendir.c: If O_DIRECTORY_WORKS is defined don't - use the hack with tryopen_o_directory to determine at runtime - whether it works. - * sysdeps/unix/sysv/linux/opendir.c: New file. - * sysdeps/unix/sysv/linux/kernel-features.h: Define - __ASSUME_O_DIRECTORY if kernel knows O_DIRECTORY. - - * catgets/Depend: New file. Add intl. - * catgets/Makefile (tests): Add tst-catgets. - (generated): Remove de.msg. - (generated-dirs): Add de. - Add dependency if tst-catgets output on de/libc.cat. - * catgets/tst-catgets.c: New file. - - * po/ja.po: New file. - * po/el.po: Update from translation team. - - * wcsmbs/Depend: New file. - * wcsmbs/Makefile (tests): Add tst-btowc. - (tst-btowc-ENV): Define. - * wcsmbs/tst-btowc.c: New file. - - * sysdeps/unix/sysv/linux/_G_config.h: Moved to... - * sysdeps/gnu/_G_config.h: ...here to be shared with Hurd. - - * sysdeps/posix/signal.c: Add sig to act.sa_mask for completeness. - - * stdlib/Makefile (tests): Add tst-bsearch. - * stdlib/tst-bsearch.c: New file. - - * posix/getopt.c (_getopt_internal): Don't recognize an option - name as ambiguous if it's a prefix for more than one name but the - other struct option values are identical. - - * posix/tstgetopt.c: Add test for improved ambiguity recognition. - Don't depend on visual inspection of the output file to recognize - errors. - * posix/Makefile (tstgetopt-ARGS): Add a few more parameters. - -2000-09-06 Andreas Jaeger - - * sysdeps/alpha/soft-fp/Dist: New file. - * sysdeps/i386/soft-fp/Dist: New file. - * sysdeps/mips/mips64/soft-fp/Dist: New file. - * sysdeps/mips/soft-fp/Dist: New file. - * sysdeps/powerpc/soft-fp/Dist: New file. - * sysdeps/sparc/sparc32/soft-fp/Dist: New file. - * sysdeps/sparc/sparc64/soft-fp/Dist: New file. - - * sysdeps/sparc/sparc64/soft-fp/Makefile [$(subdir) = soft-fp]: - Use sysdep_routines instead of routines to fix make dist failure. - * sysdeps/sparc/sparc32/soft-fp/Makefile: Likewise (in commented - out code). - * sysdeps/powerpc/soft-fp/Makefile [$(subdir) = soft-fp]: Likewise. - - * sysdeps/mips/Makefile [$(subdir) = misc]: Use - sysdep_headers instead of headers for make dist. - - * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]: - Likewise. - -2000-09-06 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file. - -2000-09-06 Andreas Jaeger - - * soft-fp/Makefile (distribute): Remove ChangeLog. - - * sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]: Use - sysdep_routines instead of routines for make dist. - -2000-09-05 Ulrich Drepper - - * libio/libio.h (_IO_fwide_maybe_incompatible): For glibc 2.0 - compatibility check for old stream and call _IO_wide in doubt. - (_IO_fwide): Use _IO_fwide_maybe_incompatible macro. - * libio/iofwide.c (_IO_fwide): If compatibility with glibc 2.0 is - needed tst for such an old structure and don't do anything. - * libio/freopen.c: Remove declaration of _IO_stdin_used. - -2000-09-06 Andreas Jaeger - - * sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify - sysdep-dl-routines and sysdep_routines instead of rtld-routines - and dl-routines. - - * soft-fp/ChangeLog: Merged with this file. - -2000-06-13 Ulrich Drepper - - * soft-fp/Makefile (distribute): Add op-8.h and testit.c. - - * soft-fp/Makefile (distribute): Add the math functions, too. - - * soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure. - -2000-03-03 Geoff Keating - - * soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it - as a statement. - - * soft-fp/sysdeps/powerpc/Makefile (routines): New file. - * soft-fp/sysdeps/powerpc/q_*: New files. - -2000-09-05 Ulrich Drepper - - * stdio-common/vfprintf.c (process_string_arg): Handle precision - in wide char case correctly. Don't allocate too long temporary - strings with alloca. - - * stdio-common/Makefile (tests): Add tst-swprintf. - (tst-swprintf-ENV): New variable. - * stdio-common/tst-swprintf.c: New file. - -2000-09-05 Andreas Jaeger - - * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use st_pad5. - * sysdeps/unix/sysv/linux/mips/xstatconv.c: Fix assignments. - Patch by Maciej W. Rozycki . - -2000-09-05 Ulrich Drepper - - * configure.in: Strip out "unknown" from configuration names. - -2000-09-05 Andreas Jaeger - - * sysdeps/powerpc/Subdirs: New file, adds soft-fp. - - * sysdeps/sparc/sparc64/Implies: Add soft-fp. - * sysdeps/sparc/sparc32/Implies: Likewise. - * sysdeps/powerpc/Implies: Likewise. - - * libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1. - * libio/oldiofgetpos64.c: Likewise. - - * soft-fp/Makefile (distribute): Remove configure. - - * sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2. - - * soft-fp/configure: Remove. - - * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here. - - * soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here... - * sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here. - - * soft-fp/sysdeps/powerpc/Makefile: Move from here... - * sysdeps/powerpc/soft-fp/Makefile: ... to here. - - * soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here... - * sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here. - - * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here. - - * soft-fp/sysdeps/powerpc/q_add.c: Move from here... - * sysdeps/powerpc/soft-fp/q_add.c: ... to here. - - * soft-fp/sysdeps/powerpc/q_cmp.c: Move from here... - * sysdeps/powerpc/soft-fp/q_cmp.c: ... to here. - - * soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here... - * sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here. - - * soft-fp/sysdeps/powerpc/q_div.c: Move from here... - * sysdeps/powerpc/soft-fp/q_div.c: ... to here. - - * soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here... - * sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here. - - * soft-fp/sysdeps/powerpc/q_feq.c: Move from here... - * sysdeps/powerpc/soft-fp/q_feq.c: ... to here. - - * soft-fp/sysdeps/powerpc/q_fge.c: Move from here... - * sysdeps/powerpc/soft-fp/q_fge.c: ... to here. - - * soft-fp/sysdeps/powerpc/q_fgt.c: Move from here... - * sysdeps/powerpc/soft-fp/q_fgt.c: ... to here. - - * soft-fp/sysdeps/powerpc/q_fle.c: Move from here... - * sysdeps/powerpc/soft-fp/q_fle.c: ... to here. - - * soft-fp/sysdeps/powerpc/q_flt.c: Move from here... - * sysdeps/powerpc/soft-fp/q_flt.c: ... to here. - - * soft-fp/sysdeps/powerpc/q_fne.c: Move from here... - * sysdeps/powerpc/soft-fp/q_fne.c: ... to here. - - * soft-fp/sysdeps/powerpc/q_itoq.c: Move from here... - * sysdeps/powerpc/soft-fp/q_itoq.c: ... to here. - - * soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here... - * sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here. - - * soft-fp/sysdeps/powerpc/q_mul.c: Move from here... - * sysdeps/powerpc/soft-fp/q_mul.c: ... to here. - - * soft-fp/sysdeps/powerpc/q_neg.c: Move from here... - * sysdeps/powerpc/soft-fp/q_neg.c: ... to here. - - * soft-fp/sysdeps/powerpc/q_qtod.c: Move from here... - * sysdeps/powerpc/soft-fp/q_qtod.c: ... to here. - - * soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here... - * sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here. - - * soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here... - * sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here. - - * soft-fp/sysdeps/powerpc/q_qtos.c: Move from here... - * sysdeps/powerpc/soft-fp/q_qtos.c: ... to here. - - * soft-fp/sysdeps/powerpc/q_qtou.c: Move from here... - * sysdeps/powerpc/soft-fp/q_qtou.c: ... to here. - - * soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here... - * sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here. - - * soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here... - * sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here. - - * soft-fp/sysdeps/powerpc/q_stoq.c: Move from here... - * sysdeps/powerpc/soft-fp/q_stoq.c: ... to here. - - * soft-fp/sysdeps/powerpc/q_sub.c: Move from here... - * sysdeps/powerpc/soft-fp/q_sub.c: ... to here. - - * soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here... - * sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here. - - * soft-fp/sysdeps/powerpc/q_util.c: Move from here... - * sysdeps/powerpc/soft-fp/q_util.c: ... to here. - - * soft-fp/sysdeps/powerpc/q_utoq.c: Move from here... - * sysdeps/powerpc/soft-fp/q_utoq.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here. - - * soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here. - - * soft-fp/sysdeps/alpha/sfp-machine.h: Move from here... - * sysdeps/alpha/soft-fp/sfp-machine.h: ... to here. - - * soft-fp/sysdeps/i386/sfp-machine.h: Move from here... - * sysdeps/i386/soft-fp/sfp-machine.h: ... to here. - - * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here... - * sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here. - - * soft-fp/sysdeps/mips/sfp-machine.h: Move from here... - * sysdeps/mips/soft-fp/sfp-machine.h: ... to here. - - * soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here... - * sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here. - - * soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here... - * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here. - - * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here... - * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here. - - * soft-fp/sysdeps/powerpc/Versions: Move from here... - * sysdeps/powerpc/soft-fp/Versions: ... to here. - - * soft-fp/sysdeps/sparc/sparc64/Versions: Move from here... - * sysdeps/sparc/sparc64/soft-fp/Versions: ... to here. - - * libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1, - change symbol version. - * libio/oldiofgetpos64.c: Likewise. - Reported by Martin v. Loewis . - - * locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix - typo. - Reported by dyky@kondara.org, closes PR libc/1886. - - * stdlib/tst-strtod.c: Add testcases for denormal numbers from PR - libc/1880. - -2000-09-04 Ulrich Drepper - - * iconvdata/run-iconv-test.sh: Add code to immediately stop the - script when ^C is hit. - - * locale/programs/localedef.c (construct_output_path): Correct - computation of endp after asprintf. - * locale/programs/locfile.c (write_locale_data): Don't add extra - slash in filename. - -2000-09-05 Andreas Jaeger - - * scripts/config.guess: New upstream version. - * scripts/config.sub: Likewise. - * manual/texinfo.tex: Likewise. - -2000-09-04 Andreas Schwab - - * elf/Makefile (all-dl-routines): New variable. - (elide-routines.os): Use it instead of $(dl-routines). - (all-rtld-routines): New variable. - (extra-objs): Use it instead of $(rtld-routines). - ($(objpfx)dl-allobjs.os): Likewise. - * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify - sysdep-dl-routines and sysdep_routines instead of rtld-routines - and dl-routines. - -2000-09-03 Bruno Haible - - * iconv/gconv_trans.c (__gconv_translit_find): Update open_count. - Set fname to NULL if the module wasn't found. - -2000-09-03 Bruno Haible - - * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to - true if trans->name already ends in ".so". - -2000-09-03 Bruno Haible - - * iconv/gconv_int.h (__gconv_release_shlib): Change return type to - void. - * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter - below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound. - (__gconv_release_shlib): Change return type to void. - * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set - step->__counter here. - * iconv/gconv_db.c (free_derivation): Don't call a step's destructor - if the reference is zero. - (release_step): New function. - (gen_steps): Always initialize the __counter to 1. Use release_step. - Don't call the destructor on the step whose initializer failed. - (increment_counter): Use release_step. Don't normally run destructors - here. - (__gconv_close_transform): Use release_step. - -2000-09-03 Bruno Haible - - * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove. - (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead. - -2000-09-03 Bruno Haible - - * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly. - If the first byte is 0x8E, don't ask for 4 bytes until it has been - verified that the second byte is valid. Leave it to cns11643_to_ucs4 - to check for incomplete input. - * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is - ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for - __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196. - (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and - 0x9f9d..0x9fa5. - * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for - __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196. - (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129. - * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend - upto index 0x0052. - -2000-09-03 Bruno Haible - - * iconv/gconv_db.c (find_derivation): Always use the least-cost - solution. - -2000-09-03 Bruno Haible - - * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF - are invalid. - -2000-09-03 Bruno Haible - - * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C. - * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to - U+007E. - -2000-09-03 Bruno Haible - - * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C. - -2000-09-03 Bruno Haible - - * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7. - -2000-09-03 Bruno Haible - - * iconvdata/tst-tables.sh: New file. - * iconvdata/tst-table.sh: New file. - * iconvdata/tst-table-from.c: New file. - * iconvdata/tst-table-to.c: New file. - * iconvdata/tst-table-charmap.sh: New file. - * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to. - (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh, - tst-table-from.c, tst-table-to.c, EUC-JP.irreversible, - ISIRI-3342.irreversible, SJIS.irreversible. - (tests): Add dependency on tst-tables.out. - (tst-tables.out, tst-tables-clean): New rules. - (do-tests-clean, common-mostlyclean): Require tst-tables-clean. - * iconvdata/ISIRI-3342.irreversible: New file. - * iconvdata/EUC-JP.irreversible: New file. - * iconvdata/SJIS.irreversible: New file. - -2000-09-04 Ulrich Drepper - - * manual/locale.texi (General Numeric): Update description of - representation of the grouping information in the locale data. - Patch by Gaute B. Strokkenes . - -2000-09-04 Andreas Jaeger - - * locale/programs/ld-monetary.c (monetary_read): Fix typo. - * iconv/iconv_prog.c (options): Fix typo. - Reported by dyky@kondara.org, closes PR libc/1885. - -2000-09-04 Andreas Jaeger - - * sysdeps/generic/fegetenv.c: It's __fegetenv. - Reported by Rob Levin . - -2000-09-03 Ulrich Drepper - - * time/sys/time.h (gettimeofday): Move restrict for tz parameter - to the typedefs of __timezone_ptr_t. - Reported by MATSUMURA Hiromitsu . - -2000-09-02 Jakub Jelinek - - * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in - the loop. - -2000-09-01 H.J. Lu - - * Makeconfig (built-program-cmd): Don't use the dynamic linker - to run a binary if it is in $(tests-static). - - * Rules (binaries-static): Add $(tests-static). - -2000-09-02 Andreas Jaeger - - * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64. - - * libio/fmemopen.c (fmemopen_close): Revert one part of last - patch. - -2000-09-01 Ulrich Drepper - - * iconvdata/big5hkscs.c: Regenerated from charmap. - * iconvdata/testdata/BIG5HKSCS: Regenerated. - * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated. - - * libio/fmemopen.c (fmemopen_seek): Add default case in switch - statement. General cleanup. - -2000-08-31 Bruno Haible - - * wctype/wcfuncs.c (iswblank): New function. - * wctype/wcfuncs_l.c (__iswblank_l): New function. - * wctype/wcextra.c: Remove file. - * wctype/wcextra_l.c: Remove file. - * wctype/Makefile (distribute): Remove wcextra and wcextra_l. - -2000-08-31 Bruno Haible - - * locale/programs/ld-collate.c (collate_output): Remove redundant - assert call. - * string/strcoll.c: Likewise. - * string/strxfrm.c: Include assert.h. Add assert calls like in - string/strcoll.c. - -2000-08-31 Bruno Haible - - * locale/categories.def (_NL_COLLATE_HASH_SIZE, - _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES, - _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions. - * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS, - _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively. - (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3. - (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4. - (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to - _NL_CTYPE_GAP5/6 respectively. - - * locale/C-ctype.c (_nl_C_LC_CTYPE): Update. - * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables. - * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format. - Don't initialize __ctype_names and __ctype_width. - * wctype/cname-lookup.h: Remove file. - * wctype/Makefile (distribute): Remove cname-lookup.h. - * wctype/wchar-lookup.h: Include stdint.h. - * wctype/wctype.c (__wctype): Assume new locale format. - * wctype/wctype_l.c (__wctype_l): Likewise. - * wctype/iswctype.c: Don't include cname-lookup.h. - (__iswctype): Assume new locale format. - * wctype/iswctype_l.c: Don't include cname-lookup.h. - (__iswctype_l): Assume new locale format. - * wctype/wctrans.c: Don't include ctype.h. - (wctrans): Assume new locale format. - * wctype/wctrans_l.c (__wctrans_l): Likewise. - * wctype/towctrans.c: Don't include cname-lookup.h. - (__towctrans): Assume new locale format. - * wctype/towctrans_l.c: Don't include cname-lookup.h. - (__towctrans_l): Assume new locale format. - * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include - localeinfo.h instead. - (__NO_WCTYPE): Remove unused macro. - (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove - declarations. - (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint, - iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format. - (towlower, towupper): Likewise. - * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include - localeinfo.h instead. - (__NO_WCTYPE): Remove unused macro. - (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l, - __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l, - __iswxdigit_l): Assume new locale format. - (__towlower_l, __towupper_l): Likewise. - * wcsmbs/wcwidth.h: Don't include cname-lookup.h. - (__ctype32_b): Remove declaration. - (internal_wcwidth): Assume new locale format. - * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields - plane_size, plane_cnt, names, width. Rename map to map_b, rename map32 - to map32_b, rename width_3level to width. - (ctype_output): Always create new locale format. Don't emit - _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more. - (allocate_arrays): Always create new locale format. - - * locale/C-collate.c (_nl_C_LC_COLLATE): Update. - * locale/weightwc.h (findidx): Assume new locale format. - * string/strcoll.c (wcscoll): Remove local variables size, layers, - names. - * string/strxfrm.c (wcsxfrm): Likewise. - * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of - local variable collseq to 'const char *'. - (SUFFIX): Don't use, don't undefine. - * posix/fnmatch.c: Remove SUFFIX definition. - * locale/programs/ld-collate.c (struct locale_collate_t): Remove - fields plane_size, plane_cnt, wcheads, wcseqorder. Rename - wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder. - (collate_finish): Always create new locale format. Remove local - variables min_total, act_size. - (collate_output): Always create new locale format. Remove local - variables table_size, names, tablewc. Rename tablewc_3level to - tablewc. - -2000-08-31 Bruno Haible - - * locale/programs/ld-collate.c (obstack_int32_grow, - obstack_int32_grow_fast): New inline functions. - (output_weightwc, collate_output): Use them where possible. - -2000-09-01 Ulrich Drepper - - * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last - patch (_mode -> _flags). - - * libio/Makefile (headers): Add stdio_ext.h. - (routines): Add __fbufsize, __freading, __fwriting, __freadable, - __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking. - * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading, - __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending, - __fsetlocking, and _flushlbf. - * libio/__fbufsize.c: New file. - * libio/__flbf.c: New file. - * libio/__fpending.c: New file. - * libio/__fpurge.c: New file. - * libio/__freadable.c: New file. - * libio/__freading.c: New file. - * libio/__fsetlocking.c: New file. - * libio/__fwritable.c: New file. - * libio/__fwriting.c: New file. - * libio/stdio_ext.h: New file. - * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf. - * libio/libio.h (_IO_USER_LOCK): Define. - [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which - test _IO_USER_LOCK flag first. - - * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is - malloc fails. - -2000-09-01 Andreas Jaeger - - * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail. - - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file. - -2000-08-31 Ulrich Drepper - - * math/Makefile (tests): Add tst-defintions. - * math/tst-definitions.c: New file. - - * stdlib/Makefile (headers): Add bits/wchar.h. - * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file. - * sysdeps/generic/bits/wchar.h: New file. - * sysdeps/generic/stdint.h: Include . Use values in this - file to define WCHAR_MIN and WCHAR_MAX. - Change UINT*8_MAX and UIN*16_MAX value to type int. - * wcsmbs/wchar.h: Include . Use values in this - file to define WCHAR_MIN and WCHAR_MAX. - * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN - int values. - * sysdeps/arm/fpu/bits/mathdef.h: Likewise. - * sysdeps/generic/bits/mathdef.h: Likewise. - * sysdeps/i386/fpu/bits/mathdef.h: Likewise. - * sysdeps/m68k/fpu/bits/mathdef.h: Likewise. - * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise. - * sysdeps/sparc/fpu/bits/mathdef.h: Likewise. - * locale/locale.h (struct lconv): Add __ prefix to the new members - if not C99. - * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and - imaxdiv optimizations. - * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work. - * sysdeps/wordsize-64/ldiv.c: Likewise. - * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to - const fenv_t*. - * sysdeps/generic/bits/fenv.h: Likewise. - * sysdeps/i386/fpu/bits/fenv.h: Likewise. - * sysdeps/ia64/bits/fenv.h: Likewise. - * sysdeps/m68k/fpu/bits/fenv.h: Likewise. - * sysdeps/mips/bits/fenv.h: Likewise. - * sysdeps/s390/fpu/bits/fenv.h: Likewise. - * sysdeps/sparc/fpu/bits/fenv.h: Likewise. - Reported by Joseph S. Myers . - - * inet/rcmd.c: Use *stat64 instead of *stat internally. - * inet/ruserpass.c: Likewise. - * catgets/open_catalog.c: Likewise. - * intl/loadmsgcat.c: Likewise. - * io/getdirname.c: Likewise. - * locale/loadlocale.c: Likewise. - * misc/getusershell.c: Likewise. - * stdlib/canonicalize.c: Likewise. - * sysdeps/posix/euidaccess.c: Likewise. - * sysdeps/posix/isfdtype.c: Likewise. - * sysdeps/posix/posix_fallocate.c: Likewise. - * sysdeps/posix/tempname.c: Likewise. - * sysdeps/unix/grantpt.c: Likewise. - * sysdeps/unix/opendir.c: Likewise. - * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise. +2000-02-28 Ulrich Drepper + + * sysdeps/powerpc/fprsave.S: New file. + * sysdeps/powerpc/fprrest.S: New file. + * sysdeps/powerpc/Makefile [$(subdir)=misc] (sysdep_routines): + Add fprsave and fprrest. + + * sysdeps/powerpc/gprrest0.S: Use ASM_GLOBAL_DIRECTIVE instead of + .globl. + * sysdeps/powerpc/gprsave0.S: Likewise. + * sysdeps/powerpc/gprrest1.S: Likewise. + * sysdeps/powerpc/gprsave1.S: Likewise. + + * sysdeps/powerpc/fpu/s_copysign.S: Use L() instead of local labels. + * sysdeps/powerpc/submul_1.S: Likewise. + * sysdeps/powerpc/sub_n.S: Likewise. + * sysdeps/powerpc/strcpy.S: Likewise. + * sysdeps/powerpc/strcmp.S: Likewise. + * sysdeps/powerpc/stpcpy.S: Likewise. + * sysdeps/powerpc/rshift.S: Likewise. + * sysdeps/powerpc/mul_1.S: Likewise. + * sysdeps/powerpc/memset.S: Likewise. + * sysdeps/powerpc/lshift.S: Likewise. + * sysdeps/powerpc/addmul_1.S: Likewise. + * sysdeps/powerpc/add_n.S: Likewise. + + * sysdeps/unix/start.c: Initialize __errno and add comment + explaining why. Remove K&R compatibility. + + * sysdeps/powerpc/fpu/s_isnan.c: Avoid using asm statement to + declare aliases. + + * sysdeps/powerpc/Makefile: Always pass flags to compile for ppc + and not rs6000. + [$(subdir)=misc] (sysdep_routines): Add gprsave0, gprrest0, + gprsave1 , and gprrest1. + Don't pass special flags to compiler for init and gmon-start if + this is no ELF platform. + * sysdeps/powerpc/gprrest0.S: New file. + * sysdeps/powerpc/gprsave0.S: New file. + * sysdeps/powerpc/gprrest1.S: New file. + * sysdeps/powerpc/gprsave1.S: New file. + * sysdeps/powerpc/Versions: Export _savegpr* and _restgpr* + functions. + + * sysdeps/mach/hurd/bits/statfs.h: Define _STATFS_F_NAMELEN. + * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: Likewise. + * sysdeps/posix/fpathconf.c: Don't unconditionally use f_namelen + in statfs. Check feature macro and use f_name_max or NAME_MAX + instead. + * sysdeps/posix/pathconf.c: Likewise. + + * dlfcn/dlfcn.h: Remove DL_CALL_FCT definition here. + * sysdeps/generic/bits/dlfcn.h: Define DL_CALL_FCT here. + * sysdeps/mips/bits/dlfcn.h: Define DL_CALL_FCT here. + * iconv/skeleton.c: If DL_CALL_FCT is not yet defined, add dummy + definition here. + + * sysdeps/generic/libc-start.c: Fix typo in comment. + + * include/set-hooks.h: Allow systems to not define + symbol_set_define. + + * configure.in: Unify machine names rs6000 and powerpc. + +2000-02-25 Andreas Jaeger + + * malloc/Versions: Change version of __libc_freeres to 2.1 in + accordance with usage in glibc 2.1.3. + +2000-02-28 Ulrich Drepper + + * stdlib/msort.c (qsort): Limit the amount of memory spend on a + temporary array for the mergesort. + +2000-02-28 Andreas Jaeger + + * stdlib/canonicalize.c: Include for ptrdiff_t. + +2000-02-27 Ulrich Drepper + + * conform/conformtest.pl (@headers): Add wordexp.h, wctype.h, wchar.h, + varargs.h, utmpx.h, utime.h, unistd.h, ulimit.h, ucontext.h, time.h, + termios.h, tar.h, sys/wait.h, sys/uio.h, sys/types.h, sys/times.h, + sys/timeb.h, sys/time.h, sys/statvfs.h, sys/stat.h, sys/shm.h, + sys/sem.h, and sys/resource.h. + Implement handling of allow-header. + * conform/data/fcntl.h-data: Correct various bugs. + * conform/data/fnmatch.h-data: Likewise. + * conform/data/math.h-data: Likewise. + * conform/data/ndbm.h-data: Likewise. + * conform/data/nl_types.h-data: Likewise. + * conform/data/poll.h-data: Likewise. + * conform/data/pthread.h-data: Likewise. + * conform/data/semaphore.h-data: Likewise. + * conform/data/setjmp.h-data: Likewise. + * conform/data/signal.h-data: Likewise. + * conform/data/stdarg.h-data: Likewise. + * conform/data/stddef.h-data: Likewise. + * conform/data/stdio.h-data: Likewise. + * conform/data/stdlib.h-data: Likewise. + * conform/data/string.h-data: Likewise. + * conform/data/strings.h-data: Likewise. + * conform/data/stropts.h-data: Likewise. + * conform/data/syslog.h-data: Likewise. + * conform/data/sys/ipc.h-data: Likewise. + * conform/data/sys/mman.h-data: Likewise. + * conform/data/sys/msg.h-data: Likewise. + * conform/data/tar.h-data: New file. + * conform/data/termios.h-data: New file. + * conform/data/time.h-data: New file. + * conform/data/ucontext.h-data: New file. + * conform/data/ulimit.h-data: New file. + * conform/data/unistd.h-data: New file. + * conform/data/utime.h-data: New file. + * conform/data/utmpx.h-data: New file. + * conform/data/varargs.h-data: New file. + * conform/data/wchar.h-data: New file. + * conform/data/wctype.h-data: New file. + * conform/data/wordexp.h-data: New file. + * conform/data/sys/resource.h-data: New file. + * conform/data/sys/sem.h-data: New file. + * conform/data/sys/shm.h-data: New file. + * conform/data/sys/stat.h-data: New file. + * conform/data/sys/statvfs.h-data: New file. + * conform/data/sys/time.h-data: New file. + * conform/data/sys/timeb.h-data: New file. + * conform/data/sys/times.h-data: New file. + * conform/data/sys/types.h-data: New file. + * conform/data/sys/uio.h-data: New file. + * conform/data/sys/wait.h-data: New file. + + * grp/grp.h (getgrent_r): Declare only if __USE_GNU. + + * include/sys/time.h (__itimes): Fix type of second parameter. + + * io/sys/stat.h (S_IFLNK): Define also if __USE_XOPEN. + (S_ISVTX): Likewise. + + * io/sys/statvfs.h: Define fsblkcnt_t and fsfilcnt_t. + + * locale/langindo.h: Make ERA_YEAR, INT_CURR_SYMBOL, CURRENCY_SYMBOL, + MON_DECIMAL_POINT, MON_THOUSANDS_SEP, MON_GROUPING, POSITIVE_SIGN, + NEGATIVE_SIGN, INT_FRAC_DIGITS, FRAC_DIGITS, P_CS_PRECEDES, + P_SEP_BY_SPACE, N_CS_PRECEDES, N_SEP_BY_SPACE, P_SIGN_POSN, + N_SIGN_POSN, DECIMAL_POINT, THOUSANDS_SEP, GROUPING, YESEXPR, + NOEXPR, YESSTR, and NOSTR only available if __USE_GNU. + + * math/bits/mathcalls.h: Don't declare tgamma and scalbn if only + __USE_XOPEN. + + * posix/unistd.h: Don't define ptrdiff_t. + (sbrk): Correct type of parameter. + * sysdeps/generic/sbrk.c: Likewise. + * sysdeps/mach/hurd/sbrk.c: Likewise. + + * posix/sys/types.h: Allow id_t, suseconds_t, fsblkcnt_t, and + fsfilcnt_t being defined elsewhere. + + * resource/sys/resource.h: Define id_t. + If __USE_XOPEN use int for type of first parameter if getrlimit, + getrlimit64, setrlimit, setrlimit64, getrusage, getpriority, and + setpriority. + * sysdeps/generic/getpriority.c: Fix type of second parameter. + * sysdeps/generic/setpriority.c: Likewise. + * sysdeps/mach/hurd/getpriority.c: Likewise. + * sysdeps/mach/hurd/setpriority.c: Likewise. + * sysdeps/unix/sysv/irix4/getpriority.c: Likewise. + * sysdeps/unix/sysv/irix4/setpriority.c: Likewise. + * sysdeps/unix/sysv/linux/getpriority.c: Likewise. + + * sysdeps/generic/utimes.c: Fix parameter of third parameter. + * sysdeps/mach/hurd/utimes.c: Likewise. + * sysdeps/posix/utimes.c: Likewise. + + * sysdeps/generic/bits/shm.h: Define shmatt_t type and use it in + struct shmid_ds definition. + * sysdeps/gnu/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise. + + * sysvipc/sys/shm.h: Define time_t. + + * sysvipc/sys/sem.h (struct sembuf): Make sem_num field unsigned. + + * sysdeps/gnu/bits/sem.h: Rename anonymous type struct sem_queue and + struct sem_undo to struct __sem_queue and struct __sem_undo resp. + + * time/time.h: Define suseconds_t if not already done. + + * sysdeps/unix/sysv/linux/bits/statvfs.h: Rename f_spare to __f_spare. + * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise. + * sysdeps/unix/sysv/linux/statvfs64.c: Likewise. * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise. - * sysdeps/unix/sysv/linux/ptsname.c: Likewise. - * sysdeps/unix/sysv/linux/statvfs.c: Likewise. - * sysdeps/unix/sysv/linux/ttyname.c: Likewise. - * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise. - * sysvipc/ftok.c: Likewise. - * time/getdate.c: Likewise. - * time/getdate.c: Add extra access test. - -2000-08-31 Ulrich Drepper - - * version.h (VERSION): Bump to 2.1.93. - - * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c. - * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h. - - * intl/Makefile (tests): Depend in mtrace-tst-gettext. - Make this a new rule depending on tst-gettext.out and run mtrace. - * intl/tst-gettext.c: Call mtrace. - * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext. - - * elf/dl-reloc.c: Add a few more __builtin_expect. - - * configure.in: Remove --with-gettext option. - - * intl/dcigettext.c (free_mem): Correct freeing of - _nl_domain_bindings list. - - * sysdeps/generic/setenv.c (free_mem): New function. Free all - allocated memory. - - * intl/locale.alias: Add aliases for bokmal and nynorsk. - - * locale/iso-639.def: Fix 639-1 code for Bokmal. - - * stdio-common/itoa-digits.c: Move upper digits to... - * stdio-common/itoa-udigits.c: ...here. New file. - * stdio-common/Makefile (routines): Add itoa-udigits. - - * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to - relocate ld.so don't add supprt for relocations which should not - appear in ld.so. - - * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling - __secure_getenv. Instead test __libc_enable_secure once. - - * io/pwd.c (main): Provide a good example, use *_unlocked function. - -2000-08-30 Ulrich Drepper - - * iconv/gconv_conf.c (insert_module): Take extra parameter to decide - whether the new record should be freed if it's a duplicate. - (add_module): Adjust insert_module call. - (__gconv_read_conf): Likewise. - * iconvdata/Makefile (generated): Add tst-loading.mtrace and - mtrace-tst-loading. - (tests): Make $(objpfx)mtrace-tst-loading a dependency. Add rule. - - * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and - _dl_all_init_dirs. - * include/link.h (struct r_search_path_struct): New. - (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs. - * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and - _dl_all_init_dirs. - * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs. - * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements - added at startup time. - * elf/dl-load.c: Fix memory handling. r_search_path_struct - contains element to remember fact that we can free memory. - (all_dirs): Renamed to _dl_all_dirs. Made global. - (_dl_init_all_dirs): New variable. - (fillin_rpath): Save one malloc call. - (decompose_rpath): Change interface. New first parameter points to - r_search_path_struct. - (_dl_init_paths): Adjust for changes. Mark all memory as not - deletable. Set _dl_init_all_paths value. - (open_path): Remove may_free_dirs parameter. r_search_path_elem *** - parameter replaced with r_search_path_struct *. Information about - freeing now contained in r_search_path_struct. - (_dl_map_object): Adjust for above changes. - - * elf/dl-open.c (dl_open_worker): Change format of debug info a bit. - - * elf/dl-load.c (fillin_rpath): Only check for trusted directories - when adding new entries. - - * elf/dl-load.c (fillin_rpath): Make local copy of where string - since the object being loaded can be unloaded. - - * iconvdata/Makefile (tests): Add tst-loading. - * iconvdata/tst-loading.c: New file. - -2000-08-29 Bruno Haible - - * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change. - When comparing a char with an int, always cast the char to - 'unsigned char'. New macro ungetc_not_eof, to avoid warnings when - compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX. - -2000-08-30 Ulrich Drepper - - * time/strftime.c (my_strftime): Add compatibility code for use - outside glibc. Patch by Jim Meyering . - - * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere - return 0 for success but always < 0 on failure. - - * nss/getXXbyYY_r.c: Define result to *result before including - digits_dots.c. - -2000-08-30 Andreas Jaeger - - * math/gen-libm-test.pl (parse_ulps): Remove extra \. - -2000-08-29 Ulrich Drepper - - * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the - official file. - * iconvdata/TESTS: Add BIG5HKSCS entry. - * iconvdata/testdata/BIG5HKSCS: New file. - * iconvdata/testdata/BIG5HKSCS..UTF8: New file. - - * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is - always true. - - * libio/iogetline.c: Set mode before the loop in case n==0. - * libio/iogetwline.c: Likewise. - -2000-08-29 H.J. Lu - - * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead - of fp->_mode < 0. - (_IO_new_file_overflow): Likewise. - * libio/genops.c (_IO_flush_all): Likewise. - * libio/ioftell.c (_IO_ftell): Likewise. - -2000-08-29 Akira Higuchi - - * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct, - and __end_fct fields of struct __gconv_step. - * iconv/Makefile (tests): Add iconv-bug2. - * iconv/iconv-bug2.c: New file. - - * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr' - instead of 'inptr - inend' to ksc5601_to_ucs4. - - * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character. - - * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete - character or shift sequence is found at the end of the input - string, return__GCONV_INCOMPLETE_INPUT instead of - __GCONV_EMPTY_INPUT. - * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise. - * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise. - - * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return - __GCONV_ILLEGAL_INPUT for 8bit characters. - -2000-08-29 Ulrich Drepper - - * signal/signal.h (sigpause): Move __THROW before __asm__. - - * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the - names don't match don't return. - Patch by Olaf Kirch . - -2000-08-28 Ulrich Drepper - - * time/strftime.c (my_strftime): Handle # flag for %b as well. - -2000-08-27 H.J. Lu - - * posix/Makefile (otherlibs): Add for building with static-nss - for "make check". - -2000-08-28 Ulrich Drepper - - * libio/stdio.h: Add fmemopen prototype. - -2000-08-25 Andreas Jaeger - - * libio/Makefile (routines): Add fmemopen. - (tests): Add test-fmemopen. - * libio/Versions: Add fmemopen with version GLIBC_2.2. - * libio/test-fmemopen.c: New file. - * libio/fmemopen.c: New file. - Patches by Hanno Mueller . - -2000-08-28 Ulrich Drepper - - * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double - inclusion. Patch by Jes Sorensen . - - * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828 - to avoid crashing statically linked applications. - -2000-08-27 Bruno Haible - - * string/strxfrm.c (strxfrm, wcsxfrm): Include . - If nrules == 0 and srclen < n, copy only srclen + 1 characters. - - * sysdeps/generic/getdomain.c (getdomainname): Include . - If the result is fits in the buffer, copy only as many bytes as needed. - - * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the - buffer after copying numbuf into it. - * sysdeps/mach/_strerror.c (__strerror_r): Likewise. - -2000-08-27 Bruno Haible - - * posix/confstr.c (confstr): When string_len > len, NUL-terminate - the result. When string_len < len, don't clear the rest of the buffer. - -2000-08-27 Bruno Haible - - Support for new LC_COLLATE format. - * locale/coll-lookup.h: New file. - * locale/weightwc.h (findidx): When size == 0, call - collidx_table_lookup. - * wcsmbs/wcscoll.c: Include coll-lookup.h. - * wcsmbs/wcsxfrm.c: Likewise. - * posix/fnmatch.c: Likewise. - * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call - collseq_table_lookup. - * locale/programs/3level.h: New file. - * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define - by including "3level.h". - * locale/programs/ld-collate.c (wchead_table, collidx_table, - collseq_table): New types, defined by including "3level.h". - (locale_collate_t): New wcheads_3level, wcseqorder_3level fields. - (encoding_mask, encoding_byte): Remove. - (utf8_encode): Use simple shifts instead. - (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt - to 0, and initialize and fill wcheads_3level and wcseqorder_3level. - (collate_output): New local variable tablewc_3level. When - !oldstyle_tables, set table_size to 0 and names to NULL and fill - tablewc_3level instead of tablewc. Change format of TABLEWC and - COLLSEQWC entries written to the file. - * locale/C-collate.c (collseqwc): Change format. - (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format - of COLLSEQWC. - * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h. - -2000-08-27 Bruno Haible - - * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro. - (locale_ctype_t): New charnames_idx field. - (ctype_startup): Initialize charnames_idx field. - (find_idx): Speed up dramatically by using charnames_idx inverse table. - -2000-08-27 Bruno Haible - - * locale/C-ctype.c: Switch to new locale format. - (_nl_C_LC_CTYPE_names): Remove array. - (STRUCT_CTYPE_CLASS): New macro. - (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print, - graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}): - New three-level tables. - (_nl_C_LC_CTYPE_width): Change from array to three-level table. - (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS - to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add - 12 class tables and 2 map tables at the end. - * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration. - (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print, - graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}): - New declarations. - (b): Remove trailing semicolon. - (__ctype_names, __ctype_width): Don't initialize. - (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize. - -2000-08-27 Bruno Haible - - * elf/dl-load.c (open_path): Add a argument telling whether *dirsp - is guaranteed to be allocated with the same malloc() and may be - passed to free(). - (_dl_map_object): Update open_path calls. If rtld_search_dirs has - been set to empty by an earlier open_path call, don't pass it again. - -2000-08-28 Ulrich Drepper - - * include/libintl.h: Include since libintl.h doesn't if - we are not optimizing. - - * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double - inclusion. - - * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to - really match EOF. - Patch by Franz Sirl . - -2000-08-28 Andreas Jaeger - - * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon. - -2000-08-28 Mark Kettenis - - * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from - getpeername. Use ISO C style function definition. - (getpeername): Provide weak alias. - * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from - setrlimit. Use ISO C style function definition. - (setrlimit): Provide weak alias. - -2000-08-28 Martin Schwidefsky - - * shlib-versions: Add a rule for S/390 to the libm version list. - * sysdeps/s390/Versions: New file. - * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c. - * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64. - * sysdeps/unix/sysv/linux/s390/Versions: New file. - * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file. - * sysdeps/unix/sysv/linux/s390/chown.c: New file. - * sysdeps/unix/sysv/linux/s390/fxstat.c: New file. - * sysdeps/unix/sysv/linux/s390/getdents64.c: New file. - * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file. - * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file. - * sysdeps/unix/sysv/linux/s390/lxstat.c: New file. - * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file. - * sysdeps/unix/sysv/linux/s390/readdir64.c: New file. - * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file. - * sysdeps/unix/sysv/linux/s390/scandir64.c: New file. - * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file. - * sysdeps/unix/sysv/linux/s390/syscalls.list: New file. - * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file. - * sysdeps/unix/sysv/linux/s390/xstat.c: New file. - -2000-08-28 Ulrich Drepper - - * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu] - (CFLAGS-initfini.s): Add -DWEAK_GMON_START. - - * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files. - * elf/dl-close.c (_dl_close): Print debug message if object is not - unloaded. - * elf/dl-open.c (dl_open_worked): Print message about opencount before - returning to caller. - - * po/zh.po: Renamed to... - * po/zh_TW.po: ...this. - -2000-08-27 Geoff Keating - - * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin. - - * sysdeps/powerpc/fpu/fedisblxcpt.c: New file. - * sysdeps/powerpc/fpu/feenablxcpt.c: New file. - * sysdeps/powerpc/fpu/fegetexcept.c: New file. - * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file. - -2000-08-27 Ulrich Drepper - - * locale/programs/ld-collate.c (insert_weights): Also update - backpointer of next element. - (collate_read): Allow definition of new collation symbols in stage 2. - Symbol after reorder-after can be UCS4 value. - Allow reordering of collation symbols and elements. - Do not only move reorder entry in new position. Instead call - insert_weight to do this and read the weights. - - * locale/findlocale.c (free_mem): Add cast to avoid warning. - - * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code - to determine invalid locale name. - * locale/findlocale.c (_nl_find_locale): Likewise. - - * posix/annexc.c: Correct test for unavailable feature. - - * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE -> - __inline. - -2000-08-26 Ulrich Drepper - - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64 - syscall. - - * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource] - (sysdep_routines): Add oldgetrlimit64. - - * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c, - reldepmod2.c, reldepmod3.c, and reldepmod4.c. - (tests): Add unload, reldep, reldep2, and reldep3. - (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3, - and reldepmod4. - Add rules to build and run unload, reldep, reldep2, and reldep3. - * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit. - Don't create relocation dependency if it is nonzero. - (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This - can never happen here. - (_dl_lookup_versioned_symbol): Add new parameter explicit. - Don't create relocation dependency if it is nonzero. - (_dl_lookup_versioned_symbol_skip): Remove relocation dependency - stuff. This can never happen here. - * sysdeps/generic/ldsodefs.h: Change prototypes. - * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to - _dl_lookup_up and _dl_lookup_versioned_symbol. - (RESOLV): Likewise. - * elf/dl-runtime.c (fixup): Likewise. - (profile_fixup): Likewise. - * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to - _dl_lookup_symbol. - * elf/dl-symbol.c (_dl_symbol_value): Likewise. - * elf/rtld.c (dl_main): Likewise. - * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to - _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute - and pass down the caller map. - (_dl_vsym): Likewise. - * elf/reldep.c: New file. - * elf/reldep2.c: New file. - * elf/reldep3.c: New file. - * elf/reldepmod1.c: New file. - * elf/reldepmod2.c: New file. - * elf/reldepmod3.c: New file. - * elf/reldepmod4.c: New file. - * elf/unload.c: New file. - * elf/unloadmod.c: New file. - - * elf/do-lookup.h: Remove unused undef_name parameter. - * elf/dl-lookup.c: Adjust callers. - -2000-08-25 Ulrich Drepper - - * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of - irreversible in recursive call of conversion function to signal that - no error handling is wanted. - * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too. - (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL. - * iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is - recursive error handling call, otherwise to &lirreversible. Use it - for calls to conversion functions. - * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when - transliterating. - (ucs4_internal_loop_unaligned): Likewise. - (ucs4le_internal_loop): Likewise. - (ucs4le_internal_loop_unaligned): Likewise. - -2000-08-25 Greg McGary - - * sysdeps/i386/memchr.S: Check high bound against chars - actually scanned. - * sysdeps/i386/memcmp.S: Likewise. - * sysdeps/i386/stpncpy.S: Adjust high-bound check to - account for pointers that lie one beyond end-of-buffer. - -2000-08-25 Ulrich Drepper - - * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic. - * elf/nodelete.c (fini_ran): New global variable. - (do_test): Before every dlclose call clear fini_ran and test - afterwards that it is not set by the destructors. - * elf/nodelmod1.c: Add destructor which sets fini_ran. - * elf/nodelmod2.c: Likewise. - * elf/nodelmod4.c: Likewise. - -2000-08-21 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and - getrlimit to the list. - -2000-08-18 Jes Sorensen - - * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit - long double format so use ldbl-96 instead of ldbl-128. - -2000-08-25 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL - even if bits 10 a 11 are non-zero. - * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise. - - * Makeconfig: Ensures the soversions.mk part of Makefile gets - included before building gnu/lib-names.h - Patch by Maciej W. Rozycki . - - * elf/dl-close.c (_dl_close): Don't run destructors of objects - marked DF_1_NODELETE. - - * sysdeps/posix/system.c (__libc_system): We cannot use vfork here - since we call sigaction in the child. - -2000-08-25 Andreas Jaeger - - * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on - gconv-modules. - -2000-08-25 Andreas Jaeger - - * manual/arith.texi (Control Functions): Clarify possible - arguments. Closes PR libc/1856. - -2000-08-24 H.J. Lu - - * stdio-common/Makefile (tests): Don't do it for cross compiling. - * malloc/Makefile (tests): Likewise. - -2000-08-24 Ulrich Drepper - - * iconvdata/unicode.c (gconv_init): Correct test for direction. - -2000-08-24 Andreas Jaeger - - * malloc/Makefile (extra-objs): Fix last patch, build memusagestat - only if LIBGD is available. - -2000-08-24 Ulrich Drepper - - * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid - problems with now restrict parameter types. - (convaddr4to6): Likewise. - -2000-08-24 Denis Joseph Barrow - - * sysdeps/s390/fpu/fedisblxcpt.c: New file. - * sysdeps/s390/fpu/feenablxcpt.c: New file. - * sysdeps/s390/fpu/fegetexcept.c: New file. - * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition - FPC_VALID_MASK. - -2000-08-24 Andreas Jaeger - - * malloc/Makefile (extra-objs): Add memusagestat.o. - (generated): Added memusage and memusagestat for make clean. - - * libio/tst_putwc.c (do_test): Delete temporary file. - Move inclusion of test-skeleton to front to have prototype for - add_temp_file. - - * posix/Makefile (generated): Add wordexp-tst.out. - -2000-08-24 Ulrich Drepper - - * resolv/res_hconf.c (free_mem): Remove not needed if. - - * time/tzset.c (free_mem): New function. - * string/strsignal.c (free_mem): New function. - * inet/inet_ntoa.c (free_mem): New function. - * sunrpc/clnt_perr.c (free_mem): New function. - -2000-08-24 Andreas Jaeger - - * sysdeps/unix/syscalls.list: Use __setrlimit as strong name. - * sysdeps/unix/sysv/syscalls.list: Likewise. - - * posix/unistd.h: Move internal prototypes from here ... - * include/unistd.h: ... to here. - - * sysvipc/sys/shm.h: Add const attribute to __getpagesize. - -2000-08-24 Ulrich Drepper - - * grp/initgroups.c (initgroups): Deallocate groups array. - Reported by jani.raiha@sonera.com [PR libc/1868]. - - * sysdeps/s390/Dist: Add fpu/fenv_libc.h. - * sysdeps/alpha/Dist: Likewise. - -2000-08-23 Ulrich Drepper - - * crypt/md5-crypt.c (free_mem): Fix typo (constructor -> - destructor). Reported by Solar Designer . - - * iconv/gconv_conf.c (add_module): Remove some unneeded code to - avoid adding double slashes. - -2000-08-23 Jakub Jelinek - - * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__ - out of the __REDIRECT macro. - -2000-08-23 Ulrich Drepper - - * stdio-common/vfscanf.c: Add %F format support. - - * locale/programs/ld-ctype.c (ctype_output): Make sure - _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and - _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned. - (ctype_read): Enable returning of wide character strings for reading - transliteration information. - -2000-08-23 Andreas Jaeger - - * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove. - Use static __inline instead of _EXTERN_INLINE. - - * misc/sys/select.h: Move prototypes of __select from here ... - * include/sys/select.h: ... to here. - - * socket/sys/socket.h: Move prototypes of __send and __connect - from here.... - * include/sys/socket.h: ... to here. - - * locale/programs/ld-ctype.c (ctype_read): Fix parameter for - lr_error. - -2000-08-23 Jakub Jelinek - - * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use - __setrlimit as strong name. Takes only 2 arguments. - - * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit - takes only 2 arguments. - -2000-08-23 Martin Schwidefsky - - * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*. - - * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines. - -2000-08-23 Ulrich Drepper - - * locale/programs/ld-ctype.c (ctype_read): Allow more than one - default_missing character being specified, pick the first - representable. - -2000-08-23 Andreas Jaeger - - * include/wchar.h: Add some pure attributes. - - * time/time.h: Add const attribute for dysize. - - * include/stdlib.h: Add malloc attribute to __posix memalign. - - * stdlib/stdlib.h: Add some pure and malloc attributes. - * wcsmbs/wchar.h: Likewise. - - * dirent/dirent.h: Add some pure attributes. - * include/dirent.h: Likewise. - -2000-08-23 Jakub Jelinek - - * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment - on 64bit arches. - -2000-08-22 Ulrich Drepper - - * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two - missing buffer size checks. - -2000-08-23 Andreas Jaeger - - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as - strong name. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. - - * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h", - otherwise __LINUX_KERNEL_VERSION might not be defined. - (MIN): Define if not already defined. - -2000-08-22 Ulrich Drepper - - * stdio-common/vfprintf.c: Handle %F format. - * stdio-common/printf-parse.h (parse_one_spec): Likewise. - Reported by Joseph S. Myers . - - * stdio-common/tstdiomisc.c: Add test for %F printf format. - - * po/zh.po: New file. - - * iconvdata/sjis.c: In conversion from UCS4, correct test for - enough room in target buffer. - Patch by KUSANO Takayuki [PR libc/1865]. - * iconvdata/bug-iconv1.c: New file. - * iconvdata/Makefile (tests): Add bug-iconv1. - - * locale/iso-4217.def: Update entry for Nicaragua. - -2000-08-22 Mark Kettenis - - * hurd/hurdsig.c: Rearrange headers a bit. - (_hurdsig_init): Block until _hurd_msgport_thread is initialized - when cthreads is being used. - -2000-08-22 Ulrich Drepper - - * elf/Makefile (distribute): Add dl-osinfo.h. - * sysdeps/generic/dl-osinfo.h: New file. - * sysdeps/unix/sysv/linux/dl-osinfo.h: New file. - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK - if defined. - * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test - only for !SHARED case. Get the code from dl-osinfo.h. - - * stdlib/random_r.c: Cleanups. - * stdlib/tst-random.c: New file. - * stdlib/Makefile (tests): Add tst-random. - Patches by Michael Fischer . - -2000-08-21 Martin Schwidefsky - - * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove. - * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove. - * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove. - * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove. - -2000-08-22 Jakub Jelinek - - * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove. - * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove. - (__syscall__sysctl): Add. - -2000-08-21 Andreas Jaeger - - * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR - libc/1864). - * stdlib/tst-strtoll.c: Likewise. - -2000-08-21 Ulrich Drepper - - * stdlib/random_r.c (__setstate_r): Also compute end_ptr - correctly. - (__initstate_r): Set errno on error. - (__random_r): Likewise. - (__setstate_r): Correct offset when computing - new rptr and fptr. Test for arg_state being NULL. - Reported by Michael Fischer . - - * posix/regex.h: Add macro definitions to allow compiling outside - glibc. - - * sysdeps/i370/Implies: Removed. - * sysdeps/mvs/Implies: Removed. - - * catgets/catgets.c (catopen): Filter out env_var values with / if - necessary. - - * locale/findlocale.c (_nl_find_locale): Move test for unusable - locale name after all getenvs. - - * configure.in: Allow sed versions like 3.02.8. - Patch by Rodrigo Barbosa . - -2000-08-21 Marko Myllynen - - * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures. - -2000-08-21 Ulrich Drepper - - * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error - of gethostbyname2_r call. - - * intl/locale.alias: Add aliases for Korean. - -2000-08-21 Martin Schwidefsky - - * sysdeps/s390/__longjmp.c: Remove unused variable result. - * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h. - * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h. - * sysdeps/s390/fpu/fegetenv.c: New file. - * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h. - * sysdeps/s390/fpu/feholdexcpt.c: New file. - * sysdeps/s390/fpu/fenv_libc.h: New file. - * sysdeps/s390/fpu/fesetenv.c: New file. - * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h. - * sysdeps/s390/fpu/feupdateenv.c: New file. - * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted. - * sysdeps/s390/fpu/fpu_control.h: Corrected header. - * sysdeps/s390/fpu/fraiseexcpt.c: New file. - * sysdeps/s390/fpu/fsetexcptflg.c: New file. - * sysdeps/s390/fpu/ftestexcept.c: New file. - * sysdeps/s390/fpu/libm-test-ulps: New file. - * sysdeps/s390/gmp-mparam.h: Add end of comment. - * sysdeps/s390/initfini.c: New file. - * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h. - * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h. - * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file. - * sysdeps/unix/sysv/linux/s390/lchown.c: New file. - * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to - sys/procfs.h as proposed by Mark Kettenis. - * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file. - -2000-08-21 Andreas Jaeger - - * include/poll.h: Include include/sys/poll.h to get __poll - declaration. - - * io/sys/poll.h: Move __poll declaration from here... - * include/sys/poll.h: ...to here. - - * include/sys/socket.h (__getpeername): Add declaration. - - * include/wchar.h (__vswprintf): Add declaration. - - * include/stdio.h (__flockfile): Add declaration. - (__funlockfile): Likewise. - -2000-08-20 Ulrich Drepper - - * misc/sys/cdefs.h: Define __restrict_arr. - * include/sys/time.h: Add restrict where required by AGd4. - * inet/arpa/inet.h: Likewise. - * io/sys/stat.h: Likewise. - * io/sys/statvfs.h: Likewise. - * misc/search.h: Likewise. - * misc/sys/select.h: Likewise. - * posix/glob.h: Likewise. - * posix/regex.h: Likewise. - * posix/spawn.h: Likewise. - * posix/unistd.h: Likewise. - * rt/aio.h: Likewise. - * signal/signal.h: Likewise. - * socket/sys/socket.h: Likewise. - * stdlib/ucontext.h: Likewise. - * streams/stropts.h: Likewise. - * string/string.h: Likewise. - * time/time.h: Likewise. - * time/sys/time.h: Likewise. - - * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam - and posix_spawnattr_setscheparam. - - * libio/stdio.h: Make cuserid prototype again available for all - XPG versions. - - * argp/argp-help.c: Unify use of function aliases to make more compact - PLT. - * include/libintl.h: Likewise. - * inet/rcmd.c: Likewise. + * intl/bindtextdom.c: Use rwlock to avoid surprising results in + multithreaded applications. * intl/dcigettext.c: Likewise. - * libio/iofputws.c: Likewise. - * libio/iofputws_u.c: Likewise. - * libio/iogetwline.c: Likewise. - * libio/swprintf.c: Likewise. - * malloc/malloc.c: Likewise. - * nss/digits_dots.c: Likewise. - * posix/fnmatch.c: Likewise. - * posix/spawn_faction_addclose.c: Likewise. - * posix/spawn_faction_adddup2.c: Likewise. - * posix/spawn_faction_addopen.c: Likewise. - * posix/spawni.c: Likewise. - * posix/wordexp.c: Likewise. - * posix/spawni.c: Likewise. - * resolv/res_hconf.c: Likewise. - * resolv/res_init.c: Likewise. - * shadow/lckpwdf.c: Likewise. - * signal/sighold.c: Likewise. - * signal/sigrelse.c: Likewise. - * stdio-common/printf-parse.h: Likewise. - * stdio-common/printf-prs.c: Likewise. - * stdio-common/printf_fp.c: Likewise. - * stdio-common/vfprintf.c: Likewise. - * stdio-common/vfscanf.c: Likewise. - * stdlib/rpmatch.c: Likewise. - * sunrpc/create_xid.c: Likewise. - * sunrpc/key_call.c: Likewise. - * sysdeps/generic/setrlimit64.c: Likewise. - * sysdeps/generic/utmp_file.c: Likewise. - * sysdeps/generic/vlimit.c: Likewise. - * sysdeps/posix/posix_fallocate.c: Likewise. - * sysdeps/posix/posix_fallocate64.c: Likewise. - * sysdeps/posix/sigpause.c: Likewise. - * sysdeps/posix/sigset.c: Likewise. - * sysdeps/unix/grantpt.c: Likewise. - * sysdeps/unix/bsd/ualarm.c: Likewise. - * sysdeps/unix/sysv/linux/dl-origin.c: Likewise. - * sysdeps/unix/sysv/linux/getloadavg.c: Likewise. - * sysdeps/unix/sysv/linux/ttyname.c: Likewise. - * sysdeps/unix/sysv/linux/ulimit.c: Likewise. - * time/strftime.c: Likewise. - * wcsmbs/wcscoll.c: Likewise. - * wcsmbs/wcsxfrm.c: Likewise. + * intl/textdomain.c: Likewise. + * intl/*.c: Update copyright. + * sysdeps/generic/bits/libc-lock.h: Define __libc_rwlock_* stubs. - * time/tst-getdate.c (main): Make error messages more human readable. +2000-02-27 Andreas Jaeger - * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate - postinc/predec instruction. - (_FPU_SETCW): Likewise. - Patch by Franz Sirl . + * sysdeps/unix/sysv/linux/configure.in: Treat also "/usr/" as + prefix especially. -2000-08-20 Andreas Jaeger +2000-02-27 Ulrich Drepper - * time/tst-getdate.c (main): Increase error in case of wrong - conversion. - Fix typo in test case. + * po/de.po: Update from translation team. + * po/ko.po: Likewise. -2000-08-20 Ulrich Drepper +2000-02-25 Andreas Jaeger - * ctype/ctype.h (isblank): Make available if ISO C99. - * wctype/wctype.h (iswblank): Make available if ISO C99. - * math/math.h (signgam): Don't make available if ISO C99. - * math/tgmath.h (tgamma): Renamed from gamma. - Patches by Joseph S. Myers . - - * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element. - Pretty printing. - * intl/plural.y (new_exp): Take number of optional parameters in - second parameter. Test for correct number of parameters and free - correctly in case of failure. Adjust all callers. - (yylex): Allow ';' as terminator character. - -2000-08-19 Ulrich Drepper - - * locale/lc-time.c (free_mem): New function. Free alt_digits and - walt_digits. - - * locale/findlocale.c (free_mem): Also free here->filename. - - * locale/loadlocale.c (_nl_unload_locale): Also free locale->name. - - * math/test-fenv.c (feenv_tests): Clear all exceptions before - first test. - (feexcp_nomask_test): Correct printf args. - (feexcp_mask_test): Likewise. - -2000-08-19 Andreas Jaeger - - * inet/tst-gethnm.c: Include string.h to provide prototype for - strcmp. - - * malloc/mtrace.pl (usage): Inform about --help. - -2000-08-19 Wolfram Gloger - - * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of - size HEAP_MAX_SIZE. - -2000-08-19 Andreas Jaeger - - * shlib-versions: Remove libnss_db, libdb and libdb1. - -2000-08-19 Jakub Jelinek - - * sysdeps/unix/sysv/linux/alpha/readdir.c: Move... - * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and - * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here. - * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move... - * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and - * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here. - * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove. - * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove. - * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove. - * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS - getdents. - * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning. - * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise. - -2000-08-18 Jakub Jelinek - - * include/glob.h (__glob64): Add prototype. - * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only - define glob and glob_in_dir. - * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2. - * sysdeps/unix/sysv/linux/arm/Versions: Likewise. - * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise. - * sysdeps/unix/sysv/linux/i386/glob64.c: New file. - * sysdeps/unix/sysv/linux/arm/glob64.c: New file. - * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file. - -2000-08-18 Jakub Jelinek - - * malloc/Makefile (memusage): libmemusage.so is installed in slibdir. - -2000-08-17 Andreas Jaeger - - * math/test-fenv.c (fe_single_test): New function. - (fe_env_tests): Use fe_single_test. - (feenable_test): New tests for feenable/fedisable and - fegetexcpetions. - (feexcp_mask_test): New function. - (feexcp_nomask_test): New function. - -2000-08-19 Richard Henderson - - * sysdeps/alpha/fpu/fenv_libc.h: New file. - * sysdeps/alpha/fpu/fclrexcpt.c: Use it. + * math/Versions: Move fe* function to GLIBC_2.2. The patches have + not been added to glibc 2.1.3. + * Versions.def: Remove 2.1.3 entry for math. + * sysdeps/alpha/fpu/fclrexcpt.c: Change default version to GLIBC_2.2. * sysdeps/alpha/fpu/fegetenv.c: Likewise. - * sysdeps/alpha/fpu/fesetround.c: Likewise. - * sysdeps/alpha/fpu/fegetround.c: Likewise. - * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise. - * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise. - * sysdeps/alpha/fpu/ftestexcept.c: Likewise. - * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise. Use the smaller mask. - * sysdeps/alpha/fpu/feenablxcpt.c: Likewise. - * sysdeps/alpha/fpu/fegetexcept.c: Likewise. - * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits. * sysdeps/alpha/fpu/fesetenv.c: Likewise. * sysdeps/alpha/fpu/feupdateenv.c: Likewise. + * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise. + * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise. * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise. - * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New. - (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New. - -2000-08-19 Andreas Jaeger - - * elf/constload1.c: Include for puts prototype. - -2000-08-19 Ulrich Drepper - - * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions. - * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of - a dynamically loaded object remove old l_initfini list. - * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to - remove some dynamically allocated memory blocks in the dynamic - loading data structures. - * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0. - * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions. - Instead call _dl_check_map_versions only for the dependencies. - * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname - information of initial objects as not free-able. - * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free - element. - - * elf/filter.c: Call mtrace. - * elf/restest1.c: Likewise. Close the objects. - * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more - debug information. - - * elf/constload1.c: Add comment explaining not freed memory. - -2000-08-18 Andreas Jaeger - - * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show - alignment for structs stat and stat64. - Patch by Maciej W. Rozycki . - -2000-08-17 Ulrich Drepper - - * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino - handling. Patch by Richard Henderson . - - * nss/Versions: Remove libnss_db information. - -2000-08-16 Jakub Jelinek - - * sysdeps/sparc/fpu/fedisblxcpt.c: New file. - * sysdeps/sparc/fpu/feenablxcpt.c: New file. - * sysdeps/sparc/fpu/fegetexcept.c: New file. - * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file. - - * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries - to match Solaris. - -2000-08-17 Ulrich Drepper - - * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code. - (_FPU_SETCW): Likewise. - Patch by Franz Sirl . - - * stdio-common/printf_fp.c: Fix chars_needed computation. - Patch by Greg McGary . - -2000-08-17 Jakub Jelinek - - * elf/dl-load.c (_dl_map_object): Don't crash if both loader and - _dl_loaded are NULL. - -2000-08-17 Jakub Jelinek - - * manual/arith.texi (feholdexcept): Returns 0 on success. - -2000-08-17 Andreas Jaeger - - * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname. - (ifr_newname): New. - Reported by Andi Kleen . - -2000-08-17 Jakub Jelinek - - * sysdeps/alpha/fpu/fedisblxcpt.c: New file. - * sysdeps/alpha/fpu/feenablxcpt.c: New file. - * sysdeps/alpha/fpu/fegetexcept.c: New file. - -2000-08-16 Jakub Jelinek - - * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes - of buf->st_ino and kbuf->st_ino, not __st_ino. - If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all. - * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include - directive so that only linux/getdents.c is used, not some - architecture specific one. - -2000-08-16 Jakub Jelinek - - * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently - enabled, not disabled exceptions. - * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise. - * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise. - -2000-08-17 Greg McGary - - * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix - from test program name when constructing suffix for $(LDLIBS-*). - (bounded-thread-library): New variable. - * crypt/Makefile - [build-shared, build-static] (libcrypt-dep): Remove variable. - ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies. - [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies. - * linuxthreads/Makefile (libpthread, librt): Remove variables. - (librt-tests): Add variable. (tests): Use it. - [build-shared, build-static] - ($(addprefix $(objpfx),$(tests)), - $(addprefix $(objpfx),$(librt-tests))): - Consolidate individual dependencies. - [build-bounded] - ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)): - Add dependencies. - * math/Makefile (LDLIBS-*): Remove variables (they are redundant). - [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies. - * misc/Makefile - [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies. - * rt/Makefile - [build-shared, build-static] - ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies. - [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies. - -2000-08-17 Greg McGary - - * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/ - * sysdeps/unix/make-syscalls.sh: Likewise. - * sysdeps/unix/sysv/linux/shmctl.c: Likewise. - * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise. - -2000-08-17 Greg McGary - - * sysdeps/i386/fpu/s_frexp.S: Check bounds. - Wrap extern symbols in BP_SYM (). - * sysdeps/i386/fpu/s_frexpf.S: Likewise. - * sysdeps/i386/fpu/s_frexpl.S: Likewise. - * sysdeps/i386/fpu/s_remquo.S: Likewise. - * sysdeps/i386/fpu/s_remquof.S: Likewise. - * sysdeps/i386/fpu/s_remquol.S: Likewise. - * sysdeps/i386/fpu/s_sincos.S: Likewise. - * sysdeps/i386/fpu/s_sincosf.S: Likewise. - * sysdeps/i386/fpu/s_sincosl.S: Likewise. - * sysdeps/unix/sysv/linux/i386/clone.S: Likewise. - * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise. - -2000-08-16 Andreas Schwab - - * sysdeps/m68k/fpu/fegetexcept.c: New file. - * sysdeps/m68k/fpu/fedisblxcpt.c: New file. - * sysdeps/m68k/fpu/feenablxcpt.c: New file. - -2000-08-15 Ulrich Drepper - - * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded. - * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded. - * elf/dl-support.c: Define _nl_nloaded. - * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself. - * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding - object to global list. - * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing - from _dl_loaded list. - * elf/dl-load.c (_dl_map_object_from_fd): Likewise. - * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the - number here. - - * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not - unmask, exceptions. - * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask, - exceptions. - Reported by Harvey J. Stein . - -2000-08-16 Andreas Jaeger - - * elf/elf.h (EM_X8664): Add official x86-64 specific value. - -2000-08-15 Marko Myllynen - - * inet/netinet/icmp6.h: Added Mobile IPv6 definitions. - -2000-08-15 Ulrich Drepper - - * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c. - * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource] - (sysdep_routines): Add oldgetrlimit64. - * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file. - Patch by Franz Sirl . - - * include/link.h: Undo last patches. Hurd now has stat64. - * elf/Makefile: Likewise. - * elf/dl-load.c: Likewise. - * elf/dl-misc.c: Likewise. - * elf/dl-profile.c: Likewise. - * sysdeps/generic/sysd-link.h: Removed. - * sysdeps/unix/sysv/linux/sysd-link.h: Removed. - - * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call - thread event callback function. - (__aio_notify_only): Use function above. - Patch by Kaz Kylheku . - -2000-08-16 Mark Kettenis - - * sysdeps/mach/hurd/lseek64.c: New file. - -2000-08-15 Mark Kettenis - - * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t): - Remove typedefs. - * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove - typedefs. - * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove - typedefs. - * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs. - -2000-08-15 Mark Kettenis - - * sysdeps/mach/hurd/xstatconv.c: New file. - * sysdeps/mach/hurd/fxstat64.c: New file. - * sysdeps/mach/hurd/lxstat64.c: New file. - * sysdeps/mach/hurd/xstat64.c: New file. - * sysdeps/mach/hurd/Dist: Add xstatconv.c. - -2000-08-15 Mark Kettenis - - * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs): - Initialize, needed for change in common symbol handling in newer - binutils. Mirrors 2000-01-03 change made by Andreas Schwab. - -2000-08-15 Ulrich Drepper - - * elf/constload1.c: Call mtrace. Check return value of dlclose call. - * elf/constload2.c: Add destructor to unload constload3. - - * include/link.h: Include sysd-link.h. - * sysdeps/generic/sysd-link.h: New file. - * sysdeps/unix/sysv/linux/sysd-link.h: New file. - * elf/Makefile (distribute): Add sysd-link.h. - * elf/dl-load.c: Use definitions from sysd-link.h instead of stat - types and functions directly. - * elf/dl-misc.c: Likewise. - * elf/dl-profile.c: Likewise. - - * elf/loadfail.c (main): Close all successfully loaded objects. - - * elf/multiload.c: Add mtrace call. Call dlclose for all handles and - free wd. - * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if - there is already one. - - * elf/dl-close.c: Pretty print. - -2000-08-14 Ulrich Drepper - - * sysdeps/posix/ttyname.c: Make name variable from getttyname function - global (with file scope). Add __libc_subfreeres function to free the - string. - * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable - in ttyname function. - - * sysdeps/generic/strtok.c: Remove initializer for olds variable. - - * crypt/md5-crypt.c: Let destructor deallocate static buffer. - - * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by - mapping them to /x5c and /x7e respectively. - - * locale/programs/ld-ctype.c: Add support for more definitions after - copy statement. - -2000-08-14 Jakub Jelinek - - * dirent/Versions (getdirentries64): Export at GLIBC_2.2. - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_GETDENTS64_SYSCALL): Define. - * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64 - syscall if available to get d_type fields. - * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define. - * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64, - __lxstat64): Export at GLIBC_2.2. - (alphasort64, readdir64, readdir64_r, scandir64, versionsort64): - Likewise. - * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove. - * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define. - * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64, - getdirentries64, versionsort64): Remove. - * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64, - getdirentries64, versionsort64): Remove. - -2000-08-13 Ulrich Drepper - - * posix/Makefile: Remove rules to generate glob package. - - * posix/Makefile (tests): Add tst-regexloc. - (tst-regexloc-ENV): Add LOCPATH. - * posix/tst-regexloc.c: New file. - -2000-08-12 Andreas Jaeger - - * include/features.h (__STDC_ISO_10646__): Define. - Reported by Markus Kuhn . - -2000-08-13 Ulrich Drepper - - * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600. - - * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not - for revision 6 and up). - - * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before - including . - * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined - to get definitions of just these types. - - * signal/signal.h: Define thread signal handling functions also for - POSIX95. - - * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for - POSIX95. - * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise. - - * sysvipc/sys/shm.h: Define pid_t for XPG. - - * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as - they are not anymore required here. - - * wcsmbs/wchar.h: Make the various wide char string and stream - functions available for the respective XPG versions. - - * nss/Makefile: Remove rules to build and distribute nss_db. - - * sysdeps/generic/alphasort64.c: Remove unnecessary versioning. - * sysdeps/generic/scandir64.c: Likewise. - * sysdeps/generic/versionsort64.c: Likewise. - -2000-08-13 Ulrich Drepper - Benjamin Koznik - - * libio/fileops.c: Merge with libstdc++-v3. - * libio/genops.c: Likewise. - * libio/iofclose.c: Likewise. - * libio/iofopen.c: Likewise. - * libio/iofwide.c: Likewise. - * libio/libio.h: Likewise. - * libio/libioP.h: Likewise. - * libio/stdfiles.c: Likewise. - * libio/stdio.c: Likewise. - * libio/wfileops.c: Likewise. - * libio/wgenops.c: Likewise. - - * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2. - -2000-08-12 Ulrich Drepper - - * locale/programs/localedef.c: Implement --prefix option to allow - writing in standard places of alternative install directories. - - * posix/regex.c (compile_range): Implement collation sequence - handling for glibc. Use simple character ordering otherwise and - not strcoll. - -2000-08-12 Mark Kettenis - - * sysdeps/generic/scandir64.c: Include . - -2000-08-12 Andreas Jaeger - - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle - __USE_FILE_OFFSET64 correctly for locking. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. - -2000-08-12 Jakub Jelinek - - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64): - Define for 2.4.1 on sparc as well. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values - for F_GETLK64, F_SETLK64, and F_SETLKW64. - * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file. - -2000-08-12 Ulrich Drepper - - * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also - defined. - -2000-08-12 Andreas Jaeger - - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64, - F_SETLK64, F_SETLKW64): Define with F_GETLK etc. - - * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set - mips2 for assembler. - - * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl - if fnctl64 is not available for F_*LK*64. - - * sysdeps/unix/sysv/linux/i386/lockf64.c: New file. - -2000-08-12 Ulrich Drepper - - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64): - Define for 2.4.1 on x86. - * sysdeps/unix/sysv/linux/i386/fcntl.c: New file. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values - for F_GETLK64, F_SETLK64, and F_SETLKW64. - - * dirent/dirent.h: Define DT_WHT. - - * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file. - * sysdeps/unix/sysv/linux/arm/getdents64.c: New file. - * sysdeps/unix/sysv/linux/arm/readdir64.c: New file. - * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file. - * sysdeps/unix/sysv/linux/arm/scandir64.c: New file. - * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file. - -2000-08-11 Ulrich Drepper - - * nss/digits_dots.c: Don't pass NULL in h_aliases for successful - lookup, pass pointer to array with NULL pointer [PR libc/1858]. - * inet/Makefile (tests): Add tst-gethnm. - * inet/tst-gethnm.c: New file. - - * rt/aio_cancel.c: If canceling a specific request which is running - *really* do nothing. - * rt/aio_misc.h: Add `done' to states of a request. - * rt/aio_misc.c: Add several tests for the correct state. - Simplify request table memory handling. - -2000-08-10 Jakub Jelinek - - * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well. - * dirent/scandir64.c: Move... - * sysdeps/generic/scandir64.c: ...here. - * dirent/alphasort64.c: Move... - * sysdeps/generic/alphasort64.c: ...here. - * dirent/versionsort64.c: Move... - * sysdeps/generic/versionsort64.c: ...here. - * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64, - getdirentries64, readdir64, readdir64_r, scandir64, versionsort64): - Export symbols at GLIBC_2.2. - * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise. - * include/dirent.h (__readdir64_r, __scandir64, __alphasort64, - __versionsort64): Add prototypes. - * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2. - * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove - unused prototype. - * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1 - and GLIBC_2.2. - * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/getdents.c: New. - * sysdeps/unix/sysv/linux/alpha/getdents64.c: New. - * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to - __u_quad_t. - * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64): - Adjust for kernel-2.4.0-test6 layout. - * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both - GLIBC_2.1 and GLIBC_2.2. - * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise. - * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise. - * sysdeps/unix/sysv/linux/i386/getdents64.c: New. - * sysdeps/unix/sysv/linux/i386/olddirent.h: New. - * sysdeps/unix/sysv/linux/i386/readdir64.c: New. - * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New. - * sysdeps/unix/sysv/linux/i386/scandir64.c: New. - * sysdeps/unix/sysv/linux/i386/alphasort64.c: New. - * sysdeps/unix/sysv/linux/i386/versionsort64.c: New. - * sysdeps/unix/sysv/linux/ia64/getdents.c: New. - * sysdeps/unix/sysv/linux/ia64/getdents64.c: New. - * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c. - * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c. - * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to - __u_quad_t. - * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New. - * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define. - * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New. - * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New. - * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New. - * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New. - * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to - __u_quad_t. - * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New. - * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*): - Define. - * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New. - * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New. - * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New. - * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New. - * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*): - Define. - * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include - alpha/readdir.c. - * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include - alpha/readdir_r.c - * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New. - * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New. - * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If - _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set - st_ino from __st_ino. - * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise. - * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise. - * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv, - xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO, - set __st_ino in addition to st_ino. - * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define. - * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and - __old_getdents64 as well. - * sysdeps/unix/sysv/linux/getdirentries.c: Use it for - getdirentries64 and old_getdirentries64 as well. - * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES, - __GETDENTS): Define. - (GETDENTS64): Remove. - * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE): - Define. - (GETDENTS64): Remove. - * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c. - * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c. - * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64 - as well. - * sysdeps/unix/readdir_r.c: Use it for readdir64_r and - __old_readdir64_r as well. - * sysdeps/unix/sysv/linux/kernel-features.h: Define - __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up. - -2000-08-08 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define. - Add missing ILL_BADIADDR to enum and make ILL_BREAK match the - define of the kernel. - Add missing __SEG_PSTKOVF definition. - Adjust the padding of struct siginfo and struct sigevent to - match the fact that sigval_t is 64 bit. - -2000-08-10 Ulrich Drepper - - * timezone/zic.c: Update from tzcode2000f. - * timezone/australasia: Update from tzdata2000f. - * timezone/europe: Likewise. - * timezone/southamerica: Likewise. - * timezone/yearistype: Likewise. - -2000-08-10 Andreas Jaeger - - * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and - stat with current MIPS kernel. - -2000-08-01 Mark Kettenis - - * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG, - elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to - sysdeps/unix/sysv/linux/i386/sys/procfs.h. - Remove the junk that's only relevant in the Linux kernel itself. - Add a warning saying that this file is now obsolete, and include - . - * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t, - ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved - here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include - , and . Remove parts of - `struct elf_prstatus' that are #ifdef'ed out. Improve comments - and add the notice that the file is primarily there for GDB. - * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment. - -2000-08-09 Jakub Jelinek - - * time/tzfile.c (__tzfile_compute): __tzstring zones - from zone_names. - -2000-08-09 Jakub Jelinek - - * resolv/resolv.h (__res_state): Surround prototype with - __BEGIN_DECLS/__END_DECLS. - * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h. - -2000-08-04 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource): - Make independant of asm/resource.h from the Linux kernel. - -2000-08-06 Bruno Haible - - * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath. - -2000-08-06 Bruno Haible - - * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH. - * locale/Makefile (locale-CPPFLAGS): Likewise. - -2000-08-09 Ulrich Drepper - - * sysdeps/i386/fpu/libm-test-ulps: Increase several error values - for AMD processors. - -2000-08-03 Jakub Jelinek - - * misc/Versions (mincore): Export at GLIBC_2.2. - -2000-08-03 Bruno Haible - - * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW. - -2000-08-02 Mark Kettenis - - * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from - socketpair. Made socketpair a weak alias. - * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using - __socketpair. Use S_IFIFO protocol to make pipes POSIX - conforming, but fall back on the old protocol if the socket server - doesn't support it. - * include/sys/socket.h: Add prototype for __socketpair. - -2000-08-09 Andreas Schwab - - * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the - long long modifier is seen. - - * elf/nodelete.c (do_test): Remove reference to undefined member - sa_restorer. - * rt/tst-aio4.c (do_test): Likewise. - - * configure.in: Add `-lm' when checking for libgd. - * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during - linking. - -2000-08-09 Andreas Jaeger - - * configure.in: Change required make versions. - - * manual/install.texi (Tools for Compilation): Document required - make version. - (Supported Configurations): Update list of supported - configurations. - -2000-08-08 Ulrich Drepper - - * locale/linereader.c (get_string): Don't print an error is a string - contains an unknown character. - -2000-08-06 Ulrich Drepper - - * locale/programs/ld-collate.c (struct symbol_t): Add name element. - (new_symbol): Take new parameters with name of the symbol. - Adjust callers. - (handle_ellipsis): Don't only allow character symbols. - (collate_read): Allow string of collating elements contain invalid - characters; ignore entry in this case. - Handle ellipsis of collating symbols before first order_start. - Allow ellipsis in state 0. - -2000-08-04 Ulrich Drepper - - * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in - error message. - Reported by Tung-Han Hsieh . - -2000-08-04 Greg McGary - - * posix/regex.c (SET_HIGH_BOUND): New macro. - (MOVE_BUFFER_POINTER): Use it. - (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro. - (EXTEND_BUFFER): Use it. - -2000-08-03 Ulrich Drepper - - * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well. - * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from - _wide_data but from _IO_FILE directly. - * libio/iofclose.c: Likewise. - * libio/wfileops.c: Likewise. - - * libio/genops.c (_IO_default_showmanyc): Change return type to size_t. - * libio/libioP.h: Change prototypes. - -2000-08-03 Greg McGary - - * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our - frame pointer early so that we save caller's frame pointer. - * sysdeps/i386/elf/setjmp.S: Likewise. - - * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures. - * io/test-utime.c: Test passing NULL as utimbuf* arg. - - * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro. - (MOVE_BUFFER_POINTER): Handle high_bound properly. - (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND. - -2000-08-03 Ulrich Drepper - - * iconvdata/big5.c: Updated. - Patch by Tung-Han Hsieh . - -2000-08-02 Ulrich Drepper - - * Makeconfig (all-subdirs): Add conform. - * conform/Makefile: Include ../Rules. - - * Makefile (README): Add rules to generate here as well. - -2000-08-02 Ulrich Drepper - - * version.h (VERSION): Bump to 2.1.92. - - * sysdeps/ia64/Dist: Add _mcount.S. - - * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S. - - * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c. - - * elf/Makefile (distribute): Add missing modules. - - * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files. - - * posix/regex.c (compile_range): Translate range start and end - characters to avoid empty range in case of REG_ICASE [PR libc/1842]. - - * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include - asm/resource.h. - - * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change. - -2000-08-02 Andreas Jaeger - - * elf/elf.h (EM_S390): Added. - (R_390_*): New relocs for S390. - - * sysdeps/unix/sysv/linux/s390/Dist: New file. - * sysdeps/unix/sysv/linux/s390/sysdep.h: New file. - * sysdeps/unix/sysv/linux/s390/sysdep.S: New file. - * sysdeps/unix/sysv/linux/s390/syscall.S: New file. - * sysdeps/unix/sysv/linux/s390/sys/user.h: New file. - * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file. - * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file. - * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file. - * sysdeps/unix/sysv/linux/s390/socket.S: New file. - * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file. - * sysdeps/unix/sysv/linux/s390/shmctl.c: New file. - * sysdeps/unix/sysv/linux/s390/setreuid.c: New file. - * sysdeps/unix/sysv/linux/s390/setresuid.c: New file. - * sysdeps/unix/sysv/linux/s390/setresgid.c: New file. - * sysdeps/unix/sysv/linux/s390/setregid.c: New file. - * sysdeps/unix/sysv/linux/s390/setgroups.c: New file. - * sysdeps/unix/sysv/linux/s390/setgid.c: New file. - * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file. - * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file. - * sysdeps/unix/sysv/linux/s390/seteuid.c: New file. - * sysdeps/unix/sysv/linux/s390/setegid.c: New file. - * sysdeps/unix/sysv/linux/s390/semctl.c: New file. - * sysdeps/unix/sysv/linux/s390/register-dump.h: New file. - * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file. - * sysdeps/unix/sysv/linux/s390/putmsg.c: New file. - * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file. - * sysdeps/unix/sysv/linux/s390/msgctl.c: New file. - * sysdeps/unix/sysv/linux/s390/mmap.S: New file. - * sysdeps/unix/sysv/linux/s390/getuid.c: New file. - * sysdeps/unix/sysv/linux/s390/getresuid.c: New file. - * sysdeps/unix/sysv/linux/s390/getresgid.c: New file. - * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file. - * sysdeps/unix/sysv/linux/s390/getmsg.c: New file. - * sysdeps/unix/sysv/linux/s390/getgroups.c: New file. - * sysdeps/unix/sysv/linux/s390/getegid.c: New file. - * sysdeps/unix/sysv/linux/s390/geteuid.c: New file. - * sysdeps/unix/sysv/linux/s390/fchown.c: New file. - * sysdeps/unix/sysv/linux/s390/clone.S: New file. - * sysdeps/unix/sysv/linux/s390/brk.c: New file. - * sysdeps/unix/sysv/linux/s390/bits/time.h: New file. - * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file. - * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file. - * sysdeps/unix/sysv/linux/s390/Makefile: New file. - * sysdeps/s390/sysdep.h: New file. - * sysdeps/s390/sys/ucontext.h: New file. - * sysdeps/s390/sub_n.S: New file. - * sysdeps/s390/strncpy.S: New file. - * sysdeps/s390/strcpy.S: New file. - * sysdeps/s390/stackinfo.h: New file. - * sysdeps/s390/setjmp.S: New file. - * sysdeps/s390/s390-mcount.S: New file. - * sysdeps/s390/mul_1.S: New file. - * sysdeps/s390/memusage.h: New file. - * sysdeps/s390/memset.S: New file. - * sysdeps/s390/memcpy.S: New file. - * sysdeps/s390/memchr.S: New file. - * sysdeps/s390/machine-gmon.h: New file. - * sysdeps/s390/ldbl2mpn.c: New file. - * sysdeps/s390/gmp-mparam.h: New file. - * sysdeps/s390/fpu/fpu_control.h: New file. - * sysdeps/s390/fpu/fesetround.c: New file. - * sysdeps/s390/fpu/fegetround.c: New file. - * sysdeps/s390/fpu/fclrexcpt.c: New file. - * sysdeps/s390/fpu/bits/fenv.h: New file. - * sysdeps/s390/ffs.c: New file. - * sysdeps/s390/elf/start.S: New file. - * sysdeps/s390/elf/setjmp.S: New file. - * sysdeps/s390/elf/bsd-setjmp.S: New file. - * sysdeps/s390/elf/bsd-_setjmp.S: New file. - * sysdeps/s390/dl-machine.h: New file. - * sysdeps/s390/bzero.S: New file. - * sysdeps/s390/bsd-setjmp.S: New file. - * sysdeps/s390/bsd-_setjmp.S: New file. - * sysdeps/s390/bits/string.h: New file. - * sysdeps/s390/bits/setjmp.h: New file. - * sysdeps/s390/bits/huge_val.h: New file. - * sysdeps/s390/bits/endian.h: New file. - * sysdeps/s390/bits/byteswap.h: New file. - * sysdeps/s390/bcopy.S: New file. - * sysdeps/s390/backtrace.c: New file. - * sysdeps/s390/atomicity.h: New file. - * sysdeps/s390/asm-syntax.h: New file. - * sysdeps/s390/addmul_1.S: New file. - * sysdeps/s390/add_n.S: New file. - * sysdeps/s390/abort-instr.h: New file. - * sysdeps/s390/__longjmp.c: New file. - * sysdeps/s390/Makefile: New file. - * sysdeps/s390/Implies: New file. - * sysdeps/s390/Dist: New file. - Patches by Martin Schwidefsky . - -2000-08-01 Ulrich Drepper - - Remove incompatible IPv6 extension of RPC. - * sunrpc/Makefile: Undo changes. - * sunrpc/rpc_main.c: Likewise. - * sunrpc/rpc/clnt.h: Likewise. - * sunrpc/rpc/svc.h: Likewise. - * sunrpc/bindrsvprt6.c: Removed. - * sunrpc/clnt_tcp6.c: Removed. - * sunrpc/clnt_udp6.c: Removed. - * sunrpc/svc_tcp6.c: Removed. - * sunrpc/svc_udp6.c: Removed. - - * intl/libintl.h: Don't use __attribute_format_arg__ for gettext, - dgettext, and dcgettetxt. - - * intl/locale.alias: Update japanese aliases. - - * sysdeps/ia64/bits/byteswap.h: New file. - Patch by Dan Pop . - - * misc/sys/cdefs.h: Define __attribute_format_arg__. - * intl/libintl.h: Use it here instead of using __attribute__ directly. - -2000-07-13 H.J. Lu - - * posix/regex.c (re_max_failures): Set to 4000. - -2000-08-01 Ulrich Drepper - - * gnulib/Makefile (tests): Add tst-gcc. - * gnulib/tst-gcc.c: New file. - - * assert/Makefile (routines): Add __assert. - * assert/Versions: Export __assert for glibc 2.2. - * assert/__assert.c: New file. - * assert/assert.h: Declare __assert. - -2000-07-27 Bruno Haible - - * locale/localeinfo.h (_ISCTYPE): New macro. - * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new - LC_CTYPE locale format. - * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b. - (ctype_output): Output class_b[nr] right before class_3level[nr]. - (allocate_arrays): Fill class_b, similarly to class_3level. - -2000-08-01 Ulrich Drepper - Joseph S. Myers - - * math/tgmath.h: Make standard compliant. Don't ask how. - -2000-07-04 H.J. Lu - - * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)): - Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new". - ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only. - -2000-07-30 Maciej W. Rozycki - - * include/features.h (_XOPEN_SOURCE): Update the explanation. - (__USE_LARGEFILE): Add an explanation. - (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500. - (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600. - -2000-08-01 Ulrich Drepper - - * libio/Makefile: Enable exception handling for genops, wgenops, - fileops, and wfileops. - -2000-07-29 Mark Kettenis - - * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into - acount that elf/rtld's main program might remove some varibales - from the environment if we're trying to be secure. Move the Hurd - startup data if necessary, or, if we there is no startup data, - make sure the magical convention that ARGV[0] is stored just after - the environment list. - -2000-08-01 Philip Blundell - - * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource] - (sysdep_routines): Add oldgetrlimit, oldsetrlimit. - * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit, - oldsetrlimit for GLIBC_2.0. - -2000-08-01 Andreas Jaeger - - * nss/nss_files/files-ethers.c: Use case-insensitive lookup. - (LINE_PARSER): Allow any number of spaces between ip address and - number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt. - - * conform/data/netdb.h-data: Remove getipnodebyaddr and friends. - - * include/netdb.h: Remove getipnodebyaddr and friends, leave - constants in. - - * nis/Versions: Remove _nss_nis_getipnodebyname_r and - _nss_nisplus_getipnodebyname_r. - - * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for - now, getipnodebyname is deprecated. - * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r): - Likewise. - - * inet/Makefile (routines): Don't build getipnodebyaddr and - friends. - - * intl/Makefile (distribute): Add tst-translit.sh and translit.po. - - * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h. - - * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c. - - * wctype/Makefile (distribute): Add wchar-lookup.h. - - * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h. - - * iconvdata/Makefile (distribute): Add isiri-3342.h. - -2000-08-01 Andreas Schwab - - * Make-dist (dist): Resolve `..' in file names. - -2000-08-01 Andreas Jaeger - - * stdio-common/Makefile (distribute): Remove removed files, add - new files. - - * Makefile (distribute): Remove include/db_185.h and db.h. - - * include/db_185.h: Remove, it's not needed anymore. - * include/db.h: Likewise. - -2000-07-31 Ulrich Drepper - - * inet/Makefile (tests): Remove tst-ipnode. - * include/netdb.h: Add stuff removed from resolv/netdb.h here for - now. - -2000-07-31 Jes Sorensen - - * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and - endp statements have already been added. - -2000-04-18 David Mosberger - - * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include - . - - * sysdeps/ia64/_mcount.S: New file. - - * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to - __gmon_start__. Fix up extraneous whitespace. - -2000-01-12 H.J. Lu - - * sysdeps/ia64/elf/initfini.c: New file. - -2000-07-31 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW - dependency between branch and ar.pfs write. - -2000-07-31 H.J. Lu - - * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly - handle the wchar_t array. - -2000-07-31 Ulrich Drepper - - * iconvdata/gb18030.c: Don't map to and from positions in ISO - 10646 which are not yet assigned. - Patch by wang shouhua . - -2000-07-31 Andreas Jaeger - - * inet/Versions: Remove getipnodebyaddr and friends from - GLIBC_2.2. - - * resolv/netdb.h: Remove getipnodebyaddr and friends. - -2000-07-30 Bruno Haible - - * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case - ch >= 0x81 && ch2 < 0x40 as invalid. - -2000-07-30 Bruno Haible - - * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid. - (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed. - -2000-07-30 Bruno Haible - - * iconvdata/johab.c (BODY for TO_LOOP): After calling - ucs4_to_ksc5601_sym, fix the conversion to JOHAB. - -2000-07-30 Bruno Haible - - * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4, - 0xb8. - (from_ucs4): Change values of U+00A4, U+00BB, U+00ED. - -2000-07-30 Bruno Haible - - * iconvdata/macintosh.c (HAS_HOLES): Set to 1. - -2000-07-30 Bruno Haible - - * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4. - (from_ucs4): Change values of U+00A4 and U+00ED. - (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020. - -2000-07-30 Bruno Haible - - * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed. - (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026. - -2000-07-30 Bruno Haible - - * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342. - * iconvdata/isiri-3342.h: New file. - * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't - treat 0x80 as a gap. - -2000-07-30 Bruno Haible - - * string/strxfrm.c (encoding_mask, encoding_byte): Remove. - (utf8_encode): Use simple shifts instead. Fix return value. - -2000-07-31 Ulrich Drepper - - * timezone/private.h: Update from tzcode2000e. - * timezone/asia: Update from tzdata2000e. - * timezone/australasia: Likewise. - * timezone/europe: Likewise. - * timezone/northamerica: Likewise. - * timezone/zone-tab: Likewise. - -2000-07-30 Ralf Baechle - - * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS - the order of struct sigaltstack members is different. - -2000-07-26 Philip Blundell - - * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file. - -2000-07-29 Ulrich Drepper - - * locale/langinfo.h: Add entries for extra tables in CTYPE data. - * locale/programs/ld-ctype.c: Adjust for this. - - * locale/programs/ld-collate.c: Add more alignment checks. - * locale/string/strcoll.c: Likewise. - -2000-07-30 Mark Kettenis - - * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h - outside USE_IN_LIBIO block. - -2000-07-26 Philip Blundell - - * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function. - (elf_machine_rel): Use it for out-of-range PC24 relocs. - -2000-07-28 Philip Blundell - - * math/test-fpucw.c: Ignore reserved bits in control word. - -2000-07-28 Philip Blundell - - * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro. - (ret): Redefine to PSEUDO_RET. - (PSEUDO): Remove jump to syscall_error. - -2000-07-29 Mark Kettenis - - * resolv/README: Add some information about using the resolver in - multi-threaded code and with C++. Spelling fixes. - -2000-07-29 Mark Kettenis - - * resolv/resolv.h (struct __sockaddr_in): Remove. - (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in. - -2000-07-29 Greg McGary - - * Rules (test-bp-inputs, make-test-out): New variables. - ($(objpfx)%-bp.out): New rule. - ($(objpfx)%.out): Rewrite in terms of new variables. - - * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to - internal function that uses vtable. - * libio/vsnprintf.c (_IO_vsnprintf): Likewise. - * libio/vswprintf.c (_IO_vswprintf): Likewise. - - * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset. - (malloc_extend_top): Convert brk to chunk using chunk_at_offset. - (chunk_align): Likewise. - - * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression - in a way that conforms to decl, and avoids spurious bounds violation. - - * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded. - * sysdeps/generic/frame.h: Likewise. - * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds - around return value. - (__backtrace): Qualify frame-pointer chain and return address - pointers as __unbounded. Wrap bounds around variable `current'. - * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds - around return value. - (catch_segfault): Qualify frame-pointer chain and return address - pointers as __unbounded. Wrap bounds around variable `current'. - * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded. - (ADVANCE_STACK_FRAME): Wrap bounds around return value. - * sysdeps/powerpc/backtrace.c (struct layout): Make pointers - __unbounded. - (__backtrace): Qualify frame-pointer chain and return address - pointers as __unbounded. Wrap bounds around variable `current'. - - * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check. - * sysdeps/i386/mul_1.S: Likewise. - * sysdeps/i386/submul_1.S: Likewise. - * sysdeps/i386/i586/addmul_1.S: Likewise. - * sysdeps/i386/i586/mul_1.S: Add bounds checks. - * sysdeps/i386/i586/submul_1.S: Likewise. - -2000-07-27 Andreas Jaeger - - * libio/Depend: New file, libio needs localedata for tests. - * posix/Depend: Likewise. - -2000-07-28 Ulrich Drepper - - * stdio-common/_i18n_itoa.c: Removed. - * stdio-common/_i18n_itoa.h: Removed. - * stdio-common/_i18n_itowa.c: Removed. - * stdio-common/_i18n_itowa.h: Removed. - * stdio-common/_i18n_number.h: New file. - * stdio-common/Depend: New file. - * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize. - * stdio-common/vfprintf.c: Rewrite buffer handling for integer - printing. Change printing of numbers with locale specific digits to - use new code in _i18n_number.h. - * stdio-common/Makefile (routines): Remove _i18n_itoa and - _i18n_itowa. - - * stdio-common/bug13.c: Improve messages. - - * locale/programs/ld-ctype.c (ctype_read): Improve error message. - (set_class_defaults): Always search also for Uxxxx names. - Detect insufficient number of outdigits. - - * locale/Makefile (C-translit.h): Use mv not $(move-if-changed). - -2000-07-27 Bruno Haible - - * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in - _NL_CTYPE_MAP_NAMES. - * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values. - * wctype/wcfuncs.c (towlower, towupper): Use them. - * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise. - * wctype/wctrans.c (wctrans): Likewise. - * wctype/wctrans_l.c (__wctrans_l): Likewise. - -2000-07-27 Bruno Haible - - * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun. - Use the optimized version of this function outside glibc as well. - -2000-07-27 Jakub Jelinek - - * locale/indigits.h (indigit_value): Correct. - * locale/indigitswc.h (indigitwc_value): Correct. - * stdio-common/vfscanf.c (__vfscanf): Fix I18N number - conversion, add GROUP checking for it, fix GROUP number - conversion with strlen(thousands) > 1. - Honour width correctly in the presence of floating - decimal points and thousands separators. - * stdio-common/tst-sscanf.c: New test. - * stdio-common/Makefile: Add it to tests. - * sysdeps/generic/strtol.c (strtol): Fix conversion if there are - thousands separators and group argument is non-zero. - -2000-07-25 Bruno Haible - - * locale/Versions: Enumerate __*_l functions individually. __wctrans_l - starts at GLIBC_2.2. - -2000-07-12 Maciej W. Rozycki - - * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h. - * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add - _test_and_set. - (headers): Add sys/tas.h. - * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for - GLIBC_2.2 from libc. - * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file. - * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for - _test_and_set. - -2000-07-28 Andreas Jaeger - - * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4. - - * dlfcn/Makefile ($(objpfx)tst-dladdr): New. - ($(objpfx)tst-dladdr.out): new. - (tests): Add tst-dladdr. - ($(objpfx)glrefmain): Use libdl. - - * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh - . - -2000-07-27 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and - ftruncate(64) calls. - -2000-07-27 Jes Sorensen - - * intl/tst-translit.c: Include string.h to get prototype for - strcmp(). - -2000-07-27 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong - name and add weak alias for __fork. - - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread - & pwrite to use __libc_ as strong names instead of - __syscall_. - - * include/sched.h: Add clone2 prototype. - -2000-07-26 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the - procedure name twice. - -2000-07-27 Philip Blundell - - * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04. - -2000-07-27 Andreas Jaeger - - * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO - MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used). - * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise. - Reported by Andi Kleen . - - * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64. - (do_wait): Test requests with aio_return64. - (do_test): Change callers of do_wait. - -2000-07-26 Andreas Jaeger - - * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel. - (do_wait): Test requests with aio_return. - (do_test): Change callers of do_wait. - -2000-07-27 Ulrich Drepper - - * rt/aio_misc.c (__aio_remove_request): New function. Handle removing - from request list. Don't do the list handling here, call - __aio_remove_request. - * rt/aio_misc.h: Add prototype for __aio_remove_request. - * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the - request might already be processed. Don't do the list handling - here, call __aio_remove_request. - - * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and - LIO_DSYNC. - - * rt/aio_misc.c: Add comment explaining why writer memory barriers - are missing. - -2000-07-27 Greg McGary - - * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*. - * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error - in union init. Pass zero for ignored semnum arg to semctl. - * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo. - -2000-07-26 Greg McGary - - * sysdeps/gnu/bits/msq.h: Qualify kernel's - data structure pointers as __unbounded. - * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise. - * sysdeps/generic/bp-semctl.h: New file. - * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure - pointers as __unbounded. Check bounds of syscall args. - * sysdeps/unix/sysv/linux/msgrcv.c: Likewise. - * sysdeps/unix/sysv/linux/msgsnd.c: Likewise. - * sysdeps/unix/sysv/linux/semctl.c: Likewise. - * sysdeps/unix/sysv/linux/semop.c: Likewise. - * sysdeps/unix/sysv/linux/shmat.c: Likewise. - * sysdeps/unix/sysv/linux/shmctl.c: Likewise. - * sysdeps/unix/sysv/linux/shmdt.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise. - * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise. - * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise. - * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise. - -2000-07-26 Ulrich Drepper - - * libio/iofwide.c: Enable transliteration for conversion from wchar_t - by default. - * locale/C-ctype.c: Likewise. - * wcsmbs/wcsmbsload.c: Likewise. - -2000-07-26 Greg McGary - - * Makeconfig (+link-bounded, link-libc-bounded, - link-extra-libs-bounded): New variables. - (built-program-cmd): Omit $(run-program-prefix) for static BP tests. - * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files. - * Rules (tests-bp.out): New variable. - (tests): Conditionally add BP tests. - (binaries-bounded): Add variable and associated rule. - * csu/Makefile [build-bounded] (extra-objs, install-lib): - Move conditional stuff after place where condition is defined. - - * malloc/malloc.c (bp-checks.h): Add #include. - (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression. - (_bin_at): Add unbounded version of bin_at. - (IAV, chunk_alloc): Use unbounded _bin_at. - (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc, - chunk2mem_check, realloc_check, malloc_starter, malloc_atfork): - Wrap BOUNDED_N around return value. - (chunk_realloc): Adjust oldsize once. - - * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl. - (__ubp_memchr): Add correct decl. - (_CHECK_STRING): Use __ubp_memchr. - * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr): - New alias for unbounded-pointer __memchr. - * sysdeps/i386/memchr.S: Likewise. - * sysdeps/ia64/memchr.S: Likewise. - * sysdeps/m68k/memchr.S: Likewise. - * sysdeps/sparc/sparc32/memchr.S: Likewise. - * sysdeps/sparc/sparc64/memchr.S: Likewise. - * sysdeps/vax/memchr.s: Likewise. - - * sysdeps/i386/strtok.S: Fix bounds checks to pass tests. - (SAVE_PTR): New macro. (save_ptr): Expand size as BP. - (strtok): Don't bother to write into SAVE_PTR when returning NULL. - * sysdeps/i386/i686/strtok.S: Likewise. - * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER, - RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register. - - * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines. - * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise. - - * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy - bounds of copy_result to mount_proc. - -2000-07-25 Bruno Haible - - * wctype/wctype.h (__wctrans_l): New declaration. - * wctype/wctrans_l.c: New file. - * wctype/Makefile (routines): Add wctrans_l. - -2000-07-26 Ulrich Drepper - - * posix/fnmatch_loop.c: Fixes for use outside glibc. - Patch by MacGyver . - -2000-07-26 Andreas Jaeger - - * rt/tst-aio4.c: New file, slightly modified version of tst-aio2. - * rt/tst-aio5.c: New file, slightly modified version of tst-aio2. - * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5. - - * rt/tst-aio.c (test_file): Fix typo. - * rt/tst-aio64.c (test_file): Likewise. - - * rt/tst-aio3.c: New file, slightly modified version of tst-aio2. - * rt/Makefile: Add rules to build and run tst-aio3. - - * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since - it's not needed and confuses only. - -2000-07-26 Ulrich Drepper - - * resolv/res_init.c: Add support for nameserver communication with - IPv6. - * resolv/res_send.c: Likewise. - * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4 - in nsaddrs field. - Patch by . - -2000-07-25 Bruno Haible - - * locale/programs/ld-ctype.c (wctype_table_get): New function. - (wcwidth_table_get): New function. - (wcwidth_table_add): Call it. - (wctrans_table_get): New function. - (wctrans_table_add): Call it. - -2000-07-25 Ulrich Drepper - - * rt/lio_listio.c (lio_listio): Always disable individual - notification. - * rt/Makefile: Add rules to build and run tst-aio2. - * rt/tst-aio2.c: New file. - - * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly. - Reported by Kevin Beard . - -2000-07-25 Mark Kettenis - - * nss/nss_files/files-netgrp.c (strip_whitespace): New function. - (_nss_netgroup_parseline): Use strip_whitespace to strip off any - leading and trailing spaces from host, user and domain name. - -2000-07-25 Jes Sorensen - - * csu/defs.awk: Add support for need_endp. - -2000-07-25 Mark Kettenis - - * resolv/resolv.h: Remove __P from res_send_qhook and - res_send_rhook typedefs. - -2000-07-25 Bruno Haible - - * intl/tst-translit.c (main): Unset OUTPUT_CHARSET. - -2000-07-25 Ulrich Drepper - - * iconv/gconv_builtin.h: Add WCHAR_T alias. - -2000-07-25 Mark Kettenis - - * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the - calling thread, set the cancellation flag and return success - instead of EINTR. - -2000-07-25 Ulrich Drepper - - * libio/Makefile: Add rules build, run, and distribute tst-widetext.c. - * libio/tst-widetext.c: New file. - * libio/tst-widetext.input: New file. - - * libio/iogetwline.c (_IO_getwline_info): Pretty print. - - * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely - empty external buffer correctly. - -2000-07-25 Maciej W. Rozycki - - * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using - __STRING(entry) and not #entry. - (_RTLD_EPILOGUE): Likewise. - * sysdeps/mips/mips64/dl-machine.h: Likewise. - -2000-07-25 Andreas Jaeger - - * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter - according to changes in test program, run also with static only - builds. - ($(objpfx)tst-printf.out): Likewise. - - * stdio-common/tst-unbputc.sh: Likewise. - * stdio-common/tst-printf.sh: Likewise. - -2000-07-25 Ulrich Drepper - - * libio/wfileops.c (_IO_wdo_write): Correct return value. - - * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the - loop. - - * libio/fileops.c: Pretty print. - -2000-07-23 Bruno Haible - - * wctype/wchar-lookup.h: New file. - * wctype/iswctype.c: Include "wchar-lookup.h". - (__iswctype): Support alternate locale format with 3-level tables. - * wctype/iswctype_l.c (__iswctype_l): Likewise. - * wctype/towctrans.c (__towctrans): Likewise. - * wctype/towctrans_l.c (__towctrans_l): Likewise. - * wctype/wcfuncs.c: Include "wchar-lookup.h". - (__ctype32_wctype, __ctype32_wctrans): Declare external. - (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower, - __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper, - __iswxdigit, towlower, towupper): Support alternate locale format - with 3-level tables. - * wctype/wcextra.c (iswblank): Likewise. - * wctype/wcfuncs_l.c: Include "wchar-lookup.h". - (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l, - __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l, - __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale - format with 3-level tables. - * wctype/wcextra_l.c (__iswblank_l): Likewise. - * wctype/wctype.c (__wctype): Likewise. In the alternate locale - format, return a 3-level table pointer. - * wctype/wctype_l.c (__wctype_l): Likewise. - * wctype/wctrans.c (wctrans): Likewise. - * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit, - __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank, - __ISwcntrl, __ISwpunct, __ISwalnum): New enum values. - (iswctype): Remove macro definition. - * wcsmbs/wcwidth.h: Include "wchar-lookup.h". - (internal_wcwidth): Support alternate locale format with 3-level - tables. - * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET): - New nl_items. - * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET): - Define them as being type "word". - * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them. - * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans, - __ctype32_width): New exported variables. - * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the - alternate locale format. Don't initialize __ctype_names and - __ctype_width in the alternate locale format. - * locale/programs/localedef.h (oldstyle_tables): New declaration. - * locale/programs/localedef.c (oldstyle_tables): New variable. - (OPT_OLDSTYLE): New macro. - (options): Add --old-style option. - (parse_opt): Handle --old-style option. - * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset, - map_offset, class_3level, map_3level, width_3level members. - (ctype_output): Support for alternate locale format: Computation of - nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and - _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty. - New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field - _NL_CTYPE_WIDTH now contains the three-level table. Extra elems - now contain both class and map tables. - (struct wctype_table): New type. - (wctype_table_init, wctype_table_add, wctype_table_finalize): New - functions. - (struct wcwidth_table): New type. - (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New - functions. - (struct wctrans_table): New type. - (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New - functions. - (allocate_arrays): Support for alternate locale format: Set - plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first - 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx] - to the first 256 characters. Compute ctype->map_3level. Set - ctype->class_offset and ctype->map_offset. Compute ctype->width_3level - instead of ctype->width. - -2000-07-24 Ulrich Drepper - - * libio/iogetwline.c (_IO_getwline_info): Use wide character - string functions. - -2000-07-24 Jakub Jelinek - - * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size - in wide characters, not bytes. - * libio/tst_putwc.c (do_test): Add test for writing lots of data - into file. - -2000-07-22 Bruno Haible - - * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the - new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE, - LC_MEASUREMENT, LC_IDENTIFICATION. - - * locale/xlocale.h (struct __locale_struct): Increase size of - __locales array. - * locale/duplocale.c (__duplocale): Copy newly added categories as - well. - * locale/freelocale.c (__freelocale): Free newly added categories. - * locale/newlocale.c (__newlocale): Fix typo in sanity check. - If a base is given, use it, don't simply return it. - -2000-07-22 Bruno Haible - - * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer - variables, copied_key and copied_salt, instead of boolean variables. - -2000-07-24 Andreas Jaeger - - * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix - check for offset. - - * grp/initgroups.c (initgroups_dyn_function): Renamed from - initgroups_function, adopted prototype for change from 2000-07-23. - (initgroups): Follow type change. - - * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset - & PAGE_MASK case, reformat. - - * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input - from stdin and setup environment. - -2000-07-24 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias. - -2000-07-23 Ulrich Drepper - - * string/endian.h: Explain the _*_ENDIAN constant values a bit - more. Patch by scarlet@mit.edu [PR libc/1799]. - - * io/ftwtest-sh: Add -f parameter to chmod if -R is also given. - [PR libc/1792]. - - * argp/argp-parse.c (parser_finalize): Reverse order in which - parsers are run for ARGP_KEY_END. [PR libc/1755]. - - * grp/initgroups.c (initgroups): Don't limit the possible number - of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around - the setgroups call while the call fails and descrease the number - of groups each round. - The name of the initgroups function in the NSS modules changed. - (compat_call): Adapt for dynamic resizing. - * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn): - Implement dynamic resizing. - * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn): - Likewise. - * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise. - * hesiod/Versions: Change exported interface name. - * nis/Versions: Change exported interface name. - -2000-07-23 Ulrich Drepper - - * locale/iso-639.def: Some errors corrected. - Patch by Keld Simonsen. - - * include/limits.h: Update non-gcc portion. - Patch by Joseph S. Myers . - -2000-07-22 Mark Kettenis - - * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the - program's data space, reallocate only the space that was just - deallocated to release its backing space. - -2000-07-23 Ulrich Drepper - - * stdio-common/vfprintf.c (process_string_arg): For wide character - version, handle precision also correctly. - - * nss/nss_files/files-hosts.c: Correct problem with three or more - entries with the same name. - - * nss/nss_files/files-hosts.c: Implement multi handling. - * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc. - -2000-07-22 Ulrich Drepper - - * nss/nss_files/files-parse.c: Don't pollute namespace by using - strcasecmp. - - * grp/Makefile: Change Makefiles and tests to run only when necessary. - * malloc/Makefile: Likewise. - * malloc/tst-mtrace.sh: Likewise. - * posix/Makefile: Likewise. - * posix/globtest.sh: Likewise. - * posix/wordexp-tst.sh: Likewise. - * string/Makefile: Likewise. - -2000-07-22 Mark Kettenis - - * locale/findlocale.c (locale_file_list): Use __LC_LAST as array - size instead of LC_ALL to take into account the new locale - categories. - -2000-07-22 Ulrich Drepper - - * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove - remainders of hash table. - * locale/categories.def: Remove remainders of transliteration - hash table. - * locale/langinfo.h: Likewise. - * locale/programs/ld-ctype.c: Likewise. Fix code to write out - transliteration tables. - - * locale/gen-translit.pl: New file. - * locale/C-translit.h.in: New file. - * locale/C-ctype.c: Include C-translit.h. Initialize transliteration - data pointers with data from this file. - * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h, - and gen-translit.pl. - Add rule to generate C-translit.h. - * intl/tst-translit.c (main): Update for now performed - transliteration. - - * stdio-common/vfscanf.c: Handle input -- with format %f correctly - (it's no input error). - * stdio-common/tstscanf.c: Add test case for format %f with input --. - * stdio-common/scanf12.c: Correct expected result for first scanf. - - * stdio-common/vfprintf.c (process_string_arg): Correct handling - of multibyte character strings in %s format with precision. - -2000-07-21 Ulrich Drepper - - * locale/programs/ld-collate.c (collate_read): Allow collating - symbols and elements be named in reorder-after instructions. - Reported by Yoshito Kawada . - - * locale/programs/ld-collate.c (handle_ellipsis): Test for - duplication with generated name, not the name of the first - character. - Patch by Yong Li . - - * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification. - Patch by Franz Sirl . - -2000-07-21 Wolfram Gloger - - * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller - allocations only if a non-main arena cannot be extended. - -2000-07-21 Ulrich Drepper - - * elf/dl-load.c (_dl_map_object): Take loader==NULL into account - in DF_1_NODEFLIB handling. - -2000-07-21 Andreas Jaeger - - * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its - own rule. - - * libio/fwide.c: Include for prototype. - -2000-07-21 Greg McGary - - * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset, - set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot): - Define in terms of chunk_at_offset. - (inuse, set_inuse, clear_inuse): Define in terms of next_chunk. - (next_bin, prev_bin): offset by size of real array elements. - (chunk_align): Make `m' a scalar, since that's how it's used. - -2000-07-21 Greg McGary - - * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from - UNCHECK_BOUNDS. - * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant. - * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): - Wrap bounds around argv & envp and each of their string members. - * sysdeps/powerpc/elf/start.S: Designate BP symbols. - * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point - symbol in BP_SYM (). Discard bounds of address arg. - * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): - Discard bounds on address arg, add bounds to return value. - -2000-07-20 Ulrich Drepper - - * elf/Makefile (tests): Add filter. Add rules to generate filter. - * elf/filter.c: New file. - * elf/filtmod1.c: New file. - * elf/filtmod2.c: New file. - - * elf/rtld.c: Define _dl_bind_not variable. - (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not. - * elf/dl-support.c: Likewise. - * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not. - * elf/dl-runtime.c (fixup): Don't remember looked up value if - _dl_bind_not. - (profile_fixup): Likewise. - - * libio/Makefile (routines): Add fwide. - * libio/iofwide.c (_IO_fwide): Remove locking. This is done in - fwide now. Internal calls to _IO_fwide must do locking themselves - or don't need locking. - * libio/fwide.c: New file. - - * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB. - - * elf/Makefile: Add no modules for nodelete test. - * elf/nodelmod3.c: New file. - * elf/nodelmod4.c: New file. - * elf/nodelete.c: Also test case where dependency of dlopen() object - is marked nodelete. - - * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen. - * elf/nodlopen.c: New file. - * elf/nodlopenmod.c: New file. - * include/dlfcn.h: Define __RTLD_DLOPEN. - * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set - and this is a dlopen() call, do not load the binary. - * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open. - * dlfcn/dlopenold.c: Likewise. - * configure.in: Add test for -z nodelete option. - * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete. - -2000-07-20 Mark Kettenis - - Make Hesiod NSS module thread-safe. - - * hesiod/README.hesiod: Update. - - * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r, - _nss_hesiod_setprotoent, _nss_hesiod_endprotoent, - _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r. - * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and - hesiod-proto. - * hesiod/nss_hesiod/hesiod-init.c: New file. - * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness. - * hesiod/nss_hesiod/hesiod-grp.c: Likewise. - * hesiod/nss_hesiod/nss_hesiod.h: New file. - * hesiod/nss_hesiod/hesiod-service.c - (_nss_hesiod_getservbyport_r): New function. Provide support for - looking up services by port number. - * hesiod/nss_hesiod/hesiod-proto.c: New file. - - * hesiod/hesiod.c: Update from BIND 8.2.3-T5B. - * hesiod/hesiod.h: Likewise. - * hesiod/hesiod_p.h: Likewise. - -2000-07-20 Mark Kettenis - - Fix problems with `struct __res_state' getting too big. - * resolv/resolv.h (struct __sockaddr_in): New definition. - (struct __res_state): Use __sockaddr_in instead of sockaddr_in in - the private parts of the structure to save some space. - * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to - (struct sockaddr_in *) in call to sock_eq. - Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns]. - -2000-07-20 Ulrich Drepper - - * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries. - * elf/dl-close.c (_dl_close): Don't close an object if it is marked - with nodelete. - * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter - to _dl_map_object. Return immediately if no object loaded. - Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed. - * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry - if it exists into l_flags_1 word. - * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use - it to determine whether loading is wanted or not. - (_dl_map_object): Likewise. - Call _dl_map_object_from_fd with new parameter. - * sysdeps/generic/ldsodefs.h: Update prototype. - * elf/dl-deps.c: Add new parameter to _dl_map_object calls. - * elf/rtld.c: Likewise. - * sysdeps/mach/hurd/dl-sysdep.c: Likewise. - * elf/Makefile (tests): Add noload. Add rules to generate noload. - * elf/noload.c: New file. - * include/link.h (struct link_map): Add l_feature_1 and l_flags_1. - * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE. - * sysdeps/mips/bits/dlfcn.h: Likewise. - * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)). - (tests-nodelete-yes): Define. - (modules-names): Add $(modules-nodelete-$(have-z-nodelete)). - Add rules to build nodelete and modules. - * elf/nodelete.c: New file. - * elf/nodelmod1.c: New file. - * elf/nodelmod2.c: New file. - * configure.in: Add test for -z nodelete option. - * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete. - - * libio/Makefile (tests): Add tst_wprintf2. - (tst_wprintf2-ARGS): Define. - * libio/tst_wprintf2.c: New file. - Based on a test case by Yoshito Kawada . - - * libio/wfiledoalloc.c: Only allocate external buffer if this - hasn't happened yet. - - * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really - something in the buffer. gconv call can write up to end of the - buffer, not only _IO_write_end. - (_IO_wfile_overflow): Allocate also external buffer. - -2000-07-19 Ulrich Drepper - - * stdio-common/vfprintf.c (process_string_arg): Handle multibyte - strings with precision in vfwprintf correctly. - * stdio-common/vfprintf.c: Fix completely broken handling of - unbuffered wide character streams. - Reported by Yoshito Kawada . - - * resolv/Makefile (distribute): Add README. - - * resolv/README: New file. By Mark Kettenis . - -2000-07-18 Mark Kettenis - - Update resolver code to BIND 8.2.3-T5B. - - * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and - __res_nclose. - [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename, - __res_mkquery, __res_nsend, __res_query, __res_querydomain and - __res_search. - * resolv/Banner: BIND-8.2.3-T5B. - - * resolv/base64.c: Update from BIND 8.2.3-T5B. - * resolv/herror.c: Likewise. - * resolv/inet_addr.c: Likewise. - * resolv/inet_net_ntop.c: Likewise. - * resolv/inet_net_pton.c: Likewise. - * resolv/inet_neta.c: Likewise. - * resolv/inet_ntop.c: Likewise. - * resolv/nsap_addr.c: Likewise. - * resolv/inet_pton.c: Likewise. Reject a few more more invalid - IPv6 addresses (ISC bug #520). - - * resolv/ns_name.c: Avoid emitting RCS ID in object file. - * resolv/ns_parse.c: Likewise. - * resolv/ns_netint.c: Likewise. - * resolv/ns_samedomain.c: Likewise. - * resolv/ns_ttl.c: Likewise. - * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting - RCS ID in object file. - - * resolv/res_debug.c: Update from BIND 8.2.3-T5B. - * resolv/res_mkquery.c: Likewise. - * resolv/res_query.c: Likewise. - * resolv/res_init.c: Likewise. - (res_setoptions): Mark internal. - * resolv/res_send.c: Likewise. - [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit - by using poll instead. - * resolv/res_comp.c: Likewise. - [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a - weak alias for __dn_expand. - * resolv/res_data.c: Likewise. - (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set - in _res.options. Avoids a potential security risk by avoiding a - close (0). - [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make - res_mkquery, res_query, res_querydomain adn res_search weak - aliases for __res_mkquery, __res_query, __res_querydomain and - __res_search. - * resolv/res_libc.c: (_res): Don't initialize. Fix res_close - instead to avoid close(0). - (res_init): Always use the static resolver context. - [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak - alias for __res_init. - - * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of - RES_SET_H_ERRNO and accompanying comment to... - * include/resolv.h: ... here. - - * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B. - * resolv/arpa/nameser_compat.h: Likewise. - -2000-07-18 Ulrich Drepper - - * nss/makedb.c (main): Compare result of load_db with - NSS_STATUS_SUCCESS and not 0. - Patch by Jan Rekorajski . - - * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2. - -2000-07-18 Greg McGary - - * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro. - (EXTEND_BUFFER): Use it. - -2000-07-18 Ulrich Drepper - - * include/libc-symbols.h: Define RETURN_ADDRESS macro. - * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of - __builtin_return_address. - * dlfcn/dlopenold.c: Likewise. - * dlfcn/dlsym.c: Likewise. - * dlfcn/dlvsym.c: Likewise. - * elf/dl-profstub.c: Likewise. - * malloc/malloc.c: Likewise. - * sysdeps/generic/machine-gmon.h: Likewise. - Based on a patch by schwidefsky@de.ibm.com. - -2000-07-18 Andreas Jaeger - - * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of - NULL to elf_machine_fixup_plt t argument to silence GCC. - - * include/string.h: Add prototype for __memchr. - - * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias. - - * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr - instead of memrchr. - -2000-07-18 Ulrich Drepper - - * intl/Makefile: Make sure tst-translit is run after tst-gettext. - - * locale/C-ctype.c: Add initializers for gap elements. - * locale/programs/ld-ctype.c (ctype_output): Write out index entries - for gap elements. - -2000-07-16 Ulrich Drepper - - * nscd/nscd.c (print_version): Update copyright year. - -2000-07-17 Greg McGary - - * sysdeps/unix/make-syscalls.sh: Handle new arg signature - keyletters F, I, S, W. Remove unused keyletter V. Surround - signature argnames with angle-brackets for use as word delimiters, - and to induce syntax errors for any args not handled. Split - multi-echo echoes and comment each stage. - * sysdeps/unix/common/syscalls.list: Refine & correct signatures. - * sysdeps/unix/inet/syscalls.list: Likewise. - * sysdeps/unix/mman/syscalls.list: Likewise. - * sysdeps/unix/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/syscalls.list: Likewise. - * sysdeps/unix/sysv/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/powerpc/syscalls.list - - * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings. - * sysdeps/unix/sysv/linux/execve.c (__execve): Add const - qualifiers. Don't check NULL-terminator of argv & envp. - * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use - unbounded pointer type in word-size assertion. - * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing - cases to stifle warnings. - - * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to - _IO_file_attach. - * libio/iovdprintf.c (_IO_vdprintf): Likewise. - - * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods. - * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify - ptr as __unbouned. - - * Makerules (o-objects): Supplement with $(o-objects$o). - * string/Makefile (o-objects.ob): Add variable to pull - unbounded versions of memcpy, memset and memchr into libc_b. - - * sysdeps/generic/bp-checks.h: Use unbounded __memchr - rather than non-existent __ubp_memchr. - (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros. - (_CHECK_STRING, _CHECK_N): New macros. - (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*. - (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'. - * sysdeps/alpha/memchr.S: Change strong name to "__memchr". - Add weak alias "memchr". - * sysdeps/generic/memchr.c: Likewise. - * sysdeps/i386/memchr.S: Likewise. - * sysdeps/ia64/memchr.S: Likewise. - * sysdeps/m68k/memchr.S: Likewise. - * sysdeps/sparc/sparc32/memchr.S: Likewise. - * sysdeps/sparc/sparc64/memchr.S: Likewise. - * sysdeps/vax/memchr.s: Likewise. - - * iconv/gconv_trans.c: Add #include to get malloc decl. - - * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer. - (profile_fixup): Don't define for __BOUNDED_POINTERS__. - * sysdeps/i386/dl-machine.h: Don't use regparm attribute for - __BOUNDED_POINTERS__. - (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version - for __BOUNDED_POINTERS__. - -2000-07-17 Bruno Haible - - * iconv/gconv_open.c (__gconv_open): Initialize the __data - field of struct __gconv_trans_data differently. Don't pass NULL to - trans_init_fct. Simplify list append operation. - -2000-07-14 Bruno Haible - - * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms, - not only those having tsearch. - -2000-07-17 Ulrich Drepper - - * locale/langinfo.h: Add placeholder values in enum for removed - LC_CTYPE entries. - -2000-07-17 Jakub Jelinek - - * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded - chain if the PHDR check fails. - -2000-07-17 Mark Kettenis - - * nss/getent.c (print_hosts): Make sure we always print a space - between numeric addresses and hostnames. - -2000-07-17 Wolfram Gloger - - * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed, - i.e. if n_mmaps_max>0. - -2000-07-16 Mark Kettenis - - * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust - values to remove possible clash with other AI_* constants. - (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as - hexadecimal constants to stress the fact they're in fact - bit flags. - -2000-07-15 Mark Kettenis - - * nss/getXXent_r.c [NEED__RES]: Include . - (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit - instead of res_init. - -2000-07-16 Ulrich Drepper - - * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first - parameters of memset calls to avoid warnings. - -2000-07-15 Ulrich Drepper - - * stdlib/Makefile: Rewrite rules to avoid running isomac unless - necessary. - - * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch. - Patch by Greg McGary . - - * io/Makefile (tests): Add tst-getcwd. - * io/tst-getcwd.c: New file. - - * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary. - -2000-07-15 Jakub Jelinek - - * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data - structure. - -2000-07-13 Jakub Jelinek - - * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias. - * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias. - -2000-07-12 H.J. Lu - - * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to - GLIBC_2.2. - * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S. - * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc] - (sysdep-routines): Add clone2. - * sysdeps/unix/sysv/linux/ia64/clone2.S: New. - -2000-07-13 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/clone.S: New file. - * sysdeps/unix/sysv/linux/ia64/fork.c: New file. - -2000-06-05 David Mosberger - - * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file - based on sysdeps/unix/sysv/linux/bits/siginfo.h. - Change type of si_band from "int" to "long". - (si_imm) [USE_GNU]: Define - (si_isr) [USE_GNU]: Likewise. - (ILL_BREAK) [USE_GNU]: Likewise. - (FPE_DECOVF) [USE_GNU]: Likewise. - (FPE_DECDIV) [USE_GNU]: Likewise. - (FPE_DECERR) [USE_GNU]: Likewise. - (FPE_INVASC) [USE_GNU]: Likewise. - (FPE_INVDEC) [USE_GNU]: Likewise. - (TRAP_BRANCH) [USE_GNU]: Likewise. - (TRAP_HWBKPT) [USE_GNU]: Likewise. - -2000-07-06 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include - bits/sigcontext as struct mcontext does not depend on it. - - * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file. - -2000-07-04 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed. - -2000-07-04 David Mosberger-Tang - - * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file. - -2000-06-22 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file. - -2000-07-15 Ulrich Drepper - - * intl/Makefile (test-srcs): Add tst-translit. - (tests): Likewise. - Add rules to build and run tst-translit. - * intl/tst-translit.c: New file. - * intl/tst-translit.sh: New file. - * intl/translit.po: New file. - -2000-07-14 Ulrich Drepper - - * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the - transliteration function did its job, continue, don't stop. - - * iconvdata/iso646.c: Little optimizations in body for conversion - from UCS4. - -2000-07-14 Mark Kettenis - - * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning. - -2000-07-14 Mark Kettenis - - * configure.in: Check for pwd binary. - * config.make.in: Add PWD_P to be subsituted. - * Makerules: Use $(PWD_P) instead of /bin/pwd. - -2000-07-14 Ulrich Drepper - - * iconvdata/Makefile (modules): Add GB18030. - (distribute): Add gb18030.c. - * iconvdata/gconv-modules: Add entries for GB18030 module. - * iconvdata/gb18030.c: New file. - Contributed by Wang ShouHua - and Wu Jian. - -2000-07-13 Andreas Jaeger - - * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last - patch. - - * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid. - * inet/getnetgrent.c (free_mem): Likewise. - * misc/mntent.c (free_mem): Likewise. - * nss/getXXbyYY.c (free_mem): Likewise. - * nss/getXXent.c (free_mem): Likewise. - * pwd/fgetpwent.c (free_mem): Likewise. - * shadow/fgetspent.c (free_mem): Likewise. - -2000-07-14 Ulrich Drepper - - * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on - 64-bit architecture correctly [PR libc/1794]. - -2000-07-13 Ulrich Drepper - - * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2. - * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the - report that we are out of memory. - * elf/dl-deps.c (_dl_map_object_deps): Likewise. - * elf/dl-libc.c (dlerror_run): Likewise. - * elf/dl-open.c (_dl_open): Likewise. - * elf/rtld.c (dl_main): Likewise. - * elf/dl-error.c: Define _dl_out_of_memory. - (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate - the error string. - * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory. - [PR libc/1813]. - - * dlfcn/dlerror.c (free_key_mem): Also free error string. - - * iconv/loop.c: Fix comment. - - * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL. - -2000-07-13 Andreas Jaeger - - * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle - getcwd (NULL, size) with size > 0. - Fixes PR libc/1788, reported by John Buddery . - -2000-07-13 Andreas Jaeger - - * posix/Makefile: Remove build rules for libposix. - -2000-07-13 Andreas Schwab - - * sysdeps/generic/glob.c (glob): Fix memory leak. - [SHELL]: Remove reference to undefined variable `files'. - Fixes PR libc/1782. - -2000-07-13 Andreas Jaeger - - * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling - functions. - - * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free - memory if it was allocated. - -2000-07-12 Ulrich Drepper - - * iconv/gconv_db.c (gen_steps): Always initialize __data field of - step. - - * iconv/gconv_open.c (__gconv_open): Reapply - 2000-07-12 Bruno Haible - - * iconv/gconv_open.c (__gconv_open): Merge duplicated code. - - * iconv/gconv_open.c: Undo last two changes for now. They break - everything. - -2000-07-12 Andreas Jaeger - - * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to - compiler. - (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS. - (CFLAGS-dl-cache.c): Likewise. - (CFLAGS-ldconfig.c): Added, passes directory locations. - - * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to - locate cache. - * elf/ldconfig.c (LD_SO_CONF): Likewise. - (main): Use configured LIBDIR and SLIBDIR. - -2000-07-11 Jakub Jelinek - - * math/bits/cmathcalls.h (cimag): Add __THROW. - (creal, conj): Likewise. - * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left - by negative value. - -2000-07-12 H.J. Lu - - * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2 - for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c. - -2000-07-12 Ulrich Drepper - - * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although - it is wrong. - -2000-07-12 Bruno Haible - - * iconv/gconv_open.c (__gconv_open): Merge duplicated code. - -2000-07-12 Bruno Haible - - * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize - __modname. - -2000-07-12 Bruno Haible - - * iconv/gconv_open.c (__gconv_open): Initialize - result->__steps[cnt].__data. - -2000-07-12 Mark Kettenis - - * nss/getent.c (services_keys): Pass port number in network byte - order in call to getservbyport. - -2000-07-11 Andreas Jaeger - - * stdlib/Makefile (test-canon-ARGS): Fix for building in the - source dir. - * intl/Makefile (do-gettext-test): Likewise. - * dirent/Makefile (opendir-tst1-ARGS): Likewise. - -2000-07-11 Andreas Schwab - - * Makeconfig (run-program-prefix): New rule. - (built-program-cmd): Use run-program-prefix. - -2000-07-12 Ulrich Drepper - - * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR, - and NOEXPR unconditionally available. - -2000-07-12 Greg McGary - - * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM (). - * sysdeps/posix/open64.c: Likewise. + * sysdeps/arm/fpu/fclrexcpt.c: Likewise. + * sysdeps/arm/fpu/fegetenv.c: Likewise. + * sysdeps/arm/fpu/fesetenv.c: Likewise. + * sysdeps/arm/fpu/fraiseexcpt.c: Likewise. + * sysdeps/arm/fpu/fsetexcptflg.c: Likewise. + * sysdeps/generic/fclrexcpt.c: Likewise. * sysdeps/generic/fegetenv.c: Likewise. + * sysdeps/generic/fesetenv.c: Likewise. + * sysdeps/generic/feupdateenv.c: Likewise. + * sysdeps/generic/fgetexcptflg.c: Likewise. + * sysdeps/generic/fraiseexcpt.c: Likewise. + * sysdeps/generic/fsetexcptflg.c: Likewise. + * sysdeps/i386/fpu/fclrexcpt.c: Likewise. + * sysdeps/i386/fpu/fegetenv.c: Likewise. + * sysdeps/i386/fpu/fesetenv.c: Likewise. + * sysdeps/i386/fpu/feupdateenv.c: Likewise. + * sysdeps/i386/fpu/fgetexcptflg.c: Likewise. + * sysdeps/i386/fpu/fraiseexcpt.c: Likewise. + * sysdeps/i386/fpu/fsetexcptflg.c: Likewise. + * sysdeps/m68k/fpu/fclrexcpt.c: Likewise. + * sysdeps/m68k/fpu/fegetenv.c: Likewise. + * sysdeps/m68k/fpu/fesetenv.c: Likewise. + * sysdeps/m68k/fpu/feupdateenv.c: Likewise. + * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise. + * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise. + * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise. + * sysdeps/mips/fpu/fclrexcpt.c: Likewise. + * sysdeps/mips/fpu/fegetenv.c: Likewise. + * sysdeps/mips/fpu/fesetenv.c: Likewise. + * sysdeps/mips/fpu/feupdateenv.c: Likewise. + * sysdeps/mips/fpu/fgetexcptflg.c: Likewise. + * sysdeps/powerpc/fclrexcpt.c: Likewise. * sysdeps/powerpc/fpu/fegetenv.c: Likewise. * sysdeps/powerpc/fpu/fesetenv.c: Likewise. * sysdeps/powerpc/fpu/feupdateenv.c: Likewise. * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise. * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise. * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise. - -2000-07-11 Greg McGary - - * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias): - Add extra level of macro expansion. - [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise. - * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition - is available at the time `select' prototype is declared. - * sysdeps/unix/make-syscalls.sh: Remove unused variables. - Collect non-versioned weak aliases. Consider only non-versioned - aliases for the user-visible systemcall name. Do checks inline with - call to primitive system call. - * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to - stand-alone bounds checks to suppress unused value warnings. - * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise. - -2000-07-10 Mark Kettenis - - * sysdeps/mach/hurd/check_fds.c: New file. Implements - file descriptor checking in SUID programs for the Hurd. - - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use - res_hostalias instead of __hostalias for thread-safety. - -2000-07-09 Mark Kettenis - - * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds... - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here. - -2000-07-10 Ulrich Drepper - - * include/features.h: Include ISO C99 features if the compiler used - is an ISO C99 compiler. - Patch by Joseph S. Myers . - -2000-07-08 Mark Kettenis - - * iconv/gconv_conf.c: Include . - -2000-07-10 Andreas Jaeger - - * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since - it's overridden by libpthreads. - * sysdeps/unix/sysv/linux/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise. - - * malloc/Makefile: Run tst-mtrace only with shared libs. - - * stdio-common/Makefile: Run unbputc and tst-printf tests only - with shared libs. - -2000-07-10 Maciej W. Rozycki - - * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify - that gpreg really points to the GOT section of the calling object. - Scan all PT_LOAD segments of objects for stub_pc, instead of only - checking a start address of first one. - Fix typos. - * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map): - Likewise. - - * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo. - -2000-07-10 Andreas Jaeger - - * sysdeps/unix/sysv/linux/sigaction.c: Fix typo - (string_alias->strong_alias). - -2000-07-08 Mark Kettenis - - * hurd/hurd/fd.h: Include instead of . - -2000-07-07 Greg McGary - - * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that - have no names without leading underscores. - -2000-07-07 Ulrich Drepper - - * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and - U007E. - - * stdio-common/Makefile (tests): Remove tst-printf here... - (tests-srcs): ...and add it here. - (distribute): Add tst-unbputc.sh and tst-printf.sh. - Add rules to run tst-printf.sh. - * stdio-common/tst-printf.c: Move code around so that there is really - no further output where it's stated. - * stdio-common/tst-printf.sh: New file. - -2000-07-07 Mark Kettenis - - * hurd/vpprintf.c [USE_IN_LIBIO]: Include . - (do_write): Renamed from pwrite. - (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of - `struct _IO_cookie_file'. - -2000-07-07 Ulrich Drepper - - * malloc/mtrace.pl: Exit with exit code 1 if any leak was - detected. - * malloc/tst-mtrace.sh: Run mtrace script. - -2000-07-07 Greg McGary - - * posix/regex.c (EXTEND_BUFFER): Compute increment once. - Move all three components of a bounded pointer. - -2000-07-07 Ulrich Drepper - - * locale/programs/locale.c (write_locales): Don't simply add all - directories found in the subdir, test whether at least the - LC_CTYPE file is in there. - -2000-07-06 Ulrich Drepper - - * iconvdata/euc-jp.c: Map characters in C1 area to itself. - * iconvdata/euc-kr.c: Likewise. - - * stdio-common/vfprintf.c (process_string_arg): Check result of - wcrtomb call and bail out if it failed. - - * malloc/Makefile (test-srcs): Add tst-mtrace. - (distribute): Add tst-mtrace.sh. - Add rule to run tst-mtrace.sh. - * malloc/tst-mtrace.c: New file. - * malloc/tst-mtrace.sh: New file. - - * include/signal.h: Declare __libc_sigaction. - * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction. - * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias. - * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise. - - * configure.in: Fix CFLAGS-memprofstat.c definition after - 2000-06-19 change. - Patch by Bradford W. Johnson . - -2000-07-06 Jakub Jelinek - - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0 - instead of NULL to elf_machine_fixup_plt t argument. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add - cast. - -2000-07-06 Andreas Jaeger - - * crypt/Makefile (LDLIBS-cert): Removed. - (LDLIBS-md5c-test): Removed. - ($(objpfx)cert): Renamed from cert.out to fix dependencies. - ($(objpfx)md5c-test): Likewise for md5c-test.out. - -2000-07-06 Andreas Jaeger - - * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type - of the proc system is "proc". - - * sysdeps/generic/libc-start.c (__libc_start_main): Initialize - thread library for static programs. - -2000-07-06 Greg McGary - - * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt): - New macros. - * sysdeps/generic/strcpy.c: Add bounds checks. - * sysdeps/unix/fxstat.c: Likewise. - * sysdeps/unix/xstat.c: Likewise. - * sysdeps/unix/common/lxstat.c: Likewise. - * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise. - * sysdeps/unix/sysv/linux/execve.c: Likewise. - * sysdeps/unix/sysv/linux/fxstat.c: Likewise. - * sysdeps/unix/sysv/linux/fxstat64.c: Likewise. - * sysdeps/unix/sysv/linux/getcwd.c: Likewise. - * sysdeps/unix/sysv/linux/getdents.c: Likewise. - * sysdeps/unix/sysv/linux/llseek.c: Likewise. - * sysdeps/unix/sysv/linux/lxstat.c: Likewise. - * sysdeps/unix/sysv/linux/lxstat64.c: Likewise. - * sysdeps/unix/sysv/linux/poll.c: Likewise. - * sysdeps/unix/sysv/linux/pread.c: Likewise. - * sysdeps/unix/sysv/linux/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/ptrace.c: Likewise. - * sysdeps/unix/sysv/linux/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/readv.c: Likewise. - * sysdeps/unix/sysv/linux/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/sigpending.c: Likewise. - * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise. - * sysdeps/unix/sysv/linux/sigqueue.c: Likewise. - * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise. - * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise. - * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. - * sysdeps/unix/sysv/linux/sysctl.c: Likewise. - * sysdeps/unix/sysv/linux/truncate64.c: Likewise. - * sysdeps/unix/sysv/linux/ustat.c: Likewise. - * sysdeps/unix/sysv/linux/writev.c: Likewise. - * sysdeps/unix/sysv/linux/xmknod.c: Likewise. - * sysdeps/unix/sysv/linux/xstat.c: Likewise. - * sysdeps/unix/sysv/linux/xstat64.c: Likewise. - * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/i386/brk.c: Likewise. - * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. - * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise. - * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise. - * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise. - * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pread.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise. - * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise. - - * string/endian.h (__LONG_LONG_PAIR): New macro. - * sysdeps/unix/sysv/linux/ftruncate64.c: Use it. - * sysdeps/unix/sysv/linux/pread.c: Likewise. - * sysdeps/unix/sysv/linux/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/truncate64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pread.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise. - - * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS. - -2000-07-06 Andreas Jaeger - - * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): - Initialize result. - - * math/test-fpucw.c: Include for printf. - -2000-07-05 Greg McGary - - * sysdeps/generic/bp-checks.h: New file. - * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions - with list of #include files. - * sysdeps/unix/make-syscalls.sh: Handle new arg signature - keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation. - Don't generate BP thunk if `V' appears in signature. - Generate thunks with complete bounds checks. - * sysdeps/unix/syscalls.list: Refine signatures using new keyletters. - * sysdeps/unix/inet/syscalls.list: Likewise. - * sysdeps/unix/mman/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise. - -2000-07-05 Ulrich Drepper - - * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache - result. Search first in /etc/mtab (proc/mounts would be stupid). - If mount not in the file fall back on /proc. - - * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt - string got copied in. - Patch by Solar Designer . - -2000-07-05 Andreas Jaeger - - * manual/install.texi (Installation): Update information about - add-ons. - (Configuring and compiling): Update for glibc 2.2. - -2000-07-04 Andreas Jaeger - - * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value. - (_FPU_IEEE): Likewise. - - * math/Makefile (tests): Add test-fpucw. - - * math/test-fpucw.c (main): New file. - -2000-07-05 Ulrich Drepper - - * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning. - - * locale/programs/ld-collate.c (collate_output): Also write out the - collation sequence values and the wide character string for the - collation symbol table. - - * posix/fnmatch.c: Include "../locale/elem-hash.h". - * posix/fnmatch_loop.c: Implement collating symbol handling. - * posix/tst-fnmatch.input: Add more tests, especially for collating - symbol handling. - - * posix/regex.c: Fix comment. - -2000-07-05 Andreas Jaeger - - * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t. - (_FPU_GETCW): Remove extra colon. - Patch by Ralf Baechle . - - * posix/fnmatch_loop.c (FCT): Only declare len if - !WIDE_CHAR_VERSION to silence GCC. - - * sysdeps/generic/rawmemchr.c: Include for abort - prototype. - * sysdeps/generic/strchrnul.c: Likewise. - * sysdeps/generic/strlen.c: Likewise. - * sysdeps/generic/strchr.c: Likewise. - * sysdeps/generic/memchr.c: Likewise. - -2000-07-04 Ulrich Drepper - - * posix/fnmatch_loop.c: Implement equivalence class handling. - * posix/tst-fnmatch.input: Add tests for equivalence class - handling. - - * posix/fnmatch_loop.c: Improve performance for single-byte - character sets by not using btowc. - - * posix/tst-fnmatch.input: Add tests for locale dependent - behaviour. - * posix/tst-fnmatch.c (main): Also set LC_CTYPE category. - - * posix/tst-fnmatch.input: Add more test cases. - - * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt - are not aligned to alignof(md5_uint32) do it before calling - __md5_process_bytes. - * crypt/md5.c: Make sure buffers are aligned. - * crypt/md5.h: Likewise. - Reported by Solar Designer . - - * crypt/Makefile: Add dependencies for test programs. - - * Rules: Define LC_ALL=C in environments of all programs we run. - - * intl/tst-gettext.sh (LC_ALL): Define to C and export. - -2000-07-03 H.J. Lu - - * locale/programs/ld-ctype.c (ctype_output): The size of iov - is 2 + elem + offset, not 2 + elem + offset + 2. - -2000-07-04 Ulrich Drepper - - * posix/fnmatch_loop.c: Fix two problems uncovered by the new test - suite. - * posix/Makefile (tests): Add tst-fnmatch. - (tst-fnmatch-ENV): Define. - * posix/tst-fnmatch.c: New file. - * posix/tst-fnmatch.sh: New file. - -2000-07-04 NIIBE Yutaka - - * locale/programs/charmap.c (charmap_read): Prepend - the condition filename == NULL. - -2000-07-03 Greg McGary - - * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo. - - * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally. - ($(objpfx)b$(start-installed-name)): Add non-elf rule. - - * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*. - * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*. - (FILEBUF_LITERAL): Add cast for CHAIN init. - * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts. - (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write): - Revert type of `fp' to _IO_FILE*. - (_IO_iter_file): Remove cast. - (_IO_iter_next): Elide intermediate member reference. - - * sysdeps/powerpc/strchr.S: Check bounds. - Wrap extern symbols in BP_SYM (). - -2000-07-03 Andreas Jaeger - - * dlfcn/Makefile (generated): New. - -2000-07-03 Ulrich Drepper - - * libio/genops.c (__overflow): Use _IO_fwide to orient the stream. - (__uflow): Likewise. - (__underflow): Likewise. - * libio/wgenops.c (__wunderflow): Likewise. - * stdio-common/tst-unbputc.c: New file. - * stdio-common/tst-unbputc.sh: New file. - * stdio-common/Makefile: Add rules to build and run tst-unbputc. - - * po/en_GB.po: New file. - Contributed by Robert Brady . - -2000-07-01 Andreas Jaeger - - * intl/Makefile (generated-dirs): New. - - * elf/Makefile (generated): trusted-dirs.h is always generated, - move out of build-shared condition. - (generated): Merge the two entries for build-shared. - -2000-07-01 Ulrich Drepper - - * debug/Makefile (distribute): Add xtrace.sh. - -2000-06-30 Ulrich Drepper - - * version.h (VERSION): Bump to 2.1.91. - - * configure.in: Update warning comment. glibc should not be - broken anymore. - - * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add - ioperm.c, sys/procfs.h, and sys/io.h. - - * sysdeps/powerpc/Dist: Add bp-asm.h. - - * assert/Depend: Add localedata. - * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C. - (test-assert-perr-ENV): New. Define LANGUAGE=C. - - * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type == - R_ALPHA_REFQUAD]: Use memcpy to load and store value from - relocation address to prevent unaligned trap. - Suggested by Richard Henderson . - -2000-06-30 Jakub Jelinek - - * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines - if redirecting and either redirection is done using defines or - not optimizing. - -2000-06-30 Ulrich Drepper - - * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in - generated expressions. - Patch by Darren McClelland . - - * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL - since zic uses setlocale and gettext but we cannot make it use the - new locale data since zic calls a shell which might not use the - new libc. - - * stdlib/strfmon.c: Move somewhat closer to the standard wrt to - handling the internation currency symbol. POSIX says that the - fourth character is used to separate the currency symbol from the - value. Therefore it does not have to be printed. But we cannot - remove the space if the currency symbol is printed before the - number since this is what many locales expect. - - * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN - whether this information is available. - - * intl/dcigettext.c (_nl_find_msg): Correct reallocation of - buffers in case the translation is too large. Remember allocated - memory blocks in a list. - (free_mem): Free memory for translations. - - * intl/tst-gettext.c: Use correct locale. Improve error messages. - - * locale/programs/ld-ctype.c (ctype_output): If no default_missing - information is available set the string length to zero. - - * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case. - -2000-06-30 Greg McGary - - * sysdeps/powerpc/bp-asm.h: New file. - * sysdeps/powerpc/__longjmp.S: Check bounds. - Wrap extern symbols in BP_SYM (). - * sysdeps/powerpc/bsd-_setjmp.S: Likewise. - * sysdeps/powerpc/bsd-setjmp.S: Likewise. - * sysdeps/powerpc/setjmp.S: Likewise. - * sysdeps/powerpc/add_n.S: Likewise. - * sysdeps/powerpc/addmul_1.S: Likewise. - * sysdeps/powerpc/lshift.S: Likewise. - * sysdeps/powerpc/rshift.S: Likewise. - * sysdeps/powerpc/mul_1.S: Likewise. - * sysdeps/powerpc/sub_n.S: Likewise. - * sysdeps/powerpc/submul_1.S: Likewise. - * sysdeps/powerpc/strlen.S: Likewise. - * sysdeps/powerpc/memset.S: Likewise. - * sysdeps/powerpc/stpcpy.S: Likewise. - * sysdeps/powerpc/strcmp.S: Likewise. - * sysdeps/powerpc/strcpy.S: Likewise. - * sysdeps/powerpc/elf/bzero.S: Likewise. - - * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names. - Line up operands column with tabs. - -2000-06-30 Ulrich Drepper - - * elf/Makefile (LDFLAGS-origtest): Actually add it. - - * sysdeps/ia64/htonl.S: New file. - * sysdeps/ia64/htons.S: New file. - * sysdeps/ia64/memcpy.S: Replace with version which does not use - floating point registers. - Patches by Dan Pop . - -2000-06-30 Andreas Jaeger - - * posix/Makefile (tests): tst-exec and tst-spawn only work with - shared libraries. - - * io/Makefile (CFLAGS-test-lfs.c): New. - (tests): Add test-lfs. - - * io/test-lfs.c: New file. - -2000-06-30 Jakub Jelinek - - * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit - instruction. - -2000-06-29 David Mosberger-Tang - - * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file. - -2000-06-29 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64 - alias to the fstatfs call. - - * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file. - * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file. - - * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file. - * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file. - - * sysdeps/unix/sysv/linux/ia64/readdir.c: New file. - * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file. - * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file. - * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file. - - * sysdeps/unix/sysv/linux/ia64/glob.c: New file. - * sysdeps/unix/sysv/linux/ia64/glob64.c: New file. - - * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file. - * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file. - - * sysdeps/unix/sysv/linux/ia64/pread64.c: New file. - * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file. - - * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file. - -2000-06-29 Andreas Jaeger - - * sunrpc/rpc_svcout.c (write_msg_out): Always use format string - with syslog. - (print_err_message): Likewise. - Reported by Chris Evans . - -2000-06-29 Ulrich Drepper - - * locale/loadlocale.c (_nl_load_locale): Make sure all locale data - used as words is properly aligned. - - * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned - data files. - -2000-06-29 Greg McGary - - * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded. - * sysdeps/unix/make-syscalls.sh: Handle signatures of - length 7..9, just in case... - * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP. - - * sysdeps/i386/bp-asm.h (PCOFF): New constant. - (POP_ERRNO_LOCATION_RETURN): Fold insns. - * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant. - (PUSH_SIGNAL_MASK): New macro. - * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM (). - LEAVE is unnecessary. Check bounds of jmp_buf. - * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols - in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until - immediately before tail-call. - * sysdeps/i386/setjmp.S: Likewise. - * sysdeps/i386/bsd-_setjmp.S: Likewise. - * sysdeps/i386/bsd-setjmp.S: Likewise. - -2000-06-29 Jakub Jelinek - - * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and - versioned_symbol. + * sysdeps/sparc/fpu/fclrexcpt.c: Likewise. + * sysdeps/sparc/fpu/fegetenv.c: Likewise. * sysdeps/sparc/fpu/fesetenv.c: Likewise. * sysdeps/sparc/fpu/feupdateenv.c: Likewise. * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise. * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise. * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise. - * sysdeps/sparc/fpu/fegetenv.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file. - * shlib-versions: Make sparc64 GLIBC_2.2+ only. -2000-06-29 Ulrich Drepper +2000-02-25 Andreas Jaeger - * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which - we later need to calling free(). - Patch by Matt Wilson . + * sysdeps/alpha/fpu/fraiseexcpt.c (__feraiseexcept): Correct + declaration to return value. - * stdio-common/tst-printf.c: Add test for above problem. + * sysdeps/ieee754/Makefile (CFLAGS-k_standard.c): Added. -2000-06-27 David Mosberger-Tang + * math/Makefile: Remove -Wno-write-strings since it's only needed + by one file. - * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file. - * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file. + * intl/Makefile (CFLAGS-bindtextdom.c): The code has been fixed, + we don't need to disable the warnings anymore, remove them. + (CFLAGS-finddomain.c): Likewise. + (CFLAGS-localealias.c): Likewise. -2000-06-28 Jes Sorensen +2000-02-25 Andreas Jaeger - * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get - prototype for abs(). - * sysdeps/ieee754/flt-32/s_exp2f.c: Likewise. + * configure.in: Allow sed 3.02 or newer versions. -2000-06-23 Andreas Jaeger + * manual/install.texi (Tools for Compilation): Document sed + requirement. - * config.h.in: Don't use regparm with bounded pointers. +2000-02-25 Ulrich Drepper -2000-06-29 Ulrich Drepper + * sysdeps/powerpc/bzero.S: Moved to... + * sysdeps/powerpc/elf/bzero.S: ...here. New file. - * stdlib/grouping.h: Correctly handle multibyte thousands - separator and decimal point. - * stdlib/stdtod.c: Likewise. - * sysdeps/generic/strtol.c: Likewise. + * posix/environ.c: Moved to... + * sysdeps/generic/environ.c: ...here. New file. - * locale/categories.def: Add entries for wide character decimal point - and thousands separator in numeric and monetary category. +2000-02-25 Andreas Jaeger -2000-06-28 Ulrich Drepper + * stdio-common/Makefile (CFLAGS-_itoa.c): The code has been + fixed, we don't need to disable the warnings anymore, remove them. + * elf/Makefile (CFLAGS-dl-load.c): Likewise. - * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary - second definition and initialization of decimal. + * posix/Makefile (CFLAGS-regex.c): Remove not needed warning + flag. -2000-06-28 Greg McGary + * posix/regex.c (regex_compile): Remove unused variables. - * libio/libio.h (struct _IO_cookie_file): Move struct type defintion - out. - (_IO_FILE): Declare chain as (struct _IO_FILE_plus *). - * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion - in. - (_IO_JUMPS): Don't cast THIS--expect arg to be a - (struct _IO_FILE_plus *). - (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to - THIS, since _IO_JUMPS no longer does it implicitly. - (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare - arg type as (struct _IO_FILE_plus *). - (_IO_str_init_static, _IO_str_init_readonly): Declare 1st - arg as (_IO_strfile *). - * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly): - Declare 1st arg as (_IO_strfile *). - * libio/fileops.c (_IO_new_file_init): Declare - arg type as (struct _IO_FILE_plus *). - * libio/oldfileops.c (_IO_old_file_init): Likewise. - * libio/genops.c (_IO_link_in, _IO_un_link): Likewise. - (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write): - Declare iteration pointer as (struct _IO_FILE_plus *). - (_IO_iter_next, _IO_iter_file): _IO_ITER is now - (struct _IO_FILE_plus *). - * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *). - * libio/oldstdfiles.c (_IO_list_all): Likewise. - (_IO_check_libio): Set user-visible handles to - (struct _IO_FILE_plus *). - * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles - to (struct _IO_FILE_plus *). +2000-02-25 Andreas Jaeger - * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer - whose high bound includes vtable to all functions that will use - vtable. For streambufs, pass pointer whose bounds include struct - _IO_strfile. - * libio/wgenops.c (_IO_wdefault_finish): Likewise. - * libio/oldiofdopen.c (_IO_old_fdopen): Likewise. - * libio/iofopen.c (_IO_new_fopen): Likewise. - * libio/oldiofopen.c (_IO_old_fopen): Likewise. - * libio/iofopen64.c (_IO_fopen64): Likewise. - * libio/iopopen.c (_IO_new_popen): Likewise. - * libio/oldiopopen.c (_IO_old_popen): Likewise. - * libio/memstream.c (open_memstream): Likewise. - * libio/iovsscanf.c (_IO_vsscanf): Likewise. - * libio/iovsprintf.c (_IO_vsprintf): Likewise. - * libio/iovdprintf.c (_IO_vdprintf): Likewise. - * libio/iofopncook.c (_IO_cookie_init): Likewise. - * libio/obprintf.c (_IO_obstack_vprintf): Likewise. - * libio/vasprintf.c (_IO_vasprintf): Likewise. - * libio/vsnprintf.c (_IO_vsnprintf): Likewise. - * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise. - * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise. - * stdlib/strfmon.c (__strfmon_l): Likewise. - * stdio-common/vfprintf.c (buffered_vfprintf): Likewise. - (vfprintf): Qualify computed-goto targets as unbounded. + * sysdeps/unix/sysv/linux/bits/msq.h (struct msqid_ds): Use + __pid_t. + * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise. -2000-06-28 Ulrich Drepper +2000-02-25 Andreas Jaeger - * stdio-common/vfscanf.c: Finally handle multibyte decimal point and - thousands separator correctly. + * locale/programs/ld-ctype.c (allocate_arrays): Add missing + variable declaration. - * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF. - * stdio-common/vfwscanf.c: Likewise. +2000-02-25 Ulrich Drepper -2000-06-27 Jes Sorensen + * conform/conformtest.pl (@headers): Add "sys/msg.h", "sys/mman.h", + "sys/ipc.h", "syslog.h", and "stropts.h". + Handle / in header names correctly. + * conform/data/stropts.h-data: New file. + * conform/data/syslog.h-data: New file. + * conform/data/sys/ipc.h-data: New file. + * conform/data/sys/mman.h-data: New file. + * conform/data/sys/msg.h-data: New file. - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument - count into signatures for most calls. + * misc/sys/mman.h: Define off_t and mode_t if not already done. -2000-06-28 Ulrich Drepper + * streams/stropts.h: Define gid_t and uid_t if not already done. - * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use - the generic parser now. - -2000-06-28 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash - table entries are 32 bit on the ia64 (as specified by the ABI), - not 64 bit as on the Alpha. - - * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark - change of objects to use 32 bit hash table indices (see above). - -2000-06-28 Jes Sorensen - - * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get - prototype for abs(). - -2000-06-28 Wolfram Gloger - - * malloc/malloc.c (chunk_alloc): If extension of the linear heap - fails, try mmap_chunk() as a last resort even though n_mmaps_max - may have been reached. - -2000-06-28 Ulrich Drepper - - * locale/programs/ld-collate.c (insert_weights): Handle - symbols in multi-character weights correctly. - - * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls - depending on whether the input string is empty or not. - - * wcsmbs/mbrtowc.c: Calling function without input means clearing the - given state and not avoiding this by modifying a local object. - * wcsmbs/wcrtomb.c: Likewise. - - * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state - object since some incomplete characters might be in there. - - * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid - sequences with first byte 0x8e correctly. - - * iconvdata/jis0208.h: Remove redundant test. - -2000-06-27 Ulrich Drepper - - * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon. - Add it where it is needed now. - - * locale/programs/ld-ctype.c (ctype_finish): Take all characters from - the input charset into account when generating the hash table. - (allocate_arrays): Correct setting default width. Not all empty slots - in the table are filled, only those not covert explicitly by the - locale description and in the charset. - - * wctype/towctrans.c (__towctrans): Be graceful and accept error - return values from the wctrans function. - - * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for - wide character version. - For %C handling, test correct pointer variable for NULL. - - * wcsmbs/wctob.c: Handle WEOF special. - - * wcsmbs/wcwidth.h: 0xff in width array means invalid character. - - * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid - always-true test to avoid warning. - -2000-06-27 Greg McGary - - * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM (). - * include/libc-symbols.h (weak_extern): Add extra level of expansion. - (symbol_version, default_symbol_version): Factor redundant - definitions out of conditional. - -2000-06-27 Jakub Jelinek - - * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room, - not obstack_blank. - -2000-06-26 Ulrich Drepper - - * include/libc-symbols.h (symbol_version): Add extra level of - macro expansion. - (default_symbol_version): Likewise. - -2000-06-26 Greg McGary - - * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space - for BP return value & push implicit struct-return pointer to - __errno_location. - * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. - (SYSCALL_ERROR_HANDLER): Likewise. - * sysdeps/unix/sysv/linux/i386/i686/sysdep.h - (SYSCALL_ERROR_HANDLER): Likewise. - - * Makeconfig: Add missing comment. - * csu/Makefile (extra-objs, omit-deps, install-lib): Add - BP-flavored startup object. - ($(objpfx)b$(start-installed-name)): New rule. - * include/libc-symbols.h (symbol_set_declare): Change type - of `__start_##set' and `__stop_##set' to pointer-to-function. - (symbol_set_declare): Change type of `set' to array of - pointer-to-function. - * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to - pointer-to-function. - - * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__. - - * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures. - Remove clock_* and timer_* entries. - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace - arg-count with signatures. - - * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM (). - Check bounds of arguments. - * sysdeps/i386/addmul_1.S: Likewise. - * sysdeps/i386/lshift.S: Likewise. - * sysdeps/i386/mul_1.S: Likewise. - * sysdeps/i386/rshift.S: Likewise. - * sysdeps/i386/sub_n.S: Likewise. - * sysdeps/i386/submul_1.S: Likewise. - * sysdeps/i386/i586/add_n.S: Likewise. - * sysdeps/i386/i586/addmul_1.S: Likewise. - * sysdeps/i386/i586/lshift.S: Likewise. - * sysdeps/i386/i586/rshift.S: Likewise. - * sysdeps/i386/i586/sub_n.S: Likewise. - * sysdeps/i386/i686/add_n.S: Likewise. - - * sysdeps/i386/memchr.S: Likewise. - * sysdeps/i386/memcmp.S: Likewise. - * sysdeps/i386/rawmemchr.S: Likewise. - * sysdeps/i386/i586/bzero.S: Likewise. - * sysdeps/i386/i586/memcpy.S: Likewise. - * sysdeps/i386/i586/mempcpy.S: Likewise. - * sysdeps/i386/i586/memset.S: Likewise. - * sysdeps/i386/i686/bzero.S: Likewise. - * sysdeps/i386/i686/memcpy.S: Likewise. - * sysdeps/i386/i686/mempcpy.S: Likewise. - * sysdeps/i386/i686/memset.S: Likewise. - - * sysdeps/i386/stpcpy.S: Likewise. - * sysdeps/i386/stpncpy.S: Likewise. - * sysdeps/i386/strchr.S: Likewise. - * sysdeps/i386/strchrnul.S: Likewise. - * sysdeps/i386/strcspn.S: Likewise. - * sysdeps/i386/strpbrk.S: Likewise. - * sysdeps/i386/strrchr.S: Likewise. - * sysdeps/i386/strspn.S: Likewise. - * sysdeps/i386/strtok.S: Likewise. - * sysdeps/i386/strtok_r.S: Likewise. - * sysdeps/i386/i486/strcat.S: Likewise. - * sysdeps/i386/i486/strlen.S: Likewise. - * sysdeps/i386/i586/strchr.S: Likewise. - * sysdeps/i386/i586/strcpy.S: Likewise. - * sysdeps/i386/i586/strlen.S: Likewise. - * sysdeps/i386/i686/strcmp.S: Likewise. - * sysdeps/i386/i686/strtok.S: Likewise. - * sysdeps/i386/i686/strtok_r.S: Likewise. - - * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM (). - * sysdeps/i386/fpu/fesetenv.c: Likewise. - * sysdeps/i386/fpu/feupdateenv.c: Likewise. - * sysdeps/i386/fpu/fgetexcptflg.c: Likewise. - * sysdeps/i386/fpu/fsetexcptflg.c: Likewise. - - * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx. - * sysdeps/i386/mul_1.S: Likewise. - * sysdeps/i386/submul_1.S: Likewise. - * sysdeps/i386/i586/add_n.S: Likewise. - * sysdeps/i386/i586/addmul_1.S: Likewise. - * sysdeps/i386/i586/lshift.S: Likewise. - * sysdeps/i386/i586/mul_1.S: Likewise. - * sysdeps/i386/i586/rshift.S: Likewise. - * sysdeps/i386/i586/sub_n.S: Likewise. - * sysdeps/i386/i586/submul_1.S: Likewise. - -2000-06-26 Ulrich Drepper - - * rt/Makefile (librt-routines): Add clock_nanosleep. - * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep. - * sysdeps/generic/clock_nanosleep.c: New file. - * sysdeps/unix/clock_nanosleep.c: New file. - * sysdeps/unix/i386/i586/clock_nanosleep.c: New file. - * time/time.h: Declare clock_nanosleep. - -2000-06-26 Greg McGary - - * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX, - INSN1, INSN2, TEXT, GLOBL): Remove macros. - (ALIGN): Cleanup surrounding conditionals. - - * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax. - Call ENTER/LEAVE macros. - * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax. - * sysdeps/i386/submul_1.S: Likewise. - - * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas - syntax. Define & use symbolic argument stack offsets. Call - ENTER/LEAVE macros. - * sysdeps/i386/i586/mul_1.S: Likewise. - * sysdeps/i386/i586/submul_1.S: Likewise. - -2000-06-25 Greg McGary - - * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy, - not as bcopy. - -2000-06-25 Ulrich Drepper - - * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format. - * iconvdata/gen-8bit-gap.sh: Likewise. - * iconvdata/gen-8bit.sh: Likewise. - - * iconv/gconv_open.c (__gconv_open): Move comment to correct position. - - * locale/programs/ld-collate.c (collate_read): Don't actually read - the copy locale if we are ignoring the content. - - * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for - unknown character. - - * locale/programs/ld-collate.c: Correct handling of different - collation sections. - * locale/programs/localedef.c (add_to_readlist): Take locale pointer - as extra parameter from which to copy category information. - Change all callers. - (load_locale): Likewise. - * locale/programs/localedef.h: Update prototypes of add_to_readlist - and load_locale. - * locale/programs/ld-ctype.c: Update call to add_to_readlist. - * locale/programs/locfile.h: Likewise. - * locale/programs/locfile-kw.gperf: Add entry for script. - * locale/programs/locfile-token.h: Add tok_script. - - * locale/programs/locale.c: Update copyright year. - * locale/programs/localedef.c: Likewise. - -2000-06-23 Thorsten Kukuk - - * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from - Jens Moeller . - -2000-06-24 Ulrich Drepper - - * locale/programs/ld-name.c (name_finish): Add missing format - specifier to test for name_fmt. - - * locale/programs/ld-address.c (iso639): Correct length of string - elements. - (iso3166): Likewise. - - * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define. - - * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct): - Define. - - * elf/elf.h (NT_PRFPXREG): Define. - -2000-06-23 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define - PTRACE_GETFPXREGS and PTRACE_SETFPXREGS. - -2000-06-23 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count - with signatures. - -2000-06-23 Andreas Jaeger - - * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion. - - * io/test-stat.c: Add copyright header, mention Maciej. - - * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root, - SYS_mincore, SYS_madvise): Added. - - * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of - execve. - -2000-06-22 Ulrich Drepper - - * libio/Makefile (tests): Add tst-getwc and tst_putwc. - (CFLAGS-tst_putwc.c): New definition. - * libio/tst_getwc.c: New file. - * libio/tst_getwc.input: New file. - * libio/tst_putwc.c: New file. - - * include/string.h: Add prototype for __strdup. - -2000-06-22 Greg McGary - - * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures. - * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname): - Fix signatures. - -2000-06-23 Jes Sorensen - - * sysdeps/ia64/memcpy.S: Disable branch predict instruction. - -2000-06-22 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file. - -2000-06-22 Jes Sorensen - - * shlib-versions: Bump so versions to 6.1 for libc and libm on the - ia64 to allow 2.2+ libraries to coexist with 2.1 ones. - -2000-06-22 Ulrich Drepper - - * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM. - * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM, - and __S_TYPEISSHM. - * sysdeps/mach/hurd/bits/stat.h: Likewise. - * sysdeps/unix/bsd/bits/stat.h: Likewise. - * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise. - * sysdeps/unix/sysv/bits/stat.h: Likewise. - * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise. - * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise. - * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise. - * sysdeps/unix/sysv/aix/bits/stat.h: Likewise. - * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and - S_TYPEISSHM. - -2000-06-22 Andreas Jaeger - - * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count - with signatures. - - * elf/dl-reloc.c (_dl_relocate_object): Fix typos. - - * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry. - -2000-06-21 Ulrich Drepper - - * iconv/gconv_trans.c: Move initialization of winbuf and winbufend - ahead. - -2000-06-21 Greg McGary - - * Makerules (elide-routines.*, elide-bp-thunks): - Define unconditionally. - -2000-06-21 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/Makefile: New file. - -2000-06-21 Andreas Jaeger - - * io/Makefile (tests): Add test-stat. - (CFLAGS-test-stat.c): New. - - * io/test-stat.c: New file from Maciej W. Rozycki - . - -2000-06-21 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements - in __rlimit_resource to make them match the kernel order. - rlim_t is always 64 bit, use __rlim64_t to declare it - unconditionally. - -2000-05-04 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef - RLIM_INFINITY before defining it to avoid clash with kernel header - -2000-05-03 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file. - -2000-06-21 Ulrich Drepper - - * sysdeps/unix/sysv/linux/ia64/Versions: New file. - -2000-06-21 Andreas Jaeger - - * stdio-common/temptest.c: Include . - * stdio-common/tst-fileno.c: Likewise. - * stdio-common/scanf4.c: Likewise. - * stdio-common/scanf5.c: Likewise. - * time/clocktest.c: Likewise. - * posix/test-vfork.c: Likewise. - * posix/globtest.c: Likewise. - * io/test-utime.c: Likewise. - * wctype/test_wcfuncs.c: Likewise. - * crypt/cert.c: Likewise. - - * stdio-common/tst-printfsz.c: Include . - * libio/tst_swscanf.c: Likewise. - * libio/tst_wscanf.c: Likewise. - * posix/runtests.c: Likewise. - * posix/tst-getaddrinfo.c: Likewise. - * posix/wordexp-test.c: Likewise. - * misc/tst-efgcvt.c: Likewise. - - * stdlib/tst-xpg-basename.c: Include and . - * nss/test-netdb.c: Likewise. - - * sysdeps/unix/sysv/linux/configure.in: Add check for minimal - supported kernel for MIPS. - - * elf/vismod2.c: Include for abort prototype. - * rt/aio_suspend.c: Likewise. - -2000-06-20 Ulrich Drepper - - * math/libm-test.inc: Include . - -2000-06-20 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file. - -2000-06-20 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file. - * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file. - -2000-06-20 David Mosberger-Tang - - * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file. - -2000-06-20 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo. - -2000-06-20 Ulrich Drepper - - * locale/programs/ld-collate.c (insert_value): Now take string and - length instead of struct token* parameter. Adjust use of token. - (handle_ellipsis): Likewise. - (collate_read): Allow names and transform them into names - to be passed to insert_value and handle_ellipsis. - - * locale/programs/ld-ctype.c (uninames): New array with names of - digits in format. - (ctype_finish): Correct search for space character value. Likewise - for default outdigits values. - -2000-06-20 Greg McGary - - * Makerules (objects): Add BP thunks. - -2000-06-20 Ulrich Drepper - - * locale/programs/charmap.c (parse_charmap): Handle UCS names also - in width definitions. - -2000-06-20 Andreas Jaeger - - * sysdeps/mips/fpu/libm-test-ulps: New file. - - * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline - first. - - * sysdeps/mips/fpu/feholdexcpt.c: New file. - - * sysdeps/mips/fpu/fraiseexcpt.c: New file. - -2000-06-19 Ulrich Drepper - - * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for - change in gconv_builtin.h. - - * malloc/Makefile: Change all references to memprof into memusage. - * malloc/memprof.c: Rename to... - * malloc/memusage.c: ...this. New file. - * malloc/memprof.sh: Rename to... - * malloc/memusage.sh: ...this. New file. - * malloc/memprofstat.c: Rename to... - * malloc/memusagestat.c: ...this. New file. - * sysdeps/alpha/memprof.h: Rename to.. - * sysdeps/alpha/memusage.h: ...this. New file. - * sysdeps/arm/memprof.h: Rename to.. - * sysdeps/arm/memusage.h: ...this. New file. - * sysdeps/generic/memprof.h: Rename to.. - * sysdeps/generic/memusage.h: ...this. New file. - * sysdeps/i386/memprof.h: Rename to.. - * sysdeps/i386/memusage.h: ...this. New file. - * sysdeps/ia64/memprof.h: Rename to.. - * sysdeps/ia64/memusage.h: ...this. New file. - * sysdeps/m68k/memprof.h: Rename to.. - * sysdeps/m68k/memusage.h: ...this. New file. - * sysdeps/mips/memprof.h: Rename to.. - * sysdeps/mips/memusage.h: ...this. New file. - * sysdeps/powerpc/memprof.h: Rename to.. - * sysdeps/powerpc/memusage.h: ...this. New file. - * sysdeps/sparc/memprof.h: Rename to.. - * sysdeps/sparc/memusage.h: ...this. New file. - * sysdeps/sh/memprof.h: Rename to.. - * sysdeps/sh/memusage.h: ...this. New file. - - * elf/sprof.c (print_version): Update year. - - * elf/sprof.c (load_shobj): Don't always add load address to dynamic - table entry values. Use D_PTR. - * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird - binaries without PLT. Patches by James Mathiesen . - -2000-06-20 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/Makefile: New file. - * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file. - * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file. - * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file. - -2000-05-05 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file. - -2000-06-16 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/xstat.c: New file. - * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file. - * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file. - - * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted. - - * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest - kernel change. - - * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t, - __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data - structure. - Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel - implementation. - -2000-06-15 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted. - -2000-06-08 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file. - -2000-06-19 Ulrich Drepper - - * iconv/gconv_int.h (strict gconv_module): Remove all members - associated with regular expressions. Use a simple string as the - from name. - * iconv/gconv_db.c: Remove code handling regular expressions. - * iconv/gconv_conf.c: Likewise. - * iconv/iconv_prog.c: Likewise. - * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c. - - * iconv/gconv.h (__gconv_trans_fct): Add new parameter. - General namespace cleanup. - (struct __gconv_trans_data): Add next field. - (struct __gconv_step_data): Make __trans a pointer. - * iconv/gconv_conf.c: Split out code to find gconv directories from - __gconv_read_conf in new functions. - * iconv/gconv_int.h: Define new data structure and declare new - functions for handling of gconv directory list. - * iconv/gconv_open.c: Allow more than one error handling step being - used. Call function to load error handling module if it is none - of the builtin transformations. - * iconv/gconv_close.c: Add code to free transliteration data. - * iconv/gconv_trans.c: Add functions to load and unload modules - implementing transliteration etc. - * iconv/skeleton.c: Call all context functions now that more than - one module is allowed. - * iconv/loop.c (STANDARD_ERR_HANDLING): New macro. - * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places - where the full error handling using transliteration is needed. - * iconvdata/8bit-gap.c: Likewise. - * iconvdata/8bit-generic.c: Likewise. - * iconvdata/ansi_x3.110.c: Likewise. - * iconvdata/big5.c: Likewise. - * iconvdata/big5hkscs.c: Likewise. - * iconvdata/euc-cn.c: Likewise. - * iconvdata/euc-jp.c: Likewise. - * iconvdata/euc-kr.c: Likewise. - * iconvdata/euc-tw.c: Likewise. - * iconvdata/gbgbk.c: Likewise. - * iconvdata/gbk.c: Likewise. - * iconvdata/iso-2022-cn.c: Likewise. - * iconvdata/iso-2022-jp.c: Likewise. - * iconvdata/iso-2022-kr.c: Likewise. - * iconvdata/iso646.c: Likewise. - * iconvdata/iso8859-1.c: Likewise. - * iconvdata/iso_6937-2.c: Likewise. - * iconvdata/iso_6937.c: Likewise. - * iconvdata/johab.c: Likewise. - * iconvdata/sjis.c: Likewise. - * iconvdata/t.61.c: Likewise. - * iconvdata/uhc.c: Likewise. - * iconvdata/unicode.c: Likewise. - * iconvdata/utf-16.c: Likewise. - * libio/iofwide.c: Reset __trans member of __gconv_trans_data - structure correctly after last change. - * wcsmbs/btowc.c: Likewise. - * wcsmbs/mbrtowc.c: Likewise. - * wcsmbs/mbsnrtowcs.c: Likewise. - * wcsmbs/mbsrtowcs.c: Likewise. - * wcsmbs/wcrtomb.c: Likewise. - * wcsmbs/wcsnrtombs.c: Likewise. - * wcsmbs/wcsrtombs.c: Likewise. - * wcsmbs/wctob.c: Likewise. - - * localedata/Makefile: Set -Wno-format for some files since gcc does - not know all the format specifiers. - -2000-06-18 Ulrich Drepper - - * locale/loadlocale.c (_nl_unload_locale): Remove a bit of - unneeded code. - * locale/lc-time.c (_nl_init_era_entries): Likewise. - -2000-06-18 Andreas Jaeger - - * sysdeps/mips/dl-machine.h: Always use $25 as jump register. - Patch by Ralf Baechle . - -2000-06-17 Ulrich Drepper - - * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use - LINUX_LINK_MAX. - * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise. - - * locale/programs/ld-ctype.c (ctype_output): Really write out - mboutdigits information. - * localedata/tst-trans.c: Add code to test printf's I flag with locale. - * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment. - * localedata/tests/trans.def: Add outdigit information. - - * localedata/tst-mbswcs3.c: Remove comment. - - * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag. - * stdio-common/tiformat.c (sprint_ints): Add tests for I flag. - * libio/tst_wprintf.c (main): Add test for I flag. - - * iconv/gconv_trans.c: Implement handling if translit_ignore. - * locale/langinfo.h: Add entries for translit_ignore information. - * locale/categories.def: Add entries for new LC_CTYPE elements. - * locale/C-ctype.c: Add initializers for new fields. Use NULL - pointer instead of "" where possible. - * locale/programs/ld-ctype.c: Write out translit_ignore information. - * intl/Depend: Add localedata. - * intl/tst-gettext.c: Call setlocale for LC_CTYPE. - * intl/tst-gettext.sh: Set LOCPATH to localedata build dir. - -2000-06-16 Ulrich Drepper - - * locale/langinfo.h: Add entries for default_missing information. - * locale/C-ctype.c: Add initializers for new fields. - * iconv/gconv_trans.c: If nothing matched, try to use default_missing - information. - * locale/categories.h: Add entries for all LC_CTYPE values. - * locale/programs/ld-ctype.c (ctype_output): Write out default_missing - information. - - * localedata/tst-trans.c: Write out an error message if class is - not found. - - * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix. - * iconv/gconv_open.c: Remove error handling specification from `from' - character set name. - * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with - new parameter to always enable transliteration. - * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible - change. - (struct locale_data): Add new members use_translit and options. - * locale/findlocale.c (_nl_find_locale): Set use_translit flag is - character set name contained modifier TRANSLIT. - * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit - and options fields. - (_nl_unload_locale): Free options string if necessary. - * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if - the locale names suggested this. - * locale/C-address.c: Add two new initialilzers to adjust data - structure for new format. - * locale/C-collate.c: Likewise. - * locale/C-ctype.c: Likewise. - * locale/C-identification.c: Likewise. - * locale/C-measurement.c: Likewise. - * locale/C-messages.c: Likewise. - * locale/C-monetary.c: Likewise. - * locale/C-name.c: Likewise. - * locale/C-numeric.c: Likewise. - * locale/C-paper.c: Likewise. - * locale/C-telephone.c: Likewise. - * locale/C-time.c: Likewise. - - * locale/setlocale.c: Add some more __builtin_expect. - -2000-06-15 Ulrich Drepper - - * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to - unsigned char **. - (__gconv_init_fct): Remove two parameters. - * iconv/gconv_int.h (__gconv_transliterate): Renamed from - gconv_transliterate. Remove two parameters. - Change prototypes of builtin functions according to __gconv_fct change. - * iconv/skeleton.c: Change type of fifth parameter. make sure it is - != NULL only during error handling. Stop in this case after the - conversion. - * iconv/gconv_trans.c: Replace with real implementation for - __gconv_transliterate. - * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate. - * iconv/gconv.c: Change calls to downstream functions once again. - Use NULL for the fifth parameter instead of pointer to output buffer. - * libio/iofwide.c: Likewise. - * wcsmbs/btowc.c: Likewise. - * wcsmbs/mbrtowc.c: Likewise. - * wcsmbs/mbsnrtowcs.c: Likewise. - * wcsmbs/mbsrtowcs.c: Likewise. - * wcsmbs/wcrtomb.c: Likewise. - * wcsmbs/wcsnrtombs.c: Likewise. - * wcsmbs/wcsrtombs.c: Likewise. - * wcsmbs/wctob.c: Likewise. - * iconv/gconv_simple.c: Remove two parameters from error handling - function call. - * iconvdata/8bit-gap.c: Likewise. - * iconvdata/8bit-generic.c: Likewise. - * iconvdata/ansi_x3.110.c: Likewise. - * iconvdata/big5.c: Likewise. - * iconvdata/big5hkscs.c: Likewise. - * iconvdata/euc-cn.c: Likewise. - * iconvdata/euc-jp.c: Likewise. - * iconvdata/euc-kr.c: Likewise. - * iconvdata/euc-tw.c: Likewise. - * iconvdata/gbgbk.c: Likewise. - * iconvdata/gbk.c: Likewise. - * iconvdata/iso-2022-cn.c: Likewise. - * iconvdata/iso-2022-jp.c: Likewise. - * iconvdata/iso-2022-kr.c: Likewise. - * iconvdata/iso646.c: Likewise. - * iconvdata/iso8859-1.c: Likewise. - * iconvdata/iso_6937-2.c: Likewise. - * iconvdata/iso_6937.c: Likewise. - * iconvdata/johab.c: Likewise. - * iconvdata/sjis.c: Likewise. - * iconvdata/t.61.c: Likewise. - * iconvdata/uhc.c: Likewise. - * iconvdata/unicode.c: Likewise. - * iconvdata/utf-16.c: Likewise. - -2000-06-15 Greg McGary - - * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs - of callnum assignment. Tolerate callnum expressions containing - parens. - -2000-06-14 Ulrich Drepper - - * login/Makefile (utmpd): Remove rule to build utmpd. - - * csu/Versions: Move libgcc frame handling functions from here... - * sysdeps/unix/sysv/linux/alpha/Versions: ...to here... - * sysdeps/unix/sysv/linux/arm/Versions: ...to here... - * sysdeps/unix/sysv/linux/i386/Versions: ...to here... - * sysdeps/unix/sysv/linux/m68k/Versions: ...to here... - * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here... - * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here. - New file. - * sysdeps/mach/hurd/i386/Versions: ...and here. New file. - - * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment. - - * misc/syslog.c (vsyslog): Initialize msgoff in all cases. - -2000-06-14 Kazumoto Kojima - - * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward - compatibility. - * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise. - * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise. - * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise. - * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise. - -2000-06-14 Jakub Jelinek - - * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is - defined, terminate quotes and read them after the comment char. - * configure.in (HAVE_SECTION_QUOTES): Test whether - __attribute__((section ("x"))) puts quotes around x or not. - * config.h.in (HAVE_SECTION_QUOTES): Add. - * configure: Rebuilt. - -2000-06-14 Andreas Jaeger - - * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir - depending on the configure option --sysconfdir. - Closes PR libc/1762. - Patch by Andreas Schwab . - - * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user - entry point. - Reported by Jim Pick . - -2000-06-14 Ulrich Drepper - - * misc/syslog.c (vsyslog): Allow open_memstream to fail without - crashing the application. Emit some simple error message. - Reported by mju@panasas.com [PR libc/1769]. - -2000-06-13 Ulrich Drepper - - * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c. - - * crypt/Makefile (distribute): Add md5.h. - - * Makefile (distribute): Add include/shlib-compat.h. - - * Make-dist: Search for tests also in sysdeps hierachy. - - * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h, - ufc.c, speeds.c, README.ufc-crypt, and Banner. - - * sysdeps/sparc/Subdirs: New file. - - * locale/Makefile (distribute): Add weightwc.h and - programs/localedef.h. - - * time/Makefile (distribute): Add datemsk. - - * sysdeps/ia64/Dist: Add softpipe.h. - - * sysdeps/unix/sysv/aix/Dist: New file. - - * posix/setpgrp.c: Moved to... - * sysdeps/generic/setpgrp.c: ...here. New file. - * io/mknod.c: Moved to... - * sysdeps/generic/mknod.c: ...here. New file. - - * sysdeps/unix/sysv/linux/ia64/Dist: New file. - - * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h. - - * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c. - - * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S, - gprsave0.S, gprrest1.S, and gprrest0.S. - - * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h. - - * posix/Makefile (routines): Add spawnattr_getsigmask, - spawnattr_getschedpolicy, spawnattr_getschedparam, - spawnattr_setsigmask, spawnattr_setschedpolicy, and - spawnattr_setschedparam. - * posix/Versions: Add posix_spawnattr_getschedpolicy, - posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and - posix_spawnattr_setschedparam. - - * posix/spawnattr_setschedparam.c: Fix typo. - - * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask): - Correct typo. - - * login/programs/utmpd.c: Removed. - * login/programs/utmpd.h: Removed. - * login/programs/utmpd-private.h: Removed. - - * Makefile (distribute): Add include/db_185.h and include/db.h. - - * iconvdata/Makefile (distribute): Add iso-ir-165.c and - iso-ir-165.h. - - * elf/Makefile (distribute): Add missing files. - - * dlfcn/Makefile: Add back rules to include eval in libdl.so. - * elf/eval.c: Moved to... - * dlfcn/eval.c: ...here. New file. - - * Makefile (distribute): Also distribute ChangeLog.1?. - - * Make-dist (+tsrcs): Remove .args handling here as well. - - * rt/Makefile (tests): Add tst-timer. - * sysdeps/generic/tst-timer.c: New file. - - * Makerules (sources): Don't add BP sources here. - - * login/Makefile (distribute): Remove xtmp.h. - - * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid - is true. Reported by Bruno Haible . - -2000-06-13 Andreas Jaeger - - * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines. - Patch by Ralf Baechle . - -2000-06-13 Ulrich Drepper - - * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information - for mincore syscall. - - * misc/sys/cdefs.h: Define __bounded and __unbounded if - __BOUNDED_POINTERS__ is not defined. - -2000-06-07 Greg McGary - - * sysdeps/generic/bp-sym.h: New file. - * sysdeps/generic/bp-start.h: New file. - * sysdeps/i386/elf/start.S: Designate BP symbols. - * sysdeps/generic/libc-start.c: Wrap bounds around - argv & envp and each of their string members. - -2000-06-07 Greg McGary - - * sysdeps/unix/make-syscalls.sh: Add comments to - output that aid debugging & comprehension. - Map simple syscall signatures to number of args. - Generate BP syscall thunk definitions. - * sysdeps/generic/bp-thunks.h: New file. - * sysdeps/unix/syscalls.list: Replace arg-count with - simple return+arg signature. - * sysdeps/unix/common/syscalls.list: Likewise. - * sysdeps/unix/inet/syscalls.list: Likewise. - * sysdeps/unix/mman/syscalls.list: Likewise. - * sysdeps/unix/sysv/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise. - -2000-06-07 Greg McGary - - * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers - for all files *.[cS]. - (CFLAGS-.ob): Don't optimize sibling calls. - (bppfx): New variable. - * Makerules (elide-bp-thunks): New variable. - (elide-routines.*): Elide BP-* files for all but *.ob. - (sources): Include bp-thunks. - -2000-06-12 Ulrich Drepper - - * iconv/gconv_simple.c: Remove unnecessary prototype. - - * iconv/gconv_trans.c: Pretty print. - - * elf/elf.h (R_SH_NUM): Got accidently dropped. - - * sysdeps/unix/sysv/linux/configure.in: Improve handling of - minimal kernel versions. Add information about IA-64 kernel. - - * sysdeps/unix/sysv/linux/configure.in: Allow architecture - specific minimal supported kernel versions to be specified. - - * libio/iofwide.c (_IO_fwide): Initialize transliteration part of - step data structure. - * wcsmbs/btowc.c: Likewise. - * wcsmbs/mbrtowc.c: Likewise. - * wcsmbs/mbsnrtowcs.c: Likewise. - * wcsmbs/mbsrtowcs.c: Likewise. - * wcsmbs/wcrtomb.c: Likewise. - * wcsmbs/wcsnrtombs.c: Likewise. - * wcsmbs/wcsrtombs.c: Likewise. - * wcsmbs/wctob.c: Likewise. - - * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file. - * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed. - - * shlib-versions: Earliest backward compatible version for SH is 2.2. - - * misc/sys/cdefs.h: Remove one more __P. - - * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C. - Reported by HJ Lu. - - * sysdeps/sh/sh3/bits/setjmp.h: Removed. - * sysdeps/sh/sh4/bits/setjmp.h: Moved to... - * sysdeps/sh/bits/setjmp.h: ...here. New file. - -2000-06-12 Kazumoto Kojima - Yutaka Niibe - - * configure.in: Add machine sh3, sh4. - * elf/elf.h: Add SH specific declarations of relocations. - * shlib-versions: Add sh*-*-linux* cases. - -2000-06-12 Ulrich Drepper - - * sysdeps/sh/sh3/bsd-_setjmp.S: Move to... - * sysdeps/sh/bsd-_setjmp.S: ...here. New file. - * sysdeps/sh/sh4/bsd-_setjmp.S: Removed. - * sysdeps/sh/sh3/bsd-setjmp.S: Move to... - * sysdeps/sh/bsd-setjmp.S: ...here. New file. - * sysdeps/sh/sh4/bsd-setjmp.S: Removed. - - * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro - instead of KERNEL_MATH_EMULATION. - * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not - KERNEL_MATH_EMULATION. - - * sysdeps/sh/Dist: Removed. There is no ieee754.h file. - * sysdeps/sh/sh3/dl-machine.h: Moved to... - * sysdeps/sh/dl-machine.h: ...here. New file. - * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION - and include generic SH version. - * sysdeps/sh/sh3/bits/endian.h: Move to... - * sysdeps/sh/bits/endian.h: ...here. New file. - * sysdeps/sh/sh4/bits/endian.h: Removed. - * sysdeps/sh/sh3/bits/huge_val.h: Move to... - * sysdeps/sh/bits/huge_val.h: ...here. New file. - * sysdeps/sh/sh4/bits/huge_val.h: Removed. - - * include/libc-symbols.h (link_warning): Work around a change in - GAS which warns about changing section attributes. - Proposed by Nick Clifton . - -2000-06-12 H.J. Lu - - * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__. - -2000-06-11 H.J. Lu - - * sysdeps/i386/fpu/Versions: New file. - -2000-06-12 Ulrich Drepper - - * iconv/gconv.h (__gconv_trans_context_fct): Remove two - parameters. - * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it - exists. - -2000-06-12 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file. - * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file. - * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file. - - * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file. - * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file. - * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file. - -2000-06-12 Kazumoto Kojima - Yutaka Niibe - - * sysdeps/sh/Dist: New file. - * sysdeps/sh/Implies: New file. - * sysdeps/sh/elf/initfini.c: New file. - * sysdeps/sh/gmp-mparam.h: New file. - * sysdeps/sh/init-first.c: New file. - * sysdeps/sh/machine-gmon.h: New file. - * sysdeps/sh/memcpy.S: New file. - * sysdeps/sh/memprof.h: New file. - * sysdeps/sh/memset.S: New file. - * sysdeps/sh/sh3/__longjmp.S: New file. - * sysdeps/sh/sh3/bits/endian.h: New file. - * sysdeps/sh/sh3/bits/huge_val.h: New file. - * sysdeps/sh/sh3/bits/setjmp.h: New file. - * sysdeps/sh/sh3/bsd-_setjmp.S: New file. - * sysdeps/sh/sh3/bsd-setjmp.S: New file. - * sysdeps/sh/sh3/dl-machine.h: New file. - * sysdeps/sh/sh3/setjmp.S: New file. - * sysdeps/sh/sh4/__longjmp.S: New file. - * sysdeps/sh/sh4/bits/endian.h: New file. - * sysdeps/sh/sh4/bits/huge_val.h: New file. - * sysdeps/sh/sh4/bits/setjmp.h: New file. - * sysdeps/sh/sh4/bsd-_setjmp.S: New file. - * sysdeps/sh/sh4/bsd-setjmp.S: New file. - * sysdeps/sh/sh4/dl-machine.h: New file. - * sysdeps/sh/sh4/fpu/bits/fenv.h: New file. - * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file. - * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file. - * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file. - * sysdeps/sh/sh4/fpu/fegetenv.c: New file. - * sysdeps/sh/sh4/fpu/fegetround.c: New file. - * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file. - * sysdeps/sh/sh4/fpu/fesetenv.c: New file. - * sysdeps/sh/sh4/fpu/fesetround.c: New file. - * sysdeps/sh/sh4/fpu/fpu_control.h: New file. - * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file. - * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file. - * sysdeps/sh/sh4/fpu/ftestexcept.c: New file. - * sysdeps/sh/sh4/fpu/libm-test-ulps: New file. - * sysdeps/sh/sh4/setjmp.S: New file. - * sysdeps/sh/elf/start.S: New file. - * sysdeps/sh/sys/ucontext.h: New file. - * sysdeps/sh/strlen.S: New file. - * sysdeps/sh/sysdep.h: New file. - * sysdeps/unix/sh/sysdep.S: New file. - * sysdeps/unix/sh/sysdep.h: New file. - * sysdeps/unix/sysv/linux/sh/Dist: New file. - * sysdeps/unix/sysv/linux/sh/Makefile: New file. - * sysdeps/unix/sysv/linux/sh/Versions: New file. - * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file. - * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file. - * sysdeps/unix/sysv/linux/sh/brk.c: New file. - * sysdeps/unix/sysv/linux/sh/chown.c: New file. - * sysdeps/unix/sysv/linux/sh/clone.S: New file. - * sysdeps/unix/sysv/linux/sh/fchown.c: New file. - * sysdeps/unix/sysv/linux/sh/fxstat.c: New file. - * sysdeps/unix/sysv/linux/sh/getegid.c: New file. - * sysdeps/unix/sysv/linux/sh/geteuid.c: New file. - * sysdeps/unix/sysv/linux/sh/getgroups.c: New file. - * sysdeps/unix/sysv/linux/sh/getresgid.c: New file. - * sysdeps/unix/sysv/linux/sh/getresuid.c: New file. - * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file. - * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file. - * sysdeps/unix/sysv/linux/sh/getuid.c: New file. - * sysdeps/unix/sysv/linux/sh/lchown.c: New file. - * sysdeps/unix/sysv/linux/sh/lxstat.c: New file. - * sysdeps/unix/sysv/linux/sh/msgctl.c: New file. - * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file. - * sysdeps/unix/sysv/linux/sh/pipe.S: New file. - * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file. - * sysdeps/unix/sysv/linux/sh/semctl.c: New file. - * sysdeps/unix/sysv/linux/sh/setegid.c: New file. - * sysdeps/unix/sysv/linux/sh/seteuid.c: New file. - * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file. - * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file. - * sysdeps/unix/sysv/linux/sh/setgid.c: New file. - * sysdeps/unix/sysv/linux/sh/setgroups.c: New file. - * sysdeps/unix/sysv/linux/sh/setregid.c: New file. - * sysdeps/unix/sysv/linux/sh/setresgid.c: New file. - * sysdeps/unix/sysv/linux/sh/setresuid.c: New file. - * sysdeps/unix/sysv/linux/sh/setreuid.c: New file. - * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file. - * sysdeps/unix/sysv/linux/sh/setuid.c: New file. - * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file. - * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file. - * sysdeps/unix/sysv/linux/sh/shmctl.c: New file. - * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file. - * sysdeps/unix/sysv/linux/sh/socket.S: New file. - * sysdeps/unix/sysv/linux/sh/sys/io.h: New file. - * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file. - * sysdeps/unix/sysv/linux/sh/sys/user.h: New file. - * sysdeps/unix/sysv/linux/sh/syscalls.list: New file. - * sysdeps/unix/sysv/linux/sh/sysdep.S: New file. - * sysdeps/unix/sysv/linux/sh/sysdep.h: New file. - * sysdeps/unix/sysv/linux/sh/vfork.S: New file. - * sysdeps/unix/sysv/linux/sh/xstat.c: New file. - -2000-06-12 Ulrich Drepper - - * Rules (%.out): Define GCONV_PATH in the environment. - * assert/Depend: New file. - * iconvdata/Depend: New file. - * intl/Depend: New file. - * timezone/Makefile (build-testdata): Add GCONV_PATH to environment. - * intl/tst-gettext.sh: Likewise. - * iconv/Makefile (routines): Add gconv_trans. - * iconv/gconv_trans.c: New file. - * iconv/gconv.h (struct __gconv_trans_data): New type. - (__gconv_fct): New parameter with starting position in output buffer. - (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct, - __gconv_trans_init_fct, __gconv_trans_end_fct): New types. - (struct __gconv_step): Add new member __trans. - * iconv/gconv_int.h: Pretty print prototypes. - (gconv_transliterate): New prototype. - (__BUILTIN_TRANS): Update for new conversion function interface. - * iconv/gconv.c (__gconv): Pass new parameter to conversion function. - * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix - in names, find appropriate function, and install in the conversion - steps it can be used. - * iconv/skeleton.c: Add additional parameter for beginning of output - buffer. Change calls of downstream functions. - * iconv/loop.c: Change loop function interface completely. Pass in - step and step_data structure. Remove optimization for BODY with - NEED_LENGTH_TEST == 0. - * iconv/gconv_simple.c: Update interfaces of functions. Insert - appropriate error handling code to use transliteration steps. Remove - optimization for BODY with NEED_LENGTH_TEST == 0. - * iconvdata/8bit-gap.c: Likewise. - * iconvdata/8bit-generic.c: Likewise. - * iconvdata/ansi_x3.110.c: Likewise. - * iconvdata/big5.c: Likewise. - * iconvdata/big5hkscs.c: Likewise. - * iconvdata/euc-cn.c: Likewise. - * iconvdata/euc-jp.c: Likewise. - * iconvdata/euc-kr.c: Likewise. - * iconvdata/euc-tw.c: Likewise. - * iconvdata/gbgbk.c: Likewise. - * iconvdata/gbk.c: Likewise. - * iconvdata/iso-2022-cn.c: Likewise. - * iconvdata/iso-2022-jp.c: Likewise. - * iconvdata/iso-2022-kr.c: Likewise. - * iconvdata/iso646.c: Likewise. - * iconvdata/iso8859-1.c: Likewise. - * iconvdata/iso_6937-2.c: Likewise. - * iconvdata/iso_6937.c: Likewise. - * iconvdata/johab.c: Likewise. - * iconvdata/sjis.c: Likewise. - * iconvdata/t.61.c: Likewise. - * iconvdata/uhc.c: Likewise. - * iconvdata/unicode.c: Likewise. - * iconvdata/utf-16.c: Likewise. - * libio/iofwide.c: Adjust to new interface of gconv functions. Use - DL_CALL_FCT. - * wcsmbs/btowc.c: Likewise. - * wcsmbs/mbrtowc.c: Likewise. - * wcsmbs/mbsnrtowcs.c: Likewise. - * wcsmbs/mbsrtowcs.c: Likewise. - * wcsmbs/wcrtomb.c: Likewise. - * wcsmbs/wcsnrtombs.c: Likewise. - * wcsmbs/wcsrtombs.c: Likewise. - * wcsmbs/wctob.c: Likewise. - -2000-04-11 Geoff Keating - - * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the - other header files. Mention about 128-byte cache line sizes. - (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt. - * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update - for current calling sequence. - * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment. - - * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly. - * sysdeps/powerpc/fpu/s_rintf.c: Likewise. - - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit - and setrlimit syscalls for backwards compatibility. - -2000-06-10 Ulrich Drepper - - * iconv/skeleton.c: Rename converted written to correcter name - irreversible. - * iconv/gconv.c: Rename converted variable to correcter name - irreversible. - * iconv/gconv_int.h: Likewise. - * iconv/gconv_simple.c: Likewise. - * iconv/iconv.c: Likewise. - * iconv/loop.c: Likewise. - * iconvdata/8bit-gap.c: Likewise. - * iconvdata/8bit-generic.c: Likewise. - * iconvdata/ansi_x3.110.c: Likewise. - * iconvdata/big5.c: Likewise. - * iconvdata/big5hkscs.c: Likewise. - * iconvdata/euc-cn.c: Likewise. - * iconvdata/euc-jp.c: Likewise. - * iconvdata/euc-kr.c: Likewise. - * iconvdata/gbgbk.c: Likewise. - * iconvdata/gbk.c: Likewise. - * iconvdata/iso-2022-cn.c: Likewise. - * iconvdata/iso-2022-jp.c: Likewise. - * iconvdata/iso-2022-kr.c: Likewise. - * iconvdata/iso646.c: Likewise. - * iconvdata/iso8859-1.c: Likewise. - * iconvdata/iso_6937-2.c: Likewise. - * iconvdata/iso_6937.c: Likewise. - * iconvdata/johab.c: Likewise. - * iconvdata/sjis.c: Likewise. - * iconvdata/t.61.c: Likewise. - * iconvdata/uhc.c: Likewise. - * iconvdata/unicode.c: Likewise. - * iconvdata/utf-16.c: Likewise. - - * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark - __cmsg_data field with __extension__. - -2000-06-10 David Mosberger - - * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works. - -2000-06-10 Ulrich Drepper - - * iconv/gconv_simple.c: Fix various small bugs in several - functions. - - * iconv/loop.c: Fix comment. - -2000-06-10 Jakub Jelinek - - * elf/link.h: Remove libc internal declarations. - * include/link.h: Move them here. - -2000-06-09 Ulrich Drepper - - * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file. - Patch by Dan Pop . - - Rewrite error message handling. - * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to - _dl_catch_error. - * elf/dl-error (struct catch): Add objname member. - (_dl_signal_error): Take new parameter with object name. When - passing message on simply store object name and duplicate error - message. - (_dl_catch_error): Take new parameter. Store object name in the - place pointed to. - * include/dlfcn.h: Adjust _dl_catch_error prototype. - * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype. - * dlfcn/dlerror.c (struct dl_action_result): Add objname member. - (dlerror): Add objname to asprintf() parameters. - (_dl_error_run): Pass new parameter to _dl_catch_error. - * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error. - * elf/dl-open.c (_dl_open): Likewise. - * elf/rtld.c (dl_main): Likewise. - * elf/dl-close.c: Mark error messages with N_(). - * elf/dl-deps.c: Likewise. - * elf/dl-error.c: Likewise. - * elf/dl-load.c: Likewise. - * elf/dl-open.c: Likewise. - * elf/dl-reloc.c: Likewise. - * elf/dl-support.c: Likewise. - * elf/dl-sym.c: Likewise. - * elf/dl-version.c: Likewise. - * elf/dl-lookup.c: Add comments about problems with error message - translations. - * elf/dl-reloc.c: Likewise. - * elf/dl-version.c: Likewise. - -2000-06-09 H.J. Lu - - * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL - after freeing it. - - * dlfcn/Makefile (distribute): Add failtestmod.c. - (tests): Add failtest. - Add rules to build and run failtest. - * dlfcn/failtest.c: New file. - * dlfcn/failtestmod.c: New file. - -2000-06-09 David Mosberger-Tang - - * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file - * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file - * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file - * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file - * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file - -2000-06-09 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/brk.S: New file. - * sysdeps/unix/sysv/linux/ia64/pipe.S: New file. - -2000-06-09 Jes Sorensen - Ulrich Drepper - - * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file. - * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file. - * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file. - * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file. - * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file. - * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file. - -2000-06-09 Ulrich Drepper - - * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder - to find correct mount point despite wrong information from the - kernel. - -2000-06-09 Jes Sorensen - - * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain - the address of a symbol so function pointers are handled properly. - -2000-06-08 Ulrich Drepper - - * sysdeps/i386/Dist: Add bp-asm.h. - - * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use - defaultdir variable instead of "/var/shm" everywhere. - (defaultdir): Change to /dev/shm/. - -2000-06-08 Greg McGary - - * sysdeps/i386/bp-asm.h: New file. - * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack - offsets. Add ENTER/LEAVE macros for optionally maintaining - frame-pointer chain when debugging. - * sysdeps/i386/add_n.S: Likewise. - * sysdeps/i386/addmul_1.S: Likewise. - * sysdeps/i386/lshift.S: Likewise. - * sysdeps/i386/memchr.S: Likewise. - * sysdeps/i386/memcmp.S: Likewise. - * sysdeps/i386/mul_1.S: Likewise. - * sysdeps/i386/rawmemchr.S: Likewise. - * sysdeps/i386/rshift.S: Likewise. - * sysdeps/i386/stpcpy.S: Likewise. - * sysdeps/i386/stpncpy.S: Likewise. - * sysdeps/i386/strchr.S: Likewise. - * sysdeps/i386/strchrnul.S: Likewise. - * sysdeps/i386/strcspn.S: Likewise. - * sysdeps/i386/strpbrk.S: Likewise. - * sysdeps/i386/strrchr.S: Likewise. - * sysdeps/i386/strspn.S: Likewise. - * sysdeps/i386/strtok.S: Likewise. - * sysdeps/i386/sub_n.S: Likewise. - * sysdeps/i386/submul_1.S: Likewise. - * sysdeps/i386/elf/setjmp.S: Likewise. - * sysdeps/i386/i486/strcat.S: Likewise. - * sysdeps/i386/i486/strlen.S: Likewise. - * sysdeps/i386/i586/add_n.S: Likewise. - * sysdeps/i386/i586/lshift.S: Likewise. - * sysdeps/i386/i586/memcpy.S: Likewise. - * sysdeps/i386/i586/memset.S: Likewise. - * sysdeps/i386/i586/rshift.S: Likewise. - * sysdeps/i386/i586/strchr.S: Likewise. - * sysdeps/i386/i586/strcpy.S: Likewise. - * sysdeps/i386/i586/strlen.S: Likewise. - * sysdeps/i386/i586/sub_n.S: Likewise. - * sysdeps/i386/i686/add_n.S: Likewise. - * sysdeps/i386/i686/memcpy.S: Likewise. - * sysdeps/i386/i686/mempcpy.S: Likewise. - * sysdeps/i386/i686/memset.S: Likewise. - * sysdeps/i386/i686/strcmp.S: Likewise. - -2000-06-08 Ulrich Drepper - - * sysdeps/unix/sysv/linux/getdtsz.c: New file. - - * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as - 256 and don't use OPEN_MAX. - - * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and - use it instead of LINK_MAX. - * sysdeps/unix/sysv/linux/fpathconf.c: Likewise. - -2000-06-08 Andreas Jaeger - - * libio/genops.c (_IO_list_lock): Only compile body if we're - thread safe. - (_IO_list_unlock): Likewise. - (_IO_list_resetlock): Likewise. - -2000-06-07 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX - unless user defined it. - - * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX - if not defined by the user. - - * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment. - * libio/iofwrite.c (_IO_fwrite): Likewise. - - * time/time.h: Add missing __THROW for clock_getcpuclockid - prototype. - - * elf/Makefile (distribute): Add dl-dtprocnum.h. - * include/elf.h: Include also . - * elf/dl-deps.c: Likewise. - * elf/dl-lookup.c: Likewise. - * elf/dl-runtime.c: Likewise. - * elf/dl-version.c: Likewise. - * elf/do-rel.h: Likewise. - * elf/dynamic-link.h: Likewise. - * elf/link.h: Likewise. - * elf/rtld.c: Likewise. - * sysdeps/generic/dl-dtprocnum.h: New file. - * sysdeps/ia64/dl-dtprocnum.h: New file. - * sysdeps/mips/dl-dtprocnum.h: New file. - * sysdeps/sparc/dl-dtprocnum.h: New file. - - * sysdeps/i386/dl-machine.h: Add more __builtin_expect. - - * elf/do-lookup.h: Add some __builtin_expect. - - * dlfcn/dlfcn.h: Pretty print dladdr declaraction. - - * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK. - (_dl_dynamic_weak): New variable. - * elf/dl-support.c: Likewise. - * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak. - * elf/do-lookup.h: If we find a weak definition treat it like a - normal symbol unless _dl_dynamic_weak is nonzero. In the latter - case treat it like before. - - * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol - is in main program. - * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv. - - * elf/dl-addr.c (_dl_addr): Do exact testing of address range - using l_map_start and l_map_end. - - * elf/dl-version.c: Add __builtin_expect in many places. - - * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): - Update. - -2000-06-04 Kaz Kylheku - - Lock for stdio stream list becomes global, for use in LinuxThreads. - - * libio/genops.c (_IO_iter_begin, _IO_iter_end, - _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock, - _IO_list_resetlock): New interface for iterating global list of - streams without accessing the _IO_list_all global variable, - and for manipulating the lock which protects this list. - * libio/libioP.h: Likewise. - * libio/Version: Add entries for the new functions. - - * libio/libioP.h (_IO_ITER): New typedef, just an alias for - pointer to _IO_FILE. - -2000-06-07 Ulrich Drepper - - * locale/programs/ld-ctype.c (set_class_defaults): Several uses of - BIT() must actually be BITw(). - - * locale/programs/ld-ctype.c: Handle SP and space consistently. - - * locale/programs/charmap.c: Allow string arguments for - code_set_name and repertoiremap. - -2000-06-07 Andreas Jaeger - - * elf/Makefile: Build ldconfig only when building shared libraries. - -2000-06-07 Jakub Jelinek - - * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if - __USE_ISOC99. - (fdimf, __fdim, fdim): Likewise. - -2000-06-07 Ulrich Drepper - - * locale/findlocale.c: Add __builtin_expect in many places. - * locale/loadlocale.c: Likewise. - -2000-06-06 Greg McGary - - * sysdeps/mips/elf/start.S: Trim redundant code. - - * sysdeps/powerpc/memset.S: Define & use symbolic register names. - Use C comments throughout. Line up operands column with tabs. - * sysdeps/powerpc/strchr.S: Likewise. - * sysdeps/powerpc/strcmp.S: Likewise. - * sysdeps/powerpc/strcpy.S: Likewise. - * sysdeps/powerpc/strlen.S: Likewise. - - * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]: - Get low part of &__curbrk with @l. - -2000-06-06 Ulrich Drepper - - * iconvdata/utf-16.c: Add __builtin_expect in many places. - * iconvdata/unicode.c: Likewise. - * iconvdata/uhc.c: Likewise. - * iconvdata/t.61.c: Likewise. - * iconvdata/sjis.c: Likewise. - * iconvdata/johab.c: Likewise. - * iconvdata/iso_6937.c: Likewise. - * iconvdata/iso_6937-2.c: Likewise. - * iconvdata/iso8859-1.c: Likewise. - * iconvdata/iso646.c: Likewise. - * iconvdata/iso-2022-kr.c: Likewise. - * iconvdata/iso-2022-jp.c: Likewise. - * iconvdata/iso-2022-cn.c: Likewise. - * iconvdata/gbgbk.c: Likewise. - * iconvdata/gbk.c: Likewise. - * iconvdata/euc-kr.c: Likewise. - * iconvdata/euc-jp.c: Likewise. - * iconvdata/euc-cn.c: Likewise. - -2000-06-05 Ulrich Drepper - - * iconvdata/big5hkscs.c: Add __builtin_expect in many places. - * iconvdata/big5.c: Likewise. - * iconvdata/ansi_x3.110.c: Likewise. - * iconvdata/8bit-generic.c: Likewise. - * iconvdata/8bit-gap.c: Likewise. - * iconv/loop.c: Likewise. - * iconv/gconv_db.c: Likewise. - * iconv/gconv_dl.c: Likewise. - * iconv/gconv_simple.c: Likewise. - * iconv/skeleton.c: Likewise. - - * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define. - (struct __gconv_step_data): Rename __is_last to __flags. - * iconv/gconv_close.c: Change all uses of __is_last. - * iconv/skeleton.c: Likewise. - * iconvdata/iso-2022-cn.c: Likewise. - * iconvdata/iso-2022-jp.c: Likewise. - * iconvdata/iso-2022-kr.c: Likewise. - * iconv/gconv_open.c: Likewise. Avoid unneeded initializations. - Recognize IGNORE error handling, set flag, and remove from name. - * iconv/loop.c (ignore_errors_p): Define. - Add flags parameter to both functions. - * iconv/skeleton.c: Pass flags to all conversion functions. - * iconv/gconv_simple.c: Add flags parameter to all functions. - Don't return error for invald error if ignore flag is set. - (ucs4_internal_loop_single): Add missing pointer increment. - (internal_ucs4le_loop_single): Likewise. - * iconv/iconv_prog.c: Implement handling of -c parameter. - * iconvdata/8bit-gap.c: Don't return error for invald error if - ignore flag is set. - * iconvdata/8bit-generic.c: Likewise. - * iconvdata/ansi_x3.110.c: Likewise. - * iconvdata/big5.c: Likewise. - * iconvdata/big5hkscs.c: Likewise. - * iconvdata/euc-cn.c: Likewise. - * iconvdata/euc-jp.c: Likewise. - * iconvdata/euc-kr.c: Likewise. - * iconvdata/gbgbk.c: Likewise. - * iconvdata/gbk.c: Likewise. - * iconvdata/iso-2022-cn.c: Likewise. - * iconvdata/iso-2022-jp.c: Likewise. - * iconvdata/iso-2022-kr.c: Likewise. - * iconvdata/iso646.c: Likewise. - * iconvdata/iso8859-1.c: Likewise. - * iconvdata/iso_6937-2.c: Likewise. - * iconvdata/iso_6937.c: Likewise. - * iconvdata/johab.c: Likewise. - * iconvdata/sjis.c: Likewise. - * iconvdata/t.61.c: Likewise. - * iconvdata/uhc.c: Likewise. - * iconvdata/unicode.c: Likewise. - * iconvdata/utf-16.c: Likewise. - * libio/fileops.c: Likewise. - * libio/iofwide.c: Likewise. - * wcsmbs/btowc.c: Likewise. - * wcsmbs/mbrtowc.c: Likewise. - * wcsmbs/mbsnrtowcs.c: Likewise. - * wcsmbs/mbsrtowcs.c: Likewise. - * wcsmbs/wcrtomb.c: Likewise. - * wcsmbs/wcsnrtombs.c: Likewise. - * wcsmbs/wcsrtombs.c: Likewise. - * wcsmbs/wctob.c: Likewise. - - * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of - an error. - -2000-06-04 Ulrich Drepper - - * iconv/gconv_dl.c (do_release_shlib): Don't reset reference - counter for the object we are releasing, just decrement it. - Patch by Akira Higuchi . - -2000-06-04 Jakub Jelinek - - * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh - if -ffast-math. - -2000-06-04 Ulrich Drepper - - * iconvdata/big5hkscs.c: New file. - Modified from big5.c by Roger So . - - * iconvdata/gconv-modules: Add entry for new module. - * iconvdata/Makefile (modules): Add BIG5HKSCS. - (distribute): Add big5hkscs.c. - -2000-06-01 Jakub Jelinek - - * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all - inlines to match prototypes in mathcalls.h. - * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise. - * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise. - * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise. - * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise. - -2000-06-03 Ulrich Drepper - - * elf/elf.h (SHT_SUNW_move): Define. - - * elf/elf.h: Add more Solaris compatiblity definitions. - -2000-06-03 Andreas Jaeger - - * sysdeps/powerpc/dl-start.S: Close open comment. - -2000-06-03 Jakub Jelinek - - * inet/Versions: Fix typo in rresvport_af export. - -2000-06-02 Ulrich Drepper - - * math/tgmath.h: Pretty print. - -2000-06-02 Andreas Jaeger - - * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo. - Reported by Maciej W. Rozycki . - -2000-06-02 Ulrich Drepper - - * elf/rtld.c (process_envvars): Test for = after variable name. - -2000-06-01 Ulrich Drepper - - * sysdeps/generic/initfini.c (_init): One less relocation. Don't - have extra call to __gmon_start__, use the pointer we already have. - - * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before - shifting. - - * sysdeps/i386/elf/setjmp.S: Work around change is recent - binutils. gas now emits a jump through the PLT instead of a - relative jump if the jump target is an exported symbol. - -2000-05-31 Ulrich Drepper - - * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD. - -2000-05-31 Andreas Jaeger - - * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for - gregset_t. - - * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache. - Patches by Maciej W. Rozycki . - - * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of - syscall. - * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise. - -2000-05-30 Ulrich Drepper - - * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P. - - * locale/Versions [libc] (GLIBC_2.2): Add localeconv. - * locale/localeconv.c: Make function versioned (with same definition). - - * elf/Makefile (modules-names): Strip before using it. - -2000-05-30 Andreas Jaeger - - * sysdeps/unix/sysv/linux/mips/truncate64.c: New file. - * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file. - * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file. - * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file. - * sysdeps/unix/sysv/linux/mips/pread.c: Readded file. - * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file. - -2000-05-29 Ulrich Drepper - - * Makefile: Add GNU make magic. - - * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c): - Removed. - * inet/rcmd.c: Remove __P. Remove unused variables. - (iruserfopen): Make first parameter const. - (ruserok_sa): Return result of ruserok2_sa. - (__checkhost_sa): Correctly iterate through results of getaddrinfo. - * inet/rexec.c: Remove unused variables. Other small cleanups. - * inet/ruserpass.c: Remove __P. Remove unused variables. - (ruserpass): Check results of memory allocation. - * include/netdb.h: Add prototype for ruserpass. - -2000-05-29 Andreas Jaeger - - * elf/readlib.c (interpreters): Use LD_SO since this is supported - for all platforms. - -2000-05-29 Jakub Jelinek - - * inet/rcmd.c (rresvport_af): Use correct port number. - -2000-05-26 Andreas Schwab - - * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to - entries in all-sonames. - ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol, - preserving the old name if different for compatibility. - -2000-05-29 Ulrich Drepper - - * posix/Makefile (tests): Add tst-spawn. - (tst-spawn-ARGS): New variable. - * posix/tst-spawn.c: New file. - - * posix/spawn_faction_addclose.c: Correctly account for new entry. - * posix/spawn_faction_adddup2.c: Likewise. - * posix/spawn_faction_addopen.c: Likewise. - * posix/spawni.c: Correctly test for success of dup2 calls. - - * posix/tst-preadwrite.c: Check success of malloc call. - -2000-05-28 Ulrich Drepper - - * posix/Makefile (tests): Add tst-exec. - (tst-exec-ARGS): New variable. - * posix/tst-exec.c: New file. - - * sysdeps/arm/atomicity.h (compare_and_swap): Return result. - -2000-05-04 Andreas Jaeger - - * string/string.h: Remove __strdup prototype, it's not needed in - this file anymore. - -2000-05-28 Ulrich Drepper - - * posix/Makefile (tests): Add tst-fork. - * posix/tst-fork.c: New file. - - * resolv/inet_pton.c: Loose __P. - -2000-05-21 Jakub Jelinek - - * libio/libioP.h (_IO_CHECK_WIDE): Define. - * libio/iosetbuffer.c (_IO_setbuffer): Use it. - * libio/iosetvbuf.c (_IO_setvbuf): Likewise. - * libio/fileops.c (_IO_new_file_fopen): Return NULL if - _IO_CHECK_WIDE fails. - -2000-05-28 Ulrich Drepper - - * po/da.po: New file. - - * manual/arith.texi (Rounding Functions): Fix documentation of trunc. - Patch by Steven G. Johnson . - - * manual/charset.texi (Extended Char Intro): Fix typo (and -> as). - (Other iconv Implementations): Fix typo. - Patch by Martin Pool . - -2000-05-27 Andreas Jaeger - - * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the - normal version now. - * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pread.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/arm/pread.c: Likewise. - * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise. - - * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check - endianness to decide how to pass arguments. - * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise. - - * elf/vismain.c: Use test-skeleton interface. - (TEST_FUNCTION): New macro. - (do_test): Renamed from main. - -2000-05-27 Ulrich Drepper - - * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family == - AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses. - - * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct - handling of AI_V4MAPPED flag. - - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup - of IPv6 address failed and RES_USE_INET6 bit in _res.options is set, - perform lookup for T_A type and tell getanswer_r to convert the - result with new argument. - (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r. - Don't convert addresses from IPv4 to IPv6 here. - (getanswer_r): Take new parameter indicating if mapping from IPv4 to - IPv6 is wanted. Allow qtype and type from reply to disagree if - IPv4 mapping has to be done. Perform mappings if required by the - caller and not if RES_USE_INET6 bit in _res.options is set. - Add several __builtin_expect. - -2000-05-26 Ulrich Drepper - - * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect. - - * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader == - NULL. - - * posix/tst-preadwrite.c: Allow parallel execution of - tst-preadwrite and tst-preadwrite64. - - * posix/Makefile (tests): Add tst-truncate and tst-truncate64. - * posix/tst-truncate.c: New file. - * posix/tst-truncate64.c: New file. - - * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code - was switched. - - * posix/Makefile (tests): Add tst-preadwrite64. - * posix/tst-preadwrite.c: Alloc file being used also for testing - pread64 and pwrite64. - * posix/tst-preadwrite64.c: New file. - -2000-05-26 Andreas Jaeger - - * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order - of arguments dependend on endianness. - * sysdeps/unix/sysv/linux/truncate64.c: Likewise. - - * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the - normal version now. - * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. - - * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check - endianness to check how to pass argument. - * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise. - - * elf/ldconfig.h: Update parameter list for process_elf_file. - - * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file): - Add parameter file_length and pass it ot process_elf*file. - - * sysdeps/generic/readelflib.c (check_ptr): New. - (process_elf_file): Use check_ptr to check all accesses to the - mmapped file. Add parameter file_length. - - * elf/readlib.c (known_libs): Use to specify - library names. - - * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion. - Closes PR libc/1573, reported by Bradley White - . - -2000-05-25 Ulrich Drepper - - * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if - __FAST_MATH__ is defined. - -2000-05-22 Andreas Jaeger - - * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c, - CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c. - - * manual/math.texi (FP Function Optimizations): Document gcc - -ffast-math behaviour with mathinlines. - - * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline - functions unless -ffast-math is given to gcc. - -2000-05-23 Jakub Jelinek - - * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf, - __sincosl): Guard with __USE_GNU. - -2000-05-24 Ulrich Drepper - - * csu/Makefile (routines): Add check_fds. - * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID - binaries. Add various __builtin_expect. - * sysdeps/generic/libc-start.c: Move check_fds and helper functions... - * sysdeps/generic/check_fds.c: ...here. New file. - - * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID - binaries if file /etc/suid-debug is available. - - * locale/programs/ld-collate.c (struct element_t): Add mbseqorder - and wcseqorder members. - (struct locale_collate_t): Likewise. - (collate_finish): Assign collation sequence value to each character. - Create tables for output. - (collate_output): Write out tables with collation sequence information. - * locale/C-collate.c: Provide C locale data for collation sequence - table. - * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and - _NL_COLLATE_COLLSEQWC. - * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and - _NL_COLLATE_COLLSEQWC. - * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before - include fnmatch_loop.c. - * posix/fnmatch_loop.c: Don't use strcoll while determining whether - character is matched by range expression. Use collation sequence - table. Outside glibc fall back on simple character value comparison. - -2000-05-24 Andreas Jaeger - - * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double - words. - - * intl/Makefile: Run gettext-test only if msgfmt is available. - - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS): - Define it for newer kernels. - -2000-05-23 Ulrich Drepper - - * elf/dl-sym.c: Minor cleanups. - - * configure.in: Add test for .protected. - * config.make.in: Add have-protected variable. - * elf/Makefile (tests): Add $(tests-vis-$(have-protected)). - (tests-vis-yes): Add vismain. - (modules-names): Add $(modules-vis-$(have-protected)). - (modules-vis-yes): Add vismod1, vismod2, and vismod3. - Add rules to generate and run vismain. - * elf/vismain.c: New file. - * elf/vismod1.c: New file. - * elf/vismod2.c: New file. - * elf/vismod3.c: New file. - -2000-05-23 Andreas Jaeger - - * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a. - - * manual/search.texi (Array Sort Function): Document that qsort is - not necessarily in-place. - - * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N. - Closes PR libc/1731. - - * csu/munch-tmpl.c (__libc_init): Remove K&R support. - * dirent/scandir64.c: Likewise. - * pwd/getpw.c: Likewise. - * stdlib/bsearch.c (bsearch): Likewise. - * stdlib/tst-strtoll.c: Likewise. - * localedata/collate-test.c: Likewise. - * localedata/xfrm-test.c: Likewise. - * posix/bsd-getpgrp.c: Likewise. - * sysdeps/alpha/fpu/bits/fenv.h: Likewise. - * sysdeps/generic/bits/siginfo.h: Likewise. - * sysdeps/generic/bits/sockaddr.h: Likewise. - * sysdeps/generic/sys/swap.h: Likewise. - * sysdeps/generic/sys/sysinfo.h: Likewise. - * sysdeps/generic/vfork.c: Likewise. - * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise. - * sysdeps/mach/hurd/fdopen.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise. - * sysdeps/unix/sysv/linux/poll.c: Likewise. - * sysdeps/unix/sysv/linux/readv.c: Likewise. - * sysdeps/unix/sysv/linux/writev.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise. + * sysdeps/gnu/bits/ipc.h (IPC_INFO): Only define if __USE_GNU. + * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise. + * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise. + + * sysvipc/sys/msg.h: Don't include sys/types.h. + Define time_t, pid_t, and ssize_t if not already done. + (struct msgbuf): Define only if __USE_GNU. + + * sysdeps/generic/bits/msq.h: Include bits/types.h, not sys/types.h. + (MSG_EXCEPT): Only define if __USE_GNU. + Define msgqnum_t and msglen_t and use them in struct msqid_ds + definition. + * sysdeps/gnu/bits/msq.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Likewise. + * sysdeps/unix/sysv/linux/bits/msq.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise. + + * sysdeps/generic/bits/stropts.h (I_GWROPT): Renamed from I_GWRSET. + (FLUSHBAND): Only define is __USE_GNU. + (RPROTMASK): Likewise. + (SNDPIPE): Likewise. + (MUXID_ALL): Likewise. + (struct strrecvfd): Rename fill to __fill. + +2000-02-24 Ulrich Drepper + + * stdlib/stdlib.h: Move definition X/Open compatibility stuff + inside the main #ifdef. + +2000-02-24 Geoff Clare + + * posix/wordexp-test.c: Updated to include tests for all the + problems fixed by the last changes to wordexp.c. + +2000-02-24 Ulrich Drepper + + * posix/sys/wait.h: Handle definitions duplicated in stdlib.h + correctly. + * stdlib/stdlib.h: Handle definition of wait macros correctly. + + * posix/sys/wait.h: Add missing #endif. + + * stdlib/stdlib.h (setstate): Don't mark argument as const (yet). + * stdlib/random_r.c: Change parameter types for initstate_t and + setstate_r. + * include/stdlib.h: Change parameter types for __initstate_t and + __setstate_r. + +2000-02-24 Andreas Jaeger + + * include/stdlib.h: Fix prototypes of __initstate and __setstate. + + * manual/time.texi (Precision Time): Fix typo. + Patch by John Tobey , PR libc/1576. + +2000-02-24 Ulrich Drepper + + * conform/conformtest.pl (@headers): Add string.h and strings.h. + * conform/data/string.h-data: New file. + * conform/data/strings.h-data: New file. + + * string/string.h [__USE_XOPEN]: Don't declare functions from + here as well. + +2000-02-23 Ulrich Drepper + + * posix/sys/wait.h: Pretty printing. Allow WEXITSTATUS etc be + defined elsewhere. + * stdlib/stdlib.h [__USE_XOPEN]: Define WEXITSTATUS etc. + * sysdeps/generic/bits/waitflags.h: Allow including from stdlib.h. + * sysdeps/unix/bsd/bits/waitflags.h: Likewise. + * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise. + * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise. + * sysdeps/generic/bits/waitstatus.h: Likewise. + + * posix/wordexp.c: Use $HOME to expand ~ (if set); fix off-by-one + error in expansion of ~user; correct handling of WRDE_APPEND and + WRDE_DOOFFS; return WRDE_SYNTAX for syntax errors in command + substitutions; limit removal of newlines to those that are + really `trailing'; allow for current word to continue after + a command substitution (e.g. "a$(echo b)c"); restore pwordexp + members properly on error returns. + Patch by Geoff Clare . + + * locale/programs/ld-ctype.c (allocate_arrays): Make sure the end + of width table is 4-byte aligned. + (ctype_output): Write out the entire width array. + + * sysdeps/unix/sysv/linux/bits/waitflags.h: Add __WALL. + +2000-02-23 Andreas Jaeger + + * dlfcn/dlopen.c: Include for NULL. + * dlfcn/dlopenold.c: Likewise. + * dlfcn/dlsym.c: Likewise. + * dlfcn/dlvsym.c: Likewise. + * iconv/gconv.c: Likewise. + +2000-02-23 Ulrich Drepper + + * conform/conformtest.pl (@headers): Add stdlib.h. + * conform/data/stdlib.h-data: New file. + +2000-02-22 Ulrich Drepper + + * dlfcn/dlfcn.h (RTLD_DEFAULT): Don't use NULL. + + * iconv/iconv.h (iconv): Fix prototype. + + * misc/libgen.h: When using gcc using renaming feature to get XPG + definition of basename. + + * misc/search.h (struct entry): Fix type of element data. + + * posix/unistd.h (getpagesize): Declare as const function. + + * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Define SA_NOCLDWAIT. + * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise. - * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes. - * shadow/lckpwdf.c: Likewise. - * stdlib/tst-strtol.c: Likewise. - * sysdeps/generic/tcsetattr.c: Likewise. - * sysdeps/unix/sysv/linux/ttyname.c: Likewise. - * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise. + * signal/signal.h [__USE_XOPEN]: Define uid_t. + (sigstack): Correct type of first parameter. + * sysdeps/generic/sigstack.c (sigstack): Likewise. + * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise. -2000-05-22 Jakub Jelinek + * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: New file. Copy of + old sysdeps/unix/sysv/linux/bits/siginfo.h. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise. + * sysdeps/unix/sysv/linux/bits/siginfo.h [struct siginfo] (si_band): + Change type to `long int'. - * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements, - free it and set to (void *) -1. + * signal/signal.h [__USE_XOPEN]: Declare sigpause to redirect to + __xpg_sigpause. + * sysdeps/generic/sigpause.c: Define __xpg_sigpause. + * sysdeps/posix/sigpause.c: Likewise. -2000-05-22 Jakub Jelinek - - * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is - not the second character in the range. - * stdio-common/tstscanf.c (main): Add testcase for the above. - Reported by jik@kamens.brookline.ma.us. - -2000-05-21 H.J. Lu - - * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter - with noexec and noplt parameter. - (do_lookup): Likewise. - - * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of - do_lookup. Support STV_PROTECTED. - (_dl_lookup_symbol_skip): Likewise. - (_dl_lookup_versioned_symbol): Likewise. - (_dl_lookup_versioned_symbol_skip): Likewise. - - * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY. - - * elf/dl-runtime.c (profile_fixup): Fix a typo in comment. - -2000-05-21 Jakub Jelinek - - * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95. - * sysdeps/i386/bits/huge_val.h: Likewise. - * sysdeps/ieee754/bits/huge_val.h: Likewise. - * sysdeps/m68k/bits/huge_val.h: Likewise. - * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise. - * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise. - -2000-05-22 Andreas Jaeger - - * iconv/tst-iconv1.c (main): Remove const from inbuf to follow - change in iconv.h. - -2000-05-19 Andreas Jaeger - - * sysdeps/unix/sysv/linux/i386/i686/sysdep.h - (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which - breaks compilation without linuxthreads. - -2000-05-21 Ulrich Drepper - - * sysdeps/ia64/memccpy.S: New file. - * sysdeps/ia64/memchr.S: New file. - * sysdeps/ia64/memcmp.S: New file. - * sysdeps/ia64/memcpy.S: New file. - * sysdeps/ia64/memmove.S: New file. - * sysdeps/ia64/memset.S: New file. - * sysdeps/ia64/strcat.S: New file. - * sysdeps/ia64/strchr.S: New file. - * sysdeps/ia64/strcmp.S: New file. - * sysdeps/ia64/strcpy.S: New file. - * sysdeps/ia64/strlen.S: New file. - * sysdeps/ia64/strncmp.S: New file. - * sysdeps/ia64/strncpy.S: New file. - * sysdeps/ia64/softpipe.h: New file. - Patches by Dan Pop . - - * manual/memory.texi: Document memory handling functions (mlock, - munlock, mlockall, munlockall, brk, and sbrk) - * manual/time.texi: Document timespec and friends. - * manual/conf.texi: Fix references. - * manual/ctype.texi: Likewise. - * manual/errno.texi: Likewise. - * manual/intro.texi: Likewise. - * manual/locale.texi: Likewise. - * manual/sysinfo.texi: Likewise. - Patches by Bryan Henderson . - -2000-05-09 Jes Sorensen - - * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to... - * sysdeps/ia64/dl-lookupcfg.h: ...here. - -2000-05-21 Jakub Jelinek - - * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate - dxfer_direction. - -2000-05-21 Ulrich Drepper - - * locale/locale.h (struct lconv): Add new elements from ISO C99. - * locale/localeconv.c: Initialize new elements from ISO C99. - * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for - new standard elements. - * locale/categories.def: Adjust accordingly. - - * iconv/iconv.h (iconv): Remove const from inbuf parameter. - * iconv/iconv.c: Likewise. + * conform/conformtest.pl: Correct bugs. Add more functionality. + * conform/data/dlfcn.h-data: Correct typos. + * conform/data/ftw.h-data: Likewise. * conform/data/iconv.h-data: Likewise. - * iconv/iconv_prog.c (process_block): Remove const from second - parameter. - (main): Remove const from addr definition. - * manual/charset.texi (Generic Conversion Interface): Remove from - inbuf parameter of iconv. - - * intl/dcigettext.c: Fix typo in comment. - -2000-05-20 2000 H.J. Lu - - * resolv/res_libc.c (_res): Initialize _sock to -1. - -2000-05-18 Jakub Jelinek - - * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie. - (fopencookie@@GLIBC_2.2): New. - (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New. - (fopencookie@GLIBC_2.0): New. - * libio/Versions: Add fopencookie to GLIBC_2.2. - -2000-05-18 Andreas Jaeger - - * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N. - Closes PR libc/1731. - - * manual/arith.texi (Parsing of Integers): Fix typo. - Closes PR libc/1744, reported by blp@gnu.org. - -2000-05-17 Jakub Jelinek - - * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add - __extension__ to hexadecimal floating constant notation. - * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): - Likewise. - * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise. - * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): - Likewise. - * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF, - HUGE_VALL): Likewise. - * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF, - HUGE_VALL): Likewise. - (HUGE_VALL): Set to HUGE_VAL on sparc32. - -2000-05-17 Andreas Jaeger - - * string/envz.h: Add pure attributes if possible. - - * string/argz.h: argz_count is a pure function. - - * string/strings.h: Add pure and const attributes if possible. - - * sysdeps/generic/memmem.c (memmem): Check arguments to avoid - possibly searching through the whole memory. - Closes PR libc/1730, reported by Greg Hudson . - -2000-05-17 Jakub Jelinek - - * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if - not yet defined. - (_dl_cache_check_flags): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next - dl-cache.h. - -2000-05-17 Andreas Jaeger - - * manual/creature.texi (Feature Test Macros): Remove paragraph - since the description is wrong. - Closes PR libc/1691, reported by Geoff Clare . - - * scripts/config.sub: New version. - * scripts/config.guess: Likewise. - * manual/texinfo.tex: Likewise. - - * time/test_time.args: Removed. - * time/Makefile (test_time-ARGS): Added contents here instead. - - * posix/tstgetopt.args: Removed. - * posix/Makefile (tstgetopt-ARGS): Added contents here instead. - - * Rules: Allow arguments for test files to be specified in - Makefile with testname-ARGS; remove rules with .args in it. - - * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1, - remove old bogus rule for opendir-tst1.args. - - * stdlib/test-canon.c: Rewrite to use test-skeleton.c. - - * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir - into objdir. This allows a readonly sourcetree. - Reported by lrgallardo@yahoo.com, closes PR libc/1421. - -2000-05-16 Andreas Jaeger , - David Huggins-Daines - - * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set - cache_data in case of only new cache format correctly. - - * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct - cache_file_new. - - * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align - struct cache_file_new. - - * elf/cache.c (save_cache): Fix str_offset if only new cache is - present. - - * elf/cache.c (save_cache): Align struct new_file_cache. - (print_cache): Likewise. - -2000-05-13 Jakub Jelinek - - * elf/soinit.c (__libc_global_ctors): Move - __pthread_initialize_minimal call out of HAVE_DWARF2_* defines. - * resolv/resolv.h (__res_state): Added __attribute__((const)). - (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as - variable, don't define it to __res_state call. - -2000-05-13 Andreas Jaeger - - * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from - Linux 2.3.99pre7. - (AF_PPPOX): Likewise. - * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise. - (AF_PPPOX): Likewise. - -2000-05-12 Andreas Jaeger - - * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices. - Reported by tmoestl@gmx.net, closes PR libc/1732. - -2000-05-11 Jan Hubicka - - * misc/sys/cdefs.h: Add support for pure attribute. - - * include/string.h: Add __attribute_pure__ to various functions. - * string/string.h: Likewise. - -2000-05-10 Jakub Jelinek - - * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt - argument. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle - R_SPARC_UA64. - * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file. - -2000-05-10 Jakub Jelinek - - * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message - at proper place. Compute the high nibble correctly. - -2000-05-09 Jakub Jelinek - - * elf/ldconfig.c: Include elf.h. - - * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero. - (_dl_vsym): Likewise. - Reported by Owen Taylor . - - * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini - always. - -2000-05-08 Andreas Jaeger - - * include/libintl.h: Add prototype for __bind_textdomain_codeset. - - * intl/bindtextdom.c (set_binding_values): Add prototype. - -2000-05-08 Jakub Jelinek - - * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in - call to elf_machine_fixup_plt. - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise. - -2000-05-08 Jakub Jelinek - - * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that - they are not dlclose'd from underneath us. - -2000-05-08 Andreas Schwab - - * posix/execle.c: Fix size parameter of memcpy. - -2000-05-08 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use - getpagesize syscall if available. - -2000-05-08 Andreas Jaeger - - * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and - set errno. - -2000-05-08 Jakub Jelinek - - * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in - sizeof(struct link_map *) chunks, not in bytes. - -2000-05-07 Ulrich Drepper - - * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's - only needed for locale. - * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS. - It's only needed for catgets. - Patches by Greg McGary . - -2000-05-07 Mark Kettenis - - * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print. - Remove duplicate include. Remove inclusion of - and "nsswitch.h". - (set_cloexec_flag): New function, broken out of dbopen. - (dbopen): Changed return type to `enum - nss_status'. Mostly rewritten to make sure that we do not report - NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts. - (internal_setent): Change return type to nss_status. - Document, and make sure that the function - behaves accordingly. Make dynamically loading the database - library really thread-safe and return NSS_STATUS_UNAVAIL if it - failed. - (db_cursor): Return ENOMEM is memory allocation failed. Remove - unecessary casts. - * nss/nss_db/dummy-db.h: Add copyright notice. Improve - documentation. - (struct dbc24, struct dbc27): Use DBT type in parameter lists for - c_get function member. - * nss/nss_db/nss_db.h: Add and tweak some comments. - (DBT): Move typedef before NSS_DBC typedef. - (NSS_DBC, NSS_DB): Use DBT in function member parameter lists. - -2000-05-07 H.J. Lu - - * csu/initfini.c: Moved to .... - * sysdeps/generic/initfini.c: ...here. - - * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs). - -2000-05-07 Ulrich Drepper - - * manual/resource.texi: Document POSIX scheduling functions. - Patch by Bryan Henderson . - - * inet/rcmd.c (rcmd_af): errno is not set if read returns without - reading anything. Reported by Andries.Brouwer@cwi.nl. - - * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type - for x since promotion in comparison might leads to unexpected - results. Reported by Dan Pop . - - * iconv/Makefile (tests): Add tst-iconv1. - * iconv/tst-iconv1.c: New file. - * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting - empty input buffer over full output buffer. - (ucs4_internal_loop): Likewise. - (ucs4_internal_loop_unaligned): Likewise. - (internal_ucs4le_loop): Likewise. - (internal_ucs4le_loop_unaligned): Likewise. - (ucs4le_internal_loop): Likewise. - (ucs4le_internal_loop_unaligned): Likewise. - Reported by yaoz@nih.gov. - -2000-05-06 Bruno Haible - - * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform - returned != __GCONV_OK, there is nothing to clean up. - -2000-05-06 Bruno Haible - - * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and - OUTPUT_CHARSET environment variables. - -2000-05-06 Andreas Jaeger - - * sysdeps/generic/dl-cache.h (struct file_entry_new): New. - (struct cache_file_new): New. - (struct file_entry): New (moved from cache.c). - (struct cache_file): New (moved from cache.c). - - * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out - from _dl_load_cache_lookup. - (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle - the different cache formats. - New variable cache_new for new format. - - * elf/ldconfig.h: Change according to changes in cache.c and - ldconfig.c; remove cache_libcmp; add opt_format. - - * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove - stuff that's defined in those headers. - Add hwcap to struct lib_entry. - (opt_format): New variable to select cache format. - (options): Add format parameter. - (is_hwcap): New function. - (path_hwcap): New function. - (parse_opt): Handle new format parameter. - (search_dir): Handle hwcap, search also subdirectories with hwcap. - - * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since - ldconfig is part of glibc. - Include dl-cache.h and remove stuff that's defined there. - (struct cache_entry): Add new member hwcap. - (print_entry): Print hwcap, cleanup a bit. - (print_cache): Print new and old formats. - (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap. - (save_cache): Save new and old formats. - (add_to_cache): Handle hwcap. - - * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here... - * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here. - * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here... - * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here. - * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here... - * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here. - -2000-05-05 Bruno Haible - - * intl/dcigettext.c (alignof): New macro. - (_nl_find_msg): Use it instead of __alignof__. Pass correct output - buffer length to __gconv/iconv. If malloc (freemem_size) fails, set - freemem_size to 0. - -2000-05-05 Bruno Haible - - * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch - return value. - -2000-05-06 Ulrich Drepper - - * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'. - (mempcpy): Correct typo is parameter list. - -2000-05-06 Andreas Jaeger - - * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline - functions unless -ffast-math is given to gcc. - -2000-05-06 Ulrich Drepper - - * po/ko.po: Update from translation team. - -2000-05-05 Ulrich Drepper - - * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to... - * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here. - * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to... - * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here. - * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to... - * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here. - - * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed. - * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed - * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed. - - * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file. - * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file. - * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file. - * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file. - - * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file. - * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file. - -2000-05-05 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file. - * sysdeps/unix/sysv/linux/ia64/syscall.S: New file. - - * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file. - * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file. - - * sysdeps/ia64/Implies: New file. - * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address. - * sysdeps/ia64/Makefile: New file. - * sysdeps/ia64/gmp-mparam.h: New file, - - * sysdeps/ia64/elf/start.S: New file. - - * sysdeps/ia64/bits/fenv.h: New file. - -2000-05-05 David Mosberger-Tang - - * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file. - -2000-04-26 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The - ia64 has 64 bit .hash entries just as the Alpha. - -2000-04-25 Jes Sorensen - - * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro. - -2000-04-17 Jes Sorensen - - * sysdeps/ia64/fpu/fclrexcpt.c: New file. - * sysdeps/ia64/fpu/fedisblxcpt.c: New file. - * sysdeps/ia64/fpu/feenablxcpt.c: New file. - * sysdeps/ia64/fpu/fegetenv.c: New file. - * sysdeps/ia64/fpu/fegetexcept.c: New file. - * sysdeps/ia64/fpu/fegetround.c: New file. - * sysdeps/ia64/fpu/feholdexcpt.c: New file. - * sysdeps/ia64/fpu/fesetenv.c: New file. - * sysdeps/ia64/fpu/fesetround.c: New file. - * sysdeps/ia64/fpu/feupdateenv.c: New file. - * sysdeps/ia64/fpu/fgetexcptflg.c: New file. - * sysdeps/ia64/fpu/fraiseexcpt.c: New file. - * sysdeps/ia64/fpu/fsetexcptflg.c: New file. - * sysdeps/ia64/fpu/ftestexcept.c: New file. - -2000-05-05 Andreas Jaeger - - * misc/tst-tsearch.c (main): Correct type for initstate argument. - - * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New. - (_dl_string_hwcap): New, does nothing. - - * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New. - (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant. - (_dl_string_hwcap): New function, converts from string to hwcap - encoding. - * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h - (_DL_HWCAP_COUNT): New. - (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant. - (_dl_string_hwcap): New function, converts from string to hwcap - encoding. - * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h - (_DL_HWCAP_COUNT): New. - (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant. - (_dl_string_hwcap): New function, converts from string to hwcap - encoding. - -2000-05-05 Ulrich Drepper - - * elf/Makefile (distribute): Add dl-lookupcfg.h. - * sysdeps/ia64/Dist: New file. - - * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of - parameter to mprotect and for variable assignments. - -2000-05-03 Jes Sorensen - - * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the - validity of map before dereferencing it. - - * elf/dl-reloc.c (RESOLVE_MAP): Define. - -2000-05-02 Jes Sorensen - - * elf/dl-runtime.c (fixup): Add the value returned in the symbol - lookup to the arguments to elf_machine_fixup_plt(). - - * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map - of the symbol being resolved to input argument list and make the - function return the pointer to the reloc. - - * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change - return valuie to lookup_t and return the value. - * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise. - * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise. - * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise. - * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise. - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise. - - * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise. - Make it an inline function returning value after calling - __elf_machine_fixup_plt(). - - * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the - symbol address. - - * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to - obtain the symbol address. - - * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro - depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL. - - * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling - _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an - inline on non ia64. - -2000-04-28 Jes Sorensen - - * elf/dl-runtime.c (fixup): Use the portable macros to get the - symbol address of an object. - - * elf/dl-runtime.c (fixup-profile): Use the portable macros to get - the symbol address of an object. - - * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t. - * elf/dl-lookup.c (_dl_lookup_symbol): Likewise. - (_dl_lookup_symbol_skip): Likewise. - (_dl_lookup_versioned_symbol): Likewise. - (_dl_lookup_versioned_symbol_skip): Likewise. - -2000-04-27 Jes Sorensen - - * elf/rtld.c (_dl_start): Get the function pointer return address - via _dl_start_address for architectures that need a function - pointer descriptor rather than just a pointer (ia64). - - * sysdeps/generic/dl-lookupcfg.h: New file. - * sysdeps/ia64/dl-lookupcfg.h: New file. - * sysdeps/ia64/dl-machine.h: New file. - * sysdeps/ia64/dl-symaddr.c: New file. - * sysdeps/ia64/dl-fptr.c: New file. - - * elf/elf.h: Add IA-64 specific definitions. - -2000-05-04 Jakub Jelinek - - * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the - end of enum. - -2000-05-04 Jakub Jelinek - - * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic - happy. - -2000-04-11 Geoff Keating - - * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user - symbol. Call _dl_init rather than the old way. - -2000-05-04 Ulrich Drepper - - * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to - test for pointer in range of DSO address space. - -2000-05-04 Andreas Jaeger - - * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC. - -2000-05-03 Ulrich Drepper - - * locale/findlocale.c (_nl_find_locale): Add new parameter to - calls of _nl_make_l10nflist. - - * libio/stdio.h: Make fseeko and ftello prototypes available is - __USE_LARGEFILE. Patch by Paul Eggert . - - * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the - real unsetenv implementation from 1999-07-29 [PR libc/1714]. - -2000-05-03 Bruno Haible - - * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname' - before calling tfind. - -2000-03-05 Jakub Jelinek - - * resolv/resolv.h (res_querydomain): Remove redefinition to - __res_querydomain (reported by Owen Taylor ). - -2000-05-03 Ulrich Drepper + * conform/data/nl_types.h-data: Likewise. + * conform/data/search.h-data: Likewise. + * conform/data/semaphore.h-data: New file. + * conform/data/setjmp.h-data: New file. + * conform/data/signal.h-data: New file. + * conform/data/stdarg.h-data: New file. + * conform/data/stddef.h-data: New file. + * conform/data/stdio.h-data: New file. + + * po/de.po: Update from translation team. + +1999-12-31 Martin Buchholz + + * argp/argp-help.c: Fix typos. + * argp/argp.h: Likewise. + * elf/dl-object.c: Likewise. + * elf/dl-open.c: Likewise. + * elf/elf.h: Likewise. + * elf/rtld.c: Likewise. + * iconv/gconv_open.c: Likewise. + * localedata/tst-fmon.data: Likewise. + * localedata/tst-rpmatch.sh: Likewise. + * login/programs/xtmp.h: Likewise. + * manual/arith.texi: Likewise. + * manual/charset.texi: Likewise. + * manual/creature.texi: Likewise. + * manual/llio.texi: Likewise. + * manual/search.texi: Likewise. + * manual/signal.texi: Likewise. + * manual/stdio.texi: Likewise. + * manual/string.texi: Likewise. + * manual/sysinfo.texi: Likewise. + * manual/users.texi: Likewise. + * manual/examples/argp-ex2.c: Likewise. + * manual/examples/argp-ex3.c: Likewise. + * manual/examples/argp-ex4.c: Likewise. + * manual/examples/mkfsock.c: Likewise. + * math/test-fenv.c: Likewise. + * nscd/nscd_gethst_r.c: Likewise. + * nss/test-netdb.c: Likewise. + * posix/regex.c: Likewise. + * scripts/test-installation.pl: Likewise. + * stdlib/canonicalize.c: Likewise. + * stdlib/fmtmsg.c: Likewise. + * string/argz-replace.c: Likewise. + * string/argz.h: Likewise. + * string/bits/string2.h: Likewise. + * sysdeps/generic/glob.c: Likewise. + * sysdeps/generic/setenv.c: Likewise. + * sysdeps/i386/memcmp.S: Likewise. + * sysdeps/posix/waitid.c: Likewise. + * time/tzset.c: Likewise. + +2000-02-21 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/syscalls.list: Add + getrlimit@GLIBC_2.0. + Reported by Yoshito Kawada . + + * sysdeps/unix/sysv/linux/powerpc/setrlimit64.c: Removed. + Reported by Kaoru Fukui . + + * elf/elf.h (ELF32_ST_OTHER): Removed. + (ELF64_ST_OTHER): Likewise. + + * sysdeps/alpha/fpu/fpu_control.h: Update comment. + + * malloc/Makefile (tests): Add tst-valloc. + * malloc/tst-valloc.c: New file. + +2000-02-21 Andreas Jaeger + + * sysdeps/unix/sysv/linux/bits/in.h (IPV6_RXSRCRT): Renamed to + IPV6_RTHDR; added IPV6_RTHDR_LOOSE, IPV6_RTHDR_STRICT and + IPV6_RTHDR_TYPE_0 to synch with RFC 2292. + * sysdeps/generic/bits/in.h: Likewise. + +2000-02-21 Ulrich Drepper * po/gl.po: Update from translation team. - * manual/intro.texi (Program Basics): Change section title. - * manual/process.texi: Fix reference. - (Executing a File): Add reference exec in other section. - * manual/signal.texi: Fix reference. - * manual/startup.texi: Document syscall function. - Patches by Bryan Henderson . + * timezone/antarctica: Update from tzdata2000b. + * timezone/asia: Likewise. + * timezone/australasia: Likewise. + * timezone/europe: Likewise. -2000-04-29 Bruno Haible + * malloc/malloc.c (vALLOc): Call ptmalloc_init before mEMALIGn + call to initialize malloc_getpagesize. + (pvALLOc): Likewise. - * intl/libintl.h (bind_textdomain_codeset): New declaration. - * intl/bindtextdom.c (set_binding_values): New function. - (bindtextdomain): Call it. - (bind_textdomain_codeset): New function. - * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain. - (free_mem): Free each binding's codeset. - * intl/gettextP.h (struct binding): Add codeset field. - (_nl_find_domain): Add domainbinding argument. - * intl/finddomain.c (_nl_find_domain): Add domainbinding argument. - Pass it to _nl_make_l10nflist. - * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field. - (_nl_make_l10nflist): Add domainbinding argument. - * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument. - * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's - codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call - locale_charset(). - * manual/message.texi: New node "Charset conversion in gettext". +2000-02-20 Ulrich Drepper -2000-04-30 Bruno Haible + * po/it.po: Update from translation team. - * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where - appropriate. Handle possible __read error. +2000-02-20 Philip Blundell -2000-04-29 Bruno Haible + * sysdeps/unix/sysv/linux/arm/mmap64.S: Fix off by one error. - * intl/gettextP.h (__builtin_expect): Define as empty if not a - compiler builtin. - * intl/loadinfo.h (__builtin_expect): Likewise. - * intl/dcigettext.c (dcigettext, _nl_find_msg): Use - __builtin_expect where appropriate. - * intl/loadmsgcat.c (_nl_load_domain): Likewise. - * intl/localealias.c (extend_alias_table): Return an error indicator. - (read_alias_file): Bail out if extend_alias_table fails. +2000-02-20 Ulrich Drepper -2000-04-29 Bruno Haible + * sunrpc/rpc_main.c (checkfiles): Add comment to help translators. - * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible. - * intl/localealias.c: Likewise. + * po/de.po: Update from translation team. -2000-05-01 Bruno Haible +2000-02-19 Ulrich Drepper - * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab. - Initialize domain->plural and domain->nplurals even if there is no - nullentry. + * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Add definition of + _libc_fpreg and _libc_fpstate and use it to define fpregset_t. + * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prgregset_t): Define + using elf_gregset_t. + (prfpregset_t): Define using elf_fpregset_t. -2000-05-01 Bruno Haible + * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Make fpregset_t + definition compatible with definition in 2.1.2 and before. + (struct ucontext): Use fpregset_t. + * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t): Define + as pointer to fpregset_t. - * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return - value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK. - In case of failure, goto converted. +2000-02-18 Ulrich Drepper -2000-05-01 Bruno Haible + * string/bits/string2.h (strnlen): Add cast to prevent warning. - * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away. - * iconv/gconv_int.h (norm_add_slashes): Move to here. - * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to - __gconv_open. + * nscd/connections.c (handle_request): Don't abort() if unknown + command is sent. -2000-04-29 Bruno Haible +2000-02-17 Ulrich Drepper - * intl/dcigettext.c (transcmp): Compare the domains as well. - (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL, - not before. - * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include - . + * nscd/hstcache.c (cache_addhst): Don't cache name->record entries + if more than one IP address is available. -2000-05-03 Ulrich Drepper +2000-02-17 Jakub Jelinek - * string/bits/string2.h: Declare __strdup and __strndup if necessary. - Reported by Bruno Haible. + * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Sync with kernel. -2000-04-29 Bruno Haible +2000-02-16 Ulrich Drepper - * manual/arith.texi: Remove @w from @itemize. + * locale/programs/charmap.c (charmap_read): Find charmap also in + the standard directory. -2000-05-02 Andreas Jaeger + * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct prototype for + __syscall_mmap2. - * conform/data/tar.h-data: Add some checks for specific values. + * sysdeps/unix/sysv/linux/execve.c: Pretty print. - * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS - and RAND_MAX. + * po/it.po: New file. + * po/pl.po: Update from translation team. - * conform/data/stdio.h-data: Add checks for value of TMP_MAX and - FOPEN_MAX. +2000-02-16 Andreas Jaeger - * conform/data/netinet/in.h-data: Add exact checks for the values - fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN. + * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix return + value. - * conform/data/float.h-data: Add some minimal values. +2000-02-16 Andreas Jaeger - * conform/conformtest.pl: Test for macros with string constants, - check for minimum and maximum values. - Add limits.h to headers. + * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c (ftruncate64): Fix + typo. - * conform/data/cpio.h-data: Test for value of MAGIC. +2000-02-15 Andreas Jaeger - * conform/data/limits.h-data: New file. + * sysdeps/i386/fpu/libm-test-ulps: Add one value for AMD K7. -2000-04-30 Bruno Haible +2000-02-15 Andreas Jaeger - * math/Makefile (headers): Add bits/fenvinline.h. + * math/libm-test.inc (nearbyint_test): Add some tests. + (rint_test): Likewise. -2000-05-01 Ulrich Drepper +2000-02-14 Ulrich Drepper - * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file. - * sysdeps/unix/sysv/aix/linux/direntconv.c: New file. + * locale/programs/repertoire.c (repertoire_new_char): NUL + terminated names of character in range. - * posix/Versions: Change posix_spawnattr_getdefault and - posix_spawnattr_setdefault to posix_spawnattr_getsigdefault - and posix_spawnattr_setsigdefault respectively. - * posix/spawn.h: Likewise. - * posix/spawnattr_getdefault.h: Likewise. - * posix/spawnattr_setdefault.h: Likewise. - * conform/data/spawn.h-data: Likewise. + * stdio-common/vfprintf.c (vfprintf): Initialize thousands_sep. + Define and initialize use_outdigits in the inner loops. -2000-05-01 Andreas Jaeger + * sysdeps/posix/sigwait.c: Don't look for signal 0 since it does + not exist. Patch by Miloslav Trmac (PR libc/1601). - * nscd/nscd.c: Include for setgroups prototype. + * sysdeps/i386/fpu/s_nearbyint.S: Disable raising exception, not + enable it. Patch by Miloslav Trmac (PR libc/1600). + * sysdeps/i386/fpu/s_nearbyintf.S: Likewise. + * sysdeps/i386/fpu/s_nearbyintl.S: Likewise. -2000-04-30 Ulrich Drepper +2000-02-14 Andreas Jaeger - * manual/sysinfo.texi: Document getdomainname, setdomainname - and sysctl. - * manual/string.texi: Fix typo. - * manual/terminal.texi: Document gtty and stty. - Patch by Bryan Henderson . + * elf/rtld.c (dl_main): Fix check for references to dynamic linker. -2000-04-30 Andreas Jaeger +2000-02-14 Ulrich Drepper - * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in - accordance with Austin Draft. + * manual/job.texi: Fix typos. + * manual/process.texi: Likewise. + * manual/signal.texi: Likewise. -2000-04-30 Ulrich Drepper + * sysdeps/powerpc/atomicity.h: Remove white space to avoid + compiler warning. - * catgets/gencat.c (read_input_file): Use isblank and not isspace - to recognize second character in comment line. +2000-02-14 Scott Bambrough - * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to - ENOBUFS if we are out of memory. + * sysdeps/unix/sysv/linux/arm/ioperm.c (_iopl, _ioperm): Add + Rebel-NetWinder to platform table so _ioperm platform lookup via + /proc/cpuinfo works on later version NetWinders. - * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make - available if __USE_XOPEN2K. - * sysdeps/mach/hurd/bits/fcntl.h: Likewise. - * sysdeps/unix/common/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise. +2000-02-13 Ulrich Drepper -2000-04-29 Ulrich Drepper + * locale/programs/charmap.c (charmap_read): Remove erronous free + call. - * iconv/iconv_prog.c (main): Handle input file name "-" correctly. - Recognize option -s, -c, and -l. + * sysdeps/i386/fpu/s_cosf.S: Domain of opcode is not large enough + so test for overflow and handle it. + * sysdeps/i386/fpu/s_sinf.S: Likewise. + * sysdeps/i386/fpu/s_tanf.S: Likewise. + Patch by Miloslav Trmac (PR libc/1563). -2000-04-20 Thorsten Kukuk + * iconvdata/Makefile (modules): Add UTF-16. + (distribute): Add utf-16.c. + * iconvdata/gconv-modules: Add entries for UTF-16, UTF-16BE, and + UTF-16LE. + * iconvdata/utf-16.c: New file. + * iconv/gconv_builtin.h: Remove UTF-16 entries here. + * iconv/gconv_simple.c: Remove conversion functions to and from UTF-16. + PR libc/1580 and libc/1581. - * nscd/nscd.c: Start new session for nscd, drop privilegs - to configured user if requested and no -S parameter are used. - * nscd/nscd.conf: Add new option "server-user". - * nscd/nscd_conf.c: Add support for new "server-user" option. - * nscd/nscd.h: Add declaration for server_user variable. - Based on patch by Chris Wing + * iconv/skeleton.c: Increment __invocation_counter after every call + to the loops. -2000-04-29 Mark Kettenis +2000-02-12 Andreas Jaeger - * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining - that changing the __restore and __restore_rt signal return code - will break GDB. + * sysdeps/unix/sysv/linux/i386/msgctl.c (__new_msgctl): Move errno + declaration to place where it's needed to avoid compiler warning. + * sysdeps/unix/sysv/linux/i386/semctl.c (__new_semctl): Likewise. -2000-04-29 Mark Kettenis +2000-02-12 Ulrich Drepper - * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include - . + * locale/weightwc.h (findidx): Correct find index value. -2000-04-29 Mark Kettenis + * locale/nl_langinfo.h: Add casts to prevent warnings. - * conform/data/ucontext.h-data: Allow ss_* instead of SS_*. + * wctype/iswctype_l.c: Use correct types for mapped data. + * wctype/wcfuncs.c: Add one more comment for clarification. + * wctype/wcfuncs_l.c: Use __ctype32_tolower and __ctype32_toupper. + * wctype/wctrans.c: Likewise. -2000-04-29 Ulrich Drepper +2000-02-12 Andreas Jaeger - * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h, - sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and - arpa/inet.h. - * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN, - SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO, - S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR, - S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH, - S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL, - POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED, - POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise, - posix_fallocate, and posix_madvise. - * conform/data/netdb.h-data: New file. - * conform/data/pthread.h-data: Add pthread_barrier_t, - pthread_barrierattr_t, pthread_barrier_destroy, - pthread_barrier_init, pthread_barrier_wait, - pthread_barrierattr_destroy, pthread_barrierattr_getpshared, - pthread_barrierattr_init, pthread_barrierattr_setpshared, - pthread_condattr_getclock, pthread_condattr_setclock, - pthread_getcpuclockid, pthread_mutex_timedlock, - pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock, - pthread_sigmask, pthread_spin_destroy, pthread_spin_init, - pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock. - * conform/data/sched.h-data: Add sched_ss_low_priority, - sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and - SCHED_SPORADIC. - * conform/data/semaphore.h-data: Add sem_timedwait. - * conform/data/signal.h-data: Add SIGIO. - * conform/data/spawn.h-data: New file. - * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv. - * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID, - CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep. - Fix typo in gmtime_r definition. - * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO, - _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK, - _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN, - _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME, - _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER, - _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS, - _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT, - _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK, - _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT, - _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK, - _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO, - _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO, - _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM, - _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, - _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS, - _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP, - _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS, - _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R, - _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE, - _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix - typo in off_t definition. - * conform/data/net/if.h-data: New file. - * conform/data/netinet/in.h-data: New file. - * conform/data/netinet/tcp.h-data: New file. - * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL, - POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED, - POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE, - POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE, - posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info, - and posix_typed_mem_open. - * conform/data/sys/socket.h-data: New file. - * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype. - * conform/data/sys/types.h-data: Add pthread_barrier_t, - pthread_barrierattr_t, and pthread_spinlock_t. - * conform/data/sys/un.h-data: New file. - * conform/data/sys/utsname.h-data: New file. + * sysdeps/mips/dl-machine.h (__start): Rewritten for 2.2 startup + conventions. + (elf_machine_rel): Use R_MIPS_REL32 for RESOLVE. + (elf_machine_runtime_setup,elf_machine_got_rel): Move at end of + file and make dependend on RESOLVE. + (ELF_MACHINE_RUNTIME_TRAMPOLINE): Fix arguments to _dl_lookup_symbol. + (RESOLVE_GOTSYM): Fix arguments to _dl_lookup_symbol. - * include/netdb.h (__gethostbyaddr_r): Fix types of first and second - parameter. - * inet/gethstbyad.c (gethostbyname): Likewise. - * inet/gethstbyad_t.c (gethostbyname_r): Likewise. - * inet/getipnodebyad.c (getipnodebyad): Likewise. - * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise. - * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r): +2000-02-11 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/shmctl.c: Fix handling of save_errno. + + * locale/langinfo.h: Make CRNCYSTR a separate entry instead of an + alias for CURRENCY_SYMBOL. + * locale/programs/ld-monetary.c: Add support to write out CRNCYSTR + information. [PR libc/1583]. + +2000-02-08 Shinya Hanataka + + * locale/weightwc.h: Fix problem with collating-element. + + * locale/programs/ld-collate.c (collate_finish): Output wide + character collating-symbol, which has no wide strings. + + * locale/programs/ld-collate.c (collate_output): Fix problem with + wide character collating-element. + +2000-02-09 Andreas Jaeger + + * time/strptime.c (strptime_internal): Fix pointer dereference. + Patch by Juergen Heinzl , closes PR + libc/1591. + +2000-02-08 Jakub Jelinek + + * sysdeps/unix/sysv/linux/alpha/msgctl.c: New file. + * sysdeps/unix/sysv/linux/alpha/semctl.c: New file. + * sysdeps/unix/sysv/linux/alpha/shmctl.c: New file. + * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl, semctl, + shmctl): Make them EXTRA as __old_* and as GLIBC_2.0 symbols. + * sysdeps/unix/sysv/linux/alpha/Makefile: Add oldmsgctl, oldsemctl + and oldshmctl to sysdep-routines. + +2000-02-08 Andreas Jaeger + + * locale/programs/locale.c (write_locales): Fix handling of + whitespace lines. + Fixes PR libc/1588, reported by Miroslav Holcak + . + +2000-02-07 Thorsten Kukuk + + * config.make.in: Add infodir. + * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Sync with kernel + header files. + +2000-02-11 Ulrich Drepper + + * posix/getopt.c: Suppress messages if first character of + optstring is a colon (PR libc/1584). + + * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Define ELF_* constants + and elf_* types to interpret values passed up from the kernel. + Patch by Franz Sirl . + + * locale/nl_langinfo.c: Correct return value in error case. Don't + set errno (PR libc/1582). + * manual/locale.texi: Update to reflect change. + +2000-02-02 Andreas Schwab + + * malloc/Makefile (distribute): Add memprof.h. + * malloc/memprof.c: Move definition of GETSP and GETTIME to new + header memprof.h. + * sysdeps/generic/memprof.h: New file. + * sysdeps/alpha/memprof.h: New file. + * sysdeps/i386/memprof.h: New file. + * sysdeps/m68k/memprof.h: New file. + * sysdeps/mips/memprof.h: New file. + * sysdeps/powerpc/memprof.h: New file. + * sysdeps/sparc/memprof.h: New file. + +2000-02-01 Jakub Jelinek + + * sysdeps/unix/sysv/linux/getresgid.c: Move... + * sysdeps/unix/sysv/linux/i386/getresgid.c: ...here. + (getresgid): Use getresgid32 if __libc_missing_32bit_uids + is -1 or 0. + * sysdeps/unix/sysv/linux/getresuid.c: Move... + * sysdeps/unix/sysv/linux/i386/getresuid.c: ...here. + (getresuid): Use getresuid32 if __libc_missing_32bit_uids + is -1 or 0. + * sysdeps/unix/sysv/linux/i386/getuid.c: Document new tristate + __libc_missing_32bit_uids. + (__getuid): Use 32bit uid syscall if __libc_missing_32bit_uids is + -1 or 0. + * sysdeps/unix/sysv/linux/i386/chown.c (__real_chown): Likewise. + * sysdeps/unix/sysv/linux/i386/fchown.c (__fchown): Likewise. + * sysdeps/unix/sysv/linux/i386/getegid.c (__getegid): Likewise. + * sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Likewise. + * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Likewise. + * sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Likewise. + * sysdeps/unix/sysv/linux/i386/lchown.c (__lchown): Likewise. + * sysdeps/unix/sysv/linux/i386/setfsgid.c (setfsgid): Likewise. + * sysdeps/unix/sysv/linux/i386/setfsuid.c (setfsuid): Likewise. + * sysdeps/unix/sysv/linux/i386/setgid.c (__setgid): Likewise. + * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise. + * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Likewise. + * sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Likewise. + * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Likewise. + * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Likewise. + * sysdeps/unix/sysv/linux/i386/setuid.c (__setuid): Likewise. + * sysdeps/unix/sysv/linux/m68k/chown.c (__chown): Likewise. + * sysdeps/unix/sysv/linux/arm/getresuid.c: New file. + * sysdeps/unix/sysv/linux/arm/getresgid.c: New file. + * sysdeps/unix/sysv/linux/arm/msgctl.c: New file. + * sysdeps/unix/sysv/linux/arm/semctl.c: New file. + * sysdeps/unix/sysv/linux/arm/shmctl.c: New file. + * sysdeps/unix/sysv/linux/i386/msgctl.c: New file. + * sysdeps/unix/sysv/linux/i386/semctl.c: New file. + * sysdeps/unix/sysv/linux/i386/shmctl.c: New file. + * sysdeps/unix/sysv/linux/m68k/getresgid.c: New file. + * sysdeps/unix/sysv/linux/m68k/getresuid.c: New file. + * sysdeps/unix/sysv/linux/m68k/msgctl.c: New file. + * sysdeps/unix/sysv/linux/m68k/semctl.c: New file. + * sysdeps/unix/sysv/linux/m68k/shmctl.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: New file. + * sysdeps/unix/sysv/linux/mips/syscalls.list (getresuid): + Make syscall directly, no stubs needed. + (getresgid): Likewise. + * sysdeps/unix/sysv/linux/powerpc/syscalls.list (getresuid): Likewise. - * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise. - * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise. - * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise. - * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise. - * resolv/gethnamaddr.c (gethostbyname): Likewise. - * resolv/netdb.h (struct hostent): Fix type of h_length member. - (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first - and second parameter. + (getresgid): Likewise. - * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s - == NULL. +2000-02-11 Ulrich Drepper -2000-04-29 Andreas Jaeger - - * conform/data/arpa/inet.h-data: New file. - -2000-04-28 Geoff Clare - - * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the - path passed to ftw() or nftw() is an empty string. - Closes PR libc/1710. - -2000-04-27 Ulrich Drepper - - * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5. - (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies. - * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5. - * localedata/tst-mbswcs4.c: New file. - * localedata/tst-mbswcs5.c: New file. - - * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s - == NULL. Little optimization. - - * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not - DT_PREINIT_ARRAYSZ). - Reported by Jes Sorensen . - - * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle - overflows in conversion from ASCII. - -2000-04-26 Jakub Jelinek - - * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs. - * Makerules (full_config_sysdirs): Likewise. - * MakeTAGS (full_config_sysdirs): Likewise. - -2000-04-26 Jakub Jelinek - - * .cvsignore: Remove linuxthreads. - * po/.cvsignore: Remove *.pot. - * posix/glob/.cvsignore: Removed. - * sysdeps/unix/bsd/osf/.cvsignore: Removed. - -2000-04-25 Andreas Jaeger - - * conform/Makefile (distribute): Also distribute contents of - subdirectories. - - * Makerules (no_deps): Remove abi-versions.h. - - * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype. - -2000-04-25 Jakub Jelinek - - * sysdeps/sparc/sparc64/elf/Dist: Remove. - * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove. - * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove. - * sysdeps/sparc/sparc64/elf/crtend.S: Remove. - * sysdeps/sparc/sparc64/elf/crtendS.S: Remove. - * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend - objects. - -2000-04-25 Thorsten Kukuk - - * nscd/grpcache.c: Fix gr_name pointer [PR/1702]. - -2000-04-23 Bruno Haible - - * intl/dcigettext.c: Define _GNU_SOURCE as early as possible. - * intl/l10nflist.c: Likewise. - -2000-04-23 Bruno Haible - - * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define, - __libc_rwlock_wrlock, __libc_rwlock_unlock as empty. - * intl/textdomain.c [!_LIBC]: Likewise. - * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized, - __libc_rwlock_rdlock, __libc_rwlock_unlock as empty. - * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid - syntax error. - -2000-04-23 Bruno Haible - - * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and - character set conversion also in the case the translation was found - after a hash collision or through binary search. Store the maximum - index together with the converted message. Use iconv() when available. - In case of out of memory during conversion, return the unconverted - translated string, not NULL. - -2000-04-25 Jes Sorensen - - * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1 - to avoid name clashes with the ia32 linker. - -2000-04-25 Jakub Jelinek - - * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args - handling. - -2000-04-27 Ulrich Drepper - - * manual/string.texi: Document strcasestr, strchrnul, strtoimax, - strtoumax, strfry, and memfrob. - * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max. - Patch by Bryan Henderson . - - * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal - if this function is available. - - * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for - all values. - -2000-04-27 Jakub Jelinek - - * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning. - -2000-04-27 Ulrich Drepper - - * localedata/Makefile (test-srcs); Add tst-mbswcs3. - Add rule to build tst-mbswcs3 before running tst-mbswcs.sh. - * localedata/tst-mbswcs.sh: Run tst-mbswcs3. - * localedata/tst-mbswcs3.c: New file. - -2000-04-26 Ulrich Drepper - - * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted - characters. Don't handle incomplete characters as errors. - * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors. - * localedata/Makefile (test-srcs): Add tst-mbswcs2. - Add rule to build tst-mbswcs2 before running tst-mbswcs.sh. - * localedata/tst-mbswcs.sh: Run tst-mbswcs2. - * localedata/tst-mbswcs2.c: New file. - - * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct - stored character in state in UNPACK_BYTES macro. - * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct - test for available characters, handle result of BODY code correctly. - * localedata/Makefile (test-srcs): Add tst-mbswcs1. - (distribute): Add tst-mbswcs.sh. - Add rule to run tst-mbswcs.sh. - * localedata/tst-mbswcs.sh: New file. - * localedata/tst-mbswcs1.c: New file. - -2000-04-26 Jakub Jelinek - - * nis/nis_callback.c (__nis_create_callback): Do failed memory - allocation fixups centrally, fix __builtin_expect call, return NULL - on failure, not NIS_NOMEMORY. - -2000-04-27 Bruno Haible - - * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT. - - * intl/loadinfo.h (internal_function): Define if not already defined. - -2000-04-27 Andreas Jaeger - - * intl/libintl.h: Fix typo, reported by Bruno Haible - . - -2000-04-25 Ulrich Drepper - - * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not - setting the state to GMON_PROF_BUSY. - -2000-04-24 Ulrich Drepper - - * elf/dl-profile.c (_dl_start_profile): define all variables which - do not have to be global as local variables. - - * nis/nis_callback.c (__nis_create_callback): Partially undo last - patch. Keep needed tests for failed memory allocation. - - * elf/dl-reloc.c (_dl_relocate_object): Add one more - __builtin_expect saying that we don't normally expect to profile. - - * sysdeps/i386/dl-machine.h (elf_machine_rel): Add - __builtin_expect where desirable. - -2000-04-23 Ulrich Drepper - - * manual/Makefile (chapters): Add syslog. - * manual/syslog.texi: New file. - * manual/math.texi: Fix references. - * manual/terminal.texi: Likewise. - Patch by Bryan Henderson . - -2000-04-18 Jakub Jelinek - - * posix/sys/wait.h: Define __WAIT_STATUS and the like either if - stdlib.h was not included or __USE_XOPEN not defined. - -2000-04-23 Ulrich Drepper - - * nss/Makefile (libnss_db-dbs): Remove stray backslash. - Patch by Zack Weinberg . - -2000-04-22 Ulrich Drepper - - * manual/examples/subopt.c (mount_opts): Add missing terminating - entry. - Reported by Michael Deutschmann . - - * assert/assert-perr.c: Include for abort prototype. - * libio/ftello.c: Likewise. - * libio/ftello64.c: Likewise. - * libio/ioftell.c: Likewise. - * sysdeps/generic/memrchr.c: Likewise. - * sysdeps/posix/libc_fatal.c: Likewise. - * sysdeps/unix/sysv/linux/init-first.c: Likewise. - * misc/fstab.c: Include for strcmp prototype. - * sysdeps/generic/ldsodefs.h: Likewise. - * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. - Patch by Kurt Roeckx . - - * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines. - Remove db-open. Change all uses. - (libnss_db-routines): Define as $(libnss_db-dbs) db-open. - -2000-04-21 Jakub Jelinek - - * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare. - * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare. - * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare. - * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28 - with .set noat/at to shut up warnings. - * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias. - * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow - compilation if __NR_pciconfig_iobase is not defined. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64): - Add alias. - -2000-04-21 Ulrich Drepper - - * manual/sysinfo.texi: Fix typo. - * manual/time.texi: Document timelocal, timegm, adjtimex, and stime. - Replace "high precision time" with "high accuracy clock". - Fix language. - Patches by Bryan Henderson . - - * nis/nis_findserv.c (__nis_findfastest): Improve memory handling. - * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca - instead of malloc. - * nis/nis_subr.c: Use __builtin_expect. - * nis/ypclnt.c: Likewise. - * nis/nis_getservlist.c: Likewise. - * nis/nis_creategroup.c: Likewise. - - * nis/nis_callback.c (__nis_create_callback): Check result of - memory allocation. Fix memory leaks. Use __builtin_expect. - (__nis_destroy_callback): Fix memory leaks. - -2000-04-21 Andreas Jaeger - - * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC. - * sysdeps/mips/mips64/add_n.S: Likewise. - * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise. - * sysdeps/mips/mips64/lshift.S: Likewise. - * sysdeps/mips/mips64/mul_1.S: Likewise. - * sysdeps/mips/mips64/rshift.S: Likewise. - * sysdeps/mips/mips64/setjmp.S: Likewise. - * sysdeps/mips/mips64/sub_n.S: Likewise. - * sysdeps/mips/mips64/submul_1.S: Likewise - * sysdeps/unix/mips/sysdep.S: Likewise. - - * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab - and update comment. The strtab from _dl_relocate_object can be - used. - -2000-04-21 Ulrich Drepper - - * iconv/iconv.c (iconv): Add __builtin_expect where useful. - * iconv/iconv_close.c (iconv_close): Likewise. - * iconv/iconv_open.c (iconv_open): Likewise. - - * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add - __builtin_expect where useful. - - * grp/initgroups.c (initgroups): Test for result of memory - allocation and punt if it fails. - - * dirent/scandir.c (scandir): Add __builtin_expect where useful. - * grp/fgetgrent.c (fgetfrent): Likewise. - * grp/fgetgrent_r.c (__fgetgrent_r): Likewise. - -2000-04-21 Jakub Jelinek - - * libio/vasprintf.c: Include string.h to get memcpy prototype. - -2000-04-20 Ulrich Drepper - - * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small - don't search for NUL byte to decrement counter. - Reported by Ulrich.Brink@sap.com. - - * iconv/gconv_simple.c: Define separate functions to convert from - UCS4/UCS4-LE to the internal encoding. - * iconv/gconv_builtin.h: Use separate functions to convert from - UCS4/UCS4-LE to the internal encoding. - * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and - __gconv_transform_ucs4le_internal. - - * iconv/gconv_simple.c (internal_utf8_loop): Correct check for - output buffer overflow. Reported by Ulrich.Brink@sap.com. - - * iconv/skeleton.c: Add some more __builtin_expect. - * iconv/loop.c: Likewise. - -2000-03-08 H.J. Lu - - * posix/regex.c (regex_compile): Correctly handle "\{" when - the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set. - -2000-04-20 Ulrich Drepper - - * manual/stdio.texi: Give advise about handling error when using - stream functions. - Patch by Michael Deutschmann . - -2000-04-19 Jakub Jelinek - - * locale/programs/ld-ctype.c (ctype_output): Set size of the idx - field to nelems * sizeof (uint32_t). - * locale/programs/ld-address.c (address_output): Align word fields - properly. - * locale/programs/ld-monetary.c (monetary_output): Likewise. - Don't restart idx pointers to idx end at the duo_int_curr_symbol - field. - Avoid giving arbitrary garbage in the crncystr field. - Use sizeof(uint32_t) instead of 4 for len in uno_valid_from, - uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate - fields. - * locale/programs/ld-numeric.c (numeric_output): Likewise. - Don't restart idx pointers to idx end at the decimal_point_wc field. - * locale/programs/ld-time.c (time_output): week_1stday should be - word, not byte. Align it properly. - -2000-04-19 H.J. Lu - - * csu/gmon-start.c (_start): Declared as "extern void". - (etext): Likewise. - -2000-04-18 Andreas Jaeger - - * manual/install.texi (Running make install): Don't mention utmpd - anymore. - -2000-04-18 Andreas Jaeger - - * linuxthreads/Versions: Use ld instead of ld.so. - - * elf/Makefile (ld-map): Use ld.map. - - * Versions.def: Use ld instead of ld.so. - * elf/Versions: Likewise. - * sysdeps/mach/hurd/Versions: Likewise. - -2000-04-20 Andreas Jaeger - - * elf/rtld.c (print_statistics): Move ifndef further up. - (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings. - (dl_main): Likewise. - -2000-04-18 Ulrich Drepper - - * gmon/gmon.c: Add weak alias moncontrol for __moncontrol. - * gmon/Versions: Move moncontrol to GLIBC_2.2. - - * po/cs.po: Update from translation team. - - * sysdeps/generic/updwtmp.c: Remove daemon support. - - * login/Makefile (routines): Remove utmp_daemon. - - * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument. - * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER. - * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE. - * sysdeps/unix/sysv/aix/geteuid.c: Likewise. - - * elf/rtld.c: Display statitics option also if hp timing is not - available. - - * login/programs/connection.c: Removed. - * login/programs/database.c Removed. - * login/programs/error.c: Removed. - * login/programs/request.c: Removed. - * login/programs/xtmp.c: Removed. - * login/programs/xtmp.h: Removed. - * login/Makefile: Remove rules for utmpd. - * login/README.utmpd: Removed. - * login/utmp_daemon.c: Removed. - * login/getutent_r.c: Remove references to daemon functions. - * login/utmp-private.h (__libc_utmp_daemon_functions): Remove - declaration. - -2000-04-18 Andreas Jaeger - - * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and - 2.2 for libnsl, libresolv, librt, libnss_*. - - * elf/rtld.c (process_dl_debug): Remove obsolete comment. - - * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation. - -2000-04-18 Ulrich Drepper - - * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include . - * sysdeps/unix/sysv/aix/getegid.c: Likewise. - * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64. - * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL. - * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS. - * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL. - * sysdeps/unix/sysv/aix/setregid.c: Likewise. - * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL. - * sysdeps/unix/sysv/aix/setgid.c: Likewise. - * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE. - * sysdeps/unix/sysv/aix/setegid.c: Likewise. - * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type. - * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define - it here. - * sysdeps/unix/sysv/aix/msync.c: New file. - * sysdeps/unix/sysv/aix/msgsnd.c: New file. - * sysdeps/unix/sysv/aix/net/if.h: New file. - * sysdeps/unix/sysv/aix/pipe.c: New file. - * sysdeps/unix/sysv/aix/poll.c: New file. - * sysdeps/unix/sysv/aix/rename.c: New file. - * sysdeps/unix/sysv/aix/rmdir.c: New file. - * sysdeps/unix/sysv/aix/select.c: New file. - * sysdeps/unix/sysv/aix/semctl.c: New file. - * sysdeps/unix/sysv/aix/semget.c: New file. - * sysdeps/unix/sysv/aix/semop.c: New file. - * sysdeps/unix/sysv/aix/sendto.c: New file. - * sysdeps/unix/sysv/aix/setgroups.c: New file. - * sysdeps/unix/sysv/aix/setpgid.c: New file. - * sysdeps/unix/sysv/aix/setpgrp.c: New file. - * sysdeps/unix/sysv/aix/setpriority.c: New file. - * sysdeps/unix/sysv/aix/setrlimit.c: New file. - * sysdeps/unix/sysv/aix/setrlimit64.c: New file. - * sysdeps/unix/sysv/aix/setsid.c: New file. - * sysdeps/unix/sysv/aix/setsockopt.c: New file. - * sysdeps/unix/sysv/aix/shmat.c: New file. - * sysdeps/unix/sysv/aix/shmctl.c: New file. - * sysdeps/unix/sysv/aix/shmdt.c: New file. - * sysdeps/unix/sysv/aix/shmget.c: New file. - * sysdeps/unix/sysv/aix/sigaltstack.c: New file. - * sysdeps/unix/sysv/aix/sigstack.c: New file. - * sysdeps/unix/sysv/aix/socket.c: New file. - * sysdeps/unix/sysv/aix/socketpair.c: New file. - * sysdeps/unix/sysv/aix/speed.c: New file. - * sysdeps/unix/sysv/aix/symlink.c: New file. - * sysdeps/unix/sysv/aix/sync.c: New file. - * sysdeps/unix/sysv/aix/tcgetattr.c: New file. - * sysdeps/unix/sysv/aix/tcsetattr.c: New file. - * sysdeps/unix/sysv/aix/times.c: New file. - * sysdeps/unix/sysv/aix/ulimit.c: New file. - * sysdeps/unix/sysv/aix/umask.c: New file. - * sysdeps/unix/sysv/aix/unlink.c: New file. - * sysdeps/unix/sysv/aix/ustat.c: New file. - * sysdeps/unix/sysv/aix/utimes.c: New file. - -2000-04-18 Andreas Jaeger - - * manual/startup.texi (Environment Access): Fix putenv prototype - according to recent changes. - Reported by Andries Brouwer , closes - PR libc/1692. - - * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where - needed. - -2000-04-18 Ulrich Drepper - - * posix/Makefile (tests): Add tst-getaddrinfo. - * posix/tst-getaddrinfo.c: New file. - -2000-04-17 Ulrich Drepper - - * manual/sysinfo.texi: Document that umount2 is not widely available. - - * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to - signal timing is not really implemented. - -2000-04-17 Andreas Jaeger - - * elf/rtld.c (process_dl_debug): Mention statistics in help message. - -2000-04-17 Jakub Jelinek - - * Makefile (install): Use slibdir and libdir instead of inst_slibdir - and inst_libdir. - -2000-04-17 Ulrich Drepper - - * manual/intro.texi: Change reference from System Information to - System Management. - * manual/users.texi: Likewise. - * manual/conf.texi: Likewise. - * manual/sysinfo.texi: Document mount, umount, and umount2. - Patch by Bryan Henderson . - -2000-04-17 Jakub Jelinek - - * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE): - Create wnumstr as well as numstr to support wide character output - correctly. - -2000-04-15 Jakub Jelinek - - * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS - modification and move it... - * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here. - Add -melf64_sparc switch to $(LD) on sparc64-linux. - * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc - switch to $(LD) on sparc-linux. - -2000-04-17 Thorsten Kukuk - - * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid - and setresuid from sysdep_routines. - -2000-04-17 Ulrich Drepper - - * manual/Makefile (chapters): Add resource. - - * manual/time.texi: Move section on resources to... - * manual/resource.texi: ...here. New file. Document ulimit, vlimit, - and vtimes. - * manual/setjmp.texi: Adjust back reference. - Patch by Bryan Henderson . - - * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64 - definition. - * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition. - * sysdeps/unix/sysv/aix/kill.c: Add copyright. - * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL. - * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL. - * sysdeps/unix/sysv/aix/execve.c: Add copyright. - * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright. - * sysdeps/unix/sysv/aix/close.c: Add copyright. - * sysdeps/unix/sysv/aix/brk.c: Add copyright. - * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT. - * sysdeps/unix/sysv/aix/access.c: Add copyright. - * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions. - * sysdeps/unix/sysv/aix/Implies: New file. - * sysdeps/unix/sysv/aix/Versions: New file. - * sysdeps/unix/sysv/aix/bind.c: New file. - * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file. - * sysdeps/unix/sysv/aix/bits/ioctls.h: New file. - * sysdeps/unix/sysv/aix/bits/poll.h: New file. - * sysdeps/unix/sysv/aix/bits/termios.h: New file. - * sysdeps/unix/sysv/aix/chdir.c: New file. - * sysdeps/unix/sysv/aix/chmod.c: New file. - * sysdeps/unix/sysv/aix/chroot.c: New file. - * sysdeps/unix/sysv/aix/creat.c: New file. - * sysdeps/unix/sysv/aix/dl-close.c: New file. - * sysdeps/unix/sysv/aix/dl-open.c: New file. - * sysdeps/unix/sysv/aix/dl-sym.c: New file. - * sysdeps/unix/sysv/aix/fchdir.c: New file. - * sysdeps/unix/sysv/aix/fchmod.c: New file. - * sysdeps/unix/sysv/aix/getgroups.c: New file. - * sysdeps/unix/sysv/aix/gethostname.c: New file. - * sysdeps/unix/sysv/aix/getpriority.c: New file. - * sysdeps/unix/sysv/aix/getrlimit.c: New file. - * sysdeps/unix/sysv/aix/getrlimit64.c: New file. - * sysdeps/unix/sysv/aix/getrusage.c: New file. - * sysdeps/unix/sysv/aix/link.c: New file. - * sysdeps/unix/sysv/aix/madvise.c: New file. - * sysdeps/unix/sysv/aix/mkdir.c: New file. - * sysdeps/unix/sysv/aix/mknod.c: New file. - * sysdeps/unix/sysv/aix/mprotect.c: New file. - * sysdeps/unix/sysv/aix/msgctl.c: New file. - * sysdeps/unix/sysv/aix/msgget.c: New file. - * sysdeps/unix/sysv/aix/msgrcv.c: New file. - -2000-04-17 Andreas Jaeger - - * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit - as suggested by Ulrich Drepper. - (__dl_runtime_resolve): Remove unused variable, initialize sym - directly. - (RTLD_START): Document OFFSET_GP_GOT. - (OFFSET_GP_GOT): New magic value. - (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT. - (elf_machine_got_rel): Only declare strtab if needed. - (elf_machine_relplt): Removed, it's not needed. - (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc. - - * sysdeps/mips/add_n.S: Add newline at EOF. - * sysdeps/mips/rshift.S: Likewise. - * sysdeps/mips/mul_1.S: Likewise. - * sysdeps/mips/lshift.S: Likewise. - * sysdeps/mips/addmul_1.S: Likewise. - -2000-04-17 Ulrich Drepper - - * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing. - - * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect. - * elf/dl-lookup.c: Likewise. - * elf/dl-init.c (_dl_init): Likewise. - * elf/dl-fini.c (_dl_fini): Likewise. - * elf/dl-deps.c (_dl_map_object_deps): Likewise. - * elf/dl-close.c (_dl_close): Likewise. - * elf/rtld.c (_dl_start_final): Likewise. - - * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use. - -2000-04-15 Ulrich Drepper - - * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and - only fall back on using Linux. - - * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode. - Before testing versions check that we actually loaded the object - and whether we are in trace mode. If not loaded during tracing don't - test versions in this object. - (_dl_check_all_versions): Take new parameter and pass to - _dl_check_map_versions. - * sysdeps/generic/ldsodefs.h: Update prototypes for - _dl_check_all_versions and _dl_check_map_versions. - * elf/rtld.c (struct version_check_args): Add dotrace. - (version_check_doit): Pass args->dotrace to _dl_check_all_versions. - (dl_main): Pass info about trace mode to version_check_doit. - * elf/dl-open.c (dl_open_worker): Pass zero as new argument to - _dl_check_all_versions. - - * manual/users.texi (XPG Functions): Document utmpxname, getutmp, - and getutmpx. - Patch by Bryan Henderson . - - * manual/argp.texi: Document index parameter of argp_parse. - Fix typo. - Reported by Andrew Schulman . - -2000-04-14 Andreas Jaeger - - * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for - SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC. - - * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added. - -2000-04-15 Ulrich Drepper - - * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in - compat_symbol call for old adjtime. - - * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init - function interface. Patch by Richard Henderson . - - * posix/Makefile (headers): Add spawn.h. - (distribute): Add spawn_int.h. - (routines): Add spawn_faction_init, spawn_faction_destroy, - spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2, - spawnattr_init, spawnattr_destroy, spawnattr_getdefault, - spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags, - spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni. - * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init, - posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose, - posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2, - posix_spawnattr_init, posix_spawnattr_destroy, - posix_spawnattr_getdefault, posix_spawnattr_setdefault, - posix_spawnattr_getflags, posix_spawnattr_setflags, - posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn, - and posix_spawnp. - * posix/spawn.c: New file. - * posix/spawn.h: New file. - * posix/spawn_faction_addclose.c: New file. - * posix/spawn_faction_adddup2.c: New file. - * posix/spawn_faction_addopen.c: New file. - * posix/spawn_faction_destroy.c: New file. - * posix/spawn_faction_init.c: New file. - * posix/spawn_int.h: New file. - * posix/spawnattr_destroy.c: New file. - * posix/spawnattr_getdefault.c: New file. - * posix/spawnattr_getflags.c: New file. - * posix/spawnattr_getpgroup.c: New file. - * posix/spawnattr_getschedparam.c: New file. - * posix/spawnattr_getschedpolicy.c: New file. - * posix/spawnattr_getsigmask.c: New file. - * posix/spawnattr_init.c: New file. - * posix/spawnattr_setdefault.c: New file. - * posix/spawnattr_setflags.c: New file. - * posix/spawnattr_setpgroup.c: New file. - * posix/spawnattr_setschedparam.c: New file. - * posix/spawnattr_setschedpolicy.c: New file. - * posix/spawnattr_setsigmask.c: New file. - * posix/spawni.c: New file. - * posix/spawnp.c: New file. - - * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN. - * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise. - -2000-04-14 Ulrich Drepper - - * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign. - * malloc/malloc.c: Implement posix_memalign for glibc. - * include/stdlib.h: Add prototype for __posix_memalign. - * stdlib/stdlib.h: Add prototype for posix_memalign. - -2000-04-14 Andreas Jaeger - - * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize - symidx correctly. - (elf_machine_got_rel): Cast sym correctly. - - * sysdeps/mips/add_n.S: Use __PIC__, add end directive. - * sysdeps/mips/addmul_1.S: Likewise. - * sysdeps/mips/lshift.S: Likewise. - * sysdeps/mips/mul_1.S: Likewise. - * sysdeps/mips/rshift.S: Likewise. - * sysdeps/mips/sub_n.S: Likewise. - * sysdeps/mips/submul_1.S: Likewise. - - * stdlib/stdlib.h: Fix typo in comment. - - * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and - 2.2 for libdl, ld and libm. - - * sysdeps/generic/madvise.c: Fix typos. - - * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__. - - * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility. - - * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc - warnings. - -2000-04-14 Ulrich Drepper - - * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64. - * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64. - Make old name weak alias. - * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise. - * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64. - Make old name weak alias. - * sysdeps/unix/sysv/linux/statfs64.c: Likewise. - - * io/Makefile (routines): Add posix_fadvise, posix_fadvise64, - posix_fallocate, and posix_fallocate64. - * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64, - posix_fallocate, and posix_fallocate64. - * io/fcntl.h: Declare posix_fadvise, posix_fadvise64, - posix_fallocate, and posix_fallocate64. - * sysdeps/generic/fadvise.c: New file. - * sysdeps/generic/fadvise64.c: New file. - * sysdeps/generic/fallocate.c: New file. - * sysdeps/generic/fallocate64.c: New file. - * sysdeps/posix/fallocate.c: New file. - * sysdeps/posix/fallocate64.c: New file. - * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL, - POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED, - POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE. - * sysdeps/mach/hurd/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. - - * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise. - * sysdeps/unix/sysv/linux/syscalls.list: Likewise. - -2000-04-13 Ulrich Drepper - - * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice. - * misc/sys/mman.h (posix_madvise): Add prototype. - * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make - old name and posix_madvise weak aliases. - * sysdeps/unix/sysv/linux/syscalls.list: Likewise. - * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants. - * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise. - -2000-04-13 Andreas Jaeger - - * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol - versioning. - (elf_machine_got_rel): Only add runtime display if needed. - (elf_machine_got_rel): Handle symbol versioning. - -2000-04-13 Andreas Jaeger - - * sysdeps/unix/sysv/linux/mips/clone.S: Fix function. - - * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is - default. - - * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems - with some applications. - Patches by Ralf Baechle . - - * sysdeps/mips/bsd-setjmp.S: Use __PIC__. - * sysdeps/mips/bsd-_setjmp.S: Likewise. - * sysdeps/mips/setjmp.S: Likewise. - - * sysdeps/unix/sysv/linux/mips/pipe.S: New file. - -2000-04-13 Ulrich Drepper - - * posix/globtest.sh: Work around inconsistency with expanding ~/ - in shell (PR libc/1690). Reported by patsmith@pobox.com. - -2000-04-12 Ulrich Drepper - - * posix/getconf.c: Add support for many more POSIX options. - * sysdeps/posix/sysconf.c: Likewise. - * sysdeps/generic/bits/confname.h: Add many more POSIX options. - * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and - _POSIX_SHELL. - * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to - CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and - CLOCK_THREAD_CPUTIME_ID. - * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to - CLOCK_PROCESS_CPUTIME_ID. - * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of - __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle - CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same. - * sysdeps/unix/i386/i586/clock_gettime.c: Likewise. - - * malloc/Makefile (tests): Add tst-calloc. - * malloc/tst-calloc.c: New file. - - * sysdeps/arm/libm-test-ulps: New file. - - * malloc/malloc.c: Undo all of today's changes. - - * locale/programs/locale.c (show_info): Don't try to look into - data for LC_ALL (there is none). - - * malloc/malloc.c (cALLOc): Clear only what the user asked for and - avoid writing over boundary. - Patch by Greg McGary . - - * sysdeps/arm/memprof.h: New file. - -2000-04-12 Andreas Jaeger - - * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo. - - * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include - for memmem declaration. - -2000-04-12 Ulrich Drepper - - * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval - to -1. - * sysdeps/posix/clock_getres.c (clock_getres): Likewise. - - * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the - mode is invalid. - * libio/oldiopopen.c (_IO_old_proc_open): Likewise. - Patch by Bart Veer . - - * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init - function interface. - -2000-04-11 Andreas Jaeger - - * sysdeps/mips/dl-machine.h: Update some comments. - (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed. - -2000-04-11 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add - _POSIX_SHARED_MEMORY_OBJECTS. - - * rt/Makefile (tests): Add tst-shm. - Add rules to generate tst-shm. - * rt/tst-shm.c: New file. - - * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC - for descriptor. - - * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink. - * rt/Makefile (librt-routines): Add shm_open and shm_unlink. - * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink. - * sysdeps/generic/shm_open.c: New file. - * sysdeps/generic/shm_unlink.c: New file. - * sysdeps/unix/sysv/linux/shm_open.c: New file. - * sysdeps/unix/sysv/linux/shm_unlink.c: New file. - * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export - __endmntent, __getmntent_r, __setmntent, and __statfs. - - * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory - fragmentation by allocating new memory at the end instead of - reallocating. - - * posix/globtest.sh: Fix last change. - -2000-04-10 Philip Blundell - - * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP, - IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP, - IPV6_DROP_MEMBERSHIP. - * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP): - Likewise. - -2000-04-11 Ulrich Drepper - - * elf/readlib (process_file): Close streams in case of an error. - -2000-04-09 Andreas Jaeger - - * elf/readlib.c (process_file): Check if file is big enough to - contain aout and ELF headers. - Reported by Reinhard Moosauer . - -2000-04-10 Jes Sorensen - - * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca(). - -2000-04-11 Ulrich Drepper - - * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout - stream unbuffered. - * rt/Makefile (tests): Add tst-clock. - Add rules to build tst-clock. - * rt/tst-clock.c: New file. - * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide - about initialization of nsec. - * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide - about initialization of freq. Set retval to zero if successful. - * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result. - -2000-04-10 Ulrich Drepper - - * Versions.def (librt): Add GLIBC_2.2. - * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid, - clock_getres, clock_gettime, clock_settime, timer_create, timer_delete, - timer_getoverr, timer_gettime, and timer_settime. - * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime, - clock_settime, timer_create, timer_delete, timer_getoverrun, - timer_gettime, and timer_settime. - * sysdeps/generic/clock_getcpuclockid.c: New file. - * sysdeps/generic/get_clockfreq.c: New file. - * sysdeps/unix/i386/clock_getcpuclockid.c: New file. - * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file. - * sysdeps/mach/hurd/i386/bits/time.h: New file. - * sysdeps/unix/i386/i586/clock_getres.c: New file. - * sysdeps/unix/i386/i586/clock_gettime.c: New file. - * sysdeps/unix/i386/i686/Implies: New file. - * sysdpes/unix/sysv/linux/i386/bits/time.h: New file. - * time/Makefile (routines): Move clock_getres, clock_gettime, - clock_settime, timer_create, timer_delete, timer_getoverr, - timer_gettime, and timer_settime to rt/Makefile. - * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime, - clock_settime, timer_create, timer_delete, timer_getoverrun, - timer_gettime, and timer_settime. - * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid. - - * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__ - and not const as attribute name. - -2000-04-10 Thorsten Kukuk - - * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644. - -2000-04-10 Andreas Schwab - - * posix/globtest.sh: Skip tests that depend on unreadable - directories if run as root. - -2000-04-10 Ulrich Drepper - - * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value - for correct range. From code by Kaz Kylheku . - -2000-04-09 Ulrich Drepper - - * sysdeps/unix/clock_gettime.c: New file. - * sysdeps/unix/clock_settime.c: New file. - * sysdeps/posix/clock_getres.c: New file. - - * conform/data/ftw.h-data: Add allow-header sys/stat.h. - - * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial - lseek call be passing in a buffer which never allow a successful - first getdents syscall if not at leas the initial entry can be - stored in the user buffer. - - * localedata/Makefile: Add rules to clean up directories created by - new strfmon tests. - -2000-04-09 Geoff Clare - - * localedata/tst-fmon.data: Added new tests for strfmon() - using test locales with all combinations of cs_precedes, - sign_posn and sep_by_space. - * localedata/tst-fmon.sh: Updated to support the new tests. - * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing - the localedef source for the new strfmon() test locale. - * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise. - * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise. - * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise. - * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise. - * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise. - * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise. - * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise. - * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise. - * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise. - * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise. - * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise. - * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise. - * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise. - * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise. - - * stdlib/strfmon.c: Correct problems with missing or extra - spaces for unusual combinations of sign_posn and sep_by_space. - Improved left-precision alignment code. - -2000-04-07 Andreas Jaeger - - * posix/Makefile (CFLAGS-regex.c): Remove DEBUG. - -2000-04-10 Andreas Jaeger - - * intl/Makefile: Don't run do-gettext-test when cross-compiling. - -2000-04-09 Ulrich Drepper - - Implement handling of restartable conversion functions according to - ISO C. - * iconv/gconv.h (__gconv_fct): Add additional parameter. - * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise. - * iconv/gconv.c: Pass additional parameter to conversion function. - * iconv/gconv_simple.c (internal_ucs4_loop_single): New function. - (internal_ucs4le_loop_single): New function. - (__gconv_transform_ascii_internal): Define ONE_DIRECTION. - (__gconv_transform_internal_ascii): Likewise. - (__gconv_transform_internal_utf8): Likewise. - (__gconv_transform_utf8_internal): Likewise. - (__gconv_transform_ucs2_internal): Likewise. - (__gconv_transform_internal_ucs2): Likewise. - (__gconv_transform_ucs2reverse_internal): Likewise. - (__gconv_transform_internal_ucs2reverse): Likewise. - (internal_ucs4le_loop_unaligned): Before return - __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form - a valid character. Otherwise return __GCONV_ILLEGAL_INPUT. - (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES. - * iconv/loop.c: Fit in definition of function to convert one character - for processing of left-over bytes from the state object. - * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to - inend to match names in loop functions. - (RESET_INPUT_BUFFER): Change apprpriately. - (gconv): If needed, call function to process bytes from the state - object. Similar at the end: store left over bytes if input is - incomplete. - Take extra argument and add new argument to all calls of the - conversion function. - * iconvdata/iso-2022-cn.c: Adjust numeric values used to store - information in the state object to not conflict with length count. - * iconvdata/iso-2022-jp.c: Likewise. - * iconvdata/iso-2022-kr.c: Likewise. - * iconvdata/unicode.c: Adjust for change change in parameters of - skeleton function. - * iconvdata/utf-16.c: Likewise. - * libio/iofwide.c: Add new parameter to all calls of conversion - function. - * wcsmbs/btowc.c: Likewise. - * wcsmbs/mbrtowc.c: Likewise. - * wcsmbs/mbsnrtowcs.c: Likewise. - * wcsmbs/mbsrtowcs.c: Likewise. - * wcsmbs/wcrtomb.c: Likewise. - * wcsmbs/wcsnrtombs.c: Likewise. - * wcsmbs/wcsrtombs.c: Likewise. - * wcsmbs/wctob.c: Likewise. - - * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and - MAX_NEEDED_INPUT. - -2000-04-07 Andreas Jaeger - - * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for - newer kernels. - -2000-04-07 Ulrich Drepper - - * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value - element a union to allow byte access. - * iconvdata/iso-2022-cn.c: Adjust for change of element name in - mbstate_t. - * iconvdata/iso-2022-jp.c: Likewise. - * iconvdata/iso-2022-kr.c: Likewise. - * wcsmbs/mbsinit.c: Likewise. - * stdlib/mblen.c: Likewise. - * stdio-common/printf-parse.h: Likewise. - -2000-04-06 Ulrich Drepper - - * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux - kernel does not allow relative seeks on descriptors associated - with directories. Go back to get the position in the directory - every time we enter the function. Return -1 and set errno if one - entry could be read from the kernel but does not fit into the - buffer passed in by the user. - - * locale/programs/charmap.c (charmap_new_char): Add parameter step. - Support ..(2).. ellipsis. - (parse_charmap): Recognize ..(2).. etc and pass step down. - Correctly generate names for UCS4 characters. - - * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step. - (ctype_finish): We know the wide character value for , - don't search. - (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis. - (charclass_ucs4_ellipsis): Likewise. - (read_translit_ignore_entry): Store ellipsis step. - (ctype_read): Recognize ..(2).. etc and pass step down. - - * locale/programs/linereader.c (lr_token): When seeing comment - character ignore only rest of line in sources but stop at escaped - newline. - Recognize ..(2).. and ....(2)..... - - * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2 - and tok_ellipsis4_2. - -2000-04-06 Andreas Jaeger - - * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been - removed, remove it here also. - * sysdeps/unix/sysv/linux/arm/Dist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise. - -2000-04-06 Jakub Jelinek - - * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't - include bits/sigcontext.h. - * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise. - -2000-04-06 Ulrich Drepper - - * locale/programs/ld-collate.c (collate_read): Handle ellipsis in - collation symbol definition. Value in quivalence definition must - be defined, don't check that it is not. - - * locale/programs/charmap.c (parse_charmap): Recognize - values as character names. - - * locale/programs/ld-ctype.c (get_character): Handle missing - repertoire map correctly. - -2000-04-05 Cristian Gafton - - * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__ - because it is used in generic code. - * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower. - * wcsmbs/wcwidth.h: Declare __ctype32_b. - * intl/gettext.c: Include . - * intl/ngettext.c: Likewise. - -2000-04-05 Jakub Jelinek - - * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use - socklen_t type for size. - * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new - init function interface. - * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include - sys/ucontext.h. - (__jmp_buf): Declare the whole type structure here, don't use - ucontext. - -2000-04-05 Ulrich Drepper - - * iconv/skeleton.c (put16u): Fix typo. + * iconvdata/gconv-modules: Add aliases CN-GB and CN-BIG5. Reported by Bruno Haible . - * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore. - * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise. - * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise. + * stdio-common/printf-parse.h (parse_one_spec): Set wide elements. - * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid. - * Makefile (distribute): Add abi-versions.awk and - firstversions.awk. - Patches by Torsten Duwe . + * stdio-common/printf_fp.c: Truely support wide characater output. + Finally handle decimal points and thousands separator characters + correctly for multibyte output. + * stdio-common/printf_size.c: Likewise. + * sysdeps/generic/printf_fphex.c: Likewise. + * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise. -2000-04-05 Andreas Schwab + * stdio-common/vfscanf.c: Implement I modifier for numbers to read + locale dependent digits. - * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o. + * locale/C-monetary.c (_nl_C_LC_MONETARY): Change wide character + decimal point and thousands separator values to wide characters from + wide character strings. + * locale/C-numeric.c (_nl_C_LC_NUMERIC): Likewise. -2000-04-05 Andreas Schwab + * locale/indigitswc.h: Dereference wcdigits array elements. - * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user - entry point, used on Hurd. +2000-02-03 Jakub Jelinek -2000-04-04 Andreas Jaeger + * stdlib/canonicalize.c (canonicalize): Zero terminate + path to copy on error. - * intl/Makefile: Only run the gettext test with shared libraries. +2000-02-01 Cristian Gafton -2000-03-16 Mark Kettenis + * misc/syslog.c (closelog): Reset LogType to SOCK_DGRAM. - * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t): - Typedef for elf_fpregset_t instead of `elf_fpregset_t *'. +2000-01-31 Philip Blundell -2000-04-05 Roland McGrath + * sysdeps/arm/fpu/fpu_control.h (_FPU_DEFAULT): Set the AC bit. - * Makeconfig: Undo last change. - * configure.in: If --disable-shared was given, don't set VERSIONING, - don't define DO_VERSIONING, and don't give scare warning for no - versioning. - * configure: Regenerated. +2000-01-31 Andreas Jaeger -2000-04-04 Roland McGrath + * intl/Makefile (generated): msgs.h is generated. - * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'. + * localedata/Makefile (generated-dirs): Add de_DE.437. -2000-04-04 Andreas Jaeger +2000-01-31 Jakub Jelinek - * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros. + * config.make.in: Allow default localedir to come from configure. + * configure.in: Export libc_cv_localedir. + * sysdeps/unix/sysv/linux/configure.in: For sparc64, put locale + stuff into $exec_prefix/lib/locale because it can be shared between + 32bit and 64bit libraries. + * configure: Rebuilt. + * sysdeps/unix/sysv/linux/configure: Rebuilt. -2000-04-04 Ulrich Drepper +2000-01-31 Andreas Jaeger - * elf/dl-runtime.c (fixup): Correct handling of symbols marked - STV_HIDDEN and STV_INTERNAL during lookup. - (profile_fixup): Likewise. - * elf/dl-reloc.c (RESOLVE): Likewise. + * inet/tst-network.c: New file. + * inet/Makefile (tests): Add tst-network. - * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of - unaligned so that it compiles for system which need unaligned - access handling. + * inet/inet_net.c (inet_network): Don't overwrite memory or allow + to great last digits. -2000-04-04 Andreas Schwab +2000-02-10 Andreas Jaeger - * elf/cache.c (print_entry): Only look at the type field when - printing the type. + * sysdeps/unix/sysv/linux/mips/clone.S: Rewritten. + Based on a patch by Hiroyuki Machida . -2000-04-04 Andreas Schwab +2000-02-09 Andreas Jaeger - * iconvdata/big5.c (BODY): Fix typo. + * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Add new syscalls. -2000-04-04 Andreas Schwab + * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing syscalls. - * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init - function interface. Remove unused _dl_start_user entry point. +2000-02-08 Andreas Jaeger -2000-04-03 Andreas Jaeger + * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Fix typo. - * include/arpa/inet.h (__inet_aton): Add protoype. + * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): + Make it compile. -2000-04-01 Andreas Jaeger + * sysdeps/unix/sysv/linux/mips/bits/termios.h: Remove members + c_ispeed and c_ospeed which are not implemented. - * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC. + * sysdeps/unix/sysv/linux/mips/pwrite64.c: Define __libc_* variant + for cancelation wrapper; use __ASSUME_PWRITE_SYSCALL macro. + * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pread.c: Likewise. - * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC. - * sysdeps/mach/mips/thread_state.h: Likewise. +2000-02-05 Andreas Jaeger - * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros. + * sysdeps/unix/sysv/linux/mips/bits/mman.h (MS_SYNC): 0 will not + work - set to 4 in accordance with changes made in the Linux/MIPS + kernel. Using MS_SYNC on older kernels with MS_SYNC == 0 doesn't + actually work. + +2000-02-04 Andreas Jaeger + + * sysdeps/unix/sysv/linux/mips/bits/mman.h: Use correct values for + the defines. + +2000-02-03 Andreas Jaeger + + * sysdeps/mips/abort-instr.h: New file. + + * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: New file. + + * sysdeps/unix/sysv/linux/mips/register-dump.h: New file. + + * sysdeps/mips/stackinfo.h: New file. + +2000-02-01 Andreas Jaeger + + * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove duplicates. + + * sysdeps/unix/sysv/linux/mips/lxstat.c: Removed, we can use the + generic function. + * sysdeps/unix/sysv/linux/mips/fxstat.c: Likewise. + + * sysdeps/unix/sysv/linux/mips/init-first.h: New file, from Ralf + Baechle . + + * sysdeps/unix/sysv/linux/mips/brk.c: New file. + + * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Add missing ints. + + * sysdeps/mips/elf/start.S: Rewritten for __libc_start_main. + +2000-01-31 Andreas Jaeger + + * inet/inet_net.c (inet_network): Synch with bind 8.2.2. Fixes PR + libc/1567. + +2000-01-30 Ulrich Drepper + + * sysdeps/alpha/fpu/feholdexcpt.c: Correct return value according to + the standard. + * sysdeps/alpha/fpu/fesetround.c: Likewise. + * sysdeps/arm/fpu/feholdexcpt.c: Likewise. + * sysdeps/arm/fpu/fesetround.c: Likewise. + * sysdeps/generic/feholdexcpt.c: Likewise. + * sysdeps/generic/fesetround.c: Likewise. + * sysdeps/i386/fpu/feholdexcpt.c: Likewise. + * sysdeps/i386/fpu/fesetround.c: Likewise. + * sysdeps/m68k/fpu/feholdexcpt.c: Likewise. + * sysdeps/m68k/fpu/fesetround.c: Likewise. + * sysdeps/mips/fpu/fesetround.c: Likewise. + * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise. + * sysdeps/powerpc/fpu/fesetround.c: Likewise. + * sysdeps/sparc/fpu/feholdexcpt.c: Likewise. + * sysdeps/sparc/fpu/fesetround.c: Likewise. + Patch by Miloslav Trmac . + + * locale/programs/ld-collate.c (struct locale_collate_t): Change + type of plane_size and plane_cnt to uint32_t. + Reported by Jakub Jelinek. + +2000-01-29 Jakub Jelinek + + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h + (SYSCALL_ERROR_HANDLER): Optimize. + (__SYSCALL_STRING, __SYSCALL_CLOBBERS): Define. + Include linux/sparc/sysdep.h. + Use a different guard define than linux/sparc/sysdep.h. + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Remove + stubs for inlined syscalls. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h + (SYSCALL_ERROR_HANDLER): Optimize. + (__SYSCALL_STRING, __SYSCALL_CLOBBERS): Define. + Include linux/sparc/sysdep.h. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove + stubs for inlined syscalls. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction): + Use INLINE_SYSCALL. + * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Remove. + * sysdeps/unix/sysv/linux/sparc/sysdep.h: New file. + +2000-01-29 Ulrich Drepper + + * locale/loadlocale.c (_nl_load_locale): Optimize a bit. Pretty + print. Add checks for _POSIX_MMAPPED_FILES where necessary. + (_nl_unload_locale): If locale data was mmapped use munmap. + +2000-01-29 Andreas Jaeger + + * sysdeps/unix/sysv/linux/i386/sys/io.h: Add missing ints, use + _EXTERN_INLINE, compile inline assembler functions only with gcc. + +2000-01-29 Ulrich Drepper + + * catgets/catgets.c (catopen): Handle NL_CAT_LOCALE correctly. + * catgets/gencat.c (read_input_file): Remove messages correctly. + * catgets/open_catalog.c (__open_catalog): Handle trailing colons and + adjacent colons correctly. Correct loops to read territory and + and codeset part. + Patches by Geoff Clare (PR libc/1559). + + * rt/aio_misc.c (get_elem): Assign pointer to new row to correct + pool entry. + Patch by Jens Moeller (PR libc/1558). + +2000-01-28 Jakub Jelinek + + * sysdeps/unix/sysv/linux/arm/Versions: Export the new *rlimit + interface with symbol version GLIBC_2.2. + * sysdeps/unix/sysv/linux/i386/Versions: Likewise. + * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise. + +2000-01-27 Scott Bambrough + + * sysdeps/unix/sysv/linux/arm/Makefile: Backout rlimit changes for + resource directory. + * sysdeps/unix/sysv/linux/arm/syscalls.list: Backout changes for + versioning setrlimit and getrlimit. + +2000-01-27 Andreas Jaeger + + * sysdeps/powerpc/fpu/libm-ulps: Renamed to ... + * sysdeps/powerpc/fpu/libm-test-ulps: ...this. + +2000-01-27 Ruediger Oertel + + * sysdeps/unix/sysv/linux/i386/sys/io.h: Change "::" to ": :" for g++. + +2000-01-29 Ulrich Drepper + + * locale/programs/ld-numeric.c (numeric_output): Increment cnt in + correct place to avoid uninitialized memory passed to writev. + + * locale/programs/ld-monetary.c (STR_ELEM_WC): Fix test for too + long string in definition.Only enable returning wide character + strings if really needed. + * locale/programs/ld-numeric.c (STR_ELEM): Likewise. + + * configure.in: Add check for recent enough sed version. + +2000-01-28 Ulrich Drepper + + * stdio-common/vfprintf.c [COMPILE_WPRINT] (_i18n_itoa_word, + _i18n_itoa): Fix parameter lists. + + * locale/C-monetary.c: Add initializers for new fields. + * locale/C-numeric.c: Likewise. + * locale/Makefile (distribute): Add indigits.h, indigitswc.h, + outdigits.h, and outdigitswc.h. + * locale/langinfo.h: Add _NL_MONETARY_DECIMAL_POINT_WC, + _NL_MONETARY_THOUSANDS_SEP_WC, _NL_NUMERIC_DECIMAL_POINT_WC, + and _NL_NUMERIC_THOUSANDS_SEP_WC. + * locale/indigits.h: New file. + * locale/indigitswc.h: New file. + * locale/outdigits.h: New file. + * locale/outdigitswc.h: New file. + * locale/programs/ld-monetary.c: Write out decimal point and + thousands separator info in wide character form. + * locale/programs/ld-numeric.c: Likewise. + * stdio-common/Makefile (routines): Add _i18n_itoa and _i18n_itowa. + (distribute): Add _i18n_itoa.h and _i18n_itowa.h. + * stdio-common/_i18n_itoa.c: New file. + * stdio-common/_i18n_itoa.h: New file. + * stdio-common/_i18n_itowa.c: New file. + * stdio-common/_i18n_itowa.h: New file. + * stdio-common/printf-parse.h: Parse 'I' flag. + * stdio-common/printf.h (struct printf_info): Add i18n field. + * stdio-common/vfprintf.c: Implement 'I' flag to print using locales' + outdigits. + +2000-01-27 Geoff Keating + + * csu/Makefile ($(objpfx)version-info.h): Don't use echo -n + unnecessarily. + + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_STAT64_SYSCALL, __ASSUME_TRUNCATE64_SYSCALL, + __ASSUME_NEW_GETRLIMIT_SYSCALL): Define on powerpc for kernels >= + 2.3.35. + + * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: New file. + * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: New file. + * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: New file. + * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: New file. + * sysdeps/unix/sysv/linux/powerpc/mmap64.c: New file. + * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: New file. + * sysdeps/unix/sysv/linux/powerpc/setrlimit64.c: New file. + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add + s_fstat64, s_ftruncate64, s_lstat64, s_mmap2, s_stat64, + s_truncate64. + * sysdeps/unix/sysv/linux/powerpc/truncate64.c: New file. + * sysdeps/unix/sysv/linux/powerpc/Versions: New file. + + * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]: Don't access + __curbrk off the small data area register. Reported by + Andrew Haley . + +2000-01-26 Andreas Jaeger + + * Make-dist (+sysdep-tscrs): Add libm-test-ulps. + +2000-01-26 Ulrich Drepper + + * locale/Makefile (distribute): Remove nonexisting files. + * sysdeps/powerpc/Dist: Move FPU specific files to... + * sysdeps/powerpc/fpu/Dist: ...here. New file. + * nss/Makefile: Distribute files for new libdb interface. + * math/Makefile (distribute): Add README.libm-test. + Patch by Andreas Jaeger. + +2000-01-26 David McCann + + * libio/libioP.h [!_G_HAVE_MMAP]: Define ALLOC_WBUF. + +2000-01-25 Andreas Jaeger + + * sysdeps/unix/sysv/linux/configure.in: Set CPPFLAGS for kernel + version check since we're using cpp. + +2000-01-26 Jakub Jelinek + + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getresgid): + Fix a typo. + +2000-01-26 Andreas Jaeger + + * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Avoid warning + about unitialised variable kbuf. + * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise. + * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise. + +2000-01-26 Ulrich Drepper + + * locale/programs/ld-collate.c (check_duplicate): Fix printing of error + messages. + (collate_read): Remove unnecessary `if'. + +2000-01-25 Ulrich Drepper + + * libio/fileops.c (_IO_new_file_open): Recognize ,ccs= in mode string + and load appropriate conversions. + * libio/iofwide.c (__libio_codecvt): Renamed from libio_codecvt and + made global. + * libio/libioP.h: Declare __libio_codecvt. + * manual/stdio.texi: Document ,ccs= option for fopen. + * wcsmbs/wcsmbsload.c (__wcsmbs_named_conv): New function. + * wcsmbs/wcsmbsload.h (__wcsmbs_named_conv): Declare. + + * libio/iofclose.c: Free conversion data if stream was wide-oriented. + + * sysdeps/unix/sysv/linux/i386/Dist: Add sys/io.h. + + * sysdeps/unix/sysv/linux/Dist: Remove sys/io.h. + + * posix/fnmatch_loop.c: Fix problem with FNM_LEADING_DIR. + * posix/testfnm.c: Add a few more tests. Rearrange test output. + +2000-01-25 Andreas Schwab + + * posix/testfnm.c: Add new test case. Use FNM_PATHNAME instead of + FNM_FILE_NAME consistently. + +2000-01-25 Ulrich Drepper + + * posix/fnmatch.c: Define STRCOLL appropriately for the loop + definition. + * posix/fnmatch_loop.c: Undefine STRCOLL. + + * sysdeps/unix/sysv/linux/i386/fxstat.c: Correct code to handle + kernels with stat64 support. + * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise + * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise. + Patch by SL Baur . + + * string/strxfrm.c: Don't count in the terminating NUL byte/word. + +2000-01-24 Paul Eggert + + * posix/fnmatch_loop.c (FCT): Use locale's collating sequence when + deciding whether a character falls within a character range. + +2000-01-24 Paul Eggert + + * posix/fnmatch_loop.c (FCT): When matching [A-Z] and folding case, + lower-case A too. + +2000-01-24 Thorsten Kukuk + + * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove old[gs]etrlimit. + +2000-01-23 Paul Eggert + + * posix/regex.c (GET_UNSIGNED_NUMBER): Allow only ASCII digits. + +2000-01-23 Paul Eggert + + * posix/regex.c (compile_range): When matching a character + range, use the current collating sequence, as POSIX requires. + +2000-01-25 Ulrich Drepper + + * string/argz-stringify.c: Handle case of missing \0 at the end of + the given argz. + +2000-01-24 Ulrich Drepper + + * nscd/hstcache.c: Don't count in mapped IPv6 addresses in total + size anymore. + + * locale/programs/ld-collate.c (collate_output): Also handle + IGNOREd characters in the simple way when generating the multibyte + table. + + * locale/programs/ld-ctype.c (allocate_arrays): Move codeset_name + handling to ... + (ctype_finish): ...here. Check for missing codeset name. + + * sysdeps/unix/sysv/linux/Dist: Add ipc_priv.h. + * sysdeps/unix/sysv/linux/alpha/Dist: Likewise. + +2000-01-24 Jakub Jelinek + + * sysdeps/unix/sysv/linux/bits/ipc.h: Move private decls... + * sysdeps/unix/sysv/linux/ipc_priv.h: ...here. + * sysdeps/unix/sysv/linux/bits/msq.h: Move private decls... + * sysdeps/unix/sysv/linux/msgctl.c: ...here. Include ipc_priv.h. + * sysdeps/unix/sysv/linux/bits/sem.h: Move private decls... + * sysdeps/unix/sysv/linux/semctl.c: ...here. Include ipc_priv.h. + * sysdeps/unix/sysv/linux/bits/shm.h: Move private decls... + * sysdeps/unix/sysv/linux/shmctl.c: ...here. Include ipc_priv.h. + * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Move private decls... + * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: ...here. + * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove private decls. + * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Include ipc_priv.h. + * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise. + * sysdeps/unix/sysv/linux/msgget.c: Likewise. + * sysdeps/unix/sysv/linux/msgrcv.c: Likewise. + * sysdeps/unix/sysv/linux/msgsnd.c: Likewise. + * sysdeps/unix/sysv/linux/semget.c: Likewise. + * sysdeps/unix/sysv/linux/semop.c: Likewise. + * sysdeps/unix/sysv/linux/shmat.c: Likewise. + * sysdeps/unix/sysv/linux/shmdt.c: Likewise. + * sysdeps/unix/sysv/linux/shmget.c: Likewise. + +2000-01-24 Jakub Jelinek + + * sysdeps/unix/sysv/linux/arm/bits/resource.h: New file. + * sysdeps/unix/sysv/linux/arm/Makefile: Remove oldsetrlimit64.c. + * sysdeps/unix/sysv/linux/i386/Makefile: Likewise. + * sysdeps/unix/sysv/linux/i386/Dist: Likewise. + * sysdeps/unix/sysv/linux/arm/Versions: Remove + setrlimit64@GLIBC_2.1.3. + * sysdeps/unix/sysv/linux/i386/Versions: Likewise. + * sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: Remove. + * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: Likewise. + * sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setrlimit64.c: Likewise. + * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Call __new_getrlimit, + so that setrlimit64@GLIBC_2.1 can report limits above 2G. + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getrlimit, + setrlimit): Remove syscall stubs, add normal syscalls. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (setrlimit): + Remove syscall stub. + +2000-01-22 Andreas Jaeger + + * localedata/tst-locale.sh: Enable test for de_DE.437. + +2000-01-23 Ulrich Drepper + + * string/Versions: Export __strndup. + +2000-01-23 Philip Blundell + + Add basic support for RPC over IPv6: + * sunrpc/rpc/svc.h (struct SVCXPRT): Use `struct sockaddr_storage' + for remote address. + (svcudp6_create, svcudp6_bufcreate, svctcp6_create): New + prototypes. + * sunrpc/rpc/clnt.h (clnttcp6_create, clntudp6_create, + clntudp6_bufcreate): New prototypes. + * inet/netinet/in.h (bindresport6): Likewise. + * sunrpc/Makefile (routines): Add svc_tcp6, svc_udp6, bindrsvprt6. + * sunrpc/Versions: Add svcfd6_create, svctcp6_create, + svcudp6_create, svcudp6_bufcreate, svcudp6_enablecache, + bindresvport6 for GLIBC_2.2. + * sunrpc/rpc_main.c: Support `tcp6' and `udp6' transport types. + * sunrpc/rpc_svcout.c: Likewise. + * sunrpc/svc_tcp.c (rendezvous_request): Use memcpy rather than + simple assignment when copying addresses. + * sunrpc/svc_udp.c (cache_get): Likewise. + * sunrpc/svc_unix.c (rendezvous_request): Likewise. + * sunrpc/bindrsvprt6.c, sunrpc/clnt_tcp6.c, sunrpc/clnt_udp6.c, + sunrpc/svc_tcp6.c, sunrpc/svc_udp6.c: New files. + +2000-01-05 Philip Blundell + + * sysdeps/unix/sysv/linux/arm/mmap64.S: Correct check for ENOSYS. + +2000-01-23 Andreas Jaeger + + * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Pass right + parameter to fstat calls. + +2000-01-18 Roland McGrath + + * sysdeps/generic/bits/socket.h + (__ss_aligntype, struct sockaddr_storage): Make these like Linux + version, replacing old type name `__ss_align'. + +2000-01-05 Roland McGrath + + * sysdeps/generic/lseek64.c (__libc_lseek64): Renamed from __lseek64. + (__lseek64, lseek64): Make these weak aliases for __libc_lseek64. + * sysdeps/mach/hurd/lseek.c (__libc_lseek): Renamed from __lseek. + (__lseek, lseek): Make these weak aliases for __libc_lseek. + * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Renamed from __fcntl. + (__fcntl, fcntl): Make these weak aliases for __libc_fcntl. + * sysdeps/mach/hurd/open.c (__libc_open): Renamed from __open. + (__open, open): Make these weak aliases for __libc_open. + + * sysdeps/generic/bits/socket.h (enum __socket_type): Remove + trailing comma. + (anonymous enum for MSG_*): Likewise. + (anonymous enum for SO_*): Likewise. + +2000-01-23 Ulrich Drepper + + * string/bits/string2.h: Fix typo (__GNU_SOURCE -> __USE_GNU) + (PR libc/1553). + +2000-01-08 Mark Kettenis + + * sysdeps/mach/hurd/setitimer.c (quantize_timeval): New function. + (setitimer_locked): Use it to quantize the timer values. Use + quantized timer values to check if the timeout changed. + +2000-01-22 Andreas Jaeger + + * sunrpc/rpc/svc.h: Fix description for svc_register. + +2000-01-23 Mark Kettenis + + * inet/rexec.c (rexec_af): Use SA_LEN instead of __libc_sa_len. + +2000-01-22 Thorsten Kukuk + + * sunrpc/xdr_rec.c: Don't set frag_sent if no more data, + fixes part 2 of bug 1549. + * sunrpc/rpc_des.h: Remove unused defines. + +2000-01-22 Mark Kettenis + + * intl/Makefile ($(objpfx)msgs.h): Do $(make-target-directory) first. + +2000-01-22 Thorsten Kukuk + + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove sys/io.h. + * sysdeps/unix/sysv/linux/alpha/Makefile: Add sys/io.h. + * sysdeps/unix/sysv/linux/arm/Makefile: Likewise. + * sysdeps/unix/sysv/linux/i386/Makefile: Likewise. + * sysdeps/unix/sysv/linux/sys/io.h: Move from here ... + * sysdeps/unix/sysv/linux/i386/sys/io.h: ... to here, add inb, outb + and other inline functions for port access. + * sysdeps/unix/sysv/linux/alpha/sys/io.h: Add prototypes for port + access functions. + +2000-01-23 Ulrich Drepper + + * iconv/gconv_simple.c: Fix two problems in UTF-8 decoder. + Patch by Bruno Haible . + +2000-01-05 Roland McGrath + + * sysdeps/mach/hurd/errnos.awk: Rediddle to collect lines and print + them all at the end, eliding the final comma. + * sysdeps/mach/hurd/bits/errno.h: Regenerated. + +2000-01-21 Ulrich Drepper + + * intl/libintl.h: Add format_arg attributes to declarations of new + functions. + + * intl/Makefile (routines): Add dcigettext, dcngettext, dngettxt, + ngettext, and plural. + (distribute): Add plural.y, po2test.sed, and tst-gettext.sh. + (test-srcs): Add tst-gettext. + (before-compile): Add $(objpfx)msgs.h. + Add rules for plural.c and msgs.h generation and running tst-gettext.\ + * intl/Versions [GLIBC_2.2]: Add __dcngettext, dcngettext, dngettext, + and ngettext. + * intl/dcgettext.c: Move most code into dcigettext.c. Add call + dcigettext with appropriate parameters. + * intl/dcigettext.c: New file. + * intl/dcngettext.c: New file. + * intl/dngettext.c: New file. + * intl/ngettext.c: New file. + * intl/gettextP.h (struct expression): Define. + (struct loaded_domain): Add plural and nplurals members. + Add prototypes for new internal functions. + * intl/libintl.h: Declare new functions. Add optimizations for them. + * intl/loadinfo.h: Add new parameter to _nl_find_msg declaration. + * intl/loadmsgcat.c (_nl_load_domain): Search for plural information in + header entry and parse and store the expression. + * intl/plural.y: New file. + * intl/po2test.sed: New file. + * intl/tst-gettext.c: New file. + * intl/tst-gettext.sh: New file. + * manual/message.texi: Document new interfaces. + + * intl/gettext.c: Call __dcgettext directly. + +2000-01-20 Ulrich Drepper + + * manual/getopt.texi (Using the getopt function): Fix description of + return value for format string starting with '-' (PR libc/1551). + Patch by Raúl Núńez de Arenas Coronado + + * sunrpc/clnt_perr.c (rpc_errlist): Fix index for RPC_PROGVERSMISMATCH. + Patch by jens.moeller@westgeo.com (PR libc/1550). + + * locale/programs/ld-collate.c (struct element_t): Add wclast + and compute it where necessary. + (collate_output): Insert indirect references in the right order. + + * math/Makefile (tests): Add test-misc. + * math/test-misc.c: New file. + +2000-01-19 Ulrich Drepper + + * sysdeps/ieee754/ldbl-96/s_modfl.c: Correct handling of arguments + with exponent >31 and < 63 (PR libc/1548). + + * locale/programs/ld-collate.c (output_weightwc): Return index + measured in words, not bytes. Don't write out words for ignored + characters. + (collate_output): Correct various problems with alignment in the + output file. + * locale/weight.h: Adjust for last change in ld-collate.c of adding + alignment padding. + + * stdlib/strfmon.c: Don't report an error if final NUL is at the + end of the buffer. Set errno correctly if floating-point number + would overflow buffer. + + * posix/regex.h: Update comment of RE_SYNTAX_POSIX_MINIMAL_EXTENDED. + + * locale/weight.h (findidx): Little optimization. Correctly return + offset in indirect table. + * locale/programs/ld-collate.c (struct element_t): Add mblast + and compute it where necessary. + (insert_weights): Correctly handle missing weights in ellipsis + expression. + (handle_ellipsis): Correctly enqueue new element. + (collate_output): Insert indirect references in the right order. + +2000-01-18 Ulrich Drepper + + * wcsmbs/mbrtowc.c: Create temporary state object if no output is + written. + * wcsmbs/mbsrtowcs.c: Likewise. + * wcsmbs/wcrtomb.c: Likewise. + * wcsmbs/wcsrtombs.c: Likewise. + + * wcsmbs/wcrtomb.c: Compute result correctly for successful call + with s == NULL. + + * wcsmbs/mbsrtowcs.c: Compute return value correctly after change + in gconv function. + + * wcsmbs/mbrtowc.c: Don't set errno if byte sequence is only + incomplete but correct. + + * locale/programs/charmap.c: NUL-terminate names of generated + entries for ellipsis. + +2000-01-18 Andreas Jaeger + + * sysdeps/unix/sysv/linux/i386/lxstat.c: New file, handles 32bit UIDs. + * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise. + * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Move + _STAT_VER_KERNEL handling up; don't save errno. + * sysdeps/unix/sysv/linux/arm/fxstat.c: New file. + * sysdeps/unix/sysv/linux/arm/lxstat.c: Likewise. + * sysdeps/unix/sysv/linux/arm/xstat.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/fxstat.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/lxstat.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/xstat.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/fxstat.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/lxstat.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/xstat.c: Likewise. + +2000-01-18 Ulrich Drepper + + * iconv/loop.c (COUNT_CONVERTED): Remove macro, comment, and all uses. + Remove done variable and all uses. + * iconv/skeleton.c: Update comment for *written modification. + * iconv/gconv_int.h (__gconv): Update comment. + Reported by Bruno Haible. + +2000-01-18 Bruno Haible + + * posix/fnmatch.c (ISWCTYPE): New macro. + (__wcschrnul): New function. + (BTOWC): New macro. Define it instead of __btowc. + (is_char_class) [!_LIBC]: Fix 'mstate_t' typo. Fix 2nd arg to + wcsrtombs. Call wctype, not __wctype. + * posix/fnmatch_loop.c (FCT): Use ISWCTYPE instead of __iswctype, and + BTOWC instead of __btowc. + +2000-01-18 Andreas Jaeger + + * inet/Versions: Add new functions added on 2000-01-17. + +2000-01-18 Jakub Jelinek + + * dirent/dirent.h (getdentries): Correct prototype to use __off64_t. + +2000-01-18 Ulrich Drepper + + * timezone/antarctica: Update from tzdata2000a. + * timezone/asia: Likewise. + * timezone/australasia: Likewise. + * timezone/backward: Likewise. + * timezone/northamerica: Likewise. + * timezone/southamerica: Likewise. + * timezone/zone.tab: Likewise. + + * nscd/connections.c (dbs): Use + PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP for .lock. + Pretty printing. + + * nscd/hstcache.c (cache_addhst): Don't automatically add IPv6 + address. Suggested by Philip Blundell. + + * posix/TESTS: Fix expected result for test cases with * with no + leading expression. + + * sysdeps/unix/sysv/linux/fstatvfs.c: Move actual code in... + * sysdeps/unix/sysv/linux/internal_statvfs.c: ...here. New file. + * sysdeps/unix/sysv/linux/statvfs.c: Don't use fstatvfs since the + open call would require read permission. + Patch by James Antill . + + * sysdeps/unix/sysv/linux/Dist: Add internal_fnmatch.c. + + * inet/getnameinfo.c: Terminate host name for NI_NOFQDN. + * sysdeps/posix/getaddrinfo.c: Correct modifications done for + PR1515. Patches by Hideaki YOSHIFUJI . + + * posix/regex.h (RE_SYNTAX_POSIX_EXTENDED): Add RE_CONTEXT_INVALID_OPS. + * posix/regex.c (regex_compile): Return appropriate errors for + unterminated brace expressions. Detect invalid characters + in brace expressions. + * posix/bits/posix2_lim.h: Define RE_DUP_MAX correctly. + * sysdeps/posix/sysconf.c: Include regex.h. + Reported by Geoff Clare (PR libc/1522). + +2000-01-17 Ulrich Drepper + + * sysdeps/posix/getaddrinfo.c (gaih_local): If name is given and + AI_NUMERICHOST flag is set, return an error. + Patch by Hideaki YOSHIFUJI . + + * inet/rcmd.c: Implement rcmd_af, rresvport_af, ruserok_af, and + iruserok_af. + * inet/rexec.c: Implement rexec_af. + Patch by Hideaki YOSHIFUJI . + + * resolv/netdb.h: Add declarations of rcmd_af, rexec_af, ruserok_af, + and rresvport_af. + +2000-01-17 Jakub Jelinek + + * sysdeps/unix/sysv/linux/bits/ipc.h: New file. + * sysdeps/unix/sysv/linux/bits/sem.h: New file. + * sysdeps/unix/sysv/linux/bits/shm.h: New file. + * sysdeps/unix/sysv/linux/bits/msg.h: New file. + * sysdeps/unix/sysv/linux/bits/alpha/ipc.h: Update for new ipc. + * sysdeps/unix/sysv/linux/bits/alpha/sem.h: New file. + * sysdeps/unix/sysv/linux/bits/alpha/shm.h: New file. + * sysdeps/unix/sysv/linux/bits/alpha/msg.h: New file. + * sysdeps/unix/sysv/linux/bits/sparc/ipc.h: New file. + * sysdeps/unix/sysv/linux/bits/sparc/sem.h: New file. + * sysdeps/unix/sysv/linux/bits/sparc/shm.h: New file. + * sysdeps/unix/sysv/linux/bits/sparc/msg.h: New file. + + * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): + Renamed from msgctl. + (__new_msgctl): New function. + * sysdeps/unix/sysv/linux/semctl.c (__old_semctl): + Renamed from semctl. + (__new_semctl): New function. + * sysdeps/unix/sysv/linux/shmctl.c (__old_shmctl): + Renamed from shmctl. + (__new_shmctl): New function. + + * sysdeps/unix/sysv/linux/msgget.c: Define __LIBC_IPC_INTERNAL. + * sysdeps/unix/sysv/linux/msgrcv.c: Likewise. + * sysdeps/unix/sysv/linux/semget.c: Likewise. + * sysdeps/unix/sysv/linux/msgsnd.c: Likewise. + * sysdeps/unix/sysv/linux/semop.c: Likewise. + * sysdeps/unix/sysv/linux/shmat.c: Likewise. + * sysdeps/unix/sysv/linux/shmdt.c: Likewise. + * sysdeps/unix/sysv/linux/shmget.c: Likewise. + + * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: New file. + + * sysdeps/unix/sysv/linux/Versions: Add msgctl, semctl, shmctl. + +2000-01-17 Jakub Jelinek + + * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove setres[ug]id. + * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Kill warnings. + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Define needed + syscalls. + + * sysdeps/unix/sysv/linux/pwrite64.c: Use proper prototype. + * sysdeps/unix/sysv/linux/truncate64.c: Likewise. + + * sysdeps/unix/sysv/linux/kernel-features.h: [gs]etres[ug]id are + available on sparc since 2.3.39. + + * sysdeps/unix/sysv/linux/execve.c: Kill warnings. + +2000-01-17 Jakub Jelinek + + * sysdeps/unix/sysv/linux/i386/chown.c (__syscall_chown): Use proper + prototype. + (__real_chown): Return EINVAL if owner or group are out of the range + -1U .. 65534. + * sysdeps/unix/sysv/linux/i386/lchown.c (__lchown): Likewise. + * sysdeps/unix/sysv/linux/i386/fchown.c (__fchown): Likewise. + * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Return + EINVAL if ruid, euid or suid are out of the range -1U .. 65534. + * sysdeps/unix/sysv/linux/i386/setresgid.c (__setresgid): Similarly. + * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Simplify. + * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Likewise. + * sysdeps/unix/sysv/linux/m68k/chown.c (__syscall_chown): Use proper + prototype. + Don't include non-existant header. + (__chown): Return EINVAL if owner or group are out of the range + -1U .. 65534. + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setresuid, + setresgid): Inherit standard linux/syscalls.list definitions. + * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Remove. + * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Remove. + * sysdeps/unix/sysv/linux/syscalls.list (setresgid): Provide + __setresgid symbol. + +2000-01-17 Ulrich Drepper + + * locale/iso-639.def: Update Hebrew, Yiddish, and Indonesian entry + from 1989 change in ISO 639. + +2000-01-12 Andreas Jaeger + + * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): New + function; needed for 32bit uid support. + + * sysdeps/unix/sysv/linux/i386/xstat.c: New file, handles 32bit + uids correctly. + +2000-01-17 Ulrich Drepper + + * intl/locale.alias: Add entries for galician. + + * locale/programs/ld-ctype.c (get_character): If tok_ucs4 found, first + try to get sequence from charmap with Uxxxxxxxx name. + (charclass_ucs4_ellipsis): Likewise. + (charclass_charcode_ellipsis): Allow byte sequence missing. + (read_writestring): Free allocated memory in case of an error. + (set_class_defaults): Don't search repertoire map for wide character + default values; we know it's UCS4. + + * locale/programs/repertoire.c (repertoire_find_value): Just return an + error if no repertoire map was loaded. + (repertoire_find_symbol): Likewise. + (repertoire_find_seq): Likewise. + + * posix/fnmatch.c: Put internal_fnmatch in separate file. Include + twice, to define singlebyte and multibyte version. + (fnmatch): Differentiate between singlebyte and multibyte locale and + call appropriate internal function. + * posix/fnmatch_loop.c: New file. + * posix/Makefile (distribute): Add fnmatch_loop.c. + + * locale/programs/repertoire.c (repertoire_read): Don't print + error message when repertoire map is missing. + (repertoire_complain): Print error message for missing map, but only + once. + * locale/programs/repertoire.h (repertoire_complain): Add prototype. + + * locale/programs/linereader.c (get_string): Prefer getting names + from charseq entries. Try finding Uxxxxxxxx names in charmap + before trying to map from repertoire. + +2000-01-16 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/getgroups.c: Fix missing brace + error in last change. + * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise. + + * stdlib/longlong.h: Fix typo in last patch. + +2000-01-12 Andreas Jaeger + + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS): + Added for Linux 2.3.39+. + + * sysdeps/unix/sysv/linux/getresgid.c: Support 32bit UIDs and + 32bit GIDs. + * sysdeps/unix/sysv/linux/getresuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise. + * sysdeps/unix/sysv/linux/setegid.c: Likewise. + + * sysdeps/unix/sysv/linux/arm/chown.c: New file. + * sysdeps/unix/sysv/linux/arm/fchown.c: New file. + * sysdeps/unix/sysv/linux/arm/geteuid.c: New file. + * sysdeps/unix/sysv/linux/arm/getegid.c: New file. + * sysdeps/unix/sysv/linux/arm/getuid.c: New file. + * sysdeps/unix/sysv/linux/arm/getgid.c: New file. + * sysdeps/unix/sysv/linux/arm/lchown.c: New file. + * sysdeps/unix/sysv/linux/i386/fchown.c: New file. + * sysdeps/unix/sysv/linux/i386/getegid.c: New file. + * sysdeps/unix/sysv/linux/i386/geteuid.c: New file. + * sysdeps/unix/sysv/linux/i386/getgid.c: New file. + * sysdeps/unix/sysv/linux/i386/getuid.c: New file. + * sysdeps/unix/sysv/linux/i386/lchown.c: New file. + * sysdeps/unix/sysv/linux/m68k/chown.c: New file. + * sysdeps/unix/sysv/linux/m68k/fchown.c: New file. + * sysdeps/unix/sysv/linux/m68k/getegid.c: New file. + * sysdeps/unix/sysv/linux/m68k/geteuid.c: New file. + * sysdeps/unix/sysv/linux/m68k/getgid.c: New file. + * sysdeps/unix/sysv/linux/m68k/getuid.c: New file. + * sysdeps/unix/sysv/linux/m68k/lchown.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: New file. + Based on a patch by Chris Wing . + +2000-01-14 Jakub Jelinek + + * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: New file. + +2000-01-13 Jakub Jelinek + + * sysdeps/generic/backtrace.c: Include signal.h which + sigcontextinfo.h headers are used to expect. + * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h + (register_dump): Fix a typo in the printout. + Avoid using reg_window, so that asm/ptrace.h is not necessary. + * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h + (ADVANCE_STACK_FRAME): Likewise. + + * stdlib/longlong.h: Avoid using __sparc_v9__ ifdefs. + * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise. + * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise. + + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Include bits/wordsize.h + to make it clear this file depends on __WORDSIZE. + * sysdeps/unix/sysv/linux/ftruncate64.c (__have_no_truncate64): + Renamed from have_no_truncate64. + * sysdeps/unix/sysv/linux/truncate64.c (__have_no_truncate64): + Likewise. + +2000-01-16 Ulrich Drepper + + * Makeconfig (rpath-dirs): Remove db2. + (dbojdir): Remove variable. + + * locale/programs/locfile.h (handle_copy): Take repertoire map + name as parameter, not pointer to repertoire structure. + * locale/programs/ld-address.c: Change caller. + * locale/programs/ld-ctype.c: Likewise. + * locale/programs/ld-identification.c: Likewise. + * locale/programs/ld-measurement.c: Likewise. + * locale/programs/ld-messages.c: Likewise. + * locale/programs/ld-monetary.c: Likewise. + * locale/programs/ld-name.c: Likewise. + * locale/programs/ld-numeric.c: Likewise. + * locale/programs/ld-paper.c: Likewise. + * locale/programs/ld-telephone.c: Likewise. + * locale/programs/ld-time.c: Likewise. + +2000-01-13 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code generated if + mmap2 is available when compiling but no at runtime. + +2000-01-12 Ulrich Drepper + + * iconvdata/iso-ir-165.c: New file. + * iconvdata/iso-ir-165.h: New file. + * iconvdata/Makefile: Add rules to build libISOIR165. + + * Makefile (install): Correct passing -r parameter to ldconfig. + + * iconvdata/gconv-modules: Add aliases ISO-IR-199 and ISO-IR-203. + Reported by Bruno Haible . + +2000-01-11 Andreas Schwab + + * sysdeps/i386/fpu/libm-test-ulps: Adjust some epsilons. + +2000-01-10 Thorsten Kukuk + + * nss/getent.c: Add ipv6 support for hosts. + +2000-01-05 Philip Blundell + + * sysdeps/unix/sysv/linux/arm/Versions: Add getrlimit, setrlimit, + getrlimit64, setrlimit64 for GLIBC_2.1.3. + * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit, + oldsetrlimit. + * sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: New file. + * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise. + * sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise. + * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Likewise. + * sysdeps/unix/sysv/linux/arm/setrlimit.c: Likewise. + * sysdeps/unix/sysv/linux/arm/getrlimit.c: Likewise. + + * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource] + (sysdep_routines): Add oldgetrlimit64, oldsetrlimit64. + [subdir=misc] (sysdep_headers): Add sys/elf.h. + +2000-01-09 Andreas Jaeger + + * manual/install.texi (Tools for Compilation): Update required + compiler version. + (Configuring and compiling): Restore old comments about + configparms; modify to reflect current usage. + +2000-01-09 Philip Blundell + + * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't attempt name + resolution if the hints included AI_NUMERICHOST. + +2000-01-11 Andreas Schwab + + * sysdeps/mips/__longjmp.c (__longjmp): Change call to abort into + infinite loop to avoid pulling in stdio in the dynamic linker. + * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise. + +2000-01-10 Andreas Jaeger + + * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Follow + change from 1999-10-07 to elf/elf.h and rename EM_MIPS_RS4_BE to + EM_MIPS_RS3_LE. + * sysdeps/mips/mips64/dl-machine.h: Likewise. + + * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Remove greg_t, + gregset_t, fpregset_t, and NGREG definitions. + + * sysdeps/mips/Implies: Add wordsize-32. + + * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Add missing + int's. + + * sysdeps/unix/sysv/linux/mips/sys/acct.h: Remove K&R support, add + missing int's. + + * sysdeps/unix/sysv/linux/mips/bits/errno.h: Remove K&R support. + * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise. + +2000-01-09 Philip Blundell + + * sysdeps/arm/dl-machine.h (CLEAR_CACHE): System calls clobber R0. + (dl_platform_init): Allow _dl_platform to be NULL. + + * sysdeps/unix/sysv/linux/arm/sysdep.h (UNDOARGS_5): Fix error in + last change. + +2000-01-08 Ulrich Drepper + + * nscd/connections.c (handle_request): Handle systems without + SO_PEERCRED. + (nscd_run): Likewise. + +2000-01-07 Andreas Jaeger + + Add support for Berkeley db 3.0.x and merge db support: + * nss/nss_db/dummy-db.h (struct db30): New. + (struct dbc30): New. + Added DB30* flags. + + * nss/makedb.c: Move all database routines to db-open.c. + (main): Adjust to interface changes. + Load database early to initialize version dependend variables. + + * nss/db-open.c: Merge database routines from makedb.c. + Define version dependend constansts as variables. + (load_db): Check also for db 3. + (internal_setent): Call dbopen. + (db_cursor): New function from makedb; handles db 3 now. + (dbopen): New function from makedb; handles db 3. + + * nss/nss_db/db-XXX.c: Use db_notfound since the value is + different in different DB versions. + + * nss/nss_db/nss_db.h: Add version dependend constants as + variables, add exportet interfaces from db-open.c. + + * nss/Makefile ($(objpfx)makedb): Link against db-open. + +2000-01-07 Ulrich Drepper + + * misc/error.c: Don't use `defined _LIBC', only `_LIBC'. + Reported by Jim Meyering. + + * time/strftime.c: Pretty printing. + +2000-01-07 Andreas Jaeger + + * manual/socket.texi (Host Names): Fix example. + Reported by Marco Budde . + +2000-01-06 Ulrich Drepper + + * localedata/Makefile (install-locales): Create locale directory + if it does not exist. + + * locale/programs/charmap.c (charmap_read): Call lr_open here and + not in parse_charmap. Try also the directories on the I18NPATH. + (parse_charmap): Change accordingly. + +2000-01-05 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/Dist: Distribute oldgetrlimit64.c + and oldsetrlimit64.c. + + * sysdeps/unix/sysv/linux/arm/Dist: Distribute sys/elf.h and + sys/procfs.h. + + * manual/texinfo.tex: Updated from latest official version. + + * debug/Makefile (distribute): Add frame.h. + +2000-01-05 Philip Blundell + + * sysdeps/arm/frame.h: New file. + * sysdeps/generic/frame.h: Likewise. + * sysdeps/generic/segfault.c (struct layout): Delete definition; + include the above file instead. + * sysdeps/generic/backtrace.c (struct layout): Likewise. + (__backtrace): Use ADVANCE_STACK_FRAME. + * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h + (ADVANCE_STACK_FRAME): New macro. + (GET_FRAME): Apply above to returned value. + + * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Add `fault_address'. + +2000-01-05 Ulrich Drepper + + * sysdeps/posix/getaddrinfo.c: Add support for SOCK_RAW. + Patch by YOSHIFUJI Hideaki . + + * io/ftw.c (process_entry): Cache object dev/inode only for + directories (PR libc/1514). + +2000-01-05 Andreas Schwab + + * locale/programs/charmap.c (charmap_read): Fix typo. + +2000-01-05 Ulrich Drepper + + * locale/programs/charset.c: Removed. + + * iconvdata/Makefile: Add rules for ISO-8859-16 module. + * iconvdata/gconv-modules: Likewise. + * iconvdata/iso8859-16.c: New file. + +2000-01-05 Andreas Schwab + + * iconv/iconv_prog.c (process_block): Add cast to avoid warning. + +2000-01-05 Andreas Jaeger + + * intl/locale.alias: Add lithunian entry. + Reported by Kestutis Kupciunas , PR libc/1507. + +2000-01-04 Ulrich Drepper + + * locale/programs/stringtrans.c: Removed. + * locale/programs/stringtrans.h: Removed. + * locale/programs/linereader.c: Remove #include of stringtrans.h. + + * locale/findlocale.c (_nl_find_locale): Don't try using mmap is + _POSIX_MAPPED_FILES is not defined. + + * locale/findlocale.c (_nl_find_locale): Correct memory allocation + for loc_name copy. + + * locale/setlocale.c (new_composite_name): Use _nl_C_name and + _nl_POSIX_name instead of "C" and "POSIX" strings. + + * ctype/ctype-info.c (__ctype32_tolower): Use _nl_C_CTYPE_tolower. + (__ctype32_toupper): Use _nl_C_CTYPE_toupper. + * locale/C-ctype.c (_nl_C_LC_CTYPE_tolower32): Removed. We can + reuse the _nl_C_LC_CTYPE_tolower table. + (_nl_C_LC_CTYPE_toupper32): Likewise. + (_nl_C_LC_CTYPE): Use normal table to initialize tolower32 and + toupper32 entries. + + * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISNCTRL bit for + characters >= 0x80. + (_nl_C_LC_CTYPE_class32): Likewise. + + * rt/aio.h (struct aioinit): Replace one aio_reserved value with + aio_idle_time. + * rt/aio_misc.c: Rewrite to not automatically terminate worker threads + after the operation is done. Let them linger for a user-definable + time. + * rt/aio_cancel.c: Likewise. + Patch by Willian M Shubert . + + * sysdeps/i386/i686/add_n.S: New file. + +2000-01-02 Philip Blundell + + * sysdeps/unix/sysv/linux/arm/ioperm.c: Use sysctl by preference + to obtain port mapping information. Avoid use of mprotect. + +2000-01-04 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Add + definition from 2.3.36. + +2000-01-04 Andreas Jaeger + + * nss/nss_db/dummy-db.h (struct db24): Add missing field flags. + (struct db27): Add missing fields byteswapped, join and flags; + remove wrong member handleq. + (struct dbc27): Correct lock field. + + * nss/makedb.c: Remove __P. + +2000-01-04 Andreas Jaeger + + * nss/nss_db/db-open.c (internal_setent): Check for db_open for + success, fix a memory leak and clean up function. + +2000-01-04 Ulrich Drepper + + * Makefile (install): Pass $(install_root) to ldconfig. + Patch by Akira YOSHIYAMA . + +2000-01-03 Jakub Jelinek + + * soft-fp/op-1.h: Fix division for machines using not normalizing + version of udiv_qrnnd in longlong.h. + * soft-fp/sysdeps/mips/sfp-machine.h: Likewise. + * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Likewise. + * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Likewise. + Patch by Eddie C. Dost . + + * soft-fp/soft-fp.h (QItype, UQItype): New types used by longlong.h. + +2000-01-03 Andreas Schwab + + * sysdeps/generic/dl-sysdep.c: Initialize __libc_multiple_libcs, + needed for change in common symbol handing in newer binutils. + +2000-01-03 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code for running on + kernel without mmap2 syscall. + +2000-01-03 Philip Blundell + + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MMAP2_SYSCALL, + __ASSUME_TRUNCATE64_SYSCALL, __ASSUME_STAT64_SYSCALL): Define on + ARM for kernels >= 2.3.35. + +2000-01-03 Philip Blundell + + * sysdeps/unix/sysv/linux/arm/mmap.S: Remove mmap64 alias. + Optimise error handling a little. + * sysdeps/unix/sysv/linux/arm/mmap64.S: New file. + +2000-01-03 Andreas Jaeger + + * include/resolv.h: Remove declarations for __ns_name_ntop and + __ns_name_unpack since those are available in resolv/arpa/nameser.h. + +2000-01-03 Andreas Jaeger + + * time/tst-strptime.c (test_tm): Add tests for all fields of + struct tm. + +2000-01-03 Ulrich Drepper + + * string/bits/string2.h (__strsep_g): Don't handle empty __S special. + +2000-01-03 Andreas Jaeger + + * string/tester.c (test_strsep): Add one more test. + +2000-01-03 Philip Blundell + + * string/tester.c (test_mempcpy): New function. + (main): Call it. + (test_memcpy): Test unaligned cases too. + + * sysdeps/arm/bits/string.h (_HAVE_STRING_ARCH_mempcpy): Define. + + * sysdeps/arm/fpu/bits/mathdef.h: New file. + +2000-01-02 Ulrich Drepper + + * posix/Makefile (tests): Add tst-mmap. + * posix/tst-mmap.c: New file. + + * sysdeps/unix/sysv/linux/i386/mmap64.S: Pop registers after mmap2 + call before handling error. + + * sysdeps/unix/sysv/linux/i386/mmap64.S: Handle unaligned offsets. + * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. + + * iconvdata/ksc5601.c (__ksc5601_sym_to_ucs): Add mapping for + 0xa2e6 and 0xa2e7. + (__ksc5601_sym_from_ucs): Add mapping back from U00AE and U20AC. + * iconvdata/ksc5601.h (KSC5601_SYMBOL): Adjust for the two new + mappings. + * iconvdata/testdata/EUC-KR: Add Euro and Registered sign. + * iconvdata/testdata/ISO-2022-KR: Likewise. + + * sysdeps/unix/sysv/linux/llseek.c: Formulate warning message stronger. + + * iconvdata/gconv-modules: Remove BALTIC. It's the same as + ISO-8859-13. + * iconvdata/Makefile (distribute): Remove baltic.c. + (modules): Remove BALTIC. + (gen-8bit-gap-modules): Remove baltic. + * iconvdata/baltic.c: Removed. + + * sysdeps/posix/system.c: Correct return value for LINE == NULL. + + * signal/Versions [GLIBC_2.1.3] (libc): Export __sigsuspend. + + * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Fix + typos (__ASSUME_TRUNCATE64_SYSCALL -> __ASSUME_MMAP2_SYSCALL). + Reported by Philip Blundell . + + * nss/Makefile: Add rules to build makedb. + * nss/nss_db/nss_db.h: Add definitions needed for makedb. + * nss/nss_db/dummy-db.h: Likewise. + * nss/makedb.c: New file. Copied from file in db2, modified to not + depend on being linked against libdb. + +2000-01-01 Ulrich Drepper + + * Makeconfig (all-subdirs): Remove db and db2. + * db/*: Removed. + * db2/*: Removed. + + * nss/nss_db/db-XXX.c: Move internal_setent and internal_endent + functions from here... + * nss/db-alias.c: ...and here... + * nss/db-netgrp.c: ...and here... + * nss/nss_db/db-open.c: ...to here. New file. + * nss/nss_db/dummy-db.h: New file. + * nss/nss_db/nss_db.h: New file. + * nss/Depend: Depend in dlfcn, not db2. + * nss/Makefile (libnss_db-routines): Add db-open. + (distribute): Add nss_db.h dummy-db.h. + (libnss_db.so): Replace libdb dependency by $(libdl). + Based on a patch by Zack Weinberg. + + * locale/programs/ld-ctype.c: Implement rest of transliteration + definition parsing. + * locale/programs/locfile-kw.gperf: New keyword translit_ignore. + * locale/programs/locfile-token.h: Add tok_translit_ignore. + +1999-12-31 Ulrich Drepper + + * locale/programs/ld-collate.c (collate_output): Emit correct + information for collation elements. + Don't write over end of array idx. + * posix/regex.c: Handle also collation elements at end of range. + + * posix/PTESTS: Fix a few typos. + + * posix/bits/posix2_lim.h: Remove _POSIX2_EQUIV_CLASS_MAX. I have + no idea where this came from. + * sysdeps/posix/sysconf.c: Remove _POSIX2_EQUIV_CLASS_MAX handling. + +1999-12-31 Andreas Jaeger + + * libio/strfile.h: Remove K&R compatibility. + * locale/langinfo.h: Likewise. + * locale/localeconv.c (localeconv): Likewise. + * locale/programs/simple-hash.h: Likewise. + * nis/nis_xdr.h: Likewise. + * nis/rpcsvc/nislib.h: Likewise. + * nis/rpcsvc/nis_callback.h: Likewise. + * nis/rpcsvc/nis.h: Likewise. + * nis/ypclnt.c: Likewise. + * nscd/nscd_proto.h: Likewise. + * nscd/nscd.c: Likewise. + * sysdeps/generic/inttypes.h: Likewise. + * sysdeps/gnu/utmpx.h: Likewise. + + * nis/nis_intern.h: Remove K&R compatibility; add missing ints. + * sunrpc/rpcsvc/rusers.x: Likewise. + + * nis/rpcsvc/ypclnt.h: Remove K&R compatibility; reformat. + + * elf/dl-misc.c: Remove __libc_write prototype since it's already + in include/unistd.h. + * elf/dl-profile.c: Likewise. + * elf/dl-load.c: Likewise for __libc_read. + + * elf/dl-profile.c: Remove __P. + * elf/sprof.c: Likewise. + * elf/sln.c: Likewise. + +1999-12-31 Ulrich Drepper + + * locale/langinfo.h: Add constants for wide character collation + symbol table. + * locale/categories.def: Add appropriate entries for collate symbol + table entries. + * locale/C-collate.c: Add initializers for new entries. + Remove commented out code. + * locale/elem-hash.h: New file. + * locale/Makefile (distribute): Add elem-hash.h. + * locale/programs/ld-collate.c: Implement output of collate symbol + table. + + * posix/regex.c: Implement collation class handling. + +1999-12-30 Ulrich Drepper + + * posix/regex.c (regex_compile): Implement equivalence class handling. + +1999-12-30 Geoffrey Keating + + * sysdeps/powerpc/dl-machine.c: Many minor formatting changes. + (OPCODE_LWZU): New macro. + (OPCODE_ADDIS_HI): New macro. + (OPCODE_LIS_HI): New macro. + (__elf_machine_runtime_setup): Change PLT code-generation scheme + for thread safety even with very large PLTs, better efficiency, + and to fix a cache-flushing bug. Also support the Motorola + 8xx processors which have a different cache line size than all + the others. + (__elf_machine_fixup_plt): Likewise. + (__process_machine_rela): Don't use elf_machine_fixup_plt. + +1999-12-30 Ulrich Drepper + + * wcsmbs/wcscoll.c: Use multibyte character version. + * wcsmbs/wcsxfrm.c: Likewise. + * string/strcoll.c: Prepare to be used for the wide character version. + * string/strxfrm.c: Likewise. + * locale/weightwc.h: New file. + +1999-12-30 Geoff Keating + + * sysdeps/powerpc/fpu/bits/fenvinline.h (feraiseexcept): Remove + the (void) casts as now feraiseexcept returns a value. + (feclearexcept): Likewise. + + * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use '%r0', + it interferes with the macros for AIX. + +1999-12-30 Ulrich Drepper + + * locale/programs/ld-collate.c (collate_finish): Always define + weight for UNDEFINED if not defined by the user but don't complain + unless it is needed in the multibyte character table. + (collate_output): Add extra dummy elements in wide char tables in the + same way done for multibyte. Always output undefined entry in + wide character table. + + * locale/Makefile (categories): Remove commented-out old definition. + + * locale/programs/ld-collate.c (insert_value): Don't pass wide string + to new_element if the wide char is not valid. + (handle_ellipsis): Likewise. + (collate_read): It's no problem if the string in the collating element + definition cannot be represented as multibyte or wide char string. + +1999-12-13 Andreas Jaeger + + * resolv/resolv.h: Remove K&R compatibility. + + * resolv/res_libc.c: Move definition of _res after res_init, + res_init should use the threaded specific context. + + * resolv/Makefile (+cflags): Remove -Wno-comment since it's not + needed anymore. + +1999-12-29 Ulrich Drepper + + * locale/langinfo.h: Add constants for wide character collation data. + * locale/categories.def: Add appropriate entries for collate entries. + * locale/C-collate.c: Add initializers for new entries. + * locale/programs/ld-collate.c: Implement output of wide character + tables. + + * locale/programs/ld-ctype.c (allocate_arrays): Change algorithm to + compute wide character table size a bit: it now gives up a bit of + total table size for fewer levels. + + * soft-fp/*: Tons of new files to implement floating-point arithmetic + in software. + Contributed by Richard Henderson, Jakub Jelinek and others. + +1999-12-29 Andreas Jaeger + + * sysdeps/unix/sysv/linux/alpha/sys/io.h: Don't include + ; remove K&R compatibility; add missing ints. + + * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove K&R compatibility, + add missing ints. + + * sysdeps/unix/sysv/linux/sys/io.h: Don't include . + +1999-12-29 Andreas Jaeger + + * manual/getopt.texi (Using Getopt): Document ordering of options. + +1999-12-29 Andreas Jaeger + + * sysdeps/unix/sysv/linux/llseek.c: Emit link time warning for llseek. + Requested by Michael Deutschmann . + +1999-12-14 Andreas Jaeger + + * sysdeps/unix/sysv/linux/scsi/scsi.h: Add new defines from Linux + 2.3.32. + +1999-12-28 Jakub Jelinek + + * elf/sprof.c (load_shobj): Fix error message. + (generate_call_graph): Cast %*s length argument to int. + * locale/programs/localedef.c (construct_output_path): Likewise. + * locale/programs/ld-ctype.c (ctype_finish): Use proper format + specifier. + (ctype_class_new): Likewise. + * locale/programs/ld-time.c (time_finish): Likewise. + * sunrpc/svc_simple.c (register_rpc): Likewise. + * nscd/connections.c (nscd_run, start_threads): Use long instead of + int to avoid cast warnings. + * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l): Kill + warning. + * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Remove unused + variable se. + + * time/strftime.c (my_strftime): Provide wide era string when + requested. + + * sysdeps/sparc/fpu/bits/mathinline.h (__signbit, __signbitl): + Separate into 32bit and 64bit versions. + +1999-12-28 Ulrich Drepper + + * iconvdata/Makefile (modules): Add ISO-2022-CN. + Add link rules for this module. + (distribute): Add iso-2022-cn.c and cns11643l2.h. + * iconvdata/cns11643l2.h: New file. + * iconvdata/iso-2022-cn.c: New file. + * iconvdata/gconv-modules: Add entries for ISO-2022-CN module. + + * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Make string argument + unsigned. + (ucs4_to_cns11643l1): Likewise. + * iconvdata/euc-tw.c: Correct parameter passed to cns11643l1_to_ucs4. + + * iconvdata/iso-2022-kr.c: Remove unnecessary test from conversion + loop to UCS4. + Optimize recognition of escape sequences a bit. + + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove oldgetrlimit + and oldsetrlimit definitions. + +1999-12-27 Ulrich Drepper + + * iconvdata/run-iconv-test.sh: Improve test output a bit to allow + identifying errors more easily. + + * iconvdata/testdata/EUC-CN..UTF8: New file. + * iconvdata/testdata/GBK..UTF8: New file. + + * iconvdata/gbk.c: In mapping from UCS4: don't crash for undefined + mappings. Fix last patch. + * iconvdata/TESTS: Add GBK. + * iconvdata/testdata/GBK: New file. + + * iconvdata/gb2312.h (ucs4_to_gb2312): Fix mapping of 0x0101, + 0x2312, and 0x2500..0x254b. + * iconvdata/TESTS: Add EUC-CN. + * iconvdata/testdata/EUC-CN: New file. + + * iconvdata/gbgbk.c: New file. + * iconvdata/Makefile (modules): Add GBGBK. + (distribute): Add gbgbk.c. + * iconvdata/gconv-modules: Add entries for GBGBK modules. + + * iconvdata/euc-cn.c: Fix comment. + + * iconvdata/gbk.c: Optimize the switch statement in the conversion + to GBK a bit. + + * locale/programs/charmap.c (charmap_new_char): Recognize special + character names Uxxxx and Pxxxx and initialize the UCS4 value from + the value of xxxx. + +1999-12-17 Andreas Jaeger + + * stdlib/Versions: Export __cxa_atexit and __cxa_finalize. + +1999-12-16 Mark Mitchell + + * stdlib/Makefile (routines): Add cxa_atexit and cxa_finalize. + * stdlib/exit.h (flavor): Add ef_cxa. + (exit_function): Add cxa variant. + * stdlib/exit.c (exit): Handle ef_cxa exit functions. + * stdlib/cxa_atexit.c: New file. + * stdlib/cxa_finalize.c: New file. + +1999-12-27 Ulrich Drepper + + * iconvdata/gb2312.c: Update mapping of GB 0x212c from latest + Unicode tables. + +1999-12-26 Ulrich Drepper + + * sysdeps/unix/sysv/linux/fxstat64.c: Rename have_no_stat64 to + __have_no_stat64. + * sysdeps/unix/sysv/linux/lxstat64.c: Likewise. + * sysdeps/unix/sysv/linux/xstat64.c: Likewise. + + * sysdeps/unix/sysv/linux/mips/bits/resource.h: Remove inclusion + of . + +1999-12-26 Philip Blundell + + * sysdeps/unix/sysv/linux/arm/syscalls.list: Remove vm86. Set + argument count for `syscall' to 7. + * sysdeps/unix/sysv/linux/arm/sysdep.h: Add support for syscalls + with more than five arguments. + (DOARGS_5, UNDOARGS_5): Don't corrupt the calling stack frame. + +1999-12-26 Ulrich Drepper + + * locale/programs/ld-collate.c (collate_output): Don't start with empty + extrapool and indirectpool obstacks since we need the offsets to be + nonzero. + (collate_read): Call load_locale, not find_locale. + * locale/programs/ld-ctype.c (ctype_finish): If LC_CTYPE category + wasn't defined in the file also initialize repertoire if possible. + * locale/programs/ld-time.c (time_finish): Fix message string. + * locale/programs/linereader.c: Cast parameters of lr_error to + correct type to prevnet warning. + * locale/programs/localedef.c (load_locale): New file. + * locale/programs/localedef.h: Add its prototype. + * locale/programs/repertoire.c (repertoire_new_char): Add missing + parameters to lr_error call. + + * localedata/Makefile: Enable running tests again. + * localedata/tests/test2.def: Adjust syntax to new specification. + * localedata/tests/test3.def: Likewise. + * localedata/tst-trans.sh: Redirect output of program into file. + + * string/strcoll.c: Fix many error in new implementation to make it + pass (at least) the test suite. + + * locale/Makefile: Don't link localedef statically anymore. + + * locale/ld-collate.c (struct element_t): Add field is_character and + use it to distinguish real character from collating elements and + symbols. + (new_element): Take new parameter to initialize is_character. Change + all callers. + (handle_ellipsis): Use is_character field to make sure ellipsis is + only used with characters. + (collate_read): Fix reading of collating elements. + + * string/strxfrm.c: Correct loop end detection and memory access + in the little optimization at the end. + + * locale/programs/ld-monetary.c (monetary_finish): Correct code to + emit warnings. Provide default value for mon_decimal_point. + + * locale/programs/ld-collate.c (collate_finish): Don't crash if this + category wasn't defined. + (collate_output): Likewise. + + * locale/programs/ld-address.c: Don't emit message about not defined + category if be_quiet. + * locale/programs/ld-ctype.c: Likewise. + * locale/programs/ld-identification.c: Likewise. + * locale/programs/ld-measurement.c: Likewise. + * locale/programs/ld-messages.c: Likewise. + * locale/programs/ld-monetary.c: Likewise. + * locale/programs/ld-name.c: Likewise. + * locale/programs/ld-numeric.c: Likewise. + * locale/programs/ld-paper.c: Likewise. + * locale/programs/ld-telephone.c: Likewise. + * locale/programs/ld-time.c: Likewise. + + * locale/programs/locfile.c (write_locale_data): Correct memory + allocation for fname. + +1999-12-25 Ulrich Drepper + + * locale/programs/ld-collate.c (read_directions): Fix a few messages. + (collate_finish): Test that position is used in all sections for + a level or in none. + + * string/strxfrm.c: Optimize a bit. We don't need the highest bit + of the index returned by findidx. + + * string/strcoll.c: Complete rewrite for new collate implementation. + * wcsmbs/wcscoll.c: Don't use strcoll.c, implement dummy implementation + locally. + + * locale/C-collate.c (_nl_C_LC_COLLATE): Add one more entry for the + indirect table. + * locale/langinfo.h: Likewise. + * locale/categories.def: Likewise. Remove reference to postload + functions. + * locale/lc-collate.c (_nl_postload_collate): Removed. Also remove + __collate_tablemb, __collate_weightmb, and __collate_extramb. + * locale/localeinfo.h: Remove declaration for removed variables above. + Remove prototype for _nl_get_era_entry. + * locale/weight.h: Complete rewrite for new collate implementation. + * locale/programs/ld-collate.c: Many changes to make output file + usable in strxfrm/strcoll. + * string/strxfrm.c: Complete rewrite for new collate implementation. + * wcsmbs/wcsxfrm.c: Don't use strxfrm.c, implement dummy implementation + locally. + +1999-12-25 Shinya Hanataka + + * locale/programs/ld-ctype.c (allocate_arrays): Correctly assign + transformation values for chars >255. + * wctype/wctrans.c: Return pointer unmodified. + +1999-12-24 Ulrich Drepper + + * sysdeps/posix/system.c (__libc_system): Check whether command + processor is available if LINE is NULL. Don't return immediately + if wait call returned with EINTR. + Patches by Geoff Clare (PR libc/1497 and libc/1498). + +1999-12-23 Ulrich Drepper + + * locale/programs/ld-monetary.c (monetary_finish): Add cast to + prevent warning. + + * locale/programs/ld-collate.c: Implement writing out multibyte + collation data. + + * locale/setlocale.c (setlocale): Allow setting LC_COLLATE again. + * locale/localeinfo.h: Declare variables only for currently implemented + collate functionality. Remove FORWARD_CHAR and ELLIPSIS_CHAR. + * locale/lc-collate.c: Define variables only for currently implemented + functionality. + * locale/langinfo.h: Define symbols only for currently implemented + functionality. + * locale/categories.def: Define elements for currently implemented + functionality. + * locale/C-collate.c: Comment out definitions of arrays with symbol + name definitions etc. + (_nl_C_LC_COLLATE): Update for currently defined information. + + * intl/libintl.h: Remove dcgettext macro definition. + * intl/gettextP.h: Declare _nl_msg_cat_cntr. + + * locale/iso-4217.def: Add NAD. Remove a few obsolete entries. + + * sysdeps/generic/glob.c (glob): Pass alternate file access functions + also in recursive call. Patch by Joe Orton . + +1999-12-22 Jakub Jelinek + + * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Use proper type + for __fenv_stfsr argument. + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add + truncate64, ftruncate64, fstat64, lstat64, stat64 and mmap2. + Remove ugetrlimit. + * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h + (XSTAT_IS_XSTAT64): Define. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Add + __libc_lseek64, __libc_pread, __libc_pread64, __libc_pwrite + and __libc_pwrite64. + Remove oldgetrlimit and oldsetrlimit. + * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat64.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat64.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/xstat64.c: New file. + + * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): Pass the buf + pointer to the syscall, not address of that pointer. + * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise. + * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise. + (__syscall_stat64): Provide proper prototype. + + * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Share + has_no_truncate64 between truncate64 and ftruncate64. + * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise. + + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL, + __ASSUME_STAT64_SYSCALL): Define on Sparc for kernels >= 2.3.35. + +1999-12-22 Andreas Jaeger + + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __libc_lseek64, + __libc_pread, __libc_pread64, __libc_pwrite and __libc_pwrite64. + +1999-12-21 Shinya Hanataka + + * locale/lc-time.c: Extend structure era_entry. + * locale/localeinfo.h: Likewise. + * locale/lc-time.c: Handle '-' direction used in locale's era part + properly. + * time/strptime.c: Likewise. + * time/strftime.c: Likewise. + * locale/programs/ld-time.c: Consider negative values in era part + of locale as B.C.. + * time/strptime.c (strptime_internal): Merged Yoshiyama's + %E[CyY] implementation. + +1999-12-21 Akira Yoshiyama + + * time/strptime.c (strptime_internal): Fix segV bugs of a couple + of recursive() call. + * time/strptime.c (strptime_internal): Implement `%EC',`%Ey',`%EY' + parsing. + +1999-12-21 Ulrich Drepper + + * sysdeps/arm/dl-machine.c (CLEAR_CACHE): Fix a2 value. + Patch by Scott Bambrough . + +1999-12-21 Andreas Schwab + + * sysdeps/unix/sysv/linux/pread.c: Fix typo. + + * include/unistd.h: Declare __libc_lseek. + +1999-12-21 Andreas Jaeger + + * stdlib/longlong.h: Remove __P. + +1999-12-21 Andreas Jaeger + + * sysdeps/powerpc/fpu/libm-ulps: New file. + +1999-12-21 Ulrich Drepper + + * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Include sys/ucontext.h + and remove definitions for NREGS, greg_t, gregset_t, and fpregset_t. + +1999-12-21 Andreas Jaeger + + * sysdeps/unix/sysv/linux/m68k/putpmsg.c: Add missing #. + * sysdeps/unix/sysv/linux/mips/putpmsg.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: Likewise. + * sysdeps/unix/sysv/linux/mips/getmsg.c: Add missing #. + * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/getpmsg.c: Add missing #. + * sysdeps/unix/sysv/linux/mips/getpmsg.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: Likewise. + +1999-12-21 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/getmsg.c: New file. + * sysdeps/unix/sysv/linux/i386/getpmsg.c: New file. + * sysdeps/unix/sysv/linux/i386/putmsg.c: New file. + * sysdeps/unix/sysv/linux/i386/putpmsg.c: New file. + * sysdeps/unix/sysv/linux/m68k/getmsg.c: New file. + * sysdeps/unix/sysv/linux/m68k/getpmsg.c: New file. + * sysdeps/unix/sysv/linux/m68k/putmsg.c: New file. + * sysdeps/unix/sysv/linux/m68k/putpmsg.c: New file. + * sysdeps/unix/sysv/linux/mips/getmsg.c: New file. + * sysdeps/unix/sysv/linux/mips/getpmsg.c: New file. + * sysdeps/unix/sysv/linux/mips/putmsg.c: New file. + * sysdeps/unix/sysv/linux/mips/putpmsg.c: New file. + * sysdeps/unix/sysv/linux/powerpc/getmsg.c: New file. + * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: New file. + * sysdeps/unix/sysv/linux/powerpc/putmsg.c: New file. + * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: New file. + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getpmsg and + putpmsg. + +1999-12-20 Ulrich Drepper + + * sysdeps/unix/sysv/linux/lxstat64.c: Include "kernel-features.h" + before testing for __ASSUME_STAT64_SYSCALL. + * sysdeps/unix/sysv/linux/fxstat64.c: Likewise. + * sysdeps/unix/sysv/linux/xstat64.c: Likewise. + +1999-12-20 Andreas Schwab + + * manual/install.texi (Running make install): Clearify that + install_root should be an absolute file name. + +1999-12-20 Ulrich Drepper + + * iconv/gconv.c (__gconv): Deal with outbuf being NULL. + + * iconv/iconv.c (iconv): Allow omitting output buffer if no input + buffer is given to place conversion descriptor in initial state. + * iconvdata/gconv-modules: Correct aliases CSPC850MULTILINGUAL and + CSPC862LATINHEBREW. + * iconvdata/gconv-modules: Add aliases GB2312 and csGB2312 + (according to IANA registry). + Reported by Bruno Haible . + + * iconvdata/johab.c: Correct completely broken conversion to JOHAB. + + * locale/categories.def: Remove most of the collate definitions. + * locale/langinfo.h: Comment out corresponding definitions. + * locale/programs/locale-spec.c (locale_special): Don't recognize the + collate names yet. + * locale/programs/ld-collate.c: Correct and optimize computation of + weights. Set up list of all definitions correctly. Start writing + function to generate output file. + + * locale/programs/ld-ctype.c (allocate_arrays): Increment counter in + loop to compute default mapping. + +1999-12-19 Ulrich Drepper + + * sysdeps/unix/sysv/linux/powerpc/pread.c: Define __libc_* variant for + cancelation wrapper. + * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise. + +1999-12-19 Andreas Jaeger + + * sysdeps/generic/libc-start.c: Remove declaration of + __libc_open. Move declaration of __libc_fcntl to ... + * include/fcntl.h: ...here. + + * include/unistd.h: Move __libc_open and __libc_open64 to ... + * include/fcntl.h: ...here. + + * malloc/malloc.h (__attribute_malloc__): Only define if hasn't + happened yet. + + * malloc/Versions: __libc_freeres was exported with glibc 2.1.3, + rename label. + +1999-12-19 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/resource.h: Remove + inclusion. + +1999-12-19 Andreas Jaeger + + * include/string.h: Mark __strndup with __attribute_malloc__. + +1999-12-19 Ulrich Drepper + + * locale/langinfo.h: Always define CODESET. + (CODESET): Define also as macro. + + * stdio-common/printf_fp.c (__printf_fp): Allocate buffer to + generate mantissa output in using malloc if it is larger than + 20000 characters. + Reported by Jim Meyering . + +1999-12-18 Ulrich Drepper + + * misc/sys/cdefs.h: Define __attribute_malloc__ according to + available gcc version. + * string/string.h: Mark strdup, __strdup, and strndup with + __attribute_malloc__. + * stdlib/stdlib.h: Make malloc, calloc, realloc, and valloc with + __attribute_malloc__. + * malloc/malloc.h: Make malloc, calloc, realloc, valloc, pvalloc, + and __default_morecore with __attribute_malloc__. + Provide default definition for __attribute_malloc__. + * libio/stdio.h: Make tempnam with __attribute_malloc__. + + * include/unistd.h: Declare __libc_open64, __libc_lseek64, + __libc_pread, __libc_pread64, __libc_pwrite, and __libc_pwrite64. + * io/Versions: Export __libc_open64 and __libc_lseek64. + * posix/Versions: Export __libc_pread, __libc_pread64, __libc_pwrite, + and __libc_pwrite64. + * sysdeps/generic/open64.c: Define __libc_* variant for cancelation + wrapper. + * sysdeps/generic/pread.c: Likewise. + * sysdeps/generic/pread64.c: Likewise. + * sysdeps/generic/pwrite.c: Likewise. + * sysdeps/generic/pwrite64.c: Likewise. + * sysdeps/posix/open64.c: Likewise. + * sysdeps/posix/pread.c: Likewise. + * sysdeps/posix/pread64.c: Likewise. + * sysdeps/posix/pwrite.c: Likewise. + * sysdeps/posix/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/llseek.c: Likewise. + * sysdeps/unix/sysv/linux/pread.c: Likewise. + * sysdeps/unix/sysv/linux/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/i386/pread.c: Likewise. + * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise. + + * sysdeps/posix/open64.c: Help gcc generating better code. + + * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_open + instead of __open. + +1999-12-11 H.J. Lu + + * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_fcntl + instead of __fcntl. + +1999-12-18 Ulrich Drepper + + * iconvdata/isiri-3342.c: New file. + * iconvdata/Makefile (modules): Add ISIRI-3342. + (distribute): Add isiri-3342.c. + (gen-8bit-gap-modules): Add isiri-3342. + * iconvdata/gconv-modules: Add entries for ISIRI-3342. + + * malloc/Versions: Export __libc_freeres for GLIBC_2.1. + + * sysdeps/unix/sysv/linux/i386/setrlimit.c: Declare local variable + result if necessary. + + * sysdeps/unix/sysv/linux/i386/bits/resource.h: Don't depend on the + unreliable kernel headers. + * sysdeps/unix/sysv/linux/bits/resource.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/resource.h: New file. + * sysdeps/unix/sysv/linux/mips/bits/resource.h: New file. + +1999-12-18 Andreas Jaeger + + * config.make.in (datadir): Added. + Closes PR libc/1491. Patch by dervishd@jazzfree.com. + +1999-12-18 Andreas Jaeger + + * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Save and + set errno. + * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise. + +1999-12-18 Andreas Jaeger + + * sysdeps/unix/sysv/linux/fxstat64.c: Rewrite to use fstat64 + syscall if available. + * sysdeps/unix/sysv/linux/lxstat64.c: Likewise for lstat64. + * sysdeps/unix/sysv/linux/xstat64.c: Likewise for stat64. + + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_STAT64_SYSCALL): New. + +1999-12-17 Scott Bambrough + + * sysdeps/arm/dl-machine.h (CLEAR_CACHE): New macro to force a + cache flush. + * elf/dl-reloc.c (_dl_relocate_object): Add call to flush cache + after .text segment fixups. + +1999-12-16 Andreas Jaeger + + * rt/aio.h: Remove erroneous __restrict declarations. + +1999-12-18 Ulrich Drepper + + * scripts/rellns-sh: Find pwd program also in /usr/bin and let shell + do the job if it is there neither. + Patch by David R. Conrad (PR libc/1485). + +1999-12-16 Andreas Jaeger + + * sysdeps/ieee754/bits/nan.h (NAN): Rename union to avoid + duplicate definition with function __nan. + Closes PR libc/1487 reported by . + +1999-12-17 Ulrich Drepper + + * string/bits/string2.h (__strsep): Help gcc optimizing string access. + + * locale/programs/ld-collate.c: Implement handling of absolute + ellipsis. Parsing of file and constructing the internal data + structures should now be complete. + (collate_finish): Start adding support to generate the data + structures which are written out to the file. + + * intl/dcgettext.c: Rewrite to handle caching of previous results here + instead of in the dcgettext macro. + * intl/libintl.h (dcgettext): Don't define for systems using this + glibc or systems with tsearch. + + * sysdeps/generic/mathdef.h: Protect definitions for math.h + against double inclusion. + * sysdeps/alpha/fpu/bits/mathdef.h: Likewise. + * sysdeps/i386/fpu/bits/mathdef.h: Likewise. + * sysdeps/m68k/fpu/bits/mathdef.h: Likewise. + * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise. + + * sysdeps/i386/fpu/libm-test-ulps: Add more deltas (are mobile PIIs + that different?). + +1999-12-17 Andreas Jaeger + + * rt/aio.h (struct aiocb64): Add member __next_prio to sync the + struct with aiocb. + + * rt/Makefile (tests): Added tst-aio64. + Added dependency rules for tst-aio64. + + * rt/tst-aio64.c: New file, copied from tst-aio.c and changed for + 64bit tests. + +1999-12-15 Thorsten Kukuk + + * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: Removed. + * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: Removed. + * sysdeps/unix/sysv/linux/bits/resource.h: Change RLIM_INFINITY back to + old value (signed long). + * sysdeps/unix/sysv/linux/i386/bits/resource.h: New, with unsigned + long RLIM_INFINITY. + * sysdeps/unix/sysv/linux/getrlimit.c: Moved from here to ... + * sysdeps/unix/sysv/linux/i386/getrlimit.c: ... here. + * sysdeps/unix/sysv/linux/getrlimit64.c: Moved from here to ... + * sysdeps/unix/sysv/linux/i386/getrlimit64.c: ... here. + * sysdeps/unix/sysv/linux/oldgetrlimit64.c: Moved from here to ... + * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: ... here. + * sysdeps/unix/sysv/linux/oldsetrlimit64.c: Moved from here to ... + * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: ... here. + * sysdeps/unix/sysv/linux/setrlimit.c: Moved from here to ... + * sysdeps/unix/sysv/linux/i386/setrlimit.c: ... here. + * sysdeps/unix/sysv/linux/setrlimit64.c: Moved from here to ... + * sysdeps/unix/sysv/linux/i386/setrlimit64.c: ... here. + * sysdeps/unix/sysv/linux/sparc/bits/resource.h: New. + * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: Removed. + * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: Removed. + +1999-12-17 Andreas Jaeger + + * elf/ldconfig.c: Add new option -l to manualy link shared + libraries. + (options): Added option. + (parse_opt): Set option. + (main): Handle option. + (manual_link): New function. + +1999-12-17 Thorsten Kukuk + + * string/bits/string2.h: Fix patch from 1999-12-07. + +1999-12-16 Ulrich Drepper + + * sysdeps/generic/strsep.c: If delim string has only one character + don't run over end of string. + + * locale/programs/ld-collate.c (insert_weights): Also update next + pointer of last cursor element. + (insert_value): Return nonzero value if nothing got inserted. + (handle_ellipsis): Don't do anything if to-value cannot be inserted. + +1999-12-10 Jakub Jelinek + + * stdlib/longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT + where appropriate. + +1999-12-10 Jakub Jelinek + + * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction): + Copy sa_flags into kernel sigaction structure. + +1999-12-14 Andreas Jaeger + + * string/tester.c (test_strsep): More tests for access beyond + the final NUL. The first two tests come from PR libc/1486 by + martinea@iro.umontreal.ca. + +1999-12-14 Thorsten Kukuk + + * nis/ypclnt.c: Correct handling of cached client handles. + (__xdr_ypresp_all): Call callback function for errors, too, + like Solaris does. + * nis/nss_compat/compat-grp.c: Make sure errno is always set correct. + * nis/nss_compat/compat-initgroups.c: Likewise. + * nis/nss_compat/compat-spwd.c: Likewise. + * nis/nss_nis/nis-alias.c: Likewise. + * nis/nss_nis/nis-ethers.c: Likewise. + * nis/nss_nis/nis-grp.c: Likewise. + * nis/nss_nis/nis-hosts.c: Likewise. + * nis/nss_nis/nis-netgrp.c: Likewise. + * nis/nss_nis/nis-publickey.c: Likewise. + * nis/nss_nis/nis-service.c: Likewise. Also use services.byservicename + Map if available, optimize query if name/port and protocol is known. + +1999-12-12 Ulrich Drepper + + * locale/programs/ld-collate.c (collate_read): Make symbolic + ellipsis work. Remove old and unused code. + +1999-12-11 Ulrich Drepper + + * locale/programs/ld-collate.c (collate_read): Implement + reorder-section handling. + +1999-12-10 Ulrich Drepper + + * locale/programs/ld-collate.c: Implement "copy" in LC_COLLATE. + + * locale/programs/ld-collate.c (collate_read): Add handling of + reorder-after. + + * locale/programs/ld-collate.c: Many changes to implement parsing + of collation definition (still not complete). + +1999-12-09 Andreas Jaeger + + * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Always set + errno to ENOENT when returning NSS_STATUS_NOTFOUND. + Reported by Christian Starkjohann . + +1999-12-09 Andreas Jaeger + + * sysdeps/i386/fpu/libm-test-ulps: Added some ulps. + +1999-12-09 Jakub Jelinek + + * stdlib/longlong.h: Update from latest egcs version. + + * sysdeps/sparc/fpu/fegetenv.c: Add semicolons. + + * sysdeps/unix/sysv/linux/bits/errno.h (__errno_location): __THROW + has to preceede __attribute__, otherwise g++ barfs. + + * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Make things compile + on sparc64-*-linux. + + * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Changed to + use sigcontext. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise. + +1999-12-05 Wolfram Gloger + + * malloc/malloc.c (arena_get2): If generating a new arena fails, + try to generate a minimal one and hope for mmap_chunk() to succeed + later. + +1999-11-07 Wolfram Gloger + + * malloc/thread-m.h [NO_THREADS]: The mutex_* macros now let + mutex_t work as an `in-use' flag even without threads. + * malloc/malloc.c (USE_ARENAS): New feature flag, controls support + for multiple arenas separately from NO_THREADS. + (mALLOc, chunk_realloc, mEMALIGn, cALLOc) [USE_ARENAS]: try to + fall back to an mmap()ed arena when sbrk() has failed. + +1999-12-09 Ulrich Drepper + + * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit, + getrlimit64, setrlimit64 for GLIBC_2.1.3. + * sysdeps/unix/sysv/linux/i386/Versions: Add getrlimit, setrlimit, + getrlimit64, setrlimit64 for GLIBC_2.1.3. + * sysdeps/unix/sysv/linux/i386/Makefile: Add rules for + oldgetrlimit and oldsetrlimit. + * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldgetrlimit and + oldsetrlimit. + * sysdeps/unix/sysv/linux/Makefile: Move oldgetrlimit and + oldsetrlimit rules into 32-bit arch subdirs. + * sysdeps/unix/sysv/linux/syscalls.list: Likewise. + + * locale/programs/ld-collate.c (insert_value): If this is the + first symbol the cursor can be the same as the next pointer. + +1999-12-08 Ulrich Drepper + + * locale/programs/ld-ctype.c (ctype_output): Correct sizes of mapping + arrays. + (allocate_arrays): Allocate memory for map32. Correctly install + default values in it and install defined mappings. + + * locale/programs/ld-monetary.c (monetary_finish): Provide default + value for mon_grouping. + + * elf/readlib.c: Include a.out.h last since the Linux/Alpha + headers are not clean enough. + + * sysdeps/unix/sysv/linux/getrlimit.c: Remove K&R compatibility. + + * sysdeps/unix/sysv/linux/kernel-features.h: Define + __ASSUME_TRUNCATE64_SYSCALL and __ASSUME_MMAP2_SYSCALL for 2.3.31 + on x86. + * sysdeps/unix/sysv/linux/ftruncate64.c: New file. + * sysdeps/unix/sysv/linux/truncate64.c: New file. + * sysdeps/unix/sysv/linux/i386/mmap.S: Allow using mmap2. + * sysdeps/unix/sysv/linux/i386/mmap64.S: New file. + + * ctype/Versions: Add __ctype32_tolower and __ctype32_toupper. + * ctype/ctype-info.c: Define __ctype32_tolower and __ctype32_toupper. + * locale/C-ctype.c: Add _nl_C_LC_CTYPE_toupper32 and + _nl_C_LC_CTYPE_tolower32 tables. + Don't compile it names of 14652 classes and maps. + * locale/langinfo.h: Define _NL_CTYPE_TOUPPER32 and + _NL_CTYPE_TOLOWER32. + * locale/lc-ctype.c (_nl_postload_ctype): Initialize __ctype32_toupper + and __ctype32_tolower. + * locale/programs/ld-ctype.c (struct locale_ctype_t): Add map32. + (ctype_output): Write out map32 values. + (allocate_arrays): Compute mapping tables correctly. + * wctype/wcfuncs.c (towlower): Use __ctype32_tolower. + (towupper): Use __ctype32_toupper. + * wctype/wctype.h: Optimize towupper and towlower for values < 256. + + * locale/programs/ld-ctype.c (set_class_defaults): Correctly + determine tolower mapping for 8bit table if the tolower keyword is + not given. + + * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't fail if host has + only IPv6 address. Reported by Artur Frysiak . + +1999-12-07 Jakub Jelinek + + * string/bits/string2.h (__memset_gc, __mempcpy_small, __strcpy_small, + __stpcpy_small): Cast switch expressions to int to shut up compiler + warnings. + +1999-12-07 Scott Bambrough + + * sysdeps/arm/dl-machine.h (elf_machine_rel): Fixup R_ARM_PC24 + relocs if possible. + +1999-12-06 Andreas Schwab + + * sysdeps/unix/sysv/linux/setrlimit.c: First find out wether the + ugetrlimit syscall exists. + + * sysdeps/unix/sysv/linux/getrlimit.c: Only put versions on + exported symbols. + * sysdeps/unix/sysv/linux/setrlimit.c: Likewise. + +1999-12-07 Ulrich Drepper + + * iconvdata/ansi_x3.110.c (from_ansi_x3_110): Don't increment + pointers if character is illegal. + Reported by Bruno Haible . + + * iconv/gconv_db.c (gen_steps): Set __counter initialy to 1. + (increment_counter): New function. Broken out of find_derivation. + (find_derivation): No need for a lock. Increment counter only when + the derivation was already available. + * iconv/gconv_dl.c: Add debugging functions. + (known_compare): We have to use strcmp. + Reported by Bruno Haible . + +1999-12-06 Ulrich Drepper + + * iconvdata/sami-ws2.c (CHARSET_NAME): Fix typo. + * iconvdata/iso_2033.c (CHARSET_NAME): Fix typo. + * iconvdata/ecma-cyrillic.c (CHARSET_NAME): Fix typo. + * iconvdata/gconv-modules: Correct ISO646-PT2 alias. Add + SHIFT_JIS alias. + Reported by Bruno Haible . + + * locale/programs/xstrdup.c: It's _LIBC, not __LIBC. + +1999-12-03 Andreas Jaeger + + * nss/getXXbyYY.c: Include + (FUNCTION_NAME): Use res_ninit instead of res_init. + + * nss/getXXbyYY_r.c [NEED__RES]: Include for _res + declaration and prototypes. + Remove extra _res declaration. + (INTERNAL): Use thread aware res_ninit function. + + * inet/gethstbyad_r.c: Include . + + * resolv/res_data.c: Update from Bind 8.2.2-P5. Moved res_init to + res_libc.c. Disabled unneeded functions. + + * resolv/res_libc.c: New file. + + * Versions.def: Add version GLIBC_2.2 for libpthread. + Add versions GLIBC_2.1 and GLIBC_2.2 for libresolv. + + * include/resolv.h: Add internal interfaces. + + * resolv/Makefile (routines): Add new files. + (libresolv-routines): Likewise. + (distribute): Likewise. + + * resolv/gethnamaddr.c: Use thread safe resolver functions. + * resolv/nss_dns/dns-host.c: Likewise. + * resolv/nss_dns/dns-network.c: Likewise. + + * resolv/arpa/nameser.h: Update from Bind 8.2.2-P5. + * resolv/nsap_addr.c: Likewise. + * resolv/res_comp.c: Likewise. + * resolv/res_debug.c: Likewise. + * resolv/res_init.c: Likewise. + * resolv/res_mkquery.c: Likewise. + * resolv/res_query.c: Likewise. + * resolv/res_send.c: Likewise. + * resolv/resolv.h: Likewise. + + * resolv/Versions: Add __res_state and __res_ninit with version + GLIBC_2.2 to libc. + Add new interfaces with version GLIBC_2.2 to libresolv. + + * resolv/Banner: Update. + + * include/arpa/nameser_compat.h: New file. + + * resolv/ns_name.c: New file from Bind 8.2.2-P5. + * resolv/ns_netint.c: Likewise. + * resolv/ns_parse.c: Likewise. + * resolv/ns_print.c: Likewise. + * resolv/ns_samedomain.c: Likewise. + * resolv/ns_ttl.c: Likewise. + * resolv/arpa/nameser_compat.h: Likewise. + * resolv/res_debug.h: Likewise. + + Some patches are based on work done by Adam D. Bradley + . + +1999-11-30 Andreas Jaeger + + Add ldconfig: + * elf/Makefile (extra-objs): Added ldconfig-modules. + (ldconfig-modules): New. + Added vpath for xstrdup and xmalloc. + Check for use-ldconfig instead of has-ldconfig. + ($(objpfx)ldconfig): New rule with dependencies. + (distribute): Add new files. + + * sysdeps/unix/sysv/linux/sparc/readelflib.c: New file, + developed together with Jakub Jelinek . + * sysdeps/generic/readelflib.c: Likewise. + + * elf/cache.c: New file. + * elf/ldconfig.c: New file. + * elf/ldconfig.h: New file. + * elf/readlib.c: New file. + + * Makefile (install): Remove flag -d in ldconfig call. + + * configure.in: Rename has_ldconfig to use_ldconfig, set it to no + by default. + + * config.make.in (has-ldconfig): Renamed to use-ldconfig, changed + comment. + + * sysdeps/unix/sysv/linux/configure.in: Remove check for ldconfig, + set always use_ldconfig instead. + +1999-12-03 Ulrich Drepper + + * sysdeps/generic/bits/stropts.h: Update with LiS types and + values. Patch by David Grothe . + + * sysdeps/unix/sysv/linux/bits/types.h (__t_scalar_t, __t_uscalar_t): + Make long types. + * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise. + +1999-12-02 Akira Yoshiyama + + * locale/lc-time.c (_nl_get_era_entry): Separate eras + initialization as _nl_init_era_entry(). + * locale/lc-time.c (_nl_get_era_nf_entry): New function. + * locale/lc-time.c (_nl_get_era_year_offset): New function. + * locale/lc-time.c (_nl_get_era_year_start): New function. + * locale/localeinfo.h: Declare new functions. + Define ERA_NAME_FORMAT_MEMBERS, ERA_M_NAME, ERA_M_FORMAT, ERA_W_NAME, + and ERA_W_FORMAT. + +1999-12-02 Ulrich Drepper + + * posix/regex.c (SYNTAX): Make more portable. + Patch by Aharon Robbins . + +1999-11-18 Roland McGrath + + * hurd/hurdsig.c (_hurdsig_init): If __hurd_threadvar_stack_mask is + nonzero, use cthread_fork to create the signal thread. + * hurd/msgportdemux.c (_hurd_msgport_receive): Initialize + _hurd_msgport_thread here (to self). + * sysdeps/mach/hurd/fork.c (__fork): When __hurd_sigthread_stack_end + is zero, instead compute child signal thread's starting SP from parent + signal thread's current SP and the threadvar_stack variables. + * hurd/Versions (GLIBC_2.1.3): Add cthread_fork, cthread_detach. + These are now referenced weakly by _hurdsig_init. + + * hurd/report-wait.c (_S_msg_report_wait): Fix typo: + &_hurd_itimer_thread not &_hurd_msgport_thread. + +1999-10-01 Roland McGrath + + * hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Rewrite + without HURD_DPORT_USE to clean up warnings. + * hurd/dtable.c (get_dtable_port): Likewise. + + * hurd/hurdioctl.c (rectty_dtable): Renamed to install_ctty. + (install_ctty): Do the changing of the cttyid port cell here, inside + the critical section while we holding the dtable lock. + (_hurd_setcttyid, tiocsctty, tiocnotty): Use that instead of changing + the port cell and calling rectty_dtable. + (_hurd_locked_install_cttyid): New function, split out of install_ctty. + (install_ctty): Use it inside a critical section, with the lock held. + * sysdeps/mach/hurd/setsid.c (__setsid): Use + _hurd_locked_install_cttyid to effect the cttyid and dtable changes + after proc_setsid, having held the dtable lock throughout. + * hurd/dtable.c (ctty_new_pgrp): With the dtable lock held, check the + cttyid port for null and bail out early if so. The dtable lock + serializes us after any cttyid change and its associated dtable update. + +1999-11-14 Roland McGrath + + * sysdeps/mach/hurd/nfs/nfs.h: New file, empty but for comments. + Its presence lets librpcsvc compile ok. This from Mark Kettenis. + We don't install this file for users. + * sysdeps/mach/hurd/Dist: Add it. + * sysdeps/mach/hurd/Makefile [$(subdir) = sunrpc] (sysdep_headers): + Append nfs/nfs.h here. + +1999-12-01 Andreas Jaeger + + * sysdeps/generic/if_index.c (__protocol_available): Add missing + int for parameter. + + * stdio/stdio.h: Fix typo. + Patches by Marcus G. Daniels . + +1999-12-01 Andreas Jaeger + + * scripts/test-installation.pl (installation_problem): Filter out + libpthread_db. + +1999-12-01 Andreas Schwab + + * sysdeps/unix/sysv/linux/alpha/bits/types.h: Fix signedness of + __rlim_t and __rlim64_t. + * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise. + +1999-12-01 Andreas Schwab + + * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add + oldgetrlimit64 and oldsetrlimit64 for subdir = resource. + * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit, + getrlimit64 and setrlimit64 to version GLIBC_2.1.3. + * sysdeps/unix/sysv/linux/setrlimit.c: Correct handling of old and + new kernel version. Add symbol versions. + * sysdeps/unix/sysv/linux/syscalls.list: Add oldsetrlimit and + oldgetrlimit. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_getrlimit + and s_ugetrlimit. + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/getrlimit.c: New file. + * sysdeps/unix/sysv/linux/getrlimit64.c: New file. + * sysdeps/unix/sysv/linux/oldgetrlimit64.c: New file. + * sysdeps/unix/sysv/linux/oldsetrlimit64.c: New file. + * sysdeps/unix/sysv/linux/setrlimit64.c: New file. + * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: New file. + * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: New + file. + * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: New + file. + +1999-12-01 Ulrich Drepper + + * sysdeps/generic/usleep.c: Fix typo. + + * sysdeps/generic/sys/ptrace.h: Remove K&R compatibility. + + * sysdeps/unix/Makefile (param.h.dep): Filter out sys/param.h + itself. + + * sysdeps/unix/sysv/bits/utsname.h: Test for _SYS_UTSNAME_H, not + _UTSNAME_H. + + * malloc/set-freeres.c: Really use already_called variable. + + * libio/iosetbuffer.c: Use _IO_WSETBUF instead of constructing + function call directly. + * libio/iosetvbuf.c: Likewise. + +1999-11-29 Ulrich Drepper + + * configure.in: Add AIX 4.3 support. + + * iconvdata/gconv-modules: Correct alias for ISO-8859-10. This + standard was issued in 1992. + Reported by Bruno Haible . + +1999-11-29 Thorsten Kukuk + + * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add define for + SIGCLD als SIGCHLD. + +1999-11-29 Andreas Jaeger + + * manual/time.texi (Basic CPU Time): Better describe wrap around. + Patch by Andries Brouwer . + +1999-11-29 Ulrich Drepper + + * iconvdata/gconv-modules: Fix typos in LATIN8/L8 aliases. + Patch by Bruno Haible . + +1999-11-29 Thorsten Kukuk + + * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Remove K&R compatibility. + +1999-11-29 Andreas Schwab + + * sysdeps/m68k/bits/byteswap.h (__bswap_32): Rename local variable + __v to __bswap_32_v. + (__bswap_64): Rename local variables __v and __r to __bswap_64_v + and __bswap_64_r to avoid clash with __bswap_32 macro. + +1999-11-28 Ulrich Drepper + + * iconvdata/t.61.c (CHARSET_NAME): Correct name to what is used in + gconv-modules. + +1999-11-26 Ulrich Drepper + + * locale/programs/ld-ctype.c (allocate_arrays): Complete last + patch. Use wch instead of idx to compute index. + Patch by Shinya Hanataka . + + * inet/rcmd.c (ruserok): Use iruserok2 not iruserok. + + * locale/iso-3166.def: Update from latest official list. + +1999-11-26 Thorsten Kukuk + + * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Include + asm/ptrace.h, since this will not be done with 2.3.xx automatically + * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise. + +1999-11-26 Andreas Jaeger + + * libio/libioP.h: Remove duplicate declaration of _IO_wsetb. + +1999-11-26 Andreas Jaeger + + * inet/rcmd.c: Include stdlib for declaration of free. + Declare iruserok. + +1999-11-25 Ulrich Drepper + + * iconv/gconv.c (__gconv): Always initialize + cd->__data[last_step].__outbuf and cd->__data[last_step].__outbufend. + + * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Update number of + written bytes. + * iconvdata/iso-2022-jp.c: Likewise. + +1999-11-25 H.J. Lu + + * stdlib/exit.c (exit): Run funtions only if + __exit_funcs->idx > 0. + +1999-11-25 Ulrich Drepper + + * manual/charset.texi (iconv Examples): Add iconv call to flush + state. Reported by Andrew Clausen . + +1999-11-25 Andreas Jaeger + + * manual/install.texi (Running make install): Better describe + update from libc5. + Patch by Michael Deutschmann . + +1999-11-25 Andreas Jaeger + + * include/sys/mman.h: Remove K&R compatibility. + +1999-11-15 Andreas Jaeger + + * misc/sys/mman.h: Use __REDIRECT for mmap, correct prototype to + use __off64_t. + +1999-11-25 Ulrich Drepper + + * iconv/iconv_prog.c (process_block): For stateful charsets write + out byte sequence to get to initial state at the end of the file. + +1999-11-25 Andreas Schwab + + * Makeconfig: Include sys-dirs and sys-sorted earlier. + ($(common-objpfx)soversions.mk): Wait until subdirs is complete. + ($(common-objpfx)sysd-sorted): Emit marker when this file is + complete. + +1999-11-24 Ulrich Drepper + + * manual/setjmp.texi: Many changes to correct bad English introduced + mainly by me. + * manual/time.texi: Likewise. + Patches by Neil Booth . + + * include/string.h: Remove K&R compatibility. + +1999-11-23 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/signum.h (SIGSYS): New definition. + + * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE802_TR): Added. + + * string/stratcliff.c: Add one more strchr test for something + which was reported to not work (which proofed to be wrong). + + * iconv/skeleton.c: It's __is_last, not is_last. + + * locale/programs/ld-ctype.c (ctype_finish): Correct method to find + the UCS value. + (allocate_arrays): Likewise. + (find_idx): Correctly increase array size. + Patches by Shinya Hanataka . + +1999-11-23 Thorsten Kukuk + + * iconv/skeleton.c: Don't access next_step->fct if data->is_last + is true. + +1999-11-23 Andreas Jaeger + + * include/sys/select.h: Remove K&R compatibility. + * include/sys/statfs.h: Likewise. + * include/gnu/libc-version.h: Likewise. + * include/db_185.h: Likewise. + * include/dlfcn.h: Likewise. + * include/search.h: Likewise. + * include/setjmp.h: Likewise. + * include/signal.h: Likewise. + * include/stdio.h: Likewise. + * include/unistd.h: Likewise. + +1999-11-23 Andreas Jaeger + + * include/aio.h: Remove __THROW from internal interfaces. __THROW + is only need in external header files that might be compiled by a + C++ compiler. + * include/alloca.h: Likewise. + * include/db.h: Likewise. + * include/dirent.h: Likewise. + * include/execinfo.h: Likewise. + * include/fpu_control.h: Likewise. + * include/glob.h: Likewise. + * include/grp.h: Likewise. + * include/libintl.h: Likewise. + * include/math.h: Likewise. + * include/math.h: Likewise. + * include/mntent.h: Likewise. + * include/mntent.h: Likewise. + * include/netdb.h: Likewise. + * include/pwd.h: Likewise. + * include/sched.h: Likewise. + * include/shadow.h: Likewise. + * include/stdlib.h: Likewise. + * include/sys/file.h: Likewise. + * include/sys/gmon.h: Likewise. + * include/sys/ioctl.h: Likewise. + * include/sys/socket.h: Likewise. + * include/sys/stat.h: Likewise. + * include/sys/sysinfo.h: Likewise. + * include/sys/time.h: Likewise. + * include/sys/times.h: Likewise. + * include/sys/uio.h: Likewise. + * include/sys/wait.h: Likewise. + * include/termios.h: Likewise. + * include/time.h: Likewise. + * include/ulimit.h: Likewise. + * include/utmp.h: Likewise. + * include/wchar.h: Likewise. + +1999-11-22 Andreas Jaeger + + * sunrpc/rpc_clntout.c (printbody): Fix -CLMNab output. + Patch by Jerry Perkins , closes PR + libc/1456+1457. + +1999-11-22 Jakub Jelinek + + * sysdeps/generic/siglist.h: Avoid declaring the same field + twice if SIGPWR is defined to SIGLOST. + * sysdeps/sparc/sparc32/memcpy.S: bcopy takes size_t argument, + not signed, so we should not special case it for negative args. + * sysdeps/sparc/sparc32/sparcv9/memmove.c: Don't use generic + memmove, use the one provided in memcpy.S. + * sysdeps/sparc/sparc64/memcpy.S: bcopy should handle overlapping + copies like memmove, while the previous version worked like memcpy. + Implement optimized assembly memmove. + * sysdeps/sparc/sparc64/memmove.c: New file. + +1999-11-23 Ulrich Drepper + + * po/cs.po: Update from translators. + +1999-11-23 Andreas Jaeger + + * sysdeps/mips/dl-machine.h (elf_machine_dynamic): New function. + (elf_machine_got): Removed, not needed anymore. + (ELF_MACHINE_RELOC_NOPLT): Removed. + (ELF_MACHINE_JMP_SLOT): Added. + (_RTLD_PROLOGUE): We use gcc, no need to check for __STDC__. + (_RTLD_EPILOGUE): Likewise. + (RESOLVE_GOTSYM): Use R_MIPS_REL32. + (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise. + Based on patches from Maciej W. Rozycki and + Ralf Baechle . + + * sysdeps/mips/mips64/dl-machine.h: Apply same patches. + +1999-11-22 Ulrich Drepper + + * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Don't use the charset + name from the locale name. Only use the value in the LC_CTYPE + locale data file. + + * locale/loadlocale.c (_nl_load_locale): Allow index of entry in + file be equal to file size. + + * stdlib/longlong.h: Add count_trailing_zeros back. + + * stdlib/longlong.h: Update from latest egcs version. + +1999-11-22 Andreas Jaeger + + * locale/programs/ld-collate.c (insert_value): Correct order of + arguments for lr_error call. + + * sysdeps/unix/sysv/linux/mips/syscalls.list: Add + __syscall_setrlimit. + + * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Include + for key_t. + Patch by Maciej W. Rozycki . + +1999-11-21 Ulrich Drepper + + * sysdeps/i386/fpu/libm-test-ulps: Increase error value for latest + gcc version. + + * locale/programs/ld-ctype.c (ctype_read): Correctly implement + 14652-style definition of new maps and classes. + +1999-11-20 Ulrich Drepper + + * locale/programs/ld-monetary.c (monetary_finish): Don't print + individual error message if nothing is defined. + + * locale/programs/ld-time.c (time_startup): Test for lr being + nonzero, not time. + + * locale/programs/ld-numeric.c (numeric_finish): Don't crash if + decimal_point is not defined. + + * wctype/wctrans.c (wctrans): Use correct base index to access + extra mapping tables. + + * locale/loadlocale.c (_nl_load_locale): Use actual number of + entries from file and not the fixed (minimal number from the + langinfo.h list. + + * locale/programs/ld-ctype.c (ctype_read): Fix reading of + values in charmaps. + +1999-11-18 Paul Eggert + + * time/strftime.c (my_strftime): Some old compilers object to + '\a', so don't bother optimizing for it. + +1999-11-19 Ulrich Drepper + + * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Don't modify + the rlimits structure passed in. + +1999-11-19 Andreas Jaeger + + * include/sys/resource.h (__setrlimit): Add prototype. + +1999-11-19 Ulrich Drepper + + * elf/dl-load.c (_dl_init_paths): Allocate correct number of + entries for rtld_search_dirs[0]. + Patch by David Mosberger . + +1999-11-18 Ulrich Drepper + + * locale/programs/ld-ctype.c: Don't predefine the character + classes and mappings of ISO 14652. + + * locale/programs/ld-ctype.c: Punt if character class definitions + to not consists of tok_bsymbol (for now). + + * time/strptime.c (day_of_the_week): Make sure result is never + negative. + (strptime_internal): Allow %C without %y. + +1999-11-18 Andreas Jaeger + + * sysdeps/unix/sysv/linux/linux_fsinfo.h: Sorted entries and added + comments. + + * sysdeps/unix/sysv/linux/getpt.c: Include linux_fsinfo.h instead + of defining *_SUPER_MAGIC. + * sysdeps/unix/sysv/linux/grantpt.c: Likewise. + +1999-11-18 Ulrich Drepper + + * locale/programs/locale.c: Don't handle LC_ALL together with the + other categories when printing the value. + Patch by Akira YOSHIYAMA . + + * locale/locale.h: Correct comment about LC_ALL. + +1999-11-17 Ulrich Drepper + + * locale/programs/ld-ctype.c (ctype_output): Correct computation of + nelems. Correctly compute index for additional character classes. + (ctype_read): Handle charclass and charconv definitions. Also + recognize arbitrary strings as mapping names. + * locale/programs/ld-time.c (time_finish): Correctly skip over wide + character era strings. + * locale/lc-time.c (_nl_get_era_entry): Correctly skip era name + and format for wide characters. + * time/strftime.c: Correctly determine era information for wide + wcsftime. + * wctype/wctrans.c: Fix after removal of second endianess table. + * wctype/wctype.h (_ISwbit): Correctly handle bits > 16. + Patches by Shinya Hanataka . + + * wcsmbs/wcwidth.h (internal_wcwidth): Reject non-printable characters. + * wcsmbs/wcswidth.c (wcswidth): Don't forget to decrement counter n. + + * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove greg_t, + gregset_t, fpregset_t, and NGREG definitions. + + * locale/programs/ld-ctype.c: Implement character width information + handling. + +1999-11-09 Andreas Jaeger + + * sysdeps/unix/sysv/linux/grantpt.c (grantpt): Add support for devfs. + + * sysdeps/unix/sysv/linux/getpt.c (__getpt): Check for devfs. + Patch by German Jose Gomez Garcia . + + * sysdeps/unix/sysv/linux/linux_fsinfo.h (DEVFS_SUPER_MAGIC): Added. + +1999-11-17 Ulrich Drepper + + * sysdeps/gnu/netinet/tcp.h: Add TCP_CORK definition. + +1999-11-07 Andreas Jaeger + + * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: New file with some + defines from Linux scsi_ioctl.h header. + + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Added + scsi_ioctl.h. + * sysdeps/unix/sysv/linux/Dist: Likewise. + + * sysdeps/unix/sysv/linux/scsi/sg.h: Synced with Linux 2.3.26; + pretty printed. + + * sysdeps/unix/sysv/linux/scsi/scsi.h (TYPE_ENCLOSURE): Added to + sync with Linux 2.3.26. + +1999-11-17 Andreas Jaeger + + * shlib-versions: Allow mipsel for libm. + Patch by Maciej W. Rozycki . + +1999-11-16 Andreas Jaeger + + * math/fenv.h: Fix typos in comments. Reported by Andreas Schwab. + +1999-11-16 Ulrich Drepper + + * locale/programs/ld-ctype.c (set_class_defaults): Set default + value for alpha and alnum correctly. + + * locale/programs/ld-address.c (address_output): Fix output of + country_num. + +1999-11-15 Ulrich Drepper + + * timezone/asia: Update from tzdata1999j. + * timezone/australasia: Likewise. + * timezone/europe: Likewise. + * timezone/northamerica: Likewise. + * timezone/southamerica: Likewise. + * timezone/zone.tab: Likewise. + +1999-11-14 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sys/procfs.h: Remove duplicate definitions. + * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise. + * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise. + +1999-11-15 Andreas Jaeger + + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add + __syscall_setrlimit. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + +1999-11-14 Ulrich Drepper + + * scripts/versions.awk: Don't expect to read predecessor versions, + compute them. + * Versions.def: Remove predecessors. They now get computed. + +1999-11-14 Ulrich Drepper + + * sysdeps/unix/sysv/linux/execve.c: Add __syscall_execve prototype. + * sysdeps/unix/sysv/linux/setrlimit.c: Add __syscall_setrlimit + prototype. + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add setrlimit. + * sysdeps/powerpc/stackinfo.h: New file. + Patches by Franz Sirl . + +1999-11-13 Roland McGrath + + * Versions.def (libc): Move GLIBC_2.2 dependency from GLIBC_2.1.1 to + GLIBC_2.1.3. + +1999-11-13 Roland McGrath + + * hurd/Versions (GLIBC_2.1.3): Define, adding directory_name_split and + hurd_directory_name_split. + * Versions.def (libc): Add GLIBC_2.1.3. + +1999-11-09 Roland McGrath + + * hurd/report-wait.c (describe_port): Return char * and use __stpcpy + to return the location of the null byte written into the string. + (describe_number): Likewise. + (describe_number): Remove assert, not always used with #. + If FLAVOR is null, don't use it. + (describe_number): Take signed argument and print a - if negative. + (_S_msg_report_wait): Report system call number for system calls that + aren't mach_msg. Soup up reporting for mach_msg: If destination port + matches SS->intr_port, bracket port description with [...] to indicate + a Hurd interruptible RPC; if destination port is null, examine the + receive port and report that state; if receive port is also null, + check for timeout and report its value. + * sysdeps/mach/hurd/i386/intr-msg.h (MSG_EXAMINE): Return int that is + zero iff we managed to examine the stack; take new args RCV_NAME, + SEND_NAME, OPTION, and TIMEOUT to fill in with mach_msg args. + + * hurd/report-wait.c (describe_port): Recognize MACH_PORT_NULL and + MACH_PORT_DEAD specially. + +1999-10-04 Roland McGrath + + * hurd/hurdlookup.c (__hurd_directory_name_split): New function. + (__directory_name_split): New function. + * hurd/hurd.h: Declare them. + * sysdeps/mach/hurd/rmdir.c: Use __directory_name_split instead of + __file_name_split, so we ignore trailing slashes properly. + * sysdeps/mach/hurd/rename.c: Likewise. + +1999-11-13 Thorsten Kukuk + + * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add SIGPWR define + from current kernel headers. + + * sunrpc/key_call.c: Use /usr/etc/keyenvoy only if we don't have + SO_PASSCRED defined. + +1999-11-12 Ulrich Drepper + + * locale/C-ctype.c: Fix typo in char class name. + + * configure.in: Allow user so specify --enable-kernel=current. + +1999-11-12 Thorsten Kukuk + + * nis/nss_nisplus/nisplus-publickey.c: Check for snprintf return value. + + * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Follow changes from + i386 version. + * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise. + * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise. + +1999-11-12 Ulrich Drepper + + * intl/locale.alias: Add Estonian entries. + Patch by Marko Kreen [PR libc/1444]. + +1999-11-02 Andreas Jaeger + + * Versions.def: Add version GLIBC_2.2 for libm. + * math/fenv.h: Add prototypes for fegetexcept, feenableexcept and + fedisableexcept. + * sysdeps/generic/feenablxcpt.c: Stub file. + * sysdeps/generic/fedisblxcpt.c: Stub file. + * sysdeps/generic/fegetexcept.c: Stub file. + * sysdeps/i386/fpu/fedisblxcpt.c: New file. + * sysdeps/i386/fpu/feenablxcpt.c: New file. + * sysdeps/i386/fpu/fegetexcept.c: New file. + * math/Makefile (libm-support): Add new files. + * math/Versions: Add new functions with version GLIBC_2.2. + * manual/arith.texi (Control Functions): Document fegetexcept, + feenableexcept and fedisableexcept. + +1999-11-01 Wolfram Gloger + + * malloc/malloc.h: Describe __malloc_initialize_hook. + * manual/memory.texi: Document __malloc_initialize_hook. + +1999-11-11 Ulrich Drepper + + * sysdeps/unix/sysv/linux/setrlimit.c: Correctly use rlimits. + +1999-11-09 Andreas Jaeger + + * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin + implementation for ttyname_r call; fix inverted condition; return + ut_user. + Closes PR libc/1438. + +1999-11-10 Ulrich Drepper + + * math/fenv.h: Include bits/fenvinline.h if optimizing. + * sysdeps/powerpc/fpu/bits/fenv.h: Remove inline functions. Moved to.. + * sysdeps/powerpc/fpu/bits/fenvinline.h: ...here. New file. + * sysdeps/generic/bits/fenv.h: New file. + +1999-11-10 Ulrich Drepper + + * misc/tst-efgcvt.c (output_r_error): Remove extra parameter to + printf call. + +1999-11-10 Andreas Jaeger + + * misc/tst-efgcvt.c: Also test ecvt_r and fcvt_r. + +1999-11-10 Andreas Jaeger + + * string/strsignal.c (strsignal): Correct check for snprintf + return value. + * argp/argp-fmtstream.c (__argp_fmtstream_printf): Likewise. + + * misc/efgcvt_r.c (APPEND): Correct check for too small buffer + according to changed snprintf return value. + Reported by Lawrence K. Chen . + + * misc/tst-efgcvt.c (special): Add tests for a too small buffer + for ecvt_r and fcvt_r. + +1999-11-09 Ulrich Drepper + + * elf/dl-load.c (_dl_dst_count): Allow $ORIGIN to point to + directory with the reference since this is as secure as using the + object with the dependency. + (_dl_dst_substitute): Likewise. + + * elf/dl-load.c (_dl_dst_count): Change strings in first two + strncmp calls to allow reuse. + (_dl_dst_substitute): Likewise. + +1999-11-01 Arnold D. Robbins + + * posix/regex.c (init_syntax_once): move below definition of + ISALNUM etc., then use ISALNUM to init the table, so that + the word ops will work if i18n'ed. + (SYNTAX): And subscript with 0xFF for 8bit character sets. + +1999-11-09 Andreas Jaeger + + * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin + implementation for ttyname_r call; fix inverted condition; return + ut_user. Closes PR libc/1438. + +1999-11-09 Ulrich Drepper + + * timezone/checktab.awk: Update from tzcode1999h. + * timezone/africa: Update from tzdata1999i. + * timezone/asia: Likewise. + * timezone/australasia: Likewise. + * timezone/backward: Likewise. + * timezone/europe: Likewise. + * timezone/northamerica: Likewise. + * timezone/southamerica: Likewise. + * timezone/iso3166.tab: Likewise. + * timezone/zone.tab: Likewise. + + * sysdeps/unix/sysv/linux/bits/resource.h: Define values also as + macros. Patch by brg@csua.berkeley.edu [PR libc/1439]. + +1999-11-09 Andreas Jaeger + + * posix/Makefile (tests): Added tst-getlogin. + + * posix/tst-getlogin.c: New file, contains simple tests for + getlogin and getlogin_r. + +1999-11-09 Andreas Schwab + + * misc/syslog.c: For LOG_PERROR only append a newline if + necessary. + +1999-11-08 Ulrich Drepper + + * elf/elf.h: Add STT_REGISTER, STT_HP_OPAQUE, and STT_ST_STUB + definitions. + +1999-11-08 Andreas Jaeger + + * locale/findlocale.c (_nl_find_locale): Free normalized_codeset; + this fixes a memory leak (closes PR libc/1435). + + * intl/l10nflist.c (_nl_normalize_codeset): Update comment to + reflect memory allocation. + + * intl/loadinfo.h: Comment _nl_normalize_codeset, comment memory + allocation in _nl_explode_name. + +1999-11-06 Andreas Jaeger + + * time/tzset.c: Use __libc_lock_define_initialized for tzset_lock + to initialize it. + Reported by wes@surety.com, closes PR libc/1432. + +1999-11-05 Geoff Keating + + * sysdeps/powerpc/fpu/bits/fenv.h: Don't put commas at the end of + enumerator lists (-pedantic complains). + (feraiseexcept): Use i#*X as the constraint. Fix a bug in the + test for 'one bit set'. + (feclearexcept): Likewise. + +1999-11-05 Ulrich Drepper + + * sysdeps/unix/sysv/linux/setrlimit.c: New file. + + * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Adjust + for kernel changes. + * sysdeps/unix/sysv/linux/bits/types.h (__rlim_t, __rlim64_t): Make + unsigned. + +1999-10-04 Tim Waugh + + * posix/wordexp-test.c: More tests. + + * posix/wordexp.c (wordexp): Explicit null words should be kept. + +1999-11-04 Shinya Hanataka + + * locale/programs/linereader.c (get_string): Correct type of buf2 + variable. + * locale/programs/ld-ctype.c (ctype_output): Store index correctly + for _NL_CTYPE_INDIGITS_MB_LEN, _NL_CTYPE_INDIGITS_WC_LEN, + _NL_CTYPE_INDIGITS*_MB, _NL_CTYPE_OUTDIGIT*_MB, and + _NL_CTYPE_OUTDIGIT*_WC. + (allocate_arrays): Completely initialize mapping tables. + * locale/programs/ld-time.c (time_startup): We need the wide car + string. + (time_finish): Correct handling of era. + (time_output): Fix a few array indeces. + (time_read): Pass the repertoire map to lr_token. + +1999-11-03 Ulrich Drepper + + * Versions.def: Add version for libthread_db. + +1999-11-02 Andreas Jaeger + + * manual/header.texi (Library Summary): The command @indexfonts + doesn't exist anymore, use @smallfonts instead. + +1999-11-02 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Include sys/ucontext.h + instead of duplicating definitions. + +1999-11-01 Ulrich Drepper + + * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Add more pr* types used + by the debugger. + * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise. + * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise. + * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise. + +1999-11-01 Ulrich Drepper + + * sysdeps/unix/sysv/linux/net/if_arp.h: Add ARPHDR_HWX25. + + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_NEW_GETRLIMIT_SYSCALL): New definition. + * sysdeps/unix/sysv/linux/i386/getrlimit.c: New file. + + * manual/texinfo.tex: Updated. + +1999-11-01 Andreas Jaeger + + * sysdeps/unix/sysv/linux/sys/reboot.h: Remove K&R compatibility. + + * inet/gethstbynm2_r.c: Reorder addresses. + +1999-09-11 Paul Eggert + + * posix/glob.h (glob): If #defining to glob64, do this before + declaring it, so that all declarations and uses match, and do not + declare glob64, to avoid a declaration clash. + (globfree): Likewise with globfree64. + +1999-09-08 Eli Zaretskii + + * sysdeps/generic/glob.c (prefix_array) [__MSDOS__,WINDOWS32]: + Keep the trailing slash unless DIRNAME is just "x:/". + +1999-10-11 Andreas Jaeger + + * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_KERNEL): Added. + * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise. + Closes PR libc/1384. + +1999-10-20 Andreas Schwab + + * math/Makefile (libm-tests-generated): Remove libm-test.stmp. + (generated): Add it here. + (before-compile): Add libm-test.c. + ($(addprefix $(objpfx), $(libm-tests-generated))): Depend on + libm-test.stmp. + ($(objpfx)libm-test.stmp): Use $(objpfx) instead of + $(objdir)/math/. + +1999-10-31 Ulrich Drepper + + * Makefile (pdf): New goal. + * manual/Makefile: Add definitions and rules for PDF generation. + + * Versions.def (libm): Add GLIBC_2.1.3. + + ISO C99 TR1 changes various fe* functions to return an error value. + * math/Versions [GLIBC_2.1.3]: Add feclearexcept, fegetexceptflag, + feraiseexcept, fesetexceptflag, fegetenv, fesetenv, and feupdateenv. + * sysdeps/alpha/fpu/fclrexcpt.c: Return value and add alias. + * sysdeps/alpha/fpu/fegetenv.c: Likewise. + * sysdeps/alpha/fpu/fesetenv.c: Likewise. + * sysdeps/alpha/fpu/feupdateenv.c: Likewise. + * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise. + * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise. + * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise. + * sysdeps/arm/fpu/fclrexcpt.c: Likewise. + * sysdeps/arm/fpu/fegetenv.c: Likewise. + * sysdeps/arm/fpu/fesetenv.c: Likewise. + * sysdeps/arm/fpu/fraiseexcpt.c: Likewise. + * sysdeps/arm/fpu/fsetexcptflg.c: Likewise. + * sysdeps/generic/fclrexcpt.c: Likewise. * sysdeps/generic/fegetenv.c: Likewise. * sysdeps/generic/fesetenv.c: Likewise. * sysdeps/generic/feupdateenv.c: Likewise. + * sysdeps/generic/fgetexcptflg.c: Likewise. * sysdeps/generic/fraiseexcpt.c: Likewise. * sysdeps/generic/fsetexcptflg.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise. - * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise. - * sysdeps/unix/sysv/linux/errlist.c: Likewise. - * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. + * sysdeps/i386/fpu/fclrexcpt.c: Likewise. + * sysdeps/i386/fpu/fegetenv.c: Likewise. + * sysdeps/i386/fpu/fesetenv.c: Likewise. + * sysdeps/i386/fpu/feupdateenv.c: Likewise. + * sysdeps/i386/fpu/fgetexcptflg.c: Likewise. + * sysdeps/i386/fpu/fraiseexcpt.c: Likewise. + * sysdeps/i386/fpu/fsetexcptflg.c: Likewise. + * sysdeps/m68k/fpu/fclrexcpt.c: Likewise. + * sysdeps/m68k/fpu/fegetenv.c: Likewise. + * sysdeps/m68k/fpu/fesetenv.c: Likewise. + * sysdeps/m68k/fpu/feupdateenv.c: Likewise. + * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise. + * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise. + * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise. + * sysdeps/mips/fclrexcpt.c: Likewise. + * sysdeps/mips/fegetenv.c: Likewise. + * sysdeps/mips/fesetenv.c: Likewise. + * sysdeps/mips/feupdateenv.c: Likewise. + * sysdeps/mips/fgetexcptflg.c: Likewise. + * sysdeps/powerpc/fclrexcpt.c: Likewise. + * sysdeps/powerpc/fegetenv.c: Likewise. + * sysdeps/powerpc/fesetenv.c: Likewise. + * sysdeps/powerpc/feupdateenv.c: Likewise. + * sysdeps/powerpc/fgetexcptflg.c: Likewise. + * sysdeps/powerpc/fraiseexcpt.c: Likewise. + * sysdeps/powerpc/fsetexcptflg.c: Likewise. + * sysdeps/sparc/fpu/fclrexcpt.c: Likewise. + * sysdeps/sparc/fpu/fegetenv.c: Likewise. + * sysdeps/sparc/fpu/fesetenv.c: Likewise. + * sysdeps/sparc/fpu/feupdateenv.c: Likewise. + * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise. + * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise. + * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise. + * math/fenv.h: Adjust prototypes.: Likewise. + * manual/arith.texi: Adjust documentation for these changes. -2000-04-02 H.J. Lu + * manual/arith.texi: Document feraiseexcept. - * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined. + * sysdeps/powerpc/fegetenv.c: Moved to... + * sysdeps/powerpc/fpu/fegetenv.c: ...here. + * sysdeps/powerpc/fegetround.c: Moved to... + * sysdeps/powerpc/fpu/fegetround.c: ...here. + * sysdeps/powerpc/feholdexcpt.c: Moved to... + * sysdeps/powerpc/fpu/feholdexcpt.c: ...here. + * sysdeps/powerpc/fesetenv.c: Moved to... + * sysdeps/powerpc/fpu/fesetenv.c: ...here. + * sysdeps/powerpc/fenv_libc.h: Moved to... + * sysdeps/powerpc/fpu/fenv_libc.h: ...here. + * sysdeps/powerpc/feupdateenv.c: Moved to... + * sysdeps/powerpc/fpu/feupdateenv.c: ...here. + * sysdeps/powerpc/fgetexcptflg.c: Moved to... + * sysdeps/powerpc/fpu/fgetexcptflg.c: ...here. + * sysdeps/powerpc/fraiseexcpt.c: Moved to... + * sysdeps/powerpc/fpu/fraiseexcpt.c: ...here. + * sysdeps/powerpc/fsetexcptflg.c: Moved to... + * sysdeps/powerpc/fpu/fsetexcptflg.c: ...here. + * sysdeps/powerpc/ftestexcept.c: Moved to... + * sysdeps/powerpc/fpu/ftestexcept.c: ...here. + * sysdeps/powerpc/fesetround.c: Moved to... + * sysdeps/powerpc/fpu/fesetround.c: ...here + * sysdeps/powerpc/fenv_const.c: Moved to... + * sysdeps/powerpc/fpu/fenv_const.c: ...here. -2000-04-03 Ulrich Drepper + * sysdeps/mips/fclrexcpt.c: Moved to... + * sysdeps/mips/fpu/fclrexcpt.c: ...here. + * sysdeps/mips/fegetenv.c: Moved to... + * sysdeps/mips/fpu/fegetenv.c: ...here. + * sysdeps/mips/fegetround.c: Moved to... + * sysdeps/mips/fpu/fegetround.c: ...here. + * sysdeps/mips/fesetenv.c: Moved to... + * sysdeps/mips/fpu/fesetenv.c: ...here. + * sysdeps/mips/fesetround.c: Moved to... + * sysdeps/mips/fpu/fesetround.c: ...here. + * sysdeps/mips/feupdateenv.c: Moved to... + * sysdeps/mips/fpu/feupdateenv.c: ...here. + * sysdeps/mips/fgetexcptflg.c: Moved to... + * sysdeps/mips/fpu/fgetexcptflg.c: ...here. + * sysdeps/mips/ftestexcept.c: Moved to... + * sysdeps/mips/fpu/ftestexcept.c: ...here. - * elf/dl-load.c (_dl_dst_substitute): Pretty print comment. - (add_name_to_object): Add cast in malloc call. - (fillin_rpath): Optimize loop to initialize ->status a bit. +1999-10-29 Jakub Jelinek - * sysdeps/i386/dl-machine.h: Undo last change. - * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT): - Restore %edx register after call here. + * stdlib/longlong.h: Avoid UDIV_TIME redefinition. + * sysdeps/sparc/sparc32/dl-machine.h: Fix loading of SPARC v8plus + libraries from statically linked programs. + * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: POSIX 199309 + fix for sigaction on SPARC. + Patches by David S. Miller . - * sysdeps/arm/atomicity.h: New file. - Contributed by Jesper Skov . + * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Declare + gregset_t and other required structures and defines for SPARC 64bit + ABI as well, not only 32bit ABI. -2000-04-03 Roland McGrath +1999-10-31 Andreas Jaeger - * Makeconfig (preprocess-versions): Undo last change. - Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS). + * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Replace __USE_ISOC9X + by __USE_ISOC99 and update comments. - * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ - here, before we might move the stack. - (posixland_init): Set __libc_argc, __libc_argc, and __environ here. - (init1): And not here. + * math/complex.h: Update comments for ISO C99. + * math/fenv.h: Likewise. + * math/test-fenv.c: Likewise. + * math/tgmath.h: Likewise. + * libio/stdio.h: Likewise. + * posix/sys/types.h: Likewise. + * sysdeps/generic/inttypes.h: Likewise. + * sysdeps/generic/stdint.h: Likewise. - * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last - change, to restore argc value in call-clobbered register after - RTLD_START_SPECIAL_INIT, which will contain a call. +1999-10-31 Ulrich Drepper - * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for - allocating and initializing L->l_initfini. + * manual/creature.texi (Feature Test Macros): Mention _ISOC99_SOURCE. - * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed. + * includes/features.h: Replace __USE_ISOC9X by __USE_ISOC99 and also + recognize _ISOC99_SOURCE. + * libio/stdio.h: Likewise. + * math/math.h: Likewise. + * math/bits/mathcalls.h: Likewise. + * math/stdio.h: Likewise. + * stdlib/stdlib.h: Likewise. + * sysdeps/alpha/fpu/bits/mathdef.h: Likewise. + * sysdeps/alpha/fpu/bits/mathinline.h: Likewise. + * sysdeps/arm/bits/huge_val.h: Likewise. + * sysdeps/generic/bits/mathdef.h: Likewise. + * sysdeps/i386/bits/huge_val.h: Likewise. + * sysdeps/i386/fpu/bits/mathdef.h: Likewise. + * sysdeps/i386/fpu/bits/mathinline.h: Likewise. + * sysdeps/ieee754/bits/huge_val.h: Likewise. + * sysdeps/m68k/bits/huge_val.h: Likewise. + * sysdeps/m68k/fpu/bits/mathdef.h: Likewise. + * sysdeps/m68k/fpu/bits/mathinline.h: Likewise. + * sysdeps/powerpc/bits/mathdef.h: Likewise. + * sysdeps/powerpc/bits/mathinline.h: Likewise. + * sysdeps/sparc/fpu/bits/mathdef.h: Likewise. + * sysdeps/sparc/fpu/bits/mathinline.h: Likewise. + * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise. + * wcsmbs/wchar.h: Likewise. -2000-04-03 Ulrich Drepper + * sysdeps/powerpc/bits/mathdef.h: Moved to... + * sysdeps/powerpc/fpu/bits/mathdef.h: ...here. + * sysdeps/powerpc/bits/mathinline.h: Moved to... + * sysdeps/powerpc/fpu/bits/mathinline.h: ...here. + * sysdeps/powerpc/bits/fenv.h: Moved to... + * sysdeps/powerpc/fpu/bits/fenv.h: ...here. - * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing - RUNPATH, RPATH, and LD_LIBRARY_PATH. - (open_path): Change type of fourth parameter. Make pointer to array - of pointers. Create variable dirs with original type. - Track whether any directory for the object exists and if not, - change *DIRSP to (void*) -1 to signal there is no such search path. - (_dl_map_object): Change all calls of open_path. - Rewrite decompose_rpath calls. +1999-10-31 Andreas Jaeger -2000-03-31 Andreas Schwab + * manual/math.texi (Errors in Math Functions): Correct TeX code. - * string/strfry.c: Declare STATE as array of char instead of int - and do not initialize it (done by initstate_r). Pass correct - size. +1999-10-31 Andreas Jaeger -2000-04-03 Ulrich Drepper + * math/libm-test.inc: Change comments to use ISO C99 instead of + ISO C9x. + * math/w_lgamma.c: Likewise. + * math/w_lgammaf.c: Likewise. + * math/w_lgammal.c: Likewise. + * math/test-fenv.c: Likewise. + * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise. + * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise. + * sysdeps/generic/printf_fphex.c: Likewise. - * sysdeps/generic/ldsodefs.h: Fix typo in comment. +1999-10-31 Andreas Jaeger - * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more - instruction out of the code. + * manual/arith.texi (Parsing of Floats): Remove C from ISO C comment. -2000-04-02 Ulrich Drepper + * manual/math.texi: Change ISO C9x to ISO C99. + * manual/startup.texi: Likewise. + * manual/stdio.texi: Likewise. - * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in - element at this position. +1999-10-31 Andreas Jaeger - * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock. - * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and - l_reldeps elements. - * elf/dl-lookup.c (add_dependency): New function. - (_dl_lookup_symbol): Use it whenever symbol was found in a global, - dynamically loaded object. - (_dl_lookup_symbol_skip): Likewise. - (_dl_lookup_versioned_symbol): Likewise. - (_dl_lookup_versioned_symbol_skip): Likewise. - * elf/dl-open.c: Don't define _dl_load_lock here... - * elf/rtld.c: ...but here... - * elf/dl-support.c: ...and here. - * elf/dl-close.c (_dl_close): Close also dependent objects introduce - through relocation. - * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through - relocations. - * dlfcn/Makefile (glrefmain.out): Test is not expected to fail - anymore. - * dlfcn/glrefmain.c: Add one more debug message. + * manual/arith.texi: Change ISO C9x to ISO C99. + * manual/time.texi (Low-Level Time String Parsing): Likewise. - * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler - command line. - * Makerules (sysd-versions): Use ( ) instead of { }. +1999-10-30 Ulrich Drepper - * elf/dl-load.c: Use __builtin_expect to signal that compiler should - optimize for the non-debugging case. - * elf/dl-lookup.c: Likewise. - * sysdeps/generic/libc-start.c: Likewise. + * socket/Makefile (distribute): Add ifreq.h. -2000-04-02 Roland McGrath + * manual/time.texi (Formatting Date and Time): Revise comments about + origins of the formats with ISO C99 references. - * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED. - (init1): Don't initialize __environ here, since init already does it. - (first_init): New function, broken out of _init. - (_hurd_stack_setup): Use it. - [SHARED] (_dl_init_first): New function, renamed from old _init. - (init1) [SHARED]: Don't call posixland_init here. - (posixland_init): Take ENVP arg, so signature is usual for initializer. - [SHARED] (_init): Define as alias for posixland_init. - [! SHARED] (__libc_first_init): Define as alias for posixland_init. - * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro - RTLD_START_SPECIAL_INIT before calling initializers. - (RTLD_START_SPECIAL_INIT): Define to empty if undefined. - * sysdeps/mach/hurd/i386/dl-machine.h: New file. - * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function. - * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first. +1999-10-30 Andreas Jaeger - * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed, - since we define the function with the name `tmpfile'. + * sysdeps/unix/sysv/linux/ifreq.h: New file. - * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h. - * hurd/Versions: Likewise. +1999-10-29 Andreas Jaeger -2000-04-02 Ulrich Drepper + * manual/arith.texi (Parsing of Floats): Document the hexadecimal + input format; mention that strtof and strtold are part of ISO C99. - * elf/dl-runtime.c (fixup): Fix typo in comment. +1999-10-29 Ulrich Drepper - * resolv/netdb.h (getnameinfo): All length parameters are of type - socklen_t. - * inet/getnameinfo.c: Likewise. + * manual/math.texi (Errors in Math Functions): New section. + * math/libm-err-tab.pl: Moved to... + * manual/libm-err-tab.pl: ...here. + * manual/Makefile: Add rules for math function error table generation. -2000-04-01 Ulrich Drepper + * stdlib/tst-strtod.c: Add more hexadecimal tests. - * posix/unistd.h (socklen_t): Define if it has not yet happened. - (gethostname): Change type of second parameter to socklen_t. - * include/unistd.h (__gethostname): Change type of second - parameter to socklen_t. - * sysdeps/generic/gethostname.c (__gethostname): Likewise. - * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise. - * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname): - Likewise. - * sysdeps/unix/sysv/linux/gethostname.c: Removed. - * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t. - Allow definition elsewhere. - * sysdeps/unix/sysv/aix/bits/socket.h: Likewise. + * stdlib/strtod.c: Handle hexadecimal numbers with leading digit + != 1 correctly and more than one digit before decimal point.. + +1999-10-27 Andreas Jaeger + + * sysdeps/generic/ifreq.h: New file. + + * resolv/res_hconf.c: Add missing includes to get all prototypes. + (_res_hconf_reorder_addrs): Rewrite. This never worked before. + Reported by John DiMarco . + + (_res_hconf_reorder_addrs): Made thread safe. + (free_mem): New function, needed for malloc debugging. + +1999-10-29 Andreas Jaeger + + * sysdeps/unix/sysv/linux/if_index.c (opensock): Move function to ... + * sysdeps/generic/opensock.c (__opensock): ...here in a new file. + * sysdeps/unix/sysv/linux/if_index.c: Change all callers of + opensock to use __opensock. + + * socket/Makefile (routines): Add opensock. + + * include/sys/socket.h (__opensock): Add prototype declaration. + +1999-10-29 Andreas Jaeger + + * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Added missing + N_* constants. + * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise. + + * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_SYNC_PPP): Added + new constant from Linux 2.3.25pre1. + + * sysdeps/unix/sysv/linux/linux_fsinfo.h (BFS_MAGIC): Added. + +1999-10-29 Andreas Jaeger + + * math/libm-err-tab.pl: New file to generate a table of + libm-test-ulps values. + +1999-10-29 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Expect + struct sigcontext* object as second parameter for profil_counter. + Patches by Jakub Jelinek . + +1999-10-29 Andreas Jaeger + + * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Handle reiserfs. + * sysdeps/unix/sysv/linux/pathconf.c: Likewise. + + * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add values for devpts, + efs, qnx4 and reiser file systems. + +1999-10-29 Andreas Jaeger + + * locale/Makefile (others): Set to localedef and locale for make + clean. + + * debug/Makefile (generated): Add xtrace for make clean to work. + +1999-10-29 Andreas Jaeger + + * stdlib/tst-strtod.c: Add two testcases for hexadecimal input. + +1999-10-25 Andreas Jaeger + + * math/libm-test.inc: Added code to ignore the given max ulps. + (print_max_error): Check for ignore_max_ulp. + (check_float_internal): Likewise. + (parse_opt): Parse --ignore-max-ulp. + (main): Initialize ignore_max_ulp. + +1999-10-26 Andreas Jaeger + + * stdlib/msort.c: Include for prototype. + Remove K&R compatibility and _quicksort prototype. + + * stdlib/qsort.c: Make code and comments 64 bit clean; clarify + some comments. + Reported by Bernd Loechner . + Remove K&R compatibility. + Move prototype declaration to include/stdlib.h. + Include for prototype; include for CHAR_BIT. + + * include/stdlib.h: Prototype declaration for _quicksort. + +1999-10-27 Andreas Jaeger + + * stdlib/rand_r.c (rand_r): Really use 31 bits, the result was + shifted a bit too much. + Reported by Eugen Dedu . + +1999-10-25 Ulrich Drepper + + * resolv/gethnamaddr.c: Account bytes needed for alignment in + buflen. Patch by Olaf Kirch . + + * md5-crypt/md5test.c: Correct names of MD5 functions after + removing of public names. + + * configure.in: Don't allow --enable-kernel without parameter. + +1999-10-25 Ulrich Drepper + + * sysdeps/i386/fpu/libm-test-ulps: Remove entries caused by +-0 + problems. + +1999-10-25 Thorsten Kukuk + + * md5-crypt/md5.h: Remove prototypes for public interface. md5 is + only used internally. + * md5-crypt/md5-crypt.c: Use internal names for md5 functions, + remove weak alias for public names. + * md5-crypt/md5.c: Remove weak aliase. + +1999-10-25 Andreas Jaeger + + * math/README.libm-test: New file, documents libm-test.inc. + +1999-10-25 Andreas Jaeger + + * math/gen-libm-test.pl: Only generate a new ulps file when -n is + given. + (print_ulps_file): Fix loops to not read @tests and @functions + since those are not initialized with -n now. + (parse_ulps): Set $results{..}{"kind"}. + +1999-10-25 Andreas Jaeger + + * math/gen-libm-test.pl (parse_ulps): Ignore 0 has ulp. + + * math/libm-test.inc (check_float_internal): Don't print ulps for + wrong sign of zero. + +1999-10-20 Andreas Jaeger + + * manual/socket.texi (Address Formats): Describe usage of AF_UNIX + versus AF_LOCAL. + Patch by Robert Bihlmeyer . + +1999-10-24 Ulrich Drepper + + * math/libm-test.inc: Disable some boundary case tests for inline + function testing. + + * math/math.h: Pretty printing. + + * sysdeps/i386/fpu/e_atanh.S: Correct handling of NaN. + * sysdeps/i386/fpu/e_atanhf.S: Likewise. + * sysdeps/i386/fpu/e_atanhl.S: Likewise. + * sysdeps/i386/fpu/e_log10.S: Likewise. + * sysdeps/i386/fpu/e_log10f.S: Likewise. + * sysdeps/i386/fpu/e_log10l.S: Likewise. + * sysdeps/i386/fpu/s_log1p.S: Likewise. + * sysdeps/i386/fpu/s_log1pf.S: Likewise. + * sysdeps/i386/fpu/s_log1pl.S: Likewise. + * sysdeps/i386/fpu/s_log2.S: Likewise. + * sysdeps/i386/fpu/s_log2f.S: Likewise. + * sysdeps/i386/fpu/s_log2l.S: Likewise. + + * sysdeps/i386/fpu/libm-test-ulps: New file. + + * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Correct return + value for x == 0. + (pow): Correct case x == 0. + (__sgn1l): Correct handling of -0.0. + +1999-10-22 Andreas Jaeger + + * math/libm-test.inc (asinh_test): Add test for NaN as input parameter. + (atan_test): Likewise. + (atanh_test): Likewise. + (atan2_test): Likewise. + (carg_test): Likewise. + (ceil_test): Likewise. + (cos_test): Likewise. + (cosh_test): Likewise. + (cpow_test): Likewise. + (erf_test): Likewise. + (erfc_test): Likewise. + (exp_test): Likewise. + (exp10_test): Likewise. + (exp2_test): Likewise. + (expm1_test): Likewise. + (fabs_test): Likewise. + (floor_test): Likewise. + (fmod_test): Likewise. + (gamma_test): Likewise. + (lgamma_test): Likewise. + (log10_test): Likewise. + (log1p_test): Likewise. + (log2_test): Likewise. + (logb_test): Likewise. + (nearbyint_test): Likewise. + (remainder_test): Likewise. + (remquo_test): Likewise. + (sin_test): Likewise. + (sincos_test): Likewise. + (sinh_test): Likewise. + (sqrt_test): Likewise. + (tan_test): Likewise. + (tanh_test): Likewise. + (tgamma_test): Likewise. + +1999-10-21 Ulrich Drepper + + * sysdeps/ieee754/ldbl-96/s_nexttoward.c: If x == y, return y. + + * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't handle -Inf special. + + * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Check + for -Inf and return NaN. + + * configure.in: Correct test for Cygnus gcc versions. + +1999-10-21 Andreas Jaeger + + * math/libm-test.inc (cimag_test): New function, tests cimag. + (creal_test): New function, tests creal. + (conj_test): New function, tests conj. + (main): Add new functions. + +1999-10-20 Andreas Jaeger + + * math/libm-test.inc: Rewrite to allow different deltas for real + and imaginary part of complex functions. + * math/gen-libm-test.pl: Likewise. + +1999-10-19 Ulrich Drepper + + * sysdeps/i386/fpu/s_nextafterl.c: Add __nextafterl and nextafterl + aliases. + + * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Don't handle -Inf special. + + * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Check + for -Inf and return NaN. + + * math/gen-libm-test.pl: Fix program name in help message. + + * math/libm-test.inc (check_complex): It's Imaginary, not Complex. + + * math/libm-test.inc (gamma_test): Result of gamma(-inf) is +inf. + + * sysdeps/i386/Implies: Correct order of libm directories. + +1999-10-19 Andreas Jaeger + + * include/bits/ipc.h: Remove K&R compatibility. + * include/libintl.h: Likewise. + * include/math.h: Likewise. + * include/mntent.h: Likewise + * include/netdb.h: Likewise. + * include/pwd.h: Likewise. + * include/sched.h: Likewise. + * include/shadow.h: Likewise + * include/stdlib.h: Likewise. + * include/sys/file.h: Likewise. + * include/sys/gmon.h: Likewise. + * include/sys/ioctl.h: Likewise. + * include/sys/mman.h: Likewise. + * include/sys/resource.h: Likewise. + * include/sys/socket.h: Likewise. + * include/sys/stat.h: Likewise. + * include/sys/sysinfo.h: Likewise. + * include/sys/time.h: Likewise. + * include/sys/times.h: Likewise. + * include/sys/uio.h: Likewise. + * include/sys/wait.h: Likewise. + * include/termios.h: Likewise. + * include/time.h: Likewise. + * include/ulimit.h: Likewise. + * include/utmp.h: Likewise. + * include/wchar.h: Likewise. + * include/wctype.h: Likewise. + +1999-10-19 Andreas Jaeger + + * math/libm-test.inc: Remove one K&R compatibility. + (main): Enable nexttoward_test. + + * math/gen-libm-test.pl (output_ulps): Output name of Ulps file to + libm-test-ulps.h; pretty print output a bit. + +1999-10-19 Andreas Jaeger + + * iconv/iconv_prog.c (main): Set exit value in case that reading + from stdin failed [PR libc/1404]. + +1999-10-18 Andreas Jaeger + + Added improved math testsuite: + * math/libm-test.inc: New file, contains all tests from + libm-test.c but in a different form. + * math/libm-test.c: Removed. + * sysdeps/generic/libm-test-ulps: New file: Fallback ulps file. + * math/gen-libm-test.pl: New file: Preprocessor. + * math/test-double.c: Adopted to new testsuite. + * math/test-idouble.c: Likewise. + * math/test-float.c: Likewise. + * math/test-ifloat.c: Likewise. + * math/test-ldouble.c: Likewise. + * math/test-ildoubl.c: Likewise. + * math/Makefile: Added rules to generate new suite. + +1999-10-18 Ulrich Drepper + + * inet/rcmd.c (iruserok2): Initialize isbad to -1 [PR libc/1405]. + Patch by J. Richard Sladkey . + + * scripts/config.sub: Update from latest autoconf version. + * scripts/config.guess: Likewise. + +1999-10-18 Andreas Jaeger + + * inet/arpa/inet.h: Remove K&R compatibility. + * math/fenv.h: Likewise. + +1999-10-18 Andreas Jaeger + + * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct + kernel_sigaction): Remove K&R compatibility. + * sysdeps/unix/sysv/linux/net/if.h: Likewise. + * sysdeps/unix/sysv/linux/sys/acct.h: Likewise. + * sysdeps/unix/sysv/linux/sys/fsuid.h: Likewise. + * sysdeps/unix/sysv/linux/sys/io.h: Likewise. + * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise. + * sysdeps/unix/sysv/linux/sys/klog.h: Likewise. + * sysdeps/unix/sysv/linux/sys/mount.h: Likewise. + * sysdeps/unix/sysv/linux/sys/prctl.h: Likewise. + * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise. + * sysdeps/unix/sysv/linux/sys/quota.h: Likewise. + * sysdeps/unix/sysv/linux/sys/sendfile.h: Likewise. + * sysdeps/unix/sysv/linux/sys/swap.h: Likewise. + * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise. + * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise. + * sysdeps/unix/sysv/linux/sys/timex.h: Likewise. + * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise. + * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise. + +1999-10-18 Andreas Jaeger + + * iconv/iconv_prog.c (process_block): Save errno value from iconv call. + Patch by Bruno Haible [libc/1402]. + +1999-10-18 Ulrich Drepper + + * po/gl.po: New file. + +1999-10-18 Andreas Schwab + + * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Correct + namespace selection. + +1999-10-18 Andreas Schwab + + * debug/xtrace.sh: Use TERMINAL_PROG instead of TERM to avoid + clash with the TERM environment variable. + +1999-10-18 Andreas Jaeger + + * sysdeps/generic/s_cproj.c (__cproj): Fix bug: NaN + i NaN + returns now NaN + i NaN. + * sysdeps/generic/s_cprojf.c (__cprojf): Likewise + * sysdeps/generic/s_cprojl.c (__cprojl): Likewise. + +1999-10-18 Andreas Jaeger + + * include/aio.h: Remove K&R compatiblity. + * include/alloca.h: Likewise. + * include/db.h: Likewise. + * include/dirent.h: Likewise. + * include/fcntl.h: Likewise. + * include/fpu_control.h: Likewise. + * include/glob.h: Likewise. + * include/grp.h: Likewise. + * sysdeps/unix/sysv/linux/bits/errno.h: Likewise. + * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. + * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise. * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. + + * include/execinfo.h: Add __THROW. + +1999-10-18 Ulrich Drepper + + * sysdeps/mips/Implies: Remove wordsize-32 reference. + * sysdeps/mips/mips3/Implies: Add it here. + +1999-10-17 Ulrich Drepper + + * elf/elf.h: Add various platform and architecture extensions. + + * locale/lc-collate.c (_nl_postload_collate): Disable code for now. + * locale/setlocale.c (setlocale): Don't call _nl_find_locale for + LC_ALL. + + * socket/sys/socket.h: Remove K&R compatibility. + +1999-10-16 Andreas Jaeger + + * sysdeps/unix/sysv/linux/bits/in.h: Added struct in_pktinfo. + +1999-10-15 Andreas Jaeger + + * stdlib/Makefile (tests): Added tst-xpg-basename. + + * stdlib/tst-xpg-basename.c: New test file. + +1999-10-14 Cristian Gafton + + * string/bits/string2.h (__stpcpy_small): Make -pedantic shut up. + +1999-10-14 Andreas Jaeger + + * resolv/inet_addr.c (inet_aton): Fix last patch. The little + endian version works for both endiannesses. + + * sysdeps/unix/sysv/linux/sleep.c (__sleep): Optimize for zero + seconds. + +1999-10-12 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Don't define + register names unconditionally, only if __USE_GNU. + + * debug/Makefile: Fix rules to generate pcprofiledump. + + * include/ucontext.h: New file. + + * locale/setlocale.c: Fix gcc warning about uninitialized variable. + +1999-10-12 Andreas Jaeger + + * stdlib/tst-environ.c: Include for strcpy declaration. + + * math/basic-test.c: Fix typo. + + * locale/programs/xstrdup.c: Include string.h for glibc + compilation to get string prototypes. + + * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Add definition of + gregset_t and fpregset_t. + + * sysdeps/generic/s_nexttowardf.c: Add parenthesis to shut up gcc + warnings. Correct value for x == 0. + + * argp/argp-help.c: Remove broken definition of flockfile and + funlockfile. + +1999-10-12 Andreas Schwab + + * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Update to match + generic Linux version. + +1999-10-12 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/sigaction.h: Remove K&R compatibility. + +1999-10-11 Ulrich Drepper + + * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Add gregset_t + and fpregset_t definitions. + + * malloc/memprof.c (GETSP): Define for PowerPC. + (GETTIME): Fix generic version. + +1999-10-10 Philip Blundell + + * sunrpc/xdr_float.c (LSW): Depend on __FLOAT_WORD_ORDER not + __BYTE_ORDER. + +1999-10-11 Ulrich Drepper + + * sysdeps/unix/sysv/linux/powerpc/socket.S: Adjust asm syntax. + * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/brk.S: Likewise. + + * sysdeps/powerpc/Makefile [math] (libm-support): Remove t_sqrt. + + * sysdeps/powerpc/e_sqrt.c: Moved to... + * sysdeps/powerpc/fpu/e_sqrt.c: ...here. + * sysdeps/powerpc/e_sqrtf.c: Moved to... + * sysdeps/powerpc/fpu/e_sqrtf.c: ...here. + + * sysdeps/powerpc/submul_1.S: Adjust asm syntax. + * sysdeps/powerpc/sub_n.S: Likewise. + * sysdeps/powerpc/strlen.S: Likewise. + * sysdeps/powerpc/strcpy.S: Likewise. + * sysdeps/powerpc/strcmp.S: Likewise. + * sysdeps/powerpc/strchr.S: Likewise. + * sysdeps/powerpc/stpcpy.S: Likewise. + * sysdeps/powerpc/setjmp.S: Likewise. + * sysdeps/powerpc/rshift.S: Likewise. + * sysdeps/powerpc/ppc-mcount.S: Likewise. + * sysdeps/powerpc/mul_1.S: Likewise. + * sysdeps/powerpc/memset.S: Likewise. + * sysdeps/powerpc/lshift.S: Likewise. + * sysdeps/powerpc/dl-start.S: Likewise. + * sysdeps/powerpc/bzero.S: Likewise. + * sysdeps/powerpc/bsd-setjmp.S: Likewise. + * sysdeps/powerpc/bsd-_setjmp.S: Likewise. + * sysdeps/powerpc/addmul_1.S: Likewise. + * sysdeps/powerpc/add_n.S: Likewise. + * sysdeps/powerpc/__longjmp.S: Likewise. + * sysdeps/powerpc/elf/start.S: Likewise. + +1999-10-11 Cristian Gafton + + * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Declare + SA_SIGINFO. + +1999-10-10 Ulrich Drepper + + * stdlib/atexit.c (initial): New variable. Use to initialize + __exit_funcs. + * stdlib/exit.c (exit): Beware to not free statically allocated + list element [PR libc/1305]. + + * stdlib/xpg_basename.c (__xpg_basename): Don't return pointer to + slash before the basename [PR libc/1383]. + + * argp/argp.h: Fix typo in last patch. + + * sysdeps/powerpc/sysdep.h: New file. + * sysdeps/unix/powerpc/sysdep.h: New file. + * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Include + sysdeps/unix/powerpc/sysdep.h, not sysdeps/unix/sysdep.h. + * sysdeps/powerpc/fpu/s_copysign.S: Use symbolic names for registers + instead of bare numbers. + * sysdeps/powerpc/fpu/s_fabs.S: Likewise. + * sysdeps/powerpc/fpu/s_fmax.S: Likewise. + * sysdeps/powerpc/fpu/s_fmin.S: Likewise. + + * sysdeps/hppa/sysdep.h: New file. + +1999-10-10 Andreas Jaeger + + * misc/sgtty.h: Fix typo in last patch. + +1999-10-09 Ulrich Drepper + + * nss/getXXbyYY_r.c (do_weak_alias): Remove unnecessary parenthesis. + * sysdeps/powerpc/s_copysign.S: Move to... + * sysdeps/powerpc/fpu/s_copysign.S: ...here. Use portable asm syntax. + * sysdeps/powerpc/s_copysignf.S: Move to... + * sysdeps/powerpc/fpu/s_copysignf.S: ...here. + * sysdeps/powerpc/s_fabs.S: Move to... + * sysdeps/powerpc/fpu/s_fabs.S: ...here. Use portable asm syntax. + * sysdeps/powerpc/s_fabsf.S: Move to... + * sysdeps/powerpc/fpu/s_fabsf.S: ...here. + * sysdeps/powerpc/s_fdim.c: Move to... + * sysdeps/powerpc/fpu/s_fdim.c: ...here. + * sysdeps/powerpc/s_fdimf.c: Move to... + * sysdeps/powerpc/fpu/s_fdimf.c: ...here. + * sysdeps/powerpc/s_fmax.S: Move to... + * sysdeps/powerpc/fpu/s_fmax.S: ...here. Use portable asm syntax. + * sysdeps/powerpc/s_fmaxf.S: Move to... + * sysdeps/powerpc/fpu/s_fmaxf.S: ...here. + * sysdeps/powerpc/s_fmin.S: Move to... + * sysdeps/powerpc/fpu/s_fmin.S: ...here. Use portable asm syntax. + * sysdeps/powerpc/s_fminf.S: Move to... + * sysdeps/powerpc/fpu/s_fminf.S: ...here. + * sysdeps/powerpc/s_isnan.S: Move to... + * sysdeps/powerpc/fpu/s_isnan.c: ...here. + * sysdeps/powerpc/s_isnanf.S: Move to... + * sysdeps/powerpc/fpu/s_isnanf.S: ...here. + * sysdeps/powerpc/s_llrint.c: Move to... + * sysdeps/powerpc/fpu/s_llrint.c: ...here. + * sysdeps/powerpc/s_llrintf.c: Move to... + * sysdeps/powerpc/fpu/s_llrintf.c: ...here. + * sysdeps/powerpc/s_llround.c: Move to... + * sysdeps/powerpc/fpu/s_llround.c: ...here. + * sysdeps/powerpc/s_llroundf.c: Move to... + * sysdeps/powerpc/fpu/s_llroundf.c: ...here. + * sysdeps/powerpc/s_lrint.c: Move to... + * sysdeps/powerpc/fpu/s_lrint.c: ...here. + * sysdeps/powerpc/s_lrintf.S: Move to... + * sysdeps/powerpc/fpu/s_lrintf.S: ...here. + * sysdeps/powerpc/s_lround.c: Move to... + * sysdeps/powerpc/fpu/s_lround.c: ...here. + * sysdeps/powerpc/s_lroundf.c: Move to... + * sysdeps/powerpc/fpu/s_lroundf.c: ...here. + * sysdeps/powerpc/s_rint.c: Move to... + * sysdeps/powerpc/fpu/s_rint.c: ...here. + * sysdeps/powerpc/s_rintf.c: Move to... + * sysdeps/powerpc/fpu/s_rintf.c: ...here. + * sysdeps/powerpc/t_sqrt.c: Move to... + * sysdeps/powerpc/fpu/t_sqrt: ...here. + * sysdeps/powerpc/w_sqrt.c: Move to... + * sysdeps/powerpc/fpu/w_sqrt.c: ...here. + * sysdeps/powerpc/w_sqrtf.c: Move to... + * sysdeps/powerpc/fpu/w_sqrtf.c: ...here. + * configure.in: Support platforms which have no .text pseudo-op. + Patches partly by Jimi X . + + * Makeconfig: Look also in all subdirs for shlib-versions files. + + * malloc/memprof.sh: Fix --help string a bit. + + * argp/argp.h: Remove K&R compatiblity. + * assert/assert.h: Likewise. + * catgets/nl_types.h: Likewise. + * ctype/ctype.h: Likewise. + * db/db.h: Likewise. + * db/ndbm.h: Likewise. + * db2/db.h: Likewise. + * db2/db_185.h: Likewise. + * debug/execinfo.h: Likewise. + * dirent/dirent.h: Likewise. + * dlfcn/dlfcn.h: Likewise. + * gmon/sys/gmon.h: Likewise. + * grp/grp.h: Likewise. + * iconv/gconv.h: Likewise. + * iconv/iconv.h: Likewise. + * include/execinfo.h: Likewise. + * inet/aliases.h: Likewise. + * inet/netinet/ether.h: Likewise. + * inet/netinet/in.h: Likewise. + * intl/libintl.h: Likewise. + * io/fcntl.h: Likewise. + * io/fts.h: Likewise. + * io/ftw.h: Likewise. + * io/utime.h: Likewise. + * io/sys/poll.h: Likewise. + * io/sys/stat.h: Likewise. + * io/sys/statfs.h: Likewise. + * io/sys/statvfs.h: Likewise. + * libio/libio.h: Likewise. + * libio/stdio.h: Likewise. + * linuxthreads/sysdeps/pthread/pthread.h: Likewise. + * locale/locale.h: Likewise. + * login/pty.h: Likewise. + * login/utmp.h: Likewise. + * malloc/mcheck.h: Likewise. + * math/complex.h: Likewise. + * math/math.h: Likewise. + * math/math_private.h: Likewise. + * misc/err.h: Likewise. + * misc/fstab.h: Likewise. + * misc/libgen.h: Likewise. + * misc/mntent.h: Likewise. + * misc/regexp.h: Likewise. + * misc/search.h: Likewise. + * misc/sgtty.h: Likewise. + * misc/ttyent.h: Likewise. + * misc/sys/cdefs.h: Likewise. + * misc/sys/file.h: Likewise. + * misc/sys/ioctl.h: Likewise. + * misc/sys/mman.h: Likewise. + * misc/sys/select.h: Likewise. + * misc/sys/syslog.h: Likewise. + * misc/sys/uio.h: Likewise. + * misc/sys/ustat.h: Likewise. + * nss/nss.h: Likewise. + * posix/sched.h: Likewise. + * posix/unistd.h: Likewise. + * posix/wordexp.h: Likewise. + * posix/sys/times.h: Likewise. + * posix/sys/utsname.h: Likewise. + * posix/sys/wait.h: Likewise. + * pwd/pwd.h: Likewise. + * resolv/netdb.h: Likewise. + * resolv/resolv.h: Likewise. + * resource/ulimit.h: Likewise. + * resource/sys/resource.h: Likewise. + * resource/sys/vlimit.h: Likewise. + * resource/sys/vtimes.h: Likewise. + * rt/aio.h: Likewise. + * setjmp/setjmp.h: Likewise. + * shadow/shadow.h: Likewise. + * signal/signal.h: Likewise. + * socket/socket.h: Likewise. + * stdio/stdio.h: Likewise. + * stdio-common/_itoa.h: Likewise. + * stdio-common/_itowa.h: Likewise. + * stdio-common/printf.h: Likewise. + * stdlib/alloca.h: Likewise. + * stdlib/fmtmsg.h: Likewise. + * stdlib/monetary.h: Likewise. + * stdlib/stdlib.h: Likewise. + * stdlib/ucontext.h: Likewise. + * streams/stropts.h: Likewise. + * string/argz.h: Likewise. + * string/envz.h: Likewise. + * string/string.h: Likewise. + * string/strings.h: Likewise. + * string/bits/string2.h: Likewise. + * sunrpc/rpc/auth.h: Likewise. + * sunrpc/rpc/auth_des.h: Likewise. + * sunrpc/rpc/auth_unix.h: Likewise. + * sunrpc/rpc/clnt.h: Likewise. + * sunrpc/rpc/des_crypt.h: Likewise. + * sunrpc/rpc/netdb.h: Likewise. + * sunrpc/rpc/pmap_clnt.h: Likewise. + * sunrpc/rpc/pmap_prot.h: Likewise. + * sunrpc/rpc/pmap_rmt.h: Likewise. + * sunrpc/rpc/rpc_msg.h: Likewise. + * sunrpc/rpc/svc.h: Likewise. + * sunrpc/rpc/svc_auth.h: Likewise. + * sunrpc/rpc/xdr.h: Likewise. + * sysdeps/unix/sysv/linux/bits/sigstack.h: Likewise. + * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. + * sysvipc/sys/ipc.h: Likewise. + * sysvipc/sys/msg.h: Likewise. + * sysvipc/sys/sem.h: Likewise. + * sysvipc/sys/shm.h: Likewise. + * termios/termios.h: Likewise. + * time/time.h: Likewise. + * time/sys/time.h: Likewise. + * time/sys/timeb.h: Likewise. + * wcsmbs/wchar.h: Likewise. + * wctype/wctype.h: Likewise. + +1999-10-05 Roland McGrath + + * mach/mach/mig_support.h [! __USE_GNU]: Use #error to insist that + _GNU_SOURCE be defined. + +1999-10-08 Ulrich Drepper + + * ctype/ctype.h: Pretty print. + + * po/cs.po: Fix typos. + + * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_spent): Fix + handling of empty entries. [PR libc/1345] + Patch by Thorsten Kukuk . + +1999-10-08 Andreas Schwab + + * debug/xtrace.sh: Fix quoting bugs. Implement --help and --version. + +1999-10-08 Andreas Schwab + + * debug/pcprofiledump.c: Fix typos. + +1999-10-07 Andreas Jaeger + + * math/Makefile (tests): Added basic-tests. + + * math/basic-test.c: New file. Contains function basic_tests from + libm-test. + +1999-10-07 Andreas Schwab + + * malloc/memprof.sh: Fix quoting bugs. + +1999-10-08 Ulrich Drepper + + * timezone/europe: Update from tzdata1999h. + +1999-10-07 Ulrich Drepper + + * elf/elf.h: Update from last gABI draft. + + * elf/elf.h: Remove EM_486 entry. + * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Remove + test for EM_486. + +1999-10-07 Ulrich Drepper + + * debug/Makefile (install-bin): Add pcprofiledump and xtrace. + Add rules for both programs. + * debug/pcprofiledump.c: New file. + * debug/xtrace.sh: New file. + * debug/pcprofile.c: Allow creating output file. Add magic signature + to let reader recognize file format. + +1999-10-06 Ulrich Drepper + + * locale/programs/ld-ctype.c (ctype_read): Fix typos in last patch. + +1999-10-05 Andreas Jaeger + + * locale/programs/ld-identification.c: Fix typo in comment. + * locale/programs/ld-messages.c: Likewise. + * locale/programs/ld-monetary.c: Likewise. + * locale/programs/ld-name.c: Likewise. + + * locale/programs/ld-collate.c (read_lc_collate): Fix typo in comment. + (collate_read): Remove unnecessary comparisons with ignore_content. + + * locale/programs/ld-ctype.c (ctype_finish): Loop only over actual + assigned elements. + (ctype_read): Remove unnecessary comparisons with ignore_content. + Fix typos in comments. + + * locale/programs/ld-address.c (STR_ELEM): Remove unnecessary + comparisons with ignore_content. + +1999-10-05 Ulrich Drepper + + * po/cs.po: Update. + + * time/time.h: Move __gmtime_r declaration to ... + * include/time.h: ...here. + +1999-10-05 Andreas Jaeger + + * manual/message.texi (The message catalog files): Fix description + to match gencat implementation and Unix98: Message fields are + separated by a single blank space. + +1999-10-05 Andreas Jaeger + + * manual/string.texi (Search Functions): Add missing end for + memrchr description. + +1999-10-04 Ulrich Drepper + + * malloc/memprof.sh: Various small cleanups. Add short options. + Write error messages to stderr. + + * malloc/Makefile ($(objpfx)memprof): Fix typo in rule. + + * malloc/memprof.sh: Take options to control memprofstat. + + * malloc/Makefile: Add rule to generate memprof script. + * malloc/memprof.sh: New file. + + * elf/ldd.bash.in: Add "Usage: " in help message to comply with + GNU standard. + +1999-10-04 Andreas Jaeger + + * configure.in: Allow makeinfo 4.*. + +1999-10-04 Ulrich Drepper + + * stdio-common/vfprintf.c: Correct last patch and use outchar + instead of PUTC to output single characters. + * stdio-common/Makefile (tests): Add bug13. + * stdio-common/bug13.c: New file. + + * configure.in: Add additional options --with-gd-include and + --with-gd-lib to help people with strange installations. + + * malloc/Makefile: Add libdl dependency to libmemprof.so. + * malloc/Depend: New file. + +1999-10-04 Andreas Jaeger + + * timezone/README: Change wording to not mention the current + version. This way we can't forget to update the file. + +1999-10-04 Andreas Jaeger + + * manual/time.texi (Basic CPU Time): Fix typo. + Reported by Ben Pfaff . + +1999-10-04 Ulrich Drepper + + * string/string.h: Move __memrchr declaration to ... + * include/string.h: ...here. + +1999-10-03 Ulrich Drepper + + * string/Makefile (routines): Add memrchr. + + * sysdeps/generic/memrchr.c: Don't undef memchr, undef memrchr. + Correct order of tests for matching bytes. + + * string/tester.c: Add tests for memrchr. + + * sysdeps/i386/i486/bits/string.h (__memrchr): Correct implementation. + Start from the last character and take decrement not increment + into account for correction in return line. Add memrchr alias. + * sysdeps/i386/bits/string.h: Likewise. + +1999-10-04 Roland McGrath + + * stdlib/stdlib.h [__USE_BSD]: Declare getloadavg. + +1999-10-03 Ulrich Drepper + + * sysdeps/i386/i486/bits/string.h (__memrchr): New function. + + * sysdeps/i386/bits/string.h (__memrchr): Add cld to comply to + conventions. + + * string/Versions: Export memrchr. + +1999-10-04 Roland McGrath + + * misc/Versions (GLIBC_2.2): Add getloadavg. + * misc/Makefile (routines): Add getloadavg. + * sysdeps/generic/getloadavg.c: New file. + * sysdeps/mach/getloadavg.c: New file. + * sysdeps/unix/sysv/linux/getloadavg.c: New file. + + * sysdeps/generic/memrchr.c: New file, adapted from memchr.c. + * sysdeps/i386/bits/string.h (__memrchr): New function. + * string/string.h: Declare memrchr, __memrchr. + * manual/string.texi (Search Functions): Document memrchr. + +1999-10-03 Ulrich Drepper + + * configure.in: Accept --with-gd option and set all libgd-LDFLAGS, + CFLAGS-memprofstat.c, and LIBGD variables. + * config.make.in: Add LIBGD. + * malloc/Makefile: Add rules to generate libmemprof.so and + memprofstat. + * malloc/memprof.c: New file. + * malloc/memprofstat.c: New file. + +1999-10-02 Ulrich Drepper + + * resolv/nsap_addr.c (inet_nsap_addr): Little optimization. + + * resolv/inet_ntop.c (inet_ntop4): Little optimization. + (inet_ntop6): Likewise. + + * resolv/inet_net_pton.c (inet_net_pton_ipv4): Prevent buffer + overruns. + + * resolv/tst-aton.c (main): Add more tests. + + * resolv/inet_addr.c (inet_aton): Correct some problems with to + large numbers. Optimize a bit. + +1999-10-01 Ulrich Drepper + + * resolv/inet_net_ntop.c (inet_net_ntop_ipv4): If BITS is zero + account for added '0'. + + * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Align + handling of IPv6 tunnel address handling with bind 8.2.1. Allow + len argument to be greater than needed address size. + +1999-10-01 Andreas Jaeger + + * locale/programs/ld-collate.c (insert_value): Add cast to avoid + warning. + * intl/finddomain.c (_nl_find_domain): Likewise. + +1999-09-30 Andreas Schwab + + * sysdeps/unix/sysv/linux/alpha/ioperm.c: Disable debug messages. + +1999-09-30 Andreas Jaeger + + * sysdeps/i386/lshift.S: Correct assembler commands to fix warnings. + * sysdeps/i386/rshift.S: Likewise. + * sysdeps/i386/strchrnul.S: Likewise. + * sysdeps/i386/strchr.S: Likewise. + Patch by Michael Deutschmann , + PR libc/1339. + +1999-09-30 Andreas Jaeger + + * manual/examples/pipe.c: Close other end of pipe to make example work. + +1999-10-01 Ulrich Drepper + + * timezone/checktab.awk: Update from tzcode1999g. + * timezone/tzselect.ksh: Likewise. + * timezone/africa: Update from tzdata1999g. + * timezone/asia: Likewise. + * timezone/australasia: Likewise. + * timezone/europe: Likewise. + * timezone/northamerica: Likewise. + * timezone/southamerica: Likewise. + * timezone/iso3166.tab: Likewise. + * timezone/zone.tab: Likewise. + +1999-09-27 Andreas Jaeger + + * resolv/netdb.h: Remove declaration of getnodebyname. It has + been renamed to getipnodebyname. Move flags around. + +1999-09-27 Andreas Schwab + + * manual/message.texi (Locating gettext catalog): Fix typos. + +1999-09-27 Andreas Jaeger + + * manual/socket.texi (Out-of-Band Data): Correct example program, + rename some variables for clarity. + Reported by James Antill , close PR libc/1329. + +1999-09-27 Ulrich Drepper + + * locale/programs/ld-collate.c (insert_value): Add hack to not + crash in incomplete collate implementation. + + * locale/programs/ld-collate.c (read_directions): Read new token + after accepting sorting rule. + +1999-09-26 Ulrich Drepper + + * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix + error message printing. Correctly test whether all characters of + current token are used. + (ctype_read): NUL terminate last_str. + +1999-09-26 Thorsten Kukuk + + * nscd/connections.c: Invalidate caches on request. + * nscd/nscd-client.h: Add INVALIDATE to request_type. + * nscd/nscd.c: Add invalidate cache option. + * nscd/nscd.conf: Change log directory to /var/log (FHS). + +1999-09-24 Ulrich Drepper + + * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_grent): Do + not ovverwrite last group member with NULL pointer. + Reported by Thomas Winder . + +1999-09-24 Andreas Jaeger + + * stdio-common/tst-printf.c (main): Add a testcase for large + precision. Reported by Tymm Twillman . + +1999-09-24 Andreas Schwab + + * math/bits/mathcalls.h: Fix last change. Also declare __finite. + +1999-09-24 Andreas Jaeger + + * intl/finddomain.c (_nl_find_domain): Fix memory leak: Free + normalized_codeset. Reported by Belicky Zsolt . + +1999-09-23 Mark Kettenis + + * sysdeps/unix/sysv/linux/Makefile [malloc] (CFLAGS-malloc.c): New + variable. Define MORECORE_CLEARS to 2. + + * malloc/malloc.c (cALLOc): Correctly handle systems where sbrk + doesn't clear the contents of memory that is reallocated after + decrementing the break value first. Update comment about + MORECORE_CLEARS, explaining the meaning of the values it can be + set to. + +1999-09-23 Ulrich Drepper + + * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Set errno in + one more case. + + * sysdeps/i386/fpu/bits/mathinline.h (atan): Add st(1) to clobbers. + (log): Likewise. + (log10): Likewise. + (log1p): Likewise. + (log2): Likewise. + +1999-09-22 Andreas Jaeger + + * stdio-common/tstscanf.c (main): Add test case from PR libc/1313 + reported by Ben Caradoc-Davies . + +1999-09-22 Andreas Schwab + + * stdio-common/vfscanf.c: Fix width handling when scanning floats. + +1999-04-02 Andreas Jaeger + + * elf/Makefile (CFLAGS-multiload.c): Change to allow building in + the source directory. Fixes PR libc/1059. + +1999-09-21 Ulrich Drepper + + * locale/programs/repertoire.c (repertoire_find_value): Abort if + rep parameter is NULL. + (repertoire_find_symbol): Likewise. + (repertoire_find_seq): Likewise. + +1999-09-20 Jean-Louis Martineau + + * nis/nss_compat/compat-pwd.c (getpwuid_plusgroup): Correct + returned errno value in some cases. + +1999-09-19 Ulrich Drepper + + * iconvdata/Makefile (modules): Add GBK. + (distribute): Add gbk.c. + * iconvdata/gbk.c: New file. + * iconvdata/gconv-modules: Add GBK entry. + Contributed by Sean Chen . + + * locale/programs/ld-monetary.c (monetary_output): Remove + byte-order code. + + * locale/programs/ld-time.c (time_output): Correct expected number + of iov entries. + + * manual/filesys.texi (Testing File Access): Correct description of + SUID. + +1999-080-25 H.J. Lu + + * csu/defs.awk (.end): Only match with leading white spaces. + (.align): Likewise. + +1999-09-19 Ulrich Drepper + + * stdlib/isomac.c: Add va_copy to allowed macros. + + * po/pl.po: Updated. + +1999-09-17 Andreas Schwab + + * Makefile (clean): Also remove $(postclean) files. + +1999-09-15 Andreas Jaeger + + * pwd/Makefile (otherlibs): Add for building with static-nss. + * inet/Makefile (otherlibs): Likewise. + +1999-09-15 Andreas Jaeger + + * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Use old style + function definition to avoid a compilation failure. + +1999-09-15 Andreas Jaeger + + * stdlib/tst-environ.c (main): Add getenv regression test for + environment variable that's one character long. + +1999-09-15 Andreas Jaeger + + * sysdeps/unix/sysv/linux/i386/sigaction.c: Protect real time + signal definitions to let glibc compile with older Linux versions + (2.0.10 to 2.1.100 or so). + +1999-09-18 Roland McGrath + + * sysdeps/mach/hurd/wait4.c (__wait4): When proc_wait returns EAGAIN, + return zero to indicate no children died yet (assuming WNOHANG). + + * sysdeps/mach/hurd/setsid.c: #include . + +1999-09-17 Roland McGrath + + * hurd/port2fd.c (_hurd_port2fd): Never change CTTYID port. + + * sysdeps/mach/hurd/setsid.c (__setsid): Fix return type -> pid_t. + Return _hurd_pgrp instead of 0. + +1999-09-19 Roland McGrath + + * sysdeps/mach/hurd/brk.c (_hurd_set_brk): Deallocate and reallocate + pages rather than just reprotecting them. This way we don't hold on + to the backing space. + + * hurd/hurdprio.c (_hurd_priority_which_map): Rearrange the code a bit. + Use __munmap instead of __vm_deallocate. + +1999-09-18 Ulrich Drepper + + * nis/nss_compat/compat-grp.c (getgrgid_plusgroup): Correct + returned errno value in some cases. + +1999-09-17 Andreas Jaeger + + * sysdeps/i386/Makefile (CFLAGS-initfini.s): Add also -mcpu=i386 + to override user settings. + +1999-09-17 Andreas Schwab + + * sysdeps/unix/sysv/linux/semctl.c: Copy the argument instead of + using a pointer to it. + +1999-09-16 Ulrich Drepper + + * time/getdate.c (__getdate_r): Pass correct year to check_mday. + Reported by Vern Staats . + +1999-09-14 Ulrich Drepper + + * db2/mutex/sparc.gcc (TSL_UNSET): Dereference pointer. + + * elf/elf.h (PF_MASKOS): New definition. + (EM_VAX): New definition. + +1999-08-09 Scott Bambrough + + * sysdeps/unix/sysv/linux/arm/sys/user.h: Added members + 'unsigned char ftype[8]', and 'unsigned int init_flag' to + struct user_fp. These were added in version 2.2.12 of the + ARM Linux kernel. + * sysdeps/unix/sysv/linux/arm/sys/elf.h: New file. + * sysdeps/unix/sysv/linux/arm/sys/procfs.h: New file. + The generic procfs.h included . This causes + structure redefinition errors when and + are included in the same source file. Found when building GDB. + +1999-09-13 Ulrich Drepper + + * locale/langinfo.h: Remove byte-order dependent names. + * locale/categories.def: Update after removal of byte-order dependent + names. + * locale/loadlocale.c (_nl_load_locale): Don't allow locale files + with magic number in other byte order. + * locale/newlocale.c (__newlocale): Remove byte-order dependent code. + * locale/C-collate.c: Remove initializers for other byte-order. + * locale/C-ctype.c: Likewise. + * locale/C-monetary.c: Likewise. + * locale/C-paper.c: Likewise. + * locale/C-time.c: Likewise. + * locale/lc-collate.c: Remove byte-order oriented initialization. + * locale/lc-ctype.c: Likewise. + * locale/lc-monetary.c: Likewise. + * locale/lc-time.c: Likewise. + * locale/programs/ld-address.c: Don't generate output in both + byte-orders. + * locale/programs/ld-ctype.c: Likewise. + * locale/programs/ld-paper.c: Likewise. + * locale/programs/ld-time.c: Likewise. + * time/strftime.c (NLW): Don't use different byte-orders. + * wctype/cname-lookup.h (cname_lookup): Likewise. + + * Makeconfig (localedir): Define using libdir, not datadir. + (msgcatdir): New variable. + * catgets/Makefile (CPPFLAGS): Define NLSPATH using msgcatdir. + * elf/Makefile (bash-ldd-rewrite): Replace @TEXTDOMAINDIR@ using + msgcatdir. + * intl/Makefile (install-others): Install locale.alias in msgcatdir. + (CPPFLAGS): Define paths using msgcatdir. + * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH using msgcatdir. + * po/Makefile (mo-installed): Define using msgcatdir. + + * sysdeps/unix/sysv/linux/net/if_arp.h: Fix typo. + +1999-09-12 Ulrich Drepper + + * stdio-common/vfprintf.c: Remove limitation on size of precision + for integers. + + * posix/fnmatch.c (internal_fnmatch): Make it compilable outside + glibc by defining internal_function if it isn't already. + + * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If res_search + fails don't rely on errno value. + (getanswer_r): Set *ERRNOP in error cases. + + * sysdeps/posix/getaddrinfo.c (gaih_local): Test protocol and socktype. + (gaih_inet_serv): Return EIA_NODATA if name is known but has no + associated data. Test for matching numeric address and family. + (getaddrinfo): Remember EAI_NODATA result and return this in case + everything fails. + Reported by Arkadiusz Miskiewicz . + + * locale/programs/ld-address.c: Fix handling of non-existing + definitions for this category. Correctly ignore content of this + category is this is necessary. + * locale/programs/ld-collate.c: Likewise. + * locale/programs/ld-ctype.c: Likewise. + * locale/programs/ld-identification.c: Likewise. + * locale/programs/ld-measurement.c: Likewise. + * locale/programs/ld-messages.c: Likewise. + * locale/programs/ld-monetary.c: Likewise. + * locale/programs/ld-name.c: Likewise. + * locale/programs/ld-numeric.c: Likewise. + * locale/programs/ld-paper.c: Likewise. + * locale/programs/ld-telephone.c: Likewise. + * locale/programs/ld-time.c: Likewise. + * locale/programs/locfile.h (handle_copy): Take extra parameter + with result pointer. Fill in name of locale from which to copy. + Correctly read token after `END'. + + * locale/programs/localedef.c (main): Correct handling copy. + (add_to_readlist): Take extra parameter which says whether we + are supposed to read the file or not. + (find_locale): Call add_to_readlist with extra parameter set to 0. + + * locale/programs/localedef.h (struct localedef_t): Use __LC_LAST + instead of wrong number in array definitions. + (add_to_readlist): Update prototype. + + * locale/programs/locfile.c (locfile_read): Mark categories not + available in source file as read. + (write_all_categories): Fix typo. + + * locale/programs/locales.h: Removed. + +1999-09-10 Ulrich Drepper + + * elf/elf.h (SHF_MASKOS): Added. + + * sysdeps/unix/sysv/linux/sys/raw.h (RAW_MAJOR): Added. + +1999-09-08 Andreas Jaeger + + * manual/install.texi (Configuring and compiling): Mention GCC 2.95. + +1999-09-08 Andreas Jaeger + + * configure.in: Fix make version test for make 3.77.95 and later + versions. + Based on a patch by Paul D. Smith . + +1999-09-10 Ulrich Drepper + + * wcsmbs/wchar.h (WCHAR_MIN, WCHAR_MAX): Use all-numeric values. + + * sysdeps/generic/stdint.h: Correct WCHAR_MIN, WCHAR_MAX, and + WINT_MAX values. + + * wctype/wctype.h: Remove incorrect towlower/towupper optimizations. + +1999-09-09 Andreas Schwab + + * elf/link.h: Fix comment. + +1999-09-10 Ulrich Drepper + + * math/bits/mathcalls.h: Add __isnan declaration [PR libc/1294]. + + * math/math.h: Pretty print. + +1999-09-10 Andreas Schwab + + * sysdeps/generic/getenv.c (getenv): Fix lookup for single + character variable on bigendian platforms without unaligned memory + access. + +1999-09-07 Cristian Gafton + + * sysdeps/unix/sysv/linux/sys/raw.h: New file + * sysdeps/unix/sysv/linux/Dist: Add raw.h. + * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_headers): Add raw.h. + +1999-09-06 Ulrich Drepper + + * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/user.h. + + * time/ap.c: Removed. It was not used. + * time/date.c: Likewise. + * sysdeps/unix/nlist.c: Likewise. + * sysdeps/generic/nlist.c: Likewise. + * sysdeps/generic/varargs.h: Likewise. + * stdio-common/scanf11.c: Likewise. + * stdio-common/scanf6.c: Likewise. + * scripts/=__ify: Likewise. + * scripts/printsources: Likewise. + * resolv/getnetnamadr.c: Likewise. + * posix/id.c: Likewise. + * misc/ioctltst.c: Likewise. + * misc/nlist.h: Likewise. + * math/test-math.h: Likewise. + * include/nlist.h: Likewise. + +1999-09-06 Andreas Schwab + + * time/tzset.c (compute_change): Replace slow loop to compute T by + simple algorithm. + +1999-09-06 Ulrich Drepper + + * iconvdata/iso-2022-jp.c: When translating to ISO-2022-JP* write + escape sequences out even if the character itself does not fit + into the buffer. + + * iconvdata/jis0201.h (ucs4_to_jisx0201): Correct mapping for U005C. + +1999-08-31 H.J. Lu + + * nscd/nscd_getgr_r.c (nscd_getgr_r): Cleanup the buffer count. + +1999-09-05 Roland McGrath + + * hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default + it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER. + (_hurd_priority_which_map): + +1999-09-04 Ulrich Drepper + + * sysdeps/unix/sysv/linux/getaddrinfo.c: Little optimization. + +1999-09-03 Andreas Schwab + + * sysdeps/unix/sysv/linux/syscalls.list: Rename strong name for + fork from __syscall_fork to __libc_fork. + * posix/Versions: Add __libc_fork and __vfork to version + GLIBC_2.1.2. + +1999-08-30 Andreas Jaeger + + * io/ftwtest-sh: Set LC_ALL and LANG to fix locale + dependencies in sort. + +1999-09-01 H.J. Lu + + * sysdeps/unix/sysv/linux/alpha/sys/user.h: New file. + + * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Include + instead of . + +1999-09-02 Ulrich Drepper + + * elf/elf.h: Update PARISC-specific flags and symbolic names. + +1999-09-01 Ulrich Drepper + + * elf/elf.h: Update PARISC relocations. + +1999-08-31 Scott Bambrough + + * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Enclose header in an + #ifdef statement to prevent it from being included twice. + * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: + #include . + +1999-08-31 Andreas Schwab + + * locale/C-collate.c: Add missing initialisations. + * locale/C-ctype.c: Likewise. + +1999-08-31 Ulrich Drepper + + * time/strftime.c (my_strftime): Remove unneeded variable len. + + * time/strptime.c: Undo last change. + +1999-08-30 Ulrich Drepper + + * locale/Makefile (distribute): Add iso-639.def and iso-3166.def. + Change charset.h to charmap.h. + (categories): Add new categories. Leave out collate for now. + Update build rules. + * locale/categories.def: Add definitions for new categories. + * locale/langinfo.h: Likewise. + * locale/locale.h: Likewise. + * locale/C-address.c: New file. + * locale/C-identification.c: New file. + * locale/C-measurement.c: New file. + * locale/C-name.c: New file. + * locale/C-paper.c: New file. + * locale/C-telephone.c: New file. + * locale/lc-address.c: Likewise. + * locale/lc-identification.c: Likewise. + * locale/lc-measurement.c: Likewise. + * locale/lc-name.c: Likewise. + * locale/lc-paper.c: Likewise. + * locale/lc-telephone.c: Likewise. + * locale/C-ctype.c: Update for locale rewrite. + * locale/C-messages.c: Likewise. + * locale/C-monetary.c: Likewise. + * locale/C-time.c: Likewise. + * locale/lc-collate.c: Likewise. + * locale/lc-ctype.c: Likewise. + * locale/lc-monetary.c: Likewise. + * locale/lc-time.c: Likewise. + * locale/localeinfo.h: Likewise. + * locale/newlocale.c: Likewise. + * locale/setlocale.c: Likewise. + * locale/weight.h: Likewise. + * locale/findlocale.c: Unconditionally use mmap. + Handle new categories. + * locale/loadlocale.c: Likewise. + * locale/iso-3166.def: New file. + * locale/iso-639.def: New file. + * locale/programs/charmap-kw.gperf: Add new keywords. + * locale/programs/locfile-kw.gperf: Likewise. + * locale/programs/locfile-token.h: Define new tokens. + * locale/programs/charmap.c: Rewrite to handle multibyte charsets. + * locale/programs/charmap.h: New file. + * locale/programs/charset.h: Removed. + * locale/programs/config.h: Add __LC_LAST. + * locale/programs/lc-address.c: New file. + * locale/programs/lc-identification.c: New file. + * locale/programs/lc-measurement.c: New file. + * locale/programs/lc-name.c: New file. + * locale/programs/lc-paper.c: New file. + * locale/programs/lc-telephone.c: New file. + * locale/programs/lc-collate.c: Update for locale rewrite. + * locale/programs/lc-ctype.c: Likewise. + * locale/programs/lc-messages.c: Likewise. + * locale/programs/lc-monetary.c: Likewise. + * locale/programs/lc-numeric.c: Likewise. + * locale/programs/lc-time.c: Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/localedef.c: Likewise. + * locale/programs/locfile.c: Likewise. + * locale/programs/repertoire.c: Likewise. + * locale/programs/repertoire.h: Likewise. + * locale/programs/locfile.c: Update prototypes. + Update handle_copy definition. + * locale/programs/linereader.c: Add handling of wide char strings and + new definition file syntax. + * locale/programs/linereader.h (struct token): Add elements for wide + character strings. + * locale/programs/locale-spec.c: Disable handling of collation + elements for now. + * locale/programs/simple-hash.h: Cleanup. + * locale/programs/stringtrans.h: Handle quite of end of line. + * string/strcoll.c: Fall back on strcmp for now. + * string/strxfrm.c: Fall back on strncpy/strlen for now. + * time/strftime.c: Use new wide character data for wcsftime. + * time/strptime.c: Remove _nl_C_LC_TIME declaration. + * wctype/cname-lookup.h: Update for new LC_CTYPE data. + + * sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force + compiling for i386 to avoid i686-like GOT pointer computation. + + * db2/db_int.h: Change tsl_t type to u_int32_t. + * db2/mutex/mutex.c: Allow Alpha mutex definitions. + * db2/mutex/alpha.h: New file. + * db2/mutex/sparc.gcc: Fix store code for v9. Simplify clear code. + * sysdeps/alpha/Makefile [db2]: Set CFLAGS of mutex.c to make spinlocks + known. + Patches by Richard Henderson. + + * stdlib/tst-environ.c: Add cast to avoid warning. + * timezone/test-tz.c: Use setenv instead of putenv. + +1999-08-28 Andreas Jaeger + + * manual/libc.texinfo: Update version and date. + + * manual/locale.texi (Formatting Numbers): Fix @node pointers. + + * manual/filesys.texi (Working with Directory Trees): Add missing @code. + (File System Interface): Correct entry. + (Permission Bits): Add missing commata after @xref. + +1999-08-29 Andreas Jaeger + + * timezone/tst-timezone.c (main): Don't pass const strings to + putenv to avoid warnings. + + * posix/regexbug1.c: Include for puts prototype. + +1999-08-29 Thorsten Kukuk + + * nis/Versions: Add _nss_*_getipnodebyname_r. + * nis/nss_nis/nis-hosts.c: Add _nss_nis_getipnodebyname_r. + * nis/nss_nisplus/nisplus-hosts.c: Add _nss_nisplus_getipnodebyname_r. + * nss/Versions: Add _nss_files_getipnodebyname_r. + +1999-08-28 H.J. Lu + + * nscd/nscd_getgr_r.c (nscd_getgr_r): Don't count the alloca'ed + memory for buffer. + +1999-08-27 Ulrich Drepper + + * sysdeps/unix/sysv/linux/netpacket/packet.h: Update from 2.3.15 + kernel. + * inet/netinet/in.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise. - * sysdeps/generic/bits/types.h: Define __socklen_t. - * sysdeps/unix/sysv/aix/bits/types.h: Likewise. - * sysdeps/unix/sysv/hpux/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. + +1999-08-28 Ulrich Drepper + + * malloc/malloc.c (ptmalloc_init): Don't use variables to set + thresholds for SUID binaries. [PR libc/1277] + + * posix/regexbug1.c: Add one more similar case. + +1999-08-28 Andreas Jaeger + + * manual/install.texi (Running make install): Give examples for + timezone and locale installation. + +1999-08-28 Zack Weinberg + + * glibcbug.in: Get CCVERSION from autoconf substitution. + * configure.in: Calculate and substitute CCVERSION. + +1999-08-28 Andreas Jaeger + + * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Fix sa_flags, + partially reverting a patch from 1998-12-29. We just can't change + the flags, kernels with different flags lead to + incompatibilities. + +1999-08-26 Andreas Schwab + + * locale/langinfo.h (YESSTR, NOSTR): Still define if __USE_GNU. + +1999-08-27 Ulrich Drepper + + * inet/rexec.c (rexec): Free memory if strings were allocated in + ruserpass. Reported by Andrew Morton . + +1999-08-27 Ulrich Drepper + + * locale/categories.def: Use __YESSTR amd __NOSTR in definition. + + * manual/argp.texi: Fixing language and typos. + * manual/conf.texi: Likewise. + * manual/contrib.texi: Likewise. + * manual/ctype.texi: Likewise. + * manual/filesys.texi: Likewise. + * manual/install.texi: Likewise. + * manual/job.texi: Likewise. + * manual/lang.texi: Likewise. + * manual/llio.texi: Likewise. + * manual/locale.texi: Likewise. + * manual/math.texi: Likewise. + * manual/nss.texi: Likewise. + * manual/pipe.texi: Likewise. + * manual/signal.texi: Likewise. + * manual/socket.texi: Likewise. + * manual/stdio.texi: Likewise. + * manual/sysinfo.texi: Likewise. + * manual/users.texi: Likewise. + Patches by Neil Booth . + +1999-08-25 Ulrich Drepper + + * sysdeps/i386/fpu/bits/mathinline.h (__finite): Mark constant as + unsigned to avoid warning. [PR libc/1271]. + + * conform/conformtest.pl: Allow testing regex.h which requires + sys/types.h being included. + + * conform/data/regex.h-data: Allow *_t types. + * conform/data/pwd.h-data: Likewise. + * conform/data/sched.h-data: Likewise. + * conform/data/pthread.h-data: Likewise. + * conform/data/search.h-data: Likewise. + + * misc/search.h: Avoid namespace pollution. + + * conform/conformtest.pl (@headers): Add search.h, sched.h, regex.h, + pwd.h, and pthread.h. + * conform/data/pthread.h-data: New file. + * conform/data/pwd.h-data: New file. + * conform/data/regex.h-data: New file. + * conform/data/sched.h-data: New file. + * conform/data/search.h-data: New file. + + * NAMESPACE: Add REG_ for regex.h. + + * locale/langinfo.h: Don't define YESSTR and NOSTR for XPG6 since + they are removed. + + * configure.in (libc_cv_asm_global_directive): Indent .text in + test code so that the lame HPUX compiler recognizes it. + * sysdeps/hppa/bits/endian.h: New file. + * sysdeps/unix/sysv/hpux/bits/errno.h: New file. + * sysdeps/unix/sysv/hpux/bits/setjmp.h: New file. + * sysdeps/unix/sysv/hpux/bits/stat.h: New file. + * sysdeps/unix/sysv/hpux/bits/types.h: New file. + + * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: New file. + Patch by John Tobey . + + * sysdeps/unix/sysv/sysv4/solaris2/bits/dirent.h: New file. + + * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Move + old_siocfifconf definition to toplevel. + (__protocol_available): Remove old_siocfifconf definition. + +1999-08-25 Mark Kettenis + + * sysdeps/unix/sysv/linux/ptsname.c: Add checks to make sure we're + really dealing with a master pseudo terminal, and really returning + the name of the associated slave pseudo terminal by checking the + device number. + * sysdeps/unix/sysv/linux/pty-private.h: Removed. + * login/programs/pt_chown.c (do_pt_chown): Don't use unix98_pseudo_p. + +1999-08-25 Andreas Jaeger + + * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing + underscore in _llseek entry. + + * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix typo in execve + entry. + + * sysdeps/unix/sysv/linux/bits/errno.h: Fix comment. + * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise. + + * elf/Makefile ($(objpfx)ld.so): Fix rtld-ldscript dependency. + Patch by Ralf Baechle . + +1999-08-25 Ulrich Drepper + + * inet/Makefile (routines): Add getipnodebynm. + * inet/getipnodebynm.c: New file. + * nss/digits_dots.c: If HAVE_TYPE is define type contains the + interface type. + * nss/nss_files/files-XXX.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and + EXTRA_ARGS_VALUE is not already done. + (internal_getent): Allow extra parameters and pass them to parse_line. + (_nss_files_get,ENTNAME_r): Pass extra parameters to internal_getent. + (_nss_files_get##name##_r): Likewise. + * nss/nss_files/files-hosts.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, + and EXTRA_ARGS_VALUE to pass flags and type to parser. + Add getipnodebyname function. + * nss/nss_files/files-parse.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and + EXTRA_ARGS_VALUE is not already done. + (parse_line): Add EXTRA_ARGS_DECL to parameter list. + * nss/nss_db/db-XXX.c (lookup): Allow extra parameters and pass them + to parse_line. + (_nss_db_get##name##_r): Pass extra parameters to lookup. + (_nss_db_get,ENTNAME_r): Likewise. + * sysdeps/generic/if_index.c (__protocol_available): New function. + * sysdeps/unix/sysv/linux/if_index.c: Likewise. + +1999-08-24 Ulrich Drepper + + * login/pty-private.h: Move to... + * sysdeps/generic/pty-private.h: ...here. + * sysdeps/unix/sysv/linux/pty-private.h: New file. Linux specific + version. + * login/programs/pt_chown.c (do_pt_chown): Use unix98_pseudo_p is + available. + + * libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead + of __overflow. + + * conform/conformtest.pl (@headers): Add monetary.h-data, + mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data. + * conform/data/monetary.h-data: New file. + * conform/data/mqueue.h-data: New file. + * conform/data/ndbm.h-data: New file. + * conform/data/nl_types.h.h-data: New file. + * conform/data/poll.h-data: New file. + + * stdio-common/Makefile (test): Add tst-cookie. + * stdio-common/tst-cookie.c: New file. + + * sysdeps/unix/sysv/linux/mips/bits/errno.h: Fix EILSEQ value + changed in last patch. Reported by Ralf Baechle. + +1999-08-24 Andreas Jaeger + + * sysdeps/unix/mips/sysdep.h: Use __syscall_error. + + * sysdeps/unix/mips/sysdep.S: Rewrite, don't declare errno here. + Patches by Ralf Baechle + +1999-08-24 Andreas Jaeger + + * sysdeps/unix/sysv/linux/net/if_arp.h: Add new constants from + Linux 2.3.15. + +1999-08-24 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve + syscall. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + + * misc/libgen.h: Don't take basename macro as taking arguments. + + * sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants + for gcc >= 2.95. + * sysdeps/i386/bits/huge_val.h: Likewise. + * sysdeps/i386/bits/huge_val.h: Likewise. + * sysdeps/ieee754/bits/huge_val.h: Likewise. + * sysdeps/m68k/bits/huge_val.h: Likewise. + * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise. + * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise. + + * conform/Makefile: New file. + * conform/conformtest.pl: New file. + * conform/data/aio.h-data: New file. + * conform/data/assert.h-data: New file. + * conform/data/cpio.h-data: New file. + * conform/data/ctype.h-data: New file. + * conform/data/dirent.h-data: New file. + * conform/data/dlfcn.h-data: New file. + * conform/data/errno.h-data: New file. + * conform/data/fcntl.h-data: New file. + * conform/data/float.h-data: New file. + * conform/data/fmtmsg.h-data: New file. + * conform/data/fnmatch.h-data: New file. + * conform/data/ftw.h-data: New file. + * conform/data/glob.h-data: New file. + * conform/data/grp.h-data: New file. + * conform/data/iconv.h-data: New file. + * conform/data/inttypes.h-data: New file. + * conform/data/iso646.h-data: New file. + * conform/data/langinfo.h-data: New file. + * conform/data/libgen.h-data: New file. + * conform/data/locale.h-data: New file. + * conform/data/math.h-data: New file. + +1999-08-23 Ulrich Drepper + + * posix/execvp.c (execvp): Correct copying of file name. + +1999-08-23 Mark Kettenis + + * hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else. + +1999-08-23 Ulrich Drepper + + * stdio-common/Makefile: Move addition to routines to the right place. + +1999-08-23 Andreas Jaeger + + * sysdeps/unix/sysv/linux/mips/bits/errno.h: New file. Neccessary + since mips*-linux has ECANCELED. + +1999-08-23 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Define + SIGCONTEXT_EXTRA_ARGS. + * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise. + * sysdeps/generic/sigcontextinfo.h: Likewise. + * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise. + * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise. + +1999-08-23 Ulrich Drepper + + * posix/regexbug1.c: Make it an error if the test fails. + +1999-08-23 Andreas Schwab + + * posix/regex.c (re_match_2_internal): Correct check for charset + after exactn in loop. + +1999-08-22 Ulrich Drepper + + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall. + * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. + Patch by Joel Klecker. + + * iconv/gconv_int.h (GCONV_AVOID_NOCONV): New definition. + (__gconv_find_transform): Update prototype. + (__gconv_open): Likewise. + * iconv/gconv_open.c: Take extra parameter and pass it to + __gconv_find_transform. + * iconv/gconv_db.c (__gconv_find_transform): Take extra parameter with + flags. If GCONV_AVOID_NOCONV flag is set don't return copying + transformation. + * iconv/iconv_open.c: Pass extra parameter to __gconv_open. + * wcsmbs/wcsmbsload.c: Likewise. + * intl/dcgettext.c (_nl_find_msg): Rewrite to use gconv instead of + iconv for glibc. + * intl/gettextP.h: Likewise. + * intl/loadmsgcat.c: Likewise. + + * posix/regexbug1.c: New file. + * posix/Makefile (tests): Add regexbug1. + +1999-08-22 Mark Kettenis + + * hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags. + * hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when + installing PORT in the descriptor cell. + +1999-08-19 Roland McGrath + + * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and + TIMEOUT as outputs of the asm to indicate that the signal thread + might mutate them. + * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain + mach_msg if only sending or only receiving (i.e., not an RPC). When + making an RPC that might get interrupted, save OPTION and the portion + of the message buffer that gets clobbered by an EINTR reply message, + and properly restore them before attempting to retry the request + message send. + +1999-08-21 Mark Kettenis + + * stdio-common/vfscanf.c [! USE_IN_LIBIO]: Add necessary + definitions for MEMCPY, ISSPACE, ISDIGIT, ISXDIGIT, TOLOWER, L_, + CHAR_T, UCHAR_T and WIN_T to make the code compile again when + stdio is used instead of libio. + * stdio-common/vfprintf.c [! USE_IN_LIBIO]: Add necessary + definitions for CHAR_T, UCHAR_T, INT_T, L_, ISDIGIT, PAD and PUTC + to make the code compile again when stdio is used instead of + libio. + (vfprintf): Only check for correct orientation if ORIENT is + defined. + * stdio-common/Makefile (routines): Only add vfwprintf and + vfwscanf if we're using libio. + +1999-08-21 Mark Kettenis + + * include/stdio.h [! USE_IN_LIBIO && __need_FILE]: Avoid defining + any additional prototype just as we do for libio. + +1999-08-21 Mark Kettenis + + * include/bits/xopen_lim.h: Do not define STREAM_MAX and + TZNAME_MAX. These limits are not X/Open specific. + * stdio-common/stdio_lim.h.in: Allow inclusion when __need_IOV_MAX + is defined. + +1999-08-21 Mark Kettenis + + * Rules: When generated stdio_lim.h, avoid defining IOV_MAX if + UIO_MAXIOV is left undefined in sys/uio.h. + * stdio-common/stdio_lim.h.in: Adapt for change above. + +1999-08-21 Andreas Jaeger + + * sysdeps/unix/sysv/linux/mips/bits/sigaction.h (SA_RESETHAND): Add it. + * sysdeps/mips/bits/dlfcn.h: Remove SGI specific calls, add RTLD_LOCAL. + Patches by Ralf Baechle + +1999-08-21 Ulrich Drepper + + * stdlib/fmtmsg.h: Don't define NULL to keep namespace clean. + +1999-08-20 Ulrich Drepper + + * sysdeps/unix/sysv/linux/execve.c: Define weak alias execve. + + * sysdeps/unix/sysv/linux/init-first.c (init): Remove personality + call. It should not be necessary andis harmful for Alpha. + + * sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size + type. [PR libc/1269] + + * posix/execvp.c (execvp): Allocate array name of correct size. + Optimize inner loop. Use execve directly, not execv. + + * elf/elf.h: Corrected SHT_ values from new draft. + + * intl/gettextP.h (struct loaded_domain): Add conv element. + * intl/dcgettext.c (find_msg): Rename to _nl_find_msg and make public. + Instead of returning found message directly convert it using iconv + if a conversion was found when opening the file. + * intl/loadinfo.h: Protect against multiple inclusion. + Declare _nl_find_msg. + * intl/loadmsgcat.c (_nl_load_domain): Try to determine charset used + in the message file and if necessary find approrpiate + conversion to match currently selected charset. + * include/libintl.h: Declare __dgettext and __dcgettext. + * include/iconv.h: New file. + +1999-08-20 Andreas Schwab + + * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo. + +1999-08-19 Ulrich Drepper + + * sysdeps/unix/sysv/linux/execve.c: New file. This version terminates + all threads [PR libc/1223]. + + * elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero. + [PR libc/1165]. + + * configure.in: Search for programs with prefix gnu* and g* first. + [PR libc/1104]. + + * dirent/Makefile (routines): Add getdents64. + * sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines): + Remove getdents64. + * dirent/dirent.h: Redirect getdirentries to getdirentries64 if + compiled with _FILE_OFFSET_BITS=64. + * sysdeps/generic/getdents64.c: New file. + * sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and + __lseek for getdirentries64 definition. + + * sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias. + + * sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with + _FILE_OFFSET_BITS=64. + + * sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second + parameter. + + * sysdeps/generic/setenv.c (__add_to_environ): Initialize ep + after we have the lock. + + * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file. + Patch by Richard Henderson. + +1999-08-19 Andreas Schwab + + * libio/iovswscanf.c (vswscanf): Make stream unoriented initially + and call _IO_fwide, to get the wide stream state initialized + correctly. Don't set _IO_JUMPS. + * libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *. + * libio/vswprintf.c (_IO_vswprintf): Likewise. Pass + _IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS + directly. + +1999-08-19 Andreas Jaeger + + * math/libm-test.c (jn_test): Fix typo in description. + (erfc_test): Add some more tests. + (erf_test): Add some more tests. + +1999-08-19 Andreas Schwab + + * csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by + expression using $(exceptions). + +1999-08-18 Ulrich Drepper + + * sysdeps/generic/setenv.c: Avoid warning about uninitialized variable. + + * libio/fileops.c (_IO_file_xsgetn): Allocate buffer if none is + allocated so far. [PR libc/1261]. + + * math/libm-test.c (j0_test): Adjust deltas for m68k. + (jn_test): Likewise. + + * dirent/dirent.h: Only define ino64_t if not already done. + * posix/sys/types.h: Likewise. + + * ctype/ctype.h: Avoid useless #endif #if pairs. + + * dirent/dirent.h: Define ino_t and ino64_t if not done already. + (seekdir): Fix type of second parameter. + * sysdeps/generic/seekdir.c: Likewise. + * sysdeps/mach/hurd/seekdir.c: Likewise. + * sysdeps/unix/seekdir.c: Likewise. + + * dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU. + +1999-08-18 Andreas Jaeger + + * manual/install.texi (Configuring and compiling): Clarify ix86 + situation. + +1999-08-18 Ulrich Drepper + + * Rules: When generating stdio_lim.h also rewrite IOV_MAX definition. + * stdio-common/stdio_lim.h.in: Add IOV_MAX template. + * include/bits/xopen_lim.h: Don't define IOV_MAX here, get it from + stdio_lim.h. Define LONG_BIT and WORD_BIT. + + * include/features.h: Define __USE_XOPEN2K if _XOPEN_SOURCE == 600. + + * libio/stdio.h: Don't declare cuserid and getopt for X/Open issue 6. + + * misc/search.h: Don't define NULL. + + * posix/sys/types.h: Define blksize_t if it hasn't happened. + Only define key_t and blkcnt_t if it hasn't happened before. + Define blksize_t if not happened before. + * io/sys/stat.h: Don't define pid_t. Define blkcnt_t and blksize_t. + * sysdeps/generic/bits/types.h: Define __blksize_t. + * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise. + * sysdeps/mach/hurd/bits/stat.h (struct stat): Use __blksize_t for + st_blksize member. + (struct stat64): Likewise. + * sysdeps/unix/bsd/bits/stat.h: Likewise. + * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise. + * sysdeps/unix/sysv/sysv4/i386/bist/stat.h: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise. + + * stdlib/getsubopt.c: Correct type of second argument. + * stdlib/stdlib.h: Likewise. + + * stdlib/monetary.h: Don't include sys/types.h. Define only size_t + and ssize_t. + + * sysdeps/generic/putenv.c: Correct type of parameter. + * stdlib/stdlib.h: Likewise. + + * sysdeps/generic/msgsnd.c: Correct type of second parameter. + * sysdeps/unix/sysv/linux/msgsnd.c: Likewise. + * sysvips/sys/msg.h: Likewise. + + * sysdeps/generic/semop.c: Correct type of third parameter. + * sysdeps/unix/sysv/linux/semop.c: Likewise. + * sysvipc/sys/sem.h: Likewise. Don't include sys/types.h, define + size_t. + + * sysdeps/generic/shmget.c: Correct type of second parameter. + * sysdeps/unix/sysv/linux/shmget.c: Likewise. + * sysvips/sys/shm.h: Likewise. Don't include unistd.h and sys/types.h. + Declare __getpagesize here. + + * sysdeps/generic/bits/ipc.h: Include bits/types.h instead of + sys/types.h. + * sysdeps/gnu/bits/ipc.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise. + * sysvipc/sys/ipc.h: Define uid_t, gid_t, mode_t, and key_t if not + already done. + + * sysdeps/unix/bsd/usleep.c: Correct type of parameter. + + * debug/versions: Export __cyg_profile_func_enter and + __cyg_profile_func_exit. + + * math/bits/mathcalls.h: Pretty print. + +1999-08-17 Ulrich Drepper + + * timezone/tst-timezone.c (tests): Update America/Sao_Paulo test + case for new tzdata. + + * sysdeps/unix/sysv/linux/alpha/bits/types.h: Make __useconds_t + unsigned. + * sysdeps/unix/sysv/linux/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise. + + * sysdeps/generic/bits/types.h: Make __useconds_t unsigned. + + * sysdeps/generic/ualarm.c (ualarm): Change return value and + parameter type to useconds_t. + * sysdeps/unix/bsd/ualarm.c: Likewise. + + * sysdeps/generic/usleep.c (usleep): Change parameter type to + useconds_t. + * sysdeps/unix/sysv/linux/usleep.c: Likewise. + * sysdeps/mach/usleep.c: Likewise. + + * locale/weight.h: Include . + + * posix/sys/types.h: Define type useconds_t if not done already. + * posix/unistd.h: Likewise. Use this in ualarm and usleep + declarations. + * sysdeps/generic/bits/types.h: Define type __useconds_t. * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. * sysdeps/unix/sysv/linux/bits/types.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise. * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise. - * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t. - (inet_lnaof): Likewise. - (inet_netof): Likewise. - (inet_network): Likewise. - (inet_aton): Likewise. - (inet_makeaddr): Change parameter types to in_addr_t. - (inet_neta): Likewise. - (inet_ntop): Change type of last parameter to socklen_t. - (inet_aton): Only make available if __USE_MISC. - (inet_neta): Likewise. - (inet_net_ntop): Likewise. - (inet_net_pton): Likewise. - (inet_nsap_ntoa): Likewise. + * dirent/dirent.h (telldir): Change return type to long int. + * sysdeps/generic/telldir.c: Likewise. + * sysdeps/mach/hurd/telldir.c: Likewise. + * sysdeps/unix/telldir.c: Likewise. + * sysdeps/unix/bsd/telldir.c: Likewise. Fix locking problem. - * inet/in.h: Define in_port_t type. - Define in_addr_t type. - (struct in_addr): Use in_addr_t in definition. - (IN_CLASSA): Use cast to in_addr_t. - (IN_CLASSB): Likewise. - (IN_CLASSC): Likewise. - (IN_CLASSD): Likewise. - (IN_EXPERIMENTAL): Likewise. - (IN_BADCLASS): Likewise. - (INADDR_ANY): Likewise. - (INADDR_BROADCAST): Likewise. - (INADDR_NONE): Likewise. - (INADDR_LOOPBACK): Likewise. - (INADDR_UNSPEC_GROUP): Likewise. - (INADDR_ALLHOSTS_GROUP): Likewise. - (INADDR_ALLRTRS_GROUP): Likewise. - (INADDR_MAX_LOCAL_GROUP): Likewise. - (struct sockaddr_in): Use in_port_t for sin_port element. - (struct sockaddr_in6): Use in_port_t for sin6_port element. - Use uint8_t instead of u_int8_t. + * locale/weight.h: Set errno if an invalid character is found. - * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t. - Call __inet_aton instead of inet_aton. - (__inet_aton): Renamed from inet_aton. Add weak alias under old name. +1999-08-17 Andreas Jaeger - * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC. - (innetgr): Likewise. - (struct addrinfo): Use socklen_t for ai_addrlen element. + * math/libm-test.c (erfc_test): Add test for example from PR + libc/1259. + (erf_test): Likewise. - * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU, - IPV6_RECVERR): New defines. +1999-08-17 Ulrich Drepper - * include/netdb.h: Change type of first parameter of __getnetbyaddr_r. - * inet/getnetbyad.c: Likewise. - * inet/getnetbyad_r.c: Likewise. - * nis/nss_nis/nis-network.c: Likewise. - * nis/nssplus_nis/nisplus-network.c: Likewise. - * nss/nss_files/files-network.c: Likewise. - * resolv/netdb.h: Define uint32_t if not already happened. - Include bits/netdb.h. Remove definition of struct netent. - Change type of first parameter of getnetbyaddr_r and getnetbyaddr. - * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere. - * sysdeps/generic/bits/netdb.h: New file. - * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file. + * sysdeps/ieee754/dbl-64/s_erf.c: Correct type in performance increase + rewrite. Patch by Alan Stern . - * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c. - (tests): Add glrefmain. - Add rules to build modules and run tests. Ignore result of glrefmain - for now since it fails. - * dlfcn/glrefmain.c: New file. - * dlfcn/glreflib1.c: New file. - * dlfcn/glreflib2.c: New file. + * timezone/private.h: Update from tzcode1999e. + * timezone/zic.c: Likewise. - * test-skeleton.c: Include for strsignal prototype. + * timezone/africa: Update from tzdata1999e. + * timezone/antarctica: Likewise. + * timezone/asia: Likewise. + * timezone/australasia: Likewise. + * timezone/europe: Likewise. + * timezone/leapseconds: Likewise. + * timezone/northamerica: Likewise. + * timezone/southamerica: Likewise. - * locale/programs/ld-collate.c (check_duplicate): Allow repertoire - to be missing. + * stdio-common/vfprintf.c (process_string_arg): Correct last patch + and write correct number of bytes in case of %ls with precision. + Reported by Shinya Hanataka . - * sysdeps/unix/sysv/linux/init-first.c (init): Add code from - former init-first.h. Initialize __libc_multiple_libcs. +1999-08-16 Ulrich Drepper -2000-03-31 Ulrich Drepper + * nscd/nscd.init: Test for kernel version and make LSB compliant. + Patch by Christian Gafton. - * iconv/skeleton.c: Define access macros with u suffix. Adjust - #if expression for use of unaligned function to the one used in - the definition of these functions. - * iconv/loop.c: Undefined `unaligned' before recursive inclusion. - * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function. - (internal_ucs4le_loop_unaligned): New function. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and + O_RSYNC. Patch by Christian Gafton. - * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c. - (tests): Add order. - (module-names): Add dep1, dep2, dep3, and dep4. - Add dependencies for dep* modules and order. - Define rule for order.out which checks the result. - * elf/dep1.c: New file. - * elf/dep2.c: New file. - * elf/dep3.c: New file. - * elf/dep4.c: New file. - * elf/order.c: New file. + * stdio-common/vfprintf.c (process_string_arg) [printf]: Handle + possibly unterminated strings for %ls when a precision is + specified. + Patch by Akira YOSHIYAMA . - * elf/dl-init.c: Fix typo in comment. + * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call + update_conversion_ptrs. + Reported by Shinya Hanataka . -2000-03-31 Andreas Jaeger +1999-08-15 Ulrich Drepper - * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new - init function interface. - * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise. + * wcsmbs/wcsnlen.c: Correct decrement of maxlen. + Reported by Shinya Hanataka . -2000-03-31 Andreas Jaeger + * wcsmbs/Makefile (tests): Add tst-wcsnlen. + * wcsmbs/tst-wcsnlen.c: New file. - * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if. - * sysdeps/mips/fpu/fegetenv.c: Likewise. - * sysdeps/mips/fpu/feupdateenv.c: Likewise. - * sysdeps/mips/fpu/fclrexcpt.c: Likewise. - * sysdeps/mips/fpu/fesetenv.c: Likewise. +1999-08-16 Andreas Jaeger - * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated - anymore, update comment. + * libio/ioputs.c (_IO_puts): Add missing brace. - * sysdeps/unix/sysv/linux/shmctl.c: Likewise. +1999-07-20 Geoff Keating - * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove - SHLIB_COMPAT - the struct is always needed. + * math/libm-test.c: Tweak deltas for a clean run on ppc. -2000-03-31 Ulrich Drepper +1999-08-10 H.J. Lu - * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686. - * elf/dl-support.c: Define _dl_starting_up. + * stdio-common/vfprintf.c (ORIENT): Check for the old stream. + (vfprintf): Likewise. + * stdio-common/vfscanf.c (ORIENT): Likewise. + * libio/genops.c (__underflow): Likewise. + (__uflow): Likewise. + * libio/iofputs.c (_IO_fputs): Likewise. + * libio/ioftell.c (_IO_ftell): Likewise. + * libio/iofwrite.c (_IO_fwrite): Likewise. + * libio/ioputs.c (_IO_puts): Likewise. + * libio/iosetbuffer.c (_IO_setbuffer): Likewise. + * libio/iosetvbuf.c (_IO_setvbuf): Likewise. -2000-03-30 Ulrich Drepper +1999-08-15 Ulrich Drepper - * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function. - * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up. + * iconv/gconv_builtin.h: Add ISO registry alias for UTF8. - * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used. +1999-08-15 Andreas Jaeger - * elf/Makefile (dl-routines): Remove preinit. - * elf/Versions: Remove _dl_preinit. - * elf/dl-preinit.c: Removed. Move content into... - * elf/dl-init.c: ...here. - * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit. + * manual/job.texi (Process Group Functions): Document getpgid, + getsid. - * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of - elements. +1999-08-15 Ulrich Drepper -2000-03-29 Geoff Clare + * sysdeps/unix/sysv/linux/aio_sigqueue.c: Take extra parameter and + initialize si_pid from it. + * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Take extra + parameter. + * rt/aio_misc.c (__aio_enqueue_request): Initialize caller_pid. + * rt/aio_misc.h (struct waitlist): Add caller_pid element. + (struct requestlist): Likewise. + Adjust prototypes of __aio_notify_only and __aio_sigqueue. + * rt/aio_notify.c (__aio_notify_only): Take extra parameter. Pass it + to __aio_sigqueue. + (__aio_notify): Pass caller PID to __aio_notify_only. + * rt/aio_suspend.c: Initialize caller_pid. + * rt/lio_listio.c: Likewise. + * rt/lio_listio64.c: Likewise. - * stdlib/strfmon.c: Corrected problems with the code that - sets default values for [np]_sep_by_space and - [np]_sign_posn; also the new positive/negative alignment - code from the previous patch was not quite right for - [np]_sign_posn = 0. + * rt/lio_listio.c: If nothing has to be done free mutex before + signalling. + * rt/lio_listio64.c: Likewise. - * localedata/tst-fmon.data: Changes corresponding to the - two sets of fixes made to stdlib/strfmon.c. +1999-08-10 H.J. Lu -2000-03-29 Jes Sorensen + * resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-buffer + handling. - * malloc/malloc.c: Declare bit flags UL so that they will not - default to int size when being inverted. +1999-08-15 Ulrich Drepper -2000-03-29 Andreas Jaeger + * elf/elf.h: Define ElfXX_Versym. + * elf/link.h (struct link_map): Use ElfXX_Versym for l_versyms + definition. - * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros. - * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise. + * stdio-common/vfprintf.c (process_string_arg): Handle precisions + for string output correctly in the wide character case. + Patch by Akira YOSHIYAMA . -2000-03-29 Andreas Jaeger , - Ralf Baechle + * intl/locale.alias: Add catalan. - * Makeconfig: Introduce new variable SHARED to mark code used in - the shared library. - * elf/dl-close.c: Use it instead of PIC. - * elf/dl-load.c: Likewise. - * elf/dl-open.c: Likewise. - * hurd/geteuids.c: Likewise. - * include/libc-symbols.h: Likewise. - * include/shlib-compat.h: Likewise. - * libio/freopen.c: Likewise. - * linuxthreads/cancel.c: Likewise. - * linuxthreads/pthread.c: Likewise. - * linuxthreads/wrapsyscall.c: Likewise. - * nss/nsswitch.c: Likewise. - * stdio-common/vfprintf.c: Likewise. - * sysdeps/arm/init-first.c: Likewise. - * sysdeps/i386/init-first.c: Likewise - * sysdeps/generic/init-first.c: Likewise. - * sysdeps/generic/libc-start.c: Likewise. - * sysdeps/mips/init-first.c: Likewise. - * sysdeps/powerpc/elf/libc-start.c: Likewise. - * sysdeps/unix/sysv/linux/init-first.c: Likewise. - * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise. - * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise. - * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. +1999-08-14 Andreas Jaeger - * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check. + * manual/install.texi (Configuring and compiling): Mention CFLAGS. -2000-03-29 Andreas Jaeger +1999-08-15 Ulrich Drepper - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup): - Use D_PTR to access relocated entries in l_info. - (elf_machine_rela): Likewise. + * po/pt_BR.po: New file. - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup): +1999-08-13 Andreas Jaeger + + * math/libm-test.c (yn_test): Adjust deltas for i386. + (ccosh_test): Likewise. + (jn_test): Likewise. + +1999-08-15 Ulrich Drepper + + * sysdeps/generic/_G_config.h: Get definition of mbstate_t. + +1999-08-13 Ulrich Drepper + + * stdio-common/tstscanf.c: Add test for hexadecimal float parsing + problem. + +1999-08-13 Andreas Jaeger + + * configure.in: install-sh lives now in scripts subdir. + PR libc/1255 (bug 4). + +1999-08-13 Ulrich Drepper + + * sysdeps/generic/_G_config.h: Update _G_iconv_t type from Linux + version. + + * po/fr.po: Update. + +1999-08-11 Thorsten Kukuk + + * nis/nis_callback.c (internal_nis_do_callback): Free my_pollfd. + +1999-08-13 Ulrich Drepper + + * stdio-common/vfscanf.c: Don't recognize hexadecimal floats without + exponent. + +1999-08-10 Andreas Schwab + + * elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf + header. + +1999-08-09 Scott Bambrough + + * elf/elf.h: Added definition of ELFOSABI_ARM. + * elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER, + VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an + object's header and ABI values are acceptable. + (VALID_ELF_HEADER): New macro; provide default definition. + (VALID_ELF_OSABI): New macro; provide default definition. + (VALID_ELF_ABIVERSION): New macro; provide default definition. + * sysdeps/arm/dl-machine.h Define ARM specific versions of + VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION. + +1999-08-09 Andreas Schwab + + * inet/tst-ipnode.c (main): Don't compare integer with NULL. + +1999-08-09 Thorsten Kukuk + + * sunrpc/svc_run.c (svc_run): Free my_pollfd. + +1999-08-09 Andreas Schwab + + * sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister. + +1999-08-08 Ulrich Drepper + + * sysdeps/ieee754/ieee754.h: Handle platforms with special + __FLOAT_WORD_ORDER. Patch by Joel Klecker . + + * string/bits/string2.h: Mark void* operations as extensions. + * sysdeps/i386/i486/bits/string.h: Likewise. + + * debug/Makefile (routines): Add noophooks. + (extra-libs): Add libpcprofile. Add rules to build libpcprofile. + * debug/noophooks.c: New file. + * debug/pcprofile.c: New file. + +1999-08-06 Ulrich Drepper + + * rt/aio_misc.c (handle_fildes_io): Imitate the behaviour on other + systems which allow using the functions also on non-seekable + devices. + + * resolv/res_send.c (res_send): Recompute timeout for poll for + each jump to `wait'. + + * inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of + braces to avoid warnings. + (IN6ADDR_LOOPBACK_INIT): Likewise. + + * sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC -> + MSG_DONTWAIT). + +1999-08-06 H.J. Lu + + * malloc/malloc.c: Initialize __libc_pagesize early. + +1999-08-06 Ulrich Drepper + + * string/string-inlines.c: Undefined __USE_STRING_INLINES before + defining it. + + * inet/Makefile (tests): Add tst-ipnode. + * inet/tst-ipnode.c: New file. + +1999-08-06 Andreas Schwab + + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC): + New definitions. + (O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU. + (O_LARGEFILE): Define only if __USE_LARGEFILE64. + * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC): + New definitions. + (O_LARGEFILE): Define only if __USE_LARGEFILE64. + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise. + +1999-08-06 Jakub Jelinek + + * sysdeps/ieee754/ldbl-128/e_expl.c: New file. + * sysdeps/ieee754/ldbl-128/t_expl.h: New file. + * sysdeps/ieee754/ldbl-128/Dist: Add t_expl.h. + +1999-08-06 Ulrich Drepper + + * resolv/res_send.c (res_send): Don't test file descriptor for + range, we use poll now. [PR libc/1240] + +1999-08-05 Ulrich Drepper + + * libio/genops.c (_IO_flush_all): Don't access elements beyond what + 2.0 defined if they are not available. + +1999-08-05 Thorsten Kukuk + + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC): + Define. + +1999-08-04 Ulrich Drepper + + * rt/aio_read.c: Fix return value. + * rt/aio_read64.c: Likewise. + Reported by Christian Gafton. + + * rt/aio_write.c: Fix return value. + * rt/aio_write64.c: Likewise. + * rt/aio_fsync.c: Likewise. + + * rt/aio_misc.c: Set errno at correct place. + + * rt/aio_fsync.c: Test OP parameter for correct values. + + * hesiod/hesiod.c: Avoid emitting rcsid in object file. + +1999-08-04 Andreas Schwab + + * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER): + Initialize result to one. + (GET_NPROCS_CONF_PARSER): Likewise. + +1999-08-03 Ulrich Drepper + + * inet/ether_hton.c: Pass errno pointer to NSS function. + * inet/getnetgrent_r.c: Likewise. + Reported by Marty Leisner . + +1999-08-02 Thorsten Kukuk + + * nis/nis_callback.c: Fix port problem on big-endian machines + * sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC + fields are always 32 bit. + Patches from Paul Mackerras + + * nis/nss_nis/nis-service.c: Remove htons, port is always in + network-byte-order. + * nis/nss_nisplus/nisplus-service.c: Rename number to port. + +1999-08-03 Andreas Schwab + + * sysdeps/posix/sigset.c: Unblock the signal after setting its + disposition. Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to + avoid two calls to sigprocmask. + +1999-08-02 Ulrich Drepper + + * sysdeps/generic/s_nexttowardf.c: Fix typo. + +1999-08-02 Jakub Jelinek + + * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction): + Only allow rt signal frames. No SA_SIGINFO signals will have the + siginfo_t just not filled out with SI_NOINFO code. + * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h + (register_dump): Take the above change into account. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h + (rt_signal_frame): Likewise. + + * sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file. + +1999-08-02 Thorsten Kukuk + + * nis/nis_callback.c (internal_nis_do_callback): Use poll() + instead of select(). + +1999-08-02 Ulrich Drepper + + * sysdeps/generic/s_nextafter.c: Define __nexttoward and + nexttoward so something else so that aliasing works. + +1999-08-02 Thorsten Kukuk + + * sysdeps/generic/math_ldbl.h: Fix typo. + * sysdeps/generic/strtold.c: Remove unbalanced #endif. + * sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c. + +1999-08-02 Ulrich Drepper + + * elf/resolvfail.c: Include stdio.h. Also test dlerror. + +1999-08-01 Ulrich Drepper + + * elf/Makefile (tests): Add resolvfail. Add rules to build the + program. + * elf/resolvfail.c: New file. + + * elf/dl-sym.c (_dl_sym): Always determine module of the caller to + pass it to _dl_lookup_symbol. + + * elf/dl-error.c (_dl_signal_error): Optimize string generation a + bit. Reword message. + + * dlfcn/dlerror.c: Make code thread-safe. + +1999-07-31 Roland McGrath + + * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member + initializer in CHECK: a bit size, not the type code repeated! + +1999-07-31 Ulrich Drepper + + * string/tester.c: Add tests with constant arguments for strcpy + and stpcpy. + +1999-07-31 H.J. Lu + + * string/bits/string2.h (__strcpy_small): Fix a typo. + +1999-07-31 Ulrich Drepper + + * Makeconfig (link-libc): Always define it, not only for shared + builds. + + * sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop. + * sysdeps/i386/fpu/e_powf.S: Likewise. + * sysdeps/i386/fpu/e_powl.S: Likewise. [PR libc/1213]. + + * sysdeps/generic/e_lgammal_r.c: Set *signgam to zero. + * sysdeps/generic/e_gammal_r.c: Likewise. [PR libc/1212]. + +1999-07-30 Andreas Schwab + + * sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New + definition. + (__get_nprocs): Use it. + (__get_nprocs_conf): Define as separate function if + GET_NPROCS_CONF_PARSER is defined. + * sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file. + + * include/sys/sysinfo.h: New file. + * sysdeps/generic/sys/sysinfo.h: Remove declaration of internal + interface. + * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise. + +1999-07-30 H.J. Lu + + * libio/iofflush.c (fflush_unlocked): Weak aliase if + _IO_MTSAFE_IO is not defined. + * libio/clearerr.c (clearerr_unlocked): Likewise. + * libio/feof.c (feof_unlocked): Likewise. + * libio/ferror.c (ferror_unlocked): Likewise. + * libio/fputc.c (fputc_unlocked): Likewise. + * libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise. + * libio/getchar.c (getchar_unlocked): Likewise. + * libio/putc.c (putc_unlocked): Likewise. + * libio/putchar.c (putchar_unlocked): Likewise. + +1999-07-30 Thorsten Kukuk + + * sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll, + svc_max_pollfd and svc_pollfd to GLIBC_2.2 + * sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes + for svc_run/poll interface. + * sunrpc/rpc/types.h: Add rpc*_t typedefs. + * sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as + global variable. + * sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common, + rewrite other svc_getreq* functions to use svc_getreq_common. + * sunrpc/svc_run.c: Use poll(). + +1999-07-30 Andreas Schwab + + * Makerules: Put sysd-versions and Versions.all on + postclean-generated instead of common-generated. + +1999-07-29 Andreas Jaeger + + * manual/time.texi (Basic CPU Time): Note that clock_t can wrap + around and CLOCKS_PER_SEC is 1e6. + +1999-07-30 Ulrich Drepper + + * configure.in: Add test for local label subtraction. + * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS. + * stdio-common/vfprintf.c (vfprintf): Use subtraction of local + labels to reduce number of runtime relocations and move jump + tables in read-only seciton. + + * malloc/malloc.c (ptmalloc_init): Correct last patch. The + assignment cannot be moved. + +1999-07-29 H.J. Lu + + * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize + if no threads are used. + + * libio/iofwrite.c: Add weak alias for _unlocked function if not + _IO_MTSAFE_IO. + * libio/iofread.c: Likewise. + * libio/iofgets.c: Likewise. + * libio/iofputs.c: Likewise. + + * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New + definition. + + * stdlib/mbtowc.c: Include . + * stdlib/wctomb.c: Likewise. + * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise. + * sysdeps/unix/sysv/linux/statfs64.c: Likewise. + + * misc/mntent_r.c: Include . + * elf/dl-runtime.c: Likewise. + +1999-07-29 Andreas Schwab + + * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for + all floating point formats supported by gcc. Error out for + unhandled precisions. + * misc/efgcvt_r.c (NDIGIT_MAX): Likewise. + * misc/qefgcvt.c (NDIGIT_MAX): Likewise. + * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise. + +1999-07-29 Ulrich Drepper + + * sysdeps/generic/setenv.c: Move setenv code in new function + __add_to_environ. Add new parameter specifying already + constructed string for the environment. + (setenv): Call __add_to_environ with new parameter set to NULL. + (unsetenv): Really test all elements for duplicated name. Missed those + cases where the two are following each other. + * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv. + * include/stdlib.h: Add prototype of __add_to_environ. + * stdlib/tst-environ.c: New file. + * stdlib/Makefile (tests): Add tst-environ. + + * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch. + + * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size + argument in realloc call. + * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups): Likewise. - (elf_machine_rela): Likewise. + Reported by Danny Braniss . - * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup): - Likewise. - (__elf_machine_fixup_plt): Likewise. - (__process_machine_rela): Likewise. +1999-07-28 Ulrich Drepper - * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise. - (elf_machine_rela): Likewise. + * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits + to print. + * misc/efgcvt_r.c: Likewise. + * misc/qefgcvt.c: Likewise. + * misc/qefgcvt_r.c: Likewise. + * misc/tst-efgcvt.c: Remove one test which cannot reliably be run + anymore. - * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise. - (elf_machine_rel): Likewise. +1999-07-27 Andreas Jaeger - * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise. - (elf_machine_fixup_plt): Likewise. - (elf_machine_rela): Likewise. + * manual/math.texi (FP Function Optimization): Mention drawbacks. -2000-03-29 Andreas Jaeger +1999-07-28 Ulrich Drepper - * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros. - * sysdeps/unix/sysv/linux/semctl.c: Likewise. - * sysdeps/unix/sysv/linux/shmctl.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise. - * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise. - * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise. - * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise. - * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise. + * stdlib/mblen.c: Use static state. + Reported by Bruno Haible . - * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat - macros, remove K&R prototypes. + * stdlib/mbtowc.c: Reset state for s == NULL. + * stdlib/wctomb.c: Likewise. + Reported by Bruno Haible . -2000-03-30 Ulrich Drepper + * stdlib/mbstowcs.c: Do not use global state. + Reported by Bruno Haible . - * posix/getopt.c (_getopt_internal): Return -1 if argc < 1. - Reported by Andrew Wiseman - (PR libc/1677). +1999-07-28 Andeas Schwab -2000-03-30 Andreas Jaeger + * iconvdata/Makefile: Don't try to run iconv tests when cross + compiling. - * misc/sys/cdefs.h: Remove K&R support. +1999-07-27 Mark Kettenis -2000-03-30 Ulrich Drepper + * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline + assembler code to switch stacks and call init1 outside this + function. Inside `init' the code was optimized away by gcc + 2.95 since it was "clearly" unreachable. + * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): + Do something similar for the trampoline code. - * iconv/skeleton.c: Avoid compiling unaligned versions in some - more cases. - * iconv/loop.c: Likewise. +1999-07-27 Ulrich Drepper -2000-03-29 Bruno Haible + * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information + for the hinted protocol. - * iconv/loop.c (put16): Remove __const. Fix access index. - (put32): Remove __const. Use uint32_t instead of uint16_t. - * iconv/skeleton.c: Likewise. +1999-07-26 Andreas Jaeger -2000-03-30 Roland McGrath + * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2. - * mach/Versions (libc: GLIBC_2.0) - [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize - __vm_allocate on this. - [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize - mutex- and spinlock-related symbols on this. - [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3): - New version set. Lock-related symbols go here instead in this case. - * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove - _cthread_exit_routine, _cthread_init_routine, cthread_keycreate, - cthread_getspecific, cthread_setspecific, __libc_getspecific. - * hurd/Versions - [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0): - Put them here instead. - [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3): - New version set. Those cthreads symbols go here instead in this case. - * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version. +1999-07-25 Jakub Jelinek -2000-03-30 Ulrich Drepper + * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx. + * elf/dl-lookup.c (_dl_setup_hash): Likewise. + * elf/dl-load.c (_dl_map_object): Likewise. + * elf/do-lookup.h (do_lookup*): Likewise. + * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t. + * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx + as uint64_t. + * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx. - * elf/dl-init.c (_dl_init): We don't need to call constructors - recursively. Fold _dl_init_rec in _dl_init and optimize a bit more. +1999-07-26 Ulrich Drepper - Implement dynamic determination of constructor/destructor order in - the dynamic linker. - * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next. - (GLIBC_2.2): Add _dl_init. - * elf/dl-close.c: Also call all destructors in FINI_ARRAY. - r_duplist is not anymore allocated separately. l_initfini is and - therefore free it if necessary. - * elf/dl-deps.c: If a searchlist has to be allocated, put all in one - malloc block. Otherwise allocate l_initfini list only. - Put dependencies for the object in l_initfini list. - Sort dependencies for the object to be loaded topologically. - * elf/dl-fini.c: Before running the destructors sort the topologically. - * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to - call constructors instead of iterating over the pointers. Get list of - objects for which to run constructors from l_initfini element. Accept - argc, argv, and env as parameters and pass them to the constructors. - * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member - with size of dynamic section. - * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of - _dl_init_next and calling constructors ourself. - * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next. - Take argc, argv, and env as parameters and pass them to the - constructors. Rewrite to call all constructors and not iterate over - the pointers. - * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't - precompute l_initcount and l_preinitcount. - * elf/link.h (struct link_map): Add l_ldnum member. - Make l_phdr_allocated part of the bitfield. Remove l_runcount, - l_initcount, and l_preinitcount. Add l_initfini. - * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with - one for _dl_init. - * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init - function interface. - * sysdeps/unix/sysv/linux/init-first.h: Removed. - * sysdeps/unix/sysv/linux/Dist: Delete file here as well. - * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use - SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling - conventions now match. + * sysdeps/unix/sysv/sysv4/setsid.c: Correct types. + * sysdeps/generic/getpgrp.c: Likewise. + * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise. + * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise. + Patch by John Tobey . - * sysdeps/generic/libc-start.c: Calling __libc_init_first has no - effect for shared objects. Don't emit message and call only for - static library. + * sysdeps/posix/wait3.c: Help compiling in presence of + __transparent_union__. Reported by John Tobey . -2000-03-29 Ulrich Drepper +1999-07-25 Jakub Jelinek - * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from - CSA_Z243.4-1985-1..UCS2. - * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from - ISO-8859-10..UCS2. + * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers + as much as possible. Declare them using .register pseudo-op if they + are still used. + * sysdeps/sparc/sparc64/lshift.S: Likewise. + * sysdeps/sparc/sparc64/memchr.S: Likewise. + * sysdeps/sparc/sparc64/memcmp.S: Likewise. + * sysdeps/sparc/sparc64/memcpy.S: Likewise. + * sysdeps/sparc/sparc64/memset.S: Likewise. + * sysdeps/sparc/sparc64/rawmemchr.S: Likewise. + * sysdeps/sparc/sparc64/rshift.S: Likewise. + * sysdeps/sparc/sparc64/stpcpy.S: Likewise. + * sysdeps/sparc/sparc64/stpncpy.S: Likewise. + * sysdeps/sparc/sparc64/strcat.S: Likewise. + * sysdeps/sparc/sparc64/strchr.S: Likewise. + * sysdeps/sparc/sparc64/strcmp.S: Likewise. + * sysdeps/sparc/sparc64/strcpy.S: Likewise. + * sysdeps/sparc/sparc64/strcspn.S: Likewise. + * sysdeps/sparc/sparc64/strlen.S: Likewise. + * sysdeps/sparc/sparc64/strncmp.S: Likewise. + * sysdeps/sparc/sparc64/strncpy.S: Likewise. + * sysdeps/sparc/sparc64/strpbrk.S: Likewise. + * sysdeps/sparc/sparc64/strspn.S: Likewise. + * sysdeps/sparc/sparc64/sub_n.S: Likewise. + * sysdeps/sparc/sparc64/dl-machine.h: Likewise. + Optimize trampoline code for .plt4-.plt32767. + Fix trampolines for .plt32768+. -2000-03-29 Andreas Jaeger +1999-07-25 Jakub Jelinek - * include/unistd.h: Remove duplicate entry for __rmdir. - Remove declaration of __mkdir since __mkdir is declared in - sys/stat.h. + * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use + -mcpu=v8. + * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise. + * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for + libc's private use (as assembly routine clobber it anyway). - * manual/creature.texi (Feature Test Macros): Fix typo, reported - by Michael Deutschmann . +1999-07-26 Andreas Jaeger - * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros. - * sysdeps/mips/fpu/fegetenv.c: Likewise. - * sysdeps/mips/fpu/fesetenv.c: Likewise. - * sysdeps/mips/fpu/feupdateenv.c: Likewise. - * sysdeps/mips/fpu/fgetexcptflg.c: Likewise. + * README.template (configurations): The crypt add-on has a new + ftp site. + * manual/install.texi (Installation): Likewise. -2000-03-28 Andreas Jaeger +1999-07-26 Ulrich Drepper - * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant - declaration, the prototype is defined via bits/mathcalls.h. - (__sincosf): Likewise. - (__sincosl): Likewise. - (ldexp): Likewise. - (ldexpf): Likewise. - (ldexpl): Likewise. - (__finite): Likewise. - (__inline_mathcodeNP): New macro without prototype - declarations. - (__inline_mathcodeNP2): Likewise. - (__inline_mathcodeNP3): Likewise. - (__inline_mathcodeNP_): Likewise. - (__inline_mathcodeNP2_): Likewise. - (__inline_mathcodeNP3_): Likewise. - (__inline_mathopNP): Likewise. - (__inline_mathop_declNP): Likewise. - (__inline_mathop_declNP_): Likewise. - (__inline_mathcode_): Use __inline_mathcodeNP_. - (__inline_mathcode2_): Use __inline_mathcodeNP2_. - (__inline_mathcode3_): Use __inline_mathcodeNP3_. - (__inline_mathop_decl_): Use __inline_mathop_declNP__. - (__expm1l): Don't define prototype, the prototype is defined via - bits/mathcalls.h. - (exp): Likewise. - (__expl): Likewise. - (tan): Likewise. - (atan2): Likewise. - (__atan2l): Likewise. - (fmod): Likewise. - (pow): Likewise. - (fabsf): Likewise. - (fabsl): Likewise. - (__fabsl): Likewise. - (asin): Likewise. - (acos): Likewise. - (sinh): Likewise. - (cosh): Likewise. - (tanh): Likewise. - (floor): Likewise. - (ceil): Likewise. - (expm1): Likewise. - (log1p): Likewise. - (asinh): Likewise. - (acosh): Likewise. - (atanh): Likewise. - (hypot): Likewise. - (logb): Likewise. - (fma): Likewise. - (drem): Likewise. - (sqrt): Likewise. - (__sqrtl): Likewise. - (sin): Likewise. - (cos): Likewise. - (atan): Likewise. - (log): Likewise. - (log10): Likewise. - (asinh): Likewise. - (log2): Likewise. - (rint): Likewise. + * time/time.h: Add forward for struct sigevent. Unix98 maybe + requires to have a full definition but we wait for a bug report + based on the test suite. -2000-03-28 Ulrich Drepper + * sysdeps/generic/clock_getres.c: New file. + * sysdeps/generic/clock_gettime.c: New file. + * sysdeps/generic/clock_settime.c: New file. + * sysdeps/generic/timer_create.c: New file. + * sysdeps/generic/timer_delete.c: New file. + * sysdeps/generic/timer_getoverr.c: New file. + * sysdeps/generic/timer_gettime.c: New file. + * sysdeps/generic/timer_settime.c: New file. - * Makerules: If make variable md5 is defined to yes after - generating dependencies generate MD5 sum for the object. + * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t, + CLOCK_REALTIME, and TIMER_ABSTIME. + * sysdeps/mach/hurd/bits/time.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise. + * sysdeps/unix/sysv/linux/bits/time.h: Likewise. - * iconv/gconv_builtin.h: Fix length in transformation definition - for UNICODEBIG. + * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS. - * iconvdata/TESTS: Use UCS-2BE instead of UCS2. + * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and + si_timer2. - * iconv/loop.c: Define get16, get32, put16, and put32 macros to - allow as well reading from/writing to unaligned addresses on machines - which don't support this in hardware. Use FCTNAME macro to define - function name. Include the file a second time for platforms which - need special unaligned handling. - * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros - to access potentially unaligned addresses. These macros are intended - to be used only outside the loops. - (unaligned): New definition. In case the machine can handle unaligned - access define as zero. Otherwise as a variable which is initialized - as nonzero in case the buffer passed in at runtime is unaligned with - respect to the character set encoding involved. - Call aligned or unaligned looop functions according to unaligned - variable. - * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead - of direct casting pointer to potentially handle unaligned memory + * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls. + + * time/Makefile (routines): Add clock_getres, clock_gettime, + clock_setres, timer_create, timer_delete, timer_getoverr, + timer_gettime, and timer_settime. + + * time/time.h: Define clockid_t, timer_t, and struct itimerspec for + POSIX.1b. Add prototypes for clock and timer functions. + +1999-07-26 Roland McGrath + + * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS. + Fix from Marcus Brinkmann . + +1999-07-26 Ulrich Drepper + + * stdlib/wcstombs.c: Do not use global state. + Reported by Bruno Haible . + + * wcsmbs/wctob.c: Avoid sign extension when returning character. + Reported by Bruno Haible . + + * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number + of wide characters to convert do it right and don't overestimate + by multiplying with MB_CUR_MAX. + Reported by Bruno Haible . + +1999-07-26 Jakub Jelinek + + * string/bits/string2.h (__strcpy_small): Avoid compile time warning. + (__stpcpy_small): Likewise. + Union has no __uc member but __c. + +1999-07-26 Andreas Schwab + + * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions. + +1999-07-25 Ulrich Drepper + + * libio/iofclose.c (_IO_new_fclose): Only fall back on + _IO_old_fclose if doing versioning. + + * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle + them appropriately. + * libio/oldiofclose.c (_IO_old_fclose): Likewise. + + * misc/mntent_r.c: Allow spaces and tabs in entry names by + encoding these characters. + * misc/tst-mntent.c: Add test case for addmntent and getmntent. + + * string/bits/string2.h: Fix aliasing problems. + * sysdeps/i386/i486/bits/string.h: Likewise. + * sysdeps/i386/bits/string.h: Likewise. + +1998-12-28 Geoff Keating + + * sysdeps/powerpc/dl-machine.c: Handle shared library profiling. + * elf/rtld.c (dl_main): Don't call malloc() between + re-relocating the dynamic linker and running the application's crt0. + +1999-07-21 Paul D. Smith + + * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below + glob.h to get __P() macro. + + * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax, + not ANSI. + (__strchrnul): This won't exist outside GLIBC, so create one. + +1999-07-25 Jakub Jelinek + + * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t. + __ino64_t should be 32bit unsigned type on sparc32. + Define __off64_t to __quad_t instead of __int64_t. + Make __pic_pid_t unsigned on sparc32. + +1999-07-25 Andreas Jaeger + + * localedata/tst-rpmatch.sh: Use "&" instead of "§" to avoid a bug + in bash 2.03. + +1999-07-25 Ulrich Drepper + + * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case + of an error. Patch by Changwoo Ryu . + +1999-07-24 Ulrich Drepper + + * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory accesses. + + * resolv/res_send.c: Add locks for res_send and res_close use. + + * elf/Makefile (dl-routines): Add preinit. + * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next. + * elf/link.h (struct link_map): Add new field l_preinitcount. + * elf/dl-preinit.c: New file. + * elf/dynamic-link.h: Initialize l_preinitcount. + * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions. + + * elf/dl-fini.c: Handle DT_FINI_ARRAY. + * elf/link.h (struct link_map): Remove l_init_running. Add l_runcount + and l_initcount. + * elf/dl-init.c: Handle DT_INIT_ARRAY. + * elf/dynamic-link.h: Change parameters. Now only get link_map + pointer. Calculate l_initcount. + + * elf/link.h (struct link_map): Add l_runpath_dirs. + * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL. + * elf/dl-load.c: Pretty print. + (decompose_rpath): Take new parameter with info from where the path + comes. Pass it the fillin_rpath. + (_dl_init_paths): Initialize l_runpath_dirs. + (_dl_map_object): Don't search using RPATHs if object has RUNPATH. + Search using RUNPATH after LD_LIBRARY_PATH. + * elf/dl-support.c: Adjust comment. + * elf/rtld.c: Adjust help message. + +1999-07-24 Andreas Jaeger + + * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol + interface. + +1999-07-23 Roland McGrath + + * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to + match BSD value; previous value of 1<<8 was a typo. I bet nothing + ever used this, so I'm not going to worry about compatibility. + [__USE_GNU] (IUCLC, OLCUC): New macros. + +1999-07-23 Ulrich Drepper + + * include/libintl.h: Undefine N_ and _ first to avoid warnings. + + * elf/elf.h: Add ET_LOOS and ET_HIOS. + Add various EM_* constants. + Add SHN_LOOS and SHN_HIOS. + Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY. + Add SHF_MERGE and SHF_STRINGS. + (ElfXX_Sym): Update description of st_other field. + Add STT_COMMON. + Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER. + Add STV_* macros. + Update comment on DT_RPATH. Add DT_RUNPATH, DT_FLAGS, DT_ENCODING, + DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ. + Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW. + + * posix/unistd.h: Move declaration of __libc_enable_secure to... + * include/unistd.h: ...here. + + * elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt. + * elf/dl-deps.c (expand_dst): Likewise. + + * elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW + based on DT_FLAGS value. + + * elf/do-lookup.h: Remove reference_name parameter, add undef_map. + Add test for symbols marked STV_HIDDEN. + * elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter, + add undef_map. Compute reference_name locally. Update call to + do_lookup. + (_dl_lookup_symbol_skip): Likewise. + (_dl_lookup_versioned_symbol): Likewise. + (_dl_lookup_versioned_symbol_skip): Likewise. + * elf/dl-libc.c: Update call to _dl_lookup_*symbol. + * elf/dl-runtime.c: Likewise. + * elf/dl-sym.c: Likewise. + * elf/dl-symbol.c: Likewise. + * elf/ldsodefs.h: Adjust prototypes. + + * elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and + handle appropriately. Add comment about DT_TEXTREL. + * elf/dl-runtime.c: Likewise. + +1999-07-21 Roland McGrath + + * elf/dl-reloc.c (_dl_reloc_bad_type): New function. + * elf/ldsodefs.h: Declare it. + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it + instead of assert. + (elf_machine_lazy_rel): Likewise. Take new arg MAP. + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise. + (elf_machine_lazy_rel): Likewise. + * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise. + (elf_machine_lazy_rel): Likewise. + * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise. + (elf_machine_lazy_rel): Likewise. + * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise. + (elf_machine_lazy_rel): Likewise. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. + (elf_machine_lazy_rel): Likewise. + * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise. + * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise. + (elf_machine_lazy_rel): Likewise. + * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise. + (elf_machine_lazy_rel): Likewise. + * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise. + * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use + _dl_reloc_bad_type instead of _dl_signal_error. + * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel. + +1999-07-20 Mark Kettenis + + * sysdeps/mach/_strerror.c: Include . + +1999-07-19 Roland McGrath + + * hurd/hurdsig.c (_hurd_internal_post_signal): If a + hurd_signal_preemptor matches but its `preemptor' field is null, use + its `handler' field directly. This is to comply with behavior + documented in . + +1999-07-21 Andreas Schwab + + * libio/fileops.c (_IO_new_file_underflow): Set error indicator + when reading from write-only stream. + * libio/oldfileops.c (_IO_old_file_underflow): Likewise. + * libio/wfileops.c (_IO_wfile_underflow): Likewise. + +1999-07-21 Andreas Schwab + + * nss/test-netdb.c (output_hostent): Don't crash if h_aliases is + NULL. + +1999-07-21 Mark Kettenis + + * sysdeps/mach/hurd/read.c: Do not include and + . + * sysdeps/mach/hurd/write.c: Do not include and + . + (__libc_write): Call __pwrite instead of __pread. + +1999-07-20 Mark Kettenis + + * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in + __vm_allocate calls. + + * sysdeps/mach/hurd/pread.c (__pread): Include . Fix typo. + * sysdeps/mach/hurd/pwrite.c (__pwrite): Include . + + * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call + _hurd_fd_read with new OFFSET argument set to -1. + (__stdio_write): Call _hurd_fd_write with new OFFSET argument set + to -1. + +1999-07-17 Roland McGrath + + * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the + descriptor table sent in the RPC. + +1999-07-20 Andreas Jaeger + + * time/strptime.c [!_LIBC]: Fix __mon_day size. Reported by + bill@taniwha.org [PR libc/1211]. + +1999-07-19 Andreas Schwab + + * libio/Makefile (routines): Add fwprintf. + + PowerPC has own version of w_sqrt.c and w_sqrtf.c. + * math/w_sqrt.c: Moved to ... + * sysdeps/generic/w_sqrt.c: ... here. + * math/w_sqrtf.c: Moved to ... + * sysdeps/generic/w_sqrtf.c: ... here. + + * Make-dist (generic-dirs): New variable. + (try-sysdeps, +sysdep-names): Use it. + * extra-lib.mk (all-$(lib)-routines): New variable. Use it + instead of $(lib)-routines. + * elf/Makefile (distribute): Add dl-cache.h. + * db2/Makefile (distribute): Add all new files. + * iconvdata/Makefile (distribute): Don't distribute CVS + directory. + * math/Makefile (distribute): Remove machine/endian.h, add + math_ldbl.h. + * stdio-common/Makefile (distribute): Add _itowa.h. + * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h. + * sysdeps/gnu/Dist: Add eval.c + * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) = + dlfcn]: Add to this instead of libdl-routines. + * sysdeps/ieee754/ldbl-128/Dist: New file. + * sysdeps/mach/hurd/Dist: Add siglist.h + * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h. + +1999-07-18 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed. + + * inet/Makefile (routines): Add getipnodebyad and freehostent. + * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent. + * inet/freehostent.c: New file. + * inet/getipnodebyad.c: New file. + * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent, + and getipnodebyname. The latter comes soon. + * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested. + Add support for getipnode* functions. + + * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop. + Set h_aliases to NULL and not to a pointer to an array with a NULL + pointer following XNS 5.2. + + * posix/sched.h: Remove internal interfaces. + * include/sched.h: Add internal interfaces. + + * nss/getXXbyYY.c: Provide variable h_errnop to help shared code. + + * nss/digits_dots.c: Set h_errnop if memory allcoation failed. + + * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address + and return an error in this case. + * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if + available. + +1999-07-18 Andreas Jaeger + + * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from + 1999-07-17 and adjust len parameter. + * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise. + * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise. + * manual/socket.texi (Host Names): Likewise. + * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise. + * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r): + Likewise. + * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise. + * resolv/gethnamaddr.c (gethostbyaddr): Likewise. + (ht_gethostbyaddr): Likewise. + (_gethtbyaddr): Likewise. + +1999-07-17 Ulrich Drepper + + * resolv/netdb.h: Adjust parameters of gethostbyaddr and + gethostbyaddr_r. + * include/netdb.h: Likewise. + * inet/gethstbyad.c: Correct type of len parameter. + * inet/gethstbyad_r.c: Likewise. + + * sysdeps/unix/sysv/linux/arm/Versions: Undo last change. + +1999-07-17 Zack Weinberg + + * include/libc-symbol.h: Clean up definitions of weak_alias, + strong_alias, symbol_version, etc. etc. + * posix/getopt.h: Use ctype.h to get features.h included, and don't + include it at all if __GNU_LIBRARY__ is already defined. + +1999-07-17 Ulrich Drepper + + * stdio-common/bug1.c: Include to get prototype for free. + + * malloc/malloc.c: Add missing chunk of patch from 1999-07-04. + + * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t + type for tv_usec element. + * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise. + * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t. + * sysdeps/generic/bits/time.h: Likewise. + * sysdeps/mach/hurd/bits/time.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise. + * sysdeps/generic/bits/types.h: Likewise. + * posix/sys/types.h: Define suseconds_t for X/Open. + +1999-07-15 Ulrich Drepper + + * stdio-common/bug1.c: Avoid memory leak. + + * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep + program deterministic. + * sysdeps/i386/fpu/e_powf.S: Likewise. + * sysdeps/i386/fpu/e_powl.S: Likewise. + +1999-07-15 Jakub Jelinek + + * math/Makefile: Add t_sincosl and k_sincosl support routines. + * math/math_private.h (__kernel_sincosl): New declaration. + * sysdeps/generic/t_sincosl.c: New file. + * sysdeps/generic/k_sincosl.c: New file. + * sysdeps/ieee754/ldbl-128/k_cosl.c: New file. + * sysdeps/ieee754/ldbl-128/k_sinl.c: New file. + * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file. + * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file. + * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file. + * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use + __kernel_sincosl. + * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New + definition. + +1999-07-15 Ulrich Drepper + + * posix/unistd.h: Use __PMT for exit. + +1999-07-15 Philip Blundell + + * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb, + _outw, _outl): Added to GLIBC_2.1.2. + +1999-07-15 Ulrich Drepper + + * posix/fnmatch.h: Use __name instead of __string in prototype to + allow use outside glibc. + +1999-07-14 Ulrich Drepper + + * time/tst-strptime.c (main): Add one more test case. Produce + output even when result is ok. + + * time/strptime.c (get_number): Handle number parsing more + consistent with strftime. Only parse a given number of digits. + (get_alt_number): Fix implementation. Was broken. + (strptime_internal): Add third parameter to get_number and + get_alt_number calls. + +1999-07-13 Jakub Jelinek + + * elf/ldd.bash.in: Add support for multiple dynamic linkers. + * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*, + try both 32bit and 64bit dynamic linker. + * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite + script on all sparc targets. + +1999-07-13 Jakub Jelinek + + * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer + to int. + +1999-07-13 Andreas Schwab + + * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent + inlining. Fixes PR libc/1198. + +1999-07-14 Andreas Schwab + + * Makerules (common-generated): Don't prepend $(common-objpfx). + +1999-07-12 Jakub Jelinek + + * stdio-common/printf_fp.c (__printf_fp): Adjust for IEEE quad + as _FPIO_CONST_OFFSET does not cover all bits after binary dot. + * sysdeps/generic/printf_fphex.c (__printf_fphex): Support IEEE + quad by moving long double support into PRINT_FPHEX_LONG_DOUBLE + macro. + * sysdeps/alpha/Implies: Imply ieee754/flt-32 and ieee754/dbl-64 + instead of ieee754. + * sysdeps/arm/Implies: Likewise. + * sysdeps/i386/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and + ieee754/ldbl-96 instead of ieee754. + * sysdeps/i386/i686/Implies: Remove implication for libm-i387/i686. + * sysdeps/generic/e_atanhl.c: New file. + * sysdeps/generic/e_coshl.c: New file. + * sysdeps/generic/e_sinhl.c: New file. + * sysdeps/generic/e_gammal_r.c: New file. + * sysdeps/generic/e_hypotl.c: New file. + * sysdeps/generic/s_cbrtl.c: New file. + * sysdeps/generic/s_asinhl.c: New file. + * sysdeps/generic/s_tanhl.c: New file. + * sysdeps/generic/w_expl.c: New file. + * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64 + instead of ieee754. + * sysdeps/m68k/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and + ieee754/ldbl-96 instead of ieee754. + * sysdeps/m68k/strtold.c: Include ldbl-96 version of strtold. + * sysdeps/m68k/printf_fphex.c: Include ldbl-96 version of + printf_fphex. + * sysdeps/mips/Implies: Imply ieee754/flt-32 and ieee754/dbl-64 + instead of ieee754. + * sysdeps/mips/mips64/Implies: Likewise. + * sysdeps/powerpc/Implies: Likewise. + * sysdeps/sparc/Implies: Remove. + * sysdeps/sparc/sparc32/Implies: Imply ieee754/flt-32 and + ieee754/dbl-64. + * sysdeps/sparc/sparc64/Implies: Imply ieee754/flt-32, ieee754/dbl-64, + and ieee754/ldbl-128. + + * sysdeps/sparc/bits/wordsize.h: Remove. + * sysdeps/sparc/fpu/bits/mathinline.h: New file. + * sysdeps/sparc/fpu/bits/mathdef.h: __NO_LONG_DOUBLE_MATH + only for sparc32. + * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: New file. + * sysdeps/sparc/sparc32/bits/wordsize.h: New file. + * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: New file. + * sysdeps/sparc/sparc64/bits/wordsize.h: New file. + * sysdeps/sparc/sparc64/Makefile: Add IEEE quad long double + support. + + * sysdeps/sparc/sparc64/addmul_1.S: Fix miscalculation + of carries. Optimize. + + * sysdeps/libm-ieee754/e_exp10.c: Moved to ... + * sysdeps/generic/e_exp10.c: ...here. + * sysdeps/libm-ieee754/e_exp10f.c: Moved to ... + * sysdeps/generic/e_exp10f.c: ...here. + * sysdeps/libm-ieee754/e_exp10l.c: Moved to ... + * sysdeps/generic/e_exp10l.c: ...here. + * sysdeps/libm-ieee754/e_scalb.c: Moved to ... + * sysdeps/generic/e_scalb.c: ...here. + * sysdeps/libm-ieee754/e_scalbf.c: Moved to ... + * sysdeps/generic/e_scalbf.c: ...here. + * sysdeps/libm-ieee754/e_scalbl.c: Moved to ... + * sysdeps/generic/e_scalbl.c: ...here. + * sysdeps/libm-ieee754/s_cacos.c: Moved to ... + * sysdeps/generic/s_cacos.c: ...here. + * sysdeps/libm-ieee754/s_cacosf.c: Moved to ... + * sysdeps/generic/s_cacosf.c: ...here. + * sysdeps/libm-ieee754/s_cacosh.c: Moved to ... + * sysdeps/generic/s_cacosh.c: ...here. + * sysdeps/libm-ieee754/s_cacoshf.c: Moved to ... + * sysdeps/generic/s_cacoshf.c: ...here. + * sysdeps/libm-ieee754/s_cacoshl.c: Moved to ... + * sysdeps/generic/s_cacoshl.c: ...here. + * sysdeps/libm-ieee754/s_cacosl.c: Moved to ... + * sysdeps/generic/s_cacosl.c: ...here. + * sysdeps/libm-ieee754/s_casin.c: Moved to ... + * sysdeps/generic/s_casin.c: ...here. + * sysdeps/libm-ieee754/s_casinf.c: Moved to ... + * sysdeps/generic/s_casinf.c: ...here. + * sysdeps/libm-ieee754/s_casinh.c: Moved to ... + * sysdeps/generic/s_casinh.c: ...here. + * sysdeps/libm-ieee754/s_casinhf.c: Moved to ... + * sysdeps/generic/s_casinhf.c: ...here. + * sysdeps/libm-ieee754/s_casinhl.c: Moved to ... + * sysdeps/generic/s_casinhl.c: ...here. + * sysdeps/libm-ieee754/s_casinl.c: Moved to ... + * sysdeps/generic/s_casinl.c: ...here. + * sysdeps/libm-ieee754/s_catan.c: Moved to ... + * sysdeps/generic/s_catan.c: ...here. + * sysdeps/libm-ieee754/s_catanf.c: Moved to ... + * sysdeps/generic/s_catanf.c: ...here. + * sysdeps/libm-ieee754/s_catanh.c: Moved to ... + * sysdeps/generic/s_catanh.c: ...here. + * sysdeps/libm-ieee754/s_catanhf.c: Moved to ... + * sysdeps/generic/s_catanhf.c: ...here. + * sysdeps/libm-ieee754/s_catanhl.c: Moved to ... + * sysdeps/generic/s_catanhl.c: ...here. + * sysdeps/libm-ieee754/s_catanl.c: Moved to ... + * sysdeps/generic/s_catanl.c: ...here. + * sysdeps/libm-ieee754/s_ccos.c: Moved to ... + * sysdeps/generic/s_ccos.c: ...here. + * sysdeps/libm-ieee754/s_ccosf.c: Moved to ... + * sysdeps/generic/s_ccosf.c: ...here. + * sysdeps/libm-ieee754/s_ccosh.c: Moved to ... + * sysdeps/generic/s_ccosh.c: ...here. + * sysdeps/libm-ieee754/s_ccoshf.c: Moved to ... + * sysdeps/generic/s_ccoshf.c: ...here. + * sysdeps/libm-ieee754/s_ccoshl.c: Moved to ... + * sysdeps/generic/s_ccoshl.c: ...here. + * sysdeps/libm-ieee754/s_ccosl.c: Moved to ... + * sysdeps/generic/s_ccosl.c: ...here. + * sysdeps/libm-ieee754/s_cexp.c: Moved to ... + * sysdeps/generic/s_cexp.c: ...here. + * sysdeps/libm-ieee754/s_cexpf.c: Moved to ... + * sysdeps/generic/s_cexpf.c: ...here. + * sysdeps/libm-ieee754/s_cexpl.c: Moved to ... + * sysdeps/generic/s_cexpl.c: ...here. + * sysdeps/libm-ieee754/s_clog.c: Moved to ... + * sysdeps/generic/s_clog.c: ...here. + * sysdeps/libm-ieee754/s_clog10.c: Moved to ... + * sysdeps/generic/s_clog10.c: ...here. + * sysdeps/libm-ieee754/s_clog10f.c: Moved to ... + * sysdeps/generic/s_clog10f.c: ...here. + * sysdeps/libm-ieee754/s_clog10l.c: Moved to ... + * sysdeps/generic/s_clog10l.c: ...here. + * sysdeps/libm-ieee754/s_clogf.c: Moved to ... + * sysdeps/generic/s_clogf.c: ...here. + * sysdeps/libm-ieee754/s_clogl.c: Moved to ... + * sysdeps/generic/s_clogl.c: ...here. + * sysdeps/libm-ieee754/s_cpow.c: Moved to ... + * sysdeps/generic/s_cpow.c: ...here. + * sysdeps/libm-ieee754/s_cpowf.c: Moved to ... + * sysdeps/generic/s_cpowf.c: ...here. + * sysdeps/libm-ieee754/s_cpowl.c: Moved to ... + * sysdeps/generic/s_cpowl.c: ...here. + * sysdeps/libm-ieee754/s_cproj.c: Moved to ... + * sysdeps/generic/s_cproj.c: ...here. + * sysdeps/libm-ieee754/s_cprojf.c: Moved to ... + * sysdeps/generic/s_cprojf.c: ...here. + * sysdeps/libm-ieee754/s_cprojl.c: Moved to ... + * sysdeps/generic/s_cprojl.c: ...here. + * sysdeps/libm-ieee754/s_csin.c: Moved to ... + * sysdeps/generic/s_csin.c: ...here. + * sysdeps/libm-ieee754/s_csinf.c: Moved to ... + * sysdeps/generic/s_csinf.c: ...here. + * sysdeps/libm-ieee754/s_csinh.c: Moved to ... + * sysdeps/generic/s_csinh.c: ...here. + * sysdeps/libm-ieee754/s_csinhf.c: Moved to ... + * sysdeps/generic/s_csinhf.c: ...here. + * sysdeps/libm-ieee754/s_csinhl.c: Moved to ... + * sysdeps/generic/s_csinhl.c: ...here. + * sysdeps/libm-ieee754/s_csinl.c: Moved to ... + * sysdeps/generic/s_csinl.c: ...here. + * sysdeps/libm-ieee754/s_csqrt.c: Moved to ... + * sysdeps/generic/s_csqrt.c: ...here. + * sysdeps/libm-ieee754/s_csqrtf.c: Moved to ... + * sysdeps/generic/s_csqrtf.c: ...here. + * sysdeps/libm-ieee754/s_csqrtl.c: Moved to ... + * sysdeps/generic/s_csqrtl.c: ...here. + * sysdeps/libm-ieee754/s_ctan.c: Moved to ... + * sysdeps/generic/s_ctan.c: ...here. + * sysdeps/libm-ieee754/s_ctanf.c: Moved to ... + * sysdeps/generic/s_ctanf.c: ...here. + * sysdeps/libm-ieee754/s_ctanh.c: Moved to ... + * sysdeps/generic/s_ctanh.c: ...here. + * sysdeps/libm-ieee754/s_ctanhf.c: Moved to ... + * sysdeps/generic/s_ctanhf.c: ...here. + * sysdeps/libm-ieee754/s_ctanhl.c: Moved to ... + * sysdeps/generic/s_ctanhl.c: ...here. + * sysdeps/libm-ieee754/s_ctanl.c: Moved to ... + * sysdeps/generic/s_ctanl.c: ...here. + * sysdeps/libm-ieee754/s_fdim.c: Moved to ... + * sysdeps/generic/s_fdim.c: ...here. + * sysdeps/libm-ieee754/s_fdimf.c: Moved to ... + * sysdeps/generic/s_fdimf.c: ...here. + * sysdeps/libm-ieee754/s_fdiml.c: Moved to ... + * sysdeps/generic/s_fdiml.c: ...here. + * sysdeps/libm-ieee754/s_fma.c: Moved to ... + * sysdeps/generic/s_fma.c: ...here. + * sysdeps/libm-ieee754/s_fmaf.c: Moved to ... + * sysdeps/generic/s_fmaf.c: ...here. + * sysdeps/libm-ieee754/s_fmal.c: Moved to ... + * sysdeps/generic/s_fmal.c: ...here. + * sysdeps/libm-ieee754/s_fmax.c: Moved to ... + * sysdeps/generic/s_fmax.c: ...here. + * sysdeps/libm-ieee754/s_fmaxf.c: Moved to ... + * sysdeps/generic/s_fmaxf.c: ...here. + * sysdeps/libm-ieee754/s_fmaxl.c: Moved to ... + * sysdeps/generic/s_fmaxl.c: ...here. + * sysdeps/libm-ieee754/s_fmin.c: Moved to ... + * sysdeps/generic/s_fmin.c: ...here. + * sysdeps/libm-ieee754/s_fminf.c: Moved to ... + * sysdeps/generic/s_fminf.c: ...here. + * sysdeps/libm-ieee754/s_fminl.c: Moved to ... + * sysdeps/generic/s_fminl.c: ...here. + * sysdeps/libm-ieee754/s_ldexp.c: Moved to ... + * sysdeps/generic/s_ldexp.c: ...here. + * sysdeps/libm-ieee754/s_ldexpf.c: Moved to ... + * sysdeps/generic/s_ldexpf.c: ...here. + * sysdeps/libm-ieee754/s_ldexpl.c: Moved to ... + * sysdeps/generic/s_ldexpl.c: ...here. + * sysdeps/libm-ieee754/s_nan.c: Moved to ... + * sysdeps/generic/s_nan.c: ...here. + * sysdeps/libm-ieee754/s_nanf.c: Moved to ... + * sysdeps/generic/s_nanf.c: ...here. + * sysdeps/libm-ieee754/s_nanl.c: Moved to ... + * sysdeps/generic/s_nanl.c: ...here. + * sysdeps/libm-ieee754/s_significand.c: Moved to ... + * sysdeps/generic/s_significand.c: ...here. + * sysdeps/libm-ieee754/s_significandf.c: Moved to ... + * sysdeps/generic/s_significandf.c: ...here. + * sysdeps/libm-ieee754/s_significandl.c: Moved to ... + * sysdeps/generic/s_significandl.c: ...here. + Avoid conversion from int to double and then to long double. + * sysdeps/libm-ieee754/w_acos.c: Moved to ... + * math/w_acos.c: ...here. + * sysdeps/libm-ieee754/w_acosf.c: Moved to ... + * math/w_acosf.c: ...here. + * sysdeps/libm-ieee754/w_acosh.c: Moved to ... + * math/w_acosh.c: ...here. + * sysdeps/libm-ieee754/w_acoshf.c: Moved to ... + * math/w_acoshf.c: ...here. + * sysdeps/libm-ieee754/w_acoshl.c: Moved to ... + * math/w_acoshl.c: ...here. + * sysdeps/libm-ieee754/w_acosl.c: Moved to ... + * math/w_acosl.c: ...here. + * sysdeps/libm-ieee754/w_asin.c: Moved to ... + * math/w_asin.c: ...here. + * sysdeps/libm-ieee754/w_asinf.c: Moved to ... + * math/w_asinf.c: ...here. + * sysdeps/libm-ieee754/w_asinl.c: Moved to ... + * math/w_asinl.c: ...here. + * sysdeps/libm-ieee754/w_atan2.c: Moved to ... + * math/w_atan2.c: ...here. + * sysdeps/libm-ieee754/w_atan2f.c: Moved to ... + * math/w_atan2f.c: ...here. + * sysdeps/libm-ieee754/w_atan2l.c: Moved to ... + * math/w_atan2l.c: ...here. + * sysdeps/libm-ieee754/w_atanh.c: Moved to ... + * math/w_atanh.c: ...here. + * sysdeps/libm-ieee754/w_atanhf.c: Moved to ... + * math/w_atanhf.c: ...here. + * sysdeps/libm-ieee754/w_atanhl.c: Moved to ... + * math/w_atanhl.c: ...here. + * sysdeps/libm-ieee754/w_cosh.c: Moved to ... + * math/w_cosh.c: ...here. + * sysdeps/libm-ieee754/w_coshf.c: Moved to ... + * math/w_coshf.c: ...here. + * sysdeps/libm-ieee754/w_coshl.c: Moved to ... + * math/w_coshl.c: ...here. + * sysdeps/libm-ieee754/w_drem.c: Moved to ... + * math/w_drem.c: ...here. + * sysdeps/libm-ieee754/w_dremf.c: Moved to ... + * math/w_dremf.c: ...here. + * sysdeps/libm-ieee754/w_dreml.c: Moved to ... + * math/w_dreml.c: ...here. + * sysdeps/libm-ieee754/w_exp10.c: Moved to ... + * math/w_exp10.c: ...here. + * sysdeps/libm-ieee754/w_exp10f.c: Moved to ... + * math/w_exp10f.c: ...here. + * sysdeps/libm-ieee754/w_exp10l.c: Moved to ... + * math/w_exp10l.c: ...here. + * sysdeps/libm-ieee754/w_exp2.c: Moved to ... + * math/w_exp2.c: ...here. + * sysdeps/libm-ieee754/w_exp2f.c: Moved to ... + * math/w_exp2f.c: ...here. + * sysdeps/libm-ieee754/w_exp2l.c: Moved to ... + * math/w_exp2l.c: ...here. + * sysdeps/libm-ieee754/w_fmod.c: Moved to ... + * math/w_fmod.c: ...here. + * sysdeps/libm-ieee754/w_fmodf.c: Moved to ... + * math/w_fmodf.c: ...here. + * sysdeps/libm-ieee754/w_fmodl.c: Moved to ... + * math/w_fmodl.c: ...here. + * sysdeps/libm-ieee754/w_hypot.c: Moved to ... + * math/w_hypot.c: ...here. + * sysdeps/libm-ieee754/w_hypotf.c: Moved to ... + * math/w_hypotf.c: ...here. + * sysdeps/libm-ieee754/w_hypotl.c: Moved to ... + * math/w_hypotl.c: ...here. + * sysdeps/libm-ieee754/w_j0.c: Moved to ... + * math/w_j0.c: ...here. + * sysdeps/libm-ieee754/w_j0f.c: Moved to ... + * math/w_j0f.c: ...here. + * sysdeps/libm-ieee754/w_j0l.c: Moved to ... + * math/w_j0l.c: ...here. + * sysdeps/libm-ieee754/w_j1.c: Moved to ... + * math/w_j1.c: ...here. + * sysdeps/libm-ieee754/w_j1f.c: Moved to ... + * math/w_j1f.c: ...here. + * sysdeps/libm-ieee754/w_j1l.c: Moved to ... + * math/w_j1l.c: ...here. + * sysdeps/libm-ieee754/w_jn.c: Moved to ... + * math/w_jn.c: ...here. + * sysdeps/libm-ieee754/w_jnf.c: Moved to ... + * math/w_jnf.c: ...here. + * sysdeps/libm-ieee754/w_jnl.c: Moved to ... + * math/w_jnl.c: ...here. + * sysdeps/libm-ieee754/w_lgamma.c: Moved to ... + * math/w_lgamma.c: ...here. + * sysdeps/libm-ieee754/w_lgamma_r.c: Moved to ... + * math/w_lgamma_r.c: ...here. + * sysdeps/libm-ieee754/w_lgammaf.c: Moved to ... + * math/w_lgammaf.c: ...here. + * sysdeps/libm-ieee754/w_lgammaf_r.c: Moved to ... + * math/w_lgammaf_r.c: ...here. + * sysdeps/libm-ieee754/w_lgammal.c: Moved to ... + * math/w_lgammal.c: ...here. + * sysdeps/libm-ieee754/w_lgammal_r.c: Moved to ... + * math/w_lgammal_r.c: ...here. + * sysdeps/libm-ieee754/w_log.c: Moved to ... + * math/w_log.c: ...here. + * sysdeps/libm-ieee754/w_log10.c: Moved to ... + * math/w_log10.c: ...here. + * sysdeps/libm-ieee754/w_log10f.c: Moved to ... + * math/w_log10f.c: ...here. + * sysdeps/libm-ieee754/w_log10l.c: Moved to ... + * math/w_log10l.c: ...here. + * sysdeps/libm-ieee754/w_logf.c: Moved to ... + * math/w_logf.c: ...here. + * sysdeps/libm-ieee754/w_logl.c: Moved to ... + * math/w_logl.c: ...here. + * sysdeps/libm-ieee754/w_pow.c: Moved to ... + * math/w_pow.c: ...here. + * sysdeps/libm-ieee754/w_powf.c: Moved to ... + * math/w_powf.c: ...here. + * sysdeps/libm-ieee754/w_powl.c: Moved to ... + * math/w_powl.c: ...here. + * sysdeps/libm-ieee754/w_remainder.c: Moved to ... + * math/w_remainder.c: ...here. + * sysdeps/libm-ieee754/w_remainderf.c: Moved to ... + * math/w_remainderf.c: ...here. + * sysdeps/libm-ieee754/w_remainderl.c: Moved to ... + * math/w_remainderl.c: ...here. + * sysdeps/libm-ieee754/w_scalb.c: Moved to ... + * math/w_scalb.c: ...here. + * sysdeps/libm-ieee754/w_scalbf.c: Moved to ... + * math/w_scalbf.c: ...here. + * sysdeps/libm-ieee754/w_scalbl.c: Moved to ... + * math/w_scalbl.c: ...here. + * sysdeps/libm-ieee754/w_sinh.c: Moved to ... + * math/w_sinh.c: ...here. + * sysdeps/libm-ieee754/w_sinhf.c: Moved to ... + * math/w_sinhf.c: ...here. + * sysdeps/libm-ieee754/w_sinhl.c: Moved to ... + * math/w_sinhl.c: ...here. + * sysdeps/libm-ieee754/w_sqrt.c: Moved to ... + * math/w_sqrt.c: ...here. + * sysdeps/libm-ieee754/w_sqrtf.c: Moved to ... + * math/w_sqrtf.c: ...here. + * sysdeps/libm-ieee754/w_sqrtl.c: Moved to ... + * math/w_sqrtl.c: ...here. + * sysdeps/libm-ieee754/w_tgamma.c: Moved to ... + * math/w_tgamma.c: ...here. + * sysdeps/libm-ieee754/w_tgammaf.c: Moved to ... + * math/w_tgammaf.c: ...here. + * sysdeps/libm-ieee754/w_tgammal.c: Moved to ... + * math/w_tgammal.c: ...here. + * sysdeps/libm-i387/e_acos.S: Moved to ... + * sysdeps/i386/fpu/e_acos.S: ...here. + * sysdeps/libm-i387/e_acosf.S: Moved to ... + * sysdeps/i386/fpu/e_acosf.S: ...here. + * sysdeps/libm-i387/e_acosh.S: Moved to ... + * sysdeps/i386/fpu/e_acosh.S: ...here. + * sysdeps/libm-i387/e_acoshf.S: Moved to ... + * sysdeps/i386/fpu/e_acoshf.S: ...here. + * sysdeps/libm-i387/e_acoshl.S: Moved to ... + * sysdeps/i386/fpu/e_acoshl.S: ...here. + * sysdeps/libm-i387/e_acosl.S: Moved to ... + * sysdeps/i386/fpu/e_acosl.S: ...here. + * sysdeps/libm-i387/e_asin.S: Moved to ... + * sysdeps/i386/fpu/e_asin.S: ...here. + * sysdeps/libm-i387/e_asinf.S: Moved to ... + * sysdeps/i386/fpu/e_asinf.S: ...here. + * sysdeps/libm-i387/e_asinl.S: Moved to ... + * sysdeps/i386/fpu/e_asinl.S: ...here. + * sysdeps/libm-i387/e_atan2.S: Moved to ... + * sysdeps/i386/fpu/e_atan2.S: ...here. + * sysdeps/libm-i387/e_atan2f.S: Moved to ... + * sysdeps/i386/fpu/e_atan2f.S: ...here. + * sysdeps/libm-i387/e_atan2l.S: Moved to ... + * sysdeps/i386/fpu/e_atan2l.S: ...here. + * sysdeps/libm-i387/e_atanh.S: Moved to ... + * sysdeps/i386/fpu/e_atanh.S: ...here. + * sysdeps/libm-i387/e_atanhf.S: Moved to ... + * sysdeps/i386/fpu/e_atanhf.S: ...here. + * sysdeps/libm-i387/e_atanhl.S: Moved to ... + * sysdeps/i386/fpu/e_atanhl.S: ...here. + * sysdeps/libm-i387/e_exp.S: Moved to ... + * sysdeps/i386/fpu/e_exp.S: ...here. + * sysdeps/libm-i387/e_exp10.S: Moved to ... + * sysdeps/i386/fpu/e_exp10.S: ...here. + * sysdeps/libm-i387/e_exp10f.S: Moved to ... + * sysdeps/i386/fpu/e_exp10f.S: ...here. + * sysdeps/libm-i387/e_exp10l.S: Moved to ... + * sysdeps/i386/fpu/e_exp10l.S: ...here. + * sysdeps/libm-i387/e_expf.S: Moved to ... + * sysdeps/i386/fpu/e_expf.S: ...here. + * sysdeps/libm-i387/e_expl.S: Moved to ... + * sysdeps/i386/fpu/e_expl.S: ...here. + * sysdeps/libm-i387/e_fmod.S: Moved to ... + * sysdeps/i386/fpu/e_fmod.S: ...here. + * sysdeps/libm-i387/e_fmodf.S: Moved to ... + * sysdeps/i386/fpu/e_fmodf.S: ...here. + * sysdeps/libm-i387/e_fmodl.S: Moved to ... + * sysdeps/i386/fpu/e_fmodl.S: ...here. + * sysdeps/libm-i387/e_hypot.S: Moved to ... + * sysdeps/i386/fpu/e_hypot.S: ...here. + * sysdeps/libm-i387/e_hypotf.S: Moved to ... + * sysdeps/i386/fpu/e_hypotf.S: ...here. + * sysdeps/libm-i387/e_log.S: Moved to ... + * sysdeps/i386/fpu/e_log.S: ...here. + * sysdeps/libm-i387/e_log10.S: Moved to ... + * sysdeps/i386/fpu/e_log10.S: ...here. + * sysdeps/libm-i387/e_log10f.S: Moved to ... + * sysdeps/i386/fpu/e_log10f.S: ...here. + * sysdeps/libm-i387/e_log10l.S: Moved to ... + * sysdeps/i386/fpu/e_log10l.S: ...here. + * sysdeps/libm-i387/e_logf.S: Moved to ... + * sysdeps/i386/fpu/e_logf.S: ...here. + * sysdeps/libm-i387/e_logl.S: Moved to ... + * sysdeps/i386/fpu/e_logl.S: ...here. + * sysdeps/libm-i387/e_pow.S: Moved to ... + * sysdeps/i386/fpu/e_pow.S: ...here. + * sysdeps/libm-i387/e_powf.S: Moved to ... + * sysdeps/i386/fpu/e_powf.S: ...here. + * sysdeps/libm-i387/e_powl.S: Moved to ... + * sysdeps/i386/fpu/e_powl.S: ...here. + * sysdeps/libm-i387/e_rem_pio2l.c: Moved to ... + * sysdeps/i386/fpu/e_rem_pio2l.c: ...here. + * sysdeps/libm-i387/e_remainder.S: Moved to ... + * sysdeps/i386/fpu/e_remainder.S: ...here. + * sysdeps/libm-i387/e_remainderf.S: Moved to ... + * sysdeps/i386/fpu/e_remainderf.S: ...here. + * sysdeps/libm-i387/e_remainderl.S: Moved to ... + * sysdeps/i386/fpu/e_remainderl.S: ...here. + * sysdeps/libm-i387/e_scalb.S: Moved to ... + * sysdeps/i386/fpu/e_scalb.S: ...here. + * sysdeps/libm-i387/e_scalbf.S: Moved to ... + * sysdeps/i386/fpu/e_scalbf.S: ...here. + * sysdeps/libm-i387/e_scalbl.S: Moved to ... + * sysdeps/i386/fpu/e_scalbl.S: ...here. + * sysdeps/libm-i387/e_sqrt.S: Moved to ... + * sysdeps/i386/fpu/e_sqrt.S: ...here. + * sysdeps/libm-i387/e_sqrtf.S: Moved to ... + * sysdeps/i386/fpu/e_sqrtf.S: ...here. + * sysdeps/libm-i387/e_sqrtl.S: Moved to ... + * sysdeps/i386/fpu/e_sqrtl.S: ...here. + * sysdeps/libm-i387/k_rem_pio2l.c: Moved to ... + * sysdeps/i386/fpu/k_rem_pio2l.c: ...here. + * sysdeps/libm-i387/s_asinh.S: Moved to ... + * sysdeps/i386/fpu/s_asinh.S: ...here. + * sysdeps/libm-i387/s_asinhf.S: Moved to ... + * sysdeps/i386/fpu/s_asinhf.S: ...here. + * sysdeps/libm-i387/s_asinhl.S: Moved to ... + * sysdeps/i386/fpu/s_asinhl.S: ...here. + * sysdeps/libm-i387/s_atan.S: Moved to ... + * sysdeps/i386/fpu/s_atan.S: ...here. + * sysdeps/libm-i387/s_atanf.S: Moved to ... + * sysdeps/i386/fpu/s_atanf.S: ...here. + * sysdeps/libm-i387/s_atanl.S: Moved to ... + * sysdeps/i386/fpu/s_atanl.S: ...here. + * sysdeps/libm-i387/s_cbrt.S: Moved to ... + * sysdeps/i386/fpu/s_cbrt.S: ...here. + * sysdeps/libm-i387/s_cbrtf.S: Moved to ... + * sysdeps/i386/fpu/s_cbrtf.S: ...here. + * sysdeps/libm-i387/s_cbrtl.S: Moved to ... + * sysdeps/i386/fpu/s_cbrtl.S: ...here. + * sysdeps/libm-i387/s_ceil.S: Moved to ... + * sysdeps/i386/fpu/s_ceil.S: ...here. + * sysdeps/libm-i387/s_ceilf.S: Moved to ... + * sysdeps/i386/fpu/s_ceilf.S: ...here. + * sysdeps/libm-i387/s_ceill.S: Moved to ... + * sysdeps/i386/fpu/s_ceill.S: ...here. + * sysdeps/libm-i387/s_cexp.S: Moved to ... + * sysdeps/i386/fpu/s_cexp.S: ...here. + * sysdeps/libm-i387/s_cexpf.S: Moved to ... + * sysdeps/i386/fpu/s_cexpf.S: ...here. + * sysdeps/libm-i387/s_cexpl.S: Moved to ... + * sysdeps/i386/fpu/s_cexpl.S: ...here. + * sysdeps/libm-i387/s_copysign.S: Moved to ... + * sysdeps/i386/fpu/s_copysign.S: ...here. + * sysdeps/libm-i387/s_copysignf.S: Moved to ... + * sysdeps/i386/fpu/s_copysignf.S: ...here. + * sysdeps/libm-i387/s_copysignl.S: Moved to ... + * sysdeps/i386/fpu/s_copysignl.S: ...here. + * sysdeps/libm-i387/s_cos.S: Moved to ... + * sysdeps/i386/fpu/s_cos.S: ...here. + * sysdeps/libm-i387/s_cosf.S: Moved to ... + * sysdeps/i386/fpu/s_cosf.S: ...here. + * sysdeps/libm-i387/s_cosl.S: Moved to ... + * sysdeps/i386/fpu/s_cosl.S: ...here. + * sysdeps/libm-i387/s_exp2.S: Moved to ... + * sysdeps/i386/fpu/s_exp2.S: ...here. + * sysdeps/libm-i387/s_exp2f.S: Moved to ... + * sysdeps/i386/fpu/s_exp2f.S: ...here. + * sysdeps/libm-i387/s_exp2l.S: Moved to ... + * sysdeps/i386/fpu/s_exp2l.S: ...here. + * sysdeps/libm-i387/s_expm1.S: Moved to ... + * sysdeps/i386/fpu/s_expm1.S: ...here. + * sysdeps/libm-i387/s_expm1f.S: Moved to ... + * sysdeps/i386/fpu/s_expm1f.S: ...here. + * sysdeps/libm-i387/s_expm1l.S: Moved to ... + * sysdeps/i386/fpu/s_expm1l.S: ...here. + * sysdeps/libm-i387/s_fdim.S: Moved to ... + * sysdeps/i386/fpu/s_fdim.S: ...here. + * sysdeps/libm-i387/s_fdimf.S: Moved to ... + * sysdeps/i386/fpu/s_fdimf.S: ...here. + * sysdeps/libm-i387/s_fdiml.S: Moved to ... + * sysdeps/i386/fpu/s_fdiml.S: ...here. + * sysdeps/libm-i387/s_finite.S: Moved to ... + * sysdeps/i386/fpu/s_finite.S: ...here. + * sysdeps/libm-i387/s_finitef.S: Moved to ... + * sysdeps/i386/fpu/s_finitef.S: ...here. + * sysdeps/libm-i387/s_finitel.S: Moved to ... + * sysdeps/i386/fpu/s_finitel.S: ...here. + * sysdeps/libm-i387/s_floor.S: Moved to ... + * sysdeps/i386/fpu/s_floor.S: ...here. + * sysdeps/libm-i387/s_floorf.S: Moved to ... + * sysdeps/i386/fpu/s_floorf.S: ...here. + * sysdeps/libm-i387/s_floorl.S: Moved to ... + * sysdeps/i386/fpu/s_floorl.S: ...here. + * sysdeps/libm-i387/s_fma.S: Moved to ... + * sysdeps/i386/fpu/s_fma.S: ...here. + * sysdeps/libm-i387/s_fmaf.S: Moved to ... + * sysdeps/i386/fpu/s_fmaf.S: ...here. + * sysdeps/libm-i387/s_fmal.S: Moved to ... + * sysdeps/i386/fpu/s_fmal.S: ...here. + * sysdeps/libm-i387/s_fmax.S: Moved to ... + * sysdeps/i386/fpu/s_fmax.S: ...here. + * sysdeps/libm-i387/s_fmaxf.S: Moved to ... + * sysdeps/i386/fpu/s_fmaxf.S: ...here. + * sysdeps/libm-i387/s_fmaxl.S: Moved to ... + * sysdeps/i386/fpu/s_fmaxl.S: ...here. + * sysdeps/libm-i387/s_fmin.S: Moved to ... + * sysdeps/i386/fpu/s_fmin.S: ...here. + * sysdeps/libm-i387/s_fminf.S: Moved to ... + * sysdeps/i386/fpu/s_fminf.S: ...here. + * sysdeps/libm-i387/s_fminl.S: Moved to ... + * sysdeps/i386/fpu/s_fminl.S: ...here. + * sysdeps/libm-i387/s_frexp.S: Moved to ... + * sysdeps/i386/fpu/s_frexp.S: ...here. + * sysdeps/libm-i387/s_frexpf.S: Moved to ... + * sysdeps/i386/fpu/s_frexpf.S: ...here. + * sysdeps/libm-i387/s_frexpl.S: Moved to ... + * sysdeps/i386/fpu/s_frexpl.S: ...here. + * sysdeps/libm-i387/s_ilogb.S: Moved to ... + * sysdeps/i386/fpu/s_ilogb.S: ...here. + * sysdeps/libm-i387/s_ilogbf.S: Moved to ... + * sysdeps/i386/fpu/s_ilogbf.S: ...here. + * sysdeps/libm-i387/s_ilogbl.S: Moved to ... + * sysdeps/i386/fpu/s_ilogbl.S: ...here. + * sysdeps/libm-i387/s_llrint.S: Moved to ... + * sysdeps/i386/fpu/s_llrint.S: ...here. + * sysdeps/libm-i387/s_llrintf.S: Moved to ... + * sysdeps/i386/fpu/s_llrintf.S: ...here. + * sysdeps/libm-i387/s_llrintl.S: Moved to ... + * sysdeps/i386/fpu/s_llrintl.S: ...here. + * sysdeps/libm-i387/s_log1p.S: Moved to ... + * sysdeps/i386/fpu/s_log1p.S: ...here. + * sysdeps/libm-i387/s_log1pf.S: Moved to ... + * sysdeps/i386/fpu/s_log1pf.S: ...here. + * sysdeps/libm-i387/s_log1pl.S: Moved to ... + * sysdeps/i386/fpu/s_log1pl.S: ...here. + * sysdeps/libm-i387/s_log2.S: Moved to ... + * sysdeps/i386/fpu/s_log2.S: ...here. + * sysdeps/libm-i387/s_log2f.S: Moved to ... + * sysdeps/i386/fpu/s_log2f.S: ...here. + * sysdeps/libm-i387/s_log2l.S: Moved to ... + * sysdeps/i386/fpu/s_log2l.S: ...here. + * sysdeps/libm-i387/s_logb.S: Moved to ... + * sysdeps/i386/fpu/s_logb.S: ...here. + * sysdeps/libm-i387/s_logbf.S: Moved to ... + * sysdeps/i386/fpu/s_logbf.S: ...here. + * sysdeps/libm-i387/s_logbl.S: Moved to ... + * sysdeps/i386/fpu/s_logbl.S: ...here. + * sysdeps/libm-i387/s_lrint.S: Moved to ... + * sysdeps/i386/fpu/s_lrint.S: ...here. + * sysdeps/libm-i387/s_lrintf.S: Moved to ... + * sysdeps/i386/fpu/s_lrintf.S: ...here. + * sysdeps/libm-i387/s_lrintl.S: Moved to ... + * sysdeps/i386/fpu/s_lrintl.S: ...here. + * sysdeps/libm-i387/s_nearbyint.S: Moved to ... + * sysdeps/i386/fpu/s_nearbyint.S: ...here. + * sysdeps/libm-i387/s_nearbyintf.S: Moved to ... + * sysdeps/i386/fpu/s_nearbyintf.S: ...here. + * sysdeps/libm-i387/s_nearbyintl.S: Moved to ... + * sysdeps/i386/fpu/s_nearbyintl.S: ...here. + * sysdeps/libm-i387/s_remquo.S: Moved to ... + * sysdeps/i386/fpu/s_remquo.S: ...here. + * sysdeps/libm-i387/s_remquof.S: Moved to ... + * sysdeps/i386/fpu/s_remquof.S: ...here. + * sysdeps/libm-i387/s_remquol.S: Moved to ... + * sysdeps/i386/fpu/s_remquol.S: ...here. + * sysdeps/libm-i387/s_rint.S: Moved to ... + * sysdeps/i386/fpu/s_rint.S: ...here. + * sysdeps/libm-i387/s_rintf.S: Moved to ... + * sysdeps/i386/fpu/s_rintf.S: ...here. + * sysdeps/libm-i387/s_rintl.S: Moved to ... + * sysdeps/i386/fpu/s_rintl.S: ...here. + * sysdeps/libm-i387/s_scalbn.S: Moved to ... + * sysdeps/i386/fpu/s_scalbn.S: ...here. + * sysdeps/libm-i387/s_scalbnf.S: Moved to ... + * sysdeps/i386/fpu/s_scalbnf.S: ...here. + * sysdeps/libm-i387/s_scalbnl.S: Moved to ... + * sysdeps/i386/fpu/s_scalbnl.S: ...here. + * sysdeps/libm-i387/s_significand.S: Moved to ... + * sysdeps/i386/fpu/s_significand.S: ...here. + * sysdeps/libm-i387/s_significandf.S: Moved to ... + * sysdeps/i386/fpu/s_significandf.S: ...here. + * sysdeps/libm-i387/s_significandl.S: Moved to ... + * sysdeps/i386/fpu/s_significandl.S: ...here. + * sysdeps/libm-i387/s_sin.S: Moved to ... + * sysdeps/i386/fpu/s_sin.S: ...here. + * sysdeps/libm-i387/s_sincos.S: Moved to ... + * sysdeps/i386/fpu/s_sincos.S: ...here. + * sysdeps/libm-i387/s_sincosf.S: Moved to ... + * sysdeps/i386/fpu/s_sincosf.S: ...here. + * sysdeps/libm-i387/s_sincosl.S: Moved to ... + * sysdeps/i386/fpu/s_sincosl.S: ...here. + * sysdeps/libm-i387/s_sinf.S: Moved to ... + * sysdeps/i386/fpu/s_sinf.S: ...here. + * sysdeps/libm-i387/s_sinl.S: Moved to ... + * sysdeps/i386/fpu/s_sinl.S: ...here. + * sysdeps/libm-i387/s_tan.S: Moved to ... + * sysdeps/i386/fpu/s_tan.S: ...here. + * sysdeps/libm-i387/s_tanf.S: Moved to ... + * sysdeps/i386/fpu/s_tanf.S: ...here. + * sysdeps/libm-i387/s_tanl.S: Moved to ... + * sysdeps/i386/fpu/s_tanl.S: ...here. + * sysdeps/libm-i387/s_trunc.S: Moved to ... + * sysdeps/i386/fpu/s_trunc.S: ...here. + * sysdeps/libm-i387/s_truncf.S: Moved to ... + * sysdeps/i386/fpu/s_truncf.S: ...here. + * sysdeps/libm-i387/s_truncl.S: Moved to ... + * sysdeps/i386/fpu/s_truncl.S: ...here. + * sysdeps/libm-ieee754/k_standard.c: Moved to ... + * sysdeps/ieee754/k_standard.c: ...here. + * sysdeps/libm-ieee754/s_lib_version.c: Moved to ... + * sysdeps/ieee754/s_lib_version.c: ...here. + * sysdeps/libm-ieee754/s_matherr.c: Moved to ... + * sysdeps/ieee754/s_matherr.c: ...here. + * sysdeps/libm-ieee754/s_signgam.c: Moved to ... + * sysdeps/ieee754/s_signgam.c: ...here. + * sysdeps/ieee754/dbl2mpn.c: Moved to ... + * sysdeps/ieee754/dbl-64/dbl2mpn.c: ...here. + * sysdeps/ieee754/mpn2dbl.c: Moved to ... + * sysdeps/ieee754/dbl-64/mpn2dbl.c: ...here. + * sysdeps/libm-ieee754/e_acos.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_acos.c: ...here. + * sysdeps/libm-ieee754/e_acosh.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_acosh.c: ...here. + * sysdeps/libm-ieee754/e_asin.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_asin.c: ...here. + * sysdeps/libm-ieee754/e_atan2.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_atan2.c: ...here. + * sysdeps/libm-ieee754/e_atanh.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_atanh.c: ...here. + * sysdeps/libm-ieee754/e_cosh.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_cosh.c: ...here. + * sysdeps/libm-ieee754/e_exp.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_exp.c: ...here. + * sysdeps/libm-ieee754/e_fmod.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_fmod.c: ...here. + * sysdeps/libm-ieee754/e_gamma_r.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_gamma_r.c: ...here. + * sysdeps/libm-ieee754/e_hypot.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_hypot.c: ...here. + * sysdeps/libm-ieee754/e_j0.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_j0.c: ...here. + * sysdeps/libm-ieee754/e_j1.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_j1.c: ...here. + * sysdeps/libm-ieee754/e_jn.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_jn.c: ...here. + * sysdeps/libm-ieee754/e_lgamma_r.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_lgamma_r.c: ...here. + * sysdeps/libm-ieee754/e_log.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_log.c: ...here. + * sysdeps/libm-ieee754/e_log10.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_log10.c: ...here. + * sysdeps/libm-ieee754/e_pow.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_pow.c: ...here. + * sysdeps/libm-ieee754/e_remainder.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_remainder.c: ...here. + * sysdeps/libm-ieee754/e_sinh.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_sinh.c: ...here. + * sysdeps/libm-ieee754/e_sqrt.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_sqrt.c: ...here. + * sysdeps/libm-ieee754/k_cos.c: Moved to ... + * sysdeps/ieee754/dbl-64/k_cos.c: ...here. + * sysdeps/libm-ieee754/k_sin.c: Moved to ... + * sysdeps/ieee754/dbl-64/k_sin.c: ...here. + * sysdeps/libm-ieee754/k_tan.c: Moved to ... + * sysdeps/ieee754/dbl-64/k_tan.c: ...here. + * sysdeps/libm-ieee754/s_asinh.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_asinh.c: ...here. + * sysdeps/libm-ieee754/s_atan.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_atan.c: ...here. + * sysdeps/libm-ieee754/s_cbrt.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_cbrt.c: ...here. + * sysdeps/libm-ieee754/s_ceil.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_ceil.c: ...here. + * sysdeps/libm-ieee754/s_copysign.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_copysign.c: ...here. + * sysdeps/libm-ieee754/s_cos.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_cos.c: ...here. + * sysdeps/libm-ieee754/s_erf.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_erf.c: ...here. + * sysdeps/libm-ieee754/s_exp2.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_exp2.c: ...here. + * sysdeps/libm-ieee754/s_expm1.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_expm1.c: ...here. + * sysdeps/libm-ieee754/s_fabs.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_fabs.c: ...here. + * sysdeps/libm-ieee754/s_finite.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_finite.c: ...here. + * sysdeps/libm-ieee754/s_floor.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_floor.c: ...here. + * sysdeps/libm-ieee754/s_fpclassify.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_fpclassify.c: ...here. + * sysdeps/libm-ieee754/s_frexp.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_frexp.c: ...here. + * sysdeps/libm-ieee754/s_ilogb.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_ilogb.c: ...here. + * sysdeps/libm-ieee754/s_isinf.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_isinf.c: ...here. + * sysdeps/libm-ieee754/s_isnan.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_isnan.c: ...here. + (__isnan): Comment above function says it returns 0 or 1, but it + used to return 0 or -1. + * sysdeps/libm-ieee754/s_llrint.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_llrint.c: ...here. + * sysdeps/libm-ieee754/s_llround.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_llround.c: ...here. + * sysdeps/libm-ieee754/s_log1p.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_log1p.c: ...here. + * sysdeps/libm-ieee754/s_log2.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_log2.c: ...here. + * sysdeps/libm-ieee754/s_logb.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_logb.c: ...here. + * sysdeps/libm-ieee754/s_lrint.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_lrint.c: ...here. + * sysdeps/libm-ieee754/s_lround.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_lround.c: ...here. + * sysdeps/libm-ieee754/s_modf.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_modf.c: ...here. + * sysdeps/libm-ieee754/s_nearbyint.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_nearbyint.c: ...here. + * sysdeps/libm-ieee754/s_nextafter.c: Moved to ... + * sysdeps/generic/s_nextafter.c: ...here. + Add __nexttoward and nexttoward aliases if NO_LONG_DOUBLE. + * sysdeps/libm-ieee754/s_remquo.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_remquo.c: ...here. + * sysdeps/libm-ieee754/s_rint.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_rint.c: ...here. + * sysdeps/libm-ieee754/s_round.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_round.c: ...here. + * sysdeps/libm-ieee754/s_scalbn.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_scalbn.c: ...here. + * sysdeps/libm-ieee754/s_signbit.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_signbit.c: ...here. + * sysdeps/libm-ieee754/s_sin.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_sin.c: ...here. + * sysdeps/libm-ieee754/s_sincos.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_sincos.c: ...here. + * sysdeps/libm-ieee754/s_tan.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_tan.c: ...here. + * sysdeps/libm-ieee754/s_tanh.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_tanh.c: ...here. + * sysdeps/libm-ieee754/s_trunc.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_trunc.c: ...here. + * sysdeps/libm-ieee754/t_exp2.h: Moved to ... + * sysdeps/ieee754/dbl-64/t_exp2.h: ...here. + * sysdeps/libm-ieee754/w_exp.c: Moved to ... + * sysdeps/ieee754/dbl-64/w_exp.c: ...here. + * sysdeps/ieee754/mpn2flt.c: Moved to ... + * sysdeps/ieee754/flt-32/mpn2flt.c: ...here. + * sysdeps/libm-ieee754/e_acosf.c: Moved to ... + * sysdeps/ieee754/flt-32/e_acosf.c: ...here. + * sysdeps/libm-ieee754/e_acoshf.c: Moved to ... + * sysdeps/ieee754/flt-32/e_acoshf.c: ...here. + * sysdeps/libm-ieee754/e_asinf.c: Moved to ... + * sysdeps/ieee754/flt-32/e_asinf.c: ...here. + * sysdeps/libm-ieee754/e_atan2f.c: Moved to ... + * sysdeps/ieee754/flt-32/e_atan2f.c: ...here. + * sysdeps/libm-ieee754/e_atanhf.c: Moved to ... + * sysdeps/ieee754/flt-32/e_atanhf.c: ...here. + * sysdeps/libm-ieee754/e_coshf.c: Moved to ... + * sysdeps/ieee754/flt-32/e_coshf.c: ...here. + * sysdeps/libm-ieee754/e_expf.c: Moved to ... + * sysdeps/ieee754/flt-32/e_expf.c: ...here. + * sysdeps/libm-ieee754/e_fmodf.c: Moved to ... + * sysdeps/ieee754/flt-32/e_fmodf.c: ...here. + * sysdeps/libm-ieee754/e_gammaf_r.c: Moved to ... + * sysdeps/ieee754/flt-32/e_gammaf_r.c: ...here. + * sysdeps/libm-ieee754/e_hypotf.c: Moved to ... + * sysdeps/ieee754/flt-32/e_hypotf.c: ...here. + * sysdeps/libm-ieee754/e_j0f.c: Moved to ... + * sysdeps/ieee754/flt-32/e_j0f.c: ...here. + * sysdeps/libm-ieee754/e_j1f.c: Moved to ... + * sysdeps/ieee754/flt-32/e_j1f.c: ...here. + * sysdeps/libm-ieee754/e_jnf.c: Moved to ... + * sysdeps/ieee754/flt-32/e_jnf.c: ...here. + * sysdeps/libm-ieee754/e_lgammaf_r.c: Moved to ... + * sysdeps/ieee754/flt-32/e_lgammaf_r.c: ...here. + * sysdeps/libm-ieee754/e_log10f.c: Moved to ... + * sysdeps/ieee754/flt-32/e_log10f.c: ...here. + * sysdeps/libm-ieee754/e_logf.c: Moved to ... + * sysdeps/ieee754/flt-32/e_logf.c: ...here. + * sysdeps/libm-ieee754/e_powf.c: Moved to ... + * sysdeps/ieee754/flt-32/e_powf.c: ...here. + * sysdeps/libm-ieee754/e_remainderf.c: Moved to ... + * sysdeps/ieee754/flt-32/e_remainderf.c: ...here. + * sysdeps/libm-ieee754/e_sinhf.c: Moved to ... + * sysdeps/ieee754/flt-32/e_sinhf.c: ...here. + * sysdeps/libm-ieee754/e_sqrtf.c: Moved to ... + * sysdeps/ieee754/flt-32/e_sqrtf.c: ...here. + * sysdeps/libm-ieee754/k_cosf.c: Moved to ... + * sysdeps/ieee754/flt-32/k_cosf.c: ...here. + * sysdeps/libm-ieee754/k_sinf.c: Moved to ... + * sysdeps/ieee754/flt-32/k_sinf.c: ...here. + * sysdeps/libm-ieee754/k_tanf.c: Moved to ... + * sysdeps/ieee754/flt-32/k_tanf.c: ...here. + * sysdeps/libm-ieee754/s_asinhf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_asinhf.c: ...here. + * sysdeps/libm-ieee754/s_atanf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_atanf.c: ...here. + * sysdeps/libm-ieee754/s_cbrtf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_cbrtf.c: ...here. + * sysdeps/libm-ieee754/s_ceilf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_ceilf.c: ...here. + * sysdeps/libm-ieee754/s_copysignf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_copysignf.c: ...here. + * sysdeps/libm-ieee754/s_cosf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_cosf.c: ...here. + * sysdeps/libm-ieee754/s_erff.c: Moved to ... + * sysdeps/ieee754/flt-32/s_erff.c: ...here. + * sysdeps/libm-ieee754/s_exp2f.c: Moved to ... + * sysdeps/ieee754/flt-32/s_exp2f.c: ...here. + * sysdeps/libm-ieee754/s_expm1f.c: Moved to ... + * sysdeps/ieee754/flt-32/s_expm1f.c: ...here. + * sysdeps/libm-ieee754/s_fabsf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_fabsf.c: ...here. + * sysdeps/libm-ieee754/s_finitef.c: Moved to ... + * sysdeps/ieee754/flt-32/s_finitef.c: ...here. + * sysdeps/libm-ieee754/s_floorf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_floorf.c: ...here. + * sysdeps/libm-ieee754/s_fpclassifyf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_fpclassifyf.c: ...here. + * sysdeps/libm-ieee754/s_frexpf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_frexpf.c: ...here. + * sysdeps/libm-ieee754/s_ilogbf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_ilogbf.c: ...here. + * sysdeps/libm-ieee754/s_isinff.c: Moved to ... + * sysdeps/ieee754/flt-32/s_isinff.c: ...here. + * sysdeps/libm-ieee754/s_isnanf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_isnanf.c: ...here. + * sysdeps/libm-ieee754/s_llrintf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_llrintf.c: ...here. + * sysdeps/libm-ieee754/s_llroundf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_llroundf.c: ...here. + * sysdeps/libm-ieee754/s_log1pf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_log1pf.c: ...here. + * sysdeps/libm-ieee754/s_log2f.c: Moved to ... + * sysdeps/ieee754/flt-32/s_log2f.c: ...here. + * sysdeps/libm-ieee754/s_logbf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_logbf.c: ...here. + * sysdeps/libm-ieee754/s_lrintf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_lrintf.c: ...here. + * sysdeps/libm-ieee754/s_lroundf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_lroundf.c: ...here. + * sysdeps/libm-ieee754/s_modff.c: Moved to ... + * sysdeps/ieee754/flt-32/s_modff.c: ...here. + * sysdeps/libm-ieee754/s_nearbyintf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_nearbyintf.c: ...here. + * sysdeps/libm-ieee754/s_nextafterf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_nextafterf.c: ...here. + * sysdeps/libm-ieee754/s_remquof.c: Moved to ... + * sysdeps/ieee754/flt-32/s_remquof.c: ...here. + * sysdeps/libm-ieee754/s_rintf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_rintf.c: ...here. + * sysdeps/libm-ieee754/s_roundf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_roundf.c: ...here. + * sysdeps/libm-ieee754/s_scalbnf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_scalbnf.c: ...here. + * sysdeps/libm-ieee754/s_signbitf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_signbitf.c: ...here. + * sysdeps/libm-ieee754/s_sincosf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_sincosf.c: ...here. + * sysdeps/libm-ieee754/s_sinf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_sinf.c: ...here. + * sysdeps/libm-ieee754/s_tanf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_tanf.c: ...here. + * sysdeps/libm-ieee754/s_tanhf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_tanhf.c: ...here. + * sysdeps/libm-ieee754/s_truncf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_truncf.c: ...here. + * sysdeps/libm-ieee754/t_exp2f.h: Moved to ... + * sysdeps/ieee754/flt-32/t_exp2f.h: ...here. + * sysdeps/libm-ieee754/w_expf.c: Moved to ... + * sysdeps/ieee754/flt-32/w_expf.c: ...here. + * sysdeps/libm-ieee754/e_acoshl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/e_acoshl.c: ...here. + * sysdeps/libm-ieee754/e_atan2l.c: Moved to ... + * sysdeps/ieee754/ldbl-96/e_atan2l.c: ...here. + * sysdeps/libm-ieee754/e_atanhl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/e_atanhl.c: ...here. + * sysdeps/libm-ieee754/e_coshl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/e_coshl.c: ...here. + * sysdeps/libm-ieee754/e_gammal_r.c: Moved to ... + * sysdeps/ieee754/ldbl-96/e_gammal_r.c: ...here. + * sysdeps/libm-ieee754/e_hypotl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/e_hypotl.c: ...here. + * sysdeps/libm-ieee754/e_remainderl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/e_remainderl.c: ...here. + * sysdeps/libm-ieee754/e_sinhl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/e_sinhl.c: ...here. + * sysdeps/libm-ieee754/s_asinhl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_asinhl.c: ...here. + * sysdeps/libm-ieee754/s_cbrtl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_cbrtl.c: ...here. + * sysdeps/libm-ieee754/s_ceill.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_ceill.c: ...here. + * sysdeps/libm-ieee754/s_copysignl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_copysignl.c: ...here. + * sysdeps/libm-ieee754/s_cosl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_cosl.c: ...here. + * sysdeps/libm-ieee754/s_fabsl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_fabsl.c: ...here. + * sysdeps/libm-ieee754/s_finitel.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_finitel.c: ...here. + * sysdeps/libm-ieee754/s_floorl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_floorl.c: ...here. + * sysdeps/libm-ieee754/s_fpclassifyl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: ...here. + * sysdeps/libm-ieee754/s_frexpl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_frexpl.c: ...here. + * sysdeps/libm-ieee754/s_ilogbl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_ilogbl.c: ...here. + * sysdeps/libm-ieee754/s_llrintl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_llrintl.c: ...here. + * sysdeps/libm-ieee754/s_llroundl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_llroundl.c: ...here. + * sysdeps/libm-ieee754/s_logbl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_logbl.c: ...here. + * sysdeps/libm-ieee754/s_lrintl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_lrintl.c: ...here. + * sysdeps/libm-ieee754/s_lroundl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_lroundl.c: ...here. + * sysdeps/libm-ieee754/s_modfl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_modfl.c: ...here. + (__modfl): IEEE 854 long doubles should use SET_LDOUBLE_WORDS, not + INSERT_WORDS. + * sysdeps/libm-ieee754/s_nearbyintl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: ...here. + (__nearbyintl): Fix for exponents 2^30. + * sysdeps/libm-ieee754/s_remquol.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_remquol.c: ...here. + * sysdeps/libm-ieee754/s_rintl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_rintl.c: ...here. + (__rintl): Fix for exponents 2^30. + * sysdeps/libm-ieee754/s_roundl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_roundl.c: ...here. + * sysdeps/libm-ieee754/s_scalbnl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_scalbnl.c: ...here. + (__scalbnl): Fix exponent for subnormal result. + * sysdeps/libm-ieee754/s_signbitl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_signbitl.c: ...here. + * sysdeps/libm-ieee754/s_sincosl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_sincosl.c: ...here. + * sysdeps/libm-ieee754/s_sinl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_sinl.c: ...here. + * sysdeps/libm-ieee754/s_tanhl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_tanhl.c: ...here. + * sysdeps/libm-ieee754/s_tanl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_tanl.c: ...here. + * sysdeps/libm-ieee754/s_truncl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_truncl.c: ...here. + * sysdeps/libm-ieee754/w_expl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/w_expl.c: ...here. + * sysdeps/libm-i387/i686/s_fminl.S: Moved to ... + * sysdeps/i386/i686/fpu/s_fminl.S: ...here. + * sysdeps/libm-i387/s_scalblnf.c: Moved to ... + * sysdeps/i386/fpu/s_scalblnf.c: ...here. + * sysdeps/libm-ieee754/s_scalblnf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_scalblnf.c: ...here. + * sysdeps/libm-i387/i686/s_fdiml.S: Moved to ... + * sysdeps/i386/i686/fpu/s_fdiml.S: ...here. + * sysdeps/libm-i387/e_rem_pio2f.c: Moved to ... + * sysdeps/i386/fpu/e_rem_pio2f.c: ...here. + * sysdeps/libm-ieee754/e_rem_pio2f.c: Moved to ... + * sysdeps/ieee754/flt-32/e_rem_pio2f.c: ...here. + * sysdeps/libm-i387/i686/s_fmin.S: Moved to ... + * sysdeps/i386/i686/fpu/s_fmin.S: ...here. + * sysdeps/libm-i387/k_rem_pio2.c: Moved to ... + * sysdeps/i386/fpu/k_rem_pio2.c: ...here. + * sysdeps/libm-ieee754/k_rem_pio2.c: Moved to ... + * sysdeps/ieee754/dbl-64/k_rem_pio2.c: ...here. + * sysdeps/libm-i387/k_rem_pio2f.c: Moved to ... + * sysdeps/i386/fpu/k_rem_pio2f.c: ...here. + * sysdeps/libm-ieee754/k_rem_pio2f.c: Moved to ... + * sysdeps/ieee754/flt-32/k_rem_pio2f.c: ...here. + * sysdeps/libm-i387/s_scalbln.c: Moved to ... + * sysdeps/i386/fpu/s_scalbln.c: ...here. + * sysdeps/libm-ieee754/s_scalbln.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_scalbln.c: ...here. + * sysdeps/libm-i387/i686/s_fmax.S: Moved to ... + * sysdeps/i386/i686/fpu/s_fmax.S: ...here. + * sysdeps/libm-i387/t_exp.c: Moved to ... + * sysdeps/i386/fpu/t_exp.c: ...here. + * sysdeps/libm-ieee754/t_exp.c: Moved to ... + * sysdeps/ieee754/dbl-64/t_exp.c: ...here. + * sysdeps/libm-i387/e_rem_pio2.c: Moved to ... + * sysdeps/i386/fpu/e_rem_pio2.c: ...here. + * sysdeps/libm-ieee754/e_rem_pio2.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_rem_pio2.c: ...here. + * sysdeps/libm-i387/s_isinfl.c: Moved to ... + * sysdeps/i386/fpu/s_isinfl.c: ...here. + * sysdeps/libm-ieee754/s_isinfl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_isinfl.c: ...here. + * sysdeps/libm-i387/s_scalblnl.c: Moved to ... + * sysdeps/i386/fpu/s_scalblnl.c: ...here. + * sysdeps/libm-ieee754/s_scalblnl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_scalblnl.c: ...here. + Fix exponent for subnormal result. + * sysdeps/libm-ieee754/s_nexttowardl.c: Moved to ... + * sysdeps/generic/s_nexttowardl.c: ...here. + * sysdeps/libm-i387/i686/s_fmaxf.S: Moved to ... + * sysdeps/i386/i686/fpu/s_fmaxf.S: ...here. + * sysdeps/libm-i387/s_isnanl.c: Moved to ... + * sysdeps/i386/fpu/s_isnanl.c: ...here. + * sysdeps/libm-ieee754/s_isnanl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_isnanl.c: ...here. + Comment above function says it returns 0 or 1, but it used to return + 0 or -1. + * sysdeps/libm-i387/i686/s_fminf.S: Moved to ... + * sysdeps/i386/i686/fpu/s_fminf.S: ...here. + * sysdeps/libm-i387/i686/s_fdim.S: Moved to ... + * sysdeps/i386/i686/fpu/s_fdim.S: ...here. + * sysdeps/libm-i387/i686/s_fdimf.S: Moved to ... + * sysdeps/i386/i686/fpu/s_fdimf.S: ...here. + * sysdeps/libm-i387/i686/s_fmaxl.S: Moved to ... + * sysdeps/i386/i686/fpu/s_fmaxl.S: ...here. + * sysdeps/libm-ieee754/s_nexttoward.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_nexttoward.c: ...here. + Cannot compare exponents with different biases without adjusting. + * sysdeps/libm-ieee754/s_nexttowardf.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: ...here. + Cannot compare exponents with different biases without adjusting. + * sysdeps/libm-i387/s_nextafterl.c: Moved to ... + * sysdeps/i386/fpu/s_nextafterl.c: ...here. + * sysdeps/libm-ieee754/s_nextafterl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_nextafterl.c: ...here. + * sysdeps/ieee754/ldbl2mpn.c: Moved to ... + * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: ...here. + Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file. + * sysdeps/ieee754/mpn2ldbl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/mpn2ldbl.c: ...here. + Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file. + * sysdeps/libm-ieee754/Dist: Split into ... + * sysdeps/ieee754/dbl-64/Dist: ...this and ... + * sysdeps/ieee754/flt-32/Dist: ...this file. + + * sysdeps/ieee754/dbl-64/s_nexttoward.c: New file. + * sysdeps/ieee754/dbl-64/mpn2ldbl.c: New file. + * sysdeps/ieee754/ldbl-96/math_ldbl.h: New file. + * sysdeps/ieee754/ldbl-96/strtold.c: New file. + * sysdeps/ieee754/ldbl-96/printf_fphex.c: New file. + * sysdeps/ieee754/ldbl-128/s_sinl.c: New file. + * sysdeps/ieee754/ldbl-128/s_ceill.c: New file. + * sysdeps/ieee754/ldbl-128/e_remainderl.c: New file. + * sysdeps/ieee754/ldbl-128/ieee754.h: New file. + * sysdeps/ieee754/ldbl-128/e_atan2l.c: New file. + * sysdeps/ieee754/ldbl-128/s_finitel.c: New file. + * sysdeps/ieee754/ldbl-128/s_roundl.c: New file. + * sysdeps/ieee754/ldbl-128/s_llrintl.c: New file. + * sysdeps/ieee754/ldbl-128/e_gammal_r.c: New file. + * sysdeps/ieee754/ldbl-128/s_llroundl.c: New file. + * sysdeps/ieee754/ldbl-128/s_sincosl.c: New file. + * sysdeps/ieee754/ldbl-128/s_cosl.c: New file. + * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: New file. + * sysdeps/ieee754/ldbl-128/s_ilogbl.c: New file. + * sysdeps/ieee754/ldbl-128/s_floorl.c: New file. + * sysdeps/ieee754/ldbl-128/s_logbl.c: New file. + * sysdeps/ieee754/ldbl-128/s_scalbnl.c: New file. + * sysdeps/ieee754/ldbl-128/s_remquol.c: New file. + * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: New file. + * sysdeps/ieee754/ldbl-128/s_tanl.c: New file. + * sysdeps/ieee754/ldbl-128/s_rintl.c: New file. + * sysdeps/ieee754/ldbl-128/e_acoshl.c: New file. + * sysdeps/ieee754/ldbl-128/s_lroundl.c: New file. + * sysdeps/ieee754/ldbl-128/s_signbitl.c: New file. + * sysdeps/ieee754/ldbl-128/s_copysignl.c: New file. + * sysdeps/ieee754/ldbl-128/s_fabsl.c: New file. + * sysdeps/ieee754/ldbl-128/s_frexpl.c: New file. + * sysdeps/ieee754/ldbl-128/s_truncl.c: New file. + * sysdeps/ieee754/ldbl-128/s_modfl.c: New file. + * sysdeps/ieee754/ldbl-128/s_lrintl.c: New file. + * sysdeps/ieee754/ldbl-128/s_isinfl.c: New file. + * sysdeps/ieee754/ldbl-128/s_scalblnl.c: New file. + * sysdeps/ieee754/ldbl-128/e_fmodl.c: New file. + * sysdeps/ieee754/ldbl-128/s_isnanl.c: New file. + * sysdeps/ieee754/ldbl-128/math_ldbl.h: New file. + * sysdeps/ieee754/ldbl-128/strtold.c: New file. + * sysdeps/ieee754/ldbl-128/s_nextafterl.c: New file. + * sysdeps/ieee754/ldbl-128/s_nexttoward.c: New file. + * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: New file. + * sysdeps/ieee754/ldbl-128/printf_fphex.c: New file. + * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: New file. + * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: New file. + + * sysdeps/generic/math_ldbl.h: New file. + * sysdeps/generic/s_nexttowardf.c: New file. + * sysdeps/generic/strtold.c: New file. + * sysdeps/generic/ldbl2mpn.c: New file. + + * math/machine/endian.h: Remove. + * sysdeps/i386/fpu/Implies: Remove. + * sysdeps/ieee754/Implies: Remove. + + * math/math_private.h: Move long double macros to math_ldbl.h + header. + +1999-07-12 Ulrich Drepper + + * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive + connections without a hostname set address to localhost address. + +1999-07-11 H.J. Lu + + * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get + nscd's own strong version of the get[a-z]*_r function. + * nscd/hstcache.c: Likewise. + * nscd/pwdcache.c: Likewise. + +1999-07-12 Ulrich Drepper + + * configure.in: Recognize 2.95 as gcc version number. + Patch by Joel Klecker . + +1999-07-12 Andreas Schwab + + * elf/rtld.c (dl_main): When putting back the interpreter object + handle the case where a missing object might occur in the list of + objects but not in the search list when in trace mode. + +1999-07-11 Ulrich Drepper + + * Versions.def (libnss_hesiod): Add GLIBC_2.2. + * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add + _nss_hesiod_initgroups. + +1999-07-11 Roland McGrath + + * sysdeps/mach/hurd/brk.c (static_data_start): New variable. + (_hurd_set_brk, init_brk): Use that instead of &__data_start. + Initialize it from &__data_start if defined, or else &_end. + +1999-07-11 Roland McGrath + + * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate + for MAP_ANON, prot==PROT_READ|PROT_WRITE. + +1999-07-09 Ulrich Drepper + + * stdio-common/vfprintf.c (buffered_vfprintf): Add locking. + +1999-07-09 H.J. Lu + + * Versions.def (GLIBC_2.1.2): Added. + + * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the + old one as GLIBC_2.0. + * nss/getXXbyYY_r.c: Likewise. + + * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to + GLIBC_2.1.2. + * inet/Versions (getaliasbyname_r, getaliasent_r, + gethostbyaddr_r, gethostbyname2_r, gethostbyname_r, + gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r, + getnetgrent_r, getprotobyname_r, getprotobynumber_r, + getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r, + getservbyname_r): Likewise. + * pwd/Versions (getpwent_r, getpwuid_r): Likewise. + * shadow/Versions (getspent_r, getspnam_r): Likewise. + +1999-07-09 Ulrich Drepper + + * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old + compilers. + (__memset_cc): Likewise. + + * sysdeps/generic/libc-start.c: For SUID binaries check whether + the standard file descriptors are open. + Reported by Chris Evans . + + * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap. + * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in + range of mmap. If not fail. + Patches by Daniel Jacobowitz . + + * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage + before the relocation happened. + Patch by Franz Sirl . + + * Versions.def (libnsl): Add GLIBC_2.2. + * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall. + +1999-07-08 Cristian Gafton + + * nis/yp_xdr.c (xdr_ypall): New function. + +1999-07-09 Andreas Schwab + + * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h. + + * dlfcn/Makefile (headers): Add bits/dlfcn.h. + +1999-07-09 Ulrich Drepper + + * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups. + * hesiod/hesiod-grp.c: Add initgroups support. + Patch by Nalin Dahyabhai . + +1999-07-08 Andreas Schwab + + * libio/iofopncook.c (fopencookie): Set _fileno to -2. + + * libio/libioP.h (_IO_file_is_open): Only check for -1, not all + negative numbers. + + * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not + EOF. + * libio/oldfileops.c (_IO_old_file_close_it): Likewise. + +1999-07-08 Andreas Schwab + + * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode. + +1999-07-08 Andreas Schwab + + * libio/fileno.c: Return -1 instead of EOF and set errno if the + stream is not a real file stream. + +1999-07-08 Andreas Schwab + + * manual/charset.texi: Fix typos. + +1999-07-07 Ulrich Drepper + + * sysdeps/gnu/Makefile (libdl-routines): Add eval. + +1999-07-06 Zack Weinberg + + * dlfcn: New directory. Move the following files from elf: + dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c, + dlopenold.c, dlsym.c, dlvsym.c. + * dlfcn/Makefile: New file. + * dlfcn/Versions: New file. + * dlfcn/dlsym.c: All ELF-specific code split out to new + function _dl_sym. + * dlfcn/dlvsym.c: All ELF-specific code split out to new + function _dl_vsym. + * elf/dl-sym.c: New file. _dl_sym and _dl_vsym are + implemented here. + + * dlfcn/dladdr.c: Remove all references to ELF data structures + or headers. + * dlfcn/dlclose.c: Likewise. + * dlfcn/dlerror.c: Likewise. + * dlfcn/dlopen.c: Likewise. + * dlfcn/dlopenold.c: Likewise. + + * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is + yes, empty otherwise. + (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes, + depending on build-shared. + (subdirs): Add $(dlfcn). + (rpath-dirs): Add dlfcn. + * elf/Makefile: Remove all references to libdl or its + components, except the ones relating to the test cases. + (routines): Add dl-sym. + * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2. + (libdl): Delete. + + * elf/dl-close.c (_dl_close): Change argument to void *. + * elf/dl-open.c (_dl_open): Change return type to void *. + * elf/eval.c: Removed. + * elf/ldsodefs.h: Move prototypes of _dl_catch_error, + _dlerror_run, _dl_open, _dl_close, _dl_addr, and + _dl_mcount_wrapper_check to include/dlfcn.h. Delete + _CALL_DL_FCT macro. + * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here. + Include real header from dlfcn directory. + * include/ldsodefs.h: Removed. + + * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT. + * nss/getXXbyYY_r.c: Likewise. + * nss/getXXent_r.c: Likewise. + * iconv/gconv.c: Likewise. Don't include ldsodefs.h. + * iconv/gconv_db.c: Likewise. Don't include ldsodefs.h. + * iconv/skeleton.c: Don't include ldsodefs.h. + * nss/nsswitch.h: Don't include ldsodefs.h. Include dlfcn.h. + +1999-07-07 Ulrich Drepper + + * sysdeps/generic/setenv.c: Describe problem. + + * malloc/malloc.c (request2size): Also set errno if failing. + + * malloc/malloc.c (request2size): Take care of overflow in + addition. + + * sysdeps/posix/getcwd.c: Correct last patch. Handle getcwd + (NULL, != 0) correctly. + + * elf/dl-load.c: Use a few more __builtin_expect. + + * sysdeps/posix/getcwd.c: When resizing buffer make sure new size + is large enough. + +1999-07-07 Andreas Schwab + + * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted. + (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions. + (_PATH_DEVPTMX): Use _PATH_DEV. + +1999-07-07 Andreas Jaeger + + * malloc/tst-malloc.c: New file. Tests some basic functionality. + * malloc/Makefile (tests): Add tst-malloc. + +1999-07-06 Ulrich Drepper + + * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new + convention. + + * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more + motherboards. + Patch by Jay Estabrook. + + * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in + ldd for SPARC. + * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file. + Patch by Cristian Gafton. + +1999-07-02 Cristian Gafton + + * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0" + instead of "return NULL" to make C++ happy. + +1999-07-04 Mark Kettenis + + * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not + allowed by the file access mode of the open file. + +1999-07-06 Ulrich Drepper + + * sysdeps/generic/setfpucw.c: Include math.h to get all needed + macros defined. + +1999-07-03 Jakub Jelinek + + * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize. + * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize. + * sysdeps/sparc/sparc64/rshift.S: Likewise. + * sysdeps/sparc/sparc64/mul_1.S: Optimize. + +1999-07-04 Wolfram Gloger + + * malloc/malloc.c (request2size): Check for overflow and return + NULL whenever it is encountered. + +1999-07-04 Zack Weinberg + + * sysdeps/posix/tempname.c (__gen_tempname): Add + ability to create directories. Replace OPENIT and LARGEFILE + args with a single flags parameter. + * sysdeps/generic/tempname.c: Likewise. + * include/stdio.h: Adjust prototype of __gen_tempname to + match. Define symbolic constants for second argument. + + * misc/mkdtemp.c: New file, provides new function mkdtemp(). + * stdlib/stdlib.h: Prototype it. + * misc/Versions: Export it. + * misc/Makefile (routines): Add mktemp. + * manual/filesys.texi: Document it. + + * misc/mktemp.c: Adjust call of __gen_tempname to match new + convention. + * misc/mkstemp.c: Likewise. + * stdio-common/tempnam.c: Likewise. + * stdio-common/tmpfile.c: Likewise. + * stdio-common/tmpfile64.c: Likewise. + * stdio-common/tmpnam.c: Likewise. + * stdio-common/tmpnam_r.c: Likewise. + +1999-07-05 Jakub Jelinek + + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support + R_SPARC_OLO10 relocations. + * elf/elf.h (R_SPARC_OLO10): Fix comment. + +1999-07-02 Tim Waugh + + * posix/wordexp-test.c: Revert bogus 'unset IFS' change. It + doesn't belong in the tests, but in the wordexp implementation. + + * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't + split fields. + +1999-07-01 Cristian Gafton + + * time/strptime.c (strptime): Initialize the tm struct first to avoid + returning bogus results on incomplete data. + (strptime_internal): day_of_the_week() requres both tm_mon and + tm_mday to be initialized. + Compute them first if they are not given. + (strptime_internal): (have_mon, have_mday): New variables. + +1999-07-01 Andreas Jaeger + + * inet/rcmd.c (__icheckhost): Fix typo in last patch. + +1999-07-01 Andreas Jaeger + + * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon. + * wcsmbs/wcsrchr.c (wcsrchr): Likewise. + +1999-07-01 Andreas Jaeger + + * posix/wordexp.c (parse_tilde): Handle failing call to + get.*_r functions correctly for non-existing entry. + * sysdeps/posix/cuserid.c (cuserid): Likewise. + * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise. + +1999-06-30 Ulrich Drepper + + * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to + getxxbyYY_r functions correctly for non-existing entry. + * sunrpc/getrpcport.c: Likewise. + * sunrpc/clnt_simp.c: Likewise. + * inet/rexec.c: Likewise. + * sunrpc/clnt_gen.c: Likewise. + * inet/rcmd.c: Likewise. + * sysdeps/generic/glob.c: Likewise. + +1999-06-29 Andreas Jaeger + + * pwd/Makefile (tests): Add rules for tst-getpw. + + * pwd/tst-getpw.c: New program to test getpw. + +1999-06-28 Andreas Jaeger + + * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result + correctly. + +1999-06-25 Andreas Jaeger + + * manual/arith.texi (System V Number Conversion): Fix the + description which confused pointer and value to pointer. + Reported by Andries.Brouwer@cwi.nl. + +1999-06-28 Andreas Jaeger + + * pwd/getpw.c (__getpw): Check for NULL result pointer. + +1999-06-29 Andreas Jaeger + + * manual/users.texi (Lookup User): Document POSIX return + semantics for getpwuid_r and getgrgid_r. + + * manual/socket.texi (Host Names): Document that the result + pointer is null in case of error or host not found and fix a + typo. Give a small example. + +1999-06-30 Ulrich Drepper + + * pwd/getpw.c: Add warning since no buffer size is given and + therefore no overrun tests are possible. + +1999-06-30 Andreas Jaeger + + * pwd/pwd.h: Add getpw prototype declaration. + +1999-06-30 Ulrich Drepper + + * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter. + * wcsmbs/wcschr.c: Likewise. + +1999-06-28 Ulrich Drepper + + * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN + returns. + * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise. + * sysdeps/libm-ieee754/e_gammal_r.c: Likewise. + Reported by John Reiser [PR libc/1185]. + + * elf/dl-dst.h: Fix typo. + * elf/dl-open.c: Likewise. + +1999-06-26 Zack Weinberg + + * elf/dl-libc.c: New file, provides three functions: + __libc_dlopen, __libc_dlclose, __libc_dlsym. + * include/dlfcn.h: Prototype them. Prototype _dl_addr. + * elf/Makefile (routines): Add dl-libc.c. + * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of + argument to void *. + * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match. + + * iconv/gconv.c: Include dlfcn.h. + * iconv/gconv_db.c: Likewise. + * malloc/mtrace.c: Likewise. Don't include ldsodefs.h. + + * iconv/gconv_int.h (struct __gconv_loaded_object): Change + `handle' to a void *. + (__gconv_find_func): Delete prototype. + + * iconv/gconv_dl.c: Don't include ldsodefs.h. Remove + dlerror_run and related functions and structs. Use + __libc_dlopen, __libc_dlsym, __libc_dlclose. + * nss/nsswitch.c: Likewise. + +1999-06-28 Ulrich Drepper + + * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r + function correctly. + + * sunrpc/getrpcport.c: Test for gethostbyname_r function + correctly. + + * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly. + + * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r + functions correctly. + + * inet/rexec.c (rexec): Test for gethostbyname_r result correctly. + + * inet/rcmd.c: Test for gethostbyname_r result correctly. Optimize + file reading a bit. + + * sysdeps/generic/glob.c: Test for getpwnam_r result correctly. + +1999-06-28 Andreas Jaeger + + * manual/string.texi (Copying and Concatenation): Mention that + strndup is a GNU extension. + +1999-06-28 Andreas Jaeger + + * pwd/getpw.c (__getpw): Fix check for error return. + +1999-06-25 Andreas Schwab + + * elf/dl-deps.c (_dl_map_object_deps): When looking for the next + occurence of the aux object start with the current list entry, not + the new one. Adjust tail pointer in the unique list. Explain how + the meaning of the variables changes [PR libc/1168]. + +1999-06-27 Andreas Schwab + + * sysdeps/m68k/fpu/Dist: New file. + +1999-06-26 Andreas Schwab + + * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal + definitions... + * sysdeps/m68k/fpu/mathimpl.h: ... here. New file. + * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h". + * sysdeps/m68k/fpu/e_atan2.c: Likewise. + * sysdeps/m68k/fpu/e_fmod.c: Likewise. + * sysdeps/m68k/fpu/e_pow.c: Likewise. + * sysdeps/m68k/fpu/e_scalb.c: Likewise. + * sysdeps/m68k/fpu/s_ccos.c: Likewise. + * sysdeps/m68k/fpu/s_ccosh.c: Likewise. + * sysdeps/m68k/fpu/s_cexp.c: Likewise. + * sysdeps/m68k/fpu/s_csin.c: Likewise. + * sysdeps/m68k/fpu/s_csinh.c: Likewise. + * sysdeps/m68k/fpu/s_ilogb.c: Likewise. + * sysdeps/m68k/fpu/s_llrint.c: Likewise. + * sysdeps/m68k/fpu/s_llrintf.c: Likewise. + * sysdeps/m68k/fpu/s_llrintl.c: Likewise. + * sysdeps/m68k/fpu/s_modf.c: Likewise. + +1999-06-25 Roland McGrath + + * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h, + hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of + _EXTERN_INLINE, use a macro specific to each file, + _HURD_FD_H_EXTERN_INLINE and the like. + * hurd/Makefile (inline-headers): New variable. + (routines): Remove hurdinline. Add $(inlines). + (inlines): New variable. + ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them. + (generated): Append those here. + * hurd/hurdinline.c: File removed. + + * sysdeps/generic/glob64.c: Include for NULL. + + * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy. + +1999-06-25 Andreas Jaeger + + * nscd/connections.c (nscd_run): Use correct type for optlen variable. + +1999-06-25 Ulrich Drepper + + * string/bits/string2.h (strnlen): Remove extra prototype. + +1999-06-25 Andreas Jaeger + + * manual/filesys.texi (Working on Directory Trees): Fix typos. + Reported by Andries.Brouwer@cwi.nl. + +1999-06-24 Ulrich Drepper + + * nscd/connections.c (handle_request): Use correct type for optlen + variable. + + * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16. + * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r. + +1999-06-24 Thorsten Kukuk + + * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer. + * nscd/pwdcache.c: Likewise. + * nscd/hstcache.c: Likewise. + +1999-06-23 Ulrich Drepper + + * sysdeps/generic/fpu_control.c: Include math.h for __P definition. + + * posix/getopt.h: Include stdio.h. + + * manual/arith.texi: Document restriction of ndigit parameter of + ecvt and friends. + * misc/efgcvt.c: Define NDIGIT_MAX. + (gcvt): Limit precision in sprintf call to NDIGIT_MAX. + Do not dynamically allocate the static buffers. They are small enough. + * misc/efgcvt_r.c: Define NDIGIT_MAX. + (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX. + * misc/qefgcvt.c: Define NDIGIT_MAX. + * misc/qefgcvt_r.c: Likewise. + * misc/tst-efgcvt.c (special): Add test for large ndigit parameter. + +1999-06-23 Zack Weinberg + + * libio/stdio.h: Define stdin, stdout, stderr as macros. + * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}. + These are *pragmas* not macros. + * wcsmbs/wchar.h: Fix comment. + + * grp/grp.h: Use __foo_t_defined convention to typedef things + only once. + * io/sys/stat.h: Likewise. + * libio/stdio.h: Likewise. + * posix/unistd.h: Likewise. + * posix/sys/types.h: Likewise. + * posix/sys/wait.h: Likewise. + * pwd/pwd.h: Likewise. + * signal/signal.h: Likewise. + * sysdeps/generic/stdint.h: Likewise. + * sysdeps/gnu/utmpx.h: Likewise. + * termios/termios.h: Likewise. + +1999-06-23 Ulrich Drepper + + * stdio/fputc.c: Don't define alias if fputc is defined as a + macro. + * stdio/putc.c: Define weak alias here since it is not done + anymore in fputc.c. + +1999-06-23 Andreas Schwab + + * assert/assert.h: Don't produce `defined' as part of macro + expansion. + +1999-06-23 Roland McGrath + + * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with + OFFSET argument of (off_t) -1. + * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with + OFFSET argument of (off_t) -1. + + * sysdeps/mach/hurd/pwrite.c: New file. + * sysdeps/mach/hurd/pread.c: New file. + + * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and + pass it in the RPC instead of always -1. + * hurd/fd-write.c (_hurd_fd_write): Likewise. + * hurd/hurd/fd.h: Update decls. + +1999-06-22 Andreas Jaeger + + * libio/wscanf.c: Include for prototype. + +1999-06-22 Ulrich Drepper + + * manual/io.texi. Fix typos. + * manual/stdio.texi: Likewise. + Patches by Brian Youmans <3diff@gnu.org>. + +1999-06-22 Geoff Keating + + * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high + bits of two words differ. + +1999-06-21 Andreas Schwab + + * libio/Makefile (routines): Add putwchar and putwchar_u. + + * libio/putwchar.c: Include instead of "stdio.h". + * libio/putwchar_u.c: Likewise. Use _IO_stdout instead of + stdout. Fix parameter name. + + * libio/getchar.c: Consistently use _IO_stdin instead of stdin. + * libio/getchar_u.c: Likewise. + + * libio/putchar_u.c: Use _IO_stdout instead of stdout. + +1999-06-21 Andreas Schwab + + * include/features.h (__GNUC_PREREQ): Don't generate `defined' via + macro expansion---it's undefined. Properly parenthesize + substituted parameters. + (__GLIBC_PREREQ): Likewise. + +1999-06-21 Ulrich Drepper + + * Makeconfig (CPPFLAGS): Revert last change. It has too many + weird effects. + + * stdlib/longlong.h: Provide __P definition if not already + defined. + + * include/wchar.h: Use __gnuc_va_list not va_list in prototype. + +1999-06-18 Thorsten Kukuk + + * sysdeps/alpha/atomicity.h: Correct counting of subsections. + +1999-06-17 Andreas Schwab + + * stdlib/tst-strtoll.c: Avoid warning about huge constant. + +1999-06-20 Andreas Schwab + + * stdio-common/vfprintf.c (group_member): Make parameters and + return types pointers to CHAR_T instead of UCHAR_T. + (vfprintf): Change type of work_buffer, workend and string to + CHAR_T pointer/array. + (process_arg, process_string_arg): Adjust/remove casts. Add + missing use of L_ macro. + (printf_unknown): Add missing uses of L_ macro. + +1999-06-20 Andreas Schwab + + * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid + warning. + +1999-06-20 Andreas Schwab + + * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF. Call + _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode. + (__wunderflow): Likewise. + (_IO_switch_to_wget_mode): Likewise. + (_IO_init_wmarker): Likewise. + + * libio/wfileops.c (_IO_wfile_seekoff): Call + _IO_switch_to_wget_mode, not _IO_switch_to_get_mode. + (_IO_wfile_jumps): Fix pbackfail entry. + + * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf + function if the stream is currently unoriented. + +1999-06-19 Zack Weinberg + + * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h. + Wrap all wide stream functions with #ifdef __USE_ISOC9X. Use + __gnuc_va_list in v*w(printf|scanf) prototypes. + +1999-06-20 Andreas Jaeger + + * libio/oldiopopen.c (_IO_old_proc_open): Apply change from + 1999-03-29 to iopopen also here. + Reported by Richard Braakman . + +1999-06-20 Andreas Jaeger + + * include/features.h: Use __GNUC_PREREQ. + * sysdeps/i386/fpu/bits/mathinline.h: Likewise. + +1999-06-19 Andreas Schwab + + * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]: + Change EOF to WEOF and remove cast. + (UNGETC): Remove macro. + (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc. + * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]: + Change ISASCII to isascii and MBRLEN to mbrlen. + (parse_one_spec): Compare info.spec always against wchar_t + values. + * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN. + (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument. + (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_. + +1999-06-19 Andreas Schwab + + * libio/Makefile (shared-only-routines): Add oldiofgetpos, + oldiofgetpos64, oldiofsetpos and oldiofsetpos64. + (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and + oldiofsetpos64 only if doing versioning. + +1999-06-20 Ulrich Drepper + + * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x. + +1999-06-20 Andreas Jaeger + + * libio/libio.h: Fix last patch. + +1999-06-20 Ulrich Drepper + + * libio/libio.h (_IO_putwc): Correct type of first argument. + * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked, + putwc_unlocked, putwchar_unlocked): Likewise. + * libio/fputwc.c: Likewise. + * libio/fputwc_unlocked.c: Likewise. + * libio/putwc.c: Likewise. + * libio/putwc_unlocked.c: Likewise. + * libio/putwchar.c: Likewise. + * libio/putwchar_unlocked.c: Likewise. + +1999-06-19 Roland McGrath + + * sysdeps/gnu/siglist.h: File moved to ... + * sysdeps/generic/siglist.h: ... here. This file should be usable for + any platform, since it just associates the SIG* macros with text names + and descriptions. For any signal macros do not exist on every + platform, we can use #ifdef tests here and still use this single + common file for all platforms. + * sysdeps/generic/siglist.c: Rewrite using . This file + should be usable for all platforms after the binary compatibility + stuff in the current sysdeps/gnu version is no longer required. + * sysdeps/generic/Makefile: Remove rules for generating siglist.c. + * sysdeps/generic/make_siglist.c: File removed. + * sysdeps/mach/hurd/siglist.h: Use #include_next. + * sysdeps/unix/sysv/linux/siglist.h: Likewise. + +1999-06-16 Roland McGrath + + * sysdeps/unix/sysv/linux/siglist.c: Moved to ... + * sysdeps/gnu/siglist.c: ... here. + Use instead of "siglist.h", to ensure sysdeps-search. + Use instead of to determine PTR_SIZE_STR. + * sysdeps/gnu/siglist.h: New file, contents from linux version. + Add entry for SIGLOST protected by #ifdef. + * sysdeps/unix/sysv/linux/siglist.h: Just #include that file, + and define OLD_SIGLIST_SIZE_STR. + * sysdeps/mach/hurd/siglist.h: New file, likewise. + +1999-06-18 Zack Weinberg + + * include/features.h: Define new macros __GNUC_PREREQ and + __GLIBC_PREREQ which can be used to test the version of gcc + and glibc respectively. + + * assert/assert.h: Use __GNUC_PREREQ. + * intl/libintl.h: Likewise. + * math/complex.h: Likewise. + * math/tgmath.h: Likewise. + * misc/sys/cdefs.h: Likewise. + * posix/sys/types.h: Likewise. + * socket/sys/socket.h: Likewise. + * string/bits/string2.h: Likewise. + * sysdeps/alpha/fpu/bits/mathinline.h: Likewise. + * sysdeps/i386/fpu/bits/mathinline.h: Likewise. + +1999-06-18 Zack Weinberg + + * include/libintl.h: Declare _libc_intl_domainname here. + Define _ and N_ here. + * include/libc-symbols.h: Don't include . Don't + define _ and N_. Don't declare _libc_intl_domainname. + * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h. + + * db2/config.h: Don't include sys/stat.h or define + HAVE_ST_BLKSIZE here... + * db2/compat.h: ...do it here. + + * linuxthreads/internals.h: Include bits/libc-tsd.h after all + other headers. + * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P. + * iconv/iconv.c: Include stddef.h for NULL. + * malloc/malloc.h: Include features.h. + * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t. + + * sysdeps/unix/make_errlist.c: Write an "#include " + into the generated file. + * sysdeps/gnu/errlist.awk: Likewise. + * sysdeps/gnu/errlist.c: Rebuilt. + + * assert/assert-perr.c: Include libintl.h. + * assert/assert.c: Likewise. + * elf/dl-open.c: Likewise. + * elf/dlsym.c: Likewise. + * elf/dlvsym.c: Likewise. + * iconv/iconv_prog.c: Likewise. + * inet/rcmd.c: Likewise. + * inet/ruserpass.c: Likewise. + * locale/programs/charset.c: Likewise. + * locale/programs/ld-collate.c: Likewise. + * locale/programs/ld-ctype.c: Likewise. + * locale/programs/ld-messages.c: Likewise. + * locale/programs/ld-monetary.c: Likewise. + * locale/programs/ld-numeric.c: Likewise. + * locale/programs/ld-time.c: Likewise. + * locale/programs/locfile.c: Likewise. + * locale/programs/repertoire.c: Likewise. + * login/programs/database.c: Likewise. + * login/programs/request.c: Likewise. + * malloc/mcheck.c: Likewise. + * misc/error.c: Likewise. + * nis/nis_call.c: Likewise. + * nis/nis_callback.c: Likewise. + * nis/nis_error.c: Likewise. + * nis/nis_local_names.c: Likewise. + * nis/nis_print.c: Likewise. + * nis/nis_print_group_entry.c: Likewise. + * nis/ypclnt.c: Likewise. + * nis/nss_nisplus/nisplus-publickey.c: Likewise. + * nscd/cache.c: Likewise. + * nscd/connections.c: Likewise. + * nscd/grpcache.c: Likewise. + * nscd/hstcache.c: Likewise. + * nscd/nscd_conf.c: Likewise. + * nscd/nscd_stat.c: Likewise. + * nscd/pwdcache.c: Likewise. + * posix/id.c: Likewise. + * resolv/herror.c: Likewise. + * stdio-common/psignal.c: Likewise. + * string/strsignal.c: Likewise. + * sunrpc/auth_unix.c: Likewise. + * sunrpc/clnt_perr.c: Likewise. + * sunrpc/clnt_raw.c: Likewise. + * sunrpc/clnt_tcp.c: Likewise. + * sunrpc/clnt_udp.c: Likewise. + * sunrpc/clnt_unix.c: Likewise. + * sunrpc/get_myaddr.c: Likewise. + * sunrpc/pm_getmaps.c: Likewise. + * sunrpc/pmap_clnt.c: Likewise. + * sunrpc/pmap_rmt.c: Likewise. + * sunrpc/rpc_main.c: Likewise. + * sunrpc/rpc_scan.c: Likewise. + * sunrpc/svc_run.c: Likewise. + * sunrpc/svc_simple.c: Likewise. + * sunrpc/svc_tcp.c: Likewise. + * sunrpc/svc_udp.c: Likewise. + * sunrpc/svc_unix.c: Likewise. + * sunrpc/xdr_rec.c: Likewise. + * sunrpc/xdr_ref.c: Likewise. + * sysdeps/mach/hurd/mips/dl-machine.c: Likewise. + * sysdeps/posix/gai_strerror.c: Likewise. + * sysdeps/unix/siglist.c: Likewise. + * sysdeps/unix/sysv/linux/siglist.c: Likewise. + * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise. + * timezone/zic.c: Likewise. + +1999-06-18 H.J. Lu + + * localedata/Makefile (charmaps): Exclude SCCS. + (locales): Likewise. + (repertoiremaps): Likewise. + +1999-06-18 Ulrich Drepper + + * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h. + * sysdeps/generic/bsd-setjmp.c: Likewise. + + * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments. + + * iconv/gconv_open.c: Include string.h for memset prototype. + + * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro + definitions. + + * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc + assignment to avoid warning on 64bit platforms. + +1999-06-17 Ulrich Drepper + + * libio/libio.h (_IO_codecvt): Change __P ot __PMT. + + * nss/getXXbyYY_r.c: Return error code not -1. + * nss/getXXent_r.c: Likewise. + * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too + small. + * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and + value > 0 for error. + * nscd/nscd_gethst_r.c: Likewise. + * nscd/nscd_getpw_r.c: Likewise. + +1999-06-17 Andreas Jaeger + + * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line + disciplines. + +1999-06-14 Andreas Jaeger + + * nscd/nscd_nischeck.c: Fix typos. + +1999-06-17 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail + always when oact is NULL. + Patch by Christian Meder . + +1999-06-17 Andreas Jaeger + + * math/libm-test.c (jn_test): Adjust delta. + +1999-06-17 Andreas Jaeger + + * libio/vwprintf.c: Include for prototypes. + * libio/wprintf.c: Likewise. + +1999-06-17 Andreas Jaeger + + * elf/dl-load.c (_dl_init_paths): Add one more element to aelem + to not write beyond allocated memory. + Reported by John Reiser , closes PR libc/1167. + +1999-06-17 Ulrich Drepper + + * malloc/mtrace.c: Keep lock while printing output lines. + Patch by carsten.zimmermann@mediaways.net [PR libc/1166]. + +1999-06-16 Ulrich Drepper + + * configure.in: Add warnings about broken code. + + * Versions.def: Add GLIBC_2.2 for libc. + + * iconv/gconv.h: Make header suitable for inclusion in public header + by protecting all names with __. + * iconv/gconv.c: Adapt for symbol name changes. + * iconv/gconv.h: Likewise. + * iconv/gconv_builtin.c: Likewise. + * iconv/gconv_close.c: Likewise. + * iconv/gconv_db.c: Likewise. + * iconv/gconv_dl.c: Likewise. + * iconv/gconv_int.h: Likewise. + * iconv/gconv_open.c: Likewise. + * iconv/gconv_simple.c: Likewise. + * iconv/iconv.c: Likewise. + * iconv/iconv_close.c: Likewise. + * iconv/iconv_open.c: Likewise. + * iconv/loop.c: Likewise. + * iconv/skeleton.c: Likewise. + * iconvdata/8bit-gap.c: Likewise. * iconvdata/8bit-generic.c: Likewise. * iconvdata/ansi_x3.110.c: Likewise. * iconvdata/big5.c: Likewise. + * iconvdata/cns11643.h: Likewise. + * iconvdata/cns11643l1.h: Likewise. * iconvdata/euc-cn.c: Likewise. * iconvdata/euc-jp.c: Likewise. * iconvdata/euc-kr.c: Likewise. * iconvdata/euc-tw.c: Likewise. - * iconvdata/gbk.c: Likewise. - * iconvdata/iso-2022-cn.c: Likewise. + * iconvdata/gb2312.h: Likewise. * iconvdata/iso-2022-jp.c: Likewise. * iconvdata/iso-2022-kr.c: Likewise. * iconvdata/iso646.c: Likewise. + * iconvdata/iso8859-1.c: Likewise. * iconvdata/iso_6937-2.c: Likewise. * iconvdata/iso_6937.c: Likewise. + * iconvdata/jis0201.h: Likewise. + * iconvdata/jis0208.h: Likewise. + * iconvdata/jis0212.h: Likewise. * iconvdata/johab.c: Likewise. + * iconvdata/ksc5601.h: Likewise. * iconvdata/sjis.c: Likewise. * iconvdata/t.61.c: Likewise. * iconvdata/uhc.c: Likewise. - * iconvdata/unicode.c: Likewise. - * iconvdata/utf-16.c: Likewise. + * stdlib/mblen.c: Likewise. + * stdlib/mbtowc.c: Likewise. + * stdlib/wctomb.c: Likewise. + * wcsmbs/btowc.c: Likewise. + * wcsmbs/mbrtowc.c: Likewise. + * wcsmbs/mbsnrtowcs.c: Likewise. + * wcsmbs/mbsrtowcs.c: Likewise. + * wcsmbs/wchar.h: Likewise. + * wcsmbs/wcrtomb.c: Likewise. + * wcsmbs/wcsmbsload.c: Likewise. + * wcsmbs/wcsmbsload.h: Likewise. + * wcsmbs/wcsnrtombs.c: Likewise. + * wcsmbs/wcsrtombs.c: Likewise. + * wcsmbs/wctob.c: Likewise. - * locale/programs/simple-hash.c: Little optimizations. Remove K&R - prototypes. + * include/limits.h (MB_LEN_MAX): Increase to 16. - * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all. - * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made - public. - * malloc/mcheck.h (mcheck_check_all): Declare. + * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct. Define + _G_iconv_t. + * sysdeps/unix/sysv/linux/_G_config.h: Likewise. + * include/wchar.h: Change mbstate_t to __mbstate_t. - * stdio-common/Makefile (tests): Add tst-obprintf. - -2000-03-28 Roland McGrath - - * sysdeps/generic/bits/sigthread.h: Clean up conditionals. - Declare pthread_sigmask. - - * csu/version.c: Add 2000 to copyright years. - Remove Emacs local variables section. - -2000-03-23 Bruno Haible - - * iconv/gconv_int.h (__gconv_transform_ucs2little_internal, - __gconv_transform_internal_ucs2little): Remove declarations. - * iconv/gconv_simple.c (__gconv_transform_ucs2_internal, - __gconv_transform_internal_ucs2): Never need to bswap_16. - (__gconv_transform_ucs2reverse_internal, - __gconv_transform_internal_ucs2reverse): Always need to bswap_16. - -2000-03-27 Roland McGrath - - * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the - obsoleting version not being defined at all, in which case the - result is always true. - - * Makeconfig (preprocess-versions): New canned sequence for running - cpp on shlib-versions and the like. - (soversions.i): Use it. - * Makerules (Versions.all, sysd-versions): Use it to preprocess the - Versions.def and Versions files. - -2000-03-27 Ulrich Drepper - - * stdio-common/tst-obprintf.c (main): Add another check to see - obstack_printf handling all possible beginnings of the block - inside an obstack chunk. - - * locale/programs/localedef.c: Use __malloc_initialize_hook to - install mcheck handler. - - * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory - handling problem. - -2000-03-27 Roland McGrath - - * stdio-common/tmpfile.c: Use macros. - - * include/shlib-compat.h: Conditionalize include - on [HAVE_ELF && DO_VERSIONING]. - -2000-03-27 Ulrich Drepper - - * stdio-common/tst-obprintf.c: New file. - -2000-03-26 Ulrich Drepper - - * libio/genops.c (_IO_default_xsputn): Little optimization. Call - _IO_OVERFLOW directly instead through __overflow. - - * locale/programs/localedef.c (construct_output_path): If path - contains a / compute the end of the directory name correctly. - - * include/features.h: Undef and document __USE_XOPEN2K. - - * malloc/mcheck.c: Implement pedantic checking of all allocated blocks - whenever a function is called. Initiated by calling mcheck_pedantic - instead of mcheck. - * malloc/mcheck.h: Declare mcheck_pedantic. - * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic. - * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck - for now. - -2000-03-26 Roland McGrath - - * dlfcn/dlopen.c: Use macros. - * dlfcn/dlopenold.c: Likewise. - * nss/getXXbyYY_r.c: Likewise. - * nss/getXXent_r.c: Likewise. - * hurd/hurdinit.c: Likewise. - * hurd/compat-20.c: Likewise. - * libio/oldiofopen.c: Likewise. - * libio/oldiofclose.c: Likewise. - * libio/oldiofdopen.c: Likewise. + * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos, + oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u, + getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u, + iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u, + putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf, + vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops, + and iofwide. + (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf. + * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos, + _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws, + fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked, + fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked, + getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar, + putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf, + vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to + GLIBC_2.2 for libc. + * libio/libio.h: Define codecvt struct. Define _IO_wide_data. + Extend _IO_file contain pointer to codecvt, widedata and mode. + (_IO_getwc_unlocked): New macro. + (_IO_putwc_unlocked): New macro. + (_IO_fwide): New macro. + * libio/libioP.h: Add new prototypes and adjust existing declarations. + * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata + buffers based on mode. + (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide + oriented. + (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING + flag to be enough to signal unallocated buffer. For wide oriented + stream don't make it linebuffered. Don't use _IO_do_flush, use + _IO_new_do_write directly. + (_IO_new_file_seekoff): Change return value type to _IO_off64_t. + (_IO_file_seek): Likewise. + * libio/genops.c (_IO_least_marker): Make global. + (__underflow): Orient stream if not already done. + (__uflow): Likewise. + (_IO_default_seekpos): Change to type _IO_off64_t. + (_IO_default_seekoff): Likewise. + (_IO_default_seek): Likewise. + (_IO_no_init): New function. Similar to _IO_init but allows to orient + in initialization. + * libio/iolibio.h: Add prototype for _IO_vswprintf. Change _IO_pos_BAD + to use _IO_off64_t. + * libio/ftello.c: Use _IO_off_t. For now abort when use with wide + char stream. + * libio/ftello64.c: Likewise. + * libio/ioftell.c: Likewise. + * libio/iofopncook.c: Likewise. + * libio/ioseekoff.c: Likewise. + * libio/ioseekpos.c: Likewise. * libio/oldfileops.c: Likewise. - * libio/oldstdfiles.c: Likewise. - * libio/oldiofsetpos.c: Likewise. - * libio/oldiofgetpos.c: Likewise. - * libio/oldiofgetpos64.c: Likewise. - * libio/oldiofsetpos64.c: Likewise. - * libio/oldiopopen.c: Likewise. - * libio/oldpclose.c: Likewise. - * libio/oldtmpfile.c: Likewise. - * libio/freopen.c (freopen): Likewise. - * libio/iofclose.c (_IO_new_fclose): Likewise. - - * sysdeps/mach/sys/reboot.h: Include . - (reboot): Declare it. - - * libio/Makefile (headers): Add bits/stdio-lock.h here. - - * sysdeps/mach/hurd/bits/stdio-lock.h: New file. - - * include/shlib-compat.h: Include unconditionally. - - * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC || - __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98]. - We need this for the sbrk decl, which can be included without Unix98. - -2000-03-20 Richard Henderson - - * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last - argument to yperr2nss is an int, not size_t. - * posix/regex.c (print_partial_compiled_pattern): Cast all - ptrdiff_t to long for printing. - (print_compiled_pattern): Use Z for printing size_t. - * posix/testfnm.c (tests): Avoid trigraphs. - * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): - Use a C comment, not an assembly comment. - - * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use - of __ASSUME_32BITUIDS. - -2000-03-26 Ulrich Drepper - - * libio/iofopncook.c: Remove K&R prototypes. - -2000-03-26 Roland McGrath - - * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit - an initial value of 1024 instead of RLIM_INFINITY. - - * Versions.def (libmachuser, libhurduser): Remove these sections, - since these libraries do not presently use symbol versions. - - * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit - is RLIM_INFINITY, return -1 instead. - -2000-03-24 Andreas Jaeger - - * Makefile (postclean): Added soversions.i. - -2000-03-24 Scott Bambrough - - * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM, - _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT, - and _FPU_IEEE. Change _FPU_RESERVED. - -2000-03-24 Scott Bambrough - - * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file. - -2000-03-24 Roland McGrath - - * sysdeps/posix/getaddrinfo.c: Include for if_nametoindex. - (gaih_inet): Remove unused duplicate variable. - - * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN. - Don't use __libc_sa_len, which only exists for Linux. Just handle - AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the - only flavors supported by this function anyway. - -2000-03-24 Geoff Clare - - * stdlib/strfmon.c: Corrected problems with missing signs and - missing or extra spaces; allow for sign strings longer than - one character; add padding to ensure positive and negative - formats are aligned when a left precision is used. - -2000-03-26 Ulrich Drepper - - * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4. - Patch by John Mizel . - -2000-03-25 Ulrich Drepper - - * manual/install.texi: Remove references to crypt add-on. - -2000-03-25 Roland McGrath - - * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical - section while taking the _hurd_rlimit_lock. - * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise. - -2000-03-24 Roland McGrath - - * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define - using $(LN_S). - - * sysdeps/mach/hurd/if_index.c: New file. - - * sysdeps/unix/sysv/linux/net/if.h: Moved to ... - * sysdeps/gnu/net/if.h: here. - (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ... - * sysdeps/mach/hurd/net/if.h: ... here; this file now removed. - * sysdeps/generic/net/if.h: New file. Declares just the standard - functions and `struct if_nameindex' type. - * socket/Makefile (headers): Add net/if.h here. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here. - * sysdeps/mach/hurd/Dist: Remove it here. - * sysdeps/unix/sysv/linux/Dist: And here. - * sysdeps/generic/if_index.c: Include . - -2000-03-24 Andreas Jaeger - - * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to - access relocated entries in l_info. - (elf_machine_got_rel): Likewise. - (elf_machine_runtime_setup): Likewise. - * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise. - (elf_machine_runtime_setup): Likewise. - (__dl_runtime_resolve): Likewise. - -2000-03-23 Ulrich Drepper - - * resolv/netdb.h (SCOPE_DELIMITER): New definitions. - * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id - according to RFC 2553. - * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft. - * inet/getnameinfo.c: Likewise. - Patches by YOSHIFUJI Hideaki . - -2000-03-23 Bruno Haible - - * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop): - Remove no-op pointer increment. - -2000-03-23 Andreas Jaeger - - * stdio-common/tst-cookie.c (cookieseek): Change prototype to - follow change for libio.h from 2000-03-10. - -2000-03-23 Andreas Jaeger - - * elf/dl-addr.c: Adjust include paths for ldsodefs location - change. - * elf/dl-debug.c: Likewise. - * elf/dl-deps.c: Likewise. - * elf/dl-error.c: Likewise. - * elf/dl-fini.c: Likewise. - * elf/dl-init.c: Likewise. - * elf/dl-load.c: Likewise. - * elf/dl-lookup.c: Likewise. - * elf/dl-minimal.c: Likewise. - * elf/dl-object.c: Likewise. - * elf/dl-open.c: Likewise. - * elf/dl-preinit.c: Likewise. - * elf/dl-profile.c: Likewise. - * elf/dl-profstub.c: Likewise. - * elf/dl-reloc.c: Likewise. - * elf/dl-runtime.c: Likewise. - * elf/dl-support.c: Likewise. - * elf/dl-symbol.c: Likewise. - * elf/dl-version.c: Likewise. - * elf/rtld.c: Likewise. - * elf/sprof.c: Likewise. - * sysdeps/generic/dl-cache.c: Likewise. - * sysdeps/generic/dl-origin.c: Likewise. - * sysdeps/generic/dl-sysdep.c: Likewise. - * sysdeps/generic/elf/backtracesyms.c: Likewise. - * sysdeps/generic/elf/backtracesymsfd.c: Likewise. - * sysdeps/generic/libc-start.c: Likewise. - * sysdeps/mach/hurd/dl-sysdep.c: Likewise. - * sysdeps/powerpc/dl-machine.c: Likewise. - * sysdeps/powerpc/elf/libc-start.c: Likewise. - * sysdeps/sparc/sparc32/dl-machine.h: Likewise. - * sysdeps/sparc/sparc64/dl-machine.h: Likewise. - * sysdeps/unix/sysv/linux/dl-origin.c: Likewise. - - * elf/ldsodefs.h: Move file to ... - * sysdeps/generic/ldsodefs.h: ... here. - - * sysdeps/generic/ldsodefs.h: Add definition for D_PTR. - - * sysdeps/mips/elf/ldsodefs.h: New file. - - * elf/dl-version.c (match_symbol): Use D_PTR to access relocated - entries in l_info. - (_dl_check_map_versions): Likewise. - * elf/dl-reloc.c (_dl_relocate_object): Likewise. - * elf/dl-load.c (_dl_init_paths): Likewise. - (_dl_map_object): Likewise. - * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise. - (elf_get_dynamic_info): Likewise. - * elf/do-lookup.h (FCT): Likewise. - * elf/do-rel.h (elf_dynamic_do_rel): Likewise. - * elf/dl-deps.c (_dl_map_object_deps): Likewise. - * elf/dl-addr.c (_dl_addr): Likewise. - * elf/dl-runtime.c (profile_fixup): Likewise. - (fixup): Likewise. - * elf/dl-init.c (_dl_init_next): Likewise. - * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise. - * sysdeps/unix/sysv/linux/i386/dl-librecon.h - (DISTINGUISH_LIB_VERSIONS): Likewise. - * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise. - (elf_machine_rel): Likewise. - - * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info - for writable dynamic section. - -2000-03-22 Ulrich Drepper - - * inet/getnameinfo.c (getnameinfo): Check that addrlen value is - large enough. Patch by YOSHIFUJI Hideaki . - -2000-03-22 Andreas Jaeger - - * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags - from latest Linux kernel. - -2000-03-21 Andreas Jaeger - - * Versions.def: Add version 2.1.4. - -2000-03-21 Ulrich Drepper - - * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition. - * libio/oldiofopen.c: Likewise. - * libio/oldiofclose.c: Likewise. - * sysdeps/unix/sysv/linux/errlist.c: Likewise. - -2000-03-22 Roland McGrath - - * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument, - indicating the first version set to obsolete the conditionalized code. - (compat_symbol): New macro. - * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's - rhs be the ABI_* macro for the subsuming version. Assign increasing - integer values to the ABI_* macros for supported versions. - * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use - compat_symbol macro. - -2000-03-21 Ulrich Drepper - - * nscd/connections.c (nscd_run): Pretty print. - * elf/dl-runtime.c: Include stdlib.h for alloca prototype. - - * manual/charset.texi: Fix typos. Rephrase. - * manual/process.texi: Likewise. - * manual/signal.texi: Likewise. - Patches by Mike Coleman . - - * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define - versions. - * libio/iofdopen.c: Likewise. - * libio/iofgetpos.c: Likewise. + * libio/iofgetpos.c: Store state of conversion if necessary. * libio/iofgetpos64.c: Likewise. - * libio/iofopen.c: Likewise. - * libio/iofsetpos.c: Likewise. + * libio/iofsetpos.c: Restore conversion state if necessary. * libio/iofsetpos64.c: Likewise. + * libio/iofdopen.c: Initialize so that stream can be wide oriented. + * libio/iofopen.c: Likewise. + * libio/iofopen64.c: Likewise. * libio/iopopen.c: Likewise. - * libio/oldiofopen.c: Likewise. - * libio/pclose.c: Likewise. - * sysdeps/gnu/siglist.c: Likewise. - * sysdeps/unix/sysv/linux/errlist.c: Likewise. + * libio/iovdprintf.c: Likewise. + * libio/iovsprintf.c: Likewise. + * libio/iovsscanf.c: Likewise. + * libio/memstream.c: Likewise. + * libio/obprintf.c: Likewise. + * libio/iofputs.c: Orient stream if not already happened. + * libio/iofputs_u.c: Likewise. + * libio/iofwrite.c: Likewise. + * libio/iofwrite_u.c: Likewise. + * libio/ioputs.c: Likewise. + * libio/iosetbuffer.c: Handle not yet oriented stream. + * libio/iosetvbuf.c: Likewise. + * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call. + * libio/stdfiles.c: Likewise. + * libio/strops.c (_IO_str_overflow): Correctly free buffer after + failed allocation. + (_IO_str_seekoff): Use _IO_off64_t. + * libio/vasprintf.c: Pre-orient stream. + * libio/vsnprintf.c: Likewise. + * libio/fputwc.c: New file. + * libio/fputwc_u.c: New file. + * libio/fwprintf.c: New file. + * libio/fwscanf.c: New file. + * libio/getwc.c: New file. + * libio/getwc_u.c: New file. + * libio/getwchar.c: New file. + * libio/getwchar_u.c: New file. + * libio/iofgetws.c: New file. + * libio/iofgetws_u.c: New file. + * libio/iofputws.c: New file. + * libio/iofputws_u.c: New file. + * libio/iofwide.c: New file. + * libio/iogetwline.c: New file. + * libio/ioungetwc.c: New file. + * libio/iovswscanf.c: New file. + * libio/iowpadn.c: New file. + * libio/oldiofgetpos.c: New file. + * libio/oldiofgetpos64.c: New file. + * libio/oldiofsetpos.c: New file. + * libio/oldiofsetpos64.c: New file. + * libio/putwc.c: New file. + * libio/putwc_u.c: New file. + * libio/putwchar.c: New file. + * libio/putwchar_u.c: New file. + * libio/swprintf.c: New file. + * libio/swscanf.c: New file. + * libio/tst_swprintf.c: New file. + * libio/tst_swscanf.c: New file. + * libio/tst_wprintf.c: New file. + * libio/tst_wscanf.c: New file. + * libio/tst_wscanf.input: New file. + * libio/vswprintf.c: New file. + * libio/vwprintf.c: New file. + * libio/vwscanf.c: New file. + * libio/wfiledoalloc.c: New file. + * libio/wfileops.c: New file. + * libio/wgenops.c: New file. + * libio/wprintf.c: New file. + * libio/wscanf.c: New file. + * libio/wstrops.c: New file. + * stdio-common/Makefile (routines): Add _itowa, itowa-digits, + vfwprintf, and vfwscanf. + * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and + make global. + * stdio-common/_itowa.c: New file. + * stdio-common/_itowa.h: New file. + * stdio-common/itoa-digits.c: Minimal optimization. + * stdio-common/itowa-digits.c: New file. + * stdio-common/printf-parse.h: Allow use in wide character context. + * stdio-common/printf-prs.c: Define ISASCII and MBRLEN. + * stdio-common/printf.h (printf_info): Add wide bit. + * stdio-common/printf_fp.c: Determine from wide bit whether stream + is wide oriented or not. + * stdio-common/printf_size.c: Likewise. + * sysdeps/generic/printf_fphex.c: Likewise. + * stdlib/strfmon.c: Call __printf_fp with wide bit cleared. + * stdio-common/vfprintf.c: Rewrite to allow use in wide character + context. + * stdio-common/vfscand.c: Likewise. + * stdio-common/vfwprintf.c: New file. + * stdio-common/vfwscanf.c: New file. + + * time/Makefile (routines): Add wcsftime. + (tests): Add tst_wcsftime. + * time/Versions: Add wcsftime to GLIBC_2.2 for libc. + * time/strftime.c: Make usable as wcsftime. + * time/wcsftime.c: New file. + * time/tst_wcsftime.c: New file. + + * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul. + * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc. + * wcsmbs/wcschrnul.c: New file. + * wcsmbs/wmemcpy.c: New file. + * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias. + * wcsmbs/wmemmove.c: Likewise for wmemmove. + + * manual/stdio.texi: Document is_char and wide element if printf_info. + + * manual/time.texi: Document wcsftime. + + * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy, + __wmemmove, __wcschrnul, and __vfwscanf. + + * locale/langinfo.h: Add new LC_TIME entries for wchar_t data. + * locale/C-time.c: Adapt for above change. + * locale/categories.def: Likewise. + * locale/localeinfo.h: Likewise. + * localedata/Makefile: Don't run tests for now. + + * manual/errno.texi: Fix typos. + * manual/memory.texi: Likewise. + * manual/ctype.texi: Likewise. + Patches by Brian Youmans <3diff@gnu.org>. + +1999-06-16 Andreas Jaeger + + * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added. + +1999-06-14 Andreas Schwab + + * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct + word order. + * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file. + * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file. + +1999-06-15 Andreas Schwab + + * db2/db/db.c: Restore __nss_db_open alias. + * db2/db_int.h: Use instead of "db.h" to find header in + include. + * db2/os/os_rw.c (__os_write): Maintain const correctness. + * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'. + +1999-06-15 Ulrich Drepper + + * stdio-common/printf-parse.h (parse_one_spec): Don't set + is_longlong if not necessary. + +1999-06-15 H.J. Lu + + * Make-dist (sysdep_dirs): Exclude SCCS. + * MakeTAGS (sysdep_dirs): Likewise. + +1999-06-15 Ulrich Drepper + + * posix/regex.c (re_error_msgid): Remove extra commas. + +1999-06-14 Geoff Keating + + * stdlib/tst-strtoll.c: New file. + * stdlib/Makefile (tests): Add tst-strtoll.c + * stdlib/strtol.c: It is not generally true that if + (unsigned)a*(unsigned)b overflows, then the result is + less than 'a'. + +1999-06-14 Thorsten Kukuk + + * nscd/connections.c (handle_request): Only root is allowed to + send GETSTAT request in non secure mode. + * nscd/nscd.c: Print error message if other then root try to + use getstat. + +1999-06-15 Andreas Jaeger + + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl. + +1999-06-15 Andreas Jaeger + + * manual/time.texi (Limits on Resources): Describe RLIMIT_AS. + Closes PR libc/1164, reported by sascha@schumann.2ns.de. + +1999-06-13 Andreas Schwab + + * sysdeps/generic/strchr.c: Include and use reg_char + for character to search, to help the compiler. + * sysdeps/generic/strchrnul.c: Likewise. + * sysdeps/generic/memchr.c: Likewise. + * sysdeps/generic/memccpy.c: Likewise. + * sysdeps/generic/rawmemchr.c: Likewise. Fix comment. + +1999-06-13 Andreas Schwab + + * sysdeps/m68k/memchr.S: New file. + * sysdeps/m68k/rawmemchr.S: New file. + * sysdeps/m68k/strchr.S: New file. + * sysdeps/m68k/strchrnul.S: New file. + +1999-06-13 Geoff Keating + + * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile'; + add `memory' clobber; optimise for constant `val'. + (atomic_add): Likewise. + (test_and_set): Remove `volatile'; add `memory' clobber; be more + like the original `test_and_set'. + (compare_and_swap): Remove `volatile'; add `memory' clobber; + optimise for constant `oldval'. + (always_swap): Remove `volatile'; add `memory' clobber. + +1999-06-13 Andreas Jaeger + + * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline + functions for gcc <= 2.7.x. + +1999-06-13 Roland McGrath + + * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last + change. + +1999-06-13 Ulrich Drepper + + * db2/Makefile (distribute): Remove files which do not exist + anymore. + + * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit + definitions to calm down gcc. + + * db2/db.h: Update from db 2.7.5. + * db2/db_185.h: Likewise. + * db2/db_int.h: Likewise. + * db2/btree/bt_compare.c: Likewise. + * db2/btree/bt_conv.c: Likewise. + * db2/btree/bt_curadj.c: Likewise. + * db2/btree/bt_cursor.c: Likewise. + * db2/btree/bt_delete.c: Likewise. + * db2/btree/bt_open.c: Likewise. + * db2/btree/bt_page.c: Likewise. + * db2/btree/bt_put.c: Likewise. + * db2/btree/bt_rec.c: Likewise. + * db2/btree/bt_recno.c: Likewise. + * db2/btree/bt_rsearch.c: Likewise. + * db2/btree/bt_search.c: Likewise. + * db2/btree/bt_split.c: Likewise. + * db2/btree/bt_stat.c: Likewise. + * db2/btree/btree_auto.c: Likewise. + * db2/common/db_appinit.c: Likewise. + * db2/common/db_apprec.c: Likewise. + * db2/common/db_err.c: Likewise. + * db2/common/db_region.c: Likewise. + * db2/common/db_salloc.c: Likewise. + * db2/db/db.c: Likewise. + * db2/db/db.src: Likewise. + * db2/db/db_am.c: Likewise. + * db2/db/db_auto.c: Likewise. + * db2/db/db_dispatch.c: Likewise. + * db2/db/db_dup.c: Likewise. + * db2/db/db_iface.c: Likewise. + * db2/db/db_join.c: Likewise. + * db2/db/db_overflow.c: Likewise. + * db2/db/db_pr.c: Likewise. + * db2/db/db_rec.c: Likewise. + * db2/db/db_ret.c: Likewise. + * db2/db185/db185.c: Likewise. + * db2/dbm/dbm.c: Likewise. + * db2/hash/hash.c: Likewise. + * db2/hash/hash_auto.c: Likewise. + * db2/hash/hash_dup.c: Likewise. + * db2/hash/hash_page.c: Likewise. + * db2/hash/hash_rec.c: Likewise. + * db2/hash/hash_stat.c: Likewise. + * db2/include/btree.h: Likewise. + * db2/include/btree_ext.h: Likewise. + * db2/include/clib_ext.h: Likewise. + * db2/include/common_ext.h: Likewise. + * db2/include/db_am.h: Likewise. + * db2/include/db_auto.h: Likewise. + * db2/include/db_cxx.h: Likewise. + * db2/include/db_ext.h: Likewise. + * db2/include/db_join.h: Likewise. + * db2/include/db_page.h: Likewise. + * db2/include/hash.h: Likewise. + * db2/include/hash_ext.h: Likewise. + * db2/include/lock.h: Likewise. + * db2/include/lock_ext.h: Likewise. + * db2/include/log.h: Likewise. + * db2/include/log_ext.h: Likewise. + * db2/include/mp.h: Likewise. + * db2/include/mp_ext.h: Likewise. + * db2/include/os.h: Likewise. + * db2/include/os_ext.h: Likewise. + * db2/include/os_func.h: Likewise. + * db2/include/txn.h: Likewise. + * db2/include/txn_auto.h: Likewise. + * db2/include/txn_ext.h: Likewise. + * db2/include/xa.h: Likewise. + * db2/include/xa_ext.h: Likewise. + * db2/lock/lock.c: Likewise. + * db2/lock/lock_conflict.c: Likewise. + * db2/lock/lock_deadlock.c: Likewise. + * db2/lock/lock_region.c: Likewise. + * db2/lock/lock_util.c: Likewise. + * db2/log/log.c: Likewise. + * db2/log/log_archive.c: Likewise. + * db2/log/log_auto.c: Likewise. + * db2/log/log_findckp.c: Likewise. + * db2/log/log_get.c: Likewise. + * db2/log/log_put.c: Likewise. + * db2/log/log_rec.c: Likewise. + * db2/log/log_register.c: Likewise. + * db2/mp/mp_bh.c: Likewise. + * db2/mp/mp_fget.c: Likewise. + * db2/mp/mp_fopen.c: Likewise. + * db2/mp/mp_fput.c: Likewise. + * db2/mp/mp_fset.c: Likewise. + * db2/mp/mp_open.c: Likewise. + * db2/mp/mp_pr.c: Likewise. + * db2/mp/mp_region.c: Likewise. + * db2/mp/mp_sync.c: Likewise. + * db2/mutex/mutex.c: Likewise. + * db2/mutex/uts4_cc.s: Likewise. + * db2/os/os_abs.c: Likewise. + * db2/os/os_alloc.c: Likewise. + * db2/os/os_config.c: Likewise. + * db2/os/os_dir.c: Likewise. + * db2/os/os_fid.c: Likewise. + * db2/os/os_fsync.c: Likewise. + * db2/os/os_map.c: Likewise. + * db2/os/os_oflags.c: Likewise. + * db2/os/os_open.c: Likewise. + * db2/os/os_rw.c: Likewise. + * db2/os/os_seek.c: Likewise. + * db2/os/os_sleep.c: Likewise. + * db2/os/os_spin.c: Likewise. + * db2/os/os_stat.c: Likewise. + * db2/os/os_tmpdir.c: Likewise. + * db2/os/os_unlink.c: Likewise. + * db2/progs/db_archive/db_archive.c: Likewise. + * db2/progs/db_checkpoint/db_checkpoint.c: Likewise. + * db2/progs/db_deadlock/db_deadlock.c: Likewise. + * db2/progs/db_dump/db_dump.c: Likewise. + * db2/progs/db_load/db_load.c: Likewise. + * db2/progs/db_printlog/README: Likewise. + * db2/progs/db_printlog/commit.awk: Likewise. + * db2/progs/db_printlog/count.awk: Likewise. + * db2/progs/db_printlog/db_printlog.c: Likewise. + * db2/progs/db_printlog/pgno.awk: Likewise. + * db2/progs/db_printlog/range.awk: Likewise. + * db2/progs/db_printlog/status.awk: Likewise. + * db2/progs/db_printlog/txn.awk: Likewise. + * db2/progs/db_recover/db_recover.c: Likewise. + * db2/progs/db_stat/db_stat.c: Likewise. + * db2/txn/txn.c: Likewise. + * db2/txn/txn.src: Likewise. + * db2/txn/txn_auto.c: Likewise. + * db2/txn/txn_rec.c: Likewise. + * db2/xa/xa.c: Likewise. + * db2/xa/xa_db.c: Likewise. + * db2/xa/xa_map.c: Likewise. + + * db2/btree/bt_close.c: Removed. + * db2/db/db_thread.c: Likewise. + * db2/hash/hash_debug.c: Likewise. + * db2/include/db.h.src: Likewise. + * db2/include/db_int.h.src: Likewise. + * db2/include/os_jump.h: Likewise. + * db2/mutex/alpha.dec: Likewise. + * db2/mutex/alpha.gcc: Likewise. + * db2/mutex/parisc.hp: Likewise. + * db2/mutex/uts4.cc.s: Likewise. + + * db2/Makefile: Add new routines, remove old for 2.7.5. + * db2/Versions: Add internal function names for the helper programs. + * db2/makedb.c: Update for new cursor callback. + * Versions.def: Define versions for libdb. + +1999-06-13 Thorsten Kukuk + + * nscd/connections.c (nscd_run): Get user ID for all non-db services. + * nscd/Makefile (others, install-sbin): Add nscd_nischeck. + * nscd/nscd_nischeck.c: New file. + * nscd/nscd.init: Enable use of nscd_nischeck and secure tables. + +1999-06-13 Andreas Jaeger + + * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing + MSG_* flags from Linux 2.2.9. + +1999-06-12 Mark Kettenis + + * Makeconfig (static-start-installed-name): Set to + $(start-installed-name) if not defined. + (+link-static): Use $(static-start-installed-name) instead of + $(start-installed-name). + * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name): + Set to crt0.o. + +1999-06-12 Mark Kettenis + + * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when + inserting a send right into the child instead of unconditionally + copying the send right. + +1999-06-12 Ulrich Drepper + + * locale/lc-time.c: Add free_mem function to free if necessary + statically allocated memory. + +1999-06-10 Jakub Jelinek + + * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent + bias from the raw exponent. + +1999-06-11 Ulrich Drepper + + * inet/arpa/tftp.h: Move attribute declaration in right position. + +1999-06-11 Thorsten Kukuk + + * nscd/nscd.c: Add -S options for separate caching of data for + every user. So one user couldn't see the data another user + has gotten with his credentials. + * nscd/nscd.h: Add new prototypes. + * nscd/cache.c: Compare owner of cache entry if in secure mode. + * nscd/connections.c: Check on shutdown if caller really was root. + In secure mode get uid of caller. + * nscd/grpcache.c: Add support for new secure group mode. + * nscd/hstcache.c: Add support for new secure hosts mode. + * nscd/pwdcache.c: Add support for new secure passwd mode. + +1999-06-11 Ulrich Drepper + + * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage + of user-provided buffer. + +1999-06-11 Mark Kettenis + + * hurd/hurdsock.c (max_domain): Initialize to `-1'. + (_hurd_socket_server): Fix off-by-one error in setting `max_domain'. + +1999-06-10 Ulrich Drepper + + * stdio-common/printf-parse.h (parse_one_spec): Add support for a + and A format. + + * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for + returning after last entry. + * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise. + +1999-06-09 Ulrich Drepper + + * misc/sysexits.h: Remove advertising clause of copyright. + * resolv/getnetnamadr.c: Likewise. + * sysdeps/vax/bcopy.s: Likewise. + * sysdeps/vax/bzero.s: Likewise. + * sysdeps/vax/ffs.s: Likewise. + * sysdeps/vax/memchr.s: Likewise. + * sysdeps/vax/memcmp.s: Likewise. + * sysdeps/vax/memmove.s: Likewise. + * sysdeps/vax/memset.s: Likewise. + * sysdeps/vax/strcat.s: Likewise. + * sysdeps/vax/strchr.s: Likewise. + * sysdeps/vax/strcmp.s: Likewise. + * sysdeps/vax/strcpy.s: Likewise. + * sysdeps/vax/strcspn.s: Likewise. + * sysdeps/vax/strlen.s: Likewise. + * sysdeps/vax/strncat.s: Likewise. + * sysdeps/vax/strncmp.s: Likewise. + * sysdeps/vax/strncpy.s: Likewise. + * sysdeps/vax/strpbrk.s: Likewise. + * sysdeps/vax/strrchr.s: Likewise. + * sysdeps/vax/strsep.s: Likewise. + * sysdeps/vax/strspn.s: Likewise. + * sysdeps/vax/strstr.s: Likewise. + + * libio/iofopncook.c: Adjust for renaming of structure elements. + * libio/libio.h: Define cookie functions with all the names. + + * pwd/fgetpwent_r.c: Set errno in the correct way. + * shadow/fgetspent_r.c: Likewise. + * pwd/fgetpwent.c: Handle long lines correctly. Little + optimizations. Free static buffer when debugging memory handling. + * shadow/fgetspent.c: Likewise. + + * grp/fgetgrent.c: Little optimization in loop. + +1999-06-09 Andreas Jaeger + + * grp/tst_fgetgrent.c (write_group): Fix generation of long line + in a different way. + +1999-06-09 Jakub Jelinek + + * stdlib/longlong.h: gas changed sethi handling when without + %hi(). Fix assembly. + * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow + port specific cache id checks. + * sysdeps/generic/dl-cache.h: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file. + +1999-06-08 Ulrich Drepper + + * gmon/gmon.c: Remove advertising clause of copyright. + * gmon/mcount.c: Likewise. + * gmon/sys/gmon.h: Likewise. + * inet/arpa/ftp.h: Likewise. + * inet/arpa/telnet.h: Likewise. + * inet/arpa/tftp.h: Likewise. + * inet/inet_lnaof.c: Likewise. + * inet/inet_mkadr.c: Likewise. + * inet/inet_net.c: Likewise. + * inet/inet_netof.c: Likewise. + * inet/protocols/routed.h: Likewise. + * inet/protocols/rwhod.h: Likewise. + * inet/protocols/talkd.h: Likewise. + * inet/protocols/timed.h: Likewise. + * inet/rcmd.c: Likewise. + * inet/rexec.c: Likewise. + * inet/ruserpass.c: Likewise. + * io/fts.c: Likewise. + * io/fts.h: Likewise. + * login/login_tty.c: Likewise. + * misc/fstab.h: Likewise. + * misc/getttyent.c: Likewise. + * misc/getusershell.c: Likewise. + * misc/sys/queue.h: Likewise. + * misc/sys/syslog.h: Likewise. + * misc/syslog.c: Likewise. + * misc/ttyent.h: Likewise. + * misc/ttyslot.c: Likewise. + * resolv/arpa/nameser.h: Likewise. + * resolv/gethnamaddr.c: Likewise. + * resolv/herror.c: Likewise. + * resolv/inet_addr.c: Likewise. + * resolv/mapv4v6addr.h: Likewise. + * resolv/mapv4v6hostent.h: Likewise. + * resolv/nss_dns/dns-host.c: Likewise. + * resolv/nss_dns/dns-network.c: Likewise. + * resolv/res_comp.c: Likewise. + * resolv/res_data.c: Likewise. + * resolv/res_debug.c: Likewise. + * resolv/res_init.c: Likewise. + * resolv/res_mkquery.c: Likewise. + * resolv/res_query.c: Likewise. + * resolv/res_send.c: Likewise. + * resolv/resolv.h: Likewise. + * sysdeps/generic/div.c: Likewise. + * sysdeps/generic/netinet/ip.h: Likewise. + * sysdeps/generic/netinet/tcp.h: Likewise. + * sysdeps/generic/paths.h: Likewise. + * sysdeps/generic/prof-freq.c: Likewise. + * sysdeps/generic/sys/ttydefaults.h: Likewise. + * sysdeps/gnu/netinet/ip_icmp.h: Likewise. + * sysdeps/gnu/netinet/tcp.h: Likewise. + * sysdeps/ieee754/support.c: Likewise. + * sysdeps/mach/hurd/sys/param.h: Likewise. + * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise. + * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise. + * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise. + * sysdeps/unix/bsd/sys/reboot.h: Likewise. + * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise. + * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise. + * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise. + * sysdeps/unix/sysv/linux/paths.h: Likewise. + * sysdeps/unix/sysv/linux/sys/quota.h: Likewise. + * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise. + * sysdeps/vax/DEFS.h: Likewise. + * termios/sys/ttychars.h: Likewise. + * misc/daemon.c: Likewise. Call fork. + + * grp/fgetgrent.c (buffer): Make file local variable. + (free_mem): New function. Call for malloc debugging. + + * grp/tst_fgetgrent.c (write_users): Correctly generate long line. + +1999-06-08 Andreas Jaeger + + * grp/Makefile: Add rules for tst_fgetgrent. + + * grp/tst_fgetgrent.c: Rewritten to read only one file. + + * grp/tst_fgetgrent.sh: New file. + +1999-06-08 Ulrich Drepper + + * grp/Makefile (tests): Add tst_fgetgrent. + * grp/tst_fgetgrent.c: New file. + Patches by Andreas Jaeger . + +1999-06-07 Roland McGrath + + * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to + be POSIX compliant. Prior definition was broken for Hurd. + Reported by Mark Kettenis . + +1999-06-08 Ulrich Drepper + + * ctype/ctype.h: Protect __tobody code by __extension__. + +1999-06-07 Ulrich Drepper + + * grp/fgetgrent.c (fgetgrent): Remember position of stream before + reading and reset in case the buffer was too small. + + * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case + of EOF. - * include/shlib-compat.h (versioned_symbol): Give preprocessor the - chance to expand VERSION_##lib##_##version. +1999-06-07 Andreas Jaeger - * libio/fileops.c: Use new macros from shlib-compat.h to define - versions. - * libio/iofclose.c: Likewise. - * libio/oldiofclose.c: Likewise. - Patch by Roland McGrath . + * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix + another SIOGIFNAME typo. -2000-03-21 Jakub Jelinek +1999-06-07 Ulrich Drepper - * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace. - Lay out struct sigcontext according to what really gets passed on - the stack. - * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h. - (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define. - (prgregset_t, prfpregset_t): Define to elf_* types. - * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA): - Define to correct value. - * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct - sigcontext. - * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise. - -2000-03-21 Roland McGrath - - * scripts/firstversions.awk: Allow multiple version sets in the - "earliest version" specification, meaning that version sets in the - gaps between listed versions should be folded into the earliest later - version that is explicitly listed. - * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say - we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets. - -2000-03-21 Ulrich Drepper + * elf/dl-lookup.c: Remove duplicated assert.h inclusion. - * iconv/gconv_builtin.c: Include . - * iconv/gconv_builtin.h: Add UCS-BE aliases. - Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE - according to current platform. - * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal, - __gconv_transform_internal_ucs2reverse, and - __gconv_transform_internal_ucs4le. - * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le, - __gconv_transform_ucs2reverse_internal and - __gconv_transform_internal_ucs2reverse. - * iconvdata/Makefile (modules): Add UNICODE. - (distribute): Add unicode.c. - * iconvdata/gconv-modules: Add definitions for UNICODE module. - * iconvdata/unicode.c: New file. + * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little + bit. - * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to - determine byte order of input and convert accordingly. +1999-06-05 Andreas Schwab - * iconvdata/utf-16.c (gconv_init): Fix typo. + * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore + the precision if the mantissa is zero. -2000-03-20 Ulrich Drepper +1999-06-05 Andreas Schwab - * iconvdata/gconv-modules: Fix typo. + * manual/lang.texi (Floating Point Parameters): GCC already + supports long double for a long time. - * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one - more messages. +1999-06-05 Andreas Schwab - * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3. + * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test, + yn_test): Increase some epsilons. -2000-03-16 Thorsten Kukuk +1999-06-07 Ulrich Drepper - * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New. + * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed + parameters. -2000-03-20 Ulrich Drepper +1999-06-06 Ulrich Drepper - * misc/Makefile (routines): Add mincore. + * sysdeps/unix/sysv/linux/kernel-features.h: Define + __ASSUME_SIOCGIFNAME for kernel >= 2.1.50. + * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME -> + SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME. -2000-03-20 Andreas Jaeger + * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions. + * sysdeps/libm-ieee754/w_j0f.c: Likewise. + * sysdeps/libm-ieee754/w_j0l.c: Likewise. + * sysdeps/libm-ieee754/w_j1.c: Likewise. + * sysdeps/libm-ieee754/w_j1f.c: Likewise. + * sysdeps/libm-ieee754/w_j1l.c: Likewise. + * sysdeps/libm-ieee754/w_jn.c: Likewise. + * sysdeps/libm-ieee754/w_jnf.c: Likewise. + * sysdeps/libm-ieee754/w_jnl.c: Likewise. - * sysdeps/generic/mincore.c: New stub file. + * stdio-common/vfprintf.c: Correct typos. - * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags - from latest Linux kernel. + * math/libm-test.c (jn_test): Adjust delta. + (y1_test): Likewise. + (yn_test): Likewise. -2000-03-20 Ulrich Drepper + * elf/do-lookup.h: It should never happen that if we expect a versioned + symbol from a file the file has no version table. This should have + been checked in dl-version.c. + * elf/dl-lookup.c: Include assert.h. - * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of - _SC_GETPW_R_SIZE_MAX. + * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer + function handling. -2000-03-20 Richard Henderson + * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define. - * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase - in GLIBC_2.1.4. +1999-06-06 Andi Kleen -2000-03-20 Richard Henderson + * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set + SA_RESTORER flag. - * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead - of arithmetic instructions. +1999-06-04 Andreas Jaeger - * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing - with the fpcr. Protect from INV exception. - * sysdeps/alpha/fpu/s_ceilf.c: Likewise. - * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception. - * sysdeps/alpha/fpu/s_floorf.c: Likewise. + * math/libm-test.c (yn_test): Change one delta. + (jn_test): Likewise. + (j1_test): Likewise. + (y0_test): Likewise. - * sysdeps/alpha/fpu/s_copysign.c: New. - * sysdeps/alpha/fpu/s_copysignf.c: New. - * sysdeps/alpha/fpu/s_fabs.c: New. - * sysdeps/alpha/fpu/s_fabsf.c: New. - * sysdeps/alpha/fpu/s_rint.c: New. - * sysdeps/alpha/fpu/s_rintf.c: New. +1999-06-06 Ulrich Drepper - * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants. + * malloc/malloc.c: Introduce local variable __libc_getpagesize to + avoid multiple calls to getpagesize() which might be a syscall. - * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): - Kill sethae. - * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase. - * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants): - Use physical addresses not KSEG addresses. - (io_system): Add PYXIS. - (io): Remove hae.reg, sys, hae_shift. - (stb_mb, stw_mb, stl_mb, __sethae): New. - (inline_outb, inline_outw, inline_outl): Don't set hae. - (inline_inb, inline_inw, inline_inl): Likewise. - (dense_sethae): New null function. - (struct cpuinfo_data): New. - (process_cpuinfo): Use local and stack variables, not static. - Move readlink check here from init_iosys. - (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS. - (_iopl): Simplify. - (_hae_shift): Calculate it here. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae, - add pciconfig_iobase. +1999-06-06 Philip Blundell -2000-03-20 Roland McGrath + * stdio-common/tstscanf.c (main): Test the half-word format "%hd". - * locale/programs/ld-time.c (time_finish): Use %Z instead of %z. - * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise. +1999-06-06 Andreas Jaeger - * scripts/versions.awk: Fixed version renaming code to distinguish - libraries properly. + * manual/install.texi (Running make install): Correct typo in + dynamic linker invocation. -2000-03-19 Ulrich Drepper +1999-06-05 Philip Blundell - * include/stdlib.h: Add prototype for __cxa_atexit. + * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix + problems with GOT addressing. - * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about - _SLOWDOWN flags. Patch by Jim Blandy . +1999-06-05 Wolfram Gloger -2000-03-17 Cristian Gafton + * malloc/malloc.c (check_action): Change into bitmap so that both + diagnostic and abort can be requested by setting it to 3. + (mALLOC_SET_STATe): Disable malloc checking if necessary. - * elf/Makefile ($(rtld-version-installed-name)): Delay replacing - existing rtld-installed-name. - ($(rtld-installed-name)): Request libc-$(version) be installed too. - replace existing rtld-installed-name using $(symbolic-link-prog). +1999-06-03 Ulrich Drepper -2000-03-17 Roland McGrath + * configure.in: Few changes for HPUX. - * locale/programs/ld-collate.c (collate_read): Remove bogus cast. - (insert_value, handle_ellipsis, collate_read): Replace %zu in format - strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter - but not the former. + * scripts/config.guess: Update from latest version. + * scripts/config.sub: Likewise. -2000-03-19 Ulrich Drepper +1999-06-03 Andreas Jaeger - * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for - glob64. Since there is no glob64 in the LFS proposal applications - can assume that glob handles LFS situations. glob64 is only needed - if alternative filesystem functions are used. + * Makerules: Set LC_ALL explicitly to archieve correct sorting of + map files. Closes PR libc/1147. -2000-03-19 Geoff Clare +1999-06-03 Andreas Jaeger - * sysdeps/generic/glob.c: Correct gl_pathc value returned - when GLOB_DOOFFS is set; correct handling of patterns - containing escaped wildcards (and no unescaped ones); - GLOB_ERR flag was being ignored in some situations. + * math/libm-test.c (main): Add new test functions. + (jn_test): New tests. + (j1_test): Add some more tests. + (j0_test): Add some more tests. + (y0_test): Add some more tests. + (y1_test): Add some more tests. - * posix/globtest.c, posix/globtest.sh: Updated to include - tests for the problems fixed by the above changes to glob.c. +1999-06-02 Andreas Jaeger - * manual/pattern.texi (Calling Glob): Update description of gl_pathc. + * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices. + Patch by mhagger@dera.gov.uk [PR libc/1145]. -2000-03-19 Roland McGrath + * math/libm-test.c (y1_test): New tests. + (y0_test): Likewise. + (j1_test): Likewise. + (j0_test): Likewise. + (main): Added new tests. - * Makeconfig (soversion.i): Use only first match for each lib. +1999-06-02 Jakub Jelinek - * Makeconfig (soversion.i): Pass -undef to $(CC) -E. + * stdlib/longlong.h: Define UDIV_TIME on sparc64. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file. - * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done) - rather than $(sysd-dirs-done) to protect these rules. +1999-06-02 David S. Miller - * Makerules (version-renames.def): Target removed. - (Versions.all): Depend on soversions.i directly and parse it. + * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list + pointers properly. - * Makeconfig (soversions.i): New target, input-reading parts of - soversions.mk generation moved here; result is a canonicalized - list "LIB VERSION [SET]" for this configuration. - (soversions.mk): Use that as input. Don't emit map-firstversions. - * Makerules (version-renames.def): New target, generated from - soversions.i with contents that was in $(map-firstversions). - (Versions.all): Don't depend on soversions.mk, depend on - version-renames.def instead; just cat it into the input. +1999-06-02 Ulrich Drepper - * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop - for $(map-firstversions), which better handles it being empty. + * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h + and elide compatibility code if possible. - * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest - supported version for libc 0.2.90.libio to GLIBC_2.2. +1999-06-01 Ulrich Drepper - * Makeconfig (soversions.mk): Grok new third column in shlib-versions, - and use it to emit new variable `map-firstversions'. - * scripts/firstversions.awk: New file. - * Makerules (Versions.all): Use scripts/firstversions.awk and - the $(map-firstversions) value to generate a modified versions list - that includes renames in "A = B" syntax for each version set earlier - than the "earliest symbol version" named in shlib-versions. - * scripts/versions.awk: Recognize "A = B" lines in the input to mean - rename version set A to B in the output to the intermediate file. - * scripts/abi-versions.awk: New file. - * Makerules (abi-versions.h): New target, generated by that script. - [$(versioning) = yes] (before-compile): Prepend abi-versions.h. - * include/shlib-compat.h: New file, uses that generated header. + * manual/llio.texi: Remove menu entry for removed section. -2000-03-18 Roland McGrath +1999-05-29 Andreas Schwab - * Makeconfig (soversions.mk): Convert % -> # in shlib-versions - after stripping # comments, and then run it through cpp. - This allows things like "%ifdef FOO" based on config.h settings. - * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio + * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused + variables. - * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED - and other errors that indicate a pseudo-receive happened, grok through - the message buffer for port rights that need references fixed up. +1999-06-01 Andreas Jaeger -2000-03-16 Andreas Jaeger + * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it + (from Linux 2.3.4). - * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore. +1999-05-30 Ulrich Drepper - * sysdeps/unix/sysv/linux/madvise.c: Remove. + * inet/netinet/in.h: Mark ntoh* and hton* as constant functions. - * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags - from latest Linux kernel. - * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise. +1999-05-30 Andreas Jaeger - * misc/sys/mman.h: Add prototype for mincore. + * manual/stdio.texi: Fix some typos. -2000-03-17 Ulrich Drepper +1999-05-27 Andreas Schwab - * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit - entry for GLIBC_2.0 version of setrlimit. - Patch by Shinya Hanataka . + * malloc/malloc.h: Properly handle future GCC versions. -2000-03-16 Thorsten Kukuk +1999-05-27 Andreas Schwab - * nis/nss_nis/nis-ethers.c: Return with error if malloc fails. - * nis/nss_compat/compat-initgroups.c: Likewise. - * nis/nss_nis/nis-initgroups.c: Likewise. - * nis/nss_nis/nis-netgrp.c: Likewise. - * nis/nss_nis/nis-proto.c: Likewise. - * nis/nss_nis/nis-rpc.c: Likewise. - * nis/nss_nis/nis-service.c: Likewise. - * nis/ypclnt.c: Likewise. + * sysdeps/unix/sysv/linux/configure.in: Change version checks to + use AC_EGREP_CPP. Change sed pattern to not use alternation. Fix + text of error message. -2000-03-16 Andreas Jaeger + * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'. - * manual/Makefile: MAKEINFO is set to `:' from configure if it - doesn't exist, correct checks. Fixes PR libc/1649. +1999-05-29 Ulrich Drepper -2000-03-16 Thorsten Kukuk + * manual/filesys.texi: Extend (f)truncate documentation. + * manual/llio.texi: Remove duplicate (f)truncate definition. - * nscd/hstcache.c: Restore correct UID. - * nscd/pwdcache.c: Likewise. - Patch from Gabor Gombas . +1999-05-29 Andreas Jaeger -2000-03-17 Roland McGrath + * manual/stdio.texi (Formatted Output Functions): Mention + semantics of snprintf in glibc 2.0. + Reported by Ben Pfaff . - * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and - macros for register names, in line with 2000-03-14 linux change. +1999-05-29 Ulrich Drepper - * sysdeps/mach/sched_yield.c: New file. + * include/features.h (__GLIBC_MINOR__): Bump to 2. -2000-03-13 Roland McGrath +1999-05-27 Ulrich Drepper - * sysdeps/generic/lockfile.c: Include - (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in - case defined them. - (__flockfile, __funlockfile, __ftrylockfile): Functions renamed - from __internal_*. - (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile, - ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly. + * math/libm-test.c: Adjust a few more deltas for the poor ARM + FPU emulator. - * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ... - for more pleasing parse error. +1999-05-27 Andreas Jaeger -2000-03-16 Ulrich Drepper + * configure.in: Fix typo. - * locale/lc-time.c (_nl_init_era_entries): Correct allocation of - memory for eras. - Patch by Shinya Hanataka . +1999-05-27 Andreas Jaeger - * elf/Makefile: Add rules to compile and run constload1 test. - * elf/constload1.c: New file. - * elf/constload2.c: New file. - * elf/constload3.c: New file. + * manual/socket.texi (Host Names): Remove statement that h_errno + needs to be declared since this isn't true anymore. + Closes PR libc/1138. -2000-03-15 Ulrich Drepper +1999-05-26 Ulrich Drepper - * sysdeps/posix/open64.c: Make __open64 weak alias. - * sysdeps/posix/pread64.c: Make __pread64 weak alias. + * config.h.in: Add __LINUX_KERNEL_VERSION. + * configure.in: Recognize --enable-kernel. + * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel + headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION + appropriately. + * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is + given perform runtime test. + + * sysdeps/unix/sysv/linux/kernel-features.h: New file. + * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if + minimal supported kernel is known to have the feature. + * sysdeps/unix/sysv/linux/poll.c: Likewise. + * sysdeps/unix/sysv/linux/pread.c: Likewise. * sysdeps/unix/sysv/linux/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise. - * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias. + * sysdeps/unix/sysv/linux/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/seteuid.c: Likewise. + * sysdeps/unix/sysv/linux/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise. + * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise. + * sysdeps/unix/sysv/linux/testrtsig.h: Likewise. + * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. + * sysdeps/unix/sysv/linux/i386/pread.c: Likewise. + * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise. -2000-03-14 Ulrich Drepper + * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias. - * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for - Nautilus. Patch by Soohoon Lee . +1999-05-25 Ulrich Drepper -2000-03-16 Mark Kettenis + * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks. - * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t): - Typedef for elf_fpregset_t instead of `elf_fpregset_t *'. +1999-05-26 Jakub Jelinek -2000-03-08 Andreas Jaeger + * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm): + Optimized sparc64 routines. - * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50. +1999-05-25 Ulrich Drepper -2000-03-14 Ulrich Drepper + * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if + they are the same as ints. + * stdio-common/vfscanf.c (_IO_vfscanf): Likewise. - * timezone/africa: Update from tzdata2000d. + * version.h (VERSION): Bump to 2.1.90. + (RELEASE): Mark as development. + + * stdio-common/vfprintf.c (vfprintf): Don't implement special + handling for long long if it is the same as long. + * stdio-common/vfscanf.c (_IO_vfscanf): Likewise. + + * stdlib/strtol.c: Moved to ... + * sysdeps/generic/strtol.c: ...here. + * stdlib/strtoul.c: Moved to ... + * sysdeps/generic/strtoul.c: ...here. + * stdlib/strtoll.c: Moved to ... + * sysdeps/generic/strtoll.c: ...here. + * stdlib/strtoull.c: Moved to ... + * sysdeps/generic/strtoull.c: ...here. + * stdlib/strtol_l.c: Moved to ... + * sysdeps/generic/strtol_l.c: ...here. + * stdlib/strtoul_l.c: Moved to ... + * sysdeps/generic/strtoul_l.c: ...here. + * stdlib/strtoll_l.c: Moved to ... + * sysdeps/generic/strtoll_l.c: ...here. + * stdlib/strtoull_l.c: Moved to ... + * sysdeps/generic/strtoull_l.c: ...here. + + * sysdeps/wordsize-64/strtol.c: New file. + * sysdeps/wordsize-64/strtoul.c: New file. + * sysdeps/wordsize-64/strtoll.c: New file. + * sysdeps/wordsize-64/strtoull.c: New file. + * sysdeps/wordsize-64/strtol_l.c: New file. + * sysdeps/wordsize-64/strtoul_l.c: New file. + * sysdeps/wordsize-64/strtoll_l.c: New file. + * sysdeps/wordsize-64/strtoull_l.c: New file. + + * wcsmbs/wcstol.c: Moved to ... + * sysdeps/generic/wcstol.c: ...here. + * wcsmbs/wcstoul.c: Moved to ... + * sysdeps/generic/wcstoul.c: ...here. + * wcsmbs/wcstoll.c: Moved to ... + * sysdeps/generic/wcstoll.c: ...here. + * wcsmbs/wcstoull.c: Moved to ... + * sysdeps/generic/wcstoull.c: ...here. + * wcsmbs/wcstol_l.c: Moved to ... + * sysdeps/generic/wcstol_l.c: ...here. + * wcsmbs/wcstoul_l.c: Moved to ... + * sysdeps/generic/wcstoul_l.c: ...here. + * wcsmbs/wcstoll_l.c: Moved to ... + * sysdeps/generic/wcstoll_l.c: ...here. + * wcsmbs/wcstoull_l.c: Moved to ... + * sysdeps/generic/wcstoull_l.c: ...here. + + * sysdeps/wordsize-64/wcstol.c: New file. + * sysdeps/wordsize-64/wcstoul.c: New file. + * sysdeps/wordsize-64/wcstoll.c: New file. + * sysdeps/wordsize-64/wcstoull.c: New file. + * sysdeps/wordsize-64/wcstol_l.c: New file. + * sysdeps/wordsize-64/wcstoul_l.c: New file. + * sysdeps/wordsize-64/wcstoll_l.c: New file. + * sysdeps/wordsize-64/wcstoull_l.c: New file. + +1999-05-24 Jakub Jelinek + + * sysdeps/sparc/bits/wordsize.h: New file. + * sysdeps/sparc/fpu/bits/fenv.h: New file. + * sysdeps/sparc/fpu/fpu_control.h: New file. + * sysdeps/sparc/gmp-mparam.h: New file. + + * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove. + * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove. + * sysdeps/sparc/sparc64/bits/wordsize.h: Remove. + * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove. + * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove. + * sysdeps/sparc/sparc64/gmp-mparam.h: Remove. + + * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file. + * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file. + * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file. + * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file. + + * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove. + * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove. + +1999-05-24 Ulrich Drepper + + * login/openpty.c (openpty): Make sure pty does not because + controlling TTY. + + * ctype/ctype.h: Don't optimize toupper/tolower for C++. + +1999-05-23 Roland McGrath + + * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600. + Do proper error return. + +1999-05-23 Andreas Jaeger + + * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage + of __P in the rest of glibc; define __MALLOC_PMT and use it. + Reported by Stephan Kulow . + +1999-05-23 Ulrich Drepper + + * sysdeps/alpha/fpu/bits/fenv.h: Pretty print. + + * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if. + +1999-05-22 Andreas Schwab + + * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member + names to protect from user's macro namespace. + * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise. + * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise. + * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise. + * sysdeps/mips/bits/fenv.h (fenv_t): Likewise. + * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c: + Adapted. + * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c, + sysdeps/arm/fpu/fesetenv.c: Likewise. + * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c, + sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c, + sysdeps/i386/fpu/fsetexcptflg.c: Likewise. + * sysdeps/mips/fesetenv.c: Likewise. + +1999-05-22 Roland McGrath + + * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma. + +1999-05-20 Ulrich Drepper + + * configure.in: Recognize and allow gcc 2.95. + +1999-05-19 Jakub Jelinek + + * sysdeps/generic/bits/elfclass.h: Version common to + wordsize-32 and wordsize-64. + * sysdeps/generic/bits/environments.h: Ditto. + * sysdeps/generic/stdint.h: Ditto. + * sysdeps/generic/inttypes.h: Ditto. + + * sysdeps/generic/bits/wordsize.h: New file. + * stdlib/Makefile: Add bits/wordsize.h to headers. + + * sysdeps/sparc/sparc64/bits/wordsize.h: New file. + + * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported + headers to be used for 32bit and 64bit ABI compilations. + * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto. + * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto. + + * sysdeps/wordsize-64/bits/elfclass.h: Remove. + * sysdeps/wordsize-64/bits/environments.h: Remove. + * sysdeps/wordsize-64/stdint.h: Remove. + * sysdeps/wordsize-64/inttypes.h: Remove. + * sysdeps/wordsize-64/bits/wordsize.h: New file. + + * sysdeps/wordsize-32/bits/elfclass.h: Remove. + * sysdeps/wordsize-32/bits/environments.h: Remove. + * sysdeps/wordsize-32/stdint.h: Remove. + * sysdeps/wordsize-32/inttypes.h: Remove. + * sysdeps/wordsize-32/bits/wordsize.h: New file. + +1999-05-19 Jakub Jelinek + + * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8, + __align_cpy_16): New functions. + (__align_cpy_2, __align_cpy_1): New aliases to memcpy. + + * sysdeps/sparc/sparc32/Versions: New file. + * sysdeps/sparc/sparc64/Versions: New file. + * sysdeps/sparc/Versions: Remove. + +1999-05-19 Jakub Jelinek + + * sysdeps/unix/sysv/linux/configure.in: + On sparc64-*-linux*, set slibdir to /lib64 if prefix + is /usr, plus set libdir to ${exec_prefix}/lib64. + * sysdeps/unix/sysv/linux/configure: Regenerated. + * config.make.in: Propagate libdir settings from configure + to the Makefiles. + * shlib-versions: sparc64-*-linux* dynamic linker is + /lib64/ld-linux.so.2. + +1999-05-18 Thorsten Kukuk + + * nis/nis_lookup.c (nis_lookup): If we run out of memory, close + RPC connection. + +1999-05-18 Jakub Jelinek + + * sysdeps/sparc/sparc64/rawmemchr.S: New file. + * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file. + + * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument + contains garbage in bits 8-63. + * sysdeps/sparc/sparc64/memset.S: Ditto. + * sysdeps/sparc/sparc64/strchr.S: Ditto. + +1999-05-18 Ulrich Drepper + + * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ). + +1999-05-17 David S. Miller + + * sysdeps/sparc/sparc32/atomicity.h: New file. + * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file. + * sysdeps/sparc/sparc64/atomicity.h: New file. + * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to + sysdep-CFLAGS. + +1999-05-18 Richard Henderson + + * sysdeps/alpha/memchr.S: Zap high byte of length. Reschedule. + +1999-05-04 Zack Weinberg + + * argp/argp.h, assert/assert.h, misc/sys/cdefs.h, + posix/sys/types.h: Handle the case of __GNUC__=3, + __GNUC_MINOR__=(anything). + +1999-05-18 Andreas Jaeger + + * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary + if _FORCE_INLINES. + +1999-05-17 Ulrich Drepper + + * elf/Makefile (distribute): Remove dl-origin.h. + Add dl-dst.h and gen-trusted-dirs.awk. + +1999-05-17 Andreas Jaeger + + * sysdeps/i386/i486/Versions: New file with inline functions from + sysdeps/i386/i486/bits/string.h for now. + + * sysdeps/i386/Versions: Add inline functions from + sysdeps/i386/bits/string.h. + + * string/Versions: Add inline functions from . + + * string/Makefile (routines): Add string-inlines. + * string/string-inlines.c: New file, used for implementation of + extern inline functions. + + * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate + non inlined versions of functions. + * string/bits/string2.h: Likewise. + * sysdeps/i386/bits/string.h: Likewise. + +1999-05-17 Ulrich Drepper + + * inet/arpa/tftp.h: Add second packed attribute. + +1999-05-16 Wolfram Gloger + + * malloc/malloc.c: Cleanup to bring in line with released + stand-alone version `ptmalloc'. Update some comments. + (internal_function): Move fallback definition so that the source + compiles outside of libc, and use it in more places. + (malloc_atfork): Fix when malloc_check is in use. + +1999-05-16 Andreas Schwab + + * stdlib/tst-strtod.c: Fix typo. + +1999-05-16 Andreas Schwab + + * elf/dl-close.c (_dl_close): Add cast to avoid warning about + const incorrectness. + +1999-05-16 Roland McGrath + + * sysdeps/generic/bits/termios.h (CRTSCTS): New macro. + +1999-05-16 Thorsten Kukuk + + * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs. + * sunrpc/key_call.c: Fix memory leak, close file handle. + * nis/nis_creategroup.c: Use malloc instead of calloc, + set ctime and mtime. + * nis/nis_subr.c: Check for realloc result. + * nis/nis_file.c: Fix memory leak. + * nis/nis_table.c: Pretty print. + * nis/nis_getservlist.c: Likewise. + * nis/nis_ismember.c: Likewise. + * nis/nis_lookup.c: Likewise. + * nis/nis_ping.c: Likewise. + * nis/nis_removemember.c: Likewise. + * nis/nis_util.c: Likewise, check calloc result. + +1999-05-16 Roland McGrath + + * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ... + * sysdeps/generic/sys/socketvar.h: ... here. + * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ... + * sysdeps/generic/netinet/in_systm.h: ... here. + * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h, + sys/socketvar.h. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise. + * inet/Makefile (headers): Add netinet/in_systm.h here. + * socket/Makefile (headers): Add sys/socketvar.h here. + +1999-05-15 Ulrich Drepper + + * stdlib/strtol.c: Optimize inner loop of long long versions. + + * sysdeps/gnu/utmpx.h: Add needed type definitions according to + Unix98. Add forward declaration of struct utmp. + +1999-05-14 Ulrich Drepper + + * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of + calloc. + + * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks. + * nis/nis_addmember.c (nis_addmember): Fix memory leak. Test + memory allocation results. + +1999-05-14 Mark Kettenis + + * sysdeps/generic/getutmp.c: Include + (getutmp): Rewrite to only copy those members that are really + present in `struct utmp'. + * sysdeps/generic/getutmpx.c: Likewise. + +1999-05-14 Ulrich Drepper + + * nss/getXXbyYY.c: Add free_mem function which disposes all + statically allocated memory when debugging. + * nss/getXXent.c: Likewise. + * nss/nsswitch.c: Likewise. + +1999-05-13 Ulrich Drepper + + * sysdeps/gnu/getutmpx.c: New file. + * sysdeps/gnu/getutmp.c: New file. + +1999-05-13 H.J. Lu + + * login/Versions (getutmpx): Added to GLIBC_2.1.1. + (getutmp): Likewise. + + * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and + getutmpx for login. + + * sysdeps/gnu/utmpx.h (getutmp): Added. + (getutmpx): Likewise. + + * sysdeps/generic/getutmp.c: New file. + + * sysdeps/generic/getutmpx.c: New file. + +1999-05-13 Andreas Jaeger + + * glibcbug.in (BUGGLIBC): Change address to + libc-alpha@sourceware.cygnus.com. + +1999-05-12 Andreas Jaeger + + * resolv/arpa/nameser.h: Add C++ protectors. + +1999-05-08 Andreas Jaeger + + * iconvdata/gconv-modules: Fix alias for CP1255. Reported by + Elad Tsur . + +1999-05-11 Ulrich Drepper + + * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy. + * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects + lazily if LD_BIND_NOW is not set. + * elf/dl-support.c (_dl_lazy): New variable. + (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar. + * elf/rtld.c (_dl_lazy): new global variable. + ( dl_main): Remove lazy, replace it by _dl_lazy. + +1999-05-06 Andreas Schwab + + * locale/setlocale.c (new_composite_name): Check also whether the + first category name differs. + +1999-05-11 Andreas Schwab + + * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not + the generic one. + +1999-05-11 Philip Blundell + + * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New + structure; storage suitable for any socket address. + * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage): + Likewise. + * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct + sockaddr_storage): Likewise. + + * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit + platform. + +1999-05-10 Ulrich Drepper + + * hesiod/Versions: Change _nss_hesiod_getpwuid and + _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and + _nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115. + +1999-05-09 Mark Kettenis + + * hurd/get-host.c (_hurd_get_host_config): Return an empty value + if the file is empty. + +1999-05-07 Ulrich Drepper + + * elf/do-lookup.h: Fix typo in comment. + + * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to + f_bsize to help some broken programs. + + * stdio-common/tst-printf.c: Add test case for last _itoa problem. + + * stdio-common/vfprintf.c: Fix typo. + +1999-05-06 Ulrich Drepper + + * elf/link.h (struct link_map): New field l_phdr_allocated. + * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having + the program header being part of any loaded segment. If it is not + allocate memory and set l_phdr_allocated flag. + * elf/dl-close.c (_dl_close): Free l_phdr if necessary. + + * nss/digits_dots.c: Correct return value interpretation of + inet_ntoa. Fix PR libc/1109. + +1999-05-06 Zack Weinberg + + * sysdeps/sparc/sparc32/sparcv9/Dist: New file. + +1999-05-06 Thorsten Kukuk + + * stdlib/fpioconst.c (__tens): Export also for 64bit platforms. + * stdlib/fpioconst.c: Move #endif before end of struct. + +1999-05-05 Ulrich Drepper + + * Versions.def (ld.so): Add GLIBC_2.1.1. + * elf/Makefile (routines): Add dl-origin. + (tests): Add origtest. Add dependencies for the program. + * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path, + _dl_platformlen, _dl_dst_count and _dl_dst_substitute. + * elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename. + (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED, + DT_AUXILIARY, and DT_FILTER filenames. + * elf/dl-load.c (expand_dynamic_string_token): Explode into + two functions and three macros. + (_dl_dst_count, _dl_dst_substitute): New functions. + * elf/dl-dst.h: New file. + * elf/dl-open.c (_dl_open): Take extra parameter with address of + caller. Pass address in args structure. + (dl_open_worker): Recognize and expand DSTs in filename. + * elf/ldsodefs.h (_dl_open): Adapt prototype. + * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open. + (__dlopen_check): Pass caller address to dlopen_doit in args. + * elf/dlopendoit.c: Likewise. + * iconv/gconv_dl.c: Adapt call of _dl_open. + * nss/nsswitch.c: Likewise. + * elf/origtest.c: New file. + * sysdeps/generic/dl-origin.h: Moved to... + * sysdeps/generic/dl-origin.c: ...here. + * sysdeps/unix/sysv/linux/dl-origin.h: Moved to... + * sysdeps/unix/sysv/linux/dl-origin.c: ...here. + + * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case + with specific bases and only few bits set in second word. + + * timezone/Makefile (install-others): Create target directory + before creating tzfiles. + +1999-05-05 Thorsten Kukuk + + * nis/nis_file.c (readColdStartFile): Allocate memory only after + the file is opened successfully. + + * nis/nis_table.c: Fix some memory leaks. + +1999-05-04 Ulrich Drepper + + * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st + variable. + + * elf/dl-load.c (expand_dynamic_string_token): Recognize { } + around DST. Correctly ignore ORIGIN IN SUID binaries. + +1999-05-03 Ulrich Drepper + + * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr. + * sysdeps/generic/strtok.c: Likewise. + + * string/tester.c: Add test of rawmemchr. + + * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output + specification. It's not necessary. + + * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk. + * elf/gen-trusted-dirs.awk: New file. + * elf/dl-load.c (systems_dirs): Moved into file scope. Initialize + from SYSTEM_DIRS macro. + (system_dirs_len): New variable. Contains lengths of system_dirs + strings. + (fillin_rpath): Rewrite for systems_dirs being a simple string. + Improve string comparisons. Change parameter trusted to be a flag. + Change all callers. + (_dt_init_paths): Improve using new format for system_dirs. + + * elf/dl-load.c (expand_dynamic_string_token): Don't expand + $ORIGIN for SUID binaries. + + * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S. + +1999-05-02 Andreas Schwab + + * sunrpc/Makefile: Generate dependencies for all flavors of + librpcsvc objects. + (rpcgen-cmd): Pass -Y flag here and remove it from the macro + invocations. + +1999-05-02 Andreas Schwab + + * elf/dlopenold.c: Move #if down after includes to get + dependencies right. + +1999-05-01 Andreas Schwab + + * sysdeps/generic/bzero.c: Undefine __bzero. + +1999-05-02 Ulrich Drepper + + * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header. + * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise. + * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise. + Patch by Craig Small . + + * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth + parameter to struct gaih_servtuple *. Adapt appropriately. + (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls. + This fixes a memory leak. + Reported by Mikolaj J. Habryn . + + * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t, + and fpregset_t definition. They are defined in ucontext.h. + +1999-04-14 Scott Bambrough + + * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr + and struct ether_header must be packed on the ARM. The default + alignment constraints add padding to the end of the structures. + +1999-04-14 Scott Bambrough + + * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The + default alignment constraints add padding to the end of the + structure and between members. + +1999-05-02 Ulrich Drepper + + * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use + _dl_cache_libcmp instead of strcmp. + + * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir + fails on a file. + Reported by Sergei Ivanov [PR libc/1032]. + +1998-03-30 Joel Klecker + + * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile + (sysdep-others,install-bin): Add lddlibc4. + +1999-05-02 H.J. Lu + + * timezone/zic.c (dolink): Remove the symlink destination first. + + * catgets/open_catalog.c (__open_catalog): Set catalog->status + to "nonexisting" if failed to open the file. + +1999-05-01 Ulrich Drepper + + * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and + gcc3. + + * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg. + Prevent warnings from multiplication with 0x01010101 by another cast. + +1999-04-30 Andreas Schwab + + * string/bits/string2.h (memset): Revert to previous version if + unaligned writes are not available. + +1999-04-30 Ulrich Drepper + + * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating + better code in presence of the asm. + +1999-04-30 Andreas Schwab + + * stdlib/fmtmsg.c (keywords): Increase array size for faster + indexing. + + * locale/localeinfo.h (_nl_category_names): Increase array element + size for faster indexing. + * locale/setlocale.c (_nl_category_names): Adjusted. + +1999-04-30 Andreas Schwab + + * iconv/gconv_conf.c (add_alias): Remove wrong cast. + +1999-05-01 Andreas Schwab + + * sysdeps/m68k/stackinfo.h: New file. + +1999-04-30 Ulrich Drepper + + * string/tester.c (test_strchrnul): New function. + (test_memset): Test one more special case. + + * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in + 25% of all cases. + + * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with + base types. + + * string/bits/string2.h: Fix bugs I introduced in last change. + + * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial + register stall. + Extend memset optimization. + Correct i686 version of memchr. + +1999-04-30 Roland McGrath + + * sysdeps/i386/bzero.c: Add #undef __bzero. + + * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if + EXEC_SIGTRAP was set in the incoming exec flags--that indicates the + exec server simulated a SIGTRAP before we even started up, so gdb is + already happy. + +1999-04-30 Ulrich Drepper + + * nss/digits_dots.c: Always initialize not_ok. + +1999-04-30 09:02 -0400 Zack Weinberg + + * string/bits/string2.h (memset): Avoid arithmetic overflow at + compile time, which produces obnoxious warnings. If GCCv2 is + in use, map __bzero to __builtin_memset to enable that + optimization. + +1999-04-29 Ulrich Drepper + + * string/bits/string2.h: Add more memset optimizations. + + * resolv/inet_addr.c (inet_aton): Optimize switch statement away. + + * resolv/inet_pton.c (inet_pton4): Little optimizations. + (inet_pton6): Likewise. + + * nss/getXXbyYY_r.c: Include assert.h. + * nss/getXXbyYY.c: Likewise. + +1999-04-29 Andreas Jaeger + + * termios/tcgetsid.c (tcgetsid): Rename variable to + tiocgsid_does_not_work. + +1999-04-29 Ulrich Drepper + + * inet/getnameinfo.c (nrl_domainname): Fix last patch. + +1999-04-28 Andreas Jaeger + + * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers. + This allows e.g. gethostbyname to accept "10.1234". + Reported by Alexander V. Lukyanov [PR libc/1096]. + + * nss/test-netdb.c (test_hosts): Add test for gethostbyname and + non quad IPv4 numbers. + +1999-04-29 Andreas Jaeger + + * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end. + +1999-04-28 Ulrich Drepper + + * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0. + * argp/argp-parse.c (_argp_hang): Likewise. + * argp/argp-pv.c (argp_program_version): Likewise. + * argp/argp-pvh.c (argp_program_version_hook): Likewise. + * inet/ether_hton.c (ether_hton, startp): Likewise. + * inet/ether_ntoh.c (ether_ntoh, startp): Likewise. + * inet/getnetgrent_r.c (setup, startp): Likewise. + * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise. + * intl/localealias.c (string_space, string_space_act, string_space_max, + nmap, maxmap): Likewise. + * libio/iopopen.c (proc_file_chain): Likewise. + * libio/oldiopopen.c (old_proc_file_chain): Likewise. + * locale/lc-collate.c (__collate_table, __collate_extra, + __collate_element_hash, __collate_element_strings, + __collate_element_values): Likewise. + * malloc/mcheck.c (mcheck_used): Likewise. + * malloc/mtrace.c (added_atexit_handler): Likewise. + * malloc/set-freeres.c (already_called): Likewise. + * misc/getpass.c (getpass) [buf, bufsize]: Likewise. + * misc/syslog.c (LogStat, LogTag): Likewise. + * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise. + * nss/getXXbyYY_r.c (startp): Likewise. + * posix/getopt.c (optarg, __getopt_initialized): Likewise. + * posix/regex.c (init_syntax_once) [done]: Likewise. + (debug): Likewise. + * string/strfry.c (init): Likewise. + * sunrpc/svc_run.c (svc_top): Likewise. + * posix/euidaccess.c (have_ids): Likewise. + * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise. + * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise. + * time/getdate.c (getdate_err): Likewise. + * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps): + Likewise. + * time/tzset.c (old_tz, is_initialized): Likewise. + + * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization + of static data with zero. + * signal/allocrtsig.c (init): Likewise. + + * string/Makefile (routines): Add strchrnul. + * string/Versions [GLIBC_2.1.1]: Add strchrnul. + * string/string.c: Add strchrnul prototype. + * include/string.h: Add __strchrnul prototype. + * sysdeps/generic/strchrnul.c: New file. + * sysdeps/i386/strchrnul.S: New file. + * sysdeps/i386/bits/string.c: Add strchrnul optimization. + * sysdeps/i386/i486/bits/string.c: Likewise. + * argp/argp-help.c (argp_args_usage): Use __strchrnul. + * inet/ether_line.c (ether_line): Likewise. + * nscd/nscd_conf.c (nscd_parse_file): Likewise. + * nss/nsswitch.c (nss_parse_file): Likewise. + * posix/execvp.c (execvp): Likewise. + * posix/fnmatch.c (internal_fnmatch): Likewise. + * resolv/res_hconf.c (_res_hconv_init): Likewise. + * resolv/res_init.c (res_init): Likewise. + * stdlib/fmtmsg.c (init): Likewise. + * stdlib/getsubopt.c (getsubopt): Likewise. + + * catgets/catgets.c (catopen): Only allocate one memory block. + (catclose): Only one free call necessary. + + * catgets/open_catalog.c (__open_catalog): Simplify handling of + file descriptor. + + * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead + of real functions. Simplify _tolower and _toupper. + + * grp/initgroups.c (compat_call): Remove unnecessary use of pointer + variable. + + * iconv/gconv.h (struct gconv_info): Change data element from pointer + to array of size 0. + * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly. + * iconv/gconv_close.c (__gconv_close): Don't free data. + + * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to + insert new alias. + + * iconv/gconv_db.c (add_derivation): More efficient copying. Check + for error while inserting in tree. + + * include/time.h: Pretty print. + + * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers + in table and lots of relocations. + * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid + string pointers in table and lots of relocations. + + * intl/finddomain.c: Remove definition of strchr macro. + + * io/ftw.c (nftw_arr, ftw_arr): Make const. + + * locale/loadlocale.c (_nl_load_locale): Optimize string copying. + + * locale/localeinfo.h (_nl_category_names): Change into an array with + fixed width char string elements. + * locale/setlocale.c (_nl_category_names): Likewise. + (_nl_current): Make global. + * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now. + + * malloc/Makefile (distribute): Add stackinfo.h. + * sysdeps/generic/stackinfo.h: New file. + * sysdeps/i386/stackinfo.h: New file. + * posix/execl.c: Use stackinfo.h in optimizing alloca use. + * posix/execle.c: Likewise. + * posix/execlp.c: Likewise. + + * nis/nis_table.c (__create_ib_request): Always use realloc. + + * posix/execvp.c (execute): Rename to script_execute and keep only + code to execute using shell. + (execvp): Call execv directly and only fall back on script_execute. + + * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define + and always use xdigits instead. + + * resolv/res_init.c (res_init): Use rawmemchr instead of strchr + where appropriate. + + * stdlib/fpioconst.h (__tens): New declaration. + (struct mp_power): Remove array, add arrayoff element. + * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one + __tens array and add in _fpioconst_pow10 offsets into __tens. + * stdio-common/printf_fp.c: Rewrite to use new __tens array. + * stdlib/strtod.c: Likewise. + + * stdlib/a64l.c (a64l_table): Avoid unnecessary elements. + + * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end + of the list. + * stdlib/atexit.c (__exit_funcs): Don't initialize. + + * stdlib/fmtmsg.c (keywords): Make name element fixed width array. + + * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use + a single and an array with offsets. + + * sunrpc/des_soft.c (partab): Make it const. + + * sunrpc/key_call.c (trytimeout, tottimeout): Make const. + (__key_encryptsession_pk_LOCAL): Don't initialize with 0. + (__key_decryptsession_pk_LOCAL): Likewise. + (__key_gendes_LOCAL): Likewise. + (MESSENGER): Mark const. + (key_call_private_main): Don't initialize with 0. + (use_keyenvoy): Don't initialize with 0. + (key_call): Rewrite to reverse logic of use_doors variable. + + * sunrpc/netname.c (OPSYS): Define as array, not pointer. + (startp): Don't initialize with zero. + + * sunrpc/openchild.c (_openchild): Make first argument const. + + * sunrpc/pmap_rmt.c (timeout): Mark const. + * sunrpc/xcrypt.c (hex): Likewise. + + * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting + initialization of global variables. + * sysdeps/unix/sysv/linux/getpt.c: Likewise. + * sysdeps/unix/sysv/linux/if_index.c: Likewise. + * termios/tcgetsid.c: Likewise. + + * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change + fxsr to osfxsr. + + * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory + block. Add function to free memory if wanted. + * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read. + + * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers. + + * wcsmbs/wmemset.c: Little code optimization. + +1999-04-23 Paul Eggert + + * stdlib/strtoull.c: Surround strong_alias and weak_alias with + ifdef _LIBC. + +1999-04-28 Roland McGrath + + * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove + implementation and just always fail with ENOSYS. This entry point is + obsolete. Add link warning to that effect. + +1999-04-27 Roland McGrath + + * hurd/get-host.c: Include . + +1999-04-28 Ulrich Drepper + + * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem + is != NULL. + +1999-04-28 Andreas Jaeger + + * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow + ISO C9x and Unix98. + +1999-04-28 Ulrich Drepper + + * libio/iofopncook.c (_IO_cookie_seek): Correct return value. + Patch by Peter Miller . + +1999-04-27 Thorsten Kukuk + + * sunrpc/pmap_clnt.c: Add own get_myaddress function, which + prefers loopback device. + +1999-04-28 Ulrich Drepper + + * posix/fnmatch.c (internal_fnmatch): Finish incomplete + no_leading_period change. + + * posix/testfnm.c: More test cases. + +1999-04-27 Ulrich Drepper + + * include/dirent.h: Remove __getdirentries declaration, add __getdents + and __getdents64. + * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries. + * sysdeps/unix/readdir_r.c: Likewise. + * sysdeps/unix/sysv/linux/readdir64.c: Likewise. + * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise. + * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not + __getdirentries. Remove fourth argument. + * sysdeps/unix/sysv/linux/getdirentries.c: New file. + * sysdeps/unix/sysv/linux/getdirentries64.c: New file. + * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines): + Add getdirentries and getdirentries64. + * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64. + + * posix/fnmatch.c (internal_fnmatch): Correctly reset string + pointer in case of an invalid [[: expression. + + * posix/testfnm.c: Add more test cases. + +1999-04-27 Roland McGrath + + * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced + set, pass EXEC_SIGTRAP flag in exec RPC. + +1999-04-26 Ulrich Drepper + + * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take + extra parameter. Fix several more bugs involving wildcard and + ranges. + (fnmatch): New function. Call internal_fnmatch. + + * posix/testfnm.c: More test cases. + +1999-04-03 Andreas Jaeger + + * manual/install.texi (Configuring and compiling): Explain that + files are changed in the source directory. + Closes PR libc/981. + (Configuring and compiling): Explain situation with PARALLELMFLAGS + in the source directory. + +1999-04-24 Andreas Schwab + + * locale/programs/ld-ctype.c: Spelling fixes. + (ctype_finish): Fix argument of error message format. + * locale/programs/ld-messages.c: Spelling fixes. + * locale/programs/ld-monetary.c: Spelling fixes. + * locale/programs/ld-time.c (time_finish): Make sure that name and + format of era_entries are adjacent. + (time_output): Reduce the size of the io vector. + +1999-04-25 Andreas Schwab + + * manual/filesys.texi (Attribute Meanings): Move a misplaced + paragraph. + +1999-04-23 Andreas Schwab + + * locale/programs/ld-collate.c (collate_output): Convert + undefined_offset to an array index. Fix computation of other + endian extra table. + +1999-04-26 Roland McGrath + + * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file, + return success with empty value. + +1999-04-26 Ulrich Drepper + + * posix/fnmatch.c: Include string.h also for glibc. + (fnmatch, case '?'): Optimize if cascades a bit. + (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set. + + * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors. + +1999-04-24 Ulrich Drepper + + * iconv/gconv_builtin.h: Add definitions for UTF16 builtins. + * iconv/gconv_int.h: Declare UTF16 functions. + * iconv/gconv_simple.c: Add UTF16 conversion functions. + +1999-04-20 Andreas Jaeger + + * posix/wordexp.c (parse_param): Fix type of offset to allow it to + be used correctly as parameter for parse_dollars/parse_tilde. + +1999-04-19 Andreas Schwab + + * manual/conf.texi (Utility Limits): Remove duplicate description + of BC_DIM_MAX. + +1999-04-19 Ulrich Drepper + + * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize + outbufend for dst==NULL. + +1999-04-18 Ulrich Drepper + + * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend + for dst==NULL. + Fixes PR libc/1084. + + * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR. + Fixes PR libc/1083. + +1999-04-18 Thorsten Kukuk + + * sunrpc/Makefile: Remove special handling of bootparam.x, + add rpcsvc/bootparam.h to headers. + * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility. + * sunrpc/rpcsvc/bootparam.x: Renamed to... + * sunrpc/rpcsvc/bootparam_prot.x: ...this. + +1999-04-18 Ulrich Drepper + + * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to + detect and handle invalid descriptors. + +1999-04-17 Thorsten Kukuk + + * timezone/zic.c (dolink): Append complete path not only filename + to ../ list. + +1999-04-17 Andreas Jaeger + + * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change. + +1999-04-17 Ulrich Drepper + + * iconvdata/gconv-modules: Rename CP874 to IBM874. + * iconvdata/Makefile: Likewise. + * iconvdata/cp874.h: Removed. + * iconvdata/cp874.c: Renamed to... + * iconvdata/ibm874.c: ...this. + +1999-04-16 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/types.h: Correct + signed/unsigned-ness of blkcnt and fsblkcnt. + * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. + + * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM, + SOL_AAL, and SOL_IRDA. + +1999-04-15 Andreas Schwab + + * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't + include "linux_fsinfo.h". + Based on a patch by H.J. Lu . + +1999-04-16 Thorsten Kukuk + + * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long. + +1999-04-16 Ulrich Drepper + + * nscd/cache.c (prune_cache): Only disable file checking for + future if the file does not exist. + Update file_mtime if cache was flushed. + +1999-04-15 David S. Miller + + * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6. + * sysdeps/sparc/sparc32/strcpy.S: Likewise. + +1999-04-15 Scott Bambrough + + * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing + compilation of file. + +1999-04-15 Ulrich Drepper + + * Versions.def: Add GLIBC_2.1.1 to libpthread. + + * iconvdata/Makefile (modules): Add KOI8-U. + (distribute): Add koi8-u.c. + (gen-8bit-gap-modules): Add koi8-u. + * iconvdata/gconv-modules: Add KOI8-U entries. + * iconvdata/koi8-u.c: New file. + +1999-04-13 Thorsten Kukuk + + * sunrpc/auth_des.c: 64bit fixes, security fixes. + * sunrpc/auth_none.c: Pretty print. + * sunrpc/auth_unix.c: Likewise. + * sunrpc/authdes_prot.c: Likewise. + * sunrpc/authuxprot.c: Likewise. + * sunrpc/bindrsvprt.c: Likewise. + * sunrpc/clnt_gen.c: Likewise. + * sunrpc/rpc/xdr.h: Likewise. + * sunrpc/rpc/auth_des.h: Add rpc_timeval struct. + * sunrpc/rpc_cmsg.c: Don't use *long pointers. + * sunrpc/rtime.c: Use new rpc_timeval. + * sunrpc/svc_authux.c: Don't use *long pointers. + * sunrpc/svcauth_des.c: Likewise + security fixes. + * sunrpc/xdr_mem.c: Don't use *long pointers. + * sunrpc/xdr_rec.c: Likewise. + * sunrpc/xdr_sizeof.c: Likewise. + * sunrpc/xdr_stdio.c: Likewise. + +1999-04-15 Ulrich Drepper + + * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup + so that it is redone for each sending. + +1999-04-15 Andreas Jaeger + + * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup. + +1999-04-15 Ulrich Drepper + + * iconv/gconv_db.c (__gconv_find_transform): If conversion is + known to not exist don't try to load shared objects. + Patch by Petr Vandrovec Ing. VTEI . + + * nscd/cache.c (prune_cache): The table might not be unused. In + this case do nothing. + + * catgets/gencat.c (read_input_file): Don't drop white spaces + between number/identifier and string. + Patch by Dima Barsky . + If no white space at all follows number/identifier remove existing + message with the number/identifier. + +1999-04-14 H.J. Lu + + * sunrpc/clnt_udp.c (is_network_up): New function. + (clntudp_call): Call is_network_up () to check if any network + interface is up in case of timeout. + +1999-04-14 Andreas Jaeger + + * wctype/test_wcfuncs.c: New file, tests towlower and towupper. + * wctype/Makefile (tests): Add test_wcfuncs. + +1999-04-14 Jakub Jelinek + + * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-* + architectures. + * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS + instead of CFLAGS. + * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS + instead of CFLAGS. For gnulib and string directories use + -Wa,-Av9a gcc ASFLAGS. + * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file. + * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-* + the same way as sparc-*. + +1999-04-14 Ulrich Drepper + + * locale/programs/locfile.c (locfile_read): Fix typo. + Patch by Kaoru Fukui . + +1999-04-14 Scott Bambrough + + * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be + restarted after being interrupted by a signal. The parameters on + the stack were corrupted by the signal handler. + + * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be + restarted after being interrupted by a signal. The parameters on + the stack were corrupted by the signal handler. + +1999-04-14 Andreas Jaeger + + * wctype/wcfuncs.c (towlower): Use __ctype_tolower. + Reported by Kalle Olavi Niemitalo + +1999-04-12 Tim Waugh + + * posix/wordexp-test.c: In field-splitting test cases where + subshells were involved, unset IFS first: some shells (ash) use + IFS even when no expansion is performed. + +1999-04-13 Andreas Schwab + + * libio/obprintf.c (_IO_obstack_overflow): Put the write end at + the real end of the chunk, not some random point inbetween. + (_IO_obstack_xsputn): Likewise. Actually copy the data into the + obstack when growing. Use fast version of obstack_blank when + shrinking. + (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly + allocating the vtable pointer. + (_IO_obstack_vprintf): Adjust for above change and avoid + unnecessary casts. Use fast version of obstack_blank when + shrinking. + Fixes PR libc/1075. + +1999-04-12 Ulrich Drepper + + * iconvdata/gconv-modules: Fix typo. Add UJIS alias. + Reported by GOTO Masanori . + +1999-04-11 Tim Waugh + + * posix/wordexp.c (wordexp): Fix a leak when an invalid character + is seen, as well as fixing semantics. Don't reset the word count + to zero when an invalid character is seen, but leave it as it was + (this makes a difference with WRDE_APPEND). + + * posix/wordexp-test.c: More test cases. + + * posix/wordexp.c (parse_param): In words like ${var#pattern}, + always expand pattern when it is needed. Also, handle quoting in + pattern properly. + +1999-04-12 Philip Blundell + + * elf/elf.h: Update ARM definitions to match current gas2. + + * sysdeps/arm/bits/endian.h: Support big endian operation. + + * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl): + Don't bother range checking the port number. + + * sysdeps/unix/sysv/linux/arm/vfork.S: New file. + + * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include + the syscall name in assembler output for ease of debugging. + + * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined + compiler behaviour. + * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file. + * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal] + (sysdep_routines): Add sigrestorer. + + * string/tester.c (test_strcpy): Add new tests for unaligned + arguments. + * sysdeps/arm/bits/string.h: Delete inline implementations of + strcpy and stpcpy. + +1999-04-11 Ulrich Drepper + + * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG. + +1999-04-10 Mark Kettenis + + * sysdeps/mach/hurd/Dist: Add clk_tck.c. + +1999-04-10 Ulrich Drepper + + * iconvdata/Makefile (modules): Add TIS-620. + (distribute): Add tis-620.c. + (gen-8bit-gap-modules): tis-620. + * iconvdata/tis-620.c: New file. + * iconvdata/gconv-modules: Add TIS-620 entries. + + * iconvdata/asmo_449.c: Correct comment. + +1999-04-10 Andreas Jaeger + + * manual/install.texi (Configuring and compiling): Comment out + description of --disable-static since this doesn't work currently + (see change by Ulrich Drepper on 1998-12-07 for configure.in). + +1999-04-10 Ulrich Drepper + + * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to + use binary search. + Based on a patch by Jakub Jelinek . + +1999-04-08 Andreas Jaeger + + * scripts/test-installation.pl (installation_problem): Skip + libnss1_* libraries from glibc-compat add-on. + +1999-04-07 H.J. Lu + + * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for + libstdc++ 2.7.2. + * posix/Versions (__waitpid): Likewise. + +1999-04-08 Andreas Jaeger + + * manual/install.texi (Reporting Bugs): Add section about reported + bugs and correct email address of glibcbug script. + +1999-04-01 Thorsten Kukuk + + * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1 + * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and + xdr_u_longlong_t. Based on patch from Dan Shechter + . + * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t + * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions. + + * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code. + +1999-04-07 Andreas Jaeger + + * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return + directly if getdents returns with error set. + +1999-04-05 Andreas Jaeger + + * locale/langinfo.h (THOUSEP): Rename second occurence of + THOUSANDS_SEP to THOUSEP. + Reported by Roman Belenov . + +1999-04-05 Roland McGrath + + * hurd/STATUS: File removed. Moved items that are still relevant into + TODO list in hurd source. + +1999-03-26 Mark Kettenis + + * sysdeps/mach/hurd/bits/time.h: New file. + * sysdeps/mach/hurd/getrusage.c: New file. + * sysdeps/mach/hurd/clk_tck.c: New file. + * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck. + * sysdeps/mach/hurd/Makefile [$(subdir) = posix] + (sysdep_routines): Add clk_tck. + * sysdeps/mach/hurd/times.c: Removed, since getrusage is now + implemented. + +1999-04-02 Ulrich Drepper + + * misc/syslog.c (closelog_internal): Do not reset LogTag here. + (closelog): But instead here. + Patch by Alan Curry [PR libc/1061]. + +1999-04-02 Andreas Jaeger + + * elf/Makefile (CFLAGS-multiload.c): Change to allow building in + the source directory. Fixes PR libc/1059. + +1999-04-01 Andreas Jaeger + + * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string. + * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise. + +1999-04-01 Ulrich Drepper + + * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15. + * iconvdata/testdata/ISO-8859-14: New file. + * iconvdata/testdata/ISO-8859-14..UTF8: New file. + * iconvdata/testdata/ISO-8859-15: New file. + * iconvdata/testdata/ISO-8859-15..UTF8: New file. + +1999-03-31 Ulrich Drepper + + * iconvdata/testdata/CP1258: New file. + * iconvdata/testdata/CP1258..UTF8: New file. + * iconvdata/TESTS: Add CP1258 entry. + + * iconvdata/cp874.h (to_ucs4): Add Euro sign. + + * timezone/africa: Update from tzdata1999d. + * timezone/europe: Likewise. + * timezone/northamerica: Likewise. + +1999-03-31 Mark Kettenis + + * login/programs/pt_chown.c (main): Save effective user ID before + dropping priviliges and use this to check if the program is + properly installed. + +1999-03-31 Ulrich Drepper + + * iconvdata/testdata/CP1254: Update for charmap changes. + * iconvdata/testdata/CP1254..UTF8: Likewise. + * iconvdata/testdata/CP1255: Likewise. + * iconvdata/testdata/CP1255..UTF8: Likewise. + * iconvdata/testdata/CP1256: Likewise. + * iconvdata/testdata/CP1256..UTF8: Likewise. + * iconvdata/testdata/CP1257: Likewise. + * iconvdata/testdata/CP1257..UTF8: Likewise. + + * iconvdata/Makefile (distribute): Remove cp1258.h. + (gen-8bit-gap-modules): Add cp1258. + * iconvdata/cp1258.h: Removed. + +1999-03-30 Ulrich Drepper + + * timezone/tst-timezone.c (tests): Add more cases. + (check_tzvars): Mark errors clearer. + (main): Likewise. + +1999-03-30 20:59 -0500 Zack Weinberg + + * login/programs/pt_chown.c: Drop privileges if invoked with + arguments. Don't close the master pty. + +1999-03-30 Ulrich Drepper + + * time/tzfile.c (__tzfile_read): Process transitions from the rear. + Minor optimization. + +1999-03-29 Ulrich Drepper + + * elf/rtld.c (process_envvars): Do not automatically prevent lazy + relocation for SUID binaries. + +1999-03-29 Paul Eggert + + * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain + while in child process. + +1999-03-29 Jakub Jelinek + + * sysdeps/sparc/sparc32/sparcv8/Makefile: New file. + * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y. + * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise. + * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise. + * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise. + + * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file. + * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file. + * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file. + * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file. + * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file. + * sysdeps/sparc/sparc32/sparcv9/memset.S: New file. + * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file. + * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file. + * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file. + * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file. + * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file. + * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file. + * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file. + * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file. + * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file. + * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file. + * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file. + * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file. + * sysdeps/sparc/sparc32/sparcv9/rem.S: New file. + * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file. + * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file. + * sysdeps/sparc/sparc32/sparcv9/umul.S: New file. + * sysdeps/sparc/sparc32/sparcv9/urem.S: New file. + * sysdeps/sparc/sparc32/sparcv9/Makefile: New file. + * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file. + * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file. + + * sysdeps/sparc/sparc32/bcopy.c: New file. + * sysdeps/sparc/sparc32/bzero.c: New file. + * sysdeps/sparc/sparc32/memchr.S: New file. + * sysdeps/sparc/sparc32/memcpy.S: New file. + * sysdeps/sparc/sparc32/memmove.c: New file. + * sysdeps/sparc/sparc32/memset.S: New file. + * sysdeps/sparc/sparc32/stpcpy.S: New file. + * sysdeps/sparc/sparc32/strchr.S: New file. + * sysdeps/sparc/sparc32/strrchr.c: New file. + * sysdeps/sparc/sparc32/strcpy.S: New file. + * sysdeps/sparc/sparc32/strlen.S: New file. + * sysdeps/sparc/sparc32/strcat.S: New file. + * sysdeps/sparc/sparc32/strcmp.S: New file. + + * sysdeps/sparc/sparc64/bcopy.c: New file. + * sysdeps/sparc/sparc64/bzero.c: New file. + * sysdeps/sparc/sparc64/memchr.S: New file. + * sysdeps/sparc/sparc64/memcmp.S: New file. + * sysdeps/sparc/sparc64/memcpy.S: New file. + * sysdeps/sparc/sparc64/memset.S: New file. + * sysdeps/sparc/sparc64/stpcpy.S: New file. + * sysdeps/sparc/sparc64/strcat.S: New file. + * sysdeps/sparc/sparc64/strchr.S: New file. + * sysdeps/sparc/sparc64/strcmp.S: New file. + * sysdeps/sparc/sparc64/strcpy.S: New file. + * sysdeps/sparc/sparc64/strcspn.S: New file. + * sysdeps/sparc/sparc64/strlen.S: New file. + * sysdeps/sparc/sparc64/strncpy.S: New file. + * sysdeps/sparc/sparc64/strpbrk.S: New file. + * sysdeps/sparc/sparc64/strrchr.c: New file. + * sysdeps/sparc/sparc64/strspn.S: New file. + * sysdeps/sparc/sparc64/stpncpy.S: New file. + * sysdeps/sparc/sparc64/strncmp.S: New file. + + * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os): + Append -fPIC, don't replace. + + * configure.in: Recognize sparcv8plus / sparcv9. + +1999-03-27 Andreas Jaeger + + * malloc/obstack.h (obstack_free): Explicitly convert __obj to + char * to avoid C++ warning. + Patch by yasushi@cs.washington.edu [PR libc/1035]. + +1999-03-29 Andreas Jaeger + + * manual/filesys.texi (Temporary Files): mktemp and mkstemp are + declared in stdlib.h, correct return value of mkstemp. + Reported by Andries Brouwer . + + * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines + from Linux 2.2.5. + +1999-03-28 Andreas Jaeger + + * misc/regexp.h (compile): Cast some pointers to (char *) to avoid + C++ warning. + + * ctype/ctype.h (tolower, toupper): Add __THROW declaration to + inline functions. Closes PR libc/1049. + +1999-03-25 Andreas Jaeger + + * timezone/README: Update from tzdata1999c and tzcode1999c. + + * timezone/africa: Update from tzdata1999c. + * timezone/antarctica: Likewise. * timezone/asia: Likewise. * timezone/australasia: Likewise. * timezone/europe: Likewise. * timezone/northamerica: Likewise. * timezone/southamerica: Likewise. + * timezone/zone.tab: Likewise. - * po/fr.po: Update from translation team. - * po/de.po: Likewise. + * timezone/zic.c: Update from tzcode1999c. - * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove - last parameter. Move code to add map to global scope from here... - * elf/dl-open.c (dl_open_worker): ...here. - * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps. - * elf/rtld.c: Adjust call to _dl_map_object_deps. +1999-03-26 Andreas Schwab - * locale/programs/ld-collate.c (collate_read): Fix warning. + * Makerules: Add $(common-objpfx)Versions.all to common-generated + outside of ifndef avoid-generated. - * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum - values and macros for register names. + * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes + in iofdopen.c. + * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in + iofopen.c. + * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes + in iofclose.c. + * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync, + _IO_old_file_seekoff): Bring over recent changes in fileops.c. - * libio/iofopncook.c (_IO_cookie_seek): Return error only if value - returned by seek cookie function is -1. +1999-03-26 Mark Kettenis -2000-03-14 Andreas Jaeger + * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script + if we build the profiled library. - * locale/localeconv.c (localeconv): Fix typo. - Reported by Andre Charbonneau . +1999-03-26 Andreas Schwab -2000-03-14 Ulrich Drepper + * math/Makefile (gmp-objs): Add inlines. Reported by Andreas + Jaeger - * iconv/skeleton.c: Increment __invocation_counter in inner loop - since modules depend on it counting the number of times the conversion - function got called. +1999-03-25 Roland McGrath - * iconv/gconv_open.c: Optimize loop to setup step data structure. + * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu] + (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START. + This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386. - * iconv/gconv.h: Pretty print. +1999-03-24 Roland McGrath -2000-03-04 Ulrich Drepper + * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule + works properly in subdirs. - * posix/wordexp-test.c: Correct one of the tests added in the last - change. Really get the root passwd entry to check again ~root. +1999-03-23 Roland McGrath -2000-03-10 Andreas Jaeger + * sysdeps/mach/hurd/Makefile: Undo last change. + [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so. + [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so. - * manual/filesys.texi (Working Directory): Fix last patch. - Patch by Martin Buchholz . + * mach/Machrules (+preinit, +postinit, +interp, + LDFLAGS-$(interface.so)): Variables removed. Interface libraries get + linked just like other shared libraries. + (interface.so): Fix typo in defn, so it works. + ($(objpfx)$(interface.so)): Make it depend on libc.so. -2000-03-10 Andreas Jaeger +1999-03-21 Roland McGrath - * manual/creature.texi (Feature Test Macros): Fix language. + * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on + $(link-rpcuserlibs). -2000-03-10 Roland McGrath +1999-03-22 Andreas Schwab - * mach/devstream.c (devstream_write, devstream_read): New functions. - (input, output): Functions removed. - (mach_open_devstream): Use devstream_{read,write} as cookie functions, - using only the vanilla fopencookie interface. + * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name), + $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable + targets if not building shared libraries. - * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define - as macro for __io_functions. - (funcsio): Use cookie_io_functions_t type name. - (fopenport): Renamed from __fopenport. Rewrite to call fopencookie. +1999-03-22 Andreas Schwab - * libio/iofopncook.c (_IO_cookie_init): New function, broken out of - fopencookie. - (fopencookie): Use it. - * libio/libio.h: Declare _IO_cookie_init. - * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using - _IO_cookie_init. + * configure.in: Also look in $PATH when searching for + install-info. Remove autoconf bug workaround and require autoconf + 2.13. - * libio/libio.h (__io_seek_fn): Fix second argument type - to be a pointer, in line with the manual and the old stdio. - * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller. +1999-03-21 Andreas Jaeger - * sysdeps/generic/bits/stdio-lock.h: New file. - This is a stub with #error, but that's better than no file at all. + * db/Makefile: Don't try to install shared library link if not + building with shared libs. -2000-03-09 Martin Buchholz +1999-03-19 Andreas Jaeger - * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes. - * manual/message.texi (Using gettextized software): Doc Fixes. - * manual/message.texi (Message Translation): Doc Fixes. - * manual/filesys.texi (File Size): Doc Fixes. - * manual/charset.texi (glibc iconv Implementation): Doc Fixes. - * locale/programs/ld-collate.c (collate_output): Doc Fixes. - * iconv/gconv_db.c (find_derivation): Doc Fixes. - * manual/install.texi: Doc Fixes. - * manual/search.texi (Hash Search Function): Doc Fixes. - * manual/stdio.texi (Output Conversion Syntax): Doc Fixes. - * FAQ.in: Doc Fixes. - * config.h.in: Doc Fixes. - * sysdeps/generic/dl-sysdep.c: Doc Fixes. - Doc Fixes. `allows to' is not correct English. - - * elf/rtld.c: Doc fixes. - * manual/creature.texi (Feature Test Macros): Doc fixes. - * manual/memory.texi (Hooks for Malloc): Doc Fixes. - - * manual/filesys.texi (Working Directory): Check for ERANGE to - avoid infloop. - -2000-02-23 Roland McGrath - - * string/argz-stringify.c (__argz_stringify): Fix loop termination - conditions so as not to clobber the final '\0' when there is only one - element in the vector. - -2000-03-09 Roland McGrath - - * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test, - broken by 2000-02-27 change. - - * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros. - -2000-02-23 Roland McGrath - - * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from - argument type, for 2000-02-22 change in signal/signal.h declaration. - -2000-03-09 Roland McGrath - - * sysdeps/generic/getdents64.c (__getdirentries64): Renamed - to getdirentries64 (no __), since the Linux implementation - has no __ name, and there is no declaration for the __ name. - - * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro. - - * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up - sed regexp so as not to break directory names including /../ within. - - * sysdeps/unix/bsd/bits/waitflags.h: File removed. - The sysdeps/generic file is right for BSD. This file was in fact the - Hurd file, but the only difference was the WNOREAP flag that was never - actually implemented or used anywhere. - - * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these, - since AC_PATH_PROG already does it for us. - (PERL): Rewrite check added in 2000-02-29 change for syntactic - correctness and sh portability. I replaced the broken check - with a more sensible implementation of the apparently intended - semantics, which might still be questionable. Using expr causes - a non-numeric value for `perl -V:apiversion` to be accepted, - refusing to use only a perl that reports a number less than 5; - on my system, perl (5.004_04) -V:apiversion produces UNKNOWN. - * configure: Regenerated. - -2000-03-08 Andreas Jaeger - - * manual/crypt.texi: Fix paths. - -2000-03-07 Andreas Jaeger - - * resolv/netdb.h: The descriptions of rresvport and rresvport_af - were swapped. - Patch by YOSHIFUJI Hideaki , closes PR - libc/1636. - -2000-03-06 Andreas Jaeger - - * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error - in __sgn1l, otherwise g++ fails to parse this. - Reported by Sean Chen . - -2000-03-03 Geoff Keating - - * configure.in: Compute sizeof-long-double. - * configure: Regenerated. - * config.make.in: Make sizeof-long-double available to sub-makes. - -2000-03-03 Ulrich Drepper - - * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality - call. - -2000-03-03 Geoff Keating - - * Makeconfig (rpath-dirs): Add crypt. - (all-subdirs): Remove md5crypt. - * crypt/sysdeps/unix/crypt.c: Move to crypt/. - * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/. - * sysdeps/generic/crypt-entry.c: Delete. - * crypt/sysdeps/unix/crypt.h: Move to crypt/. - * sysdeps/generic/crypt.h: Delete. - * crypt/sysdeps/unix/crypt-private.h: Move to crypt/. - * crypt/sysdeps/unix/crypt_util.c: Move to crypt/. - * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/. - * sysdeps/generic/des_impl.c: Delete. - * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/. - * crypt/sysdeps: Delete. - * crypt/crypt_util.c: Don't use `patchlevel.h'. - * md5-crypt/Versions: Move to crypt/. - * md5-crypt/md5-crypt.c: Move to crypt/. - * md5-crypt/md5.c: Move to crypt/. - * md5-crypt/md5c-test.c: Move to crypt/. - * md5-crypt/md5test.c: Move to crypt/. - * md5-crypt: Delete. - * crypt/Makefile: Adjust for new structure. - -2000-03-03 Paul Eggert - - * posix/regex.c (MB_LEN_MAX): Include to define; - define to 1 if not defined. - -2000-03-03 Andreas Jaeger - - * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp. - -2000-03-03 Andreas Jaeger - - * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE - cases. - (xdr_int64_t): Correctly handle lower half. - Fix by Sten Dahlgren , closes PR libc/1623. - -2000-03-03 Ulrich Drepper - - * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality - call. - -2000-03-02 Andreas Jaeger - - * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux - 2.3.43. - -2000-03-02 Andreas Jaeger - - * resolv/Makefile (headers): Add arpa/nameser_compat.h. - -2000-03-01 Andreas Jaeger - - * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK. - (tests): Added tst-getdate. - - * time/tst-getdate.c: New file. - - * time/datemsk: New file, needed for tst-getdate. - -2000-02-29 Cristian Gafton - - * configure.in (CCVERSION): Require at least veersion 5 of perl API. - -2000-02-17 H.J. Lu - - * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end. - - * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if + * rt/Makefile: Link against static library if no shared lib is available. - (svcudp_recv): Set up message with the new "xp_pad" field for - IP_PKTINFO. - (svcudp_reply): Support IP_PKTINFO if available. -2000-03-01 Andreas Jaeger + * localedata/Makefile: The shells scripts implementing the test + require the dynamic linker which is not available with + --disable-shared. Skip the test if --disable-shared is given. - * time/getdate.c (check_mday): Fix check for february. - Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA - , closes PR libc/1617 and PR libc/1619. + * linuxthreads/Makefile: Link test against static libpthread if no + shared lib is available. -2000-03-02 Andreas Jaeger + * iconvdata/Makefile (tests): Run iconv-test only if we're + building shared libraries. + * elf/Makefile (tests): Likewise for elf tests. - * posix/unistd.h: __THROW has to precede __attribute__, otherwise - g++ fails to parse this. - Reported by Sean Chen . + * posix/Makefile: The test frameworks globtest and wordexp-test + require the dynamic linker which is not available with + --disable-shared. Skip the test if --disable-shared is given. -2000-02-28 Ulrich Drepper + * grp/Makefile (otherlibs): For static nss build link against + necessary libs. - * io/creat.c: Moved to... - * sysdeps/generic/creat.c: ...here. - * io/creat64.c: Moved to... - * sysdeps/generic/creat64.c: ...here. - * io/lockf.c: Moved to... - * sysdeps/generic/lockf.c: ...here. +1999-03-19 Andreas Jaeger - * crypt/crypt.texi: Moved to... - * manual/crypt.texi: ...here. - * crypt/examples/genpass.c: Moved to... - * manual/examples/genpass.c: ...here. - * crypt/examples/mygenpass.c: Moved to... - * manual/examples/mygenpass.c: ...here. - * crypt/examples/testpass.c: Moved to... - * manual/examples/testpass.c: ...here. + * debug/Makefile (install-bin): Install and build catchsegv only + if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR + libc/965]. - * manual/Makefile (chapters): Add crypt. - * manual/conf.texi: Add usual header for not-last chapter. - * manual/crypt.texi: Add special header for last chapter. +1999-03-20 Andreas Schwab -2000-02-28 Geoff Keating + * time/tzfile.c (__tzfile_read): Handle the case where there are + transitions but no DST. - * Makeconfig (all-subdirs): Add 'crypt' subdirectory. - * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't - complain if there is no crypt add-on. - * crypt/configure: Removed. +1999-03-20 Roland McGrath - * crypt/crypt.texi: Update documentation of US export restrictions - to match the 14 Jan 2000 regulations. + * mach/Machrules (extra-libs-others): Add $(interface-library) here + too, so it gets built in the others pass rather than the lib pass. + This is necessary since the RPC libraries need to be linked against + libc. -2000-02-28 Geoff Keating +1999-03-19 Roland McGrath - * crypt: New subdirectory, merged in from the crypt add-on. + * sysdeps/generic/segfault.c: Include for + _itoa_word decl. -2000-02-28 Ulrich Drepper + * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable. + ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs). + ($(link-rpcuserlibs)): New static pattern rule; link intermediate + versions of lib{mach,hurd}user.so without reference to libc.so, + then link libc.so against that to get deps and symbol versions, then + finally link real lib*user.so against libc.so. - * include/unistd.h: Add __rmdir and __mkdir prototypes. + * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW): + Support whole-file locking (only) by using the file_lock RPC. This + has very wrong semantics, but is better than nothing for the time + being. (Correct POSIX.1 locking will require new RPCs in the Hurd + protocols that will be somewhat hairy to specify.) + +1999-03-17 Mark Kettenis + + * sysdeps/mach/hurd/ptsname.c: New file. + +1999-03-20 Andreas Schwab + + * timezone/asia: Fix rule in Asia/Nicosia entry. + +1999-03-16 Andreas Jaeger + + * manual/getopt.texi (Using Getopt): Explain "::" in option + string. Reported by Yuri Niyazov . + +1999-03-18 Thorsten Kukuk + + * sunrpc/clnt_unix.c: Fix creation of parameters for + sendmsg/recvmsg on non intel platforms. + * sunrpc/svc_unix.c: Likewise. + +1999-03-18 Philip Blundell + + * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386 + implementation. + +1999-03-19 Andreas Jaeger + + * timezone/africa: Update from tzdata1999b. + * timezone/asia: Likewise. + * timezone/australasia: Likewise. + * timezone/europe: Likewise. + * timezone/northamerica: Likewise. + * timezone/southamerica: Likewise. + * timezone/zone.tab: Likewise. + + * timezone/README: Mention tzdata1999b. + +1999-03-17 Ulrich Drepper + + * sysdeps/generic/segfault.c (write_strsignal): New function. + (catch_segfault): Use it instead of calling strsignal. + +1999-03-16 Andreas Jaeger + + * iconv/gconv.c (__gconv): Change type of last_start to unsigned + char to avoid warning. + +1999-03-15 Ulrich Drepper + + * iconv/iconv.c (iconv): Correctly cast parameters for __gconv. + + * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of + outbuf to unsigned char to avoid warning. + +1999-03-11 David S. Miller + + * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable + masks. + * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise. + +1999-03-15 Ulrich Drepper + + * iconv/gconv.h (gconv_fct): Change parameter from `char' to + `unsigned char'. + (gconv_step_data): Likewise. + * iconv/gconv_int.h (__gconv): Likewise. + (__BUILINT_TRANS): Likewise. + * iconv/gconv.c (__gconv): Likewise. + * iconv/iconv.c (iconv): Add casts for call of __gconv. + * iconv/skeleton.c: Change local parameters and variable from `char' to + `unsigned char'. Remove casts from calls into modules. + * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from + `char' to `unsigned char'. + * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'. + * wcsmbs/mbrtowc.c: Likewise. + * wcsmbs/mbsnrtowcs.c: Likewise. + * wcsmbs/mbsrtowcs.c: Likewise. + * wcsmbs/wcrtomb.c: Likewise. + * wcsmbs/wcsnrtombs.c: Likewise. + * wcsmbs/wcsrtombs.c: Likewise. + * wcsmbs/wctob.c: Likewise. + +1999-03-15 Mark Kettenis + + * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add + __hurd_sigthread_stack_base, __hurd_sigthread_stack_end, + __hurd_sigthread_variables, __hurd_threadvar_stack_mask, + __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd, + __getpid, __libc_read, __libc_write, __lseek, __mmap, __open, + __xstat, _exit, _hurd_intr_rpc_mach_msg and abort. + +1999-03-15 Mark Kettenis + + * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to + _hurd_select if TIMEMOUT is -1. + +1999-03-15 Mark Kettenis + + * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL. + +1999-03-15 Ulrich Drepper + + * elf/dl-load.c: Compute rtld_search_dir array size correctly. + Reported by Yasushi Saito . + +1999-03-15 Andreas Schwab + + * manual/libc.texinfo: Undo last change for now. + +1999-03-15 Ulrich Drepper + + * intl/locale.alias: Add entries for Croatian. + Patch by Tomislav Vujec . + +1999-03-13 Mark Kettenis + + * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check + if the opened master pty really is a pty. `isatty' checks for + tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE + if we are out of pty's. + +1999-03-13 Mark Kettenis + + * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just + opened file is closed on exec. + * login/utmp_daemon.c (setutent_daemon): Likewise for the just + opened socket. + +1999-03-13 Andreas Jaeger + + * manual/llio.texi (File Position Primitive): Reformat @end + command. Patch by Bruno Haible [PR libc/1020]. + +1999-03-14 Ulrich Drepper + + * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no + entry is found. + * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. + * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise. + + * locale/programs/localedef.c (main): Initialize `cat' to please + the compiler. + +1999-03-14 Roland McGrath + + * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW, + check for root-owned symlinks and reject them too. + +1999-03-09 Andreas Schwab + + * stdio-common/printf_fphex.c: Move to ... + * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of + extended precision number. + * sysdeps/m68k/printf_fphex.c: New file. + +1999-03-09 Andreas Schwab + + * manual/stdio.texi: Fix typos. + +1999-03-09 Ulrich Drepper + + * version.h (VERSION): Bump to 2.1.1. + +1999-03-09 Thorsten Kukuk + + * nis/ypclnt.c: Try only twice to connect to NIS server. + +1999-03-09 Roland McGrath + + * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change. + +1999-03-09 Andreas Schwab + + * stdlib/strtod.c (round_and_return): Fix rounding of denormals. + (DENORM_EXP): New define. Use it as the exponent for a denormal. + * stdlib/strtold.c: Moved to ... + * sysdeps/generic/strtold.c: ... here. + * sysdeps/m68k/strtold.c: New file. + +1999-03-09 Andreas Schwab + + * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal + point if the precision is zero, even if the mantissa is non-zero. + +1999-03-09 Roland McGrath + + * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the + arguments into the request message buffer inside `send_rpc' + subfunction. We must repeat the marshalling when retrying the RPC + after a SIGTTOU delivery. + + * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code + path when there is no ctty port. + * hurd/ctty-output.c (_hurd_ctty_output): Likewise. + Move sigstate check inside loop so we recheck after handling a signal. + +1999-03-05 Andreas Jaeger + + * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and + O_EXLOCK are BSD extensions. + Reported by Jochen Voss [PR libc/985]. + +1999-03-08 Ulrich Drepper + + * manual/signal.texi (Termination in Handler): Correct example. + Install default handler before reraising the signal. + Patch by Jochen Voss . + +1999-03-08 Roland McGrath + + * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being + null, in which case send an empty string. + +1999-03-02 Mark Kettenis + + * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the + backward compatibility EH functions to be linked when using + gcc-2.8.1. Patch by Zack Weinberg . + +1999-03-08 Andreas Schwab + + * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change. + /dev/pts status may change during runtime. + +1999-03-08 Andreas Schwab + + * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last + change. /dev/pts status can change during runtime. + +1999-03-07 Thorsten Kukuk + + * sunrpc/svc_tcp.c (readtcp): go into fatal error state if + poll reports error. + * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls, + add some more sanity checks. + * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for + parser prototype. + +1999-03-05 Thorsten Kukuk + + * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops, + change XDR_GETINT32/XDR_PUTINT32 to sue new functions. + * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32. + * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32. + * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function + for x_getint32. + * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32. + * nis/nis_print.c: Fix ctime argument for platforms where + sizeof (time_t) != sizeof (int). + +1999-03-07 Mark Kettenis + + * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use + CLOCKS_PER_SEC instead of CLK_TCK. + +1999-03-05 Ulrich Drepper + + * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember + whether /dev/pts is available. + * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of + dev_pts_available. + + * posix/globtest.sh: Make common_objpfx path absolute and and db2 + and hesiod directory to library path [PR libc/1007]. + +1999-03-05 Andreas Jaeger + + * resolv/inet_addr.c (inet_aton): Don't allow componets > + 255. Patch by Bruno Haible [PR libc/1010]. + +1999-03-05 Geoff Keating + + * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup): + DT_PLTGOT has already been relocated. + (__elf_machine_fixup_plt): Likewise. + Minor cleanups. + +1999-03-04 Roland McGrath + + * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix. + +1999-03-03 Ulrich Drepper + + * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes + and fold string to uppercase [PR libc/1005]. + +1999-03-03 Andreas Schwab + + * elf/dl-load.c (lose): Fix return type. + +1999-03-03 Roland McGrath + + * sysdeps/mach/hurd/bits/fcntl.h + [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros. + * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set, + set O_NOTRANS as well. + (__hurd_file_name_lookup_retry): At successful end of lookup, + if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if + it is a translated node not owned by root. + (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash + on the file name passed to LOOKUP. + +1999-03-02 Ulrich Drepper + + * manual/time.texi (High Resolution Timer): Correct computation in + example. Reported by jjf@devel.cemsys.com. + +1999-03-02 Philip Blundell + + * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT + entry is already relocated. + +1999-03-01 Andreas Jaeger + + * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported + by Marcus Harnisch . + +1999-03-01 Andreas Jaeger + + * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to + uc_link which is the right name according to Unix98. + Reported by Craig Metz [PR libc/1001]. + * sysdeps/arm/sys/ucontext.h (ucontext): Likewise. + * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise. + * sysdeps/mips/sys/ucontext.h (ucontext): Likewise. + * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise. + * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise. + * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise. + +1999-02-25 Andreas Schwab + + * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of + @ifinfo. + +1999-02-25 Andreas Schwab + + * iconvdata/Makefile: Always include iconv-rules, but disable rule + to regenerate it if avoid-generated. + + * Makeconfig: Always include sys-dirs, but disable rule to + regenerate it when avoid-generated. + + * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around + rule to generate sysd-syscalls. + + * elf/Makefile (generated): Remove $(objpfx) from names. + +1999-02-28 Mark Kettenis + + * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the + actual length if the adress length is smaller than the input + value. Change type of *LEN paramater to socklen_t. + * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise. + * sysdeps/mach/hurd/accept.c (accept): Likewise. + * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise. + * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN + paramater to socklen_t. + +1999-02-28 Roland McGrath + + * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request" + msg_sig_post RPC (with SIGNO=0), rather than generating signal (again) + with the RPC. + +1999-02-27 Roland McGrath + + * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs, + __get_phys_pages): Cast &HBI to silence warning. + + * hurd/Makefile (routines): Add hurdchdir and hurdfchdir. + * hurd/hurdchdir.c: New file. + * hurd/hurdfchdir.c: New file. + * sysdeps/mach/hurd/chroot.c: Call + _hurd_change_directory_port_from_name to do the work. + * sysdeps/mach/hurd/chdir.c: Likewise. + * sysdeps/mach/hurd/fchdir.c: Call + _hurd_change_directory_port_from_fd to do the work. + * hurd/fchroot.c: Likewise. + * hurd/hurd.h: Declare them. + +1999-02-27 Ulrich Drepper + + * elf/dl-load.c (lose): Add more comments to explain the `why'. + (_dl_map_object): Remove redundant test. + +1999-02-27 Roland McGrath + + * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't + try to _hurd_port_free a lower-numbered descriptor that was not in any + fd_set. + +1999-02-26 Andreas Jaeger + + * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype + declaration for ____wcstod_l_internal. + + * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include for + __strtod_internal prototype. + * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH] + (____strtold_l_internal): Add prototype declaration. + (__strtold_l): Call correct function. + +1999-02-24 Ulrich Drepper + + * elf/elf.h: Add 32bit HPPA definitions. + +1999-02-23 Andreas Schwab + + * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a + non-checked heap is restored when malloc checking was requested by + the user. + (struct malloc_state): Add using_malloc_checking. + (MALLOC_STATE_VERSION): Increment minor. + (using_malloc_checking, disallow_malloc_check): New variables. + (__malloc_check_init): Use them. + (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so + that it can the chunk is properly instrumented when malloc + checking is enabled. Set the new using_malloc_checking field. + (malloc_hook_ini): Correct signature when _LIBC is not defined. + +1999-02-23 Andreas Schwab + + * sysdeps/unix/sysv/linux/i386/dl-librecon.h + (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second + time. + + * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main. + Don't call elf_get_dynamic_info and _dl_setup_hash a second time + if ld.so is the main program. + +1999-02-23 Ulrich Drepper + + * stdio-common/vfprintf.c (vfprintf): If precision or width is too + large for work_buffer, allocate new buffer. + (printf_unknown): Likewise. [PR libc/988] + +1999-02-22 Ulrich Drepper + + * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat + instead of stat and fstat. + * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise. + +1999-02-23 Andreas Schwab + + * elf/dl-error.c (_dl_signal_cerror): New function. + (_dl_signal_error): Don't call receiver function. + * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror + instead of _dl_signal_error when reporting references to undefined + symbols or versions. + (_dl_lookup_versioned_symbol): Likewise. + (_dl_lookup_versioned_symbol_skip): Likewise. + * elf/dl-version.c (match_symbol): Likewise. + + * elf/ldsodefs.h: Declare _dl_signal_cerror. + +1999-02-22 Ulrich Drepper + + * misc/getttyent.c (getttyent): Release lock on stream later to + also protect global variable zapchar. + + * sysdeps/unix/sysv/linux/clock.c: Don't test return value of + __times [PR libc/990]. + +1999-02-21 David S. Miller + + * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix + parentheses in Feb 2 changes. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise. + +1999-02-21 Andreas Jaeger + + * sysdeps/generic/glob.c (glob): Save previous errno. + +1999-02-21 Ulrich Drepper + + * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant + lookup functions if it is too small. + +1999-02-20 Ulrich Drepper + + * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created + for tracing to the scope lists. + * elf/do-lookup.h: Remove test for l_opencount == 0 after above change. + DT_SYMTAB is always available according to ELF spec. + + * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup + call test whether there is any scope left. + (_dl_lookup_versioned_symbol_skip): Likewise. + + * elf/Makefile (distribute): Add do-lookup.h. + * elf/do-lookup.h: New file. Split out from dl-lookup.c. + * elf/dl-lookup.c: Move do_lookup function in separate file and + include the file twice, for handling versioning and without it. + + * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT + entry is already relocated. + * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise. + * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise. + * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise. + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup): + Likewise. + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup): + Likewise. + * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup): + Likewise. + + * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with + load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL, + DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry. + (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether + rel and rela relocations can both happen and skip one test if this + is not possible. + (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC + appropriately. + * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are + already relocated. + * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already + relocated. + * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated. + (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument. + (_dl_map_object): DT_STRTAB entry is already relocated. + * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are + already relocated. + * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already + relocated. + * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and + DT_VERSYM entries are already relocated. + (profile_fixup): Likewise. + * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace + all users. + (match_symbol): DT_STRTAB entry is already relocated. + (_dl_check_map_versions): Likewise. Also fo DT_VERSYM. + * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be + relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated. + * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info. + (find_needed): DT_STRTAB entry is already relocated. + (dl_main): Pass extra argument to elf_get_dynamic_info. + DT_STRTAB entry is already relocated. + * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and + DT_PLTGOT entries are already relocated. + (elf_machine_rela): Likewise for DT_SYMTAB. + * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already + relocated. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. + * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise. + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise. + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise. + * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise. + * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise. + (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB. + * sysdeps/mips/mips64/dl-machine.h: Likewise. + + * grp/initgroups.c (initgroups): If function in current module was + successful don't stop but continue to process to get all the groups. + + * elf/dl-load.c (_dl_map_object_from_fd): Use global + _dl_pf_to_proot array to convert p_flags value. + * elf/dl-reloc.c (_dl_relocate_object): Likewise. + + * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of + loop to clear `info'. + + * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc + do the work and don't use inline assembler. + +1999-02-19 Ulrich Drepper + + * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__. + * elf/dl-load.c (lose): Make it a function at the toplevel, mark as + noreturn, and prevent it from being inlined. + Define LOSE appropriately. + (_dl_map_object_from_fd): Compare all bytes in e_ident at once. + Optimize decoding of p_flags for certain platforms. + +1999-02-19 Philip Blundell + + * Makeconfig (link-libc): When doing a static link, make sure that + libgcc.a is included both before and after libc.a. + +1999-02-18 Thorsten Kukuk + + * nis/nss_compat/compat-spwd.c: Fix handling of default values for + sp_warn, sp_inact, sp_expire and sp_flag. + +1999-02-18 Ulrich Drepper + + * elf/link.h (link_map): Add l_dev and l_ino. + * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly + loaded shared object with all loaded objects. Initialize l_ino + and l_dev in case it's new. + * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main + object. + * elf/Makefile: Compile and run new test. + * elf/multiload.c: New file. + + * nss/nsswitch.h (service_user): Change name field from const char * + to char[0]. + (name_database_entry): Likewise. + * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation + for change of `service_user'. + (nss_getline): Adjust memory allocation for change of + `name_database_entry'. + + * catgets/catgets.c: Correctly handle NLSPATH from environment + [PR libc/980]. + + * io/Makefile (routines): Add lock64. + * io/Versions: Add lockf64 for GLIBC_2.1.1. + * sysdeps/generic/lockf64.c: New file. + +1999-02-16 Ulrich Drepper + + * string/bits/string2.h: Only use strncmp optimization if count + argument is constant. + +1999-02-16 Roland McGrath + + * sysdeps/mach/hurd/revoke.c: New file. + +1999-02-16 Ulrich Drepper + + * wctype/wctype.h (_ISwbit): Cast result of shift operations to + int to avoid warning about `ISO C restricts enumerator values to + range of `int''. + +1999-02-16 Andreas Jaeger + + * elf/dlfcn.h: Fix typo. + * sysdeps/generic/bits/dlfcn.h: Likewise. + * sysdeps/mips/bits/dlfcn.h: Likewise. + +1999-02-16 Ulrich Drepper + + * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags + for the case N == 0. + + * db2/Makefile (distribute): Add LICENSE. + +1999-02-03 Jeff Bailey + + * sysdeps/unix/make_errlist.c: Add i18n and copyright to + generated files. + + * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo. + +1999-02-16 Ulrich Drepper + + * time/mktime.c: Use ISO C form for function definitions and + remove unnecessary prototypes. + + * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change. + + * time/time.h: Avoid unneccesary #ifdef. + +1999-02-15 Geoff Keating + + * stdio-common/_itoa.c (_itoa): Correct parameters to + udiv_qrnnd_preinv. + +1999-02-14 Andreas Jaeger + + * misc/sys/cdefs.h: Undefine __PMT since it might be defined + before (e.g. in glob.h). + Closes PR libc/959. + +1999-02-16 Andreas Jaeger + + * sysdeps/mips/fpu_control.h: Fix typo. + Patch by Sylvain Pion . + Remove __setfpucw. + +1999-02-10 Roland McGrath + + * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on + the "unused" ends of the sockets. Let pipes be bidirectional. + +1999-02-15 Ulrich Drepper + + * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for + invalid ai_flags. + +1999-02-15 Andreas Jaeger + + * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by + Jochen Voss [PR libc/969]. + + * manual/setjmp.texi (Non-Local Exits and Signals): Fix + typo. Patch by Jochen Voss [PR libc/970]. + +1999-02-15 Ulrich Drepper + + * string/Versions: Add __strverscmp to GLIBC_2.1.1. + +1999-02-13 Andreas Schwab + + * misc/syslog.c (vsyslog): Remember errno for %m format. Fix + check for priority mask. + +1999-02-14 Ulrich Drepper + + * resolv/netdb.h (AI_NUMERICHOST): Change to 4. + Reported by Craig Metz . + +1999-02-14 Andreas Jaeger + + * stdio-common/Makefile (tests): tllformat added. + + * stdio-common/tllformat.c: New program, based on tiformat.c with + examples from Franz Sirl . + +1999-02-14 Andreas Schwab + + * posix/test-vfork.c: Fix exit status test. + +1999-02-14 Andreas Jaeger + + * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some + missing cases. Reported by Craig Metz [PR libc/964]. + +1999-02-14 Andreas Schwab + + * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead + of separare explicit comparisons. + +1999-02-11 Andreas Schwab + + * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet + defined. + + * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet + defined. + +1999-02-09 Ulrich Drepper + + * po/el.po: Update from translation team. + +1999-02-09 Andreas Jaeger + + * intl/locale.alias: Fix slovenian entry [PR libc/948]. + +1999-02-09 Andreas Jaeger + + * elf/sprof.c: assert.h isn't used anymore, remove inclusion. + * inet/ruserpass.c: Likewise. + * locale/programs/stringtrans.c: Likewise. + * locale/programs/localedef.c: Likewise. + * nscd/grpcache.c: Likewise. + * nss/nss_files/files-XXX.c: Likewise. + * stdlib/canonicalize.c: Likewise. + * sysdeps/posix/sigwait.c: Likewise. + +1999-02-09 Andreas Jaeger + + * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison + even on 64 bit platforms. + + * sunrpc/clnt_tcp.c (clnttcp_call): Likewise. + Patch by Loic Prylli . + +1999-02-09 Ulrich Drepper + + * intl/dcgettext.c: Include locale.h is available. + +1999-02-08 Ulrich Drepper + + * po/nl.po: Update from translation team. + + * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value. + + * Makefile: Allow calling goals for po subdir. + + * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT + signal definitions. + + * po/el.po: New file. + +1999-02-07 Andreas Schwab + + * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant + when processing DT_SYMBOLIC objects. + +1999-02-07 Andreas Schwab + + * elf/dl-load.c (_dl_map_object_from_fd): When looking for the + program headers without PT_PHDR only require that they are + contained within one of the loaded segments. Don't use assert, + since that would be a bug in the object, not the dynamic linker. + +1999-02-08 Richard Henderson + + * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and + restore all call-clobbered fp regs. + +1999-02-08 Ulrich Drepper + + * po/cs.po: New file. + + * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for + SUID binaries. + +1999-02-07 Ulrich Drepper + + * signal/signal.h: Don't declare __libc_allocate_rtsig. + * include/signal.h: Declare __libc_allocate_rtsig here. + + * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry + point functions, not do_lookup since the later can be called more + than once. + +1999-02-03 Jakub Jelinek + + * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME + macro, so that architectures which need to add some special + offset to stack pointer can share this file. + + * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file. + + * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove. + * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common + between sparc32 and sparc64. + + * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove. + * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove. + * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common + between sparc32 and sparc64. + + * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove. + * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove. + * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common + between sparc32 and sparc64. + + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove. + * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common + between sparc32 and sparc64. + +1999-02-07 Ulrich Drepper + + * Versions.def: New version GLIBC_2.1.1 for libc. + * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1. + * stdlib/labs.c: Moved to... + * sysdeps/generic/labs.c: ...here. + * stdlib/llabs.c: Moved to... + * sysdeps/generic/llabs.c: ...here. + * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other + header. Declare _Exit. + * sysdeps/generic/_exit.c: Add alias _Exit. + * sysdeps/mach/hurd/_exit.c: Likewise. + * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise. + * sysdeps/standalone/i960/nindy960/_exit.c: Likewise. + * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise. + * sysdeps/unix/_exit.c: Likewise. + * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare + imaxdiv and imaxabs. Declare lldiv_t if necessary. + * sysdeps/wordsize-64/inttypes.h: Likewise. + * sysdeps/wordsize-32/llabs.c: New file. + * sysdeps/wordsize-32/lldiv.c: New file. + * sysdeps/wordsize-64/labs.c: New file. + * sysdeps/wordsize-64/ldiv.c: New file. + * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv. + * manual/startup.texi: Document _Exit. + +1999-02-07 Andreas Jaeger + + * nscd/cache.c: Include for inet_ntop. + +1999-02-06 Ulrich Drepper + + * Versions.def: Add versions for ld.so. + * csu/Versions: Remove __libc_stack_end here. + * elf/Versions: Split libc definitions in libc and ld.so definitions. + * elf/Makefile (ld-map): Change to ld.so.map. + * scripts/versions.awk: Recognize dot in library names. + + * ctype/ctype.h: Remove definitions of __tolower and __toupper. + Don't use __tolower and __toupper in inline functions. + Add optimizing macros for tolower and toupper. + * ctype/ctype-extn.c (_tolower): Don't use __tolower. + (_toupper): Don't use __toupper. + * ctype/ctype.c (tolower): Don't use __tolower. + (toupper): Don't use toupper. + + * nscd/cache.c (prune_cache): Correct printing of debugging messages. + + * resolv/Versions (libresolv): Export __ns_name_unpack and + __ns_name_ntop. + * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and + make it global. Change all users. Similar for ns_name_ntop. + * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in + user-provided buffer. Use __ns_name_unpack and __ns_name_ntop + directly to detect too small buffer. + * resolv/nss_dns/dns-network.c: Likewise. + + * stdio-common/Makefile (tests): Add scanf12. + * stdio-common/scanf12.c: New file. + * stdio-common/scanf12.input: New file. + * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of + floating-point correctly if the number is invalid. + + * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion + functions. + * stdio-common/printf_fp.c: Likewise. + * stdio-common/printf_fphex.c: Likewise. + * stdio-common/vfprintf.c: Likewise. -See ChangeLog.10 for earlier changes. +See ChangeLog.9 for earlier changes. diff --git a/ChangeLog.12 b/ChangeLog.12 index 2a4620e56d..356da033c3 100644 --- a/ChangeLog.12 +++ b/ChangeLog.12 @@ -1,461 +1,8172 @@ -2001-08-15 Ulrich Drepper +2000-11-09 Ulrich Drepper - * libio/iofwide.c (_IO_fwide): Don't reset file position to - beginning of file, really get current position. + * version.h (VERSION): Bump to 2.2. + (RELEASE): Set to stable. -2001-08-15 Andreas Schwab + * posix/Makefile (tst-dir-ARGS): Fix problem with compiling in + source directory. + (tst-chmod-ARGS): Likewise. - * sysdeps/m68k/m68020/atomicity.h (atomic_add): Don't allow - address register for operand 0. +2000-11-09 H.J. Lu -2001-08-14 Ulrich Drepper + * io/Versions (GLIBC_2.2): Add __open64. - * stdio-common/perror.c (perror): Use _IO_fwide instead of fwide. +2000-11-09 Jakub Jelinek - * libio/libio.h (_IO_fwide): Handle zero as second parameter more - efficiently in macro. + * locale/C-time.c (_nl_C_LC_TIME): Fix value for _NL_TIME_WEEK_1STWEEK. -2001-08-14 Jakub Jelinek +2000-11-09 Jakub Jelinek - * resolv/nss_dns/dns-host.c (RESOLVSORT): Define. - (addrsort): New function. - * resolv/gethnamaddr.c (RESOLVSORT): Define. + * locale/programs/ld-paper.c (paper_output): Fix offset into width + field. -2001-08-14 Jakub Jelinek +2000-10-27 Bruno Haible - * string/strsignal.c (free_mem): Remove. + * locale/programs/charmap.c (charmap_read): Verify ASCII + compatibility of charmap. -2001-08-14 Andreas Jaeger +2000-11-08 Ulrich Drepper - * inet/inet_ntoa.c (free_mem): Remove, it's not used anymore. - Closes PR libc/2477, reported by Dylan Alex Simon - . + * catgets/gencat.c (main): Don't use exit() to avoid warnings with + broken compilers. -2001-08-14 Ulrich Drepper + * include/features.h (__STDC_ISO_10646__): Correct value to be + 200009L. Patch by Markus Kuhn . - * locale/Makefile (aux): Add xlocale. - * locale/xlocale.c: New file. - * include/locale.c (_nl_C_locobj): Declare. - * iconv/gconv_charset.h: Use __tolower_l, __isdigit_l, __isspace_l - with _nl_C_locobj instead of tolower, isdigit, isspace. - * iconv/gconv_conf.c: Likewise. - * iconv/gconv_int.h: Likewise. - * iconv/gconv_open.c: Likewise. +2000-11-08 H.J. Lu - * locale/newlocale.c: Minor cleanups. + * pwd/Versions (GLIBC_2.1.2): Add getpwnam_r. -2001-08-14 Andreas Jaeger +2000-11-08 Jakub Jelinek - * sysdeps/ieee754/ldbl-128/w_expl.c: New file, copy from - ldbl-96/w_expl.c with tweaked constants. Patch by Stephen L - Moshier. + * string/bits/string2.h: Check if _USE_STRING_ARCH_ macros are + defined, not _HAVE_STRING_ARCH_. + * sysdeps/i386/bits/string.h (_USE_STRING_ARCH_memset, + _USE_STRING_ARCH_strchr): Define. + * sysdeps/i386/i486/bits/string.h (_USE_STRING_ARCH_memset, + _USE_STRING_ARCH_strchr): Define. + * sysdeps/sparc/bits/string.h: New file. -2001-08-13 Ulrich Drepper +2000-11-08 Bruno Haible - * malloc/memusage.c (me): Allow creating the output file. + * locale/C-translit.h.in: Tweak result. + * locale/C-translit.h: Regenerated. - * sysdeps/unix/sysv/linux/Makefile: Remove -fkeep-inline-functions - flag for init-first. +2000-11-08 Ulrich Drepper - * po/fr.po: Update from translation team. + * posix/unistd.h: Add attribute((const)) to sysconf prototype. -2001-08-13 Andreas Jaeger + * iconvdata/euc-kr.c (euckr_from_ucs4): Map 0x20a9 to \xa3dc. + (BODY from direction): Remove special handling of \x5c. + * iconvdata/EUC-KR.irreversible: Adjust for this change. + * iconvdata/testdata/EUC-KR..UTF8: Likewise. + Reported by Jungshik Shin . - * sysdeps/mips/machine-gmon.h (MCOUNT): Don't use delay slot for - jal since it's a macro. - Patch by Simon Gee . +2000-11-07 Kazumoto Kojima -2001-08-12 Ulrich Drepper + * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Skip FPU fields. - * iconvdata/Makefile: Add rules to build ISO-IR-209 and MAC-SAMI. - * iconvdata/iso-ir-209.c: New file. - * iconvdata/mac-sami.c: New file. - * iconvdata/gconv-modules: Add entries for ISO-IR-209 and MAC-SAMI. - * iconvdata/tst-tables.sh: Likewise. +2000-11-06 Ulrich Drepper - * posix/getopt.c: Remove store_args_and_env which is not needed since - USE_NONOPTION_FLAGS is undefined anyhow. Use __libc_argc and - __libc_argv variables. + * iconvdata/big5.c: Regenerated after BIG5 charmap change. + Patch by Tung-Han Hsieh . -2001-08-12 Roland McGrath + * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Fix typo in + comparison with new cache magic bytes. + Patch by Denis Zaitsev . - * sysdeps/mach/hurd/clock.c: New file. - * sysdeps/mach/hurd/times.c: New file. - * sysdeps/mach/hurd/getclktck.c (__getclktck): Always return 1000000. - * sysdeps/mach/hurd/init-posix.c: New file. +2000-11-03 Bruno Haible - * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix. + * locale/C-translit.h.in: Update from translit_neutral. + * locale/C-translit.h: Regenerated. + * intl/tst-translit.c: Update. -2001-08-11 Roland McGrath +2000-11-04 Mark Kettenis - * sysdeps/mach/hurd/bits/time.h - (CLOCK_PROCESS_CPUTIME_ID, CLOCK_THREAD_CPUTIME_ID): New macros. - * sysdeps/mach/hurd/i386/bits/time.h: File removed. + * sysdeps/mach/hurd/Dist: Remove clk_tck.c. - * posix/getopt.c (nonoption_flags_max_len, nonoption_flags_len): - Make these defns conditional on [USE_NONOPTION_FLAGS]. + * sysdeps/mach/hurd/Versions [libc] (GLIBC_2.1.1): Remove + __libc_clk_tck. + * sysdeps/mach/hurd/Makefile [$(subdir)==posix] (sysdep_routines): + Remove clk_tck. + * sysdeps/mach/hurd/clk_tck.c: Removed. + * sysdeps/mach/hurd/getclktck.c: New file. + * sysdeps/mach/hurd/setitimer.c (quantize_timeval): Use + __getclktck instead of __libc_clk_tck. + * sysdeps/mach/hurd/bits/time.h: Use __sysconf for CLK_TCK instead + of __libc_clk_tck. + * sysdeps/mach/hurd/i386/bits/time.h: Likewise. -2001-08-11 Ulrich Drepper +2000-11-03 Ulrich Drepper - * config.h.in: Add #undef line for USE_NONOPTION_FLAGS. - * posix/getopt_init.c: Produce code only if USE_NONOPTION_FLAGS is + * posix/Versions: Export __sysconf. + +2000-11-02 Ulrich Drepper + + * version.h (VERSION): Bump to 2.1.97. + + * iconvdata/Makefile (distribute): Add viscii.c. + + * elf/Makefile (distribute): Add tst-pathopt.sh. + + * sysdeps/i386/i486/bits/string.h (strcmp): Cast arguments to + __strcmp_cc, __strcmp_cg, and __strcmp_gc to unsigned char *. + (__strcmp_cc, __strcmp_cg, __strcmp_gc): Remove casts of values here. + Reported by Denis Zaitsev . + + * iconvdata/utf-16.c (PREPARE_LOOP): Correct typo preventing BOM from + being written. + + * manual/socket.texi (Local Namespace Concepts): Don't mention what + permissions are necessary to connect to a socket. + Reported by Peter Eisentraut . + + * sysdeps/generic/backtracesyms.c (__backtrace_symbols): Fix + computation of total for 64-bit machines. + Patch by Byron Stanoszek . + + * manual/arith.texi (Rounding): Correct description of fesetround + return value. Patch by Conrado Badenas . + +2000-10-30 Maciej W. Rozycki + + * sysdeps/mips/dl-machine.h (elf_machine_rel): Add the symbol's + value plus the run-time displacement to the relocation for non-GOT + symbols. Set the relocation to the GOT entry for GOT symbols. + +2000-11-02 Ulrich Drepper + + * sysdeps/unix/sysv/linux/s390/bits/time.h: Removed. + +2000-11-01 Ulrich Drepper + + * iconvdata/TESTS: Add entries for IBM856, IBM930, IBM933, IBM935, + IBM937, IBM939, and IBM1046. + * iconvdata/testdata/IBM1046: New file. + * iconvdata/testdata/IBM930..UTF8: New file. + * iconvdata/testdata/IBM1046..UTF8: New file. + * iconvdata/testdata/IBM933: New file. + * iconvdata/testdata/IBM935: New file. + * iconvdata/testdata/IBM937: New file. + * iconvdata/testdata/IBM856..UTF8: New file. + * iconvdata/testdata/IBM939: New file. + * iconvdata/testdata/IBM933..UTF8: New file. + * iconvdata/testdata/IBM935..UTF8: New file. + * iconvdata/testdata/IBM930: New file. + * iconvdata/testdata/IBM856: New file. + * iconvdata/testdata/IBM937..UTF8: New file. + * iconvdata/testdata/IBM939..UTF8: New file. + Contributed by Masahide Washizawa . + +2000-11-01 Martin Buchholz + + * manual/memory.texi (Hooks for Malloc): Fix `caller' arg docs to + agree with implementation. + +2000-11-01 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/time.h (CLK_TCK): Cast sysconf result + to __clock_t. + * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise. + * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise. + + * sysdeps/unix/sysv/linux/bits/socket.h (CMSG_ALIGN): Cast result + of unary ~ to size_t. + + * stdlib/strtod.c: Make gcc shut up about SWAP use. + + * sysdeps/i386/fpu/bits/mathinline.h: Add support for builtin + unordered compare functions to gcc 2.97 and up. + + * string/bits/string2.h: Disable strstr optimizations for newer + gcc versions. Patch by Joseph S. Myers . + + * configure.in (with_cvs): Test for pserver access. + +2000-10-31 Ulrich Drepper + + * elf/Versions [ld] (GLIBC_2.2): Export _dl_clktck and _dl_pagesize. + * elf/dl-load.c: Define _dl_clktck. + * elf/elf.h: Define AT_CLKTCK. + * include/time.h: Declare __getclktck. + * misc/Makefile (routines): Add getclktck. + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_CLKTCK. + (_dl_show_auxv): Show AT_CLKTCK value. + * sysdeps/generic/getclktck.c: New file. + * sysdeps/unix/sysv/linux/getclktck.c: New file. + * sysdeps/unix/sysv/linux/alpha/getclktck.c: New file. + * sysdeps/unix/sysv/linux/ia64/getclktck.c: New file. + * sysdeps/posix/sysconf.c: Use __getclktck to handle _SC_CLK_TCK. + * sysdeps/unix/sysv/linux/getpagesize.c: New file. + * sysdeps/unix/sysv/linux/bits/time.h: Use __sysconf to for CLK_TCK. + * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise. + * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise. + + * sunrpc/clnt_gen.c (clnt_create): Don't set timeout with + clnt_control for any protocol. This would make it impossible for + the user to provide one in clnt_call(). + Reported by Hitoshi Guutara Maruyama . + * sunrpc/clnt_tcp.c (clnt_call): Don't use timeout in tests with zero, + use ct->ct_wait. + * sunrpc/clnt_unix.c (clnt_call): Likewise. + +2000-10-31 Jes Sorensen + + * sysdeps/ia64/fpu/s_isinfl.S: New file, - assembly based + implementation based on suggestion by Richard Henderson. + * sysdeps/ia64/fpu/s_isinfl.c: Removed. + +2000-10-30 Jes Sorensen + + * sysdeps/ia64/fpu/s_isnanl.S: New file - assembly based + implementation based on suggestion by Richard Henderson. + * sysdeps/ia64/fpu/s_isnanl.c: Removed. + +2000-10-31 Ulrich Drepper + + * locale/programs/locale.c (print_item): Fix one more problem with + string lists. Patch by Chen Xiangyang . + + * locale/categories.def: Add number of arguments to ctype-map-names + and ctype-class-names entries. Mark era as stringlist. + + * iconvdata/Makefile (modules): Add IBM856, IBM930, IBM933, IBM935, + IBM937, IBM939, and IBM1046. + (distribute): Add ibm856.c, ibm930.c, ibm933.c, ibm935.c, ibm937.c, + ibm939.c, ibm1046.c, ibm856.h, ibm930.h, ibm933.h, ibm935.h, ibm937.h, + ibm939.h, and ibm1046.h. + * iconvdata/gconv-modules: Add entries for IBM856, IBM930, IBM933, + IBM935, IBM937, IBM939, and IBM1046. + * iconvdata/ibm1046.c: New file. + * iconvdata/ibm1046.h: New file. + * iconvdata/ibm856.c: New file. + * iconvdata/ibm856.h: New file. + * iconvdata/ibm930.c: New file. + * iconvdata/ibm930.h: New file. + * iconvdata/ibm933.c: New file. + * iconvdata/ibm933.h: New file. + * iconvdata/ibm935.c: New file. + * iconvdata/ibm935.h: New file. + * iconvdata/ibm937.c: New file. + * iconvdata/ibm937.h: New file. + * iconvdata/ibm939.c: New file. + * iconvdata/ibm939.h: New file. + Patches by Masahide Washizawa . + +2000-10-30 Ulrich Drepper + + * locale/localeinfo.h (enum value_type): Add wstring, wstringarray, + and wstringlist. + * locale/categories.def: Mark wide char strings as wstring or + stringarray. + * locale/programs/locale.c (show_info): Handle wstring, wstringarray, + and wstringlist. Print keywords only if there is real output. + Reported by Chen Xiangyang . + + * sysdeps/sparc/fpu/bits/mathinline.h: Add __THROW where necessary. + Patch by Ben Collins . + + * stdio-common/Makefile (tests): Add tst-fmemopen. + * stdio-common/tst-fmemopen.c: New file. + Test case by Ben Collins . + + * libio/iofopncook.c (_IO_cookie_seek): Correct test for error. + + * libio/fmemopen.c (fmemopen_read): Return 0 at end of buffer. + (fmemopen_write): Set errno at end of buffer. + + * posix/runtests.c (main): Don't use exit() to avoid warning with + broken compilers. + + * string/bug-strncat1.c: Undefine __USE_STRING_INLINES before + defining it again to avoid warning. + * string/bug-strpbrk1.c: Likewise. + * string/bug-strspn1.c: Likewise. + +2000-10-29 Bruno Haible + + * locale/C-translit.h.in: Include more rules from translit_neutral. + Remove a few German and Danish specific rules. + * locale/gen-translit.pl: Avoid an error when printing a string + containing a '%' character. + * locale/C-translit.h: Regenerated. + * intl/translit.po: Choose different translations. + * intl/tst-translit.c: Update. + +2000-10-29 Bruno Haible + + * locale/programs/ld-ctype.c (translit_include_t): New type. + (locale_ctype_t): Remove translit_copy_locale, translit_copy_repertoire + fields, add translit_include field. + (ctype_read): After seeing "translit_start" in ignore_content mode, + skip the entire translit section, not only one line. Remove dead test + for tok_translit_end. Enqueue include statements into a list. + Signal error if tok_eof seen before tok_translit_end. + (translit_flatten): New function. + (allocate_arrays): Call translit_flatten. + +2000-10-30 Ulrich Drepper + + * locale/findlocale.c (free_mem): We can remove NODELETE marked + data, just not the C locale data. + + * intl/tst-gettext.c: Use setlocale() in addition to setting envvar. + * intl/tst-gettext.sh: Copy locale data if necessary. + * intl/Makefile (generated-dirs): Add localedir. + + * intl/dcigettext.c (guess_category_value): For libc always use + the setlocale() method. + + * intl/Makefile: Add rules to build, run and, distribute tst-gettext2. + * intl/tst-gettext2.c: New file. + * intl/tst-gettext2.sh: New file. + * intl/tstlang1.po: New file. + * intl/tstlang2.po: New file. + Patch by Andreas Jaeger . + +2000-10-26 GOTO Masanori + + * intl/locale.alias: Add ja_JP.ujis alias. + +2000-10-30 Ulrich Drepper + + * locale/findlocale.c (_nl_find_locale): Don't store normalized + name in *NAME. + +2000-10-29 Ben Collins + + * sysdeps/generic/lockf64.c: In the case of F_TEST, set l_type to + F_RDLCK explicitly. + * sysdeps/unix/sysv/linux/i386/lockf64.c: Likewise. + +2000-10-29 Ulrich Drepper + + * iconvdata/big5.c: Update. + Patch by Tung-Han Hsieh . + + * iconvdata/Makefile (distribute): Add BIG5.irreversible. + * iconvdata/BIG5.irreversible: New file. + +2000-10-29 Greg Louis + + * posix/regex.h (__restrict_arr): Move definition out of #ifndef block. + Required because egcs-2.91.66 (aka 1.1.2) defines __restrict, but + doesn't define __restrict_arr. + +2000-10-29 Ulrich Drepper + + * manual/search.texi: Correct description if VISIT values. + Patch by Ben Collins . + + * string/bits/string2.h (strspn): Evaluate first argument if + second is "". + (strpbrk): Likewise. + * sysdeps/i386/i486/bits/string.h: Likewise. + * string/Makefile (tests): Add bug-strspn1 and bug-strpbrk1. + * string/bug-strspn1.c: New file. + * string/bug-strpbrk1.c: New file. + Test cases by Joseph S. Myers . + + * string/bits/string2.h (strncat): Terminate string correctly. + * sysdeps/i386/i486/bits/string.h (strncat): Likewise. + * string/Makefile (tests): Add bug-strncat1. + * string/bug-strncat1.c: New file. + Test case by Joseph S. Myers . + +2000-10-27 Ben Collins + + * sysdeps/generic/lockf.c (lockf): Set l_type to F_RDLCK before + calling for F_GETLK. + +2000-10-29 Ulrich Drepper + + * elf/dl-load.c (open_path): Don't exit loop early if we didn't + use a directory at all. + + * elf/Makefile: Add rules to build and run tst-pathopt. + * elf/tst-pathopt.c: New file. + * elf/tst-pathopt.sh: New file. + * elf/pathoptobj.c: New file. + + * elf/elf.h (SHN_XINDEX): Define. + +2000-10-28 Ulrich Drepper + + * io/Makefile (tests): Add test-stat2. + (test-stat2-ARS): New variable. + * io/test-stat2.c: New file. + + * Makeconfig (ETAGS): Remove -T flag. + + * elf/dl-load.c (open_verify): Only try to load ET_DYN and ET_EXEC + objects. Reject all other types. + (_dl_map_object_from_fd): Optimize a bit. + +2000-10-27 Ulrich Drepper + + * stdio-common/Makefile (tests): Add tst-fseek. + * stdio-common/tst-fseek.c: New file. + + * posix/regex.c (gettext): Use correct translation domain for glibc. + + * argp/argp-parse.c: Use __dcgettext instead of dcgettext for glibc. + * argp/argp-help.c: Likewise. + * inet/getnameinfo.c (getnameinfo): Use __snprintf instead of snprintf. + * inet/rexec.c (rexec_af): Use __snprintf instead of snprintf. + * misc/regexp.c (__step): Use __regexec instead of regexec. + (__advance): Likewise. + * nss/digits_dots.c: Use __inet_aton instead of inet_aton. + * nscd/gethstbynm2_r.c (__inet_aton): Define as inet_aton since + the former is not exported. + * misc/daemon.c (daemon): Use __fork instead of fork. + + * stdlib/fmtmsg.c (fmtmsg): Change output format slightly to make + it look better and bring it closer to SysV behavior. + * stdlib/Makefile (distribute): Add tst-fmtmsg.sh. + (test-srcs): Add tst-fmtmsg. + (tests): Add $(objpfx)tst-fmtmsg.out. Add rule to generate it. + * stdlib/tst-fmtmsg.sh: New file. + * stdlib/tst-fmtmsg.c: New file. + + * iconvdata/Makefile (modules): Add VISCII. + (gen-8bit-modules): Add viscii. + * iconvdata/viscii.c: New file. + * iconvdata/gconv-modules: Add entries for VISCII. + * iconvdata/tst-tables.sh: Add VISCII. + +2000-10-27 Andreas Schwab + + * sysdeps/m68k/fpu/libm-test-ulps: Add some more ulps. + +2000-10-26 Ulrich Drepper + + * version.h (VERSION): Bump to 2.1.96. + + * inet/getipnodebyad.c: Removed. + * inet/getipnodebynm.c: Removed. + * inet/tst-ipnode.c: Removed. + * inet/freehostent.c: Removed. + + * sysdeps/unix/bsd/osf/=dirstream.h: Removed. + + * sysdeps/unix/sysv/linux/Dist: Add bits/initspin.h. + + * elf/Makefile (distribute): Add neededobj4.c. + + * iconvdata/Makefile (distribute): Add BIG5HKSCS.irreversible. + + * sysdeps/hppa/Dist: New file. + * sysdeps/unix/sysv/linux/hppa/Dist: New file. + + * posix/tst-chmod.c (do_test): Account for people running the + tests as root. + + * locale/langinfo.h (THOUSEP): Define this and don't duplicate + definition of THOUSANDS_SEP. + + * locale/C-monetary.c: Set mon_decimal to empty string. + Add missing entry _NL_MONETARY_CRNCYSTR. + * stdio-common/printf_fp.c: If MON_DECIAL_POINT is not provided use + DECIMAL_POINT information. + * locale/C-numeric.c: Set mon_grouping entry to empty string. + * locale/C-time.c: Add date_fmt entries. Remove two wrong entries. + Correct value for number of entries. + * locale/localeconv.c: Normalize result passed back in .grouping. + Fix assignment to .int_* entries. + + * locale/Makefile (tests): Add tst-C-locale. + * locale/tst-C-locale.c: New file. + + * locale/setlocale.c: Use LOCALEDIR and not LOCALE_PATH to locate + locale files. + * locale/newlocale.c: Likewise. + +2000-10-26 GOTO Masanori + + * locale/langinfo.h: Define _DATE_FMT and _NL_W_DATE_FMT. + * locale/categories.def: New support for date_fmt. + * locale/programs/ld-time.c: Likewise. + * locale/programs/locfile-kw.gperf: Likewise. + * locale/programs/locfile-kw.h: Likewise. + * locale/programs/locfile-token.h: Likewise. + +2000-10-26 Jakub Jelinek + + * sysdeps/ieee754/ldbl-128/e_hypotl.c: New. + + * math/libm-test.inc (cabs_test, cexp_test, csqrt_test, hypot_test): + Increase precision of constants. + * sysdeps/alpha/fpu/libm-test-ulps: Update. + * sysdeps/arm/libm-test-ulps: Update. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/ia64/fpu/libm-test-ulps: Update. + * sysdeps/m68k/fpu/libm-test-ulps: Update. + * sysdeps/mips/fpu/libm-test-ulps: Update. + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update. + * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update. + * sysdeps/sh/sh4/fpu/libm-test-ulps: Update. + * sysdeps/s390/fpu/libm-test-ulps: Update. + +2000-10-26 Ulrich Drepper + + * io/Makefile (tests): Add tst-fcntl. + * io/tst-fcntl.c: New file. + + * posix/Makefile (tests): Add tst-chmod. + (tst-chmod-ARGS): Define. + * posix/tst-chmod.c: New file. + + * test-skeleton.c: Before calling user-defined function remove + parameters from argument list. + * posix/tst-exec.c: Adjust to this change. + * posix/tst-spawn.c: Likewise. + + * sysdeps/unix/opendir.c (__opendir): Optimize a bit. Add + __builtin_expect. + +2000-10-25 Ulrich Drepper + + * intl/Makefile (tests): Add tst-ngettext. + * intl/tst-ngettext.c: New file. + +2000-10-25 Bruno Haible + + * manual/charset.texi: Fix spelling of __GCONV_FULL_OUTPUT. + * manual/message.texi (Translation with gettext): Remove paragraph + about macros contained in libintl.h. + (bind_textdomain_codeset): Describe codeset argument. + (Using gettextized software): Add setlocale call to sample code. + +2000-10-26 Kazumoto Kojima + Yutaka Niibe + + * sysdeps/sh/dl-machine.h (elf_machine_rela): Handle in place + relocation which is generated by new ld. + * sysdeps/sh/elf/initfini.c (_init): Preseted __fpscr_values. + (_fini): Delete an obsolete register prefix. + * sysdeps/unix/sysv/linux/sh/Versions: Add __xstat64, __fxstat64, + __lxstat64, alphasort64, glob64, readdir64, readdir64_r, scandir64 + and versionsort64 as the 2.2-versioned symbols. + * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: New file. + * sysdeps/unix/sysv/linux/sh/brk.c: Changes for the new system call + calling convention of the kernel. + * sysdeps/unix/sysv/linux/sh/pipe.S: Likewise. + * sysdeps/unix/sysv/linux/sh/socket.S: Likewise. + * sysdeps/unix/sysv/linux/sh/clone.S: Likewise. + * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/sh/fcntl.c: New file. + * sysdeps/unix/sysv/linux/sh/lockf64.c: New file. + * sysdeps/unix/sysv/linux/sh/sys/user.h: Include the kernel header + file and delete the definitions of struct user and user_fp. + * sysdeps/unix/sysv/linux/sh/syscall.S: New file. + * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove entries for + s_ioctl, s_ipc, s_llseek, s_chown, s_fchown, s_lchown, s_execve, + rt_sigaction, rt_sigpending, rt_sigprocmask, rt_sigqueueinfo, + rt_sigsuspend, rt_sigtimedwait, s_getcwd, s_getdents, s_getgroups, + s_getpriority, s_getegid, s_geteuid, s_getuid, getresgid, getresuid, + s_getrlimit, s_poll, s_pread64, s_ptrace, s_pwrite64, s_reboot, + s_setrlimit, s_sigaction, s_sigpending, s_sigprocmask, s_sigsuspend, + s_setfsgid, s_setfsuid, s_setgid, s_setgroups, s_setregid, + s_setresgid, s_setresuid, s_setreuid, s_setuid, s_sysctl, + s_ugetrlimit, s_ustat, sys_fstat, sys_lstat, sys_mknod, sys_readv, + sys_stat, sys_writev and syscall. + +2000-10-25 Ulrich Drepper + + * io/test-lfs.c (do_prepare): Rewrite so it doesn't fail on systems + without LFS support. + + * sysdeps/ieee754/dbl-64/e_jn.c: Use __ieee754_sqrt instead of __sqrt. + * sysdeps/ieee754/dbl-64/e_j1.c: Likewise. + * sysdeps/ieee754/dbl-64/e_j0.c: Likewise. + * sysdeps/ieee754/flt-32/e_j1f.c: Likewise. + * sysdeps/ieee754/flt-32/e_j0f.c: Likewise. + +2000-10-25 David Mosberger + + * sysdeps/unix/sysv/linux/ia64/profil-counter.h: Multiply slot + number by four to use bins of width 4 to get accurate + instruction-level profiling. + +2000-10-25 Andreas Jaeger + + * sysdeps/generic/dl-cache.h (CACHEMAGIC_VERSION_NEW): Correct string. + +2000-10-25 Jakub Jelinek + + * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): When + converting struct flock64 to struct flock and back, use fcntl commands + which work on struct flock. + +2000-10-25 Jakub Jelinek + + * math/test-misc.c (main): Only check modfl if NO_LONG_DOUBLE is not defined. - * posix/getopt.c: Use __getopt_nonoption_flags only if - USE_NONOPTION_FLAGS is defined. - * sysdeps/mach/hurd/i386/init-first.c: Use __getopt_clean_environment - only if USE_NONOPTION_FLAGS is defined. - * sysdeps/mach/hurd/mips/init-first.c: Likewise. - * sysdeps/unix/sysv/linux/init-first.c: Likewise. - * sysdeps/arm/init-first.c: Likewise. - * sysdeps/generic/init-first.c: Likewise. - * sysdeps/i386/init-first.c: Likewise. - * sysdeps/sh/init-first.c: Likewise. + * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update. + * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update. -2001-08-11 Andreas Jaeger +2000-10-25 Ulrich Drepper - * sysdeps/ieee754/ldbl-128/e_j0l.c: New file. - Contributed by Stephen L Moshier . + * sysdeps/arm/libm-test-ulps: Updated. -2001-08-11 Ulrich Drepper + * sysdeps/generic/dl-cache.h (CACHEMAGIC_VERSION_NEW): New value. - * assert/assert.c (set_progname): Removed. - (__assert_fail): Use __progname instead of __assert_program_name. - * assert/assert-perr.c (__assert_perror_fail): Likewise. +2000-10-25 Andreas Jaeger - * malloc/malloc.c (ptmalloc_init): Don't call getenv five times. - Instead use new function next_env_entry which iterates over the - environment once. + * elf/dl-load.c (_dl_map_object_from_fd): Remove unused variable. + (_dl_map_object): Likewise. - * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Only set - _dl_profile_map for the right object. +2000-10-24 Paul Eggert - * elf/dl-reloc.c (_dl_relocate_object): Allocate l_reloc_result - only if consider_profiling is != 0, not if _dl_profile != NULL. + * time/strftime.c (my_strftime macro) + [!defined _LIBC && HAVE_TZNAME && HAVE_TZSET]: + When redefining, do it without args, so that it works even if + emacs is defined and an extra argument is passed to my_stftime. + (my_strftime function): When evaluating a subformat, pass + ut_argument as well. - * sysdeps/generic/dl-environ.c (_dl_next_ld_env_entry): Optimize a bit. - Now returns pointer to first character after "LD_". - * elf/rtld.c (process_envvars): Adjust for change above. - * sysdeps/unix/sysv/linux/dl-librecon.h (EXTRA_LD_ENVVARS): Likewise. - * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS): +2000-10-24 Andreas Schwab + + * sysdeps/unix/sysv/linux/ia64/Versions: Add pciconfig_read and + pciconfig_write. + +2000-10-25 Ulrich Drepper + + * sysdeps/generic/dl-cache.c (_dl_cache_verify_ptr): Correct test + for files with new cache format. + (_dl_load_cache_lookup): Add variable cache_data_size for size of the + data. Correctly report error if neither old not new signature is + found. Little optimizations. + Mostly based on a patch by Denis Zaitsev . + + * elf/dl-close.c (_dl_close): Optimize a bit by optimizing out the + nsearchlist variable. + +2000-10-24 Ulrich Drepper + + * elf/dl-lookup.c (add_dependency): Fix test to check whether + dependency already exists. + * elf/Makefile: Add testobj1 and testobj2 as dependencies of testobj6. + * elf/loadtest.c (main): Add test at the end that everything is + unloaded. + + * elf/dl-open.c (dl_open_worker): Fix typo in comment. + + * elf/elf.h: Add even more IA-64 relocations. + +2000-10-24 Geoffrey Keating + + * io/test-lfs.c (do_prepare): Call setrlimit64, in case the user + has a limit set---for instance, a limit of 2^31 bytes, which can't + easily be reset by non-LFS-aware shells. + + * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Define PAGE_SHIFT + explicitly rather than getting it from . + +2000-10-24 Ulrich Drepper + + * elf/dl-close.c (_dl_close): Handle relocation dependencies of + the dependencies of the object currently unloaded. + + * elf/dl-close.c (_dl_close): Don't free memory for global scope + list immediately when empty. Move code to... + (free_mem): ...here. Called as part of __libc_subfreeres list. + + * elf/dl-deps.c (_dl_map_object_deps): Put l_initfini array before + r_list array in allocated memory. + * elf/dl-close.c (_dl_close): Optimize access to l_initfini list + and remove use of r_list. + + * elf/dl-close.c (_dl_close): Use correct list (l_initfini) when + computing new opencounts. + * elf/Makefile: Add rules to build and run neededtest3. + * neededtest3.c: New file. + * neededobj4.c: New file. + + * elf/neededtest.c (main): Correct tests for failing dlopen. + +2000-10-24 Andreas Jaeger + + * elf/dl-lookup.c (add_dependency): Remove unused variable j. + +2000-10-24 Ulrich Drepper + + * malloc/obstack.c (_obstack_newchunk): Correctly align first returned + block. + * malloc/tst-obstack.c: New file. + Patch and test case by Alexandre Duret-Lutz . + * malloc/Makefile (tests): Add tst-obstack. + + Complete revamp of the reference counter handling. + * include/link.h (struct link_map): Add l_idx field. + * elf/dl-close.c: Handle decrementing of reference counters more + correctly. If necessary decrement reference counters of dependencies + of dependencies. + * elf/dl-lookup.c (add_dependency): Only increment reference counter + of the object itself and not also its dependencies. + * elf/dl-open.c: Increment reference counters here. + * elf/dl-deps.c: Remove reference counter handling here. + * elf/dl-load.c: Likewise. + * elf/rtld.c: Adjust for _dl_map_deps not handling reference counters. + + * elf/loadtest.c: Print loaded objects at the beginning. + +2000-10-24 Andreas Jaeger + + * sysdeps/mips/dl-machine.h: Partly revert patch from 2000-10-18. + +2000-10-23 Ulrich Drepper + + * include/link.h (struct link_map): New bit field l_faked. + * elf/dl-deps.c: Use l_faked field in struct link_map instead of + the magic l_opencount==0. + * elf/dl-load.c: Likewise. + * elf/dl-version.c: Likewise. + * elf/rtld.c: Likewise. + + * elf/dl-close.c (_dl_close): Add a few more __builtin_expect. + +2000-10-23 Jim Meyering + + Allow this code to be used outside of glibc. + * sysdeps/generic/memrchr.c: Undef __memrchr, too. + [!weak_alias]: Define __memrchr to memrchr. + Guard weak_alias use with `#ifdef weak_alias'. + +2000-10-23 Ulrich Drepper + + * elf/unload.c: Generate more debugging output. + + * elf/neededtest.c: Make it more complicated. + * elf/neededtest2.c: New file. + * elf/Makefile: Add rules to build and run neededtest2. + + * elf/dl-sym.c (_dl_sym): Use exact check for caller PC in range + of DSO address space. + (_dl_vsym): Likewise. + + * elf/dl-sym.c (_dl_sym): For RTLD_DEFAULT, search in objects + global scope if we can determine it. + +2000-10-23 Andreas Schwab + + * sysdeps/unix/sysv/linux/ia64/bits/resource.h (RLIMIT_LOCKS): Added. + (RLIMIT_NLIMITS): Sync with kernel definition. + (PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Also define as macros. + +2000-10-23 Andreas Schwab + + * sysdeps/m68k/fpu/libm-test-ulps: Updated. + +2000-10-23 Ulrich Drepper + + * elf/elf.h (R_IA64_GPREL32MSB, R_IA64_GPREL32LSB): New definitions. + +2000-10-22 Bruno Haible + + * iconvdata/big5hkscs.c (big5hkscs_to_ucs): Add irreversible mappings + for 0x8BF8, 0xA27E..0xA2A7. + * iconvdata/BIG5HKSCS.irreversible: New file. + +2000-10-23 Jakub Jelinek + + * timezone/zdump.c (main): setlocale LC_CTYPE as well as LC_MESSAGES. + * timezone/zic.c (main): Likewise. + +2000-10-23 Thorsten Kukuk + + * nscd/connections.c (invalidate_cache): Don't invalidate a cache + if it is not enabled. + +2000-10-23 Andreas Jaeger + + * sysdeps/s390/fpu/libm-test-ulps: New ulps. + + * sysdeps/unix/sysv/linux/mips/syscalls.list: Add fcntl64. + Patch by Ralf Baechle . + +2000-10-21 Ulrich Drepper + + * elf/dl-load.c (_dl_map_object_from_fd): Split out ELF file + verification in open_verify. + (open_verify): New function. Called instead of open. Ignores valid + files for other architectures. + (open_path): Call open_verify instead of open. + (_dl_map_object): Likewise. + Somewhat based on a patch by Don Dugger . + + * io/pwd.c (main): The output was missing a newline. + + * posix/fnmatch_loop.c: Make FNM_LEADING_DIR behave as GNU tar + expects it. Patch by Colin Watson . + * posix/tst-fnmatch.input: Add test cases for FNM_LEADING_DIR. + + * elf/dl-open.c (add_to_global): New function. Split out from + dl_open_worker. + (dl_open_worker): Call add_to_global not only for new objects, also for + previously loaded objects when (mode & RTLD_GLOBAL) and the object + was not yet in the global scope. + * elf/Makefile: Add rules to build and run lateglobal. + * elf/lateglobal.c: New file. + * elf/ltglobmod1.c: New file. + * elf/ltglobmod2.c: New file. + +2000-10-20 Ulrich Drepper + + * include/link.h (struct link_map): Add l_soname_added bitfield. + * elf/dl-load.c (_dl_map_object): Remember when we added the + SONAME to the l_libname list and don't try it again. + + * elf/dl-close.c: Decrement opencount for all dependencies which can + be removed even if the object is not yet unloaded. + * elf/dl-deps.c (_dl_map_object_deps): If dependency is already in + the list decrement opencount of all dependencies. + * elf/dl-load.c (_dl_map_object_from_fd): Increment object of object + and all dependencies. + (_dl_map_object): Likewise. + * elf/dl-lookup.c (add_dependency): Likewise. + + * elf/loadtest.c: Add debug when with more output. + + * elf/Makefile: Add rules to build and run unload2. + * elf/unload2.c: New file. + * elf/unload2mod.c: New file. + * elf/unload2dep.c: New file. + + * intl/libintl.h (ngettext macro): Add missing parameter. + (dngettext macro): Likewise. + +2000-10-19 H.J. Lu + + * elf/Makefile (distribute): Add neededtest.c, neededobj1.c, + neededobj2.c and neededobj3.c. + (tests): Add neededtest. + (modules-names): Add neededobj1, neededobj2 and neededobj3. + ($(objpfx)neededobj1.so): New target. + ($(objpfx)neededobj2.so): Likewise. + ($(objpfx)neededobj3.so): Likewise. + ($(objpfx)neededtest): Likewise. + ($(objpfx)neededtest.out): Likewise. + * elf/neededtest.c: New. Based on the bug report from + Allen Bauer . + * elf/neededobj1.c: Likewise. + * elf/neededobj2.c: Likewise. + * elf/neededobj3.c: Likewise. + +2000-10-20 Ulrich Drepper + + * elf/dl-load.c (_dl_map_object_from_fd): Pass pointer to ELF header + to elf_machine_matches_host. + * sysdeps/alpha/dl-machine.h (elf_machine_matches_host): Parameter + is now pointer to ELF header. + * sysdeps/arm/dl-machine.h: Likewise. + * sysdeps/generic/dl-machine.h: Likewise. + * sysdeps/hppa/dl-machine.h: Likewise. + * sysdeps/i386/dl-machine.h: Likewise. + * sysdeps/ia64/dl-machine.h: Likewise. + * sysdeps/m68k/dl-machine.h: Likewise. + * sysdeps/mips/dl-machine.h: Likewise. + * sysdeps/mips/mips64/dl-machine.h: Likewise. + * sysdeps/powerpc/dl-machine.h: Likewise. + * sysdeps/s390/dl-machine.h: Likewise. + * sysdeps/sh/dl-machine.h: Likewise. + * sysdeps/sparc/sparc32/dl-machine.h: Likewise. + * sysdeps/sparc/sparc64/dl-machine.h: Likewise. + Patch by Martin Schwidefsksy . + +2000-10-20 Jakub Jelinek + + * include/limits.h: Include bits/wordsize.h, use #if __WORDSIZE == 64 + check instead of #ifdef __alpha__. + * include/bits/xopen_lim.h (WORD_BIT, LONG_BIT): Don't count on + INT_MAX, __INT_MAX__, LONG_MAX or __LONG_MAX__ being defined when + this is included. + +2000-10-20 Ulrich Drepper + + * posix/wordexp-tst.sh (testout): Place output file in build + directory. Patch by Joseph S. Myers . + + * sysdeps/powerpc/fpu/bits/mathinline.h: Pretty print. + +2000-10-19 Ulrich Drepper + + * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn): + Correctly handle numeric group member information. + Patch by tomasw@cs.huji.ac.il. + + * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn): + Complete test for strtol overflow. + +2000-10-19 Jakub Jelinek + + * sysdeps/unix/sysv/linux/alpha/semctl.c (__new_semctl): Pass union + semun as 4th argument to semctl syscall, not address of it. + +2000-10-18 Franz Sirl + + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add fcntl64() syscall. + +2000-10-17 Andreas Schwab + + * string/string.h: Remove declaration of __strcasecmp and __strcasestr. + * include/string.h: Declare them here. + +2000-10-18 Ralf Baechle + + * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Include . + +2000-10-19 Geoffrey Keating + + * sysdeps/powerpc/fpu/bits/mathinline.h: Add versions + of the unordered comparison functions that use the GCC builtins. + + * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): New function. + (__process_machine_rela): Print the address of an overflowing + reloc. + +2000-10-18 Ulrich Drepper + + * sysdeps/unix/sysv/linux/shm_open.c: Correct default mount point + in comments. + (freeit): Remove unnecessary test. + +2000-10-18 Andreas Jaeger + + * sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_OK): New. + (ELF_MACHINE_BEFORE_RTLD_RELOC): Handle newer linkers. + (elf_machine_runtime_link_map): Likewise. + (elf_machine_runtime_setup): Likewise. + Handle dynamic linker's local got entries. + Patches by Ralf Baechle . + +2000-10-09 Maciej W. Rozycki + + * sysdeps/mips/dl-machine.h (_dl_runtime_resolve): Define $sp as + the frame pointer. Allocate stack space for $a0 for + __dl_runtime_resolve(). Do not save $sp in $s0 as it's + callee-saved anyway. + +2000-10-17 Ulrich Drepper + + * sysdeps/powerpc/fpu/libm-test-ulps: Update for changes in + libm-test.inc. + +2000-10-17 Andreas Schwab + + * sysdeps/m68k/fpu/libm-test-ulps: Update for changes in + libm-test.inc. + +2000-10-17 Jakub Jelinek + + * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE): + Add missing backslash. + +2000-10-16 Ulrich Drepper + + * sysdeps/generic/dl-sysdep.c (DL_FIND_ARG_COMPONENTS): Little cleanup. + + * sysdeps/i386/fpu/libm-test-ulps: Update for changes in libm-test.inc. + +2000-10-16 Jakub Jelinek + + * math/libm-test.inc (M_LOG_SQRT_PIl, M_LOG_2_SQRT_PIl): Increase + precision. + (acos_test, asin_text, cexp_test, cos_test, cproj_test, exp10_test, + sin_test, sincos_test, sqrt_test): Likewise. Add L suffixes also + to parameters. + (acosh_test, asinh_test, atan2_test, atanh_test, atan_test, cabs_test, + cacosh_test, cacos_test, casinh_test, casin_test, catanh_test, + catan_test, cbrt_test, ccosh_test, ccos_test, clog10_test, cosh_test, + csinh_test, csin_test, csqrt_test, ctanh_test, ctan_test, erfc_test, + erf_test, exp2_test, expm1_test, exp_test, fmod_test, hypot_test, + j0_test, j1_test, jn_test, lgamma_test, llrint_test, llround_test, + log10_test, log1p_test, log2_test, log_test, lrint_test, lround_test, + nextafter_test, nexttoward_test, pow_test, round_test, scalb_test, + sinh_test, static void, tanh_test, tan_test, tgamma_test, y0_test, + y1_test, yn_test): Add L suffixes also to parameters. + * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Fix mask. + * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise. + * soft-fp/op-2.h (_FP_FRAC_SRS_2): Fix computation of sticky bit. + +2000-10-16 Ulrich Drepper + + * timezone/Makefile: Define HAVE_GETTEXT for zdump.c, zic.c, + ialloc.c, and scheck.c. + * malloc/obstack.c: Always include for glibc. + * posix/getopt.c: Likewise. + Reported by Petr Vandrovec . + +2000-10-15 Pete Wyckoff + + * Rules: Define _LIBC during generation of bits/stdio_lim.d. + +2000-10-15 Pete Wyckoff + + * iconvdata/tst-tables.sh: Invoke other shell scripts through ${SHELL}. + * iconvdata/tst-table.sh: Likewise. + +2000-10-15 Ulrich Drepper + + * elf/dl-error.c (_dl_signal_error): Allocate memory for objname + as well. Reported by Alexander V. Lukyanov . + + * iconvdata/gconv-modules: Add aliases for Windows charsets. + Patch by Joseph S. Myers . + +2000-10-13 Andreas Schwab + + * elf/elf.h (R_IA64_PCREL60B): Add relocation. + +2000-10-15 Ulrich Drepper + + * sysdeps/unix/sysv/linux/hppa/brk.c: Cleanups. + * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise. + * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Likewise. + * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise. + +2000-10-14 Ulrich Drepper + + * math/libm-test.inc (frexp_test): Add L suffix also to parameters. + (hypot_test): Likewise. + + * sysdeps/generic/printf_fphex.c: Compute width of decimal point + string correctly. Handle padding correctly. + + * sysdeps/ia64/fpu/printf_fphex.c: Use sizeof in _itowa parameters + correctly. + * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise. + * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise. + +2000-10-12 Alan Modra + + * FAQ.in: Add --start-group and --end-group. + +2000-10-12 Alan Modra + + * malloc/memusage.c: Conditionalize stack usage calculation on + stack direction. + +2000-10-12 Alan Modra + + * config.h.in: Add ASM_LINE_SEP. + * configure.in: Add test for comment and line separators. + * include/libc-symbols.h: Define and use ASM_LINE_SEP, and add tabs to + placate some hppa assemblers. + * sysdeps/hppa/sysdep.h: Likewise. + * sysdeps/gnu/siglist.c: Insert \n and \t into inline asm. + * sysdeps/unix/sysv/linux/errlist.c: Likewise. + +2000-10-12 David Huggins-Daines + + * sysdeps/unix/sysv/linux/Makefile: Include in + $(sysdep_headers). + * sysdeps/unix/sysv/linux/bits/initspin.h: Dummy version for + non-threaded platforms. + +2000-10-12 David Huggins-Daines + + * configure.in: Add definitions for hppa. + * elf/elf.h: Add PLABEL32 relocation for hppa ELF32, comments + for IPLT and EPLT relocations. + * shlib-versions: Version symbol definitions for hppa-linux. + * sysdeps/unix/sysv/linux/configure.in: Define $arch_minimum_kernel + for hppa. + +2000-10-12 David Huggins-Daines + + * sysdeps/hppa/Makefile: New file. + * sysdeps/hppa/Versions: New file. + + * sysdeps/hppa/setjmp.S: New file. + * sysdeps/hppa/__longjmp.S: New file. + * sysdeps/hppa/bits/setjmp.h: New file. + * sysdeps/hppa/frame.h: New file. + + * sysdeps/hppa/add_n.s: Don't use %r19 (linkage table pointer). + * sysdeps/hppa/sub_n.s: Likewise. + * sysdeps/hppa/lshift.s: Likewise. + * sysdeps/hppa/rshift.s: Likewise. + * sysdeps/hppa/udiv_qrnnd.s: Likewise. + * sysdeps/hppa/hppa1.1/addmul_1.s: Likewise. + * sysdeps/hppa/hppa1.1/submul_1.s: Likewise. + * sysdeps/hppa/hppa1.1/mul_1.s: Likewise. + * sysdeps/hppa/hppa1.1/udiv_qrnnd.s: Likewise. + + * sysdeps/hppa/dl-machine.h: New file. + * sysdeps/hppa/dl-fptr.c: New file (note that this is almost + identical to the IA-64 one). + * sysdeps/hppa/dl-lookupcfg.h: Likewise. + * sysdeps/hppa/dl-symaddr.c: Likewise. + + * sysdeps/hppa/elf/initfini.c: New file. + * sysdeps/hppa/elf/start.S: New file. + + * sysdeps/hppa/fpu/bits/fenv.h: New file. + * sysdeps/hppa/fpu/fclrexcpt.c: New file. + * sysdeps/hppa/fpu/fedisblxcpt.c: New file. + * sysdeps/hppa/fpu/feenablxcpt.c: New file. + * sysdeps/hppa/fpu/fegetenv.c: New file. + * sysdeps/hppa/fpu/fegetexcept.c: New file. + * sysdeps/hppa/fpu/fegetround.c: New file. + * sysdeps/hppa/fpu/feholdexcpt.c: New file. + * sysdeps/hppa/fpu/fesetenv.c: New file. + * sysdeps/hppa/fpu/fesetround.c: New file. + * sysdeps/hppa/fpu/feupdateenv.c: New file. + * sysdeps/hppa/fpu/fegetexcptflg.c: New file. + * sysdeps/hppa/fpu/fraiseexcpt.c: New file. + * sysdeps/hppa/fpu/fsetexcptflg.c: New file. + * sysdeps/hppa/fpu/ftestexcept.c: New file. + + * sysdeps/unix/sysv/linux/hppa/Makefile: New file. + * sysdeps/unix/sysv/linux/hppa/Versions: New file. + * sysdeps/unix/sysv/linux/hppa/syscalls.list: New file. + * sysdeps/unix/sysv/linux/hppa/sysdep.c: New file. + * sysdeps/unix/sysv/linux/hppa/sysdep.h: New file. + + + * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: New file. + * sysdeps/unix/sysv/linux/hppa/bits/ioctls.h: New file. + * sysdeps/unix/sysv/linux/hppa/bits/mman.h: New file. + * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: New file. + * sysdeps/unix/sysv/linux/hppa/bits/signum.h: New file. + * sysdeps/unix/sysv/linux/hppa/brk.c: New file. + * sysdeps/unix/sysv/linux/hppa/clone.S: New file. + * sysdeps/unix/sysv/linux/hppa/socket.S: New file. + * sysdeps/unix/sysv/linux/hppa/syscall.S: New file. + * sysdeps/unix/sysv/linux/hppa/setrlimit.c: New file. + * sysdeps/unix/sysv/linux/hppa/getrlimit.c: New file. + * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: New file. + * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: New file. + * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: New file. + * sysdeps/unix/sysv/linux/hppa/mmap.c: New file. + * sysdeps/unix/sysv/linux/hppa/profil-counter.h: New file. + * sysdeps/unix/sysv/linux/hppa/procfs.h: New file. + * sysdeps/unix/sysv/linux/hppa/ucontext.h: New file. + * sysdeps/unix/sysv/linux/hppa/umount.c: New file. + +2000-10-12 Alan Modra + + * sysdeps/hppa/hppa1.1/Implies: New file. + * sysdeps/hppa/memusage.h: New file. + +2000-10-28 Jes Sorensen + + * sysdeps/unix/sysv/linux/ia64/Versions: Export ioperm, iopl, inb, + inw, inl, _inb, _inw, _inl, outb, outw, outl, _outb, _outw, + _outl. Reported by Bill Nottingham. + +2000-04-06 Andreas Schwab + + * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and + restore register r8 for functions that return a structure. + +2000-10-12 Jakub Jelinek + + * math/libm-test.inc (M_PI_6l, M_E2l, M_E3l, M_2_SQRT_PIl, + M_SQRT_PIl): Increase precision. + (cbrt_test): If cbrt is not implemented, don't test it. + Add L suffix to double constants in results which differ from their + L suffixed counterparts. + (exp10_test, fmod_test, frexp_test, hypot_test, sqrt_test): Likewise. + + * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update. + +2000-10-11 Jakub Jelinek + + * inet/rexec.c (rexec_af): Convert rport to host order before + passing it to snprintf. + +2000-10-14 Ulrich Drepper + + * sysdeps/gnu/netinet/tcp.h: Use u_intXX_t types instead of + uintXX_t since this is what defines and we include + this header. Reported by Bernhard Rosenkraenzer . + + * intl/localealias.c (read_alias_file): Update string pointers + in map[] if realloc() changed the values. + Patch by Jakub Jelinek . + + * manual/stdio.texi: Update printf extension documentation after + z became a valid modifier. + Patch by Joseph S. Myers . + + * timezone/africa: Update from tzcode2000g and tzdata2000g. + * timezone/asia: Likewise. + * timezone/australasia: Likewise. + * timezone/backward: Likewise. + * timezone/europe: Likewise. + * timezone/iso3166.tab: Likewise. + * timezone/northamerica: Likewise. + * timezone/southamerica: Likewise. + * timezone/zone.tab: Likewise. + +2000-10-14 Geoffrey Keating + + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add fcntl() + syscall. + +2000-10-13 Michael Fedrowitz + + * sysdeps/unix/sysv/linux/m68k/alphasort64.c: New file. + * sysdeps/unix/sysv/linux/m68k/fcntl.c: New file. + * sysdeps/unix/sysv/linux/m68k/getdents64.c: New file. + * sysdeps/unix/sysv/linux/m68k/getrlimit.c: New file. + * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: New file. + * sysdeps/unix/sysv/linux/m68k/glob64.c: New file. + * sysdeps/unix/sysv/linux/m68k/lockf64.c: New file. + * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: New file. + * sysdeps/unix/sysv/linux/m68k/readdir64.c: New file. + * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: New file. + * sysdeps/unix/sysv/linux/m68k/scandir64.c: New file. + * sysdeps/unix/sysv/linux/m68k/setrlimit.c: New file. + * sysdeps/unix/sysv/linux/m68k/versionsort64.c: New file. + * sysdeps/unix/sysv/linux/m68k/Dist: Add oldgetrlimit64.c. + * sysdeps/unix/sysv/linux/m68k/Makefile: Add oldgetrlimit64. + * sysdeps/unix/sysv/linux/m68k/Versions: Export __xstat64, + __fxstat64, __lxstat64, alphasort64, glob64, getrlimit, setrlimit, + getrlimit64, readdir64, readdir64_r, scandir64, versionsort64 at + GLIBC_2.2. + * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add oldgetrlimit, + oldsetrlimit for GLIBC_2.0. + + * sysdeps/m68k/dl-machine.h (_dl_start_user): Pass correct + arguments to _dl_init. + +2000-10-13 Geoffrey Keating + + * sysdeps/i386/fpu/libm-test-ulps: Update ULPs for my Pentium III + building with the default options. + +2000-10-11 Andreas Jaeger + + * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set cache. + Patch by Denis Zaitsev . + +2000-10-09 Jakub Jelinek + + * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): If x == y, + return y not x. + * manual/arith.texi (nextafter): Document it. + * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Fix a comment. + +2000-10-08 Ulrich Drepper + + * version.h (VERSION): Bump to 2.1.95. + + * configure.in: Remove warning message. + + * nscd/Makefile (distribute): Add nscd-types.h. + * elf/Makefile (distribute): Add gccframe.h. + * sysdeps/sparc/sparc32/Dist: Add ieee754.h. + * sysdeps/ia64/Dist: Add ieee754.h. + +2000-10-07 Ulrich Drepper + + * elf/elf.h: Add a few section-related symbols. + + * include/features.h (__STDC_ISO_10646__): Set to correct date. + Patch by Markus Kuhn . + +2000-10-06 Jes Sorensen + + * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Implement + overflow generation by adding DBL_MAX to DBL_MAX instead of + setting the bits manually in the fpsr and generating the exception + with kill() if necessary. + (feraiseexcept): Implement underflow by dividing DBL_MIN by + DBL_MIN - similar to the overflow change described above. + +2000-08-27 H.J. Lu + + * sysdeps/unix/sysv/linux/ia64/clone.S: Make it a dummy as clone + is not supported under Linux/ia64, use clone2. + +2000-10-06 Jakub Jelinek + + * malloc/malloc.h (__THROW): Define to nothing if not gcc. + * misc/sys/cdefs.h (__THROW): Likewise. + +2000-10-05 Jakub Jelinek + + * sysdeps/sparc/sparc64/fpu/libm-test-ulps: New file. + +2000-10-02 Jakub Jelinek + + * sunrpc/svc_udp.c (svcudp_recv): Set msg_controllen to all + remaining xp_pad space. + +2000-10-05 Jakub Jelinek + + * elf/dl-close.c (_dl_close): Check imap's l_flags_1 for + DF_1_NODELETE, not list[i]'s. + +2000-10-04 Ulrich Drepper + + * iconvdata/euc-kr.c (euckr_from_ucs4): Handle U20a9. + (BODY from direction): Map \x5c to U20a9. + * iconvdata/testdata/EUC-KR..UTF8: Adjust to this change. + * iconvdata/EUC-KR.irreversible: New file. + * iconvdata/Makefile (distribute): Add EUC-KR.irreversible. + + * argp/argp-parse.c (argp_default_argp): Set libc as message domain. + (argp_version_argp): Likewise. + +2000-10-04 Jakub Jelinek + + * stdio-common/vfscanf.c (_IO_vfscanf): For [ conversion do + input_error() if EOF is seen before processing. + * stdio-common/tstscanf.c (main): Add testcase. + +2000-10-04 Ulrich Drepper + + * argp/argp-help.c: Make sure we get the correct gettext and + dgettext definitions. + * argp/argp-parse.c: Likewise. + +2000-10-03 Ulrich Drepper + + * locale/programs/linereader.c (get_string): Also clear wide + string info if illegal_string. + +2000-10-03 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/bits/stat.h: New file. + +2000-10-02 Jakub Jelinek + + * elf/nextmod1.c (failing_rtld_next_use): Ensure it is not tail call + optimized. + + * sysdeps/sparc/sparc32/fpu/libm-test-ulps: New file. + +2000-10-02 Ralf Baechle + + * sysdeps/unix/sysv/linux/mips/sys/tas.h: Add missing .mips0 at the + end of inline assembler code. + +2000-10-02 Ulrich Drepper + + * include/features.h [__USE_FILE_OFFSET && !__REDIRECT]: Define + __USE_LARGEFILE64 and __USE_LARGEFILE to 1 and not nothing. + +2000-10-02 Andreas Jaeger + + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Synch with Linux + 2.4.0-test9-pre8. + + * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Add RLIMIT_LOCKS. + +2000-10-01 Ralf Baechle + + * sysdeps/mips/dl-machine.h (RTLD_START): Fix computation of envp + argument passed to _dl_init. + +2000-09-30 Bruno Haible + + * locale/programs/charmap-dir.h: New file. + * locale/programs/charmap-dir.c: New file. + * locale/programs/linereader.h (lr_create): New declaration. + * locale/programs/linereader.c (lr_create): New function, split out + from lr_open. + (lr_open): Tailcall lr_create. + * locale/programs/locale.c: Include "charmap-dir.h". Don't include + . + (xstrdup): New declaration. + (more_help): Use xstrdup instead of strdup. + (write_locales): Likewise. When encountering a symbolic link, call + stat. + (write_charmaps): Simplify using the charmap-dir.h functions. + Use xstrdup instead of strdup. + * locale/programs/charmap.c: Include "charmap-dir.h". Don't include + and . + (cmlr_open): New function. + (charmap_read): Use cmlr_open instead of lr_open. Simplify using the + charmap-dir.h functions. + * locale/Makefile (distribute): Add charmap-dir.h. + (lib-modules): Add charmap-dir. + (CFLAGS-charmap-dir.c): Set to -Wno-write-strings, because posix_spawn + wants a 'char **', not a 'const char **'. + * include/spawn.h: New file. + +2000-09-30 Bruno Haible + + * posix/spawn_faction_init.c: Include "spawn_int.h". + (__posix_spawn_file_actions_realloc): Fix second realloc argument. + +2000-09-30 Bruno Haible + + * locale/programs/config.h (DEFAULT_CHARMAP): Set to ANSI_X3.4-1968. + +2000-09-30 Bruno Haible + + * wcsmbs/wcwidth.h (__ctype32_wctype): Remove declaration. + (internal_wcwidth): Remove the tests for L'\0' and iswprint. + * locale/programs/ld-ctype.c (find_idx): If max == NULL, return + a pointer to the table entry, without extending the table. + (allocate_arrays): Set a width only for characters with 'print' + property. Set the width of L'\0' to 0. + * locale/C-ctype.c (_nl_C_LC_CTYPE_width): Use default entry 0xff + for unprintable characters. Set entry of NUL to 0. + +2000-09-30 Bruno Haible + + * locale/programs/charmap.c (charmap_read): Avoid redundant tests. + Don't forget to call closedir when the filename was found as a + code_set_name. + +2000-09-30 Bruno Haible + + * iconv/gconv.h (__gconv_trans_context_fct): Change first argument's + type to 'void *'. + +2000-09-30 Bruno Haible + + * locale/programs/ld-ctype.c (wctype_table_init): Initialize level1, + level2, and level3 as well. + (wctype_table_add): Remove a few unnecessary conditionals. + +2000-09-30 Ralf Baechle + + * wcsmbs/Versions [libc] (GLIBC_2.0): Add __mbrtowc. + +2000-09-30 H.J. Lu + + * sysdeps/ieee754/ldbl-96/s_ceill.c (__ceill): Handle overflow. + * sysdeps/ieee754/ldbl-96/s_floorl.c (__floorl): Likewise. + +2000-09-29 H.J. Lu + + * math/libm-test.inc (init_max_error): Clear all exceptions + before starting test. + (acosh_test): Test for existence of function. + (asinh_test): Likewise. + (atan2_test): Likewise. + (cabs_test): Likewise. + (cacos_test): Likewise. + (cacosh_test): Likewise. + (casin_test): Likewise. + (casinh_test): Likewise. + (catan_test): Likewise. + (catanh_test): Likewise. + (ccos_test): Likewise. + (ccosh_test): Likewise. + (cexp_test): Likewise. + (clog_test): Likewise. + (clog10_test): Likewise. + (cosh_test): Likewise. + (cpow_test): Likewise. + (csin_test): Likewise. + (csinh_test): Likewise. + (csqrt_test): Likewise. + (ctan_test): Likewise. + (ctanh_test): Likewise. + (fmod_test): Likewise. + (hypot_test): Likewise. + (remainder_test): Likewise. + (remquo_test): Likewise. + (sincos_test): Likewise. + (sinh_test): Likewise. + (tanh_test): Likewise. + +2000-09-29 H.J. Lu + + * sysdeps/ia64/ieee754.h: New file. + + * sysdeps/ia64/fpu/math_ldbl.h: New file. + +2000-09-30 Jakub Jelinek + + * elf/ldconfig.h (FLAG_X8664_LIB64): Define. + * sysdeps/unix/sysv/linux/i386/readelflib.c: New file. + +2000-09-30 Ulrich Drepper + + * manual/charset.texi: Correct notations, reference to C90 amd 1, + and some other details. + * manual/ctype.texi: Likewise. + Patches by Markus Kuhn . + +2000-09-30 Franz Sirl + + * sysdeps/ieee754/flt-32/s_frexpf.c: Make it aliasing safe. + +2000-09-29 Ulrich Drepper + + * elf/cache.c (save_cache): Initialize __unused field in new cache + as well to get reproducable results. + +2000-09-29 H.J. Lu + + * sysdeps/ia64/fpu/libm-test-ulps: Updated for long double. + +2000-09-29 H.J. Lu + + * sysdeps/ia64/bits/huge_val.h: New file. + +2000-09-29 Ulrich Drepper + + * elf/chroot_canon.c: Don't report a failure if the last path + component is not available. + * elf/ldconfig.c (parse_conf): Use canonicalized name when reporting + error. + + * elf/cache.c (print_cache): Use stat64 instead of stat. + * elf/ldconfig.c (chroot_stat): Likewise. + (create_links): Likewise. + (manual_link): Likewise. + (search_dir): Likewise. + * elf/readlib.c (process_file): Likewise. + + * Makefile (install): Set LC_ALL and LANGUAGE to C before running + ldconfig. + +2000-09-29 Jakub Jelinek + + * elf/chroot_canon.c: New file. + * elf/Makefile: Build and distribute it. + * elf/ldconfig.h (process_file): Add real_file_name argument. + (chroot_canon): Add prototype. + * elf/ldconfig.c (cache_file): Remove const. + (chroot_stat): New. + (create_links): Add real_path argument. + If opt_chroot, maintain both real and given filenames. + (manual_link): Likewise. + (search_dir): Likewise. + (parse_conf): If opt_chroot, use chroot_canon to find the real + config file. + (main): For -r, try to use chroot, if it fails, leave opt_chroot set + and use chroot_canon where appropriate to do the same as if chroot + succeeded. + * elf/readlib.c (process_file): Add real_file_name argument, pass it + to fopen. + +2000-09-29 Ulrich Drepper + + * math/complex.h (_Complex): We can be more specific when _Complex + is defined by the compiler. + +2000-09-29 H.J. Lu + + * sysdeps/unix/sysv/linux/ia64/dl-cache.h: New. + + * elf/cache.c (print_entry): Replace 64bit with IA-64 in message + for x86/IA-64 binary. + +2000-09-29 Andreas Schwab + + * sysdeps/unix/sysv/linux/ia64/readelflib.c: New file. + + * elf/cache.c (print_entry): Check for FLAG_IA64_LIB64. + +2000-09-29 Mark Kettenis + + * sysdeps/mach/hurd/dl-sysdep.c (__access): New function. Dummy + implementation for use by the dynamic linker. + +2000-09-29 Andreas Jaeger + + * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Protect DN_* by + __USE_GNU. + * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. + +2000-09-29 Andreas Jaeger + + * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Synch with Linux + 2.4.0-test9-pre7. + * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. + +2000-09-29 David Mosberger + + * sysdeps/unix/sysv/linux/ia64/sysdep.S (__ia64_syscall): Cleanup. + + * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Implement. + +2000-06-10 David Mosberger + + * sysdeps/unix/sysv/linux/ia64/setjmp.S: Fix it so it actually + works: call to __sigjmp_save must be done unconditionally to + ensure jmp_buf is initialized properly. + +2000-09-27 Andreas Jaeger + + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Synch with Linux + 2.4.0-test9-pre7. + +2000-09-29 Jakub Jelinek + + * nscd/nscd-client.h (NSCD_VERSION): Bump to 3. + Use nscd_ssize_t where appropriate. + * nscd/nscd_gethst_r.c (nscd_gethst_r): Use nscd_ssize_t instead of + ssize_t where appropriate. + * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. + * nscd/hstcache.c (cache_addhst): Likewise. + * nscd/grpcache.c (cache_addgr): Likewise. + * sysdeps/generic/nscd-types.h: New file. + * sysdeps/alpha/nscd-types.h: New file. + +2000-09-29 Ulrich Drepper + + * inet/getnameinfo.c (nrl_domainname): Use symbolic constant + INADDR_LOOPBACK instead of numeric value. + +2000-09-28 H.J. Lu + + * sysdeps/ia64/dl-machine.h (RTLD_START): Adjust _dl_argv by + _dl_skip_args. + (ELF_MACHINE_FIXED_STACK): Removed. + +2000-09-29 Andreas Jaeger + + * sysdeps/unix/sysv/linux/s390/lockf64.c: New file. + + * sysdeps/unix/sysv/linux/s390/fcntl.c: New file. + + * sysdeps/unix/sysv/linux/powerpc/lockf64.c: New file. + + * sysdeps/unix/sysv/linux/powerpc/fcntl.c: New file. + +2000-09-28 Ulrich Drepper + + * sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle unaligned + relocation also for R_ALPHA_RELATIVE. + Reported by Ivan Kokshaysky . + +2000-09-18 Bruno Haible + + * intl/dcigettext.c: Outside libc, use local variable names that don't + clash with those in libc. + * intl/bindtextdom.c: Likewise. + * intl/textdomain.c: Likewise. + +2000-09-28 Ulrich Drepper + + * elf/ldconfig.c (parse_conf): Print full name of config dir + including chroot() path. + (main): Remove trailing / from opt_chroot string. + + * include/features.h: Correct description of what happens if no + *_SOURCE macro is defined. + + * sysdeps/posix/getaddrinfo.c (gaih_inet): Handle req->ai_socktype + correctly. Reported by Felix von Leitner . + +2000-09-19 H.J. Lu + + * malloc/malloc.h (__memalign_hook): Fix the parameter order. + * malloc/malloc.c (__memalign_hook): Likewise. + (memalign_hook_ini): Likewise. + +2000-09-28 Ulrich Drepper + + * stdio-common/tmpnam.c (tmpnam): Optimize a bit. + + * sysdeps/posix/getaddrinfo.c (gaih_local): Don't use tmpnam, use + underlying functions directly. + + * sysdeps/unix/sysv/linux/bits/resource.h: Add RLIMIT_LOCKS. + * sysdeps/unix/sysv/linux/arm/bits/resource.h: Likewise. + * sysdeps/unix/sysv/linux/i386/bits/resource.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: Likewise. + * sysdeps/unix/sysv/linux/sh/bits/resource.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise. + +2000-09-28 Franz Sirl + + * sysdeps/unix/sysv/linux/kernel-features.h: Add __ASSUME_IPC64, only + define it for powerpc for kernel >= 2.4.0. + * sysdeps/unix/sysv/linux/msgctl.c: Test for __ASSUME_IPC64, not + __ASSUME_32BITUIDS. + * sysdeps/unix/sysv/linux/semctl.c: Likewise. + * sysdeps/unix/sysv/linux/shmctl.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Sync with kernel. + * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: New file. + * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: New file. + * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: New file. + +2000-09-28 Martin Schwidefsksy + + * sysdeps/s390/atomicity.h: Fix compare_and_swap. + + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h + (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8. + +2000-09-28 Denis Joseph Barrow + + * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Use definitions from + ucontext.h. + * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Fix ucontext structure. + +2000-09-27 Andreas Schwab + + * math/Makefile (distribute): Explicitly add the long double test + sources, to get them included even if long double is not supported. + +2000-09-27 Jes Sorensen + + * elf/soinit.c (struct object): Move definition to gccframe.h and + include it. Problem identified by HJ Lu. + + * sysdeps/ia64/gccframe.h: New file. ia64 specific version of + struct object to be searched for frame unwind info. + * sysdeps/generic/gccframe.h: New file. Generic version of + struct object to be searched for frame unwind info. + +2000-09-28 Ulrich Drepper + + * manual/errno.texi: Correct error text for ENXIO. + Reported by Jörg Schilling . + +2000-09-27 Jes Sorensen + + * sysdeps/ia64/fpu/fsetexcptflg.c (fesetexceptflag): Set the + exception status bits rather than the exception disable bits. + Don't include math.h. + + * sysdeps/ia64/fpu/fgetexcptflg.c (fegetexceptflag): Report the + status of exceptions currently raised rather than which exceptions + are enabled. + + * sysdeps/ia64/fpu/fclrexcpt.c (feclearexcept): Typecase to fenv_t + rather than unsigned long int. + + * sysdeps/ia64/fpu/fedisblxcpt.c (fedisableexcept): Only disable + the exceptions actually requested by the caller and not just + disable all exceptions. + + * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Exceptions on + the ia64 are enabled by clearing the respective bits in the fpsr, + not setting them. + + * sysdeps/ia64/bits/fenv.h: typedef fexcept_t and fenv_t to + unsigned long int rather than unsigned long to be consistent with + the coding conventions. + +2000-09-20 H.J. Lu + + * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Use fenv_t instead of + unsigned long int. + * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise. + +2000-09-28 Ulrich Drepper + + * string/bits/string2.h: Unify #if usage. + +2000-09-27 Jakub Jelinek + + * math/test-fenv.c (feexcp_mask_test): If enabling all exceptions + and disabling underflow or overflow, disable inexact as well. + +2000-09-26 Andreas Jaeger + + * sysdeps/gnu/netinet/tcp.h: Add tcp_info defines and types. + + * sysdeps/unix/sysv/linux/sys/mount.h (enum): New flag MS_BIND. + + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETLKW64, + F_GETLK64, F_SETLK64): Update from Linux-2.4.0-test9-pre4. + + * elf/ldconfig.c (search_dir): Allow unlimited path length. + (create_links): Likewise. + +2000-09-27 Ulrich Drepper + + * posix/tst-dir.c: Test a few error cases of chdir. + +2000-09-26 Ulrich Drepper + + * math/math_private.h: Don't add long double prototypes if + NO_LONG_DOUBLE is defined. + + * sysdeps/unix/i386/i586/clock_nanosleep.c (CLOCK_P): Remove + CLOCK_MONOTONIC. + * sysdeps/unix/i386/i586/clock_gettime.c (EXTRA_CLOCK_CASES): Likewise. + * sysdeps/unix/i386/i586/clock_getres.c (EXTRA_CLOCK_CASES): Likewise. + + * sysdeps/unix/sysv/linux/i386/bits/time.h: Remove CLOCK_MONOTONIC. + +2000-09-26 Jakub Jelinek + + * sysdeps/sparc/sparc32/bits/endian.h: Remove. + * sysdeps/sparc/sparc32/ieee754.h: New. + * sysdeps/sparc/sparc64/bits/endian.h: Move... + * sysdeps/sparc/bits/endian.h: ...here. + * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Optimize. + * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Check + %o1, not %o0 to see if we're parent or child. Optimize. + +2000-09-26 Jes Sorensen + + * sysdeps/unix/sysv/linux/ia64/fork.S: New file (based on code + by Hans Boehm). + * sysdeps/unix/sysv/linux/ia64/vfork.S: New file (based on + code by Hans Boehm). + * sysdeps/unix/sysv/linux/ia64/fork.c: Deleted (obsoleted by fork.S). + +2000-09-20 H.J. Lu + + * sysdeps/ia64/fpu/printf_fphex.c: New file. + + * sysdeps/ia64/fpu/libm-test-ulps: New file. + +2000-09-17 H.J. Lu + + * sysdeps/ia64/Makefile (long-double-fcts): New. Defined as yes. + + * sysdeps/ia64/fpu/s_isinfl.c: New file. Include + sysdeps/i386/fpu/s_isinfl.c. + + * sysdeps/ia64/fpu/s_isnanl.c: New file. Include + sysdeps/i386/fpu/s_isnanl.c. + + * sysdeps/ia64/fpu/s_nextafterl.c: New file. Include + sysdeps/i386/fpu/s_nextafterl.c. + + * sysdeps/ia64/fpu/bits/mathdef.h: New file. Copied from + sysdeps/i386/fpu/bits/mathdef.h. + +2000-09-16 H.J. Lu + + * sysdeps/generic/ldsodefs.h (DL_UNMAP): New. Defined if + DL_UNMAP_IS_SPECIAL is not defined. + + * sysdeps/ia64/dl-lookupcfg.h (DL_UNMAP_IS_SPECIAL): Defined. + (_dl_unmap): New prototype. + (DL_UNMAP): New. Defined as _dl_unmap. + + * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_unmap. + + * elf/dl-close.c (_dl_close): Replace __munmap with DL_UNMAP. + +2000-09-16 H.J. Lu + + * sysdeps/generic/ldsodefs.h (DL_LOOKUP_ADDRESS): New. Defined + if ELF_FUNCTION_PTR_IS_SPECIAL is not defined. + + * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): New + prototype. + (DL_LOOKUP_ADDRESS): New. Defined as _dl_lookup_address. + + * sysdeps/ia64/dl-fptr.c (_dl_lookup_address): New. Lookup + the memory location of a function from a function descriptor. + + * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_lookup_address. + + * elf/dl-addr.c (_dl_addr): Use DL_LOOKUP_ADDRESS to get the + memory location. + +2000-09-14 Jes Sorensen + + * sysdeps/ia64/bits/byteswap.h (__bswap_16): Don't mark output + variable as input argument. + (__bswap_32): Likewise. + + * sysdeps/ia64/dl-machine.h: Add missing stop bit in RTLD_START() + - found by Jim Wilson + +2000-09-26 Ulrich Drepper + + * string/strxfrm.c: Only require alignment on __alignof__ (int32_t) + instead of 4. + +2000-09-26 Andreas Schwab + + * locale/programs/ld-collate.c (collate_output): Only require + alignment on __alignof__ (int32_t) instead of 4. + * locale/loadlocale.c (_nl_load_locale): Likewise. + * string/strcoll.c: Likewise. + +2000-09-26 Jes Sorensen + + * sysdeps/ieee754/ldbl-96/e_atan2l.c (__ieee754_atan2l): Add + parentheses around arithmetic used in | statement to kill compiler + warning. + + * math/math_private.h: Add prototype for __finitel. + (__ilogbl): Likewise. + (__isinfl): Likewise. + (__isnanl): Likewise. + (__atanl): Likewise. + (__copysignl): Likewise. + (__expm1l): Likewise. + (__floorl): Likewise. + (__frexpl): Likewise. + (__ldexpl): Likewise. + (__log1pl): Likewise. + (__nanl): Likewise. + (__rintl): Likewise. + (__scalbnl): Likewise. + (__sqrtl): Likewise. + (fabsl): Likewise. + (__sincosl): Likewise. + +2000-09-26 Andreas Schwab + + * sysdeps/m68k/fpu/libm-test-ulps: New file + +2000-09-26 Ulrich Drepper + + * locale/langinfo.h (__nl_langinfo_l): Add prototype. + +2000-09-26 Andreas Jaeger + + * misc/mkstemp64.c: New file. + * misc/Makefile (routines): Add mkstemp64. + * stdlib/stdlib.h: Add prototype and redirection magic. + * misc/Versions: Add mkstemp64. + +2000-09-26 Thorsten Kukuk + + * nscd/dbg_log.c (dbg_log): Add missing format string. + +2000-09-26 Ulrich Drepper + + * catgets/catgets.c (catopen): Use getenv instead of __secure_getenv + since we filter out the variable once. + * iconv/gconv_conf.c (__gconv_get_path): Likewise. + * locale/newlocale.c (__newlocale): Likewise. + * locale/setlocale.c (setlocale): Likewise. + * malloc/malloc.c (ptmalloc_init): Likewise. + * resolv/res_hconf.c (_res_hconf_init): Likewise. + * resolv/res_init.c (__res_vinit): Likewise. + * time/tzfile.c (__tzfile_read): Likewise. + * sysdeps/generic/unsecvars.h: New file. + * elf/dl-support.c (non_dynamic_init): Use it here to remove variables. + * elf/rtld.c (process_envvars): Likewise. + * elf/Makefile (distribute): Add unsecvars.h. + + * misc/daemon.c (daemon): Fail if !noclose and we cannot open the + real /dev/null device. + + * sysdeps/generic/check_fds.c: Include device-nrs.h. + * sysdeps/generic/device-nrs.h: New file. + * sysdeps/unix/sysv/linux/device-nrs.h: New file. + * misc/Makefile (distribute): Add device-nrs.h. + + * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Use O_TRUNC to + remove possible garbage at the end of the file. + +2000-09-25 Ulrich Drepper + + * stdio-common/tmpnam_r.c: Warn about insecure tmpnam_r. + * stdio-common/tmpnam.c: Warn about insecure tmpnam. + * stdio-common/tempnam.c: Warn about insecure tempnam. + * misc/mktemp.c: Warn about insecure mktemp. + + * sysdeps/generic/check_fds.c: Check that file opened is really + /dev/null. + * posix/wordexp.c (exec_comm_child): Likewise. + + * elf/rtld.c (process_envvars): Open debug output file with O_NOFOLLOW. + + * locale/Makefile (routines): Add nl_langinfo_l. + * locale/Versions [libc] (GLIBC_2.2): Add __nl_langinfo_l. + * locale/nl_langinfo_l.c: New file. + * locale/nl_langinfo.c: Allow use of file for __nl_langinfo_l + definition. + +2000-09-23 Bruno Haible + + * iconvdata/gbk.c (USE_PRIVATE_AREA): Define to 0. + (__gbk_to_ucs): Conditionalize private area mappings. + (__gbk_from_ucs4_tab9): Likewise. + (BODY for TO_LOOP): Likewise. + * iconvdata/testdata/GBK: Don't use characters not yet in Unicode. + * iconvdata/testdata/GBK..UTF-8: Likewise. + * iconvdata/tst-tables.sh: Enable GBK test. + +2000-09-23 Bruno Haible + + * iconvdata/gbk.c (__gbk_to_ucs): Swap U+2014 and U+2015. + (__gbk_from_ucs4_tab4): Swap entries for U+2014 and U+2015. + (BODY for FROM_LOOP): Reject input > 0xFEA0, avoids out-of-bounds + array access. + * iconvdata/gbgbk.c (BODY for FROM_LOOP): Map 0xA844 to 0xA1AA. + * iconvdata/testdata/GBK..UTF8: Swap U+2014 and U+2015. + +2000-09-23 Bruno Haible + + * iconvdata/johab.c (final_to_ucs): Fix typos. + (jamo_from_ucs_table): Likewise. + (BODY for FROM_LOOP): Map 0x5c to U+20A9. Reject ranges + 0xD9E6..0xD9FE and 0xDEF2..0xDEFE. + (BODY for TO_LOOP): Map U+20A9 to 0x5c. Don't produce values in + the range 0xD9E6..0xD9FE. + * iconvdata/tst-tables.sh: Enable JOHAB testing. + +2000-09-25 Ulrich Drepper + + * iconv/gconv_conf.c (__gconv_get_path): Fix problem with relative + GCONV_PATH. + +2000-09-24 Ulrich Drepper + + * libio/genops.c (_IO_doallocbuf): Don't use single byte buffer if + stream is in wide mode. + + * stdio-common/vfprintf.c (buffered_vfprintf): Orient stream. + +2000-09-21 Bruno Haible + + * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Shift __count + by 3, not 2. + (INIT_PARAMS, UPDATE_PARAMS): Likewise. + +2000-09-21 Bruno Haible + + * stdio-common/vfscanf.c (__vfscanf, _IO_vfscanf): Fix bugs in + reallocation logic for MALLOC (%as, %aS formats). + +2000-09-24 Ulrich Drepper + + * stdio-common/vfprintf.c (process_arg): Handle %hhn. + Add missing case in va_arg handling for numbers. + * stdio-common/tst-printf.c (main): Add tests for %hhu and %hhn + handling. + * stdio/tst-printf.sh: Adjust expected results. + Reported by Joseph S. Myers . + +2000-09-20 Bruno Haible + + * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Reject 0x80. + (BODY for TO_LOOP): Clear bit 7 when outputting ISO-8859-1 upper half + characters. + * iconvdata/gen-8bit-gap-1.sh: Recognize lowercase hexadecimal digits + as equivalent to uppercase hexadecimal digits. + +2000-09-20 Bruno Haible + + * iconvdata/testdata/EUC-KR..UTF8: New file. + * iconvdata/testdata/EUC-TW: New file. + * iconvdata/testdata/EUC-TW..UTF8: New file. + * iconvdata/testdata/EUC-JP: New file. + * iconvdata/testdata/EUC-JP..UTF8: New file. + * iconvdata/testdata/ISO-2022-JP: New file. + * iconvdata/testdata/ISO-2022-JP..UTF8: New file. + * iconvdata/testdata/ISO-2022-JP-2: New file. + * iconvdata/testdata/ISO-2022-JP-2..UTF8: New file. + * iconvdata/testdata/ISO-2022-KR: Add a few more lines. + * iconvdata/testdata/ISO-2022-KR..UTF8: New file. + * iconvdata/testdata/ISO-2022-CN: New file. + * iconvdata/testdata/ISO-2022-CN..UTF8: New file. + * iconvdata/testdata/ISO-2022-CN-EXT: New file. + * iconvdata/testdata/ISO-2022-CN-EXT..UTF8: New file. + * iconvdata/TESTS: Enable tests for ISO-2022-JP, ISO-2022-JP-2, + ISO-2022-CN, ISO-2022-CN-EXT, EUC-JP, EUC-TW. + +2000-09-24 Andreas Jaeger + + * elf/ldconfig.c (add_dir): Move logic to add entry to list to new + function add_single_dir. + (add_single_dir): New function. + (search_dir): Use add_single_dir instead of recursing. + + * sysdeps/generic/dl-cache.h: Include stdint.h. + (struct file_entry_new): Use fixed sizes for interoperability + between 32bit and 64bit systems, add __unused to make alignment + explicit. + (CACHE_VERSION): Increment. + (struct cache_file_new): Use fixed sizes, add one more unused + entry to make alignment explicit. + +2000-09-24 Ulrich Drepper + + * elf/ldconfig.c (search_dir): Make more use of d_type information. + +2000-09-23 Ulrich Drepper + + * stdio-common/printf-parse.h (parse_one_spec): Clear + spec->info.i18n. Patch by Joseph S. Myers . + +2000-09-18 Mark Kettenis + + * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_SYNCHRONIZED_IO): + #undef since we don't have msync. + + * sysdeps/mach/hurd/bits/time.h: (CLOCKS_PER_SEC): Make a long int + constant since that is what clock_t is. + * sysdeps/mach/hurd/i386/bits/time.h: Likewise. + +2000-09-11 Mark Kettenis + + * sysdeps/mach/getloadavg.c (getloadavg): Divide instead of + multiply by LOAD_SCALE. + +2000-09-22 Jakub Jelinek + + * crypt/crypt.h (crypt, setkey, encrypt): Add __THROW. + (crypt_r, setkey_r, encrypt_r): Likewise. + +2000-09-22 Andreas Jaeger + + * locale/programs/repertoire.c (repertoiremap_hash): Don't specify + array size. + + * sysdeps/alpha/fpu/libm-test-ulps: New file. + From Christian Iseli . + +2000-09-21 Andreas Jaeger + + * math/libm-test.inc (atan_test): Test for existence of function. + (expm1_test): Likewise. + (acos_test): Likewise. + (asin_test): Likewise. + (exp_test): Likewise. + (log10_test): Likewise. + (log_test): Likewise. + (pow_test): Likewise. + (sqrt_test): Likewise. + (cos_test): Likewise. + (sin_test): Likewise. + (tan_test): Likewise. + (log1p_test): Likewise. + (log2_test): Likewise. + + * sysdeps/i386/fpu/libm-test-ulps: Tweak some values for K6. + + * libio/oldiofsetpos64.c: Fix alias names. + +2000-09-21 Martin Buchholz + + * manual/terminal.texi (Allocation): Sample code correction. + +2000-09-20 Andreas Jaeger + + * iconvdata/Makefile (generated): Add tst-tables.out. + + * intl/Makefile (generated): Add test output. + +2000-09-19 Andreas Jaeger + + * sunrpc/clnt_simp.c (callrpc): Fix write beyond end of buffer. + Reported by Jens-Uwe Mager . + +2000-09-18 Ulrich Drepper + + * version.h (VERSION): Bump to 2.1.94. + + * sysdeps/mips/Dist: Add fpu/fenv_libc.h. + * sysdeps/sparc/sparc32/soft-fp/Dist: Add q_add.c. + * sysdeps/sparc/sparc64/soft-fp/Dist: Add qp_add.c. + * sysdeps/unix/sysv/linux/ia64/Dist: Add net/route.h. + + * malloc/mtrace.c (mtrace): Mark stream as close on exec. + +2000-09-17 Bruno Haible + + * iconvdata/utf-16.c (BODY for TO_LOOP): Reject UCS-4 input in the + range 0xD800..0xDFFF. + * iconvdata/unicode.c (BODY for TO_LOOP): Likewise. + (BODY for FROM_LOOP): Likewise. + * iconv/gconv_simple.c (ucs2_internal_loop): Likewise. + (internal_ucs2_loop): Likewise. + (ucs2reverse_internal_loop): Likewise. + (internal_ucs2reverse_loop): Likewise. + +2000-09-17 Bruno Haible + + * iconvdata/utf-16.c (gconv_init): Add missing slashes to encoding + names. + +2000-09-17 Bruno Haible + + * iconvdata/tst-table-from.c (main): Fix test for error on stdout. + * iconvdata/tst-table-to.c (main): Likewise. + +2000-09-17 Bruno Haible + + * iconvdata/iso-ir-165.c (__isoir165_from_tab): Renamed from + __isoir165_tab. + * iconvdata/cns11643.h (__cns11643l1_to_ucs4_tab): New declaration. + * iconvdata/iso-2022-cn-ext.c: Include "cns11643.h". + (GB7590_set, GB13132_set, CNS11643_3_set, CNS11643_4_set, + CNS11643_5_set, CNS11643_6_set, CNS11643_7_set): Change enum values. + (BODY for FROM_LOOP): Fix buffer overrun. Treat CNS11643 plane 3. + Return __GCONV_INCOMPLETE_INPUT instead of __GCONV_EMPTY_INPUT. + (BODY for TO_LOOP): Fix usage of `set' vs. `used'. Fix typo that + caused GB2312 to be used instead of ISO-IR-165. Treat CNS11643 + plane 3. Fix shift sequences. Output announcement for SS2 and SS3 + encodings when needed. When outputting an announcement, don't clear + most other announcements. + +2000-09-17 Bruno Haible + + * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): Fix buffer overrun. + (BODY for TO_LOOP): Fix usage of `set' vs. `used'. + +2000-09-14 Bruno Haible + + * intl/Versions: Add bind_textdomain_codeset. + +2000-09-16 Ralf Baechle + + * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Reformat. Declare + as function. + (_RTLD_EPILOGUE): Reformat. Declare size of entry function. + (ELF_MACHINE_BEFORE_RTLD_RELOC): Relocate the dynamic linker itself so + it will even work when not loaded to the standard address. + (RTLD_START): Reformat. Call _dl_start in a way that is safe even + before the dynamic linker itself is relocated. + +2000-09-18 Andreas Jaeger + + * sysdeps/unix/sysv/linux/kernel-features.h: Always define + __ASSUME_32BITUIDS for MIPS. + * sysdeps/unix/sysv/linux/mips/ipc_priv.h: New file. + * sysdeps/unix/sysv/linux/mips/Dist: Add ipc_priv.h. + +2000-09-17 H.J. Lu + + * catgets/Makefile ($(objpfx)de/libc.cat): Use + $(make-target-directory) instead of mkdir. + +2000-09-17 Franz Sirl + + * sysdeps/unix/sysv/linux/kernel-features.h: Always define + __ASSUME_32BITUIDS for __powerpc__. + * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: New file. + * sysdeps/unix/sysv/linux/powerpc/Dist: Add ipc_priv.h. + +2000-09-17 Ulrich Drepper + + * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Fix last + patch. + * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise. + +2000-09-16 Jakub Jelinek + + * sysdeps/ia64/Implies: Reorder ieee754 implies so that ldbl-* comes + first. + * sysdeps/m68k/Implies: Likewise. + * sysdeps/sparc/sparc64/Implies: Likewise. + +2000-09-16 Jakub Jelinek + + * elf/readlib.c (process_file): Don't error for stale .so links either. + +2000-09-16 Ulrich Drepper + + * elf/dl-load.c (_dl_map_object_from_fd): Add one more + __builtin_expect. + + * include/bits/xopen_lim.h (LONG_BIT): Use LONG_MAX, not INT_MAX. + Patch by Thorsten Kukuk . + + * dlfcn/Makefile (distribute): Add defaultmod1.c and defaultmod2.c. + (test): Add default. + (modules-names): Add defaultmod1 and defaultmod2. + Add rules to build test objects. + +2000-09-15 Ulrich Drepper + + * wctype/wctype.h: Always include . + Reported by Jim Meyering . + + * elf/rtld.c (_dl_dynamic_weak): Set to 1 by default for now. + * elf/dl-support.c: Likewise. + + * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Correct position of + st_blocks member in stat and stat64 structs. + Patch by Bill Nottingham . + + * iconvdata/tst-tables.sh: Add warning that GB18030 test might + take longer. + + * math/complex.h: Don't define _Complex macro for gcc 3. Add + __extension__ to _Complex_I definition since gcc warns if -pedantic. + * math/bits/cmathcalls.h (conj): Add __extension__ since we use ~. + Patches by Joseph S. Myers . + + * include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX if + necessary. Move includes of POSIX and Unix limits files to the end. + * stdlib/Makefile (tests): Add tst-limits. + * stdlib/tst-limits.h: New file. + +2000-09-15 Andreas Jaeger + + * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Handle FE_NOMASK_ENV. + + * sysdeps/mips/bits/fenv.h (FE_NOMASK_ENV): Define. + +2000-09-15 Jakub Jelinek + + * sysdeps/unix/alpha/sysdep.h (inline_syscall_clobbers): Add memory + clobber. + * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Likewise. + +2000-09-15 Ulrich Drepper + + * elf/Makefile (distribute): Add nextmod1.c and nextmod2.c. + (tests): Add next. + (modules-names): Add nextmod1 and nextmod2. + Add rules to build and run next. + * elf/next.c: New file. + * elf/nextmod1.c: New file. + * elf/nextmod2.c: New file. + +2000-09-14 Jakub Jelinek + + * elf/dl-lookup.c (_dl_lookup_symbol_skip): Fix a typo. + +2000-09-15 Andreas Jaeger + + * sysdeps/mips/fpu/fenv_libc.h: New file. + * sysdeps/mips/fpu/feenablxcpt.c: Use fenv_libc.h + * sysdeps/mips/fpu/fegetexcept.c: Likewise. + * sysdeps/mips/fpu/fedisblxcpt.c: Likewise. + + * sysdeps/mips/fpu/feenablxcpt.c: New file. + * sysdeps/mips/fpu/fegetexcept.c: New file. + * sysdeps/mips/fpu/fedisblxcpt.c: New file. + +2000-09-14 Ulrich Drepper + + * intl/Makefile: Avoid unnecessary test reruns. + + * stdio-common/tst-printf.sh: Also allow output from 64-bit machines. + + * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Change + to not use sysctl(). Too many architectures have problems with it. + +2000-09-14 Andreas Jaeger + + * scripts/config.sub: New version from subversions.gnu.org. + + * time/clocktest.c (main): Change format, CLOCKS_PER_SEC is now + long. + +2000-09-14 Jakub Jelinek + + * posix/regex.c (compile_range): Cast collseq index to unsigned char + to avoid accessing data before collseq. + + * sysdeps/sparc/fpu/bits/mathinline.h (__unordered_v9cmp): Avoid + pasting strings together. + +2000-09-14 Greg McGary + + * sysdeps/generic/bp-checks.h: Remove bogus reference to GNU MP in + copyright notice. + * sysdeps/generic/bp-semctl.h: Likewise. + * sysdeps/generic/bp-start.h: Likewise. + * sysdeps/generic/bp-sym.h: Likewise. + * sysdeps/generic/bp-thunks.h: Likewise. Include to get + rename prototype. + +2000-09-13 Ulrich Drepper + + * io/test-lfs.c (do_test): Allow stat64() to return EOVERFLOW and + don't fail. + + * elf/elf.h: Add missing official relocations. + + * libio/stdio.h: Define __FILE if __need___FILE is defined. + * stdio/stdio.h: Likewise. + * wcsmbs/wchar.h: Get definition of __FILE. Use __FILE instead of FILE. + * include/stdio.h: Handle __need___FILE like __need_FILE. + * include/wchar.h: Use __FILE instead of FILE. + * libio/fwprintf.c: Include for FILE definition. + * libio/fwscanf.c: Likewise. + * libio/getwc.c: Likewise. + + * sysdeps/generic/stdint.h (WINT_MAX): Define to 4294967295u. + * sysdeps/generic/bits/wchar.h (WCHAR_MIN): Define to -2147483647 - 1. + * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Likewise. + + * assert/assert.h: Update comment header about ISO C section. + * math/complex.h: Likewise. + * ctype/ctype.h: Likewise. + * include/errno.h: Likewise. + * include/limits.h: Likewise. + * locale/locale.h: Likewise. + * math/math.h: Likewise. + * setjmp/setjmp.h: Likewise. + * signal/signal.h: Likewise. + * stdio/stdio.h: Likewise. + * libio/stdio.h: Likewise. + * stdlib/stdlib.h: Likewise. + * string/string.h: Likewise. + * time/time.h: Likewise. + * wcsmbs/wchar.h: Likewise. + * wctype/wctype.h: Likewise. + Patches by Joseph S. Myers . + +2000-09-13 Andreas Jaeger + + * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Fix test + for no more entries. + * sysdeps/unix/sysv/aix/bits/socket.h (__cmsg_nxthdr): Likewise. + * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Likewise. + Reported by Eric S. Johnson , closes PR libc/1887. + +2000-09-13 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Make a long int + constant since this is what clock_t is. + * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise. + * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise. + + * time/time.h: Don't defined clockid_t and timer_t unless POSIX + definitions are requested. + +2000-09-13 Andreas Jaeger + + * shlib-versions: libBrokenLocale needs minimal version for ia64, + sparc64 and sh to synch with libc. + +2000-09-13 Ulrich Drepper + + * iconvdata/Makefile (modules): Add ISO-2022-CN-EXT. + (distribute): Add iso-2022-cn-ext.c. + Add definitions to compile the new module. + * iconvdata/gconv-modules: Add entries for ISO-2022-CN-EXT. + * iconvdata/iso-2022-cn-ext.c: New file. + * iconvdata/iso-ir-165.h (isoir165_to_ucs4): Renamed from + ucs4_from_isoir165. Increment input pointer if successful. + + * csu/Makefile: Work around a gcc bug when creating csu-dummies. + + * sysdeps/unix/sysv/linux/getdents.c: Pretty print. + +2000-09-01 Jes Sorensen + + * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add + __syscall_getdents64 wrapper. + + * sysdeps/unix/sysv/linux/ia64/net/route.h: New file. + +2000-09-12 Ulrich Drepper + + * iconvdata/gb18030.c: Many many changes. Make consistent with + charmap and with itself. + * iconvdata/tst-tables.sh: Test GB18030. + +2000-09-11 Ulrich Drepper + + * iconv/skeleton.c: Fix last patch, add missing parameter to + unaligned function call. + +2000-09-10 Bruno Haible + + * locale/programs/ld-collate.c (collate_read): Fix typo in handling + of decimal ellipsis. + +2000-09-11 Bruno Haible + + * locale/programs/ld-collate.c (collate_read): Always initialize + error_section.next. + +2000-09-10 Bruno Haible + + * locale/programs/ld-collate.c (collate_finish): Upper bound for + ruleidx is 128, not 256. + +2000-09-11 Ulrich Drepper + + * locale/programs/ld-collate.c (collate_read): Correct check for + already inserted entries. + +2000-09-10 Bruno Haible + + * iconv/skeleton.c (FUNCTION_NAME): Handle unaligned access in + second try as well. + +2000-09-10 Bruno Haible + + * iconv/skeleton.c (FUNCTION_NAME): Optimize an `if' if + MAX_NEEDED_FROM > 1 && MAX_NEEDED_TO > 1. + +2000-09-10 Bruno Haible + + * iconv/skeleton.c (gconv_init): Replace all uses of RESET_STATE with + SAVE_RESET_STATE. + +2000-09-10 Bruno Haible + + * iconvdata/utf-7.c: New file. + * iconvdata/gconv-modules (UTF-7): New module entries. + * iconvdata/Makefile (modules): Add UTF-7. + (distribute): Add utf-7.c. + * iconvdata/testdata/UTF-7: New file. + * iconvdata/testdata/UTF-7..UTF8: New file. + * iconvdata/TESTS (UTF-7): New entry. + * iconvdata/run-iconv-test.sh: Fix confusing output. + +2000-09-11 Ulrich Drepper + + * sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat. + +2000-09-10 David S. Miller + + * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp + frame pointer offset for non-fast path. + +2000-09-10 Ulrich Drepper + + * locale/programs/3level.h (*_init): Initialize level1, level2, + and level3 as well. + (*_add): Remove a few unnecessary conditionals. + +2000-09-05 Wolfram Gloger + + * malloc/thread-m.h [_LIBC]: Even if not linking with libpthread, + ensure usability of mutex as an `in use' flag. + +2000-09-10 Ulrich Drepper + + * shlib-versions: Simplify libm entries. Correct a few Hurd entries. + + * sysdeps/generic/initfini.c: Rewrite slightly to get rid of the + ugly GMON_WEAK_START hack. + Patch by Philip Blundell . + + * sysdeps/i386/i486/bits/string.h: Pretty printing. + +2000-09-09 Ulrich Drepper + + * sysdeps/powerpc/dl-machine.c: Add volatile to PPC_DCBST, PPC_SYNC, + and PPC_ICBI asm for broken compilers. + Patch by Franz Sirl . + +2000-09-09 Andreas Jaeger + + * manual/message.texi (Advanced gettext functions): Fix typo. + + * sysdeps/unix/sysv/linux/dl-osinfo.h: Include for + strncpy prototype. + +2000-09-09 Ulrich Drepper + + * sysdeps/ia64/memchr.S: Add .pred.rel to avoid wrong assembler + warnings. + * sysdeps/ia64/memccpy.S: Likewise. + Patches by Jim Wilson . + + * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Use uname + before trying to read /proc. + Patch by Matt Wilson . + * include/sys/utsname.h: Declare __uname. + * sysdeps/generic/uname.c: Make uname a weak alias of __uname. + * sysdeps/mach/hurd/uname.c: Likewise. + * sysdeps/unix/syscalls.list: Likewise. + + * iconv/gconv_dl.c (do_release_shlib): Rewrite condition for + unloading a bit. + +2000-09-08 Ulrich Drepper + + * posix/getopt.c (_getopt_internal): When long_only is set always + recognize conflicts just like before. + +2000-09-08 Franz Sirl + + * sysdeps/ia64/Makefile (sysdep-rtld-routines): New variable. + +2000-09-08 Greg McGary + + * sysdeps/unix/sysv/linux/syscalls.list (mincore): Fix arg signature. + * sysdeps/unix/make-syscalls.sh: New signature keyletter `V'. + * sysdeps/generic/bp-checks.h (CHECK_N_PAGES): New macro. + +2000-09-08 Andreas Jaeger + + * sysdeps/unix/sysv/linux/arm/lockf64.c: New file. + + * sysdeps/unix/sysv/linux/arm/fcntl.c: New file. + + * sysdeps/unix/sysv/linux/arm/bits/fcntl.h + (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8. + (F_GETLK,F_SETLK,F_SETLKW): Handle __USE_FILE_OFFSET64 correctly. + +2000-09-07 Ulrich Drepper + + * iconvdata/tst-tables.sh: Enable EUC-KR test. + + * elf/dl-load.c (lose): Decrement _nl_loaded. + (_dl_map_object_from_fd): Don't try to dlopen executables. + + * iconvdata/tst-tables.sh: Actually return with an error if + something goes wrong. + * iconvdata/tst-table.sh: Return with an error if any of the cmp fails. + * iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input. + + * iconvdata/tst-tables.sh: Add BIG5HKSCS. + + * iconvdata/tst-table-to.c (main): Correct cast in iconv call. + * iconvdata/tst-table-from.c: Include . + (try): Correct cast in iconv call. + + * elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines) + too. + * sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable. + (sysdep_routines): Remove dl-start. + Patches by Franz Sirl . + + * assert/__assert.c: Undefine NDEBUG before include . + + * sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning. + * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise. + +2000-09-06 Andreas Schwab + + * sysdeps/unix/sysv/linux/ia64/bits/time.h: New file. + +2000-09-07 Ulrich Drepper + + * sysdeps/unix/sysv/linux/gethostid.c: Find hostid file in /etc. + + * scripts/config.sub: Strip out -unknown for Linux targets. + Patch by Scott Bambrough . + + * posix/tst-dir.c (main): Correct one bug (missing NULL test) and + add one more test. + +2000-09-07 Andreas Jaeger + + * sysdeps/unix/sysv/linux/mips/lockf64.c: New file. + + * sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the + syscalls. + + * sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_fcntl. + + * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to dl_lookup. + (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise. + + * sysdeps/unix/sysv/linux/mips/fcntl.c: New file. + + * stdlib/tst-bsearch.c (main): Add more test cases. + + * locale/programs/ld-collate.c (handle_ellipsis): Fix typo. + * elf/dl-load.c (_dl_map_object_from_fd): Likewise. + Reported by GOTO Masanori . + +2000-09-07 Ulrich Drepper + + * posix/Makefile (tests): Add tst-dir. + (tst-dir-ARGS): New variable. + * posix/tst-dir.c: New file. + +2000-09-07 Andreas Jaeger + + * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_getdents64): New. + (SYS_fcntl64): New. + + * sysdeps/unix/sysv/linux/mips/syscalls.list: Add getdents64. + +2000-09-06 Ulrich Drepper + + * sysdeps/unix/opendir.c: If O_DIRECTORY_WORKS is defined don't + use the hack with tryopen_o_directory to determine at runtime + whether it works. + * sysdeps/unix/sysv/linux/opendir.c: New file. + * sysdeps/unix/sysv/linux/kernel-features.h: Define + __ASSUME_O_DIRECTORY if kernel knows O_DIRECTORY. + + * catgets/Depend: New file. Add intl. + * catgets/Makefile (tests): Add tst-catgets. + (generated): Remove de.msg. + (generated-dirs): Add de. + Add dependency if tst-catgets output on de/libc.cat. + * catgets/tst-catgets.c: New file. + + * po/ja.po: New file. + * po/el.po: Update from translation team. + + * wcsmbs/Depend: New file. + * wcsmbs/Makefile (tests): Add tst-btowc. + (tst-btowc-ENV): Define. + * wcsmbs/tst-btowc.c: New file. + + * sysdeps/unix/sysv/linux/_G_config.h: Moved to... + * sysdeps/gnu/_G_config.h: ...here to be shared with Hurd. + + * sysdeps/posix/signal.c: Add sig to act.sa_mask for completeness. + + * stdlib/Makefile (tests): Add tst-bsearch. + * stdlib/tst-bsearch.c: New file. + + * posix/getopt.c (_getopt_internal): Don't recognize an option + name as ambiguous if it's a prefix for more than one name but the + other struct option values are identical. + + * posix/tstgetopt.c: Add test for improved ambiguity recognition. + Don't depend on visual inspection of the output file to recognize + errors. + * posix/Makefile (tstgetopt-ARGS): Add a few more parameters. + +2000-09-06 Andreas Jaeger + + * sysdeps/alpha/soft-fp/Dist: New file. + * sysdeps/i386/soft-fp/Dist: New file. + * sysdeps/mips/mips64/soft-fp/Dist: New file. + * sysdeps/mips/soft-fp/Dist: New file. + * sysdeps/powerpc/soft-fp/Dist: New file. + * sysdeps/sparc/sparc32/soft-fp/Dist: New file. + * sysdeps/sparc/sparc64/soft-fp/Dist: New file. + + * sysdeps/sparc/sparc64/soft-fp/Makefile [$(subdir) = soft-fp]: + Use sysdep_routines instead of routines to fix make dist failure. + * sysdeps/sparc/sparc32/soft-fp/Makefile: Likewise (in commented + out code). + * sysdeps/powerpc/soft-fp/Makefile [$(subdir) = soft-fp]: Likewise. + + * sysdeps/mips/Makefile [$(subdir) = misc]: Use + sysdep_headers instead of headers for make dist. + + * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]: Likewise. -2001-08-10 Wolfram Gloger +2000-09-06 Andreas Schwab - * malloc/malloc.c (grow_heap): Use mmap() rather than mprotect() - to allocate new memory, for better performance with Linux-2.4.x. + * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file. -2001-08-10 Ulrich Drepper +2000-09-06 Andreas Jaeger - * posix/getopt_init.c (__getopt_clean_environment): Avoid making - the strncmp calls most of the time by testing for '_' as the first - character of the name. + * soft-fp/Makefile (distribute): Remove ChangeLog. - * elf/dl-open.c (add_to_global): Remove stale comment. + * sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]: Use + sysdep_routines instead of routines for make dist. - * elf/dl-load.c (fillin_rpath): In SUID binaries, don't mark - non-system-dirs in LD_LIBRARY_PATH as nonexisting, simply drop them. +2000-09-05 Ulrich Drepper - * libio/iovdprintf.c (_IO_vdprintf): Set _IO_USER_LOCK flag for - temporary stream. Don't define lock. - * libio/obprintf.c (_IO_obstack_vprintf): Likewise. - * libio/strops.c (_IO_str_init_static): Likewise. - * libio/vasprintf.c (_IO_vasprintf): Likewise. - * libio/wstrops.c (_IO_wstr_init_static): Likewise. - * libio/iovsprintf.c: Likewise. - * libio/iovsnprintf.c: Likewise. - * libio/iovswprintf.c: Likewise. - * libio/iovsscanf.c: Likewise. - * libio/iovswscanf.c: Likewise. - * stdio-common/vfprintf.c [USE_IN_LIBIO] (buffered_vfprintf): Likewise. - * libio/genops.c (_IO_no_init): Don't call _IO_lock_init if _lock - is NULL. - (_IO_default_finish): Likewise. + * libio/libio.h (_IO_fwide_maybe_incompatible): For glibc 2.0 + compatibility check for old stream and call _IO_wide in doubt. + (_IO_fwide): Use _IO_fwide_maybe_incompatible macro. + * libio/iofwide.c (_IO_fwide): If compatibility with glibc 2.0 is + needed tst for such an old structure and don't do anything. + * libio/freopen.c: Remove declaration of _IO_stdin_used. + +2000-09-06 Andreas Jaeger + + * sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify + sysdep-dl-routines and sysdep_routines instead of rtld-routines + and dl-routines. + + * soft-fp/ChangeLog: Merged with this file. + +2000-06-13 Ulrich Drepper + + * soft-fp/Makefile (distribute): Add op-8.h and testit.c. + + * soft-fp/Makefile (distribute): Add the math functions, too. + + * soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure. + +2000-03-03 Geoff Keating + + * soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it + as a statement. + + * soft-fp/sysdeps/powerpc/Makefile (routines): New file. + * soft-fp/sysdeps/powerpc/q_*: New files. + +2000-09-05 Ulrich Drepper + + * stdio-common/vfprintf.c (process_string_arg): Handle precision + in wide char case correctly. Don't allocate too long temporary + strings with alloca. + + * stdio-common/Makefile (tests): Add tst-swprintf. + (tst-swprintf-ENV): New variable. + * stdio-common/tst-swprintf.c: New file. + +2000-09-05 Andreas Jaeger + + * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use st_pad5. + * sysdeps/unix/sysv/linux/mips/xstatconv.c: Fix assignments. + Patch by Maciej W. Rozycki . + +2000-09-05 Ulrich Drepper + + * configure.in: Strip out "unknown" from configuration names. + +2000-09-05 Andreas Jaeger + + * sysdeps/powerpc/Subdirs: New file, adds soft-fp. + + * sysdeps/sparc/sparc64/Implies: Add soft-fp. + * sysdeps/sparc/sparc32/Implies: Likewise. + * sysdeps/powerpc/Implies: Likewise. + + * libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1. + * libio/oldiofgetpos64.c: Likewise. + + * soft-fp/Makefile (distribute): Remove configure. + + * sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2. + + * soft-fp/configure: Remove. + + * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here... + * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here. + + * soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here... + * sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here. + + * soft-fp/sysdeps/powerpc/Makefile: Move from here... + * sysdeps/powerpc/soft-fp/Makefile: ... to here. + + * soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here... + * sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here. + + * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here... + * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here. + + * soft-fp/sysdeps/powerpc/q_add.c: Move from here... + * sysdeps/powerpc/soft-fp/q_add.c: ... to here. + + * soft-fp/sysdeps/powerpc/q_cmp.c: Move from here... + * sysdeps/powerpc/soft-fp/q_cmp.c: ... to here. + + * soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here... + * sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here. + + * soft-fp/sysdeps/powerpc/q_div.c: Move from here... + * sysdeps/powerpc/soft-fp/q_div.c: ... to here. + + * soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here... + * sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here. + + * soft-fp/sysdeps/powerpc/q_feq.c: Move from here... + * sysdeps/powerpc/soft-fp/q_feq.c: ... to here. + + * soft-fp/sysdeps/powerpc/q_fge.c: Move from here... + * sysdeps/powerpc/soft-fp/q_fge.c: ... to here. + + * soft-fp/sysdeps/powerpc/q_fgt.c: Move from here... + * sysdeps/powerpc/soft-fp/q_fgt.c: ... to here. + + * soft-fp/sysdeps/powerpc/q_fle.c: Move from here... + * sysdeps/powerpc/soft-fp/q_fle.c: ... to here. + + * soft-fp/sysdeps/powerpc/q_flt.c: Move from here... + * sysdeps/powerpc/soft-fp/q_flt.c: ... to here. + + * soft-fp/sysdeps/powerpc/q_fne.c: Move from here... + * sysdeps/powerpc/soft-fp/q_fne.c: ... to here. + + * soft-fp/sysdeps/powerpc/q_itoq.c: Move from here... + * sysdeps/powerpc/soft-fp/q_itoq.c: ... to here. + + * soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here... + * sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here. + + * soft-fp/sysdeps/powerpc/q_mul.c: Move from here... + * sysdeps/powerpc/soft-fp/q_mul.c: ... to here. + + * soft-fp/sysdeps/powerpc/q_neg.c: Move from here... + * sysdeps/powerpc/soft-fp/q_neg.c: ... to here. + + * soft-fp/sysdeps/powerpc/q_qtod.c: Move from here... + * sysdeps/powerpc/soft-fp/q_qtod.c: ... to here. + + * soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here... + * sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here. + + * soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here... + * sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here. + + * soft-fp/sysdeps/powerpc/q_qtos.c: Move from here... + * sysdeps/powerpc/soft-fp/q_qtos.c: ... to here. + + * soft-fp/sysdeps/powerpc/q_qtou.c: Move from here... + * sysdeps/powerpc/soft-fp/q_qtou.c: ... to here. + + * soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here... + * sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here. + + * soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here... + * sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here. + + * soft-fp/sysdeps/powerpc/q_stoq.c: Move from here... + * sysdeps/powerpc/soft-fp/q_stoq.c: ... to here. + + * soft-fp/sysdeps/powerpc/q_sub.c: Move from here... + * sysdeps/powerpc/soft-fp/q_sub.c: ... to here. + + * soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here... + * sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here. + + * soft-fp/sysdeps/powerpc/q_util.c: Move from here... + * sysdeps/powerpc/soft-fp/q_util.c: ... to here. + + * soft-fp/sysdeps/powerpc/q_utoq.c: Move from here... + * sysdeps/powerpc/soft-fp/q_utoq.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here... + * sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here... + * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here... + * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here... + * sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here... + * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here... + * sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here... + * sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here... + * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here... + * sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here... + * sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here... + * sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here... + * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here... + * sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here... + * sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here... + * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here... + * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here... + * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here... + * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here... + * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here... + * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here... + * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here... + * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here... + * sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here... + * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here... + * sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here... + * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here... + * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here... + * sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here... + * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here... + * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here... + * sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here... + * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here... + * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here... + * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here... + * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here... + * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here... + * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here... + * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here... + * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here... + * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here... + * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here... + * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here... + * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here... + * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here... + * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here... + * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here... + * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here... + * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here... + * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here... + * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here... + * sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here... + * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here... + * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here... + * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here... + * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here... + * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here. + + * soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here... + * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here. + + * soft-fp/sysdeps/alpha/sfp-machine.h: Move from here... + * sysdeps/alpha/soft-fp/sfp-machine.h: ... to here. + + * soft-fp/sysdeps/i386/sfp-machine.h: Move from here... + * sysdeps/i386/soft-fp/sfp-machine.h: ... to here. + + * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here... + * sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here. + + * soft-fp/sysdeps/mips/sfp-machine.h: Move from here... + * sysdeps/mips/soft-fp/sfp-machine.h: ... to here. + + * soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here... + * sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here. + + * soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here... + * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here. + + * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here... + * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here. + + * soft-fp/sysdeps/powerpc/Versions: Move from here... + * sysdeps/powerpc/soft-fp/Versions: ... to here. + + * soft-fp/sysdeps/sparc/sparc64/Versions: Move from here... + * sysdeps/sparc/sparc64/soft-fp/Versions: ... to here. + + * libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1, + change symbol version. + * libio/oldiofgetpos64.c: Likewise. + Reported by Martin v. Loewis . + + * locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix + typo. + Reported by dyky@kondara.org, closes PR libc/1886. + + * stdlib/tst-strtod.c: Add testcases for denormal numbers from PR + libc/1880. + +2000-09-04 Ulrich Drepper + + * iconvdata/run-iconv-test.sh: Add code to immediately stop the + script when ^C is hit. + + * locale/programs/localedef.c (construct_output_path): Correct + computation of endp after asprintf. + * locale/programs/locfile.c (write_locale_data): Don't add extra + slash in filename. + +2000-09-05 Andreas Jaeger + + * scripts/config.guess: New upstream version. + * scripts/config.sub: Likewise. + * manual/texinfo.tex: Likewise. + +2000-09-04 Andreas Schwab + + * elf/Makefile (all-dl-routines): New variable. + (elide-routines.os): Use it instead of $(dl-routines). + (all-rtld-routines): New variable. + (extra-objs): Use it instead of $(rtld-routines). + ($(objpfx)dl-allobjs.os): Likewise. + * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify + sysdep-dl-routines and sysdep_routines instead of rtld-routines + and dl-routines. + +2000-09-03 Bruno Haible + + * iconv/gconv_trans.c (__gconv_translit_find): Update open_count. + Set fname to NULL if the module wasn't found. + +2000-09-03 Bruno Haible + + * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to + true if trans->name already ends in ".so". + +2000-09-03 Bruno Haible + + * iconv/gconv_int.h (__gconv_release_shlib): Change return type to + void. + * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter + below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound. + (__gconv_release_shlib): Change return type to void. + * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set + step->__counter here. + * iconv/gconv_db.c (free_derivation): Don't call a step's destructor + if the reference is zero. + (release_step): New function. + (gen_steps): Always initialize the __counter to 1. Use release_step. + Don't call the destructor on the step whose initializer failed. + (increment_counter): Use release_step. Don't normally run destructors + here. + (__gconv_close_transform): Use release_step. + +2000-09-03 Bruno Haible + + * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove. + (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead. + +2000-09-03 Bruno Haible + + * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly. + If the first byte is 0x8E, don't ask for 4 bytes until it has been + verified that the second byte is valid. Leave it to cns11643_to_ucs4 + to check for incomplete input. + * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is + ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for + __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196. + (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and + 0x9f9d..0x9fa5. + * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for + __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196. + (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129. + * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend + upto index 0x0052. + +2000-09-03 Bruno Haible + + * iconv/gconv_db.c (find_derivation): Always use the least-cost + solution. + +2000-09-03 Bruno Haible + + * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF + are invalid. + +2000-09-03 Bruno Haible + + * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C. + * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to + U+007E. + +2000-09-03 Bruno Haible + + * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C. + +2000-09-03 Bruno Haible + + * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7. + +2000-09-03 Bruno Haible + + * iconvdata/tst-tables.sh: New file. + * iconvdata/tst-table.sh: New file. + * iconvdata/tst-table-from.c: New file. + * iconvdata/tst-table-to.c: New file. + * iconvdata/tst-table-charmap.sh: New file. + * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to. + (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh, + tst-table-from.c, tst-table-to.c, EUC-JP.irreversible, + ISIRI-3342.irreversible, SJIS.irreversible. + (tests): Add dependency on tst-tables.out. + (tst-tables.out, tst-tables-clean): New rules. + (do-tests-clean, common-mostlyclean): Require tst-tables-clean. + * iconvdata/ISIRI-3342.irreversible: New file. + * iconvdata/EUC-JP.irreversible: New file. + * iconvdata/SJIS.irreversible: New file. + +2000-09-04 Ulrich Drepper + + * manual/locale.texi (General Numeric): Update description of + representation of the grouping information in the locale data. + Patch by Gaute B. Strokkenes . + +2000-09-04 Andreas Jaeger + + * locale/programs/ld-monetary.c (monetary_read): Fix typo. + * iconv/iconv_prog.c (options): Fix typo. + Reported by dyky@kondara.org, closes PR libc/1885. + +2000-09-04 Andreas Jaeger + + * sysdeps/generic/fegetenv.c: It's __fegetenv. + Reported by Rob Levin . + +2000-09-03 Ulrich Drepper + + * time/sys/time.h (gettimeofday): Move restrict for tz parameter + to the typedefs of __timezone_ptr_t. + Reported by MATSUMURA Hiromitsu . + +2000-09-02 Jakub Jelinek + + * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in + the loop. + +2000-09-01 H.J. Lu + + * Makeconfig (built-program-cmd): Don't use the dynamic linker + to run a binary if it is in $(tests-static). + + * Rules (binaries-static): Add $(tests-static). + +2000-09-02 Andreas Jaeger + + * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64. + + * libio/fmemopen.c (fmemopen_close): Revert one part of last + patch. + +2000-09-01 Ulrich Drepper + + * iconvdata/big5hkscs.c: Regenerated from charmap. + * iconvdata/testdata/BIG5HKSCS: Regenerated. + * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated. + + * libio/fmemopen.c (fmemopen_seek): Add default case in switch + statement. General cleanup. + +2000-08-31 Bruno Haible + + * wctype/wcfuncs.c (iswblank): New function. + * wctype/wcfuncs_l.c (__iswblank_l): New function. + * wctype/wcextra.c: Remove file. + * wctype/wcextra_l.c: Remove file. + * wctype/Makefile (distribute): Remove wcextra and wcextra_l. + +2000-08-31 Bruno Haible + + * locale/programs/ld-collate.c (collate_output): Remove redundant + assert call. + * string/strcoll.c: Likewise. + * string/strxfrm.c: Include assert.h. Add assert calls like in + string/strcoll.c. + +2000-08-31 Bruno Haible + + * locale/categories.def (_NL_COLLATE_HASH_SIZE, + _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES, + _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions. + * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS, + _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively. + (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3. + (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4. + (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to + _NL_CTYPE_GAP5/6 respectively. + + * locale/C-ctype.c (_nl_C_LC_CTYPE): Update. + * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables. + * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format. + Don't initialize __ctype_names and __ctype_width. + * wctype/cname-lookup.h: Remove file. + * wctype/Makefile (distribute): Remove cname-lookup.h. + * wctype/wchar-lookup.h: Include stdint.h. + * wctype/wctype.c (__wctype): Assume new locale format. + * wctype/wctype_l.c (__wctype_l): Likewise. + * wctype/iswctype.c: Don't include cname-lookup.h. + (__iswctype): Assume new locale format. + * wctype/iswctype_l.c: Don't include cname-lookup.h. + (__iswctype_l): Assume new locale format. + * wctype/wctrans.c: Don't include ctype.h. + (wctrans): Assume new locale format. + * wctype/wctrans_l.c (__wctrans_l): Likewise. + * wctype/towctrans.c: Don't include cname-lookup.h. + (__towctrans): Assume new locale format. + * wctype/towctrans_l.c: Don't include cname-lookup.h. + (__towctrans_l): Assume new locale format. + * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include + localeinfo.h instead. + (__NO_WCTYPE): Remove unused macro. + (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove + declarations. + (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint, + iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format. + (towlower, towupper): Likewise. + * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include + localeinfo.h instead. + (__NO_WCTYPE): Remove unused macro. + (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l, + __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l, + __iswxdigit_l): Assume new locale format. + (__towlower_l, __towupper_l): Likewise. + * wcsmbs/wcwidth.h: Don't include cname-lookup.h. + (__ctype32_b): Remove declaration. + (internal_wcwidth): Assume new locale format. + * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields + plane_size, plane_cnt, names, width. Rename map to map_b, rename map32 + to map32_b, rename width_3level to width. + (ctype_output): Always create new locale format. Don't emit + _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more. + (allocate_arrays): Always create new locale format. + + * locale/C-collate.c (_nl_C_LC_COLLATE): Update. + * locale/weightwc.h (findidx): Assume new locale format. + * string/strcoll.c (wcscoll): Remove local variables size, layers, + names. + * string/strxfrm.c (wcsxfrm): Likewise. + * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of + local variable collseq to 'const char *'. + (SUFFIX): Don't use, don't undefine. + * posix/fnmatch.c: Remove SUFFIX definition. + * locale/programs/ld-collate.c (struct locale_collate_t): Remove + fields plane_size, plane_cnt, wcheads, wcseqorder. Rename + wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder. + (collate_finish): Always create new locale format. Remove local + variables min_total, act_size. + (collate_output): Always create new locale format. Remove local + variables table_size, names, tablewc. Rename tablewc_3level to + tablewc. + +2000-08-31 Bruno Haible + + * locale/programs/ld-collate.c (obstack_int32_grow, + obstack_int32_grow_fast): New inline functions. + (output_weightwc, collate_output): Use them where possible. + +2000-09-01 Ulrich Drepper + + * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last + patch (_mode -> _flags). + + * libio/Makefile (headers): Add stdio_ext.h. + (routines): Add __fbufsize, __freading, __fwriting, __freadable, + __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking. + * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading, + __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending, + __fsetlocking, and _flushlbf. + * libio/__fbufsize.c: New file. + * libio/__flbf.c: New file. + * libio/__fpending.c: New file. + * libio/__fpurge.c: New file. + * libio/__freadable.c: New file. + * libio/__freading.c: New file. + * libio/__fsetlocking.c: New file. + * libio/__fwritable.c: New file. + * libio/__fwriting.c: New file. + * libio/stdio_ext.h: New file. + * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf. + * libio/libio.h (_IO_USER_LOCK): Define. + [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which + test _IO_USER_LOCK flag first. + + * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is + malloc fails. + +2000-09-01 Andreas Jaeger + + * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail. + + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file. + +2000-08-31 Ulrich Drepper + + * math/Makefile (tests): Add tst-defintions. + * math/tst-definitions.c: New file. + + * stdlib/Makefile (headers): Add bits/wchar.h. + * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file. + * sysdeps/generic/bits/wchar.h: New file. + * sysdeps/generic/stdint.h: Include . Use values in this + file to define WCHAR_MIN and WCHAR_MAX. + Change UINT*8_MAX and UIN*16_MAX value to type int. + * wcsmbs/wchar.h: Include . Use values in this + file to define WCHAR_MIN and WCHAR_MAX. + * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN + int values. + * sysdeps/arm/fpu/bits/mathdef.h: Likewise. + * sysdeps/generic/bits/mathdef.h: Likewise. + * sysdeps/i386/fpu/bits/mathdef.h: Likewise. + * sysdeps/m68k/fpu/bits/mathdef.h: Likewise. + * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise. + * sysdeps/sparc/fpu/bits/mathdef.h: Likewise. + * locale/locale.h (struct lconv): Add __ prefix to the new members + if not C99. + * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and + imaxdiv optimizations. + * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work. + * sysdeps/wordsize-64/ldiv.c: Likewise. + * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to + const fenv_t*. + * sysdeps/generic/bits/fenv.h: Likewise. + * sysdeps/i386/fpu/bits/fenv.h: Likewise. + * sysdeps/ia64/bits/fenv.h: Likewise. + * sysdeps/m68k/fpu/bits/fenv.h: Likewise. + * sysdeps/mips/bits/fenv.h: Likewise. + * sysdeps/s390/fpu/bits/fenv.h: Likewise. + * sysdeps/sparc/fpu/bits/fenv.h: Likewise. + Reported by Joseph S. Myers . + + * inet/rcmd.c: Use *stat64 instead of *stat internally. + * inet/ruserpass.c: Likewise. + * catgets/open_catalog.c: Likewise. + * intl/loadmsgcat.c: Likewise. + * io/getdirname.c: Likewise. + * locale/loadlocale.c: Likewise. + * misc/getusershell.c: Likewise. + * stdlib/canonicalize.c: Likewise. + * sysdeps/posix/euidaccess.c: Likewise. + * sysdeps/posix/isfdtype.c: Likewise. + * sysdeps/posix/posix_fallocate.c: Likewise. + * sysdeps/posix/tempname.c: Likewise. + * sysdeps/unix/grantpt.c: Likewise. + * sysdeps/unix/opendir.c: Likewise. + * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise. + * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise. + * sysdeps/unix/sysv/linux/ptsname.c: Likewise. + * sysdeps/unix/sysv/linux/statvfs.c: Likewise. + * sysdeps/unix/sysv/linux/ttyname.c: Likewise. + * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise. + * sysvipc/ftok.c: Likewise. + * time/getdate.c: Likewise. + + * time/getdate.c: Add extra access test. + +2000-08-31 Ulrich Drepper + + * version.h (VERSION): Bump to 2.1.93. + + * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c. + * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h. + + * intl/Makefile (tests): Depend in mtrace-tst-gettext. + Make this a new rule depending on tst-gettext.out and run mtrace. + * intl/tst-gettext.c: Call mtrace. + * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext. + + * elf/dl-reloc.c: Add a few more __builtin_expect. + + * configure.in: Remove --with-gettext option. + + * intl/dcigettext.c (free_mem): Correct freeing of + _nl_domain_bindings list. + + * sysdeps/generic/setenv.c (free_mem): New function. Free all + allocated memory. + + * intl/locale.alias: Add aliases for bokmal and nynorsk. + + * locale/iso-639.def: Fix 639-1 code for Bokmal. + + * stdio-common/itoa-digits.c: Move upper digits to... + * stdio-common/itoa-udigits.c: ...here. New file. + * stdio-common/Makefile (routines): Add itoa-udigits. + + * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to + relocate ld.so don't add supprt for relocations which should not + appear in ld.so. + + * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling + __secure_getenv. Instead test __libc_enable_secure once. + + * io/pwd.c (main): Provide a good example, use *_unlocked function. + +2000-08-30 Ulrich Drepper + + * iconv/gconv_conf.c (insert_module): Take extra parameter to decide + whether the new record should be freed if it's a duplicate. + (add_module): Adjust insert_module call. + (__gconv_read_conf): Likewise. + * iconvdata/Makefile (generated): Add tst-loading.mtrace and + mtrace-tst-loading. + (tests): Make $(objpfx)mtrace-tst-loading a dependency. Add rule. + + * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and + _dl_all_init_dirs. + * include/link.h (struct r_search_path_struct): New. + (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs. + * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and + _dl_all_init_dirs. + * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs. + * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements + added at startup time. + * elf/dl-load.c: Fix memory handling. r_search_path_struct + contains element to remember fact that we can free memory. + (all_dirs): Renamed to _dl_all_dirs. Made global. + (_dl_init_all_dirs): New variable. + (fillin_rpath): Save one malloc call. + (decompose_rpath): Change interface. New first parameter points to + r_search_path_struct. + (_dl_init_paths): Adjust for changes. Mark all memory as not + deletable. Set _dl_init_all_paths value. + (open_path): Remove may_free_dirs parameter. r_search_path_elem *** + parameter replaced with r_search_path_struct *. Information about + freeing now contained in r_search_path_struct. + (_dl_map_object): Adjust for above changes. + + * elf/dl-open.c (dl_open_worker): Change format of debug info a bit. + + * elf/dl-load.c (fillin_rpath): Only check for trusted directories + when adding new entries. + + * elf/dl-load.c (fillin_rpath): Make local copy of where string + since the object being loaded can be unloaded. + + * iconvdata/Makefile (tests): Add tst-loading. + * iconvdata/tst-loading.c: New file. + +2000-08-29 Bruno Haible + + * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change. + When comparing a char with an int, always cast the char to + 'unsigned char'. New macro ungetc_not_eof, to avoid warnings when + compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX. + +2000-08-30 Ulrich Drepper + + * time/strftime.c (my_strftime): Add compatibility code for use + outside glibc. Patch by Jim Meyering . + + * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere + return 0 for success but always < 0 on failure. + + * nss/getXXbyYY_r.c: Define result to *result before including + digits_dots.c. + +2000-08-30 Andreas Jaeger + + * math/gen-libm-test.pl (parse_ulps): Remove extra \. + +2000-08-29 Ulrich Drepper + + * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the + official file. + * iconvdata/TESTS: Add BIG5HKSCS entry. + * iconvdata/testdata/BIG5HKSCS: New file. + * iconvdata/testdata/BIG5HKSCS..UTF8: New file. + + * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is + always true. + + * libio/iogetline.c: Set mode before the loop in case n==0. + * libio/iogetwline.c: Likewise. + +2000-08-29 H.J. Lu + + * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead + of fp->_mode < 0. + (_IO_new_file_overflow): Likewise. + * libio/genops.c (_IO_flush_all): Likewise. + * libio/ioftell.c (_IO_ftell): Likewise. + +2000-08-29 Akira Higuchi + + * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct, + and __end_fct fields of struct __gconv_step. + * iconv/Makefile (tests): Add iconv-bug2. + * iconv/iconv-bug2.c: New file. + + * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr' + instead of 'inptr - inend' to ksc5601_to_ucs4. + + * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character. + + * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete + character or shift sequence is found at the end of the input + string, return__GCONV_INCOMPLETE_INPUT instead of + __GCONV_EMPTY_INPUT. + * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise. + * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise. + + * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return + __GCONV_ILLEGAL_INPUT for 8bit characters. + +2000-08-29 Ulrich Drepper + + * signal/signal.h (sigpause): Move __THROW before __asm__. + + * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the + names don't match don't return. + Patch by Olaf Kirch . + +2000-08-28 Ulrich Drepper + + * time/strftime.c (my_strftime): Handle # flag for %b as well. + +2000-08-27 H.J. Lu + + * posix/Makefile (otherlibs): Add for building with static-nss + for "make check". + +2000-08-28 Ulrich Drepper + + * libio/stdio.h: Add fmemopen prototype. + +2000-08-25 Andreas Jaeger + + * libio/Makefile (routines): Add fmemopen. + (tests): Add test-fmemopen. + * libio/Versions: Add fmemopen with version GLIBC_2.2. + * libio/test-fmemopen.c: New file. + * libio/fmemopen.c: New file. + Patches by Hanno Mueller . + +2000-08-28 Ulrich Drepper + + * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double + inclusion. Patch by Jes Sorensen . + + * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828 + to avoid crashing statically linked applications. + +2000-08-27 Bruno Haible + + * string/strxfrm.c (strxfrm, wcsxfrm): Include . + If nrules == 0 and srclen < n, copy only srclen + 1 characters. + + * sysdeps/generic/getdomain.c (getdomainname): Include . + If the result is fits in the buffer, copy only as many bytes as needed. + + * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the + buffer after copying numbuf into it. + * sysdeps/mach/_strerror.c (__strerror_r): Likewise. + +2000-08-27 Bruno Haible + + * posix/confstr.c (confstr): When string_len > len, NUL-terminate + the result. When string_len < len, don't clear the rest of the buffer. + +2000-08-27 Bruno Haible + + Support for new LC_COLLATE format. + * locale/coll-lookup.h: New file. + * locale/weightwc.h (findidx): When size == 0, call + collidx_table_lookup. + * wcsmbs/wcscoll.c: Include coll-lookup.h. + * wcsmbs/wcsxfrm.c: Likewise. + * posix/fnmatch.c: Likewise. + * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call + collseq_table_lookup. + * locale/programs/3level.h: New file. + * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define + by including "3level.h". + * locale/programs/ld-collate.c (wchead_table, collidx_table, + collseq_table): New types, defined by including "3level.h". + (locale_collate_t): New wcheads_3level, wcseqorder_3level fields. + (encoding_mask, encoding_byte): Remove. + (utf8_encode): Use simple shifts instead. + (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt + to 0, and initialize and fill wcheads_3level and wcseqorder_3level. + (collate_output): New local variable tablewc_3level. When + !oldstyle_tables, set table_size to 0 and names to NULL and fill + tablewc_3level instead of tablewc. Change format of TABLEWC and + COLLSEQWC entries written to the file. + * locale/C-collate.c (collseqwc): Change format. + (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format + of COLLSEQWC. + * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h. + +2000-08-27 Bruno Haible + + * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro. + (locale_ctype_t): New charnames_idx field. + (ctype_startup): Initialize charnames_idx field. + (find_idx): Speed up dramatically by using charnames_idx inverse table. + +2000-08-27 Bruno Haible + + * locale/C-ctype.c: Switch to new locale format. + (_nl_C_LC_CTYPE_names): Remove array. + (STRUCT_CTYPE_CLASS): New macro. + (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print, + graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}): + New three-level tables. + (_nl_C_LC_CTYPE_width): Change from array to three-level table. + (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS + to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add + 12 class tables and 2 map tables at the end. + * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration. + (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print, + graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}): + New declarations. + (b): Remove trailing semicolon. + (__ctype_names, __ctype_width): Don't initialize. + (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize. + +2000-08-27 Bruno Haible + + * elf/dl-load.c (open_path): Add a argument telling whether *dirsp + is guaranteed to be allocated with the same malloc() and may be + passed to free(). + (_dl_map_object): Update open_path calls. If rtld_search_dirs has + been set to empty by an earlier open_path call, don't pass it again. + +2000-08-28 Ulrich Drepper + + * include/libintl.h: Include since libintl.h doesn't if + we are not optimizing. + + * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double + inclusion. + + * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to + really match EOF. + Patch by Franz Sirl . + +2000-08-28 Andreas Jaeger + + * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon. + +2000-08-28 Mark Kettenis + + * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from + getpeername. Use ISO C style function definition. + (getpeername): Provide weak alias. + * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from + setrlimit. Use ISO C style function definition. + (setrlimit): Provide weak alias. + +2000-08-28 Martin Schwidefsky + + * shlib-versions: Add a rule for S/390 to the libm version list. + * sysdeps/s390/Versions: New file. + * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c. + * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64. + * sysdeps/unix/sysv/linux/s390/Versions: New file. + * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file. + * sysdeps/unix/sysv/linux/s390/chown.c: New file. + * sysdeps/unix/sysv/linux/s390/fxstat.c: New file. + * sysdeps/unix/sysv/linux/s390/getdents64.c: New file. + * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file. + * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file. + * sysdeps/unix/sysv/linux/s390/lxstat.c: New file. + * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file. + * sysdeps/unix/sysv/linux/s390/readdir64.c: New file. + * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file. + * sysdeps/unix/sysv/linux/s390/scandir64.c: New file. + * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file. + * sysdeps/unix/sysv/linux/s390/syscalls.list: New file. + * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file. + * sysdeps/unix/sysv/linux/s390/xstat.c: New file. + +2000-08-28 Ulrich Drepper + + * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu] + (CFLAGS-initfini.s): Add -DWEAK_GMON_START. + + * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files. + * elf/dl-close.c (_dl_close): Print debug message if object is not + unloaded. + * elf/dl-open.c (dl_open_worked): Print message about opencount before + returning to caller. + + * po/zh.po: Renamed to... + * po/zh_TW.po: ...this. + +2000-08-27 Geoff Keating + + * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin. + + * sysdeps/powerpc/fpu/fedisblxcpt.c: New file. + * sysdeps/powerpc/fpu/feenablxcpt.c: New file. + * sysdeps/powerpc/fpu/fegetexcept.c: New file. + * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file. + +2000-08-27 Ulrich Drepper + + * locale/programs/ld-collate.c (insert_weights): Also update + backpointer of next element. + (collate_read): Allow definition of new collation symbols in stage 2. + Symbol after reorder-after can be UCS4 value. + Allow reordering of collation symbols and elements. + Do not only move reorder entry in new position. Instead call + insert_weight to do this and read the weights. + + * locale/findlocale.c (free_mem): Add cast to avoid warning. + + * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code + to determine invalid locale name. + * locale/findlocale.c (_nl_find_locale): Likewise. + + * posix/annexc.c: Correct test for unavailable feature. + + * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE -> + __inline. + +2000-08-26 Ulrich Drepper + + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64 + syscall. + + * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource] + (sysdep_routines): Add oldgetrlimit64. + + * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c, + reldepmod2.c, reldepmod3.c, and reldepmod4.c. + (tests): Add unload, reldep, reldep2, and reldep3. + (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3, + and reldepmod4. + Add rules to build and run unload, reldep, reldep2, and reldep3. + * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit. + Don't create relocation dependency if it is nonzero. + (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This + can never happen here. + (_dl_lookup_versioned_symbol): Add new parameter explicit. + Don't create relocation dependency if it is nonzero. + (_dl_lookup_versioned_symbol_skip): Remove relocation dependency + stuff. This can never happen here. + * sysdeps/generic/ldsodefs.h: Change prototypes. + * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to + _dl_lookup_up and _dl_lookup_versioned_symbol. + (RESOLV): Likewise. + * elf/dl-runtime.c (fixup): Likewise. + (profile_fixup): Likewise. + * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to + _dl_lookup_symbol. + * elf/dl-symbol.c (_dl_symbol_value): Likewise. + * elf/rtld.c (dl_main): Likewise. + * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to + _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute + and pass down the caller map. + (_dl_vsym): Likewise. + * elf/reldep.c: New file. + * elf/reldep2.c: New file. + * elf/reldep3.c: New file. + * elf/reldepmod1.c: New file. + * elf/reldepmod2.c: New file. + * elf/reldepmod3.c: New file. + * elf/reldepmod4.c: New file. + * elf/unload.c: New file. + * elf/unloadmod.c: New file. + + * elf/do-lookup.h: Remove unused undef_name parameter. + * elf/dl-lookup.c: Adjust callers. + +2000-08-25 Ulrich Drepper + + * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of + irreversible in recursive call of conversion function to signal that + no error handling is wanted. + * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too. + (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL. + * iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is + recursive error handling call, otherwise to &lirreversible. Use it + for calls to conversion functions. + * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when + transliterating. + (ucs4_internal_loop_unaligned): Likewise. + (ucs4le_internal_loop): Likewise. + (ucs4le_internal_loop_unaligned): Likewise. + +2000-08-25 Greg McGary + + * sysdeps/i386/memchr.S: Check high bound against chars + actually scanned. + * sysdeps/i386/memcmp.S: Likewise. + * sysdeps/i386/stpncpy.S: Adjust high-bound check to + account for pointers that lie one beyond end-of-buffer. + +2000-08-25 Ulrich Drepper + + * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic. + * elf/nodelete.c (fini_ran): New global variable. + (do_test): Before every dlclose call clear fini_ran and test + afterwards that it is not set by the destructors. + * elf/nodelmod1.c: Add destructor which sets fini_ran. + * elf/nodelmod2.c: Likewise. + * elf/nodelmod4.c: Likewise. + +2000-08-21 Jes Sorensen + + * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and + getrlimit to the list. + +2000-08-18 Jes Sorensen + + * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit + long double format so use ldbl-96 instead of ldbl-128. + +2000-08-25 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL + even if bits 10 a 11 are non-zero. + * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise. + + * Makeconfig: Ensures the soversions.mk part of Makefile gets + included before building gnu/lib-names.h + Patch by Maciej W. Rozycki . + + * elf/dl-close.c (_dl_close): Don't run destructors of objects + marked DF_1_NODELETE. + + * sysdeps/posix/system.c (__libc_system): We cannot use vfork here + since we call sigaction in the child. + +2000-08-25 Andreas Jaeger + + * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on + gconv-modules. + +2000-08-25 Andreas Jaeger + + * manual/arith.texi (Control Functions): Clarify possible + arguments. Closes PR libc/1856. + +2000-08-24 H.J. Lu + + * stdio-common/Makefile (tests): Don't do it for cross compiling. + * malloc/Makefile (tests): Likewise. + +2000-08-24 Ulrich Drepper + + * iconvdata/unicode.c (gconv_init): Correct test for direction. + +2000-08-24 Andreas Jaeger + + * malloc/Makefile (extra-objs): Fix last patch, build memusagestat + only if LIBGD is available. + +2000-08-24 Ulrich Drepper + + * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid + problems with now restrict parameter types. + (convaddr4to6): Likewise. + +2000-08-24 Denis Joseph Barrow + + * sysdeps/s390/fpu/fedisblxcpt.c: New file. + * sysdeps/s390/fpu/feenablxcpt.c: New file. + * sysdeps/s390/fpu/fegetexcept.c: New file. + * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition + FPC_VALID_MASK. + +2000-08-24 Andreas Jaeger + + * malloc/Makefile (extra-objs): Add memusagestat.o. + (generated): Added memusage and memusagestat for make clean. + + * libio/tst_putwc.c (do_test): Delete temporary file. + Move inclusion of test-skeleton to front to have prototype for + add_temp_file. + + * posix/Makefile (generated): Add wordexp-tst.out. + +2000-08-24 Ulrich Drepper + + * resolv/res_hconf.c (free_mem): Remove not needed if. + + * time/tzset.c (free_mem): New function. + * string/strsignal.c (free_mem): New function. + * inet/inet_ntoa.c (free_mem): New function. + * sunrpc/clnt_perr.c (free_mem): New function. + +2000-08-24 Andreas Jaeger + + * sysdeps/unix/syscalls.list: Use __setrlimit as strong name. + * sysdeps/unix/sysv/syscalls.list: Likewise. + + * posix/unistd.h: Move internal prototypes from here ... + * include/unistd.h: ... to here. + + * sysvipc/sys/shm.h: Add const attribute to __getpagesize. + +2000-08-24 Ulrich Drepper + + * grp/initgroups.c (initgroups): Deallocate groups array. + Reported by jani.raiha@sonera.com [PR libc/1868]. + + * sysdeps/s390/Dist: Add fpu/fenv_libc.h. + * sysdeps/alpha/Dist: Likewise. + +2000-08-23 Ulrich Drepper + + * crypt/md5-crypt.c (free_mem): Fix typo (constructor -> + destructor). Reported by Solar Designer . + + * iconv/gconv_conf.c (add_module): Remove some unneeded code to + avoid adding double slashes. + +2000-08-23 Jakub Jelinek + + * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__ + out of the __REDIRECT macro. + +2000-08-23 Ulrich Drepper + + * stdio-common/vfscanf.c: Add %F format support. + + * locale/programs/ld-ctype.c (ctype_output): Make sure + _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and + _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned. + (ctype_read): Enable returning of wide character strings for reading + transliteration information. + +2000-08-23 Andreas Jaeger + + * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove. + Use static __inline instead of _EXTERN_INLINE. + + * misc/sys/select.h: Move prototypes of __select from here ... + * include/sys/select.h: ... to here. + + * socket/sys/socket.h: Move prototypes of __send and __connect + from here.... + * include/sys/socket.h: ... to here. + + * locale/programs/ld-ctype.c (ctype_read): Fix parameter for + lr_error. + +2000-08-23 Jakub Jelinek + + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use + __setrlimit as strong name. Takes only 2 arguments. + + * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit + takes only 2 arguments. + +2000-08-23 Martin Schwidefsky + + * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*. + + * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines. + +2000-08-23 Ulrich Drepper + + * locale/programs/ld-ctype.c (ctype_read): Allow more than one + default_missing character being specified, pick the first + representable. + +2000-08-23 Andreas Jaeger + + * include/wchar.h: Add some pure attributes. + + * time/time.h: Add const attribute for dysize. + + * include/stdlib.h: Add malloc attribute to __posix memalign. + + * stdlib/stdlib.h: Add some pure and malloc attributes. + * wcsmbs/wchar.h: Likewise. + + * dirent/dirent.h: Add some pure attributes. + * include/dirent.h: Likewise. + +2000-08-23 Jakub Jelinek + + * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment + on 64bit arches. + +2000-08-22 Ulrich Drepper + + * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two + missing buffer size checks. + +2000-08-23 Andreas Jaeger + + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as + strong name. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + + * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h", + otherwise __LINUX_KERNEL_VERSION might not be defined. + (MIN): Define if not already defined. + +2000-08-22 Ulrich Drepper + + * stdio-common/vfprintf.c: Handle %F format. + * stdio-common/printf-parse.h (parse_one_spec): Likewise. + Reported by Joseph S. Myers . + + * stdio-common/tstdiomisc.c: Add test for %F printf format. + + * po/zh.po: New file. + + * iconvdata/sjis.c: In conversion from UCS4, correct test for + enough room in target buffer. + Patch by KUSANO Takayuki [PR libc/1865]. + * iconvdata/bug-iconv1.c: New file. + * iconvdata/Makefile (tests): Add bug-iconv1. + + * locale/iso-4217.def: Update entry for Nicaragua. + +2000-08-22 Mark Kettenis + + * hurd/hurdsig.c: Rearrange headers a bit. + (_hurdsig_init): Block until _hurd_msgport_thread is initialized + when cthreads is being used. + +2000-08-22 Ulrich Drepper + + * elf/Makefile (distribute): Add dl-osinfo.h. + * sysdeps/generic/dl-osinfo.h: New file. + * sysdeps/unix/sysv/linux/dl-osinfo.h: New file. + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK + if defined. + * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test + only for !SHARED case. Get the code from dl-osinfo.h. + + * stdlib/random_r.c: Cleanups. + * stdlib/tst-random.c: New file. + * stdlib/Makefile (tests): Add tst-random. + Patches by Michael Fischer . + +2000-08-21 Martin Schwidefsky + + * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove. + * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove. + * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove. + * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove. + +2000-08-22 Jakub Jelinek + + * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove. + * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove. + (__syscall__sysctl): Add. + +2000-08-21 Andreas Jaeger + + * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR + libc/1864). + * stdlib/tst-strtoll.c: Likewise. + +2000-08-21 Ulrich Drepper + + * stdlib/random_r.c (__setstate_r): Also compute end_ptr + correctly. + (__initstate_r): Set errno on error. + (__random_r): Likewise. + (__setstate_r): Correct offset when computing + new rptr and fptr. Test for arg_state being NULL. + Reported by Michael Fischer . + + * posix/regex.h: Add macro definitions to allow compiling outside + glibc. + + * sysdeps/i370/Implies: Removed. + * sysdeps/mvs/Implies: Removed. + + * catgets/catgets.c (catopen): Filter out env_var values with / if + necessary. + + * locale/findlocale.c (_nl_find_locale): Move test for unusable + locale name after all getenvs. + + * configure.in: Allow sed versions like 3.02.8. + Patch by Rodrigo Barbosa . + +2000-08-21 Marko Myllynen + + * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures. + +2000-08-21 Ulrich Drepper + + * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error + of gethostbyname2_r call. + + * intl/locale.alias: Add aliases for Korean. + +2000-08-21 Martin Schwidefsky + + * sysdeps/s390/__longjmp.c: Remove unused variable result. + * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h. + * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h. + * sysdeps/s390/fpu/fegetenv.c: New file. + * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h. + * sysdeps/s390/fpu/feholdexcpt.c: New file. + * sysdeps/s390/fpu/fenv_libc.h: New file. + * sysdeps/s390/fpu/fesetenv.c: New file. + * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h. + * sysdeps/s390/fpu/feupdateenv.c: New file. + * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted. + * sysdeps/s390/fpu/fpu_control.h: Corrected header. + * sysdeps/s390/fpu/fraiseexcpt.c: New file. + * sysdeps/s390/fpu/fsetexcptflg.c: New file. + * sysdeps/s390/fpu/ftestexcept.c: New file. + * sysdeps/s390/fpu/libm-test-ulps: New file. + * sysdeps/s390/gmp-mparam.h: Add end of comment. + * sysdeps/s390/initfini.c: New file. + * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h. + * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h. + * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file. + * sysdeps/unix/sysv/linux/s390/lchown.c: New file. + * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to + sys/procfs.h as proposed by Mark Kettenis. + * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file. + +2000-08-21 Andreas Jaeger + + * include/poll.h: Include include/sys/poll.h to get __poll + declaration. + + * io/sys/poll.h: Move __poll declaration from here... + * include/sys/poll.h: ...to here. + + * include/sys/socket.h (__getpeername): Add declaration. + + * include/wchar.h (__vswprintf): Add declaration. + + * include/stdio.h (__flockfile): Add declaration. + (__funlockfile): Likewise. + +2000-08-20 Ulrich Drepper + + * misc/sys/cdefs.h: Define __restrict_arr. + * include/sys/time.h: Add restrict where required by AGd4. + * inet/arpa/inet.h: Likewise. + * io/sys/stat.h: Likewise. + * io/sys/statvfs.h: Likewise. + * misc/search.h: Likewise. + * misc/sys/select.h: Likewise. + * posix/glob.h: Likewise. + * posix/regex.h: Likewise. + * posix/spawn.h: Likewise. + * posix/unistd.h: Likewise. + * rt/aio.h: Likewise. + * signal/signal.h: Likewise. + * socket/sys/socket.h: Likewise. + * stdlib/ucontext.h: Likewise. + * streams/stropts.h: Likewise. + * string/string.h: Likewise. + * time/time.h: Likewise. + * time/sys/time.h: Likewise. + + * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam + and posix_spawnattr_setscheparam. + + * libio/stdio.h: Make cuserid prototype again available for all + XPG versions. + + * argp/argp-help.c: Unify use of function aliases to make more compact + PLT. + * include/libintl.h: Likewise. + * inet/rcmd.c: Likewise. + * intl/dcigettext.c: Likewise. + * libio/iofputws.c: Likewise. + * libio/iofputws_u.c: Likewise. + * libio/iogetwline.c: Likewise. + * libio/swprintf.c: Likewise. + * malloc/malloc.c: Likewise. + * nss/digits_dots.c: Likewise. + * posix/fnmatch.c: Likewise. + * posix/spawn_faction_addclose.c: Likewise. + * posix/spawn_faction_adddup2.c: Likewise. + * posix/spawn_faction_addopen.c: Likewise. + * posix/spawni.c: Likewise. + * posix/wordexp.c: Likewise. + * posix/spawni.c: Likewise. + * resolv/res_hconf.c: Likewise. + * resolv/res_init.c: Likewise. + * shadow/lckpwdf.c: Likewise. + * signal/sighold.c: Likewise. + * signal/sigrelse.c: Likewise. + * stdio-common/printf-parse.h: Likewise. + * stdio-common/printf-prs.c: Likewise. + * stdio-common/printf_fp.c: Likewise. + * stdio-common/vfprintf.c: Likewise. + * stdio-common/vfscanf.c: Likewise. + * stdlib/rpmatch.c: Likewise. + * sunrpc/create_xid.c: Likewise. + * sunrpc/key_call.c: Likewise. + * sysdeps/generic/setrlimit64.c: Likewise. + * sysdeps/generic/utmp_file.c: Likewise. + * sysdeps/generic/vlimit.c: Likewise. + * sysdeps/posix/posix_fallocate.c: Likewise. + * sysdeps/posix/posix_fallocate64.c: Likewise. + * sysdeps/posix/sigpause.c: Likewise. + * sysdeps/posix/sigset.c: Likewise. + * sysdeps/unix/grantpt.c: Likewise. + * sysdeps/unix/bsd/ualarm.c: Likewise. + * sysdeps/unix/sysv/linux/dl-origin.c: Likewise. + * sysdeps/unix/sysv/linux/getloadavg.c: Likewise. + * sysdeps/unix/sysv/linux/ttyname.c: Likewise. + * sysdeps/unix/sysv/linux/ulimit.c: Likewise. + * time/strftime.c: Likewise. + * wcsmbs/wcscoll.c: Likewise. + * wcsmbs/wcsxfrm.c: Likewise. + + * time/tst-getdate.c (main): Make error messages more human readable. + + * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate + postinc/predec instruction. + (_FPU_SETCW): Likewise. + Patch by Franz Sirl . + +2000-08-20 Andreas Jaeger + + * time/tst-getdate.c (main): Increase error in case of wrong + conversion. + Fix typo in test case. + +2000-08-20 Ulrich Drepper + + * ctype/ctype.h (isblank): Make available if ISO C99. + * wctype/wctype.h (iswblank): Make available if ISO C99. + * math/math.h (signgam): Don't make available if ISO C99. + * math/tgmath.h (tgamma): Renamed from gamma. + Patches by Joseph S. Myers . + + * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element. + Pretty printing. + * intl/plural.y (new_exp): Take number of optional parameters in + second parameter. Test for correct number of parameters and free + correctly in case of failure. Adjust all callers. + (yylex): Allow ';' as terminator character. + +2000-08-19 Ulrich Drepper + + * locale/lc-time.c (free_mem): New function. Free alt_digits and + walt_digits. + + * locale/findlocale.c (free_mem): Also free here->filename. + + * locale/loadlocale.c (_nl_unload_locale): Also free locale->name. + + * math/test-fenv.c (feenv_tests): Clear all exceptions before + first test. + (feexcp_nomask_test): Correct printf args. + (feexcp_mask_test): Likewise. + +2000-08-19 Andreas Jaeger + + * inet/tst-gethnm.c: Include string.h to provide prototype for + strcmp. + + * malloc/mtrace.pl (usage): Inform about --help. + +2000-08-19 Wolfram Gloger + + * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of + size HEAP_MAX_SIZE. + +2000-08-19 Andreas Jaeger + + * shlib-versions: Remove libnss_db, libdb and libdb1. + +2000-08-19 Jakub Jelinek + + * sysdeps/unix/sysv/linux/alpha/readdir.c: Move... + * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and + * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here. + * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move... + * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and + * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here. + * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove. + * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove. + * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove. + * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS + getdents. + * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning. + * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise. + +2000-08-18 Jakub Jelinek + + * include/glob.h (__glob64): Add prototype. + * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only + define glob and glob_in_dir. + * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2. + * sysdeps/unix/sysv/linux/arm/Versions: Likewise. + * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise. + * sysdeps/unix/sysv/linux/i386/glob64.c: New file. + * sysdeps/unix/sysv/linux/arm/glob64.c: New file. + * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file. + +2000-08-18 Jakub Jelinek + + * malloc/Makefile (memusage): libmemusage.so is installed in slibdir. + +2000-08-17 Andreas Jaeger + + * math/test-fenv.c (fe_single_test): New function. + (fe_env_tests): Use fe_single_test. + (feenable_test): New tests for feenable/fedisable and + fegetexcpetions. + (feexcp_mask_test): New function. + (feexcp_nomask_test): New function. + +2000-08-19 Richard Henderson + + * sysdeps/alpha/fpu/fenv_libc.h: New file. + * sysdeps/alpha/fpu/fclrexcpt.c: Use it. + * sysdeps/alpha/fpu/fegetenv.c: Likewise. + * sysdeps/alpha/fpu/fesetround.c: Likewise. + * sysdeps/alpha/fpu/fegetround.c: Likewise. + * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise. + * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise. + * sysdeps/alpha/fpu/ftestexcept.c: Likewise. + * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise. Use the smaller mask. + * sysdeps/alpha/fpu/feenablxcpt.c: Likewise. + * sysdeps/alpha/fpu/fegetexcept.c: Likewise. + * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits. + * sysdeps/alpha/fpu/fesetenv.c: Likewise. + * sysdeps/alpha/fpu/feupdateenv.c: Likewise. + * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise. + * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New. + (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New. + +2000-08-19 Andreas Jaeger + + * elf/constload1.c: Include for puts prototype. + +2000-08-19 Ulrich Drepper + + * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions. + * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of + a dynamically loaded object remove old l_initfini list. + * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to + remove some dynamically allocated memory blocks in the dynamic + loading data structures. + * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0. + * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions. + Instead call _dl_check_map_versions only for the dependencies. + * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname + information of initial objects as not free-able. + * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free + element. + + * elf/filter.c: Call mtrace. + * elf/restest1.c: Likewise. Close the objects. + * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more + debug information. + + * elf/constload1.c: Add comment explaining not freed memory. + +2000-08-18 Andreas Jaeger + + * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show + alignment for structs stat and stat64. + Patch by Maciej W. Rozycki . + +2000-08-17 Ulrich Drepper + + * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino + handling. Patch by Richard Henderson . + + * nss/Versions: Remove libnss_db information. + +2000-08-16 Jakub Jelinek + + * sysdeps/sparc/fpu/fedisblxcpt.c: New file. + * sysdeps/sparc/fpu/feenablxcpt.c: New file. + * sysdeps/sparc/fpu/fegetexcept.c: New file. + * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file. + + * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries + to match Solaris. + +2000-08-17 Ulrich Drepper + + * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code. + (_FPU_SETCW): Likewise. + Patch by Franz Sirl . + + * stdio-common/printf_fp.c: Fix chars_needed computation. + Patch by Greg McGary . + +2000-08-17 Jakub Jelinek + + * elf/dl-load.c (_dl_map_object): Don't crash if both loader and + _dl_loaded are NULL. + +2000-08-17 Jakub Jelinek + + * manual/arith.texi (feholdexcept): Returns 0 on success. + +2000-08-17 Andreas Jaeger + + * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname. + (ifr_newname): New. + Reported by Andi Kleen . + +2000-08-17 Jakub Jelinek + + * sysdeps/alpha/fpu/fedisblxcpt.c: New file. + * sysdeps/alpha/fpu/feenablxcpt.c: New file. + * sysdeps/alpha/fpu/fegetexcept.c: New file. + +2000-08-16 Jakub Jelinek + + * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes + of buf->st_ino and kbuf->st_ino, not __st_ino. + If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all. + * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include + directive so that only linux/getdents.c is used, not some + architecture specific one. + +2000-08-16 Jakub Jelinek + + * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently + enabled, not disabled exceptions. + * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise. + * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise. + +2000-08-17 Greg McGary + + * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix + from test program name when constructing suffix for $(LDLIBS-*). + (bounded-thread-library): New variable. + * crypt/Makefile + [build-shared, build-static] (libcrypt-dep): Remove variable. + ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies. + [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies. + * linuxthreads/Makefile (libpthread, librt): Remove variables. + (librt-tests): Add variable. (tests): Use it. + [build-shared, build-static] + ($(addprefix $(objpfx),$(tests)), + $(addprefix $(objpfx),$(librt-tests))): + Consolidate individual dependencies. + [build-bounded] + ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)): + Add dependencies. + * math/Makefile (LDLIBS-*): Remove variables (they are redundant). + [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies. + * misc/Makefile + [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies. + * rt/Makefile + [build-shared, build-static] + ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies. + [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies. + +2000-08-17 Greg McGary + + * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/ + * sysdeps/unix/make-syscalls.sh: Likewise. + * sysdeps/unix/sysv/linux/shmctl.c: Likewise. + * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise. + * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise. + +2000-08-17 Greg McGary + + * sysdeps/i386/fpu/s_frexp.S: Check bounds. + Wrap extern symbols in BP_SYM (). + * sysdeps/i386/fpu/s_frexpf.S: Likewise. + * sysdeps/i386/fpu/s_frexpl.S: Likewise. + * sysdeps/i386/fpu/s_remquo.S: Likewise. + * sysdeps/i386/fpu/s_remquof.S: Likewise. + * sysdeps/i386/fpu/s_remquol.S: Likewise. + * sysdeps/i386/fpu/s_sincos.S: Likewise. + * sysdeps/i386/fpu/s_sincosf.S: Likewise. + * sysdeps/i386/fpu/s_sincosl.S: Likewise. + * sysdeps/unix/sysv/linux/i386/clone.S: Likewise. + * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise. + +2000-08-16 Andreas Schwab + + * sysdeps/m68k/fpu/fegetexcept.c: New file. + * sysdeps/m68k/fpu/fedisblxcpt.c: New file. + * sysdeps/m68k/fpu/feenablxcpt.c: New file. + +2000-08-15 Ulrich Drepper + + * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded. + * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded. + * elf/dl-support.c: Define _nl_nloaded. + * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself. + * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding + object to global list. + * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing + from _dl_loaded list. + * elf/dl-load.c (_dl_map_object_from_fd): Likewise. + * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the + number here. + + * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not + unmask, exceptions. + * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask, + exceptions. + Reported by Harvey J. Stein . + +2000-08-16 Andreas Jaeger + + * elf/elf.h (EM_X8664): Add official x86-64 specific value. + +2000-08-15 Marko Myllynen + + * inet/netinet/icmp6.h: Added Mobile IPv6 definitions. + +2000-08-15 Ulrich Drepper + + * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c. + * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource] + (sysdep_routines): Add oldgetrlimit64. + * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file. + Patch by Franz Sirl . + + * include/link.h: Undo last patches. Hurd now has stat64. + * elf/Makefile: Likewise. + * elf/dl-load.c: Likewise. + * elf/dl-misc.c: Likewise. + * elf/dl-profile.c: Likewise. + * sysdeps/generic/sysd-link.h: Removed. + * sysdeps/unix/sysv/linux/sysd-link.h: Removed. + + * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call + thread event callback function. + (__aio_notify_only): Use function above. + Patch by Kaz Kylheku . + +2000-08-16 Mark Kettenis + + * sysdeps/mach/hurd/lseek64.c: New file. + +2000-08-15 Mark Kettenis + + * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t): + Remove typedefs. + * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove + typedefs. + * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove + typedefs. + * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs. + +2000-08-15 Mark Kettenis + + * sysdeps/mach/hurd/xstatconv.c: New file. + * sysdeps/mach/hurd/fxstat64.c: New file. + * sysdeps/mach/hurd/lxstat64.c: New file. + * sysdeps/mach/hurd/xstat64.c: New file. + * sysdeps/mach/hurd/Dist: Add xstatconv.c. + +2000-08-15 Mark Kettenis + + * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs): + Initialize, needed for change in common symbol handling in newer + binutils. Mirrors 2000-01-03 change made by Andreas Schwab. + +2000-08-15 Ulrich Drepper + + * elf/constload1.c: Call mtrace. Check return value of dlclose call. + * elf/constload2.c: Add destructor to unload constload3. + + * include/link.h: Include sysd-link.h. + * sysdeps/generic/sysd-link.h: New file. + * sysdeps/unix/sysv/linux/sysd-link.h: New file. + * elf/Makefile (distribute): Add sysd-link.h. + * elf/dl-load.c: Use definitions from sysd-link.h instead of stat + types and functions directly. + * elf/dl-misc.c: Likewise. + * elf/dl-profile.c: Likewise. + + * elf/loadfail.c (main): Close all successfully loaded objects. + + * elf/multiload.c: Add mtrace call. Call dlclose for all handles and + free wd. + * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if + there is already one. + + * elf/dl-close.c: Pretty print. + +2000-08-14 Ulrich Drepper + + * sysdeps/posix/ttyname.c: Make name variable from getttyname function + global (with file scope). Add __libc_subfreeres function to free the + string. + * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable + in ttyname function. + + * sysdeps/generic/strtok.c: Remove initializer for olds variable. + + * crypt/md5-crypt.c: Let destructor deallocate static buffer. + + * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by + mapping them to /x5c and /x7e respectively. + + * locale/programs/ld-ctype.c: Add support for more definitions after + copy statement. + +2000-08-14 Jakub Jelinek + + * dirent/Versions (getdirentries64): Export at GLIBC_2.2. + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_GETDENTS64_SYSCALL): Define. + * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64 + syscall if available to get d_type fields. + * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define. + * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64, + __lxstat64): Export at GLIBC_2.2. + (alphasort64, readdir64, readdir64_r, scandir64, versionsort64): + Likewise. + * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove. + * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define. + * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64, + getdirentries64, versionsort64): Remove. + * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64, + getdirentries64, versionsort64): Remove. + +2000-08-13 Ulrich Drepper + + * posix/Makefile: Remove rules to generate glob package. + + * posix/Makefile (tests): Add tst-regexloc. + (tst-regexloc-ENV): Add LOCPATH. + * posix/tst-regexloc.c: New file. + +2000-08-12 Andreas Jaeger + + * include/features.h (__STDC_ISO_10646__): Define. + Reported by Markus Kuhn . + +2000-08-13 Ulrich Drepper + + * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600. + + * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not + for revision 6 and up). + + * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before + including . + * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined + to get definitions of just these types. + + * signal/signal.h: Define thread signal handling functions also for + POSIX95. + + * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for + POSIX95. + * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise. + + * sysvipc/sys/shm.h: Define pid_t for XPG. + + * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as + they are not anymore required here. + + * wcsmbs/wchar.h: Make the various wide char string and stream + functions available for the respective XPG versions. + + * nss/Makefile: Remove rules to build and distribute nss_db. + + * sysdeps/generic/alphasort64.c: Remove unnecessary versioning. + * sysdeps/generic/scandir64.c: Likewise. + * sysdeps/generic/versionsort64.c: Likewise. + +2000-08-13 Ulrich Drepper + Benjamin Koznik + + * libio/fileops.c: Merge with libstdc++-v3. + * libio/genops.c: Likewise. + * libio/iofclose.c: Likewise. + * libio/iofopen.c: Likewise. + * libio/iofwide.c: Likewise. + * libio/libio.h: Likewise. + * libio/libioP.h: Likewise. + * libio/stdfiles.c: Likewise. + * libio/stdio.c: Likewise. + * libio/wfileops.c: Likewise. + * libio/wgenops.c: Likewise. + + * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2. + +2000-08-12 Ulrich Drepper + + * locale/programs/localedef.c: Implement --prefix option to allow + writing in standard places of alternative install directories. + + * posix/regex.c (compile_range): Implement collation sequence + handling for glibc. Use simple character ordering otherwise and + not strcoll. + +2000-08-12 Mark Kettenis + + * sysdeps/generic/scandir64.c: Include . + +2000-08-12 Andreas Jaeger + + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle + __USE_FILE_OFFSET64 correctly for locking. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. + +2000-08-12 Jakub Jelinek + + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64): + Define for 2.4.1 on sparc as well. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values + for F_GETLK64, F_SETLK64, and F_SETLKW64. + * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file. + +2000-08-12 Ulrich Drepper + + * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also + defined. + +2000-08-12 Andreas Jaeger + + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64, + F_SETLK64, F_SETLKW64): Define with F_GETLK etc. + + * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set + mips2 for assembler. + + * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl + if fnctl64 is not available for F_*LK*64. + + * sysdeps/unix/sysv/linux/i386/lockf64.c: New file. + +2000-08-12 Ulrich Drepper + + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64): + Define for 2.4.1 on x86. + * sysdeps/unix/sysv/linux/i386/fcntl.c: New file. + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values + for F_GETLK64, F_SETLK64, and F_SETLKW64. + + * dirent/dirent.h: Define DT_WHT. + + * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file. + * sysdeps/unix/sysv/linux/arm/getdents64.c: New file. + * sysdeps/unix/sysv/linux/arm/readdir64.c: New file. + * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file. + * sysdeps/unix/sysv/linux/arm/scandir64.c: New file. + * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file. + +2000-08-11 Ulrich Drepper + + * nss/digits_dots.c: Don't pass NULL in h_aliases for successful + lookup, pass pointer to array with NULL pointer [PR libc/1858]. + * inet/Makefile (tests): Add tst-gethnm. + * inet/tst-gethnm.c: New file. + + * rt/aio_cancel.c: If canceling a specific request which is running + *really* do nothing. + * rt/aio_misc.h: Add `done' to states of a request. + * rt/aio_misc.c: Add several tests for the correct state. + Simplify request table memory handling. + +2000-08-10 Jakub Jelinek + + * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well. + * dirent/scandir64.c: Move... + * sysdeps/generic/scandir64.c: ...here. + * dirent/alphasort64.c: Move... + * sysdeps/generic/alphasort64.c: ...here. + * dirent/versionsort64.c: Move... + * sysdeps/generic/versionsort64.c: ...here. + * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64, + getdirentries64, readdir64, readdir64_r, scandir64, versionsort64): + Export symbols at GLIBC_2.2. + * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise. + * include/dirent.h (__readdir64_r, __scandir64, __alphasort64, + __versionsort64): Add prototypes. + * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2. + * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove + unused prototype. + * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1 + and GLIBC_2.2. + * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/getdents.c: New. + * sysdeps/unix/sysv/linux/alpha/getdents64.c: New. + * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to + __u_quad_t. + * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64): + Adjust for kernel-2.4.0-test6 layout. + * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both + GLIBC_2.1 and GLIBC_2.2. + * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise. + * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise. + * sysdeps/unix/sysv/linux/i386/getdents64.c: New. + * sysdeps/unix/sysv/linux/i386/olddirent.h: New. + * sysdeps/unix/sysv/linux/i386/readdir64.c: New. + * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New. + * sysdeps/unix/sysv/linux/i386/scandir64.c: New. + * sysdeps/unix/sysv/linux/i386/alphasort64.c: New. + * sysdeps/unix/sysv/linux/i386/versionsort64.c: New. + * sysdeps/unix/sysv/linux/ia64/getdents.c: New. + * sysdeps/unix/sysv/linux/ia64/getdents64.c: New. + * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c. + * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c. + * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to + __u_quad_t. + * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New. + * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define. + * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New. + * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New. + * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New. + * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New. + * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to + __u_quad_t. + * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New. + * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*): + Define. + * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New. + * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New. + * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New. + * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New. + * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*): + Define. + * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include + alpha/readdir.c. + * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include + alpha/readdir_r.c + * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New. + * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New. + * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If + _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set + st_ino from __st_ino. + * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise. + * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise. + * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv, + xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO, + set __st_ino in addition to st_ino. + * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define. + * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and + __old_getdents64 as well. + * sysdeps/unix/sysv/linux/getdirentries.c: Use it for + getdirentries64 and old_getdirentries64 as well. + * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES, + __GETDENTS): Define. + (GETDENTS64): Remove. + * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE): + Define. + (GETDENTS64): Remove. + * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c. + * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c. + * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64 + as well. + * sysdeps/unix/readdir_r.c: Use it for readdir64_r and + __old_readdir64_r as well. + * sysdeps/unix/sysv/linux/kernel-features.h: Define + __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up. + +2000-08-08 Jes Sorensen + + * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define. + Add missing ILL_BADIADDR to enum and make ILL_BREAK match the + define of the kernel. + Add missing __SEG_PSTKOVF definition. + Adjust the padding of struct siginfo and struct sigevent to + match the fact that sigval_t is 64 bit. + +2000-08-10 Ulrich Drepper + + * timezone/zic.c: Update from tzcode2000f. + * timezone/australasia: Update from tzdata2000f. + * timezone/europe: Likewise. + * timezone/southamerica: Likewise. + * timezone/yearistype: Likewise. + +2000-08-10 Andreas Jaeger + + * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and + stat with current MIPS kernel. + +2000-08-01 Mark Kettenis + + * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG, + elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to + sysdeps/unix/sysv/linux/i386/sys/procfs.h. + Remove the junk that's only relevant in the Linux kernel itself. + Add a warning saying that this file is now obsolete, and include + . + * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t, + ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved + here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include + , and . Remove parts of + `struct elf_prstatus' that are #ifdef'ed out. Improve comments + and add the notice that the file is primarily there for GDB. + * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment. + +2000-08-09 Jakub Jelinek + + * time/tzfile.c (__tzfile_compute): __tzstring zones + from zone_names. + +2000-08-09 Jakub Jelinek + + * resolv/resolv.h (__res_state): Surround prototype with + __BEGIN_DECLS/__END_DECLS. + * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h. + +2000-08-04 Jes Sorensen + + * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource): + Make independant of asm/resource.h from the Linux kernel. + +2000-08-06 Bruno Haible + + * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath. + +2000-08-06 Bruno Haible + + * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH. + * locale/Makefile (locale-CPPFLAGS): Likewise. + +2000-08-09 Ulrich Drepper + + * sysdeps/i386/fpu/libm-test-ulps: Increase several error values + for AMD processors. + +2000-08-03 Jakub Jelinek + + * misc/Versions (mincore): Export at GLIBC_2.2. + +2000-08-03 Bruno Haible + + * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW. + +2000-08-02 Mark Kettenis + + * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from + socketpair. Made socketpair a weak alias. + * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using + __socketpair. Use S_IFIFO protocol to make pipes POSIX + conforming, but fall back on the old protocol if the socket server + doesn't support it. + * include/sys/socket.h: Add prototype for __socketpair. + +2000-08-09 Andreas Schwab + + * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the + long long modifier is seen. + + * elf/nodelete.c (do_test): Remove reference to undefined member + sa_restorer. + * rt/tst-aio4.c (do_test): Likewise. + + * configure.in: Add `-lm' when checking for libgd. + * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during + linking. + +2000-08-09 Andreas Jaeger + + * configure.in: Change required make versions. + + * manual/install.texi (Tools for Compilation): Document required + make version. + (Supported Configurations): Update list of supported + configurations. + +2000-08-08 Ulrich Drepper + + * locale/linereader.c (get_string): Don't print an error is a string + contains an unknown character. + +2000-08-06 Ulrich Drepper + + * locale/programs/ld-collate.c (struct symbol_t): Add name element. + (new_symbol): Take new parameters with name of the symbol. + Adjust callers. + (handle_ellipsis): Don't only allow character symbols. + (collate_read): Allow string of collating elements contain invalid + characters; ignore entry in this case. + Handle ellipsis of collating symbols before first order_start. + Allow ellipsis in state 0. + +2000-08-04 Ulrich Drepper + + * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in + error message. + Reported by Tung-Han Hsieh . + +2000-08-04 Greg McGary + + * posix/regex.c (SET_HIGH_BOUND): New macro. + (MOVE_BUFFER_POINTER): Use it. + (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro. + (EXTEND_BUFFER): Use it. + +2000-08-03 Ulrich Drepper + + * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well. + * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from + _wide_data but from _IO_FILE directly. + * libio/iofclose.c: Likewise. + * libio/wfileops.c: Likewise. + + * libio/genops.c (_IO_default_showmanyc): Change return type to size_t. + * libio/libioP.h: Change prototypes. + +2000-08-03 Greg McGary + + * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our + frame pointer early so that we save caller's frame pointer. + * sysdeps/i386/elf/setjmp.S: Likewise. + + * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures. + * io/test-utime.c: Test passing NULL as utimbuf* arg. + + * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro. + (MOVE_BUFFER_POINTER): Handle high_bound properly. + (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND. + +2000-08-03 Ulrich Drepper + + * iconvdata/big5.c: Updated. + Patch by Tung-Han Hsieh . + +2000-08-02 Ulrich Drepper + + * Makeconfig (all-subdirs): Add conform. + * conform/Makefile: Include ../Rules. + + * Makefile (README): Add rules to generate here as well. + +2000-08-02 Ulrich Drepper + + * version.h (VERSION): Bump to 2.1.92. + + * sysdeps/ia64/Dist: Add _mcount.S. + + * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S. + + * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c. + + * elf/Makefile (distribute): Add missing modules. + + * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files. + + * posix/regex.c (compile_range): Translate range start and end + characters to avoid empty range in case of REG_ICASE [PR libc/1842]. + + * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include + asm/resource.h. + + * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change. + +2000-08-02 Andreas Jaeger + + * elf/elf.h (EM_S390): Added. + (R_390_*): New relocs for S390. + + * sysdeps/unix/sysv/linux/s390/Dist: New file. + * sysdeps/unix/sysv/linux/s390/sysdep.h: New file. + * sysdeps/unix/sysv/linux/s390/sysdep.S: New file. + * sysdeps/unix/sysv/linux/s390/syscall.S: New file. + * sysdeps/unix/sysv/linux/s390/sys/user.h: New file. + * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file. + * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file. + * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file. + * sysdeps/unix/sysv/linux/s390/socket.S: New file. + * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file. + * sysdeps/unix/sysv/linux/s390/shmctl.c: New file. + * sysdeps/unix/sysv/linux/s390/setreuid.c: New file. + * sysdeps/unix/sysv/linux/s390/setresuid.c: New file. + * sysdeps/unix/sysv/linux/s390/setresgid.c: New file. + * sysdeps/unix/sysv/linux/s390/setregid.c: New file. + * sysdeps/unix/sysv/linux/s390/setgroups.c: New file. + * sysdeps/unix/sysv/linux/s390/setgid.c: New file. + * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file. + * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file. + * sysdeps/unix/sysv/linux/s390/seteuid.c: New file. + * sysdeps/unix/sysv/linux/s390/setegid.c: New file. + * sysdeps/unix/sysv/linux/s390/semctl.c: New file. + * sysdeps/unix/sysv/linux/s390/register-dump.h: New file. + * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file. + * sysdeps/unix/sysv/linux/s390/putmsg.c: New file. + * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file. + * sysdeps/unix/sysv/linux/s390/msgctl.c: New file. + * sysdeps/unix/sysv/linux/s390/mmap.S: New file. + * sysdeps/unix/sysv/linux/s390/getuid.c: New file. + * sysdeps/unix/sysv/linux/s390/getresuid.c: New file. + * sysdeps/unix/sysv/linux/s390/getresgid.c: New file. + * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file. + * sysdeps/unix/sysv/linux/s390/getmsg.c: New file. + * sysdeps/unix/sysv/linux/s390/getgroups.c: New file. + * sysdeps/unix/sysv/linux/s390/getegid.c: New file. + * sysdeps/unix/sysv/linux/s390/geteuid.c: New file. + * sysdeps/unix/sysv/linux/s390/fchown.c: New file. + * sysdeps/unix/sysv/linux/s390/clone.S: New file. + * sysdeps/unix/sysv/linux/s390/brk.c: New file. + * sysdeps/unix/sysv/linux/s390/bits/time.h: New file. + * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file. + * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file. + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file. + * sysdeps/unix/sysv/linux/s390/Makefile: New file. + * sysdeps/s390/sysdep.h: New file. + * sysdeps/s390/sys/ucontext.h: New file. + * sysdeps/s390/sub_n.S: New file. + * sysdeps/s390/strncpy.S: New file. + * sysdeps/s390/strcpy.S: New file. + * sysdeps/s390/stackinfo.h: New file. + * sysdeps/s390/setjmp.S: New file. + * sysdeps/s390/s390-mcount.S: New file. + * sysdeps/s390/mul_1.S: New file. + * sysdeps/s390/memusage.h: New file. + * sysdeps/s390/memset.S: New file. + * sysdeps/s390/memcpy.S: New file. + * sysdeps/s390/memchr.S: New file. + * sysdeps/s390/machine-gmon.h: New file. + * sysdeps/s390/ldbl2mpn.c: New file. + * sysdeps/s390/gmp-mparam.h: New file. + * sysdeps/s390/fpu/fpu_control.h: New file. + * sysdeps/s390/fpu/fesetround.c: New file. + * sysdeps/s390/fpu/fegetround.c: New file. + * sysdeps/s390/fpu/fclrexcpt.c: New file. + * sysdeps/s390/fpu/bits/fenv.h: New file. + * sysdeps/s390/ffs.c: New file. + * sysdeps/s390/elf/start.S: New file. + * sysdeps/s390/elf/setjmp.S: New file. + * sysdeps/s390/elf/bsd-setjmp.S: New file. + * sysdeps/s390/elf/bsd-_setjmp.S: New file. + * sysdeps/s390/dl-machine.h: New file. + * sysdeps/s390/bzero.S: New file. + * sysdeps/s390/bsd-setjmp.S: New file. + * sysdeps/s390/bsd-_setjmp.S: New file. + * sysdeps/s390/bits/string.h: New file. + * sysdeps/s390/bits/setjmp.h: New file. + * sysdeps/s390/bits/huge_val.h: New file. + * sysdeps/s390/bits/endian.h: New file. + * sysdeps/s390/bits/byteswap.h: New file. + * sysdeps/s390/bcopy.S: New file. + * sysdeps/s390/backtrace.c: New file. + * sysdeps/s390/atomicity.h: New file. + * sysdeps/s390/asm-syntax.h: New file. + * sysdeps/s390/addmul_1.S: New file. + * sysdeps/s390/add_n.S: New file. + * sysdeps/s390/abort-instr.h: New file. + * sysdeps/s390/__longjmp.c: New file. + * sysdeps/s390/Makefile: New file. + * sysdeps/s390/Implies: New file. + * sysdeps/s390/Dist: New file. + Patches by Martin Schwidefsky . + +2000-08-01 Ulrich Drepper + + Remove incompatible IPv6 extension of RPC. + * sunrpc/Makefile: Undo changes. + * sunrpc/rpc_main.c: Likewise. + * sunrpc/rpc/clnt.h: Likewise. + * sunrpc/rpc/svc.h: Likewise. + * sunrpc/bindrsvprt6.c: Removed. + * sunrpc/clnt_tcp6.c: Removed. + * sunrpc/clnt_udp6.c: Removed. + * sunrpc/svc_tcp6.c: Removed. + * sunrpc/svc_udp6.c: Removed. + + * intl/libintl.h: Don't use __attribute_format_arg__ for gettext, + dgettext, and dcgettetxt. + + * intl/locale.alias: Update japanese aliases. + + * sysdeps/ia64/bits/byteswap.h: New file. + Patch by Dan Pop . + + * misc/sys/cdefs.h: Define __attribute_format_arg__. + * intl/libintl.h: Use it here instead of using __attribute__ directly. + +2000-07-13 H.J. Lu + + * posix/regex.c (re_max_failures): Set to 4000. + +2000-08-01 Ulrich Drepper + + * gnulib/Makefile (tests): Add tst-gcc. + * gnulib/tst-gcc.c: New file. + + * assert/Makefile (routines): Add __assert. + * assert/Versions: Export __assert for glibc 2.2. + * assert/__assert.c: New file. + * assert/assert.h: Declare __assert. + +2000-07-27 Bruno Haible + + * locale/localeinfo.h (_ISCTYPE): New macro. + * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new + LC_CTYPE locale format. + * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b. + (ctype_output): Output class_b[nr] right before class_3level[nr]. + (allocate_arrays): Fill class_b, similarly to class_3level. + +2000-08-01 Ulrich Drepper + Joseph S. Myers + + * math/tgmath.h: Make standard compliant. Don't ask how. + +2000-07-04 H.J. Lu + + * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)): + Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new". + ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only. + +2000-07-30 Maciej W. Rozycki + + * include/features.h (_XOPEN_SOURCE): Update the explanation. + (__USE_LARGEFILE): Add an explanation. + (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500. + (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600. + +2000-08-01 Ulrich Drepper + + * libio/Makefile: Enable exception handling for genops, wgenops, + fileops, and wfileops. + +2000-07-29 Mark Kettenis + + * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into + acount that elf/rtld's main program might remove some varibales + from the environment if we're trying to be secure. Move the Hurd + startup data if necessary, or, if we there is no startup data, + make sure the magical convention that ARGV[0] is stored just after + the environment list. + +2000-08-01 Philip Blundell + + * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource] + (sysdep_routines): Add oldgetrlimit, oldsetrlimit. + * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit, + oldsetrlimit for GLIBC_2.0. + +2000-08-01 Andreas Jaeger + + * nss/nss_files/files-ethers.c: Use case-insensitive lookup. + (LINE_PARSER): Allow any number of spaces between ip address and + number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt. + + * conform/data/netdb.h-data: Remove getipnodebyaddr and friends. + + * include/netdb.h: Remove getipnodebyaddr and friends, leave + constants in. + + * nis/Versions: Remove _nss_nis_getipnodebyname_r and + _nss_nisplus_getipnodebyname_r. + + * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for + now, getipnodebyname is deprecated. + * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r): + Likewise. + + * inet/Makefile (routines): Don't build getipnodebyaddr and + friends. + + * intl/Makefile (distribute): Add tst-translit.sh and translit.po. + + * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h. + + * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c. + + * wctype/Makefile (distribute): Add wchar-lookup.h. + + * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h. + + * iconvdata/Makefile (distribute): Add isiri-3342.h. + +2000-08-01 Andreas Schwab + + * Make-dist (dist): Resolve `..' in file names. + +2000-08-01 Andreas Jaeger + + * stdio-common/Makefile (distribute): Remove removed files, add + new files. + + * Makefile (distribute): Remove include/db_185.h and db.h. + + * include/db_185.h: Remove, it's not needed anymore. + * include/db.h: Likewise. + +2000-07-31 Ulrich Drepper + + * inet/Makefile (tests): Remove tst-ipnode. + * include/netdb.h: Add stuff removed from resolv/netdb.h here for + now. + +2000-07-31 Jes Sorensen + + * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and + endp statements have already been added. + +2000-04-18 David Mosberger + + * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include + . + + * sysdeps/ia64/_mcount.S: New file. + + * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to + __gmon_start__. Fix up extraneous whitespace. + +2000-01-12 H.J. Lu + + * sysdeps/ia64/elf/initfini.c: New file. + +2000-07-31 Jes Sorensen + + * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW + dependency between branch and ar.pfs write. + +2000-07-31 H.J. Lu + + * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly + handle the wchar_t array. + +2000-07-31 Ulrich Drepper + + * iconvdata/gb18030.c: Don't map to and from positions in ISO + 10646 which are not yet assigned. + Patch by wang shouhua . + +2000-07-31 Andreas Jaeger + + * inet/Versions: Remove getipnodebyaddr and friends from + GLIBC_2.2. + + * resolv/netdb.h: Remove getipnodebyaddr and friends. + +2000-07-30 Bruno Haible + + * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case + ch >= 0x81 && ch2 < 0x40 as invalid. + +2000-07-30 Bruno Haible + + * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid. + (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed. + +2000-07-30 Bruno Haible + + * iconvdata/johab.c (BODY for TO_LOOP): After calling + ucs4_to_ksc5601_sym, fix the conversion to JOHAB. + +2000-07-30 Bruno Haible + + * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4, + 0xb8. + (from_ucs4): Change values of U+00A4, U+00BB, U+00ED. + +2000-07-30 Bruno Haible + + * iconvdata/macintosh.c (HAS_HOLES): Set to 1. + +2000-07-30 Bruno Haible + + * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4. + (from_ucs4): Change values of U+00A4 and U+00ED. + (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020. + +2000-07-30 Bruno Haible + + * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed. + (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026. + +2000-07-30 Bruno Haible + + * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342. + * iconvdata/isiri-3342.h: New file. + * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't + treat 0x80 as a gap. + +2000-07-30 Bruno Haible + + * string/strxfrm.c (encoding_mask, encoding_byte): Remove. + (utf8_encode): Use simple shifts instead. Fix return value. + +2000-07-31 Ulrich Drepper + + * timezone/private.h: Update from tzcode2000e. + * timezone/asia: Update from tzdata2000e. + * timezone/australasia: Likewise. + * timezone/europe: Likewise. + * timezone/northamerica: Likewise. + * timezone/zone-tab: Likewise. + +2000-07-30 Ralf Baechle + + * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS + the order of struct sigaltstack members is different. + +2000-07-26 Philip Blundell + + * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file. + +2000-07-29 Ulrich Drepper + + * locale/langinfo.h: Add entries for extra tables in CTYPE data. + * locale/programs/ld-ctype.c: Adjust for this. + + * locale/programs/ld-collate.c: Add more alignment checks. + * locale/string/strcoll.c: Likewise. + +2000-07-30 Mark Kettenis + + * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h + outside USE_IN_LIBIO block. + +2000-07-26 Philip Blundell + + * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function. + (elf_machine_rel): Use it for out-of-range PC24 relocs. + +2000-07-28 Philip Blundell + + * math/test-fpucw.c: Ignore reserved bits in control word. + +2000-07-28 Philip Blundell + + * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro. + (ret): Redefine to PSEUDO_RET. + (PSEUDO): Remove jump to syscall_error. + +2000-07-29 Mark Kettenis + + * resolv/README: Add some information about using the resolver in + multi-threaded code and with C++. Spelling fixes. + +2000-07-29 Mark Kettenis + + * resolv/resolv.h (struct __sockaddr_in): Remove. + (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in. + +2000-07-29 Greg McGary + + * Rules (test-bp-inputs, make-test-out): New variables. + ($(objpfx)%-bp.out): New rule. + ($(objpfx)%.out): Rewrite in terms of new variables. + + * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to + internal function that uses vtable. + * libio/vsnprintf.c (_IO_vsnprintf): Likewise. + * libio/vswprintf.c (_IO_vswprintf): Likewise. + + * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset. + (malloc_extend_top): Convert brk to chunk using chunk_at_offset. + (chunk_align): Likewise. + + * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression + in a way that conforms to decl, and avoids spurious bounds violation. + + * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded. + * sysdeps/generic/frame.h: Likewise. + * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds + around return value. + (__backtrace): Qualify frame-pointer chain and return address + pointers as __unbounded. Wrap bounds around variable `current'. + * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds + around return value. + (catch_segfault): Qualify frame-pointer chain and return address + pointers as __unbounded. Wrap bounds around variable `current'. + * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded. + (ADVANCE_STACK_FRAME): Wrap bounds around return value. + * sysdeps/powerpc/backtrace.c (struct layout): Make pointers + __unbounded. + (__backtrace): Qualify frame-pointer chain and return address + pointers as __unbounded. Wrap bounds around variable `current'. + + * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check. + * sysdeps/i386/mul_1.S: Likewise. + * sysdeps/i386/submul_1.S: Likewise. + * sysdeps/i386/i586/addmul_1.S: Likewise. + * sysdeps/i386/i586/mul_1.S: Add bounds checks. + * sysdeps/i386/i586/submul_1.S: Likewise. + +2000-07-27 Andreas Jaeger + + * libio/Depend: New file, libio needs localedata for tests. + * posix/Depend: Likewise. + +2000-07-28 Ulrich Drepper + + * stdio-common/_i18n_itoa.c: Removed. + * stdio-common/_i18n_itoa.h: Removed. + * stdio-common/_i18n_itowa.c: Removed. + * stdio-common/_i18n_itowa.h: Removed. + * stdio-common/_i18n_number.h: New file. + * stdio-common/Depend: New file. + * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize. + * stdio-common/vfprintf.c: Rewrite buffer handling for integer + printing. Change printing of numbers with locale specific digits to + use new code in _i18n_number.h. + * stdio-common/Makefile (routines): Remove _i18n_itoa and + _i18n_itowa. + + * stdio-common/bug13.c: Improve messages. + + * locale/programs/ld-ctype.c (ctype_read): Improve error message. + (set_class_defaults): Always search also for Uxxxx names. + Detect insufficient number of outdigits. + + * locale/Makefile (C-translit.h): Use mv not $(move-if-changed). + +2000-07-27 Bruno Haible + + * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in + _NL_CTYPE_MAP_NAMES. + * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values. + * wctype/wcfuncs.c (towlower, towupper): Use them. + * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise. + * wctype/wctrans.c (wctrans): Likewise. + * wctype/wctrans_l.c (__wctrans_l): Likewise. + +2000-07-27 Bruno Haible + + * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun. + Use the optimized version of this function outside glibc as well. + +2000-07-27 Jakub Jelinek + + * locale/indigits.h (indigit_value): Correct. + * locale/indigitswc.h (indigitwc_value): Correct. + * stdio-common/vfscanf.c (__vfscanf): Fix I18N number + conversion, add GROUP checking for it, fix GROUP number + conversion with strlen(thousands) > 1. + Honour width correctly in the presence of floating + decimal points and thousands separators. + * stdio-common/tst-sscanf.c: New test. + * stdio-common/Makefile: Add it to tests. + * sysdeps/generic/strtol.c (strtol): Fix conversion if there are + thousands separators and group argument is non-zero. + +2000-07-25 Bruno Haible + + * locale/Versions: Enumerate __*_l functions individually. __wctrans_l + starts at GLIBC_2.2. + +2000-07-12 Maciej W. Rozycki + + * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h. + * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add + _test_and_set. + (headers): Add sys/tas.h. + * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for + GLIBC_2.2 from libc. + * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file. + * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for + _test_and_set. + +2000-07-28 Andreas Jaeger + + * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4. + + * dlfcn/Makefile ($(objpfx)tst-dladdr): New. + ($(objpfx)tst-dladdr.out): new. + (tests): Add tst-dladdr. + ($(objpfx)glrefmain): Use libdl. + + * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh + . + +2000-07-27 Jes Sorensen + + * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and + ftruncate(64) calls. + +2000-07-27 Jes Sorensen + + * intl/tst-translit.c: Include string.h to get prototype for + strcmp(). + +2000-07-27 Jes Sorensen + + * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong + name and add weak alias for __fork. + + * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread + & pwrite to use __libc_ as strong names instead of + __syscall_. + + * include/sched.h: Add clone2 prototype. + +2000-07-26 Jes Sorensen + + * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the + procedure name twice. + +2000-07-27 Philip Blundell + + * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04. + +2000-07-27 Andreas Jaeger + + * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO + MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used). + * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise. + Reported by Andi Kleen . + + * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64. + (do_wait): Test requests with aio_return64. + (do_test): Change callers of do_wait. + +2000-07-26 Andreas Jaeger + + * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel. + (do_wait): Test requests with aio_return. + (do_test): Change callers of do_wait. + +2000-07-27 Ulrich Drepper + + * rt/aio_misc.c (__aio_remove_request): New function. Handle removing + from request list. Don't do the list handling here, call + __aio_remove_request. + * rt/aio_misc.h: Add prototype for __aio_remove_request. + * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the + request might already be processed. Don't do the list handling + here, call __aio_remove_request. + + * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and + LIO_DSYNC. + + * rt/aio_misc.c: Add comment explaining why writer memory barriers + are missing. + +2000-07-27 Greg McGary + + * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*. + * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error + in union init. Pass zero for ignored semnum arg to semctl. + * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo. + +2000-07-26 Greg McGary + + * sysdeps/gnu/bits/msq.h: Qualify kernel's + data structure pointers as __unbounded. + * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise. + * sysdeps/generic/bp-semctl.h: New file. + * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure + pointers as __unbounded. Check bounds of syscall args. + * sysdeps/unix/sysv/linux/msgrcv.c: Likewise. + * sysdeps/unix/sysv/linux/msgsnd.c: Likewise. + * sysdeps/unix/sysv/linux/semctl.c: Likewise. + * sysdeps/unix/sysv/linux/semop.c: Likewise. + * sysdeps/unix/sysv/linux/shmat.c: Likewise. + * sysdeps/unix/sysv/linux/shmctl.c: Likewise. + * sysdeps/unix/sysv/linux/shmdt.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise. + * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise. + * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise. + * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise. + +2000-07-26 Ulrich Drepper + + * libio/iofwide.c: Enable transliteration for conversion from wchar_t + by default. + * locale/C-ctype.c: Likewise. + * wcsmbs/wcsmbsload.c: Likewise. + +2000-07-26 Greg McGary + + * Makeconfig (+link-bounded, link-libc-bounded, + link-extra-libs-bounded): New variables. + (built-program-cmd): Omit $(run-program-prefix) for static BP tests. + * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files. + * Rules (tests-bp.out): New variable. + (tests): Conditionally add BP tests. + (binaries-bounded): Add variable and associated rule. + * csu/Makefile [build-bounded] (extra-objs, install-lib): + Move conditional stuff after place where condition is defined. + + * malloc/malloc.c (bp-checks.h): Add #include. + (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression. + (_bin_at): Add unbounded version of bin_at. + (IAV, chunk_alloc): Use unbounded _bin_at. + (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc, + chunk2mem_check, realloc_check, malloc_starter, malloc_atfork): + Wrap BOUNDED_N around return value. + (chunk_realloc): Adjust oldsize once. + + * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl. + (__ubp_memchr): Add correct decl. + (_CHECK_STRING): Use __ubp_memchr. + * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr): + New alias for unbounded-pointer __memchr. + * sysdeps/i386/memchr.S: Likewise. + * sysdeps/ia64/memchr.S: Likewise. + * sysdeps/m68k/memchr.S: Likewise. + * sysdeps/sparc/sparc32/memchr.S: Likewise. + * sysdeps/sparc/sparc64/memchr.S: Likewise. + * sysdeps/vax/memchr.s: Likewise. + + * sysdeps/i386/strtok.S: Fix bounds checks to pass tests. + (SAVE_PTR): New macro. (save_ptr): Expand size as BP. + (strtok): Don't bother to write into SAVE_PTR when returning NULL. + * sysdeps/i386/i686/strtok.S: Likewise. + * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER, + RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register. + + * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines. + * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise. + + * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy + bounds of copy_result to mount_proc. + +2000-07-25 Bruno Haible + + * wctype/wctype.h (__wctrans_l): New declaration. + * wctype/wctrans_l.c: New file. + * wctype/Makefile (routines): Add wctrans_l. + +2000-07-26 Ulrich Drepper + + * posix/fnmatch_loop.c: Fixes for use outside glibc. + Patch by MacGyver . + +2000-07-26 Andreas Jaeger + + * rt/tst-aio4.c: New file, slightly modified version of tst-aio2. + * rt/tst-aio5.c: New file, slightly modified version of tst-aio2. + * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5. + + * rt/tst-aio.c (test_file): Fix typo. + * rt/tst-aio64.c (test_file): Likewise. + + * rt/tst-aio3.c: New file, slightly modified version of tst-aio2. + * rt/Makefile: Add rules to build and run tst-aio3. + + * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since + it's not needed and confuses only. + +2000-07-26 Ulrich Drepper + + * resolv/res_init.c: Add support for nameserver communication with + IPv6. + * resolv/res_send.c: Likewise. + * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4 + in nsaddrs field. + Patch by . + +2000-07-25 Bruno Haible + + * locale/programs/ld-ctype.c (wctype_table_get): New function. + (wcwidth_table_get): New function. + (wcwidth_table_add): Call it. + (wctrans_table_get): New function. + (wctrans_table_add): Call it. + +2000-07-25 Ulrich Drepper + + * rt/lio_listio.c (lio_listio): Always disable individual + notification. + * rt/Makefile: Add rules to build and run tst-aio2. + * rt/tst-aio2.c: New file. + + * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly. + Reported by Kevin Beard . + +2000-07-25 Mark Kettenis + + * nss/nss_files/files-netgrp.c (strip_whitespace): New function. + (_nss_netgroup_parseline): Use strip_whitespace to strip off any + leading and trailing spaces from host, user and domain name. + +2000-07-25 Jes Sorensen + + * csu/defs.awk: Add support for need_endp. + +2000-07-25 Mark Kettenis + + * resolv/resolv.h: Remove __P from res_send_qhook and + res_send_rhook typedefs. + +2000-07-25 Bruno Haible + + * intl/tst-translit.c (main): Unset OUTPUT_CHARSET. + +2000-07-25 Ulrich Drepper + + * iconv/gconv_builtin.h: Add WCHAR_T alias. + +2000-07-25 Mark Kettenis + + * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the + calling thread, set the cancellation flag and return success + instead of EINTR. + +2000-07-25 Ulrich Drepper + + * libio/Makefile: Add rules build, run, and distribute tst-widetext.c. + * libio/tst-widetext.c: New file. + * libio/tst-widetext.input: New file. + + * libio/iogetwline.c (_IO_getwline_info): Pretty print. + + * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely + empty external buffer correctly. + +2000-07-25 Maciej W. Rozycki + + * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using + __STRING(entry) and not #entry. + (_RTLD_EPILOGUE): Likewise. + * sysdeps/mips/mips64/dl-machine.h: Likewise. + +2000-07-25 Andreas Jaeger + + * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter + according to changes in test program, run also with static only + builds. + ($(objpfx)tst-printf.out): Likewise. + + * stdio-common/tst-unbputc.sh: Likewise. + * stdio-common/tst-printf.sh: Likewise. + +2000-07-25 Ulrich Drepper + + * libio/wfileops.c (_IO_wdo_write): Correct return value. + + * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the + loop. + + * libio/fileops.c: Pretty print. + +2000-07-23 Bruno Haible + + * wctype/wchar-lookup.h: New file. + * wctype/iswctype.c: Include "wchar-lookup.h". + (__iswctype): Support alternate locale format with 3-level tables. + * wctype/iswctype_l.c (__iswctype_l): Likewise. + * wctype/towctrans.c (__towctrans): Likewise. + * wctype/towctrans_l.c (__towctrans_l): Likewise. + * wctype/wcfuncs.c: Include "wchar-lookup.h". + (__ctype32_wctype, __ctype32_wctrans): Declare external. + (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower, + __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper, + __iswxdigit, towlower, towupper): Support alternate locale format + with 3-level tables. + * wctype/wcextra.c (iswblank): Likewise. + * wctype/wcfuncs_l.c: Include "wchar-lookup.h". + (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l, + __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l, + __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale + format with 3-level tables. + * wctype/wcextra_l.c (__iswblank_l): Likewise. + * wctype/wctype.c (__wctype): Likewise. In the alternate locale + format, return a 3-level table pointer. + * wctype/wctype_l.c (__wctype_l): Likewise. + * wctype/wctrans.c (wctrans): Likewise. + * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit, + __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank, + __ISwcntrl, __ISwpunct, __ISwalnum): New enum values. + (iswctype): Remove macro definition. + * wcsmbs/wcwidth.h: Include "wchar-lookup.h". + (internal_wcwidth): Support alternate locale format with 3-level + tables. + * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET): + New nl_items. + * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET): + Define them as being type "word". + * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them. + * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans, + __ctype32_width): New exported variables. + * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the + alternate locale format. Don't initialize __ctype_names and + __ctype_width in the alternate locale format. + * locale/programs/localedef.h (oldstyle_tables): New declaration. + * locale/programs/localedef.c (oldstyle_tables): New variable. + (OPT_OLDSTYLE): New macro. + (options): Add --old-style option. + (parse_opt): Handle --old-style option. + * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset, + map_offset, class_3level, map_3level, width_3level members. + (ctype_output): Support for alternate locale format: Computation of + nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and + _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty. + New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field + _NL_CTYPE_WIDTH now contains the three-level table. Extra elems + now contain both class and map tables. + (struct wctype_table): New type. + (wctype_table_init, wctype_table_add, wctype_table_finalize): New + functions. + (struct wcwidth_table): New type. + (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New + functions. + (struct wctrans_table): New type. + (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New + functions. + (allocate_arrays): Support for alternate locale format: Set + plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first + 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx] + to the first 256 characters. Compute ctype->map_3level. Set + ctype->class_offset and ctype->map_offset. Compute ctype->width_3level + instead of ctype->width. + +2000-07-24 Ulrich Drepper + + * libio/iogetwline.c (_IO_getwline_info): Use wide character + string functions. + +2000-07-24 Jakub Jelinek + + * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size + in wide characters, not bytes. + * libio/tst_putwc.c (do_test): Add test for writing lots of data + into file. + +2000-07-22 Bruno Haible + + * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the + new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE, + LC_MEASUREMENT, LC_IDENTIFICATION. + + * locale/xlocale.h (struct __locale_struct): Increase size of + __locales array. + * locale/duplocale.c (__duplocale): Copy newly added categories as + well. + * locale/freelocale.c (__freelocale): Free newly added categories. + * locale/newlocale.c (__newlocale): Fix typo in sanity check. + If a base is given, use it, don't simply return it. + +2000-07-22 Bruno Haible + + * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer + variables, copied_key and copied_salt, instead of boolean variables. + +2000-07-24 Andreas Jaeger + + * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix + check for offset. + + * grp/initgroups.c (initgroups_dyn_function): Renamed from + initgroups_function, adopted prototype for change from 2000-07-23. + (initgroups): Follow type change. + + * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset + & PAGE_MASK case, reformat. + + * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input + from stdin and setup environment. + +2000-07-24 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias. + +2000-07-23 Ulrich Drepper + + * string/endian.h: Explain the _*_ENDIAN constant values a bit + more. Patch by scarlet@mit.edu [PR libc/1799]. + + * io/ftwtest-sh: Add -f parameter to chmod if -R is also given. + [PR libc/1792]. + + * argp/argp-parse.c (parser_finalize): Reverse order in which + parsers are run for ARGP_KEY_END. [PR libc/1755]. + + * grp/initgroups.c (initgroups): Don't limit the possible number + of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around + the setgroups call while the call fails and descrease the number + of groups each round. + The name of the initgroups function in the NSS modules changed. + (compat_call): Adapt for dynamic resizing. + * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn): + Implement dynamic resizing. + * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn): + Likewise. + * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise. + * hesiod/Versions: Change exported interface name. + * nis/Versions: Change exported interface name. + +2000-07-23 Ulrich Drepper + + * locale/iso-639.def: Some errors corrected. + Patch by Keld Simonsen. + + * include/limits.h: Update non-gcc portion. + Patch by Joseph S. Myers . + +2000-07-22 Mark Kettenis + + * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the + program's data space, reallocate only the space that was just + deallocated to release its backing space. + +2000-07-23 Ulrich Drepper + + * stdio-common/vfprintf.c (process_string_arg): For wide character + version, handle precision also correctly. + + * nss/nss_files/files-hosts.c: Correct problem with three or more + entries with the same name. + + * nss/nss_files/files-hosts.c: Implement multi handling. + * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc. + +2000-07-22 Ulrich Drepper + + * nss/nss_files/files-parse.c: Don't pollute namespace by using + strcasecmp. + + * grp/Makefile: Change Makefiles and tests to run only when necessary. + * malloc/Makefile: Likewise. + * malloc/tst-mtrace.sh: Likewise. + * posix/Makefile: Likewise. + * posix/globtest.sh: Likewise. + * posix/wordexp-tst.sh: Likewise. + * string/Makefile: Likewise. + +2000-07-22 Mark Kettenis + + * locale/findlocale.c (locale_file_list): Use __LC_LAST as array + size instead of LC_ALL to take into account the new locale + categories. + +2000-07-22 Ulrich Drepper + + * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove + remainders of hash table. + * locale/categories.def: Remove remainders of transliteration + hash table. + * locale/langinfo.h: Likewise. + * locale/programs/ld-ctype.c: Likewise. Fix code to write out + transliteration tables. + + * locale/gen-translit.pl: New file. + * locale/C-translit.h.in: New file. + * locale/C-ctype.c: Include C-translit.h. Initialize transliteration + data pointers with data from this file. + * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h, + and gen-translit.pl. + Add rule to generate C-translit.h. + * intl/tst-translit.c (main): Update for now performed + transliteration. + + * stdio-common/vfscanf.c: Handle input -- with format %f correctly + (it's no input error). + * stdio-common/tstscanf.c: Add test case for format %f with input --. + * stdio-common/scanf12.c: Correct expected result for first scanf. + + * stdio-common/vfprintf.c (process_string_arg): Correct handling + of multibyte character strings in %s format with precision. + +2000-07-21 Ulrich Drepper + + * locale/programs/ld-collate.c (collate_read): Allow collating + symbols and elements be named in reorder-after instructions. + Reported by Yoshito Kawada . + + * locale/programs/ld-collate.c (handle_ellipsis): Test for + duplication with generated name, not the name of the first + character. + Patch by Yong Li . + + * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification. + Patch by Franz Sirl . + +2000-07-21 Wolfram Gloger + + * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller + allocations only if a non-main arena cannot be extended. + +2000-07-21 Ulrich Drepper + + * elf/dl-load.c (_dl_map_object): Take loader==NULL into account + in DF_1_NODEFLIB handling. + +2000-07-21 Andreas Jaeger + + * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its + own rule. + + * libio/fwide.c: Include for prototype. + +2000-07-21 Greg McGary + + * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset, + set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot): + Define in terms of chunk_at_offset. + (inuse, set_inuse, clear_inuse): Define in terms of next_chunk. + (next_bin, prev_bin): offset by size of real array elements. + (chunk_align): Make `m' a scalar, since that's how it's used. + +2000-07-21 Greg McGary + + * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from + UNCHECK_BOUNDS. + * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant. + * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): + Wrap bounds around argv & envp and each of their string members. + * sysdeps/powerpc/elf/start.S: Designate BP symbols. + * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point + symbol in BP_SYM (). Discard bounds of address arg. + * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): + Discard bounds on address arg, add bounds to return value. + +2000-07-20 Ulrich Drepper + + * elf/Makefile (tests): Add filter. Add rules to generate filter. + * elf/filter.c: New file. + * elf/filtmod1.c: New file. + * elf/filtmod2.c: New file. + + * elf/rtld.c: Define _dl_bind_not variable. + (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not. + * elf/dl-support.c: Likewise. + * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not. + * elf/dl-runtime.c (fixup): Don't remember looked up value if + _dl_bind_not. + (profile_fixup): Likewise. + + * libio/Makefile (routines): Add fwide. + * libio/iofwide.c (_IO_fwide): Remove locking. This is done in + fwide now. Internal calls to _IO_fwide must do locking themselves + or don't need locking. + * libio/fwide.c: New file. + + * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB. + + * elf/Makefile: Add no modules for nodelete test. + * elf/nodelmod3.c: New file. + * elf/nodelmod4.c: New file. + * elf/nodelete.c: Also test case where dependency of dlopen() object + is marked nodelete. + + * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen. + * elf/nodlopen.c: New file. + * elf/nodlopenmod.c: New file. + * include/dlfcn.h: Define __RTLD_DLOPEN. + * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set + and this is a dlopen() call, do not load the binary. + * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open. + * dlfcn/dlopenold.c: Likewise. + * configure.in: Add test for -z nodelete option. + * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete. + +2000-07-20 Mark Kettenis + + Make Hesiod NSS module thread-safe. + + * hesiod/README.hesiod: Update. + + * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r, + _nss_hesiod_setprotoent, _nss_hesiod_endprotoent, + _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r. + * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and + hesiod-proto. + * hesiod/nss_hesiod/hesiod-init.c: New file. + * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness. + * hesiod/nss_hesiod/hesiod-grp.c: Likewise. + * hesiod/nss_hesiod/nss_hesiod.h: New file. + * hesiod/nss_hesiod/hesiod-service.c + (_nss_hesiod_getservbyport_r): New function. Provide support for + looking up services by port number. + * hesiod/nss_hesiod/hesiod-proto.c: New file. + + * hesiod/hesiod.c: Update from BIND 8.2.3-T5B. + * hesiod/hesiod.h: Likewise. + * hesiod/hesiod_p.h: Likewise. + +2000-07-20 Mark Kettenis + + Fix problems with `struct __res_state' getting too big. + * resolv/resolv.h (struct __sockaddr_in): New definition. + (struct __res_state): Use __sockaddr_in instead of sockaddr_in in + the private parts of the structure to save some space. + * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to + (struct sockaddr_in *) in call to sock_eq. + Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns]. + +2000-07-20 Ulrich Drepper + + * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries. + * elf/dl-close.c (_dl_close): Don't close an object if it is marked + with nodelete. + * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter + to _dl_map_object. Return immediately if no object loaded. + Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed. + * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry + if it exists into l_flags_1 word. + * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use + it to determine whether loading is wanted or not. + (_dl_map_object): Likewise. + Call _dl_map_object_from_fd with new parameter. + * sysdeps/generic/ldsodefs.h: Update prototype. + * elf/dl-deps.c: Add new parameter to _dl_map_object calls. + * elf/rtld.c: Likewise. + * sysdeps/mach/hurd/dl-sysdep.c: Likewise. + * elf/Makefile (tests): Add noload. Add rules to generate noload. + * elf/noload.c: New file. + * include/link.h (struct link_map): Add l_feature_1 and l_flags_1. + * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE. + * sysdeps/mips/bits/dlfcn.h: Likewise. + * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)). + (tests-nodelete-yes): Define. + (modules-names): Add $(modules-nodelete-$(have-z-nodelete)). + Add rules to build nodelete and modules. + * elf/nodelete.c: New file. + * elf/nodelmod1.c: New file. + * elf/nodelmod2.c: New file. + * configure.in: Add test for -z nodelete option. + * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete. + + * libio/Makefile (tests): Add tst_wprintf2. + (tst_wprintf2-ARGS): Define. + * libio/tst_wprintf2.c: New file. + Based on a test case by Yoshito Kawada . + + * libio/wfiledoalloc.c: Only allocate external buffer if this + hasn't happened yet. + + * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really + something in the buffer. gconv call can write up to end of the + buffer, not only _IO_write_end. + (_IO_wfile_overflow): Allocate also external buffer. + +2000-07-19 Ulrich Drepper + + * stdio-common/vfprintf.c (process_string_arg): Handle multibyte + strings with precision in vfwprintf correctly. + * stdio-common/vfprintf.c: Fix completely broken handling of + unbuffered wide character streams. + Reported by Yoshito Kawada . + + * resolv/Makefile (distribute): Add README. + + * resolv/README: New file. By Mark Kettenis . + +2000-07-18 Mark Kettenis + + Update resolver code to BIND 8.2.3-T5B. + + * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and + __res_nclose. + [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename, + __res_mkquery, __res_nsend, __res_query, __res_querydomain and + __res_search. + * resolv/Banner: BIND-8.2.3-T5B. + + * resolv/base64.c: Update from BIND 8.2.3-T5B. + * resolv/herror.c: Likewise. + * resolv/inet_addr.c: Likewise. + * resolv/inet_net_ntop.c: Likewise. + * resolv/inet_net_pton.c: Likewise. + * resolv/inet_neta.c: Likewise. + * resolv/inet_ntop.c: Likewise. + * resolv/nsap_addr.c: Likewise. + * resolv/inet_pton.c: Likewise. Reject a few more more invalid + IPv6 addresses (ISC bug #520). + + * resolv/ns_name.c: Avoid emitting RCS ID in object file. + * resolv/ns_parse.c: Likewise. + * resolv/ns_netint.c: Likewise. + * resolv/ns_samedomain.c: Likewise. + * resolv/ns_ttl.c: Likewise. + * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting + RCS ID in object file. + + * resolv/res_debug.c: Update from BIND 8.2.3-T5B. + * resolv/res_mkquery.c: Likewise. + * resolv/res_query.c: Likewise. + * resolv/res_init.c: Likewise. + (res_setoptions): Mark internal. + * resolv/res_send.c: Likewise. + [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit + by using poll instead. + * resolv/res_comp.c: Likewise. + [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a + weak alias for __dn_expand. + * resolv/res_data.c: Likewise. + (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set + in _res.options. Avoids a potential security risk by avoiding a + close (0). + [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make + res_mkquery, res_query, res_querydomain adn res_search weak + aliases for __res_mkquery, __res_query, __res_querydomain and + __res_search. + * resolv/res_libc.c: (_res): Don't initialize. Fix res_close + instead to avoid close(0). + (res_init): Always use the static resolver context. + [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak + alias for __res_init. + + * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of + RES_SET_H_ERRNO and accompanying comment to... + * include/resolv.h: ... here. + + * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B. + * resolv/arpa/nameser_compat.h: Likewise. + +2000-07-18 Ulrich Drepper + + * nss/makedb.c (main): Compare result of load_db with + NSS_STATUS_SUCCESS and not 0. + Patch by Jan Rekorajski . + + * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2. + +2000-07-18 Greg McGary + + * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro. + (EXTEND_BUFFER): Use it. + +2000-07-18 Ulrich Drepper + + * include/libc-symbols.h: Define RETURN_ADDRESS macro. + * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of + __builtin_return_address. + * dlfcn/dlopenold.c: Likewise. + * dlfcn/dlsym.c: Likewise. + * dlfcn/dlvsym.c: Likewise. + * elf/dl-profstub.c: Likewise. + * malloc/malloc.c: Likewise. + * sysdeps/generic/machine-gmon.h: Likewise. + Based on a patch by schwidefsky@de.ibm.com. + +2000-07-18 Andreas Jaeger + + * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of + NULL to elf_machine_fixup_plt t argument to silence GCC. + + * include/string.h: Add prototype for __memchr. + + * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias. + + * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr + instead of memrchr. + +2000-07-18 Ulrich Drepper + + * intl/Makefile: Make sure tst-translit is run after tst-gettext. + + * locale/C-ctype.c: Add initializers for gap elements. + * locale/programs/ld-ctype.c (ctype_output): Write out index entries + for gap elements. + +2000-07-16 Ulrich Drepper + + * nscd/nscd.c (print_version): Update copyright year. + +2000-07-17 Greg McGary + + * sysdeps/unix/make-syscalls.sh: Handle new arg signature + keyletters F, I, S, W. Remove unused keyletter V. Surround + signature argnames with angle-brackets for use as word delimiters, + and to induce syntax errors for any args not handled. Split + multi-echo echoes and comment each stage. + * sysdeps/unix/common/syscalls.list: Refine & correct signatures. + * sysdeps/unix/inet/syscalls.list: Likewise. + * sysdeps/unix/mman/syscalls.list: Likewise. + * sysdeps/unix/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/syscalls.list: Likewise. + * sysdeps/unix/sysv/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/powerpc/syscalls.list + + * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings. + * sysdeps/unix/sysv/linux/execve.c (__execve): Add const + qualifiers. Don't check NULL-terminator of argv & envp. + * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use + unbounded pointer type in word-size assertion. + * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing + cases to stifle warnings. + + * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to + _IO_file_attach. + * libio/iovdprintf.c (_IO_vdprintf): Likewise. + + * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods. + * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify + ptr as __unbouned. + + * Makerules (o-objects): Supplement with $(o-objects$o). + * string/Makefile (o-objects.ob): Add variable to pull + unbounded versions of memcpy, memset and memchr into libc_b. + + * sysdeps/generic/bp-checks.h: Use unbounded __memchr + rather than non-existent __ubp_memchr. + (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros. + (_CHECK_STRING, _CHECK_N): New macros. + (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*. + (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'. + * sysdeps/alpha/memchr.S: Change strong name to "__memchr". + Add weak alias "memchr". + * sysdeps/generic/memchr.c: Likewise. + * sysdeps/i386/memchr.S: Likewise. + * sysdeps/ia64/memchr.S: Likewise. + * sysdeps/m68k/memchr.S: Likewise. + * sysdeps/sparc/sparc32/memchr.S: Likewise. + * sysdeps/sparc/sparc64/memchr.S: Likewise. + * sysdeps/vax/memchr.s: Likewise. + + * iconv/gconv_trans.c: Add #include to get malloc decl. + + * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer. + (profile_fixup): Don't define for __BOUNDED_POINTERS__. + * sysdeps/i386/dl-machine.h: Don't use regparm attribute for + __BOUNDED_POINTERS__. + (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version + for __BOUNDED_POINTERS__. + +2000-07-17 Bruno Haible + + * iconv/gconv_open.c (__gconv_open): Initialize the __data + field of struct __gconv_trans_data differently. Don't pass NULL to + trans_init_fct. Simplify list append operation. + +2000-07-14 Bruno Haible + + * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms, + not only those having tsearch. + +2000-07-17 Ulrich Drepper + + * locale/langinfo.h: Add placeholder values in enum for removed + LC_CTYPE entries. + +2000-07-17 Jakub Jelinek + + * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded + chain if the PHDR check fails. + +2000-07-17 Mark Kettenis + + * nss/getent.c (print_hosts): Make sure we always print a space + between numeric addresses and hostnames. + +2000-07-17 Wolfram Gloger + + * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed, + i.e. if n_mmaps_max>0. + +2000-07-16 Mark Kettenis + + * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust + values to remove possible clash with other AI_* constants. + (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as + hexadecimal constants to stress the fact they're in fact + bit flags. + +2000-07-15 Mark Kettenis + + * nss/getXXent_r.c [NEED__RES]: Include . + (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit + instead of res_init. + +2000-07-16 Ulrich Drepper + + * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first + parameters of memset calls to avoid warnings. + +2000-07-15 Ulrich Drepper + + * stdlib/Makefile: Rewrite rules to avoid running isomac unless + necessary. + + * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch. + Patch by Greg McGary . + + * io/Makefile (tests): Add tst-getcwd. + * io/tst-getcwd.c: New file. + + * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary. + +2000-07-15 Jakub Jelinek + + * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data + structure. + +2000-07-13 Jakub Jelinek + + * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias. + * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias. + +2000-07-12 H.J. Lu + + * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to + GLIBC_2.2. + * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S. + * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc] + (sysdep-routines): Add clone2. + * sysdeps/unix/sysv/linux/ia64/clone2.S: New. + +2000-07-13 Jes Sorensen + + * sysdeps/unix/sysv/linux/ia64/clone.S: New file. + * sysdeps/unix/sysv/linux/ia64/fork.c: New file. + +2000-06-05 David Mosberger + + * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file + based on sysdeps/unix/sysv/linux/bits/siginfo.h. + Change type of si_band from "int" to "long". + (si_imm) [USE_GNU]: Define + (si_isr) [USE_GNU]: Likewise. + (ILL_BREAK) [USE_GNU]: Likewise. + (FPE_DECOVF) [USE_GNU]: Likewise. + (FPE_DECDIV) [USE_GNU]: Likewise. + (FPE_DECERR) [USE_GNU]: Likewise. + (FPE_INVASC) [USE_GNU]: Likewise. + (FPE_INVDEC) [USE_GNU]: Likewise. + (TRAP_BRANCH) [USE_GNU]: Likewise. + (TRAP_HWBKPT) [USE_GNU]: Likewise. + +2000-07-06 Jes Sorensen + + * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include + bits/sigcontext as struct mcontext does not depend on it. + + * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file. + +2000-07-04 Jes Sorensen + + * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed. + +2000-07-04 David Mosberger-Tang + + * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file. + +2000-06-22 Jes Sorensen + + * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file. + +2000-07-15 Ulrich Drepper + + * intl/Makefile (test-srcs): Add tst-translit. + (tests): Likewise. + Add rules to build and run tst-translit. + * intl/tst-translit.c: New file. + * intl/tst-translit.sh: New file. + * intl/translit.po: New file. + +2000-07-14 Ulrich Drepper + + * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the + transliteration function did its job, continue, don't stop. + + * iconvdata/iso646.c: Little optimizations in body for conversion + from UCS4. + +2000-07-14 Mark Kettenis + + * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning. + +2000-07-14 Mark Kettenis + + * configure.in: Check for pwd binary. + * config.make.in: Add PWD_P to be subsituted. + * Makerules: Use $(PWD_P) instead of /bin/pwd. + +2000-07-14 Ulrich Drepper + + * iconvdata/Makefile (modules): Add GB18030. + (distribute): Add gb18030.c. + * iconvdata/gconv-modules: Add entries for GB18030 module. + * iconvdata/gb18030.c: New file. + Contributed by Wang ShouHua + and Wu Jian. + +2000-07-13 Andreas Jaeger + + * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last + patch. + + * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid. + * inet/getnetgrent.c (free_mem): Likewise. + * misc/mntent.c (free_mem): Likewise. + * nss/getXXbyYY.c (free_mem): Likewise. + * nss/getXXent.c (free_mem): Likewise. + * pwd/fgetpwent.c (free_mem): Likewise. + * shadow/fgetspent.c (free_mem): Likewise. + +2000-07-14 Ulrich Drepper + + * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on + 64-bit architecture correctly [PR libc/1794]. + +2000-07-13 Ulrich Drepper + + * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2. + * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the + report that we are out of memory. + * elf/dl-deps.c (_dl_map_object_deps): Likewise. + * elf/dl-libc.c (dlerror_run): Likewise. + * elf/dl-open.c (_dl_open): Likewise. + * elf/rtld.c (dl_main): Likewise. + * elf/dl-error.c: Define _dl_out_of_memory. + (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate + the error string. + * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory. + [PR libc/1813]. + + * dlfcn/dlerror.c (free_key_mem): Also free error string. + + * iconv/loop.c: Fix comment. + + * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL. + +2000-07-13 Andreas Jaeger + + * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle + getcwd (NULL, size) with size > 0. + Fixes PR libc/1788, reported by John Buddery . + +2000-07-13 Andreas Jaeger + + * posix/Makefile: Remove build rules for libposix. + +2000-07-13 Andreas Schwab + + * sysdeps/generic/glob.c (glob): Fix memory leak. + [SHELL]: Remove reference to undefined variable `files'. + Fixes PR libc/1782. + +2000-07-13 Andreas Jaeger + + * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling + functions. + + * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free + memory if it was allocated. + +2000-07-12 Ulrich Drepper + + * iconv/gconv_db.c (gen_steps): Always initialize __data field of + step. + + * iconv/gconv_open.c (__gconv_open): Reapply + 2000-07-12 Bruno Haible + + * iconv/gconv_open.c (__gconv_open): Merge duplicated code. + + * iconv/gconv_open.c: Undo last two changes for now. They break + everything. + +2000-07-12 Andreas Jaeger + + * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to + compiler. + (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS. + (CFLAGS-dl-cache.c): Likewise. + (CFLAGS-ldconfig.c): Added, passes directory locations. + + * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to + locate cache. + * elf/ldconfig.c (LD_SO_CONF): Likewise. + (main): Use configured LIBDIR and SLIBDIR. + +2000-07-11 Jakub Jelinek + + * math/bits/cmathcalls.h (cimag): Add __THROW. + (creal, conj): Likewise. + * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left + by negative value. + +2000-07-12 H.J. Lu + + * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2 + for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c. + +2000-07-12 Ulrich Drepper + + * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although + it is wrong. + +2000-07-12 Bruno Haible + + * iconv/gconv_open.c (__gconv_open): Merge duplicated code. + +2000-07-12 Bruno Haible + + * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize + __modname. + +2000-07-12 Bruno Haible + + * iconv/gconv_open.c (__gconv_open): Initialize + result->__steps[cnt].__data. + +2000-07-12 Mark Kettenis + + * nss/getent.c (services_keys): Pass port number in network byte + order in call to getservbyport. + +2000-07-11 Andreas Jaeger + + * stdlib/Makefile (test-canon-ARGS): Fix for building in the + source dir. + * intl/Makefile (do-gettext-test): Likewise. + * dirent/Makefile (opendir-tst1-ARGS): Likewise. + +2000-07-11 Andreas Schwab + + * Makeconfig (run-program-prefix): New rule. + (built-program-cmd): Use run-program-prefix. + +2000-07-12 Ulrich Drepper + + * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR, + and NOEXPR unconditionally available. + +2000-07-12 Greg McGary + + * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM (). + * sysdeps/posix/open64.c: Likewise. + * sysdeps/generic/fegetenv.c: Likewise. + * sysdeps/powerpc/fpu/fegetenv.c: Likewise. + * sysdeps/powerpc/fpu/fesetenv.c: Likewise. + * sysdeps/powerpc/fpu/feupdateenv.c: Likewise. + * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise. + * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise. + * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise. + +2000-07-11 Greg McGary + + * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias): + Add extra level of macro expansion. + [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise. + * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition + is available at the time `select' prototype is declared. + * sysdeps/unix/make-syscalls.sh: Remove unused variables. + Collect non-versioned weak aliases. Consider only non-versioned + aliases for the user-visible systemcall name. Do checks inline with + call to primitive system call. + * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to + stand-alone bounds checks to suppress unused value warnings. + * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise. + +2000-07-10 Mark Kettenis + + * sysdeps/mach/hurd/check_fds.c: New file. Implements + file descriptor checking in SUID programs for the Hurd. + + * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use + res_hostalias instead of __hostalias for thread-safety. + +2000-07-09 Mark Kettenis + + * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds... + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here. + +2000-07-10 Ulrich Drepper + + * include/features.h: Include ISO C99 features if the compiler used + is an ISO C99 compiler. + Patch by Joseph S. Myers . + +2000-07-08 Mark Kettenis + + * iconv/gconv_conf.c: Include . + +2000-07-10 Andreas Jaeger + + * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since + it's overridden by libpthreads. + * sysdeps/unix/sysv/linux/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise. + + * malloc/Makefile: Run tst-mtrace only with shared libs. + + * stdio-common/Makefile: Run unbputc and tst-printf tests only + with shared libs. + +2000-07-10 Maciej W. Rozycki + + * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify + that gpreg really points to the GOT section of the calling object. + Scan all PT_LOAD segments of objects for stub_pc, instead of only + checking a start address of first one. + Fix typos. + * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map): + Likewise. + + * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo. + +2000-07-10 Andreas Jaeger + + * sysdeps/unix/sysv/linux/sigaction.c: Fix typo + (string_alias->strong_alias). + +2000-07-08 Mark Kettenis + + * hurd/hurd/fd.h: Include instead of . + +2000-07-07 Greg McGary + + * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that + have no names without leading underscores. + +2000-07-07 Ulrich Drepper + + * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and + U007E. + + * stdio-common/Makefile (tests): Remove tst-printf here... + (tests-srcs): ...and add it here. + (distribute): Add tst-unbputc.sh and tst-printf.sh. + Add rules to run tst-printf.sh. + * stdio-common/tst-printf.c: Move code around so that there is really + no further output where it's stated. + * stdio-common/tst-printf.sh: New file. + +2000-07-07 Mark Kettenis + + * hurd/vpprintf.c [USE_IN_LIBIO]: Include . + (do_write): Renamed from pwrite. + (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of + `struct _IO_cookie_file'. + +2000-07-07 Ulrich Drepper + + * malloc/mtrace.pl: Exit with exit code 1 if any leak was + detected. + * malloc/tst-mtrace.sh: Run mtrace script. + +2000-07-07 Greg McGary + + * posix/regex.c (EXTEND_BUFFER): Compute increment once. + Move all three components of a bounded pointer. + +2000-07-07 Ulrich Drepper + + * locale/programs/locale.c (write_locales): Don't simply add all + directories found in the subdir, test whether at least the + LC_CTYPE file is in there. + +2000-07-06 Ulrich Drepper + + * iconvdata/euc-jp.c: Map characters in C1 area to itself. + * iconvdata/euc-kr.c: Likewise. + + * stdio-common/vfprintf.c (process_string_arg): Check result of + wcrtomb call and bail out if it failed. + + * malloc/Makefile (test-srcs): Add tst-mtrace. + (distribute): Add tst-mtrace.sh. + Add rule to run tst-mtrace.sh. + * malloc/tst-mtrace.c: New file. + * malloc/tst-mtrace.sh: New file. + + * include/signal.h: Declare __libc_sigaction. + * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction. + * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias. + * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise. + + * configure.in: Fix CFLAGS-memprofstat.c definition after + 2000-06-19 change. + Patch by Bradford W. Johnson . + +2000-07-06 Jakub Jelinek + + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0 + instead of NULL to elf_machine_fixup_plt t argument. + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add + cast. + +2000-07-06 Andreas Jaeger + + * crypt/Makefile (LDLIBS-cert): Removed. + (LDLIBS-md5c-test): Removed. + ($(objpfx)cert): Renamed from cert.out to fix dependencies. + ($(objpfx)md5c-test): Likewise for md5c-test.out. + +2000-07-06 Andreas Jaeger + + * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type + of the proc system is "proc". + + * sysdeps/generic/libc-start.c (__libc_start_main): Initialize + thread library for static programs. + +2000-07-06 Greg McGary + + * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt): + New macros. + * sysdeps/generic/strcpy.c: Add bounds checks. + * sysdeps/unix/fxstat.c: Likewise. + * sysdeps/unix/xstat.c: Likewise. + * sysdeps/unix/common/lxstat.c: Likewise. + * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise. + * sysdeps/unix/sysv/linux/execve.c: Likewise. + * sysdeps/unix/sysv/linux/fxstat.c: Likewise. + * sysdeps/unix/sysv/linux/fxstat64.c: Likewise. + * sysdeps/unix/sysv/linux/getcwd.c: Likewise. + * sysdeps/unix/sysv/linux/getdents.c: Likewise. + * sysdeps/unix/sysv/linux/llseek.c: Likewise. + * sysdeps/unix/sysv/linux/lxstat.c: Likewise. + * sysdeps/unix/sysv/linux/lxstat64.c: Likewise. + * sysdeps/unix/sysv/linux/poll.c: Likewise. + * sysdeps/unix/sysv/linux/pread.c: Likewise. + * sysdeps/unix/sysv/linux/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/ptrace.c: Likewise. + * sysdeps/unix/sysv/linux/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/readv.c: Likewise. + * sysdeps/unix/sysv/linux/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/sigpending.c: Likewise. + * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise. + * sysdeps/unix/sysv/linux/sigqueue.c: Likewise. + * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise. + * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise. + * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. + * sysdeps/unix/sysv/linux/sysctl.c: Likewise. + * sysdeps/unix/sysv/linux/truncate64.c: Likewise. + * sysdeps/unix/sysv/linux/ustat.c: Likewise. + * sysdeps/unix/sysv/linux/writev.c: Likewise. + * sysdeps/unix/sysv/linux/xmknod.c: Likewise. + * sysdeps/unix/sysv/linux/xstat.c: Likewise. + * sysdeps/unix/sysv/linux/xstat64.c: Likewise. + * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/i386/brk.c: Likewise. + * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. + * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise. + * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise. + * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise. + * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise. + * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise. + * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise. + * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise. + * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise. + * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise. + * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pread.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise. + * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise. + + * string/endian.h (__LONG_LONG_PAIR): New macro. + * sysdeps/unix/sysv/linux/ftruncate64.c: Use it. + * sysdeps/unix/sysv/linux/pread.c: Likewise. + * sysdeps/unix/sysv/linux/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/truncate64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pread.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise. + + * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS. + +2000-07-06 Andreas Jaeger + + * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): + Initialize result. + + * math/test-fpucw.c: Include for printf. + +2000-07-05 Greg McGary + + * sysdeps/generic/bp-checks.h: New file. + * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions + with list of #include files. + * sysdeps/unix/make-syscalls.sh: Handle new arg signature + keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation. + Don't generate BP thunk if `V' appears in signature. + Generate thunks with complete bounds checks. + * sysdeps/unix/syscalls.list: Refine signatures using new keyletters. + * sysdeps/unix/inet/syscalls.list: Likewise. + * sysdeps/unix/mman/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise. + +2000-07-05 Ulrich Drepper + + * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache + result. Search first in /etc/mtab (proc/mounts would be stupid). + If mount not in the file fall back on /proc. + + * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt + string got copied in. + Patch by Solar Designer . + +2000-07-05 Andreas Jaeger + + * manual/install.texi (Installation): Update information about + add-ons. + (Configuring and compiling): Update for glibc 2.2. + +2000-07-04 Andreas Jaeger + + * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value. + (_FPU_IEEE): Likewise. + + * math/Makefile (tests): Add test-fpucw. + + * math/test-fpucw.c (main): New file. + +2000-07-05 Ulrich Drepper + + * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning. + + * locale/programs/ld-collate.c (collate_output): Also write out the + collation sequence values and the wide character string for the + collation symbol table. + + * posix/fnmatch.c: Include "../locale/elem-hash.h". + * posix/fnmatch_loop.c: Implement collating symbol handling. + * posix/tst-fnmatch.input: Add more tests, especially for collating + symbol handling. + + * posix/regex.c: Fix comment. + +2000-07-05 Andreas Jaeger + + * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t. + (_FPU_GETCW): Remove extra colon. + Patch by Ralf Baechle . + + * posix/fnmatch_loop.c (FCT): Only declare len if + !WIDE_CHAR_VERSION to silence GCC. + + * sysdeps/generic/rawmemchr.c: Include for abort + prototype. + * sysdeps/generic/strchrnul.c: Likewise. + * sysdeps/generic/strlen.c: Likewise. + * sysdeps/generic/strchr.c: Likewise. + * sysdeps/generic/memchr.c: Likewise. + +2000-07-04 Ulrich Drepper + + * posix/fnmatch_loop.c: Implement equivalence class handling. + * posix/tst-fnmatch.input: Add tests for equivalence class + handling. + + * posix/fnmatch_loop.c: Improve performance for single-byte + character sets by not using btowc. + + * posix/tst-fnmatch.input: Add tests for locale dependent + behaviour. + * posix/tst-fnmatch.c (main): Also set LC_CTYPE category. + + * posix/tst-fnmatch.input: Add more test cases. + + * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt + are not aligned to alignof(md5_uint32) do it before calling + __md5_process_bytes. + * crypt/md5.c: Make sure buffers are aligned. + * crypt/md5.h: Likewise. + Reported by Solar Designer . + + * crypt/Makefile: Add dependencies for test programs. + + * Rules: Define LC_ALL=C in environments of all programs we run. + + * intl/tst-gettext.sh (LC_ALL): Define to C and export. + +2000-07-03 H.J. Lu + + * locale/programs/ld-ctype.c (ctype_output): The size of iov + is 2 + elem + offset, not 2 + elem + offset + 2. + +2000-07-04 Ulrich Drepper + + * posix/fnmatch_loop.c: Fix two problems uncovered by the new test + suite. + * posix/Makefile (tests): Add tst-fnmatch. + (tst-fnmatch-ENV): Define. + * posix/tst-fnmatch.c: New file. + * posix/tst-fnmatch.sh: New file. + +2000-07-04 NIIBE Yutaka + + * locale/programs/charmap.c (charmap_read): Prepend + the condition filename == NULL. + +2000-07-03 Greg McGary + + * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo. + + * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally. + ($(objpfx)b$(start-installed-name)): Add non-elf rule. + + * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*. + * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*. + (FILEBUF_LITERAL): Add cast for CHAIN init. + * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts. + (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write): + Revert type of `fp' to _IO_FILE*. + (_IO_iter_file): Remove cast. + (_IO_iter_next): Elide intermediate member reference. + + * sysdeps/powerpc/strchr.S: Check bounds. + Wrap extern symbols in BP_SYM (). + +2000-07-03 Andreas Jaeger + + * dlfcn/Makefile (generated): New. + +2000-07-03 Ulrich Drepper + + * libio/genops.c (__overflow): Use _IO_fwide to orient the stream. + (__uflow): Likewise. + (__underflow): Likewise. + * libio/wgenops.c (__wunderflow): Likewise. + * stdio-common/tst-unbputc.c: New file. + * stdio-common/tst-unbputc.sh: New file. + * stdio-common/Makefile: Add rules to build and run tst-unbputc. + + * po/en_GB.po: New file. + Contributed by Robert Brady . + +2000-07-01 Andreas Jaeger + + * intl/Makefile (generated-dirs): New. + + * elf/Makefile (generated): trusted-dirs.h is always generated, + move out of build-shared condition. + (generated): Merge the two entries for build-shared. + +2000-07-01 Ulrich Drepper + + * debug/Makefile (distribute): Add xtrace.sh. + +2000-06-30 Ulrich Drepper + + * version.h (VERSION): Bump to 2.1.91. + + * configure.in: Update warning comment. glibc should not be + broken anymore. + + * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add + ioperm.c, sys/procfs.h, and sys/io.h. + + * sysdeps/powerpc/Dist: Add bp-asm.h. + + * assert/Depend: Add localedata. + * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C. + (test-assert-perr-ENV): New. Define LANGUAGE=C. + + * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type == + R_ALPHA_REFQUAD]: Use memcpy to load and store value from + relocation address to prevent unaligned trap. + Suggested by Richard Henderson . + +2000-06-30 Jakub Jelinek + + * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines + if redirecting and either redirection is done using defines or + not optimizing. + +2000-06-30 Ulrich Drepper + + * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in + generated expressions. + Patch by Darren McClelland . + + * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL + since zic uses setlocale and gettext but we cannot make it use the + new locale data since zic calls a shell which might not use the + new libc. + + * stdlib/strfmon.c: Move somewhat closer to the standard wrt to + handling the internation currency symbol. POSIX says that the + fourth character is used to separate the currency symbol from the + value. Therefore it does not have to be printed. But we cannot + remove the space if the currency symbol is printed before the + number since this is what many locales expect. + + * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN + whether this information is available. + + * intl/dcigettext.c (_nl_find_msg): Correct reallocation of + buffers in case the translation is too large. Remember allocated + memory blocks in a list. + (free_mem): Free memory for translations. + + * intl/tst-gettext.c: Use correct locale. Improve error messages. + + * locale/programs/ld-ctype.c (ctype_output): If no default_missing + information is available set the string length to zero. + + * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case. + +2000-06-30 Greg McGary + + * sysdeps/powerpc/bp-asm.h: New file. + * sysdeps/powerpc/__longjmp.S: Check bounds. + Wrap extern symbols in BP_SYM (). + * sysdeps/powerpc/bsd-_setjmp.S: Likewise. + * sysdeps/powerpc/bsd-setjmp.S: Likewise. + * sysdeps/powerpc/setjmp.S: Likewise. + * sysdeps/powerpc/add_n.S: Likewise. + * sysdeps/powerpc/addmul_1.S: Likewise. + * sysdeps/powerpc/lshift.S: Likewise. + * sysdeps/powerpc/rshift.S: Likewise. + * sysdeps/powerpc/mul_1.S: Likewise. + * sysdeps/powerpc/sub_n.S: Likewise. + * sysdeps/powerpc/submul_1.S: Likewise. + * sysdeps/powerpc/strlen.S: Likewise. + * sysdeps/powerpc/memset.S: Likewise. + * sysdeps/powerpc/stpcpy.S: Likewise. + * sysdeps/powerpc/strcmp.S: Likewise. + * sysdeps/powerpc/strcpy.S: Likewise. + * sysdeps/powerpc/elf/bzero.S: Likewise. + + * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names. + Line up operands column with tabs. + +2000-06-30 Ulrich Drepper + + * elf/Makefile (LDFLAGS-origtest): Actually add it. + + * sysdeps/ia64/htonl.S: New file. + * sysdeps/ia64/htons.S: New file. + * sysdeps/ia64/memcpy.S: Replace with version which does not use + floating point registers. + Patches by Dan Pop . + +2000-06-30 Andreas Jaeger + + * posix/Makefile (tests): tst-exec and tst-spawn only work with + shared libraries. + + * io/Makefile (CFLAGS-test-lfs.c): New. + (tests): Add test-lfs. + + * io/test-lfs.c: New file. + +2000-06-30 Jakub Jelinek + + * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit + instruction. + +2000-06-29 David Mosberger-Tang + + * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file. + +2000-06-29 Jes Sorensen + + * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64 + alias to the fstatfs call. + + * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file. + * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file. + + * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file. + * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file. + + * sysdeps/unix/sysv/linux/ia64/readdir.c: New file. + * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file. + * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file. + * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file. + + * sysdeps/unix/sysv/linux/ia64/glob.c: New file. + * sysdeps/unix/sysv/linux/ia64/glob64.c: New file. + + * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file. + * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file. + + * sysdeps/unix/sysv/linux/ia64/pread64.c: New file. + * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file. + + * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file. + +2000-06-29 Andreas Jaeger + + * sunrpc/rpc_svcout.c (write_msg_out): Always use format string + with syslog. + (print_err_message): Likewise. + Reported by Chris Evans . + +2000-06-29 Ulrich Drepper + + * locale/loadlocale.c (_nl_load_locale): Make sure all locale data + used as words is properly aligned. + + * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned + data files. + +2000-06-29 Greg McGary + + * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded. + * sysdeps/unix/make-syscalls.sh: Handle signatures of + length 7..9, just in case... + * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP. + + * sysdeps/i386/bp-asm.h (PCOFF): New constant. + (POP_ERRNO_LOCATION_RETURN): Fold insns. + * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant. + (PUSH_SIGNAL_MASK): New macro. + * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM (). + LEAVE is unnecessary. Check bounds of jmp_buf. + * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols + in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until + immediately before tail-call. + * sysdeps/i386/setjmp.S: Likewise. + * sysdeps/i386/bsd-_setjmp.S: Likewise. + * sysdeps/i386/bsd-setjmp.S: Likewise. + +2000-06-29 Jakub Jelinek + + * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and + versioned_symbol. + * sysdeps/sparc/fpu/fesetenv.c: Likewise. + * sysdeps/sparc/fpu/feupdateenv.c: Likewise. + * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise. + * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise. + * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise. + * sysdeps/sparc/fpu/fegetenv.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file. + * shlib-versions: Make sparc64 GLIBC_2.2+ only. + +2000-06-29 Ulrich Drepper + + * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which + we later need to calling free(). + Patch by Matt Wilson . + + * stdio-common/tst-printf.c: Add test for above problem. + +2000-06-27 David Mosberger-Tang + + * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file. + * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file. + +2000-06-28 Jes Sorensen + + * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get + prototype for abs(). + * sysdeps/ieee754/flt-32/s_exp2f.c: Likewise. + +2000-06-23 Andreas Jaeger + + * config.h.in: Don't use regparm with bounded pointers. + +2000-06-29 Ulrich Drepper + + * stdlib/grouping.h: Correctly handle multibyte thousands + separator and decimal point. + * stdlib/stdtod.c: Likewise. + * sysdeps/generic/strtol.c: Likewise. + + * locale/categories.def: Add entries for wide character decimal point + and thousands separator in numeric and monetary category. + +2000-06-28 Ulrich Drepper + + * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary + second definition and initialization of decimal. + +2000-06-28 Greg McGary + + * libio/libio.h (struct _IO_cookie_file): Move struct type defintion + out. + (_IO_FILE): Declare chain as (struct _IO_FILE_plus *). + * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion + in. + (_IO_JUMPS): Don't cast THIS--expect arg to be a + (struct _IO_FILE_plus *). + (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to + THIS, since _IO_JUMPS no longer does it implicitly. + (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare + arg type as (struct _IO_FILE_plus *). + (_IO_str_init_static, _IO_str_init_readonly): Declare 1st + arg as (_IO_strfile *). + * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly): + Declare 1st arg as (_IO_strfile *). + * libio/fileops.c (_IO_new_file_init): Declare + arg type as (struct _IO_FILE_plus *). + * libio/oldfileops.c (_IO_old_file_init): Likewise. + * libio/genops.c (_IO_link_in, _IO_un_link): Likewise. + (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write): + Declare iteration pointer as (struct _IO_FILE_plus *). + (_IO_iter_next, _IO_iter_file): _IO_ITER is now + (struct _IO_FILE_plus *). + * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *). + * libio/oldstdfiles.c (_IO_list_all): Likewise. + (_IO_check_libio): Set user-visible handles to + (struct _IO_FILE_plus *). + * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles + to (struct _IO_FILE_plus *). + + * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer + whose high bound includes vtable to all functions that will use + vtable. For streambufs, pass pointer whose bounds include struct + _IO_strfile. * libio/wgenops.c (_IO_wdefault_finish): Likewise. + * libio/oldiofdopen.c (_IO_old_fdopen): Likewise. + * libio/iofopen.c (_IO_new_fopen): Likewise. + * libio/oldiofopen.c (_IO_old_fopen): Likewise. + * libio/iofopen64.c (_IO_fopen64): Likewise. + * libio/iopopen.c (_IO_new_popen): Likewise. + * libio/oldiopopen.c (_IO_old_popen): Likewise. + * libio/memstream.c (open_memstream): Likewise. + * libio/iovsscanf.c (_IO_vsscanf): Likewise. + * libio/iovsprintf.c (_IO_vsprintf): Likewise. + * libio/iovdprintf.c (_IO_vdprintf): Likewise. + * libio/iofopncook.c (_IO_cookie_init): Likewise. + * libio/obprintf.c (_IO_obstack_vprintf): Likewise. + * libio/vasprintf.c (_IO_vasprintf): Likewise. + * libio/vsnprintf.c (_IO_vsnprintf): Likewise. + * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise. + * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise. + * stdlib/strfmon.c (__strfmon_l): Likewise. + * stdio-common/vfprintf.c (buffered_vfprintf): Likewise. + (vfprintf): Qualify computed-goto targets as unbounded. -2001-08-10 Andreas Jaeger +2000-06-28 Ulrich Drepper - * stdio-common/stdio_ext.h: Fix typo. + * stdio-common/vfscanf.c: Finally handle multibyte decimal point and + thousands separator correctly. -2001-08-09 Ulrich Drepper + * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF. + * stdio-common/vfwscanf.c: Likewise. - * posix/fnmatch_loop.c: Fix computation of alignment. +2000-06-27 Jes Sorensen -2001-08-09 Isamu Hasegawa + * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument + count into signatures for most calls. - * posix/regex.c (wcs_regex_compile): Use appropriate string - to compare with collating element. - Fix the padding for the alignment. +2000-06-28 Ulrich Drepper -2001-08-09 Isamu Hasegawa + * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use + the generic parser now. - * locale/programs/ld-collate.c (collate_output): Exclude - characters from elem_table. - Reduce if clause to write collating elements correctly. - * posix/Makefile (tests): Add bug-regex5. - * posix/bug-regex5.c: New file. +2000-06-28 Jes Sorensen -2001-08-09 Ulrich Drepper + * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash + table entries are 32 bit on the ia64 (as specified by the ABI), + not 64 bit as on the Alpha. - * locale/lc-time.c (_nl_parse_alt_digit): New function. - * locale/localeinfo.h: Add prototype for it. - * time/strptime.c (get_alt_number): Use _nl_parse_alt_digit to get - the value. Correct computation of hour for %OI. If no %EC given - but %Ey use numeric formular. + * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark + change of objects to use 32 bit hash table indices (see above). - * dlfcn/Makefile (tststatic-ENV): Also add $(common-objpfx)elf for - ld.so. +2000-06-28 Jes Sorensen - * time/tst-strptime.c: Add tests in different locales. - * time/Makefile (tst-strptime-ENV): Define. + * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get + prototype for abs(). -2001-08-09 Jakub Jelinek +2000-06-28 Wolfram Gloger - * catgets/catgets.c (catclose): Be liberal about catalog_desc in - catclose too. + * malloc/malloc.c (chunk_alloc): If extension of the linear heap + fails, try mmap_chunk() as a last resort even though n_mmaps_max + may have been reached. -2001-08-09 Ulrich Drepper +2000-06-28 Ulrich Drepper - * time/strptime.c (strptime_internal): Add handling of year + - %U/%W week + week day. - * time/tst-strptime.c: Add test case for %U and %W handling. + * locale/programs/ld-collate.c (insert_weights): Handle + symbols in multi-character weights correctly. - * stdio-common/vfscanf.c: Fix reading of wide chars and strings if - not COMPILE_WSCANF. + * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls + depending on whether the input string is empty or not. - * libio/vswprintf.c (_IO_vswprintf): Fix return value handling - which is different from snprintf. - * libio/tst_swprintf.c: Add tests for too small output buffer. + * wcsmbs/mbrtowc.c: Calling function without input means clearing the + given state and not avoiding this by modifying a local object. + * wcsmbs/wcrtomb.c: Likewise. - * stdio-common/vfscanf.c: Fix handling of %[] for COMPILE_WSCANF. - * libio/Makefile (tests): Add tst-swscanf. - * libio/tst-swscanf.c: New file. + * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state + object since some incomplete characters might be in there. + + * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid + sequences with first byte 0x8e correctly. + + * iconvdata/jis0208.h: Remove redundant test. + +2000-06-27 Ulrich Drepper + + * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon. + Add it where it is needed now. + + * locale/programs/ld-ctype.c (ctype_finish): Take all characters from + the input charset into account when generating the hash table. + (allocate_arrays): Correct setting default width. Not all empty slots + in the table are filled, only those not covert explicitly by the + locale description and in the charset. + + * wctype/towctrans.c (__towctrans): Be graceful and accept error + return values from the wctrans function. + + * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for + wide character version. + For %C handling, test correct pointer variable for NULL. + + * wcsmbs/wctob.c: Handle WEOF special. + + * wcsmbs/wcwidth.h: 0xff in width array means invalid character. + + * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid + always-true test to avoid warning. + +2000-06-27 Greg McGary + + * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM (). + * include/libc-symbols.h (weak_extern): Add extra level of expansion. + (symbol_version, default_symbol_version): Factor redundant + definitions out of conditional. + +2000-06-27 Jakub Jelinek + + * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room, + not obstack_blank. + +2000-06-26 Ulrich Drepper + + * include/libc-symbols.h (symbol_version): Add extra level of + macro expansion. + (default_symbol_version): Likewise. + +2000-06-26 Greg McGary + + * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space + for BP return value & push implicit struct-return pointer to + __errno_location. + * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. + (SYSCALL_ERROR_HANDLER): Likewise. + * sysdeps/unix/sysv/linux/i386/i686/sysdep.h + (SYSCALL_ERROR_HANDLER): Likewise. + + * Makeconfig: Add missing comment. + * csu/Makefile (extra-objs, omit-deps, install-lib): Add + BP-flavored startup object. + ($(objpfx)b$(start-installed-name)): New rule. + * include/libc-symbols.h (symbol_set_declare): Change type + of `__start_##set' and `__stop_##set' to pointer-to-function. + (symbol_set_declare): Change type of `set' to array of + pointer-to-function. + * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to + pointer-to-function. + + * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__. + + * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures. + Remove clock_* and timer_* entries. + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace + arg-count with signatures. + + * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM (). + Check bounds of arguments. + * sysdeps/i386/addmul_1.S: Likewise. + * sysdeps/i386/lshift.S: Likewise. + * sysdeps/i386/mul_1.S: Likewise. + * sysdeps/i386/rshift.S: Likewise. + * sysdeps/i386/sub_n.S: Likewise. + * sysdeps/i386/submul_1.S: Likewise. + * sysdeps/i386/i586/add_n.S: Likewise. + * sysdeps/i386/i586/addmul_1.S: Likewise. + * sysdeps/i386/i586/lshift.S: Likewise. + * sysdeps/i386/i586/rshift.S: Likewise. + * sysdeps/i386/i586/sub_n.S: Likewise. + * sysdeps/i386/i686/add_n.S: Likewise. + + * sysdeps/i386/memchr.S: Likewise. + * sysdeps/i386/memcmp.S: Likewise. + * sysdeps/i386/rawmemchr.S: Likewise. + * sysdeps/i386/i586/bzero.S: Likewise. + * sysdeps/i386/i586/memcpy.S: Likewise. + * sysdeps/i386/i586/mempcpy.S: Likewise. + * sysdeps/i386/i586/memset.S: Likewise. + * sysdeps/i386/i686/bzero.S: Likewise. + * sysdeps/i386/i686/memcpy.S: Likewise. + * sysdeps/i386/i686/mempcpy.S: Likewise. + * sysdeps/i386/i686/memset.S: Likewise. + + * sysdeps/i386/stpcpy.S: Likewise. + * sysdeps/i386/stpncpy.S: Likewise. + * sysdeps/i386/strchr.S: Likewise. + * sysdeps/i386/strchrnul.S: Likewise. + * sysdeps/i386/strcspn.S: Likewise. + * sysdeps/i386/strpbrk.S: Likewise. + * sysdeps/i386/strrchr.S: Likewise. + * sysdeps/i386/strspn.S: Likewise. + * sysdeps/i386/strtok.S: Likewise. + * sysdeps/i386/strtok_r.S: Likewise. + * sysdeps/i386/i486/strcat.S: Likewise. + * sysdeps/i386/i486/strlen.S: Likewise. + * sysdeps/i386/i586/strchr.S: Likewise. + * sysdeps/i386/i586/strcpy.S: Likewise. + * sysdeps/i386/i586/strlen.S: Likewise. + * sysdeps/i386/i686/strcmp.S: Likewise. + * sysdeps/i386/i686/strtok.S: Likewise. + * sysdeps/i386/i686/strtok_r.S: Likewise. + + * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM (). + * sysdeps/i386/fpu/fesetenv.c: Likewise. + * sysdeps/i386/fpu/feupdateenv.c: Likewise. + * sysdeps/i386/fpu/fgetexcptflg.c: Likewise. + * sysdeps/i386/fpu/fsetexcptflg.c: Likewise. + + * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx. + * sysdeps/i386/mul_1.S: Likewise. + * sysdeps/i386/submul_1.S: Likewise. + * sysdeps/i386/i586/add_n.S: Likewise. + * sysdeps/i386/i586/addmul_1.S: Likewise. + * sysdeps/i386/i586/lshift.S: Likewise. + * sysdeps/i386/i586/mul_1.S: Likewise. + * sysdeps/i386/i586/rshift.S: Likewise. + * sysdeps/i386/i586/sub_n.S: Likewise. + * sysdeps/i386/i586/submul_1.S: Likewise. + +2000-06-26 Ulrich Drepper + + * rt/Makefile (librt-routines): Add clock_nanosleep. + * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep. + * sysdeps/generic/clock_nanosleep.c: New file. + * sysdeps/unix/clock_nanosleep.c: New file. + * sysdeps/unix/i386/i586/clock_nanosleep.c: New file. + * time/time.h: Declare clock_nanosleep. + +2000-06-26 Greg McGary + + * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX, + INSN1, INSN2, TEXT, GLOBL): Remove macros. + (ALIGN): Cleanup surrounding conditionals. + + * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax. + Call ENTER/LEAVE macros. + * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax. + * sysdeps/i386/submul_1.S: Likewise. + + * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas + syntax. Define & use symbolic argument stack offsets. Call + ENTER/LEAVE macros. + * sysdeps/i386/i586/mul_1.S: Likewise. + * sysdeps/i386/i586/submul_1.S: Likewise. + +2000-06-25 Greg McGary + + * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy, + not as bcopy. + +2000-06-25 Ulrich Drepper + + * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format. + * iconvdata/gen-8bit-gap.sh: Likewise. + * iconvdata/gen-8bit.sh: Likewise. -2001-08-09 Jakub Jelinek + * iconv/gconv_open.c (__gconv_open): Move comment to correct position. + + * locale/programs/ld-collate.c (collate_read): Don't actually read + the copy locale if we are ignoring the content. + + * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for + unknown character. + + * locale/programs/ld-collate.c: Correct handling of different + collation sections. + * locale/programs/localedef.c (add_to_readlist): Take locale pointer + as extra parameter from which to copy category information. + Change all callers. + (load_locale): Likewise. + * locale/programs/localedef.h: Update prototypes of add_to_readlist + and load_locale. + * locale/programs/ld-ctype.c: Update call to add_to_readlist. + * locale/programs/locfile.h: Likewise. + * locale/programs/locfile-kw.gperf: Add entry for script. + * locale/programs/locfile-token.h: Add tok_script. - * posix/globtest.sh: Robustify tilde tests. + * locale/programs/locale.c: Update copyright year. + * locale/programs/localedef.c: Likewise. -2001-08-09 Andreas Jaeger +2000-06-23 Thorsten Kukuk - * locale/programs/ld-ctype.c (DEFAULT): Fix expression. - (EMPTY): New. - (wctype_table_finalize): Use it. - (find_idx): Likewise. - (wctype_table_get): Likewise. + * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from + Jens Moeller . - * configure.in: Add check for GCC 3.x. +2000-06-24 Ulrich Drepper -2001-08-09 Ulrich Drepper + * locale/programs/ld-name.c (name_finish): Add missing format + specifier to test for name_fmt. - * libio/wfileops.c (_IO_wfile_seekoff): Don't even try to handle - seeking with backup buffer present. - Correct determining of internal buffer position. - Reset also wide buffers if we reset the internal buffers. - * libio/iofwide.c (_IO_fwide): Always determine file offset for wide - streams. - * libio/ioseekoff.c: Catch one unimplemented case. - * libio/ftello.c: Don't abort if the wide stream has backup buffer. - * libio/ftello64.c: Likewise. - * libio/iofgetpos.c: Likewise. - * libio/iofgetpos64.c: Likewise. - * libio/ftell.c: Likewise. - * libio/Makefile (tests): Add tst-ungetwc2. - * libio/tst-ungetwc2.c: New file. + * locale/programs/ld-address.c (iso639): Correct length of string + elements. + (iso3166): Likewise. -2001-08-08 Ulrich Drepper + * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define. - * locale/elem-hash.h (elem_hash): Correct stupid mistake and - create real hash values now. - Patch by Isamu Hasegawa . + * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct): + Define. - * libio/iofgetpos.c (_IO_new_fgetpos): Correct a few problems in - the handling of wide streams. + * elf/elf.h (NT_PRFPXREG): Define. - * libio/ioungetwc.c (ungetwc): Orient stream first. - * libio/Makefile (tests): Add tst-ungetwc1. - * libio/tst-ungetwc1.c: New file. +2000-06-23 Ulrich Drepper - * libio/wfileops.c (_IO_wfile_underflow): Remove incorrect test - for possible conversion using __codecvt_do_in. - * libio/Makefile (tests): Add tst-fgetws. - * libio/tst-fgetws.c: New file. + * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define + PTRACE_GETFPXREGS and PTRACE_SETFPXREGS. - * libio/iofgetws.c: Use _IO_ferror_unlocked macros instead of - coding the test here. +2000-06-23 Andreas Schwab - * catgets/open_catalog.c: Rewrite code to assume that the function - is called at catopen time and not delayed in catgets. - * catgets/catgets.c (catopen): Call __open_catalog and fail if that - function failed. - (catgets): Remove code for delayed opening of catalog. - * catgets/catgetsinfo.h: Remove now unnecessary information from - struct catalog_info. Change __open_catalog prototype. - * catgets/gencat.c: Adjust __open_catalog call. - * catgets/test-gencat.c: Stop program if catopen failed. + * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count + with signatures. - * locale/C-monetary.c (_nl_C_LC_MONETARY): Provide correct value - for CRNCYSTR. +2000-06-23 Andreas Jaeger - * locale/programs/ld-messages.c (messages_finish): Provide POSIX - locale compliant default values for fields without definition. - * locale/programs/ld-time.c (time_finish): Likewise. - * locale/programs/ld-monetary.c (monetary_finish): Likewise. + * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion. -2001-08-08 Andreas Jaeger + * io/test-stat.c: Add copyright header, mention Maciej. - * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Fix test for - infinity. + * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root, + SYS_mincore, SYS_madvise): Added. -2001-08-07 Ulrich Drepper + * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of + execve. - * sysdeps/ia64/memusage.h (GETTIME): Define using hp-timing.h - functionality. +2000-06-22 Ulrich Drepper - * sysdeps/ia64/hp-timing.h (HP_TIMING_NOW): Fix comment. + * libio/Makefile (tests): Add tst-getwc and tst_putwc. + (CFLAGS-tst_putwc.c): New definition. + * libio/tst_getwc.c: New file. + * libio/tst_getwc.input: New file. + * libio/tst_putwc.c: New file. -2001-08-07 Jakub Jelinek + * include/string.h: Add prototype for __strdup. - * malloc/memusage.c (initialized): New variable. - (init): If not yet initialized, call me(). - (me): Do all dlsym calls here. - (malloc, realloc, calloc, free): If not yet initialized, - call me(). If in the middle of initializing, return NULL or - do nothing. +2000-06-22 Greg McGary -2001-08-07 Jakub Jelinek + * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures. + * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname): + Fix signatures. - * sysdeps/unix/seekdir.c (seekdir): Set dirp->filepos. +2000-06-23 Jes Sorensen - * dirent/tst-seekdir.c (main): Check whether telldir right after - seekdir returns 2nd argument given to seekdir. + * sysdeps/ia64/memcpy.S: Disable branch predict instruction. -2001-08-07 Franz Sirl +2000-06-22 Jes Sorensen - * dlfcn/Makefile (tststatic-ENV): Add $(common-objpfx) to - LD_LIBRARY_PATH. + * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file. -2001-08-07 Andreas Jaeger - Andreas Schwab - Bruno Haible +2000-06-22 Jes Sorensen - * locale/programs/3level.h (EMPTY): New macro. - (*_get, *_add, *_iterate, *_finalize): Use it instead of ~(uint32_t) 0. + * shlib-versions: Bump so versions to 6.1 for libc and libm on the + ia64 to allow 2.2+ libraries to coexist with 2.1 ones. -2001-08-08 GOTO Masanori +2000-06-22 Ulrich Drepper - * locale/iso-3166.def: Updates from latest official list. + * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM. + * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM, + and __S_TYPEISSHM. + * sysdeps/mach/hurd/bits/stat.h: Likewise. + * sysdeps/unix/bsd/bits/stat.h: Likewise. + * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise. + * sysdeps/unix/sysv/bits/stat.h: Likewise. + * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise. + * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise. + * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise. + * sysdeps/unix/sysv/aix/bits/stat.h: Likewise. + * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and + S_TYPEISSHM. -2001-08-07 Andreas Jaeger +2000-06-22 Andreas Jaeger - * stdlib/tst-strtod.c: Disable HUGE_VAL tests for older GCCs. + * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count + with signatures. - * iconv/gconv_charset.h (upstr): Add unused attribute to avoid warning. + * elf/dl-reloc.c (_dl_relocate_object): Fix typos. - * libio/iopopen.c (_IO_new_proc_open): Fix typos, it's _IO_MTSAFE_IO. - (_IO_new_proc_close): Likewise. - * libio/oldiopopen.c (_IO_old_proc_open): Likewise. - (_IO_old_proc_close): Likewise. + * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry. -2001-08-06 Ulrich Drepper +2000-06-21 Ulrich Drepper - * manual/locale.texi: Add documentation for rpmatch. - Patch by Jochen Hein . + * iconv/gconv_trans.c: Move initialization of winbuf and winbufend + ahead. -2001-08-06 Jakub Jelinek +2000-06-21 Greg McGary - * stdlib/strtod.c (STRTOF): Skip whole infinity, not just inf. - * stdio-common/vfscanf.c (__vfscanf): +- can be followed by i in +-Inf. + * Makerules (elide-routines.*, elide-bp-thunks): + Define unconditionally. - * stdlib/tst-strtod.c (tests): Add Inf tests. - * stdio-common/tstscanf.c (main): Add tests for +- before Inf. +2000-06-21 Jes Sorensen -2001-08-06 Ulrich Drepper + * sysdeps/unix/sysv/linux/ia64/Makefile: New file. - * locale/weightwc.h (findidx): Change type of i to int32_t. +2000-06-21 Andreas Jaeger - * wcsmbs/wcsmbs-tst1.c (main): Avoid warning. Pretty printing. + * io/Makefile (tests): Add test-stat. + (CFLAGS-test-stat.c): New. -2001-08-05 Roland McGrath + * io/test-stat.c: New file from Maciej W. Rozycki + . - * sysdeps/unix/bsd/bsd4.4/bits/dirent.h (struct dirent): Rename member - d_fileno to d_ino. - (struct dirent64): Likewise. - (d_fileno): Define as macro. +2000-06-21 Jes Sorensen -2001-08-04 Roland McGrath + * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements + in __rlimit_resource to make them match the kernel order. + rlim_t is always 64 bit, use __rlim64_t to declare it + unconditionally. - * sysdeps/mach/hurd/getrusage.c: Use TASK_EVENTS_INFO if implemented - by the microkernel (which it's not). +2000-05-04 Jes Sorensen -2001-08-04 Ulrich Drepper + * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef + RLIM_INFINITY before defining it to avoid clash with kernel header - * libio/fileops.c (_IO_new_file_underflow): Don't call - _IO_flush_all_linebuffered. This isn't required in any standard. - Instead flush only stdout. - * libio/wfileops.c (_IO_wfile_underflow): Likewise. +2000-05-03 Jes Sorensen -2001-08-04 Franz Sirl + * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file. - * dlfcn/Makefile: Add rules for new testcase tststatic. - * dlfcn/tststatic.c: New file. - * dlfcn/modstatic.c: New file. +2000-06-21 Ulrich Drepper -2001-08-04 Ulrich Drepper + * sysdeps/unix/sysv/linux/ia64/Versions: New file. - * manual/summary.awk: Fix value used for FF. +2000-06-21 Andreas Jaeger - * elf/rtld.c: Correct use of __builtin_expect. + * stdio-common/temptest.c: Include . + * stdio-common/tst-fileno.c: Likewise. + * stdio-common/scanf4.c: Likewise. + * stdio-common/scanf5.c: Likewise. + * time/clocktest.c: Likewise. + * posix/test-vfork.c: Likewise. + * posix/globtest.c: Likewise. + * io/test-utime.c: Likewise. + * wctype/test_wcfuncs.c: Likewise. + * crypt/cert.c: Likewise. - * elf/dl-close.c: Remove commented-out code. + * stdio-common/tst-printfsz.c: Include . + * libio/tst_swscanf.c: Likewise. + * libio/tst_wscanf.c: Likewise. + * posix/runtests.c: Likewise. + * posix/tst-getaddrinfo.c: Likewise. + * posix/wordexp-test.c: Likewise. + * misc/tst-efgcvt.c: Likewise. - * libio/genops.c (_IO_unbuffer_write): Force streams in narrow - orientation so that conversion modules aren't used anymore. - * malloc/set-freeres.c: Call _IO_cleanup before running subfreeres - functions to avoid using wide streams afterwards. + * stdlib/tst-xpg-basename.c: Include and . + * nss/test-netdb.c: Likewise. - * iconvdata/Makefile: Add rules to build GEORGIAN-PS and - GEORGIAN-ACADEMY. - * iconvdata/georgian-ps.c: New file. - * iconvdata/georgian-academy.c: New file. - * iconvdata/gconv-modules: Add entries for GEORGIAN-PS and - GEORGIAN-ACADEMY. - * iconvdata/tst-tables.sh: Add GEORGIAN-PS and GEORGIAN-ACADEMY. + * sysdeps/unix/sysv/linux/configure.in: Add check for minimal + supported kernel for MIPS. -2001-08-03 Ulrich Drepper + * elf/vismod2.c: Include for abort prototype. + * rt/aio_suspend.c: Likewise. - * locale/programs/ld-collate (insert_value): If symbol in order - definition does not exist create it as a sequence without - associated multibyte and wide representation. +2000-06-20 Ulrich Drepper -2001-07-30 Roland McGrath + * math/libm-test.inc: Include . - * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start): Diddle - syntax so both function and pointer-to-function arguments work right. +2000-06-20 Jes Sorensen -2001-08-03 Tom Rix + * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file. - * config.h.in: Add HAVE_XCOFF for AIX. - * configure.in: Add --with-xcoff option. - * include/libc-symbols.h: Disable the .stabs macros. +2000-06-20 Jes Sorensen -2001-08-03 Ulrich Drepper + * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file. + * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file. - * iconvdata/8bit-gap.c: Correctly use __builtin_expect. +2000-06-20 David Mosberger-Tang + + * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file. + +2000-06-20 Jes Sorensen + + * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo. + +2000-06-20 Ulrich Drepper + + * locale/programs/ld-collate.c (insert_value): Now take string and + length instead of struct token* parameter. Adjust use of token. + (handle_ellipsis): Likewise. + (collate_read): Allow names and transform them into names + to be passed to insert_value and handle_ellipsis. + + * locale/programs/ld-ctype.c (uninames): New array with names of + digits in format. + (ctype_finish): Correct search for space character value. Likewise + for default outdigits values. + +2000-06-20 Greg McGary + + * Makerules (objects): Add BP thunks. + +2000-06-20 Ulrich Drepper + + * locale/programs/charmap.c (parse_charmap): Handle UCS names also + in width definitions. + +2000-06-20 Andreas Jaeger + + * sysdeps/mips/fpu/libm-test-ulps: New file. + + * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline + first. + + * sysdeps/mips/fpu/feholdexcpt.c: New file. + + * sysdeps/mips/fpu/fraiseexcpt.c: New file. + +2000-06-19 Ulrich Drepper + + * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for + change in gconv_builtin.h. + + * malloc/Makefile: Change all references to memprof into memusage. + * malloc/memprof.c: Rename to... + * malloc/memusage.c: ...this. New file. + * malloc/memprof.sh: Rename to... + * malloc/memusage.sh: ...this. New file. + * malloc/memprofstat.c: Rename to... + * malloc/memusagestat.c: ...this. New file. + * sysdeps/alpha/memprof.h: Rename to.. + * sysdeps/alpha/memusage.h: ...this. New file. + * sysdeps/arm/memprof.h: Rename to.. + * sysdeps/arm/memusage.h: ...this. New file. + * sysdeps/generic/memprof.h: Rename to.. + * sysdeps/generic/memusage.h: ...this. New file. + * sysdeps/i386/memprof.h: Rename to.. + * sysdeps/i386/memusage.h: ...this. New file. + * sysdeps/ia64/memprof.h: Rename to.. + * sysdeps/ia64/memusage.h: ...this. New file. + * sysdeps/m68k/memprof.h: Rename to.. + * sysdeps/m68k/memusage.h: ...this. New file. + * sysdeps/mips/memprof.h: Rename to.. + * sysdeps/mips/memusage.h: ...this. New file. + * sysdeps/powerpc/memprof.h: Rename to.. + * sysdeps/powerpc/memusage.h: ...this. New file. + * sysdeps/sparc/memprof.h: Rename to.. + * sysdeps/sparc/memusage.h: ...this. New file. + * sysdeps/sh/memprof.h: Rename to.. + * sysdeps/sh/memusage.h: ...this. New file. + + * elf/sprof.c (print_version): Update year. + + * elf/sprof.c (load_shobj): Don't always add load address to dynamic + table entry values. Use D_PTR. + * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird + binaries without PLT. Patches by James Mathiesen . + +2000-06-20 Jes Sorensen + + * sysdeps/unix/sysv/linux/ia64/Makefile: New file. + * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file. + * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file. + * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file. + +2000-05-05 Jes Sorensen + + * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file. + +2000-06-16 Jes Sorensen + + * sysdeps/unix/sysv/linux/ia64/xstat.c: New file. + * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file. + * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file. + + * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted. + + * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest + kernel change. + + * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t, + __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data + structure. + Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel + implementation. + +2000-06-15 Jes Sorensen + + * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted. + +2000-06-08 Jes Sorensen + + * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file. + +2000-06-19 Ulrich Drepper + + * iconv/gconv_int.h (strict gconv_module): Remove all members + associated with regular expressions. Use a simple string as the + from name. + * iconv/gconv_db.c: Remove code handling regular expressions. + * iconv/gconv_conf.c: Likewise. + * iconv/iconv_prog.c: Likewise. + * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c. + + * iconv/gconv.h (__gconv_trans_fct): Add new parameter. + General namespace cleanup. + (struct __gconv_trans_data): Add next field. + (struct __gconv_step_data): Make __trans a pointer. + * iconv/gconv_conf.c: Split out code to find gconv directories from + __gconv_read_conf in new functions. + * iconv/gconv_int.h: Define new data structure and declare new + functions for handling of gconv directory list. + * iconv/gconv_open.c: Allow more than one error handling step being + used. Call function to load error handling module if it is none + of the builtin transformations. + * iconv/gconv_close.c: Add code to free transliteration data. + * iconv/gconv_trans.c: Add functions to load and unload modules + implementing transliteration etc. + * iconv/skeleton.c: Call all context functions now that more than + one module is allowed. + * iconv/loop.c (STANDARD_ERR_HANDLING): New macro. + * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places + where the full error handling using transliteration is needed. + * iconvdata/8bit-gap.c: Likewise. + * iconvdata/8bit-generic.c: Likewise. * iconvdata/ansi_x3.110.c: Likewise. * iconvdata/big5.c: Likewise. + * iconvdata/big5hkscs.c: Likewise. * iconvdata/euc-cn.c: Likewise. * iconvdata/euc-jp.c: Likewise. * iconvdata/euc-kr.c: Likewise. - * iconvdata/gb18030.c: Likewise. - * iconvdata/gbbig5.c: Likewise. + * iconvdata/euc-tw.c: Likewise. * iconvdata/gbgbk.c: Likewise. * iconvdata/gbk.c: Likewise. - * iconvdata/ibm930.c: Likewise. - * iconvdata/ibm932.c: Likewise. - * iconvdata/ibm933.c: Likewise. - * iconvdata/ibm935.c: Likewise. - * iconvdata/ibm939.c: Likewise. - * iconvdata/ibm943.c: Likewise. * iconvdata/iso-2022-cn.c: Likewise. + * iconvdata/iso-2022-jp.c: Likewise. * iconvdata/iso-2022-kr.c: Likewise. * iconvdata/iso646.c: Likewise. * iconvdata/iso8859-1.c: Likewise. @@ -467,3415 +8178,91 @@ * iconvdata/uhc.c: Likewise. * iconvdata/unicode.c: Likewise. * iconvdata/utf-16.c: Likewise. - * iconv/gconv_simple.c: Likewise. Convert assert() in real error - handling. - - * iconvdata/Makefile: Add rules to build KOI8-T module. - * iconvdata/koi8-t.c: New file. - * iconvdata/gconv-modules: Add entries for KOI8-T. - * iconvdata/tst-tables.sh: Add KOI8-T. - - * locale/iso-639.def: Correct Javanese 2 letter code. Add Tonga. - Add Tigrinya. - -2001-08-02 Ulrich Drepper - - * locale/programs/ld-collate.c (collate_read): Handle collating-element - and reorder_after following copy statement correctly. - -2001-08-02 Andreas Jaeger - - * libio/bits/stdio.h (printf): Remove printf optimization since - GCC 3.0 can optimize printf. - -2001-08-02 Ulrich Weigand - - * sysdeps/s390/s390-32/memcpy.S: Fixed incorrect use of - mvcle introduced by 2001-07-12 change. - * sysdeps/s390/s390-64/memcpy.S: Likewise. - -2001-07-31 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/getcontext.S: Don't touch the %gs - register so that contexts can be used in different threads. - * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise. - * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise. - - * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Correct - test for cmsg struct size. - * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Likewise. - - * sysdeps/unix/sysv/linux/i386/makecontext.S: Remove unnecessary - initializations. - - * libio/iopopen.c: Add lock for proc_file_chain access. - * libio/oldiopopen.c: Add lock for old_proc_file_chain access. - Reported by Padraig Brady . - -2001-07-31 Andreas Jaeger - - * sysdeps/unix/sysv/linux/sparc/bits/poll.h (NPOLLFILE): Removed. - * sysdeps/unix/sysv/linux/mips/bits/poll.h (NPOLLFILE): Removed. - * sysdeps/unix/sysv/linux/m68k/bits/poll.h (NPOLLFILE): Removed. - * sysdeps/unix/sysv/linux/bits/poll.h (NPOLLFILE): Removed. - * sysdeps/generic/bits/poll.h (NPOLLFILE): Removed. - - * libio/genops.c (flush_cleanup): Guard list_all_lock to allow - compilation without threads. - -2001-07-30 Ulrich Drepper - - * po/fr.po: Update from translation team. - -2001-07-30 Andreas Jaeger - - * sysdeps/ieee754/ldbl-128/e_atanhl.c: New file, contributed by - Stephen L Moshier. - - * posix/regex.c: Declare wcs functions only if compiling with - MBS_SUPPORT. - Don't use #elif for traditional C. - -2001-07-29 Mark Kettenis - - * sysdeps/mach/hurd/recvmsg.c: New file. - * sysdeps/mach/hurd/sendmsg.c: New file. - -2001-07-27 Ulrich Drepper - - * version.h (VERSION): Bump to 2.2.4. - - * sysdeps/mips/Dist: Remove non-existing files. - * sysdeps/mips/mips64/Dist: Likewise. - * sysdeps/mips/mipsel/Dist: Removed. - * iconv/Makefile (distribute): Add strtab.c and iconvconfig.h. - * sysdeps/generic/Dist: Add bits/link.h. - * sysdeps/unix/sysv/linux/m68k/Dist: Add sys/procfs.h. - * sysdeps/unix/sysv/aix/Dist: Add dl-support.c, dl-addr.c, and - dl-error.c. - * sysdeps/ia64/Dist: Add bits/link.h. - - * libio/vasprintf.c (_IO_vasprintf): Don't copy uninitialized byte - from stream buffer to result buffer. - Reported by Michael Meeks . - - * libio/Makefile: Add rules to check output of tst-fopenloc and - for memory leaks. - * libio/tst-fopenloc.c: New file. - - * iconv/gconv_cache.c (__gconv_compare_alias_cache): New function. - * iconv/gconv_int.h: Add prototype for __gconv_compare_alias_cache. - * iconv/gconv_charset.h: Replace __gconv_lookup_alias prototype with - __gconv_compare_alias prototype. - * iconv/gconv_db.c (__gconv_lookup_alias): Removed. - (__gconv_compare_alias): New function. - * locale/findlocale.c (_nl_find_locale): Use __gconv_compare_alias - instead of calling __gconv_lookup_alias twice and compare here. - -2001-07-26 Mark Kettenis - - * hurd/hurdsig.c (_hurd_internal_post_signal): Fix handling of - SA_RESETHAND and SA_NODEFER. - -2001-07-27 Ulrich Drepper - - * libio/fileops.c (_IO_new_file_fopen): Correctly locate ccs= - substring. Don't handle ccs= if no descriptor was allocated. - Normalize codeset name before calling __wcsmbs_named_conv. - Initialize transliteration elements. Free step data structure. - * libio/iofclose.c (_IO_new_fclose): Correct freeing of the step data. - * libio/iofwide.c (__libio_translit): Renamed from libio_translit - and made public. Various little cleanup changes. - * wcsmbs/wcsmbsload.h (struct gconv_fcts): Add towc_nsteps and - tomb_nsteps member. - * wcsmbs/wcsmbsload.c: Add some casts to avoid warnings. - (__wcsmbs_gconv_fcts): Initialize towc_nsteps and tomb_nsteps member. - (getfct): Take additional parameter with pointer to variable where the - number of steps is stored in. Disable code which allows to use more - than one step for now. Adjust all callers. - (free_mem): New function. Frees data associated with currently - selected converters. - - * malloc/mtrace.pl: Extract addresses from DSOs. - -2001-07-26 Ulrich Drepper - - * malloc/mcheck.c (checkhdr): Disable mcheck before reporting an - error. Don't run any tests if mcheck is disabled. - - * elf/dl-support.c (_dl_important_hwcaps): Avoid using malloc - early in the program. - -2001-07-27 Andreas Jaeger - - * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h (SC_GPRS): Fix - value following change from 2001-05-30. - - * sysdeps/s390/s390-64/bits/setjmp.h (_JMPBUF_UNWINDS): Follow - rename change from 2001-07-12 for __jmp_buf. - Patches by Ulrich Weigand . - -2001-07-26 Roland McGrath - - * sysdeps/generic/bits/termios.h (EXTA, EXTB): Make these conditional - on __USE_MISC rather than __USE_BSD. - (B57600, B115200, B230400, B460800, B500000, B576000, B921600, - B1000000, B1152000, B1500000, B2000000, B2500000, B3000000, - B3500000, B4000000): New macros. - * sysdeps/generic/tcsetattr.c (bad_speed): Accept those values. - * termios/cfsetspeed.c (speeds): Likewise. - -2001-07-26 kaz Kojima - - * sysdeps/sh/dl-machine.h (elf_machine_load_address): Don't use - multi-line strings. - (FUN_ADDR, FGR_SAVE, ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise. - (elf_machine_rela): Handle unaligned relocation. - -2001-06-07 David Mosberger - - * sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Update call to - __ia64_make_fptr() for new interface. - (_dl_function_address): Remove. - - * sysdeps/ia64/dl-machine.h (IA64_BOOT_FPTR_TABLE_LEN): Rename - from IA64_BOOT_FPTR_SIZE and reduce its value from 256 to 200. - (struct ia64_fdesc): Rename from struct ia64_fptr and drop "next" - pointer. Rename member "func" to "ip". - (struct ia64_fdesc_table): New type. - (__ia64_make_fptr): Change prototype. - (__ia64_init_bootstrap_fdesc_table): New function. - (ELF_MACHINE_BEFORE_RTLD_RELOC): New macro. - (__boot_ldso_fptr): Removed. - (__fptr_next): Removed. - (__fptr_root): Removed. - (__fptr_count): Removed. - (TRAMPOLINE_TEMPLATE): Fix typo in comment. Don't use multi-line - strings to avoid warning from gcc3. - (RTLD_START): Don't use multi-line strings. - (ELF_MACHINE_START_ADDRESS): Use DL_STATIC_FUNCTION_ADDRESS. - (elf_machine_fixup_plt): Update the code entry point in the - function descriptor through a "volatile" pointer to ensure proper - write ordering. - (elf_machine_rela): Simplify handling of FPTR relocs: always call - __ia64_make_fptr(). - - * sysdeps/ia64/dl-lookupcfg.h (DL_AUTO_FUNCTION_ADDRESS): New macro. - (DL_STATIC_FUNCTION_ADDRESS): Likewise. - (DL_DT_INIT_ADDRESS): Use DL_AUTO_FUNCTION_ADDRESS. - (DL_DT_FINI_ADDRESS): Likewise. - - * sysdeps/ia64/dl-fptr.c: Rewrite for better scalability and to - avoid deadlocks. - - * include/link.h: Add member machine specific "l_mach" member to - link_map. - - * sysdeps/generic/bits/link.h: New file. - * sysdeps/ia64/bits/link.h: Likewise. - - * elf/rtld.c (_dl_start): Fix typo in comment. - (_dl_start_final): Copy new "l_mach" member from temporary to - final bootstrap map. - -2001-07-25 Ulrich Drepper - - * csu/gmon-start.c: Use ENTRY_POINT_DECL if defined instead of a - declaration using ENTRY_POINT. - * sysdeps/ia64/elf/entry.h (ENTRY_POINT_DECL): New definition. - -2001-07-25 H.J. Lu - - * csu/gmon-start.c: Include - (_start): Replaced with ENTRY_POINT. - -2001-07-25 Mark Kettenis - - * sysdeps/unix/bsd/bsd4.4/bits/socket.h: New file. - -2001-07-25 Ulrich Drepper - - * iconv/iconvconfig.c (main): Don't write an output file if we - have seen an error. - (write_output): Don't overwrite old cache file until we know we - have a new one. - - * iconv/Makefile (install-sbin): Add iconvconfig. - -2001-07-25 Jakub Jelinek - - * elf/Makefile (routines): Add dl-iteratephdr and - dl-iteratephdr-static. - (elide-routines.os): Add dl-iteratephdr-static. - * elf/dl-iteratephdr.c: New file. - * elf/link.h (struct dl_phdr_info): New definition. - (dl_iterate_phdr): New prototype. - * elf/Versions (dl_iterate_phdr): Add at GLIBC_2.2.4. - * include/link.h (struct dl_phdr_info): New definition. - (dl_iterate_phdr, __dl_iterate_phdr): New prototypes. - * sysdeps/generic/dl-iteratephdr-static.c: New file. - * sysdeps/unix/sysv/linux/ia64/dl-iteratephdr-static.c: New file. - -2001-07-24 Igor Khavkine - - * hurd/hurdsig.c (_hurdsig_init): Fix incorrect initialization - of pending signals. - -2001-06-22 Jakub Jelinek - - * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer - gaps below main executable. - -2001-07-22 Bruno Haible - - * intl/libintl.h (ngettext, dngettext, dcngettext): Use both msgid1 - and msgid2 for printf format argument checking. - -2001-07-24 Ulrich Drepper - - * iconv/gconv_cache.c (find_module): Don't allocate room for the - filename. Use alloca, we don't need it beyond this function. - (__gconv_release_cache): New function. - * iconv/gconv_db.c (__gconv_close_transform): Call - __gconv_release_cache after the steps are handled. - * iconv/gconv_dl.c (__gconv_find_shlib): Allocate file name in the - record as well. - * iconv/gconv_int.h: Add prototype for __gconv_release_cache. - - * iconv/gconv_cache.c (__gconv_lookup_cache): Catch one more - boundary case and reject it. - -2001-07-24 Andreas Jaeger - - * manual/examples/longopt.c (main): Fix which options take arguments. - -2001-07-24 Ulrich Drepper - - * iconvdata/Makefile: Add dependencies for tst-loading test. - -2001-07-24 Andreas Jaeger - - * iconv/iconvconfig.c (name_insert): Make static to avoid warning. - -2001-07-23 Ulrich Drepper - - * locale/programs/locale.c (write_locales): Disable implicit - locking for the stream. Use feof_unlocked instead of feof. - - * sysdeps/unix/sysv/linux/i386/makecontext.S: Initialize %fs, %gs, - and floating-point status as well. - - * libio/iofclose.c (_IO_new_fclose): Unlink descriptor first to - avoid deadlock. - * libio/oldiofclose.c (_IO_old_fclose): Likewise. - * libio/genops.c (_IO_un_link): Get stream lock since it's not - always done in the caller. - (_IO_link_in): Likewise. - - * libio/genops.c (_IO_list_all_stamp): New variable. - (_IO_un_link): Bump _IO_list_all_stamp after removing from list. - (_IO_link): Likewise for insertion. - (flush_cleanup): New function. - (_IO_flush_all): Get list_all_lock and all individual locks for the - streams. Detect and handle changes to the _IO_list_all list. - (_IO_flush_all_linebuffered): Likewise. - * sysdeps/generic/bits/stdio-lock.h: Define - _IO_cleanup_region_start_noarg. - * sysdeps/mach/hurd/bits/stdio-lock.c: Likewise. - - * stdio-common/printf.h: Fix typo in comment. - - * iconv/gconv_cache.c (__gconv_lookup_cache): Handle encoding from - and to INTERNAL. - * iconv/iconvconfig.c: Create a special record for the INTERNAL - encoding name in the output file. - -2001-07-23 Jakub Jelinek - - * sunrpc/svc_tcp.c (svctcp_rendezvous_abort): New function. - (svctcp_rendezvous_op): Use it. - * sunrpc/svc_unix.c (svcunix_rendezvous_abort): New function. - (svcunix_rendezvous_op): Use it. - -2001-07-23 Andreas Schwab - - * math/Makefile (CPPFLAGS-test-ifloat.c, CPPFLAGS-test-idouble.c, - CPPFLAGS-test-ildoubl.c): Renamed from CFLAGS-*. - (math-CPPFLAGS): Set this instead of CPPFLAGS. - -2001-07-23 Ulrich Drepper - - * elf/elf.h: Add more definitions from Sun's latest version. - -2001-07-23 Stephen L Moshier - - * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Return proper - sign for 0 input and set divide by zero exception for -1 input. - Return argument if NaN or infinity. - -2001-07-23 Andreas Jaeger - - * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add some deltas. - -2001-07-23 Ulrich Drepper - - * iconv/gconv_cache.c (__gconv_lookup_cache): Select correct - module for conversion direction. - -2001-07-23 Stephen L Moshier - - * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Return proper - sign for 0 input. Return NaN with no exception for NaN input. - -2001-07-23 Ulrich Drepper - - * iconv/gconv_builtin.h: ISO-106464/UTF-8/ transformation must - really be an alias. - -2001-07-23 Andreas Jaeger - - * iconv/iconvconfig.c: Include and use - __attribute_malloc__ for older GCC versions. - * iconv/strtab.c: Likewise. - Add prototypes to avoid warnings. - -2001-07-22 Roland McGrath - - * hurd/hurdsig.c (_hurd_internal_post_signal): Support SA_RESETHAND - and SA_NODEFER options. Spurred to action by Igor Khavkine. - - * sysdeps/generic/bits/sigaction.h [__USE_UNIX98 || __USE_MISC] - (SA_NODEFER, SA_RESETHAND): New macros, same bit values as FreeBSD. - [__USE_MISC] (SA_INTERRUPT): New macro, value 0. - [__USE_MISC] (SA_NOMASK, SA_ONESHOT, SA_STACK): New macros, aliases - as in other sysdeps versions of this file. - - * sysdeps/generic/bits/sigaction.h (struct sigaction): Use a union - and provide sa_handler and sa_sigaction member names as macros, as - done in other sysdeps versions of this file. - Suggested by Igor Khavkine . - -2001-07-23 Ulrich Drepper - - * posix/regex.c: Revamp memory allocation for WCHAR functions to - not use too much stack. - -2001-07-22 Ulrich Drepper - - * iconv/iconvconfig.c (write_output): Update comment explaining - output format. - - * elf/dl-load.c (_dl_dst_count): In SUID binaries expand $ORIGIN - if it is alone. - (_dl_dst_substitute): Likewise. - - * iconv/iconvconfig.c: Remove --verbose option. Comment out - mcheck_verbose call. - - * iconv/strtab.c (morememory): Fix little memory handling problem. - -2001-07-22 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Don't - mark asm input operand as clobbered. - * sysdeps/unix/sysv/linux/m68k/brk.c (__brk): Likewise. - -2001-07-22 Ulrich Drepper - - * iconv/gconv_builtin.c (struct builtin_map): Remove init and end - elements. - (BUILTIN_TRANSFORMATION): Remove Init and End parameters. - (__gconv_get_builtin_trans): Initialize __init_fct and __end_fct to - NULL. - * iconv/gconv_builtin.h: Remove NULL parameters for Init and End in - all BUILTIN_TRANSFORMATION calls. - * iconv/gconv_conf.c (BUILTIN_TRANSFORMATION): Remove Init and End - parameters. - * iconv/gconv_simple.c: Likewise. - * iconv/gconv_db.c (gen_steps): Internal converters don't have - initializers, move the code accordingly. - - * iconv/gconv_conf.c (__gconv_read_conf): Don't read configuration - file if STATIC_GCONV is defined. - - * iconv/gconv_conf.c (__gconv_path_envvar): New global variable. - (__gconv_get_path): Use it instead of call getenv. - (__gconv_read_conf): First see whether cache can be used. If yes, - don't do any work here. - * iconv/gconv_db.c (__gconv_release_step): Renamed from release_step - and exported. Change callers. - (__gconv_find_transform): First call __gconv_lookup_cache and only - continue if it signals no cache available. Remove some unnecessary - tests. - * iconv/gconv_int.h: Declare __gconv_path_envvar, __gconv_lookup_cache, - __gconv_release_step, and __gconv_loaded_cache. - * iconv/gconv_cache.c: New file. - * iconv/iconvconfig.c: New file. - * iconv/iconvconfig.h: New file. - * iconv/strtab.c: New file. - * iconv/Makefile: Add rules to build new files and programs. - -2001-07-20 Roland McGrath - - * sysdeps/generic/device-nrs.h (DEV_TTY_P): Change argument type - from `dev_t' (st_rdev value) `const struct stat *'. - * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Likewise. - * libio/filedoalloc.c (_IO_file_doallocate): Change caller. - * sysdeps/mach/hurd/device-nrs.h: New file. - - * libio/stdio_ext.h: Moved to ... - * stdio-common/stdio_ext.h: ... here. - * libio/Makefile (headers): Move stdio_ext.h from here ... - * stdio-common/Makefile (headers): ... to here. - * include/stdio_ext.h: New file. - * stdio/Makefile (routines): Add the stdio_ext.h functions here. - * stdio/Versions (GLIBC_2.2.4): Export the stdio_ext.h functions. - * stdio/__flbf.c: New file. - * stdio/__fbufsize.c: New file. - * stdio/__fpending.c: New file. - * stdio/__fpurge.c: New file. - * stdio/__freadable.c: New file. - * stdio/__freading.c: New file. - * stdio/__fsetlocking.c: New file. - * stdio/__fwritable.c: New file. - * stdio/__fwriting.c: New file. - -2001-07-20 Ulrich Drepper - Andreas Jaeger - - * elf/ldconfig.c (search_dir): Avoid use of uninitialized memory. - Add a few __builtin_expect to mark unlikely error cases. - -2001-07-20 Andreas Jaeger - - * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Synch with kernel. - Patch by Daniel Jacobowitz . - -2001-07-19 Ulrich Drepper - - * intl/localealias.c: Remove unnecessary prototype. - - * Makefile: Add html goal. - * manual/Makefile: Likewise. - -2001-07-18 Ulrich Drepper - - * libio/filedoalloc.c (_IO_file_doallocate): A few more minor - cleanups and improvements. - -2001-07-18 Andreas Schwab - - * posix/regex.c (WORDCHAR_P) [WCHAR]: Also return true for the - underscore character. - -2001-07-18 Jakub Jelinek - - * malloc/malloc (new_heap): Don't call munmap for zero length. - -2001-07-18 Ulrich Drepper - - * libio/filedoalloc.c (_IO_file_doallocate): Use DEV_TTY_P if - available to determine whether descriptor is for tty before - calling isatty. - - * sysdeps/unix/sysv/linux/device-nrs.h: Define DEV_TTY_P. - * sysdeps/generic/device-nrs.h: Likewise. - -2001-07-18 Andreas Jaeger - - * time/Makefile (tst-getdate-ENV): Add TZDIR to environment. - - * time/Depend: New, add dependency on timezone. - - * time/tst-getdate.c: Add testcase for bug report by Hendrik - Uhlmann . - * time/datemsk: Likewise. - -2001-07-17 Ulrich Drepper - - * elf/ldconfig.c (parse_conf): Disable implicit locking for the - stream. Remove some unnecessary initializers. - -2001-07-17 Andreas Jaeger - - * elf/ldconfig.c: Add new variable hwcap_mask to honour LD_HWCAP_MASK. - (is_hwcap_platform): Use it. - (set_hwcap): New function to set hwcap_mask. - (main): Call set_hwcap. - -2001-07-17 Jakub Jelinek - - * time/getdate.c (__getdate_r): Initialize tm_isdst, tm_gmtoff and - tm_zone before calling strptime. - -2001-07-17 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Fix last change. - -2001-07-17 Ulrich Drepper - - * inet/rcmd.c (iruserfopen): Disable implicit locking for the stream. - * inet/ruserpass.c (ruserpass): Likewise. - * nss/nsswitch.c (nss_parse_file): Likewise. - * resolv/res_hconf.c (_res_hconf_init): Likewise. - * resolv/res_init.c (__res_vinit): Likewise. - * gmon/bb_exit_func.c (__bb_exit_func): Likewise. - * misc/getpass.c (getpass): Likewise. - * misc/getusershell.c (initshells): Likewise. - * misc/getttyent.c (setttyent): Likewise. - * misc/mntent_r.c (__setmntent): Likewise. - * time/getdate.c (__getdate_r): Likewise. - * time/tzfile.c (__tzfile_read): Likewise. - * iconv/gconv_conf.c (read_conf_file): Likewise. - * intl/localealias.c (read_alias_file): Disable implicit locking - for the stream. Use _unlocked functions for glibc. - * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Disable - implicit locking for the stream. - (__get_nprocs_conf): Likewise. - (phys_pages_info): Likewise. - -2001-07-16 Ulrich Drepper - - * nscd/connections.c: Print messages caused by user application - only if debug_level > 0. Add little performance improvements. - Use TEMP_FAILURE_RETRY around write calls. - * nscd/grpcache.c: Likewise. - * nscd/hstcache.c: Likewise. - * nscd/pwdcache.c: Likewise. - -2001-07-13 H.J. Lu - - * sysdeps/mips/dl-machine.h (MAP_BASE_ADDR): Removed. - (elf_machine_got_rel): Defined only if RTLD_BOOTSTRAP is not defined. - (RESOLVE_GOTSYM): Rewrite to use RESOLVE. - - * sysdeps/mips/rtld-ldscript.in: Removed. - * sysdeps/mips/rtld-parms: Likewise. - * sysdeps/mips/mips64/rtld-parms: Likewise. - * sysdeps/mips/mipsel/rtld-parms: Likewise. - -2001-07-16 Ulrich Drepper - - * catgets/test-gencat.sh: Use <<"EOF" instead of < - - * sysdeps/posix/spawni.c: Fix typo when iterating over signal numbers. - -2001-07-16 Andreas Schwab - - * math/libm-test.inc (check_float_internal): Fix sign bit test of - infinities. - -2001-07-16 Jakub Jelinek - - * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Make it PIC friendly. - -2001-07-15 Ulrich Drepper - - * malloc/obstack.c: Define __attribute__ for non-gcc compilers. - Patch by Jim Meyering . - -2001-07-12 Martin Schwidefsky - - * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: Reorder - fields in the sigaction struct to match the definition in the kernel. - -2001-07-12 Martin Schwidefsky - - * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Correct the - test for ENOSYS. - -2001-07-12 Martin Schwidefsky - - * sysdeps/s390/s390-32/bits/setjmp.h: Add leading underscores - to the entries in the __jmp_buf structure. - * sysdeps/s390/s390-64/bits/setjmp.h: Likewise. - -2001-07-12 Martin Schwidefsky - - * sysdeps/s390/s390-32/bcopy.S: Use mvcle for big blocks - (> 64K) and a mvc loop for small blocks. - * sysdeps/s390/s390-32/memcpy.S: Likewise. - * sysdeps/s390/s390-64/bcopy.S: Likewise. - * sysdeps/s390/s390-64/memcpy.S: Likewise. - -2001-07-15 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: New file. - * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: New file. - - * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Check _dl_pagesize - first. Default to 4096, not EXEC_PAGESIZE. - - * iconv/loop.c (put16) [!_STRING_ARCH_unaligned && BIG_ENDIAN]: - Fix index. - -2001-07-09 Andreas Jaeger - - * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Name entry for xmm2. - - * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add HWCAP_I386_XMM, - HWCAP_I386_XMM2 to enum. - -2001-07-13 Andreas Jaeger - - * libio/fileops.c: Include unistd.h for lseek64 prototype. Closes - PR libc/2372. - -2001-07-12 Ulrich Drepper - - * Makeconfig: Add some more changes to handle AIX linker better. - -2001-07-12 H.J. Lu - - * sysdeps/generic/segfault.c: Include . - -2001-07-01 Andreas Jaeger - - * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk): Remove duplicate - sbrk. Closes PR libc/2312. - -2001-07-01 Andreas Jaeger - - * sysdeps/generic/segfault.c (install_handler): Handle case that - the output file does not exists. Closes PR libc/2345. - -2001-07-11 Ulrich Drepper - - * intl/locale.alias: Use he language code for hebrew, not il - [PR libc/2382]. - -2001-07-11 Jakub Jelinek - - * iconv/gconv_int.h: Fix comment typo. - -2001-07-11 Igor Khavkine - - * hurd/hurdsig.c (_hurdsig_init): Remove a useless line of code. - -2001-07-07 Roland McGrath - - * hurd/hurdsig.c (_hurd_thread_sigstate): Use MACH_PORT_NULL, not 0. - -2001-07-10 Stephen L Moshier - - * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Fix - backwards conditional in test for x == 1.0. - -2001-07-10 Andreas Jaeger - - * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add ulps for tanh - (-0.7). - -2001-07-09 Andreas Jaeger - - * sysdeps/unix/sysv/linux/configure.in: Revert patch from - 2001-07-05 for sysconfdir handling. - * config.make.in (sysconfdir): Likewise. - * configure.in: Likewise. - - * configure.in: Always assign libc_cv_sysconfdir. - -2001-07-08 Ulrich Drepper - - * Makerules [AIX] (build-shlib-helper): Precede linker options - with -Wl. - - * Makeconfig (config-LDFLAGS): Add ld.so only for ELF. - - * sysdeps/unix/make_errlist.c: Adjust sys_errlist declaration to - what we define in . - - * iconv/iconv_prog.c (main): Don't unconditionally define - variables only use if _POSIX_MAPPED_FILES is defined. - - * sysdeps/unix/sysv/aix/sendmsg.c (sendmsg): Fix return type. - * sysdeps/unix/sysv/aix/recvmsg.c (recvmsg): Likewise. - - * sysdeps/unix/sysv/aix/recv.c: New file. - - * sysdeps/unix/sysv/aix/recvfrom.c: Fix various types. - -2001-07-07 Ulrich Drepper - - * sysdeps/generic/recv.c: Fix return type. - - * sysdeps/unix/sysv/aix/dl-libc.c (__libc_dlclose): Fix typo. - - * sysdeps/unix/sysv/aix/gettimeofday.c (__gettimeofday): Add - declarations for asm functions. - - * include/libc-symbols.h: Provide more dummy definitions for the - case if GNU ld isn't used. - - * libio/freopen.c: Include for free declaration. - * libio/freopen64.c: Likewise. - - * sysdeps/alpha/fpu/libm-test-ulps: Add deltas for tanh(-0.7). - -2001-07-06 Jakub Jelinek - - * sysdeps/unix/sysv/linux/i386/sigaction.c (RESTORE2): Put asm - explicitly into .text section. - -2001-04-16 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext): - Add 16 longwords reserved for future use to match changes in the - kernel. - -2001-07-03 Jes Sorensen - - * sysdeps/ia64/strncpy.S: Call strnlen() when determining the - string length rather than strlen(). Solves the performance problem - of doing strlen on a 5MB string when strncpy was called with a - length argument of 5 bytes. - -2001-07-02 Jakub Jelinek - - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle - R_SPARC_UA16 and R_SPARC_UA32. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise. - -2001-07-01 Stephen L Moshier - - * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): - acosh(x) = ln(2x) if x > 2^30. - * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): - acosh(x) = ln(2x) if x > 2^54. - -2001-07-07 Mark Kettenis - - * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): - Generate SIGSEGV instead of SIGBUS for KERN_INVALID_ADDRESS and - KERN_WRITE_PROTECTION_FAILURE. - -2001-07-07 Ulrich Drepper - - * posix/regex.c: Limit string length printed in debug messages to - 100 chars. - - * configure.in: Don't warn about versioning if not on ELF system. - -2001-07-07 Andreas Jaeger - - * sysdeps/*: Put files from GNU MP Library under LGPL v2.1. - -2001-07-06 Ulrich Drepper - - * po/gl.po: Update from translation team. - -2001-07-06 Andreas Jaeger - - * sysdeps/unix/sysv/linux/configure.in: Fix handling of - sysconfdir. - - * manual/libc-texinfo.sh: Add note for the FDL. - - * manual/argp.texi (Argp Example 4): Fix texinfo warning. - - * manual/libc.texinfo: Regenerated. - - * manual/fdl.texi: Fix node. - - * config.make.in (sysconfdir): Replace correctly. - Closes PR libc/2369, reported by Peter Simons . - - * sysdeps/unix/sysv/linux/alpha/configure.in: Removed, it's no - longer needed. - - * sysdeps/unix/sysv/linux/configure.in (libc_cv_linuxVER): Add - case for alpha. - Rework handling of missing linuxthreads add-on. - - * configure.in: Remove unused sysconfdir substitution. - - * manual/Makefile (texis): Add fdl.texi. - * manual/fdl.texi: New. - * manual/socket.texi (Host Names): Improve grammar, fix overflow hbox. - * manual/libc.texinfo: Add fdl, update titlepage. - Patches by Brian Youmans <3diff@gnu.org>. - - * sysdeps/unix/make_errlist.c (main): Print LGPL v2.1 for - generated file. - -2001-07-06 Paul Eggert - - * manual/argp.texi: Remove ignored LGPL copyright notice; it's - not appropriate for documentation anyway. - * manual/libc-texinfo.sh: "Library General Public License" -> - "Lesser General Public License". - * COPYING: Fix Y2k bug in sample copyright notices. - * manual/lesser.texi: Renamed from manual/lgpl.texinfo, - as fsf.org uses the name "lesser.texi". - * manual/Makefile (texis): Follow rename. - -2001-07-06 Andreas Jaeger - - * All files under GPL/LGPL version 2: Place under LGPL version - 2.1. - -2001-07-05 Andreas Jaeger - - Synch with Linux 2.4.6: - * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH): - New. - (AF_BLUETOOTH): New. - - * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h - (PF_BLUETOOTH): New. - (AF_BLUETOOTH): New. - - * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New. - (PF_BLUETOOTH): New. - - * sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New. - (PF_BLUETOOTH): New. - - * sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New. - (AF_BLUETOOTH): New. - - * sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New. - (AF_BLUETOOTH): New. - - * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New. - - * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New. - - * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New. - - * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New. - -2001-07-04 Roland McGrath - - * hurd/hurdsig.c (_hurd_internal_post_signal): For SS->suspended - wakeup message, use MACH_MSG_TYPE_MAKE_SEND for the receiver port - rather than doing a mach_port_insert_right call first. - -2001-06-26 Roland McGrath - - * hurd/hurdioctl.c: Include for memcpy decl. - -2001-07-03 Andreas Jaeger - - * sysdeps/unix/sysv/sysv4/solaris2/configure.in: Remove check for - crypt add-on. - -2001-07-01 Mark Kettenis - - * sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in - the Hurd pfinet server, using equivalent code from the Linux - version in sysdeps/unix/sysv/linux/if_index.c. In detail: - Include , , , and - . Don't include and - anymore. - (if_nametoindex): New implementation using SIOCGIFINDEX. - (if_freenameindex): Straight copy of the Linux version. - (if_nameindex): New implementation based on pfinet_siocgifconf and - SIOCGIFINDEX. - (if_indextoname): New implementation using SIOCGIFNAME. - (map_interfaces): Function removed. - From Marcus Brinkmann . - -2001-06-30 Jakub Jelinek - - * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer - gaps below main executable. - -2001-06-19 Andreas Jaeger - - * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): - Handle profiling. - -2001-06-29 Andreas Jaeger - - * sysdeps/ieee754/ldbl-128/s_asinhl.c: New file. - Patch by Stephen L Moshier . - -2001-06-28 Ulrich Drepper - - * manual/argp.texi: Tons of cleanups. - Patch by Clifford U. Smith . - -2001-06-28 Mark Kettenis - - * manual/users.texi (Setting Groups): Correct initgroups - documentation. Add documentation for getgrouplist. - -2001-06-28 H.J. Lu - - * locale/findlocale.c (locale_file_list): Renamed to ... - (_nl_locale_file_list): This. Make it extern. - (free_mem): Move to ... - * locale/setlocale.c (free_mem): Here. - -2001-06-28 Mark Kettenis - - * sysdeps/mach/hurd/read.c: Include . - (__libc_read): Don't call __pread. Use _hurd_fd_read directly - instead. - * sysdeps/mach/hurd/write.c: Include . - (__libc_write): Don't call __pwrite. Use _hurd_fd_write directly - instead. - - * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Add back - -Wl,-soname option lost in 2001-06-16 change. - -2001-06-27 Ulrich Drepper - - * posix/tst-regex.c: Pass REG_NEWLINE to regcomp. Add extra tests. - Restrict printing of string in debug mode to 100 characters to make - the output useful for long input texts. - - * posix/Makefile: Add rules to build and run tst-regex. - -2001-06-20 Isamu Hasegawa - - * posix/regex.c (FREE_WCS_BUFFERS): New macro to free buffers. - (re_search_2): Invoke convert_mbs_to_wcs and FREE_WCS_BUFFERS. - (wcs_re_match_2_internal): Check whether the wcs buffers need - seting up or not, and skip seting up routin if not needed. - -2001-06-26 Isamu Hasegawa - - * posix/regex.c (count_mbs_length): Use binary search for optimization. - -2001-06-27 Ulrich Drepper - - * posix/tst-regex.c: Fix several bugs. Add more tests. - -2001-06-26 Mark Kettenis - - * hurd/Makefile (user-interfaces): Add pfinet. - * hurd/hurdioctl.c: Include , and - . - (siocgifconf): New function. Register it with HURD_HANDLE_IOCTL - as the handler for SIOCGIFCONF. - * sysdeps/mach/hurd/bits/ioctls.h: Modify SIOCSIFFLAGS and - SIOCGIFFLAGS to be of IOC type ifreq_short. Modify SIOCSIFMETRIC - and SIOCGIFMETRIC to be of IOC type ifreq_int. Add new macro - definitions for SIOCGIFMTU, SIOCSIFMTU, SIOCGIFINDEX and - SIOCGIFNAME. - From Marcus Brunkmann . - -2001-06-25 Ulrich Drepper - - * sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short - and _IOT_ifreq_int. Patch by Mark Kettenis . - - * elf/dl-deps.c (_dl_map_object_deps): Fix handling of failing - _dl_catch_error calls. - -2001-06-22 Jakub Jelinek - - * posix/regex.c (regex_compile, re_match_2_internal): Fix comment - typos. - -2001-06-01 Wolfram Gloger - - * malloc/malloc.c (malloc_atfork, free_atfork): Use a unique value - ATFORK_ARENA_PTR, not 0, for the thread-specific arena pointer - when malloc_atfork is in use. - -2001-06-22 Andreas Jaeger - - * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Add parenthese - to avoid warnings. - - * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Remove unused - variable. - Add unused attributes to avoid warnings. - - * elf/reldep4mod4.c: Add prototype to avoid warning. - * elf/reldep4mod2.c: Likewise. - - * sysdeps/i386/fpu/e_expl.c: Include for - prototypes. - -2001-06-18 Roland McGrath - - * hurd/hurd/fd.h (_hurd_fd_error_signal): Change return type to int. - -2001-06-20 Alexandre Oliva - - * sysdeps/unix/sysv/settimeofday.c: Include time.h. - -2001-06-19 Martin Schwidefsky - - * sysdeps/unix/sysv/linux/s390/s390-64/dl-cache.h: New file. - -2001-05-09 Michael Keezer - - * Makeconfig: Added AIX-ld support for DSO. - * Makerules: Likewise. - * dlfcn/Makefile (defaultmod1.so): Added libc_nonshared. - (defaultmod2.so): Likewise. - * debug/Makefile: Conditionalize use of elf/ld.so. - * iconvdata/Makefile: Moved LDFLAG rpath/soname info into Makeconfig. - - * sysdeps/unix/sysv/aix/Makefile: Added dl-support.c and dl-error.c. - * sysdeps/unix/sysv/aix/Makefile: Made (f/g)rsave(0/1) & - (f/g)prrest(0/1) static only. - * sysdeps/unix/sysv/aix/gettimeofday.c: Removed #if 0. - * sysdeps/unix/sysv/aix/start.c: Define __dso_handle if not ELF but - shared. - * sysdeps/unix/sysv/aix/setitimer.c: New file. - * sysdeps/unix/sysv/aix/sleep.c: New file. - * sysdeps/unix/sysv/aix/usleep.c: New file. - * sysdeps/unix/sysv/aix/dl-addr.c: New file. - * sysdeps/unix/sysv/aix/dl-error.c: New file. - * sysdeps/unix/sysv/aix/dl-support.c: New file. - * sysdeps/unix/sysv/aix/powerpc/register-dump.h: New file. - -2001-06-19 Ulrich Drepper - - * po/es.po: Update from translation team. - -2001-06-19 Andreas Jaeger - - * sysdeps/ieee754/ldbl-128/s_tanhl.c: New file. - - * math/libm-test.inc (tanh_test): Test for 2^-56. - - * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Make sure result - equals argument when x < 2^-55. - Patches by Stephen L. Moshier . - -2001-06-17 Alan Modra - - * sysdeps/hppa/dl-machine.h (elf_machine_rela): Handle relocs - at unaligned address. - -2001-06-18 Ulrich Drepper - - * posix/regex.c: Reorganize code to build code twice, once for single - byte, once for multi-byte charsets. Choose function set adequate for - locale at runtime. - Patch by Isamu Hasegawa . - - * po/nl.po: Update from translation team. - -2001-06-09 Bruno Haible - - * iconvdata/gconv-modules (BIG5HKSCS): New alias BIG5-HKSCS. - (ISO-8859-14): New aliases ISO_8859-14 and ISO-CELTIC. - * iconvdata/tst-tables.sh: For BIG5HKSCS, use BIG5-HKSCS charmap. - -2001-05-26 Bruno Haible - - * iconvdata/tst-tables.sh: For SJIS module, use SHIFT_JIS charmap. - * manual/charset.texi: Write Shift_JIS, not Shift-JIS. - -2001-06-17 Roland McGrath - - * sysdeps/pthread/aio_misc.h (LIO_DSYNC): Define to LIO_NOP + 1, - not LIO_READ + 1 (which is the value of LIO_WRITE!). - - * Makerules (build-module-helper-objlist): New variable, - broken out of build-module. Insert --whole-archive/--no-whole-archive - immediately each *_pic.a file in the link object list. - (whole-archive): New variable, used by that. - (build-module-objlist): New variable using build-module-helper-objlist. - (build-module, build-module-helper): Use it. - (build-shlib-objlist): New variable using build-module-helper-objlist. - (build-shlib): Use that. - * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Likewise. - - * posix/spawni.c: Moved to ... - * sysdeps/posix/spawni.c: ... here. - * sysdeps/generic/spawni.c: New file. - -2001-06-16 Roland McGrath - - * hurd/Makefile (routines): Add lookup-retry. - * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Broken out ... - * hurd/lookup-retry.c: ... into here, new file. - * sysdeps/mach/hurd/dl-sysdep.c (open_file): Call that instead - using of duplicate code here. - - * hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0. - -2001-06-17 Ulrich Drepper - - * po/ja.po: Update from translation team. - -2001-06-04 Bruno Haible - - * locale/programs/locfile.c (siblings_uncached, siblings, full_read, - compare_files): New functions. - (write_locale_data): Use xmalloc. Compare the file with the locale - data files for the same category in other locales, and reuse it if - possible and safe. - -2001-06-07 Mark Kettenis - - * grp/initgroups.c (initgroups): Factor out re-usable code into... - (internal_getgrouplist): ... new function. - (getgrouplist): New function. - * grp/grp.h (getgrouplist): New prototype. - * grp/Versions [2.2.4]: Add getgrouplist. - -2001-06-16 Ulrich Drepper - - * inet/netinet/ip6.h: Fix comments in ip6_hdr. - Patch by Pekka Savola . - -2001-06-15 Roland McGrath - - * rt/Makefile (aio-routines, clock-routines, timer-routines): New - variables, broken out of librt-routines. - (librt-routines): Set using those. - (extra-libs, extra-libc-others, tests): Set these unconditionally. - (distribute): No need for $(librt-map) or $(librt-routines:=.c) here. - * sysdeps/generic/aio_fsync.c: New file. - * sysdeps/generic/aio_misc.c: New file. - * sysdeps/generic/aio_write.c: New file. - * sysdeps/generic/aio_write64.c: New file. - * sysdeps/generic/aio_read64.c: New file. - * sysdeps/generic/aio_read.c: New file. - * sysdeps/generic/aio_notify.c: New file. - * sysdeps/generic/lio_listio64.c: New file. - * sysdeps/generic/lio_listio.c: New file. - * sysdeps/generic/aio_cancel.c: New file. - * sysdeps/generic/aio_misc.h: New file. - * sysdeps/generic/aio_suspend.c: New file. - * rt/aio_cancel.c: Moved to ... - * sysdeps/pthread/aio_cancel.c: ... here. - * rt/aio_fsync.c: Moved to ... - * sysdeps/pthread/aio_fsync.c: ... here. - * rt/aio_misc.c: Moved to ... - * sysdeps/pthread/aio_misc.c: ... here. - * rt/aio_misc.h: Moved to ... - * sysdeps/pthread/aio_misc.h: ... here. - * rt/aio_notify.c: Moved to ... - * sysdeps/pthread/aio_notify.c: ... here. - * rt/aio_read.c: Moved to ... - * sysdeps/pthread/aio_read.c: ... here. - * rt/aio_read64.c: Moved to ... - * sysdeps/pthread/aio_read64.c: ... here. - * rt/aio_suspend.c: Moved to ... - * sysdeps/pthread/aio_suspend.c: ... here. - * rt/aio_write.c: Moved to ... - * sysdeps/pthread/aio_write.c: ... here. - * rt/aio_write64.c: Moved to ... - * sysdeps/pthread/aio_write64.c: ... here. - * rt/lio_listio.c: Moved to ... - * sysdeps/pthread/lio_listio.c: ... here. - * rt/lio_listio64.c: Moved to ... - * sysdeps/pthread/lio_listio64.c: ... here. - -2001-06-14 Roland McGrath - - * configure.in: Let sysdeps Implies files in add-ons bring in - sysdeps directories from the main source and other add-ons too. - -2001-06-15 Jakub Jelinek - - * math/test-misc.c (main): Add tests for nextafter and nexttoward - with +-Inf as second argument. - - * sysdeps/generic/s_nexttowardf.c (__nexttowardf): Only check for - NaN, not Inf. - * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Fix check for NaN. - * sysdeps/i386/fpu/s_nexttoward.c: New. - * sysdeps/i386/fpu/s_nexttowardf.c: New. - * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Simplify - check for NaN, optimize x==+-0 handling. - * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): Likewise. - * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Simplify - check for NaN, fix sign in x==+-0 case. - * sysdeps/ia64/fpu/s_nexttoward.c: New. - * sysdeps/ia64/fpu/s_nexttowardf.c: New. - -2001-06-15 H.J. Lu - - * rt/tst-aio2.c (do_test): Initialize cb.aio_offset to 0. - * rt/tst-aio3.c (do_test): Likewise. - * rt/tst-aio4.c (do_test): Likewise. - * rt/tst-aio5.c (do_test): Likewise. - * rt/tst-aio6.c (do_test): Likewise. - -2001-06-15 Andreas Schwab - - * sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline. - * sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline. - -2001-06-15 Andreas Jaeger - - * gmon/tst-sprofil.c (fac): Make static to avoid compiler warning. - -2001-06-14 Andreas Schwab - - * elf/ldconfig.c (search_dir): Fix check for regular file. - - * sysdeps/m68k/fpu/e_log2f.c: Fix typo. - * sysdeps/m68k/fpu/e_log2l.c: Fix typo. - -2001-06-14 Roland McGrath - - * sysdeps/mach/hurd/bits/fcntl.h [ __USE_POSIX199309 || __USE_UNIX98]: - (O_DSYNC, O_RSYNC): New macros, both defined to O_SYNC as Linux does. - -2001-06-13 Roland McGrath - - * rt/aio_notify.c: Include for _POSIX_REALTIME_SIGNALS. - - * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code - so the label is not considered unused. - - * sysdeps/mach/hurd/pwrite64.c: New file. - * sysdeps/mach/hurd/pread64.c: New file. - - * sysdeps/mach/hurd/pread.c - (__libc_pread): Define this name, with __pread as an alias. - * sysdeps/mach/hurd/pwrite.c - (__libc_pwrite): Define this name, with __pwrite as an alias. - - Implement POSIX "shared memory objects" as regular - files residing in the /var/run/shm/ directory. - This works on any system that supports _POSIX_MAPPED_FILES, - to make it also support _POSIX_SHARED_MEMORY_OBJECTS. - * sysdeps/posix/shm_open.c: New file. - * sysdeps/posix/shm_unlink.c: New file. - * sysdeps/mach/hurd/bits/posix_opt.h - (_POSIX_SHARED_MEMORY_OBJECTS): Define it. - - * rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]: - Use raise instead of __aio_sigqueue. - - * sysdeps/mach/hurd/pread.c: Fail with EINVAL if OFFSET is negative. - * sysdeps/mach/hurd/pwrite.c: Likewise. - - * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): libc=0.3 - [USE_IN_LIBIO && !GLIBC_OLDEST_ABI] (.*-.*-gnu-gnu.*): Use GLIBC_2.2.4 - as default version set. - -2001-06-13 Ulrich Drepper - - * libio/iolibio.h (_IO_freopen): Correct last parameter to - _IO_file_open. - (_IO_freopen64): Likewise. - Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326]. - - * elf/elf.h: Add a few more EM_* constants. - -2001-06-12 Bruno Haible - - * intl/dcigettext.c (DCIGETTEXT): Release the lock before returning. - -2001-06-09 Ben Collins - - * sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD. - * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise. - * sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of - hardcoded B400000. - -2001-06-13 Ulrich Drepper - - * time/sys/time.h: Don't use enum __itimer_which ever for - __itimer_which_t for C++. - Reported by Martin Buchholz . - - * po/fr.po: Update from translation team. - -2001-06-12 H.J. Lu - - * configure.in: Fix typos in missing program names. - * configure: Regenerated. - -2001-06-12 Andreas Jaeger - - * iconvdata/tst-table-to.c: Include string.h for strcmp prototype. - - * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ULPs for tanh (-0.7). - -2001-06-11 Andreas Jaeger - - * sysdeps/ieee754/ldbl-128/e_coshl.c: New file. Contributed by - Stephen L Moshier . - - * aclocal.m4: Quote AC_FD_MSG and AC_FD_CC. - - * sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7). - * sysdeps/s390/fpu/libm-test-ulps: Likewise. - -2001-06-11 Michael Deutschmann - - * rt/tst-aio4.c (do_test): Test whether rt signals are supported. - Use my_signo instead of MY_SIGNO and initialize it so that the - used signal is always available. - -2001-06-11 Andreas Jaeger , - Michael Deutschmann - - * io/test-lfs.c (do_prepare): Clean up error messages. - (test_ftello): Check for EFBIG and ENOSPC, clean up error messages. - (do_test): Likewise. - -2001-06-11 Andreas Jaeger - - * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC, - IMAXBEL): Make always visible since they're needed by POSIX. - Closes PR libc/2320, reported by Chris Yeoh . - -2001-06-10 Ben Collins - - * sysdeps/arm/elf/start.S: Use #function, not @function, for - .type of _start. - - * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get - INT_MAX. - -2001-06-07 H.J. Lu - - * sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS. - -2001-06-10 Roland McGrath - - * elf/reldep4mod2.c: Use fully typed decls to avoid warnings. - * elf/reldep4mod4.c: Likewise. - -2001-06-10 Mark Kettenis - - * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location. - -2001-06-08 Andreas Schwab - - * posix/regex.c (re_match_2_internal) [case wordbeg, wordend]: - Don't dereference at end of string. - -2001-06-06 Roland McGrath - - * sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size. - From Robert Bihlmeyer . - -2001-06-06 Ulrich Drepper - - * po/ko.po: Update from translation team. - -2001-06-06 Andreas Jaeger - - * manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to - offset+length-1. - Reported by Robert Bernecky . - -2001-06-06 Jakub Jelinek - - * sysdeps/cris/elf/start.S: Fix a typo introduced by last patch. - * sysdeps/ia64/elf/start.S: Likewise. - * sysdeps/sh/elf/start.S: Likewise. - * sysdeps/s390/s390-32/elf/start.S: Likewise. - * sysdeps/s390/s390-64/elf/start.S: Likewise. - -2001-06-05 Matthew Wilcox - - * sysdeps/hppa/bsd-_setjmp.S: New. - * sysdeps/hppa/bsd-setjmp.S: New. - - * sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new - gcc warnings about multi-line strings. - - * sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove. - * sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove. - - * sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit, - setrlimit directly instead of using wrappers. - -2001-05-01 Richard Hirst - - * sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall. - * sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall. - -2001-06-05 Philipp Thomas - - * nis/nis_call.c (__nisbind_connect): Don't mark for translation - what can't be translated. - -2001-06-06 Ulrich Drepper - - * timezone/zic.c: Update from tzcode2001c. - * timezone/private.h: Likewise. - * timezone/africa: Update from tzdata2001c. - * timezone/asia: Likewise. - * timezone/europe: Likewise. - * timezone/northamerica: Likewise. - * timezone/southamerica: Likewise. - * timezone/zone.tab: Likewise. - -2001-06-04 Bruno Haible - - * iconv/loop.c (UNICODE_TAG_HANDLER): New macro. - * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke - UNICODE_TAG_HANDLER. - (__gconv_transform_internal_ucs2): Likewise. - (__gconv_transform_internal_ucs2reverse): Likewise. - * iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER. - * iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise. - * iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise. - * iconvdata/big5.c (BODY for TO_LOOP): Likewise. - * iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise. - * iconvdata/cp1255.c (BODY for TO_LOOP): Likewise. - * iconvdata/cp1258.c (BODY for TO_LOOP): Likewise. - * iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise. - * iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise. - * iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise. - * iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise. - * iconvdata/gbk.c (BODY for TO_LOOP): Likewise. - * iconvdata/ibm930.c (BODY for TO_LOOP): Likewise. - * iconvdata/ibm932.c (BODY for TO_LOOP): Likewise. - * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise. - * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise. - * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise. - * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise. - * iconvdata/ibm943.c (BODY for TO_LOOP): Likewise. - * iconvdata/iso646.c (BODY for TO_LOOP): Likewise. - * iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise. - * iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise. - * iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise. - * iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise. - * iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise. - * iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise. - * iconvdata/johab.c (BODY for TO_LOOP): Likewise. - * iconvdata/sjis.c (BODY for TO_LOOP): Likewise. - * iconvdata/t.61.c (BODY for TO_LOOP): Likewise. - * iconvdata/uhc.c (BODY for TO_LOOP): Likewise. - * iconvdata/unicode.c (BODY for TO_LOOP): Likewise. - * iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j, - TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z, - TAG_language_zh, CURRENT_TAG_MASK): New enum values. - (EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set - is already selected but set2 or tag are set. - (conversion): New enum type. - (cvlist_t): New type. - (CVLIST, CVLIST_FIRST, CVLIST_REST): New macros. - (conversion_lists): New array. - (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag. If "ja", - prefer conversion to Japanese character sets. If "zh", prefer - conversion to GB2312. If "ko", prefer conversion to KSC5601. Small - optimizations. - (INIT_PARAMS): Add tag. - (UPDATE_PARAMS): Add tag. - -2001-06-04 Bruno Haible - - * locale/programs/locfile.c (write_locale_data): Before creat(), - unlink the file, to avoid crashing the processes that mmap it. Change - a double slash to a single slash. Free fname in case of error return. - -2001-06-02 Jakub Jelinek - - * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03 - changes, do the special handling for denormal numbers, not for - normalized numbers (patch by ). - - * math/test-misc.c (main): Test frexpl with denormal arguments. - -2001-06-04 Jakub Jelinek - - * math/libm-test.inc (llround_test): Add two new llround tests. - * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow - overflow when rounding away from zero. - -2001-06-04 Jakub Jelinek - - * math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2. - * math/math_private.h (__ieee754_log2, __ieee754_log2f, - __ieee754_log2l): New prototypes. - * sysdeps/generic/w_log2.c: New file. - * sysdeps/generic/w_log2f.c: New file. - * sysdeps/generic/w_log2l.c: New file. - * sysdeps/generic/s_log2l.c: Move... - * sysdeps/generic/e_log2l.c: ...to here. Rename to __ieee754_log2l. - * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0) - and log2(x < 0). - * sysdeps/i386/fpu/s_log2.S: Move... - * sysdeps/i386/fpu/e_log2.S: ...to here. Rename to __ieee754_log2. - * sysdeps/i386/fpu/s_log2f.S: Move... - * sysdeps/i386/fpu/e_log2f.S: ...to here. Rename to __ieee754_log2f. - * sysdeps/i386/fpu/s_log2l.S: Move... - * sysdeps/i386/fpu/e_log2l.S: ...to here. Rename to __ieee754_log2l. - * sysdeps/m68k/fpu/s_log2.c: Move... - * sysdeps/m68k/fpu/e_log2.c: ...to here. Rename to __ieee754_log2. - * sysdeps/m68k/fpu/s_log2f.c: Move... - * sysdeps/m68k/fpu/e_log2f.c: ...to here. Rename to __ieee754_log2f. - * sysdeps/m68k/fpu/s_log2l.c: Move... - * sysdeps/m68k/fpu/e_log2l.c: ...to here. Rename to __ieee754_log2l. - * sysdeps/ieee754/dbl-64/s_log2.c: Move... - * sysdeps/ieee754/dbl-64/e_log2.c: ...to here. Rename to - __ieee754_log2. - * sysdeps/ieee754/flt-32/s_log2f.c: Move... - * sysdeps/ieee754/flt-32/e_log2f.c: ...to here. Rename to - __ieee754_log2f. - -2001-06-04 Jakub Jelinek - - * sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that - even arguments which result in denormalized exp2 are accepted. - (__exp2): Arguments equal to u_threshold already result into - underflow. - * sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise. - * sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise. - * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too - low, with corrected lowmark use greaterequal, not greater. - * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise. - -2001-06-04 Jakub Jelinek - - * math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX. - * sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf. - * sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise. - * sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise. - * sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise. - * sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise. - * sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise. - * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise. - -2001-06-04 Jakub Jelinek - - * sysdeps/generic/w_coshl.c (__coshl): Test if finite argument - gave non-finite result instead of using constant in generic - version. - * sysdeps/generic/w_coshf.c (__coshf): Likewise. - * sysdeps/generic/w_cosh.c (__cosh): Likewise. - * sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove. - (__exp10): Test if finite argument gave non-finite result. - * sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f): - Likewise. - * sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l): - Likewise. - -2001-06-04 Jakub Jelinek - - * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix - overflow threshold constant (log(LDBL_MAX)+M_LN2l). - -2001-05-29 Bruno Haible - - * locale/programs/ld-ctype.c (idx_table): New struct type. - (idx_table_init, idx_table_get, idx_table_add): New functions. - (MAX_CHARNAMES_IDX): Remove macro. - (locale_ctype_t): Change type of charnames_idx field. - (ctype_startup): Change initialization of charnames_idx field. - (find_idx): Use idx_table_get and idx_table_add for speed. - - * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value - computation of characters in a range. - -2001-05-29 Bruno Haible - - * iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for , - . - (__ucs_to_gb18030_tab1): Likewise. - (BODY for FROM_LOOP): Add mapping for ... - (BODY for TO_LOOP): Likewise. - * iconvdata/tst-table-charmap.sh: Update for charmaps containing - syntax. - * iconvdata/tst-table-from.c (bmp_only): New variable. - (utf8_decode): If bmp_only, don't return characters outside Unicode - plane 0. - (main): When testing UTF-8 or GB18030, set bmp_only to 1. Don't print - a conversion line if utf8_decode returns NULL. - * iconvdata/tst-table-to.c (main): When testing encodings other than - UTF-8 and GB18030, loop upto U+30000 instead of U+10000. Use UTF-8 - instead of UCS-2 as input. - * iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000 - of the charmap. - -2001-05-29 Bruno Haible - - * iconvdata/cns11643l1.c: Update to Unicode 3.1. - (__cns11643l1_to_ucs4_tab): Regenerated. - (__cns11643l1_from_ucs4_tab12): Regenerated. - * iconvdata/cns11643.c: Update to Unicode 3.1. - (__cns11643l14_to_ucs4_tab): Remove array. - (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab, - __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab, - __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays. - (__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab. - (__cns11643_from_ucs4p2_tab): New array. - * iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration. - (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab, - __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab, - __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations. - (cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14. - (__cns11643_from_ucs4_tab): Remove declaration. - (__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New - declarations. - (ucs4_to_cns11643): Update for new arrays. Treat U+3400..U+4DFF and - U+20000..U+2A6D6. - * iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove - declaration. - (__cns11643_from_ucs4p0_tab): New declaration. - (ucs4_to_cns11643l2): Update for new arrays. - * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes - 3 to 7. - (BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14. - * iconvdata/EUC-TW.irreversible: New file. - * iconvdata/tst-table.sh: Use it. - * iconvdata/Makefile (distribute): Add CP1255.irreversible, - CP1258.irreversible, EUC-TW.irreversible. - -2001-05-29 Bruno Haible - - * locale/C-translit.h.in: Add transliterations for new Unicode 3.1 - mathematical symbols. - -2001-06-05 Andreas Jaeger - - * manual/stdio.texi (Portable Positioning): Fix description of - fpos_t and fpos64_t. - -2001-06-06 Ulrich Drepper - - * sysdeps/generic/wordexp.c: Undo last patch. Use strndupa instead. - - * po/sk.po: Update from translation team. - -2001-06-05 Andreas Jaeger - - * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize - tmpfs, patch by Stanislav Brabec . - Closes PR libc/2315. - -2001-06-05 Ulrich Drepper - - * sysdeps/generic/wordexp.c: Add missing free. - Patch by yeti@physics.muni.cz. - -2001-06-02 Tom Browder - - * misc/tst-tsearch.c (mangle_tree): Ensure array indices are - within bounds when lag > 0. - -2001-06-05 Ulrich Drepper - - * po/tr.po: New file. - -2001-06-05 Andreas Jaeger - - * manual/libm-err-tab.pl (parse_ulps): Fix typo. - -2001-06-04 H.J. Lu - - * sysdeps/alpha/elf/start.S: Add .type for the entry point. - * sysdeps/arm/elf/start.S: Likewise. - * sysdeps/hppa/elf/start.S: Likewise. - * sysdeps/i386/elf/start.S: Likewise. - * sysdeps/m68k/elf/start.S: Likewise. - * sysdeps/mips/elf/start.S: Likewise. - * sysdeps/ia64/elf/start.S: Likewise. - * sysdeps/sh/elf/start.S: Likewise. - * sysdeps/s390/s390-32/elf/start.S: Likewise. - * sysdeps/s390/s390-64/elf/start.S: Likewise. - * sysdeps/cris/elf/start.S: Likewise. - -2001-06-04 Bruce Mitchener - - * manual/resource.texi: Correct setpriority/nice documentation. - - * sysdeps/unix/nice.c: Correct nice() implementation. - -2001-06-04 Andreas Jaeger - - * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by - Stephen L Moshier . - -2001-06-03 Roland McGrath - - * Makefile (postclean): Remove obsolete sysd-Makefile. - -2001-06-01 Roland McGrath - - * sysdeps/alpha/fpu/fclrexcpt.c: #include - and use compat_symbol/versioned_symbol instead of plain - symbol_version/default_symbol_version. - * sysdeps/alpha/fpu/fegetenv.c: Likewise. - * sysdeps/alpha/fpu/fesetenv.c: Likewise. - * sysdeps/alpha/fpu/feupdateenv.c: Likewise. - * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise. - * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise. - * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise. - * sysdeps/arm/fpu/fclrexcpt.c: Likewise. - * sysdeps/arm/fpu/fegetenv.c: Likewise. - * sysdeps/arm/fpu/fesetenv.c: Likewise. - * sysdeps/arm/fpu/fraiseexcpt.c: Likewise. - * sysdeps/arm/fpu/fsetexcptflg.c: Likewise. - * sysdeps/i386/fpu/fclrexcpt.c: Likewise. - * sysdeps/i386/fpu/fegetenv.c: Likewise. - * sysdeps/i386/fpu/fesetenv.c: Likewise. - * sysdeps/i386/fpu/feupdateenv.c: Likewise. - * sysdeps/i386/fpu/fgetexcptflg.c: Likewise. - * sysdeps/i386/fpu/fraiseexcpt.c: Likewise. - * sysdeps/i386/fpu/fsetexcptflg.c: Likewise. - * sysdeps/m68k/fpu/fclrexcpt.c: Likewise. - * sysdeps/m68k/fpu/fegetenv.c: Likewise. - * sysdeps/m68k/fpu/fesetenv.c: Likewise. - * sysdeps/m68k/fpu/feupdateenv.c: Likewise. - * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise. - * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise. - * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise. - * sysdeps/powerpc/fclrexcpt.c: Likewise. - * sysdeps/powerpc/fpu/fegetenv.c: Likewise. - * sysdeps/powerpc/fpu/fesetenv.c: Likewise. - * sysdeps/powerpc/fpu/feupdateenv.c: Likewise. - * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise. - * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise. - * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise. - - * iconvdata/cp1258.c: Include for abort decl. - * iconvdata/iso-2022-cn-ext.c: Likewise. - -2001-06-01 Andreas Jaeger - - * Versions.def: Add version 2.2.4. - -2001-06-01 Ulrich Drepper - - * socket/Makefile (routines): Add sockatmark. - * socket/Versions [GLIBC_2.2.4]: Add sockatmark. - * socket/sys/socket.h: Add prototype for sockatmark. - * sysdeps/generic/sockatmark.c: New file. - * sysdeps/unix/sockatmark.c: New file. - -2001-06-01 Andreas Jaeger - - * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is - B4000000. - (cfsetospeed): Likewise. - Reported by Lukasz Trabinski . - -2001-05-31 Joseph S. Myers - - * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++. - -2001-05-30 Martin Schwidefsky - - * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t - needs to have the same aligment as the kernel structure. - -2001-05-29 Jakub Jelinek - - * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t, - u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined. - * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t, - u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs - against multiple definition. - -2001-05-30 Ulrich Drepper - - * po/da.po: Update from translation team. - -2001-05-29 Andreas Jaeger - - * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by - Stephen L Moshier . - - * math/libm-test.inc (sinh_test): Add new test case. - - * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) = - x when x < 2^-32. - Patch by Stephen L Moshier . - -2001-05-23 Andreas Jaeger - - * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to... - * iconvdata/testdata/WINDOWS-1255..UTF8: this. - -2001-05-27 Andreas Jaeger - - * manual/stdio.texi (String Streams): Fix fmemopen description. - Reported by Michal Kochanowicz . - -2001-05-26 H.J. Lu - - * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend - to s_sigsuspend. Add s_mmap2. - - * sysdeps/mips/atomicity.h: New file. - - * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file. - - * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put - back __key. - -2001-05-25 Bruce Mitchener - - * manual/ctype.texi: Minor fix. - * manual/install.texi: Likewise. - * manual/startup.texi: Likewise. - * manual/examples/dir.c: Use perror() rather than puts(). - -2001-05-25 David Mosberger - - * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following - #endif directive inside a comment to avoid compiler warnings. - -2001-05-25 Philipp Thomas - - * nis/nis_print.c (nis_nstype2str): Don't mark names of - naming services for translation, only UNKNOWN needs it. - Add comment to prevent it for the future. - -2001-05-25 Joseph S. Myers - - * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC - 3.1 and non-GCC C99 compilers. - -2001-05-22 David Mosberger - - * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better - performance. - * sysdeps/ia64/memcpy.S: Likewise. - - * sysdeps/ia64/bcopy.S: New file. - - * sysdeps/ia64/bzero.S: New file (derived from memset.S). - -2001-05-26 Ulrich Drepper - - * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7). - -2001-05-24 Ulrich Drepper - - * iconvdata/Makefile: Add rules for CP10007. - * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic. - * iconvdata/cp10007.c: New file. - * iconvdata/tst-tables.sh: Add CP10007. - -2001-05-23 kaz Kojima - - * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT. - (_dl_runtime_profile): Likewise.. - -2001-05-23 Thorsten Kukuk - - * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out. - * posix/tst-getaddrinfo.c: Remove AF_UNIX test. - -2001-05-19 H.J. Lu - - * elf/dl-deps.c (_dl_map_object_deps): Pass objname and - errstring of the failed DSO to _dl_signal_error (). - -2001-05-23 Ulrich Drepper - - * iconvdata/gconv-modules: Add more aliases to enable use in - locale names. - -2001-05-23 Andreas Jaeger - - * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s): - Remove, it's not used anywhere anymore. - * sysdeps/unix/sysv/linux/s390/s390-64/Makefile - (CFLAGS-initfini.s): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/Makefile - (CFLAGS-initfini.s): Likewise. - * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s): - Likewise. - * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s): - Likewise. - -2001-05-21 Bruno Haible - - * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always - use 0 instead, and rely on the converter to do the flush. - * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from - utf8_test. - (utf8_test_2, utf8_test_3): New function. - (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3. - -2001-05-22 Jakub Jelinek - - * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps. - - * elf/Makefile (distribute): Add reldep4mod[1234].c. - (tests): Add reldep4. - (modules-names): Add reldep4mod[1234]. - (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules. - * elf/reldep4.c: New file. - * elf/reldep4mod1.c: Likewise. - * elf/reldep4mod2.c: Likewise. - * elf/reldep4mod3.c: Likewise. - * elf/reldep4mod4.c: Likewise. - -2001-05-18 Jakub Jelinek - - * elf/dl-lookup.c (PROTECTED): Remove defines. - (add_dependency): Mark it with internal_function. - (_dl_do_lookup, _dl_do_lookup_versioned): New functions. - (_dl_lookup_symbol, _dl_lookup_symbol_skip, - _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use - it if we don't want do_lookup* inlined. - -2001-05-18 Jakub Jelinek - - * include/link.h (struct r_scope_elem): Remove r_duplist and - r_nduplist fields. - * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them. - * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not - r_duplist. - (_dl_lookup_versioned_symbol_skip): Likewise. - * elf/dl-deps.c (struct list): Remove dup field, rename unique to next. - (_dl_map_object_deps): Don't compute duplicate list. - - * elf/dl-symbol.c: Removed. - * elf/Makefile (routines): Remove dl-symbol. - -2001-05-22 Ulrich Drepper - - * po/el.po: Update from translation team. - * po/sv.po: Likewise. - -2001-05-20 Bruno Haible - - * iconvdata/cp1255.c: Completely rewritten. - * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255. - * iconvdata/testdata/WINDOWS-1255: New file. - * iconvdata/testdata/WINDOWS-1255..UTF8: New file. - * iconvdata/TESTS: Add WINDOWS-1255 test. - * iconvdata/CP1255.irreversible: New file. - -2001-05-20 Bruno Haible - - * iconvdata/cp1258.c: Completely rewritten. - * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258. - * iconvdata/testdata/WINDOWS-1258: New file. - * iconvdata/testdata/WINDOWS-1258..UTF8: New file. - * iconvdata/TESTS: Add WINDOWS-1258 test. - * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before - the main call, and flush it afterwards. - (utf8_decode): Return a string, possibly containing several Unicode - characters. - (main): Update all utf8_decode calls. - * iconvdata/CP1258.irreversible: New file. - -2001-05-20 Bruno Haible - - * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2. - * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2. In the - first case, set outbuf, outstart, outend, and call PREPARE_LOOP before - EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to - the next step. In the second case, clear the state without calling - EMIT_SHIFT_TO_INIT. - * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of - data->__outbuf, and outend instead of data->__outbufend. - * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise. - * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise. - * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise. - * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise. - * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise. - * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise. - * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise. - * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise. - * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise. - -2001-05-21 Jakub Jelinek - - * elf/rtld.c (dl_main): Compute l_map_end for the main program. - * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0. - If match == _dl_loaded, caller can still come from the main program. - (_dl_vsym): Likewise. - * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0. - * elf/dl-error.c (_dl_signal_error): Change NULL objname into "". - * elf/restest2.c: New test. - * elf/Makefile (tests): Add restest2. - (restest2, LDFLAGS-restest2): Add rules. - -2001-05-22 Ulrich Drepper - - * intl/Makefile: Add a few more dependencies to avoid races in the - test shell scripts. - -2001-05-22 Andreas Jaeger - - * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by - Stephen L Moshier . - -2001-05-22 Martin Schwidefsky - - * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the - return addresses instead of the stack pointers. - * sysdeps/s390/s390-64/backtrace.c: Likewise. - -2001-05-21 Jakub Jelinek - - * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include - bits/sigcontext.h instead of bits/sigstack.h. - * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add - multiple-inclusion guards. - -2001-05-21 Andreas Jaeger - - * locale/programs/ld-collate.c (handle_ellipsis): Fix message. - Patch by Philipp Thomas . - -2001-05-17 Bruce Mitchener - - * manual/arpg.texi: Spelling, misc fixes. - * manual/arith.texi: Likewise. - * manual/crypt.texi: Likewise. - * manual/debug.texi: Likewise. - * manual/getopt.texi: Likewise. - * manual/intro.texi: Likewise. - * manual/memory.texi: Likewise. - * manual/nss.texi: Likewise. - * manual/pattern.texi: Likewise. - * manual/process.texi: Likewise. - * manual/resource.texi: Likewise. - * manual/search.texi: Likewise. - * manual/setjmp.texi: Likewise. - * manual/signal.texi: Likewise. - * manual/socket.texi: Likewise. - * manual/stdio.texi: Likewise. - * manual/string.texi: Likewise. - * manual/sysinfo.texi: Likewise. - * manual/terminal.texi: Likewise. - * manual/llio.texi: Document madvise(). - -2001-05-20 Roland McGrath - - * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files - found within $(add-ons) directories too. - [linuxthreads add-on]: Move variable settings for linuxthreads - to new file linuxthreads/Makeconfig. - -2001-05-20 Franz Sirl - - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV): - Define for linux >= 2.4.5 on powerpc. - (__ASSUME_MMAP2_SYSCALL): Likewise. - -2001-05-19 Roland McGrath - - * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the - result port when failing with ELOOP. Do the ELOOP check when - following an absolute symlink target as well as relative. - Remove #ifdef SYMLOOP_MAX conditional--it should always be defined. - -2001-05-18 Andreas Jaeger - - * po/fr.po: Free software is "logiciel libre". - Patch by Martin Michlmayr . - - * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit. - Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271. - -2001-05-17 David Mosberger - - * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file. - -2001-05-17 Ulrich Drepper - - * elf/dl-profile.c (_dl_mcount): Check whether state is - GMON_PROF_ON before doing anything. - -2001-05-17 H.J. Lu - - * elf/sprof.c (read_symbols): Move "++symtab" into the while loop. - -2001-05-17 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use - CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters. - Reported by Mark Burton . - -2001-05-17 Jakub Jelinek - - * elf/ldconfig.c (add_dir): Only warn about stat failure if - opt_verbose. - (search_dir): Likewise. - -2001-05-17 Ulrich Drepper - - * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second - parameter of xaddl. Patch by H . J . Lu . - -2001-05-14 Bruno Haible - - * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen - without previous announcement, reject it regularly, don't abort. - -2001-05-16 Ulrich Drepper - - * math/tgmath.h: Fix handling of int parameters to binary and - ternary functions. Reported by mitr@volny.cz. - - * math/test-tgmath.c: Add tests for calls with integer parameters. - -2001-05-15 Jakub Jelinek - - * sunrpc/rpc_thread.c (rpc_default): Remove. - (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of - rpc_default. - (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr, - __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise. - * sunrpc/auth_none.c (authnone_private): Fix a typo. - -2001-05-16 Martin Schwidefsky - - * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation. - -2001-05-16 Bruce Mitchener - - * manual/llio.texi: Many grammar and typo fixes to the section on AIO. - -2001-05-15 Andreas Jaeger - - * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by - Stephen L Moshier . - - * sysdeps/i386/fpu/libm-test-ulps: Adjust for change. - - * math/libm-test.inc: Add comment with ToDo. - - * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more - accurate algorithm. Patch by Stephen L Moshier . - - * sysdeps/i386/fpu/e_expl.S: Removed. - -2001-05-14 Roland McGrath - - * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a - static pattern rule also that also covers - $(objpx)g$(static-start-installed-name). - [$(start-installed-name) != $(static-start-installed-name)] - (extra-objs, omit-deps, install-lib): Add - $(static-start-installed-name) and g$(static-start-installed-name). - * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here; - just setting static-start-installed-name is now sufficient. - (extra-objs): Add static-start.o here. - (CFLAGS-initfini.s): Remove obsolete variable. - * sysdeps/mach/hurd/i386/Makeconfig: New file. - Define static-start-installed-name here. - - * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig). - * Make-dist (+sysdep-tsrcs): Look for Makeconfig files. - - * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and - associated hair. Instead, just use $(wildcard ...) in the include. - - * configure.in (critic_missing, aux_missing): Collect in these vars - the names of the missing programs, and include them in the error msgs. - * configure: Regenerated. - -2001-05-14 Andreas Jaeger - - * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests. - - * math/libm-test.inc (tanh_test): Add testcases for last tanh bug. - -2001-05-14 Stephen L Moshier - - * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test. - -2001-05-11 Jakub Jelinek - - * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize - as well if swapping strings. - Make sure stop is not past end of second string. - * posix/bug-regex4.c: New test. - * posix/Makefile (tests): Add bug-regex4. - -2001-05-10 Andreas Jaeger - - * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal - requirement. - -2001-05-12 Andreas Jaeger - - * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for - internal prototypes. - * sysdeps/ieee754/dbl-64/doasin.c: Likewise. - * sysdeps/ieee754/dbl-64/dosincos.c: Likewise. - * sysdeps/ieee754/dbl-64/halfulp.c: Likewise. - * sysdeps/ieee754/dbl-64/sincos32.c: Likewise. - * sysdeps/ieee754/dbl-64/slowexp.c: Likewise. - * sysdeps/ieee754/dbl-64/slowpow.c: Likewise. - * sysdeps/ieee754/dbl-64/branred.c: Likewise. - - * math/math_private.h: Add prototypes for internal functions of - the IBM Accurate Mathematical Library. - - * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for - prototypes. - * sysdeps/ieee754/dbl-64/s_tan.c: Likewise. - - * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for - internal prototypes. - * sysdeps/ieee754/dbl-64/s_atan.c: Likewise. - * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise. - * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise. - * sysdeps/ieee754/dbl-64/e_pow.c: Likewise. - * sysdeps/ieee754/dbl-64/e_log.c: Likewise. - * sysdeps/ieee754/dbl-64/e_exp.c: Likewise. - * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. - * sysdeps/generic/e_rem_pio2l.c: Likewise. - (__ieee754_rem_pio2l): Fix prototype. - - * math/math_private.h (__copysign): Add internal prototype. - -2001-05-11 Andreas Jaeger - - * sysdeps/unix/sysv/linux/configure.in: Move binutils check to... - * sysdeps/unix/sysv/linux/mips/configure.in: ...here. New file. - -2001-05-11 Andreas Jaeger - - * sysdeps/unix/sysv/linux/configure.in: Check binutils version on - MIPS. - - * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output - format directive. Patch by Steven J. Hill . - -2001-05-11 Roland McGrath - - * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use - $(build-module) here, since we don't need the full magilla. - Just use $(build-module-helper) and append our special options. - -2001-05-09 Andreas Schwab - - * sysdeps/unix/readdir.c: Make sure we don't modify errno when we - reached EOF. - -2001-05-07 H.J. Lu - - * elf/ldconfig.c (dir_entry): Add ino and dev. - (add_single_dir): Compare ino and dev to check if 2 directory - paths are the same or not. Free entry->path for duplicates. - (add_dir): Initialize ino and dev for entry. - (search_dir): Handle symlink to directory. - -2001-05-07 Andreas Jaeger - - * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests. - - * math/libm-test.inc (exp_test): Add some more tests. - (pow_test): Run double only test also for long double. - - * math/test-ldouble.c (TEST_LDOUBLE): Define. - * math/test-ildoubl.c (TEST_LDOUBLE): Likewise. - - * sysdeps/generic/bits/confname.h: Remove extra comma at end of - enumeration. - Closes PR libc/2240. - - * scripts/config.guess: Imported from gnu.org. - * scripts/config.sub: Likewise. - -2001-05-05 Jakub Jelinek - - * include/features.h (__USE_EXTERN_INLINES): Don't define if - __NO_INLINE__ is defined. - * ctype/ctype.h (tolower, toupper): Change the guard condition to - __USE_EXTERN_INLINES check only. - * stdlib/stdlib.h (strtod, ...): Likewise. - * wcsmbs/wchar.h (mbrlen): Likewise. - * string/string.h: Only include bits/string.h and bits/string2.h - if __NO_INLINE__ is not defined. - -2001-05-07 Andreas Jaeger - - * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead - of @LIBDIR@. - -2001-05-04 H.J. Lu - - * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@ - not @LIBDIR@. - -2001-05-06 Andreas Jaeger - - * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S. - * sysdeps/i386/fpu/e_fmodl.S: Removed. - * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S. - * sysdeps/i386/fpu/e_atan2l.S: Removed. - * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S. - * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S. - * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S. - * sysdeps/i386/fpu/e_acosl.S: Removed. - * sysdeps/i386/fpu/s_atanl.S: Removed. - * sysdeps/i386/fpu/e_sqrtl.S: Removed. - -2001-05-05 Mark Kettenis - - * sysdeps/mach/hurd/bits/environments.h: Add comment from - sysdeps/generic/bits/environments.h. Define _POSIX_V6_* values. - -2001-04-30 Jakub Jelinek - - * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so - that _CS_LFS_CFLAGS can fall through to the empty returned string - case. Add FALLTHROUGH comment. - -2001-04-29 Ralf Baechle - - * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure - definitions match the kernel definitions. - * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise. - -2001-04-29 Ben Collins - - * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings - warnings. - * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise. - -2001-04-29 Andreas Schwab - - * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash - in last change. - -2001-04-29 Andreas Jaeger - - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64): - Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer. - - * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from - Linux 2.4.4. - (AF_WANPIPE): Likewise. - (MSG_MORE): New. - - * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as - for Linux generic version. - * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise. - - * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New. - -2001-04-27 Ulrich Drepper - - * nis/nss-nis.h: Correct test for invalid error number. - * nis/nss-nisplus.h: Likewise. - - * nis/Makefile (libnss_compat-rountines): Add nss-nisplus. - -2001-04-26 Ulrich Drepper - - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind. - - * string/strcoll.c: Fix two memory allocation problems. - * string/Makefile (tests): Add bug-strcoll1. - * string/bug-strcoll1.c: New file. - - * malloc/mcheck.c (mcheck): Call malloc once before setting the - hooks to allow the internal check hooks to be set up if necessary. - - * nis/nss-nis.h: Move yperr2nss_tab definition into separate file - and rename to __yperr2nss_tab. Change YPERR_COUNT into variable - __yperr2nss_count. - * nis/nss-nis.c: New file. - * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file - and rename to __niserr2nss_tab. Change NISERR_COUNT into variable - __niserr2nss_count. - * nis/nss-nisplus.c: New file. - * nis/Makefile (libnss_compat-routines): Add nss-nis. - (libnss_nis-routines): Likewise. - (libnss_nisplus-routines): Add nss-nisplus. - - * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations. - * nis/nss_nisplus/nisplus-ethers.c: Likewise. - * nis/nss_nisplus/nisplus-grp.c: Likewise. - * nis/nss_nisplus/nisplus-hosts.c: Likewise. - * nis/nss_nisplus/nisplus-network.c: Likewise. - * nis/nss_nisplus/nisplus-proto.c: Likewise. - * nis/nss_nisplus/nisplus-pwd.c: Likewise. - * nis/nss_nisplus/nisplus-rpc.c: Likewise. - * nis/nss_nisplus/nisplus-service.c: Likewise. - * nis/nss_nisplus/nisplus-spwd.c: Likewise. - * nis/nss_nis/nis-alias.c: Likewise. - * nis/nss_nis/nis-ethers.c: Likewise. - * nis/nss_nis/nis-grp.c: Likewise. - * nis/nss_nis/nis-network.c: Likewise. - * nis/nss_nis/nis-proto.c: Likewise. - * nis/nss_nis/nis-pwd.c: Likewise. - * nis/nss_nis/nis-spwd.c: Likewise. - * nis/nss_compat/compat-grp.c: Likewise. - * nis/nss_compat/compat-initgroups.c: Likewise. - * nis/nss_compat/compat-pwd.c: Likewise. - * nis/nss_compat/compat-spwd.c: Likewise. - - * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more - optimizations. Patch by Jakub Jelinek . - -2001-04-26 Andreas Jaeger - - * po/zh_TW.po: Update. - Patch by Tung-Han Hsieh . - -2001-04-25 Ulrich Drepper - - * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the - compiler command line. - * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler - command line for malloc.c. - -2001-04-25 Jakub Jelinek - - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to... - * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here. - * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove. - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to... - * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here. Adjust - struct msghdr for __WORDSIZE == 32. - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to... - * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here. Adjust - for __WORDSIZE == 32. - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove. - * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New - file. - * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp): - Rename from longjmp, make longjmp weak alias to it. - -2001-04-24 David S. Miller - - * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file. - -2001-04-25 Matthew Wilcox - - * sysdeps/hppa/stackinfo.h: New file. - * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file. - * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file. - * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file. - * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions - of PA kernel features. - -2001-04-25 Ulrich Drepper - - * locale/programs/localedef.c (main): Always set a file name for - the initial locale. - * locale/programs/locfile.c (locfile_read): filename is allowed to - be NULL. - -2001-04-12 Paul Bame - - * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the - enable flags. - -2001-04-24 Ulrich Drepper - - * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG, - _XBS5_LPBIG_OFFBIG): Define to -1. - Fix typos. - - * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS. - * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS. - * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS. - * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS. - - * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed. - -2001-03-21 Alan Modra - - * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT - value from application so that constructors in non-PIC libs work. - -2000-12-13 Jes Sorensen - - * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a - function pointer, hence load the jump address and gp from the - function pointer before jumping. - -2001-04-24 Andreas Jaeger - - * sysdeps/generic/send.c (__send): Return ssize_t. - * sysdeps/mach/hurd/send.c (__send): Likewise. - * sysdeps/mach/hurd/recv.c (recv): Likewise. - * sysdeps/mach/hurd/sendto.c (sendto): Likewise. - * sysdeps/generic/sendto.c (sendto): Likewise. - * sysdeps/generic/recvmsg.c (recvmsg): Likewise. - * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise. - * sysdeps/generic/recvfrom.c (recvfrom): Likewise. - * sysdeps/generic/sendmsg.c (sendmsg): Likewise. - - * socket/sys/socket.h: send* and recv* return ssize_t. - - * include/sys/socket.h: send returns ssize_t. - - * sysdeps/i386/fpu_control.h: Fix comments. - -2001-04-24 Ulrich Drepper - - * sysdeps/ia64/Dist: Add hp-timing.c. - * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h. - * posix/Makefile (distribute): Add tst-getconf.sh. - * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po). - -2001-04-23 Ulrich Drepper - - * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing. - * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3. - * sysdeps/ia64/hp-timing.c: New file. - * sysdeps/ia64/hp-timing.h: New file. - * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for - CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID. - - * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test - using #ifdef whether the clock is available. - * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore. - - * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move - it into data section. - - * sysdeps/unix/i386/i586/clock_getres.c: Removed. - * sysdeps/unix/i386/i586/clock_gettime.c: Removed. - * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed. - * sysdeps/unix/i386/i586/clock_settime.c: Removed. - * sysdeps/unix/i386/i586/cpuclock-init.h: Removed. - * sysdeps/generic/cpuclock-init.h: Removed. - * sysdeps/unix/i386/i686/Implies: Removed. - * sysdeps/unix/i386/i686/tempname.c: Removed. - * sysdeps/i386/i686/Versions: New file. - * sysdeps/unix/i386/i586/Versions: Removed. - - * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle - CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID. - * sysdeps/unix/clock_gettime.c: Likewise. - * sysdeps/unix/clock_nanosleep.c: Likewise. - * sysdeps/unix/clock_settime.c: Likewise. - * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define - RANDOM_BITS use CPU clock. - - * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file. - * sysdeps/sparc/Versions: New file. - - * elf/dl-support.c: Don't use cpuclock-init.h definitions, use - hp-timing.h definitions. - * sysdeps/generic/dl-sysdep.c: Likewise. - - * include/libc-internal.h: Include hp-timing.h. Use hp_timing_t in - __get_clockfreq prototype. - - * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq): - Use hp_timing_t type. - * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise. - - * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file. - - * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test - whether named file is a regular file or a block device. - * sysdeps/posix/fpathconf.c (__fpathconf): Likewise. - -2001-04-23 Andreas Jaeger - - * nscd/nscd.h: Add noreturn attribute for start_threads. - -2001-04-22 Ulrich Drepper - - * posix/getconf.c: Fix names of XBS5 LFS test variables. - Add missing configuration variables from XPG6. - * posix/tst-getconf.c: New file. - * posix/Makefile (generated): Add tst-getconf.out. - (tests): Add ($objpfx)tst-getconf.out. - Add rule to run tst-getconf.sh. - * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values - from XPG6. - * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and - _PC_SYMLINK_MAX. - * sysdeps/posix/pathconf.c: Likewise. - * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS - and _SC_SYMLOOP_MAX. - -2001-04-22 Philip Blundell - - * sysdeps/arm/fpu/feenablxcpt.c: New file. - * sysdeps/arm/fpu/fedisablxcpt.c: New file. - * sysdeps/arm/fpu/fegetexcpt.c: New file. - -2001-04-22 Philip Blundell - - * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs): - Renamed from struct user_fp. - (struct user_regs): New. - (struct user): Use struct user_regs rather than struct pt_regs to - avoid dependency on asm/ptrace.h. Use struct user_fpregs in place - of struct user_fp and struct user_fp_struct. - * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h - not sys/elf.h. - -2001-04-22 Philip Blundell - - * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to - sys/procfs.h, and tell the user to include that file instead. - * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft - surrounded with #if 0. - (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here - from sys/elf.h. - (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and - elf_fpregset_t respectively. - -2001-04-22 Philip Blundell - - * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the - address that faulted. - -2001-04-21 Ulrich Drepper - - * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_* - values. - * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values. - * posix/confstr.c: Handle _CS_POSIX_V6_* values. - * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values. - * sysdeps/posix/sysconf.c: Handle _SC_V6_* values. - - * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f. - * sysdeps/s390/fpu/libm-test-ulps: Likewise. - * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise. - * sysdeps/mips/fpu/libm-test-ulps: Likewise. - -2001-04-21 Franz Sirl - - * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid - offset. - -2001-04-21 Ulrich Drepper - - * posix/getopt.h: Treat __cplusplus like __STDC__. - -2001-04-20 John S. Marvin - - * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call - entry point stub. - -2001-04-20 Richard Hirst - - * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5), - and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils. - - * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace - entry so the ptrace.c wrapper is used. - -2001-04-20 Alan Modra - - * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype. - (DL_FUNCTION_ADDRESS): Define. - (DL_DT_INIT_ADDRESS): Define. - (DL_DT_FINI_ADDRESS): Define. - * sysdeps/hppa/Versions: Add _dl_function_address. - * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define. - * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to - _dl_function_address. - -2001-04-21 Andreas Jaeger - - * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute. - * resolv/gai_misc.c (handle_requests): Likewise. - * malloc/obstack.c (print_and_abort): Likewise. - * malloc/mcheck.c (mabort): Likewise. - - * sysdeps/unix/i386/i586/clock_settime.c: Include - "libc-internal.h" for __get_clockfreq declaration. - -2001-04-21 Ulrich Drepper - - * elf/dl-support.c: Include cpuclock-init.h. Use CPUCLOCK_VARDEF and - CPUCLOCK_INIT if defined. - * sysdeps/generic/dl-sysdep.c: Likewise. - * sysdeps/generic/cpuclock-init.h: New file. - * sysdeps/unix/i386/i586/cpuclock-init.h: New file. - * sysdeps/unix/i386/i586/Versions: New file. - * sysdeps/unix/i386/i586/clock_settime.c: New file. - * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock - separately by calling __pthread_clock_gettime if this function is - available. Subtract offset from tsc value before computing time value. - -2001-04-20 Ulrich Drepper - - * iconv/iconv_prog.c (print_known_names): If printing goes not to - a tty print in a more machine-friendly way. - - * sysdeps/ieee754/ldbl-128/e_asinl.c: New file. - Contributed by Stephen L Moshier . - -2001-04-20 Andreas Jaeger - - * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt. - -2001-04-20 Andreas Schwab - - * sysdeps/m68k/fpu/libm-test-ulps: Update. - -2001-04-19 Alan Modra - - * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os). - * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define. - (CFLAGS-.os): Remove. - - * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment. - - * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG, - gregset): Correct for new kernel definitions. - -2001-04-19 Alan Modra - - * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and - generate unwind info by hand. - -2001-04-19 Ulrich Drepper - - * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit. - - * configure.in: Correct regular expression for msgfmt. - Patch by Bruno Haible . - -2001-04-19 Andreas Jaeger - - * po/el.po: Add comment explaining what's broken. - - * po/Makefile (BROKEN_LINGUAS): New. - (ALL_LINGUAS): Don't add broken languages. - -2001-04-19 Roland McGrath - - * sysdeps/mach/hurd/mlock.c: New file. - * sysdeps/mach/hurd/munlock.c: New file. - * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it. - - * misc/Makefile (routines): Add mlock munlock mlockall munlockall. - * sysdeps/generic/mlock.c: New file. - * sysdeps/generic/munlock.c: New file. - * sysdeps/generic/mlockall.c: New file. - * sysdeps/generic/munlockall.c: New file. - * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros. - * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock, - mlockall, munlockall): Change caller field to - from EXTRA. - Don't use __ names; not used (and not declared in include/sys/mman.h). - - * hurd/privports.c (__get_privileged_ports): Renamed with __. - Use __ names for calls we make. - (get_privileged_ports): Add alias. - * hurd/hurd.h: Declare it with the __ name. - * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports. - * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise. - * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise. - - * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do - nothing if it's zero. - -2001-04-19 Matthew Wilcox - - * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): - Change to return a signed result for compatibility with other - architectures, and correctness. - -2001-04-19 Ulrich Drepper - - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS): - HPPA always had them. Patch by Matthew Wilcox . - -2001-04-19 Andreas Jaeger - - * configure.in: Require gettext 0.10.36 or newer. - - * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36. - - * po/zh_TW.po: Remove extraneous backslashes. - - * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused - variables b and n. - -2001-04-18 Jakub Jelinek - - * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update. - * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext): - Copy first word of uc_sigmask into __uc_sigmask. - * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext): - Save uc_link around trap. Copy __uc_sigmask into first word of - uc_sigmask, clear the rest. Make sure setcontext to the created - context doesn't do this though. - * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file. - * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add - uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the - 64bit version, make uc_sigmask __sigset_t in the 32bit version. - -2001-04-19 Andreas Jaeger - - * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch. - - * rt/Makefile (otherlibs): Added for static NSS. - - * glibcbug.in (BUGGLIBC): Send to new alias. - -2001-04-02 Andreas Schwab - - * Makerules (build-module): Make sure exit codes get checked - properly and remove unnecessary slashes. - -2001-04-17 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq): - Handle kernels which report only three digits after the decimal point. - Reported by Van Okamura . - - * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f. - -2001-04-17 David S. Miller - - * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests. - * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise. - -2001-04-17 Jakub Jelinek - - * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure - desired exceptions are raised for exceptional values. - * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test, - cacosh_test, casin_test, casinh_test, catan_test, catanh_test, - clog_test, log_test, log1p_test, tan_test): Increase precision of - expected values to satisfy ldbl-128. - * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly. - * sysdeps/arm/libm-test-ulps: Likewise. - * sysdeps/i386/fpu/libm-test-ulps: Likewise. - * sysdeps/ia64/fpu/libm-test-ulps: Likewise. - * sysdeps/m68k/fpu/libm-test-ulps: Likewise. - * sysdeps/mips/fpu/libm-test-ulps: Likewise. - * sysdeps/powerpc/fpu/libm-test-ulps: Likewise. - * sysdeps/s390/fpu/libm-test-ulps: Likewise. - * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise. - * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise. - * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise. - -2001-04-17 Andreas Jaeger - - * configure.in: Move test for critical programs up. - -2001-04-16 Stephen L Moshier - - * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi): - Correct the values. - (pSx, qSx): Replace by shorter approximation. - Use f suffix on float constants. - -2001-04-16 Ulrich Drepper - - * sysdeps/ieee754/ldbl-128/k_tanl.c: New file. - Contributed by Stephen L Moshier . - - * string/string.h: Replace const in attribute list with __const__. - -2001-04-16 Roland McGrath - - * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf - instead of the constant NGROUPS_MAX. That way, the limit can be - raised in the kernel configuration without having to recompile libc. - - * sysdeps/posix/euidaccess.c: Don't #include or try to - define NGROUPS_MAX; we don't use it here. - -2001-04-16 Andreas Jaeger - - * math/libm-test.inc (atan2_test): Add more testcases. - - * iconv/gconv_db.c: Include gconv_charset.h for - __gconv_lookup_alias prototype. - -2001-04-13 Ulrich Drepper - - * sysdeps/ieee754/ldbl-128/s_atanl.c: New file. - Contributed by Stephen L Moshier . - -2001-04-13 Jes Sorensen - - * intl/tst-codeset.c: Include string.h to get prototype for strcmp(). - -2001-04-13 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to - explicitly pad struct siginfo instead of relying on compiler padding. - -2001-04-12 Ulrich Drepper - - * sysdeps/ia64/Dist: Add elf/entry.h. - - * iconvdata/Makefile (distribute): Add TESTS2. - -2001-04-13 Jakub Jelinek - - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address): - Calculate load address differently. - -2001-04-12 Bruno Haible - - * iconvdata/TESTS2: New file. - * iconvdata/run-iconv-test.sh: Also run tests from TESTS2. - * iconvdata/testdata/alfabeta..UTF-8: New file. - * iconvdata/testdata/alfabeta..UTF-16.BE: New file. - * iconvdata/testdata/alfabeta..UTF-16.LE: New file. - * iconvdata/testdata/alfabeta..UTF-32.BE: New file. - * iconvdata/testdata/alfabeta..UTF-32.LE: New file. - -2001-04-11 Bruno Haible - - * iconvdata/utf-32.c: New file. - * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE. - * iconvdata/Makefile (modules): Add UTF-32. - (distribute): Add utf-32.c. - -2001-04-11 Bruno Haible - - * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly - changing it in the state. After incrementing 'inptr', store it back. - * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr', - store it back. - -2001-04-11 Bruno Haible - - * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not - MIN_NEEDED_FROM. - -2001-04-11 David Mosberger - - * sysdeps/ia64/htonl.S: Drop superfluous "alloc". - * sysdeps/ia64/htons.S: Likewise. - - * sysdeps/ia64/memset.S: Add unwind directives. - * sysdeps/ia64/strncpy.S: Likewise. - * sysdeps/ia64/strcat.S: Likewise. - - * sysdeps/ia64/memccpy.S: Add unwind directives. Drop superfluous - restore of ar.pfs. - * sysdeps/ia64/strchr.S: Likewise. - * sysdeps/ia64/memmove.S: Likewise. - * sysdeps/ia64/memcpy.S: Likewise. - * sysdeps/ia64/memcmp.S: Likewise. - * sysdeps/ia64/memchr.S: Likewise. - * sysdeps/ia64/strcmp.S: Likewise. - * sysdeps/ia64/strlen.S: Likewise. - * sysdeps/ia64/strcpy.S: Likewise. - * sysdeps/ia64/strncmp.S: Likewise. - -2001-04-11 Jakub Jelinek - - * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar, - fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked, - fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked, - fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW. - -2001-04-11 Andreas Jaeger - - * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it. - -2001-04-11 Andreas Schwab - - * sysdeps/m68k/fpu/libm-test-ulps: Adjusted. - -2001-04-11 Ulrich Drepper - - * sysdeps/arm/stackinfo.h: New file. - -2001-04-08 Thorsten Kukuk - - * sunrpc/rpc_main.c: If we compile RPC thread safe, allow - rpcgen to generate thread safe code. - -2001-04-10 Andreas Jaeger - - * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration. - -2001-04-10 Ulrich Drepper - - * elf/dl-minimal.c (__assert_fail): Change error string. It's - most of the time no bug in ld.so. - (__assert_perror_fail): Likewise. - -2001-04-11 Hans-Peter Nilsson - - * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type - from struct to unsigned int. - -2001-04-10 Franz Sirl - - * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE, - AT_IGNOREPPC): New defines. - * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them. - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV): - Define for newer powerpc kernels. - * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard - DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined. - -2000-4-10 kaz Kojima - - * sysdeps/sh/stackinfo.h: New file. - -2001-04-10 Ulrich Drepper - - * locale/tst-C-locale.c (run_test): Add tests for locale objects. - * locale/newlocale.c (__newlocale): Correct setting __ctype_b, - __ctype_tolower, and __ctype_toupper elements. - - * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l. - Reported by Konstantin Osipov . - - * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help - the lousy AMD FPU. - -2001-04-10 Franz Sirl - - * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file. - * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h. - * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff. - * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs. - -2001-04-10 Ulrich Drepper - - * elf/dl-deps.c (_dl_map_object_deps): Provide complete error - message. Based on a patch by HJ Lu. - -2001-04-10 Andreas Schwab - - * math/libm-test.inc (csinh_test): Don't require the invalid - exception for csinh (x + iNaN), but make it optional. - -2001-04-09 David Mosberger - - * sysdeps/ia64/elf/start.S (_start): Add unwind directives. - - * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start. - * sysdeps/ia64/elf/entry.h: New file. - * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare - __start. - * elf/rtld.c: Don't declare ENTRY_POINT. Use ENTRY_POINT instead - of &ENTRY_POINT. - * sysdeps/generic/dl-sysdep.c: Likewise. - * sysdeps/mach/hurd/dl-sysdep.c: Likewise. - * sysdeps/ia64/elf/start.S: Save base address of register backing - store in __libc_ia64_register_backing_store_base. - -2001-04-10 Martin Schwidefsky - - * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return - value of getcontext. - * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return - value of setcontext. - * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise. - * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext - call by changing the saved context. - -2001-04-10 Ulrich Drepper - - * sysdeps/alpha/stackinfo.h: New file. - * sysdeps/ia64/stackinfo.h: New file. - -2001-04-10 Andreas Schwab - - * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional - values. - * sysdeps/m68k/fpu/e_scalb.c: Likewise. - -2001-04-09 Ulrich Drepper - - * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c. - * sysdeps/sparc/sparc64/Dist: Add hp-timing.c. - - * libio/Makefile (distribute): Add fd_to_filename.h. - -2001-04-05 David S. Miller - - Add hp-timing support for sparcv9/sparc64 targets. - * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file - * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file - * sysdeps/sparc/sparc64/hp-timing.c: New file - * sysdeps/sparc/sparc64/hp-timing.h: New file - * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing. - * sysdeps/sparc/sparc64/Makefile: Likewise. - -2001-04-09 Jakub Jelinek - - * sysdeps/generic/fd_to_filename.h: New file. - * sysdeps/unix/sysv/linux/fd_to_filename.h: New file. - * libio/freopen.c (freopen): If FILENAME is NULL, try to get - filename from the open file descriptor. - * libio/freopen64.c (freopen64): Likewise. - -2001-04-09 Bruno Haible - - * misc/error.c (error): fflush stdout also if - error_print_progname != NULL. - (error_at_line): Likewise. - -2001-04-07 Bruno Haible - - * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field. - (struct binding): Add codeset_cntr field. - (_nl_load_domain): Add domainbinding argument. - (_nl_init_domain_conv, _nl_free_domain_conv): New declarations. - (_nl_find_msg): New declaration, moved here from loadinfo.h. - * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field. - (_nl_make_l10nflist): Remove domainbinding argument. - (_nl_find_msg): Move declaration to gettextP.h. - * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr - to 0. Increment it when ->codeset is changed. - * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg. - (_nl_find_msg): Add domainbinding argument. Reinitialize the converter - if domainbinding->codeset_cntr has been incremented. - * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to - _nl_make_l10nflist(). Pass it to _nl_load_domain() instead. - * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument. - * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted - from _nl_load_domain. Append //TRANSLIT also when using libiconv. - (_nl_free_domain_conv): New function, extracted from _nl_unload_domain. - (_nl_load_domain): Add domainbinding argument. Call - _nl_init_domain_conv. - (_nl_unload_domain): Call _nl_free_domain_conv. - * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po. - (test-srcs): Add tst-codeset. - (tests): Depend on tst-codeset.out. - (tst-codeset.out): New rule. - (CFLAGS-tst-codeset.c): New variable. - * intl/tst-codeset.sh: New file. - * intl/tstcodeset.po: New file. - * intl/tst-codeset.c: New file. - * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist - calls. - -2001-04-07 Roland McGrath - - * mach/msgserver.c (__mach_msg_server_timeout): Add an assert. - -2001-03-31 Roland McGrath - - * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when - copying send rights into child. When we hit our name for our proc - port, just copy NEWPROC directly instead of repeating proc_task2proc - to install the child's port. - -2001-04-08 Roland McGrath - - * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT - in second column, to provide default values for third column. - * shlib-versions: Add comments about using DEFAULT in second column. - (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry. - (cris-.*-linux.*): Likewise. - -2001-04-09 Ulrich Drepper - - * Makefile (distribute): Add scripts/documented.sh. - * scripts/documented.sh: New file. - -2001-04-08 Hans-Peter Nilsson - - * sysdeps/unix/sysv/linux/cris/Dist: New file. - * sysdeps/unix/sysv/linux/cris/Makefile: New file. - * sysdeps/unix/sysv/linux/cris/_G_config.h: New file. - * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file. - * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file. - * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file. - * sysdeps/unix/sysv/linux/cris/brk.c: New file. - * sysdeps/unix/sysv/linux/cris/chown.c: New file. - * sysdeps/unix/sysv/linux/cris/clone.S: New file. - * sysdeps/unix/sysv/linux/cris/fchown.c: New file. - * sysdeps/unix/sysv/linux/cris/fcntl.c: New file. - * sysdeps/unix/sysv/linux/cris/fxstat.c: New file. - * sysdeps/unix/sysv/linux/cris/getegid.c: New file. - * sysdeps/unix/sysv/linux/cris/geteuid.c: New file. - * sysdeps/unix/sysv/linux/cris/getgid.c: New file. - * sysdeps/unix/sysv/linux/cris/getgroups.c: New file. - * sysdeps/unix/sysv/linux/cris/getresgid.c: New file. - * sysdeps/unix/sysv/linux/cris/getresuid.c: New file. - * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file. - * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file. - * sysdeps/unix/sysv/linux/cris/getuid.c: New file. - * sysdeps/unix/sysv/linux/cris/lchown.c: New file. - * sysdeps/unix/sysv/linux/cris/lockf64.c: New file. - * sysdeps/unix/sysv/linux/cris/lxstat.c: New file. - * sysdeps/unix/sysv/linux/cris/mmap.S: New file. - * sysdeps/unix/sysv/linux/cris/mmap64.S: New file. - * sysdeps/unix/sysv/linux/cris/msgctl.c: New file. - * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file. - * sysdeps/unix/sysv/linux/cris/register-dump.h: New file. - * sysdeps/unix/sysv/linux/cris/semctl.c: New file. - * sysdeps/unix/sysv/linux/cris/setegid.c: New file. - * sysdeps/unix/sysv/linux/cris/seteuid.c: New file. - * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file. - * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file. - * sysdeps/unix/sysv/linux/cris/setgid.c: New file. - * sysdeps/unix/sysv/linux/cris/setgroups.c: New file. - * sysdeps/unix/sysv/linux/cris/setregid.c: New file. - * sysdeps/unix/sysv/linux/cris/setresgid.c: New file. - * sysdeps/unix/sysv/linux/cris/setresuid.c: New file. - * sysdeps/unix/sysv/linux/cris/setreuid.c: New file. - * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file. - * sysdeps/unix/sysv/linux/cris/setuid.c: New file. - * sysdeps/unix/sysv/linux/cris/shmctl.c: New file. - * sysdeps/unix/sysv/linux/cris/socket.S: New file. - * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file. - * sysdeps/unix/sysv/linux/cris/syscall.S: New file. - * sysdeps/unix/sysv/linux/cris/sysdep.S: New file. - * sysdeps/unix/sysv/linux/cris/sysdep.h: New file. - * sysdeps/unix/sysv/linux/cris/vfork.S: New file. - * sysdeps/unix/sysv/linux/cris/xstat.c: New file. - -2001-04-08 Hans-Peter Nilsson - - * sysdeps/cris/Dist: New file. - * sysdeps/cris/Implies: New file. - * sysdeps/cris/Makefile: New file. - * sysdeps/cris/__longjmp.S: New file. - * sysdeps/cris/_mcount.S: New file. - * sysdeps/cris/bits/endian.h: New file. - * sysdeps/cris/bits/setjmp.h: New file. - * sysdeps/cris/bits/string.h: New file. - * sysdeps/cris/dl-machine.h: New file. - * sysdeps/cris/elf/start.S: New file. - * sysdeps/cris/machine-gmon.h: New file. - * sysdeps/cris/memcopy.h: New file. - * sysdeps/cris/memusage.h: New file. - * sysdeps/cris/setjmp.S: New file. - * sysdeps/cris/sysdep.h: New file. - * sysdeps/cris/wordcopy.c: New file. - -2001-04-08 Hans-Peter Nilsson - - * elf/elf.h: Add new relocations for CRIS. - -2001-04-08 Hans-Peter Nilsson - - * shlib-versions: Add cases for Linux on CRIS. - -2001-04-08 Hans-Peter Nilsson - - * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with - ';' for comments and '@' for line separator. - -2001-04-08 Hans-Peter Nilsson - - * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix - typo; s/==/=/ for assignment. - -2001-04-08 Hans-Peter Nilsson - - * malloc/Makefile: Correct comment; mtrace is Perl, not AWK. - -2001-04-08 Hans-Peter Nilsson - - * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for - empty input before checking full output. - -2001-04-08 Hans-Peter Nilsson - - * iconv/gconv.c (__gconv): Don't derefer parameter cd before - checking if == -1L. - -2001-04-08 Ulrich Drepper - - * inet/rexec.c (rexec_af): Avoid calling perror with errno being set. - -2001-04-07 Stephen L Moshier - - * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN - return values. - -2001-04-07 Ulrich Drepper - - * stdlib/tst-setcontext.c (main): Add a test for setcontext. - - * sysdeps/unix/sysv/linux/i386/getcontext.S: New file. - * sysdeps/unix/sysv/linux/i386/setcontext.S: New file. - * sysdeps/unix/sysv/linux/i386/makecontext.S: New file. - * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file. - * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file. - * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h. - -2001-04-07 Andreas Jaeger - - * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos - instead of separate sin and cos. - (__ieee754_j1l): Likewise. - -2001-04-06 Ulrich Drepper - - * sysdeps/ia64/abort-instr.h: New file. Code by David Mosberger. - - * sysdeps/ia64/atomicity.h: New file. Copied from libstdc++. - - * sysdeps/i386/i486/atomicity.h: Clean up the asms. - - * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's - available. - * sysdeps/generic/e_scalbf.c: Likewise. - * sysdeps/generic/e_scalbl.c: Likewise. - Patch by Mark Hatle . - -2001-04-05 David S. Miller - - * sysdeps/sparc/abort-instr.h: New file. - -2001-04-05 Matt Wilson - - * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER): - added code to parse new 2.4 format. - (GET_NPROCS_CONF_PARSER): Likewise. - -2001-04-05 David S. Miller - - * scripts/config.sub: Recognize sparcv9b like sparcv9. - * configure.in: Add sparcv9b. - * sysdeps/sparc/sparc32/sparcv9b/Implies: New file - * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file - * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file - -2001-04-06 David Mosberger - - * stdlib/tst-setcontext.c: Move st2[] to global scope. - (f2): Verify that stack pointer is inside st2[]. - - * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12. - * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12. - -2001-04-06 Ulrich Drepper - - * timezone/antarctica: Update from tzdata2001b. - * timezone/asia: Likewise. - * timezone/australasia: Likewise. - * timezone/europe: Likewise. - * timezone/northamerica: Likewise. - - * iconv/iconv_open.c: Move strip and upstr definitions... - * iconv/gconv_charset.h: ...here. New file. - * iconv/gconv_db.c (once): Move to file level. - (do_lookup_alias): Split out from __gconv_find_transform. - (__gconv_find_transform): Call do_lookup_alias. - (__gconv_loopup_alias): New function. - * locale/langinfo.h: Define _NL_*_CODESET values for all categories - but LC_CTYPE. - * locale/categories.def: Add entries for new _NL_*_CODESET values. - * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry. - * locale/C-address.c: Initialize _NL_*_CODESET element. + * libio/iofwide.c: Reset __trans member of __gconv_trans_data + structure correctly after last change. + * wcsmbs/btowc.c: Likewise. + * wcsmbs/mbrtowc.c: Likewise. + * wcsmbs/mbsnrtowcs.c: Likewise. + * wcsmbs/mbsrtowcs.c: Likewise. + * wcsmbs/wcrtomb.c: Likewise. + * wcsmbs/wcsnrtombs.c: Likewise. + * wcsmbs/wcsrtombs.c: Likewise. + * wcsmbs/wctob.c: Likewise. + + * localedata/Makefile: Set -Wno-format for some files since gcc does + not know all the format specifiers. + +2000-06-18 Ulrich Drepper + + * locale/loadlocale.c (_nl_unload_locale): Remove a bit of + unneeded code. + * locale/lc-time.c (_nl_init_era_entries): Likewise. + +2000-06-18 Andreas Jaeger + + * sysdeps/mips/dl-machine.h: Always use $25 as jump register. + Patch by Ralf Baechle . + +2000-06-17 Ulrich Drepper + + * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use + LINUX_LINK_MAX. + * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise. + + * locale/programs/ld-ctype.c (ctype_output): Really write out + mboutdigits information. + * localedata/tst-trans.c: Add code to test printf's I flag with locale. + * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment. + * localedata/tests/trans.def: Add outdigit information. + + * localedata/tst-mbswcs3.c: Remove comment. + + * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag. + * stdio-common/tiformat.c (sprint_ints): Add tests for I flag. + * libio/tst_wprintf.c (main): Add test for I flag. + + * iconv/gconv_trans.c: Implement handling if translit_ignore. + * locale/langinfo.h: Add entries for translit_ignore information. + * locale/categories.def: Add entries for new LC_CTYPE elements. + * locale/C-ctype.c: Add initializers for new fields. Use NULL + pointer instead of "" where possible. + * locale/programs/ld-ctype.c: Write out translit_ignore information. + * intl/Depend: Add localedata. + * intl/tst-gettext.c: Call setlocale for LC_CTYPE. + * intl/tst-gettext.sh: Set LOCPATH to localedata build dir. + +2000-06-16 Ulrich Drepper + + * locale/langinfo.h: Add entries for default_missing information. + * locale/C-ctype.c: Add initializers for new fields. + * iconv/gconv_trans.c: If nothing matched, try to use default_missing + information. + * locale/categories.h: Add entries for all LC_CTYPE values. + * locale/programs/ld-ctype.c (ctype_output): Write out default_missing + information. + + * localedata/tst-trans.c: Write out an error message if class is + not found. + + * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix. + * iconv/gconv_open.c: Remove error handling specification from `from' + character set name. + * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with + new parameter to always enable transliteration. + * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible + change. + (struct locale_data): Add new members use_translit and options. + * locale/findlocale.c (_nl_find_locale): Set use_translit flag is + character set name contained modifier TRANSLIT. + * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit + and options fields. + (_nl_unload_locale): Free options string if necessary. + * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if + the locale names suggested this. + * locale/C-address.c: Add two new initialilzers to adjust data + structure for new format. * locale/C-collate.c: Likewise. + * locale/C-ctype.c: Likewise. * locale/C-identification.c: Likewise. * locale/C-measurement.c: Likewise. * locale/C-messages.c: Likewise. @@ -3885,1778 +8272,4382 @@ * locale/C-paper.c: Likewise. * locale/C-telephone.c: Likewise. * locale/C-time.c: Likewise. - * locale/localeinfo.h: Declare _nl_C_codeset. - * locale/C_name.c: Define _nl_C_codeset. - * locale/findlocale.c: Before accepting locale check that the used - charset does not conflict with what the locale name said. - * locale/programs/ld-address.c: Emit codeset information. - * locale/programs/ld-collate.c: Likewise. - * locale/programs/ld-identification.c: Likewise. - * locale/programs/ld-measurement.c: Likewise. - * locale/programs/ld-messages.c: Likewise. - * locale/programs/ld-monetary.c: Likewise. - * locale/programs/ld-name.c: Likewise. - * locale/programs/ld-numeric.c: Likewise. - * locale/programs/ld-paper.c: Likewise. - * locale/programs/ld-telephone.c: Likewise. - * locale/programs/ld-time.c: Likewise. - * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error - if the locale data couldn't be found. + * locale/setlocale.c: Add some more __builtin_expect. + +2000-06-15 Ulrich Drepper + + * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to + unsigned char **. + (__gconv_init_fct): Remove two parameters. + * iconv/gconv_int.h (__gconv_transliterate): Renamed from + gconv_transliterate. Remove two parameters. + Change prototypes of builtin functions according to __gconv_fct change. + * iconv/skeleton.c: Change type of fifth parameter. make sure it is + != NULL only during error handling. Stop in this case after the + conversion. + * iconv/gconv_trans.c: Replace with real implementation for + __gconv_transliterate. + * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate. + * iconv/gconv.c: Change calls to downstream functions once again. + Use NULL for the fifth parameter instead of pointer to output buffer. + * libio/iofwide.c: Likewise. + * wcsmbs/btowc.c: Likewise. + * wcsmbs/mbrtowc.c: Likewise. + * wcsmbs/mbsnrtowcs.c: Likewise. + * wcsmbs/mbsrtowcs.c: Likewise. + * wcsmbs/wcrtomb.c: Likewise. + * wcsmbs/wcsnrtombs.c: Likewise. + * wcsmbs/wcsrtombs.c: Likewise. + * wcsmbs/wctob.c: Likewise. + * iconv/gconv_simple.c: Remove two parameters from error handling + function call. + * iconvdata/8bit-gap.c: Likewise. + * iconvdata/8bit-generic.c: Likewise. + * iconvdata/ansi_x3.110.c: Likewise. + * iconvdata/big5.c: Likewise. + * iconvdata/big5hkscs.c: Likewise. + * iconvdata/euc-cn.c: Likewise. + * iconvdata/euc-jp.c: Likewise. + * iconvdata/euc-kr.c: Likewise. + * iconvdata/euc-tw.c: Likewise. + * iconvdata/gbgbk.c: Likewise. + * iconvdata/gbk.c: Likewise. + * iconvdata/iso-2022-cn.c: Likewise. + * iconvdata/iso-2022-jp.c: Likewise. + * iconvdata/iso-2022-kr.c: Likewise. + * iconvdata/iso646.c: Likewise. + * iconvdata/iso8859-1.c: Likewise. + * iconvdata/iso_6937-2.c: Likewise. + * iconvdata/iso_6937.c: Likewise. + * iconvdata/johab.c: Likewise. + * iconvdata/sjis.c: Likewise. + * iconvdata/t.61.c: Likewise. + * iconvdata/uhc.c: Likewise. + * iconvdata/unicode.c: Likewise. + * iconvdata/utf-16.c: Likewise. + +2000-06-15 Greg McGary + + * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs + of callnum assignment. Tolerate callnum expressions containing + parens. + +2000-06-14 Ulrich Drepper + + * login/Makefile (utmpd): Remove rule to build utmpd. + + * csu/Versions: Move libgcc frame handling functions from here... + * sysdeps/unix/sysv/linux/alpha/Versions: ...to here... + * sysdeps/unix/sysv/linux/arm/Versions: ...to here... + * sysdeps/unix/sysv/linux/i386/Versions: ...to here... + * sysdeps/unix/sysv/linux/m68k/Versions: ...to here... + * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here... + * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here. + New file. + * sysdeps/mach/hurd/i386/Versions: ...and here. New file. + + * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment. + + * misc/syslog.c (vsyslog): Initialize msgoff in all cases. - * string/Makefile: Define tst-strxfrm-ENV. +2000-06-14 Kazumoto Kojima + + * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward + compatibility. + * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise. + * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise. + * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise. + * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise. - * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment. +2000-06-14 Jakub Jelinek -2001-04-06 Andreas Jaeger + * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is + defined, terminate quotes and read them after the comment char. + * configure.in (HAVE_SECTION_QUOTES): Test whether + __attribute__((section ("x"))) puts quotes around x or not. + * config.h.in (HAVE_SECTION_QUOTES): Add. + * configure: Rebuilt. - * include/sys/profil.h: New file. +2000-06-14 Andreas Jaeger - * dlfcn/modatexit.c: Add prototypes to silence GCC. - * dlfcn/modcxaatexit.c: Likewise. - * elf/globalmod1.c: Likewise. + * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir + depending on the configure option --sysconfdir. + Closes PR libc/1762. + Patch by Andreas Schwab . -2001-04-05 David S. Miller + * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user + entry point. + Reported by Jim Pick . - * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it. - * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to - capability flags table and HWCAP_IMPORTANT, increase - _DL_HWCAP_COUNT to 6. - * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise. +2000-06-14 Ulrich Drepper -2001-04-04 David Mosberger + * misc/syslog.c (vsyslog): Allow open_memstream to fail without + crashing the application. Emit some simple error message. + Reported by mju@panasas.com [PR libc/1769]. - * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix - initialization of stack_end (bug reported by Zheng Gengbin - ). +2000-06-13 Ulrich Drepper -2001-04-05 Ulrich Drepper + * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c. - * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl. + * crypt/Makefile (distribute): Add md5.h. -2001-04-05 Martin Schwidefsky + * Makefile (distribute): Add include/shlib-compat.h. - * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file. + * Make-dist: Search for tests also in sysdeps hierachy. -2001-04-05 Ulrich Drepper + * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h, + ufc.c, speeds.c, README.ufc-crypt, and Banner. - * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf. - * sysdeps/i386/fpu/e_asinl.S: Removed. Too inaccurate. + * sysdeps/sparc/Subdirs: New file. - * login/tst-utmp.c: Make file usable again in tst-utmpx.c. + * locale/Makefile (distribute): Add weightwc.h and + programs/localedef.h. -2001-04-04 Ulrich Drepper + * time/Makefile (distribute): Add datemsk. - * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version, - define simple replacements here. Patch by Michael Keezer. + * sysdeps/ia64/Dist: Add softpipe.h. - * sysdeps/ieee754/ldbl-128/e_logl.c: New file. - * sysdeps/ieee754/ldbl-96/e_asinl.c: New file. - Contributed by Stephen L Moshier . + * sysdeps/unix/sysv/aix/Dist: New file. - * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used - anymore. + * posix/setpgrp.c: Moved to... + * sysdeps/generic/setpgrp.c: ...here. New file. + * io/mknod.c: Moved to... + * sysdeps/generic/mknod.c: ...here. New file. -2001-04-01 Andreas Jaeger + * sysdeps/unix/sysv/linux/ia64/Dist: New file. - * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl - alias. + * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h. - * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias. + * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c. -2001-04-04 Ulrich Drepper + * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S, + gprsave0.S, gprrest1.S, and gprrest0.S. - * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h. - * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise. + * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h. -2001-04-04 Martin Schwidefsky + * posix/Makefile (routines): Add spawnattr_getsigmask, + spawnattr_getschedpolicy, spawnattr_getschedparam, + spawnattr_setsigmask, spawnattr_setschedpolicy, and + spawnattr_setschedparam. + * posix/Versions: Add posix_spawnattr_getschedpolicy, + posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and + posix_spawnattr_setschedparam. - * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file. - * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file. + * posix/spawnattr_setschedparam.c: Fix typo. -2001-04-04 Andreas Jaeger + * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask): + Correct typo. - * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right - place. + * login/programs/utmpd.c: Removed. + * login/programs/utmpd.h: Removed. + * login/programs/utmpd-private.h: Removed. -2001-04-04 Ulrich Drepper + * Makefile (distribute): Add include/db_185.h and include/db.h. - * sunrpc/rpc_scan.c (symbols): Add entry for HYPER. - * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER. - * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER. - (unsigned_dec): Likewise. - Patch by atai@jezebel.dreamhost.com. + * iconvdata/Makefile (distribute): Add iso-ir-165.c and + iso-ir-165.h. - * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass - pointer to int as last parameter of yp_match. - Patch by kanazawa@flab.fujitsu.co.jp. + * elf/Makefile (distribute): Add missing files. -2001-04-03 Ulrich Drepper + * dlfcn/Makefile: Add back rules to include eval in libdl.so. + * elf/eval.c: Moved to... + * dlfcn/eval.c: ...here. New file. - * resolv/netdb.h (gai_strerror): Make return value const. - * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise. - * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise. - Add strings for new error values. + * Makefile (distribute): Also distribute ChangeLog.1?. -2001-03-29 Michael Keezer + * Make-dist (+tsrcs): Remove .args handling here as well. - * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE. - * login/tst-utmp.c: Handle case where ut_tv is not available but - ut_time is. - * sysdeps/unix/sysv/aix/utmpx.h: New file. - * sysdeps/unix/sysv/aix/bits/utmpx.h: Added - _HAVE_UT_TYPE/PID/ID/TV/HOST defines. - * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub. - * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines - to access RTCU timer reg. - * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o - added dl-libc, dl-open,dl-sym, dl-close to misc. - * sysdeps/unix/sysv/aix/start.c: New file. Start code. - * sysdeps/unix/sysv/aix/dlldr.h: New file. AIX __loadx defines. - * sysdeps/unix/sysv/aix/dl-close.c: New file. AIX dl-close. - * sysdeps/unix/sysv/aix/dl-open.c: New file. AIX dl-open. - * sysdeps/unix/sysv/aix/dl-sym.c: New file. AIX dl-sym. - * sysdeps/unix/sysv/aix/dl-libc.c: New file. libc_dl-xxx support. - * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0, - GLIBC_2_2). - * sysdeps/generic/strtoull.c: Likewise. - * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction. - * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include - sysdeps/generic/memset.c. - * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername. + * rt/Makefile (tests): Add tst-timer. + * sysdeps/generic/tst-timer.c: New file. -2001-04-03 Ulrich Drepper + * Makerules (sources): Don't add BP sources here. - * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER. - * locale/programs/charmap.c: Define null_pointer if - NEED_NULL_POINTER is defined. + * login/Makefile (distribute): Remove xtmp.h. - * misc/dirname.c (dirname): Handle multiple slashes correctly. + * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid + is true. Reported by Bruno Haible . -2001-04-03 Martin Schwidefsky +2000-06-13 Andreas Jaeger - * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access. + * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines. + Patch by Ralf Baechle . -2001-04-03 Martin Schwidefsky +2000-06-13 Ulrich Drepper - * sysdeps/s390/s390-32/bcopy.S: Optimize for speed. - * sysdeps/s390/s390-64/bcopy.S: Likewise. - * sysdeps/s390/s390-32/mempcy.S: Likewise. - * sysdeps/s390/s390-64/memcpy.S: Likewise. + * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information + for mincore syscall. -2001-04-02 Bruno Haible + * misc/sys/cdefs.h: Define __bounded and __unbounded if + __BOUNDED_POINTERS__ is not defined. - * manual/message.texi (Advanced gettext functions): More specific - syntax in the plural formula examples. +2000-06-07 Greg McGary -2001-04-02 Franz Sirl + * sysdeps/generic/bp-sym.h: New file. + * sysdeps/generic/bp-start.h: New file. + * sysdeps/i386/elf/start.S: Designate BP symbols. + * sysdeps/generic/libc-start.c: Wrap bounds around + argv & envp and each of their string members. - * sysdeps/powerpc/atomicity.h: Silence warnings. - * sysdeps/powerpc/dl-machine.h: Likewise. - * sysdeps/powerpc/register-dump.h: Likewise. - * sysdeps/powerpc/fpu/s_lrint.c: Likewise. +2000-06-07 Greg McGary -2001-04-02 Andreas Jaeger + * sysdeps/unix/make-syscalls.sh: Add comments to + output that aid debugging & comprehension. + Map simple syscall signatures to number of args. + Generate BP syscall thunk definitions. + * sysdeps/generic/bp-thunks.h: New file. + * sysdeps/unix/syscalls.list: Replace arg-count with + simple return+arg signature. + * sysdeps/unix/common/syscalls.list: Likewise. + * sysdeps/unix/inet/syscalls.list: Likewise. + * sysdeps/unix/mman/syscalls.list: Likewise. + * sysdeps/unix/sysv/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise. - * misc/tst-dirname.c (main): Add more tests, derived from a bug - report by Michael Kerrisk . +2000-06-07 Greg McGary -2001-04-01 Andreas Jaeger + * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers + for all files *.[cS]. + (CFLAGS-.ob): Don't optimize sibling calls. + (bppfx): New variable. + * Makerules (elide-bp-thunks): New variable. + (elide-routines.*): Elide BP-* files for all but *.ob. + (sources): Include bp-thunks. - * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so - is installed there. - * malloc/memusage.sh (memusageso): Likewise for libmemusage.so. +2000-06-12 Ulrich Drepper -2001-04-01 H.J. Lu + * iconv/gconv_simple.c: Remove unnecessary prototype. - * posix/annexc.c (macrofile): Renamed from TMPFILE and set to - tmpnam (NULL). - * stdlib/isomac.c (macrofile): Likewise. + * iconv/gconv_trans.c: Pretty print. -2001-03-30 Thorsten Kukuk + * elf/elf.h (R_SH_NUM): Got accidently dropped. - * inet/rcmd.c: Allow AF_UNSPEC as parameter. - * nis/ypclnt.c (yp_all): Print error message only at last try, - check for protocoll error only if we don't have a network error. + * sysdeps/unix/sysv/linux/configure.in: Improve handling of + minimal kernel versions. Add information about IA-64 kernel. -2001-04-02 Andreas Schwab + * sysdeps/unix/sysv/linux/configure.in: Allow architecture + specific minimal supported kernel versions to be specified. - * resolv/res_data.c (res_isourserver): Fix cast. + * libio/iofwide.c (_IO_fwide): Initialize transliteration part of + step data structure. + * wcsmbs/btowc.c: Likewise. + * wcsmbs/mbrtowc.c: Likewise. + * wcsmbs/mbsnrtowcs.c: Likewise. + * wcsmbs/mbsrtowcs.c: Likewise. + * wcsmbs/wcrtomb.c: Likewise. + * wcsmbs/wcsnrtombs.c: Likewise. + * wcsmbs/wcsrtombs.c: Likewise. + * wcsmbs/wctob.c: Likewise. -2001-04-02 Andreas Jaeger + * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file. + * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed. - * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for - __umount2. + * shlib-versions: Earliest backward compatible version for SH is 2.2. - * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line - strings. - (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise. - - * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount - initializers. - * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise. - - * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid - warning about unused variable. - - * string/string.h (strndupa): Add cast for C++ conformance. - (strdupa): Likewise. - Fixes PR libc/2173, reported by tbrowder@home.com. - -2001-03-30 Roland McGrath - - * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append - options after $(build-module), which is no longer a single command. - (LDFLAGS-link-rpcuserlibs): New variable to hold those options. - (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New - variables using it. Reported by Mark Kettenis . - -2001-03-11 Roland McGrath - - * elf/rtld.c (dl_main): Add cast to quiet warning. - * elf/dl-load.c (_dl_map_object_from_fd): Likewise. - * iconv/gconv_conf.c (__gconv_get_path): Likewise. - (__gconv_read_conf): Likewise. - * iconv/gconv_db.c (gen_steps): Likewise. - (__gconv_find_transform): Likewise. - * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise. - (fopen_uncompressed): Use const in second argument's type. - -2001-03-11 Roland McGrath - - * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function. - - * mach/mach_error.h: Fix ancient #endif syntax. - * hurd/hurdmalloc.c: Likewise. - - * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add, - compare_and_swap): Add volatile qualifier to first arg, to bring - these prototypes in line with all the other implementations. - Add a #warning to remind the builder that these are not atomic. - -2001-03-04 Roland McGrath - - * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first - member of TEMP_F so its type is _IO_FILE * as expected. - - * hurd/fopenport.c (seekio): Conditionalize type of POS argument - on [USE_IN_LIBIO]. Check the value for overflow, since for libio - it might exceed off_t's range. - -2001-02-25 Roland McGrath - - * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype. - * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise. - - * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a - macro instead of an inline function, - (MSG_EXAMINE): Likewise. - - * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##. - - * hurd/get-host.c: Include for decls of built-ins. - * hurd/hurdchdir.c: Likewise. - * sysdeps/mach/hurd/i386/sigreturn.c: Likweise. - * sysdeps/mach/hurd/opendir.c: Likewise. - - * mach/mach_init.c: Include for _exit decl. - - * mach/errsystems.awk: Give output file a trailing newline. - - * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that - the script will use our compiler for the cpp stage. - - With --enable-all-warnings we get a whole bunch of warnings, - and these are just a few fixes; there are more needed to silence it. - * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern - decls before extern inline defns to quiet gcc warning. - * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise. - * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise. - -2001-03-31 Andreas Jaeger - - * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added. - (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO. - (ARPHRD_CISCO): New. - Changes from Linux 2.4.3. - -2001-03-30 Isamu Hasegawa - - * posix/regex.c: Avoid an access violation if malloc fails. - -2001-03-30 Andreas Jaeger - - * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv. - -2001-03-29 Ulrich Drepper - - * posix/regex.c: Remove unnecessary ifs. - - * math/bits/mathcalls.h: Remove infnan declaration. - -2001-03-29 H.J. Lu - - * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, - and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined. - * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC. - -2001-03-29 Isamu Hasegawa - - * posix/regex.c: Fix typo and add a sentinel. - -2001-03-29 Ulrich Drepper - - * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with - O_NOFOLLOW. Suggested by Christoph Roland. - -2001-03-27 Martin Schwidefsky - - * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h. - * sysdeps/s390/s390-32/bits/string.h: Remove. - * sysdeps/s390/s390-64/bits/string.h: Remove. - * sysdeps/s390/s390-32/strcmp.S: New file. - * sysdeps/s390/s390-64/strcmp.S: New file. - -2001-03-27 Martin Schwidefsky - - * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo. - * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise. - -2001-03-27 Ulrich Drepper - - * version.h (VERSION): Bump to 2.2.3. - - * stdlib/isomac.c (fmt): Don't define _LIBC. - * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and - LOW_HALF only if _LIBC is defined. - - * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error. - - * posix/fnmatch_loop.c (FCT): Handle !() after * special like @() - and +(). - * posix/tst-fnmatch.input: Add test cases for matching empty strings. - - * sysdeps/ieee754/dbl-64/endian.h: Removed. Move definitions... - * include/endian.h: ...to here. - -2001-03-27 kaz Kojima - - * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG. - * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise. - -2001-03-27 Martin Schwidefsky - - * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo. - -2001-03-26 Ulrich Drepper - - * sysdeps/ia64/fpu/Dist: Add new files to distribute. - * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise. - * sysdeps/unix/sysv/linux/ia64/Dist: Likewise. - - * gmon/Makefile (headers): Add sys/profil.h. - -2001-03-18 Andreas Jaeger - - * manual/install.texi (Tools for Compilation): Advise to use GCC - 2.95.3. - (Supported Configurations): Mention s390x. - -2001-03-26 Ben Collins - - * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_* - defines to match other architectures. - -2001-03-26 Ulrich Drepper - - * libio/Makefile (tests): Add tst-ext. - * libio/tst-ext.c: New file. - - * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF. - -2001-03-25 Ulrich Drepper - - Add changes which were in this form in the original patch by - Eric Norum . - * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and - svc_max_pollfd. - * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset, - __rpc_thread_createerr, __rpc_thread_svc_pollfd, and - __rpc_thread_svc_max_pollfd. - Define svc_fdset, get_rpc_createerr, svc_pollfd, and - svc_max_pollfd. - * sunrpc/rpc_thread.c: Handle first thread special, it uses the - global variables. - Define __rpc_thread_svc_fdset, __rpc_thread_createerr, - __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd. - * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_svc_fdset, - __rpc_thread_createerr, __rpc_thread_svc_pollfd, and - __rpc_thread_svc_max_pollfd. - * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to - get_rpc_createerr. - * sunrpc/clnt_perr.c: Likewise. - * sunrpc/clnt_simp.c: Likewise. - * sunrpc/clnt_tcp.c: Likewise. - * sunrpc/clnt_udp.c: Likewise. - * sunrpc/clnt_unix.c: Likewise. - * sunrpc/pm_getport.c: Likewise. - - * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32 - syscall checks for negative n so don't test here as well. - -2001-03-23 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ... - * sysdeps/ia64/sysdep.h: ...here. - - * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define. - * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define. - - * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to - declare instead of LEAF(). Suggestion from David Mosberger. - -2001-03-21 David Mosberger - - * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind - directives. - (PSEUDO): Drop .psr and .lsb directives. - - * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto. Add unwind - directives. - * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto. - - * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb - directives etc. - * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto. - * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto. - * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no - longer needed). Add unwind directives. - - * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS, - ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE. - -2001-03-21 Paul Eggert - - * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro. - (RE_SYNTAX_POSIX_EGREP): Use it. - * posix/regex.c (regex_compile): Implement it. - -2001-03-21 Paul Eggert - - * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow. - Rewrite to avoid duplicate code. - -2001-03-21 H.J. Lu - - * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out - for cross-compiling. - ($(objpfx)tst-pathopt.out): Undo the last change. - -2001-03-24 Mark Kettenis - - * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc, - sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl. - - * sysdeps/mach/hurd/i386/init-first.c: Include . - (_dl_argv): Declare. - (init) [SHARED]: Readjust _dl_argv if we switched to a new stack. - -2001-03-22 Andreas Jaeger - - * iconvdata/Makefile (generated): Add iconv-test.xxx. - - * posix/Makefile (generated): Add bug-regex2.mtrace and - bug-regex2-mem. - -2001-03-21 Ulrich Drepper - - * csu/version.c (__gnu_get_libc_release): Add prototype. - (__gnu_get_libc_version): Likewise. - * include/gnu/libc-version.h: Remove prototypes for not exported + * misc/sys/cdefs.h: Remove one more __P. + + * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C. + Reported by HJ Lu. + + * sysdeps/sh/sh3/bits/setjmp.h: Removed. + * sysdeps/sh/sh4/bits/setjmp.h: Moved to... + * sysdeps/sh/bits/setjmp.h: ...here. New file. + +2000-06-12 Kazumoto Kojima + Yutaka Niibe + + * configure.in: Add machine sh3, sh4. + * elf/elf.h: Add SH specific declarations of relocations. + * shlib-versions: Add sh*-*-linux* cases. + +2000-06-12 Ulrich Drepper + + * sysdeps/sh/sh3/bsd-_setjmp.S: Move to... + * sysdeps/sh/bsd-_setjmp.S: ...here. New file. + * sysdeps/sh/sh4/bsd-_setjmp.S: Removed. + * sysdeps/sh/sh3/bsd-setjmp.S: Move to... + * sysdeps/sh/bsd-setjmp.S: ...here. New file. + * sysdeps/sh/sh4/bsd-setjmp.S: Removed. + + * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro + instead of KERNEL_MATH_EMULATION. + * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not + KERNEL_MATH_EMULATION. + + * sysdeps/sh/Dist: Removed. There is no ieee754.h file. + * sysdeps/sh/sh3/dl-machine.h: Moved to... + * sysdeps/sh/dl-machine.h: ...here. New file. + * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION + and include generic SH version. + * sysdeps/sh/sh3/bits/endian.h: Move to... + * sysdeps/sh/bits/endian.h: ...here. New file. + * sysdeps/sh/sh4/bits/endian.h: Removed. + * sysdeps/sh/sh3/bits/huge_val.h: Move to... + * sysdeps/sh/bits/huge_val.h: ...here. New file. + * sysdeps/sh/sh4/bits/huge_val.h: Removed. + + * include/libc-symbols.h (link_warning): Work around a change in + GAS which warns about changing section attributes. + Proposed by Nick Clifton . + +2000-06-12 H.J. Lu + + * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__. + +2000-06-11 H.J. Lu + + * sysdeps/i386/fpu/Versions: New file. + +2000-06-12 Ulrich Drepper + + * iconv/gconv.h (__gconv_trans_context_fct): Remove two + parameters. + * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it + exists. + +2000-06-12 Jes Sorensen + + * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file. + * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file. + * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file. + + * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file. + * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file. + * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file. + +2000-06-12 Kazumoto Kojima + Yutaka Niibe + + * sysdeps/sh/Dist: New file. + * sysdeps/sh/Implies: New file. + * sysdeps/sh/elf/initfini.c: New file. + * sysdeps/sh/gmp-mparam.h: New file. + * sysdeps/sh/init-first.c: New file. + * sysdeps/sh/machine-gmon.h: New file. + * sysdeps/sh/memcpy.S: New file. + * sysdeps/sh/memprof.h: New file. + * sysdeps/sh/memset.S: New file. + * sysdeps/sh/sh3/__longjmp.S: New file. + * sysdeps/sh/sh3/bits/endian.h: New file. + * sysdeps/sh/sh3/bits/huge_val.h: New file. + * sysdeps/sh/sh3/bits/setjmp.h: New file. + * sysdeps/sh/sh3/bsd-_setjmp.S: New file. + * sysdeps/sh/sh3/bsd-setjmp.S: New file. + * sysdeps/sh/sh3/dl-machine.h: New file. + * sysdeps/sh/sh3/setjmp.S: New file. + * sysdeps/sh/sh4/__longjmp.S: New file. + * sysdeps/sh/sh4/bits/endian.h: New file. + * sysdeps/sh/sh4/bits/huge_val.h: New file. + * sysdeps/sh/sh4/bits/setjmp.h: New file. + * sysdeps/sh/sh4/bsd-_setjmp.S: New file. + * sysdeps/sh/sh4/bsd-setjmp.S: New file. + * sysdeps/sh/sh4/dl-machine.h: New file. + * sysdeps/sh/sh4/fpu/bits/fenv.h: New file. + * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file. + * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file. + * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file. + * sysdeps/sh/sh4/fpu/fegetenv.c: New file. + * sysdeps/sh/sh4/fpu/fegetround.c: New file. + * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file. + * sysdeps/sh/sh4/fpu/fesetenv.c: New file. + * sysdeps/sh/sh4/fpu/fesetround.c: New file. + * sysdeps/sh/sh4/fpu/fpu_control.h: New file. + * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file. + * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file. + * sysdeps/sh/sh4/fpu/ftestexcept.c: New file. + * sysdeps/sh/sh4/fpu/libm-test-ulps: New file. + * sysdeps/sh/sh4/setjmp.S: New file. + * sysdeps/sh/elf/start.S: New file. + * sysdeps/sh/sys/ucontext.h: New file. + * sysdeps/sh/strlen.S: New file. + * sysdeps/sh/sysdep.h: New file. + * sysdeps/unix/sh/sysdep.S: New file. + * sysdeps/unix/sh/sysdep.h: New file. + * sysdeps/unix/sysv/linux/sh/Dist: New file. + * sysdeps/unix/sysv/linux/sh/Makefile: New file. + * sysdeps/unix/sysv/linux/sh/Versions: New file. + * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file. + * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file. + * sysdeps/unix/sysv/linux/sh/brk.c: New file. + * sysdeps/unix/sysv/linux/sh/chown.c: New file. + * sysdeps/unix/sysv/linux/sh/clone.S: New file. + * sysdeps/unix/sysv/linux/sh/fchown.c: New file. + * sysdeps/unix/sysv/linux/sh/fxstat.c: New file. + * sysdeps/unix/sysv/linux/sh/getegid.c: New file. + * sysdeps/unix/sysv/linux/sh/geteuid.c: New file. + * sysdeps/unix/sysv/linux/sh/getgroups.c: New file. + * sysdeps/unix/sysv/linux/sh/getresgid.c: New file. + * sysdeps/unix/sysv/linux/sh/getresuid.c: New file. + * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file. + * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file. + * sysdeps/unix/sysv/linux/sh/getuid.c: New file. + * sysdeps/unix/sysv/linux/sh/lchown.c: New file. + * sysdeps/unix/sysv/linux/sh/lxstat.c: New file. + * sysdeps/unix/sysv/linux/sh/msgctl.c: New file. + * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file. + * sysdeps/unix/sysv/linux/sh/pipe.S: New file. + * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file. + * sysdeps/unix/sysv/linux/sh/semctl.c: New file. + * sysdeps/unix/sysv/linux/sh/setegid.c: New file. + * sysdeps/unix/sysv/linux/sh/seteuid.c: New file. + * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file. + * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file. + * sysdeps/unix/sysv/linux/sh/setgid.c: New file. + * sysdeps/unix/sysv/linux/sh/setgroups.c: New file. + * sysdeps/unix/sysv/linux/sh/setregid.c: New file. + * sysdeps/unix/sysv/linux/sh/setresgid.c: New file. + * sysdeps/unix/sysv/linux/sh/setresuid.c: New file. + * sysdeps/unix/sysv/linux/sh/setreuid.c: New file. + * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file. + * sysdeps/unix/sysv/linux/sh/setuid.c: New file. + * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file. + * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file. + * sysdeps/unix/sysv/linux/sh/shmctl.c: New file. + * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file. + * sysdeps/unix/sysv/linux/sh/socket.S: New file. + * sysdeps/unix/sysv/linux/sh/sys/io.h: New file. + * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file. + * sysdeps/unix/sysv/linux/sh/sys/user.h: New file. + * sysdeps/unix/sysv/linux/sh/syscalls.list: New file. + * sysdeps/unix/sysv/linux/sh/sysdep.S: New file. + * sysdeps/unix/sysv/linux/sh/sysdep.h: New file. + * sysdeps/unix/sysv/linux/sh/vfork.S: New file. + * sysdeps/unix/sysv/linux/sh/xstat.c: New file. + +2000-06-12 Ulrich Drepper + + * Rules (%.out): Define GCONV_PATH in the environment. + * assert/Depend: New file. + * iconvdata/Depend: New file. + * intl/Depend: New file. + * timezone/Makefile (build-testdata): Add GCONV_PATH to environment. + * intl/tst-gettext.sh: Likewise. + * iconv/Makefile (routines): Add gconv_trans. + * iconv/gconv_trans.c: New file. + * iconv/gconv.h (struct __gconv_trans_data): New type. + (__gconv_fct): New parameter with starting position in output buffer. + (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct, + __gconv_trans_init_fct, __gconv_trans_end_fct): New types. + (struct __gconv_step): Add new member __trans. + * iconv/gconv_int.h: Pretty print prototypes. + (gconv_transliterate): New prototype. + (__BUILTIN_TRANS): Update for new conversion function interface. + * iconv/gconv.c (__gconv): Pass new parameter to conversion function. + * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix + in names, find appropriate function, and install in the conversion + steps it can be used. + * iconv/skeleton.c: Add additional parameter for beginning of output + buffer. Change calls of downstream functions. + * iconv/loop.c: Change loop function interface completely. Pass in + step and step_data structure. Remove optimization for BODY with + NEED_LENGTH_TEST == 0. + * iconv/gconv_simple.c: Update interfaces of functions. Insert + appropriate error handling code to use transliteration steps. Remove + optimization for BODY with NEED_LENGTH_TEST == 0. + * iconvdata/8bit-gap.c: Likewise. + * iconvdata/8bit-generic.c: Likewise. + * iconvdata/ansi_x3.110.c: Likewise. + * iconvdata/big5.c: Likewise. + * iconvdata/big5hkscs.c: Likewise. + * iconvdata/euc-cn.c: Likewise. + * iconvdata/euc-jp.c: Likewise. + * iconvdata/euc-kr.c: Likewise. + * iconvdata/euc-tw.c: Likewise. + * iconvdata/gbgbk.c: Likewise. + * iconvdata/gbk.c: Likewise. + * iconvdata/iso-2022-cn.c: Likewise. + * iconvdata/iso-2022-jp.c: Likewise. + * iconvdata/iso-2022-kr.c: Likewise. + * iconvdata/iso646.c: Likewise. + * iconvdata/iso8859-1.c: Likewise. + * iconvdata/iso_6937-2.c: Likewise. + * iconvdata/iso_6937.c: Likewise. + * iconvdata/johab.c: Likewise. + * iconvdata/sjis.c: Likewise. + * iconvdata/t.61.c: Likewise. + * iconvdata/uhc.c: Likewise. + * iconvdata/unicode.c: Likewise. + * iconvdata/utf-16.c: Likewise. + * libio/iofwide.c: Adjust to new interface of gconv functions. Use + DL_CALL_FCT. + * wcsmbs/btowc.c: Likewise. + * wcsmbs/mbrtowc.c: Likewise. + * wcsmbs/mbsnrtowcs.c: Likewise. + * wcsmbs/mbsrtowcs.c: Likewise. + * wcsmbs/wcrtomb.c: Likewise. + * wcsmbs/wcsnrtombs.c: Likewise. + * wcsmbs/wcsrtombs.c: Likewise. + * wcsmbs/wctob.c: Likewise. + +2000-04-11 Geoff Keating + + * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the + other header files. Mention about 128-byte cache line sizes. + (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt. + * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update + for current calling sequence. + * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment. + + * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly. + * sysdeps/powerpc/fpu/s_rintf.c: Likewise. + + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit + and setrlimit syscalls for backwards compatibility. + +2000-06-10 Ulrich Drepper + + * iconv/skeleton.c: Rename converted written to correcter name + irreversible. + * iconv/gconv.c: Rename converted variable to correcter name + irreversible. + * iconv/gconv_int.h: Likewise. + * iconv/gconv_simple.c: Likewise. + * iconv/iconv.c: Likewise. + * iconv/loop.c: Likewise. + * iconvdata/8bit-gap.c: Likewise. + * iconvdata/8bit-generic.c: Likewise. + * iconvdata/ansi_x3.110.c: Likewise. + * iconvdata/big5.c: Likewise. + * iconvdata/big5hkscs.c: Likewise. + * iconvdata/euc-cn.c: Likewise. + * iconvdata/euc-jp.c: Likewise. + * iconvdata/euc-kr.c: Likewise. + * iconvdata/gbgbk.c: Likewise. + * iconvdata/gbk.c: Likewise. + * iconvdata/iso-2022-cn.c: Likewise. + * iconvdata/iso-2022-jp.c: Likewise. + * iconvdata/iso-2022-kr.c: Likewise. + * iconvdata/iso646.c: Likewise. + * iconvdata/iso8859-1.c: Likewise. + * iconvdata/iso_6937-2.c: Likewise. + * iconvdata/iso_6937.c: Likewise. + * iconvdata/johab.c: Likewise. + * iconvdata/sjis.c: Likewise. + * iconvdata/t.61.c: Likewise. + * iconvdata/uhc.c: Likewise. + * iconvdata/unicode.c: Likewise. + * iconvdata/utf-16.c: Likewise. + + * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark + __cmsg_data field with __extension__. + +2000-06-10 David Mosberger + + * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works. + +2000-06-10 Ulrich Drepper + + * iconv/gconv_simple.c: Fix various small bugs in several functions. -2001-03-21 Jes Sorensen + * iconv/loop.c: Fix comment. + +2000-06-10 Jakub Jelinek + + * elf/link.h: Remove libc internal declarations. + * include/link.h: Move them here. + +2000-06-09 Ulrich Drepper + + * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file. + Patch by Dan Pop . + + Rewrite error message handling. + * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to + _dl_catch_error. + * elf/dl-error (struct catch): Add objname member. + (_dl_signal_error): Take new parameter with object name. When + passing message on simply store object name and duplicate error + message. + (_dl_catch_error): Take new parameter. Store object name in the + place pointed to. + * include/dlfcn.h: Adjust _dl_catch_error prototype. + * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype. + * dlfcn/dlerror.c (struct dl_action_result): Add objname member. + (dlerror): Add objname to asprintf() parameters. + (_dl_error_run): Pass new parameter to _dl_catch_error. + * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error. + * elf/dl-open.c (_dl_open): Likewise. + * elf/rtld.c (dl_main): Likewise. + * elf/dl-close.c: Mark error messages with N_(). + * elf/dl-deps.c: Likewise. + * elf/dl-error.c: Likewise. + * elf/dl-load.c: Likewise. + * elf/dl-open.c: Likewise. + * elf/dl-reloc.c: Likewise. + * elf/dl-support.c: Likewise. + * elf/dl-sym.c: Likewise. + * elf/dl-version.c: Likewise. + * elf/dl-lookup.c: Add comments about problems with error message + translations. + * elf/dl-reloc.c: Likewise. + * elf/dl-version.c: Likewise. + +2000-06-09 H.J. Lu + + * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL + after freeing it. + + * dlfcn/Makefile (distribute): Add failtestmod.c. + (tests): Add failtest. + Add rules to build and run failtest. + * dlfcn/failtest.c: New file. + * dlfcn/failtestmod.c: New file. + +2000-06-09 David Mosberger-Tang + + * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file + * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file + * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file + * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file + * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file + +2000-06-09 Jes Sorensen + + * sysdeps/unix/sysv/linux/ia64/brk.S: New file. + * sysdeps/unix/sysv/linux/ia64/pipe.S: New file. + +2000-06-09 Jes Sorensen + Ulrich Drepper + + * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file. + * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file. + * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file. + * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file. + * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file. + * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file. + +2000-06-09 Ulrich Drepper + + * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder + to find correct mount point despite wrong information from the + kernel. + +2000-06-09 Jes Sorensen + + * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain + the address of a symbol so function pointers are handled properly. + +2000-06-08 Ulrich Drepper + + * sysdeps/i386/Dist: Add bp-asm.h. + + * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use + defaultdir variable instead of "/var/shm" everywhere. + (defaultdir): Change to /dev/shm/. + +2000-06-08 Greg McGary + + * sysdeps/i386/bp-asm.h: New file. + * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack + offsets. Add ENTER/LEAVE macros for optionally maintaining + frame-pointer chain when debugging. + * sysdeps/i386/add_n.S: Likewise. + * sysdeps/i386/addmul_1.S: Likewise. + * sysdeps/i386/lshift.S: Likewise. + * sysdeps/i386/memchr.S: Likewise. + * sysdeps/i386/memcmp.S: Likewise. + * sysdeps/i386/mul_1.S: Likewise. + * sysdeps/i386/rawmemchr.S: Likewise. + * sysdeps/i386/rshift.S: Likewise. + * sysdeps/i386/stpcpy.S: Likewise. + * sysdeps/i386/stpncpy.S: Likewise. + * sysdeps/i386/strchr.S: Likewise. + * sysdeps/i386/strchrnul.S: Likewise. + * sysdeps/i386/strcspn.S: Likewise. + * sysdeps/i386/strpbrk.S: Likewise. + * sysdeps/i386/strrchr.S: Likewise. + * sysdeps/i386/strspn.S: Likewise. + * sysdeps/i386/strtok.S: Likewise. + * sysdeps/i386/sub_n.S: Likewise. + * sysdeps/i386/submul_1.S: Likewise. + * sysdeps/i386/elf/setjmp.S: Likewise. + * sysdeps/i386/i486/strcat.S: Likewise. + * sysdeps/i386/i486/strlen.S: Likewise. + * sysdeps/i386/i586/add_n.S: Likewise. + * sysdeps/i386/i586/lshift.S: Likewise. + * sysdeps/i386/i586/memcpy.S: Likewise. + * sysdeps/i386/i586/memset.S: Likewise. + * sysdeps/i386/i586/rshift.S: Likewise. + * sysdeps/i386/i586/strchr.S: Likewise. + * sysdeps/i386/i586/strcpy.S: Likewise. + * sysdeps/i386/i586/strlen.S: Likewise. + * sysdeps/i386/i586/sub_n.S: Likewise. + * sysdeps/i386/i686/add_n.S: Likewise. + * sysdeps/i386/i686/memcpy.S: Likewise. + * sysdeps/i386/i686/mempcpy.S: Likewise. + * sysdeps/i386/i686/memset.S: Likewise. + * sysdeps/i386/i686/strcmp.S: Likewise. + +2000-06-08 Ulrich Drepper + + * sysdeps/unix/sysv/linux/getdtsz.c: New file. - * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h - for internationalized printfs to work. - -2001-03-09 Bruno Haible + * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as + 256 and don't use OPEN_MAX. + + * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and + use it instead of LINK_MAX. + * sysdeps/unix/sysv/linux/fpathconf.c: Likewise. + +2000-06-08 Andreas Jaeger - * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to - avoid compiler warning. - (_nl_find_msg): Add casts to avoid compiler warnings. + * libio/genops.c (_IO_list_lock): Only compile body if we're + thread safe. + (_IO_list_unlock): Likewise. + (_IO_list_resetlock): Likewise. -2001-03-21 Ulrich Drepper +2000-06-07 Ulrich Drepper - * gmon/Makefile (routines): Add sprofil. - (tests): Add tst-sprofil. - (noprof): Add sprofil. - * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil. + * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX + unless user defined it. -2001-03-20 David Mosberger - - * sysdeps/generic/sprofil.c: New file. - * sysdeps/posix/sprofil.c: New file. - * gmon/tst-sprofil.c: New file. - * gmon/sys/profil.h: New file. + * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX + if not defined by the user. + + * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment. + * libio/iofwrite.c (_IO_fwrite): Likewise. -2001-03-20 Andreas Schwab + * time/time.h: Add missing __THROW for clock_getcpuclockid + prototype. + + * elf/Makefile (distribute): Add dl-dtprocnum.h. + * include/elf.h: Include also . + * elf/dl-deps.c: Likewise. + * elf/dl-lookup.c: Likewise. + * elf/dl-runtime.c: Likewise. + * elf/dl-version.c: Likewise. + * elf/do-rel.h: Likewise. + * elf/dynamic-link.h: Likewise. + * elf/link.h: Likewise. + * elf/rtld.c: Likewise. + * sysdeps/generic/dl-dtprocnum.h: New file. + * sysdeps/ia64/dl-dtprocnum.h: New file. + * sysdeps/mips/dl-dtprocnum.h: New file. + * sysdeps/sparc/dl-dtprocnum.h: New file. + + * sysdeps/i386/dl-machine.h: Add more __builtin_expect. + + * elf/do-lookup.h: Add some __builtin_expect. + + * dlfcn/dlfcn.h: Pretty print dladdr declaraction. + + * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK. + (_dl_dynamic_weak): New variable. + * elf/dl-support.c: Likewise. + * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak. + * elf/do-lookup.h: If we find a weak definition treat it like a + normal symbol unless _dl_dynamic_weak is nonzero. In the latter + case treat it like before. + + * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol + is in main program. + * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv. + + * elf/dl-addr.c (_dl_addr): Do exact testing of address range + using l_map_start and l_map_end. + + * elf/dl-version.c: Add __builtin_expect in many places. + + * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): + Update. + +2000-06-04 Kaz Kylheku + + Lock for stdio stream list becomes global, for use in LinuxThreads. + + * libio/genops.c (_IO_iter_begin, _IO_iter_end, + _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock, + _IO_list_resetlock): New interface for iterating global list of + streams without accessing the _IO_list_all global variable, + and for manipulating the lock which protects this list. + * libio/libioP.h: Likewise. + * libio/Version: Add entries for the new functions. + + * libio/libioP.h (_IO_ITER): New typedef, just an alias for + pointer to _IO_FILE. + +2000-06-07 Ulrich Drepper + + * locale/programs/ld-ctype.c (set_class_defaults): Several uses of + BIT() must actually be BITw(). + + * locale/programs/ld-ctype.c: Handle SP and space consistently. + + * locale/programs/charmap.c: Allow string arguments for + code_set_name and repertoiremap. + +2000-06-07 Andreas Jaeger + + * elf/Makefile: Build ldconfig only when building shared libraries. + +2000-06-07 Jakub Jelinek + + * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if + __USE_ISOC99. + (fdimf, __fdim, fdim): Likewise. + +2000-06-07 Ulrich Drepper + + * locale/findlocale.c: Add __builtin_expect in many places. + * locale/loadlocale.c: Likewise. + +2000-06-06 Greg McGary + + * sysdeps/mips/elf/start.S: Trim redundant code. + + * sysdeps/powerpc/memset.S: Define & use symbolic register names. + Use C comments throughout. Line up operands column with tabs. + * sysdeps/powerpc/strchr.S: Likewise. + * sysdeps/powerpc/strcmp.S: Likewise. + * sysdeps/powerpc/strcpy.S: Likewise. + * sysdeps/powerpc/strlen.S: Likewise. + + * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]: + Get low part of &__curbrk with @l. + +2000-06-06 Ulrich Drepper + + * iconvdata/utf-16.c: Add __builtin_expect in many places. + * iconvdata/unicode.c: Likewise. + * iconvdata/uhc.c: Likewise. + * iconvdata/t.61.c: Likewise. + * iconvdata/sjis.c: Likewise. + * iconvdata/johab.c: Likewise. + * iconvdata/iso_6937.c: Likewise. + * iconvdata/iso_6937-2.c: Likewise. + * iconvdata/iso8859-1.c: Likewise. + * iconvdata/iso646.c: Likewise. + * iconvdata/iso-2022-kr.c: Likewise. + * iconvdata/iso-2022-jp.c: Likewise. + * iconvdata/iso-2022-cn.c: Likewise. + * iconvdata/gbgbk.c: Likewise. + * iconvdata/gbk.c: Likewise. + * iconvdata/euc-kr.c: Likewise. + * iconvdata/euc-jp.c: Likewise. + * iconvdata/euc-cn.c: Likewise. + +2000-06-05 Ulrich Drepper + + * iconvdata/big5hkscs.c: Add __builtin_expect in many places. + * iconvdata/big5.c: Likewise. + * iconvdata/ansi_x3.110.c: Likewise. + * iconvdata/8bit-generic.c: Likewise. + * iconvdata/8bit-gap.c: Likewise. + * iconv/loop.c: Likewise. + * iconv/gconv_db.c: Likewise. + * iconv/gconv_dl.c: Likewise. + * iconv/gconv_simple.c: Likewise. + * iconv/skeleton.c: Likewise. + + * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define. + (struct __gconv_step_data): Rename __is_last to __flags. + * iconv/gconv_close.c: Change all uses of __is_last. + * iconv/skeleton.c: Likewise. + * iconvdata/iso-2022-cn.c: Likewise. + * iconvdata/iso-2022-jp.c: Likewise. + * iconvdata/iso-2022-kr.c: Likewise. + * iconv/gconv_open.c: Likewise. Avoid unneeded initializations. + Recognize IGNORE error handling, set flag, and remove from name. + * iconv/loop.c (ignore_errors_p): Define. + Add flags parameter to both functions. + * iconv/skeleton.c: Pass flags to all conversion functions. + * iconv/gconv_simple.c: Add flags parameter to all functions. + Don't return error for invald error if ignore flag is set. + (ucs4_internal_loop_single): Add missing pointer increment. + (internal_ucs4le_loop_single): Likewise. + * iconv/iconv_prog.c: Implement handling of -c parameter. + * iconvdata/8bit-gap.c: Don't return error for invald error if + ignore flag is set. + * iconvdata/8bit-generic.c: Likewise. + * iconvdata/ansi_x3.110.c: Likewise. + * iconvdata/big5.c: Likewise. + * iconvdata/big5hkscs.c: Likewise. + * iconvdata/euc-cn.c: Likewise. + * iconvdata/euc-jp.c: Likewise. + * iconvdata/euc-kr.c: Likewise. + * iconvdata/gbgbk.c: Likewise. + * iconvdata/gbk.c: Likewise. + * iconvdata/iso-2022-cn.c: Likewise. + * iconvdata/iso-2022-jp.c: Likewise. + * iconvdata/iso-2022-kr.c: Likewise. + * iconvdata/iso646.c: Likewise. + * iconvdata/iso8859-1.c: Likewise. + * iconvdata/iso_6937-2.c: Likewise. + * iconvdata/iso_6937.c: Likewise. + * iconvdata/johab.c: Likewise. + * iconvdata/sjis.c: Likewise. + * iconvdata/t.61.c: Likewise. + * iconvdata/uhc.c: Likewise. + * iconvdata/unicode.c: Likewise. + * iconvdata/utf-16.c: Likewise. + * libio/fileops.c: Likewise. + * libio/iofwide.c: Likewise. + * wcsmbs/btowc.c: Likewise. + * wcsmbs/mbrtowc.c: Likewise. + * wcsmbs/mbsnrtowcs.c: Likewise. + * wcsmbs/mbsrtowcs.c: Likewise. + * wcsmbs/wcrtomb.c: Likewise. + * wcsmbs/wcsnrtombs.c: Likewise. + * wcsmbs/wcsrtombs.c: Likewise. + * wcsmbs/wctob.c: Likewise. + + * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of + an error. + +2000-06-04 Ulrich Drepper + + * iconv/gconv_dl.c (do_release_shlib): Don't reset reference + counter for the object we are releasing, just decrement it. + Patch by Akira Higuchi . + +2000-06-04 Jakub Jelinek + + * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh + if -ffast-math. + +2000-06-04 Ulrich Drepper + + * iconvdata/big5hkscs.c: New file. + Modified from big5.c by Roger So . + + * iconvdata/gconv-modules: Add entry for new module. + * iconvdata/Makefile (modules): Add BIG5HKSCS. + (distribute): Add big5hkscs.c. + +2000-06-01 Jakub Jelinek + + * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all + inlines to match prototypes in mathcalls.h. + * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise. + * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise. + * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise. + * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise. - * include/unistd.h: Adjust prototype of __gethostname. - -2001-03-20 Jakub Jelinek - - * sysdeps/sparc/stackinfo.h: New file. - -2001-03-21 Andreas Jaeger +2000-06-03 Ulrich Drepper - * elf/global.c (main): Use proper prototype. + * elf/elf.h (SHT_SUNW_move): Define. -2001-03-20 Ulrich Drepper + * elf/elf.h: Add more Solaris compatiblity definitions. - * sunrpc/Makefile (routines): Add rpc_thread. - (CPPFLAGS): Add -D_RPC_THREAD_SAFE. - * sunrpc/rpc_thread.c: New file. - * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy. - * sunrpc/auth_none.c: Don't use global variables. Access state in - thread-local storage. - * sunrpc/clnt_perr.c: Likewise. - * sunrpc/clnt_raw.c: Likewise. - * sunrpc/clnt_simp.c: Likewise. - * sunrpc/key_call.c: Likewise. - * sunrpc/rpc_common.c: Likewise. - * sunrpc/svc.c: Likewise. - * sunrpc/svc_raw.c: Likewise. - * sunrpc/svc_simple.c: Likewise. - * sunrpc/svcauth_des.c: Likewise. - * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add - _HURD_THREADVAR_RPC_VARS. - * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS. - * include/rpc/rpc.h: Define data structures for internal thread-local - "global" variables. - Based on patches by Eric Norum . +2000-06-03 Andreas Jaeger - * elf/dl-load.c: Various little optimizations. + * sysdeps/powerpc/dl-start.S: Close open comment. - * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return - LINUX_LINK_MAX only if the statfs function is not implemented for - the filesystem. +2000-06-03 Jakub Jelinek - * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return - LINUX_LINK_MAX only if the fstatfs function is not implemented for - the filesystem. + * inet/Versions: Fix typo in rresvport_af export. -2001-03-19 Ulrich Drepper +2000-06-02 Ulrich Drepper - * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect. + * math/tgmath.h: Pretty print. - * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust. - (_dl_dst_substitute): Likewise. - -2001-03-17 Bruno Haible - - * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64. - -2001-03-17 Bruno Haible - - * intl/gettextP.h (struct expression): Add operators lnot, less_than, - greater_than, less_or_equal, greater_or_equal. Replace args2/args3 - union by a 'nargs' counter and an 'args[]' array. - * intl/plural.y: Don't include stdarg.h. - (new_exp): Take an array of arguments instead of varargs. - (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions. - ('?' ':'): Make right-associative. - (EQUOP2): New token, replaces '=' and '!'. - (CMPOP2): New token. - (ADDOP2): New token, replaces '+' and '-'. - (MULOP2): New token, replaces '*', '/' and '%'. - ('!'): New token. - (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT. - (start): Call YYABORT here. - (FREE_EXPRESSION): Update. - (yylex): Don't skip "\\n". Recognize comparison and '!' operators. - Update for new token symbols. - * intl/loadmsgcat.c (plvar, plone, germanic_plural, - init_germanic_plural): Update. - * intl/dcigettext.c (_nl_find_msg): Optimize for space. - (plural_eval): Recognize comparison and '!' operators. Optimize for - space. - -2001-03-10 Bruno Haible - - * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return - NULL any more. - -2001-01-05 Bruno Haible - - * intl/loadmsgcat.c: Include headers needed for alloca(). - (freea): New macro. - (_nl_load_domain): Add fallback code for platforms lacking alloca. - * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros. - (freea): New macro. - (read_alias_file): Simplify fallback code for platforms lacking - alloca. - -2001-01-07 Bruno Haible - - * intl/gettextP.h (__gettextdebug): Remove declaration. - (__gettext_free_exp, __gettextparse): Convert prototype to K&R C - syntax. - (gettext_free_exp__, gettextparse__): New non-libc declarations. - * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__, - not __gettextparse, __gettext_free_exp. - * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse. - -2001-02-24 Bruno Haible - - * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL. - -2001-01-05 Bruno Haible - - * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms - lacking strtoul, like SunOS4. - -2001-01-05 Bruno Haible - - * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower. - -2001-01-05 Bruno Haible - - * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C - syntax. - * intl/dcigettext.c (transcmp): Convert to K&R C syntax. - * intl/explodename.c (_nl_find_language): Convert to K&R C syntax. - * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C - syntax. +2000-06-02 Andreas Jaeger -2001-01-07 Bruno Haible + * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo. + Reported by Maciej W. Rozycki . - * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__, - bindtextdomain__, bind_textdomain_codeset__): New declarations, from - old libgettext.h. - * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h. - * intl/dcgettext.c: Likewise. - * intl/dcigettext.c: Likewise. - * intl/dcngettext.c: Likewise. - * intl/dngettext.c: Likewise. - * intl/finddomain.c: Likewise. - * intl/ngettext.c: Likewise. - * intl/textdomain.c: Likewise. - * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h. - Include gettextP.h. - * intl/gettext.c: Likewise. Don't include locale.h. +2000-06-02 Ulrich Drepper -2001-03-17 Bruno Haible + * elf/rtld.c (process_envvars): Test for = after variable name. - * intl/gettextP.h (ZERO): New macro. - (struct binding): Always use ZERO. - * intl/bindtextdom.c (offsetof): Provide fallback for platforms that - lack it, like SunOS4. - (set_binding_values): Use offsetof, not sizeof. - * intl/dcigettext.c (offsetof): Provide fallback for platforms that - lack it, like SunOS4. - (ZERO): Remove macro. - (struct transmem_list): Use ZERO. - (DCIGETTEXT): Use offsetof, not sizeof. +2000-06-01 Ulrich Drepper -2001-03-17 Bruno Haible - - * intl/gettextP.h: Include . Include gettext.h, for - nls_uint32. - * intl/bindtextdom.c: Don't include gettext.h. - * intl/dcgettext.c: Likewise. - * intl/dcigettext.c: Likewise. - * intl/dcngettext.c: Likewise. - * intl/dngettext.c: Likewise. - * intl/finddomain.c: Likewise. - * intl/localealias.c: Likewise. - * intl/ngettext.c: Likewise. - * intl/plural.y: Likewise. - * intl/textdomain.c: Likewise. + * sysdeps/generic/initfini.c (_init): One less relocation. Don't + have extra call to __gmon_start__, use the pointer we already have. -2001-03-17 Bruno Haible + * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before + shifting. - * intl/gettext.h: Don't include . + * sysdeps/i386/elf/setjmp.S: Work around change is recent + binutils. gas now emits a jump through the PLT instead of a + relative jump if the jump target is an exported symbol. -2001-03-17 Bruno Haible +2000-05-31 Ulrich Drepper - * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR. - * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR. + * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD. -2001-03-19 Ulrich Drepper +2000-05-31 Andreas Jaeger - * sysdeps/unix/i386/i686/tempname.c: New file. + * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for + gregset_t. - * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is - defined use this macro to get some bits of randomness instead of - the usual gettimeofday or time calls. + * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache. + Patches by Maciej W. Rozycki . -2001-03-16 Paul Eggert + * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of + syscall. + * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise. - * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if - not defined, and if UINT64_MAX is not defined. +2000-05-30 Ulrich Drepper -2001-03-19 Ulrich Drepper + * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P. - * elf/cache.c: Mark and have translated a few more messages. + * locale/Versions [libc] (GLIBC_2.2): Add localeconv. + * locale/localeconv.c: Make function versioned (with same definition). -2001-03-19 Martin Schwidefsky + * elf/Makefile (modules-names): Strip before using it. - * elf/cache.c: Add case for FLAG_S390_LIB64. - * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64. - * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file. - * sysdeps/unix/sysv/linux/s390/readelflib.c: New file. +2000-05-30 Andreas Jaeger -2001-03-19 Ulrich Drepper + * sysdeps/unix/sysv/linux/mips/truncate64.c: New file. + * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file. + * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file. + * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file. + * sysdeps/unix/sysv/linux/mips/pread.c: Readded file. + * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file. - * string/Makefile (tests): Add tst-strxfrm. - * string/tst-strxfrm.c: New file. Based on a test case by Paul Eggert. - * string/Depend: New file. +2000-05-29 Ulrich Drepper -2001-03-19 Paul Eggert + * Makefile: Add GNU make magic. - * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1, - when given the empty string in nontrivial locales. + * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c): + Removed. + * inet/rcmd.c: Remove __P. Remove unused variables. + (iruserfopen): Make first parameter const. + (ruserok_sa): Return result of ruserok2_sa. + (__checkhost_sa): Correctly iterate through results of getaddrinfo. + * inet/rexec.c: Remove unused variables. Other small cleanups. + * inet/ruserpass.c: Remove __P. Remove unused variables. + (ruserpass): Check results of memory allocation. + * include/netdb.h: Add prototype for ruserpass. -2001-03-17 H.J. Lu +2000-05-29 Andreas Jaeger - * manual/Makefile (install): Use $(INSTALL_DATA) instead of - cp to install `dir'. + * elf/readlib.c (interpreters): Use LD_SO since this is supported + for all platforms. -2001-03-19 Andreas Schwab +2000-05-29 Jakub Jelinek - * Makerules (build-shlib): Make sure exit codes get checked - properly. + * inet/rcmd.c (rresvport_af): Use correct port number. -2001-03-18 Ulrich Drepper +2000-05-26 Andreas Schwab - * Makerules (build-shlib): Remove unnecessary slashes introduced in - last change. + * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to + entries in all-sonames. + ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol, + preserving the old name if different for compatibility. - * configure.in: Test for -Bgroup option of linker. - * config.make.in: Define have-Bgroup. +2000-05-29 Ulrich Drepper - * conform/data/unistd.h-data: Require gethostname. - * posix/unistd.h: Make gethostname prototype available for - __USE_XOPEN2K. + * posix/Makefile (tests): Add tst-spawn. + (tst-spawn-ARGS): New variable. + * posix/tst-spawn.c: New file. - * crypt/Makefile: When generating DSO link with libc_nonshared.a. - * debug/Makefile: Likewise. - * dlfcn/Makefile: Likewise. - * hesiod/Makefile: Likewise. - * iconvdata/extra-module.mk: Likewise. - * locale/Makefile: Likewise. - * login/Makefile: Likewise. - * math/Makefile: Likewise. - * nis/Makefile: Likewise. - * nss/Makefile: Likewise. - * resolv/Makefile: Likewise. - * rt/Makefile: Likewise. + * posix/spawn_faction_addclose.c: Correctly account for new entry. + * posix/spawn_faction_adddup2.c: Likewise. + * posix/spawn_faction_addopen.c: Likewise. + * posix/spawni.c: Correctly test for success of dup2 calls. -2001-03-17 Ulrich Drepper + * posix/tst-preadwrite.c: Check success of malloc call. - * inet/Makefile (tests): Remove left-over comment. +2000-05-28 Ulrich Drepper - * posix/unistd.h (gethostname): Change type of second parameter - back to size_t as per upcoming XPG6. - * sysdeps/unix/sysv/aix/gethostname.c: Change type of second - parameter back to size_t as per upcoming XPG6. - * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise. - * sysdeps/unix/sysv/gethostname.c: Likewise. - * sysdeps/mach/hurd/gethostname.c: Likewise. - * sysdeps/generic/gethostname.c: Likewise. + * posix/Makefile (tests): Add tst-exec. + (tst-exec-ARGS): New variable. + * posix/tst-exec.c: New file. -2001-03-16 Ulrich Drepper + * sysdeps/arm/atomicity.h (compare_and_swap): Return result. - * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): - Handle NaN here. +2000-05-04 Andreas Jaeger - * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): - Internationalize. + * string/string.h: Remove __strdup prototype, it's not needed in + this file anymore. -2001-02-06 Jakub Jelinek +2000-05-28 Ulrich Drepper - * elf/dl-load.c (_dl_map_object): Don't test l_opencount when - looking for name matches. + * posix/Makefile (tests): Add tst-fork. + * posix/tst-fork.c: New file. -2001-02-26 Jakub Jelinek + * resolv/inet_pton.c: Loose __P. - * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define. - * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise. - * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise. - * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise. - * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise. - * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise. - * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise. - * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise. - -2001-03-16 Ulrich Drepper - - * sysdeps/ieee754/ldbl-96/s_erfl.c: New file. - Contributed by Stephen L. Moshier . - - * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and - erfcl. - * sysdeps/ia64/fpu/libm-test-ulps: Likewise. - -2001-03-16 David Mosberger - - * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext): - Drop hack that was needed for 2.1.1 kernel headers. - - * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file. - - * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it - overlay with kernel's "struct sigcontext". - - * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add - sys/rse.h for "misc" subdir. - (sysdep_routines): Add __start_context for "stdlib" subdir. - - * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on - kernel file of the same name). - - * stdlib/Makefile (tests): Add tst-setcontext. - * stdlib/tst-setcontext.c: New file (based on a sample program by - Uli Drepper). - - * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file. - * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file. - * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file. - * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file. - * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file. - - * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u - instead of shift & and. - -2001-03-16 Martin Schwidefsky - - * sysdeps/s390/s390-64/bits/huge_val.h: Move to... - * sysdeps/s390/bits/huge_val.h: ...here. - * sysdeps/s390/s390-32/bit/huge_val.h: Remove. - * sysdeps/s390/s390-64/ffs.c: Move to... - * sysdeps/s390/ffs.c: ...here. - * sysdeps/s390/s390-32/ffs.c: Remove. - -2001-03-16 Jakub Jelinek - - * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead - update osversion from more recent library. - -2001-03-13 Martin Schwidefsky - - * sysdeps/unix/sysv/linux/s390/Dist: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here. - * sysdeps/unix/sysv/linux/s390/Makefile: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here. - * sysdeps/unix/sysv/linux/s390/Versions: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here. - * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here. - * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here. - * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here. - * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here. - * sysdeps/unix/sysv/linux/s390/chown.c: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here. - * sysdeps/unix/sysv/linux/s390/clone.S: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here. - * sysdeps/unix/sysv/linux/s390/fchown.c: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here. - * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here. - * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here. - * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here. - * sysdeps/unix/sysv/linux/s390/getegid.c: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here. - * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here. - * sysdeps/unix/sysv/linux/s390/getgid.c: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here. - * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here. - * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here. - * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here. - * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here. - * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here. - * sysdeps/unix/sysv/linux/s390/getuid.c: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here. - * sysdeps/unix/sysv/linux/s390/lchown.c: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here. - * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here. - * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here. - * sysdeps/unix/sysv/linux/s390/mmap.S: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here. - * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here. - * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here. - * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here. - * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here. - * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here. - * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here. - * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here. - * sysdeps/unix/sysv/linux/s390/semctl.c: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here. - * sysdeps/unix/sysv/linux/s390/setegid.c: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here. - * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here. - * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here. - * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here. - * sysdeps/unix/sysv/linux/s390/setgid.c: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here. - * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here. - * sysdeps/unix/sysv/linux/s390/setregid.c: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here. - * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here. - * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here. - * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here. - * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here. - * sysdeps/unix/sysv/linux/s390/setuid.c: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here. - * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here. - * sysdeps/unix/sysv/linux/s390/socket.S: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here. - * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here. - * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here. - * sysdeps/unix/sysv/linux/s390/syscall.S: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here. - * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here. - * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here. - * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. - * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here. - * sysdeps/unix/sysv/linux/s390/xstat.c: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here. - -2001-03-13 Martin Schwidefsky - - * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file. - * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file. - -2001-03-13 Martin Schwidefsky - - * sysdeps/s390/Dist: Move to... - * sysdeps/s390/390-32/Dist: ...here. - * sysdeps/s390/Implies: Move to... - * sysdeps/s390/s390-32/Implies: ...here. - * sysdeps/s390/Makefile: Move to... - * sysdeps/s390/s390-32/Makefile: ...here. - * sysdeps/s390/Versions: Move to... - * sysdeps/s390-32/s390/Versions: ...here. - * sysdeps/s390/add_n.S: Move to... - * sysdeps/s390/s390-32/add_n.S: ...here. - * sysdeps/s390/addmul_1.S: Move to... - * sysdeps/s390/s390-32/addmul_1.S: ...here. - * sysdeps/s390/atomicity.h: Move to... - * sysdeps/s390/s390-32/atomicity.h: ...here. - * sysdeps/s390/backtrace.c: Move to... - * sysdeps/s390/s390-32/backtrace.c: ...here. - * sysdeps/s390/bcopy.S: Move to... - * sysdeps/s390/s390-32/bcopy.S: ...here. - * sysdeps/s390/bits/byteswap.h: Move to... - * sysdeps/s390/s390-32/bits/byteswap.h: ...here. - * sysdeps/s390/bits/huge_val.h: Move to... - * sysdeps/s390/s390-32/bits/huge_val.h: ...here. - * sysdeps/s390/bsd-_setjmp.S: Move to... - * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here. - * sysdeps/s390/bsd-setjmp.S: Move to... - * sysdeps/s390/s390-32/bsd-setjmp.S: ...here. - * sysdeps/s390/bzero.S: Move to... - * sysdeps/s390/s390-32/bzero.S: ...here. - * sysdeps/s390/elf/bsd-_setjmp.S: Move to... - * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here. - * sysdeps/s390/elf/bsd-setjmp.S: Move to... - * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here. - * sysdeps/s390/elf/start.S: Move to... - * sysdeps/s390/s390-32/elf/start.S: ...here. - * sysdeps/s390/ffs.c: Move to... - * sysdeps/s390/s390-32/ffs.c: ...here. - * sysdeps/s390/memchr.S: Move to... - * sysdeps/s390/s390-32/memchr.S: ...here. - * sysdeps/s390/memcpy.S: Move to... - * sysdeps/s390/s390-32/memcpy.S: ...here. - * sysdeps/s390/memset.S: Move to... - * sysdeps/s390/s390-32/memset.S: ...here. - * sysdeps/s390/mul_1.S: Move to... - * sysdeps/s390/s390-32/mul_1.S: ...here. - * sysdeps/s390/s390-mcount.S: Move to... - * sysdeps/s390/s390-32/s390-mcount.S: ...here. - * sysdeps/s390/strcpy.S: Move to... - * sysdeps/s390/s390-32/strcpy.S: ...here. - * sysdeps/s390/strncpy.S: Move to... - * sysdeps/s390/s390-32/strncpy.S: ...here. - * sysdeps/s390/sub_n.S: Move to... - * sysdeps/s390/s390-32/sub_n.S: ...here. - -2001-03-13 Martin Schwidefsky - - * sysdeps/s390/s390-64/Dist: New file. - * sysdeps/s390/s390-64/Implies: New file. - * sysdeps/s390/s390-64/Makefile: New file. - * sysdeps/s390/s390-64/__longjmp.c: New file. - * sysdeps/s390/s390-64/add_n.S: New file. - * sysdeps/s390/s390-64/atomicity.h: New file. - * sysdeps/s390/s390-64/backtrace.c: New file. - * sysdeps/s390/s390-64/bcopy.S: New file. - * sysdeps/s390/s390-64/bits/byteswap.h: New file. - * sysdeps/s390/s390-64/bits/huge_val.h: New file. - * sysdeps/s390/s390-64/bits/setjmp.h: New file. - * sysdeps/s390/s390-64/bits/string.h: New file. - * sysdeps/s390/s390-64/bsd-_setjmp.S: New file. - * sysdeps/s390/s390-64/bsd-setjmp.S: New file. - * sysdeps/s390/s390-64/bzero.S: New file. - * sysdeps/s390/s390-64/dl-machine.h: New file. - * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file. - * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file. - * sysdeps/s390/s390-64/elf/setjmp.S: New file. - * sysdeps/s390/s390-64/elf/start.S: New file. - * sysdeps/s390/s390-64/ffs.c: New file. - * sysdeps/s390/s390-64/initfini.c: New file. - * sysdeps/s390/s390-64/memchr.S: New file. - * sysdeps/s390/s390-64/memcpy.S: New file. - * sysdeps/s390/s390-64/memset.S: New file. - * sysdeps/s390/s390-64/s390x-mcount.S: New file. - * sysdeps/s390/s390-64/setjmp.S: New file. - * sysdeps/s390/s390-64/strcpy.S: New file. - * sysdeps/s390/s390-64/strncpy.S: New file. - * sysdeps/s390/s390-64/sub_n.S: New file. - * sysdeps/s390/s390-64/sysdep.h: New file. - -2001-03-13 Martin Schwidefsky - - * scripts/config.guess: Add support for Linux on 64 bit S/390. - * scripts/config.sub: Likewise. - -2001-03-13 Martin Schwidefsky - - * configure.in: Add support for 64 bit S/390. - - * elf/elf.h: Add new relocations for 64 bit S/390. - - * shlib-versions: Add rules for Linux on 64 bit S/390. - -2001-03-13 Martin Schwidefsky - - * sysdeps/s390/__longjmp.c: Move to... - * sysdeps/s390/s390-32/__longjmp.c: ...here. Add code - to load the floating point registers that should be saved - according to the ABI. - - * sysdeps/s390/bits/setjmp.h: Move to... - * sysdeps/s390/s390-32/bits/setjmp.h: ...here. Avoid - the use of long long in the __jmp_buf type definition. - - * sysdeps/s390/bits/string.h: Move to... - * sysdeps/s390/s390-32/bits/string.h: ...here. Add several missing - #ifndef _FORCE_INLINES. - - * sysdeps/s390/dl-machine.h: Move to... - * sysdeps/s390/s390-32/dl-machine.h: ...here. Add a check for the - executables EI_CLASS in elf_machine_matches_host. - - * sysdeps/s390/elf/setjmp.S: Move to... - * sysdeps/s390/s390-32/elf/setjmp.S: ...here. Replace - branches to globally defined symbol __sigsetjmp by branches to - a local label (this avoids the generation of a R_390_PC16DBL - relocation in -fpic code). - - * sysdeps/s390/gmp-mparam.h: Use defines from to - calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT. - - * sysdeps/s390/initfini.c: Move to... - * sysdeps/s390/s390-32/initfini.c: ...here. Replace ALIGN with - ".align 4,0x07". - - * sysdeps/s390/setjmp.S: Move to... - * sysdeps/s390/s390-32/setjmp.S: ...here. Add code to store the - floating point registers that should be saved according to the ABI. - - * sysdeps/s390/sys/ucontext.h: Remove since it is unused. - - * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to... - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include - sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h. - -2001-03-13 Martin Schwidefsky - - * configure.in: Change machine=s390 to machine=s390/s390-32. - - * elf/elf.h: Correct comment for R_390_PLT16DBL. - -2001-03-12 Jakub Jelinek - - * csu/Makefile (abi-tag.h): Define OS and version separately, allow - version to be overriden from config.h. - * csu/abi-note.S: Use OS and version separately, include config.h. - * elf/dl-load.c (_dl_osversion): New. - (_dl_map_object_from_fd): Kill some warnings. - (open_verify): Check .note.ABI-tag of the library if present. - * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx). - * elf/cache.c (struct cache_entry): Add osversion. - (print_entry): Print osversion. - (print_cache): Pass osversion to it. - (compare): Sort according to osversion. - (save_cache): Set osversion. - (add_to_cache): Add osversion argument. - * sysdeps/generic/ldconfig.h (add_to_cache, process_file, - process_elf_file): Add osversion argument. - * elf/readlib.c (process_file): Likewise. - * sysdeps/generic/readelflib.c (process_elf_file): Likewise. - * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file, - process_elf32_file, process_elf64_file): Likewise. - * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file, - process_elf32_file, process_elf64_file): Likewise. - * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file, - process_elf32_file, process_elf64_file): Likewise. - * elf/ldconfig.c (manual_link): Pass it. - (search_dir): Issue diagnostic if two libs with the same soname in - the same directory have different .note.ABI-tag. Record osversion in - dlib_entry and use it from there. - (struct lib_entry): Remove. - (struct dlib_entry): Add osversion. - * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check - osversion. - * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused - field with osversion. - * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare. - * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h. - * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel - version in _dl_osversion. - * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION. - * Makerules (build-shlib-helper, build-module-helper): New. - (build-shlib, build-module-helper): Make sure .note.ABI-tag comes - early. - * config.h.in (__ABI_TAG_VERSION): Add. - * elf/dl-minimal.c (__strtoul_internal): Set endptr on return. - * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS): - Handle LD_ASSUME_KERNEL. - * sysdeps/unix/sysv/linux/dl-librecon.h: New. - -2001-03-15 Ulrich Drepper - - * timezone/antarctica: Update from tzdata2001a. - * timezone/asia: Likewise. - * timezone/australasia: Likewise. - * timezone/backward: Likewise. - * timezone/etcetera: Likewise. - * timezone/europe: Likewise. - * timezone/leapseconds: Likewise. - * timezone/northamerica: Likewise. - * timezone/southamerica: Likewise. - * timezone/systemv: Likewise. - * timezone/yearistype: Likewise. - * timezone/zone.tab: Likewise. - * timezone/tzdump.c: Update from tzcode2001a. +2000-05-21 Jakub Jelinek -2001-03-15 H.J. Lu + * libio/libioP.h (_IO_CHECK_WIDE): Define. + * libio/iosetbuffer.c (_IO_setbuffer): Use it. + * libio/iosetvbuf.c (_IO_setvbuf): Likewise. + * libio/fileops.c (_IO_new_file_fopen): Return NULL if + _IO_CHECK_WIDE fails. - * intl/Makefile: Fix a typo. - -2001-03-14 David Mosberger - - * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when - writing arc structures. - -2001-03-15 H.J. Lu - - * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against - cross-compiling. - -2001-03-13 Andreas Schwab - - * posix/PTESTS2C.sed: Replace literal CRs by `\r'. - -2001-03-15 Ulrich Drepper - - * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test - for control message fitting into message data. - Patch by James Antill . - - * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with - FNM_EXTMATCH. - - * posix/fnmatch_loop.c: Optimize handling of ?() and @(). - * posix/fnmatch.c: Define STRLEN and STRCAT appropriately. - - * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch. - * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to - avoid running binaries with libc versions without FNM_EXTMATCH support. - - * include/wchar.h: Add prototype for __wcscat. - * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias. - - * posix/fnmatch.h (FNM_EXTMATCH): Define. - * posix/fnmatch.c (NO_LEADING_PERIOD): Define. - (posixly_correct): Move global variable here. - (INT, EXT, END): Name new functions defined in fnmatch_loop.c. - (fnmatch): Pretty printing. - * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH. - * posix/tst-fnmatch.c: Recognize EXTMATCH flag. - * posix/tst-fnmatch.input: Add tests for extended matching. - - * posix/testfnm.c: Add test for patterns with multiple ** before /. - * posix/fnmatch_loop.c: Fix problem with the test above. - -2001-03-14 Ulrich Drepper - - * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove - reference to usqrt. - - * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init. - -2001-03-12 Andreas Jaeger - - * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file): - Use EM_X86_64 instead of EM_X8664. - -2001-03-12 Ulrich Drepper - - * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF. - - * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary - conditions. - - * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary - conditions. - - * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN - correctly. - (__cos): Likewise. - - * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN - correctly. - (__ieee754_acos): Likewise. - -2001-03-12 Andreas Jaeger - - * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H): - Fix typo. Patch by Martin Schwidefsky . - - * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against - redefinition. - -2001-03-11 Roland McGrath - - * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix. - -2001-03-11 Ulrich Drepper - - * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and - LITTLE_ENDI. - - * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as - parameter list. - - Last-bit accurate math library implementation by IBM Haifa. - Contributed by Abraham Ziv , Moshe Olshansky - , Ealan Henis , and - Anna Reitman . - * math/Makefile (dbl-only-routines): New variable. - (libm-routines): Add $(dbl-only-routines). - * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c. - * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin - implementation. - * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2 - implementation. - * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp - implementation. - * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and - __kernel_cos. - * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log - implementation. - * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate - remainder implementation. - * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow - implementation. - * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt - implementation. - * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c. - * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c. - * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan - implementation. - * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c. - * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos - implementation. - * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin - and __kernel_cos. - * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan - implementation. - * sysdeps/ieee754/dbl-64/Dist: Add new non-code files. - * sysdeps/ieee754/dbl-64/MathLib.h: New file. - * sysdeps/ieee754/dbl-64/asincos.tbl: New file. - * sysdeps/ieee754/dbl-64/atnat.h: New file. - * sysdeps/ieee754/dbl-64/atnat2.h: New file. - * sysdeps/ieee754/dbl-64/branred.c: New file. - * sysdeps/ieee754/dbl-64/branred.h: New file. - * sysdeps/ieee754/dbl-64/dla.h: New file. - * sysdeps/ieee754/dbl-64/doasin.c: New file. - * sysdeps/ieee754/dbl-64/doasin.h: New file. - * sysdeps/ieee754/dbl-64/dosincos.c: New file. - * sysdeps/ieee754/dbl-64/dosincos.h: New file. - * sysdeps/ieee754/dbl-64/endian.h: New file. - * sysdeps/ieee754/dbl-64/halfulp.c: New file. - * sysdeps/ieee754/dbl-64/mpa.c: New file. - * sysdeps/ieee754/dbl-64/mpa.h: New file. - * sysdeps/ieee754/dbl-64/mpa2.h: New file. - * sysdeps/ieee754/dbl-64/mpatan.c: New file. - * sysdeps/ieee754/dbl-64/mpatan.h: New file. - * sysdeps/ieee754/dbl-64/mpatan2.c: New file. - * sysdeps/ieee754/dbl-64/mpexp.c: New file. - * sysdeps/ieee754/dbl-64/mpexp.h: New file. - * sysdeps/ieee754/dbl-64/mplog.c: New file. - * sysdeps/ieee754/dbl-64/mplog.h: New file. - * sysdeps/ieee754/dbl-64/mpsqrt.c: New file. - * sysdeps/ieee754/dbl-64/mpsqrt.h: New file. - * sysdeps/ieee754/dbl-64/mptan.c: New file. - * sysdeps/ieee754/dbl-64/mydefs.h: New file. - * sysdeps/ieee754/dbl-64/powtwo.tbl: New file. - * sysdeps/ieee754/dbl-64/root.tbl: New file. - * sysdeps/ieee754/dbl-64/sincos.tbl: New file. - * sysdeps/ieee754/dbl-64/sincos32.c: New file. - * sysdeps/ieee754/dbl-64/sincos32.h: New file. - * sysdeps/ieee754/dbl-64/slowexp.c: New file. - * sysdeps/ieee754/dbl-64/slowpow.c: New file. - * sysdeps/ieee754/dbl-64/uasncs.h: New file. - * sysdeps/ieee754/dbl-64/uatan.tbl: New file. - * sysdeps/ieee754/dbl-64/uexp.h: New file. - * sysdeps/ieee754/dbl-64/uexp.tbl: New file. - * sysdeps/ieee754/dbl-64/ulog.h: New file. - * sysdeps/ieee754/dbl-64/ulog.tbl: New file. - * sysdeps/ieee754/dbl-64/upow.h: New file. - * sysdeps/ieee754/dbl-64/upow.tbl: New file. - * sysdeps/ieee754/dbl-64/urem.h: New file. - * sysdeps/ieee754/dbl-64/uroot.h: New file. - * sysdeps/ieee754/dbl-64/usncs.h: New file. - * sysdeps/ieee754/dbl-64/utan.h: New file. - * sysdeps/ieee754/dbl-64/utan.tbl: New file. - * sysdeps/i386/fpu/branred.c: New file. - * sysdeps/i386/fpu/doasin.c: New file. - * sysdeps/i386/fpu/dosincos.c: New file. - * sysdeps/i386/fpu/halfulp.c: New file. - * sysdeps/i386/fpu/mpa.c: New file. - * sysdeps/i386/fpu/mpatan.c: New file. - * sysdeps/i386/fpu/mpatan2.c: New file. - * sysdeps/i386/fpu/mpexp.c: New file. - * sysdeps/i386/fpu/mplog.c: New file. - * sysdeps/i386/fpu/mpsqrt.c: New file. - * sysdeps/i386/fpu/mptan.c: New file. - * sysdeps/i386/fpu/sincos32.c: New file. - * sysdeps/i386/fpu/slowexp.c: New file. - * sysdeps/i386/fpu/slowpow.c: New file. - * sysdeps/ia64/fpu/branred.c: New file. - * sysdeps/ia64/fpu/doasin.c: New file. - * sysdeps/ia64/fpu/dosincos.c: New file. - * sysdeps/ia64/fpu/halfulp.c: New file. - * sysdeps/ia64/fpu/mpa.c: New file. - * sysdeps/ia64/fpu/mpatan.c: New file. - * sysdeps/ia64/fpu/mpatan2.c: New file. - * sysdeps/ia64/fpu/mpexp.c: New file. - * sysdeps/ia64/fpu/mplog.c: New file. - * sysdeps/ia64/fpu/mpsqrt.c: New file. - * sysdeps/ia64/fpu/mptan.c: New file. - * sysdeps/ia64/fpu/sincos32.c: New file. - * sysdeps/ia64/fpu/slowexp.c: New file. - * sysdeps/ia64/fpu/slowpow.c: New file. - * sysdeps/m68k/fpu/branred.c: New file. - * sysdeps/m68k/fpu/doasin.c: New file. - * sysdeps/m68k/fpu/dosincos.c: New file. - * sysdeps/m68k/fpu/halfulp.c: New file. - * sysdeps/m68k/fpu/mpa.c: New file. - * sysdeps/m68k/fpu/mpatan.c: New file. - * sysdeps/m68k/fpu/mpatan2.c: New file. - * sysdeps/m68k/fpu/mpexp.c: New file. - * sysdeps/m68k/fpu/mplog.c: New file. - * sysdeps/m68k/fpu/mpsqrt.c: New file. - * sysdeps/m68k/fpu/mptan.c: New file. - * sysdeps/m68k/fpu/sincos32.c: New file. - * sysdeps/m68k/fpu/slowexp.c: New file. - * sysdeps/m68k/fpu/slowpow.c: New file. - - * iconvdata/gconv-modules: Add a number of alias, mostly for IBM - codepages. - -2001-03-11 Andreas Jaeger - - * elf/elf.h (EM_*): Synch with official list. - -2001-03-07 David Mosberger - - * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro. - -2001-03-07 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused - variables addr & len. - -2001-02-22 Jes Sorensen - - * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove - punctuation in asm constraint. - -2001-03-07 Mark Kettenis - - * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include - to get definition of `struct timespec'. - -2001-03-08 Jakub Jelinek - - * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if - LD_WARN=1, not if LD_WARN is unset. - -2001-03-07 Andreas Schwab - - * elf/ldconfig.h: Moved to ... - * sysdeps/generic/ldconfig.h: ... here. - * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file. - * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file. - * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file. - * elf/readlib.c (interpreters, known_libs): Use - SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES - instead of hard coding old names. - -2001-03-09 Ulrich Drepper - - * catgets/Makefile (generated): Add test-gencat.h. - (sample.SJIS.cat): Also generate header. - * catgets/sample.SJIS: Add new set and message, both with symbolic - names. - * catgets/test-gencat.sh: Also compare generated header with what - we expect. - -2001-03-07 Jakub Jelinek +2000-05-28 Ulrich Drepper - * catgets/gencat.c (read_input_file): Preserve properly symbolic - names. + * po/da.po: New file. -2001-03-06 Andreas Jaeger + * manual/arith.texi (Rounding Functions): Fix documentation of trunc. + Patch by Steven G. Johnson . - * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not - needed. - (elf_machine_pltrel_p): Likewise. - * sysdeps/powerpc/dl-machine.h: Likewise. - * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise. + * manual/charset.texi (Extended Char Intro): Fix typo (and -> as). + (Other iconv Implementations): Fix typo. + Patch by Martin Pool . -2001-03-09 Ulrich Drepper +2000-05-27 Andreas Jaeger - * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and - dl-procinfo.h. + * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the + normal version now. + * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pread.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/arm/pread.c: Likewise. + * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise. -2001-03-05 Philip Blundell + * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check + endianness to decide how to pass arguments. + * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise. - * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file. - * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file. - * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf] - (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add - dl-procinfo. + * elf/vismain.c: Use test-skeleton interface. + (TEST_FUNCTION): New macro. + (do_test): Renamed from main. -2001-03-09 Ulrich Drepper +2000-05-27 Ulrich Drepper - * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle - is not available. - * dlfcn/tstcxaatexit.c (main): Likewise. + * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family == + AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses. -2001-03-10 Andreas Jaeger + * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct + handling of AI_V4MAPPED flag. - * sysdeps/i386/fpu/libm-test-ulps: Revert last patch. + * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup + of IPv6 address failed and RES_USE_INET6 bit in _res.options is set, + perform lookup for T_A type and tell getanswer_r to convert the + result with new argument. + (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r. + Don't convert addresses from IPv4 to IPv6 here. + (getanswer_r): Take new parameter indicating if mapping from IPv4 to + IPv6 is wanted. Allow qtype and type from reply to disagree if + IPv4 mapping has to be done. Perform mappings if required by the + caller and not if RES_USE_INET6 bit in _res.options is set. + Add several __builtin_expect. -2001-03-09 Andreas Jaeger +2000-05-26 Ulrich Drepper - * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle - both new and old EM_S390 values. - (EM_S390_OLD): New constant. + * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect. - * elf/elf.h (EM_S390): Use official value. + * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader == + NULL. -2001-03-09 Ulrich Drepper + * posix/tst-preadwrite.c: Allow parallel execution of + tst-preadwrite and tst-preadwrite64. - * conform/data/sys/socket.h-data: Allow SO* symbols. + * posix/Makefile (tests): Add tst-truncate and tst-truncate64. + * posix/tst-truncate.c: New file. + * posix/tst-truncate64.c: New file. -2001-03-07 Andreas Schwab + * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code + was switched. - * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of - routines, and sysdep-CPPFLAGS instead of CPPFLAGS. + * posix/Makefile (tests): Add tst-preadwrite64. + * posix/tst-preadwrite.c: Alloc file being used also for testing + pread64 and pwrite64. + * posix/tst-preadwrite64.c: New file. -2001-03-07 Andreas Jaeger +2000-05-26 Andreas Jaeger - * resolv/Makefile (routines): Only build gai_sigqueue when threads - are available. + * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order + of arguments dependend on endianness. + * sysdeps/unix/sysv/linux/truncate64.c: Likewise. -2001-03-07 Jakub Jelinek + * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the + normal version now. + * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. - * elf/ldconfig.c (_dl_sysdep_message): Remove. - * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include - ldsodefs.h. - * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise. + * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check + endianness to check how to pass argument. + * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise. - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use - _dl_error_printf instead of _dl_sysdep_error. + * elf/ldconfig.h: Update parameter list for process_elf_file. + + * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file): + Add parameter file_length and pass it ot process_elf*file. + + * sysdeps/generic/readelflib.c (check_ptr): New. + (process_elf_file): Use check_ptr to check all accesses to the + mmapped file. Add parameter file_length. + + * elf/readlib.c (known_libs): Use to specify + library names. + + * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion. + Closes PR libc/1573, reported by Bradley White + . + +2000-05-25 Ulrich Drepper + + * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if + __FAST_MATH__ is defined. + +2000-05-22 Andreas Jaeger + + * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c, + CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c. + + * manual/math.texi (FP Function Optimizations): Document gcc + -ffast-math behaviour with mathinlines. + + * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline + functions unless -ffast-math is given to gcc. + +2000-05-23 Jakub Jelinek + + * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf, + __sincosl): Guard with __USE_GNU. + +2000-05-24 Ulrich Drepper + + * csu/Makefile (routines): Add check_fds. + * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID + binaries. Add various __builtin_expect. + * sysdeps/generic/libc-start.c: Move check_fds and helper functions... + * sysdeps/generic/check_fds.c: ...here. New file. + + * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID + binaries if file /etc/suid-debug is available. + + * locale/programs/ld-collate.c (struct element_t): Add mbseqorder + and wcseqorder members. + (struct locale_collate_t): Likewise. + (collate_finish): Assign collation sequence value to each character. + Create tables for output. + (collate_output): Write out tables with collation sequence information. + * locale/C-collate.c: Provide C locale data for collation sequence + table. + * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and + _NL_COLLATE_COLLSEQWC. + * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and + _NL_COLLATE_COLLSEQWC. + * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before + include fnmatch_loop.c. + * posix/fnmatch_loop.c: Don't use strcoll while determining whether + character is matched by range expression. Use collation sequence + table. Outside glibc fall back on simple character value comparison. + +2000-05-24 Andreas Jaeger + + * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double + words. + + * intl/Makefile: Run gettext-test only if msgfmt is available. + + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS): + Define it for newer kernels. + +2000-05-23 Ulrich Drepper + + * elf/dl-sym.c: Minor cleanups. + + * configure.in: Add test for .protected. + * config.make.in: Add have-protected variable. + * elf/Makefile (tests): Add $(tests-vis-$(have-protected)). + (tests-vis-yes): Add vismain. + (modules-names): Add $(modules-vis-$(have-protected)). + (modules-vis-yes): Add vismod1, vismod2, and vismod3. + Add rules to generate and run vismain. + * elf/vismain.c: New file. + * elf/vismod1.c: New file. + * elf/vismod2.c: New file. + * elf/vismod3.c: New file. + +2000-05-23 Andreas Jaeger + + * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a. + + * manual/search.texi (Array Sort Function): Document that qsort is + not necessarily in-place. + + * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N. + Closes PR libc/1731. + + * csu/munch-tmpl.c (__libc_init): Remove K&R support. + * dirent/scandir64.c: Likewise. + * pwd/getpw.c: Likewise. + * stdlib/bsearch.c (bsearch): Likewise. + * stdlib/tst-strtoll.c: Likewise. + * localedata/collate-test.c: Likewise. + * localedata/xfrm-test.c: Likewise. + * posix/bsd-getpgrp.c: Likewise. + * sysdeps/alpha/fpu/bits/fenv.h: Likewise. + * sysdeps/generic/bits/siginfo.h: Likewise. + * sysdeps/generic/bits/sockaddr.h: Likewise. + * sysdeps/generic/sys/swap.h: Likewise. + * sysdeps/generic/sys/sysinfo.h: Likewise. + * sysdeps/generic/vfork.c: Likewise. + * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise. + * sysdeps/mach/hurd/fdopen.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise. + * sysdeps/unix/sysv/linux/poll.c: Likewise. + * sysdeps/unix/sysv/linux/readv.c: Likewise. + * sysdeps/unix/sysv/linux/writev.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise. + + * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes. + * shadow/lckpwdf.c: Likewise. + * stdlib/tst-strtol.c: Likewise. + * sysdeps/generic/tcsetattr.c: Likewise. + * sysdeps/unix/sysv/linux/ttyname.c: Likewise. + * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise. + +2000-05-22 Jakub Jelinek + + * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements, + free it and set to (void *) -1. + +2000-05-22 Jakub Jelinek + + * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is + not the second character in the range. + * stdio-common/tstscanf.c (main): Add testcase for the above. + Reported by jik@kamens.brookline.ma.us. + +2000-05-21 H.J. Lu + + * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter + with noexec and noplt parameter. + (do_lookup): Likewise. + + * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of + do_lookup. Support STV_PROTECTED. + (_dl_lookup_symbol_skip): Likewise. + (_dl_lookup_versioned_symbol): Likewise. + (_dl_lookup_versioned_symbol_skip): Likewise. + + * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY. + + * elf/dl-runtime.c (profile_fixup): Fix a typo in comment. + +2000-05-21 Jakub Jelinek + + * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95. + * sysdeps/i386/bits/huge_val.h: Likewise. + * sysdeps/ieee754/bits/huge_val.h: Likewise. + * sysdeps/m68k/bits/huge_val.h: Likewise. + * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise. + * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise. + +2000-05-22 Andreas Jaeger + + * iconv/tst-iconv1.c (main): Remove const from inbuf to follow + change in iconv.h. + +2000-05-19 Andreas Jaeger + + * sysdeps/unix/sysv/linux/i386/i686/sysdep.h + (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which + breaks compilation without linuxthreads. + +2000-05-21 Ulrich Drepper + + * sysdeps/ia64/memccpy.S: New file. + * sysdeps/ia64/memchr.S: New file. + * sysdeps/ia64/memcmp.S: New file. + * sysdeps/ia64/memcpy.S: New file. + * sysdeps/ia64/memmove.S: New file. + * sysdeps/ia64/memset.S: New file. + * sysdeps/ia64/strcat.S: New file. + * sysdeps/ia64/strchr.S: New file. + * sysdeps/ia64/strcmp.S: New file. + * sysdeps/ia64/strcpy.S: New file. + * sysdeps/ia64/strlen.S: New file. + * sysdeps/ia64/strncmp.S: New file. + * sysdeps/ia64/strncpy.S: New file. + * sysdeps/ia64/softpipe.h: New file. + Patches by Dan Pop . + + * manual/memory.texi: Document memory handling functions (mlock, + munlock, mlockall, munlockall, brk, and sbrk) + * manual/time.texi: Document timespec and friends. + * manual/conf.texi: Fix references. + * manual/ctype.texi: Likewise. + * manual/errno.texi: Likewise. + * manual/intro.texi: Likewise. + * manual/locale.texi: Likewise. + * manual/sysinfo.texi: Likewise. + Patches by Bryan Henderson . + +2000-05-09 Jes Sorensen + + * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to... + * sysdeps/ia64/dl-lookupcfg.h: ...here. + +2000-05-21 Jakub Jelinek + + * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate + dxfer_direction. + +2000-05-21 Ulrich Drepper + + * locale/locale.h (struct lconv): Add new elements from ISO C99. + * locale/localeconv.c: Initialize new elements from ISO C99. + * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for + new standard elements. + * locale/categories.def: Adjust accordingly. + + * iconv/iconv.h (iconv): Remove const from inbuf parameter. + * iconv/iconv.c: Likewise. + * conform/data/iconv.h-data: Likewise. + * iconv/iconv_prog.c (process_block): Remove const from second + parameter. + (main): Remove const from addr definition. + * manual/charset.texi (Generic Conversion Interface): Remove from + inbuf parameter of iconv. + + * intl/dcigettext.c: Fix typo in comment. + +2000-05-20 2000 H.J. Lu + + * resolv/res_libc.c (_res): Initialize _sock to -1. + +2000-05-18 Jakub Jelinek + + * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie. + (fopencookie@@GLIBC_2.2): New. + (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New. + (fopencookie@GLIBC_2.0): New. + * libio/Versions: Add fopencookie to GLIBC_2.2. + +2000-05-18 Andreas Jaeger + + * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N. + Closes PR libc/1731. + + * manual/arith.texi (Parsing of Integers): Fix typo. + Closes PR libc/1744, reported by blp@gnu.org. + +2000-05-17 Jakub Jelinek + + * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add + __extension__ to hexadecimal floating constant notation. + * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): + Likewise. + * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise. + * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): + Likewise. + * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF, + HUGE_VALL): Likewise. + * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF, + HUGE_VALL): Likewise. + (HUGE_VALL): Set to HUGE_VAL on sparc32. + +2000-05-17 Andreas Jaeger + + * string/envz.h: Add pure attributes if possible. + + * string/argz.h: argz_count is a pure function. + + * string/strings.h: Add pure and const attributes if possible. + + * sysdeps/generic/memmem.c (memmem): Check arguments to avoid + possibly searching through the whole memory. + Closes PR libc/1730, reported by Greg Hudson . + +2000-05-17 Jakub Jelinek + + * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if + not yet defined. + (_dl_cache_check_flags): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next + dl-cache.h. + +2000-05-17 Andreas Jaeger + + * manual/creature.texi (Feature Test Macros): Remove paragraph + since the description is wrong. + Closes PR libc/1691, reported by Geoff Clare . + + * scripts/config.sub: New version. + * scripts/config.guess: Likewise. + * manual/texinfo.tex: Likewise. + + * time/test_time.args: Removed. + * time/Makefile (test_time-ARGS): Added contents here instead. + + * posix/tstgetopt.args: Removed. + * posix/Makefile (tstgetopt-ARGS): Added contents here instead. + + * Rules: Allow arguments for test files to be specified in + Makefile with testname-ARGS; remove rules with .args in it. + + * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1, + remove old bogus rule for opendir-tst1.args. + + * stdlib/test-canon.c: Rewrite to use test-skeleton.c. + + * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir + into objdir. This allows a readonly sourcetree. + Reported by lrgallardo@yahoo.com, closes PR libc/1421. + +2000-05-16 Andreas Jaeger , + David Huggins-Daines + + * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set + cache_data in case of only new cache format correctly. + + * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct + cache_file_new. + + * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align + struct cache_file_new. + + * elf/cache.c (save_cache): Fix str_offset if only new cache is + present. + + * elf/cache.c (save_cache): Align struct new_file_cache. + (print_cache): Likewise. + +2000-05-13 Jakub Jelinek + + * elf/soinit.c (__libc_global_ctors): Move + __pthread_initialize_minimal call out of HAVE_DWARF2_* defines. + * resolv/resolv.h (__res_state): Added __attribute__((const)). + (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as + variable, don't define it to __res_state call. + +2000-05-13 Andreas Jaeger + + * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from + Linux 2.3.99pre7. + (AF_PPPOX): Likewise. + * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise. + (AF_PPPOX): Likewise. + +2000-05-12 Andreas Jaeger + + * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices. + Reported by tmoestl@gmx.net, closes PR libc/1732. + +2000-05-11 Jan Hubicka + + * misc/sys/cdefs.h: Add support for pure attribute. + + * include/string.h: Add __attribute_pure__ to various functions. + * string/string.h: Likewise. + +2000-05-10 Jakub Jelinek + + * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt + argument. + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle + R_SPARC_UA64. + * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file. + +2000-05-10 Jakub Jelinek + + * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message + at proper place. Compute the high nibble correctly. + +2000-05-09 Jakub Jelinek + + * elf/ldconfig.c: Include elf.h. + + * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero. + (_dl_vsym): Likewise. + Reported by Owen Taylor . + + * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini + always. + +2000-05-08 Andreas Jaeger + + * include/libintl.h: Add prototype for __bind_textdomain_codeset. + + * intl/bindtextdom.c (set_binding_values): Add prototype. + +2000-05-08 Jakub Jelinek + + * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in + call to elf_machine_fixup_plt. + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo): - Use _dl_printf instead of _dl_sysdep_message. - * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo): + +2000-05-08 Jakub Jelinek + + * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that + they are not dlclose'd from underneath us. + +2000-05-08 Andreas Schwab + + * posix/execle.c: Fix size parameter of memcpy. + +2000-05-08 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use + getpagesize syscall if available. + +2000-05-08 Andreas Jaeger + + * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and + set errno. + +2000-05-08 Jakub Jelinek + + * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in + sizeof(struct link_map *) chunks, not in bytes. + +2000-05-07 Ulrich Drepper + + * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's + only needed for locale. + * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS. + It's only needed for catgets. + Patches by Greg McGary . + +2000-05-07 Mark Kettenis + + * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print. + Remove duplicate include. Remove inclusion of + and "nsswitch.h". + (set_cloexec_flag): New function, broken out of dbopen. + (dbopen): Changed return type to `enum + nss_status'. Mostly rewritten to make sure that we do not report + NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts. + (internal_setent): Change return type to nss_status. + Document, and make sure that the function + behaves accordingly. Make dynamically loading the database + library really thread-safe and return NSS_STATUS_UNAVAIL if it + failed. + (db_cursor): Return ENOMEM is memory allocation failed. Remove + unecessary casts. + * nss/nss_db/dummy-db.h: Add copyright notice. Improve + documentation. + (struct dbc24, struct dbc27): Use DBT type in parameter lists for + c_get function member. + * nss/nss_db/nss_db.h: Add and tweak some comments. + (DBT): Move typedef before NSS_DBC typedef. + (NSS_DBC, NSS_DB): Use DBT in function member parameter lists. + +2000-05-07 H.J. Lu + + * csu/initfini.c: Moved to .... + * sysdeps/generic/initfini.c: ...here. + + * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs). + +2000-05-07 Ulrich Drepper + + * manual/resource.texi: Document POSIX scheduling functions. + Patch by Bryan Henderson . + + * inet/rcmd.c (rcmd_af): errno is not set if read returns without + reading anything. Reported by Andries.Brouwer@cwi.nl. + + * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type + for x since promotion in comparison might leads to unexpected + results. Reported by Dan Pop . + + * iconv/Makefile (tests): Add tst-iconv1. + * iconv/tst-iconv1.c: New file. + * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting + empty input buffer over full output buffer. + (ucs4_internal_loop): Likewise. + (ucs4_internal_loop_unaligned): Likewise. + (internal_ucs4le_loop): Likewise. + (internal_ucs4le_loop_unaligned): Likewise. + (ucs4le_internal_loop): Likewise. + (ucs4le_internal_loop_unaligned): Likewise. + Reported by yaoz@nih.gov. + +2000-05-06 Bruno Haible + + * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform + returned != __GCONV_OK, there is nothing to clean up. + +2000-05-06 Bruno Haible + + * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and + OUTPUT_CHARSET environment variables. + +2000-05-06 Andreas Jaeger + + * sysdeps/generic/dl-cache.h (struct file_entry_new): New. + (struct cache_file_new): New. + (struct file_entry): New (moved from cache.c). + (struct cache_file): New (moved from cache.c). + + * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out + from _dl_load_cache_lookup. + (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle + the different cache formats. + New variable cache_new for new format. + + * elf/ldconfig.h: Change according to changes in cache.c and + ldconfig.c; remove cache_libcmp; add opt_format. + + * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove + stuff that's defined in those headers. + Add hwcap to struct lib_entry. + (opt_format): New variable to select cache format. + (options): Add format parameter. + (is_hwcap): New function. + (path_hwcap): New function. + (parse_opt): Handle new format parameter. + (search_dir): Handle hwcap, search also subdirectories with hwcap. + + * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since + ldconfig is part of glibc. + Include dl-cache.h and remove stuff that's defined there. + (struct cache_entry): Add new member hwcap. + (print_entry): Print hwcap, cleanup a bit. + (print_cache): Print new and old formats. + (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap. + (save_cache): Save new and old formats. + (add_to_cache): Handle hwcap. + + * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here... + * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here. + * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here... + * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here. + * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here... + * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here. + +2000-05-05 Bruno Haible + + * intl/dcigettext.c (alignof): New macro. + (_nl_find_msg): Use it instead of __alignof__. Pass correct output + buffer length to __gconv/iconv. If malloc (freemem_size) fails, set + freemem_size to 0. + +2000-05-05 Bruno Haible + + * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch + return value. + +2000-05-06 Ulrich Drepper + + * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'. + (mempcpy): Correct typo is parameter list. + +2000-05-06 Andreas Jaeger + + * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline + functions unless -ffast-math is given to gcc. + +2000-05-06 Ulrich Drepper + + * po/ko.po: Update from translation team. + +2000-05-05 Ulrich Drepper + + * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to... + * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here. + * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to... + * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here. + * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to... + * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here. + + * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed. + * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed + * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed. + + * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file. + * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file. + * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file. + * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file. + + * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file. + * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file. + +2000-05-05 Jes Sorensen + + * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file. + * sysdeps/unix/sysv/linux/ia64/syscall.S: New file. + + * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file. + * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file. + + * sysdeps/ia64/Implies: New file. + * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address. + * sysdeps/ia64/Makefile: New file. + * sysdeps/ia64/gmp-mparam.h: New file, + + * sysdeps/ia64/elf/start.S: New file. + + * sysdeps/ia64/bits/fenv.h: New file. + +2000-05-05 David Mosberger-Tang + + * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file. + +2000-04-26 Jes Sorensen + + * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The + ia64 has 64 bit .hash entries just as the Alpha. + +2000-04-25 Jes Sorensen + + * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro. + +2000-04-17 Jes Sorensen + + * sysdeps/ia64/fpu/fclrexcpt.c: New file. + * sysdeps/ia64/fpu/fedisblxcpt.c: New file. + * sysdeps/ia64/fpu/feenablxcpt.c: New file. + * sysdeps/ia64/fpu/fegetenv.c: New file. + * sysdeps/ia64/fpu/fegetexcept.c: New file. + * sysdeps/ia64/fpu/fegetround.c: New file. + * sysdeps/ia64/fpu/feholdexcpt.c: New file. + * sysdeps/ia64/fpu/fesetenv.c: New file. + * sysdeps/ia64/fpu/fesetround.c: New file. + * sysdeps/ia64/fpu/feupdateenv.c: New file. + * sysdeps/ia64/fpu/fgetexcptflg.c: New file. + * sysdeps/ia64/fpu/fraiseexcpt.c: New file. + * sysdeps/ia64/fpu/fsetexcptflg.c: New file. + * sysdeps/ia64/fpu/ftestexcept.c: New file. + +2000-05-05 Andreas Jaeger + + * misc/tst-tsearch.c (main): Correct type for initstate argument. + + * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New. + (_dl_string_hwcap): New, does nothing. + + * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New. + (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant. + (_dl_string_hwcap): New function, converts from string to hwcap + encoding. + * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h + (_DL_HWCAP_COUNT): New. + (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant. + (_dl_string_hwcap): New function, converts from string to hwcap + encoding. + * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h + (_DL_HWCAP_COUNT): New. + (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant. + (_dl_string_hwcap): New function, converts from string to hwcap + encoding. + +2000-05-05 Ulrich Drepper + + * elf/Makefile (distribute): Add dl-lookupcfg.h. + * sysdeps/ia64/Dist: New file. + + * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of + parameter to mprotect and for variable assignments. + +2000-05-03 Jes Sorensen + + * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the + validity of map before dereferencing it. + + * elf/dl-reloc.c (RESOLVE_MAP): Define. + +2000-05-02 Jes Sorensen + + * elf/dl-runtime.c (fixup): Add the value returned in the symbol + lookup to the arguments to elf_machine_fixup_plt(). + + * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map + of the symbol being resolved to input argument list and make the + function return the pointer to the reloc. + + * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change + return valuie to lookup_t and return the value. + * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise. + * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise. + * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise. + * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise. + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise. + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise. + + * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise. + Make it an inline function returning value after calling + __elf_machine_fixup_plt(). + + * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the + symbol address. + + * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to + obtain the symbol address. + + * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro + depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL. + + * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling + _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an + inline on non ia64. + +2000-04-28 Jes Sorensen + + * elf/dl-runtime.c (fixup): Use the portable macros to get the + symbol address of an object. + + * elf/dl-runtime.c (fixup-profile): Use the portable macros to get + the symbol address of an object. + + * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t. + * elf/dl-lookup.c (_dl_lookup_symbol): Likewise. + (_dl_lookup_symbol_skip): Likewise. + (_dl_lookup_versioned_symbol): Likewise. + (_dl_lookup_versioned_symbol_skip): Likewise. + +2000-04-27 Jes Sorensen + + * elf/rtld.c (_dl_start): Get the function pointer return address + via _dl_start_address for architectures that need a function + pointer descriptor rather than just a pointer (ia64). + + * sysdeps/generic/dl-lookupcfg.h: New file. + * sysdeps/ia64/dl-lookupcfg.h: New file. + * sysdeps/ia64/dl-machine.h: New file. + * sysdeps/ia64/dl-symaddr.c: New file. + * sysdeps/ia64/dl-fptr.c: New file. + + * elf/elf.h: Add IA-64 specific definitions. + +2000-05-04 Jakub Jelinek + + * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the + end of enum. + +2000-05-04 Jakub Jelinek + + * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic + happy. + +2000-04-11 Geoff Keating + + * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user + symbol. Call _dl_init rather than the old way. + +2000-05-04 Ulrich Drepper + + * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to + test for pointer in range of DSO address space. + +2000-05-04 Andreas Jaeger + + * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC. + +2000-05-03 Ulrich Drepper + + * locale/findlocale.c (_nl_find_locale): Add new parameter to + calls of _nl_make_l10nflist. + + * libio/stdio.h: Make fseeko and ftello prototypes available is + __USE_LARGEFILE. Patch by Paul Eggert . + + * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the + real unsetenv implementation from 1999-07-29 [PR libc/1714]. + +2000-05-03 Bruno Haible + + * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname' + before calling tfind. + +2000-03-05 Jakub Jelinek + + * resolv/resolv.h (res_querydomain): Remove redefinition to + __res_querydomain (reported by Owen Taylor ). + +2000-05-03 Ulrich Drepper + + * po/gl.po: Update from translation team. + + * manual/intro.texi (Program Basics): Change section title. + * manual/process.texi: Fix reference. + (Executing a File): Add reference exec in other section. + * manual/signal.texi: Fix reference. + * manual/startup.texi: Document syscall function. + Patches by Bryan Henderson . + +2000-04-29 Bruno Haible + + * intl/libintl.h (bind_textdomain_codeset): New declaration. + * intl/bindtextdom.c (set_binding_values): New function. + (bindtextdomain): Call it. + (bind_textdomain_codeset): New function. + * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain. + (free_mem): Free each binding's codeset. + * intl/gettextP.h (struct binding): Add codeset field. + (_nl_find_domain): Add domainbinding argument. + * intl/finddomain.c (_nl_find_domain): Add domainbinding argument. + Pass it to _nl_make_l10nflist. + * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field. + (_nl_make_l10nflist): Add domainbinding argument. + * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument. + * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's + codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call + locale_charset(). + * manual/message.texi: New node "Charset conversion in gettext". + +2000-04-30 Bruno Haible + + * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where + appropriate. Handle possible __read error. + +2000-04-29 Bruno Haible + + * intl/gettextP.h (__builtin_expect): Define as empty if not a + compiler builtin. + * intl/loadinfo.h (__builtin_expect): Likewise. + * intl/dcigettext.c (dcigettext, _nl_find_msg): Use + __builtin_expect where appropriate. + * intl/loadmsgcat.c (_nl_load_domain): Likewise. + * intl/localealias.c (extend_alias_table): Return an error indicator. + (read_alias_file): Bail out if extend_alias_table fails. + +2000-04-29 Bruno Haible + + * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible. + * intl/localealias.c: Likewise. + +2000-05-01 Bruno Haible + + * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab. + Initialize domain->plural and domain->nplurals even if there is no + nullentry. + +2000-05-01 Bruno Haible + + * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return + value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK. + In case of failure, goto converted. + +2000-05-01 Bruno Haible + + * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away. + * iconv/gconv_int.h (norm_add_slashes): Move to here. + * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to + __gconv_open. + +2000-04-29 Bruno Haible + + * intl/dcigettext.c (transcmp): Compare the domains as well. + (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL, + not before. + * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include + . + +2000-05-03 Ulrich Drepper + + * string/bits/string2.h: Declare __strdup and __strndup if necessary. + Reported by Bruno Haible. + +2000-04-29 Bruno Haible + + * manual/arith.texi: Remove @w from @itemize. + +2000-05-02 Andreas Jaeger + + * conform/data/tar.h-data: Add some checks for specific values. + + * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS + and RAND_MAX. + + * conform/data/stdio.h-data: Add checks for value of TMP_MAX and + FOPEN_MAX. + + * conform/data/netinet/in.h-data: Add exact checks for the values + fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN. + + * conform/data/float.h-data: Add some minimal values. + + * conform/conformtest.pl: Test for macros with string constants, + check for minimum and maximum values. + Add limits.h to headers. + + * conform/data/cpio.h-data: Test for value of MAGIC. + + * conform/data/limits.h-data: New file. + +2000-04-30 Bruno Haible + + * math/Makefile (headers): Add bits/fenvinline.h. + +2000-05-01 Ulrich Drepper + + * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file. + * sysdeps/unix/sysv/aix/linux/direntconv.c: New file. + + * posix/Versions: Change posix_spawnattr_getdefault and + posix_spawnattr_setdefault to posix_spawnattr_getsigdefault + and posix_spawnattr_setsigdefault respectively. + * posix/spawn.h: Likewise. + * posix/spawnattr_getdefault.h: Likewise. + * posix/spawnattr_setdefault.h: Likewise. + * conform/data/spawn.h-data: Likewise. + +2000-05-01 Andreas Jaeger + + * nscd/nscd.c: Include for setgroups prototype. + +2000-04-30 Ulrich Drepper + + * manual/sysinfo.texi: Document getdomainname, setdomainname + and sysctl. + * manual/string.texi: Fix typo. + * manual/terminal.texi: Document gtty and stty. + Patch by Bryan Henderson . + +2000-04-30 Andreas Jaeger + + * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in + accordance with Austin Draft. + +2000-04-30 Ulrich Drepper + + * catgets/gencat.c (read_input_file): Use isblank and not isspace + to recognize second character in comment line. + + * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to + ENOBUFS if we are out of memory. + + * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make + available if __USE_XOPEN2K. + * sysdeps/mach/hurd/bits/fcntl.h: Likewise. + * sysdeps/unix/common/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise. + +2000-04-29 Ulrich Drepper + + * iconv/iconv_prog.c (main): Handle input file name "-" correctly. + Recognize option -s, -c, and -l. + +2000-04-20 Thorsten Kukuk + + * nscd/nscd.c: Start new session for nscd, drop privilegs + to configured user if requested and no -S parameter are used. + * nscd/nscd.conf: Add new option "server-user". + * nscd/nscd_conf.c: Add support for new "server-user" option. + * nscd/nscd.h: Add declaration for server_user variable. + Based on patch by Chris Wing + +2000-04-29 Mark Kettenis + + * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining + that changing the __restore and __restore_rt signal return code + will break GDB. + +2000-04-29 Mark Kettenis + + * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include + . + +2000-04-29 Mark Kettenis + + * conform/data/ucontext.h-data: Allow ss_* instead of SS_*. + +2000-04-29 Ulrich Drepper + + * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h, + sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and + arpa/inet.h. + * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN, + SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO, + S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR, + S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH, + S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL, + POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED, + POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise, + posix_fallocate, and posix_madvise. + * conform/data/netdb.h-data: New file. + * conform/data/pthread.h-data: Add pthread_barrier_t, + pthread_barrierattr_t, pthread_barrier_destroy, + pthread_barrier_init, pthread_barrier_wait, + pthread_barrierattr_destroy, pthread_barrierattr_getpshared, + pthread_barrierattr_init, pthread_barrierattr_setpshared, + pthread_condattr_getclock, pthread_condattr_setclock, + pthread_getcpuclockid, pthread_mutex_timedlock, + pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock, + pthread_sigmask, pthread_spin_destroy, pthread_spin_init, + pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock. + * conform/data/sched.h-data: Add sched_ss_low_priority, + sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and + SCHED_SPORADIC. + * conform/data/semaphore.h-data: Add sem_timedwait. + * conform/data/signal.h-data: Add SIGIO. + * conform/data/spawn.h-data: New file. + * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv. + * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID, + CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep. + Fix typo in gmtime_r definition. + * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO, + _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK, + _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN, + _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME, + _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER, + _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS, + _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT, + _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK, + _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT, + _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK, + _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO, + _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO, + _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM, + _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, + _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS, + _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP, + _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS, + _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R, + _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE, + _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix + typo in off_t definition. + * conform/data/net/if.h-data: New file. + * conform/data/netinet/in.h-data: New file. + * conform/data/netinet/tcp.h-data: New file. + * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL, + POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED, + POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE, + POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE, + posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info, + and posix_typed_mem_open. + * conform/data/sys/socket.h-data: New file. + * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype. + * conform/data/sys/types.h-data: Add pthread_barrier_t, + pthread_barrierattr_t, and pthread_spinlock_t. + * conform/data/sys/un.h-data: New file. + * conform/data/sys/utsname.h-data: New file. + + * include/netdb.h (__gethostbyaddr_r): Fix types of first and second + parameter. + * inet/gethstbyad.c (gethostbyname): Likewise. + * inet/gethstbyad_t.c (gethostbyname_r): Likewise. + * inet/getipnodebyad.c (getipnodebyad): Likewise. + * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise. + * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r): + Likewise. + * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise. + * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise. + * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise. + * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise. + * resolv/gethnamaddr.c (gethostbyname): Likewise. + * resolv/netdb.h (struct hostent): Fix type of h_length member. + (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first + and second parameter. + + * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s + == NULL. + +2000-04-29 Andreas Jaeger + + * conform/data/arpa/inet.h-data: New file. + +2000-04-28 Geoff Clare + + * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the + path passed to ftw() or nftw() is an empty string. + Closes PR libc/1710. + +2000-04-27 Ulrich Drepper + + * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5. + (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies. + * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5. + * localedata/tst-mbswcs4.c: New file. + * localedata/tst-mbswcs5.c: New file. + + * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s + == NULL. Little optimization. + + * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not + DT_PREINIT_ARRAYSZ). + Reported by Jes Sorensen . + + * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle + overflows in conversion from ASCII. + +2000-04-26 Jakub Jelinek + + * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs. + * Makerules (full_config_sysdirs): Likewise. + * MakeTAGS (full_config_sysdirs): Likewise. + +2000-04-26 Jakub Jelinek + + * .cvsignore: Remove linuxthreads. + * po/.cvsignore: Remove *.pot. + * posix/glob/.cvsignore: Removed. + * sysdeps/unix/bsd/osf/.cvsignore: Removed. + +2000-04-25 Andreas Jaeger + + * conform/Makefile (distribute): Also distribute contents of + subdirectories. + + * Makerules (no_deps): Remove abi-versions.h. + + * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype. + +2000-04-25 Jakub Jelinek + + * sysdeps/sparc/sparc64/elf/Dist: Remove. + * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove. + * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove. + * sysdeps/sparc/sparc64/elf/crtend.S: Remove. + * sysdeps/sparc/sparc64/elf/crtendS.S: Remove. + * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend + objects. + +2000-04-25 Thorsten Kukuk + + * nscd/grpcache.c: Fix gr_name pointer [PR/1702]. + +2000-04-23 Bruno Haible + + * intl/dcigettext.c: Define _GNU_SOURCE as early as possible. + * intl/l10nflist.c: Likewise. + +2000-04-23 Bruno Haible + + * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define, + __libc_rwlock_wrlock, __libc_rwlock_unlock as empty. + * intl/textdomain.c [!_LIBC]: Likewise. + * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized, + __libc_rwlock_rdlock, __libc_rwlock_unlock as empty. + * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid + syntax error. + +2000-04-23 Bruno Haible + + * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and + character set conversion also in the case the translation was found + after a hash collision or through binary search. Store the maximum + index together with the converted message. Use iconv() when available. + In case of out of memory during conversion, return the unconverted + translated string, not NULL. + +2000-04-25 Jes Sorensen + + * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1 + to avoid name clashes with the ia32 linker. + +2000-04-25 Jakub Jelinek + + * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args + handling. + +2000-04-27 Ulrich Drepper + + * manual/string.texi: Document strcasestr, strchrnul, strtoimax, + strtoumax, strfry, and memfrob. + * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max. + Patch by Bryan Henderson . + + * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal + if this function is available. + + * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for + all values. + +2000-04-27 Jakub Jelinek + + * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning. + +2000-04-27 Ulrich Drepper + + * localedata/Makefile (test-srcs); Add tst-mbswcs3. + Add rule to build tst-mbswcs3 before running tst-mbswcs.sh. + * localedata/tst-mbswcs.sh: Run tst-mbswcs3. + * localedata/tst-mbswcs3.c: New file. + +2000-04-26 Ulrich Drepper + + * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted + characters. Don't handle incomplete characters as errors. + * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors. + * localedata/Makefile (test-srcs): Add tst-mbswcs2. + Add rule to build tst-mbswcs2 before running tst-mbswcs.sh. + * localedata/tst-mbswcs.sh: Run tst-mbswcs2. + * localedata/tst-mbswcs2.c: New file. + + * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct + stored character in state in UNPACK_BYTES macro. + * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct + test for available characters, handle result of BODY code correctly. + * localedata/Makefile (test-srcs): Add tst-mbswcs1. + (distribute): Add tst-mbswcs.sh. + Add rule to run tst-mbswcs.sh. + * localedata/tst-mbswcs.sh: New file. + * localedata/tst-mbswcs1.c: New file. + +2000-04-26 Jakub Jelinek + + * nis/nis_callback.c (__nis_create_callback): Do failed memory + allocation fixups centrally, fix __builtin_expect call, return NULL + on failure, not NIS_NOMEMORY. + +2000-04-27 Bruno Haible + + * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT. + + * intl/loadinfo.h (internal_function): Define if not already defined. + +2000-04-27 Andreas Jaeger + + * intl/libintl.h: Fix typo, reported by Bruno Haible + . + +2000-04-25 Ulrich Drepper + + * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not + setting the state to GMON_PROF_BUSY. + +2000-04-24 Ulrich Drepper + + * elf/dl-profile.c (_dl_start_profile): define all variables which + do not have to be global as local variables. + + * nis/nis_callback.c (__nis_create_callback): Partially undo last + patch. Keep needed tests for failed memory allocation. + + * elf/dl-reloc.c (_dl_relocate_object): Add one more + __builtin_expect saying that we don't normally expect to profile. + + * sysdeps/i386/dl-machine.h (elf_machine_rel): Add + __builtin_expect where desirable. + +2000-04-23 Ulrich Drepper + + * manual/Makefile (chapters): Add syslog. + * manual/syslog.texi: New file. + * manual/math.texi: Fix references. + * manual/terminal.texi: Likewise. + Patch by Bryan Henderson . + +2000-04-18 Jakub Jelinek + + * posix/sys/wait.h: Define __WAIT_STATUS and the like either if + stdlib.h was not included or __USE_XOPEN not defined. + +2000-04-23 Ulrich Drepper + + * nss/Makefile (libnss_db-dbs): Remove stray backslash. + Patch by Zack Weinberg . + +2000-04-22 Ulrich Drepper + + * manual/examples/subopt.c (mount_opts): Add missing terminating + entry. + Reported by Michael Deutschmann . + + * assert/assert-perr.c: Include for abort prototype. + * libio/ftello.c: Likewise. + * libio/ftello64.c: Likewise. + * libio/ioftell.c: Likewise. + * sysdeps/generic/memrchr.c: Likewise. + * sysdeps/posix/libc_fatal.c: Likewise. + * sysdeps/unix/sysv/linux/init-first.c: Likewise. + * misc/fstab.c: Include for strcmp prototype. + * sysdeps/generic/ldsodefs.h: Likewise. + * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. + Patch by Kurt Roeckx . + + * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines. + Remove db-open. Change all uses. + (libnss_db-routines): Define as $(libnss_db-dbs) db-open. + +2000-04-21 Jakub Jelinek + + * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare. + * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare. + * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare. + * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28 + with .set noat/at to shut up warnings. + * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias. + * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow + compilation if __NR_pciconfig_iobase is not defined. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64): + Add alias. + +2000-04-21 Ulrich Drepper + + * manual/sysinfo.texi: Fix typo. + * manual/time.texi: Document timelocal, timegm, adjtimex, and stime. + Replace "high precision time" with "high accuracy clock". + Fix language. + Patches by Bryan Henderson . + + * nis/nis_findserv.c (__nis_findfastest): Improve memory handling. + * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca + instead of malloc. + * nis/nis_subr.c: Use __builtin_expect. + * nis/ypclnt.c: Likewise. + * nis/nis_getservlist.c: Likewise. + * nis/nis_creategroup.c: Likewise. + + * nis/nis_callback.c (__nis_create_callback): Check result of + memory allocation. Fix memory leaks. Use __builtin_expect. + (__nis_destroy_callback): Fix memory leaks. + +2000-04-21 Andreas Jaeger + + * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC. + * sysdeps/mips/mips64/add_n.S: Likewise. + * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise. + * sysdeps/mips/mips64/lshift.S: Likewise. + * sysdeps/mips/mips64/mul_1.S: Likewise. + * sysdeps/mips/mips64/rshift.S: Likewise. + * sysdeps/mips/mips64/setjmp.S: Likewise. + * sysdeps/mips/mips64/sub_n.S: Likewise. + * sysdeps/mips/mips64/submul_1.S: Likewise + * sysdeps/unix/mips/sysdep.S: Likewise. + + * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab + and update comment. The strtab from _dl_relocate_object can be + used. + +2000-04-21 Ulrich Drepper + + * iconv/iconv.c (iconv): Add __builtin_expect where useful. + * iconv/iconv_close.c (iconv_close): Likewise. + * iconv/iconv_open.c (iconv_open): Likewise. + + * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add + __builtin_expect where useful. + + * grp/initgroups.c (initgroups): Test for result of memory + allocation and punt if it fails. + + * dirent/scandir.c (scandir): Add __builtin_expect where useful. + * grp/fgetgrent.c (fgetfrent): Likewise. + * grp/fgetgrent_r.c (__fgetgrent_r): Likewise. + +2000-04-21 Jakub Jelinek + + * libio/vasprintf.c: Include string.h to get memcpy prototype. + +2000-04-20 Ulrich Drepper + + * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small + don't search for NUL byte to decrement counter. + Reported by Ulrich.Brink@sap.com. + + * iconv/gconv_simple.c: Define separate functions to convert from + UCS4/UCS4-LE to the internal encoding. + * iconv/gconv_builtin.h: Use separate functions to convert from + UCS4/UCS4-LE to the internal encoding. + * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and + __gconv_transform_ucs4le_internal. + + * iconv/gconv_simple.c (internal_utf8_loop): Correct check for + output buffer overflow. Reported by Ulrich.Brink@sap.com. + + * iconv/skeleton.c: Add some more __builtin_expect. + * iconv/loop.c: Likewise. + +2000-03-08 H.J. Lu + + * posix/regex.c (regex_compile): Correctly handle "\{" when + the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set. + +2000-04-20 Ulrich Drepper + + * manual/stdio.texi: Give advise about handling error when using + stream functions. + Patch by Michael Deutschmann . + +2000-04-19 Jakub Jelinek + + * locale/programs/ld-ctype.c (ctype_output): Set size of the idx + field to nelems * sizeof (uint32_t). + * locale/programs/ld-address.c (address_output): Align word fields + properly. + * locale/programs/ld-monetary.c (monetary_output): Likewise. + Don't restart idx pointers to idx end at the duo_int_curr_symbol + field. + Avoid giving arbitrary garbage in the crncystr field. + Use sizeof(uint32_t) instead of 4 for len in uno_valid_from, + uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate + fields. + * locale/programs/ld-numeric.c (numeric_output): Likewise. + Don't restart idx pointers to idx end at the decimal_point_wc field. + * locale/programs/ld-time.c (time_output): week_1stday should be + word, not byte. Align it properly. + +2000-04-19 H.J. Lu + + * csu/gmon-start.c (_start): Declared as "extern void". + (etext): Likewise. + +2000-04-18 Andreas Jaeger + + * manual/install.texi (Running make install): Don't mention utmpd + anymore. + +2000-04-18 Andreas Jaeger + + * linuxthreads/Versions: Use ld instead of ld.so. + + * elf/Makefile (ld-map): Use ld.map. + + * Versions.def: Use ld instead of ld.so. + * elf/Versions: Likewise. + * sysdeps/mach/hurd/Versions: Likewise. + +2000-04-20 Andreas Jaeger + + * elf/rtld.c (print_statistics): Move ifndef further up. + (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings. + (dl_main): Likewise. + +2000-04-18 Ulrich Drepper + + * gmon/gmon.c: Add weak alias moncontrol for __moncontrol. + * gmon/Versions: Move moncontrol to GLIBC_2.2. + + * po/cs.po: Update from translation team. + + * sysdeps/generic/updwtmp.c: Remove daemon support. + + * login/Makefile (routines): Remove utmp_daemon. + + * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument. + * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER. + * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE. + * sysdeps/unix/sysv/aix/geteuid.c: Likewise. + + * elf/rtld.c: Display statitics option also if hp timing is not + available. + + * login/programs/connection.c: Removed. + * login/programs/database.c Removed. + * login/programs/error.c: Removed. + * login/programs/request.c: Removed. + * login/programs/xtmp.c: Removed. + * login/programs/xtmp.h: Removed. + * login/Makefile: Remove rules for utmpd. + * login/README.utmpd: Removed. + * login/utmp_daemon.c: Removed. + * login/getutent_r.c: Remove references to daemon functions. + * login/utmp-private.h (__libc_utmp_daemon_functions): Remove + declaration. + +2000-04-18 Andreas Jaeger + + * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and + 2.2 for libnsl, libresolv, librt, libnss_*. + + * elf/rtld.c (process_dl_debug): Remove obsolete comment. + + * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation. + +2000-04-18 Ulrich Drepper + + * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include . + * sysdeps/unix/sysv/aix/getegid.c: Likewise. + * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64. + * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL. + * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS. + * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL. + * sysdeps/unix/sysv/aix/setregid.c: Likewise. + * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL. + * sysdeps/unix/sysv/aix/setgid.c: Likewise. + * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE. + * sysdeps/unix/sysv/aix/setegid.c: Likewise. + * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type. + * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define + it here. + * sysdeps/unix/sysv/aix/msync.c: New file. + * sysdeps/unix/sysv/aix/msgsnd.c: New file. + * sysdeps/unix/sysv/aix/net/if.h: New file. + * sysdeps/unix/sysv/aix/pipe.c: New file. + * sysdeps/unix/sysv/aix/poll.c: New file. + * sysdeps/unix/sysv/aix/rename.c: New file. + * sysdeps/unix/sysv/aix/rmdir.c: New file. + * sysdeps/unix/sysv/aix/select.c: New file. + * sysdeps/unix/sysv/aix/semctl.c: New file. + * sysdeps/unix/sysv/aix/semget.c: New file. + * sysdeps/unix/sysv/aix/semop.c: New file. + * sysdeps/unix/sysv/aix/sendto.c: New file. + * sysdeps/unix/sysv/aix/setgroups.c: New file. + * sysdeps/unix/sysv/aix/setpgid.c: New file. + * sysdeps/unix/sysv/aix/setpgrp.c: New file. + * sysdeps/unix/sysv/aix/setpriority.c: New file. + * sysdeps/unix/sysv/aix/setrlimit.c: New file. + * sysdeps/unix/sysv/aix/setrlimit64.c: New file. + * sysdeps/unix/sysv/aix/setsid.c: New file. + * sysdeps/unix/sysv/aix/setsockopt.c: New file. + * sysdeps/unix/sysv/aix/shmat.c: New file. + * sysdeps/unix/sysv/aix/shmctl.c: New file. + * sysdeps/unix/sysv/aix/shmdt.c: New file. + * sysdeps/unix/sysv/aix/shmget.c: New file. + * sysdeps/unix/sysv/aix/sigaltstack.c: New file. + * sysdeps/unix/sysv/aix/sigstack.c: New file. + * sysdeps/unix/sysv/aix/socket.c: New file. + * sysdeps/unix/sysv/aix/socketpair.c: New file. + * sysdeps/unix/sysv/aix/speed.c: New file. + * sysdeps/unix/sysv/aix/symlink.c: New file. + * sysdeps/unix/sysv/aix/sync.c: New file. + * sysdeps/unix/sysv/aix/tcgetattr.c: New file. + * sysdeps/unix/sysv/aix/tcsetattr.c: New file. + * sysdeps/unix/sysv/aix/times.c: New file. + * sysdeps/unix/sysv/aix/ulimit.c: New file. + * sysdeps/unix/sysv/aix/umask.c: New file. + * sysdeps/unix/sysv/aix/unlink.c: New file. + * sysdeps/unix/sysv/aix/ustat.c: New file. + * sysdeps/unix/sysv/aix/utimes.c: New file. + +2000-04-18 Andreas Jaeger + + * manual/startup.texi (Environment Access): Fix putenv prototype + according to recent changes. + Reported by Andries Brouwer , closes + PR libc/1692. + + * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where + needed. + +2000-04-18 Ulrich Drepper + + * posix/Makefile (tests): Add tst-getaddrinfo. + * posix/tst-getaddrinfo.c: New file. + +2000-04-17 Ulrich Drepper + + * manual/sysinfo.texi: Document that umount2 is not widely available. + + * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to + signal timing is not really implemented. + +2000-04-17 Andreas Jaeger + + * elf/rtld.c (process_dl_debug): Mention statistics in help message. + +2000-04-17 Jakub Jelinek + + * Makefile (install): Use slibdir and libdir instead of inst_slibdir + and inst_libdir. + +2000-04-17 Ulrich Drepper + + * manual/intro.texi: Change reference from System Information to + System Management. + * manual/users.texi: Likewise. + * manual/conf.texi: Likewise. + * manual/sysinfo.texi: Document mount, umount, and umount2. + Patch by Bryan Henderson . + +2000-04-17 Jakub Jelinek + + * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE): + Create wnumstr as well as numstr to support wide character output + correctly. + +2000-04-15 Jakub Jelinek + + * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS + modification and move it... + * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here. + Add -melf64_sparc switch to $(LD) on sparc64-linux. + * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc + switch to $(LD) on sparc-linux. + +2000-04-17 Thorsten Kukuk + + * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid + and setresuid from sysdep_routines. + +2000-04-17 Ulrich Drepper + + * manual/Makefile (chapters): Add resource. + + * manual/time.texi: Move section on resources to... + * manual/resource.texi: ...here. New file. Document ulimit, vlimit, + and vtimes. + * manual/setjmp.texi: Adjust back reference. + Patch by Bryan Henderson . + + * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64 + definition. + * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition. + * sysdeps/unix/sysv/aix/kill.c: Add copyright. + * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL. + * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL. + * sysdeps/unix/sysv/aix/execve.c: Add copyright. + * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright. + * sysdeps/unix/sysv/aix/close.c: Add copyright. + * sysdeps/unix/sysv/aix/brk.c: Add copyright. + * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT. + * sysdeps/unix/sysv/aix/access.c: Add copyright. + * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions. + * sysdeps/unix/sysv/aix/Implies: New file. + * sysdeps/unix/sysv/aix/Versions: New file. + * sysdeps/unix/sysv/aix/bind.c: New file. + * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file. + * sysdeps/unix/sysv/aix/bits/ioctls.h: New file. + * sysdeps/unix/sysv/aix/bits/poll.h: New file. + * sysdeps/unix/sysv/aix/bits/termios.h: New file. + * sysdeps/unix/sysv/aix/chdir.c: New file. + * sysdeps/unix/sysv/aix/chmod.c: New file. + * sysdeps/unix/sysv/aix/chroot.c: New file. + * sysdeps/unix/sysv/aix/creat.c: New file. + * sysdeps/unix/sysv/aix/dl-close.c: New file. + * sysdeps/unix/sysv/aix/dl-open.c: New file. + * sysdeps/unix/sysv/aix/dl-sym.c: New file. + * sysdeps/unix/sysv/aix/fchdir.c: New file. + * sysdeps/unix/sysv/aix/fchmod.c: New file. + * sysdeps/unix/sysv/aix/getgroups.c: New file. + * sysdeps/unix/sysv/aix/gethostname.c: New file. + * sysdeps/unix/sysv/aix/getpriority.c: New file. + * sysdeps/unix/sysv/aix/getrlimit.c: New file. + * sysdeps/unix/sysv/aix/getrlimit64.c: New file. + * sysdeps/unix/sysv/aix/getrusage.c: New file. + * sysdeps/unix/sysv/aix/link.c: New file. + * sysdeps/unix/sysv/aix/madvise.c: New file. + * sysdeps/unix/sysv/aix/mkdir.c: New file. + * sysdeps/unix/sysv/aix/mknod.c: New file. + * sysdeps/unix/sysv/aix/mprotect.c: New file. + * sysdeps/unix/sysv/aix/msgctl.c: New file. + * sysdeps/unix/sysv/aix/msgget.c: New file. + * sysdeps/unix/sysv/aix/msgrcv.c: New file. + +2000-04-17 Andreas Jaeger + + * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit + as suggested by Ulrich Drepper. + (__dl_runtime_resolve): Remove unused variable, initialize sym + directly. + (RTLD_START): Document OFFSET_GP_GOT. + (OFFSET_GP_GOT): New magic value. + (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT. + (elf_machine_got_rel): Only declare strtab if needed. + (elf_machine_relplt): Removed, it's not needed. + (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc. + + * sysdeps/mips/add_n.S: Add newline at EOF. + * sysdeps/mips/rshift.S: Likewise. + * sysdeps/mips/mul_1.S: Likewise. + * sysdeps/mips/lshift.S: Likewise. + * sysdeps/mips/addmul_1.S: Likewise. + +2000-04-17 Ulrich Drepper + + * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing. + + * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect. + * elf/dl-lookup.c: Likewise. + * elf/dl-init.c (_dl_init): Likewise. + * elf/dl-fini.c (_dl_fini): Likewise. + * elf/dl-deps.c (_dl_map_object_deps): Likewise. + * elf/dl-close.c (_dl_close): Likewise. + * elf/rtld.c (_dl_start_final): Likewise. + + * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use. + +2000-04-15 Ulrich Drepper + + * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and + only fall back on using Linux. + + * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode. + Before testing versions check that we actually loaded the object + and whether we are in trace mode. If not loaded during tracing don't + test versions in this object. + (_dl_check_all_versions): Take new parameter and pass to + _dl_check_map_versions. + * sysdeps/generic/ldsodefs.h: Update prototypes for + _dl_check_all_versions and _dl_check_map_versions. + * elf/rtld.c (struct version_check_args): Add dotrace. + (version_check_doit): Pass args->dotrace to _dl_check_all_versions. + (dl_main): Pass info about trace mode to version_check_doit. + * elf/dl-open.c (dl_open_worker): Pass zero as new argument to + _dl_check_all_versions. + + * manual/users.texi (XPG Functions): Document utmpxname, getutmp, + and getutmpx. + Patch by Bryan Henderson . + + * manual/argp.texi: Document index parameter of argp_parse. + Fix typo. + Reported by Andrew Schulman . + +2000-04-14 Andreas Jaeger + + * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for + SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC. + + * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added. + +2000-04-15 Ulrich Drepper + + * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in + compat_symbol call for old adjtime. + + * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init + function interface. Patch by Richard Henderson . + + * posix/Makefile (headers): Add spawn.h. + (distribute): Add spawn_int.h. + (routines): Add spawn_faction_init, spawn_faction_destroy, + spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2, + spawnattr_init, spawnattr_destroy, spawnattr_getdefault, + spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags, + spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni. + * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init, + posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose, + posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2, + posix_spawnattr_init, posix_spawnattr_destroy, + posix_spawnattr_getdefault, posix_spawnattr_setdefault, + posix_spawnattr_getflags, posix_spawnattr_setflags, + posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn, + and posix_spawnp. + * posix/spawn.c: New file. + * posix/spawn.h: New file. + * posix/spawn_faction_addclose.c: New file. + * posix/spawn_faction_adddup2.c: New file. + * posix/spawn_faction_addopen.c: New file. + * posix/spawn_faction_destroy.c: New file. + * posix/spawn_faction_init.c: New file. + * posix/spawn_int.h: New file. + * posix/spawnattr_destroy.c: New file. + * posix/spawnattr_getdefault.c: New file. + * posix/spawnattr_getflags.c: New file. + * posix/spawnattr_getpgroup.c: New file. + * posix/spawnattr_getschedparam.c: New file. + * posix/spawnattr_getschedpolicy.c: New file. + * posix/spawnattr_getsigmask.c: New file. + * posix/spawnattr_init.c: New file. + * posix/spawnattr_setdefault.c: New file. + * posix/spawnattr_setflags.c: New file. + * posix/spawnattr_setpgroup.c: New file. + * posix/spawnattr_setschedparam.c: New file. + * posix/spawnattr_setschedpolicy.c: New file. + * posix/spawnattr_setsigmask.c: New file. + * posix/spawni.c: New file. + * posix/spawnp.c: New file. + + * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN. + * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise. + +2000-04-14 Ulrich Drepper + + * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign. + * malloc/malloc.c: Implement posix_memalign for glibc. + * include/stdlib.h: Add prototype for __posix_memalign. + * stdlib/stdlib.h: Add prototype for posix_memalign. + +2000-04-14 Andreas Jaeger + + * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize + symidx correctly. + (elf_machine_got_rel): Cast sym correctly. + + * sysdeps/mips/add_n.S: Use __PIC__, add end directive. + * sysdeps/mips/addmul_1.S: Likewise. + * sysdeps/mips/lshift.S: Likewise. + * sysdeps/mips/mul_1.S: Likewise. + * sysdeps/mips/rshift.S: Likewise. + * sysdeps/mips/sub_n.S: Likewise. + * sysdeps/mips/submul_1.S: Likewise. + + * stdlib/stdlib.h: Fix typo in comment. + + * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and + 2.2 for libdl, ld and libm. + + * sysdeps/generic/madvise.c: Fix typos. + + * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__. + + * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility. + + * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc + warnings. + +2000-04-14 Ulrich Drepper + + * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64. + * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64. + Make old name weak alias. + * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise. + * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64. + Make old name weak alias. + * sysdeps/unix/sysv/linux/statfs64.c: Likewise. + + * io/Makefile (routines): Add posix_fadvise, posix_fadvise64, + posix_fallocate, and posix_fallocate64. + * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64, + posix_fallocate, and posix_fallocate64. + * io/fcntl.h: Declare posix_fadvise, posix_fadvise64, + posix_fallocate, and posix_fallocate64. + * sysdeps/generic/fadvise.c: New file. + * sysdeps/generic/fadvise64.c: New file. + * sysdeps/generic/fallocate.c: New file. + * sysdeps/generic/fallocate64.c: New file. + * sysdeps/posix/fallocate.c: New file. + * sysdeps/posix/fallocate64.c: New file. + * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL, + POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED, + POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE. + * sysdeps/mach/hurd/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. + + * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise. + * sysdeps/unix/sysv/linux/syscalls.list: Likewise. + +2000-04-13 Ulrich Drepper + + * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice. + * misc/sys/mman.h (posix_madvise): Add prototype. + * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make + old name and posix_madvise weak aliases. + * sysdeps/unix/sysv/linux/syscalls.list: Likewise. + * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants. + * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise. + +2000-04-13 Andreas Jaeger + + * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol + versioning. + (elf_machine_got_rel): Only add runtime display if needed. + (elf_machine_got_rel): Handle symbol versioning. + +2000-04-13 Andreas Jaeger + + * sysdeps/unix/sysv/linux/mips/clone.S: Fix function. + + * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is + default. + + * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems + with some applications. + Patches by Ralf Baechle . + + * sysdeps/mips/bsd-setjmp.S: Use __PIC__. + * sysdeps/mips/bsd-_setjmp.S: Likewise. + * sysdeps/mips/setjmp.S: Likewise. + + * sysdeps/unix/sysv/linux/mips/pipe.S: New file. + +2000-04-13 Ulrich Drepper + + * posix/globtest.sh: Work around inconsistency with expanding ~/ + in shell (PR libc/1690). Reported by patsmith@pobox.com. + +2000-04-12 Ulrich Drepper + + * posix/getconf.c: Add support for many more POSIX options. + * sysdeps/posix/sysconf.c: Likewise. + * sysdeps/generic/bits/confname.h: Add many more POSIX options. + * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and + _POSIX_SHELL. + * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise. + * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to + CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and + CLOCK_THREAD_CPUTIME_ID. + * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to + CLOCK_PROCESS_CPUTIME_ID. + * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of + __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle + CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same. + * sysdeps/unix/i386/i586/clock_gettime.c: Likewise. + + * malloc/Makefile (tests): Add tst-calloc. + * malloc/tst-calloc.c: New file. + + * sysdeps/arm/libm-test-ulps: New file. + + * malloc/malloc.c: Undo all of today's changes. + + * locale/programs/locale.c (show_info): Don't try to look into + data for LC_ALL (there is none). + + * malloc/malloc.c (cALLOc): Clear only what the user asked for and + avoid writing over boundary. + Patch by Greg McGary . + + * sysdeps/arm/memprof.h: New file. + +2000-04-12 Andreas Jaeger + + * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo. + + * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include + for memmem declaration. + +2000-04-12 Ulrich Drepper + + * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval + to -1. + * sysdeps/posix/clock_getres.c (clock_getres): Likewise. + + * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the + mode is invalid. + * libio/oldiopopen.c (_IO_old_proc_open): Likewise. + Patch by Bart Veer . + + * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init + function interface. + +2000-04-11 Andreas Jaeger + + * sysdeps/mips/dl-machine.h: Update some comments. + (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed. + +2000-04-11 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add + _POSIX_SHARED_MEMORY_OBJECTS. + + * rt/Makefile (tests): Add tst-shm. + Add rules to generate tst-shm. + * rt/tst-shm.c: New file. + + * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC + for descriptor. + + * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink. + * rt/Makefile (librt-routines): Add shm_open and shm_unlink. + * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink. + * sysdeps/generic/shm_open.c: New file. + * sysdeps/generic/shm_unlink.c: New file. + * sysdeps/unix/sysv/linux/shm_open.c: New file. + * sysdeps/unix/sysv/linux/shm_unlink.c: New file. + * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export + __endmntent, __getmntent_r, __setmntent, and __statfs. + + * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory + fragmentation by allocating new memory at the end instead of + reallocating. + + * posix/globtest.sh: Fix last change. + +2000-04-10 Philip Blundell + + * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP, + IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP, + IPV6_DROP_MEMBERSHIP. + * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP): Likewise. -2001-03-06 Ben Collins +2000-04-11 Ulrich Drepper - * manual/arith.texi (Integers): Fix documentation of fast and - least integer typedefs. + * elf/readlib (process_file): Close streams in case of an error. -2001-03-06 Jakub Jelinek +2000-04-09 Andreas Jaeger - * resolv/Depend: New file. - * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only - when libpthread is built. + * elf/readlib.c (process_file): Check if file is big enough to + contain aout and ELF headers. + Reported by Reinhard Moosauer . -2001-03-06 Andreas Jaeger +2000-04-10 Jes Sorensen - * sysdeps/i386/fpu/libm-test-ulps: Add some deltas. + * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca(). - * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma. - Patch by kaz Kojima . +2000-04-11 Ulrich Drepper -2001-03-05 Ulrich Drepper + * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout + stream unbuffered. + * rt/Makefile (tests): Add tst-clock. + Add rules to build tst-clock. + * rt/tst-clock.c: New file. + * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide + about initialization of nsec. + * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide + about initialization of freq. Set retval to zero if successful. + * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result. - * stdlib/Versions: Remove __new_exitfn again. Not needed. +2000-04-10 Ulrich Drepper -2001-03-05 Andreas Jaeger + * Versions.def (librt): Add GLIBC_2.2. + * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid, + clock_getres, clock_gettime, clock_settime, timer_create, timer_delete, + timer_getoverr, timer_gettime, and timer_settime. + * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime, + clock_settime, timer_create, timer_delete, timer_getoverrun, + timer_gettime, and timer_settime. + * sysdeps/generic/clock_getcpuclockid.c: New file. + * sysdeps/generic/get_clockfreq.c: New file. + * sysdeps/unix/i386/clock_getcpuclockid.c: New file. + * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file. + * sysdeps/mach/hurd/i386/bits/time.h: New file. + * sysdeps/unix/i386/i586/clock_getres.c: New file. + * sysdeps/unix/i386/i586/clock_gettime.c: New file. + * sysdeps/unix/i386/i686/Implies: New file. + * sysdpes/unix/sysv/linux/i386/bits/time.h: New file. + * time/Makefile (routines): Move clock_getres, clock_gettime, + clock_settime, timer_create, timer_delete, timer_getoverr, + timer_gettime, and timer_settime to rt/Makefile. + * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime, + clock_settime, timer_create, timer_delete, timer_getoverrun, + timer_gettime, and timer_settime. + * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid. - * stdlib/msort.c (qsort): Don't use alloca in a function call. + * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__ + and not const as attribute name. -2001-03-05 Ulrich Drepper +2000-04-10 Thorsten Kukuk - * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM, - __S_TYPEISSHM): Rewrite to enforce correct use the macros. They still - always return zero. - * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. + * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644. -2001-03-04 Andreas Jaeger +2000-04-10 Andreas Schwab - * stdlib/longlong.h: Don't use multi-line strings. - * iconvdata/tst-loading.c: Likewise. + * posix/globtest.sh: Skip tests that depend on unreadable + directories if run as root. - * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line - string. +2000-04-10 Ulrich Drepper -2001-03-04 Ulrich Drepper + * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value + for correct range. From code by Kaz Kylheku . - * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal. +2000-04-09 Ulrich Drepper - * rt/lio_listio.c: Add a few asserts. + * sysdeps/unix/clock_gettime.c: New file. + * sysdeps/unix/clock_settime.c: New file. + * sysdeps/posix/clock_getres.c: New file. - * elf/global.c: New file. - * elf/globalmod1.c: New file. - * elf/Makefile: Add rules to build and run global. + * conform/data/ftw.h-data: Add allow-header sys/stat.h. - * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL. - * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise. + * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial + lseek call be passing in a buffer which never allow a successful + first getdents syscall if not at leas the initial entry can be + stored in the user buffer. - * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file. - Contributed by Stephen L. Moshier . + * localedata/Makefile: Add rules to clean up directories created by + new strfmon tests. - * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases. +2000-04-09 Geoff Clare - * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable. - * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise. + * localedata/tst-fmon.data: Added new tests for strfmon() + using test locales with all combinations of cs_precedes, + sign_posn and sep_by_space. + * localedata/tst-fmon.sh: Updated to support the new tests. + * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing + the localedef source for the new strfmon() test locale. + * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise. + * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise. + * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise. + * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise. + * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise. + * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise. + * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise. + * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise. + * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise. + * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise. + * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise. + * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise. + * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise. + * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise. - * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal. + * stdlib/strfmon.c: Correct problems with missing or extra + spaces for unusual combinations of sign_posn and sep_by_space. + Improved left-precision alignment code. - * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change. +2000-04-07 Andreas Jaeger -2001-03-04 Andreas Jaeger + * posix/Makefile (CFLAGS-regex.c): Remove DEBUG. - * resolv/tst-aton.c: Add testcase for IP with four periods. +2000-04-10 Andreas Jaeger - * resolv/inet_addr.c: Don't recognize an IP with four periods. - Patch by Andre' Breiler . + * intl/Makefile: Don't run do-gettext-test when cross-compiling. -2001-02-27 Philip Blundell +2000-04-09 Ulrich Drepper - * elf/elf.h: Add new ARM definitions from latest (B-01) - specification. Correct naming of EF_ARM_ALIGN8 et al. + Implement handling of restartable conversion functions according to + ISO C. + * iconv/gconv.h (__gconv_fct): Add additional parameter. + * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise. + * iconv/gconv.c: Pass additional parameter to conversion function. + * iconv/gconv_simple.c (internal_ucs4_loop_single): New function. + (internal_ucs4le_loop_single): New function. + (__gconv_transform_ascii_internal): Define ONE_DIRECTION. + (__gconv_transform_internal_ascii): Likewise. + (__gconv_transform_internal_utf8): Likewise. + (__gconv_transform_utf8_internal): Likewise. + (__gconv_transform_ucs2_internal): Likewise. + (__gconv_transform_internal_ucs2): Likewise. + (__gconv_transform_ucs2reverse_internal): Likewise. + (__gconv_transform_internal_ucs2reverse): Likewise. + (internal_ucs4le_loop_unaligned): Before return + __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form + a valid character. Otherwise return __GCONV_ILLEGAL_INPUT. + (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES. + * iconv/loop.c: Fit in definition of function to convert one character + for processing of left-over bytes from the state object. + * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to + inend to match names in loop functions. + (RESET_INPUT_BUFFER): Change apprpriately. + (gconv): If needed, call function to process bytes from the state + object. Similar at the end: store left over bytes if input is + incomplete. + Take extra argument and add new argument to all calls of the + conversion function. + * iconvdata/iso-2022-cn.c: Adjust numeric values used to store + information in the state object to not conflict with length count. + * iconvdata/iso-2022-jp.c: Likewise. + * iconvdata/iso-2022-kr.c: Likewise. + * iconvdata/unicode.c: Adjust for change change in parameters of + skeleton function. + * iconvdata/utf-16.c: Likewise. + * libio/iofwide.c: Add new parameter to all calls of conversion + function. + * wcsmbs/btowc.c: Likewise. + * wcsmbs/mbrtowc.c: Likewise. + * wcsmbs/mbsnrtowcs.c: Likewise. + * wcsmbs/mbsrtowcs.c: Likewise. + * wcsmbs/wcrtomb.c: Likewise. + * wcsmbs/wcsnrtombs.c: Likewise. + * wcsmbs/wcsrtombs.c: Likewise. + * wcsmbs/wctob.c: Likewise. -2001-03-04 Ulrich Drepper + * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and + MAX_NEEDED_INPUT. - * stdio-common/tst-printf.sh: Remove bashisms. - Patch by Matthew Clarke . +2000-04-07 Andreas Jaeger -2001-03-03 Ulrich Drepper + * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for + newer kernels. - * Versions.def: Add libanl definition. - * shlib-versions: Add entry for libanl. - * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c. - (routines): Add gai_sigqueue. - (extra-libs): Add libanl. - (libanl-routines): New variable. - Add rules to build libanl and ga_test. - * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue. - [libanl]: New library. - * resolv/netdb.h: Add definitions for libanl. - * resolv/getaddrinfo_a.c: New file. - * resolv/gai_cancel.c: New file. - * resolv/gai_error.c: New file. - * resolv/gai_misc.c: New file. - * resolv/gai_misc.h: New file. - * resolv/gai_notify.c: New file. - * resolv/gai_suspend.c: New file. - * resolv/ga_test.c: New file. - * sysdeps/generic/gai_sigqueue.c: New file. - * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file. - * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined - and provide only that definition. - * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise. - * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise. +2000-04-07 Ulrich Drepper - * rt/aio_misc.c: Fix typos in comments. - * rt/lio_listio.c: Pretty printing. Little optimization in request - list handling. + * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value + element a union to allow byte access. + * iconvdata/iso-2022-cn.c: Adjust for change of element name in + mbstate_t. + * iconvdata/iso-2022-jp.c: Likewise. + * iconvdata/iso-2022-kr.c: Likewise. + * wcsmbs/mbsinit.c: Likewise. + * stdlib/mblen.c: Likewise. + * stdio-common/printf-parse.h: Likewise. - * elf/rtld.c: Remove commented out code. +2000-04-06 Ulrich Drepper - * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): - Update for real 2.4 kernels. + * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux + kernel does not allow relative seeks on descriptors associated + with directories. Go back to get the position in the directory + every time we enter the function. Return -1 and set errno if one + entry could be read from the kernel but does not fit into the + buffer passed in by the user. -2001-03-01 Ulrich Drepper + * locale/programs/charmap.c (charmap_new_char): Add parameter step. + Support ..(2).. ellipsis. + (parse_charmap): Recognize ..(2).. etc and pass step down. + Correctly generate names for UCS4 characters. - * elf/dl-load.c: Pretty printing. + * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step. + (ctype_finish): We know the wide character value for , + don't search. + (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis. + (charclass_ucs4_ellipsis): Likewise. + (read_translit_ignore_entry): Store ellipsis step. + (ctype_read): Recognize ..(2).. etc and pass step down. - * elf/dl-object.c (_dl_new_object): Don't add the loader's scope - twice. + * locale/programs/linereader.c (lr_token): When seeing comment + character ignore only rest of line in sources but stop at escaped + newline. + Recognize ..(2).. and ....(2)..... -2001-02-28 Ulrich Drepper + * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2 + and tok_ellipsis4_2. - * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle - relocations which are not in ld.so if RTLD_BOOTSTRAP is defined. +2000-04-06 Andreas Jaeger - * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo. + * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been + removed, remove it here also. + * sysdeps/unix/sysv/linux/arm/Dist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise. - * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit - machines. +2000-04-06 Jakub Jelinek - * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define. + * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't + include bits/sigcontext.h. + * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise. -2001-02-27 Ulrich Drepper +2000-04-06 Ulrich Drepper - * sysdeps/powerpc/elf/libc-start.c: Use new output functions and - _dl_debug_mask. + * locale/programs/ld-collate.c (collate_read): Handle ellipsis in + collation symbol definition. Value in quivalence definition must + be defined, don't check that it is not. - * elf/Versions [ld]: Don't export _dl_debug_message anymore. Export - _dl_debug_printf. - * elf/dl-misc.c: Remove definition of _dl_sysdep_output and - _dl_debug_message. Define _dl_debug_vdprintf, _dl_debug_printf, - _dl_debug_printf_c, and _dl_printf. - * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output, - _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and - _dl_sysdep_fatal. Declare _dl_debug_printf, _dl_debug_printf_c, - _dl_printf, _dl_error_printf, and _dl_fatal_printf. - * elf/dl-close.c: Replace use of old output functions with the new - ones. + * locale/programs/charmap.c (parse_charmap): Recognize + values as character names. + + * locale/programs/ld-ctype.c (get_character): Handle missing + repertoire map correctly. + +2000-04-05 Cristian Gafton + + * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__ + because it is used in generic code. + * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower. + * wcsmbs/wcwidth.h: Declare __ctype32_b. + * intl/gettext.c: Include . + * intl/ngettext.c: Likewise. + +2000-04-05 Jakub Jelinek + + * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use + socklen_t type for size. + * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new + init function interface. + * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include + sys/ucontext.h. + (__jmp_buf): Declare the whole type structure here, don't use + ucontext. + +2000-04-05 Ulrich Drepper + + * iconv/skeleton.c (put16u): Fix typo. + Reported by Bruno Haible . + + * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore. + * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise. + * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise. + + * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid. + * Makefile (distribute): Add abi-versions.awk and + firstversions.awk. + Patches by Torsten Duwe . + +2000-04-05 Andreas Schwab + + * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o. + +2000-04-05 Andreas Schwab + + * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user + entry point, used on Hurd. + +2000-04-04 Andreas Jaeger + + * intl/Makefile: Only run the gettext test with shared libraries. + +2000-03-16 Mark Kettenis + + * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t): + Typedef for elf_fpregset_t instead of `elf_fpregset_t *'. + +2000-04-05 Roland McGrath + + * Makeconfig: Undo last change. + * configure.in: If --disable-shared was given, don't set VERSIONING, + don't define DO_VERSIONING, and don't give scare warning for no + versioning. + * configure: Regenerated. + +2000-04-04 Roland McGrath + + * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'. + +2000-04-04 Andreas Jaeger + + * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros. + +2000-04-04 Ulrich Drepper + + * elf/dl-runtime.c (fixup): Correct handling of symbols marked + STV_HIDDEN and STV_INTERNAL during lookup. + (profile_fixup): Likewise. + * elf/dl-reloc.c (RESOLVE): Likewise. + + * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of + unaligned so that it compiles for system which need unaligned + access handling. + +2000-04-04 Andreas Schwab + + * elf/cache.c (print_entry): Only look at the type field when + printing the type. + +2000-04-04 Andreas Schwab + + * iconvdata/big5.c (BODY): Fix typo. + +2000-04-04 Andreas Schwab + + * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init + function interface. Remove unused _dl_start_user entry point. + +2000-04-03 Andreas Jaeger + + * include/arpa/inet.h (__inet_aton): Add protoype. + +2000-04-01 Andreas Jaeger + + * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC. + + * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC. + * sysdeps/mach/mips/thread_state.h: Likewise. + + * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros. + * sysdeps/generic/fegetenv.c: Likewise. + * sysdeps/generic/fesetenv.c: Likewise. + * sysdeps/generic/feupdateenv.c: Likewise. + * sysdeps/generic/fraiseexcpt.c: Likewise. + * sysdeps/generic/fsetexcptflg.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise. + * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise. + * sysdeps/unix/sysv/linux/errlist.c: Likewise. + * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. + +2000-04-02 H.J. Lu + + * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined. + +2000-04-03 Ulrich Drepper + + * elf/dl-load.c (_dl_dst_substitute): Pretty print comment. + (add_name_to_object): Add cast in malloc call. + (fillin_rpath): Optimize loop to initialize ->status a bit. + + * sysdeps/i386/dl-machine.h: Undo last change. + * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT): + Restore %edx register after call here. + + * sysdeps/arm/atomicity.h: New file. + Contributed by Jesper Skov . + +2000-04-03 Roland McGrath + + * Makeconfig (preprocess-versions): Undo last change. + Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS). + + * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ + here, before we might move the stack. + (posixland_init): Set __libc_argc, __libc_argc, and __environ here. + (init1): And not here. + + * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last + change, to restore argc value in call-clobbered register after + RTLD_START_SPECIAL_INIT, which will contain a call. + + * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for + allocating and initializing L->l_initfini. + + * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed. + +2000-04-03 Ulrich Drepper + + * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing + RUNPATH, RPATH, and LD_LIBRARY_PATH. + (open_path): Change type of fourth parameter. Make pointer to array + of pointers. Create variable dirs with original type. + Track whether any directory for the object exists and if not, + change *DIRSP to (void*) -1 to signal there is no such search path. + (_dl_map_object): Change all calls of open_path. + Rewrite decompose_rpath calls. + +2000-03-31 Andreas Schwab + + * string/strfry.c: Declare STATE as array of char instead of int + and do not initialize it (done by initstate_r). Pass correct + size. + +2000-04-03 Ulrich Drepper + + * sysdeps/generic/ldsodefs.h: Fix typo in comment. + + * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more + instruction out of the code. + +2000-04-02 Ulrich Drepper + + * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in + element at this position. + + * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock. + * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and + l_reldeps elements. + * elf/dl-lookup.c (add_dependency): New function. + (_dl_lookup_symbol): Use it whenever symbol was found in a global, + dynamically loaded object. + (_dl_lookup_symbol_skip): Likewise. + (_dl_lookup_versioned_symbol): Likewise. + (_dl_lookup_versioned_symbol_skip): Likewise. + * elf/dl-open.c: Don't define _dl_load_lock here... + * elf/rtld.c: ...but here... + * elf/dl-support.c: ...and here. + * elf/dl-close.c (_dl_close): Close also dependent objects introduce + through relocation. + * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through + relocations. + * dlfcn/Makefile (glrefmain.out): Test is not expected to fail + anymore. + * dlfcn/glrefmain.c: Add one more debug message. + + * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler + command line. + * Makerules (sysd-versions): Use ( ) instead of { }. + + * elf/dl-load.c: Use __builtin_expect to signal that compiler should + optimize for the non-debugging case. + * elf/dl-lookup.c: Likewise. + * sysdeps/generic/libc-start.c: Likewise. + +2000-04-02 Roland McGrath + + * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED. + (init1): Don't initialize __environ here, since init already does it. + (first_init): New function, broken out of _init. + (_hurd_stack_setup): Use it. + [SHARED] (_dl_init_first): New function, renamed from old _init. + (init1) [SHARED]: Don't call posixland_init here. + (posixland_init): Take ENVP arg, so signature is usual for initializer. + [SHARED] (_init): Define as alias for posixland_init. + [! SHARED] (__libc_first_init): Define as alias for posixland_init. + * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro + RTLD_START_SPECIAL_INIT before calling initializers. + (RTLD_START_SPECIAL_INIT): Define to empty if undefined. + * sysdeps/mach/hurd/i386/dl-machine.h: New file. + * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function. + * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first. + + * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed, + since we define the function with the name `tmpfile'. + + * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h. + * hurd/Versions: Likewise. + +2000-04-02 Ulrich Drepper + + * elf/dl-runtime.c (fixup): Fix typo in comment. + + * resolv/netdb.h (getnameinfo): All length parameters are of type + socklen_t. + * inet/getnameinfo.c: Likewise. + +2000-04-01 Ulrich Drepper + + * posix/unistd.h (socklen_t): Define if it has not yet happened. + (gethostname): Change type of second parameter to socklen_t. + * include/unistd.h (__gethostname): Change type of second + parameter to socklen_t. + * sysdeps/generic/gethostname.c (__gethostname): Likewise. + * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise. + * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname): + Likewise. + * sysdeps/unix/sysv/linux/gethostname.c: Removed. + * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t. + Allow definition elsewhere. + * sysdeps/unix/sysv/aix/bits/socket.h: Likewise. + * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise. + * sysdeps/generic/bits/types.h: Define __socklen_t. + * sysdeps/unix/sysv/aix/bits/types.h: Likewise. + * sysdeps/unix/sysv/hpux/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise. + + * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t. + (inet_lnaof): Likewise. + (inet_netof): Likewise. + (inet_network): Likewise. + (inet_aton): Likewise. + (inet_makeaddr): Change parameter types to in_addr_t. + (inet_neta): Likewise. + (inet_ntop): Change type of last parameter to socklen_t. + (inet_aton): Only make available if __USE_MISC. + (inet_neta): Likewise. + (inet_net_ntop): Likewise. + (inet_net_pton): Likewise. + (inet_nsap_ntoa): Likewise. + + * inet/in.h: Define in_port_t type. + Define in_addr_t type. + (struct in_addr): Use in_addr_t in definition. + (IN_CLASSA): Use cast to in_addr_t. + (IN_CLASSB): Likewise. + (IN_CLASSC): Likewise. + (IN_CLASSD): Likewise. + (IN_EXPERIMENTAL): Likewise. + (IN_BADCLASS): Likewise. + (INADDR_ANY): Likewise. + (INADDR_BROADCAST): Likewise. + (INADDR_NONE): Likewise. + (INADDR_LOOPBACK): Likewise. + (INADDR_UNSPEC_GROUP): Likewise. + (INADDR_ALLHOSTS_GROUP): Likewise. + (INADDR_ALLRTRS_GROUP): Likewise. + (INADDR_MAX_LOCAL_GROUP): Likewise. + (struct sockaddr_in): Use in_port_t for sin_port element. + (struct sockaddr_in6): Use in_port_t for sin6_port element. + Use uint8_t instead of u_int8_t. + + * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t. + Call __inet_aton instead of inet_aton. + (__inet_aton): Renamed from inet_aton. Add weak alias under old name. + + * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC. + (innetgr): Likewise. + (struct addrinfo): Use socklen_t for ai_addrlen element. + + * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU, + IPV6_RECVERR): New defines. + + * include/netdb.h: Change type of first parameter of __getnetbyaddr_r. + * inet/getnetbyad.c: Likewise. + * inet/getnetbyad_r.c: Likewise. + * nis/nss_nis/nis-network.c: Likewise. + * nis/nssplus_nis/nisplus-network.c: Likewise. + * nss/nss_files/files-network.c: Likewise. + * resolv/netdb.h: Define uint32_t if not already happened. + Include bits/netdb.h. Remove definition of struct netent. + Change type of first parameter of getnetbyaddr_r and getnetbyaddr. + * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere. + * sysdeps/generic/bits/netdb.h: New file. + * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file. + + * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c. + (tests): Add glrefmain. + Add rules to build modules and run tests. Ignore result of glrefmain + for now since it fails. + * dlfcn/glrefmain.c: New file. + * dlfcn/glreflib1.c: New file. + * dlfcn/glreflib2.c: New file. + + * test-skeleton.c: Include for strsignal prototype. + + * locale/programs/ld-collate.c (check_duplicate): Allow repertoire + to be missing. + + * sysdeps/unix/sysv/linux/init-first.c (init): Add code from + former init-first.h. Initialize __libc_multiple_libcs. + +2000-03-31 Ulrich Drepper + + * iconv/skeleton.c: Define access macros with u suffix. Adjust + #if expression for use of unaligned function to the one used in + the definition of these functions. + * iconv/loop.c: Undefined `unaligned' before recursive inclusion. + * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function. + (internal_ucs4le_loop_unaligned): New function. + + * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c. + (tests): Add order. + (module-names): Add dep1, dep2, dep3, and dep4. + Add dependencies for dep* modules and order. + Define rule for order.out which checks the result. + * elf/dep1.c: New file. + * elf/dep2.c: New file. + * elf/dep3.c: New file. + * elf/dep4.c: New file. + * elf/order.c: New file. + + * elf/dl-init.c: Fix typo in comment. + +2000-03-31 Andreas Jaeger + + * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new + init function interface. + * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise. + +2000-03-31 Andreas Jaeger + + * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if. + * sysdeps/mips/fpu/fegetenv.c: Likewise. + * sysdeps/mips/fpu/feupdateenv.c: Likewise. + * sysdeps/mips/fpu/fclrexcpt.c: Likewise. + * sysdeps/mips/fpu/fesetenv.c: Likewise. + + * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated + anymore, update comment. + + * sysdeps/unix/sysv/linux/shmctl.c: Likewise. + + * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove + SHLIB_COMPAT - the struct is always needed. + +2000-03-31 Ulrich Drepper + + * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686. + * elf/dl-support.c: Define _dl_starting_up. + +2000-03-30 Ulrich Drepper + + * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function. + * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up. + + * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used. + + * elf/Makefile (dl-routines): Remove preinit. + * elf/Versions: Remove _dl_preinit. + * elf/dl-preinit.c: Removed. Move content into... + * elf/dl-init.c: ...here. + * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit. + + * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of + elements. + +2000-03-29 Geoff Clare + + * stdlib/strfmon.c: Corrected problems with the code that + sets default values for [np]_sep_by_space and + [np]_sign_posn; also the new positive/negative alignment + code from the previous patch was not quite right for + [np]_sign_posn = 0. + + * localedata/tst-fmon.data: Changes corresponding to the + two sets of fixes made to stdlib/strfmon.c. + +2000-03-29 Jes Sorensen + + * malloc/malloc.c: Declare bit flags UL so that they will not + default to int size when being inverted. + +2000-03-29 Andreas Jaeger + + * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros. + * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise. + +2000-03-29 Andreas Jaeger , + Ralf Baechle + + * Makeconfig: Introduce new variable SHARED to mark code used in + the shared library. + * elf/dl-close.c: Use it instead of PIC. + * elf/dl-load.c: Likewise. + * elf/dl-open.c: Likewise. + * hurd/geteuids.c: Likewise. + * include/libc-symbols.h: Likewise. + * include/shlib-compat.h: Likewise. + * libio/freopen.c: Likewise. + * linuxthreads/cancel.c: Likewise. + * linuxthreads/pthread.c: Likewise. + * linuxthreads/wrapsyscall.c: Likewise. + * nss/nsswitch.c: Likewise. + * stdio-common/vfprintf.c: Likewise. + * sysdeps/arm/init-first.c: Likewise. + * sysdeps/i386/init-first.c: Likewise + * sysdeps/generic/init-first.c: Likewise. + * sysdeps/generic/libc-start.c: Likewise. + * sysdeps/mips/init-first.c: Likewise. + * sysdeps/powerpc/elf/libc-start.c: Likewise. + * sysdeps/unix/sysv/linux/init-first.c: Likewise. + * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise. + * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise. + * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. + + * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check. + +2000-03-29 Andreas Jaeger + + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup): + Use D_PTR to access relocated entries in l_info. + (elf_machine_rela): Likewise. + + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup): + Likewise. + (elf_machine_rela): Likewise. + + * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup): + Likewise. + (__elf_machine_fixup_plt): Likewise. + (__process_machine_rela): Likewise. + + * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise. + (elf_machine_rela): Likewise. + + * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise. + (elf_machine_rel): Likewise. + + * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise. + (elf_machine_fixup_plt): Likewise. + (elf_machine_rela): Likewise. + +2000-03-29 Andreas Jaeger + + * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros. + * sysdeps/unix/sysv/linux/semctl.c: Likewise. + * sysdeps/unix/sysv/linux/shmctl.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise. + * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise. + * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise. + * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise. + * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise. + + * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat + macros, remove K&R prototypes. + +2000-03-30 Ulrich Drepper + + * posix/getopt.c (_getopt_internal): Return -1 if argc < 1. + Reported by Andrew Wiseman + (PR libc/1677). + +2000-03-30 Andreas Jaeger + + * misc/sys/cdefs.h: Remove K&R support. + +2000-03-30 Ulrich Drepper + + * iconv/skeleton.c: Avoid compiling unaligned versions in some + more cases. + * iconv/loop.c: Likewise. + +2000-03-29 Bruno Haible + + * iconv/loop.c (put16): Remove __const. Fix access index. + (put32): Remove __const. Use uint32_t instead of uint16_t. + * iconv/skeleton.c: Likewise. + +2000-03-30 Roland McGrath + + * mach/Versions (libc: GLIBC_2.0) + [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize + __vm_allocate on this. + [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize + mutex- and spinlock-related symbols on this. + [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3): + New version set. Lock-related symbols go here instead in this case. + * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove + _cthread_exit_routine, _cthread_init_routine, cthread_keycreate, + cthread_getspecific, cthread_setspecific, __libc_getspecific. + * hurd/Versions + [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0): + Put them here instead. + [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3): + New version set. Those cthreads symbols go here instead in this case. + * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version. + +2000-03-30 Ulrich Drepper + + * elf/dl-init.c (_dl_init): We don't need to call constructors + recursively. Fold _dl_init_rec in _dl_init and optimize a bit more. + + Implement dynamic determination of constructor/destructor order in + the dynamic linker. + * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next. + (GLIBC_2.2): Add _dl_init. + * elf/dl-close.c: Also call all destructors in FINI_ARRAY. + r_duplist is not anymore allocated separately. l_initfini is and + therefore free it if necessary. + * elf/dl-deps.c: If a searchlist has to be allocated, put all in one + malloc block. Otherwise allocate l_initfini list only. + Put dependencies for the object in l_initfini list. + Sort dependencies for the object to be loaded topologically. + * elf/dl-fini.c: Before running the destructors sort the topologically. + * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to + call constructors instead of iterating over the pointers. Get list of + objects for which to run constructors from l_initfini element. Accept + argc, argv, and env as parameters and pass them to the constructors. + * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member + with size of dynamic section. + * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of + _dl_init_next and calling constructors ourself. + * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next. + Take argc, argv, and env as parameters and pass them to the + constructors. Rewrite to call all constructors and not iterate over + the pointers. + * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't + precompute l_initcount and l_preinitcount. + * elf/link.h (struct link_map): Add l_ldnum member. + Make l_phdr_allocated part of the bitfield. Remove l_runcount, + l_initcount, and l_preinitcount. Add l_initfini. + * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with + one for _dl_init. + * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init + function interface. + * sysdeps/unix/sysv/linux/init-first.h: Removed. + * sysdeps/unix/sysv/linux/Dist: Delete file here as well. + * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use + SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling + conventions now match. + + * sysdeps/generic/libc-start.c: Calling __libc_init_first has no + effect for shared objects. Don't emit message and call only for + static library. + +2000-03-29 Ulrich Drepper + + * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from + CSA_Z243.4-1985-1..UCS2. + * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from + ISO-8859-10..UCS2. + +2000-03-29 Andreas Jaeger + + * include/unistd.h: Remove duplicate entry for __rmdir. + Remove declaration of __mkdir since __mkdir is declared in + sys/stat.h. + + * manual/creature.texi (Feature Test Macros): Fix typo, reported + by Michael Deutschmann . + + * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros. + * sysdeps/mips/fpu/fegetenv.c: Likewise. + * sysdeps/mips/fpu/fesetenv.c: Likewise. + * sysdeps/mips/fpu/feupdateenv.c: Likewise. + * sysdeps/mips/fpu/fgetexcptflg.c: Likewise. + +2000-03-28 Andreas Jaeger + + * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant + declaration, the prototype is defined via bits/mathcalls.h. + (__sincosf): Likewise. + (__sincosl): Likewise. + (ldexp): Likewise. + (ldexpf): Likewise. + (ldexpl): Likewise. + (__finite): Likewise. + (__inline_mathcodeNP): New macro without prototype + declarations. + (__inline_mathcodeNP2): Likewise. + (__inline_mathcodeNP3): Likewise. + (__inline_mathcodeNP_): Likewise. + (__inline_mathcodeNP2_): Likewise. + (__inline_mathcodeNP3_): Likewise. + (__inline_mathopNP): Likewise. + (__inline_mathop_declNP): Likewise. + (__inline_mathop_declNP_): Likewise. + (__inline_mathcode_): Use __inline_mathcodeNP_. + (__inline_mathcode2_): Use __inline_mathcodeNP2_. + (__inline_mathcode3_): Use __inline_mathcodeNP3_. + (__inline_mathop_decl_): Use __inline_mathop_declNP__. + (__expm1l): Don't define prototype, the prototype is defined via + bits/mathcalls.h. + (exp): Likewise. + (__expl): Likewise. + (tan): Likewise. + (atan2): Likewise. + (__atan2l): Likewise. + (fmod): Likewise. + (pow): Likewise. + (fabsf): Likewise. + (fabsl): Likewise. + (__fabsl): Likewise. + (asin): Likewise. + (acos): Likewise. + (sinh): Likewise. + (cosh): Likewise. + (tanh): Likewise. + (floor): Likewise. + (ceil): Likewise. + (expm1): Likewise. + (log1p): Likewise. + (asinh): Likewise. + (acosh): Likewise. + (atanh): Likewise. + (hypot): Likewise. + (logb): Likewise. + (fma): Likewise. + (drem): Likewise. + (sqrt): Likewise. + (__sqrtl): Likewise. + (sin): Likewise. + (cos): Likewise. + (atan): Likewise. + (log): Likewise. + (log10): Likewise. + (asinh): Likewise. + (log2): Likewise. + (rint): Likewise. + +2000-03-28 Ulrich Drepper + + * Makerules: If make variable md5 is defined to yes after + generating dependencies generate MD5 sum for the object. + + * iconv/gconv_builtin.h: Fix length in transformation definition + for UNICODEBIG. + + * iconvdata/TESTS: Use UCS-2BE instead of UCS2. + + * iconv/loop.c: Define get16, get32, put16, and put32 macros to + allow as well reading from/writing to unaligned addresses on machines + which don't support this in hardware. Use FCTNAME macro to define + function name. Include the file a second time for platforms which + need special unaligned handling. + * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros + to access potentially unaligned addresses. These macros are intended + to be used only outside the loops. + (unaligned): New definition. In case the machine can handle unaligned + access define as zero. Otherwise as a variable which is initialized + as nonzero in case the buffer passed in at runtime is unaligned with + respect to the character set encoding involved. + Call aligned or unaligned looop functions according to unaligned + variable. + * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead + of direct casting pointer to potentially handle unaligned memory + accesses. + * iconvdata/8bit-generic.c: Likewise. + * iconvdata/ansi_x3.110.c: Likewise. + * iconvdata/big5.c: Likewise. + * iconvdata/euc-cn.c: Likewise. + * iconvdata/euc-jp.c: Likewise. + * iconvdata/euc-kr.c: Likewise. + * iconvdata/euc-tw.c: Likewise. + * iconvdata/gbk.c: Likewise. + * iconvdata/iso-2022-cn.c: Likewise. + * iconvdata/iso-2022-jp.c: Likewise. + * iconvdata/iso-2022-kr.c: Likewise. + * iconvdata/iso646.c: Likewise. + * iconvdata/iso_6937-2.c: Likewise. + * iconvdata/iso_6937.c: Likewise. + * iconvdata/johab.c: Likewise. + * iconvdata/sjis.c: Likewise. + * iconvdata/t.61.c: Likewise. + * iconvdata/uhc.c: Likewise. + * iconvdata/unicode.c: Likewise. + * iconvdata/utf-16.c: Likewise. + + * locale/programs/simple-hash.c: Little optimizations. Remove K&R + prototypes. + + * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all. + * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made + public. + * malloc/mcheck.h (mcheck_check_all): Declare. + + * stdio-common/Makefile (tests): Add tst-obprintf. + +2000-03-28 Roland McGrath + + * sysdeps/generic/bits/sigthread.h: Clean up conditionals. + Declare pthread_sigmask. + + * csu/version.c: Add 2000 to copyright years. + Remove Emacs local variables section. + +2000-03-23 Bruno Haible + + * iconv/gconv_int.h (__gconv_transform_ucs2little_internal, + __gconv_transform_internal_ucs2little): Remove declarations. + * iconv/gconv_simple.c (__gconv_transform_ucs2_internal, + __gconv_transform_internal_ucs2): Never need to bswap_16. + (__gconv_transform_ucs2reverse_internal, + __gconv_transform_internal_ucs2reverse): Always need to bswap_16. + +2000-03-27 Roland McGrath + + * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the + obsoleting version not being defined at all, in which case the + result is always true. + + * Makeconfig (preprocess-versions): New canned sequence for running + cpp on shlib-versions and the like. + (soversions.i): Use it. + * Makerules (Versions.all, sysd-versions): Use it to preprocess the + Versions.def and Versions files. + +2000-03-27 Ulrich Drepper + + * stdio-common/tst-obprintf.c (main): Add another check to see + obstack_printf handling all possible beginnings of the block + inside an obstack chunk. + + * locale/programs/localedef.c: Use __malloc_initialize_hook to + install mcheck handler. + + * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory + handling problem. + +2000-03-27 Roland McGrath + + * stdio-common/tmpfile.c: Use macros. + + * include/shlib-compat.h: Conditionalize include + on [HAVE_ELF && DO_VERSIONING]. + +2000-03-27 Ulrich Drepper + + * stdio-common/tst-obprintf.c: New file. + +2000-03-26 Ulrich Drepper + + * libio/genops.c (_IO_default_xsputn): Little optimization. Call + _IO_OVERFLOW directly instead through __overflow. + + * locale/programs/localedef.c (construct_output_path): If path + contains a / compute the end of the directory name correctly. + + * include/features.h: Undef and document __USE_XOPEN2K. + + * malloc/mcheck.c: Implement pedantic checking of all allocated blocks + whenever a function is called. Initiated by calling mcheck_pedantic + instead of mcheck. + * malloc/mcheck.h: Declare mcheck_pedantic. + * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic. + * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck + for now. + +2000-03-26 Roland McGrath + + * dlfcn/dlopen.c: Use macros. + * dlfcn/dlopenold.c: Likewise. + * nss/getXXbyYY_r.c: Likewise. + * nss/getXXent_r.c: Likewise. + * hurd/hurdinit.c: Likewise. + * hurd/compat-20.c: Likewise. + * libio/oldiofopen.c: Likewise. + * libio/oldiofclose.c: Likewise. + * libio/oldiofdopen.c: Likewise. + * libio/oldfileops.c: Likewise. + * libio/oldstdfiles.c: Likewise. + * libio/oldiofsetpos.c: Likewise. + * libio/oldiofgetpos.c: Likewise. + * libio/oldiofgetpos64.c: Likewise. + * libio/oldiofsetpos64.c: Likewise. + * libio/oldiopopen.c: Likewise. + * libio/oldpclose.c: Likewise. + * libio/oldtmpfile.c: Likewise. + * libio/freopen.c (freopen): Likewise. + * libio/iofclose.c (_IO_new_fclose): Likewise. + + * sysdeps/mach/sys/reboot.h: Include . + (reboot): Declare it. + + * libio/Makefile (headers): Add bits/stdio-lock.h here. + + * sysdeps/mach/hurd/bits/stdio-lock.h: New file. + + * include/shlib-compat.h: Include unconditionally. + + * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC || + __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98]. + We need this for the sbrk decl, which can be included without Unix98. + +2000-03-20 Richard Henderson + + * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last + argument to yperr2nss is an int, not size_t. + * posix/regex.c (print_partial_compiled_pattern): Cast all + ptrdiff_t to long for printing. + (print_compiled_pattern): Use Z for printing size_t. + * posix/testfnm.c (tests): Avoid trigraphs. + * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): + Use a C comment, not an assembly comment. + + * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use + of __ASSUME_32BITUIDS. + +2000-03-26 Ulrich Drepper + + * libio/iofopncook.c: Remove K&R prototypes. + +2000-03-26 Roland McGrath + + * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit + an initial value of 1024 instead of RLIM_INFINITY. + + * Versions.def (libmachuser, libhurduser): Remove these sections, + since these libraries do not presently use symbol versions. + + * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit + is RLIM_INFINITY, return -1 instead. + +2000-03-24 Andreas Jaeger + + * Makefile (postclean): Added soversions.i. + +2000-03-24 Scott Bambrough + + * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM, + _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT, + and _FPU_IEEE. Change _FPU_RESERVED. + +2000-03-24 Scott Bambrough + + * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file. + +2000-03-24 Roland McGrath + + * sysdeps/posix/getaddrinfo.c: Include for if_nametoindex. + (gaih_inet): Remove unused duplicate variable. + + * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN. + Don't use __libc_sa_len, which only exists for Linux. Just handle + AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the + only flavors supported by this function anyway. + +2000-03-24 Geoff Clare + + * stdlib/strfmon.c: Corrected problems with missing signs and + missing or extra spaces; allow for sign strings longer than + one character; add padding to ensure positive and negative + formats are aligned when a left precision is used. + +2000-03-26 Ulrich Drepper + + * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4. + Patch by John Mizel . + +2000-03-25 Ulrich Drepper + + * manual/install.texi: Remove references to crypt add-on. + +2000-03-25 Roland McGrath + + * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical + section while taking the _hurd_rlimit_lock. + * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise. + +2000-03-24 Roland McGrath + + * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define + using $(LN_S). + + * sysdeps/mach/hurd/if_index.c: New file. + + * sysdeps/unix/sysv/linux/net/if.h: Moved to ... + * sysdeps/gnu/net/if.h: here. + (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ... + * sysdeps/mach/hurd/net/if.h: ... here; this file now removed. + * sysdeps/generic/net/if.h: New file. Declares just the standard + functions and `struct if_nameindex' type. + * socket/Makefile (headers): Add net/if.h here. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here. + * sysdeps/mach/hurd/Dist: Remove it here. + * sysdeps/unix/sysv/linux/Dist: And here. + * sysdeps/generic/if_index.c: Include . + +2000-03-24 Andreas Jaeger + + * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to + access relocated entries in l_info. + (elf_machine_got_rel): Likewise. + (elf_machine_runtime_setup): Likewise. + * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise. + (elf_machine_runtime_setup): Likewise. + (__dl_runtime_resolve): Likewise. + +2000-03-23 Ulrich Drepper + + * resolv/netdb.h (SCOPE_DELIMITER): New definitions. + * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id + according to RFC 2553. + * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft. + * inet/getnameinfo.c: Likewise. + Patches by YOSHIFUJI Hideaki . + +2000-03-23 Bruno Haible + + * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop): + Remove no-op pointer increment. + +2000-03-23 Andreas Jaeger + + * stdio-common/tst-cookie.c (cookieseek): Change prototype to + follow change for libio.h from 2000-03-10. + +2000-03-23 Andreas Jaeger + + * elf/dl-addr.c: Adjust include paths for ldsodefs location + change. + * elf/dl-debug.c: Likewise. * elf/dl-deps.c: Likewise. * elf/dl-error.c: Likewise. * elf/dl-fini.c: Likewise. @@ -5664,4435 +12655,751 @@ * elf/dl-load.c: Likewise. * elf/dl-lookup.c: Likewise. * elf/dl-minimal.c: Likewise. + * elf/dl-object.c: Likewise. * elf/dl-open.c: Likewise. + * elf/dl-preinit.c: Likewise. * elf/dl-profile.c: Likewise. + * elf/dl-profstub.c: Likewise. * elf/dl-reloc.c: Likewise. - * elf/dl-version.c: Likewise. - * elf/do-lookup.h: Likewise. - * elf/rtld.c: Likewise. - * sysdeps/generic/dl-cache.c: Likewise. - * sysdeps/generic/dl-sysdep.c: Likewise. - * sysdeps/generic/libc-start.c: Likewise. - * sysdeps/i386/dl-machine.h: Likewise. - * sysdeps/arm/dl-machine.h: Likewise. - * sysdeps/hppa/dl-machine.h: Likewise. - * sysdeps/m68k/dl-machine.h: Likewise. - * sysdeps/powerpc/dl-machine.h: Likewise. - * sysdeps/s390/dl-machine.h: Likewise. - * sysdeps/sh/dl-machine.h: Likewise. - * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise. - * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise. - * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise. - - * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration. - - * dlfcn/Makefile: Don't run tstatexit test unless .hidden is - supported by assembler. - - * sysdeps/generic/ldsodefs.h: Remove commented-out variable - declaractions. - - * elf/rtld.c: Little optimizations in handling _dl_lazy. - - * elf/cache.c (save_cache): Portability changes. - * elf/dl-profile.c (_dl_start_profile): Likewise. - - * elf/sln.c: Cleanups. Remove arbitrary limits. - - * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask. - * elf/dl-deps.c: Likewise. - * elf/dl-fini.c: Likewise. - * elf/dl-init.c: Likewise. - * elf/dl-load.c: Likewise. - * elf/dl-lookup.c: Likewise. - * elf/dl-open.c: Likewise. - * elf/dl-reloc.c: Likewise. + * elf/dl-runtime.c: Likewise. * elf/dl-support.c: Likewise. + * elf/dl-symbol.c: Likewise. * elf/dl-version.c: Likewise. - * elf/do-lookup.h: Likewise. * elf/rtld.c: Likewise. - * sysdeps/generic/dl-cache.c: Likewise. - * sysdeps/generic/ldsodefs.h: Likewise. - * sysdeps/generic/libc-start.c: Likewise. - * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files. - Export _dl_debug_mask. - * Versions.def: Define GLIBC_2.2.3 for ld. - -2001-02-26 Greg McGary - - * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter. - -2001-02-26 Paul Eggert - - Modify mkstemp.c and tempname.c so that they can be used by - GNU applications on non-glibc platforms. - - * misc/mkstemp.c (__GT_FILE): Define to zero if not defined. - - * sysdeps/posix/tempname.c: Include if HAVE_CONFIG_H. - Include , , only if - STDC_HEADERS || _LIBC. - Include only if HAVE_FCNTL_H || _LIBC. - Include only if HAVE_UNISTD_H || _LIBC. - Include only if HAVE_SYS_TIME_H || _LIBC. - (__set_errno): Define this macro if doesn't. - (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE): - Define these macros if doesn't. - (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR): - Define these macros if doesn't. - Ignore S_ISDIR if STAT_MACROS_BROKEN. - (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64, - lxstat64, __xstat64): Define if not _LIBC. - (struct_stat64): New macro. - (direxists, __gen_tempname): Use it, to avoid a - portability problem with Solaris 8. - (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC). - (__gen_tempname): Invoke gettimeofday only if - HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time". - Use portable macros like S_IRUSR | S_IWUSR rather than nonportable - octal values like 0600. - -2001-02-26 Ulrich Drepper - - * sysdeps/ieee754/ldbl-96/e_jnl.c: New file. - Contributed by Stephen L. Moshier . - - * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction. - * sysdeps/ia64/fpu/libm-test-ulps: Likewise. - - * posix/wordexp-test.c (testit): Remove warnings. - - * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c. - (tests): Add tstatexit and tstcxaatexit. - (module-names): Add modatexit and modcxaatexit. - Add rules to build and run tstatexit and tstcxaatexit. - * dlfcn/modatexit.c: New file. - * dlfcn/modcxaatexit.c: New file. - * dlfcn/tstatexit.c: New file. - * dlfcn/tstcxaatexit.c: New file. - - * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if - .hidden is available. - * io/stat.c: If .hidden is available use it to avoid exporting - functions. - * io/fstat.c: Likewise. - * io/lstat.c: Likewise. - * io/stat64.c: Likewise. - * io/fstat64.c: Likewise. - * io/lstat64.c: Likewise. - * sysdeps/generic/mknod.c: Likewise. - - * malloc/mtrace.c: Use __cxa_atexit and not atexit. - * sysdeps/generic/bb_init_func.c: Likewise. - * sysdeps/generic/libc-start.c: Likewise. - - * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c. - (atexit): Implement using __cxa_atexit. - Use .hidden if availble to avoid exporting atexit. - * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c. - * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3. - * stdlib/Makefile (routines): Add old_atexit. - (static-only-routines): Add atexit. - Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available. - * stdlib/old_atexit.c: New file. - - * intl/Makefile: Remove bogus endif. - -2001-02-26 Andreas Jaeger - - * iconvdata/Makefile (tests): Fix typo in last patch. - - * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is - available. - Reported by Achim Gottinger . - -2001-02-25 Andreas Jaeger - - * intl/Makefile (plural.c): Reorder rules so that they work if - BISON doesn't exist. - -2001-02-25 Ulrich Drepper - - * intl/locale.alias: Don't use nb_NO but define aliases for it. - -2001-02-23 Ulrich Drepper - - * sysdeps/i386/strtok.S: Continue to return NULL after the first - time this happened. - -2001-02-23 Andreas Jaeger - - * string/tester.c (test_strtok_r): Add testcase. - (test_strtok_r): Always initialize cp for proper checking. - - * sysdeps/generic/strtok.c (strtok): Handle case of first strtok - returning NULL correctly. - Patch by Fumitoshi UKAI . - * sysdeps/generic/strtok_r.c (__strtok_r): Likewise. - -2001-02-23 Ulrich Drepper - - * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before - including . - * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write. - * include/libc-symbols.h (weak_alias): Don't use .weak if - HAVE_ASM_GLOBAL_DOT_NAME is defined. - Patches by Michael Keezer . - - * sysdeps/generic/ftime.c: Don't include at all. - Patch by Michael Keezer . - - * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S. - * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc] - (sysdep_routines): Remove restf.S and savef.S. - * sysdeps/unix/sysv/aix/restf.S: Removed. - * sysdeps/unix/sysv/aix/savef.S: Removed. - * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label. Also define - alternative names used on some platforms. - * sysdeps/powerpc/fprsave.S: Likewise. - * sysdeps/powerpc/gprrest0.S: Likewise. - * sysdeps/powerpc/gprrest1.S: Likewise. - * sysdeps/powerpc/gprsave0.S: Likewise. - * sysdeps/powerpc/gprsave1.S: Likewise. - Patch by Michael Keezer . - -2001-02-22 Ulrich Drepper - - * sysdeps/i386/elf/start.S (_fp_hw): Actually define label. - -2001-02-22 Andreas Jaeger - - * string/tst-strtok.c (main): Fix error messages. - -2001-02-22 Andreas Jaeger - - * math/Makefile: Remove omit-long-double-fcts. - -2001-02-18 Maciej W. Rozycki - - * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to - avoid problems on MIPS I. - * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise. - - * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set - noreorder". - -2001-02-21 Ulrich Drepper - - * posix/fnmatch_loop.c: Handle ranges outside glibc correctly. - - * sysdeps/generic/ftime.c: Include . - - * configure.in: Don't check for libgd if user passed --without-gd. - Patch by Achim Gottinger . - - * sysdeps/i386/i686/strtok.S: Continue to return NULL after the - first time this happened. - * string/Makefile (tests): Add tst-strtok. - -2001-02-21 Andreas Jaeger - - * string/tst-strtok.c: New testcase, reported by - Andrew Church . - -2001-02-20 Ulrich Drepper - - * libio/iofwide.c: Remove fwide alias. - -2001-02-20 Andreas Jaeger - - * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl - is available. - Reported by Achim Gottinger . - -2001-02-19 Ulrich Drepper - - * iconv/tst-iconv1.c (main): Remove debugging code. - - * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly. - * sysdeps/ieee754/dbl-64/e_pow.c: Likewise. - - * sysdeps/generic/e_scalb.c: Set invalid exception for invalid - parameters. - * sysdeps/generic/e_scalbf.c: Likewise. - * sysdeps/generic/e_scalbl.c: Likewise. - - * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error, - libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also - in libc. - (routines): Replace libm_error with libc_libm_error. - * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c. - * sysdeps/ia64/fpu/libc_libm_error.c: New file. - -2001-02-18 Mark Kettenis - - * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64. - (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64. - -2001-02-17 H.J. Lu - - * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use - scratch registers across the system call. - -2001-02-19 Andreas Jaeger - - * malloc/Makefile (tests): Run mtrace only when perl is available. - Reported by Achim Gottinger . - -2001-02-19 Ulrich Drepper - - * sysdeps/ieee754/ldbl-96/e_j1l.c: New file. - Contributed by Stephen L. Moshier . - - * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1. - * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1. - * math/libm-test.inc (j1_test): Mark constants as long double. - (jn_test): Likewise. - (y1_test): Likewise. - (yn_test): Likewise. - - * libio/iogetline.c: Move return until after last statement. - - * localedata/show-ucs-data.c: Don't show < > for better readability. - - * sysdeps/ia64/fpu/Dist: New file. - * sysdeps/ia64/fpu/Makefile: New file. - * sysdeps/ia64/fpu/Versions: New file. - * sysdeps/ia64/fpu/e_acos.S: New file. - * sysdeps/ia64/fpu/e_acosf.S: New file. - * sysdeps/ia64/fpu/e_acosl.S: New file. - * sysdeps/ia64/fpu/e_asin.S: New file. - * sysdeps/ia64/fpu/e_asinf.S: New file. - * sysdeps/ia64/fpu/e_asinl.S: New file. - * sysdeps/ia64/fpu/e_atan2.S: New file. - * sysdeps/ia64/fpu/e_atan2f.S: New file. - * sysdeps/ia64/fpu/e_atan2l.c: New file. - * sysdeps/ia64/fpu/e_cosh.S: New file. - * sysdeps/ia64/fpu/e_coshf.S: New file. - * sysdeps/ia64/fpu/e_coshl.S: New file. - * sysdeps/ia64/fpu/e_exp.S: New file. - * sysdeps/ia64/fpu/e_expf.S: New file. - * sysdeps/ia64/fpu/e_expl.c: New file. - * sysdeps/ia64/fpu/e_fmod.S: New file. - * sysdeps/ia64/fpu/e_fmodf.S: New file. - * sysdeps/ia64/fpu/e_fmodl.S: New file. - * sysdeps/ia64/fpu/e_hypot.S: New file. - * sysdeps/ia64/fpu/e_hypotf.S: New file. - * sysdeps/ia64/fpu/e_hypotl.S: New file. - * sysdeps/ia64/fpu/e_log.S: New file. - * sysdeps/ia64/fpu/e_log10.c: New file. - * sysdeps/ia64/fpu/e_log10f.c: New file. - * sysdeps/ia64/fpu/e_log10l.c: New file. - * sysdeps/ia64/fpu/e_logf.S: New file. - * sysdeps/ia64/fpu/e_logl.c: New file. - * sysdeps/ia64/fpu/e_pow.S: New file. - * sysdeps/ia64/fpu/e_powf.S: New file. - * sysdeps/ia64/fpu/e_powl.S: New file. - * sysdeps/ia64/fpu/e_rem_pio2.c: New file. - * sysdeps/ia64/fpu/e_rem_pio2f.c: New file. - * sysdeps/ia64/fpu/e_remainder.S: New file. - * sysdeps/ia64/fpu/e_remainderf.S: New file. - * sysdeps/ia64/fpu/e_remainderl.S: New file. - * sysdeps/ia64/fpu/e_scalb.S: New file. - * sysdeps/ia64/fpu/e_scalbf.S: New file. - * sysdeps/ia64/fpu/e_scalbl.S: New file. - * sysdeps/ia64/fpu/e_sinh.S: New file. - * sysdeps/ia64/fpu/e_sinhf.S: New file. - * sysdeps/ia64/fpu/e_sinhl.S: New file. - * sysdeps/ia64/fpu/e_sqrt.S: New file. - * sysdeps/ia64/fpu/e_sqrtf.S: New file. - * sysdeps/ia64/fpu/e_sqrtl.S: New file. - * sysdeps/ia64/fpu/k_rem_pio2.c: New file. - * sysdeps/ia64/fpu/k_rem_pio2f.c: New file. - * sysdeps/ia64/fpu/k_rem_pio2l.c: New file. - * sysdeps/ia64/fpu/libm_atan2_reg.S: New file. - * sysdeps/ia64/fpu/libm_error.c: New file. - * sysdeps/ia64/fpu/libm_frexp4.S: New file. - * sysdeps/ia64/fpu/libm_frexp4f.S: New file. - * sysdeps/ia64/fpu/libm_frexp4l.S: New file. - * sysdeps/ia64/fpu/libm_reduce.S: New file. - * sysdeps/ia64/fpu/libm_support.h: New file. - * sysdeps/ia64/fpu/libm_tan.S: New file. - * sysdeps/ia64/fpu/s_atan.S: New file. - * sysdeps/ia64/fpu/s_atanf.S: New file. - * sysdeps/ia64/fpu/s_atanl.S: New file. - * sysdeps/ia64/fpu/s_cbrt.S: New file. - * sysdeps/ia64/fpu/s_cbrtf.S: New file. - * sysdeps/ia64/fpu/s_cbrtl.S: New file. - * sysdeps/ia64/fpu/s_ceil.S: New file. - * sysdeps/ia64/fpu/s_ceilf.S: New file. - * sysdeps/ia64/fpu/s_ceill.S: New file. - * sysdeps/ia64/fpu/s_cos.S: New file. - * sysdeps/ia64/fpu/s_cosf.S: New file. - * sysdeps/ia64/fpu/s_cosl.S: New file. - * sysdeps/ia64/fpu/s_expm1.S: New file. - * sysdeps/ia64/fpu/s_expm1f.S: New file. - * sysdeps/ia64/fpu/s_expm1l.S: New file. - * sysdeps/ia64/fpu/s_floor.S: New file. - * sysdeps/ia64/fpu/s_floorf.S: New file. - * sysdeps/ia64/fpu/s_floorl.S: New file. - * sysdeps/ia64/fpu/s_frexp.c: New file. - * sysdeps/ia64/fpu/s_frexpf.c: New file. - * sysdeps/ia64/fpu/s_frexpl.c: New file. - * sysdeps/ia64/fpu/s_ilogb.S: New file. - * sysdeps/ia64/fpu/s_ilogbf.S: New file. - * sysdeps/ia64/fpu/s_ilogbl.S: New file. - * sysdeps/ia64/fpu/s_ldexp.S: New file. - * sysdeps/ia64/fpu/s_ldexpf.S: New file. - * sysdeps/ia64/fpu/s_ldexpl.S: New file. - * sysdeps/ia64/fpu/s_log1p.S: New file. - * sysdeps/ia64/fpu/s_log1pf.S: New file. - * sysdeps/ia64/fpu/s_log1pl.S: New file. - * sysdeps/ia64/fpu/s_logb.S: New file. - * sysdeps/ia64/fpu/s_logbf.S: New file. - * sysdeps/ia64/fpu/s_logbl.S: New file. - * sysdeps/ia64/fpu/s_matherrf.c: New file. - * sysdeps/ia64/fpu/s_matherrl.c: New file. - * sysdeps/ia64/fpu/s_modf.S: New file. - * sysdeps/ia64/fpu/s_modff.S: New file. - * sysdeps/ia64/fpu/s_modfl.S: New file. - * sysdeps/ia64/fpu/s_nearbyint.S: New file. - * sysdeps/ia64/fpu/s_nearbyintf.S: New file. - * sysdeps/ia64/fpu/s_nearbyintl.S: New file. - * sysdeps/ia64/fpu/s_rint.S: New file. - * sysdeps/ia64/fpu/s_rintf.S: New file. - * sysdeps/ia64/fpu/s_rintl.S: New file. - * sysdeps/ia64/fpu/s_round.S: New file. - * sysdeps/ia64/fpu/s_roundf.S: New file. - * sysdeps/ia64/fpu/s_roundl.S: New file. - * sysdeps/ia64/fpu/s_scalbn.S: New file. - * sysdeps/ia64/fpu/s_scalbnf.S: New file. - * sysdeps/ia64/fpu/s_scalbnl.S: New file. - * sysdeps/ia64/fpu/s_significand.S: New file. - * sysdeps/ia64/fpu/s_significandf.S: New file. - * sysdeps/ia64/fpu/s_significandl.S: New file. - * sysdeps/ia64/fpu/s_sin.c: New file. - * sysdeps/ia64/fpu/s_sincos.c: New file. - * sysdeps/ia64/fpu/s_sincosf.c: New file. - * sysdeps/ia64/fpu/s_sincosl.c: New file. - * sysdeps/ia64/fpu/s_sinf.c: New file. - * sysdeps/ia64/fpu/s_sinl.c: New file. - * sysdeps/ia64/fpu/s_tan.S: New file. - * sysdeps/ia64/fpu/s_tanf.S: New file. - * sysdeps/ia64/fpu/s_tanl.S: New file. - * sysdeps/ia64/fpu/s_trunc.S: New file. - * sysdeps/ia64/fpu/s_truncf.S: New file. - * sysdeps/ia64/fpu/s_truncl.S: New file. - * sysdeps/ia64/fpu/w_acos.c: New file. - * sysdeps/ia64/fpu/w_acosf.c: New file. - * sysdeps/ia64/fpu/w_acosl.c: New file. - * sysdeps/ia64/fpu/w_asin.c: New file. - * sysdeps/ia64/fpu/w_asinf.c: New file. - * sysdeps/ia64/fpu/w_asinl.c: New file. - * sysdeps/ia64/fpu/w_atan2.c: New file. - * sysdeps/ia64/fpu/w_atan2f.c: New file. - * sysdeps/ia64/fpu/w_atan2l.c: New file. - * sysdeps/ia64/fpu/w_cosh.c: New file. - * sysdeps/ia64/fpu/w_coshf.c: New file. - * sysdeps/ia64/fpu/w_coshl.c: New file. - * sysdeps/ia64/fpu/w_exp.c: New file. - * sysdeps/ia64/fpu/w_expf.c: New file. - * sysdeps/ia64/fpu/w_fmod.c: New file. - * sysdeps/ia64/fpu/w_fmodf.c: New file. - * sysdeps/ia64/fpu/w_fmodl.c: New file. - * sysdeps/ia64/fpu/w_hypot.c: New file. - * sysdeps/ia64/fpu/w_hypotf.c: New file. - * sysdeps/ia64/fpu/w_hypotl.c: New file. - * sysdeps/ia64/fpu/w_log.c: New file. - * sysdeps/ia64/fpu/w_log10.c: New file. - * sysdeps/ia64/fpu/w_log10f.c: New file. - * sysdeps/ia64/fpu/w_log10l.c: New file. - * sysdeps/ia64/fpu/w_logf.c: New file. - * sysdeps/ia64/fpu/w_logl.c: New file. - * sysdeps/ia64/fpu/w_pow.c: New file. - * sysdeps/ia64/fpu/w_powf.c: New file. - * sysdeps/ia64/fpu/w_powl.c: New file. - * sysdeps/ia64/fpu/w_remainder.c: New file. - * sysdeps/ia64/fpu/w_remainderf.c: New file. - * sysdeps/ia64/fpu/w_remainderl.c: New file. - * sysdeps/ia64/fpu/w_scalb.c: New file. - * sysdeps/ia64/fpu/w_scalbf.c: New file. - * sysdeps/ia64/fpu/w_scalbl.c: New file. - * sysdeps/ia64/fpu/w_sqrt.c: New file. - * sysdeps/ia64/fpu/w_sqrtf.c: New file. - * sysdeps/ia64/fpu/w_sqrtl.c: New file. - * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double - implementation. - * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types. - Change FP_ILOGBNAN for new implementation. - * Verions.def: Add 2.2.3 versions. - -2001-02-18 Ulrich Drepper - - * math/libm-test.inc (scalb_test): Require invalid exception being - raised for invalid parameters. - * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary. - * sysdeps/i386/fpu/e_scalbf.S: Likewise. - * sysdeps/i386/fpu/e_scalbl.S: Likewise. - -2001-02-18 Mark Kettenis - - * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return - value to long int. - (__get_avphys_pages): Likewise. - -2001-02-18 Ulrich Drepper - - * math/libm-test.inc (pow_test): Correct expected results for x == +-1. - * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly. - * sysdeps/i386/fpu/e_powf.S: Likewise. - * sysdeps/i386/fpu/e_powl.S: Likewise. - - * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code. - -2001-02-17 Ulrich Drepper - - * math/Makefile (libm-calls): It's e_exp2 not s_exp2. - - * sysdeps/generic/s_exp2l.c: Renamed to... - * sysdeps/generic/e_exp2l.c: ...this. New file. - * sysdeps/i386/fpu/s_exp2.S: Renamed to... - * sysdeps/i386/fpu/e_exp2.S: ...this. New file. - * sysdeps/i386/fpu/s_exp2f.S: Renamed to... - * sysdeps/i386/fpu/e_exp2f.S: ...this. New file. - * sysdeps/i386/fpu/s_exp2l.S: Renamed to... - * sysdeps/i386/fpu/e_exp2l.S: ...this. New file. - * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to... - * sysdeps/ieee754/flt-32/e_exp2f.c: ...this. New file. - * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to... - * sysdeps/ieee754/dbl-64/e_exp2.c: ...this. New file. - * sysdeps/m68k/fpu/s_exp2.c: Renamed to... - * sysdeps/m68k/fpu/e_exp2.c: ...this. New file. - * sysdeps/m68k/fpu/s_exp2f.c: Renamed to... - * sysdeps/m68k/fpu/e_exp2f.c: ...this. New file. - * sysdeps/m68k/fpu/s_exp2l.c: Renamed to... - * sysdeps/m68k/fpu/e_exp2l.c: ...this. New file. - -2001-02-17 Andreas Jaeger - - * configure.in: Allow gcc 3. - -2001-02-16 Ulrich Drepper - - * math/w_acos.c: Move to ... - * sysdeps/generic/w_acos.c: ...here. New file. - * math/w_acosf.c: Move to ... - * sysdeps/generic/w_acosf.c: ...here. New file. - * math/w_acosh.c: Move to ... - * sysdeps/generic/w_acosh.c: ...here. New file. - * math/w_acoshf.c: Move to ... - * sysdeps/generic/w_acoshf.c: ...here. New file. - * math/w_acoshl.c: Move to ... - * sysdeps/generic/w_acoshl.c: ...here. New file. - * math/w_acosl.c: Move to ... - * sysdeps/generic/w_acosl.c: ...here. New file. - * math/w_asin.c: Move to ... - * sysdeps/generic/w_asin.c: ...here. New file. - * math/w_asinf.c: Move to ... - * sysdeps/generic/w_asinf.c: ...here. New file. - * math/w_asinl.c: Move to ... - * sysdeps/generic/w_asinl.c: ...here. New file. - * math/w_atan2.c: Move to ... - * sysdeps/generic/w_atan2.c: ...here. New file. - * math/w_atan2f.c: Move to ... - * sysdeps/generic/w_atan2f.c: ...here. New file. - * math/w_atan2l.c: Move to ... - * sysdeps/generic/w_atan2l.c: ...here. New file. - * math/w_atanh.c: Move to ... - * sysdeps/generic/w_atanh.c: ...here. New file. - * math/w_atanhf.c: Move to ... - * sysdeps/generic/w_atanhf.c: ...here. New file. - * math/w_atanhl.c: Move to ... - * sysdeps/generic/w_atanhl.c: ...here. New file. - * math/w_cosh.c: Move to ... - * sysdeps/generic/w_cosh.c: ...here. New file. - * math/w_coshf.c: Move to ... - * sysdeps/generic/w_coshf.c: ...here. New file. - * math/w_coshl.c: Move to ... - * sysdeps/generic/w_coshl.c: ...here. New file. - * math/w_drem.c: Move to ... - * sysdeps/generic/w_drem.c: ...here. New file. - * math/w_dremf.c: Move to ... - * sysdeps/generic/w_dremf.c: ...here. New file. - * math/w_dreml.c: Move to ... - * sysdeps/generic/w_dreml.c: ...here. New file. - * math/w_exp10.c: Move to ... - * sysdeps/generic/w_exp10.c: ...here. New file. - * math/w_exp10f.c: Move to ... - * sysdeps/generic/w_exp10f.c: ...here. New file. - * math/w_exp10l.c: Move to ... - * sysdeps/generic/w_exp10l.c: ...here. New file. - * math/w_exp2.c: Move to ... - * sysdeps/generic/w_exp2.c: ...here. New file. - * math/w_exp2f.c: Move to ... - * sysdeps/generic/w_exp2f.c: ...here. New file. - * math/w_exp2l.c: Move to ... - * sysdeps/generic/w_exp2l.c: ...here. New file. - * math/w_fmod.c: Move to ... - * sysdeps/generic/w_fmod.c: ...here. New file. - * math/w_fmodf.c: Move to ... - * sysdeps/generic/w_fmodf.c: ...here. New file. - * math/w_fmodl.c: Move to ... - * sysdeps/generic/w_fmodl.c: ...here. New file. - * math/w_hypot.c: Move to ... - * sysdeps/generic/w_hypot.c: ...here. New file. - * math/w_hypotf.c: Move to ... - * sysdeps/generic/w_hypotf.c: ...here. New file. - * math/w_hypotl.c: Move to ... - * sysdeps/generic/w_hypotl.c: ...here. New file. - * math/w_j0.c: Move to ... - * sysdeps/generic/w_j0.c: ...here. New file. - * math/w_j0f.c: Move to ... - * sysdeps/generic/w_j0f.c: ...here. New file. - * math/w_j0l.c: Move to ... - * sysdeps/generic/w_j0l.c: ...here. New file. - * math/w_j1.c: Move to ... - * sysdeps/generic/w_j1.c: ...here. New file. - * math/w_j1f.c: Move to ... - * sysdeps/generic/w_j1f.c: ...here. New file. - * math/w_j1l.c: Move to ... - * sysdeps/generic/w_j1l.c: ...here. New file. - * math/w_jn.c: Move to ... - * sysdeps/generic/w_jn.c: ...here. New file. - * math/w_jnf.c: Move to ... - * sysdeps/generic/w_jnf.c: ...here. New file. - * math/w_jnl.c: Move to ... - * sysdeps/generic/w_jnl.c: ...here. New file. - * math/w_lgamma.c: Move to ... - * sysdeps/generic/w_lgamma.c: ...here. New file. - * math/w_lgammaf.c: Move to ... - * sysdeps/generic/w_lgammaf.c: ...here. New file. - * math/w_lgammaf_r.c: Move to ... - * sysdeps/generic/w_lgammaf_r.c: ...here. New file. - * math/w_lgammal.c: Move to ... - * sysdeps/generic/w_lgammal.c: ...here. New file. - * math/w_lgammal_r.c: Move to ... - * sysdeps/generic/w_lgammal_r.c: ...here. New file. - * math/w_lgamma_r.c: Move to ... - * sysdeps/generic/w_lgamma_r.c: ...here. New file. - * math/w_log10.c: Move to ... - * sysdeps/generic/w_log10.c: ...here. New file. - * math/w_log10f.c: Move to ... - * sysdeps/generic/w_log10f.c: ...here. New file. - * math/w_log10l.c: Move to ... - * sysdeps/generic/w_log10l.c: ...here. New file. - * math/w_log.c: Move to ... - * sysdeps/generic/w_log.c: ...here. New file. - * math/w_logf.c: Move to ... - * sysdeps/generic/w_logf.c: ...here. New file. - * math/w_logl.c: Move to ... - * sysdeps/generic/w_logl.c: ...here. New file. - * math/w_pow.c: Move to ... - * sysdeps/generic/w_pow.c: ...here. New file. - * math/w_powf.c: Move to ... - * sysdeps/generic/w_powf.c: ...here. New file. - * math/w_powl.c: Move to ... - * sysdeps/generic/w_powl.c: ...here. New file. - * math/w_remainder.c: Move to ... - * sysdeps/generic/w_remainder.c: ...here. New file. - * math/w_remainderf.c: Move to ... - * sysdeps/generic/w_remainderf.c: ...here. New file. - * math/w_remainderl.c: Move to ... - * sysdeps/generic/w_remainderl.c: ...here. New file. - * math/w_scalb.c: Move to ... - * sysdeps/generic/w_scalb.c: ...here. New file. - * math/w_scalbf.c: Move to ... - * sysdeps/generic/w_scalbf.c: ...here. New file. - * math/w_scalbl.c: Move to ... - * sysdeps/generic/w_scalbl.c: ...here. New file. - * math/w_sinh.c: Move to ... - * sysdeps/generic/w_sinh.c: ...here. New file. - * math/w_sinhf.c: Move to ... - * sysdeps/generic/w_sinhf.c: ...here. New file. - * math/w_sinhl.c: Move to ... - * sysdeps/generic/w_sinhl.c: ...here. New file. - * math/w_sqrtl.c: Move to ... - * sysdeps/generic/w_sqrtl.c: ...here. New file. - * math/w_tgamma.c: Move to ... - * sysdeps/generic/w_tgamma.c: ...here. New file. - * math/w_tgammaf.c: Move to ... - * sysdeps/generic/w_tgammaf.c: ...here. New file. - * math/w_tgammal.c: Move to ... - * sysdeps/generic/w_tgammal.c: ...here. New file. - - * locale/programs/ld-address.c (address_finish): Add 'S' to allow - formats for postal_fmt. - -2001-02-16 Jakub Jelinek - - * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add - __ftruncate64 alias. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate): - Likewise. - -2001-02-15 David Mosberger - - * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to - do "loadrs". Writing to bspstore already takes care of - invalidating the "clean" partition. - -2001-02-16 Andreas Schwab - - * sysdeps/m68k/fpu/s_nextafterl.c: New file. - * sysdeps/m68k/fpu/s_fpclassifyl.c: New file. - -2001-02-15 Jakub Jelinek - - * posix/regex.c (init_syntax_once): Add prototype. - (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'. - (re_search_2): Avoid warning. - (count_mbs_length): Add prototype. - * posix/tst-regex3.c: New file. - * posix/Makefile (tests): Add bug-regex3. - -2001-02-15 Ulrich Drepper - - * stdio-common/Makefile (tests): Add tst-gets. - * stdio-common/tst-gets.c: New file. - * stdio-common/tst-gets.input: New file. - - * elf/elf.h (DT_CHECKSUM): Define. - - * sysdeps/generic/strtoll.c: Don't export __strto*_internal as - default symbol. - * sysdeps/generic/strtoull.c: Likewise. - -2001-02-14 Wolfram Gloger - - * malloc/malloc.c (new_heap): When allocating large chunk aligned - to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes' - between the heaps. - -2001-02-14 Ulrich Drepper - - * math/libm-test.inc (j0_test): Check whether sincos is available. - (j1_test): Likewise. - (jn_test): Likewise. - (y0_test): Likewise. - (y1_test): Likewise. - (yn_test): Likewise. - - * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach - fake filesystem routines to handle this. - - * time/sys/time.h: Make settimeofday and adjtime available if - _BSD_SOURCE. - - * time/sys/time.h: Make timer* macros available for BSD. - - * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030. - Patch by Yong Li . - - * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of - name. - - * posix/Makefile (tests): Add tst-gnuglob. - * posix/tst-gnuglob.c: New file. - -2001-02-13 H.J. Lu - - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64. - -2001-02-13 Ulrich Drepper - - * locale/programs/ld-paper.c (paper_output): Pretty printing. - - * iconvdata/Makefile (modules): Add GBBIG5. - (distribute): Add gbbig5.c. - * iconvdata/gconv-modules: Add entries for GBBIG5 module. - - * iconvdata/gbbig5.c: New file. - Contributed by Yong Li . - -2001-02-13 Philip Blundell - - * manual/crypt.texi: Remove outdated references to crypt add-on. - - * manual/creature.texi: Improve wording slightly. - -2001-02-13 Ulrich Drepper - - * io/ftw.c: Always use readdir64. - * io/ftw64.c: Likewise. - * sysdeps/unix/sysv/linux/ttyname.c: Likewise. - * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise. - * sysdeps/generic/glob.c: Likewise. Convert results of gl_readdir - callback to dirent. Still allow compiling outside glibc. - * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64. - * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise. - - * malloc/mtrace.c: Use fopen64. - * posix/spawni.c: Use __open64. - * sysdeps/unix/opendir.c: Likewise. - * sysdeps/unix/sysv/linux/gethostid.c: Likewise. - - * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old - name a weak alias. - * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise. - * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise. - - * resolv/res_data.c: Add cast to avoid warning. - - * include/unistd.h: Declare __ftruncate64. - - * sysdeps/generic/utmp_file.c: Use LFS functions and types. - - * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64 - instead of __lseek. - -2001-02-13 Andreas Jaeger - - * login/getutent_r.c: Include for NULL. - * login/getutid_r.c: Likewise. - -2001-02-12 Ulrich Drepper - - * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos. - * sysdeps/dbl-64/e_j1.c: Likewise. - * sysdeps/dbl-64/e_jn.c: Likewise. - * sysdeps/flt-32/e_j0f.c: Likewise. - * sysdeps/flt-32/e_j1f.c: Likewise. - * sysdeps/ldbl-96/e_j0l.c: Likewise. - -2000-12-02 H.J. Lu - - * resolv/res_libc.c (res_init): Don't make it default. - -2001-02-12 Ulrich Drepper - - * manual/debug.texi: Improved the wording. - Patch by Philip Blundell . - -2001-02-12 Andreas Jaeger - - * posix/Makefile (tests): Don't run bug-regex2 when - cross-compiling. - - * libio/Makefile (tests): Don't run test-freopen when - cross-compiling. - - * manual/stdio.texi (Streams and I18N): Fix typos. - -2001-02-12 Ulrich Drepper - - * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l. - - * math/libm-test.inc (j0_test): Make expected results long double - constants. - (y0_test): Likewise. - - * sysdeps/ieee754/ldbl-96/e_j0l.c: New file. - Contributed by Stephen L. Moshier . - -2001-02-11 Jakub Jelinek - - * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias - which was exported from libc. - * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise. - -2001-02-12 Andreas Jaeger - - * manual/arith.texi (Parsing of Integers): Fix some wordings. - -2001-02-11 Ulrich Drepper - - * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages - and get_avphys_page to long int. - * sysdeps/unix/sysv/linux/getsysstat.c: Likewise. - * include/sys/sysinfo.h: Likewise. - * sysdeps/generic/sys/sysinfo.h: Likewise. - * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise. - - * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we - cannot return as many values as the user asked for. - -2001-02-11 Andreas Jaeger - - * manual/resource.texi (Memory Resources): Fix typo. - - * libio/Makefile ($(objpfx)test-freopen.out): Pass - run-program-prefix. - - * libio/test-freopen.sh: Use run_program_prefix. - -2001-02-10 Andreas Jaeger - - * stdlib/Makefile (tests): Don't run tst-fmtmsg when - cross-compiling. - ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix. - - * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static - only builds. - - * elf/Makefile (tests): Only run tst-pathopt with shared libs. - - * posix/Makefile: Fix typo, it's build-static-nss. - - * iconv/Makefile (extra-objs): New. - -2001-02-10 Mark Kettenis - - * sysdeps/unix/stime.c: Include . - - * sysdeps/mach/hurd/setitimer.c: Include . - -2001-02-10 Andreas Jaeger - - * manual/string.texi (Search Functions): Fix typo. - -2001-02-10 Mark Kettenis - - * sysdeps/unix/bsd/times.c: Reorder includes and add . - (timeval_to_clock_t): Add clk_tck argument and use that instead of - CLK_TCK. - (__times): Use __getclktck to get the number of clock ticks per - second and use its return value instead of CLK_TCK. - -2001-02-10 Mark Kettenis - - * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define. - -2001-02-10 Mark Kettenis - - * sysdeps/mach/gettimeofday.c: Include . - -2001-02-10 Andreas Jaeger - - * wctype/wcfuncs.c (func): Add prototype declarations to avoid - warning. - -2001-02-09 Ulrich Drepper - - * posix/Makefile: Add rules to build and run bug-regex2. - * posix/bug-regex2.c: New file. - -2001-02-10 Jakub Jelinek - - * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *. - (regex_compile): Likewise. - (FREE_VARIABLES): Don't free is_binary1 and is_binary2. - (re_match_2_internal): Use just is_binary instead of two variables. - Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure. - -2001-02-09 Ulrich Drepper - - * version.h (VERSION): Bump to 2.2.2. - - * iconv/Makefile (distribute): Add iconv_charmap.c and - dummy-repertoire.c. - * elf/Makefile (distribute): Add firstobj.c. - * Makefile (distribute): Add include/pthread.h. - - * configure.in: Require makeinfo version 4. - - * libio/tst_wscanf.c (main): Add cast to avoid warning. - * libio/tst_swscanf.c (main): Likewise.. - -2001-02-09 Jakub Jelinek - - * sysdeps/generic/setenv.c (unsetenv): Remove const from len. - * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if - __NO_MATH_INLINES. - * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym - if not RTLD_BOOTSTRAP. - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise. - -2001-02-09 Ulrich Drepper - - * locale/programs/linereader.c (get_ident): Stop loop if EOF. Use - lr_ungetc to push back last read character. - * locale/programs/linereader.h (lr_ungetc): Don't push back is - character is EOF. - (lr_ignore_rest): Don't warn about garbage if it is really the end - of the file. - - * manual/Makefile: Use ifnottext and not ifinfo to protect Top node - definition. - -2001-02-08 Ulrich Drepper - - * Makerules (build-shlib): Work around different order of - processing of -B option in different gcc versions. - - * posix/regex.c: Fix alignment problem. - Patch by Isamu Hasegawa . - - * sysdeps/alpha/strrchr.S: Little optimization. - Patch by Richard Henderson . - - * sysdeps/alpha/alphaev67/strrchr.S: New file. - Contributed by Rick Gorton . - -2001-02-08 kaz Kojima - - * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name - in the assembler end directive. - -2001-02-08 Andreas Jaeger - - * manual/stdio.texi (Closing Streams): Fix typos. - -2001-02-07 Ulrich Drepper - - * sysdeps/alpha/alphaev67/strncat.S: Align last write address. - Patch by Richard Henderson . - Reported by Claus-Justus Heine . - - * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store - pointer in FILE structure before calling _IO_init. - * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and - strfmon_l if necessary. - Reported by Jury Gerold . - - * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros. - Patch by Pekka.Pietikainen@cern.ch. - - * posix/regex.c: Correct several problems with 64-bit architectures - introduced in the MBS changes. - Patch by Isamu Hasegawa . - -2001-02-07 Jakub Jelinek - - * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is - not defined. - * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES. - -2001-02-07 Andreas Jaeger - - * manual/install.texi (Tools for Compilation): Fix typo. - Reported by Pavel Machek . - -2001-02-07 Ulrich Drepper - - * stdlib/strtod.c: Never stop prematurely reading digits before the - decimal point is found. Compute exponent limit for negative exponents - correctly. For numbers ending in all zeros eat the zeros even before - the decimal point if the exponent is negative [PR libc/2072]. - * stdlib/Makefile (tests): Add bug-strtod. - * stdlib/bug-strtod.c: New file. - -2001-02-07 Andreas Jaeger - - * posix/bug-regex1.c: Include for fwide. - -2001-02-06 Ulrich Drepper - - * posix/regex.c (regex_compile): Don't store pointer in wchar_t array. - Store index. - (compile_range): Handle index being passed, not pointer. - Patch by Isamu Hasegawa . - - * posix/regex.c: Fix a cast in the code for bracket handling which - caused 8-bit uncleanliness. - Patch by Michal Jaegermann . - - * posix/Makefile (tests): Add bug-regex1. - * posix/bug-regex1.c: New file. - Contributed by Jim Meyering . - - * posix/regex.c: Many cleanups for incorrect format strings. - -2001-02-06 Andreas Jaeger - - * time/time.h (CLK_TCK): Check for !__STRICT_ANSI. - -2001-02-06 Ulrich Drepper - - * locale/programs/locale.c (write_locales): Use scandir to read - directory so that the entries are sorted. - -2001-02-06 Andreas Jaeger - - * include/pthread.h: New file. - - * wctype/wctype.h: Move internal interfaces from here to... - * include/wctype.h: ...here. - - * wcsmbs/wchar.h: Move __wcslen from here to... - * include/wchar.h: ...here. - - * posix/sys/wait.h: Move __wait from here to... - * include/sys/wait.h: ...here. - - * string/string.h: Move __ffs and __strerror_r from here to... - * include/string.h: ...here. - - * stdlib/stdlib.h: Move __on_exit from here to... - * include/stdlib.h: ...here. - - * libio/stdio.h: Move __vsnprintf from here to... - * include/stdio.h: ...here. - -2001-02-06 Andreas Schwab - - * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel - headers. - - * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir - of $(inst_datadir). - -2001-02-06 Ulrich Drepper - - * iconvdata/Makefile: Add dependency for bug-iconv2.out. - -2001-02-06 Andreas Jaeger - - * elf/firstobj.c: Add prototype. - - * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype - (truncate_wchar): Likewise. - -2001-02-06 Ulrich Drepper - - * locale/programs/locale.c: Implement --verbose option for -a - which prints detailed information about the locales. - -2001-02-05 Ulrich Drepper - - * sunrpc/xdr_rec.c (set_input_fragment): Change type of header - variable to uint32_t. - Reported by Ulrich Weigand . - -2001-02-04 Bruno Haible - - * locale/C-translit.h.in: Add transliterations for CJK units of - measurement. - -2001-02-05 Ulrich Drepper - - * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf - string. Include instead of . - - * localedata/Makefile (tests): Add bug-iconv-trans. - Define bug-iconv-trans-ENV. - * localedata/bug-iconv-trans.c: New file. - -2001-02-04 Bruno Haible - - * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output - pointer, to avoid accumulating output from incomplete (unsuccessful) - transliteration attempts. - -2001-02-05 Ulrich Drepper - - * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf - string. Include instead of . - - * configure.in: Add check for bison. - * config.make.in: Define BISON variable. - * intl/Makefile: Use BISON instead of YACC when generating plural.c. - Rename YFLAGS to BISONFLAGS. - -2001-02-05 Andreas Jaeger - - * io/test-lfs.c (do_test): Test lseek64 return value, call - test_ftello. - (test_ftello): New function to test ftello64 and fseeko64. - - * signal/signal.h: Move __sigaction from here to... - * include/signal.h: ...here. - - * io/fcntl.h: Move __fcntl and __open to... - * include/fcntl.h: ...here. - -2001-02-04 Philip Blundell - - * configure.in: Distinguish ARM from Thumb. - -2001-02-04 Philip Blundell - - * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of - PC24 relocs with negative value. - -2001-02-04 Ulrich Drepper - - * iconv/Makefile (iconv_prog-modules): Define. Add vpath to find - files in locale/programs. Add CFLAGS definition to allow compiling - localedef files. - * iconv/dummy-repertoire.c: New file. - * iconv/iconv_charmap.c: New file. - * iconv/iconv_prog.h: New file. - * iconv/iconv_prog.c: Make verbose and omit_invalid global. - (main): If parameter for -f and -t contain slashes try first to resolve - the strings as filenames of charmap files. Use them for conversion - in this case. - * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with - iconv getting charmap names as parameters. - * locale/programs/linereader.c (lr_token): Take extra parameters - verbose and pass it to get_string. - (get_string): Take extra parameters verbose. - * locale/programs/charmap.c (parse_charmap): Take extra parameters - verbose and be_quiet. Change all callers of lr_token and - parse_charmap. - * locale/programs/charmap.h: Likewise. - * locale/programs/ld-address.c: Likewise. - * locale/programs/ld-collate.c: Likewise. - * locale/programs/ld-ctype.c: Likewise. - * locale/programs/ld-identification.c: Likewise. - * locale/programs/ld-measurement.c: Likewise. - * locale/programs/ld-messages.c: Likewise. - * locale/programs/ld-monetary.c: Likewise. - * locale/programs/ld-name.c: Likewise. - * locale/programs/ld-numeric.c: Likewise. - * locale/programs/ld-paper.c: Likewise. - * locale/programs/ld-telephone.c: Likewise. - * locale/programs/ld-time.c: Likewise. - * locale/programs/linereader.c: Likewise. - * locale/programs/linereader.h: Likewise. - * locale/programs/localedef.c: Likewise. - * locale/programs/locfile.c: Likewise. - * locale/programs/locfile.h: Likewise. - * locale/programs/repertoire.c: Likewise. - -2001-02-03 Ulrich Drepper - - * iconv/iconv_prog.c (main): If output file name is "-" write to - stdout. - (main): If -f or -t argument is missing use charset of the current - locale. - -2001-02-03 Andreas Jaeger - - * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte - boundary for SSE/SSE-2 alignment. - - * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to - annexc. - -2001-02-03 Ulrich Drepper - - * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf. - Remove comma at end of enum. - - * elf/dl-init.c: Add a few __builtin_expect. - - * hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat. - -2001-02-02 Ulrich Drepper - - * hesiod/hesiod.c (hesiod_resolve): Also search HS records if - errno is ECONNREFUSED. - - * posix/Makefile: Define MBS_SUPPORT for regex.c. - * posix/regex.c: Implement multibyte character handling. - Patch by Isamu Hasegawa . - - * string/tst-svc.input: Add two more test cases. - * string/tst-svc.expect: Modify to reflect new test cases. - -2001-02-01 Jakub Jelinek - - * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all - tp->name tests with tp->name[0] tests. - -2001-01-29 Ben Collins - - * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r): - Fix check for name == NULL. - -2001-02-01 Ulrich Drepper - - * elf/Makefile: Add rules to build and run initfirst test. - * elf/initfirst.c: New file. - * elf/firstobj.c: New file. - - * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so). - * configure.in: Test for -z initfirst linker option. - * config.make.in: Add have-z-initfirst. - * elf/dl-init.c (_dl_init): Split out actual initialization code in - new function call_init. If _dl_initfirst is non-NULL initialize first. - * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set - remember object in _dl_initfirst. - * elf/soinit.c: Remove special support for calling - __pthread_initialize_minimal. - - * conform/conformtest.pl: Add missing $prepend in type test. - -2001-01-31 Ulrich Drepper - - * elf/elf.h (SHT_CHECKSUM): New definition. - - * posix/fnmatch_loop.c: Remove incorrect reverse condition in - [. .] matching. Patch by Isamu Hasegawa . - * posix/tst-fnmatch.input: Add tests for [. .] in locales. - -2001-01-31 Mark Kettenis - - * misc/sys/select.h: Include instead of - to get definition of `struct timeval'. - -2001-01-31 Ulrich Drepper - - * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale. - * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets. - -2001-01-30 Ulrich Drepper - - * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is - seen, not flags. - - * nis/nis_findserv.c: Include . - -2001-01-30 Yong Li - - * iconv/iconv_prog.c (main): Correct error handling method name. - -2001-01-29 Ben Collins - - * sysdeps/sparc/fpu/fraiseexcpt.c: Include . - * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise. - * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise. - * sysdeps/s390/fpu/fraiseexcpt.c: Likewise. - -2001-01-30 Ulrich Drepper - - * locale/programs/ld-measurement.c (measurement_finish): Fix a typo. - Patch by Marko Myllynen . - - * string/bits/string2.h (__strpbrk_c2): Correct parameter types - (int instead of char). - (__strpbrk_c3): Likewise. - Reported by GOTO Masanori . - - * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro. - * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise. - * include/sys/socket.h: Add SA_LEN here for internal use. - Reported by Arkadiusz Miskiewicz . - -2001-01-29 Ulrich Drepper - - * malloc/Makefile: Don't build memusagestat if cross-compiling. - - * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo. - - * math/libm-test.inc (rint_test): Add a few more tests for round - to even rounding. - -2001-01-28 Ulrich Drepper - - * conform/data/pthread.h-data: Correct return type of pthread_exit. - - * conform/conformtest.pl: Add -fno-builtin to CFLAGS. - - * conform/data/stdlib.h-data: Add _Exit. - - * inet/arpa/inet.h: Don't include . Define socklen_t - if not already happened. - * inet/netinet/in.h: Don't include , use . - Don't include and . - - * conform/data/netinet/in.h-data: Allow all of . - - * conform/data/spawn.h-data: Allow all of . - - * sysdeps/ia64/fpu/fraiseexcpt.c: Include . Removed - unused variable. - - * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning. - * sunrpc/xdr_sizeof.c (x_inline): Likewise. - - * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include . - - * conform/conformtest.pl: Define $mustprepend{"stdio.h"}. - * libio/stdio.h: Define va_list correctly. - - * conform/data/pthread.h-data: Make priority protocol related - functions optional. Fix typos. - - * posix/sched.h: Define sched_priority as __sched_priority. - * sysdeps/generic/bits/sched.h (struct sched_param): Rename element - to __sched_priority. - * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. - -2001-01-27 Ulrich Drepper - - * sysdeps/generic/clock_getcpuclockid.c: Include instead - of . - - * sysdeps/unix/stime.c: Include for NULL. - * sysdeps/unix/time.c: Likewise. - - * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry. - * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6. - * sysdeps/mach/hurd/i386/bits/time.h: Likewise. - * sysdeps/unix/sysv/linux/bits/time.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise. - * time/time.h: Likewise. - - * conform/conformtest.pl (@headers): Add complex.h and tgmath.h. - * conform/data/complex.h-data: New file. - * conform/data/tgmath.h-data: New file. - - * conform/data/wchar.h-data: Add missing functions. - - * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU. - - * conform/data/termios.h-data: Add missing const in tcsetattr() - prototype. - - * posix/sys/wait.h: Include and . - Don't define pid_t here. - - * conform/data/sys/utsname.h-data: Don't provide fixed array sizes. - - * conform/data/sys/time.h-data: Allow sys/select.h. - * conform/data/sys/un.h-data: Fix typo. - * time/sys/time.h: Don't include all of , just struct timeval. - * sysdeps/posix/clock_getres.c: Include instead of - . - * sysdeps/unix/clock_nanosleep.c: Likewise. - * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise. - * sysdeps/unix/i386/i586/clock_getres.c: Likewise. - * sysdeps/unix/clock_gettime.c: Also include . - * sysdeps/unix/clock_settime.c: Likewise. - - * sysdeps/generic/pselect.c: Include for NULL. - * login/getutent.c: Likewise. - * login/getutid.c: Likewise. - * login/getutline.c: Likewise. - - * socket/sys/un.h: Define SUN_LEN only if __USE_MISC. - - * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field - to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED. - * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of - f_fsid field after change in struct statvfs. - * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file. - * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file. - - * conform/data/sys/stat.h-data: Remove isfdtype. Use - optional-macro. - - * conform/data/sys/socket.h-data: Fix typos. Correct getsockopt, - recvfrom, send, and socketpair prototypes. Add allow lines. - * socket/sys/socket.h: Include . - Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU. - Fix type of second parameter of listen. - Don't declare isfdtype unless __USE_MISC. - * sysdeps/generic/listen.c: Fix type of second parameter of listen. - * sysdeps/mach/hurd/listen.c: Likewise. - * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define - ss_family and __ss_family. - * sysdeps/unix/sysv/aix/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. - (struct msghdr): Change type of msg_iovlen to int and type of - msg_controllen to socklen_t. - * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file. - * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file. - * inet/rcmd.c (rcmd_af): __ss_family is now ss_family. - (rresvport_af): Likewise. - - * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant. - * conform/conformtest.pl: Implement handling of symbol. - - * signal/signal.h: Fix handling of __need_* symbols. - * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define - fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K. - * include/sys/select.h: Use fd_set not __fd_set. - * sysdeps/generic/bits/select.h: Likewise. - * sysdeps/i386/bits/select.h: Likewise. - * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS, - __FDELT, __FDMASK, and __fd_set here. - * sysdeps/unix/sysv/aix/bits/types.h: Likewise. - * sysdeps/unix/sysv/hpux/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise. - * time/sys/time.h: Define struct timeval before including - and . - - * conform/data/sys/time.h-data: fd_set is a typedef. - * conform/data/sys/select.h-data: New file. - * conform/data/sys/mman.h-data: Make typed mem stuff optional. - * conform/conformtest.pl (@headers): Add sys/select.h. - (type, optional-type): Unless testing a typedef instantiate object. - Implement optional-function. - - * math/test-misc.c: Include . - -2001-01-27 Andreas Jaeger - - * misc/efgcvt_r.c: Include . - -2001-01-26 Ulrich Drepper - - * conform/data/stdlib.h-data: Account for XPG6 changes. - * stdlib/stdlib.h (__random): Change return value type to long. - (posix_memalign): Cleanup parameter names. - (setenv, unsetenv): Make available for __USE_XOPEN2K. - Change return type of unsetenv to int. - (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC. - * include/stdlib.h: Change return type of unsetenv to int. - Change return type of random to long int. - * sysdeps/generic/setenv.c (unsetenv): Change return type to int. - Return -1 and set errno if parameter is invalid. - * stdlib/random.c (__random): Change return value type to long. - - * conform/data/stdio.h-data: Account for changes in XPG6. - - * conform/data/spawn.h-data: Correct posix_spawnattr_setflags - prototype. - - * conform/conformtest.pl: Define $mustprepend{"signal.h"}. - * conform/data/signal.h-data: Fix sigev_notify_function entry. - Fix typo (SIGVALRM -> SIGVTALRM). - * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr - with real type. - * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise. - - * conform/conformtest.pl: Implement optional-element. Define - $mustprepend{"sched.h"}. - * conform/data/sched.h-data: Make sporadic scheduler definitions - optional. - - * pwd/pwd.h: Don't define getpwent_r for XPG. - - * io/sys/poll.h: Define nfds_t and use it in poll prototype. - * sysdeps/generic/poll.c: Use nfds_t type in function definition. - * sysdeps/mach/hurd/poll.c: Likewise. - * sysdeps/unix/bsd/poll.c: Likewise. - * sysdeps/unix/sysv/linux/poll.c: Likewise. - * sysdeps/unix/sysv/aix/poll.c: Likewise. - * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC. - * sysdeps/unix/sysv/linux/bits/poll.h: Likewise. - * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise. - * conform/data/poll.h-data: Fix typo in poll prototype. - - * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros - only if __USE_MISC. - * conform/data/netinet/tcp.h-data: Reserved prefix TCP_. - - * sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE. - - * inet/netinet/in.h: Make IPPROTO_ constants also macros. - - * conform/conformtest.pl: Implement optional-type. - - * resolv/netdb.h: Include not . Include - only if __USE_MISC. Include instead of - defining uint32_t here. Define IPPORT_RESERVED. - (struct hostent): Type of h_length element is int. - (getnameinfo): Type of flags parameter is unsigned int. - * inet/getnameinfo.c (getnameinfo): flags argument is unsigned. - * conform/data/netdb.h-data: Add many missing definitions. - - * conform/conformtest.pl: Implement optional-macro. - * conform/data/math.h-data: Update for XPG6. - - * math/math.h (HUGE): Define as FLT_MAX value but don't use - FLT_MAX. Don't include . - (MAXFLOAT): Likewise. - - * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT. - - * include/bits/xopen_lim.h: Don't define FOPEN_MAX here. - - * conform/data/limits.h-data: Mark constants as optional wherever - appropriate. - - * posix/bits/posix2_lim.h: Set correct values for - _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove - EQUIV_CLASS_MAX. - - * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6. - Required by POSIX. - - * intl/loadmsgcat.c: Include for _LIBC. - - * conform/data/netinet/in.h-data: Add reserved prefixes. - - * conform/data/arpa/inet.h-data: Fix a few typos. - -2001-01-26 Andreas Jaeger - - * sysdeps/generic/strtol.c: Include - * stdlib/strtod.c: Likewise - * stdlib/strfmon.c: Likewise. - * string/strcoll.c: Likewise. - * string/strxfrm.c: Likewise. - * wctype/wcfuncs_l.c: Likewise. - * wctype/wctype_l.c: Likewise. - * wctype/wctrans_l.c: Likewise. - - * include/bits/locale.h: New file. - -2001-01-26 Ulrich Drepper - - * locale/langinfo.h: Correct logic in #ifs when defining YESSTR - and NOSTR. - - * locale/Makefile (headers): Add bits/locale.h. - * locale/langinfo.h: Don't include . Include - and use __LC_ constants instead of LC_. - * locale/locale.h: Include and define LC_ constants - using __LC_ constants. - * locale/bits/locale.h: New file. - * locale/loadlocale.c: Include . - * locale/nl_langinfo.h: Likewise. - - * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case. - - * io/sys/stat.h: Define S_IFSOCK for XPG6. - - * conform/data/fcntl.h-data: posix_madvise is not expected here. - - * conform/conformtest.pl: Fix handling of macro-str. - - * conform/data/inttypes.h-data: Add missing definition and all of - stdint.h-data. - - * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20. - -2001-01-25 Ulrich Drepper - - * conform/conformtest.pl (@headers): Add stdint.h. - * conform/data/stdint.h-data: New file. - - * conform/conformtest.pl: Recognize options --headers and - --dialect. Add dialect-specific CFLAGS. - - * conform/conformtest.pl: Implement handling of recursive - allow-header. - - * conform/data/locale.h-data: Add new struct lconv members. - - * posix/wordexp.h: Correct definition of wordexp_t. - * posix/wordexp.c: Moved to ... - * sysdeps/generic/wordexp.c: ...here. New file. - * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file. - * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file. - * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add - wordexp. - * sysdeps/unix/sysv/linux/ia64/Versions: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise. - - * math/tgmath.h: Pretty printing. - - * math/Makefile (tests): Add test-tgmath. - (CFLAGS-test-tgmath.c): New variable. - * math/test-tgmath.c: New file. Contributed by Jakub Jelinek. - - * conform/conformtest.pl: Handle allow-header in secondary headers - correctly. - - * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with - #ifdef. - - * conform/data/netinet/in.h-data: Use correct comment character. - * conform/data/sys/stat.h-data: Likewise. - -2001-01-25 Jakub Jelinek - - * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY, - __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY, - __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to - __builtin_classify_type, add ##f suffixes where appropriate. - (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis. - (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to - __builtin_classify_type. - (fma): Fix spelling of first argument. - -2001-01-25 Ulrich Drepper - - * conform/data/unistd.h-data: Mark functions removed in XPG6 - correctly. - - * posix/unistd.h: Don't make functions removed in XPG6 available if - __USE_XOPEN2K. - - * conform/conformtest.pl: Implement optional-constant. - * conform/data/unistd.h-data: Use optional-constant wherever - appropriate. - - * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS - constants and add _SC_STREAMS. - * sysdeps/posix/sysconf.c (__sysconf): Likewise. - - * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and - make old name weak alias. - * sysdeps/generic/statvfs64.c: Likewise. - * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and - make old name weak alias. - * sysdeps/generic/fstatvfs64.c: Likewise. - * include/sys/statvfs.h: New file. - - * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE, - _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and - _PC_REC_XFER_ALIGN. - * sysdeps/posix/pathconf.c (__pathconf): Implement handling of - _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE, - _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN. - * sysdeps/posix/fpathconf.c (__fpathconf): Likewise. - - * conform/conformtest.pl: Run Unix tests for XPG6. - Implement handling of known namespace violations. - Improve printing of results. - - * posix/unistd.h (usleep): Correct return type. - * sysdeps/unix/sysv/linux/usleep.c: Correct return type. - * sysdeps/unix/bsd/usleep.c: Correct return type. - * sysdeps/mach/usleep.c: Correct return type. - * sysdeps/generic/usleep.c: Correct return type. - - * posix/unistd.h (sync): Correct return type. - * sysdeps/generic/sync.c: Likewise. - * sysdeps/mach/hurd/sync.c: Likewise. - - * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition. - - * posix/unistd.h: Make seteuid and setegid available for XPG6. - - * wcsmbs/wchar.h: Get FILE definition for XPG5. - - * conform/data/ctype.h-data: Use correct comment form. - * conform/data/errno.h-data: Likewise. - * conform/data/math.h-data: Likewise. - * conform/data/mqueue.h-data: Likewise. - * conform/data/netdb.h-data: Likewise. - * conform/data/pthread.h-data: Likewise. - -2001-01-24 Ulrich Drepper - - * conform/data/wordexp.h-data: Fix typo. - - * conform/conformtest.pl: Handle allow-header correctly. - - * conform/data/time.h-data: Use correct comment form. - - * conform/conformtest.pl (checknamespace): Ignore #undef lines. - - * configure.in: Comment out binutils version test. - - * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands - separators. - Reported by Lagardere Jean-Francois . - - * stdlib/tst-strtod.c (locale_test): New function. - (main): Call locale_test. - * stdlib/Makefile (tst-strtod-ENV): New variable. - -2001-01-24 Mark Kettenis - - * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost - declaration of value such that we actually return the value of the - environment variable. - -2001-01-24 Andreas Jaeger - - * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl - prototype. - * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise. - - * include/sys/sysctl.h: New file. - -2001-01-23 Andreas Jaeger - - * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to - isomac. - - * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function - arguments. Reported by Jiri Kubicek , - closes PR libc/2039. - - * manual/install.texi (Tools for Compilation): Change required - binutils version. - -2001-01-22 Andreas Jaeger - - * configure.in: Add test for new enough binutils version, move - compiler/binutils test up. - - * Versions.def: Add version GLIBC_2.2.2. - -2001-01-21 Ulrich Drepper - - * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now - available. - * iconvdata/testdata/IBM932: New file. - * iconvdata/testdata/IBM932..UTF8: New file. - * iconvdata/testdata/IBM943: New file. - * iconvdata/testdata/IBM943..UTF8: New file. - Contributed by Masahide Washizawa . - -2001-01-21 Franz Sirl - - * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset. - -2001-01-21 Ulrich Drepper - - * malloc/malloc.c: Remove a few unnecessary initializers of global - variables. - -2000-12-09 H.J. Lu - - * nss/Makefile (routines): Add digits_dots. - * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2. - * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template - into a function. - * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS - function. - * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition. - (TYPE_VAR_P): Likewise. - (FLAGS_VAR): Likewise. - (AF_VAR_P): Likewise. - (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots () - instead of including digits_dots.c. - * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition. - (TYPE_VAR_P): Likewise. - (FLAGS_VAR): Likewise. - (AF_VAR_P): Likewise. - (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots () - instead of including digits_dots.c. - -2001-01-21 Ulrich Drepper - - * sysdeps/posix/getaddrinfo.c: Reduce .data size. - -2001-01-21 Andreas Jaeger - - * elf/constload2.c: Add prototype for init. - -2001-01-21 Ulrich Drepper - - * stdlib/stdlib.h (drand48_data): Make available only for - __USE_MISC. Rename elements to protect namespace. Change type - and position of a and init element. - * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit - differently. Adjust for drand48_data change. Don't compute a here, - it comes from drand48_data. - * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit - differently. Adjust for drand48_data change. Compute a here. - * stdlib/srand48_r.c: Likewise. - * stdlib/drand48.c: Adjust for drand48_data change. - * stdlib/lrand48.c: Likewise. - * stdlib/mrand48.c: Likewise. - * stdlib/seek48.c: Likewise. - * stdlib/drand48_r.c: Likewise. - * stdlib/lrand48_r.c: Likewise. - * stdlib/mrand48_r.c: Likewise. - * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit - differently. - * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently. - * stdlib/jrand48_r.c: Likewise. - - * po/sv.po: Update from translation team. - -2001-01-21 Andreas Jaeger - - * stdio-common/vfprintf.c (vfprintf): Add casts. - -2001-01-20 Ulrich Drepper - - * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only - the ASCII test. - * iconvdata/TESTS: Add entries for IBM932 and IBM943. - - * iconvdata/Makefile (modules): Add IBM932 and IBM943. - * iconvdata/gconv-modules: Add entries for IBM932 and IBM943. - * iconvdata/ibm932.c: New file. - * iconvdata/ibm932.h: New file. - * iconvdata/ibm943.c: New file. - * iconvdata/ibm943.h: New file. - Patches by Masahide Washizawa . - - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo - preventing optimization from being done. Set the correct type bit - in seen. Don't define and use _dl_base_addr unless - NEED_DL_BASE_ADDR is defined. - - * io/ftw.c (ftw_dir): Add slash after directory name if there - wasn't any. Reported by loris . - * io/Makefile (tests): Add bug-ftw2. - * io/bug-ftw2.c: New file. - -2001-01-19 Ulrich Drepper - - * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of - results. Reported by Jeff Higham . - * stdlib/tst-rand48.c: New file. - * stdlib/Makefile (tests): Add tst-rand48. - - * locale/newlocale.c (__newlocale): Fix test for setting all - categories. - -2001-01-19 Mark Kettenis - - * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes, - but change looking up the initial directory port in a similar way - as done by _hurd_change_directory_port_from_name. - * hurd/fchroot.c (fchroot): Likewise. - -2001-01-18 Ulrich Drepper - - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is - defined don't look whether the AT_*ID values were set. - If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set. - (_dl_show_auxv): Rewrite to avoid switch statement. - * sysdeps/unix/sysv/linux/kernel-features.h: Define - __ASSUME_AT_PAGESIZE for kernel >= 2.4.1. - * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID. - Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined. - - * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect. - * sysdeps/unix/sysv/linux/lxstat64.c: Likewise. - * sysdeps/unix/sysv/linux/xstat64.c: Likewise. - - * elf/rtld.c (process_envvars): Call __strtoul_internal instead of - strtoul. - * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed. - (__sigjmp_save): Set __mask_was_saved to zero since we don't save - anything. - * dlfcn/eval.c (__strtol_internal): Define here. - (eval): Use __strtol_internal instead of strtol. - - * elf/elf.h: Add a few more EF_MIPS_* constants. - -2001-01-17 Ulrich Drepper - - * manual/Makefile (chapters): Add debug. - * manual/debug.texi: New file. - * manual/examples/execinfo.c: New file. - Patch by suckfish@ihug.co.nz. - -2001-01-17 Andreas Schwab - - * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid - invalid asm. - -2001-01-17 Andreas Jaeger - - * nscd/connections.c (nscd_run): Use proper format specifier. - -2001-01-16 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and - x86_platforms data into new file after prepending _dl_. Change - users. - * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file. - * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c. - * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build - dl-procinfo.c. - - * setjmp/setjmp.h: Cleanup definition of setjmp macro. - - * sysdeps/i386/elf/bsd-setjmp.S: Real implementation. - * sysdeps/i386/elf/bsd-_setjmp.S: Removed. - * sysdeps/i386/elf/setjmp.S (setjmp): Removed here. - (_setjmp): Likewise. - * sysdeps/i386/bsd-_setjmp.S: Real implementation. - * sysdeps/i386/bsd-setjmp.S: Real implementation. - * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition. - * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF - version. - -2001-01-16 Andreas Jaeger - - * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix - misapplied last patch. - -2001-01-15 Ulrich Drepper - - * stdlib/random.c (__initstate): Clean up a cast. - (__setstate): Likewise. - - * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select - syscall handling. The generic Linux version should work. - -2001-01-15 Andreas Jaeger - - * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo. - - * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier. - -2001-01-14 Jakub Jelinek - - * nss/getent.c (print_aliases, aliases_keys, ethers_keys, - netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys): - New functions. - (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys): - If number is 0, list all. - (services_keys): Likewise. Lookup aliases as well. - (databases): New table. - (build_doc): Prepare argp doc text with list of supported databases. - (main): Change to table driven processing. - -2001-01-14 Thorsten Kukuk - - * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these - functions. - -2001-01-03 Jakub Jelinek - - * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to - encode value which does not fit in the 32bit type. - -2001-01-15 Hiroyuki Machida - - * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP): - Change type of CTX to (struct sigcontext *). - * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise. - (GET_FRAME): Likewise. - (GET_STACK): Likewise. - (SIGCONTEXT): Likewise. Add 2nd arg _code. - (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code. - -2001-01-13 Ulrich Drepper - - * manual/texinfo.tex: Update from upstream version. - -2001-01-13 Jakub Jelinek - - * inet/ether_ntoh.c (lookup_function): Change arguments to match - _nss_*_getntohost_r prototype. - (ether_ntohost): Pass errno pointer to NSS function. - -2001-01-12 Franz Sirl - - * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value. - (MAP_LOCKED): New definition. - (MAP_NORESERVE): New definition. - -2001-01-12 Ulrich Drepper - - * assert/assert.h: Use static_cast instead of C-style cast for C++. - Patch by Enrico Scholz . - -2001-01-12 Ben Collins - - * sysdeps/generic/segfault.c (install_handler): Use access, not - __access. - -2001-01-12 Andreas Jaeger - - * posix/fnmatch_loop.c (FCT): Remove signed warnings. - * posix/wordexp.c (do_parse_glob): Likewise. - * sysdeps/posix/sigblock.c (__sigblock): Likewise. - * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise. - * elf/dl-open.c (_dl_open): Likewise. - * elf/dl-close.c (_dl_close): Likewise. - * elf/dl-load.c (_dl_map_object): Likewise. - * iconv/iconv_prog.c (process_fd): Likewise. - * stdio-common/vfscanf.c (_IO_vfscanf): Likewise. - - * locale/localeinfo.h (struct locale_data): Use __flexarr instead - of a zero-length array. - -2001-01-11 Jakub Jelinek - - * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func. - * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument. - * stdlib/cxa_on_exit.c: Remove. - * stdlib/Makefile: Revert last patch. - * stdlib/Versions: Likewise. - * include/stdlib.h: Likewise. - * stdlib/exit.h: Revert last patch. - (struct exit_function): Add second argument to cxa fn. - * stdlib/exit.c: Revert last patch. - (exit): Add hidden second argument. - -2001-01-11 H.J. Lu - - * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ... - * elf/dl-open.c (_dl_open): Here. - * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock): - Make it static. - (_dl_static_init): Initialize the variables every time when possible. - * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT): - Undefine it first. - -2001-01-11 Ulrich Drepper - - * stdlib/Makefile (routines): Add cxa_on_exit. - * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit. - * stdlib/cxa_on_exit.c: New file. - * include/stdlib.h: Add prototype for __cxa_on_exit. - * stdlib/exit.c: Handle ef_cxa2. - * stdlib/exit.h (enum): Add ef_cxa2. - (struct exit_function): Add cxa2. - - * Versions.def [ld]: Add GLIBC_2.2.1. - -2001-01-10 H.J. Lu - - * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries. - * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add - dl-static. - * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init. - * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined. - * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file. - * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file. - * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c. - -2001-01-11 Ulrich Drepper - - * libio/stdio.h: Remove definition of off_t. - -2001-01-11 Andreas Jaeger - - * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn - . - -2001-01-10 Ulrich Drepper - - * sunrpc/Makefile (distribute): Add errqueue.h. - -2001-01-10 H.J. Lu - - * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve - r9, r10 and r11 for language specific registers. - -2001-01-10 Jakub Jelinek - - * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the - UDP socket. - (clntudp_call): Handle MSG_ERRQUEUE. - * sysdeps/generic/errqueue.h: New file. - * sysdeps/unix/sysv/linux/errqueue.h: New file. - -2001-01-10 H.J. Lu - - * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed. - -2001-01-10 Joseph S. Myers - - * CONFORMANCE: Update. - -2001-01-09 Ulrich Drepper - - * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols): - Minimal cleanups. Add assert to ensure memory handling is correct. - - * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value. - Reported by Ben Collins . - - * time/strftime.c (my_strftime): Mark previous GNU extensions - which are now in C99 as such. - -2001-01-08 Ulrich Drepper - - * elf/rtld.c (process_envvars): Place output files for profiling - in SUID binaries in /var/profile. - - * elf/dl-load.c (_dl_map_object): Don't look in cache for - preloading in SUID binaries. - - * elf/dl-profile.c (_dl_start_profile): Open the output file with - O_NOFOLLOW if possible. - - * include/stdlib.h: Add __posix_openpt declaration. - * stdlib/stdlib.h: Add posix_openpt declaration. - * login/Versions: Add posix_openpt for GLIBC_2.2.1. - * sysdeps/generic/getpt.c: Define posix_openpt. - * sysdeps/unix/bsd/getpt.c: Likewise. - * sysdeps/unix/sysv/linux/getpt.c: Likewise. - - * time/Makefile (tests): Add tst-mktime. - * time/tst-mktime.c: New file. - - * posix/tst-dir.c (main): One more mkdir() test. - - * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize): - Remove getpagesize syscall. We assume that the pagesize is always - determined from the auxiliary vector. - - * intl/dcigettext.c: Fix a few warnings. - Patch by Bruno Haible . - -2001-01-08 Andreas Jaeger - - * io/test-lfs.c (do_test): Check lseek64 return for EINVAL. - Reported by Joseph S. Myers . - -2001-01-08 Ulrich Drepper - - * sysdeps/generic/segfault.c (install_handler): Check output file - name with access(). - - * resolv/res_query.c: Use simply getenv() for HOSTALIASES. - * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES. - - * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma. - - * malloc/memusage.c (me): Use access() to determine whether we - should write the output file or not. - - * libio/bits/stdio.h (printf): Define macro to map printf call to - fprintf which gcc can optimize. - * stdio-common/printf.c: Undefine printf. - -2001-01-07 Ulrich Drepper - - * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last - patch. We must use unsigned int for l member of union. - - * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call - _dl_aux_init for shared libraries. - - * sysdeps/unix/sysv/linux/glob64.c: Moved to ... - * sysdeps/gnu/glob64.c: ...here. New file. - -2001-01-07 Ben Collins - - * manual/examples/longopt.c: Make the "struct option" a little - more like it should be, adding usage of required_argument, - noargument and such, and also setting the options string right. - - * manual/sysinfo.texi (Load Average): New section, documents - getloadavg(). - -2001-01-06 Ulrich Drepper - - * version.h (VERSION): Bump to 2.2.1. - - * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h. - * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S. - * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S. - * dlfcn/Makefile (distribute): Add errmsg1mod.c. - * Makefile (distribute): Add include/libc-internal.h. - * libio/Makefile (distribute): Avoid overwriting. - - * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in - buffer and table handling. - -2001-01-05 H.J. Lu - - * elf/dl-support.c (non_dynamic_init): Move the auxiliary - vector checking to ... - (_dl_aux_init): Here. New function. Defined only if - HAVE_AUX_VECTOR is defined. - - * sysdeps/generic/libc-start.c (__libc_start_main): Call - _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined. - - * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call - _dl_aux_init. - - * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed. - (HAVE_AUX_VECTOR): Defined. - (_dl_aux_init): Declared. - -2001-01-05 Ben Collins - - * manual/string.texi (Finding Tokens in a String): Document XPG - basename() and dirname(), as well as GNU basename(). - -2001-01-05 Jakub Jelinek - - * Makeconfig (preprocess-version): Replace -traditional with - -x assembler-with-cpp. - -2001-01-05 Joseph S. Myers - - * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj - for GCC 2.97 or later. - -2001-01-05 Ben Collins - - * manual/stdio.texi (getline): Clarify the return value in the - case of EOF being reached before a newline. - -2001-01-04 Jakub Jelinek - - * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful, - FALSE otherwise. - (pmap_set, pmap_unset): Check __get_myaddress return value. - -2001-01-05 Mark Kettenis - - * sysdeps/generic/netinet/if_ether.h: Include . - (struct ether_addr): Declare ether_addr_octet member as - `u_int8_t'. Add __attribute__ ((__packed__)). - -2001-01-06 Mark Kettenis - - * sysdeps/mach/hurd/readdir64.c: New file. - * sysdeps/mach/hurd/readdir64_r.c: New file. - -2001-01-07 Mark Kettenis - - * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about - `struct statfs' and `struct statvfs' being identical. - * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise. - -2001-01-06 Mark Kettenis - - * sysdeps/mach/hurd/fstatfs64.c: New file. - * sysdeps/mach/hurd/fstatvfs64.c: New file. - * sysdeps/mach/hurd/statfs64.c: New file. - * sysdeps/mach/hurd/statvfs64.c: New file. - * sysdeps/mach/hurd/statfsconv.c: New file. - * sysdeps/mach/hurd/Dist: Add statfsconv.c. - -2001-01-06 Ulrich Drepper - - * iconv/skeleton.c: Reset outbuf for next round of the loop. - Reported by Owen Taylor . - * iconv/Makefile (tests): Add tst-iconv3. - * iconv/tst-iconv3.c: New file. - - * iconvdata/ibm930.c: Fix handling of state. Optimize a bit. - * iconvdata/ibm933.c: Likewise. - * iconvdata/ibm935.c: Likewise. - * iconvdata/ibm937.c: Likewise. - * iconvdata/ibm939.c: Likewise. - * iconvdata/ibm930.h: Adjust single byte table for optimization. - * iconvdata/ibm933.h: Likewise. - * iconvdata/ibm935.h: Likewise. - * iconvdata/ibm939.h: Likewise. - - * iconvdata/testdata/IBM930: Add misssing SI. - * iconvdata/testdata/IBM933: Likewise. - * iconvdata/testdata/IBM935: Likewise. - * iconvdata/testdata/IBM937: Likewise. - * iconvdata/testdata/IBM939: Likewise. - -2001-01-06 Andreas Jaeger - - * configure.in: Check for old add-ons that shouldn't be used with - current glibc anymore. - -2001-01-06 Mark Kettenis - - * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number - instead of -1 on failure. Don't forget to copy file name into - *ENTRY if successful. Set *RESULT to NULL upon reaching the end - of the directory. - -2001-01-06 Mark Kettenis - - * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to - copy st_atime member. - -2001-01-05 Ulrich Drepper - - * io/ftw.c (ftw_dir): Don't add a second slash at the beginning - for searches from the root directory. - Reported by loris [PR libc/1991]. - * io/Makefile (tests): Add bug-ftw1. - * io/bug-ftw1.c: New file. - - * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV - if it is not available. Instead use it only if it is available. - * sysdeps/unix/sysv/linux/ldsodefs.h: New file. - - * iconv/gconv_simple.c (internal_ics4_loop): Correct test for - overflowing output buffer. - (internal_ucs4_loop_unaligned): Likewise. - (ucs4_internal_loop): Likewise. - (ucs4_internal_loop_unaligned): Likewise. - (internal_ucs4le_loop): Likewise. - (internal_ucs4le_loop_unaligned): Likewise. - (ucs4le_internal_loop): Likewise. - (ucs4le_internal_loop_unaligned): Likewise. - Reported by Owen Taylor . - * iconv/Makefile (tests): Add tst-iconv2. - * iconv/tst-iconv2.c: New file. - -2001-01-04 H.J. Lu - - * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined. - (_dl_clktck): Declared. - (non_dynamic_init): Take 3 arguments. - Set _dl_pagesize, _dl_platform and _dl_clktck from AUX. - -2001-01-01 Bruno Haible - - Finish implementation of plural form handling. - * intl/dcigettext.c (known_translation_t): Rename 'domain' field to - 'domainname'. Remove 'plindex' field. Add 'domain' and - 'translation_length' fields. - (transcmp): Don't compare 'plindex' fields. - (plural_lookup): New function. - (DCIGETTEXT): Change cache handing in the plural case. Don't call - plural_eval before the translation and its catalog file have been - found. Remove plindex from cache key. Add 'translation_length' and - 'domain' to cache result. - (_nl_find_msg): Remove index argument, return length of translation - to the caller instead. Weaken comparison of string lengths, to account - for plural entries. Call iconv() on the entire result string, not - only on the portion needed so far. - * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp - argument. - * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change. - -2001-01-04 Ulrich Drepper - - * intl/plural.y (yylex): Minimal improvement in number scanner. - -2000-07-31 Bruno Haible - - * intl/plural.y: Include config.h. Needed to define 'inline' away for - C compilers that don't support it. - (yylex): Don't use gcc specific case range syntax. - * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old - compilers. - -2000-10-12 Bruno Haible - - * intl/finddomain.c: Remove unneeded includes. - -2000-10-12 Bruno Haible - - * intl/localealias.c (memcpy): Return first argument, just like the - real memcpy function does. - * intl/bindtextdom.c (memcpy): Likewise. - * intl/finddomain.c (memcpy): Likewise. - * intl/l10nflist.c (memcpy): Likewise. - * intl/textdomain.c (memcpy): Likewise. - From Paul Eggert . - -2001-01-03 Jakub Jelinek - - * resolv/resolv.h (struct __res_state): Add nsinit field. - * resolv/res_send.c (res_nsend): Use it instead of nscount. - * resolv/res_init.c (__res_vinit): Initialize it. - (res_nclose): Clear it instead of nscount. - -2001-01-04 Ulrich Drepper - - * malloc/mtrace.pl: Fix matching of addresses. - Patch by Aharon Robbins . - - * Versions.def (ld): Add GLIBC_2.2. - - * catgets/gencat.c: Copyright 2001. - * csu/version.c: Likewise. - * debug/catchsegv.sh: Likewise. - * debug/xtrace.sh: Likewise. - * elf/ldconfig.c: Likewise. * elf/sprof.c: Likewise. - * iconv/iconv_prog.c: Likewise. - * locale/locale.c: Likewise. - * locale/localedef.c: Likewise. - * malloc/memusage.sh: Likewise. - * malloc/mtrace.pl: Likewise. - * nscd/nscd.c: Likewise. - * posix/getconf.c: Likewise. - -2001-01-04 Mark Kettenis - - * include/stdio.h: Only provide __getwc_unlocked prototype if - USE_IN_LIBIO is defined. - -2001-01-04 Kaz Kojima - - * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code - handling. - -2001-01-03 Andreas Schwab - - * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias. - * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias. - - * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias. - * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix - strtoull alias. - * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias. - * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix - wcstoull alias. - - * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this - directory. - * sysdeps/generic/strtol_l.c: Likewise. - * sysdeps/generic/strtoul_l.c: Likewise. - * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c. - - * sysdeps/wordsize-64/strtol_l.c: Fix alias. - * sysdeps/wordsize-64/strtoul_l.c: Likewise. - * sysdeps/wordsize-64/wcstol_l.c: Fix alias. - * sysdeps/wordsize-64/wcstoul_l.c: Likewise. - -2001-01-04 Andreas Jaeger - - * nss/nsswitch.c: Include files for missing prototypes, remove - buggy declaration of prototypes. - -2001-01-03 Franz Sirl - - * resolv/Versions: Fix bracing. - * sysdeps/powerpc/soft-fp/Versions: Likewise. - * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise. - -2001-01-02 Franz Sirl - - * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo. - -2001-01-02 Ulrich Drepper - - * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf. - Suggested by Minko Markov . - -2001-01-02 Franz Sirl - - * sysdeps/powerpc/elf/start.S (__data_start): Make it global. - * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of - the failing symbol. - (__process_machine_rela): Pass symbol to dl_reloc_overflow(). - -2001-01-02 Ben Collins - - * time/tzset.c (tzset_internal): Make sure we fall back to UTC - if TZ is not set and TZDEFAULT is not present. - -2001-01-01 Ben Collins - - * string/strings.h: Make sure we declare our functions even if - string.h is already included, based on whether or not __USE_BSD is - defined. - -2001-01-02 Ulrich Drepper - - * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any - other dlopen() and dlsym(). - Based on a patch by Ben Collins . - -2001-01-02 Andreas Jaeger - - * dlfcn/errmsg1.c (main): Call dlerror initially. - Reported by Ben Collins . - -2001-01-02 Ulrich Drepper - - * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE - value is ignored if the selected locale is the C locale. - * intl/tst-gettext.c: Set locale for above change. - * intl/tst-translit.c: Likewise. - -2001-01-02 Andreas Jaeger - - * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro. - (_IO_switch_to_wget_mode): Likewise. - (_IO_sputbackwc): Likewise. - (_IO_sungetwc): Use wint_t for result. - - * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done. - - * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct - signedness. - - * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked - to (int) to avoid warnings. - * stdio-common/printf_fp.c (putc): Likewise. - * stdio-common/printf_size.c (putc): Likewise. - - * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make - constant unsigned. - -2001-01-01 Andreas Jaeger - - * inet/rcmd.c (rcmd_af): Use socklen_t for len. - -2000-12-31 Andreas Jaeger - - * include/libc-internal.h: Add prototype for __libc_freeres. - - * sysdeps/unix/sysv/linux/init-first.c: Include - for prototypes, remove redundant prototypes. - * gmon/gmon.c: Likewise. - * sysdeps/unix/i386/i586/clock_getres.c: Likewise. - * sysdeps/unix/i386/i586/clock_gettime.c: Likewise. - * malloc/mtrace.c: Likewise. - - * sysdeps/generic/enbl-secure.c: Include for - prototypes. - * elf/soinit.c: Likewise. - * sysdeps/generic/prof-freq.c: Likewise. - * sysdeps/mach/hurd/profil.c: Likewise. - * debug/noophooks.c: Likewise. - * debug/pcprofile.c: Likewise. - * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise. - * sysdeps/generic/get_clockfreq.c: Likewise. - * malloc/set-freeres.c: Likewise. - - * locale/localeinfo.h: Add internal prototypes. - - * elf/rtld.c (dl_main): Fix prototype. - - * iconvdata/tst-table-to.c (main): Use return instead of exit to - avoid warning. - - * nis/rpcsvc/yp_prot.h: Remove __P. - * nis/rpcsvc/ypupd.h: Likewise. - * nis/rpcsvc/yp.h: Likewise. - - * sunrpc/rpc_main.c: Add noreturn attributes. - * sunrpc/rpc_scan.h: Likewise. - - * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static. - - * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst. - - * sunrpc/proto.h: Add noreturn attributes to error and crash. - - * posix/bsd-getpgrp.c: Add prototype to avoid warning. - - * sunrpc/svc_unix.c: Include for prototypes. - - * sunrpc/create_xid.c: Include for prototypes. - - * include/rpc/rpc_msg.h: Add prototypes for some functions. - * include/rpc/auth.h: Likewise. - * include/rpc/auth_des.h: Likewise. - * include/rpc/clnt.h: Likewise. - * include/rpc/rpc.h: Likewise. - * include/rpc/svc.h: Likewise. - * include/rpc/svc_auth.h: Likewise. - - * include/rpc/des_crypt.h: New file. - - * malloc/memusagestat.c (main): Use return instead of exit to - avoid warning. - * io/pwd.c (main): Likewise. - * iconvdata/tst-table-from.c (main): Likewise. - * ctype/test_ctype.c (main): Likewise. - * setjmp/tst-setjmp.c (main): Likewise. - * signal/tst-signal.c (main): Likewise. - * stdlib/tst-strtol.c (main): Likewise. - * stdlib/tst-strtod.c (main): Likewise. - * stdlib/tst-strtoll.c (main): Likewise. - * stdlib/tst-xpg-basename.c (main): Likewise. - * dirent/tst-seekdir.c (main): Likewise. - * grp/testgrp.c (main): Likewise. - * inet/test_ifindex.c (main): Likewise. - * io/test-utime.c (main): Likewise. - * posix/test-vfork.c (main): Likewise. - * posix/testfnm.c (main): Likewise. - * stdio-common/temptest.c (main): Likewise. - * stdio-common/test_rdwr.c (main): Likewise. - * stdio-common/tst-fileno.c (main): Likewise. - * stdio-common/tst-sscanf.c (main): Likewise. - * stdio-common/tstscanf.c (main): Likewise. - * string/bug-strncat1.c (main): Likewise. - * string/bug-strpbrk1.c (main): Likewise. - * string/bug-strspn1.c (main): Likewise. - * string/test-ffs.c (main): Likewise. - * string/tst-inlcall.c (main): Likewise. - * string/tst-svc.c (main): Likewise. - * timezone/test-tz.c (main): Likewise. - * wctype/test_wcfuncs.c (main): Likewise. - * wctype/test_wctype.c (main): Likewise. - - * stdlib/tst-random.c: Add attribute noreturn to fail. - -2000-12-28 Wolfram Gloger - - * malloc/malloc.c (MALLOC_COPY): Handle case if source and - destination overlap. Assume dest is always below source if - overlapping. - -2000-12-30 Ulrich Drepper - - * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the - object was not yet initialized. - -2000-12-28 H.J. Lu - - * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state - is always consistent even if its dependency is failed. - - * elf/dl-open.c (_dl_open): Increment the open count before - calling _dl_close () in case of failure. - - * elf/neededtest4.c: New file. - * elf/neededobj5.c: New file. - * elf/neededobj6.c: New file. - - * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c. - (tests): Add neededtest4. - (modules-names): Add neededobj5 and neededobj6. - ($(objpfx)neededobj6.so): New target. - ($(objpfx)neededtest4): New target. - ($(objpfx)neededtest4.out): New target. - -2000-12-28 Joseph S. Myers - - * misc/sys/cdefs.h (__attribute_format_strfmon__): Define. - * stdlib/monetary.h: Add strfmon format attributes. - -2000-12-28 Roland McGrath - - * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after - __mempcpy does it for us. - -2000-12-28 Andreas Jaeger - - * sysdeps/generic/dl-environ.c: Add prototype for unsetenv. - - * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for - __new_setrlimit. - - * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for - __old_getrlimit64. - - * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for - __new_getrlimit. - - * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for - __chown_is_lchown and __real_chown. - - * sysdeps/generic/ldsodefs.h: Add noreturn attribute to - _dl_reloc_bad_type. - - * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut - up GCC's warning about "deprecated use of label at end of compound - statement." - * sunrpc/rpc_cout.c (emit_inline): Likewise. - - * gmon/bb_exit_func.c: Include for internal - prototypes. - Remove struct bb and __bb_head since those are declared by - sys/gmon.h. - -2000-12-22 Ben Collins - - * manual/charset.texi: Fix typo in description of WCHAR_MAX. - - * manual/argp.texi: Document argp_domain as part of struct argp. - -2000-12-28 Andreas Jaeger - - * catgets/Makefile (generated): Add sample.SJIS.cat. - - * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes. - - * elf/dl-minimal.c: Add prototypes. - - * include/locale.h: Add internal prototypes. - * include/sys/gmon.h: Likewise. - - * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC. - -2000-12-27 Ben Collins - - * elf/dl-open.c (_dl_open): Correctly set the new objname pointer - when reallocating the error strings. - Reported by Kalle Olavi Niemitalo - -2000-12-27 Ulrich Drepper - - * dlfcn/Makefile (tests): Add errmsg1. - (modules-names): Add errmsg1mod. - Add rules to run errmsg1. - * dlfcn/errmsg1.c: New file. - * dlfcn/errmsg1mod.c: New file. - - * dlfcn/dlerror.c (dlerror): Always create output string which - includes object file name. - - * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop - if we would go through it only once. - Patch by Rick Gorton . - - * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter. - Patch by Richard Henderson . - -2000-12-27 Jakub Jelinek - - * malloc/malloc.c (memmove): Add prototypes. - (MALLOC_MEMMOVE): Define. - (chunk_realloc): Use it instead of MALLOC_COPY if source and - destination might overlap. - -2000-12-27 Andreas Jaeger - - * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested - function. - * elf/dl-load.c (_dl_map_object_from_fd): Likewise. - * locale/programs/locale.c (show_locale_vars): Likewise. - (show_info): Likewise. - * locale/programs/ld-collate.c (collate_output): Likewise. - * locale/programs/ld-ctype.c (set_class_defaults): Likewise. + * sysdeps/generic/dl-cache.c: Likewise. + * sysdeps/generic/dl-origin.c: Likewise. + * sysdeps/generic/dl-sysdep.c: Likewise. + * sysdeps/generic/elf/backtracesyms.c: Likewise. + * sysdeps/generic/elf/backtracesymsfd.c: Likewise. + * sysdeps/generic/libc-start.c: Likewise. + * sysdeps/mach/hurd/dl-sysdep.c: Likewise. + * sysdeps/powerpc/dl-machine.c: Likewise. + * sysdeps/powerpc/elf/libc-start.c: Likewise. + * sysdeps/sparc/sparc32/dl-machine.h: Likewise. + * sysdeps/sparc/sparc64/dl-machine.h: Likewise. + * sysdeps/unix/sysv/linux/dl-origin.c: Likewise. + + * elf/ldsodefs.h: Move file to ... + * sysdeps/generic/ldsodefs.h: ... here. + + * sysdeps/generic/ldsodefs.h: Add definition for D_PTR. + + * sysdeps/mips/elf/ldsodefs.h: New file. + + * elf/dl-version.c (match_symbol): Use D_PTR to access relocated + entries in l_info. + (_dl_check_map_versions): Likewise. + * elf/dl-reloc.c (_dl_relocate_object): Likewise. + * elf/dl-load.c (_dl_init_paths): Likewise. + (_dl_map_object): Likewise. + * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise. + (elf_get_dynamic_info): Likewise. + * elf/do-lookup.h (FCT): Likewise. + * elf/do-rel.h (elf_dynamic_do_rel): Likewise. * elf/dl-deps.c (_dl_map_object_deps): Likewise. - * stdlib/rpmatch.c (rpmatch): Likewise. + * elf/dl-addr.c (_dl_addr): Likewise. + * elf/dl-runtime.c (profile_fixup): Likewise. + (fixup): Likewise. + * elf/dl-init.c (_dl_init_next): Likewise. + * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise. + * sysdeps/unix/sysv/linux/i386/dl-librecon.h + (DISTINGUISH_LIB_VERSIONS): Likewise. + * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise. + (elf_machine_rel): Likewise. + + * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info + for writable dynamic section. + +2000-03-22 Ulrich Drepper + + * inet/getnameinfo.c (getnameinfo): Check that addrlen value is + large enough. Patch by YOSHIFUJI Hideaki . + +2000-03-22 Andreas Jaeger + + * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags + from latest Linux kernel. + +2000-03-21 Andreas Jaeger + + * Versions.def: Add version 2.1.4. + +2000-03-21 Ulrich Drepper + + * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition. + * libio/oldiofopen.c: Likewise. + * libio/oldiofclose.c: Likewise. + * sysdeps/unix/sysv/linux/errlist.c: Likewise. + +2000-03-22 Roland McGrath + + * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument, + indicating the first version set to obsolete the conditionalized code. + (compat_symbol): New macro. + * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's + rhs be the ABI_* macro for the subsuming version. Assign increasing + integer values to the ABI_* macros for supported versions. + * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use + compat_symbol macro. - * setjmp/tst-setjmp.c: Make local functions static. - * setjmp/jmpbug.c: Likewise. - * signal/tst-signal.c: Likewise. - * stdio-common/tfformat.c: Likewise. - * string/tst-svc.c: Likewise. - * time/clocktest.c: Likewise. - * time/tst-getdate.c: Likewise. - * dirent/list.c: Likewise. - * dirent/opendir-tst1.c: Likewise. - * posix/runtests.c: Likewise. - * posix/tst-getaddrinfo.c: Likewise. - * posix/tst-chmod.c: Likewise. - * posix/wordexp-test.c: Likewise. - * misc/tst-efgcvt.c: Likewise. - * timezone/tst-timezone.c: Likewise. - * rt/tst-clock.c: Likewise. - * rt/tst-shm.c: Likewise. - * rt/tst-aio2.c: Likewise. - * rt/tst-aio3.c: Likewise. - * rt/tst-aio4.c: Likewise. - * rt/tst-aio5.c: Likewise. +2000-03-21 Ulrich Drepper - * dlfcn/failtest.c: Add prototype for foo. + * nscd/connections.c (nscd_run): Pretty print. + * elf/dl-runtime.c: Include stdlib.h for alloca prototype. - * dlfcn/glrefmain.c: Add prototype for do_test. + * manual/charset.texi: Fix typos. Rephrase. + * manual/process.texi: Likewise. + * manual/signal.texi: Likewise. + Patches by Mike Coleman . - * dlfcn/tst-dladdr.c: Add prototype for do_test. + * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define + versions. + * libio/iofdopen.c: Likewise. + * libio/iofgetpos.c: Likewise. + * libio/iofgetpos64.c: Likewise. + * libio/iofopen.c: Likewise. + * libio/iofsetpos.c: Likewise. + * libio/iofsetpos64.c: Likewise. + * libio/iopopen.c: Likewise. + * libio/oldiofopen.c: Likewise. + * libio/pclose.c: Likewise. + * sysdeps/gnu/siglist.c: Likewise. + * sysdeps/unix/sysv/linux/errlist.c: Likewise. - * string/test-ffs.c (main): Add prototype for nested function. + * include/shlib-compat.h (versioned_symbol): Give preprocessor the + chance to expand VERSION_##lib##_##version. - * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype. + * libio/fileops.c: Use new macros from shlib-compat.h to define + versions. + * libio/iofclose.c: Likewise. + * libio/oldiofclose.c: Likewise. + Patch by Roland McGrath . - * nss/XXX-lookup.c: Add prototype to shut up GCC. +2000-03-21 Jakub Jelinek - * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix - setetherent prototype. - Add internal interfaces. + * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace. + Lay out struct sigcontext according to what really gets passed on + the stack. + * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h. + (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define. + (prgregset_t, prfpregset_t): Define to elf_* types. + * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA): + Define to correct value. + * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct + sigcontext. + * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise. + +2000-03-21 Roland McGrath + + * scripts/firstversions.awk: Allow multiple version sets in the + "earliest version" specification, meaning that version sets in the + gaps between listed versions should be folded into the earliest later + version that is explicitly listed. + * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say + we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets. + +2000-03-21 Ulrich Drepper + + * iconv/gconv_builtin.c: Include . + * iconv/gconv_builtin.h: Add UCS-BE aliases. + Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE + according to current platform. + * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal, + __gconv_transform_internal_ucs2reverse, and + __gconv_transform_internal_ucs4le. + * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le, + __gconv_transform_ucs2reverse_internal and + __gconv_transform_internal_ucs2reverse. + * iconvdata/Makefile (modules): Add UNICODE. + (distribute): Add unicode.c. + * iconvdata/gconv-modules: Add definitions for UNICODE module. + * iconvdata/unicode.c: New file. - * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise. - * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise. + * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to + determine byte order of input and convert accordingly. - * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC. + * iconvdata/utf-16.c (gconv_init): Fix typo. - * nis/nis_intern.h: Add prototype for __pmap_getnisport. +2000-03-20 Ulrich Drepper - * nss/nss_files/files-ethers.c: Include netinet/ether.h to get - prototypes, remove struct etherent since it's declared in ether.h. - Fix ntohost declaration. + * iconvdata/gconv-modules: Fix typo. - * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC. + * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one + more messages. + + * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3. + +2000-03-16 Thorsten Kukuk - * include/getopt.h: Add internal interfaces. - * include/termios.h: Likewise. - * include/resolv.h: Likewise. - * include/netdb.h: Likewise. - * include/grp.h: Likewise. - * include/pwd.h: Likewise. - * include/shadow.h: Likewise. - * include/rpc/netdb.h: Likewise. - * include/setjmp.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New. - * include/stdio.h: Add prototypes for compatibility functions. - * include/grp.h: Likewise. - * include/pwd.h: Likewise. - * include/shadow.h: Likewise. +2000-03-20 Ulrich Drepper + + * misc/Makefile (routines): Add mincore. - * include/fenv.h: Define internal interfaces. +2000-03-20 Andreas Jaeger -2000-12-27 Ulrich Drepper + * sysdeps/generic/mincore.c: New stub file. - * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant - argument case separately. - * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise. + * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags + from latest Linux kernel. -2000-12-27 Andreas Jaeger +2000-03-20 Ulrich Drepper - * include/sys/wait.h: Add some prototypes. - * Rules (dummy.c): Create also prototype to shut up GCC. + * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of + _SC_GETPW_R_SIZE_MAX. -2000-12-27 Andreas Jaeger +2000-03-20 Richard Henderson - * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment, - it's not needed at the moment. - * sysdeps/generic/if_index.c (__protocol_available): Likewise. - * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise. + * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase + in GLIBC_2.1.4. -2000-12-26 Andreas Jaeger +2000-03-20 Richard Henderson - * libio/getc_u.c: Include stdio.h via system path to get internal - prototypes. - * libio/getwc_u.c: Likewise. + * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead + of arithmetic instructions. - * stdlib/strfmon.c: Fix prototype of __printf_fp. + * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing + with the fpcr. Protect from INV exception. + * sysdeps/alpha/fpu/s_ceilf.c: Likewise. + * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception. + * sysdeps/alpha/fpu/s_floorf.c: Likewise. - * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and - __printf_fp prototypes to ... - * include/printf.h: ...here. + * sysdeps/alpha/fpu/s_copysign.c: New. + * sysdeps/alpha/fpu/s_copysignf.c: New. + * sysdeps/alpha/fpu/s_fabs.c: New. + * sysdeps/alpha/fpu/s_fabsf.c: New. + * sysdeps/alpha/fpu/s_rint.c: New. + * sysdeps/alpha/fpu/s_rintf.c: New. - * include/stdio.h: Add some internal prototypes to shut up GCC. - * include/stdlib.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants. - * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype - declaration. + * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): + Kill sethae. + * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase. + * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants): + Use physical addresses not KSEG addresses. + (io_system): Add PYXIS. + (io): Remove hae.reg, sys, hae_shift. + (stb_mb, stw_mb, stl_mb, __sethae): New. + (inline_outb, inline_outw, inline_outl): Don't set hae. + (inline_inb, inline_inw, inline_inl): Likewise. + (dense_sethae): New null function. + (struct cpuinfo_data): New. + (process_cpuinfo): Use local and stack variables, not static. + Move readlink check here from init_iosys. + (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS. + (_iopl): Simplify. + (_hae_shift): Calculate it here. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae, + add pciconfig_iobase. - * include/signal.h: Add prototypes for internal sigpause - interfaces. +2000-03-20 Roland McGrath -2000-12-26 Ulrich Drepper + * locale/programs/ld-time.c (time_finish): Use %Z instead of %z. + * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise. - * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for - 64bit platforms. Reported by Dave Gilbert . + * scripts/versions.awk: Fixed version renaming code to distinguish + libraries properly. - * string/Makefile (tests): Add tst-bswap. - * string/tst-bswap.c: New file. +2000-03-19 Ulrich Drepper -2000-12-11 Bruno Haible + * include/stdlib.h: Add prototype for __cxa_atexit. - * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale. + * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about + _SLOWDOWN flags. Patch by Jim Blandy . -2000-12-26 Ulrich Drepper +2000-03-17 Cristian Gafton - * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call. - Patch by Ed Connell . + * elf/Makefile ($(rtld-version-installed-name)): Delay replacing + existing rtld-installed-name. + ($(rtld-installed-name)): Request libc-$(version) be installed too. + replace existing rtld-installed-name using $(symbolic-link-prog). -2000-12-24 Ulrich Drepper +2000-03-17 Roland McGrath - * locale/iso-639.def: Correct one entry. Add two missing entries. + * locale/programs/ld-collate.c (collate_read): Remove bogus cast. + (insert_value, handle_ellipsis, collate_read): Replace %zu in format + strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter + but not the former. - * locale/iso-4217.def: Change entry for Eritrea. - Reported by Daniel Yacob . +2000-03-19 Ulrich Drepper -2000-12-23 Ben Collins + * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for + glob64. Since there is no glob64 in the LFS proposal applications + can assume that glob handles LFS situations. glob64 is only needed + if alternative filesystem functions are used. - * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937 - description. +2000-03-19 Geoff Clare - * manual/stdio.texi (Dynamic Output): Document the return value of - asprintf. Also make the asprintf/snprintf examples a little - better (check for some error returns). + * sysdeps/generic/glob.c: Correct gl_pathc value returned + when GLOB_DOOFFS is set; correct handling of patterns + containing escaped wildcards (and no unescaped ones); + GLOB_ERR flag was being ignored in some situations. -2000-12-22 Andreas Jaeger + * posix/globtest.c, posix/globtest.sh: Updated to include + tests for the problems fixed by the above changes to glob.c. - * include/stdio.h: Add __ftrylockfile prototype. + * manual/pattern.texi (Calling Glob): Update description of gl_pathc. -2000-12-21 H.J. Lu +2000-03-19 Roland McGrath - * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type): - Make sign_exponent element signed. + * Makeconfig (soversion.i): Use only first match for each lib. - * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type): - Fix a typo. + * Makeconfig (soversion.i): Pass -undef to $(CC) -E. - * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch. + * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done) + rather than $(sysd-dirs-done) to protect these rules. -2000-12-21 Andreas Jaeger + * Makerules (version-renames.def): Target removed. + (Versions.all): Depend on soversions.i directly and parse it. - * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed. - * inet/ether_hton.c: Likewise - * inet/ether_ntoh.c: Likewise. + * Makeconfig (soversions.i): New target, input-reading parts of + soversions.mk generation moved here; result is a canonicalized + list "LIB VERSION [SET]" for this configuration. + (soversions.mk): Use that as input. Don't emit map-firstversions. + * Makerules (version-renames.def): New target, generated from + soversions.i with contents that was in $(map-firstversions). + (Versions.all): Don't depend on soversions.mk, depend on + version-renames.def instead; just cat it into the input. - * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix - declaration to match prototype. + * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop + for $(map-firstversions), which better handles it being empty. - * include/netinet/ether.h (struct etherent): Declare here so that - all implementations use the same struct. + * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest + supported version for libc 0.2.90.libio to GLIBC_2.2. - * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get - prototypes. - (struct ether): Removed. - Use struct etherent instead of ether everywhere. + * Makeconfig (soversions.mk): Grok new third column in shlib-versions, + and use it to emit new variable `map-firstversions'. + * scripts/firstversions.awk: New file. + * Makerules (Versions.all): Use scripts/firstversions.awk and + the $(map-firstversions) value to generate a modified versions list + that includes renames in "A = B" syntax for each version set earlier + than the "earliest symbol version" named in shlib-versions. + * scripts/versions.awk: Recognize "A = B" lines in the input to mean + rename version set A to B in the output to the intermediate file. + * scripts/abi-versions.awk: New file. + * Makerules (abi-versions.h): New target, generated by that script. + [$(versioning) = yes] (before-compile): Prepend abi-versions.h. + * include/shlib-compat.h: New file, uses that generated header. - * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New. +2000-03-18 Roland McGrath - * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New. + * Makeconfig (soversions.mk): Convert % -> # in shlib-versions + after stripping # comments, and then run it through cpp. + This allows things like "%ifdef FOO" based on config.h settings. + * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio - * sunrpc/publickey.c: Include auth_des.h for prototypes. + * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED + and other errors that indicate a pseudo-receive happened, grok through + the message buffer for port rights that need references fixed up. -2000-12-20 Ulrich Drepper +2000-03-16 Andreas Jaeger - * math/test-misc.c: Add more tests for nextafter functions. + * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore. - * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to - normal correctly. Correct test for sign. - Based on a patch by HJ Lu. + * sysdeps/unix/sysv/linux/madvise.c: Remove. -2000-12-19 Ulrich Drepper + * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags + from latest Linux kernel. + * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise. - * Makeconfig (preprocess-version): Add -traditional to gcc call. - Cleanup sed calls. + * misc/sys/mman.h: Add prototype for mincore. -2000-12-19 Andreas Jaeger +2000-03-17 Ulrich Drepper - * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New. + * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit + entry for GLIBC_2.0 version of setrlimit. + Patch by Shinya Hanataka . - * nis/nis_intern.h: Add prototype for __do_niscall3. +2000-03-16 Thorsten Kukuk - * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to - match prototype. + * nis/nss_nis/nis-ethers.c: Return with error if malloc fails. + * nis/nss_compat/compat-initgroups.c: Likewise. + * nis/nss_nis/nis-initgroups.c: Likewise. + * nis/nss_nis/nis-netgrp.c: Likewise. + * nis/nss_nis/nis-proto.c: Likewise. + * nis/nss_nis/nis-rpc.c: Likewise. + * nis/nss_nis/nis-service.c: Likewise. + * nis/ypclnt.c: Likewise. - * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat. +2000-03-16 Andreas Jaeger - * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New. + * manual/Makefile: MAKEINFO is set to `:' from configure if it + doesn't exist, correct checks. Fixes PR libc/1649. - * include/aliases.h (DECLARE_NSS_PROTOTYPES): New. +2000-03-16 Thorsten Kukuk -2000-12-18 Ulrich Drepper + * nscd/hstcache.c: Restore correct UID. + * nscd/pwdcache.c: Likewise. + Patch from Gabor Gombas . - * math/test-misc.c: Add more tests for nextafter. - * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly. - * sysdeps/ieee754/ldbl-96/math_ldbl.h - (ieee_long_double_shape_type): Make sign_exponent element signed. +2000-03-17 Roland McGrath - * manual/message.texi: Add Estonian to plural overview list. - Correct rule for Slavic languages. - Patch by Stanislav Brabec . + * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and + macros for register names, in line with 2000-03-14 linux change. - * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations. + * sysdeps/mach/sched_yield.c: New file. -2000-12-18 Andreas Jaeger +2000-03-13 Roland McGrath - * test-skeleton.c: Use temp_name_list instead of name_list to - avoid collision with name_list from inet/netgroup.h. + * sysdeps/generic/lockfile.c: Include + (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in + case defined them. + (__flockfile, __funlockfile, __ftrylockfile): Functions renamed + from __internal_*. + (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile, + ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly. - * nss/nss_files/files-network.c (NEED_H_ERRNO): Define. + * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ... + for more pleasing parse error. - * include/grp.h (DECLARE_NSS_PROTOTYPES): New. - * include/pwd.h (DECLARE_NSS_PROTOTYPES): New. - * include/netdb.h (DECLARE_NSS_PROTOTYPES): New. - * include/shadow.h (DECLARE_NSS_PROTOTYPES): New. +2000-03-16 Ulrich Drepper - * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix - declaration to match prototype. - * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise. - * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise. - * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent): - Likewise. - * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise. - * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise. - * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise. - * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise. - (_nss_nis_getservbyport_r): Likewise. - * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise. - * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise. - * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise. - (_nss_nis_setnetent): Likewise - * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise. - (_nss_nis_endnetgrent): Likewise. - * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent): - Likewise. - (_nss_nisplus_setnetgrent): Likewise. - * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise. - * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise. - * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise. - * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent): - Likewise. - * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent): - Likewise. - * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent): - Likewise. - * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent): - Likewise. - * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise. - * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise. - * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise. - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise. - * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise. - (_nss_dns_getnetbyaddr_r): Likewise. - -2000-12-17 Andreas Jaeger - - * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions - parameter. - - * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add - unused attribute to shut up gcc warnings. - - * sysdeps/generic/k_sinl.c: Include math_private for prototypes. - * sysdeps/generic/k_tanl.c: Likewise. - * sysdeps/generic/k_cosl.c: Likewise. - * sysdeps/generic/e_j0l.c: Likewise. - * sysdeps/generic/e_j1l.c: Likewise. - * sysdeps/generic/e_jnl.c: Likewise. - * sysdeps/generic/e_lgammal_r.c: Likewise. - - * elf/vismain.c: Move prototypes for functions in vismod*.c to - vismod.h. - * elf/vismod.h: New file. - * elf/Makefile (distribute): Add vismod.h. - * elf/vismod1.c: Include vismod.h. - * elf/vismod2.c: Likewise. - * elf/vismod3.c: Likewise. - - * elf/constload3.c: Add prototype declarations to shut up gcc. - * elf/failobj.c: Likewise. - * elf/nodelmod3.c: Likewise. - * elf/filtmod1.c: Likewise. - * elf/filtmod2.c: Likewise. - * elf/reldepmod1.c: Likewise. - * elf/reldepmod2.c: Likewise. - * elf/reldepmod3.c: Likewise. - * elf/reldepmod4.c: Likewise. - * elf/unload2dep.c: Likewise. - * elf/unload2mod.c: Likewise. - * elf/ltglobmod1.c: Likewise. - * elf/pathoptobj.c: Likewise. - * elf/neededobj1.c: Likewise. - * elf/neededobj2.c: Likewise. - * elf/neededobj3.c: Likewise. - * elf/neededobj4.c: Likewise. - * elf/nextmod1.c: Likewise. - * elf/nextmod2.c: Likewise. - - * locale/programs/ld-collate.c (collate_finish): Don't use labels - at end of compound statement. - * locale/programs/locale.c (show_info): Likewise. - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise. - -2000-12-16 Jakub Jelinek - - * catgets/gencat.c (read_input_file): Avoid calling obstack_free - with a pointer not returned by obstack_ functions. - -2000-12-16 Ulrich Drepper - - * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX - version. - (struct stat64): Likewise. - Reported by Michael Keezer . - - * timezone/asia: Update from tzdata2000h. + * locale/lc-time.c (_nl_init_era_entries): Correct allocation of + memory for eras. + Patch by Shinya Hanataka . + + * elf/Makefile: Add rules to compile and run constload1 test. + * elf/constload1.c: New file. + * elf/constload2.c: New file. + * elf/constload3.c: New file. + +2000-03-15 Ulrich Drepper + + * sysdeps/posix/open64.c: Make __open64 weak alias. + * sysdeps/posix/pread64.c: Make __pread64 weak alias. + * sysdeps/unix/sysv/linux/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise. + * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias. + * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise. + +2000-03-14 Ulrich Drepper + + * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for + Nautilus. Patch by Soohoon Lee . + +2000-03-16 Mark Kettenis + + * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t): + Typedef for elf_fpregset_t instead of `elf_fpregset_t *'. + +2000-03-08 Andreas Jaeger + + * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50. + +2000-03-14 Ulrich Drepper + + * timezone/africa: Update from tzdata2000d. + * timezone/asia: Likewise. * timezone/australasia: Likewise. - * timezone/backward: Likewise. * timezone/europe: Likewise. * timezone/northamerica: Likewise. * timezone/southamerica: Likewise. - * timezone/zone.tab: Likewise. -2000-12-14 Jakub Jelinek + * po/fr.po: Update from translation team. + * po/de.po: Likewise. - * io/ftw.c (ftw_dir): If process_entry returned non-zero result - and dir.stream is NULL, only free dir.content. - * io/ftwtest.c (cb, main): Add --early-exit option to test it. - * io/ftwtest-sh: Test with --early-exit. + * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove + last parameter. Move code to add map to global scope from here... + * elf/dl-open.c (dl_open_worker): ...here. + * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps. + * elf/rtld.c: Adjust call to _dl_map_object_deps. -2000-12-13 Jakub Jelinek + * locale/programs/ld-collate.c (collate_read): Fix warning. - * misc/efgcvt.c (FCVT_MAXDIG): Define. - (FCVT_BUFPTR): New variable. - (fcvt): If fcvt_r returns -1 on the static short buffer, - try to malloc a sufficiently large one and retry. - (free_mem): New function. - * misc/qefgcvt.c (FCVT_MAXDIG): Define. - * misc/tst-efgcvt.c (fcvt_tests): Add new test. + * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum + values and macros for register names. -2000-12-15 Ulrich Drepper + * libio/iofopncook.c (_IO_cookie_seek): Return error only if value + returned by seek cookie function is -1. - * misc/dirname.c (dirname): Fix search for second to last slash. +2000-03-14 Andreas Jaeger -2000-12-13 Andreas Jaeger + * locale/localeconv.c (localeconv): Fix typo. + Reported by Andre Charbonneau . - * misc/tst-dirname.c (main): Fix typo in test to really use - the examples from Unix98. - Reported by Michael Kerrisk . +2000-03-14 Ulrich Drepper -2000-12-09 H.J. Lu + * iconv/skeleton.c: Increment __invocation_counter in inner loop + since modules depend on it counting the number of times the conversion + function got called. - * sysdeps/ia64/fpu/s_fabs.S: New file. - * sysdeps/ia64/fpu/s_fabsf.S: New file. - * sysdeps/ia64/fpu/s_fabsl.S: New file. + * iconv/gconv_open.c: Optimize loop to setup step data structure. -2000-12-15 Andreas Jaeger + * iconv/gconv.h: Pretty print. - * stdio-common/scanf9.c (main): Reformat and change to avoid - warnings. +2000-03-04 Ulrich Drepper - * stdio-common/tstdiomisc.c: Make local functions static. - * stdio-common/tst-printf.c: Likewise. + * posix/wordexp-test.c: Correct one of the tests added in the last + change. Really get the root passwd entry to check again ~root. - * elf/constload2.c: Add prototype declarations to shut up gcc. - * elf/dep1.c: Likewise. - * elf/dep2.c: Likewise. - * elf/dep3.c: Likewise. - * elf/dep4.c: Likewise. - * elf/ltglobmod2.c: Likewise. +2000-03-10 Andreas Jaeger - * libio/fmemopen.c: Make local functions static. + * manual/filesys.texi (Working Directory): Fix last patch. + Patch by Martin Buchholz . - * elf/Makefile (distribute): Added testobj.h. +2000-03-10 Andreas Jaeger - * elf/testobj.h: New file. + * manual/creature.texi (Feature Test Macros): Fix language. - * elf/testobj1.c: Include testobj.h and move prototype - declarations to testobj.h. - * elf/testobj2.c: Likewise. - * elf/testobj3.c: Likewise. - * elf/testobj4.c: Likewise. - * elf/testobj5.c: Likewise. - * elf/testobj6.c: Likewise. - * elf/testobj1_1.c: Likewise. - * elf/preloadtest.c: Likewise. +2000-03-10 Roland McGrath -2000-12-15 Ben Collins + * mach/devstream.c (devstream_write, devstream_read): New functions. + (input, output): Functions removed. + (mach_open_devstream): Use devstream_{read,write} as cookie functions, + using only the vanilla fopencookie interface. - * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros. - Patch by Akim Demaille in Debian bug report. + * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define + as macro for __io_functions. + (funcsio): Use cookie_io_functions_t type name. + (fopenport): Renamed from __fopenport. Rewrite to call fopencookie. -2000-12-14 H.J. Lu + * libio/iofopncook.c (_IO_cookie_init): New function, broken out of + fopencookie. + (fopencookie): Use it. + * libio/libio.h: Declare _IO_cookie_init. + * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using + _IO_cookie_init. - * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent - field in a float is 8 bits, not 11 bits. + * libio/libio.h (__io_seek_fn): Fix second argument type + to be a pointer, in line with the manual and the old stdio. + * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller. -2000-12-13 Jakub Jelinek + * sysdeps/generic/bits/stdio-lock.h: New file. + This is a stub with #error, but that's better than no file at all. - * math/test-misc.c (main): Adjust m for IEEE quad long double. +2000-03-09 Martin Buchholz -2000-12-13 Andreas Jaeger + * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes. + * manual/message.texi (Using gettextized software): Doc Fixes. + * manual/message.texi (Message Translation): Doc Fixes. + * manual/filesys.texi (File Size): Doc Fixes. + * manual/charset.texi (glibc iconv Implementation): Doc Fixes. + * locale/programs/ld-collate.c (collate_output): Doc Fixes. + * iconv/gconv_db.c (find_derivation): Doc Fixes. + * manual/install.texi: Doc Fixes. + * manual/search.texi (Hash Search Function): Doc Fixes. + * manual/stdio.texi (Output Conversion Syntax): Doc Fixes. + * FAQ.in: Doc Fixes. + * config.h.in: Doc Fixes. + * sysdeps/generic/dl-sysdep.c: Doc Fixes. + Doc Fixes. `allows to' is not correct English. - * manual/message.texi (Using gettextized software): Fix typo. + * elf/rtld.c: Doc fixes. + * manual/creature.texi (Feature Test Macros): Doc fixes. + * manual/memory.texi (Hooks for Malloc): Doc Fixes. - * manual/charset.texi (Converting a Character): Fix mbstouwcs - program to compile. - Patch by Martin Buchholz . + * manual/filesys.texi (Working Directory): Check for ERANGE to + avoid infloop. - * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo. - Reported by Michael Kerrisk . +2000-02-23 Roland McGrath -2000-12-11 Andreas Jaeger + * string/argz-stringify.c (__argz_stringify): Fix loop termination + conditions so as not to clobber the final '\0' when there is only one + element in the vector. - * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare - kernel_sigset_t and use it. - Patch by Hiroyuki Machida . +2000-03-09 Roland McGrath -2000-12-10 Richard Henderson + * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test, + broken by 2000-02-27 change. - * sysdeps/alpha/alphaev67/fpu/Implies: New file. - * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file. - * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file. + * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros. -2000-12-10 Jakub Jelinek +2000-02-23 Roland McGrath - * sysdeps/alpha/htonl.S: Fix a typo. + * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from + argument type, for 2000-02-22 change in signal/signal.h declaration. -2000-12-10 Jakub Jelinek +2000-03-09 Roland McGrath - * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10. + * sysdeps/generic/getdents64.c (__getdirentries64): Renamed + to getdirentries64 (no __), since the Linux implementation + has no __ name, and there is no declaration for the __ name. -2000-12-10 Andreas Jaeger + * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro. - * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed - cast as suggested by Jakub Jelinek and Ulrich - Drepper . + * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up + sed regexp so as not to break directory names including /../ within. -2000-12-09 Andreas Jaeger + * sysdeps/unix/bsd/bits/waitflags.h: File removed. + The sysdeps/generic file is right for BSD. This file was in fact the + Hurd file, but the only difference was the WNOREAP flag that was never + actually implemented or used anywhere. - * sysdeps/unix/sysv/linux/mips/sigaction.c: New file. + * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these, + since AC_PATH_PROG already does it for us. + (PERL): Rewrite check added in 2000-02-29 change for syntactic + correctness and sh portability. I replaced the broken check + with a more sensible implementation of the apparently intended + semantics, which might still be questionable. Using expr causes + a non-numeric value for `perl -V:apiversion` to be accepted, + refusing to use only a perl that reports a number less than 5; + on my system, perl (5.004_04) -V:apiversion produces UNKNOWN. + * configure: Regenerated. - * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the - generic version. - Patches by Hiroyuki Machida . +2000-03-08 Andreas Jaeger - * locale/programs/ld-collate.c (handle_ellipsis): Fix format - string. + * manual/crypt.texi: Fix paths. - * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix - format string. +2000-03-07 Andreas Jaeger - * nscd/hstcache.c (addhstbyname): Add cast to avoid warning. - * nscd/connections.c (handle_request): Likewise. - * nscd/pwdcache.c (addpwbyname): Likewise. - * nscd/grpcache.c (addgrbyname): Likewise. + * resolv/netdb.h: The descriptions of rresvport and rresvport_af + were swapped. + Patch by YOSHIFUJI Hideaki , closes PR + libc/1636. - * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument. +2000-03-06 Andreas Jaeger -2000-12-09 Ulrich Drepper + * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error + in __sgn1l, otherwise g++ fails to parse this. + Reported by Sean Chen . - * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy. +2000-03-03 Geoff Keating - * Makeconfig (default_cflags): Make -O2 the default for stable - releases. + * configure.in: Compute sizeof-long-double. + * configure: Regenerated. + * config.make.in: Make sizeof-long-double available to sub-makes. -2000-12-08 H.J. Lu +2000-03-03 Ulrich Drepper - * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ... - * sysdeps/ia64/fpu/s_isinf.S: This. - Add a .pred.rel.mutex note to avoid false report. + * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality + call. - * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ... - * sysdeps/ia64/fpu/s_isnan.S: This. +2000-03-03 Geoff Keating - * sysdeps/ia64/fpu/s_fpclassify.S: New file. - * sysdeps/ia64/fpu/s_fpclassifyf.S: New file. - * sysdeps/ia64/fpu/s_fpclassifyl.S: New file. - * sysdeps/ia64/fpu/s_isinff.S: New file. - * sysdeps/ia64/fpu/s_isinfl.S: New file. - * sysdeps/ia64/fpu/s_isnanf.S: New file. - * sysdeps/ia64/fpu/s_isnanl.S: New file. - * sysdeps/ia64/fpu/s_finite.S: New file. - * sysdeps/ia64/fpu/s_finitef.S: New file. - * sysdeps/ia64/fpu/s_finitel.S: New file. - * sysdeps/ia64/fpu/s_signbit.S: New file. - * sysdeps/ia64/fpu/s_signbitf.S: New file. - * sysdeps/ia64/fpu/s_signbitl.S: New file. - * sysdeps/ia64/fpu/s_copysign.S: New file. - * sysdeps/ia64/fpu/s_copysignf.S: New file. - * sysdeps/ia64/fpu/s_copysignl.S: New file. + * Makeconfig (rpath-dirs): Add crypt. + (all-subdirs): Remove md5crypt. + * crypt/sysdeps/unix/crypt.c: Move to crypt/. + * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/. + * sysdeps/generic/crypt-entry.c: Delete. + * crypt/sysdeps/unix/crypt.h: Move to crypt/. + * sysdeps/generic/crypt.h: Delete. + * crypt/sysdeps/unix/crypt-private.h: Move to crypt/. + * crypt/sysdeps/unix/crypt_util.c: Move to crypt/. + * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/. + * sysdeps/generic/des_impl.c: Delete. + * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/. + * crypt/sysdeps: Delete. + * crypt/crypt_util.c: Don't use `patchlevel.h'. + * md5-crypt/Versions: Move to crypt/. + * md5-crypt/md5-crypt.c: Move to crypt/. + * md5-crypt/md5.c: Move to crypt/. + * md5-crypt/md5c-test.c: Move to crypt/. + * md5-crypt/md5test.c: Move to crypt/. + * md5-crypt: Delete. + * crypt/Makefile: Adjust for new structure. -2000-12-08 Ulrich Drepper +2000-03-03 Paul Eggert - * math/libm-test.inc (main): Fix typos in messages. + * posix/regex.c (MB_LEN_MAX): Include to define; + define to 1 if not defined. - * string/stratcliff.c: Add test for rawmemchr. +2000-03-03 Andreas Jaeger -2000-12-08 Jakub Jelinek + * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp. - * elf/dl-open.c (_dl_open): If objname points right after errstring, - allocate it together with errstring using alloca. - * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname - to "", because it might point to local stack. +2000-03-03 Andreas Jaeger -2000-12-05 H.J. Lu + * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE + cases. + (xdr_int64_t): Correctly handle lower half. + Fix by Sten Dahlgren , closes PR libc/1623. - * nss/Makefile (routines): Add getnssent and getnssent_r. - * nss/nsswitch.h (__nss_setent): New internal NSS function. - (__nss_endent): Likewise. - (__nss_getent_r): Likewise. - (__nss_getent): Likewise. - * nss/getnssent_r.c: New file. - * nss/getnssent.c: New file. - * nss/getXXent.c (H_ERRNO_VAR): Updated. - (GETFUNC_NAME): Updated to call __nss_getent (). - * nss/getXXent_r.c (H_ERRNO_VAR_P): New. - (STAYOPEN_TMPVAR): Updated. - (STAYOPEN_VAR): Updated. - (SETFUNC_NAME): Updated to call __nss_setent (). - (ENDFUNC_NAME): Updated to call __nss_endent (). - (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r (). +2000-03-03 Ulrich Drepper -2000-12-08 Andreas Jaeger + * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality + call. - * nscd/dbg_log.h (dbg_log): Correct attribute. +2000-03-02 Andreas Jaeger -2000-12-08 Jakub Jelinek + * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux + 2.3.43. - * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at - cp + len. Compute where from dirname. - Reported by . +2000-03-02 Andreas Jaeger -2000-12-08 Richard Henderson + * resolv/Makefile (headers): Add arpa/nameser_compat.h. - * sysdeps/alpha/_mcount.S: Fix typo. - * sysdeps/alpha/strncpy.S: Likewise. +2000-03-01 Andreas Jaeger - * sysdeps/alpha/alphaev6/Implies: New file. - * sysdeps/alpha/alphaev67/Implies: New file. - * sysdeps/alpha/alphaev67/ffs.S: New file. - * sysdeps/alpha/alphaev67/ffsll.S: New file. - * sysdeps/alpha/alphaev67/rawmemchr.S: New file. - * sysdeps/alpha/alphaev67/stpcpy.S: New file. - * sysdeps/alpha/alphaev67/stpncpy.S: New file. - * sysdeps/alpha/rawmemchr.S: New file. - * sysdeps/alpha/strcat.S: Tail call to __stxcpy. - * sysdeps/alpha/strcpy.S: Likewise. + * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK. + (tests): Added tst-getdate. - From GMP 3.1.1: - * sysdeps/alpha/alphaev6/addmul_1.s: New file. + * time/tst-getdate.c: New file. - From rick.gorton@alpha-processor.com: - * sysdeps/alpha/alphaev6/memchr.S: New file. - * sysdeps/alpha/alphaev6/memcpy.S: New file. - * sysdeps/alpha/alphaev6/memset.S: New file. - * sysdeps/alpha/alphaev6/stxcpy.S: New file. - * sysdeps/alpha/alphaev6/stxncpy.S: New file. - * sysdeps/alpha/alphaev67/strcat.S: New file. - * sysdeps/alpha/alphaev67/strchr.S: New file. - * sysdeps/alpha/alphaev67/strlen.S: New file. - * sysdeps/alpha/alphaev67/strncat.S: New file. - * sysdeps/alpha/htonl.S: Use a shorter sequence. + * time/datemsk: New file, needed for tst-getdate. -2000-12-08 Jakub Jelinek +2000-02-29 Cristian Gafton - * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support. - Reported by . + * configure.in (CCVERSION): Require at least veersion 5 of perl API. -2000-12-07 Jes Sorensen +2000-02-17 H.J. Lu - * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable. - Pointed out by Hans Boehm. + * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end. -2000-12-07 H.J. Lu - - * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing. - -2000-12-07 Andreas Jaeger - - * misc/error.c: Add format attributes for __error and __error_at_line. - - * nscd/dbg_log.h: Add format attribute. - -2000-12-08 Ulrich Drepper - - * misc/sys/syslog.h: Add format attributes to syslog and vsyslog. - Patch by Joseph S. Myers . - -2000-12-07 Dan Pop - - * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence. - -2000-12-06 Ulrich Drepper - - * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc] - (sysdep_routines): Add uitrunc. - * sysdeps/unix/sysv/aix/uitrunc.c: New file. - Patches by Michael Keezer . - -2000-12-06 Roland McGrath - - * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in - argument data, since it will be used to copy out too (for INOUT). - Reported by Marcus Brinkmann . - - * sysdeps/mach/hurd/ioctl.c: Include . - (__ioctl): Use uintptr_t instead of unsigned long int. - -2000-12-06 Jim Wilson - - * stdlib/l64a.c (l64a): Truncate M to 32-bit value. - -2000-12-06 Ulrich Drepper - - * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in - x.5 rounding correctly. - -2000-12-06 Mark Kettenis - - * stdio-common/perror.c (perror): Conditionalize code dealing with - wide-oriented streams on USE_IN_LIBIO. - -2000-12-06 Mark Kettenis - - * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark - as internal_function. - -2000-12-05 Ulrich Drepper - - * sysdeps/alpha/elf/start.S (__data_start): Define. - -2000-12-05 H.J. Lu - - * nss/getXXent_r.c (setup): Change the return type to int. - -2000-12-05 Ulrich Drepper - - * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc] - (sysdep_routines): Add restf and savef. - * sysdeps/unix/sysv/aix/restf.c: New file. - * sysdeps/unix/sysv/aix/savef.c: New file. - Patches by Michael Keezer . - - * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works - if O_DIRECTORY is not defined. - Patch by Michael Keezer . - - * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define. - Patch by Michael Keezer . - - * locale/programs/linereader.c (get_toplvl_escape): Recognize more - than 4 bytes in escape sequence. - Patch by Shinya Hanataka . - -2000-12-05 Andreas Jaeger - - * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't - set mips2. - - * sysdeps/unix/sysv/linux/mips/sysdep.h: New file. - - * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed. - - * sysdeps/unix/mips/sysdep.h: Use SYS_ify. - Patches by Maciej W. Rozycki . - - * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as - internal_function. - * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise. - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise. - - * sysdeps/generic/dl-cache.c: Remove declaration of - _dl_sysdep_read_whole_file. - - * elf/dl-load.c (_dl_map_object): Remove declaration of - _dl_load_cache_lookup. - - * sysdeps/generic/ldsodefs.h: Add declarations of - _dl_load_cache_lookup, _dl_unload_cache, - _dl_sysdep_read_whole_file, _dl_sysdep_start and - _dl_sysdep_start_cleanup. - - * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h - now. - - * elf/dl-misc.c: Include to get prototypes. - * sysdeps/generic/dl-environ.c: Likewise. - - * stdio-common/printf_fp.c: Include instead of - . - * math/atest-exp.c: Likewise. - * math/atest-exp2.c: Likewise. - * math/atest-sincos.c: Likewise. - * stdio-common/_itoa.c: Likewise. - * stdio-common/_itowa.c: Likewise. - - * include/gmp.h: New file with internal prototypes. - - * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from - here to... - * include/setjmp.h: ...here. - - * locale/Makefile (routines): Remove codeset_name since it's not - needed anywhere. - - * locale/codeset_name.c: Removed. - -2000-12-05 Ulrich Drepper - - * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here. - -2000-12-05 Andreas Jaeger - - * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch. - -2000-12-05 Martin Schwidefsky - - * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't + * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if available. + (svcudp_recv): Set up message with the new "xp_pad" field for + IP_PKTINFO. + (svcudp_reply): Support IP_PKTINFO if available. -2000-12-05 Andreas Jaeger +2000-03-01 Andreas Jaeger - * nss/test-netdb.c: Mark local functions as static to avoid - warnings. - (main): Use return to silence warning. + * time/getdate.c (check_mday): Fix check for february. + Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA + , closes PR libc/1617 and PR libc/1619. - * stdlib/test-canon.c (check_path): Mark as static to avoid warning. +2000-03-02 Andreas Jaeger - * stdio-common/test-popen.c: Mark local functions as static to - avoid warnings. - (main): Use return to silence warning. + * posix/unistd.h: __THROW has to precede __attribute__, otherwise + g++ fails to parse this. + Reported by Sean Chen . - * stdlib/testsort.c (compare): Mark as static to avoid warning. +2000-02-28 Ulrich Drepper - * assert/test-assert.c: Mark local functions as static to avoid - warnings. - * assert/test-assert-perr.c: Likewise. + * io/creat.c: Moved to... + * sysdeps/generic/creat.c: ...here. + * io/creat64.c: Moved to... + * sysdeps/generic/creat64.c: ...here. + * io/lockf.c: Moved to... + * sysdeps/generic/lockf.c: ...here. - * math/libm-test.inc (main): Use return to silence warnings. + * crypt/crypt.texi: Moved to... + * manual/crypt.texi: ...here. + * crypt/examples/genpass.c: Moved to... + * manual/examples/genpass.c: ...here. + * crypt/examples/mygenpass.c: Moved to... + * manual/examples/mygenpass.c: ...here. + * crypt/examples/testpass.c: Moved to... + * manual/examples/testpass.c: ...here. -2000-12-04 Ulrich Drepper + * manual/Makefile (chapters): Add crypt. + * manual/conf.texi: Add usual header for not-last chapter. + * manual/crypt.texi: Add special header for last chapter. - * math/fenv.h: Fix typo in comment. +2000-02-28 Geoff Keating - * math/test-misc.c (main): Add a few more over and underflow tests - for scalb. + * Makeconfig (all-subdirs): Add 'crypt' subdirectory. + * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't + complain if there is no crypt add-on. + * crypt/configure: Removed. - * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly. - * sysdeps/i386/fpu/e_scalbf.S: Likewise. - * sysdeps/i386/fpu/e_scalbl.S: Likewise. - * math/w_scalb.c: Don't use matherr except in SVID mode. - * math/w_scalbf.c: Likewise. - * math/w_scalbl.c: Likewise. - * math/test-misc.c: Add test for NaN and scalbl. - Reported by Fred J. Tydeman . + * crypt/crypt.texi: Update documentation of US export restrictions + to match the 14 Jan 2000 regulations. -2000-12-04 Ulrich Drepper +2000-02-28 Geoff Keating - * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX. - * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME. - * include/libc-symbols.h (strong_alias): Define special version - for HAVE_ASM_GLOBAL_DOT_NAME. - (weak_alias): Likewise. - * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set. - * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login] - (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid, - getutxline, pututxline, and utmpxname. - * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir. - * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias. - * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias. - * sysdeps/unix/sysv/aix/pread.c: Define pread alias. - * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias. - * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT. - * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t. - * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments. - * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define. - Patches by Michael Keezer . + * crypt: New subdirectory, merged in from the crypt add-on. -2000-12-04 H.J. Lu +2000-02-28 Ulrich Drepper - * configure.in: Change --with-oldest-abi=ABI to - --enable-oldest-abi=ABI. + * include/unistd.h: Add __rmdir and __mkdir prototypes. -2000-12-02 Bruno Haible - * stdio-common/perror.c (perror): If stderr is wide-oriented, use - fwprintf instead of fprintf. - -2000-12-04 Ulrich Drepper - - * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and - DECIMAL_DIG definitions. - * sysdeps/arm/fpu/bits/mathdef.h: Likewise - * sysdeps/generic/bits/mathdef.h: Likewise - * sysdeps/i386/fpu/bits/mathdef.h: Likewise - * sysdeps/ia64/fpu/bits/mathdef.h: Likewise - * sysdeps/m68k/fpu/bits/mathdef.h: Likewise - * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise - * sysdeps/sparc/fpu/bits/mathdef.h: Likewise - * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise - -2000-12-03 Ulrich Drepper - - * math/test-fenv.c (main): Use return instead of exit to avoid warning. - - * math/atest-exp.c: Mark local functions as static to avoid warnings. - * math/atest-exp2.c: Likewise. - * math/atest-sincos.c: Likewise. - - * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value. - Reported by Fred J. Tydeman . - - * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix - the handling of denormalized numbers. - - * math/test-misc.c (main): Test for fpclassify and pseudo denormal - numbers on x86. - * sysdeps/i386/fpu/fpclassifyl.c: New file. - - * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the - pseudo denormal representation of LDBL_MIN. - - * iconvdata/SJIS.irreversible: Remove unnecessary entries. - * iconvdata/EUC-JP.irreversible: Remove unnecessary entries. - - * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde. - * iconvdata/jis0208.c: Likewise. - * iconvdata/jis0212.c: Likewise. - Patch by Shinya Hanataka . - - * math/test-misc.c (main): More tests for frexp and some for - fpclassify and isnormal. - - * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct - test for subnormal. - Reported by Fred J. Tydeman . - - * math/test-misc.c (main): Add tests for frexp. - Reported by Fred J. Tydeman . - * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation. - -2000-12-02 H.J. Lu - - * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of - '\0' to wcschr. - -2000-12-02 Ulrich Drepper - - * sysdeps/i386/fpu/s_frexp.S: Add missing fwait. - * sysdeps/i386/fpu/s_frexpf.S: Likewise. - * sysdeps/i386/fpu/s_frexpl.S: Likewise. - - * sysdeps/generic/glob.c: Adjust types of several variables to - avoid warnings. - -2000-12-01 Ulrich Drepper - - * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment. - -2000-11-30 Roland McGrath - - * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro. - (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to - allow multiple instances using the same function name in one file. - -2000-12-01 Ulrich Drepper - - * configure.in: Correct test for pserver CVS access. - -2000-11-28 H.J. Lu - - * libio/libio.h: Remove extra "#if ... #endif". - -2000-11-29 H.J. Lu - - * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case. - -2000-12-01 H.J. Lu - - * nss/getXXbyYY_r.c: Fix verioned symbol handling. - * nss/getXXent_r.c: Likewise. - * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. - -2000-11-30 H.J. Lu - - * scripts/abi-versions.awk (oldest_abi): New variable. - Handle the oldest ABI supported. - - * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi - for scripts/abi-versions.awk. - - * configure.in: Add --with-oldest-abi=ABI. - * configure: Rebuild. - - * config.make.in (oldest-abi): New. - - * config.h.in (GLIBC_OLDEST_ABI): New. - - * csu/version.c (banner): Support GLIBC_OLDEST_ABI. - -2000-11-30 Jakub Jelinek - - * locale/setlocale.c (setname): Free for all categories, not just - LC_ALL. - (setlocale): Store a copy of string passed by user, not the string - itself. - -2000-11-30 Roland McGrath - - * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit - rather than _hurd_fd_subinit, so it happens after it's safe to use - libc facilities like malloc. - -2000-11-28 Andreas Jaeger - - * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64 - declaration, adjust declaration of __syscall_getdents to match - kernel. - -2000-11-29 H.J. Lu - - * sysdeps/generic/readelflib.c (check_ptr): Undefine it first. - -2000-11-29 Andreas Jaeger - - * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable. - -2000-11-28 Ulrich Drepper - - * dlfcn/defaultmod1.c: Add prototypes to avoid warnings. - * dlfcn/defaultmod2.c: Likewise. - * dlfcn/dlopen.c: Likewise. - * dlfcn/dlopenold.c: Likewise. - * dlfcn/failtestmod.c: Likewise. - * dlfcn/glreflib1.c: Likewise. - * dlfcn/glreflib2.c: Likewise. - * dlfcn/eval.c: Likewise. Add attributes. - - * ctype/ctype-extn.c: Define isblank and not __isblank. - - * time/strftime.c: Add const where necessary to avoid warnings. - * time/strptime.c (strptime_internal): Add casts to avoid warnings. - -2000-11-22 Paul Eggert - - * time/strftime.c (my_strftime): Do not invoke mbrlen with a - size of (size_t) -1; it's not portable. - -2000-11-28 Ulrich Drepper - - * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the - crappy i486 FPU. - Reported by Michael Deutschmann . - -2000-11-14 Jes Sorensen - - * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal. - - * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as - _mcount is required by profiled binaries. - - * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to... - * sysdeps/ia64/machine-gmon.h: ...here. - -2000-11-28 Masahide Washizawa - - * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129. - (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h, - and ibm1129.h. - * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and - IBM1129. - * iconvdata/ibm922.c: New file. - * iconvdata/ibm922.h: New file. - * iconvdata/ibm1124.c: New file. - * iconvdata/ibm1124.h: New file. - * iconvdata/ibm1129.c: New file. - * iconvdata/ibm1129.h: New file. - * iconvdata/testdata/IBM922: New file. - * iconvdata/testdata/IBM922..UTF8: New file. - * iconvdata/testdata/IBM1124: New file. - * iconvdata/testdata/IBM1124..UTF8: New file. - * iconvdata/testdata/IBM1129: New file. - * iconvdata/testdata/IBM1129..UTF8: New file. - -2000-11-28 Ulrich Drepper - - * catgets/gencat.c (normalize_line): Take extra parameter with escape - character. Change callers. - (open_conversion): Determine mapping of 0x5c as wchar_t value. - * catgets/Makefile: Add rules to build and run test-gencat. - * catgets/sample.SJIS: New file. - * catgets/test-gencat.c: New file. - * catgets/test-gencat.sh: New file. - Report and test case by Shinya Hanataka . - -2000-11-28 Andreas Jaeger - - * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic - Linux version. - -2000-11-28 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch. - -2000-11-28 Andreas Jaeger - - * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use - __flexarr. - * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr): - Likewise. - -2000-11-27 Ulrich Drepper - - * misc/getusershell.c: Make strings in okshells array const. - * misc/regexp.c: Add const to cast to avoid warnings. - * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek. - * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for - __setresuid. - * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for - setresgid. - * misc/error.c: Add prototypes for __error and __error_at_line. - * misc/mntent_r.c (__getmntent_r): Add break at end of switch - statement to avoid warning. - * test-skeleton.c: Mark timeout_handler with noreturn. - * iconv/skeleton.c (get16u): Add const to cast. - (get32u): Likewise. - * iconvdata/gb18030.c: Likewise. - * iconvdata/iso-2022-cn-ext.c: Likewise. - * iconvdata/ansi_x3.110.c: Add cast to avoid warning. - * iconvdata/big5.c: Likewise. - * iconvdata/big5hkscs.c: Likewise. - * iconvdata/iso_6937.c: Likewise. - * iconvdata/iso_6937-2.c: Likewise. - * iconvdata/t.61.c: Likewise. - * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env. - * iconvdata/unicode.c: Likewise. - * iconvdata/utf-16.c: Likewise. - * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t. - * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning - with little code shuffling. - - * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid - the problems introduced when the user selects -O3. - - * iconv/gconv.h (__gconv_info): Define __data element using __flexarr. - * misc/sys/cdefs.h: Define __flexarr. - Proposed by Joseph S. Myers . - - * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings. - * iconv/skeleton.c: Likewise. - * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast. - * iconv/loop.c (get16): Add const to cast. - (get32): Likewise. - -2000-11-27 Andreas Jaeger - - * login/programs/pt_chown.c (do_pt_chown): Mark function as static - to avoid warning. - * login/programs/utmpdump.c (print_entry): Likewise. - -2000-11-25 Maciej W. Rozycki - - * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and - in a single asm as they may be used to access other stored - registers. - * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise. - -2000-11-27 Andreas Jaeger - - * rt/tst-aio.c: Mark test functions as static to avoid warnings. - * rt/tst-aio64.c: Likewise. - -2000-11-27 Ulrich Drepper - - * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH - for gencat run. - (libc.cat): Likewise. - * catgets/gencat.c: Implement handling of message catalogs encoded - with stateful character sets. - Based on a patch by Shinya Hanataka . - -2000-11-26 Ulrich Drepper - - * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning. - - * inet/getnameinfo.c: Adjust casts to avoid warnings. - * inet/rcmd.c: Likewise. - * inet/ruserpass.c: Likewise. - * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK, - IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL, - IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL, - IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL, - IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL, - IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast. - * include/aliases.h: Add prototypes for internal __getalias* functions. - * include/netdb.h: Add prototypes for __old_gethostent_r, - __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r, - __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r, - __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r, - __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r. - * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r, - __old_getrpcbynumber_r, __old_getrpcent_r. - - * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r, - __getrpcent_r prototypes. - -2000-11-25 Ulrich Drepper - - * string/strcoll.c: Add casts to avoid warnings. - * string/strnlen.c: Likewise. - * string/strxfrm.c: Likewise. - * sysdeps/generic/_strerror.c: Likewise. - * sysdeps/generic/memrchr.c: Likewise. - * sysdeps/generic/strcasestr.c: Likewise. - * sysdeps/generic/strstr.c: Likewise. - - * locale/weight.h (findidx): Add const to cast to avoid warning. - - * elf/loadfail.c: Little cosmetic changes to avoid warnings. - * elf/loadtest.c: Likewise. - * elf/multiload.c: Likewise. - * elf/next.c: Likewise. - * elf/nodelete.c: Likewise. - * elf/noload.c: Likewise. - * elf/order.c: Likewise. - * elf/origtest.c: Likewise. - * elf/preloadtest.c: Likewise. - * elf/restest1.c: Likewise. - - * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth - parameter of asm must be in %ecx. - - * string/tester.c: Mark test functions as static to avoid warnings. - - * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to - preserve value over different gconv-modules files. - -2000-11-24 Ulrich Drepper - - * locale/findlocale.c: Add casts to avoid warnings. - * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings. - * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast - to avoid warnings. - * misc/tsearch.c (const_node): New type. - (trecurse): Correct casts to avoid warnings. - (__twalk): Likewise. - * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and - LONG_BIT. - - * debug/backtrace-tst.c (compare): Add casts to avoid warnings. - - * test-skeleton.c: Mark local functions as static to avoid warnings. - -2000-11-23 H.J. Lu - - * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to - support the background job. - Fix a typo. - -2000-11-24 Ulrich Drepper - - * iconv/gconv_conf.c (insert_module): Replace old entry if new one - has same names but lower cost. - -2000-11-23 Jakub Jelinek - - * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs - which never occur during bootstrap. - * sysdeps/sparc/sparc64/dl-machine.h: Likewise. - -2000-11-23 Andreas Jaeger - - * nss/nss_files/files-hosts.c: Remove getipnodebyname. - - * nss/Versions: Remove _nss_files_getipnodebyname_r. - - * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch. - -2000-11-18 Martin Buchholz - - * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if - (called++) return;' - -2000-11-21 Alan Modra - - * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp. - - * csu/abi-note.S: Correct comment for operating system number. - -2000-11-22 Ulrich Drepper - - * Versions.def: Add GLIBC_2.2.1 for glibc. - -2000-11-22 Andreas Schwab - - * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root. - * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1. - -2000-11-22 Ulrich Drepper - - * rt/aio_suspend.c (aio_suspend): Convert timeout value to - absolute time for pthread_cond_timedwait call. - Reported by Lawrence Chen [libc/1930]. - - * rt/Makefile (tests): Add tst-aio6. - * rt/tst-aio6.c: New file. - -2000-11-23 Andreas Jaeger - - * sysdeps/s390/bits/string.h (strncat): Fix one more typo. - -2000-11-22 Andreas Jaeger - - * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks. - -2000-11-21 Martin Schwidefsky - - * sysdeps/s390/bits/string.h: Make strncat always add a \0. - -2000-11-21 Andreas Schwab - - * sysdeps/alpha/setjmp.S: Remove __setjmp entry point. - * sysdeps/arm/setjmp.S: Likewise. - * sysdeps/arm/fpu/setjmp.S: Likewise. - * sysdeps/i386/setjmp.S: Likewise. - * sysdeps/i386/elf/setjmp.S: Likewise. - * sysdeps/s390/setjmp.S: Likewise. - * sysdeps/s390/elf/setjmp.S: Likewise. - * sysdeps/sh/sh3/setjmp.S: Likewise. - * sysdeps/sh/sh4/setjmp.S: Likewise. - * sysdeps/sparc/sparc32/setjmp.S: Likewise. - * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed. - -2000-11-21 Andreas Jaeger - - * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete - NORETURN, fix parameter list. - - * string/bug-strncat1.c (main): Fix typo. - Patch by Bernhard Kaindl . - -2000-11-20 Ulrich Drepper - - * configure.in: Add --enable-all-warnings. - * config.make.in (all-warnings): New variable. - * Makeconfig (+gccwarn): Define with many more warnings if - all-warnings is yes. - -2000-11-20 Jakub Jelinek - - * iconvdata/bug-iconv2.c (main): Use %zd in format string. - * io/test-lfs.c (do_test): Cast statbuf.st_size to long long. - * malloc/tst-valloc.c (main): Cast valloc return value to long. - * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string. - * math/test-fpucw.c (main): Use %lx in format string, cast - control words to long. - * stdio-common/tst-fmemopen.c (main): Use %td in format strings. - * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so - large that it is unsigned warning. - - * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing - it to long on sparc64. - -2000-11-20 Andreas Jaeger - - * nscd/nscd.h (termination_handler): Add noreturn attribute. - (receiv_print_stats): Likewise. - - * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison. - -2000-11-20 Ulrich Drepper - - * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore. - - * csu/gmon-start.c: Always have prototype for __gmon_start. - * csu/version.c: Add prototypes for __libc_print_version and - __libc_main. - * iconv/gconv.c: Include gconv_int.h and gconv.h. - * iconv/gconv.h (struct __gconv_step): Remove const from __from_name - and __to_name. - * iconv/gconv_builtin.h: Add ASCII module definitions. - * iconv/gconv_conf.c (__gconv_path_elem): Remove const. - (add_module): Add cast to avoid warning. Rework construction of - strings for new module. - * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const. - (derivation_compare): Likewise. - * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep. - (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk. - * iconv/gconv_int.h (__gconv_path_elem): Remove const. - (struct gconv_alias): Remove const from fromname and toname. - * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes - for loop functions. - (internal_ucs4_loop): Use correct const-ness. - (ucs4_internal_loop): Likewise. - (internal_ucs4le_loop): Likewise. - (ucs4le_internal_loop_single): Likewise. - * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl, - to_idx, to_tbl, winbuf, winbufend const. Change casts in - assignments appropriately. - (struct known_trans): Remove const from fname. - (trans_compare): Make s1 and s2 const. - * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to - avoid warning. - * iconv/skeleton.c: Remove cast in calls of loop functions. - * iconvdata/gconv-modules: Remove US-ASCII definitions. - * iconvdata/iso646.c: Remove US_ASCII support. - * include/set-hooks.h (DEFINE_HOOK): Also generate prototype. - * include/unistd.h: Add __libc_check_standard_fds prototype. - * string/bits/string2.h (__mempcpy_args): Add const to casts. - * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and - _fini. - * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main. - * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts. - * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid - warning. - * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for - __libc_init_first and _dl_start. - * intl/dcigettext.c (transcmp): Make s1 and s2 const. - (DCIGETTEXT): Make domaindata variable const. - * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization - to avoid warning. - -2000-11-20 Hiroyuki Machida - - * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments. - - * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand - time_t to 'long int' not, 'unsigned int'. Use 'long int' for - __unused? members. - - * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same - value defined in /usr/include/asm-mips/fcntl.h. - -2000-11-18 Ulrich Drepper - - * stdio-common/Makefile (tests): Add test-vfprintf. - (test-vfprintf-ENV): New variable. - * stdio-common/test-vfprintf.c: New file. - - * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'. - - * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb. - (tst-mbrtowc-ENV): New variable. - (tst-wcrtomb-ENV): New variable. - * wcsmbs/tst-mbrtowc.c: New file. - * wcsmbs/tst-wcrtomb.c: New file. - -2000-11-16 Andreas Jaeger - - * manual/install.texi (Tools for Compilation): Update - documentation for GCC 2.95.2. - -2000-11-18 Ulrich Drepper - - * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN - if IPv4 and IPv6 requests timed out. - -2000-11-18 Akim Demaille - - * malloc/obstack.h: Formatting changes. - (obstack_grow, obstack_grow0): Don't cast WHERE at all: it - prevents type checking. - (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't - cast the value to (void *): assigning a `foo *' to a `void *' - variable is valid. - (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int. - -2000-11-17 Ulrich Drepper - - * scripts/config.guess: Update from upstream maintainer. - * scripts/config.sub: Likewise. - -2000-11-16 Ulrich Drepper - - * libio/freopen.c (freopen): Reset _mode after succesful reopening. - * libio/freopen64.c (freopen64): Likewise. - Patch by Shinya Hanataka . - - * libio/Makefile: Add rules to build and run test-freopen. - * libio/test-freopen.c: New file. - * libio/test-freopen.sh: New file. - -2000-11-15 H.J. Lu - - * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if - ELF_FUNCTION_PTR_IS_SPECIAL is not defined. - (DL_DT_FINI_ADDRESS): Likewise. - - * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the - return type to ElfW(Addr). - (_dl_function_address): New prototype. - (DL_FUNCTION_ADDRESS): Defined. - (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS. - (DL_DT_FINI_ADDRESS): Likewise. - - * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address. - - * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed. - (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS. - - * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ... - (_dl_function_address): This. - - * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the - function pointer for DT_FINI. - * elf/dl-close.c (_dl_close): Likewise. - - * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the - function pointer for DT_INIT. - -2000-11-16 Jakub Jelinek - - * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly - end of wexpbuf buffer. - -2000-11-16 Andreas Jaeger - - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate - definition of F_GETLK, F_SETLK, F_SETLKW. - -2000-11-16 Andreas Jaeger - - * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if - it's not defined. - -2000-11-15 Jakub Jelinek - - * dlfcn/default.c (main): Add test for dladdr of main returning - argv[0] in dli_fname field. - -2000-11-15 Jakub Jelinek - - * Makeconfig (run-program-prefix): Move test-static test into the - variable. - - * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv. - * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise, - schedule instructions. - * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise, - schedule instructions, fix a bug in copying auxiliary data. - -2000-11-15 Ulrich Drepper - - * manual/startup.texi (Program Arguments): Fix type of main's envp - parameter. - Reported by Raúl Núńez de Arenas Coronado . - - * iconvdata/gconv-modules: Add CP950 alias. - -2000-11-13 Jakub Jelinek - - * sysdeps/unix/sysv/linux/Makefile: Allow ports to override - syscall-list.h goal. - * sysdeps/unix/sysv/linux/sparc/Makefile: New file. - -2000-11-15 Ulrich Drepper - - * intl/Makefile: tst-gettext2.sh does not need a third parameter. - - * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify - output of program. - - * intl/tst-gettext2.c: Set C locale if setting other locale - failed. Use gettext() not _(). - - * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we - successfully loaded a new locale. - -2000-11-13 Andreas Jaeger - - * configure.in: Require gcc 2.95 or newer. - -2000-11-15 Ulrich Drepper - - * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS. - Patch by Arkadiusz Miskiewicz . - -2000-11-11 Jim Meyering - - * string/strndup.c (strndup): Cast return value to `char *'. - -2000-11-15 Jim Meyering - - * sysdeps/generic/memchr.c: Remove some useless parentheses. - [HAVE_STDLIB_H || defined _LIBC]: Include . - [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h. - [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op. - Also #undef __memchr. - Use `weak_alias' only if it's defined. - -2000-11-10 H.J. Lu - - * Makefile.in (install): Set LANGUAGE=C LC_ALL=C. - -2000-11-15 Andreas Jaeger - - * elf/chroot_canon.c: Include . - - * elf/cache.c (struct cache_entry): Use uint64_t for hwcap. - (print_entry): Likewise. - (add_to_cache): Likewise. - - * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change. - - * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap. - (path_hwcap): Likewise. - (search_dir): Likewise. - - * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform. - - * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry. - - * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h - (_dl_platform_string): New. - (_DL_HWCAP_PLATFORM): New. - (_dl_string_platform): New. - * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise. - - * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New. - (_dl_string_platform): New. - (_DL_HWCAP_PLATFORM): New. - (_dl_platform_string): New. - - * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform - recognition. - (_DL_HWCAP_COUNT): New. - (_dl_string_platform): New. - (_DL_HWCAP_PLATFORM): New. - (_dl_platform_string): New. - -2000-11-14 Ulrich Drepper - - * iconvdata/gconv-modules: Add CP936 as alias for GBK. - -2000-11-14 Andreas Jaeger - - * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap. - -2000-11-13 Roland McGrath - - * hurd/get-host.c (_hurd_get_host_config): Fix last change. - -2000-11-13 Marcus Brinkmann - - * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer - underrun and make sure the result is null terminated even if there - is no trailing newline. - -2000-11-13 Jakub Jelinek - - * sysdeps/alpha/fpu/libm-test-ulps: Update. - -2000-11-10 H.J. Lu - - * sysdeps/ia64/fpu/libm-test-ulps: Updated. - -2000-11-10 Andreas Jaeger - - * elf/ldconfig.c (create_links): Fix alloca calculation. - Patch by Ben Collins . - -2000-11-09 Ulrich Drepper - - * inet/getnameinfo.c (getnameinfo): Use correct destination - parameter for if_indextoname. - Patch by Hideaki YOSHIFUJI . - -2000-11-09 H.J. Lu - - * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg, - xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block, - xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and - xdr_keystatus. - - * time/Versions (GLIBC_2.1): Move getitimer to... - * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here. - -2000-11-03 Bruno Haible - - * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during - "make install", to work around a binary incompatibility between - glibc 2.1 and glibc 2.2 gconv modules. - -2000-11-09 Ulrich Drepper - - * intl/locale.alias: Add thai. - Patch by Chanop Silpa-Anan . - -2000-11-07 Akim Demaille - - * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second - argument `data' for consistency with the prototypes. - Qualify it `const'. - (obstack_copy, obstack_copy0): Rename the second argument as - `address' for consistency. Qualify it `const'. - * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow) - (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify - `const' their input argument (`data' or `address'). - Adjust the corresponding macros to include `const' in casts. - -2000-11-06 Hideaki YOSHIFUJI - - * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold - target family. - -2000-11-06 Hideaki YOSHIFUJI - - * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw - socket creation. - -2000-11-06 Hideaki YOSHIFUJI - - * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and - ai_protocol by internal table if service was not given. - -2000-11-06 Hideaki YOSHIFUJI - - * sysdeps/posix/getaddrinfo.c: Don't raise an error even if - numerical port was specified with protocol without socktype. - -2000-11-06 Hideaki YOSHIFUJI - - * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok. - -2000-11-06 Hideaki YOSHIFUJI - - * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation. - -2000-11-06 Hideaki YOSHIFUJI - - * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in - sin6_scope_id field. - -2000-11-06 Hideaki YOSHIFUJI - - * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support. - -2000-11-06 Hideaki YOSHIFUJI - - * inet/getnameinfo.c: Repair NI_NOFQDN flag support. - -2000-11-06 Hideaki YOSHIFUJI - - * inet/getnameinfo.c: Wake-up sin6_scope_id support in - getnameinfo(): check for whether sin6_socpe_id exist was wrong. - -2000-11-09 Martin Schwidefsky - - * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present. - * sysdeps/unix/sysv/linux/s390/mmap64.S: New file. - -2000-11-09 H.J. Lu - - * io/Versions (GLIBC_2.1.1): Remove lockf64. - - -See ChangeLog.11 for earlier changes. +See ChangeLog.10 for earlier changes. diff --git a/ChangeLog.13 b/ChangeLog.13 index 241861369e..2a4620e56d 100644 --- a/ChangeLog.13 +++ b/ChangeLog.13 @@ -1,2886 +1,2908 @@ -2002-10-03 Richard Henderson +2001-08-15 Ulrich Drepper - * sysdeps/alpha/stxncpy.S: Don't access memory beyond the source - buffer. - * sysdeps/alpha/alphaev6/stxncpy.S: Likewise. + * libio/iofwide.c (_IO_fwide): Don't reset file position to + beginning of file, really get current position. -2002-10-02 Andreas Jaeger - Guido Guenther +2001-08-15 Andreas Schwab - * sysdeps/mips/fpu/fraiseexcpt.c: Add internal definition. - * sysdeps/mips/fpu/fesetenv.c: Likewise. + * sysdeps/m68k/m68020/atomicity.h (atomic_add): Don't allow + address register for operand 0. -2002-10-03 Jakub Jelinek +2001-08-14 Ulrich Drepper - * sysdeps/unix/sysv/linux/net/route.h: Include bits/wordsize.h. - (struct rtentry): Make rt_pad4 6 bytes long if __WORDSIZE == 64. - * sysdeps/unix/sysv/linux/alpha/Dist: Remove net/route.h. - * sysdeps/unix/sysv/linux/alpha/net/route.h: Remove. - * sysdeps/unix/sysv/linux/ia64/Dist: Remove net/route.h. - * sysdeps/unix/sysv/linux/ia64/net/route.h: Remove. - * sysdeps/unix/sysv/linux/s390/Dist: Remove net/route.h. - * sysdeps/unix/sysv/linux/s390/net/route.h: Remove. + * stdio-common/perror.c (perror): Use _IO_fwide instead of fwide. -2002-10-03 Ulrich Drepper + * libio/libio.h (_IO_fwide): Handle zero as second parameter more + efficiently in macro. - * libio/freopen.c: Don't re-set _wide_data element if the stream - is of old style which didn't have the element. +2001-08-14 Jakub Jelinek + + * resolv/nss_dns/dns-host.c (RESOLVSORT): Define. + (addrsort): New function. + * resolv/gethnamaddr.c (RESOLVSORT): Define. + +2001-08-14 Jakub Jelinek + + * string/strsignal.c (free_mem): Remove. + +2001-08-14 Andreas Jaeger + + * inet/inet_ntoa.c (free_mem): Remove, it's not used anymore. + Closes PR libc/2477, reported by Dylan Alex Simon + . + +2001-08-14 Ulrich Drepper + + * locale/Makefile (aux): Add xlocale. + * locale/xlocale.c: New file. + * include/locale.c (_nl_C_locobj): Declare. + * iconv/gconv_charset.h: Use __tolower_l, __isdigit_l, __isspace_l + with _nl_C_locobj instead of tolower, isdigit, isspace. + * iconv/gconv_conf.c: Likewise. + * iconv/gconv_int.h: Likewise. + * iconv/gconv_open.c: Likewise. + + * locale/newlocale.c: Minor cleanups. + +2001-08-14 Andreas Jaeger + + * sysdeps/ieee754/ldbl-128/w_expl.c: New file, copy from + ldbl-96/w_expl.c with tweaked constants. Patch by Stephen L + Moshier. + +2001-08-13 Ulrich Drepper + + * malloc/memusage.c (me): Allow creating the output file. + + * sysdeps/unix/sysv/linux/Makefile: Remove -fkeep-inline-functions + flag for init-first. + + * po/fr.po: Update from translation team. + +2001-08-13 Andreas Jaeger + + * sysdeps/mips/machine-gmon.h (MCOUNT): Don't use delay slot for + jal since it's a macro. + Patch by Simon Gee . + +2001-08-12 Ulrich Drepper + + * iconvdata/Makefile: Add rules to build ISO-IR-209 and MAC-SAMI. + * iconvdata/iso-ir-209.c: New file. + * iconvdata/mac-sami.c: New file. + * iconvdata/gconv-modules: Add entries for ISO-IR-209 and MAC-SAMI. + * iconvdata/tst-tables.sh: Likewise. + + * posix/getopt.c: Remove store_args_and_env which is not needed since + USE_NONOPTION_FLAGS is undefined anyhow. Use __libc_argc and + __libc_argv variables. + +2001-08-12 Roland McGrath + + * sysdeps/mach/hurd/clock.c: New file. + * sysdeps/mach/hurd/times.c: New file. + * sysdeps/mach/hurd/getclktck.c (__getclktck): Always return 1000000. + * sysdeps/mach/hurd/init-posix.c: New file. + + * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix. + +2001-08-11 Roland McGrath + + * sysdeps/mach/hurd/bits/time.h + (CLOCK_PROCESS_CPUTIME_ID, CLOCK_THREAD_CPUTIME_ID): New macros. + * sysdeps/mach/hurd/i386/bits/time.h: File removed. + + * posix/getopt.c (nonoption_flags_max_len, nonoption_flags_len): + Make these defns conditional on [USE_NONOPTION_FLAGS]. + +2001-08-11 Ulrich Drepper + + * config.h.in: Add #undef line for USE_NONOPTION_FLAGS. + * posix/getopt_init.c: Produce code only if USE_NONOPTION_FLAGS is + defined. + * posix/getopt.c: Use __getopt_nonoption_flags only if + USE_NONOPTION_FLAGS is defined. + * sysdeps/mach/hurd/i386/init-first.c: Use __getopt_clean_environment + only if USE_NONOPTION_FLAGS is defined. + * sysdeps/mach/hurd/mips/init-first.c: Likewise. + * sysdeps/unix/sysv/linux/init-first.c: Likewise. + * sysdeps/arm/init-first.c: Likewise. + * sysdeps/generic/init-first.c: Likewise. + * sysdeps/i386/init-first.c: Likewise. + * sysdeps/sh/init-first.c: Likewise. + +2001-08-11 Andreas Jaeger + + * sysdeps/ieee754/ldbl-128/e_j0l.c: New file. + Contributed by Stephen L Moshier . + +2001-08-11 Ulrich Drepper + + * assert/assert.c (set_progname): Removed. + (__assert_fail): Use __progname instead of __assert_program_name. + * assert/assert-perr.c (__assert_perror_fail): Likewise. + + * malloc/malloc.c (ptmalloc_init): Don't call getenv five times. + Instead use new function next_env_entry which iterates over the + environment once. + + * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Only set + _dl_profile_map for the right object. + + * elf/dl-reloc.c (_dl_relocate_object): Allocate l_reloc_result + only if consider_profiling is != 0, not if _dl_profile != NULL. + + * sysdeps/generic/dl-environ.c (_dl_next_ld_env_entry): Optimize a bit. + Now returns pointer to first character after "LD_". + * elf/rtld.c (process_envvars): Adjust for change above. + * sysdeps/unix/sysv/linux/dl-librecon.h (EXTRA_LD_ENVVARS): Likewise. + * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS): + Likewise. + +2001-08-10 Wolfram Gloger + + * malloc/malloc.c (grow_heap): Use mmap() rather than mprotect() + to allocate new memory, for better performance with Linux-2.4.x. + +2001-08-10 Ulrich Drepper + + * posix/getopt_init.c (__getopt_clean_environment): Avoid making + the strncmp calls most of the time by testing for '_' as the first + character of the name. + + * elf/dl-open.c (add_to_global): Remove stale comment. + + * elf/dl-load.c (fillin_rpath): In SUID binaries, don't mark + non-system-dirs in LD_LIBRARY_PATH as nonexisting, simply drop them. + + * libio/iovdprintf.c (_IO_vdprintf): Set _IO_USER_LOCK flag for + temporary stream. Don't define lock. + * libio/obprintf.c (_IO_obstack_vprintf): Likewise. + * libio/strops.c (_IO_str_init_static): Likewise. + * libio/vasprintf.c (_IO_vasprintf): Likewise. + * libio/wstrops.c (_IO_wstr_init_static): Likewise. + * libio/iovsprintf.c: Likewise. + * libio/iovsnprintf.c: Likewise. + * libio/iovswprintf.c: Likewise. + * libio/iovsscanf.c: Likewise. + * libio/iovswscanf.c: Likewise. + * stdio-common/vfprintf.c [USE_IN_LIBIO] (buffered_vfprintf): Likewise. + * libio/genops.c (_IO_no_init): Don't call _IO_lock_init if _lock + is NULL. + (_IO_default_finish): Likewise. + * libio/wgenops.c (_IO_wdefault_finish): Likewise. + +2001-08-10 Andreas Jaeger + + * stdio-common/stdio_ext.h: Fix typo. + +2001-08-09 Ulrich Drepper + + * posix/fnmatch_loop.c: Fix computation of alignment. + +2001-08-09 Isamu Hasegawa + + * posix/regex.c (wcs_regex_compile): Use appropriate string + to compare with collating element. + Fix the padding for the alignment. + +2001-08-09 Isamu Hasegawa + + * locale/programs/ld-collate.c (collate_output): Exclude + characters from elem_table. + Reduce if clause to write collating elements correctly. + * posix/Makefile (tests): Add bug-regex5. + * posix/bug-regex5.c: New file. + +2001-08-09 Ulrich Drepper + + * locale/lc-time.c (_nl_parse_alt_digit): New function. + * locale/localeinfo.h: Add prototype for it. + * time/strptime.c (get_alt_number): Use _nl_parse_alt_digit to get + the value. Correct computation of hour for %OI. If no %EC given + but %Ey use numeric formular. + + * dlfcn/Makefile (tststatic-ENV): Also add $(common-objpfx)elf for + ld.so. + + * time/tst-strptime.c: Add tests in different locales. + * time/Makefile (tst-strptime-ENV): Define. + +2001-08-09 Jakub Jelinek + + * catgets/catgets.c (catclose): Be liberal about catalog_desc in + catclose too. + +2001-08-09 Ulrich Drepper + + * time/strptime.c (strptime_internal): Add handling of year + + %U/%W week + week day. + * time/tst-strptime.c: Add test case for %U and %W handling. + + * stdio-common/vfscanf.c: Fix reading of wide chars and strings if + not COMPILE_WSCANF. + + * libio/vswprintf.c (_IO_vswprintf): Fix return value handling + which is different from snprintf. + * libio/tst_swprintf.c: Add tests for too small output buffer. + + * stdio-common/vfscanf.c: Fix handling of %[] for COMPILE_WSCANF. + * libio/Makefile (tests): Add tst-swscanf. + * libio/tst-swscanf.c: New file. + +2001-08-09 Jakub Jelinek + + * posix/globtest.sh: Robustify tilde tests. + +2001-08-09 Andreas Jaeger + + * locale/programs/ld-ctype.c (DEFAULT): Fix expression. + (EMPTY): New. + (wctype_table_finalize): Use it. + (find_idx): Likewise. + (wctype_table_get): Likewise. + + * configure.in: Add check for GCC 3.x. + +2001-08-09 Ulrich Drepper + + * libio/wfileops.c (_IO_wfile_seekoff): Don't even try to handle + seeking with backup buffer present. + Correct determining of internal buffer position. + Reset also wide buffers if we reset the internal buffers. + * libio/iofwide.c (_IO_fwide): Always determine file offset for wide + streams. + * libio/ioseekoff.c: Catch one unimplemented case. + * libio/ftello.c: Don't abort if the wide stream has backup buffer. + * libio/ftello64.c: Likewise. + * libio/iofgetpos.c: Likewise. + * libio/iofgetpos64.c: Likewise. + * libio/ftell.c: Likewise. + * libio/Makefile (tests): Add tst-ungetwc2. + * libio/tst-ungetwc2.c: New file. + +2001-08-08 Ulrich Drepper + + * locale/elem-hash.h (elem_hash): Correct stupid mistake and + create real hash values now. + Patch by Isamu Hasegawa . + + * libio/iofgetpos.c (_IO_new_fgetpos): Correct a few problems in + the handling of wide streams. + + * libio/ioungetwc.c (ungetwc): Orient stream first. + * libio/Makefile (tests): Add tst-ungetwc1. + * libio/tst-ungetwc1.c: New file. + + * libio/wfileops.c (_IO_wfile_underflow): Remove incorrect test + for possible conversion using __codecvt_do_in. + * libio/Makefile (tests): Add tst-fgetws. + * libio/tst-fgetws.c: New file. + + * libio/iofgetws.c: Use _IO_ferror_unlocked macros instead of + coding the test here. + + * catgets/open_catalog.c: Rewrite code to assume that the function + is called at catopen time and not delayed in catgets. + * catgets/catgets.c (catopen): Call __open_catalog and fail if that + function failed. + (catgets): Remove code for delayed opening of catalog. + * catgets/catgetsinfo.h: Remove now unnecessary information from + struct catalog_info. Change __open_catalog prototype. + * catgets/gencat.c: Adjust __open_catalog call. + * catgets/test-gencat.c: Stop program if catopen failed. + + * locale/C-monetary.c (_nl_C_LC_MONETARY): Provide correct value + for CRNCYSTR. + + * locale/programs/ld-messages.c (messages_finish): Provide POSIX + locale compliant default values for fields without definition. + * locale/programs/ld-time.c (time_finish): Likewise. + * locale/programs/ld-monetary.c (monetary_finish): Likewise. + +2001-08-08 Andreas Jaeger + + * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Fix test for + infinity. + +2001-08-07 Ulrich Drepper + + * sysdeps/ia64/memusage.h (GETTIME): Define using hp-timing.h + functionality. + + * sysdeps/ia64/hp-timing.h (HP_TIMING_NOW): Fix comment. + +2001-08-07 Jakub Jelinek + + * malloc/memusage.c (initialized): New variable. + (init): If not yet initialized, call me(). + (me): Do all dlsym calls here. + (malloc, realloc, calloc, free): If not yet initialized, + call me(). If in the middle of initializing, return NULL or + do nothing. + +2001-08-07 Jakub Jelinek + + * sysdeps/unix/seekdir.c (seekdir): Set dirp->filepos. + + * dirent/tst-seekdir.c (main): Check whether telldir right after + seekdir returns 2nd argument given to seekdir. + +2001-08-07 Franz Sirl + + * dlfcn/Makefile (tststatic-ENV): Add $(common-objpfx) to + LD_LIBRARY_PATH. + +2001-08-07 Andreas Jaeger + Andreas Schwab + Bruno Haible + + * locale/programs/3level.h (EMPTY): New macro. + (*_get, *_add, *_iterate, *_finalize): Use it instead of ~(uint32_t) 0. + +2001-08-08 GOTO Masanori + + * locale/iso-3166.def: Updates from latest official list. + +2001-08-07 Andreas Jaeger + + * stdlib/tst-strtod.c: Disable HUGE_VAL tests for older GCCs. + + * iconv/gconv_charset.h (upstr): Add unused attribute to avoid warning. + + * libio/iopopen.c (_IO_new_proc_open): Fix typos, it's _IO_MTSAFE_IO. + (_IO_new_proc_close): Likewise. + * libio/oldiopopen.c (_IO_old_proc_open): Likewise. + (_IO_old_proc_close): Likewise. + +2001-08-06 Ulrich Drepper + + * manual/locale.texi: Add documentation for rpmatch. + Patch by Jochen Hein . + +2001-08-06 Jakub Jelinek + + * stdlib/strtod.c (STRTOF): Skip whole infinity, not just inf. + * stdio-common/vfscanf.c (__vfscanf): +- can be followed by i in +-Inf. + + * stdlib/tst-strtod.c (tests): Add Inf tests. + * stdio-common/tstscanf.c (main): Add tests for +- before Inf. + +2001-08-06 Ulrich Drepper + + * locale/weightwc.h (findidx): Change type of i to int32_t. + + * wcsmbs/wcsmbs-tst1.c (main): Avoid warning. Pretty printing. + +2001-08-05 Roland McGrath + + * sysdeps/unix/bsd/bsd4.4/bits/dirent.h (struct dirent): Rename member + d_fileno to d_ino. + (struct dirent64): Likewise. + (d_fileno): Define as macro. + +2001-08-04 Roland McGrath + + * sysdeps/mach/hurd/getrusage.c: Use TASK_EVENTS_INFO if implemented + by the microkernel (which it's not). + +2001-08-04 Ulrich Drepper + + * libio/fileops.c (_IO_new_file_underflow): Don't call + _IO_flush_all_linebuffered. This isn't required in any standard. + Instead flush only stdout. + * libio/wfileops.c (_IO_wfile_underflow): Likewise. + +2001-08-04 Franz Sirl + + * dlfcn/Makefile: Add rules for new testcase tststatic. + * dlfcn/tststatic.c: New file. + * dlfcn/modstatic.c: New file. + +2001-08-04 Ulrich Drepper + + * manual/summary.awk: Fix value used for FF. + + * elf/rtld.c: Correct use of __builtin_expect. + + * elf/dl-close.c: Remove commented-out code. + + * libio/genops.c (_IO_unbuffer_write): Force streams in narrow + orientation so that conversion modules aren't used anymore. + * malloc/set-freeres.c: Call _IO_cleanup before running subfreeres + functions to avoid using wide streams afterwards. + + * iconvdata/Makefile: Add rules to build GEORGIAN-PS and + GEORGIAN-ACADEMY. + * iconvdata/georgian-ps.c: New file. + * iconvdata/georgian-academy.c: New file. + * iconvdata/gconv-modules: Add entries for GEORGIAN-PS and + GEORGIAN-ACADEMY. + * iconvdata/tst-tables.sh: Add GEORGIAN-PS and GEORGIAN-ACADEMY. + +2001-08-03 Ulrich Drepper + + * locale/programs/ld-collate (insert_value): If symbol in order + definition does not exist create it as a sequence without + associated multibyte and wide representation. + +2001-07-30 Roland McGrath + + * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start): Diddle + syntax so both function and pointer-to-function arguments work right. + +2001-08-03 Tom Rix + + * config.h.in: Add HAVE_XCOFF for AIX. + * configure.in: Add --with-xcoff option. + * include/libc-symbols.h: Disable the .stabs macros. + +2001-08-03 Ulrich Drepper + + * iconvdata/8bit-gap.c: Correctly use __builtin_expect. + * iconvdata/ansi_x3.110.c: Likewise. + * iconvdata/big5.c: Likewise. + * iconvdata/euc-cn.c: Likewise. + * iconvdata/euc-jp.c: Likewise. + * iconvdata/euc-kr.c: Likewise. + * iconvdata/gb18030.c: Likewise. + * iconvdata/gbbig5.c: Likewise. + * iconvdata/gbgbk.c: Likewise. + * iconvdata/gbk.c: Likewise. + * iconvdata/ibm930.c: Likewise. + * iconvdata/ibm932.c: Likewise. + * iconvdata/ibm933.c: Likewise. + * iconvdata/ibm935.c: Likewise. + * iconvdata/ibm939.c: Likewise. + * iconvdata/ibm943.c: Likewise. + * iconvdata/iso-2022-cn.c: Likewise. + * iconvdata/iso-2022-kr.c: Likewise. + * iconvdata/iso646.c: Likewise. + * iconvdata/iso8859-1.c: Likewise. + * iconvdata/iso_6937-2.c: Likewise. + * iconvdata/iso_6937.c: Likewise. + * iconvdata/johab.c: Likewise. + * iconvdata/sjis.c: Likewise. + * iconvdata/t.61.c: Likewise. + * iconvdata/uhc.c: Likewise. + * iconvdata/unicode.c: Likewise. + * iconvdata/utf-16.c: Likewise. + * iconv/gconv_simple.c: Likewise. Convert assert() in real error + handling. + + * iconvdata/Makefile: Add rules to build KOI8-T module. + * iconvdata/koi8-t.c: New file. + * iconvdata/gconv-modules: Add entries for KOI8-T. + * iconvdata/tst-tables.sh: Add KOI8-T. + + * locale/iso-639.def: Correct Javanese 2 letter code. Add Tonga. + Add Tigrinya. + +2001-08-02 Ulrich Drepper + + * locale/programs/ld-collate.c (collate_read): Handle collating-element + and reorder_after following copy statement correctly. + +2001-08-02 Andreas Jaeger + + * libio/bits/stdio.h (printf): Remove printf optimization since + GCC 3.0 can optimize printf. + +2001-08-02 Ulrich Weigand + + * sysdeps/s390/s390-32/memcpy.S: Fixed incorrect use of + mvcle introduced by 2001-07-12 change. + * sysdeps/s390/s390-64/memcpy.S: Likewise. + +2001-07-31 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/getcontext.S: Don't touch the %gs + register so that contexts can be used in different threads. + * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise. + + * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Correct + test for cmsg struct size. + * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Likewise. + + * sysdeps/unix/sysv/linux/i386/makecontext.S: Remove unnecessary + initializations. + + * libio/iopopen.c: Add lock for proc_file_chain access. + * libio/oldiopopen.c: Add lock for old_proc_file_chain access. + Reported by Padraig Brady . + +2001-07-31 Andreas Jaeger + + * sysdeps/unix/sysv/linux/sparc/bits/poll.h (NPOLLFILE): Removed. + * sysdeps/unix/sysv/linux/mips/bits/poll.h (NPOLLFILE): Removed. + * sysdeps/unix/sysv/linux/m68k/bits/poll.h (NPOLLFILE): Removed. + * sysdeps/unix/sysv/linux/bits/poll.h (NPOLLFILE): Removed. + * sysdeps/generic/bits/poll.h (NPOLLFILE): Removed. + + * libio/genops.c (flush_cleanup): Guard list_all_lock to allow + compilation without threads. + +2001-07-30 Ulrich Drepper + + * po/fr.po: Update from translation team. + +2001-07-30 Andreas Jaeger + + * sysdeps/ieee754/ldbl-128/e_atanhl.c: New file, contributed by + Stephen L Moshier. + + * posix/regex.c: Declare wcs functions only if compiling with + MBS_SUPPORT. + Don't use #elif for traditional C. + +2001-07-29 Mark Kettenis + + * sysdeps/mach/hurd/recvmsg.c: New file. + * sysdeps/mach/hurd/sendmsg.c: New file. + +2001-07-27 Ulrich Drepper + + * version.h (VERSION): Bump to 2.2.4. + + * sysdeps/mips/Dist: Remove non-existing files. + * sysdeps/mips/mips64/Dist: Likewise. + * sysdeps/mips/mipsel/Dist: Removed. + * iconv/Makefile (distribute): Add strtab.c and iconvconfig.h. + * sysdeps/generic/Dist: Add bits/link.h. + * sysdeps/unix/sysv/linux/m68k/Dist: Add sys/procfs.h. + * sysdeps/unix/sysv/aix/Dist: Add dl-support.c, dl-addr.c, and + dl-error.c. + * sysdeps/ia64/Dist: Add bits/link.h. + + * libio/vasprintf.c (_IO_vasprintf): Don't copy uninitialized byte + from stream buffer to result buffer. + Reported by Michael Meeks . + + * libio/Makefile: Add rules to check output of tst-fopenloc and + for memory leaks. + * libio/tst-fopenloc.c: New file. + + * iconv/gconv_cache.c (__gconv_compare_alias_cache): New function. + * iconv/gconv_int.h: Add prototype for __gconv_compare_alias_cache. + * iconv/gconv_charset.h: Replace __gconv_lookup_alias prototype with + __gconv_compare_alias prototype. + * iconv/gconv_db.c (__gconv_lookup_alias): Removed. + (__gconv_compare_alias): New function. + * locale/findlocale.c (_nl_find_locale): Use __gconv_compare_alias + instead of calling __gconv_lookup_alias twice and compare here. + +2001-07-26 Mark Kettenis + + * hurd/hurdsig.c (_hurd_internal_post_signal): Fix handling of + SA_RESETHAND and SA_NODEFER. + +2001-07-27 Ulrich Drepper + + * libio/fileops.c (_IO_new_file_fopen): Correctly locate ccs= + substring. Don't handle ccs= if no descriptor was allocated. + Normalize codeset name before calling __wcsmbs_named_conv. + Initialize transliteration elements. Free step data structure. + * libio/iofclose.c (_IO_new_fclose): Correct freeing of the step data. + * libio/iofwide.c (__libio_translit): Renamed from libio_translit + and made public. Various little cleanup changes. + * wcsmbs/wcsmbsload.h (struct gconv_fcts): Add towc_nsteps and + tomb_nsteps member. + * wcsmbs/wcsmbsload.c: Add some casts to avoid warnings. + (__wcsmbs_gconv_fcts): Initialize towc_nsteps and tomb_nsteps member. + (getfct): Take additional parameter with pointer to variable where the + number of steps is stored in. Disable code which allows to use more + than one step for now. Adjust all callers. + (free_mem): New function. Frees data associated with currently + selected converters. + + * malloc/mtrace.pl: Extract addresses from DSOs. + +2001-07-26 Ulrich Drepper + + * malloc/mcheck.c (checkhdr): Disable mcheck before reporting an + error. Don't run any tests if mcheck is disabled. + + * elf/dl-support.c (_dl_important_hwcaps): Avoid using malloc + early in the program. + +2001-07-27 Andreas Jaeger + + * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h (SC_GPRS): Fix + value following change from 2001-05-30. + + * sysdeps/s390/s390-64/bits/setjmp.h (_JMPBUF_UNWINDS): Follow + rename change from 2001-07-12 for __jmp_buf. + Patches by Ulrich Weigand . + +2001-07-26 Roland McGrath + + * sysdeps/generic/bits/termios.h (EXTA, EXTB): Make these conditional + on __USE_MISC rather than __USE_BSD. + (B57600, B115200, B230400, B460800, B500000, B576000, B921600, + B1000000, B1152000, B1500000, B2000000, B2500000, B3000000, + B3500000, B4000000): New macros. + * sysdeps/generic/tcsetattr.c (bad_speed): Accept those values. + * termios/cfsetspeed.c (speeds): Likewise. + +2001-07-26 kaz Kojima + + * sysdeps/sh/dl-machine.h (elf_machine_load_address): Don't use + multi-line strings. + (FUN_ADDR, FGR_SAVE, ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise. + (elf_machine_rela): Handle unaligned relocation. + +2001-06-07 David Mosberger + + * sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Update call to + __ia64_make_fptr() for new interface. + (_dl_function_address): Remove. + + * sysdeps/ia64/dl-machine.h (IA64_BOOT_FPTR_TABLE_LEN): Rename + from IA64_BOOT_FPTR_SIZE and reduce its value from 256 to 200. + (struct ia64_fdesc): Rename from struct ia64_fptr and drop "next" + pointer. Rename member "func" to "ip". + (struct ia64_fdesc_table): New type. + (__ia64_make_fptr): Change prototype. + (__ia64_init_bootstrap_fdesc_table): New function. + (ELF_MACHINE_BEFORE_RTLD_RELOC): New macro. + (__boot_ldso_fptr): Removed. + (__fptr_next): Removed. + (__fptr_root): Removed. + (__fptr_count): Removed. + (TRAMPOLINE_TEMPLATE): Fix typo in comment. Don't use multi-line + strings to avoid warning from gcc3. + (RTLD_START): Don't use multi-line strings. + (ELF_MACHINE_START_ADDRESS): Use DL_STATIC_FUNCTION_ADDRESS. + (elf_machine_fixup_plt): Update the code entry point in the + function descriptor through a "volatile" pointer to ensure proper + write ordering. + (elf_machine_rela): Simplify handling of FPTR relocs: always call + __ia64_make_fptr(). + + * sysdeps/ia64/dl-lookupcfg.h (DL_AUTO_FUNCTION_ADDRESS): New macro. + (DL_STATIC_FUNCTION_ADDRESS): Likewise. + (DL_DT_INIT_ADDRESS): Use DL_AUTO_FUNCTION_ADDRESS. + (DL_DT_FINI_ADDRESS): Likewise. + + * sysdeps/ia64/dl-fptr.c: Rewrite for better scalability and to + avoid deadlocks. + + * include/link.h: Add member machine specific "l_mach" member to + link_map. + + * sysdeps/generic/bits/link.h: New file. + * sysdeps/ia64/bits/link.h: Likewise. + + * elf/rtld.c (_dl_start): Fix typo in comment. + (_dl_start_final): Copy new "l_mach" member from temporary to + final bootstrap map. + +2001-07-25 Ulrich Drepper + + * csu/gmon-start.c: Use ENTRY_POINT_DECL if defined instead of a + declaration using ENTRY_POINT. + * sysdeps/ia64/elf/entry.h (ENTRY_POINT_DECL): New definition. + +2001-07-25 H.J. Lu + + * csu/gmon-start.c: Include + (_start): Replaced with ENTRY_POINT. + +2001-07-25 Mark Kettenis + + * sysdeps/unix/bsd/bsd4.4/bits/socket.h: New file. + +2001-07-25 Ulrich Drepper + + * iconv/iconvconfig.c (main): Don't write an output file if we + have seen an error. + (write_output): Don't overwrite old cache file until we know we + have a new one. + + * iconv/Makefile (install-sbin): Add iconvconfig. + +2001-07-25 Jakub Jelinek + + * elf/Makefile (routines): Add dl-iteratephdr and + dl-iteratephdr-static. + (elide-routines.os): Add dl-iteratephdr-static. + * elf/dl-iteratephdr.c: New file. + * elf/link.h (struct dl_phdr_info): New definition. + (dl_iterate_phdr): New prototype. + * elf/Versions (dl_iterate_phdr): Add at GLIBC_2.2.4. + * include/link.h (struct dl_phdr_info): New definition. + (dl_iterate_phdr, __dl_iterate_phdr): New prototypes. + * sysdeps/generic/dl-iteratephdr-static.c: New file. + * sysdeps/unix/sysv/linux/ia64/dl-iteratephdr-static.c: New file. + +2001-07-24 Igor Khavkine + + * hurd/hurdsig.c (_hurdsig_init): Fix incorrect initialization + of pending signals. + +2001-06-22 Jakub Jelinek + + * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer + gaps below main executable. + +2001-07-22 Bruno Haible + + * intl/libintl.h (ngettext, dngettext, dcngettext): Use both msgid1 + and msgid2 for printf format argument checking. + +2001-07-24 Ulrich Drepper + + * iconv/gconv_cache.c (find_module): Don't allocate room for the + filename. Use alloca, we don't need it beyond this function. + (__gconv_release_cache): New function. + * iconv/gconv_db.c (__gconv_close_transform): Call + __gconv_release_cache after the steps are handled. + * iconv/gconv_dl.c (__gconv_find_shlib): Allocate file name in the + record as well. + * iconv/gconv_int.h: Add prototype for __gconv_release_cache. + + * iconv/gconv_cache.c (__gconv_lookup_cache): Catch one more + boundary case and reject it. + +2001-07-24 Andreas Jaeger + + * manual/examples/longopt.c (main): Fix which options take arguments. + +2001-07-24 Ulrich Drepper + + * iconvdata/Makefile: Add dependencies for tst-loading test. + +2001-07-24 Andreas Jaeger + + * iconv/iconvconfig.c (name_insert): Make static to avoid warning. + +2001-07-23 Ulrich Drepper + + * locale/programs/locale.c (write_locales): Disable implicit + locking for the stream. Use feof_unlocked instead of feof. + + * sysdeps/unix/sysv/linux/i386/makecontext.S: Initialize %fs, %gs, + and floating-point status as well. + + * libio/iofclose.c (_IO_new_fclose): Unlink descriptor first to + avoid deadlock. + * libio/oldiofclose.c (_IO_old_fclose): Likewise. + * libio/genops.c (_IO_un_link): Get stream lock since it's not + always done in the caller. + (_IO_link_in): Likewise. + + * libio/genops.c (_IO_list_all_stamp): New variable. + (_IO_un_link): Bump _IO_list_all_stamp after removing from list. + (_IO_link): Likewise for insertion. + (flush_cleanup): New function. + (_IO_flush_all): Get list_all_lock and all individual locks for the + streams. Detect and handle changes to the _IO_list_all list. + (_IO_flush_all_linebuffered): Likewise. + * sysdeps/generic/bits/stdio-lock.h: Define + _IO_cleanup_region_start_noarg. + * sysdeps/mach/hurd/bits/stdio-lock.c: Likewise. + + * stdio-common/printf.h: Fix typo in comment. + + * iconv/gconv_cache.c (__gconv_lookup_cache): Handle encoding from + and to INTERNAL. + * iconv/iconvconfig.c: Create a special record for the INTERNAL + encoding name in the output file. + +2001-07-23 Jakub Jelinek + + * sunrpc/svc_tcp.c (svctcp_rendezvous_abort): New function. + (svctcp_rendezvous_op): Use it. + * sunrpc/svc_unix.c (svcunix_rendezvous_abort): New function. + (svcunix_rendezvous_op): Use it. + +2001-07-23 Andreas Schwab + + * math/Makefile (CPPFLAGS-test-ifloat.c, CPPFLAGS-test-idouble.c, + CPPFLAGS-test-ildoubl.c): Renamed from CFLAGS-*. + (math-CPPFLAGS): Set this instead of CPPFLAGS. + +2001-07-23 Ulrich Drepper + + * elf/elf.h: Add more definitions from Sun's latest version. + +2001-07-23 Stephen L Moshier + + * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Return proper + sign for 0 input and set divide by zero exception for -1 input. + Return argument if NaN or infinity. + +2001-07-23 Andreas Jaeger + + * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add some deltas. + +2001-07-23 Ulrich Drepper + + * iconv/gconv_cache.c (__gconv_lookup_cache): Select correct + module for conversion direction. + +2001-07-23 Stephen L Moshier + + * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Return proper + sign for 0 input. Return NaN with no exception for NaN input. + +2001-07-23 Ulrich Drepper + + * iconv/gconv_builtin.h: ISO-106464/UTF-8/ transformation must + really be an alias. + +2001-07-23 Andreas Jaeger + + * iconv/iconvconfig.c: Include and use + __attribute_malloc__ for older GCC versions. + * iconv/strtab.c: Likewise. + Add prototypes to avoid warnings. + +2001-07-22 Roland McGrath + + * hurd/hurdsig.c (_hurd_internal_post_signal): Support SA_RESETHAND + and SA_NODEFER options. Spurred to action by Igor Khavkine. + + * sysdeps/generic/bits/sigaction.h [__USE_UNIX98 || __USE_MISC] + (SA_NODEFER, SA_RESETHAND): New macros, same bit values as FreeBSD. + [__USE_MISC] (SA_INTERRUPT): New macro, value 0. + [__USE_MISC] (SA_NOMASK, SA_ONESHOT, SA_STACK): New macros, aliases + as in other sysdeps versions of this file. + + * sysdeps/generic/bits/sigaction.h (struct sigaction): Use a union + and provide sa_handler and sa_sigaction member names as macros, as + done in other sysdeps versions of this file. + Suggested by Igor Khavkine . + +2001-07-23 Ulrich Drepper + + * posix/regex.c: Revamp memory allocation for WCHAR functions to + not use too much stack. + +2001-07-22 Ulrich Drepper + + * iconv/iconvconfig.c (write_output): Update comment explaining + output format. + + * elf/dl-load.c (_dl_dst_count): In SUID binaries expand $ORIGIN + if it is alone. + (_dl_dst_substitute): Likewise. + + * iconv/iconvconfig.c: Remove --verbose option. Comment out + mcheck_verbose call. + + * iconv/strtab.c (morememory): Fix little memory handling problem. + +2001-07-22 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Don't + mark asm input operand as clobbered. + * sysdeps/unix/sysv/linux/m68k/brk.c (__brk): Likewise. + +2001-07-22 Ulrich Drepper + + * iconv/gconv_builtin.c (struct builtin_map): Remove init and end + elements. + (BUILTIN_TRANSFORMATION): Remove Init and End parameters. + (__gconv_get_builtin_trans): Initialize __init_fct and __end_fct to + NULL. + * iconv/gconv_builtin.h: Remove NULL parameters for Init and End in + all BUILTIN_TRANSFORMATION calls. + * iconv/gconv_conf.c (BUILTIN_TRANSFORMATION): Remove Init and End + parameters. + * iconv/gconv_simple.c: Likewise. + * iconv/gconv_db.c (gen_steps): Internal converters don't have + initializers, move the code accordingly. + + * iconv/gconv_conf.c (__gconv_read_conf): Don't read configuration + file if STATIC_GCONV is defined. + + * iconv/gconv_conf.c (__gconv_path_envvar): New global variable. + (__gconv_get_path): Use it instead of call getenv. + (__gconv_read_conf): First see whether cache can be used. If yes, + don't do any work here. + * iconv/gconv_db.c (__gconv_release_step): Renamed from release_step + and exported. Change callers. + (__gconv_find_transform): First call __gconv_lookup_cache and only + continue if it signals no cache available. Remove some unnecessary + tests. + * iconv/gconv_int.h: Declare __gconv_path_envvar, __gconv_lookup_cache, + __gconv_release_step, and __gconv_loaded_cache. + * iconv/gconv_cache.c: New file. + * iconv/iconvconfig.c: New file. + * iconv/iconvconfig.h: New file. + * iconv/strtab.c: New file. + * iconv/Makefile: Add rules to build new files and programs. + +2001-07-20 Roland McGrath + + * sysdeps/generic/device-nrs.h (DEV_TTY_P): Change argument type + from `dev_t' (st_rdev value) `const struct stat *'. + * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Likewise. + * libio/filedoalloc.c (_IO_file_doallocate): Change caller. + * sysdeps/mach/hurd/device-nrs.h: New file. + + * libio/stdio_ext.h: Moved to ... + * stdio-common/stdio_ext.h: ... here. + * libio/Makefile (headers): Move stdio_ext.h from here ... + * stdio-common/Makefile (headers): ... to here. + * include/stdio_ext.h: New file. + * stdio/Makefile (routines): Add the stdio_ext.h functions here. + * stdio/Versions (GLIBC_2.2.4): Export the stdio_ext.h functions. + * stdio/__flbf.c: New file. + * stdio/__fbufsize.c: New file. + * stdio/__fpending.c: New file. + * stdio/__fpurge.c: New file. + * stdio/__freadable.c: New file. + * stdio/__freading.c: New file. + * stdio/__fsetlocking.c: New file. + * stdio/__fwritable.c: New file. + * stdio/__fwriting.c: New file. + +2001-07-20 Ulrich Drepper + Andreas Jaeger + + * elf/ldconfig.c (search_dir): Avoid use of uninitialized memory. + Add a few __builtin_expect to mark unlikely error cases. + +2001-07-20 Andreas Jaeger + + * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Synch with kernel. + Patch by Daniel Jacobowitz . + +2001-07-19 Ulrich Drepper + + * intl/localealias.c: Remove unnecessary prototype. + + * Makefile: Add html goal. + * manual/Makefile: Likewise. + +2001-07-18 Ulrich Drepper + + * libio/filedoalloc.c (_IO_file_doallocate): A few more minor + cleanups and improvements. + +2001-07-18 Andreas Schwab + + * posix/regex.c (WORDCHAR_P) [WCHAR]: Also return true for the + underscore character. + +2001-07-18 Jakub Jelinek + + * malloc/malloc (new_heap): Don't call munmap for zero length. + +2001-07-18 Ulrich Drepper + + * libio/filedoalloc.c (_IO_file_doallocate): Use DEV_TTY_P if + available to determine whether descriptor is for tty before + calling isatty. + + * sysdeps/unix/sysv/linux/device-nrs.h: Define DEV_TTY_P. + * sysdeps/generic/device-nrs.h: Likewise. + +2001-07-18 Andreas Jaeger + + * time/Makefile (tst-getdate-ENV): Add TZDIR to environment. + + * time/Depend: New, add dependency on timezone. + + * time/tst-getdate.c: Add testcase for bug report by Hendrik + Uhlmann . + * time/datemsk: Likewise. + +2001-07-17 Ulrich Drepper + + * elf/ldconfig.c (parse_conf): Disable implicit locking for the + stream. Remove some unnecessary initializers. + +2001-07-17 Andreas Jaeger + + * elf/ldconfig.c: Add new variable hwcap_mask to honour LD_HWCAP_MASK. + (is_hwcap_platform): Use it. + (set_hwcap): New function to set hwcap_mask. + (main): Call set_hwcap. + +2001-07-17 Jakub Jelinek + + * time/getdate.c (__getdate_r): Initialize tm_isdst, tm_gmtoff and + tm_zone before calling strptime. + +2001-07-17 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Fix last change. + +2001-07-17 Ulrich Drepper + + * inet/rcmd.c (iruserfopen): Disable implicit locking for the stream. + * inet/ruserpass.c (ruserpass): Likewise. + * nss/nsswitch.c (nss_parse_file): Likewise. + * resolv/res_hconf.c (_res_hconf_init): Likewise. + * resolv/res_init.c (__res_vinit): Likewise. + * gmon/bb_exit_func.c (__bb_exit_func): Likewise. + * misc/getpass.c (getpass): Likewise. + * misc/getusershell.c (initshells): Likewise. + * misc/getttyent.c (setttyent): Likewise. + * misc/mntent_r.c (__setmntent): Likewise. + * time/getdate.c (__getdate_r): Likewise. + * time/tzfile.c (__tzfile_read): Likewise. + * iconv/gconv_conf.c (read_conf_file): Likewise. + * intl/localealias.c (read_alias_file): Disable implicit locking + for the stream. Use _unlocked functions for glibc. + * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Disable + implicit locking for the stream. + (__get_nprocs_conf): Likewise. + (phys_pages_info): Likewise. + +2001-07-16 Ulrich Drepper + + * nscd/connections.c: Print messages caused by user application + only if debug_level > 0. Add little performance improvements. + Use TEMP_FAILURE_RETRY around write calls. + * nscd/grpcache.c: Likewise. + * nscd/hstcache.c: Likewise. + * nscd/pwdcache.c: Likewise. + +2001-07-13 H.J. Lu + + * sysdeps/mips/dl-machine.h (MAP_BASE_ADDR): Removed. + (elf_machine_got_rel): Defined only if RTLD_BOOTSTRAP is not defined. + (RESOLVE_GOTSYM): Rewrite to use RESOLVE. + + * sysdeps/mips/rtld-ldscript.in: Removed. + * sysdeps/mips/rtld-parms: Likewise. + * sysdeps/mips/mips64/rtld-parms: Likewise. + * sysdeps/mips/mipsel/rtld-parms: Likewise. + +2001-07-16 Ulrich Drepper + + * catgets/test-gencat.sh: Use <<"EOF" instead of < + + * sysdeps/posix/spawni.c: Fix typo when iterating over signal numbers. + +2001-07-16 Andreas Schwab + + * math/libm-test.inc (check_float_internal): Fix sign bit test of + infinities. + +2001-07-16 Jakub Jelinek + + * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Make it PIC friendly. + +2001-07-15 Ulrich Drepper + + * malloc/obstack.c: Define __attribute__ for non-gcc compilers. + Patch by Jim Meyering . + +2001-07-12 Martin Schwidefsky + + * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: Reorder + fields in the sigaction struct to match the definition in the kernel. + +2001-07-12 Martin Schwidefsky + + * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Correct the + test for ENOSYS. + +2001-07-12 Martin Schwidefsky + + * sysdeps/s390/s390-32/bits/setjmp.h: Add leading underscores + to the entries in the __jmp_buf structure. + * sysdeps/s390/s390-64/bits/setjmp.h: Likewise. + +2001-07-12 Martin Schwidefsky + + * sysdeps/s390/s390-32/bcopy.S: Use mvcle for big blocks + (> 64K) and a mvc loop for small blocks. + * sysdeps/s390/s390-32/memcpy.S: Likewise. + * sysdeps/s390/s390-64/bcopy.S: Likewise. + * sysdeps/s390/s390-64/memcpy.S: Likewise. + +2001-07-15 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: New file. + * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: New file. + + * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Check _dl_pagesize + first. Default to 4096, not EXEC_PAGESIZE. + + * iconv/loop.c (put16) [!_STRING_ARCH_unaligned && BIG_ENDIAN]: + Fix index. + +2001-07-09 Andreas Jaeger + + * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Name entry for xmm2. + + * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add HWCAP_I386_XMM, + HWCAP_I386_XMM2 to enum. + +2001-07-13 Andreas Jaeger + + * libio/fileops.c: Include unistd.h for lseek64 prototype. Closes + PR libc/2372. + +2001-07-12 Ulrich Drepper + + * Makeconfig: Add some more changes to handle AIX linker better. + +2001-07-12 H.J. Lu + + * sysdeps/generic/segfault.c: Include . + +2001-07-01 Andreas Jaeger + + * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk): Remove duplicate + sbrk. Closes PR libc/2312. + +2001-07-01 Andreas Jaeger + + * sysdeps/generic/segfault.c (install_handler): Handle case that + the output file does not exists. Closes PR libc/2345. + +2001-07-11 Ulrich Drepper + + * intl/locale.alias: Use he language code for hebrew, not il + [PR libc/2382]. + +2001-07-11 Jakub Jelinek + + * iconv/gconv_int.h: Fix comment typo. + +2001-07-11 Igor Khavkine + + * hurd/hurdsig.c (_hurdsig_init): Remove a useless line of code. + +2001-07-07 Roland McGrath + + * hurd/hurdsig.c (_hurd_thread_sigstate): Use MACH_PORT_NULL, not 0. + +2001-07-10 Stephen L Moshier + + * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Fix + backwards conditional in test for x == 1.0. + +2001-07-10 Andreas Jaeger + + * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add ulps for tanh + (-0.7). + +2001-07-09 Andreas Jaeger + + * sysdeps/unix/sysv/linux/configure.in: Revert patch from + 2001-07-05 for sysconfdir handling. + * config.make.in (sysconfdir): Likewise. + * configure.in: Likewise. + + * configure.in: Always assign libc_cv_sysconfdir. + +2001-07-08 Ulrich Drepper + + * Makerules [AIX] (build-shlib-helper): Precede linker options + with -Wl. + + * Makeconfig (config-LDFLAGS): Add ld.so only for ELF. + + * sysdeps/unix/make_errlist.c: Adjust sys_errlist declaration to + what we define in . + + * iconv/iconv_prog.c (main): Don't unconditionally define + variables only use if _POSIX_MAPPED_FILES is defined. + + * sysdeps/unix/sysv/aix/sendmsg.c (sendmsg): Fix return type. + * sysdeps/unix/sysv/aix/recvmsg.c (recvmsg): Likewise. + + * sysdeps/unix/sysv/aix/recv.c: New file. + + * sysdeps/unix/sysv/aix/recvfrom.c: Fix various types. + +2001-07-07 Ulrich Drepper + + * sysdeps/generic/recv.c: Fix return type. + + * sysdeps/unix/sysv/aix/dl-libc.c (__libc_dlclose): Fix typo. + + * sysdeps/unix/sysv/aix/gettimeofday.c (__gettimeofday): Add + declarations for asm functions. + + * include/libc-symbols.h: Provide more dummy definitions for the + case if GNU ld isn't used. + + * libio/freopen.c: Include for free declaration. * libio/freopen64.c: Likewise. -2002-10-02 Ulrich Drepper - - * sysdeps/unix/sysv/linux/x86_64/Dist: Add bits/utmpx.h. - * sysdeps/unix/sysv/linux/sparc/Dist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise. - - * sysdeps/s390/s390-32/initfini.c: Avoid unterminated string literals. - * sysdeps/sh/elf/initfini.c: Likewise. - * sysdeps/mach/hurd/mips/init-first.c: Likewise. - * sysdeps/hppa/elf/initfini.c: Likewise. - * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Likewise. - -2002-10-02 Steven Munroe - Jakub Jelinek - - * login/programs/utmpdump.c (print_entry): Copy up->ut_tv fields - to struct timeval temp_tv before printing to be 32-/64-bit agnostic. - * sysdeps/powerpc/bits/wordsize.h: Move to... - * sysdeps/powerpc/powerpc32/bits/wordsize.h: ...here. - (__WORDSIZE_COMPAT32): Define. - * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise. - * sysdeps/sparc/sparc32/bits/wordsize.h (__WORDSIZE_COMPAT32): - Define. - * sysdeps/sparc/sparc64/bits/wordsize.h (__WORDSIZE_COMPAT32): - Define. - * sysdeps/s390/bits/wordsize.h: Move to... - * sysdeps/s390/s390-32/bits/wordsize.h: ...here. - * sysdeps/s390/s390-64/bits/wordsize.h: Likewise. - * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Define. - * sysdeps/unix/sysv/linux/powerpc/bits/utmp.h: New file. - * sysdeps/unix/sysv/linux/powerpc/bits/utmpx.h: New file. - * sysdeps/unix/sysv/linux/sparc/bits/utmp.h: New file. - * sysdeps/unix/sysv/linux/sparc/bits/utmpx.h: New file. - * sysdeps/unix/sysv/linux/x86_64/bits/utmp.h: New file. - * sysdeps/unix/sysv/linux/x86_64/bits/utmpx.h: New file. - -2002-10-02 Jakub Jelinek - - * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix comment typo. - Temporarily enable R_ALPHA_NONE relocs in ld.so. - * sysdeps/ia64/dl-machine.h (elf_machine_rela): Temporarily enable - R_IA64_NONE relocs in ld.so. - -2002-09-27 Steven Munroe - - * README.template: Minimum Linux kernel for powerpc64 is 2.4.19. - - * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (struct ipc_perm): - Use __uint32_t and __uint64_t for __seq, __pad1, __unused[12] fields - so they are consistent between PPC32 and PPC64. - - * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__WORDSIZE != 32]: - (_STAT_VER): Define to _STAT_VER_KERNEL. - (stru stat, struct stat64): Define to match the PPC64 kernel. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions - (libc: GLIBC_2.2): Remove __xstat64, __fxstat64, and __lxstat64. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/fxstat64.c: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/lxstat64.c: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/xstat64.c: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: Add kernel_stat.h. - -2002-10-02 Roland McGrath - - * sysdeps/unix/sysv/linux/xstatconv.c [STAT_IS_KERNEL_STAT]: - Conditionalize the function definitions on this. - * sysdeps/unix/sysv/linux/xstat.c (__xstat) [STAT_IS_KERNEL_STAT]: - Don't use xstat_conv, just fail if VERS != _STAT_VER_KERNEL. - * sysdeps/unix/sysv/linux/fxstat.c (__fxstat) [STAT_IS_KERNEL_STAT]: - Likewise. - * sysdeps/unix/sysv/linux/lxstat.c (__lxstat) [STAT_IS_KERNEL_STAT]: - Likewise. - -2002-10-02 Ulrich Drepper - - * version.h (VERSION): Bump to 2.3. - - * elf/Makefile (distribute): Add tst-tlsmod1.c, tst-tlsmod2.c, - tst-tlsmod3.c, tst-tlsmod4.c, circlemod1.c, circlemod1a.c, - circlemod2.c, circlemod2a.c, circlemod3.c, circlemod3a.c, - and nodlopenmod2.c. - - * login/Makefile (distribute): Add utmp-equal.h. - - * iconvdata/Makefile (distribute): Add TSCII.precomposed and - TSCII.irreversible. - - * Make-dist (dist): Create .bz2 file. Add rule to create .bz2 files. - Also distribute xtests sources. - -2002-10-02 Kaz Kojima - - * elf/elf.h: Change TLS ELF relocation numbers. - * elf/tls-macros.h: Fix code sequences for SH TLS_LD and TLS_GD - macros. - * sysdeps/sh/dl-machine.h (dl_machine_rela) [case R_SH_TLS_TPOFF32]: - Use addend. - * sysdeps/sh/elf/initfini.c: Move __fpscr_values to... - * sysdeps/sh/elf/start.S: ...here. - -2002-10-01 Jakub Jelinek - - * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (MINSIGSTKSZ, - SIGSTKSZ): Changed to match kernel. - * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h: New file. - -2002-10-01 Carlos O'Donell - - * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h - [__USE_GNU] (F_SETLEASE, F_GETLEASE, F_NOTIFY): New macros. - [__USE_GNU] (DN_ACCESS, DN_MODIFY, DN_CREATE, DN_DELETE, DN_RENAME, - DN_ATTRIB, DN_MULTISHOT): New macros. + * sysdeps/alpha/fpu/libm-test-ulps: Add deltas for tanh(-0.7). -2002-02-08 Randolph Chung +2001-07-06 Jakub Jelinek - * sysdeps/hppa/elf/start.S: Define __data_start. - -2002-10-01 Isamu Hasegawa - - * posix/regex_internal.c (re_string_reconstruct): Reset the member - LEN and STOP. - * posix/regexec.c (re_search_stub): Remove incorrect condition of - "range < 0". - Round RANGE in case that it is too small. + * sysdeps/unix/sysv/linux/i386/sigaction.c (RESTORE2): Put asm + explicitly into .text section. -2002-10-01 Roland McGrath +2001-04-16 Jes Sorensen - * config.h.in (NO_HIDDEN): New #undef. - * include/libc-symbols.h [! NO_HIDDEN]: Add this condition to - nonempty definitions of hidden_proto et al. - * configure.in: Grok --disable-hidden-plt to define NO_HIDDEN. - * configure: Regenerated. - * sysdeps/mach/hurd/configure.in: Always define NO_HIDDEN. - * sysdeps/mach/hurd/configure: Regenerated. + * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext): + Add 16 longwords reserved for future use to match changes in the + kernel. -2002-09-19 David Mosberger +2001-07-03 Jes Sorensen - * sysdeps/ia64/dl-fptr.c (make_fdesc): Load address of "local" via - a 64-bit gp-relative address to enable binaries with large data - sections. + * sysdeps/ia64/strncpy.S: Call strnlen() when determining the + string length rather than strlen(). Solves the performance problem + of doing strlen on a 5MB string when strncpy was called with a + length argument of 5 bytes. -2002-09-30 Ulrich Drepper +2001-07-02 Jakub Jelinek - * stdlib/cxa_finalize.c (__cxa_finalize): Call UNREGISTER_ATFORK - if it is defined. - * posix/Makefile (distribute): Add fork.h. - * sysdeps/generic/fork.h: New file. + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle + R_SPARC_UA16 and R_SPARC_UA32. + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise. -2002-09-29 Bruno Haible +2001-07-01 Stephen L Moshier - * sysdeps/generic/utmp_file.c (LOCKING_FAILED): New macro. - (UNLOCK_FILE): Add a label. - (getutent_r_file, internal_getut_r, getutline_r_file, pututline_file, - updwtmp_file): Shut off the alarm clock when locking failed. + * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): + acosh(x) = ln(2x) if x > 2^30. + * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): + acosh(x) = ln(2x) if x > 2^54. -2002-09-30 Isamu Hasegawa +2001-07-07 Mark Kettenis - * posix/regex_internal.h (re_match_context_t): Add a new member. - (re_fail_stack_ent_t): New structure. - (re_fail_stack_t): Likewise. - * posix/regexec.c (re_search_internal): Use the new member of - re_match_context_t. - Use fail stack only if it has back references and there are plural - matching candidates. - (proceed_next_node): Use fail stack if it is indicated. - (set_regs): Likewise. - (push_fail_stack): New function. - (pop_fail_stack): New function. - (check_dst_limits): Likewise. - (check_dst_limits_calc_pos): Likewise. - (search_subexp): Check the limitations on the top of subexpressions. - (sift_states_bkref): Check the limitations of the destination node. - Reuse the array sctx->sifted_states. + * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): + Generate SIGSEGV instead of SIGBUS for KERN_INVALID_ADDRESS and + KERN_WRITE_PROTECTION_FAILURE. -2002-09-30 Ulrich Drepper +2001-07-07 Ulrich Drepper - * stdio-common/printf_fp.c: Shuffle a few lines around to help the - compiler optimizing. No semantical changes intended. + * posix/regex.c: Limit string length printed in debug messages to + 100 chars. -2002-09-30 Jakub Jelinek + * configure.in: Don't warn about versioning if not on ELF system. - * sysdeps/ia64/strncpy.S: Only segfault in .recovery2 if some bits - from the next quad are needed. +2001-07-07 Andreas Jaeger -2002-09-30 Roland McGrath + * sysdeps/*: Put files from GNU MP Library under LGPL v2.1. - * elf/tls-macros.h (TLS_LD, TLS_GD): Use call insn, not callq. +2001-07-06 Ulrich Drepper - * sysdeps/unix/x86_64/sysdep.S [USE_TLS && HAVE___THREAD] [! PIC]: - Use direct-%fs form of TLS access for errno. + * po/gl.po: Update from translation team. - * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: File removed, since - the i386 version has all the same asm now. +2001-07-06 Andreas Jaeger - * sysdeps/i386/elf/configure.in: Add @GOTNTPOFF and @NTPOFF uses to - the TLS support check. - * sysdeps/i386/elf/configure: Regenerated. + * sysdeps/unix/sysv/linux/configure.in: Fix handling of + sysconfdir. - * sysdeps/unix/sysv/linux/i386/sysdep.h [USE_TLS && HAVE___THREAD] - (SYSCALL_ERROR_HANDLER): Use direct-%gs form of TLS access for errno. + * manual/libc-texinfo.sh: Add note for the FDL. - * sysdeps/unix/i386/sysdep.S (syscall_error) - [USE_TLS && HAVE___THREAD]: Use TLS access for errno. + * manual/argp.texi (Argp Example 4): Fix texinfo warning. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h - [USE_TLS && HAVE___THREAD] (SYSCALL_ERROR_HANDLER): Use TLS access. + * manual/libc.texinfo: Regenerated. - * rt/tst-aio7.c (do_test): Don't read from stdin, which could be the - terminal when the test is running in a background job. Instead, make - a pipe and read from its read half while never writing anything to it. + * manual/fdl.texi: Fix node. -2002-09-30 Andreas Jaeger + * config.make.in (sysconfdir): Replace correctly. + Closes PR libc/2369, reported by Peter Simons . - * stdlib/tst-bsearch.c (main): Fix format strings. - * stdio-common/tst-rndseek.c (do_test): Likewise. - * libio/tst_swprintf.c (main): Likewise. - * catgets/tst-catgets.c (main): Likewise. - * libio/tst-fgetws.c (main): Likewise. - * posix/tst-mmap.c (main): Likewise. - * posix/bug-regex12.c (main): Likewise. - * posix/bug-regex11.c (main): Likewise. - * io/tst-getcwd.c (do_test): Likewise. + * sysdeps/unix/sysv/linux/alpha/configure.in: Removed, it's no + longer needed. - * iconvdata/tst-e2big.c (test): Use %td in printf for ptrdiff_t. + * sysdeps/unix/sysv/linux/configure.in (libc_cv_linuxVER): Add + case for alpha. + Rework handling of missing linuxthreads add-on. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): - Store 4 bytes into errno, not 8 bytes. + * configure.in: Remove unused sysconfdir substitution. -2002-09-29 Ulrich Drepper + * manual/Makefile (texis): Add fdl.texi. + * manual/fdl.texi: New. + * manual/socket.texi (Host Names): Improve grammar, fix overflow hbox. + * manual/libc.texinfo: Add fdl, update titlepage. + Patches by Brian Youmans <3diff@gnu.org>. - * posix/regexec.c (sift_states_bkref): Remove ret variable. Use - err instead. + * sysdeps/unix/make_errlist.c (main): Print LGPL v2.1 for + generated file. -2002-09-29 Roland McGrath +2001-07-06 Paul Eggert - * test-skeleton.c (timeout_handler): Use WUNTRACED flag in waitpid. - Examine the child's status and print something different if it wasn't - just killed by our SIGKILL. - (main): In the child process call setpgid to put it in its own pgrp. + * manual/argp.texi: Remove ignored LGPL copyright notice; it's + not appropriate for documentation anyway. + * manual/libc-texinfo.sh: "Library General Public License" -> + "Lesser General Public License". + * COPYING: Fix Y2k bug in sample copyright notices. + * manual/lesser.texi: Renamed from manual/lgpl.texinfo, + as fsf.org uses the name "lesser.texi". + * manual/Makefile (texis): Follow rename. -2002-09-29 Ulrich Drepper +2001-07-06 Andreas Jaeger - * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): The return value - semantics for sigtimedwait is different. Rework the return value - handling and don't pass in a siginfo variable. + * All files under GPL/LGPL version 2: Place under LGPL version + 2.1. -2002-09-29 Roland McGrath +2001-07-05 Andreas Jaeger - * malloc/malloc.c [! MALLOC_DEBUG] (assert): #undef before defining. + Synch with Linux 2.4.6: + * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH): + New. + (AF_BLUETOOTH): New. - * sysdeps/mach/hurd/Versions (ld: GLIBC_2.2.6): Add __errno_location. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h + (PF_BLUETOOTH): New. + (AF_BLUETOOTH): New. - * sysdeps/unix/sysv/linux/x86_64/sysdep.S [USE_TLS && HAVE___THREAD]: - Define errno in .tbss. - * sysdeps/unix/x86_64/sysdep.S [USE_TLS && HAVE___THREAD]: Use TLS - access for setting errno. + * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New. + (PF_BLUETOOTH): New. - * sysdeps/unix/x86_64/sysdep.S: Store 32 bits at errno, not 64 bits. - AFAICT, it was just blind luck that the word following errno in .bss - was just alignment padding and not some other variable to be clobbered. + * sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New. + (PF_BLUETOOTH): New. -2002-09-29 Jakub Jelinek + * sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New. + (AF_BLUETOOTH): New. - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_SETRESUID_SYSCALL): On the sparc, define to 1, not empty. + * sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New. + (AF_BLUETOOTH): New. -2002-09-29 Jakub Jelinek + * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New. - * nss/bug-erange.c (main): Don't fail if /etc/resolv.conf doesn't - exist. + * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New. -2002-09-29 Ulrich Drepper + * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New. - * nss/Makefile: Move bug-erange from tests to xtests. + * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New. -2002-09-29 Jakub Jelinek +2001-07-04 Roland McGrath - * stdlib/longlong.h (__udiv_qrnnd): Remove PARAMS from prototype. + * hurd/hurdsig.c (_hurd_internal_post_signal): For SS->suspended + wakeup message, use MACH_MSG_TYPE_MAKE_SEND for the receiver port + rather than doing a mach_port_insert_right call first. -2002-09-29 Jakub Jelinek +2001-06-26 Roland McGrath - * sysdeps/unix/sysv/linux/sparc/sysdep.h (inline_syscall0): Make asm - volatile. - (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4, - inline_syscall5, inline_syscall6): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL): - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (INLINE_SYSCALL): - Likewise. + * hurd/hurdioctl.c: Include for memcpy decl. -2002-09-29 Roland McGrath +2001-07-03 Andreas Jaeger - * configure.in (libc_cv_ranlib_necessary check): Put the .o file in - the archive, not the .c file. - * configure: Regenerated. + * sysdeps/unix/sysv/sysv4/solaris2/configure.in: Remove check for + crypt add-on. -2002-09-29 Roland McGrath +2001-07-01 Mark Kettenis - * configure: Regenerated after aclocal.m4 change. + * sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in + the Hurd pfinet server, using equivalent code from the Linux + version in sysdeps/unix/sysv/linux/if_index.c. In detail: + Include , , , and + . Don't include and + anymore. + (if_nametoindex): New implementation using SIOCGIFINDEX. + (if_freenameindex): Straight copy of the Linux version. + (if_nameindex): New implementation based on pfinet_siocgifconf and + SIOCGIFINDEX. + (if_indextoname): New implementation using SIOCGIFNAME. + (map_interfaces): Function removed. + From Marcus Brinkmann . - * sysdeps/x86_64/sysdep.h [HAVE_ELF] (L): Define with .L##name form. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h (L): Don't define it here. +2001-06-30 Jakub Jelinek - * sysdeps/generic/dl-lookupcfg.h [USE_TLS] (DL_LOOKUP_RETURNS_MAP): - Define it, because _dl_sym presumes it (for any platform). + * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer + gaps below main executable. - * sysdeps/x86_64/dl-tls.h: New file. +2001-06-19 Andreas Jaeger - * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Add a cast. + * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): + Handle profiling. - * sysdeps/x86_64/elf/configure.in: New file. - * sysdeps/x86_64/elf/configure: New generated file. +2001-06-29 Andreas Jaeger -2002-09-28 Roland McGrath + * sysdeps/ieee754/ldbl-128/s_asinhl.c: New file. + Patch by Stephen L Moshier . - * elf/rtld.c (_dl_start): Fix conditional for declaring CNT. +2001-06-28 Ulrich Drepper - * aclocal.m4 (LIBC_PROG_BINUTILS): Don't clobber $RANLIB with ranlib - before we check it. + * manual/argp.texi: Tons of cleanups. + Patch by Clifford U. Smith . -2002-09-28 Ulrich Drepper +2001-06-28 Mark Kettenis - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __syscall_exit - entry point. + * manual/users.texi (Setting Groups): Correct initgroups + documentation. Add documentation for getgrouplist. -2002-09-28 Jakub Jelinek +2001-06-28 H.J. Lu - * posix/bug-regex11.c (tests): Add flags field. - (main): Avoid warnings. Use test[i].flags. Return nonzero - if any of the tests failed. - * posix/bug-regex12.c: New file. - * posix/Makefile (tests): Add bug-regex12. + * locale/findlocale.c (locale_file_list): Renamed to ... + (_nl_locale_file_list): This. Make it extern. + (free_mem): Move to ... + * locale/setlocale.c (free_mem): Here. -2002-03-02 Thorsten Kukuk +2001-06-28 Mark Kettenis - * sysdeps/unix/nice.c (nice): Use getpriority() for the return value. + * sysdeps/mach/hurd/read.c: Include . + (__libc_read): Don't call __pread. Use _hurd_fd_read directly + instead. + * sysdeps/mach/hurd/write.c: Include . + (__libc_write): Don't call __pwrite. Use _hurd_fd_write directly + instead. -2002-09-28 Jeff Bailey + * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Add back + -Wl,-soname option lost in 2001-06-16 change. - * sysdeps/unix/sysv/sysv4/solaris2/configure.in: Delete. - * sysdeps/unix/sysv/aix/configure.in: Update comment and remove - stdio=libio setting. +2001-06-27 Ulrich Drepper -2002-09-28 Roland McGrath + * posix/tst-regex.c: Pass REG_NEWLINE to regcomp. Add extra tests. + Restrict printing of string in debug mode to 100 characters to make + the output useful for long input texts. - * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Use INTUSE for - _dl_signal_error. - * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Likewise. - * sysdeps/powerpc/powerpc64/dl-machine.c - (_dl_reloc_overflow): Likewise. - * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise. - (elf_machine_rela): Likewise. + * posix/Makefile: Add rules to build and run tst-regex. -2002-09-27 Steven Munroe +2001-06-20 Isamu Hasegawa - * include/libc-symbols.h (__hidden_dot_weak1): Fix typo. Replace - ASM_GLOBAL_DIRECTIVE with .weak. + * posix/regex.c (FREE_WCS_BUFFERS): New macro to free buffers. + (re_search_2): Invoke convert_mbs_to_wcs and FREE_WCS_BUFFERS. + (wcs_re_match_2_internal): Check whether the wcs buffers need + seting up or not, and skip seting up routin if not needed. -2002-09-28 Andreas Jaeger +2001-06-26 Isamu Hasegawa - * sysdeps/unix/sysv/linux/mips/truncate64.c (truncate64): Fix - number of args to syscall. - * sysdeps/unix/sysv/linux/mips/ftruncate64.c (__ftruncate64): Likewise. - Patch by Guido Guenther . + * posix/regex.c (count_mbs_length): Use binary search for optimization. -2002-09-27 Roland McGrath +2001-06-27 Ulrich Drepper - * sysdeps/unix/sysv/linux/x86_64/sysdep.h (__NR_pread, __NR_pwrite): - Define these to __NR_pread64, __NR_pwrite64 if not defined. + * posix/tst-regex.c: Fix several bugs. Add more tests. - * sysdeps/unix/sysv/linux/powerpc/lchown.S - [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Use this condition - on chown compatibility symbol; use compat_symbol, not symbol_version. +2001-06-26 Mark Kettenis -2002-09-27 Isamu Hasegawa + * hurd/Makefile (user-interfaces): Add pfinet. + * hurd/hurdioctl.c: Include , and + . + (siocgifconf): New function. Register it with HURD_HANDLE_IOCTL + as the handler for SIOCGIFCONF. + * sysdeps/mach/hurd/bits/ioctls.h: Modify SIOCSIFFLAGS and + SIOCGIFFLAGS to be of IOC type ifreq_short. Modify SIOCSIFMETRIC + and SIOCGIFMETRIC to be of IOC type ifreq_int. Add new macro + definitions for SIOCGIFMTU, SIOCSIFMTU, SIOCGIFINDEX and + SIOCGIFNAME. + From Marcus Brunkmann . - * posix/regcomp.c (reg_free): Free the debug area. - (re_compile_internal): Allocate debug area for the input string. - (create_initial_state): Check the back references in initial states - if they are really match null string in the initial state. - (parse_reg_exp): Mark the dfa that the dfa can have plural matchings. - (parse_expression): Likewise. - (parse_bracket_exp): Likewise. - * posix/regex_internal.c (re_node_set_intersect): Remove unused - function. - (re_node_set_contains): Change to return the index of node. - * posix/regex_internal.h (re_backref_cache_entry): Change the members. - (re_match_context_t): Likewise. - (struct re_dfa_t): Likewise. - (re_sift_context_t): New structure. - * posix/regexec.c (match_ctx_clear_flag): New function. - (sift_ctx_init): Likewise. - (update_cur_sifted_state): Likewise. - (add_epsilon_src_nodes): Likewise. - (sub_epsilon_src_nodes): Likewise. - (check_subexp_limits): Likewise. - (search_subexp): Likewise. - (sift_states_bkref): Likewise. - (merge_state_array): Likewise. - (sift_states_iter_bkref): Remove unused function. - (add_epsilon_backreference): Remove unused function. - (re_search_internal): Adapt new members and interfaces. - (check_matching): Check the back references in initial states - if they are really match null string in the initial state. - (proceed_next_node): Change the evaluation of back references, - since we have real registers here. - (set_regs): Adapt new interface of proceed_next_node. - (sift_states_backward): Add invocation of update_cur_sifted_state - instead of add_epsilon_backreference. - Add a sentinel to the outermost while loop. - Move the handling of back references to sift_states_bkref function, - since we can't handle some back references (e.g. a back reference - which match NULL string) here. - (transit_state_mb): Handle the new member max_mb_elem_len. - (transit_state_bkref_loop): Move the evaluation of back references to - search_subexp function, since we can't evaluate some back references - (e.g. a back reference which can have plural matchings) here. - (match_ctx_init): Adapt the new member. - (match_ctx_add_entry): Adapt the new members. +2001-06-25 Ulrich Drepper -2002-09-25 Alan Modra - - * elf/do-rel.h: Define macro DO_ELF_MACHINE_REL_RELATIVE for - 'elf_machine_rel_relative' - (elf_dynamic_do_rel): Call DO_ELF_MACHINE_REL_RELATIVE macro - instead of 'elf_machine_rel_relative'. - * sysdeps/hppa/dl-machine.h: - Define macro DO_ELF_MACHINE_REL_RELATIVE for - 'elf_machine_rel_relative' with extra map parameter - required by HPPA. - (elf_machine_rela_relative): Add plt relocation changes. + * sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short + and _IOT_ifreq_int. Patch by Mark Kettenis . -2001-11-14 Matthew Wilcox + * elf/dl-deps.c (_dl_map_object_deps): Fix handling of failing + _dl_catch_error calls. - * sysdeps/unix/sysv/linux/hppa/bits/ipc.h: New file. - * sysdeps/unix/sysv/linux/hppa/bits/msq.h: New file. - * sysdeps/unix/sysv/linux/hppa/bits/sem.h: New file. - * sysdeps/unix/sysv/linux/hppa/bits/shm.h: New file. +2001-06-22 Jakub Jelinek -2002-09-27 Steven Munroe + * posix/regex.c (regex_compile, re_match_2_internal): Fix comment + typos. - * sysdeps/powerpc/powerpc32/Makefile: Fix typo in comment. +2001-06-01 Wolfram Gloger - * sysdeps/powerpc/powerpc64/Makefile - [$(build-shared) = yes] (pic-ccflag): Define it. - [$(subdir) = csu] (CFLAGS-initfini.s): Add -fpic here too. - -2002-09-27 Roland McGrath - - * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Remove - unneeded TLS cases. - -2002-09-27 Jakub Jelinek - - * elf/dl-addr.c (_dl_addr): Set dli_fbase to l_map_start - unconditionally. Set dli_fname to _dl_argv[0] only for main program. - -2002-09-27 Roland McGrath - - * elf/dl-addr.c (_dl_addr): Add a cast. - - * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [USE_TLS]: Handle new - TLS relocs R_X86_64_DTPMOD64, R_X86_64_DTPOFF64, and R_X86_64_TPOFF64. - - * elf/elf.h (R_X86_64_DTPMOD64, R_X86_64_DTPOFF64, R_X86_64_TPOFF64, - R_X86_64_TLSGD, R_X86_64_TLSLD, R_X86_64_DTPOFF32, - R_x86_64_GOTTPOFF, R_X86_64_TPOFF32): New macros. - (R_X86_64_NUM): Update the value. - -2002-09-24 Jakub Jelinek - - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_load_address): Don't - rely on *r_offset of R_SPARC_RELATIVE reloc in .got to contain the - addend. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address): Use - the same l_addr computation. - * sysdeps/sparc/sparc64/configure.in: Removed. - * sysdeps/sparc/sparc64/configure: Removed. - * config.h.in (SPARC64_DYNAMIC_BEFORE_GOT): Remove. - -2002-09-26 Ulrich Drepper - - * elf/dynamic-link.h (elf_get_dynamic_info): Relocate DT_HASH entry - if necessary. - * elf/dl-lookup.c (_dl_setup_hash): DT_HASH entry is already relocated. - * elf/dl-addr.c (_dl_addr): Use .hash[1] entry to determine end of the - symbol table if necessary. - -2002-09-26 Roland McGrath - - * stdlib/longlong.h: Replaced with current version from GCC mainline, - last modified 2002-09-22 Kazu Hirata . - -2002-09-25 Andreas Jaeger - - * sysdeps/unix/sysv/linux/mips/syscalls.list: Add syscall_exit. - Patch by Guido Guenther . - -2002-09-25 Roland McGrath - - * Makeconfig (%.v.i pattern rule): Use $(CPPFLAGS). - -2002-09-24 Ulrich Drepper - - * sysdeps/unix/sysv/linux/configure.in: Recognize nptl add-on name. - -2002-09-24 Roland McGrath - - * sysdeps/mach/hurd/Versions (ld: GLIBC_2.0): Move __libc_read, - __libc_write, __libc_lseek64, to ... - (ld: GLIBC_PRIVATE): ... here. - - * csu/Versions: Use %include to get USE_TLS defined. - (libc: GLIBC_2.0) [USE_TLS && HAVE___THREAD]: Remove _errno, errno. - (libc: GLIBC_2.3) [USE_TLS && HAVE___THREAD]: Put errno here instead. - * resolv/Versions: Use %include to get USE_TLS defined. - (libc: GLIBC_2.0) [USE_TLS && HAVE___THREAD]: Remove _h_errno, h_errno, - and _res. - (libc: GLIBC_2.3) [USE_TLS && HAVE___THREAD]: Put h_errno, _res here. + * malloc/malloc.c (malloc_atfork, free_atfork): Use a unique value + ATFORK_ARENA_PTR, not 0, for the thread-specific arena pointer + when malloc_atfork is in use. - * elf/tls-macros.h [__x86_64__] (TLS_LE, TLS_IE, TLS_LD, TLS_GD): - New macros for x86-64. +2001-06-22 Andreas Jaeger - * sysdeps/unix/sysv/linux/alpha/bits/time.h: File removed. - It was indentical to the linux/bits/time.h file. + * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Add parenthese + to avoid warnings. - * nscd/nscd_gethst_r.c (nscd_gethst_r): Add a cast to silence warning. - - * resolv/gethnamaddr.c (gethostbyaddr): Use socklen_t for SIZE. - -2002-09-23 Ulrich Drepper - - * po/zh_CN.po: New file. - -2002-09-23 Roland McGrath - - * posix/unistd.h: Test [__USE_UNIX98] instead of [__USE_OPEN2K] - for gethostname declaration. - - * catgets/open_catalog.c (__open_catalog): Don't use a value type - as the __builtin_expect expression, just the Boolean value. - - * sysdeps/generic/wordexp.c (parse_glob): int -> size_t for counter. - * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise. - * resolv/res_hconf.c (arg_service_list, parse_line): Likewise. - * iconvdata/tst-loading.c (main): Likewise. - * catgets/tst-catgets.c (main): Likewise. - * stdlib/tst-xpg-basename.c (main): Likewise. - * stdlib/tst-bsearch.c (main): Likewise. - * stdio-common/test-vfprintf.c (main): Likewise. - * stdio-common/tst-rndseek.c (do_test): Likewise. - * libio/tst_swprintf.c (main): Likewise. - * libio/tst-fgetws.c (main): Likewise. - * wcsmbs/tst-mbrtowc.c (check_ascii): Likewise. - * time/tst-posixtz.c (main): Likewise. - * time/tst-strptime.c (test_tm): Likewise. - * time/tst-strptime.c (main): Likewise. - * time/tst-getdate.c (main): Likewise. - * posix/tst-mmap.c (main): Likewise. - * posix/tst-getaddrinfo.c (do_test): Likewise. - * io/tst-getcwd.c (do_test): Likewise. - * resolv/tst-aton.c (main): Likewise. - * inet/tst-network.c (main): Likewise. - * libio/tst-fgetws.c (main): Likewise. - * sysdeps/posix/sprofil.c (add_region): int -> unsigned int for I. - * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): int -> unsigned int - for PTYNO. - - * stdlib/msort.c (qsort): Add a cast to silence warning. - * stdio-common/vfprintf.c (process_string_arg): Likewise. - * libio/oldfileops.c (_IO_old_do_write): Likewise. - * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Likewise. - * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise. - * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise. - * argp/argp-fmtstream.c (__argp_fmtstream_printf): Likewise. - * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. - * sysdeps/unix/grantpt.c (grantpt): Likewise. - * libio/tst-widetext.c (main): Likewise. - * libio/tst-mmap2-eofsync.c (do_test): Likewise. - * rt/tst-aio.c (test_file): Likewise. - * rt/tst-aio64.c (test_file): Likewise. - * resolv/tst-aton.c (main): Likewise. - - * catgets/catgetsinfo.h (CATGETS_MAGIC): Use U suffix on the constant. - - * ctype/ctype.c (__ctype_tolower, __ctype_toupper): Cast to int32_t - instead of uint32_t in these macros. - -2002-09-22 Bruno Haible - - * iconv/iconv_prog.c (main): Provide an error message that identifies - the wrong encoding. - - * iconvdata/tscii.c: New file. - * iconvdata/testdata/TSCII: New file. - * iconvdata/testdata/TSCII..UTF8: New file. - * iconvdata/TSCII.precomposed: New file. - * iconvdata/TSCII.irreversible: New file. - * iconvdata/gconv-modules (TSCII): New module. - * iconvdata/Makefile (modules): Add TSCII. - (distribute): Add tscii.c. - * iconvdata/tst-table-from.c (try, utf8_decode, main): Double output - buffer size. - * iconvdata/tst-tables.sh: Add TSCII. - * iconvdata/TESTS: Add TSCII. - - Revert 2002-04-18 patch. - * iconvdata/euc-jisx0213.c (EMIT_SHIFT_TO_INIT, BODY for - FROM_DIRECTION): Make the FROM direction stateful again. - * iconvdata/shift_jisx0213.c (EMIT_SHIFT_TO_INIT, BODY for - FROM_DIRECTION): Likewise. - - * iconvdata/tst-e2big.c: New file. - * iconvdata/Makefile (tests): Add tst-e2big. - -2002-09-23 Roland McGrath - - * elf/Makefile (test-extras): Define this instead of test-srcs. - * Makerules (all-nonlib): Include $(test-extras) too. - -2002-09-21 Carlos O'Donell - - * sysdeps/hppa/abort-instr.h: New file. - -2002-09-22 Roland McGrath - - * sysdeps/mach/hurd/Versions (ld: GLIBC_2.0): Remove duplicate entry. - - * sysdeps/mach/hurd/dl-sysdep.c (_exit): Add alias __GI__exit. - -2002-09-22 Andreas Schwab - - * cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Append, not overwrite. - - * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal) - (isless, islessequal, islessgreater, isunordered) [GCC >= 3.1]: - Use GCC builtins. - -2002-09-21 Roland McGrath - - * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_PLATFORM): - Correct the value so it covers all platforms, and is computed - from _DL_PLATFORMS_COUNT rather than hard-wired. - From Andrew Suffield . - -2002-09-20 Ulrich Drepper - - * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Avoid - locking when using mount tab file. - * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise. - * sysdeps/unix/sysv/linux/statvfs.c: Include . - * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise. - - * elf/dl-init.c (_dl_init): Fix test of the size of the - preinit_array section. - (call_init): Optimize access to DT_INIT_ARRAY entry a bit. - Reported by Brian Cabral . - -2002-09-20 Steven Munroe - - * sysdeps/powerpc/sysdep.h: Remove powerpc32 specific macros. - * sysdeps/powerpc/powerpc32/sysdep.h: New file. Define powerpc32 - specific macros copied from sysdeps/powerpc/sysdep.h. - * sysdeps/powerpc/powerpc64/sysdep.h: New file. Define powerpc64 - specific macros. - * sysdeps/unix/powerpc/sysdep.h: Include . - [__WORDSIZE==64]: Include sysdeps/powerpc/powerpc64/sysdep.h. - [!__WORDSIZE==64]: Include sysdeps/powerpc/powerpc32/sysdep.h. - -2002-09-19 Bruno Haible - - * intl/dcigettext.c (DCIGETTEXT): Restore errno only right before - returning. - -2002-09-17 Bruno Haible - - * sysdeps/generic/utmp-equal.h: New file, extracted from utmp_file.c. - * sysdeps/generic/utmp_file.c (setutent_file): Invalidate last_entry - also on platforms with !HAVE_UT_TYPE. - (proc_utmp_eq): Remove function. - (internal_getut_r, pututline_file): Call __utmp_equal instead. - -2002-09-20 Bruno Haible - - * abi-tags: Add support for FreeBSD with ABI OS value 3. - * elf/cache.c (print_entry): Support the GNU/FreeBSD ABI tag. - -2002-09-20 Roland McGrath - - * sysdeps/generic/gmp-mparam.h: Include . - (BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB, BITS_PER_LONGINT): Define in - terms of __WORDSIZE. - * sysdeps/x86_64/gmp-mparam.h: File removed. - * sysdeps/sparc/gmp-mparam.h: File removed. - * sysdeps/mips/mips64/gmp-mparam.h: File removed. - * sysdeps/ia64/gmp-mparam.h: File removed. - * sysdeps/alpha/gmp-mparam.h: File removed. - -2002-09-20 Steven Munroe - - * sysdeps/powerpc/elf/libc-start.c: Use long in place of int for argc - load, so as to work on both 32-bit and 64-bit. Remove unnecessary - casts. Align __libc_stack_end to 8 bytes. - -2002-09-20 Roland McGrath - - * sysdeps/powerpc/fpu/s_lrint.c: Use strong_alias/weak_alias macros - instead of asm for lrintf, __lrintf aliases. - - * sysdeps/powerpc/fpu/s_lrint.c (__lrint): Change union long array to - int array for 32-/64-bit compatibility. - From Steven Munroe . - -2002-09-17 Bruno Haible - - * sysdeps/generic/ifreq.h (__if_nextreq): New function. - * sysdeps/unix/sysv/linux/ifreq.h (__if_nextreq): New function. - * sysdeps/mach/hurd/ifreq.h (__if_nextreq): New function. - * sysdeps/gnu/ifaddrs.c (getifaddrs): Use __if_nextreq - for iterating through the list of interfaces. - * resolv/res_hconf.c (_res_hconf_reorder_addrs): Likewise. - -2002-09-20 Roland McGrath - - * sysdeps/unix/grantpt.c (pts_name): Set errno when __ptsname_r fails. - Reported by Bruno Haible . - - * sysdeps/unix/bsd/bsd4.4/isatty.c: New file. - - * sysdeps/unix/bsd/isatty.c (__isatty): Don't save and restore errno. - * sysdeps/unix/bsd/ptsname.c (__ptsname_r): Return errno value from - isatty unmodified. Reported by Bruno Haible . - -2002-09-20 Steven Munroe - - * sysdeps/powerpc/bits/setjmp.h [__WORDSIZE]: Add 64-bit jmpbuf. - * sysdeps/powerpc/bits/wordsize.h: New file. - * sysdeps/powerpc/fpu/bits/mathinline.h (lrint, lrintf): Change long - array to int array for 32-/64-bit compatibility. - -2002-09-20 Roland McGrath - - * login/programs/utmpdump.c: Don't include , . - - * sysdeps/generic/utimes.c (__utimes): Don't check TVP for null. - Reported by Bruno Haible . - - * sysdeps/generic/ifreq.h (__ifreq): Compute termination condition - before doubling RQ_LEN. - * sysdeps/unix/sysv/linux/ifreq.h (__ifreq): Likewise. - Reported by Bruno Haible . - -2002-09-18 Bruno Haible - - * login/logout.c (logout): Don't assume ut_time has the same size as - a time_t. - * login/logwtmp.c (logwtmp): Likewise. - - * sysdeps/pthread/configure: New file, moved here from - linuxthreads/sysdeps/unix/sysv/linux/configure. - -2002-09-19 Ulrich Drepper - - * sysdeps/unix/sysv/linux/_exit.c: Include . - (_exit): Don't use ABORT_INSTRUCTION if it is not defined. - Reported by Glen Nakamura . - -2002-09-19 Neal H. Walfield - - * sysdeps/mach/hurd/fork.c (__fork): Do not free the signal - thread's sigstate data structure if it has been allocated. - -2002-09-19 Roland McGrath - - * include/libc-symbols.h [HAVE_ASM_SET_DIRECTIVE] - [! HAVE_ASM_GLOBAL_DOT_NAME] (__hidden_dot_def1): Fix typo'd name. - -2002-09-18 Ulrich Drepper - - * version.h (VERSION): Bump to 2.2.94. - - * sysdeps/powerpc/fpu/Dist: Move fprrest.S and fprsave.S to... - * sysdeps/powerpc/powerpc32/fpu/Dist: ...here. New file. - * sysdeps/unix/sysv/linux/powerpc/Dist: Move kernel_stat.h to... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: ...here. - - * sysdeps/i386/Makefile: Remove obsolete db2 rules. - - * sysdeps/unix/sysv/linux/Makefile: Add exit-thread.S. - - * sysdeps/unix/sysv/linux/powerpc/Dist: Add ldd-rewrite.sh. - - * sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: New file. - -2002-09-19 Jakub Jelinek - - * sysdeps/wordsize-32/Makefile: New file. - * sysdeps/arm/Makefile: Removed. - * sysdeps/i386/Makefile (sysdep_routines, shared-only-routines): - Don't add divdi3 here. - * sysdeps/m68k/Makefile: Likewise. - * sysdeps/powerpc/powerpc32/Makefile: Likewise. - * sysdeps/sh/Makefile: Likewise. - * sysdeps/s390/s390-32/Makefile: Likewise. - -2002-09-18 Roland McGrath - - * locale/lc-ctype.c (_nl_postload_ctype): Add compat_symbol decls for - the __ctype_* compat symbols, so the relocs generated bind to the - right versioned global symbol in the shared object. - - * elf/do-rel.h (elf_dynamic_do_rel): Mask off 0x8000 bit (hidden flag) - from the value taken from the DT_VERSYM table. - * elf/dl-runtime.c (fixup, profile_fixup): Likewise. - * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Likewise. - (RESOLVE_GOTSYM): Likewise. - - * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction): - Add libc_hidden_def. - * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise. - -2002-09-18 Ulrich Drepper - - * include/signal.h: Add libc_hidden_proto for __libc_sigaction. - - * sysdeps/unix/sysv/linux/sigaction.c: If SIGCANCEL is defined - define sigaction and __sigaction as wrappers around - __libc_sigaction which rejects changing SIGCANCEL. - * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. - - * sysdeps/unix/sysv/linux/i386/clone.S: Add support for SETTLS and - SETTID/CLEARTID. - - * signal/allocrtsig.c: Move to... - * sysdeps/generic/allocrtsig.c: ...here. New file. - -2002-09-17 Jakub Jelinek - - * elf/dl-lookup.c (_dl_debug_bindings): Print TLS lookups always. - - * elf/elf.h (R_386_TLS_TPOFF, R_386_TLS_IE, R_386_TLS_GOTIE, - R_386_TLS_LE): Define. - (R_386_TLS_IE_32, R_386_TLS_LE_32, R_386_TLS_TPOFF32): Update - comments. - * sysdeps/i386/dl-machine.h (elf_machine_type_class): Return - ELF_RTYPE_CLASS_PLT for R_386_TLS_TPOFF. - (elf_machine_rel): Handle R_386_TLS_TPOFF. - (elf_machine_rela): Likewise. - Remove unnecessary RTLD_BOOTSTRAP #ifdefs. - -2002-09-17 Roland McGrath - - * malloc/Makefile ($(objpfx)memusagestat.o: sysincludes): Define - file-specific variable override so it compiles properly when using - --with-headers. - -2002-09-17 Steven Munroe - - Ported to PowerPC64 running Linux. - * sysdeps/powerpc/powerpc64/Dist: New file. - * sysdeps/powerpc/powerpc64/Implies: New file. - * sysdeps/powerpc/powerpc64/Makefile: New file. - * sysdeps/powerpc/powerpc64/__longjmp.S: New file. - * sysdeps/powerpc/powerpc64/atomicity.h: New file. - * sysdeps/powerpc/powerpc64/backtrace.c: New file. - * sysdeps/powerpc/powerpc64/bp-asm.h: New file. - * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: New file. - * sysdeps/powerpc/powerpc64/bsd-setjmp.S: New file. - * sysdeps/powerpc/powerpc64/dl-dtprocnum.h: New file. - * sysdeps/powerpc/powerpc64/dl-lookupcfg.h: New file. - * sysdeps/powerpc/powerpc64/dl-machine.c: New file. - * sysdeps/powerpc/powerpc64/dl-machine.h: New file. - * sysdeps/powerpc/powerpc64/memset.S: New file. - * sysdeps/powerpc/powerpc64/ppc-mcount.S: New file. - * sysdeps/powerpc/powerpc64/register-dump.h: New file. - * sysdeps/powerpc/powerpc64/setjmp.S: New file. - * sysdeps/powerpc/powerpc64/stpcpy.S: New file. - * sysdeps/powerpc/powerpc64/strchr.S: New file. - * sysdeps/powerpc/powerpc64/strcmp.S: New file. - * sysdeps/powerpc/powerpc64/strcpy.S: New file. - * sysdeps/powerpc/powerpc64/strlen.S: New file. - * sysdeps/powerpc/powerpc64/elf/bzero.S: New file. - * sysdeps/powerpc/powerpc64/elf/start.S: New file. - * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: New file. - * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: New File. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/glob64.c: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: New file. - - * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] - (C_SYMBOL_DOT_NAME): Insure that C_SYMBOL_DOT_NAME works for - various gcc versions. Dot names required for powerpc64. - [HAVE_ASM_GLOBAL_DOT_NAME] (_weak_extern): Add .weakext '.'ed symbol. - [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias): Add .global - C_SYMBOL_DOT_NAME(alias). - [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): New macro. Same as - original strong_alias macro. - [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Add .weakext/.weak - C_SYMBOL_DOT_NAME(alias). - [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Add .symver '.'ed name. - [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Add .symver - '.'ed name. - Add comments on libc_hidden_data_def and libc_hidden_data_weak usage. - [HAVE_ASM_GLOBAL_DOT_NAME] (hidden_dot_def1): New macro. Generate - .global C_SYMBOL_DOT_NAME(alias). Otherwise an empty macro. - (hidden_def): Append hidden_dot_def1 macro to definition. - (hidden_ver): Append hidden_dot_def1 macro to definition. - (hidden_data_def): New macro. Same as original hidden_def macro. - (hidden_data_ver): New macro. Same as original hidden_ver macro. - [HAVE_ASM_GLOBAL_DOT_NAME] (hidden_dot_weak1): New macro. Generate - .weakext C_SYMBOL_DOT_NAME(alias). Otherwise an empty macro. - (hidden_weak): Append hidden_dot_weak1 macro to definition. - (hidden_data_weak): New macro. Same as original hidden_weak macro. - [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Define as .__GI_name. - Otherwise defined as __GI_name. - (libc_hidden_data_def): New macro. Use hidden_data_def. - (libc_hidden_data_weak): New macro. Use hidden_data_weak. - (libc_hidden_data_ver): New macro. Use hidden_data_ver. - (rtld_hidden_data_def): New macro. Use hidden_data_def. - (rtld_hidden_data_weak): New macro. Use hidden_data_weak. - (rtld_hidden_data_ver): New macro. Use hidden_data_ver. - (libm_hidden_data_def): New macro. Use hidden_data_def. - (libm_hidden_data_weak): New macro. Use hidden_data_weak. - (libm_hidden_data_ver): New macro. Use hidden_data_ver. - * inet/in6_addr.c: Replace libc_hidden_def with libc_hidden_data_def. - -2002-09-17 Ulrich Drepper - - * include/libc-symbols.h: Change *hidden_proto macros to accept - option parameters and pass those to the attribute definition. - * include/unistd.h (_exit): Add __noreturn__ to libc_hidden_proto call. - - * include/unistd.h: Declare __libc_pause. - - * include/sys/socket.h: Declare __libc_send, __libc_recv, - __libc_sendto, __libc_sendmsg, __libc_recvmsg, and __libc_accept. - - * include/unistd.h: Declare __libc_fork. - -2002-09-17 Roland McGrath - - * sunrpc/xcrypt.c (passwd2des_internal): Renamed fom passwd2des. - (passwd2des): Define it as an alias. - (xencrypt, xdecrypt): Call passwd2des_internal instead of passwd2des. - -2002-09-12 Bruno Haible - - * include/sys/sysctl.h (__sysctl): Add libc_hidden_proto. - * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Add libc_hidden_def. - - * include/rpc/xdr.h (xdrstdio_create): Add libc_hidden_proto. - * sunrpc/xdr_stdio.c (xdrstdio_create): Add libc_hidden_def. - -2002-09-05 Steven Munroe - - * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc64__] - (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_STAT64_SYSCALL, __ASSUME_IPC64, - __ASSUME_FCNTL64, __ASSUME_MMAP2_SYSCALL): Don't define these. - PowerPC64 does not have separate 64-bit syscalls. - -2002-09-16 Roland McGrath - - * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Add a cast. - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL): - New macro. - - * elf/rtld.c [HP_TIMING_NONAVAIL]: Fix last change for this case. - - * include/unistd.h: Uncomment libc_hidden_proto for _exit. - * sysdeps/mach/hurd/_exit.c: Add libc_hidden_def. - * sysdeps/generic/_exit.c: Likewise. - -2002-09-12 Jakub Jelinek - - * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Regenerate. - - * elf/rtld.c (struct dl_start_final_info): New. - (_dl_start_final): Change second argument to struct - dl_start_final_info *. Set start_time from info. - (_dl_start): Remove bootstrap_map variable, add info. - Define bootstrap_map as macro. If not DONT_USE_BOOTSTRAP_MAP, - store HP_TIMING_NOW result into info.start_time. - -2002-09-16 Andreas Jaeger - - * sysdeps/unix/sysv/linux/_exit.c: Add libc_hidden_def and weak_alias - to _Exit. - * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise. - -2002-09-15 Franz Sirl - - * sysdeps/powerpc/abort-instr.h: New file. - -2002-09-14 Ulrich Drepper - - * sysdeps/generic/libc-start.c (__libc_start_main): Remove bogus - comment. - - * test-skeleton.c (main): Provide more information in case waitpid - fails. - - * include/unistd.h: Declare __exit_thread. - * sysdeps/generic/libc-start.c (__libc_start_main): Remove dummy_addr. - Wrap call to main in setjmp if HAVE_CANCELBUF is defined. - * sysdeps/unix/sysv/linux/exit-thread.S: New file. - * sysdeps/unix/sysv/linux/_exit.c: New file. - * sysdeps/unix/sysv/linux/i386/_exit.S: New file. - * sysdeps/unix/sysv/linux/Makefile [subdir==posix] (sysdep_routines): - Add exit-thread. - - * configure.in: Add dl_iterate_phdr to test using -nostdlib. - -2002-09-12 Jakub Jelinek - - * sysdeps/i386/dl-machine.h (elf_machine_rel) - (case R_386_TLS_DTPMOD32): Don't use addend. - [case R_386_TLS_TPOFF32]: Remove redundant SYM_MAP != NULL check. - (elf_machine_rela): Add support for TLS relocs. - -2002-09-14 Roland McGrath - - * Makefile (manual/%): Add this pattern target to the iconvdata/% rule. - -2002-07-29 Steven Munroe - - * stdlib/longlong.h [_ARCH_PPC && W_TYPE_SIZE!=32]: Add powerpc64 - specific asm macros for multiple percision integer math. - -2002-06-04 Steven Munroe - - * sysdeps/generic/ldconfig.h (FLAG_POWERPC_LIB64) New macro. - * elf/cache.c (print_entry): Add case for FLAG_POWERPC_LIB64. - Remove per-machine conditionals for FLAG_* cases. - * sysdeps/unix/sysv/linux/powerpc/ldconfig.h: New file. - * sysdeps/unix/sysv/linux/powerpc/readelflib.c: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/dl-cache.h: New file. - -2002-09-10 Alan Modra - - * csu/gmon-start.c [!TEXT_START]: Define TEXT_START if not already - defined in entry.h. - (__gmon_start__) [!ENTRY_POINT_DECL]: Use TEXT_START macro to obtain - lowest address for profiling in __monstartup call. - * sysdeps/powerpc/powerpc64/elf/entry.h: New file. - -2002-09-14 Roland McGrath - - * sysdeps/unix/sysv/linux/pread.c: __NR_pread64 may be defined - instead of __NR_pread. - * sysdeps/unix/sysv/linux/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/pwrite.c: __NR_pwrite64 may be defined - instead of __NR_pwrite. - * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. - -2002-09-13 Roland McGrath - - * manual/libc.texinfo: @ifinfo -> @ifnottex around copyright notice. - -2002-09-13 Andreas Jaeger - - * sysdeps/unix/sysv/linux/mips/syscalls.list: Add readahead - syscall. Patch by Guido Guenther . - -2002-09-12 Ulrich Drepper - - * elf/elf.h: Correct DT_LOOS and DT_HIOS values. - -2002-09-10 Ulrich Drepper - - * sysdeps/powerpc/fpu/s_isnan.c: #undef __isnanf and isnanf after - reading the headers. - -2002-09-12 Roland McGrath - - * elf/rtld.c (_dl_start_final): Move _begin, _end decls outside the fn. - (_dl_start) [DONT_USE_BOOTSTRAP_MAP]: Use &_begin instead of l_addr to - find the ELF header. - - * elf/rtld.c (dl_main) [USE_TLS]: Adjust l_tls_initimage of main - executable if needed, in case it's actually a shared object. - -2002-09-11 Roland McGrath - - * elf/dl-load.c (_dl_map_object_from_fd): Use l_addr instead of - l_map_start to adjust l_tls_initimage. - - * nss/getnssent_r.c (__nss_getent_r): Use EAGAIN instead of errno - when using h_errno and it's not set to NETDB_INTERNAL. - * nss/getXXbyYY_r.c [NEED_H_ERRNO]: Likewise. - - * Makefile ($(common-objpfx)testrun.sh): New target. - (others): Depend on it. - (postclean-generated): Append it. - - * nss/bug-erange.c: New file. - * nss/Makefile (tests): Add it. - - * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Return errno - instead of always EAGAIN when status is NSS_STATUS_TRYAGAIN. - - * sysdeps/generic/dl-environ.c (unsetenv): Redo last fix without - strncmp, keeps the code smaller for a non-performance-critical case. - - * sysdeps/generic/dl-environ.c (unsetenv): Rewritten using strncmp, - no longer wrongly matches arbitrary prefixes of NAME. - Reported by Jakub Jelinek . - -2002-09-11 Jakub Jelinek - - * posix/bug-regex11.c (tests): New array. - (main): Rewritten to run more different tests. - -2002-09-10 Roland McGrath - - * nscd/Makefile (CPPFLAGS-nscd, CPPFLAGS-nscd_conf, CPPFLAGS-dbg_log) - (CPPFLAGS-connections, CPPFLAGS-hstcache): Variables removed. - Instead, catch all of $(nscd-modules) via cppflags-iterator.mk. - - * sysdeps/powerpc/fpu/s_isnan.c: Do macro hackery on __GI___isnanf as - well so we don't get it declared by include/math.h's hidden_proto. - Then do hidden_proto for __isnanf locally so hidden_def works right. - - * posix/bug-regex5.c (main): Use `union locale_data_value' rather than - a cast to turn nl_langinfo return value into an integer. - -2002-09-10 Isamu Hasegawa - - * posix/regexec.c (build_trtable): Fix the destination of - newline to prevent wrong states from overwriting. - Append break statements to optimization. - -2002-09-10 Isamu Hasegawa - - * posix/regcomp.c: Wrap #include wchar.h and wctype.h in #if. - (build_range_exp): Add castings to strlen invocations. - (build_collating_symbol): Restore the type of characters from "char" - to "unsigned char", and supplement castings. - (build_collating_symbol): Likewise. - (build_equiv_class): Likewise. - (build_charclass): Likewise. - (seek_collating_symbol_entry): Likewise. - (parse_bracket_exp): Likewise. - (build_word_op): Supplement a casting. - * posix/regex_internal.c: Wrap #include wchar.h and wctype.h in #if. - (re_string_allocate): Fix castings. - (re_string_construct): Likewise. - (re_string_construct_common): Likewise. - (re_string_realloc_buffers): Likewise. - (build_wcs_buffer): Likewise. - (build_wcs_upper_buffer): Likewise. - (re_string_skip_chars): Likewise. - (re_string_reconstruct): Likewise. - * posix/regex_internal.h: Restore the type of characters in - re_string_t and bracket_elem_t from "char" to "unsigned char". - (re_string_elem_size_at): Fix castings. - * posix/regexec.c: Wrap #include wchar.h and wctype.h in #if. - (transit_state_bkref_loop): Restore the type of characters from - "char" to "unsigned char", and append a cast to "char*" pointer in - array subscript. - (check_node_accept_bytes): Likewise. - (find_collation_sequence_value): Likewise. - -2002-09-10 Hartvig Ekner - - * sysdeps/mips/memcpy.S: New file. - * sysdeps/mips/memset.S: New file. - * sysdeps/mips/fpu/e_sqrt.c: New file. - * sysdeps/mips/fpu/e_sqrtf.c: New file. - - * fpu/fclrexcpt.c: Cleaned up the FPU exception stuff - was not - functional before. Also removed all SHLIB_COMPAT stuff. - * fpu/fegetenv.c: Likewise. - * fpu/fesetenv.c:: Likewise. - * fpu/feupdateenv.c: Likewise. - * fpu/fgetexcptflg.c: Likewise. - * fpu/fraiseexcpt.c: Likewise. - - * sysdeps/mips/fpu/fsetexcptflg.c: New file. - -2002-09-09 Jakub Jelinek - - * include/math.h (__finite_internal, __finitef_internal, - __finitel_internal, __isinf_internal, __isnan_internal): Remove. - (isfinite): Remove. - (__finite, __isinf, __isnan, __finitef, __isinff, __isnanf, __finitel, - __isinfl, __isnanl): Add hidden_proto. - (__fpclassify, __fpclassifyf, __fpclassifyl, __expm1l): Add - libm_hidden_proto. - * math/Makefile (libm-calls): Add s_isinf and s_isnan. - * stdio-common/printf_fp.c (__printf_fp): Remove INTUSE from - __is{inf,nan} calls. - * stdio-common/printf_size.c (printf_size): Likewise. - * sysdeps/generic/printf_fphex.c (__printf_fphex): Likewise. - * sysdeps/generic/s_ldexp.c (__ldexp): Likewise. - * sysdeps/generic/s_ldexpf.c (__ldexpf): Likewise. - * sysdeps/generic/s_ldexpl.c (__ldexpl): Likewise. - * sysdeps/generic/s_expm1l.c (__expm1l): Add libm_hidden_def. - * sysdeps/i386/fpu/s_finite.S (__finite_internal): Remove alias. - (__finite): Add hidden_def. - * sysdeps/i386/fpu/s_finitef.S (__finitef_internal): Remove alias. - (__finitef): Add hidden_def. - * sysdeps/i386/fpu/s_finitel.S (__finitel_internal): Remove alias. - (__finitel): Add hidden_def. - * sysdeps/i386/fpu/s_isinfl.c (__isinfl): Remove INTDEF. Add - hidden_def. - * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise. - * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Add - libm_hidden_def. - * sysdeps/i386/fpu/s_expm1l.S (__expm1l): Likewise. - * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Remove INTDEF. Add - hidden_def. - * sysdeps/ieee754/dbl-64/s_isinf.c (__isinf): Likewise. - (__isinfl): Remove INTDEF. - * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Remove INTDEF. Add - hidden_def. - (__isnanl): Remove INTDEF. - * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Add - libm_hidden_def. - * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Use __sin and __cos - instead of sin and cos. - * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Remove INTDEF. - Add hidden_def. - * sysdeps/ieee754/flt-32/s_isinff.c (__isinff): Likewise. - * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise. - * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Add - libm_hidden_def. - * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Remove INTDEF. - Add hidden_def. - * sysdeps/ieee754/ldbl-128/s_isinfl.c (__isinfl): Likewise. - * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise. - * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl): Add - libm_hidden_def. - * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add - libm_hidden_def. - * sysdeps/ieee754/ldbl-96/s_finitel.c (__finitel): Remove INTDEF. - Add hidden_def. - * sysdeps/ieee754/ldbl-96/s_isinfl.c (__isinfl): Likewise. - * sysdeps/ieee754/ldbl-96/s_isnanl.c (__isnanl): Likewise. - * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c (__fpclassifyl): Add - libm_hidden_def. - * sysdeps/ia64/fpu/s_finite.S (__finite_internal, __finitef_internal, - __finitel_internal): Remove aliases. - (__finite, __finitef, __finitel): Add hidden_def. - * sysdeps/ia64/fpu/s_isnan.S (__isnan_internal, __isnanf_internal, - __isnanl_internal): Remove aliases. - (__isnan, __isnanf, __isnanl): Add hidden_def. - * sysdeps/ia64/fpu/s_isinf.S (__isinf_internal, __isinff_internal, - __isinfl_internal): Remove aliases. - (__isinf, __isinff, __isinfl): Add hidden_def. - * sysdeps/ia64/fpu/s_fpclassify.S (__fpclassify, __fpclassifyf, - __fpclassifyl): Add libm_hidden_def. - * sysdeps/ia64/fpu/s_expm1l.S (__expm1l): Likewise. - * sysdeps/m68k/s_isinfl.c (__isinfl): Remove INTDEF. Add hidden_def. - * sysdeps/m68k/fpu/s_isinf.c (INTDEFX): Remove. - (hidden_defx): Define and use. - * sysdeps/m68k/fpu/s_fpclassifyl.c (__fpclassifyl): Add - libm_hidden_def. - * sysdeps/m68k/fpu/s_expm1l.c (__expm1l): Likewise. - * sysdeps/m68k/s_isnanl.c (__isnanl): Add hidden_def. - * sysdeps/powerpc/fpu/s_isnan.c (__isnan, __isnanf, __isnanl): - Remove INTDEF. - (__isnan, __isnanf): Add hidden_def. - * sysdeps/x86_64/fpu/s_finitel.S (__finitel_internal): Remove alias. - (__finitel): Add libm_hidden_def. - * sysdeps/x86_64/fpu/s_expm1l.S (__expm1l): Likewise. - - * include/fenv.h (feraiseexcept, fesetenv): Add libm_hidden_proto. - * sysdeps/alpha/fpu/fesetenv.c (fesetenv): Add libm_hidden_ver. - * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Likewise. - * sysdeps/arm/fpu/fesetenv.c (fesetenv): Likewise. - * sysdeps/arm/fpu/fraiseexcpt.c (feraiseexcept): Likewise. - * sysdeps/generic/fesetenv.c (fesetenv): Likewise. - * sysdeps/generic/fraiseexcpt.c (feraiseexcept): Likewise. - * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise. - * sysdeps/i386/fpu/fraiseexcpt.c (feraiseexcept): Likewise. - * sysdeps/m68k/fpu/fesetenv.c (fesetenv): Likewise. - * sysdeps/m68k/fpu/fraiseexcpt.c (feraiseexcept): Likewise. - * sysdeps/mips/fpu/fesetenv.c (fesetenv): Likewise. - * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Likewise. - * sysdeps/powerpc/fpu/fesetenv.c (fesetenv): Likewise. - * sysdeps/powerpc/fpu/fraiseexcpt.c (feraiseexcept): Likewise. - * sysdeps/sparc/fpu/fesetenv.c (fesetenv): Likewise. - * sysdeps/sparc/fpu/fraiseexcpt.c (feraiseexcept): Likewise. - * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Add libm_hidden_def. - * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise. - * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Likewise. - * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Likewise. - * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise. - * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise. - * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise. - * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Likewise. - * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Likewise. - * sysdeps/x86_64/fpu/fraiseexcpt.c (feraiseexcept): Likewise. - -2002-09-09 Steven Munroe - - * elf/elf.h: Add powerpc64 specific elf relocation and dynamic types. - -2002-09-09 Jakub Jelinek - - * elf/dl-error.c (_dl_signal_cerror): Don't print anything if only - LD_DEBUG=statistics or LD_TRACE_PRELINKING. - -2002-09-09 Ulrich Drepper - - * string/stratcliff.c: Some more strncpy tests. - Patch by Daniel Jacobowitz . - -2002-09-08 Roland McGrath - - * resolv/resolv.h: Include for u_long even in - the [__need_res_state] case. - Reported by Bruno Haible . - -2002-09-04 Bruno Haible - - * sysdeps/generic/bits/ustat.h: Comment fix. - * io/sys/sendfile.h: Comment fix. - * sysdeps/posix/pread.c: Comment fix. - * sysdeps/posix/pread64.c: Comment fix. - * sysdeps/posix/pwrite.c: Comment fix. - * sysdeps/posix/pwrite64.c: Comment fix. - -2002-09-06 Roland McGrath - - * posix/sys/utsname.h (_UTSNAME_SYSNAME_LENGTH): New macro, defined - to _UTSNAME_LENGTH if not already defined by . - (_UTSNAME_RELEASE_LENGTH, _UTSNAME_VERSION_LENGTH): Likewise. - (_UTSNAME_MACHINE_LENGTH): Likewise. - (struct utsname): Use new macros instead of _UTSNAME_LENGTH. - -2002-09-06 Ulrich Drepper - - * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Correct - test for filesystem type name of mount points. - - * include/errno.h: Use errno definition with __thread for now only - in libc and ld.so. - - * test-skeleton.c (main): Improve error message for unexpected - signal case. - -2002-09-05 Roland McGrath - - * ctype/ctype-info.c: Renamed __ctype_old_* symbols to __ctype_*. - * locale/lc-ctype.c (_nl_postload_ctype): Likewise. - -2002-09-05 Jakub Jelinek - - * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Unlock and return in - case of failure. - -2002-09-04 Bruno Haible - - * sysdeps/unix/sysv/linux/sigset-cvt-mask.h (sigset_set_old_mask, - sigset_get_old_mask): Turn into inline functions. - * sysdeps/unix/sysv/aix/sigset-cvt-mask.h (sigset_set_old_mask, - sigset_get_old_mask): Likewise. - * sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h (sigset_set_old_mask, - sigset_get_old_mask): Likewise. - * sysdeps/generic/sigset-cvt-mask.h (sigset_set_old_mask): Declutter - syntax. - - * elf/readlib.c (process_file): Conditionalize check for QMAGIC. - - * sysdeps/generic/_strerror.c (_sys_errlist, _sys_nerr): Remove - default definitions. - (__strerror_r): Use _sys_errlist_internal instead of _sys_errlist, - _sys_nerr_internal instead of _sys_nerr. - - * nscd/connections.c (handle_request): Declare CALLER inside #if. - -2002-07-29 Steven Munroe - - * sysdeps/powerpc/__longjmp.S: Moved to... - * sysdeps/powerpc/powerpc32/__longjmp.S: ...here. - * sysdeps/powerpc/add_n.S: Moved to... - * sysdeps/powerpc/powerpc32/add_n.S: ...here. - * sysdeps/powerpc/addmul_1.S: Moved to... - * sysdeps/powerpc/powerpc32/addmul_1.S: ...here. - * sysdeps/powerpc/atomicity.h: Moved to... - * sysdeps/powerpc/powerpc32/atomicity.h: ...here. - * sysdeps/powerpc/backtrace.c: Moved to... - * sysdeps/powerpc/powerpc32/backtrace.c: ...here. - * sysdeps/powerpc/bp-asm.h: Moved to... - * sysdeps/powerpc/powerpc32/bp-asm.h: ...here. - * sysdeps/powerpc/bsd-_setjmp.S: Moved to... - * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: ...here. - * sysdeps/powerpc/bsd-setjmp.S: Moved to... - * sysdeps/powerpc/powerpc32/bsd-setjmp.S: ...here. - * sysdeps/powerpc/dl-machine.c: Moved to... - * sysdeps/powerpc/powerpc32/dl-machine.c: ...here. - * sysdeps/powerpc/dl-machine.h: Moved to... - * sysdeps/powerpc/powerpc32/dl-machine.h: ...here. - * sysdeps/powerpc/dl-start.S: Moved to... - * sysdeps/powerpc/powerpc32/dl-start.S: ...here. - * sysdeps/powerpc/gprrest0.S: Moved to... - * sysdeps/powerpc/powerpc32/gprrest0.S: ...here. - * sysdeps/powerpc/gprrest1.S: Moved to... - * sysdeps/powerpc/powerpc32/gprrest1.S: ...here. - * sysdeps/powerpc/gprsave0.S: Moved to... - * sysdeps/powerpc/powerpc32/gprsave0.S: ...here. - * sysdeps/powerpc/gprsave1.S: Moved to... - * sysdeps/powerpc/powerpc32/gprsave1.S: ...here. - * sysdeps/powerpc/lshift.S: Moved to... - * sysdeps/powerpc/powerpc32/lshift.S: ...here. - * sysdeps/powerpc/memset.S: Moved to... - * sysdeps/powerpc/powerpc32/memset.S: ...here. - * sysdeps/powerpc/mul_1.S: Moved to... - * sysdeps/powerpc/powerpc32/mul_1.S: ...here. - * sysdeps/powerpc/ppc-mcount.S: Moved to... - * sysdeps/powerpc/powerpc32/ppc-mcount.S: ...here. - * sysdeps/powerpc/register-dump.h: Moved to... - * sysdeps/powerpc/powerpc32/register-dump.h: ...here. - * sysdeps/powerpc/rshift.S: Moved to... - * sysdeps/powerpc/powerpc32/rshift.S: ...here. - * sysdeps/powerpc/setjmp.S: Moved to... - * sysdeps/powerpc/powerpc32/setjmp.S: ...here. - * sysdeps/powerpc/stpcpy.S: Moved to... - * sysdeps/powerpc/powerpc32/stpcpy.S: ...here. - * sysdeps/powerpc/strchr.S: Moved to... - * sysdeps/powerpc/powerpc32/strchr.S: ...here. - * sysdeps/powerpc/strcmp.S: Moved to... - * sysdeps/powerpc/powerpc32/strcmp.S: ...here. - * sysdeps/powerpc/strcpy.S: Moved to... - * sysdeps/powerpc/powerpc32/strcpy.S: ...here. - * sysdeps/powerpc/strlen.S: Moved to... - * sysdeps/powerpc/powerpc32/strlen.S: ...here. - * sysdeps/powerpc/sub_n.S: Moved to... - * sysdeps/powerpc/powerpc32/sub_n.S: ...here. - * sysdeps/powerpc/submul_1.S: Moved to... - * sysdeps/powerpc/powerpc32/submul_1.S: ...here. - * sysdeps/powerpc/elf/bzero.S: Moved to... - * sysdeps/powerpc/powerpc32/elf/bzero.S: ...here. - * sysdeps/powerpc/elf/start.S: Moved to... - * sysdeps/powerpc/powerpc32/elf/start.S: ...here. - * sysdeps/powerpc/fpu/__longjmp.S: Moved to... - * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: ...here. - * sysdeps/powerpc/fpu/fprrest.S: Moved to... - * sysdeps/powerpc/powerpc32/fpu/fprrest.S: ...here. - * sysdeps/powerpc/fpu/fprsave.S: Moved to... - * sysdeps/powerpc/powerpc32/fpu/fprsave.S: ...here. - * sysdeps/powerpc/fpu/setjmp.S: Moved to... - * sysdeps/powerpc/powerpc32/fpu/setjmp.S: ...here. - * sysdeps/powerpc/fpu/s_copysign.S: Moved to... - * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: ...here. - * sysdeps/powerpc/fpu/s_copysignf.S: Moved to... - * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: ...here. - * sysdeps/unix/sysv/linux/powerpc/brk.S: Moved to... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: ...here. - * sysdeps/unix/sysv/linux/powerpc/clone.S: Moved to... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: ...here. - * sysdeps/unix/sysv/linux/powerpc/glob64.c: Moved to... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: ...here. - * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h: Moved to... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: ...here. - * sysdeps/unix/sysv/linux/powerpc/socket.S: Moved to... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: ...here. - * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Moved to... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: ...here. - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Moved to... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: ...here. - Support PowerPC64. Separate powerpc into powerpc/powerpc32 and - powerpc/powerpc64. - -2002-07-29 Steven Munroe - - * FAQ.in: Add powerpc64 to supported targets list. Also state the - minimum gcc version is 3.2 - * README: Add powerpc64 to supported targets list. - * configure.in: Change machine=powerpc to machine=powerpc/powerpc32. - Add powerpc64 and machine=powerpc/powerpc64. - (HAVE_ASM_GLOBAL_DOT_NAME): Define if linux*powerpc/powerpc64*. - * shlib-versions: Set DEFAULT version to 2.2.5 for powerpc64. - * sysdeps/powerpc/Dist: Remove dl-machine.c, dl-start.S, ppc-mcount.S, - gprsave1.S, gprsave0.S, gprrest1.S, and gprrest0.S. - * sysdeps/powerpc/powerpc32/Dist: New file. - * sysdeps/powerpc/Implies: Remove wordsize-32 and powerpc/soft-fp. - * sysdeps/powerpc/powerpc32/Implies: New file. - * sysdeps/powerpc/Makefile(cflags): Remove powerpc32 specific cflags. - ($(with-fp) = no): Move test to powerpc32/Makefile. - ($(subdir) = misc): Move to powerpc32/Makefile. - ($(build-shared) = yes): Move to powerpc32/Makefile. - ($(subdir) = csu): Move to powerpc32/Makefile. - (sysdep-rtld-routines): Remove dl-start. Moved these bits to ... - * sysdeps/powerpc/powerpc32/Makefile: New file. - * sysdeps/powerpc/Versions: Remove libgcc functions. - * sysdeps/powerpc/powerpc32/Versions: New file. - * sysdeps/powerpc/fpu/Makefile: Remove fprsave and fprrest. - * sysdeps/powerpc/powerpc32/fpu/Makefile: New file. - * sysdeps/unix/sysv/linux/configure.in (powerpc*): - Set arch_minimum_kernel=2.4.19 for powerpc/powerpc64. Also set - libc_cv_gcc_unwind_find_fde=yes only if !powerpc/powerpc64. - ($machine): Add powerpc/powerpc64 to if ... | for - libc_cv_slibdir=/libc64. - (powerpc*): Set ldd_rewrite_script. - * sysdeps/unix/sysv/linux/powerpc/ldd-rewrite.sed: New file. - * sysdeps/unix/sysv/linux/powerpc/Dist: Remove clone.S. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: New file. - Add clone.S. - * sysdeps/unix/sysv/linux/powerpc/Makefile: Remove oldgetrlimit64. - * sysdeps/unix/sysv/linux/powerpc/Versions: Remove GLIBC_2.0 - functions. Remove GLIBC_2.2 functions except getrlimit and - setrlimit. Moved them to ... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: New file. - -2002-09-04 Ulrich Drepper - - * libio/tst-atime.c: Include . - (do_test): Only perform fstatvfs check if ST_NOATIME is defined. - -2002-09-03 Isamu Hasegawa - - * posix/regcomp.c (regcomp): Append "__restrict" modifier to avoid - warnings of some compilers. - (build_collating_symbol): Change the type of characters from - "unsigned char" to "char", and append a cast to "char*" pointer in - array subscript. - (build_collating_symbol): Likewise. - (build_equiv_class): Likewise. - (build_charclass): Likewise. - (re_compile_pattern): Remove incorrect cast. - (re_compile_fastmap_iter): Change the type of characters from - "unsigned char" to "char", and append a cast to "char*" pointer - in array subscript. - (parse_bracket_exp): Likewise. - * posix/regex_internal.c (re_string_construct_common): Likewise. - (re_string_allocate): Likewise. - (re_string_construct): Likewise. - (re_string_realloc_buffers): Likewise. - (build_wcs_buffer): Likewise. - (re_string_reconstruct): Likewise. - * posix/regex_internal.h: Change the type of characters in - re_string_t and bracket_elem_t from "unsigned char" to "char". - * posix/regexec.c (regexec): Append "__restrict" modifier to avoid - warnings of some compilers. - (transit_state_bkref_loop): Change the type of characters from - "unsigned char" to "char", and append a cast to "char*" pointer in - array subscript. - (check_node_accept_bytes): Likewise. - (find_collation_sequence_value): Likewise. - -2002-09-04 Roland McGrath - - * resolv/nss_dns/dns-network.c (MAXPACKET): Increase minimum value - from 1024 to 65536, to avoid buffer overrun. - -2002-09-03 Gerhard Tonn - - * sysdeps/s390/s390/fpu/libm-test-ulps: Regenerate. - -2002-09-04 Ulrich Drepper - - * libio/tst-atime.c (do_test): Make sure noatime flag isn't set - for filesystem. - -2002-09-04 Jakub Jelinek - - * posix/bug-regex11.c: New test. - * posix/Makefile (tests): Add bug-regex11. - -2002-09-03 Jakub Jelinek - - * locale/tst-C_locale.c (run_test): Pass LC_ALL_MASK not LC_ALL to - newlocale. - -2002-09-02 Roland McGrath - - * sysdeps/powerpc/elf/libc-start.c [! SHARED]: Call - __pthread_initialize_minimal and __libc_check_standard_fds to - match the generic version. - - * sysdeps/unix/sysv/linux/shmat.c (shmat): Add a cast to avoid a - warning when INLINE_SYSCALL macro uses the __syscall_ipc function. - - * locale/localeconv.c (__localeconv): Cast -1 to char to avoid - warnings on platorms where char is unsigned. - -2002-09-02 Ulrich Drepper - - * version.h (VERSION): Bump to 2.2.93. - - * sysdeps/unix/sysv/linux/x86_64/Dist: Add __start_context.S. - -2002-09-02 Jakub Jelinek - - * elf/rtld.c (dl_main): If prelinking succeeded, mark all objects - as relocated. - -2002-09-02 Jack Howarth - - * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated. - -2002-09-02 Jakub Jelinek - - * locale/localeinfo.h (struct locale_data): Add private.ctype. - * wcsmbs/wcsmbsload.h (__wcsmbs_gconv_fcts, __wcsmbs_last_locale, - __wcsmbs_to_wc, update_conversion_ptrs): Removed. - (__wcsmbs_gconv_fcts_c, _nl_C_LC_CTYPE): New externs. - (__wcsmbs_load_conv): Remove const from argument. - (_nl_cleanup_ctype): New proto. - (get_gconv_fcts): New function. - * wcsmbs/wcsmbsload.c (__wcsmbs_last_locale): Removed. - (__wcsmbs_to_wc): Rename back to... - (to_wc): ... this. - (__wcsmbs_gconv_fcts): Rename to... - (__wcsmbs_gconv_fcts_c): ... this. Make const. Use to_wc. - (lock): Removed. - (__libc_setlocale_lock): New extern. - (__wcsmbs_load_conv): Remove const from argument. - Initialize new_category->private.ctype instead of a global + * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Remove unused variable. - (__wcsmbs_clone_conv): Use get_gconv_fcts instead of - update_function_ptrs. No locking is necessary. - (_nl_cleanup_ctype): New function. - * wcsmbs/btowc.c (__btowc): Use get_gconv_fcts instead of - update_function_ptrs and a global __wcsmbs_gconv_fcts variable. - * wcsmbs/mbrtowc.c (__mbrtowc): Likewise. - * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise. - * wcsmbs/wcrtomb.c (__wcrtomb): Likewise. - * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise. - * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise. - * wcsmbs/wctob.c (wctob): Likewise. - * stdlib/mblen.c (mblen): Likewise. - * stdlib/mbtowc.c (mbtowc): Likewise. - * stdlib/wctomb.c (wctomb): Likewise. - * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise. - Remove calls to wcsmbs_get_towc_func and wcsmbs_free_funcs. - * wcsmbs/mbsrtowcs_l.c (wcsmbs_get_towc_func, wcsmbs_free_funcs): - Removed. + Add unused attributes to avoid warnings. -2002-09-02 Roland McGrath + * elf/reldep4mod4.c: Add prototype to avoid warning. + * elf/reldep4mod2.c: Likewise. - * sysdeps/mach/hurd/Versions (ld: GLIBC_2.0): Add __fxstat64. + * sysdeps/i386/fpu/e_expl.c: Include for + prototypes. -2002-09-01 Roland McGrath +2001-06-18 Roland McGrath - * ctype/ctype.h (__ctype_b, __ctype_toupper, __ctype_tolower): - Variable declarations removed. - (__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): Declare - these functions to replace them. - (__isctype, tolower, toupper, _tolower, _toupper): Use those accessor - functions plus an indirection rather than the old global variables. - * include/ctype.h (__isctype, tolower, _tolower, toupper, _toupper): - Macros removed. - (__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): New extern - inline functions. - * ctype/ctype-info.c: Revert last reversion back the other way. - Define tsd vars CTYPE_B, CTYPE_TOLOWER, CTYPE_TOUPPER. - Define real function versions of include/ctype.h inlines here. - * ctype/Versions (libc: GLIBC_2.3): Add __ctype_b_loc, - __ctype_tolower_loc, __ctype_toupper_loc. - * locale/lc-ctype.c: Revert last reversion back the other way. - (_nl_postload_ctype): If current thread uses the global locale, - update its tsd vars. - * locale/uselocale.c (__uselocale): Update tsd vars from new locale. - * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add CTYPE_B, - CTYPE_TOLOWER, CTYPE_TOUPPER. + * hurd/hurd/fd.h (_hurd_fd_error_signal): Change return type to int. - * sysdeps/generic/bits/libc-tsd.h (__libc_tsd_address): New macro. - * sysdeps/mach/hurd/bits/libc-tsd.h (__libc_tsd_address): Renamed - from __libc_tsd_threadvar_location. - (__libc_tsd_set, __libc_tsd_get): Update uses. +2001-06-20 Alexandre Oliva -2002-09-01 Ulrich Drepper + * sysdeps/unix/sysv/settimeofday.c: Include time.h. - * ctype/ctype.h: Undo the patch before the last one. Put back the - macro definitions for the standard functions to access the - classification and mapping arrays. - * include/ctype.h: Partly revert last patch. Move the macro - definitions for the exported functions back to the public header. - #undef all the macros defined here before redefining. - * ctype/ctype-info.c: Revert last patch. - * locale/lc-ctype.c: Revert last patch. +2001-06-19 Martin Schwidefsky - * ctype/Makefile (routines): Add isctype. - * ctype/Versions (libc): Export isctype and __isctype for GLIBC_2.3. - * ctype/ctype.h: Add declaration of isctype. - * include/ctype.h: Declare __isctype. - * ctype/isctype.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/dl-cache.h: New file. -2002-09-01 Roland McGrath +2001-05-09 Michael Keezer - * sysdeps/generic/libc-tls.c (__pthread_initialize_minimal): Pass - TLS_INIT_TCB_SIZE, TLS_INIT_TCB_ALIGN instead of 0, 1. + * Makeconfig: Added AIX-ld support for DSO. + * Makerules: Likewise. + * dlfcn/Makefile (defaultmod1.so): Added libc_nonshared. + (defaultmod2.so): Likewise. + * debug/Makefile: Conditionalize use of elf/ld.so. + * iconvdata/Makefile: Moved LDFLAG rpath/soname info into Makeconfig. - * include/getopt.h: Include before . + * sysdeps/unix/sysv/aix/Makefile: Added dl-support.c and dl-error.c. + * sysdeps/unix/sysv/aix/Makefile: Made (f/g)rsave(0/1) & + (f/g)prrest(0/1) static only. + * sysdeps/unix/sysv/aix/gettimeofday.c: Removed #if 0. + * sysdeps/unix/sysv/aix/start.c: Define __dso_handle if not ELF but + shared. + * sysdeps/unix/sysv/aix/setitimer.c: New file. + * sysdeps/unix/sysv/aix/sleep.c: New file. + * sysdeps/unix/sysv/aix/usleep.c: New file. + * sysdeps/unix/sysv/aix/dl-addr.c: New file. + * sysdeps/unix/sysv/aix/dl-error.c: New file. + * sysdeps/unix/sysv/aix/dl-support.c: New file. + * sysdeps/unix/sysv/aix/powerpc/register-dump.h: New file. - * locale/findlocale.c (_nl_remove_locale): Don't search in - _nl_locale_file_list if DATA->alloc is ld_archive. - Use _nl_unload_locale to do the rest of the work. +2001-06-19 Ulrich Drepper - * locale/loadarchive.c (_nl_load_locale_from_archive): Set usage_count - of new structure to UNDELETABLE. + * po/es.po: Update from translation team. - * wctype/wctype.h (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, - iswgraph, iswprint, iswpunct, iswspace, iswupper, iswxdigit, iswblank, - towlower, towupper): Macros removed. - * ctype/ctype.h (__tobody): Put parens around macro argument. - (__isctype): Macro removed. - (__ctype_b, __ctype_tolower, __ctype_toupper): Decls removed. - (isalnum, isalpha, iscntrl, isdigit, islower, isgraph, isprint, - ispunct, isspace, isupper, isxdigit, isblank, _tolower, _toupper, - tolower, toupper): Macros and inlines removed. - * include/ctype.h [! NOT_IN_libc] - (isalnum, isalpha, iscntrl, isdigit, islower, isgraph, isprint, - ispunct, isspace, isupper, isxdigit, isblank, _tolower, _toupper, - tolower, toupper): Define here instead, using _NL_CURRENT. - * ctype/ctype.c (__ctype_tolower, __ctype_toupper): Define as macros - using _NL_CURRENT. - * ctype/ctype-extn.c (__ctype_tolower, __ctype_toupper): Likewise. - * ctype/ctype-info.c (__ctype_b, __ctype_tolower, __ctype_toupper): - Renamed these to __ctype_old_*. Define old names only for SHLIB_COMPAT. - (__ctype32_b, __ctype32_tolower, __ctype32_toupper): Likewise. - (__ctype32_wctrans, __ctype32_wctrans, __ctype32_width): Removed. - * locale/lc-ctype.c (_nl_postload_ctype): Use renamed variables, - conditional on SHLIB_COMPAT. Don't set removed variables at all. - * wctype/wcfuncs.c: Use _NL_CURRENT instead of those globals. - * wcsmbs/wcwidth.h (internal_wcwidth): Likewise. - * resolv/res_init.c [RESOLVSORT] (sort_mask): Renamed sort_mask_chars. - (ISSORTMASK): Update use. - * intl/localealias.c [__GNUC__]: #undef alloca before #define. - * nss/nss_files/files-XXX.c (last_use): Rename `none' to `nouse'. - (_nss_files_getENTNAME_r): Likewise. - * nss/nss_files/files-alias.c (last_use, _nss_files_getaliasent_r): - Likewise. +2001-06-19 Andreas Jaeger - * Makerules (all-nonlib): Renamed from all-tests. - Include $(others) here too. - * locale/Makefile (CPPFLAGS-locale, CPPFLAGS-localedef, - CPPFLAGS-ld-ctype, CPPFLAGS-ld-time, CPPFLAGS-ld-numeric, - CPPFLAGS-ld-monetary, CPPFLAGS-ld-collate, CPPFLAGS-ld-identification, - CPPFLAGS-charmap, CPPFLAGS-locarchive, CPPFLAGS-linereader, - CPPFLAGS-charmap-dir): Variables removed. Instead, catch all - the program modules via cppflags-iterator.mk. - * sunrpc/Makefile (CPPFLAGS-rpc_main): Variable removed. - Instead, catch all rpcgen-objs via cppflags-iterator.mk. + * sysdeps/ieee754/ldbl-128/s_tanhl.c: New file. -2002-08-31 Roland McGrath + * math/libm-test.inc (tanh_test): Test for 2^-56. - * posix/tst-getconf.sh: If no third arg, work with static linking. + * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Make sure result + equals argument when x < 2^-55. + Patches by Stephen L. Moshier . - * locale/categories.def (LC_TIME): No more _nl_postload_time. +2001-06-17 Alan Modra - * locale/setlocale.c (_nl_category_postload): Use weak refs only under - [_NL_CURRENT_INDIRECT]. + * sysdeps/hppa/dl-machine.h (elf_machine_rela): Handle relocs + at unaligned address. -2002-08-31 Ulrich Drepper +2001-06-18 Ulrich Drepper - * time/tst-ftime_l.c (main): Also test strftime with uselocale. + * posix/regex.c: Reorganize code to build code twice, once for single + byte, once for multi-byte charsets. Choose function set adequate for + locale at runtime. + Patch by Isamu Hasegawa . -2002-08-31 Roland McGrath + * po/nl.po: Update from translation team. - * locale/newlocale.c (__newlocale): Don't use strdup for names. - Instead, make the single allocation of the structure larger to hold - the name strings. - * locale/duplocale.c (__duplocale): Don't strdup names individually. - Instead, calculate size for a single allocation and copy into it. - * locale/freelocale.c (__freelocale): Don't free names individually. +2001-06-09 Bruno Haible - * locale/newlocale.c (__newlocale): Don't leak old data or names. + * iconvdata/gconv-modules (BIG5HKSCS): New alias BIG5-HKSCS. + (ISO-8859-14): New aliases ISO_8859-14 and ISO-CELTIC. + * iconvdata/tst-tables.sh: For BIG5HKSCS, use BIG5-HKSCS charmap. + +2001-05-26 Bruno Haible + + * iconvdata/tst-tables.sh: For SJIS module, use SHIFT_JIS charmap. + * manual/charset.texi: Write Shift_JIS, not Shift-JIS. - * locale/xlocale.h (__locale_struct): Move __names member last, - for binary compatibility. +2001-06-17 Roland McGrath + + * sysdeps/pthread/aio_misc.h (LIO_DSYNC): Define to LIO_NOP + 1, + not LIO_READ + 1 (which is the value of LIO_WRITE!). - * locale/duplocale.c (__duplocale): Free names from the right array. - - * locale/uselocale.c (__uselocale): Return previous locale when - setting a new one. - - * locale/newlocale.c: Commit changes from 2002-08-30 - batch where I failed to commit this file: - (__newlocale): Fill in __names array. - -2002-08-31 Ulrich Drepper - - * sysdeps/gnu/Makefile: Only depend on Versions.v.i for - errlist-compat.c if versioning==yes. - -2002-08-31 Andreas Jaeger - - * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Declare - external functions with hidden attribute. - (elf_machine_rela): Optimize. - - * sysdeps/x86_64/memset.S: New file. - * sysdeps/x86_64/bzero.S: New file. - * sysdeps/x86_64/stpcpy.S: New file. - * sysdeps/x86_64/strcat.S: New file. - * sysdeps/x86_64/strchr.S: New file. - * sysdeps/x86_64/strcpy.S: New file. - * sysdeps/x86_64/strcspn.S: New file. - * sysdeps/x86_64/strlen.S: New file. - * sysdeps/x86_64/strpbrk.S: New file. - * sysdeps/x86_64/strspn.S: New file. - * sysdeps/x86_64/strcmp.S: New file. - * sysdeps/x86_64/strtok_r.S: New file. - * sysdeps/x86_64/strtok.S: New file. - * sysdeps/x86_64/memcpy.S: New file. - * sysdeps/x86_64/mempcpy.S: New file. - - * sysdeps/x86_64/fpu/s_copysign.S: Fix algorithm. - - * sysdeps/x86_64/fpu/libm-test-ulps: Add ulps for double tests. - -2002-08-31 Ulrich Drepper - - * stdio-common/Makefile (generated): Add errlist-compat.c. - - * locale/Makefile (extra-objs): Add $(localedef-aux:=.o). - - * locale/localeinfo.h: Pretty printing. - - * stdio-common/vfprintf.c (vfprintf): Remove duplicate ifs in - form_number handling. - -2002-08-31 Andreas Jaeger - - * sysdeps/x86_64/fpu/libm-test-ulps: Add ulps for float and long - double tests. - - * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_routines): Add - __start_context. - - * sysdeps/unix/sysv/linux/x86_64/__start_context.S: New file. - - * sysdeps/unix/sysv/linux/x86_64/makecontext.c: New file. - - * sysdeps/unix/sysv/linux/x86_64/ucontext_i.h: Add defines for - registers used for passing args. - - * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Save and restore - all needed registers. - - * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Restore all - registers. - - * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Save all needed - registers. - -2002-08-30 Ulrich Drepper - - * elf/dynamic-link.h (elf_get_dynamic_info): Mark with - always_inline attribute. - -2002-08-30 Roland McGrath - - * stdlib/tst-setcontext.c (main): If makecontext does nothing, - presume it's the stub and bail without error. - - * nss/getnssent_r.c (__nss_getent_r): Return ENOENT if status is - neither SUCCESS nor TRYAGAIN (see 2002-08-25 change [PR libc/4259]). - - * nss/getnssent_r.c (__nss_getent_r): Set *H_ERRNOP, not global one. - - * sysdeps/x86_64/hp-timing.h (HP_TIMING_NOW, HP_TIMING_ACCUM): New - macros replace the i686 versions for 64-bit mode. - - * locale/duplocale.c: Include . - - * intl/dcigettext.c (DCIGETTEXT) [_LIBC]: Check for bogus CATEGORY. - [_LIBC] (category_to_name): Don't define the function. Instead - define a macro using _nl_category_names. - - * locale/xlocale.h (struct __locale_struct): New member `__names'. - * locale/xlocale.c (_nl_C_locobj): Update initializer. - * locale/global-locale.c (_nl_global_locale): Likewise. - * locale/duplocale.c (__duplocale): strdup __names elements. - * locale/freelocale.c (__freelocale): Free __names elements. - * locale/localename.c (_nl_current_names): Variable removed. - (__current_locale_name): Use _NL_CURRENT_LOCALE->__names instead. - * locale/localeinfo.h (_nl_current_names): Removed decl. - * locale/setlocale.c: Use _nl_global_locale->__names in place of - _nl_current_names throughout. - - * locale/setlocale.c (setlocale): strdup -> __strdup (not ISO C). - - * sysdeps/gnu/errlist-compat.awk: Emit link_warnings for sys_errlist - and sys_nerr in the output file. - - * sunrpc/Makefile (rpcgen-cmd): Pass CPP in rpcgen's environment. - * scripts/cpp: Just use the environment variable. - - * libio/tst-mmap-setvbuf.c (main): Use 'm' fopen flag. - * libio/tst-mmap-offend.c (do_test): Likewise. - * libio/tst-mmap-fflushsync.c (do_test): Likewise. - * libio/tst-mmap-eofsync.c (do_test): Likewise. - * libio/tst-mmap2-eofsync.c (do_test): Likewise. - - * locale/localename.c: If the current locale is the global locale, use - _nl_current_names; otherwise use the locale object. - -2002-08-29 Ulrich Drepper - - * libio/fileops.c (_IO_new_file_fopen): Recognize new mode specifier - 'm' to enable mmap I/O. - * libio/libio.h (_IO_FILE): Rename _blksize field to _flags2. The - former wasn't used (anymore?). - (_IO_FLAGS2_MMAP): New define. - * libio/genops.c (_IO_no_init): Initialize _flags2 field. - * libio/iofopen.c (__fopen_maybe_mmap): Use mmap callbacks only if - _IO_FLAGS2_MMAP bit is set. - * libio/iofdopen.c (_IO_new_fdopen): Recognize 'm' mode specifier. - Enable mmap-using mode only if 'm' was set. - -2002-08-29 Roland McGrath - - * sysdeps/mach/hurd/bits/local_lim.h (NAME_MAX): New macro. - - * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup: doinit): - Change argument type from int to intptr_t. - - * locale/global-locale.c (__libc_tsd_LOCALE_data): Conditionalize the - initializer on [! _HURD_THREADVAR_H] (bad kludge). - * sysdeps/mach/hurd/i386/init-first.c (init): Initialize - _HURD_THREADVAR_LOCALE slot to &_nl_global_locale. - * hurd/hurdsig.c (_hurdsig_init): Likewise. Zero other slots. - - * sysdeps/mach/_strerror.c (__strerror_r): Add libc_hidden_def. - - * sysdeps/mach/hurd/pwrite64.c: No libc_hidden_def (__libc_pwrite64). - - * sysdeps/mach/hurd/dl-sysdep.c (__GI_abort): Define alias for abort. - - * include/assert.h (__assert_perror_fail): Declare it, do hidden_proto. - * assert/assert-perr.c: Add libc_hidden_def. - * elf/dl-minimal.c [! NDEBUG] (__assert_perror_fail): New function. - - * sysdeps/gnu/errlist-compat.awk: Don't fail if there are no versions - found at all. - * sysdeps/gnu/Versions: File removed. Moved all #errlist-compat - sys_errlist stuff to ... - * sysdeps/unix/sysv/linux/Versions: ... here. - - * mach/mach.h: Include . - -2002-08-29 Roland McGrath - - * elf/dl-runtime.c (IN_DL_RUNTIME): Define this macro first thing. - * sysdeps/i386/dl-machine.h: Only declare fixup, profile_fixup and - define ELF_MACHINE_RUNTIME_TRAMPOLINE under #ifdef IN_DL_RUNTIME. - - * sysdeps/generic/readelflib.c (process_elf_file): Fix typo. - - * iconv/gconv_int.h: Include for alloca decl. - (norm_add_slashes): alloca -> __alloca - -2002-08-29 Jakub Jelinek - - * stdio-common/vfprintf.c (vfprintf): Add builtin_expect for - string_malloced, it is unlikely to be set. - Only call free with non-NULL workspace. - * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Use - -mcpu=ultrasparc, not only tune for it. - (ASFLAGS*): Set unconditionally. - - * sysdeps/generic/readelflib.c (process_elf_file): Make LOADADDR - ElfW(Addr). Don't mask upper 32-bits and lower 12 bits off from - p_vaddr/p_offset when computing LOADADDR. - -2002-08-29 Ulrich Drepper - - * version.h (VERSION): Bump to 2.2.92. - - * time/Makefile (tst-ftime_l-ENV): New variable. - - * iconvdata/ibm870.c: All bytes are now used, no holes anymore. - - * localedata/charmaps/IBM870: Add correct mapping for , - , and . Add missing mappings. - Patch by Antonin Kopecky . - - * gmon/sys/gmon.h (ARCDENSITY): Bump to 3. - Define ARCINDEX. Bump MAXARCS to 1 << 20. - (struct tostruct): Use ACRINDEX as type for link field. - (statuc gmonparam): Likewise for froms. - * gmon/gmon.c (__monstartup): Use currect cast for assignments to - kcount and froms. - (write_call_graph): Use correct type for from_index and to_index. - * gmon/mcount.c: Use correct types for frompcindex and toindex - variables. - Patches by Dan Kegel . - - * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix code to determine - canonical name. - - * time/strptime.c (ISSPACE): New #define. Use isspace or - __isspace_l. Replace calls to isspace. - (match_string): Define variant for USE_IN_EXTENDED_LOCALE_MODEL. - -2002-08-29 Roland McGrath - - * string/tst-strxfrm.c: Remove __ from function names. - -2002-08-28 Ulrich Drepper - - * include/wchar.h: Declare __mbsrtowcs_l. - * wcsmbs/Makefile (routines): Add mbsrtowcs_l. - * wcsmbs/mbsrtowcs.c: Add support for compilation with - USE_IN_EXTENDED_LOCALE_MODEL. - * wcsmbs/mbsrtowcs_l: New file. - * wcsmbs/wcsmbsload.c (__wcsmbs_to_wc): Renamed from to_wc. Don't - define as static. Change all uses. - (__wcsmbs_getfct): Renamed from getfct. Don't define as static. - Change all callers. - * wcsmbs/wcsmbsload.h: Declare __wcsmbs_to_wc and __wcsmbs_getfct. - * time/strftime.c: When translating for the extended locale model - use the _l functions. - * time/Makefile (tests): Add tst-ftime_l. - * time/tst-ftime_l.c: New file. - -2002-08-28 Roland McGrath - - * locale/findlocale.c [NL_CURRENT_INDIRECT] (_nl_C): New variable. - * locale/setlocale.c (setlocale) [NL_CURRENT_INDIRECT]: Null return - from _nl_find_locale ok if for _nl_C_name. - - * locale/nl_langinfo.c [NL_CURRENT_INDIRECT]: Use a categories.def - iterator to refer to each category's _nl_current_LC_FOO symbol, so - we know they are all linked in. - - * NEWS: Added 2.2.6 text from 2.2 branch version. - - * time/strptime.c (strptime_internal): Remove spurious const. - - * locale/lc-time.c (_nl_init_era_entries, _nl_get_era_entry, - _nl_select_era_entry): Moved to ... - * time/era.c: ... here, new file. - (_nl_init_era_entries, _nl_get_era_entry, _nl_select_era_entry): - Add internal_function to definitions. Take an additional argument - giving the `struct locale_data *' to use. - * locale/lc-time.c (_get_alt_digit, _nl_get_walt_digit, - _nl_parse_alt_digit): Moved to ... - * time/alt_digit.c: ... here, new file. - * time/lc-time-cleanup.c: New file. - * locale/lc-time.c (_nl_postload_time, free_mem): Functions removed. - * locale/localeinfo.h (_nl_postload_time): Remove decl. - (_nl_cleanup_time): Declare it. - (_nl_get_era_entry, _nl_select_era_entry): Update decls. - (_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit): Likewise. - * time/Makefile (aux): New variable: era, alt_digit, lc-time-cleanup. - * time/strftime.c: Pass locale data to helper functions. - * time/strptime.c: Likewise. - - * locale/localeinfo.h (struct locale_data): New member `private' - * locale/loadlocale.c (_nl_intern_locale_data): Initialize it. - (_nl_unload_locale): Call LOCALE->private.cleanup if it is set. - * locale/C-collate.c: Update initializer. - * locale/C-identification.c: Likewise. - * locale/C-measurement.c: Likewise. - * locale/C-telephone.c: Likewise. - * locale/C-address.c: Likewise. - * locale/C-name.c: Likewise. - * locale/C-paper.c: Likewise. - * locale/C-time.c: Likewise. - * locale/C-numeric.c: Likewise. - * locale/C-monetary.c: Likewise. - * locale/C-messages.c : Likewise. - * locale/C-ctype.c: Likewise. - - * time/strptime.c [USE_IN_EXTENDED_LOCALE_MODEL] (_NL_CURRENT_WORD): - Redefine this too. - -2002-08-28 Jakub Jelinek - - * sysdeps/generic/ldsodefs.h (__rtld_global_attribute__): Define. - (_rtld_global): Use it. - - * sysdeps/gnu/Dist: Remove errlist-compat.c. - * sysdeps/gnu/Makefile (errlist-compat.c): Build this file in the - object directory. Pass all Versions files to the awk script. - * sysdeps/gnu/errlist-compat.c: Removed. - * sysdeps/gnu/errlist.awk: Use #errlist-compat comments from the - first Versions file in the search path which has them. - Allow multiple errlist symbol versions to have the same count of - errors. - * sysdeps/gnu/errlist-compat.awk: Include instead - of "errlist-compat.c". - * sysdeps/gnu/errlist.c: Regenerated. - * sysdeps/unix/sysv/linux/mips/Versions (libc): Add #errlist-compat - comments at GLIBC_2.0, GLIBC_2.1 and GLIBC_2.3. - * sysdeps/unix/sysv/linux/alpha/Versions: Likewise. - (librt): Add aio_cancel and aio_cancel64 as GLIBC_2.3. - * sysdeps/unix/sysv/linux/hppa/Versions: Likewise. - * sysdeps/unix/sysv/linux/sparc/Versions: New file. - * sysdeps/unix/sysv/linux/alpha/bits/errno.h: New file. - * sysdeps/unix/sysv/linux/hppa/bits/errno.h (ECANCELED): Define to - ECANCELLED if not defined by kernel headers. - * sysdeps/unix/sysv/linux/bits/errno.h: Don't redefine ECANCELED if - already defined by kernel headers. - * sysdeps/unix/sysv/linux/sparc/bits/errno.h: New file. - * sysdeps/pthread/aio_cancel.c: Don't include aio.h and its - aio_cancel64 renaming hack nor provide weak_alias if aio_cancel - is a macro. - * Versions.def (GLIBC_2.3) [librt]: Add. - - * sysdeps/unix/sysv/linux/alpha/pipe.S: New file. - -2002-08-28 Ulrich Drepper - - * include/libc-symbols.h [!__ASSEMBLER__] (declare_symbol_1): Add - missing comma to .type directive. - -2002-08-28 Jakub Jelinek - - * sysdeps/ia64/elf/configure.in (PI_STATIC_AND_HIDDEN): Define - unconditionally. - * sysdeps/alpha/elf/configure.in (libc_cv_alpha_hidden_gprel): New - check. - (PI_STATIC_AND_HIDDEN): Define if check succeeded. - -2002-08-28 Jakub Jelinek - - * locale/loadarchive.c (_nl_load_locale_from_archive): Add fd >= 0 - check to close_and_out close. Replace return NULL statements where - fd might be >= 0 with goto close_and_out. Close the file descriptor - when it is no longer needed. - -2002-08-28 Ulrich Drepper - - * sysdeps/s390/s390-64/dl-machine.h: Avoid unescaped newlines in - string constants. - * sysdeps/sparc/sparc32/dl-machine.h: Likewise. - * sysdeps/arm/dl-machine.h: Likewise. - * sysdeps/cris/dl-machine.h: Likewise. - * sysdeps/unix/sysv/linux/m68k/register-dump.h: Likewise. - * sysdeps/unix/sysv/aix/gettimeofday.c: Likewise. - -2002-08-28 Roland McGrath - - * Makeconfig (default_cflags): Revert unintended change. - -2002-08-28 Ulrich Drepper - - * version.h (VERSION): Bump to 2.2.91. - - * configure.in: Disable TLS support by default for now. - - * sysdeps/i386/fpu/libm-test-ulps: Adjust ulp for yn for float. - - * sysdeps/generic/strtol.c (strtol): Add some more casts to avoid - warnings. - - * stdlib/strtod.c (STRTOF): Correct type in cast of last patch. - - * stdlib/fmtmsg.c (fmtmsg): Use correct test for failure of - fprintf/fwprintf calls. - -2002-08-28 Roland McGrath - - * Makeconfig (run-program-prefix): Fix bogus use of $(findstring ...) - to use $(filter ...) instead. Same bug fixed in aix conditionals. - - * locale/setlocale.c: Declare postload functions weak. - - * elf/tst-tls1-static.c: New file. - * elf/tst-tls2-static.c: New file. - * elf/Makefile ($(tests-static):%=$(objfpx)%.o): Remove rule. - - Make uselocale support static linking. - * locale/xlocale.c: Revert changes putting _nl_global_locale here. - This file again just defines _nl_C_locobj. - (_nl_C_locobj): Use a categories.def iterator in the initializer. - * locale/global-locale.c: New file. Define _nl_global_locale here, - using all weak references in the initializer. - * locale/Makefile (aux): Add global-locale. - * locale/localeinfo.h (_nl_global_locale, _NL_CURRENT_LOCALE): Make - these unconditional, along with the tsd decl. - [!SHARED && HAVE___THREAD && HAVE_WEAK_SYMBOLS] (NL_CURRENT_INDIRECT): - Define it under these conditions. - [NL_CURRENT_INDIRECT]: Test this instead of [! SHARED]. - Don't declare _nl_current. Declare _nl_current_LC_FOO as - `extern __thread struct locale_data *const *'. - [NL_CURRENT_INDIRECT] - (_NL_CURRENT_DATA, _NL_CURRENT, _NL_CURRENT_WSTR): Add indirection. - [NL_CURRENT_INDIRECT] (_NL_CURRENT_DEFINE): Rewritten. Define - the thread variable _nl_current_LC_FOO and also a special absolute - symbol _nl_current_LC_FOO_used. - * locale/uselocale.c (__uselocale) [NL_CURRENT_INDIRECT]: - Set each _nl_current_LC_FOO symbol to point into the new locale, - using weak references to test if _nl_current_LC_FOO_used was linked in. - * locale/setlocale.c [! SHARED]: Replace this conditional ... - [NL_CURRENT_INDIRECT]: ... with this one. - (_nl_current, _nl_C): Variables removed. - [NL_CURRENT_INDIRECT] (_nl_current_used): New variable, table of - weak references to _nl_current_LC_FOO_used. - [NL_CURRENT_INDIRECT] (CATEGORY_USED): Define using that table. - (free_category): New function, broken out of ... - (free_mem): ... here. Call that. - (free_mem) [NL_CURRENT_INDIRECT]: Use a categories.def iterator - instead of a loop. - - * sysdeps/generic/libc-tls.c (__libc_setup_tls): Don't check for - PT_LOAD program headers and don't try to relocate PT_TLS's p_vaddr; - it is already absolute. - - * elf/Makefile (tests): List tst-tls1 and tst-tls2 unconditionally. - [$(build-static) = yes] (tests): Add tst-tls1-static, tst-tls2-static. - [$(build-static) = yes] (tests-static): New variable. - ($(tests-static):%=$(objfpx)%.o)): New static pattern rule. - -2002-08-26 Christoph Hellwig - - * sysdeps/unix/sysv/linux/sys/personality.h: Remark origin, fix - formating braindamage, add missing PER_HPUX and PER_OSF1 values. - -2002-08-28 Ulrich Drepper - - * sysdeps/x86_64/Dist: Add _mcount.S and bits/link.h. - - * sysdeps/s390/Dist: Add bits/link.h. - - * sysdeps/sh/Dist: New file. - - * sysdeps/ia64/Dist: Add ia64libgcc.S. - - * sysdeps/wordsize-32/Dist: New file. - - * sysdeps/unix/sysv/linux/alpha/Dist: Add dl-brk.S. - * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise. - - * sysdeps/unix/sysv/linux/Dist: Add dl-brk.c, dl-sbrk.c, and - sys/personality.h. - - * sysdeps/unix/Dist: Add i386/dl-brk.S, mips/dl-brk.S, and - sparc/dl-brk.S. - - * sysdeps/unix/bsd/Dist: Add vax/dl-brk.S. - - * sysdeps/unix/bsd/sun/Dist: New file. - - * sysdeps/unix/bsd/osf/Dist: New file. - - * sysdeps/unix/bsd/hp/Dist: New file. - - * sysdeps/unix/arm/Dist: New file. - - * sysdeps/powerpc/Dist: Add divdi3.c and libgcc-compat.S. - - * sysdeps/mach/hurd/Dist: Add set-init.c. - - * sysdeps/i386/Dist: Add bits/link.h. - - * sysdeps/gnu/Dist: Add errlist-compat.c errlist-compat.awk. - - * sysdeps/generic/Dist: Add dl-brk.c and dl-sbrk.c. - - * locale/Makefile (distribute): Add hashval.h. - - * iconvdata/Makefile (distribute): Add tcvn5712-1.c and armscii-8.c. - - * sysdeps/unix/sysv/linux/Dist: Remove errlist.h. - - * misc/sys/cdefs.h: Define __BEGIN_NAMESPACE_STD, __END_NAMESPACE_STD, - __USING_NAMESPACE_STD, __BEGIN_NAMESPACE_C99, __END_NAMESPACE_C99, and - __USING_NAMESPACE_C99 depending on _GLIBCPP_USE_NAMESPACES. - * ctype/ctype.h: Prepare headers for use in ISO C++ compliant - implementations. - * libio/stdio.h: Likewise. - * locale/locale.h: Likewise. - * math/math.h: Likewise. - * math/bits/mathcalls.h: Likewise. - * setjmp/setjmp.h: Likewise. - * signal/signal.h: Likewise. - * stdlib/stdlib.h: Likewise. - * string/string.h: Likewise. - * time/time.h: Likewise. - * wcsmbs/wchar.h: Likewise. - * wctype/wctype.h: Likewise. - -2002-08-28 Roland McGrath - - * locale/tst-C-locale.c (run_test): Remove __ from function names. - -2002-08-28 Jakub Jelinek - Roland McGrath - - * locale/hashval.h (compute_hashval): Use prototype defn. - (hashval_t): New macro, defined to unsigned long int - if not already defined. - (compute_hashval): Return hashval_t instead of unsigned long int. - * locale/loadarchive.c (hashval_t): New macro. - * locale/programs/locarchive.c: Include hashval.h directly instead - of simple-hash.h. - (compute_hashval, hashval_t): Define these macros first. - (insert_name): Use archive_hashval instead of compute_hashval. - (add_locale, delete_locales_from_archive): Likewise. - -2002-08-28 Jakub Jelinek - - * locale/programs/locarchive.c (insert_name): Suppress warnings about - hash collisions if be_quiet. - -2002-08-27 Roland McGrath - - * locale/locale.h (__newlocale, __duplocale, __freelocale, - __uselocale): Don't declare these any more. - * include/locale.h (__uselocale): Declare here instead, using __typeof. - - * sysdeps/unix/readdir.c: If getdents fails with ENOENT, restore errno - and treat it as an EOF return. - * sysdeps/unix/readdir_r.c: Likewise. - - * sysdeps/gnu/errlist-compat.awk: Include in output. - From Alexandre Oliva . - * sysdeps/gnu/errlist-compat.c: Regenerated. - -2002-08-27 Brian Youmans <3diff@gnu.org> - - * sysdeps/ieee754/flt-32/e_asinf.c: Modified copying permission - wording at request of copyright holder Stephen Moshier. - * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise. - * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise. - -2002-08-28 Jakub Jelinek - - * ctype/ctype.h (isascii_l, toascii_l): Define to __*_l counterparts. - * ctype/ctype-extn.c (isblank_l): Add weak alias. - * sysdeps/generic/strtol_l.c (strtol_l): Likewise. - * sysdeps/generic/strtoll_l.c (strtoll_l): Likewise. - * sysdeps/generic/strtoul_l.c (strtoul_l): Likewise. - * sysdeps/generic/strtoull_l.c (strtoull_l): Likewise. - * wctype/iswctype_l.c (iswctype_l): Likewise. - -2002-08-27 Roland McGrath - - * time/strftime.c [USE_IN_EXTENDED_LOCALE_MODEL]: No libc_hidden_def. - - * ctype/ctype.h (__exctype_l): Don't declare __ name. - * stdlib/stdlib.h: Don't declare __*_l names. - * include/stdlib.h: Declare them here instead. - * include/string.h: Don't declare __*_l names. - * string/string.h: Declare them here instead. - * time/time.h: Don't declare __*_l names. - * include/time.h: Declare them here instead. - * wcsmbs/wchar.h: Don't declare __*_l names. - * include/wchar.h: Declare them here instead. - * wctype/wctype.h: Declare iswalnum_l, not __iswalnum_l. - Don't declare __*_l names. - * include/wctype.h: Declare them here instead. - * stdlib/monetary.h: Declare strfmon_l, not __strfmon_l. - * stdlib/strfmon_l.c (strfmon_l): Define as weak alias. - * locale/langinfo.h: Don't declare __nl_langinfo_l. - * include/langinfo.h: Declare it here with __typeof. - - * time/strptime.c [USE_IN_EXTENDED_LOCALE_MODEL]: Define __strptime_l - instead, taking an extra __locale_t argument. - * time/Makefile (routines): Add strptime_l. - * time/time.h (__strptime_l, strptime_l): Declare them. - * time/strptime_l.c: New file. - - * time/time.h (__strftime_l, strftime_l): Declare them. - * wcsmbs/wchar.h (__wcsftime_l, wcsftime_l): Declare them. - * time/strftime_l.c: New file. - * time/wcsftime_l.c: New file. - * time/Makefile (routines): Add strftime_l, wcsftime_l. - * time/Versions (libc: GLIBC_2.3): Add __strftime_l, __wcsftime_l, - strftime_l, wcsftime_l. - * time/strftime.c [USE_IN_EXTENDED_LOCALE_MODEL]: Define __strftime_l - or __wcsftime_l instead, taking an extra __locale_t argument. - - * locale/Versions (libc: GLIBC_PRIVATE): Move __uselocale to ... - (libc: GLIBC_2.3): ... here. - -2002-08-27 Ulrich Drepper - - * stdio-common/Makefile: Fix typo in stdio_lim.h installation rule. - - * Makefile (distribute): Add LICENSES. - - * sysdeps/unix/sysv/linux/x86_64/Dist: Add ucontext_i.h and - sys/debugreg.h. - - * sysdeps/unix/sysv/linux/s390/Dist: Add new/route.h. - - * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-brk.S and sys/user.h. - - * sysdeps/unix/sysv/linux/mips/Dist: Add sys/user.h. - - * sysdeps/unix/sysv/linux/Dist: Add readahead.c. - - * sysdeps/mach/hurd/alpha/Dist: New file. - - * sysdeps/arm/Dist: Add bits/link.h. - - * sunrpc/Makefile: Distribute thrsvc. - - * stdio-common/Makefile: Remove more left-overs from old stdio. - - * include/linewrap.h: Removed. - - * libio/bug-mmap-fflush.c: Rewrite to not touch source directory. - - * intl/Makefile (distribute): Add plural-eval.c. - -2002-08-27 Roland McGrath - - * manual/sysinfo.texi (Mount Information): Correct file name to macro - assocations for _PATH_MNTTAB, MNTTAB, _PATH_MOUNTED, MOUNTED. - Say mtab is in either /var/run or /etc. - -2002-08-26 Roland McGrath - - * manual/errno.texi (Error Codes): Added ECANCELED (118 for Hurd). - * sysdeps/mach/hurd/bits/errno.h: Regenerated. - - * sysdeps/gnu/Versions: New file. - * sysdeps/unix/sysv/linux/Versions (libc: GLIBC_2.1): Remove - _sys_errlist; sys_errlist; _sys_nerr; sys_nerr; from here. - * sysdeps/gnu/Makefile ($(..)sysdeps/gnu/errlist-compat.c): New target. - ($(objpfx)errlist.d): Depend on $(..)sysdeps/gnu/errlist-compat.c. - * sysdeps/gnu/errlist.awk: Make output define _sys_errlist_internal - and _sys_nerr_internal instead of anything else. Make it include - "errlist-compat.c" if [!NOT_IN_libc && !ERRLIST_NO_COMPAT]. - Make it emit some asm magic if [EMIT_ERR_MAX]. - * sysdeps/gnu/errlist.c: Regenerated. - * sysdeps/gnu/errlist-compat.awk: New file. - * sysdeps/gnu/errlist-compat.c: New file (generated). - * sysdeps/mach/hurd/errlist.c (ERRLIST_NO_COMPAT): New macro. - (_sys_errlist_internal): Define this as a macro for _hurd_errlist. - (_sys_nerr_internal): Define this is a macro for _hurd_nerr. - (SYS_ERRLIST, SYS_NERR): Macros removed. - (sys_nerr, _sys_nerr): Remove these weak aliases. - * sysdeps/unix/sysv/linux/errlist.c: File removed. - * sysdeps/unix/sysv/linux/errlist.h: File removed. - * sysdeps/unix/sysv/linux/arm/errlist.c: File removed. - - * include/libc-symbols.h (declare_symbol): New macro. - * config.h.in (ASM_TYPE_DIRECTIVE_PREFIX): New #undef. - * configure.in: New check to define it. - * configure: Regenerated. - -2002-08-27 Ulrich Drepper - - * stdio-common/Makefile (headers): Remove bits/stdio_lim.h. This - file isn't distributed. Add special rules to install bits/stdio_lim.h. - - * Make-dist: Remove traces of old stdio. - * Makeconfig: Likewise. - - * locale/Makefile (localedef-aux): New variable. Only md5 - assigned to it. These files are not ddistributed in this directory. - - * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h. - * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Remove sys/procfs.h. - * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise. - - * sysdeps/unix/sysv/linux/Dist: Remove sys/sendfile.h. - - * nss/getXXbyYY_r.c (REENTRANT_NAME): If no service is available - set h_errno to NO_RECOVERY [PR libc/4360]. - -2002-08-26 Ulrich Drepper - - * libio/Makefile (tests): Add bug-fopena+. - * libio/bug-fopena+.c: New file. - * libio/fileops.c (_IO_file_open): Only set file pointer to end of the - file for _IO_IS_APPENDING if file isn't opened for reading, too. - - * stdio-common/tst-swprintf.c (main): Add casts to avoid warnings. - - * locale/xlocale.c: Fix the last change. The variable still has - to end in _data. - * sysdeps/generic/bits/libc-tsd.h [!(USE_TLS && HAVE___THREAD)] - (__libc_tsd_set): Add _data prefix to variable name. - -2002-08-26 Roland McGrath - - * sysdeps/generic/sigset-cvt-mask.h (sigset_set_old_mask): Replace - macro with inline function. - (sigset_get_old_mask): Likewise. - * sysdeps/posix/sigblock.c (__sigblock): Update callers. - * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise. - * sysdeps/posix/sigpause.c (__sigpause): Likewise. - * sysdeps/posix/sigvec.c (__sigvec, sigvec_wrapper_handler): Likewise. - * sysdeps/unix/sysv/aix/sigset-cvt-mask.h - (sigset_set_old_mask, sigset_get_old_mask): Make these macros return - values. - * sysdeps/unix/sysv/linux/sigset-cvt-mask.h: Likewise. - * sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h: Likewise. - -2002-07-06 Bruno Haible - - * sysdeps/generic/sigset-cvt-mask.h (sigset_set_old_mask, - sigset_get_old_mask): Make it work with larger sigset_t. - * sysdeps/posix/sigblock.c (__sigblock): Use those macros. - * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise. - * sysdeps/posix/sigpause.c (__sigpause): Likewise. - -2002-08-26 Roland McGrath - - * time/sys/time.h [__USE_BSD] (lutimes, futimes): Declare them. - * manual/filesys.texi (File Times): Document lutimes and futimes. - * misc/Makefile (routines): Add them. - * misc/Versions (libc: GLIBC_2.3): Likewise. - * sysdeps/generic/lutimes.c: New file. - * sysdeps/generic/futimes.c: New file. - * sysdeps/mach/hurd/lutimes.c: New file. - * sysdeps/mach/hurd/futimes.c: New file. - - * manual/filesys.texi (File Times): Add explicit note about null - pointer argument to utimes. - -2002-08-26 Roland McGrath - - * sysdeps/mach/hurd/ifreq.h (__if_freereq): Add missing semicolon. - (__ifreq): Add a cast. Remove an unused variable. - - * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add - _HURD_THREADVAR_LOCALE. - -2002-08-26 Jakub Jelinek - - * posix/regexec.c (re_search_stub): Return correct match length - if start != 0. - * posix/bug-regex10.c: New test. - * posix/Makefile (tests): Add bug-regex10. - -2002-08-26 Brian Youmans <3diff@gnu.org> - - * COPYING.LIB: Replaced with fresh copy from - ftp://ftp.gnu.org/gnu/Licenses/COPYING.LIB-2.1; - suggested copying permission notice now says version 2.1 instead - of version 2. - - * crypt/crypt.c: Changed copying permission notice to Lesser GPL - from Library GPL. - * crypt/crypt_util.c: Likewise. - * crypt/ufc.c: Likewise. - * elf/dl-conflict.c: Likewise. - * elf/dl-iteratephdr.c: Likewise. - * iconv/iconvconfig.h: Likewise. - * malloc/arena.c: Likewise. - * malloc/hooks.c: Likewise. - * malloc/malloc.c: Likewise. - * posix/glob/Makefile.ami: Likewise. - * posix/glob/Makefile.in: Likewise. - * stdlib/gmp-impl.h: Likewise. - * stdlib/gmp.h: Likewise. - * sysdeps/generic/dl-iteratephdr-static.c: Likewise. - * sysdeps/generic/strnlen.c: Likewise. - * sysdeps/mach/hurd/powerpc/bits/sigcontext.h: Likewise. - * sysdeps/mach/hurd/recvmsg.c: Likewise. - * sysdeps/mach/hurd/sendmsg.c: Likewise. - * sysdeps/mach/hurd/spawni.c: Likewise. - * sysdeps/mach/powerpc/machine-sp.h: Likewise. - * sysdeps/mach/powerpc/sysdep.h: Likewise. - * sysdeps/mach/powerpc/thread_state.h: Likewise. - * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/dl-iteratephdr-static.c: Likewise. - * sysdeps/x86_64/gmp-mparam.h: Likewise. - - * sysdeps/ieee754/dbl-64/MathLib.h: Corrected version number in - Lesser GPL copying permission notice from 2 to 2.1. - * sysdeps/ieee754/dbl-64/asincos.tbl: Likewise. - * sysdeps/ieee754/dbl-64/atnat.h: Likewise. - * sysdeps/ieee754/dbl-64/atnat2.h: Likewise. - * sysdeps/ieee754/dbl-64/branred.c: Likewise. - * sysdeps/ieee754/dbl-64/branred.h: Likewise. - * sysdeps/ieee754/dbl-64/dla.h: Likewise. - * sysdeps/ieee754/dbl-64/doasin.c: Likewise. - * sysdeps/ieee754/dbl-64/doasin.h: Likewise. - * sysdeps/ieee754/dbl-64/dosincos.c: Likewise. - * sysdeps/ieee754/dbl-64/dosincos.h: Likewise. - * sysdeps/ieee754/dbl-64/e_asin.c: Likewise. - * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. - * sysdeps/ieee754/dbl-64/e_exp.c: Likewise. - * sysdeps/ieee754/dbl-64/e_log.c: Likewise. - * sysdeps/ieee754/dbl-64/e_pow.c: Likewise. - * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise. - * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise. - * sysdeps/ieee754/dbl-64/halfulp.c: Likewise. - * sysdeps/ieee754/dbl-64/mpa.c: Likewise. - * sysdeps/ieee754/dbl-64/mpa.h: Likewise. - * sysdeps/ieee754/dbl-64/mpa2.h: Likewise. - * sysdeps/ieee754/dbl-64/mpatan.c: Likewise. - * sysdeps/ieee754/dbl-64/mpatan.h: Likewise. - * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise. - * sysdeps/ieee754/dbl-64/mpexp.c: Likewise. - * sysdeps/ieee754/dbl-64/mpexp.h: Likewise. - * sysdeps/ieee754/dbl-64/mplog.c: Likewise. - * sysdeps/ieee754/dbl-64/mplog.h: Likewise. - * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise. - * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise. - * sysdeps/ieee754/dbl-64/mptan.c: Likewise. - * sysdeps/ieee754/dbl-64/mydefs.h: Likewise. - * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise. - * sysdeps/ieee754/dbl-64/root.tbl: Likewise. - * sysdeps/ieee754/dbl-64/s_atan.c: Likewise. - * sysdeps/ieee754/dbl-64/s_sin.c: Likewise. - * sysdeps/ieee754/dbl-64/s_tan.c: Likewise. - * sysdeps/ieee754/dbl-64/sincos.tbl: Likewise. - * sysdeps/ieee754/dbl-64/sincos32.c: Likewise. - * sysdeps/ieee754/dbl-64/sincos32.h: Likewise. - * sysdeps/ieee754/dbl-64/slowexp.c: Likewise. - * sysdeps/ieee754/dbl-64/slowpow.c: Likewise. - * sysdeps/ieee754/dbl-64/uasncs.h: Likewise. - * sysdeps/ieee754/dbl-64/uatan.tbl: Likewise. - * sysdeps/ieee754/dbl-64/uexp.h: Likewise. - * sysdeps/ieee754/dbl-64/uexp.tbl: Likewise. - * sysdeps/ieee754/dbl-64/ulog.h: Likewise. - * sysdeps/ieee754/dbl-64/ulog.tbl: Likewise. - * sysdeps/ieee754/dbl-64/upow.h: Likewise. - * sysdeps/ieee754/dbl-64/upow.tbl: Likewise. - * sysdeps/ieee754/dbl-64/urem.h: Likewise. - * sysdeps/ieee754/dbl-64/uroot.h: Likewise. - * sysdeps/ieee754/dbl-64/usncs.h: Likewise. - * sysdeps/ieee754/dbl-64/utan.h: Likewise. - * sysdeps/ieee754/dbl-64/utan.tbl: Likewise. - - * sysdeps/ieee754/flt-32/e_asinf.c: Added copyright notice for Stephen - Moshier and Lesser GPL copying permission notice, per license from - Moshier. - * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise. - * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise. - - * sysdeps/ieee754/ldbl-128/e_j0l.c: Added Lesser GPL copying permission - notice, per license from copyright holder Stephen Moshier. - * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise. - -2002-08-26 Kaz Kojima - - * sysdeps/sh/Makefile (sysdeps_routines): Add divdi3 in csu dir. - (shared-only-routines): Likewise. - -2002-08-26 Roland McGrath - - * locale/programs/ld-ctype.c (ctype_read): When given a repertoire - name of "", store a null pointer instead. - - * configure.in (elf): Set to yes for freebsd*, netbsd*. - * configure: Regenerated. - - * locale/xlocale.c [! (USE_TLS && HAVE___THREAD)] (__libc_tsd_LOCALE): - Initialize this instead of __libc_tsd_LOCALE_data. - - * sysdeps/unix/grantpt.c (pts_name): Convert ENOTTY return from - ptsname_r to EINVAL. - - * sysdeps/generic/ptsname.c (__ptsname_r): Return ENOSYS instead of 0. - - * rt/Makefile: Revert last change, it was inappropriate to presume aio - implementations depend on pthreads. - * rt/tst-aio.c (do_test): Exit happy if first failure is ENOSYS. - * rt/tst-aio64.c (do_test): Likewise. - * rt/tst-aio2.c (do_test): Likewise. + * Makerules (build-module-helper-objlist): New variable, + broken out of build-module. Insert --whole-archive/--no-whole-archive + immediately each *_pic.a file in the link object list. + (whole-archive): New variable, used by that. + (build-module-objlist): New variable using build-module-helper-objlist. + (build-module, build-module-helper): Use it. + (build-shlib-objlist): New variable using build-module-helper-objlist. + (build-shlib): Use that. + * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Likewise. + + * posix/spawni.c: Moved to ... + * sysdeps/posix/spawni.c: ... here. + * sysdeps/generic/spawni.c: New file. + +2001-06-16 Roland McGrath + + * hurd/Makefile (routines): Add lookup-retry. + * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Broken out ... + * hurd/lookup-retry.c: ... into here, new file. + * sysdeps/mach/hurd/dl-sysdep.c (open_file): Call that instead + using of duplicate code here. + + * hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0. + +2001-06-17 Ulrich Drepper + + * po/ja.po: Update from translation team. + +2001-06-04 Bruno Haible + + * locale/programs/locfile.c (siblings_uncached, siblings, full_read, + compare_files): New functions. + (write_locale_data): Use xmalloc. Compare the file with the locale + data files for the same category in other locales, and reuse it if + possible and safe. + +2001-06-07 Mark Kettenis + + * grp/initgroups.c (initgroups): Factor out re-usable code into... + (internal_getgrouplist): ... new function. + (getgrouplist): New function. + * grp/grp.h (getgrouplist): New prototype. + * grp/Versions [2.2.4]: Add getgrouplist. + +2001-06-16 Ulrich Drepper + + * inet/netinet/ip6.h: Fix comments in ip6_hdr. + Patch by Pekka Savola . + +2001-06-15 Roland McGrath + + * rt/Makefile (aio-routines, clock-routines, timer-routines): New + variables, broken out of librt-routines. + (librt-routines): Set using those. + (extra-libs, extra-libc-others, tests): Set these unconditionally. + (distribute): No need for $(librt-map) or $(librt-routines:=.c) here. + * sysdeps/generic/aio_fsync.c: New file. + * sysdeps/generic/aio_misc.c: New file. + * sysdeps/generic/aio_write.c: New file. + * sysdeps/generic/aio_write64.c: New file. + * sysdeps/generic/aio_read64.c: New file. + * sysdeps/generic/aio_read.c: New file. + * sysdeps/generic/aio_notify.c: New file. + * sysdeps/generic/lio_listio64.c: New file. + * sysdeps/generic/lio_listio.c: New file. + * sysdeps/generic/aio_cancel.c: New file. + * sysdeps/generic/aio_misc.h: New file. + * sysdeps/generic/aio_suspend.c: New file. + * rt/aio_cancel.c: Moved to ... + * sysdeps/pthread/aio_cancel.c: ... here. + * rt/aio_fsync.c: Moved to ... + * sysdeps/pthread/aio_fsync.c: ... here. + * rt/aio_misc.c: Moved to ... + * sysdeps/pthread/aio_misc.c: ... here. + * rt/aio_misc.h: Moved to ... + * sysdeps/pthread/aio_misc.h: ... here. + * rt/aio_notify.c: Moved to ... + * sysdeps/pthread/aio_notify.c: ... here. + * rt/aio_read.c: Moved to ... + * sysdeps/pthread/aio_read.c: ... here. + * rt/aio_read64.c: Moved to ... + * sysdeps/pthread/aio_read64.c: ... here. + * rt/aio_suspend.c: Moved to ... + * sysdeps/pthread/aio_suspend.c: ... here. + * rt/aio_write.c: Moved to ... + * sysdeps/pthread/aio_write.c: ... here. + * rt/aio_write64.c: Moved to ... + * sysdeps/pthread/aio_write64.c: ... here. + * rt/lio_listio.c: Moved to ... + * sysdeps/pthread/lio_listio.c: ... here. + * rt/lio_listio64.c: Moved to ... + * sysdeps/pthread/lio_listio64.c: ... here. + +2001-06-14 Roland McGrath + + * configure.in: Let sysdeps Implies files in add-ons bring in + sysdeps directories from the main source and other add-ons too. + +2001-06-15 Jakub Jelinek + + * math/test-misc.c (main): Add tests for nextafter and nexttoward + with +-Inf as second argument. + + * sysdeps/generic/s_nexttowardf.c (__nexttowardf): Only check for + NaN, not Inf. + * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Fix check for NaN. + * sysdeps/i386/fpu/s_nexttoward.c: New. + * sysdeps/i386/fpu/s_nexttowardf.c: New. + * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Simplify + check for NaN, optimize x==+-0 handling. + * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): Likewise. + * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Simplify + check for NaN, fix sign in x==+-0 case. + * sysdeps/ia64/fpu/s_nexttoward.c: New. + * sysdeps/ia64/fpu/s_nexttowardf.c: New. + +2001-06-15 H.J. Lu + + * rt/tst-aio2.c (do_test): Initialize cb.aio_offset to 0. * rt/tst-aio3.c (do_test): Likewise. * rt/tst-aio4.c (do_test): Likewise. * rt/tst-aio5.c (do_test): Likewise. * rt/tst-aio6.c (do_test): Likewise. - * rt/tst-aio7.c (do_test): Likewise. - * sysdeps/generic/bits/libc-lock.h (__libc_setspecific): Use a cast to - void so as to avoid compiler warnings. +2001-06-15 Andreas Schwab - * libio/oldstdfiles.c [! _IO_MTSAFE_IO] (DEF_STDFILE): Don't define - _IO_wide_data_FD, which is never used here. + * sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline. + * sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline. - * libio/iofread.c - [! _IO_MTSAFE_IO] (fread_unlocked): Add libc_hidden_ver defn. - * libio/iofputs.c [! _IO_MTSAFE_IO] (fputs_unlocked): Likewise. - * libio/iofgets.c [! _IO_MTSAFE_IO] (fgets_unlocked): Likewise. +2001-06-15 Andreas Jaeger - * include/resolv.h [! _LIBC_REENTRANT] (_res): #undef it before decl. - * include/netdb.h [! _LIBC_REENTRANT] (h_errno): Declare normal extern. + * gmon/tst-sprofil.c (fac): Make static to avoid compiler warning. - * misc/syslog.c (openlog): Conditionalize locking on [_LIBC_REENTRANT]. - (closelog): Likewise. +2001-06-14 Andreas Schwab -2002-07-06 Bruno Haible + * elf/ldconfig.c (search_dir): Fix check for regular file. - * sysdeps/alpha/fpu/fpu_control.h: Comment fix. + * sysdeps/m68k/fpu/e_log2f.c: Fix typo. + * sysdeps/m68k/fpu/e_log2l.c: Fix typo. - * sysdeps/unix/sysv/linux/alpha/pipe.S: Moved to ... - * sysdeps/unix/alpha/pipe.S: ... here. - * sysdeps/unix/bsd/osf/alpha/pipe.S: File removed. +2001-06-14 Roland McGrath - * sysdeps/unix/i386/brk.S: Rename local label to '.Lhere' in ELF. + * sysdeps/mach/hurd/bits/fcntl.h [ __USE_POSIX199309 || __USE_UNIX98]: + (O_DSYNC, O_RSYNC): New macros, both defined to O_SYNC as Linux does. - * sysdeps/unix/i386/brk.S: Add PSEUDO_END invocation. - * sysdeps/unix/i386/fork.S: Likewise. - * sysdeps/unix/i386/pipe.S: Likewise. - * sysdeps/unix/i386/wait.S: Likewise. +2001-06-13 Roland McGrath - * sysdeps/unix/fork.S: Fix PSEUDO_END argument. - * sysdeps/unix/arm/fork.S: Likewise. + * rt/aio_notify.c: Include for _POSIX_REALTIME_SIGNALS. - * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Swap DO_CALL - arguments. - (DO_CALL): Swap argument order. - * sysdeps/unix/sysv/linux/hppa/sysdep.h (PSEUDO): Swap DO_CALL - arguments. - (DO_CALL): Swap argument order. - * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Swap DO_CALL - arguments. - (DO_CALL): Swap argument order. - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PSEUDO): Swap DO_CALL - arguments. - (DO_CALL): Swap argument order. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (PSEUDO): Swap DO_CALL - arguments. - (DO_CALL): Swap argument order. - * sysdeps/unix/sysv/linux/sh/sysdep.h (PSEUDO): Swap DO_CALL - arguments. - (DO_CALL): Swap argument order. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Swap DO_CALL - arguments. - (DO_CALL): Swap argument order. + * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code + so the label is not considered unused. - * sysdeps/i386/sysdep.h (PSEUDO): Fix syntax error. - (L): Define right for ELF. - * sysdeps/unix/sysv/linux/i386/sysdep.h (L): Remove definition. - Now defined in sysdeps/i386/sysdep.h. + * sysdeps/mach/hurd/pwrite64.c: New file. + * sysdeps/mach/hurd/pread64.c: New file. - * sysdeps/posix/readv.c: Ansify function definition. - * sysdeps/posix/writev.c: Likewise. + * sysdeps/mach/hurd/pread.c + (__libc_pread): Define this name, with __pread as an alias. + * sysdeps/mach/hurd/pwrite.c + (__libc_pwrite): Define this name, with __pwrite as an alias. - * stdio-common/tst-fseek.c (main): Don't assume that off_t and size_t - have the same size. Avoid direct cast from size_t to off_t. + Implement POSIX "shared memory objects" as regular + files residing in the /var/run/shm/ directory. + This works on any system that supports _POSIX_MAPPED_FILES, + to make it also support _POSIX_SHARED_MEMORY_OBJECTS. + * sysdeps/posix/shm_open.c: New file. + * sysdeps/posix/shm_unlink.c: New file. + * sysdeps/mach/hurd/bits/posix_opt.h + (_POSIX_SHARED_MEMORY_OBJECTS): Define it. - * login/tst-utmp.c (simulate_login): Don't leave garbage after the - nul byte in entry[n].ut_user. - (simulate_logout): Likewise. + * rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]: + Use raise instead of __aio_sigqueue. - * login/programs/utmpdump.c (print_entry): Test _HAVE_UT_TYPE, - _HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST, instead of assuming the - existence of corresponding members of 'struct utmp'. - * login/tst-utmp.c: Trivialize the test if testing 'struct utmp' and - !_HAVE_UT_TYPE. + * sysdeps/mach/hurd/pread.c: Fail with EINVAL if OFFSET is negative. + * sysdeps/mach/hurd/pwrite.c: Likewise. - * sysdeps/unix/opendir.c (__opendir): If st_blksize is 0 or too small, - allocate a buffer of at least BUFSIZ bytes, not just of - sizeof (struct dirent). + * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): libc=0.3 + [USE_IN_LIBIO && !GLIBC_OLDEST_ABI] (.*-.*-gnu-gnu.*): Use GLIBC_2.2.4 + as default version set. - * sysdeps/generic/glob.c: Include . - (NAME_MAX): Define a fallback. - (glob_in_dir): Allocate enough room for a 'struct dirent64' on the - stack. - * posix/tst-dir.c: Include , for offsetof. - (main): Allocate enough room for a 'struct dirent64' on the stack. - * posix/tst-gnuglob.c (my_DIR): Allocate enough room for a - 'struct dirent'. +2001-06-13 Ulrich Drepper - * sysdeps/unix/sysv/linux/init-first.c: Don't include - kernel-features.h. + * libio/iolibio.h (_IO_freopen): Correct last parameter to + _IO_file_open. + (_IO_freopen64): Likewise. + Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326]. - * inet/htontest.c: Include . + * elf/elf.h: Add a few more EM_* constants. - * sysdeps/generic/sys/sysinfo.h: Surround with __{BEGIN,END}_DECLS. +2001-06-12 Bruno Haible - * include/sys/sysctl.h: Comment fix. + * intl/dcigettext.c (DCIGETTEXT): Release the lock before returning. - * elf/rtld.c (_rtld_global) [! _LIBC_REENTRANT]: Don't initialize - _dl_load_lock. - * libio/fileno.c (fileno_unlocked): Define regardless of _IO_MTSAFE_IO. +2001-06-09 Ben Collins - * sysdeps/unix/bsd/bsd4.4/syscalls.list (__sigaltstack): New alias. + * sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD. + * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise. + * sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of + hardcoded B400000. - * sysdeps/unix/inet/syscalls.list (__connect_internal): New alias. - (__getpeername): New alias. - (__getsockname): New alias. - (__socket): New alias. +2001-06-13 Ulrich Drepper - * sysdeps/unix/common/syscalls.list (getpgid): Remove. + * time/sys/time.h: Don't use enum __itimer_which ever for + __itimer_which_t for C++. + Reported by Martin Buchholz . - * sysdeps/unix/syscalls.list (__chown_internal): New alias. - (__fcntl_internal): New alias. - (__profil): New alias. + * po/fr.po: Update from translation team. -2002-08-26 Ulrich Drepper +2001-06-12 H.J. Lu - * nscd/hstcache.c (cache_addhst): Add new parameter saying whether - entry was for getaddr* lookup or not. Add only matching cache - entry. Change all callers [PR libc/4317]. + * configure.in: Fix typos in missing program names. + * configure: Regenerated. - * libio/wfileops.c (_IO_wfile_seekoff): Set fp->_offset after - finding the read position [PR libc/4265]. - * libio/Makefile (tests): Add bug-rewind2. - * libio/bug-rewind2.c: New file. +2001-06-12 Andreas Jaeger - * libio/bug-rewind.c: Fix creation of temp file. + * iconvdata/tst-table-to.c: Include string.h for strcmp prototype. -2002-08-25 Ulrich Drepper + * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ULPs for tanh (-0.7). - * nss/getXXbyYY_r.c (REENTRANT_NAME): Return ENOENT if status is - neither SUCCESS nor TRYAGAIN [PR libc/4259]. - * nss/nss_files/files-XXX.c (internal_getent): Don't set *errnop - to ENOENT if no entry is found. - * nis/nss_compat/compat-grp.c: Don't set errno in case of lookup - failure. - * nis/nss_compat/compat-initgroups.c: Likewise. - * nis/nss_compat/compat-pwd.c: Likewise. - * nis/nss_compat/compat-spwd.c: Likewise. - * nis/nss_nis/nis-alias.c: Likewise. - * nis/nss_nis/nis-ethers.c: Likewise. - * nis/nss_nis/nis-grp.c: Likewise. - * nis/nss_nis/nis-hosts.c: Likewise. - * nis/nss_nis/nis-initgroups.c: Likewise. - * nis/nss_nis/nis-netgrp.c: Likewise. - * nis/nss_nis/nis-network.c: Likewise. - * nis/nss_nis/nis-proto.c: Likewise. - * nis/nss_nis/nis-publickey.c: Likewise. - * nis/nss_nis/nis-pwd.c: Likewise. - * nis/nss_nis/nis-rpc.c: Likewise. - * nis/nss_nis/nis-service.c: Likewise. - * nis/nss_nis/nis-spwd.c: Likewise. - * resolv/nss_dns/dns-host.c: Likewise. - * resolv/nss_dns/dns-network.c: Likewise. - * nis/nss_nisplus/nisplus-alias.c: Save errno around NIS calls. +2001-06-11 Andreas Jaeger + + * sysdeps/ieee754/ldbl-128/e_coshl.c: New file. Contributed by + Stephen L Moshier . + + * aclocal.m4: Quote AC_FD_MSG and AC_FD_CC. + + * sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7). + * sysdeps/s390/fpu/libm-test-ulps: Likewise. + +2001-06-11 Michael Deutschmann + + * rt/tst-aio4.c (do_test): Test whether rt signals are supported. + Use my_signo instead of MY_SIGNO and initialize it so that the + used signal is always available. + +2001-06-11 Andreas Jaeger , + Michael Deutschmann + + * io/test-lfs.c (do_prepare): Clean up error messages. + (test_ftello): Check for EFBIG and ENOSPC, clean up error messages. + (do_test): Likewise. + +2001-06-11 Andreas Jaeger + + * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC, + IMAXBEL): Make always visible since they're needed by POSIX. + Closes PR libc/2320, reported by Chris Yeoh . + +2001-06-10 Ben Collins + + * sysdeps/arm/elf/start.S: Use #function, not @function, for + .type of _start. + + * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get + INT_MAX. + +2001-06-07 H.J. Lu + + * sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS. + +2001-06-10 Roland McGrath + + * elf/reldep4mod2.c: Use fully typed decls to avoid warnings. + * elf/reldep4mod4.c: Likewise. + +2001-06-10 Mark Kettenis + + * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location. + +2001-06-08 Andreas Schwab + + * posix/regex.c (re_match_2_internal) [case wordbeg, wordend]: + Don't dereference at end of string. + +2001-06-06 Roland McGrath + + * sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size. + From Robert Bihlmeyer . + +2001-06-06 Ulrich Drepper + + * po/ko.po: Update from translation team. + +2001-06-06 Andreas Jaeger + + * manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to + offset+length-1. + Reported by Robert Bernecky . + +2001-06-06 Jakub Jelinek + + * sysdeps/cris/elf/start.S: Fix a typo introduced by last patch. + * sysdeps/ia64/elf/start.S: Likewise. + * sysdeps/sh/elf/start.S: Likewise. + * sysdeps/s390/s390-32/elf/start.S: Likewise. + * sysdeps/s390/s390-64/elf/start.S: Likewise. + +2001-06-05 Matthew Wilcox + + * sysdeps/hppa/bsd-_setjmp.S: New. + * sysdeps/hppa/bsd-setjmp.S: New. + + * sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new + gcc warnings about multi-line strings. + + * sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove. + * sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove. + + * sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit, + setrlimit directly instead of using wrappers. + +2001-05-01 Richard Hirst + + * sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall. + * sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall. + +2001-06-05 Philipp Thomas + + * nis/nis_call.c (__nisbind_connect): Don't mark for translation + what can't be translated. + +2001-06-06 Ulrich Drepper + + * timezone/zic.c: Update from tzcode2001c. + * timezone/private.h: Likewise. + * timezone/africa: Update from tzdata2001c. + * timezone/asia: Likewise. + * timezone/europe: Likewise. + * timezone/northamerica: Likewise. + * timezone/southamerica: Likewise. + * timezone/zone.tab: Likewise. + +2001-06-04 Bruno Haible + + * iconv/loop.c (UNICODE_TAG_HANDLER): New macro. + * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke + UNICODE_TAG_HANDLER. + (__gconv_transform_internal_ucs2): Likewise. + (__gconv_transform_internal_ucs2reverse): Likewise. + * iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER. + * iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise. + * iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise. + * iconvdata/big5.c (BODY for TO_LOOP): Likewise. + * iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise. + * iconvdata/cp1255.c (BODY for TO_LOOP): Likewise. + * iconvdata/cp1258.c (BODY for TO_LOOP): Likewise. + * iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise. + * iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise. + * iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise. + * iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise. + * iconvdata/gbk.c (BODY for TO_LOOP): Likewise. + * iconvdata/ibm930.c (BODY for TO_LOOP): Likewise. + * iconvdata/ibm932.c (BODY for TO_LOOP): Likewise. + * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise. + * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise. + * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise. + * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise. + * iconvdata/ibm943.c (BODY for TO_LOOP): Likewise. + * iconvdata/iso646.c (BODY for TO_LOOP): Likewise. + * iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise. + * iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise. + * iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise. + * iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise. + * iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise. + * iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise. + * iconvdata/johab.c (BODY for TO_LOOP): Likewise. + * iconvdata/sjis.c (BODY for TO_LOOP): Likewise. + * iconvdata/t.61.c (BODY for TO_LOOP): Likewise. + * iconvdata/uhc.c (BODY for TO_LOOP): Likewise. + * iconvdata/unicode.c (BODY for TO_LOOP): Likewise. + * iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j, + TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z, + TAG_language_zh, CURRENT_TAG_MASK): New enum values. + (EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set + is already selected but set2 or tag are set. + (conversion): New enum type. + (cvlist_t): New type. + (CVLIST, CVLIST_FIRST, CVLIST_REST): New macros. + (conversion_lists): New array. + (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag. If "ja", + prefer conversion to Japanese character sets. If "zh", prefer + conversion to GB2312. If "ko", prefer conversion to KSC5601. Small + optimizations. + (INIT_PARAMS): Add tag. + (UPDATE_PARAMS): Add tag. + +2001-06-04 Bruno Haible + + * locale/programs/locfile.c (write_locale_data): Before creat(), + unlink the file, to avoid crashing the processes that mmap it. Change + a double slash to a single slash. Free fname in case of error return. + +2001-06-02 Jakub Jelinek + + * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03 + changes, do the special handling for denormal numbers, not for + normalized numbers (patch by ). + + * math/test-misc.c (main): Test frexpl with denormal arguments. + +2001-06-04 Jakub Jelinek + + * math/libm-test.inc (llround_test): Add two new llround tests. + * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow + overflow when rounding away from zero. + +2001-06-04 Jakub Jelinek + + * math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2. + * math/math_private.h (__ieee754_log2, __ieee754_log2f, + __ieee754_log2l): New prototypes. + * sysdeps/generic/w_log2.c: New file. + * sysdeps/generic/w_log2f.c: New file. + * sysdeps/generic/w_log2l.c: New file. + * sysdeps/generic/s_log2l.c: Move... + * sysdeps/generic/e_log2l.c: ...to here. Rename to __ieee754_log2l. + * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0) + and log2(x < 0). + * sysdeps/i386/fpu/s_log2.S: Move... + * sysdeps/i386/fpu/e_log2.S: ...to here. Rename to __ieee754_log2. + * sysdeps/i386/fpu/s_log2f.S: Move... + * sysdeps/i386/fpu/e_log2f.S: ...to here. Rename to __ieee754_log2f. + * sysdeps/i386/fpu/s_log2l.S: Move... + * sysdeps/i386/fpu/e_log2l.S: ...to here. Rename to __ieee754_log2l. + * sysdeps/m68k/fpu/s_log2.c: Move... + * sysdeps/m68k/fpu/e_log2.c: ...to here. Rename to __ieee754_log2. + * sysdeps/m68k/fpu/s_log2f.c: Move... + * sysdeps/m68k/fpu/e_log2f.c: ...to here. Rename to __ieee754_log2f. + * sysdeps/m68k/fpu/s_log2l.c: Move... + * sysdeps/m68k/fpu/e_log2l.c: ...to here. Rename to __ieee754_log2l. + * sysdeps/ieee754/dbl-64/s_log2.c: Move... + * sysdeps/ieee754/dbl-64/e_log2.c: ...to here. Rename to + __ieee754_log2. + * sysdeps/ieee754/flt-32/s_log2f.c: Move... + * sysdeps/ieee754/flt-32/e_log2f.c: ...to here. Rename to + __ieee754_log2f. + +2001-06-04 Jakub Jelinek + + * sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that + even arguments which result in denormalized exp2 are accepted. + (__exp2): Arguments equal to u_threshold already result into + underflow. + * sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise. + * sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise. + * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too + low, with corrected lowmark use greaterequal, not greater. + * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise. + +2001-06-04 Jakub Jelinek + + * math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX. + * sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf. + * sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise. + * sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise. + * sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise. + * sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise. + * sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise. + * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise. + +2001-06-04 Jakub Jelinek + + * sysdeps/generic/w_coshl.c (__coshl): Test if finite argument + gave non-finite result instead of using constant in generic + version. + * sysdeps/generic/w_coshf.c (__coshf): Likewise. + * sysdeps/generic/w_cosh.c (__cosh): Likewise. + * sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove. + (__exp10): Test if finite argument gave non-finite result. + * sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f): + Likewise. + * sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l): + Likewise. + +2001-06-04 Jakub Jelinek + + * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix + overflow threshold constant (log(LDBL_MAX)+M_LN2l). + +2001-05-29 Bruno Haible + + * locale/programs/ld-ctype.c (idx_table): New struct type. + (idx_table_init, idx_table_get, idx_table_add): New functions. + (MAX_CHARNAMES_IDX): Remove macro. + (locale_ctype_t): Change type of charnames_idx field. + (ctype_startup): Change initialization of charnames_idx field. + (find_idx): Use idx_table_get and idx_table_add for speed. + + * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value + computation of characters in a range. + +2001-05-29 Bruno Haible + + * iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for , + . + (__ucs_to_gb18030_tab1): Likewise. + (BODY for FROM_LOOP): Add mapping for ... + (BODY for TO_LOOP): Likewise. + * iconvdata/tst-table-charmap.sh: Update for charmaps containing + syntax. + * iconvdata/tst-table-from.c (bmp_only): New variable. + (utf8_decode): If bmp_only, don't return characters outside Unicode + plane 0. + (main): When testing UTF-8 or GB18030, set bmp_only to 1. Don't print + a conversion line if utf8_decode returns NULL. + * iconvdata/tst-table-to.c (main): When testing encodings other than + UTF-8 and GB18030, loop upto U+30000 instead of U+10000. Use UTF-8 + instead of UCS-2 as input. + * iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000 + of the charmap. + +2001-05-29 Bruno Haible + + * iconvdata/cns11643l1.c: Update to Unicode 3.1. + (__cns11643l1_to_ucs4_tab): Regenerated. + (__cns11643l1_from_ucs4_tab12): Regenerated. + * iconvdata/cns11643.c: Update to Unicode 3.1. + (__cns11643l14_to_ucs4_tab): Remove array. + (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab, + __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab, + __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays. + (__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab. + (__cns11643_from_ucs4p2_tab): New array. + * iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration. + (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab, + __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab, + __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations. + (cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14. + (__cns11643_from_ucs4_tab): Remove declaration. + (__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New + declarations. + (ucs4_to_cns11643): Update for new arrays. Treat U+3400..U+4DFF and + U+20000..U+2A6D6. + * iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove + declaration. + (__cns11643_from_ucs4p0_tab): New declaration. + (ucs4_to_cns11643l2): Update for new arrays. + * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes + 3 to 7. + (BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14. + * iconvdata/EUC-TW.irreversible: New file. + * iconvdata/tst-table.sh: Use it. + * iconvdata/Makefile (distribute): Add CP1255.irreversible, + CP1258.irreversible, EUC-TW.irreversible. + +2001-05-29 Bruno Haible + + * locale/C-translit.h.in: Add transliterations for new Unicode 3.1 + mathematical symbols. + +2001-06-05 Andreas Jaeger + + * manual/stdio.texi (Portable Positioning): Fix description of + fpos_t and fpos64_t. + +2001-06-06 Ulrich Drepper + + * sysdeps/generic/wordexp.c: Undo last patch. Use strndupa instead. + + * po/sk.po: Update from translation team. + +2001-06-05 Andreas Jaeger + + * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize + tmpfs, patch by Stanislav Brabec . + Closes PR libc/2315. + +2001-06-05 Ulrich Drepper + + * sysdeps/generic/wordexp.c: Add missing free. + Patch by yeti@physics.muni.cz. + +2001-06-02 Tom Browder + + * misc/tst-tsearch.c (mangle_tree): Ensure array indices are + within bounds when lag > 0. + +2001-06-05 Ulrich Drepper + + * po/tr.po: New file. + +2001-06-05 Andreas Jaeger + + * manual/libm-err-tab.pl (parse_ulps): Fix typo. + +2001-06-04 H.J. Lu + + * sysdeps/alpha/elf/start.S: Add .type for the entry point. + * sysdeps/arm/elf/start.S: Likewise. + * sysdeps/hppa/elf/start.S: Likewise. + * sysdeps/i386/elf/start.S: Likewise. + * sysdeps/m68k/elf/start.S: Likewise. + * sysdeps/mips/elf/start.S: Likewise. + * sysdeps/ia64/elf/start.S: Likewise. + * sysdeps/sh/elf/start.S: Likewise. + * sysdeps/s390/s390-32/elf/start.S: Likewise. + * sysdeps/s390/s390-64/elf/start.S: Likewise. + * sysdeps/cris/elf/start.S: Likewise. + +2001-06-04 Bruce Mitchener + + * manual/resource.texi: Correct setpriority/nice documentation. + + * sysdeps/unix/nice.c: Correct nice() implementation. + +2001-06-04 Andreas Jaeger + + * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by + Stephen L Moshier . + +2001-06-03 Roland McGrath + + * Makefile (postclean): Remove obsolete sysd-Makefile. + +2001-06-01 Roland McGrath + + * sysdeps/alpha/fpu/fclrexcpt.c: #include + and use compat_symbol/versioned_symbol instead of plain + symbol_version/default_symbol_version. + * sysdeps/alpha/fpu/fegetenv.c: Likewise. + * sysdeps/alpha/fpu/fesetenv.c: Likewise. + * sysdeps/alpha/fpu/feupdateenv.c: Likewise. + * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise. + * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise. + * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise. + * sysdeps/arm/fpu/fclrexcpt.c: Likewise. + * sysdeps/arm/fpu/fegetenv.c: Likewise. + * sysdeps/arm/fpu/fesetenv.c: Likewise. + * sysdeps/arm/fpu/fraiseexcpt.c: Likewise. + * sysdeps/arm/fpu/fsetexcptflg.c: Likewise. + * sysdeps/i386/fpu/fclrexcpt.c: Likewise. + * sysdeps/i386/fpu/fegetenv.c: Likewise. + * sysdeps/i386/fpu/fesetenv.c: Likewise. + * sysdeps/i386/fpu/feupdateenv.c: Likewise. + * sysdeps/i386/fpu/fgetexcptflg.c: Likewise. + * sysdeps/i386/fpu/fraiseexcpt.c: Likewise. + * sysdeps/i386/fpu/fsetexcptflg.c: Likewise. + * sysdeps/m68k/fpu/fclrexcpt.c: Likewise. + * sysdeps/m68k/fpu/fegetenv.c: Likewise. + * sysdeps/m68k/fpu/fesetenv.c: Likewise. + * sysdeps/m68k/fpu/feupdateenv.c: Likewise. + * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise. + * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise. + * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise. + * sysdeps/powerpc/fclrexcpt.c: Likewise. + * sysdeps/powerpc/fpu/fegetenv.c: Likewise. + * sysdeps/powerpc/fpu/fesetenv.c: Likewise. + * sysdeps/powerpc/fpu/feupdateenv.c: Likewise. + * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise. + * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise. + * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise. + + * iconvdata/cp1258.c: Include for abort decl. + * iconvdata/iso-2022-cn-ext.c: Likewise. + +2001-06-01 Andreas Jaeger + + * Versions.def: Add version 2.2.4. + +2001-06-01 Ulrich Drepper + + * socket/Makefile (routines): Add sockatmark. + * socket/Versions [GLIBC_2.2.4]: Add sockatmark. + * socket/sys/socket.h: Add prototype for sockatmark. + * sysdeps/generic/sockatmark.c: New file. + * sysdeps/unix/sockatmark.c: New file. + +2001-06-01 Andreas Jaeger + + * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is + B4000000. + (cfsetospeed): Likewise. + Reported by Lukasz Trabinski . + +2001-05-31 Joseph S. Myers + + * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++. + +2001-05-30 Martin Schwidefsky + + * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t + needs to have the same aligment as the kernel structure. + +2001-05-29 Jakub Jelinek + + * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t, + u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined. + * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t, + u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs + against multiple definition. + +2001-05-30 Ulrich Drepper + + * po/da.po: Update from translation team. + +2001-05-29 Andreas Jaeger + + * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by + Stephen L Moshier . + + * math/libm-test.inc (sinh_test): Add new test case. + + * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) = + x when x < 2^-32. + Patch by Stephen L Moshier . + +2001-05-23 Andreas Jaeger + + * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to... + * iconvdata/testdata/WINDOWS-1255..UTF8: this. + +2001-05-27 Andreas Jaeger + + * manual/stdio.texi (String Streams): Fix fmemopen description. + Reported by Michal Kochanowicz . + +2001-05-26 H.J. Lu + + * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend + to s_sigsuspend. Add s_mmap2. + + * sysdeps/mips/atomicity.h: New file. + + * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file. + + * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put + back __key. + +2001-05-25 Bruce Mitchener + + * manual/ctype.texi: Minor fix. + * manual/install.texi: Likewise. + * manual/startup.texi: Likewise. + * manual/examples/dir.c: Use perror() rather than puts(). + +2001-05-25 David Mosberger + + * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following + #endif directive inside a comment to avoid compiler warnings. + +2001-05-25 Philipp Thomas + + * nis/nis_print.c (nis_nstype2str): Don't mark names of + naming services for translation, only UNKNOWN needs it. + Add comment to prevent it for the future. + +2001-05-25 Joseph S. Myers + + * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC + 3.1 and non-GCC C99 compilers. + +2001-05-22 David Mosberger + + * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better + performance. + * sysdeps/ia64/memcpy.S: Likewise. + + * sysdeps/ia64/bcopy.S: New file. + + * sysdeps/ia64/bzero.S: New file (derived from memset.S). + +2001-05-26 Ulrich Drepper + + * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7). + +2001-05-24 Ulrich Drepper + + * iconvdata/Makefile: Add rules for CP10007. + * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic. + * iconvdata/cp10007.c: New file. + * iconvdata/tst-tables.sh: Add CP10007. + +2001-05-23 kaz Kojima + + * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT. + (_dl_runtime_profile): Likewise.. + +2001-05-23 Thorsten Kukuk + + * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out. + * posix/tst-getaddrinfo.c: Remove AF_UNIX test. + +2001-05-19 H.J. Lu + + * elf/dl-deps.c (_dl_map_object_deps): Pass objname and + errstring of the failed DSO to _dl_signal_error (). + +2001-05-23 Ulrich Drepper + + * iconvdata/gconv-modules: Add more aliases to enable use in + locale names. + +2001-05-23 Andreas Jaeger + + * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s): + Remove, it's not used anywhere anymore. + * sysdeps/unix/sysv/linux/s390/s390-64/Makefile + (CFLAGS-initfini.s): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/Makefile + (CFLAGS-initfini.s): Likewise. + * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s): + Likewise. + * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s): + Likewise. + +2001-05-21 Bruno Haible + + * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always + use 0 instead, and rely on the converter to do the flush. + * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from + utf8_test. + (utf8_test_2, utf8_test_3): New function. + (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3. + +2001-05-22 Jakub Jelinek + + * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps. + + * elf/Makefile (distribute): Add reldep4mod[1234].c. + (tests): Add reldep4. + (modules-names): Add reldep4mod[1234]. + (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules. + * elf/reldep4.c: New file. + * elf/reldep4mod1.c: Likewise. + * elf/reldep4mod2.c: Likewise. + * elf/reldep4mod3.c: Likewise. + * elf/reldep4mod4.c: Likewise. + +2001-05-18 Jakub Jelinek + + * elf/dl-lookup.c (PROTECTED): Remove defines. + (add_dependency): Mark it with internal_function. + (_dl_do_lookup, _dl_do_lookup_versioned): New functions. + (_dl_lookup_symbol, _dl_lookup_symbol_skip, + _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use + it if we don't want do_lookup* inlined. + +2001-05-18 Jakub Jelinek + + * include/link.h (struct r_scope_elem): Remove r_duplist and + r_nduplist fields. + * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them. + * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not + r_duplist. + (_dl_lookup_versioned_symbol_skip): Likewise. + * elf/dl-deps.c (struct list): Remove dup field, rename unique to next. + (_dl_map_object_deps): Don't compute duplicate list. + + * elf/dl-symbol.c: Removed. + * elf/Makefile (routines): Remove dl-symbol. + +2001-05-22 Ulrich Drepper + + * po/el.po: Update from translation team. + * po/sv.po: Likewise. + +2001-05-20 Bruno Haible + + * iconvdata/cp1255.c: Completely rewritten. + * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255. + * iconvdata/testdata/WINDOWS-1255: New file. + * iconvdata/testdata/WINDOWS-1255..UTF8: New file. + * iconvdata/TESTS: Add WINDOWS-1255 test. + * iconvdata/CP1255.irreversible: New file. + +2001-05-20 Bruno Haible + + * iconvdata/cp1258.c: Completely rewritten. + * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258. + * iconvdata/testdata/WINDOWS-1258: New file. + * iconvdata/testdata/WINDOWS-1258..UTF8: New file. + * iconvdata/TESTS: Add WINDOWS-1258 test. + * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before + the main call, and flush it afterwards. + (utf8_decode): Return a string, possibly containing several Unicode + characters. + (main): Update all utf8_decode calls. + * iconvdata/CP1258.irreversible: New file. + +2001-05-20 Bruno Haible + + * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2. + * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2. In the + first case, set outbuf, outstart, outend, and call PREPARE_LOOP before + EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to + the next step. In the second case, clear the state without calling + EMIT_SHIFT_TO_INIT. + * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of + data->__outbuf, and outend instead of data->__outbufend. + * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise. + * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise. + * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise. + * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise. + * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise. + * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise. + * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise. + * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise. + * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise. + +2001-05-21 Jakub Jelinek + + * elf/rtld.c (dl_main): Compute l_map_end for the main program. + * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0. + If match == _dl_loaded, caller can still come from the main program. + (_dl_vsym): Likewise. + * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0. + * elf/dl-error.c (_dl_signal_error): Change NULL objname into "". + * elf/restest2.c: New test. + * elf/Makefile (tests): Add restest2. + (restest2, LDFLAGS-restest2): Add rules. + +2001-05-22 Ulrich Drepper + + * intl/Makefile: Add a few more dependencies to avoid races in the + test shell scripts. + +2001-05-22 Andreas Jaeger + + * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by + Stephen L Moshier . + +2001-05-22 Martin Schwidefsky + + * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the + return addresses instead of the stack pointers. + * sysdeps/s390/s390-64/backtrace.c: Likewise. + +2001-05-21 Jakub Jelinek + + * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include + bits/sigcontext.h instead of bits/sigstack.h. + * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add + multiple-inclusion guards. + +2001-05-21 Andreas Jaeger + + * locale/programs/ld-collate.c (handle_ellipsis): Fix message. + Patch by Philipp Thomas . + +2001-05-17 Bruce Mitchener + + * manual/arpg.texi: Spelling, misc fixes. + * manual/arith.texi: Likewise. + * manual/crypt.texi: Likewise. + * manual/debug.texi: Likewise. + * manual/getopt.texi: Likewise. + * manual/intro.texi: Likewise. + * manual/memory.texi: Likewise. + * manual/nss.texi: Likewise. + * manual/pattern.texi: Likewise. + * manual/process.texi: Likewise. + * manual/resource.texi: Likewise. + * manual/search.texi: Likewise. + * manual/setjmp.texi: Likewise. + * manual/signal.texi: Likewise. + * manual/socket.texi: Likewise. + * manual/stdio.texi: Likewise. + * manual/string.texi: Likewise. + * manual/sysinfo.texi: Likewise. + * manual/terminal.texi: Likewise. + * manual/llio.texi: Document madvise(). + +2001-05-20 Roland McGrath + + * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files + found within $(add-ons) directories too. + [linuxthreads add-on]: Move variable settings for linuxthreads + to new file linuxthreads/Makeconfig. + +2001-05-20 Franz Sirl + + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV): + Define for linux >= 2.4.5 on powerpc. + (__ASSUME_MMAP2_SYSCALL): Likewise. + +2001-05-19 Roland McGrath + + * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the + result port when failing with ELOOP. Do the ELOOP check when + following an absolute symlink target as well as relative. + Remove #ifdef SYMLOOP_MAX conditional--it should always be defined. + +2001-05-18 Andreas Jaeger + + * po/fr.po: Free software is "logiciel libre". + Patch by Martin Michlmayr . + + * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit. + Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271. + +2001-05-17 David Mosberger + + * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file. + +2001-05-17 Ulrich Drepper + + * elf/dl-profile.c (_dl_mcount): Check whether state is + GMON_PROF_ON before doing anything. + +2001-05-17 H.J. Lu + + * elf/sprof.c (read_symbols): Move "++symtab" into the while loop. + +2001-05-17 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use + CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters. + Reported by Mark Burton . + +2001-05-17 Jakub Jelinek + + * elf/ldconfig.c (add_dir): Only warn about stat failure if + opt_verbose. + (search_dir): Likewise. + +2001-05-17 Ulrich Drepper + + * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second + parameter of xaddl. Patch by H . J . Lu . + +2001-05-14 Bruno Haible + + * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen + without previous announcement, reject it regularly, don't abort. + +2001-05-16 Ulrich Drepper + + * math/tgmath.h: Fix handling of int parameters to binary and + ternary functions. Reported by mitr@volny.cz. + + * math/test-tgmath.c: Add tests for calls with integer parameters. + +2001-05-15 Jakub Jelinek + + * sunrpc/rpc_thread.c (rpc_default): Remove. + (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of + rpc_default. + (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr, + __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise. + * sunrpc/auth_none.c (authnone_private): Fix a typo. + +2001-05-16 Martin Schwidefsky + + * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation. + +2001-05-16 Bruce Mitchener + + * manual/llio.texi: Many grammar and typo fixes to the section on AIO. + +2001-05-15 Andreas Jaeger + + * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by + Stephen L Moshier . + + * sysdeps/i386/fpu/libm-test-ulps: Adjust for change. + + * math/libm-test.inc: Add comment with ToDo. + + * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more + accurate algorithm. Patch by Stephen L Moshier . + + * sysdeps/i386/fpu/e_expl.S: Removed. + +2001-05-14 Roland McGrath + + * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a + static pattern rule also that also covers + $(objpx)g$(static-start-installed-name). + [$(start-installed-name) != $(static-start-installed-name)] + (extra-objs, omit-deps, install-lib): Add + $(static-start-installed-name) and g$(static-start-installed-name). + * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here; + just setting static-start-installed-name is now sufficient. + (extra-objs): Add static-start.o here. + (CFLAGS-initfini.s): Remove obsolete variable. + * sysdeps/mach/hurd/i386/Makeconfig: New file. + Define static-start-installed-name here. + + * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig). + * Make-dist (+sysdep-tsrcs): Look for Makeconfig files. + + * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and + associated hair. Instead, just use $(wildcard ...) in the include. + + * configure.in (critic_missing, aux_missing): Collect in these vars + the names of the missing programs, and include them in the error msgs. + * configure: Regenerated. + +2001-05-14 Andreas Jaeger + + * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests. + + * math/libm-test.inc (tanh_test): Add testcases for last tanh bug. + +2001-05-14 Stephen L Moshier + + * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test. + +2001-05-11 Jakub Jelinek + + * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize + as well if swapping strings. + Make sure stop is not past end of second string. + * posix/bug-regex4.c: New test. + * posix/Makefile (tests): Add bug-regex4. + +2001-05-10 Andreas Jaeger + + * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal + requirement. + +2001-05-12 Andreas Jaeger + + * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for + internal prototypes. + * sysdeps/ieee754/dbl-64/doasin.c: Likewise. + * sysdeps/ieee754/dbl-64/dosincos.c: Likewise. + * sysdeps/ieee754/dbl-64/halfulp.c: Likewise. + * sysdeps/ieee754/dbl-64/sincos32.c: Likewise. + * sysdeps/ieee754/dbl-64/slowexp.c: Likewise. + * sysdeps/ieee754/dbl-64/slowpow.c: Likewise. + * sysdeps/ieee754/dbl-64/branred.c: Likewise. + + * math/math_private.h: Add prototypes for internal functions of + the IBM Accurate Mathematical Library. + + * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for + prototypes. + * sysdeps/ieee754/dbl-64/s_tan.c: Likewise. + + * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for + internal prototypes. + * sysdeps/ieee754/dbl-64/s_atan.c: Likewise. + * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise. + * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise. + * sysdeps/ieee754/dbl-64/e_pow.c: Likewise. + * sysdeps/ieee754/dbl-64/e_log.c: Likewise. + * sysdeps/ieee754/dbl-64/e_exp.c: Likewise. + * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. + * sysdeps/generic/e_rem_pio2l.c: Likewise. + (__ieee754_rem_pio2l): Fix prototype. + + * math/math_private.h (__copysign): Add internal prototype. + +2001-05-11 Andreas Jaeger + + * sysdeps/unix/sysv/linux/configure.in: Move binutils check to... + * sysdeps/unix/sysv/linux/mips/configure.in: ...here. New file. + +2001-05-11 Andreas Jaeger + + * sysdeps/unix/sysv/linux/configure.in: Check binutils version on + MIPS. + + * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output + format directive. Patch by Steven J. Hill . + +2001-05-11 Roland McGrath + + * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use + $(build-module) here, since we don't need the full magilla. + Just use $(build-module-helper) and append our special options. + +2001-05-09 Andreas Schwab + + * sysdeps/unix/readdir.c: Make sure we don't modify errno when we + reached EOF. + +2001-05-07 H.J. Lu + + * elf/ldconfig.c (dir_entry): Add ino and dev. + (add_single_dir): Compare ino and dev to check if 2 directory + paths are the same or not. Free entry->path for duplicates. + (add_dir): Initialize ino and dev for entry. + (search_dir): Handle symlink to directory. + +2001-05-07 Andreas Jaeger + + * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests. + + * math/libm-test.inc (exp_test): Add some more tests. + (pow_test): Run double only test also for long double. + + * math/test-ldouble.c (TEST_LDOUBLE): Define. + * math/test-ildoubl.c (TEST_LDOUBLE): Likewise. + + * sysdeps/generic/bits/confname.h: Remove extra comma at end of + enumeration. + Closes PR libc/2240. + + * scripts/config.guess: Imported from gnu.org. + * scripts/config.sub: Likewise. + +2001-05-05 Jakub Jelinek + + * include/features.h (__USE_EXTERN_INLINES): Don't define if + __NO_INLINE__ is defined. + * ctype/ctype.h (tolower, toupper): Change the guard condition to + __USE_EXTERN_INLINES check only. + * stdlib/stdlib.h (strtod, ...): Likewise. + * wcsmbs/wchar.h (mbrlen): Likewise. + * string/string.h: Only include bits/string.h and bits/string2.h + if __NO_INLINE__ is not defined. + +2001-05-07 Andreas Jaeger + + * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead + of @LIBDIR@. + +2001-05-04 H.J. Lu + + * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@ + not @LIBDIR@. + +2001-05-06 Andreas Jaeger + + * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S. + * sysdeps/i386/fpu/e_fmodl.S: Removed. + * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S. + * sysdeps/i386/fpu/e_atan2l.S: Removed. + * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S. + * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S. + * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S. + * sysdeps/i386/fpu/e_acosl.S: Removed. + * sysdeps/i386/fpu/s_atanl.S: Removed. + * sysdeps/i386/fpu/e_sqrtl.S: Removed. + +2001-05-05 Mark Kettenis + + * sysdeps/mach/hurd/bits/environments.h: Add comment from + sysdeps/generic/bits/environments.h. Define _POSIX_V6_* values. + +2001-04-30 Jakub Jelinek + + * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so + that _CS_LFS_CFLAGS can fall through to the empty returned string + case. Add FALLTHROUGH comment. + +2001-04-29 Ralf Baechle + + * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure + definitions match the kernel definitions. + * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise. + +2001-04-29 Ben Collins + + * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings + warnings. + * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise. + +2001-04-29 Andreas Schwab + + * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash + in last change. + +2001-04-29 Andreas Jaeger + + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64): + Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer. + + * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from + Linux 2.4.4. + (AF_WANPIPE): Likewise. + (MSG_MORE): New. + + * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as + for Linux generic version. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise. + + * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New. + +2001-04-27 Ulrich Drepper + + * nis/nss-nis.h: Correct test for invalid error number. + * nis/nss-nisplus.h: Likewise. + + * nis/Makefile (libnss_compat-rountines): Add nss-nisplus. + +2001-04-26 Ulrich Drepper + + * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind. + + * string/strcoll.c: Fix two memory allocation problems. + * string/Makefile (tests): Add bug-strcoll1. + * string/bug-strcoll1.c: New file. + + * malloc/mcheck.c (mcheck): Call malloc once before setting the + hooks to allow the internal check hooks to be set up if necessary. + + * nis/nss-nis.h: Move yperr2nss_tab definition into separate file + and rename to __yperr2nss_tab. Change YPERR_COUNT into variable + __yperr2nss_count. + * nis/nss-nis.c: New file. + * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file + and rename to __niserr2nss_tab. Change NISERR_COUNT into variable + __niserr2nss_count. + * nis/nss-nisplus.c: New file. + * nis/Makefile (libnss_compat-routines): Add nss-nis. + (libnss_nis-routines): Likewise. + (libnss_nisplus-routines): Add nss-nisplus. + + * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations. * nis/nss_nisplus/nisplus-ethers.c: Likewise. * nis/nss_nisplus/nisplus-grp.c: Likewise. * nis/nss_nisplus/nisplus-hosts.c: Likewise. @@ -2890,4584 +2912,985 @@ * nis/nss_nisplus/nisplus-rpc.c: Likewise. * nis/nss_nisplus/nisplus-service.c: Likewise. * nis/nss_nisplus/nisplus-spwd.c: Likewise. - * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Preserve errno value. - * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise. - * hesiod/nss_hesiod/hesiod-grp.c (lookup): Likewise. - * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise. + * nis/nss_nis/nis-alias.c: Likewise. + * nis/nss_nis/nis-ethers.c: Likewise. + * nis/nss_nis/nis-grp.c: Likewise. + * nis/nss_nis/nis-network.c: Likewise. + * nis/nss_nis/nis-proto.c: Likewise. + * nis/nss_nis/nis-pwd.c: Likewise. + * nis/nss_nis/nis-spwd.c: Likewise. + * nis/nss_compat/compat-grp.c: Likewise. + * nis/nss_compat/compat-initgroups.c: Likewise. + * nis/nss_compat/compat-pwd.c: Likewise. + * nis/nss_compat/compat-spwd.c: Likewise. - * sysdeps/unix/sysv/linux/i386/sigaction.c: Avoid warnings by - declaring __restore and __restore_rt as hidden (if possible). + * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more + optimizations. Patch by Jakub Jelinek . -2002-08-25 Roland McGrath +2001-04-26 Andreas Jaeger - * manual/llio.texi (Access Modes): Fix typos in O_READ/O_WRITE defns. + * po/zh_TW.po: Update. + Patch by Tung-Han Hsieh . - * sysdeps/generic/utmp_file.c (LOCK_FILE): Check for error from fcntl. - (getutent_r_file, internal_getut_r): Updated all callers. - (getutline_r_file, pututline_file, updwtmp_file): Likewise. +2001-04-25 Ulrich Drepper -2002-08-25 Ulrich Drepper + * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the + compiler command line. + * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler + command line for malloc.c. - * locale/programs/locale.c: Don't print aliases for non-existing - locales for 'locale -a'. - Patch by Noah Levitt [PR libc/4166]. +2001-04-25 Jakub Jelinek -2002-07-19 H.J. Lu + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to... + * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here. + * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to... + * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here. Adjust + struct msghdr for __WORDSIZE == 32. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to... + * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here. Adjust + for __WORDSIZE == 32. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove. + * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New + file. + * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp): + Rename from longjmp, make longjmp weak alias to it. + +2001-04-24 David S. Miller - * sysdeps/unix/sysv/linux/mips/bits/msq.h: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file. + +2001-04-25 Matthew Wilcox + + * sysdeps/hppa/stackinfo.h: New file. + * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file. + * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file. + * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file. + * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions + of PA kernel features. + +2001-04-25 Ulrich Drepper + + * locale/programs/localedef.c (main): Always set a file name for + the initial locale. + * locale/programs/locfile.c (locfile_read): filename is allowed to + be NULL. + +2001-04-12 Paul Bame + + * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the + enable flags. + +2001-04-24 Ulrich Drepper + + * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG, + _XBS5_LPBIG_OFFBIG): Define to -1. + Fix typos. + + * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS. + * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS. + * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS. + * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS. -2002-07-16 H.J. Lu + * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add - sys/personality.h. - * sysdeps/unix/sysv/linux/sys/personality.h: New file. +2001-03-21 Alan Modra -2002-08-25 Ulrich Drepper + * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT + value from application so that constructors in non-PIC libs work. + +2000-12-13 Jes Sorensen + + * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a + function pointer, hence load the jump address and gp from the + function pointer before jumping. + +2001-04-24 Andreas Jaeger + + * sysdeps/generic/send.c (__send): Return ssize_t. + * sysdeps/mach/hurd/send.c (__send): Likewise. + * sysdeps/mach/hurd/recv.c (recv): Likewise. + * sysdeps/mach/hurd/sendto.c (sendto): Likewise. + * sysdeps/generic/sendto.c (sendto): Likewise. + * sysdeps/generic/recvmsg.c (recvmsg): Likewise. + * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise. + * sysdeps/generic/recvfrom.c (recvfrom): Likewise. + * sysdeps/generic/sendmsg.c (sendmsg): Likewise. - * elf/tst-tlsmod1.c (in_dso): Make sure the TLS variable access is - not moved ahead of the fputs call. - * elf/tst-tlsmod2.c (in_dso): Likewise. - * elf/tst-tlsmod3.c (in_dso2): Likewise. - * elf/tst-tlsmod4.c (in_dso): Likewise. + * socket/sys/socket.h: send* and recv* return ssize_t. -2002-08-25 Andreas Schwab + * include/sys/socket.h: send returns ssize_t. - * elf/dl-reloc.c (_dl_reloc_bad_type): Nul-terminate message. + * sysdeps/i386/fpu_control.h: Fix comments. -2002-08-25 Roland McGrath +2001-04-24 Ulrich Drepper - * sysdeps/generic/utmp_file.c (UNLOCK_FILE): Clear alarm before - resetting handler, to avoid the possibility of a spurious SIGALRM - delivered to the user's handler. - Reported by Amit D. Chaudhary , + * sysdeps/ia64/Dist: Add hp-timing.c. + * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h. + * posix/Makefile (distribute): Add tst-getconf.sh. + * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po). + +2001-04-23 Ulrich Drepper + + * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing. + * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3. + * sysdeps/ia64/hp-timing.c: New file. + * sysdeps/ia64/hp-timing.h: New file. + * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for + CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID. + + * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test + using #ifdef whether the clock is available. + * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore. + + * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move + it into data section. + + * sysdeps/unix/i386/i586/clock_getres.c: Removed. + * sysdeps/unix/i386/i586/clock_gettime.c: Removed. + * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed. + * sysdeps/unix/i386/i586/clock_settime.c: Removed. + * sysdeps/unix/i386/i586/cpuclock-init.h: Removed. + * sysdeps/generic/cpuclock-init.h: Removed. + * sysdeps/unix/i386/i686/Implies: Removed. + * sysdeps/unix/i386/i686/tempname.c: Removed. + * sysdeps/i386/i686/Versions: New file. + * sysdeps/unix/i386/i586/Versions: Removed. - * misc/Makefile (CFLAGS-init-misc.c): Variable removed. It served to - set -fkeep-inline-functions, which is not needed for the current file. + * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle + CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID. + * sysdeps/unix/clock_gettime.c: Likewise. + * sysdeps/unix/clock_nanosleep.c: Likewise. + * sysdeps/unix/clock_settime.c: Likewise. + * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define + RANDOM_BITS use CPU clock. - * sysdeps/generic/ldsodefs.h: Add attribute_hidden to *_internal decls. - (_dl_setup_hash): Add attribute_hidden. - (_dl_sysdep_start, _dl_sysdep_start_cleanup): Likewise. - (_dl_sysdep_read_whole_file, _dl_dprintf): Likewise. - (_dl_new_object, _dl_map_object_deps): Likewise. - (_dl_map_object_deps_internal): Remove decl. - * elf/rtld.c (__mempcpy, _exit): Redeclare locally as hidden. + * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file. + * sysdeps/sparc/Versions: New file. - * sysdeps/i386/dl-machine.h [PI_STATIC_AND_HIDDEN - && HAVE_VISIBILITY_ATTRIBUTE && HAVE_HIDDEN - && !HAVE_BROKEN_VISIBILITY_ATTRIBUTE] - (elf_machine_dynamic, elf_machine_load_address): Rewritten without asm, - instead relying on the compiler to produce only GOTOFF variable refs. + * elf/dl-support.c: Don't use cpuclock-init.h definitions, use + hp-timing.h definitions. + * sysdeps/generic/dl-sysdep.c: Likewise. -2002-08-25 Ulrich Drepper + * include/libc-internal.h: Include hp-timing.h. Use hp_timing_t in + __get_clockfreq prototype. - * elf/dl-load.c: Fix typo in comment. Add a few more __builtin_expect. + * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq): + Use hp_timing_t type. + * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise. - * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Define as static - inline to avoid defining it in every file which includes this header. + * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file. - * elf/rtld.c: Also test for HAVE_VISIBILITY_ATTRIBUTE before - defining DONT_USE_BOOTSTRAP_MAP. + * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test + whether named file is a regular file or a block device. + * sysdeps/posix/fpathconf.c (__fpathconf): Likewise. - * libio/tst-freopen.c (main): Use correct formats for __LINE__. - * libio/tst-mmap-setvbuf.c (main): Likewise. - * libio/tst-widetext.c (main): Likewise. +2001-04-23 Andreas Jaeger - * libio/tst-mmap-eofsync.c (do_test): Use correct format in error - message. - * libio/tst-mmap-fflushsync.c (do_test): Likewise. - * libio/tst-mmap2-eofsync.c (do_test): Likewise. + * nscd/nscd.h: Add noreturn attribute for start_threads. - * sysdeps/i386/elf/configure.in: Unconditionally define - PI_STATIC_AND_HIDDEN. - * elf/rtld.c (DONT_USE_BOOTSTRAP_MAP): Define only if - PI_STATIC_AND_HIDDEN is defined as well. - * config.h.in: Add PI_STATIC_AND_HIDDEN entry. +2001-04-22 Ulrich Drepper -2002-08-24 Ulrich Drepper + * posix/getconf.c: Fix names of XBS5 LFS test variables. + Add missing configuration variables from XPG6. + * posix/tst-getconf.c: New file. + * posix/Makefile (generated): Add tst-getconf.out. + (tests): Add ($objpfx)tst-getconf.out. + Add rule to run tst-getconf.sh. + * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values + from XPG6. + * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and + _PC_SYMLINK_MAX. + * sysdeps/posix/pathconf.c: Likewise. + * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS + and _SC_SYMLOOP_MAX. + +2001-04-22 Philip Blundell + + * sysdeps/arm/fpu/feenablxcpt.c: New file. + * sysdeps/arm/fpu/fedisablxcpt.c: New file. + * sysdeps/arm/fpu/fegetexcpt.c: New file. - * sysdeps/ia64/bzero.S: Define __bzero as well. +2001-04-22 Philip Blundell - * locale/programs/charmap.c (charmap_new_char): Don't use - ULONG_MAX as maximum UCS4 value. + * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs): + Renamed from struct user_fp. + (struct user_regs): New. + (struct user): Use struct user_regs rather than struct pt_regs to + avoid dependency on asm/ptrace.h. Use struct user_fpregs in place + of struct user_fp and struct user_fp_struct. + * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h + not sys/elf.h. - * sysdeps/unix/sysv/linux/ia64/sys/user.h: New file. +2001-04-22 Philip Blundell - * sysdeps/generic/strtol.c: We don't need the isascii test in glibc. + * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to + sys/procfs.h, and tell the user to include that file instead. + * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft + surrounded with #if 0. + (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here + from sys/elf.h. + (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and + elf_fpregset_t respectively. - * malloc/hooks.c (public_sET_STATe): use size_t as type for i. - * malloc/malloc.c (mALLINFo): Likewise. +2001-04-22 Philip Blundell - * libio/wstrops.c (_IO_wstr_pbackfail): Use WEOF in comparison. + * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the + address that faulted. - * libio/wfileops.c (_IO_wfile_overflow): Use EOF not WEOF when - examining result of _IO_do_flush call. +2001-04-21 Ulrich Drepper - * stdio-common/vfprintf.c (vfprintf): Use correct type in va_arg. - Use prec not spec when sizing buffers. + * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_* + values. + * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values. + * posix/confstr.c: Handle _CS_POSIX_V6_* values. + * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values. + * sysdeps/posix/sysconf.c: Handle _SC_V6_* values. - * catgets/open_catalog.c (__open_catalog): Add casts to avoid warnings. - * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise. - * locale/loadlocale.c (_nl_intern_locale_data): Likewise. - * stdio-common/vfscanf.c (inchar): Likewise. - * misc/efgcvt_r.c (fcvt_r): Likewise. - * elf/dl-misc.c (_dl_debug_vdprintf): Likewise. - * elf/readlib.c (process_file): Likewise. - * elf/sprof.c (load_profdata): Likewise. - * sysdeps/ia64/hp-timing.h (HP_TIMING_PRINT): Likewise. - * locale/programs/linereader.c (get_toplvl_escape): Likewise. - * locale/programs/charmap.c (charmap_read): Likewise. - * libio/fileops.c: Likewise. - * libio/fmemopen.c: Likewise. - * stdlib/strtod.c: Likewise. - * elf/dl-load.c: Likewise. - * iconv/iconvconfig.c: Likewise. - * iconv/iconv_prog.c (process_block): Likewise. - * elf/rtld.c (dl_main): Likewise. - - * sysdeps/unix/sysv/linux/ia64/Makefile: Define _ASM_IA64_CURRENT_H - macro to calm down the compiler. - - * iconv/gconv_cache.c (__gconv_load_cache): Add cast to avoid warning. - - * sysdeps/ia64/elf/initfini.c: Don't use newlines embedded in string. - - * sysdeps/unix/sysv/linux/i386/sysdep.S: Update comment regarding - placement of errno definition. - * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/mips/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise. - - * resolv/nss_dns/dns-host.c (MAXPACKET): Increase minimum value - from 1024 to 65536, to avoid buffer overrun. - -2002-08-16 Paul Eggert - - * resolv/gethnamaddr.c (MAXPACKET): Increase minimum value - from 1024 to 65536, to avoid buffer overrun. - * resolv/res_query.c (MAXPACKET): Likewise. - -2002-08-24 Andreas Jaeger - - * sysdeps/unix/sysv/linux/i386/Versions: Remove *xattr syscalls. - -2002-08-23 Ulrich Drepper - - * sysdeps/ieee754/dbl-64/e_pow.c (log1): Define and initialize - two52 locally. - (log2): Likewise. - * sysdeps/ieee754/dbl-64/upow.h: Remove definition of two52. - Patch by Simon Gee . - - * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs_conf): - Prefer reading /proc/stat since it is more uniform across - architectures. - - * manual/texinfo.tex: Update to latest official version. - - * sysvipc/sys/shm.h: Remove SHMLBA definition. - * sysdeps/generic/bits/shm.h: Define SHMLBA here. - * sysdeps/gnu/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Define SHMLBA to 2^20 - since this is what the kernel says. - - * misc/sys/xattr.h: Include instead of - since ssize_t is needed as well. Replace const with __const. - -2002-08-23 Roland McGrath - - * malloc/hooks.c (__malloc_initialize_hook, __free_hook, - __malloc_hook, __realloc_hook, __memalign_hook, - __after_morecore_hook): Variable definitions moved to ... - * malloc/malloc.c: ... here, so as to be before all references. - - * sysdeps/i386/dl-machine.h (elf_machine_load_address): Add a dummy - global variable reference in an unused asm parameter, to ensure the - compiler has set up the GOT register before we use it. - - * malloc/hooks.c: Move variable definitions ahead of uses. - * libio/fileops.c: Move versioned_symbol defns ahead of _IO_jump_t - initializers that make reference to variables they define. - -2002-08-23 Andreas Jaeger - - * locale/loadarchive.c: Include for prototypes of - alloca, free, qsort. - - * dlfcn/bug-dlsym1-lib1.c (foo): Add prototype to avoid warning. - - * sysdeps/ieee754/flt-32/e_jnf.c: Remove unused variable. - * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise. - - * misc/sys/xattr.h: New file, contributed by Christoph Hellwig - . - * sysdeps/generic/fgetxattr.c: New file. - * sysdeps/generic/flistxattr.c: New file. - * sysdeps/generic/fremovexattr.c: New file. - * sysdeps/generic/fsetxattr.c: New file. - * sysdeps/generic/getxattr.c: New file. - * sysdeps/generic/listxattr.c: New file. - * sysdeps/generic/lgetxattr.c: New file. - * sysdeps/generic/llistxattr.c: New file. - * sysdeps/generic/lremovexattr.c: New file. - * sysdeps/generic/lsetxattr.c: New file. - * sysdeps/generic/removexattr.c: New file. - * sysdeps/generic/setxattr.c: New file. - * misc/Makefile (headers): Add sys/xattr.h. - (routines): Add *xattr calls. - * misc/Versions: Add *xattr calls with version 2.3. - * sysdeps/unix/sysv/linux/m68k/Versions: Remove *xattr syscalls. - * sysdeps/unix/sysv/linux/s390/s390-32/Versions: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise. - * sysdeps/unix/sysv/linux/x86_64/Versions: Likewise. - * sysdeps/unix/sysv/linux/ia64/Versions: Likewise. - * sysdeps/unix/sysv/linux/alpha/Versions: Likewise. - * sysdeps/unix/sysv/linux/arm/Versions: Likewise. - -2002-08-22 Steven Munroe - - * sysdeps/powerpc/elf/libc-start.c - (__cache_line_size): Declare. - (__aux_init_cache): New function. - (__libc_start_main): Change type of `auxvec' parameter to - `ElfW(auxv_t) *'. Correct walking of aux vector. Call - __aux_init_cache. - * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c - (__cache_line_size): Declare. - (__aux_init_cache): New function. - (DL_PLATFORM_INIT): Define. - * sysdeps/powerpc/memset.S: Define __cache_line_size and use its - value to select the correct stride for dcbz. - -2002-08-22 Andreas Jaeger - - * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Fix arguments of - shmat. - -2002-08-22 Roland McGrath - - * locale/loadarchive.c (_nl_load_locale_from_archive): Check max file - position indicated by locrectab against file bounds before rounding to - page size. In mapping loop, always set TO before breaking out of - contiguous range coalescing loop. - - * locale/loadarchive.c (_nl_load_locale_from_archive): Use MAP_PRIVATE - (or MAP_COPY if available) instead of MAP_SHARED. - - * scripts/firstversions.awk: When encountering a version newer than - the specified earliest version, be sure to emit the specified earliest - version first if any renaming of an older version to that has been. - -2002-08-21 Roland McGrath - - * configure.in: Make GCC version check require 3.[2-9]* and no others. - * manual/install.texi (Tools for Compilation): Say 3.2 is required. - (Configuring and compiling): Don't mention older GCC versions any more. - * INSTALL: Regenerated. - - * manual/install.texi (Configuring and compiling, Installation, - Running make install, Linux): Linux -> GNU/Linux where appropriate. - - * elf/rtld.c (_dl_start_final): Move defn before _dl_start so it can - be inlined. Declare it with always_inline if [DONT_USE_BOOTSTRAP_MAP] - and with noinline otherwise. Remove hack alloca use to prevent - inlining, we can ask for it explicitly nowadays. - - * dlfcn/bug-dlsym1.c: New file. - * dlfcn/bug-dlsym1-lib1.c, dlfcn/bug-dlsym1-lib2.c: New files. - * dlfcn/Makefile (distribute): Add them. - (tests): Add bug-dlsym1 here. - (modules-names): Add bug-dlsym1-lib1 and bug-dlsym1-lib2 here. - ($(objpfx)bug-dlsym1, $(objpfx)bug-dlsym1.out): New targets. - ($(objpfx)bug-dlsym1-lib1.so, $(objpfx)bug-dlsym1-lib2.so): Likewise. - -2002-08-21 Ulrich Drepper - - * elf/rtld.c (start_time): New global variable. Moved from _dl_start. - (DONT_USE_BOOTSTRAP_MAP): Define if we can use non-exported symbols - before relocation. - (_dl_start): Don't use local bootstrap_map variable if - DONT_USE_BOOTSTRAP_MAP is defined. Use GL(dl_rtld_map). Don't - pass bootstrap_map to _dl_start_final in this case either. Don't - pass start_time to _dl_start_final ever. - (_dl_start_final): Don't copy bootstrap_map if DONT_USE_BOOTSTRAP_MAP. - - * elf/dl-deps.c (_dl_map_object_deps): Revert patch from 2002-05-28. - This cripples the scope lists necessary to search for symbols in - dependencies which are not in the global scope. - - * include/setjmp.h (__libc_longjmp): Add declaration. - -2002-08-21 Andreas Jaeger - - * sysdeps/x86_64/_mcount.S: Fix assembler. - - * sysdeps/unix/sysv/linux/x86_64/Makefile: Generate bits/syscall.h - with biarch support. - -2002-08-21 Andreas Jaeger - - * sysdeps/x86_64/sysdep.h (CALL_MCOUNT): Fix it. - - * sysdeps/x86_64/Makefile (sysdep_routines): Add _mcount. - - * sysdeps/x86_64/machine-gmon.h: New file. - * sysdeps/x86_64/_mcount.S: New file. - -2002-08-20 Ulrich Drepper - - * elf/rtld.c (_dl_start): Pass zero to TLS_INIT_TP. Set - bootstrap_map.l_tls_tp_initialized to 1 if TLS_INIT_TP was called. - (_dl_start_final): Copy l_tls_tp_initialized to GL(dl_rtld_map). - (dl_main): If HAVE___THREAD is not defined pass l_tls_tp_initialized - to TL_INIT_TP. Otherwise pass 1. - * include/link.h (struct link_map): Add l_tls_tp_initialized. - * sysdeps/generic/libc-tls.c (__libc_setup_tls): Pass 0 to TL_INIT_TP. - -2002-08-15 Jakub Jelinek - - * locale/programs/localedef.c (add_to_readlist): Error about - circular dependencies only if the locale in question hasn't - been finished. - * locale/programs/linereader.c (get_string): Pass LC_CTYPE not - CTYPE_LOCALE to load_locale. - * locale/programs/locfile.c (locfile_read): Don't include - unneeded but available locales in locale_mask. - - * locale/programs/locarchive.c (enlarge_archive): If quiet, don't - print any messages about enlarging archive. - -2002-08-20 Brian Youmans <3diff@gnu.org> - - * manual/contrib.texi: Removed licenses, added acknowledgements - for contributions by Intel, IBM, Craig Metz. - * LICENSES: New file, contains the text of all non-FSF licenses in the - distribution that require putting the notice in the accompanying - documentation. - * README.template, README: Mention LICENSES. - - * sysdeps/mach/hurd/net/if_ppp.h: Replaced CMU license with a - new one modelled on the modern BSD license, per recent letter - of permission from CMU. - * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise. - - * sysdeps/ieee754/dbl-64/MathLib.h: Changed the copyright holder - from IBM to FSF, per the recent Software Letter. Changed the - distribution terms from GPL to LGPL. - - * sysdeps/ieee754/dbl-64/asincos.tbl: Added FSF copyright and - copying permission notice (Lesser GPL), per recent IBM Software Letter. - * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise. - * sysdeps/ieee754/dbl-64/root.tbl: Likewise. - * sysdeps/ieee754/dbl-64/sincos.tbl: Likewise. - * sysdeps/ieee754/dbl-64/uatan.tbl: Likewise. - * sysdeps/ieee754/dbl-64/uexp.tbl: Likewise. - * sysdeps/ieee754/dbl-64/ulog.tbl: Likewise. - * sysdeps/ieee754/dbl-64/upow.tbl: Likewise. - * sysdeps/ieee754/dbl-64/utan.tbl: Likewise. - - * sysdeps/ieee754/dbl-64/atnat.h: Changed the copyright holder - from IBM to FSF, per the recent Software Letter. Corrected the - text of the copying permission notice to say Lesser GPL instead - of GPL in warranty disclaimer paragraph. - * sysdeps/ieee754/dbl-64/atnat2.h: Likewise. - * sysdeps/ieee754/dbl-64/branred.h: Likewise. - * sysdeps/ieee754/dbl-64/dla.h: Likewise. - * sysdeps/ieee754/dbl-64/doasin.h: Likewise. - * sysdeps/ieee754/dbl-64/dosincos.h: Likewise. - * sysdeps/ieee754/dbl-64/mpa.h: Likewise. - * sysdeps/ieee754/dbl-64/mpa2.h: Likewise. - * sysdeps/ieee754/dbl-64/mpatan.h: Likewise. - * sysdeps/ieee754/dbl-64/mpexp.h: Likewise. - * sysdeps/ieee754/dbl-64/mplog.h: Likewise. - * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise. - * sysdeps/ieee754/dbl-64/mydefs.h: Likewise. - * sysdeps/ieee754/dbl-64/sincos32.h: Likewise. - * sysdeps/ieee754/dbl-64/uasncs.h: Likewise. - * sysdeps/ieee754/dbl-64/uexp.h: Likewise. - * sysdeps/ieee754/dbl-64/ulog.h: Likewise. - * sysdeps/ieee754/dbl-64/upow.h: Likewise. - * sysdeps/ieee754/dbl-64/urem.h: Likewise. - * sysdeps/ieee754/dbl-64/uroot.h: Likewise. - * sysdeps/ieee754/dbl-64/usncs.h: Likewise. - * sysdeps/ieee754/dbl-64/utan.h: Likewise. - - * sysdeps/ieee754/dbl-64/branred.c: Corrected the text of the copying - permission notice to say Lesser GPL instead of GPL in warranty - disclaimer paragraph. - * sysdeps/ieee754/dbl-64/doasin.c: Likewise. - * sysdeps/ieee754/dbl-64/dosincos.c: Likewise. - * sysdeps/ieee754/dbl-64/e_asin.c: Likewise. - * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. - * sysdeps/ieee754/dbl-64/e_exp.c: Likewise. - * sysdeps/ieee754/dbl-64/e_log.c: Likewise. - * sysdeps/ieee754/dbl-64/e_pow.c: Likewise. - * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise. - * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise. - * sysdeps/ieee754/dbl-64/halfulp.c: Likewise. - * sysdeps/ieee754/dbl-64/mpa.c: Likewise. - * sysdeps/ieee754/dbl-64/mpatan.c: Likewise. - * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise. - * sysdeps/ieee754/dbl-64/mpexp.c: Likewise. - * sysdeps/ieee754/dbl-64/mplog.c: Likewise. - * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise. - * sysdeps/ieee754/dbl-64/mptan.c: Likewise. - * sysdeps/ieee754/dbl-64/s_atan.c: Likewise. - * sysdeps/ieee754/dbl-64/s_sin.c: Likewise. - * sysdeps/ieee754/dbl-64/s_tan.c: Likewise. - * sysdeps/ieee754/dbl-64/sincos32.c: Likewise. - * sysdeps/ieee754/dbl-64/slowexp.c: Likewise. - * sysdeps/ieee754/dbl-64/slowpow.c: Likewise. - -2002-08-20 Roland McGrath - - Fix ABI compatibility with libc compiled with old tools on powerpc. - Changes contributed by Franz Sirl - and Jack Howarth . - * sysdeps/powerpc/Makefile [$(have-protected) = yes] - (CPPFLAGS-divdi3.c, CPPFLAGS-libgcc-compat.S): New variables, - pass -DHAVE_DOT_HIDDEN for these files. - * sysdeps/powerpc/Versions (libc: GLIBC_2.0): Added __floatdidf, - __floatdisf. - * sysdeps/powerpc/divdi3.c: New file. - * sysdeps/powerpc/libgcc-compat.S: New file, replacement for ... - * sysdeps/powerpc/libgcc-compat.c: ... this, file removed. - -2002-08-20 Jakub Jelinek - - * locale/loadarchive.c (_nl_load_locale_from_archive): Handle - partially overlapping mappings. Remove unneeded (char *) casts. - Never allow duplication of ranges in mapped areas. - -2002-08-20 Roland McGrath - - * elf/Makefile ($(objpfx)ld.so): Separate commands in rule so errors - can be detected by make. Reported by H.J. Lu . - -2002-08-20 Ulrich Drepper - - * include/unistd.h: Don't hide _exit. - - * elf/rtld.c (_dl_start): Pass extra argument 1 to TLS_INIT_TP. - (dl_main): Pass extra argument 0 to TLS_INIT_TP. - * sysdeps/generic/libc-tls.c (__libc_setup_tls): Pass extra - argument 1 to TLS_INIT_TP. - * sysdeps/generic/tls.h (TLS_INIT_TP): Describe new parameter. - - * sysdeps/generic/dl-tls.c (allocate_dtv): Optimize a bit. - - * elf/Versions [ld] (GLIBC_PRIVATE): Add _dl_get_tls_static_info. - * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): Move dtv - memory allocation to... - (allocate_dtv): ...here. New function. - (_dl_allocate_tls): Change to take parameter. If parameter is non-NULL - call allocate_dtv instead of _dl_allocate_tls_storage. - (_dl_deallocate_tls): New parameter. Deallocate TCB only if true. - (_dl_get_tls_static_info): New function. - * sysdeps/generic/ldsodefs.h: Adjust prototypes of _dl_allocate_tls - and _dl_deallocate_tls. Add prototype for _dl_get_tls_static_info. - -2002-08-19 Ulrich Drepper - - * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Return - immediately if result == NULL. - -2002-08-16 Jakub Jelinek - - * sysdeps/alpha/fpu/libm-test-ulps: Regenerate. - -2002-08-18 Roland McGrath - - * sysdeps/mach/hurd/mkdir.c (__mkdir): Use __directory_name_split - instead of __file_name_split. - * sysdeps/mach/hurd/unlink.c (__unlink): Likewise. - - * sysdeps/mach/hurd/dl-sysdep.c - [HP_TIMING_AVAIL] (_dl_cpuclock_offset): New variable. - [HP_TIMING_AVAIL] (_dl_sysdep_start): Set it with HP_TIMING_NOW. - -2002-08-16 Jakub Jelinek - - * locale/loadarchive.c (_nl_load_locale_from_archive): Braino fix - in change before last: MAX -> MIN. - -2002-08-15 Roland McGrath - - * libio/fileops.c (_IO_file_seekoff_mmap): Leave read pointers at EOF - if seek would go past it. - (mmap_remap_check): If file position is at or past EOF after check, - leave read pointers at EOF and don't seek. - - * libio/tst-mmap-offend.c: New file. - * libio/Makefile (tests): Add it. - - * locale/loadarchive.c (_nl_load_locale_from_archive): Store strdup of - the name as passed, rather than the name in the archive dictionary. - -2002-08-15 Ulrich Drepper - - * csu/Makefile: Define elide-routines.os not static-only-routines. - - * include/sched.h (__clone): Add varargs at the end. - - * elf/rtld.c (_dl_start): Allow TLS_INIT_TP to fail, and stop in that - case. - (TLS_INIT_HELPER): If defined, use it. - * sysdeps/generic/libc-tls.c (TLS_INIT_HELPER): Likewise. - -2002-08-15 Roland McGrath - - * elf/dl-load.c (lose): Remove [!SHARED] conditional from null check - on L->l_prev; it can happen under rtld --verify too. - - * locale/loadarchive.c (_nl_load_locale_from_archive): Don't read the - header separately, just map an initial window of 2MB from the file - and remap if that is not large enough to cover the whole header. - -2002-08-15 Andreas Jaeger - - * sysdeps/unix/sysv/linux/m68k/Versions: Add *xattr syscalls with - version 2.3. - * sysdeps/unix/sysv/linux/arm/Versions: Likewise. - * sysdeps/unix/sysv/linux/alpha/Versions: Likewise. - * sysdeps/unix/sysv/linux/ia64/Versions: Likewise. - * sysdeps/unix/sysv/linux/x86_64/Versions: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/Versions: Likewise. - * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise. - * sysdeps/unix/sysv/linux/mips/Versions: Likewise. - Patch by Andreas Gruenbacher . - - * sysdeps/unix/sysv/linux/syscalls.list: Add *xattr syscalls. - -2002-08-14 Roland McGrath - - * locale/locarchive.h (struct locale_category_data): Give this name to - the type of locale_data_t's elements. - * locale/programs/locarchive.c (cmpcategorysize): New static function. - (add_locale): Use that to sort the categories by size and put all - those that fit into two pages into the LC_ALL block, instead of - hard-coding it to do everything but LC_CTYPE and LC_COLLATE. - (show_archive_content): Detect categories inside LC_ALL block - directly, instead of hard-coding. - (oldlocrecentcmp): Compare just on file locations used. - -2002-08-14 Jakub Jelinek - - * locale/programs/locarchive.c (struct oldlocrecent): New type. - (oldlocrecentcmp): New function. - (enlarge_archive): Re-add locales in the order they were added - to the archive. - (add_locale): Put all the small locale files together, if the small - locale file block would occupy less pages if page size aligned, align - it. - (show_archive_content): Adjust for locale archives optimized for speed. - -2002-08-14 Roland McGrath - - * configure.in: Use "MISSING" as not-found value for MIG. - * sysdeps/mach/configure.in: Fatal if mig not found. - * configure, sysdeps/mach/configure: Regenerated. - -2002-08-13 Jakub Jelinek - - * locale/loadarchive.c (archfname): Add missing slash. - - * sysdeps/generic/strtold.c (__strtold_internal): Add libc_hidden_def. - * wcsmbs/wcstold.c (__wcstold_internal): Add libc_hidden_def. - -2002-08-12 Roland McGrath - - * include/sys/wait.h (__waitpid): Add libc_hidden_proto. - * sysdeps/unix/sysv/sco3.2.4/waitpid.S: Add libc_hidden_def. - * sysdeps/unix/sysv/sysv4/waitpid.c: Add libc_hidden_weak. - * sysdeps/unix/sysv/linux/waitpid.c: Likewise. - * sysdeps/unix/sysv/aix/waitpid.c: Likewise. - * sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise. - * sysdeps/generic/waitpid.c: Likewise. - - * include/net/if.h: New file. Use libc_hidden_proto - for if_nametoindex and if_indextoname. - * sysdeps/generic/if_index.c: Add libc_hidden_def. - * sysdeps/mach/hurd/if_index.c: Likewise. - * sysdeps/unix/sysv/linux/if_index.c: Likewise. - - * include/grp.h (setgroups): Add libc_hidden_proto. - * sysdeps/generic/setgroups.c: Add libc_hidden_def. - * sysdeps/mach/hurd/setgroups.c: Likewise. - * sysdeps/unix/sysv/irix4/setgroups.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise. - -2002-08-13 Jakub Jelinek - - * include/unistd.h (seteuid, setegid): Add libc_hidden_proto. - * sysdeps/generic/seteuid.c (seteuid): Add libc_hidden_def. - * sysdeps/generic/setegid.c (setegid): Likewise. - * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise. - * sysdeps/mach/hurd/setegid.c (setegid): Likewise. - * sysdeps/unix/bsd/seteuid.c (seteuid): Likewise. - * sysdeps/unix/bsd/setegid.c (setegid): Likewise. - * sysdeps/unix/sysv/aix/seteuid.c (seteuid): Likewise. - * sysdeps/unix/sysv/aix/setegid.c (setegid): Likewise. - * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c (seteuid): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c (setegid): Likewise. - * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise. - * sysdeps/unix/sysv/linux/setegid.c (setegid): Likewise. - * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise. - Remove fallback if __ASSUME_SETRESUID_SYSCALL. - - * include/sys/stat.h (__fxstat_internal, __fxstat64_internal, - __lxstat_internal, __lxstat64_internal): Remove. - (__fxstat, __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64): - Add hidden_proto. - * sysdeps/generic/fxstat.c (__fxstat): Add hidden_def. - Remove INTDEF where present, remove #undef at the beginning. - * sysdeps/generic/fxstat64.c (__fxstat64): Likewise. - * sysdeps/generic/lxstat.c (__lxstat): Likewise. - * sysdeps/generic/lxstat64.c (__lxstat64): Likewise. - * sysdeps/generic/xstat.c (__xstat): Likewise. - * sysdeps/generic/xstat64.c (__xstat64): Likewise. - * sysdeps/mach/hurd/dl-sysdep.c (__xstat64, __fxstat64): Likewise. - * sysdeps/mach/hurd/fxstat.c (__fxstat): Likewise. - * sysdeps/mach/hurd/fxstat64.c (__fxstat64): Likewise. - * sysdeps/mach/hurd/lxstat.c (__lxstat): Likewise. - * sysdeps/mach/hurd/lxstat64.c (__lxstat64): Likewise. - * sysdeps/mach/hurd/xstat.c (__xstat): Likewise. - * sysdeps/mach/hurd/xstat64.c (__xstat64): Likewise. - * sysdeps/unix/fxstat.c (__fxstat): Likewise. - * sysdeps/unix/common/lxstat.c (__lxstat): Likewise. - * sysdeps/unix/sysv/aix/fxstat.c (__fxstat): Likewise. - * sysdeps/unix/sysv/aix/fxstat64.c (__fxstat64): Likewise. - * sysdeps/unix/sysv/aix/lxstat.c (__lxstat): Likewise. - * sysdeps/unix/sysv/aix/lxstat64.c (__lxstat64): Likewise. - * sysdeps/unix/sysv/aix/xstat.c (__xstat): Likewise. - * sysdeps/unix/sysv/aix/xstat64.c (__xstat64): Likewise. - * sysdeps/unix/sysv/linux/ia64/fxstat.c (__fxstat): Likewise. - * sysdeps/unix/sysv/linux/ia64/lxstat.c (__lxstat): Likewise. - * sysdeps/unix/sysv/linux/ia64/xstat.c (__xstat): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c (__fxstat): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c (__lxstat): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c (__xstat): Likewise. - * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise. - * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise. - * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise. - * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise. - * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise. - * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise. - * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): Likewise. - * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise. - * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise. - * sysdeps/unix/xstat.c (__xstat): Likewise. - - * include/sys/statvfs.h (statvfs, fstatvfs): Add libc_hidden_proto. - * sysdeps/generic/statvfs.c (statvfs): Add libc_hidden_def. - * sysdeps/generic/fstatvfs.c (fstatvfs): Likewise. - * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise. - * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Likewise. - * sysdeps/unix/sysv/linux/statvfs.c (statvfs): Likewise. - * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Likewise. - - * include/unistd.h (tcgetpgrp): Add libc_hidden_proto. - * include/termios.h (tcsetattr, cfsetispeed, cfsetospeed): Likewise. - * sysdeps/generic/tcgetpgrp.c (tcgetpgrp): Add libc_hidden_def. - * sysdeps/generic/tcsetattr.c (tcsetattr): Likewise. - * sysdeps/generic/speed.c (cfsetispeed, cfsetospeed): Likewise. - * sysdeps/unix/bsd/bsd4.4/tcsetattr.c (tcgetpgrp): Likewise. - * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Likewise. - * sysdeps/unix/bsd/sun/sunos4/speed.c (cfsetispeed, cfsetospeed): - Likewise. - * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise. - * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise. - * sysdeps/unix/sysv/aix/tcsetattr.c (tcsetattr): Likewise. - * sysdeps/unix/sysv/aix/speed.c (cfsetispeed, cfsetospeed): Likewise. - * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise. - * sysdeps/unix/sysv/linux/speed.c (cfsetispeed, cfsetospeed): Likewise. - * sysdeps/unix/sysv/tcgetpgrp.c (tcgetpgrp): Likewise. - * sysdeps/unix/sysv/tcsetattr.c (tcsetattr): Likewise. - - * include/string.h (strcoll): Add libc_hidden_proto. - * string/strcoll.c (strcoll): Add libc_hidden_def. - - * misc/err.c (vwarn): Fix pasto in libc_hidden_def. - -2002-08-11 Philip Blundell - - * sysdeps/arm/Makefile: New file. - -2002-08-08 Jakub Jelinek - - * posix/regcomp.c (parse_reg_exp): If '|' is immediately followed - by another '|', end of regex or enclosing ')', clear branch. - * posix/bug-regex9.c: New test. - * posix/Makefile (tests): Add bug-regex9. - -2002-08-12 Roland McGrath - - * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Fix inner loop - start count condition, use TOTAL instead of variable that was never - set. Fix outer loop termination condition to TOTAL >= after update. - - * sysdeps/generic/libc-tls.c (__libc_setup_tls): Initialize - dl_tls_static_align and dl_tls_static_nelem. - -2002-08-11 Roland McGrath - - * elf/tst-tlsmod4.c (in_dso): Insert a random library call before use - of the TLS macros, otherwise the compiler might not have initialized - the PIC register yet when we use the PLT via asm. - * elf/tst-tlsmod3.c (in_dso2): Likewise. - * elf/tst-tlsmod2.c (in_dso): Likewise. - - * sunrpc/svc_authux.c (_svcauth_unix): Remove spurious printf (ugh!). - - * sysdeps/i386/bits/byteswap.h (__bswap_16, __bswap_32, __bswap_64): - Evaluate argument exactly once. Remove __volatile__ from asm's. - - * include/unistd.h: Use libc_hidden_proto for getdomainname - and getlogin_r. - * sysdeps/generic/getdomain.c: Add libc_hidden_def. - * sysdeps/mach/hurd/getdomain.c: Likewise. - * sysdeps/unix/getlogin_r.c: Likewise. - * sysdeps/mach/hurd/getlogin_r.c: Likewise. - * sysdeps/generic/getlogin_r.c: Likewise. - - * include/rpc/auth_des.h: Use libc_hidden_proto for rtime. - * sunrpc/rtime.c: Add libc_hidden_def. - - * include/string.h: Use libc_hidden_proto for basename. - * string/basename.c [_LIBC]: Add libc_hidden_def. - - * sysdeps/unix/sysv/linux/opensock.c (__opensock): socket -> __socket. - - * locale/loadarchive.c: munmap -> __munmap throughout. - - * include/netdb.h: Use libc_hidden_proto for gai_strerror. - * sysdeps/posix/gai_strerror.c: Add libc_hidden_def. - * sysdeps/generic/gai_strerror.c: Likewise. - - * include/sys/errno.h: New file. - - * include/signal.h: No libc_hidden_proto for raise, - __libc_current_sigrtmin, __libc_current_sigrtmax. - These need to be overridden by linuxthreads. - * sysdeps/posix/raise.c: Reverted. - * sysdeps/generic/raise.c: Reverted. - * signal/allocrtsig.c: Reverted. - - * locale/loadarchive.c (LOCALEDIR): Remove debugging defn. Oops. - -2002-08-10 Roland McGrath - - * locale/loadarchive.c (_nl_archive_subfreeres): New function. - * locale/localeinfo.h: Declare it. - * locale/setlocale.c (free_mem): Don't call _nl_unload_locale on the - current locale if it's not in the file list. - Call _nl_archive_subfreeres. - -2002-08-10 Andreas Jaeger - - * sysdeps/i386/strchr.S: Add comment. - -2002-08-10 Roland McGrath - - * include/wchar.h (putwc): Use libc_hidden_proto. - * include/stdio.h (dprintf, fprintf, vfprintf, sprintf, - sscanf, fwrite, perror, remove, rewind, open_memstream): Likewise. - * stdio-common/dprintf.c: Add libc_hidden_def. - * stdio-common/fprintf.c: Likewise. - * stdio-common/sprintf.c: Likewise. - * stdio-common/sscanf.c: Likewise. - * libio/iofwrite.c: Likewise. - * libio/memstream.c: Likewise. - * libio/putwc.c: Likewise. - * stdio-common/perror.c: Likewise. - * sysdeps/posix/remove.c: Likewise. - * sysdeps/generic/remove.c: Likewise. - * libio/rewind.c: Likewise. Use instead of "stdio.h". - * stdio-common/vfprintf.c: Add libc_hidden_def. Include . - -2002-08-09 Jakub Jelinek - - * include/wctype.h (iswalpha, iswdigit, iswlower, iswspace, iswxdigit, - towlower, towupper): Add prototypes here too. Add libc_hidden_proto. - * wctype/wcfuncs.c (iswalpha, iswdigit, iswlower, iswspace, iswxdigit, - towlower, towupper): Add libc_hidden_weak. - - * include/bits/dlfcn.h: New file. - * elf/dl-profstub.c (_dl_mcount_wrapper_check): Add libc_hidden_def. - - * include/grp.h (_nss_files_parse_grent): Add libc_hidden_proto. - * include/netinet/ether.h (_nss_files_parse_etherent): Likewise. - * include/rpc/netdb.h (_nss_files_parse_rpcent): Likewise. - * include/pwd.h (_nss_files_parse_pwent): Likewise. - * include/shadow.h (_nss_files_parse_spent): Likewise. - * include/netdb.h (_nss_files_parse_protoent, - _nss_files_parse_servent, _nss_files_parse_netent): Likewise. - * nss/nss_files/files-parse.c (nss_files_parse_hidden_def): Define. - (LINE_PARSER): Use it. - * nss/nsswitch.h (__nss_hostname_digits_dots): Add libc_hidden_proto. - * nss/digits_dots.c (__nss_hostname_digits_dots): Add libc_hidden_def. - - * libio/oldiopopen.c: Move #if SHLIB_COMPAT after _IO_HAVE_SYS_WAIT - #endif. - - * manual/debug.texi (%MENU%): Remove trailing dot. - Reported by . - - * sysdeps/unix/sysv/linux/ia64/syscalls.list (llseek): Add lseek - aliases. - (lseek): Dummy. - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (llseek, lseek): - Likewise. - -2002-08-09 Roland McGrath - - * locale/loadarchive.c (_nl_load_locale_from_archive): Parse locale - name to find codeset name (if any) and normalize it. If the - normalized name differs, look up only that in the archive. - * locale/programs/locarchive.c (add_locale_to_archive): If the name - contains a codeset, normalize the codeset store only the normalized - name in the archive. If not, add an alias containing the locale's - normalized codeset name. Apply codeset name normalization when - matching entries in the alias file. - - * locale/programs/locarchive.c (delete_locales_from_archive): Don't - decrement HEAD->namehash_used here. - (add_locale): Only need to insert name string when name_offset != 0. - - * locale/programs/localedef.c (options): Add -A/--alias-file. - (alias_file): New variable. - (parse_opt): Grok -A, set that. - * locale/programs/localedef.h: Declare it. - - * locale/locarchive.h (struct locrecent): Add `refs' member. - * locale/programs/locarchive.c (insert_name): New function, broken out - of ... - (add_locale_to_archive): ... here. Call that. - (add_alias): New function. - (add_locale): New static function, add_locale_to_archive renamed. - (add_locale_to_archive): Call that and use add_alias to add an alias - for the name with codeset if the given name lacks it. - (enlarge_archive): Call add_locale instead of add_locale_to_archive. - - * locale/Makefile (routines): Add loadarchive. - * locale/loadarchive.c: New file, started from code by Ulrich Drepper. - (_nl_load_locale_from_archive): New function. - * locale/localeinfo.h: Declare it. - * locale/findlocale.c (_nl_find_locale): If using default locale path, - try _nl_load_locale_from_archive first. - - * locale/loadlocale.c (_nl_intern_locale_data): New function, - broken out of _nl_load_locale. - (_nl_load_locale): Call that. - * locale/localeinfo.h: Declare it. - (struct locale_data): Replace member `mmaped' with `alloc', an enum. - (struct locale_data): Remove unused member `options'. - * locale/findlocale.c (_nl_remove_locale): Update uses. - * locale/loadlocale.c (_nl_load_locale, _nl_unload_locale): Likewise. - * locale/C-collate.c: Update initializer. + * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f. + * sysdeps/s390/fpu/libm-test-ulps: Likewise. + * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise. + * sysdeps/mips/fpu/libm-test-ulps: Likewise. + +2001-04-21 Franz Sirl + + * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid + offset. + +2001-04-21 Ulrich Drepper + + * posix/getopt.h: Treat __cplusplus like __STDC__. + +2001-04-20 John S. Marvin + + * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call + entry point stub. + +2001-04-20 Richard Hirst + + * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5), + and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils. + + * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace + entry so the ptrace.c wrapper is used. + +2001-04-20 Alan Modra + + * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype. + (DL_FUNCTION_ADDRESS): Define. + (DL_DT_INIT_ADDRESS): Define. + (DL_DT_FINI_ADDRESS): Define. + * sysdeps/hppa/Versions: Add _dl_function_address. + * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define. + * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to + _dl_function_address. + +2001-04-21 Andreas Jaeger + + * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute. + * resolv/gai_misc.c (handle_requests): Likewise. + * malloc/obstack.c (print_and_abort): Likewise. + * malloc/mcheck.c (mabort): Likewise. + + * sysdeps/unix/i386/i586/clock_settime.c: Include + "libc-internal.h" for __get_clockfreq declaration. + +2001-04-21 Ulrich Drepper + + * elf/dl-support.c: Include cpuclock-init.h. Use CPUCLOCK_VARDEF and + CPUCLOCK_INIT if defined. + * sysdeps/generic/dl-sysdep.c: Likewise. + * sysdeps/generic/cpuclock-init.h: New file. + * sysdeps/unix/i386/i586/cpuclock-init.h: New file. + * sysdeps/unix/i386/i586/Versions: New file. + * sysdeps/unix/i386/i586/clock_settime.c: New file. + * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock + separately by calling __pthread_clock_gettime if this function is + available. Subtract offset from tsc value before computing time value. + +2001-04-20 Ulrich Drepper + + * iconv/iconv_prog.c (print_known_names): If printing goes not to + a tty print in a more machine-friendly way. + + * sysdeps/ieee754/ldbl-128/e_asinl.c: New file. + Contributed by Stephen L Moshier . + +2001-04-20 Andreas Jaeger + + * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt. + +2001-04-20 Andreas Schwab + + * sysdeps/m68k/fpu/libm-test-ulps: Update. + +2001-04-19 Alan Modra + + * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os). + * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define. + (CFLAGS-.os): Remove. + + * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment. + + * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG, + gregset): Correct for new kernel definitions. + +2001-04-19 Alan Modra + + * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and + generate unwind info by hand. + +2001-04-19 Ulrich Drepper + + * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit. + + * configure.in: Correct regular expression for msgfmt. + Patch by Bruno Haible . + +2001-04-19 Andreas Jaeger + + * po/el.po: Add comment explaining what's broken. + + * po/Makefile (BROKEN_LINGUAS): New. + (ALL_LINGUAS): Don't add broken languages. + +2001-04-19 Roland McGrath + + * sysdeps/mach/hurd/mlock.c: New file. + * sysdeps/mach/hurd/munlock.c: New file. + * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it. + + * misc/Makefile (routines): Add mlock munlock mlockall munlockall. + * sysdeps/generic/mlock.c: New file. + * sysdeps/generic/munlock.c: New file. + * sysdeps/generic/mlockall.c: New file. + * sysdeps/generic/munlockall.c: New file. + * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros. + * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock, + mlockall, munlockall): Change caller field to - from EXTRA. + Don't use __ names; not used (and not declared in include/sys/mman.h). + + * hurd/privports.c (__get_privileged_ports): Renamed with __. + Use __ names for calls we make. + (get_privileged_ports): Add alias. + * hurd/hurd.h: Declare it with the __ name. + * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports. + * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise. + * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise. + + * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do + nothing if it's zero. + +2001-04-19 Matthew Wilcox + + * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): + Change to return a signed result for compatibility with other + architectures, and correctness. + +2001-04-19 Ulrich Drepper + + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS): + HPPA always had them. Patch by Matthew Wilcox . + +2001-04-19 Andreas Jaeger + + * configure.in: Require gettext 0.10.36 or newer. + + * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36. + + * po/zh_TW.po: Remove extraneous backslashes. + + * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused + variables b and n. + +2001-04-18 Jakub Jelinek + + * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update. + * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext): + Copy first word of uc_sigmask into __uc_sigmask. + * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext): + Save uc_link around trap. Copy __uc_sigmask into first word of + uc_sigmask, clear the rest. Make sure setcontext to the created + context doesn't do this though. + * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file. + * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add + uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the + 64bit version, make uc_sigmask __sigset_t in the 32bit version. + +2001-04-19 Andreas Jaeger + + * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch. + + * rt/Makefile (otherlibs): Added for static NSS. + + * glibcbug.in (BUGGLIBC): Send to new alias. + +2001-04-02 Andreas Schwab + + * Makerules (build-module): Make sure exit codes get checked + properly and remove unnecessary slashes. + +2001-04-17 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq): + Handle kernels which report only three digits after the decimal point. + Reported by Van Okamura . + + * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f. + +2001-04-17 David S. Miller + + * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests. + * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise. + +2001-04-17 Jakub Jelinek + + * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure + desired exceptions are raised for exceptional values. + * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test, + cacosh_test, casin_test, casinh_test, catan_test, catanh_test, + clog_test, log_test, log1p_test, tan_test): Increase precision of + expected values to satisfy ldbl-128. + * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly. + * sysdeps/arm/libm-test-ulps: Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Likewise. + * sysdeps/ia64/fpu/libm-test-ulps: Likewise. + * sysdeps/m68k/fpu/libm-test-ulps: Likewise. + * sysdeps/mips/fpu/libm-test-ulps: Likewise. + * sysdeps/powerpc/fpu/libm-test-ulps: Likewise. + * sysdeps/s390/fpu/libm-test-ulps: Likewise. + * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise. + * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise. + * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise. + +2001-04-17 Andreas Jaeger + + * configure.in: Move test for critical programs up. + +2001-04-16 Stephen L Moshier + + * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi): + Correct the values. + (pSx, qSx): Replace by shorter approximation. + Use f suffix on float constants. + +2001-04-16 Ulrich Drepper + + * sysdeps/ieee754/ldbl-128/k_tanl.c: New file. + Contributed by Stephen L Moshier . + + * string/string.h: Replace const in attribute list with __const__. + +2001-04-16 Roland McGrath + + * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf + instead of the constant NGROUPS_MAX. That way, the limit can be + raised in the kernel configuration without having to recompile libc. + + * sysdeps/posix/euidaccess.c: Don't #include or try to + define NGROUPS_MAX; we don't use it here. + +2001-04-16 Andreas Jaeger + + * math/libm-test.inc (atan2_test): Add more testcases. + + * iconv/gconv_db.c: Include gconv_charset.h for + __gconv_lookup_alias prototype. + +2001-04-13 Ulrich Drepper + + * sysdeps/ieee754/ldbl-128/s_atanl.c: New file. + Contributed by Stephen L Moshier . + +2001-04-13 Jes Sorensen + + * intl/tst-codeset.c: Include string.h to get prototype for strcmp(). + +2001-04-13 Jes Sorensen + + * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to + explicitly pad struct siginfo instead of relying on compiler padding. + +2001-04-12 Ulrich Drepper + + * sysdeps/ia64/Dist: Add elf/entry.h. + + * iconvdata/Makefile (distribute): Add TESTS2. + +2001-04-13 Jakub Jelinek + + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address): + Calculate load address differently. + +2001-04-12 Bruno Haible + + * iconvdata/TESTS2: New file. + * iconvdata/run-iconv-test.sh: Also run tests from TESTS2. + * iconvdata/testdata/alfabeta..UTF-8: New file. + * iconvdata/testdata/alfabeta..UTF-16.BE: New file. + * iconvdata/testdata/alfabeta..UTF-16.LE: New file. + * iconvdata/testdata/alfabeta..UTF-32.BE: New file. + * iconvdata/testdata/alfabeta..UTF-32.LE: New file. + +2001-04-11 Bruno Haible + + * iconvdata/utf-32.c: New file. + * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE. + * iconvdata/Makefile (modules): Add UTF-32. + (distribute): Add utf-32.c. + +2001-04-11 Bruno Haible + + * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly + changing it in the state. After incrementing 'inptr', store it back. + * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr', + store it back. + +2001-04-11 Bruno Haible + + * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not + MIN_NEEDED_FROM. + +2001-04-11 David Mosberger + + * sysdeps/ia64/htonl.S: Drop superfluous "alloc". + * sysdeps/ia64/htons.S: Likewise. + + * sysdeps/ia64/memset.S: Add unwind directives. + * sysdeps/ia64/strncpy.S: Likewise. + * sysdeps/ia64/strcat.S: Likewise. + + * sysdeps/ia64/memccpy.S: Add unwind directives. Drop superfluous + restore of ar.pfs. + * sysdeps/ia64/strchr.S: Likewise. + * sysdeps/ia64/memmove.S: Likewise. + * sysdeps/ia64/memcpy.S: Likewise. + * sysdeps/ia64/memcmp.S: Likewise. + * sysdeps/ia64/memchr.S: Likewise. + * sysdeps/ia64/strcmp.S: Likewise. + * sysdeps/ia64/strlen.S: Likewise. + * sysdeps/ia64/strcpy.S: Likewise. + * sysdeps/ia64/strncmp.S: Likewise. + +2001-04-11 Jakub Jelinek + + * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar, + fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked, + fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked, + fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW. + +2001-04-11 Andreas Jaeger + + * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it. + +2001-04-11 Andreas Schwab + + * sysdeps/m68k/fpu/libm-test-ulps: Adjusted. + +2001-04-11 Ulrich Drepper + + * sysdeps/arm/stackinfo.h: New file. + +2001-04-08 Thorsten Kukuk + + * sunrpc/rpc_main.c: If we compile RPC thread safe, allow + rpcgen to generate thread safe code. + +2001-04-10 Andreas Jaeger + + * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration. + +2001-04-10 Ulrich Drepper + + * elf/dl-minimal.c (__assert_fail): Change error string. It's + most of the time no bug in ld.so. + (__assert_perror_fail): Likewise. + +2001-04-11 Hans-Peter Nilsson + + * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type + from struct to unsigned int. + +2001-04-10 Franz Sirl + + * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE, + AT_IGNOREPPC): New defines. + * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them. + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV): + Define for newer powerpc kernels. + * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard + DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined. + +2000-4-10 kaz Kojima + + * sysdeps/sh/stackinfo.h: New file. + +2001-04-10 Ulrich Drepper + + * locale/tst-C-locale.c (run_test): Add tests for locale objects. + * locale/newlocale.c (__newlocale): Correct setting __ctype_b, + __ctype_tolower, and __ctype_toupper elements. + + * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l. + Reported by Konstantin Osipov . + + * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help + the lousy AMD FPU. + +2001-04-10 Franz Sirl + + * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file. + * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h. + * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff. + * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs. + +2001-04-10 Ulrich Drepper + + * elf/dl-deps.c (_dl_map_object_deps): Provide complete error + message. Based on a patch by HJ Lu. + +2001-04-10 Andreas Schwab + + * math/libm-test.inc (csinh_test): Don't require the invalid + exception for csinh (x + iNaN), but make it optional. + +2001-04-09 David Mosberger + + * sysdeps/ia64/elf/start.S (_start): Add unwind directives. + + * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start. + * sysdeps/ia64/elf/entry.h: New file. + * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare + __start. + * elf/rtld.c: Don't declare ENTRY_POINT. Use ENTRY_POINT instead + of &ENTRY_POINT. + * sysdeps/generic/dl-sysdep.c: Likewise. + * sysdeps/mach/hurd/dl-sysdep.c: Likewise. + * sysdeps/ia64/elf/start.S: Save base address of register backing + store in __libc_ia64_register_backing_store_base. + +2001-04-10 Martin Schwidefsky + + * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return + value of getcontext. + * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return + value of setcontext. + * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext + call by changing the saved context. + +2001-04-10 Ulrich Drepper + + * sysdeps/alpha/stackinfo.h: New file. + * sysdeps/ia64/stackinfo.h: New file. + +2001-04-10 Andreas Schwab + + * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional + values. + * sysdeps/m68k/fpu/e_scalb.c: Likewise. + +2001-04-09 Ulrich Drepper + + * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c. + * sysdeps/sparc/sparc64/Dist: Add hp-timing.c. + + * libio/Makefile (distribute): Add fd_to_filename.h. + +2001-04-05 David S. Miller + + Add hp-timing support for sparcv9/sparc64 targets. + * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file + * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file + * sysdeps/sparc/sparc64/hp-timing.c: New file + * sysdeps/sparc/sparc64/hp-timing.h: New file + * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing. + * sysdeps/sparc/sparc64/Makefile: Likewise. + +2001-04-09 Jakub Jelinek + + * sysdeps/generic/fd_to_filename.h: New file. + * sysdeps/unix/sysv/linux/fd_to_filename.h: New file. + * libio/freopen.c (freopen): If FILENAME is NULL, try to get + filename from the open file descriptor. + * libio/freopen64.c (freopen64): Likewise. + +2001-04-09 Bruno Haible + + * misc/error.c (error): fflush stdout also if + error_print_progname != NULL. + (error_at_line): Likewise. + +2001-04-07 Bruno Haible + + * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field. + (struct binding): Add codeset_cntr field. + (_nl_load_domain): Add domainbinding argument. + (_nl_init_domain_conv, _nl_free_domain_conv): New declarations. + (_nl_find_msg): New declaration, moved here from loadinfo.h. + * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field. + (_nl_make_l10nflist): Remove domainbinding argument. + (_nl_find_msg): Move declaration to gettextP.h. + * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr + to 0. Increment it when ->codeset is changed. + * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg. + (_nl_find_msg): Add domainbinding argument. Reinitialize the converter + if domainbinding->codeset_cntr has been incremented. + * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to + _nl_make_l10nflist(). Pass it to _nl_load_domain() instead. + * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument. + * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted + from _nl_load_domain. Append //TRANSLIT also when using libiconv. + (_nl_free_domain_conv): New function, extracted from _nl_unload_domain. + (_nl_load_domain): Add domainbinding argument. Call + _nl_init_domain_conv. + (_nl_unload_domain): Call _nl_free_domain_conv. + * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po. + (test-srcs): Add tst-codeset. + (tests): Depend on tst-codeset.out. + (tst-codeset.out): New rule. + (CFLAGS-tst-codeset.c): New variable. + * intl/tst-codeset.sh: New file. + * intl/tstcodeset.po: New file. + * intl/tst-codeset.c: New file. + * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist + calls. + +2001-04-07 Roland McGrath + + * mach/msgserver.c (__mach_msg_server_timeout): Add an assert. + +2001-03-31 Roland McGrath + + * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when + copying send rights into child. When we hit our name for our proc + port, just copy NEWPROC directly instead of repeating proc_task2proc + to install the child's port. + +2001-04-08 Roland McGrath + + * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT + in second column, to provide default values for third column. + * shlib-versions: Add comments about using DEFAULT in second column. + (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry. + (cris-.*-linux.*): Likewise. + +2001-04-09 Ulrich Drepper + + * Makefile (distribute): Add scripts/documented.sh. + * scripts/documented.sh: New file. + +2001-04-08 Hans-Peter Nilsson + + * sysdeps/unix/sysv/linux/cris/Dist: New file. + * sysdeps/unix/sysv/linux/cris/Makefile: New file. + * sysdeps/unix/sysv/linux/cris/_G_config.h: New file. + * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file. + * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file. + * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file. + * sysdeps/unix/sysv/linux/cris/brk.c: New file. + * sysdeps/unix/sysv/linux/cris/chown.c: New file. + * sysdeps/unix/sysv/linux/cris/clone.S: New file. + * sysdeps/unix/sysv/linux/cris/fchown.c: New file. + * sysdeps/unix/sysv/linux/cris/fcntl.c: New file. + * sysdeps/unix/sysv/linux/cris/fxstat.c: New file. + * sysdeps/unix/sysv/linux/cris/getegid.c: New file. + * sysdeps/unix/sysv/linux/cris/geteuid.c: New file. + * sysdeps/unix/sysv/linux/cris/getgid.c: New file. + * sysdeps/unix/sysv/linux/cris/getgroups.c: New file. + * sysdeps/unix/sysv/linux/cris/getresgid.c: New file. + * sysdeps/unix/sysv/linux/cris/getresuid.c: New file. + * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file. + * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file. + * sysdeps/unix/sysv/linux/cris/getuid.c: New file. + * sysdeps/unix/sysv/linux/cris/lchown.c: New file. + * sysdeps/unix/sysv/linux/cris/lockf64.c: New file. + * sysdeps/unix/sysv/linux/cris/lxstat.c: New file. + * sysdeps/unix/sysv/linux/cris/mmap.S: New file. + * sysdeps/unix/sysv/linux/cris/mmap64.S: New file. + * sysdeps/unix/sysv/linux/cris/msgctl.c: New file. + * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file. + * sysdeps/unix/sysv/linux/cris/register-dump.h: New file. + * sysdeps/unix/sysv/linux/cris/semctl.c: New file. + * sysdeps/unix/sysv/linux/cris/setegid.c: New file. + * sysdeps/unix/sysv/linux/cris/seteuid.c: New file. + * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file. + * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file. + * sysdeps/unix/sysv/linux/cris/setgid.c: New file. + * sysdeps/unix/sysv/linux/cris/setgroups.c: New file. + * sysdeps/unix/sysv/linux/cris/setregid.c: New file. + * sysdeps/unix/sysv/linux/cris/setresgid.c: New file. + * sysdeps/unix/sysv/linux/cris/setresuid.c: New file. + * sysdeps/unix/sysv/linux/cris/setreuid.c: New file. + * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file. + * sysdeps/unix/sysv/linux/cris/setuid.c: New file. + * sysdeps/unix/sysv/linux/cris/shmctl.c: New file. + * sysdeps/unix/sysv/linux/cris/socket.S: New file. + * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file. + * sysdeps/unix/sysv/linux/cris/syscall.S: New file. + * sysdeps/unix/sysv/linux/cris/sysdep.S: New file. + * sysdeps/unix/sysv/linux/cris/sysdep.h: New file. + * sysdeps/unix/sysv/linux/cris/vfork.S: New file. + * sysdeps/unix/sysv/linux/cris/xstat.c: New file. + +2001-04-08 Hans-Peter Nilsson + + * sysdeps/cris/Dist: New file. + * sysdeps/cris/Implies: New file. + * sysdeps/cris/Makefile: New file. + * sysdeps/cris/__longjmp.S: New file. + * sysdeps/cris/_mcount.S: New file. + * sysdeps/cris/bits/endian.h: New file. + * sysdeps/cris/bits/setjmp.h: New file. + * sysdeps/cris/bits/string.h: New file. + * sysdeps/cris/dl-machine.h: New file. + * sysdeps/cris/elf/start.S: New file. + * sysdeps/cris/machine-gmon.h: New file. + * sysdeps/cris/memcopy.h: New file. + * sysdeps/cris/memusage.h: New file. + * sysdeps/cris/setjmp.S: New file. + * sysdeps/cris/sysdep.h: New file. + * sysdeps/cris/wordcopy.c: New file. + +2001-04-08 Hans-Peter Nilsson + + * elf/elf.h: Add new relocations for CRIS. + +2001-04-08 Hans-Peter Nilsson + + * shlib-versions: Add cases for Linux on CRIS. + +2001-04-08 Hans-Peter Nilsson + + * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with + ';' for comments and '@' for line separator. + +2001-04-08 Hans-Peter Nilsson + + * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix + typo; s/==/=/ for assignment. + +2001-04-08 Hans-Peter Nilsson + + * malloc/Makefile: Correct comment; mtrace is Perl, not AWK. + +2001-04-08 Hans-Peter Nilsson + + * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for + empty input before checking full output. + +2001-04-08 Hans-Peter Nilsson + + * iconv/gconv.c (__gconv): Don't derefer parameter cd before + checking if == -1L. + +2001-04-08 Ulrich Drepper + + * inet/rexec.c (rexec_af): Avoid calling perror with errno being set. + +2001-04-07 Stephen L Moshier + + * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN + return values. + +2001-04-07 Ulrich Drepper + + * stdlib/tst-setcontext.c (main): Add a test for setcontext. + + * sysdeps/unix/sysv/linux/i386/getcontext.S: New file. + * sysdeps/unix/sysv/linux/i386/setcontext.S: New file. + * sysdeps/unix/sysv/linux/i386/makecontext.S: New file. + * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file. + * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file. + * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h. + +2001-04-07 Andreas Jaeger + + * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos + instead of separate sin and cos. + (__ieee754_j1l): Likewise. + +2001-04-06 Ulrich Drepper + + * sysdeps/ia64/abort-instr.h: New file. Code by David Mosberger. + + * sysdeps/ia64/atomicity.h: New file. Copied from libstdc++. + + * sysdeps/i386/i486/atomicity.h: Clean up the asms. + + * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's + available. + * sysdeps/generic/e_scalbf.c: Likewise. + * sysdeps/generic/e_scalbl.c: Likewise. + Patch by Mark Hatle . + +2001-04-05 David S. Miller + + * sysdeps/sparc/abort-instr.h: New file. + +2001-04-05 Matt Wilson + + * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER): + added code to parse new 2.4 format. + (GET_NPROCS_CONF_PARSER): Likewise. + +2001-04-05 David S. Miller + + * scripts/config.sub: Recognize sparcv9b like sparcv9. + * configure.in: Add sparcv9b. + * sysdeps/sparc/sparc32/sparcv9b/Implies: New file + * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file + * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file + +2001-04-06 David Mosberger + + * stdlib/tst-setcontext.c: Move st2[] to global scope. + (f2): Verify that stack pointer is inside st2[]. + + * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12. + * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12. + +2001-04-06 Ulrich Drepper + + * timezone/antarctica: Update from tzdata2001b. + * timezone/asia: Likewise. + * timezone/australasia: Likewise. + * timezone/europe: Likewise. + * timezone/northamerica: Likewise. + + * iconv/iconv_open.c: Move strip and upstr definitions... + * iconv/gconv_charset.h: ...here. New file. + * iconv/gconv_db.c (once): Move to file level. + (do_lookup_alias): Split out from __gconv_find_transform. + (__gconv_find_transform): Call do_lookup_alias. + (__gconv_loopup_alias): New function. + * locale/langinfo.h: Define _NL_*_CODESET values for all categories + but LC_CTYPE. + * locale/categories.def: Add entries for new _NL_*_CODESET values. + * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry. + * locale/C-address.c: Initialize _NL_*_CODESET element. + * locale/C-collate.c: Likewise. * locale/C-identification.c: Likewise. * locale/C-measurement.c: Likewise. - * locale/C-telephone.c: Likewise. - * locale/C-address.c: Likewise. - * locale/C-name.c: Likewise. - * locale/C-paper.c: Likewise. - * locale/C-time.c: Likewise. - * locale/C-numeric.c: Likewise. + * locale/C-messages.c: Likewise. * locale/C-monetary.c: Likewise. - * locale/C-messages.c : Likewise. - * locale/C-ctype.c: Likewise. - - * locale/hashval.h [! LONGBITS]: Include here and - use CHAR_BIT instead of BITSPERBYTE. - - * locale/localeinfo.h (_nl_find_locale, _nl_load_locale, - _nl_unload_locale): Add `internal_function attribute_hidden' to decls. - * locale/findlocale.c (_nl_find_locale): Add internal_function to defn. - (_nl_remove_locale): Likewise. - * locale/loadlocale.c (_nl_load_locale, _nl_unload_locale): Likewise. - - * locale/findlocale.c (_nl_default_locale_path): New variable. - (_nl_find_locale): If LOCALE_PATH is null, default to that. - * locale/localeinfo.h: Declare it. - * locale/setlocale.c (setlocale): Use _nl_default_locale_path - in place of LOCALEDIR. If no LOCPATH, pass null to _nl_find_locale. - * locale/newlocale.c (__newlocale): Likewise. - - * misc/err.c (vwarnx, vwarn): Fix typos in libc_hidden_def uses. - * inet/rexec.c (rexec_af): Add libc_hidden_def. - * sysdeps/generic/morecore.c: Likewise. - * signal/allocrtsig.c (__libc_current_sigrtmin): Likewise. - (__libc_current_sigrtmax): Likewise. - -2002-08-08 Roland McGrath - - * locale/loadlocale.c (_nl_load_locale): Don't use MAP_INHERIT. - * catgets/open_catalog.c (__open_catalog): Likewise. - - * locale/programs/locarchive.c (INITIAL_NUM_NAMES): Renamed - from typo INITIAL_NUM_NANES. - (create_archive): Update use. - -2002-08-08 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sigwait.c: New file. - -2002-08-08 Roland McGrath - - * resolv/netdb.h: Don't declare h_errno as a plain global any more. - -2002-08-08 Jakub Jelinek - - * sysdeps/wordsize-64/wcstol_l.c (wcstoll_l): Define to something - else and undefine after including wcstol_l.c. - * sysdeps/wordsize-64/wcstoul_l.c (wcstoull_l): Similarly. - -2002-08-08 Ulrich Drepper - - * gmon/gmon.c (write_gmon): Use O_NOFOLLOW in open calls if available. - -2002-08-08 Alexandre Oliva - - * configure.in: Make the test for broken_alias_attribute stricter. - -2002-05-24 Robert Love - - * posix/Makefile (routines): Add sched_getaffinity and - sched_setaffinity. - * posix/sched.h: Add declarations for sched_getaffinity and - sched_setaffinity. - * sysdeps/generic/sched_getaffinity.c: New file. - * sysdeps/generic/sched_setaffinity.c: New file. - * sysdeps/unix/sysv/linux/syscalls.list: Add sched_getaffinity and - sched_setaffinity. - -2002-08-06 Andreas Schwab - - * sysdeps/unix/utime.c: If TIMES is NULL pass it through to utimes. - -2002-08-07 Ulrich Drepper - - * elf/dl-load.c (_dl_map_object_from_fd): Add missing \n in error - message. - - * stdlib/isomac.c (get_null_defines): Treat NOT_IN_libc special. - It is known to be defined. - - * include/string.h: Define index and rindex only if _ISOMAC is not - defined. - - * elf/rtld.c: Include . - * sysdeps/generic/libc-tls.c: Likewise. - -2002-08-07 Roland McGrath - - * resolv/res_debug.c (latlon2ul): Add const to argument type, and use - it internally. - (precsize_aton): Likewise. - - * inet/getnetgrent_r.c (endnetgrent, __getnetgrent_r): Actually call - the static symbols added in the last change (doofus is me). - - * locale/newlocale.c (__newlocale): Use a bit mask instead of a second - loop to notice missing categories in a composite name. - - * locale/locale.h (LC_CTYPE_MASK, LC_NUMERIC_MASK, LC_TIME_MASK, - LC_COLLATE_MASK, LC_MONETARY_MASK, LC_MESSAGES_MASK, LC_ALL_MASK, - LC_PAPER_MASK, LC_NAME_MASK, LC_ADDRESS_MASK, LC_TELEPHONE_MASK, - LC_MEASUREMENT_MASK, LC_IDENTIFICATION_MASK, LC_ALL_MASK): New macros. - -2002-08-07 Ulrich Drepper - - * malloc/tst-calloc.c: Add tests for one or both parameters being zero. - -2002-08-07 Roland McGrath - - * sysdeps/i386/dl-machine.h (elf_machine_rel): Add to, don't clobber, - unrelocated initial value for DTPOFF32 and TPOFF32 relocs. - Reported by Jakub Jelinek . - -2002-08-07 Jakub Jelinek - - * malloc/malloc.c (public_cALLOc): Check ELEM_SIZE != 0 before - division. - -2002-08-06 Roland McGrath - - * include/getopt.h: Put private decls inside [_GETOPT_H]. - Use libc_hidden_proto for getopt_long, getopt_long_only. - * posix/getopt1.c [_LIBC]: Include instead of "getopt.h". - Add libc_hidden_def. - - * sysdeps/generic/unwind-dw2-fde-glibc.c [_LIBC] (dl_iterate_phdr): - Define as a macro for __dl_iterate_phdr. - - * inet/getnetgrent_r.c (internal_setnetgrent): Renamed from __ name, - made static. Add __ name as a strong alias. - (internal_endnetgrent): Likewise. - (internal_getnetgrent_r): Likewise. - - * locale/Versions (libc: GLIBC_2.3): Add all the *_l functions - with no __ prefix. - * locale/langinfo.h [__USE_GNU]: Declare nl_langinfo_l. - * ctype/ctype.h [__USE_GNU]: Add declarations and macros for - all *_l functions with no __ prefix. - * wctype/wcfuncs_l.c: Define weak aliases without __ for all fns. - * ctype/ctype_l.c: Likewise. - * locale/nl_langinfo.c: Likewise. - * string/string.h [__USE_GNU]: Add decls for all *_l fns with no __. - * stdlib/stdlib.h [__USE_GNU]: Likewise. - * wcsmbs/wchar.h [__USE_GNU]: Likewise. - * wctype/wctype.h [__USE_GNU]: Likewise. - * string/strcoll_l.c (strcoll_l): Define as weak alias. - * string/strxfrm_l.c (strxfrm_l): Define as weak alias. - * sysdeps/generic/strcasecmp_l.c (strcasecmp_l): Define as weak alias. - * sysdeps/generic/strncase_l.c (strncasecmp_l): Define as weak alias. - * stdlib/strtod_l.c (strtod_l): Define as weak alias. - * stdlib/strtof_l.c (strtof_l): Define as weak alias. - * stdlib/strtold_l.c (strtold_l): Define as weak alias. - * wcsmbs/wcscasecmp_l.c (wcscasecmp_l): Define as weak alias. - (__wcscasecmp_l): Add libc_hidden_def. - * wcsmbs/wcsncase_l.c (wcsncasecmp_l): Define as weak alias. - (__wcsncasecmp_l): Add libc_hidden_def. - * wcsmbs/wcstof_l.c (wcstof_l): Define as weak alias. - * wcsmbs/wcstod_l.c (wcstod_l): Define as weak alias. - * wcsmbs/wcstold_l.c (wcstold_l): Define as weak alias. - * wcsmbs/wcscoll_l.c (wcscoll_l): Define as weak alias. - * wcsmbs/wcsxfrm_l.c (wcsxfrm_l): Define as weak alias. - * sysdeps/generic/wcstol_l.c (wcstol_l): Define as weak alias. - * sysdeps/generic/wcstoll_l.c (wcstoll_l): Define as weak alias. - * sysdeps/generic/wcstoul_l.c (wcstoul_l): Define as weak alias. - * sysdeps/generic/wcstoull_l.c (wcstoull_l): Define as weak alias. - * sysdeps/wordsize-64/wcstol_l.c (wcstoll_l): Define as weak alias. - * sysdeps/wordsize-64/wcstoul_l.c (wcstoull_l): Define as weak alias. - * wctype/wctrans_l.c (wctrans_l) Define as weak alias. - * wctype/towctrans_l.c (towctrans_l) Define as weak alias. - * wctype/wctype_l.c (wctype_l) Define as weak alias. - -2002-08-05 Roland McGrath - - * include/rpc/auth.h: Use libc_hidden_proto for getnetname, - netname2user, host2netname, user2netname, key_gendes. - * sunrpc/netname.c: Add libc_hidden_def. - * sunrpc/key_call.c: Likewise. - - * include/netdb.h: Use libc_hidden_proto for getaddrinfo, getnameinfo, - freeaddrinfo. - * inet/getnameinfo.c: Add libc_hidden_def. - * sysdeps/generic/getaddrinfo.c: Likewise. - * sysdeps/posix/getaddrinfo.c: Likewise. - - * include/wchar.h: Use libc_hidden_proto for wmemchr, wmemset. - * wcsmbs/wmemchr.c: Add libc_hidden_def. - * wcsmbs/wmemset.c: Add libc_hidden_def. - - * include/string.h: Move libc_hidden_proto's inside #ifndef _STRING_H. - (index, rindex): Define as macros for strchr, strrchr. - - * string/envz.c (envz_strip): index -> strchr - - * include/rpc/rpc_msg.h: Use libc_hidden_proto for _seterr_reply. - * sunrpc/rpc_prot.c: Add libc_hidden_def. - - * include/wchar.h: Use libc_hidden_proto for mbrtowc. - * wcsmbs/mbrtowc.c: Add libc_hidden_weak. - - * include/stdlib.h: Use libc_hidden_proto for wctomb. - * stdlib/wctomb.c: Add libc_hidden_def. - - * include/netdb.h: Use libc_hidden_proto for innetgr, rcmd_af, - rexec_af, rresvport_af, ruserok_af, iruserok_af, ruserpass, hstrerror. - * resolv/herror.c: Likewise. - * inet/rcmd.c: Add libc_hidden_def. - * inet/ruserpass.c: Likewise. - * inet/getnetgrent_r.c: Likewise. - - * include/rpc/svc.h: Use libc_hidden_proto for svc_register, - svc_unregister, remove *_internal decls. Use libc_hidden_proto - for svcerr_auth, svcerr_noprog, svcerr_progvers. - * sunrpc/svc.c (svc_register, svc_unregister): Change INTDEF to - libc_hidden_def. - (svcerr_auth, svcerr_noprog, svcerr_progvers): Add libc_hidden_def. - * sunrpc/svc_simple.c (registerrpc): Nix INTUSE for svc_register. - - * sysdeps/posix/system.c (do_system): New function, guts broken out of - __libc_system. - (__libc_system): Call it, putting just the line == NULL test here. - - * include/libc-symbols.h (__hidden_proto): Add extern keywords so - variables work right. - - * elf/dl-open.c (dl_open_worker): Use _ macro instead of gettext. - * elf/dl-close.c (_dl_close): Likewise. - - * include/netinet/in.h: Use libc_hidden_proto for bindresvport, - in6addr_any, in6addr_loopback. Remove decls for - bindresvport_internal, in6addr_any_internal, in6addr_loopback_internal. - * sunrpc/svc_udp.c (svcudp_bufcreate): Nix INTUSE for bindresvport. - * sunrpc/svc_tcp.c (svctcp_create): Likewise. - * sunrpc/clnt_udp.c (clntudp_bufcreate): Likewise. - * sunrpc/bindrsvprt.c: Change INTDEF to libc_hidden_def. - * inet/in6_addr.c: Change INTVARDEF to libc_hidden_def. - * sysdeps/posix/getaddrinfo.c (gaih_inet): Nix INTUSE for - in6addr_loopback. - * inet/gethstbyad_r.c (PREPROCESS): Nix INTUSE for in6addr_any. - - * include/netinet/ether.h: Use libc_hidden_proto for ether_ntoa_r, - ether_aton_r. - * inet/ether_aton_r.c: Add libc_hidden_def. - * inet/ether_ntoa_r.c: Likewise. - - * include/rpc/svc.h: Use libc_hidden_proto for xprt_register, - xprt_unregister. - * sunrpc/svc.c: Add libc_hidden_def. - * include/rpc/pmap_clnt.h: Use libc_hidden_proto for pmap_getport, - pmap_set, pmap_unset. - * sunrpc/pmap_clnt.c: Add libc_hidden_def. - * sunrpc/pm_getport.c: Likewise. - * include/rpc/auth_des.h: Use libc_hidden_proto for getpublickey. - * sunrpc/publickey.c: Add libc_hidden_def. - -2002-08-05 Ulrich Drepper - - * elf/rtld.c (_dl_start): Don't use memset. Use same tricks as for - the other memset call in this function. - - * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Store dtv pointer - at correct index. Clear BSS region now that memalign is used. - -2002-08-05 Roland McGrath - - * include/sys/utsname.h: Use libc_hidden_proto for uname, __uname. - * sysdeps/generic/uname.c: Add libc_hidden_def. - * sysdeps/mach/hurd/uname.c: Likewise. - -2002-08-05 Jakub Jelinek - - * include/wchar.h (wcrtomb, wcscmp, wcsftime, wcsspn, wcschr, wcscoll, - wcspbrk): Add libc_hidden_proto. - * time/strftime.c (my_strftime): Add libc_hidden_def. - (strftime): Remove libc_hidden_def. - * wcsmbs/wcschr.c (wcschr): Add libc_hidden_def. - * wcsmbs/wcspbrk.c (wcspbrk): Likewise. - * wcsmbs/wcsspn.c (wcsspn): Likewise. - * wcsmbs/wcscmp.c (wcscmp): Likewise. - * wcsmbs/wcrtomb.c (wcrtomb): Add libc_hidden_weak. - * wcsmbs/wcscoll.c (wcscoll): Likewise. - - * include/rpc/rpc.h (__rpc_thread_svc_max_pollfd, - __rpc_thread_svc_pollfd, __rpc_thread_svc_fdset, - __rpc_thread_createerr): Add libc_hidden_proto. - * sunrpc/rpc_thread.c (__rpc_thread_svc_max_pollfd, - __rpc_thread_svc_pollfd, __rpc_thread_svc_fdset, - __rpc_thread_createerr): Add libc_hidden_def. - - * include/rpc/clnt.h (clnt_sperrno, clnt_spcreateerror, - clnt_perror, clnt_sperror, _rpc_dtablesize): Add libc_hidden_proto. - * sunrpc/clnt_perr.c (clnt_sperrno, clnt_spcreateerror, - clnt_perror, clnt_sperror): Add libc_hidden_def. - * sunrpc/rpc_dtable.c (_rpc_dtablesize): Likewise. - - * include/rpc/des_crypt.h (des_setparity, ecb_crypt, cbc_crypt): Add - libc_hidden_proto. - * sunrpc/des_crypt.c (ecb_crypt, cbc_crypt): Add libc_hidden_proto. - * sunrpc/des_soft.c (des_setparity): Likewise. - - * include/rpc/auth.h (key_encryptsession_pk, key_decryptsession_pk): - Add libc_hidden_proto. - * sunrpc/key_call.c (key_encryptsession_pk, key_decryptsession_pk): - Add libc_hidden_def. - -2002-08-05 Roland McGrath - - * sysdeps/generic/ldsodefs.h (struct rtld_global): Replace member - `bool _dl_initial_dtv_malloced' with `void *_dl_initial_dtv'. - * elf/rtld.c (dl_main): Set it to the new dtv for the main thread. - * sysdeps/generic/dl-tls.c (__tls_get_addr): When reallocating the - dtv, check if it matches _dl_initial_dtv; if so, malloc and copy the - old data, abandoning the original memory allocated by rtld at startup, - instead of calling realloc normally. - -2002-08-05 Ulrich Drepper - - * po/fr.po: Update from translation team. - -2002-08-04 Roland McGrath - - * sysdeps/unix/make-syscalls.sh: If the syscall name field is - - then generate a dummy module under the given name, obeying the - normal rules for the "caller" field. - - * sysdeps/generic/libc-tls.c (__libc_setup_tls): Make the phdr loop - actually iterate over the elements. Fix typo p_type -> p_vaddr. - - * include/pthread.h: Don't declare __pthread_initialize_minimal as - weak here; we declare it weak or strong in the one place we use it. - * sysdeps/generic/libc-start.c: ... which is here. - Don't make the decl weak if [USE_TLS], since static programs need TLS - setup even when single-threaded. - - * stdlib/isomac.c (fmt): Add -DNOT_IN_libc to the compiler command. - - * elf/Makefile (test-srcs): Add $(modules-names) to it. - (CFLAGS-vismod2.c, CFLAGS-failobj.c, CFLAGS-constload2.c, - CFLAGS-reldepmod3.c, CFLAGS-reldepmod4.c, CFLAGS-ltglobmod2.c): Remove - all these variables. - -2002-08-04 Ulrich Drepper - - * include/stdio.h: Don't define macro magic to redirect function - calls if _ISOMAC is defined. - - * sysdeps/i386/fpu/libm-test-ulps: Add epsilons for inlined - ldouble asin tests. - -2002-08-04 Roland McGrath - - * stdlib/lrand48_r.c: Add libc_hidden_def. - - * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): Allocate the - TCB with __libc_memalign instead of mmap. - (_dl_deallocate_tls): Free it with free instead of munmap. - - * Makerules (cpp-srcs-left): When setting this to run - cppflags-iterator.mk, must append .c to $(tests) and $(xtests) - words. Combine the two loops into one on the concatenated list, - including those as well as $(test-srcs). - - * elf/dl-minimal.c (__libc_memalign): Guts of malloc moved here, - since we align here with optimally minimal waste anyway. - (malloc): Just call that. - - * sysdeps/generic/libc-tls.c (__libc_setup_tls): Set l_tls_offset to - the right variable. - - * elf/dl-load.c (_dl_map_object_from_fd): Use p_vaddr, not p_offset, - to compute memory location for l_tls_initimage. - * elf/rtld.c (_dl_start): Likewise. - * sysdeps/generic/libc-tls.c (__libc_setup_tls): Likewise. - - * libio/oldiopopen.c: Move #include's before #if SHLIB_COMPAT, - because the .d file is generated in the non-shared case and - so fails to catch them otherwise. - - * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): New function, - split out of _dl_allocate_tls. - (_dl_allocate_tls_init): Likewise. - (_dl_allocate_tls): Call those. - * sysdeps/generic/ldsodefs.h: Declare them with attribute_hidden. - * elf/rtld.c (dl_main): Call them separately instead of calling - _dl_allocate_tls. Delay _dl_allocate_tls_init until after relocation - is finished, so that the initializer data has been relocated before we - copy it into the main thread's TLS block. - - * sysdeps/generic/dl-tls.c (_dl_allocate_tls): Fix off-by-one error in - loop conditions, prevented the last used module from being initialized. - -2002-08-04 Jakub Jelinek - - * sysdeps/generic/glob.c (glob, globfree): Only use libc_hidden_def - if glob resp. globfree are not macros. - * sysdeps/gnu/glob64.c (globfree64): Add libc_hidden_def. - * sysdeps/unix/sysv/linux/alpha/glob.c (glob, globfree, globfree64): - Add libc_hidden_ver. - * sysdeps/unix/sysv/linux/i386/glob64.c (globfree64): Add - libc_hidden_def. - * sysdeps/wordsize-64/glob.c (globfree64): Use libc_hidden_ver - instead of libc_hidden_weak. - * sysdeps/wordsize-64/strtol.c (__strtoll_internal): Use - libc_hidden_ver instead of libc_hidden_def. - * sysdeps/wordsize-64/wcstol.c (__wcstoll_internal): Use - libc_hidden_ver instead of libc_hidden_def. - (wcstoll, wcstoq): Remove libc_hidden_weak. - * sysdeps/wordsize-64/strtol_l.c (____strtoll_l_internal): Add - libc_hidden_ver. - * sysdeps/wordsize-64/strtoul.c (__strtoull_internal): Add - libc_hidden_ver. - * sysdeps/wordsize-64/strtoul_l.c (____strtoull_l_internal): Add - libc_hidden_ver. - * sysdeps/wordsize-64/wcstoul.c (__wcstoull_internal): Add - libc_hidden_ver. - -2002-08-04 Ulrich Drepper - - * stdio-common/psignal.c: Declare _sys_siglist_internal. Use USEINT - to access _sys_siglist. - * string/strsignal.c: Likewise. - * sysdeps/generic/siglist.c: Add _sys_siglist_internal alias. - * sysdeps/gnu/siglist.c: Likewise. - * sysdeps/unix/siglist.c: Likewise. - * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise. - - * libio/fileops.c: Add missing INTUSEs for _IO_file_jumps. - - * libio/wfileops.c: Add missing INTUSE for _IO_file_close. - - * intl/dcigettext.c: Define _nl_default_dirname_internal as hidden - alias and use it. - * intl/bindtextdom.c: Use _nl_default_dirname_internal. - - * include/netinet/in.h: Add declaration of in6addr_loopback_internal. - * inet/in6_addr.c: Add INTVARDEF for in6addr_loopback. - * sysdeps/posix/getaddrinfo.c: Use INTUSE for in6addr_loopback access. - - * include/time.h: Add libc_hidden_proto for __gmtime_r. - * time/gmtime.c (__gmtime_r): Add libc_hidden_def. - - * iconv/Versions: Replace __gconv_alias_db, __gconv_modules_db, - and __gconv_cache with __gconv_get_alias_db, __gconv_get_modules_db, - and __gconv_get_cache respectively. - * iconv/gconv_cache.c (gconv_cache): Renamed for __gconv_cache and - defined static. Change all users. - (__gconv_get_cache): New function. - * iconv/gconv_db.c (__gconv_get_modules_db): New function. - (__gconv_get_alias_db): New function. - * iconv/gconv_int.h (__gconv_alias_db): Declare as hidden. - (__conv_modules_db): Likewise. - Add prototypes for __gconv_get_cache, __gconv_get_modules_db, - and __gconv_get_alias_db. - * iconv/iconv_prog.c: Use the new functions instead of accessing the - variables. - - * include/stdlib.h: Add prototype and libc_hidden_proto for - __default_morecore. - * sysdeps/generic/morecore.c: Include . - - * malloc/obstack.c: Remove fputs macro. - - * malloc/mtrace.c: Remove fopen macro. - -2002-08-04 Jakub Jelinek - - * manual/debug.texi: Fix spelling to programmatically. - Reported by . - -2002-08-04 Ulrich Drepper - - * include/libio.h: Add libc_hidden_proto for __uflow. - * include/stdio.h: Map fopen, fdopen, fclose, fputs, fsetpos, and - fgetpos to _IO_* names. - Add libc_hidden_proto for fileno, fwrite, fseek, fflush_unlocked, - fread_unlocked, fwrite_unlocked, fgets_unlocked, fputs_unlocked. - * include/wchar.h: Add libc_hidden_proto for fputws_unlocked, - putwc_unlocked, vswscanf. - * libio/iolibio.h: Add libc_hidden_proto for _IO_fputs. - * libio/fileno.c: Use and libc_hidden_def. - * libio/fseek.c: Likewise. - * libio/fmemopen.c: Include "libioP.h". Call _IO_fopencookie and - not fopencookie. - * libio/genops.c (__uflow): Add libc_hidden_def. - * libio/iofflush_u.c (fflush_unlocked): Likewise. - * libio/iofgets_u.c (fgets_unlocked): Likewise. - * libio/iofputs_u.c (fputs_unlocked): Likewise. - * libio/iofputws_u.c (fputws_unlocked): Likewise. - * libio/iofread_u.c (fread_unlocked): Likewise. - * libio/iofwrite_u.c (fwrite_unlocked): Likewise. - * libio/iovswscanf.c (vswscanf): Likewise. - * libio/putwc_u.c (putwc_unlocked): Likewise. - * libio/iofputs.c: Use libc_hidden_def instead of INTDEF. - * malloc/malloc.c: Redirect fwrite calls to _IO_fwrite. - * malloc/mtrace.c: Likewise. - - * sunrpc/clnt_perr.c: Remove fputs macro. - * sunrpc/svc_simple.c: Likewise. - * sunrpc/svc_tcp.c: Likewise. - * sunrpc/svc_udp.c: Likewise. - * sunrpc/xdr_rec.c: Likewise. - * sunrpc/xdr_ref.c: Likewise. - - * iconv/Makefile: Add CPPFLAGS definitions with -DNOT_in_libc for - iconv_prog, linereader, and charmap-dir. - * locale/Makefile: Likewise for locale and charmap-dir. - * malloc/Makefile: Likewise for memusagestat. - * nscd/Makefile: Likewise for nscd, nscd_conf, and dbg_log. - * sunrpc/Makefile: Likewise for rpc_main. - * sysdeps/unix/sysv/linux/Makefile: Likewise for lddlibc4. - * timezone/Makefile: Likewise for zic. - - * stdio-common/perror.c: Avoid multiple calls to fileno_unlocked. - - * elf/dl-addr.c (_dl_addr): Add libc_hidden_def. - * elf/dl-close.c (_dl_close): Add libc_hidden_def. - * elf/dl-open.c (_dl_open): Add libc_hidden_def. - * include/dlfcn.h: Add libc_hidden_proto for _dl_addr, _dl_open, - _dl_close. - - * include/libio.h: Add libc_hidden_proto for __underflow, __wuflow, - __wunderflow. - * libio/genops.c (__underflow): Add libc_hidden_def. - * libio/wgenops.c (__wuflow): Likewise. - (__wunderflow): Likewise. - - * include/obstack.h: Add libc_hidden_proto for _obstack_newchunk. - * malloc/obstack.c (_obstack_newchunk): Add libc_hidden_def. - - * include/stdio.h: Add libc_hidden_proto for __vfscanf. - * stdio-common/vfscanf.c (__vfscanf): Add libc_hidden_def. - - * include/string.h: Add libc_hidden_proto for __strverscmp. - * string/strverscmp.c (__strverscmp): Add libc_hidden_def. - - * include/unistd.h: Add libc_hidden_proto for __sysconf. - * sysdeps/generic/sysconf.c (__sysconf): Add libc_hidden_def. - * sysdeps/posix/sysconf.c: Likewise. - * sysdeps/unix/sysv/irix4/sysconf.c: Likewise. - * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise. - - * include/wctype.h: Use libc_hidden_proto for __iswctype, __iswalnum_l, - __iswalpha_l, __iswblank_l, __iswcntrl_l, __iswdigit_l, __iswlower_l, - __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l, - __iswxdigit_l, __towlower_l, __towupper_l. - * wcsmbs/wcstype.c (__iswctype): Use libc_hidden_def. - * wcsmbs/wcfuncs_l.c: Use libc_hidden_def for all functions. - - * include/sys/wait.h: Add libc_hidden_proto for __xmknod. - * sysdeps/generic/xmknod.c (__xmknod): Add libc_hidden_def. - * sysdeps/mach/hurd/xmknod.c: Likewise. - * sysdeps/unix/xmknod.c: Likewise. - * sysdeps/unix/sysv/linux/xmknod.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/xmknod.c: Likewise. - * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise. - - * sunrpc/svc.c: Add missing INTUSE for _authenticate. - -2002-08-03 Roland McGrath - - * include/sys/resource.h: Use libc_hidden_proto for getpriority, - setpriority. - * sysdeps/unix/sysv/linux/getpriority.c: Add libc_hidden_def. - * sysdeps/unix/sysv/irix4/getpriority.c: Likewise. - * sysdeps/unix/sysv/irix4/setpriority.c: Likewise. - * sysdeps/mach/hurd/setpriority.c: Likewise. - * sysdeps/mach/hurd/getpriority.c: Likewise. - * sysdeps/generic/setpriority.c: Likewise. - * sysdeps/generic/getpriority.c: Likewise. - - * include/mcheck.h: Use libc_hidden_proto for mcheck_check_all. - * malloc/mcheck.c: Add libc_hidden_def. - - * include/search.h: Use libc_hidden_proto for hcreate_r, hdestroy_r. - * misc/hsearch_r.c: Add libc_hidden_def. - - * include/fnmatch.h: Use libc_hidden_proto for fnmatch. - * posix/fnmatch.c: Add libc_hidden_weak. - - * include/unistd.h: Use libc_hidden_proto for _exit, alarm, confstr, - execl, execle, execlp, execvp, getpid, getsid. - * sysdeps/generic/alarm.c: Add libc_hidden_def. - * sysdeps/unix/alarm.c: Likewise. - * posix/confstr.c: Likewise. - * posix/execvp.c: Likewise. - * posix/execlp.c: Likewise. - * posix/execle.c: Likewise. - * posix/execl.c: Likewise. - * sysdeps/generic/getsid.c: Likewise. - * sysdeps/mach/hurd/getsid.c: Likewise. - * sysdeps/generic/getpid.c: Add libc_hidden_weak. - * sysdeps/mach/hurd/getpid.c: Likewise. - - * include/stdlib.h: Use libc_hidden_proto for ecvt_r, fcvt_r, - qecvt_r, qfcvt_r, lrand48_r. - * misc/efgcvt_r.c: Add libc_hidden_def. - - * include/wordexp.h: Use libc_hidden_proto for wordfree. - * sysdeps/generic/wordexp.c: Add libc_hidden_def. - - * include/langinfo.h: Use libc_hidden_proto for nl_langinfo. - * locale/nl_langinfo.c: Add libc_hidden_def. - - * include/glob.h: Use libc_hidden_proto for glob, globfree, globfree64. - * sysdeps/generic/glob.c: Add libc_hidden_def. - * sysdeps/generic/glob64.c: Likewise. - * sysdeps/wordsize-64/glob.c (globfree64): Add libc_hidden_weak. - - * locale/nl_langinfo.c: Use _NL_CURRENT_DATA. - - * elf/Makefile (CFLAGS-vismod2.c): New variable. - - * locale/setlocale.c (_nl_current_names): Variable moved ... - * locale/localename.c (_nl_current_names): ... here, new file. - Make it global, with attribute_hidden. - * locale/localeinfo.h: Declare it. - * locale/Makefile (aux): Add localename. - * locale/localename.c (__current_locale_name): New function. - * include/locale.h (__current_locale_name): Declare it. - * intl/dcigettext.c (guess_category_value): Use that instead of - calling setlocale. - - * locale/locale.h [__USE_GNU] (locale_t): New type alias of __locale_t. - [__USE_GNU] (newlocale, duplocale, freelocale, uselocale): New decls. - [__USE_GNU] (LC_GLOBAL_LOCALE): New macro. - * locale/newlocale.c: Add alias to __ name. - * locale/duplocale.c: Likewise. - * locale/freelocale.c: Likewise. - * locale/uselocale.c: New file. - * locale/Makefile (routines): Add it. - * locale/Versions (libc: GLIBC_2.3): New set. - Add newlocale, duplocale, freelocale, uselocale. - (libc: GLIBC_PRIVATE): Add __uselocale. - - * locale/localeinfo.h [SHARED] - (_NL_CURRENT_LOCALE): New macro, defined to fetch a tsd value. - (_NL_CURRENT_DATA): Define using that. - (_NL_CURRENT, _NL_CURRENT_WSTR, _NL_CURRENT_WORD): Define using that. - (_NL_CURRENT_DEFINE): Define to empty. - [! SHARED]: Decls of _nl_current_CATEGORY and _nl_current - conditionalized on this. - * locale/xlocale.c (NL_C_INTIIALIZER): New macro, - taking initializer of _nl_C_locobj. - [SHARED] (_nl_global_locale): New variable, using that initializer. - (_nl_C_locobj): Use new macro for initialzier. - * locale/setlocale.c [! SHARED] (_nl_current): Conditionalize on this. - [! SHARED] (CATEGORY_USED): New macro. - [SHARED] (CATEGORY_USED, _nl_C): New macros. - (setdata, setlocale): Use that macro instead of examining _nl_current. - (setdata): Set the slot in _nl_global_locale. - Conditionalize setting of _nl_current on [! SHARED]. - * locale/findlocale.c [SHARED] (_nl_C): Define as a macro instead of - declaration as an extern. - * locale/newlocale.c (__newlocale): Use _nl_C_locobj instead of _nl_C. - - * include/locale.h: Use libc_hidden_proto for setlocale. - * locale/setlocale.c: Add libc_hidden_def. - - * locale/setlocale.c (free_mem): Use _NL_CURRENT_DATA. - - * include/search.h: Use libc_hidden_proto for hsearch_r, lfind. - * misc/hsearch_r.c: Add libc_hidden_def. - * misc/lsearch.c: Likewise. - - * include/ttyent.h: Use libc_hidden_proto for getttyent, setttyent, - endttyent. - * misc/getttyent.c: Add libc_hidden_def. - - * include/mcheck.h: Use libc_hidden_proto for mcheck. - * malloc/mcheck.c: Add libc_hidden_def. - - * include/envz.h: Use libc_hidden_proto for envz_entry, enz_remove. - * include/argz.h: Use libc_hidden_proto for argz_delete. - * string/argz-delete.c: Add libc_hidden_def. - * string/envz.c: Likewise. Use , not "envz.h". - - * sysdeps/unix/sysv/linux/x86_64/clone.S (thread_start): Use - HIDDEN_JUMPTARGET for _exit. - * sysdeps/unix/sysv/linux/m68k/clone.S (thread_start): Likewise. - * sysdeps/unix/sysv/linux/i386/clone.S (thread_start): Likewise. - * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise. - * sysdeps/unix/_exit.S (_exit): Add libc_hidden_def. - - * include/libc-symbols.h: Fix [__ASSEMBLY__] -> [__ASSEMBLER__]. - [__ASSEMBLER__] (hidden_weak): Define using hidden_def, or to empty. - [__ASSEMBLER__] (HIDDEN_JUMPTARGET): New macro. - * sysdeps/unix/sysv/linux/i386/makecontext.S: Use it for exit. - - * include/stdlib.h: Use libc_hidden_proto for abort, - __strtof_internal, __strtod_internal, __strtold_internal, - __strtol_internal, __strtoll_internal, __strtoul_internal, - __strtoull_internal. __strtof_l_internal, __strtod_l_internal, - __strtold_l_internal, __strtol_l_internal, __strtoll_l_internal, - __strtoul_l_internal, __strtoull_l_internal. - * include/wchar.h: Use libc_hidden_proto for __wcstof_internal, - __wcstod_internal, __wcstold_internal, __wcstol_internal, - __wcstoll_internal, __wcstoul_internal, ____wcstof_l_internal, - ____wcstod_l_internal, ____wcstold_l_internal, ____wcstol_l_internal, - ____wcstoll_l_internal, ____wcstoul_l_internal, __wcscasecmp_l, - __wcsncasecmp_l. - * sysdeps/generic/abort.c: Add libc_hidden_def. - * stdlib/strtod.c: Likewise. - * sysdeps/generic/strtol.c: Likewise. - * sysdeps/wordsize-64/strtol.c: Likewise. - * sysdeps/wordsize-64/wcstol.c: Likewise. - * sysdeps/wordsize-64/wcstol_l.c: Likewise. - - * include/stdlib.h: Use libc_hidden_proto for qsort. - * stdlib/msort.c: Add libc_hidden_def. - - * include/utime.h: Use libc_hidden_proto for utime. - * sysdeps/generic/utime.c: Add libc_hidden_def. - * sysdeps/unix/utime.c: Likewise. - - * sysdeps/generic/utmp_file.c (LOCK_FILE): sigemptyset -> __sigemptyset - * sysdeps/posix/profil.c (__profil): sigfillset -> __sigfillset - * sysdeps/posix/sprofil.c (__sprofil): Likewise. - * shadow/lckpwdf.c (__lckpwdf): Likewise (both). - * sysdeps/posix/spawni.c (__spawni): sigismember -> __sigismember - - * include/signal.h: Use libc_hidden_proto for raise, sigemptyset, - sigfillset, sigismember, __sigpause, __libc_current_sigrtmin, - and __libc_current_sigrtmax. - * signal/sigismem.c: Add libc_hidden_def. - * signal/sigfillset.c: Likewise. - * signal/sigempty.c: Likewise. - * sysdeps/generic/sigpause.c (__sigpause): Likewise. - * sysdeps/posix/sigpause.c (__sigpause): Likewise. - * sysdeps/unix/bsd/osf/alpha/sigpause.S: Likewise. - * sysdeps/posix/raise.c: Likewise. - * sysdeps/generic/raise.c: Likewise. - -2002-08-03 Ulrich Drepper - - * include/string.h: Use libc_hidden_proto for __stpcpy. - * sysdeps/alpha/stpcpy.S (__stpcpy): Add libc_hidden_def. - * sysdeps/alpha/alphaev67/stpcpy.S: Likewise. - * sysdeps/generic/stpcpy.c: Likewise. - * sysdeps/i386/stpcpy.S: Likewise. - * sysdeps/i386/i586/stpcpy.S: Likewise. - * sysdeps/powerpc/stpcpy.S: Likewise. - * sysdeps/sparc/sparc32/stpcpy.S: Likewise. - * sysdeps/sparc/sparc64/stpcpy.S: Likewise. - - * include/string.h: Use libc_hidden_proto for __strcasecmp_l, - __strncasecmp_l, __strdup, __strndup, __strerror_r. - * sysdeps/generic/strcasecmp_l.c (__strcasecmp_l): Add - libc_hidden_def. - * string/strdup.c (__strdup): Likewise. - * string/strndup.c (__strndup): Likewise. - * sysdeps/generic/_strerror.c (__strerror_r): Likewise. - * sysdeps/generic/strncase_l.c (__strncasecmp_l): Likewise. - -2002-08-03 Jakub Jelinek - - * include/libio.h: New file. - * libio/libioP.h (__overflow, __woverflow): Remove libc_hidden_proto. - * libio/iolibio.h: #include , not "libio.h". - * sysdeps/generic/morecore.c (__sbrk): Add libc_hidden_proto. - * sysdeps/unix/bsd/syscalls.list: Remove all __GI_* aliases. - * sysdeps/unix/common/syscalls.list: Likewise. - * sysdeps/unix/inet/syscalls.list: Likewise. - * sysdeps/unix/sysv/irix4/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/syscalls.list: Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: Likewise. - * sysdeps/unix/syscalls.list: Likewise. - -2002-08-03 Jakub Jelinek - Ulrich Drepper - - * malloc/malloc.c (public_cALLOc): Only divide if at least one of - the arguments is big enough to cause an overflow. - -2002-08-03 Ulrich Drepper - - * assert/assert.c: Use hidden_def not INTDEF. - -2002-08-03 Jakub Jelinek - - * include/libc-symbols.h: Optimize if HAVE_BROKEN_ALIAS_ATTRIBUTE is - not defined. - -2002-08-03 Roland McGrath - - * include/sys/syslog.h: Use libc_hidden_proto for syslog, vsyslog. - * include/err.h: Use libc_hidden_proto for warn, warnx, vwarn, vwarn, - verr, verrx. - * include/stdlib.h: Use libc_hidden_proto for exit, getenv, bsearch. - * misc/syslog.c: Add libc_hidden_def. - * misc/err.c: Likewise. - * stdlib/exit.c: Likewise. - * stdlib/bsearch.c: Likewise. - * sysdeps/generic/getenv.c: Likewise. - - * include/libc-symbols.h (hidden_weak): Define it for [__ASSEMBLER__]. - - * sysdeps/unix/make-syscalls.sh: Generate libc_hidden_def or - libc_hidden_weak for every system call symbol defined. - - * include/time.h: Use libc_hidden_proto for time, asctime, mktime, - timelocal, localtime, strftime. - * time/asctime.c: Add libc_hidden_def. - * time/mktime.c: Likewise. - * time/localtime.c: Likewise. - * time/strftime.c: Likewise. - * time/strptime.c: Likewise. - * sysdeps/generic/time.c: Likewise. - * sysdeps/unix/time.c: Likewise. - * sysdeps/unix/sysv/i386/time.S: Likewise. - * sysdeps/unix/sysv/linux/x86_64/time.S: Likewise. - - * include/arpa/inet.h: Use libc_hidden_proto for inet_ntop, inet_pton. - inet_makeaddr, inet_netof, inet_addr, __inet_addr. - * resolv/inet_ntop.c: Likewise. - * resolv/inet_pton.c: Likewise. - * inet/inet_mkadr.c: Add libc_hidden_def. - * inet/inet_netof.c: Likewise. - * resolv/inet_addr.c: Likewise. - - * include/libc-symbols.h: Remove `defined HAVE_BROKEN_ALIAS_ATTRIBUTE' - clauses from conditionals for now. Will have to be fixed later - for older compilers. - - * sysdeps/generic/mempcpy.c (__mempcpy): #undef it before defn. - -2002-08-02 Ulrich Drepper - - * configure.in (HAVE_BROKEN_ALIAS_ATTRIBUTE): Add check for - broken alias attribute handling. - * config.h.in (HAVE_BROKEN_ALIAS_ATTRIBUTE): Add. - -2002-08-02 Roland McGrath - - * elf/Makefile ($(objpfx)interp.os): Depend on config.make, - since it sets the variables we use in a -D switch. - -2002-08-02 Roland McGrath - - * posix/bits/posix1_lim.h (SSIZE_MAX): Define to LONG_MAX, not INT_MAX. - On 32-bit platforms they are the same; on 64-bit platforms ssize_t - matches long int, not int. - - * locale/localeinfo.h (_NL_CURRENT_DATA): New macro. - * wcsmbs/wcsmbsload.h (update_conversion_ptrs): Use it. - * locale/lc-ctype.c (_nl_postload_ctype): Likewise. - * wctype/wctrans.c (wctrans): Likewise. - * wctype/wctype.c (__wctype): Likewise. - * intl/loadmsgcat.c (_nl_init_domain_conv): Use _NL_CURRENT. - -2002-08-02 Ulrich Drepper - - * assert/assert.c (__assert_fail): Fix typo in comment. - - * include/rpc/rpc.h: Declare RPC_VARS tsd as extern. - * sunrpc/rpc_thread.c: Define it without static. - * sunrpc/Versions [libc] (GLIBC_PRIVATE): Export __libc_tsd_RPC_VARS. - -2002-08-02 Jakub Jelinek - - * assert/assert.c (__assert_fail): Remove undef. - Replace INTDEF with libc_hidden_def. - * assert/__assert.c (__assert): Remove INTUSE. - * elf/dl-minimal.c (__assert_fail): Replace INTDEF with - libc_hidden_weak. - * include/libc-symbols.h (hidden_proto, hidden_def, hidden_weak, - hidden_ver, libc_hidden_proto, libc_hidden_def, libc_hidden_weak, - libc_hidden_ver, rtld_hidden_proto, rtld_hidden_def, rtld_hidden_weak, - rltd_hidden_ver, libm_hidden_proto, libm_hidden_def, libm_hidden_weak, - libm_hiden_ver): Define. - * include/assert.h (__assert_fail_internal): Remove. - (__assert_fail): Add prototype. Add hidden_proto. - * include/libc-internal.h (__libc_freeres, __profile_frequency): Add - libc_hidden_proto. - * include/wchar.h (__mbrtowc_internal, __mbrlen_internal): Remove. - (__mbrtowc, __mbrlen): Use libc_hidden_proto. Remove macros. - * include/string.h (__mempcpy, __stpncpy, __rawmemchr, __strcasecmp): - Add libc_hidden_proto. - * include/fcntl.h (__open64, __libc_open, __libc_fcntl, __open, - __fcntl): Add libc_hidden_proto. Remove macros. - (__open_internal, __fcntl_internal): Remove. - * libio/iofdopen.c (_IO_fcntl): Remove INTUSE from __fcntl. - * malloc/set-freeres.c (__libc_freeres): Add libc_hidden_def. - * nss/nsswitch.h (__nss_database_lookup, __nss_next): Add - libc_hiden_proto. - * nss/nsswitch.c (__nss_database_lookup, __nss_next): Add - libc_hidden_def. - * sysdeps/generic/mempcpy.c (__mempcpy): Remove undef. - Add libc_hidden_def. - * sysdeps/generic/open64.c (__open64): Add libc_hidden_def. - * sysdeps/generic/open.c (__open): Remove undef. - Add libc_hidden_def. Remove INTDEF. - * sysdeps/generic/fcntl.c (__fcntl): Remove undef. - Add libc_hidden_def. - * sysdeps/mach/hurd/fcntl.c (__fcntl): Likewise. - * sysdeps/i386/i586/mempcpy.S (__mempcpy): Add libc_hidden_def. - * sysdeps/i386/i686/mempcpy.S (__mempcpy): Likewise. - * sysdeps/mach/hurd/fcntl.c (__libc_fcntl, __fcntl): Remove undef. - (__fcntl): Remove INTDEF2. Add libc_hidden_weak. - (__libc_fcntl): Add libc_hidden_def. - * sysdeps/mach/hurd/open.c (__libc_open, __open): Remove undef. - (__open): Remove INTDEF2. Add libc_hidden_weak. - (__libc_open): Add libc_hidden_def. - * sysdeps/posix/open64.c (__open64): Add libc_hidden_weak. - * sysdeps/standalone/open.c (__open): Add libc_hidden_def. - * sysdeps/unix/sysv/aix/fcntl.c (__libc_fcntl, __fcntl): Remove undef. - Add libc_hidden_def. - * sysdeps/unix/sysv/aix/open.c (__libc_open, __open): Remove undef. - Add libc_hidden_def. - * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl, __fcntl): Remove - undef. - (__fcntl): Remove INTDEF2. Add libc_hidden_weak. - (__libc_fcntl): Add libc_hidden_def. - * sysdeps/unix/sysv/linux/syscalls.list (__fcntl_internal, - __getpgid_internal, __chown_internal): Remove. - (__GI___fcntl, __GI___libc_fcntl, __GI___getpgid, __GI___pipe, - __GI___sched_setscheduler, __GI___select, __GI___setpgid, - __GI___chown): Add. - * sysdeps/unix/syscalls.list (__close_internal, __dup2_internal, - __getpid_internal, __open_internal, __write_internal): Remove. - (__GI___fcntl, __GI___libc_fcntl, __GI___open, __GI___libc_open, - __GI___chown, __GI___close, __GI___dup2, __GI___getpid, - __GI___libc_open, __GI___open, __GI___read, __GI___libc_read, - __GI___select, __GI___statfs, __GI___write, __GI___libc_write): Add. - * wcsmbs/mbrlen.c (__mbrlen): Remove undef. - Replace INTDEF with libc_hidden_def. - * wcsmbs/mbrtowc.c (__mbrtowc): Likewise. - * catgets/catgetsinfo.h (__open_catalog): Add libc_hidden_proto. - * catgets/open_catalog.c (__open_catalog): Add libc_hidden_def. - * elf/dl-profile.c (__profile_frequency): Add libc_hidden_proto. - * include/rpc/rpc.h (__rpc_thread_svc_fdset, __rpc_thread_createerr): - Add libc_hidden_proto. - * include/sys/poll.h (__poll): Add libc_hidden_proto. - * include/sys/select.h (__select): Likewise. - * include/sys/socket.h (__send): Likewise. - * include/sys/statfs.h (__statfs): Likewise. - * include/unistd.h (__pwrite64, __libc_read, __pipe, __chown, __dup2, - __getpid, __getpgid, __setpgid, __close, __read, __write, - __getpagesize, __sbrk): Likewise. - (__chown_internal, __dup2_internal, __getpid_internal, - __getpgid_internal, __close_internal, __write_internal, - __getpagesize_internal): Remove. - (__close, __dup2, __getpagesize, __getpgid, __getpid, __libc_write): - Remove macros. - * include/printf.h (__printf_fp): Add libc_hidden_proto. - * include/sched.h (__sched_setscheduler): Likewise. - * include/resolv.h (__res_ninit, __res_randomid): Likewise. - * include/stdlib.h (__secure_getenv): Likewise. - * include/signal.h (__sigaction, __sigsuspend): Likewise. - * inet/getaliasent_r.c (NSS_attribute_hidden): Remove. - * inet/getaliasname_r.c (NSS_attribute_hidden): Remove. - * inet/getnetbyad_r.c (NSS_attribute_hidden): Remove. - * inet/getnetbynm_r.c (NSS_attribute_hidden): Remove. - * inet/getnetent_r.c (NSS_attribute_hidden): Remove. - * inet/getproto_r.c (NSS_attribute_hidden): Remove. - * inet/getprtent_r.c (NSS_attribute_hidden): Remove. - * inet/getprtname_r.c (NSS_attribute_hidden): Remove. - * inet/getrpcbyname_r.c (NSS_attribute_hidden): Remove. - * inet/getrpcbynumber_r.c (NSS_attribute_hidden): Remove. - * inet/getrpcent_r.c (NSS_attribute_hidden): Remove. - * inet/getservent_r.c (NSS_attribute_hidden): Remove. - * inet/getsrvbynm_r.c (NSS_attribute_hidden): Remove. - * inet/getsrvbypt_r.c (NSS_attribute_hidden): Remove. - * inet/gethstbyad_r.c (DB_LOOKUP_FCT): Remove INTUSE. - * inet/gethstbynm2_r.c (DB_LOOKUP_FCT): Likewise. - * inet/gethstbynm_r.c (DB_LOOKUP_FCT): Likewise. - * inet/gethstent_r.c (DB_LOOKUP_FCT): Likewise. - * libio/genops.c (__overflow): Add libc_hidden_def. - * libio/iovdprintf.c: Remove libio.h include. - * libio/libioP.h (libc_hidden_proto, libc_hidden_def, - libc_hidden_weak): Define to nothing if not defined. - (__overflow, __woverflow): Add libc_hidden_proto. - * libio/wgenops.c (__woverflow): Add libc_hidden_def. - * nss/getXXent_r.c (NSS_attribute_hidden): Remove. - (DB_LOOKUP_FCT): Add libc_hidden_proto. - * nss/getXXbyYY_r.c (NSS_attribute_hidden): Remove. - (DB_LOOKUP_FCT): Add libc_hidden_proto. - * nss/XXX-lookup.c (DB_LOOKUP_FCT): Add libc_hidden_proto - and libc_hidden_def. - * nss/hosts-lookup.c (__nss_hosts_lookup): Remove INTDEF. - * posix/bsd-getpgrp.c (__getpgid_internal): Remove. - (__getpgid): Add libc_hidden_proto. - (__bsd_getpgrp): Remove INTUSE. - * resolv/res_init.c (__res_ninit, __res_randomid): Add - libc_hidden_def. - * shadow/getspent_r.c (NSS_attribute_hidden): Remove. - * shadow/getspnam_r.c (NSS_attribute_hidden): Remove. - * stdio-common/printf_fp.c (__printf_fp): Add libc_hidden_def. - * stdlib/strfmon.c (__printf_fp): Add libc_hidden_proto. - * stdlib/secure-getenv.c (__secure_getenv): Add libc_hidden_def. - * sunrpc/rpc_thread.c (__rpc_thread_svc_fdset, - __rpc_thread_createerr): Add libc_hidden_def. - * sysdeps/alpha/alphaev67/rawmemchr.S (__rawmemchr): Add - libc_hidden_def. - * sysdeps/alpha/alphaev67/stpncpy.S (__stpncpy): Likewise. - * sysdeps/alpha/rawmemchr.S (__rawmemchr): Likewise. - * sysdeps/alpha/stpncpy.S (__stpncpy): Likewise. - * sysdeps/generic/chown.c (__chown): Likewise. - * sysdeps/generic/close.c (__close): Likewise. - * sysdeps/generic/dup2.c (__dup2): Likewise. - * sysdeps/generic/pipe.c (__pipe): Likewise. - * sysdeps/generic/prof-freq.c (__profile_frequency): Likewise. - * sysdeps/generic/pwrite64.c (__pwrite64): Likewise. - * sysdeps/generic/rawmemchr.c (__rawmemchr): Likewise. - * sysdeps/generic/read.c (__libc_read): Likewise. - (__read): Add libc_hidden_weak. - * sysdeps/generic/sbrk.c (__sbrk): Add libc_hidden_def. - * sysdeps/generic/sched_sets.c (__sched_setscheduler): Likewise. - * sysdeps/generic/select.c (__select): Likewise. - * sysdeps/generic/send.c (__send): Likewise. - * sysdeps/generic/setpgid.c (__setpgid): Likewise. - * sysdeps/generic/sigaction.c (__sigaction): Likewise. - * sysdeps/generic/sigsuspend.c (__sigsuspend): Likewise. - * sysdeps/generic/statfs.c (__statfs): Likewise. - * sysdeps/generic/stpncpy.c (__stpncpy): Likewise. - * sysdeps/generic/strcasecmp.c (__strcasecmp): Likewise. - * sysdeps/generic/getpagesize.c (__getpagesize): Likewise. - Remove undef and INTDEF. - * sysdeps/generic/getpgid.c (__getpgid): Likewise. - * sysdeps/generic/getpid.c (__getpid): Likewise. - * sysdeps/generic/write.c (__libc_write): Likewise. - (__write): Add libc_hidden_weak. Remove undef and INTDEF. - * sysdeps/i386/rawmemchr.S (__rawmemchr): Add libc_hidden_def. - * sysdeps/i386/stpncpy.S (__stpncpy): Likewise. - * sysdeps/m68k/rawmemchr.S (__rawmemchr): Likewise. - * sysdeps/mach/hurd/chown.c (__chown): Likewise. Remove INTDEF. - * sysdeps/mach/hurd/close.c (__close): Add libc_hidden_def. - Remove undef and INTDEF. - * sysdeps/mach/hurd/dup2.c (__dup2): Likewise. - * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise. - * sysdeps/mach/hurd/getpid.c (__getpid): Likewise. - * sysdeps/mach/getpagesize.c (__getpagesize): Likewise. - * sysdeps/mach/hurd/write.c (__libc_write): Likewise. - (__write): Add libc_hidden_weak. Remove undef and INTDEF. - * sysdeps/mach/hurd/pipe.c: Include unistd.h. - (__pipe): Add libc_hidden_def. - * sysdeps/mach/hurd/dl-sysdep.c (__libc_read, __libc_write): Add - libc_hidden_weak. - * sysdeps/mach/hurd/poll.c (__poll): Add libc_hidden_def. - * sysdeps/mach/hurd/profil.c (__profile_frequency): Likewise. - * sysdeps/mach/hurd/read.c (__libc_read): Likewise. - (__read): Add libc_hidden_weak. - * sysdeps/mach/hurd/pwrite64.c (__pwrite64): Likewise. - (__libc_pwrite64): Add libc_hidden_def. - * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise. - * sysdeps/mach/hurd/select.c (__select): Likewise. - * sysdeps/mach/hurd/send.c (__send): Likewise. - * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise. - * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise. - * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise. - * sysdeps/mach/hurd/statfs.c (__statfs): Likewise. - * sysdeps/posix/dup2.c: Likewise. - Remove undef and INTDEF. - * sysdeps/posix/getpagesize.c (__getpagesize): Likewise. - * sysdeps/posix/pwrite64.c (__libc_pwrite64): Add libc_hidden_def. - (__pwrite64): Add libc_hidden_weak. - * sysdeps/posix/sigsuspend.c (__sigsuspend): Add libc_hidden_def. - * sysdeps/sparc/sparc64/rawmemchr.S (__rawmemchr): Likewise. - * sysdeps/sparc/sparc64/stpncpy.S (__stpncpy): Likewise. - * sysdeps/standalone/close.c (__close): Likewise. - * sysdeps/standalone/write.c (__libc_write): Likewise. - (__write): Add libc_hidden_weak. - * sysdeps/standalone/read.c (__read): Likewise. - (__libc_read): Add libc_hidden_def. - * sysdeps/unix/grantpt.c (grantpt): Remove INTUSE. - * sysdeps/unix/bsd/m68k/pipe.S (__pipe): Add libc_hidden_def. - * sysdeps/unix/bsd/osf/alpha/pipe.S (__pipe): Likewise. - * sysdeps/unix/bsd/vax/pipe.S (__pipe): Likewise. - * sysdeps/unix/bsd/syscalls.list (__GI___getpagesize): Likewise. - * sysdeps/unix/bsd/poll.c (__poll): Likewise. - * sysdeps/unix/bsd/sigaction.c (__sigaction): Likewise. - * sysdeps/unix/bsd/sigsuspend.c (__sigsuspend): Likewise. - * sysdeps/unix/common/syscalls.list (__GI___getpgid, __GI___setpgid, - __GI___sigaction): Add. - * sysdeps/unix/i386/pipe.S (__pipe): Add libc_hidden_def. - * sysdeps/unix/inet/syscalls.list (__GI___send): Add. - * sysdeps/unix/mips/pipe.S (__pipe): Add libc_hidden_def. - * sysdeps/unix/sparc/pipe.S (__pipe): Likewise. - * sysdeps/unix/sysv/irix4/syscalls.list (__GI___getpgid, - __GI___setpgid): Add. - * sysdeps/unix/sysv/aix/chown.c (__chown): Add libc_hidden_def. - Remove undef and INTDEF. - * sysdeps/unix/sysv/aix/getpgid.c (__getpgid): Likewise. - * sysdeps/unix/sysv/aix/write.c (__write, __libc_write): Likewise. - * sysdeps/unix/sysv/aix/close.c (__close): Add libc_hidden_def. - * sysdeps/unix/sysv/aix/getpid.c (__getpid): Likewise. - * sysdeps/unix/sysv/aix/pipe.c (__pipe): Likewise. - * sysdeps/unix/sysv/aix/read.c (__read, __libc_read): Likewise. - * sysdeps/unix/sysv/aix/poll.c (__poll): Likewise. - * sysdeps/unix/sysv/aix/sbrk.c (__sbrk): Likewise. - * sysdeps/unix/sysv/aix/sigaction.c (__sigaction): Likewise. - * sysdeps/unix/sysv/aix/sigsuspend.c (__sigsuspend): Likewise. - * sysdeps/unix/sysv/aix/statfs.c (__statfs): Likewise. - * sysdeps/unix/sysv/aix/select.c (__select): Likewise. - * sysdeps/unix/sysv/aix/setpgid.c (__setpgid): Likewise. - * sysdeps/unix/sysv/linux/alpha/pipe.S (__pipe): Likewise. - * sysdeps/unix/sysv/linux/alpha/syscalls.list (__GI___pwrite64, - __GI___statfs, __GI___send): Add. - * sysdeps/unix/sysv/linux/alpha/select.S (__select): Add - libc_hidden_ver resp. libc_hidden_def. - * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend): Add - libc_hidden_def. - * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize): - Likewise. Remove undef and INTDEF. - * sysdeps/unix/sysv/linux/ia64/pipe.S (__pipe): Add libc_hidden_def. - * sysdeps/unix/sysv/linux/ia64/syscalls.list (__GI___pwrite64, - __GI___statfs, __GI___send): Add. - * sysdeps/unix/sysv/linux/ia64/sigaction.c (__sigaction): Add - libc_hidden_def. - * sysdeps/unix/sysv/linux/ia64/sigsuspend.c (__sigsuspend): - Likewise. - * sysdeps/unix/sysv/linux/sh/pipe.S (__pipe): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/chown.c (__chown): Add - libc_hidden_ver resp. libc_hidden_def. - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (__GI___pwrite64, - __GI___send): Add. - * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c (__sigaction): - Add libc_hidden_weak. - * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c (__sigsuspend): - Add libc_hidden_def. - * sysdeps/unix/sysv/linux/hppa/syscalls.list (__GI___send): Add. - * sysdeps/unix/sysv/linux/arm/sigaction.c (__sigaction): Add - libc_hidden_weak. - * sysdeps/unix/sysv/linux/i386/chown.c (__chown): Add libc_hidden_ver - resp. libc_hidden_def. - * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Add - libc_hidden_weak. - * sysdeps/unix/sysv/linux/m68k/chown.c (__chown): Likewise. Remove - INTDEF. - * sysdeps/unix/sysv/linux/m68k/getpagesize.c (__getpagesize): - Likewise. Remove undef. - * sysdeps/unix/sysv/linux/mips/pwrite64.c (__pwrite64): Add - libc_hidden_weak. - * sysdeps/unix/sysv/linux/mips/syscalls.list (__GI___send): Add. - * sysdeps/unix/sysv/linux/mips/sigaction.c (__sigaction): Add - libc_hidden_weak. - * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown): Add - libc_hidden_def. - * sysdeps/unix/sysv/linux/powerpc/pwrite64.c (__pwrite64): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c (__getpagesize): - Likewise. Remove undef and INTDEF. - * sysdeps/unix/sysv/linux/sparc/sparc32/pipe.S (__pipe): Add - libc_hidden_def. - * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction): Add - libc_hidden_weak. - * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S (__pipe): Add - libc_hidden_def. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list - (__GI___pwrite64, __GI___statfs, __GI___select, __GI___send): Add. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction): Add - libc_hidden_weak. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c (__sigsuspend): - Add libc_hidden_def. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list (__GI___pwrite64, - __GI___statfs): Add. - * sysdeps/unix/sysv/linux/x86_64/send.c (__send): Add - libc_hidden_weak. - * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__sigaction): Likewise. - * sysdeps/unix/sysv/linux/getpagesize.c: Add libc_hidden_def. - Remove undef and INTDEF. - * sysdeps/unix/sysv/linux/poll.c (__poll): Add libc_hidden_def. - * sysdeps/unix/sysv/linux/pwrite64.c (__pwrite64): Add - libc_hidden_def. - * sysdeps/unix/sysv/linux/send.S (__send): Likewise. - * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Add - libc_hidden_weak. - * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Add - libc_hidden_def. - * sysdeps/unix/sysv/sco3.2.4/__setpgid.c (__setpgid): Likewise. - * sysdeps/unix/sysv/sco3.2.4/sigaction.S (__sigaction): Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list (__GI___sigaction): - Add. - * sysdeps/unix/sysv/sysv4/__getpgid.c (__getpgid): Add - libc_hidden_def. Remove undef and INTDEF. - * sysdeps/unix/sysv/sysv4/getpgid.c (__getpgid): Likewise. - * sysdeps/unix/sysv/sysv4/__setpgid.c (__setpgid): Add - libc_hidden_def. - * sysdeps/unix/sysv/sysv4/setpgid.c (__setpgid): Likewise. - * sysdeps/unix/sysv/sysv4/sigaction.c (__sigaction): Likewise. - * sysdeps/unix/sysv/sigaction.c (__sigaction): Likewise. - * sysdeps/unix/getpagesize.c (__getpagesize): Add libc_hidden_def. - Remove undef and INTDEF. - * configure.in (HAVE_BROKEN_VISIBILITY_ATTRIBUTE): Add check for - broken visibility attribute handling. - * config.h.in (HAVE_BROKEN_VISIBILITY_ATTRIBUTE): Add. - -2002-08-02 Ulrich Drepper - - * locale/iso-639.def: Add entries for Venda and Nothern Sotho. - Reported by Dwayne Bailey . - - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Adapt - previous patch. - -2002-06-29 Todd Fries - - * resolv/gethnamaddr.c (gethostbyaddr): Try ip6.int if ip6.arpa fails. - -2002-08-02 Jakub Jelinek - - * include/errno.h: Don't include tls.h if _ISOMAC is defined. - -2002-07-30 Roland McGrath - - * resolv/resolv.h (_res): Define macro unconditionally. - [! _LIBC_REENTRANT] (_res): Move this conditional decl to ... - * include/resolv.h: ... here. - [USE_TLS && HAVE___THREAD] (_res): #undef it and declare - as a __thread variable. - * resolv/res_libc.c [USE_TLS && HAVE___THREAD] (_res): Define it as - a __thread variable instead of a global. - * resolv/res_data.c [_LIBC]: Don't #undef _res. - - * include/errno.h: Include to make sure USE_TLS defined by the - time we test it. - - * intl/loadmsgcat.c [__GNUC__]: #undef alloca before defining it. - - * malloc/malloc.c [_LIBC]: Include instead of using local - decls of memset and memcpy. - - * sysdeps/generic/sysdep.h (END): Conditionalize on [__ASSEMBLER__]. - * sysdeps/unix/sysv/linux/i386/sysdep.h (L): Likewise. - - * elf/dl-load.c (_dl_map_object_from_fd): Comment fix. - - * sysdeps/generic/bits/libc-tsd.h [USE_TLS && HAVE___THREAD] - (__libc_tsd_define): Define using __thread. - - * sunrpc/rpc_thread.c: Use __libc_tsd_define. - (__rpc_thread_variables): Use __libc_tsd_get. - (__rpc_thread_destroy): Use __libc_tsd_get instead of calling - __rpc_thread_variables, which might allocate what we're about to free. - - * inet/herrno.c [USE_TLS && HAVE___THREAD] (h_errno): Define as a - thread-local variable. - * resolv/netdb.h (h_errno): Define macro unconditionally. - [_LIBC] (__set_h_errno): Macro moved to ... - * include/netdb.h: ... here. - [USE_TLS && HAVE___THREAD] (h_errno): Declare __thread variable. - [USE_TLS && HAVE___THREAD] (__set_h_errno): Define using that. - [! _LIBC_REENTRANT]: #undef h_errno here. - - * include/errno.h: Protect from multiple inclusion. - - * misc/sys/select.h (__NFDBITS, __FDELT, __FDMASK): #undef these - before defining them, since Linux's might have - defined them. - -2002-08-02 Jakub Jelinek - - * malloc/malloc.c (public_cALLOc): Check for overflow on - multiplication. - * sunrpc/xdr_array.c (xdr_array): Likewise. - * sunrpc/rpc/types.h (mem_free): Add comment. - Patch by Solar Designer . - -2002-08-02 Jakub Jelinek - - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_SET_THREAD_AREA_SYSCALL): Define. - -2002-08-01 Roland McGrath - - * libio/fileops.c (_IO_file_sync_mmap): New function. - (_IO_file_jumps_mmap): Use it. - (_IO_file_underflow_mmap): Rewritten. If after EOF or fflush, - repeat the stat check and resize the mapped buffer as necessary. - -2002-07-31 Roland McGrath - - * libio/fileops.c (decide_maybe_mmap): New static function. - Code taken from libio/iofopen.c:__fopen_maybe_mmap to try to - mmap the file contents. Then switch the jump tables to the mmap - tables if it worked, or the vanilla file tables if not. - (_IO_file_underflow_maybe_mmap): New function. - (_IO_file_seekoff_maybe_mmap): New function. - (_IO_file_xsgetn_maybe_mmap): New function. - (_IO_file_jumps_maybe_mmap): New variable, jump table using those. - * libio/libioP.h: Declare those. - * libio/wfileops.c (_IO_wfile_underflow_maybe_mmap): New function. - (_IO_wfile_jumps_maybe_mmap): New variable, jump table using that. - * libio/iofopen.c (__fopen_maybe_mmap): Don't try to mmap here. - If the stream is read-only, set its jump tables to those new ones. - * libio/iofdopen.c (_IO_new_fdopen) [_G_HAVE_MMAP]: Set the initial - jump tables to the maybe_mmap ones, and don't call __fopen_maybe_mmap. - We need the tables set before _IO_file_attach. - - * libio/tst-mmap-eofsync.c: New file. - * libio/tst-mmap-fflushsync.c: New file. - * libio/bug-mmap-fflush.c: New file. - * libio/tst-mmap2-eofsync.c: New file. - * libio/Makefile (tests): Add them. - - * libio/wfileops.c (_IO_wfile_underflow_mmap): Don't set EOF bit when - _IO_file_underflow_mmap fails, it already set the appropriate bit. - -2002-07-31 Jeff Bailey - - * libio/stdio.h (sys_errlist, sys_nerr, _sys_errlist, _sys_nerr): - Declarations moved to . Include that file. - * libio/Makefile (headers): Add bits/sys_errlist.h to the list. - * sysdeps/generic/bits/sys_errlist.h: New file. This does *not* - declare sys_errlist and sys_nerr. - * sysdeps/unix/sysv/linux/bits/sys_errlist.h: New file. Does - provide declarations. - -2002-07-31 Roland McGrath - - * elf/rtld.c (dl_main): Fix typo in error message. - -2002-07-31 Roland McGrath - - * sysdeps/mach/hurd/Versions (ld: GLIBC_2.0): __fxstat -> __fxstat64, - __xstat -> __xstat64, __lseek -> __libc_lseek64. Completes 2002-06-09 - sysdeps/mach/hurd/dl-sysdep.c change. - -2002-07-28 Ulrich Drepper - - * sysdeps/unix/sysv/linux/configure.in: Check /lib/modules/`uname - -r`/build/include for kernel headers. - - * po/fi.po: New file. - -2002-07-15 Alexandre Oliva - - * configure.in (static_nss): Set to `yes' if --disable-shared. - -2002-07-23 Bruno Haible - - * intl/loadmsgcat.c (PRI*): Redefine the macros if PRI_MACROS_BROKEN - is set. - -2002-07-25 Jakub Jelinek - - * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h: New file. - * sysdeps/unix/sysv/linux/ia64/profil-counter.h: Fix profil_counter - arguments. - -2002-07-25 Jakub Jelinek - - * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal): Add - alias. - -2002-07-21 Bruno Haible - - * intl/libintl.h (__GNU_GETTEXT_SUPPORTED_REVISION): New macro. - * intl/gettext.h (struct mo_file_header): New fields n_sysdep_segments, - sysdep_segments_offset, n_sysdep_strings, orig_sysdep_tab_offset, - trans_sysdep_tab_offset. - (struct sysdep_segment): New type. - (struct sysdep_string): New type. - (SEGMENTS_END): New macro. - * intl/gettextP.h (struct sysdep_string_desc): New type. - (struct loaded_domain): New fields malloced, n_sysdep_strings, - orig_sysdep_tab, trans_sysdep_tab, must_swap_hash_tab. Make fields - orig_tab, trans_tab, hash_tab to const pointers because they point - into read-only memory. - * intl/loadmsgcat.c: Include stdint.h, inttypes.h, hash-string.h. - (PRI*): Define fallback values. - (get_sysdep_segment_value): New function. - (_nl_load_domain): Distinguish major and minor revision parts. Add - support for minor revision 1 with system dependent strings. - (_nl_unload_domain): Also free the 'malloced' field. - * intl/dcigettext.c (_nl_find_msg): Remove test for domain->hash_size, - now done in loadmsgcat.c. Add support for system dependent strings. - -2002-07-16 Stepan Kasal - - * posix/bug-regex7.c: New file. - * posix/bug-regex8.c: New file. - * posix/Makefile (tests): Add bug-regex7 and bug-regex8. - -2002-07-16 Stepan Kasal - - * posix/bug-regex4.c (main): Fix typos. - * posix/bug-regex6.c (main): Likewise. - -2002-07-27 Ulrich Drepper - - * posix/bug-regex6.c (main): Fix warnings. - - * iconvdata/Makefile (CPPFLAGS): Add NOT_IN_libc. - - * iconv/iconv_prog.c (main): Improve error message for the cases - where -t and/or -f parameter are missing. - -2002-07-10 Stepan Kasal - - * posix/regexec.c (re_match): Reorganize to remove duplicate code. - (re_search): Likewise. - (re_match_2): Likewise. - (re_search_2): Likewise. - (re_search_stub): New function. - (re_search_2_stub): New function. - * regcomp.c (re_compile_pattern): Typo in a comment fixed. - -2002-07-10 Isamu Hasegawa - - * posix/regex_internal.h: Add new member STOP to struct re_string_t. - (re_string_eoi): Use STOP instead of LEN. - * posix/regex_internal.c (re_string_allocate): Initialize pstr->len. - (re_string_construct): Likewise. - (re_string_reconstruct): Adjust pstr->stop like pstr->len. - * posix/regexec.c (re_search_internal): Add a new argument STOP - so that it can handle the argument STOP of re_search_2 and re_match_2 - correctly. - (regexec): Adapt to new I/F of re_search_internal. - (re_search_stub): Likewise. - -2002-07-25 Ulrich Drepper - - * sunrpc/clnt_gen.c: Don't include . - - * elf/dl-minimal.c: Remove definition of __assert_perror_fail. - - * sysdeps/wordsize-32/divdi3.c: Define __divdi3_internal. - * sysdeps/wordsize-32/lldiv.c: Make gcc use __divdi3_internal instead - of __divdi3. - - * sysdeps/unix/sysv/linux/adjtime.c: Use __adjtimex_internal. - * sysdeps/unix/sysv/linux/ntp_gettime.c: Likewise. - * sysdeps/unix/sysv/linux/syscalls.list: Add __adjtimex_internal - alias for adjtimex syscall. - - * elf/dl-minimal.c: Define __assert_fail_internal. - * assert/assert.c: Likewise. - * include/assert.h: Define __assert_file macro if !SHARED and not - NOT_IN_libc. - - * iconv/Makefile: Define NOT_IN_libc for objects in standalone - programs. - * locale/Makefile: Likewise. - * nscd/Makefile: Likewise. - * catgets/Makefile: Likewise. - -2002-07-24 Ulrich Drepper - - * libio/fileops.c (_IO_file_seekoff_mmap): Do use fp->_offset to - compute current position. - - * stdio-common/tst-fseek.c (main): Improve error messages. - - * libio/tst-freopen.c (main): Remove unused variable. - - * libio/fileops.c (_IO_file_seekoff_mmap): Set fp->_offset after - succesful seek call. Simplify error checking. - -2002-07-25 Jakub Jelinek - - * config.h.in: Use __ASSEMBLER__ test macro not ASSEMBLER. - * sysdeps/ia64/fpu/libm_support.h: Likewise. - -2002-07-19 Roland McGrath - - * hurd/hurdsig.c (_hurdsig_getenv): Always return null if - __libc_enable_secure is set. - -2002-07-24 Roland McGrath - - Added interface with functions `getifaddrs', `freeifaddrs'. - This implementation supports only IPv4. - * inet/ifaddrs.h: New file. - * sysdeps/generic/ifaddrs.c: New file. - * sysdeps/gnu/ifaddrs.c: New file. - * inet/test-ifaddrs.c: New file. - * inet/Makefile (routines): Add ifaddrs. - (headers): Add ifaddrs.h here. - (tests): Add test-ifaddrs. - * inet/Versions (GLIBC_2.3): New set, add getifaddrs and freeifaddrs. - - * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use an explicit - socket call to get an AF_INET socket, instead of using __opensock. - The SIOCGIFNETMASK ioctl will work only with a PF_INET socket. - - * sysdeps/generic/ifreq.h (__ifreq): Take third argument SOCKFD, - if not -1 use it instead of calling __opensock. - * sysdeps/unix/sysv/linux/ifreq.h (__ifreq): Likewise. - * sysdeps/mach/hurd/ifreq.h (__ifreq): Take new argument and ignore it. - * resolv/res_hconf.c (_res_hconf_reorder_addrs): Pass new argument. - - * sysdeps/mach/hurd/ifreq.h: New file. - * sysdeps/generic/ifreq.h (__if_freereq): Take second argument NUM_IFS. - * sysdeps/unix/sysv/linux/ifreq.h (__if_freereq): Likewise. - * resolv/res_hconf.c (_res_hconf_reorder_addrs): Update caller. - - * libio/fileops.c (_IO_file_seekoff_mmap): Don't rely on FP->_offset, - which gets moved around. Calculate size of mmap'd buffer instead. - -2002-07-24 Philip Blundell - - * sysdeps/unix/arm/brk.S: Improve schedule. - * sysdeps/unix/sysv/linux/arm/socket.S (PUSHARGS_1): Use more - efficient instruction. - (__socket): Optimize return sequence. - -2002-07-24 Ulrich Drepper - - * sysdeps/unix/sysv/linux/opensock.c (__opensock): Prefer inet - sockets on old kernels. - -2002-07-22 Philip Blundell - - * sysdeps/unix/sysv/linux/arm/errlist.c: Remove extra weak alias - definiton of _old_sys_nerr. Define _old_sys_errlist as strong - alias. - -2002-07-24 Ulrich Drepper - - * locale/hashval.h: Make more self-contained by defining LONG_BITS. - * locale/programs/simple-hash.c: Remove LONG_BITS definition. - - * locale/programs/locarchive.c (add_locale_to_archive): Correct - test to detect duplicate locales. - - * libio/fileops.c (_IO_new_file_seekoff): Fail if relative - position would be before beginning of file. - (_IO_file_seekoff_mmap): Likewise. - * libio/Makefile (tests): Add bug-fseek. - * libio/bug-fseek.c: New file. - - * intl/explodename.c: Remove support for CEN-style locale variables. - It was never used and shouldn't be since it's not portable. - * intl/finddomain.c: Likewise. - * intl/l10nflist.c: Likewise. - * intl/loadinfo.h: Likewise. - * locale/findlocale.c: Likewise. - -2002-07-24 Roland McGrath - - * libio/fileops.c (_IO_file_seekoff_mmap): When just examining the - position, calculate it to take into account an active pushback buffer. - - * libio/Makefile (tests): Add bug-ungetc. - * libio/bug-ungetc.c: New file. - -2002-07-23 Ulrich Drepper - - * sysdeps/generic/libc-tls.c: New file. - * csu/Makefile (routines): Add libc-tls. - (static-only-routines): Add libc-tls. - * elf/dl-support.c (_dl_phdr): New variable. - (_dl_phnum): New variable. - (_dl_aux_init): Initialize _dl_phdr and _dl_phnum from aux vector. - * sysdeps/generic/libc-start.c (__libc_start_main): Reorganize code - for !SHARED. First look through auxiliary vector. If TLS always - call __pthread_initialize_minimal. - - * sysdeps/generic/dl-tls.c (_dl_allocate_tls): Make sure size argument - in mmap call is never zero. - -2002-07-23 Andreas Jaeger - - * sysdeps/x86_64/fpu/s_copysign.S: Use optimized version. - * sysdeps/x86_64/fpu/s_copysignf.S: Likewise. - -2002-07-22 Ulrich Drepper - - * libio/tst-eof.c: Rewrite to let test-skeleton.c deal with - creation and removal of the temp file. - - * libio/bug-rewind.c: Use test skeleton. Use create_temp_file for - file creation. - * test-skeleton.c (create_temp_file): New function. - -2002-07-22 Andreas Jaeger - - * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Use - local label. - -2002-07-21 Roland McGrath - - * wcsmbs/Makefile (strtox-CFLAGS): New variable, - put -I../include before -I../stdlib so we get the right errno.h et al. - (CFLAGS-wcstod.c): Use that variable instead of -I../stdlib. - (CFLAGS-wcstof.c): Likewise. - (CFLAGS-wcstold.c): Likewise. - (CFLAGS-wcstod_l.c): Likewise. - (CFLAGS-wcstof_l.c): Likewise. - (CFLAGS-wcstold_l.c): Likewise. - -2002-07-19 Roland McGrath - - * sysdeps/mach/hurd/errnos.awk: Remove __set_errno defn from output. - -2002-07-20 Ulrich Drepper - - * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define if - __ASSUME_AT_XID is defined. - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_XID): Define - for 2.4.1 and up. - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Optimize handling - of AT_UID, AT_EUID, AT_GID, and AT_EGID. - - * wcsmbs/Makefile (CFLAGS-wcstod.c): Add -I../stdlib. - (CFLAGS-wcstof.c): Likewise. - (CFLAGS-wcstold.c): Likewise. - (CFLAGS-wcstod_l.c): Likewise. - (CFLAGS-wcstof_l.c): Likewise. - (CFLAGS-wcstold_l.c): Likewise. - -2002-07-18 Jakub Jelinek - - * resource/sys/resource.h (__rlimit_resource_t, __rusage_who_t, - __priority_which_t): Always typedef to int for C++. - -2002-07-19 Ulrich Drepper - - * configure.in: Add test for __thread support in compiler. - * config.h.in: Add HAVE___THREAD. - * Makefile (headers): Remove errno.h, sys/errno.h, and bits/errno.h. - * include/sys/errno.h: Moved to... - * stdlib/sys/errno.h: ...here. New file. - * stdlib/errno.h: New file. Moved from... - * include/errno.h: ...here. Changed into an internal header defining - libc-local things like __set_errno. - * stdlib/Makefile (headers): Add errno.h, sys/errno.h, and - bits/errno.h. - * elf/dl-minimal.c: Include . Define errno as thread-local - variable if USE_TLS && HAVE___THREAD. Don't define __errno_location - either. - * elf/rtld.c (_dl_start): Add code to initialize TLS for ld.so - from... - (_dl_start_final): ...here. Add code to initialize tls elements from - bootstrap_map. - * sysdeps/generic/errno-loc.c: Define errno as thread-local variable - if USE_TLS && HAVE___THREAD. - * sysdeps/generic/bits/errno.h: Remove __set_errno definition. - * sysdeps/mach/hurd/bits/errno.h: Likewise. - * sysdeps/standalone/arm/bits/errno.h: Likewise. - * sysdeps/standalone/bits/errno.h: Likewise. - * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise. - * sysdeps/unix/sysv/aix/bits/errno.h: Likewise. - * sysdeps/unix/sysv/hpux/bits/errno.h: Likewise. - * sysdeps/unix/sysv/linux/bits/errno.h: Likewise. - * sysdeps/unix/sysv/linux/hppa/bits/errno.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: Likewise. - * sysdeps/i386/dl-machine.c (elf_machine_rel) [RTLD_BOOTSTRAP]: Don't - use GL(dl_rtld_map), use map parameter. - * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise. - * sysdeps/unix/sysv/linux/i386/sysdep.S: Define errno in .tbss if - USE_TLS && HAVE___THREAD. - * sysdeps/unix/sysv/linux/i386/sysdep.h: Unify SETUP_PIC_REG - definitions. If USE_TLS && HAVE___THREAD store errooor value using - TLS code sequence. - * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise. - - * sysdeps/unix/sysv/linux/getcwd.c: No real need to restore errno. - * sysdeps/unix/sysv/linux/grantpt.c: Likewise. - * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise. - * sysdeps/unix/sysv/linux/msgctl.c: Likewise. - * sysdeps/unix/sysv/linux/readv.c: Likewise. - * sysdeps/unix/sysv/linux/writev.c: Likewise. - -2002-07-17 Ulrich Drepper - - * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Fix MS_SYNC and - MS_INVALIDATE values. - -2002-07-17 Andreas Schwab - Ulrich Drepper - - * sysdeps/unix/sysv/linux/pread.c: Sign extend offset. - * sysdeps/unix/sysv/linux/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pread.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. - -2002-07-01 H.J. Lu - - * elf/circleload1.c (load_dso): Call "circlemod1" and check - return value. - - * elf/circlemod1.c (circlemod1): Return int. - * elf/circlemod2.c (circlemod2): Likewise. - * elf/circlemod2a.c (circlemod2): Likewise. - * elf/circlemod3.c (circlemod3): Likewise. - (circlemod3a): A new function. - -2002-07-16 Ulrich Drepper - - * catgets/tst-catgets.c (main): Don't expect results for - untranslated messages. - - * glibcbug.in: Fix little typo. Remove STDIO. - - * config.h.in: Fail if __FAST_MATH__ is defined. - * math/Makefile (CPPFLAGS-test-ifloat.c): Also define TEST_FAST_MATH. - (CPPFLAGS-test-idouble.c): Likewise. - (CPPFLAGS-test-ildouble.c): Likewise. - -2002-07-15 Ulrich Drepper - - * intl/tst-gettext.sh: Pass -f option to msgfmt. - * intl/tst-gettext.c: Correctly handle untranslated messages in - positive tests. - - * po/de.po: Update from translation team. - -2002-07-02 H.J. Lu - - * sysdeps/mips/atomicity.h: Don't include . Always - use ll/sc. - * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise. - - * sysdeps/unix/sysv/linux/configure.in: Set arch_minimum_kernel - to 2.4.0 for mips. - -2002-07-15 Ulrich Drepper - - * elf/dl-load.c (_dl_map_object_from_fd): If loaded object uses - TLS fail if USE_TLS is not defined. - - * libio/wfileops.c (_IO_wfile_seekoff): Reposition wide pointers - and adjust state for seek position. [PR libc/4070] - * libio/Makefile (tests): Add bug-rewind. - * libio/bug-rewind.c: New file. - -2002-07-12 Philip Blundell - - * sysdeps/generic/backtrace.c (FIRST_FRAME_POINTER): New macro. - (__backtrace): Use it. - * sysdeps/arm/frame.h (FIRST_FRAME_POINTER): Define. [PR libc/2632] - -2002-07-12 Philip Blundell - - * sysdeps/arm/dl-machine.h (elf_machine_rel): Don't handle - R_ARM_RELATIVE if RTLD_BOOTSTRAP and HAVE_Z_COMBRELOC. Only check - for rtld map if neither RTLD_BOOTSTRAP nor HAVE_Z_COMBRELOC is defined. - (elf_machine_rela): Remove unused variable. - - * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf] - (sysdep-rtld-routines, sysdep_routines, sysdep-dl-routines): Don't - define. - -2002-07-12 Ulrich Drepper - - * iconvdata/gconv-modules: Add aliases for ISO-8859-11. - -2002-07-14 Andreas Jaeger - - * sysdeps/x86_64/bits/link.h: Add biarch support. - -2002-07-13 Andreas Jaeger - - * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): - Use correct indices. - Patch by Eliot Dresselhaus . - -2002-07-09 Martin Schwidefsky - - * sysdeps/s390/bits/byteswap.h: Unified 31/64 bit byteswap.h. - * sysdeps/s390/s390-32/bits/byteswap.h: Remove. - * sysdeps/s390/s390-64/bits/byteswap.h: Remove. - * sysdeps/s390/bits/link.h: Unified 31/64 bit link.h. - * sysdeps/s390/s390-32/bits/link.h: Remove. - * sysdeps/s390/s390-64/bits/link.h: Remove. - * sysdeps/s390/bits/setjmp.h: Unified 31/64 bit setjmp.h. - * sysdeps/s390/s390-32/bits/setjmp.h: Remove. - * sysdeps/s390/s390-64/bits/setjmp.h: Remove. - * sysdeps/s390/bits/wordsize.h: New file. - * sysdeps/unix/sysv/linux/s390/bits/elfclass.h: Unified 31/64 bit - elfclass.h. - * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: Remove. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Unified 31/64 bit fcntl.h. - * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: Remove. - * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: Remove. - * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Unified 31/64 bit ipc.h. - * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: Remove. - * sysdeps/unix/sysv/linux/s390/bits/mman.h: Unified 31/64 bit mman.h. - * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: Remove. - * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: Remove. - * sysdeps/unix/sysv/linux/s390/bits/msq.h: Unified 31/64 bit msq.h. - * ysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: Remove. - * sysdeps/unix/sysv/linux/s390/bits/resource.h: Unified 31/64 bit - resource.h. - * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: Remove. - * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: Remove. - * sysdeps/unix/sysv/linux/s390/bits/sem.h: Unified 31/64 bit sem.h. - * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: Remove. - * sysdeps/unix/sysv/linux/s390/bits/shm.h: Unified 31/64 bit shm.h. - * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: Remove. - * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Unified 31/64 bit - sigaction.h. - * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: Remove. - * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Unified 31/64 bit - siginfo.h. - * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: Remove. - * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: Remove. - * sysdeps/unix/sysv/linux/s390/bits/socket.h: Unified 31/64 bit - socket.h. - * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Remove. - * sysdeps/unix/sysv/linux/s390/bits/stat.h: Unified 31/64 bit stat.h. - * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: Remove. - * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: Remove. - * sysdeps/unix/sysv/linux/s390/bits/types.h: Unified 31/64 bit types.h. - * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: Remove. - * sysdeps/unix/sysv/linux/s390/net/route.h: New file. - * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Unified 31/64 bit - procfs.h. - * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: Remove. - * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: Remove. - * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Unified 31/64 bit - ucontext.h. - * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Remove. - * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Remove. - -2002-07-11 Ulrich Drepper - - * Versions.def (libc): Add GLIBC_2.3. - * stdlib/Versions [libc] (GLIBC_2.3): Add realpath. - * stdlib/canonicalize.c: Add compatibility version for realpath - and make new code available in GLIBC_2.3. - -2002-07-06 Bruno Haible - - * malloc/hooks.c (public_gET_STATe): Access max_total_mem in mp_. - -2002-07-11 Ulrich Drepper - - * resolv/res_hconf.c (_res_hconf_init): Move code into new - function do_init. Use __libc_once. - (do_init): New function. - - * iconvdata/iso8859-11.h: Removed. - * iconvdata/Makefile (gen-8bit-gap-modules): Add iso8859-11. - (distribute): Remove iso8859-11.h. - * iconvdata/tst-tables.sh: Add ISO-8859-11. - - * stdio-common/vfscanf.c (inchar): Restore errno from previous - underflow operation if c == (W)EOF. - -2002-07-03 Jakub Jelinek - - * stdio-common/printf_fp.c (__printf_fp): If _FPIO_CONST_SHIFT is - non-zero, adjust exponent. - * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl, erfl, __erfcl, erfcl): - Remove NO_LONG_DOUBLE aliases. - * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l, expm1l): Likewise. - * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl, log1pl): Likewise. - (__log1pl): Raise divide by zero and invalid exceptions when needed. - * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Special case - 1**y and -1**+-Inf. - * sysdeps/ieee754/ldbl-128/ldbl2mpn.c (__mpn_extract_long_double): - Fix BITS_PER_MP_LIMB 32 extraction. - * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Don't raise - exceptions for qNaNs. - * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise. - * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgamma_r): - Raise exceptions when needed. Don't recurse unnecessarily. - Special case 1.0L and 2.0L arguments to avoid -0.0L as result. - * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Don't raise - exceptions for qNaNs. - * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Make qs 64-bit - to fix *quo return value sign. - * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gamma_r): Special - case -Inf argument. - * soft-fp/op-4.h (_FP_FRAC_CLZ_4): Fix a pasto. - -2002-07-01 Jakub Jelinek - - * libio/tst-eof.c (do_test): Remove unused ch and tm variables. - * iconvdata/iso-2022-jp-3.c (EMIT_SHIFT_TO_INIT): Kill warnings if - -DNDEBUG. - -2002-07-10 Ulrich Drepper - - * malloc/hooks.c (realloc_check): If mremap succeeds actually use - the result. - - * sysdeps/i386/i486/bits/string.h: Add early clobber for "a" - output parameter. Reported by Denis Zaitsev . - - * Versions.def (libthread_db): Add GLIBC_2.3. - -2002-07-09 Jakub Jelinek - - * libio/freopen.c (freopen): Reset jump tables, use mmap stdio for the - new stream if possible. - * libio/freopen64.c (freopen64): Likewise. - * libio/Makefile (tests): Add tst-freopen. - * libio/tst-freopen.c: New file. - -2002-07-03 Jakub Jelinek - - * libio/stdio.h (obstack_printf): Add format attribute. - (obstack_vprintf): Likewise. - -2002-07-04 Jakub Jelinek - - * posix/regex_internal.h (re_token_t): Shrink the structure to 8 - resp. 16 bytes on 32-bit resp. 64-bit platforms. - (re_charset_t, re_string_t): Reorder structure members for 64-bit - architectures. - -2002-07-04 Jakub Jelinek - - * posix/regcomp.c (re_compile_internal): Move clearing of dfa... - (init_dfa): ...here. - -2002-07-05 Isamu Hasegawa - - * posix/regcomp.c (parse_sub_exp): Add nodes OP_OPEN_SUBEXP and - OP_CLOSE_SUBEXP at both ends of sub expressions instead of SUBEXP - nodes in parse trees. - (calc_first): Fix the Definition of `firsts' of OP_OPEN_SUBEXP - and OP_CLOSE_SUBEXP, and remove the definition of SUBEXP. - (calc_epsdest): Treat OP_OPEN_SUBEXP and OP_CLOSE_SUBEXP as the - nodes which can epsilon transit. - * posix/regex_internal.h: Add OP_OPEN_SUBEXP and OP_CLOSE_SUBEXP - to IS_EPSILON_NODE macro. - * posix/regexec.c (update_regs): New function to update registers - by refering OP_OPEN_SUBEXP and OP_CLOSE_SUBEXP nodes. - (proceed_next_node): Use the entities of the nodes to determine - whether the node can transit to. - (set_regs): Use update_regs function to update registers. - -2002-07-03 Jakub Jelinek - - * posix/bug-regex4.c (main): Remove duplicate setlocale. - * posix/bug-regex6.c: New file. - * posix/Makefile (tests): Add bug-regex6. - (bug-regex6-ENV): Set LOCPATH. - -2002-07-10 Ulrich Drepper - - * Versions.def [libpthread]: Add GLIBC_2.2.6. - * posix/Versions [libc] (GLIBC_2.2.6): Add __nanosleep. - -2002-07-06 Bruno Haible - - * sysdeps/unix/sysv/sysv4/bits/sigset.h (__NSSBITS): Correct value. - -2002-07-06 Bruno Haible - - * include/sys/socket.h (__libc_sendto, __libc_recvfrom): New - declarations. - - * sysdeps/i386/fpu/libm-test-ulps: Add some ulps for AMD K7. - - * rt/Makefile (tests): Don't add tst-aio* in a single-threaded build. - - * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Test for _SYS_UTSNAME_H, - not _UTSNAME_H. - * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise. - - * sysdeps/generic/bits/stropts.h: Protect against direct inclusion. - * sysdeps/generic/bits/ustat.h: Likewise. - - * sysdeps/unix/sysv/linux/bits/statvfs.h (ST_NODIRATIME): Set to 2048. - -2002-07-08 Andreas Jaeger - - * sysdeps/x86_64/elf/initfini.c (__asm__): Call call_gmon_start. - -2002-07-08 Andreas Jaeger - - * sysdeps/x86_64/fpu/s_fdiml.S: Fix wrong register name. - -2002-07-06 Andreas Jaeger - - * sysdeps/x86_64/fpu/bits/mathinline.h: New file. - * sysdeps/x86_64/fpu/s_copysign.S: New file. - * sysdeps/x86_64/fpu/s_copysignf.S: New file. - * sysdeps/x86_64/fpu/s_copysignl.S: New file. - * sysdeps/x86_64/fpu/s_finitel.S: New file. - * sysdeps/x86_64/fpu/s_fmax.S: New file. - * sysdeps/x86_64/fpu/s_fmaxf.S: New file. - * sysdeps/x86_64/fpu/s_fmaxl.S: New file. - * sysdeps/x86_64/fpu/s_fmin.S: New file. - * sysdeps/x86_64/fpu/s_fminf.S: New file. - * sysdeps/x86_64/fpu/s_fminl.S: New file. - -2002-06-05 Brian Youmans <3diff@gnu.org> - - * sysdeps/ia64/fpu/e_acos.S: Added text of Intel license. - * sysdeps/ia64/fpu/e_acosf.S: Likewise. - * sysdeps/ia64/fpu/e_acosl.S: Likewise. - * sysdeps/ia64/fpu/e_asin.S: Likewise. - * sysdeps/ia64/fpu/e_asinf.S: Likewise. - * sysdeps/ia64/fpu/e_asinl.S: Likewise. - * sysdeps/ia64/fpu/e_atan2.S: Likewise. - * sysdeps/ia64/fpu/e_atan2f.S: Likewise. - * sysdeps/ia64/fpu/e_cosh.S: Likewise. - * sysdeps/ia64/fpu/e_coshf.S: Likewise. - * sysdeps/ia64/fpu/e_coshl.S: Likewise. - * sysdeps/ia64/fpu/e_exp.S: Likewise. - * sysdeps/ia64/fpu/e_expf.S: Likewise. - * sysdeps/ia64/fpu/e_fmod.S: Likewise. - * sysdeps/ia64/fpu/e_fmodf.S: Likewise. - * sysdeps/ia64/fpu/e_fmodl.S: Likewise. - * sysdeps/ia64/fpu/e_hypot.S: Likewise. - * sysdeps/ia64/fpu/e_hypotf.S: Likewise. - * sysdeps/ia64/fpu/e_hypotl.S: Likewise. - * sysdeps/ia64/fpu/e_log.S: Likewise. - * sysdeps/ia64/fpu/e_logf.S: Likewise. - * sysdeps/ia64/fpu/e_pow.S: Likewise. - * sysdeps/ia64/fpu/e_powf.S: Likewise. - * sysdeps/ia64/fpu/e_powl.S: Likewise. - * sysdeps/ia64/fpu/e_remainder.S: Likewise. - * sysdeps/ia64/fpu/e_remainderf.S: Likewise. - * sysdeps/ia64/fpu/e_remainderl.S: Likewise. - * sysdeps/ia64/fpu/e_scalb.S: Likewise. - * sysdeps/ia64/fpu/e_scalbf.S: Likewise. - * sysdeps/ia64/fpu/e_scalbl.S: Likewise. - * sysdeps/ia64/fpu/e_sinh.S: Likewise. - * sysdeps/ia64/fpu/e_sinhf.S: Likewise. - * sysdeps/ia64/fpu/e_sinhl.S: Likewise. - * sysdeps/ia64/fpu/e_sqrt.S: Likewise. - * sysdeps/ia64/fpu/e_sqrtf.S: Likewise. - * sysdeps/ia64/fpu/e_sqrtl.S: Likewise. - * sysdeps/ia64/fpu/libm_atan2_req.S: Likewise. - * sysdeps/ia64/fpu/libm_error.c: Likewise. - * sysdeps/ia64/fpu/libm_frexp4.S: Likewise. - * sysdeps/ia64/fpu/libm_frexp4f.S: Likewise. - * sysdeps/ia64/fpu/s_frexpl.c: Likewise. - * sysdeps/ia64/fpu/s_ilogb.S: Likewise. - * sysdeps/ia64/fpu/s_ilogbf.S: Likewise. - * sysdeps/ia64/fpu/s_ilogbl.S: Likewise. - * sysdeps/ia64/fpu/s_ldexp.S: Likewise. - * sysdeps/ia64/fpu/s_ldexpf.S: Likewise. - * sysdeps/ia64/fpu/s_ldexpl.S: Likewise. - * sysdeps/ia64/fpu/s_log1p.S: Likewise. - * sysdeps/ia64/fpu/s_log1pf.S: Likewise. - * sysdeps/ia64/fpu/s_log1pl.S: Likewise. - * sysdeps/ia64/fpu/s_logb.S: Likewise. - * sysdeps/ia64/fpu/s_logbf.S: Likewise. - * sysdeps/ia64/fpu/s_logbl.S: Likewise. - * sysdeps/ia64/fpu/s_modf.S: Likewise. - * sysdeps/ia64/fpu/s_modff.S: Likewise. - * sysdeps/ia64/fpu/s_modfl.S: Likewise. - * sysdeps/ia64/fpu/s_nearbyint.S: Likewise. - * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise. - * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise. - * sysdeps/ia64/fpu/s_rint.S: Likewise. - * sysdeps/ia64/fpu/s_rintf.S: Likewise. - * sysdeps/ia64/fpu/s_rintl.S: Likewise. - * sysdeps/ia64/fpu/s_round.S: Likewise. - * sysdeps/ia64/fpu/s_roundf.S: Likewise. - * sysdeps/ia64/fpu/s_roundl.S: Likewise. - * sysdeps/ia64/fpu/s_scalbn.S: Likewise. - * sysdeps/ia64/fpu/s_scalbnf.S: Likewise. - * sysdeps/ia64/fpu/s_scalbnl.S: Likewise. - * sysdeps/ia64/fpu/s_significand.S: Likewise. - * sysdeps/ia64/fpu/s_significandf.S: Likewise. - * sysdeps/ia64/fpu/s_significandl.S: Likewise. - * sysdeps/ia64/fpu/s_tan.S: Likewise. - * sysdeps/ia64/fpu/s_tanf.S: Likewise. - * sysdeps/ia64/fpu/s_tanl.S: Likewise. - * sysdeps/ia64/fpu/s_trunc.S: Likewise. - * sysdeps/ia64/fpu/s_truncf.S: Likewise. - * sysdeps/ia64/fpu/s_truncl.S: Likewise. - * sysdeps/ieee754/dbl-64/doasin.c: Changed copyright notice to - reflect IBM donation of math library to FSF - * sysdeps/ieee754/dbl-64/dosincos.c: Likewise. - * sysdeps/ieee754/dbl-64/e_asin.c: Likewise. - * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. - * sysdeps/ieee754/dbl-64/e_exp.c: Likewise. - * sysdeps/ieee754/dbl-64/e_log.c: Likewise. - * sysdeps/ieee754/dbl-64/e_pow.c: Likewise. - * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise. - * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise. - * sysdeps/ieee754/dbl-64/halfulp.c: Likewise. - * sysdeps/ieee754/dbl-64/mpa.c: Likewise. - * sysdeps/ieee754/dbl-64/mpatan.c: Likewise. - * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise. - * sysdeps/ieee754/dbl-64/mpexp.c: Likewise. - * sysdeps/ieee754/dbl-64/mplog.c: Likewise. - * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise. - * sysdeps/ieee754/dbl-64/mptan.c: Likewise. - * sysdeps/ieee754/dbl-64/s_atan.c: Likewise. - * sysdeps/ieee754/dbl-64/s_sin.c: Likewise. - * sysdeps/ieee754/dbl-64/s_tan.c: Likewise. - * sysdeps/ieee754/dbl-64/sincos32.c: Likewise. - * sysdeps/ieee754/dbl-64/slowexp.c: Likewise. - * sysdeps/ieee754/dbl-64/slowpow.c: Likewise. - * sysdeps/gnu/netinet/udp.h: Added BSD copying permission notice - * sysdeps/vax/__longjmp.c: Likewise. - * sysdeps/vax/setjmp.c: Likewise. - * libio/filedoalloc.c: Fixed BSD copying permission notice to - remove advertising clause - * sysdeps/vax/htonl.s: Likewise. - * sysdeps/vax/htons.s: Likewise. - * libio/wfiledoalloc.c: Likewise. - * stdlib/random.c: Likewise. - * stdlib/random_r.c: Likewise. - * sysdeps/mach/sys/reboot.h: Likewise. - * inet/getnameinfo.c: Deleted advertising clause from Inner Net License - * sysdeps/posix/getaddrinfo.c: Likewise. - * sunrpc/des_impl.c: Updated license permission notice to Lesser - GPL and corrected pointer to point to the correct license. - -2002-07-04 Andreas Jaeger - - * scripts/config.guess: New upstream version. - * scripts/config.sub: Likewise. - -2002-07-02 Andreas Schwab - - * resolv/nss_dns/dns-network.c (getanswer_r): Reduce linebuflen - in parallel to bumping up the buffer pointer. - -2002-07-01 Jakub Jelinek - - * math/libm-test.inc (acos_test): Add missing L suffix for - expected result. - (cpow_test): Likewise. - * sysdeps/i386/fpu/libm-test-ulps: Adjust errors for cpow, remove - error for acos (0.0625). - -2002-06-30 Ulrich Drepper - - * locale/iso-639.def: Add entry for Ganda. - * locale/programs/ld-address.c (DEFINE_LANGUAGE_CODE3): New - definition. - (address_finish): Handle entries with two letter ISO 639 code. - - * iconvdata/Makefile: Recreate gconv-modules.cache file in target - directory if it existed before. - * iconv/iconvconfig.c: Implement --prefix option. - - * math/libm-test.inc (cexp_test): Add missing L suffix for - expected result. Reported by Stephen L Moshier . - * sysdeps/i386/fpu/libm-test-ulps: Adjust error for cexp (0.75 + - 1.25 i). - -2002-05-29 H.J. Lu - - * elf/dl-error.c (_dl_signal_cerror): Report error if ld.so debug - is turned on. - -2002-05-28 H.J. Lu - - * elf/dl-deps.c (_dl_map_object_deps): Don't add objects which - are not dlopened on the dependency list of a dlopened object. - -2002-06-30 Ulrich Drepper - - * elf/dl-lookup.c (add_dependency): It is not necessary to add - dependencies if they are created between objects which are created - while processing RTLD_NOW for objects loaded as part of the same - dlopen call. - -2002-06-14 H.J. Lu - - * elf/Makefile (tests): Add circleload1. - (modules-names): Add circlemod1, circlemod2, circlemod3, - circlemod1a, circlemod2a and circlemod3a. - ($(objpfx)circleload1): New target. - ($(objpfx)circleload1.out): Likewise. - ($(objpfx)circlemod1.so): Likewise. - ($(objpfx)circlemod2.so): Likewise. - ($(objpfx)circlemod1a.so): Likewise. - ($(objpfx)circlemod2a.so): Likewise. - * elf/circleload1.c: New file. - * elf/circlemod1.c: New file. - * elf/circlemod1a.c: New file. - * elf/circlemod2.c: New file. - * elf/circlemod2a.c: New file. - * elf/circlemod3.c: New file. - * elf/circlemod3a.c: New file. - -2002-06-18 Amos Waterland - - * sysdeps/pthread/aio_cancel.c (aio_cancel): Add check for invalid - file descriptor. - * sysdeps/pthread/aio_fsync.c (aio_fsync): Add check for invalid fd; - add check for fd not open for writing. - - * sysdeps/pthread/aio_suspend.c (aio_suspend): Add check for - completed element(s) and do not suspend thread if so. Patch - heavily modified by drepper. - - * rt/tst-aio7.c: New file. Regression test for problems which the - above three changes fix. - * rt/Makefile (tests): Add tst-aio7. - -2002-06-29 Ulrich Drepper - - * rt/tst-aio6.c: Fix comment. - - * catgets/gencat.c (read_input_file): Handle more than one slash - at end of line correctly [PR libc/3926]. - Based on a patch by Steven Kim . - - * catgets/sample.SJIS: Add test case for above bug. - * catgets/test-gencat.c: Adjust test code. - * catgets/test-gencat.sh: Adjust expected results. - - * elf/do-rel.h (elf_dynamic_do_rel): Avoid overflow in computation - to skip relative relocations. - Patch by Geoff Keating . - -2002-05-26 Bruno Haible - - * iconv/loop.c (STANDARD_FROM_LOOP_ERR_HANDLER): New macro. - (STANDARD_TO_LOOP_ERR_HANDLER): Renamed from STANDARD_ERR_HANDLER. - All callers changed. - * iconv/gconv_simple.c (ascii_internal_loop): For error handling use - STANDARD_FROM_LOOP_ERR_HANDLER. - (utf8_internal_loop): Likewise. - (ucs2_internal_loop): Likewise. - (internal_ucs2_loop): Perform error handling like in - STANDARD_FROM_LOOP_ERR_HANDLER. - * iconvdata/unicode.c (BODY for TO_LOOP): Perform error handling like - in STANDARD_FROM_LOOP_ERR_HANDLER. - (BODY for FROM_LOOP): Use STANDARD_FROM_LOOP_ERR_HANDLER for error - handling. - * iconvdata/utf-16.c (BODY for TO_LOOP): Perform error handling like - in STANDARD_FROM_LOOP_ERR_HANDLER. - (BODY for FROM_LOOP): Use STANDARD_FROM_LOOP_ERR_HANDLER for error - handling. - * iconvdata/utf-32.c (BODY for TO_LOOP): Perform error handling like - in STANDARD_FROM_LOOP_ERR_HANDLER. - (BODY for FROM_LOOP): Use STANDARD_FROM_LOOP_ERR_HANDLER for error - handling. - * iconvdata/big5.c (BODY for FROM_LOOP): For error handling use - STANDARD_FROM_LOOP_ERR_HANDLER. - * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise. - * iconvdata/8bit-gap.c (BODY for FROM_LOOP): Likewise. - * iconvdata/8bit-generic.c (BODY for FROM_LOOP): Likewise. - * iconvdata/ansi_x3.110.c (BODY for FROM_LOOP): Likewise. - * iconvdata/armscii-8.c (BODY for FROM_LOOP): Likewise. - * iconvdata/cp1255.c (BODY for FROM_LOOP): Likewise. - * iconvdata/cp1258.c (BODY for FROM_LOOP): Likewise. - * iconvdata/euc-cn.c (BODY for FROM_LOOP): Likewise. - * iconvdata/euc-jisx0213.c (BODY for FROM_LOOP): Likewise. - * iconvdata/euc-jp.c (BODY for FROM_LOOP): Likewise. - * iconvdata/euc-kr.c (BODY for FROM_LOOP): Likewise. - * iconvdata/euc-tw.c (BODY for FROM_LOOP): Likewise. - * iconvdata/big5hkscs.c (BODY for FROM_LOOP): Likewise. - * iconvdata/gb18030.c (BODY for FROM_LOOP): Likewise. - * iconvdata/gbk.c (BODY for FROM_LOOP): Likewise. - * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Likewise. - * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): Likewise. - * iconvdata/iso-2022-jp-3.c (BODY for FROM_LOOP): Likewise. - * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise. - * iconvdata/iso646.c (BODY for FROM_LOOP): Likewise. - * iconvdata/iso_6937-2.c (BODY for FROM_LOOP): Likewise. - * iconvdata/iso_6937.c (BODY for FROM_LOOP): Likewise. - * iconvdata/johab.c (BODY for FROM_LOOP): Likewise. - * iconvdata/shift_jisx0213.c (BODY for FROM_LOOP): Likewise. - * iconvdata/sjis.c (BODY for FROM_LOOP): Likewise. - * iconvdata/t.61.c (BODY for FROM_LOOP): Likewise. - * iconvdata/uhc.c (BODY for FROM_LOOP): Likewise. - * iconvdata/utf-7.c (BODY for FROM_LOOP): Likewise. - * iconvdata/gbbig5.c (BODY for FROM_LOOP): Likewise. When ignoring - an error, still set result = __GCONV_ILLEGAL_INPUT. - (BODY for TO_LOOP): Likewise. - * iconvdata/ibm930.c (BODY for FROM_LOOP): For error handling use - STANDARD_FROM_LOOP_ERR_HANDLER. - (BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER. - * iconvdata/ibm932.c: Include and . - (BODY for FROM_LOOP): Use STANDARD_FROM_LOOP_ERR_HANDLER for error - handling. - (BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER. - * iconvdata/ibm933.c (BODY for FROM_LOOP): For error handling use - STANDARD_FROM_LOOP_ERR_HANDLER. - (BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER. - * iconvdata/ibm935.c (BODY for FROM_LOOP): For error handling use - STANDARD_FROM_LOOP_ERR_HANDLER. - (BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER. - * iconvdata/ibm937.c (BODY for FROM_LOOP): For error handling use - STANDARD_FROM_LOOP_ERR_HANDLER. - (BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER. - * iconvdata/ibm939.c (BODY for FROM_LOOP): For error handling use - STANDARD_FROM_LOOP_ERR_HANDLER. - (BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER. - * iconvdata/ibm943.c: Include and . - (BODY for FROM_LOOP): Use STANDARD_FROM_LOOP_ERR_HANDLER for error - handling. - (BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER. - * iconvdata/gbgbk.c (BODY for FROM_LOOP): Update. - * iconvdata/iso8859-1.c (BODY for TO_LOOP): Update. - * iconvdata/tcvn5712-1.c (BODY for TO_LOOP): Update. - -2002-06-28 Kaz Kojima - - * sysdeps/sh/dl-machine.h (elf_machine_load_address): Use local - labels in assembler instructions. - -2002-06-25 Ulrich Drepper - - * libio/fileops.c (_IO_file_xsgetn_mmap): Always set EOF flag if - not enough content is available. - * libio/tst-eof.c: New file. - * libio/Makefile (tests): Add tst-eof. - - * libio/fileops.c (_IO_file_underflow_mmap): Read a single byte to - update atime. - * libio/tst-atime.c: New file. - * libio/Makefile (tests): Add tst-atime. - - * argp/argp-fmtstream.c (__argp_fmtstream_update): Avoid crash in - handling of overly long words. - -2002-06-25 Andreas Jaeger - - * sysdeps/x86-64/dl-machine.h (elf_machine_load_address): Rewrite - to not use 32-bit pc relative relocations. - (elf_machine_dynamic): Likewise. - -2002-06-21 Ulrich Drepper - - * sysdeps/unix/sysv/linux/getdents.c [__ASSUME_GETDENTS64_SYSCALL] - (__GETDENTS): Check for failed getdents64 syscall. - * dirent/Makefile (tests): Add bug-readdir1. - * dirent/bug-readdir1.c: New file. - -2002-06-17 Jakub Jelinek - - * elf/dl-lookup.c (_dl_debug_bindings): Use type_class 4 for TLS - lookups. - * elf/rtld.c (dl_main): Move TLS setup code before LD_TRACE_PRELINKING - code. Print TLS modid and offset for modules containing PT_TLS - segments. - -2002-06-09 Jakub Jelinek - - * sysdeps/unix/sysv/linux/i386/dl-brk.c: Move... - * sysdeps/unix/sysv/linux/dl-brk.c: ...here. - * sysdeps/unix/sysv/linux/i386/dl-sbrk.c: Move... - * sysdeps/unix/sysv/linux/dl-sbrk.c: ...here. - -2002-06-07 Jakub Jelinek - - * nss/getXXbyYY_r.c (NEW, NEW1): Define. - (NEW (REENTRANT_NAME)): Strong alias to INTERNAL (REENTRANT_NAME). - (REENTRANT_NAME@@GLIBC_2.1.2): Use NEW (REENTRANT_NAME). - * nss/getXXent_r.c (NEW, NEW1): Define. - (NEW (REENTRANT_GETNAME)): Strong alias to - INTERNAL (REENTRANT_GETNAME). - (REENTRANT_GETNAME@@GLIBC_2.1.2): Use NEW (REENTRANT_GETNAME). - -2002-06-21 Ulrich Drepper - - * libio/fileops.c (_IO_file_setbuf_mmap): New function. - (_IO_file_jumps_mmap): Use it. - * libio/iosetvbuf.c: Don't call _IO_WSETBUF. - * libio/libioP.h: Remove _IO_wdefault_setbuf and - _IO_wdefault_setbuf_internal prorotypes. Add _IO_file_setbuf_mmap - prototype. - * libio/wfileops.c (_IO_wfile_setbuf): Removed. - (_IO_wfile_jumps_mmap): Don't use it anymore. - * libio/wgenops.c (_IO_wdefault_setbuf): Removed. - * libio/memstream.c (_IO_wmem_jumps): Use _IO_default_setbuf not - _IO_wdefault_setbuf. - * libio/vswprintf.c (_IO_wstrn_jumps): Likewise. - * libio/wstrops.c (_IO_wstr_jumps): Likewise. - * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise. - -2002-06-05 Jakub Jelinek - - * libio/Makefile (tests): Add tst-mmap-setvbuf. - * libio/tst-mmap-setvbuf.c: New test. - -2002-06-21 Andreas Jaeger - - * sysdeps/i386/fpu/libm-test-ulps: Add some ulps from my P3. - -2002-06-18 Jakub Jelinek - - * include/unistd.h (__fork_internal): Remove. - (__fork): Don't define to __fork_internal. - * sysdeps/mach/hurd/fork.c (__fork): Remove INTDEF. - * sysdeps/unix/sysv/aix/fork.c (__fork): Likewise. - * sysdeps/unix/sysv/linux/ia64/fork.S (__fork_internal): Remove alias. - * sysdeps/unix/sysv/linux/sparc/fork.S (__fork_internal): Likewise. - * sysdeps/unix/sysv/linux/syscalls.list (__fork_internal): Likewise. - -2002-06-20 Ulrich Drepper - - * po/hr.po: New file. - -2002-06-11 Wolfram Gloger - - * malloc/malloc.c: Fix error path when new_heap() returns NULL. - Reported by Michael Meissner . - -2002-06-20 Ulrich Drepper - - * sysdeps/unix/sysv/linux/ia64/getcontext.S: Fix typo. - Patch by Hans Boehm . - -2002-06-20 Andreas Jaeger - - * math/libm-test.inc: Use exact values as input parameters, - compute output parameters with 36 digits for 128-bit long doubles. - * sysdeps/i386/fpu/libm-test-ulps: Regenerated. - * sysdeps/x86-64/fpu/libm-test-ulps: Regenerated. - * sysdeps/ia64/fpu/libm-test-ulps: Regenerated. - -2002-06-13 Stephen L Moshier - - * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Fix cases in which - argument or result is subnormal. - -2002-06-19 Ulrich Drepper - - * sysdeps/i386/fpu/s_remquo.S: Fix three mistakes in computing the - quotient. - * sysdeps/i386/fpu/s_remquof.S: Likewise. - * sysdeps/i386/fpu/s_remquol.S: Likewise. - - * sysdeps/hppa/dl-machine.h: Don't use multi-line string literals. - -2002-06-17 David Mosberger - - * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h (uc_sigmask): Fix - typo: corresponding sigcontext field is called sc_mask, not sc_sigmask. - Reported by Peter A. Buhr. - -2002-06-15 Roland McGrath - - * sysdeps/mach/hurd/mmap.c (__mmap): Add a dead case that quiets a - warning. - - * sysdeps/mach/hurd/getcwd.c - (_hurd_canonicalize_directory_name_internal): unsigned int -> size_t - - * sysdeps/unix/sysv/linux/bits/ustat.h: Moved to ... - * sysdeps/generic/bits/ustat.h: ... here (was almost identical). - - * sysdeps/alpha/divrem.h: Use local label instead of global one for - jump to local subroutine. - -2002-06-14 Roland McGrath - - * sysdeps/mach/hurd/i386/Makeconfig: File moved to ... - * sysdeps/mach/hurd/Makeconfig: ... here. - -2002-06-13 Andreas Schwab - - * sysdeps/m68k/fpu/s_finite.c: Remove INTDEF. - * sysdeps/m68k/fpu/s_finitef.c: Likewise. - * sysdeps/m68k/fpu/s_finitel.c: Likewise. - -2002-06-13 Roland McGrath - - * hurd/hurdstartup.h (_hurd_startup): int -> intptr_t in MAIN arg type. - * hurd/hurdstartup.c (_hurd_startup): Likewise. - Use intptr_t instead of int for argc in stack layout. - * sysdeps/mach/hurd/alpha/init-first.c (init): Fix argument type. - (_dl_init_first): Likewise. - (_hurd_stack_setup): Likewise. - (init1): Add a cast. - * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start: go): Fix arg type. - - * sysdeps/mach/hurd/if_index.c (if_nameindex): Use size_t for AMOUNT - argument to pfinet_siocgifconf RPC. - -2002-06-13 Andreas Schwab - - * sysdeps/m68k/fpu/s_isinf.c (INTDEFX): Define to get correct - expansion order. - -2002-06-12 Roland McGrath - - * sysdeps/generic/tmpfile.c [USE_IN_LIBIO] (tmpfile): Don't #define - if already defined. - [USE_IN_LIBIO]: Conditionalize versioned_symbol use on - [GEN_THIS == __GT_FILE] so that tmpfile64.c's inclusion doesn't get it. - -2002-06-11 Roland McGrath - - * sysdeps/mach/hurd/xstat64.c: Conditionalize entire contents of the - file on [!RTLD_STAT64]. - * sysdeps/mach/hurd/fxstat64.c: Likewise. - - * sysdeps/mach/hurd/tmpfile.c (tmpfile64): Define as alias of tmpfile. - (__fdopen): Use INTUSE. - * sysdeps/mach/hurd/tmpfile64.c: New file, empty placeholder. - - * stdio-common/tmpfile64.c: File removed. - * sysdeps/generic/tmpfile64.c: New file. - * sysdeps/generic/tmpfile.c (GEN_THIS): New macro, define to __GT_FILE - if not already defined. - (tmpfile): Use it in place of __GT_FILE. - - * include/unistd.h: Declare __chown_internal. - - * sysdeps/mach/hurd/sendfile64.c (sendfile64): Do real work here. - * sysdeps/mach/hurd/sendfile.c (sendfile): Call that. - -2002-06-09 Roland McGrath - - Update to new Hurd RPC interfaces supporting 64-bit file sizes. - * sysdeps/mach/hurd/configure.in: Check for with - value of HURD_INTERFACE_VERSION >= 20020609. - * sysdeps/mach/hurd/configure: Regenerated. - * shlib-versions (.*-.*-gnu-gnu.*): Set libhurduser=0.3. - * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Rewritten to - convert a struct stat64 into a struct stat and return 0 or -1 - with errno set to EOVERFLOW. - * sysdeps/mach/hurd/statfsconv.c (statfs64_conv): Likewise - for struct statfs64 to struct statfs. - * sysdeps/mach/hurd/xstat.c (__xstat): Use converter and call ... - * sysdeps/mach/hurd/xstat64.c (__xstat64): ... this, real work here. - * sysdeps/mach/hurd/fxstat.c (__fxstat): Likewise. - * sysdeps/mach/hurd/fxstat64.c (__fxstat64): Likewise. - * sysdeps/mach/hurd/lxstat.c (__lxstat): Likewise. - * sysdeps/mach/hurd/lxstat64.c (__lxstat64): Likewise. - * sysdeps/mach/hurd/statfs.c (__statfs): Likewise. - * sysdeps/mach/hurd/statfs64.c (__statfs64): Likewise. - * sysdeps/mach/hurd/fstatfs.c (__fstatfs): Likewise. - * sysdeps/mach/hurd/fstatfs64.c (__fstatfs64): Likewise. - * sysdeps/mach/hurd/pwrite64.c (__libc_pwrite64): Do real work here. - * sysdeps/mach/hurd/pwrite.c (__libc_pwrite): Call that. - * sysdeps/mach/hurd/pread64.c (__libc_pread64): Do real work here. - * sysdeps/mach/hurd/pread.c (__libc_pread): Call that. - * sysdeps/mach/hurd/lseek64.c (__libc_lseek64): Do real work here. - * sysdeps/mach/hurd/lseek.c (__libc_lseek): Call that. - * sysdeps/mach/hurd/readdir64.c (__readdir64): Do real work here. - * sysdeps/mach/hurd/readdir.c (__readdir): Call that. - * sysdeps/mach/hurd/readdir64_r.c (__readdir64_r): Do real work here. - * sysdeps/mach/hurd/readdir_r.c (__readdir64_r): Call that. - * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): - Use struct stat64 for io_stat argument. - * sysdeps/mach/hurd/readlink.c (__readlink): Likewise. - * hurd/fopenport.c (seekio): Remove EOVERFLOW check, pass POS directly - to io_seek. - * hurd/fd-read.c (_hurd_fd_read): Use loff_t for OFFSET argument. - * hurd/fd-write.c (_hurd_fd_write): Likewise. - * hurd/hurd/fd.h: Update decls. - * sysdeps/mach/hurd/getcwd.c - (_hurd_canonicalize_directory_name_internal): Use ino64_t - and struct dirent64. - * sysdeps/mach/hurd/dl-sysdep.c (open_file): Use struct stat64. - (__xstat): Renamed to __xstat64, use struct stat64 for argument. - (__fxstat): Renamed to __fxstat64, use struct stat64 for argument. - (__lseek): Renamed to __libc_lseek64, use off64_t for argument. - -2002-06-08 Roland McGrath - - * sysdeps/mach/hurd/dirstream.h (struct __dirstream): Use size_t - instead of unsigned long int for __allocation and __size members. - -2002-06-09 Jakub Jelinek - - * sysdeps/unix/sysv/linux/i386/dl-brk.c: Move... - * sysdeps/unix/sysv/linux/dl-brk.c: ...here. - * sysdeps/unix/sysv/linux/i386/dl-sbrk.c: Move... - * sysdeps/unix/sysv/linux/dl-sbrk.c: ...here. - -2002-06-07 Roland McGrath - - * sysdeps/mach/hurd/bits/environments.h: File removed. - -2002-06-07 Jakub Jelinek - - * sysdeps/unix/sysv/linux/alpha/sendfile64.c: New file. - * sysdeps/unix/sysv/linux/ia64/sendfile64.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/sendfile64.c: New file. - * sysdeps/unix/sysv/linux/x86_64/sendfile64.c: New file. - * sysdeps/unix/sysv/linux/syscalls.list (sendfile): Remove EXTRA. - (sendfile64): Likewise. - * sysdeps/unix/sysv/linux/alpha/syscalls.list (sendfile): Likewise. - * sysdeps/unix/sysv/linux/ia64/syscalls.list (sendfile): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (sendfile): - Likewise. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list (sendfile): Likewise. - - * include/sys/stat.h (__fxstat64, __lxstat64): Only define if not - already defined. - -2002-06-04 Bruno Haible - - * sysdeps/cris/stackinfo.h: New file. - - * sysdeps/hppa/dl-machine.h (elf_machine_rela): Cast reloc_addr - to an integer type before performing bit operations on it. - -2002-06-05 Roland McGrath - - * sysdeps/generic/sendfile.c: Include . - * sysdeps/generic/sendfile64.c: Likewise. - - * io/Makefile (routines): Add sendfile and sendfile64. - (headers): Add sys/sendfile.h to the list. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it here. - * sysdeps/unix/sysv/linux/sys/sendfile.h: Moved to ... - * io/sys/sendfile.h: ... here. - * sysdeps/generic/sendfile.c: New file. - * sysdeps/generic/sendfile64.c: New file. - - * sysdeps/unix/sysv/linux/Versions (GLIBC_2.1, GLIBC_2.3): - Move sendfile, sendfile64 to ... - * io/Versions (GLIBC_2.1, GLIBC_2.3): ... here. - * sysdeps/mach/hurd/sendfile.c: New file. - * sysdeps/mach/hurd/sendfile64.c: New file. - - * sysdeps/mach/nanosleep.c: New file. - -2002-06-04 Roland McGrath - - * sysdeps/alpha/elf/configure.in: New file. Check for TLS support. - * sysdeps/alpha/elf/configure: New file (generated). - -2002-06-02 Roland McGrath - - * include/link.h: Include to make sure USE_TLS is defined. - -2002-06-01 Roland McGrath - - * sysdeps/mach/hurd/alpha/init-first.c: New file, modified from - i386/init-first.c by Andrew M. Miklic . - -2002-05-19 Ulrich Drepper - - * resolv/resolv.h (struct __res_state): Remove unused nstimes. - Add nsmap. - * resolv/res_init.c (__res_vinit): Initialize nsmap array. - Remove nstimes setting. - (res_nclose): Check all MAXNS nameservers with non-NULL nsaddrs. - * resolv/res_send.c (res_nsend): Don't close unconditionally if - there is mix of IPv6 and IPv4 nameservers. - Use nsmap array to find free slots and preserve nameserver ordering. - Fix RES_ROTATE. - -2002-05-30 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sys/sendfile.h: It is now possible to - use this header with LFS. - - * po/sk.po: Update from translation team. - -2002-05-28 Andreas Schwab - - * sysdeps/generic/readelflib.c (process_elf_file): Give correct - message when finding object of wrong class. - -2002-05-28 Jakub Jelinek - - * sysdeps/wordsize-32/divdi3.c (__moddi3): Fix pasto. - Patch by . - -2002-05-30 Ulrich Drepper - - * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc] (sysdep_routines): - Add readahead. - * sysdeps/unix/sysv/linux/readahead.c: New file. - * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile64 syscall. - * sysdeps/unix/sysv/linux/Versions: Export readahead and sendfile64. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add readahead syscall. - Add sendfile64 alias to sendfile syscall. - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_readahead - syscall. - - * sysdeps/unix/sysv/linux/i386/sysdep.h: Use __i686.get_pc_thunk.XX - special section for PIC register loading. - * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise. - - * config.h.in: Define HAVE_HIDDEN. - * configure.in: Also define HAVE_HIDDEN if HAVE_PROTECTED is defined. - - * elf/elf.h: Correct Alpha TLS relocations according to last spec. - -2002-05-28 Roland McGrath - - * sysdeps/mach/alpha/setfpucw.c: New file. - -2002-05-26 Roland McGrath - - * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't use sizeof in _IOTS. - Use integer_t instead of int for IOC_VOID case. - -2002-05-27 Alexandre Oliva - - * configure.in (DO_STATIC_NSS): Define if --disable-shared. - -2002-05-26 Bruno Haible - - * iconvdata/iso-2022-jp.c (BODY for TO_LOOP): Avoid running off the - end of the ISO-8859-7 from idx table. - -2002-05-27 Ulrich Drepper - - * manual/lang.texi: Fix FLT_EPSILON description [PR libc/3649]. - -2002-05-24 David S. Miller - - * string/bits/string2.h (memset): Do not try to optimize when - not _STRING_ARCH_unaligned if GCC will do the right thing. - -2002-05-21 Isamu Hasegawa - - * posix/regex.c: Define `inline' as a macro into nothing for the - compilers which lack the keyword. - * posix/regex.h: (RE_SYNTAX_GNU_AWK): Remove RE_CONTEXT_INVALID_OPS - for the compatibility of gawk. - * posix/regcomp.c: Add fake implementation of isblank() for the - environments which lack the function. - Don't use free_charset() in case of non-i18n envs. - (build_range_exp): Don't use i18n related code in case of non-i18n - envs. - (build_collating_symbol): Likewise. - (build_equiv_class): Likewise. - (build_charclass): Likewise. - (re_compile_fastmap_iter): Likewise. - (parse_bracket_exp): Likewise. - (build_word_op): Likewise. - (regfree): Don't use free_charset() in case of non-i18n envs. - * posix/regex_internal.h: Remove COMPLEX_BRACKET from - re_token_type_t in case of non-i18n envs. - Don't define re_charset_t in case of non-i18n envs. - Change the type of wcs of re_string_t from wchar_t to wint_t, - since we store also WEOF. - * posix/regex_internal.c: (re_string_realloc_buffers): Change - the type of wcs of re_string_t from wchar_t to wint_t. - (re_string_reconstruct): Likewise. - (create_ci_newstate): Don't use i18n related code in case of - non-i18n envs. - (create_cd_newstate): Likewise. - -2002-05-24 Ulrich Drepper - - * iconv/loop.c: Fix typo. - -2002-05-23 Jakub Jelinek - - * inet/ether_line.c (ether_line): Fix a typo causing only - lower 4 bits of each ethernet address byte being assigned. - Don't modify what line points to. - * inet/tst-ether_aton.c (main): Add ether_line tests. - -2002-05-23 Marcus Brinkmann - - * manual/filesys.texi: Don't make readlink example leak memory - when readlink fails. - -2002-05-20 Ulrich Drepper - - * iconv/loop.c: Fix condition for defining unaligned loop. Add - some more security checks. - -2002-05-17 David S. Miller - - * sysdeps/unix/sysv/linux/sparc/fork.S: Define _internal aliases. - -2002-05-16 David S. Miller - - * sysdeps/sparc/sparc32/dl-machine.h (LOAD_PIC_REG): Define. - (elf_machine_dynamic): Use it to force PIC register to be loaded. - (elf_machine_load_address): Likewise. - * sysdeps/sparc/sparc64/dl-machine.h: Mirror sparc32 changes. - - * sysdeps/sparc/sparc64/strncmp.S: When second argument pointer - is unaligned, do not forget to fully initialize %g1 magic value. - - * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Fix 64-bit elf - register definitions and provide 32-bit variants of structures - during 64-bit builds. - - * soft-fp/op-1.h (_FP_FRAC_CLEAR_OVERP_1): Define. - * soft-fp/op-2.h (_FP_FRAC_CLEAR_OVERP_2): Define. - * soft-fp/op-4.h (_FP_FRAC_CLEAR_OVERP_4): Define. - * soft-fp/op-common.h (_FP_PACK_CANONICAL): After rounding, if - _FP_FRAC_OVERP_X is set, use _FP_FRAC_CLEAR_OVERP_X to clear it. - (_FP_FROM_INT): Perform right shifts on unsigned integer type. - Do not clear implicit one bit here, it must be done post-rounding. - Only pad to the left using left shift if value uses less than the - available fractional bits. - -2002-05-20 Franz Sirl - - * sysdeps/powerpc/Makefile (sysdeps_routines): Use libgcc-compat - instead of cmpdi2, shdi3, fixdfdi, fixsfdi in csu dir. - (shared-only-routines): Likewise. - * sysdeps/powerpc/libgcc-compat.c: New file. - * sysdeps/wordsize-32/cmpdi2.c: Removed. - * sysdeps/wordsize-32/fixdfdi.c: Removed. - * sysdeps/wordsize-32/fixsfdi.c: Removed. - * sysdeps/wordsize-32/shdi3.c: Removed. - -2002-05-16 Bruno Haible - - * MakeTAGS (libc.pot): Don't sort the output. - * po/header.pot: Update to match xgettext 0.11 output. - -2002-05-16 Bruno Haible - - * MakeTAGS (subdirs): Remove duplicates. - -2002-05-19 Ulrich Drepper - - * sysdeps/unix/sysv/linux/errlist.c: Remove extra weak alias - definiton of _old_sys_nerr. Define _old_sys_errlist as strong - alias. - -2002-05-19 Andreas Jaeger - - * sysdeps/unix/sysv/linux/configure.in: Warn against an - installation in /usr/local. - -2002-05-16 Bruno Haible - - * sysdeps/unix/sysv/aix/bits/ioctl-types.h: Don't use multiline - string as argument of #error. - -2002-05-15 Ulrich Drepper - - * stdlib/canonicalize.c (canonicalize): Rename to __realpath and - don't define static. Remove old __realpath function. TC1 of - POSIX 2001 will allow the second parameter to be NULL. - * stdlib/test-canon.c: Comment out test for NULL as second - parameter of realpath. - - * time/offtime.c (__offtime): Set errno if overflow is detected. - - * elf/Makefile (rtld-routines): Remove dl-brk and dl-sbrk. - * sysdeps/unix/sysv/linux/Makefile (sysdep-rtld-routines): Add - dl-brk and dl-sbrk. - - * sysdeps/sparc/fpu/bits/mathinline.h (fdim): Add __THROW. - (fdimf): Likewise. - -2002-05-15 Roland McGrath - - * hurd/report-wait.c (_S_msg_report_wait): Use mach_msg_id_t for arg. - -2002-05-12 Bruno Haible - - * iconvdata/testdata/EUC-JISX0213: New file. - * iconvdata/testdata/EUC-JISX0213..UTF8: New file. - * iconvdata/testdata/SHIFT_JISX0213: New file. - * iconvdata/testdata/SHIFT_JISX0213..UTF8: New file. - * iconvdata/testdata/ISO-2022-JP-3: New file. - * iconvdata/testdata/ISO-2022-JP-3..UTF8: New file. - * iconvdata/TESTS: Add EUC-JISX0213, SHIFT_JISX0213, ISO-2022-JP-3. - * iconvdata/run-iconv-test.sh: Skip the charmap test if the charmap - contains comments indicating precomposed characters. - -2002-04-21 Bruno Haible - - * iconvdata/iso-2022-jp-3.c: New file. - * iconvdata/gconv-modules (ISO-2022-JP-3): New module. - * iconvdata/Makefile (modules): Add ISO-2022-JP-3. - (LDFLAGS-ISO-2022-JP-3.so): New variable. - (ISO-2022-JP-3.so): Depend on libJIS.so and libJISX0213.so. - (distribute): Add iso-2022-jp-3.c. - -2002-05-12 Bruno Haible - - * iconvdata/tst-table-to.c (main): Restore handling of - transliterations, broken by last patch. - -2002-05-12 Bruno Haible - - * iconvdata/TESTS: Add IBM922, IBM1124, IBM1129. - -2002-05-12 Bruno Haible - - * iconvdata/euc-jisx0213.c (BODY for FROM_LOOP): Don't advance inptr - when there is not enough room in the output buffer. - * iconvdata/shift_jisx0213.c (BODY for FROM_LOOP): Likewise. - -2002-04-20 Bruno Haible - - * iconv/skeleton.c ({FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO}): New - macros. - (RESET_INPUT_BUFFER): Use them instead of {MIN,MAX}_NEEDED_{FROM,TO}. - Also make this macro work if FROM_DIRECTION evaluates to 0. - (gconv_init): Use the new macros instead of {MIN,MAX}_NEEDED_{FROM,TO}. - (FUNCTION_NAME): Likewise, in the handling of unaligned accesses and - of consume_incomplete. - * iconvdata/cp1255.c: Define {FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO} - instead of {MIN,MAX}_NEEDED_{FROM,TO}. Set FROM_LOOP_MAX_NEEDED_TO to - 4, not 8. - * iconvdata/cp1258.c: Likewise. - * iconvdata/ibm930.c: Define {FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO} - instead of {MIN,MAX}_NEEDED_{FROM,TO}. Set TO_LOOP_MAX_NEEDED_TO to 3, - not 2. - * iconvdata/ibm933.c: Likewise. - * iconvdata/ibm935.c: Likewise. - * iconvdata/ibm937.c: Likewise. - * iconvdata/ibm939.c: Likewise. - * iconvdata/iso-2022-cn.c: Define - {FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO} instead of - {MIN,MAX}_NEEDED_{FROM,TO}. Set TO_LOOP_MAX_NEEDED_TO to 6, not 4. - * iconvdata/iso-2022-cn-ext.c: Likewise. - * iconvdata/iso-2022-jp.c: Define - {FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO} instead of - {MIN,MAX}_NEEDED_{FROM,TO}. - * iconvdata/tcvn5712-1.c: Define - {FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO} instead of - {MIN,MAX}_NEEDED_{FROM,TO}. Set FROM_LOOP_MAX_NEEDED_FROM to 1, not 2. - * iconvdata/euc-jisx0213.c: Define - {FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO} instead of - {MIN,MAX}_NEEDED_{FROM,TO}. Set FROM_LOOP_MAX_NEEDED_TO to 8, not 4. - * iconvdata/shift_jisx0213.c: Likewise. - -2002-05-14 Franz Sirl - - * sysdeps/powerpc/Makefile (sysdeps_routines): Add divdi3, cmpdi2, - shdi3, fixdfdi, fixsfdi in csu dir. - (shared-only-routines): Likewise. - * sysdeps/wordsize-32/cmpdi2.c: New file. - * sysdeps/wordsize-32/shdi3.c: New file. - * sysdeps/wordsize-32/fixdfdi.c: New file. - * sysdeps/wordsize-32/fixsfdi.c: New file. - * sysdeps/powerpc/Versions (__divdi3, __moddi3, __udivdi3, __umoddi3, - __ashldi3, __ashrdi3, __lshrdi3, __cmpdi2, __ucmpdi2, __fixdfdi, - __fixsfdi, __fixunsdfdi, __fixunssfdi): Export at GLIBC_2.0. - - * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl): - Only use va_arg if the argument will be used [PR libc/3259]. - -2002-05-06 Michael A. Schmidt - - * catgets/catgets.c (catopen): Free buffer if internal catalog - open fails. - -2002-05-14 Ulrich Drepper - - * debug/xtrace.sh: Make more robust. For realtime tracking use - non-buffering methods. - * debug/pcprofiledump.c: Implement -u option. - Patch by Roger Luethi . - -2002-05-11 Jakub Jelinek - - * include/netinet/in.h (bindresvport_internal): Add prototype. - * include/rpc/auth.h (authunix_create_internal, - authunix_create_default_internal, authnone_create_internal, - authdes_pk_create_internal): Add prototypes. - * include/rpc/clnt.h (clnt_create_internal, clnttcp_create_internal, - clntudp_create_internal, clntudp_bufcreate_internal, - clntunix_create_internal): Add prototypes. - * include/rpc/svc.h (svc_sendreply_internal, svcerr_decode_internal, - svc_getreq_internal, svc_getreq_common_internal, - svc_getreqset_internal, svc_getreq_poll_internal, - svc_register_internal, svc_unregister_internal, - svcudp_create_internal, svcudp_bufcreate_internal): Add prototypes. - * include/rpc/svc_auth.h (_authenticate_internal): Add prototype. - * include/sys/socket.h (__sendto, __recvfrom, __sendmsg, __recvmsg, - __setsockopt, __getsockname, __bind, __listen): Add prototypes. - * inet/rexec.c (rexec_af): Use __listen and __getsockname. - * inet/rcmd.c (rcmd_af): Use __listen. - (rresvport_af): Use __bind. - * sunrpc/clnt_udp.c: Use INTUSE calls to bindresvport, - authunix_create, authunix_create_default, authnone_create, - authdes_pk_create, clnt_create, clnttcp_create, clntudp_create, - clntudp_bufcreate, clntunix_create svc_sendreply, svcerr_decode, - svc_getreq, svc_getreq_common, svc_getreqset, svc_getreq_poll, - svc_register, svc_unregister, svcudp_create, svcudp_bufcreate, - _authenticate, add INTDEF after such function definitions. - Use __listen, __bind, __sendto, __recvfrom, __sendmsg, __recvmsg, - __setsockopt, __getsockname instead of non-__ variants. - * sunrpc/pmap_rmt.c: Likewise. - * sunrpc/rtime.c: Likewise. - * sunrpc/svc_udp.c: Likewise. - * sunrpc/clnt_unix.c: Likewise. - * sunrpc/svc_unix.c: Likewise. - * sunrpc/bindrsvprt.c: Likewise. - * sunrpc/svc_tcp.c: Likewise. - * sunrpc/auth_none.c: Likewise. - * sunrpc/clnt_raw.c: Likewise. - * sunrpc/clnt_tcp.c: Likewise. - * sunrpc/auth_unix.c: Likewise. - * sunrpc/key_call.c: Likewise. - * sunrpc/clnt_gen.c: Likewise. - * sunrpc/pm_getmaps.c: Likewise. - * sunrpc/clnt_simp.c: Likewise. - * sunrpc/pmap_clnt.c: Likewise. - * sunrpc/svc_run.c: Likewise. - * sunrpc/svc.c: Likewise. - * sunrpc/svc_simple.c: Likewise. - * sunrpc/pm_getport.c: Likewise. - * sunrpc/auth_des.c: Likewise. - * sunrpc/svc_auth.c: Likewise. - * sysdeps/generic/unwind-dw2-fde.c (__register_frame_info_bases, - __register_frame_info_table_bases, __deregister_frame_info_bases): - Add INTDEF. - (__register_frame_info_bases_internal, - __register_frame_info_table_bases_internal, - __deregister_frame_info_bases_internal): Add prototypes. - (__register_frame_info, __register_frame): Use INTUSE in call to - __register_frame_info_bases. - (__register_frame_info_table): Similarly. - (__deregister_frame_info, __deregister_frame): Similarly. - * sysdeps/generic/sendto.c (__sendto): Renamed from sendto, add - sendto as weak alias. - * sysdeps/mach/hurd/sendto.c: Likewise. - * sysdeps/generic/recvfrom.c (__recvfrom): Renamed from recvfrom, add - recvfrom as weak alias. - * sysdeps/mach/hurd/recvfrom.c: Likewise. - * sysdeps/unix/sysv/aix/recvfrom.c: Likewise. - * sysdeps/generic/recvmsg.c (__recvmsg): Renamed from recvmsg, add - recvmsg as weak alias. - * sysdeps/unix/sysv/aix/recvmsg.c: Likewise. - * sysdeps/generic/sendmsg.c (__sendmsg): Renamed from sendmsg, add - sendmsg as weak alias. - * sysdeps/unix/sysv/aix/sendmsg.c: Likewise. - * sysdeps/generic/setsockopt.c (__setsockopt): Renamed from - setsockopt, add setsockopt as weak alias. - * sysdeps/mach/hurd/setsockopt.c: Likewise. - * sysdeps/generic/bind.c (__bind): Renamed from bind, add bind as - weak alias. - * sysdeps/mach/hurd/bind.c: Likewise. - * sysdeps/generic/listen.c (__listen): Renamed from listen, add listen - as weak alias. - * sysdeps/mach/hurd/listen.c: Likewise. - * sysdeps/generic/getsockname.c (__getsockname): Renamed from - getsockname, add getsockname as weak alias. - * sysdeps/mach/hurd/getsockname.c: Likewise. - * sysdeps/unix/sysv/aix/getsockname.c: Likewise. - * sysdeps/mach/hurd/recvmsg.c (__recvmsg): Add weak alias. - * sysdeps/mach/hurd/sendmsg.c (__sendmsg): Add weak alias. - * sysdeps/unix/inet/syscalls.list (__bind, __listen, __recvmsg, - __recvfrom, __sendmsg, __sendto, __setsockopt): Add aliases. - * sysdeps/unix/sysv/linux/alpha/syscalls.list (__recvmsg, __sendmsg): - Add aliases. - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/recvfrom.S (__recvfrom): Add weak alias. - * sysdeps/unix/sysv/linux/recvmsg.S (__recvmsg): Likewise. - * sysdeps/unix/sysv/linux/sendmsg.S (__sendmsg): Likewise. - * sysdeps/unix/sysv/linux/sendto.S (__sendto): Likewise. - * sysdeps/unix/sysv/linux/setsockopt.S (__setsockopt): Likewise. - * sysdeps/unix/sysv/linux/bind.S (__bind): Likewise. - * sysdeps/unix/sysv/linux/listen.S (__listen): Likewise. - * sysdeps/unix/sysv/linux/getsockname.S (__getsockname): Likewise. - -2002-05-10 Jakub Jelinek - - * locale/programs/localedef.h (show_archive_content): Add verbose - argument. - * locale/programs/localedef.c (main): Adjust caller. - * locale/programs/locarchive.c (struct nameent, struct dataent): New - types. - (nameentcmp, dataentcmp): New functions. - (xstrcmp): Remove. - (show_archive_content): Print verbose listing with --list-archive -v. - -2002-05-14 Ulrich Drepper - - * locale/programs/locarchive.c (open_archive): Take extra argument - readonly. If true open file with O_RDONLY and don't create the - archive if it doesn't exist. - Adapt all callers. - (close_archive): Don't do anything if fd element is -1. - * locale/programs/localedef.h (open_archive): Adjust prototype. - * locale/programs/locfile.c (write_all_categories): Adjust open_archive - call. - - * malloc/malloc.c (__posix_memalign): Correct check for size of - alignment value [PR libc/3444]. - - * include/stdio.h: Remove references to old stdio implementation. - - * libio/Makefile (bug-ungetwc2-ENV): Define. - -2002-05-13 Roland McGrath - - * iconv/gconv_charset.h (upstr): Add inline keyword, quiets warning. - - * hurd/hurdinit.c (_hurd_init): Use internal name _hurd_new_proc_init. - -2002-05-13 Marcus Brinkmann - - * hurd/hurdchdir.c (_hurd_change_directory_port_from_name): - Allocate three, not two, more than LEN when appending '/.'. - * sysdeps/mach/hurd/chroot.c (chroot): Likewise. Don't check - if NAME ends with '/.' if it is shorter than 2 chars. - -2002-05-12 Roland McGrath - - * mach/Makefile ($(mach-syscalls:%=$(objpfx)%.S)): Make the generated - files #include instead of . - - * hurd/hurdexec.c (_hurd_exec): Reauthenticate ports/dtable used in - file_exec to effect svuid=euid, svgid=egid if that is not a no-op. - -2002-05-10 Jakub Jelinek - - * sysdeps/ia64/Makefile: Remove extra endif. - * sysdeps/ia64/ia64libgcc.S (__divsf3): Fix typo in symbol version. - -2002-05-10 Andreas Schwab - - * sysdeps/powerpc/fpu/w_sqrt.c: Add sqrtl alias. - -2002-05-09 Andreas Jaeger - - * sysdeps/unix/sysv/linux/x86_64/sys/io.h: New file. - * sysdeps/unix/sysv/linux/x86_64/Dist: Add it. - * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers): Add it. - - * sysdeps/unix/sysv/linux/ia64/glob.c: Move to ... - * sysdeps/wordsize-64/glob.c: ...here. - * sysdeps/unix/sysv/linux/x86_64/glob.c: Remove. - * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: Remove. - * sysdeps/unix/sysv/linux/sparc/sparc64/glob.c: Remove. - -2002-05-08 Roland McGrath - - * hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Use - O_NOTRANS flag in "." lookup. - -2002-05-05 Ulrich Drepper - - * malloc/mtrace.c: Comment out use of _mtrace_file and _mtrace_len. - -2002-05-04 Ulrich Drepper - - * locale/duplocale.c (__duplocale): Update special members only - when allocation succeeded. - -2002-05-03 Roland McGrath - - * shlib-versions (.*-.*-gnu-gnu.*): Remove USE_IN_LIBIO conditionals; - we can only build libc.so.0.3(GLIBC_2.2.6) now. - -2002-05-02 Jakub Jelinek - - * sysdeps/ia64/Makefile: Add ia64libgcc in csu subdir. - * sysdeps/ia64/Versions (__divtf3, __divdf3, __divsf3, __divdi3, - __moddi3, __udivdi3, __umoddi3, __multi3): Export at GLIBC_2.0. - * sysdeps/ia64/ia64libgcc.S: New file. - -2002-05-02 Ulrich Drepper - - * sysdeps/generic/dl-tls.c (oom): Implement using _dl_fatal_printf. - - * malloc/memusage.c: Distinguish anonymous mmap. - -2002-05-01 Roland McGrath - - * sysdeps/mach/hurd/close.c: #undef __close before function defn, - and use INTDEF on it. - * sysdeps/mach/hurd/fcntl.c: Use INTDEF2. - - * sysdeps/mach/hurd/dl-sysdep.c (errno): New variable. - - * sysdeps/mach/hurd/alpha/static-start.S: New file (unfinished). - -2002-05-01 Ulrich Drepper - - * malloc/memusage.c: Add support for tracking mmap & friends. - * malloc/memusage.sh: Implement -m/--mmap option. - -2002-04-30 Jakub Jelinek - - * locale/programs/locarchive.c (create_archive): Add archivefname - argument, create fname from it. - (enlarge_archive): Honour output_prefix. - (open_archive): Likewise. - -2002-04-30 Jakub Jelinek - - * locale/programs/locarchive.c (add_locales_to_archive): Don't nest - too many stpcpy macros. - -2002-04-26 Bruno Haible - - * locale/programs/ld-collate.c (collate_read): Cast first argument - for "%.*s" to int. - -2002-04-26 Bruno Haible - - * include/libintl.h (__ngettext, __dngettext, __dcngettext, - __dcngettext_internal): New declarations. - (__gettext, __dgettext, __dcgettext, __dcgettext_internal): Add - attribute declarations. - -2002-04-30 Roland McGrath - - Removed old GNU stdio implementation; GNU libio is now the only option. - * configure.in: Removed --enable-libio option and @stdio@ subst var. - Define USE_IN_LIBIO unconditionally. - * configure: Regenerated. - * Makeconfig (stdio): Set to libio by default. - * config.make.in (stdio): Variable removed. - * sysdeps/unix/sysv/linux/configure.in: Don't set $stdio. - * sysdeps/unix/sysv/linux/configure: Regenerated. - * sysdeps/mach/hurd/configure.in: Don't test $stdio. - * sysdeps/mach/hurd/configure: Regenerated. - * stdio/.cvsignore: File removed. - * stdio/Makefile: File removed. - * stdio/Versions: File removed. - * stdio/__fbufsize.c: File removed. - * stdio/__flbf.c: File removed. - * stdio/__fpending.c: File removed. - * stdio/__fpurge.c: File removed. - * stdio/__freadable.c: File removed. - * stdio/__freading.c: File removed. - * stdio/__fsetlocking.c: File removed. - * stdio/__fwritable.c: File removed. - * stdio/__fwriting.c: File removed. - * stdio/clearerr.c: File removed. - * stdio/fclose.c: File removed. - * stdio/fcloseall.c: File removed. - * stdio/feof.c: File removed. - * stdio/ferror.c: File removed. - * stdio/fflush.c: File removed. - * stdio/fgetc.c: File removed. - * stdio/fgetpos.c: File removed. - * stdio/fgets.c: File removed. - * stdio/fileno.c: File removed. - * stdio/fmemopen.c: File removed. - * stdio/fopen.c: File removed. - * stdio/fopncook.c: File removed. - * stdio/fputc.c: File removed. - * stdio/fputs.c: File removed. - * stdio/fread.c: File removed. - * stdio/freopen.c: File removed. - * stdio/fseek.c: File removed. - * stdio/fsetpos.c: File removed. - * stdio/ftell.c: File removed. - * stdio/fwrite.c: File removed. - * stdio/getc.c: File removed. - * stdio/getchar.c: File removed. - * stdio/getdelim.c: File removed. - * stdio/gets.c: File removed. - * stdio/glue.c: File removed. - * stdio/internals.c: File removed. - * stdio/linewrap.c: File removed. - * stdio/linewrap.h: File removed. - * stdio/memstream.c: File removed. - * stdio/newstream.c: File removed. - * stdio/obstream.c: File removed. - * stdio/putc.c: File removed. - * stdio/putchar.c: File removed. - * stdio/puts.c: File removed. - * stdio/rewind.c: File removed. - * stdio/setbuf.c: File removed. - * stdio/setbuffer.c: File removed. - * stdio/setlinebuf.c: File removed. - * stdio/setvbuf.c: File removed. - * stdio/stdio.h: File removed. - * stdio/ungetc.c: File removed. - * stdio/vasprintf.c: File removed. - * stdio/vscanf.c: File removed. - * stdio/vsnprintf.c: File removed. - * stdio/vsprintf.c: File removed. - * stdio/vsscanf.c: File removed. - * sysdeps/generic/defs.c: File removed. - * sysdeps/generic/fdopen.c: File removed. - * sysdeps/generic/pipestream.c: File removed. - * sysdeps/generic/stdio_init.c: File removed. - * sysdeps/generic/sysd-stdio.c: File removed. - * sysdeps/generic/vdprintf.c: File removed. - * sysdeps/mach/hurd/defs.c: File removed. - * sysdeps/mach/hurd/fdopen.c: File removed. - * sysdeps/mach/hurd/pipestream.c: File removed. - * sysdeps/mach/hurd/stdio_init.c: File removed. - * sysdeps/mach/hurd/sysd-stdio.c: File removed. - * sysdeps/mach/hurd/vdprintf.c: File removed. - * sysdeps/posix/defs.c: File removed. - * sysdeps/posix/fdopen.c: File removed. - * sysdeps/posix/pipestream.c: File removed. - * sysdeps/posix/stdio_init.c: File removed. - * sysdeps/posix/vdprintf.c: File removed. - * sysdeps/unix/pipestream.c: File removed. - * sysdeps/unix/sysv/sysd-stdio.c: File removed. - * sysdeps/unix/sysv/sco3.2.4/pipestream.c: File removed. - * sysdeps/unix/sysv/sysv4/pipestream.c: File removed. - -2002-04-29 Roland McGrath - - * include/libc-symbols.h (link_warning): Use `unused' attribute. - -2002-04-28 Ulrich Drepper - - * sysdeps/generic/tls.h: Describe what must be defined. - - * sysdeps/generic/glob.c (glob): Don't pass GLOB_NOMAGIC flag to - glob_in_dir [PR libc/3385]. - * posix/globtest.sh: Add test case. - - * intl/loadmsgcat.c [!_LIBC] (_nl_init_domain_conv): Don't add - //TRANSLIT twice. - -2002-04-27 Ulrich Drepper - - * sysdeps/unix/sysv/linux/ia64/fxstat.c: Fix a few issues with the - _internal symbol handling. - * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise. - -2002-04-26 Ulrich Drepper - - * sysdeps/ia64/fpu/s_finite.S: Define _internal aliases. - * sysdeps/unix/sysv/linux/ia64/fork.S: Likewise. - -2002-04-26 Isamu Hasegawa - - * posix/regcomp.c (re_compile_fastmap_iter): Fix fastmap in case of - not _LIBC and RE_ENABLE_I18N. - (build_range_exp): Implement for not _LIBC. - (build_collating_symbol): Likewise. - (parse_bracket_exp): Unify redundant error handlings. - Don't erase mbcset for non matching list in multibyte envs. - (build_word_op): Add '_' to matching list for \w operator. - * posix/regex_internal.c (re_string_construct): Invoke - build_upper_buffer in case of not RE_ENABLE_I18N. - (re_string_reconstruct): Don't touch cur_state in case of not - RE_ENABLE_I18N. - * posix/regex_internal.h (attribute_hidden): New macro in case of - not _LIBC. - (re_charset_t): Define range_starts/ends in case of not _LIBC. - * posix/regexec.c (sift_states_iter_mb): Hide in case of not - RE_ENABLE_I18N. - (transit_state_mb): Likewise. - (check_node_accept_bytes): Implement the code evaluating range - expression in case of not _LIBC. - (find_collation_sequence_value): Hide in case of not _LIBC. - -2002-04-26 Jakub Jelinek - - * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Copied from - i386/semctl.c. - (__old_semctl, __new_semctl): Only use va_arg if the argument will - be used. - -2002-04-26 Ulrich Drepper - - * sysdeps/ia64/fpu/s_isinf.S: Fix definition of _internal names. - - * sysdeps/ia64/strncpy.S: Fix recovery code. - Patch by David Mosberger . - -2002-04-24 Ulrich Drepper - - * sysdeps/unix/sysv/linux/ia64/Versions [libc]: Add getunwind for - GLIBC_2.2.6. - -2002-04-14 Bruno Haible - - * posix/regex.c (re_max_failures): Add back symbol for binary - compatibility. - -2002-04-22 Isamu Hasegawa - - * posix/regcomp.c (re_compile_internal): Adapt it to new interface - of buffer building functions. - * posix/regex_internal.c (re_string_allocate): New function. - (re_string_realloc_buffers): New function. - (re_string_skip_chars): New function. - (re_string_reconstruct): New function. - (re_string_construct): Adapt it to new interface of buffer building - functions. - (re_string_construct_common): Likewise. - (build_wcs_buffer): Likewise. - (build_wcs_upper_buffer): Likewise. - (build_upper_buffer): Likewise. - (re_string_translate_buffer): Likewise. - (re_string_context_at): Adapt it to variable length buffers. - * posix/regex_internal.h (re_string_t): Add new fields to handle - variable length buffers. - (re_match_context_t): Likewise. - * posix/regexec.c (re_search_internal): Adapt it to new interface - of re_string_t and re_match_context_t. - (acquire_init_state_context): Likewise. - (check_matching): Likewise. - (check_halt_state_context): Likewise. - (proceed_next_node): Likewise. - (set_regs): Likewise. - (sift_states_backward): Likewise. - (clean_state_log_if_need): Likewise. - (sift_states_iter_mb): Likewise. - (sift_states_iter_bkref): Likewise. - (add_epsilon_backreference): Likewise. - (transit_state): Likewise. - (transit_state_sb): Likewise. - (transit_state_mb): Likewise. - (transit_state_bkref): Likewise. - (transit_state_bkref_loop): Likewise. - (check_node_accept): Likewise. - (match_ctx_init): Likewise. - (extend_buffers): New function. - -2002-04-21 Bruno Haible - - * iconvdata/tst-table.sh: For the second check, use the truncated - GB18030 charmap table, like for the first check. - -2002-04-24 Ulrich Drepper - - * elf/dl-load.c (open_verify): Correct __lseek parameters. - Patch by Simon Hildrew [PR libc/3354]. - -2002-04-23 H.J. Lu - - * include/math.h (isfinite): Fix a typo. - -2002-04-24 Ulrich Drepper - - * libio/bug-ungetwc2.c (test_locale): Use the de_DE.UTF-8 locale - which is created by the test suite. - -2002-04-20 Bruno Haible - - * iconvdata/iso-2002-kr.c (MAX_NEEDED_FROM): Set to 4. - (BODY for FROM_LOOP): Fix comparisons between inptr and inend. - -2002-04-20 Bruno Haible - - * iconvdata/johab.c (BODY for FROM_LOOP): Change type of i, m, f, - to avoid gcc warning. - -2002-04-20 Bruno Haible - - * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Fix modification mask - of data->__statep->__count. - -2002-04-20 Bruno Haible - - * iconvdata/euc-jisx0213.c (BODY for TO_LOOP): Really ignore Unicode - tag characters. - * iconvdata/shift_jisx0213.c (BODY for TO_LOOP): Likewise. - -2002-04-24 Roland McGrath - - * sysdeps/mach/alpha/syscall.S: Don't use .frame, ENTRY will have it; - use END macro instead of our own .end directive. - Use `callsys' insn mnemonic instead of `call_pal'. - - * sysdeps/mach/alpha/sysdep.h (ENTRY): New macro. - - * sysdeps/alpha/dl-machine.h (ELF_MACHINE_USER_ADDRESS_MASK): New - macro; we need this for Hurd. - - Log entry was missing for 2002/03/24 commit of rev 1.8, - goes with 2002-03-17 changes. - * sysdeps/mach/hurd/i386/Makefile [$(subdir) = misc] - (sysdep_routines): Append ioperm here. - (sysdep_headers): Append sys/io.h here. - -2002-04-23 Roland McGrath - - * sysdeps/mach/hurd/send.c: int -> size_t for WROTE. - * sysdeps/mach/hurd/sendto.c: Likewise. - * hurd/hurdioctl.c (siocgifconf): int -> size_t for DATA_LEN. - * sysdeps/mach/hurd/wait4.c (__wait4): natural_t -> int for SIGCODE. - * sysdeps/mach/hurd/getpriority.c: unsigned int -> size_t for PISIZE. - -2002-04-22 Roland McGrath - - * sysdeps/mach/hurd/i386/ioperm.c (ioperm): Translate MIG_BAD_ID - failure from i386_io_perm_* RPCs to ENOSYS. - -2002-04-22 Andreas Jaeger - - * sysdeps/unix/sysv/linux/x86_64/ldconfig.h: New file. - - * sysdeps/unix/sysv/linux/x86_64/dl-cache.h: New file. - - * sysdeps/unix/sysv/linux/x86_64/vfork.S: Use %rdi as temp - register instead of destroying %rbx. - -2002-04-21 Ulrich Drepper - - * string/string.h: Declare strerror_r also for XPG6. - -2002-04-19 Roland McGrath - - * sysdeps/mach/hurd/tmpfile.c: Create a file descriptor and use fdopen. - -2002-04-20 Ulrich Drepper - - * Makefile: Add handling of xtests and xcheck targets. - * MakeTAGS: Likewise. - * Makeconfig: Likewise. - * Makerules: Likewise. - * Rules: Likewise. - * manual/Makefile: Likewise. - * sunrpc/Makefile (xtests): Add thrsvc if thread library available. - * sunrpc/thrsvc.c: New file. By Zack Weinberg. - -2002-04-11 Zack Weinberg - - * include/rpc/rpc.h (struct rpc_thread_variables): Remove - authnone_private_s. - * sunrpc/auth_none.c: Include bits/libc-lock.h. - Delete #ifdef _RPC_THREAD_SAFE_ block. - (authnone_private): Make a struct, not a pointer to struct. - (authnone_private_guard): New once-control variable. - (authnone_create_once): New function, split out of - authnone_create. No need to allocate memory. - (authnone_create): Just call authnone_create_once via - __libc_once, then return &authnone_private->no_client. - (authnone_marshal): Access private data via CLIENT argument, - not authnone_private pointer. - Fix typo (MAX_MARSHEL_SIZE -> MAX_MARSHAL_SIZE). - * sunrpc/rpc_thread.c (__rpc_thread_destroy): No need to free - authnone_private_s. - -2002-04-12 H.J. Lu - - * sunrpc/clnt_raw.c (clntraw_create): Properly set xdrs and client. - -2002-04-18 Bruno Haible - - * iconvdata/euc-jisx0213.c (EMIT_SHIFT_TO_INIT, BODY for - FROM_DIRECTION): Make the FROM direction stateless. - * iconvdata/shift_jisx0213.c (EMIT_SHIFT_TO_INIT, BODY for - FROM_DIRECTION): Likewise. - -2002-04-15 Bruno Haible - - * iconvdata/JISX0213.TXT: New file. - * iconvdata/jisx0213.h: New file. - * iconvdata/jisx0213.c: New file. - * iconvdata/euc-jisx0213.c: New file. - * iconvdata/shift_jisx0213.c: New file. - * iconvdata/gconv-modules (EUC-JISX0213, SHIFT_JISX0213): New modules. - * iconvdata/EUC-JISX0213.precomposed: New file. - * iconvdata/SHIFT_JISX0213.precomposed: New file. - * iconvdata/SHIFT_JISX0213.irreversible: New file. - * iconvdata/tst-table-to.c (main): Make it work for encodings for - which the "to" direction is stateful. - * iconvdata/tst-tables.sh: Add EUC-JISX0213, SHIFT_JISX0213. - * iconvdata/Makefile (modules): Add libJISX0213, EUC-JISX0213, - SHIFT_JISX0213. - (libJISX0213-routines): New variable. - (LDFLAGS-EUC-JISX0213.so, LDFLAGS-SHIFT_JISX0213.so): New variables. - (EUC-JISX0213.so, SHIFT_JISX0213.so): Depend on libJISX0213.so. - (LDFLAGS-libJISX0213.so): New variable. - (distribute): Add JISX0213.TXT, EUC-JISX0213.precomposed, - SHIFT_JISX0213.precomposed, SHIFT_JISX0213.irreversible, - jisx0213.c, jisx0213.h, euc-jisx0213.c, shift_jisx0213.c. - -2002-04-15 Bruno Haible - - * iconvdata/big5hkscs.c (big5hkscs_to_ucs): Change element type to - uint32_t. Update to Unicode 3.2. - (from_ucs4, from_ucs4_idx): Update to Unicode 3.2. - (BODY for TO_LOOP): Handle the ASCII range specially. - * iconvdata/BIG5HKSCS.irreversible: Add one more entry. - * iconvdata/testdata/BIG5HKSCS: Remove a character. - * iconvdata/testdata/BIG5HKSCS..UTF-8: Regenerated. - -2002-04-15 Bruno Haible - - * iconvdata/gb18030.c (__twobyte_to_ucs, __fourbyte_to_ucs, - __ucs_to_gb18030_tab1, __ucs_to_gb18030_tab2): Update to Unicode 3.2. - -2002-04-15 Bruno Haible - - * iconvdata/cns11643.h (__cns11643_from_ucs4p2c_tab): New declaration. - (ucs4_to_cns11643): Update. - * iconvdata/cns11643.c: Update to Unicode 3.2. - (__cns11643l2*_to_ucs4_tab, __cns11643_from_ucs4p0_tab, - __cns11643_from_ucs4p2_tab): Regenerated. - (__cns11643_from_ucs4p2c_tab): New array. - * iconvdata/cvs11643l1.c: Update comments. - * iconvdata/EUC-TW.irreversible: Remove two entries. - -2002-04-15 Bruno Haible - - * locale/C-translit.h.in: Update to Unicode 3.2. - Add , .., .., .., - , .., .., ... - -2002-04-15 Bruno Haible - - * iconvdata/sjis.c (halfkana_to_ucs4): Remove array. - (BODY for FROM_LOOP): Optimize the JISX0201:GR to Unicode conversion. - -2002-04-15 Bruno Haible - - * iconvdata/euc-jp.c (BODY for FROM_LOOP): When encountering an - invalid input (e.g. a byte > 0x80 followed by a byte < 0x80), skip - always one byte, not 0 bytes in some cases and 2 bytes in others. - - * iconvdata/tst-table-from.c (main): Correct the usage message. - -2002-04-19 Isamu Hasegawa - - * posix/regcomp.c (parse_expression): Fix incorrect error code. - (parse_dup_op): Fix error handling like "a{}". - (parse_bracket_exp): Add error handling. - (fetch_number): Add error handling for "a{}". - -2002-04-19 Isamu Hasegawa - - * posix/regcomp.c (parse_bracket_symbol): Add error handling - in case that the symbol name is too long. - (build_charclass): Handle [:lower:]/[:uppper:] correctly - in case of REG_ICASE. - -2002-04-19 Andreas Jaeger - - * math/libm-test.inc: Fix comment, suggested by Hartvig Ekner - . - -2002-04-15 H.J. Lu - - * include/math.h (__finitel_internal): Declare only if - __NO_LONG_DOUBLE_MATH is not defined. - (__isinfl_internal): Likewise. - (__isnanl_internal): Likewise. - - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __connect_internal. - * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. - - * sysdeps/unix/sysv/linux/syscalls.list: Add __chown_internal and - __fcntl_internal. - - * sysdeps/unix/sysv/linux/fxstat.c (__fxstat64_internal): Added. - * sysdeps/unix/sysv/linux/lxstat.c (__lxstat64_internal): Added. - -2002-04-15 Bruno Haible - - * iconvdata/armscii-8.c (BODY for FROM_LOOP): Fix array access. - (BODY for TO_LOOP): Likewise. - * iconvdata/tcvn5712-1.c (from_ucs4): Map U+0309 to 0xB1. - * iconvdata/tst-table.sh: Add support for encodings which contain - precomposed Unicode characters, known to the iconv converter in both - directions but not listed in the charmap. - * iconvdata/IBM856.irreversible: New file. - * iconvdata/IBM922.irreversible: New file. - * iconvdata/IBM1132.irreversible: New file. - * iconvdata/IBM1133.irreversible: New file. - * iconvdata/IBM1160.irreversible: New file. - * iconvdata/IBM1161.irreversible: New file. - * iconvdata/IBM1163.irreversible: New file. - * iconvdata/IBM1164.irreversible: New file. - * iconvdata/ARMSCII-8.irreversible: New file. - * iconvdata/TCVN5712-1.precomposed: New file. - * iconvdata/tst-tables.sh: Add IBM856, IBM922, IBM1124, IBM1129, - IBM1160, IBM1161, IBM1132, IBM1133, IBM1162, IBM1163, IBM1164, - ARMSCII-8, TCVN5712-1. - * iconvdata/Makefile (distribute): Add IBM856.irreversible, - IBM922.irreversible, IBM1132.irreversible, IBM1133.irreversible, - IBM1160.irreversible, IBM1161.irreversible, IBM1163.irreversible, - IBM1164.irreversible, ARMSCII-8.irreversible, TCVN5712-1.precomposed. - -2002-04-17 Jakub Jelinek - - * time/tst-mktime.c: Include . Use %d, not %ld format - for EVENING69. Include offsets in TZ environment variable. - -2002-04-18 Ulrich Drepper - - * iconv/skeleton.c (RESET_INPUT_BUFFER): Replace ifs with #ifs to - avoid compiler warnings. - - * locale/programs/localedef.c (main): Always call - construct_output_path. - - * iconv/Makefile (CFLAGS-simple-hash.c): Define to find hashval.h. - - * locale/programs/locfile.c (to_archive): New variable. To collect - data which has to be added to the locale archive. - (write_all_categories): Take new third parameter with locale name. - Unless no_archive flag set add new locale data to the archive - (write_locale_data): Unless no-archive flag set store generated data - in to_archive data structure instead of generation output file. - Add new parameter with locale category index. - * locale/programs/locfile.h: Add new parameters in declaractions of - write_all_categories and write_locale_data. - * locale/programs/localedef.c: Recognize --no-archive, --list-archive, - --add-to-archive, and --delete-from-archive options. Pass extra - parameter to write_all_categories. - * locale/programs/localedef.h: Add prototypes for functions in - locarchive.c. - * locale/locarchive.h: New file. - * locale/programs/locarchive.c: New file. - * locale/Makefile (distribute): Add programs/locarchive.c and - locarchive.h. - (localedef-modules): Add md5 and locarchive. - Add vpath to crypt subdir for md5.c. - - * locale/programs/ld-address.c: Pass locale category ID as new second - parameter to write_locale_data. + * locale/C-name.c: Likewise. + * locale/C-numeric.c: Likewise. + * locale/C-paper.c: Likewise. + * locale/C-telephone.c: Likewise. + * locale/C-time.c: Likewise. + * locale/localeinfo.h: Declare _nl_C_codeset. + * locale/C_name.c: Define _nl_C_codeset. + * locale/findlocale.c: Before accepting locale check that the used + charset does not conflict with what the locale name said. + * locale/programs/ld-address.c: Emit codeset information. * locale/programs/ld-collate.c: Likewise. - * locale/programs/ld-ctype.c: Likewise. * locale/programs/ld-identification.c: Likewise. * locale/programs/ld-measurement.c: Likewise. * locale/programs/ld-messages.c: Likewise. @@ -7478,2707 +3901,2933 @@ * locale/programs/ld-telephone.c: Likewise. * locale/programs/ld-time.c: Likewise. - * locale/simple-hash.c: Move compute_hashval function from here... - * locale/hashval.h: ...to here. New file. - * locale/simple-hash.h: Add prototype for compute_hashval. + * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error + if the locale data couldn't be found. - * include/libintl.h: Minor cleanups. + * string/Makefile: Define tst-strxfrm-ENV. -2002-04-16 Ulrich Drepper + * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment. - * posix/regcomp.c (gettext): Use INTUSE for _libc_intl_domainname. +2001-04-06 Andreas Jaeger -2002-04-15 Ulrich Drepper + * include/sys/profil.h: New file. - * include/sys/stat.h: Fix typo. Patch by HJ Lu. + * dlfcn/modatexit.c: Add prototypes to silence GCC. + * dlfcn/modcxaatexit.c: Likewise. + * elf/globalmod1.c: Likewise. -2002-04-14 Bruno Haible +2001-04-05 David S. Miller - * locale/programs/charmap.c (charmap_read): Don't access result if - result == NULL. + * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it. + * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to + capability flags table and HWCAP_IMPORTANT, increase + _DL_HWCAP_COUNT to 6. + * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise. -2002-02-17 Andreas Schwab +2001-04-04 David Mosberger - * elf/reldep7.c: New file. - * elf/reldep7mod1.c: New file. - * elf/reldep7mod2.c: New file. - * elf/Makefile: Add rules to build and run reldep7. + * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix + initialization of stack_end (bug reported by Zheng Gengbin + ). -2002-04-14 Jakub Jelinek +2001-04-05 Ulrich Drepper - * elf/dl-lookup.c (_dl_lookup_symbol): Move add_dependency call to - the end of the function. Pass original flags to recursive call if - add_dependency failed. - (_dl_lookup_versioned_symbol): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl. -2002-04-13 Jakub Jelinek +2001-04-05 Martin Schwidefsky - * time/mktime.c (__mktime_internal): If year is 69, don't bail out - early, but check whether it overflowed afterwards. - * time/tst-mktime.c (main): Add new tests. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file. -2002-04-14 Ulrich Drepper +2001-04-05 Ulrich Drepper - * debug/xtrace.sh: Fix program name in help message. - Patch by Roger Luethi . + * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf. + * sysdeps/i386/fpu/e_asinl.S: Removed. Too inaccurate. - * include/sys/stat.h: Add prototypes for __lxstat_internal and - __lxstat64_internal. Add macros __lxstat and __lxstat64 if not - NOT_IN_libc. - * sysdeps/generic/lxstat.c: Use INTDEF for __lxstat. - * sysdeps/mach/hurd/lxstat.c: Likewise. - * sysdeps/unix/common/lxstat.c: Likewise. - * sysdeps/unix/sysv/aix/lxstat.c: Likewise. - * sysdeps/unix/sysv/linux/lxstat.c: Likewise. - * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: Likewise. - * sysdeps/generic/lxstat64.c: Use INTDEF for __lxstat64. - * sysdeps/mach/hurd/lxstat64.c: Likewise. - * sysdeps/unix/sysv/aix/lxstat64.c: Likewise. - * sysdeps/unix/sysv/linux/lxstat64.c: Likewise. + * login/tst-utmp.c: Make file usable again in tst-utmpx.c. - * include/wchar.h: Declare __mbrtowc_internal and __mbrlen_internal - prototypes. Add __mbrlen and __mbrtowc macros. - * wcsmbs/mbrlen.c: Use INTDEF for __mbrlen. - * wcsmbs/mbrtowc.c: Use INTDEF for __mbrtowc. +2001-04-04 Ulrich Drepper - * include/unistd.h: Add prototype for __write_internal and add - __libc_write macro is SHARED. - * sysdeps/generic/write.c: Use INTDEF for __write. - * sysdeps/mach/hurd/write.c: Likewise. - * sysdeps/unix/sysv/aix/write.c: Likewise. - * sysdeps/unix/syscalls.list: Add __libc_write alias. + * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version, + define simple replacements here. Patch by Michael Keezer. - * assert/assert.c: Replace STR_N_SIZE with something usable in - macro arguments. - * assert/assert-perr.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_logl.c: New file. + * sysdeps/ieee754/ldbl-96/e_asinl.c: New file. + Contributed by Stephen L Moshier . - * include/sys/socket.h: Declare __libc_sa_len_internal and define - SA_LEN macro to use it if not NOT_IN_libc. - * sysdeps/unix/sysv/linux/sa_len.c: Use INTDEF for __libc_sa_len. + * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used + anymore. - * include/fcntl.h: Declare __open_internal and define __open and - __libc_open macros if not NOT_IN_libc. - * sysdeps/generic/open.c: Use INTDEF for __open. - * sysdeps/mach/hurd/open.c: Likewise. - * sysdeps/unix/sysv/aix/open.c: Likewise. - * sysdeps/unix/syscalls.list: Add __open_internal alias. +2001-04-01 Andreas Jaeger - * sysdeps/generic/check_fds.c: Make sure newly opened file descriptor - has correct number. - - * include/fcntl.h: Define __libc_fcntl macro if not NOT_IN_libc. - * sysdeps/mach/hurd/fcntl.c: Undefine __libc_fcntl as well. - * sysdeps/unix/sysv/aix/fcntl.c: Likewise. - * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise. - - * include/wctype.h: Declare __iswalpha_l_internal, - __iswdigit_l_internal, __iswspace_l_internal, - __iswxdigit_l_internal, and __iswctype_internal. Define - __iswalpha_l, __iswctype, __iswdigit_l, __iswspace_l, and - __iswxdigit_l macros if not NOT_IN_libc. - * wctype/iswctype.c: Use INTDEF for __iswctype. - * wctype/wcfuncs_l.c: Use INTDEF for all __iswXXX_l. - - * include/math.h: Declare __isinf_internal, __isinfl_internal, - __isnan_internal, and __isnanl_internal. - * stdio-common/printf_fp.c: Use INTUSE for calls to __isinf, __isinfl, - __isnan, and __isnanl. - * stdio-common/printf_size.c: Likewise. - * sysdeps/generic/printf_fphex.c: Likewise. - * sysdeps/i386/fpu/s_isinfl.c: Also define _internal alias. - * sysdeps/i386/fpu/s_isnanl.c: Likewise. - * sysdeps/ia64/fpu/s_isinf.S: Likewise. - * sysdeps/ia64/fpu/s_isnan.S: Likewise. - * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise. - * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise. - * sysdeps/ieee754/flt-32/s_isinff.c: Likewise. - * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise. - * sysdeps/m68k/s_isinfl.c: Likewise. - * sysdeps/m68k/fpu/s_isinf.c: Likewise. - * sysdeps/powerpc/fpu/s_isnan.c: Likewise. - - * include/sys/time.h: Declare __gettimeofday_internal and define - __gettimeofday macro if not NOT_IN_libc. - * sysdeps/generic/gettimeofday.c: Use INTEDEF for __gettimeofday. - * sysdeps/mach/gettimeofday.c: Likewise. - * sysdeps/posix/gettimeofday.c: Likewise. - * sysdeps/unix/sysv/aix/gettimeofday.c: Likewise. - * sysdeps/unix/common/syscalls.list: Define __gettimeofday alias. - * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise. - * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Likewise. - - * include/sys/stat.h: Declare __fxstat_internal and __fxstat64_internal - and define __fxstate and __fxstat64 macros if not NOT_IN_libc. - Remove __lstat and __fstat inline functions. - * sysdeps/generic/fxstat.c: Use INTDEF for __fxstat. - * sysdeps/mach/hurd/fxstat.c: Likewise. - * sysdeps/unix/fxstat.c: Likewise. - * sysdeps/unix/sysv/aix/fxstat.c: Likewise. - * sysdeps/unix/sysv/linux/fxstat.c: Likewise. - * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: Likewise. - * sysdeps/generic/fxstat64.c: Use INTDEF for __fxstat64. - * sysdeps/mach/hurd/fxstat64.c: Likewise. - * sysdeps/unix/sysv/aix/fxstat64.c: Likewise. - * sysdeps/unix/sysv/linux/fxstat64.c: Likewise. - - * include/unistd.h: Declare __getpid_internal and define - __getpid macro if not NOT_IN_libc. - * sysdeps/mach/hurd/getpid.c: Use INTDEF for __getpid. - * sysdeps/generic/getpid.c: Likewise. - * sysdeps/unix/syscalls.list: Add __getpid_internal alias. - * posix/bsd-getpgrp.c: Use INTUSE for __getpgid call. - - * include/unistd.h: Declare __getpgid_internal and define - __getpgid macro if not NOT_IN_libc. - * sysdeps/generic/getpgid.c: Use INTDEF for __getpgid. - * sysdeps/mach/hurd/getpgid.c: Likewise. - * sysdeps/unix/sysv/aix/getpgid.c: Likewise. - * sysdeps/unix/sysv/sysv4/__getpgid.c: Likewise. - * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise. - * sysdeps/unix/sysv/linux/syscalls.list: Add _getpgid_internal alias. - - * include/unistd.h: Declare __getpagesize_internal and define - __getpagesize macro if not NOT_IN_libc. - * sysdeps/unix/sysv/linux/shmat.c: Include for - __getpagesize. - * sysdeps/generic/getpagesize.c: Use INTDEF for __getpagesize. - * sysdeps/mach/getpagesize.c: Likewise. - * sysdeps/posix/getpagesize.c: Likewise. - * sysdeps/unix/getpagesize.c: Likewise. - * sysdeps/unix/sysv/linux/getpagesize.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Likewise. - -2002-04-13 Andreas Jaeger - - * sysdeps/i386/i486/bits/string.h (__strcspn_cg): Use only memory - as clobber to reduce register pressure. - (__strpbrk_cg): Likewise. - (__mempcpy_by4): Likewise. - (__strstr_cg): Likewise. - Add prototype for __memrchr. - -2002-04-13 Andreas Schwab - - * sysdeps/m68k/fpu/s_finite.c: Add internal alias. - * sysdeps/m68k/fpu/s_finitef.c: Likewise. - * sysdeps/m68k/fpu/s_finitel.c: Likewise. - -2002-04-13 Ulrich Drepper - - * elf/do-lookup.h [!VERSIONED]: Add new parameter flags. Use it to - check whether the caller prefers getting the most recent version of - a symbol of the earliest version. - * elf/dl-lookup.c: Adjust all callers of do_lookup. Change - _dl_do_lookup to also take the new parameter and pass it on. - Change 'explicit' parameter of _dl_lookup_symbol and - _dl_lookup_versioned_symbol to flags. Adjust tests. - * sysdeps/generic/ldsodefs.h: Adjust prototypes. - * elf/dl-libc.c: Adjust all callers of _dl_lookup_symbol and - _dl_lookup_versioned_symbol. - * elf/dl-reloc.c: Likewise. - * elf/dl-runtime.c: Likewise. - * elf/dl-sym.c: Likewise. - * sysdeps/mips/dl-machine.h: Likewise. - -2002-04-11 Jakub Jelinek - - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (LOC): Don't paste - in a token. - * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h (LOC): Likewise. - -2002-04-10 Andreas Jaeger - - * sysdeps/unix/sysv/linux/x86_64/glob.c: New file. - - * include/argz.h: Remove extra char from last patch. - -2002-04-09 Ulrich Drepper - - * sysdeps/mach/hurd/chown.c: Use INTDEF for __chown. - * sysdeps/unix/sysv/aix/chown.c: Likewise. - * sysdeps/unix/grantpt.c: Use INTUSE for __chown calls. - * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise. - * sysdeps/unix/sysv/linux/i386/chown.c: Use INTDEF2 to define - __chown_internal. - * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise. - - * intl/dcngettext.c [_LIBC]: Use INTUSE for __dcngettext. - * intl/dngettext.c [_LIBC] (DCNGETTEXT): Use INTUSE. - * intl/ngettext.c: Likewise. - - * include/sys/socket.h: Declare __connect_internal and define - __connect macro if not NOT_IN_libc. - * sysdeps/mach/hurd/connect.c: Use INTDEF for __connect. - * sysdeps/unix/sysv/aix/connect.c: Likewise. - * sysdeps/unix/sysv/linux/connect.S: Add __connect_internal alias. - - * include/unistd.h: Declare __close_internal and define __close macro - if not NOT_IN_libc. - * libio/libioP.h (JUMO0, JUMP1, JUMP2, JUMP3, WJUMP0, WJUMP1, WJUMP2, - WJUMP3): Add extra parenthesis to avoid expanding element names with - macors like __close. - * sysdeps/unix/syscalls.list: Add __close_internal alias. - - * include/unistd.h: Declare __dup2_internal and define __dup2 macro - if not NOT_IN_libc. - * sysdeps/mach/hurd/dup2.c: Use INTDEF for __dup2. - * sysdeps/posix/dup2.c: Use INTDEF for __dup2. - * sysdeps/unix/syscalls.list: Add __dup2_internal alias. - - * include/unistd.h: Declare __fork_internal and define __fork macro - if not NOT_IN_libc. - * sysdeps/mach/hurd/fork.c: Use INTDEF for __fork. - * sysdeps/unix/sysv/aix/fork.c: Likewise. - * sysdeps/unix/sysv/linux/syscalls.list: Add __fork_internal alias. - - * include/stdio_ext.h: Declare __fsetlocking_internal and define - __fsetlocking macro to use it if not NOT_IN_libc. - * libio/__fsetlocking.c: Use INTDEF for __fsetlocking. - - * libio/__fbufsize.c: Correct copyright. - * libio/__flbf.c: Likewise. - * libio/__fpending.c: Likewise. - * libio/__fpurge.c: Likewise. - * libio/__freadable.c: Likewise. - * libio/__freading.c: Likewise. - * libio/__fsetlocking.c: Likewise. - * libio/__fwritable.c: Likewise. - * libio/__fwriting.c: Likewise. - - * include/stdio.h: Declare __asprintf_internal and define __asprintf - macro to use it if not NOT_IN_libc. - * stdio-common/asprintf.c: Use INTDEF for __asprintf. - - * include/mntent.h: Declare __setmntent_internal, - __getmntent_r_internal, __endmntent_internal. Define __setmntent, - __getmntent_r, and __endmntent macros to use these functions if not - NOT_IN_libc. - * misc/mntent_r.c: Use INTDEF for __setmntent, __getmntent_r, and - __endmntent. - - * include/math.h: Declare __finite_internal, __finitef_internal, and - __finitel_internal. Redefine isfinite macro if in libc or libm using - these functions. - * sysdeps/generic/s_ldexp.c: Use INTUSE for __finite calls. - * sysdeps/generic/s_ldexpf.c: Use INTUSE for __finitef calls. - * sysdeps/generic/s_ldexpl.c: Use INTUSE for __finitel calls. - * sysdeps/i386/fpu/s_finite.S: Define _internal alias. - * sysdeps/i386/fpu/s_finitef.S: Likewise. - * sysdeps/i386/fpu/s_finitel.S: Likewise. - * sysdeps/ieee754/dbl-64/s_finite.c: Likewise. - * sysdeps/ieee754/flt-32/s_finitef.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise. - - * include/fcntl.h: Declare __fcntl_internal. Define __fcntl macro - to use this function if not NOT_IN_libc. - * libio/iofdopen.c (_IO_fcntl): Use INTUSE. - * sysdeps/generic/fcntl.c: Use INTDEF for __fcntl. - * sysdeps/mach/hurd/fcntl.c: Likewise. - * sysdeps/unix/sysv/aix/fcntl.c: Likewise. - * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise. - - * include/argz.h: Declare __argz_count_internal and - __argz_stringify_internal. - * intl/l10nflist.c [_LIBC]: Use INTUSE for __argz_count and - __argz_stringify. - * string/argz-count.c: Use INTDEF for __argz_count. - * string/argz-stringify.c: Use INTDEF for __argz_stringify. - - * include/stdlib.h: Declare __cxa_atexit_internal and define - __cxa_atexit macro if not NOT_IN_libc. - * stdlib/cxa_atexit.c: Use INTDEF for __cxa_atexit. - * dlfcn/Makefile: Define NOT_IN_libc when compiling modcxaatexit.c. - - * assert/assert.c: Use INTDEF for __assert_fail. - * assert/__assert.c: Use INTUSE for call to __assert_fail. - * include/assert.h: Declare __assert_fail_internal. - - * extra-lib.mk: Mark assignment to lib with override. - -2002-04-08 Ulrich Drepper - - * Makerules: Use cppflags-iterator.mk to add defines for all test - source files. - -2002-04-08 kaz Kojima - - * elf/elf.h: Define R_SH_TLS_xxx macros. - * elf/rtld.c: Remove an extra parenthesis. - * elf/tls-macros.h: Define SH version TLS_LE, TLS_IE, TLS_LD and - TLS_GD macros. - * sysdeps/generic/dl-tls.c: Add a missing semi-colon. - * sysdeps/sh/dl-lookupcfg.h: New file. - * sysdeps/sh/dl-tls.h: New file. - * sysdeps/sh/dl-machine.h (elf_machine_type_class): Set - ELF_RTYPE_CLASS_PLT also for the three TLS relocations. - (elf_machine_rela): Handle R_SH_TLS_DTPMOD32, R_SH_TLS_DTPOFF32 and - R_SH_TLS_TPOFF32 relocations. - -2002-04-08 Ulrich Drepper - - * cppflags-iterator.mk (cpp-srcs-left): Define NOT_IN_libc instead - of NOT_IN_LIBC. - * include/libintl.h: Test for NOT_IN_libc not NOT_IN_LIBC. - * include/stdlib.h: Likewise. - -2002-04-08 Jakub Jelinek - - * elf/Makefile (CFLAGS-.os): Define NOT_IN_libc and IS_IN_rtld - instead of _RTLD_LOCAL. - * elf/dl-dst.h: Use IS_IN_rtld instead of _RTLD_LOCAL. - * include/unistd.h: Likewise. - * sysdeps/generic/ldsodefs.h: Likewise. - - * stdio-common/_itoa.h (_itoa_word): Only use internal digit arrays - if in libc or ld.so. - -2002-04-08 Andreas Jaeger - - * elf/cache.c (print_entry): Support x86-64. - -2002-04-08 Ulrich Drepper - - * include/stdlib.h: For libc itself replace MB_CUR_MAX definition - with one accessing the locale data structures directly. - * stdio-common/printf-prs.c: Include localeinfo.h for new - MB_CUR_MAX definition. - - * Makeconfig (CPPFLAGS): Also add CPPFLAGS- where - is the name of the source file without extension. - * Makefile (distribute): Add cppflags-iterator.mk. - * cppflags-iterator.mk: New file. - * extra-lib.mk: For the sources of the library run - cppflags-iterator.mk. - - * include/libintl.h: Declare __dcgettext_internal and - _libc_intl_domainname_internal. Define __dcgettext using these - two symbols if used in libc itself. - * argp/argp-help.c: Define dgettext using __dcgettext_internal and - _libc_intl_domainname_internal. - * argp/argp-parse.c: Likewise. - * intl/dcgettext.c (__dcgettext): Use INTDEF to define alias. - * intl/dgettext.c: Call __dcgettext_internal instead of __dcgettext. - * intl/gettext.c: Likewise. - * locale/SYS_libc.c (_libc_intl_domainname): Use INTDEF to define + * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl alias. - * posix/regcomp.c (gettext): Use __dcgettext_internal instead of - __dcgettext. - * posix/regex_internal.c (gettext): Likewise. -2002-04-08 Andreas Jaeger + * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias. - * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Fix rewrite rule. +2001-04-04 Ulrich Drepper - * sysdeps/x86_64/fpu/s_llrint.S: New file. - * sysdeps/x86_64/fpu/s_llrintf.S: New file. - * sysdeps/x86_64/fpu/s_llrintl.S: New file. - * sysdeps/x86_64/fpu/s_lrint.S: New file. - * sysdeps/x86_64/fpu/s_lrintf.S: New file. - * sysdeps/x86_64/fpu/s_lrintl.S: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h. + * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise. -2002-04-08 Roland McGrath +2001-04-04 Martin Schwidefsky - * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Use MAP_FAILED instead of - widening __hurd_fail value. + * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file. + * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file. + * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file. + * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file. -2002-04-07 Roland McGrath +2001-04-04 Andreas Jaeger - * sysdeps/mach/hurd/alpha/trampoline.c: Don't include - . - (_hurd_setup_sighandler): Take proper arguments for current decls. - Update code to use _hurdsig_catch_fault. - Use `callsys' instruction instead of `call_pal'. - * sysdeps/mach/hurd/alpha/intr-msg.h: New file. + * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right + place. - * sysdeps/mach/alpha/sysdep.h: Include . - (ALIGN, at, AT, fp): New macros. +2001-04-04 Ulrich Drepper -2002-04-06 Roland McGrath + * sunrpc/rpc_scan.c (symbols): Add entry for HYPER. + * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER. + * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER. + (unsigned_dec): Likewise. + Patch by atai@jezebel.dreamhost.com. - * mach/setup-thread.c (__mach_setup_thread): int -> natural_t + * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass + pointer to int as last parameter of yp_match. + Patch by kanazawa@flab.fujitsu.co.jp. - * sysdeps/mach/hurd/dl-sysdep.c: Use ElfW(TYPE) in place of Elf32_TYPE. - (__mmap): Use MAP_FAILED instead of widening __hurd_fail value. +2001-04-03 Ulrich Drepper - * sysdeps/mach/hurd/bind.c: Use prototype definition. - * sysdeps/mach/hurd/connect.c: Likewise. - * sysdeps/mach/hurd/getsockopt.c: Likewise. - * sysdeps/mach/hurd/setsockopt.c: Likewise. + * resolv/netdb.h (gai_strerror): Make return value const. + * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise. + * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise. + Add strings for new error values. - * sysdeps/mach/hurd/alpha/sigreturn.c: Pass missing argument to - __msg_sig_post RPC. +2001-03-29 Michael Keezer - * hurd/catch-exc.c: Use integer_t instead of int. - * hurd/hurdfault.c: Likewise. + * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE. + * login/tst-utmp.c: Handle case where ut_tv is not available but + ut_time is. + * sysdeps/unix/sysv/aix/utmpx.h: New file. + * sysdeps/unix/sysv/aix/bits/utmpx.h: Added + _HAVE_UT_TYPE/PID/ID/TV/HOST defines. + * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub. + * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines + to access RTCU timer reg. + * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o + added dl-libc, dl-open,dl-sym, dl-close to misc. + * sysdeps/unix/sysv/aix/start.c: New file. Start code. + * sysdeps/unix/sysv/aix/dlldr.h: New file. AIX __loadx defines. + * sysdeps/unix/sysv/aix/dl-close.c: New file. AIX dl-close. + * sysdeps/unix/sysv/aix/dl-open.c: New file. AIX dl-open. + * sysdeps/unix/sysv/aix/dl-sym.c: New file. AIX dl-sym. + * sysdeps/unix/sysv/aix/dl-libc.c: New file. libc_dl-xxx support. + * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0, + GLIBC_2_2). + * sysdeps/generic/strtoull.c: Likewise. + * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction. + * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include + sysdeps/generic/memset.c. + * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername. - * sysdeps/mach/hurd/alpha/exc2signal.c - (_hurd_exception2signal): Rewritten. - * sysdeps/mach/hurd/alpha/longjmp-ts.c - (_hurd_longjmp_thread_state): Rewritten. +2001-04-03 Ulrich Drepper -2002-04-07 Ulrich Drepper + * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER. + * locale/programs/charmap.c: Define null_pointer if + NEED_NULL_POINTER is defined. - * nss/getXXbyYY_r.c: If NSS_attribute_hidden is defined use it with the - DB_LOOKUP_FCT prototype. - * nss/getXXent_r.c: Likewise. - * inet/getaliasent_r.c: Define NSS_attribute_hidden. - * inet/getaliasname_r.c: Likewise. - * inet/getnetbyad_r.c: Likewise. - * inet/getnetbynm_r.c: Likewise. - * inet/getnetent_r.c: Likewise. - * inet/getproto_r.c: Likewise. - * inet/getprtent_r.c: Likewise. - * inet/getprtname_r.c: Likewise. - * inet/getrpcbyname_r.c: Likewise. - * inet/getrpcbynumber_r.c: Likewise. - * inet/getrpcent_r.c: Likewise. - * inet/getservent_r.c: Likewise. - * inet/getsrvbynm_r.c: Likewise. - * inet/getsrvbypt_r.c: Likewise. - * shadow/getspent_r.c: Likewise. - * shadow/getspnam_r.c: Likewise. + * misc/dirname.c (dirname): Handle multiple slashes correctly. - * malloc/thread-m.h: Define __libc_tsd_MALLOC_data as static. +2001-04-03 Martin Schwidefsky - * sysdeps/i386/elf/bsd-setjmp.S: Use GOTOFF for __sigjmp_save access. - Use i686-friendly PIC code. - * sysdeps/i386/elf/setjmp.S: Likewise. + * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access. - * sysdeps/unix/sysv/linux/i386/sysdep.h: Use i686-friendly PIC code. +2001-04-03 Martin Schwidefsky - * sysdeps/mach/hurd/Versions: Add _dl_init_first to libc and ld export - list. - * elf/Versions: Remove it here. + * sysdeps/s390/s390-32/bcopy.S: Optimize for speed. + * sysdeps/s390/s390-64/bcopy.S: Likewise. + * sysdeps/s390/s390-32/mempcy.S: Likewise. + * sysdeps/s390/s390-64/memcpy.S: Likewise. -2002-04-06 Ulrich Drepper +2001-04-02 Bruno Haible - * iconvdata/tcvn5712-1.c (MAX_NEEDED_INPUT): Define for from - direction. Reported by H . J . Lu . + * manual/message.texi (Advanced gettext functions): More specific + syntax in the plural formula examples. -2002-04-05 Ulrich Drepper +2001-04-02 Franz Sirl - * intl/tst-gettext.sh: Set GCONV_PATH and LOCPATH to values for the - test just before the test runs. - * intl/tst-translit.sh: Likewise. - * intl/tst-codeset.sh: Likewise. + * sysdeps/powerpc/atomicity.h: Silence warnings. + * sysdeps/powerpc/dl-machine.h: Likewise. + * sysdeps/powerpc/register-dump.h: Likewise. + * sysdeps/powerpc/fpu/s_lrint.c: Likewise. - * timezone/zic.c: Update from tzcode2002c. - * timezone/asia: Update from tzdata2002c. +2001-04-02 Andreas Jaeger + + * misc/tst-dirname.c (main): Add more tests, derived from a bug + report by Michael Kerrisk . + +2001-04-01 Andreas Jaeger + + * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so + is installed there. + * malloc/memusage.sh (memusageso): Likewise for libmemusage.so. + +2001-04-01 H.J. Lu + + * posix/annexc.c (macrofile): Renamed from TMPFILE and set to + tmpnam (NULL). + * stdlib/isomac.c (macrofile): Likewise. + +2001-03-30 Thorsten Kukuk + + * inet/rcmd.c: Allow AF_UNSPEC as parameter. + * nis/ypclnt.c (yp_all): Print error message only at last try, + check for protocoll error only if we don't have a network error. + +2001-04-02 Andreas Schwab + + * resolv/res_data.c (res_isourserver): Fix cast. + +2001-04-02 Andreas Jaeger + + * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for + __umount2. + + * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line + strings. + (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise. + + * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount + initializers. + * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise. + + * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid + warning about unused variable. + + * string/string.h (strndupa): Add cast for C++ conformance. + (strdupa): Likewise. + Fixes PR libc/2173, reported by tbrowder@home.com. + +2001-03-30 Roland McGrath + + * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append + options after $(build-module), which is no longer a single command. + (LDFLAGS-link-rpcuserlibs): New variable to hold those options. + (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New + variables using it. Reported by Mark Kettenis . + +2001-03-11 Roland McGrath + + * elf/rtld.c (dl_main): Add cast to quiet warning. + * elf/dl-load.c (_dl_map_object_from_fd): Likewise. + * iconv/gconv_conf.c (__gconv_get_path): Likewise. + (__gconv_read_conf): Likewise. + * iconv/gconv_db.c (gen_steps): Likewise. + (__gconv_find_transform): Likewise. + * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise. + (fopen_uncompressed): Use const in second argument's type. + +2001-03-11 Roland McGrath + + * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function. + + * mach/mach_error.h: Fix ancient #endif syntax. + * hurd/hurdmalloc.c: Likewise. + + * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add, + compare_and_swap): Add volatile qualifier to first arg, to bring + these prototypes in line with all the other implementations. + Add a #warning to remind the builder that these are not atomic. + +2001-03-04 Roland McGrath + + * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first + member of TEMP_F so its type is _IO_FILE * as expected. + + * hurd/fopenport.c (seekio): Conditionalize type of POS argument + on [USE_IN_LIBIO]. Check the value for overflow, since for libio + it might exceed off_t's range. + +2001-02-25 Roland McGrath + + * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype. + * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise. + + * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a + macro instead of an inline function, + (MSG_EXAMINE): Likewise. + + * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##. + + * hurd/get-host.c: Include for decls of built-ins. + * hurd/hurdchdir.c: Likewise. + * sysdeps/mach/hurd/i386/sigreturn.c: Likweise. + * sysdeps/mach/hurd/opendir.c: Likewise. + + * mach/mach_init.c: Include for _exit decl. + + * mach/errsystems.awk: Give output file a trailing newline. + + * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that + the script will use our compiler for the cpp stage. + + With --enable-all-warnings we get a whole bunch of warnings, + and these are just a few fixes; there are more needed to silence it. + * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern + decls before extern inline defns to quiet gcc warning. + * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise. + * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise. + +2001-03-31 Andreas Jaeger + + * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added. + (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO. + (ARPHRD_CISCO): New. + Changes from Linux 2.4.3. + +2001-03-30 Isamu Hasegawa + + * posix/regex.c: Avoid an access violation if malloc fails. + +2001-03-30 Andreas Jaeger + + * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv. + +2001-03-29 Ulrich Drepper + + * posix/regex.c: Remove unnecessary ifs. + + * math/bits/mathcalls.h: Remove infnan declaration. + +2001-03-29 H.J. Lu + + * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, + and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined. + * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC. + +2001-03-29 Isamu Hasegawa + + * posix/regex.c: Fix typo and add a sentinel. + +2001-03-29 Ulrich Drepper + + * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with + O_NOFOLLOW. Suggested by Christoph Roland. + +2001-03-27 Martin Schwidefsky + + * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h. + * sysdeps/s390/s390-32/bits/string.h: Remove. + * sysdeps/s390/s390-64/bits/string.h: Remove. + * sysdeps/s390/s390-32/strcmp.S: New file. + * sysdeps/s390/s390-64/strcmp.S: New file. + +2001-03-27 Martin Schwidefsky + + * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo. + * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise. + +2001-03-27 Ulrich Drepper + + * version.h (VERSION): Bump to 2.2.3. + + * stdlib/isomac.c (fmt): Don't define _LIBC. + * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and + LOW_HALF only if _LIBC is defined. + + * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error. + + * posix/fnmatch_loop.c (FCT): Handle !() after * special like @() + and +(). + * posix/tst-fnmatch.input: Add test cases for matching empty strings. + + * sysdeps/ieee754/dbl-64/endian.h: Removed. Move definitions... + * include/endian.h: ...to here. + +2001-03-27 kaz Kojima + + * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG. + * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise. + +2001-03-27 Martin Schwidefsky + + * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo. + +2001-03-26 Ulrich Drepper + + * sysdeps/ia64/fpu/Dist: Add new files to distribute. + * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise. + * sysdeps/unix/sysv/linux/ia64/Dist: Likewise. + + * gmon/Makefile (headers): Add sys/profil.h. + +2001-03-18 Andreas Jaeger + + * manual/install.texi (Tools for Compilation): Advise to use GCC + 2.95.3. + (Supported Configurations): Mention s390x. + +2001-03-26 Ben Collins + + * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_* + defines to match other architectures. + +2001-03-26 Ulrich Drepper + + * libio/Makefile (tests): Add tst-ext. + * libio/tst-ext.c: New file. + + * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF. + +2001-03-25 Ulrich Drepper + + Add changes which were in this form in the original patch by + Eric Norum . + * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and + svc_max_pollfd. + * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset, + __rpc_thread_createerr, __rpc_thread_svc_pollfd, and + __rpc_thread_svc_max_pollfd. + Define svc_fdset, get_rpc_createerr, svc_pollfd, and + svc_max_pollfd. + * sunrpc/rpc_thread.c: Handle first thread special, it uses the + global variables. + Define __rpc_thread_svc_fdset, __rpc_thread_createerr, + __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd. + * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_svc_fdset, + __rpc_thread_createerr, __rpc_thread_svc_pollfd, and + __rpc_thread_svc_max_pollfd. + * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to + get_rpc_createerr. + * sunrpc/clnt_perr.c: Likewise. + * sunrpc/clnt_simp.c: Likewise. + * sunrpc/clnt_tcp.c: Likewise. + * sunrpc/clnt_udp.c: Likewise. + * sunrpc/clnt_unix.c: Likewise. + * sunrpc/pm_getport.c: Likewise. + + * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32 + syscall checks for negative n so don't test here as well. + +2001-03-23 Jes Sorensen + + * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ... + * sysdeps/ia64/sysdep.h: ...here. + + * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define. + * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define. + + * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to + declare instead of LEAF(). Suggestion from David Mosberger. + +2001-03-21 David Mosberger + + * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind + directives. + (PSEUDO): Drop .psr and .lsb directives. + + * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto. Add unwind + directives. + * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto. + + * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb + directives etc. + * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto. + * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto. + * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no + longer needed). Add unwind directives. + + * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS, + ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE. + +2001-03-21 Paul Eggert + + * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro. + (RE_SYNTAX_POSIX_EGREP): Use it. + * posix/regex.c (regex_compile): Implement it. + +2001-03-21 Paul Eggert + + * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow. + Rewrite to avoid duplicate code. + +2001-03-21 H.J. Lu + + * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out + for cross-compiling. + ($(objpfx)tst-pathopt.out): Undo the last change. + +2001-03-24 Mark Kettenis + + * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc, + sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl. + + * sysdeps/mach/hurd/i386/init-first.c: Include . + (_dl_argv): Declare. + (init) [SHARED]: Readjust _dl_argv if we switched to a new stack. + +2001-03-22 Andreas Jaeger + + * iconvdata/Makefile (generated): Add iconv-test.xxx. + + * posix/Makefile (generated): Add bug-regex2.mtrace and + bug-regex2-mem. + +2001-03-21 Ulrich Drepper + + * csu/version.c (__gnu_get_libc_release): Add prototype. + (__gnu_get_libc_version): Likewise. + * include/gnu/libc-version.h: Remove prototypes for not exported + functions. + +2001-03-21 Jes Sorensen + + * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h + for internationalized printfs to work. + +2001-03-09 Bruno Haible + + * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to + avoid compiler warning. + (_nl_find_msg): Add casts to avoid compiler warnings. + +2001-03-21 Ulrich Drepper + + * gmon/Makefile (routines): Add sprofil. + (tests): Add tst-sprofil. + (noprof): Add sprofil. + * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil. + +2001-03-20 David Mosberger + + * sysdeps/generic/sprofil.c: New file. + * sysdeps/posix/sprofil.c: New file. + * gmon/tst-sprofil.c: New file. + * gmon/sys/profil.h: New file. + +2001-03-20 Andreas Schwab + + * include/unistd.h: Adjust prototype of __gethostname. + +2001-03-20 Jakub Jelinek + + * sysdeps/sparc/stackinfo.h: New file. + +2001-03-21 Andreas Jaeger + + * elf/global.c (main): Use proper prototype. + +2001-03-20 Ulrich Drepper + + * sunrpc/Makefile (routines): Add rpc_thread. + (CPPFLAGS): Add -D_RPC_THREAD_SAFE. + * sunrpc/rpc_thread.c: New file. + * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy. + * sunrpc/auth_none.c: Don't use global variables. Access state in + thread-local storage. + * sunrpc/clnt_perr.c: Likewise. + * sunrpc/clnt_raw.c: Likewise. + * sunrpc/clnt_simp.c: Likewise. + * sunrpc/key_call.c: Likewise. + * sunrpc/rpc_common.c: Likewise. + * sunrpc/svc.c: Likewise. + * sunrpc/svc_raw.c: Likewise. + * sunrpc/svc_simple.c: Likewise. + * sunrpc/svcauth_des.c: Likewise. + * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add + _HURD_THREADVAR_RPC_VARS. + * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS. + * include/rpc/rpc.h: Define data structures for internal thread-local + "global" variables. + Based on patches by Eric Norum . + + * elf/dl-load.c: Various little optimizations. + + * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return + LINUX_LINK_MAX only if the statfs function is not implemented for + the filesystem. + + * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return + LINUX_LINK_MAX only if the fstatfs function is not implemented for + the filesystem. + +2001-03-19 Ulrich Drepper + + * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect. + + * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust. + (_dl_dst_substitute): Likewise. + +2001-03-17 Bruno Haible + + * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64. + +2001-03-17 Bruno Haible + + * intl/gettextP.h (struct expression): Add operators lnot, less_than, + greater_than, less_or_equal, greater_or_equal. Replace args2/args3 + union by a 'nargs' counter and an 'args[]' array. + * intl/plural.y: Don't include stdarg.h. + (new_exp): Take an array of arguments instead of varargs. + (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions. + ('?' ':'): Make right-associative. + (EQUOP2): New token, replaces '=' and '!'. + (CMPOP2): New token. + (ADDOP2): New token, replaces '+' and '-'. + (MULOP2): New token, replaces '*', '/' and '%'. + ('!'): New token. + (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT. + (start): Call YYABORT here. + (FREE_EXPRESSION): Update. + (yylex): Don't skip "\\n". Recognize comparison and '!' operators. + Update for new token symbols. + * intl/loadmsgcat.c (plvar, plone, germanic_plural, + init_germanic_plural): Update. + * intl/dcigettext.c (_nl_find_msg): Optimize for space. + (plural_eval): Recognize comparison and '!' operators. Optimize for + space. + +2001-03-10 Bruno Haible + + * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return + NULL any more. + +2001-01-05 Bruno Haible + + * intl/loadmsgcat.c: Include headers needed for alloca(). + (freea): New macro. + (_nl_load_domain): Add fallback code for platforms lacking alloca. + * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros. + (freea): New macro. + (read_alias_file): Simplify fallback code for platforms lacking + alloca. + +2001-01-07 Bruno Haible + + * intl/gettextP.h (__gettextdebug): Remove declaration. + (__gettext_free_exp, __gettextparse): Convert prototype to K&R C + syntax. + (gettext_free_exp__, gettextparse__): New non-libc declarations. + * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__, + not __gettextparse, __gettext_free_exp. + * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse. + +2001-02-24 Bruno Haible + + * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL. + +2001-01-05 Bruno Haible + + * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms + lacking strtoul, like SunOS4. + +2001-01-05 Bruno Haible + + * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower. + +2001-01-05 Bruno Haible + + * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C + syntax. + * intl/dcigettext.c (transcmp): Convert to K&R C syntax. + * intl/explodename.c (_nl_find_language): Convert to K&R C syntax. + * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C + syntax. + +2001-01-07 Bruno Haible + + * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__, + bindtextdomain__, bind_textdomain_codeset__): New declarations, from + old libgettext.h. + * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h. + * intl/dcgettext.c: Likewise. + * intl/dcigettext.c: Likewise. + * intl/dcngettext.c: Likewise. + * intl/dngettext.c: Likewise. + * intl/finddomain.c: Likewise. + * intl/ngettext.c: Likewise. + * intl/textdomain.c: Likewise. + * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h. + Include gettextP.h. + * intl/gettext.c: Likewise. Don't include locale.h. + +2001-03-17 Bruno Haible + + * intl/gettextP.h (ZERO): New macro. + (struct binding): Always use ZERO. + * intl/bindtextdom.c (offsetof): Provide fallback for platforms that + lack it, like SunOS4. + (set_binding_values): Use offsetof, not sizeof. + * intl/dcigettext.c (offsetof): Provide fallback for platforms that + lack it, like SunOS4. + (ZERO): Remove macro. + (struct transmem_list): Use ZERO. + (DCIGETTEXT): Use offsetof, not sizeof. + +2001-03-17 Bruno Haible + + * intl/gettextP.h: Include . Include gettext.h, for + nls_uint32. + * intl/bindtextdom.c: Don't include gettext.h. + * intl/dcgettext.c: Likewise. + * intl/dcigettext.c: Likewise. + * intl/dcngettext.c: Likewise. + * intl/dngettext.c: Likewise. + * intl/finddomain.c: Likewise. + * intl/localealias.c: Likewise. + * intl/ngettext.c: Likewise. + * intl/plural.y: Likewise. + * intl/textdomain.c: Likewise. + +2001-03-17 Bruno Haible + + * intl/gettext.h: Don't include . + +2001-03-17 Bruno Haible + + * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR. + * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR. + +2001-03-19 Ulrich Drepper + + * sysdeps/unix/i386/i686/tempname.c: New file. + + * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is + defined use this macro to get some bits of randomness instead of + the usual gettimeofday or time calls. + +2001-03-16 Paul Eggert + + * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if + not defined, and if UINT64_MAX is not defined. + +2001-03-19 Ulrich Drepper + + * elf/cache.c: Mark and have translated a few more messages. + +2001-03-19 Martin Schwidefsky + + * elf/cache.c: Add case for FLAG_S390_LIB64. + * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64. + * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file. + * sysdeps/unix/sysv/linux/s390/readelflib.c: New file. + +2001-03-19 Ulrich Drepper + + * string/Makefile (tests): Add tst-strxfrm. + * string/tst-strxfrm.c: New file. Based on a test case by Paul Eggert. + * string/Depend: New file. + +2001-03-19 Paul Eggert + + * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1, + when given the empty string in nontrivial locales. + +2001-03-17 H.J. Lu + + * manual/Makefile (install): Use $(INSTALL_DATA) instead of + cp to install `dir'. + +2001-03-19 Andreas Schwab + + * Makerules (build-shlib): Make sure exit codes get checked + properly. + +2001-03-18 Ulrich Drepper + + * Makerules (build-shlib): Remove unnecessary slashes introduced in + last change. + + * configure.in: Test for -Bgroup option of linker. + * config.make.in: Define have-Bgroup. + + * conform/data/unistd.h-data: Require gethostname. + * posix/unistd.h: Make gethostname prototype available for + __USE_XOPEN2K. + + * crypt/Makefile: When generating DSO link with libc_nonshared.a. + * debug/Makefile: Likewise. + * dlfcn/Makefile: Likewise. + * hesiod/Makefile: Likewise. + * iconvdata/extra-module.mk: Likewise. + * locale/Makefile: Likewise. + * login/Makefile: Likewise. + * math/Makefile: Likewise. + * nis/Makefile: Likewise. + * nss/Makefile: Likewise. + * resolv/Makefile: Likewise. + * rt/Makefile: Likewise. + +2001-03-17 Ulrich Drepper + + * inet/Makefile (tests): Remove left-over comment. + + * posix/unistd.h (gethostname): Change type of second parameter + back to size_t as per upcoming XPG6. + * sysdeps/unix/sysv/aix/gethostname.c: Change type of second + parameter back to size_t as per upcoming XPG6. + * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise. + * sysdeps/unix/sysv/gethostname.c: Likewise. + * sysdeps/mach/hurd/gethostname.c: Likewise. + * sysdeps/generic/gethostname.c: Likewise. + +2001-03-16 Ulrich Drepper + + * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): + Handle NaN here. + + * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): + Internationalize. + +2001-02-06 Jakub Jelinek + + * elf/dl-load.c (_dl_map_object): Don't test l_opencount when + looking for name matches. + +2001-02-26 Jakub Jelinek + + * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define. + * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise. + * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise. + * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise. + * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise. + * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise. + * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise. + +2001-03-16 Ulrich Drepper + + * sysdeps/ieee754/ldbl-96/s_erfl.c: New file. + Contributed by Stephen L. Moshier . + + * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and + erfcl. + * sysdeps/ia64/fpu/libm-test-ulps: Likewise. + +2001-03-16 David Mosberger + + * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext): + Drop hack that was needed for 2.1.1 kernel headers. + + * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file. + + * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it + overlay with kernel's "struct sigcontext". + + * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add + sys/rse.h for "misc" subdir. + (sysdep_routines): Add __start_context for "stdlib" subdir. + + * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on + kernel file of the same name). + + * stdlib/Makefile (tests): Add tst-setcontext. + * stdlib/tst-setcontext.c: New file (based on a sample program by + Uli Drepper). + + * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file. + * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file. + * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file. + * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file. + * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file. + + * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u + instead of shift & and. + +2001-03-16 Martin Schwidefsky + + * sysdeps/s390/s390-64/bits/huge_val.h: Move to... + * sysdeps/s390/bits/huge_val.h: ...here. + * sysdeps/s390/s390-32/bit/huge_val.h: Remove. + * sysdeps/s390/s390-64/ffs.c: Move to... + * sysdeps/s390/ffs.c: ...here. + * sysdeps/s390/s390-32/ffs.c: Remove. + +2001-03-16 Jakub Jelinek + + * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead + update osversion from more recent library. + +2001-03-13 Martin Schwidefsky + + * sysdeps/unix/sysv/linux/s390/Dist: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here. + * sysdeps/unix/sysv/linux/s390/Makefile: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here. + * sysdeps/unix/sysv/linux/s390/Versions: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here. + * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here. + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here. + * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here. + * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here. + * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here. + * sysdeps/unix/sysv/linux/s390/chown.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here. + * sysdeps/unix/sysv/linux/s390/clone.S: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here. + * sysdeps/unix/sysv/linux/s390/fchown.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here. + * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here. + * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here. + * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here. + * sysdeps/unix/sysv/linux/s390/getegid.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here. + * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here. + * sysdeps/unix/sysv/linux/s390/getgid.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here. + * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here. + * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here. + * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here. + * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here. + * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here. + * sysdeps/unix/sysv/linux/s390/getuid.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here. + * sysdeps/unix/sysv/linux/s390/lchown.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here. + * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here. + * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here. + * sysdeps/unix/sysv/linux/s390/mmap.S: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here. + * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here. + * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here. + * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here. + * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here. + * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here. + * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here. + * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here. + * sysdeps/unix/sysv/linux/s390/semctl.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here. + * sysdeps/unix/sysv/linux/s390/setegid.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here. + * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here. + * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here. + * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here. + * sysdeps/unix/sysv/linux/s390/setgid.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here. + * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here. + * sysdeps/unix/sysv/linux/s390/setregid.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here. + * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here. + * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here. + * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here. + * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here. + * sysdeps/unix/sysv/linux/s390/setuid.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here. + * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here. + * sysdeps/unix/sysv/linux/s390/socket.S: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here. + * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here. + * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here. + * sysdeps/unix/sysv/linux/s390/syscall.S: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here. + * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here. + * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here. + * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. + * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here. + * sysdeps/unix/sysv/linux/s390/xstat.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here. + +2001-03-13 Martin Schwidefsky + + * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file. + * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file. + +2001-03-13 Martin Schwidefsky + + * sysdeps/s390/Dist: Move to... + * sysdeps/s390/390-32/Dist: ...here. + * sysdeps/s390/Implies: Move to... + * sysdeps/s390/s390-32/Implies: ...here. + * sysdeps/s390/Makefile: Move to... + * sysdeps/s390/s390-32/Makefile: ...here. + * sysdeps/s390/Versions: Move to... + * sysdeps/s390-32/s390/Versions: ...here. + * sysdeps/s390/add_n.S: Move to... + * sysdeps/s390/s390-32/add_n.S: ...here. + * sysdeps/s390/addmul_1.S: Move to... + * sysdeps/s390/s390-32/addmul_1.S: ...here. + * sysdeps/s390/atomicity.h: Move to... + * sysdeps/s390/s390-32/atomicity.h: ...here. + * sysdeps/s390/backtrace.c: Move to... + * sysdeps/s390/s390-32/backtrace.c: ...here. + * sysdeps/s390/bcopy.S: Move to... + * sysdeps/s390/s390-32/bcopy.S: ...here. + * sysdeps/s390/bits/byteswap.h: Move to... + * sysdeps/s390/s390-32/bits/byteswap.h: ...here. + * sysdeps/s390/bits/huge_val.h: Move to... + * sysdeps/s390/s390-32/bits/huge_val.h: ...here. + * sysdeps/s390/bsd-_setjmp.S: Move to... + * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here. + * sysdeps/s390/bsd-setjmp.S: Move to... + * sysdeps/s390/s390-32/bsd-setjmp.S: ...here. + * sysdeps/s390/bzero.S: Move to... + * sysdeps/s390/s390-32/bzero.S: ...here. + * sysdeps/s390/elf/bsd-_setjmp.S: Move to... + * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here. + * sysdeps/s390/elf/bsd-setjmp.S: Move to... + * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here. + * sysdeps/s390/elf/start.S: Move to... + * sysdeps/s390/s390-32/elf/start.S: ...here. + * sysdeps/s390/ffs.c: Move to... + * sysdeps/s390/s390-32/ffs.c: ...here. + * sysdeps/s390/memchr.S: Move to... + * sysdeps/s390/s390-32/memchr.S: ...here. + * sysdeps/s390/memcpy.S: Move to... + * sysdeps/s390/s390-32/memcpy.S: ...here. + * sysdeps/s390/memset.S: Move to... + * sysdeps/s390/s390-32/memset.S: ...here. + * sysdeps/s390/mul_1.S: Move to... + * sysdeps/s390/s390-32/mul_1.S: ...here. + * sysdeps/s390/s390-mcount.S: Move to... + * sysdeps/s390/s390-32/s390-mcount.S: ...here. + * sysdeps/s390/strcpy.S: Move to... + * sysdeps/s390/s390-32/strcpy.S: ...here. + * sysdeps/s390/strncpy.S: Move to... + * sysdeps/s390/s390-32/strncpy.S: ...here. + * sysdeps/s390/sub_n.S: Move to... + * sysdeps/s390/s390-32/sub_n.S: ...here. + +2001-03-13 Martin Schwidefsky + + * sysdeps/s390/s390-64/Dist: New file. + * sysdeps/s390/s390-64/Implies: New file. + * sysdeps/s390/s390-64/Makefile: New file. + * sysdeps/s390/s390-64/__longjmp.c: New file. + * sysdeps/s390/s390-64/add_n.S: New file. + * sysdeps/s390/s390-64/atomicity.h: New file. + * sysdeps/s390/s390-64/backtrace.c: New file. + * sysdeps/s390/s390-64/bcopy.S: New file. + * sysdeps/s390/s390-64/bits/byteswap.h: New file. + * sysdeps/s390/s390-64/bits/huge_val.h: New file. + * sysdeps/s390/s390-64/bits/setjmp.h: New file. + * sysdeps/s390/s390-64/bits/string.h: New file. + * sysdeps/s390/s390-64/bsd-_setjmp.S: New file. + * sysdeps/s390/s390-64/bsd-setjmp.S: New file. + * sysdeps/s390/s390-64/bzero.S: New file. + * sysdeps/s390/s390-64/dl-machine.h: New file. + * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file. + * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file. + * sysdeps/s390/s390-64/elf/setjmp.S: New file. + * sysdeps/s390/s390-64/elf/start.S: New file. + * sysdeps/s390/s390-64/ffs.c: New file. + * sysdeps/s390/s390-64/initfini.c: New file. + * sysdeps/s390/s390-64/memchr.S: New file. + * sysdeps/s390/s390-64/memcpy.S: New file. + * sysdeps/s390/s390-64/memset.S: New file. + * sysdeps/s390/s390-64/s390x-mcount.S: New file. + * sysdeps/s390/s390-64/setjmp.S: New file. + * sysdeps/s390/s390-64/strcpy.S: New file. + * sysdeps/s390/s390-64/strncpy.S: New file. + * sysdeps/s390/s390-64/sub_n.S: New file. + * sysdeps/s390/s390-64/sysdep.h: New file. + +2001-03-13 Martin Schwidefsky + + * scripts/config.guess: Add support for Linux on 64 bit S/390. + * scripts/config.sub: Likewise. + +2001-03-13 Martin Schwidefsky + + * configure.in: Add support for 64 bit S/390. + + * elf/elf.h: Add new relocations for 64 bit S/390. + + * shlib-versions: Add rules for Linux on 64 bit S/390. + +2001-03-13 Martin Schwidefsky + + * sysdeps/s390/__longjmp.c: Move to... + * sysdeps/s390/s390-32/__longjmp.c: ...here. Add code + to load the floating point registers that should be saved + according to the ABI. + + * sysdeps/s390/bits/setjmp.h: Move to... + * sysdeps/s390/s390-32/bits/setjmp.h: ...here. Avoid + the use of long long in the __jmp_buf type definition. + + * sysdeps/s390/bits/string.h: Move to... + * sysdeps/s390/s390-32/bits/string.h: ...here. Add several missing + #ifndef _FORCE_INLINES. + + * sysdeps/s390/dl-machine.h: Move to... + * sysdeps/s390/s390-32/dl-machine.h: ...here. Add a check for the + executables EI_CLASS in elf_machine_matches_host. + + * sysdeps/s390/elf/setjmp.S: Move to... + * sysdeps/s390/s390-32/elf/setjmp.S: ...here. Replace + branches to globally defined symbol __sigsetjmp by branches to + a local label (this avoids the generation of a R_390_PC16DBL + relocation in -fpic code). + + * sysdeps/s390/gmp-mparam.h: Use defines from to + calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT. + + * sysdeps/s390/initfini.c: Move to... + * sysdeps/s390/s390-32/initfini.c: ...here. Replace ALIGN with + ".align 4,0x07". + + * sysdeps/s390/setjmp.S: Move to... + * sysdeps/s390/s390-32/setjmp.S: ...here. Add code to store the + floating point registers that should be saved according to the ABI. + + * sysdeps/s390/sys/ucontext.h: Remove since it is unused. + + * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include + sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h. + +2001-03-13 Martin Schwidefsky + + * configure.in: Change machine=s390 to machine=s390/s390-32. + + * elf/elf.h: Correct comment for R_390_PLT16DBL. + +2001-03-12 Jakub Jelinek + + * csu/Makefile (abi-tag.h): Define OS and version separately, allow + version to be overriden from config.h. + * csu/abi-note.S: Use OS and version separately, include config.h. + * elf/dl-load.c (_dl_osversion): New. + (_dl_map_object_from_fd): Kill some warnings. + (open_verify): Check .note.ABI-tag of the library if present. + * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx). + * elf/cache.c (struct cache_entry): Add osversion. + (print_entry): Print osversion. + (print_cache): Pass osversion to it. + (compare): Sort according to osversion. + (save_cache): Set osversion. + (add_to_cache): Add osversion argument. + * sysdeps/generic/ldconfig.h (add_to_cache, process_file, + process_elf_file): Add osversion argument. + * elf/readlib.c (process_file): Likewise. + * sysdeps/generic/readelflib.c (process_elf_file): Likewise. + * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file, + process_elf32_file, process_elf64_file): Likewise. + * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file, + process_elf32_file, process_elf64_file): Likewise. + * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file, + process_elf32_file, process_elf64_file): Likewise. + * elf/ldconfig.c (manual_link): Pass it. + (search_dir): Issue diagnostic if two libs with the same soname in + the same directory have different .note.ABI-tag. Record osversion in + dlib_entry and use it from there. + (struct lib_entry): Remove. + (struct dlib_entry): Add osversion. + * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check + osversion. + * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused + field with osversion. + * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare. + * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h. + * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel + version in _dl_osversion. + * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION. + * Makerules (build-shlib-helper, build-module-helper): New. + (build-shlib, build-module-helper): Make sure .note.ABI-tag comes + early. + * config.h.in (__ABI_TAG_VERSION): Add. + * elf/dl-minimal.c (__strtoul_internal): Set endptr on return. + * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS): + Handle LD_ASSUME_KERNEL. + * sysdeps/unix/sysv/linux/dl-librecon.h: New. + +2001-03-15 Ulrich Drepper + + * timezone/antarctica: Update from tzdata2001a. + * timezone/asia: Likewise. + * timezone/australasia: Likewise. * timezone/backward: Likewise. + * timezone/etcetera: Likewise. * timezone/europe: Likewise. - * timezone/northamerica: Likewise. - * timezone/northamerica: Likewise. + * timezone/leapseconds: Likewise. * timezone/northamerica: Likewise. * timezone/southamerica: Likewise. + * timezone/systemv: Likewise. + * timezone/yearistype: Likewise. * timezone/zone.tab: Likewise. + * timezone/tzdump.c: Update from tzcode2001a. -2002-03-23 Jakub Jelinek +2001-03-15 H.J. Lu - * sysdeps/generic/brk.c (__curbrk): Declare. - * sysdeps/generic/dl-brk.c: Add attribute_hidden to __curbrk. - * sysdeps/generic/dl-sbrk.c: Likewise. - * sysdeps/unix/arm/dl-brk.S: New file. - * sysdeps/unix/bsd/hp/m68k/dl-brk.S: New file. - * sysdeps/unix/bsd/osf/alpha/dl-brk.S: New file. - * sysdeps/unix/bsd/sun/m68k/dl-brk.S: New file. - * sysdeps/unix/bsd/vax/dl-brk.S: New file. - * sysdeps/unix/i386/dl-brk.S: New file. - * sysdeps/unix/mips/dl-brk.S: New file. - * sysdeps/unix/sparc/dl-brk.S: New file. - * sysdeps/unix/sysv/linux/alpha/dl-brk.S: New file. - * sysdeps/unix/sysv/linux/ia64/dl-brk.S: New file. - * sysdeps/unix/sysv/linux/powerpc/dl-brk.S: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/dl-brk.S: New file. + * intl/Makefile: Fix a typo. -2002-04-03 Andreas Schwab +2001-03-14 David Mosberger - * Makefile (headers): Add gnu/lib-names.h here instead of - install-others. - ($(inst_includedir)/gnu/lib-names.h): Remove explicit - installation rule. - (install-headers): Add dependency on install-headers-nosubdir. - * stdio-common/Makefile (headers): Add bits/stdio_lim.h here - instead of install-others. - ($(inst_includedir)/bits/stdio_lim.h): Remove explicit - installation rule. + * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when + writing arc structures. -2002-04-05 Ulrich Drepper +2001-03-15 H.J. Lu - * manual/users.tex (Enable/Disable Setuid): Fix typo in example. - Reported by Sam Roberts . + * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against + cross-compiling. -2002-04-03 Jakub Jelinek +2001-03-13 Andreas Schwab - * elf/do-rel.h (elf_dynamic_do_rel): Skip relative relocs if - l_addr == 0 and ELF_MACHINE_REL_RELATIVE. - * sysdeps/alpha/dl-machine.h (ELF_MACHINE_REL_RELATIVE): Define. - * sysdeps/ia64/dl-machine.h (ELF_MACHINE_REL_RELATIVE): Define. + * posix/PTESTS2C.sed: Replace literal CRs by `\r'. -2002-04-03 David Mosberger +2001-03-15 Ulrich Drepper - * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Add unwind info. - (RTLD_START): Ditto. - (__ia64_init_bootstrap_fdesc_table): Insert stop bit to avoid RAW - dependency violation. + * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test + for control message fitting into message data. + Patch by James Antill . -2002-04-05 Jakub Jelinek + * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with + FNM_EXTMATCH. - * time/mktime.c (__mktime_internal): Move check for year < 70 below - all variable declarations. + * posix/fnmatch_loop.c: Optimize handling of ?() and @(). + * posix/fnmatch.c: Define STRLEN and STRCAT appropriately. -2002-04-04 Andreas Schwab + * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch. + * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to + avoid running binaries with libc versions without FNM_EXTMATCH support. - * sysdeps/unix/sysv/linux/ia64/pipe.S: Don't overwrite r8 on error. + * include/wchar.h: Add prototype for __wcscat. + * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias. -2002-04-04 Andreas Jaeger + * posix/fnmatch.h (FNM_EXTMATCH): Define. + * posix/fnmatch.c (NO_LEADING_PERIOD): Define. + (posixly_correct): Move global variable here. + (INT, EXT, END): Name new functions defined in fnmatch_loop.c. + (fnmatch): Pretty printing. + * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH. + * posix/tst-fnmatch.c: Recognize EXTMATCH flag. + * posix/tst-fnmatch.input: Add tests for extended matching. + + * posix/testfnm.c: Add test for patterns with multiple ** before /. + * posix/fnmatch_loop.c: Fix problem with the test above. + +2001-03-14 Ulrich Drepper + + * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove + reference to usqrt. + + * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init. + +2001-03-12 Andreas Jaeger + + * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file): + Use EM_X86_64 instead of EM_X8664. + +2001-03-12 Ulrich Drepper + + * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF. + + * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary + conditions. + + * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary + conditions. + + * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN + correctly. + (__cos): Likewise. + + * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN + correctly. + (__ieee754_acos): Likewise. + +2001-03-12 Andreas Jaeger + + * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H): + Fix typo. Patch by Martin Schwidefsky . + + * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against + redefinition. + +2001-03-11 Roland McGrath + + * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix. + +2001-03-11 Ulrich Drepper + + * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and + LITTLE_ENDI. + + * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as + parameter list. + + Last-bit accurate math library implementation by IBM Haifa. + Contributed by Abraham Ziv , Moshe Olshansky + , Ealan Henis , and + Anna Reitman . + * math/Makefile (dbl-only-routines): New variable. + (libm-routines): Add $(dbl-only-routines). + * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c. + * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin + implementation. + * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2 + implementation. + * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp + implementation. + * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and + __kernel_cos. + * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log + implementation. + * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate + remainder implementation. + * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow + implementation. + * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt + implementation. + * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c. + * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c. + * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan + implementation. + * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c. + * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos + implementation. + * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin + and __kernel_cos. + * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan + implementation. + * sysdeps/ieee754/dbl-64/Dist: Add new non-code files. + * sysdeps/ieee754/dbl-64/MathLib.h: New file. + * sysdeps/ieee754/dbl-64/asincos.tbl: New file. + * sysdeps/ieee754/dbl-64/atnat.h: New file. + * sysdeps/ieee754/dbl-64/atnat2.h: New file. + * sysdeps/ieee754/dbl-64/branred.c: New file. + * sysdeps/ieee754/dbl-64/branred.h: New file. + * sysdeps/ieee754/dbl-64/dla.h: New file. + * sysdeps/ieee754/dbl-64/doasin.c: New file. + * sysdeps/ieee754/dbl-64/doasin.h: New file. + * sysdeps/ieee754/dbl-64/dosincos.c: New file. + * sysdeps/ieee754/dbl-64/dosincos.h: New file. + * sysdeps/ieee754/dbl-64/endian.h: New file. + * sysdeps/ieee754/dbl-64/halfulp.c: New file. + * sysdeps/ieee754/dbl-64/mpa.c: New file. + * sysdeps/ieee754/dbl-64/mpa.h: New file. + * sysdeps/ieee754/dbl-64/mpa2.h: New file. + * sysdeps/ieee754/dbl-64/mpatan.c: New file. + * sysdeps/ieee754/dbl-64/mpatan.h: New file. + * sysdeps/ieee754/dbl-64/mpatan2.c: New file. + * sysdeps/ieee754/dbl-64/mpexp.c: New file. + * sysdeps/ieee754/dbl-64/mpexp.h: New file. + * sysdeps/ieee754/dbl-64/mplog.c: New file. + * sysdeps/ieee754/dbl-64/mplog.h: New file. + * sysdeps/ieee754/dbl-64/mpsqrt.c: New file. + * sysdeps/ieee754/dbl-64/mpsqrt.h: New file. + * sysdeps/ieee754/dbl-64/mptan.c: New file. + * sysdeps/ieee754/dbl-64/mydefs.h: New file. + * sysdeps/ieee754/dbl-64/powtwo.tbl: New file. + * sysdeps/ieee754/dbl-64/root.tbl: New file. + * sysdeps/ieee754/dbl-64/sincos.tbl: New file. + * sysdeps/ieee754/dbl-64/sincos32.c: New file. + * sysdeps/ieee754/dbl-64/sincos32.h: New file. + * sysdeps/ieee754/dbl-64/slowexp.c: New file. + * sysdeps/ieee754/dbl-64/slowpow.c: New file. + * sysdeps/ieee754/dbl-64/uasncs.h: New file. + * sysdeps/ieee754/dbl-64/uatan.tbl: New file. + * sysdeps/ieee754/dbl-64/uexp.h: New file. + * sysdeps/ieee754/dbl-64/uexp.tbl: New file. + * sysdeps/ieee754/dbl-64/ulog.h: New file. + * sysdeps/ieee754/dbl-64/ulog.tbl: New file. + * sysdeps/ieee754/dbl-64/upow.h: New file. + * sysdeps/ieee754/dbl-64/upow.tbl: New file. + * sysdeps/ieee754/dbl-64/urem.h: New file. + * sysdeps/ieee754/dbl-64/uroot.h: New file. + * sysdeps/ieee754/dbl-64/usncs.h: New file. + * sysdeps/ieee754/dbl-64/utan.h: New file. + * sysdeps/ieee754/dbl-64/utan.tbl: New file. + * sysdeps/i386/fpu/branred.c: New file. + * sysdeps/i386/fpu/doasin.c: New file. + * sysdeps/i386/fpu/dosincos.c: New file. + * sysdeps/i386/fpu/halfulp.c: New file. + * sysdeps/i386/fpu/mpa.c: New file. + * sysdeps/i386/fpu/mpatan.c: New file. + * sysdeps/i386/fpu/mpatan2.c: New file. + * sysdeps/i386/fpu/mpexp.c: New file. + * sysdeps/i386/fpu/mplog.c: New file. + * sysdeps/i386/fpu/mpsqrt.c: New file. + * sysdeps/i386/fpu/mptan.c: New file. + * sysdeps/i386/fpu/sincos32.c: New file. + * sysdeps/i386/fpu/slowexp.c: New file. + * sysdeps/i386/fpu/slowpow.c: New file. + * sysdeps/ia64/fpu/branred.c: New file. + * sysdeps/ia64/fpu/doasin.c: New file. + * sysdeps/ia64/fpu/dosincos.c: New file. + * sysdeps/ia64/fpu/halfulp.c: New file. + * sysdeps/ia64/fpu/mpa.c: New file. + * sysdeps/ia64/fpu/mpatan.c: New file. + * sysdeps/ia64/fpu/mpatan2.c: New file. + * sysdeps/ia64/fpu/mpexp.c: New file. + * sysdeps/ia64/fpu/mplog.c: New file. + * sysdeps/ia64/fpu/mpsqrt.c: New file. + * sysdeps/ia64/fpu/mptan.c: New file. + * sysdeps/ia64/fpu/sincos32.c: New file. + * sysdeps/ia64/fpu/slowexp.c: New file. + * sysdeps/ia64/fpu/slowpow.c: New file. + * sysdeps/m68k/fpu/branred.c: New file. + * sysdeps/m68k/fpu/doasin.c: New file. + * sysdeps/m68k/fpu/dosincos.c: New file. + * sysdeps/m68k/fpu/halfulp.c: New file. + * sysdeps/m68k/fpu/mpa.c: New file. + * sysdeps/m68k/fpu/mpatan.c: New file. + * sysdeps/m68k/fpu/mpatan2.c: New file. + * sysdeps/m68k/fpu/mpexp.c: New file. + * sysdeps/m68k/fpu/mplog.c: New file. + * sysdeps/m68k/fpu/mpsqrt.c: New file. + * sysdeps/m68k/fpu/mptan.c: New file. + * sysdeps/m68k/fpu/sincos32.c: New file. + * sysdeps/m68k/fpu/slowexp.c: New file. + * sysdeps/m68k/fpu/slowpow.c: New file. + + * iconvdata/gconv-modules: Add a number of alias, mostly for IBM + codepages. + +2001-03-11 Andreas Jaeger + + * elf/elf.h (EM_*): Synch with official list. + +2001-03-07 David Mosberger + + * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro. + +2001-03-07 Jes Sorensen + + * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused + variables addr & len. + +2001-02-22 Jes Sorensen + + * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove + punctuation in asm constraint. + +2001-03-07 Mark Kettenis + + * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include + to get definition of `struct timespec'. + +2001-03-08 Jakub Jelinek + + * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if + LD_WARN=1, not if LD_WARN is unset. + +2001-03-07 Andreas Schwab + + * elf/ldconfig.h: Moved to ... + * sysdeps/generic/ldconfig.h: ... here. + * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file. + * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file. + * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file. + * elf/readlib.c (interpreters, known_libs): Use + SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES + instead of hard coding old names. + +2001-03-09 Ulrich Drepper - * sysdeps/x86_64/fpu/e_sqrt.c: New file. - * sysdeps/x86_64/fpu/e_sqrtf.c: New file. + * catgets/Makefile (generated): Add test-gencat.h. + (sample.SJIS.cat): Also generate header. + * catgets/sample.SJIS: Add new set and message, both with symbolic + names. + * catgets/test-gencat.sh: Also compare generated header with what + we expect. - * sysdeps/x86_64/fpu/s_fabs.c: New file. - * sysdeps/x86_64/fpu/s_fabsf.c: New file. - * sysdeps/x86_64/fpu/s_fabsl.c: New file. +2001-03-07 Jakub Jelinek - * sysdeps/unix/sysv/linux/x86_64/time.S: New file. + * catgets/gencat.c (read_input_file): Preserve properly symbolic + names. - * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: New file. +2001-03-06 Andreas Jaeger - * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Removed. - * sysdeps/unix/sysv/linux/x86_64/time.c: Removed. + * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not + needed. + (elf_machine_pltrel_p): Likewise. + * sysdeps/powerpc/dl-machine.h: Likewise. + * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise. - * configure.in: Handle all mips entries the same. +2001-03-09 Ulrich Drepper - * sysdeps/mips/dec/bits/endian.h: Removed since arch is not supported. - * sysdeps/mips/mips3/*: Likewise. - * sysdeps/mips/p40/bits/endian.h: Likewise. + * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and + dl-procinfo.h. -2002-04-04 Ulrich Drepper +2001-03-05 Philip Blundell - * misc/dirname.c (dirname): Ignore trailing slashes at end of - non-null result [PR libc/2600]. + * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file. + * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file. + * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf] + (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add + dl-procinfo. - * misc/tst-dirname.c: Add more tests. +2001-03-09 Ulrich Drepper -2002-04-03 Ulrich Drepper + * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle + is not available. + * dlfcn/tstcxaatexit.c (main): Likewise. - * locale/programs/charmap.c (charmap_read): If the charmap doesn't - define a code_set_name provide one based on the filename. +2001-03-10 Andreas Jaeger - * malloc/hooks.c: Define weak_variable correctly for _LIBC. + * sysdeps/i386/fpu/libm-test-ulps: Revert last patch. -2001-12-28 Andreas Jaeger +2001-03-09 Andreas Jaeger - * time/mktime.c (__mktime_internal): Check for year < 70 - [PR libc/2738]. + * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle + both new and old EM_S390 values. + (EM_S390_OLD): New constant. -2002-04-03 Andreas Jaeger + * elf/elf.h (EM_S390): Use official value. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Fix arguments for - shmat. - Reported by Andi Kleen . +2001-03-09 Ulrich Drepper -2002-04-03 Ulrich Drepper + * conform/data/sys/socket.h-data: Allow SO* symbols. - * sysdeps/generic/w_lgamma.c: Initialized local_signgam. - * sysdeps/generic/w_lgammaf.c: Likewise. - * sysdeps/generic/w_lgammal.c: Likewise [PR libc/2854]. +2001-03-07 Andreas Schwab - * debug/catchsegv.sh (exval): Quote [ in pattern [PR libc/2902]. - Adjust for new output format of the backtrace functions. + * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of + routines, and sysdep-CPPFLAGS instead of CPPFLAGS. - * misc/syslog.c (vsyslog): Only use cleanup handler if - _LIBC_REENTRANT is defined [PR libc/2924]. +2001-03-07 Andreas Jaeger - * libio/Makefile (tests): Add bug-ungetwc2. - * libio/bug-ungetwc2.c: New file. + * resolv/Makefile (routines): Only build gai_sigqueue when threads + are available. - * manual/install.texi: Typographical and grammatical cleanup. - Patch by Dennis Grace . +2001-03-07 Jakub Jelinek - * sunrpc/rpc_svcout.c (write_real_program): Write "result, " - parameter if mtflag. Patch by . + * elf/ldconfig.c (_dl_sysdep_message): Remove. + * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include + ldsodefs.h. + * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise. - * sunrpc/rpc_svcout.c (printif): Remove third parameter. It was - always "&". Adjust callers. - Add "_" prefix to several generated definitions. - Patch by paul@serice.net [PR libc/3158]. + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use + _dl_error_printf instead of _dl_sysdep_error. + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo): + Use _dl_printf instead of _dl_sysdep_message. + * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo): + Likewise. -2002-04-02 Ulrich Drepper +2001-03-06 Ben Collins - * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: Completely specify - size of _dl_arm_cap_flags. - Patch by enrico.scholz@informatik.tu-chemnitz.de [PR libc/3155]. + * manual/arith.texi (Integers): Fix documentation of fast and + least integer typedefs. - * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT): - Define as 8. +2001-03-06 Jakub Jelinek -2002-03-22 H.J. Lu + * resolv/Depend: New file. + * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only + when libpthread is built. - * scripts/firstversions.awk: Check the first version. +2001-03-06 Andreas Jaeger -2002-04-02 Ulrich Drepper + * sysdeps/i386/fpu/libm-test-ulps: Add some deltas. - * elf/dl-deps.c (_dl_map_object_deps): The sorting of the - dependencies must be stable to work correctly. - Reported by martin.lubich@datacon.at. + * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma. + Patch by kaz Kojima . - * libio/bug-ungetwc1.c: New file. - * libio/Makefile (tests): Add bug-ungetwc1. +2001-03-05 Ulrich Drepper - * libio/fileops.c (_IO_new_file_close_it): Only call _IO_do_flush - if stream was last used for writing. + * stdlib/Versions: Remove __new_exitfn again. Not needed. - * elf/do-lookup.h (do_lookup): 2 is the first user-defined version - number [PR libc/3111]. +2001-03-05 Andreas Jaeger - * libio/iofclose.c (_IO_new_fclose): Move freeing of backup buffer - to ... - * libio/fileops.c (_IO_new_file_close_it): ...here [PR libc/3190]. + * stdlib/msort.c (qsort): Don't use alloca in a function call. -2002-04-02 Jakub Jelinek +2001-03-05 Ulrich Drepper - * inet/ether_ntoh.c (__nss_ethers_lookup): Add internal_function. - * inet/ether_hton.c (__nss_ethers_lookup): Likewise. - * inet/getnetgrent_r.c (__nss_netgroup_lookup): Likewise. - * sunrpc/netname.c (__nss_publickey_lookup): Likewise. - * sunrpc/publickey.c (__nss_publickey_lookup): Likewise. + * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM, + __S_TYPEISSHM): Rewrite to enforce correct use the macros. They still + always return zero. + * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. -2002-03-30 Jakub Jelinek +2001-03-04 Andreas Jaeger - * elf/dynamic-link.h (elf_get_dynamic_info): Don't abort on unknown - dynamic tags. + * stdlib/longlong.h: Don't use multi-line strings. + * iconvdata/tst-loading.c: Likewise. -2002-03-29 Jakub Jelinek + * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line + string. - * sysdeps/i386/fpu/s_fabs.S: New file. - * sysdeps/i386/fpu/s_fabsf.S: New file. - * sysdeps/i386/fpu/s_fabsl.S: New file. - * sysdeps/sparc/sparc64/fpu/s_fabs.c: New file. - * sysdeps/sparc/sparc64/fpu/s_fabsf.c: New file. - * sysdeps/sparc/sparc64/fpu/s_fabsl.c: New file. +2001-03-04 Ulrich Drepper -2002-04-02 Ulrich Drepper + * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal. - * rt/tst-shm.c (do_test): Add one more test for size of shared - memory object. + * rt/lio_listio.c: Add a few asserts. -2002-03-29 Wolfram Gloger + * elf/global.c: New file. + * elf/globalmod1.c: New file. + * elf/Makefile: Add rules to build and run global. - * malloc/malloc.c: Add short description and prototypes for - malloc_get_state, malloc_set_state and posix_memalign, for - consistency and to avoid warnings with -Wstrict-prototypes. - Reported by Andreas Jaeger . + * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL. + * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise. -2002-04-02 Ulrich Drepper + * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file. + Contributed by Stephen L. Moshier . - * po/gl.po: Update from translation team. + * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases. -2002-03-31 Roland McGrath + * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable. + * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise. - * hurd/hurdselect.c (_hurd_select): Fix - MACH_MSG_TYPE_INTEGER_T -> integer_t in sizeof. - Use a union rather than casts to compare mach_msg_type_t as int. + * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal. -2002-03-25 Roland McGrath + * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change. - * hurd/hurdchdir.c (_hurd_change_directory_port_from_name): Don't - check off the end of NAME when it's shorter than 2 chars. - Reported by Ognyan Kulev . +2001-03-04 Andreas Jaeger -2002-03-17 Roland McGrath + * resolv/tst-aton.c: Add testcase for IP with four periods. - * sysdeps/mach/hurd/i386/sys/io.h: New file. - * sysdeps/mach/hurd/i386/ioperm.c: New file. - * sysdeps/mach/hurd/i386/Dist: Add them. - * sysdeps/mach/hurd/i386/Versions - (libc: GLIBC_2.2.6): New set, add ioperm. - * sysdeps/mach/configure.in: New check to set HAVE_I386_IO_PERM_MODIFY. - (mach_interface_list): Check for mach_i386.defs. - * config.h.in (HAVE_I386_IO_PERM_MODIFY): #undef it. - * sysdeps/mach/configure: Regenerated. + * resolv/inet_addr.c: Don't recognize an IP with four periods. + Patch by Andre' Breiler . -2002-03-22 Ulrich Drepper +2001-02-27 Philip Blundell - * po/fr.po: Update from translation team. + * elf/elf.h: Add new ARM definitions from latest (B-01) + specification. Correct naming of EF_ARM_ALIGN8 et al. -2002-03-21 Martin Schwidefsky +2001-03-04 Ulrich Drepper - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Remove - getpriority from syscalls list. + * stdio-common/tst-printf.sh: Remove bashisms. + Patch by Matthew Clarke . -2002-03-28 Andreas Jaeger +2001-03-03 Ulrich Drepper - * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: New file. - * sysdeps/unix/sysv/linux/x86_64/getcontext.S: New file. - * sysdeps/unix/sysv/linux/x86_64/setcontext.S: New file. - * sysdeps/unix/sysv/linux/x86_64/ucontext_i.h: New file. + * Versions.def: Add libanl definition. + * shlib-versions: Add entry for libanl. + * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c. + (routines): Add gai_sigqueue. + (extra-libs): Add libanl. + (libanl-routines): New variable. + Add rules to build libanl and ga_test. + * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue. + [libanl]: New library. + * resolv/netdb.h: Add definitions for libanl. + * resolv/getaddrinfo_a.c: New file. + * resolv/gai_cancel.c: New file. + * resolv/gai_error.c: New file. + * resolv/gai_misc.c: New file. + * resolv/gai_misc.h: New file. + * resolv/gai_notify.c: New file. + * resolv/gai_suspend.c: New file. + * resolv/ga_test.c: New file. + * sysdeps/generic/gai_sigqueue.c: New file. + * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file. + * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined + and provide only that definition. + * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise. + * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise. -2002-03-27 Andreas Jaeger + * rt/aio_misc.c: Fix typos in comments. + * rt/lio_listio.c: Pretty printing. Little optimization in request + list handling. - * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (struct - sigcontext): Follow further kernel change. + * elf/rtld.c: Remove commented out code. - * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Follow further - kernel change. + * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): + Update for real 2.4 kernels. - * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (GET_STACK): - Change for struct sigcontext change. +2001-03-01 Ulrich Drepper - * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump): - Follow changes in struct sigcontext. + * elf/dl-load.c: Pretty printing. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Remove ptrace - sysycall, use wrapper instead. + * elf/dl-object.c (_dl_new_object): Don't add the loader's scope + twice. -2002-03-26 Andreas Jaeger - - * sysdeps/i386/i486/bits/string.h (__memcpy_by4): Describe memory - read and write accesses as detailed as possible. - (__memcpy_by2): Likewise. - (__memcpy_g): Likewise. - (memmove): Likewise. - (memcmp): Likewise. - (__memset_ccn_by4): Likewise. - (__memset_ccn_by2): Likewise. - (__memset_gcn_by4): Likewise. - (__memset_gcn_by2): Likewise. - (memchr): Likewise. - (__memrchr): Likewise. - (rawmemchr): Likewise. - (__strlen_g): Likewise. - (__strcpy_g): Likewise. - (__mempcpy_by4): Likewise. - (__mempcpy_by2): Likewise. - (__mempcpy_byn): Likewise. - (__stpcpy_g): Likewise. - (__strncpy_by4): Likewise. - (__strncpy_by2): Likewise. - (__strncpy_byn): Likewise. - (__strncpy_gg): Likewise. - (__strcat_c): Likewise. - (__strcat_g): Likewise. - (__strncat_g): Likewise. - (__strcmp_gg): Likewise. - (__strncmp_g): Likewise. - (__strchr_c): Likewise. - (__strchr_g): Likewise. - (__strchrnul_c): Likewise. - (__strchrnul_g): Likewise. - (__strrchr_c): Likewise. - (__strrchr_g): Likewise. - (__strrchr_c): Likewise. - (__strrchr_g): Likewise. - (__strcspn_c1): Likewise. - (__strcspn_cg): Likewise. - (__strcspn_g): Likewise. - (__strcspn_g): Likewise. - (__strspn_c1): Likewise. - (__strspn_cg): Likewise. - (__strspn_g): Likewise. - (__strspn_g): Likewise. - (__strpbrk_cg): Likewise. - (__strpbrk_g): Likewise. - (__strstr_cg): Likewise. - (__strstr_g): Likewise. - - * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Fix typo. Reported by - Michal Ludvig . - - * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Add 32-bit - compatibilty, adjust for kernel changes. - - * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (struct - sigcontext): Adjust for kernel changes. - -2002-03-25 Andreas Jaeger - - * iconv/gconv_simple.c (ucs4le_internal_loop_single): Handle - little endian. - Reported by Artur Zaprzala . +2001-02-28 Ulrich Drepper -2002-03-24 Andreas Jaeger + * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle + relocations which are not in ld.so if RTLD_BOOTSTRAP is defined. - * manual/memory.texi (Aligned Memory Blocks): Fix typo. + * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo. - * stdio-common/tst-fdopen.c (main): Remove unused variable. + * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit + machines. - * iconv/tst-iconv3.c (main): Use correct printf strings. - -2002-03-18 Roland McGrath + * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define. - * sysdeps/unix/bsd/bsd4.4/bits/socket.h (struct cmsgcred): New type. - (CMGROUP_MAX): New macro. +2001-02-27 Ulrich Drepper -2002-03-23 Roland McGrath + * sysdeps/powerpc/elf/libc-start.c: Use new output functions and + _dl_debug_mask. - * sysdeps/posix/shm_open.c (SHMDIR): /var/run/shm -> /dev/shm - * sysdeps/posix/shm_unlink.c: Likewise. - -2002-03-22 Roland McGrath - - * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): Make 2.2.6 default. - * sysdeps/mach/hurd/configure.in: Default oldest ABI is 2.2.6 - under --enable-libio. - * sysdeps/mach/hurd/configure: Regenerated. - -2002-03-23 Roland McGrath - - * sysdeps/mach/hurd/i386/Makefile - (sysdep_routines, shared-only-routines): Don't add framestate, - reverting 2001-10-02 change. - * sysdeps/unix/sysv/linux/arm/Makefile: Likewise. - * sysdeps/unix/sysv/linux/alpha/Makefile: Likewise. - * sysdeps/unix/sysv/linux/i386/Makefile: Likewise. - * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise. - * sysdeps/unix/sysv/linux/mips/Makefile: Likewise. - * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise. - * sysdeps/unix/sysv/linux/sparc/Makefile: Likewise. - * sysdeps/generic/Makefile (sysdep_routines, shared-only-routines): - Do it here instead, only if [$(unwind-find-fde) = yes]. - -2002-03-23 Andreas Jaeger - - * signal/signal.h: Fix typo. Patch by Steve Kemp - . - -2002-03-22 Andreas Jaeger - - * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add getresgid and - getresuid. - - * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (struct - _fpstate): Rename fwd to ftw, use _fpxreg and _xmmreg. - * sysdeps/unix/sysv/linux/x86_64/sys/user.h (struct - user_fpregs_struct): Rename fwd. - - * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump): - Follow sigcontext changes. - -2002-03-22 Andreas Jaeger - - * sysdeps/mips/bits/nan.h: New file. Copy from generic one with - changes for NaNs on MIPS. - Patch by Hartvig Ekner . - -2002-03-21 Ulrich Drepper - - * nscd/grpcache.c (addgrbyname): Improve buffer allocate with alloca. - Use realloc if too large. - (addgrbyid): Likewise. - * nscd/hstcache.c (addhstbyname): Likewise. - (addhstbyaddr): Likewise. - (addhstbynamev6): Likewise. - (addhstbyaddrv6): Likewise. - * nscd/pwdcache.c (addpwbyname): Likewise. - (addpwbyuid): Likewise. - -2002-03-21 Andreas Jaeger - - * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (struct - _fpstate): Add separate struct for x86-64. - - * sysdeps/unix/sysv/linux/x86_64/sys/user.h (struct - user_fpregs_struct): Change member names to follow kernel. - -2002-03-20 Ulrich Drepper - - * nis/ypclnt.c (yp_all): Remove the hack introduced on 1998-09-29. - Correctly close the UDP connection right away [PR libc/3120]. - -2002-03-20 Andreas Jaeger - - * sysdeps/unix/sysv/linux/x86_64/sys/user.h (struct - user_fpregs_struct): Fix for changed kernel struct. - (struct user_regs_struct): Likewise. - (struct user): Likewise. - Add 32-bit x86 compatibility. - - * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Add more registers. - -2002-03-19 Andreas Jaeger - - * sysdeps/unix/sysv/linux/x86_64/bits/types.h: Cleanup x86 types. - -2002-03-18 Andreas Jaeger - - * iconvdata/Makefile: Only run tests when shared libs are - available. - -2002-03-17 Andreas Jaeger - - * sysdeps/mips/fpu/fraiseexcpt.c (__feraiseexcept): Set cause bits. - - * sysdeps/mips/fpu/fgetexcptflg.c (__fegetexceptflag): Add comment. - - * sysdeps/mips/fpu/fclrexcpt.c (__feclearexcept): Clear also cause - bits. - - * sysdeps/mips/fpu/fenv_libc.h (CAUSE_MASK): New macro. - (CAUSE_SHIFT): New macro. - Patch by Hartvig Ekner . - - * sysdeps/generic/unwind-dw2-fde-glibc.c: Add prototypes. - * sysdeps/generic/unwind-pe.h: Likewise. - - * libio/iofdopen.c (_IO_new_fdopen): Pass parameter of correct - type to _IO_setb. - - * libio/stdio.c (AL2): Define variant when visibility attribute is - not supported. - - * include/libc-symbols.h (_INTVARDEF): Define variant when - visibility attribute is not supported. - -2002-03-16 Ulrich Drepper - - * po/fr.po: Update from translation team. - -2002-02-25 Bruno Haible - - * MakeTAGS (extract): Use --sort-by-file instead of --sort-output. - -2002-03-15 Ulrich Drepper - - * libio/iofdopen.c (_IO_new_fdopen): Call _IO_setb to deallocate - buffers if _IO_file_attach failed. - - * libio/fileops.c (_IO_file_open): Close file descriptor if - _IO_SEEKOFF call failed. - -2002-03-15 H.J. Lu - Ulrich Drepper - - * configure.in: Check for availability of - init_array/fini_array/preinit_array handling in binutils. - * config.h.in (HAVE_INITFINI_ARRAY): New macro. - * config.make.in (have-initfini-array): New variable. - -2002-03-15 Ulrich Drepper - - * stdio-common/tst-printf.c (main): Comment out one test which - checked the compiler's ability to fold floating-point constants - but not really printf. - (rfg3): Make s const. - * stdio-common/tst-printf.sh: Adjust for removed test. - - * sysdeps/i386/i386-mcount.S: Just call __mcount_internal, it is an - internal function. Adjust for internal_function calling convention. - * sysdeps/i386/machine-gmon.h: Declare and define __mcount_internal - as internal_function. - - * sysdeps/generic/framestate.c: Declare fallback_frame_state_for as - hidden. - - * nss/XXX-lookup.c (DB_LOOKUP_FCT): Add internal_function to - declaration and definition. - * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Add internal_function to - declaration. - * nss/getXXent_r.c: Likewise. - * nss/nsswitch.h (db_lookup_function): Add internal_function to - definition. - - * include/time.h: Declare __localtime_r as hidden. - - * include/aliases.h: Declare __getaliasent_r as hidden. - * include/grp.h: Declare __getgrent_r as hidden. - * include/netdb.h: Declare __gethostent_r, __getnetent_r, - __getservent_r, and __getprotoent_r as hidden. - * include/pwd.h: Declare __getpwent_r as hidden. - * include/shadow.h: Declare __getspent_r as hidden. - * include/rpc/netdb.h: Declare __getrpcent_r as hidden. - - * iconv/gconv_int.h: Declare __gconv_read_conf, __gconv_alias_compare, - and __gconv_transliterate as hidden. - Add internal_function to __gconv_get_path declaration. - * iconv/gconv_conf.c: Add internal_function to __gconv_get_path - definition. Add attribute_hidden to __gconv_read_conf definition. - -2002-03-14 Ulrich Drepper - - * elf/rtld.c: Declare _environ as hidden. - * sysdeps/generic/dl-environ.c: Likewise. - * sysdeps/generic/dl-sysdep.c: Likewise. - - * sysdeps/generic/ldsodefs.h: Declare _dl_debug_state_internal and - _dl_mcount_internal as hidden. - - * elf/Makefile (rtld-routines): Add dl-sbrk and dl-brk. - * sysdeps/generic/dl-brk.c: New file. - * sysdeps/generic/dl-sbrk.c: New file. - * sysdeps/unix/sysv/linux/i386/dl-brk.c: New file. - * sysdeps/unix/sysv/linux/i386/dl-sbrk.c: New file. - - * elf/dl-minimal.c (malloc): Declare _end as hidden. - (__errno_location): New function. Declare errno as hidden. - * elf/rtld.c (_dl_argc): Define as hidden. - (_dl_skip_args): Define as hidden. - (_begin, _end): Declare as hidden. - * sysdeps/generic/dl-sysdep.c (_end): Declare as hidden. - * sysdeps/generic/entry.h (_start): Declare as hidden. - * sysdeps/generic/ldsodefs.h (_dl_argc): Declare as hidden. - * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Declare - _dl_runtime_resolve and _dl_runtime_profile as hidden. - (RTLD_START): Use GOTOFF to access _dl_skip_args and _dl_fini. - -2002-03-14 Roland McGrath - - * Makerules ($(common-objpfx)Versions.v.i): Depend on abi-versions.h. - - * Makeconfig (%.v.i, %.v): New implicit rules. - (preprocess-versions): Variable removed. - ($(common-objpfx)shlib-versions.v.i): New target giving just the - shlib-versions input files as dependencies. - ($(common-objpfx)soversions.i): Depend on that instead of the input - files. Use it as input instead of using a pipeline. - (postclean-generated): Append soversions.i, shlib-versions.v, and - shlib-versions.v.i here. - * Makerules ($(common-objpfx)Versions.def.v.i): New target giving just - the Versions.def input files as dependencies. - ($(common-objpfx)Versions.v.i): Likewise for Versions files. - ($(common-objpfx)Versions.all): Depend on that instead of the input - files. Use it as input instead of using a pipeline. - ($(common-objpfx)sysd-versions): Likewise with Versions.v.i. - (postclean-generated): Append those .v and .v.i files here. - -2002-03-14 Jakub Jelinek - - * locale/broken_cur_max.c (__ctype_get_mb_cur_max): Use nl_langinfo. - * locale/Versions (_nl_current_LC_COLLATE, _nl_current_LC_CTYPE): - Remove. - -2002-03-14 Jakub Jelinek - - * sysdeps/generic/mp_clz_tab.c: New file. - * sysdeps/i386/mp_clz_tab.c: New file. - * sysdeps/hppa/mp_clz_tab.c: New file. - * sysdeps/powerpc/mp_clz_tab.c: New file. - * stdlib/Makefile (aux): Revert last patch. - * math/Makefile (gmp-objs): Likewise. - -2002-03-13 Paul Eggert - - * time/strftime.c: Comment fixes for references to obsolescent - standards, In most cases the simplest fix is to remove the - confusing comments. Cross-referencing all the standards properly - is a bit of a pain, and it should be enough to put that info in - the documentation as I did in my recent time.texi patch. - -2002-03-13 Paul Eggert - - * manual/time.texi (Formatting Calendar Time): - ISO C99 also specifies the E and O modifiers. - %P is a GNU extension, and is not in ISO C99. - Mention that %r is equivalent to %I:%M:%S %p in the POSIX locale. - %T is also in ISO C99. - The RFC 822 example is not valid in arbitrary locales. - Reword the POSIX.2 wording slightly, to make it a bit clearer - that POSIX.2 formats are also supported by later POSIX versions. - If a format was introduced in ISO C99 it is also required by - POSIX.1-2001. - -2002-03-13 Ulrich Drepper - - * sysdeps/gnu/errlist.awk: Define _sys_errlist_internal and - _sys_nerr_internal with INTVARDEF2. - * include/libc-symbols.h (INTVARDEF2): New macro. - * include/stdio.h (_sys_errlist_internal): Declare as hidden. - (_sys_nerr_internal): Library. - - * sysdeps/posix/signal.c (_sigintr): Define as hidden. - * sysdeps/posix/sigintr.c (_sigintr): Declare as hidden. - - * stdio-common/tst-printf.sh: Adjust for last change in tst-printf.c. - -2002-03-13 Wolfram Gloger - - * malloc/malloc.c (sYSMALLOc): Don't change brk if mmap failed. - -2002-03-02 Andreas Schwab - - * stdio-common/vfprintf.c (process_arg): Fix decimal format with - 'h' flag and positional arg. - * stdio-common/tst-printf.c (rfg3): New function to test - positional arguments. - (main): Fix some warnings. - -2002-03-13 Jakub Jelinek - - * elf/dl-minimal.c (_itoa): Use _itoa_lower_digits_internal if SHARED. - * elf/dl-reloc.c (_dl_reloc_bad_type): Likewise. - -2002-03-13 Ulrich Drepper - - * grp/initgroups.c (__nss_group_data): Declare as hidden. - - * include/locale.h (_nl_C_locobj): Declare as hidden. - - * time/asctime.c (_nl_C_LC_TIME): Declare as hidden. - * time/strptime.c (_nl_C_LC_TIME): Likewise. - - * include/netinet/in.h (in6addr_any_internal): Mark as hidden. - - * include/sys/gmon.h: Declare _gmonparam as hidden. - - * locale/lc-ctype.c (__ctype32_wctype): Declare as hidden. - (__ctype32_wctrans): Likewise. - (__ctype32_width): Likewise. - - * sysdeps/unix/sysv/linux/ttyname.c: Comment out definition and - use of __ttyname. - - * posix/regcomp.c (__re_error_msgid): Renamed from re_error_msgid. - Define as hidden. - (__re_error_msgid_idx): Renamed from re_error_msgid_idx. Define as - hidden. Change all users of these variables. - - * posix/regex_internal.h (__re_error_msgid): Renamed from - re_error_msgid. Declare as hidden. - (__re_error_msgid_idx): Renamed from re_error_msgid_idx. Declare as - hidden. - - * stdio-common/reg-printf.c (__printf_arginfo_table): Define as hidden. - (__printf_function_table): Likewise. - * stdio-common/printf-parse.h (__printf_arginfo_table): Declare as - hidden. - (__printf_function_table): Likewise. - - * nscd/nscd_proto.h: Declare __nss_not_use_nscd_passwd, - __nss_not_use_nscd_group, and __nss_not_use_nscd_hosts as hidden. - - * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Define as hidden. - * nss/nsswitch.c: Declare _nss_*_database as hidden. - - * stdlib/wctomb.c (__no_r_state): Declare as hidden. - * stdlib/mbtowc.c (__no_r_state): Define as hidden. - -2002-03-12 Ulrich Drepper - - * ctype/ctype-info.c: Declare _nl_C_LC_CTYPE_class, - _nl_C_LC_CTYPE_class32, _nl_C_LC_CTYPE_toupper, _nl_C_LC_CTYPE_tolower, - _nl_C_LC_CTYPE_class_upper, _nl_C_LC_CTYPE_class_lower, - _nl_C_LC_CTYPE_class_alpha, _nl_C_LC_CTYPE_class_digit, - _nl_C_LC_CTYPE_class_xdigit, _nl_C_LC_CTYPE_class_space, - _nl_C_LC_CTYPE_class_print, _nl_C_LC_CTYPE_class_graph, - _nl_C_LC_CTYPE_class_blank, _nl_C_LC_CTYPE_class_cntrl, - _nl_C_LC_CTYPE_class_punct, _nl_C_LC_CTYPE_class_alnum, - _nl_C_LC_CTYPE_map_toupper, _nl_C_LC_CTYPE_map_tolower, and - _nl_C_LC_CTYPE_width: Declare as hidden. - * include/locale.h: Declare _nl_locale_file_list. - * locale/C-address.c: Define _nl_C_LC_ADDRESS as hidden. - * locale/C-collate.c: Define _nl_C_LC_COLLATE as hidden. - * locale/C-identification.c: Define _nl_C_LC_IDENTIFICATION as hidden. - * locale/C-measurement.c: Define _nl_C_LC_MEASUREMENT as hidden. - * locale/C-messages.c: Define _nl_C_LC_MESSAGES as hidden. - * locale/C-monetary.c: Define _nl_C_LC_MONETARY as hidden. - * locale/C-name.c: Define _nl_C_LC_NAME as hidden. - * locale/C-numeric.c: Define _nl_C_LC_NUMERIC as hidden. - * locale/C-paper.c: Define _nl_C_LC_PAPER as hidden. - * locale/C-telephone.c: Define _nl_C_LC_TELEPHONE as hidden. - * locale/C-time.c: Define _nl_C_LC_TIME as hidden. - * locale/C-ctype.c: Define _nl_C_LC_CTYPE_class, - _nl_C_LC_CTYPE_class32, _nl_C_LC_CTYPE_toupper, _nl_C_LC_CTYPE_tolower, - _nl_C_LC_CTYPE_class_upper, _nl_C_LC_CTYPE_class_lower, - _nl_C_LC_CTYPE_class_alpha, _nl_C_LC_CTYPE_class_digit, - _nl_C_LC_CTYPE_class_xdigit, _nl_C_LC_CTYPE_class_space, - _nl_C_LC_CTYPE_class_print, _nl_C_LC_CTYPE_class_graph, - _nl_C_LC_CTYPE_class_blank, _nl_C_LC_CTYPE_class_cntrl, - _nl_C_LC_CTYPE_class_punct, _nl_C_LC_CTYPE_class_alnum, - _nl_C_LC_CTYPE_map_toupper, _nl_C_LC_CTYPE_map_tolower, - _nl_C_LC_CTYPE_width, and as hidden. - * locale/findlocale.c: Declare _nl_C as hidden. - * locale/newlocale.c: Likewise. - * locale/setlocale.c: Define _nl_C as hidden. Remove declaration of - _nl_locale_file_list. - * locale/xlocale.c: Declare _nl_C_LC_CTYPE_class, - _nl_C_LC_CTYPE_toupper, and _nl_C_LC_CTYPE_tolower as hidden. - Define _nl_C_locobj as hidden. - - * malloc/mtrace.c (_mtrace_file): Define as hidden. - (_mtrace_line): Likewise. - - * include/time.h: Declare __mon_yday as hidden. - * time/strptime.c [_LIBC] (__mon_yday): Remove declaration. - - * libio/libioP.h: Declare __libio_codecvt as hidden. - * libio/fileops.c: Declare __libio_translit as hidden. - * libio/iofwide.c: Define __libio_translit as hidden. - - * login/getutent_r.c: Define __libc_utmp_lock as hidden. - * login/getutid_r.c: Declare __libc_utmp_lock as hidden. - * login/getutline_r.c: Likewise. - * login/utmpname.c: Likewise. - - * login/utmp-private.h: Declare __libc_utmp_file_functions, - __libc_utmp_unknown_functions, __libc_utmp_jump_table, and - __libc_utmp_file_name as hidden. - - * locale/setlocale.c (__libc_setlocale_lock): Define as hidden. - * locale/duplocale.c (__libc_setlocale_lock): Declare as hidden. - * locale/freelocale.c: Likewise. - * locale/lc-time.c: Likewise. - - * sysdeps/unix/bsd/getpt.c (__libc_ptyname1): Define as hidden. - (__libc_ptyname2): Likewise. - * sysdeps/unix/sysv/linux/ptsname.c (__libc_ptyname1): Declare as - hidden. - (__libc_ptyname2): Likewise. - - * sysdeps/generic/sbrk.c: Declare __libc_multiple_libcs as hidden. - * sysdeps/arm/init-first.c (__libc_multiple_libcs): Define as hidden. - * sysdeps/generic/init-first.c: Likewise. - * sysdeps/i386/init-first.c: Likewise. - * sysdeps/mach/hurd/i386/init-first.c: Likewise. - * sysdeps/mach/hurd/mips/init-first.c: Likewise. - * sysdeps/mach/hurd/powerpc/init-first.c: Likewise. - * sysdeps/sh/init-first.c: Likewise. - * sysdeps/unix/sysv/aix/init-first.c: Likewise. - * sysdeps/unix/sysv/linux/init-first.c: Likewise. - - * stdio-common/itowa-digits.c (_itowa_lower_digits): Define as hidden. - (_itowa_upper_digits): Likewise. - - * libio/stdio.c (_IO_stdin, _IO_stdout, _IO_stderr): Define as hidden. - * libio/libio.h [_LIBC] (_IO_stdin, _IO_stdout, _IO_stderr): Declare - as hidden. - - * libio/libioP.h: Declare _IO_file_jumps_mmap, _IO_wfile_jumps, - _IO_wfile_jumps_mmap, _IO_proc_jumps, _IO_old_proc_jumps, - _IO_str_jumps, _IO_wstr_jumps, _IO_file_jumps_internal, - _IO_wfile_jumps_internal, and _IO_list_all_internal as hidden. - - * gmon/gmon.c (__bb_head): Define as hidden. - * gmon/bb_exit_func.c (__bb_head): Declare as hidden. - - * argp/argp-parse.c (_argp_hang): Define as static. - - * include/libc-symbols.h (_INTVARDEF): Adjust for visibility - handling in latest compilers. - - * inet/in6_addr.c (in6addr_any): Use INTVARDEF not INTDEF to - define alias. - * libio/fileops.c (_IO_file_jumps): Likewise. - * libio/stdfiles.c (_IO_list_all): Likewise. - * libio/wfileops.c (_IO_wfile_jumps): Likewise. - - * malloc/malloc.h: Move __libc_malloc_initialized declaration to - include/malloc.h. - * include/malloc.h: Add __libc_malloc_initialized declaration - here. Mark variable hidden. - * malloc/malloc.c: Include not "malloc.h". - - * elf/dl-open.c (__libc_argc): Declare as hidden. - (__libc_argv): Likewise. - * sysdeps/generic/wordexp.c (__libc_argc): Declare as hidden. - (__libc_argv): Likewise. - * sysdeps/mach/hurd/i386/init-first.c: Define __libc_argc and - __libc_argv as hidden. - * sysdeps/mach/hurd/mips/init-first.c: Likewise. - * sysdeps/mach/hurd/powerpc/init-first.c: Likewise. - * sysdeps/unix/sysv/aix/init-first.c: Likewise. - * sysdeps/unix/sysv/linux/init-first.c: Likewise. - - * include/stdlib.h (__libc_drand48_data): Declare as hidden. - * stdlib/drand48.c: Remove declaration of __libc_drand48_data here. - * stdlib/erand48.c: Likewise. - * stdlib/jrand48.c: Likewise. - * stdlib/lcong48.c: Likewise. - * stdlib/lrand48.c: Likewise. - * stdlib/mrand48.c: Likewise. - * stdlib/nrand48.c: Likewise. - * stdlib/seed48.c: Likewise. - * stdlib/srand48.c: Likewise. - - * stdio-common/_itoa.c (_itoa_base_table): Declare as hidden. - (_itoa_lower_digits_internal): New declaration. - (_itoa_upper_digits_internal): New declaration. - (_itoa): Use INTUSE to acces _itoa_upper_digits and _itoa_lower_digits. - * stdio-common.h (_itoa_lower_digits_internal): New declaration. - (_itoa_upper_digits_internal): New declaration. - (_itoa_word): Use INTUSE to acces _itoa_upper_digits and - _itoa_lower_digits. - * stdio-common/itoa-digits.c: Use INTVARDEF with _itoa_lower_digits. - * stdio-common/itoa-udigits.c: Use INTVARDEF with _itoa_upper_digits. - - * elf/dl-minimal.c (_itoa): Declare _itoa_lower_digits as hidden. - * elf/dl-reloc.c (_dl_reloc_bad_type): Likewise. - - * stdio-common/_itowa.c (_itoa_base_table): Declare as hidden. - (_itowa_lower_digits): Likewise. - (_itowa_upper_digits): Likewise. - * stdio-common/_itowa.h (_itowa_lower_digits): Likewise. - (_itowa_upper_digits): Likewise. - - * intl/plural-exp.h (attribute_hidden): Define as empty macro if - not already defined. - (GERMANIC_PLURAL): Declare as hidden. - - * posix/getopt.c (__getopt_initialized): Declare as hidden. - (attribute_hidden): Define as empty macro if not already defined. - - * iconv/gconv_int.h (__gconv_path_elem): Declare hidden. - (__gconv_max_path_elem_len): Likewise. - (__gconv_path_envvar): Likewise. - - * math/Makefile (gmp-objs): Remove mp_clz_tab. - * stdlib/Makefile (aux): Remove mp_clz_tab. - * stdlib/mp_clz_tab.c: Removed. Not needed anywhere. - - * stdlib/exit.h (__exit_funcs): Declare as hidden. - - * posix/bug-regex5.c (main): Use nl_langinfo instead of _NL_CURRENT. - - * locale/localeinfo.h: Add attribute_hidden to _nl_current_LC_XXX, - _nl_category_names, _nl_category_name_sizes, _nl_current, - _nl_C_name, _nl_POSIX_name, _nl_C_codeset, and _nl_C_LC_XXX. - - * intl/dcigettext.c (_nl_default_default_domain): Define as hidden. - (_nl_current_default_domain): Likewise - (_nl_state_lock): Likewise. - * intl/textdomain.c (_nl_default_default_domain): Declare as hidden. - (_nl_current_default_domain): Likewise - (_nl_state_lock): Likewise. - * intl/bindtextdom.c (_nl_state_lock): Likewise. - - * stdlib/fpioconst.h (__tens): Add attribute_hidden. - (_fpioconst_pow10): Likewise. - - * include/time.h (_tmbuf): Add attribute_hidden. - - * time/tzset.c (tzstring_list): Define as static. - - * include/time.h: Add attribute_hidden to __tzname_cur_max and - __use_tzfile declaration. - - * wcsmbs/wcsmbsload.h: Add attribute_hidden to __wcsmbs_gconv_fcts - and __wcsmbs_last_locale declaration. - -2002-02-25 Paul Eggert - - * timezone/Makefile (tzbases): Move systemv from here... - (tzlinks): to here, since the entries in systemv were all changed - from Zone to Link lines in tz-2001a. Bug reported (and patch - tested) by Peter Breitenlohner. - -2002-03-07 Jakub Jelinek - - * time/tst-posixtz.c (tests): Add new tests. - (main): Test whether tzset() sets daylight properly. - -2002-03-06 Jakub Jelinek - - * time/tzset.c (tz_compute): Move __daylight, __tzname and - __tzname_cur_max setting... - (tzset_internal): ...here. - -2002-03-06 Jakub Jelinek - - * time/tzset.c (compute_change): Don't return any value. - (tz_compute): Likewise. Don't handle southern hemisphere here. - (__tz_convert): But here. - -2002-03-11 Ulrich Drepper - - * manual/examples/mkfsock.c: Include as well. - Patch by Alain De Carolis . - -2002-03-06 Isamu Hasegawa - - * posix/regexec.c (re_match): Fix incorrect register sizes. - (re_search): Likewise. - -2002-03-05 Isamu Hasegawa - - * posix/regcomp.c (regfree): Remove a disused condition. - * posix/regex_internal.c (re_acquire_state): Likewise. - (re_acquire_state_context): Likewise. - (register_state): Remove a redundant malloc invocation. - * posix/regex_internal.h: (re_state_table_entry): Simplify - the structure. - -2002-03-05 Isamu Hasegawa - - * posix/regcomp.c (regcomp): Add __builtin_expect to error - handling conditions. - (regerror): Likewise. - (regfree): Likewise. - (re_compile_internal): Likewise. - (init_dfa): Likewise. - (init_word_char): Likewise. - (create_initial_state): Likewise. - (analyze): Likewise. - (analyze_tree): Likewise. - (duplicate_node): Likewise. - (calc_eclosure): Likewise. - (calc_eclosure_iter): Likewise. - (parse): Likewise. - (parse_reg_exp): Likewise. - (parse_branch): Likewise. - (parse_expression): Likewise. - (parse_subexp): Likewise. - (parse_dup_op): Likewise. - (parse_bracket_exp): Likewise. - (build_equiv_class): Likewise. - (build_charclass): Likewise. - (build_word_op): Likewise. - (fetch_number): Likewise. - (create_tree): Likewise. - (duplicate_tree): Likewise. - * posix/regex.c (BE): New macro. - * posix/regexec.c (re_match): Add __builtin_expect to error - handling conditions. - (re_match_2): Likewise. - (re_search): Likewise. - (re_search_internal): Likewise. - (check_matching): Likewise. - (proceed_next_node): Likewise. - (set_regs): Likewise. - (sift_states_backward): Likewise. - (add_epsilon_backreference): Likewise. - (transit_state): Likewise. - (transit_state_sb): Likewise. - (transit_state_mb): Likewise. - (transit_state_bkref): Likewise. - (transit_state_bkref_loop): Likewise. - (build_trtable): Likewise. - (group_nodes_into_DFAstates): Likewise. - (match_ctx_init): Likewise. - (match_ctx_add_entry): Likewise. - * posix/regex_internal.c (re_string_construct): Add __builtin_expect - to error handling conditions. - (re_string_construct_toupper): Likewise. - (build_wcs_buffer): Likewise. - (build_wcs_upper_buffer): Likewise. - (build_upper_buffer): Likewise. - (re_string_translate_buffer): Likewise. - (re_node_set_alloc): Likewise. - (re_node_set_init_1): Likewise. - (re_node_set_init_2): Likewise. - (re_node_set_init_copy): Likewise. - (re_node_set_intersect): Likewise. - (re_node_set_init_union): Likewise. - (re_node_set_merge): Likewise. - (re_node_set_insert): Likewise. - (re_dfa_add_node): Likewise. - (re_acquire_state): Likewise. - (re_acquire_state_context): Likewise. - (create_new_state_common): Likewise. - (register_state): Likewise. - (create_ci_new_state): Likewise. - (create_cd_new_state): Likewise. - (re_string_context_at): Remove redundant condition. - -2002-01-16 Roger Sayle - - * sysdeps/i386/i686/strcmp.S: Avoid unconditional jump to a ret. - - * sysdeps/i386/i586/strlen.S: Fix typo in comment. - -2002-03-11 Jakub Jelinek - - * sysdeps/i386/elf/configure.in: Fix comment. - - * sysdeps/sparc/sparc64/configure.in: New file. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address): Fix - if .dynamic comes before .got. - * config.h.in (SPARC64_DYNAMIC_BEFORE_GOT): Add. - - * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF, - HP_TIMING_ACCUM): Fix typos. - -2002-03-11 Ulrich Drepper - - * string/strfry.c: Add some more randomness to the seed. - Patch by James A Morrison . - - * po/es.po: Update from translation team. - * po/fr.po: Likewise. - - * stdio-common/tfformat.c (sprint_doubles): A test for %F format. - - * stdio-common/printf_fp.c (__printf_fp): Correct check for %F format - when determining type of format. - Patch by James Antill [PR libc/2787]. - -2002-03-04 Jakub Jelinek - - * sysdeps/unix/bsd/ftime.c (ftime): Don't return 1000 in millitm. - -2002-03-11 Roland McGrath - - * hurd/hurd/threadvar.h: Include for __THROW macro. - - * Versions.def (libc): Add GLIBC_2.2.6. - * hurd/Versions (libc: GLIBC_2.2.6): Add __errno_location. - * sysdeps/mach/hurd/errnos.awk: In generated macro, use - __errno_location instead of __hurd_errno_location, and don't inline it. - * sysdeps/mach/hurd/bits/errno.h: Regenerated. - * hurd/errno.c: New file. - * hurd/Makefile (routines): Add errno. - -2002-03-11 Ulrich Drepper - - * stdio-common/vfprintf.c (vfprintf): Avoid crashing for - ridiculously large widths and precisions [PR libc/3026]. - -2002-03-11 Andreas Jaeger - - * sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed: Fix for bi-arch - support. - Patch by Susanne Oberhauser . - -2002-03-11 Ulrich Drepper - - * inet/rexec.c (ahostbuf): Define as static. - - * wctype/wcfuncs.c (__ctype32_wctype): Declare as hidden. - (__ctype32_wctrans): Likewise. - * wcsmbs/wcwidth.h (__ctype32_width): Declare as hidden. - * ctype/ctype-info.c (__ctype32_wctype): Add attribute_hidden. - (__ctype32_wctrans): Likewise. - (__ctype32_width): Likewise. - - * gmon/Makefile (elide-routines.os): Add bb_init_func and bb_exit_func. - They were never exported anyway. - - * gmon/gmon.c (_gmonparam): Add attribute_hidden. - * gmon/sys/gmon.h: Remove declaration of _gmonparam. It wasn't - exported. - * include/sys/gmon.h: Declare _gmonparam. - - * sysdeps/unix/sysv/linux/i386/getdents64.c: Don't define compatibility - symbols for getdents64. They were never exported. - -2002-03-09 Roland McGrath - - * hurd/hurdsig.c (write_corefile): Fix swapped arguments to __dir_link. - Reported by Jon Arney . - -2002-02-23 Roland McGrath - - * hurd/hurd/threadvar.h (__hurd_threadvar_location): Add __THROW to - declaration. - (__hurd_errno_location): Function removed. - -2002-03-06 Andreas Jaeger - - * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Add compatibility for - 32-bit. - -2002-03-04 Andreas Jaeger - - * sysdeps/unix/sysv/linux/x86_64/readelflib.c: New file. - - * sysdeps/unix/sysv/linux/kernel-features.h: Add defines for - x86-64. - - * sysdeps/unix/sysv/linux/x86_64/bits/socket.h: New file. - - * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: New file. - - * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: New file. - - * sysdeps/x86_64/bits/setjmp.h: New file. - - * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: New file. - - * sysdeps/unix/sysv/linux/x86_64/bits/resource.h: New file. - - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Add compatibilty - for x86. - * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/types.h: Likewise. - -2002-02-28 Bo Thorsen - - * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Merge with i386 - version. - -2002-03-03 Andreas Jaeger - - * sysdeps/x86_64/bits/wordsize.h: New file. - - * elf/nodlopenmod2.c: Provide prototype to avoid warning. - * elf/tst-tlsmod1.c: Likewise. - - * posix/regcomp.c: Get regex.h from include dir for internal - prototypes. - - * sysdeps/unix/sysv/linux/init-first.c: Move __init_misc prototype - to libc-internal.h and include it. - * include/libc-internal.h: Add __init_misc. - - * misc/init-misc.c: Include libc-internal.h for prototypes. - - * sysdeps/wordsize-32/divdi3.c: Add prototypes to avoid warnings. - - * misc/error.c [_LIBC]: Include libioP.h for prototype of - _IO_putc_internal. - -2002-03-03 Ulrich Drepper - - * posix/regcomp.c: Compatibility changes to allow using the code - outside glibc. - -2002-02-28 Hartvig Ekner - - * sysdeps/mips/elf/start.S: Added initialization of GP (to _gp) if - compiled non-PIC. - -2002-03-02 Ulrich Drepper - - * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix creation - of .str elements in the returned data structure. - - * elf/elf.h: Add Alpha TLS bits. - -2002-02-28 Jakub Jelinek - - * sysdeps/unix/sysv/linux/nice.c: New file. - -2002-03-01 Ulrich Drepper - - * elf/Makefile (dl-routines): Add dl-origin. - (elide-routines.os): Add dl-origin. - * elf/Versions [ld] (GLIBC_PRIVATE): Add _dl_get_origin. - * elf/dl-debug.c (_dl_debug_initialize): Add missing INTUSE around - _dl_debug_state. - * include/libc-symbols.c: Define attribute_hidden depending on - HAVE_VISIBILITY_ATTRIBUTE. Add definition of INTVARDEF. - - * elf/dl-deps.c: Use INTUSE with __libc_enable_secure. - * elf/dl-load.c: Likewise. - * elf/rtld.c: Likewise. - * include/unistd.h: Declare __libc_enable_secure_internal. - * sysdeps/generic/dl-sysdep.c: Use INTVARDEF with __libc_enable_secure. - Use INTUSE with __libc_enable_secure. - * sysdeps/mach/hurd/dl-sysdep.c: Likewise. - - * elf/dl-deps.c: Use INTUSE with _dl_out_of_memory. - * elf/dl-error.c: Likewise, - * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory_internal. - - * elf/dl-dst.h [_RTLD_GLOBAL]: Define _dl_get_origin to use INTUSE. - * sysdeps/generic/dl-origin.c: Undefine _dl_get_origin macro before - function definition. Use INTDEF with _dl_get_origin. - * sysdeps/unix/sysv/linux/dl-origin.c: Likewise. - - * elf/dl-init.c: Use INTUSE with _dl_starting_up. - * elf/rtld.c: Likewise. Use INTVARDEF for _dl_starting_up. - - * elf/dl-profile.c: Use INTDEF for _dl_mcount. - * elf/dl-runtime.c: Use INTUSE with _dl_mcount. - * sysdeps/generic/ldsodefs.h: Declare _dl_mcount_internal. - - * elf/dl-conflict.c: Use rtld_progrname instead of _dl_argv[0]. + * elf/Versions [ld]: Don't export _dl_debug_message anymore. Export + _dl_debug_printf. + * elf/dl-misc.c: Remove definition of _dl_sysdep_output and + _dl_debug_message. Define _dl_debug_vdprintf, _dl_debug_printf, + _dl_debug_printf_c, and _dl_printf. + * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output, + _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and + _dl_sysdep_fatal. Declare _dl_debug_printf, _dl_debug_printf_c, + _dl_printf, _dl_error_printf, and _dl_fatal_printf. + * elf/dl-close.c: Replace use of old output functions with the new + ones. * elf/dl-deps.c: Likewise. * elf/dl-error.c: Likewise. * elf/dl-fini.c: Likewise. * elf/dl-init.c: Likewise. * elf/dl-load.c: Likewise. * elf/dl-lookup.c: Likewise. + * elf/dl-minimal.c: Likewise. + * elf/dl-open.c: Likewise. + * elf/dl-profile.c: Likewise. * elf/dl-reloc.c: Likewise. * elf/dl-version.c: Likewise. * elf/do-lookup.h: Likewise. - * sysdeps/arm/dl-machine.h: Likewise. - * sysdeps/cris/dl-machine.h: Likewise. - * sysdeps/hppa/dl-machine.h: Likewise. + * elf/rtld.c: Likewise. + * sysdeps/generic/dl-cache.c: Likewise. + * sysdeps/generic/dl-sysdep.c: Likewise. + * sysdeps/generic/libc-start.c: Likewise. * sysdeps/i386/dl-machine.h: Likewise. + * sysdeps/arm/dl-machine.h: Likewise. + * sysdeps/hppa/dl-machine.h: Likewise. * sysdeps/m68k/dl-machine.h: Likewise. * sysdeps/powerpc/dl-machine.h: Likewise. - * sysdeps/s390/s390-32/dl-machine.h: Likewise. - * sysdeps/s390/s390-64/dl-machine.h: Likewise. + * sysdeps/s390/dl-machine.h: Likewise. * sysdeps/sh/dl-machine.h: Likewise. - * sysdeps/sparc/sparc-32/dl-machine.h: Likewise. - * sysdeps/sparc/sparc-64/dl-machine.h: Likewise. - * sysdeps/x86_64/dl-machine.h: Likewise. - * elf/rtld.c: Use INTDEF for _dl_argv. Use rtld_progrname instead of - _dl_argv[0]. Use INTUSE with _dl_argv. - * sysdeps/generic/dl-sysdep.c: Use INTUSE with _dl_argv. - * sysdeps/generic/ldsodefs.h: Define rtld_progname macro. + * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise. + * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise. + * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise. -2002-02-28 Jakub Jelinek + * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration. - * elf/rtld.c (_rtld_global): Remove .protected. - (_rtld_local): Strong alias to _rtld_global. - * elf/Makefile (CFLAGS-.os): Add -D_RTLD_LOCAL if compiling rtld - only .os object. - * sysdeps/generic/ldsodefs.h (GL): If SHARED and _RTLD_LOCAL, use - _rtld_local instead of _rtld_global. - (_rtld_local): Add hidden extern, possibly in .sdata section. - * configure.in: Add tests for visibility attribute and .sdata. - * config.h.in: Add HAVE_VISIBILITY_ATTRIBUTE and HAVE_SDATA_SECTION. - * sysdeps/alpha/dl-machine.h: Use _rtld_local instead of _rtld_global. - * sysdeps/arm/dl-machine.h: Likewise. - * sysdeps/generic/ldsodefs.h: Likewise. - * sysdeps/hppa/dl-machine.h: Likewise. - * sysdeps/cris/dl-machine.h: Likewise. - * sysdeps/i386/dl-machine.h: Likewise. - * sysdeps/ia64/dl-machine.h: Likewise. - * sysdeps/m68k/dl-machine.h: Likewise. - * sysdeps/mips/mips64/dl-machine.h: Likewise. - * sysdeps/mips/dl-machine.h: Likewise. - * sysdeps/sparc/sparc32/dl-machine.h: Likewise. - * sysdeps/sparc/sparc64/dl-machine.h: Likewise. - * sysdeps/sh/dl-machine.h: Likewise. - * sysdeps/s390/s390-32/dl-machine.h: Likewise. - * sysdeps/s390/s390-64/dl-machine.h: Likewise. - * sysdeps/x86_64/dl-machine.h: Likewise. + * dlfcn/Makefile: Don't run tstatexit test unless .hidden is + supported by assembler. -2002-02-28 Ulrich Drepper + * sysdeps/generic/ldsodefs.h: Remove commented-out variable + declaractions. - * login/login.c (login): Always initialize ut_line field - [PR libc/2991]. + * elf/rtld.c: Little optimizations in handling _dl_lazy. -2002-02-28 Jakub Jelinek + * elf/cache.c (save_cache): Portability changes. + * elf/dl-profile.c (_dl_start_profile): Likewise. - * sysdeps/i386/Makefile (sysdep_routines): Add - divdi3 in csu dir. - (shared-only-routines): Likewise. - * sysdeps/m68k/Makefile (sysdep_routines): Likewise. - (shared-only-routines): Likewise. - * sysdeps/s390/s390-32/Makefile (sysdep_routines): Likewise. - (shared-only-routines): Likewise. - * sysdeps/wordsize-32/divdi3.c: New file. + * elf/sln.c: Cleanups. Remove arbitrary limits. -2002-02-28 Ulrich Drepper - - * locale/iso-4217.def: Remove obsolete currencies for countries - with Euro. - -2002-02-28 Isamu Hasegawa - - * posix/regcomp.c (regcomp): Remove a redundant condition. - (init_word_char): Add a check on malloc failure. - (create_initial_state): Likewise. - (duplicate_node): Likewise. - (calc_eclosure): Likewise. - (calc_eclosure_iter): Likewise. - (parse_expression): Likewise. - (parse_bracket_exp): Remove unnecessary malloc invocations. - (build_equiv_class): Likewise. - (build_charclass): Likewise. - * posix/regex_internal.c (re_node_set_intersect): Add a check - on malloc failure. - (re_node_set_add_intersect): Likewise. - (re_node_set_merge): Likewise. - (re_acquire_state): Likewise. - (re_acquire_state_context): Likewise. - (create_newstate_common): Likewise. - (register_state): Likewise. - (create_ci_newstate): Likewise. - (create_cd_newstate): Likewise. - * posix/regex_internal.h: Fix prototypes of re_acquire_state - and re_acquire_state_context. - * posix/regexec.c (regexec): Suit it to the error handling of - re_search_internal. - (re_match): Likewise. - (re_search): Likewise. - (re_search_internal): Add a check on malloc failure. - (acquire_init_state_context): Likewise. - (check_matching): Likewise. - (proceed_next_node): Likewise. - (set_regs): Likewise. - (sift_states_backward): Likewise. - (sift_states_iter_bkref): Likewise. - (add_epsilon_backreference): Likewise. - (transit_state): Likewise. - (transit_state_sb): Likewise. - (transit_state_mb): Likewise. - (transit_state_bkref_loop): Likewise. - (build_trtable): Likewise. - (group_nodes_into_DFAstates): Likewise. - (match_ctx_init): Likewise. - (match_ctx_add_entry): Likewise. - -2002-02-27 Ulrich Drepper - - * elf/dl-load.c (_dl_map_object_from_fd): Always add SONAME to - l_libname if profiling is enabled [PR libc/2916]. - - * sysdeps/ia64/dl-tls.h: New file. - -2002-02-27 Jakub Jelinek - - * sysdeps/alpha/dl-machine.h (elf_machine_load_address, RTLD_START): - Work around an Alpha gas bug. - -2002-02-27 Ulrich Drepper - - * catgets/open_catalog.c (__open_catalog): Fix typo in code which - uses read to load the catalog. - Patch by Andy Isaacson [PR libc/3011]. - -2002-02-26 Ulrich Drepper - - * posix/Makefile (distribute): Add regcomp.c, regexec.c, - regex_internal.c, and regex_internal.h. - (CFLAGS-regex.c): Replace -DMBS_SUPPORT with -DRE_ENABLE_I18N. - * posix/regex.c: Complete rewrite. - * posix/regexec.c: New file. - * posix/regcomp.c: New file. - * posix/regex_internal.c: New file. - * posix/regex_internal.h: New file. - * posix/regex.h (RE_ICASE): New macro. - Contributed by Isamu Hasegawa . - - * stdio-common/vfscanf.c (_IO_vfwscanf): Always use ungetc, never - ungetwc. It's a macro. - * libio/tst-swscanf.c (do_test): Adjust for now fixed wscanf - implementation. - Reported by Jason Merrill . - -2002-02-25 Jakub Jelinek - - * libio/iofopen.c (__fopen_maybe_mmap): Set the initial - position to fp->_offset if it is set. - * stdio-common/Makefile (tests): Add tst-fdopen. - * stdio-common/tst-fdopen.c: New test. - -2002-02-25 Jakub Jelinek - - * libio/fileops.c (_IO_file_xsgetn_mmap): Handle reading from backup. - * stdio-common/tst-ungetc.c (main): Add another test. - -2002-02-25 Ulrich Drepper - - * assert/assert-perr.c: Use INTUSE to reference functions and variables - inside libc itself. Use INTDEF and INTDEF2 to define appropriate - aliases. Add prototypes for the new aliases. - * assert/assert.c: Likewise. - * include/libc-symbols.h: Likewise. - * include/stdio.h: Likewise. - * include/netinet/in.h: Likewise. - * include/rpc/auth.h: Likewise. - * include/rpc/auth_unix.h: Likewise. - * include/rpc/key_prot.h: Likewise. - * include/rpc/pmap_prot.h: Likewise. - * include/rpc/pmap_rmt.h: Likewise. - * include/rpc/rpc_msg.h: Likewise. - * include/rpc/xdr.h: Likewise. - * inet/gethstbyad_r.c: Likewise. - * inet/gethstbynm2_r.c: Likewise. - * inet/gethstbynm_r.c: Likewise. - * inet/gethstent_r.c: Likewise. - * inet/in6_addr.c: Likewise. - * libio/__fpurge.c: Likewise. - * libio/filedoalloc.c: Likewise. - * libio/fileops.c: Likewise. - * libio/ftello.c: Likewise. - * libio/ftello64.c: Likewise. - * libio/genops.c: Likewise. - * libio/iofclose.c: Likewise. - * libio/iofdopen.c: Likewise. - * libio/iofflush.c: Likewise. - * libio/iofflush_u.c: Likewise. - * libio/iofgetpos.c: Likewise. - * libio/iofgetpos64.c: Likewise. - * libio/iofgets.c: Likewise. - * libio/iofgets_u.c: Likewise. - * libio/iofopen.c: Likewise. - * libio/iofopncook.c: Likewise. - * libio/iofputs.c: Likewise. - * libio/iofread.c: Likewise. - * libio/iofread_u.c: Likewise. - * libio/iofsetpos.c: Likewise. - * libio/iofsetpos64.c: Likewise. - * libio/ioftell.c: Likewise. - * libio/iofwrite.c: Likewise. - * libio/iogetline.c: Likewise. - * libio/iogets.c: Likewise. - * libio/iogetwline.c: Likewise. - * libio/iolibio.h: Likewise. - * libio/iopadn.c: Likewise. - * libio/iopopen.c: Likewise. - * libio/ioseekoff.c: Likewise. - * libio/ioseekpos.c: Likewise. - * libio/iosetbuffer.c: Likewise. - * libio/iosetvbuf.c: Likewise. - * libio/ioungetc.c: Likewise. - * libio/ioungetwc.c: Likewise. - * libio/iovdprintf.c: Likewise. - * libio/iovsprintf.c: Likewise. - * libio/iovsscanf.c: Likewise. - * libio/libioP.h: Likewise. - * libio/memstream.c: Likewise. - * libio/obprintf.c: Likewise. - * libio/oldfileops.c: Likewise. - * libio/oldiofclose.c: Likewise. - * libio/oldiofdopen.c: Likewise. - * libio/oldiofgetpos.c: Likewise. - * libio/oldiofgetpos64.c: Likewise. - * libio/oldiofopen.c: Likewise. - * libio/oldiofsetpos.c: Likewise. - * libio/oldiofsetpos64.c: Likewise. - * libio/oldiopopen.c: Likewise. - * libio/oldstdfiles.c: Likewise. - * libio/putc.c: Likewise. - * libio/setbuf.c: Likewise. - * libio/setlinebuf.c: Likewise. - * libio/stdfiles.c: Likewise. - * libio/stdio.c: Likewise. - * libio/strops.c: Likewise. - * libio/vasprintf.c: Likewise. - * libio/vscanf.c: Likewise. - * libio/vsnprintf.c: Likewise. - * libio/vswprintf.c: Likewise. - * libio/wfiledoalloc.c: Likewise. - * libio/wfileops.c: Likewise. - * libio/wgenops.c: Likewise. - * libio/wstrops.c: Likewise. - * malloc/mtrace.c: Likewise. - * misc/error.c: Likewise. - * misc/syslog.c: Likewise. - * nss/getXXbyYY_r.c: Likewise. - * nss/getXXent_r.c: Likewise. - * nss/hosts-lookup.c: Likewise. - * stdio-common/getw.c - * stdio-common/printf-prs.c: Likewise. - * stdio-common/printf_fp.c: Likewise. - * stdio-common/printf_size.c: Likewise. - * stdio-common/putw.c: Likewise. - * stdio-common/scanf.c: Likewise. - * stdio-common/sprintf.c: Likewise. - * stdio-common/tmpfile64.c: Likewise. - * stdio-common/vfprintf.c: Likewise. - * stdio-common/vfscanf.c: Likewise. - * stdlib/strfmon.c: Likewise. - * sunrpc/auth_des.c: Likewise. - * sunrpc/auth_none.c: Likewise. - * sunrpc/auth_unix.c: Likewise. - * sunrpc/authdes_prot.c: Likewise. - * sunrpc/authuxprot.c: Likewise. - * sunrpc/clnt_perr.c: Likewise. - * sunrpc/clnt_raw.c: Likewise. - * sunrpc/clnt_tcp.c: Likewise. - * sunrpc/clnt_udp.c: Likewise. - * sunrpc/clnt_unix.c: Likewise. - * sunrpc/key_call.c: Likewise. - * sunrpc/key_prot.c: Likewise. - * sunrpc/openchild.c: Likewise. - * sunrpc/pm_getmaps.c: Likewise. - * sunrpc/pm_getport.c: Likewise. - * sunrpc/pmap_clnt.c: Likewise. - * sunrpc/pmap_prot.c: Likewise. - * sunrpc/pmap_prot2.c: Likewise. - * sunrpc/pmap_rmt.c: Likewise. - * sunrpc/rpc_cmsg.c: Likewise. - * sunrpc/rpc_prot.c: Likewise. - * sunrpc/svc_authux.c: Likewise. - * sunrpc/svc_raw.c: Likewise. - * sunrpc/svc_simple.c: Likewise. - * sunrpc/svc_tcp.c: Likewise. - * sunrpc/svc_udp.c: Likewise. - * sunrpc/svc_unix.c: Likewise. - * sunrpc/xdr.c: Likewise. - * sunrpc/xdr_array.c: Likewise. - * sunrpc/xdr_mem.c: Likewise. - * sunrpc/xdr_rec.c: Likewise. - * sunrpc/xdr_ref.c: Likewise. - * sunrpc/xdr_stdio.c: Likewise. - * sysdeps/generic/_strerror.c: Likewise. - * sysdeps/generic/printf_fphex.c: Likewise. - * sysdeps/generic/tmpfile.c: Likewise. - * sysdeps/gnu/errlist.awk: Likewise. - * sysdeps/gnu/errlist.c: Likewise. - - * libio/Makefile (routines): Remove iosprint. - * libio/iosprintf.c: Removed - - -2002-02-24 Ulrich Drepper - - * elf/dl-support.c (_dl_non_dynamic_init): Renamed from - non_dynamic_init and exported now. - * sysdeps/unix/sysv/linux/ldsodefs.h: Declare _dl_non_dynamic_init. - * sysdeps/unix/sysv/linux/init-first.c: Call _dl_non_dynamic_init for - !SHARED. - * sysdeps/mach/hurd/i386/init-first.c: Likewise. - * sysdeps/mach/hurd/powerpc/init-first.c: Likewise. - * sysdeps/mach/hurd/mips/init-first.c: Likewise. - -2002-02-23 Ulrich Drepper - - * elf/dl-close.c (free_slotinfo): Check for end of list and return - true in this case. - - * locale/iso-639.def: Add language codes for Walloon. - - * elf/dl-fini.c (_dl_fini): Print some final statistics on the - total number of relocations performed. - - * elf/sprof.c (load_profdata): If do_test provide information as - to why loading failed. - * elf/dl-profile.c (_dl_start_profile): Initialize all of - hist_hdr.dimen. - - * csu/set-init.c: Moved to... - * sysdeps/mach/hurd/set-init.c: ...here. New file. - * csu/Makefile: Don't compile set-init. - * sysdeps/mach/hurd/Makefile: Compile set-init for subdir csu. - * sysdeps/mach/hurd/i386/init-first.c: Call __init_misc in addition - to __libc_init. - * sysdeps/mach/hurd/mips/init-first.c: Likewise. - * sysdeps/mach/hurd/powerpc/init-first.c: Likewise. - * sysdeps/unix/sysv/linux/init-first.c: Call __init_misc instead of - __libc_init. - * misc/init-misc.c: Always export __init_misc. Don't define hooks for - __libc_subinit. - -2002-02-22 Ulrich Drepper - - * elf/Versions: Add _dl_allocate_tls and _dl_deallocate_tls. - * elf/rtld.c (dl_main): Use _dl_allocate_tls with INTUSE. - * sysdeps/generic/dl-tls.c: Add INTDEF for _dl_allocate_tls. - (_dl_deallocate_tls): New function. - * sysdeps/generic/ldsodefs.h: Declare _dl_allocate_tls_internal and - _dl_deallocate_tls. - -2002-02-21 Jakub Jelinek - - * libio/fileops.c (_IO_file_seekoff_mmap): Fix fseek SEEK_END. - * stdio-common/tst-fseek.c (main): Add test for this. - -2002-02-19 Ulrich Drepper - - * stdlib/Versions: Move __on_exit to GLIBC_PRIVATE. - -2002-02-19 Jakub Jelinek - - * libio/fileops.c (_IO_file_underflow_mmap): Cast to unsigned char - pointer before dereferencing. - -2002-02-18 Roland McGrath - - * sysdeps/mach/hurd/times.c: Fix typo in last change. - - * sysdeps/mach/hurd/setpriority.c [POLICY_TIMESHARE_BASE_COUNT]: - Use task_policy in place of task_priority. - - * sysdeps/generic/bits/mman.h - (MS_ASYNC, MS_SYNC, MS_INVALIDATE): New macros. - * sysdeps/mach/msync.c: New file. - - * sysdeps/mach/powerpc/syscall.S: New file. - - * mach/msg.c [MACH_MSG_OVERWRITE] - (__mach_msg_trap, __mach_msg_overwrite): New functions. - * mach/Versions (libc: GLIBC_2.0): Add mach_msg_overwrite and __ name. - - * sysdeps/mach/configure.in: Check for clock.defs to put into - mach_interface_list. - * sysdeps/mach/configure: Regenerated. - - * mach/Makefile (mach-machine): New variable, set from $(base-machine). - ($(objpfx)mach-syscalls.mk): Use it in place of $(base-machine). - ($(mach-syscalls:%=$(objpfx)%.S) static pattern rule): - Use instead of . - (mach-shortcuts): Add device_read_overwrite_request, - device_read_overwrite, vm_read_overwrite, thread_switch. - - * configure.in (base_machine): Set to $machine by default. - * configure: Regenerated. - - * sysdeps/mach/configure.in: Check for - or and add -DNDR_DEF_HEADER=... to DEFINES. - * sysdeps/mach/configure: Regenerated. - * mach/mach_init.c [NDR_DEF_HEADER]: #include it. - - * hurd/hurdfault.c (_hurdsig_fault_init): Add a cast. - - * hurd/hurd/signal.h: Include for `jmp_buf' decl. - - * mach/msgserver.c (__mach_msg_server_timeout) [! MACH_RCV_LARGE]: - Double MAX_SIZE and don't retry on MACH_RCV_TOO_LARGE. - -2002-02-17 Roland McGrath - - * sysdeps/mach/hurd/times.c - [NO_CREATION_TIME] (startup_time): New static variable. - [NO_CREATION_TIME] (times_init): New static function in __libc_subinit. - (__times) [NO_CREATION_TIME]: Use startup_time in lieu of task - creation_time from task_basic_info. - (__times): Use __gettimeofday instead of __host_get_time. - - * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg) [! MACH_MSG_TYPE_BIT]: - Use untyped Mach IPC message format. - - * hurd/catch-exc.c: Include , missing from last change. - - * hurd/Versions (libc: GLIBC_2.0): Add _S_catch_exception_raise_state, - _S_catch_exception_raise_state_identity, - _hurdsig_fault_catch_exception_raise_state, - _hurdsig_fault_catch_exception_raise_state_identity. - - * mach/shortcut.awk: Don't apply the /^}$/ rule when $proto == "". - - * sysdeps/mach/getsysstats.c (__get_avphys_pages) [HOST_VM_INFO]: Use - __host_info with HOST_VM_INFO flavor instead of __vm_statistics. - - * sysdeps/mach/hurd/getpriority.c [TASK_SCHED_TIMESHARE_INFO]: Find - `base_priority' in PIP->timeshare_base_info instead of PIP->taskinfo. - - * sysdeps/mach/hurd/dl-sysdep.c [FMH]: Define for i386 only. - (fmh, unfmh): Define these functions only #if FMH. Otherwise define - them as no-op macros. - [FMH] (ELF_MACHINE_USER_ADDRESS_MASK): Redefine it to zero. - (__mmap): Uncomment uses of ELF_MACHINE_USER_ADDRESS_MASK. - - * sysdeps/powerpc/dl-machine.h - (ELF_MACHINE_USER_ADDRESS_MASK): New macro. - - * hurd/hurdselect.c (_hurd_select) [MACH_MSG_TRAILER_MINIMUM_SIZE]: - Use untyped Mach IPC message format. - - * sysdeps/mach/hurd/ioctl.c (__ioctl) [! MACH_MSG_TYPE_BIT]: - Handle untyped Mach IPC message formats. - - * hurd/catch-exc.c (_S_catch_exception_raise) [EXC_MASK_ALL]: - Expect different argument conventions when this is defined. - [EXC_MASK_ALL] (_S_catch_exception_raise_state): New stub function. - [EXC_MASK_ALL] (_S_catch_exception_raise_state_identity): Likewise. - * hurd/hurdfault.c: Likewise for _hurdsig_fault_catch_exception_*. - [NDR_CHAR_ASCII] (mig_reply_header_t): #define as mig_reply_error_t - for OSF Mach variant. - (faulted): Use mig_reply_error_t for REPLY. - (_hurdsig_fault_init) [EXC_MASK_ALL]: Use EXCEPTION_STATE_IDENTITY - in __thread_set_exception_ports call. - (_hurdsig_fault_init) [MACH_PORT_RECEIVE_STATUS]: Use - __mach_port_set_attributes in place of __mach_port_set_qlimit. - - * sysdeps/mach/powerpc/sysdep.h (_MACH_MACHINE_ASM_H): Define this - before include , to inhibit - on Darwin, which includes bogons. - - * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Move local - variable LOADBASE so it's not declared when it's not used. - -2002-02-16 Roland McGrath - - * sysdeps/mach/hurd/times.c (__times) [NO_CREATION_TIME]: Don't try - to use BI.creation_time. - - * mach/Machrules (MIG): Add -x c to CPP value passed down. - - * config.h.in: Add #undef HAVE_HOST_PAGE_SIZE. - * sysdeps/mach/configure.in: Check for host_page_size RPC to define it. - * mach/mach_init.c (__mach_init) [HAVE_HOST_PAGE_SIZE]: Use - host_page_size instead of vm_statistics. - - * sysdeps/mach/Makefile (mach-before-compile): Don't include - mach_interface.h here, since not all variants use that name. - - * sysdeps/mach/configure.in: Add some checks for Mach headers - to ensure a sane installation. - (mach_interface_list): Define this variable by checking for .defs - files found in various variants. - * configure.in (mach_interface_list): AC_SUBST this. - * config.make.in (mach-interface-list): New substituted variable. - * mach/Makefile (user-interfaces): Define this using the value - of $(mach-interface-list) instead of mach, mach4. - Updated other references to mach_interface to use it as well. - - * sysdeps/mach/powerpc/machine-lock.h: Avoid multi-line strings. - - * mach/msgserver.c [NDR_CHAR_ASCII] (mig_reply_header_t): #define as - mig_reply_error_t for OSF Mach variant. - - * mach/Makefile (routines): Remove bootprivport. - * mach/bootprivport.c: File removed. It has never been used. - - * mach/msg-destroy.c (__mach_msg_destroy) [MACH_MSG_PORT_DESCRIPTOR]: - Grok the OSF flavor of message format. - (mach_msg_destroy_port): For MAKE_SEND and - MAKE_SEND_ONCE rights, create an destroy a right to ensure proper - no-senders notification. - -2002-02-06 Roland McGrath - - * hurd/Versions (libc: GLIBC_2.0): Move cthread_fork, cthread_detach - to here if 2.0 compatibility enabled ... - (libc: GLIBC_2.1.3): ... from here. - -2002-02-15 Ulrich Drepper - - * elf/dl-open.c (dl_open_worker): Catch wrap-around of TLS - generation counter. - * elf/dl-close.c (_dl_close): Likewise. - -2002-02-14 Ulrich Drepper - - * elf/Makefile: Add rules to build and run tst-tls8. - * elf/tst-tls8.c: New file. - * elf/tst-tlsmod4.c: New file. - - * stdlib/test-a64l.c (tests): Add more test cases. - - * sunrpc/rtime.c (rtime): Change type of thetime to uint32_t. - Reported by Walter Harms . - -2002-02-11 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add sc_flag bit - definitions for struct sigcontext. - Suggested by David Mosberger-Tang. - -2002-02-13 Ulrich Drepper - - * elf/dl-close.c (remove_slotinfo): New function. Handles everything - for removing reference of module in slotinfo list. - (_dl_close): Use remove_slotinfo. - * sysdeps/generic/dl-tls.c: General pretty printing. - (oom): Define only if SHARED. - (_dl_next_tls_modid): Correct starting point for the case we assume - there is a gap. Add missing instruction grouping (doh!). Correct - tests for reaching maximum index. - * elf/Makefile: Add rules to build and run tst-tls7. - * elf/tst-tls7.c: New file. - * elf/tst-tlsmod3.c: New file. - - * elf/tst-tlsmod1.c: Move #include "tls-macros.h" instead #ifdef - USE_TLS. - * elf/tst-tlsmod2.c: Likewise. - - * elf/dl-close.c (_dl_close): When closing an object using TLS - either decrement dl_tls_max_dtv_idx or set dl_tls_dtv_gaps to - true. Increment dl_tls_generation only if we closed any TLS-using - object. - * elf/tst-tls6.c: New file. - * elf/Makefile: Add rules to build and run tst-tls6. - - * po/da.po: Update from translation team. - - * locale/categories.def: Fix typo [PR libc/2948]. - * po/Makefile (BROKEN_LINGUAS): Works with current gettext - [PR libc/2949]. - * locale/iso-4217.def: Update from official version [PR libc/2950]. - * glibcbug.in: Honor TMPDIR [PR libc/2951]. - * locale/programs/ld-collate.c (collate_finish): Bail out with a - message if input is too confusion instead of using assert. - (collate_read): Don't crash on unknown symbol [PR libc/2952]. - Patches by Alastair McKinstry . - - * elf/tst-tls1.c: Move #include "tls-macros.h" inside #ifdef USE_TLS. - * elf/tst-tls2.c: Likewise. - * elf/tst-tls3.c: Likewise. - -2002-02-13 Jakub Jelinek - - * elf/dl-close.c (free_slotinfo): Only define if TLS supported. - -2002-02-13 Ulrich Drepper - - * elf/dl-open.c (dl_open_worker): Only bump the generation counter - if this is really necessary. - - * elf/dl-close.c (_dl_close): Implement freeing entries in the - slotinfo array. - (free_mem): Free memory for the slotinfo array if possible. - -2002-02-12 Andreas Schwab - - * csu/gmon-start.c (__gmon_start__): Remove '&' from ENTRY_POINT. - -2002-02-12 Ulrich Drepper - - * sysdeps/generic/dl-tls.c (TLS_DTV_UNALLOCATED): Renamed from - TLS_DTV_UNALLOCATE. - (oom): New function. - (_dl_next_tls_modid): Rewrite to handle dl_tls_dtv_slotinfo_list. - (_dl_determine_tlsoffset): Likewise. - (_dl_allocate_tls): Likewise. - (__TLS_GET_ADDR): Define if not already defined. - (_dl_tls_symaddr): New function. - (allocate_and_init): New function. - (__tls_get_addr): Actually implement handling of generation counter - and deferred allocation. - * sysdeps/generic/ldsodefs.h (_rtld_global): Remove _dl_initimage_list, - add _dl_tls_dtv_slotinfo_list, _dl_tls_static_nelem, and - _dl_tls_generation. - Define TLS_SLOTINFO_SURPLUS and DTV_SURPLUS. - Declare _dl_tls_symaddr. - * sysdeps/i386/dl-tls.h: Disable __tls_get_addr handling unless - SHARED. - * include/link.h (struct link_map): Remove l_tls_nextimage and - l_tls_previmage. - * elf/dl-sym.c (_dl_sym): After successful lookup call _dl_tls_symaddr - instead of DL_SYMBOL_ADDRESS for STT_TLS symbols. - (_dl_vsym): Likewise. - * elf/rtld.c (_dl_start_final): Adjust initdtv initialization for new - layout. - (dl_main): Allow PT_TLS be present for empty segment. Remove - nextimage list handling. Instead add all modules using TLS to - dl_tls_dtv_slotinfo_list. - * elf/dl-open.c (dl_open_worker): After successfully loading all - objects add those with TLS to the dl_tls_dtv_slotinfo_list list. - * elf/dl-load.c (_dl_map_object_from_fd): If PT_TLS entry is for an - empty segment don't do anything. Remove handling of initimage list. - * elf/Versions [ld] (GLIBC_2.0): Add __libc_memalign. - (GLIBC_PRIVATE): Add _dl_tls_symaddr. - * elf/dl-minimal.c: Define __libc_memalign. - * elf/dl-support.c: Remove _dl_initimage_list. Add - _dl_tls_dtv_slotinfo_list, _dl_tls_static_nelem, and - _dl_tls_generation. - * include/stdlib.h: Declare __libc_memalign. - - * elf/Makefile: Add rules to build and run tst-tls4 and tst-tls5. - * elf/tst-tls4.c: New file. - * elf/tst-tls5.c: New file. - * elf/tst-tlsmod2.c: New file. - - * elf/tls-macros.h: asms using ___tls_get_addr destroy %ecx and %edx. - - * elf/tst-tlsmod1.c: Don't define variables unles USE_TLS. - - * elf/tst-tls1.c: Use test-skeleton.c. - * elf/tst-tls2.c: Likewise. - * elf/tst-tls3.c: Likewise. - - * elf/dl-conflict.c (RESOLVE_MAP): Return NULL not 0. - -2002-02-08 Daniel Jacobowitz - - * sysdeps/mips/machine-gmon.h: Update MCOUNT for current GCC behavior. - -2002-02-10 Ulrich Drepper - - * elf/elf.h: Define R_386_TLS_GD and R_386_TLS_LDM. - - * elf/tst-tls3.c: New file. - * elf/tst-tlsmod1.c: New file. - * elf/Makefile: Add rules to build and run tst-tls3. - - * sysdeps/i386/dl-machine.h: Include . - (elf_machine_type_class): Set ELF_RTYPE_CLASS_PLT also for the three - TLS relocations. - - * elf/do-lookup.h (FCT): st_value can be zero for STT_TLS symbols. - - * po/fr.po: Update from translation team. - - * elf/tls-macros.h: Add alternative macros for use in PIC. - - * elf/dl-lookup.c: Include . - * elf/do-lookup.h (FCT): Don't discard STT_TLS symbols. - - * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): More changes - required by passing pointer to last element of the list. - - * elf/dl-load.c (_dl_map_object_from_fd): Move adjustment of - l_tls_initimage to a place where it actually is performed. - - * sysdeps/generic/glob.c (glob): Explicitly set gl_pathc to zero - after globfree() calls. - - * elf/dl-deps.c (struct openaux_args): Add open_mode element. - (openaux): Pass open_mode as new last argument to _dl_map_object. - (_dl_map_object_deps): Add new argument open_mode. Initialize - open_mode element of args variable with it. - * elf/dl-open.c (dl_open_worker): Pass __RTLD_DLOPEN flag is set to - _dl_map_object_deps. - * elf/rtld.c (dl_main): Add zero as last parameter to - _dl_map_object_deps call. - * sysdeps/generic/ldsodefs.h: Adjust prototype of _dl_map_object_deps. - * elf/nodlopen2.c: New file. - * elf/nodlopenmod2.c: New file. - * elf/Makefile: Add rules to build and run nodlopen2. - - * elf/tst-tls1.c: Move TLS helper macros to... - * elf/tls-macros.h: ...here. New file. - * elf/tst-tls2.c: New file. - * elf/Makefile (tests): Add tst-tls2. - (distribute): Add tls-macros.h. - - * po/sv.po: Update from translation team. - - * elf/tst-tls1.c (main): Add complete set of tests. Split - architecture specific definitions from the actual test code. - - * po/tr.po: Update from translation team. - -2002-02-09 Ulrich Drepper - - * elf/Makefile (tests): Add tst-tls1. - * elf/tst-tls1.c: New file. - - * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Don't handle - alignment of TCB for now. - - * elf/rtld.c (dl_main): Use p_vaddr as address of TLS - initialization image for the application itself. - - * sysdeps/generic/dl-tls.c (_dl_allocate_tls): Correctly terminate - loop to initialize TLS block. - -2002-02-08 Richard Henderson - - * sysdeps/generic/ldsodefs.h (struct rtld_global): Also include - _dl_cpuclock_offset if HP_SMALL_TIMING_AVAIL. - - * sysdeps/alpha/elf/initfini.c: Use \n\ for multiline string. - -2002-02-09 Jakub Jelinek - - * sysdeps/generic/dl-environ.c (unsetenv): Clear cnt before use. - -2002-02-08 Ulrich Drepper - - * po/ca.po: Update from translation team. - * po/sk.po: Likewise. - - * elf/rtld.c (_dl_start_final): Install DTV explicitly. - (dl_main): Move dtv/static TLS handling before relocation. - Unconditionally call _dl_tlsoffset. Call _dl_allocate_tls and - TLS_INIT_TP to allocate and install the dtv/static TLS block. - * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): If no object - so far uses TLS initialize GL(dl_tls_static_size) and - GL(dl_tls_static_align) to account for the TCB. - (_dl_allocate_tls): New function. - * sysdeps/generic/ldsodefs.h (rtld_global): Add - _dl_initial_dtv_malloced. - - * configure.in: Test for __builtin_memset more realistically. - - * csu/version.c (banner): If TLS support is available say so. - -2002-02-04 H.J. Lu - - * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Use - __attribute_used__. - (__dl_runtime_resolve): Likewise. - - * sysdeps/mips/machine-gmon.h (_MCOUNT_DECL): Make it a real - declaration. - -2001-11-15 H.J. Lu - - * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Don't include - , nor . Updated for gdb. - - * sysdeps/unix/sysv/linux/mips/sys/user.h: New file. - -2002-02-07 H.J. Lu - - * sysdeps/mips/atomicity.h (compare_and_swap): Remove - ".set noreorder". - * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): - Likewise. - -2002-02-07 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/stat.h: Undo last patch. - - * sysdeps/i386/dl-tls.h (__tls_get_addr): Call - ___tls_get_addr_internal. - (___tls_get_addr_internal): Define as alias for ___tls_get_addr. - - * po/ko.po: Update from translation team. - -2002-02-07 Jakub Jelinek - - * sysdeps/unix/sysv/linux/bits/stat.h (struct stat): Remove packed - attribute, change __pad{1,2} type to unsigned int. - (struct stat64): Remove packed attribute. - -2002-02-07 Ulrich Drepper - - * sysdeps/i386/dl-tls.h: No need for #ifdef USE_TLS. - -2002-02-07 Andreas Schwab - - * configure.in: Fix check for -zcombreloc. - -2002-02-06 H.J. Lu - - * config.h.in (HAVE_BUILTIN_MEMSET): New macro. - * configure.in: Check if __builtin_memset really works. - * elf/rtld.c (_dl_start): Check HAVE_BUILTIN_MEMSET instead of - __GNUC_PREREQ (2, 96) before using __builtin_memset. - -2002-02-06 Jakub Jelinek - - * io/bug-ftw3.c (main): Don't try the test if root. - -2002-02-06 Martin Schwidefsky - - * sysdeps/unix/sysv/linux/s390/brk.c (__brk): Correct inline assembly - constraints. - * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h (RLIMIT_LOCKS): - Add RLIMIT_LOCKS and adjust RLIMIT_NLIMITS. - * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h (RLIMIT_LOCKS): - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (clone): Make clone - a weak alias for __clone. - * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (clone): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h: Fix typo. - * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add framestate. - * sysdeps/unix/sysv/linux/s390/s390-64/Versions: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S (__mmap64): Make __mmap - a weak alias for __mmap64. - -2002-02-05 H.J. Lu - - * sysdeps/mips/atomicity.h (exchange_and_add): Not use branch likely. - (atomic_add): Likewise. - (compare_and_swap): Likewise. - * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Likewise. - -2002-02-07 Ulrich Drepper - - * sysdeps/generic/dl-tls.c: Don't read TLS header if TLS is not needed. - - * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Account for - alignment of the TCB and store total size and alignment of static - TLS block in _dl_tls_static_size and _dl_tls_static_align. - tls_index is a typedef. - * sysdeps/generic/ldsodefs.h: Declare _dl_tls_static_size and - _dl_tls_static_align. - * sysdeps/i386/dl-tls.h: tls_index is a typedef. - * elf/dl-support.c: Define _dl_tls_static_size and - _dl_tls_static_align. - -2002-02-06 Ulrich Drepper - - * configure.in: Add --without-tls option. - * sysdeps/i386/elf/configure.in: Don't check for TLS support if - --without-tls is given. - - * sysdeps/generic/dl-tls.c: Include . - - * sysdeps/i386/dl-tls.h: Don't define anything if !USE_TLS. - -2002-02-06 Roland McGrath - - * malloc/hooks.c [! HAVE_MREMAP]: Conditionalize unused decls. - * malloc/malloc.c [! HAVE_MREMAP]: Likewise. - - * scripts/versions.awk: Improve error message for missing version. - Each version inherits from the last one only if they have the same - nonnumeric prefix, i.e. GLIBC_x.y and GLIBC_x.z or FOO_x and FOO_y - but not GLIBC_x and FOO_y. - - * scripts/firstversions.awk: Handle libraries that don't have each - particular version named in the third column of shlib-versions. - - * scripts/firstversions.awk: Don't mess with GLIBC_PRIVATE. - -2002-02-06 Ulrich Drepper - - * Versions.def [ld]: Add GLIBC_2.3. - * elf/Versions [ld]: Add __tls_get_addr to GLIBC_2.3. - * elf/Makefile (dl-routines): Add dl-tls. - (distribute): Add dl-tls.h. - * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove - _dl_tls_module_cnt, add _dl_tls_max_dtv_idx and _dl_tls_dtv_gaps. - Add prototypes for _dl_next_tls_modid and _dl_determine_tlsoffset. - * elf/dl-load.c (_dl_map_object_from_fd): Store alignment requirement - along with the other info in the link map. Change queueing of init - images for double linked list. Use _dl_next_tls_modid to compute - l_tls_modid. - * elf/rtld.c (_dl_start_final): Store alignment requirement - along with the other info in rtld map and executable map. - (dl_main): Add ld.so to the init image list if necessary. Compute - final module ID with _dl_next_tls_modid. - * include/link.h (struct link_map): Add l_tls_previmage and - l_tls_align. - * eld/dl-support.c: Define _dl_tls_max_dtv_idx and _dl_tls_dtv_gaps. - * sysdeps/i386/elf/Versions: New file. - * sysdeps/generic/dl-tls.c: New file. - * sysdeps/generic/dl-tls.h: New file. - * sysdeps/i386/dl-tls.h: New file. - -2002-02-06 Roland McGrath - - * sysdeps/unix/sysv/linux/netinet/ip.h: Moved to ... - * sysdeps/generic/netinet/ip.h: ... here, replacing old file. - -2002-01-05 Roland McGrath - - * sysdeps/mach/configure.in: New file. - * sysdeps/mach/configure: New generated file. - - * mach/Makefile (user-interfaces): Remove default_pager_helper. - It has never been used by anything. - -2002-02-06 H.J. Lu - - * sysdeps/mips/elf/ldsodefs.h: Make sure the right - is included. - -2002-02-06 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/stat.h (struct stat): Add - attribute((packed)) to counter stupid people misusing gcc options. - (struct stat64): Likewise. - -2002-02-05 Ulrich Drepper - - * elf/rtld.c (dl_main): Correct indentation. Use bool as type for - the variables which are used as booleans. - -2002-02-06 Andreas Jaeger - - * include/libc-symbols.h (INTUSE): Renamed from INT. - * elf/dl-deps.c: Change users. - * sysdeps/generic/dl-sysdep.c: Likewise. - * sysdeps/generic/dl-cache.c: Likewise. - * elf/dl-reloc.c: Likewise. - * elf/rtld.c: Likewise. - * elf/dl-version.c: Likewise. - * elf/dl-load.c: Likewise. - * elf/dl-dst.h: Likewise. - * elf/dl-init.c: Likewise. - * elf/dl-error.c: Likewise. + * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask. + * elf/dl-deps.c: Likewise. * elf/dl-fini.c: Likewise. - * elf/dl-runtime.c: Likewise. + * elf/dl-init.c: Likewise. + * elf/dl-load.c: Likewise. + * elf/dl-lookup.c: Likewise. + * elf/dl-open.c: Likewise. + * elf/dl-reloc.c: Likewise. + * elf/dl-support.c: Likewise. + * elf/dl-version.c: Likewise. * elf/do-lookup.h: Likewise. + * elf/rtld.c: Likewise. + * sysdeps/generic/dl-cache.c: Likewise. + * sysdeps/generic/ldsodefs.h: Likewise. + * sysdeps/generic/libc-start.c: Likewise. + * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files. + Export _dl_debug_mask. + * Versions.def: Define GLIBC_2.2.3 for ld. - * stdio-common/_itoa.h: Undefine SPECIAL to avoid duplicate +2001-02-26 Greg McGary + + * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter. + +2001-02-26 Paul Eggert + + Modify mkstemp.c and tempname.c so that they can be used by + GNU applications on non-glibc platforms. + + * misc/mkstemp.c (__GT_FILE): Define to zero if not defined. + + * sysdeps/posix/tempname.c: Include if HAVE_CONFIG_H. + Include , , only if + STDC_HEADERS || _LIBC. + Include only if HAVE_FCNTL_H || _LIBC. + Include only if HAVE_UNISTD_H || _LIBC. + Include only if HAVE_SYS_TIME_H || _LIBC. + (__set_errno): Define this macro if doesn't. + (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE): + Define these macros if doesn't. + (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR): + Define these macros if doesn't. + Ignore S_ISDIR if STAT_MACROS_BROKEN. + (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64, + lxstat64, __xstat64): Define if not _LIBC. + (struct_stat64): New macro. + (direxists, __gen_tempname): Use it, to avoid a + portability problem with Solaris 8. + (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC). + (__gen_tempname): Invoke gettimeofday only if + HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time". + Use portable macros like S_IRUSR | S_IWUSR rather than nonportable + octal values like 0600. + +2001-02-26 Ulrich Drepper + + * sysdeps/ieee754/ldbl-96/e_jnl.c: New file. + Contributed by Stephen L. Moshier . + + * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction. + * sysdeps/ia64/fpu/libm-test-ulps: Likewise. + + * posix/wordexp-test.c (testit): Remove warnings. + + * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c. + (tests): Add tstatexit and tstcxaatexit. + (module-names): Add modatexit and modcxaatexit. + Add rules to build and run tstatexit and tstcxaatexit. + * dlfcn/modatexit.c: New file. + * dlfcn/modcxaatexit.c: New file. + * dlfcn/tstatexit.c: New file. + * dlfcn/tstcxaatexit.c: New file. + + * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if + .hidden is available. + * io/stat.c: If .hidden is available use it to avoid exporting + functions. + * io/fstat.c: Likewise. + * io/lstat.c: Likewise. + * io/stat64.c: Likewise. + * io/fstat64.c: Likewise. + * io/lstat64.c: Likewise. + * sysdeps/generic/mknod.c: Likewise. + + * malloc/mtrace.c: Use __cxa_atexit and not atexit. + * sysdeps/generic/bb_init_func.c: Likewise. + * sysdeps/generic/libc-start.c: Likewise. + + * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c. + (atexit): Implement using __cxa_atexit. + Use .hidden if availble to avoid exporting atexit. + * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c. + * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3. + * stdlib/Makefile (routines): Add old_atexit. + (static-only-routines): Add atexit. + Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available. + * stdlib/old_atexit.c: New file. + + * intl/Makefile: Remove bogus endif. + +2001-02-26 Andreas Jaeger + + * iconvdata/Makefile (tests): Fix typo in last patch. + + * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is + available. + Reported by Achim Gottinger . + +2001-02-25 Andreas Jaeger + + * intl/Makefile (plural.c): Reorder rules so that they work if + BISON doesn't exist. + +2001-02-25 Ulrich Drepper + + * intl/locale.alias: Don't use nb_NO but define aliases for it. + +2001-02-23 Ulrich Drepper + + * sysdeps/i386/strtok.S: Continue to return NULL after the first + time this happened. + +2001-02-23 Andreas Jaeger + + * string/tester.c (test_strtok_r): Add testcase. + (test_strtok_r): Always initialize cp for proper checking. + + * sysdeps/generic/strtok.c (strtok): Handle case of first strtok + returning NULL correctly. + Patch by Fumitoshi UKAI . + * sysdeps/generic/strtok_r.c (__strtok_r): Likewise. + +2001-02-23 Ulrich Drepper + + * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before + including . + * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write. + * include/libc-symbols.h (weak_alias): Don't use .weak if + HAVE_ASM_GLOBAL_DOT_NAME is defined. + Patches by Michael Keezer . + + * sysdeps/generic/ftime.c: Don't include at all. + Patch by Michael Keezer . + + * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S. + * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc] + (sysdep_routines): Remove restf.S and savef.S. + * sysdeps/unix/sysv/aix/restf.S: Removed. + * sysdeps/unix/sysv/aix/savef.S: Removed. + * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label. Also define + alternative names used on some platforms. + * sysdeps/powerpc/fprsave.S: Likewise. + * sysdeps/powerpc/gprrest0.S: Likewise. + * sysdeps/powerpc/gprrest1.S: Likewise. + * sysdeps/powerpc/gprsave0.S: Likewise. + * sysdeps/powerpc/gprsave1.S: Likewise. + Patch by Michael Keezer . + +2001-02-22 Ulrich Drepper + + * sysdeps/i386/elf/start.S (_fp_hw): Actually define label. + +2001-02-22 Andreas Jaeger + + * string/tst-strtok.c (main): Fix error messages. + +2001-02-22 Andreas Jaeger + + * math/Makefile: Remove omit-long-double-fcts. + +2001-02-18 Maciej W. Rozycki + + * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to + avoid problems on MIPS I. + * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise. + + * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set + noreorder". + +2001-02-21 Ulrich Drepper + + * posix/fnmatch_loop.c: Handle ranges outside glibc correctly. + + * sysdeps/generic/ftime.c: Include . + + * configure.in: Don't check for libgd if user passed --without-gd. + Patch by Achim Gottinger . + + * sysdeps/i386/i686/strtok.S: Continue to return NULL after the + first time this happened. + * string/Makefile (tests): Add tst-strtok. + +2001-02-21 Andreas Jaeger + + * string/tst-strtok.c: New testcase, reported by + Andrew Church . + +2001-02-20 Ulrich Drepper + + * libio/iofwide.c: Remove fwide alias. + +2001-02-20 Andreas Jaeger + + * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl + is available. + Reported by Achim Gottinger . + +2001-02-19 Ulrich Drepper + + * iconv/tst-iconv1.c (main): Remove debugging code. + + * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly. + * sysdeps/ieee754/dbl-64/e_pow.c: Likewise. + + * sysdeps/generic/e_scalb.c: Set invalid exception for invalid + parameters. + * sysdeps/generic/e_scalbf.c: Likewise. + * sysdeps/generic/e_scalbl.c: Likewise. + + * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error, + libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also + in libc. + (routines): Replace libm_error with libc_libm_error. + * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c. + * sysdeps/ia64/fpu/libc_libm_error.c: New file. + +2001-02-18 Mark Kettenis + + * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64. + (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64. + +2001-02-17 H.J. Lu + + * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use + scratch registers across the system call. + +2001-02-19 Andreas Jaeger + + * malloc/Makefile (tests): Run mtrace only when perl is available. + Reported by Achim Gottinger . + +2001-02-19 Ulrich Drepper + + * sysdeps/ieee754/ldbl-96/e_j1l.c: New file. + Contributed by Stephen L. Moshier . + + * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1. + * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1. + * math/libm-test.inc (j1_test): Mark constants as long double. + (jn_test): Likewise. + (y1_test): Likewise. + (yn_test): Likewise. + + * libio/iogetline.c: Move return until after last statement. + + * localedata/show-ucs-data.c: Don't show < > for better readability. + + * sysdeps/ia64/fpu/Dist: New file. + * sysdeps/ia64/fpu/Makefile: New file. + * sysdeps/ia64/fpu/Versions: New file. + * sysdeps/ia64/fpu/e_acos.S: New file. + * sysdeps/ia64/fpu/e_acosf.S: New file. + * sysdeps/ia64/fpu/e_acosl.S: New file. + * sysdeps/ia64/fpu/e_asin.S: New file. + * sysdeps/ia64/fpu/e_asinf.S: New file. + * sysdeps/ia64/fpu/e_asinl.S: New file. + * sysdeps/ia64/fpu/e_atan2.S: New file. + * sysdeps/ia64/fpu/e_atan2f.S: New file. + * sysdeps/ia64/fpu/e_atan2l.c: New file. + * sysdeps/ia64/fpu/e_cosh.S: New file. + * sysdeps/ia64/fpu/e_coshf.S: New file. + * sysdeps/ia64/fpu/e_coshl.S: New file. + * sysdeps/ia64/fpu/e_exp.S: New file. + * sysdeps/ia64/fpu/e_expf.S: New file. + * sysdeps/ia64/fpu/e_expl.c: New file. + * sysdeps/ia64/fpu/e_fmod.S: New file. + * sysdeps/ia64/fpu/e_fmodf.S: New file. + * sysdeps/ia64/fpu/e_fmodl.S: New file. + * sysdeps/ia64/fpu/e_hypot.S: New file. + * sysdeps/ia64/fpu/e_hypotf.S: New file. + * sysdeps/ia64/fpu/e_hypotl.S: New file. + * sysdeps/ia64/fpu/e_log.S: New file. + * sysdeps/ia64/fpu/e_log10.c: New file. + * sysdeps/ia64/fpu/e_log10f.c: New file. + * sysdeps/ia64/fpu/e_log10l.c: New file. + * sysdeps/ia64/fpu/e_logf.S: New file. + * sysdeps/ia64/fpu/e_logl.c: New file. + * sysdeps/ia64/fpu/e_pow.S: New file. + * sysdeps/ia64/fpu/e_powf.S: New file. + * sysdeps/ia64/fpu/e_powl.S: New file. + * sysdeps/ia64/fpu/e_rem_pio2.c: New file. + * sysdeps/ia64/fpu/e_rem_pio2f.c: New file. + * sysdeps/ia64/fpu/e_remainder.S: New file. + * sysdeps/ia64/fpu/e_remainderf.S: New file. + * sysdeps/ia64/fpu/e_remainderl.S: New file. + * sysdeps/ia64/fpu/e_scalb.S: New file. + * sysdeps/ia64/fpu/e_scalbf.S: New file. + * sysdeps/ia64/fpu/e_scalbl.S: New file. + * sysdeps/ia64/fpu/e_sinh.S: New file. + * sysdeps/ia64/fpu/e_sinhf.S: New file. + * sysdeps/ia64/fpu/e_sinhl.S: New file. + * sysdeps/ia64/fpu/e_sqrt.S: New file. + * sysdeps/ia64/fpu/e_sqrtf.S: New file. + * sysdeps/ia64/fpu/e_sqrtl.S: New file. + * sysdeps/ia64/fpu/k_rem_pio2.c: New file. + * sysdeps/ia64/fpu/k_rem_pio2f.c: New file. + * sysdeps/ia64/fpu/k_rem_pio2l.c: New file. + * sysdeps/ia64/fpu/libm_atan2_reg.S: New file. + * sysdeps/ia64/fpu/libm_error.c: New file. + * sysdeps/ia64/fpu/libm_frexp4.S: New file. + * sysdeps/ia64/fpu/libm_frexp4f.S: New file. + * sysdeps/ia64/fpu/libm_frexp4l.S: New file. + * sysdeps/ia64/fpu/libm_reduce.S: New file. + * sysdeps/ia64/fpu/libm_support.h: New file. + * sysdeps/ia64/fpu/libm_tan.S: New file. + * sysdeps/ia64/fpu/s_atan.S: New file. + * sysdeps/ia64/fpu/s_atanf.S: New file. + * sysdeps/ia64/fpu/s_atanl.S: New file. + * sysdeps/ia64/fpu/s_cbrt.S: New file. + * sysdeps/ia64/fpu/s_cbrtf.S: New file. + * sysdeps/ia64/fpu/s_cbrtl.S: New file. + * sysdeps/ia64/fpu/s_ceil.S: New file. + * sysdeps/ia64/fpu/s_ceilf.S: New file. + * sysdeps/ia64/fpu/s_ceill.S: New file. + * sysdeps/ia64/fpu/s_cos.S: New file. + * sysdeps/ia64/fpu/s_cosf.S: New file. + * sysdeps/ia64/fpu/s_cosl.S: New file. + * sysdeps/ia64/fpu/s_expm1.S: New file. + * sysdeps/ia64/fpu/s_expm1f.S: New file. + * sysdeps/ia64/fpu/s_expm1l.S: New file. + * sysdeps/ia64/fpu/s_floor.S: New file. + * sysdeps/ia64/fpu/s_floorf.S: New file. + * sysdeps/ia64/fpu/s_floorl.S: New file. + * sysdeps/ia64/fpu/s_frexp.c: New file. + * sysdeps/ia64/fpu/s_frexpf.c: New file. + * sysdeps/ia64/fpu/s_frexpl.c: New file. + * sysdeps/ia64/fpu/s_ilogb.S: New file. + * sysdeps/ia64/fpu/s_ilogbf.S: New file. + * sysdeps/ia64/fpu/s_ilogbl.S: New file. + * sysdeps/ia64/fpu/s_ldexp.S: New file. + * sysdeps/ia64/fpu/s_ldexpf.S: New file. + * sysdeps/ia64/fpu/s_ldexpl.S: New file. + * sysdeps/ia64/fpu/s_log1p.S: New file. + * sysdeps/ia64/fpu/s_log1pf.S: New file. + * sysdeps/ia64/fpu/s_log1pl.S: New file. + * sysdeps/ia64/fpu/s_logb.S: New file. + * sysdeps/ia64/fpu/s_logbf.S: New file. + * sysdeps/ia64/fpu/s_logbl.S: New file. + * sysdeps/ia64/fpu/s_matherrf.c: New file. + * sysdeps/ia64/fpu/s_matherrl.c: New file. + * sysdeps/ia64/fpu/s_modf.S: New file. + * sysdeps/ia64/fpu/s_modff.S: New file. + * sysdeps/ia64/fpu/s_modfl.S: New file. + * sysdeps/ia64/fpu/s_nearbyint.S: New file. + * sysdeps/ia64/fpu/s_nearbyintf.S: New file. + * sysdeps/ia64/fpu/s_nearbyintl.S: New file. + * sysdeps/ia64/fpu/s_rint.S: New file. + * sysdeps/ia64/fpu/s_rintf.S: New file. + * sysdeps/ia64/fpu/s_rintl.S: New file. + * sysdeps/ia64/fpu/s_round.S: New file. + * sysdeps/ia64/fpu/s_roundf.S: New file. + * sysdeps/ia64/fpu/s_roundl.S: New file. + * sysdeps/ia64/fpu/s_scalbn.S: New file. + * sysdeps/ia64/fpu/s_scalbnf.S: New file. + * sysdeps/ia64/fpu/s_scalbnl.S: New file. + * sysdeps/ia64/fpu/s_significand.S: New file. + * sysdeps/ia64/fpu/s_significandf.S: New file. + * sysdeps/ia64/fpu/s_significandl.S: New file. + * sysdeps/ia64/fpu/s_sin.c: New file. + * sysdeps/ia64/fpu/s_sincos.c: New file. + * sysdeps/ia64/fpu/s_sincosf.c: New file. + * sysdeps/ia64/fpu/s_sincosl.c: New file. + * sysdeps/ia64/fpu/s_sinf.c: New file. + * sysdeps/ia64/fpu/s_sinl.c: New file. + * sysdeps/ia64/fpu/s_tan.S: New file. + * sysdeps/ia64/fpu/s_tanf.S: New file. + * sysdeps/ia64/fpu/s_tanl.S: New file. + * sysdeps/ia64/fpu/s_trunc.S: New file. + * sysdeps/ia64/fpu/s_truncf.S: New file. + * sysdeps/ia64/fpu/s_truncl.S: New file. + * sysdeps/ia64/fpu/w_acos.c: New file. + * sysdeps/ia64/fpu/w_acosf.c: New file. + * sysdeps/ia64/fpu/w_acosl.c: New file. + * sysdeps/ia64/fpu/w_asin.c: New file. + * sysdeps/ia64/fpu/w_asinf.c: New file. + * sysdeps/ia64/fpu/w_asinl.c: New file. + * sysdeps/ia64/fpu/w_atan2.c: New file. + * sysdeps/ia64/fpu/w_atan2f.c: New file. + * sysdeps/ia64/fpu/w_atan2l.c: New file. + * sysdeps/ia64/fpu/w_cosh.c: New file. + * sysdeps/ia64/fpu/w_coshf.c: New file. + * sysdeps/ia64/fpu/w_coshl.c: New file. + * sysdeps/ia64/fpu/w_exp.c: New file. + * sysdeps/ia64/fpu/w_expf.c: New file. + * sysdeps/ia64/fpu/w_fmod.c: New file. + * sysdeps/ia64/fpu/w_fmodf.c: New file. + * sysdeps/ia64/fpu/w_fmodl.c: New file. + * sysdeps/ia64/fpu/w_hypot.c: New file. + * sysdeps/ia64/fpu/w_hypotf.c: New file. + * sysdeps/ia64/fpu/w_hypotl.c: New file. + * sysdeps/ia64/fpu/w_log.c: New file. + * sysdeps/ia64/fpu/w_log10.c: New file. + * sysdeps/ia64/fpu/w_log10f.c: New file. + * sysdeps/ia64/fpu/w_log10l.c: New file. + * sysdeps/ia64/fpu/w_logf.c: New file. + * sysdeps/ia64/fpu/w_logl.c: New file. + * sysdeps/ia64/fpu/w_pow.c: New file. + * sysdeps/ia64/fpu/w_powf.c: New file. + * sysdeps/ia64/fpu/w_powl.c: New file. + * sysdeps/ia64/fpu/w_remainder.c: New file. + * sysdeps/ia64/fpu/w_remainderf.c: New file. + * sysdeps/ia64/fpu/w_remainderl.c: New file. + * sysdeps/ia64/fpu/w_scalb.c: New file. + * sysdeps/ia64/fpu/w_scalbf.c: New file. + * sysdeps/ia64/fpu/w_scalbl.c: New file. + * sysdeps/ia64/fpu/w_sqrt.c: New file. + * sysdeps/ia64/fpu/w_sqrtf.c: New file. + * sysdeps/ia64/fpu/w_sqrtl.c: New file. + * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double + implementation. + * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types. + Change FP_ILOGBNAN for new implementation. + * Verions.def: Add 2.2.3 versions. + +2001-02-18 Ulrich Drepper + + * math/libm-test.inc (scalb_test): Require invalid exception being + raised for invalid parameters. + * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary. + * sysdeps/i386/fpu/e_scalbf.S: Likewise. + * sysdeps/i386/fpu/e_scalbl.S: Likewise. + +2001-02-18 Mark Kettenis + + * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return + value to long int. + (__get_avphys_pages): Likewise. + +2001-02-18 Ulrich Drepper + + * math/libm-test.inc (pow_test): Correct expected results for x == +-1. + * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly. + * sysdeps/i386/fpu/e_powf.S: Likewise. + * sysdeps/i386/fpu/e_powl.S: Likewise. + + * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code. + +2001-02-17 Ulrich Drepper + + * math/Makefile (libm-calls): It's e_exp2 not s_exp2. + + * sysdeps/generic/s_exp2l.c: Renamed to... + * sysdeps/generic/e_exp2l.c: ...this. New file. + * sysdeps/i386/fpu/s_exp2.S: Renamed to... + * sysdeps/i386/fpu/e_exp2.S: ...this. New file. + * sysdeps/i386/fpu/s_exp2f.S: Renamed to... + * sysdeps/i386/fpu/e_exp2f.S: ...this. New file. + * sysdeps/i386/fpu/s_exp2l.S: Renamed to... + * sysdeps/i386/fpu/e_exp2l.S: ...this. New file. + * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to... + * sysdeps/ieee754/flt-32/e_exp2f.c: ...this. New file. + * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to... + * sysdeps/ieee754/dbl-64/e_exp2.c: ...this. New file. + * sysdeps/m68k/fpu/s_exp2.c: Renamed to... + * sysdeps/m68k/fpu/e_exp2.c: ...this. New file. + * sysdeps/m68k/fpu/s_exp2f.c: Renamed to... + * sysdeps/m68k/fpu/e_exp2f.c: ...this. New file. + * sysdeps/m68k/fpu/s_exp2l.c: Renamed to... + * sysdeps/m68k/fpu/e_exp2l.c: ...this. New file. + +2001-02-17 Andreas Jaeger + + * configure.in: Allow gcc 3. + +2001-02-16 Ulrich Drepper + + * math/w_acos.c: Move to ... + * sysdeps/generic/w_acos.c: ...here. New file. + * math/w_acosf.c: Move to ... + * sysdeps/generic/w_acosf.c: ...here. New file. + * math/w_acosh.c: Move to ... + * sysdeps/generic/w_acosh.c: ...here. New file. + * math/w_acoshf.c: Move to ... + * sysdeps/generic/w_acoshf.c: ...here. New file. + * math/w_acoshl.c: Move to ... + * sysdeps/generic/w_acoshl.c: ...here. New file. + * math/w_acosl.c: Move to ... + * sysdeps/generic/w_acosl.c: ...here. New file. + * math/w_asin.c: Move to ... + * sysdeps/generic/w_asin.c: ...here. New file. + * math/w_asinf.c: Move to ... + * sysdeps/generic/w_asinf.c: ...here. New file. + * math/w_asinl.c: Move to ... + * sysdeps/generic/w_asinl.c: ...here. New file. + * math/w_atan2.c: Move to ... + * sysdeps/generic/w_atan2.c: ...here. New file. + * math/w_atan2f.c: Move to ... + * sysdeps/generic/w_atan2f.c: ...here. New file. + * math/w_atan2l.c: Move to ... + * sysdeps/generic/w_atan2l.c: ...here. New file. + * math/w_atanh.c: Move to ... + * sysdeps/generic/w_atanh.c: ...here. New file. + * math/w_atanhf.c: Move to ... + * sysdeps/generic/w_atanhf.c: ...here. New file. + * math/w_atanhl.c: Move to ... + * sysdeps/generic/w_atanhl.c: ...here. New file. + * math/w_cosh.c: Move to ... + * sysdeps/generic/w_cosh.c: ...here. New file. + * math/w_coshf.c: Move to ... + * sysdeps/generic/w_coshf.c: ...here. New file. + * math/w_coshl.c: Move to ... + * sysdeps/generic/w_coshl.c: ...here. New file. + * math/w_drem.c: Move to ... + * sysdeps/generic/w_drem.c: ...here. New file. + * math/w_dremf.c: Move to ... + * sysdeps/generic/w_dremf.c: ...here. New file. + * math/w_dreml.c: Move to ... + * sysdeps/generic/w_dreml.c: ...here. New file. + * math/w_exp10.c: Move to ... + * sysdeps/generic/w_exp10.c: ...here. New file. + * math/w_exp10f.c: Move to ... + * sysdeps/generic/w_exp10f.c: ...here. New file. + * math/w_exp10l.c: Move to ... + * sysdeps/generic/w_exp10l.c: ...here. New file. + * math/w_exp2.c: Move to ... + * sysdeps/generic/w_exp2.c: ...here. New file. + * math/w_exp2f.c: Move to ... + * sysdeps/generic/w_exp2f.c: ...here. New file. + * math/w_exp2l.c: Move to ... + * sysdeps/generic/w_exp2l.c: ...here. New file. + * math/w_fmod.c: Move to ... + * sysdeps/generic/w_fmod.c: ...here. New file. + * math/w_fmodf.c: Move to ... + * sysdeps/generic/w_fmodf.c: ...here. New file. + * math/w_fmodl.c: Move to ... + * sysdeps/generic/w_fmodl.c: ...here. New file. + * math/w_hypot.c: Move to ... + * sysdeps/generic/w_hypot.c: ...here. New file. + * math/w_hypotf.c: Move to ... + * sysdeps/generic/w_hypotf.c: ...here. New file. + * math/w_hypotl.c: Move to ... + * sysdeps/generic/w_hypotl.c: ...here. New file. + * math/w_j0.c: Move to ... + * sysdeps/generic/w_j0.c: ...here. New file. + * math/w_j0f.c: Move to ... + * sysdeps/generic/w_j0f.c: ...here. New file. + * math/w_j0l.c: Move to ... + * sysdeps/generic/w_j0l.c: ...here. New file. + * math/w_j1.c: Move to ... + * sysdeps/generic/w_j1.c: ...here. New file. + * math/w_j1f.c: Move to ... + * sysdeps/generic/w_j1f.c: ...here. New file. + * math/w_j1l.c: Move to ... + * sysdeps/generic/w_j1l.c: ...here. New file. + * math/w_jn.c: Move to ... + * sysdeps/generic/w_jn.c: ...here. New file. + * math/w_jnf.c: Move to ... + * sysdeps/generic/w_jnf.c: ...here. New file. + * math/w_jnl.c: Move to ... + * sysdeps/generic/w_jnl.c: ...here. New file. + * math/w_lgamma.c: Move to ... + * sysdeps/generic/w_lgamma.c: ...here. New file. + * math/w_lgammaf.c: Move to ... + * sysdeps/generic/w_lgammaf.c: ...here. New file. + * math/w_lgammaf_r.c: Move to ... + * sysdeps/generic/w_lgammaf_r.c: ...here. New file. + * math/w_lgammal.c: Move to ... + * sysdeps/generic/w_lgammal.c: ...here. New file. + * math/w_lgammal_r.c: Move to ... + * sysdeps/generic/w_lgammal_r.c: ...here. New file. + * math/w_lgamma_r.c: Move to ... + * sysdeps/generic/w_lgamma_r.c: ...here. New file. + * math/w_log10.c: Move to ... + * sysdeps/generic/w_log10.c: ...here. New file. + * math/w_log10f.c: Move to ... + * sysdeps/generic/w_log10f.c: ...here. New file. + * math/w_log10l.c: Move to ... + * sysdeps/generic/w_log10l.c: ...here. New file. + * math/w_log.c: Move to ... + * sysdeps/generic/w_log.c: ...here. New file. + * math/w_logf.c: Move to ... + * sysdeps/generic/w_logf.c: ...here. New file. + * math/w_logl.c: Move to ... + * sysdeps/generic/w_logl.c: ...here. New file. + * math/w_pow.c: Move to ... + * sysdeps/generic/w_pow.c: ...here. New file. + * math/w_powf.c: Move to ... + * sysdeps/generic/w_powf.c: ...here. New file. + * math/w_powl.c: Move to ... + * sysdeps/generic/w_powl.c: ...here. New file. + * math/w_remainder.c: Move to ... + * sysdeps/generic/w_remainder.c: ...here. New file. + * math/w_remainderf.c: Move to ... + * sysdeps/generic/w_remainderf.c: ...here. New file. + * math/w_remainderl.c: Move to ... + * sysdeps/generic/w_remainderl.c: ...here. New file. + * math/w_scalb.c: Move to ... + * sysdeps/generic/w_scalb.c: ...here. New file. + * math/w_scalbf.c: Move to ... + * sysdeps/generic/w_scalbf.c: ...here. New file. + * math/w_scalbl.c: Move to ... + * sysdeps/generic/w_scalbl.c: ...here. New file. + * math/w_sinh.c: Move to ... + * sysdeps/generic/w_sinh.c: ...here. New file. + * math/w_sinhf.c: Move to ... + * sysdeps/generic/w_sinhf.c: ...here. New file. + * math/w_sinhl.c: Move to ... + * sysdeps/generic/w_sinhl.c: ...here. New file. + * math/w_sqrtl.c: Move to ... + * sysdeps/generic/w_sqrtl.c: ...here. New file. + * math/w_tgamma.c: Move to ... + * sysdeps/generic/w_tgamma.c: ...here. New file. + * math/w_tgammaf.c: Move to ... + * sysdeps/generic/w_tgammaf.c: ...here. New file. + * math/w_tgammal.c: Move to ... + * sysdeps/generic/w_tgammal.c: ...here. New file. + + * locale/programs/ld-address.c (address_finish): Add 'S' to allow + formats for postal_fmt. + +2001-02-16 Jakub Jelinek + + * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add + __ftruncate64 alias. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate): + Likewise. + +2001-02-15 David Mosberger + + * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to + do "loadrs". Writing to bspstore already takes care of + invalidating the "clean" partition. + +2001-02-16 Andreas Schwab + + * sysdeps/m68k/fpu/s_nextafterl.c: New file. + * sysdeps/m68k/fpu/s_fpclassifyl.c: New file. + +2001-02-15 Jakub Jelinek + + * posix/regex.c (init_syntax_once): Add prototype. + (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'. + (re_search_2): Avoid warning. + (count_mbs_length): Add prototype. + * posix/tst-regex3.c: New file. + * posix/Makefile (tests): Add bug-regex3. + +2001-02-15 Ulrich Drepper + + * stdio-common/Makefile (tests): Add tst-gets. + * stdio-common/tst-gets.c: New file. + * stdio-common/tst-gets.input: New file. + + * elf/elf.h (DT_CHECKSUM): Define. + + * sysdeps/generic/strtoll.c: Don't export __strto*_internal as + default symbol. + * sysdeps/generic/strtoull.c: Likewise. + +2001-02-14 Wolfram Gloger + + * malloc/malloc.c (new_heap): When allocating large chunk aligned + to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes' + between the heaps. + +2001-02-14 Ulrich Drepper + + * math/libm-test.inc (j0_test): Check whether sincos is available. + (j1_test): Likewise. + (jn_test): Likewise. + (y0_test): Likewise. + (y1_test): Likewise. + (yn_test): Likewise. + + * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach + fake filesystem routines to handle this. + + * time/sys/time.h: Make settimeofday and adjtime available if + _BSD_SOURCE. + + * time/sys/time.h: Make timer* macros available for BSD. + + * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030. + Patch by Yong Li . + + * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of + name. + + * posix/Makefile (tests): Add tst-gnuglob. + * posix/tst-gnuglob.c: New file. + +2001-02-13 H.J. Lu + + * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64. + +2001-02-13 Ulrich Drepper + + * locale/programs/ld-paper.c (paper_output): Pretty printing. + + * iconvdata/Makefile (modules): Add GBBIG5. + (distribute): Add gbbig5.c. + * iconvdata/gconv-modules: Add entries for GBBIG5 module. + + * iconvdata/gbbig5.c: New file. + Contributed by Yong Li . + +2001-02-13 Philip Blundell + + * manual/crypt.texi: Remove outdated references to crypt add-on. + + * manual/creature.texi: Improve wording slightly. + +2001-02-13 Ulrich Drepper + + * io/ftw.c: Always use readdir64. + * io/ftw64.c: Likewise. + * sysdeps/unix/sysv/linux/ttyname.c: Likewise. + * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise. + * sysdeps/generic/glob.c: Likewise. Convert results of gl_readdir + callback to dirent. Still allow compiling outside glibc. + * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64. + * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise. + + * malloc/mtrace.c: Use fopen64. + * posix/spawni.c: Use __open64. + * sysdeps/unix/opendir.c: Likewise. + * sysdeps/unix/sysv/linux/gethostid.c: Likewise. + + * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old + name a weak alias. + * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise. + * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise. + + * resolv/res_data.c: Add cast to avoid warning. + + * include/unistd.h: Declare __ftruncate64. + + * sysdeps/generic/utmp_file.c: Use LFS functions and types. + + * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64 + instead of __lseek. + +2001-02-13 Andreas Jaeger + + * login/getutent_r.c: Include for NULL. + * login/getutid_r.c: Likewise. + +2001-02-12 Ulrich Drepper + + * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos. + * sysdeps/dbl-64/e_j1.c: Likewise. + * sysdeps/dbl-64/e_jn.c: Likewise. + * sysdeps/flt-32/e_j0f.c: Likewise. + * sysdeps/flt-32/e_j1f.c: Likewise. + * sysdeps/ldbl-96/e_j0l.c: Likewise. + +2000-12-02 H.J. Lu + + * resolv/res_libc.c (res_init): Don't make it default. + +2001-02-12 Ulrich Drepper + + * manual/debug.texi: Improved the wording. + Patch by Philip Blundell . + +2001-02-12 Andreas Jaeger + + * posix/Makefile (tests): Don't run bug-regex2 when + cross-compiling. + + * libio/Makefile (tests): Don't run test-freopen when + cross-compiling. + + * manual/stdio.texi (Streams and I18N): Fix typos. + +2001-02-12 Ulrich Drepper + + * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l. + + * math/libm-test.inc (j0_test): Make expected results long double + constants. + (y0_test): Likewise. + + * sysdeps/ieee754/ldbl-96/e_j0l.c: New file. + Contributed by Stephen L. Moshier . + +2001-02-11 Jakub Jelinek + + * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias + which was exported from libc. + * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise. + +2001-02-12 Andreas Jaeger + + * manual/arith.texi (Parsing of Integers): Fix some wordings. + +2001-02-11 Ulrich Drepper + + * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages + and get_avphys_page to long int. + * sysdeps/unix/sysv/linux/getsysstat.c: Likewise. + * include/sys/sysinfo.h: Likewise. + * sysdeps/generic/sys/sysinfo.h: Likewise. + * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise. + + * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we + cannot return as many values as the user asked for. + +2001-02-11 Andreas Jaeger + + * manual/resource.texi (Memory Resources): Fix typo. + + * libio/Makefile ($(objpfx)test-freopen.out): Pass + run-program-prefix. + + * libio/test-freopen.sh: Use run_program_prefix. + +2001-02-10 Andreas Jaeger + + * stdlib/Makefile (tests): Don't run tst-fmtmsg when + cross-compiling. + ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix. + + * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static + only builds. + + * elf/Makefile (tests): Only run tst-pathopt with shared libs. + + * posix/Makefile: Fix typo, it's build-static-nss. + + * iconv/Makefile (extra-objs): New. + +2001-02-10 Mark Kettenis + + * sysdeps/unix/stime.c: Include . + + * sysdeps/mach/hurd/setitimer.c: Include . + +2001-02-10 Andreas Jaeger + + * manual/string.texi (Search Functions): Fix typo. + +2001-02-10 Mark Kettenis + + * sysdeps/unix/bsd/times.c: Reorder includes and add . + (timeval_to_clock_t): Add clk_tck argument and use that instead of + CLK_TCK. + (__times): Use __getclktck to get the number of clock ticks per + second and use its return value instead of CLK_TCK. + +2001-02-10 Mark Kettenis + + * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define. + +2001-02-10 Mark Kettenis + + * sysdeps/mach/gettimeofday.c: Include . + +2001-02-10 Andreas Jaeger + + * wctype/wcfuncs.c (func): Add prototype declarations to avoid + warning. + +2001-02-09 Ulrich Drepper + + * posix/Makefile: Add rules to build and run bug-regex2. + * posix/bug-regex2.c: New file. + +2001-02-10 Jakub Jelinek + + * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *. + (regex_compile): Likewise. + (FREE_VARIABLES): Don't free is_binary1 and is_binary2. + (re_match_2_internal): Use just is_binary instead of two variables. + Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure. + +2001-02-09 Ulrich Drepper + + * version.h (VERSION): Bump to 2.2.2. + + * iconv/Makefile (distribute): Add iconv_charmap.c and + dummy-repertoire.c. + * elf/Makefile (distribute): Add firstobj.c. + * Makefile (distribute): Add include/pthread.h. + + * configure.in: Require makeinfo version 4. + + * libio/tst_wscanf.c (main): Add cast to avoid warning. + * libio/tst_swscanf.c (main): Likewise.. + +2001-02-09 Jakub Jelinek + + * sysdeps/generic/setenv.c (unsetenv): Remove const from len. + * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if + __NO_MATH_INLINES. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym + if not RTLD_BOOTSTRAP. + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise. + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise. + +2001-02-09 Ulrich Drepper + + * locale/programs/linereader.c (get_ident): Stop loop if EOF. Use + lr_ungetc to push back last read character. + * locale/programs/linereader.h (lr_ungetc): Don't push back is + character is EOF. + (lr_ignore_rest): Don't warn about garbage if it is really the end + of the file. + + * manual/Makefile: Use ifnottext and not ifinfo to protect Top node definition. - * stdio-common/_itowa.h: Likewise. -2002-02-05 Ulrich Drepper +2001-02-08 Ulrich Drepper - * elf/dl-minimal.c: Define _itoa_lower_digits. + * Makerules (build-shlib): Work around different order of + processing of -B option in different gcc versions. - * elf/dynamic-link.h (elf_get_dynamic_info): ld.so can have - DT_FLAGS set. + * posix/regex.c: Fix alignment problem. + Patch by Isamu Hasegawa . - * elf/dl-load.c (_dl_map_object_from_fd): Prevent dynamically - loading modules with the DF_STATIC_TLS flag set. - * elf/dynamic-link.h (elf_get_dynamic_info): Initialize l_flags - element. - * include/link.h (struct link_map): Add l_flags field. - * elf/elf.h (DF_STATIC_TLS): New definition. + * sysdeps/alpha/strrchr.S: Little optimization. + Patch by Richard Henderson . - * dlfcn/Makefile: Add rules to build and run bug-dlopen1. - * dlfcn/bug-dlopen1.c: New file. By Bruno Haible. + * sysdeps/alpha/alphaev67/strrchr.S: New file. + Contributed by Rick Gorton . - * elf/rtld.c (process_dl_debug): Correct printing help message. - * elf/dl-misc.c (_dl_debug_vdprintf): Implement precision handling - for %s. +2001-02-08 kaz Kojima - * inet/getnetgrent_r.c (innetgr): Add int* parameter to getfct - definition and pass &errno in use of this variable. - Reported by Simon Wilkinson [PR libc/2911]. + * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name + in the assembler end directive. -2002-02-04 Andreas Schwab +2001-02-08 Andreas Jaeger - * locale/programs/localedef.h (WITH_CUR_LOCALE): Define. - * locale/programs/charmap-dir.c: Wrap calls that output messages - with WITH_CUR_LOCALE. Include "localedef.h" first. - * locale/programs/charmap.c: Likewise. + * manual/stdio.texi (Closing Streams): Fix typos. + +2001-02-07 Ulrich Drepper + + * sysdeps/alpha/alphaev67/strncat.S: Align last write address. + Patch by Richard Henderson . + Reported by Claus-Justus Heine . + + * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store + pointer in FILE structure before calling _IO_init. + * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and + strfmon_l if necessary. + Reported by Jury Gerold . + + * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros. + Patch by Pekka.Pietikainen@cern.ch. + + * posix/regex.c: Correct several problems with 64-bit architectures + introduced in the MBS changes. + Patch by Isamu Hasegawa . + +2001-02-07 Jakub Jelinek + + * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is + not defined. + * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES. + +2001-02-07 Andreas Jaeger + + * manual/install.texi (Tools for Compilation): Fix typo. + Reported by Pavel Machek . + +2001-02-07 Ulrich Drepper + + * stdlib/strtod.c: Never stop prematurely reading digits before the + decimal point is found. Compute exponent limit for negative exponents + correctly. For numbers ending in all zeros eat the zeros even before + the decimal point if the exponent is negative [PR libc/2072]. + * stdlib/Makefile (tests): Add bug-strtod. + * stdlib/bug-strtod.c: New file. + +2001-02-07 Andreas Jaeger + + * posix/bug-regex1.c: Include for fwide. + +2001-02-06 Ulrich Drepper + + * posix/regex.c (regex_compile): Don't store pointer in wchar_t array. + Store index. + (compile_range): Handle index being passed, not pointer. + Patch by Isamu Hasegawa . + + * posix/regex.c: Fix a cast in the code for bracket handling which + caused 8-bit uncleanliness. + Patch by Michal Jaegermann . + + * posix/Makefile (tests): Add bug-regex1. + * posix/bug-regex1.c: New file. + Contributed by Jim Meyering . + + * posix/regex.c: Many cleanups for incorrect format strings. + +2001-02-06 Andreas Jaeger + + * time/time.h (CLK_TCK): Check for !__STRICT_ANSI. + +2001-02-06 Ulrich Drepper + + * locale/programs/locale.c (write_locales): Use scandir to read + directory so that the entries are sorted. + +2001-02-06 Andreas Jaeger + + * include/pthread.h: New file. + + * wctype/wctype.h: Move internal interfaces from here to... + * include/wctype.h: ...here. + + * wcsmbs/wchar.h: Move __wcslen from here to... + * include/wchar.h: ...here. + + * posix/sys/wait.h: Move __wait from here to... + * include/sys/wait.h: ...here. + + * string/string.h: Move __ffs and __strerror_r from here to... + * include/string.h: ...here. + + * stdlib/stdlib.h: Move __on_exit from here to... + * include/stdlib.h: ...here. + + * libio/stdio.h: Move __vsnprintf from here to... + * include/stdio.h: ...here. + +2001-02-06 Andreas Schwab + + * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel + headers. + + * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir + of $(inst_datadir). + +2001-02-06 Ulrich Drepper + + * iconvdata/Makefile: Add dependency for bug-iconv2.out. + +2001-02-06 Andreas Jaeger + + * elf/firstobj.c: Add prototype. + + * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype + (truncate_wchar): Likewise. + +2001-02-06 Ulrich Drepper + + * locale/programs/locale.c: Implement --verbose option for -a + which prints detailed information about the locales. + +2001-02-05 Ulrich Drepper + + * sunrpc/xdr_rec.c (set_input_fragment): Change type of header + variable to uint32_t. + Reported by Ulrich Weigand . + +2001-02-04 Bruno Haible + + * locale/C-translit.h.in: Add transliterations for CJK units of + measurement. + +2001-02-05 Ulrich Drepper + + * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf + string. Include instead of . + + * localedata/Makefile (tests): Add bug-iconv-trans. + Define bug-iconv-trans-ENV. + * localedata/bug-iconv-trans.c: New file. + +2001-02-04 Bruno Haible + + * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output + pointer, to avoid accumulating output from incomplete (unsuccessful) + transliteration attempts. + +2001-02-05 Ulrich Drepper + + * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf + string. Include instead of . + + * configure.in: Add check for bison. + * config.make.in: Define BISON variable. + * intl/Makefile: Use BISON instead of YACC when generating plural.c. + Rename YFLAGS to BISONFLAGS. + +2001-02-05 Andreas Jaeger + + * io/test-lfs.c (do_test): Test lseek64 return value, call + test_ftello. + (test_ftello): New function to test ftello64 and fseeko64. + + * signal/signal.h: Move __sigaction from here to... + * include/signal.h: ...here. + + * io/fcntl.h: Move __fcntl and __open to... + * include/fcntl.h: ...here. + +2001-02-04 Philip Blundell + + * configure.in: Distinguish ARM from Thumb. + +2001-02-04 Philip Blundell + + * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of + PC24 relocs with negative value. + +2001-02-04 Ulrich Drepper + + * iconv/Makefile (iconv_prog-modules): Define. Add vpath to find + files in locale/programs. Add CFLAGS definition to allow compiling + localedef files. + * iconv/dummy-repertoire.c: New file. + * iconv/iconv_charmap.c: New file. + * iconv/iconv_prog.h: New file. + * iconv/iconv_prog.c: Make verbose and omit_invalid global. + (main): If parameter for -f and -t contain slashes try first to resolve + the strings as filenames of charmap files. Use them for conversion + in this case. + * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with + iconv getting charmap names as parameters. + * locale/programs/linereader.c (lr_token): Take extra parameters + verbose and pass it to get_string. + (get_string): Take extra parameters verbose. + * locale/programs/charmap.c (parse_charmap): Take extra parameters + verbose and be_quiet. Change all callers of lr_token and + parse_charmap. + * locale/programs/charmap.h: Likewise. * locale/programs/ld-address.c: Likewise. * locale/programs/ld-collate.c: Likewise. * locale/programs/ld-ctype.c: Likewise. @@ -10195,3635 +6844,3255 @@ * locale/programs/linereader.h: Likewise. * locale/programs/localedef.c: Likewise. * locale/programs/locfile.c: Likewise. + * locale/programs/locfile.h: Likewise. * locale/programs/repertoire.c: Likewise. -2002-02-05 Ulrich Drepper +2001-02-03 Ulrich Drepper - * elf/rtld.c (_dl_start_final): Determine load address to locate - ehdr with GL(dl_rtld_map).l_map_start. + * iconv/iconv_prog.c (main): If output file name is "-" write to + stdout. + (main): If -f or -t argument is missing use charset of the current + locale. - * po/ca.po: Update from translation team. +2001-02-03 Andreas Jaeger - * elf/rtld.c (dl_main): Read PT_TLS entry of the executable. - * elf/dl-load.c (_dl_map_object_from_fd): Handle PT_TLS program - header entry. - * sysdeps/generic/ldsodefs.h (struct rtld_global): Add - _dl_tls_module_cnt. - * elf/dl-support.c: Define _dl_initimage_list and _dl_tls_module_cnt. + * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte + boundary for SSE/SSE-2 alignment. -2002-02-04 Ulrich Drepper + * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to + annexc. - * elf/rtld.c (_dl_start): Fill TLS values in link map for rtld. - * include/link.h (struct link_map): Add various members for TLS - information. - * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove - _rtld_tlsoffset, add _dl_initimage_list. - * sysdeps/i386/dl-lookupcfg.h: New file. - * sysdeps/i386/dl-machine.h (elf_machine_rel): Implement missing - TLS relocation. When using TLS we now use RESOLVE_MAP. - (elf_machine_rela): Use RESOLVE_MAP instead of RESOLVE_MAP if TLS - is used. +2001-02-03 Ulrich Drepper - * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Mark as possibly - unused. + * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf. + Remove comma at end of enum. - * elf/rtld.c (_dl_start_final): Allocate TLS and initialize - thread-pointer as soon as possible. - * sysdeps/generic/ldsodefs.h: Include . Define first TLS - elements in rtld_global. - * sysdeps/generic/tls.h: New file. - * elf/Makefile (distribute): Add tls.h. - * sysdeps/i386/dl-machine.h (elf_machine_rel): Add support for TLS - relocations. Not complete yet. + * elf/dl-init.c: Add a few __builtin_expect. - * resolv/resolv.h: Allow user to define __need_res_state and only - define __res_start structure then. - * include/resolv.h: Only declare functions if _RESOLV_H_ is defined. + * hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat. - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Move - dl_cpuclock_offset initialization to _dl_start_final. - (_dl_show_auxv): Avoid unnecessary sign extension. - * elf/rtld.c (_dl_start_final): Initialize dl_cpuclock_offset. +2001-02-02 Ulrich Drepper -2002-02-03 Ulrich Drepper + * hesiod/hesiod.c (hesiod_resolve): Also search HS records if + errno is ECONNREFUSED. - * config.h.in: Add HAVE_TLS_SUPPORT. - * sysdeps/i386/elf/configure.in: New file. + * posix/Makefile: Define MBS_SUPPORT for regex.c. + * posix/regex.c: Implement multibyte character handling. + Patch by Isamu Hasegawa . -2002-02-03 Andreas Schwab + * string/tst-svc.input: Add two more test cases. + * string/tst-svc.expect: Modify to reflect new test cases. - * sysdeps/posix/readv.c: Use ssize_t for bytes_read. - * sysdeps/posix/writev.c: Use ssize_t for bytes_written. Fix comment. +2001-02-01 Jakub Jelinek -2002-02-03 Thorsten Kukuk + * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all + tp->name tests with tp->name[0] tests. - * sysdeps/posix/writev.c: Check for ssize_t overflow, don't use - alloca if the memory reqirements are too high. +2001-01-29 Ben Collins -2002-02-03 Ulrich Drepper + * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r): + Fix check for name == NULL. - * elf/dl-load.c (decompose_rpath): Avoid using strstr. - * elf/dl-minimal.c (_strerror_r): Use _itoa instead of _itoa_word since - the former is available anyway and speed isn't important here. - * elf/dl-misc.c (_dl_debug_vdprintf): Likewise. - * elf/dl-version.c (match_symbol): Likewise. - (_dl_check_map_versions): Likewise. - * elf/rtld.c (process_envvars): Likewise. - (print_statistics): Likewise. - * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Likewise. - * elf/dl-minimal.c (_itoa): Always define it. Make it work for all - bases. Add assert to catch uses of unimplemented features. - (__strsep): Add assert to catch uses of unimplemented features. - * elf/dl-object.c (_dl_new_object): Don't use rawmemchr. Use strchr - and avoid inline optimization. - * elf/rtld.c (process_envvars): Likewise. - * elf/dl-open.c: Don't include . - * elf/dl-profile.c (_dl_start_profile): Help compiler to avoid ffs. - * elf/rtld.c (dl_main): Avoid strsep inline optimization. +2001-02-01 Ulrich Drepper -2002-02-02 Ulrich Drepper + * elf/Makefile: Add rules to build and run initfirst test. + * elf/initfirst.c: New file. + * elf/firstobj.c: New file. - * stdio-common/_itoa.h: Minor simplifications of the code. - * stdio-common/_itoa.c: Likewise. + * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so). + * configure.in: Test for -z initfirst linker option. + * config.make.in: Add have-z-initfirst. + * elf/dl-init.c (_dl_init): Split out actual initialization code in + new function call_init. If _dl_initfirst is non-NULL initialize first. + * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set + remember object in _dl_initfirst. + * elf/soinit.c: Remove special support for calling + __pthread_initialize_minimal. - * elf/dl-reloc.c (_dl_relocate_object): Use _dl_debug_printf - instead of _dl_printf for debugging info output. + * conform/conformtest.pl: Add missing $prepend in type test. - * manual/examples/mkfsock.c (make_named_socket): Make sure name is - always NUL-terminated. Patch by Chris D. Sloan . +2001-01-31 Ulrich Drepper -2002-02-01 H.J. Lu + * elf/elf.h (SHT_CHECKSUM): New definition. - * sysdeps/mips/atomicity.h (exchange_and_add): Use branch likely. - (atomic_add): Likewise. - (compare_and_swap): Return 0 only when failed to compare. Use - branch likely. + * posix/fnmatch_loop.c: Remove incorrect reverse condition in + [. .] matching. Patch by Isamu Hasegawa . + * posix/tst-fnmatch.input: Add tests for [. .] in locales. - * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Use - branch likely. +2001-01-31 Mark Kettenis -2002-02-03 kaz Kojima + * misc/sys/select.h: Include instead of + to get definition of `struct timeval'. - * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix a typo. +2001-01-31 Ulrich Drepper -2002-02-02 Ulrich Drepper + * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale. + * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets. - * elf/dl-minimal.c (__strsep): New minimal implementation. +2001-01-30 Ulrich Drepper -2002-02-02 Paul Eggert + * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is + seen, not flags. - * src/mktime.c [defined DEBUG && STDC_HEADERS]: Include . - (__mktime_internal): If no tm_isdst is requested, prefer solutions - with tm_isdst > 0 when the requested time falls within a - spring-forward gap [PR libc/2894]. + * nis/nis_findserv.c: Include . -2002-02-03 Andreas Schwab +2001-01-30 Yong Li - * stdio-common/tst-rndseek.c: Increase timeout. + * iconv/iconv_prog.c (main): Correct error handling method name. -2002-02-02 Ulrich Drepper +2001-01-29 Ben Collins - Change ld.so to not use functions which are exported. One cannot - interpose them anyway. Use INT() to mark uses, INTDEF() to mark - definitions. - * include/libc-symbols.h: Define INT and INTDEF. - * sysdeps/generic/ldsodefs.h: Declare _dl_debug_printf_internal, - _dl_signal_error_internal, _dl_map_object_internal, - _dl_map_object_deps_internal, _dl_lookup_symbol_internal, - _dl_lookup_versioned_symbol_internal, - _dl_relocate_object_internal, _dl_debug_state_internal, - _dl_start_profile_internal, and _dl_unload_cache_internal. - * include/dlfcn.h: Declare _dl_catch_error_internal. - * elf/rtld.c: Use INT for calls to any of the *_internal functions - above. Add INTDEF to function definitions. - * elf/dl-debug.c: Likewise. - * elf/dl-deps.c: Likewise. - * elf/dl-dst.h: Likewise. - * elf/dl-error.c: Likewise. - * elf/dl-fini.c: Likewise. - * elf/dl-init.c: Likewise. - * elf/dl-load.c: Likewise. - * elf/dl-lookup.c: Likewise. - * elf/dl-misc.c: Likewise. - * elf/dl-open.c: Likewise. - * elf/dl-profile.c: Likewise. - * elf/dl-reloc.c: Likewise. - * elf/dl-runtime.c: Likewise. - * elf/dl-version.c: Likewise. - * elf/do-lookup.h: Likewise. - * sysdeps/generic/dl-cache.c: Likewise. - * sysdeps/generic/dl-sysdep.c: Likewise. - * sysdeps/alpha/dl-machine.h (RTLD_START): Call _dl_init_internal - instead of _dl_init. - * sysdeps/arm/dl-machine.h: Likewise. - * sysdeps/cris/dl-machine.h: Likewise. - * sysdeps/hppa/dl-machine.h: Likewise. - * sysdeps/i386/dl-machine.h: Likewise. - * sysdeps/ia64/dl-machine.h: Likewise. - * sysdeps/m68k/dl-machine.h: Likewise. - * sysdeps/mips/dl-machine.h: Likewise. - * sysdeps/mips/mips64/dl-machine.h: Likewise. - * sysdeps/s390/s390-32/dl-machine.h: Likewise. - * sysdeps/s390/s390-64/dl-machine.h: Likewise. - * sysdeps/sh/dl-machine.h: Likewise. - * sysdeps/sparc/sparc32/dl-machine.h: Likewise. - * sysdeps/sparc/sparc64/dl-machine.h: Likewise. - * sysdeps/x86_64/dl-machine.h: Likewise. - * sysdeps/powerpc/dl-start.S (_dl_start_user): Likewise. + * sysdeps/sparc/fpu/fraiseexcpt.c: Include . + * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise. + * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise. + * sysdeps/s390/fpu/fraiseexcpt.c: Likewise. - * elf/Versions: Don't export _dl_check_all_versions, _dl_sysdep_start, - and _dl_debug_initialize. +2001-01-30 Ulrich Drepper - * elf/dl-object.c (_dl_new_object): Avoid using strrchr. We have - more information. - * elf/rtld.c (dl_main): Avoid strrchr. - * sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): Use the - result of readlink. Search from the back for '/'. + * locale/programs/ld-measurement.c (measurement_finish): Fix a typo. + Patch by Marko Myllynen . - * elf/dl-profile.c (_dl_start_profile): Help the compiler to avoid - strncpy if possible. + * string/bits/string2.h (__strpbrk_c2): Correct parameter types + (int instead of char). + (__strpbrk_c3): Likewise. + Reported by GOTO Masanori . - * sysdeps/generic/dl-environ.c (unsetenv): Optimize. Don't use - strncmp. - * elf/dl-load.c (is_dst): Optimize. Don't call strncmp twice. - * elf/rtld.c (process_dl_debug): Optimize. Avoid calls to strncmp, - strspn, and strcspn. - (process_envvars): Don't use strcspn. + * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro. + * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise. + * include/sys/socket.h: Add SA_LEN here for internal use. + Reported by Arkadiusz Miskiewicz . - * elf/dl-load.c (_dl_dst_count): Fix possible endless loop. - (_dl_dst_substitute): Likewise. +2001-01-29 Ulrich Drepper -2002-02-01 Ulrich Drepper + * malloc/Makefile: Don't build memusagestat if cross-compiling. - * elf/do-rel.h (elf_dynamic_do_rel): Help the compiler recognize - code which is never used when relocating ld.so itself. + * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo. - * elf/dynamic-link.h (elf_get_dynamic_info): Optimize a bit for - starting ld.so itself. Move l_addr variable initialization closer - to use. - (_ELF_DYNAMIC_DO_RELOC): Help the compiler optimize a bit. + * math/libm-test.inc (rint_test): Add a few more tests for round + to even rounding. -2002-02-01 Jakub Jelinek +2001-01-28 Ulrich Drepper - * Versions.def (libc): Add GLIBC_PRIVATE. - (libdb, libnss_db, libdb1): Remove. - (libnss_compat, libnss_dns, libnss_files, libnss_hesiod, libnss_nis, - libnss_nisplus): Move all symbols to GLIBC_PRIVATE. - (libpthread): Add GLIBC_PRIVATE. - (libresolv): Likewise, remove GLIBC_2.1. - (ld): Add GLIBC_PRIVATE, remove GLIBC_2.1.1, GLIBC_2.2, GLIBC_2.2.1, - GLIBC_2.2.3, GLIBC_2.3. - * catgets/Versions (__open_catalog): Move to GLIBC_PRIVATE. - * elf/Versions (_dl_open, _dl_close, _dl_addr, _dl_init_first, - _dl_sym, _dl_vsym): Likewise. - (__libc_enable_secure, __libc_stack_end, _dl_argv, _dl_catch_error, - _dl_check_all_versions, _dl_check_map_versions, _dl_debug_initialize, - _dl_debug_printf, _dl_debug_state, _dl_dst_count, _dl_dst_substitute, - _dl_init, _dl_lookup_symbol, _dl_lookup_symbol_skip, - _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip, - _dl_map_object, _dl_map_object_deps, _dl_out_of_memory, - _dl_relocate_object, _dl_signal_error, _dl_start_profile, - _dl_starting_up, _dl_sysdep_start, _dl_unload_cache, _rtld_global): - Likewise. - (_dl_object_relocation_scope): Remove. - * hesiod/Versions: Move all symbols to GLIBC_PRIVATE. - * iconv/Versions (__gconv_alias_db, __gconv_modules_db, - __gconv_cache): Move to GLIBC_PRIVATE. - * inet/Versions (__internal_endnetgrent, __internal_getnetgrent_r, - __internal_setnetgrent): Likewise. - * io/Versions (__libc_open, __libc_close, __libc_read, __libc_write, - __libc_lseek, __libc_fcntl, __libc_open64, __libc_lseek64): Likewise. - * locale/Versions (__collate_element_hash, __collate_element_strings, - __collate_symbol_classes, __collate_symbol_hash, - __collate_symbol_strings, _nl_current_LC_COLLATE, - _nl_current_LC_CTYPE): Likewise. - * misc/Versions (__libc_fsync, __libc_msync): Likewise. - * nis/Versions (libnss_compat): Move all symbols to GLIBC_PRIVATE. - (libnss_nis, libnss_nisplus): Likewise. - * nss/Versions (_nss_files_parse_grent, _nss_files_parse_pwent, - _nss_files_parse_spent): Move to GLIBC_PRIVATE. - (libnss_files): Move all symbols to GLIBC_PRIVATE. - * posix/Versions (__libc_wait, __libc_waitpid, __libc_pause, - __libc_nanosleep, __libc_fork, __libc_pread, __libc_pread64, - __libc_pwrite, __libc_pwrite64): Move to GLIBC_PRIVATE. - * resolv/Versions (__gai_sigqueue, __ns_name_unpack, __ns_name_ntop, - __ns_get16, __ns_samename): Likewise. - (libnss_dns): Move all symbols to GLIBC_PRIVATE. - * setjmp/Versions (__libc_longjmp, __libc_siglongjmp): Move to - GLIBC_PRIVATE. - * socket/Versions (__libc_accept, __libc_send, __libc_recvfrom, - __libc_recvmsg, __libc_sendmsg, __libc_recv, __libc_sendto, - __libc_connect): Likewise. - * stdio-common/Versions (_itoa_lower_digits, _itoa_upper_digits): - Likewise. - * stdlib/Versions (__libc_system): Likewise. - * sunrpc/Versions (__rpc_thread_destroy): Likewise. - * sysdeps/hppa/Versions: Move all symbols to GLIBC_PRIVATE. - * sysdeps/ia64/fpu/Versions: Likewise. - * sysdeps/ia64/Versions: Likewise. - * sysdeps/unix/sysv/linux/ia64/Versions: Likewise. - * sysdeps/unix/sysv/linux/i386/Versions (__modify_ldt): Move - to GLIBC_PRIVATE. - * sysdeps/unix/sysv/linux/x86_64/Versions (__modify_ldt): Likewise. - * sysdeps/unix/sysv/linux/Versions (__syscall_rt_sigqueueinfo, - __libc_sigaction): Likewise. - * termios/Versions (__libc_tcdrain): Likewise. + * conform/data/pthread.h-data: Correct return type of pthread_exit. - * misc/sys/cdefs (__attribute_noinline__): Define. - * elf/dl-lookup.c (_dl_do_lookup, _dl_do_lookup_versioned): Add - __attribute_noinline__. + * conform/conformtest.pl: Add -fno-builtin to CFLAGS. - * elf/Makefile (rtld-routines): Add dl-xstat64, dl-fxstat64. - * elf/dl-xstat64.c: New file. - * elf/dl-fxstat64.c: New file. - * sysdeps/unix/sysv/linux/fxstat64.c: If RTLD_STAT64 is defined, - don't export __fxstat64 at multiple versions. - * sysdeps/unix/sysv/linux/lxstat64.c: Similarly. - * sysdeps/unix/sysv/linux/xstat64.c: Similarly. + * conform/data/stdlib.h-data: Add _Exit. -2002-01-18 Isamu Hasegawa + * inet/arpa/inet.h: Don't include . Define socklen_t + if not already happened. + * inet/netinet/in.h: Don't include , use . + Don't include and . - * locale/program/ld-collate.c (collate_finish): Assign a wide - char collation sequence value to multi character collating - elements, and avoid over writing by non-character elements. + * conform/data/netinet/in.h-data: Allow all of . -2002-02-01 Ulrich Drepper + * conform/data/spawn.h-data: Allow all of . - * elf/Makefile (distribute): Add dl-procinfo.c. - * sysdeps/unix/sysv/linux/i386/Dist: Remove dl-procinfo.c. - * sysdeps/unix/sysv/linux/arm/Dist: Likewise. + * sysdeps/ia64/fpu/fraiseexcpt.c: Include . Removed + unused variable. -2002-02-01 Jakub Jelinek + * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning. + * sunrpc/xdr_sizeof.c (x_inline): Likewise. - * sysdeps/generic/ldsodefs.h (_dl_load_lock): Remove duplicate - definition. - * sysdeps/ia64/hp-timing.h: Move _dl_hp_timing_overhead in - _rtld_global struct. - * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise. - * sysdeps/sparc/sparc64/hp-timing.c: Likewise. - * sysdeps/sparc/sparc64/hp-timing.h: Likewise. - * sysdeps/sparc/sparc64/Makefile: Make hp-timing static only. - * sysdeps/unix/sysv/aix/init-first.c (_dl_fpu_control, - _dl_fpu_control_set): Remove unused externs. - * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Move procinfo - related variables in _rtld_global struct. - * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise. - * sysdeps/unix/sysv/linux/init-first.c (_dl_fpu_control_set): Remove - unused extern. + * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include . -2002-02-01 Ulrich Drepper + * conform/conformtest.pl: Define $mustprepend{"stdio.h"}. + * libio/stdio.h: Define va_list correctly. - * sysdeps/generic/dl-procinfo.c: New file. + * conform/data/pthread.h-data: Make priority protocol related + functions optional. Fix typos. -2002-02-01 Andreas Schwab + * posix/sched.h: Define sched_priority as __sched_priority. + * sysdeps/generic/bits/sched.h (struct sched_param): Rename element + to __sched_priority. + * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. - * sysdeps/m68k/dl-machine.h: Don't use multi-line string literals. +2001-01-27 Ulrich Drepper -2002-02-01 Ulrich Drepper + * sysdeps/generic/clock_getcpuclockid.c: Include instead + of . - * elf/rtld.c (_dl_start): Mark as internal_function. - * sysdeps/i386/dl-machine.h (RTLD_START): Pass parameter for _dl_start - in register. - (elf_machine_rel): Cleanup and minor optimization for RTLD_BOOTSTRAP. - General pretty printing. + * sysdeps/unix/stime.c: Include for NULL. + * sysdeps/unix/time.c: Likewise. -2002-01-31 Ulrich Drepper + * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry. + * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6. + * sysdeps/mach/hurd/i386/bits/time.h: Likewise. + * sysdeps/unix/sysv/linux/bits/time.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise. + * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise. + * time/time.h: Likewise. - * elf/dl-minimal.c: Define _itoa for 32-bit machines with HP timing. - * elf/dl-reloc.c: Pretty printing. - * sysdeps/generic/ldsodefs.h: Move _dl_hp_timing_overhead and - procinfo-related variables in rtld_global struct. - * elf/dl-support.c: Likewise. - * elf/rtld.c: Likewise. - * sysdeps/i386/i686/Makefile: Likewise. - * sysdeps/i386/i686/hp-timing.c: Likewise. - * sysdeps/i386/i686/hp-timing.h: Likewise. - * sysdeps/ia64/Makefile: Likewise. - * sysdeps/ia64/hp-timing.c: Likewise. - * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise. - * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Likewise. - * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: Likewise. - * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: Likewise. - * sysdeps/unix/sysv/linux/i386/Makefile: Likewise. - * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Likewise. - * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise. - * sysdeps/x86_64/Makefile: Likewise. + * conform/conformtest.pl (@headers): Add complex.h and tgmath.h. + * conform/data/complex.h-data: New file. + * conform/data/tgmath.h-data: New file. - * sysdeps/generic/ldsodefs.h: Add _dl_load_lock, _dl_lazy, - _dl_dynamic_weak, _dl_fpu_control, _dl_cpuclock_offset, and - _dl_debug_fd to rtld_global. - * elf/Versions: Likewise. - * elf/dl-close.c: Likewise. - * elf/dl-iteratephdr.c: Likewise. - * elf/dl-lookup.c: Likewise. - * elf/dl-misc.c: Likewise. - * elf/dl-open.c: Likewise. - * elf/dl-support.c: Likewise. - * elf/do-lookup.h: Likewise. - * elf/rtld.c: Likewise. - * sysdeps/generic/dl-cache.c: Likewise. - * sysdeps/generic/dl-sysdep.c: Likewise. - * sysdeps/ia64/Versions: Likewise. - * sysdeps/unix/clock_gettime.c: Likewise. + * conform/data/wchar.h-data: Add missing functions. + + * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU. + + * conform/data/termios.h-data: Add missing const in tcsetattr() + prototype. + + * posix/sys/wait.h: Include and . + Don't define pid_t here. + + * conform/data/sys/utsname.h-data: Don't provide fixed array sizes. + + * conform/data/sys/time.h-data: Allow sys/select.h. + * conform/data/sys/un.h-data: Fix typo. + * time/sys/time.h: Don't include all of , just struct timeval. + * sysdeps/posix/clock_getres.c: Include instead of + . + * sysdeps/unix/clock_nanosleep.c: Likewise. + * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise. + * sysdeps/unix/i386/i586/clock_getres.c: Likewise. + * sysdeps/unix/clock_gettime.c: Also include . * sysdeps/unix/clock_settime.c: Likewise. - * sysdeps/unix/sysv/linux/init-first.c: Likewise. - * sysdeps/sparc/Versions: Removed. - * sysdeps/i386/i686/Versions : Removed. - * sysdeps/x86_64/Versions: Removed. - * configure.in: Define HAVE_PROTECTED if .protected is available. - * config.h.in: Add entry for HAVE_PROTECTED. -2002-01-31 Jakub Jelinek for NULL. + * login/getutent.c: Likewise. + * login/getutid.c: Likewise. + * login/getutline.c: Likewise. - * sysdeps/alpha/dl-machine.h: Move global variables for SHARED - code in struct _rtld_global. Export this struct, remove all - exports for the signal variables. - * sysdeps/arm/dl-machine: Likewise. - * sysdeps/generic/dl-origin: Likewise. - * sysdeps/generic/dl-sysdep: Likewise. - * sysdeps/generic/dl-cache: Likewise. - * sysdeps/hppa/dl-fptr: Likewise. - * sysdeps/hppa/dl-machine: Likewise. - * sysdeps/cris/dl-machine: Likewise. - * sysdeps/i386/dl-machine: Likewise. - * sysdeps/ia64/dl-machine: Likewise. - * sysdeps/m68k/dl-machine: Likewise. - * sysdeps/mach/hurd/dl-sysdep: Likewise. - * sysdeps/mips/mips64/dl-machine: Likewise. - * sysdeps/mips/dl-machine: Likewise. - * sysdeps/powerpc/elf/libc-start: Likewise. - * sysdeps/powerpc/dl-machine: Likewise. - * sysdeps/powerpc/dl-start: Likewise. - * sysdeps/sparc/sparc32/dl-machine: Likewise. - * sysdeps/sparc/sparc64/dl-machine: Likewise. - * sysdeps/sh/dl-machine: Likewise. - * sysdeps/s390/s390-32/dl-machine: Likewise. - * sysdeps/s390/s390-64/dl-machine: Likewise. - * sysdeps/unix/sysv/aix/libc-start: Likewise. - * sysdeps/unix/sysv/aix/start-libc: Likewise. - * sysdeps/unix/sysv/linux/ia64/dl-static: Likewise. - * sysdeps/unix/sysv/linux/m68k/getpagesize: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize: Likewise. - * sysdeps/x86_64/dl-machine: Likewise. + * socket/sys/un.h: Define SUN_LEN only if __USE_MISC. -2002-01-31 Ulrich Drepper + * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field + to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED. + * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of + f_fsid field after change in struct statvfs. + * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file. + * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file. - * sysdeps/posix/readv.c: Don't use alloca if the memory requirements - are too high. + * conform/data/sys/stat.h-data: Remove isfdtype. Use + optional-macro. -2002-01-31 Andreas Schwab + * conform/data/sys/socket.h-data: Fix typos. Correct getsockopt, + recvfrom, send, and socketpair prototypes. Add allow lines. + * socket/sys/socket.h: Include . + Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU. + Fix type of second parameter of listen. + Don't declare isfdtype unless __USE_MISC. + * sysdeps/generic/listen.c: Fix type of second parameter of listen. + * sysdeps/mach/hurd/listen.c: Likewise. + * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define + ss_family and __ss_family. + * sysdeps/unix/sysv/aix/bits/socket.h: Likewise. + * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. + (struct msghdr): Change type of msg_iovlen to int and type of + msg_controllen to socklen_t. + * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file. + * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file. + * inet/rcmd.c (rcmd_af): __ss_family is now ss_family. + (rresvport_af): Likewise. - * sysdeps/posix/readv.c: Check for ssize_t overflow. + * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant. + * conform/conformtest.pl: Implement handling of symbol. -2002-01-31 Andreas Schwab + * signal/signal.h: Fix handling of __need_* symbols. + * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define + fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K. + * include/sys/select.h: Use fd_set not __fd_set. + * sysdeps/generic/bits/select.h: Likewise. + * sysdeps/i386/bits/select.h: Likewise. + * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS, + __FDELT, __FDMASK, and __fd_set here. + * sysdeps/unix/sysv/aix/bits/types.h: Likewise. + * sysdeps/unix/sysv/hpux/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise. + * time/sys/time.h: Define struct timeval before including + and . - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix leftover - reference to _dl_pagesize. + * conform/data/sys/time.h-data: fd_set is a typedef. + * conform/data/sys/select.h-data: New file. + * conform/data/sys/mman.h-data: Make typed mem stuff optional. + * conform/conformtest.pl (@headers): Add sys/select.h. + (type, optional-type): Unless testing a typedef instantiate object. + Implement optional-function. -2002-01-30 Ulrich Drepper + * math/test-misc.c: Include . - * Versions.def [ld]: Add GLIBC_2.3. - * elf/dl-addr.c: Move global variables for SHARED code in struct - _rtld_global. Export this struct, remove all exports for the - signal variables. - * elf/dl-close.c: Likewise. - * elf/dl-conflict.c: Likewise. - * elf/dl-debug.c: Likewise. - * elf/dl-deps.c: Likewise. - * elf/dl-dst.h: Likewise. - * elf/dl-error.c: Likewise. - * elf/dl-fini.c: Likewise. - * elf/dl-init.c: Likewise. - * elf/dl-iteratephdr.c: Likewise. - * elf/dl-libc.c: Likewise. - * elf/dl-load.c: Likewise. - * elf/dl-lookup.c: Likewise. - * elf/dl-minimal.c: Likewise. - * elf/dl-object.c: Likewise. - * elf/dl-open.c: Likewise. - * elf/dl-profile.c: Likewise. - * elf/dl-profstub.c: Likewise. - * elf/dl-reloc.c: Likewise. - * elf/dl-runtime.c: Likewise. - * elf/dl-support.c: Likewise. - * elf/dl-sym.c: Likewise. - * elf/dl-version.c: Likewise. - * elf/do-lookup.h: Likewise. - * elf/do-rel.h: Likewise. - * elf/dynamic-link.h: Likewise. - * elf/rtld.c: Likewise. - * sysdeps/generic/dl-cache.c: Likewise. - * sysdeps/generic/dl-sysdep.c: Likewise. - * sysdeps/generic/ldsodefs.h: Likewise. - * sysdeps/generic/libc-start.c: Likewise. - * sysdeps/i386/dl-machine.h: Likewise. - * sysdeps/ia64/dl-fptr.c: Likewise. - * sysdeps/ia64/dl-machine.h: Likewise. - * sysdeps/unix/sysv/linux/dl-librecon.h: Likewise. - * sysdeps/unix/sysv/linux/dl-origin.c: Likewise. +2001-01-27 Andreas Jaeger + + * misc/efgcvt_r.c: Include . + +2001-01-26 Ulrich Drepper + + * conform/data/stdlib.h-data: Account for XPG6 changes. + * stdlib/stdlib.h (__random): Change return value type to long. + (posix_memalign): Cleanup parameter names. + (setenv, unsetenv): Make available for __USE_XOPEN2K. + Change return type of unsetenv to int. + (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC. + * include/stdlib.h: Change return type of unsetenv to int. + Change return type of random to long int. + * sysdeps/generic/setenv.c (unsetenv): Change return type to int. + Return -1 and set errno if parameter is invalid. + * stdlib/random.c (__random): Change return value type to long. + + * conform/data/stdio.h-data: Account for changes in XPG6. + + * conform/data/spawn.h-data: Correct posix_spawnattr_setflags + prototype. + + * conform/conformtest.pl: Define $mustprepend{"signal.h"}. + * conform/data/signal.h-data: Fix sigev_notify_function entry. + Fix typo (SIGVALRM -> SIGVTALRM). + * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr + with real type. + * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise. + + * conform/conformtest.pl: Implement optional-element. Define + $mustprepend{"sched.h"}. + * conform/data/sched.h-data: Make sporadic scheduler definitions + optional. + + * pwd/pwd.h: Don't define getpwent_r for XPG. + + * io/sys/poll.h: Define nfds_t and use it in poll prototype. + * sysdeps/generic/poll.c: Use nfds_t type in function definition. + * sysdeps/mach/hurd/poll.c: Likewise. + * sysdeps/unix/bsd/poll.c: Likewise. + * sysdeps/unix/sysv/linux/poll.c: Likewise. + * sysdeps/unix/sysv/aix/poll.c: Likewise. + * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC. + * sysdeps/unix/sysv/linux/bits/poll.h: Likewise. + * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise. + * conform/data/poll.h-data: Fix typo in poll prototype. + + * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros + only if __USE_MISC. + * conform/data/netinet/tcp.h-data: Reserved prefix TCP_. + + * sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE. + + * inet/netinet/in.h: Make IPPROTO_ constants also macros. + + * conform/conformtest.pl: Implement optional-type. + + * resolv/netdb.h: Include not . Include + only if __USE_MISC. Include instead of + defining uint32_t here. Define IPPORT_RESERVED. + (struct hostent): Type of h_length element is int. + (getnameinfo): Type of flags parameter is unsigned int. + * inet/getnameinfo.c (getnameinfo): flags argument is unsigned. + * conform/data/netdb.h-data: Add many missing definitions. + + * conform/conformtest.pl: Implement optional-macro. + * conform/data/math.h-data: Update for XPG6. + + * math/math.h (HUGE): Define as FLT_MAX value but don't use + FLT_MAX. Don't include . + (MAXFLOAT): Likewise. + + * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT. + + * include/bits/xopen_lim.h: Don't define FOPEN_MAX here. + + * conform/data/limits.h-data: Mark constants as optional wherever + appropriate. + + * posix/bits/posix2_lim.h: Set correct values for + _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove + EQUIV_CLASS_MAX. + + * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6. + Required by POSIX. + + * intl/loadmsgcat.c: Include for _LIBC. + + * conform/data/netinet/in.h-data: Add reserved prefixes. + + * conform/data/arpa/inet.h-data: Fix a few typos. + +2001-01-26 Andreas Jaeger + + * sysdeps/generic/strtol.c: Include + * stdlib/strtod.c: Likewise + * stdlib/strfmon.c: Likewise. + * string/strcoll.c: Likewise. + * string/strxfrm.c: Likewise. + * wctype/wcfuncs_l.c: Likewise. + * wctype/wctype_l.c: Likewise. + * wctype/wctrans_l.c: Likewise. + + * include/bits/locale.h: New file. + +2001-01-26 Ulrich Drepper + + * locale/langinfo.h: Correct logic in #ifs when defining YESSTR + and NOSTR. + + * locale/Makefile (headers): Add bits/locale.h. + * locale/langinfo.h: Don't include . Include + and use __LC_ constants instead of LC_. + * locale/locale.h: Include and define LC_ constants + using __LC_ constants. + * locale/bits/locale.h: New file. + * locale/loadlocale.c: Include . + * locale/nl_langinfo.h: Likewise. + + * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case. + + * io/sys/stat.h: Define S_IFSOCK for XPG6. + + * conform/data/fcntl.h-data: posix_madvise is not expected here. + + * conform/conformtest.pl: Fix handling of macro-str. + + * conform/data/inttypes.h-data: Add missing definition and all of + stdint.h-data. + + * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20. + +2001-01-25 Ulrich Drepper + + * conform/conformtest.pl (@headers): Add stdint.h. + * conform/data/stdint.h-data: New file. + + * conform/conformtest.pl: Recognize options --headers and + --dialect. Add dialect-specific CFLAGS. + + * conform/conformtest.pl: Implement handling of recursive + allow-header. + + * conform/data/locale.h-data: Add new struct lconv members. + + * posix/wordexp.h: Correct definition of wordexp_t. + * posix/wordexp.c: Moved to ... + * sysdeps/generic/wordexp.c: ...here. New file. + * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file. + * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file. + * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add + wordexp. + * sysdeps/unix/sysv/linux/ia64/Versions: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise. + + * math/tgmath.h: Pretty printing. + + * math/Makefile (tests): Add test-tgmath. + (CFLAGS-test-tgmath.c): New variable. + * math/test-tgmath.c: New file. Contributed by Jakub Jelinek. + + * conform/conformtest.pl: Handle allow-header in secondary headers + correctly. + + * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with + #ifdef. + + * conform/data/netinet/in.h-data: Use correct comment character. + * conform/data/sys/stat.h-data: Likewise. + +2001-01-25 Jakub Jelinek + + * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY, + __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY, + __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to + __builtin_classify_type, add ##f suffixes where appropriate. + (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis. + (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to + __builtin_classify_type. + (fma): Fix spelling of first argument. + +2001-01-25 Ulrich Drepper + + * conform/data/unistd.h-data: Mark functions removed in XPG6 + correctly. + + * posix/unistd.h: Don't make functions removed in XPG6 available if + __USE_XOPEN2K. + + * conform/conformtest.pl: Implement optional-constant. + * conform/data/unistd.h-data: Use optional-constant wherever + appropriate. + + * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS + constants and add _SC_STREAMS. + * sysdeps/posix/sysconf.c (__sysconf): Likewise. + + * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and + make old name weak alias. + * sysdeps/generic/statvfs64.c: Likewise. + * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and + make old name weak alias. + * sysdeps/generic/fstatvfs64.c: Likewise. + * include/sys/statvfs.h: New file. + + * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE, + _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and + _PC_REC_XFER_ALIGN. + * sysdeps/posix/pathconf.c (__pathconf): Implement handling of + _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE, + _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN. + * sysdeps/posix/fpathconf.c (__fpathconf): Likewise. + + * conform/conformtest.pl: Run Unix tests for XPG6. + Implement handling of known namespace violations. + Improve printing of results. + + * posix/unistd.h (usleep): Correct return type. + * sysdeps/unix/sysv/linux/usleep.c: Correct return type. + * sysdeps/unix/bsd/usleep.c: Correct return type. + * sysdeps/mach/usleep.c: Correct return type. + * sysdeps/generic/usleep.c: Correct return type. + + * posix/unistd.h (sync): Correct return type. + * sysdeps/generic/sync.c: Likewise. + * sysdeps/mach/hurd/sync.c: Likewise. + + * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition. + + * posix/unistd.h: Make seteuid and setegid available for XPG6. + + * wcsmbs/wchar.h: Get FILE definition for XPG5. + + * conform/data/ctype.h-data: Use correct comment form. + * conform/data/errno.h-data: Likewise. + * conform/data/math.h-data: Likewise. + * conform/data/mqueue.h-data: Likewise. + * conform/data/netdb.h-data: Likewise. + * conform/data/pthread.h-data: Likewise. + +2001-01-24 Ulrich Drepper + + * conform/data/wordexp.h-data: Fix typo. + + * conform/conformtest.pl: Handle allow-header correctly. + + * conform/data/time.h-data: Use correct comment form. + + * conform/conformtest.pl (checknamespace): Ignore #undef lines. + + * configure.in: Comment out binutils version test. + + * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands + separators. + Reported by Lagardere Jean-Francois . + + * stdlib/tst-strtod.c (locale_test): New function. + (main): Call locale_test. + * stdlib/Makefile (tst-strtod-ENV): New variable. + +2001-01-24 Mark Kettenis + + * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost + declaration of value such that we actually return the value of the + environment variable. + +2001-01-24 Andreas Jaeger + + * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl + prototype. * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise. - * sysdeps/unix/sysv/linux/getclktck.c: Likewise. - * sysdeps/unix/sysv/linux/getpagesize.c: Likewise. - * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/dl-static.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Likewise. -2002-01-29 Ulrich Drepper + * include/sys/sysctl.h: New file. - * sysdeps/ia64/dl-lookupcfg.h (DL_AUTO_FUNCTION_ADDRESS): Add cast - to avoid warning - (DL_STATIC_FUNCTION_ADDRESS): Likewise. +2001-01-23 Andreas Jaeger - * elf/dl-lookup.c: Only define or handle _dl_num_relocations for the - SHARED version. - * elf/dl-reloc.c: Likewise for _dl_num_cache_relocations. + * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to + isomac. - * elf/rtld.c (_dl_start): Use __builtin_memset if available. + * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function + arguments. Reported by Jiri Kubicek , + closes PR libc/2039. -2002-01-29 Ben Collins + * manual/install.texi (Tools for Compilation): Change required + binutils version. - * string/bits/string2.h (__mempcpy): Protect size arg for - addition when using __builtin_memcpy. +2001-01-22 Andreas Jaeger -2002-01-29 Ulrich Drepper + * configure.in: Add test for new enough binutils version, move + compiler/binutils test up. - * stdlib/Makefile (tests): Add tst-qsort. - * stdlib/tst-qsort.c: New file. Written by Paul Eggert. + * Versions.def: Add version GLIBC_2.2.2. - * manual/signal.texi (Process Signal Mask): Document that - pthread_sigmask, not sigprocmask, must be used in MT programs. - Patch by Bertold Kolics . +2001-01-21 Ulrich Drepper - * misc/hsearch_r.c (hsearch_r): Don't insert anything if entry is - found. - * misc/Makefile (tests): Add tst-hsearch. - * misc/tst-hsearch.c: New file. + * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now + available. + * iconvdata/testdata/IBM932: New file. + * iconvdata/testdata/IBM932..UTF8: New file. + * iconvdata/testdata/IBM943: New file. + * iconvdata/testdata/IBM943..UTF8: New file. + Contributed by Masahide Washizawa . -2002-01-18 Wolfram Gloger +2001-01-21 Franz Sirl - * malloc/malloc.c: Rewrite, adapted from Doug Lea's malloc-2.7.0.c. - * malloc/malloc.h: Likewise. - * malloc/thread-m.h: Spinlock definitions for x86/x86_64. - * malloc/arena.c: New file. - * malloc/hooks.c: New file. - * malloc/tst-mallocstate.c: New file. - * malloc/Makefile: Add new testcase tst-mallocstate. - Add arena.c and hooks.c to distribute. Fix commented CPPFLAGS. + * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset. -2002-01-28 Ulrich Drepper +2001-01-21 Ulrich Drepper - * stdlib/msort.c: Remove last patch. The optimization violates the - same rule which qsort.c had problems with. + * malloc/malloc.c: Remove a few unnecessary initializers of global + variables. -2002-01-27 Paul Eggert +2000-12-09 H.J. Lu - * stdlib/qsort.c (_quicksort): Do not apply the comparison function - to a pivot element that lies outside the array to be sorted, as - ISO C99 requires that the comparison function be called only with - addresses of array elements [PR libc/2880]. + * nss/Makefile (routines): Add digits_dots. + * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2. + * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template + into a function. + * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS + function. + * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition. + (TYPE_VAR_P): Likewise. + (FLAGS_VAR): Likewise. + (AF_VAR_P): Likewise. + (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots () + instead of including digits_dots.c. + * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition. + (TYPE_VAR_P): Likewise. + (FLAGS_VAR): Likewise. + (AF_VAR_P): Likewise. + (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots () + instead of including digits_dots.c. + +2001-01-21 Ulrich Drepper + + * sysdeps/posix/getaddrinfo.c: Reduce .data size. -2002-01-28 Ulrich Drepper +2001-01-21 Andreas Jaeger - * elf/dl-load.c (_dl_map_object): Remove incorrect optimization - for SHARED code. Reported by Ben Collins . + * elf/constload2.c: Add prototype for init. - * timezone/asia: Update from tzdata2002b. - * timezone/australasia: Likewise. - * timezone/backward: Likewise. - * timezone/europe: Likewise. - * timezone/leapseconds: Likewise. - * timezone/iso3166.tab: Likewise. - * timezone/zone.tab: Likewise. +2001-01-21 Ulrich Drepper -2002-01-23 Richard Henderson + * stdlib/stdlib.h (drand48_data): Make available only for + __USE_MISC. Rename elements to protect namespace. Change type + and position of a and init element. + * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit + differently. Adjust for drand48_data change. Don't compute a here, + it comes from drand48_data. + * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit + differently. Adjust for drand48_data change. Compute a here. + * stdlib/srand48_r.c: Likewise. + * stdlib/drand48.c: Adjust for drand48_data change. + * stdlib/lrand48.c: Likewise. + * stdlib/mrand48.c: Likewise. + * stdlib/seek48.c: Likewise. + * stdlib/drand48_r.c: Likewise. + * stdlib/lrand48_r.c: Likewise. + * stdlib/mrand48_r.c: Likewise. + * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit + differently. + * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently. + * stdlib/jrand48_r.c: Likewise. - * sysdeps/alpha/Makefile (pic-ccflag): New variable. + * po/sv.po: Update from translation team. -2002-01-28 Ulrich Drepper +2001-01-21 Andreas Jaeger - * string/strxfrm.c: Allocate one more byte for rulearr and clear - this element [PR libc/2855]. + * stdio-common/vfprintf.c (vfprintf): Add casts. - * string/strcoll.c: Handle zero-length arguments specially - [PR libc/2856]. +2001-01-20 Ulrich Drepper -2002-01-23 Jakub Jelinek + * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only + the ASCII test. + * iconvdata/TESTS: Add entries for IBM932 and IBM943. - * string/bits/string2.h (__mempcpy): For gcc 3.0+, don't use - __mempcpy_small but instead use __builtin_memcpy ( , , n) + n for - short lengths and constant src. - (strcpy): Don't optimize for gcc 3.0+. - (__stpcpy): For gcc 3.0+, don't use - __stpcpy_small but instead use __builtin_strcpy (, src) + strlen (src) - for short string literal src. + * iconvdata/Makefile (modules): Add IBM932 and IBM943. + * iconvdata/gconv-modules: Add entries for IBM932 and IBM943. + * iconvdata/ibm932.c: New file. + * iconvdata/ibm932.h: New file. + * iconvdata/ibm943.c: New file. + * iconvdata/ibm943.h: New file. + Patches by Masahide Washizawa . -2002-01-23 Jeroen Dobbelaere + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo + preventing optimization from being done. Set the correct type bit + in seen. Don't define and use _dl_base_addr unless + NEED_DL_BASE_ADDR is defined. - * sysdeps/unix/sysv/linux/configure.in (libc_cv_gcc_unwind_find_fde): - Set for arm, too. + * io/ftw.c (ftw_dir): Add slash after directory name if there + wasn't any. Reported by loris . + * io/Makefile (tests): Add bug-ftw2. + * io/bug-ftw2.c: New file. -2001-01-22 Paul Eggert +2001-01-19 Ulrich Drepper - * manual/llio.texi (Linked Channels, Cleaning Streams): - Make it clearer that a just-opened input stream might need cleaning. + * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of + results. Reported by Jeff Higham . + * stdlib/tst-rand48.c: New file. + * stdlib/Makefile (tests): Add tst-rand48. -2002-01-21 H.J. Lu + * locale/newlocale.c (__newlocale): Fix test for setting all + categories. + +2001-01-19 Mark Kettenis + + * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes, + but change looking up the initial directory port in a similar way + as done by _hurd_change_directory_port_from_name. + * hurd/fchroot.c (fchroot): Likewise. + +2001-01-18 Ulrich Drepper + + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is + defined don't look whether the AT_*ID values were set. + If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set. + (_dl_show_auxv): Rewrite to avoid switch statement. + * sysdeps/unix/sysv/linux/kernel-features.h: Define + __ASSUME_AT_PAGESIZE for kernel >= 2.4.1. + * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID. + Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined. - * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC): - Don't use label at end of compound statement. + * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect. + * sysdeps/unix/sysv/linux/lxstat64.c: Likewise. + * sysdeps/unix/sysv/linux/xstat64.c: Likewise. -2002-01-28 Stephen L Moshier + * elf/rtld.c (process_envvars): Call __strtoul_internal instead of + strtoul. + * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed. + (__sigjmp_save): Set __mask_was_saved to zero since we don't save + anything. + * dlfcn/eval.c (__strtol_internal): Define here. + (eval): Use __strtol_internal instead of strtol. - * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r): - Remove test for negative integer arg; sin_pi does it correctly. + * elf/elf.h: Add a few more EF_MIPS_* constants. -2002-01-20 Ulrich Drepper +2001-01-17 Ulrich Drepper - * nscd/Makefile (distribute): Filter out xmalloc.c. + * manual/Makefile (chapters): Add debug. + * manual/debug.texi: New file. + * manual/examples/execinfo.c: New file. + Patch by suckfish@ihug.co.nz. -2002-01-19 Ulrich Drepper +2001-01-17 Andreas Schwab + + * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid + invalid asm. - * libio/fileops.c (_IO_file_underflow_mmap): Don't define as static. - Set offset if read end wasn't the buffer end. - (_IO_file_seekoff_mmap): New function. - (_IO_file_xsgetn_mmap): New function. - (_IO_file_jumps_mmap): Use the two new functions. - * libio/wfileops.c (_IO_wfile_underflow_mmap): Handle end read buffer - != end buffer. - * libio/libioP.h: Declare _IO_file_seekoff_mmap and - _IO_file_underflow_mmap. - * libio/iofopen.c: Don't position file descriptor at end of file. - * libio/tst-widetext.c: Improve error messages. - * stdio-common/tst-rndseek.c: Likewise. +2001-01-17 Andreas Jaeger -2002-01-18 Ulrich Drepper + * nscd/connections.c (nscd_run): Use proper format specifier. - * sysdeps/unix/sysv/linux/bits/statvfs.h: Avoid warning about comma at - end of enum for !_GNU_SOURCE. - * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: Likewise. - * sysdeps/mach/hurd/bits/statvfs.h: Don't define non-standard ST_* - values unless _GNU_SOURCE. +2001-01-16 Ulrich Drepper - * iconvdata/tcvn5712-1.c: Minor cleanups. + * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and + x86_platforms data into new file after prepending _dl_. Change + users. + * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file. + * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c. + * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build + dl-procinfo.c. -2002-01-18 Andreas Schwab + * setjmp/setjmp.h: Cleanup definition of setjmp macro. - * sysdeps/unix/sysv/linux/configure.in - (libc_cv_gcc_unwind_find_fde): Set for m68k, too. + * sysdeps/i386/elf/bsd-setjmp.S: Real implementation. + * sysdeps/i386/elf/bsd-_setjmp.S: Removed. + * sysdeps/i386/elf/setjmp.S (setjmp): Removed here. + (_setjmp): Likewise. + * sysdeps/i386/bsd-_setjmp.S: Real implementation. + * sysdeps/i386/bsd-setjmp.S: Real implementation. + * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition. + * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF + version. -2002-01-16 Roger Sayle +2001-01-16 Andreas Jaeger - * stdlib/msort.c (msort_with_tmp): Replace implementation with - more efficient "Towers of Hanoi" mergesort. - (hanoi_sort, hanoi_sort_int, hanoi_sort_long): New functions, - for generic, sizeof(int) and sizeof(long) variants respectively. + * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix + misapplied last patch. -2002-01-17 Ulrich Drepper +2001-01-15 Ulrich Drepper - * manual/syslog.texi (openlog): Describe possible problems with - first parameter. - Patch by Christopher Allen Wing . + * stdlib/random.c (__initstate): Clean up a cast. + (__setstate): Likewise. - * nscd/nscd.c (drop_privileges): Removed. Adjust caller. - * nscd/connections.c (begin_drop_privileges): New function. - (finish_drop_privileges): New function. - (nscd_init): Call the new functions which also install all groups - for the server user. - * nscd/Makefile (nscd-modules): Add xmalloc for nscd. - Patch by Christopher Allen Wing . + * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select + syscall handling. The generic Linux version should work. -2002-01-17 H.J. Lu +2001-01-15 Andreas Jaeger - * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Remove - `const' from `got'. + * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo. -2002-01-17 Martin Schwidefsky + * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier. - * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Use 64 bit - instructions for pointer operations. - * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise. +2001-01-14 Jakub Jelinek -2002-01-17 Andreas Jaeger + * nss/getent.c (print_aliases, aliases_keys, ethers_keys, + netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys): + New functions. + (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys): + If number is 0, list all. + (services_keys): Likewise. Lookup aliases as well. + (databases): New table. + (build_doc): Prepare argp doc text with list of supported databases. + (main): Change to table driven processing. - * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: GCC 3.1 has - __uint128_t build-in. +2001-01-14 Thorsten Kukuk - * sysdeps/unix/sysv/linux/configure.in: Fix check for S390 and - PowerPC, sync with 2.2 branch. - -2002-01-16 Ulrich Drepper - - * posix/getconf.c: Update copyright year. - * nss/getent.c: Likewise. - * nscd/nscd_nischeck.c: Likewise. - * iconv/iconvconfig.c: Likewise. - * iconv/iconv_prog.c: Likewise. - * elf/ldconfig.c: Likewise. - * catgets/gencat.c: Likewise. - * csu/version.c: Likewise. - * elf/ldd.bash.in: Likewise. - * elf/sprof.c (print_version): Likewise. - * locale/programs/locale.c: Likewise. - * locale/programs/localedef.c: Likewise. - * nscd/nscd.c (print_version): Likewise. - * debug/xtrace.sh: Likewise. - * malloc/memusage.sh: Likewise. - * malloc/mtrace.pl: Likewise. - -2002-01-16 Andreas Schwab - - * sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed: Fix regexp to - reliably remove "-ia64" from rtld name. - -2002-01-16 Ulrich Drepper - - * iconvdata/gb18030.c: Bug fixes and support for more characters. - Patch by Yu Shao . - -2002-01-16 Martin Schwidefsky - - * sysdeps/unix/sysv/linux/s390/swapcontext.c: Remove. - * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: New file. - -2002-01-14 Martin Schwidefsky - - * sysdeps/s390/fpu/libm-test-ulps: Update. - -2002-01-11 Ulrich Drepper - - * elf/elf.h: Update x86 relocations. - -2002-01-10 Ulrich Drepper - - * locale/programs/charmap.c (new_width): Check whether byte - sequences for both ends of range have the same length. - -2002-01-09 Jakub Jelinek - - * elf/elf.h (SHN_UNDEF): Remove duplicate definition. - -2002-01-09 Jakub Jelinek - - * sysdeps/alpha/fpu/e_sqrt.c (__ieee754_sqrt): Don't use multi-line - string literals. - (__full_ieee754_sqrt): Add __attribute_used__. - -2002-01-10 Ulrich Drepper - - * sysdeps/generic/group_member.c (__group_member): Also check - groups[0] [PR libc/2781]. - -2002-01-08 Ulrich Drepper - - * Makefile (distribute): Add scripts/cpp. - * elf/Makefile (distribute): Add reldep6mod[01234].c, - unwind-dw2.c, unwind-dw2-fde.c, unwind.h, unwind-pe.h, - unwind-dw2-fde.h, and dwarf2.h. - * sysdeps/unix/bsd/bsd4.4/Dist: New file. - * sysdeps/unix/sysv/aix/Dist: Add sysv_termio.h and start-libc.c. - * sysdeps/unix/sysv/linux/ia64/Dist: Add ldd-rewrite.sed. - * sysdeps/unix/sysv/linux/s390/Dist: Likewise. - -2002-01-07 Roland McGrath - - * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Use - volatile on type of ARGC so the compiler doesn't get clever. - -2002-01-07 Andreas Jaeger - - * sysdeps/generic/bits/byteswap.h: Prevent double inclusion. - * sysdeps/i386/bits/byteswap.h: Likewise. - * sysdeps/ia64/bits/byteswap.h: Likewise. - * sysdeps/m68k/bits/byteswap.h: Likewise. - * sysdeps/s390/s390-32/bits/byteswap.h: Likewise. - * sysdeps/s390/s390-64/bits/byteswap.h: Likewise [PR libc/2757]. - -2002-01-02 Bruno Haible - - * intl/plural.y: Fix %expect count. - -2002-01-03 Jakub Jelinek - - * elf/Makefile (routines, shared-only-routines): Add - unwind-dw2-fde-glibc instead of unwind-dw2-fde. - * elf/elf.h (PT_GNU_EH_FRAME): Define. - * sysdeps/generic/unwind-dw2-fde-glibc.c: New file. - * sysdeps/generic/unwind-dw2-fde.c (__register_frame_info_bases): - Optimize if .eh_frame section contains no FDEs. - (__register_frame, __deregister_frame_info_bases, - __deregister_frame): Likewise. - * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Fix - DW_CFA_restore handling. - -2002-01-07 Stephen L Moshier - - * sysdeps/ieee754/ldbl-96/s_erfl.c (erfcl): Fix K&R header. - - * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Fix typo in test - for x < 0.25 and restore original range reduction method. - (__ieee754_lgammal_r): Make sure signgam is set before returning. - -2002-01-07 Ulrich Drepper - - * libio/fileops.c (_IO_file_underflow_mmap): New function. - (_IO_file_close_mmap): New function. - (_IO_file_jumps_mmap): New variable. - * libio/wfileops.c (_IO_wfile_underflow): Reset read pointer before - trying to convert rest of byte buffer. - (_IO_wfile_underflow_mmap): New function. - (_IO_wfile_jumps_mmap): New variable. - * libio/iofopen.c (__fopen_maybe_mmap): New function. - (__fopen_internal): New function. Split out from _IO_new_fopen. - (_IO_new_fopen): Call __fopen_internal. - * libio/iofopen64.c: Just call __fopen_internal. - * libio/iofdopen.c: Call __fopen_maybe_mmap before returning - successfully. - * libio/iolibio.h: Declare __fopen_internal and __fopen_maybe_mmap. - * libio/libioP.h: Declare _IO_file_jumps_mmap, _IO_wfile_jumps_mmap, - _IO_file_close_mmap. - - * sysdeps/gnu/_G_config.h: Define _G_MMAP64. - * sysdeps/unix/sysv/linux/cris/_G_config.h: Likewise. - - * stdio-common/Makefile (tests): Add tst-rndseek. - * stdio-common/tst-rndseek.c: New file. - -2002-01-05 Roland McGrath - - * config.h.in (HAVE_MIG_RETCODE): New #undef. - * sysdeps/mach/hurd/configure.in (hurd_MIG_RETCODE: New macro - swiped from hurd package's aclocal.m4; use it to set HAVE_MIG_RETCODE. - * sysdeps/mach/hurd/configure: Regenerated. - -2002-01-03 Ulrich Drepper - - * elf/elf.h: Add more TLS definitions. - -2002-01-02 Ulrich Drepper - - * include/features.h (__GLIBC_MINOR__): Bump to 3. - -2002-01-02 Roland McGrath - - * sysdeps/mach/hurd/sigwait.c (__sigwait): Use __sigandset, - __sigisemptyset. Don't use MASK uninitialized. - - * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Use __sigorset. - * hurd/hurdinit.c (_hurd_new_proc_init): Use __sigisemptyset. - * hurd/hurdsig.c (_hurd_internal_post_signal): Use __sigismember, - __sigdelset, __sigaddset, __sigorset. - - * sysdeps/generic/htonl.c: Use uint32_t instead of u_int32_t. - * sysdeps/generic/htons.c: Use uint16_t instead of u_int16_t. - - * hurd/hurdinit.c (_hurd_ports_use): Return EGRATUITOUS when - _hurd_ports is null. - - * hurd/hurdsig.c (_hurdsig_init): Conditionalize exception port setup - for old CMU and new OSF Mach interface flavors. - * hurd/hurdfault.c (_hurdsig_fault_init): Likewise. - * sysdeps/mach/hurd/fork.c (__fork): Likewise. - - * hurd/hurdsig.c (_hurd_internal_post_signal): Leave msgh_seqno unset. - - * sysdeps/mach/hurd/spawni.c (__spawni) [KERN_INVALID_LEDGER]: - Pass extra arguments to task_create for OSF variant. - * sysdeps/mach/hurd/fork.c (__fork): Likewise. - - * sysdeps/powerpc/elf/libc-start.c: Make AUXVEC diddling code - conditional on [HAVE_AUX_VECTOR]. - - * mach/mach/mach_traps.h (thread_switch, __thread_switch): Use - mach_msg_timeout_t as type of final argument. - - * hurd/privports.c (__get_privileged_ports): - Change host_priv_t to mach_port_t in argument type. - * hurd/hurd.h (get_privileged_ports, __get_privileged_ports): - Update decls. - - * sysdeps/mach/hurd/i386/bits/sigcontext.h: Protect from - multiple inclusion. Inhibit #error under [_SYS_UCONTEXT_H]. - * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise. - * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise. - * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise. - * sysdeps/mach/hurd/powerpc/bits/sigcontext.h: Likewise. - -2002-01-01 Roland McGrath - - * sysdeps/mach/hurd/errnos.awk: Tighten up device_types.h matching. - -2002-01-01 Ulrich Drepper - - * include/stdlib.h: Define inlines for the _l variants of the strto* + * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these functions. -2002-01-01 Roland McGrath +2001-01-03 Jakub Jelinek - * sysdeps/mach/hurd/powerpc/intr-msg.h: Remove extraneous backslash. + * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to + encode value which does not fit in the 32bit type. - * mach/Machrules (MIG): Set CPP as well as CC. +2001-01-15 Hiroyuki Machida -2001-12-31 Ulrich Drepper + * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP): + Change type of CTX to (struct sigcontext *). + * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise. + (GET_FRAME): Likewise. + (GET_STACK): Likewise. + (SIGCONTEXT): Likewise. Add 2nd arg _code. + (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code. - * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Always use C - locale to parse /proc/loadavg [PR libc/2760]. +2001-01-13 Ulrich Drepper -2001-12-31 Jakub Jelinek + * manual/texinfo.tex: Update from upstream version. - * elf/dl-conflict.c: Include sys/param.h. - (RESOLVE_CONFLICT_FIND_MAP): Cast r_offset to ElfW(Addr). - * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Avoid - warning. - (TRAMPOLINE_TEMPLATE, RTLD_START): Don't use multi-line string - literals to avoid warnings. +2001-01-13 Jakub Jelinek -2001-12-31 Andreas Jaeger + * inet/ether_ntoh.c (lookup_function): Change arguments to match + _nss_*_getntohost_r prototype. + (ether_ntohost): Pass errno pointer to NSS function. - * configure.in: Don't check for gsed since we do not use it anywhere. +2001-01-12 Franz Sirl -2001-12-25 Dmitry V. Levin + * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value. + (MAP_LOCKED): New definition. + (MAP_NORESERVE): New definition. - * io/fts.c: Update from BSD to fix memory leaks. +2001-01-12 Ulrich Drepper -2001-12-25 Dmitry V. Levin + * assert/assert.h: Use static_cast instead of C-style cast for C++. + Patch by Enrico Scholz . - * crypt/md5-crypt.c: Realloc error handling memory leak fix. - * elf/chroot_canon.c: Likewise. - * elf/dl-object.c: Likewise. - * iconv/iconv_charmap.c: Likewise. - * iconv/iconv_prog.c: Likewise. - * libio/iogetdelim.c: Likewise. - * locale/lc-time.c: Likewise. - * stdlib/canonicalize.c: Likewise. - * sunrpc/svc.c: Likewise. - * sysdeps/generic/glob.c: Likewise. +2001-01-12 Ben Collins -2001-12-19 Martin Schwidefsky + * sysdeps/generic/segfault.c (install_handler): Use access, not + __access. - * sysdeps/unix/sysv/linux/s390/profil-counter.h: Move/copy to ... - * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h: ... here, - remove high order bit from the program counter. - * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h: ... and here. +2001-01-12 Andreas Jaeger -2001-12-19 Martin Schwidefsky + * posix/fnmatch_loop.c (FCT): Remove signed warnings. + * posix/wordexp.c (do_parse_glob): Likewise. + * sysdeps/posix/sigblock.c (__sigblock): Likewise. + * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise. + * elf/dl-open.c (_dl_open): Likewise. + * elf/dl-close.c (_dl_close): Likewise. + * elf/dl-load.c (_dl_map_object): Likewise. + * iconv/iconv_prog.c (process_fd): Likewise. + * stdio-common/vfscanf.c (_IO_vfscanf): Likewise. - * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Remove - unnecessary code and add missing reloc types. - * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Add empty - case for reloc type R_390_NONE. + * locale/localeinfo.h (struct locale_data): Use __flexarr instead + of a zero-length array. -2001-12-28 Andreas Jaeger +2001-01-11 Jakub Jelinek - * io/bug-ftw3.c: Include string.h for prototypes. + * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func. + * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument. + * stdlib/cxa_on_exit.c: Remove. + * stdlib/Makefile: Revert last patch. + * stdlib/Versions: Likewise. + * include/stdlib.h: Likewise. + * stdlib/exit.h: Revert last patch. + (struct exit_function): Add second argument to cxa fn. + * stdlib/exit.c: Revert last patch. + (exit): Add hidden second argument. - * crypt/md5test.c (main): Remove unused variable. +2001-01-11 H.J. Lu - * dlfcn/modstatic.c: Add prototype to avoid warning. + * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ... + * elf/dl-open.c (_dl_open): Here. + * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock): + Make it static. + (_dl_static_init): Initialize the variables every time when possible. + * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT): + Undefine it first. -2001-12-26 Roland McGrath +2001-01-11 Ulrich Drepper - * sysdeps/mach/hurd/sigwait.c (__sigwait): When returning immediately, - check only (SS->pending & MASK) for the signal to return. - From Jeroen Dekkers . + * stdlib/Makefile (routines): Add cxa_on_exit. + * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit. + * stdlib/cxa_on_exit.c: New file. + * include/stdlib.h: Add prototype for __cxa_on_exit. + * stdlib/exit.c: Handle ef_cxa2. + * stdlib/exit.h (enum): Add ef_cxa2. + (struct exit_function): Add cxa2. -2001-12-22 Roland McGrath + * Versions.def [ld]: Add GLIBC_2.2.1. - * iconv/skeleton.c [!RESET_INPUT_BUFFER && !SAVE_RESET_STATE]: - Use preprocessor #if conditionals instead of `if' to avoid - warnings about divide by zero in dead code. +2001-01-10 H.J. Lu - * hurd/Versions (libc: GLIBC_2.2.5): Add _hurd_port_set, - _hurd_port_init, and __hurd_self_sigstate. + * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries. + * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add + dl-static. + * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init. + * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined. + * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file. + * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file. + * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c. - * mach/Versions (libc: GLIBC_2.2.5): Add mig_strncpy. +2001-01-11 Ulrich Drepper -2001-12-21 Andreas Jaeger + * libio/stdio.h: Remove definition of off_t. - * elf/dblloadmod1.c: Add prototype to avoid warning. - * elf/dblloadmod2.c: Likewise. - * elf/dblloadmod3.c: Likewise. - * elf/reldepmod5.c: Likewise. - * elf/reldepmod6.c: Likewise. +2001-01-11 Andreas Jaeger - * elf/dl-conflict.c (_dl_resolve_conflicts): Add unused attribute - for resolve_conflict_map since RESOLVE_CONFLICT_FIND_MAP is not - used on all architectures. + * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn + . - * sunrpc/svc_tcp.c: Add noreturn attribute for - svctcp_rendezvous_abort. - * sunrpc/svc_unix.c: Likewise for svcunix_rendezvous_abort. +2001-01-10 Ulrich Drepper - * sysdeps/generic/strstr.c (strstr): Add paranthese for assignment - to avoid warning. + * sunrpc/Makefile (distribute): Add errqueue.h. -2001-12-19 Jakub Jelinek +2001-01-10 H.J. Lu - * manual/llio.texi (aio_fsync): Fix a typo. - Patch by Tammy Fox . + * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve + r9, r10 and r11 for language specific registers. -2001-12-18 Jakub Jelinek +2001-01-10 Jakub Jelinek - * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (clone): Subtract - stack bias from child stack pointer before passing it to clone syscall. + * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the + UDP socket. + (clntudp_call): Handle MSG_ERRQUEUE. + * sysdeps/generic/errqueue.h: New file. + * sysdeps/unix/sysv/linux/errqueue.h: New file. -2001-12-18 Ulrich Drepper +2001-01-10 H.J. Lu - * sysdeps/posix/sysconf.c (__sysconf): Respect POSIX minimum for - _SC_TZNAME_MAX. - * sysdeps/generic/sysconf.c (__sysconf): Likewise. - Reported by Thorsten Kukuk . + * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed. - * sysdeps/unix/grantpt.c (grantpt): Correct typo in comment and - add some casts. +2001-01-10 Joseph S. Myers - * sysdeps/unix/sysv/linux/grantpt.c: Make __unix_grantpt static. + * CONFORMANCE: Update. -2001-12-18 Thorsten Kukuk +2001-01-09 Ulrich Drepper - * sysdeps/unix/sysv/linux/grantpt.c: Make errno results standard - conforming: return EBADF if file descriptor is invalid and EINVAL - if file descriptor is no valid tty. - * login/tst-grantpt.c: New file. - * login/Makefile (tests): Add tst-grantpt. + * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols): + Minimal cleanups. Add assert to ensure memory handling is correct. -2001-12-17 Ulrich Drepper + * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value. + Reported by Ben Collins . - * io/ftw.c (ftw_dir): Handle inaccessibility of toplevel dir - different than implemented in last patch. - * io/bug-ftw3.c: Adjust test for changed handling of - inaccessibility of toplevel dir. + * time/strftime.c (my_strftime): Mark previous GNU extensions + which are now in C99 as such. -2001-12-16 Roland McGrath +2001-01-08 Ulrich Drepper - * nss/nsswitch.c (__nss_next): Don't use __FUNCTION__ as literal. - * grp/initgroups.c (internal_getgrouplist): Likewise. + * elf/rtld.c (process_envvars): Place output files for profiling + in SUID binaries in /var/profile. - * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add `break' after - `default:' to silence new GCC warning. - Rewrite cast of lvalue to silence new GCC warning. + * elf/dl-load.c (_dl_map_object): Don't look in cache for + preloading in SUID binaries. - * sysdeps/mach/hurd/i386/init-first.c: Avoid multi-line strings in asm. + * elf/dl-profile.c (_dl_start_profile): Open the output file with + O_NOFOLLOW if possible. - * sysdeps/mach/hurd/spawni.c: New file, by me with a - couple fixes by Neal H Walfield . + * include/stdlib.h: Add __posix_openpt declaration. + * stdlib/stdlib.h: Add posix_openpt declaration. + * login/Versions: Add posix_openpt for GLIBC_2.2.1. + * sysdeps/generic/getpt.c: Define posix_openpt. + * sysdeps/unix/bsd/getpt.c: Likewise. + * sysdeps/unix/sysv/linux/getpt.c: Likewise. -2001-12-14 Ulrich Drepper + * time/Makefile (tests): Add tst-mktime. + * time/tst-mktime.c: New file. - * sysdeps/generic/strstr.c (strstr): Update. New optimized version. - Patch by Stephen R. van den Berg. + * posix/tst-dir.c (main): One more mkdir() test. - * crypt/md5.h: Define md5_uintptr. + * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize): + Remove getpagesize syscall. We assume that the pagesize is always + determined from the auxiliary vector. -2001-12-13 Ulrich Drepper + * intl/dcigettext.c: Fix a few warnings. + Patch by Bruno Haible . - * libio/tst_swprintf.c (main): Add test for string argument with - zero precision. - * stdio-common/Makefile (tests): Add tst-sprintf. - * stdio-common/tst-sprintf.c: New file. +2001-01-08 Andreas Jaeger -2001-12-13 Andreas Schwab + * io/test-lfs.c (do_test): Check lseek64 return for EINVAL. + Reported by Joseph S. Myers . - * stdio-common/vfprintf.c (process_string_arg): Correctly handle - zero precision with wide character string format. +2001-01-08 Ulrich Drepper -2001-12-13 Thorsten Kukuk - - * sysdeps/posix/cuserid.c (cuserid): If we don't find the UID, - but have a user supplied buffer, return the empty buffer, not NULL. - -2001-12-13 Ulrich Drepper - - * crypt/md5.c (md5_process_bytes): Correct handling of alignment. - Patch by Eric Sharkey . - - * crypt/md5test.c (main): Add test for multiple calls to - __md5_process_bytes to itererate over input string. - -2001-12-12 Ulrich Drepper - - * nis/nis_findserv.c (__nis_findfastest_with_timeout): Mostly the code - from __nis_findfastest. Take timeout value from parameter. - (__nis_findfastest): Call __nis_findfastest_with_timeout repeatedly. - * nis/nis_intern.h: Define parameters controlling __nis_findfastest - [PR libc/2520]. Patch by Alexander Belopolsky . - -2001-12-12 Andreas Jaeger - - * configure.in: Use -nostartfiles -nostdlib for linker tests, fix - combreloc test so that it works in this case. - - * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix typo in last patch. - -2001-12-12 NIIBE Yutaka - - * sysdeps/sh/Makefile: New file. - * sysdeps/sh/_mcount.S: New file. - * sysdeps/sh/sysdep.h (CALL_MCOUNT): Implemented. - * sysdeps/sh/machine-gmon.h: Remove "NOTYET" comment, as we are ready. - -2001-12-11 Ulrich Drepper - - * resolv/nss_dns/dns-host.c (getanswer_r): Remove MAX_NR_ADDRS - limitation [PR libc/2564]. - -2001-12-11 Jakub Jelinek - - * elf/Makefile (dl-routines): Add conflict. - (rtld-ldscript-in, rtld-ldscript, rtld-parms): Remove. - (ld.so): Add _begin local symbol. - * elf/elf.h (DT_VALTAGIDX, DT_VALNUM, DT_ADDRTAGIDX, DT_ADDRNUM): - Define. - * elf/dl-deps.c (_dl_build_local_scope): New function. - (_dl_map_object_deps): If LD_TRACE_PRELINKING, compute local scopes - of all libraries. - * elf/do-rel.h (VALIDX): Define. - (elf_dynamic_do_rel): If ELF_MACHINE_PLT_REL is defined, don't do - lazy binding for RELA. If DT_GNU_PRELINKED, DT_RELACOUNT relocations - can be skipped. - * elf/dl-conflict.c: New file. - * elf/dl-lookup.c (_dl_debug_bindings): New function. - (_dl_lookup_symbol): Use _dl_debug_bindings. Reference_name is always - non-NULL. - (_dl_lookup_symbol_skip): Likewise. - (_dl_lookup_versioned_symbol): Likewise. - (_dl_lookup_versioned_symbol_skip): Likewise. - * elf/dl-runtime.c (PLTREL): If ELF_MACHINE_PLT_REL is defined, - define to ElfW(Rel). - * elf/dynamic-link.h (elf_get_dynamic_info): Record selected dynamic - tags in the DT_VALRNGLO..DT_VALRNGHI and DT_ADDRRNGLO..DT_ADDRRNGHI - ranges. - Don't adjust address dynamic tags if l_addr is 0. - * elf/rtld.c (_dl_trace_prelink, _dl_trace_prelink_map): New variables. - (_dl_start): Skip ELF_DYNAMIC_RELOCATE if ld.so is prelinked. - (VALIDX, ADDRIDX): Define. - (_dl_start_final): Initialize _dl_rtld_map's l_map_start and l_map_end. - (dl_main): Print library list for LD_TRACE_PRELINKING. - If prelinking information can be used, skip relocating libraries and - call _dl_resolve_conflicts instead. - (process_envvars): Handle LD_TRACE_PRELINKING envvar. - * elf/dl-load.c (_dl_map_object): Don't create fake libs - if LD_TRACE_PRELINKING. - * include/link.h (struct link_map) [l_info]: Add DT_VALNUM - + DT_ADDRNUM. - * sysdeps/generic/ldsodefs.h (_dl_trace_prelink_map): New declaration. - (DL_DEBUG_PRELINK): Define. - (_dl_resolve_conflicts): Add prototype. - - * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Reinitialize - .plt for prelinked libraries where prelinking info cannot be used. - (elf_machine_rela): If relocating R_ALPHA_JMP_SLOT in .gnu.conflict - section, use RESOLVE_CONFLICT_FIND_MAP to find out reloc's link_map. - * sysdeps/arm/bits/link.h: New file. - * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Save original - content of .got[1]. - (ELF_MACHINE_NO_RELA): Only define if RTLD_BOOTSTRAP. - (ELF_MACHINE_PLT_REL): Define. - (elf_machine_rela, elf_machine_rela_relative): New functions. - (elf_machine_lazy_rel): Reinitialize R_ARM_JUMP_SLOT address instead - of adjusting it if prelinked and prelinking cannot be used. - * sysdeps/i386/bits/link.h: New file. - * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Save original - content of .got[1]. - (ELF_MACHINE_NO_RELA): Only define if RTLD_BOOTSTRAP. - (ELF_MACHINE_PLT_REL): Define. - (elf_machine_rela, elf_machine_rela_relative): New functions. - (elf_machine_lazy_rel): Reinitialize R_386_JUMP_SLOT address instead - of adjusting it if prelinked and prelinking cannot be used. - * sysdeps/powerpc/dl-machine.h (elf_machine_rela): If relocating - conflicts, skip finaladdr computation. Use RESOLVE_CONFLICT_FIND_MAP - to find out map for R_PPC_JMP_SLOT relocs. - * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Define. - (OPCODE_BA): Define. - (elf_machine_runtime_setup): Reinitialize .plt for prelinked - libraries where prelinking info cannot be used. - (sparc_fixup_plt): Renamed from elf_machine_fixup_plt. - (elf_machine_fixup_plt): Call sparc_fixup_plt. - (elf_machine_rela): Set value to 0 if relocating conflicts. - Call sparc_fixup_plt for R_SPARC_JMP_SLOT. - * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Define. - (sparc64_fixup_plt): Fix a typo. - (elf_machine_rela): Set value to 0 if relocating conflicts. - Handle R_SPARC_JMP_SLOT relocs when relocating conflicts. - (elf_machine_runtime_setup): Reinitialize .plt for prelinked - libraries where prelinking info cannot be used. - * sysdeps/sh/bits/link.h: New file. - * sysdeps/sh/dl-machine.h (elf_machine_runtime_setup): Save original - content of .got[1]. - (elf_machine_lazy_rel): Reinitialize R_SH_JMP_SLOT address instead - of adjusting it if prelinked and prelinking cannot be used. - * sysdeps/s390/s390-32/bits/link.h: New file. - * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup): - Save original content of .got[1]. - (elf_machine_lazy_rel): Reinitialize R_390_JMP_SLOT address instead - of adjusting it if prelinked and prelinking cannot be used. - * sysdeps/s390/s390-64/bits/link.h: New file. - * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup): - Save original content of .got[1]. - (elf_machine_lazy_rel): Reinitialize R_390_JMP_SLOT address instead - of adjusting it if prelinked and prelinking cannot be used. - * sysdeps/x86_64/bits/link.h: New file. - * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): - Save original content of .got[1]. - (elf_machine_lazy_rel): Reinitialize R_X86_64_JMP_SLOT address instead - of adjusting it if prelinked and prelinking cannot be used. - -2001-12-11 Ulrich Drepper - - * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use sizeof - where appropriate instead of numbers. Little optimizations. - -2001-12-10 Roland McGrath - - * sysdeps/mach/hurd/bind.c (bind): Don't deallocate IFSOCK if we never - set it. - - * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): Set default - set to GLIBC_2.2.5, not GLIBC_2.2.4. - - * sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde): - Fix conditionals so this is set by default for stdio and not for libio. - * sysdeps/mach/hurd/configure: Regenerated. - -2001-12-10 Thorsten Kukuk - - * io/ftw.c (ftw_startup): Check, if the path is search and readable. - -2001-12-10 Ulrich Drepper - - * io/Makefile (tests): Add bug-ftw3. - * io/bug-ftw3.c: New file. - - * sysdeps/generic/glob.c (glob): Return only pattern if nothing - matches and GLOB_NOCHECK is set. - * posix/globtest.sh: Correct expected result for NOCHECK test. - - * po/ca.po: Update from translation team. - -2001-12-09 Ulrich Drepper - - Implement transliteration of characters in strings of the locale - definitions. - * locale/programs/linereader.c: Adjust for additional parameter to - lr_token. - (get_string): If character is not found try to transliterate - it. - * locale/programs/ld-ctype.c: Adjust for additional parameter to - lr_token. Add const to charmap parameter of all functions. - (find_translit, find_translit2): New functions. - * locale/programs/charmap.c: Adjust for additional parameter to - lr_token. - * locale/programs/repertoire.c: Likewise. - * locale/programs/linereader.h: Likewise. - * locale/programs/ld-address.c: Likewise. Add const to charmap - parameter of all functions. - * locale/programs/ld-collate.c: Likewise. - * locale/programs/ld-identification.c: Likewise. - * locale/programs/ld-measurement.c: Likewise. - * locale/programs/ld-messages.c: Likewise. - * locale/programs/ld-monetary.c: Likewise. - * locale/programs/ld-name.c: Likewise. - * locale/programs/ld-numeric.c: Likewise. - * locale/programs/ld-paper.c: Likewise. - * locale/programs/ld-paper.c: Likewise. - * locale/programs/ld-telephone.c: Likewise. - * locale/programs/ld-time.c: Likewise. - * locale/programs/locfile.c: Likewise. - * locale/programs/localedef.c: Likewise. - * locale/programs/localedef.h: Likewise. - * locale/programs/locfile.h: Likewise. Add declaration for - find_translit. - * locale/programs/simple-hash.c: Add const to first parameter of - find_entry, iterate_table, and lookup. - * locale/programs/simple-hash.h: Likewise. - * locale/localeinfo.h: Don't define __LC_LAST here. Include - instead. - * include/locale.h: Define __LC_LAST. - * iconv/Makefile (CFLAGS-linereader.c): Define to -DNO_TRANSLITERATION. - -2001-12-07 Geoff Keating - - * sysdeps/powerpc/Dist: Update for recent FP changes. - * sysdeps/powerpc/fpu/Dist: Likewise. - -2001-12-07 Andreas Schwab - - * sysdeps/unix/sysv/linux/opensock.c: Include . - -2001-12-06 Geoff Keating - - * sysdeps/powerpc/Makefile (sysdep_routines): Don't build the fpr - save/restore functions here. - (libm-support): Don't define these functions here. - * sysdeps/powerpc/fpu/Makefile: Build the fpr save/restore - functions here. - * sysdeps/powerpc/fe_nomask.c: Move to... - * sysdeps/powerpc/fpu/fe_nomask.c: ... here. - * sysdeps/powerpc/fprrest.S: Move to... - * sysdeps/powerpc/fpu/fprrest.S: ... here. - * sysdeps/powerpc/fprsave.S: Move to... - * sysdeps/powerpc/fpu/fprsave.S: ... here. + * sysdeps/generic/segfault.c (install_handler): Check output file + name with access(). -2001-12-06 Ulrich Drepper + * resolv/res_query.c: Use simply getenv() for HOSTALIASES. + * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES. - * sysdeps/unix/sysv/linux/opensock.c: New file. + * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma. -2001-12-06 Geoff Keating + * malloc/memusage.c (me): Use access() to determine whether we + should write the output file or not. - * config.make.in (with-fp): Define from configure. - * configure.in: Substitute with_fp. - * configure: Regenerate. - * sysdeps/powerpc/Makefile: Set -msoft-float when --without-fp is - specified, and don't change FPU environment. + * libio/bits/stdio.h (printf): Define macro to map printf call to + fprintf which gcc can optimize. + * stdio-common/printf.c: Undefine printf. -2001-12-06 Ulrich Drepper +2001-01-07 Ulrich Drepper - * libio/vasprintf.c (_IO_vasprintf): Free buffer on failure. - * assert/assert.c: Check result of __asprintf call and don't use - string if it failed. - * assert/assert-perr.c: Likewise. - * inet/rcmd.c: Likewise. - * locale/programs/localedef.c (main): Check result of - construct_output_path and exit if it failed. - (construct_output_path): Check result of asprintf and mkdir calls and - fail if they failed. - * posix/getopt.c: Check result of __asprintf calls and fail if - they failed. - Patch by Dmitry V. Levin . + * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last + patch. We must use unsigned int for l member of union. -2001-12-05 Ulrich Drepper + * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call + _dl_aux_init for shared libraries. - * sysdeps/generic/strcasecmp.c (__strcasecmp): Little performance - patch. - * sysdeps/generic/strncase.c: Likewise. - * string/tester.c: Add tests for strcasecmp and strncasecmp. + * sysdeps/unix/sysv/linux/glob64.c: Moved to ... + * sysdeps/gnu/glob64.c: ...here. New file. -2001-12-05 Geoff Keating - - * scripts/cpp: Test the exit status from 'type', not 'awk'. - - * sysdeps/powerpc/__longjmp.S: Don't restore FP registers. - * sysdeps/powerpc/fpu/__longjmp.S: Do restore FP registers. - * sysdeps/powerpc/setjmp.S: Don't save FP registers. - * sysdeps/powerpc/fpu/setjmp.S: Do save FP registers. - * sysdeps/powerpc/fclrexcpt.c: Move to... - * sysdeps/powerpc/fpu/fclrexcpt.c: ... here. - * sysdeps/powerpc/fpu_control.h: Move to... - * sysdeps/powerpc/fpu/fpu_control.h: ... here. - -2001-12-05 Ulrich Drepper - - * iconvdata/ibm1129.h: Remove duplicate mappings. - * iconvdata/ibm937.c: Handle overflow errors. Handle new tables. - * iconvdata/ibm937.h: Reorganize table to safe a lot of space. - Patch by Masahide Washizawa . - - * timezone/zic.c: Fix handling of turnaround times. - Patch by Arthur David Olson . - -2001-12-02 Moshe Olshansky +2001-01-07 Ben Collins - * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Fix - overflow problem. + * manual/examples/longopt.c: Make the "struct option" a little + more like it should be, adding usage of required_argument, + noargument and such, and also setting the options string right. -2001-12-05 Ulrich Drepper + * manual/sysinfo.texi (Load Average): New section, documents + getloadavg(). - * posix/regex.c: For use outside glibc defined bounded pointer - macros here. Patch by Jim Meyering . +2001-01-06 Ulrich Drepper - * iconvdata/Makefile (modules): Add TCVN5712-1. - * iconvdata/TESTS: Add TCVN5712-1. - * iconvdata/gconv-modules: Likewise. - * iconvdata/tcvn5712-1.c: New file. - * iconvdata/testdata/TCVN-5712: New file. - * iconvdata/testdata/TCVN-5712..UTF8: New file. + * version.h (VERSION): Bump to 2.2.1. -2001-12-04 Ulrich Drepper + * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h. + * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S. + * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S. + * dlfcn/Makefile (distribute): Add errmsg1mod.c. + * Makefile (distribute): Add include/libc-internal.h. + * libio/Makefile (distribute): Avoid overwriting. - * iconvdata/cp1258.c: Optimize conversion from UCS4. + * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in + buffer and table handling. -2001-12-02 Roland McGrath +2001-01-05 H.J. Lu - * mach/Makefile, mach/Machrules: Move comments out of \ continuations. + * elf/dl-support.c (non_dynamic_init): Move the auxiliary + vector checking to ... + (_dl_aux_init): Here. New function. Defined only if + HAVE_AUX_VECTOR is defined. - * hurd/hurd.h (__hurd_fail): Add `break;' to silence new gcc-3 warning. - Reported by Jeff Bailey . + * sysdeps/generic/libc-start.c (__libc_start_main): Call + _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined. - * hurd/hurd.h (_hurd_umask): Remove volatile qualifier from decl. - Reported by Jeff Bailey . + * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call + _dl_aux_init. - * mach/Makefile ($(objpfx)mach-syscalls.mk): Pass $(CFLAGS) to $(CC). - * mach/Machrules ($(objpfx)%.udeps static pattern rule): Likewise. - Reported by Jeff Bailey . + * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed. + (HAVE_AUX_VECTOR): Defined. + (_dl_aux_init): Declared. -2001-12-01 Roland McGrath +2001-01-05 Ben Collins - * sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde): Add - missing backslash in test arguments. - * sysdeps/mach/hurd/configure: Regenerated. + * manual/string.texi (Finding Tokens in a String): Document XPG + basename() and dirname(), as well as GNU basename(). -2001-11-26 Roland McGrath +2001-01-05 Jakub Jelinek - * hurd/hurdinit.c (_hurd_ports_use): Check if _hurd_ports is null. - Reported by John Tobey . + * Makeconfig (preprocess-version): Replace -traditional with + -x assembler-with-cpp. -2001-11-30 Ulrich Drepper +2001-01-05 Joseph S. Myers - * iconvdata/Makefile (modules): Add ARMSCII-8. - * iconvdata/gconv-modules: Add entries for ARMSCII-8. - * iconvdata/armscii-8.c: New file. + * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj + for GCC 2.97 or later. -2001-11-29 Jakub Jelinek +2001-01-05 Ben Collins - * sysdeps/generic/glob.c (next_brace_sub): Return NULL if braces - don't match, fix {{a,b},c} globbing, clean up. - Patch by Flavio Veloso . - * posix/globtest.sh: Add new tests. + * manual/stdio.texi (getline): Clarify the return value in the + case of EOF being reached before a newline. -2001-11-29 Andreas Jaeger +2001-01-04 Jakub Jelinek - * sysdeps/unix/sysv/linux/x86_64/Versions: Add arch_prctl. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add arch_prctl call. + * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful, + FALSE otherwise. + (pmap_set, pmap_unset): Check __get_myaddress return value. - * sysdeps/generic/abort.c: Include libioP.h for - _IO_flush_all_lockp prototype. +2001-01-05 Mark Kettenis -2001-11-29 Ulrich Drepper + * sysdeps/generic/netinet/if_ether.h: Include . + (struct ether_addr): Declare ether_addr_octet member as + `u_int8_t'. Add __attribute__ ((__packed__)). - * posix/regex.h: Define __restrict_arr correctly. +2001-01-06 Mark Kettenis -2001-11-28 Ulrich Drepper + * sysdeps/mach/hurd/readdir64.c: New file. + * sysdeps/mach/hurd/readdir64_r.c: New file. - * iconvdata/ibm1163.c: New file. - * iconvdata/ibm1163.h: New file. - * iconvdata/ibm1164.c: New file. - * iconvdata/ibm1164.h: New file. - * iconvdata/TESTS: Add entries for IBM1163 and IBM1164. - * iconvdata/Makefile: Likewise. - * iconvdata/testdata/IBM1163: New file. - * iconvdata/testdata/IBM1163..UTF8: New file. - * iconvdata/testdata/IBM1164: New file. - * iconvdata/testdata/IBM1164..UTF8: New file. - Patch by Masahide Washizawa . +2001-01-07 Mark Kettenis - * iconvdata/ibm1046.h: Optimize. Remove duplicate mappings. - * iconvdata/ibm1124.h: Likewise. - * iconvdata/ibm1132.h: Likewise. - * iconvdata/ibm1133.h: Likewise. - * iconvdata/ibm1160.h: Likewise. - * iconvdata/ibm1161.h: Likewise. - * iconvdata/ibm1162.h: Likewise. - * iconvdata/ibm856.h: Likewise. - * iconvdata/ibm922.h: Likewise. - * iconvdata/ibm930.h: Likewise. - * iconvdata/ibm932.h: Likewise. + * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about + `struct statfs' and `struct statvfs' being identical. + * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise. + +2001-01-06 Mark Kettenis + + * sysdeps/mach/hurd/fstatfs64.c: New file. + * sysdeps/mach/hurd/fstatvfs64.c: New file. + * sysdeps/mach/hurd/statfs64.c: New file. + * sysdeps/mach/hurd/statvfs64.c: New file. + * sysdeps/mach/hurd/statfsconv.c: New file. + * sysdeps/mach/hurd/Dist: Add statfsconv.c. + +2001-01-06 Ulrich Drepper + + * iconv/skeleton.c: Reset outbuf for next round of the loop. + Reported by Owen Taylor . + * iconv/Makefile (tests): Add tst-iconv3. + * iconv/tst-iconv3.c: New file. + + * iconvdata/ibm930.c: Fix handling of state. Optimize a bit. + * iconvdata/ibm933.c: Likewise. + * iconvdata/ibm935.c: Likewise. + * iconvdata/ibm937.c: Likewise. + * iconvdata/ibm939.c: Likewise. + * iconvdata/ibm930.h: Adjust single byte table for optimization. * iconvdata/ibm933.h: Likewise. * iconvdata/ibm935.h: Likewise. - * iconvdata/ibm937.h: Likewise. * iconvdata/ibm939.h: Likewise. - * iconvdata/ibm943.h: Likewise. - * iconvdata/ibm930.c: Pretty printing. - * iconvdata/ibm937.c: Avoid access accross array boundary. - * iconv/gconv_open.c (__gconv_open): Empty codeset name now means using - the current locale's codeset. - * iconv/iconv_open.c (iconv_open): Don't strip out everything for - empty input string. - * iconv/iconv_prog.c: Pass empty strings as default value for to- - and from-charset. Don't determine locale's charset here. + * iconvdata/testdata/IBM930: Add misssing SI. + * iconvdata/testdata/IBM933: Likewise. + * iconvdata/testdata/IBM935: Likewise. + * iconvdata/testdata/IBM937: Likewise. + * iconvdata/testdata/IBM939: Likewise. - * libio/genops.c (_IO_flush_all_lockp): New function. The same code - as the old _IO_flush_all but lock only if parameter is nonzero. - (_IO_flush_all): Call _IO_flush_all_lockp with 1 as parameter. - * libio/libioP.h: Add prototype for _IO_flush_all_lockp. - * sysdeps/generic/abort.c (fflush): Define to _IO_flush_all_lockp(0) - if libio is used [PR libc/2575]. +2001-01-06 Andreas Jaeger -2001-11-28 Jakub Jelinek + * configure.in: Check for old add-ons that shouldn't be used with + current glibc anymore. - * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf, __signbit, - __signbitl): Only define for ISO C99. +2001-01-06 Mark Kettenis -2001-11-22 Thorsten Kukuk + * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number + instead of -1 on failure. Don't forget to copy file name into + *ENTRY if successful. Set *RESULT to NULL upon reaching the end + of the directory. - * nss/nss_files/files-hosts.c (_nss_files_get##name##_r): Set - herrnop to NETDB_INTERNAL if we run out of buffer space. +2001-01-06 Mark Kettenis -2001-11-28 Ulrich Drepper + * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to + copy st_atime member. - * nss/nss_files/files-XXX.c (internal_getent): Correct input - overflow test for platforms with signed char. - Reported by Andrew Haley . +2001-01-05 Ulrich Drepper -2001-11-28 Bruno Haible + * io/ftw.c (ftw_dir): Don't add a second slash at the beginning + for searches from the root directory. + Reported by loris [PR libc/1991]. + * io/Makefile (tests): Add bug-ftw1. + * io/bug-ftw1.c: New file. - * locale/programs/simple-hash.c (lookup_2): Remove function. - (insert_entry_2): Call lookup instead of lookup_2. + * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV + if it is not available. Instead use it only if it is available. + * sysdeps/unix/sysv/linux/ldsodefs.h: New file. -2001-03-04 Bruno Haible + * iconv/gconv_simple.c (internal_ics4_loop): Correct test for + overflowing output buffer. + (internal_ucs4_loop_unaligned): Likewise. + (ucs4_internal_loop): Likewise. + (ucs4_internal_loop_unaligned): Likewise. + (internal_ucs4le_loop): Likewise. + (internal_ucs4le_loop_unaligned): Likewise. + (ucs4le_internal_loop): Likewise. + (ucs4le_internal_loop_unaligned): Likewise. + Reported by Owen Taylor . + * iconv/Makefile (tests): Add tst-iconv2. + * iconv/tst-iconv2.c: New file. - * intl/dcigettext.c (DCIGETTEXT): Increment path_max proportionally. +2001-01-04 H.J. Lu -2001-10-31 Bruno Haible + * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined. + (_dl_clktck): Declared. + (non_dynamic_init): Take 3 arguments. + Set _dl_pagesize, _dl_platform and _dl_clktck from AUX. - * intl/plural.y: Include , needed for NULL with SunOS 4 cc. +2001-01-01 Bruno Haible -2001-03-21 Bruno Haible - - * intl/dcigettext.c (_nl_state_lock): Mark as #ifdef _LIBC. AIX 3 xlc - chokes on empty macro arguments. - * intl/plural.y: Add #pragma for alloca on AIX 3. - -2001-11-27 Ulrich Drepper - - * intl/dcigettext.c (guess_category_value): Only implement for - glibc. Otherwise rely on function _nl_locale_name which isn't - present in the glibc sources. - -2001-09-24 Bruno Haible - - * intl/loadmsgcat.c (_nl_init_domain_conv): Also enable - transliteration when building on a glibc system but outside glibc. - -2001-09-22 Bruno Haible - - * intl/plural-eval.c: New file, extracted from dcigettext.c. - * intl/dcigettext.c (plural_eval): Remove function, moved to - intl/plural-eval.c. - (plural_lookup): Call PLURAL_EVAL instead of plural_eval. - Include plural-eval.c. - -2001-09-22 Bruno Haible - - * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Reject numbers that - don't start with a digit; nplurals must be positive. - -2001-09-02 Bruno Haible - - * intl/plural-exp.h: New file, extracted from gettextP.h. - * intl/plural-exp.c: New file, extracted from loadmsgcat.c. - * intl/gettextP.h (struct expression, struct parse_args, - __gettext_free_exp, __gettextparse): Move to plural-exp.h. - * intl/loadmsgcat.c: Include plural-exp.h. - (PLURAL_PARSE): Move macro to plural-exp.h. - (plvar, plone, germanic_plural, INIT_GERMANIC_PLURAL): Move to - plural-exp.c. - (_nl_load_domain): Move plural handling code to plural-exp.c. Call - EXTRACT_PLURAL_EXPRESSION. - (_nl_unload_domain): Update. - * intl/dcigettext.c: Include plural-exp.h. - * intl/plural.y: Include plural-exp.h, not gettextP.h. - (FREE_EXPRESSION): Move macro to plural-exp.h. - * intl/Makefile (routines): Add plural-exp. - (distribute): Add plural-exp.h. - -2001-07-28 Bruno Haible - - * intl/l10nflist.c (_nl_normalize_codeset): Cast isalnum, isalpha, - isdigit, tolower argument to 'unsigned char'. - * intl/loadmsgcat.c (_nl_load_domain): Cast isspace argument to - 'unsigned char'. - * intl/localealias.c (read_alias_file): Cast isspace argument to - 'unsigned char'. - -2001-10-20 Bruno Haible - - Assume strchr() exists. (Without it, intl/explodename.c wouldn't link - anyway.) - * intl/dcigettext.c (strchr): Remove fallback definition; it conflicts - with the variable 'index' in plural_lookup. - * intl/l10nflist.c (strchr): Likewise. - * intl/localealias.c (strchr): Likewise. - - Assume , , , exist. - * intl/bindtextdom.c: Likewise. - * intl/dcigettext.c: Likewise. - * intl/dgettext.c: Likewise. - * intl/dngettext.c: Likewise. - * intl/explodename.c: Likewise. - * intl/finddomain.c: Likewise. - * intl/gettext.c: Likewise. - * intl/l10nflist.c: Likewise. - * intl/loadmsgcat.c: Likewise. - * intl/localealias.c: Likewise. - * intl/ngettext.c: Likewise. - * intl/textdomain.c: Likewise. - * intl/gettext.h: Assume exists. - -2001-11-27 Ulrich Drepper - - * stdio-common/Makefile (tests): Add scanf11. - * stdio-common/scanf11.c: New file. - -2001-11-26 Ulrich Drepper - - * version.h (RELEASE): Define as development. - (VERSION): Set to 2.2.90. - -2001-11-22 Thorsten Kukuk - - * nis/nss_compat/compat-grp.c: Print group id as unsigned long. - * nis/nss_nis/nis-grp.c: Likewise. - * nis/nss_nisplus/nisplus-grp.c: Likewise. - - * nis/nss_compat/compat-pwd.c: Print user id as unsigned long. - * nis/nss_nis/nis-pwd.c: Likewise. - * nis/nss_nisplus/nisplus-pwd.c: Likewise. - - * nis/nss_nis/nis-publickey.c: Use strtoul instead of atoi. - * nis/nss_nisplus/nisplus-parser.c: Likewise. - * nis/nss_nisplus/nisplus-publickey.c: Likewise. - - * nscd/grpcache.c: Use strtoul instead of atol. - * nscd/pwdcache.c: Likewise. - * nss/getent.c: Likewise. - -2001-11-27 Paul Eggert - - * sysdeps/posix/tempname.c (__gen_tempname): Try at least - ATTEMPTS_MIN or TMP_MAX times, whichever is greater. - -2001-11-19 Bruno Haible - - * locale/programs/simple-hash.c (insert_entry_2): Resize at 75%, not - 90%. - (compute_hashval): Shift by 9 bits, not by 4 bits. This drastically - improves the quality of the hash function, especially for short - strings. - -2001-11-26 Ulrich Drepper - - * stdio-common/vfscanf.c: If incomplete nan of inf(inity) strings - are found call conv_error and not input_error [PR libc/2669]. - - * math/bits/mathcalls.h: Mark ceil and floor as const. - Reported by David Mosberger. - -2001-11-21 Jim Meyering - - * posix/regex.c (iswctype, mbrtowc, wcslen, wcscoll, wcrtomb) [_LIBC]: - Define to be __-prefixed. - Remove unnecessary duplication in `#ifdef _LIBC' blocks. - -2001-11-26 Andreas Jaeger - - * sysdeps/unix/sysv/linux/hppa/brk.c: Remove __brk_addr alias, - avoid warning. - -2001-11-26 Stephen L Moshier - - * sysdeps/ieee754/ldbl-128/e_log10l.c (L102B): Fix typo in - initialization. - - * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Remove - unused variables. Fix threshold for returning 1.0. - - * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (neval, deval): Constify + Finish implementation of plural form handling. + * intl/dcigettext.c (known_translation_t): Rename 'domain' field to + 'domainname'. Remove 'plindex' field. Add 'domain' and + 'translation_length' fields. + (transcmp): Don't compare 'plindex' fields. + (plural_lookup): New function. + (DCIGETTEXT): Change cache handing in the plural case. Don't call + plural_eval before the translation and its catalog file have been + found. Remove plindex from cache key. Add 'translation_length' and + 'domain' to cache result. + (_nl_find_msg): Remove index argument, return length of translation + to the caller instead. Weaken comparison of string lengths, to account + for plural entries. Call iconv() on the entire result string, not + only on the portion needed so far. + * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp argument. + * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change. - * sysdeps/ieee754/ldbl-128/s_erfl.c (neval, deval): Likewise, and - remove unused variables. +2001-01-04 Ulrich Drepper - * sysdeps/ieee754/ldbl-128/e_j0l.c (neval, deval): Likewise. + * intl/plural.y (yylex): Minimal improvement in number scanner. - * sysdeps/ieee754/ldbl-128/e_j1l.c (neval, deval): Likewise, and - include local math header files. +2000-07-31 Bruno Haible -2001-11-22 Andreas Jaeger + * intl/plural.y: Include config.h. Needed to define 'inline' away for + C compilers that don't support it. + (yylex): Don't use gcc specific case range syntax. + * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old + compilers. - * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Add brace to +2000-10-12 Bruno Haible + + * intl/finddomain.c: Remove unneeded includes. + +2000-10-12 Bruno Haible + + * intl/localealias.c (memcpy): Return first argument, just like the + real memcpy function does. + * intl/bindtextdom.c (memcpy): Likewise. + * intl/finddomain.c (memcpy): Likewise. + * intl/l10nflist.c (memcpy): Likewise. + * intl/textdomain.c (memcpy): Likewise. + From Paul Eggert . + +2001-01-03 Jakub Jelinek + + * resolv/resolv.h (struct __res_state): Add nsinit field. + * resolv/res_send.c (res_nsend): Use it instead of nscount. + * resolv/res_init.c (__res_vinit): Initialize it. + (res_nclose): Clear it instead of nscount. + +2001-01-04 Ulrich Drepper + + * malloc/mtrace.pl: Fix matching of addresses. + Patch by Aharon Robbins . + + * Versions.def (ld): Add GLIBC_2.2. + + * catgets/gencat.c: Copyright 2001. + * csu/version.c: Likewise. + * debug/catchsegv.sh: Likewise. + * debug/xtrace.sh: Likewise. + * elf/ldconfig.c: Likewise. + * elf/sprof.c: Likewise. + * iconv/iconv_prog.c: Likewise. + * locale/locale.c: Likewise. + * locale/localedef.c: Likewise. + * malloc/memusage.sh: Likewise. + * malloc/mtrace.pl: Likewise. + * nscd/nscd.c: Likewise. + * posix/getconf.c: Likewise. + +2001-01-04 Mark Kettenis + + * include/stdio.h: Only provide __getwc_unlocked prototype if + USE_IN_LIBIO is defined. + +2001-01-04 Kaz Kojima + + * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code + handling. + +2001-01-03 Andreas Schwab + + * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias. + * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias. + + * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias. + * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix + strtoull alias. + * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias. + * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix + wcstoull alias. + + * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this + directory. + * sysdeps/generic/strtol_l.c: Likewise. + * sysdeps/generic/strtoul_l.c: Likewise. + * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c. + + * sysdeps/wordsize-64/strtol_l.c: Fix alias. + * sysdeps/wordsize-64/strtoul_l.c: Likewise. + * sysdeps/wordsize-64/wcstol_l.c: Fix alias. + * sysdeps/wordsize-64/wcstoul_l.c: Likewise. + +2001-01-04 Andreas Jaeger + + * nss/nsswitch.c: Include files for missing prototypes, remove + buggy declaration of prototypes. + +2001-01-03 Franz Sirl + + * resolv/Versions: Fix bracing. + * sysdeps/powerpc/soft-fp/Versions: Likewise. + * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise. + +2001-01-02 Franz Sirl + + * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo. + +2001-01-02 Ulrich Drepper + + * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf. + Suggested by Minko Markov . + +2001-01-02 Franz Sirl + + * sysdeps/powerpc/elf/start.S (__data_start): Make it global. + * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of + the failing symbol. + (__process_machine_rela): Pass symbol to dl_reloc_overflow(). + +2001-01-02 Ben Collins + + * time/tzset.c (tzset_internal): Make sure we fall back to UTC + if TZ is not set and TZDEFAULT is not present. + +2001-01-01 Ben Collins + + * string/strings.h: Make sure we declare our functions even if + string.h is already included, based on whether or not __USE_BSD is + defined. + +2001-01-02 Ulrich Drepper + + * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any + other dlopen() and dlsym(). + Based on a patch by Ben Collins . + +2001-01-02 Andreas Jaeger + + * dlfcn/errmsg1.c (main): Call dlerror initially. + Reported by Ben Collins . + +2001-01-02 Ulrich Drepper + + * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE + value is ignored if the selected locale is the C locale. + * intl/tst-gettext.c: Set locale for above change. + * intl/tst-translit.c: Likewise. + +2001-01-02 Andreas Jaeger + + * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro. + (_IO_switch_to_wget_mode): Likewise. + (_IO_sputbackwc): Likewise. + (_IO_sungetwc): Use wint_t for result. + + * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done. + + * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct + signedness. + + * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked + to (int) to avoid warnings. + * stdio-common/printf_fp.c (putc): Likewise. + * stdio-common/printf_size.c (putc): Likewise. + + * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make + constant unsigned. + +2001-01-01 Andreas Jaeger + + * inet/rcmd.c (rcmd_af): Use socklen_t for len. + +2000-12-31 Andreas Jaeger + + * include/libc-internal.h: Add prototype for __libc_freeres. + + * sysdeps/unix/sysv/linux/init-first.c: Include + for prototypes, remove redundant prototypes. + * gmon/gmon.c: Likewise. + * sysdeps/unix/i386/i586/clock_getres.c: Likewise. + * sysdeps/unix/i386/i586/clock_gettime.c: Likewise. + * malloc/mtrace.c: Likewise. + + * sysdeps/generic/enbl-secure.c: Include for + prototypes. + * elf/soinit.c: Likewise. + * sysdeps/generic/prof-freq.c: Likewise. + * sysdeps/mach/hurd/profil.c: Likewise. + * debug/noophooks.c: Likewise. + * debug/pcprofile.c: Likewise. + * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise. + * sysdeps/generic/get_clockfreq.c: Likewise. + * malloc/set-freeres.c: Likewise. + + * locale/localeinfo.h: Add internal prototypes. + + * elf/rtld.c (dl_main): Fix prototype. + + * iconvdata/tst-table-to.c (main): Use return instead of exit to avoid warning. -2001-11-21 Andreas Jaeger - - * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: New file. - - * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers): Add - sys/debugreg.h - -2001-11-15 Andreas Jaeger - - * include/features.h (__GLIBC_HAVE_LONG_LONG): Define for - compilers that support it. - - * posix/sys/types.h: Use __GLIBC_HAVE_LONG_LONG. - * sysdeps/unix/sysv/linux/bits/types.h: Likewise. - * stdlib/stdlib.h: Likewise. - -2001-11-17 Ulrich Drepper - - * posix/regex.c (byte_re_match_2_internal): For gcc replace switch - statement with gotos. - Based on a patch by Paolo Bonzini . - -2001-11-16 Stephen L Moshier - - * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfcl): Fix K&R header. - -2001-11-15 Ulrich Drepper - - * sysdeps/generic/unwind-dw2-fde.c: Don't use recursive mutexes. - -2001-10-02 Jakub Jelinek - H.J. Lu - - * Versions.def (libc): Add GCC_3.0. - * configure.in (libc_cv_gcc_static_libgcc): Set to -static-libgcc - if gcc supports this flag. - (EXPORT_UNWIND_FIND_FDE): Define unless target configure disables it. - (gcc3): Allow glibc to be compiled with gcc 3.x. - * config.h.in (EXPORT_UNWIND_FIND_FDE): Add. - * config.make.in (static-libgcc, unwind-find-fde): Add. - * Makerules (build-shlib-helper, build-module-helper): Use it. - * scripts/versions.awk: Make sure GLIBC_ versions come first. - * elf/soinit.c (__libc_global_ctors): Set tbases and dbases if - necessary. - (_fini): Call __deregister_frame_info_bases if - __register_frame_info_bases was used to register. - * elf/Versions (__register_frame_info, __deregister_frame_info): Add - for GLIBC_2.0. - (__register_frame_info_bases, __register_frame_info_table_bases, - __deregister_frame_info_bases, _Unwind_Find_FDE): Add for GCC_3.0. - * elf/Makefile (routines): Add unwind-dw2-fde. - (shared-only-routines): Add unwind-dw2-fde. - * sysdeps/alpha/gccframe.h: New file. - * sysdeps/arm/gccframe.h: New file. - * sysdeps/generic/framestate.c: New file. - * sysdeps/generic/dwarf2.h: New file. - * sysdeps/generic/gccframe.h (struct object): Update from gcc 3.0. - * sysdeps/generic/unwind-dw2-fde.c: New file. - * sysdeps/unix/sysv/linux/ia64/unwind-dw2-fde.c: New file. - * sysdeps/generic/unwind-dw2-fde.h: New file. - * sysdeps/generic/unwind-dw2.c: New file. - * sysdeps/generic/unwind-pe.h: New file. - * sysdeps/generic/unwind.h: New file. - * sysdeps/hppa/gccframe.h: New file. - * sysdeps/i386/gccframe.h: New file. - * sysdeps/m68k/gccframe.h: New file. - * sysdeps/mips/gccframe.h: New file. - * sysdeps/powerpc/gccframe.h: New file. - * sysdeps/s390/gccframe.h: New file. - * sysdeps/sh/gccframe.h: New file. - * sysdeps/sparc/gccframe.h: New file. - * sysdeps/vax/gccframe.h: New file. - * sysdeps/unix/sysv/linux/configure.in (libc_cv_gcc_unwind_find_fde): - Set on all architectures except ia64. - * sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde): Set - for i386. - * sysdeps/mach/hurd/i386/Versions (__register_frame_info, - __deregister_frame_info): Move to elf/Versions. - * sysdeps/unix/sysv/linux/m68k/Versions: Likewise. - * sysdeps/unix/sysv/linux/arm/Versions: Likewise. - * sysdeps/unix/sysv/linux/alpha/Versions: Likewise. - * sysdeps/unix/sysv/linux/i386/Versions: Likewise. - * sysdeps/unix/sysv/linux/mips/Versions: Likewise. - * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/Versions: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise. - * sysdeps/mach/hurd/i386/Makefile (sysdep-routines): Add framestate. - * sysdeps/unix/sysv/linux/arm/Makefile: Likewise. - * sysdeps/unix/sysv/linux/alpha/Makefile: Likewise. - * sysdeps/unix/sysv/linux/i386/Makefile: Likewise. - * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise. - * sysdeps/unix/sysv/linux/mips/Makefile: Likewise. - * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise. - * sysdeps/unix/sysv/linux/sparc/Makefile: Likewise. - -2001-11-15 Jeff Law - - * posix/regex.c (uintptr_t): Do not provide a definition if the - system provided one. - -2001-11-13 Roland McGrath - - * stdio-common/tmpfile.c: Moved to ... - * sysdeps/generic/tmpfile.c: ... here. - * sysdeps/mach/hurd/tmpfile.c: New file. - - * hurd/fopenport.c (__fopenport): Renamed from fopenport. - [USE_IN_LIBIO] (fopencookie): #define as _IO_fopencookie. - (fopenport): Define as weak alias. - - * libio/iofopncook.c (_IO_fopencookie): Move forward declaration ... - * libio/libioP.h: ... to here. - -2001-11-12 Ulrich Drepper - - * elf/dl-reloc.c (_dl_relocate_object): Avoid iterating over - program header twice. Construct list with the needed information. - -2001-11-10 Ulrich Drepper - - * po/ca.po: Update from translation team. - - * elf/dl-load.c (_dl_map_object_from_fd): Remove use of - _dl_pf_to_prot. Use arithmetic operation using PF_TO_PROT macro. - * sysdeps/generic/ldsodefs.h (PF_TO_PROT): New macro. - * elf/dl-reloc.c (_dl_relocate_object): Likewise. - -2001-11-10 Andreas Jaeger - - * sysdeps/ieee754/ldbl-128/e_log2l.c: New file. - * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise. - Contributed by Stephen L Moshier . - -2001-11-09 Ulrich Drepper - - * elf/dl-minimal.c (realloc): Handle NULL for first parameter - correctly. - * elf/dl-load.c (is_dst): New function. - (_dl_dst_count): Use is_dst to check for DST variable. - (_dl_dst_substitute): Likewise. - -2001-11-09 Roland McGrath - - Hurd/PowerPC port contributed by Peter Bruin . - * sysdeps/mach/hurd/powerpc/exc2signal.c: New file. - * sysdeps/mach/hurd/powerpc/init-first.c: New file. - * sysdeps/mach/hurd/powerpc/intr-msg.h: New file. - * sysdeps/mach/hurd/powerpc/longjmp-ts.c: New file. - * sysdeps/mach/hurd/powerpc/register-dump.h: New file. - * sysdeps/mach/hurd/powerpc/sigreturn.c: New file. - * sysdeps/mach/hurd/powerpc/static-start.S: New file. - * sysdeps/mach/hurd/powerpc/trampoline.c: New file. - * sysdeps/mach/hurd/powerpc/bits/sigcontext.h: New file. - * sysdeps/mach/hurd/powerpc/Dist: New file. - - * hurd/privports.c (__get_privileged_ports): - Only contact the proc server if necessary for this call. - Suggested by Neal H Walfield . - Check error return for mach_port_mod_refs. + * nis/rpcsvc/yp_prot.h: Remove __P. + * nis/rpcsvc/ypupd.h: Likewise. + * nis/rpcsvc/yp.h: Likewise. + + * sunrpc/rpc_main.c: Add noreturn attributes. + * sunrpc/rpc_scan.h: Likewise. -2001-11-09 Andreas Schwab + * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static. - * sysdeps/unix/sysv/linux/m68k/bits/resource.h: New file. + * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst. -2001-11-09 Ulrich Drepper + * sunrpc/proto.h: Add noreturn attributes to error and crash. - * elf/dl-load.c (lose): Remove some unnecessary code. The new - object is always the last in the list. - (_dl_map_object_from_fd): Delete code to remove from object list - when DF_1_NOOPEN is seen. This is done in lose. + * posix/bsd-getpgrp.c: Add prototype to avoid warning. -2001-11-08 Ulrich Drepper + * sunrpc/svc_unix.c: Include for prototypes. - * elf/dl-object.c (_dl_new_object): Various small optimizations. + * sunrpc/create_xid.c: Include for prototypes. -2001-11-07 Ulrich Drepper + * include/rpc/rpc_msg.h: Add prototypes for some functions. + * include/rpc/auth.h: Likewise. + * include/rpc/auth_des.h: Likewise. + * include/rpc/clnt.h: Likewise. + * include/rpc/rpc.h: Likewise. + * include/rpc/svc.h: Likewise. + * include/rpc/svc_auth.h: Likewise. - * sysdeps/generic/dl-cache.c: Optimize SEARCH_CACHE and - HWCAP_CHECK macro code. + * include/rpc/des_crypt.h: New file. - * elf/dl-misc.c (_dl_sysdep_read_whole_file): Optimize code a bit. - Now returns MAP_FAILED on error. - * elf/rtld.c: Adjust caller. - * sysdeps/generic/dl-cache.c: Likewise. - * sysdeps/generic/ldsodefs.h: Adjust description. + * malloc/memusagestat.c (main): Use return instead of exit to + avoid warning. + * io/pwd.c (main): Likewise. + * iconvdata/tst-table-from.c (main): Likewise. + * ctype/test_ctype.c (main): Likewise. + * setjmp/tst-setjmp.c (main): Likewise. + * signal/tst-signal.c (main): Likewise. + * stdlib/tst-strtol.c (main): Likewise. + * stdlib/tst-strtod.c (main): Likewise. + * stdlib/tst-strtoll.c (main): Likewise. + * stdlib/tst-xpg-basename.c (main): Likewise. + * dirent/tst-seekdir.c (main): Likewise. + * grp/testgrp.c (main): Likewise. + * inet/test_ifindex.c (main): Likewise. + * io/test-utime.c (main): Likewise. + * posix/test-vfork.c (main): Likewise. + * posix/testfnm.c (main): Likewise. + * stdio-common/temptest.c (main): Likewise. + * stdio-common/test_rdwr.c (main): Likewise. + * stdio-common/tst-fileno.c (main): Likewise. + * stdio-common/tst-sscanf.c (main): Likewise. + * stdio-common/tstscanf.c (main): Likewise. + * string/bug-strncat1.c (main): Likewise. + * string/bug-strpbrk1.c (main): Likewise. + * string/bug-strspn1.c (main): Likewise. + * string/test-ffs.c (main): Likewise. + * string/tst-inlcall.c (main): Likewise. + * string/tst-svc.c (main): Likewise. + * timezone/test-tz.c (main): Likewise. + * wctype/test_wcfuncs.c (main): Likewise. + * wctype/test_wctype.c (main): Likewise. - * elf/dl-version.c (match_symbol): Optimize error handling for size. - (_dl_check_map_versions): Likewise. + * stdlib/tst-random.c: Add attribute noreturn to fail. -2001-11-06 Ulrich Drepper +2000-12-28 Wolfram Gloger - * elf/dl-load.c (_dl_map_object_from_fd): Don't call - _dl_signal_error directly, always use lose. Set fd to -1 after - file is closed. - (lose): Don't call close if fd == -1. + * malloc/malloc.c (MALLOC_COPY): Handle case if source and + destination overlap. Assume dest is always below source if + overlapping. -2001-11-07 Kaoru Fukui +2000-12-30 Ulrich Drepper - * manual/charset.texi: Fix typo @w[ISO 6937] to @w{ISO 6937}. - Also fix typo @code {mbsinit} to @code{mbsinit}. + * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the + object was not yet initialized. -2001-11-06 Ulrich Drepper +2000-12-28 H.J. Lu - * elf/dl-profile.c: Replace state variable with simple flag named - running. Remove commented-out code. + * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state + is always consistent even if its dependency is failed. - * elf/dl-load.c (decompose_rpath): Optimize error handling for size. - (_dl_init_paths): Likewise. - (_dl_map_object_from_fd): Likewise. - * elf/dl-reloc.c (_dl_relocate_object): Likewise. + * elf/dl-open.c (_dl_open): Increment the open count before + calling _dl_close () in case of failure. -2001-11-06 Roland McGrath + * elf/neededtest4.c: New file. + * elf/neededobj5.c: New file. + * elf/neededobj6.c: New file. - * sysdeps/mach/powerpc/sysdep.h: Include sysdeps/unix/powerpc/sysdep.h - instead of sysdeps/powerpc/elf/sysdep.h and sysdeps/unix/sysdep.h. + * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c. + (tests): Add neededtest4. + (modules-names): Add neededobj5 and neededobj6. + ($(objpfx)neededobj6.so): New target. + ($(objpfx)neededtest4): New target. + ($(objpfx)neededtest4.out): New target. - * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't include - sysdeps/powerpc/elf/sysdep.h. - Reported by Kaoru Fukui . +2000-12-28 Joseph S. Myers -2001-11-05 Ulrich Drepper + * misc/sys/cdefs.h (__attribute_format_strfmon__): Define. + * stdlib/monetary.h: Add strfmon format attributes. - * elf/rtld.c (process_dl_debug): Rewritten. Optimized for size not - speed. - (process_envvars): Some more optimizations. - * sysdeps/generic/ldsodefs.h (DL_DEBUG_HELP): New macro. +2000-12-28 Roland McGrath - * elf/elf.h: Add dynamic tag definitions for prelinking. + * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after + __mempcpy does it for us. - * elf/rtld.c (process_envvars): Avoid using array of string pointers. - Rewrite code to remove environment varables for SUID binaries. - Small optimization in LD_PROFILE handling. - * sysdeps/generic/unsecvars.h: Adjust format for process_envvars - changes. - * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise. +2000-12-28 Andreas Jaeger - * sysdeps/generic/dl-sysdep.c: Don't initialize _dl_cpuclock_offset. + * sysdeps/generic/dl-environ.c: Add prototype for unsetenv. - * elf/dl-reloc.c (_dl_reloc_bad_type): Rewrite to not use writable - strings. Change type of second parameter. - * sysdeps/generic/ldsodefs.h: Adjust _dl_reloc_bad_type prototype - for last change. + * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for + __new_setrlimit. - * io/fts.h: Prevent using with _FILE_OFFSET_BITS=64. + * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for + __old_getrlimit64. -2001-11-04 Joseph S. Myers + * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for + __new_getrlimit. + + * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for + __chown_is_lchown and __real_chown. + + * sysdeps/generic/ldsodefs.h: Add noreturn attribute to + _dl_reloc_bad_type. - * manual/string.texi: Fix typos. - * manual/examples/argp-ex2.c: Likewise. + * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut + up GCC's warning about "deprecated use of label at end of compound + statement." + * sunrpc/rpc_cout.c (emit_inline): Likewise. -2001-11-05 Roland McGrath + * gmon/bb_exit_func.c: Include for internal + prototypes. + Remove struct bb and __bb_head since those are declared by + sys/gmon.h. - * sysdeps/powerpc/elf/sysdep.h: Remove this file, because it overrides - the more-specific unix/sysv/linux/powerpc file and breaks everything. - * sysdeps/powerpc/sysdep.h (ALIGNARG, ASM_TYPE_DIRECTIVE, - ASM_SIZE_DIRECTIVE, CALL_MCOUNT, ENTRY, EALIGN, DO_CALL, JUMPTARGET, - PSEUDO, PSEUDO_RET, PSEUDO_END, L, C_TEXT): These macros moved here - here, put under [__ELF__]. +2000-12-22 Ben Collins -2001-11-05 Ulrich Drepper + * manual/charset.texi: Fix typo in description of WCHAR_MAX. - * manual/charset.texi: Extensive editing work. - * manual/nss.texi: Likewise. - Changes by Dennis Grace . + * manual/argp.texi: Document argp_domain as part of struct argp. -2001-11-04 Roland McGrath +2000-12-28 Andreas Jaeger - * hurd/set-host.c (_hurd_set_host_config): Use O_WRONLY in flags - parameter to dir_mkfile. + * catgets/Makefile (generated): Add sample.SJIS.cat. -2001-11-02 Jakub Jelinek + * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes. - * string/bits/string2.h (__strndup): If n is smaller than len, set - len to n + 1. - * string/tester.c (test_strndup): New function. - (main): Call it. + * elf/dl-minimal.c: Add prototypes. -2001-11-01 Ulrich Drepper + * include/locale.h: Add internal prototypes. + * include/sys/gmon.h: Likewise. - * sunrpc/rpc_main.c: Optimize variable definitions a bit. + * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC. - * sunrpc/Makefile (rpcgen-cmd): Use ../scripts/cpp in rpcgen calls. - * scripts/cpp: New file. +2000-12-27 Ben Collins - * elf/dl-load.c (_dl_map_object): Correct test of DF_1_NODEFLIB - for rtld_search_dirs content. Minor optimizations. + * elf/dl-open.c (_dl_open): Correctly set the new objname pointer + when reallocating the error strings. + Reported by Kalle Olavi Niemitalo -2001-10-31 Ulrich Drepper +2000-12-27 Ulrich Drepper - * elf/dl-load.c (_dl_map_object): Make code a bit more compact by - avoiding unnecessary duplication. + * dlfcn/Makefile (tests): Add errmsg1. + (modules-names): Add errmsg1mod. + Add rules to run errmsg1. + * dlfcn/errmsg1.c: New file. + * dlfcn/errmsg1mod.c: New file. -2001-10-31 Jakub Jelinek + * dlfcn/dlerror.c (dlerror): Always create output string which + includes object file name. - * elf/dl-load.c (_dl_map_object): If library was found using - LD_LIBRARY_PATH, don't try RUNPATH list. + * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop + if we would go through it only once. + Patch by Rick Gorton . -2001-10-31 Martin Schwidefsky + * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter. + Patch by Richard Henderson . - * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h (REGISTER_DUMP): - Correct second argument of register_dump call. - * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h (REGISTER_DUMP): +2000-12-27 Jakub Jelinek + + * malloc/malloc.c (memmove): Add prototypes. + (MALLOC_MEMMOVE): Define. + (chunk_realloc): Use it instead of MALLOC_COPY if source and + destination might overlap. + +2000-12-27 Andreas Jaeger + + * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested + function. + * elf/dl-load.c (_dl_map_object_from_fd): Likewise. + * locale/programs/locale.c (show_locale_vars): Likewise. + (show_info): Likewise. + * locale/programs/ld-collate.c (collate_output): Likewise. + * locale/programs/ld-ctype.c (set_class_defaults): Likewise. + * elf/dl-deps.c (_dl_map_object_deps): Likewise. + * stdlib/rpmatch.c (rpmatch): Likewise. + + * setjmp/tst-setjmp.c: Make local functions static. + * setjmp/jmpbug.c: Likewise. + * signal/tst-signal.c: Likewise. + * stdio-common/tfformat.c: Likewise. + * string/tst-svc.c: Likewise. + * time/clocktest.c: Likewise. + * time/tst-getdate.c: Likewise. + * dirent/list.c: Likewise. + * dirent/opendir-tst1.c: Likewise. + * posix/runtests.c: Likewise. + * posix/tst-getaddrinfo.c: Likewise. + * posix/tst-chmod.c: Likewise. + * posix/wordexp-test.c: Likewise. + * misc/tst-efgcvt.c: Likewise. + * timezone/tst-timezone.c: Likewise. + * rt/tst-clock.c: Likewise. + * rt/tst-shm.c: Likewise. + * rt/tst-aio2.c: Likewise. + * rt/tst-aio3.c: Likewise. + * rt/tst-aio4.c: Likewise. + * rt/tst-aio5.c: Likewise. + + * dlfcn/failtest.c: Add prototype for foo. + + * dlfcn/glrefmain.c: Add prototype for do_test. + + * dlfcn/tst-dladdr.c: Add prototype for do_test. + + * string/test-ffs.c (main): Add prototype for nested function. + + * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype. + + * nss/XXX-lookup.c: Add prototype to shut up GCC. + + * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix + setetherent prototype. + Add internal interfaces. + + * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise. + * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise. + + * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC. + + * nis/nis_intern.h: Add prototype for __pmap_getnisport. + + * nss/nss_files/files-ethers.c: Include netinet/ether.h to get + prototypes, remove struct etherent since it's declared in ether.h. + Fix ntohost declaration. + + * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC. + + * include/getopt.h: Add internal interfaces. + * include/termios.h: Likewise. + * include/resolv.h: Likewise. + * include/netdb.h: Likewise. + * include/grp.h: Likewise. + * include/pwd.h: Likewise. + * include/shadow.h: Likewise. + * include/rpc/netdb.h: Likewise. + * include/setjmp.h: Likewise. + + * include/stdio.h: Add prototypes for compatibility functions. + * include/grp.h: Likewise. + * include/pwd.h: Likewise. + * include/shadow.h: Likewise. + + * include/fenv.h: Define internal interfaces. + +2000-12-27 Ulrich Drepper + + * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant + argument case separately. + * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise. + +2000-12-27 Andreas Jaeger + + * include/sys/wait.h: Add some prototypes. + * Rules (dummy.c): Create also prototype to shut up GCC. + +2000-12-27 Andreas Jaeger + + * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment, + it's not needed at the moment. + * sysdeps/generic/if_index.c (__protocol_available): Likewise. + * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise. + +2000-12-26 Andreas Jaeger + + * libio/getc_u.c: Include stdio.h via system path to get internal + prototypes. + * libio/getwc_u.c: Likewise. + + * stdlib/strfmon.c: Fix prototype of __printf_fp. + + * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and + __printf_fp prototypes to ... + * include/printf.h: ...here. + + * include/stdio.h: Add some internal prototypes to shut up GCC. + * include/stdlib.h: Likewise. + + * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype + declaration. + + * include/signal.h: Add prototypes for internal sigpause + interfaces. + +2000-12-26 Ulrich Drepper + + * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for + 64bit platforms. Reported by Dave Gilbert . + + * string/Makefile (tests): Add tst-bswap. + * string/tst-bswap.c: New file. + +2000-12-11 Bruno Haible + + * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale. + +2000-12-26 Ulrich Drepper + + * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call. + Patch by Ed Connell . + +2000-12-24 Ulrich Drepper + + * locale/iso-639.def: Correct one entry. Add two missing entries. + + * locale/iso-4217.def: Change entry for Eritrea. + Reported by Daniel Yacob . + +2000-12-23 Ben Collins + + * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937 + description. + + * manual/stdio.texi (Dynamic Output): Document the return value of + asprintf. Also make the asprintf/snprintf examples a little + better (check for some error returns). + +2000-12-22 Andreas Jaeger + + * include/stdio.h: Add __ftrylockfile prototype. + +2000-12-21 H.J. Lu + + * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type): + Make sign_exponent element signed. + + * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type): + Fix a typo. + + * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch. + +2000-12-21 Andreas Jaeger + + * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed. + * inet/ether_hton.c: Likewise + * inet/ether_ntoh.c: Likewise. + + * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix + declaration to match prototype. + + * include/netinet/ether.h (struct etherent): Declare here so that + all implementations use the same struct. + + * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get + prototypes. + (struct ether): Removed. + Use struct etherent instead of ether everywhere. + + * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New. + + * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New. + + * sunrpc/publickey.c: Include auth_des.h for prototypes. + +2000-12-20 Ulrich Drepper + + * math/test-misc.c: Add more tests for nextafter functions. + + * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to + normal correctly. Correct test for sign. + Based on a patch by HJ Lu. + +2000-12-19 Ulrich Drepper + + * Makeconfig (preprocess-version): Add -traditional to gcc call. + Cleanup sed calls. + +2000-12-19 Andreas Jaeger + + * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New. + + * nis/nis_intern.h: Add prototype for __do_niscall3. + + * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to + match prototype. + + * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat. + + * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New. + + * include/aliases.h (DECLARE_NSS_PROTOTYPES): New. + +2000-12-18 Ulrich Drepper + + * math/test-misc.c: Add more tests for nextafter. + * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly. + * sysdeps/ieee754/ldbl-96/math_ldbl.h + (ieee_long_double_shape_type): Make sign_exponent element signed. + + * manual/message.texi: Add Estonian to plural overview list. + Correct rule for Slavic languages. + Patch by Stanislav Brabec . + + * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations. + +2000-12-18 Andreas Jaeger + + * test-skeleton.c: Use temp_name_list instead of name_list to + avoid collision with name_list from inet/netgroup.h. + + * nss/nss_files/files-network.c (NEED_H_ERRNO): Define. + + * include/grp.h (DECLARE_NSS_PROTOTYPES): New. + * include/pwd.h (DECLARE_NSS_PROTOTYPES): New. + * include/netdb.h (DECLARE_NSS_PROTOTYPES): New. + * include/shadow.h (DECLARE_NSS_PROTOTYPES): New. + + * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix + declaration to match prototype. + * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise. + * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise. + * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent): Likewise. - -2001-10-31 Ulrich Drepper - - * iconvdata/Makefile: Add support for IBM1132, IBM1133, and IBM1162 - modules. - * iconvdata/TESTS: Likewise. - * iconvdata/gconv-modules: Likewise. - * iconvdata/ibm1132.c: New file. - * iconvdata/ibm1132.h: New file. - * iconvdata/ibm1133.c: New file. - * iconvdata/ibm1133.h: New file. - * iconvdata/ibm1162.c: New file. - * iconvdata/ibm1162.h: New file. - * iconvdata/testdata/IBM1132: New file. - * iconvdata/testdata/IBM1132..UTF8: New file. - * iconvdata/testdata/IBM1133: New file. - * iconvdata/testdata/IBM1133..UTF8: New file. - * iconvdata/testdata/IBM1162: New file. - * iconvdata/testdata/IBM1162..UTF8: New file. - Patches by Masahide Washizawa . - - * string/string.h: Fix typo in comment. - * wcsmbs/wchar.h: Likewise. - -2001-10-30 Joseph S. Myers - - * manual/getopt.texi (getopt_long, getopt_long_only): Include - const in type of longopts parameter. - -2001-10-29 Andreas Jaeger - - * sysdeps/ieee754/dbl-64/mpa.h: Add prototypes for internal functions. - -2001-10-29 Kevin Ryde - - * manual/stdio.texi (Integer Conversions): Corrections to sample printf - output, clarify `#' behaviour on 0. - (Floating-Point Conversions): Clarify that %g only uses %e when - the exponent would be greater than 1. - -2001-10-28 Roland McGrath - - Support for Mach/PowerPC contributed by Peter Bruin . - * sysdeps/mach/powerpc/machine-sp.h: New file. - * sysdeps/mach/powerpc/sysdep.h: New file. - * sysdeps/mach/powerpc/thread_state.h: New file. - - * sysdeps/mach/hurd/i386/Makefile: File removed; crt0.o rules moved ... - * sysdeps/mach/hurd/Makefile: ... to here. For the time being, we can - expect to need the same thing on every platform. - - * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: File moved ... - * sysdeps/generic/sys/ucontext.h: ... to replace this one. - - * sysdeps/unix/sysv/linux/powerpc/sysdep.h (ALIGNARG, - ASM_TYPE_DIRECTIVE, ASM_SIZE_DIRECTIVE, CALL_MCOUNT, ENTRY, EALIGN, - DO_CALL, JUMPTARGET, PSEUDO, PSEUDO_RET, PSEUDO_END, L, C_TEXT): - Move all these assembly-related definitions to ... - * sysdeps/powerpc/elf/sysdep.h: ... this new file. - - * sysdeps/mach/powerpc/machine-lock.h: Assembly code rewritten - by Peter Bruin . - - * hurd/hurdselect.c (_hurd_select): Check SELECT_RETURNED bit when - packing results for a `poll' call. - -2001-10-26 Ulrich Drepper - - * posix/fnmatch_loop.c: Recognize - at end of bracket expression - correctly. - * posix/tst-fnmatch.input: Add tests for - at beginning and end of - bracket expression. - - * string/strxfrm.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get - nrules value. - * string/tst-strxfrm.c (test): Also test __strxfrm_l. - -2001-10-24 H.J. Lu - - * sysdeps/generic/bits/dlfcn.h (DL_CALL_FCT): Cast to void *. - Use __BEGIN_DECLS/__END_DECLS around prototypes. - * sysdeps/mips/bits/dlfcn.h (DL_CALL_FCT): Likewise. - -2001-10-21 Jim Meyering - - * malloc/obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise, - this code would end up calling gettext even in packages built - with --disable-nls. - * posix/getopt.c (_): Likewise. - * posix/regex.c (_): Likewise. - -2001-10-26 Ulrich Drepper - - * resolv/gethnamaddr.c (gethostbyaddr): Use ip6.addr for reverse - lookup not ip6.int. + * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise. + * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise. + * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise. + * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise. + (_nss_nis_getservbyport_r): Likewise. + * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise. + * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise. + * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise. + (_nss_nis_setnetent): Likewise + * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise. + (_nss_nis_endnetgrent): Likewise. + * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent): + Likewise. + (_nss_nisplus_setnetgrent): Likewise. + * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise. + * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise. + * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise. + * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent): + Likewise. + * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent): + Likewise. + * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent): + Likewise. + * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent): + Likewise. + * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise. + * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise. + * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise. * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise. - Reported by Martin.v.Loewis@t-online.de [PR libc/2598]. + * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise. + (_nss_dns_getnetbyaddr_r): Likewise. -2001-10-19 Jakub Jelinek +2000-12-17 Andreas Jaeger - * misc/sys/cdefs.h (__attribute_used__): Define. - * elf/rtld.c (_dl_start): Add __attribute_used__. - * elf/dl-runtime.c (fixup, profile_fixup): Likewise. + * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions + parameter. -2001-10-25 Andreas Schwab + * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add + unused attribute to shut up gcc warnings. - * stdlib/a64l.c: Expect least significant digit first. - * stdlib/l64a.c: Produce least significant digit first. - * stdlib/Makefile (tests): Add test-a64l. - * stdlib/test-a64l.c: New file. - Reported by Masaki Hasegawa . + * sysdeps/generic/k_sinl.c: Include math_private for prototypes. + * sysdeps/generic/k_tanl.c: Likewise. + * sysdeps/generic/k_cosl.c: Likewise. + * sysdeps/generic/e_j0l.c: Likewise. + * sysdeps/generic/e_j1l.c: Likewise. + * sysdeps/generic/e_jnl.c: Likewise. + * sysdeps/generic/e_lgammal_r.c: Likewise. -2001-10-21 Ulrich Drepper + * elf/vismain.c: Move prototypes for functions in vismod*.c to + vismod.h. + * elf/vismod.h: New file. + * elf/Makefile (distribute): Add vismod.h. + * elf/vismod1.c: Include vismod.h. + * elf/vismod2.c: Likewise. + * elf/vismod3.c: Likewise. - * po/sk.po: Update from translation team. + * elf/constload3.c: Add prototype declarations to shut up gcc. + * elf/failobj.c: Likewise. + * elf/nodelmod3.c: Likewise. + * elf/filtmod1.c: Likewise. + * elf/filtmod2.c: Likewise. + * elf/reldepmod1.c: Likewise. + * elf/reldepmod2.c: Likewise. + * elf/reldepmod3.c: Likewise. + * elf/reldepmod4.c: Likewise. + * elf/unload2dep.c: Likewise. + * elf/unload2mod.c: Likewise. + * elf/ltglobmod1.c: Likewise. + * elf/pathoptobj.c: Likewise. + * elf/neededobj1.c: Likewise. + * elf/neededobj2.c: Likewise. + * elf/neededobj3.c: Likewise. + * elf/neededobj4.c: Likewise. + * elf/nextmod1.c: Likewise. + * elf/nextmod2.c: Likewise. -2001-10-18 Ulrich Drepper + * locale/programs/ld-collate.c (collate_finish): Don't use labels + at end of compound statement. + * locale/programs/locale.c (show_info): Likewise. + * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise. - * sysdeps/i386/elf/start.S (_fp_hw): Define object type. +2000-12-16 Jakub Jelinek -2001-10-18 Andreas Schwab + * catgets/gencat.c (read_input_file): Avoid calling obstack_free + with a pointer not returned by obstack_ functions. - * math/libm-test.inc (print_ulps): Print ulp values rounded to - next whole number. - (print_function_ulps): Likewise. - (print_complex_function_ulps): Likewise. - (print_max_error): Likewise. - (print_complex_max_error): Likewise. Handle ignore_max_ulp. +2000-12-16 Ulrich Drepper -2001-10-16 Andreas Schwab + * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX + version. + (struct stat64): Likewise. + Reported by Michael Keezer . - * sysdeps/m68k/fpu/libm-test-ulps: Updated for fixed cbrtl - implementation. - - * sysdeps/m68k/setjmp.c: Also define setjmp and _setjmp if - BSD_SETJMP or BSD__SETJMP is defined, resp. - * sysdeps/m68k/bsd-setjmp.c: Inline setjmp code instead of making - a tail call to __sigsetjmp that would require extending the - caller's frame. - * sysdeps/m68k/bsd-_setjmp.c: Likewise. - * sysdeps/m68k/bsd-setjmp.S: Deleted. - * sysdeps/m68k/bsd-_setjmp.S: Deleted. - Reported by Jes Sorensen . - -2001-10-16 Andreas Jaeger - - * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Fix - parentheses. Reported by David Byron , - close PR libc/2589. - -2001-10-15 Ulrich Drepper - - * po/ca.po: New file. Contributed by the translation team. - -2001-10-15 Ralf Baechle - - * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Make sysmips() prototype - a varargs prototype. Remove dependency from kernel header files. - - * sysdeps/unix/sysv/linux/mips/bits/termios.h: General cleanup, use - __USE_MISC / __USE_XOPEN not __USE_BSD where appropriate. - -2001-10-14 Ulrich Drepper - - * locale/programs/ld-collate.c (handle_ellipsis): Use %lX not %lx - to generate hexadecimal identifier. - Patch by Jungshik Shin . - -2001-10-09 Stephen L Moshier - - * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Fix algorithm. - -2001-10-14 Ulrich Drepper - - * sysdeps/ieee754/ldbl-128/e_powl.c: New file. - * sysdeps/ieee754/ldbl-128/s_cbrtl.c: New file. - Contributed by Stephen L Moshier . - - * sysdeps/ieee754/ldbl-128/e_j0l.c: Constify float variables. - * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise - * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise - * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise - * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise - - * timezone/africa: Update from tzdata2001d. - * timezone/asia: Likewise. + * timezone/asia: Update from tzdata2000h. * timezone/australasia: Likewise. * timezone/backward: Likewise. * timezone/europe: Likewise. - * timezone/leapseconds: Likewise. * timezone/northamerica: Likewise. * timezone/southamerica: Likewise. * timezone/zone.tab: Likewise. -2001-10-09 Martin Schwidefsky +2000-12-14 Jakub Jelinek - * sysdeps/s390/s390-32/sys/ucontext.h: Correct __psw_t typedef. - * sysdeps/s390/s390-64/sys/ucontext.h: Likewise. + * io/ftw.c (ftw_dir): If process_entry returned non-zero result + and dir.stream is NULL, only free dir.content. + * io/ftwtest.c (cb, main): Add --early-exit option to test it. + * io/ftwtest-sh: Test with --early-exit. -2001-10-12 Ulrich Drepper +2000-12-13 Jakub Jelinek - * elf/elf.h (PT_TLS): New definition. + * misc/efgcvt.c (FCVT_MAXDIG): Define. + (FCVT_BUFPTR): New variable. + (fcvt): If fcvt_r returns -1 on the static short buffer, + try to malloc a sufficiently large one and retry. + (free_mem): New function. + * misc/qefgcvt.c (FCVT_MAXDIG): Define. + * misc/tst-efgcvt.c (fcvt_tests): Add new test. -2001-10-10 Jeff Bailey +2000-12-15 Ulrich Drepper - * sysdeps/mach/hurd/Makefile: Add $(CFLAGS) for generation of - bits/errno.h + * misc/dirname.c (dirname): Fix search for second to last slash. -2001-10-07 Roland McGrath +2000-12-13 Andreas Jaeger - * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Never return ENOSYS. + * misc/tst-dirname.c (main): Fix typo in test to really use + the examples from Unix98. + Reported by Michael Kerrisk . -2001-10-10 Ulrich Drepper +2000-12-09 H.J. Lu - * elf/elf.h: Add more ELFOSABI_* constants. + * sysdeps/ia64/fpu/s_fabs.S: New file. + * sysdeps/ia64/fpu/s_fabsf.S: New file. + * sysdeps/ia64/fpu/s_fabsl.S: New file. -2001-10-04 Ben Collins +2000-12-15 Andreas Jaeger - * sysdeps/generic/inttypes.h: Fix typo (define, not defined) in - decleration of __need_wchar_t. + * stdio-common/scanf9.c (main): Reformat and change to avoid + warnings. -2001-10-03 Jakub Jelinek + * stdio-common/tstdiomisc.c: Make local functions static. + * stdio-common/tst-printf.c: Likewise. - * string/bits/string2.h (__strsep_g): Add prototype. - (__strsep): Use it. - * string/Versions (__strsep): Remove. - * sysdeps/generic/strsep.c (__strsep_g): Add alias to __strsep. + * elf/constload2.c: Add prototype declarations to shut up gcc. + * elf/dep1.c: Likewise. + * elf/dep2.c: Likewise. + * elf/dep3.c: Likewise. + * elf/dep4.c: Likewise. + * elf/ltglobmod2.c: Likewise. -2001-10-07 Ulrich Drepper + * libio/fmemopen.c: Make local functions static. - * manua/llio.texi: Clarify file references added by mmap. - Patch by Marcus Brinkmann . + * elf/Makefile (distribute): Added testobj.h. -2001-09-29 Jes Sorensen + * elf/testobj.h: New file. - * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext): - Add sc_loadrs and sc_rbs_bas to match current kernel. + * elf/testobj1.c: Include testobj.h and move prototype + declarations to testobj.h. + * elf/testobj2.c: Likewise. + * elf/testobj3.c: Likewise. + * elf/testobj4.c: Likewise. + * elf/testobj5.c: Likewise. + * elf/testobj6.c: Likewise. + * elf/testobj1_1.c: Likewise. + * elf/preloadtest.c: Likewise. -2001-09-27 Jakub Jelinek +2000-12-15 Ben Collins - * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update. + * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros. + Patch by Akim Demaille in Debian bug report. - * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Fix erfc(-inf). +2000-12-14 H.J. Lu -2001-09-27 Jakub Jelinek + * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent + field in a float is 8 bits, not 11 bits. - * elf/dl-open.c (dl_open_worker): If l_opencount of freshly loaded - object has been bumped because of relocation dependency, avoid - duplicates in l_scope. - (show_scope): Fix typos. - * elf/Makefile: Add rules to build and run reldep6. - * elf/reldep6.c: New file. - * elf/reldep6mod0.c: New file. - * elf/reldep6mod1.c: New file. - * elf/reldep6mod2.c: New file. - * elf/reldep6mod3.c: New file. - * elf/reldep6mod4.c: New file. +2000-12-13 Jakub Jelinek -2001-09-26 Jakub Jelinek + * math/test-misc.c (main): Adjust m for IEEE quad long double. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Call - sparc64_fixup_plt. - (sparc64_fixup_plt): Moved from elf_machine_fixup_plt. Optimize - near jumps and 0xfffff800XXXXXXXX target addresses, no thread safety - for non-lazy binding. Fix .plt[32768+] handling. - (elf_machine_plt_value): Don't add addend. - (elf_machine_rela): Call sparc64_fixup_plt instead of - elf_machine_fixup_plt. - (elf_machine_runtime_setup, TRAMPOLINE_TEMPLATE): Optimize for - dynamic linker at 0xfffff800XXXXXXXX. +2000-12-13 Andreas Jaeger - * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update. + * manual/message.texi (Using gettextized software): Fix typo. -2001-09-28 Ulrich Drepper + * manual/charset.texi (Converting a Character): Fix mbstouwcs + program to compile. + Patch by Martin Buchholz . - * elf/elf.h: Define SHF_GROUP and SHF_TLS. + * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo. + Reported by Michael Kerrisk . -2001-09-25 Jakub Jelinek +2000-12-11 Andreas Jaeger - * sysdeps/unix/bsd/bsd4.4/bits/socket.h (struct cmsghdr): Don't - declare __cmsg_data field if its size would be bigger than 0. - (CMSG_DATA): Adjust accordingly. - * sysdeps/unix/sysv/aix/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise. + * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare + kernel_sigset_t and use it. + Patch by Hiroyuki Machida . -2001-09-25 Ulrich Drepper +2000-12-10 Richard Henderson - * iconvdata/TESTS: Add entries for IBM1160 and IBM1161. - * iconvdata/testdata/IBM1160: New file. - * iconvdata/testdata/IBM1160..UTF8: New file. - * iconvdata/testdata/IBM1161: New file. - * iconvdata/testdata/IBM1161..UTF8: New file. - Patch by Masahide Washizawa . + * sysdeps/alpha/alphaev67/fpu/Implies: New file. + * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file. + * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file. -2001-09-24 Ulrich Drepper +2000-12-10 Jakub Jelinek - * sysdeps/unix/bsd/ulimit.c (ulimit): Handle overflow in - UL_SETFSIZE computations better. + * sysdeps/alpha/htonl.S: Fix a typo. - * rt/Makefile: Remove use of filter for librt again. +2000-12-10 Jakub Jelinek - * sysdeps/unix/sysv/linux/ulimit.c (__ulimit): Handle overflow in - UL_SETFSIZE computations better. + * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10. - * string/Versions: Export __strsep for GLIBC_2.2.5. - * string/bits/string2.h: Define all __STRING_INLINE functions if - _FORCE_INLINES is defined. - Use int instead of char of parameter types. - (__strsep): Don't use __strsep_g. Don't define it. - (__strsep_1c, __strsep_2c, __strsep_3c): Optimize. - * sysdeps/i386/i486/string.h (__strcpy_a_small): Renamed from - __strcpy_small. - (__stpcpy_a_small): Renamed from __stpcpy_small. - (__strcspn_c1): Don't define if _FORCE_INLINES. - (__strspn_c1): Likewise. +2000-12-10 Andreas Jaeger -2001-09-22 Ben Collins + * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed + cast as suggested by Jakub Jelinek and Ulrich + Drepper . - * sysdeps/sparc/bits/sigaction.h: Define SA_RESTART and friends when - _UNIX98_SOURCE is defined too. Matches generic/bits/sigaction.h. - * sysdeps/ia64/bits/sigaction.h: Likewise. - * sysdeps/s390/s390-64/bits/sigaction.h: Likewise. +2000-12-09 Andreas Jaeger -2001-09-24 Andrew Haley + * sysdeps/unix/sysv/linux/mips/sigaction.c: New file. - * sysdeps/unix/sysv/linux/sh/Makefile (sysdep_headers): Add sys/io.h. + * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the + generic version. + Patches by Hiroyuki Machida . -2001-09-24 Jakub Jelinek + * locale/programs/ld-collate.c (handle_ellipsis): Fix format + string. - * elf/dl-open.c (dl_open_worker): Update l_scope_max. + * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix + format string. -2001-09-24 Ulrich Drepper + * nscd/hstcache.c (addhstbyname): Add cast to avoid warning. + * nscd/connections.c (handle_request): Likewise. + * nscd/pwdcache.c (addpwbyname): Likewise. + * nscd/grpcache.c (addgrbyname): Likewise. - * wcsmbs/wchar.h: Add __attribute_pure__ to mbsinit prototype. + * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument. -2001-09-20 H.J. Lu +2000-12-09 Ulrich Drepper - * include/dlfcn.h (__RTLD_SPROF): New definiton. - * elf/dl-open.c (dl_open_worker): Return immediately after loading - for __RTLD_SPROF. - * elf/sprof.c (main): Default to the filename if soname doesn't exist. - (load_shobj): Call dlopen with `RTLD_LAZY | __RTLD_SPROF'. + * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy. -2001-09-20 H.J. Lu + * Makeconfig (default_cflags): Make -O2 the default for stable + releases. - * elf/dl-profile.c (_dl_mcount): Use old *narcsp value for newarc, - don't add 1. +2000-12-08 H.J. Lu -2001-09-22 Ulrich Drepper + * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ... + * sysdeps/ia64/fpu/s_isinf.S: This. + Add a .pred.rel.mutex note to avoid false report. - * nss/getent.c: Accept -s parameter to overwrite rules in - nsswitch.conf. Patch by Nalin Dahyabhai . + * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ... + * sysdeps/ia64/fpu/s_isnan.S: This. - * nss/nss_files/files-network.c (LINE_PARSER): Pad addr string - with as many ".0" as necessary to form a complete address - inet_network understands. + * sysdeps/ia64/fpu/s_fpclassify.S: New file. + * sysdeps/ia64/fpu/s_fpclassifyf.S: New file. + * sysdeps/ia64/fpu/s_fpclassifyl.S: New file. + * sysdeps/ia64/fpu/s_isinff.S: New file. + * sysdeps/ia64/fpu/s_isinfl.S: New file. + * sysdeps/ia64/fpu/s_isnanf.S: New file. + * sysdeps/ia64/fpu/s_isnanl.S: New file. + * sysdeps/ia64/fpu/s_finite.S: New file. + * sysdeps/ia64/fpu/s_finitef.S: New file. + * sysdeps/ia64/fpu/s_finitel.S: New file. + * sysdeps/ia64/fpu/s_signbit.S: New file. + * sysdeps/ia64/fpu/s_signbitf.S: New file. + * sysdeps/ia64/fpu/s_signbitl.S: New file. + * sysdeps/ia64/fpu/s_copysign.S: New file. + * sysdeps/ia64/fpu/s_copysignf.S: New file. + * sysdeps/ia64/fpu/s_copysignl.S: New file. - * nss/getent.c: Various cleanups. Use simpler and fewer function - calls. +2000-12-08 Ulrich Drepper -2001-09-20 Martin Schwidefsky + * math/libm-test.inc (main): Fix typos in messages. - * sysdeps/s390/s390-32/bits/setjmp.h: Correct pointer comparison in - _JMPBUF_UNWINDS. - * sysdeps/s390/s390-64/bits/setjmp.h: Likewise. + * string/stratcliff.c: Add test for rawmemchr. -2001-09-22 Ulrich Drepper +2000-12-08 Jakub Jelinek - * iconvdata/Makefile: Add rules to build and distribute IBM1160 and - IBM1161. - * iconvdata/gconv-modules: Add entries for IBM1160 and IBM1161. - * iconvdata/ibm1160.c: New file. - * iconvdata/ibm1160.h: New file. - * iconvdata/ibm1161.c: New file. - * iconvdata/ibm1161.h: New file. - Patch by Masahide Washizawa . + * elf/dl-open.c (_dl_open): If objname points right after errstring, + allocate it together with errstring using alloca. + * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname + to "", because it might point to local stack. -2001-09-19 Jakub Jelinek +2000-12-05 H.J. Lu - * sysdeps/alpha/dl-machine.h (elf_machine_load_address): Compute the - difference between base address and first PT_LOAD's virtual address, - not the base address. + * nss/Makefile (routines): Add getnssent and getnssent_r. + * nss/nsswitch.h (__nss_setent): New internal NSS function. + (__nss_endent): Likewise. + (__nss_getent_r): Likewise. + (__nss_getent): Likewise. + * nss/getnssent_r.c: New file. + * nss/getnssent.c: New file. + * nss/getXXent.c (H_ERRNO_VAR): Updated. + (GETFUNC_NAME): Updated to call __nss_getent (). + * nss/getXXent_r.c (H_ERRNO_VAR_P): New. + (STAYOPEN_TMPVAR): Updated. + (STAYOPEN_VAR): Updated. + (SETFUNC_NAME): Updated to call __nss_setent (). + (ENDFUNC_NAME): Updated to call __nss_endent (). + (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r (). -2001-09-11 Tom Rix +2000-12-08 Andreas Jaeger - * sysdeps/unix/sysv/aix/init-first.c (init): Use USE_NONONPTION_FLAG - ifdef for __getopt_clean_environment. - * sysdeps/unix/sysv/aix/libc-start.c: Add real implementation. - -2001-09-22 Andreas Jaeger - - * elf/reldep4.c (main): Add proper prototype to fix warning. - - * elf/reldep5.c (main): Remove unused variable. - - * math/math_private.h: Add prototypes. - -2001-09-21 Andreas Jaeger - - * sysdeps/unix/sysv/linux/x86_64/Dist: New file. - * sysdeps/x86_64/Dist: New file. - * sysdeps/x86_64/soft-fp/Dist: New file. - - * sysdeps/gnu/Dist: Remove eval.c. - -2001-09-20 Ulrich Drepper - - * malloc/memusage.c (realloc): Don't count already allocated - memory in the sums. - (me): Always use dlsym() to find the real implementations. - - * malloc/memusage.sh: Make -n option actually do something. - -2001-09-20 Andreas Jaeger - - * elf/elf.h (R_390_NUM): Correct value. - - * Versions.def: Add missing versions 2.2.3 for libthread_db and - libpthread. - - * sysdeps/unix/sysv/linux/configure.in: Add minimal kernel version - for x86-64, install x86-64 into */lib64. - - * shlib-versions: Add x86-64. - - * elf/elf.h: Add x86-64 relocations. - -2001-09-19 Ulrich Drepper - - * po/fr.po: Update from translation team. - -2001-09-19 Andreas Jaeger - - * sysdeps/unix/sysv/linux/x86_64/Makefile: New file. - * sysdeps/unix/sysv/linux/x86_64/Versions: New file. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: New file. - * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: New file. - * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: New file. - * sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: New file. - * sysdeps/unix/sysv/linux/x86_64/bits/time.h: New file. - * sysdeps/unix/sysv/linux/x86_64/bits/types.h: New file. - * sysdeps/unix/sysv/linux/x86_64/brk.c: New file. - * sysdeps/unix/sysv/linux/x86_64/clone.S: New file. - * sysdeps/unix/sysv/linux/x86_64/fstatfs64.c: New file. - * sysdeps/unix/sysv/linux/x86_64/ftruncate64.c: New file. - * sysdeps/unix/sysv/linux/x86_64/fxstat.c: New file. - * sysdeps/unix/sysv/linux/x86_64/fxstat64.c: New file. - * sysdeps/unix/sysv/linux/x86_64/getdents.c: New file. - * sysdeps/unix/sysv/linux/x86_64/getdents64.c: New file. - * sysdeps/unix/sysv/linux/x86_64/getrlimit64.c: New file. - * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file. - * sysdeps/unix/sysv/linux/x86_64/glob64.c: New file. - * sysdeps/unix/sysv/linux/x86_64/lxstat.c: New file. - * sysdeps/unix/sysv/linux/x86_64/lxstat64.c: New file. - * sysdeps/unix/sysv/linux/x86_64/mmap64.c: New file. - * sysdeps/unix/sysv/linux/x86_64/pread64.c: New file. - * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: New file. - * sysdeps/unix/sysv/linux/x86_64/pwrite64.c: New file. - * sysdeps/unix/sysv/linux/x86_64/readdir.c: New file. - * sysdeps/unix/sysv/linux/x86_64/readdir64.c: New file. - * sysdeps/unix/sysv/linux/x86_64/readdir64_r.c: New file. - * sysdeps/unix/sysv/linux/x86_64/readdir_r.c: New file. - * sysdeps/unix/sysv/linux/x86_64/recv.c: New file. - * sysdeps/unix/sysv/linux/x86_64/register-dump.h: New file. - * sysdeps/unix/sysv/linux/x86_64/send.c: New file. - * sysdeps/unix/sysv/linux/x86_64/setrlimit64.c: New file. - * sysdeps/unix/sysv/linux/x86_64/sigaction.c: New file. - * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: New file. - * sysdeps/unix/sysv/linux/x86_64/sigpending.c: New file. - * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: New file. - * sysdeps/unix/sysv/linux/x86_64/sigsuspend.c: New file. - * sysdeps/unix/sysv/linux/x86_64/statfs64.c: New file. - * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: New file. - * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: New file. - * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: New file. - * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: New file. - * sysdeps/unix/sysv/linux/x86_64/sys/user.h: New file. - * sysdeps/unix/sysv/linux/x86_64/syscall.S: New file. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list: New file. - * sysdeps/unix/sysv/linux/x86_64/sysdep.S: New file. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h: New file. - * sysdeps/unix/sysv/linux/x86_64/time.c: New file. - * sysdeps/unix/sysv/linux/x86_64/truncate64.c: New file. - * sysdeps/unix/sysv/linux/x86_64/umount.c: New file. - * sysdeps/unix/sysv/linux/x86_64/vfork.S: New file. - * sysdeps/unix/sysv/linux/x86_64/xstat.c: New file. - * sysdeps/unix/sysv/linux/x86_64/xstat64.c: New file. - * sysdeps/unix/x86_64/sysdep.S: New file. - * sysdeps/unix/x86_64/sysdep.h: New file. - * sysdeps/x86_64/Implies: New file. - * sysdeps/x86_64/Makefile: New file. - * sysdeps/x86_64/Versions: New file. - * sysdeps/x86_64/__longjmp.S: New file. - * sysdeps/x86_64/abort-instr.h: New file. - * sysdeps/x86_64/atomicity.h: New file. - * sysdeps/x86_64/bits/endian.h: New file. - * sysdeps/x86_64/bits/setjmp.h: New file. - * sysdeps/x86_64/bits/string.h: New file. - * sysdeps/x86_64/bp-asm.h: New file. - * sysdeps/x86_64/bsd-_setjmp.S: New file. - * sysdeps/x86_64/bsd-setjmp.S: New file. - * sysdeps/x86_64/dl-machine.h: New file. - * sysdeps/x86_64/elf/initfini.c: New file. - * sysdeps/x86_64/elf/start.S: New file. - * sysdeps/x86_64/ffs.c: New file. - * sysdeps/x86_64/ffsll.c: New file. - * sysdeps/x86_64/fpu/bits/fenv.h: New file. - * sysdeps/x86_64/fpu/bits/mathdef.h: New file. - * sysdeps/x86_64/fpu/e_acosl.c: New file. - * sysdeps/x86_64/fpu/e_atan2l.c: New file. - * sysdeps/x86_64/fpu/e_exp2l.S: New file. - * sysdeps/x86_64/fpu/e_expl.c: New file. - * sysdeps/x86_64/fpu/e_fmodl.S: New file. - * sysdeps/x86_64/fpu/e_log10l.S: New file. - * sysdeps/x86_64/fpu/e_log2l.S: New file. - * sysdeps/x86_64/fpu/e_logl.S: New file. - * sysdeps/x86_64/fpu/e_powl.S: New file. - * sysdeps/x86_64/fpu/e_rem_pio2l.c: New file. - * sysdeps/x86_64/fpu/e_scalbl.S: New file. - * sysdeps/x86_64/fpu/e_sqrtl.c: New file. - * sysdeps/x86_64/fpu/fclrexcpt.c: New file. - * sysdeps/x86_64/fpu/fedisblxcpt.c: New file. - * sysdeps/x86_64/fpu/feenablxcpt.c: New file. - * sysdeps/x86_64/fpu/fegetenv.c: New file. - * sysdeps/x86_64/fpu/fegetexcept.c: New file. - * sysdeps/x86_64/fpu/fegetround.c: New file. - * sysdeps/x86_64/fpu/feholdexcpt.c: New file. - * sysdeps/x86_64/fpu/fesetenv.c: New file. - * sysdeps/x86_64/fpu/fesetround.c: New file. - * sysdeps/x86_64/fpu/fgetexcptflg.c: New file. - * sysdeps/x86_64/fpu/fraiseexcpt.c: New file. - * sysdeps/x86_64/fpu/fsetexcptflg.c: New file. - * sysdeps/x86_64/fpu/ftestexcept.c: New file. - * sysdeps/x86_64/fpu/libm-test-ulps: New file. - * sysdeps/x86_64/fpu/math_ldbl.h: New file. - * sysdeps/x86_64/fpu/printf_fphex.c: New file. - * sysdeps/x86_64/fpu/s_atanl.c: New file. - * sysdeps/x86_64/fpu/s_cosl.S: New file. - * sysdeps/x86_64/fpu/s_expm1l.S: New file. - * sysdeps/x86_64/fpu/s_fpclassifyl.c: New file. - * sysdeps/x86_64/fpu/s_isinfl.c: New file. - * sysdeps/x86_64/fpu/s_isnanl.c: New file. - * sysdeps/x86_64/fpu/s_log1pl.S: New file. - * sysdeps/x86_64/fpu/s_logbl.c: New file. - * sysdeps/x86_64/fpu/s_nextafterl.c: New file. - * sysdeps/x86_64/fpu/s_nexttoward.c: New file. - * sysdeps/x86_64/fpu/s_nexttowardf.c: New file. - * sysdeps/x86_64/fpu/s_rintl.c: New file. - * sysdeps/x86_64/fpu/s_significandl.c: New file. - * sysdeps/x86_64/fpu/s_sincosl.S: New file. - * sysdeps/x86_64/fpu/s_sinl.S: New file. - * sysdeps/x86_64/fpu/s_tanl.S: New file. - * sysdeps/x86_64/gmp-mparam.h: New file. - * sysdeps/x86_64/hp-timing.c: New file. - * sysdeps/x86_64/hp-timing.h: New file. - * sysdeps/x86_64/htonl.S: New file. - * sysdeps/x86_64/memusage.h: New file. - * sysdeps/x86_64/setjmp.S: New file. - * sysdeps/x86_64/soft-fp/sfp-machine.h: New file. - * sysdeps/x86_64/stackinfo.h: New file. - * sysdeps/x86_64/sysdep.h: New file. - * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: New file. - - * sysdeps/ieee754/ldbl-128/s_erfl.c: New file, contributed Stephen - L Moshier. - -2001-09-18 Ulrich Drepper - - * malloc/malloc.c (ptmalloc_init): Handle _environ==NULL. - Reported by B. D. Elliott [PR libc/2541]. - -2001-09-18 Andreas Schwab - - * elf/dl-load.c (_dl_map_object_from_fd): Update handling of scope - list, now that l_scope is a pointer. - - * elf/dl-open.c (dl_open_worker): Fix thinko when enlarging the - scope list. - -2001-09-18 kaz Kojima - - * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix reverse condition. - (elf_machine_rela_relative): Add a missing declaration. - -2001-09-18 Jakub Jelinek - - * sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed: New file. - * sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed: New file. - * sysdeps/unix/sysv/linux/configure.in: Add ia64 and s390 - ldd-rewrite scripts. - -2001-09-18 Ulrich Drepper - - * elf/ldd.bash.in: Update copyright message. + * nscd/dbg_log.h (dbg_log): Correct attribute. -2001-09-17 H.J. Lu +2000-12-08 Jakub Jelinek - * hurd/hurdmalloc.c (bcopy): Removed. - (realloc): Replace bcopy with memcpy. - * hurd/path-lookup.c (file_name_path_scan): Likewise. - * resolv/gethnamaddr.c (map_v4v6_address): Likewise. - * sunrpc/rpcinfo.c (pmapdump): Likewise. + * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at + cp + len. Compute where from dirname. + Reported by . - * resolv/gethnamaddr.c (getanswer): Replace bcopy with memmove. - (gethostbyaddr): Likewise. - * sunrpc/rpcinfo.c (get_inet_address): Likewise. +2000-12-08 Richard Henderson -2001-09-18 Ulrich Drepper + * sysdeps/alpha/_mcount.S: Fix typo. + * sysdeps/alpha/strncpy.S: Likewise. - * sysdeps/gnu/eval.c: Removed. + * sysdeps/alpha/alphaev6/Implies: New file. + * sysdeps/alpha/alphaev67/Implies: New file. + * sysdeps/alpha/alphaev67/ffs.S: New file. + * sysdeps/alpha/alphaev67/ffsll.S: New file. + * sysdeps/alpha/alphaev67/rawmemchr.S: New file. + * sysdeps/alpha/alphaev67/stpcpy.S: New file. + * sysdeps/alpha/alphaev67/stpncpy.S: New file. + * sysdeps/alpha/rawmemchr.S: New file. + * sysdeps/alpha/strcat.S: Tail call to __stxcpy. + * sysdeps/alpha/strcpy.S: Likewise. -2001-09-18 Andreas Jaeger + From GMP 3.1.1: + * sysdeps/alpha/alphaev6/addmul_1.s: New file. - * sysdeps/i386/fpu/s_logbl.S: Move to ... - * sysdeps/i386/fpu/s_logbl.c: ...here, use inline assembler. + From rick.gorton@alpha-processor.com: + * sysdeps/alpha/alphaev6/memchr.S: New file. + * sysdeps/alpha/alphaev6/memcpy.S: New file. + * sysdeps/alpha/alphaev6/memset.S: New file. + * sysdeps/alpha/alphaev6/stxcpy.S: New file. + * sysdeps/alpha/alphaev6/stxncpy.S: New file. + * sysdeps/alpha/alphaev67/strcat.S: New file. + * sysdeps/alpha/alphaev67/strchr.S: New file. + * sysdeps/alpha/alphaev67/strlen.S: New file. + * sysdeps/alpha/alphaev67/strncat.S: New file. + * sysdeps/alpha/htonl.S: Use a shorter sequence. - * sysdeps/i386/fpu/s_rintl.S: Move to ... - * sysdeps/i386/fpu/s_rintl.c: ...here, use inline assembler. +2000-12-08 Jakub Jelinek - * sysdeps/i386/fpu/s_significandl.S: Move to ... - * sysdeps/i386/fpu/s_significandl.c: ...here, use inline assembler. + * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support. + Reported by . -2001-09-16 Ulrich Drepper +2000-12-07 Jes Sorensen - * string/strcoll.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get - nrules value. + * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable. + Pointed out by Hans Boehm. -2001-09-14 H.J. Lu +2000-12-07 H.J. Lu - * sysdeps/mips/fpu/libm-test-ulps: Updated. + * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing. -2001-09-14 Ulrich Drepper +2000-12-07 Andreas Jaeger - * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix a typo. - Patch by Florian La Roche . + * misc/error.c: Add format attributes for __error and __error_at_line. - * string/bits/string2.h (__strtok_r_1c): Optimize a bit. + * nscd/dbg_log.h: Add format attribute. - * sysdeps/unix/sysv/linux/net/ethernet.h: Correct references to - ETHER_CRC_LEN. +2000-12-08 Ulrich Drepper -2001-09-14 Andreas Schwab + * misc/sys/syslog.h: Add format attributes to syslog and vsyslog. + Patch by Joseph S. Myers . - * posix/execl.c: Fix last argument of memcpy. Reported by Brian - Sumner . - * posix/execlp.c: Likewise. +2000-12-07 Dan Pop -2001-09-13 Jakub Jelinek + * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence. - * elf/dl-deps.c (_dl_map_object_deps): Fix filter handling if filter - is already found earlier in the search scope. +2000-12-06 Ulrich Drepper -2001-09-12 Jakub Jelinek + * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc] + (sysdep_routines): Add uitrunc. + * sysdeps/unix/sysv/aix/uitrunc.c: New file. + Patches by Michael Keezer . - * rt/Makefile (LDFLAGS-rt.so): Use shared thread library as librt's - filter. +2000-12-06 Roland McGrath -2001-09-13 Ulrich Drepper + * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in + argument data, since it will be used to copy out too (for INOUT). + Reported by Marcus Brinkmann . - * sysdeps/powerpc/fpu/libm-test-ulps: Adjust expected errors for j0. + * sysdeps/mach/hurd/ioctl.c: Include . + (__ioctl): Use uintptr_t instead of unsigned long int. -2001-09-12 Ulrich Drepper +2000-12-06 Jim Wilson - * config.h.in: Enforce optimization to be used. - * Makeconfig (preprocess-versions): Define ASSEMBLER. - * stdlib/Makefile (isomac-CFLAGS): Define to -O. - * posix/Makefile (annexc-CFLAGS): Define to -O. - * sysdeps/unix/make-syscalls.sh: Define __OPTIMIZE__ in use of asm_CPP. + * stdlib/l64a.c (l64a): Truncate M to 32-bit value. -2001-09-11 Ulrich Drepper +2000-12-06 Ulrich Drepper - * nscd/nscd_gethst_r.c: Don't expect IPv6 addresses for IPv4 lookup. - Patch by Stephan Kulow. + * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in + x.5 rounding correctly. -2001-09-08 Ben Collins +2000-12-06 Mark Kettenis - * sysdeps/arm/dl-machine.h (elf_machine_rel): Fix thinko in - usage of RESOLVE() (r_type, not reloc->r_type). + * stdio-common/perror.c (perror): Conditionalize code dealing with + wide-oriented streams on USE_IN_LIBIO. -2001-09-08 Ulrich Drepper +2000-12-06 Mark Kettenis - * elf/dl-object.c: Avoid allocating extra memory block for name. - * elf/dl-close.c (_dl_close): Don't free l_libname if it is not - allocated separately. - * elf/dl-load.c (_dl_map_object_from_fd): Likewise. + * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark + as internal_function. -2001-09-08 H.J. Lu +2000-12-05 Ulrich Drepper - * po/zh_TW.po: Fix a typo. + * sysdeps/alpha/elf/start.S (__data_start): Define. -2001-09-07 Tom Rix +2000-12-05 H.J. Lu - * sysdeps/unix/sysv/aix/sysv_termio.h: New file. + * nss/getXXent_r.c (setup): Change the return type to int. -2001-08-26 Tom Rix +2000-12-05 Ulrich Drepper - * sysdeps/unix/sysv/aix/Makefile (aix-syscalls.o): More linker - command line options. - * sysdeps/unix/sysv/aix/start.s: New file, rework of start.c - * sysdeps/unix/sysv/aix/start.c: Removed. - * sysdeps/unix/sysv/aix/start-libc.c: New file. - * sysdeps/unix/sysv/aix/init-first.c: New file. - * sysdeps/unix/sysv/aix/fcntl.c: Alias __libc_fcntl to __fcntl. + * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc] + (sysdep_routines): Add restf and savef. + * sysdeps/unix/sysv/aix/restf.c: New file. + * sysdeps/unix/sysv/aix/savef.c: New file. + Patches by Michael Keezer . -2001-09-08 Ben Collins + * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works + if O_DIRECTORY is not defined. + Patch by Michael Keezer . - * sysdeps/arm/dl-machine.h: Fix usage of new _dl_signal_error() format. - * sysdeps/generic/dl-machine.h: Likewise. - * sysdeps/hppa/dl-fptr.c: Likewise. - * sysdeps/ia64/dl-fptr.c: Likewise. - * sysdeps/mach/hurd/dl-sysdep.c: Likewise. - * sysdeps/mips/dl-machine.h: Likewise. - * sysdeps/mips/mips64/dl-machine.h: Likewise. - * sysdeps/powerpc/dl-machine.c: Likewise. + * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define. + Patch by Michael Keezer . -2001-09-07 Ben Collins + * locale/programs/linereader.c (get_toplvl_escape): Recognize more + than 4 bytes in escape sequence. + Patch by Shinya Hanataka . - * sysdeps/sparc/sparc32/dl-machine.h: Fix typo. +2000-12-05 Andreas Jaeger - * sysdeps/hppa/dl-lookupcfg.h: Forward declare struct link_map. + * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't + set mips2. -2001-09-08 Ulrich Drepper + * sysdeps/unix/sysv/linux/mips/sysdep.h: New file. - * elf/dl-lookup.c (add_dependency): Bump l_opencount of all - dependencies if necessary. + * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed. - * elf/dl-close.c (_dl_close): If object has no r_list (i.e., wasn't - loaded directly) determine length if l_initfini list by iterating - over its elements. Minor optimizations. - * elf/dl-deps.c (_dl_map_object_deps): Always add own map to l_initfini - for dependency objects. - If object was already loaded check whether any of the dependencies - is already on the relocation dependency list. If yes, remove the - latter. Minor optimizations. - * elf/dl-lookup.c (add_dependency): Add check for self reference of - maps here. Search l_initfini list only if the object was loaded - directly and not only as a dependency. - (_dl_lookup_symbol): Add relocation dependency also if object - is not in global scope. Remove test for self-reference here. - (_dl_lookup_versioned_symbol): Likewise. - * elf/dl-object (_dl_new_object): Cleanup. Initialize dont_free - element of first name record. - * elf/loadtest.c: Add some more test to recognize early if an object - wasn't unloaded. - * elf/Makefile: Add rules to build and run reldep5. - * elf/reldep5.c: New file. - * elf/reldepmod5.c: New file. - * elf/reldepmod6.c: New file. + * sysdeps/unix/mips/sysdep.h: Use SYS_ify. + Patches by Maciej W. Rozycki . - * elf/reldep2.c: Fix typo. + * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as + internal_function. + * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise. + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise. -2001-09-07 Ulrich Drepper + * sysdeps/generic/dl-cache.c: Remove declaration of + _dl_sysdep_read_whole_file. - * include/link.h (struct link_map): Add l_scope_mem and l_scope_max - elements. Change l_scope to be a pointer only. - * elf/dl-object.c (_dl_new_object): Initialize l_scope and l_scope_max. - * elf/dl-open.c (dl_open_worker): If dependency wasn't just opened - here add searchlist of newly open file to the dependency's scope. - * elf/dl-close.c (_dl_close): If dependency is used otherwise remove - only searchlist from its scope. Free own scope array if necessary. - * elf/Makefile (tests): Add dblload and dblunload now. + * elf/dl-load.c (_dl_map_object): Remove declaration of + _dl_load_cache_lookup. -2001-09-06 Andreas Jaeger + * sysdeps/generic/ldsodefs.h: Add declarations of + _dl_load_cache_lookup, _dl_unload_cache, + _dl_sysdep_read_whole_file, _dl_sysdep_start and + _dl_sysdep_start_cleanup. - * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: New file, contributed - Stephen L Moshier. + * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h + now. -2001-09-05 Ulrich Drepper + * elf/dl-misc.c: Include to get prototypes. + * sysdeps/generic/dl-environ.c: Likewise. - * elf/Makefile: Add rules to build new tests. Don't run them yet since - they both fail. - * elf/dblload.c: New file. - * elf/dblloadmod1.c: New file. - * elf/dblloadmod2.c: New file. - * elf/dblloadmod3.c: New file. - * elf/dblunload.c: New file. + * stdio-common/printf_fp.c: Include instead of + . + * math/atest-exp.c: Likewise. + * math/atest-exp2.c: Likewise. + * math/atest-sincos.c: Likewise. + * stdio-common/_itoa.c: Likewise. + * stdio-common/_itowa.c: Likewise. -2001-09-04 Richard Henderson + * include/gmp.h: New file with internal prototypes. - * elf/elf.h (R_ALPHA_OP_*, R_ALPHA_IMMED_*): Remove. - (R_ALPHA_GPREL16): Rename from R_ALPHA_IMMED_GP_16. + * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from + here to... + * include/setjmp.h: ...here. -2001-09-04 Ulrich Drepper + * locale/Makefile (routines): Remove codeset_name since it's not + needed anywhere. - Correct very misleading message for error in failed runtime relocation. - * elf/dl-error.c (_dl_signal_error): Take extra parameter to describe - place of the error. - (_dl_signal_cerror): Likewise. - * sysdeps/generic/ldsodefs.h: Adjust prototypes. - * elf/dl-close.c: Likewise. - * elf/dl-deps.c: Likewise. - * elf/dl-load.c: Likewise. - * elf/dl-lookup.c: Likewise. - * elf/dl-open.c: Likewise. - * elf/dl-reloc.c: Likewise. - * elf/dl-sym.c: Likewise. - * elf/dl-version.c: Likewise. - * sysdeps/generic/dl-sysdep.c: Likewise. + * locale/codeset_name.c: Removed. -2001-09-04 Jakub Jelinek +2000-12-05 Ulrich Drepper - * iconv/strtab.c (strtabinit): Initialize null Strent. - (newstring): Move len == 0 handling... - (strtabadd): ...here. - If len == 1, return null Strent. - When inserting a suffix of an existing string, check if - it is not equal to some suffix already recorded. - Copy left and right members over if adding longer string. + * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here. -2001-09-04 Jakub Jelinek +2000-12-05 Andreas Jaeger - * sunrpc/rpc_cout.c (upcase): Account for trailing '\0'. + * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch. - * sysdeps/unix/sysv/linux/alpha/gethostname.c: Include . - (__syscall_gethostname): Add prototype. +2000-12-05 Martin Schwidefsky -2001-09-04 Ulrich Drepper + * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't + available. - * elf/dl-object.c (_dl_new_object): Remove unnecessary if. +2000-12-05 Andreas Jaeger -2001-09-02 Ulrich Drepper + * nss/test-netdb.c: Mark local functions as static to avoid + warnings. + (main): Use return to silence warning. - * elf/rtld.c (dl_main): Increment l_opencount for main binary. + * stdlib/test-canon.c (check_path): Mark as static to avoid warning. -2001-08-27 Roland McGrath + * stdio-common/test-popen.c: Mark local functions as static to + avoid warnings. + (main): Use return to silence warning. - * sysdeps/unix/sysv/gethostname.c (__gethostname): When LEN is too - short, copy that much into NAME anyway before returning error. + * stdlib/testsort.c (compare): Mark as static to avoid warning. -2001-09-01 Richard Henderson + * assert/test-assert.c: Mark local functions as static to avoid + warnings. + * assert/test-assert-perr.c: Likewise. - * sysdeps/alpha/elf/Dist: Remove file. - * sysdeps/alpha/elf/Makefile: Remove file. - * sysdeps/alpha/elf/crtbegin.S: Remove file. - * sysdeps/alpha/elf/crtend.S: Remove file. - * sysdeps/alpha/elf/initfini.c: New file. + * math/libm-test.inc (main): Use return to silence warnings. -2001-09-01 Mark Kettenis +2000-12-04 Ulrich Drepper - * iconv/tst-iconv1.c: Include for wchar_t. - * iconv/tst-iconv3.c: Likewise. + * math/fenv.h: Fix typo in comment. -2001-09-01 Jakub Jelinek + * math/test-misc.c (main): Add a few more over and underflow tests + for scalb. - * sysdeps/generic/inttypes.h (__gwchar_t): Define to wchar_t for C++. + * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly. + * sysdeps/i386/fpu/e_scalbf.S: Likewise. + * sysdeps/i386/fpu/e_scalbl.S: Likewise. + * math/w_scalb.c: Don't use matherr except in SVID mode. + * math/w_scalbf.c: Likewise. + * math/w_scalbl.c: Likewise. + * math/test-misc.c: Add test for NaN and scalbl. + Reported by Fred J. Tydeman . -2001-09-01 Ulrich Drepper +2000-12-04 Ulrich Drepper - * iconv/gconv_cache.c: Rename variable cache to __gconv_cache and - export it. - * iconv/Versions (libc) [GLIBC_2.2.5]: Export __gconv_cache. - * iconv/iconv_prog.c (insert_cache): New function. - (print_known_names): If cache is used call insert_cache to use the - information from the cache [PR libc/2509]. + * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX. + * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME. + * include/libc-symbols.h (strong_alias): Define special version + for HAVE_ASM_GLOBAL_DOT_NAME. + (weak_alias): Likewise. + * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set. + * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login] + (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid, + getutxline, pututxline, and utmpxname. + * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir. + * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias. + * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias. + * sysdeps/unix/sysv/aix/pread.c: Define pread alias. + * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias. + * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT. + * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t. + * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments. + * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define. + Patches by Michael Keezer . -2001-08-31 Ulrich Drepper +2000-12-04 H.J. Lu - * time/strptime.c (strptime_internal): Recognize 'l' format and - handle it like 'I' for symmetry with strftime. + * configure.in: Change --with-oldest-abi=ABI to + --enable-oldest-abi=ABI. -2001-08-31 Richard Henderson +2000-12-02 Bruno Haible - * elf/dl-support.c (_dl_cpuclock_offset): Protect with NONAVAIL. - (HP_TIMING_AVAIL): Set to HP_SMALL_TIMING_AVAIL if present. - * elf/rtld.c (HP_TIMING_AVAIL): Likewise. - (print_statistics): Make scalar unsigned long long. - * sysdeps/alpha/hp-timing.h: New file. + * stdio-common/perror.c (perror): If stderr is wide-oriented, use + fwprintf instead of fprintf. -2001-08-31 Jakub Jelinek +2000-12-04 Ulrich Drepper - * stdio-common/perror.c (perror): Save errno early, pass it - down to perror_internal. - (perror_internal): Add errnum argument. + * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and + DECIMAL_DIG definitions. + * sysdeps/arm/fpu/bits/mathdef.h: Likewise + * sysdeps/generic/bits/mathdef.h: Likewise + * sysdeps/i386/fpu/bits/mathdef.h: Likewise + * sysdeps/ia64/fpu/bits/mathdef.h: Likewise + * sysdeps/m68k/fpu/bits/mathdef.h: Likewise + * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise + * sysdeps/sparc/fpu/bits/mathdef.h: Likewise + * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise -2001-08-31 Jakub Jelinek +2000-12-03 Ulrich Drepper - * sysdeps/alpha/dl-machine.h (elf_machine_rela): Remove unused code. - Don't add old memory content for R_ALPHA_REFQUAD. + * math/test-fenv.c (main): Use return instead of exit to avoid warning. -2001-08-30 Ulrich Drepper + * math/atest-exp.c: Mark local functions as static to avoid warnings. + * math/atest-exp2.c: Likewise. + * math/atest-sincos.c: Likewise. - * crypt/md5-crypt.c (__md5_crypt_r): Compute used and required - memory correctly. + * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value. + Reported by Fred J. Tydeman . - * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Use __open - instead of open, __close instead of close, __getpagesize instead - of getpagesize. + * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix + the handling of denormalized numbers. - * string/argz-stringify.c (__argz_stringify): Use __strnlen - instead of strnlen. - * include/string.h (strndupa): Redefine here to use __strnlen - instead of strnlen. - * string/strndup.c (__strndup): Use __strnlen not strnlen. + * math/test-misc.c (main): Test for fpclassify and pseudo denormal + numbers on x86. + * sysdeps/i386/fpu/fpclassifyl.c: New file. - * misc/syslog.c (vsyslog): Fix typo in last change (connect -> - connected). + * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the + pseudo denormal representation of LDBL_MIN. -2001-08-30 Jakub Jelinek + * iconvdata/SJIS.irreversible: Remove unnecessary entries. + * iconvdata/EUC-JP.irreversible: Remove unnecessary entries. - * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle - R_ALPHA_RELATIVE if RTLD_BOOTSTRAP and HAVE_Z_COMBRELOC. Only check - for rtld map if neither RTLD_BOOTSTRAP nor HAVE_Z_COMBRELOC is defined. - * sysdeps/i386/dl-machine.h (elf_machine_rel): Similarly. - * sysdeps/ia64/dl-machine.h (elf_machine_rel): Similarly. - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rel): Similarly. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rel): Similarly. + * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde. + * iconvdata/jis0208.c: Likewise. + * iconvdata/jis0212.c: Likewise. + Patch by Shinya Hanataka . -2001-08-30 Ulrich Drepper + * math/test-misc.c (main): More tests for frexp and some for + fpclassify and isnormal. - * sysdeps/alpha/fpu/libm-test-ulps: Adjust j0 ULPs. + * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct + test for subnormal. + Reported by Fred J. Tydeman . -2001-08-30 Andreas Jaeger + * math/test-misc.c (main): Add tests for frexp. + Reported by Fred J. Tydeman . + * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation. - * sysdeps/ieee754/ldbl-128/e_jnl.c: New file, - contributed Stephen L Moshier. +2000-12-02 H.J. Lu -2001-08-30 Jakub Jelinek + * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of + '\0' to wcschr. - * sunrpc/etc.rpc (sgi_fam): Add. +2000-12-02 Ulrich Drepper -2001-08-30 Ulrich Drepper + * sysdeps/i386/fpu/s_frexp.S: Add missing fwait. + * sysdeps/i386/fpu/s_frexpf.S: Likewise. + * sysdeps/i386/fpu/s_frexpl.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/gethostname.c: New file. + * sysdeps/generic/glob.c: Adjust types of several variables to + avoid warnings. -2001-08-29 Ulrich Drepper +2000-12-01 Ulrich Drepper - * nis/nis_findserv.c (__nis_findfastest): Don't fail if reply received - first is from a previous call. - Patch by Alexander Belopolsky for [PR libc/3670]. + * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment. -2001-08-29 Andreas Schwab +2000-11-30 Roland McGrath + + * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro. + (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to + allow multiple instances using the same function name in one file. + +2000-12-01 Ulrich Drepper + + * configure.in: Correct test for pserver CVS access. + +2000-11-28 H.J. Lu + + * libio/libio.h: Remove extra "#if ... #endif". + +2000-11-29 H.J. Lu + + * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case. + +2000-12-01 H.J. Lu + + * nss/getXXbyYY_r.c: Fix verioned symbol handling. + * nss/getXXent_r.c: Likewise. + * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. + +2000-11-30 H.J. Lu + + * scripts/abi-versions.awk (oldest_abi): New variable. + Handle the oldest ABI supported. + + * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi + for scripts/abi-versions.awk. + + * configure.in: Add --with-oldest-abi=ABI. + * configure: Rebuild. + + * config.make.in (oldest-abi): New. + + * config.h.in (GLIBC_OLDEST_ABI): New. + + * csu/version.c (banner): Support GLIBC_OLDEST_ABI. + +2000-11-30 Jakub Jelinek + + * locale/setlocale.c (setname): Free for all categories, not just + LC_ALL. + (setlocale): Store a copy of string passed by user, not the string + itself. + +2000-11-30 Roland McGrath + + * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit + rather than _hurd_fd_subinit, so it happens after it's safe to use + libc facilities like malloc. + +2000-11-28 Andreas Jaeger + + * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64 + declaration, adjust declaration of __syscall_getdents to match + kernel. + +2000-11-29 H.J. Lu + + * sysdeps/generic/readelflib.c (check_ptr): Undefine it first. + +2000-11-29 Andreas Jaeger + + * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable. + +2000-11-28 Ulrich Drepper + + * dlfcn/defaultmod1.c: Add prototypes to avoid warnings. + * dlfcn/defaultmod2.c: Likewise. + * dlfcn/dlopen.c: Likewise. + * dlfcn/dlopenold.c: Likewise. + * dlfcn/failtestmod.c: Likewise. + * dlfcn/glreflib1.c: Likewise. + * dlfcn/glreflib2.c: Likewise. + * dlfcn/eval.c: Likewise. Add attributes. + + * ctype/ctype-extn.c: Define isblank and not __isblank. + + * time/strftime.c: Add const where necessary to avoid warnings. + * time/strptime.c (strptime_internal): Add casts to avoid warnings. + +2000-11-22 Paul Eggert + + * time/strftime.c (my_strftime): Do not invoke mbrlen with a + size of (size_t) -1; it's not portable. + +2000-11-28 Ulrich Drepper + + * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the + crappy i486 FPU. + Reported by Michael Deutschmann . + +2000-11-14 Jes Sorensen + + * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal. + + * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as + _mcount is required by profiled binaries. + + * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to... + * sysdeps/ia64/machine-gmon.h: ...here. + +2000-11-28 Masahide Washizawa + + * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129. + (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h, + and ibm1129.h. + * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and + IBM1129. + * iconvdata/ibm922.c: New file. + * iconvdata/ibm922.h: New file. + * iconvdata/ibm1124.c: New file. + * iconvdata/ibm1124.h: New file. + * iconvdata/ibm1129.c: New file. + * iconvdata/ibm1129.h: New file. + * iconvdata/testdata/IBM922: New file. + * iconvdata/testdata/IBM922..UTF8: New file. + * iconvdata/testdata/IBM1124: New file. + * iconvdata/testdata/IBM1124..UTF8: New file. + * iconvdata/testdata/IBM1129: New file. + * iconvdata/testdata/IBM1129..UTF8: New file. + +2000-11-28 Ulrich Drepper + + * catgets/gencat.c (normalize_line): Take extra parameter with escape + character. Change callers. + (open_conversion): Determine mapping of 0x5c as wchar_t value. + * catgets/Makefile: Add rules to build and run test-gencat. + * catgets/sample.SJIS: New file. + * catgets/test-gencat.c: New file. + * catgets/test-gencat.sh: New file. + Report and test case by Shinya Hanataka . + +2000-11-28 Andreas Jaeger + + * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic + Linux version. + +2000-11-28 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch. + +2000-11-28 Andreas Jaeger + + * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use + __flexarr. + * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr): + Likewise. + +2000-11-27 Ulrich Drepper + + * misc/getusershell.c: Make strings in okshells array const. + * misc/regexp.c: Add const to cast to avoid warnings. + * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek. + * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for + __setresuid. + * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for + setresgid. + * misc/error.c: Add prototypes for __error and __error_at_line. + * misc/mntent_r.c (__getmntent_r): Add break at end of switch + statement to avoid warning. + * test-skeleton.c: Mark timeout_handler with noreturn. + * iconv/skeleton.c (get16u): Add const to cast. + (get32u): Likewise. + * iconvdata/gb18030.c: Likewise. + * iconvdata/iso-2022-cn-ext.c: Likewise. + * iconvdata/ansi_x3.110.c: Add cast to avoid warning. + * iconvdata/big5.c: Likewise. + * iconvdata/big5hkscs.c: Likewise. + * iconvdata/iso_6937.c: Likewise. + * iconvdata/iso_6937-2.c: Likewise. + * iconvdata/t.61.c: Likewise. + * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env. + * iconvdata/unicode.c: Likewise. + * iconvdata/utf-16.c: Likewise. + * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t. + * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning + with little code shuffling. + + * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid + the problems introduced when the user selects -O3. + + * iconv/gconv.h (__gconv_info): Define __data element using __flexarr. + * misc/sys/cdefs.h: Define __flexarr. + Proposed by Joseph S. Myers . + + * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings. + * iconv/skeleton.c: Likewise. + * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast. + * iconv/loop.c (get16): Add const to cast. + (get32): Likewise. + +2000-11-27 Andreas Jaeger + + * login/programs/pt_chown.c (do_pt_chown): Mark function as static + to avoid warning. + * login/programs/utmpdump.c (print_entry): Likewise. + +2000-11-25 Maciej W. Rozycki + + * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and + in a single asm as they may be used to access other stored + registers. + * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise. + +2000-11-27 Andreas Jaeger + + * rt/tst-aio.c: Mark test functions as static to avoid warnings. + * rt/tst-aio64.c: Likewise. + +2000-11-27 Ulrich Drepper + + * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH + for gencat run. + (libc.cat): Likewise. + * catgets/gencat.c: Implement handling of message catalogs encoded + with stateful character sets. + Based on a patch by Shinya Hanataka . + +2000-11-26 Ulrich Drepper + + * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning. + + * inet/getnameinfo.c: Adjust casts to avoid warnings. + * inet/rcmd.c: Likewise. + * inet/ruserpass.c: Likewise. + * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK, + IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL, + IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL, + IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL, + IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL, + IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast. + * include/aliases.h: Add prototypes for internal __getalias* functions. + * include/netdb.h: Add prototypes for __old_gethostent_r, + __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r, + __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r, + __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r, + __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r. + * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r, + __old_getrpcbynumber_r, __old_getrpcent_r. + + * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r, + __getrpcent_r prototypes. + +2000-11-25 Ulrich Drepper + + * string/strcoll.c: Add casts to avoid warnings. + * string/strnlen.c: Likewise. + * string/strxfrm.c: Likewise. + * sysdeps/generic/_strerror.c: Likewise. + * sysdeps/generic/memrchr.c: Likewise. + * sysdeps/generic/strcasestr.c: Likewise. + * sysdeps/generic/strstr.c: Likewise. + + * locale/weight.h (findidx): Add const to cast to avoid warning. + + * elf/loadfail.c: Little cosmetic changes to avoid warnings. + * elf/loadtest.c: Likewise. + * elf/multiload.c: Likewise. + * elf/next.c: Likewise. + * elf/nodelete.c: Likewise. + * elf/noload.c: Likewise. + * elf/order.c: Likewise. + * elf/origtest.c: Likewise. + * elf/preloadtest.c: Likewise. + * elf/restest1.c: Likewise. + + * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth + parameter of asm must be in %ecx. + + * string/tester.c: Mark test functions as static to avoid warnings. + + * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to + preserve value over different gconv-modules files. + +2000-11-24 Ulrich Drepper + + * locale/findlocale.c: Add casts to avoid warnings. + * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings. + * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast + to avoid warnings. + * misc/tsearch.c (const_node): New type. + (trecurse): Correct casts to avoid warnings. + (__twalk): Likewise. + * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and + LONG_BIT. + + * debug/backtrace-tst.c (compare): Add casts to avoid warnings. + + * test-skeleton.c: Mark local functions as static to avoid warnings. + +2000-11-23 H.J. Lu + + * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to + support the background job. + Fix a typo. + +2000-11-24 Ulrich Drepper + + * iconv/gconv_conf.c (insert_module): Replace old entry if new one + has same names but lower cost. + +2000-11-23 Jakub Jelinek + + * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs + which never occur during bootstrap. + * sysdeps/sparc/sparc64/dl-machine.h: Likewise. + +2000-11-23 Andreas Jaeger + + * nss/nss_files/files-hosts.c: Remove getipnodebyname. + + * nss/Versions: Remove _nss_files_getipnodebyname_r. + + * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch. + +2000-11-18 Martin Buchholz + + * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if + (called++) return;' + +2000-11-21 Alan Modra + + * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp. + + * csu/abi-note.S: Correct comment for operating system number. + +2000-11-22 Ulrich Drepper + + * Versions.def: Add GLIBC_2.2.1 for glibc. + +2000-11-22 Andreas Schwab + + * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root. + * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1. + +2000-11-22 Ulrich Drepper + + * rt/aio_suspend.c (aio_suspend): Convert timeout value to + absolute time for pthread_cond_timedwait call. + Reported by Lawrence Chen [libc/1930]. + + * rt/Makefile (tests): Add tst-aio6. + * rt/tst-aio6.c: New file. + +2000-11-23 Andreas Jaeger + + * sysdeps/s390/bits/string.h (strncat): Fix one more typo. + +2000-11-22 Andreas Jaeger + + * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks. + +2000-11-21 Martin Schwidefsky + + * sysdeps/s390/bits/string.h: Make strncat always add a \0. + +2000-11-21 Andreas Schwab + + * sysdeps/alpha/setjmp.S: Remove __setjmp entry point. + * sysdeps/arm/setjmp.S: Likewise. + * sysdeps/arm/fpu/setjmp.S: Likewise. + * sysdeps/i386/setjmp.S: Likewise. + * sysdeps/i386/elf/setjmp.S: Likewise. + * sysdeps/s390/setjmp.S: Likewise. + * sysdeps/s390/elf/setjmp.S: Likewise. + * sysdeps/sh/sh3/setjmp.S: Likewise. + * sysdeps/sh/sh4/setjmp.S: Likewise. + * sysdeps/sparc/sparc32/setjmp.S: Likewise. + * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed. + +2000-11-21 Andreas Jaeger + + * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete + NORETURN, fix parameter list. + + * string/bug-strncat1.c (main): Fix typo. + Patch by Bernhard Kaindl . + +2000-11-20 Ulrich Drepper + + * configure.in: Add --enable-all-warnings. + * config.make.in (all-warnings): New variable. + * Makeconfig (+gccwarn): Define with many more warnings if + all-warnings is yes. + +2000-11-20 Jakub Jelinek + + * iconvdata/bug-iconv2.c (main): Use %zd in format string. + * io/test-lfs.c (do_test): Cast statbuf.st_size to long long. + * malloc/tst-valloc.c (main): Cast valloc return value to long. + * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string. + * math/test-fpucw.c (main): Use %lx in format string, cast + control words to long. + * stdio-common/tst-fmemopen.c (main): Use %td in format strings. + * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so + large that it is unsigned warning. + + * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing + it to long on sparc64. + +2000-11-20 Andreas Jaeger + + * nscd/nscd.h (termination_handler): Add noreturn attribute. + (receiv_print_stats): Likewise. + + * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison. + +2000-11-20 Ulrich Drepper + + * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore. + + * csu/gmon-start.c: Always have prototype for __gmon_start. + * csu/version.c: Add prototypes for __libc_print_version and + __libc_main. + * iconv/gconv.c: Include gconv_int.h and gconv.h. + * iconv/gconv.h (struct __gconv_step): Remove const from __from_name + and __to_name. + * iconv/gconv_builtin.h: Add ASCII module definitions. + * iconv/gconv_conf.c (__gconv_path_elem): Remove const. + (add_module): Add cast to avoid warning. Rework construction of + strings for new module. + * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const. + (derivation_compare): Likewise. + * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep. + (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk. + * iconv/gconv_int.h (__gconv_path_elem): Remove const. + (struct gconv_alias): Remove const from fromname and toname. + * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes + for loop functions. + (internal_ucs4_loop): Use correct const-ness. + (ucs4_internal_loop): Likewise. + (internal_ucs4le_loop): Likewise. + (ucs4le_internal_loop_single): Likewise. + * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl, + to_idx, to_tbl, winbuf, winbufend const. Change casts in + assignments appropriately. + (struct known_trans): Remove const from fname. + (trans_compare): Make s1 and s2 const. + * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to + avoid warning. + * iconv/skeleton.c: Remove cast in calls of loop functions. + * iconvdata/gconv-modules: Remove US-ASCII definitions. + * iconvdata/iso646.c: Remove US_ASCII support. + * include/set-hooks.h (DEFINE_HOOK): Also generate prototype. + * include/unistd.h: Add __libc_check_standard_fds prototype. + * string/bits/string2.h (__mempcpy_args): Add const to casts. + * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and + _fini. + * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main. + * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts. + * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid + warning. + * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for + __libc_init_first and _dl_start. + * intl/dcigettext.c (transcmp): Make s1 and s2 const. + (DCIGETTEXT): Make domaindata variable const. + * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization + to avoid warning. + +2000-11-20 Hiroyuki Machida + + * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments. + + * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand + time_t to 'long int' not, 'unsigned int'. Use 'long int' for + __unused? members. + + * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same + value defined in /usr/include/asm-mips/fcntl.h. + +2000-11-18 Ulrich Drepper + + * stdio-common/Makefile (tests): Add test-vfprintf. + (test-vfprintf-ENV): New variable. + * stdio-common/test-vfprintf.c: New file. + + * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'. + + * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb. + (tst-mbrtowc-ENV): New variable. + (tst-wcrtomb-ENV): New variable. + * wcsmbs/tst-mbrtowc.c: New file. + * wcsmbs/tst-wcrtomb.c: New file. + +2000-11-16 Andreas Jaeger + + * manual/install.texi (Tools for Compilation): Update + documentation for GCC 2.95.2. + +2000-11-18 Ulrich Drepper + + * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN + if IPv4 and IPv6 requests timed out. + +2000-11-18 Akim Demaille + + * malloc/obstack.h: Formatting changes. + (obstack_grow, obstack_grow0): Don't cast WHERE at all: it + prevents type checking. + (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't + cast the value to (void *): assigning a `foo *' to a `void *' + variable is valid. + (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int. + +2000-11-17 Ulrich Drepper + + * scripts/config.guess: Update from upstream maintainer. + * scripts/config.sub: Likewise. + +2000-11-16 Ulrich Drepper + + * libio/freopen.c (freopen): Reset _mode after succesful reopening. + * libio/freopen64.c (freopen64): Likewise. + Patch by Shinya Hanataka . + + * libio/Makefile: Add rules to build and run test-freopen. + * libio/test-freopen.c: New file. + * libio/test-freopen.sh: New file. + +2000-11-15 H.J. Lu + + * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if + ELF_FUNCTION_PTR_IS_SPECIAL is not defined. + (DL_DT_FINI_ADDRESS): Likewise. + + * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the + return type to ElfW(Addr). + (_dl_function_address): New prototype. + (DL_FUNCTION_ADDRESS): Defined. + (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS. + (DL_DT_FINI_ADDRESS): Likewise. + + * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address. + + * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed. + (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS. + + * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ... + (_dl_function_address): This. + + * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the + function pointer for DT_FINI. + * elf/dl-close.c (_dl_close): Likewise. + + * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the + function pointer for DT_INIT. + +2000-11-16 Jakub Jelinek + + * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly + end of wexpbuf buffer. + +2000-11-16 Andreas Jaeger + + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate + definition of F_GETLK, F_SETLK, F_SETLKW. + +2000-11-16 Andreas Jaeger + + * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if + it's not defined. + +2000-11-15 Jakub Jelinek + + * dlfcn/default.c (main): Add test for dladdr of main returning + argv[0] in dli_fname field. + +2000-11-15 Jakub Jelinek + + * Makeconfig (run-program-prefix): Move test-static test into the + variable. + + * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv. + * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise, + schedule instructions. + * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise, + schedule instructions, fix a bug in copying auxiliary data. + +2000-11-15 Ulrich Drepper + + * manual/startup.texi (Program Arguments): Fix type of main's envp + parameter. + Reported by Raúl Núńez de Arenas Coronado . + + * iconvdata/gconv-modules: Add CP950 alias. + +2000-11-13 Jakub Jelinek + + * sysdeps/unix/sysv/linux/Makefile: Allow ports to override + syscall-list.h goal. + * sysdeps/unix/sysv/linux/sparc/Makefile: New file. + +2000-11-15 Ulrich Drepper + + * intl/Makefile: tst-gettext2.sh does not need a third parameter. + + * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify + output of program. + + * intl/tst-gettext2.c: Set C locale if setting other locale + failed. Use gettext() not _(). + + * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we + successfully loaded a new locale. + +2000-11-13 Andreas Jaeger + + * configure.in: Require gcc 2.95 or newer. + +2000-11-15 Ulrich Drepper + + * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS. + Patch by Arkadiusz Miskiewicz . + +2000-11-11 Jim Meyering + + * string/strndup.c (strndup): Cast return value to `char *'. + +2000-11-15 Jim Meyering + + * sysdeps/generic/memchr.c: Remove some useless parentheses. + [HAVE_STDLIB_H || defined _LIBC]: Include . + [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h. + [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op. + Also #undef __memchr. + Use `weak_alias' only if it's defined. + +2000-11-10 H.J. Lu + + * Makefile.in (install): Set LANGUAGE=C LC_ALL=C. + +2000-11-15 Andreas Jaeger + + * elf/chroot_canon.c: Include . + + * elf/cache.c (struct cache_entry): Use uint64_t for hwcap. + (print_entry): Likewise. + (add_to_cache): Likewise. + + * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change. + + * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap. + (path_hwcap): Likewise. + (search_dir): Likewise. + + * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform. + + * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry. + + * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h + (_dl_platform_string): New. + (_DL_HWCAP_PLATFORM): New. + (_dl_string_platform): New. + * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise. + + * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New. + (_dl_string_platform): New. + (_DL_HWCAP_PLATFORM): New. + (_dl_platform_string): New. + + * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform + recognition. + (_DL_HWCAP_COUNT): New. + (_dl_string_platform): New. + (_DL_HWCAP_PLATFORM): New. + (_dl_platform_string): New. + +2000-11-14 Ulrich Drepper + + * iconvdata/gconv-modules: Add CP936 as alias for GBK. + +2000-11-14 Andreas Jaeger + + * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap. + +2000-11-13 Roland McGrath + + * hurd/get-host.c (_hurd_get_host_config): Fix last change. + +2000-11-13 Marcus Brinkmann + + * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer + underrun and make sure the result is null terminated even if there + is no trailing newline. + +2000-11-13 Jakub Jelinek + + * sysdeps/alpha/fpu/libm-test-ulps: Update. + +2000-11-10 H.J. Lu * sysdeps/ia64/fpu/libm-test-ulps: Updated. -2001-08-25 Maciej W. Rozycki +2000-11-10 Andreas Jaeger - * config.make.in (INSTALL_SCRIPT): Define. - * Makeconfig (INSTALL_SCRIPT): Define. - * Makerules (do-install-script): New macro to install scripts using - INSTALL_SCRIPT. - (install-bin-script): New rule to install scripts with - do-install-script. - (install-bin-script-nosubdir): New rule. - (install-no-libc.a-nosubdir): Add install-bin-script-nosubdir. - (distinfo-vars): Add $(install-bin-script). - * Rules (others): Likewise. - * Makefile (glibcbug): Install with install-bin-script. - * debug/Makefile (xtrace): Likewise. - (catchsegv): Likewise. - * elf/Makefile (ldd): Likewise. - * malloc/Makefile (mtrace): Likewise. - * timezone/Makefile (tzselect): Likewise. + * elf/ldconfig.c (create_links): Fix alloca calculation. + Patch by Ben Collins . -2001-08-29 H.J. Lu +2000-11-09 Ulrich Drepper - * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Pass - ELF_RTYPE_CLASS_PLT, instead of R_MIPS_REL32, to - _dl_lookup_versioned_symbol () and _dl_lookup_symbol (). + * inet/getnameinfo.c (getnameinfo): Use correct destination + parameter for if_indextoname. + Patch by Hideaki YOSHIFUJI . -2001-08-29 Andreas Schwab +2000-11-09 H.J. Lu - * sysdeps/m68k/fpu/libm-test-ulps: Updated. + * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg, + xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block, + xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and + xdr_keystatus. -2001-08-28 H.J. Lu + * time/Versions (GLIBC_2.1): Move getitimer to... + * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here. - * Makeconfig (combreloc-LDFLAGS): New variable. - Add it to LDFLAGS.so, LDFLAGS-rtld, and +link. - * config.make.in (have-z-combreloc): New variable. - * configure.in: Substitute libc_cv_z_combreloc. +2000-11-03 Bruno Haible -2001-08-29 Ulrich Drepper + * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during + "make install", to work around a binary incompatibility between + glibc 2.1 and glibc 2.2 gconv modules. - * po/sv.po: Update from translation team. - * po/fr.po: Likewise. - * po/da.po: Likewise. +2000-11-09 Ulrich Drepper -2001-08-28 Maciej W. Rozycki + * intl/locale.alias: Add thai. + Patch by Chanop Silpa-Anan . - * Makerules: Fix a typo: MD% -> MD5. +2000-11-07 Akim Demaille -2001-08-28 Ulrich Drepper + * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second + argument `data' for consistency with the prototypes. + Qualify it `const'. + (obstack_copy, obstack_copy0): Rename the second argument as + `address' for consistency. Qualify it `const'. + * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow) + (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify + `const' their input argument (`data' or `address'). + Adjust the corresponding macros to include `const' in casts. - * sunrpc/rpc_hout.c (pargdef): Function must take pointer to object. - Patch by Patrick Duval . +2000-11-06 Hideaki YOSHIFUJI -2001-08-28 Andreas Jaeger + * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold + target family. - * manual/libc-texinfo.sh: Add entry about free manuals. +2000-11-06 Hideaki YOSHIFUJI - * manual/contrib.texi (Contributors): Fix cross reference. + * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw + socket creation. - * manual/libc.texinfo (Copying): Include freemanuals. +2000-11-06 Hideaki YOSHIFUJI - * manual/Makefile (appendices): Add freemanuals. + * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and + ai_protocol by internal table if service was not given. - * manual/freemanuals.texi: New file. - Patch by Brian Youmans <3diff@gnu.org>. +2000-11-06 Hideaki YOSHIFUJI - * manual/libm-err-tab.pl: Pretty print more platforms, print a - smaller table. + * sysdeps/posix/getaddrinfo.c: Don't raise an error even if + numerical port was specified with protocol without socktype. - * manual/math.texi (Errors in Math Functions): Fix grammar, start - table on separate page. - Patch by Brian Youmans <3diff@gnu.org>. +2000-11-06 Hideaki YOSHIFUJI -2001-08-27 Ulrich Drepper + * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok. - * misc/syslog.c (vsyslog): Try a bit harder to use syslogd. If - the connection went down after we first used it try to connect - again and resend the message before printing to the console. - Reported by Coserea Gh. Tudor . +2000-11-06 Hideaki YOSHIFUJI -2001-08-27 Jakub Jelinek + * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation. - * string/tst-strlen.c (main): Test strnlen (, -1) too. - * sysdeps/generic/strnlen.c (__strnlen): Fix for maxlens with top - bit set. +2000-11-06 Hideaki YOSHIFUJI -2001-08-27 Ulrich Drepper + * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in + sin6_scope_id field. - * iconv/strtab.c (searchstring): Use correct length for comparison. - (strtabadd): Account total size correct if new string has old string as - substring. +2000-11-06 Hideaki YOSHIFUJI -2001-08-27 Jakub Jelinek + * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support. - * elf/rtld.c (dl_main): Update call to _dl_lookup_symbol. +2000-11-06 Hideaki YOSHIFUJI -2001-08-27 Andreas Jaeger + * inet/getnameinfo.c: Repair NI_NOFQDN flag support. - * sysdeps/i386/fpu/libm-test-ulps (float): Add ulps for new tests. +2000-11-06 Hideaki YOSHIFUJI - * math/libm-test.inc (j0_test): Add extra tests. - * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Use |x|, - not x, in Hankel approximation. - Patches by Stephen L Moshier. + * inet/getnameinfo.c: Wake-up sin6_scope_id support in + getnameinfo(): check for whether sin6_socpe_id exist was wrong. -2001-08-26 Ulrich Drepper +2000-11-09 Martin Schwidefsky - * sysdeps/ia64/dl-lookupcfg.h: Add forward declaration for struct - link_map. + * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present. + * sysdeps/unix/sysv/linux/s390/mmap64.S: New file. - * configure.in: Fix test for .rela.dyn section. +2000-11-09 H.J. Lu - * elf/dl-runtime.c: Update calls to _dl_lookup_*. + * io/Versions (GLIBC_2.1.1): Remove lockf64. -2001-08-26 Jakub Jelinek - * elf/dl-reloc.c (RESOLVE_MAP, RESOLVE): Use elf_machine_type_class - instead of elf_machine_lookup_noexec_p and elf_machine_lookup_noplt_p. - Pass type_class to _dl_lookup_*. - * elf/dl-lookup.c (_dl_lookup_symbol): Take type_class parameter now. - Pass around just type_class instead of noexec, noplt pair. - (_dl_lookup_versioned_symbol): Likewise. - (_dl_lookup_symbol_skip): Pass around just type_class instead of - noexec, noplt pair. - (_dl_lookup_versioned_symbol_skip): Likewise. - (_dl_do_lookup, _dl_do_lookup_versioned): Likewise. - * elf/do-lookup.h (do_lookup): Likewise. - * include/link.h (struct link_map): Replace noexec and noplt fields - in l_lookup_cache with type_class field. - * sysdeps/generic/ldsodefs.h (ELF_RTYPE_CLASS_PLT, - ELF_RTYPE_CLASS_COPY): Define. - Adjust prototypes for _dl_lookup_symbol and - _dl_lookup_versioned_symbol. - * sysdeps/alpha/dl-machine.h (elf_machine_lookup_noplt_p, - elf_machine_lookup_noexec_p): Remove. - (elf_machine_type_class): Define. - * sysdeps/arm/dl-machine.h: Likewise. - * sysdeps/hppa/dl-machine.h: Likewise. - * sysdeps/cris/dl-machine.h: Likewise. - * sysdeps/i386/dl-machine.h: Likewise. - * sysdeps/ia64/dl-machine.h: Likewise. - * sysdeps/m68k/dl-machine.h: Likewise. - * sysdeps/mips/mips64/dl-machine.h: Likewise. - * sysdeps/mips/dl-machine.h: Likewise. - * sysdeps/powerpc/dl-machine.h: Likewise. - * sysdeps/sparc/sparc32/dl-machine.h: Likewise. - * sysdeps/sparc/sparc64/dl-machine.h: Likewise. - * sysdeps/sh/dl-machine.h: Likewise. - * sysdeps/s390/s390-32/dl-machine.h: Likewise. - * sysdeps/s390/s390-64/dl-machine.h: Likewise. - -2001-08-26 Ulrich Drepper - - * manual/message.texi (Advanced gettext functions): Change - description of plural forms for Slovak. - Reported by Marcel Telka . - - * manuaL/time.texi (Low-Level Time String Parsing): Fix description of - %z. Reported by C. Scott Ananian . - -2001-08-26 Jakub Jelinek - - * sysdeps/s390/s390-32/dl-machine.h (elf_machine_lazy_rel): Fix a - typo. Patch by Florian La Roche . - -2001-08-26 Ulrich Drepper - - * include/link.h (struct link_map): Add l_lookup_cache element. - * elf/dl-reloc.c (RESOLVE): Add symbol caching here. - (RESOLVE_MAP): Likewise. - (_dl_relocate_object): Remove cache initialization. - * elf/dl-lookup.c: Rip out cache handling code. - * sysdeps/generic/ldsodefs.h: Remove lookup_cache struct and variable - declarations. - - * elf/dl-lookup.c (_dl_lookup_symbol): Reorder some conditions and - remove some __builtin_expect. - (_dl_lookup_versioned_symbol): Likewise. - - * config.h.in: Add HAVE_Z_COMBRELOC. - * configure.in: Add test for -z combreloc. - - * sysdeps/i386/dl-machine.h (elf_machine_rel): Minor cleanups and - optimizations. Use HAVE_Z_COMBRELOC to avoid generaton of - R_386_RELATIVE handling for ld.so startup. Reduce RTLD_BOOTSTRAP - case to almost no code. - -2001-08-25 Ulrich Drepper - - * po/tr.po: Update from translation team. - -2001-08-24 Andreas Jaeger - - * iconv/Makefile (extra-objs): Add iconvconfig-modules so that - make clean works. - -2001-08-24 Ulrich Drepper - - * elf/rtld.c (print_statistics): Printf % after percent values. - * elf/dl-misc.c (_dl_debug_vdprintf): Implement %%. - - * elf/dl-lookup.c (_dl_lookup_symbol): If we use the cache we - don't have to compute the hash value and initialize current_value. - Move reference_name variable to where it is needed. - (_dl_lookup_versioned_symbol): Likewise. - -2001-08-24 Roland McGrath - - * string/tester.c (test_strerror): Don't use _sys_errlist/_sys_nerr. - Just test that strerror returns non-null for a few errno codes. - -2001-08-23 Roland McGrath - - * hurd/Versions (libc: GLIBC_2.2.5): New set; add _hurd_raise_signal, - _hurdsig_interrupt_timeout, _hurdsig_fault_preemptor. - - * sysdeps/posix/shm_unlink.c (shm_unlink): __unlink -> unlink. - - * mach/Versions (libc: GLIBC_2.2.5): New set; add __mach_msg_destroy, - __mach_reply_port. - -2001-08-24 Ulrich Drepper - - * nss/test-netdb.c (test_hosts): Don't segfault if gethostname - returns NULL. - - * elf/do-rel.h (elf_dynamic_do_rel): Fix problem with ld.so - startup. Explicitly remove lazy part for RTLD_BOOTSTRAP since gcc - doesn't do it. - * elf/rtld.c: Include . - * elf/dl-reloc.c: Likewise. - -2001-08-24 Maciej W. Rozycki - - * sysdeps/unix/sysv/linux/mips/configure.in: Define AC_SUBST to - empty to prevent junk from being generated. - * sysdeps/unix/sysv/linux/mips/configure: Regenerated. - -2001-08-24 Jakub Jelinek - - * elf/do-rel.h (elf_dynamic_do_rel): If l_addr is 0, skip relative - records. Rename endrel to relative, initialize it to r, and use it - in elf_machine_rel_relative calls. Point r after relative relocs. - -2001-08-24 Ulrich Drepper - - * sysdeps/i386/dl-machine.h (elf_machine_rel): Correct prediction - of R_386_NONE. - -2001-08-24 Jakub Jelinek - - * elf/do-rel.h (elf_machine_rel_relative): Define for rela if - necessary. Undefine newly defined macros at the end. - * sysdeps/hppa/dl-machine.h (elf_machine_rela_relative): - Rename from elf_machine_rel_relative. - * sysdeps/cris/dl-machine.h (elf_machine_rela_relative): Likewise. - * sysdeps/m68k/dl-machine.h (elf_machine_rela_relative): Likewise. - * sysdeps/powerpc/dl-machine.h (elf_machine_rela_relative): Likewise. - * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela_relative): - Likewise. - * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela_relative): - Likewise. - * sysdeps/ia64/dl-machine.h (elf_machine_rela_relative): Likewise. - Fix argument types. - * sysdeps/alpha/dl-machine.h (elf_machine_rela_relative): Likewise. - Fix argument types. - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela_relative): - Likewise. Fix argument types. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela_relative): - Likewise. Fix argument types. - * sysdeps/sh/dl-machine.h (elf_machine_rela_relative): Likewise. - Fix argument types. - * sysdeps/mips/dl-machine.h (elf_machine_rel_relative): Use - ElfW(Rel) in argument. - * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel_relative): New - function. - -2001-08-24 Alexandre Oliva - - * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix typo. - -2001-08-24 Andreas Jaeger - - * sysdeps/ieee754/ldbl-128/e_j1l.c: New file, contributed by - Stephen L Moshier . - -2001-08-24 Ulrich Drepper - - * elf/do-rel.h (elf_dynamic_do_rel): RELATIVE relocations comes - first if RELCOUNT is set. - - * elf/do-rel.h (elf_dynamic_do_rel): If not relocating lazily, don't - call elf_machine_rel for the last DT_RELCOUNT relocations but instead - elf_machine_rel_relative. - * sysdeps/alpha/dl-machine.h: Define elf_machine_rel_relative. - Minor optimizations. - * sysdeps/arm/dl-machine.h: Likewise. - * sysdeps/cris/dl-machine.h: Likewise. - * sysdeps/hppa/dl-machine.h: Likewise. - * sysdeps/i386/dl-machine.h: Likewise. - * sysdeps/ia64/dl-machine.h: Likewise. - * sysdeps/m68k/dl-machine.h: Likewise. - * sysdeps/mips/dl-machine.h: Likewise. - * sysdeps/powerpc/dl-machine.h: Likewise. - * sysdeps/s390/s390-32/dl-machine.h: Likewise. - * sysdeps/s390/s390-64/dl-machine.h: Likewise. - * sysdeps/sh/dl-machine.h: Likewise. - * sysdeps/sparc/sparc32/dl-machine.h: Likewise. - * sysdeps/sparc/sparc64/dl-machine.h: Likewise. - -2001-08-23 Roland McGrath - - * rt/tst-aio4.c [! SIGRTMIN] (SIGRTMIN, SIGRTMAX): Define as -1. - - * sysdeps/mach/hurd/bits/libc-lock.h: New file, initially copied from - sysdeps/mach version. Implement counting ("recursive") mutexes - on top of cthreads mutexes. - * sysdeps/mach/hurd/bits/stdio-lock.h: File removed; generic now works. - - * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Define to - _LIBC_LOCK_RECURSIVE_INITIALIZER if defined, else do an #error. - (__libc_cleanup_region_start, __libc_cleanup_region_end, - __libc_clean_end): Define these to call the cleanup function after - normal exit when they're supposed to. - - * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start): - Take new first arg DOIT, a boolean saying whether to really install - any cleanup handler. - (__libc_cleanup_region_end): Do nothing if start's DOIT arg was zero. - (__libc_cleanup_end): Likewise. - * sysdeps/generic/bits/libc-lock.h: Same changes. - * stdio-common/vfscanf.c (LOCK_STREAM): Pass new arg. - * stdio-common/vfprintf.c (buffered_vfprintf, vfprintf): Likewise. - * sysdeps/mach/hurd/bits/stdio-lock.h (_IO_cleanup_region_start): - Likewise. - * misc/syslog.c (vsyslog, openlog, closelog): Likewise. - * sysdeps/generic/bits/stdio-lock.h - (_IO_cleanup_region_start, _IO_cleanup_region_start_noarg): Likewise. - -2001-08-23 Jakub Jelinek - - * elf/ldconfig.c (search_dir): Remove stale symlinks. - -2001-08-23 Jakub Jelinek - - * elf/dl-lookup.c (lookup_cache, lookup_cache_versioned): New - functions. - (_dl_lookup_symbol): Lookup relocations in cache and store successfull - lookups in cache. - (_dl_lookup_versioned_symbol): Likewise. - * elf/dl-reloc.c (_dl_relocate_object): Initialize cache for - relocation lookup. - * elf/rtld.c (print_statistics): Output _dl_num_cache_relocations. - * sysdeps/generic/ldsodefs.h (struct lookup_cache): New definition. - (lookup_cache, lookup_cache_versioned): Add declarations. - -2001-08-23 Ulrich Drepper - - * stdlib/tst-random.c (main): Swap parameters in fail call. - Patch by Pete Bevin . - -2001-08-23 Jakub Jelinek - - * sysdeps/generic/inttypes.h: Use __gwchar_t instead of __wchar_t. - -2001-08-23 Ulrich Drepper - - * malloc/obstack.c: Indent preprocessor directives. - Patch by Jim Meyering . - - * po/ja.po: Update from translation team. - -2001-08-23 Roland McGrath - - * libio/tst-ungetwc1.c (main): Add a const to quiet a warning. - - * nss/test-netdb.c (test_hosts): Don't use MAXHOSTNAMELEN. - Instead, use dynamic buffer to test gethostname's ENAMETOOLONG error. - -2001-08-22 Roland McGrath - - * sysdeps/generic/ldsodefs.h (_dl_load_lock): Declare it here with - __libc_lock_define_recursive. - * elf/dl-open.c: Don't declare it here any more. - * elf/dl-close.c: Likewise. - * elf/dl-lookup.c: Likewise. - * elf/dl-iteratephdr.c: Likewise. - * elf/dl-lookup.c (add_dependency): Use __libc_lock_lock_recursive and - __libc_lock_unlock_recursive. - * elf/dl-close.c (_dl_close): Likewise - * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise - * elf/dl-open.c (_dl_open): Likewise - - * sysdeps/generic/bits/libc-lock.h - (__libc_lock_define_recursive): New macro. - * sysdeps/generic/bits/stdio-lock.h (_IO_lock_t): Use it. - (_IO_lock_lock): Use __libc_lock_lock_recursive. - (_IO_lock_unlock): Use __libc_lock_unlock_recursive. - - * conform/conformtest.pl (checknamespace): Sort the output list. - - * sysdeps/generic/bits/poll.h (POLLWRBAND): New alias for POLLOUT. - (POLLRDNORM, POLLRDBAND, POLLWRNORM, POLLWRBAND): Make these - definitions conditional on [__USE_XOPEN]. - - * sysdeps/mach/hurd/bits/fcntl.h (O_ASYNC, O_FSYNC, O_SYNC): Define - these unconditionally, not only use [__USE_BSD], so as to match - the sysdeps/unix/sysv/linux files. - -2001-08-22 Ulrich Drepper - - * test-skeleton.c (add_temp_file): Add __attribute__ ((unused)) to - avoid warnings. - - * dlfcn/tst-dladdr.c (do_test): Get address of ref1 using - DL_LOOKUP_ADDRESS. - -2001-08-22 Roland McGrath - - * sysdeps/generic/bits/sigaction.h (struct sigaction): Fix up - conditionalization of sa_handler/sa_sigaction member types to - match the sysdeps/unix/sysv/linux file. - -2001-08-22 Ulrich Drepper - - * elf/dl-addr.c (_dl_addr): Handle broken binaries with zero - symbol sizes a bit better. - - * sysdeps/ia64/strncpy.S: Complete rewrite. - Contributed by Jakub Jelinek . - - * string/stratcliff.c (main): Add strncpy test. - -2001-08-22 Roland McGrath - - * sysdeps/generic/dl-environ.c: Include and , - and don't declare unsetenv or _environ directly. - (unsetenv): Return int, not void. Use __environ instead of _environ. - -2001-08-01 Mark Kettenis - - * sysdeps/unix/bsd/bsd4.4/Makefile: New file. - * sysdeps/unix/bsd/bsd4.4/Versions: New file. - * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: New file. - * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Correct - test for cmsg struct size. - -2001-04-23 Paul Eggert - - * posix/getopt.h (getopt_long, getopt_long_only, _getopt_internal): - Rename __argc to ___argc in prototypes to avoid compatibility - problems with systems that reserve the identifier "__argc". - Similarly for __argv. - -2001-08-21 Roland McGrath - - * stdio-common/tst-fseek.c: Include for `time' declaration. - - * mach/Makefile (tests): Removed. - * mach/hello.c: File removed. - -2001-08-22 Ulrich Drepper - - * po/sv.po: Update from translation team. - - * stdio-common/vfscanf.c: Fix handling of %l[]. - Reported by Mitsuru Chinen . - - * libio/Makefile (tests): Add tst-sscanf. - * libio/tst-sscanf.c: New file. - - * elf/dl-addr.c (_dl_addr): Fix tests to determine dli_sname. - * malloc/mtrace.c (tr_where): dli_sname always points to a - non-empty string if != NULL. - Reported by Tim Janik . - -2001-08-22 Jakub Jelinek - - * sunrpc/xdr_rec.c (xdrrec_create): Fix buf sizes before allocating - buf. Free resources on failure. - * sunrpc/svc_unix.c (svcunix_create): Free resources on failure. - (makefd_xprt): Likewise. - * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise. - * sunrpc/svc_tcp.c (svctcp_create, makefd_xprt): Likewise. - * sunrpc/auth_unix.c (authunix_create): Likewise. - -2001-08-21 Jakub Jelinek - - * string/strnlen.c: Remove. - * sysdeps/generic/strnlen.c: New file. - * sysdeps/i386/i486/bits/string.h (strnlen): Remove. - -2001-08-21 Roland McGrath - - * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Define this - as a macro, not an extern inline function. - - * hurd/Versions (GLIBC_2.2.5): New set, define __hurd_fail here. - * Versions.def (libc): Add GLIBC_2.2.5 set. - * hurd/hurd.h (_HURD_H_EXTERN_INLINE): New macro. - (__hurd_fail): Use that instead of _EXTERN_INLINE in decl. - -2001-08-20 Roland McGrath - - * hurd/hurdlookup.c (__hurd_file_name_lookup): Fail with ENOENT for "". - (__hurd_file_name_split, __hurd_directory_name_split): Likewise. - -2001-08-21 Ulrich Drepper - - * string/bits/string2.h: Remove strnlen optimization here. - * sysdeps/i386/i486/bits/string.h: Add it here. - -2001-08-21 Wolfram Gloger - - * malloc/malloc.c: Make access to ..._hook pointers thread-safe. - -2001-08-21 Ulrich Drepper - - * po/gl.po: Update from translation team. - -2001-08-20 Ulrich Drepper - - * misc/error.c (error_tail): Use fputws_unlocked instead of fputws. - * misc/err.c (convert_and_print): Likewise. - - * malloc/obstack.c (print_and_abort): Use fprintf instead of two - function calls. - -2001-08-20 Martin Schwidefsky - - * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Revert the - change of the gregset_t type. - * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise. - -2001-08-20 kaz Kojima - - * sysdeps/unix/sysv/linux/sh/sysdep.S: Align errno. - -2001-08-20 Ulrich Drepper - - * posix/regex.c (truncate_wchar): Use wcrtomb not wctomb. - - * string/strnlen.c: Fix the implementation. We cannot use memchr. - -2001-08-18 Mark Kettenis - - * sysdeps/mach/hurd/i386/init-first.c (init): Initialize __environ - before calling the cthreads initialization code. - -2001-08-20 Ulrich Drepper - - * argp/argp-help.c: Fix two problems introduced in last change. - - * include/dirent.h: Include first. - -2001-08-19 Ulrich Drepper - - * io/fts.c (fts_safe_changedir): Use __fxstat64 instead of __fstat. - - * sunrpc/svcauth_des.c (_svcauth_des): Avoid using bcopy. - * sunrpc/xdr_rec.c: Likewise. - * sunrpc/xdr_mem.c: Likewise. - * sunrpc/svc_authux.c (_svcauth_unix): Likewise. - * sunrpc/rpc_cmsg.c: Likewise. - * sunrpc/getrpcport.c (getrpcport): Likewise. - * sunrpc/clnt_simp.c (callrpc): Likewise. - * sunrpc/clnt_gen.c (clnt_create): Likewise. - * string/envz.c: Likewise. - - * po/ko.po: Update from translation team. - - * argp/argp-help.c: Handle wide oriented stderr stream. - -2001-08-18 Ulrich Drepper - - * sysdeps/generic/strtol.c: Little optimizations. Add some - __builtin_expect. - - * conform/conformtest.pl: test requires . - - * wcsmbs/wchar.h (wcwdith): Change parameter type to wchar_t. - * wcsmbs/wcwidth.c (wcwdith): Likewise. - * wcsmbs/wcwidth.h (internal_wcwdith): Likewise. - - * conform/data/unistd.h-data: Remove _SC_MULTIPLE_PROCESS. - - * conform/data/ucontext.h-data: Fix typos in ucontext_t element tests. - - * time/time.h (struct timespec): Use __time_t for tv_sec element. - - * sysdeps/generic/inttypes.h: Define __wchar_t. Use it instead of - wchar_t for function declarations and defintions. - - * misc/sys/select.h: Define __need_time_t before including . - Define suseconds_t if it hasn't happened yet. - - * iconv/gconv.h: Define __need_wchar_t before including . - - * conform/data/sys/uio.h-data: Allow UIO_MAXIOV to be defined. - - * sysdeps/generic/stdint.h: Don't get definition of wchar_t from - . - - * conform/data/stddef.h-data: Remove wint_t. - - * conform/conformtest.pl: Change namespace test to take #undef - lines into account. - - * conform/data/netinet/in.h-data: Fix typo in allow-header line. - - * conform/data/sys/socket.h-data: Add sockatmark. - -2001-08-17 Ulrich Drepper - - * io/fts.c: Update from recent BSD source. - -2001-08-17 Roland McGrath - - * stdio-common/perror.c (perror) [! USE_IN_LIBIO]: Don't use _IO_fwide. - * misc/error.c (error_tail, error, error_at_line) [! USE_IN_LIBIO]: - Likewise. - -2001-08-17 Ulrich Drepper - - * locale/duplocale.c (__duplocale): Also initialize the special - __ctype_* elements. - - * conform/data/netdb.h-data: Adjust gai_strerror return type. - -2001-08-17 Andreas Jaeger - - * misc/getpass.c: Include wchar.h for prototypes. - * malloc/obstack.c: Likewise. - -2001-08-17 Ulrich Drepper - - * sunrpc/svc_simple.c (universal): Use __write instead of write. - - * wcsmbs/wcscoll.c: Also define __wcscoll. - * include/wchar.h: Declare __wcscoll. - - * libio/fwprintf.c: Use __vfwprintf instead of vfwprintf. - * libio/vwprintf.c: Likewise. - * libio/wprintf.c: Likewise. - - * iconv/gconv_cache.c: Use __munmap instead of munmap. - -2001-08-16 Ulrich Drepper - - * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc - instead of mbrtowc. - [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of - wcslen, and __wcscoll instead of wcscoll. - - * sysdeps/unix/sockatmark.c (sockatmark): Use __ioctl instead of ioctl. - - * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue): Use - __getuid instead of getuid. - - * stdio-common/perror.c (perror): Use __close instead of close. - * iconv/gconv_cache.c (__gconv_load_cache): Likewise. - * libio/freopen.c (freopen): Likewise. - * libio/freopen64.c (freopen64): Likewise. - - * libio/tst-ungetwc2.c (main): Define str const. - - * include/wchar.h: Add prototypes for __fwprintf and __vfwprintf. - * libio/fwprintf.c: Also define __fwprintf. - * stdio-common/vfprintf.c [COMPILE_WPRINTF]: Also define __vfwprintf. - * argp/argp-fmtstream.c: Handle wide oriented stderr stream. - * assert/assert-perr.c: Likewise. - * assert/assert.c: Likewise. - * gmon/gmon.c: Likewise. - * inet/rcmd.c: Likewise. - * malloc/obstack.c: Likewise. - * misc/err.c: Likewise. - * misc/error.c: Likewise. - * misc/getpass.c: Likewise. - * posix/getopt.c: Likewise. - * resolv/res_hconf.c: Likewise. - * stdio-common/perror.c: Likewise. - * stdio-common/psignal.c: Likewise. - * stdlib/fmtmsg.c: Likewise. - * sunrpc/auth_unix.c: Likewise. - * sunrpc/clnt_perr.c: Likewise. - * sunrpc/clnt_tcp.c: Likewise. - * sunrpc/clnt_udp.c: Likewise. - * sunrpc/clnt_unix.c: Likewise. - * sunrpc/svc_simple.c: Likewise. - * sunrpc/svc_tcp.c: Likewise. - * sunrpc/svc_udp.c: Likewise. - * sunrpc/svc_unix.c: Likewise. - * sunrpc/xdr.c: Likewise. - * sunrpc/xdr_array.c: Likewise. - * sunrpc/xdr_rec.c: Likewise. - * sunrpc/xdr_ref.c: Likewise. - * sysdeps/generic/wordexp.c: Likewise. - - * po/it.po: Update from translation team. - - * misc/err.c: Handle wide oriented stderr stream. - -2001-08-14 Tom Rix - - * iconv/gconv_cache.c (find_module): Add #ifndef STATIC_GCONV. - * iconv/Makefile: Fix gconv_cache.c CFLAGS. - -2001-08-13 Tom Rix - - * sysdeps/unix/sysv/aix/Makefile: Add rule to import kernel symbols. - * sysdeps/unix/sysv/aix/bits/types.h: Fix type of __id_t, __useconds_t - and __intptr_t. - -2001-08-15 Martin Schwidefsky - - * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S (__getcontext): - Store the access registers to the ucontext structure. - * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S (__getcontext): - Likewise. - - * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S (__setcontext): - Load the access registers from the ucontext structure. - * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S (__setcontext): - Likewise. - - * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: Adjust the SC_xxx - offsets to the new ucontext layout. - * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: Likewise. - - * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix the layout - of the ucontext structure. - * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise. - -2001-08-15 Ulrich Drepper - - * misc/error.c (error): Handle wide oriented stderr stream correctly. - (error_at_line): Likewise. - - * stdio-common/perror.c (perror): Implement according to standard. - The stream orientation must not be changed if the stream was not - oriented before the call. - * stdio-common/Makefile (tests): Add tst-perror. - * stdio-common/tst-perror.c: New file. - - -See ChangeLog.12 for earlier changes. +See ChangeLog.11 for earlier changes. diff --git a/ChangeLog.14 b/ChangeLog.14 index 708e765084..241861369e 100644 --- a/ChangeLog.14 +++ b/ChangeLog.14 @@ -1,1256 +1,9418 @@ -2004-04-19 Roland McGrath +2002-10-03 Richard Henderson + + * sysdeps/alpha/stxncpy.S: Don't access memory beyond the source + buffer. + * sysdeps/alpha/alphaev6/stxncpy.S: Likewise. + +2002-10-02 Andreas Jaeger + Guido Guenther + + * sysdeps/mips/fpu/fraiseexcpt.c: Add internal definition. + * sysdeps/mips/fpu/fesetenv.c: Likewise. + +2002-10-03 Jakub Jelinek + + * sysdeps/unix/sysv/linux/net/route.h: Include bits/wordsize.h. + (struct rtentry): Make rt_pad4 6 bytes long if __WORDSIZE == 64. + * sysdeps/unix/sysv/linux/alpha/Dist: Remove net/route.h. + * sysdeps/unix/sysv/linux/alpha/net/route.h: Remove. + * sysdeps/unix/sysv/linux/ia64/Dist: Remove net/route.h. + * sysdeps/unix/sysv/linux/ia64/net/route.h: Remove. + * sysdeps/unix/sysv/linux/s390/Dist: Remove net/route.h. + * sysdeps/unix/sysv/linux/s390/net/route.h: Remove. + +2002-10-03 Ulrich Drepper + + * libio/freopen.c: Don't re-set _wide_data element if the stream + is of old style which didn't have the element. + * libio/freopen64.c: Likewise. + +2002-10-02 Ulrich Drepper + + * sysdeps/unix/sysv/linux/x86_64/Dist: Add bits/utmpx.h. + * sysdeps/unix/sysv/linux/sparc/Dist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise. + + * sysdeps/s390/s390-32/initfini.c: Avoid unterminated string literals. + * sysdeps/sh/elf/initfini.c: Likewise. + * sysdeps/mach/hurd/mips/init-first.c: Likewise. + * sysdeps/hppa/elf/initfini.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Likewise. + +2002-10-02 Steven Munroe + Jakub Jelinek + + * login/programs/utmpdump.c (print_entry): Copy up->ut_tv fields + to struct timeval temp_tv before printing to be 32-/64-bit agnostic. + * sysdeps/powerpc/bits/wordsize.h: Move to... + * sysdeps/powerpc/powerpc32/bits/wordsize.h: ...here. + (__WORDSIZE_COMPAT32): Define. + * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise. + * sysdeps/sparc/sparc32/bits/wordsize.h (__WORDSIZE_COMPAT32): + Define. + * sysdeps/sparc/sparc64/bits/wordsize.h (__WORDSIZE_COMPAT32): + Define. + * sysdeps/s390/bits/wordsize.h: Move to... + * sysdeps/s390/s390-32/bits/wordsize.h: ...here. + * sysdeps/s390/s390-64/bits/wordsize.h: Likewise. + * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Define. + * sysdeps/unix/sysv/linux/powerpc/bits/utmp.h: New file. + * sysdeps/unix/sysv/linux/powerpc/bits/utmpx.h: New file. + * sysdeps/unix/sysv/linux/sparc/bits/utmp.h: New file. + * sysdeps/unix/sysv/linux/sparc/bits/utmpx.h: New file. + * sysdeps/unix/sysv/linux/x86_64/bits/utmp.h: New file. + * sysdeps/unix/sysv/linux/x86_64/bits/utmpx.h: New file. + +2002-10-02 Jakub Jelinek + + * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix comment typo. + Temporarily enable R_ALPHA_NONE relocs in ld.so. + * sysdeps/ia64/dl-machine.h (elf_machine_rela): Temporarily enable + R_IA64_NONE relocs in ld.so. + +2002-09-27 Steven Munroe + + * README.template: Minimum Linux kernel for powerpc64 is 2.4.19. + + * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (struct ipc_perm): + Use __uint32_t and __uint64_t for __seq, __pad1, __unused[12] fields + so they are consistent between PPC32 and PPC64. + + * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__WORDSIZE != 32]: + (_STAT_VER): Define to _STAT_VER_KERNEL. + (stru stat, struct stat64): Define to match the PPC64 kernel. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions + (libc: GLIBC_2.2): Remove __xstat64, __fxstat64, and __lxstat64. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/fxstat64.c: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/lxstat64.c: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/xstat64.c: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: Add kernel_stat.h. + +2002-10-02 Roland McGrath + + * sysdeps/unix/sysv/linux/xstatconv.c [STAT_IS_KERNEL_STAT]: + Conditionalize the function definitions on this. + * sysdeps/unix/sysv/linux/xstat.c (__xstat) [STAT_IS_KERNEL_STAT]: + Don't use xstat_conv, just fail if VERS != _STAT_VER_KERNEL. + * sysdeps/unix/sysv/linux/fxstat.c (__fxstat) [STAT_IS_KERNEL_STAT]: + Likewise. + * sysdeps/unix/sysv/linux/lxstat.c (__lxstat) [STAT_IS_KERNEL_STAT]: + Likewise. + +2002-10-02 Ulrich Drepper + + * version.h (VERSION): Bump to 2.3. + + * elf/Makefile (distribute): Add tst-tlsmod1.c, tst-tlsmod2.c, + tst-tlsmod3.c, tst-tlsmod4.c, circlemod1.c, circlemod1a.c, + circlemod2.c, circlemod2a.c, circlemod3.c, circlemod3a.c, + and nodlopenmod2.c. + + * login/Makefile (distribute): Add utmp-equal.h. + + * iconvdata/Makefile (distribute): Add TSCII.precomposed and + TSCII.irreversible. + + * Make-dist (dist): Create .bz2 file. Add rule to create .bz2 files. + Also distribute xtests sources. + +2002-10-02 Kaz Kojima + + * elf/elf.h: Change TLS ELF relocation numbers. + * elf/tls-macros.h: Fix code sequences for SH TLS_LD and TLS_GD + macros. + * sysdeps/sh/dl-machine.h (dl_machine_rela) [case R_SH_TLS_TPOFF32]: + Use addend. + * sysdeps/sh/elf/initfini.c: Move __fpscr_values to... + * sysdeps/sh/elf/start.S: ...here. + +2002-10-01 Jakub Jelinek + + * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (MINSIGSTKSZ, + SIGSTKSZ): Changed to match kernel. + * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h: New file. + +2002-10-01 Carlos O'Donell + + * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h + [__USE_GNU] (F_SETLEASE, F_GETLEASE, F_NOTIFY): New macros. + [__USE_GNU] (DN_ACCESS, DN_MODIFY, DN_CREATE, DN_DELETE, DN_RENAME, + DN_ATTRIB, DN_MULTISHOT): New macros. - * rt/tst-mqueue9.c (do_test): Initialize RESULT. +2002-02-08 Randolph Chung -2004-04-19 Jakub Jelinek + * sysdeps/hppa/elf/start.S: Define __data_start. + +2002-10-01 Isamu Hasegawa + + * posix/regex_internal.c (re_string_reconstruct): Reset the member + LEN and STOP. + * posix/regexec.c (re_search_stub): Remove incorrect condition of + "range < 0". + Round RANGE in case that it is too small. - * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Change EPERM into - EACCES. - * rt/Makefile (tests): Add tst-mqueue9. - * rt/tst-mqueue9.c: New test. - * rt/tst-mqueue4.c (do_test): Add test for mq_unlink of a too long - name component. +2002-10-01 Roland McGrath -2004-04-19 Ulrich Drepper + * config.h.in (NO_HIDDEN): New #undef. + * include/libc-symbols.h [! NO_HIDDEN]: Add this condition to + nonempty definitions of hidden_proto et al. + * configure.in: Grok --disable-hidden-plt to define NO_HIDDEN. + * configure: Regenerated. + * sysdeps/mach/hurd/configure.in: Always define NO_HIDDEN. + * sysdeps/mach/hurd/configure: Regenerated. - * rt/tst-mqueue7.c (do_test): Make newargv const. +2002-09-19 David Mosberger -2004-04-18 Randolph Chung + * sysdeps/ia64/dl-fptr.c (make_fdesc): Load address of "local" via + a 64-bit gp-relative address to enable binaries with large data + sections. - * sysdeps/hppa/elf/entry.h: New file. - * sysdeps/hppa/machine-gmon.h: New file. - * sysdeps/unix/sysv/linux/hppa/profil-counter.h: Don't use x86 version. +2002-09-30 Ulrich Drepper -2004-04-18 Ulrich Drepper + * stdlib/cxa_finalize.c (__cxa_finalize): Call UNREGISTER_ATFORK + if it is defined. + * posix/Makefile (distribute): Add fork.h. + * sysdeps/generic/fork.h: New file. - * sysdeps/unix/sysv/linux/powerpc/rt-sysdep.c: New file. - * sysdeps/unix/sysv/linux/powerpc/Makefile (librt-routines): Add - rt-sysdep. +2002-09-29 Bruno Haible - * rt/tst-mqueue5.c (mqsend): Don't inline. - (mqrecv): Likewise. + * sysdeps/generic/utmp_file.c (LOCKING_FAILED): New macro. + (UNLOCK_FILE): Add a label. + (getutent_r_file, internal_getut_r, getutline_r_file, pututline_file, + updwtmp_file): Shut off the alarm clock when locking failed. - * rt/tst-timer4.c: Include . +2002-09-30 Isamu Hasegawa -2004-04-17 Jakub Jelinek + * posix/regex_internal.h (re_match_context_t): Add a new member. + (re_fail_stack_ent_t): New structure. + (re_fail_stack_t): Likewise. + * posix/regexec.c (re_search_internal): Use the new member of + re_match_context_t. + Use fail stack only if it has back references and there are plural + matching candidates. + (proceed_next_node): Use fail stack if it is indicated. + (set_regs): Likewise. + (push_fail_stack): New function. + (pop_fail_stack): New function. + (check_dst_limits): Likewise. + (check_dst_limits_calc_pos): Likewise. + (search_subexp): Check the limitations on the top of subexpressions. + (sift_states_bkref): Check the limitations of the destination node. + Reuse the array sctx->sifted_states. - * rt/Makefile (tests): Add tst-mqueue8. - * rt/tst-mqueue8.c: New test. +2002-09-30 Ulrich Drepper - * sysdeps/unix/sysv/linux/s390/Makefile (librt-routines): Add - rt-sysdep. - * sysdeps/unix/sysv/linux/s390/rt-sysdep.S: New file. + * stdio-common/printf_fp.c: Shuffle a few lines around to help the + compiler optimizing. No semantical changes intended. -2004-03-26 H.J. Lu +2002-09-30 Jakub Jelinek - * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c (__fxstat): Don't - use "struct kernel_stat". + * sysdeps/ia64/strncpy.S: Only segfault in .recovery2 if some bits + from the next quad are needed. -2004-04-02 H.J. Lu +2002-09-30 Roland McGrath - * sysdeps/ia64/memcmp.S: Fix symbol. + * elf/tls-macros.h (TLS_LD, TLS_GD): Use call insn, not callq. -2004-04-04 Carlos O'Donell + * sysdeps/unix/x86_64/sysdep.S [USE_TLS && HAVE___THREAD] [! PIC]: + Use direct-%fs form of TLS access for errno. - * sysdeps/hppa/Dist: Add bits/link.h elf/entry.h. + * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: File removed, since + the i386 version has all the same asm now. - * sysdeps/hppa/bits/link.h: New file. + * sysdeps/i386/elf/configure.in: Add @GOTNTPOFF and @NTPOFF uses to + the TLS support check. + * sysdeps/i386/elf/configure: Regenerated. - * sysdeps/hppa/dl-machine.h (__hppa_init_bootstrap_fdesc_table): - Initialze the fdesc table for the generic code. - (elf_machine_dynamic): Use asm version. - (elf_machine_load_addresss): Simplify asm by calling - elf_machine_dynamic. - (elf_machine_fixup_plt): Correct comment. - (elf_machine_profile_fixup_plt): New. - (elf_machine_runtime_setup): Check PLT exists, if lazy=1 process - normally, else relocate all the absolute entries. - (RTLD_START): Fix comments. - (TRAMPOLINE_TEMPLATE): Reformat assembly, add return pointer for - calls to profile_fixup. - (ELF_MACHINE_SIZEOF_JMP_SLOT, DL_STATIC_FUNCTION_ADDRESS, - DL_PLATFORM_INIT): Define. - (DL_FUNCTION_ADDRESS): Remove. - (dl_platform_init): New. - (elf_machine_rela): Use generic fdesc code, and process all COPY - relocations. Use __attribute__((always_inline)). - (elf_machine_rela_relative): Add sanity checks, remove IPLT - processing, print error message in default case. Use - __attribute__((always_inline)). - (elf_machine_lazy_rel): Use __attribute__((always_inline)). + * sysdeps/unix/sysv/linux/i386/sysdep.h [USE_TLS && HAVE___THREAD] + (SYSCALL_ERROR_HANDLER): Use direct-%gs form of TLS access for errno. -2004-04-05 Carlos O'Donell + * sysdeps/unix/i386/sysdep.S (syscall_error) + [USE_TLS && HAVE___THREAD]: Use TLS access for errno. - * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Use only sw[0] - and call feraiseexcept. + * sysdeps/unix/sysv/linux/x86_64/sysdep.h + [USE_TLS && HAVE___THREAD] (SYSCALL_ERROR_HANDLER): Use TLS access. -2003-11-15 Randolph Chung + * rt/tst-aio7.c (do_test): Don't read from stdin, which could be the + terminal when the test is running in a background job. Instead, make + a pipe and read from its read half while never writing anything to it. - * gmon/gmon.c (__monstartup): Round kcountsize to multiples of - the froms[] array so the array is properly aligned. +2002-09-30 Andreas Jaeger -2004-04-05 H.J. Lu + * stdlib/tst-bsearch.c (main): Fix format strings. + * stdio-common/tst-rndseek.c (do_test): Likewise. + * libio/tst_swprintf.c (main): Likewise. + * catgets/tst-catgets.c (main): Likewise. + * libio/tst-fgetws.c (main): Likewise. + * posix/tst-mmap.c (main): Likewise. + * posix/bug-regex12.c (main): Likewise. + * posix/bug-regex11.c (main): Likewise. + * io/tst-getcwd.c (do_test): Likewise. - * Makeconfig (libgcc_eh): Add -Wl,. + * iconvdata/tst-e2big.c (test): Use %td in printf for ptrdiff_t. - * configure.in: Add -lgcc_s for --as-needed check. + * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): + Store 4 bytes into errno, not 8 bytes. -2004-04-16 Kaz Kojima +2002-09-29 Ulrich Drepper - * sysdeps/sh/elf/configure.in: New file. + * posix/regexec.c (sift_states_bkref): Remove ret variable. Use + err instead. -2004-04-17 Ulrich Drepper +2002-09-29 Roland McGrath - * iconvdata/gconv-modules: Add PT154 and RK1048 entries. - * iconvdata/tst-tables.sh: Add PT154 and RK1048. - * iconvdata/Makefile (modules): Add PT154 anhd RK1048. - (distribute): Add pt154.c and rk1048.c. - (gen-8bit-gap-modules): Add pt154 and rk1048. - * icondata/pt154.c: New file. - * iconvdata/rk1048.c: New file. + * test-skeleton.c (timeout_handler): Use WUNTRACED flag in waitpid. + Examine the child's status and print something different if it wasn't + just killed by our SIGKILL. + (main): In the child process call setpgid to put it in its own pgrp. - * rt/tst-timer4.c: Disable some tests, mark errors better. +2002-09-29 Ulrich Drepper -2004-04-16 Ulrich Drepper + * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): The return value + semantics for sigtimedwait is different. Rework the return value + handling and don't pass in a siginfo variable. - * rt/tst-mqueue6.c (mqsend): Don't inline. - (mqrecv): Likewise. +2002-09-29 Roland McGrath - * rt/tst-mqueue3.c (do_test): Cope with kernel without mq support. + * malloc/malloc.c [! MALLOC_DEBUG] (assert): #undef before defining. - * sysdeps/ieee754/bits/nan.h (__nan_union): Add __attribute_used__ - attribute to keep gcc quiet. + * sysdeps/mach/hurd/Versions (ld: GLIBC_2.2.6): Add __errno_location. -2004-04-16 Jakub Jelinek + * sysdeps/unix/sysv/linux/x86_64/sysdep.S [USE_TLS && HAVE___THREAD]: + Define errno in .tbss. + * sysdeps/unix/x86_64/sysdep.S [USE_TLS && HAVE___THREAD]: Use TLS + access for setting errno. - * misc/syslog.c (vsyslog): Avoid freeing failbuf. + * sysdeps/unix/x86_64/sysdep.S: Store 32 bits at errno, not 64 bits. + AFAICT, it was just blind luck that the word following errno in .bss + was just alignment padding and not some other variable to be clobbered. -2004-04-15 Jakub Jelinek - - * rt/Makefile (tests): Add tst-timer4. - * rt/tst-timer4.c: New test. - -2004-04-15 Jakub Jelinek - - * rt/tst-mqueue5.c (rtmin_code): New variable. - (rtmin_handler): Set it. - (thr, do_child, do_test): Also check rtmin_code. - -2004-04-14 Jakub Jelinek - - * rt/Makefile (tests): Add tst-mqueue7. - (tst-mqueue7-ARGS): Set. - * rt/tst-mqueue7.c: New test. - -2004-04-13 Jakub Jelinek - - * rt/Makefile (tests): Add tst-mqueue5 and tst-mqueue6. - * rt/tst-mqueue1.c (do_one_test): Bitwise or check_attrs () into - result instead of replacing it. Use TEMP_FAILURE_RETRY around - waitpid, kill child if waitpid failed. - (do_test): Bitwise or check_attrs () into result instead of replacing - it. Change temp mq name. - * rt/tst-mqueue5.c: New test. - * rt/tst-mqueue6.c: New test. - * rt/tst-mqueue.h: Include stdio.h, unistd.h, sys/uio.h. - (temp_mq_list, delete_temp_mqs): Remove. - (temp_mq_fd): New variable. - (do_cleanup, do_prepare): New functions. - (add_temp_mq): Rewritten to use a temp file. - (PREPARE): Define. - (CLEANUP_HANDLER): Change to do_cleanup (). - - * rt/tst-timer3.c: Don't fail if _POSIX_THREADS is not available. - -2004-04-13 Thorsten Kukuk - - * sysdeps/s390/ffs.c: Include limits.h - -2004-04-13 Kaz Kojima - - * sysdeps/unix/sysv/linux/sh/sysdep.h (SUBSTITUTE_ARGS_1, - SUBSTITUTE_ARGS_2, SUBSTITUTE_ARGS_3, SUBSTITUTE_ARGS_4, - SUBSTITUTE_ARGS_5, SUBSTITUTE_ARGS_6, SUBSTITUTE_ARGS_7): Load - argument values into temporary variables. - -2004-04-15 Atsushi Nemoto - - * sysdeps/mips/dl-machine.h (RTLD_START): Do not use nested .end. - -2004-04-12 Ulrich Drepper - - * rt/Makefile (tests): Add tst-timer3. - * rt/tst-timer3.c: New file. By Roland McGrath. - -2004-04-08 Ulrich Drepper - - * rt/tst-mqueue3.c: New file. - * rt/Makefile (tests): Add tst-mqueue3. - -2004-04-08 Jakub Jelinek - - * rt/tst-mqueue1.c: New file. - * rt/tst-mqueue2.c: New file. - * rt/tst-mqueue4.c: New file. - * rt/Makefile (tests): Add tst-mqueue1, tst-mqueue2, tst-mqueue4. - - * rt/Versions (librt): Add mq_*@@GLIBC_2.3.4. - * rt/Makefile (headers): Add mqueue.h and bits/mqueue.h. - (mq-routines): Set. - (librt-routines): Use it. - * rt/mqueue.h: New file. - * include/mqueue.h: New file. - * sysdeps/generic/bits/mqueue.h: New file. - * sysdeps/generic/mq_setattr.c: New file. - * sysdeps/generic/mq_getattr.c: New file. - * sysdeps/generic/mq_notify.c: New file. - * sysdeps/generic/mq_close.c: New file. - * sysdeps/generic/mq_send.c: New file. - * sysdeps/generic/mq_unlink.c: New file. - * sysdeps/generic/mq_receive.c: New file. - * sysdeps/generic/mq_timedreceive.c: New file. - * sysdeps/generic/mq_timedsend.c: New file. - * sysdeps/generic/mq_open.c: New file. - * sysdeps/unix/sysv/linux/bits/local_lim.h (MQ_PRIO_MAX): Define. - * sysdeps/unix/sysv/linux/bits/mqueue.h: New file. - * sysdeps/unix/sysv/linux/syscalls.list: Add mq_timedsend, - mq_timedreceive and mq_setattr. - * sysdeps/unix/sysv/linux/mq_getattr.c: New file. - * sysdeps/unix/sysv/linux/mq_notify.c: New file. - * sysdeps/unix/sysv/linux/mq_close.c: New file. - * sysdeps/unix/sysv/linux/mq_send.c: New file. - * sysdeps/unix/sysv/linux/mq_unlink.c: New file. - * sysdeps/unix/sysv/linux/mq_receive.c: New file. - * sysdeps/unix/sysv/linux/mq_open.c: New file. - -2004-04-09 Andreas Schwab - - * sysdeps/unix/sysv/linux/ia64/sysdep.h (DO_INLINE_SYSCALL): Move - LOAD_ARGS_##nr up front and add LOAD_REGS_##nr. - (LOAD_ARGS_0, LOAD_ARGS_1, LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4) - (LOAD_ARGS_5, LOAD_ARGS_6): Load argument values into temporary - variables. - (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4) - (LOAD_REGS_5, LOAD_REGS_6): New macros to actually load the - syscall argument registers. - - * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INTERNAL_SYSCALL): Add - LOAD_REGS_##nr. - (LOAD_ARGS_0, LOAD_ARGS_1, LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4) - (LOAD_ARGS_5, LOAD_ARGS_6): Load argument values into temporary - variables. - (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4) - (LOAD_REGS_5, LOAD_REGS_6): New macros to actually load the - syscall argument registers. - -2004-04-09 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/sysdep.h (INTERNAL_SYSCALL): Add - LOAD_REGS_##nr. - (LOAD_ARGS_0, LOAD_ARGS_1, LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4) - (LOAD_ARGS_5, LOAD_ARGS_6): Load argument values into temporary - variables. - (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4) - (LOAD_REGS_5, LOAD_REGS_6): New macros to actually load the - syscall argument registers. - -2004-04-09 Thorsten Kukuk - - * sysdeps/s390/ffs.c: Don't add ffsl weak alias on s390x. - -2004-04-09 Steven Munroe - - * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: New file. - -2004-04-08 Ulrich Drepper - - * po/nl.po: Update from translation team. - -2004-04-04 Ulrich Drepper - - * math/test-tgmath.c: Declare compile_testl inly if we will define it. - -2004-04-03 Ulrich Drepper - - * sysdeps/powerpc/powerpc64/ffsll.c: New file. - - * string/test-ffs.c: Also test ffsl and ffsll. - - * sysdeps/powerpc/ffs.c: Don't define ffsl for ppc64. - - * sysdeps/powerpc/powerpc64/bits/atomic.h: Never use matching - constraints for asm mem parameters. - * sysdeps/powerpc/bits/atomic.h: Likewise. - - * sysdeps/powerpc/elf/libc-start.c: No need for a separate - function for __aux_init_cache. - - * inet/test-ifaddrs.c: Fight warnings. - - * argp/argp-help.c: Fight warnings. - - * include/time.h: Declare __difftime. - - * sysdeps/unix/sysv/linux/internal_statvfs.c: Restructure to avoid - duplication in 64-bit version. - * sysdeps/unix/sysv/linux/wordsize-64/internal_statvfs64.c: New file. - -2004-04-03 Andreas Jaeger - - * nis/nss-nis.c: Include for strncmp. - -2004-03-30 H.J. Lu - - * Makeconfig (link-libc-static): Use $(static-gnulib) instead - of $(gnulib). - (libgcc_eh): New variable. - (gnulib): Use it variable. - (static-gnulib): New variable. - * Makerules (LDLIBS-c.so): Use $(static-gnulib) instead of $(gnulib). - * config.make.in (have-as-needed): New variable. - * configure.in: Check if linker supports --as-needed. - -2004-04-02 Ulrich Drepper - - * sysdeps/unix/sysv/linux/internal_statvfs64.c: New file. - * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): - Add internal_statvfs64. - * sysdeps/unix/sysv/linux/internal_statvfs.c: Allow to be used to - compile 64bit version. - * sysdeps/unix/sysv/linux/statvfs64.c: Use __fstatfs64 and skip - compatibility code if __ASSUME_STATFS64 is defined. - * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise. - - * sysdeps/unix/sysv/linux/statfs64.c: Don't add __no_statfs64 if - __ASSUME_STATFS64 != 0. - -2004-04-02 Thorsten Kukuk - - * nis/nss_nis/nis-ethers.c (saveit): Fix return codes in error case. - * nis/nss_nis/nis-initgroups.c (saveit): Likewise. - * nis/nss_nis/nis-proto.c (saveit): Likewise. - * nis/nss_nis/nis-rpc.c (saveit): Likewise. - * nis/nss_nis/nis-service.c (saveit): Likewise. - -2004-04-02 Jakub Jelinek - - * nis/nss: Add SERVICES_AUTHORITATIVE. - * nis/nss-nis.h (NSS_FLAG_SET, NSS_FLAG_NETID_AUTHORITATIVE, - NSS_FLAG_SERVICES_AUTHORITATIVE): Define. - (_nis_default_nss_flags, _nis_check_default_nss): New decls. - (_nis_default_nss): New inline. - * nis/nss-nis.c: Include ctype.h, stdio.h and stdio_ext.h. - (_nis_default_nss_flags, default_nss): New variables. - (_nis_check_default_nss): New function. - * nis/nss_nis/nis-initgroups.c: Don't include stdio.h and - stdio_ext.h. - (check_default_nss, default_nss): Move to nss-nis.c. - (init): Removed. - (_nss_nis_initgroups_dyn): Use _nis_default_nss (). - * nis/nss_nis/nis-services.c (_nss_nis_getservbyname_r): If - NSS_FLAG_SERVICES_AUTHORITATIVE and services.byservicename lookup - fails, return immediately. - -2004-04-01 Roland McGrath - - * elf/tst-execstack.c (do_test): Make F static. - -2004-04-01 Ulrich Drepper - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Use - __sigprocmask not sigprocmask. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise. - - * include/string.h: Add libc_hidden_builtin_proto for memcmp. - * sysdeps/generic/memcmp.c: Add libc_hidden_builtin_def. - * sysdeps/i386/memcmp.S: Likewise. - * sysdeps/i386/i686/memcmp.S: Likewise. - * sysdeps/ia64/memcmp.S: Likewise. - * sysdeps/sparc/sparc64/memcmp.S: Likewise. - - * sysdeps/unix/sysv/linux/sigprocmask.c: Include . - * time/mktime.c: Likewise. - * misc/getpass.c: Likewise. - - * time/difftime.c (__difftime): New renamed. Make old name alias. - Use __difftime in recursive call. - - * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Use - __tcgetattr() instead of tcgetattr(). - - * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S [SHARED]: - Use __GI_exit. - - * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S [SHARED]: Use - __GI__exit. - - * sysdeps/powerpc/fpu/bits/mathinline.h: Add __signbitf and - __signbit inlines. - - * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Use - __sigprocmask not sigprocmask. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise. - - * elf/elf.h: Define more ppc64 specific dynamic tags. - -2004-04-01 Jakub Jelinek - - * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): If protocol - is NULL, instead of trying yp_match (name/tcp), yp_match (name/udp), - yp_all, try yp_match (name), yp_all. - -2004-04-01 Ulrich Drepper - - * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Add handling for - ignored entries. Ignore AT_IGNOREPPC. - -2004-03-31 Andreas Jaeger - - * libio/fileops.c (new_do_write): Return _IO_size_t to make 64-bit - clean. - -2004-03-31 Ulrich Drepper - - * locale/programs/localedef.c (construct_output_path): Remove - remnants of CEN locale names. - -2004-03-30 Thorsten Kukuk - - * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Add IUTF8. - * sysdeps/unix/sysv/linux/bits/termios.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise. - -2004-03-30 Richard Henderson - - * sysdeps/alpha/remqu.S: Detect power-of-two special case. - -2004-03-30 Ulrich Drepper - - * sysdeps/generic/libc-start.c (LIBC_START_MAIN) - [HAVE_CLEANUP_JMP_BUF]: Call __nptl_deallocate_tsd. - -2004-03-30 Jakub Jelinek - - * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): If protocol - == NULL, try name/tcp and name/udp first before falling back into - the sequential scanning. Use services.byname database for - sequential scanning. - (_nss_nis_getservbyport_r): Likewise. Just allocate sizeof (int) * 3 - chars for integer. - - * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Convert - proto to host by order for snprintf. - -2004-03-30 Ulrich Drepper - - * nss/getent.c (services_keys): Don't implement lookups with - missing protocol using getservent loop, just pass NULL. - - * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Avoid - comparison with limit if we can rely on the syscall being available. - - * nis/nss_nis/nis-initgroups.c: Implement getting the information - from the netid.byname map if the system administrator allows this. - * nis/Makefile (distribute): Add nss. - * nis/nss: New file. - - * grp/initgroups.c (initgroups): Limit the initial allocation to 64 - entries to not allocate too much on systems with really high limits. - -2004-03-30 Jakub Jelinek - - * nis/nss_nis/nis-service.c (struct search_t): New type. - (dosearch): New function. - (_nss_nis_getservbyname_r): Use it. Call yp_get_default_domain - unconditionally. - (_nss_nis_getservbyport_r): Likewise. - -2004-03-29 Alexandre Oliva - - * sysdeps/unix/sysv/linux/sched_getaffinity.c: Prepend GLIBC_ to - version names is SHLIB_COMPAT check. - * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise. - -2004-03-29 Ulrich Drepper - - * nis/nss_nis/nis-rpc.c (saveit): Improve memory handling. No need to - allocate multiple blocks. - (internal_nis_endrpcent): Adjust accordingly. - * nis/nss_nis/nis-proto.c (saveit): Improve memory handling. No need - to allocate multiple blocks. - (internal_nis_endprotoent): Adjust accordingly. - * nis/nss_nis/nis-initgroups.c (saveit): Improve memory handling. No - need to allocate multiple blocks. - (_nss_nis_initgroups_dyn): Adjust accordingly. - * nis/nss_nis/nis-ethers.c (saveit): Improve memory handling. No need - to allocate multiple blocks. - (internal_nis_endetherent): Adjust accordingly. - * nis/nss_nis/nis-service.c (saveit): Improve memory handling. No need - to allocate multiple blocks. - (internal_nis_endservent): Adjust accordingly. - - * nss/getXXbyYY_r.c: Return 0 for NSS_STATUS_NOTFOUND. - -2004-03-26 Thorsten Kukuk - - * nis/nss_nis/nis-grp.c (_nss_nis_getgrnam_r): Don't - set errno if group does not exist. - -2004-03-28 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Handle - _SC_SIGQUEUE_MAX. - -2004-03-26 Ulrich Drepper - - * elf/dl-caller.c: New file. - * include/caller.h: New file. - * Makefile (distribute): Add include/caller.h. - * elf/Makefile (dl-routines): Add dl-caller. - * elf/dl-load.c (_dl_map_object_from_fd): Record l_text_end. - * elf/dl-open.c (check_libc_caller): Removed. - (dl_open_worker): Use __check_caller instead. - * elf/rtld.c (_rtld_global_ro): Initialize _dl_check_caller. - (_dl_start_final): Record l_text_end for ld.so map. - (dl_main): Record l_text_end for main object and vdso. - * include/link.h (struct link_map): Add l_text_end field. - * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add - _dl_check_caller field. - Define enum allowmask. Add declaration of _dl_check_caller. - * sysdeps/unix/sysv/linux/dl-execstack.c: Also use __check_caller test. - -2004-03-26 Richard Henderson - - * sysdeps/alpha/Makefile (sysdep_routines): Merge divrem - variable, add unsigned variants. - * sysdeps/alpha/divrem.h: Remove file. - * sysdeps/alpha/div_libc.h: New file. - * sysdeps/alpha/divl.S: Rewrite from scratch. - * sysdeps/alpha/reml.S: Likewise. - * sysdeps/alpha/divq.S: Likewise. - * sysdeps/alpha/remq.S: Likewise. - * sysdeps/alpha/divlu.S: New file. - * sysdeps/alpha/remlu.S: New file. - * sysdeps/alpha/divqu.S: New file. - * sysdeps/alpha/remqu.S: New file. - -2004-03-26 Ulrich Drepper - - * elf/dl-open.c (check_libc_caller): Fix typo. - -2004-03-26 Jakub Jelinek - - * elf/tst-dlmodcount.c: Include stddef.h and stdlib.h. - -2003-03-25 Richard Henderson - - * sysdeps/alpha/backtrace.c: New file. - -2004-03-25 Ulrich Drepper - - * iconvdata/utf-7.c: Remove inline from isdirect, isxdirect, and - isxbase64. - -2004-03-25 Richard Henderson - - * sysdeps/generic/strtol_l.c (__strtol_ul_max_tab, - __strtol_ull_max_tab, __strtol_ull_rem_tab, __strtol_ul_rem_tab, - cutoff_tab, cutlim_tab, jmax_tab): New. - (__strtol_l): Use them to avoid runtime division. - -2004-03-24 Roland McGrath - - * Makerules ($(common-objpfx)shlib.lds): Don't use \n in rhs of sed - substitutions; the semicolon terminators are enough for ld anyway. - - * elf/dl-deps.c (_dl_map_object_deps): Use alloca instead of - dynamically sized auto array in function already using alloca. - * locale/programs/ld-ctype.c (ctype_output): Likewise. - * locale/programs/ld-time.c (time_output): Likewise. - * elf/dl-misc.c (_dl_debug_vdprintf): Use macro instead of const for - IOV array size. - * locale/programs/charmap.c (charmap_read): Avoid alloca (or strdupa) - when also using dynamically-sized auto array. - * locale/programs/locfile.c (locfile_read): Likewise. - * locale/programs/repertoire.c (repertoire_read): Likewise. - * nis/nis_print_group_entry.c (nis_print_group_entry): Likewise. - * locale/programs/locarchive.c (enlarge_archive): Likewise. - * posix/annexc.c (check_header): Likewise. - - * iconv/gconv_int.h (norm_add_slashes): Don't handle null SUFFIX. - strlen ("") gets optimized away just as well. - * intl/loadmsgcat.c (_nl_init_domain_conv): Update caller. - * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise. - - * Makefile ($(objpfx)c++-types-check.out): Reduce duplication in - defining this target. Also elide -Wstrict-prototypes from CFLAGS. - -2004-03-24 Ulrich Drepper - - * stdio-common/vfscanf.c [!COMPILE_WSCANF] (TOLOWER): Cast first - parameter to unsigned char. - * sysdeps/generic/strcasestr.c [_LIBC] (TOLOWER): Likewise. - -2004-03-24 Jakub Jelinek - - * stdlib/strtod_l.c (INTERNAL (__STRTOF)): Clear the rest of retval, - not just one limb if RETURN_LIMB_SIZE > 2. Fix shifting up if - RETURN_LIMB_SIZE > 2. - - * stdio-common/printf_fp.c (__printf_fp): For IEEE quad long double - on 32-bit architectures reserve 8 limbs instead of 4. - -2004-03-23 Jakub Jelinek - - * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_pread, __NR_pwrite): - Define to __NR_p{read,write}64 if not defined. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (__NR_pread, - __NR_pwrite): Define to __NR_p{read,write}64 if not defined instead - of defining it the other way around. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Move common syscalls - for 64bit arches to sysdeps/unix/sysv/linux/wordsize-64/syscalls.list. - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/alpha/pread64.c: Removed. - * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Removed. - * sysdeps/unix/sysv/linux/alpha/glob64.c: Removed. - * sysdeps/unix/sysv/linux/alpha/truncate64.c: Removed. - * sysdeps/unix/sysv/linux/alpha/xstat64.c: Removed. - * sysdeps/unix/sysv/linux/alpha/pwrite64.c: Removed. - * sysdeps/unix/sysv/linux/alpha/posix_fadvise.c: Removed. - * sysdeps/unix/sysv/linux/alpha/mmap64.c: Removed. - * sysdeps/unix/sysv/linux/alpha/fxstat64.c: Removed. - * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Removed. - * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: Removed. - * sysdeps/unix/sysv/linux/alpha/sendfile64.c: Removed. - * sysdeps/unix/sysv/linux/alpha/lxstat64.c: Removed. - * sysdeps/unix/sysv/linux/alpha/posix_fadvise64.c: Removed. - * sysdeps/unix/sysv/linux/alpha/statfs64.c: Removed. - * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: Removed. - * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: Removed. - * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: Removed. - * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: Removed. - * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: Removed. - * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: Removed. - * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: Removed. - * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: Removed. - * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: Removed. - * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c: Removed. - * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: Removed. - * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: Removed. - * sysdeps/unix/sysv/linux/s390/s390-64/posix_fadvise.c: Removed. - * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: Removed. - * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: Removed. - * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: Removed. - * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: Removed. - * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: Removed. - * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: Removed. - * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: Removed. - * sysdeps/unix/sysv/linux/s390/s390-64/posix_fadvise64.c: Removed. - * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: Removed. - * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: Removed. - * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: Removed. - * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: Removed. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/glob64.c: Removed. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/truncate64.c: Removed. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/xstat64.c: Removed. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/posix_fadvise.c: Removed. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/fxstat64.c: Removed. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/ftruncate64.c: Removed. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/lxstat64.c: Removed. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/posix_fadvise64.c: Removed. - * sysdeps/unix/sysv/linux/sparc/sparc64/pread64.c: Removed. - * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: Removed. - * sysdeps/unix/sysv/linux/sparc/sparc64/glob64.c: Removed. - * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: Removed. - * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: Removed. - * sysdeps/unix/sysv/linux/sparc/sparc64/xstat64.c: Removed. - * sysdeps/unix/sysv/linux/sparc/sparc64/pwrite64.c: Removed. - * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: Removed. - * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Removed. - * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Removed. - * sysdeps/unix/sysv/linux/sparc/sparc64/posix_fadvise.c: Removed. - * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: Removed. - * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat64.c: Removed. - * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: Removed. - * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: Removed. - * sysdeps/unix/sysv/linux/sparc/sparc64/sendfile64.c: Removed. - * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: Removed. - * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat64.c: Removed. - * sysdeps/unix/sysv/linux/sparc/sparc64/posix_fadvise64.c: Removed. - * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: Removed. - * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: Removed. - * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: Removed. - * sysdeps/unix/sysv/linux/ia64/pread64.c: Removed. - * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: Removed. - * sysdeps/unix/sysv/linux/ia64/glob64.c: Removed. - * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: Removed. - * sysdeps/unix/sysv/linux/ia64/truncate64.c: Removed. - * sysdeps/unix/sysv/linux/ia64/xstat64.c: Removed. - * sysdeps/unix/sysv/linux/ia64/pwrite64.c: Removed. - * sysdeps/unix/sysv/linux/ia64/getdents64.c: Removed. - * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Removed. - * sysdeps/unix/sysv/linux/ia64/lxstat.c: Removed. - * sysdeps/unix/sysv/linux/ia64/readdir.c: Removed. - * sysdeps/unix/sysv/linux/ia64/posix_fadvise.c: Removed. - * sysdeps/unix/sysv/linux/ia64/mmap64.c: Removed. - * sysdeps/unix/sysv/linux/ia64/xstat.c: Removed. - * sysdeps/unix/sysv/linux/ia64/fxstat64.c: Removed. - * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: Removed. - * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: Removed. - * sysdeps/unix/sysv/linux/ia64/sendfile64.c: Removed. - * sysdeps/unix/sysv/linux/ia64/getdents.c: Removed. - * sysdeps/unix/sysv/linux/ia64/lxstat64.c: Removed. - * sysdeps/unix/sysv/linux/ia64/posix_fadvise64.c: Removed. - * sysdeps/unix/sysv/linux/ia64/readdir64.c: Removed. - * sysdeps/unix/sysv/linux/ia64/fxstat.c: Removed. - * sysdeps/unix/sysv/linux/ia64/statfs64.c: Removed. - * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: Removed. - * sysdeps/unix/sysv/linux/x86_64/pread64.c: Removed. - * sysdeps/unix/sysv/linux/x86_64/getrlimit64.c: Removed. - * sysdeps/unix/sysv/linux/x86_64/glob64.c: Removed. - * sysdeps/unix/sysv/linux/x86_64/readdir64_r.c: Removed. - * sysdeps/unix/sysv/linux/x86_64/truncate64.c: Removed. - * sysdeps/unix/sysv/linux/x86_64/xstat64.c: Removed. - * sysdeps/unix/sysv/linux/x86_64/pwrite64.c: Removed. - * sysdeps/unix/sysv/linux/x86_64/getdents64.c: Removed. - * sysdeps/unix/sysv/linux/x86_64/readdir_r.c: Removed. - * sysdeps/unix/sysv/linux/x86_64/lxstat.c: Removed. - * sysdeps/unix/sysv/linux/x86_64/readdir.c: Removed. - * sysdeps/unix/sysv/linux/x86_64/posix_fadvise.c: Removed. - * sysdeps/unix/sysv/linux/x86_64/mmap64.c: Removed. - * sysdeps/unix/sysv/linux/x86_64/xstat.c: Removed. - * sysdeps/unix/sysv/linux/x86_64/fxstat64.c: Removed. - * sysdeps/unix/sysv/linux/x86_64/setrlimit64.c: Removed. - * sysdeps/unix/sysv/linux/x86_64/ftruncate64.c: Removed. - * sysdeps/unix/sysv/linux/x86_64/sendfile64.c: Removed. - * sysdeps/unix/sysv/linux/x86_64/getdents.c: Removed. - * sysdeps/unix/sysv/linux/x86_64/lxstat64.c: Removed. - * sysdeps/unix/sysv/linux/x86_64/posix_fadvise64.c: Removed. - * sysdeps/unix/sysv/linux/x86_64/readdir64.c: Removed. - * sysdeps/unix/sysv/linux/x86_64/fxstat.c: Removed. - * sysdeps/unix/sysv/linux/x86_64/statfs64.c: Removed. - * sysdeps/unix/sysv/linux/x86_64/fstatfs64.c: Removed. - * sysdeps/unix/sysv/linux/alpha/Implies: New file. - * sysdeps/unix/sysv/linux/alpha/getdents64.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/Implies: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/Implies: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/Implies: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/statvfs64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/xstat64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/fxstat64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/sendfile64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/lxstat64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: New file. - * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/statfs64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/fstatfs64.c: New file. - * sysdeps/unix/sysv/linux/ia64/Implies: New file. - * sysdeps/unix/sysv/linux/x86_64/Implies: New file. - -2004-03-22 Richard Henderson - - * sysdeps/alpha/s_fabs.S: Remove file. - * sysdeps/alpha/s_copysign.S: Remove file. - -2004-03-22 Jakub Jelinek - - * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c - (__getpagesize): Avoid warning about writing into read-only memory. - - * string/Makefile (routines): Add xpg-strerror. - * string/string.h (strerror_r): If __USE_XOPEN2K but not __USE_GNU, - redirect strerror_r to __xpg_strerror_r. - * string/Versions (libc): Add __xpg_strerror_r@@GLIBC_2.3.4. - * sysdeps/generic/xpg-strerror.c: New file. - * sysdeps/mach/xpg-strerror.c: New file. - -2004-03-22 Joseph S. Myers - - * sunrpc/rpc/xdr.h (IXDR_GET_LONG, IXDR_PUT_LONG): Do not use - casts as lvalues. - -2004-03-22 Andreas Jaeger - - * elf/tst-dlmodcount.c (unload): Remove unused variable. - - * misc/tst-mntent.c (main): Use tmpfile instead of tmpnam. - -2004-03-20 Roland McGrath - - * sysdeps/mach/hurd/dl-execstack.c: New file. - -2004-03-20 Ulrich Drepper - - * po/ca.po: Update from translation team. - -2004-03-20 Andreas Jaeger - - * sysdeps/unix/sysv/linux/sched_getaffinity.c - (__sched_getaffinity_old): Fix interface. - * sysdeps/unix/sysv/linux/sched_setaffinity.c - (__sched_setaffinity_old): Likewise. - - * sysdeps/unix/sysv/linux/sched_setaffinity.c: Include . - -2004-03-17 Kaz Kojima +2002-09-29 Jakub Jelinek * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_CLONE_THREAD_FLAGS ): Define for newer SH kernel. - (__ASSUME_TGKILL, __ASSUME_UTIMES): Likewise. - * sysdeps/unix/sysv/linux/sh/socket.S: Add unwind information. + (__ASSUME_SETRESUID_SYSCALL): On the sparc, define to 1, not empty. -2004-03-19 Ulrich Drepper +2002-09-29 Jakub Jelinek - * time/tzfile.c (__tzfile_default): Correct setting of rule_stdoff - and rule_dstoff after reading the posixrules file. + * nss/bug-erange.c (main): Don't fail if /etc/resolv.conf doesn't + exist. -2004-03-18 Ulrich Drepper +2002-09-29 Ulrich Drepper - * malloc/malloc.c (__posix_memalign): Correct alignment check. - Reported by Don Heller . + * nss/Makefile: Move bug-erange from tests to xtests. -2004-03-18 Jakub Jelinek +2002-09-29 Jakub Jelinek - * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Remove hwcap - variable and weak_extern for _dl_hwcap. - (_DL_HWCAP_TLS_MASK): Define. - (HWCAP_CHECK): Fix checking of non-platform hwcap bits. Use - lib->osversion instead of cache_new->libs[middle].osversion. + * stdlib/longlong.h (__udiv_qrnnd): Remove PARAMS from prototype. - * stdio-common/asprintf.c: Remove USE_IN_LIBIO conditionals. - * stdio-common/dprintf.c: Likewise. +2002-09-29 Jakub Jelinek + + * sysdeps/unix/sysv/linux/sparc/sysdep.h (inline_syscall0): Make asm + volatile. + (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4, + inline_syscall5, inline_syscall6): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL): + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (INLINE_SYSCALL): + Likewise. + +2002-09-29 Roland McGrath + + * configure.in (libc_cv_ranlib_necessary check): Put the .o file in + the archive, not the .c file. + * configure: Regenerated. + +2002-09-29 Roland McGrath + + * configure: Regenerated after aclocal.m4 change. + + * sysdeps/x86_64/sysdep.h [HAVE_ELF] (L): Define with .L##name form. + * sysdeps/unix/sysv/linux/x86_64/sysdep.h (L): Don't define it here. + + * sysdeps/generic/dl-lookupcfg.h [USE_TLS] (DL_LOOKUP_RETURNS_MAP): + Define it, because _dl_sym presumes it (for any platform). + + * sysdeps/x86_64/dl-tls.h: New file. + + * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Add a cast. + + * sysdeps/x86_64/elf/configure.in: New file. + * sysdeps/x86_64/elf/configure: New generated file. + +2002-09-28 Roland McGrath + + * elf/rtld.c (_dl_start): Fix conditional for declaring CNT. + + * aclocal.m4 (LIBC_PROG_BINUTILS): Don't clobber $RANLIB with ranlib + before we check it. + +2002-09-28 Ulrich Drepper + + * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __syscall_exit + entry point. + +2002-09-28 Jakub Jelinek + + * posix/bug-regex11.c (tests): Add flags field. + (main): Avoid warnings. Use test[i].flags. Return nonzero + if any of the tests failed. + * posix/bug-regex12.c: New file. + * posix/Makefile (tests): Add bug-regex12. + +2002-03-02 Thorsten Kukuk + + * sysdeps/unix/nice.c (nice): Use getpriority() for the return value. + +2002-09-28 Jeff Bailey + + * sysdeps/unix/sysv/sysv4/solaris2/configure.in: Delete. + * sysdeps/unix/sysv/aix/configure.in: Update comment and remove + stdio=libio setting. + +2002-09-28 Roland McGrath + + * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Use INTUSE for + _dl_signal_error. + * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Likewise. + * sysdeps/powerpc/powerpc64/dl-machine.c + (_dl_reloc_overflow): Likewise. + * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise. + (elf_machine_rela): Likewise. + +2002-09-27 Steven Munroe + + * include/libc-symbols.h (__hidden_dot_weak1): Fix typo. Replace + ASM_GLOBAL_DIRECTIVE with .weak. + +2002-09-28 Andreas Jaeger + + * sysdeps/unix/sysv/linux/mips/truncate64.c (truncate64): Fix + number of args to syscall. + * sysdeps/unix/sysv/linux/mips/ftruncate64.c (__ftruncate64): Likewise. + Patch by Guido Guenther . + +2002-09-27 Roland McGrath + + * sysdeps/unix/sysv/linux/x86_64/sysdep.h (__NR_pread, __NR_pwrite): + Define these to __NR_pread64, __NR_pwrite64 if not defined. + + * sysdeps/unix/sysv/linux/powerpc/lchown.S + [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Use this condition + on chown compatibility symbol; use compat_symbol, not symbol_version. + +2002-09-27 Isamu Hasegawa + + * posix/regcomp.c (reg_free): Free the debug area. + (re_compile_internal): Allocate debug area for the input string. + (create_initial_state): Check the back references in initial states + if they are really match null string in the initial state. + (parse_reg_exp): Mark the dfa that the dfa can have plural matchings. + (parse_expression): Likewise. + (parse_bracket_exp): Likewise. + * posix/regex_internal.c (re_node_set_intersect): Remove unused + function. + (re_node_set_contains): Change to return the index of node. + * posix/regex_internal.h (re_backref_cache_entry): Change the members. + (re_match_context_t): Likewise. + (struct re_dfa_t): Likewise. + (re_sift_context_t): New structure. + * posix/regexec.c (match_ctx_clear_flag): New function. + (sift_ctx_init): Likewise. + (update_cur_sifted_state): Likewise. + (add_epsilon_src_nodes): Likewise. + (sub_epsilon_src_nodes): Likewise. + (check_subexp_limits): Likewise. + (search_subexp): Likewise. + (sift_states_bkref): Likewise. + (merge_state_array): Likewise. + (sift_states_iter_bkref): Remove unused function. + (add_epsilon_backreference): Remove unused function. + (re_search_internal): Adapt new members and interfaces. + (check_matching): Check the back references in initial states + if they are really match null string in the initial state. + (proceed_next_node): Change the evaluation of back references, + since we have real registers here. + (set_regs): Adapt new interface of proceed_next_node. + (sift_states_backward): Add invocation of update_cur_sifted_state + instead of add_epsilon_backreference. + Add a sentinel to the outermost while loop. + Move the handling of back references to sift_states_bkref function, + since we can't handle some back references (e.g. a back reference + which match NULL string) here. + (transit_state_mb): Handle the new member max_mb_elem_len. + (transit_state_bkref_loop): Move the evaluation of back references to + search_subexp function, since we can't evaluate some back references + (e.g. a back reference which can have plural matchings) here. + (match_ctx_init): Adapt the new member. + (match_ctx_add_entry): Adapt the new members. + +2002-09-25 Alan Modra + + * elf/do-rel.h: Define macro DO_ELF_MACHINE_REL_RELATIVE for + 'elf_machine_rel_relative' + (elf_dynamic_do_rel): Call DO_ELF_MACHINE_REL_RELATIVE macro + instead of 'elf_machine_rel_relative'. + * sysdeps/hppa/dl-machine.h: + Define macro DO_ELF_MACHINE_REL_RELATIVE for + 'elf_machine_rel_relative' with extra map parameter + required by HPPA. + (elf_machine_rela_relative): Add plt relocation changes. + +2001-11-14 Matthew Wilcox + + * sysdeps/unix/sysv/linux/hppa/bits/ipc.h: New file. + * sysdeps/unix/sysv/linux/hppa/bits/msq.h: New file. + * sysdeps/unix/sysv/linux/hppa/bits/sem.h: New file. + * sysdeps/unix/sysv/linux/hppa/bits/shm.h: New file. + +2002-09-27 Steven Munroe + + * sysdeps/powerpc/powerpc32/Makefile: Fix typo in comment. + + * sysdeps/powerpc/powerpc64/Makefile + [$(build-shared) = yes] (pic-ccflag): Define it. + [$(subdir) = csu] (CFLAGS-initfini.s): Add -fpic here too. + +2002-09-27 Roland McGrath + + * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Remove + unneeded TLS cases. + +2002-09-27 Jakub Jelinek + + * elf/dl-addr.c (_dl_addr): Set dli_fbase to l_map_start + unconditionally. Set dli_fname to _dl_argv[0] only for main program. + +2002-09-27 Roland McGrath + + * elf/dl-addr.c (_dl_addr): Add a cast. + + * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [USE_TLS]: Handle new + TLS relocs R_X86_64_DTPMOD64, R_X86_64_DTPOFF64, and R_X86_64_TPOFF64. + + * elf/elf.h (R_X86_64_DTPMOD64, R_X86_64_DTPOFF64, R_X86_64_TPOFF64, + R_X86_64_TLSGD, R_X86_64_TLSLD, R_X86_64_DTPOFF32, + R_x86_64_GOTTPOFF, R_X86_64_TPOFF32): New macros. + (R_X86_64_NUM): Update the value. + +2002-09-24 Jakub Jelinek + + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_load_address): Don't + rely on *r_offset of R_SPARC_RELATIVE reloc in .got to contain the + addend. + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address): Use + the same l_addr computation. + * sysdeps/sparc/sparc64/configure.in: Removed. + * sysdeps/sparc/sparc64/configure: Removed. + * config.h.in (SPARC64_DYNAMIC_BEFORE_GOT): Remove. + +2002-09-26 Ulrich Drepper + + * elf/dynamic-link.h (elf_get_dynamic_info): Relocate DT_HASH entry + if necessary. + * elf/dl-lookup.c (_dl_setup_hash): DT_HASH entry is already relocated. + * elf/dl-addr.c (_dl_addr): Use .hash[1] entry to determine end of the + symbol table if necessary. + +2002-09-26 Roland McGrath + + * stdlib/longlong.h: Replaced with current version from GCC mainline, + last modified 2002-09-22 Kazu Hirata . + +2002-09-25 Andreas Jaeger + + * sysdeps/unix/sysv/linux/mips/syscalls.list: Add syscall_exit. + Patch by Guido Guenther . + +2002-09-25 Roland McGrath + + * Makeconfig (%.v.i pattern rule): Use $(CPPFLAGS). + +2002-09-24 Ulrich Drepper + + * sysdeps/unix/sysv/linux/configure.in: Recognize nptl add-on name. + +2002-09-24 Roland McGrath + + * sysdeps/mach/hurd/Versions (ld: GLIBC_2.0): Move __libc_read, + __libc_write, __libc_lseek64, to ... + (ld: GLIBC_PRIVATE): ... here. + + * csu/Versions: Use %include to get USE_TLS defined. + (libc: GLIBC_2.0) [USE_TLS && HAVE___THREAD]: Remove _errno, errno. + (libc: GLIBC_2.3) [USE_TLS && HAVE___THREAD]: Put errno here instead. + * resolv/Versions: Use %include to get USE_TLS defined. + (libc: GLIBC_2.0) [USE_TLS && HAVE___THREAD]: Remove _h_errno, h_errno, + and _res. + (libc: GLIBC_2.3) [USE_TLS && HAVE___THREAD]: Put h_errno, _res here. + + * elf/tls-macros.h [__x86_64__] (TLS_LE, TLS_IE, TLS_LD, TLS_GD): + New macros for x86-64. + + * sysdeps/unix/sysv/linux/alpha/bits/time.h: File removed. + It was indentical to the linux/bits/time.h file. + + * nscd/nscd_gethst_r.c (nscd_gethst_r): Add a cast to silence warning. + + * resolv/gethnamaddr.c (gethostbyaddr): Use socklen_t for SIZE. + +2002-09-23 Ulrich Drepper + + * po/zh_CN.po: New file. + +2002-09-23 Roland McGrath + + * posix/unistd.h: Test [__USE_UNIX98] instead of [__USE_OPEN2K] + for gethostname declaration. + + * catgets/open_catalog.c (__open_catalog): Don't use a value type + as the __builtin_expect expression, just the Boolean value. + + * sysdeps/generic/wordexp.c (parse_glob): int -> size_t for counter. + * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise. + * resolv/res_hconf.c (arg_service_list, parse_line): Likewise. + * iconvdata/tst-loading.c (main): Likewise. + * catgets/tst-catgets.c (main): Likewise. + * stdlib/tst-xpg-basename.c (main): Likewise. + * stdlib/tst-bsearch.c (main): Likewise. + * stdio-common/test-vfprintf.c (main): Likewise. + * stdio-common/tst-rndseek.c (do_test): Likewise. + * libio/tst_swprintf.c (main): Likewise. + * libio/tst-fgetws.c (main): Likewise. + * wcsmbs/tst-mbrtowc.c (check_ascii): Likewise. + * time/tst-posixtz.c (main): Likewise. + * time/tst-strptime.c (test_tm): Likewise. + * time/tst-strptime.c (main): Likewise. + * time/tst-getdate.c (main): Likewise. + * posix/tst-mmap.c (main): Likewise. + * posix/tst-getaddrinfo.c (do_test): Likewise. + * io/tst-getcwd.c (do_test): Likewise. + * resolv/tst-aton.c (main): Likewise. + * inet/tst-network.c (main): Likewise. + * libio/tst-fgetws.c (main): Likewise. + * sysdeps/posix/sprofil.c (add_region): int -> unsigned int for I. + * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): int -> unsigned int + for PTYNO. + + * stdlib/msort.c (qsort): Add a cast to silence warning. + * stdio-common/vfprintf.c (process_string_arg): Likewise. + * libio/oldfileops.c (_IO_old_do_write): Likewise. + * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Likewise. + * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise. + * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise. + * argp/argp-fmtstream.c (__argp_fmtstream_printf): Likewise. + * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. + * sysdeps/unix/grantpt.c (grantpt): Likewise. + * libio/tst-widetext.c (main): Likewise. + * libio/tst-mmap2-eofsync.c (do_test): Likewise. + * rt/tst-aio.c (test_file): Likewise. + * rt/tst-aio64.c (test_file): Likewise. + * resolv/tst-aton.c (main): Likewise. + + * catgets/catgetsinfo.h (CATGETS_MAGIC): Use U suffix on the constant. + + * ctype/ctype.c (__ctype_tolower, __ctype_toupper): Cast to int32_t + instead of uint32_t in these macros. + +2002-09-22 Bruno Haible + + * iconv/iconv_prog.c (main): Provide an error message that identifies + the wrong encoding. + + * iconvdata/tscii.c: New file. + * iconvdata/testdata/TSCII: New file. + * iconvdata/testdata/TSCII..UTF8: New file. + * iconvdata/TSCII.precomposed: New file. + * iconvdata/TSCII.irreversible: New file. + * iconvdata/gconv-modules (TSCII): New module. + * iconvdata/Makefile (modules): Add TSCII. + (distribute): Add tscii.c. + * iconvdata/tst-table-from.c (try, utf8_decode, main): Double output + buffer size. + * iconvdata/tst-tables.sh: Add TSCII. + * iconvdata/TESTS: Add TSCII. + + Revert 2002-04-18 patch. + * iconvdata/euc-jisx0213.c (EMIT_SHIFT_TO_INIT, BODY for + FROM_DIRECTION): Make the FROM direction stateful again. + * iconvdata/shift_jisx0213.c (EMIT_SHIFT_TO_INIT, BODY for + FROM_DIRECTION): Likewise. + + * iconvdata/tst-e2big.c: New file. + * iconvdata/Makefile (tests): Add tst-e2big. + +2002-09-23 Roland McGrath + + * elf/Makefile (test-extras): Define this instead of test-srcs. + * Makerules (all-nonlib): Include $(test-extras) too. + +2002-09-21 Carlos O'Donell + + * sysdeps/hppa/abort-instr.h: New file. + +2002-09-22 Roland McGrath + + * sysdeps/mach/hurd/Versions (ld: GLIBC_2.0): Remove duplicate entry. + + * sysdeps/mach/hurd/dl-sysdep.c (_exit): Add alias __GI__exit. + +2002-09-22 Andreas Schwab + + * cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Append, not overwrite. + + * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal) + (isless, islessequal, islessgreater, isunordered) [GCC >= 3.1]: + Use GCC builtins. + +2002-09-21 Roland McGrath + + * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_PLATFORM): + Correct the value so it covers all platforms, and is computed + from _DL_PLATFORMS_COUNT rather than hard-wired. + From Andrew Suffield . + +2002-09-20 Ulrich Drepper + + * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Avoid + locking when using mount tab file. + * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise. + * sysdeps/unix/sysv/linux/statvfs.c: Include . + * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise. + + * elf/dl-init.c (_dl_init): Fix test of the size of the + preinit_array section. + (call_init): Optimize access to DT_INIT_ARRAY entry a bit. + Reported by Brian Cabral . + +2002-09-20 Steven Munroe + + * sysdeps/powerpc/sysdep.h: Remove powerpc32 specific macros. + * sysdeps/powerpc/powerpc32/sysdep.h: New file. Define powerpc32 + specific macros copied from sysdeps/powerpc/sysdep.h. + * sysdeps/powerpc/powerpc64/sysdep.h: New file. Define powerpc64 + specific macros. + * sysdeps/unix/powerpc/sysdep.h: Include . + [__WORDSIZE==64]: Include sysdeps/powerpc/powerpc64/sysdep.h. + [!__WORDSIZE==64]: Include sysdeps/powerpc/powerpc32/sysdep.h. + +2002-09-19 Bruno Haible + + * intl/dcigettext.c (DCIGETTEXT): Restore errno only right before + returning. + +2002-09-17 Bruno Haible + + * sysdeps/generic/utmp-equal.h: New file, extracted from utmp_file.c. + * sysdeps/generic/utmp_file.c (setutent_file): Invalidate last_entry + also on platforms with !HAVE_UT_TYPE. + (proc_utmp_eq): Remove function. + (internal_getut_r, pututline_file): Call __utmp_equal instead. + +2002-09-20 Bruno Haible + + * abi-tags: Add support for FreeBSD with ABI OS value 3. + * elf/cache.c (print_entry): Support the GNU/FreeBSD ABI tag. + +2002-09-20 Roland McGrath + + * sysdeps/generic/gmp-mparam.h: Include . + (BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB, BITS_PER_LONGINT): Define in + terms of __WORDSIZE. + * sysdeps/x86_64/gmp-mparam.h: File removed. + * sysdeps/sparc/gmp-mparam.h: File removed. + * sysdeps/mips/mips64/gmp-mparam.h: File removed. + * sysdeps/ia64/gmp-mparam.h: File removed. + * sysdeps/alpha/gmp-mparam.h: File removed. + +2002-09-20 Steven Munroe + + * sysdeps/powerpc/elf/libc-start.c: Use long in place of int for argc + load, so as to work on both 32-bit and 64-bit. Remove unnecessary + casts. Align __libc_stack_end to 8 bytes. + +2002-09-20 Roland McGrath + + * sysdeps/powerpc/fpu/s_lrint.c: Use strong_alias/weak_alias macros + instead of asm for lrintf, __lrintf aliases. + + * sysdeps/powerpc/fpu/s_lrint.c (__lrint): Change union long array to + int array for 32-/64-bit compatibility. + From Steven Munroe . + +2002-09-17 Bruno Haible + + * sysdeps/generic/ifreq.h (__if_nextreq): New function. + * sysdeps/unix/sysv/linux/ifreq.h (__if_nextreq): New function. + * sysdeps/mach/hurd/ifreq.h (__if_nextreq): New function. + * sysdeps/gnu/ifaddrs.c (getifaddrs): Use __if_nextreq + for iterating through the list of interfaces. + * resolv/res_hconf.c (_res_hconf_reorder_addrs): Likewise. + +2002-09-20 Roland McGrath + + * sysdeps/unix/grantpt.c (pts_name): Set errno when __ptsname_r fails. + Reported by Bruno Haible . + + * sysdeps/unix/bsd/bsd4.4/isatty.c: New file. + + * sysdeps/unix/bsd/isatty.c (__isatty): Don't save and restore errno. + * sysdeps/unix/bsd/ptsname.c (__ptsname_r): Return errno value from + isatty unmodified. Reported by Bruno Haible . + +2002-09-20 Steven Munroe + + * sysdeps/powerpc/bits/setjmp.h [__WORDSIZE]: Add 64-bit jmpbuf. + * sysdeps/powerpc/bits/wordsize.h: New file. + * sysdeps/powerpc/fpu/bits/mathinline.h (lrint, lrintf): Change long + array to int array for 32-/64-bit compatibility. + +2002-09-20 Roland McGrath + + * login/programs/utmpdump.c: Don't include , . + + * sysdeps/generic/utimes.c (__utimes): Don't check TVP for null. + Reported by Bruno Haible . + + * sysdeps/generic/ifreq.h (__ifreq): Compute termination condition + before doubling RQ_LEN. + * sysdeps/unix/sysv/linux/ifreq.h (__ifreq): Likewise. + Reported by Bruno Haible . + +2002-09-18 Bruno Haible + + * login/logout.c (logout): Don't assume ut_time has the same size as + a time_t. + * login/logwtmp.c (logwtmp): Likewise. + + * sysdeps/pthread/configure: New file, moved here from + linuxthreads/sysdeps/unix/sysv/linux/configure. + +2002-09-19 Ulrich Drepper + + * sysdeps/unix/sysv/linux/_exit.c: Include . + (_exit): Don't use ABORT_INSTRUCTION if it is not defined. + Reported by Glen Nakamura . + +2002-09-19 Neal H. Walfield + + * sysdeps/mach/hurd/fork.c (__fork): Do not free the signal + thread's sigstate data structure if it has been allocated. + +2002-09-19 Roland McGrath + + * include/libc-symbols.h [HAVE_ASM_SET_DIRECTIVE] + [! HAVE_ASM_GLOBAL_DOT_NAME] (__hidden_dot_def1): Fix typo'd name. + +2002-09-18 Ulrich Drepper + + * version.h (VERSION): Bump to 2.2.94. + + * sysdeps/powerpc/fpu/Dist: Move fprrest.S and fprsave.S to... + * sysdeps/powerpc/powerpc32/fpu/Dist: ...here. New file. + * sysdeps/unix/sysv/linux/powerpc/Dist: Move kernel_stat.h to... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: ...here. + + * sysdeps/i386/Makefile: Remove obsolete db2 rules. + + * sysdeps/unix/sysv/linux/Makefile: Add exit-thread.S. + + * sysdeps/unix/sysv/linux/powerpc/Dist: Add ldd-rewrite.sh. + + * sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: New file. + +2002-09-19 Jakub Jelinek + + * sysdeps/wordsize-32/Makefile: New file. + * sysdeps/arm/Makefile: Removed. + * sysdeps/i386/Makefile (sysdep_routines, shared-only-routines): + Don't add divdi3 here. + * sysdeps/m68k/Makefile: Likewise. + * sysdeps/powerpc/powerpc32/Makefile: Likewise. + * sysdeps/sh/Makefile: Likewise. + * sysdeps/s390/s390-32/Makefile: Likewise. + +2002-09-18 Roland McGrath + + * locale/lc-ctype.c (_nl_postload_ctype): Add compat_symbol decls for + the __ctype_* compat symbols, so the relocs generated bind to the + right versioned global symbol in the shared object. + + * elf/do-rel.h (elf_dynamic_do_rel): Mask off 0x8000 bit (hidden flag) + from the value taken from the DT_VERSYM table. + * elf/dl-runtime.c (fixup, profile_fixup): Likewise. + * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Likewise. + (RESOLVE_GOTSYM): Likewise. + + * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction): + Add libc_hidden_def. + * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise. + +2002-09-18 Ulrich Drepper + + * include/signal.h: Add libc_hidden_proto for __libc_sigaction. + + * sysdeps/unix/sysv/linux/sigaction.c: If SIGCANCEL is defined + define sigaction and __sigaction as wrappers around + __libc_sigaction which rejects changing SIGCANCEL. + * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. + + * sysdeps/unix/sysv/linux/i386/clone.S: Add support for SETTLS and + SETTID/CLEARTID. + + * signal/allocrtsig.c: Move to... + * sysdeps/generic/allocrtsig.c: ...here. New file. + +2002-09-17 Jakub Jelinek + + * elf/dl-lookup.c (_dl_debug_bindings): Print TLS lookups always. + + * elf/elf.h (R_386_TLS_TPOFF, R_386_TLS_IE, R_386_TLS_GOTIE, + R_386_TLS_LE): Define. + (R_386_TLS_IE_32, R_386_TLS_LE_32, R_386_TLS_TPOFF32): Update + comments. + * sysdeps/i386/dl-machine.h (elf_machine_type_class): Return + ELF_RTYPE_CLASS_PLT for R_386_TLS_TPOFF. + (elf_machine_rel): Handle R_386_TLS_TPOFF. + (elf_machine_rela): Likewise. + Remove unnecessary RTLD_BOOTSTRAP #ifdefs. + +2002-09-17 Roland McGrath + + * malloc/Makefile ($(objpfx)memusagestat.o: sysincludes): Define + file-specific variable override so it compiles properly when using + --with-headers. + +2002-09-17 Steven Munroe + + Ported to PowerPC64 running Linux. + * sysdeps/powerpc/powerpc64/Dist: New file. + * sysdeps/powerpc/powerpc64/Implies: New file. + * sysdeps/powerpc/powerpc64/Makefile: New file. + * sysdeps/powerpc/powerpc64/__longjmp.S: New file. + * sysdeps/powerpc/powerpc64/atomicity.h: New file. + * sysdeps/powerpc/powerpc64/backtrace.c: New file. + * sysdeps/powerpc/powerpc64/bp-asm.h: New file. + * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: New file. + * sysdeps/powerpc/powerpc64/bsd-setjmp.S: New file. + * sysdeps/powerpc/powerpc64/dl-dtprocnum.h: New file. + * sysdeps/powerpc/powerpc64/dl-lookupcfg.h: New file. + * sysdeps/powerpc/powerpc64/dl-machine.c: New file. + * sysdeps/powerpc/powerpc64/dl-machine.h: New file. + * sysdeps/powerpc/powerpc64/memset.S: New file. + * sysdeps/powerpc/powerpc64/ppc-mcount.S: New file. + * sysdeps/powerpc/powerpc64/register-dump.h: New file. + * sysdeps/powerpc/powerpc64/setjmp.S: New file. + * sysdeps/powerpc/powerpc64/stpcpy.S: New file. + * sysdeps/powerpc/powerpc64/strchr.S: New file. + * sysdeps/powerpc/powerpc64/strcmp.S: New file. + * sysdeps/powerpc/powerpc64/strcpy.S: New file. + * sysdeps/powerpc/powerpc64/strlen.S: New file. + * sysdeps/powerpc/powerpc64/elf/bzero.S: New file. + * sysdeps/powerpc/powerpc64/elf/start.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: New File. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/glob64.c: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: New file. + + * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] + (C_SYMBOL_DOT_NAME): Insure that C_SYMBOL_DOT_NAME works for + various gcc versions. Dot names required for powerpc64. + [HAVE_ASM_GLOBAL_DOT_NAME] (_weak_extern): Add .weakext '.'ed symbol. + [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias): Add .global + C_SYMBOL_DOT_NAME(alias). + [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): New macro. Same as + original strong_alias macro. + [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Add .weakext/.weak + C_SYMBOL_DOT_NAME(alias). + [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Add .symver '.'ed name. + [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Add .symver + '.'ed name. + Add comments on libc_hidden_data_def and libc_hidden_data_weak usage. + [HAVE_ASM_GLOBAL_DOT_NAME] (hidden_dot_def1): New macro. Generate + .global C_SYMBOL_DOT_NAME(alias). Otherwise an empty macro. + (hidden_def): Append hidden_dot_def1 macro to definition. + (hidden_ver): Append hidden_dot_def1 macro to definition. + (hidden_data_def): New macro. Same as original hidden_def macro. + (hidden_data_ver): New macro. Same as original hidden_ver macro. + [HAVE_ASM_GLOBAL_DOT_NAME] (hidden_dot_weak1): New macro. Generate + .weakext C_SYMBOL_DOT_NAME(alias). Otherwise an empty macro. + (hidden_weak): Append hidden_dot_weak1 macro to definition. + (hidden_data_weak): New macro. Same as original hidden_weak macro. + [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Define as .__GI_name. + Otherwise defined as __GI_name. + (libc_hidden_data_def): New macro. Use hidden_data_def. + (libc_hidden_data_weak): New macro. Use hidden_data_weak. + (libc_hidden_data_ver): New macro. Use hidden_data_ver. + (rtld_hidden_data_def): New macro. Use hidden_data_def. + (rtld_hidden_data_weak): New macro. Use hidden_data_weak. + (rtld_hidden_data_ver): New macro. Use hidden_data_ver. + (libm_hidden_data_def): New macro. Use hidden_data_def. + (libm_hidden_data_weak): New macro. Use hidden_data_weak. + (libm_hidden_data_ver): New macro. Use hidden_data_ver. + * inet/in6_addr.c: Replace libc_hidden_def with libc_hidden_data_def. + +2002-09-17 Ulrich Drepper + + * include/libc-symbols.h: Change *hidden_proto macros to accept + option parameters and pass those to the attribute definition. + * include/unistd.h (_exit): Add __noreturn__ to libc_hidden_proto call. + + * include/unistd.h: Declare __libc_pause. + + * include/sys/socket.h: Declare __libc_send, __libc_recv, + __libc_sendto, __libc_sendmsg, __libc_recvmsg, and __libc_accept. + + * include/unistd.h: Declare __libc_fork. + +2002-09-17 Roland McGrath + + * sunrpc/xcrypt.c (passwd2des_internal): Renamed fom passwd2des. + (passwd2des): Define it as an alias. + (xencrypt, xdecrypt): Call passwd2des_internal instead of passwd2des. + +2002-09-12 Bruno Haible + + * include/sys/sysctl.h (__sysctl): Add libc_hidden_proto. + * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Add libc_hidden_def. + + * include/rpc/xdr.h (xdrstdio_create): Add libc_hidden_proto. + * sunrpc/xdr_stdio.c (xdrstdio_create): Add libc_hidden_def. + +2002-09-05 Steven Munroe + + * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc64__] + (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_STAT64_SYSCALL, __ASSUME_IPC64, + __ASSUME_FCNTL64, __ASSUME_MMAP2_SYSCALL): Don't define these. + PowerPC64 does not have separate 64-bit syscalls. + +2002-09-16 Roland McGrath + + * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Add a cast. + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL): + New macro. + + * elf/rtld.c [HP_TIMING_NONAVAIL]: Fix last change for this case. + + * include/unistd.h: Uncomment libc_hidden_proto for _exit. + * sysdeps/mach/hurd/_exit.c: Add libc_hidden_def. + * sysdeps/generic/_exit.c: Likewise. + +2002-09-12 Jakub Jelinek + + * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Regenerate. + + * elf/rtld.c (struct dl_start_final_info): New. + (_dl_start_final): Change second argument to struct + dl_start_final_info *. Set start_time from info. + (_dl_start): Remove bootstrap_map variable, add info. + Define bootstrap_map as macro. If not DONT_USE_BOOTSTRAP_MAP, + store HP_TIMING_NOW result into info.start_time. + +2002-09-16 Andreas Jaeger + + * sysdeps/unix/sysv/linux/_exit.c: Add libc_hidden_def and weak_alias + to _Exit. + * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise. + +2002-09-15 Franz Sirl + + * sysdeps/powerpc/abort-instr.h: New file. + +2002-09-14 Ulrich Drepper + + * sysdeps/generic/libc-start.c (__libc_start_main): Remove bogus + comment. + + * test-skeleton.c (main): Provide more information in case waitpid + fails. + + * include/unistd.h: Declare __exit_thread. + * sysdeps/generic/libc-start.c (__libc_start_main): Remove dummy_addr. + Wrap call to main in setjmp if HAVE_CANCELBUF is defined. + * sysdeps/unix/sysv/linux/exit-thread.S: New file. + * sysdeps/unix/sysv/linux/_exit.c: New file. + * sysdeps/unix/sysv/linux/i386/_exit.S: New file. + * sysdeps/unix/sysv/linux/Makefile [subdir==posix] (sysdep_routines): + Add exit-thread. + + * configure.in: Add dl_iterate_phdr to test using -nostdlib. + +2002-09-12 Jakub Jelinek + + * sysdeps/i386/dl-machine.h (elf_machine_rel) + (case R_386_TLS_DTPMOD32): Don't use addend. + [case R_386_TLS_TPOFF32]: Remove redundant SYM_MAP != NULL check. + (elf_machine_rela): Add support for TLS relocs. + +2002-09-14 Roland McGrath + + * Makefile (manual/%): Add this pattern target to the iconvdata/% rule. + +2002-07-29 Steven Munroe + + * stdlib/longlong.h [_ARCH_PPC && W_TYPE_SIZE!=32]: Add powerpc64 + specific asm macros for multiple percision integer math. + +2002-06-04 Steven Munroe + + * sysdeps/generic/ldconfig.h (FLAG_POWERPC_LIB64) New macro. + * elf/cache.c (print_entry): Add case for FLAG_POWERPC_LIB64. + Remove per-machine conditionals for FLAG_* cases. + * sysdeps/unix/sysv/linux/powerpc/ldconfig.h: New file. + * sysdeps/unix/sysv/linux/powerpc/readelflib.c: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/dl-cache.h: New file. + +2002-09-10 Alan Modra + + * csu/gmon-start.c [!TEXT_START]: Define TEXT_START if not already + defined in entry.h. + (__gmon_start__) [!ENTRY_POINT_DECL]: Use TEXT_START macro to obtain + lowest address for profiling in __monstartup call. + * sysdeps/powerpc/powerpc64/elf/entry.h: New file. + +2002-09-14 Roland McGrath + + * sysdeps/unix/sysv/linux/pread.c: __NR_pread64 may be defined + instead of __NR_pread. + * sysdeps/unix/sysv/linux/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/pwrite.c: __NR_pwrite64 may be defined + instead of __NR_pwrite. + * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. + +2002-09-13 Roland McGrath + + * manual/libc.texinfo: @ifinfo -> @ifnottex around copyright notice. + +2002-09-13 Andreas Jaeger + + * sysdeps/unix/sysv/linux/mips/syscalls.list: Add readahead + syscall. Patch by Guido Guenther . + +2002-09-12 Ulrich Drepper + + * elf/elf.h: Correct DT_LOOS and DT_HIOS values. + +2002-09-10 Ulrich Drepper + + * sysdeps/powerpc/fpu/s_isnan.c: #undef __isnanf and isnanf after + reading the headers. + +2002-09-12 Roland McGrath + + * elf/rtld.c (_dl_start_final): Move _begin, _end decls outside the fn. + (_dl_start) [DONT_USE_BOOTSTRAP_MAP]: Use &_begin instead of l_addr to + find the ELF header. + + * elf/rtld.c (dl_main) [USE_TLS]: Adjust l_tls_initimage of main + executable if needed, in case it's actually a shared object. + +2002-09-11 Roland McGrath + + * elf/dl-load.c (_dl_map_object_from_fd): Use l_addr instead of + l_map_start to adjust l_tls_initimage. + + * nss/getnssent_r.c (__nss_getent_r): Use EAGAIN instead of errno + when using h_errno and it's not set to NETDB_INTERNAL. + * nss/getXXbyYY_r.c [NEED_H_ERRNO]: Likewise. + + * Makefile ($(common-objpfx)testrun.sh): New target. + (others): Depend on it. + (postclean-generated): Append it. + + * nss/bug-erange.c: New file. + * nss/Makefile (tests): Add it. + + * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Return errno + instead of always EAGAIN when status is NSS_STATUS_TRYAGAIN. + + * sysdeps/generic/dl-environ.c (unsetenv): Redo last fix without + strncmp, keeps the code smaller for a non-performance-critical case. + + * sysdeps/generic/dl-environ.c (unsetenv): Rewritten using strncmp, + no longer wrongly matches arbitrary prefixes of NAME. + Reported by Jakub Jelinek . + +2002-09-11 Jakub Jelinek + + * posix/bug-regex11.c (tests): New array. + (main): Rewritten to run more different tests. + +2002-09-10 Roland McGrath + + * nscd/Makefile (CPPFLAGS-nscd, CPPFLAGS-nscd_conf, CPPFLAGS-dbg_log) + (CPPFLAGS-connections, CPPFLAGS-hstcache): Variables removed. + Instead, catch all of $(nscd-modules) via cppflags-iterator.mk. + + * sysdeps/powerpc/fpu/s_isnan.c: Do macro hackery on __GI___isnanf as + well so we don't get it declared by include/math.h's hidden_proto. + Then do hidden_proto for __isnanf locally so hidden_def works right. + + * posix/bug-regex5.c (main): Use `union locale_data_value' rather than + a cast to turn nl_langinfo return value into an integer. + +2002-09-10 Isamu Hasegawa + + * posix/regexec.c (build_trtable): Fix the destination of + newline to prevent wrong states from overwriting. + Append break statements to optimization. + +2002-09-10 Isamu Hasegawa + + * posix/regcomp.c: Wrap #include wchar.h and wctype.h in #if. + (build_range_exp): Add castings to strlen invocations. + (build_collating_symbol): Restore the type of characters from "char" + to "unsigned char", and supplement castings. + (build_collating_symbol): Likewise. + (build_equiv_class): Likewise. + (build_charclass): Likewise. + (seek_collating_symbol_entry): Likewise. + (parse_bracket_exp): Likewise. + (build_word_op): Supplement a casting. + * posix/regex_internal.c: Wrap #include wchar.h and wctype.h in #if. + (re_string_allocate): Fix castings. + (re_string_construct): Likewise. + (re_string_construct_common): Likewise. + (re_string_realloc_buffers): Likewise. + (build_wcs_buffer): Likewise. + (build_wcs_upper_buffer): Likewise. + (re_string_skip_chars): Likewise. + (re_string_reconstruct): Likewise. + * posix/regex_internal.h: Restore the type of characters in + re_string_t and bracket_elem_t from "char" to "unsigned char". + (re_string_elem_size_at): Fix castings. + * posix/regexec.c: Wrap #include wchar.h and wctype.h in #if. + (transit_state_bkref_loop): Restore the type of characters from + "char" to "unsigned char", and append a cast to "char*" pointer in + array subscript. + (check_node_accept_bytes): Likewise. + (find_collation_sequence_value): Likewise. + +2002-09-10 Hartvig Ekner + + * sysdeps/mips/memcpy.S: New file. + * sysdeps/mips/memset.S: New file. + * sysdeps/mips/fpu/e_sqrt.c: New file. + * sysdeps/mips/fpu/e_sqrtf.c: New file. + + * fpu/fclrexcpt.c: Cleaned up the FPU exception stuff - was not + functional before. Also removed all SHLIB_COMPAT stuff. + * fpu/fegetenv.c: Likewise. + * fpu/fesetenv.c:: Likewise. + * fpu/feupdateenv.c: Likewise. + * fpu/fgetexcptflg.c: Likewise. + * fpu/fraiseexcpt.c: Likewise. + + * sysdeps/mips/fpu/fsetexcptflg.c: New file. + +2002-09-09 Jakub Jelinek + + * include/math.h (__finite_internal, __finitef_internal, + __finitel_internal, __isinf_internal, __isnan_internal): Remove. + (isfinite): Remove. + (__finite, __isinf, __isnan, __finitef, __isinff, __isnanf, __finitel, + __isinfl, __isnanl): Add hidden_proto. + (__fpclassify, __fpclassifyf, __fpclassifyl, __expm1l): Add + libm_hidden_proto. + * math/Makefile (libm-calls): Add s_isinf and s_isnan. + * stdio-common/printf_fp.c (__printf_fp): Remove INTUSE from + __is{inf,nan} calls. + * stdio-common/printf_size.c (printf_size): Likewise. + * sysdeps/generic/printf_fphex.c (__printf_fphex): Likewise. + * sysdeps/generic/s_ldexp.c (__ldexp): Likewise. + * sysdeps/generic/s_ldexpf.c (__ldexpf): Likewise. + * sysdeps/generic/s_ldexpl.c (__ldexpl): Likewise. + * sysdeps/generic/s_expm1l.c (__expm1l): Add libm_hidden_def. + * sysdeps/i386/fpu/s_finite.S (__finite_internal): Remove alias. + (__finite): Add hidden_def. + * sysdeps/i386/fpu/s_finitef.S (__finitef_internal): Remove alias. + (__finitef): Add hidden_def. + * sysdeps/i386/fpu/s_finitel.S (__finitel_internal): Remove alias. + (__finitel): Add hidden_def. + * sysdeps/i386/fpu/s_isinfl.c (__isinfl): Remove INTDEF. Add + hidden_def. + * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise. + * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Add + libm_hidden_def. + * sysdeps/i386/fpu/s_expm1l.S (__expm1l): Likewise. + * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Remove INTDEF. Add + hidden_def. + * sysdeps/ieee754/dbl-64/s_isinf.c (__isinf): Likewise. + (__isinfl): Remove INTDEF. + * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Remove INTDEF. Add + hidden_def. + (__isnanl): Remove INTDEF. + * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Add + libm_hidden_def. + * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Use __sin and __cos + instead of sin and cos. + * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Remove INTDEF. + Add hidden_def. + * sysdeps/ieee754/flt-32/s_isinff.c (__isinff): Likewise. + * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise. + * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Add + libm_hidden_def. + * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Remove INTDEF. + Add hidden_def. + * sysdeps/ieee754/ldbl-128/s_isinfl.c (__isinfl): Likewise. + * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise. + * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl): Add + libm_hidden_def. + * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add + libm_hidden_def. + * sysdeps/ieee754/ldbl-96/s_finitel.c (__finitel): Remove INTDEF. + Add hidden_def. + * sysdeps/ieee754/ldbl-96/s_isinfl.c (__isinfl): Likewise. + * sysdeps/ieee754/ldbl-96/s_isnanl.c (__isnanl): Likewise. + * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c (__fpclassifyl): Add + libm_hidden_def. + * sysdeps/ia64/fpu/s_finite.S (__finite_internal, __finitef_internal, + __finitel_internal): Remove aliases. + (__finite, __finitef, __finitel): Add hidden_def. + * sysdeps/ia64/fpu/s_isnan.S (__isnan_internal, __isnanf_internal, + __isnanl_internal): Remove aliases. + (__isnan, __isnanf, __isnanl): Add hidden_def. + * sysdeps/ia64/fpu/s_isinf.S (__isinf_internal, __isinff_internal, + __isinfl_internal): Remove aliases. + (__isinf, __isinff, __isinfl): Add hidden_def. + * sysdeps/ia64/fpu/s_fpclassify.S (__fpclassify, __fpclassifyf, + __fpclassifyl): Add libm_hidden_def. + * sysdeps/ia64/fpu/s_expm1l.S (__expm1l): Likewise. + * sysdeps/m68k/s_isinfl.c (__isinfl): Remove INTDEF. Add hidden_def. + * sysdeps/m68k/fpu/s_isinf.c (INTDEFX): Remove. + (hidden_defx): Define and use. + * sysdeps/m68k/fpu/s_fpclassifyl.c (__fpclassifyl): Add + libm_hidden_def. + * sysdeps/m68k/fpu/s_expm1l.c (__expm1l): Likewise. + * sysdeps/m68k/s_isnanl.c (__isnanl): Add hidden_def. + * sysdeps/powerpc/fpu/s_isnan.c (__isnan, __isnanf, __isnanl): + Remove INTDEF. + (__isnan, __isnanf): Add hidden_def. + * sysdeps/x86_64/fpu/s_finitel.S (__finitel_internal): Remove alias. + (__finitel): Add libm_hidden_def. + * sysdeps/x86_64/fpu/s_expm1l.S (__expm1l): Likewise. + + * include/fenv.h (feraiseexcept, fesetenv): Add libm_hidden_proto. + * sysdeps/alpha/fpu/fesetenv.c (fesetenv): Add libm_hidden_ver. + * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Likewise. + * sysdeps/arm/fpu/fesetenv.c (fesetenv): Likewise. + * sysdeps/arm/fpu/fraiseexcpt.c (feraiseexcept): Likewise. + * sysdeps/generic/fesetenv.c (fesetenv): Likewise. + * sysdeps/generic/fraiseexcpt.c (feraiseexcept): Likewise. + * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise. + * sysdeps/i386/fpu/fraiseexcpt.c (feraiseexcept): Likewise. + * sysdeps/m68k/fpu/fesetenv.c (fesetenv): Likewise. + * sysdeps/m68k/fpu/fraiseexcpt.c (feraiseexcept): Likewise. + * sysdeps/mips/fpu/fesetenv.c (fesetenv): Likewise. + * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Likewise. + * sysdeps/powerpc/fpu/fesetenv.c (fesetenv): Likewise. + * sysdeps/powerpc/fpu/fraiseexcpt.c (feraiseexcept): Likewise. + * sysdeps/sparc/fpu/fesetenv.c (fesetenv): Likewise. + * sysdeps/sparc/fpu/fraiseexcpt.c (feraiseexcept): Likewise. + * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Add libm_hidden_def. + * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise. + * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Likewise. + * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Likewise. + * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise. + * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise. + * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise. + * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Likewise. + * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Likewise. + * sysdeps/x86_64/fpu/fraiseexcpt.c (feraiseexcept): Likewise. + +2002-09-09 Steven Munroe + + * elf/elf.h: Add powerpc64 specific elf relocation and dynamic types. + +2002-09-09 Jakub Jelinek + + * elf/dl-error.c (_dl_signal_cerror): Don't print anything if only + LD_DEBUG=statistics or LD_TRACE_PRELINKING. + +2002-09-09 Ulrich Drepper + + * string/stratcliff.c: Some more strncpy tests. + Patch by Daniel Jacobowitz . + +2002-09-08 Roland McGrath + + * resolv/resolv.h: Include for u_long even in + the [__need_res_state] case. + Reported by Bruno Haible . + +2002-09-04 Bruno Haible + + * sysdeps/generic/bits/ustat.h: Comment fix. + * io/sys/sendfile.h: Comment fix. + * sysdeps/posix/pread.c: Comment fix. + * sysdeps/posix/pread64.c: Comment fix. + * sysdeps/posix/pwrite.c: Comment fix. + * sysdeps/posix/pwrite64.c: Comment fix. + +2002-09-06 Roland McGrath + + * posix/sys/utsname.h (_UTSNAME_SYSNAME_LENGTH): New macro, defined + to _UTSNAME_LENGTH if not already defined by . + (_UTSNAME_RELEASE_LENGTH, _UTSNAME_VERSION_LENGTH): Likewise. + (_UTSNAME_MACHINE_LENGTH): Likewise. + (struct utsname): Use new macros instead of _UTSNAME_LENGTH. + +2002-09-06 Ulrich Drepper + + * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Correct + test for filesystem type name of mount points. + + * include/errno.h: Use errno definition with __thread for now only + in libc and ld.so. + + * test-skeleton.c (main): Improve error message for unexpected + signal case. + +2002-09-05 Roland McGrath + + * ctype/ctype-info.c: Renamed __ctype_old_* symbols to __ctype_*. + * locale/lc-ctype.c (_nl_postload_ctype): Likewise. + +2002-09-05 Jakub Jelinek + + * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Unlock and return in + case of failure. + +2002-09-04 Bruno Haible + + * sysdeps/unix/sysv/linux/sigset-cvt-mask.h (sigset_set_old_mask, + sigset_get_old_mask): Turn into inline functions. + * sysdeps/unix/sysv/aix/sigset-cvt-mask.h (sigset_set_old_mask, + sigset_get_old_mask): Likewise. + * sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h (sigset_set_old_mask, + sigset_get_old_mask): Likewise. + * sysdeps/generic/sigset-cvt-mask.h (sigset_set_old_mask): Declutter + syntax. + + * elf/readlib.c (process_file): Conditionalize check for QMAGIC. + + * sysdeps/generic/_strerror.c (_sys_errlist, _sys_nerr): Remove + default definitions. + (__strerror_r): Use _sys_errlist_internal instead of _sys_errlist, + _sys_nerr_internal instead of _sys_nerr. + + * nscd/connections.c (handle_request): Declare CALLER inside #if. + +2002-07-29 Steven Munroe + + * sysdeps/powerpc/__longjmp.S: Moved to... + * sysdeps/powerpc/powerpc32/__longjmp.S: ...here. + * sysdeps/powerpc/add_n.S: Moved to... + * sysdeps/powerpc/powerpc32/add_n.S: ...here. + * sysdeps/powerpc/addmul_1.S: Moved to... + * sysdeps/powerpc/powerpc32/addmul_1.S: ...here. + * sysdeps/powerpc/atomicity.h: Moved to... + * sysdeps/powerpc/powerpc32/atomicity.h: ...here. + * sysdeps/powerpc/backtrace.c: Moved to... + * sysdeps/powerpc/powerpc32/backtrace.c: ...here. + * sysdeps/powerpc/bp-asm.h: Moved to... + * sysdeps/powerpc/powerpc32/bp-asm.h: ...here. + * sysdeps/powerpc/bsd-_setjmp.S: Moved to... + * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: ...here. + * sysdeps/powerpc/bsd-setjmp.S: Moved to... + * sysdeps/powerpc/powerpc32/bsd-setjmp.S: ...here. + * sysdeps/powerpc/dl-machine.c: Moved to... + * sysdeps/powerpc/powerpc32/dl-machine.c: ...here. + * sysdeps/powerpc/dl-machine.h: Moved to... + * sysdeps/powerpc/powerpc32/dl-machine.h: ...here. + * sysdeps/powerpc/dl-start.S: Moved to... + * sysdeps/powerpc/powerpc32/dl-start.S: ...here. + * sysdeps/powerpc/gprrest0.S: Moved to... + * sysdeps/powerpc/powerpc32/gprrest0.S: ...here. + * sysdeps/powerpc/gprrest1.S: Moved to... + * sysdeps/powerpc/powerpc32/gprrest1.S: ...here. + * sysdeps/powerpc/gprsave0.S: Moved to... + * sysdeps/powerpc/powerpc32/gprsave0.S: ...here. + * sysdeps/powerpc/gprsave1.S: Moved to... + * sysdeps/powerpc/powerpc32/gprsave1.S: ...here. + * sysdeps/powerpc/lshift.S: Moved to... + * sysdeps/powerpc/powerpc32/lshift.S: ...here. + * sysdeps/powerpc/memset.S: Moved to... + * sysdeps/powerpc/powerpc32/memset.S: ...here. + * sysdeps/powerpc/mul_1.S: Moved to... + * sysdeps/powerpc/powerpc32/mul_1.S: ...here. + * sysdeps/powerpc/ppc-mcount.S: Moved to... + * sysdeps/powerpc/powerpc32/ppc-mcount.S: ...here. + * sysdeps/powerpc/register-dump.h: Moved to... + * sysdeps/powerpc/powerpc32/register-dump.h: ...here. + * sysdeps/powerpc/rshift.S: Moved to... + * sysdeps/powerpc/powerpc32/rshift.S: ...here. + * sysdeps/powerpc/setjmp.S: Moved to... + * sysdeps/powerpc/powerpc32/setjmp.S: ...here. + * sysdeps/powerpc/stpcpy.S: Moved to... + * sysdeps/powerpc/powerpc32/stpcpy.S: ...here. + * sysdeps/powerpc/strchr.S: Moved to... + * sysdeps/powerpc/powerpc32/strchr.S: ...here. + * sysdeps/powerpc/strcmp.S: Moved to... + * sysdeps/powerpc/powerpc32/strcmp.S: ...here. + * sysdeps/powerpc/strcpy.S: Moved to... + * sysdeps/powerpc/powerpc32/strcpy.S: ...here. + * sysdeps/powerpc/strlen.S: Moved to... + * sysdeps/powerpc/powerpc32/strlen.S: ...here. + * sysdeps/powerpc/sub_n.S: Moved to... + * sysdeps/powerpc/powerpc32/sub_n.S: ...here. + * sysdeps/powerpc/submul_1.S: Moved to... + * sysdeps/powerpc/powerpc32/submul_1.S: ...here. + * sysdeps/powerpc/elf/bzero.S: Moved to... + * sysdeps/powerpc/powerpc32/elf/bzero.S: ...here. + * sysdeps/powerpc/elf/start.S: Moved to... + * sysdeps/powerpc/powerpc32/elf/start.S: ...here. + * sysdeps/powerpc/fpu/__longjmp.S: Moved to... + * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: ...here. + * sysdeps/powerpc/fpu/fprrest.S: Moved to... + * sysdeps/powerpc/powerpc32/fpu/fprrest.S: ...here. + * sysdeps/powerpc/fpu/fprsave.S: Moved to... + * sysdeps/powerpc/powerpc32/fpu/fprsave.S: ...here. + * sysdeps/powerpc/fpu/setjmp.S: Moved to... + * sysdeps/powerpc/powerpc32/fpu/setjmp.S: ...here. + * sysdeps/powerpc/fpu/s_copysign.S: Moved to... + * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: ...here. + * sysdeps/powerpc/fpu/s_copysignf.S: Moved to... + * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: ...here. + * sysdeps/unix/sysv/linux/powerpc/brk.S: Moved to... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: ...here. + * sysdeps/unix/sysv/linux/powerpc/clone.S: Moved to... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: ...here. + * sysdeps/unix/sysv/linux/powerpc/glob64.c: Moved to... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: ...here. + * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h: Moved to... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: ...here. + * sysdeps/unix/sysv/linux/powerpc/socket.S: Moved to... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: ...here. + * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Moved to... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: ...here. + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Moved to... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: ...here. + Support PowerPC64. Separate powerpc into powerpc/powerpc32 and + powerpc/powerpc64. + +2002-07-29 Steven Munroe + + * FAQ.in: Add powerpc64 to supported targets list. Also state the + minimum gcc version is 3.2 + * README: Add powerpc64 to supported targets list. + * configure.in: Change machine=powerpc to machine=powerpc/powerpc32. + Add powerpc64 and machine=powerpc/powerpc64. + (HAVE_ASM_GLOBAL_DOT_NAME): Define if linux*powerpc/powerpc64*. + * shlib-versions: Set DEFAULT version to 2.2.5 for powerpc64. + * sysdeps/powerpc/Dist: Remove dl-machine.c, dl-start.S, ppc-mcount.S, + gprsave1.S, gprsave0.S, gprrest1.S, and gprrest0.S. + * sysdeps/powerpc/powerpc32/Dist: New file. + * sysdeps/powerpc/Implies: Remove wordsize-32 and powerpc/soft-fp. + * sysdeps/powerpc/powerpc32/Implies: New file. + * sysdeps/powerpc/Makefile(cflags): Remove powerpc32 specific cflags. + ($(with-fp) = no): Move test to powerpc32/Makefile. + ($(subdir) = misc): Move to powerpc32/Makefile. + ($(build-shared) = yes): Move to powerpc32/Makefile. + ($(subdir) = csu): Move to powerpc32/Makefile. + (sysdep-rtld-routines): Remove dl-start. Moved these bits to ... + * sysdeps/powerpc/powerpc32/Makefile: New file. + * sysdeps/powerpc/Versions: Remove libgcc functions. + * sysdeps/powerpc/powerpc32/Versions: New file. + * sysdeps/powerpc/fpu/Makefile: Remove fprsave and fprrest. + * sysdeps/powerpc/powerpc32/fpu/Makefile: New file. + * sysdeps/unix/sysv/linux/configure.in (powerpc*): + Set arch_minimum_kernel=2.4.19 for powerpc/powerpc64. Also set + libc_cv_gcc_unwind_find_fde=yes only if !powerpc/powerpc64. + ($machine): Add powerpc/powerpc64 to if ... | for + libc_cv_slibdir=/libc64. + (powerpc*): Set ldd_rewrite_script. + * sysdeps/unix/sysv/linux/powerpc/ldd-rewrite.sed: New file. + * sysdeps/unix/sysv/linux/powerpc/Dist: Remove clone.S. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: New file. + Add clone.S. + * sysdeps/unix/sysv/linux/powerpc/Makefile: Remove oldgetrlimit64. + * sysdeps/unix/sysv/linux/powerpc/Versions: Remove GLIBC_2.0 + functions. Remove GLIBC_2.2 functions except getrlimit and + setrlimit. Moved them to ... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: New file. + +2002-09-04 Ulrich Drepper + + * libio/tst-atime.c: Include . + (do_test): Only perform fstatvfs check if ST_NOATIME is defined. + +2002-09-03 Isamu Hasegawa + + * posix/regcomp.c (regcomp): Append "__restrict" modifier to avoid + warnings of some compilers. + (build_collating_symbol): Change the type of characters from + "unsigned char" to "char", and append a cast to "char*" pointer in + array subscript. + (build_collating_symbol): Likewise. + (build_equiv_class): Likewise. + (build_charclass): Likewise. + (re_compile_pattern): Remove incorrect cast. + (re_compile_fastmap_iter): Change the type of characters from + "unsigned char" to "char", and append a cast to "char*" pointer + in array subscript. + (parse_bracket_exp): Likewise. + * posix/regex_internal.c (re_string_construct_common): Likewise. + (re_string_allocate): Likewise. + (re_string_construct): Likewise. + (re_string_realloc_buffers): Likewise. + (build_wcs_buffer): Likewise. + (re_string_reconstruct): Likewise. + * posix/regex_internal.h: Change the type of characters in + re_string_t and bracket_elem_t from "unsigned char" to "char". + * posix/regexec.c (regexec): Append "__restrict" modifier to avoid + warnings of some compilers. + (transit_state_bkref_loop): Change the type of characters from + "unsigned char" to "char", and append a cast to "char*" pointer in + array subscript. + (check_node_accept_bytes): Likewise. + (find_collation_sequence_value): Likewise. + +2002-09-04 Roland McGrath + + * resolv/nss_dns/dns-network.c (MAXPACKET): Increase minimum value + from 1024 to 65536, to avoid buffer overrun. + +2002-09-03 Gerhard Tonn + + * sysdeps/s390/s390/fpu/libm-test-ulps: Regenerate. + +2002-09-04 Ulrich Drepper + + * libio/tst-atime.c (do_test): Make sure noatime flag isn't set + for filesystem. + +2002-09-04 Jakub Jelinek + + * posix/bug-regex11.c: New test. + * posix/Makefile (tests): Add bug-regex11. + +2002-09-03 Jakub Jelinek + + * locale/tst-C_locale.c (run_test): Pass LC_ALL_MASK not LC_ALL to + newlocale. + +2002-09-02 Roland McGrath + + * sysdeps/powerpc/elf/libc-start.c [! SHARED]: Call + __pthread_initialize_minimal and __libc_check_standard_fds to + match the generic version. + + * sysdeps/unix/sysv/linux/shmat.c (shmat): Add a cast to avoid a + warning when INLINE_SYSCALL macro uses the __syscall_ipc function. + + * locale/localeconv.c (__localeconv): Cast -1 to char to avoid + warnings on platorms where char is unsigned. + +2002-09-02 Ulrich Drepper + + * version.h (VERSION): Bump to 2.2.93. + + * sysdeps/unix/sysv/linux/x86_64/Dist: Add __start_context.S. + +2002-09-02 Jakub Jelinek + + * elf/rtld.c (dl_main): If prelinking succeeded, mark all objects + as relocated. + +2002-09-02 Jack Howarth + + * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated. + +2002-09-02 Jakub Jelinek + + * locale/localeinfo.h (struct locale_data): Add private.ctype. + * wcsmbs/wcsmbsload.h (__wcsmbs_gconv_fcts, __wcsmbs_last_locale, + __wcsmbs_to_wc, update_conversion_ptrs): Removed. + (__wcsmbs_gconv_fcts_c, _nl_C_LC_CTYPE): New externs. + (__wcsmbs_load_conv): Remove const from argument. + (_nl_cleanup_ctype): New proto. + (get_gconv_fcts): New function. + * wcsmbs/wcsmbsload.c (__wcsmbs_last_locale): Removed. + (__wcsmbs_to_wc): Rename back to... + (to_wc): ... this. + (__wcsmbs_gconv_fcts): Rename to... + (__wcsmbs_gconv_fcts_c): ... this. Make const. Use to_wc. + (lock): Removed. + (__libc_setlocale_lock): New extern. + (__wcsmbs_load_conv): Remove const from argument. + Initialize new_category->private.ctype instead of a global + variable. + (__wcsmbs_clone_conv): Use get_gconv_fcts instead of + update_function_ptrs. No locking is necessary. + (_nl_cleanup_ctype): New function. + * wcsmbs/btowc.c (__btowc): Use get_gconv_fcts instead of + update_function_ptrs and a global __wcsmbs_gconv_fcts variable. + * wcsmbs/mbrtowc.c (__mbrtowc): Likewise. + * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise. + * wcsmbs/wcrtomb.c (__wcrtomb): Likewise. + * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise. + * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise. + * wcsmbs/wctob.c (wctob): Likewise. + * stdlib/mblen.c (mblen): Likewise. + * stdlib/mbtowc.c (mbtowc): Likewise. + * stdlib/wctomb.c (wctomb): Likewise. + * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise. + Remove calls to wcsmbs_get_towc_func and wcsmbs_free_funcs. + * wcsmbs/mbsrtowcs_l.c (wcsmbs_get_towc_func, wcsmbs_free_funcs): + Removed. + +2002-09-02 Roland McGrath + + * sysdeps/mach/hurd/Versions (ld: GLIBC_2.0): Add __fxstat64. + +2002-09-01 Roland McGrath + + * ctype/ctype.h (__ctype_b, __ctype_toupper, __ctype_tolower): + Variable declarations removed. + (__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): Declare + these functions to replace them. + (__isctype, tolower, toupper, _tolower, _toupper): Use those accessor + functions plus an indirection rather than the old global variables. + * include/ctype.h (__isctype, tolower, _tolower, toupper, _toupper): + Macros removed. + (__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): New extern + inline functions. + * ctype/ctype-info.c: Revert last reversion back the other way. + Define tsd vars CTYPE_B, CTYPE_TOLOWER, CTYPE_TOUPPER. + Define real function versions of include/ctype.h inlines here. + * ctype/Versions (libc: GLIBC_2.3): Add __ctype_b_loc, + __ctype_tolower_loc, __ctype_toupper_loc. + * locale/lc-ctype.c: Revert last reversion back the other way. + (_nl_postload_ctype): If current thread uses the global locale, + update its tsd vars. + * locale/uselocale.c (__uselocale): Update tsd vars from new locale. + * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add CTYPE_B, + CTYPE_TOLOWER, CTYPE_TOUPPER. + + * sysdeps/generic/bits/libc-tsd.h (__libc_tsd_address): New macro. + * sysdeps/mach/hurd/bits/libc-tsd.h (__libc_tsd_address): Renamed + from __libc_tsd_threadvar_location. + (__libc_tsd_set, __libc_tsd_get): Update uses. + +2002-09-01 Ulrich Drepper + + * ctype/ctype.h: Undo the patch before the last one. Put back the + macro definitions for the standard functions to access the + classification and mapping arrays. + * include/ctype.h: Partly revert last patch. Move the macro + definitions for the exported functions back to the public header. + #undef all the macros defined here before redefining. + * ctype/ctype-info.c: Revert last patch. + * locale/lc-ctype.c: Revert last patch. + + * ctype/Makefile (routines): Add isctype. + * ctype/Versions (libc): Export isctype and __isctype for GLIBC_2.3. + * ctype/ctype.h: Add declaration of isctype. + * include/ctype.h: Declare __isctype. + * ctype/isctype.c: New file. + +2002-09-01 Roland McGrath + + * sysdeps/generic/libc-tls.c (__pthread_initialize_minimal): Pass + TLS_INIT_TCB_SIZE, TLS_INIT_TCB_ALIGN instead of 0, 1. + + * include/getopt.h: Include before . + + * locale/findlocale.c (_nl_remove_locale): Don't search in + _nl_locale_file_list if DATA->alloc is ld_archive. + Use _nl_unload_locale to do the rest of the work. + + * locale/loadarchive.c (_nl_load_locale_from_archive): Set usage_count + of new structure to UNDELETABLE. + + * wctype/wctype.h (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, + iswgraph, iswprint, iswpunct, iswspace, iswupper, iswxdigit, iswblank, + towlower, towupper): Macros removed. + * ctype/ctype.h (__tobody): Put parens around macro argument. + (__isctype): Macro removed. + (__ctype_b, __ctype_tolower, __ctype_toupper): Decls removed. + (isalnum, isalpha, iscntrl, isdigit, islower, isgraph, isprint, + ispunct, isspace, isupper, isxdigit, isblank, _tolower, _toupper, + tolower, toupper): Macros and inlines removed. + * include/ctype.h [! NOT_IN_libc] + (isalnum, isalpha, iscntrl, isdigit, islower, isgraph, isprint, + ispunct, isspace, isupper, isxdigit, isblank, _tolower, _toupper, + tolower, toupper): Define here instead, using _NL_CURRENT. + * ctype/ctype.c (__ctype_tolower, __ctype_toupper): Define as macros + using _NL_CURRENT. + * ctype/ctype-extn.c (__ctype_tolower, __ctype_toupper): Likewise. + * ctype/ctype-info.c (__ctype_b, __ctype_tolower, __ctype_toupper): + Renamed these to __ctype_old_*. Define old names only for SHLIB_COMPAT. + (__ctype32_b, __ctype32_tolower, __ctype32_toupper): Likewise. + (__ctype32_wctrans, __ctype32_wctrans, __ctype32_width): Removed. + * locale/lc-ctype.c (_nl_postload_ctype): Use renamed variables, + conditional on SHLIB_COMPAT. Don't set removed variables at all. + * wctype/wcfuncs.c: Use _NL_CURRENT instead of those globals. + * wcsmbs/wcwidth.h (internal_wcwidth): Likewise. + * resolv/res_init.c [RESOLVSORT] (sort_mask): Renamed sort_mask_chars. + (ISSORTMASK): Update use. + * intl/localealias.c [__GNUC__]: #undef alloca before #define. + * nss/nss_files/files-XXX.c (last_use): Rename `none' to `nouse'. + (_nss_files_getENTNAME_r): Likewise. + * nss/nss_files/files-alias.c (last_use, _nss_files_getaliasent_r): + Likewise. + + * Makerules (all-nonlib): Renamed from all-tests. + Include $(others) here too. + * locale/Makefile (CPPFLAGS-locale, CPPFLAGS-localedef, + CPPFLAGS-ld-ctype, CPPFLAGS-ld-time, CPPFLAGS-ld-numeric, + CPPFLAGS-ld-monetary, CPPFLAGS-ld-collate, CPPFLAGS-ld-identification, + CPPFLAGS-charmap, CPPFLAGS-locarchive, CPPFLAGS-linereader, + CPPFLAGS-charmap-dir): Variables removed. Instead, catch all + the program modules via cppflags-iterator.mk. + * sunrpc/Makefile (CPPFLAGS-rpc_main): Variable removed. + Instead, catch all rpcgen-objs via cppflags-iterator.mk. + +2002-08-31 Roland McGrath + + * posix/tst-getconf.sh: If no third arg, work with static linking. + + * locale/categories.def (LC_TIME): No more _nl_postload_time. + + * locale/setlocale.c (_nl_category_postload): Use weak refs only under + [_NL_CURRENT_INDIRECT]. + +2002-08-31 Ulrich Drepper + + * time/tst-ftime_l.c (main): Also test strftime with uselocale. + +2002-08-31 Roland McGrath + + * locale/newlocale.c (__newlocale): Don't use strdup for names. + Instead, make the single allocation of the structure larger to hold + the name strings. + * locale/duplocale.c (__duplocale): Don't strdup names individually. + Instead, calculate size for a single allocation and copy into it. + * locale/freelocale.c (__freelocale): Don't free names individually. + + * locale/newlocale.c (__newlocale): Don't leak old data or names. + + * locale/xlocale.h (__locale_struct): Move __names member last, + for binary compatibility. + + * locale/duplocale.c (__duplocale): Free names from the right array. + + * locale/uselocale.c (__uselocale): Return previous locale when + setting a new one. + + * locale/newlocale.c: Commit changes from 2002-08-30 + batch where I failed to commit this file: + (__newlocale): Fill in __names array. + +2002-08-31 Ulrich Drepper + + * sysdeps/gnu/Makefile: Only depend on Versions.v.i for + errlist-compat.c if versioning==yes. + +2002-08-31 Andreas Jaeger + + * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Declare + external functions with hidden attribute. + (elf_machine_rela): Optimize. + + * sysdeps/x86_64/memset.S: New file. + * sysdeps/x86_64/bzero.S: New file. + * sysdeps/x86_64/stpcpy.S: New file. + * sysdeps/x86_64/strcat.S: New file. + * sysdeps/x86_64/strchr.S: New file. + * sysdeps/x86_64/strcpy.S: New file. + * sysdeps/x86_64/strcspn.S: New file. + * sysdeps/x86_64/strlen.S: New file. + * sysdeps/x86_64/strpbrk.S: New file. + * sysdeps/x86_64/strspn.S: New file. + * sysdeps/x86_64/strcmp.S: New file. + * sysdeps/x86_64/strtok_r.S: New file. + * sysdeps/x86_64/strtok.S: New file. + * sysdeps/x86_64/memcpy.S: New file. + * sysdeps/x86_64/mempcpy.S: New file. + + * sysdeps/x86_64/fpu/s_copysign.S: Fix algorithm. + + * sysdeps/x86_64/fpu/libm-test-ulps: Add ulps for double tests. + +2002-08-31 Ulrich Drepper + + * stdio-common/Makefile (generated): Add errlist-compat.c. + + * locale/Makefile (extra-objs): Add $(localedef-aux:=.o). + + * locale/localeinfo.h: Pretty printing. + + * stdio-common/vfprintf.c (vfprintf): Remove duplicate ifs in + form_number handling. + +2002-08-31 Andreas Jaeger + + * sysdeps/x86_64/fpu/libm-test-ulps: Add ulps for float and long + double tests. + + * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_routines): Add + __start_context. + + * sysdeps/unix/sysv/linux/x86_64/__start_context.S: New file. + + * sysdeps/unix/sysv/linux/x86_64/makecontext.c: New file. + + * sysdeps/unix/sysv/linux/x86_64/ucontext_i.h: Add defines for + registers used for passing args. + + * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Save and restore + all needed registers. + + * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Restore all + registers. + + * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Save all needed + registers. + +2002-08-30 Ulrich Drepper + + * elf/dynamic-link.h (elf_get_dynamic_info): Mark with + always_inline attribute. + +2002-08-30 Roland McGrath + + * stdlib/tst-setcontext.c (main): If makecontext does nothing, + presume it's the stub and bail without error. + + * nss/getnssent_r.c (__nss_getent_r): Return ENOENT if status is + neither SUCCESS nor TRYAGAIN (see 2002-08-25 change [PR libc/4259]). + + * nss/getnssent_r.c (__nss_getent_r): Set *H_ERRNOP, not global one. + + * sysdeps/x86_64/hp-timing.h (HP_TIMING_NOW, HP_TIMING_ACCUM): New + macros replace the i686 versions for 64-bit mode. + + * locale/duplocale.c: Include . + + * intl/dcigettext.c (DCIGETTEXT) [_LIBC]: Check for bogus CATEGORY. + [_LIBC] (category_to_name): Don't define the function. Instead + define a macro using _nl_category_names. + + * locale/xlocale.h (struct __locale_struct): New member `__names'. + * locale/xlocale.c (_nl_C_locobj): Update initializer. + * locale/global-locale.c (_nl_global_locale): Likewise. + * locale/duplocale.c (__duplocale): strdup __names elements. + * locale/freelocale.c (__freelocale): Free __names elements. + * locale/localename.c (_nl_current_names): Variable removed. + (__current_locale_name): Use _NL_CURRENT_LOCALE->__names instead. + * locale/localeinfo.h (_nl_current_names): Removed decl. + * locale/setlocale.c: Use _nl_global_locale->__names in place of + _nl_current_names throughout. + + * locale/setlocale.c (setlocale): strdup -> __strdup (not ISO C). + + * sysdeps/gnu/errlist-compat.awk: Emit link_warnings for sys_errlist + and sys_nerr in the output file. + + * sunrpc/Makefile (rpcgen-cmd): Pass CPP in rpcgen's environment. + * scripts/cpp: Just use the environment variable. + + * libio/tst-mmap-setvbuf.c (main): Use 'm' fopen flag. + * libio/tst-mmap-offend.c (do_test): Likewise. + * libio/tst-mmap-fflushsync.c (do_test): Likewise. + * libio/tst-mmap-eofsync.c (do_test): Likewise. + * libio/tst-mmap2-eofsync.c (do_test): Likewise. + + * locale/localename.c: If the current locale is the global locale, use + _nl_current_names; otherwise use the locale object. + +2002-08-29 Ulrich Drepper + + * libio/fileops.c (_IO_new_file_fopen): Recognize new mode specifier + 'm' to enable mmap I/O. + * libio/libio.h (_IO_FILE): Rename _blksize field to _flags2. The + former wasn't used (anymore?). + (_IO_FLAGS2_MMAP): New define. + * libio/genops.c (_IO_no_init): Initialize _flags2 field. + * libio/iofopen.c (__fopen_maybe_mmap): Use mmap callbacks only if + _IO_FLAGS2_MMAP bit is set. + * libio/iofdopen.c (_IO_new_fdopen): Recognize 'm' mode specifier. + Enable mmap-using mode only if 'm' was set. + +2002-08-29 Roland McGrath + + * sysdeps/mach/hurd/bits/local_lim.h (NAME_MAX): New macro. + + * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup: doinit): + Change argument type from int to intptr_t. + + * locale/global-locale.c (__libc_tsd_LOCALE_data): Conditionalize the + initializer on [! _HURD_THREADVAR_H] (bad kludge). + * sysdeps/mach/hurd/i386/init-first.c (init): Initialize + _HURD_THREADVAR_LOCALE slot to &_nl_global_locale. + * hurd/hurdsig.c (_hurdsig_init): Likewise. Zero other slots. + + * sysdeps/mach/_strerror.c (__strerror_r): Add libc_hidden_def. + + * sysdeps/mach/hurd/pwrite64.c: No libc_hidden_def (__libc_pwrite64). + + * sysdeps/mach/hurd/dl-sysdep.c (__GI_abort): Define alias for abort. + + * include/assert.h (__assert_perror_fail): Declare it, do hidden_proto. + * assert/assert-perr.c: Add libc_hidden_def. + * elf/dl-minimal.c [! NDEBUG] (__assert_perror_fail): New function. + + * sysdeps/gnu/errlist-compat.awk: Don't fail if there are no versions + found at all. + * sysdeps/gnu/Versions: File removed. Moved all #errlist-compat + sys_errlist stuff to ... + * sysdeps/unix/sysv/linux/Versions: ... here. + + * mach/mach.h: Include . + +2002-08-29 Roland McGrath + + * elf/dl-runtime.c (IN_DL_RUNTIME): Define this macro first thing. + * sysdeps/i386/dl-machine.h: Only declare fixup, profile_fixup and + define ELF_MACHINE_RUNTIME_TRAMPOLINE under #ifdef IN_DL_RUNTIME. + + * sysdeps/generic/readelflib.c (process_elf_file): Fix typo. + + * iconv/gconv_int.h: Include for alloca decl. + (norm_add_slashes): alloca -> __alloca + +2002-08-29 Jakub Jelinek + + * stdio-common/vfprintf.c (vfprintf): Add builtin_expect for + string_malloced, it is unlikely to be set. + Only call free with non-NULL workspace. + * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Use + -mcpu=ultrasparc, not only tune for it. + (ASFLAGS*): Set unconditionally. + + * sysdeps/generic/readelflib.c (process_elf_file): Make LOADADDR + ElfW(Addr). Don't mask upper 32-bits and lower 12 bits off from + p_vaddr/p_offset when computing LOADADDR. + +2002-08-29 Ulrich Drepper + + * version.h (VERSION): Bump to 2.2.92. + + * time/Makefile (tst-ftime_l-ENV): New variable. + + * iconvdata/ibm870.c: All bytes are now used, no holes anymore. + + * localedata/charmaps/IBM870: Add correct mapping for , + , and . Add missing mappings. + Patch by Antonin Kopecky . + + * gmon/sys/gmon.h (ARCDENSITY): Bump to 3. + Define ARCINDEX. Bump MAXARCS to 1 << 20. + (struct tostruct): Use ACRINDEX as type for link field. + (statuc gmonparam): Likewise for froms. + * gmon/gmon.c (__monstartup): Use currect cast for assignments to + kcount and froms. + (write_call_graph): Use correct type for from_index and to_index. + * gmon/mcount.c: Use correct types for frompcindex and toindex + variables. + Patches by Dan Kegel . + + * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix code to determine + canonical name. + + * time/strptime.c (ISSPACE): New #define. Use isspace or + __isspace_l. Replace calls to isspace. + (match_string): Define variant for USE_IN_EXTENDED_LOCALE_MODEL. + +2002-08-29 Roland McGrath + + * string/tst-strxfrm.c: Remove __ from function names. + +2002-08-28 Ulrich Drepper + + * include/wchar.h: Declare __mbsrtowcs_l. + * wcsmbs/Makefile (routines): Add mbsrtowcs_l. + * wcsmbs/mbsrtowcs.c: Add support for compilation with + USE_IN_EXTENDED_LOCALE_MODEL. + * wcsmbs/mbsrtowcs_l: New file. + * wcsmbs/wcsmbsload.c (__wcsmbs_to_wc): Renamed from to_wc. Don't + define as static. Change all uses. + (__wcsmbs_getfct): Renamed from getfct. Don't define as static. + Change all callers. + * wcsmbs/wcsmbsload.h: Declare __wcsmbs_to_wc and __wcsmbs_getfct. + * time/strftime.c: When translating for the extended locale model + use the _l functions. + * time/Makefile (tests): Add tst-ftime_l. + * time/tst-ftime_l.c: New file. + +2002-08-28 Roland McGrath + + * locale/findlocale.c [NL_CURRENT_INDIRECT] (_nl_C): New variable. + * locale/setlocale.c (setlocale) [NL_CURRENT_INDIRECT]: Null return + from _nl_find_locale ok if for _nl_C_name. + + * locale/nl_langinfo.c [NL_CURRENT_INDIRECT]: Use a categories.def + iterator to refer to each category's _nl_current_LC_FOO symbol, so + we know they are all linked in. + + * NEWS: Added 2.2.6 text from 2.2 branch version. + + * time/strptime.c (strptime_internal): Remove spurious const. + + * locale/lc-time.c (_nl_init_era_entries, _nl_get_era_entry, + _nl_select_era_entry): Moved to ... + * time/era.c: ... here, new file. + (_nl_init_era_entries, _nl_get_era_entry, _nl_select_era_entry): + Add internal_function to definitions. Take an additional argument + giving the `struct locale_data *' to use. + * locale/lc-time.c (_get_alt_digit, _nl_get_walt_digit, + _nl_parse_alt_digit): Moved to ... + * time/alt_digit.c: ... here, new file. + * time/lc-time-cleanup.c: New file. + * locale/lc-time.c (_nl_postload_time, free_mem): Functions removed. + * locale/localeinfo.h (_nl_postload_time): Remove decl. + (_nl_cleanup_time): Declare it. + (_nl_get_era_entry, _nl_select_era_entry): Update decls. + (_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit): Likewise. + * time/Makefile (aux): New variable: era, alt_digit, lc-time-cleanup. + * time/strftime.c: Pass locale data to helper functions. + * time/strptime.c: Likewise. + + * locale/localeinfo.h (struct locale_data): New member `private' + * locale/loadlocale.c (_nl_intern_locale_data): Initialize it. + (_nl_unload_locale): Call LOCALE->private.cleanup if it is set. + * locale/C-collate.c: Update initializer. + * locale/C-identification.c: Likewise. + * locale/C-measurement.c: Likewise. + * locale/C-telephone.c: Likewise. + * locale/C-address.c: Likewise. + * locale/C-name.c: Likewise. + * locale/C-paper.c: Likewise. + * locale/C-time.c: Likewise. + * locale/C-numeric.c: Likewise. + * locale/C-monetary.c: Likewise. + * locale/C-messages.c : Likewise. + * locale/C-ctype.c: Likewise. + + * time/strptime.c [USE_IN_EXTENDED_LOCALE_MODEL] (_NL_CURRENT_WORD): + Redefine this too. + +2002-08-28 Jakub Jelinek + + * sysdeps/generic/ldsodefs.h (__rtld_global_attribute__): Define. + (_rtld_global): Use it. + + * sysdeps/gnu/Dist: Remove errlist-compat.c. + * sysdeps/gnu/Makefile (errlist-compat.c): Build this file in the + object directory. Pass all Versions files to the awk script. + * sysdeps/gnu/errlist-compat.c: Removed. + * sysdeps/gnu/errlist.awk: Use #errlist-compat comments from the + first Versions file in the search path which has them. + Allow multiple errlist symbol versions to have the same count of + errors. + * sysdeps/gnu/errlist-compat.awk: Include instead + of "errlist-compat.c". + * sysdeps/gnu/errlist.c: Regenerated. + * sysdeps/unix/sysv/linux/mips/Versions (libc): Add #errlist-compat + comments at GLIBC_2.0, GLIBC_2.1 and GLIBC_2.3. + * sysdeps/unix/sysv/linux/alpha/Versions: Likewise. + (librt): Add aio_cancel and aio_cancel64 as GLIBC_2.3. + * sysdeps/unix/sysv/linux/hppa/Versions: Likewise. + * sysdeps/unix/sysv/linux/sparc/Versions: New file. + * sysdeps/unix/sysv/linux/alpha/bits/errno.h: New file. + * sysdeps/unix/sysv/linux/hppa/bits/errno.h (ECANCELED): Define to + ECANCELLED if not defined by kernel headers. + * sysdeps/unix/sysv/linux/bits/errno.h: Don't redefine ECANCELED if + already defined by kernel headers. + * sysdeps/unix/sysv/linux/sparc/bits/errno.h: New file. + * sysdeps/pthread/aio_cancel.c: Don't include aio.h and its + aio_cancel64 renaming hack nor provide weak_alias if aio_cancel + is a macro. + * Versions.def (GLIBC_2.3) [librt]: Add. + + * sysdeps/unix/sysv/linux/alpha/pipe.S: New file. + +2002-08-28 Ulrich Drepper + + * include/libc-symbols.h [!__ASSEMBLER__] (declare_symbol_1): Add + missing comma to .type directive. + +2002-08-28 Jakub Jelinek + + * sysdeps/ia64/elf/configure.in (PI_STATIC_AND_HIDDEN): Define + unconditionally. + * sysdeps/alpha/elf/configure.in (libc_cv_alpha_hidden_gprel): New + check. + (PI_STATIC_AND_HIDDEN): Define if check succeeded. + +2002-08-28 Jakub Jelinek + + * locale/loadarchive.c (_nl_load_locale_from_archive): Add fd >= 0 + check to close_and_out close. Replace return NULL statements where + fd might be >= 0 with goto close_and_out. Close the file descriptor + when it is no longer needed. + +2002-08-28 Ulrich Drepper + + * sysdeps/s390/s390-64/dl-machine.h: Avoid unescaped newlines in + string constants. + * sysdeps/sparc/sparc32/dl-machine.h: Likewise. + * sysdeps/arm/dl-machine.h: Likewise. + * sysdeps/cris/dl-machine.h: Likewise. + * sysdeps/unix/sysv/linux/m68k/register-dump.h: Likewise. + * sysdeps/unix/sysv/aix/gettimeofday.c: Likewise. + +2002-08-28 Roland McGrath + + * Makeconfig (default_cflags): Revert unintended change. + +2002-08-28 Ulrich Drepper + + * version.h (VERSION): Bump to 2.2.91. + + * configure.in: Disable TLS support by default for now. + + * sysdeps/i386/fpu/libm-test-ulps: Adjust ulp for yn for float. + + * sysdeps/generic/strtol.c (strtol): Add some more casts to avoid + warnings. + + * stdlib/strtod.c (STRTOF): Correct type in cast of last patch. + + * stdlib/fmtmsg.c (fmtmsg): Use correct test for failure of + fprintf/fwprintf calls. + +2002-08-28 Roland McGrath + + * Makeconfig (run-program-prefix): Fix bogus use of $(findstring ...) + to use $(filter ...) instead. Same bug fixed in aix conditionals. + + * locale/setlocale.c: Declare postload functions weak. + + * elf/tst-tls1-static.c: New file. + * elf/tst-tls2-static.c: New file. + * elf/Makefile ($(tests-static):%=$(objfpx)%.o): Remove rule. + + Make uselocale support static linking. + * locale/xlocale.c: Revert changes putting _nl_global_locale here. + This file again just defines _nl_C_locobj. + (_nl_C_locobj): Use a categories.def iterator in the initializer. + * locale/global-locale.c: New file. Define _nl_global_locale here, + using all weak references in the initializer. + * locale/Makefile (aux): Add global-locale. + * locale/localeinfo.h (_nl_global_locale, _NL_CURRENT_LOCALE): Make + these unconditional, along with the tsd decl. + [!SHARED && HAVE___THREAD && HAVE_WEAK_SYMBOLS] (NL_CURRENT_INDIRECT): + Define it under these conditions. + [NL_CURRENT_INDIRECT]: Test this instead of [! SHARED]. + Don't declare _nl_current. Declare _nl_current_LC_FOO as + `extern __thread struct locale_data *const *'. + [NL_CURRENT_INDIRECT] + (_NL_CURRENT_DATA, _NL_CURRENT, _NL_CURRENT_WSTR): Add indirection. + [NL_CURRENT_INDIRECT] (_NL_CURRENT_DEFINE): Rewritten. Define + the thread variable _nl_current_LC_FOO and also a special absolute + symbol _nl_current_LC_FOO_used. + * locale/uselocale.c (__uselocale) [NL_CURRENT_INDIRECT]: + Set each _nl_current_LC_FOO symbol to point into the new locale, + using weak references to test if _nl_current_LC_FOO_used was linked in. + * locale/setlocale.c [! SHARED]: Replace this conditional ... + [NL_CURRENT_INDIRECT]: ... with this one. + (_nl_current, _nl_C): Variables removed. + [NL_CURRENT_INDIRECT] (_nl_current_used): New variable, table of + weak references to _nl_current_LC_FOO_used. + [NL_CURRENT_INDIRECT] (CATEGORY_USED): Define using that table. + (free_category): New function, broken out of ... + (free_mem): ... here. Call that. + (free_mem) [NL_CURRENT_INDIRECT]: Use a categories.def iterator + instead of a loop. + + * sysdeps/generic/libc-tls.c (__libc_setup_tls): Don't check for + PT_LOAD program headers and don't try to relocate PT_TLS's p_vaddr; + it is already absolute. + + * elf/Makefile (tests): List tst-tls1 and tst-tls2 unconditionally. + [$(build-static) = yes] (tests): Add tst-tls1-static, tst-tls2-static. + [$(build-static) = yes] (tests-static): New variable. + ($(tests-static):%=$(objfpx)%.o)): New static pattern rule. + +2002-08-26 Christoph Hellwig + + * sysdeps/unix/sysv/linux/sys/personality.h: Remark origin, fix + formating braindamage, add missing PER_HPUX and PER_OSF1 values. + +2002-08-28 Ulrich Drepper + + * sysdeps/x86_64/Dist: Add _mcount.S and bits/link.h. + + * sysdeps/s390/Dist: Add bits/link.h. + + * sysdeps/sh/Dist: New file. + + * sysdeps/ia64/Dist: Add ia64libgcc.S. + + * sysdeps/wordsize-32/Dist: New file. + + * sysdeps/unix/sysv/linux/alpha/Dist: Add dl-brk.S. + * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise. + + * sysdeps/unix/sysv/linux/Dist: Add dl-brk.c, dl-sbrk.c, and + sys/personality.h. + + * sysdeps/unix/Dist: Add i386/dl-brk.S, mips/dl-brk.S, and + sparc/dl-brk.S. + + * sysdeps/unix/bsd/Dist: Add vax/dl-brk.S. + + * sysdeps/unix/bsd/sun/Dist: New file. + + * sysdeps/unix/bsd/osf/Dist: New file. + + * sysdeps/unix/bsd/hp/Dist: New file. + + * sysdeps/unix/arm/Dist: New file. + + * sysdeps/powerpc/Dist: Add divdi3.c and libgcc-compat.S. + + * sysdeps/mach/hurd/Dist: Add set-init.c. + + * sysdeps/i386/Dist: Add bits/link.h. + + * sysdeps/gnu/Dist: Add errlist-compat.c errlist-compat.awk. + + * sysdeps/generic/Dist: Add dl-brk.c and dl-sbrk.c. + + * locale/Makefile (distribute): Add hashval.h. + + * iconvdata/Makefile (distribute): Add tcvn5712-1.c and armscii-8.c. + + * sysdeps/unix/sysv/linux/Dist: Remove errlist.h. + + * misc/sys/cdefs.h: Define __BEGIN_NAMESPACE_STD, __END_NAMESPACE_STD, + __USING_NAMESPACE_STD, __BEGIN_NAMESPACE_C99, __END_NAMESPACE_C99, and + __USING_NAMESPACE_C99 depending on _GLIBCPP_USE_NAMESPACES. + * ctype/ctype.h: Prepare headers for use in ISO C++ compliant + implementations. + * libio/stdio.h: Likewise. + * locale/locale.h: Likewise. + * math/math.h: Likewise. + * math/bits/mathcalls.h: Likewise. + * setjmp/setjmp.h: Likewise. + * signal/signal.h: Likewise. + * stdlib/stdlib.h: Likewise. + * string/string.h: Likewise. + * time/time.h: Likewise. + * wcsmbs/wchar.h: Likewise. + * wctype/wctype.h: Likewise. + +2002-08-28 Roland McGrath + + * locale/tst-C-locale.c (run_test): Remove __ from function names. + +2002-08-28 Jakub Jelinek + Roland McGrath + + * locale/hashval.h (compute_hashval): Use prototype defn. + (hashval_t): New macro, defined to unsigned long int + if not already defined. + (compute_hashval): Return hashval_t instead of unsigned long int. + * locale/loadarchive.c (hashval_t): New macro. + * locale/programs/locarchive.c: Include hashval.h directly instead + of simple-hash.h. + (compute_hashval, hashval_t): Define these macros first. + (insert_name): Use archive_hashval instead of compute_hashval. + (add_locale, delete_locales_from_archive): Likewise. + +2002-08-28 Jakub Jelinek + + * locale/programs/locarchive.c (insert_name): Suppress warnings about + hash collisions if be_quiet. + +2002-08-27 Roland McGrath + + * locale/locale.h (__newlocale, __duplocale, __freelocale, + __uselocale): Don't declare these any more. + * include/locale.h (__uselocale): Declare here instead, using __typeof. + + * sysdeps/unix/readdir.c: If getdents fails with ENOENT, restore errno + and treat it as an EOF return. + * sysdeps/unix/readdir_r.c: Likewise. + + * sysdeps/gnu/errlist-compat.awk: Include in output. + From Alexandre Oliva . + * sysdeps/gnu/errlist-compat.c: Regenerated. + +2002-08-27 Brian Youmans <3diff@gnu.org> + + * sysdeps/ieee754/flt-32/e_asinf.c: Modified copying permission + wording at request of copyright holder Stephen Moshier. + * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise. + * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise. + +2002-08-28 Jakub Jelinek + + * ctype/ctype.h (isascii_l, toascii_l): Define to __*_l counterparts. + * ctype/ctype-extn.c (isblank_l): Add weak alias. + * sysdeps/generic/strtol_l.c (strtol_l): Likewise. + * sysdeps/generic/strtoll_l.c (strtoll_l): Likewise. + * sysdeps/generic/strtoul_l.c (strtoul_l): Likewise. + * sysdeps/generic/strtoull_l.c (strtoull_l): Likewise. + * wctype/iswctype_l.c (iswctype_l): Likewise. + +2002-08-27 Roland McGrath + + * time/strftime.c [USE_IN_EXTENDED_LOCALE_MODEL]: No libc_hidden_def. + + * ctype/ctype.h (__exctype_l): Don't declare __ name. + * stdlib/stdlib.h: Don't declare __*_l names. + * include/stdlib.h: Declare them here instead. + * include/string.h: Don't declare __*_l names. + * string/string.h: Declare them here instead. + * time/time.h: Don't declare __*_l names. + * include/time.h: Declare them here instead. + * wcsmbs/wchar.h: Don't declare __*_l names. + * include/wchar.h: Declare them here instead. + * wctype/wctype.h: Declare iswalnum_l, not __iswalnum_l. + Don't declare __*_l names. + * include/wctype.h: Declare them here instead. + * stdlib/monetary.h: Declare strfmon_l, not __strfmon_l. + * stdlib/strfmon_l.c (strfmon_l): Define as weak alias. + * locale/langinfo.h: Don't declare __nl_langinfo_l. + * include/langinfo.h: Declare it here with __typeof. + + * time/strptime.c [USE_IN_EXTENDED_LOCALE_MODEL]: Define __strptime_l + instead, taking an extra __locale_t argument. + * time/Makefile (routines): Add strptime_l. + * time/time.h (__strptime_l, strptime_l): Declare them. + * time/strptime_l.c: New file. + + * time/time.h (__strftime_l, strftime_l): Declare them. + * wcsmbs/wchar.h (__wcsftime_l, wcsftime_l): Declare them. + * time/strftime_l.c: New file. + * time/wcsftime_l.c: New file. + * time/Makefile (routines): Add strftime_l, wcsftime_l. + * time/Versions (libc: GLIBC_2.3): Add __strftime_l, __wcsftime_l, + strftime_l, wcsftime_l. + * time/strftime.c [USE_IN_EXTENDED_LOCALE_MODEL]: Define __strftime_l + or __wcsftime_l instead, taking an extra __locale_t argument. + + * locale/Versions (libc: GLIBC_PRIVATE): Move __uselocale to ... + (libc: GLIBC_2.3): ... here. + +2002-08-27 Ulrich Drepper + + * stdio-common/Makefile: Fix typo in stdio_lim.h installation rule. + + * Makefile (distribute): Add LICENSES. + + * sysdeps/unix/sysv/linux/x86_64/Dist: Add ucontext_i.h and + sys/debugreg.h. + + * sysdeps/unix/sysv/linux/s390/Dist: Add new/route.h. + + * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-brk.S and sys/user.h. + + * sysdeps/unix/sysv/linux/mips/Dist: Add sys/user.h. + + * sysdeps/unix/sysv/linux/Dist: Add readahead.c. + + * sysdeps/mach/hurd/alpha/Dist: New file. + + * sysdeps/arm/Dist: Add bits/link.h. + + * sunrpc/Makefile: Distribute thrsvc. + + * stdio-common/Makefile: Remove more left-overs from old stdio. + + * include/linewrap.h: Removed. + + * libio/bug-mmap-fflush.c: Rewrite to not touch source directory. + + * intl/Makefile (distribute): Add plural-eval.c. + +2002-08-27 Roland McGrath + + * manual/sysinfo.texi (Mount Information): Correct file name to macro + assocations for _PATH_MNTTAB, MNTTAB, _PATH_MOUNTED, MOUNTED. + Say mtab is in either /var/run or /etc. + +2002-08-26 Roland McGrath + + * manual/errno.texi (Error Codes): Added ECANCELED (118 for Hurd). + * sysdeps/mach/hurd/bits/errno.h: Regenerated. + + * sysdeps/gnu/Versions: New file. + * sysdeps/unix/sysv/linux/Versions (libc: GLIBC_2.1): Remove + _sys_errlist; sys_errlist; _sys_nerr; sys_nerr; from here. + * sysdeps/gnu/Makefile ($(..)sysdeps/gnu/errlist-compat.c): New target. + ($(objpfx)errlist.d): Depend on $(..)sysdeps/gnu/errlist-compat.c. + * sysdeps/gnu/errlist.awk: Make output define _sys_errlist_internal + and _sys_nerr_internal instead of anything else. Make it include + "errlist-compat.c" if [!NOT_IN_libc && !ERRLIST_NO_COMPAT]. + Make it emit some asm magic if [EMIT_ERR_MAX]. + * sysdeps/gnu/errlist.c: Regenerated. + * sysdeps/gnu/errlist-compat.awk: New file. + * sysdeps/gnu/errlist-compat.c: New file (generated). + * sysdeps/mach/hurd/errlist.c (ERRLIST_NO_COMPAT): New macro. + (_sys_errlist_internal): Define this as a macro for _hurd_errlist. + (_sys_nerr_internal): Define this is a macro for _hurd_nerr. + (SYS_ERRLIST, SYS_NERR): Macros removed. + (sys_nerr, _sys_nerr): Remove these weak aliases. + * sysdeps/unix/sysv/linux/errlist.c: File removed. + * sysdeps/unix/sysv/linux/errlist.h: File removed. + * sysdeps/unix/sysv/linux/arm/errlist.c: File removed. + + * include/libc-symbols.h (declare_symbol): New macro. + * config.h.in (ASM_TYPE_DIRECTIVE_PREFIX): New #undef. + * configure.in: New check to define it. + * configure: Regenerated. + +2002-08-27 Ulrich Drepper + + * stdio-common/Makefile (headers): Remove bits/stdio_lim.h. This + file isn't distributed. Add special rules to install bits/stdio_lim.h. + + * Make-dist: Remove traces of old stdio. + * Makeconfig: Likewise. + + * locale/Makefile (localedef-aux): New variable. Only md5 + assigned to it. These files are not ddistributed in this directory. + + * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h. + * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Remove sys/procfs.h. + * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise. + + * sysdeps/unix/sysv/linux/Dist: Remove sys/sendfile.h. + + * nss/getXXbyYY_r.c (REENTRANT_NAME): If no service is available + set h_errno to NO_RECOVERY [PR libc/4360]. + +2002-08-26 Ulrich Drepper + + * libio/Makefile (tests): Add bug-fopena+. + * libio/bug-fopena+.c: New file. + * libio/fileops.c (_IO_file_open): Only set file pointer to end of the + file for _IO_IS_APPENDING if file isn't opened for reading, too. + + * stdio-common/tst-swprintf.c (main): Add casts to avoid warnings. + + * locale/xlocale.c: Fix the last change. The variable still has + to end in _data. + * sysdeps/generic/bits/libc-tsd.h [!(USE_TLS && HAVE___THREAD)] + (__libc_tsd_set): Add _data prefix to variable name. + +2002-08-26 Roland McGrath + + * sysdeps/generic/sigset-cvt-mask.h (sigset_set_old_mask): Replace + macro with inline function. + (sigset_get_old_mask): Likewise. + * sysdeps/posix/sigblock.c (__sigblock): Update callers. + * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise. + * sysdeps/posix/sigpause.c (__sigpause): Likewise. + * sysdeps/posix/sigvec.c (__sigvec, sigvec_wrapper_handler): Likewise. + * sysdeps/unix/sysv/aix/sigset-cvt-mask.h + (sigset_set_old_mask, sigset_get_old_mask): Make these macros return + values. + * sysdeps/unix/sysv/linux/sigset-cvt-mask.h: Likewise. + * sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h: Likewise. + +2002-07-06 Bruno Haible + + * sysdeps/generic/sigset-cvt-mask.h (sigset_set_old_mask, + sigset_get_old_mask): Make it work with larger sigset_t. + * sysdeps/posix/sigblock.c (__sigblock): Use those macros. + * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise. + * sysdeps/posix/sigpause.c (__sigpause): Likewise. + +2002-08-26 Roland McGrath + + * time/sys/time.h [__USE_BSD] (lutimes, futimes): Declare them. + * manual/filesys.texi (File Times): Document lutimes and futimes. + * misc/Makefile (routines): Add them. + * misc/Versions (libc: GLIBC_2.3): Likewise. + * sysdeps/generic/lutimes.c: New file. + * sysdeps/generic/futimes.c: New file. + * sysdeps/mach/hurd/lutimes.c: New file. + * sysdeps/mach/hurd/futimes.c: New file. + + * manual/filesys.texi (File Times): Add explicit note about null + pointer argument to utimes. + +2002-08-26 Roland McGrath + + * sysdeps/mach/hurd/ifreq.h (__if_freereq): Add missing semicolon. + (__ifreq): Add a cast. Remove an unused variable. + + * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add + _HURD_THREADVAR_LOCALE. + +2002-08-26 Jakub Jelinek + + * posix/regexec.c (re_search_stub): Return correct match length + if start != 0. + * posix/bug-regex10.c: New test. + * posix/Makefile (tests): Add bug-regex10. + +2002-08-26 Brian Youmans <3diff@gnu.org> + + * COPYING.LIB: Replaced with fresh copy from + ftp://ftp.gnu.org/gnu/Licenses/COPYING.LIB-2.1; + suggested copying permission notice now says version 2.1 instead + of version 2. + + * crypt/crypt.c: Changed copying permission notice to Lesser GPL + from Library GPL. + * crypt/crypt_util.c: Likewise. + * crypt/ufc.c: Likewise. + * elf/dl-conflict.c: Likewise. + * elf/dl-iteratephdr.c: Likewise. + * iconv/iconvconfig.h: Likewise. + * malloc/arena.c: Likewise. + * malloc/hooks.c: Likewise. + * malloc/malloc.c: Likewise. + * posix/glob/Makefile.ami: Likewise. + * posix/glob/Makefile.in: Likewise. + * stdlib/gmp-impl.h: Likewise. + * stdlib/gmp.h: Likewise. + * sysdeps/generic/dl-iteratephdr-static.c: Likewise. + * sysdeps/generic/strnlen.c: Likewise. + * sysdeps/mach/hurd/powerpc/bits/sigcontext.h: Likewise. + * sysdeps/mach/hurd/recvmsg.c: Likewise. + * sysdeps/mach/hurd/sendmsg.c: Likewise. + * sysdeps/mach/hurd/spawni.c: Likewise. + * sysdeps/mach/powerpc/machine-sp.h: Likewise. + * sysdeps/mach/powerpc/sysdep.h: Likewise. + * sysdeps/mach/powerpc/thread_state.h: Likewise. + * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/dl-iteratephdr-static.c: Likewise. + * sysdeps/x86_64/gmp-mparam.h: Likewise. + + * sysdeps/ieee754/dbl-64/MathLib.h: Corrected version number in + Lesser GPL copying permission notice from 2 to 2.1. + * sysdeps/ieee754/dbl-64/asincos.tbl: Likewise. + * sysdeps/ieee754/dbl-64/atnat.h: Likewise. + * sysdeps/ieee754/dbl-64/atnat2.h: Likewise. + * sysdeps/ieee754/dbl-64/branred.c: Likewise. + * sysdeps/ieee754/dbl-64/branred.h: Likewise. + * sysdeps/ieee754/dbl-64/dla.h: Likewise. + * sysdeps/ieee754/dbl-64/doasin.c: Likewise. + * sysdeps/ieee754/dbl-64/doasin.h: Likewise. + * sysdeps/ieee754/dbl-64/dosincos.c: Likewise. + * sysdeps/ieee754/dbl-64/dosincos.h: Likewise. + * sysdeps/ieee754/dbl-64/e_asin.c: Likewise. + * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. + * sysdeps/ieee754/dbl-64/e_exp.c: Likewise. + * sysdeps/ieee754/dbl-64/e_log.c: Likewise. + * sysdeps/ieee754/dbl-64/e_pow.c: Likewise. + * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise. + * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise. + * sysdeps/ieee754/dbl-64/halfulp.c: Likewise. + * sysdeps/ieee754/dbl-64/mpa.c: Likewise. + * sysdeps/ieee754/dbl-64/mpa.h: Likewise. + * sysdeps/ieee754/dbl-64/mpa2.h: Likewise. + * sysdeps/ieee754/dbl-64/mpatan.c: Likewise. + * sysdeps/ieee754/dbl-64/mpatan.h: Likewise. + * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise. + * sysdeps/ieee754/dbl-64/mpexp.c: Likewise. + * sysdeps/ieee754/dbl-64/mpexp.h: Likewise. + * sysdeps/ieee754/dbl-64/mplog.c: Likewise. + * sysdeps/ieee754/dbl-64/mplog.h: Likewise. + * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise. + * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise. + * sysdeps/ieee754/dbl-64/mptan.c: Likewise. + * sysdeps/ieee754/dbl-64/mydefs.h: Likewise. + * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise. + * sysdeps/ieee754/dbl-64/root.tbl: Likewise. + * sysdeps/ieee754/dbl-64/s_atan.c: Likewise. + * sysdeps/ieee754/dbl-64/s_sin.c: Likewise. + * sysdeps/ieee754/dbl-64/s_tan.c: Likewise. + * sysdeps/ieee754/dbl-64/sincos.tbl: Likewise. + * sysdeps/ieee754/dbl-64/sincos32.c: Likewise. + * sysdeps/ieee754/dbl-64/sincos32.h: Likewise. + * sysdeps/ieee754/dbl-64/slowexp.c: Likewise. + * sysdeps/ieee754/dbl-64/slowpow.c: Likewise. + * sysdeps/ieee754/dbl-64/uasncs.h: Likewise. + * sysdeps/ieee754/dbl-64/uatan.tbl: Likewise. + * sysdeps/ieee754/dbl-64/uexp.h: Likewise. + * sysdeps/ieee754/dbl-64/uexp.tbl: Likewise. + * sysdeps/ieee754/dbl-64/ulog.h: Likewise. + * sysdeps/ieee754/dbl-64/ulog.tbl: Likewise. + * sysdeps/ieee754/dbl-64/upow.h: Likewise. + * sysdeps/ieee754/dbl-64/upow.tbl: Likewise. + * sysdeps/ieee754/dbl-64/urem.h: Likewise. + * sysdeps/ieee754/dbl-64/uroot.h: Likewise. + * sysdeps/ieee754/dbl-64/usncs.h: Likewise. + * sysdeps/ieee754/dbl-64/utan.h: Likewise. + * sysdeps/ieee754/dbl-64/utan.tbl: Likewise. + + * sysdeps/ieee754/flt-32/e_asinf.c: Added copyright notice for Stephen + Moshier and Lesser GPL copying permission notice, per license from + Moshier. + * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise. + * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise. + + * sysdeps/ieee754/ldbl-128/e_j0l.c: Added Lesser GPL copying permission + notice, per license from copyright holder Stephen Moshier. + * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise. + +2002-08-26 Kaz Kojima + + * sysdeps/sh/Makefile (sysdeps_routines): Add divdi3 in csu dir. + (shared-only-routines): Likewise. + +2002-08-26 Roland McGrath + + * locale/programs/ld-ctype.c (ctype_read): When given a repertoire + name of "", store a null pointer instead. + + * configure.in (elf): Set to yes for freebsd*, netbsd*. + * configure: Regenerated. + + * locale/xlocale.c [! (USE_TLS && HAVE___THREAD)] (__libc_tsd_LOCALE): + Initialize this instead of __libc_tsd_LOCALE_data. + + * sysdeps/unix/grantpt.c (pts_name): Convert ENOTTY return from + ptsname_r to EINVAL. + + * sysdeps/generic/ptsname.c (__ptsname_r): Return ENOSYS instead of 0. + + * rt/Makefile: Revert last change, it was inappropriate to presume aio + implementations depend on pthreads. + * rt/tst-aio.c (do_test): Exit happy if first failure is ENOSYS. + * rt/tst-aio64.c (do_test): Likewise. + * rt/tst-aio2.c (do_test): Likewise. + * rt/tst-aio3.c (do_test): Likewise. + * rt/tst-aio4.c (do_test): Likewise. + * rt/tst-aio5.c (do_test): Likewise. + * rt/tst-aio6.c (do_test): Likewise. + * rt/tst-aio7.c (do_test): Likewise. + + * sysdeps/generic/bits/libc-lock.h (__libc_setspecific): Use a cast to + void so as to avoid compiler warnings. + + * libio/oldstdfiles.c [! _IO_MTSAFE_IO] (DEF_STDFILE): Don't define + _IO_wide_data_FD, which is never used here. + + * libio/iofread.c + [! _IO_MTSAFE_IO] (fread_unlocked): Add libc_hidden_ver defn. + * libio/iofputs.c [! _IO_MTSAFE_IO] (fputs_unlocked): Likewise. + * libio/iofgets.c [! _IO_MTSAFE_IO] (fgets_unlocked): Likewise. + + * include/resolv.h [! _LIBC_REENTRANT] (_res): #undef it before decl. + * include/netdb.h [! _LIBC_REENTRANT] (h_errno): Declare normal extern. + + * misc/syslog.c (openlog): Conditionalize locking on [_LIBC_REENTRANT]. + (closelog): Likewise. + +2002-07-06 Bruno Haible + + * sysdeps/alpha/fpu/fpu_control.h: Comment fix. + + * sysdeps/unix/sysv/linux/alpha/pipe.S: Moved to ... + * sysdeps/unix/alpha/pipe.S: ... here. + * sysdeps/unix/bsd/osf/alpha/pipe.S: File removed. + + * sysdeps/unix/i386/brk.S: Rename local label to '.Lhere' in ELF. + + * sysdeps/unix/i386/brk.S: Add PSEUDO_END invocation. + * sysdeps/unix/i386/fork.S: Likewise. + * sysdeps/unix/i386/pipe.S: Likewise. + * sysdeps/unix/i386/wait.S: Likewise. + + * sysdeps/unix/fork.S: Fix PSEUDO_END argument. + * sysdeps/unix/arm/fork.S: Likewise. + + * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Swap DO_CALL + arguments. + (DO_CALL): Swap argument order. + * sysdeps/unix/sysv/linux/hppa/sysdep.h (PSEUDO): Swap DO_CALL + arguments. + (DO_CALL): Swap argument order. + * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Swap DO_CALL + arguments. + (DO_CALL): Swap argument order. + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PSEUDO): Swap DO_CALL + arguments. + (DO_CALL): Swap argument order. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (PSEUDO): Swap DO_CALL + arguments. + (DO_CALL): Swap argument order. + * sysdeps/unix/sysv/linux/sh/sysdep.h (PSEUDO): Swap DO_CALL + arguments. + (DO_CALL): Swap argument order. + * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Swap DO_CALL + arguments. + (DO_CALL): Swap argument order. + + * sysdeps/i386/sysdep.h (PSEUDO): Fix syntax error. + (L): Define right for ELF. + * sysdeps/unix/sysv/linux/i386/sysdep.h (L): Remove definition. + Now defined in sysdeps/i386/sysdep.h. + + * sysdeps/posix/readv.c: Ansify function definition. + * sysdeps/posix/writev.c: Likewise. + + * stdio-common/tst-fseek.c (main): Don't assume that off_t and size_t + have the same size. Avoid direct cast from size_t to off_t. + + * login/tst-utmp.c (simulate_login): Don't leave garbage after the + nul byte in entry[n].ut_user. + (simulate_logout): Likewise. + + * login/programs/utmpdump.c (print_entry): Test _HAVE_UT_TYPE, + _HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST, instead of assuming the + existence of corresponding members of 'struct utmp'. + * login/tst-utmp.c: Trivialize the test if testing 'struct utmp' and + !_HAVE_UT_TYPE. + + * sysdeps/unix/opendir.c (__opendir): If st_blksize is 0 or too small, + allocate a buffer of at least BUFSIZ bytes, not just of + sizeof (struct dirent). + + * sysdeps/generic/glob.c: Include . + (NAME_MAX): Define a fallback. + (glob_in_dir): Allocate enough room for a 'struct dirent64' on the + stack. + * posix/tst-dir.c: Include , for offsetof. + (main): Allocate enough room for a 'struct dirent64' on the stack. + * posix/tst-gnuglob.c (my_DIR): Allocate enough room for a + 'struct dirent'. + + * sysdeps/unix/sysv/linux/init-first.c: Don't include + kernel-features.h. + + * inet/htontest.c: Include . + + * sysdeps/generic/sys/sysinfo.h: Surround with __{BEGIN,END}_DECLS. + + * include/sys/sysctl.h: Comment fix. + + * elf/rtld.c (_rtld_global) [! _LIBC_REENTRANT]: Don't initialize + _dl_load_lock. + * libio/fileno.c (fileno_unlocked): Define regardless of _IO_MTSAFE_IO. + + * sysdeps/unix/bsd/bsd4.4/syscalls.list (__sigaltstack): New alias. + + * sysdeps/unix/inet/syscalls.list (__connect_internal): New alias. + (__getpeername): New alias. + (__getsockname): New alias. + (__socket): New alias. + + * sysdeps/unix/common/syscalls.list (getpgid): Remove. + + * sysdeps/unix/syscalls.list (__chown_internal): New alias. + (__fcntl_internal): New alias. + (__profil): New alias. + +2002-08-26 Ulrich Drepper + + * nscd/hstcache.c (cache_addhst): Add new parameter saying whether + entry was for getaddr* lookup or not. Add only matching cache + entry. Change all callers [PR libc/4317]. + + * libio/wfileops.c (_IO_wfile_seekoff): Set fp->_offset after + finding the read position [PR libc/4265]. + * libio/Makefile (tests): Add bug-rewind2. + * libio/bug-rewind2.c: New file. + + * libio/bug-rewind.c: Fix creation of temp file. + +2002-08-25 Ulrich Drepper + + * nss/getXXbyYY_r.c (REENTRANT_NAME): Return ENOENT if status is + neither SUCCESS nor TRYAGAIN [PR libc/4259]. + * nss/nss_files/files-XXX.c (internal_getent): Don't set *errnop + to ENOENT if no entry is found. + * nis/nss_compat/compat-grp.c: Don't set errno in case of lookup + failure. + * nis/nss_compat/compat-initgroups.c: Likewise. + * nis/nss_compat/compat-pwd.c: Likewise. + * nis/nss_compat/compat-spwd.c: Likewise. + * nis/nss_nis/nis-alias.c: Likewise. + * nis/nss_nis/nis-ethers.c: Likewise. + * nis/nss_nis/nis-grp.c: Likewise. + * nis/nss_nis/nis-hosts.c: Likewise. + * nis/nss_nis/nis-initgroups.c: Likewise. + * nis/nss_nis/nis-netgrp.c: Likewise. + * nis/nss_nis/nis-network.c: Likewise. + * nis/nss_nis/nis-proto.c: Likewise. + * nis/nss_nis/nis-publickey.c: Likewise. + * nis/nss_nis/nis-pwd.c: Likewise. + * nis/nss_nis/nis-rpc.c: Likewise. + * nis/nss_nis/nis-service.c: Likewise. + * nis/nss_nis/nis-spwd.c: Likewise. + * resolv/nss_dns/dns-host.c: Likewise. + * resolv/nss_dns/dns-network.c: Likewise. + * nis/nss_nisplus/nisplus-alias.c: Save errno around NIS calls. + * nis/nss_nisplus/nisplus-ethers.c: Likewise. + * nis/nss_nisplus/nisplus-grp.c: Likewise. + * nis/nss_nisplus/nisplus-hosts.c: Likewise. + * nis/nss_nisplus/nisplus-network.c: Likewise. + * nis/nss_nisplus/nisplus-proto.c: Likewise. + * nis/nss_nisplus/nisplus-pwd.c: Likewise. + * nis/nss_nisplus/nisplus-rpc.c: Likewise. + * nis/nss_nisplus/nisplus-service.c: Likewise. + * nis/nss_nisplus/nisplus-spwd.c: Likewise. + * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Preserve errno value. + * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise. + * hesiod/nss_hesiod/hesiod-grp.c (lookup): Likewise. + * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise. + + * sysdeps/unix/sysv/linux/i386/sigaction.c: Avoid warnings by + declaring __restore and __restore_rt as hidden (if possible). + +2002-08-25 Roland McGrath + + * manual/llio.texi (Access Modes): Fix typos in O_READ/O_WRITE defns. + + * sysdeps/generic/utmp_file.c (LOCK_FILE): Check for error from fcntl. + (getutent_r_file, internal_getut_r): Updated all callers. + (getutline_r_file, pututline_file, updwtmp_file): Likewise. + +2002-08-25 Ulrich Drepper + + * locale/programs/locale.c: Don't print aliases for non-existing + locales for 'locale -a'. + Patch by Noah Levitt [PR libc/4166]. + +2002-07-19 H.J. Lu + + * sysdeps/unix/sysv/linux/mips/bits/msq.h: New file. + +2002-07-16 H.J. Lu + + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add + sys/personality.h. + * sysdeps/unix/sysv/linux/sys/personality.h: New file. + +2002-08-25 Ulrich Drepper + + * elf/tst-tlsmod1.c (in_dso): Make sure the TLS variable access is + not moved ahead of the fputs call. + * elf/tst-tlsmod2.c (in_dso): Likewise. + * elf/tst-tlsmod3.c (in_dso2): Likewise. + * elf/tst-tlsmod4.c (in_dso): Likewise. + +2002-08-25 Andreas Schwab + + * elf/dl-reloc.c (_dl_reloc_bad_type): Nul-terminate message. + +2002-08-25 Roland McGrath + + * sysdeps/generic/utmp_file.c (UNLOCK_FILE): Clear alarm before + resetting handler, to avoid the possibility of a spurious SIGALRM + delivered to the user's handler. + Reported by Amit D. Chaudhary , + + * misc/Makefile (CFLAGS-init-misc.c): Variable removed. It served to + set -fkeep-inline-functions, which is not needed for the current file. + + * sysdeps/generic/ldsodefs.h: Add attribute_hidden to *_internal decls. + (_dl_setup_hash): Add attribute_hidden. + (_dl_sysdep_start, _dl_sysdep_start_cleanup): Likewise. + (_dl_sysdep_read_whole_file, _dl_dprintf): Likewise. + (_dl_new_object, _dl_map_object_deps): Likewise. + (_dl_map_object_deps_internal): Remove decl. + * elf/rtld.c (__mempcpy, _exit): Redeclare locally as hidden. + + * sysdeps/i386/dl-machine.h [PI_STATIC_AND_HIDDEN + && HAVE_VISIBILITY_ATTRIBUTE && HAVE_HIDDEN + && !HAVE_BROKEN_VISIBILITY_ATTRIBUTE] + (elf_machine_dynamic, elf_machine_load_address): Rewritten without asm, + instead relying on the compiler to produce only GOTOFF variable refs. + +2002-08-25 Ulrich Drepper + + * elf/dl-load.c: Fix typo in comment. Add a few more __builtin_expect. + + * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Define as static + inline to avoid defining it in every file which includes this header. + + * elf/rtld.c: Also test for HAVE_VISIBILITY_ATTRIBUTE before + defining DONT_USE_BOOTSTRAP_MAP. + + * libio/tst-freopen.c (main): Use correct formats for __LINE__. + * libio/tst-mmap-setvbuf.c (main): Likewise. + * libio/tst-widetext.c (main): Likewise. + + * libio/tst-mmap-eofsync.c (do_test): Use correct format in error + message. + * libio/tst-mmap-fflushsync.c (do_test): Likewise. + * libio/tst-mmap2-eofsync.c (do_test): Likewise. + + * sysdeps/i386/elf/configure.in: Unconditionally define + PI_STATIC_AND_HIDDEN. + * elf/rtld.c (DONT_USE_BOOTSTRAP_MAP): Define only if + PI_STATIC_AND_HIDDEN is defined as well. + * config.h.in: Add PI_STATIC_AND_HIDDEN entry. + +2002-08-24 Ulrich Drepper + + * sysdeps/ia64/bzero.S: Define __bzero as well. + + * locale/programs/charmap.c (charmap_new_char): Don't use + ULONG_MAX as maximum UCS4 value. + + * sysdeps/unix/sysv/linux/ia64/sys/user.h: New file. + + * sysdeps/generic/strtol.c: We don't need the isascii test in glibc. + + * malloc/hooks.c (public_sET_STATe): use size_t as type for i. + * malloc/malloc.c (mALLINFo): Likewise. + + * libio/wstrops.c (_IO_wstr_pbackfail): Use WEOF in comparison. + + * libio/wfileops.c (_IO_wfile_overflow): Use EOF not WEOF when + examining result of _IO_do_flush call. + + * stdio-common/vfprintf.c (vfprintf): Use correct type in va_arg. + Use prec not spec when sizing buffers. + + * catgets/open_catalog.c (__open_catalog): Add casts to avoid warnings. + * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise. + * locale/loadlocale.c (_nl_intern_locale_data): Likewise. + * stdio-common/vfscanf.c (inchar): Likewise. + * misc/efgcvt_r.c (fcvt_r): Likewise. + * elf/dl-misc.c (_dl_debug_vdprintf): Likewise. + * elf/readlib.c (process_file): Likewise. + * elf/sprof.c (load_profdata): Likewise. + * sysdeps/ia64/hp-timing.h (HP_TIMING_PRINT): Likewise. + * locale/programs/linereader.c (get_toplvl_escape): Likewise. + * locale/programs/charmap.c (charmap_read): Likewise. + * libio/fileops.c: Likewise. + * libio/fmemopen.c: Likewise. + * stdlib/strtod.c: Likewise. + * elf/dl-load.c: Likewise. + * iconv/iconvconfig.c: Likewise. + * iconv/iconv_prog.c (process_block): Likewise. + * elf/rtld.c (dl_main): Likewise. + + * sysdeps/unix/sysv/linux/ia64/Makefile: Define _ASM_IA64_CURRENT_H + macro to calm down the compiler. + + * iconv/gconv_cache.c (__gconv_load_cache): Add cast to avoid warning. + + * sysdeps/ia64/elf/initfini.c: Don't use newlines embedded in string. + + * sysdeps/unix/sysv/linux/i386/sysdep.S: Update comment regarding + placement of errno definition. + * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/mips/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise. + + * resolv/nss_dns/dns-host.c (MAXPACKET): Increase minimum value + from 1024 to 65536, to avoid buffer overrun. + +2002-08-16 Paul Eggert + + * resolv/gethnamaddr.c (MAXPACKET): Increase minimum value + from 1024 to 65536, to avoid buffer overrun. + * resolv/res_query.c (MAXPACKET): Likewise. + +2002-08-24 Andreas Jaeger + + * sysdeps/unix/sysv/linux/i386/Versions: Remove *xattr syscalls. + +2002-08-23 Ulrich Drepper + + * sysdeps/ieee754/dbl-64/e_pow.c (log1): Define and initialize + two52 locally. + (log2): Likewise. + * sysdeps/ieee754/dbl-64/upow.h: Remove definition of two52. + Patch by Simon Gee . + + * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs_conf): + Prefer reading /proc/stat since it is more uniform across + architectures. + + * manual/texinfo.tex: Update to latest official version. + + * sysvipc/sys/shm.h: Remove SHMLBA definition. + * sysdeps/generic/bits/shm.h: Define SHMLBA here. + * sysdeps/gnu/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Define SHMLBA to 2^20 + since this is what the kernel says. + + * misc/sys/xattr.h: Include instead of + since ssize_t is needed as well. Replace const with __const. + +2002-08-23 Roland McGrath + + * malloc/hooks.c (__malloc_initialize_hook, __free_hook, + __malloc_hook, __realloc_hook, __memalign_hook, + __after_morecore_hook): Variable definitions moved to ... + * malloc/malloc.c: ... here, so as to be before all references. + + * sysdeps/i386/dl-machine.h (elf_machine_load_address): Add a dummy + global variable reference in an unused asm parameter, to ensure the + compiler has set up the GOT register before we use it. + + * malloc/hooks.c: Move variable definitions ahead of uses. + * libio/fileops.c: Move versioned_symbol defns ahead of _IO_jump_t + initializers that make reference to variables they define. + +2002-08-23 Andreas Jaeger + + * locale/loadarchive.c: Include for prototypes of + alloca, free, qsort. + + * dlfcn/bug-dlsym1-lib1.c (foo): Add prototype to avoid warning. + + * sysdeps/ieee754/flt-32/e_jnf.c: Remove unused variable. + * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise. + + * misc/sys/xattr.h: New file, contributed by Christoph Hellwig + . + * sysdeps/generic/fgetxattr.c: New file. + * sysdeps/generic/flistxattr.c: New file. + * sysdeps/generic/fremovexattr.c: New file. + * sysdeps/generic/fsetxattr.c: New file. + * sysdeps/generic/getxattr.c: New file. + * sysdeps/generic/listxattr.c: New file. + * sysdeps/generic/lgetxattr.c: New file. + * sysdeps/generic/llistxattr.c: New file. + * sysdeps/generic/lremovexattr.c: New file. + * sysdeps/generic/lsetxattr.c: New file. + * sysdeps/generic/removexattr.c: New file. + * sysdeps/generic/setxattr.c: New file. + * misc/Makefile (headers): Add sys/xattr.h. + (routines): Add *xattr calls. + * misc/Versions: Add *xattr calls with version 2.3. + * sysdeps/unix/sysv/linux/m68k/Versions: Remove *xattr syscalls. + * sysdeps/unix/sysv/linux/s390/s390-32/Versions: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise. + * sysdeps/unix/sysv/linux/x86_64/Versions: Likewise. + * sysdeps/unix/sysv/linux/ia64/Versions: Likewise. + * sysdeps/unix/sysv/linux/alpha/Versions: Likewise. + * sysdeps/unix/sysv/linux/arm/Versions: Likewise. + +2002-08-22 Steven Munroe + + * sysdeps/powerpc/elf/libc-start.c + (__cache_line_size): Declare. + (__aux_init_cache): New function. + (__libc_start_main): Change type of `auxvec' parameter to + `ElfW(auxv_t) *'. Correct walking of aux vector. Call + __aux_init_cache. + * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c + (__cache_line_size): Declare. + (__aux_init_cache): New function. + (DL_PLATFORM_INIT): Define. + * sysdeps/powerpc/memset.S: Define __cache_line_size and use its + value to select the correct stride for dcbz. + +2002-08-22 Andreas Jaeger + + * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Fix arguments of + shmat. + +2002-08-22 Roland McGrath + + * locale/loadarchive.c (_nl_load_locale_from_archive): Check max file + position indicated by locrectab against file bounds before rounding to + page size. In mapping loop, always set TO before breaking out of + contiguous range coalescing loop. + + * locale/loadarchive.c (_nl_load_locale_from_archive): Use MAP_PRIVATE + (or MAP_COPY if available) instead of MAP_SHARED. + + * scripts/firstversions.awk: When encountering a version newer than + the specified earliest version, be sure to emit the specified earliest + version first if any renaming of an older version to that has been. + +2002-08-21 Roland McGrath + + * configure.in: Make GCC version check require 3.[2-9]* and no others. + * manual/install.texi (Tools for Compilation): Say 3.2 is required. + (Configuring and compiling): Don't mention older GCC versions any more. + * INSTALL: Regenerated. + + * manual/install.texi (Configuring and compiling, Installation, + Running make install, Linux): Linux -> GNU/Linux where appropriate. + + * elf/rtld.c (_dl_start_final): Move defn before _dl_start so it can + be inlined. Declare it with always_inline if [DONT_USE_BOOTSTRAP_MAP] + and with noinline otherwise. Remove hack alloca use to prevent + inlining, we can ask for it explicitly nowadays. + + * dlfcn/bug-dlsym1.c: New file. + * dlfcn/bug-dlsym1-lib1.c, dlfcn/bug-dlsym1-lib2.c: New files. + * dlfcn/Makefile (distribute): Add them. + (tests): Add bug-dlsym1 here. + (modules-names): Add bug-dlsym1-lib1 and bug-dlsym1-lib2 here. + ($(objpfx)bug-dlsym1, $(objpfx)bug-dlsym1.out): New targets. + ($(objpfx)bug-dlsym1-lib1.so, $(objpfx)bug-dlsym1-lib2.so): Likewise. + +2002-08-21 Ulrich Drepper + + * elf/rtld.c (start_time): New global variable. Moved from _dl_start. + (DONT_USE_BOOTSTRAP_MAP): Define if we can use non-exported symbols + before relocation. + (_dl_start): Don't use local bootstrap_map variable if + DONT_USE_BOOTSTRAP_MAP is defined. Use GL(dl_rtld_map). Don't + pass bootstrap_map to _dl_start_final in this case either. Don't + pass start_time to _dl_start_final ever. + (_dl_start_final): Don't copy bootstrap_map if DONT_USE_BOOTSTRAP_MAP. + + * elf/dl-deps.c (_dl_map_object_deps): Revert patch from 2002-05-28. + This cripples the scope lists necessary to search for symbols in + dependencies which are not in the global scope. + + * include/setjmp.h (__libc_longjmp): Add declaration. + +2002-08-21 Andreas Jaeger + + * sysdeps/x86_64/_mcount.S: Fix assembler. + + * sysdeps/unix/sysv/linux/x86_64/Makefile: Generate bits/syscall.h + with biarch support. + +2002-08-21 Andreas Jaeger + + * sysdeps/x86_64/sysdep.h (CALL_MCOUNT): Fix it. + + * sysdeps/x86_64/Makefile (sysdep_routines): Add _mcount. + + * sysdeps/x86_64/machine-gmon.h: New file. + * sysdeps/x86_64/_mcount.S: New file. + +2002-08-20 Ulrich Drepper + + * elf/rtld.c (_dl_start): Pass zero to TLS_INIT_TP. Set + bootstrap_map.l_tls_tp_initialized to 1 if TLS_INIT_TP was called. + (_dl_start_final): Copy l_tls_tp_initialized to GL(dl_rtld_map). + (dl_main): If HAVE___THREAD is not defined pass l_tls_tp_initialized + to TL_INIT_TP. Otherwise pass 1. + * include/link.h (struct link_map): Add l_tls_tp_initialized. + * sysdeps/generic/libc-tls.c (__libc_setup_tls): Pass 0 to TL_INIT_TP. + +2002-08-15 Jakub Jelinek + + * locale/programs/localedef.c (add_to_readlist): Error about + circular dependencies only if the locale in question hasn't + been finished. + * locale/programs/linereader.c (get_string): Pass LC_CTYPE not + CTYPE_LOCALE to load_locale. + * locale/programs/locfile.c (locfile_read): Don't include + unneeded but available locales in locale_mask. + + * locale/programs/locarchive.c (enlarge_archive): If quiet, don't + print any messages about enlarging archive. + +2002-08-20 Brian Youmans <3diff@gnu.org> + + * manual/contrib.texi: Removed licenses, added acknowledgements + for contributions by Intel, IBM, Craig Metz. + * LICENSES: New file, contains the text of all non-FSF licenses in the + distribution that require putting the notice in the accompanying + documentation. + * README.template, README: Mention LICENSES. + + * sysdeps/mach/hurd/net/if_ppp.h: Replaced CMU license with a + new one modelled on the modern BSD license, per recent letter + of permission from CMU. + * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise. + + * sysdeps/ieee754/dbl-64/MathLib.h: Changed the copyright holder + from IBM to FSF, per the recent Software Letter. Changed the + distribution terms from GPL to LGPL. + + * sysdeps/ieee754/dbl-64/asincos.tbl: Added FSF copyright and + copying permission notice (Lesser GPL), per recent IBM Software Letter. + * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise. + * sysdeps/ieee754/dbl-64/root.tbl: Likewise. + * sysdeps/ieee754/dbl-64/sincos.tbl: Likewise. + * sysdeps/ieee754/dbl-64/uatan.tbl: Likewise. + * sysdeps/ieee754/dbl-64/uexp.tbl: Likewise. + * sysdeps/ieee754/dbl-64/ulog.tbl: Likewise. + * sysdeps/ieee754/dbl-64/upow.tbl: Likewise. + * sysdeps/ieee754/dbl-64/utan.tbl: Likewise. + + * sysdeps/ieee754/dbl-64/atnat.h: Changed the copyright holder + from IBM to FSF, per the recent Software Letter. Corrected the + text of the copying permission notice to say Lesser GPL instead + of GPL in warranty disclaimer paragraph. + * sysdeps/ieee754/dbl-64/atnat2.h: Likewise. + * sysdeps/ieee754/dbl-64/branred.h: Likewise. + * sysdeps/ieee754/dbl-64/dla.h: Likewise. + * sysdeps/ieee754/dbl-64/doasin.h: Likewise. + * sysdeps/ieee754/dbl-64/dosincos.h: Likewise. + * sysdeps/ieee754/dbl-64/mpa.h: Likewise. + * sysdeps/ieee754/dbl-64/mpa2.h: Likewise. + * sysdeps/ieee754/dbl-64/mpatan.h: Likewise. + * sysdeps/ieee754/dbl-64/mpexp.h: Likewise. + * sysdeps/ieee754/dbl-64/mplog.h: Likewise. + * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise. + * sysdeps/ieee754/dbl-64/mydefs.h: Likewise. + * sysdeps/ieee754/dbl-64/sincos32.h: Likewise. + * sysdeps/ieee754/dbl-64/uasncs.h: Likewise. + * sysdeps/ieee754/dbl-64/uexp.h: Likewise. + * sysdeps/ieee754/dbl-64/ulog.h: Likewise. + * sysdeps/ieee754/dbl-64/upow.h: Likewise. + * sysdeps/ieee754/dbl-64/urem.h: Likewise. + * sysdeps/ieee754/dbl-64/uroot.h: Likewise. + * sysdeps/ieee754/dbl-64/usncs.h: Likewise. + * sysdeps/ieee754/dbl-64/utan.h: Likewise. + + * sysdeps/ieee754/dbl-64/branred.c: Corrected the text of the copying + permission notice to say Lesser GPL instead of GPL in warranty + disclaimer paragraph. + * sysdeps/ieee754/dbl-64/doasin.c: Likewise. + * sysdeps/ieee754/dbl-64/dosincos.c: Likewise. + * sysdeps/ieee754/dbl-64/e_asin.c: Likewise. + * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. + * sysdeps/ieee754/dbl-64/e_exp.c: Likewise. + * sysdeps/ieee754/dbl-64/e_log.c: Likewise. + * sysdeps/ieee754/dbl-64/e_pow.c: Likewise. + * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise. + * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise. + * sysdeps/ieee754/dbl-64/halfulp.c: Likewise. + * sysdeps/ieee754/dbl-64/mpa.c: Likewise. + * sysdeps/ieee754/dbl-64/mpatan.c: Likewise. + * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise. + * sysdeps/ieee754/dbl-64/mpexp.c: Likewise. + * sysdeps/ieee754/dbl-64/mplog.c: Likewise. + * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise. + * sysdeps/ieee754/dbl-64/mptan.c: Likewise. + * sysdeps/ieee754/dbl-64/s_atan.c: Likewise. + * sysdeps/ieee754/dbl-64/s_sin.c: Likewise. + * sysdeps/ieee754/dbl-64/s_tan.c: Likewise. + * sysdeps/ieee754/dbl-64/sincos32.c: Likewise. + * sysdeps/ieee754/dbl-64/slowexp.c: Likewise. + * sysdeps/ieee754/dbl-64/slowpow.c: Likewise. + +2002-08-20 Roland McGrath + + Fix ABI compatibility with libc compiled with old tools on powerpc. + Changes contributed by Franz Sirl + and Jack Howarth . + * sysdeps/powerpc/Makefile [$(have-protected) = yes] + (CPPFLAGS-divdi3.c, CPPFLAGS-libgcc-compat.S): New variables, + pass -DHAVE_DOT_HIDDEN for these files. + * sysdeps/powerpc/Versions (libc: GLIBC_2.0): Added __floatdidf, + __floatdisf. + * sysdeps/powerpc/divdi3.c: New file. + * sysdeps/powerpc/libgcc-compat.S: New file, replacement for ... + * sysdeps/powerpc/libgcc-compat.c: ... this, file removed. + +2002-08-20 Jakub Jelinek + + * locale/loadarchive.c (_nl_load_locale_from_archive): Handle + partially overlapping mappings. Remove unneeded (char *) casts. + Never allow duplication of ranges in mapped areas. + +2002-08-20 Roland McGrath + + * elf/Makefile ($(objpfx)ld.so): Separate commands in rule so errors + can be detected by make. Reported by H.J. Lu . + +2002-08-20 Ulrich Drepper + + * include/unistd.h: Don't hide _exit. + + * elf/rtld.c (_dl_start): Pass extra argument 1 to TLS_INIT_TP. + (dl_main): Pass extra argument 0 to TLS_INIT_TP. + * sysdeps/generic/libc-tls.c (__libc_setup_tls): Pass extra + argument 1 to TLS_INIT_TP. + * sysdeps/generic/tls.h (TLS_INIT_TP): Describe new parameter. + + * sysdeps/generic/dl-tls.c (allocate_dtv): Optimize a bit. + + * elf/Versions [ld] (GLIBC_PRIVATE): Add _dl_get_tls_static_info. + * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): Move dtv + memory allocation to... + (allocate_dtv): ...here. New function. + (_dl_allocate_tls): Change to take parameter. If parameter is non-NULL + call allocate_dtv instead of _dl_allocate_tls_storage. + (_dl_deallocate_tls): New parameter. Deallocate TCB only if true. + (_dl_get_tls_static_info): New function. + * sysdeps/generic/ldsodefs.h: Adjust prototypes of _dl_allocate_tls + and _dl_deallocate_tls. Add prototype for _dl_get_tls_static_info. + +2002-08-19 Ulrich Drepper + + * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Return + immediately if result == NULL. + +2002-08-16 Jakub Jelinek + + * sysdeps/alpha/fpu/libm-test-ulps: Regenerate. + +2002-08-18 Roland McGrath + + * sysdeps/mach/hurd/mkdir.c (__mkdir): Use __directory_name_split + instead of __file_name_split. + * sysdeps/mach/hurd/unlink.c (__unlink): Likewise. + + * sysdeps/mach/hurd/dl-sysdep.c + [HP_TIMING_AVAIL] (_dl_cpuclock_offset): New variable. + [HP_TIMING_AVAIL] (_dl_sysdep_start): Set it with HP_TIMING_NOW. + +2002-08-16 Jakub Jelinek + + * locale/loadarchive.c (_nl_load_locale_from_archive): Braino fix + in change before last: MAX -> MIN. + +2002-08-15 Roland McGrath + + * libio/fileops.c (_IO_file_seekoff_mmap): Leave read pointers at EOF + if seek would go past it. + (mmap_remap_check): If file position is at or past EOF after check, + leave read pointers at EOF and don't seek. + + * libio/tst-mmap-offend.c: New file. + * libio/Makefile (tests): Add it. + + * locale/loadarchive.c (_nl_load_locale_from_archive): Store strdup of + the name as passed, rather than the name in the archive dictionary. + +2002-08-15 Ulrich Drepper + + * csu/Makefile: Define elide-routines.os not static-only-routines. + + * include/sched.h (__clone): Add varargs at the end. + + * elf/rtld.c (_dl_start): Allow TLS_INIT_TP to fail, and stop in that + case. + (TLS_INIT_HELPER): If defined, use it. + * sysdeps/generic/libc-tls.c (TLS_INIT_HELPER): Likewise. + +2002-08-15 Roland McGrath + + * elf/dl-load.c (lose): Remove [!SHARED] conditional from null check + on L->l_prev; it can happen under rtld --verify too. + + * locale/loadarchive.c (_nl_load_locale_from_archive): Don't read the + header separately, just map an initial window of 2MB from the file + and remap if that is not large enough to cover the whole header. + +2002-08-15 Andreas Jaeger + + * sysdeps/unix/sysv/linux/m68k/Versions: Add *xattr syscalls with + version 2.3. + * sysdeps/unix/sysv/linux/arm/Versions: Likewise. + * sysdeps/unix/sysv/linux/alpha/Versions: Likewise. + * sysdeps/unix/sysv/linux/ia64/Versions: Likewise. + * sysdeps/unix/sysv/linux/x86_64/Versions: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/Versions: Likewise. + * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise. + * sysdeps/unix/sysv/linux/mips/Versions: Likewise. + Patch by Andreas Gruenbacher . + + * sysdeps/unix/sysv/linux/syscalls.list: Add *xattr syscalls. + +2002-08-14 Roland McGrath + + * locale/locarchive.h (struct locale_category_data): Give this name to + the type of locale_data_t's elements. + * locale/programs/locarchive.c (cmpcategorysize): New static function. + (add_locale): Use that to sort the categories by size and put all + those that fit into two pages into the LC_ALL block, instead of + hard-coding it to do everything but LC_CTYPE and LC_COLLATE. + (show_archive_content): Detect categories inside LC_ALL block + directly, instead of hard-coding. + (oldlocrecentcmp): Compare just on file locations used. + +2002-08-14 Jakub Jelinek + + * locale/programs/locarchive.c (struct oldlocrecent): New type. + (oldlocrecentcmp): New function. + (enlarge_archive): Re-add locales in the order they were added + to the archive. + (add_locale): Put all the small locale files together, if the small + locale file block would occupy less pages if page size aligned, align + it. + (show_archive_content): Adjust for locale archives optimized for speed. + +2002-08-14 Roland McGrath + + * configure.in: Use "MISSING" as not-found value for MIG. + * sysdeps/mach/configure.in: Fatal if mig not found. + * configure, sysdeps/mach/configure: Regenerated. + +2002-08-13 Jakub Jelinek + + * locale/loadarchive.c (archfname): Add missing slash. + + * sysdeps/generic/strtold.c (__strtold_internal): Add libc_hidden_def. + * wcsmbs/wcstold.c (__wcstold_internal): Add libc_hidden_def. + +2002-08-12 Roland McGrath + + * include/sys/wait.h (__waitpid): Add libc_hidden_proto. + * sysdeps/unix/sysv/sco3.2.4/waitpid.S: Add libc_hidden_def. + * sysdeps/unix/sysv/sysv4/waitpid.c: Add libc_hidden_weak. + * sysdeps/unix/sysv/linux/waitpid.c: Likewise. + * sysdeps/unix/sysv/aix/waitpid.c: Likewise. + * sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise. + * sysdeps/generic/waitpid.c: Likewise. + + * include/net/if.h: New file. Use libc_hidden_proto + for if_nametoindex and if_indextoname. + * sysdeps/generic/if_index.c: Add libc_hidden_def. + * sysdeps/mach/hurd/if_index.c: Likewise. + * sysdeps/unix/sysv/linux/if_index.c: Likewise. + + * include/grp.h (setgroups): Add libc_hidden_proto. + * sysdeps/generic/setgroups.c: Add libc_hidden_def. + * sysdeps/mach/hurd/setgroups.c: Likewise. + * sysdeps/unix/sysv/irix4/setgroups.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise. + +2002-08-13 Jakub Jelinek + + * include/unistd.h (seteuid, setegid): Add libc_hidden_proto. + * sysdeps/generic/seteuid.c (seteuid): Add libc_hidden_def. + * sysdeps/generic/setegid.c (setegid): Likewise. + * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise. + * sysdeps/mach/hurd/setegid.c (setegid): Likewise. + * sysdeps/unix/bsd/seteuid.c (seteuid): Likewise. + * sysdeps/unix/bsd/setegid.c (setegid): Likewise. + * sysdeps/unix/sysv/aix/seteuid.c (seteuid): Likewise. + * sysdeps/unix/sysv/aix/setegid.c (setegid): Likewise. + * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c (seteuid): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c (setegid): Likewise. + * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise. + * sysdeps/unix/sysv/linux/setegid.c (setegid): Likewise. + * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise. + Remove fallback if __ASSUME_SETRESUID_SYSCALL. + + * include/sys/stat.h (__fxstat_internal, __fxstat64_internal, + __lxstat_internal, __lxstat64_internal): Remove. + (__fxstat, __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64): + Add hidden_proto. + * sysdeps/generic/fxstat.c (__fxstat): Add hidden_def. + Remove INTDEF where present, remove #undef at the beginning. + * sysdeps/generic/fxstat64.c (__fxstat64): Likewise. + * sysdeps/generic/lxstat.c (__lxstat): Likewise. + * sysdeps/generic/lxstat64.c (__lxstat64): Likewise. + * sysdeps/generic/xstat.c (__xstat): Likewise. + * sysdeps/generic/xstat64.c (__xstat64): Likewise. + * sysdeps/mach/hurd/dl-sysdep.c (__xstat64, __fxstat64): Likewise. + * sysdeps/mach/hurd/fxstat.c (__fxstat): Likewise. + * sysdeps/mach/hurd/fxstat64.c (__fxstat64): Likewise. + * sysdeps/mach/hurd/lxstat.c (__lxstat): Likewise. + * sysdeps/mach/hurd/lxstat64.c (__lxstat64): Likewise. + * sysdeps/mach/hurd/xstat.c (__xstat): Likewise. + * sysdeps/mach/hurd/xstat64.c (__xstat64): Likewise. + * sysdeps/unix/fxstat.c (__fxstat): Likewise. + * sysdeps/unix/common/lxstat.c (__lxstat): Likewise. + * sysdeps/unix/sysv/aix/fxstat.c (__fxstat): Likewise. + * sysdeps/unix/sysv/aix/fxstat64.c (__fxstat64): Likewise. + * sysdeps/unix/sysv/aix/lxstat.c (__lxstat): Likewise. + * sysdeps/unix/sysv/aix/lxstat64.c (__lxstat64): Likewise. + * sysdeps/unix/sysv/aix/xstat.c (__xstat): Likewise. + * sysdeps/unix/sysv/aix/xstat64.c (__xstat64): Likewise. + * sysdeps/unix/sysv/linux/ia64/fxstat.c (__fxstat): Likewise. + * sysdeps/unix/sysv/linux/ia64/lxstat.c (__lxstat): Likewise. + * sysdeps/unix/sysv/linux/ia64/xstat.c (__xstat): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c (__fxstat): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c (__lxstat): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c (__xstat): Likewise. + * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise. + * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise. + * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise. + * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise. + * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise. + * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise. + * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): Likewise. + * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise. + * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise. + * sysdeps/unix/xstat.c (__xstat): Likewise. + + * include/sys/statvfs.h (statvfs, fstatvfs): Add libc_hidden_proto. + * sysdeps/generic/statvfs.c (statvfs): Add libc_hidden_def. + * sysdeps/generic/fstatvfs.c (fstatvfs): Likewise. + * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise. + * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Likewise. + * sysdeps/unix/sysv/linux/statvfs.c (statvfs): Likewise. + * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Likewise. + + * include/unistd.h (tcgetpgrp): Add libc_hidden_proto. + * include/termios.h (tcsetattr, cfsetispeed, cfsetospeed): Likewise. + * sysdeps/generic/tcgetpgrp.c (tcgetpgrp): Add libc_hidden_def. + * sysdeps/generic/tcsetattr.c (tcsetattr): Likewise. + * sysdeps/generic/speed.c (cfsetispeed, cfsetospeed): Likewise. + * sysdeps/unix/bsd/bsd4.4/tcsetattr.c (tcgetpgrp): Likewise. + * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Likewise. + * sysdeps/unix/bsd/sun/sunos4/speed.c (cfsetispeed, cfsetospeed): + Likewise. + * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise. + * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise. + * sysdeps/unix/sysv/aix/tcsetattr.c (tcsetattr): Likewise. + * sysdeps/unix/sysv/aix/speed.c (cfsetispeed, cfsetospeed): Likewise. + * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise. + * sysdeps/unix/sysv/linux/speed.c (cfsetispeed, cfsetospeed): Likewise. + * sysdeps/unix/sysv/tcgetpgrp.c (tcgetpgrp): Likewise. + * sysdeps/unix/sysv/tcsetattr.c (tcsetattr): Likewise. + + * include/string.h (strcoll): Add libc_hidden_proto. + * string/strcoll.c (strcoll): Add libc_hidden_def. + + * misc/err.c (vwarn): Fix pasto in libc_hidden_def. + +2002-08-11 Philip Blundell + + * sysdeps/arm/Makefile: New file. + +2002-08-08 Jakub Jelinek + + * posix/regcomp.c (parse_reg_exp): If '|' is immediately followed + by another '|', end of regex or enclosing ')', clear branch. + * posix/bug-regex9.c: New test. + * posix/Makefile (tests): Add bug-regex9. + +2002-08-12 Roland McGrath + + * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Fix inner loop + start count condition, use TOTAL instead of variable that was never + set. Fix outer loop termination condition to TOTAL >= after update. + + * sysdeps/generic/libc-tls.c (__libc_setup_tls): Initialize + dl_tls_static_align and dl_tls_static_nelem. + +2002-08-11 Roland McGrath + + * elf/tst-tlsmod4.c (in_dso): Insert a random library call before use + of the TLS macros, otherwise the compiler might not have initialized + the PIC register yet when we use the PLT via asm. + * elf/tst-tlsmod3.c (in_dso2): Likewise. + * elf/tst-tlsmod2.c (in_dso): Likewise. + + * sunrpc/svc_authux.c (_svcauth_unix): Remove spurious printf (ugh!). + + * sysdeps/i386/bits/byteswap.h (__bswap_16, __bswap_32, __bswap_64): + Evaluate argument exactly once. Remove __volatile__ from asm's. + + * include/unistd.h: Use libc_hidden_proto for getdomainname + and getlogin_r. + * sysdeps/generic/getdomain.c: Add libc_hidden_def. + * sysdeps/mach/hurd/getdomain.c: Likewise. + * sysdeps/unix/getlogin_r.c: Likewise. + * sysdeps/mach/hurd/getlogin_r.c: Likewise. + * sysdeps/generic/getlogin_r.c: Likewise. + + * include/rpc/auth_des.h: Use libc_hidden_proto for rtime. + * sunrpc/rtime.c: Add libc_hidden_def. + + * include/string.h: Use libc_hidden_proto for basename. + * string/basename.c [_LIBC]: Add libc_hidden_def. + + * sysdeps/unix/sysv/linux/opensock.c (__opensock): socket -> __socket. + + * locale/loadarchive.c: munmap -> __munmap throughout. + + * include/netdb.h: Use libc_hidden_proto for gai_strerror. + * sysdeps/posix/gai_strerror.c: Add libc_hidden_def. + * sysdeps/generic/gai_strerror.c: Likewise. + + * include/sys/errno.h: New file. + + * include/signal.h: No libc_hidden_proto for raise, + __libc_current_sigrtmin, __libc_current_sigrtmax. + These need to be overridden by linuxthreads. + * sysdeps/posix/raise.c: Reverted. + * sysdeps/generic/raise.c: Reverted. + * signal/allocrtsig.c: Reverted. + + * locale/loadarchive.c (LOCALEDIR): Remove debugging defn. Oops. + +2002-08-10 Roland McGrath + + * locale/loadarchive.c (_nl_archive_subfreeres): New function. + * locale/localeinfo.h: Declare it. + * locale/setlocale.c (free_mem): Don't call _nl_unload_locale on the + current locale if it's not in the file list. + Call _nl_archive_subfreeres. + +2002-08-10 Andreas Jaeger + + * sysdeps/i386/strchr.S: Add comment. + +2002-08-10 Roland McGrath + + * include/wchar.h (putwc): Use libc_hidden_proto. + * include/stdio.h (dprintf, fprintf, vfprintf, sprintf, + sscanf, fwrite, perror, remove, rewind, open_memstream): Likewise. + * stdio-common/dprintf.c: Add libc_hidden_def. * stdio-common/fprintf.c: Likewise. - * stdio-common/getline.c: Likewise. - * stdio-common/getw.c: Likewise. - * stdio-common/perror.c: Likewise. - * stdio-common/printf-prs.c: Likewise. - * stdio-common/printf.c: Likewise. - * stdio-common/printf_size.c: Likewise. - * stdio-common/psignal.c: Likewise. - * stdio-common/putw.c: Likewise. - * stdio-common/scanf.c: Likewise. - * stdio-common/snprintf.c: Likewise. * stdio-common/sprintf.c: Likewise. * stdio-common/sscanf.c: Likewise. - * stdio-common/tstgetln.c: Likewise. - * stdio-common/vfprintf.c: Likewise. - -2004-03-18 Paul Eggert - - * posix/getopt.h (__GNUC_PREREQ) [!defined __THROW]: Define - if not defined, fixing a typo (it used to be defined if - __GNUC__ was not defined). - -2004-03-18 Ulrich Drepper - - * posix/sched.h: Change sched_getaffinity and sched_setaffinity - interfaces: add new second parameter. - * sysdeps/generic/sched_getaffinity.c: Implement interface change. - * sysdeps/generic/sched_setaffinity.c: Likewise. - * sysdeps/unix/sysv/linux/sched_getaffinity.c: Likewise. Add - compatibility interface. - * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise. - * sysdeps/unix/sysv/linux/Versions: Add versions for changed - interfaces. - -2004-03-18 Roland McGrath - - * manual/Makefile (stamp-summary): Use -k option to sort, - not traditional key selection syntax. - Reported by Jim Gifford . - -2004-03-18 Jakub Jelinek - - * elf/ldconfig.c: Include stdbool.h. - -2004-03-18 Roland McGrath - - * elf/ldconfig.c (parse_conf_include): New function. - (parse_conf): Call it to parse lines starting with "include". - Remaining words are glob patterns for more config files to read. - Take additional bool argument to disable opt_chroot processing. - (main): Update caller. - -2004-03-17 Ulrich Drepper - - * sysdeps/unix/sysv/linux/ia64/ioperm.c (_iopl): Match EPERM error - the x86 code produces in case of mission permissions. - Patch by Bernd Schmidt . - - * resolv/netdb.h: Define AI_IDN_ALLOW_UNASSIGNED, - AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED, and - NI_IDN_USE_STD3_ASCII_RULES. - * inet/getnameinfo.c (getnameinfo): Implement handling of - NI_IDN_ALLOW_UNASSIGNED and NI_IDN_USE_STD3_ASCII_RULES. - * sysdeps/posix/getaddrinfo.c (gaih_inet): Implement handling of - AI_IDN_ALLOW_UNASSIGNED and AI_IDN_USE_STD3_ASCII_RULES. - -2004-03-17 Jakub Jelinek - - * sysdeps/x86_64/hp-timing.h (HP_TIMING_NOW): Make asm volatile. - -2004-03-16 Jakub Jelinek - - * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Spelling. - (JB_SIZE): Undefine before including __longjmp-common.S again. - * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Spelling. - (JB_SIZE): Undefine before including setjmp-common.S again. - * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Spelling. - * sysdeps/powerpc/powerpc64/bsd-setjmp.S: Spelling. - * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Spelling. - * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Spelling. - * sysdeps/powerpc/sigjmp.c: Spelling. - -2004-03-16 Ulrich Drepper - - * include/ctype.h: For libc, define isdigit, isdigit_l, and - __isdigit_l as simple comparison macros. - * include/wctype.h: For libc, define iswdigit, iswdigit_l, and - __iswdigit_l as simple comparison macros. - * wctype/wcfuncs_l.c: #undef iswdigit and __iswdigit. - -2004-03-15 Ulrich Drepper - - * sysdeps/sparc/fpu/bits/mathinline.h: Restore missing #ifdef. - Patch by Richard Henderson. - -2004-03-16 Jakub Jelinek - - * sysdeps/generic/strtold_l.c (STRING_TYPE, STRTOLD, __STRTOLD, - __STRTOD, INTERNAL, INTERNAL1): Define, use them. - [! USE_WIDE_CHAR] (INTERNAL (__STRTOLD)): Add libc_hidden_def. - - * inet/getnameinfo.c: Include stdlib.h. - -2004-03-15 Richard Henderson - - * math/Makefile (headers): Add bits/huge_valf.h, bits/huge_vall.h, - and bits/inf.h. - * math/math.h: Include them. - - * sysdeps/alpha/fpu/bits/mathdef.h: Remove INFINITY. - * sysdeps/arm/fpu/bits/mathdef.h: Likewise. - * sysdeps/generic/bits/mathdef.h: Likewise. - * sysdeps/i386/fpu/bits/mathdef.h: Likewise. - * sysdeps/ia64/fpu/bits/mathdef.h: Likewise. - * sysdeps/m68k/fpu/bits/mathdef.h: Likewise. - * sysdeps/mips/fpu/bits/mathdef.h: Likewise. - * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise. - * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise. - * sysdeps/sparc/fpu/bits/mathdef.h: Likewise. - * sysdeps/x86_64/fpu/bits/mathdef.h: Likewise. - - * sysdeps/arm/bits/huge_val.h (HUGE_VAL): Use __builtin_huge_val. - (HUGE_VALF, HUGE_VALL): Remove. - * sysdeps/ieee754/bits/huge_val.h: Likewise. - * sysdeps/sh/bits/huge_val.h: Likewise. - - * sysdeps/generic/bits/huge_val.h (HUGE_VAL): Use __builtin_huge_val. - * sysdeps/generic/bits/huge_valf.h: New file. - * sysdeps/generic/bits/huge_vall.h: New file. - * sysdeps/generic/bits/inf.h: New file. - * sysdeps/ieee754/bits/huge_valf.h: New file. - * sysdeps/ieee754/bits/inf.h: New file. - * sysdeps/i386/bits/huge_val.h: Remove file. - * sysdeps/i386/bits/huge_vall.h: New file. - * sysdeps/ia64/bits/huge_val.h: Remove file. - * sysdeps/ia64/bits/huge_vall.h: New file. - * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: New file. - * sysdeps/m68k/bits/huge_val.h: Remove file. - * sysdeps/m68k/bits/huge_vall.h: New file. - * sysdeps/s390/bits/huge_val.h: Remove file. - * sysdeps/sh/sh4/fpu/bits/huge_val.h: Remove file. - * sysdeps/sparc/bits/huge_vall.h: New file. - * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Remove file. - * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Remove file. - - * sysdeps/ieee754/bits/nan.h (NAN): Use __builtin_nanf. - * sysdeps/mips/bits/nan.h (NAN): Likewise. - -2004-03-15 Ulrich Drepper - - * iconv/gconv_simple.c (__gconv_transform_utf8_internal): Use only - one copy of error handling code. - - * stdio-common/vfscanf.c: Simplify error handling macros. Use - direct locale access functions. - - * sysdeps/generic/strcasestr.c (__strcasestr): Optimize use of - tolower function. - -2004-03-13 Jakub Jelinek - - * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Add const. - (handle_amd): New function. - (__sysconf): Handle _SC_LEVEL4_CACHE_LINESIZE here, not in - linux_sysconf. Call handle_amd on AuthenticAMD. - * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Likewise. - -2004-03-14 Ulrich Drepper - - * wcsmbs/mbsrtowcs.c: Just a wrapper around __mbsrtowcs_l. - * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Add real implementation here. - - Make the non-_l functions wrappers around the _l functions. - * include/monetary.h: Declare __vstrmon_l. - * include/string.h: Add libc_hidden_proto for __strcoll_l and - __strxfrm_l. - * include/time.h: Define ptime_locale_status. Declare - __strptime_internal. - * include/wchar.h: Add libc_hidden_proto for __wcscoll_l and - __wcsxfrm_l. - * stdlib/strfmon.c: Move the code to strfmon_l.c. Add little - wrapper around __vstrfmon_l. - * stdlib/strfmon_l.c: Add real implementation. Split into new - function __vstrfmon_l to allow calling it from strfmon. - * stdlib/strtod.c: Move real code to strtod_l.c and add wrapper. - * stdlib/strtod_l.c: Add real implementation. - * stdlib/strtof.c: Adjust to changed strtod.c. - * stdlib/strtof_l.c: Include strtod_l.c now. - * stdlib/strtold.c: New file. - * stdlib/strtold_l.c: Removed. - * string/strcoll.c: Move real code to strcoll_l.c: Add wrapper. - * string/strcoll_l.c: Add real implementation. - * string/strxfrm.c: Move real code to strxfrm_l.c: Add wrapper. - * string/strxfrm_l.c: Add real implementation. - * sysdeps/generic/strtol.c: Move real implementation to strtol_l.c. - Add wrappers. - * sysdeps/generic/strtol_l.c: Add real implementation. - * sysdeps/generic/strtold.c: Removed. - * sysdeps/generic/strtold_l.c: New file. - * sysdeps/generic/strtoll_l.c: Include strtol_l.c now. Adjust - #defines. - * sysdeps/generic/strtoul_l.c: Likewise. - * sysdeps/generic/strtoull_l.c: Likewise. - * sysdeps/generic/wcstol_l.c: Likewise. - * sysdeps/generic/wcstoll_l.c: Likewise. - * sysdeps/generic/wcstoul_l.c: Likewise. - * sysdeps/generic/wcstoull_l.c: Likewise. - * sysdeps/ieee754/ldbl-128/strtold.c: Removed. - * sysdeps/ieee754/ldbl-128/strtold_l.c: New file. - * sysdeps/ieee754/ldbl-96/strtold.c: Removed. - * sysdeps/ieee754/ldbl-96/strtold_l.c: New file. - * sysdeps/m68k/strtold.c: Removed. - * sysdeps/m68k/strtold_l.c: New file. - * time/strftime.c: Move real code to strftime_l.c. Add wrapper. - * time/strftime_l.c: Add real implementation. - * time/strptime.c: Move real code to strptime_l.c. Add wrapper. - * time/strptime_l.c: Add real implementation. - * time/wcsftime.c: Simplify since only wrappers are defined in - strftime.c. - * time/wcsftime_l.c: Include strftime_l.c. - * wcsmbs/wcscoll.c: Simplify since the file is not used by wcscoll_l.c - anymore. - * wcsmbs/wcscoll_l.c: Include strcoll_l.c. - * wcsmbs/wcsxfrm.c: Simplify since the file is not used by wcsxfrm_l.c - anymore. - * wcsmbs/wcsxfrm_l.c: Include strxfrm_l.c. - * wcsmbs/wcstod.c: Prepare to include new strtod.c. - * wcsmbs/wcstod_l.c: Include strtod_l.c. - * wcsmbs/wcstof.c: Prepare to include new strtof.c. - * wcsmbs/wcstof_l.c: Include strtof_l.c. - * wcsmbs/wcstold.c: Prepare to include new strtold.c. - * wcsmbs/wcstold_l.c: Include strtold_l.c. - - * locale/uselocale.c: Use _NL_CURRENT_LOCALE instead of __libc_tsd_get. - - * sysdeps/generic/strcasecmp.c: Optimize a bit. It's better to get - a reference to the current locale and then use the _l functions. - * sysdeps/generic/strncase.c: Likewise. - -2004-03-11 Jeroen Dekkers - - * cppflags-iterator.mk: Change libof-$(cpp-src) to - libof-$(notdir $(cpp-src)). - -2004-03-13 Ulrich Drepper - - * resolv/netdb.h (EAI_OVERFLOW): Define. - (NI_IDN): Define. - * inet/getnameinfo.c (getnameinfo): Return error in case argument - buffers overflow. Implement NI_IDN. - -2004-03-12 Ulrich Drepper - - * resolv/netdb.h: Define AI_CANONIDN. - * sysdeps/posix/getaddrinfo.c: Implement AI_CANONIDN. - -2004-03-12 Richard Henderson - - * sysdeps/unix/sysv/linux/alpha/select.S: Fix unwind. Propagate - oldvalue from CENABLE to CDISABLE. - -2004-03-12 Ulrich Drepper - - * sysdeps/unix/sysv/linux/x86_64/sysconf.c: New file. - - * sysdeps/unix/sysv/linux/bits/local_lim.h: Define HOST_NAME_MAX. - - * posix/getconf.c (vars): Add _SC_ values for cache information. - * sysdeps/generic/bits/confname.h: Add _SC_* values for cache - information. - * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Reorganize to - allow yet another sysconf function to include the one in this file. - * sysdeps/unix/sysv/linux/i386/sysconf.c: New file. - * sysdeps/generic/sysconf.c: Add default handling for cache line info. - -2004-03-11 Ulrich Drepper - - * sysdeps/posix/sysconf.c (__sysconf): Add missing support for - some _SC_* values. - -2004-03-10 Chris Heath - - * iconvdata/gconv.map: Add gconv_end (fixes memory leak). - -2004-03-11 Jakub Jelinek - - * sysdeps/powerpc/powerpc32/__longjmp.S (JB_SIZE): Undefine before - including __longjmp-common.S again. - * sysdeps/powerpc/powerpc64/__longjmp.S (JB_SIZE): Likewise. - * sysdeps/powerpc/powerpc32/setjmp.S (JB_SIZE): Undefine before - including setjmp-common.S again. - * sysdeps/powerpc/powerpc64/setjmp.S (JB_SIZE): Likewise. - * sysdeps/powerpc/novmxsetjmp.h (__novmx__longjmp): Fix type of - first argument in the prototype. - * sysdeps/powerpc/longjmp.c (__vmx__longjmp, __vmx__libc_longjmp): - Remove bogus semicolons. - - * sysdeps/s390/dl-tls.h: Only add __tls_get_offset assembly if - IS_IN_rtld. - (__TLS_GET_ADDR): Use __tls_get_offset, not __tls_get_addr. - -2004-03-11 Ulrich Drepper - - * resolv/ns_ttl.c: Don't add ns_parse_ttl for libresolv.so. - -2004-03-10 Ulrich Drepper - - * sysdeps/generic/errno.c: Include . Use - RTLD_PRIVATE_ERRNO to decide whether errno compat symbols are needed. - - * elf/dl-sym.c: Unify _dl_sym and _dl_vsym code and make the entry - points wrappers around the unified code. - -2004-03-11 Richard Henderson - - * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (kernel_stat64): New. - (glibc21_stat): New. - * sysdeps/unix/sysv/linux/alpha/fxstat.c: New file. - * sysdeps/unix/sysv/linux/alpha/lxstat.c: New file. - * sysdeps/unix/sysv/linux/alpha/xstat.c: New file. - * sysdeps/unix/sysv/linux/alpha/xstatconv.c (__xstat_conv): Add - code for _STAT_VER_GLIBC2_3_4. - (__libc_missing_axp_stat64): New. - * sysdeps/unix/sysv/linux/alpha/xstatconv.h: New file. - * sysdeps/unix/sysv/linux/alpha/bits/stat.h (__ST_TIME): New. - (_STAT_VER_GLIBC2_3_4, _STAT_VER_KERNEL64): New. - (struct stat, struct stat64): Update to new format. - (_STATBUF_ST_NSEC): New. - -2004-03-11 Jakub Jelinek - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S - (__novec_swapcontext): Branch to novec_* labels. - -2004-03-10 Ulrich Drepper - - * posix/getopt.c (_): Don't define here for glibc. - -2004-03-10 Jakub Jelinek - - * include/libc-symbols.h [__ASSEMBLY__] (compat_text_section, - compat_data_section): Define. - * sysdeps/unix/sysv/linux/alpha/adjtime.c (ADJTIME): Add - attribute_compat_text_section. - * sysdeps/unix/sysv/linux/alpha/wordexp.c (__old_wordexp): Likewise. - * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob, - __old_globfree): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/chown.c (__chown_is_lchown): + * libio/iofwrite.c: Likewise. + * libio/memstream.c: Likewise. + * libio/putwc.c: Likewise. + * stdio-common/perror.c: Likewise. + * sysdeps/posix/remove.c: Likewise. + * sysdeps/generic/remove.c: Likewise. + * libio/rewind.c: Likewise. Use instead of "stdio.h". + * stdio-common/vfprintf.c: Add libc_hidden_def. Include . + +2002-08-09 Jakub Jelinek + + * include/wctype.h (iswalpha, iswdigit, iswlower, iswspace, iswxdigit, + towlower, towupper): Add prototypes here too. Add libc_hidden_proto. + * wctype/wcfuncs.c (iswalpha, iswdigit, iswlower, iswspace, iswxdigit, + towlower, towupper): Add libc_hidden_weak. + + * include/bits/dlfcn.h: New file. + * elf/dl-profstub.c (_dl_mcount_wrapper_check): Add libc_hidden_def. + + * include/grp.h (_nss_files_parse_grent): Add libc_hidden_proto. + * include/netinet/ether.h (_nss_files_parse_etherent): Likewise. + * include/rpc/netdb.h (_nss_files_parse_rpcent): Likewise. + * include/pwd.h (_nss_files_parse_pwent): Likewise. + * include/shadow.h (_nss_files_parse_spent): Likewise. + * include/netdb.h (_nss_files_parse_protoent, + _nss_files_parse_servent, _nss_files_parse_netent): Likewise. + * nss/nss_files/files-parse.c (nss_files_parse_hidden_def): Define. + (LINE_PARSER): Use it. + * nss/nsswitch.h (__nss_hostname_digits_dots): Add libc_hidden_proto. + * nss/digits_dots.c (__nss_hostname_digits_dots): Add libc_hidden_def. + + * libio/oldiopopen.c: Move #if SHLIB_COMPAT after _IO_HAVE_SYS_WAIT + #endif. + + * manual/debug.texi (%MENU%): Remove trailing dot. + Reported by . + + * sysdeps/unix/sysv/linux/ia64/syscalls.list (llseek): Add lseek + aliases. + (lseek): Dummy. + * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (llseek, lseek): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c - (__posix_fadvise64_l32): Likewise. - * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c - (__posix_fadvise64_l32): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c (__old_semctl): + +2002-08-09 Roland McGrath + + * locale/loadarchive.c (_nl_load_locale_from_archive): Parse locale + name to find codeset name (if any) and normalize it. If the + normalized name differs, look up only that in the archive. + * locale/programs/locarchive.c (add_locale_to_archive): If the name + contains a codeset, normalize the codeset store only the normalized + name in the archive. If not, add an alias containing the locale's + normalized codeset name. Apply codeset name normalization when + matching entries in the alias file. + + * locale/programs/locarchive.c (delete_locales_from_archive): Don't + decrement HEAD->namehash_used here. + (add_locale): Only need to insert name string when name_offset != 0. + + * locale/programs/localedef.c (options): Add -A/--alias-file. + (alias_file): New variable. + (parse_opt): Grok -A, set that. + * locale/programs/localedef.h: Declare it. + + * locale/locarchive.h (struct locrecent): Add `refs' member. + * locale/programs/locarchive.c (insert_name): New function, broken out + of ... + (add_locale_to_archive): ... here. Call that. + (add_alias): New function. + (add_locale): New static function, add_locale_to_archive renamed. + (add_locale_to_archive): Call that and use add_alias to add an alias + for the name with codeset if the given name lacks it. + (enlarge_archive): Call add_locale instead of add_locale_to_archive. + + * locale/Makefile (routines): Add loadarchive. + * locale/loadarchive.c: New file, started from code by Ulrich Drepper. + (_nl_load_locale_from_archive): New function. + * locale/localeinfo.h: Declare it. + * locale/findlocale.c (_nl_find_locale): If using default locale path, + try _nl_load_locale_from_archive first. + + * locale/loadlocale.c (_nl_intern_locale_data): New function, + broken out of _nl_load_locale. + (_nl_load_locale): Call that. + * locale/localeinfo.h: Declare it. + (struct locale_data): Replace member `mmaped' with `alloc', an enum. + (struct locale_data): Remove unused member `options'. + * locale/findlocale.c (_nl_remove_locale): Update uses. + * locale/loadlocale.c (_nl_load_locale, _nl_unload_locale): Likewise. + * locale/C-collate.c: Update initializer. + * locale/C-identification.c: Likewise. + * locale/C-measurement.c: Likewise. + * locale/C-telephone.c: Likewise. + * locale/C-address.c: Likewise. + * locale/C-name.c: Likewise. + * locale/C-paper.c: Likewise. + * locale/C-time.c: Likewise. + * locale/C-numeric.c: Likewise. + * locale/C-monetary.c: Likewise. + * locale/C-messages.c : Likewise. + * locale/C-ctype.c: Likewise. + + * locale/hashval.h [! LONGBITS]: Include here and + use CHAR_BIT instead of BITSPERBYTE. + + * locale/localeinfo.h (_nl_find_locale, _nl_load_locale, + _nl_unload_locale): Add `internal_function attribute_hidden' to decls. + * locale/findlocale.c (_nl_find_locale): Add internal_function to defn. + (_nl_remove_locale): Likewise. + * locale/loadlocale.c (_nl_load_locale, _nl_unload_locale): Likewise. + + * locale/findlocale.c (_nl_default_locale_path): New variable. + (_nl_find_locale): If LOCALE_PATH is null, default to that. + * locale/localeinfo.h: Declare it. + * locale/setlocale.c (setlocale): Use _nl_default_locale_path + in place of LOCALEDIR. If no LOCPATH, pass null to _nl_find_locale. + * locale/newlocale.c (__newlocale): Likewise. + + * misc/err.c (vwarnx, vwarn): Fix typos in libc_hidden_def uses. + * inet/rexec.c (rexec_af): Add libc_hidden_def. + * sysdeps/generic/morecore.c: Likewise. + * signal/allocrtsig.c (__libc_current_sigrtmin): Likewise. + (__libc_current_sigrtmax): Likewise. + +2002-08-08 Roland McGrath + + * locale/loadlocale.c (_nl_load_locale): Don't use MAP_INHERIT. + * catgets/open_catalog.c (__open_catalog): Likewise. + + * locale/programs/locarchive.c (INITIAL_NUM_NAMES): Renamed + from typo INITIAL_NUM_NANES. + (create_archive): Update use. + +2002-08-08 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sigwait.c: New file. + +2002-08-08 Roland McGrath + + * resolv/netdb.h: Don't declare h_errno as a plain global any more. + +2002-08-08 Jakub Jelinek + + * sysdeps/wordsize-64/wcstol_l.c (wcstoll_l): Define to something + else and undefine after including wcstol_l.c. + * sysdeps/wordsize-64/wcstoul_l.c (wcstoull_l): Similarly. + +2002-08-08 Ulrich Drepper + + * gmon/gmon.c (write_gmon): Use O_NOFOLLOW in open calls if available. + +2002-08-08 Alexandre Oliva + + * configure.in: Make the test for broken_alias_attribute stricter. + +2002-05-24 Robert Love + + * posix/Makefile (routines): Add sched_getaffinity and + sched_setaffinity. + * posix/sched.h: Add declarations for sched_getaffinity and + sched_setaffinity. + * sysdeps/generic/sched_getaffinity.c: New file. + * sysdeps/generic/sched_setaffinity.c: New file. + * sysdeps/unix/sysv/linux/syscalls.list: Add sched_getaffinity and + sched_setaffinity. + +2002-08-06 Andreas Schwab + + * sysdeps/unix/utime.c: If TIMES is NULL pass it through to utimes. + +2002-08-07 Ulrich Drepper + + * elf/dl-load.c (_dl_map_object_from_fd): Add missing \n in error + message. + + * stdlib/isomac.c (get_null_defines): Treat NOT_IN_libc special. + It is known to be defined. + + * include/string.h: Define index and rindex only if _ISOMAC is not + defined. + + * elf/rtld.c: Include . + * sysdeps/generic/libc-tls.c: Likewise. + +2002-08-07 Roland McGrath + + * resolv/res_debug.c (latlon2ul): Add const to argument type, and use + it internally. + (precsize_aton): Likewise. + + * inet/getnetgrent_r.c (endnetgrent, __getnetgrent_r): Actually call + the static symbols added in the last change (doofus is me). + + * locale/newlocale.c (__newlocale): Use a bit mask instead of a second + loop to notice missing categories in a composite name. + + * locale/locale.h (LC_CTYPE_MASK, LC_NUMERIC_MASK, LC_TIME_MASK, + LC_COLLATE_MASK, LC_MONETARY_MASK, LC_MESSAGES_MASK, LC_ALL_MASK, + LC_PAPER_MASK, LC_NAME_MASK, LC_ADDRESS_MASK, LC_TELEPHONE_MASK, + LC_MEASUREMENT_MASK, LC_IDENTIFICATION_MASK, LC_ALL_MASK): New macros. + +2002-08-07 Ulrich Drepper + + * malloc/tst-calloc.c: Add tests for one or both parameters being zero. + +2002-08-07 Roland McGrath + + * sysdeps/i386/dl-machine.h (elf_machine_rel): Add to, don't clobber, + unrelocated initial value for DTPOFF32 and TPOFF32 relocs. + Reported by Jakub Jelinek . + +2002-08-07 Jakub Jelinek + + * malloc/malloc.c (public_cALLOc): Check ELEM_SIZE != 0 before + division. + +2002-08-06 Roland McGrath + + * include/getopt.h: Put private decls inside [_GETOPT_H]. + Use libc_hidden_proto for getopt_long, getopt_long_only. + * posix/getopt1.c [_LIBC]: Include instead of "getopt.h". + Add libc_hidden_def. + + * sysdeps/generic/unwind-dw2-fde-glibc.c [_LIBC] (dl_iterate_phdr): + Define as a macro for __dl_iterate_phdr. + + * inet/getnetgrent_r.c (internal_setnetgrent): Renamed from __ name, + made static. Add __ name as a strong alias. + (internal_endnetgrent): Likewise. + (internal_getnetgrent_r): Likewise. + + * locale/Versions (libc: GLIBC_2.3): Add all the *_l functions + with no __ prefix. + * locale/langinfo.h [__USE_GNU]: Declare nl_langinfo_l. + * ctype/ctype.h [__USE_GNU]: Add declarations and macros for + all *_l functions with no __ prefix. + * wctype/wcfuncs_l.c: Define weak aliases without __ for all fns. + * ctype/ctype_l.c: Likewise. + * locale/nl_langinfo.c: Likewise. + * string/string.h [__USE_GNU]: Add decls for all *_l fns with no __. + * stdlib/stdlib.h [__USE_GNU]: Likewise. + * wcsmbs/wchar.h [__USE_GNU]: Likewise. + * wctype/wctype.h [__USE_GNU]: Likewise. + * string/strcoll_l.c (strcoll_l): Define as weak alias. + * string/strxfrm_l.c (strxfrm_l): Define as weak alias. + * sysdeps/generic/strcasecmp_l.c (strcasecmp_l): Define as weak alias. + * sysdeps/generic/strncase_l.c (strncasecmp_l): Define as weak alias. + * stdlib/strtod_l.c (strtod_l): Define as weak alias. + * stdlib/strtof_l.c (strtof_l): Define as weak alias. + * stdlib/strtold_l.c (strtold_l): Define as weak alias. + * wcsmbs/wcscasecmp_l.c (wcscasecmp_l): Define as weak alias. + (__wcscasecmp_l): Add libc_hidden_def. + * wcsmbs/wcsncase_l.c (wcsncasecmp_l): Define as weak alias. + (__wcsncasecmp_l): Add libc_hidden_def. + * wcsmbs/wcstof_l.c (wcstof_l): Define as weak alias. + * wcsmbs/wcstod_l.c (wcstod_l): Define as weak alias. + * wcsmbs/wcstold_l.c (wcstold_l): Define as weak alias. + * wcsmbs/wcscoll_l.c (wcscoll_l): Define as weak alias. + * wcsmbs/wcsxfrm_l.c (wcsxfrm_l): Define as weak alias. + * sysdeps/generic/wcstol_l.c (wcstol_l): Define as weak alias. + * sysdeps/generic/wcstoll_l.c (wcstoll_l): Define as weak alias. + * sysdeps/generic/wcstoul_l.c (wcstoul_l): Define as weak alias. + * sysdeps/generic/wcstoull_l.c (wcstoull_l): Define as weak alias. + * sysdeps/wordsize-64/wcstol_l.c (wcstoll_l): Define as weak alias. + * sysdeps/wordsize-64/wcstoul_l.c (wcstoull_l): Define as weak alias. + * wctype/wctrans_l.c (wctrans_l) Define as weak alias. + * wctype/towctrans_l.c (towctrans_l) Define as weak alias. + * wctype/wctype_l.c (wctype_l) Define as weak alias. + +2002-08-05 Roland McGrath + + * include/rpc/auth.h: Use libc_hidden_proto for getnetname, + netname2user, host2netname, user2netname, key_gendes. + * sunrpc/netname.c: Add libc_hidden_def. + * sunrpc/key_call.c: Likewise. + + * include/netdb.h: Use libc_hidden_proto for getaddrinfo, getnameinfo, + freeaddrinfo. + * inet/getnameinfo.c: Add libc_hidden_def. + * sysdeps/generic/getaddrinfo.c: Likewise. + * sysdeps/posix/getaddrinfo.c: Likewise. + + * include/wchar.h: Use libc_hidden_proto for wmemchr, wmemset. + * wcsmbs/wmemchr.c: Add libc_hidden_def. + * wcsmbs/wmemset.c: Add libc_hidden_def. + + * include/string.h: Move libc_hidden_proto's inside #ifndef _STRING_H. + (index, rindex): Define as macros for strchr, strrchr. + + * string/envz.c (envz_strip): index -> strchr + + * include/rpc/rpc_msg.h: Use libc_hidden_proto for _seterr_reply. + * sunrpc/rpc_prot.c: Add libc_hidden_def. + + * include/wchar.h: Use libc_hidden_proto for mbrtowc. + * wcsmbs/mbrtowc.c: Add libc_hidden_weak. + + * include/stdlib.h: Use libc_hidden_proto for wctomb. + * stdlib/wctomb.c: Add libc_hidden_def. + + * include/netdb.h: Use libc_hidden_proto for innetgr, rcmd_af, + rexec_af, rresvport_af, ruserok_af, iruserok_af, ruserpass, hstrerror. + * resolv/herror.c: Likewise. + * inet/rcmd.c: Add libc_hidden_def. + * inet/ruserpass.c: Likewise. + * inet/getnetgrent_r.c: Likewise. + + * include/rpc/svc.h: Use libc_hidden_proto for svc_register, + svc_unregister, remove *_internal decls. Use libc_hidden_proto + for svcerr_auth, svcerr_noprog, svcerr_progvers. + * sunrpc/svc.c (svc_register, svc_unregister): Change INTDEF to + libc_hidden_def. + (svcerr_auth, svcerr_noprog, svcerr_progvers): Add libc_hidden_def. + * sunrpc/svc_simple.c (registerrpc): Nix INTUSE for svc_register. + + * sysdeps/posix/system.c (do_system): New function, guts broken out of + __libc_system. + (__libc_system): Call it, putting just the line == NULL test here. + + * include/libc-symbols.h (__hidden_proto): Add extern keywords so + variables work right. + + * elf/dl-open.c (dl_open_worker): Use _ macro instead of gettext. + * elf/dl-close.c (_dl_close): Likewise. + + * include/netinet/in.h: Use libc_hidden_proto for bindresvport, + in6addr_any, in6addr_loopback. Remove decls for + bindresvport_internal, in6addr_any_internal, in6addr_loopback_internal. + * sunrpc/svc_udp.c (svcudp_bufcreate): Nix INTUSE for bindresvport. + * sunrpc/svc_tcp.c (svctcp_create): Likewise. + * sunrpc/clnt_udp.c (clntudp_bufcreate): Likewise. + * sunrpc/bindrsvprt.c: Change INTDEF to libc_hidden_def. + * inet/in6_addr.c: Change INTVARDEF to libc_hidden_def. + * sysdeps/posix/getaddrinfo.c (gaih_inet): Nix INTUSE for + in6addr_loopback. + * inet/gethstbyad_r.c (PREPROCESS): Nix INTUSE for in6addr_any. + + * include/netinet/ether.h: Use libc_hidden_proto for ether_ntoa_r, + ether_aton_r. + * inet/ether_aton_r.c: Add libc_hidden_def. + * inet/ether_ntoa_r.c: Likewise. + + * include/rpc/svc.h: Use libc_hidden_proto for xprt_register, + xprt_unregister. + * sunrpc/svc.c: Add libc_hidden_def. + * include/rpc/pmap_clnt.h: Use libc_hidden_proto for pmap_getport, + pmap_set, pmap_unset. + * sunrpc/pmap_clnt.c: Add libc_hidden_def. + * sunrpc/pm_getport.c: Likewise. + * include/rpc/auth_des.h: Use libc_hidden_proto for getpublickey. + * sunrpc/publickey.c: Add libc_hidden_def. + +2002-08-05 Ulrich Drepper + + * elf/rtld.c (_dl_start): Don't use memset. Use same tricks as for + the other memset call in this function. + + * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Store dtv pointer + at correct index. Clear BSS region now that memalign is used. + +2002-08-05 Roland McGrath + + * include/sys/utsname.h: Use libc_hidden_proto for uname, __uname. + * sysdeps/generic/uname.c: Add libc_hidden_def. + * sysdeps/mach/hurd/uname.c: Likewise. + +2002-08-05 Jakub Jelinek + + * include/wchar.h (wcrtomb, wcscmp, wcsftime, wcsspn, wcschr, wcscoll, + wcspbrk): Add libc_hidden_proto. + * time/strftime.c (my_strftime): Add libc_hidden_def. + (strftime): Remove libc_hidden_def. + * wcsmbs/wcschr.c (wcschr): Add libc_hidden_def. + * wcsmbs/wcspbrk.c (wcspbrk): Likewise. + * wcsmbs/wcsspn.c (wcsspn): Likewise. + * wcsmbs/wcscmp.c (wcscmp): Likewise. + * wcsmbs/wcrtomb.c (wcrtomb): Add libc_hidden_weak. + * wcsmbs/wcscoll.c (wcscoll): Likewise. + + * include/rpc/rpc.h (__rpc_thread_svc_max_pollfd, + __rpc_thread_svc_pollfd, __rpc_thread_svc_fdset, + __rpc_thread_createerr): Add libc_hidden_proto. + * sunrpc/rpc_thread.c (__rpc_thread_svc_max_pollfd, + __rpc_thread_svc_pollfd, __rpc_thread_svc_fdset, + __rpc_thread_createerr): Add libc_hidden_def. + + * include/rpc/clnt.h (clnt_sperrno, clnt_spcreateerror, + clnt_perror, clnt_sperror, _rpc_dtablesize): Add libc_hidden_proto. + * sunrpc/clnt_perr.c (clnt_sperrno, clnt_spcreateerror, + clnt_perror, clnt_sperror): Add libc_hidden_def. + * sunrpc/rpc_dtable.c (_rpc_dtablesize): Likewise. + + * include/rpc/des_crypt.h (des_setparity, ecb_crypt, cbc_crypt): Add + libc_hidden_proto. + * sunrpc/des_crypt.c (ecb_crypt, cbc_crypt): Add libc_hidden_proto. + * sunrpc/des_soft.c (des_setparity): Likewise. + + * include/rpc/auth.h (key_encryptsession_pk, key_decryptsession_pk): + Add libc_hidden_proto. + * sunrpc/key_call.c (key_encryptsession_pk, key_decryptsession_pk): + Add libc_hidden_def. + +2002-08-05 Roland McGrath + + * sysdeps/generic/ldsodefs.h (struct rtld_global): Replace member + `bool _dl_initial_dtv_malloced' with `void *_dl_initial_dtv'. + * elf/rtld.c (dl_main): Set it to the new dtv for the main thread. + * sysdeps/generic/dl-tls.c (__tls_get_addr): When reallocating the + dtv, check if it matches _dl_initial_dtv; if so, malloc and copy the + old data, abandoning the original memory allocated by rtld at startup, + instead of calling realloc normally. + +2002-08-05 Ulrich Drepper + + * po/fr.po: Update from translation team. + +2002-08-04 Roland McGrath + + * sysdeps/unix/make-syscalls.sh: If the syscall name field is - + then generate a dummy module under the given name, obeying the + normal rules for the "caller" field. + + * sysdeps/generic/libc-tls.c (__libc_setup_tls): Make the phdr loop + actually iterate over the elements. Fix typo p_type -> p_vaddr. + + * include/pthread.h: Don't declare __pthread_initialize_minimal as + weak here; we declare it weak or strong in the one place we use it. + * sysdeps/generic/libc-start.c: ... which is here. + Don't make the decl weak if [USE_TLS], since static programs need TLS + setup even when single-threaded. + + * stdlib/isomac.c (fmt): Add -DNOT_IN_libc to the compiler command. + + * elf/Makefile (test-srcs): Add $(modules-names) to it. + (CFLAGS-vismod2.c, CFLAGS-failobj.c, CFLAGS-constload2.c, + CFLAGS-reldepmod3.c, CFLAGS-reldepmod4.c, CFLAGS-ltglobmod2.c): Remove + all these variables. + +2002-08-04 Ulrich Drepper + + * include/stdio.h: Don't define macro magic to redirect function + calls if _ISOMAC is defined. + + * sysdeps/i386/fpu/libm-test-ulps: Add epsilons for inlined + ldouble asin tests. + +2002-08-04 Roland McGrath + + * stdlib/lrand48_r.c: Add libc_hidden_def. + + * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): Allocate the + TCB with __libc_memalign instead of mmap. + (_dl_deallocate_tls): Free it with free instead of munmap. + + * Makerules (cpp-srcs-left): When setting this to run + cppflags-iterator.mk, must append .c to $(tests) and $(xtests) + words. Combine the two loops into one on the concatenated list, + including those as well as $(test-srcs). + + * elf/dl-minimal.c (__libc_memalign): Guts of malloc moved here, + since we align here with optimally minimal waste anyway. + (malloc): Just call that. + + * sysdeps/generic/libc-tls.c (__libc_setup_tls): Set l_tls_offset to + the right variable. + + * elf/dl-load.c (_dl_map_object_from_fd): Use p_vaddr, not p_offset, + to compute memory location for l_tls_initimage. + * elf/rtld.c (_dl_start): Likewise. + * sysdeps/generic/libc-tls.c (__libc_setup_tls): Likewise. + + * libio/oldiopopen.c: Move #include's before #if SHLIB_COMPAT, + because the .d file is generated in the non-shared case and + so fails to catch them otherwise. + + * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): New function, + split out of _dl_allocate_tls. + (_dl_allocate_tls_init): Likewise. + (_dl_allocate_tls): Call those. + * sysdeps/generic/ldsodefs.h: Declare them with attribute_hidden. + * elf/rtld.c (dl_main): Call them separately instead of calling + _dl_allocate_tls. Delay _dl_allocate_tls_init until after relocation + is finished, so that the initializer data has been relocated before we + copy it into the main thread's TLS block. + + * sysdeps/generic/dl-tls.c (_dl_allocate_tls): Fix off-by-one error in + loop conditions, prevented the last used module from being initialized. + +2002-08-04 Jakub Jelinek + + * sysdeps/generic/glob.c (glob, globfree): Only use libc_hidden_def + if glob resp. globfree are not macros. + * sysdeps/gnu/glob64.c (globfree64): Add libc_hidden_def. + * sysdeps/unix/sysv/linux/alpha/glob.c (glob, globfree, globfree64): + Add libc_hidden_ver. + * sysdeps/unix/sysv/linux/i386/glob64.c (globfree64): Add + libc_hidden_def. + * sysdeps/wordsize-64/glob.c (globfree64): Use libc_hidden_ver + instead of libc_hidden_weak. + * sysdeps/wordsize-64/strtol.c (__strtoll_internal): Use + libc_hidden_ver instead of libc_hidden_def. + * sysdeps/wordsize-64/wcstol.c (__wcstoll_internal): Use + libc_hidden_ver instead of libc_hidden_def. + (wcstoll, wcstoq): Remove libc_hidden_weak. + * sysdeps/wordsize-64/strtol_l.c (____strtoll_l_internal): Add + libc_hidden_ver. + * sysdeps/wordsize-64/strtoul.c (__strtoull_internal): Add + libc_hidden_ver. + * sysdeps/wordsize-64/strtoul_l.c (____strtoull_l_internal): Add + libc_hidden_ver. + * sysdeps/wordsize-64/wcstoul.c (__wcstoull_internal): Add + libc_hidden_ver. + +2002-08-04 Ulrich Drepper + + * stdio-common/psignal.c: Declare _sys_siglist_internal. Use USEINT + to access _sys_siglist. + * string/strsignal.c: Likewise. + * sysdeps/generic/siglist.c: Add _sys_siglist_internal alias. + * sysdeps/gnu/siglist.c: Likewise. + * sysdeps/unix/siglist.c: Likewise. + * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise. + + * libio/fileops.c: Add missing INTUSEs for _IO_file_jumps. + + * libio/wfileops.c: Add missing INTUSE for _IO_file_close. + + * intl/dcigettext.c: Define _nl_default_dirname_internal as hidden + alias and use it. + * intl/bindtextdom.c: Use _nl_default_dirname_internal. + + * include/netinet/in.h: Add declaration of in6addr_loopback_internal. + * inet/in6_addr.c: Add INTVARDEF for in6addr_loopback. + * sysdeps/posix/getaddrinfo.c: Use INTUSE for in6addr_loopback access. + + * include/time.h: Add libc_hidden_proto for __gmtime_r. + * time/gmtime.c (__gmtime_r): Add libc_hidden_def. + + * iconv/Versions: Replace __gconv_alias_db, __gconv_modules_db, + and __gconv_cache with __gconv_get_alias_db, __gconv_get_modules_db, + and __gconv_get_cache respectively. + * iconv/gconv_cache.c (gconv_cache): Renamed for __gconv_cache and + defined static. Change all users. + (__gconv_get_cache): New function. + * iconv/gconv_db.c (__gconv_get_modules_db): New function. + (__gconv_get_alias_db): New function. + * iconv/gconv_int.h (__gconv_alias_db): Declare as hidden. + (__conv_modules_db): Likewise. + Add prototypes for __gconv_get_cache, __gconv_get_modules_db, + and __gconv_get_alias_db. + * iconv/iconv_prog.c: Use the new functions instead of accessing the + variables. + + * include/stdlib.h: Add prototype and libc_hidden_proto for + __default_morecore. + * sysdeps/generic/morecore.c: Include . + + * malloc/obstack.c: Remove fputs macro. + + * malloc/mtrace.c: Remove fopen macro. + +2002-08-04 Jakub Jelinek + + * manual/debug.texi: Fix spelling to programmatically. + Reported by . + +2002-08-04 Ulrich Drepper + + * include/libio.h: Add libc_hidden_proto for __uflow. + * include/stdio.h: Map fopen, fdopen, fclose, fputs, fsetpos, and + fgetpos to _IO_* names. + Add libc_hidden_proto for fileno, fwrite, fseek, fflush_unlocked, + fread_unlocked, fwrite_unlocked, fgets_unlocked, fputs_unlocked. + * include/wchar.h: Add libc_hidden_proto for fputws_unlocked, + putwc_unlocked, vswscanf. + * libio/iolibio.h: Add libc_hidden_proto for _IO_fputs. + * libio/fileno.c: Use and libc_hidden_def. + * libio/fseek.c: Likewise. + * libio/fmemopen.c: Include "libioP.h". Call _IO_fopencookie and + not fopencookie. + * libio/genops.c (__uflow): Add libc_hidden_def. + * libio/iofflush_u.c (fflush_unlocked): Likewise. + * libio/iofgets_u.c (fgets_unlocked): Likewise. + * libio/iofputs_u.c (fputs_unlocked): Likewise. + * libio/iofputws_u.c (fputws_unlocked): Likewise. + * libio/iofread_u.c (fread_unlocked): Likewise. + * libio/iofwrite_u.c (fwrite_unlocked): Likewise. + * libio/iovswscanf.c (vswscanf): Likewise. + * libio/putwc_u.c (putwc_unlocked): Likewise. + * libio/iofputs.c: Use libc_hidden_def instead of INTDEF. + * malloc/malloc.c: Redirect fwrite calls to _IO_fwrite. + * malloc/mtrace.c: Likewise. + + * sunrpc/clnt_perr.c: Remove fputs macro. + * sunrpc/svc_simple.c: Likewise. + * sunrpc/svc_tcp.c: Likewise. + * sunrpc/svc_udp.c: Likewise. + * sunrpc/xdr_rec.c: Likewise. + * sunrpc/xdr_ref.c: Likewise. + + * iconv/Makefile: Add CPPFLAGS definitions with -DNOT_in_libc for + iconv_prog, linereader, and charmap-dir. + * locale/Makefile: Likewise for locale and charmap-dir. + * malloc/Makefile: Likewise for memusagestat. + * nscd/Makefile: Likewise for nscd, nscd_conf, and dbg_log. + * sunrpc/Makefile: Likewise for rpc_main. + * sysdeps/unix/sysv/linux/Makefile: Likewise for lddlibc4. + * timezone/Makefile: Likewise for zic. + + * stdio-common/perror.c: Avoid multiple calls to fileno_unlocked. + + * elf/dl-addr.c (_dl_addr): Add libc_hidden_def. + * elf/dl-close.c (_dl_close): Add libc_hidden_def. + * elf/dl-open.c (_dl_open): Add libc_hidden_def. + * include/dlfcn.h: Add libc_hidden_proto for _dl_addr, _dl_open, + _dl_close. + + * include/libio.h: Add libc_hidden_proto for __underflow, __wuflow, + __wunderflow. + * libio/genops.c (__underflow): Add libc_hidden_def. + * libio/wgenops.c (__wuflow): Likewise. + (__wunderflow): Likewise. + + * include/obstack.h: Add libc_hidden_proto for _obstack_newchunk. + * malloc/obstack.c (_obstack_newchunk): Add libc_hidden_def. + + * include/stdio.h: Add libc_hidden_proto for __vfscanf. + * stdio-common/vfscanf.c (__vfscanf): Add libc_hidden_def. + + * include/string.h: Add libc_hidden_proto for __strverscmp. + * string/strverscmp.c (__strverscmp): Add libc_hidden_def. + + * include/unistd.h: Add libc_hidden_proto for __sysconf. + * sysdeps/generic/sysconf.c (__sysconf): Add libc_hidden_def. + * sysdeps/posix/sysconf.c: Likewise. + * sysdeps/unix/sysv/irix4/sysconf.c: Likewise. + * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise. + + * include/wctype.h: Use libc_hidden_proto for __iswctype, __iswalnum_l, + __iswalpha_l, __iswblank_l, __iswcntrl_l, __iswdigit_l, __iswlower_l, + __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l, + __iswxdigit_l, __towlower_l, __towupper_l. + * wcsmbs/wcstype.c (__iswctype): Use libc_hidden_def. + * wcsmbs/wcfuncs_l.c: Use libc_hidden_def for all functions. + + * include/sys/wait.h: Add libc_hidden_proto for __xmknod. + * sysdeps/generic/xmknod.c (__xmknod): Add libc_hidden_def. + * sysdeps/mach/hurd/xmknod.c: Likewise. + * sysdeps/unix/xmknod.c: Likewise. + * sysdeps/unix/sysv/linux/xmknod.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/xmknod.c: Likewise. + * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise. + + * sunrpc/svc.c: Add missing INTUSE for _authenticate. + +2002-08-03 Roland McGrath + + * include/sys/resource.h: Use libc_hidden_proto for getpriority, + setpriority. + * sysdeps/unix/sysv/linux/getpriority.c: Add libc_hidden_def. + * sysdeps/unix/sysv/irix4/getpriority.c: Likewise. + * sysdeps/unix/sysv/irix4/setpriority.c: Likewise. + * sysdeps/mach/hurd/setpriority.c: Likewise. + * sysdeps/mach/hurd/getpriority.c: Likewise. + * sysdeps/generic/setpriority.c: Likewise. + * sysdeps/generic/getpriority.c: Likewise. + + * include/mcheck.h: Use libc_hidden_proto for mcheck_check_all. + * malloc/mcheck.c: Add libc_hidden_def. + + * include/search.h: Use libc_hidden_proto for hcreate_r, hdestroy_r. + * misc/hsearch_r.c: Add libc_hidden_def. + + * include/fnmatch.h: Use libc_hidden_proto for fnmatch. + * posix/fnmatch.c: Add libc_hidden_weak. + + * include/unistd.h: Use libc_hidden_proto for _exit, alarm, confstr, + execl, execle, execlp, execvp, getpid, getsid. + * sysdeps/generic/alarm.c: Add libc_hidden_def. + * sysdeps/unix/alarm.c: Likewise. + * posix/confstr.c: Likewise. + * posix/execvp.c: Likewise. + * posix/execlp.c: Likewise. + * posix/execle.c: Likewise. + * posix/execl.c: Likewise. + * sysdeps/generic/getsid.c: Likewise. + * sysdeps/mach/hurd/getsid.c: Likewise. + * sysdeps/generic/getpid.c: Add libc_hidden_weak. + * sysdeps/mach/hurd/getpid.c: Likewise. + + * include/stdlib.h: Use libc_hidden_proto for ecvt_r, fcvt_r, + qecvt_r, qfcvt_r, lrand48_r. + * misc/efgcvt_r.c: Add libc_hidden_def. + + * include/wordexp.h: Use libc_hidden_proto for wordfree. + * sysdeps/generic/wordexp.c: Add libc_hidden_def. + + * include/langinfo.h: Use libc_hidden_proto for nl_langinfo. + * locale/nl_langinfo.c: Add libc_hidden_def. + + * include/glob.h: Use libc_hidden_proto for glob, globfree, globfree64. + * sysdeps/generic/glob.c: Add libc_hidden_def. + * sysdeps/generic/glob64.c: Likewise. + * sysdeps/wordsize-64/glob.c (globfree64): Add libc_hidden_weak. + + * locale/nl_langinfo.c: Use _NL_CURRENT_DATA. + + * elf/Makefile (CFLAGS-vismod2.c): New variable. + + * locale/setlocale.c (_nl_current_names): Variable moved ... + * locale/localename.c (_nl_current_names): ... here, new file. + Make it global, with attribute_hidden. + * locale/localeinfo.h: Declare it. + * locale/Makefile (aux): Add localename. + * locale/localename.c (__current_locale_name): New function. + * include/locale.h (__current_locale_name): Declare it. + * intl/dcigettext.c (guess_category_value): Use that instead of + calling setlocale. + + * locale/locale.h [__USE_GNU] (locale_t): New type alias of __locale_t. + [__USE_GNU] (newlocale, duplocale, freelocale, uselocale): New decls. + [__USE_GNU] (LC_GLOBAL_LOCALE): New macro. + * locale/newlocale.c: Add alias to __ name. + * locale/duplocale.c: Likewise. + * locale/freelocale.c: Likewise. + * locale/uselocale.c: New file. + * locale/Makefile (routines): Add it. + * locale/Versions (libc: GLIBC_2.3): New set. + Add newlocale, duplocale, freelocale, uselocale. + (libc: GLIBC_PRIVATE): Add __uselocale. + + * locale/localeinfo.h [SHARED] + (_NL_CURRENT_LOCALE): New macro, defined to fetch a tsd value. + (_NL_CURRENT_DATA): Define using that. + (_NL_CURRENT, _NL_CURRENT_WSTR, _NL_CURRENT_WORD): Define using that. + (_NL_CURRENT_DEFINE): Define to empty. + [! SHARED]: Decls of _nl_current_CATEGORY and _nl_current + conditionalized on this. + * locale/xlocale.c (NL_C_INTIIALIZER): New macro, + taking initializer of _nl_C_locobj. + [SHARED] (_nl_global_locale): New variable, using that initializer. + (_nl_C_locobj): Use new macro for initialzier. + * locale/setlocale.c [! SHARED] (_nl_current): Conditionalize on this. + [! SHARED] (CATEGORY_USED): New macro. + [SHARED] (CATEGORY_USED, _nl_C): New macros. + (setdata, setlocale): Use that macro instead of examining _nl_current. + (setdata): Set the slot in _nl_global_locale. + Conditionalize setting of _nl_current on [! SHARED]. + * locale/findlocale.c [SHARED] (_nl_C): Define as a macro instead of + declaration as an extern. + * locale/newlocale.c (__newlocale): Use _nl_C_locobj instead of _nl_C. + + * include/locale.h: Use libc_hidden_proto for setlocale. + * locale/setlocale.c: Add libc_hidden_def. + + * locale/setlocale.c (free_mem): Use _NL_CURRENT_DATA. + + * include/search.h: Use libc_hidden_proto for hsearch_r, lfind. + * misc/hsearch_r.c: Add libc_hidden_def. + * misc/lsearch.c: Likewise. + + * include/ttyent.h: Use libc_hidden_proto for getttyent, setttyent, + endttyent. + * misc/getttyent.c: Add libc_hidden_def. + + * include/mcheck.h: Use libc_hidden_proto for mcheck. + * malloc/mcheck.c: Add libc_hidden_def. + + * include/envz.h: Use libc_hidden_proto for envz_entry, enz_remove. + * include/argz.h: Use libc_hidden_proto for argz_delete. + * string/argz-delete.c: Add libc_hidden_def. + * string/envz.c: Likewise. Use , not "envz.h". + + * sysdeps/unix/sysv/linux/x86_64/clone.S (thread_start): Use + HIDDEN_JUMPTARGET for _exit. + * sysdeps/unix/sysv/linux/m68k/clone.S (thread_start): Likewise. + * sysdeps/unix/sysv/linux/i386/clone.S (thread_start): Likewise. + * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise. + * sysdeps/unix/_exit.S (_exit): Add libc_hidden_def. + + * include/libc-symbols.h: Fix [__ASSEMBLY__] -> [__ASSEMBLER__]. + [__ASSEMBLER__] (hidden_weak): Define using hidden_def, or to empty. + [__ASSEMBLER__] (HIDDEN_JUMPTARGET): New macro. + * sysdeps/unix/sysv/linux/i386/makecontext.S: Use it for exit. + + * include/stdlib.h: Use libc_hidden_proto for abort, + __strtof_internal, __strtod_internal, __strtold_internal, + __strtol_internal, __strtoll_internal, __strtoul_internal, + __strtoull_internal. __strtof_l_internal, __strtod_l_internal, + __strtold_l_internal, __strtol_l_internal, __strtoll_l_internal, + __strtoul_l_internal, __strtoull_l_internal. + * include/wchar.h: Use libc_hidden_proto for __wcstof_internal, + __wcstod_internal, __wcstold_internal, __wcstol_internal, + __wcstoll_internal, __wcstoul_internal, ____wcstof_l_internal, + ____wcstod_l_internal, ____wcstold_l_internal, ____wcstol_l_internal, + ____wcstoll_l_internal, ____wcstoul_l_internal, __wcscasecmp_l, + __wcsncasecmp_l. + * sysdeps/generic/abort.c: Add libc_hidden_def. + * stdlib/strtod.c: Likewise. + * sysdeps/generic/strtol.c: Likewise. + * sysdeps/wordsize-64/strtol.c: Likewise. + * sysdeps/wordsize-64/wcstol.c: Likewise. + * sysdeps/wordsize-64/wcstol_l.c: Likewise. + + * include/stdlib.h: Use libc_hidden_proto for qsort. + * stdlib/msort.c: Add libc_hidden_def. + + * include/utime.h: Use libc_hidden_proto for utime. + * sysdeps/generic/utime.c: Add libc_hidden_def. + * sysdeps/unix/utime.c: Likewise. + + * sysdeps/generic/utmp_file.c (LOCK_FILE): sigemptyset -> __sigemptyset + * sysdeps/posix/profil.c (__profil): sigfillset -> __sigfillset + * sysdeps/posix/sprofil.c (__sprofil): Likewise. + * shadow/lckpwdf.c (__lckpwdf): Likewise (both). + * sysdeps/posix/spawni.c (__spawni): sigismember -> __sigismember + + * include/signal.h: Use libc_hidden_proto for raise, sigemptyset, + sigfillset, sigismember, __sigpause, __libc_current_sigrtmin, + and __libc_current_sigrtmax. + * signal/sigismem.c: Add libc_hidden_def. + * signal/sigfillset.c: Likewise. + * signal/sigempty.c: Likewise. + * sysdeps/generic/sigpause.c (__sigpause): Likewise. + * sysdeps/posix/sigpause.c (__sigpause): Likewise. + * sysdeps/unix/bsd/osf/alpha/sigpause.S: Likewise. + * sysdeps/posix/raise.c: Likewise. + * sysdeps/generic/raise.c: Likewise. + +2002-08-03 Ulrich Drepper + + * include/string.h: Use libc_hidden_proto for __stpcpy. + * sysdeps/alpha/stpcpy.S (__stpcpy): Add libc_hidden_def. + * sysdeps/alpha/alphaev67/stpcpy.S: Likewise. + * sysdeps/generic/stpcpy.c: Likewise. + * sysdeps/i386/stpcpy.S: Likewise. + * sysdeps/i386/i586/stpcpy.S: Likewise. + * sysdeps/powerpc/stpcpy.S: Likewise. + * sysdeps/sparc/sparc32/stpcpy.S: Likewise. + * sysdeps/sparc/sparc64/stpcpy.S: Likewise. + + * include/string.h: Use libc_hidden_proto for __strcasecmp_l, + __strncasecmp_l, __strdup, __strndup, __strerror_r. + * sysdeps/generic/strcasecmp_l.c (__strcasecmp_l): Add + libc_hidden_def. + * string/strdup.c (__strdup): Likewise. + * string/strndup.c (__strndup): Likewise. + * sysdeps/generic/_strerror.c (__strerror_r): Likewise. + * sysdeps/generic/strncase_l.c (__strncasecmp_l): Likewise. + +2002-08-03 Jakub Jelinek + + * include/libio.h: New file. + * libio/libioP.h (__overflow, __woverflow): Remove libc_hidden_proto. + * libio/iolibio.h: #include , not "libio.h". + * sysdeps/generic/morecore.c (__sbrk): Add libc_hidden_proto. + * sysdeps/unix/bsd/syscalls.list: Remove all __GI_* aliases. + * sysdeps/unix/common/syscalls.list: Likewise. + * sysdeps/unix/inet/syscalls.list: Likewise. + * sysdeps/unix/sysv/irix4/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/syscalls.list: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: Likewise. + * sysdeps/unix/syscalls.list: Likewise. + +2002-08-03 Jakub Jelinek + Ulrich Drepper + + * malloc/malloc.c (public_cALLOc): Only divide if at least one of + the arguments is big enough to cause an overflow. + +2002-08-03 Ulrich Drepper + + * assert/assert.c: Use hidden_def not INTDEF. + +2002-08-03 Jakub Jelinek + + * include/libc-symbols.h: Optimize if HAVE_BROKEN_ALIAS_ATTRIBUTE is + not defined. + +2002-08-03 Roland McGrath + + * include/sys/syslog.h: Use libc_hidden_proto for syslog, vsyslog. + * include/err.h: Use libc_hidden_proto for warn, warnx, vwarn, vwarn, + verr, verrx. + * include/stdlib.h: Use libc_hidden_proto for exit, getenv, bsearch. + * misc/syslog.c: Add libc_hidden_def. + * misc/err.c: Likewise. + * stdlib/exit.c: Likewise. + * stdlib/bsearch.c: Likewise. + * sysdeps/generic/getenv.c: Likewise. + + * include/libc-symbols.h (hidden_weak): Define it for [__ASSEMBLER__]. + + * sysdeps/unix/make-syscalls.sh: Generate libc_hidden_def or + libc_hidden_weak for every system call symbol defined. + + * include/time.h: Use libc_hidden_proto for time, asctime, mktime, + timelocal, localtime, strftime. + * time/asctime.c: Add libc_hidden_def. + * time/mktime.c: Likewise. + * time/localtime.c: Likewise. + * time/strftime.c: Likewise. + * time/strptime.c: Likewise. + * sysdeps/generic/time.c: Likewise. + * sysdeps/unix/time.c: Likewise. + * sysdeps/unix/sysv/i386/time.S: Likewise. + * sysdeps/unix/sysv/linux/x86_64/time.S: Likewise. + + * include/arpa/inet.h: Use libc_hidden_proto for inet_ntop, inet_pton. + inet_makeaddr, inet_netof, inet_addr, __inet_addr. + * resolv/inet_ntop.c: Likewise. + * resolv/inet_pton.c: Likewise. + * inet/inet_mkadr.c: Add libc_hidden_def. + * inet/inet_netof.c: Likewise. + * resolv/inet_addr.c: Likewise. + + * include/libc-symbols.h: Remove `defined HAVE_BROKEN_ALIAS_ATTRIBUTE' + clauses from conditionals for now. Will have to be fixed later + for older compilers. + + * sysdeps/generic/mempcpy.c (__mempcpy): #undef it before defn. + +2002-08-02 Ulrich Drepper + + * configure.in (HAVE_BROKEN_ALIAS_ATTRIBUTE): Add check for + broken alias attribute handling. + * config.h.in (HAVE_BROKEN_ALIAS_ATTRIBUTE): Add. + +2002-08-02 Roland McGrath + + * elf/Makefile ($(objpfx)interp.os): Depend on config.make, + since it sets the variables we use in a -D switch. + +2002-08-02 Roland McGrath + + * posix/bits/posix1_lim.h (SSIZE_MAX): Define to LONG_MAX, not INT_MAX. + On 32-bit platforms they are the same; on 64-bit platforms ssize_t + matches long int, not int. + + * locale/localeinfo.h (_NL_CURRENT_DATA): New macro. + * wcsmbs/wcsmbsload.h (update_conversion_ptrs): Use it. + * locale/lc-ctype.c (_nl_postload_ctype): Likewise. + * wctype/wctrans.c (wctrans): Likewise. + * wctype/wctype.c (__wctype): Likewise. + * intl/loadmsgcat.c (_nl_init_domain_conv): Use _NL_CURRENT. + +2002-08-02 Ulrich Drepper + + * assert/assert.c (__assert_fail): Fix typo in comment. + + * include/rpc/rpc.h: Declare RPC_VARS tsd as extern. + * sunrpc/rpc_thread.c: Define it without static. + * sunrpc/Versions [libc] (GLIBC_PRIVATE): Export __libc_tsd_RPC_VARS. + +2002-08-02 Jakub Jelinek + + * assert/assert.c (__assert_fail): Remove undef. + Replace INTDEF with libc_hidden_def. + * assert/__assert.c (__assert): Remove INTUSE. + * elf/dl-minimal.c (__assert_fail): Replace INTDEF with + libc_hidden_weak. + * include/libc-symbols.h (hidden_proto, hidden_def, hidden_weak, + hidden_ver, libc_hidden_proto, libc_hidden_def, libc_hidden_weak, + libc_hidden_ver, rtld_hidden_proto, rtld_hidden_def, rtld_hidden_weak, + rltd_hidden_ver, libm_hidden_proto, libm_hidden_def, libm_hidden_weak, + libm_hiden_ver): Define. + * include/assert.h (__assert_fail_internal): Remove. + (__assert_fail): Add prototype. Add hidden_proto. + * include/libc-internal.h (__libc_freeres, __profile_frequency): Add + libc_hidden_proto. + * include/wchar.h (__mbrtowc_internal, __mbrlen_internal): Remove. + (__mbrtowc, __mbrlen): Use libc_hidden_proto. Remove macros. + * include/string.h (__mempcpy, __stpncpy, __rawmemchr, __strcasecmp): + Add libc_hidden_proto. + * include/fcntl.h (__open64, __libc_open, __libc_fcntl, __open, + __fcntl): Add libc_hidden_proto. Remove macros. + (__open_internal, __fcntl_internal): Remove. + * libio/iofdopen.c (_IO_fcntl): Remove INTUSE from __fcntl. + * malloc/set-freeres.c (__libc_freeres): Add libc_hidden_def. + * nss/nsswitch.h (__nss_database_lookup, __nss_next): Add + libc_hiden_proto. + * nss/nsswitch.c (__nss_database_lookup, __nss_next): Add + libc_hidden_def. + * sysdeps/generic/mempcpy.c (__mempcpy): Remove undef. + Add libc_hidden_def. + * sysdeps/generic/open64.c (__open64): Add libc_hidden_def. + * sysdeps/generic/open.c (__open): Remove undef. + Add libc_hidden_def. Remove INTDEF. + * sysdeps/generic/fcntl.c (__fcntl): Remove undef. + Add libc_hidden_def. + * sysdeps/mach/hurd/fcntl.c (__fcntl): Likewise. + * sysdeps/i386/i586/mempcpy.S (__mempcpy): Add libc_hidden_def. + * sysdeps/i386/i686/mempcpy.S (__mempcpy): Likewise. + * sysdeps/mach/hurd/fcntl.c (__libc_fcntl, __fcntl): Remove undef. + (__fcntl): Remove INTDEF2. Add libc_hidden_weak. + (__libc_fcntl): Add libc_hidden_def. + * sysdeps/mach/hurd/open.c (__libc_open, __open): Remove undef. + (__open): Remove INTDEF2. Add libc_hidden_weak. + (__libc_open): Add libc_hidden_def. + * sysdeps/posix/open64.c (__open64): Add libc_hidden_weak. + * sysdeps/standalone/open.c (__open): Add libc_hidden_def. + * sysdeps/unix/sysv/aix/fcntl.c (__libc_fcntl, __fcntl): Remove undef. + Add libc_hidden_def. + * sysdeps/unix/sysv/aix/open.c (__libc_open, __open): Remove undef. + Add libc_hidden_def. + * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl, __fcntl): Remove + undef. + (__fcntl): Remove INTDEF2. Add libc_hidden_weak. + (__libc_fcntl): Add libc_hidden_def. + * sysdeps/unix/sysv/linux/syscalls.list (__fcntl_internal, + __getpgid_internal, __chown_internal): Remove. + (__GI___fcntl, __GI___libc_fcntl, __GI___getpgid, __GI___pipe, + __GI___sched_setscheduler, __GI___select, __GI___setpgid, + __GI___chown): Add. + * sysdeps/unix/syscalls.list (__close_internal, __dup2_internal, + __getpid_internal, __open_internal, __write_internal): Remove. + (__GI___fcntl, __GI___libc_fcntl, __GI___open, __GI___libc_open, + __GI___chown, __GI___close, __GI___dup2, __GI___getpid, + __GI___libc_open, __GI___open, __GI___read, __GI___libc_read, + __GI___select, __GI___statfs, __GI___write, __GI___libc_write): Add. + * wcsmbs/mbrlen.c (__mbrlen): Remove undef. + Replace INTDEF with libc_hidden_def. + * wcsmbs/mbrtowc.c (__mbrtowc): Likewise. + * catgets/catgetsinfo.h (__open_catalog): Add libc_hidden_proto. + * catgets/open_catalog.c (__open_catalog): Add libc_hidden_def. + * elf/dl-profile.c (__profile_frequency): Add libc_hidden_proto. + * include/rpc/rpc.h (__rpc_thread_svc_fdset, __rpc_thread_createerr): + Add libc_hidden_proto. + * include/sys/poll.h (__poll): Add libc_hidden_proto. + * include/sys/select.h (__select): Likewise. + * include/sys/socket.h (__send): Likewise. + * include/sys/statfs.h (__statfs): Likewise. + * include/unistd.h (__pwrite64, __libc_read, __pipe, __chown, __dup2, + __getpid, __getpgid, __setpgid, __close, __read, __write, + __getpagesize, __sbrk): Likewise. + (__chown_internal, __dup2_internal, __getpid_internal, + __getpgid_internal, __close_internal, __write_internal, + __getpagesize_internal): Remove. + (__close, __dup2, __getpagesize, __getpgid, __getpid, __libc_write): + Remove macros. + * include/printf.h (__printf_fp): Add libc_hidden_proto. + * include/sched.h (__sched_setscheduler): Likewise. + * include/resolv.h (__res_ninit, __res_randomid): Likewise. + * include/stdlib.h (__secure_getenv): Likewise. + * include/signal.h (__sigaction, __sigsuspend): Likewise. + * inet/getaliasent_r.c (NSS_attribute_hidden): Remove. + * inet/getaliasname_r.c (NSS_attribute_hidden): Remove. + * inet/getnetbyad_r.c (NSS_attribute_hidden): Remove. + * inet/getnetbynm_r.c (NSS_attribute_hidden): Remove. + * inet/getnetent_r.c (NSS_attribute_hidden): Remove. + * inet/getproto_r.c (NSS_attribute_hidden): Remove. + * inet/getprtent_r.c (NSS_attribute_hidden): Remove. + * inet/getprtname_r.c (NSS_attribute_hidden): Remove. + * inet/getrpcbyname_r.c (NSS_attribute_hidden): Remove. + * inet/getrpcbynumber_r.c (NSS_attribute_hidden): Remove. + * inet/getrpcent_r.c (NSS_attribute_hidden): Remove. + * inet/getservent_r.c (NSS_attribute_hidden): Remove. + * inet/getsrvbynm_r.c (NSS_attribute_hidden): Remove. + * inet/getsrvbypt_r.c (NSS_attribute_hidden): Remove. + * inet/gethstbyad_r.c (DB_LOOKUP_FCT): Remove INTUSE. + * inet/gethstbynm2_r.c (DB_LOOKUP_FCT): Likewise. + * inet/gethstbynm_r.c (DB_LOOKUP_FCT): Likewise. + * inet/gethstent_r.c (DB_LOOKUP_FCT): Likewise. + * libio/genops.c (__overflow): Add libc_hidden_def. + * libio/iovdprintf.c: Remove libio.h include. + * libio/libioP.h (libc_hidden_proto, libc_hidden_def, + libc_hidden_weak): Define to nothing if not defined. + (__overflow, __woverflow): Add libc_hidden_proto. + * libio/wgenops.c (__woverflow): Add libc_hidden_def. + * nss/getXXent_r.c (NSS_attribute_hidden): Remove. + (DB_LOOKUP_FCT): Add libc_hidden_proto. + * nss/getXXbyYY_r.c (NSS_attribute_hidden): Remove. + (DB_LOOKUP_FCT): Add libc_hidden_proto. + * nss/XXX-lookup.c (DB_LOOKUP_FCT): Add libc_hidden_proto + and libc_hidden_def. + * nss/hosts-lookup.c (__nss_hosts_lookup): Remove INTDEF. + * posix/bsd-getpgrp.c (__getpgid_internal): Remove. + (__getpgid): Add libc_hidden_proto. + (__bsd_getpgrp): Remove INTUSE. + * resolv/res_init.c (__res_ninit, __res_randomid): Add + libc_hidden_def. + * shadow/getspent_r.c (NSS_attribute_hidden): Remove. + * shadow/getspnam_r.c (NSS_attribute_hidden): Remove. + * stdio-common/printf_fp.c (__printf_fp): Add libc_hidden_def. + * stdlib/strfmon.c (__printf_fp): Add libc_hidden_proto. + * stdlib/secure-getenv.c (__secure_getenv): Add libc_hidden_def. + * sunrpc/rpc_thread.c (__rpc_thread_svc_fdset, + __rpc_thread_createerr): Add libc_hidden_def. + * sysdeps/alpha/alphaev67/rawmemchr.S (__rawmemchr): Add + libc_hidden_def. + * sysdeps/alpha/alphaev67/stpncpy.S (__stpncpy): Likewise. + * sysdeps/alpha/rawmemchr.S (__rawmemchr): Likewise. + * sysdeps/alpha/stpncpy.S (__stpncpy): Likewise. + * sysdeps/generic/chown.c (__chown): Likewise. + * sysdeps/generic/close.c (__close): Likewise. + * sysdeps/generic/dup2.c (__dup2): Likewise. + * sysdeps/generic/pipe.c (__pipe): Likewise. + * sysdeps/generic/prof-freq.c (__profile_frequency): Likewise. + * sysdeps/generic/pwrite64.c (__pwrite64): Likewise. + * sysdeps/generic/rawmemchr.c (__rawmemchr): Likewise. + * sysdeps/generic/read.c (__libc_read): Likewise. + (__read): Add libc_hidden_weak. + * sysdeps/generic/sbrk.c (__sbrk): Add libc_hidden_def. + * sysdeps/generic/sched_sets.c (__sched_setscheduler): Likewise. + * sysdeps/generic/select.c (__select): Likewise. + * sysdeps/generic/send.c (__send): Likewise. + * sysdeps/generic/setpgid.c (__setpgid): Likewise. + * sysdeps/generic/sigaction.c (__sigaction): Likewise. + * sysdeps/generic/sigsuspend.c (__sigsuspend): Likewise. + * sysdeps/generic/statfs.c (__statfs): Likewise. + * sysdeps/generic/stpncpy.c (__stpncpy): Likewise. + * sysdeps/generic/strcasecmp.c (__strcasecmp): Likewise. + * sysdeps/generic/getpagesize.c (__getpagesize): Likewise. + Remove undef and INTDEF. + * sysdeps/generic/getpgid.c (__getpgid): Likewise. + * sysdeps/generic/getpid.c (__getpid): Likewise. + * sysdeps/generic/write.c (__libc_write): Likewise. + (__write): Add libc_hidden_weak. Remove undef and INTDEF. + * sysdeps/i386/rawmemchr.S (__rawmemchr): Add libc_hidden_def. + * sysdeps/i386/stpncpy.S (__stpncpy): Likewise. + * sysdeps/m68k/rawmemchr.S (__rawmemchr): Likewise. + * sysdeps/mach/hurd/chown.c (__chown): Likewise. Remove INTDEF. + * sysdeps/mach/hurd/close.c (__close): Add libc_hidden_def. + Remove undef and INTDEF. + * sysdeps/mach/hurd/dup2.c (__dup2): Likewise. + * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise. + * sysdeps/mach/hurd/getpid.c (__getpid): Likewise. + * sysdeps/mach/getpagesize.c (__getpagesize): Likewise. + * sysdeps/mach/hurd/write.c (__libc_write): Likewise. + (__write): Add libc_hidden_weak. Remove undef and INTDEF. + * sysdeps/mach/hurd/pipe.c: Include unistd.h. + (__pipe): Add libc_hidden_def. + * sysdeps/mach/hurd/dl-sysdep.c (__libc_read, __libc_write): Add + libc_hidden_weak. + * sysdeps/mach/hurd/poll.c (__poll): Add libc_hidden_def. + * sysdeps/mach/hurd/profil.c (__profile_frequency): Likewise. + * sysdeps/mach/hurd/read.c (__libc_read): Likewise. + (__read): Add libc_hidden_weak. + * sysdeps/mach/hurd/pwrite64.c (__pwrite64): Likewise. + (__libc_pwrite64): Add libc_hidden_def. + * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise. + * sysdeps/mach/hurd/select.c (__select): Likewise. + * sysdeps/mach/hurd/send.c (__send): Likewise. + * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise. + * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise. + * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise. + * sysdeps/mach/hurd/statfs.c (__statfs): Likewise. + * sysdeps/posix/dup2.c: Likewise. + Remove undef and INTDEF. + * sysdeps/posix/getpagesize.c (__getpagesize): Likewise. + * sysdeps/posix/pwrite64.c (__libc_pwrite64): Add libc_hidden_def. + (__pwrite64): Add libc_hidden_weak. + * sysdeps/posix/sigsuspend.c (__sigsuspend): Add libc_hidden_def. + * sysdeps/sparc/sparc64/rawmemchr.S (__rawmemchr): Likewise. + * sysdeps/sparc/sparc64/stpncpy.S (__stpncpy): Likewise. + * sysdeps/standalone/close.c (__close): Likewise. + * sysdeps/standalone/write.c (__libc_write): Likewise. + (__write): Add libc_hidden_weak. + * sysdeps/standalone/read.c (__read): Likewise. + (__libc_read): Add libc_hidden_def. + * sysdeps/unix/grantpt.c (grantpt): Remove INTUSE. + * sysdeps/unix/bsd/m68k/pipe.S (__pipe): Add libc_hidden_def. + * sysdeps/unix/bsd/osf/alpha/pipe.S (__pipe): Likewise. + * sysdeps/unix/bsd/vax/pipe.S (__pipe): Likewise. + * sysdeps/unix/bsd/syscalls.list (__GI___getpagesize): Likewise. + * sysdeps/unix/bsd/poll.c (__poll): Likewise. + * sysdeps/unix/bsd/sigaction.c (__sigaction): Likewise. + * sysdeps/unix/bsd/sigsuspend.c (__sigsuspend): Likewise. + * sysdeps/unix/common/syscalls.list (__GI___getpgid, __GI___setpgid, + __GI___sigaction): Add. + * sysdeps/unix/i386/pipe.S (__pipe): Add libc_hidden_def. + * sysdeps/unix/inet/syscalls.list (__GI___send): Add. + * sysdeps/unix/mips/pipe.S (__pipe): Add libc_hidden_def. + * sysdeps/unix/sparc/pipe.S (__pipe): Likewise. + * sysdeps/unix/sysv/irix4/syscalls.list (__GI___getpgid, + __GI___setpgid): Add. + * sysdeps/unix/sysv/aix/chown.c (__chown): Add libc_hidden_def. + Remove undef and INTDEF. + * sysdeps/unix/sysv/aix/getpgid.c (__getpgid): Likewise. + * sysdeps/unix/sysv/aix/write.c (__write, __libc_write): Likewise. + * sysdeps/unix/sysv/aix/close.c (__close): Add libc_hidden_def. + * sysdeps/unix/sysv/aix/getpid.c (__getpid): Likewise. + * sysdeps/unix/sysv/aix/pipe.c (__pipe): Likewise. + * sysdeps/unix/sysv/aix/read.c (__read, __libc_read): Likewise. + * sysdeps/unix/sysv/aix/poll.c (__poll): Likewise. + * sysdeps/unix/sysv/aix/sbrk.c (__sbrk): Likewise. + * sysdeps/unix/sysv/aix/sigaction.c (__sigaction): Likewise. + * sysdeps/unix/sysv/aix/sigsuspend.c (__sigsuspend): Likewise. + * sysdeps/unix/sysv/aix/statfs.c (__statfs): Likewise. + * sysdeps/unix/sysv/aix/select.c (__select): Likewise. + * sysdeps/unix/sysv/aix/setpgid.c (__setpgid): Likewise. + * sysdeps/unix/sysv/linux/alpha/pipe.S (__pipe): Likewise. + * sysdeps/unix/sysv/linux/alpha/syscalls.list (__GI___pwrite64, + __GI___statfs, __GI___send): Add. + * sysdeps/unix/sysv/linux/alpha/select.S (__select): Add + libc_hidden_ver resp. libc_hidden_def. + * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend): Add + libc_hidden_def. + * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize): + Likewise. Remove undef and INTDEF. + * sysdeps/unix/sysv/linux/ia64/pipe.S (__pipe): Add libc_hidden_def. + * sysdeps/unix/sysv/linux/ia64/syscalls.list (__GI___pwrite64, + __GI___statfs, __GI___send): Add. + * sysdeps/unix/sysv/linux/ia64/sigaction.c (__sigaction): Add + libc_hidden_def. + * sysdeps/unix/sysv/linux/ia64/sigsuspend.c (__sigsuspend): Likewise. - * sysdeps/unix/sysv/linux/semctl.c (__old_semctl): Likewise. - * sysdeps/unix/sysv/linux/posix_fadvise64.c (__posix_fadvise64_l32): + * sysdeps/unix/sysv/linux/sh/pipe.S (__pipe): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/chown.c (__chown): Add + libc_hidden_ver resp. libc_hidden_def. + * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (__GI___pwrite64, + __GI___send): Add. + * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c (__sigaction): + Add libc_hidden_weak. + * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c (__sigsuspend): + Add libc_hidden_def. + * sysdeps/unix/sysv/linux/hppa/syscalls.list (__GI___send): Add. + * sysdeps/unix/sysv/linux/arm/sigaction.c (__sigaction): Add + libc_hidden_weak. + * sysdeps/unix/sysv/linux/i386/chown.c (__chown): Add libc_hidden_ver + resp. libc_hidden_def. + * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Add + libc_hidden_weak. + * sysdeps/unix/sysv/linux/m68k/chown.c (__chown): Likewise. Remove + INTDEF. + * sysdeps/unix/sysv/linux/m68k/getpagesize.c (__getpagesize): + Likewise. Remove undef. + * sysdeps/unix/sysv/linux/mips/pwrite64.c (__pwrite64): Add + libc_hidden_weak. + * sysdeps/unix/sysv/linux/mips/syscalls.list (__GI___send): Add. + * sysdeps/unix/sysv/linux/mips/sigaction.c (__sigaction): Add + libc_hidden_weak. + * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown): Add + libc_hidden_def. + * sysdeps/unix/sysv/linux/powerpc/pwrite64.c (__pwrite64): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c (__getpagesize): + Likewise. Remove undef and INTDEF. + * sysdeps/unix/sysv/linux/sparc/sparc32/pipe.S (__pipe): Add + libc_hidden_def. + * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction): Add + libc_hidden_weak. + * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S (__pipe): Add + libc_hidden_def. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list + (__GI___pwrite64, __GI___statfs, __GI___select, __GI___send): Add. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction): Add + libc_hidden_weak. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c (__sigsuspend): + Add libc_hidden_def. + * sysdeps/unix/sysv/linux/x86_64/syscalls.list (__GI___pwrite64, + __GI___statfs): Add. + * sysdeps/unix/sysv/linux/x86_64/send.c (__send): Add + libc_hidden_weak. + * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__sigaction): Likewise. + * sysdeps/unix/sysv/linux/getpagesize.c: Add libc_hidden_def. + Remove undef and INTDEF. + * sysdeps/unix/sysv/linux/poll.c (__poll): Add libc_hidden_def. + * sysdeps/unix/sysv/linux/pwrite64.c (__pwrite64): Add + libc_hidden_def. + * sysdeps/unix/sysv/linux/send.S (__send): Likewise. + * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Add + libc_hidden_weak. + * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Add + libc_hidden_def. + * sysdeps/unix/sysv/sco3.2.4/__setpgid.c (__setpgid): Likewise. + * sysdeps/unix/sysv/sco3.2.4/sigaction.S (__sigaction): Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list (__GI___sigaction): + Add. + * sysdeps/unix/sysv/sysv4/__getpgid.c (__getpgid): Add + libc_hidden_def. Remove undef and INTDEF. + * sysdeps/unix/sysv/sysv4/getpgid.c (__getpgid): Likewise. + * sysdeps/unix/sysv/sysv4/__setpgid.c (__setpgid): Add + libc_hidden_def. + * sysdeps/unix/sysv/sysv4/setpgid.c (__setpgid): Likewise. + * sysdeps/unix/sysv/sysv4/sigaction.c (__sigaction): Likewise. + * sysdeps/unix/sysv/sigaction.c (__sigaction): Likewise. + * sysdeps/unix/getpagesize.c (__getpagesize): Add libc_hidden_def. + Remove undef and INTDEF. + * configure.in (HAVE_BROKEN_VISIBILITY_ATTRIBUTE): Add check for + broken visibility attribute handling. + * config.h.in (HAVE_BROKEN_VISIBILITY_ATTRIBUTE): Add. + +2002-08-02 Ulrich Drepper + + * locale/iso-639.def: Add entries for Venda and Nothern Sotho. + Reported by Dwayne Bailey . + + * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Adapt + previous patch. + +2002-06-29 Todd Fries + + * resolv/gethnamaddr.c (gethostbyaddr): Try ip6.int if ip6.arpa fails. + +2002-08-02 Jakub Jelinek + + * include/errno.h: Don't include tls.h if _ISOMAC is defined. + +2002-07-30 Roland McGrath + + * resolv/resolv.h (_res): Define macro unconditionally. + [! _LIBC_REENTRANT] (_res): Move this conditional decl to ... + * include/resolv.h: ... here. + [USE_TLS && HAVE___THREAD] (_res): #undef it and declare + as a __thread variable. + * resolv/res_libc.c [USE_TLS && HAVE___THREAD] (_res): Define it as + a __thread variable instead of a global. + * resolv/res_data.c [_LIBC]: Don't #undef _res. + + * include/errno.h: Include to make sure USE_TLS defined by the + time we test it. + + * intl/loadmsgcat.c [__GNUC__]: #undef alloca before defining it. + + * malloc/malloc.c [_LIBC]: Include instead of using local + decls of memset and memcpy. + + * sysdeps/generic/sysdep.h (END): Conditionalize on [__ASSEMBLER__]. + * sysdeps/unix/sysv/linux/i386/sysdep.h (L): Likewise. + + * elf/dl-load.c (_dl_map_object_from_fd): Comment fix. + + * sysdeps/generic/bits/libc-tsd.h [USE_TLS && HAVE___THREAD] + (__libc_tsd_define): Define using __thread. + + * sunrpc/rpc_thread.c: Use __libc_tsd_define. + (__rpc_thread_variables): Use __libc_tsd_get. + (__rpc_thread_destroy): Use __libc_tsd_get instead of calling + __rpc_thread_variables, which might allocate what we're about to free. + + * inet/herrno.c [USE_TLS && HAVE___THREAD] (h_errno): Define as a + thread-local variable. + * resolv/netdb.h (h_errno): Define macro unconditionally. + [_LIBC] (__set_h_errno): Macro moved to ... + * include/netdb.h: ... here. + [USE_TLS && HAVE___THREAD] (h_errno): Declare __thread variable. + [USE_TLS && HAVE___THREAD] (__set_h_errno): Define using that. + [! _LIBC_REENTRANT]: #undef h_errno here. + + * include/errno.h: Protect from multiple inclusion. + + * misc/sys/select.h (__NFDBITS, __FDELT, __FDMASK): #undef these + before defining them, since Linux's might have + defined them. + +2002-08-02 Jakub Jelinek + + * malloc/malloc.c (public_cALLOc): Check for overflow on + multiplication. + * sunrpc/xdr_array.c (xdr_array): Likewise. + * sunrpc/rpc/types.h (mem_free): Add comment. + Patch by Solar Designer . + +2002-08-02 Jakub Jelinek + + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_SET_THREAD_AREA_SYSCALL): Define. + +2002-08-01 Roland McGrath + + * libio/fileops.c (_IO_file_sync_mmap): New function. + (_IO_file_jumps_mmap): Use it. + (_IO_file_underflow_mmap): Rewritten. If after EOF or fflush, + repeat the stat check and resize the mapped buffer as necessary. + +2002-07-31 Roland McGrath + + * libio/fileops.c (decide_maybe_mmap): New static function. + Code taken from libio/iofopen.c:__fopen_maybe_mmap to try to + mmap the file contents. Then switch the jump tables to the mmap + tables if it worked, or the vanilla file tables if not. + (_IO_file_underflow_maybe_mmap): New function. + (_IO_file_seekoff_maybe_mmap): New function. + (_IO_file_xsgetn_maybe_mmap): New function. + (_IO_file_jumps_maybe_mmap): New variable, jump table using those. + * libio/libioP.h: Declare those. + * libio/wfileops.c (_IO_wfile_underflow_maybe_mmap): New function. + (_IO_wfile_jumps_maybe_mmap): New variable, jump table using that. + * libio/iofopen.c (__fopen_maybe_mmap): Don't try to mmap here. + If the stream is read-only, set its jump tables to those new ones. + * libio/iofdopen.c (_IO_new_fdopen) [_G_HAVE_MMAP]: Set the initial + jump tables to the maybe_mmap ones, and don't call __fopen_maybe_mmap. + We need the tables set before _IO_file_attach. + + * libio/tst-mmap-eofsync.c: New file. + * libio/tst-mmap-fflushsync.c: New file. + * libio/bug-mmap-fflush.c: New file. + * libio/tst-mmap2-eofsync.c: New file. + * libio/Makefile (tests): Add them. + + * libio/wfileops.c (_IO_wfile_underflow_mmap): Don't set EOF bit when + _IO_file_underflow_mmap fails, it already set the appropriate bit. + +2002-07-31 Jeff Bailey + + * libio/stdio.h (sys_errlist, sys_nerr, _sys_errlist, _sys_nerr): + Declarations moved to . Include that file. + * libio/Makefile (headers): Add bits/sys_errlist.h to the list. + * sysdeps/generic/bits/sys_errlist.h: New file. This does *not* + declare sys_errlist and sys_nerr. + * sysdeps/unix/sysv/linux/bits/sys_errlist.h: New file. Does + provide declarations. + +2002-07-31 Roland McGrath + + * elf/rtld.c (dl_main): Fix typo in error message. + +2002-07-31 Roland McGrath + + * sysdeps/mach/hurd/Versions (ld: GLIBC_2.0): __fxstat -> __fxstat64, + __xstat -> __xstat64, __lseek -> __libc_lseek64. Completes 2002-06-09 + sysdeps/mach/hurd/dl-sysdep.c change. + +2002-07-28 Ulrich Drepper + + * sysdeps/unix/sysv/linux/configure.in: Check /lib/modules/`uname + -r`/build/include for kernel headers. + + * po/fi.po: New file. + +2002-07-15 Alexandre Oliva + + * configure.in (static_nss): Set to `yes' if --disable-shared. + +2002-07-23 Bruno Haible + + * intl/loadmsgcat.c (PRI*): Redefine the macros if PRI_MACROS_BROKEN + is set. + +2002-07-25 Jakub Jelinek + + * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h: New file. + * sysdeps/unix/sysv/linux/ia64/profil-counter.h: Fix profil_counter + arguments. + +2002-07-25 Jakub Jelinek + + * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal): Add + alias. + +2002-07-21 Bruno Haible + + * intl/libintl.h (__GNU_GETTEXT_SUPPORTED_REVISION): New macro. + * intl/gettext.h (struct mo_file_header): New fields n_sysdep_segments, + sysdep_segments_offset, n_sysdep_strings, orig_sysdep_tab_offset, + trans_sysdep_tab_offset. + (struct sysdep_segment): New type. + (struct sysdep_string): New type. + (SEGMENTS_END): New macro. + * intl/gettextP.h (struct sysdep_string_desc): New type. + (struct loaded_domain): New fields malloced, n_sysdep_strings, + orig_sysdep_tab, trans_sysdep_tab, must_swap_hash_tab. Make fields + orig_tab, trans_tab, hash_tab to const pointers because they point + into read-only memory. + * intl/loadmsgcat.c: Include stdint.h, inttypes.h, hash-string.h. + (PRI*): Define fallback values. + (get_sysdep_segment_value): New function. + (_nl_load_domain): Distinguish major and minor revision parts. Add + support for minor revision 1 with system dependent strings. + (_nl_unload_domain): Also free the 'malloced' field. + * intl/dcigettext.c (_nl_find_msg): Remove test for domain->hash_size, + now done in loadmsgcat.c. Add support for system dependent strings. + +2002-07-16 Stepan Kasal + + * posix/bug-regex7.c: New file. + * posix/bug-regex8.c: New file. + * posix/Makefile (tests): Add bug-regex7 and bug-regex8. + +2002-07-16 Stepan Kasal + + * posix/bug-regex4.c (main): Fix typos. + * posix/bug-regex6.c (main): Likewise. + +2002-07-27 Ulrich Drepper + + * posix/bug-regex6.c (main): Fix warnings. + + * iconvdata/Makefile (CPPFLAGS): Add NOT_IN_libc. + + * iconv/iconv_prog.c (main): Improve error message for the cases + where -t and/or -f parameter are missing. + +2002-07-10 Stepan Kasal + + * posix/regexec.c (re_match): Reorganize to remove duplicate code. + (re_search): Likewise. + (re_match_2): Likewise. + (re_search_2): Likewise. + (re_search_stub): New function. + (re_search_2_stub): New function. + * regcomp.c (re_compile_pattern): Typo in a comment fixed. + +2002-07-10 Isamu Hasegawa + + * posix/regex_internal.h: Add new member STOP to struct re_string_t. + (re_string_eoi): Use STOP instead of LEN. + * posix/regex_internal.c (re_string_allocate): Initialize pstr->len. + (re_string_construct): Likewise. + (re_string_reconstruct): Adjust pstr->stop like pstr->len. + * posix/regexec.c (re_search_internal): Add a new argument STOP + so that it can handle the argument STOP of re_search_2 and re_match_2 + correctly. + (regexec): Adapt to new I/F of re_search_internal. + (re_search_stub): Likewise. + +2002-07-25 Ulrich Drepper + + * sunrpc/clnt_gen.c: Don't include . + + * elf/dl-minimal.c: Remove definition of __assert_perror_fail. + + * sysdeps/wordsize-32/divdi3.c: Define __divdi3_internal. + * sysdeps/wordsize-32/lldiv.c: Make gcc use __divdi3_internal instead + of __divdi3. + + * sysdeps/unix/sysv/linux/adjtime.c: Use __adjtimex_internal. + * sysdeps/unix/sysv/linux/ntp_gettime.c: Likewise. + * sysdeps/unix/sysv/linux/syscalls.list: Add __adjtimex_internal + alias for adjtimex syscall. + + * elf/dl-minimal.c: Define __assert_fail_internal. + * assert/assert.c: Likewise. + * include/assert.h: Define __assert_file macro if !SHARED and not + NOT_IN_libc. + + * iconv/Makefile: Define NOT_IN_libc for objects in standalone + programs. + * locale/Makefile: Likewise. + * nscd/Makefile: Likewise. + * catgets/Makefile: Likewise. + +2002-07-24 Ulrich Drepper + + * libio/fileops.c (_IO_file_seekoff_mmap): Do use fp->_offset to + compute current position. + + * stdio-common/tst-fseek.c (main): Improve error messages. + + * libio/tst-freopen.c (main): Remove unused variable. + + * libio/fileops.c (_IO_file_seekoff_mmap): Set fp->_offset after + succesful seek call. Simplify error checking. + +2002-07-25 Jakub Jelinek + + * config.h.in: Use __ASSEMBLER__ test macro not ASSEMBLER. + * sysdeps/ia64/fpu/libm_support.h: Likewise. + +2002-07-19 Roland McGrath + + * hurd/hurdsig.c (_hurdsig_getenv): Always return null if + __libc_enable_secure is set. + +2002-07-24 Roland McGrath + + Added interface with functions `getifaddrs', `freeifaddrs'. + This implementation supports only IPv4. + * inet/ifaddrs.h: New file. + * sysdeps/generic/ifaddrs.c: New file. + * sysdeps/gnu/ifaddrs.c: New file. + * inet/test-ifaddrs.c: New file. + * inet/Makefile (routines): Add ifaddrs. + (headers): Add ifaddrs.h here. + (tests): Add test-ifaddrs. + * inet/Versions (GLIBC_2.3): New set, add getifaddrs and freeifaddrs. + + * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use an explicit + socket call to get an AF_INET socket, instead of using __opensock. + The SIOCGIFNETMASK ioctl will work only with a PF_INET socket. + + * sysdeps/generic/ifreq.h (__ifreq): Take third argument SOCKFD, + if not -1 use it instead of calling __opensock. + * sysdeps/unix/sysv/linux/ifreq.h (__ifreq): Likewise. + * sysdeps/mach/hurd/ifreq.h (__ifreq): Take new argument and ignore it. + * resolv/res_hconf.c (_res_hconf_reorder_addrs): Pass new argument. + + * sysdeps/mach/hurd/ifreq.h: New file. + * sysdeps/generic/ifreq.h (__if_freereq): Take second argument NUM_IFS. + * sysdeps/unix/sysv/linux/ifreq.h (__if_freereq): Likewise. + * resolv/res_hconf.c (_res_hconf_reorder_addrs): Update caller. + + * libio/fileops.c (_IO_file_seekoff_mmap): Don't rely on FP->_offset, + which gets moved around. Calculate size of mmap'd buffer instead. + +2002-07-24 Philip Blundell + + * sysdeps/unix/arm/brk.S: Improve schedule. + * sysdeps/unix/sysv/linux/arm/socket.S (PUSHARGS_1): Use more + efficient instruction. + (__socket): Optimize return sequence. + +2002-07-24 Ulrich Drepper + + * sysdeps/unix/sysv/linux/opensock.c (__opensock): Prefer inet + sockets on old kernels. + +2002-07-22 Philip Blundell + + * sysdeps/unix/sysv/linux/arm/errlist.c: Remove extra weak alias + definiton of _old_sys_nerr. Define _old_sys_errlist as strong + alias. + +2002-07-24 Ulrich Drepper + + * locale/hashval.h: Make more self-contained by defining LONG_BITS. + * locale/programs/simple-hash.c: Remove LONG_BITS definition. + + * locale/programs/locarchive.c (add_locale_to_archive): Correct + test to detect duplicate locales. + + * libio/fileops.c (_IO_new_file_seekoff): Fail if relative + position would be before beginning of file. + (_IO_file_seekoff_mmap): Likewise. + * libio/Makefile (tests): Add bug-fseek. + * libio/bug-fseek.c: New file. + + * intl/explodename.c: Remove support for CEN-style locale variables. + It was never used and shouldn't be since it's not portable. + * intl/finddomain.c: Likewise. + * intl/l10nflist.c: Likewise. + * intl/loadinfo.h: Likewise. + * locale/findlocale.c: Likewise. + +2002-07-24 Roland McGrath + + * libio/fileops.c (_IO_file_seekoff_mmap): When just examining the + position, calculate it to take into account an active pushback buffer. + + * libio/Makefile (tests): Add bug-ungetc. + * libio/bug-ungetc.c: New file. + +2002-07-23 Ulrich Drepper + + * sysdeps/generic/libc-tls.c: New file. + * csu/Makefile (routines): Add libc-tls. + (static-only-routines): Add libc-tls. + * elf/dl-support.c (_dl_phdr): New variable. + (_dl_phnum): New variable. + (_dl_aux_init): Initialize _dl_phdr and _dl_phnum from aux vector. + * sysdeps/generic/libc-start.c (__libc_start_main): Reorganize code + for !SHARED. First look through auxiliary vector. If TLS always + call __pthread_initialize_minimal. + + * sysdeps/generic/dl-tls.c (_dl_allocate_tls): Make sure size argument + in mmap call is never zero. + +2002-07-23 Andreas Jaeger + + * sysdeps/x86_64/fpu/s_copysign.S: Use optimized version. + * sysdeps/x86_64/fpu/s_copysignf.S: Likewise. + +2002-07-22 Ulrich Drepper + + * libio/tst-eof.c: Rewrite to let test-skeleton.c deal with + creation and removal of the temp file. + + * libio/bug-rewind.c: Use test skeleton. Use create_temp_file for + file creation. + * test-skeleton.c (create_temp_file): New function. + +2002-07-22 Andreas Jaeger + + * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Use + local label. + +2002-07-21 Roland McGrath + + * wcsmbs/Makefile (strtox-CFLAGS): New variable, + put -I../include before -I../stdlib so we get the right errno.h et al. + (CFLAGS-wcstod.c): Use that variable instead of -I../stdlib. + (CFLAGS-wcstof.c): Likewise. + (CFLAGS-wcstold.c): Likewise. + (CFLAGS-wcstod_l.c): Likewise. + (CFLAGS-wcstof_l.c): Likewise. + (CFLAGS-wcstold_l.c): Likewise. + +2002-07-19 Roland McGrath + + * sysdeps/mach/hurd/errnos.awk: Remove __set_errno defn from output. + +2002-07-20 Ulrich Drepper + + * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define if + __ASSUME_AT_XID is defined. + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_XID): Define + for 2.4.1 and up. + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Optimize handling + of AT_UID, AT_EUID, AT_GID, and AT_EGID. + + * wcsmbs/Makefile (CFLAGS-wcstod.c): Add -I../stdlib. + (CFLAGS-wcstof.c): Likewise. + (CFLAGS-wcstold.c): Likewise. + (CFLAGS-wcstod_l.c): Likewise. + (CFLAGS-wcstof_l.c): Likewise. + (CFLAGS-wcstold_l.c): Likewise. + +2002-07-18 Jakub Jelinek + + * resource/sys/resource.h (__rlimit_resource_t, __rusage_who_t, + __priority_which_t): Always typedef to int for C++. + +2002-07-19 Ulrich Drepper + + * configure.in: Add test for __thread support in compiler. + * config.h.in: Add HAVE___THREAD. + * Makefile (headers): Remove errno.h, sys/errno.h, and bits/errno.h. + * include/sys/errno.h: Moved to... + * stdlib/sys/errno.h: ...here. New file. + * stdlib/errno.h: New file. Moved from... + * include/errno.h: ...here. Changed into an internal header defining + libc-local things like __set_errno. + * stdlib/Makefile (headers): Add errno.h, sys/errno.h, and + bits/errno.h. + * elf/dl-minimal.c: Include . Define errno as thread-local + variable if USE_TLS && HAVE___THREAD. Don't define __errno_location + either. + * elf/rtld.c (_dl_start): Add code to initialize TLS for ld.so + from... + (_dl_start_final): ...here. Add code to initialize tls elements from + bootstrap_map. + * sysdeps/generic/errno-loc.c: Define errno as thread-local variable + if USE_TLS && HAVE___THREAD. + * sysdeps/generic/bits/errno.h: Remove __set_errno definition. + * sysdeps/mach/hurd/bits/errno.h: Likewise. + * sysdeps/standalone/arm/bits/errno.h: Likewise. + * sysdeps/standalone/bits/errno.h: Likewise. + * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise. + * sysdeps/unix/sysv/aix/bits/errno.h: Likewise. + * sysdeps/unix/sysv/hpux/bits/errno.h: Likewise. + * sysdeps/unix/sysv/linux/bits/errno.h: Likewise. + * sysdeps/unix/sysv/linux/hppa/bits/errno.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: Likewise. + * sysdeps/i386/dl-machine.c (elf_machine_rel) [RTLD_BOOTSTRAP]: Don't + use GL(dl_rtld_map), use map parameter. + * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise. + * sysdeps/unix/sysv/linux/i386/sysdep.S: Define errno in .tbss if + USE_TLS && HAVE___THREAD. + * sysdeps/unix/sysv/linux/i386/sysdep.h: Unify SETUP_PIC_REG + definitions. If USE_TLS && HAVE___THREAD store errooor value using + TLS code sequence. + * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise. + + * sysdeps/unix/sysv/linux/getcwd.c: No real need to restore errno. + * sysdeps/unix/sysv/linux/grantpt.c: Likewise. + * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise. + * sysdeps/unix/sysv/linux/msgctl.c: Likewise. + * sysdeps/unix/sysv/linux/readv.c: Likewise. + * sysdeps/unix/sysv/linux/writev.c: Likewise. + +2002-07-17 Ulrich Drepper + + * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Fix MS_SYNC and + MS_INVALIDATE values. + +2002-07-17 Andreas Schwab + Ulrich Drepper + + * sysdeps/unix/sysv/linux/pread.c: Sign extend offset. + * sysdeps/unix/sysv/linux/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pread.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. + +2002-07-01 H.J. Lu + + * elf/circleload1.c (load_dso): Call "circlemod1" and check + return value. + + * elf/circlemod1.c (circlemod1): Return int. + * elf/circlemod2.c (circlemod2): Likewise. + * elf/circlemod2a.c (circlemod2): Likewise. + * elf/circlemod3.c (circlemod3): Likewise. + (circlemod3a): A new function. + +2002-07-16 Ulrich Drepper + + * catgets/tst-catgets.c (main): Don't expect results for + untranslated messages. + + * glibcbug.in: Fix little typo. Remove STDIO. + + * config.h.in: Fail if __FAST_MATH__ is defined. + * math/Makefile (CPPFLAGS-test-ifloat.c): Also define TEST_FAST_MATH. + (CPPFLAGS-test-idouble.c): Likewise. + (CPPFLAGS-test-ildouble.c): Likewise. + +2002-07-15 Ulrich Drepper + + * intl/tst-gettext.sh: Pass -f option to msgfmt. + * intl/tst-gettext.c: Correctly handle untranslated messages in + positive tests. + + * po/de.po: Update from translation team. + +2002-07-02 H.J. Lu + + * sysdeps/mips/atomicity.h: Don't include . Always + use ll/sc. + * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise. + + * sysdeps/unix/sysv/linux/configure.in: Set arch_minimum_kernel + to 2.4.0 for mips. + +2002-07-15 Ulrich Drepper + + * elf/dl-load.c (_dl_map_object_from_fd): If loaded object uses + TLS fail if USE_TLS is not defined. + + * libio/wfileops.c (_IO_wfile_seekoff): Reposition wide pointers + and adjust state for seek position. [PR libc/4070] + * libio/Makefile (tests): Add bug-rewind. + * libio/bug-rewind.c: New file. + +2002-07-12 Philip Blundell + + * sysdeps/generic/backtrace.c (FIRST_FRAME_POINTER): New macro. + (__backtrace): Use it. + * sysdeps/arm/frame.h (FIRST_FRAME_POINTER): Define. [PR libc/2632] + +2002-07-12 Philip Blundell + + * sysdeps/arm/dl-machine.h (elf_machine_rel): Don't handle + R_ARM_RELATIVE if RTLD_BOOTSTRAP and HAVE_Z_COMBRELOC. Only check + for rtld map if neither RTLD_BOOTSTRAP nor HAVE_Z_COMBRELOC is defined. + (elf_machine_rela): Remove unused variable. + + * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf] + (sysdep-rtld-routines, sysdep_routines, sysdep-dl-routines): Don't + define. + +2002-07-12 Ulrich Drepper + + * iconvdata/gconv-modules: Add aliases for ISO-8859-11. + +2002-07-14 Andreas Jaeger + + * sysdeps/x86_64/bits/link.h: Add biarch support. + +2002-07-13 Andreas Jaeger + + * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): + Use correct indices. + Patch by Eliot Dresselhaus . + +2002-07-09 Martin Schwidefsky + + * sysdeps/s390/bits/byteswap.h: Unified 31/64 bit byteswap.h. + * sysdeps/s390/s390-32/bits/byteswap.h: Remove. + * sysdeps/s390/s390-64/bits/byteswap.h: Remove. + * sysdeps/s390/bits/link.h: Unified 31/64 bit link.h. + * sysdeps/s390/s390-32/bits/link.h: Remove. + * sysdeps/s390/s390-64/bits/link.h: Remove. + * sysdeps/s390/bits/setjmp.h: Unified 31/64 bit setjmp.h. + * sysdeps/s390/s390-32/bits/setjmp.h: Remove. + * sysdeps/s390/s390-64/bits/setjmp.h: Remove. + * sysdeps/s390/bits/wordsize.h: New file. + * sysdeps/unix/sysv/linux/s390/bits/elfclass.h: Unified 31/64 bit + elfclass.h. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: Remove. + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Unified 31/64 bit fcntl.h. + * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: Remove. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: Remove. + * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Unified 31/64 bit ipc.h. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: Remove. + * sysdeps/unix/sysv/linux/s390/bits/mman.h: Unified 31/64 bit mman.h. + * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: Remove. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: Remove. + * sysdeps/unix/sysv/linux/s390/bits/msq.h: Unified 31/64 bit msq.h. + * ysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: Remove. + * sysdeps/unix/sysv/linux/s390/bits/resource.h: Unified 31/64 bit + resource.h. + * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: Remove. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: Remove. + * sysdeps/unix/sysv/linux/s390/bits/sem.h: Unified 31/64 bit sem.h. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: Remove. + * sysdeps/unix/sysv/linux/s390/bits/shm.h: Unified 31/64 bit shm.h. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: Remove. + * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Unified 31/64 bit + sigaction.h. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: Remove. + * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Unified 31/64 bit + siginfo.h. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: Remove. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: Remove. + * sysdeps/unix/sysv/linux/s390/bits/socket.h: Unified 31/64 bit + socket.h. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Remove. + * sysdeps/unix/sysv/linux/s390/bits/stat.h: Unified 31/64 bit stat.h. + * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: Remove. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: Remove. + * sysdeps/unix/sysv/linux/s390/bits/types.h: Unified 31/64 bit types.h. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: Remove. + * sysdeps/unix/sysv/linux/s390/net/route.h: New file. + * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Unified 31/64 bit + procfs.h. + * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: Remove. + * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: Remove. + * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Unified 31/64 bit + ucontext.h. + * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Remove. + * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Remove. + +2002-07-11 Ulrich Drepper + + * Versions.def (libc): Add GLIBC_2.3. + * stdlib/Versions [libc] (GLIBC_2.3): Add realpath. + * stdlib/canonicalize.c: Add compatibility version for realpath + and make new code available in GLIBC_2.3. + +2002-07-06 Bruno Haible + + * malloc/hooks.c (public_gET_STATe): Access max_total_mem in mp_. + +2002-07-11 Ulrich Drepper + + * resolv/res_hconf.c (_res_hconf_init): Move code into new + function do_init. Use __libc_once. + (do_init): New function. + + * iconvdata/iso8859-11.h: Removed. + * iconvdata/Makefile (gen-8bit-gap-modules): Add iso8859-11. + (distribute): Remove iso8859-11.h. + * iconvdata/tst-tables.sh: Add ISO-8859-11. + + * stdio-common/vfscanf.c (inchar): Restore errno from previous + underflow operation if c == (W)EOF. + +2002-07-03 Jakub Jelinek + + * stdio-common/printf_fp.c (__printf_fp): If _FPIO_CONST_SHIFT is + non-zero, adjust exponent. + * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl, erfl, __erfcl, erfcl): + Remove NO_LONG_DOUBLE aliases. + * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l, expm1l): Likewise. + * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl, log1pl): Likewise. + (__log1pl): Raise divide by zero and invalid exceptions when needed. + * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Special case + 1**y and -1**+-Inf. + * sysdeps/ieee754/ldbl-128/ldbl2mpn.c (__mpn_extract_long_double): + Fix BITS_PER_MP_LIMB 32 extraction. + * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Don't raise + exceptions for qNaNs. + * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise. + * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgamma_r): + Raise exceptions when needed. Don't recurse unnecessarily. + Special case 1.0L and 2.0L arguments to avoid -0.0L as result. + * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Don't raise + exceptions for qNaNs. + * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Make qs 64-bit + to fix *quo return value sign. + * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gamma_r): Special + case -Inf argument. + * soft-fp/op-4.h (_FP_FRAC_CLZ_4): Fix a pasto. + +2002-07-01 Jakub Jelinek + + * libio/tst-eof.c (do_test): Remove unused ch and tm variables. + * iconvdata/iso-2022-jp-3.c (EMIT_SHIFT_TO_INIT): Kill warnings if + -DNDEBUG. + +2002-07-10 Ulrich Drepper + + * malloc/hooks.c (realloc_check): If mremap succeeds actually use + the result. + + * sysdeps/i386/i486/bits/string.h: Add early clobber for "a" + output parameter. Reported by Denis Zaitsev . + + * Versions.def (libthread_db): Add GLIBC_2.3. + +2002-07-09 Jakub Jelinek + + * libio/freopen.c (freopen): Reset jump tables, use mmap stdio for the + new stream if possible. + * libio/freopen64.c (freopen64): Likewise. + * libio/Makefile (tests): Add tst-freopen. + * libio/tst-freopen.c: New file. + +2002-07-03 Jakub Jelinek + + * libio/stdio.h (obstack_printf): Add format attribute. + (obstack_vprintf): Likewise. + +2002-07-04 Jakub Jelinek + + * posix/regex_internal.h (re_token_t): Shrink the structure to 8 + resp. 16 bytes on 32-bit resp. 64-bit platforms. + (re_charset_t, re_string_t): Reorder structure members for 64-bit + architectures. + +2002-07-04 Jakub Jelinek + + * posix/regcomp.c (re_compile_internal): Move clearing of dfa... + (init_dfa): ...here. + +2002-07-05 Isamu Hasegawa + + * posix/regcomp.c (parse_sub_exp): Add nodes OP_OPEN_SUBEXP and + OP_CLOSE_SUBEXP at both ends of sub expressions instead of SUBEXP + nodes in parse trees. + (calc_first): Fix the Definition of `firsts' of OP_OPEN_SUBEXP + and OP_CLOSE_SUBEXP, and remove the definition of SUBEXP. + (calc_epsdest): Treat OP_OPEN_SUBEXP and OP_CLOSE_SUBEXP as the + nodes which can epsilon transit. + * posix/regex_internal.h: Add OP_OPEN_SUBEXP and OP_CLOSE_SUBEXP + to IS_EPSILON_NODE macro. + * posix/regexec.c (update_regs): New function to update registers + by refering OP_OPEN_SUBEXP and OP_CLOSE_SUBEXP nodes. + (proceed_next_node): Use the entities of the nodes to determine + whether the node can transit to. + (set_regs): Use update_regs function to update registers. + +2002-07-03 Jakub Jelinek + + * posix/bug-regex4.c (main): Remove duplicate setlocale. + * posix/bug-regex6.c: New file. + * posix/Makefile (tests): Add bug-regex6. + (bug-regex6-ENV): Set LOCPATH. + +2002-07-10 Ulrich Drepper + + * Versions.def [libpthread]: Add GLIBC_2.2.6. + * posix/Versions [libc] (GLIBC_2.2.6): Add __nanosleep. + +2002-07-06 Bruno Haible + + * sysdeps/unix/sysv/sysv4/bits/sigset.h (__NSSBITS): Correct value. + +2002-07-06 Bruno Haible + + * include/sys/socket.h (__libc_sendto, __libc_recvfrom): New + declarations. + + * sysdeps/i386/fpu/libm-test-ulps: Add some ulps for AMD K7. + + * rt/Makefile (tests): Don't add tst-aio* in a single-threaded build. + + * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Test for _SYS_UTSNAME_H, + not _UTSNAME_H. + * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise. + + * sysdeps/generic/bits/stropts.h: Protect against direct inclusion. + * sysdeps/generic/bits/ustat.h: Likewise. + + * sysdeps/unix/sysv/linux/bits/statvfs.h (ST_NODIRATIME): Set to 2048. + +2002-07-08 Andreas Jaeger + + * sysdeps/x86_64/elf/initfini.c (__asm__): Call call_gmon_start. + +2002-07-08 Andreas Jaeger + + * sysdeps/x86_64/fpu/s_fdiml.S: Fix wrong register name. + +2002-07-06 Andreas Jaeger + + * sysdeps/x86_64/fpu/bits/mathinline.h: New file. + * sysdeps/x86_64/fpu/s_copysign.S: New file. + * sysdeps/x86_64/fpu/s_copysignf.S: New file. + * sysdeps/x86_64/fpu/s_copysignl.S: New file. + * sysdeps/x86_64/fpu/s_finitel.S: New file. + * sysdeps/x86_64/fpu/s_fmax.S: New file. + * sysdeps/x86_64/fpu/s_fmaxf.S: New file. + * sysdeps/x86_64/fpu/s_fmaxl.S: New file. + * sysdeps/x86_64/fpu/s_fmin.S: New file. + * sysdeps/x86_64/fpu/s_fminf.S: New file. + * sysdeps/x86_64/fpu/s_fminl.S: New file. + +2002-06-05 Brian Youmans <3diff@gnu.org> + + * sysdeps/ia64/fpu/e_acos.S: Added text of Intel license. + * sysdeps/ia64/fpu/e_acosf.S: Likewise. + * sysdeps/ia64/fpu/e_acosl.S: Likewise. + * sysdeps/ia64/fpu/e_asin.S: Likewise. + * sysdeps/ia64/fpu/e_asinf.S: Likewise. + * sysdeps/ia64/fpu/e_asinl.S: Likewise. + * sysdeps/ia64/fpu/e_atan2.S: Likewise. + * sysdeps/ia64/fpu/e_atan2f.S: Likewise. + * sysdeps/ia64/fpu/e_cosh.S: Likewise. + * sysdeps/ia64/fpu/e_coshf.S: Likewise. + * sysdeps/ia64/fpu/e_coshl.S: Likewise. + * sysdeps/ia64/fpu/e_exp.S: Likewise. + * sysdeps/ia64/fpu/e_expf.S: Likewise. + * sysdeps/ia64/fpu/e_fmod.S: Likewise. + * sysdeps/ia64/fpu/e_fmodf.S: Likewise. + * sysdeps/ia64/fpu/e_fmodl.S: Likewise. + * sysdeps/ia64/fpu/e_hypot.S: Likewise. + * sysdeps/ia64/fpu/e_hypotf.S: Likewise. + * sysdeps/ia64/fpu/e_hypotl.S: Likewise. + * sysdeps/ia64/fpu/e_log.S: Likewise. + * sysdeps/ia64/fpu/e_logf.S: Likewise. + * sysdeps/ia64/fpu/e_pow.S: Likewise. + * sysdeps/ia64/fpu/e_powf.S: Likewise. + * sysdeps/ia64/fpu/e_powl.S: Likewise. + * sysdeps/ia64/fpu/e_remainder.S: Likewise. + * sysdeps/ia64/fpu/e_remainderf.S: Likewise. + * sysdeps/ia64/fpu/e_remainderl.S: Likewise. + * sysdeps/ia64/fpu/e_scalb.S: Likewise. + * sysdeps/ia64/fpu/e_scalbf.S: Likewise. + * sysdeps/ia64/fpu/e_scalbl.S: Likewise. + * sysdeps/ia64/fpu/e_sinh.S: Likewise. + * sysdeps/ia64/fpu/e_sinhf.S: Likewise. + * sysdeps/ia64/fpu/e_sinhl.S: Likewise. + * sysdeps/ia64/fpu/e_sqrt.S: Likewise. + * sysdeps/ia64/fpu/e_sqrtf.S: Likewise. + * sysdeps/ia64/fpu/e_sqrtl.S: Likewise. + * sysdeps/ia64/fpu/libm_atan2_req.S: Likewise. + * sysdeps/ia64/fpu/libm_error.c: Likewise. + * sysdeps/ia64/fpu/libm_frexp4.S: Likewise. + * sysdeps/ia64/fpu/libm_frexp4f.S: Likewise. + * sysdeps/ia64/fpu/s_frexpl.c: Likewise. + * sysdeps/ia64/fpu/s_ilogb.S: Likewise. + * sysdeps/ia64/fpu/s_ilogbf.S: Likewise. + * sysdeps/ia64/fpu/s_ilogbl.S: Likewise. + * sysdeps/ia64/fpu/s_ldexp.S: Likewise. + * sysdeps/ia64/fpu/s_ldexpf.S: Likewise. + * sysdeps/ia64/fpu/s_ldexpl.S: Likewise. + * sysdeps/ia64/fpu/s_log1p.S: Likewise. + * sysdeps/ia64/fpu/s_log1pf.S: Likewise. + * sysdeps/ia64/fpu/s_log1pl.S: Likewise. + * sysdeps/ia64/fpu/s_logb.S: Likewise. + * sysdeps/ia64/fpu/s_logbf.S: Likewise. + * sysdeps/ia64/fpu/s_logbl.S: Likewise. + * sysdeps/ia64/fpu/s_modf.S: Likewise. + * sysdeps/ia64/fpu/s_modff.S: Likewise. + * sysdeps/ia64/fpu/s_modfl.S: Likewise. + * sysdeps/ia64/fpu/s_nearbyint.S: Likewise. + * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise. + * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise. + * sysdeps/ia64/fpu/s_rint.S: Likewise. + * sysdeps/ia64/fpu/s_rintf.S: Likewise. + * sysdeps/ia64/fpu/s_rintl.S: Likewise. + * sysdeps/ia64/fpu/s_round.S: Likewise. + * sysdeps/ia64/fpu/s_roundf.S: Likewise. + * sysdeps/ia64/fpu/s_roundl.S: Likewise. + * sysdeps/ia64/fpu/s_scalbn.S: Likewise. + * sysdeps/ia64/fpu/s_scalbnf.S: Likewise. + * sysdeps/ia64/fpu/s_scalbnl.S: Likewise. + * sysdeps/ia64/fpu/s_significand.S: Likewise. + * sysdeps/ia64/fpu/s_significandf.S: Likewise. + * sysdeps/ia64/fpu/s_significandl.S: Likewise. + * sysdeps/ia64/fpu/s_tan.S: Likewise. + * sysdeps/ia64/fpu/s_tanf.S: Likewise. + * sysdeps/ia64/fpu/s_tanl.S: Likewise. + * sysdeps/ia64/fpu/s_trunc.S: Likewise. + * sysdeps/ia64/fpu/s_truncf.S: Likewise. + * sysdeps/ia64/fpu/s_truncl.S: Likewise. + * sysdeps/ieee754/dbl-64/doasin.c: Changed copyright notice to + reflect IBM donation of math library to FSF + * sysdeps/ieee754/dbl-64/dosincos.c: Likewise. + * sysdeps/ieee754/dbl-64/e_asin.c: Likewise. + * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. + * sysdeps/ieee754/dbl-64/e_exp.c: Likewise. + * sysdeps/ieee754/dbl-64/e_log.c: Likewise. + * sysdeps/ieee754/dbl-64/e_pow.c: Likewise. + * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise. + * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise. + * sysdeps/ieee754/dbl-64/halfulp.c: Likewise. + * sysdeps/ieee754/dbl-64/mpa.c: Likewise. + * sysdeps/ieee754/dbl-64/mpatan.c: Likewise. + * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise. + * sysdeps/ieee754/dbl-64/mpexp.c: Likewise. + * sysdeps/ieee754/dbl-64/mplog.c: Likewise. + * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise. + * sysdeps/ieee754/dbl-64/mptan.c: Likewise. + * sysdeps/ieee754/dbl-64/s_atan.c: Likewise. + * sysdeps/ieee754/dbl-64/s_sin.c: Likewise. + * sysdeps/ieee754/dbl-64/s_tan.c: Likewise. + * sysdeps/ieee754/dbl-64/sincos32.c: Likewise. + * sysdeps/ieee754/dbl-64/slowexp.c: Likewise. + * sysdeps/ieee754/dbl-64/slowpow.c: Likewise. + * sysdeps/gnu/netinet/udp.h: Added BSD copying permission notice + * sysdeps/vax/__longjmp.c: Likewise. + * sysdeps/vax/setjmp.c: Likewise. + * libio/filedoalloc.c: Fixed BSD copying permission notice to + remove advertising clause + * sysdeps/vax/htonl.s: Likewise. + * sysdeps/vax/htons.s: Likewise. + * libio/wfiledoalloc.c: Likewise. + * stdlib/random.c: Likewise. + * stdlib/random_r.c: Likewise. + * sysdeps/mach/sys/reboot.h: Likewise. + * inet/getnameinfo.c: Deleted advertising clause from Inner Net License + * sysdeps/posix/getaddrinfo.c: Likewise. + * sunrpc/des_impl.c: Updated license permission notice to Lesser + GPL and corrected pointer to point to the correct license. + +2002-07-04 Andreas Jaeger + + * scripts/config.guess: New upstream version. + * scripts/config.sub: Likewise. + +2002-07-02 Andreas Schwab + + * resolv/nss_dns/dns-network.c (getanswer_r): Reduce linebuflen + in parallel to bumping up the buffer pointer. + +2002-07-01 Jakub Jelinek + + * math/libm-test.inc (acos_test): Add missing L suffix for + expected result. + (cpow_test): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Adjust errors for cpow, remove + error for acos (0.0625). + +2002-06-30 Ulrich Drepper + + * locale/iso-639.def: Add entry for Ganda. + * locale/programs/ld-address.c (DEFINE_LANGUAGE_CODE3): New + definition. + (address_finish): Handle entries with two letter ISO 639 code. + + * iconvdata/Makefile: Recreate gconv-modules.cache file in target + directory if it existed before. + * iconv/iconvconfig.c: Implement --prefix option. + + * math/libm-test.inc (cexp_test): Add missing L suffix for + expected result. Reported by Stephen L Moshier . + * sysdeps/i386/fpu/libm-test-ulps: Adjust error for cexp (0.75 + + 1.25 i). + +2002-05-29 H.J. Lu + + * elf/dl-error.c (_dl_signal_cerror): Report error if ld.so debug + is turned on. + +2002-05-28 H.J. Lu + + * elf/dl-deps.c (_dl_map_object_deps): Don't add objects which + are not dlopened on the dependency list of a dlopened object. + +2002-06-30 Ulrich Drepper + + * elf/dl-lookup.c (add_dependency): It is not necessary to add + dependencies if they are created between objects which are created + while processing RTLD_NOW for objects loaded as part of the same + dlopen call. + +2002-06-14 H.J. Lu + + * elf/Makefile (tests): Add circleload1. + (modules-names): Add circlemod1, circlemod2, circlemod3, + circlemod1a, circlemod2a and circlemod3a. + ($(objpfx)circleload1): New target. + ($(objpfx)circleload1.out): Likewise. + ($(objpfx)circlemod1.so): Likewise. + ($(objpfx)circlemod2.so): Likewise. + ($(objpfx)circlemod1a.so): Likewise. + ($(objpfx)circlemod2a.so): Likewise. + * elf/circleload1.c: New file. + * elf/circlemod1.c: New file. + * elf/circlemod1a.c: New file. + * elf/circlemod2.c: New file. + * elf/circlemod2a.c: New file. + * elf/circlemod3.c: New file. + * elf/circlemod3a.c: New file. + +2002-06-18 Amos Waterland + + * sysdeps/pthread/aio_cancel.c (aio_cancel): Add check for invalid + file descriptor. + * sysdeps/pthread/aio_fsync.c (aio_fsync): Add check for invalid fd; + add check for fd not open for writing. + + * sysdeps/pthread/aio_suspend.c (aio_suspend): Add check for + completed element(s) and do not suspend thread if so. Patch + heavily modified by drepper. + + * rt/tst-aio7.c: New file. Regression test for problems which the + above three changes fix. + * rt/Makefile (tests): Add tst-aio7. + +2002-06-29 Ulrich Drepper + + * rt/tst-aio6.c: Fix comment. + + * catgets/gencat.c (read_input_file): Handle more than one slash + at end of line correctly [PR libc/3926]. + Based on a patch by Steven Kim . + + * catgets/sample.SJIS: Add test case for above bug. + * catgets/test-gencat.c: Adjust test code. + * catgets/test-gencat.sh: Adjust expected results. + + * elf/do-rel.h (elf_dynamic_do_rel): Avoid overflow in computation + to skip relative relocations. + Patch by Geoff Keating . + +2002-05-26 Bruno Haible + + * iconv/loop.c (STANDARD_FROM_LOOP_ERR_HANDLER): New macro. + (STANDARD_TO_LOOP_ERR_HANDLER): Renamed from STANDARD_ERR_HANDLER. + All callers changed. + * iconv/gconv_simple.c (ascii_internal_loop): For error handling use + STANDARD_FROM_LOOP_ERR_HANDLER. + (utf8_internal_loop): Likewise. + (ucs2_internal_loop): Likewise. + (internal_ucs2_loop): Perform error handling like in + STANDARD_FROM_LOOP_ERR_HANDLER. + * iconvdata/unicode.c (BODY for TO_LOOP): Perform error handling like + in STANDARD_FROM_LOOP_ERR_HANDLER. + (BODY for FROM_LOOP): Use STANDARD_FROM_LOOP_ERR_HANDLER for error + handling. + * iconvdata/utf-16.c (BODY for TO_LOOP): Perform error handling like + in STANDARD_FROM_LOOP_ERR_HANDLER. + (BODY for FROM_LOOP): Use STANDARD_FROM_LOOP_ERR_HANDLER for error + handling. + * iconvdata/utf-32.c (BODY for TO_LOOP): Perform error handling like + in STANDARD_FROM_LOOP_ERR_HANDLER. + (BODY for FROM_LOOP): Use STANDARD_FROM_LOOP_ERR_HANDLER for error + handling. + * iconvdata/big5.c (BODY for FROM_LOOP): For error handling use + STANDARD_FROM_LOOP_ERR_HANDLER. + * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise. + * iconvdata/8bit-gap.c (BODY for FROM_LOOP): Likewise. + * iconvdata/8bit-generic.c (BODY for FROM_LOOP): Likewise. + * iconvdata/ansi_x3.110.c (BODY for FROM_LOOP): Likewise. + * iconvdata/armscii-8.c (BODY for FROM_LOOP): Likewise. + * iconvdata/cp1255.c (BODY for FROM_LOOP): Likewise. + * iconvdata/cp1258.c (BODY for FROM_LOOP): Likewise. + * iconvdata/euc-cn.c (BODY for FROM_LOOP): Likewise. + * iconvdata/euc-jisx0213.c (BODY for FROM_LOOP): Likewise. + * iconvdata/euc-jp.c (BODY for FROM_LOOP): Likewise. + * iconvdata/euc-kr.c (BODY for FROM_LOOP): Likewise. + * iconvdata/euc-tw.c (BODY for FROM_LOOP): Likewise. + * iconvdata/big5hkscs.c (BODY for FROM_LOOP): Likewise. + * iconvdata/gb18030.c (BODY for FROM_LOOP): Likewise. + * iconvdata/gbk.c (BODY for FROM_LOOP): Likewise. + * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Likewise. + * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): Likewise. + * iconvdata/iso-2022-jp-3.c (BODY for FROM_LOOP): Likewise. + * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise. + * iconvdata/iso646.c (BODY for FROM_LOOP): Likewise. + * iconvdata/iso_6937-2.c (BODY for FROM_LOOP): Likewise. + * iconvdata/iso_6937.c (BODY for FROM_LOOP): Likewise. + * iconvdata/johab.c (BODY for FROM_LOOP): Likewise. + * iconvdata/shift_jisx0213.c (BODY for FROM_LOOP): Likewise. + * iconvdata/sjis.c (BODY for FROM_LOOP): Likewise. + * iconvdata/t.61.c (BODY for FROM_LOOP): Likewise. + * iconvdata/uhc.c (BODY for FROM_LOOP): Likewise. + * iconvdata/utf-7.c (BODY for FROM_LOOP): Likewise. + * iconvdata/gbbig5.c (BODY for FROM_LOOP): Likewise. When ignoring + an error, still set result = __GCONV_ILLEGAL_INPUT. + (BODY for TO_LOOP): Likewise. + * iconvdata/ibm930.c (BODY for FROM_LOOP): For error handling use + STANDARD_FROM_LOOP_ERR_HANDLER. + (BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER. + * iconvdata/ibm932.c: Include and . + (BODY for FROM_LOOP): Use STANDARD_FROM_LOOP_ERR_HANDLER for error + handling. + (BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER. + * iconvdata/ibm933.c (BODY for FROM_LOOP): For error handling use + STANDARD_FROM_LOOP_ERR_HANDLER. + (BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER. + * iconvdata/ibm935.c (BODY for FROM_LOOP): For error handling use + STANDARD_FROM_LOOP_ERR_HANDLER. + (BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER. + * iconvdata/ibm937.c (BODY for FROM_LOOP): For error handling use + STANDARD_FROM_LOOP_ERR_HANDLER. + (BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER. + * iconvdata/ibm939.c (BODY for FROM_LOOP): For error handling use + STANDARD_FROM_LOOP_ERR_HANDLER. + (BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER. + * iconvdata/ibm943.c: Include and . + (BODY for FROM_LOOP): Use STANDARD_FROM_LOOP_ERR_HANDLER for error + handling. + (BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER. + * iconvdata/gbgbk.c (BODY for FROM_LOOP): Update. + * iconvdata/iso8859-1.c (BODY for TO_LOOP): Update. + * iconvdata/tcvn5712-1.c (BODY for TO_LOOP): Update. + +2002-06-28 Kaz Kojima + + * sysdeps/sh/dl-machine.h (elf_machine_load_address): Use local + labels in assembler instructions. + +2002-06-25 Ulrich Drepper + + * libio/fileops.c (_IO_file_xsgetn_mmap): Always set EOF flag if + not enough content is available. + * libio/tst-eof.c: New file. + * libio/Makefile (tests): Add tst-eof. + + * libio/fileops.c (_IO_file_underflow_mmap): Read a single byte to + update atime. + * libio/tst-atime.c: New file. + * libio/Makefile (tests): Add tst-atime. + + * argp/argp-fmtstream.c (__argp_fmtstream_update): Avoid crash in + handling of overly long words. + +2002-06-25 Andreas Jaeger + + * sysdeps/x86-64/dl-machine.h (elf_machine_load_address): Rewrite + to not use 32-bit pc relative relocations. + (elf_machine_dynamic): Likewise. + +2002-06-21 Ulrich Drepper + + * sysdeps/unix/sysv/linux/getdents.c [__ASSUME_GETDENTS64_SYSCALL] + (__GETDENTS): Check for failed getdents64 syscall. + * dirent/Makefile (tests): Add bug-readdir1. + * dirent/bug-readdir1.c: New file. + +2002-06-17 Jakub Jelinek + + * elf/dl-lookup.c (_dl_debug_bindings): Use type_class 4 for TLS + lookups. + * elf/rtld.c (dl_main): Move TLS setup code before LD_TRACE_PRELINKING + code. Print TLS modid and offset for modules containing PT_TLS + segments. + +2002-06-09 Jakub Jelinek + + * sysdeps/unix/sysv/linux/i386/dl-brk.c: Move... + * sysdeps/unix/sysv/linux/dl-brk.c: ...here. + * sysdeps/unix/sysv/linux/i386/dl-sbrk.c: Move... + * sysdeps/unix/sysv/linux/dl-sbrk.c: ...here. + +2002-06-07 Jakub Jelinek + + * nss/getXXbyYY_r.c (NEW, NEW1): Define. + (NEW (REENTRANT_NAME)): Strong alias to INTERNAL (REENTRANT_NAME). + (REENTRANT_NAME@@GLIBC_2.1.2): Use NEW (REENTRANT_NAME). + * nss/getXXent_r.c (NEW, NEW1): Define. + (NEW (REENTRANT_GETNAME)): Strong alias to + INTERNAL (REENTRANT_GETNAME). + (REENTRANT_GETNAME@@GLIBC_2.1.2): Use NEW (REENTRANT_GETNAME). + +2002-06-21 Ulrich Drepper + + * libio/fileops.c (_IO_file_setbuf_mmap): New function. + (_IO_file_jumps_mmap): Use it. + * libio/iosetvbuf.c: Don't call _IO_WSETBUF. + * libio/libioP.h: Remove _IO_wdefault_setbuf and + _IO_wdefault_setbuf_internal prorotypes. Add _IO_file_setbuf_mmap + prototype. + * libio/wfileops.c (_IO_wfile_setbuf): Removed. + (_IO_wfile_jumps_mmap): Don't use it anymore. + * libio/wgenops.c (_IO_wdefault_setbuf): Removed. + * libio/memstream.c (_IO_wmem_jumps): Use _IO_default_setbuf not + _IO_wdefault_setbuf. + * libio/vswprintf.c (_IO_wstrn_jumps): Likewise. + * libio/wstrops.c (_IO_wstr_jumps): Likewise. + * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise. + +2002-06-05 Jakub Jelinek + + * libio/Makefile (tests): Add tst-mmap-setvbuf. + * libio/tst-mmap-setvbuf.c: New test. + +2002-06-21 Andreas Jaeger + + * sysdeps/i386/fpu/libm-test-ulps: Add some ulps from my P3. + +2002-06-18 Jakub Jelinek + + * include/unistd.h (__fork_internal): Remove. + (__fork): Don't define to __fork_internal. + * sysdeps/mach/hurd/fork.c (__fork): Remove INTDEF. + * sysdeps/unix/sysv/aix/fork.c (__fork): Likewise. + * sysdeps/unix/sysv/linux/ia64/fork.S (__fork_internal): Remove alias. + * sysdeps/unix/sysv/linux/sparc/fork.S (__fork_internal): Likewise. + * sysdeps/unix/sysv/linux/syscalls.list (__fork_internal): Likewise. + +2002-06-20 Ulrich Drepper + + * po/hr.po: New file. + +2002-06-11 Wolfram Gloger + + * malloc/malloc.c: Fix error path when new_heap() returns NULL. + Reported by Michael Meissner . + +2002-06-20 Ulrich Drepper + + * sysdeps/unix/sysv/linux/ia64/getcontext.S: Fix typo. + Patch by Hans Boehm . + +2002-06-20 Andreas Jaeger + + * math/libm-test.inc: Use exact values as input parameters, + compute output parameters with 36 digits for 128-bit long doubles. + * sysdeps/i386/fpu/libm-test-ulps: Regenerated. + * sysdeps/x86-64/fpu/libm-test-ulps: Regenerated. + * sysdeps/ia64/fpu/libm-test-ulps: Regenerated. + +2002-06-13 Stephen L Moshier + + * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Fix cases in which + argument or result is subnormal. + +2002-06-19 Ulrich Drepper + + * sysdeps/i386/fpu/s_remquo.S: Fix three mistakes in computing the + quotient. + * sysdeps/i386/fpu/s_remquof.S: Likewise. + * sysdeps/i386/fpu/s_remquol.S: Likewise. + + * sysdeps/hppa/dl-machine.h: Don't use multi-line string literals. + +2002-06-17 David Mosberger + + * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h (uc_sigmask): Fix + typo: corresponding sigcontext field is called sc_mask, not sc_sigmask. + Reported by Peter A. Buhr. + +2002-06-15 Roland McGrath + + * sysdeps/mach/hurd/mmap.c (__mmap): Add a dead case that quiets a + warning. + + * sysdeps/mach/hurd/getcwd.c + (_hurd_canonicalize_directory_name_internal): unsigned int -> size_t + + * sysdeps/unix/sysv/linux/bits/ustat.h: Moved to ... + * sysdeps/generic/bits/ustat.h: ... here (was almost identical). + + * sysdeps/alpha/divrem.h: Use local label instead of global one for + jump to local subroutine. + +2002-06-14 Roland McGrath + + * sysdeps/mach/hurd/i386/Makeconfig: File moved to ... + * sysdeps/mach/hurd/Makeconfig: ... here. + +2002-06-13 Andreas Schwab + + * sysdeps/m68k/fpu/s_finite.c: Remove INTDEF. + * sysdeps/m68k/fpu/s_finitef.c: Likewise. + * sysdeps/m68k/fpu/s_finitel.c: Likewise. + +2002-06-13 Roland McGrath + + * hurd/hurdstartup.h (_hurd_startup): int -> intptr_t in MAIN arg type. + * hurd/hurdstartup.c (_hurd_startup): Likewise. + Use intptr_t instead of int for argc in stack layout. + * sysdeps/mach/hurd/alpha/init-first.c (init): Fix argument type. + (_dl_init_first): Likewise. + (_hurd_stack_setup): Likewise. + (init1): Add a cast. + * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start: go): Fix arg type. + + * sysdeps/mach/hurd/if_index.c (if_nameindex): Use size_t for AMOUNT + argument to pfinet_siocgifconf RPC. + +2002-06-13 Andreas Schwab + + * sysdeps/m68k/fpu/s_isinf.c (INTDEFX): Define to get correct + expansion order. + +2002-06-12 Roland McGrath + + * sysdeps/generic/tmpfile.c [USE_IN_LIBIO] (tmpfile): Don't #define + if already defined. + [USE_IN_LIBIO]: Conditionalize versioned_symbol use on + [GEN_THIS == __GT_FILE] so that tmpfile64.c's inclusion doesn't get it. + +2002-06-11 Roland McGrath + + * sysdeps/mach/hurd/xstat64.c: Conditionalize entire contents of the + file on [!RTLD_STAT64]. + * sysdeps/mach/hurd/fxstat64.c: Likewise. + + * sysdeps/mach/hurd/tmpfile.c (tmpfile64): Define as alias of tmpfile. + (__fdopen): Use INTUSE. + * sysdeps/mach/hurd/tmpfile64.c: New file, empty placeholder. + + * stdio-common/tmpfile64.c: File removed. + * sysdeps/generic/tmpfile64.c: New file. + * sysdeps/generic/tmpfile.c (GEN_THIS): New macro, define to __GT_FILE + if not already defined. + (tmpfile): Use it in place of __GT_FILE. + + * include/unistd.h: Declare __chown_internal. + + * sysdeps/mach/hurd/sendfile64.c (sendfile64): Do real work here. + * sysdeps/mach/hurd/sendfile.c (sendfile): Call that. + +2002-06-09 Roland McGrath + + Update to new Hurd RPC interfaces supporting 64-bit file sizes. + * sysdeps/mach/hurd/configure.in: Check for with + value of HURD_INTERFACE_VERSION >= 20020609. + * sysdeps/mach/hurd/configure: Regenerated. + * shlib-versions (.*-.*-gnu-gnu.*): Set libhurduser=0.3. + * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Rewritten to + convert a struct stat64 into a struct stat and return 0 or -1 + with errno set to EOVERFLOW. + * sysdeps/mach/hurd/statfsconv.c (statfs64_conv): Likewise + for struct statfs64 to struct statfs. + * sysdeps/mach/hurd/xstat.c (__xstat): Use converter and call ... + * sysdeps/mach/hurd/xstat64.c (__xstat64): ... this, real work here. + * sysdeps/mach/hurd/fxstat.c (__fxstat): Likewise. + * sysdeps/mach/hurd/fxstat64.c (__fxstat64): Likewise. + * sysdeps/mach/hurd/lxstat.c (__lxstat): Likewise. + * sysdeps/mach/hurd/lxstat64.c (__lxstat64): Likewise. + * sysdeps/mach/hurd/statfs.c (__statfs): Likewise. + * sysdeps/mach/hurd/statfs64.c (__statfs64): Likewise. + * sysdeps/mach/hurd/fstatfs.c (__fstatfs): Likewise. + * sysdeps/mach/hurd/fstatfs64.c (__fstatfs64): Likewise. + * sysdeps/mach/hurd/pwrite64.c (__libc_pwrite64): Do real work here. + * sysdeps/mach/hurd/pwrite.c (__libc_pwrite): Call that. + * sysdeps/mach/hurd/pread64.c (__libc_pread64): Do real work here. + * sysdeps/mach/hurd/pread.c (__libc_pread): Call that. + * sysdeps/mach/hurd/lseek64.c (__libc_lseek64): Do real work here. + * sysdeps/mach/hurd/lseek.c (__libc_lseek): Call that. + * sysdeps/mach/hurd/readdir64.c (__readdir64): Do real work here. + * sysdeps/mach/hurd/readdir.c (__readdir): Call that. + * sysdeps/mach/hurd/readdir64_r.c (__readdir64_r): Do real work here. + * sysdeps/mach/hurd/readdir_r.c (__readdir64_r): Call that. + * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): + Use struct stat64 for io_stat argument. + * sysdeps/mach/hurd/readlink.c (__readlink): Likewise. + * hurd/fopenport.c (seekio): Remove EOVERFLOW check, pass POS directly + to io_seek. + * hurd/fd-read.c (_hurd_fd_read): Use loff_t for OFFSET argument. + * hurd/fd-write.c (_hurd_fd_write): Likewise. + * hurd/hurd/fd.h: Update decls. + * sysdeps/mach/hurd/getcwd.c + (_hurd_canonicalize_directory_name_internal): Use ino64_t + and struct dirent64. + * sysdeps/mach/hurd/dl-sysdep.c (open_file): Use struct stat64. + (__xstat): Renamed to __xstat64, use struct stat64 for argument. + (__fxstat): Renamed to __fxstat64, use struct stat64 for argument. + (__lseek): Renamed to __libc_lseek64, use off64_t for argument. + +2002-06-08 Roland McGrath + + * sysdeps/mach/hurd/dirstream.h (struct __dirstream): Use size_t + instead of unsigned long int for __allocation and __size members. + +2002-06-09 Jakub Jelinek + + * sysdeps/unix/sysv/linux/i386/dl-brk.c: Move... + * sysdeps/unix/sysv/linux/dl-brk.c: ...here. + * sysdeps/unix/sysv/linux/i386/dl-sbrk.c: Move... + * sysdeps/unix/sysv/linux/dl-sbrk.c: ...here. + +2002-06-07 Roland McGrath + + * sysdeps/mach/hurd/bits/environments.h: File removed. + +2002-06-07 Jakub Jelinek + + * sysdeps/unix/sysv/linux/alpha/sendfile64.c: New file. + * sysdeps/unix/sysv/linux/ia64/sendfile64.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/sendfile64.c: New file. + * sysdeps/unix/sysv/linux/x86_64/sendfile64.c: New file. + * sysdeps/unix/sysv/linux/syscalls.list (sendfile): Remove EXTRA. + (sendfile64): Likewise. + * sysdeps/unix/sysv/linux/alpha/syscalls.list (sendfile): Likewise. + * sysdeps/unix/sysv/linux/ia64/syscalls.list (sendfile): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (sendfile): Likewise. - * sysdeps/unix/sysv/linux/shmctl.c (__old_shmctl): Likewise. - * hurd/compat-20.c (_hurd_proc_init_compat_20): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S - (__swapcontext, __novec_swapcontext): Use END instead of PSEUDO_END. - (__novec_swapcontext, __swapcontext_stub): Add compat_text_section. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S - (__makecontext_stub): Likewise. - (__novec_makecontext): Likewise. Fix name in END () to match - function name. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S - (__setcontext): Use END instead of PSEUDO_END. - (__novec_setcontext): Add compat_text_section. Use END instead of - PSEUDO_END, fix the name in END () to match function name. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S - (__getcontext, __novec_getcontext): Use END instead of PSEUDO_END. - (__novec_getcontext, __getcontext_stub): Add compat_text_section. + * sysdeps/unix/sysv/linux/x86_64/syscalls.list (sendfile): Likewise. -2004-03-10 Kaz Kojima + * include/sys/stat.h (__fxstat64, __lxstat64): Only define if not + already defined. - * sysdeps/sh/dl-machine.h: Don't use GL macro if not appropriate. - (COPY_UNALIGNED_WORD): Remove cast used as lvalue. +2002-06-04 Bruno Haible -2004-03-10 Ulrich Drepper + * sysdeps/cris/stackinfo.h: New file. - * sysdeps/i386/dl-procinfo.h (HWCAP_IMPORTANT): Remove mmx, add sse2. + * sysdeps/hppa/dl-machine.h (elf_machine_rela): Cast reloc_addr + to an integer type before performing bit operations on it. -2004-03-10 Richard Henderson +2002-06-05 Roland McGrath - * sysdeps/generic/errno.c: Disable versioning for rtld. + * sysdeps/generic/sendfile.c: Include . + * sysdeps/generic/sendfile64.c: Likewise. - * sysdeps/generic/Makefile (elf/shared): Add unwind-pe. - * sysdeps/generic/unwind-pe.c: New file. - * sysdeps/generic/unwind-pe.h: Only prototypes for _LIBC without - _LIBC_DEFINITIONS. + * io/Makefile (routines): Add sendfile and sendfile64. + (headers): Add sys/sendfile.h to the list. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it here. + * sysdeps/unix/sysv/linux/sys/sendfile.h: Moved to ... + * io/sys/sendfile.h: ... here. + * sysdeps/generic/sendfile.c: New file. + * sysdeps/generic/sendfile64.c: New file. -2004-03-10 Ulrich Drepper + * sysdeps/unix/sysv/linux/Versions (GLIBC_2.1, GLIBC_2.3): + Move sendfile, sendfile64 to ... + * io/Versions (GLIBC_2.1, GLIBC_2.3): ... here. + * sysdeps/mach/hurd/sendfile.c: New file. + * sysdeps/mach/hurd/sendfile64.c: New file. - * include/libc-symbols.h: Define attribute_compat_text_section and - attribute_compat_data_section. - * io/ftw.c: Mark compat code with attribute_compat_text_section. + * sysdeps/mach/nanosleep.c: New file. + +2002-06-04 Roland McGrath + + * sysdeps/alpha/elf/configure.in: New file. Check for TLS support. + * sysdeps/alpha/elf/configure: New file (generated). + +2002-06-02 Roland McGrath + + * include/link.h: Include to make sure USE_TLS is defined. + +2002-06-01 Roland McGrath + + * sysdeps/mach/hurd/alpha/init-first.c: New file, modified from + i386/init-first.c by Andrew M. Miklic . + +2002-05-19 Ulrich Drepper + + * resolv/resolv.h (struct __res_state): Remove unused nstimes. + Add nsmap. + * resolv/res_init.c (__res_vinit): Initialize nsmap array. + Remove nstimes setting. + (res_nclose): Check all MAXNS nameservers with non-NULL nsaddrs. + * resolv/res_send.c (res_nsend): Don't close unconditionally if + there is mix of IPv6 and IPv4 nameservers. + Use nsmap array to find free slots and preserve nameserver ordering. + Fix RES_ROTATE. + +2002-05-30 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sys/sendfile.h: It is now possible to + use this header with LFS. + + * po/sk.po: Update from translation team. + +2002-05-28 Andreas Schwab + + * sysdeps/generic/readelflib.c (process_elf_file): Give correct + message when finding object of wrong class. + +2002-05-28 Jakub Jelinek + + * sysdeps/wordsize-32/divdi3.c (__moddi3): Fix pasto. + Patch by . + +2002-05-30 Ulrich Drepper + + * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc] (sysdep_routines): + Add readahead. + * sysdeps/unix/sysv/linux/readahead.c: New file. + * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile64 syscall. + * sysdeps/unix/sysv/linux/Versions: Export readahead and sendfile64. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add readahead syscall. + Add sendfile64 alias to sendfile syscall. + * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_readahead + syscall. + + * sysdeps/unix/sysv/linux/i386/sysdep.h: Use __i686.get_pc_thunk.XX + special section for PIC register loading. + * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise. + + * config.h.in: Define HAVE_HIDDEN. + * configure.in: Also define HAVE_HIDDEN if HAVE_PROTECTED is defined. + + * elf/elf.h: Correct Alpha TLS relocations according to last spec. + +2002-05-28 Roland McGrath + + * sysdeps/mach/alpha/setfpucw.c: New file. + +2002-05-26 Roland McGrath + + * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't use sizeof in _IOTS. + Use integer_t instead of int for IOC_VOID case. + +2002-05-27 Alexandre Oliva + + * configure.in (DO_STATIC_NSS): Define if --disable-shared. + +2002-05-26 Bruno Haible + + * iconvdata/iso-2022-jp.c (BODY for TO_LOOP): Avoid running off the + end of the ISO-8859-7 from idx table. + +2002-05-27 Ulrich Drepper + + * manual/lang.texi: Fix FLT_EPSILON description [PR libc/3649]. + +2002-05-24 David S. Miller + + * string/bits/string2.h (memset): Do not try to optimize when + not _STRING_ARCH_unaligned if GCC will do the right thing. + +2002-05-21 Isamu Hasegawa + + * posix/regex.c: Define `inline' as a macro into nothing for the + compilers which lack the keyword. + * posix/regex.h: (RE_SYNTAX_GNU_AWK): Remove RE_CONTEXT_INVALID_OPS + for the compatibility of gawk. + * posix/regcomp.c: Add fake implementation of isblank() for the + environments which lack the function. + Don't use free_charset() in case of non-i18n envs. + (build_range_exp): Don't use i18n related code in case of non-i18n + envs. + (build_collating_symbol): Likewise. + (build_equiv_class): Likewise. + (build_charclass): Likewise. + (re_compile_fastmap_iter): Likewise. + (parse_bracket_exp): Likewise. + (build_word_op): Likewise. + (regfree): Don't use free_charset() in case of non-i18n envs. + * posix/regex_internal.h: Remove COMPLEX_BRACKET from + re_token_type_t in case of non-i18n envs. + Don't define re_charset_t in case of non-i18n envs. + Change the type of wcs of re_string_t from wchar_t to wint_t, + since we store also WEOF. + * posix/regex_internal.c: (re_string_realloc_buffers): Change + the type of wcs of re_string_t from wchar_t to wint_t. + (re_string_reconstruct): Likewise. + (create_ci_newstate): Don't use i18n related code in case of + non-i18n envs. + (create_cd_newstate): Likewise. + +2002-05-24 Ulrich Drepper + + * iconv/loop.c: Fix typo. + +2002-05-23 Jakub Jelinek + + * inet/ether_line.c (ether_line): Fix a typo causing only + lower 4 bits of each ethernet address byte being assigned. + Don't modify what line points to. + * inet/tst-ether_aton.c (main): Add ether_line tests. + +2002-05-23 Marcus Brinkmann + + * manual/filesys.texi: Don't make readlink example leak memory + when readlink fails. + +2002-05-20 Ulrich Drepper + + * iconv/loop.c: Fix condition for defining unaligned loop. Add + some more security checks. + +2002-05-17 David S. Miller + + * sysdeps/unix/sysv/linux/sparc/fork.S: Define _internal aliases. + +2002-05-16 David S. Miller + + * sysdeps/sparc/sparc32/dl-machine.h (LOAD_PIC_REG): Define. + (elf_machine_dynamic): Use it to force PIC register to be loaded. + (elf_machine_load_address): Likewise. + * sysdeps/sparc/sparc64/dl-machine.h: Mirror sparc32 changes. + + * sysdeps/sparc/sparc64/strncmp.S: When second argument pointer + is unaligned, do not forget to fully initialize %g1 magic value. + + * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Fix 64-bit elf + register definitions and provide 32-bit variants of structures + during 64-bit builds. + + * soft-fp/op-1.h (_FP_FRAC_CLEAR_OVERP_1): Define. + * soft-fp/op-2.h (_FP_FRAC_CLEAR_OVERP_2): Define. + * soft-fp/op-4.h (_FP_FRAC_CLEAR_OVERP_4): Define. + * soft-fp/op-common.h (_FP_PACK_CANONICAL): After rounding, if + _FP_FRAC_OVERP_X is set, use _FP_FRAC_CLEAR_OVERP_X to clear it. + (_FP_FROM_INT): Perform right shifts on unsigned integer type. + Do not clear implicit one bit here, it must be done post-rounding. + Only pad to the left using left shift if value uses less than the + available fractional bits. + +2002-05-20 Franz Sirl + + * sysdeps/powerpc/Makefile (sysdeps_routines): Use libgcc-compat + instead of cmpdi2, shdi3, fixdfdi, fixsfdi in csu dir. + (shared-only-routines): Likewise. + * sysdeps/powerpc/libgcc-compat.c: New file. + * sysdeps/wordsize-32/cmpdi2.c: Removed. + * sysdeps/wordsize-32/fixdfdi.c: Removed. + * sysdeps/wordsize-32/fixsfdi.c: Removed. + * sysdeps/wordsize-32/shdi3.c: Removed. + +2002-05-16 Bruno Haible + + * MakeTAGS (libc.pot): Don't sort the output. + * po/header.pot: Update to match xgettext 0.11 output. + +2002-05-16 Bruno Haible + + * MakeTAGS (subdirs): Remove duplicates. + +2002-05-19 Ulrich Drepper + + * sysdeps/unix/sysv/linux/errlist.c: Remove extra weak alias + definiton of _old_sys_nerr. Define _old_sys_errlist as strong + alias. + +2002-05-19 Andreas Jaeger + + * sysdeps/unix/sysv/linux/configure.in: Warn against an + installation in /usr/local. + +2002-05-16 Bruno Haible + + * sysdeps/unix/sysv/aix/bits/ioctl-types.h: Don't use multiline + string as argument of #error. + +2002-05-15 Ulrich Drepper + + * stdlib/canonicalize.c (canonicalize): Rename to __realpath and + don't define static. Remove old __realpath function. TC1 of + POSIX 2001 will allow the second parameter to be NULL. + * stdlib/test-canon.c: Comment out test for NULL as second + parameter of realpath. + + * time/offtime.c (__offtime): Set errno if overflow is detected. + + * elf/Makefile (rtld-routines): Remove dl-brk and dl-sbrk. + * sysdeps/unix/sysv/linux/Makefile (sysdep-rtld-routines): Add + dl-brk and dl-sbrk. + + * sysdeps/sparc/fpu/bits/mathinline.h (fdim): Add __THROW. + (fdimf): Likewise. + +2002-05-15 Roland McGrath + + * hurd/report-wait.c (_S_msg_report_wait): Use mach_msg_id_t for arg. + +2002-05-12 Bruno Haible + + * iconvdata/testdata/EUC-JISX0213: New file. + * iconvdata/testdata/EUC-JISX0213..UTF8: New file. + * iconvdata/testdata/SHIFT_JISX0213: New file. + * iconvdata/testdata/SHIFT_JISX0213..UTF8: New file. + * iconvdata/testdata/ISO-2022-JP-3: New file. + * iconvdata/testdata/ISO-2022-JP-3..UTF8: New file. + * iconvdata/TESTS: Add EUC-JISX0213, SHIFT_JISX0213, ISO-2022-JP-3. + * iconvdata/run-iconv-test.sh: Skip the charmap test if the charmap + contains comments indicating precomposed characters. + +2002-04-21 Bruno Haible + + * iconvdata/iso-2022-jp-3.c: New file. + * iconvdata/gconv-modules (ISO-2022-JP-3): New module. + * iconvdata/Makefile (modules): Add ISO-2022-JP-3. + (LDFLAGS-ISO-2022-JP-3.so): New variable. + (ISO-2022-JP-3.so): Depend on libJIS.so and libJISX0213.so. + (distribute): Add iso-2022-jp-3.c. + +2002-05-12 Bruno Haible + + * iconvdata/tst-table-to.c (main): Restore handling of + transliterations, broken by last patch. + +2002-05-12 Bruno Haible + + * iconvdata/TESTS: Add IBM922, IBM1124, IBM1129. + +2002-05-12 Bruno Haible + + * iconvdata/euc-jisx0213.c (BODY for FROM_LOOP): Don't advance inptr + when there is not enough room in the output buffer. + * iconvdata/shift_jisx0213.c (BODY for FROM_LOOP): Likewise. + +2002-04-20 Bruno Haible + + * iconv/skeleton.c ({FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO}): New + macros. + (RESET_INPUT_BUFFER): Use them instead of {MIN,MAX}_NEEDED_{FROM,TO}. + Also make this macro work if FROM_DIRECTION evaluates to 0. + (gconv_init): Use the new macros instead of {MIN,MAX}_NEEDED_{FROM,TO}. + (FUNCTION_NAME): Likewise, in the handling of unaligned accesses and + of consume_incomplete. + * iconvdata/cp1255.c: Define {FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO} + instead of {MIN,MAX}_NEEDED_{FROM,TO}. Set FROM_LOOP_MAX_NEEDED_TO to + 4, not 8. + * iconvdata/cp1258.c: Likewise. + * iconvdata/ibm930.c: Define {FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO} + instead of {MIN,MAX}_NEEDED_{FROM,TO}. Set TO_LOOP_MAX_NEEDED_TO to 3, + not 2. + * iconvdata/ibm933.c: Likewise. + * iconvdata/ibm935.c: Likewise. + * iconvdata/ibm937.c: Likewise. + * iconvdata/ibm939.c: Likewise. + * iconvdata/iso-2022-cn.c: Define + {FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO} instead of + {MIN,MAX}_NEEDED_{FROM,TO}. Set TO_LOOP_MAX_NEEDED_TO to 6, not 4. + * iconvdata/iso-2022-cn-ext.c: Likewise. + * iconvdata/iso-2022-jp.c: Define + {FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO} instead of + {MIN,MAX}_NEEDED_{FROM,TO}. + * iconvdata/tcvn5712-1.c: Define + {FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO} instead of + {MIN,MAX}_NEEDED_{FROM,TO}. Set FROM_LOOP_MAX_NEEDED_FROM to 1, not 2. + * iconvdata/euc-jisx0213.c: Define + {FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO} instead of + {MIN,MAX}_NEEDED_{FROM,TO}. Set FROM_LOOP_MAX_NEEDED_TO to 8, not 4. + * iconvdata/shift_jisx0213.c: Likewise. + +2002-05-14 Franz Sirl + + * sysdeps/powerpc/Makefile (sysdeps_routines): Add divdi3, cmpdi2, + shdi3, fixdfdi, fixsfdi in csu dir. + (shared-only-routines): Likewise. + * sysdeps/wordsize-32/cmpdi2.c: New file. + * sysdeps/wordsize-32/shdi3.c: New file. + * sysdeps/wordsize-32/fixdfdi.c: New file. + * sysdeps/wordsize-32/fixsfdi.c: New file. + * sysdeps/powerpc/Versions (__divdi3, __moddi3, __udivdi3, __umoddi3, + __ashldi3, __ashrdi3, __lshrdi3, __cmpdi2, __ucmpdi2, __fixdfdi, + __fixsfdi, __fixunsdfdi, __fixunssfdi): Export at GLIBC_2.0. + + * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl): + Only use va_arg if the argument will be used [PR libc/3259]. + +2002-05-06 Michael A. Schmidt + + * catgets/catgets.c (catopen): Free buffer if internal catalog + open fails. + +2002-05-14 Ulrich Drepper + + * debug/xtrace.sh: Make more robust. For realtime tracking use + non-buffering methods. + * debug/pcprofiledump.c: Implement -u option. + Patch by Roger Luethi . + +2002-05-11 Jakub Jelinek + + * include/netinet/in.h (bindresvport_internal): Add prototype. + * include/rpc/auth.h (authunix_create_internal, + authunix_create_default_internal, authnone_create_internal, + authdes_pk_create_internal): Add prototypes. + * include/rpc/clnt.h (clnt_create_internal, clnttcp_create_internal, + clntudp_create_internal, clntudp_bufcreate_internal, + clntunix_create_internal): Add prototypes. + * include/rpc/svc.h (svc_sendreply_internal, svcerr_decode_internal, + svc_getreq_internal, svc_getreq_common_internal, + svc_getreqset_internal, svc_getreq_poll_internal, + svc_register_internal, svc_unregister_internal, + svcudp_create_internal, svcudp_bufcreate_internal): Add prototypes. + * include/rpc/svc_auth.h (_authenticate_internal): Add prototype. + * include/sys/socket.h (__sendto, __recvfrom, __sendmsg, __recvmsg, + __setsockopt, __getsockname, __bind, __listen): Add prototypes. + * inet/rexec.c (rexec_af): Use __listen and __getsockname. + * inet/rcmd.c (rcmd_af): Use __listen. + (rresvport_af): Use __bind. + * sunrpc/clnt_udp.c: Use INTUSE calls to bindresvport, + authunix_create, authunix_create_default, authnone_create, + authdes_pk_create, clnt_create, clnttcp_create, clntudp_create, + clntudp_bufcreate, clntunix_create svc_sendreply, svcerr_decode, + svc_getreq, svc_getreq_common, svc_getreqset, svc_getreq_poll, + svc_register, svc_unregister, svcudp_create, svcudp_bufcreate, + _authenticate, add INTDEF after such function definitions. + Use __listen, __bind, __sendto, __recvfrom, __sendmsg, __recvmsg, + __setsockopt, __getsockname instead of non-__ variants. + * sunrpc/pmap_rmt.c: Likewise. + * sunrpc/rtime.c: Likewise. + * sunrpc/svc_udp.c: Likewise. + * sunrpc/clnt_unix.c: Likewise. + * sunrpc/svc_unix.c: Likewise. + * sunrpc/bindrsvprt.c: Likewise. + * sunrpc/svc_tcp.c: Likewise. + * sunrpc/auth_none.c: Likewise. + * sunrpc/clnt_raw.c: Likewise. + * sunrpc/clnt_tcp.c: Likewise. + * sunrpc/auth_unix.c: Likewise. + * sunrpc/key_call.c: Likewise. + * sunrpc/clnt_gen.c: Likewise. + * sunrpc/pm_getmaps.c: Likewise. + * sunrpc/clnt_simp.c: Likewise. + * sunrpc/pmap_clnt.c: Likewise. + * sunrpc/svc_run.c: Likewise. + * sunrpc/svc.c: Likewise. + * sunrpc/svc_simple.c: Likewise. + * sunrpc/pm_getport.c: Likewise. + * sunrpc/auth_des.c: Likewise. + * sunrpc/svc_auth.c: Likewise. + * sysdeps/generic/unwind-dw2-fde.c (__register_frame_info_bases, + __register_frame_info_table_bases, __deregister_frame_info_bases): + Add INTDEF. + (__register_frame_info_bases_internal, + __register_frame_info_table_bases_internal, + __deregister_frame_info_bases_internal): Add prototypes. + (__register_frame_info, __register_frame): Use INTUSE in call to + __register_frame_info_bases. + (__register_frame_info_table): Similarly. + (__deregister_frame_info, __deregister_frame): Similarly. + * sysdeps/generic/sendto.c (__sendto): Renamed from sendto, add + sendto as weak alias. + * sysdeps/mach/hurd/sendto.c: Likewise. + * sysdeps/generic/recvfrom.c (__recvfrom): Renamed from recvfrom, add + recvfrom as weak alias. + * sysdeps/mach/hurd/recvfrom.c: Likewise. + * sysdeps/unix/sysv/aix/recvfrom.c: Likewise. + * sysdeps/generic/recvmsg.c (__recvmsg): Renamed from recvmsg, add + recvmsg as weak alias. + * sysdeps/unix/sysv/aix/recvmsg.c: Likewise. + * sysdeps/generic/sendmsg.c (__sendmsg): Renamed from sendmsg, add + sendmsg as weak alias. + * sysdeps/unix/sysv/aix/sendmsg.c: Likewise. + * sysdeps/generic/setsockopt.c (__setsockopt): Renamed from + setsockopt, add setsockopt as weak alias. + * sysdeps/mach/hurd/setsockopt.c: Likewise. + * sysdeps/generic/bind.c (__bind): Renamed from bind, add bind as + weak alias. + * sysdeps/mach/hurd/bind.c: Likewise. + * sysdeps/generic/listen.c (__listen): Renamed from listen, add listen + as weak alias. + * sysdeps/mach/hurd/listen.c: Likewise. + * sysdeps/generic/getsockname.c (__getsockname): Renamed from + getsockname, add getsockname as weak alias. + * sysdeps/mach/hurd/getsockname.c: Likewise. + * sysdeps/unix/sysv/aix/getsockname.c: Likewise. + * sysdeps/mach/hurd/recvmsg.c (__recvmsg): Add weak alias. + * sysdeps/mach/hurd/sendmsg.c (__sendmsg): Add weak alias. + * sysdeps/unix/inet/syscalls.list (__bind, __listen, __recvmsg, + __recvfrom, __sendmsg, __sendto, __setsockopt): Add aliases. + * sysdeps/unix/sysv/linux/alpha/syscalls.list (__recvmsg, __sendmsg): + Add aliases. + * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/recvfrom.S (__recvfrom): Add weak alias. + * sysdeps/unix/sysv/linux/recvmsg.S (__recvmsg): Likewise. + * sysdeps/unix/sysv/linux/sendmsg.S (__sendmsg): Likewise. + * sysdeps/unix/sysv/linux/sendto.S (__sendto): Likewise. + * sysdeps/unix/sysv/linux/setsockopt.S (__setsockopt): Likewise. + * sysdeps/unix/sysv/linux/bind.S (__bind): Likewise. + * sysdeps/unix/sysv/linux/listen.S (__listen): Likewise. + * sysdeps/unix/sysv/linux/getsockname.S (__getsockname): Likewise. + +2002-05-10 Jakub Jelinek + + * locale/programs/localedef.h (show_archive_content): Add verbose + argument. + * locale/programs/localedef.c (main): Adjust caller. + * locale/programs/locarchive.c (struct nameent, struct dataent): New + types. + (nameentcmp, dataentcmp): New functions. + (xstrcmp): Remove. + (show_archive_content): Print verbose listing with --list-archive -v. + +2002-05-14 Ulrich Drepper + + * locale/programs/locarchive.c (open_archive): Take extra argument + readonly. If true open file with O_RDONLY and don't create the + archive if it doesn't exist. + Adapt all callers. + (close_archive): Don't do anything if fd element is -1. + * locale/programs/localedef.h (open_archive): Adjust prototype. + * locale/programs/locfile.c (write_all_categories): Adjust open_archive + call. + + * malloc/malloc.c (__posix_memalign): Correct check for size of + alignment value [PR libc/3444]. + + * include/stdio.h: Remove references to old stdio implementation. + + * libio/Makefile (bug-ungetwc2-ENV): Define. + +2002-05-13 Roland McGrath + + * iconv/gconv_charset.h (upstr): Add inline keyword, quiets warning. + + * hurd/hurdinit.c (_hurd_init): Use internal name _hurd_new_proc_init. + +2002-05-13 Marcus Brinkmann + + * hurd/hurdchdir.c (_hurd_change_directory_port_from_name): + Allocate three, not two, more than LEN when appending '/.'. + * sysdeps/mach/hurd/chroot.c (chroot): Likewise. Don't check + if NAME ends with '/.' if it is shorter than 2 chars. + +2002-05-12 Roland McGrath + + * mach/Makefile ($(mach-syscalls:%=$(objpfx)%.S)): Make the generated + files #include instead of . + + * hurd/hurdexec.c (_hurd_exec): Reauthenticate ports/dtable used in + file_exec to effect svuid=euid, svgid=egid if that is not a no-op. + +2002-05-10 Jakub Jelinek + + * sysdeps/ia64/Makefile: Remove extra endif. + * sysdeps/ia64/ia64libgcc.S (__divsf3): Fix typo in symbol version. + +2002-05-10 Andreas Schwab + + * sysdeps/powerpc/fpu/w_sqrt.c: Add sqrtl alias. + +2002-05-09 Andreas Jaeger + + * sysdeps/unix/sysv/linux/x86_64/sys/io.h: New file. + * sysdeps/unix/sysv/linux/x86_64/Dist: Add it. + * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers): Add it. + + * sysdeps/unix/sysv/linux/ia64/glob.c: Move to ... + * sysdeps/wordsize-64/glob.c: ...here. + * sysdeps/unix/sysv/linux/x86_64/glob.c: Remove. + * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: Remove. + * sysdeps/unix/sysv/linux/sparc/sparc64/glob.c: Remove. + +2002-05-08 Roland McGrath + + * hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Use + O_NOTRANS flag in "." lookup. + +2002-05-05 Ulrich Drepper + + * malloc/mtrace.c: Comment out use of _mtrace_file and _mtrace_len. + +2002-05-04 Ulrich Drepper + + * locale/duplocale.c (__duplocale): Update special members only + when allocation succeeded. + +2002-05-03 Roland McGrath + + * shlib-versions (.*-.*-gnu-gnu.*): Remove USE_IN_LIBIO conditionals; + we can only build libc.so.0.3(GLIBC_2.2.6) now. + +2002-05-02 Jakub Jelinek + + * sysdeps/ia64/Makefile: Add ia64libgcc in csu subdir. + * sysdeps/ia64/Versions (__divtf3, __divdf3, __divsf3, __divdi3, + __moddi3, __udivdi3, __umoddi3, __multi3): Export at GLIBC_2.0. + * sysdeps/ia64/ia64libgcc.S: New file. + +2002-05-02 Ulrich Drepper + + * sysdeps/generic/dl-tls.c (oom): Implement using _dl_fatal_printf. + + * malloc/memusage.c: Distinguish anonymous mmap. + +2002-05-01 Roland McGrath + + * sysdeps/mach/hurd/close.c: #undef __close before function defn, + and use INTDEF on it. + * sysdeps/mach/hurd/fcntl.c: Use INTDEF2. + + * sysdeps/mach/hurd/dl-sysdep.c (errno): New variable. + + * sysdeps/mach/hurd/alpha/static-start.S: New file (unfinished). + +2002-05-01 Ulrich Drepper + + * malloc/memusage.c: Add support for tracking mmap & friends. + * malloc/memusage.sh: Implement -m/--mmap option. + +2002-04-30 Jakub Jelinek + + * locale/programs/locarchive.c (create_archive): Add archivefname + argument, create fname from it. + (enlarge_archive): Honour output_prefix. + (open_archive): Likewise. + +2002-04-30 Jakub Jelinek + + * locale/programs/locarchive.c (add_locales_to_archive): Don't nest + too many stpcpy macros. + +2002-04-26 Bruno Haible + + * locale/programs/ld-collate.c (collate_read): Cast first argument + for "%.*s" to int. + +2002-04-26 Bruno Haible + + * include/libintl.h (__ngettext, __dngettext, __dcngettext, + __dcngettext_internal): New declarations. + (__gettext, __dgettext, __dcgettext, __dcgettext_internal): Add + attribute declarations. + +2002-04-30 Roland McGrath + + Removed old GNU stdio implementation; GNU libio is now the only option. + * configure.in: Removed --enable-libio option and @stdio@ subst var. + Define USE_IN_LIBIO unconditionally. + * configure: Regenerated. + * Makeconfig (stdio): Set to libio by default. + * config.make.in (stdio): Variable removed. + * sysdeps/unix/sysv/linux/configure.in: Don't set $stdio. + * sysdeps/unix/sysv/linux/configure: Regenerated. + * sysdeps/mach/hurd/configure.in: Don't test $stdio. + * sysdeps/mach/hurd/configure: Regenerated. + * stdio/.cvsignore: File removed. + * stdio/Makefile: File removed. + * stdio/Versions: File removed. + * stdio/__fbufsize.c: File removed. + * stdio/__flbf.c: File removed. + * stdio/__fpending.c: File removed. + * stdio/__fpurge.c: File removed. + * stdio/__freadable.c: File removed. + * stdio/__freading.c: File removed. + * stdio/__fsetlocking.c: File removed. + * stdio/__fwritable.c: File removed. + * stdio/__fwriting.c: File removed. + * stdio/clearerr.c: File removed. + * stdio/fclose.c: File removed. + * stdio/fcloseall.c: File removed. + * stdio/feof.c: File removed. + * stdio/ferror.c: File removed. + * stdio/fflush.c: File removed. + * stdio/fgetc.c: File removed. + * stdio/fgetpos.c: File removed. + * stdio/fgets.c: File removed. + * stdio/fileno.c: File removed. + * stdio/fmemopen.c: File removed. + * stdio/fopen.c: File removed. + * stdio/fopncook.c: File removed. + * stdio/fputc.c: File removed. + * stdio/fputs.c: File removed. + * stdio/fread.c: File removed. + * stdio/freopen.c: File removed. + * stdio/fseek.c: File removed. + * stdio/fsetpos.c: File removed. + * stdio/ftell.c: File removed. + * stdio/fwrite.c: File removed. + * stdio/getc.c: File removed. + * stdio/getchar.c: File removed. + * stdio/getdelim.c: File removed. + * stdio/gets.c: File removed. + * stdio/glue.c: File removed. + * stdio/internals.c: File removed. + * stdio/linewrap.c: File removed. + * stdio/linewrap.h: File removed. + * stdio/memstream.c: File removed. + * stdio/newstream.c: File removed. + * stdio/obstream.c: File removed. + * stdio/putc.c: File removed. + * stdio/putchar.c: File removed. + * stdio/puts.c: File removed. + * stdio/rewind.c: File removed. + * stdio/setbuf.c: File removed. + * stdio/setbuffer.c: File removed. + * stdio/setlinebuf.c: File removed. + * stdio/setvbuf.c: File removed. + * stdio/stdio.h: File removed. + * stdio/ungetc.c: File removed. + * stdio/vasprintf.c: File removed. + * stdio/vscanf.c: File removed. + * stdio/vsnprintf.c: File removed. + * stdio/vsprintf.c: File removed. + * stdio/vsscanf.c: File removed. + * sysdeps/generic/defs.c: File removed. + * sysdeps/generic/fdopen.c: File removed. + * sysdeps/generic/pipestream.c: File removed. + * sysdeps/generic/stdio_init.c: File removed. + * sysdeps/generic/sysd-stdio.c: File removed. + * sysdeps/generic/vdprintf.c: File removed. + * sysdeps/mach/hurd/defs.c: File removed. + * sysdeps/mach/hurd/fdopen.c: File removed. + * sysdeps/mach/hurd/pipestream.c: File removed. + * sysdeps/mach/hurd/stdio_init.c: File removed. + * sysdeps/mach/hurd/sysd-stdio.c: File removed. + * sysdeps/mach/hurd/vdprintf.c: File removed. + * sysdeps/posix/defs.c: File removed. + * sysdeps/posix/fdopen.c: File removed. + * sysdeps/posix/pipestream.c: File removed. + * sysdeps/posix/stdio_init.c: File removed. + * sysdeps/posix/vdprintf.c: File removed. + * sysdeps/unix/pipestream.c: File removed. + * sysdeps/unix/sysv/sysd-stdio.c: File removed. + * sysdeps/unix/sysv/sco3.2.4/pipestream.c: File removed. + * sysdeps/unix/sysv/sysv4/pipestream.c: File removed. + +2002-04-29 Roland McGrath + + * include/libc-symbols.h (link_warning): Use `unused' attribute. + +2002-04-28 Ulrich Drepper + + * sysdeps/generic/tls.h: Describe what must be defined. + + * sysdeps/generic/glob.c (glob): Don't pass GLOB_NOMAGIC flag to + glob_in_dir [PR libc/3385]. + * posix/globtest.sh: Add test case. + + * intl/loadmsgcat.c [!_LIBC] (_nl_init_domain_conv): Don't add + //TRANSLIT twice. + +2002-04-27 Ulrich Drepper + + * sysdeps/unix/sysv/linux/ia64/fxstat.c: Fix a few issues with the + _internal symbol handling. + * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise. + +2002-04-26 Ulrich Drepper + + * sysdeps/ia64/fpu/s_finite.S: Define _internal aliases. + * sysdeps/unix/sysv/linux/ia64/fork.S: Likewise. + +2002-04-26 Isamu Hasegawa + + * posix/regcomp.c (re_compile_fastmap_iter): Fix fastmap in case of + not _LIBC and RE_ENABLE_I18N. + (build_range_exp): Implement for not _LIBC. + (build_collating_symbol): Likewise. + (parse_bracket_exp): Unify redundant error handlings. + Don't erase mbcset for non matching list in multibyte envs. + (build_word_op): Add '_' to matching list for \w operator. + * posix/regex_internal.c (re_string_construct): Invoke + build_upper_buffer in case of not RE_ENABLE_I18N. + (re_string_reconstruct): Don't touch cur_state in case of not + RE_ENABLE_I18N. + * posix/regex_internal.h (attribute_hidden): New macro in case of + not _LIBC. + (re_charset_t): Define range_starts/ends in case of not _LIBC. + * posix/regexec.c (sift_states_iter_mb): Hide in case of not + RE_ENABLE_I18N. + (transit_state_mb): Likewise. + (check_node_accept_bytes): Implement the code evaluating range + expression in case of not _LIBC. + (find_collation_sequence_value): Hide in case of not _LIBC. + +2002-04-26 Jakub Jelinek + + * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Copied from + i386/semctl.c. + (__old_semctl, __new_semctl): Only use va_arg if the argument will + be used. + +2002-04-26 Ulrich Drepper + + * sysdeps/ia64/fpu/s_isinf.S: Fix definition of _internal names. + + * sysdeps/ia64/strncpy.S: Fix recovery code. + Patch by David Mosberger . + +2002-04-24 Ulrich Drepper + + * sysdeps/unix/sysv/linux/ia64/Versions [libc]: Add getunwind for + GLIBC_2.2.6. + +2002-04-14 Bruno Haible + + * posix/regex.c (re_max_failures): Add back symbol for binary + compatibility. + +2002-04-22 Isamu Hasegawa + + * posix/regcomp.c (re_compile_internal): Adapt it to new interface + of buffer building functions. + * posix/regex_internal.c (re_string_allocate): New function. + (re_string_realloc_buffers): New function. + (re_string_skip_chars): New function. + (re_string_reconstruct): New function. + (re_string_construct): Adapt it to new interface of buffer building + functions. + (re_string_construct_common): Likewise. + (build_wcs_buffer): Likewise. + (build_wcs_upper_buffer): Likewise. + (build_upper_buffer): Likewise. + (re_string_translate_buffer): Likewise. + (re_string_context_at): Adapt it to variable length buffers. + * posix/regex_internal.h (re_string_t): Add new fields to handle + variable length buffers. + (re_match_context_t): Likewise. + * posix/regexec.c (re_search_internal): Adapt it to new interface + of re_string_t and re_match_context_t. + (acquire_init_state_context): Likewise. + (check_matching): Likewise. + (check_halt_state_context): Likewise. + (proceed_next_node): Likewise. + (set_regs): Likewise. + (sift_states_backward): Likewise. + (clean_state_log_if_need): Likewise. + (sift_states_iter_mb): Likewise. + (sift_states_iter_bkref): Likewise. + (add_epsilon_backreference): Likewise. + (transit_state): Likewise. + (transit_state_sb): Likewise. + (transit_state_mb): Likewise. + (transit_state_bkref): Likewise. + (transit_state_bkref_loop): Likewise. + (check_node_accept): Likewise. + (match_ctx_init): Likewise. + (extend_buffers): New function. + +2002-04-21 Bruno Haible + + * iconvdata/tst-table.sh: For the second check, use the truncated + GB18030 charmap table, like for the first check. + +2002-04-24 Ulrich Drepper + + * elf/dl-load.c (open_verify): Correct __lseek parameters. + Patch by Simon Hildrew [PR libc/3354]. + +2002-04-23 H.J. Lu + + * include/math.h (isfinite): Fix a typo. + +2002-04-24 Ulrich Drepper + + * libio/bug-ungetwc2.c (test_locale): Use the de_DE.UTF-8 locale + which is created by the test suite. + +2002-04-20 Bruno Haible + + * iconvdata/iso-2002-kr.c (MAX_NEEDED_FROM): Set to 4. + (BODY for FROM_LOOP): Fix comparisons between inptr and inend. + +2002-04-20 Bruno Haible + + * iconvdata/johab.c (BODY for FROM_LOOP): Change type of i, m, f, + to avoid gcc warning. + +2002-04-20 Bruno Haible + + * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Fix modification mask + of data->__statep->__count. + +2002-04-20 Bruno Haible + + * iconvdata/euc-jisx0213.c (BODY for TO_LOOP): Really ignore Unicode + tag characters. + * iconvdata/shift_jisx0213.c (BODY for TO_LOOP): Likewise. + +2002-04-24 Roland McGrath + + * sysdeps/mach/alpha/syscall.S: Don't use .frame, ENTRY will have it; + use END macro instead of our own .end directive. + Use `callsys' insn mnemonic instead of `call_pal'. + + * sysdeps/mach/alpha/sysdep.h (ENTRY): New macro. + + * sysdeps/alpha/dl-machine.h (ELF_MACHINE_USER_ADDRESS_MASK): New + macro; we need this for Hurd. + + Log entry was missing for 2002/03/24 commit of rev 1.8, + goes with 2002-03-17 changes. + * sysdeps/mach/hurd/i386/Makefile [$(subdir) = misc] + (sysdep_routines): Append ioperm here. + (sysdep_headers): Append sys/io.h here. + +2002-04-23 Roland McGrath + + * sysdeps/mach/hurd/send.c: int -> size_t for WROTE. + * sysdeps/mach/hurd/sendto.c: Likewise. + * hurd/hurdioctl.c (siocgifconf): int -> size_t for DATA_LEN. + * sysdeps/mach/hurd/wait4.c (__wait4): natural_t -> int for SIGCODE. + * sysdeps/mach/hurd/getpriority.c: unsigned int -> size_t for PISIZE. + +2002-04-22 Roland McGrath + + * sysdeps/mach/hurd/i386/ioperm.c (ioperm): Translate MIG_BAD_ID + failure from i386_io_perm_* RPCs to ENOSYS. + +2002-04-22 Andreas Jaeger + + * sysdeps/unix/sysv/linux/x86_64/ldconfig.h: New file. + + * sysdeps/unix/sysv/linux/x86_64/dl-cache.h: New file. + + * sysdeps/unix/sysv/linux/x86_64/vfork.S: Use %rdi as temp + register instead of destroying %rbx. + +2002-04-21 Ulrich Drepper + + * string/string.h: Declare strerror_r also for XPG6. + +2002-04-19 Roland McGrath + + * sysdeps/mach/hurd/tmpfile.c: Create a file descriptor and use fdopen. + +2002-04-20 Ulrich Drepper + + * Makefile: Add handling of xtests and xcheck targets. + * MakeTAGS: Likewise. + * Makeconfig: Likewise. + * Makerules: Likewise. + * Rules: Likewise. + * manual/Makefile: Likewise. + * sunrpc/Makefile (xtests): Add thrsvc if thread library available. + * sunrpc/thrsvc.c: New file. By Zack Weinberg. + +2002-04-11 Zack Weinberg + + * include/rpc/rpc.h (struct rpc_thread_variables): Remove + authnone_private_s. + * sunrpc/auth_none.c: Include bits/libc-lock.h. + Delete #ifdef _RPC_THREAD_SAFE_ block. + (authnone_private): Make a struct, not a pointer to struct. + (authnone_private_guard): New once-control variable. + (authnone_create_once): New function, split out of + authnone_create. No need to allocate memory. + (authnone_create): Just call authnone_create_once via + __libc_once, then return &authnone_private->no_client. + (authnone_marshal): Access private data via CLIENT argument, + not authnone_private pointer. + Fix typo (MAX_MARSHEL_SIZE -> MAX_MARSHAL_SIZE). + * sunrpc/rpc_thread.c (__rpc_thread_destroy): No need to free + authnone_private_s. + +2002-04-12 H.J. Lu + + * sunrpc/clnt_raw.c (clntraw_create): Properly set xdrs and client. + +2002-04-18 Bruno Haible + + * iconvdata/euc-jisx0213.c (EMIT_SHIFT_TO_INIT, BODY for + FROM_DIRECTION): Make the FROM direction stateless. + * iconvdata/shift_jisx0213.c (EMIT_SHIFT_TO_INIT, BODY for + FROM_DIRECTION): Likewise. + +2002-04-15 Bruno Haible + + * iconvdata/JISX0213.TXT: New file. + * iconvdata/jisx0213.h: New file. + * iconvdata/jisx0213.c: New file. + * iconvdata/euc-jisx0213.c: New file. + * iconvdata/shift_jisx0213.c: New file. + * iconvdata/gconv-modules (EUC-JISX0213, SHIFT_JISX0213): New modules. + * iconvdata/EUC-JISX0213.precomposed: New file. + * iconvdata/SHIFT_JISX0213.precomposed: New file. + * iconvdata/SHIFT_JISX0213.irreversible: New file. + * iconvdata/tst-table-to.c (main): Make it work for encodings for + which the "to" direction is stateful. + * iconvdata/tst-tables.sh: Add EUC-JISX0213, SHIFT_JISX0213. + * iconvdata/Makefile (modules): Add libJISX0213, EUC-JISX0213, + SHIFT_JISX0213. + (libJISX0213-routines): New variable. + (LDFLAGS-EUC-JISX0213.so, LDFLAGS-SHIFT_JISX0213.so): New variables. + (EUC-JISX0213.so, SHIFT_JISX0213.so): Depend on libJISX0213.so. + (LDFLAGS-libJISX0213.so): New variable. + (distribute): Add JISX0213.TXT, EUC-JISX0213.precomposed, + SHIFT_JISX0213.precomposed, SHIFT_JISX0213.irreversible, + jisx0213.c, jisx0213.h, euc-jisx0213.c, shift_jisx0213.c. + +2002-04-15 Bruno Haible + + * iconvdata/big5hkscs.c (big5hkscs_to_ucs): Change element type to + uint32_t. Update to Unicode 3.2. + (from_ucs4, from_ucs4_idx): Update to Unicode 3.2. + (BODY for TO_LOOP): Handle the ASCII range specially. + * iconvdata/BIG5HKSCS.irreversible: Add one more entry. + * iconvdata/testdata/BIG5HKSCS: Remove a character. + * iconvdata/testdata/BIG5HKSCS..UTF-8: Regenerated. + +2002-04-15 Bruno Haible + + * iconvdata/gb18030.c (__twobyte_to_ucs, __fourbyte_to_ucs, + __ucs_to_gb18030_tab1, __ucs_to_gb18030_tab2): Update to Unicode 3.2. + +2002-04-15 Bruno Haible + + * iconvdata/cns11643.h (__cns11643_from_ucs4p2c_tab): New declaration. + (ucs4_to_cns11643): Update. + * iconvdata/cns11643.c: Update to Unicode 3.2. + (__cns11643l2*_to_ucs4_tab, __cns11643_from_ucs4p0_tab, + __cns11643_from_ucs4p2_tab): Regenerated. + (__cns11643_from_ucs4p2c_tab): New array. + * iconvdata/cvs11643l1.c: Update comments. + * iconvdata/EUC-TW.irreversible: Remove two entries. + +2002-04-15 Bruno Haible + + * locale/C-translit.h.in: Update to Unicode 3.2. + Add , .., .., .., + , .., .., ... + +2002-04-15 Bruno Haible + + * iconvdata/sjis.c (halfkana_to_ucs4): Remove array. + (BODY for FROM_LOOP): Optimize the JISX0201:GR to Unicode conversion. + +2002-04-15 Bruno Haible + + * iconvdata/euc-jp.c (BODY for FROM_LOOP): When encountering an + invalid input (e.g. a byte > 0x80 followed by a byte < 0x80), skip + always one byte, not 0 bytes in some cases and 2 bytes in others. + + * iconvdata/tst-table-from.c (main): Correct the usage message. + +2002-04-19 Isamu Hasegawa + + * posix/regcomp.c (parse_expression): Fix incorrect error code. + (parse_dup_op): Fix error handling like "a{}". + (parse_bracket_exp): Add error handling. + (fetch_number): Add error handling for "a{}". + +2002-04-19 Isamu Hasegawa + + * posix/regcomp.c (parse_bracket_symbol): Add error handling + in case that the symbol name is too long. + (build_charclass): Handle [:lower:]/[:uppper:] correctly + in case of REG_ICASE. + +2002-04-19 Andreas Jaeger + + * math/libm-test.inc: Fix comment, suggested by Hartvig Ekner + . + +2002-04-15 H.J. Lu + + * include/math.h (__finitel_internal): Declare only if + __NO_LONG_DOUBLE_MATH is not defined. + (__isinfl_internal): Likewise. + (__isnanl_internal): Likewise. + + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __connect_internal. + * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. + + * sysdeps/unix/sysv/linux/syscalls.list: Add __chown_internal and + __fcntl_internal. + + * sysdeps/unix/sysv/linux/fxstat.c (__fxstat64_internal): Added. + * sysdeps/unix/sysv/linux/lxstat.c (__lxstat64_internal): Added. + +2002-04-15 Bruno Haible + + * iconvdata/armscii-8.c (BODY for FROM_LOOP): Fix array access. + (BODY for TO_LOOP): Likewise. + * iconvdata/tcvn5712-1.c (from_ucs4): Map U+0309 to 0xB1. + * iconvdata/tst-table.sh: Add support for encodings which contain + precomposed Unicode characters, known to the iconv converter in both + directions but not listed in the charmap. + * iconvdata/IBM856.irreversible: New file. + * iconvdata/IBM922.irreversible: New file. + * iconvdata/IBM1132.irreversible: New file. + * iconvdata/IBM1133.irreversible: New file. + * iconvdata/IBM1160.irreversible: New file. + * iconvdata/IBM1161.irreversible: New file. + * iconvdata/IBM1163.irreversible: New file. + * iconvdata/IBM1164.irreversible: New file. + * iconvdata/ARMSCII-8.irreversible: New file. + * iconvdata/TCVN5712-1.precomposed: New file. + * iconvdata/tst-tables.sh: Add IBM856, IBM922, IBM1124, IBM1129, + IBM1160, IBM1161, IBM1132, IBM1133, IBM1162, IBM1163, IBM1164, + ARMSCII-8, TCVN5712-1. + * iconvdata/Makefile (distribute): Add IBM856.irreversible, + IBM922.irreversible, IBM1132.irreversible, IBM1133.irreversible, + IBM1160.irreversible, IBM1161.irreversible, IBM1163.irreversible, + IBM1164.irreversible, ARMSCII-8.irreversible, TCVN5712-1.precomposed. + +2002-04-17 Jakub Jelinek + + * time/tst-mktime.c: Include . Use %d, not %ld format + for EVENING69. Include offsets in TZ environment variable. + +2002-04-18 Ulrich Drepper + + * iconv/skeleton.c (RESET_INPUT_BUFFER): Replace ifs with #ifs to + avoid compiler warnings. + + * locale/programs/localedef.c (main): Always call + construct_output_path. + + * iconv/Makefile (CFLAGS-simple-hash.c): Define to find hashval.h. + + * locale/programs/locfile.c (to_archive): New variable. To collect + data which has to be added to the locale archive. + (write_all_categories): Take new third parameter with locale name. + Unless no_archive flag set add new locale data to the archive + (write_locale_data): Unless no-archive flag set store generated data + in to_archive data structure instead of generation output file. + Add new parameter with locale category index. + * locale/programs/locfile.h: Add new parameters in declaractions of + write_all_categories and write_locale_data. + * locale/programs/localedef.c: Recognize --no-archive, --list-archive, + --add-to-archive, and --delete-from-archive options. Pass extra + parameter to write_all_categories. + * locale/programs/localedef.h: Add prototypes for functions in + locarchive.c. + * locale/locarchive.h: New file. + * locale/programs/locarchive.c: New file. + * locale/Makefile (distribute): Add programs/locarchive.c and + locarchive.h. + (localedef-modules): Add md5 and locarchive. + Add vpath to crypt subdir for md5.c. + + * locale/programs/ld-address.c: Pass locale category ID as new second + parameter to write_locale_data. + * locale/programs/ld-collate.c: Likewise. + * locale/programs/ld-ctype.c: Likewise. + * locale/programs/ld-identification.c: Likewise. + * locale/programs/ld-measurement.c: Likewise. + * locale/programs/ld-messages.c: Likewise. + * locale/programs/ld-monetary.c: Likewise. + * locale/programs/ld-name.c: Likewise. + * locale/programs/ld-numeric.c: Likewise. + * locale/programs/ld-paper.c: Likewise. + * locale/programs/ld-telephone.c: Likewise. + * locale/programs/ld-time.c: Likewise. + + * locale/simple-hash.c: Move compute_hashval function from here... + * locale/hashval.h: ...to here. New file. + * locale/simple-hash.h: Add prototype for compute_hashval. + + * include/libintl.h: Minor cleanups. + +2002-04-16 Ulrich Drepper + + * posix/regcomp.c (gettext): Use INTUSE for _libc_intl_domainname. + +2002-04-15 Ulrich Drepper + + * include/sys/stat.h: Fix typo. Patch by HJ Lu. + +2002-04-14 Bruno Haible + + * locale/programs/charmap.c (charmap_read): Don't access result if + result == NULL. + +2002-02-17 Andreas Schwab + + * elf/reldep7.c: New file. + * elf/reldep7mod1.c: New file. + * elf/reldep7mod2.c: New file. + * elf/Makefile: Add rules to build and run reldep7. + +2002-04-14 Jakub Jelinek + + * elf/dl-lookup.c (_dl_lookup_symbol): Move add_dependency call to + the end of the function. Pass original flags to recursive call if + add_dependency failed. + (_dl_lookup_versioned_symbol): Likewise. + +2002-04-13 Jakub Jelinek + + * time/mktime.c (__mktime_internal): If year is 69, don't bail out + early, but check whether it overflowed afterwards. + * time/tst-mktime.c (main): Add new tests. + +2002-04-14 Ulrich Drepper + + * debug/xtrace.sh: Fix program name in help message. + Patch by Roger Luethi . + + * include/sys/stat.h: Add prototypes for __lxstat_internal and + __lxstat64_internal. Add macros __lxstat and __lxstat64 if not + NOT_IN_libc. + * sysdeps/generic/lxstat.c: Use INTDEF for __lxstat. + * sysdeps/mach/hurd/lxstat.c: Likewise. + * sysdeps/unix/common/lxstat.c: Likewise. + * sysdeps/unix/sysv/aix/lxstat.c: Likewise. + * sysdeps/unix/sysv/linux/lxstat.c: Likewise. + * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise. + * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: Likewise. + * sysdeps/generic/lxstat64.c: Use INTDEF for __lxstat64. + * sysdeps/mach/hurd/lxstat64.c: Likewise. + * sysdeps/unix/sysv/aix/lxstat64.c: Likewise. + * sysdeps/unix/sysv/linux/lxstat64.c: Likewise. + + * include/wchar.h: Declare __mbrtowc_internal and __mbrlen_internal + prototypes. Add __mbrlen and __mbrtowc macros. + * wcsmbs/mbrlen.c: Use INTDEF for __mbrlen. + * wcsmbs/mbrtowc.c: Use INTDEF for __mbrtowc. + + * include/unistd.h: Add prototype for __write_internal and add + __libc_write macro is SHARED. + * sysdeps/generic/write.c: Use INTDEF for __write. + * sysdeps/mach/hurd/write.c: Likewise. + * sysdeps/unix/sysv/aix/write.c: Likewise. + * sysdeps/unix/syscalls.list: Add __libc_write alias. + + * assert/assert.c: Replace STR_N_SIZE with something usable in + macro arguments. + * assert/assert-perr.c: Likewise. + + * include/sys/socket.h: Declare __libc_sa_len_internal and define + SA_LEN macro to use it if not NOT_IN_libc. + * sysdeps/unix/sysv/linux/sa_len.c: Use INTDEF for __libc_sa_len. + + * include/fcntl.h: Declare __open_internal and define __open and + __libc_open macros if not NOT_IN_libc. + * sysdeps/generic/open.c: Use INTDEF for __open. + * sysdeps/mach/hurd/open.c: Likewise. + * sysdeps/unix/sysv/aix/open.c: Likewise. + * sysdeps/unix/syscalls.list: Add __open_internal alias. + + * sysdeps/generic/check_fds.c: Make sure newly opened file descriptor + has correct number. + + * include/fcntl.h: Define __libc_fcntl macro if not NOT_IN_libc. + * sysdeps/mach/hurd/fcntl.c: Undefine __libc_fcntl as well. + * sysdeps/unix/sysv/aix/fcntl.c: Likewise. + * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise. + + * include/wctype.h: Declare __iswalpha_l_internal, + __iswdigit_l_internal, __iswspace_l_internal, + __iswxdigit_l_internal, and __iswctype_internal. Define + __iswalpha_l, __iswctype, __iswdigit_l, __iswspace_l, and + __iswxdigit_l macros if not NOT_IN_libc. + * wctype/iswctype.c: Use INTDEF for __iswctype. + * wctype/wcfuncs_l.c: Use INTDEF for all __iswXXX_l. + + * include/math.h: Declare __isinf_internal, __isinfl_internal, + __isnan_internal, and __isnanl_internal. + * stdio-common/printf_fp.c: Use INTUSE for calls to __isinf, __isinfl, + __isnan, and __isnanl. + * stdio-common/printf_size.c: Likewise. + * sysdeps/generic/printf_fphex.c: Likewise. + * sysdeps/i386/fpu/s_isinfl.c: Also define _internal alias. + * sysdeps/i386/fpu/s_isnanl.c: Likewise. + * sysdeps/ia64/fpu/s_isinf.S: Likewise. + * sysdeps/ia64/fpu/s_isnan.S: Likewise. + * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise. + * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise. + * sysdeps/ieee754/flt-32/s_isinff.c: Likewise. + * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise. + * sysdeps/m68k/s_isinfl.c: Likewise. + * sysdeps/m68k/fpu/s_isinf.c: Likewise. + * sysdeps/powerpc/fpu/s_isnan.c: Likewise. + + * include/sys/time.h: Declare __gettimeofday_internal and define + __gettimeofday macro if not NOT_IN_libc. + * sysdeps/generic/gettimeofday.c: Use INTEDEF for __gettimeofday. + * sysdeps/mach/gettimeofday.c: Likewise. + * sysdeps/posix/gettimeofday.c: Likewise. + * sysdeps/unix/sysv/aix/gettimeofday.c: Likewise. + * sysdeps/unix/common/syscalls.list: Define __gettimeofday alias. + * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise. + * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Likewise. + + * include/sys/stat.h: Declare __fxstat_internal and __fxstat64_internal + and define __fxstate and __fxstat64 macros if not NOT_IN_libc. + Remove __lstat and __fstat inline functions. + * sysdeps/generic/fxstat.c: Use INTDEF for __fxstat. + * sysdeps/mach/hurd/fxstat.c: Likewise. + * sysdeps/unix/fxstat.c: Likewise. + * sysdeps/unix/sysv/aix/fxstat.c: Likewise. + * sysdeps/unix/sysv/linux/fxstat.c: Likewise. + * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise. + * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: Likewise. + * sysdeps/generic/fxstat64.c: Use INTDEF for __fxstat64. + * sysdeps/mach/hurd/fxstat64.c: Likewise. + * sysdeps/unix/sysv/aix/fxstat64.c: Likewise. + * sysdeps/unix/sysv/linux/fxstat64.c: Likewise. + + * include/unistd.h: Declare __getpid_internal and define + __getpid macro if not NOT_IN_libc. + * sysdeps/mach/hurd/getpid.c: Use INTDEF for __getpid. + * sysdeps/generic/getpid.c: Likewise. + * sysdeps/unix/syscalls.list: Add __getpid_internal alias. + * posix/bsd-getpgrp.c: Use INTUSE for __getpgid call. + + * include/unistd.h: Declare __getpgid_internal and define + __getpgid macro if not NOT_IN_libc. + * sysdeps/generic/getpgid.c: Use INTDEF for __getpgid. + * sysdeps/mach/hurd/getpgid.c: Likewise. + * sysdeps/unix/sysv/aix/getpgid.c: Likewise. + * sysdeps/unix/sysv/sysv4/__getpgid.c: Likewise. + * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise. + * sysdeps/unix/sysv/linux/syscalls.list: Add _getpgid_internal alias. + + * include/unistd.h: Declare __getpagesize_internal and define + __getpagesize macro if not NOT_IN_libc. + * sysdeps/unix/sysv/linux/shmat.c: Include for + __getpagesize. + * sysdeps/generic/getpagesize.c: Use INTDEF for __getpagesize. + * sysdeps/mach/getpagesize.c: Likewise. + * sysdeps/posix/getpagesize.c: Likewise. + * sysdeps/unix/getpagesize.c: Likewise. + * sysdeps/unix/sysv/linux/getpagesize.c: Likewise. + * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Likewise. + +2002-04-13 Andreas Jaeger + + * sysdeps/i386/i486/bits/string.h (__strcspn_cg): Use only memory + as clobber to reduce register pressure. + (__strpbrk_cg): Likewise. + (__mempcpy_by4): Likewise. + (__strstr_cg): Likewise. + Add prototype for __memrchr. + +2002-04-13 Andreas Schwab + + * sysdeps/m68k/fpu/s_finite.c: Add internal alias. + * sysdeps/m68k/fpu/s_finitef.c: Likewise. + * sysdeps/m68k/fpu/s_finitel.c: Likewise. + +2002-04-13 Ulrich Drepper + + * elf/do-lookup.h [!VERSIONED]: Add new parameter flags. Use it to + check whether the caller prefers getting the most recent version of + a symbol of the earliest version. + * elf/dl-lookup.c: Adjust all callers of do_lookup. Change + _dl_do_lookup to also take the new parameter and pass it on. + Change 'explicit' parameter of _dl_lookup_symbol and + _dl_lookup_versioned_symbol to flags. Adjust tests. + * sysdeps/generic/ldsodefs.h: Adjust prototypes. + * elf/dl-libc.c: Adjust all callers of _dl_lookup_symbol and + _dl_lookup_versioned_symbol. + * elf/dl-reloc.c: Likewise. + * elf/dl-runtime.c: Likewise. + * elf/dl-sym.c: Likewise. + * sysdeps/mips/dl-machine.h: Likewise. + +2002-04-11 Jakub Jelinek + + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (LOC): Don't paste + in a token. + * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h (LOC): Likewise. + +2002-04-10 Andreas Jaeger + + * sysdeps/unix/sysv/linux/x86_64/glob.c: New file. + + * include/argz.h: Remove extra char from last patch. + +2002-04-09 Ulrich Drepper + + * sysdeps/mach/hurd/chown.c: Use INTDEF for __chown. + * sysdeps/unix/sysv/aix/chown.c: Likewise. + * sysdeps/unix/grantpt.c: Use INTUSE for __chown calls. + * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise. + * sysdeps/unix/sysv/linux/i386/chown.c: Use INTDEF2 to define + __chown_internal. + * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise. + + * intl/dcngettext.c [_LIBC]: Use INTUSE for __dcngettext. + * intl/dngettext.c [_LIBC] (DCNGETTEXT): Use INTUSE. + * intl/ngettext.c: Likewise. + + * include/sys/socket.h: Declare __connect_internal and define + __connect macro if not NOT_IN_libc. + * sysdeps/mach/hurd/connect.c: Use INTDEF for __connect. + * sysdeps/unix/sysv/aix/connect.c: Likewise. + * sysdeps/unix/sysv/linux/connect.S: Add __connect_internal alias. + + * include/unistd.h: Declare __close_internal and define __close macro + if not NOT_IN_libc. + * libio/libioP.h (JUMO0, JUMP1, JUMP2, JUMP3, WJUMP0, WJUMP1, WJUMP2, + WJUMP3): Add extra parenthesis to avoid expanding element names with + macors like __close. + * sysdeps/unix/syscalls.list: Add __close_internal alias. + + * include/unistd.h: Declare __dup2_internal and define __dup2 macro + if not NOT_IN_libc. + * sysdeps/mach/hurd/dup2.c: Use INTDEF for __dup2. + * sysdeps/posix/dup2.c: Use INTDEF for __dup2. + * sysdeps/unix/syscalls.list: Add __dup2_internal alias. + + * include/unistd.h: Declare __fork_internal and define __fork macro + if not NOT_IN_libc. + * sysdeps/mach/hurd/fork.c: Use INTDEF for __fork. + * sysdeps/unix/sysv/aix/fork.c: Likewise. + * sysdeps/unix/sysv/linux/syscalls.list: Add __fork_internal alias. + + * include/stdio_ext.h: Declare __fsetlocking_internal and define + __fsetlocking macro to use it if not NOT_IN_libc. + * libio/__fsetlocking.c: Use INTDEF for __fsetlocking. + + * libio/__fbufsize.c: Correct copyright. + * libio/__flbf.c: Likewise. + * libio/__fpending.c: Likewise. + * libio/__fpurge.c: Likewise. + * libio/__freadable.c: Likewise. + * libio/__freading.c: Likewise. + * libio/__fsetlocking.c: Likewise. + * libio/__fwritable.c: Likewise. + * libio/__fwriting.c: Likewise. + + * include/stdio.h: Declare __asprintf_internal and define __asprintf + macro to use it if not NOT_IN_libc. + * stdio-common/asprintf.c: Use INTDEF for __asprintf. + + * include/mntent.h: Declare __setmntent_internal, + __getmntent_r_internal, __endmntent_internal. Define __setmntent, + __getmntent_r, and __endmntent macros to use these functions if not + NOT_IN_libc. + * misc/mntent_r.c: Use INTDEF for __setmntent, __getmntent_r, and + __endmntent. + + * include/math.h: Declare __finite_internal, __finitef_internal, and + __finitel_internal. Redefine isfinite macro if in libc or libm using + these functions. + * sysdeps/generic/s_ldexp.c: Use INTUSE for __finite calls. + * sysdeps/generic/s_ldexpf.c: Use INTUSE for __finitef calls. + * sysdeps/generic/s_ldexpl.c: Use INTUSE for __finitel calls. + * sysdeps/i386/fpu/s_finite.S: Define _internal alias. + * sysdeps/i386/fpu/s_finitef.S: Likewise. + * sysdeps/i386/fpu/s_finitel.S: Likewise. + * sysdeps/ieee754/dbl-64/s_finite.c: Likewise. + * sysdeps/ieee754/flt-32/s_finitef.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise. + + * include/fcntl.h: Declare __fcntl_internal. Define __fcntl macro + to use this function if not NOT_IN_libc. + * libio/iofdopen.c (_IO_fcntl): Use INTUSE. + * sysdeps/generic/fcntl.c: Use INTDEF for __fcntl. + * sysdeps/mach/hurd/fcntl.c: Likewise. + * sysdeps/unix/sysv/aix/fcntl.c: Likewise. + * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise. + + * include/argz.h: Declare __argz_count_internal and + __argz_stringify_internal. + * intl/l10nflist.c [_LIBC]: Use INTUSE for __argz_count and + __argz_stringify. + * string/argz-count.c: Use INTDEF for __argz_count. + * string/argz-stringify.c: Use INTDEF for __argz_stringify. + + * include/stdlib.h: Declare __cxa_atexit_internal and define + __cxa_atexit macro if not NOT_IN_libc. + * stdlib/cxa_atexit.c: Use INTDEF for __cxa_atexit. + * dlfcn/Makefile: Define NOT_IN_libc when compiling modcxaatexit.c. + + * assert/assert.c: Use INTDEF for __assert_fail. + * assert/__assert.c: Use INTUSE for call to __assert_fail. + * include/assert.h: Declare __assert_fail_internal. + + * extra-lib.mk: Mark assignment to lib with override. + +2002-04-08 Ulrich Drepper + + * Makerules: Use cppflags-iterator.mk to add defines for all test + source files. + +2002-04-08 kaz Kojima + + * elf/elf.h: Define R_SH_TLS_xxx macros. + * elf/rtld.c: Remove an extra parenthesis. + * elf/tls-macros.h: Define SH version TLS_LE, TLS_IE, TLS_LD and + TLS_GD macros. + * sysdeps/generic/dl-tls.c: Add a missing semi-colon. + * sysdeps/sh/dl-lookupcfg.h: New file. + * sysdeps/sh/dl-tls.h: New file. + * sysdeps/sh/dl-machine.h (elf_machine_type_class): Set + ELF_RTYPE_CLASS_PLT also for the three TLS relocations. + (elf_machine_rela): Handle R_SH_TLS_DTPMOD32, R_SH_TLS_DTPOFF32 and + R_SH_TLS_TPOFF32 relocations. + +2002-04-08 Ulrich Drepper + + * cppflags-iterator.mk (cpp-srcs-left): Define NOT_IN_libc instead + of NOT_IN_LIBC. + * include/libintl.h: Test for NOT_IN_libc not NOT_IN_LIBC. + * include/stdlib.h: Likewise. + +2002-04-08 Jakub Jelinek + + * elf/Makefile (CFLAGS-.os): Define NOT_IN_libc and IS_IN_rtld + instead of _RTLD_LOCAL. + * elf/dl-dst.h: Use IS_IN_rtld instead of _RTLD_LOCAL. + * include/unistd.h: Likewise. + * sysdeps/generic/ldsodefs.h: Likewise. + + * stdio-common/_itoa.h (_itoa_word): Only use internal digit arrays + if in libc or ld.so. + +2002-04-08 Andreas Jaeger + + * elf/cache.c (print_entry): Support x86-64. + +2002-04-08 Ulrich Drepper + + * include/stdlib.h: For libc itself replace MB_CUR_MAX definition + with one accessing the locale data structures directly. + * stdio-common/printf-prs.c: Include localeinfo.h for new + MB_CUR_MAX definition. + + * Makeconfig (CPPFLAGS): Also add CPPFLAGS- where + is the name of the source file without extension. + * Makefile (distribute): Add cppflags-iterator.mk. + * cppflags-iterator.mk: New file. + * extra-lib.mk: For the sources of the library run + cppflags-iterator.mk. + + * include/libintl.h: Declare __dcgettext_internal and + _libc_intl_domainname_internal. Define __dcgettext using these + two symbols if used in libc itself. + * argp/argp-help.c: Define dgettext using __dcgettext_internal and + _libc_intl_domainname_internal. + * argp/argp-parse.c: Likewise. + * intl/dcgettext.c (__dcgettext): Use INTDEF to define alias. + * intl/dgettext.c: Call __dcgettext_internal instead of __dcgettext. + * intl/gettext.c: Likewise. + * locale/SYS_libc.c (_libc_intl_domainname): Use INTDEF to define + alias. + * posix/regcomp.c (gettext): Use __dcgettext_internal instead of + __dcgettext. + * posix/regex_internal.c (gettext): Likewise. + +2002-04-08 Andreas Jaeger + + * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Fix rewrite rule. + + * sysdeps/x86_64/fpu/s_llrint.S: New file. + * sysdeps/x86_64/fpu/s_llrintf.S: New file. + * sysdeps/x86_64/fpu/s_llrintl.S: New file. + * sysdeps/x86_64/fpu/s_lrint.S: New file. + * sysdeps/x86_64/fpu/s_lrintf.S: New file. + * sysdeps/x86_64/fpu/s_lrintl.S: New file. + +2002-04-08 Roland McGrath + + * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Use MAP_FAILED instead of + widening __hurd_fail value. + +2002-04-07 Roland McGrath + + * sysdeps/mach/hurd/alpha/trampoline.c: Don't include + . + (_hurd_setup_sighandler): Take proper arguments for current decls. + Update code to use _hurdsig_catch_fault. + Use `callsys' instruction instead of `call_pal'. + * sysdeps/mach/hurd/alpha/intr-msg.h: New file. + + * sysdeps/mach/alpha/sysdep.h: Include . + (ALIGN, at, AT, fp): New macros. + +2002-04-06 Roland McGrath + + * mach/setup-thread.c (__mach_setup_thread): int -> natural_t + + * sysdeps/mach/hurd/dl-sysdep.c: Use ElfW(TYPE) in place of Elf32_TYPE. + (__mmap): Use MAP_FAILED instead of widening __hurd_fail value. + + * sysdeps/mach/hurd/bind.c: Use prototype definition. + * sysdeps/mach/hurd/connect.c: Likewise. + * sysdeps/mach/hurd/getsockopt.c: Likewise. + * sysdeps/mach/hurd/setsockopt.c: Likewise. + + * sysdeps/mach/hurd/alpha/sigreturn.c: Pass missing argument to + __msg_sig_post RPC. + + * hurd/catch-exc.c: Use integer_t instead of int. + * hurd/hurdfault.c: Likewise. + + * sysdeps/mach/hurd/alpha/exc2signal.c + (_hurd_exception2signal): Rewritten. + * sysdeps/mach/hurd/alpha/longjmp-ts.c + (_hurd_longjmp_thread_state): Rewritten. + +2002-04-07 Ulrich Drepper + + * nss/getXXbyYY_r.c: If NSS_attribute_hidden is defined use it with the + DB_LOOKUP_FCT prototype. + * nss/getXXent_r.c: Likewise. + * inet/getaliasent_r.c: Define NSS_attribute_hidden. + * inet/getaliasname_r.c: Likewise. + * inet/getnetbyad_r.c: Likewise. + * inet/getnetbynm_r.c: Likewise. + * inet/getnetent_r.c: Likewise. + * inet/getproto_r.c: Likewise. + * inet/getprtent_r.c: Likewise. + * inet/getprtname_r.c: Likewise. + * inet/getrpcbyname_r.c: Likewise. + * inet/getrpcbynumber_r.c: Likewise. + * inet/getrpcent_r.c: Likewise. + * inet/getservent_r.c: Likewise. + * inet/getsrvbynm_r.c: Likewise. + * inet/getsrvbypt_r.c: Likewise. + * shadow/getspent_r.c: Likewise. + * shadow/getspnam_r.c: Likewise. + + * malloc/thread-m.h: Define __libc_tsd_MALLOC_data as static. + + * sysdeps/i386/elf/bsd-setjmp.S: Use GOTOFF for __sigjmp_save access. + Use i686-friendly PIC code. + * sysdeps/i386/elf/setjmp.S: Likewise. + + * sysdeps/unix/sysv/linux/i386/sysdep.h: Use i686-friendly PIC code. + + * sysdeps/mach/hurd/Versions: Add _dl_init_first to libc and ld export + list. + * elf/Versions: Remove it here. + +2002-04-06 Ulrich Drepper + + * iconvdata/tcvn5712-1.c (MAX_NEEDED_INPUT): Define for from + direction. Reported by H . J . Lu . + +2002-04-05 Ulrich Drepper + + * intl/tst-gettext.sh: Set GCONV_PATH and LOCPATH to values for the + test just before the test runs. + * intl/tst-translit.sh: Likewise. + * intl/tst-codeset.sh: Likewise. + + * timezone/zic.c: Update from tzcode2002c. + * timezone/asia: Update from tzdata2002c. + * timezone/backward: Likewise. + * timezone/europe: Likewise. + * timezone/northamerica: Likewise. + * timezone/northamerica: Likewise. + * timezone/northamerica: Likewise. + * timezone/southamerica: Likewise. + * timezone/zone.tab: Likewise. + +2002-03-23 Jakub Jelinek + + * sysdeps/generic/brk.c (__curbrk): Declare. + * sysdeps/generic/dl-brk.c: Add attribute_hidden to __curbrk. + * sysdeps/generic/dl-sbrk.c: Likewise. + * sysdeps/unix/arm/dl-brk.S: New file. + * sysdeps/unix/bsd/hp/m68k/dl-brk.S: New file. + * sysdeps/unix/bsd/osf/alpha/dl-brk.S: New file. + * sysdeps/unix/bsd/sun/m68k/dl-brk.S: New file. + * sysdeps/unix/bsd/vax/dl-brk.S: New file. + * sysdeps/unix/i386/dl-brk.S: New file. + * sysdeps/unix/mips/dl-brk.S: New file. + * sysdeps/unix/sparc/dl-brk.S: New file. + * sysdeps/unix/sysv/linux/alpha/dl-brk.S: New file. + * sysdeps/unix/sysv/linux/ia64/dl-brk.S: New file. + * sysdeps/unix/sysv/linux/powerpc/dl-brk.S: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/dl-brk.S: New file. + +2002-04-03 Andreas Schwab + + * Makefile (headers): Add gnu/lib-names.h here instead of + install-others. + ($(inst_includedir)/gnu/lib-names.h): Remove explicit + installation rule. + (install-headers): Add dependency on install-headers-nosubdir. + * stdio-common/Makefile (headers): Add bits/stdio_lim.h here + instead of install-others. + ($(inst_includedir)/bits/stdio_lim.h): Remove explicit + installation rule. + +2002-04-05 Ulrich Drepper + + * manual/users.tex (Enable/Disable Setuid): Fix typo in example. + Reported by Sam Roberts . + +2002-04-03 Jakub Jelinek + + * elf/do-rel.h (elf_dynamic_do_rel): Skip relative relocs if + l_addr == 0 and ELF_MACHINE_REL_RELATIVE. + * sysdeps/alpha/dl-machine.h (ELF_MACHINE_REL_RELATIVE): Define. + * sysdeps/ia64/dl-machine.h (ELF_MACHINE_REL_RELATIVE): Define. + +2002-04-03 David Mosberger + + * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Add unwind info. + (RTLD_START): Ditto. + (__ia64_init_bootstrap_fdesc_table): Insert stop bit to avoid RAW + dependency violation. + +2002-04-05 Jakub Jelinek + + * time/mktime.c (__mktime_internal): Move check for year < 70 below + all variable declarations. + +2002-04-04 Andreas Schwab + + * sysdeps/unix/sysv/linux/ia64/pipe.S: Don't overwrite r8 on error. + +2002-04-04 Andreas Jaeger + + * sysdeps/x86_64/fpu/e_sqrt.c: New file. + * sysdeps/x86_64/fpu/e_sqrtf.c: New file. + + * sysdeps/x86_64/fpu/s_fabs.c: New file. + * sysdeps/x86_64/fpu/s_fabsf.c: New file. + * sysdeps/x86_64/fpu/s_fabsl.c: New file. + + * sysdeps/unix/sysv/linux/x86_64/time.S: New file. + + * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: New file. + + * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Removed. + * sysdeps/unix/sysv/linux/x86_64/time.c: Removed. + + * configure.in: Handle all mips entries the same. + + * sysdeps/mips/dec/bits/endian.h: Removed since arch is not supported. + * sysdeps/mips/mips3/*: Likewise. + * sysdeps/mips/p40/bits/endian.h: Likewise. + +2002-04-04 Ulrich Drepper + + * misc/dirname.c (dirname): Ignore trailing slashes at end of + non-null result [PR libc/2600]. + + * misc/tst-dirname.c: Add more tests. + +2002-04-03 Ulrich Drepper + + * locale/programs/charmap.c (charmap_read): If the charmap doesn't + define a code_set_name provide one based on the filename. + + * malloc/hooks.c: Define weak_variable correctly for _LIBC. + +2001-12-28 Andreas Jaeger + + * time/mktime.c (__mktime_internal): Check for year < 70 + [PR libc/2738]. + +2002-04-03 Andreas Jaeger + + * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Fix arguments for + shmat. + Reported by Andi Kleen . + +2002-04-03 Ulrich Drepper + + * sysdeps/generic/w_lgamma.c: Initialized local_signgam. + * sysdeps/generic/w_lgammaf.c: Likewise. + * sysdeps/generic/w_lgammal.c: Likewise [PR libc/2854]. + + * debug/catchsegv.sh (exval): Quote [ in pattern [PR libc/2902]. + Adjust for new output format of the backtrace functions. + + * misc/syslog.c (vsyslog): Only use cleanup handler if + _LIBC_REENTRANT is defined [PR libc/2924]. + + * libio/Makefile (tests): Add bug-ungetwc2. + * libio/bug-ungetwc2.c: New file. + + * manual/install.texi: Typographical and grammatical cleanup. + Patch by Dennis Grace . + + * sunrpc/rpc_svcout.c (write_real_program): Write "result, " + parameter if mtflag. Patch by . + + * sunrpc/rpc_svcout.c (printif): Remove third parameter. It was + always "&". Adjust callers. + Add "_" prefix to several generated definitions. + Patch by paul@serice.net [PR libc/3158]. + +2002-04-02 Ulrich Drepper + + * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: Completely specify + size of _dl_arm_cap_flags. + Patch by enrico.scholz@informatik.tu-chemnitz.de [PR libc/3155]. + + * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT): + Define as 8. + +2002-03-22 H.J. Lu + + * scripts/firstversions.awk: Check the first version. + +2002-04-02 Ulrich Drepper + + * elf/dl-deps.c (_dl_map_object_deps): The sorting of the + dependencies must be stable to work correctly. + Reported by martin.lubich@datacon.at. + + * libio/bug-ungetwc1.c: New file. + * libio/Makefile (tests): Add bug-ungetwc1. + + * libio/fileops.c (_IO_new_file_close_it): Only call _IO_do_flush + if stream was last used for writing. + + * elf/do-lookup.h (do_lookup): 2 is the first user-defined version + number [PR libc/3111]. + + * libio/iofclose.c (_IO_new_fclose): Move freeing of backup buffer + to ... + * libio/fileops.c (_IO_new_file_close_it): ...here [PR libc/3190]. + +2002-04-02 Jakub Jelinek + + * inet/ether_ntoh.c (__nss_ethers_lookup): Add internal_function. + * inet/ether_hton.c (__nss_ethers_lookup): Likewise. + * inet/getnetgrent_r.c (__nss_netgroup_lookup): Likewise. + * sunrpc/netname.c (__nss_publickey_lookup): Likewise. + * sunrpc/publickey.c (__nss_publickey_lookup): Likewise. + +2002-03-30 Jakub Jelinek + + * elf/dynamic-link.h (elf_get_dynamic_info): Don't abort on unknown + dynamic tags. + +2002-03-29 Jakub Jelinek + + * sysdeps/i386/fpu/s_fabs.S: New file. + * sysdeps/i386/fpu/s_fabsf.S: New file. + * sysdeps/i386/fpu/s_fabsl.S: New file. + * sysdeps/sparc/sparc64/fpu/s_fabs.c: New file. + * sysdeps/sparc/sparc64/fpu/s_fabsf.c: New file. + * sysdeps/sparc/sparc64/fpu/s_fabsl.c: New file. + +2002-04-02 Ulrich Drepper + + * rt/tst-shm.c (do_test): Add one more test for size of shared + memory object. + +2002-03-29 Wolfram Gloger + + * malloc/malloc.c: Add short description and prototypes for + malloc_get_state, malloc_set_state and posix_memalign, for + consistency and to avoid warnings with -Wstrict-prototypes. + Reported by Andreas Jaeger . + +2002-04-02 Ulrich Drepper + + * po/gl.po: Update from translation team. + +2002-03-31 Roland McGrath + + * hurd/hurdselect.c (_hurd_select): Fix + MACH_MSG_TYPE_INTEGER_T -> integer_t in sizeof. + Use a union rather than casts to compare mach_msg_type_t as int. + +2002-03-25 Roland McGrath + + * hurd/hurdchdir.c (_hurd_change_directory_port_from_name): Don't + check off the end of NAME when it's shorter than 2 chars. + Reported by Ognyan Kulev . + +2002-03-17 Roland McGrath + + * sysdeps/mach/hurd/i386/sys/io.h: New file. + * sysdeps/mach/hurd/i386/ioperm.c: New file. + * sysdeps/mach/hurd/i386/Dist: Add them. + * sysdeps/mach/hurd/i386/Versions + (libc: GLIBC_2.2.6): New set, add ioperm. + * sysdeps/mach/configure.in: New check to set HAVE_I386_IO_PERM_MODIFY. + (mach_interface_list): Check for mach_i386.defs. + * config.h.in (HAVE_I386_IO_PERM_MODIFY): #undef it. + * sysdeps/mach/configure: Regenerated. + +2002-03-22 Ulrich Drepper + + * po/fr.po: Update from translation team. + +2002-03-21 Martin Schwidefsky + + * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Remove + getpriority from syscalls list. + +2002-03-28 Andreas Jaeger + + * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: New file. + * sysdeps/unix/sysv/linux/x86_64/getcontext.S: New file. + * sysdeps/unix/sysv/linux/x86_64/setcontext.S: New file. + * sysdeps/unix/sysv/linux/x86_64/ucontext_i.h: New file. + +2002-03-27 Andreas Jaeger + + * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (struct + sigcontext): Follow further kernel change. + + * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Follow further + kernel change. + + * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (GET_STACK): + Change for struct sigcontext change. + + * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump): + Follow changes in struct sigcontext. + + * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Remove ptrace + sysycall, use wrapper instead. + +2002-03-26 Andreas Jaeger + + * sysdeps/i386/i486/bits/string.h (__memcpy_by4): Describe memory + read and write accesses as detailed as possible. + (__memcpy_by2): Likewise. + (__memcpy_g): Likewise. + (memmove): Likewise. + (memcmp): Likewise. + (__memset_ccn_by4): Likewise. + (__memset_ccn_by2): Likewise. + (__memset_gcn_by4): Likewise. + (__memset_gcn_by2): Likewise. + (memchr): Likewise. + (__memrchr): Likewise. + (rawmemchr): Likewise. + (__strlen_g): Likewise. + (__strcpy_g): Likewise. + (__mempcpy_by4): Likewise. + (__mempcpy_by2): Likewise. + (__mempcpy_byn): Likewise. + (__stpcpy_g): Likewise. + (__strncpy_by4): Likewise. + (__strncpy_by2): Likewise. + (__strncpy_byn): Likewise. + (__strncpy_gg): Likewise. + (__strcat_c): Likewise. + (__strcat_g): Likewise. + (__strncat_g): Likewise. + (__strcmp_gg): Likewise. + (__strncmp_g): Likewise. + (__strchr_c): Likewise. + (__strchr_g): Likewise. + (__strchrnul_c): Likewise. + (__strchrnul_g): Likewise. + (__strrchr_c): Likewise. + (__strrchr_g): Likewise. + (__strrchr_c): Likewise. + (__strrchr_g): Likewise. + (__strcspn_c1): Likewise. + (__strcspn_cg): Likewise. + (__strcspn_g): Likewise. + (__strcspn_g): Likewise. + (__strspn_c1): Likewise. + (__strspn_cg): Likewise. + (__strspn_g): Likewise. + (__strspn_g): Likewise. + (__strpbrk_cg): Likewise. + (__strpbrk_g): Likewise. + (__strstr_cg): Likewise. + (__strstr_g): Likewise. + + * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Fix typo. Reported by + Michal Ludvig . + + * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Add 32-bit + compatibilty, adjust for kernel changes. + + * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (struct + sigcontext): Adjust for kernel changes. + +2002-03-25 Andreas Jaeger + + * iconv/gconv_simple.c (ucs4le_internal_loop_single): Handle + little endian. + Reported by Artur Zaprzala . + +2002-03-24 Andreas Jaeger + + * manual/memory.texi (Aligned Memory Blocks): Fix typo. + + * stdio-common/tst-fdopen.c (main): Remove unused variable. + + * iconv/tst-iconv3.c (main): Use correct printf strings. + +2002-03-18 Roland McGrath + + * sysdeps/unix/bsd/bsd4.4/bits/socket.h (struct cmsgcred): New type. + (CMGROUP_MAX): New macro. + +2002-03-23 Roland McGrath + + * sysdeps/posix/shm_open.c (SHMDIR): /var/run/shm -> /dev/shm + * sysdeps/posix/shm_unlink.c: Likewise. + +2002-03-22 Roland McGrath + + * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): Make 2.2.6 default. + * sysdeps/mach/hurd/configure.in: Default oldest ABI is 2.2.6 + under --enable-libio. + * sysdeps/mach/hurd/configure: Regenerated. + +2002-03-23 Roland McGrath + + * sysdeps/mach/hurd/i386/Makefile + (sysdep_routines, shared-only-routines): Don't add framestate, + reverting 2001-10-02 change. + * sysdeps/unix/sysv/linux/arm/Makefile: Likewise. + * sysdeps/unix/sysv/linux/alpha/Makefile: Likewise. + * sysdeps/unix/sysv/linux/i386/Makefile: Likewise. + * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise. + * sysdeps/unix/sysv/linux/mips/Makefile: Likewise. + * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise. + * sysdeps/unix/sysv/linux/sparc/Makefile: Likewise. + * sysdeps/generic/Makefile (sysdep_routines, shared-only-routines): + Do it here instead, only if [$(unwind-find-fde) = yes]. + +2002-03-23 Andreas Jaeger + + * signal/signal.h: Fix typo. Patch by Steve Kemp + . + +2002-03-22 Andreas Jaeger + + * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add getresgid and + getresuid. + + * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (struct + _fpstate): Rename fwd to ftw, use _fpxreg and _xmmreg. + * sysdeps/unix/sysv/linux/x86_64/sys/user.h (struct + user_fpregs_struct): Rename fwd. + + * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump): + Follow sigcontext changes. + +2002-03-22 Andreas Jaeger + + * sysdeps/mips/bits/nan.h: New file. Copy from generic one with + changes for NaNs on MIPS. + Patch by Hartvig Ekner . + +2002-03-21 Ulrich Drepper + + * nscd/grpcache.c (addgrbyname): Improve buffer allocate with alloca. + Use realloc if too large. + (addgrbyid): Likewise. + * nscd/hstcache.c (addhstbyname): Likewise. + (addhstbyaddr): Likewise. + (addhstbynamev6): Likewise. + (addhstbyaddrv6): Likewise. + * nscd/pwdcache.c (addpwbyname): Likewise. + (addpwbyuid): Likewise. + +2002-03-21 Andreas Jaeger + + * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (struct + _fpstate): Add separate struct for x86-64. + + * sysdeps/unix/sysv/linux/x86_64/sys/user.h (struct + user_fpregs_struct): Change member names to follow kernel. + +2002-03-20 Ulrich Drepper + + * nis/ypclnt.c (yp_all): Remove the hack introduced on 1998-09-29. + Correctly close the UDP connection right away [PR libc/3120]. + +2002-03-20 Andreas Jaeger + + * sysdeps/unix/sysv/linux/x86_64/sys/user.h (struct + user_fpregs_struct): Fix for changed kernel struct. + (struct user_regs_struct): Likewise. + (struct user): Likewise. + Add 32-bit x86 compatibility. + + * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Add more registers. + +2002-03-19 Andreas Jaeger + + * sysdeps/unix/sysv/linux/x86_64/bits/types.h: Cleanup x86 types. + +2002-03-18 Andreas Jaeger + + * iconvdata/Makefile: Only run tests when shared libs are + available. + +2002-03-17 Andreas Jaeger + + * sysdeps/mips/fpu/fraiseexcpt.c (__feraiseexcept): Set cause bits. + + * sysdeps/mips/fpu/fgetexcptflg.c (__fegetexceptflag): Add comment. + + * sysdeps/mips/fpu/fclrexcpt.c (__feclearexcept): Clear also cause + bits. + + * sysdeps/mips/fpu/fenv_libc.h (CAUSE_MASK): New macro. + (CAUSE_SHIFT): New macro. + Patch by Hartvig Ekner . + + * sysdeps/generic/unwind-dw2-fde-glibc.c: Add prototypes. + * sysdeps/generic/unwind-pe.h: Likewise. + + * libio/iofdopen.c (_IO_new_fdopen): Pass parameter of correct + type to _IO_setb. + + * libio/stdio.c (AL2): Define variant when visibility attribute is + not supported. + + * include/libc-symbols.h (_INTVARDEF): Define variant when + visibility attribute is not supported. + +2002-03-16 Ulrich Drepper + + * po/fr.po: Update from translation team. + +2002-02-25 Bruno Haible + + * MakeTAGS (extract): Use --sort-by-file instead of --sort-output. + +2002-03-15 Ulrich Drepper + + * libio/iofdopen.c (_IO_new_fdopen): Call _IO_setb to deallocate + buffers if _IO_file_attach failed. + + * libio/fileops.c (_IO_file_open): Close file descriptor if + _IO_SEEKOFF call failed. + +2002-03-15 H.J. Lu + Ulrich Drepper + + * configure.in: Check for availability of + init_array/fini_array/preinit_array handling in binutils. + * config.h.in (HAVE_INITFINI_ARRAY): New macro. + * config.make.in (have-initfini-array): New variable. + +2002-03-15 Ulrich Drepper + + * stdio-common/tst-printf.c (main): Comment out one test which + checked the compiler's ability to fold floating-point constants + but not really printf. + (rfg3): Make s const. + * stdio-common/tst-printf.sh: Adjust for removed test. + + * sysdeps/i386/i386-mcount.S: Just call __mcount_internal, it is an + internal function. Adjust for internal_function calling convention. + * sysdeps/i386/machine-gmon.h: Declare and define __mcount_internal + as internal_function. + + * sysdeps/generic/framestate.c: Declare fallback_frame_state_for as + hidden. + + * nss/XXX-lookup.c (DB_LOOKUP_FCT): Add internal_function to + declaration and definition. + * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Add internal_function to + declaration. + * nss/getXXent_r.c: Likewise. + * nss/nsswitch.h (db_lookup_function): Add internal_function to + definition. + + * include/time.h: Declare __localtime_r as hidden. + + * include/aliases.h: Declare __getaliasent_r as hidden. + * include/grp.h: Declare __getgrent_r as hidden. + * include/netdb.h: Declare __gethostent_r, __getnetent_r, + __getservent_r, and __getprotoent_r as hidden. + * include/pwd.h: Declare __getpwent_r as hidden. + * include/shadow.h: Declare __getspent_r as hidden. + * include/rpc/netdb.h: Declare __getrpcent_r as hidden. + + * iconv/gconv_int.h: Declare __gconv_read_conf, __gconv_alias_compare, + and __gconv_transliterate as hidden. + Add internal_function to __gconv_get_path declaration. + * iconv/gconv_conf.c: Add internal_function to __gconv_get_path + definition. Add attribute_hidden to __gconv_read_conf definition. + +2002-03-14 Ulrich Drepper + + * elf/rtld.c: Declare _environ as hidden. + * sysdeps/generic/dl-environ.c: Likewise. + * sysdeps/generic/dl-sysdep.c: Likewise. + + * sysdeps/generic/ldsodefs.h: Declare _dl_debug_state_internal and + _dl_mcount_internal as hidden. + + * elf/Makefile (rtld-routines): Add dl-sbrk and dl-brk. + * sysdeps/generic/dl-brk.c: New file. + * sysdeps/generic/dl-sbrk.c: New file. + * sysdeps/unix/sysv/linux/i386/dl-brk.c: New file. + * sysdeps/unix/sysv/linux/i386/dl-sbrk.c: New file. + + * elf/dl-minimal.c (malloc): Declare _end as hidden. + (__errno_location): New function. Declare errno as hidden. + * elf/rtld.c (_dl_argc): Define as hidden. + (_dl_skip_args): Define as hidden. + (_begin, _end): Declare as hidden. + * sysdeps/generic/dl-sysdep.c (_end): Declare as hidden. + * sysdeps/generic/entry.h (_start): Declare as hidden. + * sysdeps/generic/ldsodefs.h (_dl_argc): Declare as hidden. + * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Declare + _dl_runtime_resolve and _dl_runtime_profile as hidden. + (RTLD_START): Use GOTOFF to access _dl_skip_args and _dl_fini. + +2002-03-14 Roland McGrath + + * Makerules ($(common-objpfx)Versions.v.i): Depend on abi-versions.h. + + * Makeconfig (%.v.i, %.v): New implicit rules. + (preprocess-versions): Variable removed. + ($(common-objpfx)shlib-versions.v.i): New target giving just the + shlib-versions input files as dependencies. + ($(common-objpfx)soversions.i): Depend on that instead of the input + files. Use it as input instead of using a pipeline. + (postclean-generated): Append soversions.i, shlib-versions.v, and + shlib-versions.v.i here. + * Makerules ($(common-objpfx)Versions.def.v.i): New target giving just + the Versions.def input files as dependencies. + ($(common-objpfx)Versions.v.i): Likewise for Versions files. + ($(common-objpfx)Versions.all): Depend on that instead of the input + files. Use it as input instead of using a pipeline. + ($(common-objpfx)sysd-versions): Likewise with Versions.v.i. + (postclean-generated): Append those .v and .v.i files here. + +2002-03-14 Jakub Jelinek + + * locale/broken_cur_max.c (__ctype_get_mb_cur_max): Use nl_langinfo. + * locale/Versions (_nl_current_LC_COLLATE, _nl_current_LC_CTYPE): + Remove. + +2002-03-14 Jakub Jelinek + + * sysdeps/generic/mp_clz_tab.c: New file. + * sysdeps/i386/mp_clz_tab.c: New file. + * sysdeps/hppa/mp_clz_tab.c: New file. + * sysdeps/powerpc/mp_clz_tab.c: New file. + * stdlib/Makefile (aux): Revert last patch. + * math/Makefile (gmp-objs): Likewise. + +2002-03-13 Paul Eggert + + * time/strftime.c: Comment fixes for references to obsolescent + standards, In most cases the simplest fix is to remove the + confusing comments. Cross-referencing all the standards properly + is a bit of a pain, and it should be enough to put that info in + the documentation as I did in my recent time.texi patch. + +2002-03-13 Paul Eggert + + * manual/time.texi (Formatting Calendar Time): + ISO C99 also specifies the E and O modifiers. + %P is a GNU extension, and is not in ISO C99. + Mention that %r is equivalent to %I:%M:%S %p in the POSIX locale. + %T is also in ISO C99. + The RFC 822 example is not valid in arbitrary locales. + Reword the POSIX.2 wording slightly, to make it a bit clearer + that POSIX.2 formats are also supported by later POSIX versions. + If a format was introduced in ISO C99 it is also required by + POSIX.1-2001. + +2002-03-13 Ulrich Drepper + + * sysdeps/gnu/errlist.awk: Define _sys_errlist_internal and + _sys_nerr_internal with INTVARDEF2. + * include/libc-symbols.h (INTVARDEF2): New macro. + * include/stdio.h (_sys_errlist_internal): Declare as hidden. + (_sys_nerr_internal): Library. + + * sysdeps/posix/signal.c (_sigintr): Define as hidden. + * sysdeps/posix/sigintr.c (_sigintr): Declare as hidden. + + * stdio-common/tst-printf.sh: Adjust for last change in tst-printf.c. + +2002-03-13 Wolfram Gloger + + * malloc/malloc.c (sYSMALLOc): Don't change brk if mmap failed. + +2002-03-02 Andreas Schwab + + * stdio-common/vfprintf.c (process_arg): Fix decimal format with + 'h' flag and positional arg. + * stdio-common/tst-printf.c (rfg3): New function to test + positional arguments. + (main): Fix some warnings. + +2002-03-13 Jakub Jelinek + + * elf/dl-minimal.c (_itoa): Use _itoa_lower_digits_internal if SHARED. + * elf/dl-reloc.c (_dl_reloc_bad_type): Likewise. + +2002-03-13 Ulrich Drepper + + * grp/initgroups.c (__nss_group_data): Declare as hidden. + + * include/locale.h (_nl_C_locobj): Declare as hidden. + + * time/asctime.c (_nl_C_LC_TIME): Declare as hidden. + * time/strptime.c (_nl_C_LC_TIME): Likewise. + + * include/netinet/in.h (in6addr_any_internal): Mark as hidden. + + * include/sys/gmon.h: Declare _gmonparam as hidden. + + * locale/lc-ctype.c (__ctype32_wctype): Declare as hidden. + (__ctype32_wctrans): Likewise. + (__ctype32_width): Likewise. + + * sysdeps/unix/sysv/linux/ttyname.c: Comment out definition and + use of __ttyname. + + * posix/regcomp.c (__re_error_msgid): Renamed from re_error_msgid. + Define as hidden. + (__re_error_msgid_idx): Renamed from re_error_msgid_idx. Define as + hidden. Change all users of these variables. + + * posix/regex_internal.h (__re_error_msgid): Renamed from + re_error_msgid. Declare as hidden. + (__re_error_msgid_idx): Renamed from re_error_msgid_idx. Declare as + hidden. + + * stdio-common/reg-printf.c (__printf_arginfo_table): Define as hidden. + (__printf_function_table): Likewise. + * stdio-common/printf-parse.h (__printf_arginfo_table): Declare as + hidden. + (__printf_function_table): Likewise. + + * nscd/nscd_proto.h: Declare __nss_not_use_nscd_passwd, + __nss_not_use_nscd_group, and __nss_not_use_nscd_hosts as hidden. + + * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Define as hidden. + * nss/nsswitch.c: Declare _nss_*_database as hidden. + + * stdlib/wctomb.c (__no_r_state): Declare as hidden. + * stdlib/mbtowc.c (__no_r_state): Define as hidden. + +2002-03-12 Ulrich Drepper + + * ctype/ctype-info.c: Declare _nl_C_LC_CTYPE_class, + _nl_C_LC_CTYPE_class32, _nl_C_LC_CTYPE_toupper, _nl_C_LC_CTYPE_tolower, + _nl_C_LC_CTYPE_class_upper, _nl_C_LC_CTYPE_class_lower, + _nl_C_LC_CTYPE_class_alpha, _nl_C_LC_CTYPE_class_digit, + _nl_C_LC_CTYPE_class_xdigit, _nl_C_LC_CTYPE_class_space, + _nl_C_LC_CTYPE_class_print, _nl_C_LC_CTYPE_class_graph, + _nl_C_LC_CTYPE_class_blank, _nl_C_LC_CTYPE_class_cntrl, + _nl_C_LC_CTYPE_class_punct, _nl_C_LC_CTYPE_class_alnum, + _nl_C_LC_CTYPE_map_toupper, _nl_C_LC_CTYPE_map_tolower, and + _nl_C_LC_CTYPE_width: Declare as hidden. + * include/locale.h: Declare _nl_locale_file_list. + * locale/C-address.c: Define _nl_C_LC_ADDRESS as hidden. + * locale/C-collate.c: Define _nl_C_LC_COLLATE as hidden. + * locale/C-identification.c: Define _nl_C_LC_IDENTIFICATION as hidden. + * locale/C-measurement.c: Define _nl_C_LC_MEASUREMENT as hidden. + * locale/C-messages.c: Define _nl_C_LC_MESSAGES as hidden. + * locale/C-monetary.c: Define _nl_C_LC_MONETARY as hidden. + * locale/C-name.c: Define _nl_C_LC_NAME as hidden. + * locale/C-numeric.c: Define _nl_C_LC_NUMERIC as hidden. + * locale/C-paper.c: Define _nl_C_LC_PAPER as hidden. + * locale/C-telephone.c: Define _nl_C_LC_TELEPHONE as hidden. + * locale/C-time.c: Define _nl_C_LC_TIME as hidden. + * locale/C-ctype.c: Define _nl_C_LC_CTYPE_class, + _nl_C_LC_CTYPE_class32, _nl_C_LC_CTYPE_toupper, _nl_C_LC_CTYPE_tolower, + _nl_C_LC_CTYPE_class_upper, _nl_C_LC_CTYPE_class_lower, + _nl_C_LC_CTYPE_class_alpha, _nl_C_LC_CTYPE_class_digit, + _nl_C_LC_CTYPE_class_xdigit, _nl_C_LC_CTYPE_class_space, + _nl_C_LC_CTYPE_class_print, _nl_C_LC_CTYPE_class_graph, + _nl_C_LC_CTYPE_class_blank, _nl_C_LC_CTYPE_class_cntrl, + _nl_C_LC_CTYPE_class_punct, _nl_C_LC_CTYPE_class_alnum, + _nl_C_LC_CTYPE_map_toupper, _nl_C_LC_CTYPE_map_tolower, + _nl_C_LC_CTYPE_width, and as hidden. + * locale/findlocale.c: Declare _nl_C as hidden. + * locale/newlocale.c: Likewise. + * locale/setlocale.c: Define _nl_C as hidden. Remove declaration of + _nl_locale_file_list. + * locale/xlocale.c: Declare _nl_C_LC_CTYPE_class, + _nl_C_LC_CTYPE_toupper, and _nl_C_LC_CTYPE_tolower as hidden. + Define _nl_C_locobj as hidden. + + * malloc/mtrace.c (_mtrace_file): Define as hidden. + (_mtrace_line): Likewise. + + * include/time.h: Declare __mon_yday as hidden. + * time/strptime.c [_LIBC] (__mon_yday): Remove declaration. + + * libio/libioP.h: Declare __libio_codecvt as hidden. + * libio/fileops.c: Declare __libio_translit as hidden. + * libio/iofwide.c: Define __libio_translit as hidden. + + * login/getutent_r.c: Define __libc_utmp_lock as hidden. + * login/getutid_r.c: Declare __libc_utmp_lock as hidden. + * login/getutline_r.c: Likewise. + * login/utmpname.c: Likewise. + + * login/utmp-private.h: Declare __libc_utmp_file_functions, + __libc_utmp_unknown_functions, __libc_utmp_jump_table, and + __libc_utmp_file_name as hidden. + + * locale/setlocale.c (__libc_setlocale_lock): Define as hidden. + * locale/duplocale.c (__libc_setlocale_lock): Declare as hidden. + * locale/freelocale.c: Likewise. + * locale/lc-time.c: Likewise. + + * sysdeps/unix/bsd/getpt.c (__libc_ptyname1): Define as hidden. + (__libc_ptyname2): Likewise. + * sysdeps/unix/sysv/linux/ptsname.c (__libc_ptyname1): Declare as + hidden. + (__libc_ptyname2): Likewise. + + * sysdeps/generic/sbrk.c: Declare __libc_multiple_libcs as hidden. + * sysdeps/arm/init-first.c (__libc_multiple_libcs): Define as hidden. + * sysdeps/generic/init-first.c: Likewise. + * sysdeps/i386/init-first.c: Likewise. + * sysdeps/mach/hurd/i386/init-first.c: Likewise. + * sysdeps/mach/hurd/mips/init-first.c: Likewise. + * sysdeps/mach/hurd/powerpc/init-first.c: Likewise. + * sysdeps/sh/init-first.c: Likewise. + * sysdeps/unix/sysv/aix/init-first.c: Likewise. + * sysdeps/unix/sysv/linux/init-first.c: Likewise. + + * stdio-common/itowa-digits.c (_itowa_lower_digits): Define as hidden. + (_itowa_upper_digits): Likewise. + + * libio/stdio.c (_IO_stdin, _IO_stdout, _IO_stderr): Define as hidden. + * libio/libio.h [_LIBC] (_IO_stdin, _IO_stdout, _IO_stderr): Declare + as hidden. + + * libio/libioP.h: Declare _IO_file_jumps_mmap, _IO_wfile_jumps, + _IO_wfile_jumps_mmap, _IO_proc_jumps, _IO_old_proc_jumps, + _IO_str_jumps, _IO_wstr_jumps, _IO_file_jumps_internal, + _IO_wfile_jumps_internal, and _IO_list_all_internal as hidden. + + * gmon/gmon.c (__bb_head): Define as hidden. + * gmon/bb_exit_func.c (__bb_head): Declare as hidden. + + * argp/argp-parse.c (_argp_hang): Define as static. + + * include/libc-symbols.h (_INTVARDEF): Adjust for visibility + handling in latest compilers. + + * inet/in6_addr.c (in6addr_any): Use INTVARDEF not INTDEF to + define alias. + * libio/fileops.c (_IO_file_jumps): Likewise. + * libio/stdfiles.c (_IO_list_all): Likewise. + * libio/wfileops.c (_IO_wfile_jumps): Likewise. + + * malloc/malloc.h: Move __libc_malloc_initialized declaration to + include/malloc.h. + * include/malloc.h: Add __libc_malloc_initialized declaration + here. Mark variable hidden. + * malloc/malloc.c: Include not "malloc.h". + + * elf/dl-open.c (__libc_argc): Declare as hidden. + (__libc_argv): Likewise. + * sysdeps/generic/wordexp.c (__libc_argc): Declare as hidden. + (__libc_argv): Likewise. + * sysdeps/mach/hurd/i386/init-first.c: Define __libc_argc and + __libc_argv as hidden. + * sysdeps/mach/hurd/mips/init-first.c: Likewise. + * sysdeps/mach/hurd/powerpc/init-first.c: Likewise. + * sysdeps/unix/sysv/aix/init-first.c: Likewise. + * sysdeps/unix/sysv/linux/init-first.c: Likewise. + + * include/stdlib.h (__libc_drand48_data): Declare as hidden. + * stdlib/drand48.c: Remove declaration of __libc_drand48_data here. + * stdlib/erand48.c: Likewise. + * stdlib/jrand48.c: Likewise. + * stdlib/lcong48.c: Likewise. + * stdlib/lrand48.c: Likewise. + * stdlib/mrand48.c: Likewise. + * stdlib/nrand48.c: Likewise. + * stdlib/seed48.c: Likewise. + * stdlib/srand48.c: Likewise. + + * stdio-common/_itoa.c (_itoa_base_table): Declare as hidden. + (_itoa_lower_digits_internal): New declaration. + (_itoa_upper_digits_internal): New declaration. + (_itoa): Use INTUSE to acces _itoa_upper_digits and _itoa_lower_digits. + * stdio-common.h (_itoa_lower_digits_internal): New declaration. + (_itoa_upper_digits_internal): New declaration. + (_itoa_word): Use INTUSE to acces _itoa_upper_digits and + _itoa_lower_digits. + * stdio-common/itoa-digits.c: Use INTVARDEF with _itoa_lower_digits. + * stdio-common/itoa-udigits.c: Use INTVARDEF with _itoa_upper_digits. + + * elf/dl-minimal.c (_itoa): Declare _itoa_lower_digits as hidden. + * elf/dl-reloc.c (_dl_reloc_bad_type): Likewise. + + * stdio-common/_itowa.c (_itoa_base_table): Declare as hidden. + (_itowa_lower_digits): Likewise. + (_itowa_upper_digits): Likewise. + * stdio-common/_itowa.h (_itowa_lower_digits): Likewise. + (_itowa_upper_digits): Likewise. + + * intl/plural-exp.h (attribute_hidden): Define as empty macro if + not already defined. + (GERMANIC_PLURAL): Declare as hidden. + + * posix/getopt.c (__getopt_initialized): Declare as hidden. + (attribute_hidden): Define as empty macro if not already defined. + + * iconv/gconv_int.h (__gconv_path_elem): Declare hidden. + (__gconv_max_path_elem_len): Likewise. + (__gconv_path_envvar): Likewise. + + * math/Makefile (gmp-objs): Remove mp_clz_tab. + * stdlib/Makefile (aux): Remove mp_clz_tab. + * stdlib/mp_clz_tab.c: Removed. Not needed anywhere. + + * stdlib/exit.h (__exit_funcs): Declare as hidden. + + * posix/bug-regex5.c (main): Use nl_langinfo instead of _NL_CURRENT. + + * locale/localeinfo.h: Add attribute_hidden to _nl_current_LC_XXX, + _nl_category_names, _nl_category_name_sizes, _nl_current, + _nl_C_name, _nl_POSIX_name, _nl_C_codeset, and _nl_C_LC_XXX. + + * intl/dcigettext.c (_nl_default_default_domain): Define as hidden. + (_nl_current_default_domain): Likewise + (_nl_state_lock): Likewise. + * intl/textdomain.c (_nl_default_default_domain): Declare as hidden. + (_nl_current_default_domain): Likewise + (_nl_state_lock): Likewise. + * intl/bindtextdom.c (_nl_state_lock): Likewise. + + * stdlib/fpioconst.h (__tens): Add attribute_hidden. + (_fpioconst_pow10): Likewise. + + * include/time.h (_tmbuf): Add attribute_hidden. + + * time/tzset.c (tzstring_list): Define as static. + + * include/time.h: Add attribute_hidden to __tzname_cur_max and + __use_tzfile declaration. + + * wcsmbs/wcsmbsload.h: Add attribute_hidden to __wcsmbs_gconv_fcts + and __wcsmbs_last_locale declaration. + +2002-02-25 Paul Eggert + + * timezone/Makefile (tzbases): Move systemv from here... + (tzlinks): to here, since the entries in systemv were all changed + from Zone to Link lines in tz-2001a. Bug reported (and patch + tested) by Peter Breitenlohner. + +2002-03-07 Jakub Jelinek + + * time/tst-posixtz.c (tests): Add new tests. + (main): Test whether tzset() sets daylight properly. + +2002-03-06 Jakub Jelinek + + * time/tzset.c (tz_compute): Move __daylight, __tzname and + __tzname_cur_max setting... + (tzset_internal): ...here. + +2002-03-06 Jakub Jelinek + + * time/tzset.c (compute_change): Don't return any value. + (tz_compute): Likewise. Don't handle southern hemisphere here. + (__tz_convert): But here. + +2002-03-11 Ulrich Drepper + + * manual/examples/mkfsock.c: Include as well. + Patch by Alain De Carolis . + +2002-03-06 Isamu Hasegawa + + * posix/regexec.c (re_match): Fix incorrect register sizes. + (re_search): Likewise. + +2002-03-05 Isamu Hasegawa + + * posix/regcomp.c (regfree): Remove a disused condition. + * posix/regex_internal.c (re_acquire_state): Likewise. + (re_acquire_state_context): Likewise. + (register_state): Remove a redundant malloc invocation. + * posix/regex_internal.h: (re_state_table_entry): Simplify + the structure. + +2002-03-05 Isamu Hasegawa + + * posix/regcomp.c (regcomp): Add __builtin_expect to error + handling conditions. + (regerror): Likewise. + (regfree): Likewise. + (re_compile_internal): Likewise. + (init_dfa): Likewise. + (init_word_char): Likewise. + (create_initial_state): Likewise. + (analyze): Likewise. + (analyze_tree): Likewise. + (duplicate_node): Likewise. + (calc_eclosure): Likewise. + (calc_eclosure_iter): Likewise. + (parse): Likewise. + (parse_reg_exp): Likewise. + (parse_branch): Likewise. + (parse_expression): Likewise. + (parse_subexp): Likewise. + (parse_dup_op): Likewise. + (parse_bracket_exp): Likewise. + (build_equiv_class): Likewise. + (build_charclass): Likewise. + (build_word_op): Likewise. + (fetch_number): Likewise. + (create_tree): Likewise. + (duplicate_tree): Likewise. + * posix/regex.c (BE): New macro. + * posix/regexec.c (re_match): Add __builtin_expect to error + handling conditions. + (re_match_2): Likewise. + (re_search): Likewise. + (re_search_internal): Likewise. + (check_matching): Likewise. + (proceed_next_node): Likewise. + (set_regs): Likewise. + (sift_states_backward): Likewise. + (add_epsilon_backreference): Likewise. + (transit_state): Likewise. + (transit_state_sb): Likewise. + (transit_state_mb): Likewise. + (transit_state_bkref): Likewise. + (transit_state_bkref_loop): Likewise. + (build_trtable): Likewise. + (group_nodes_into_DFAstates): Likewise. + (match_ctx_init): Likewise. + (match_ctx_add_entry): Likewise. + * posix/regex_internal.c (re_string_construct): Add __builtin_expect + to error handling conditions. + (re_string_construct_toupper): Likewise. + (build_wcs_buffer): Likewise. + (build_wcs_upper_buffer): Likewise. + (build_upper_buffer): Likewise. + (re_string_translate_buffer): Likewise. + (re_node_set_alloc): Likewise. + (re_node_set_init_1): Likewise. + (re_node_set_init_2): Likewise. + (re_node_set_init_copy): Likewise. + (re_node_set_intersect): Likewise. + (re_node_set_init_union): Likewise. + (re_node_set_merge): Likewise. + (re_node_set_insert): Likewise. + (re_dfa_add_node): Likewise. + (re_acquire_state): Likewise. + (re_acquire_state_context): Likewise. + (create_new_state_common): Likewise. + (register_state): Likewise. + (create_ci_new_state): Likewise. + (create_cd_new_state): Likewise. + (re_string_context_at): Remove redundant condition. + +2002-01-16 Roger Sayle + + * sysdeps/i386/i686/strcmp.S: Avoid unconditional jump to a ret. + + * sysdeps/i386/i586/strlen.S: Fix typo in comment. + +2002-03-11 Jakub Jelinek + + * sysdeps/i386/elf/configure.in: Fix comment. + + * sysdeps/sparc/sparc64/configure.in: New file. + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address): Fix + if .dynamic comes before .got. + * config.h.in (SPARC64_DYNAMIC_BEFORE_GOT): Add. + + * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF, + HP_TIMING_ACCUM): Fix typos. + +2002-03-11 Ulrich Drepper + + * string/strfry.c: Add some more randomness to the seed. + Patch by James A Morrison . + + * po/es.po: Update from translation team. + * po/fr.po: Likewise. + + * stdio-common/tfformat.c (sprint_doubles): A test for %F format. + + * stdio-common/printf_fp.c (__printf_fp): Correct check for %F format + when determining type of format. + Patch by James Antill [PR libc/2787]. + +2002-03-04 Jakub Jelinek + + * sysdeps/unix/bsd/ftime.c (ftime): Don't return 1000 in millitm. + +2002-03-11 Roland McGrath + + * hurd/hurd/threadvar.h: Include for __THROW macro. + + * Versions.def (libc): Add GLIBC_2.2.6. + * hurd/Versions (libc: GLIBC_2.2.6): Add __errno_location. + * sysdeps/mach/hurd/errnos.awk: In generated macro, use + __errno_location instead of __hurd_errno_location, and don't inline it. + * sysdeps/mach/hurd/bits/errno.h: Regenerated. + * hurd/errno.c: New file. + * hurd/Makefile (routines): Add errno. + +2002-03-11 Ulrich Drepper + + * stdio-common/vfprintf.c (vfprintf): Avoid crashing for + ridiculously large widths and precisions [PR libc/3026]. + +2002-03-11 Andreas Jaeger + + * sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed: Fix for bi-arch + support. + Patch by Susanne Oberhauser . + +2002-03-11 Ulrich Drepper + + * inet/rexec.c (ahostbuf): Define as static. + + * wctype/wcfuncs.c (__ctype32_wctype): Declare as hidden. + (__ctype32_wctrans): Likewise. + * wcsmbs/wcwidth.h (__ctype32_width): Declare as hidden. + * ctype/ctype-info.c (__ctype32_wctype): Add attribute_hidden. + (__ctype32_wctrans): Likewise. + (__ctype32_width): Likewise. + + * gmon/Makefile (elide-routines.os): Add bb_init_func and bb_exit_func. + They were never exported anyway. + + * gmon/gmon.c (_gmonparam): Add attribute_hidden. + * gmon/sys/gmon.h: Remove declaration of _gmonparam. It wasn't + exported. + * include/sys/gmon.h: Declare _gmonparam. + + * sysdeps/unix/sysv/linux/i386/getdents64.c: Don't define compatibility + symbols for getdents64. They were never exported. + +2002-03-09 Roland McGrath + + * hurd/hurdsig.c (write_corefile): Fix swapped arguments to __dir_link. + Reported by Jon Arney . + +2002-02-23 Roland McGrath + + * hurd/hurd/threadvar.h (__hurd_threadvar_location): Add __THROW to + declaration. + (__hurd_errno_location): Function removed. + +2002-03-06 Andreas Jaeger + + * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Add compatibility for + 32-bit. + +2002-03-04 Andreas Jaeger + + * sysdeps/unix/sysv/linux/x86_64/readelflib.c: New file. + + * sysdeps/unix/sysv/linux/kernel-features.h: Add defines for + x86-64. + + * sysdeps/unix/sysv/linux/x86_64/bits/socket.h: New file. + + * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: New file. + + * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: New file. + + * sysdeps/x86_64/bits/setjmp.h: New file. + + * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: New file. + + * sysdeps/unix/sysv/linux/x86_64/bits/resource.h: New file. + + * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Add compatibilty + for x86. + * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/types.h: Likewise. + +2002-02-28 Bo Thorsen + + * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Merge with i386 + version. + +2002-03-03 Andreas Jaeger + + * sysdeps/x86_64/bits/wordsize.h: New file. + + * elf/nodlopenmod2.c: Provide prototype to avoid warning. + * elf/tst-tlsmod1.c: Likewise. + + * posix/regcomp.c: Get regex.h from include dir for internal + prototypes. + + * sysdeps/unix/sysv/linux/init-first.c: Move __init_misc prototype + to libc-internal.h and include it. + * include/libc-internal.h: Add __init_misc. + + * misc/init-misc.c: Include libc-internal.h for prototypes. + + * sysdeps/wordsize-32/divdi3.c: Add prototypes to avoid warnings. + + * misc/error.c [_LIBC]: Include libioP.h for prototype of + _IO_putc_internal. + +2002-03-03 Ulrich Drepper + + * posix/regcomp.c: Compatibility changes to allow using the code + outside glibc. + +2002-02-28 Hartvig Ekner + + * sysdeps/mips/elf/start.S: Added initialization of GP (to _gp) if + compiled non-PIC. + +2002-03-02 Ulrich Drepper + + * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix creation + of .str elements in the returned data structure. + + * elf/elf.h: Add Alpha TLS bits. + +2002-02-28 Jakub Jelinek + + * sysdeps/unix/sysv/linux/nice.c: New file. + +2002-03-01 Ulrich Drepper + + * elf/Makefile (dl-routines): Add dl-origin. + (elide-routines.os): Add dl-origin. + * elf/Versions [ld] (GLIBC_PRIVATE): Add _dl_get_origin. + * elf/dl-debug.c (_dl_debug_initialize): Add missing INTUSE around + _dl_debug_state. + * include/libc-symbols.c: Define attribute_hidden depending on + HAVE_VISIBILITY_ATTRIBUTE. Add definition of INTVARDEF. + + * elf/dl-deps.c: Use INTUSE with __libc_enable_secure. + * elf/dl-load.c: Likewise. + * elf/rtld.c: Likewise. + * include/unistd.h: Declare __libc_enable_secure_internal. + * sysdeps/generic/dl-sysdep.c: Use INTVARDEF with __libc_enable_secure. + Use INTUSE with __libc_enable_secure. + * sysdeps/mach/hurd/dl-sysdep.c: Likewise. + + * elf/dl-deps.c: Use INTUSE with _dl_out_of_memory. + * elf/dl-error.c: Likewise, + * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory_internal. + + * elf/dl-dst.h [_RTLD_GLOBAL]: Define _dl_get_origin to use INTUSE. + * sysdeps/generic/dl-origin.c: Undefine _dl_get_origin macro before + function definition. Use INTDEF with _dl_get_origin. + * sysdeps/unix/sysv/linux/dl-origin.c: Likewise. + + * elf/dl-init.c: Use INTUSE with _dl_starting_up. + * elf/rtld.c: Likewise. Use INTVARDEF for _dl_starting_up. + + * elf/dl-profile.c: Use INTDEF for _dl_mcount. + * elf/dl-runtime.c: Use INTUSE with _dl_mcount. + * sysdeps/generic/ldsodefs.h: Declare _dl_mcount_internal. + + * elf/dl-conflict.c: Use rtld_progrname instead of _dl_argv[0]. + * elf/dl-deps.c: Likewise. + * elf/dl-error.c: Likewise. + * elf/dl-fini.c: Likewise. + * elf/dl-init.c: Likewise. + * elf/dl-load.c: Likewise. + * elf/dl-lookup.c: Likewise. + * elf/dl-reloc.c: Likewise. + * elf/dl-version.c: Likewise. + * elf/do-lookup.h: Likewise. + * sysdeps/arm/dl-machine.h: Likewise. + * sysdeps/cris/dl-machine.h: Likewise. + * sysdeps/hppa/dl-machine.h: Likewise. + * sysdeps/i386/dl-machine.h: Likewise. + * sysdeps/m68k/dl-machine.h: Likewise. + * sysdeps/powerpc/dl-machine.h: Likewise. + * sysdeps/s390/s390-32/dl-machine.h: Likewise. + * sysdeps/s390/s390-64/dl-machine.h: Likewise. + * sysdeps/sh/dl-machine.h: Likewise. + * sysdeps/sparc/sparc-32/dl-machine.h: Likewise. + * sysdeps/sparc/sparc-64/dl-machine.h: Likewise. + * sysdeps/x86_64/dl-machine.h: Likewise. + * elf/rtld.c: Use INTDEF for _dl_argv. Use rtld_progrname instead of + _dl_argv[0]. Use INTUSE with _dl_argv. + * sysdeps/generic/dl-sysdep.c: Use INTUSE with _dl_argv. + * sysdeps/generic/ldsodefs.h: Define rtld_progname macro. + +2002-02-28 Jakub Jelinek + + * elf/rtld.c (_rtld_global): Remove .protected. + (_rtld_local): Strong alias to _rtld_global. + * elf/Makefile (CFLAGS-.os): Add -D_RTLD_LOCAL if compiling rtld + only .os object. + * sysdeps/generic/ldsodefs.h (GL): If SHARED and _RTLD_LOCAL, use + _rtld_local instead of _rtld_global. + (_rtld_local): Add hidden extern, possibly in .sdata section. + * configure.in: Add tests for visibility attribute and .sdata. + * config.h.in: Add HAVE_VISIBILITY_ATTRIBUTE and HAVE_SDATA_SECTION. + * sysdeps/alpha/dl-machine.h: Use _rtld_local instead of _rtld_global. + * sysdeps/arm/dl-machine.h: Likewise. + * sysdeps/generic/ldsodefs.h: Likewise. + * sysdeps/hppa/dl-machine.h: Likewise. + * sysdeps/cris/dl-machine.h: Likewise. + * sysdeps/i386/dl-machine.h: Likewise. + * sysdeps/ia64/dl-machine.h: Likewise. + * sysdeps/m68k/dl-machine.h: Likewise. + * sysdeps/mips/mips64/dl-machine.h: Likewise. + * sysdeps/mips/dl-machine.h: Likewise. + * sysdeps/sparc/sparc32/dl-machine.h: Likewise. + * sysdeps/sparc/sparc64/dl-machine.h: Likewise. + * sysdeps/sh/dl-machine.h: Likewise. + * sysdeps/s390/s390-32/dl-machine.h: Likewise. + * sysdeps/s390/s390-64/dl-machine.h: Likewise. + * sysdeps/x86_64/dl-machine.h: Likewise. + +2002-02-28 Ulrich Drepper + + * login/login.c (login): Always initialize ut_line field + [PR libc/2991]. + +2002-02-28 Jakub Jelinek + + * sysdeps/i386/Makefile (sysdep_routines): Add + divdi3 in csu dir. + (shared-only-routines): Likewise. + * sysdeps/m68k/Makefile (sysdep_routines): Likewise. + (shared-only-routines): Likewise. + * sysdeps/s390/s390-32/Makefile (sysdep_routines): Likewise. + (shared-only-routines): Likewise. + * sysdeps/wordsize-32/divdi3.c: New file. + +2002-02-28 Ulrich Drepper + + * locale/iso-4217.def: Remove obsolete currencies for countries + with Euro. + +2002-02-28 Isamu Hasegawa + + * posix/regcomp.c (regcomp): Remove a redundant condition. + (init_word_char): Add a check on malloc failure. + (create_initial_state): Likewise. + (duplicate_node): Likewise. + (calc_eclosure): Likewise. + (calc_eclosure_iter): Likewise. + (parse_expression): Likewise. + (parse_bracket_exp): Remove unnecessary malloc invocations. + (build_equiv_class): Likewise. + (build_charclass): Likewise. + * posix/regex_internal.c (re_node_set_intersect): Add a check + on malloc failure. + (re_node_set_add_intersect): Likewise. + (re_node_set_merge): Likewise. + (re_acquire_state): Likewise. + (re_acquire_state_context): Likewise. + (create_newstate_common): Likewise. + (register_state): Likewise. + (create_ci_newstate): Likewise. + (create_cd_newstate): Likewise. + * posix/regex_internal.h: Fix prototypes of re_acquire_state + and re_acquire_state_context. + * posix/regexec.c (regexec): Suit it to the error handling of + re_search_internal. + (re_match): Likewise. + (re_search): Likewise. + (re_search_internal): Add a check on malloc failure. + (acquire_init_state_context): Likewise. + (check_matching): Likewise. + (proceed_next_node): Likewise. + (set_regs): Likewise. + (sift_states_backward): Likewise. + (sift_states_iter_bkref): Likewise. + (add_epsilon_backreference): Likewise. + (transit_state): Likewise. + (transit_state_sb): Likewise. + (transit_state_mb): Likewise. + (transit_state_bkref_loop): Likewise. + (build_trtable): Likewise. + (group_nodes_into_DFAstates): Likewise. + (match_ctx_init): Likewise. + (match_ctx_add_entry): Likewise. + +2002-02-27 Ulrich Drepper + + * elf/dl-load.c (_dl_map_object_from_fd): Always add SONAME to + l_libname if profiling is enabled [PR libc/2916]. + + * sysdeps/ia64/dl-tls.h: New file. + +2002-02-27 Jakub Jelinek + + * sysdeps/alpha/dl-machine.h (elf_machine_load_address, RTLD_START): + Work around an Alpha gas bug. + +2002-02-27 Ulrich Drepper + + * catgets/open_catalog.c (__open_catalog): Fix typo in code which + uses read to load the catalog. + Patch by Andy Isaacson [PR libc/3011]. + +2002-02-26 Ulrich Drepper + + * posix/Makefile (distribute): Add regcomp.c, regexec.c, + regex_internal.c, and regex_internal.h. + (CFLAGS-regex.c): Replace -DMBS_SUPPORT with -DRE_ENABLE_I18N. + * posix/regex.c: Complete rewrite. + * posix/regexec.c: New file. + * posix/regcomp.c: New file. + * posix/regex_internal.c: New file. + * posix/regex_internal.h: New file. + * posix/regex.h (RE_ICASE): New macro. + Contributed by Isamu Hasegawa . + + * stdio-common/vfscanf.c (_IO_vfwscanf): Always use ungetc, never + ungetwc. It's a macro. + * libio/tst-swscanf.c (do_test): Adjust for now fixed wscanf + implementation. + Reported by Jason Merrill . + +2002-02-25 Jakub Jelinek + + * libio/iofopen.c (__fopen_maybe_mmap): Set the initial + position to fp->_offset if it is set. + * stdio-common/Makefile (tests): Add tst-fdopen. + * stdio-common/tst-fdopen.c: New test. + +2002-02-25 Jakub Jelinek + + * libio/fileops.c (_IO_file_xsgetn_mmap): Handle reading from backup. + * stdio-common/tst-ungetc.c (main): Add another test. + +2002-02-25 Ulrich Drepper + + * assert/assert-perr.c: Use INTUSE to reference functions and variables + inside libc itself. Use INTDEF and INTDEF2 to define appropriate + aliases. Add prototypes for the new aliases. + * assert/assert.c: Likewise. + * include/libc-symbols.h: Likewise. + * include/stdio.h: Likewise. + * include/netinet/in.h: Likewise. + * include/rpc/auth.h: Likewise. + * include/rpc/auth_unix.h: Likewise. + * include/rpc/key_prot.h: Likewise. + * include/rpc/pmap_prot.h: Likewise. + * include/rpc/pmap_rmt.h: Likewise. + * include/rpc/rpc_msg.h: Likewise. + * include/rpc/xdr.h: Likewise. + * inet/gethstbyad_r.c: Likewise. + * inet/gethstbynm2_r.c: Likewise. + * inet/gethstbynm_r.c: Likewise. + * inet/gethstent_r.c: Likewise. + * inet/in6_addr.c: Likewise. + * libio/__fpurge.c: Likewise. + * libio/filedoalloc.c: Likewise. + * libio/fileops.c: Likewise. + * libio/ftello.c: Likewise. + * libio/ftello64.c: Likewise. + * libio/genops.c: Likewise. + * libio/iofclose.c: Likewise. + * libio/iofdopen.c: Likewise. + * libio/iofflush.c: Likewise. + * libio/iofflush_u.c: Likewise. + * libio/iofgetpos.c: Likewise. + * libio/iofgetpos64.c: Likewise. + * libio/iofgets.c: Likewise. + * libio/iofgets_u.c: Likewise. + * libio/iofopen.c: Likewise. * libio/iofopncook.c: Likewise. + * libio/iofputs.c: Likewise. + * libio/iofread.c: Likewise. + * libio/iofread_u.c: Likewise. + * libio/iofsetpos.c: Likewise. + * libio/iofsetpos64.c: Likewise. + * libio/ioftell.c: Likewise. + * libio/iofwrite.c: Likewise. + * libio/iogetline.c: Likewise. + * libio/iogets.c: Likewise. + * libio/iogetwline.c: Likewise. + * libio/iolibio.h: Likewise. + * libio/iopadn.c: Likewise. + * libio/iopopen.c: Likewise. + * libio/ioseekoff.c: Likewise. + * libio/ioseekpos.c: Likewise. + * libio/iosetbuffer.c: Likewise. + * libio/iosetvbuf.c: Likewise. + * libio/ioungetc.c: Likewise. + * libio/ioungetwc.c: Likewise. + * libio/iovdprintf.c: Likewise. + * libio/iovsprintf.c: Likewise. + * libio/iovsscanf.c: Likewise. + * libio/libioP.h: Likewise. + * libio/memstream.c: Likewise. + * libio/obprintf.c: Likewise. * libio/oldfileops.c: Likewise. * libio/oldiofclose.c: Likewise. * libio/oldiofdopen.c: Likewise. @@ -1260,342 +9422,921 @@ * libio/oldiofsetpos.c: Likewise. * libio/oldiofsetpos64.c: Likewise. * libio/oldiopopen.c: Likewise. - * libio/oldpclose.c: Likewise. - * libio/oldtmpfile.c: Likewise. - * nptl/forward.c: Likewise. + * libio/oldstdfiles.c: Likewise. + * libio/putc.c: Likewise. + * libio/setbuf.c: Likewise. + * libio/setlinebuf.c: Likewise. + * libio/stdfiles.c: Likewise. + * libio/stdio.c: Likewise. + * libio/strops.c: Likewise. + * libio/vasprintf.c: Likewise. + * libio/vscanf.c: Likewise. + * libio/vsnprintf.c: Likewise. + * libio/vswprintf.c: Likewise. + * libio/wfiledoalloc.c: Likewise. + * libio/wfileops.c: Likewise. + * libio/wgenops.c: Likewise. + * libio/wstrops.c: Likewise. + * malloc/mtrace.c: Likewise. + * misc/error.c: Likewise. + * misc/syslog.c: Likewise. * nss/getXXbyYY_r.c: Likewise. * nss/getXXent_r.c: Likewise. - * posix/tst-vfork1.c: Likewise. - * stdlib/canonicalize.c: Likewise. - * stdlib/old_atexit.c: Likewise. - * sysdeps/generic/glob.c: Likewise. - * sysdeps/posix/posix_fallocate64.c: Likewise. - * sysdeps/unix/sysv/linux/i386/alphasort64.c: Likewise. - * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. - * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise. - * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise. - * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise. - * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise. - * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise. - * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise. - * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise. - * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise. - * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise. - * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise. - * posix/regexec.c: Likewise. + * nss/hosts-lookup.c: Likewise. + * stdio-common/getw.c + * stdio-common/printf-prs.c: Likewise. + * stdio-common/printf_fp.c: Likewise. + * stdio-common/printf_size.c: Likewise. + * stdio-common/putw.c: Likewise. + * stdio-common/scanf.c: Likewise. + * stdio-common/sprintf.c: Likewise. + * stdio-common/tmpfile64.c: Likewise. + * stdio-common/vfprintf.c: Likewise. + * stdio-common/vfscanf.c: Likewise. + * stdlib/strfmon.c: Likewise. + * sunrpc/auth_des.c: Likewise. + * sunrpc/auth_none.c: Likewise. + * sunrpc/auth_unix.c: Likewise. + * sunrpc/authdes_prot.c: Likewise. + * sunrpc/authuxprot.c: Likewise. + * sunrpc/clnt_perr.c: Likewise. + * sunrpc/clnt_raw.c: Likewise. + * sunrpc/clnt_tcp.c: Likewise. + * sunrpc/clnt_udp.c: Likewise. + * sunrpc/clnt_unix.c: Likewise. + * sunrpc/key_call.c: Likewise. + * sunrpc/key_prot.c: Likewise. + * sunrpc/openchild.c: Likewise. + * sunrpc/pm_getmaps.c: Likewise. + * sunrpc/pm_getport.c: Likewise. + * sunrpc/pmap_clnt.c: Likewise. + * sunrpc/pmap_prot.c: Likewise. + * sunrpc/pmap_prot2.c: Likewise. + * sunrpc/pmap_rmt.c: Likewise. + * sunrpc/rpc_cmsg.c: Likewise. + * sunrpc/rpc_prot.c: Likewise. + * sunrpc/svc_authux.c: Likewise. + * sunrpc/svc_raw.c: Likewise. + * sunrpc/svc_simple.c: Likewise. + * sunrpc/svc_tcp.c: Likewise. + * sunrpc/svc_udp.c: Likewise. + * sunrpc/svc_unix.c: Likewise. + * sunrpc/xdr.c: Likewise. + * sunrpc/xdr_array.c: Likewise. + * sunrpc/xdr_mem.c: Likewise. + * sunrpc/xdr_rec.c: Likewise. + * sunrpc/xdr_ref.c: Likewise. + * sunrpc/xdr_stdio.c: Likewise. + * sysdeps/generic/_strerror.c: Likewise. + * sysdeps/generic/printf_fphex.c: Likewise. + * sysdeps/generic/tmpfile.c: Likewise. + * sysdeps/gnu/errlist.awk: Likewise. + * sysdeps/gnu/errlist.c: Likewise. - * sysdeps/unix/sysv/linux/i386/syscalls.list: vm86@@GLIBC_2.3.4 - should be the default symbol. Having none misses the point. + * libio/Makefile (routines): Remove iosprint. + * libio/iosprintf.c: Removed -2004-03-09 Ulrich Drepper - * stdlib/qsort.c (_quicksort): Initialize first stack element [BZ #16]. +2002-02-24 Ulrich Drepper -2004-03-05 Jakub Jelinek + * elf/dl-support.c (_dl_non_dynamic_init): Renamed from + non_dynamic_init and exported now. + * sysdeps/unix/sysv/linux/ldsodefs.h: Declare _dl_non_dynamic_init. + * sysdeps/unix/sysv/linux/init-first.c: Call _dl_non_dynamic_init for + !SHARED. + * sysdeps/mach/hurd/i386/init-first.c: Likewise. + * sysdeps/mach/hurd/powerpc/init-first.c: Likewise. + * sysdeps/mach/hurd/mips/init-first.c: Likewise. - * posix/regexec.c (regexec): Return with error on unknown eflags. - Replace weak_alias with versioned_symbol. - (__compat_regexec): New. - * posix/Versions (libc): Add regexec@GLIBC_2.3.4. +2002-02-23 Ulrich Drepper -2004-03-09 Richard Henderson + * elf/dl-close.c (free_slotinfo): Check for end of list and return + true in this case. - * math/math.h (isgreater, isgreaterequal, isless, islessequal, - islessgreater, isunordered): Use builtins if available. - * sysdeps/i386/fpu/bits/mathinline.h: Don't define via builtins. - * sysdeps/m68k/fpu/bits/mathinline.h: Likewise. - * sysdeps/powerpc/fpu/bits/mathinline.h: Likewise. - * sysdeps/sparc/fpu/bits/mathinline.h: Likewise. - * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise. - * sysdeps/alpha/fpu/bits/mathinline.h (isgreater, isgreaterequal, - isless, islessequal, islessgreater): Remove; use default. - (isunordered): Convert inputs to double. + * locale/iso-639.def: Add language codes for Walloon. -2004-02-09 Jakub Jelinek + * elf/dl-fini.c (_dl_fini): Print some final statistics on the + total number of relocations performed. - * posix/Makefile (tests): Add tst-vfork2. - * posix/tst-vfork1.c (do_test): Fix comment. - * posix/tst-vfork2.c: New test. + * elf/sprof.c (load_profdata): If do_test provide information as + to why loading failed. + * elf/dl-profile.c (_dl_start_profile): Initialize all of + hist_hdr.dimen. -2004-03-09 Ulrich Drepper + * csu/set-init.c: Moved to... + * sysdeps/mach/hurd/set-init.c: ...here. New file. + * csu/Makefile: Don't compile set-init. + * sysdeps/mach/hurd/Makefile: Compile set-init for subdir csu. + * sysdeps/mach/hurd/i386/init-first.c: Call __init_misc in addition + to __libc_init. + * sysdeps/mach/hurd/mips/init-first.c: Likewise. + * sysdeps/mach/hurd/powerpc/init-first.c: Likewise. + * sysdeps/unix/sysv/linux/init-first.c: Call __init_misc instead of + __libc_init. + * misc/init-misc.c: Always export __init_misc. Don't define hooks for + __libc_subinit. - * elf/dl-lookup.c (_dl_lookup_symbol_x): Fix possible NULL pointer - derefernce in error message. Pretty printing. +2002-02-22 Ulrich Drepper - * po/nl.po: Update from translation team. + * elf/Versions: Add _dl_allocate_tls and _dl_deallocate_tls. + * elf/rtld.c (dl_main): Use _dl_allocate_tls with INTUSE. + * sysdeps/generic/dl-tls.c: Add INTDEF for _dl_allocate_tls. + (_dl_deallocate_tls): New function. + * sysdeps/generic/ldsodefs.h: Declare _dl_allocate_tls_internal and + _dl_deallocate_tls. -2004-03-08 Andreas Schwab +2002-02-21 Jakub Jelinek - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Don't truncate - sysinfo pointer value. + * libio/fileops.c (_IO_file_seekoff_mmap): Fix fseek SEEK_END. + * stdio-common/tst-fseek.c (main): Add test for this. -2004-03-08 Paul Eggert +2002-02-19 Ulrich Drepper - Merge from gnulib. We now assume C89 or better. - * posix/getopt1.c (const): Remove. - * posix/getopt.c (const): Likewise. - * posix/getopt1.c (getopt_long, _getopt_long_r, getopt_long_only, - _getopt_long_only_r, main): Use prototypes, not old-style definitions. - * posix/getopt.c (exchange, _getopt_initialize, _getopt_internal_r, - _getopt_internal, getopt, main): Likewise. - * posix/getopt.h (getopt, getopt_long, getopt_long_only): Likewise. - * posix/getopt.c [!defined VMS || !HAVE_STRING_H]: - Include regardless. No need for . - [!defined _LIBC]: Include "gettext.h" rather than rolling it ourselves. - (_): Define to gettext always. - (my_index): Remove: all uses changed to strchr. - (strlen): Remove declaration. - * posix/getopt.h (struct option.name): Always const char *. + * stdlib/Versions: Move __on_exit to GLIBC_PRIVATE. -2004-03-08 Marcus Brinkmann +2002-02-19 Jakub Jelinek - * posix/getopt.h (_getopt_internal): Move to ... - * posix/getopt_int.h: ... here. New file. - * include/getopt_int.h: New file. - * include/getopt.h: Remove libc_hidden_proto for getopt_long - and getopt_long_only. - * posix/getopt1.c: Include "getopt_int.h". Remove - libc_hidden_def for getopt_long and getopt_long_only. - (_getopt_long_r, _getopt_long_only_r): New functions. - * posix/getopt.c: Include "getopt_int.h". - (__getopt_initialized): Variable removed. - (nextchar, ordering, posixly_correct, first_nonopt, last_nonopt): - Static variables removed. - (nonoption_flags_max_len, nonoption_flags_len) [_LIBC && - USE_NONOPTION_FLAGS]: Static variables removed. - (getopt_data): New static variable. - (SWAP_FLAGS): Use d->__nonoption_flags_len instead - nonoption_flags_len. - (exchange): Add new argument D of type struct getopt_data *. - Replace optind with d->optind, optarg with d->optarg, opterr with - d->opterr, optopt with d->optopt, nextchar with d->__nextchar, - first_nonopt with d->__first_nonopt, last_nonopt with - d->__last_nonopt, d->ordering with d->__ordering, - d->posixly_correct with d->__posixly_correct (which is now an - int instead a string, so fix users), nonoption_flags_len - with d->__nonoption_flags_len, nonoption_flags_max_len with - d->__nonoption_flags_max_len. - (_getopt_initialize): Likewise. - (_getopt_internal): Rename to ... - (_getopt_internal_r): ... this. Also add new argument D of type - struct getopt_data * and use of members of D rather than global or - static variables as described for exchange() above. Add new argument - to invocations of _getopt_initialize and exchange. - (_getopt_internal): Reimplement in terms of _getopt_internal_r. - * argp/argp-parse.c: Include . - [_LIBC]: Do not include . - [!_LIBC && HAVE_CTHREADS_H]: Do not include . - [!_LIBC] (_argp_hang): Make static. - (getopt_lock, LOCK_GETOPT, UNLOCK_GETOPT): Remove. - (_argp_unlock_xxx): Remove. - (parser_init): Do not use LOCK_GETOPT. - (parser_finalize): Do not use UNLOCK_GETOPT. - (struct parser): New member OPT_DATA. - (parser_init): Initialize parser->opt_data. Use - parser->opt_data.opterr instead of opterr. - (parser_parse_opt): Use parser->opt_data.optarg instead optarg. - (parser_parse_next): Likewise. Use parser->opt_data.optind - instead optind. Use parser->opt_data.optopt instead of optopt. - Call _getopt_long_only_r and _getopt_long_r instead of - getopt_long_only and getopt_long, and pass the extra argument. + * libio/fileops.c (_IO_file_underflow_mmap): Cast to unsigned char + pointer before dereferencing. -2004-03-09 Ulrich Drepper +2002-02-18 Roland McGrath - * iconv/gconv_db.c: Don't define lock as static. Rename to - __gconv_lock and export from the file. - * iconv/gconv_int.h: Declare __gconv_lock. - * libio/iofclose.c [_LIBC] (_IO_new_fclose): Lock gconv lock - before __gconv_release_step calls. - Patch by Shunichi Sagawa . + * sysdeps/mach/hurd/times.c: Fix typo in last change. - * iconv/gconv_simple.c (internal_ucs4_loop): Fix typo in last change. + * sysdeps/mach/hurd/setpriority.c [POLICY_TIMESHARE_BASE_COUNT]: + Use task_policy in place of task_priority. - * posix/Makefile (tests): Add tst-vfork1. - * posix/tst-vfork1.c: New file. + * sysdeps/generic/bits/mman.h + (MS_ASYNC, MS_SYNC, MS_INVALIDATE): New macros. + * sysdeps/mach/msync.c: New file. -2004-03-08 Ulrich Drepper + * sysdeps/mach/powerpc/syscall.S: New file. - * sysdeps/i386/dl-machine.h: Define ARCH_FIXUP_ATTRIBUTE and use - it in the fixup function declarations. - * elf/dl-runtime.c: If ARCH_FIXUP_ATTRIBUTE is not defined, - provide dummy definition. Use macro in fixup function - definitions. + * mach/msg.c [MACH_MSG_OVERWRITE] + (__mach_msg_trap, __mach_msg_overwrite): New functions. + * mach/Versions (libc: GLIBC_2.0): Add mach_msg_overwrite and __ name. - * sysdeps/unix/sysv/linux/i386/vfork.S: If SAVE_PID and - RESTORE_PID are defined, use it. - * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise. + * sysdeps/mach/configure.in: Check for clock.defs to put into + mach_interface_list. + * sysdeps/mach/configure: Regenerated. - * sysdeps/posix/gai_strerror.c: Add error string for EAI_IDN_ENCODE. + * mach/Makefile (mach-machine): New variable, set from $(base-machine). + ($(objpfx)mach-syscalls.mk): Use it in place of $(base-machine). + ($(mach-syscalls:%=$(objpfx)%.S) static pattern rule): + Use instead of . + (mach-shortcuts): Add device_read_overwrite_request, + device_read_overwrite, vm_read_overwrite, thread_switch. - * Makerules: Use extra-modules.mk if modules-names is defined. - * extra-modules.mk: New file. - * dlfcn/Makefile (CPPFLAGS-modcxaatexit.c): Removed. - * elf/Makefile (CFLAGS-interp.c): Add -DNOT_IN_libc=1. - * csu/Makefile ($(objpfx)version-info.h): Pass -DNOT_IN_libc=1 to - compiler. - * Makefile (distribute): Add symbol-hacks.h and extra-modules.mk. - * sysdeps/generic/symbol-hacks.h: New file. - * sysdeps/wordsize-32/symbol-hacks.h: New file. - * sysdeps/wordsize-32/divdi3.c: Define *_internal aliases for __divdi3, - __moddi3, __udivdi3, and __umoddi3. - * include/libc-symbols.h: Include . + * configure.in (base_machine): Set to $machine by default. + * configure: Regenerated. -2004-03-08 Jeroen Dekkers + * sysdeps/mach/configure.in: Check for + or and add -DNDR_DEF_HEADER=... to DEFINES. + * sysdeps/mach/configure: Regenerated. + * mach/mach_init.c [NDR_DEF_HEADER]: #include it. - * elf/rtld.c (_rtld_global_ro) [MAP_COPY]: Don't set _dl_unload_cache. + * hurd/hurdfault.c (_hurdsig_fault_init): Add a cast. - * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): - Don't use INTUSE with _dl_signal_error. + * hurd/hurd/signal.h: Include for `jmp_buf' decl. -2004-03-08 Ulrich Drepper + * mach/msgserver.c (__mach_msg_server_timeout) [! MACH_RCV_LARGE]: + Double MAX_SIZE and don't retry on MACH_RCV_TOO_LARGE. - * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow): - Don't use INTUSE with _dl_signal_error. +2002-02-17 Roland McGrath -2004-03-08 Richard Henderson + * sysdeps/mach/hurd/times.c + [NO_CREATION_TIME] (startup_time): New static variable. + [NO_CREATION_TIME] (times_init): New static function in __libc_subinit. + (__times) [NO_CREATION_TIME]: Use startup_time in lieu of task + creation_time from task_basic_info. + (__times): Use __gettimeofday instead of __host_get_time. - * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Fix typo - in name. + * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg) [! MACH_MSG_TYPE_BIT]: + Use untyped Mach IPC message format. -2004-03-07 Ulrich Drepper + * hurd/catch-exc.c: Include , missing from last change. - * config.h.in: Add entry for HAVE_LIBIDN. - * configure.in: If libidn add-on present define HAVE_LIBIDN. - * Versions.def: Add entry for libcidn. + * hurd/Versions (libc: GLIBC_2.0): Add _S_catch_exception_raise_state, + _S_catch_exception_raise_state_identity, + _hurdsig_fault_catch_exception_raise_state, + _hurdsig_fault_catch_exception_raise_state_identity. -2004-03-07 Simon Josefsson + * mach/shortcut.awk: Don't apply the /^}$/ rule when $proto == "". - * resolv/netdb.h [__USE_GNU]: Add new AI_IDN ai_flags for addrinfo. - [__USE_GNU]: Add new error code EAI_IDN_ENCODE for getaddrinfo. - * sysdeps/posix/getaddrinfo.c: Add prototype for __idna_to_ascii_lz - and define IDNA_SUCCESS. - (gaih_inet): If ai_flags have AI_IDN, invoke __idna_to_ascii_lz. - (getaddrinfo): Fix EAI_BADFLAGS test to include AI_IDN. - All changes only applicable when glibc is compiled with the libidn - add-on. + * sysdeps/mach/getsysstats.c (__get_avphys_pages) [HOST_VM_INFO]: Use + __host_info with HOST_VM_INFO flavor instead of __vm_statistics. -2004-03-07 Ulrich Drepper + * sysdeps/mach/hurd/getpriority.c [TASK_SCHED_TIMESHARE_INFO]: Find + `base_priority' in PIP->timeshare_base_info instead of PIP->taskinfo. - * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_init): Call - _dl_lookup_symbol_x not _dl_lookup_symbol. + * sysdeps/mach/hurd/dl-sysdep.c [FMH]: Define for i386 only. + (fmh, unfmh): Define these functions only #if FMH. Otherwise define + them as no-op macros. + [FMH] (ELF_MACHINE_USER_ADDRESS_MASK): Redefine it to zero. + (__mmap): Uncomment uses of ELF_MACHINE_USER_ADDRESS_MASK. - * sysdeps/powerpc/elf/rtld-global-offsets.sym: Adjust for moving - _dl_hwcap into _rtld_global_ro. - * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. - * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise. - * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise. + * sysdeps/powerpc/dl-machine.h + (ELF_MACHINE_USER_ADDRESS_MASK): New macro. -2004-03-07 Andreas Schwab + * hurd/hurdselect.c (_hurd_select) [MACH_MSG_TRAILER_MINIMUM_SIZE]: + Use untyped Mach IPC message format. - * elf/dl-sym.c: Include only when USE_TLS. + * sysdeps/mach/hurd/ioctl.c (__ioctl) [! MACH_MSG_TYPE_BIT]: + Handle untyped Mach IPC message formats. -2004-03-07 Andreas Jaeger + * hurd/catch-exc.c (_S_catch_exception_raise) [EXC_MASK_ALL]: + Expect different argument conventions when this is defined. + [EXC_MASK_ALL] (_S_catch_exception_raise_state): New stub function. + [EXC_MASK_ALL] (_S_catch_exception_raise_state_identity): Likewise. + * hurd/hurdfault.c: Likewise for _hurdsig_fault_catch_exception_*. + [NDR_CHAR_ASCII] (mig_reply_header_t): #define as mig_reply_error_t + for OSF Mach variant. + (faulted): Use mig_reply_error_t for REPLY. + (_hurdsig_fault_init) [EXC_MASK_ALL]: Use EXCEPTION_STATE_IDENTITY + in __thread_set_exception_ports call. + (_hurdsig_fault_init) [MACH_PORT_RECEIVE_STATUS]: Use + __mach_port_set_attributes in place of __mach_port_set_qlimit. - * iconvdata/iso-2022-cn-ext.c (BODY): Remove cast used as lvalue. - * iconvdata/tcvn5712-1.c (EMIT_SHIFT_TO_INIT): Likewise. - * iconvdata/euc-jisx0213.c (EMIT_SHIFT_TO_INIT): Likewise. - * iconvdata/shift_jisx0213.c (EMIT_SHIFT_TO_INIT): Likewise. - * iconvdata/tscii.c (EMIT_SHIFT_TO_INIT): Likewise. + * sysdeps/mach/powerpc/sysdep.h (_MACH_MACHINE_ASM_H): Define this + before include , to inhibit + on Darwin, which includes bogons. -2004-03-07 Ulrich Drepper + * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Move local + variable LOADBASE so it's not declared when it's not used. - * sysdeps/generic/ldsodefs.h: Move _dl_initial_searclist, - _dl_hp_timing_overhead, _dl_init_all_dirs, and the content of - dl-procinfo.c from _rtld_global to _rtld_global_ro. - * elf/rtld.c: Adjust initializer for _rtld_global_ro. - * elf/dl-close.c: Use GLRO instead of GL where appropriate. - * elf/dl-libc.c: Likewise. - * elf/dl-load.c: Likewise. - * sysdeps/i386/dl-procinfo.h: Likewise. - * sysdeps/i386/i686/hp-timing.h: Likewise. - * sysdeps/ia64/hp-timing.h: Likewise. - * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise. - * sysdeps/sparc/sparc64/hp-timing.h: Likewise. - * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: Likewise. - * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise. - * string/test-string.h: Define GLRO. +2002-02-16 Roland McGrath -2004-03-06 Ulrich Drepper + * sysdeps/mach/hurd/times.c (__times) [NO_CREATION_TIME]: Don't try + to use BI.creation_time. - * elf/dl-lookup.c: We don't need for specialized lookup functions. - Combining the functionality does not slow down relocation processing, - it might even speed it up a little. - * sysdeps/generic/ldsodefs.h: Adjust prototypes for lookup function. - Add only one function pointer to rtlf_global_ro. - * elf/do-lookup.h: Replace #ifs with ifs. - * elf/dl-libc.c: Adjust _dl_lookup_* callers. + * mach/Machrules (MIG): Add -x c to CPP value passed down. + + * config.h.in: Add #undef HAVE_HOST_PAGE_SIZE. + * sysdeps/mach/configure.in: Check for host_page_size RPC to define it. + * mach/mach_init.c (__mach_init) [HAVE_HOST_PAGE_SIZE]: Use + host_page_size instead of vm_statistics. + + * sysdeps/mach/Makefile (mach-before-compile): Don't include + mach_interface.h here, since not all variants use that name. + + * sysdeps/mach/configure.in: Add some checks for Mach headers + to ensure a sane installation. + (mach_interface_list): Define this variable by checking for .defs + files found in various variants. + * configure.in (mach_interface_list): AC_SUBST this. + * config.make.in (mach-interface-list): New substituted variable. + * mach/Makefile (user-interfaces): Define this using the value + of $(mach-interface-list) instead of mach, mach4. + Updated other references to mach_interface to use it as well. + + * sysdeps/mach/powerpc/machine-lock.h: Avoid multi-line strings. + + * mach/msgserver.c [NDR_CHAR_ASCII] (mig_reply_header_t): #define as + mig_reply_error_t for OSF Mach variant. + + * mach/Makefile (routines): Remove bootprivport. + * mach/bootprivport.c: File removed. It has never been used. + + * mach/msg-destroy.c (__mach_msg_destroy) [MACH_MSG_PORT_DESCRIPTOR]: + Grok the OSF flavor of message format. + (mach_msg_destroy_port): For MAKE_SEND and + MAKE_SEND_ONCE rights, create an destroy a right to ensure proper + no-senders notification. + +2002-02-06 Roland McGrath + + * hurd/Versions (libc: GLIBC_2.0): Move cthread_fork, cthread_detach + to here if 2.0 compatibility enabled ... + (libc: GLIBC_2.1.3): ... from here. + +2002-02-15 Ulrich Drepper + + * elf/dl-open.c (dl_open_worker): Catch wrap-around of TLS + generation counter. + * elf/dl-close.c (_dl_close): Likewise. + +2002-02-14 Ulrich Drepper + + * elf/Makefile: Add rules to build and run tst-tls8. + * elf/tst-tls8.c: New file. + * elf/tst-tlsmod4.c: New file. + + * stdlib/test-a64l.c (tests): Add more test cases. + + * sunrpc/rtime.c (rtime): Change type of thetime to uint32_t. + Reported by Walter Harms . + +2002-02-11 Jes Sorensen + + * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add sc_flag bit + definitions for struct sigcontext. + Suggested by David Mosberger-Tang. + +2002-02-13 Ulrich Drepper + + * elf/dl-close.c (remove_slotinfo): New function. Handles everything + for removing reference of module in slotinfo list. + (_dl_close): Use remove_slotinfo. + * sysdeps/generic/dl-tls.c: General pretty printing. + (oom): Define only if SHARED. + (_dl_next_tls_modid): Correct starting point for the case we assume + there is a gap. Add missing instruction grouping (doh!). Correct + tests for reaching maximum index. + * elf/Makefile: Add rules to build and run tst-tls7. + * elf/tst-tls7.c: New file. + * elf/tst-tlsmod3.c: New file. + + * elf/tst-tlsmod1.c: Move #include "tls-macros.h" instead #ifdef + USE_TLS. + * elf/tst-tlsmod2.c: Likewise. + + * elf/dl-close.c (_dl_close): When closing an object using TLS + either decrement dl_tls_max_dtv_idx or set dl_tls_dtv_gaps to + true. Increment dl_tls_generation only if we closed any TLS-using + object. + * elf/tst-tls6.c: New file. + * elf/Makefile: Add rules to build and run tst-tls6. + + * po/da.po: Update from translation team. + + * locale/categories.def: Fix typo [PR libc/2948]. + * po/Makefile (BROKEN_LINGUAS): Works with current gettext + [PR libc/2949]. + * locale/iso-4217.def: Update from official version [PR libc/2950]. + * glibcbug.in: Honor TMPDIR [PR libc/2951]. + * locale/programs/ld-collate.c (collate_finish): Bail out with a + message if input is too confusion instead of using assert. + (collate_read): Don't crash on unknown symbol [PR libc/2952]. + Patches by Alastair McKinstry . + + * elf/tst-tls1.c: Move #include "tls-macros.h" inside #ifdef USE_TLS. + * elf/tst-tls2.c: Likewise. + * elf/tst-tls3.c: Likewise. + +2002-02-13 Jakub Jelinek + + * elf/dl-close.c (free_slotinfo): Only define if TLS supported. + +2002-02-13 Ulrich Drepper + + * elf/dl-open.c (dl_open_worker): Only bump the generation counter + if this is really necessary. + + * elf/dl-close.c (_dl_close): Implement freeing entries in the + slotinfo array. + (free_mem): Free memory for the slotinfo array if possible. + +2002-02-12 Andreas Schwab + + * csu/gmon-start.c (__gmon_start__): Remove '&' from ENTRY_POINT. + +2002-02-12 Ulrich Drepper + + * sysdeps/generic/dl-tls.c (TLS_DTV_UNALLOCATED): Renamed from + TLS_DTV_UNALLOCATE. + (oom): New function. + (_dl_next_tls_modid): Rewrite to handle dl_tls_dtv_slotinfo_list. + (_dl_determine_tlsoffset): Likewise. + (_dl_allocate_tls): Likewise. + (__TLS_GET_ADDR): Define if not already defined. + (_dl_tls_symaddr): New function. + (allocate_and_init): New function. + (__tls_get_addr): Actually implement handling of generation counter + and deferred allocation. + * sysdeps/generic/ldsodefs.h (_rtld_global): Remove _dl_initimage_list, + add _dl_tls_dtv_slotinfo_list, _dl_tls_static_nelem, and + _dl_tls_generation. + Define TLS_SLOTINFO_SURPLUS and DTV_SURPLUS. + Declare _dl_tls_symaddr. + * sysdeps/i386/dl-tls.h: Disable __tls_get_addr handling unless + SHARED. + * include/link.h (struct link_map): Remove l_tls_nextimage and + l_tls_previmage. + * elf/dl-sym.c (_dl_sym): After successful lookup call _dl_tls_symaddr + instead of DL_SYMBOL_ADDRESS for STT_TLS symbols. + (_dl_vsym): Likewise. + * elf/rtld.c (_dl_start_final): Adjust initdtv initialization for new + layout. + (dl_main): Allow PT_TLS be present for empty segment. Remove + nextimage list handling. Instead add all modules using TLS to + dl_tls_dtv_slotinfo_list. + * elf/dl-open.c (dl_open_worker): After successfully loading all + objects add those with TLS to the dl_tls_dtv_slotinfo_list list. + * elf/dl-load.c (_dl_map_object_from_fd): If PT_TLS entry is for an + empty segment don't do anything. Remove handling of initimage list. + * elf/Versions [ld] (GLIBC_2.0): Add __libc_memalign. + (GLIBC_PRIVATE): Add _dl_tls_symaddr. + * elf/dl-minimal.c: Define __libc_memalign. + * elf/dl-support.c: Remove _dl_initimage_list. Add + _dl_tls_dtv_slotinfo_list, _dl_tls_static_nelem, and + _dl_tls_generation. + * include/stdlib.h: Declare __libc_memalign. + + * elf/Makefile: Add rules to build and run tst-tls4 and tst-tls5. + * elf/tst-tls4.c: New file. + * elf/tst-tls5.c: New file. + * elf/tst-tlsmod2.c: New file. + + * elf/tls-macros.h: asms using ___tls_get_addr destroy %ecx and %edx. + + * elf/tst-tlsmod1.c: Don't define variables unles USE_TLS. + + * elf/tst-tls1.c: Use test-skeleton.c. + * elf/tst-tls2.c: Likewise. + * elf/tst-tls3.c: Likewise. + + * elf/dl-conflict.c (RESOLVE_MAP): Return NULL not 0. + +2002-02-08 Daniel Jacobowitz + + * sysdeps/mips/machine-gmon.h: Update MCOUNT for current GCC behavior. + +2002-02-10 Ulrich Drepper + + * elf/elf.h: Define R_386_TLS_GD and R_386_TLS_LDM. + + * elf/tst-tls3.c: New file. + * elf/tst-tlsmod1.c: New file. + * elf/Makefile: Add rules to build and run tst-tls3. + + * sysdeps/i386/dl-machine.h: Include . + (elf_machine_type_class): Set ELF_RTYPE_CLASS_PLT also for the three + TLS relocations. + + * elf/do-lookup.h (FCT): st_value can be zero for STT_TLS symbols. + + * po/fr.po: Update from translation team. + + * elf/tls-macros.h: Add alternative macros for use in PIC. + + * elf/dl-lookup.c: Include . + * elf/do-lookup.h (FCT): Don't discard STT_TLS symbols. + + * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): More changes + required by passing pointer to last element of the list. + + * elf/dl-load.c (_dl_map_object_from_fd): Move adjustment of + l_tls_initimage to a place where it actually is performed. + + * sysdeps/generic/glob.c (glob): Explicitly set gl_pathc to zero + after globfree() calls. + + * elf/dl-deps.c (struct openaux_args): Add open_mode element. + (openaux): Pass open_mode as new last argument to _dl_map_object. + (_dl_map_object_deps): Add new argument open_mode. Initialize + open_mode element of args variable with it. + * elf/dl-open.c (dl_open_worker): Pass __RTLD_DLOPEN flag is set to + _dl_map_object_deps. + * elf/rtld.c (dl_main): Add zero as last parameter to + _dl_map_object_deps call. + * sysdeps/generic/ldsodefs.h: Adjust prototype of _dl_map_object_deps. + * elf/nodlopen2.c: New file. + * elf/nodlopenmod2.c: New file. + * elf/Makefile: Add rules to build and run nodlopen2. + + * elf/tst-tls1.c: Move TLS helper macros to... + * elf/tls-macros.h: ...here. New file. + * elf/tst-tls2.c: New file. + * elf/Makefile (tests): Add tst-tls2. + (distribute): Add tls-macros.h. + + * po/sv.po: Update from translation team. + + * elf/tst-tls1.c (main): Add complete set of tests. Split + architecture specific definitions from the actual test code. + + * po/tr.po: Update from translation team. + +2002-02-09 Ulrich Drepper + + * elf/Makefile (tests): Add tst-tls1. + * elf/tst-tls1.c: New file. + + * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Don't handle + alignment of TCB for now. + + * elf/rtld.c (dl_main): Use p_vaddr as address of TLS + initialization image for the application itself. + + * sysdeps/generic/dl-tls.c (_dl_allocate_tls): Correctly terminate + loop to initialize TLS block. + +2002-02-08 Richard Henderson + + * sysdeps/generic/ldsodefs.h (struct rtld_global): Also include + _dl_cpuclock_offset if HP_SMALL_TIMING_AVAIL. + + * sysdeps/alpha/elf/initfini.c: Use \n\ for multiline string. + +2002-02-09 Jakub Jelinek + + * sysdeps/generic/dl-environ.c (unsetenv): Clear cnt before use. + +2002-02-08 Ulrich Drepper + + * po/ca.po: Update from translation team. + * po/sk.po: Likewise. + + * elf/rtld.c (_dl_start_final): Install DTV explicitly. + (dl_main): Move dtv/static TLS handling before relocation. + Unconditionally call _dl_tlsoffset. Call _dl_allocate_tls and + TLS_INIT_TP to allocate and install the dtv/static TLS block. + * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): If no object + so far uses TLS initialize GL(dl_tls_static_size) and + GL(dl_tls_static_align) to account for the TCB. + (_dl_allocate_tls): New function. + * sysdeps/generic/ldsodefs.h (rtld_global): Add + _dl_initial_dtv_malloced. + + * configure.in: Test for __builtin_memset more realistically. + + * csu/version.c (banner): If TLS support is available say so. + +2002-02-04 H.J. Lu + + * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Use + __attribute_used__. + (__dl_runtime_resolve): Likewise. + + * sysdeps/mips/machine-gmon.h (_MCOUNT_DECL): Make it a real + declaration. + +2001-11-15 H.J. Lu + + * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Don't include + , nor . Updated for gdb. + + * sysdeps/unix/sysv/linux/mips/sys/user.h: New file. + +2002-02-07 H.J. Lu + + * sysdeps/mips/atomicity.h (compare_and_swap): Remove + ".set noreorder". + * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): + Likewise. + +2002-02-07 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/stat.h: Undo last patch. + + * sysdeps/i386/dl-tls.h (__tls_get_addr): Call + ___tls_get_addr_internal. + (___tls_get_addr_internal): Define as alias for ___tls_get_addr. + + * po/ko.po: Update from translation team. + +2002-02-07 Jakub Jelinek + + * sysdeps/unix/sysv/linux/bits/stat.h (struct stat): Remove packed + attribute, change __pad{1,2} type to unsigned int. + (struct stat64): Remove packed attribute. + +2002-02-07 Ulrich Drepper + + * sysdeps/i386/dl-tls.h: No need for #ifdef USE_TLS. + +2002-02-07 Andreas Schwab + + * configure.in: Fix check for -zcombreloc. + +2002-02-06 H.J. Lu + + * config.h.in (HAVE_BUILTIN_MEMSET): New macro. + * configure.in: Check if __builtin_memset really works. + * elf/rtld.c (_dl_start): Check HAVE_BUILTIN_MEMSET instead of + __GNUC_PREREQ (2, 96) before using __builtin_memset. + +2002-02-06 Jakub Jelinek + + * io/bug-ftw3.c (main): Don't try the test if root. + +2002-02-06 Martin Schwidefsky + + * sysdeps/unix/sysv/linux/s390/brk.c (__brk): Correct inline assembly + constraints. + * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h (RLIMIT_LOCKS): + Add RLIMIT_LOCKS and adjust RLIMIT_NLIMITS. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h (RLIMIT_LOCKS): + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (clone): Make clone + a weak alias for __clone. + * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (clone): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h: Fix typo. + * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add framestate. + * sysdeps/unix/sysv/linux/s390/s390-64/Versions: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S (__mmap64): Make __mmap + a weak alias for __mmap64. + +2002-02-05 H.J. Lu + + * sysdeps/mips/atomicity.h (exchange_and_add): Not use branch likely. + (atomic_add): Likewise. + (compare_and_swap): Likewise. + * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Likewise. + +2002-02-07 Ulrich Drepper + + * sysdeps/generic/dl-tls.c: Don't read TLS header if TLS is not needed. + + * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Account for + alignment of the TCB and store total size and alignment of static + TLS block in _dl_tls_static_size and _dl_tls_static_align. + tls_index is a typedef. + * sysdeps/generic/ldsodefs.h: Declare _dl_tls_static_size and + _dl_tls_static_align. + * sysdeps/i386/dl-tls.h: tls_index is a typedef. + * elf/dl-support.c: Define _dl_tls_static_size and + _dl_tls_static_align. + +2002-02-06 Ulrich Drepper + + * configure.in: Add --without-tls option. + * sysdeps/i386/elf/configure.in: Don't check for TLS support if + --without-tls is given. + + * sysdeps/generic/dl-tls.c: Include . + + * sysdeps/i386/dl-tls.h: Don't define anything if !USE_TLS. + +2002-02-06 Roland McGrath + + * malloc/hooks.c [! HAVE_MREMAP]: Conditionalize unused decls. + * malloc/malloc.c [! HAVE_MREMAP]: Likewise. + + * scripts/versions.awk: Improve error message for missing version. + Each version inherits from the last one only if they have the same + nonnumeric prefix, i.e. GLIBC_x.y and GLIBC_x.z or FOO_x and FOO_y + but not GLIBC_x and FOO_y. + + * scripts/firstversions.awk: Handle libraries that don't have each + particular version named in the third column of shlib-versions. + + * scripts/firstversions.awk: Don't mess with GLIBC_PRIVATE. + +2002-02-06 Ulrich Drepper + + * Versions.def [ld]: Add GLIBC_2.3. + * elf/Versions [ld]: Add __tls_get_addr to GLIBC_2.3. + * elf/Makefile (dl-routines): Add dl-tls. + (distribute): Add dl-tls.h. + * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove + _dl_tls_module_cnt, add _dl_tls_max_dtv_idx and _dl_tls_dtv_gaps. + Add prototypes for _dl_next_tls_modid and _dl_determine_tlsoffset. + * elf/dl-load.c (_dl_map_object_from_fd): Store alignment requirement + along with the other info in the link map. Change queueing of init + images for double linked list. Use _dl_next_tls_modid to compute + l_tls_modid. + * elf/rtld.c (_dl_start_final): Store alignment requirement + along with the other info in rtld map and executable map. + (dl_main): Add ld.so to the init image list if necessary. Compute + final module ID with _dl_next_tls_modid. + * include/link.h (struct link_map): Add l_tls_previmage and + l_tls_align. + * eld/dl-support.c: Define _dl_tls_max_dtv_idx and _dl_tls_dtv_gaps. + * sysdeps/i386/elf/Versions: New file. + * sysdeps/generic/dl-tls.c: New file. + * sysdeps/generic/dl-tls.h: New file. + * sysdeps/i386/dl-tls.h: New file. + +2002-02-06 Roland McGrath + + * sysdeps/unix/sysv/linux/netinet/ip.h: Moved to ... + * sysdeps/generic/netinet/ip.h: ... here, replacing old file. + +2002-01-05 Roland McGrath + + * sysdeps/mach/configure.in: New file. + * sysdeps/mach/configure: New generated file. + + * mach/Makefile (user-interfaces): Remove default_pager_helper. + It has never been used by anything. + +2002-02-06 H.J. Lu + + * sysdeps/mips/elf/ldsodefs.h: Make sure the right + is included. + +2002-02-06 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/stat.h (struct stat): Add + attribute((packed)) to counter stupid people misusing gcc options. + (struct stat64): Likewise. + +2002-02-05 Ulrich Drepper + + * elf/rtld.c (dl_main): Correct indentation. Use bool as type for + the variables which are used as booleans. + +2002-02-06 Andreas Jaeger + + * include/libc-symbols.h (INTUSE): Renamed from INT. + * elf/dl-deps.c: Change users. + * sysdeps/generic/dl-sysdep.c: Likewise. + * sysdeps/generic/dl-cache.c: Likewise. * elf/dl-reloc.c: Likewise. - * elf/dl-runtime.c: Likewise. - * elf/dl-sym.c: Likewise. - * elf/rtld.c: Likewise. Adjust _rtld_global_ro initialization. - -2004-03-06 Richard Henderson - - * sysdeps/generic/ldsodefs.h (__rtld_local_attribute__, - __rtld_global_attribute__): Undef after use. - (_rtld_local_ro): Define __rtld_local_attribute__ with just hidden - if available. - - * soft-fp/quad.h (union _FP_UNION_Q): Add longs structure. - * sysdeps/alpha/Implies: Add alpha/soft-fp. - * sysdeps/alpha/soft-fp/sfp-machine.h: Rewrite for GEM interface. - * sysdeps/alpha/Subdirs: New file. - * sysdeps/alpha/soft-fp/Makefile: New file. - * sysdeps/alpha/soft-fp/Versions: New file. - * sysdeps/alpha/soft-fp/local-soft-fp.h: New file. - * sysdeps/alpha/soft-fp/ots_add.c: New file. - * sysdeps/alpha/soft-fp/ots_cmp.c: new file. - * sysdeps/alpha/soft-fp/ots_cmpe.c: New file. - * sysdeps/alpha/soft-fp/ots_cvtqux.c: New file. - * sysdeps/alpha/soft-fp/ots_cvtqx.c: New file. - * sysdeps/alpha/soft-fp/ots_cvttx.c: New file. - * sysdeps/alpha/soft-fp/ots_cvtxq.c: New file. - * sysdeps/alpha/soft-fp/ots_cvtxt.c: New file. - * sysdeps/alpha/soft-fp/ots_div.c: New file. - * sysdeps/alpha/soft-fp/ots_mul.c: New file. - * sysdeps/alpha/soft-fp/ots_nintxq.c: New file. - * sysdeps/alpha/soft-fp/ots_sub.c: New file. - -2004-03-06 Ulrich Drepper - - * configure.in: Recognize --enable-bind-now. - * elf/dynamic-link.h (elf_get_dynamic_info): Allow bind-now flags - in ld.so. - * Makerules (LDFLAGS-c.so): Add -z now if so configured. - * elf/Makefile ($(objpfx)ld.so): Likewise. - * config.make.in (bind-now): New definition. - - * elf/dl-fini.c (_dl_fini): Combine _dl_debug_printf calls. - * elf/rtld.c (print_statistics): Likewise. - - * elf/dl-open.c: No need to pass any parameter to _dl_start_profile. - They are the same in both places. - * elf/dl-profile.c: Likewise. * elf/rtld.c: Likewise. - * sysdeps/generic/ldsodefs.h: Likewise. - * elf/dl-support.c: Define _dl_profile_output variable. Initialize it. + * elf/dl-version.c: Likewise. + * elf/dl-load.c: Likewise. + * elf/dl-dst.h: Likewise. + * elf/dl-init.c: Likewise. + * elf/dl-error.c: Likewise. + * elf/dl-fini.c: Likewise. + * elf/dl-runtime.c: Likewise. + * elf/do-lookup.h: Likewise. -2004-03-05 Ulrich Drepper + * stdio-common/_itoa.h: Undefine SPECIAL to avoid duplicate + definition. + * stdio-common/_itowa.h: Likewise. - * elf/Versions: Remove functions which are not exported anymore. - * dlfcn/dlerror.c: Call ld.so functions through GLSO. - * dlfcn/dlinfo.c: Likewise. - * elf/dl-close.c: Likewise. - * elf/dl-libc.c: Likewise. - * elf/dl-open.c: Likewise. - * elf/dl-sym.c: Likewise. - * sysdeps/generic/libc-start.c: Likewise. - * elf/dl-debug.c: Remove *_internal definition. Don't use INTUSE for - functions which are not exported anymore. +2002-02-05 Ulrich Drepper + + * elf/dl-minimal.c: Define _itoa_lower_digits. + + * elf/dynamic-link.h (elf_get_dynamic_info): ld.so can have + DT_FLAGS set. + + * elf/dl-load.c (_dl_map_object_from_fd): Prevent dynamically + loading modules with the DF_STATIC_TLS flag set. + * elf/dynamic-link.h (elf_get_dynamic_info): Initialize l_flags + element. + * include/link.h (struct link_map): Add l_flags field. + * elf/elf.h (DF_STATIC_TLS): New definition. + + * dlfcn/Makefile: Add rules to build and run bug-dlopen1. + * dlfcn/bug-dlopen1.c: New file. By Bruno Haible. + + * elf/rtld.c (process_dl_debug): Correct printing help message. + * elf/dl-misc.c (_dl_debug_vdprintf): Implement precision handling + for %s. + + * inet/getnetgrent_r.c (innetgr): Add int* parameter to getfct + definition and pass &errno in use of this variable. + Reported by Simon Wilkinson [PR libc/2911]. + +2002-02-04 Andreas Schwab + + * locale/programs/localedef.h (WITH_CUR_LOCALE): Define. + * locale/programs/charmap-dir.c: Wrap calls that output messages + with WITH_CUR_LOCALE. Include "localedef.h" first. + * locale/programs/charmap.c: Likewise. + * locale/programs/ld-address.c: Likewise. + * locale/programs/ld-collate.c: Likewise. + * locale/programs/ld-ctype.c: Likewise. + * locale/programs/ld-identification.c: Likewise. + * locale/programs/ld-measurement.c: Likewise. + * locale/programs/ld-messages.c: Likewise. + * locale/programs/ld-monetary.c: Likewise. + * locale/programs/ld-name.c: Likewise. + * locale/programs/ld-numeric.c: Likewise. + * locale/programs/ld-paper.c: Likewise. + * locale/programs/ld-telephone.c: Likewise. + * locale/programs/ld-time.c: Likewise. + * locale/programs/linereader.c: Likewise. + * locale/programs/linereader.h: Likewise. + * locale/programs/localedef.c: Likewise. + * locale/programs/locfile.c: Likewise. + * locale/programs/repertoire.c: Likewise. + +2002-02-05 Ulrich Drepper + + * elf/rtld.c (_dl_start_final): Determine load address to locate + ehdr with GL(dl_rtld_map).l_map_start. + + * po/ca.po: Update from translation team. + + * elf/rtld.c (dl_main): Read PT_TLS entry of the executable. + * elf/dl-load.c (_dl_map_object_from_fd): Handle PT_TLS program + header entry. + * sysdeps/generic/ldsodefs.h (struct rtld_global): Add + _dl_tls_module_cnt. + * elf/dl-support.c: Define _dl_initimage_list and _dl_tls_module_cnt. + +2002-02-04 Ulrich Drepper + + * elf/rtld.c (_dl_start): Fill TLS values in link map for rtld. + * include/link.h (struct link_map): Add various members for TLS + information. + * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove + _rtld_tlsoffset, add _dl_initimage_list. + * sysdeps/i386/dl-lookupcfg.h: New file. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Implement missing + TLS relocation. When using TLS we now use RESOLVE_MAP. + (elf_machine_rela): Use RESOLVE_MAP instead of RESOLVE_MAP if TLS + is used. + + * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Mark as possibly + unused. + + * elf/rtld.c (_dl_start_final): Allocate TLS and initialize + thread-pointer as soon as possible. + * sysdeps/generic/ldsodefs.h: Include . Define first TLS + elements in rtld_global. + * sysdeps/generic/tls.h: New file. + * elf/Makefile (distribute): Add tls.h. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Add support for TLS + relocations. Not complete yet. + + * resolv/resolv.h: Allow user to define __need_res_state and only + define __res_start structure then. + * include/resolv.h: Only declare functions if _RESOLV_H_ is defined. + + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Move + dl_cpuclock_offset initialization to _dl_start_final. + (_dl_show_auxv): Avoid unnecessary sign extension. + * elf/rtld.c (_dl_start_final): Initialize dl_cpuclock_offset. + +2002-02-03 Ulrich Drepper + + * config.h.in: Add HAVE_TLS_SUPPORT. + * sysdeps/i386/elf/configure.in: New file. + +2002-02-03 Andreas Schwab + + * sysdeps/posix/readv.c: Use ssize_t for bytes_read. + * sysdeps/posix/writev.c: Use ssize_t for bytes_written. Fix comment. + +2002-02-03 Thorsten Kukuk + + * sysdeps/posix/writev.c: Check for ssize_t overflow, don't use + alloca if the memory reqirements are too high. + +2002-02-03 Ulrich Drepper + + * elf/dl-load.c (decompose_rpath): Avoid using strstr. + * elf/dl-minimal.c (_strerror_r): Use _itoa instead of _itoa_word since + the former is available anyway and speed isn't important here. + * elf/dl-misc.c (_dl_debug_vdprintf): Likewise. + * elf/dl-version.c (match_symbol): Likewise. + (_dl_check_map_versions): Likewise. + * elf/rtld.c (process_envvars): Likewise. + (print_statistics): Likewise. + * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Likewise. + * elf/dl-minimal.c (_itoa): Always define it. Make it work for all + bases. Add assert to catch uses of unimplemented features. + (__strsep): Add assert to catch uses of unimplemented features. + * elf/dl-object.c (_dl_new_object): Don't use rawmemchr. Use strchr + and avoid inline optimization. + * elf/rtld.c (process_envvars): Likewise. + * elf/dl-open.c: Don't include . + * elf/dl-profile.c (_dl_start_profile): Help compiler to avoid ffs. + * elf/rtld.c (dl_main): Avoid strsep inline optimization. + +2002-02-02 Ulrich Drepper + + * stdio-common/_itoa.h: Minor simplifications of the code. + * stdio-common/_itoa.c: Likewise. + + * elf/dl-reloc.c (_dl_relocate_object): Use _dl_debug_printf + instead of _dl_printf for debugging info output. + + * manual/examples/mkfsock.c (make_named_socket): Make sure name is + always NUL-terminated. Patch by Chris D. Sloan . + +2002-02-01 H.J. Lu + + * sysdeps/mips/atomicity.h (exchange_and_add): Use branch likely. + (atomic_add): Likewise. + (compare_and_swap): Return 0 only when failed to compare. Use + branch likely. + + * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Use + branch likely. + +2002-02-03 kaz Kojima + + * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix a typo. + +2002-02-02 Ulrich Drepper + + * elf/dl-minimal.c (__strsep): New minimal implementation. + +2002-02-02 Paul Eggert + + * src/mktime.c [defined DEBUG && STDC_HEADERS]: Include . + (__mktime_internal): If no tm_isdst is requested, prefer solutions + with tm_isdst > 0 when the requested time falls within a + spring-forward gap [PR libc/2894]. + +2002-02-03 Andreas Schwab + + * stdio-common/tst-rndseek.c: Increase timeout. + +2002-02-02 Ulrich Drepper + + Change ld.so to not use functions which are exported. One cannot + interpose them anyway. Use INT() to mark uses, INTDEF() to mark + definitions. + * include/libc-symbols.h: Define INT and INTDEF. + * sysdeps/generic/ldsodefs.h: Declare _dl_debug_printf_internal, + _dl_signal_error_internal, _dl_map_object_internal, + _dl_map_object_deps_internal, _dl_lookup_symbol_internal, + _dl_lookup_versioned_symbol_internal, + _dl_relocate_object_internal, _dl_debug_state_internal, + _dl_start_profile_internal, and _dl_unload_cache_internal. + * include/dlfcn.h: Declare _dl_catch_error_internal. + * elf/rtld.c: Use INT for calls to any of the *_internal functions + above. Add INTDEF to function definitions. + * elf/dl-debug.c: Likewise. * elf/dl-deps.c: Likewise. * elf/dl-dst.h: Likewise. * elf/dl-error.c: Likewise. @@ -1604,11178 +10345,517 @@ * elf/dl-load.c: Likewise. * elf/dl-lookup.c: Likewise. * elf/dl-misc.c: Likewise. + * elf/dl-open.c: Likewise. + * elf/dl-profile.c: Likewise. + * elf/dl-reloc.c: Likewise. + * elf/dl-runtime.c: Likewise. + * elf/dl-version.c: Likewise. + * elf/do-lookup.h: Likewise. + * sysdeps/generic/dl-cache.c: Likewise. + * sysdeps/generic/dl-sysdep.c: Likewise. + * sysdeps/alpha/dl-machine.h (RTLD_START): Call _dl_init_internal + instead of _dl_init. + * sysdeps/arm/dl-machine.h: Likewise. + * sysdeps/cris/dl-machine.h: Likewise. + * sysdeps/hppa/dl-machine.h: Likewise. + * sysdeps/i386/dl-machine.h: Likewise. + * sysdeps/ia64/dl-machine.h: Likewise. + * sysdeps/m68k/dl-machine.h: Likewise. + * sysdeps/mips/dl-machine.h: Likewise. + * sysdeps/mips/mips64/dl-machine.h: Likewise. + * sysdeps/s390/s390-32/dl-machine.h: Likewise. + * sysdeps/s390/s390-64/dl-machine.h: Likewise. + * sysdeps/sh/dl-machine.h: Likewise. + * sysdeps/sparc/sparc32/dl-machine.h: Likewise. + * sysdeps/sparc/sparc64/dl-machine.h: Likewise. + * sysdeps/x86_64/dl-machine.h: Likewise. + * sysdeps/powerpc/dl-start.S (_dl_start_user): Likewise. + + * elf/Versions: Don't export _dl_check_all_versions, _dl_sysdep_start, + and _dl_debug_initialize. + + * elf/dl-object.c (_dl_new_object): Avoid using strrchr. We have + more information. + * elf/rtld.c (dl_main): Avoid strrchr. + * sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): Use the + result of readlink. Search from the back for '/'. + + * elf/dl-profile.c (_dl_start_profile): Help the compiler to avoid + strncpy if possible. + + * sysdeps/generic/dl-environ.c (unsetenv): Optimize. Don't use + strncmp. + * elf/dl-load.c (is_dst): Optimize. Don't call strncmp twice. + * elf/rtld.c (process_dl_debug): Optimize. Avoid calls to strncmp, + strspn, and strcspn. + (process_envvars): Don't use strcspn. + + * elf/dl-load.c (_dl_dst_count): Fix possible endless loop. + (_dl_dst_substitute): Likewise. + +2002-02-01 Ulrich Drepper + + * elf/do-rel.h (elf_dynamic_do_rel): Help the compiler recognize + code which is never used when relocating ld.so itself. + + * elf/dynamic-link.h (elf_get_dynamic_info): Optimize a bit for + starting ld.so itself. Move l_addr variable initialization closer + to use. + (_ELF_DYNAMIC_DO_RELOC): Help the compiler optimize a bit. + +2002-02-01 Jakub Jelinek + + * Versions.def (libc): Add GLIBC_PRIVATE. + (libdb, libnss_db, libdb1): Remove. + (libnss_compat, libnss_dns, libnss_files, libnss_hesiod, libnss_nis, + libnss_nisplus): Move all symbols to GLIBC_PRIVATE. + (libpthread): Add GLIBC_PRIVATE. + (libresolv): Likewise, remove GLIBC_2.1. + (ld): Add GLIBC_PRIVATE, remove GLIBC_2.1.1, GLIBC_2.2, GLIBC_2.2.1, + GLIBC_2.2.3, GLIBC_2.3. + * catgets/Versions (__open_catalog): Move to GLIBC_PRIVATE. + * elf/Versions (_dl_open, _dl_close, _dl_addr, _dl_init_first, + _dl_sym, _dl_vsym): Likewise. + (__libc_enable_secure, __libc_stack_end, _dl_argv, _dl_catch_error, + _dl_check_all_versions, _dl_check_map_versions, _dl_debug_initialize, + _dl_debug_printf, _dl_debug_state, _dl_dst_count, _dl_dst_substitute, + _dl_init, _dl_lookup_symbol, _dl_lookup_symbol_skip, + _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip, + _dl_map_object, _dl_map_object_deps, _dl_out_of_memory, + _dl_relocate_object, _dl_signal_error, _dl_start_profile, + _dl_starting_up, _dl_sysdep_start, _dl_unload_cache, _rtld_global): + Likewise. + (_dl_object_relocation_scope): Remove. + * hesiod/Versions: Move all symbols to GLIBC_PRIVATE. + * iconv/Versions (__gconv_alias_db, __gconv_modules_db, + __gconv_cache): Move to GLIBC_PRIVATE. + * inet/Versions (__internal_endnetgrent, __internal_getnetgrent_r, + __internal_setnetgrent): Likewise. + * io/Versions (__libc_open, __libc_close, __libc_read, __libc_write, + __libc_lseek, __libc_fcntl, __libc_open64, __libc_lseek64): Likewise. + * locale/Versions (__collate_element_hash, __collate_element_strings, + __collate_symbol_classes, __collate_symbol_hash, + __collate_symbol_strings, _nl_current_LC_COLLATE, + _nl_current_LC_CTYPE): Likewise. + * misc/Versions (__libc_fsync, __libc_msync): Likewise. + * nis/Versions (libnss_compat): Move all symbols to GLIBC_PRIVATE. + (libnss_nis, libnss_nisplus): Likewise. + * nss/Versions (_nss_files_parse_grent, _nss_files_parse_pwent, + _nss_files_parse_spent): Move to GLIBC_PRIVATE. + (libnss_files): Move all symbols to GLIBC_PRIVATE. + * posix/Versions (__libc_wait, __libc_waitpid, __libc_pause, + __libc_nanosleep, __libc_fork, __libc_pread, __libc_pread64, + __libc_pwrite, __libc_pwrite64): Move to GLIBC_PRIVATE. + * resolv/Versions (__gai_sigqueue, __ns_name_unpack, __ns_name_ntop, + __ns_get16, __ns_samename): Likewise. + (libnss_dns): Move all symbols to GLIBC_PRIVATE. + * setjmp/Versions (__libc_longjmp, __libc_siglongjmp): Move to + GLIBC_PRIVATE. + * socket/Versions (__libc_accept, __libc_send, __libc_recvfrom, + __libc_recvmsg, __libc_sendmsg, __libc_recv, __libc_sendto, + __libc_connect): Likewise. + * stdio-common/Versions (_itoa_lower_digits, _itoa_upper_digits): + Likewise. + * stdlib/Versions (__libc_system): Likewise. + * sunrpc/Versions (__rpc_thread_destroy): Likewise. + * sysdeps/hppa/Versions: Move all symbols to GLIBC_PRIVATE. + * sysdeps/ia64/fpu/Versions: Likewise. + * sysdeps/ia64/Versions: Likewise. + * sysdeps/unix/sysv/linux/ia64/Versions: Likewise. + * sysdeps/unix/sysv/linux/i386/Versions (__modify_ldt): Move + to GLIBC_PRIVATE. + * sysdeps/unix/sysv/linux/x86_64/Versions (__modify_ldt): Likewise. + * sysdeps/unix/sysv/linux/Versions (__syscall_rt_sigqueueinfo, + __libc_sigaction): Likewise. + * termios/Versions (__libc_tcdrain): Likewise. + + * misc/sys/cdefs (__attribute_noinline__): Define. + * elf/dl-lookup.c (_dl_do_lookup, _dl_do_lookup_versioned): Add + __attribute_noinline__. + + * elf/Makefile (rtld-routines): Add dl-xstat64, dl-fxstat64. + * elf/dl-xstat64.c: New file. + * elf/dl-fxstat64.c: New file. + * sysdeps/unix/sysv/linux/fxstat64.c: If RTLD_STAT64 is defined, + don't export __fxstat64 at multiple versions. + * sysdeps/unix/sysv/linux/lxstat64.c: Similarly. + * sysdeps/unix/sysv/linux/xstat64.c: Similarly. + +2002-01-18 Isamu Hasegawa + + * locale/program/ld-collate.c (collate_finish): Assign a wide + char collation sequence value to multi character collating + elements, and avoid over writing by non-character elements. + +2002-02-01 Ulrich Drepper + + * elf/Makefile (distribute): Add dl-procinfo.c. + * sysdeps/unix/sysv/linux/i386/Dist: Remove dl-procinfo.c. + * sysdeps/unix/sysv/linux/arm/Dist: Likewise. + +2002-02-01 Jakub Jelinek + + * sysdeps/generic/ldsodefs.h (_dl_load_lock): Remove duplicate + definition. + * sysdeps/ia64/hp-timing.h: Move _dl_hp_timing_overhead in + _rtld_global struct. + * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise. + * sysdeps/sparc/sparc64/hp-timing.c: Likewise. + * sysdeps/sparc/sparc64/hp-timing.h: Likewise. + * sysdeps/sparc/sparc64/Makefile: Make hp-timing static only. + * sysdeps/unix/sysv/aix/init-first.c (_dl_fpu_control, + _dl_fpu_control_set): Remove unused externs. + * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Move procinfo + related variables in _rtld_global struct. + * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise. + * sysdeps/unix/sysv/linux/init-first.c (_dl_fpu_control_set): Remove + unused extern. + +2002-02-01 Ulrich Drepper + + * sysdeps/generic/dl-procinfo.c: New file. + +2002-02-01 Andreas Schwab + + * sysdeps/m68k/dl-machine.h: Don't use multi-line string literals. + +2002-02-01 Ulrich Drepper + + * elf/rtld.c (_dl_start): Mark as internal_function. + * sysdeps/i386/dl-machine.h (RTLD_START): Pass parameter for _dl_start + in register. + (elf_machine_rel): Cleanup and minor optimization for RTLD_BOOTSTRAP. + General pretty printing. + +2002-01-31 Ulrich Drepper + + * elf/dl-minimal.c: Define _itoa for 32-bit machines with HP timing. + * elf/dl-reloc.c: Pretty printing. + * sysdeps/generic/ldsodefs.h: Move _dl_hp_timing_overhead and + procinfo-related variables in rtld_global struct. + * elf/dl-support.c: Likewise. + * elf/rtld.c: Likewise. + * sysdeps/i386/i686/Makefile: Likewise. + * sysdeps/i386/i686/hp-timing.c: Likewise. + * sysdeps/i386/i686/hp-timing.h: Likewise. + * sysdeps/ia64/Makefile: Likewise. + * sysdeps/ia64/hp-timing.c: Likewise. + * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise. + * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Likewise. + * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: Likewise. + * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: Likewise. + * sysdeps/unix/sysv/linux/i386/Makefile: Likewise. + * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Likewise. + * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise. + * sysdeps/x86_64/Makefile: Likewise. + + * sysdeps/generic/ldsodefs.h: Add _dl_load_lock, _dl_lazy, + _dl_dynamic_weak, _dl_fpu_control, _dl_cpuclock_offset, and + _dl_debug_fd to rtld_global. + * elf/Versions: Likewise. + * elf/dl-close.c: Likewise. + * elf/dl-iteratephdr.c: Likewise. + * elf/dl-lookup.c: Likewise. + * elf/dl-misc.c: Likewise. + * elf/dl-open.c: Likewise. + * elf/dl-support.c: Likewise. + * elf/do-lookup.h: Likewise. + * elf/rtld.c: Likewise. + * sysdeps/generic/dl-cache.c: Likewise. + * sysdeps/generic/dl-sysdep.c: Likewise. + * sysdeps/ia64/Versions: Likewise. + * sysdeps/unix/clock_gettime.c: Likewise. + * sysdeps/unix/clock_settime.c: Likewise. + * sysdeps/unix/sysv/linux/init-first.c: Likewise. + * sysdeps/sparc/Versions: Removed. + * sysdeps/i386/i686/Versions : Removed. + * sysdeps/x86_64/Versions: Removed. + * configure.in: Define HAVE_PROTECTED if .protected is available. + * config.h.in: Add entry for HAVE_PROTECTED. + +2002-01-31 Jakub Jelinek + + * sysdeps/posix/readv.c: Don't use alloca if the memory requirements + are too high. + +2002-01-31 Andreas Schwab + + * sysdeps/posix/readv.c: Check for ssize_t overflow. + +2002-01-31 Andreas Schwab + + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix leftover + reference to _dl_pagesize. + +2002-01-30 Ulrich Drepper + + * Versions.def [ld]: Add GLIBC_2.3. + * elf/dl-addr.c: Move global variables for SHARED code in struct + _rtld_global. Export this struct, remove all exports for the + signal variables. + * elf/dl-close.c: Likewise. + * elf/dl-conflict.c: Likewise. + * elf/dl-debug.c: Likewise. + * elf/dl-deps.c: Likewise. + * elf/dl-dst.h: Likewise. + * elf/dl-error.c: Likewise. + * elf/dl-fini.c: Likewise. + * elf/dl-init.c: Likewise. + * elf/dl-iteratephdr.c: Likewise. + * elf/dl-libc.c: Likewise. + * elf/dl-load.c: Likewise. + * elf/dl-lookup.c: Likewise. + * elf/dl-minimal.c: Likewise. + * elf/dl-object.c: Likewise. + * elf/dl-open.c: Likewise. * elf/dl-profile.c: Likewise. * elf/dl-profstub.c: Likewise. * elf/dl-reloc.c: Likewise. * elf/dl-runtime.c: Likewise. - * elf/dl-version.c: Likewise. - * elf/do-lookup.h: Likewise. - * include/dlfcn.h: Likewise. - * sysdeps/generic/dl-cache.c: Likewise. - * sysdeps/generic/dl-fptr.c: Likewise. - * sysdeps/generic/dl-origin.c: Likewise. - * sysdeps/generic/dl-sysdep.c: Likewise. - * sysdeps/generic/dl-tls.c: Likewise. - * sysdeps/generic/ldsodefs.h: Likewise. - * sysdeps/i386/dl-tls.h: Likewise. - * sysdeps/unix/sysv/linux/dl-origin.c: Likewise. - * elf/rtld.c: Likewise. Export function though _rtld_global_ro. - - * sysdeps/generic/ldsodefs.h (struct rtld_global): Move - dl_debug_fd to rtld_global_ro. - * elf/rtld.c: Use GLRO instead of GL for dl_debug_fd. - * elf/dl-misc.c: Likewise. - - * malloc/malloc.c: Don't call exported interface in the implementation. - - * include/wctype.h: Add libc_hidden_proto for __towctrans. - * wctype/towctrans.c: Add libc_hidden_def. - - * libio/memstream.c (open_memstream): Use _IO_init with INTUSE. - - * posix/regexec.c (transit_state): Remove unused variable - next_state. - - * posix/regcomp.c (init_dfa): Use __btowc instead of btowc. - - * sysdeps/generic/ldsodefs.h: Define new structure rtld_global_ro. - Declare _rtld_global_ro and _rtld_local_ro. Move members of - rtld_global structure into the new one if they are modified only - at startup time. Define GLRO to access _rtld_global_ro. - * elf/Versions: Export _rtld_global_ro. - * elf/dl-close.c: Use GLRO instead of GL where appropriate. - * elf/dl-conflict.c: Likewise. - * elf/dl-deps.c: Likewise. - * elf/dl-dst.h: Likewise. - * elf/dl-error.c: Likewise. - * elf/dl-fini.c: Likewise. - * elf/dl-init.c: Likewise. - * elf/dl-load.c: Likewise. - * elf/dl-lookup.c: Likewise. - * elf/dl-minimal.c: Likewise. - * elf/dl-open.c: Likewise. - * elf/dl-profile.c: Likewise. - * elf/dl-reloc.c: Likewise. - * elf/dl-runtime.c: Likewise. * elf/dl-support.c: Likewise. + * elf/dl-sym.c: Likewise. * elf/dl-version.c: Likewise. * elf/do-lookup.h: Likewise. + * elf/do-rel.h: Likewise. + * elf/dynamic-link.h: Likewise. * elf/rtld.c: Likewise. * sysdeps/generic/dl-cache.c: Likewise. - * sysdeps/generic/dl-origin.c: Likewise. * sysdeps/generic/dl-sysdep.c: Likewise. + * sysdeps/generic/ldsodefs.h: Likewise. * sysdeps/generic/libc-start.c: Likewise. - * sysdeps/generic/dl-cache.c: Likewise. * sysdeps/i386/dl-machine.h: Likewise. - * sysdeps/i386/setfpucw.c: Likewise. - * sysdeps/i386/fpu/fclrexcpt.c: Likewise. - * sysdeps/i386/fpu/fedisblexcpt.c: Likewise. - * sysdeps/i386/fpu/feenablxcpt.c: Likewise. - * sysdeps/i386/fpu/feholdexcpt.c: Likewise. - * sysdeps/i386/fpu/fesetround.c: Likewise. - * sysdeps/i386/fpu/fsetexcptflg.c: Likewise. - * sysdeps/i386/fpu/ftestexcept.c: Likewise. - * sysdeps/unix/sysv/linux/dl-execstat.c: Likewise. + * sysdeps/ia64/dl-fptr.c: Likewise. + * sysdeps/ia64/dl-machine.h: Likewise. * sysdeps/unix/sysv/linux/dl-librecon.h: Likewise. * sysdeps/unix/sysv/linux/dl-origin.c: Likewise. * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise. * sysdeps/unix/sysv/linux/getclktck.c: Likewise. * sysdeps/unix/sysv/linux/getpagesize.c: Likewise. - * sysdeps/unix/sysv/linux/init-first.c: Likewise. - * sysdeps/unix/sysv/linux/prof-freq.c: Likewise. * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise. - * sysdeps/unix/sysv/linux/i386/sigaction.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise. - * sysdeps/x86_64/dl-machine.h: Likewise. - * sysdeps/sparc/sparc64/dl-machine.h: Likewise. - * sysdeps/sparc/sparc32/dl-machine.h: Likewise. - * sysdeps/s390/s390-64/dl-machine.h: Likewise. - * sysdeps/s390/s390-32/dl-machine.h: Likewise. - * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise. - * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise. - * sysdeps/m68k/dl-machine.h: Likewise. - * sysdeps/ia64/dl-machine.h: Likewise. - * sysdeps/arm/dl-machine.h: Likewise. - * sysdeps/alpha/dl-machine.h: Likewise. - * generic/dl-fptr.c: Likewise. - * mach/hurd/dl-sysdep.c: Likewise. - * unix/sysv/linux/ia64/dl-static.c: Likewise. - * unix/sysv/linux/ia64/getpagesize.c: Likewise. - * unix/sysv/linux/m68k/getpagesize.c: Likewise. - * unix/sysv/linux/sparc/sparc32/getpagesize.c: Likewise. + * sysdeps/unix/sysv/linux/ia64/dl-static.c: Likewise. + * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Likewise. -2004-03-04 Ulrich Drepper +2002-01-29 Ulrich Drepper - * sysdeps/generic/ldsodefs.h: Don't define _dl_name_match_p as inline. - * elf/dl-misc.c: Define _dl_name_match_p here. - * elf/dl-open.c (check_libc_caller): Don't use _dl_name_match_p. + * sysdeps/ia64/dl-lookupcfg.h (DL_AUTO_FUNCTION_ADDRESS): Add cast + to avoid warning + (DL_STATIC_FUNCTION_ADDRESS): Likewise. - * elf/dl-open.c (dl_open_worker): Check that _dl_open is called - from the right place. + * elf/dl-lookup.c: Only define or handle _dl_num_relocations for the + SHARED version. + * elf/dl-reloc.c: Likewise for _dl_num_cache_relocations. -2004-01-15 Paolo Bonzini + * elf/rtld.c (_dl_start): Use __builtin_memset if available. - * posix/regex.h (REG_STARTEND): Define. - * posix/regexec.c (regexec): Check for REG_STARTEND. +2002-01-29 Ben Collins -2004-02-29 Paolo Bonzini + * string/bits/string2.h (__mempcpy): Protect size arg for + addition when using __builtin_memcpy. - * posix/regexec.c (transit_state): Don't handle state == NULL. - Move state log and backreference management... - (merge_state_with_log): ... to this function. - (find_recover_state): New function. - (check_matching): Use find_recover_state to get a non-NULL - state when an invalid state is reached. Compute the amount - of initial characters to be skipped less conservatively when - multi-byte character sets are in use. Do not check - dfa->nbackref if the state log is NULL. Initialize err. - (acquire_init_state_context): Expect err to be initialized. - Fix spacing. +2002-01-29 Ulrich Drepper -2004-03-05 Jakub Jelinek + * stdlib/Makefile (tests): Add tst-qsort. + * stdlib/tst-qsort.c: New file. Written by Paul Eggert. - * sysdeps/sparc/sparc32/elf/start.S: Handle PIEs. - * sysdeps/sparc/sparc64/elf/start.S: Likewise. + * manual/signal.texi (Process Signal Mask): Document that + pthread_sigmask, not sigprocmask, must be used in MT programs. + Patch by Bertold Kolics . -2004-03-04 Jakub Jelinek + * misc/hsearch_r.c (hsearch_r): Don't insert anything if entry is + found. + * misc/Makefile (tests): Add tst-hsearch. + * misc/tst-hsearch.c: New file. - * iconv/iconv_prog.c (process_block): Handle omit_invalid. - If iconv returns EILSEQ with omit_invalid, continue converting - and return 1 if no other errors are seen. - (main): Set status to EXIT_FAILURE whenever process_* returns - nonzero, but only stop processing further files if iy returns - negative value. +2002-01-18 Wolfram Gloger -2004-03-03 Jakub Jelinek + * malloc/malloc.c: Rewrite, adapted from Doug Lea's malloc-2.7.0.c. + * malloc/malloc.h: Likewise. + * malloc/thread-m.h: Spinlock definitions for x86/x86_64. + * malloc/arena.c: New file. + * malloc/hooks.c: New file. + * malloc/tst-mallocstate.c: New file. + * malloc/Makefile: Add new testcase tst-mallocstate. + Add arena.c and hooks.c to distribute. Fix commented CPPFLAGS. - * sysdeps/unix/sysv/linux/x86_64/posix_fadvise.c: New file. - * sysdeps/unix/sysv/linux/x86_64/posix_fadvise64.c: New file. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list (posix_fadvise64): - Remove. - * sysdeps/unix/sysv/linux/alpha/posix_fadvise.c: New file. - * sysdeps/unix/sysv/linux/alpha/posix_fadvise64.c: New file. - * sysdeps/unix/sysv/linux/alpha/syscalls.list (posix_fadvise64): - Remove. - * sysdeps/unix/sysv/linux/ia64/posix_fadvise.c: New file. - * sysdeps/unix/sysv/linux/ia64/posix_fadvise64.c: New file. - * sysdeps/unix/sysv/linux/ia64/syscalls.list (posix_fadvise64): - Remove. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/posix_fadvise.c: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/posix_fadvise64.c: New - file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Removed. - * sysdeps/unix/sysv/linux/s390/s390-64/posix_fadvise.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/posix_fadvise64.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list - (posix_fadvise64): Remove. - * sysdeps/unix/sysv/linux/sparc/sparc64/posix_fadvise.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/posix_fadvise64.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list - (posix_fadvise64): Remove. +2002-01-28 Ulrich Drepper -2004-03-02 Andreas Schwab + * stdlib/msort.c: Remove last patch. The optimization violates the + same rule which qsort.c had problems with. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/xstat.c: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fxstat.c: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/lxstat.c: New file. +2002-01-27 Paul Eggert -2004-03-01 Ulrich Drepper + * stdlib/qsort.c (_quicksort): Do not apply the comparison function + to a pivot element that lies outside the array to be sorted, as + ISO C99 requires that the comparison function be called only with + addresses of array elements [PR libc/2880]. - * nscd/nscd_getgr_r.c (nscd_getgr_r): Add missing initialization - of return value. - * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise. +2002-01-28 Ulrich Drepper - * sysdeps/unix/sysv/linux/kernel-features.h: Add support for - __ASSUME_GETDENTS32_D_TYPE. - * sysdeps/unix/sysv/linux/getdents.c: For 2.6.4+ kernels use - getdents syscall again since it provides d_type information. + * elf/dl-load.c (_dl_map_object): Remove incorrect optimization + for SHARED code. Reported by Ben Collins . -2004-02-29 Andreas Jaeger - - * manual/install.texi (Tools for Compilation): Autoconf 2.53 is - required. - (Supported Configurations): Add x86_64-*-linux. - -2004-02-28 Ulrich Drepper - - * sysdeps/i386/i686/memcmp.S: Move table to .rodata. Patch by HJ Lu. - -2004-02-27 Jakub Jelinek - - * elf/rtld.c (dl_main): Adjust l->l_ld of the vDSO by l->l_addr. - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Only set - GL(dl_sysinfo) if non-zero. - - * sysdeps/unix/sysv/linux/sysconf.c: Include stdlib.h. - -2004-02-26 Ulrich Drepper - - * nss/getXXbyYY_r.c: Pass result also to the nscd_* function. Don't - set *result here. - * nscd/nscd_proto.h: Add new argument for pointer to result pointer - to all nscd_* functions. - * nscd/nscd_getgr_r.c (nscd_getgr_r): Add new parameter. Store result - pointer in the address provided by the new parameter if successful. - Otherwise store NULL. Return zero if no entry found. - (__nscd_getgrnam_r, __nscd_getgrgid_r): Add new parameter and pass - it on. - * nscd/nscd_gethst_r.c (nscd_gethst_r): Add new parameter. Store - result pointer in the address provided by the new parameter if - successful. Otherwise store NULL. Return zero if no entry found. - (__nscd_gethostbyname_r, __nscd_gethostbyname2_r, - __nscd_gethostbyaddr_r): Add new parameter and pass it on. - * nscd/nscd_getpw_r.c (nscd_getpw_r): Add new parameter. Store result - pointer in the address provided by the new parameter if successful. - Otherwise store NULL. Return zero if no entry found. - (__nscd_getpwnam_r, __nscd_getpwuid_r): Add new parameter and pass - it on. - -2004-02-26 Jakub Jelinek - - * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Set - retval to -1 on error. - -2004-02-26 Ulrich Drepper - - * stdlib/canonicalize.c (__realpath): Simplify. - - * posix/regcomp.c (parse_expression): Avoid duplication in calls - to build_charclass_op. - -2004-02-26 Jakub Jelinek - - * elf/rtld.c (dl_main): Correctly set up l_map_end and l_addr - in vDSO's link_map, don't assume l_addr == 0. Set GL(dl_sysinfo) - from e_entry only if AT_SYSINFO not present and adjust by l_addr. - Take vDSO into account when inserting rtld into _dl_loaded chain. - -2004-02-26 Ulrich Drepper - - * sunrpc/svcauth_des.c (authdes_getucred): Removed fixed limit on - number of groups in the cache. Relax the disconnect between the - interface of authdes_getucred and netname2user a bit. - * sunrpc/auth_unix.c (authunix_create_default): Don't allocate - huge arrays on the stack. - - * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Use the official - not cancelable interfaces. - -2004-02-24 Arnold D. Robbins - - * posix/regex_internal.c (build_wcs_upper_buffer): Enclose - `offsets_needed' label in `#ifdef _LIBC' to silence `unused label' - compiler warning. - -2004-02-24 Nelson H.F. Beebe - - * posix/regcomp.c (parse_expression): Add cast to (const unsigned - char *) in calls to `build_charclass_op'. - * posix/regex_internal.c (build_wcs_buffer): Add cast to char* in call - to `wcrtomb'. - * posix/regex_internal.h (bitset_not, bitset_merge, bitset_not_merge, - bitset_mask, re_string_char_size_a, re_string_wchar_at, - re_string_elem_size_at): Change to use prototypes. - (re_string_char_size_at, re_string_wchar_at, - re_string_elem_size_at): Declare as `internal_function'. - -2004-02-25 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Handle - _SC_NGROUPS_MAX. - -2004-02-23 Jakub Jelinek - - * wcsmbs/mbrtowc.c (__mbrtowc): Cap s + n at the end of address space. - * stdlib/Makefile (tests): Add testmb2. - (testmb2-ENV): New. - * stdlib/testmb2.c: New test. - -2004-02-23 Jakub Jelinek - - * sysdeps/posix/getaddrinfo.c (gaih_inet): If _res has not been - inited yet, try to init it before saving old _res.options. - * posix/Makefile (xtests): Add bug-ga2. - (generated): Add bug-ga2.mtrace and bug-ga2-mem. - (xtests): Depend on bug-ga2-mem. - ($(objpfx)bug-ga2-mem, bug-ga2-ENV): New. - * posix/bug-ga2.c: New test. - -2004-02-22 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Pop register - content also in case of an overflow in the parameter. - Reported by Momchil Velikov . - -2004-02-21 Ulrich Drepper - - * elf/dynamic-link.h (elf_get_dynamic_info): Recognize DF_1_NOW. - In ld.so, neither DT_FLAGS nor DT_FLAGS_1 must be used. - -2004-02-21 Andreas Jaeger - - * posix/bug-ga1.c: Include for memset prototype. - - * elf/dl-load.c (_dl_map_object_from_fd): Fix casts used as lvalue. - - * iconv/gconv_simple.c (internal_ucs4le_loop): Remove cast used as - lvalue. - -2004-02-19 Carlos O'Donell - - * sysdeps/generic/framestate.c [__USING_SJLJ_EXCEPTIONS__] - (__frame_state_for): Set frame_State_for to abort if the compiler - is using sjlj. - * sysdeps/generic/unwind-dw2.c: Allow sjlj enabled compilers to - build the code by removing __USING_SJLJ_EXCEPTIONS__ wrapper. - -2004-02-20 Alexandre Oliva - - * resolv/Versions: Remove semicolon from the end of libresolv's - GLIBC_2.3.2 version block. - * Versions.def (libresolv): Add GLIBC_2.3.2. - -2004-02-19 Carlos O'Donell - - * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Fix order of fp - status register loads. - -2004-02-20 Thorsten Kukuk - - * nscd/nscd.c (termination_handler): Use _exit instead of exit - -2004-02-20 Ulrich Drepper - - * nscd/nscd.c (main): Report fork errors. - - * dlfcn/dlsym.c: Get ld.so loading lock before the call into ld.so. - * dlfcn/dlvsym.c: Likewise. - * elf/dl-addr.c: Get loading lock while using _dl_loaded data. - * elf/dl-fini.c: Likewise. - Patch by Shunichi Sagawa . - -2004-02-20 Jakub Jelinek - - * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ulps for the - 2003-11-27 atan2 test. - - * sysdeps/powerpc/fpu/bits/mathinline.h (lrint, lrintf): Protect - with #ifndef __powerpc64__. - - * sysdeps/generic/ldsodefs.h (_dl_argv, _dl_argv_internal): If - DL_ARGV_NOT_RELRO defined, don't use attribute_relro. - * sysdeps/alpha/dl-machine.h (DL_ARGV_NOT_RELRO): Remove. - * sysdeps/ia64/dl-machine.h (DL_ARGV_NOT_RELRO): Remove. - * sysdeps/sparc/sparc32/dl-machine.h (DL_ARGV_NOT_RELRO): Remove. - * sysdeps/sparc/sparc64/dl-machine.h (DL_ARGV_NOT_RELRO): Remove. - * sysdeps/alpha/dl-sysdep.h: New file. - * sysdeps/ia64/dl-sysdep.h: New file. - * sysdeps/sparc/dl-sysdep.h: New file. - -2004-02-19 Jakub Jelinek - - * sysdeps/sparc/sparc32/bits/atomic.h: Add __make_section_unallocated - for .gnu.linkonce.b.__sparc32_atomic_locks section. - (__sparc32_atomic_locks): Add __sec_comment at the end of section name. - -2004-02-19 Steven Munroe - - * sysdeps/generic/libc-start.c [LIBC_START_DISABLE_INLINE] (STATIC): - Define as static. - * sysdeps/powerpc/elf/libc-start.c: Define LIBC_START_DISABLE_INLINE - because gcc does not allow inline of functions that call setjmp. - -2004-02-19 Steven Munroe - - * sysdeps/powerpc/powerpc64/Makefile: Use -finline-limit. - -2004-02-19 Jakub Jelinek - - * elf/rtld.c (_dl_argv): If DL_ARGV_NOT_RELRO defined, don't - use attribute_relro for _dl_argv. - * sysdeps/alpha/dl-machine.h (DL_ARGV_NOT_RELRO): Define. - * sysdeps/ia64/dl-machine.h (DL_ARGV_NOT_RELRO): Define. - * sysdeps/sparc/sparc32/dl-machine.h (DL_ARGV_NOT_RELRO): Define. - * sysdeps/sparc/sparc64/dl-machine.h (DL_ARGV_NOT_RELRO): Define. - -2004-02-19 Ulrich Drepper - - * libio/iopopen.c (_IO_new_proc_open): It's not kosher to use - vfork instead of fork. - * libio/oldiopopen.c (_IO_old_proc_open): Likewise. - - * sysdeps/unix/clock_settime.c (clock_settime): Fix typo which - prevented system-dependent handling from being used. - -2004-02-18 Carlos O'Donell - - * test-skeleton.c (main): If set, use environment variable - TIMEOUTFACTOR to scale test TIMEOUT. - -2004-02-18 Ulrich Drepper - - * nscd/nscd_conf.c: Include . - -2004-02-16 Ulrich Drepper - - * stdlib/test-canon.c (do_test): Test realpath(,NULL) in the loop - as well. - - * stdlib/canonicalize.c (__realpath): Remove unnecessary copy - operations. - - * nscd/nscd_conf.c (nscd_parse_file): Little optimization. - -2004-02-14 Thorsten Kukuk - - * nscd/dbg_log.c (set_logfile): Only save name of logfile, - don't open it. - (init_logfile): New function, open logfile if requested. - * nscd/dbg_log.h: Adjust protoype for set_logfile, add init_logfile. - * nscd/nscd.c (main): Call init_logfile after forking in background. - * nscd/nscd_conf.c (nscd_parse_file): Adjust for new set_logfile. - -2004-02-16 Ulrich Drepper - - * elf/rtld.c (dl_main): Don't fail execution if file named in - ld.so.preload is not present [BZ #18]. - - * sysdeps/posix/getaddrinfo.c (getaddrinfo): Undo unintended - changes in last patch. - - * posix/regexec.c (transit_state): Fix typo in commented-out code - [BZ #6]. - - * sysdeps/posix/getaddrinfo.c (match_prefix): Correctly match - partial bytes [BZ #24]. - * posix/Makefile (tests): Add bug-ga1. - * posix/bug-ga1.c: New file. - -2004-02-13 Steven Munroe - - * sysdeps/powerpc/powerpc64/__longjmp-common.S: New file. - * sysdeps/powerpc/powerpc64/__longjmp.S [NOT_IN_libc](__longjmp): - Non-versioned __longjmp for rtld-__longjmp. - [!NOT_IN_libc](__vmx__longjmp): Add VMX reg support and define as - default version of __longjmp. - [SHARED && SHLIB_COMPAT (libc, GLIBC_2_3, GLIBC_2_3_4)] - (__novmx__longjmp): Original version of __longjmp. - * sysdeps/powerpc/powerpc64/bsd-_setjmp.S [NOT_IN_libc](_setjmp): - Non-versioned _setjmp for rtld-_setjmp. - [!NOT_IN_libc](__vmx_setjmp): Branch to __vmx__sigsetjmp and define - as default version of _setjmp. - [SHARED && SHLIB_COMPAT (libc, GLIBC_2_3, GLIBC_2_3_4)] - (__novmx_setjmp): Original version of _setjmp. - * sysdeps/powerpc/powerpc64/bsd-setjmp.S (__vmxsetjmp): Branch to - __vmx__sigsetjmp and define as default version of setjmp. - [SHARED && SHLIB_COMPAT (libc, GLIBC_2_3, GLIBC_2_3_4)] - (__novmxsetjmp): Original version of setjmp. - * sysdeps/powerpc/powerpc64/setjmp-common.S: New file. - * sysdeps/powerpc/powerpc64/setjmp.S [NOT_IN_libc](__setjmp): - Non-versioned __sigsetjmp for rtld-setjmp. - [!NOT_IN_libc](__vmx__sigsetjmp): Add VMX reg support and define - as default version of __sigsetjmp. - [SHARED && SHLIB_COMPAT (libc, GLIBC_2_3, GLIBC_2_3_4)] - (__novmx__sigsetjmp): Original version of __sigsetjmp. - - * sysdeps/powerpc/powerpc32/__longjmp-common.S: New File - * sysdeps/powerpc/powerpc32/__longjmp.S [NOT_IN_libc](__longjmp): - Non-versioned __longjmp for rtld-__longjmp. - [!NOT_IN_libc](__vmx__longjmp): Add VMX reg support and define as - default version of __longjmp. - [SHARED && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4)] - (__novmx__longjmp): Original version of __longjmp. - * sysdeps/powerpc/powerpc32/bsd-_setjmp.S [NOT_IN_libc](_setjmp): - Non-versioned _setjmp for rtld-_setjmp. - [!NOT_IN_libc](__vmx_setjmp): Branch to __vmx__sigsetjmp and define - as default version of _setjmp. - [SHARED && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4)] - (__novmx_setjmp): Original version of _setjmp. - * sysdeps/powerpc/powerpc32/bsd-setjmp.S (__vmxsetjmp): Branch to - __vmx__sigsetjmp and define as default version of setjmp. - [SHARED && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4)] - (__novmxsetjmp): Original version of setjmp. - * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: New file. - * sysdeps/powerpc/powerpc32/fpu/__longjmp.S [NOT_IN_libc](__longjmp): - Non-versioned __longjmp for rtld-__longjmp. - [!NOT_IN_libc](__vmx__longjmp): Add VMX reg support and define as - default version of __longjmp. - [SHARED && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4)] - (__novmx__longjmp): Original version of __longjmp. - * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: New file. - * sysdeps/powerpc/powerpc32/fpu/setjmp.S [NOT_IN_libc](__setjmp): - Non-versioned __sigsetjmp for rtld-setjmp. - [!NOT_IN_libc](__vmx__sigsetjmp): Add VMX reg support and define - as default version of __sigsetjmp. - [SHARED && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4)] - (__novmx__sigsetjmp): Original version of __sigsetjmp. - * sysdeps/powerpc/powerpc32/setjmp-common.S: New file. - * sysdeps/powerpc/powerpc32/setjmp.S [NOT_IN_libc](__setjmp): - Non-versioned __sigsetjmp for rtld-setjmp. - [!NOT_IN_libc](__vmx__sigsetjmp): Add VMX reg support and define - as default version of __sigsetjmp. - [SHARED && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4)] - (__novmx__sigsetjmp): Original version of __sigsetjmp. - - * sysdeps/powerpc/Dist: New File. - * sysdeps/powerpc/Makefile (sysdep_routines): Add novmx-longjmp.c - and novmx-sigjmp.c - * sysdeps/powerpc/Versions (libc): To GLIBC_2.3_4 add _longjmp, - __sigsetjmp, _setjmp, longjmp, and setjmp. To GLIBC_PRIVATE add - __novmx__libc_longjmp, __novmx__libc_siglongjmp, __vmx__libc_longjmp, - and __vmx__libc_siglongjmp. - * sysdeps/powerpc/bits/setjmp.h: Define JB_VRSAVE, JB_VRS, and adjust - JB_SIZE to add VMX regs to __jmp_buf. - * sysdeps/powerpc/longjmp.c: New file. - * sysdeps/powerpc/novmxsetjmp.h: New file. - * sysdeps/powerpc/novmx-longjmp.c: New file. - * sysdeps/powerpc/novmx-sigjmp.c: New file. - * sysdeps/powerpc/sigjmp.c: New file. - -2004-02-13 Jakub Jelinek - - * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c (__lrintf, lrintf): - Define. - (__lrintl, lrintl): Remove. - * sysdeps/powerpc/powerpc64/fpu/s_llrint.c (__lrint): Fix a typo in - strong_alias spelling. - * sysdeps/powerpc/powerpc64/fpu/s_lrintf.S: Remove. - * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: New file. - -2004-02-12 Ulrich Drepper - - * posix/getopt.h: Add some non-gcc support. Patch by Aharon Robbins. - -2004-02-12 Mark Brown - - * sysdeps/ia64/fpu/e_fmodf.S: Added text of Intel license. - -2004-02-12 Jakub Jelinek - - * sysdeps/powerpc/fpu/s_lrint.c: Move to... - * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: ... here. - * sysdeps/powerpc/fpu/s_llrint.c: Move to... - * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: ... here. - * sysdeps/powerpc/fpu/s_llrintf.c: Move to... - * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: ... here. - * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file. - * sysdeps/powerpc/powerpc64/fpu/s_lrintf.S: New file. - * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: New file. - - * math/libm-test.inc (lrint_test): Add new test. - (llrint_test, lround_test, llround_test): Likewise. - * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Fix special case - with result taking up 48 bits. - * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise. - * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise. - * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Fix special case - with result taking up 31 bits. - -2004-02-12 Ulrich Drepper - - * locale/programs/locale.c (show_locale_vars): Don't print a value - for LANG if it is not set. - -2004-02-11 Jakub Jelinek - - * posix/regexec.c (check_node_accept_bytes): Return 0 if char_len is 0. - (find_collation_sequence_value): Don't look beyond end of - SYMB_EXTRAMB table. - * posix/Makefile (tests): Add bug-regex23. - (bug-regex23-ENV): New. - * posix/bug-regex23.c: New file. - -2004-02-10 Roland McGrath - - * sysdeps/mach/hurd/times.c (__times): Use union instead of cast. - * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Likewise. - - * sysdeps/mach/hurd/configure.in: Move `retcode' check to ... - * sysdeps/mach/configure.in: ... here. - * sysdeps/mach/hurd/configure: Regenerated. - * sysdeps/mach/configure.in: Regenerated. - -2004-02-10 Ulrich Drepper - - * sysdeps/generic/setenv.c (__add_to_environ): Don't let the - temporary copies of the variables accumulate on the stack. - - * stdio-common/_i18n_number.h: Finish last patch. - -2004-02-09 Ulrich Drepper - - * sysdeps/i386/i686/memcmp.S: New file. Patch by HJ Lu. - -2003-12-05 Roland McGrath - - * sysdeps/unix/sysv/linux/i386/syscalls.list: Turn vm86 into vm86old - for vm86@GLIBC_2.0 version. Add new vm86@GLIBC_2.3.4. - * sysdeps/unix/sysv/linux/i386/Versions (libc: GLIBC_2.3.4): Add vm86. - * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Update vm86 prototype. - -2004-02-09 Ulrich Drepper - - * nis/ypclnt.c: Cleanup last patch. - -2004-02-09 Andreas Jaeger - - * configure.in: Remove glibcbug creation. - * configure: Regenerated. - - * sysdeps/x86_64/fpu/s_copysignf.S: Only load 4 bytes. - -2004-02-03 Thorsten Kukuk - - * nis/ypclnt.c (__yp_bind_client_create): New, small chunk - of duplicated code from __yp_bind. - (__yp_bind_file): New, binding dir code from __yp_bind. - (__yp_bind_client_create): New, ypbind code from __yp_bind. - (__ypclnt_call): New, make NIS query. - (do_ypcall): At first use cached data, then try data from - binding directory, after this ask ypbind for a working ypserv. - Based on a patch from Jeff Bastian and - Chris Barrera - -2004-01-19 Roland McGrath - - * configure.in: Don't set CCVERSION. - * configure: Regenerated. - * glibcbug.in: File removed. - * Makefile (install-bin-script): Remove glibcbug. - (glibcbug): Target removed. - (distclean-1): Don't rm glibcbug. - (distribute): Remove glibcbug.in. - -2004-02-09 Roland McGrath - - * time/tzset.c (tzset_internal): Cap hour in POSIX $TZ rule format to - 24, not 23. - -2004-01-29 Roland McGrath - - * io/ftwtest-sh: Use $tmp consistently, not literal /tmp. - Reported by Kevin P. Fleming . - -2004-02-09 Ulrich Drepper - - * libio/genops.c (_IO_cleanup): Do not use locking when flushing - the buffers. Some thread might be using a stream. - -2004-02-09 Andreas Jaeger - - * sysdeps/x86_64/memcpy.S: Fix alignment [BZ #7]. - Patch by Jan Beulich . - -2004-02-09 Andreas Schwab - - * include/rpc/rpc.h: Declare thread variables with their correct type. - * sunrpc/clnt_perr.c: Don't cast thread variables. - * sunrpc/clnt_raw.c: Likewise. - * sunrpc/clnt_simp.c: Likewise. - * sunrpc/key_call.c: Likewise. - * sunrpc/svcauth_des.c: Likewise. - * sunrpc/svc.c: Likewise. - * sunrpc/svc_raw.c: Likewise. - * sunrpc/svc_simple.c: Likewise. - -2004-02-09 Ulrich Drepper - - * stdio-common/_i18n_number.h: Support printing localized decimal - point and thousand separator. - * wctype/wctrans.c: Add __wctrans alias. - * include/wctype.h: Declare __wctrans. - Based on a patch by Hamed Malek. - - * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Don't touch bits - other than the status bits [BZ #10]. - -2004-02-08 Ulrich Drepper - - Make stream locking operations really work. - * misc/Makefile (CFLAGS-mntent_r.c): Define. - * shadow/Makefile (CFLAGS-fgetspent_r.c): Define. - (CFLAGS-putspent.c): Define. - * grp/Makefile (CFLAGS-fgetgrent_r.c): Define. - (CFLAGS-putgrent.c): Define. - * pwd/Makefile (CFLAGS-fgetpwent_r.c): Define. - Reported by Shunichi Sagawa . - - * elf/dl-load.c (lose): Use noinline attribute instead of silly - alloca to prevent inlining. - * elf/dl-runtime.c (fixup): Likewise. - (profile_fixup): Likewise. - - * stdio-common/printf_size.c: Undo parts of patch from 2000-2-11. - Initialize width correctly. - -2004-02-07 Andreas Jaeger - - * iconv/gconv_simple.c (ucs4le_internal_loop): Remove cast used as - lvalue. - (internal_ucs4le_loop_single): Likewise. - (ucs4_internal_loop): Likewise. - (BODY): Likewise. - (internal_ucs4_loop_single): Likewise. - * iconvdata/iso8859-1.c (BODY): Likewise. - * iconvdata/cp1255.c (EMIT_SHIFT_TO_INIT): Likewise. - * iconvdata/cp1258.c (EMIT_SHIFT_TO_INIT): Likewise. - * iconvdata/gb18030.c (BODY): Likewise. - * iconvdata/armscii-8.c (BODY): Likewise. - * stdlib/msort.c (msort_with_tmp): Likewise. - - * iconv/gconv_open.c (__gconv_open): Remove conditional expression - as lvalue. - -2004-02-06 Steven Munroe - - * sysdeps/powerpc/powerpc32/dl-machine.c: Declare __cache_line_size as - weak extern. - (__elf_machine_runtime_setup): Invalidate the instruction cache over - the whole range of the PLT. - -2004-02-06 Andreas Schwab - - * posix/regcomp.c (build_range_exp): Fix off-by-one. - (parse_bracket_exp): Likewise. - -2004-02-05 Ulrich Drepper - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Define - _HAVE_STAT_NSEC and _HAVE_STAT64_NSEC. Patch by Anton Blanchard. - -2004-02-02 Paolo Bonzini - - * posix/regexec.c (check_matching): Add P_MATCH_FIRST parameter. - (re_search_internal): Pass new parameter to check_matching. - (check_matching): Unless a parenthesized group is found at the - beginning of the regexp, advance P_MATCH_FIRST until we entered - a state different from the initial state. - -2004-02-01 Ulrich Drepper - - * math/libm-test.inc (lround_test): Add new test. - (llround_test): Likewise. - (lrint_test): Likewise. - (llrint_test): Likewise. - * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Fix special case - with result taking up 20 bits. - * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise. - * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.. - * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Fix special - case with result taking up 31 bits. - * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise. - - * po/nl.po: Update from translation team. - -2004-01-30 Andreas Schwab - - * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_BREAK, - FPE_DECOVF, FPE_DECDIV, FPE_DECERR, FPE_INVASC, FPE_INVDEC, - SEGV_PSTKOVF): Remove underscore prefix from definition. - -2004-01-28 Paolo Bonzini - - Merge regex changes in gawk. - * posix/regcomp.c (build_range_exp) [!_LIBC]: Check validity - of collation elements. - * posix/regex.c: Include limits.h. - * posix/regex.h: Document REG_ECOLLATE correctly. - * posix/regex_internal.h [!_LIBC && !ENABLE_NLS]: Disable NLS. - -2004-01-24 Andreas Jaeger - - * malloc/obstack.h: Import gnulib version. - * malloc/obstack.c: Likewise. - -2004-01-26 David Mosberger - - * elf/link.h (struct dl_phdr_info): Fix typo in comment. - * elf/rtld.c (dl_main): After incrementing dl_nloaded, also - increment dl_load_adds. - * elf/dl-iteratephdr.c (__dl_iterate_phdr): Replace GL(dl_load_subs) - with equivalent GL(dl_load_adds - GL(dl_nloaded). - (dl_iterate_phdr): Likewise. - * elf/dl-close.c (_dl_close): Delete increment of GL(dl_load_subs). - * elf/dl-support.c: Remove global variable _dl_load_subs. - * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove - _dl_load_subs member. - -2004-01-27 Jakub Jelinek - - * elf/rtld.c (_dl_start_final): Don't set l_relro_* here. - (_dl_start): And neither here. - (dl_main): Set GL(dl_loaded)->l_relro_* and - GL(dl_rtld_map)->l_relro_*. - -2004-01-23 David Mosberger - - * sysdeps/generic/ldsodefs.h (struct rtld_global): Add members - _dl_load_adds and _dl_load_subs. - * elf/dl-support.c (_dl_load_adds): New variable. - (_dl_load_subs): Likewise. - * elf/dl-object.c (_dl_new_object): Increment dl_load_adds. - * elf/dl-close.c (_dl_close): Increment dl_load_subs. - * elf/link.h (struct dl_phdr_info): Add members dlpi_adds and - dlpi_subs. - * include/link.h: Likewise. - * elf/dl-iteratephdr.c (__dl_iterate_phdr): Initialize dlpi_adds - and dlpi_subs members. - (dl_iterate_phdr): Likewise. - * elf/tst-dlmodcount.c: New file. - * elf/Makefile (distribute): Mention tst-dlmodcount.c. - (tests): If build-shared, mention tst-dlmodcount. - ($(objpfx)tst-dlmodcount): If build-shared, build and - run tst-dlmodcount. - -2004-01-22 Jakub Jelinek - - * elf/dl-reloc.c (_dl_relocate_object): Move PT_GNU_RELRO protection - into... - (_dl_protect_relro): New routine. - * sysdeps/generic/ldsodefs.h (_dl_protect_relro): New prototype. - * elf/rtld.c (_dl_start_final): Copy l_relro_addr and l_relro_size - from bootstrap_map. - (_dl_main): Don't set GL(_dl_loaded)->l_relro_{addr,size} here. - Call _dl_protect_relro for libraries if prelinking. - -2004-01-23 Richard Henderson - - * Versions.def (libm): Replace GLIBC_2.3.3 with GLIBC_2.3.4. - * sysdeps/alpha/fpu/Versions (libm): Likewise. - * sysdeps/alpha/fpu/cfloat-compat.h (cfloat_versions): Likewise. - * sysdeps/alpha/fpu/s_clog10f.c (clog10f): Likewise. - -2004-01-22 Andreas Jaeger - - * sysdeps/ieee754/dbl-64/e_pow.c (log2): Rename to my_log2 to - avoid warnings for builtin function log2. - - * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Add proper unwind - information. - -2004-01-20 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sys/epoll.h: Add EPOLLONESHOT. - * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise. - Patch by Davide Libenzi. - - * sysdeps/unix/sysv/linux/kernel-features.h: Define - __ASSUME_NO_CLONE_DETACHED for 2.6.2+ kernels. - - * catgets/Makefile ($(objpfx)de.msg): Run sed in C locale. - - * sysdeps/unix/sysv/linux/readahead.c (__readahead): Use off64_t - instead of loff_t. Include . - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add readahead prototype. - * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. - - * elf/dl-load.c: Don't add attribute_relro to max_dirnamelen. - - * sysdeps/generic/inttypes.h: Fix PRI*FAST{16,32} macros. - -2003-12-31 Bruno Haible - - * iconvdata/iso_6937-2.c (to_ucs4): Map 0x7E to U+007E, not U+203E. - Map 0xA6 to U+0023. Map 0xA8 to U+00A4. - (to_ucs4_comb): Map 0xC5 0x20 to U+00AF. - (from_ucs4): Map U+00ED to 0xC2 0x69, not 0xC2 0xE9. - (BODY for TO_LOOP): Don't map U+02DC. Map U+02DD to 0xCD 0x20, not - 0x00 0x20. Don't map U+2500..U+25E3. - -2004-01-19 Jakub Jelinek - - * posix/regexec.c (get_subexp): Remove bkref_str variable. - Extend buffers if needed before comparisons. - (get_subexp_sub): Handle clean_state_log_if_needed failure. - -2004-01-17 Ulrich Drepper - - * sysdeps/i386/i486/bits/atomic.h (atomic_add): Fix test for using - atomic_decrement. Patch by Davin McCall. - -2004-01-13 Daniel Jacobowitz - - * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions) - (__sim_disabled_exceptions, __sim_round_mode): Declare with - hidden data and nocommon. - * sysdeps/powerpc/nofpu/soft-supp.h (__sim_exceptions) - (__sim_disabled_exceptions, __sim_round_mode): Use - libc_hidden_proto. - * sysdeps/powerpc/soft-fp/sfp-machine.h (__sim_exceptions) - (__sim_disabled_exceptions, __sim_round_mode): Likewise. - -2004-01-16 Ulrich Drepper - - * elf/elf.h: Define PT_IA_64_HP_OPT_ANOT, PT_IA_64_HP_HSL_ANOT, and - PT_IA_64_HP_STACK. - -2004-01-16 Richard Henderson - - * include/unistd.h (__libc_enable_secure): Mark attribute_relro. - (__libc_enable_secure_internal): Likewise. - - * elf/dl-load.c: Don't declare __libc_stack_end. - * sysdeps/generic/libc-start.c: Likewise. - * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise. - * sysdeps/generic/segfault.c: Likewise. Include ldsodefs.h. - * sysdeps/generic/backtrace.c: Likewise. - -2004-01-15 Ulrich Drepper - - * Versions.def: Add GLIBC_2.3.4. - -2004-01-15 Richard Henderson - - * sysdeps/unix/alpha/sysdep.h: Revert last change. - -2004-01-15 Richard Henderson - - * sysdeps/alpha/dl-machine.h (RTLD_START): Use _dl_argv_internal. - - * sysdeps/unix/alpha/sysdep.h [PIC] (SYSCALL_ERROR_HANDLER): Use - !samegp relocation. - -2004-01-15 Richard Henderson - - * sysdeps/unix/sysv/linux/alpha/Makefile [stdlib]: Process - ucontext-offsets.sym. - * sysdeps/unix/sysv/linux/alpha/getcontext.S: New file. - * sysdeps/unix/sysv/linux/alpha/makecontext.S: New file. - * sysdeps/unix/sysv/linux/alpha/setcontext.S: New file. - * sysdeps/unix/sysv/linux/alpha/swapcontext.S: New file. - * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: New file. - -2004-01-15 Richard Henderson - - * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Prefix stubs with - __syscall_, move nop inside, adjust users by +4. - -2004-01-14 Steven Munroe - - * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] - (_symbol_version): Use C_SYMBOL_DOT_NAME to create '.'ed symbols. - (_default_symbol_version): Use C_SYMBOL_DOT_NAME to create '.'ed - symbols. - * sysdeps/powerpc/Makefile: Add rtld-global-offsets.sym to - gen-as-const-headers. - * sysdeps/powerpc/elf/rtld-global-offsets.sym: New file. - * sysdeps/powerpc/sysdep.h: Define v# symbols for vector registers. - Define PPC_FEATURE_* masks for Aux Vector AT_HWCAP. - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_SWAPCONTEXT_SYSCALL): Define for PPC and 2.6.0 kernels. - * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h [!__WORDSIZE == 32]: - Declare mcontext_t inline and include altivec state for 64-bit. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Add GLIBC_2.3.4 - versions for setcontext, getcontext, and swapcontext. - - * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Add GLIBC_2.3.4 - versions for setcontext, getcontext, swapcontext, and makecontext. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S - (__getcontext): Upgrade to save Altivec regs and version GLIBC_2_3_4. - [SHLIB_COMPAT (libc, GLIBC_2_3, GLIBC_2_3_4)] (__novec_getcontext): - Compatible with GLIBC_2.3.3 release. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S - (__makecontext): Use parm save area instead of compiler_dw to hold - context pointer. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S - (__setcontext): Upgrade to restore Altivec regs and version - GLIBC_2_3_4. - [SHLIB_COMPAT (libc, GLIBC_2_3, GLIBC_2_3_4)] (__novec_setcontext): - Compatible with GLIBC_2.3.3 release. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S - (__swapcontext): Upgrade to swap Altivec regs and version GLIBC_2_3_4. - [SHLIB_COMPAT (libc, GLIBC_2_3, GLIBC_2_3_4)] (__novec_swapcontext): - Compatible with GLIBC_2.3.3 release. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h - (SIGCONTEXT_V_REGS_PTR, SIGCONTEXT_V_RESERVE): Defined. - -2004-01-12 Steven Munroe - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: Add GLIBC_2.3.4 - versions for setcontext, getcontext, swapcontext, and makecontext. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S - (__getcontext): Upgrade to save Altivec regs and version GLIBC_2_3_4. - [SHLIB_COMPAT (libc, GLIBC_2_3_3, GLIBC_2_3_4)] (__novec_getcontext): - Compatible with GLIBC_2.3.3 release. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S - (__makecontext): Upgrade to align for Altivec regs and version - GLIBC_2_3_4. - [SHLIB_COMPAT (libc, GLIBC_2_3_3, GLIBC_2_3_4)] (__novec_makecontext): - Compatible with GLIBC_2.3.3 release. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S - (__setcontext): Upgrade to restore Altivec regs and version - GLIBC_2_3_4. - [SHLIB_COMPAT (libc, GLIBC_2_3_3, GLIBC_2_3_4)] (__novec_setcontext): - Compatible with GLIBC_2.3.3 release. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S - (__swapcontext): Upgrade to swap Altivec regs and version GLIBC_2_3_4. - [SHLIB_COMPAT (libc, GLIBC_2_3_3, GLIBC_2_3_4)] - (__novec_swapcontext): Compatible with GLIBC_2.3.3 release. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h: - (_UC_VSCR, _UC_VRSAVE): Define. - (_FRAME_BACKCHAIN, _FRAME_LR_SAVE,_FRAME_PARM_SAVE1,_FRAME_PARM_SAVE2, - _FRAME_PARM_SAVE3, _FRAME_PARM_SAVE4): Defined. - -2004-01-15 Ulrich Drepper - - * elf/rtld.c: Handle platforms with HP_TIMING_NONAVAIL defined. - -2004-01-16 Alfred M. Szmidt - - * sysdeps/generic/dl-execstack.c (_dl_make_stack_executable): Adjust - parameter type. - -2004-01-15 Ulrich Drepper - - * elf/elf.h: Fix typo in comment. - - * sysdeps/generic/dl-sysdep.c: Initialize __libc_stack_end. - * elf/rtld.c: Initialize _dl_argv to allow aliasing. - - * resolv/resolv.h: Add RES_USEBSTRING. - * resolv/res_debug.c (p_option): Add handling for RES_USE_INET6, - RES_ROTATE, RES_NOCHECKNAME, and RES_USEBSTRING. - * resolv/res_init.c (res_setioptions): Recognize ip6-bytestring. - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Only perform - bytestring IPv6 lookup with RES_USEBSTRING option is selected. - Otherwise use the two nibble formats. - -2004-01-14 Ulrich Drepper - - * configure.in: Define HAVE_Z_RELRO if the linker supports -z relro. - * config.h.in: Add entry for HAVE_Z_RELRO. - * include/libc-symbols.h: Define attribute_relro. - * elf/dl-load.c: Add attribute_relro to env_path_list, capstr, ncapstr, - max_capstrlen, and max_dirnamelen definitions. - * elf/rtld.c: Add attribute_relro to _dl_argc, _dl_argv, _dl_skip_args, - load_time, start_time, library_path, preloadlist, version_info, - any_debug. - Remove rtld_total_time. Make it a local variable. Pass pointer to - it to print_statistics. Change print_statistics accordingly. - * sysdeps/generic/dl-sysdep.c: Add attribute_relro to _dl_auxv. Use - attribute_relro instead of explicitly assigning variable to the - .data.rel.ro section for __libc_enable_secure and __libc_stack_end. - * sysdeps/generic/ldsodefs.h: Declare __libc_stack_end, _dl_argc, - _dl_argv, _dl_argv_internal with attribute_relro. - -2004-01-13 Segher Boessenkool - - * Makerules (gen-as-const): Don't silently continue on failure. - -2004-01-14 Steven Munroe - - * sysdeps/generic/dl-sysdep.c: Define __libc_stack_end with - rtld_hidden_data_def. - -2004-01-14 Ulrich Drepper - - * libio/libio.h: Add const to function tables types. - * libio/libioP.h: Likewise. - * login/utmp-private.h: Likewise. - * libio/fileops.c: Add const to jump table variable definition. - * libio/genops.c: Likewise. - * libio/iofopncook.c: Likewise. - * libio/iopopen.c: Likewise. - * libio/memstream.c: Likewise. - * libio/obprintf.c: Likewise. - * libio/oldfileops.c: Likewise. - * libio/oldiopopen.c: Likewise. - * libio/strops.c: Likewise. - * libio/vsnprintf.c: Likewise. - * libio/vswprintf.c: Likewise. - * libio/wfileops.c: Likewise. - * libio/wstrops.c: Likewise. - * login/getutent_r.c: Likewise. - * login/getutid_r.c Likewise. - * login/getutline_r.c: Likewise. - * sysdeps/generic/utmp_file.c: Likewise. - -2004-01-09 Bruno Haible - - * intl/gmo.h (MO_REVISION_NUMBER_WITH_SYSDEP_I): New definition. - * intl/loadmsgcat.c (get_sysdep_segment_value): Handle "I". - (_nl_load_domain): Treat major revision 1 like major revision 0. - -2004-01-11 Bruno Haible - - * stdio-common/vfprintf.c (vfprintf): Disallow the 'I' flag after - width or precision has been seen. - -2004-01-08 Bruno Haible - - * intl/loadmsgcat.c (_nl_load_domain): When a string pair uses a system - dependent segment not known to this version of the library, ignore - the string pair instead of crashing. - -2004-01-13 Ulrich Drepper - - * configure.in: Rewrite test to give gcc to clean up after itself. - Patch by Greg Schafer. - - * posix/regex.c: Support crappy compilers and platforms which have - problems with alloca. - * posix/regex_internal.h: Likewise. - Patch by Paolo Bonzini. - -2004-01-12 Paolo Bonzini - - * posix/regcomp.c [_LIBC && !RE_ENABLE_I18N]: - Drop code to support this, it is never true. - (build_range_exp) [!_LIBC]: Do not create a range - in MBCSET for a single-byte character set. - (build_range_exp) [_LIBC]: Do not create a range - in MBCSET for a single-byte character set without - collation elements. - (init_dfa): Do not conditionalize on _LIBC, it - just makes the code less clear. - (parse_bracket_exp): Use NON_MATCH variable in - addition to "mbcset->non_match", not as an - alternative. - (build_charclass_op): rename NOT parameter to - NON_MATCH, use it instead of declaring a variable. - (parse_bracket_exp) [!_LIBC]: Pass NULL for MBCSET - if the character set is single-byte. - -2004-01-14 Jakub Jelinek - - * posix/regcomp.c (peek_token_bracket): Check remaining - string length before re_string_peek_byte (x, 1). - (parse_bracket_symbol): Likewise. - * posix/regex_internal.h (re_string_is_single_byte_char): Return - true at last byte in the string. - * posix/bug-regex22.c (main): Add new test. - -2004-01-13 Ulrich Drepper - - * sysdeps/generic/dl-sysdep.c: Move __libc_enable_secure into - .data.rel.ro. - - * sysdeps/x86_64/dl-machine.h: Include . - - * elf/rtld.c (_dl_start_final): Initialze __libc_stack_end here. - * sysdeps/generic/dl-sysdep.c: Define __libc_stack_end with - rtld_hidden_def and move into .data.rel.ro section. - * sysdeps/generic/ldsodefs.h: Declare __libc_stack_end with - rtld_hidden_proto. - * sysdeps/generic/libc-start.c: Only initialize __libc_stack_end here - if !SHARED. - -2004-01-13 Richard Henderson - - * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typo. - -2004-01-13 Ulrich Drepper - - * sysdeps/unix/sysv/linux/dl-execstack.c - (_dl_make_stack_executable): Move common code in front. Use - __builtin_expect. - - * sysdeps/unix/sysv/linux/dl-execstack.c: Change interface. Add - challenge for caller. - * sysdeps/generic/ldsodefs.h: Change declaration and type of hook - member in rtld_global appropriately. - * elf/dl-support.c: Likewise. - * elf/dl-load.c (_dl_map_object_from_fd): Take additional paramter. - Pass it on to the changed function. - (_dl_map_object): Pass new parameter to _dl_map_object_from_fd. - -2004-01-13 Richard Henderson - - * sysdeps/alpha/bits/atomic.h (__arch_compare_and_exchange_xxx_8_int): - Cast old up to uint64_t before back down to inner width. - (__arch_compare_and_exchange_xxx_16_int): Likewise. - (__arch_compare_and_exchange_xxx_32_int): Likewise. - (__arch_compare_and_exchange_xxx_64_int): Likewise. - (__arch_compare_and_exchange_val_8_int): Cast result to - the type of the memory. - (__arch_compare_and_exchange_val_16_int): Likewise. - (__arch_compare_and_exchange_val_32_int): Likewise. - (__arch_compare_and_exchange_val_64_int): Likewise. - (atomic_compare_and_exchange_bool_acq): Use __atomic_bool_bysize. - (atomic_compare_and_exchange_bool_rel): Likewise. - - * sysdeps/unix/alpha/sysdep.h: Select inline_syscall_r0_asm - based on HAVE___THREAD instead of USE_TLS. - - * sysdeps/unix/sysv/linux/alpha/adjtime.c (ADJTIMEX32): New. - (__adjtimex_tv64): Use it. - - * sysdeps/unix/sysv/linux/alpha/semctl.c (__new_semctl): Cast - to void* rather than directly to the compatibility structure type. - * sysdeps/unix/sysv/linux/alpha/shmctl.c (__new_shmctl): Likewise. - - * sysdeps/unix/sysv/linux/alpha/sigaction.c (struct kernel_sigaction): - Forward declare. - -2004-01-13 Richard Henderson - - * Versions.def (libm): Add GLIBC_2.3.3. - * sysdeps/alpha/fpu/Versions: Add __c1_c*f and c*f to GLIBC_2.3.3. - * sysdeps/alpha/fpu/cabsf.c, sysdeps/alpha/fpu/cargf.c, - sysdeps/alpha/fpu/cfloat-compat.h, sysdeps/alpha/fpu/cimagf.c, - sysdeps/alpha/fpu/conjf.c, sysdeps/alpha/fpu/crealf.c, - sysdeps/alpha/fpu/s_cacosf.c, sysdeps/alpha/fpu/s_cacoshf.c, - sysdeps/alpha/fpu/s_casinf.c, sysdeps/alpha/fpu/s_casinhf.c, - sysdeps/alpha/fpu/s_catanf.c, sysdeps/alpha/fpu/s_catanhf.c, - sysdeps/alpha/fpu/s_ccosf.c, sysdeps/alpha/fpu/s_ccoshf.c, - sysdeps/alpha/fpu/s_cexpf.c, sysdeps/alpha/fpu/s_clog10f.c, - sysdeps/alpha/fpu/s_clogf.c, sysdeps/alpha/fpu/s_cpowf.c, - sysdeps/alpha/fpu/s_cprojf.c, sysdeps/alpha/fpu/s_csinf.c, - sysdeps/alpha/fpu/s_csinhf.c, sysdeps/alpha/fpu/s_csqrtf.c, - sysdeps/alpha/fpu/s_ctanf.c, sysdeps/alpha/fpu/s_ctanhf.c: New files. - * sysdeps/alpha/fpu/bits/mathdef.h: Rename complex float - functions for gcc 3.3. - - * sysdeps/generic/s_cacosf.c, sysdeps/generic/s_cacoshf.c, - sysdeps/generic/s_casinf.c, sysdeps/generic/s_casinhf.c, - sysdeps/generic/s_catanf.c, sysdeps/generic/s_catanhf.c, - sysdeps/generic/s_ccosf.c, sysdeps/generic/s_ccoshf.c, - sysdeps/generic/s_cexpf.c, sysdeps/generic/s_clog10f.c, - sysdeps/generic/s_clogf.c, sysdeps/generic/s_cpowf.c, - sysdeps/generic/s_cprojf.c, sysdeps/generic/s_csinf.c, - sysdeps/generic/s_csinhf.c, sysdeps/generic/s_csqrtf.c, - sysdeps/generic/s_ctanf.c, sysdeps/generic/s_ctanhf.c: Don't - weak_alias if the function name has been #defined. - - * math/cabsf.c: Move ... - * sysdeps/generic/cabsf.c: ... here. - * math/cargf.c: Move ... - * sysdeps/generic/cargf.c: ... here. - * math/cimagf.c: Move ... - * sysdeps/generic/cimagf.c: ... here. - * math/conjf.c: Move ... - * sysdeps/generic/conjf.c: ... here. - * math/crealf.c: Move ... - * sysdeps/generic/crealf.c: ... here. - -2004-01-13 Ulrich Drepper - - * Makeconfig: Define relro-LDFLAGS if have-z-relro==yes. Add it to - LDFLAGS.so and LDFLAGS-rtld. - (+link): Add relro-LDFLAGS. - * Makeconfig (shlib.lds): Place __libc_subfreeres, __libc_atexit, and - __libc_thread_subfreeres sections after .jcr section. - * config.make.in: Add have-z-relro. - * configure.in: Add check for -z relro option. - * include/link.h (struct link_map): Add relro_addr and relro_size - members. - * elf/dl-load.c (_dl_map_object_from_fd): Recognize PT_GNU_RELRO. - * elf/dl-reloc.c (_dl_relocate_object): At the end, make relro - part of loaded segments read-only. - * elf/elf.h: Define PT_GNU_RELRO. - * elf/rtld.c (_dl_start): Recognize PT_GNU_RELRO of ld.so. - (dl_main): Recognize PT_GNU_RELRO of the application. Call - _dl_debug_initialize and initialize l_info[DT_DEBUG] before - relocations. - -2004-01-12 Jakub Jelinek - - * sysdeps/x86_64/strcspn.S: Fix typo in last patch. - -2004-01-11 Andreas Jaeger - - * sysdeps/x86_64/__longjmp.S: Add cfi directives. - -2004-01-10 Andreas Jaeger - - * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Add cfi directives. - * sysdeps/unix/x86_64/sysdep.S (__syscall_error): Likewise. - * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise. - * sysdeps/x86_64/strcspn.S: Likewise. - * sysdeps/x86_64/strspn.S: Likewise. - -2004-01-08 Jakub Jelinek - - * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Add cfi_endproc - right before syscall and cfi_startproc before PSEUDO_END. - Clear %rbp in thread_start. - -2004-01-05 Jakub Jelinek - - * posix/regcomp.c (regcomp): Fix comment typo. - (regfree): Free preg->translate, clear buffer, allocated, fastmap - and translate fields. - - * posix/regcomp.c (build_charclass, buld_charclass_op): Change first - argument to unsigned RE_TRANSLATE_TYPE. - * posix/regex_internal.h (re_string_t): Change trans type to - unsigned RE_TRANSLATE_TYPE. - * posix/regex_internal.c (re_string_construct_common): Cast - trans to unsigned RE_TRANSLATE_TYPE. - (re_string_peek_byte_case, re_string_fetch_byte_case): Avoid fast - path if pstr->trans. Never translate the character through - pstr->trans. - * posix/Makefile (tests): Add bug-regex22. - (bug-regex22-ENV): Set. - * posix/bug-regex22.c: New test. - -2004-01-02 Paolo Bonzini - - * posix/regex_internal.c (re_node_set_add_intersect, - re_node_set_merge): Rewritten. - (re_node_set_insert, re_node_set_remove_at): - Avoid memmove, we know what direction we should copy and that we - are copying 32-bit words. - (re_node_set_compare): Iterate backwards. - -2003-12-30 Paul Eggert - - * time/mktime.c (verify): New macro. - (time_t_is_integer, twos_complement_arithmetic, - right_shift_propagates_sign, base_year_is_a_multiple_of_100, - C99_integer_division): Document these longstanding assumptions in the - code, and verify them at compile-time. - -2004-01-02 Jakub Jelinek - - * posix/regex_internal.h (re_match_context_t): Add dfa member. - * posix/regexec.c (match_ctx_free_subtops, search_cur_bkref_entry, - match_ctx_add_sublast, sift_ctx_init, acquire_init_state_context, - prune_impossible_nodes, check_halt_state_context, proceed_next_node, - sift_states_backward, update_cur_sifted_state, check_dst_limits, - check_dst_limits_calc_pos, sift_states_bkref, transit_state, - check_subexp_matching_top, transit_state_sb, transit_state_mb, - transit_state_bkref, get_subexp, get_subexp_sub, check_arrival, - check_arrival_add_next_nodes, expand_bkref_cache, check_node_accept): - Remove dfa parameter. Get dfa from mctx. Adjust callers. - (re_search_internal): Initialize mctx.dfa. - - * posix/regex_internal.c (re_node_set_insert): Remove unused variables. - - * posix/regex_internal.h (re_dfa_t): Add syntax field. - * posix/regcomp.c (parse): Initialize dfa->syntax. - * posix/regexec.c (acquire_init_state_context, - prune_impossible_nodes, check_matching, check_halt_state_context, - proceed_next_node, sift_states_iter_mb, sift_states_backward, - update_cur_sifted_state, sift_states_bkref, transit_state, - transit_state_sb, transit_state_mb, transit_state_bkref, - get_subexp, get_subexp_sub, check_arrival, expand_bkref_cache, - build_trtable): Remove preg argument, add dfa argument instead - and remove dfa = preg->buffer initialization in the body. - Adjust all callers. - (check_node_accept_bytes, group_nodes_into_DFAstates, - check_node_accept): Likewise. Use dfa->syntax instead of - preg->syntax. - (check_arrival_add_next_nodes): Remove preg argument. - - * posix/regex_internal.h (re_match_context_t): Make input - re_string_t instead of a pointer to it. - * posix/regex_internal.c (re_string_construct_common): Don't clear - pstr here... - (re_string_construct): ... but only here. - * posix/regexec.c (match_ctx_init): Remove input argument. Don't - initialize fields to zero. - (re_search_internal): Move input into mctx.input. - (acquire_init_state_context, check_matching, - check_halt_state_context, proceed_next_node, - clean_state_log_if_needed, sift_states_bkref, sift_states_iter_mb, - transit_state, transit_state_sb, transit_state_mb, - transit_state_bkref, get_subexp, check_arrival, - check_arrival_add_next_nodes, check_node_accept, extend_buffers): - Change mctx->input into &mctx->input and mctx->input->field into - mctx->input.field. - -2004-01-02 Jakub Jelinek - Paolo Bonzini - - * posix/regex_internal.h (re_const_bitset_ptr_t): New type. - (re_string_t): Add newline_anchor, word_char and word_ops_used fields. - (re_dfa_t): Change word_char type to bitset. Add word_ops_used field. - (re_string_context_at, re_string_reconstruct): Remove last argument. - * posix/regex_internal.c (re_string_allocate): Initialize - pstr->word_char and pstr->word_ops_used. - (re_string_context_at): Remove newline_anchor argument. - Use input->newline_anchor instead, swap && conditions. - Only use IS_WIDE_WORD_CHAR if input->word_ops_used != 0. - Use input->word_char bitmap instead of IS_WORD_CHAR. - (re_string_reconstruct): Likewise. - Adjust re_string_context_at caller. - * posix/regexec.c (acquire_init_state_context, - check_halt_state_context, transit_state, transit_state_sb, - transit_state_mb, transit_state_bkref, check_arrival, - check_node_accept): Adjust re_string_context_at and - re_string_reconstruct callers. - (re_search_internal): Likewise. Set input.newline_anchor. - (build_trtable): Use dfa->word_char bitmap instead of IS_WORD_CHAR. - * posix/regcomp.c (init_word_char): Change return type to void. - Set dfa->word_ops_used. - (free_dfa_content): Don't free dfa->word_char. - (parse_expression): Remove error handling for init_word_char. - -2004-01-01 Paolo Bonzini - - * posix/regex_internal.h (re_dfastate_t): Fix size of the CONTEXT - bitfield. - - * posix/regex_internal.c (re_node_set_insert): Rewrite. - -2004-01-01 Ulrich Drepper - - * posix/getconf.c: Update copyright year. - * nss/getent.c: Likewise. - * nscd/nscd_nischeck.c: Likewise. - * iconv/iconvconfig.c: Likewise. - * iconv/iconv_prog.c: Likewise. - * elf/ldconfig.c: Likewise. - * catgets/gencat.c: Likewise. - * csu/version.c: Likewise. - * elf/ldd.bash.in: Likewise. - * elf/sprof.c (print_version): Likewise. - * locale/programs/locale.c: Likewise. - * locale/programs/localedef.c: Likewise. - * nscd/nscd.c (print_version): Likewise. - * debug/xtrace.sh: Likewise. - * malloc/memusage.sh: Likewise. - * malloc/mtrace.pl: Likewise. - -2004-01-01 Petter Reinholdtsen - - * stdlib/strfmon.c: Make formatting of left-justified currency - values match the the POSIX standard. When using format string - "[%-14#5.4n]" to print -123.45, the result should be - "[-$ 123.4500 ]", not "[-$123.4500 ]". - -2004-01-01 Andreas Jaeger - - * resolv/Makefile (generated): New. - -2003-12-31 Joseph S. Myers - - * CONFORMANCE: Update. - -2003-12-30 Paul Eggert - - * time/mktime.c: (my_mktime_localtime_r): - Remove. All uses changed to __localtime_r. - (__localtime_r) [!defined _LIBC]: New macro. Include "time_r.h" to - get its implementation. - Fix compile-command to allow for TIME_R_POSIX. - - * time/strftime.c (my_strftime_gmtime_r, my_strftime_localtime_r): - Remove. All uses changed to __localtime_r and __gmtime_r. - (__gmtime_r, __localtime_r) [!HAVE_TM_GMTOFF]: New macros. - Include "time_r.h" to get their implementations. - - * time/timegm.c: Allow use in GNU applications outside glibc. - [defined HAVE_CONFIG_H]: Include . - [!defined _LIBC]: Include "timegm.h", . - Define __gmtime_r, and declare __mktime_internal. - (timegm): Define via a prototype, since we can safely assume C89 now. - - * time/mktime.c (check_result): Use less-confusing report format. - "long" -> "long int", as per usual GNU style. - (main): Likewise. - Don't loop if the iteration overflows time_t. - Allow a negative step in the iteration. - - * time/mktime.c: Assume freestanding C89 or better. - (HAVE_LIMITS_H, STDC_HEADERS) [defined _LIBC]: Remove; - assume they're 1. - (__P): Remove; not used. - (CHAR_BIT, INT_MIN, INT_MAX): Remove; defines them. - (mktime, not_equal_tm, print_tm, check_result, main): Use prototypes. - Prototypes use const * where appropriate. - (main) [DEBUG]: Fix typo in testing code uncovered by above changes, - which caused the testing code to dump core on some hosts. - -2003-12-31 Ulrich Drepper - - * locale/setlocale.c (setlocale): Avoid duplicating locale names - if we can reuse old strings. - - * inet/rcmd.c: Provide better error message in case of unknown - host. Remove USE_IN_LIBIO. - - * nscd/nscd.init: Updated version, more conforming with current - init file standards. - - * nscd/nscd-client.h (_PATH_NSCDPID): Move the file into - /var/run/nscd directory. - (_PATH_NSCDSOCKET): Likewise. - - * test-skeleton.c (timeout_handler): Fix error message. - - * elf/dl-dst.h (DL_DST_REQUIRED): Avoid the complex operations if - CNT == 0. - -2003-12-30 Jakub Jelinek - - * posix/regexec.c (get_subexp): Only set bkref_str after the first - loop, use buf + bkref_str_off in the loop instead. - * posix/bug-regex11.c (tests): Add 3 new tests. - - * posix/regexec.c (clean_state_log_if_need): Rename to... - (clean_state_log_if_needed): ...this. - (transit_state_mb, get_subexp_sub): Adjust callers. - - * sunrpc/pmap_clnt.c (pmap_set): Do CLNT_DESTROY even if CLNT_CALL - failed. Reported by Steve Grubb. - -2003-12-29 Ulrich Drepper - - * elf/elf.h: Add a few definitions from Solaris 9. - -2003-12-29 Andreas Schwab - - * stdio-common/Makefile (CFLAGS-errlist.c, CFLAGS-siglist.c): Add - $(fno_unit_at_a_time) to avoid reordering assembler output. - -2003-12-29 Jakub Jelinek - - * posix/regexec.c (re_copy_regs): Revert comment change. - Avoid memory leak if realloc fails. - (proceed_next_node): Return -2 if re_node_set_insert fails. - Return -2 if push_fail_stack fails. - (push_fail_stack): Change fs->alloc only after successful realloc. - (pop_fail_stack): Formatting. - (set_regs): If proceed_next_node returns -2, free eps_via_nodes and fs. - (check_arrival_add_next_nodes): Merge identical statements - from if branches. - - * signal/Makefile (tests): Add tst-raise. - * signal/tst-raise.c: New test. - -2003-12-28 Ulrich Drepper - - * posix/regcomp.c (mark_opt_subexp_iter): Declare IDX as int. - - * posix/regexec.c (re_copy_regs): Fix testing for failed allocation. - (push_fail_stack): Add missing check for failed memory allocation. - - * libio/libio.h: Use __builtin_expect in _IO_getc_unlocked, - _IO_peekc_unlocked, _IO_putc_unlocked, _IO_getwc_unlocked, and - _IO_putwc_unlocked. - -2003-12-28 Andreas Jaeger - - * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise only - overflow for 0 as argument. Raise Invalid exception for negative args. - * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise. - * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y0): Likewise. - * sysdeps/ieee754/ldb-128/e_jnl.c (__ieee754_ynl): Likewise. - * sysdeps/ieee754/ldb-128/e_j0l.c (__ieee754_y0l): Likewise. - * sysdeps/ieee754/ldb-128/e_j1l.c (__ieee754_y1l): Likewise. - * sysdeps/ieee754/ldb-96/e_jnl.c (__ieee754_ynl): Likewise. - * sysdeps/ieee754/ldb-96/e_j0l.c (__ieee754_y0l): Likewise. - * sysdeps/ieee754/ldb-96/e_j1l.c (__ieee754_y1l): Likewise. - * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise. - * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise. - * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise. - - * math/libm-test.inc (yn_test): Expect invalid exception for - negative arguments. - (y0_test): Likewise. - (y1_test): Likewise. - - * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not raise - execptions for exp(NaN). - -2003-12-23 Paolo Bonzini - - * posix/regex_internal.c (re_dfa_add_node): Initialize opt_subexp. - * posix/regex_internal.h (re_token_type_t): Put OP_DUP_PLUS - among the tokens, rather than among the epsilon-transiting nodes. - (re_token_t): Add the opt_subexp flag. - * posix/regcomp.c (optimize_utf8, calc_first, - calc_next, calc_epsdest): Don't consider OP_DUP_PLUS. - (mark_opt_subexp, mark_opt_subexp_iter): New functions. - (parse_dup_op): Mostly rewritten, lowering OP_DUP_PLUS to - OP_DUP_ASTERISK and marking optional subexpressions - as such using mark_opt_subexp. - * posix/regexec.c (set_regs): Initialize PREV_INDEX_MATCH - and pass it to update_regs. - (update_regs): Use the PREV_INDEX_MATCH parameter, together - with the opt_subexp flag, in order to discard a final empty - match of a repeated subexpression. - * posix/BOOST.tests: Adjust test vectors. - * posix/PCRE.tests: Likewise. - * posix/rxspencer/tests: Likewise. - -2000-05-22 Jakub Jelinek - - * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Avoid using ?: - with omitted middle operand. - -2003-12-22 Jakub Jelinek - - * posix/regcomp.c: Remove C99-ism. - * posix/tst-rxspencer.c: Likewise. - Based on a patch by Alex Davis . - -2003-12-17 Paolo Bonzini - - * posix/regex_internal.h [!_LIBC] (internal_function): Define. - (re_string_allocate, re_string_construct, re_string_reconstruct, - re_string_realloc_buffers, build_wcs_buffer, - build_wcs_upper_buffer, build_upper_buffer, - re_string_translate_buffer, re_string_destruct, - re_string_elem_size_at, re_string_char_size_at, - re_string_wchar_at, re_string_context_at, - re_node_set_alloc, re_node_set_init_1 - re_node_set_init_2, re_node_set_init_copy, - re_node_set_add_intersect, re_node_set_init_union, - re_node_set_merge, re_node_set_insert - re_node_set_compare, re_node_set_contains - re_node_set_remove_at, re_dfa_add_node, - re_acquire_state, re_acquire_state_context, - free_state): Add internal_function to declaration. - - * posix/regexec.c (match_ctx_init, match_ctx_clean, - match_ctx_free, match_ctx_free_subtops, - match_ctx_add_entry, search_cur_bkref_entry, - match_ctx_clear_flag, match_ctx_add_subtop, - match_ctx_add_sublast, sift_ctx_init, - re_search_internal, re_search_2_stub, re_search_stub, - re_copy_regs, acquire_init_state_context, - prune_impossible_nodes, check_matching, - check_halt_node_context, check_halt_state_context - update_regs, proceed_next_node, push_fail_stack, - pop_fail_stack, set_regs, free_fail_stack_return, - sift_states_iter_mb, sift_states_backward - update_cur_sifted_state, add_epsilon_src_nodes, - sub_epsilon_src_nodes, check_dst_limits, - check_dst_limits_calc_pos, check_subexp_limits, - sift_states_bkref, clean_state_log_if_need, - merge_state_array, transit_state, - check_subexp_matching_top, transit_state_sb, - transit_state_mb, transit_state_bkref, - get_subexp, get_subexp_sub, find_subexp_node, - check_arrival, check_arrival_add_next_nodes, - find_collation_sequence_value, check_arrival_expand_ecl, - check_arrival_expand_ecl_sub, expand_bkref_cache, - build_trtable, check_node_accept_bytes, extend_buffers, - group_nodes_into_DFAstates, check_node_accept): Likewise. - - * posix/regex_internal.c (re_string_construct_common, - re_string_skip_chars, create_newstate_common, - register_state, create_ci_newstate, create_cd_newstate, - calc_state_hash): Likewise. - (re_string_peek_byte_case, re_fetch_byte_case): Change - declaration from ANSI to K&R. - -2003-12-16 Paolo Bonzini - - * posix/regexec.c (build_trtable): Don't allocate the trtable - until state->word_trtable is known. Don't hardcode UINT_BITS - iterations on each bitset item. - -2003-12-22 Maciej W. Rozycki - - * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_init): - Initialize REF before passing it to _dl_lookup_symbol. - -2003-12-21 Roland McGrath - - * sysdeps/mach/hurd/dl-sysdep.c (_exit): Define with attribute_hidden. - -2003-12-21 Jakub Jelinek - - * posix/regcomp.c (duplicate_node, duplicate_node_closure): Revert - 2003-11-24 changes. - * posix/regexec.c (group_nodes_into_DFAstates): For CHARACTER with - NEXT_{,NOT}WORD_CONSTRAINT check word_char bit. - * posix/bug-regex19.c (tests): Add new tests. - - * posix/regexec.c (check_dst_limits_calc_pos): Fix formatting. - - * posix/regcomp.c (parse_dup_op): Return NULL if dup_elem is NULL, - after checking syntax. Optimize. - (calc_first): Fix comment. - * posix/bug-regex13.c (tests): Add new tests. - -2003-12-21 Roland McGrath - - * manual/arith.texi (Parsing of Integers): Typo fix. - -2003-12-20 Roland McGrath - - * sysdeps/generic/ifreq.c (__ifreq) [_HAVE_SA_LEN]: Fix typo: - add missing dereference of IFREQS before counting loop. - -2003-12-21 Andreas Schwab - - * sysdeps/m68k/m68020/bits/atomic.h: Avoid matching memory - constraints. - -2003-12-20 Ulrich Drepper - - * elf/rtld.c (dl_main): Optimize order of subexpressions in if(). - -2003-12-18 Ulrich Drepper - - * stdio-common/printf_fp.c: Add support to use alternative decimal - digits. - * stdio-common/vfprintf.c (vfprintf): Pass use_outdigits flags to - __printf_fp. Patch by Hamed Malek . - -2003-12-18 Carlos O'Donell - - * sysdeps/unix/sysv/linux/hppa/clone.S (__clone) [PIC]: Save PIC, - reload PIC if we need to call __syscall_error, cleanup asm. - -2003-12-17 Carlos O'Donell - - * sysdeps/hppa/fpu/fclrexcpt.c (feclearexcept): Right shift - FE_ALL_EXCEPT before complimenting. - * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Use asm 'ma,' completer, - and gcc '+r' constraint. - * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise. - * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise. - * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Read raised - exception bits, OR with envp, pass to fesetenv. - * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Add delayed - exception flushing, FE_UNDERFLOW is DBL_MIN/3.0, FE_INEXACT is - triggered by M_PI/69.69 converted to single precision. - * sysdeps/hppa/fpu/fsetexcptflg.c (fesetexceptflag): Set enable - bits not raised exception bits. - - * sysdeps/hppa/Makefile: Add dl-symaddr and dl-fptr to the - correct build strings. - * sysdeps/hppa/dl-fptr.h: New file. - * sysdeps/hppa/dl-fptr.c: Removed. - * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Use _dl_make_ftpr, - remove const qualifier for map. - (_dl_function_address): Removed. - * sysdeps/hppa/dl-lookupcfg.h: DL_LOOKUP_ADDRESS must clear - PLABEL32 bits, define DL_AUTO_FUNCTION_ADDRESS and - DL_STATIC_FUNCTION_ADDRESS, DL_DT_INIT_ADDRESS and - DL_DT_FINI_ADDRESS use the previous two macros. - -2003-12-17 Jakub Jelinek - - * malloc/mtrace.c (tr_old_memalign_hook): New variable. - (tr_memalignhook): New function. - (mtrace): Register tr_memalignhook. - (muntrace): Deregister tr_memalignhook. - * malloc/malloc.c (__posix_memalign): If __memalign_hook != NULL, - call it directly instead of memalign_internal. - -2003-12-17 Ulrich Drepper - - * misc/mntent_r.c: Change encoding to match recently changed decoder. - Patch by Alexander Achenbach . - -2003-12-16 Steven Munroe - - * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Correct definition of - vrregset_t. - -2003-12-16 Steven Munroe - - * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h [!__PPC64_ELF_H]: Extend - conditional to include typedef elf_vrreg_t. - -2003-12-17 Paolo Bonzini - - * posix/regexec.c (re_search_internal): Limit search to the - beginning of the buffer if the initial states are empty for - contexts that do not include CONTEXT_BEGBUF or, if - !preg->newline_anchor, that do not include any one of - CONTEXT_BEGBUF and CONTEXT_NEWLINE. - -2003-12-17 Andreas Jaeger - - * sysdeps/generic/system.c (__libc_system): Fix typo, reported by - Kevin Pedretti . - -2003-12-17 Ulrich Drepper - - * elf/rtld.c: Don't use strong_alias to define _rtld_local. This - removes the visibility attributes which might be defined earlier - for some gcc versions. Instead spell out what strong_alias does - plus the visibility. - -2003-12-16 Petter Reinholdtsen - - * posix/regex_internal.h: Make sure the regex code compile - with non-GCC compilers by hiding attributes. - -2003-12-16 Jakub Jelinek - Paolo Bonzini - - * posix/regexec.c (group_nodes_into_DFAstates): Never produce - dests_ch items that are empty. - -2003-12-14 Paolo Bonzini - - * posix/regexec.c (check_arrival): Remove duplicate test. - -2003-12-15 Ulrich Drepper - - * posix/regcomp.c: Make !RE_ENABLE_I18N work again. - * posix/regex_internal.c: Likewise. - * posix/regexec.c: Likewise. - Patch by Paolo Bonzini. - -2003-12-14 Paolo Bonzini - - * posix/regex_internal.c (re_acquire_state_context): - Compare the node sets after all the other comparisons. - -2003-12-13 Paolo Bonzini - - * posix/regexec.c (find_subexp_node, check_arrival, - check_arrival_add_next_nodes, check_arrival_expand_ecl, - check_arrival_expand_ecl_sub, expand_bkref_cache): - Rename the FL_OPEN parameter to TYPE, which is either - OP_OPEN_SUBEXP or OP_CLOSE_SUBEXP. Callers adjusted. - -2003-12-12 Andreas Jaeger - - * sysdeps/unix/sysv/linux/x86_64/syscall.S: Pass also 6th argument - to syscall. - -2003-12-11 Ulrich Drepper - - * sysdeps/unix/sysv/linux/kernel-features.h: Remove __ASSUME_VSYSCALL. - There might always be processes which have no vDSO. - * sysdeps/generic/dl-sysdep.c: Remove __ASSUME_VSYSCALL uses. - * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. - -2003-12-11 Carlos O'Donell - - * sysdeps/generic/dl-fptr.c (COMPARE_AND_SWAP): Pass new and old - in the right order. - -2003-12-01 Jes Sorensen - - * rt/tst-clock.c (do_test): Print message when skipping - CLOCK_PROCESS_CPUTIME_ID test. - - * sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c: New file. - Provide CLOCK_PROCESS_CPUTIME_ID only if /proc/sal/itc_drift is 0. - -2003-12-02 David Mosberger - - * sysdeps/ia64/elf/initfini.c: Add unwind info. - - * sysdeps/ia64/dl-machine.h (elf_machine_matches_host): Mark with - attribute "unused". - (elf_machine_dynamic): Mark with attributes "unused" and "const". - (elf_machine_runtime_setup): Likewise. - - * sysdeps/generic/dl-fptr.c (make_fptr_table): Mark with - attribute "always_inline". - * sysdeps/ia64/dl-machine.h (__ia64_init_bootstrap_fdesc_table): - Likewise. - - * configure.in: Check whether compiler has libunwind support. - * config.make.in (have-cc-with-libunwind): New variable. - * config.h.in (HAVE_CC_WITH_LIBUNWIND): New macro. - * Makeconfig (gnulib): If have-cc-with-libunwind is "yes", also - mention -lunwind. - -2003-11-12 David Mosberger - - * sysdeps/unix/sysv/linux/ia64/sysdep.h: Define DO_CALL_VIA_BREAK. - Redefine DO_CALL to use vdso if supported, otherwise DO_CALL_VIA_BREAK. - Likewise for DO_INLINE_SYSCALL. Make INTERNAL_SYSCALL use - DO_INLINE_SYSCALL. - - * sysdeps/unix/sysv/linux/ia64/vfork.S: Use DO_CALL_VIA_BREAK() - instead of DO_CALL(). - - * sysdeps/unix/sysv/linux/ia64/clone2.S: Use break directly instead - of DO_CALL(). - - * sysdeps/unix/sysv/linux/ia64/brk.S (__curbrk): Restructure it - to take advantage of DO_CALL() macro. - * sysdeps/unix/sysv/linux/ia64/setcontext.S: Likewise. - * sysdeps/unix/sysv/linux/ia64/getcontext.S: Likewise. - - * elf/rtld.c (dl_main): Restrict dl_sysinfo_dso check to first - program header. On ia64, the check failed previously because - there are two program headers. - -2003-12-10 Andreas Jaeger - Ruediger Oertel - - * sysdeps/alpha/fpu/e_sqrt.c: Mark sqrt_data as used. - -2003-12-07 Ulrich Drepper - - * sysdeps/i386/fpu/s_nexttowardf.c: Construct overflow value correctly. - * sysdeps/i386/fpu/s_nexttoward.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise. - * sysdeps/generic/s_nexttowardf.c: Likewise. - * math/Makefile (tests): Add bug-nexttoward. - * math/bug-nexttoward.c: New file. - - * sysdeps/generic/s_nextafter.c: Make sure overflow exception is set. - * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise. - * math/bug-nextafter.c (main): Add tests for overflow and negative - values. - -2003-12-06 Ulrich Drepper - - * math/Makefile (tests): Add bug-nextafter. - * math/bug-nextafter.c: New file. - * sysdeps/generic/s_nextafter.c: Construct overflow value correctly. - * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise. - * math/libm-test.inc (nextafter_test): Add test for overflow after - +/-FLT_MAX etc. - -2003-12-04 Steven Munroe - - * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Add masking - of fenv. - * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag): Likewise. - -2003-12-05 Martin Schwidefsky - - * sysdeps/s390/s390-32/elf/setjmp.S (setjmp, __setjmp): Add END - statements. - * sysdeps/s390/s390-64/elf/setjmp.S (setjmp, __setjmp): Likewise. - * sysdeps/s390/s390-32/sysdep.h (ENTRY): Add cfi_startproc directive. - (END): Add cfi_endproc directive. - * sysdeps/s390/s390-64/sysdep.h (ENTRY, END): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/socket.S (__socket): Remove - cfi_startproc and cfi_endproc directive. - * sysdeps/unix/sysv/linux/s390/s390-64/socket.S (__socket): Likewise. - * sysdeps/s390/s390-32/addmul_1.S (__mpn_addmul_1): Add CFI directives. - * sysdeps/s390/s390-32/add_n.S (__mpn_add_n): Likewise. - * sysdeps/s390/s390-64/add_n.S (__mpn_add_n): Likewise. - * sysdeps/s390/s390-32/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): - Likewise. - * sysdeps/s390/s390-64/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): - Likewise. - * sysdeps/s390/s390-32/mul_1.S (__mpn_mul_1): Likewise. - * sysdeps/s390/s390-32/sub_n.S (__mpn_sub_n): Likewise. - * sysdeps/s390/s390-64/sub_n.S (__mpn_sub_n): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S (__mmap): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S (syscall): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S (__syscall_error): - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S (__syscall_error): - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Add CFI - directives. Move thread_start out of ENTRY/PSEUDO_END block to - make backchain terminate. - * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise. - - * sysdeps/s390/s390-32/backtrace.c (trace_arg): New structure. - (unwind_backtrace, unwind_getip): New variables. - (init, __backchain_backtrace, backtrace_helper): New functions. - (__backtrace): Use unwind info for backtrace instead of backchain - walking if the unwind functions can be found. - * sysdeps/s390/s390-64/backtrace.c: Likewise. - - * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: New file. - - * sysdeps/unix/sysv/linux/s390/sys/procfs.h (ELF_NGREG32): New #define. - (elf_greg_t32, elf_gregset_t32, elf_fpregset_t32): New types. - (elf_prstatus32, elf_prpsinfo32): New structures. - (prgregset32_t, prfpregset32_t, prstatus32_t, prpsinfo32_t): New types. - - * scripts/data/c++-types-s390-linux-gnu.data: New file. - * scripts/data/c++-types-s390x-linux-gnu.data: New file. - -2003-11-30 Petter Reinholdtsen - - * stdlib/strfmon.c: Correct formatting of international currency - values. The international currency formatting should prefer the - int_* values if they are set for a locale, and use the domestic - values if the int_* values are unset. - -2003-12-03 Jakub Jelinek - - * posix/Makefile (distribute): Add BOOST.tests. - (tests): Add tst-boost, depend on tst-boost-mem. - (generated): Add tst-boost-mem and tst-boost.mtrace. - (tst-boost-ARGS, tst-boost-ENV): Set. - ($(objpfx)tst-boost-mem): New. - * posix/tst-boost.c: New test. - * posix/BOOST.tests: New file. - - * posix/Makefile (distribute): Add PCRE.tests. - (tests): Add tst-pcre, depend on tst-pcre-mem. - (generated): Add tst-pcre-mem and tst-pcre.mtrace. - (tst-pcre-ARGS, tst-pcre-ENV): Set. - ($(objpfx)tst-pcre-mem): New. - * posix/tst-pcre.c: New test. - * posix/PCRE.tests: New file. - -2003-12-02 Jakub Jelinek - - * intl/locale.alias: Use nb_NO instead of no_NO for bokm.l. - - * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated. - * sysdeps/s390/fpu/libm-test-ulps: Regenerated. - -2003-12-03 Ulrich Drepper - - * locale/programs/locarchive.c (enlarge_archive): Print size info - only in verbose mode. - - * locale/iso-3166.def: Three letter code of Romania changed. - -2003-12-02 Roland McGrath - - * scripts/config.sub: Update from master, timestamp='2003-10-20'. - * scripts/config.guess: Update from master, timestamp='2003-10-20'. - -2003-11-30 Andreas Jaeger - - * config.make.in (fno-unit-at-a-time): Define. - - * configure.in: Add test for -fno-unit-at-a-time. - Fix text for -fpie. - - * csu/Makefile (CFLAGS-initfini.s): Add $(fno_unit_at_a_time). - * locale/Makefile (CFLAGS-loadlocale.c): Likewise. - -2003-12-01 Automatic - - * version.h (VERSION): Bump to 2.3.3. - -2003-11-30 Andreas Jaeger - - * stdio-common/vfprintf.c: Do not inline buffered_vfprintf to - decrease stack usage. - -2003-11-30 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/sysdep.h (PSEUDO_ERRVAL) - (PSEUDO_END_ERRVAL, ret_ERRVAL): Define. - -2003-11-29 Ulrich Drepper - - * misc/mntent_r.c (decode_name): Be compatible with util-linux and - recognize \134 as well. - -2003-10-09 H.J. Lu - - * sysdeps/ia64/fpu/fraiseexcpt.c: Don't include . - -2003-10-08 H.J. Lu - - * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Don't include - . - (struct ia64_fpreg): New definition. - - * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Don't include - . - (ELF_NGREG): New #define. - (ELF_NFPREG): Likewise. - (elf_greg_t): New type. - (elf_gregset_t): Likewise. - (elf_fpreg_t): Likewise. - (elf_fpregset_t): Likewise. - -2003-10-08 H.J. Lu - - * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Include - . - (__ptrace_request): Add PTRACE_GETREGS and PTRACE_SETREGS. - (pt_all_user_regs): New type. - -2003-10-10 Simon Josefsson - - * argp/argp-namefrob.h [!_LIBC]: Include mempcpy.h, strcase.h, - strchrnul.h, strndup.h (from gnulib). - * argp/argp-parse.c: Add alloca.h include snippet verbatim from - Autoconf manual. - * argp/argp-help.c: Replace alloca.h include snipper with verbatim - Autoconf manual version. - * argp/argp.h: Map __restrict to restrict or empty string when - necessary, copied verbatim from posix/regex.h. - -2003-10-09 Steven Munroe - - * Makefile: Allow for c++-types-$(config-machine)-$(config-os).data in - addition to c++-types-$(base-machine)-$(config-os).data. - * scripts/data/c++-types-powerpc-linux-gnu.data: New file. - * scripts/data/c++-types-powerpc64-linux-gnu.data: New file. - -2003-11-28 Ulrich Drepper - - * misc/mntent_r.c (decode_name): Fix decoding of tab, add decoding - of newline. - * manual/sysinfo.texi (mtab): Adjust description accordingly. - Reported by Andries.Brouwer@cwi.nl. - - * sysdeps/x86_64/fpu/libm-test-ulps: Add some more minor changes - to compensate other setup. - -2003-11-27 Andreas Jaeger - - * sysdeps/x86_64/fpu/libm-test-ulps: Add ulps for new atan2 test. - - * math/libm-test.inc (atan2_test): Add test that run infinitly. - Reported by "Willus" . - -2003-11-27 Michael Matz - - * sysdeps/ieee754/dbl-64/mpsqrt.c (fastiroot): Fix 64-bit problem - with wrong types. - -2003-11-28 Jakub Jelinek - - * posix/regexec.c (acquire_init_state_context): Make inline. - Add always_inline attribute. - (check_matching): Add BE macro. Move if (cur_state->has_backref) - into if (dfa->nbackref). - (sift_states_backward): Fix comment. - (transit_state): Add BE macro. Move if (next_state->has_backref) - into if (dfa->nbackref && next_state). Don't check for next_state - != NULL twice. - * posix/regcomp.c (peek_token): Use opr.ctx_type instead of opr.idx - for ANCHOR. - (parse_expression): Only call init_word_char if word context will be - needed. - - * posix/bug-regex11.c (tests): Add new tests. - - * posix/tst-regex.c: Include getopt.h. - (timing): New variable. - (main): Set timing to 1 if --timing argument is present. - Add 2 new tests. - (run_test, run_test_backwards): Handle timing. - -2003-11-27 Jakub Jelinek - - * posix/regex_internal.h (re_string_t): Remove mbs_case field. - Add offsets, valid_raw_len, raw_len, raw_stop, mbs_allocated and - offsets_needed fields. Change icase, is_utf8 and map_notascii - type from int bitfield to unsigned char. - (MBS_ALLOCATED, MBS_CASE_ALLOCATED): Remove. - (build_wcs_upper_buffer): Change prototype to return int. - (re_string_peek_byte_case, re_string_fetch_byte_case): Remove - defines, add prototypes. - * posix/regex_internal.c (re_string_allocate): Don't initialize - stop here. Don't initialize mbs_case. Set valid_raw_len. - Use mbs_allocated instead of MBS_* macros. - (re_string_construct): Don't initialize stop and valid_len here. - Don't initialize mbs_case. Use mbs_allocated instead of MBS_* - macros. Reallocate buffers if build_wcs_upper_buffer converted - too few bytes. Set valid_len to bufs_len only for single byte - no translation and set in that case valid_raw_len as well. - (re_string_realloc_buffers): Reallocate offsets if not NULL. - Use mbs_allocated instead of MBS_ALLOCATED. Don't reallocate - mbs_case. - (re_string_construct_common): Initialize raw_len, mbs_allocated, - stop and raw_stop. - (build_wcs_buffer): Apply pstr->trans before mbrtowc instead of - after it. Set valid_raw_len. Don't set mbs_case. - (build_wcs_upper_buffer): Return REG_NOERROR or REG_ESPACE. - Only use the fast path if !pstr->offsets_needed. Apply pstr->trans - before mbrtowc instead of after it. If upper case character - uses different number of bytes than lower case, goto to the - slow path. Don't call towupper unnecessarily twice. Set - valid_raw_len as well. Handle in the slow path the case if - lower and upper case use different number of characters. - Don't set mbs_case. - (re_string_skip_chars): Use valid_raw_len instead of valid_len. - (build_upper_buffer): Don't set mbs_case. Add BE macro. Set - valid_raw_len. - (re_string_translate_buffer): Set mbs instead of mbs_case. Set - valid_raw_len. - (re_string_reconstruct): Use raw_len/raw_stop to initialize - len/stop. Clear valid_raw_len and offsets_needed when clearing - valid_len. Use mbs_allocated instead of MBS_* macros. - Check original offset against valid_raw_len instead of valid_len. - Remove mbs_case handling. Adjust valid_raw_len together with - valid_len. If is_utf8 and looking for tip context, apply - pstr->trans first. If buffers start with partial multi-byte - character, initialize mbs array as well if mbs_allocated. - Check return value of build_wcs_upper_buffer. - (re_string_peek_byte_case): New function. - (re_string_fetch_byte_case): New function. - (re_string_destruct): Use mbs_allocated instead of MBS_ALLOCATED. - Don't free mbs_case. Free offsets. - * posix/regcomp.c (init_dfa): Only check if charset name is UTF-8 - if mb_cur_max == 6. - * posix/regexec.c (re_search_internal): Initialize input.raw_stop - as well. Use valid_raw_len instead of valid_len when looking - through fastmap. Adjust registers through input.offsets. - (extend_buffers): Allow build_wcs_upper_buffer to fail. - * posix/bug-regex18.c (tests): Enable #ifdefed out tests. Add new - tests. - -2003-11-26 Jakub Jelinek - - * posix/regexec.c (check_subexp_limits): Only check close - subexpression limitation if one is found. Formatting. - (sift_states_backward, check_arrival, check_arrival_add_next_nodes): - Formatting. - * posix/bug-regex11.c (tests): Enable most #ifdefed out tests. - Add new test. - -2003-11-26 Ulrich Drepper - - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_PROT_GROWSUPDOWN): Define for 2.6.1 and up. - * sysdeps/unix/sysv/linux/dl-execstack.c: Omit compatibility code - if __ASSUME_PROT_GROWSUPDOWN is defined. - -2003-11-26 Andreas Jaeger - - * sysdeps/unix/sysv/linux/dl-execstack.c - (_dl_make_stack_executable): Set dl_stack_flags always for - success. - -2003-06-22 Petter Reinholdtsen - - * locale/program/ld-monetary.c: Only check the first three - characters in int_curr_symbol against ISO-4217, to make the - separator character used by a locale independent of the content - in iso-4217.def. - * locale/iso-4217.def: Remove the space character from all - currency values to get the new test code in ld-monetary.c working. - -2003-11-21 David Mosberger - - * elf/soinit.c (_fini): Put _fini() in .init_array section if - HAVE_INITFINI_ARRAY is defined. - -2003-11-25 Ulrich Drepper - - * sysdeps/i386/fpu/bits/mathinline.h: Introduce __libc_sqrtl symbol. - Define it appropriately after last change. Use it where __sqrtl - was used. - -2003-11-25 H.J. Lu - - * sysdeps/i386/fpu/bits/mathinline.h (sqrt): Don't inline - sqrt for gcc 3.3 and above. - -2003-11-25 Ulrich Drepper - - * posix/runptests.c (main): Make errors fatal. - * posix/PTESTS: One test in GA135 and GA136 check functionality - which seems not guaranteed. - -2003-11-25 Jakub Jelinek - - * posix/regexec.c (re_search_internal): If prune_impossible_nodes - returned REG_NOMATCH, set match_last to -1. Don't initialize - pmatch[0] needlessly. Fix comment. - (prune_impossible_nodes): Don't segfault on NULL state_log entry. - (set_regs): Fix comment. - * posix/regcomp.c (parse_bracket_exp): Only set has_plural_match - if adding both SIMPLE_BRACKET and COMPLEX_BRACKET. - (build_charclass_op): Set has_plural_match if adding both - SIMPLE_BRACKET and COMPLEX_BRACKET. - * posix/bug-regex11.c (tests): Fix register values for one commented - out test. Add new tests. - - * posix/regex_internal.c (re_string_allocate): Make sure init_len - is at least dfa->mb_cur_max. - (re_string_reconstruct): If is_utf8, don't fall back into - re_string_skip_chars just because idx points into a middle of - valid UTF-8 character. Instead, set the wcs bytes which correspond - to the partial character bytes to WEOF. - * posix/regexec.c (re_search_internal): Allocate input.bufs_len + 1 - instead of dfa->nodes_len + 1 state_log entries initially. - * posix/bug-regex20.c (main): Uncomment backwards case insensitive - tests. - -2003-11-24 Jakub Jelinek - - * posix/regex_internal.h (re_token_t): Add word_char bit. Add - comment. - (re_dfa_t): Add sb_char field. - (bitset_mask): New function. - * posix/regcomp.c (free_dfa_content): Free sb_char. - (init_dfa): Don't initialize word_char unnecessarily. - Initialize sb_char. - (duplicate_node): Don't duplicate !word_char CHARACTERs with - NEXT_WORD_CONSTRAINT constraint or word_char CHARACTERs with - NEXT_NOTWORD_CONSTRAINT. Return -1 in *new_idx instead. - (duplicate_node_closure): Handle clone_dest == -1 from - duplicate_node. - (peek_token): Initialize word_char bit. - (parse_expression, parse_dup_op): Add comments. - (parse_bracket_exp): Don't set bitmask bits for multi-byte char - starting bytes here at the beginning. Mask off the bits right - before creating SIMPLE_BRACKET. - (build_charclass_op): Likewise. - * posix/regexec.c (group_nodes_into_DFAstates) : Only - set accept bits for single-byte characters. - (group_nodes_into_DFAstates): Don't rely on characters 0 .. 127 - being single byte encoded and the rest multi-byte. - * posix/bug-regex19.c (tests): Add new tests. - (do_mb_tests): Initialize t to *test. - (main): Fail even on do_mb_tests errors. - -2003-11-23 Ulrich Drepper - - * posix/regexec.c: Correct several memory allocation problems. - Add more BE. - * posix/regex_internal.c: Likewise. - * posix/regcomp.c: Likewise. - - * posix/regexec.c: Add const in a number of places. - * posix/regex_internal.h: Make EPSILON_BIT a macro to help - debugging. Its value isn't important. - -2003-11-22 Ulrich Drepper - - * posix/PTESTS: Fix first test of GA143. - -2003-11-21 Ulrich Drepper - - * posix/regex_internal.c (re_dfa_add_node): Add BE, reallocation - isn't likely. - - * locale/programs/charmap.c (charmap_read): If encoding is found - not ASCII compatible, set enc_not_ascii_compatible. - * locale/programs/charmap.h: Declare enc_not_ascii_compatible. - * locale/programs/ld-ctype.c (ctype_startup): If - enc_not_ascii_compatible is set, initialize to_nonascii to 1. - -2003-11-22 Jakub Jelinek - - * elf/rtld.c (process_envvars): Only honor LD_USE_LOAD_BIAS - if !__libc_enable_secure. - - * sysdeps/generic/ldsodefs.h (_dl_use_load_bias): New _rtld_global - field. - * elf/rtld.c (_rtld_global): Initialize _dl_use_load_bias field. - (dl_main): Set GL(dl_use_load_bias) default. - (process_envvars): Set GL(dl_use_load_bias) from LD_USE_LOAD_BIAS. - Add EXTRA_LD_ENVVARS_13. - * elf/dl-support.c (_dl_use_load_bias): New variable. - * elf/dl-load.c (_dl_map_object_from_fd): Mask c->mapstart - with GL(dl_use_load_bias). - * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add - LD_USE_LOAD_BIAS. - * sysdeps/unix/sysv/linux/dl-librecon.h (EXTRA_LD_ENVVARS): Remove. - (EXTRA_LD_ENVVARS_LINUX): Renamed to... - (EXTRA_LD_ENVVARS_13): ... this. Remove case at the beginning. - * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS): - Don't undefine first. Remove EXTRA_LD_ENVVARS_LINUX. - -2003-11-21 Ulrich Drepper - - * posix/regcomp.c (duplicate_node): Remove unnecessary local variable. - - * posix/regcomp.c (re_dfa_add_tree_node): Make fourth parameter a - pointer. Adjust callers. - - * posix/regcomp.c (fetch_token): Change interface to match - peek_token. This avoids some copying and reduces code size. - -2003-11-21 Jakub Jelinek - - * posix/bug-regex19.c (tests): Add more tests. - - * posix/bug-regex11.c: And one more commented out test. - - * posix/tst-rxspencer.c (mb_tests): Don't run identical multi-byte - tests multiple times unnecessarily. - - * posix/bug-regex19.c (BRE, ERE): Define. - (tests): Add many new tests, remove UTF-8 ones. - (do_one_test, do_mb_tests): New functions. - (main): Rewritten using do_one_test and do_mb_tests. - -2003-11-20 Ulrich Drepper - - * posix/PTESTS: Fix first test in GA143. - -2003-11-20 Jakub Jelinek - - * posix/regex_internal.h (re_dfastate_t): Remove trtable_search. - Add word_trtable. - * posix/regex_internal.c (create_newstate_common, free_state): - Don't free trtable_search. - * posix/regexec.c (check_matching): Remove fl_search argument. - (transit_state_sb): Likewise. #ifdef out as unused. - (build_trtable): Remove fl_search argument. Set state->word_trtable - and state->trtable. Build separate word and non-word tables if - multi-byte and they differ for some character. - (transit_state): Remove fl_search argument. Don't update - state->trtable here. Handle state->word_trtable. - #ifdef out unused call to transit_state_sb. - (re_search_internal): Update check_matching caller. - (group_nodes_into_DFAstates): Don't clear non-ascii chars in accepts - bitmask for multi-byte locales. - * posix/bug-regex19.c (tests): Enable some commented out tests, add - 2 new tests. - * posix/tst-rxspencer.c (mb_tests): Don't test [[=b=]] for now as - multi-byte. Don't run identical multi-byte tests multiple times - unnecessarily. - (main): Check setlocale return value. - * posix/Makefile (tst-rxspencer-ARGS): Add --utf8 argument. - (tst-rxspencer-ENV): Remove MALLOC_TRACE, add LOCPATH. - ($(objpfx)tst-rxspencer-mem): Run another tst-rxspencer test - here, without --utf8 argument but with MALLOC_TRACE. - -2003-11-19 Jakub Jelinek - - * posix/regexec.c (extend_buffers): Don't allocate - twice as big state_log as needed. Don't modify pstr->valid_len - for mb_cur_max == 1 !icase !trans. - - * posix/regcomp.c (free_bin_tree): Removed. - (create_tree): Add dfa argument. Don't call re_malloc for - each tree, instead allocate from str_tree_storage. - (re_dfa_add_tree_node): New function. - (free_dfa_content): Handle freeing if dfa->nodes == NULL - or dfa->state_table == NULL. - (re_compile_internal): Call free_dfa_content if init_dfa - fails. Call free_workarea_compile, re_string_destruct - and free_dfa_content for most of the other failure paths. - (init_dfa): Initialize str_tree_storage_idx. - Don't clear any fields on allocation failure. - (free_workarea_compile): Free str_tree_storage chunks - instead of free_bin_tree (dfa->str_tree). - (parse): Call re_dfa_add_tree_node instead of re_dfa_add_node - followed by create_tree. Add dfa argument to remaining - create_tree calls. Remove new_idx variable. Remove calls - to free_bin_tree. - (parse_reg_exp, parse_branch, parse_expression, parse_sub_exp, - parse_dup_op, parse_bracket_exp, build_charclass_op): Likewise. - (duplicate_tree): Remove calls to free_bin_tree, add dfa - argument to create_tree. - * posix/regex_internal.h (BIN_TREE_STORAGE_SIZE): Define. - (bin_tree_storage_t): New type. - (re_dfa_t): Add str_tree_storage and str_tree_storage_idx - fields. - * posix/Makefile (tests): Add bug-regex21. - (generated): Add bug-regex21-mem, bug-regex21.mtrace, - tst-rxspencer-mem and tst-rxspencer.mtrace. - (tests): Depend on $(objpfx)bug-regex21-mem - and $(objpfx)tst-rxspencer-mem. - (bug-regex21-ENV, tst-rxspencer-ENV): Set. - ($(objpfx)bug-regex21-mem, $(objpfx)tst-rxspencer-mem): New. - * posix/tst-rxspencer.c (main): Add call to mtrace. - Free line at the end. - * posix/bug-regex21.c: New test. - -2003-11-19 Ulrich Drepper - - * posix/bug-regex20.c: Correct invalid UTF-8 sequences. - - * posix/regex_internal.c (build_wcs_upper_buffer): If mbrtowc - fails, just use the byte, do no fancy conversions. - - * posix/regex_internal.h (re_string_first_byte): Use ->valid_len - not ->len. - (re_string_is_single_byte_char): Likewise. - -2003-11-18 Ulrich Drepper - - * posix/regexec.c (get_subexp): After calling get_subexp_sub - reload buf and bkref_str. Little optimization by avoiding memcmp. - -2003-11-14 David Mosberger - - * sysdeps/unix/sysv/linux/ia64/sysdep.h - (GAS_ALIGN_BREAKS_UNWIND_INFO): Define this macro to indicate - that all existing GAS versions have a problem with .align inside - a function. - * sysdeps/ia64/memccpy.S: Work around GAS_ALIGN_BREAKS_UNWIND_INFO bug. - * sysdeps/ia64/memcpy.S: Likewise. - * sysdeps/ia64/memset.S: Likewise. - * sysdeps/ia64/memmove.S: Likewise. Also move the jump-table to - out of .text into .rodata, where it belongs. - - * sysdeps/unix/sysv/linux/ia64/pipe.S: There is no need to - save/restore input-arguments, because they're necessarily - preserved by the kernel to support syscall-restart. - -2003-11-18 Jakub Jelinek - - * posix/regex_internal.h (re_token_type_t): Remove unused ALT, - END_OF_RE_TOKEN_T and SUBEXP. Reorder values. Add OP_UTF8_PERIOD - and EPSILON_BIT. - (IS_EPSILON_NODE): Just test if EPSILON_BIT is set. - (ACCEPT_MB_NODE): Return 1 for OP_UTF8_PERIOD as well. - * posix/regex_internal.c (create_ci_newstate, create_cd_newstate): - Handle OP_UTF8_PERIOD. - (re_string_reconstruct): Set valid_len for single byte char searching - with no translation and case sensitivity. - * posix/regcomp.c (re_compile_fastmap_iter, calc_first): Handle - OP_UTF8_PERIOD. - (re_compile_internal): Don't call optimize_utf8 if preg->translate - != NULL. - (optimize_utf8): Remove BACK_SLASH case. - Transform OP_PERIOD into OP_UTF8_PERIOD if the searching can be - optimized. - (parse_bracket_exp): Don't create SIMPLE_BRACKET if it doesn't have - any bits set and COMPLEX_BRACKET is used. - * posix/regexec.c (transit_state_mb): Fix comment typo. - (group_nodes_into_DFAstates, check_node_accept): Handle - OP_UTF8_PERIOD. - (check_node_accept_bytes): Likewise. Reorder slightly so that - re_string_char_size_at and re_string_elem_size_at are called - only when needed. - * posix/bug-regex20.c (BRE, ERE): Define. - (tests): Use them to make lines shorter. Expect . to be - optimized. Add lots of new tests. - (main): Run (ATM just case sensitive) test with backwards searching - as well. - -2003-11-18 Jakub Jelinek - - * io/bug-ftw4.c: Include string.h. - * posix/fnmatch.c (mbsinit): Remove define. - -2003-11-17 Jakub Jelinek - - * posix/regcomp.c (optimize_utf8): Optimize multi-byte chars as - well. - * posix/bug-regex20.c (tests): Add new tests. Multi-byte char - followed by dup operator is expected to be optimized. - - * posix/regexec.c (check_node_accept_bytes): Move nrules and j - variables to the block where they are only used, initialize - nrules only immediately before using it. - -2003-11-15 Andreas Jaeger - - * sysdeps/x86_64/fpu/s_scalbnl.S: New file. - * sysdeps/x86_64/fpu/s_truncl.S: New file. - * sysdeps/x86_64/fpu/s_nearbyintl.S: New file. - * sysdeps/x86_64/fpu/s_floorl.S: New file. - * sysdeps/x86_64/fpu/s_ilogbl.S: New file. - * sysdeps/x86_64/fpu/e_remainderl.S: New file. - - * math/libm-test.inc (floor_test): Test also ±0.25. - (ceil_test): Test -0.25. - -2003-11-17 Ulrich Drepper - - * sysdeps/posix/getaddrinfo.c: Add support for destination address - selection according to RFC 3484. - -2003-11-15 Ulrich Drepper - - * posix/regex_internal.h: Add forward declaration of re_dfa_t. - Replace last two parameters of re_string_allocate and - re_string_construct with pointer to DFA. - (re_dfa_t): Add map_notascii field. - * posix/regcomp.c (re_compile_internal): Add call of - re_string_construct. - (init_dfa): Initialize map_notascii. - * posix/regex_internal.c: Adjust definitions of re_string_allocate - and re_string_construct. - Pass DFA to re_string_construct. Adjust definition. Initialize - map_notascii field. - (build_wcs_upper_buffer): If map_notascii is zero use simplified - method to map ASCII values to upper case. - * posix/regex.c: Include localeinfo.h. - * posix/regexec.c: Adjust call of re_string_allocate. - - * locale/langinfo.h: Add _NL_CTYPE_MAP_TO_NONASCII. - * locale/localeinfo.h (LIMAGIC): Change value. - * locale/categories.def. Add entry for _NL_CTYPE_MAP_TO_NONASCII. - * locale/C-ctype.h: Likewise. - * locale/programs/ld-ctype.c: Compute whether any mapping maps from - ASCII to non-ASCII value. Write out that value. - - * wcsmbs/mbsinit.c: Undef mbsinit and __mbsinit. - * include/wchar.h: Provide inline versions of mbsinit and __mbsinit. - -2003-11-14 Jakub Jelinek - - * posix/tst-rxspencer.c (check_match): @ without any following - characters must match only end of string. - (main): Fix filename in error message. - -2003-11-12 David Mosberger - - * sysdeps/ia64/dl-machine.h: Force inlining of - elf_machine_runtime_setup(). - -2003-11-13 Andreas Jaeger - - * math/Makefile (CFLAGS-test-float.c): Add -fno-builtin. - (CFLAGS-test-double.c): Likewise. - (CFLAGS-test-ldouble.c): Likewise. - (CPPFLAGS-test-ifloat.c): Likewise. - (CPPFLAGS-test-idouble.c): Likewise. - (CPPFLAGS-test-ildoubl.c): Likewise. - - * math/libm-test.inc (ceil_test): Test ceil (0.25). - -2003-11-04 Ulrich Drepper - - * sysdeps/unix/sysv/linux/ifaddrs.c: Make sure it's the kernel who - sends the netlink data. - * sysdeps/unix/sysv/linux/check_pf.c: Likewise. - -2003-11-13 Jakub Jelinek - - * posix/regcomp.c (optimize_utf8): Optimize even if SIMPLE_BRACKET - with no bits set for >= 0x80 chars is seen. - * posix/bug-regex20.c (tests): Add new tests. Expect [ABC] to be - optimized. - (main): Run all tests with RE_ICASE as well. - -2003-11-13 Ulrich Drepper - - * posix/Makefile: Add rules to build and run tst-rxspencer. - (distribute): Add rxspencer/tests and rxspencer/COPYRIGHT. - * posix/tst-rxspencer.c: New file. - * posix/rxspencer/tests: New file. - * posix/rxspencer/COPYRIGHT: New file. - Patch mostly by Jakub Jelinek. - - * posix/regcomp.c (parse_bracket_exp): Don't check for range if - this is no option given the first token. - - * posix/regcomp.c (parse_bracket_exp): Fix test for EOS after - hyphen in range expression. Return EBRACK in this case. - - * posix/regcomp.c (parse_bracket_element): Reject hyphens unless - we expect them or it's the last element in the bracket expression. - Indicated by new parameter. Adjust all callers. - - * posix/runtests.c (run_a_test): If regcomp failed, reset last_pattern. - Prettier error messages. - - * posix/regcomp.c (parse_dup_op): Fail with REG_BADBR is first - number in {,} expression is larger. - -2003-11-13 Andreas Jaeger - - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL): - Define appropriately for x86_64. - (__ASSUME_UTIMES): Likewise. - (__ASSUME_CLONE_THREAD_FLAGS): Likewise. - - * sysdeps/x86_64/fpu/s_ceill.S: New file. - -2003-11-13 Ulrich Drepper - - * posix/regcomp.c (parse_expression): In BRE consecutive - duplications are not allowed. - -2003-11-12 Ulrich Drepper - - * posix/regcomp.c (parse_bracket_exp): If end of expression is - seen, return EBRACK error, not BADPAT. - - * posix/regcomp.c (parse_expression): If token is OP_OPEN_DUP_NUM - and RE_CONTEXT_INVALID_DUP syntax flag is set, fail. - * posix/regex.h (RE_CONTEXT_INVALUD_OPS): New macro. - (RE_SYNTAX_POSIX_BASIC): Use RE_CONTEXT_INVALUD_OPS. - - * posix/regcomp.c (parse_sub_exp): In case of not-matching ( ) - return REG_EPAREN. - - * posix/PTESTS: Cleanup. Fix typoes. Correct bugs in 2003.2. - * posix/runptests.c (main): Handle comments. - * posix/PTESTS2C.sed: Handle comments. - -2003-11-12 Jakub Jelinek - - * posix/regcomp.c (optimize_utf8): New function. - (re_compile_fastmap_iter): Use dfa->mb_cur_max > 1 instead - of !icase. - (re_compile_internal): Call optimize_utf8 if not case insensitive - and in UTF-8 locale. - * posix/regex_internal.h: Ifdef out some prototypes if - RE_NO_INTERNAL_PROTOTYPES is defined to shut up warnings. - * posix/Makefile (tests): Add bug-regex20. - (bug-regex20-ENV): Add LOCPATH. - * posix/bug-regex20.c: New test. - -2003-11-12 Jakub Jelinek - - * io/ftw.c (NFTW_NEW_NAME, NFTW_OLD_NAME): Add prototypes. - -2003-11-12 Jakub Jelinek - - * posix/tst-regex.c (umemlen): New variable. - (test_expr): Add expectedicase argument. Test case insensitive - searches as well as backwards searches (case sensitive and - insensitive) too. - (run_test): Add icase argument. Use it to compute regcomp flags. - (run_test_backwards): New function. - (main): Cast read to size_t to avoid warning. Set umemlen. - Add expectedicase arguments to test_expr. - * posix/regex_internal.c (re_string_reconstruct): If is_utf8, - find previous character by walking back instead of converting - all chars from beginning. - -2003-11-12 Jakub Jelinek - - * posix/regex_internal.h (struct re_string_t): Add is_utf8 - and mb_cur_max fields. - (struct re_dfa_t): Likewise. Reorder fields to make structure - smaller on 64-bit arches. - (re_string_allocate, re_string_construct): Add mb_cur_max and - is_utf8 arguments. - (re_string_char_size_at, re_string_wchar_at): Use pstr->mb_cur_max - instead of MB_CUR_MAX. - * posix/regcomp.c (re_compile_fastmap_iter): Use dfa->mb_cur_max - instead of MB_CUR_MAX. - (re_compile_internal): Pass new arguments to re_string_construct. - (init_dfa): Initialize mb_cur_max and is_utf8 fields. - (peek_token, peek_token_bracket): Use input->mb_cur_max instead - of MB_CUR_MAX. - (parse_expression, parse_bracket_exp, parse_charclass_op): Use - dfa->mb_cur_max instead of MB_CUR_MAX. - * posix/regex_internal.c (re_string_construct_common): Add - mb_cur_max and is_utf8 arguments. Initialize fields with them. - (re_string_allocate, re_string_construct): Add mb_cur_max and - is_utf8 arguments, pass them to re_string_construct_common. - Use mb_cur_max instead of MB_CUR_MAX. - (re_string_realloc_buffers): Use pstr->mb_cur_max instead of - MB_CUR_MAX. - (re_string_reconstruct): Likewise. - (re_string_context_at): Use input->mb_cur_max instead of - MB_CUR_MAX. - (create_ci_newstate, create_cd_newstate): Use dfa->mb_cur_max - instead of MB_CUR_MAX. - * posix/regexec.c (re_search_internal): Likewise. - Pass new arguments to re_string_allocate. - (check_matching, transit_state_sb): Use dfa->mb_cur_max instead of - MB_CUR_MAX. - (extend_buffers): Use pstr->mb_cur_max instead of MB_CUR_MAX. - -2003-11-12 Jakub Jelinek - - * posix/Makefile (tests): Add bug-regex19. - (bug-regex19-ENV): Add LOCPATH. - * posix/bug-regex19.c: New test. - -2003-11-11 Jakub Jelinek - - * posix/regcomp.c (re_compile_fastmap_iter): Handle RE_ICASE - with MB_CUR_MAX > 1 locales in the fastmap. - -2003-11-11 Jakub Jelinek - - * posix/regex_internal.c (build_wcs_buffer): Fix comment typo. - (build_wcs_upper_buffer): Likewise. Use towupper for wchar_t instead - of toupper. - * posix/Makefile (tests): Add bug-regex17 and bug-regex18. - (bug-regex17-ENV, bug-regex18-ENV): Add LOCPATH. - * posix/bug-regex17.c: New file - * posix/bug-regex18.c: New file. - -2003-10-08 Thorsten Kukuk - - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (pread, pwrite): - Define __NR_pread/__NR_pwrite if not done in kernel headers - -2003-11-11 Roland McGrath - - * manual/xtract-typefun.awk: Swallow [(){}*] from function names. - - * manual/Makefile (info): Don't depend on dir-add.info. - (libc.dvi libc.pdf libc.info): Depend on dir-add.texi. - (dir-add.info): Target removed, replaced with ... - (dir-add.texi): New target. - (distribute): Add it. - (install): Remove variant with --section arguments. - Let the @dircategory directives do their work. - (mostlyclean): Don't remove dir-add.info here. - (realclean): Remove dir-add.texi here. - * manual/libc.texinfo: @include dir-add.texi - * configure.in: Remove check for old Debian install-info. - * configure: Regenerated. - * config.make.in (OLD_DEBIAN_INSTALL_INFO): Variable removed. - -2003-11-08 Andreas Schwab - - * scripts/data/c++-types-ia64-linux-gnu.data: New file. - -2003-11-10 Carlos O'Donell - - * io/ftwtest-sh: Fix nested sed commands. - -2003-11-10 Jakub Jelinek - - * posix/regex_internal.h (re_string_char_size_at): Don't look beyond - valid_len wide chars. - -2003-11-09 Roland McGrath - - * manual/examples/dir2.c (one): Add const to argument type. - Reported by J de Haan . - -2003-11-07 Ulrich Drepper - - * po/pl.po: Update from translation team. - -2003-11-07 Jakub Jelinek - - * io/ftw.c (NFTW_OLD_NAME, NFTW_NEW_NAME): Define. - (ftw_dir, ftw_startup): Add __attribute ((noinline)). - (NFTW_OLD_NAME, NFTW_NEW_NAME): New functions. - (NFTW_NAME): Only define if !_LIBC, add versioned_symbol - and compat_symbol. - * io/ftw64.c (NFTW_OLD_NAME, NFTW_NEW_NAME): Define. - * io/Versions (libc): Export nftw@@GLIBC_2.3.3 - and nftw64@@GLIBC_2.3.3. - - * io/ftw.h (FTW_ACTIONRETVAL): New flag. - (FTW_CONTINUE, FTW_STOP, FTW_SKIP_SUBTREE, FTW_SKIP_SIBLINGS): New. - * io/ftw.c (ftw_dir): Add old_dir argument. - Clear result if it was FTW_SKIP_SIBLINGS after processing all - dir entries. Change cwd back if old_dir != NULL. - (process_entry): Adjust caller. Don't change cwd back here. - Change FTW_SKIP_SUBTREE result to 0. - (ftw_startup): Adjust ftw_dir caller. - Clear result if it was FTW_SKIP_SUBTREE or FTW_SKIP_SIBLINGS. - * io/ftwtest.c (skip_subtree, skip_siblings): New variables. - (options, main): Add --skip-subtree and --skip-siblings options. - (cb): Use return FTW_CONTINUE instead of return 0. - Handle --skip-subtree and --skip-siblings. - * io/ftwtest-sh: Add tests for FTW_ACTIONRETVAL. - * manual/filesys.texi: Document FTW_ACTIONRETVAL. - -2003-11-04 Jakub Jelinek - - * io/ftw.c (ftw_dir): Close dir if callback with FTW_D type returns - non-zero. - * io/Makefile (tests): Add bug-ftw4. - * io/bug-ftw4.c: New test. - -2003-10-27 Daniel Jacobowitz - - * libio/libioP.h [_IO_USE_OLD_IO_FILE] - (struct _IO_FILE_complete_plus): New type. - * libio/oldiofopen.c (_IO_old_fopen): Use _IO_FILE_complete_plus. - * libio/oldiofdopen.c (_IO_old_fdopen): Likewise. - * libio/oldiopopen.c (struct _IO_proc_file, _IO_old_popen): Likewise. - Call _IO_old_init instead of _IO_init. - -2003-11-03 Ulrich Drepper - - * intl/locale.alias: nb_NO is now the correct name, not no_NO. - - * locale/iso-639.def: Add Blin. - Patch by Daniel Yacob . - -2003-10-31 Steven Munroe - - * sysdeps/powerpc/powerpc32/strncmp.S: New File. - * sysdeps/powerpc/powerpc64/strncmp.S: New File. - -2003-11-01 Randolph Chung - - * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1, - LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6): - Add missing parentheses. - -2003-11-01 Roland McGrath - - * libio/bug-ftell.c (do_test): Add a cast. - -2003-09-26 Daniel Jacobowitz - - * Makerules (shlib.lds): Make sure that ld doesn't try to link - anything while generating the linker script. - -2003-10-31 Roland McGrath - - * locale/lc-ctype.c (_nl_postload_ctype): Update _nl_global_locale's - special members. - -2003-10-29 Ulrich Drepper - - * po/be.po: Update from translation team. - -2003-10-27 Ulrich Drepper - - * elf/rtld.c (map_doit): Pass __RTLD_OPENEXEC in last parameter to - _dl_map_object. - - * elf/sprof.c (load_shobj): Use l_map_start not l_addr to locate - ELF header. - - * inet/rcmd.c (__validuser2_sa): Remove unnecessary code to skip - rest of line. We use getline which means this cannot happen. - -2003-10-26 Ulrich Drepper - - * sysdeps/unix/sysv/linux/internal_statvfs.c (__internal_statvfs): - Avoid infinite loops in case the mounts file is hosed. - * io/Makefile: Add rules to build and run tst-statvfs. - * io/tst-statvfs.c: New file. - - * include/dlfcn.h (__RTLD_OPENEXEC): Define. - * elf/dl-load.c (_dl_map_object_from_fd): Don't allow loading - executables unless __RTLD_OPENEXEC flag is present. - * elf/rtld.c (dl_main): Pass __RTLD_OPENEXEC flag to - _dl_map_object when loading the executable. - - * sysdeps/generic/glob.c (glob): Handle GLOB_BRACE and escaping - correctly. - * posix/globtest.sh: Add tests for GLOB_BRACE and escaping. - - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Default - reverse lookup format for IPv6 addresses is using bitstring and - .ip6.arpa suffix. - * resolv/ns_name.c: Implement encoding and decoding bitstring in - hex format. - -2003-10-23 Jakub Jelinek - - * locale/programs/locale.c (show_info): Fix printing word values on - 64-bit big-endian architectures. - -2003-10-19 Bruno Haible - - * intl/hash-string.c (hash_string): Zero-extend each char from the - string; the old code did a sign-extend on some platforms. - -2003-10-22 Steven Munroe - - * sysdeps/powerpc/powerpc32/Makefile (+cflags, asm-CPPFLAGS): Don't - append options to these. - * sysdeps/powerpc/powerpc64/Makefile (+cflags, asm-CPPFLAGS): Likewise. - -2003-10-18 Carlos O'Donell - - * sysdeps/unix/sysv/linux/hppa/sysdep.h: Fix merge error. - -2003-10-15 Roland McGrath - - * elf/dl-iteratephdr.c [! SHARED] (dl_iterate_phdr): New function. - Fake an entry for the main executable and then call __dl_iterate_phdr. - * elf/Makefile (routines): Remove dl-iteratephdr-static. - (elide-routines.os): Likewise. - (CFLAGS-dl-iterate-phdr-static.c): Variable removed. - * sysdeps/generic/dl-iteratephdr-static.c: File removed. - * sysdeps/unix/sysv/linux/ia64/dl-iteratephdr-static.c: File removed. - -2003-10-15 Jakub Jelinek - - * elf/rtld.c (print_statistics): Print also number of relative - relocations. - -2003-10-12 Carlos O'Donell - - * sysdeps/hppa/sysdep.h: Undef JUMPTARGET before use. - * sysdeps/unix/sysv/linux/hppa/sysdep.h: Define PSEUDO_ERRVAL, - SYSCALL_ERROR_LABEL under all conditions, INTERNAL_SYSCALL_DECL, - INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO, INTERNAL_SYSCALL, - and undef JUMPTARGET before use. - [PIC]: Save pic register around syscall. - * sysdeps/unix/sysv/linux/hppa/sysdep.c (syscall): - Cleanup asm statment. - -2003-10-13 Kaz Kojima - - * sysdeps/unix/sysv/linux/sh/sysdep.h (DO_CALL): Add SYSCALL_INST_PAD - after trapa instruction. - -2003-10-09 Kaz Kojima - - * sysdeps/unix/sysv/linux/sh/syscalls.list: Add waitpid. - -2003-10-10 Carlos O'Donell - - * sysdeps/hppa/Makefile (CFLAGS-malloc.c): Variable removed. - -2003-10-09 Roland McGrath - - * elf/rtld.c (dl_main): Don't set l_name for sysinfo DSO, since there - is no file to name. - -2003-10-08 Jakub Jelinek - - * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Don't generate - two identical copies of strings. - -2003-10-06 Ulrich Drepper - - * posix/bug-regex11.c: Add some more tests which fail so far. - Disable them. Patch by Paolo Bonzini . - -2003-10-05 Paolo Bonzini - - * posix/bug-regex11.c: Add more backreference-related test cases. - (main): Show the failing regex in the error messages. - * posix/regexec.c (check_dst_limits_calc_pos): - Simplify some nested conditionals. Replace if's with a switch - statement. - (check_dst_limits_calc_pos ): Rename parameter NODE to - FROM_NODE, it shadows a local variable; don't recurse if FROM_NODE - does not change in the recursive invocation, fixing an infinite loop - in the ()\1*\1* regex. - (sift_states_backward): Fix function comment. - * posix/regcomp.c (calc_epsdest): Add an assertion. - -2003-10-06 Ulrich Drepper - - * manual/examples/testopt.c: Fix warnings. Better error message - for missing -c argument. - Patch mostly by Gitonga Marete . - - * timezone/asia: Update from tzdata2003d. + * timezone/asia: Update from tzdata2002b. * timezone/australasia: Likewise. * timezone/backward: Likewise. * timezone/europe: Likewise. + * timezone/leapseconds: Likewise. * timezone/iso3166.tab: Likewise. - * timezone/northamerica: Likewise. - * timezone/southamerica: Likewise. * timezone/zone.tab: Likewise. -2003-10-05 Jakub Jelinek +2002-01-23 Richard Henderson - * sysdeps/ia64/backtrace.c: New file. - * sysdeps/x86_64/backtrace.c: New file. - * sysdeps/generic/unwind.h (_Unwind_Trace_Fn): New type. - (_Unwind_Backtrace): New prototype. + * sysdeps/alpha/Makefile (pic-ccflag): New variable. -2003-10-03 Ulrich Drepper +2002-01-28 Ulrich Drepper - * sysdeps/i386/elf/bsd-setjmp.S: Use linkonce section for PIC stub. - * sysdeps/i386/elf/setjmp.S: Likewise. + * string/strxfrm.c: Allocate one more byte for rulearr and clear + this element [PR libc/2855]. -2003-10-02 Roland McGrath + * string/strcoll.c: Handle zero-length arguments specially + [PR libc/2856]. - * argp/argp-help.c (__argp_short_program_name): Move inside [! _LIBC]. - * argp/argp-namefrob.h - [_LIBC || HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME] - (__argp_short_program_name): Don't declare fn, define it as a macro. +2002-01-23 Jakub Jelinek -2003-08-22 Simon Josefsson + * string/bits/string2.h (__mempcpy): For gcc 3.0+, don't use + __mempcpy_small but instead use __builtin_memcpy ( , , n) + n for + short lengths and constant src. + (strcpy): Don't optimize for gcc 3.0+. + (__stpcpy): For gcc 3.0+, don't use + __stpcpy_small but instead use __builtin_strcpy (, src) + strlen (src) + for short string literal src. - * argp/argp-fmtstream.h [!__attribute__]: Define to nothing. +2002-01-23 Jeroen Dobbelaere - * argp/argp-help.c: Don't include malloc.h, some platforms - complain and it doesn't appear to be used. - [!_LIBC && HAVE_STRERROR_R && !HAVE_DECL_STRERROR_R]: Declare - strerror_r. - [!_LIBC && !HAVE_STRERROR_R && !HAVE_DECL_STRERROR]: Declare - strerror. - (hol_entry_long_iterate): Change __attribute to __attribute__. - (_help, __argp_error, __argp_failure) [!_LIBC && (HAVE_FLOCKFILE - && HAVE_FUNLOCKFILE)]: Protect call to flockfile and funlockfile. - (__argp_basename) [!_LIBC]: New. Taken from LSH, by Niels Möller, - modified after comments from Ulrich Drepper. - (__argp_short_program_name): Ditto. - (__argp_state_help, __argp_error, __argp_failure): Use it. - (__argp_failure): Use strerror when necessary. + * sysdeps/unix/sysv/linux/configure.in (libc_cv_gcc_unwind_find_fde): + Set for arm, too. - * argp/argp-namefrob.h (__flockfile, __funlockfile, __mempcpy) - (__strchrnul, __strerror_r, __strndup) [!_LIBC]: Remove __-prefix. - (clearerr_unlocked, feof_unlocked, ferror_unlocked) - (fflush_unlocked, fgets_unlocked, fputc_unlocked, fputs_unlocked) - (fread_unlocked, fwrite_unlocked, getc_unlocked, getchar_unlocked) - (putc_unlocked, putchar_unlocked) [!_LIBC && !HAVE_DECL_*]: Map to - non-unlocked functions. - [!_LIBC]: Add prototypes for __argp_basename and - __argp_short_program_name. +2001-01-22 Paul Eggert - * argp/argp-parse.c (argp_default_parser): Only use - program_invocation{_short,}_name if declared. - (parser_init): Use __argp_short_program_name. + * manual/llio.texi (Linked Channels, Cleaning Streams): + Make it clearer that a just-opened input stream might need cleaning. - * argp/argp-xinl.c [_LIBC || HAVE_FEATURES_H]: Add CPP check for - '#include features.h'. +2002-01-21 H.J. Lu - * argp/argp.h [!__attribute__]: Define to nothing. + * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC): + Don't use label at end of compound statement. -2003-09-26 Paolo Bonzini +2002-01-28 Stephen L Moshier - * posix/regcomp.c (parse_sub_exp): Pass RE_CARET_ANCHORS_HERE - for the first token in a subexpression as well. + * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r): + Remove test for negative integer arg; sin_pi does it correctly. -2003-10-02 Jakub Jelinek +2002-01-20 Ulrich Drepper - * posix/regcomp.c (peek_token): Add 2003-09-20 changes for anchor - handling again. - (parse_reg_exp): Likewise. - * posix/regex.h (RE_CARET_ANCHORS_HERE): Define. + * nscd/Makefile (distribute): Filter out xmalloc.c. - * posix/bug-regex11.c (tests): Add new tests. - * posix/bug-regex12.c (tests): Add new test. +2002-01-19 Ulrich Drepper -2003-10-01 Thorsten Kukuk + * libio/fileops.c (_IO_file_underflow_mmap): Don't define as static. + Set offset if read end wasn't the buffer end. + (_IO_file_seekoff_mmap): New function. + (_IO_file_xsgetn_mmap): New function. + (_IO_file_jumps_mmap): Use the two new functions. + * libio/wfileops.c (_IO_wfile_underflow_mmap): Handle end read buffer + != end buffer. + * libio/libioP.h: Declare _IO_file_seekoff_mmap and + _IO_file_underflow_mmap. + * libio/iofopen.c: Don't position file descriptor at end of file. + * libio/tst-widetext.c: Improve error messages. + * stdio-common/tst-rndseek.c: Likewise. - * elf/dl-reloc.c (_dl_allocate_static_tls): Move definition of - variables only used if TLS_DTV_AT_TP is defined into the #if branch. +2002-01-18 Ulrich Drepper -2003-10-02 Jeroen Dekkers + * sysdeps/unix/sysv/linux/bits/statvfs.h: Avoid warning about comma at + end of enum for !_GNU_SOURCE. + * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: Likewise. + * sysdeps/mach/hurd/bits/statvfs.h: Don't define non-standard ST_* + values unless _GNU_SOURCE. - * sysdeps/mach/hurd/malloc-machine.h: Copy the tsd code from - the old thread-m.h header too. + * iconvdata/tcvn5712-1.c: Minor cleanups. -2003-10-02 Ulrich Drepper +2002-01-18 Andreas Schwab - * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (MINSIGSTKSZ): Go - back to 131027 since this is what the kernel enforces. + * sysdeps/unix/sysv/linux/configure.in + (libc_cv_gcc_unwind_find_fde): Set for m68k, too. - * inet/getnameinfo.c: Move domain out of nrl_domainname scope and - define it with libc_freeres_ptr. +2002-01-16 Roger Sayle -2003-10-01 Roland McGrath + * stdlib/msort.c (msort_with_tmp): Replace implementation with + more efficient "Towers of Hanoi" mergesort. + (hanoi_sort, hanoi_sort_int, hanoi_sort_long): New functions, + for generic, sizeof(int) and sizeof(long) variants respectively. - * elf/rtld.c (dl_main): Add cast in last change. +2002-01-17 Ulrich Drepper -2003-09-10 Chris Demetriou + * manual/syslog.texi (openlog): Describe possible problems with + first parameter. + Patch by Christopher Allen Wing . - * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Remove - "#if 0" surrounding most of contents. - (SYSCALL_ERROR_LABEL): Define. - (__SYSCALL_CLOBBERS): Add $10. - (internal_syscall7): Remove. - * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise. + * nscd/nscd.c (drop_privileges): Removed. Adjust caller. + * nscd/connections.c (begin_drop_privileges): New function. + (finish_drop_privileges): New function. + (nscd_init): Call the new functions which also install all groups + for the server user. + * nscd/Makefile (nscd-modules): Add xmalloc for nscd. + Patch by Christopher Allen Wing . -2003-09-30 Ulrich Drepper +2002-01-17 H.J. Lu - * elf/rtld.c (dl_main): Also set l_map_start. + * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Remove + `const' from `got'. -2003-09-30 Daniel Jacobowitz +2002-01-17 Martin Schwidefsky - * elf/rtld.c (dl_main): Set l_libname and l_name for the sysinfo DSO - to work around kernel problem. + * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Use 64 bit + instructions for pointer operations. + * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise. -2003-09-27 Wolfram Gloger +2002-01-17 Andreas Jaeger - * malloc/malloc.c: Include earlier instead of - "thread-m.h", so that default parameters can be overridden in a - system-specific malloc-machine.h. Remove extra ; from extern "C" - closing brace. - * sysdeps/generic/malloc-machine.h: New file. - * sysdeps/mach/hurd/malloc-machine.h: New file. - * malloc/thread-m.h: Removed. - * malloc/Makefile: Remove CFLAGS-malloc.c parameter addition, it - is in sysdeps/generic/malloc-machine.h now. + * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: GCC 3.1 has + __uint128_t build-in. -2003-09-29 Ulrich Drepper + * sysdeps/unix/sysv/linux/configure.in: Fix check for S390 and + PowerPC, sync with 2.2 branch. - * elf/dl-reloc.c (_dl_allocate_static_tls): Move definition of - variables only used if TLS_TCB_AT_TP is defined into the #if - branch. - - * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __extension__ as - well to cover using long long in C90. - -2003-09-28 Alfred M. Szmidt - - * sysdeps/mach/hurd/bits/libc-lock.h (__libc_cleanup_pop): - Redefine and use __libc_cleanup_region_end instead. - -2003-09-29 Thorsten Kukuk - - * sysdeps/unix/sysv/linux/sys/sysmacros.h: Use __inline and - fix prototypes for picky C++ compilers. - -2003-09-27 Ulrich Drepper - - * sysdeps/unix/sysv/linux/ustat.c (ustat): Set errno to EINVAL if - the device ID is invalid and return -1. - * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise. - -2003-09-26 Andreas Schwab - - * sysdeps/unix/sysv/linux/ia64/getcontext.S: Pass fourth argument to - rt_sigprocmask system call. - -2003-09-25 Roland McGrath - - * sysdeps/unix/sysv/linux/dl-execstack.c (_dl_make_stack_executable): - Don't check for zero __libc_stack_end, it should be initialized. - [_STACK_GROWS_DOWN] [PROT_GROWSDOWN]: Try using PROT_GROWSDOWN flag - and fall back if it fails with EINVAL. - [_STACK_GROWS_UP] [PROT_GROWSUP]: Likewise for PROT_GROWSUP. - -2003-09-25 Jakub Jelinek - - * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include - sysdeps/i386/dl-procinfo.c instead of - sysdeps/unix/sysv/linux/i386/dl-procinfo.c. - * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid using - #include_next. - -2003-09-25 Ulrich Drepper - - * posix/regcomp.c (peek_token): Remove recent changes for anchor - handling again. - (parse_reg_exp): Likewise. - * posix/regex.h: Remove RE_CARET_ANCHORS_HERE. - - * csu/Makefile ($(objpfx)version-info.h): Fix sed script to handle - banners. - - * nis/nis_table.c (nis_list): Always strdup string used with - ibreq->ibr_name. Add several NULL pointer checks. - - * nis/nss_nisplus/nisplus-alias.c: Add check for NULL return value - of nis_list. - * nis/nss_nisplus/nisplus-ethers.c: Likewise. - * nis/nss_nisplus/nisplus-grp.c: Likewise. - * nis/nss_nisplus/nisplus-hosts.c: Likewise. - * nis/nss_nisplus/nisplus-netgrp.c: Likewise. - * nis/nss_nisplus/nisplus-network.c: Likewise. - * nis/nss_nisplus/nisplus-proto.c: Likewise. - * nis/nss_nisplus/nisplus-publickey.c: Likewise. - * nis/nss_nisplus/nisplus-pwd.c: Likewise. - * nis/nss_nisplus/nisplus-rpc.c: Likewise. - * nis/nss_nisplus/nisplus-service.c: Likewise. - * nis/nss_nisplus/nisplus-spwd.c: Likewise. - - * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Define PROT_GROWSDOWN - and PROT_GROWSUP. - * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/cris/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise. - -2003-09-25 Jakub Jelinek - - * misc/syslog.c: Include locale.h. - (vsyslog): Add date always in C locale %h %e %T format. - -2003-09-24 Paul Eggert - - * argp/argp-fmtstream.c (__argp_fmtstream_ensure): Check for - size_t overflow when reallocating storage. - * argp/argp-help.c (make_hol, hol_append): Likewise. - (SIZE_MAX): New macro. - -2003-08-07 Alfred M. Szmidt - - * sysdeps/mach/hurd/bits/libc-lock.h - (__libc_cleanup_push, __libc_cleanup_pop): New macros. - -2003-08-01 Alfred M. Szmidt - - * sysdeps/i386/dl-procinfo.h: New file, contents taken from ... - * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: ... here. - #include_next dl-procinfo.h to get them. - (_DL_HWCAP_COUNT): Moved to sysdeps/i386/dl-procinfo.h. - (_DL_PLATFORMS_COUNT): Likewise. - (_DL_FIRST_PLATFORM): Likewise. - (_DL_HWCAP_PLATFORM): Likewise. - (HWCAP_I386_FPU, HWCAP_I386_VME, HWCAP_I386_DE, HWCAP_I386_PSE, - HWCAP_I386_TSC, HWCAP_I386_MSR, HWCAP_I386_PAE, HWCAP_I386_MCE, - HWCAP_I386_CX8, HWCAP_I386_APIC, HWCAP_I386_SEP, HWCAP_I386_MTRR, - HWCAP_I386_PGE, HWCAP_I386_MCA, HWCAP_I386_CMOV, - HWCAP_I386_FCMOV, HWCAP_I386_MMX, HWCAP_I386_OSFXSR, - HWCAP_I386_XMM, HWCAP_I386_XMM2, HWCAP_I386_AMD3D, - HWCAP_IMPORTANT): Likewise. - (_DL_PROCINFO_H_): Likewise. - (_dl_hwcap_string, _dl_platform_string, _dl_string_hwcap): Likewise. - (_dl_string_platform): Likewise. - * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Moved to ... - * sysdeps/i386/dl-procinfo.c: ... here, new file. - -2003-09-24 Ulrich Drepper - - * sysdeps/unix/sysv/linux/dl-execstack.c - (_dl_make_stack_executable): Remember that we changed the permission. - - * sysdeps/ia64/dl-machine.h (RTLD_START): Remove setting of - __libc_stack_end. Patch by David Mosberger. - -2003-09-24 Jakub Jelinek - - * elf/Versions (ld): Export __libc_stack_end@GLIBC_2.1 instead of - __libc_stack_end@GLIBC_PRIVATE. - - * sysdeps/generic/dl-sysdep.c (DL_STACK_END): Define if not defined. - (_dl_sysdep_start): Set __libc_stack_end here. - * sysdeps/alpha/dl-machine.h (RTLD_START): Remove setting of - __libc_stack_end. - * sysdeps/arm/dl-machine.h (RTLD_START): Likewise. - * sysdeps/cris/dl-machine.h (RTLD_START): Likewise. - * sysdeps/i386/dl-machine.h (RTLD_START): Likewise. - * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise. - * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise. - * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise. - * sysdeps/sh/dl-machine.h (RTLD_START): Likewise. - * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise. - * sysdeps/ia64/dl-machine.h (DL_STACK_END): Define. - * sysdeps/sparc/sparc32/dl-machine.h (DL_STACK_END): Define. - (RTLD_START): Remove setting of __libc_stack_end. - * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Define. - (RTLD_START): Remove setting of __libc_stack_end. - -2003-09-24 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add gnu_dev_ prefix to - function definitions. Adjust macro expansions accordingly. - * sysdeps/unix/sysv/linux/Versions: Add gnu_dev_ prefix to major, - minor, makedev name. - * sysdeps/unix/sysv/linux/makedev.c: Likewise. - -2003-09-24 Jakub Jelinek - - * sysdeps/unix/sysv/linux/sys/sysmacros.h (major, minor, makedev): - Add __THROW. - -2003-09-24 Jakub Jelinek - - * nscd/Makefile (others): Add nscd before including ../Rules. - -2003-09-24 Ulrich Drepper - - * nscd/Makefile: Add rules to build nscd as a PIE. - * configure.in: Check for -fpie and -pie compiler options. - * config.make.in (have-fpie): Define. - -2003-09-23 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sys/sysmacros.h: Adjust for larger - kernel dev_t size. - * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: Removed. - * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: Removed. - * sysdeps/unix/sysv/linux/makedev.c: New file. - * sysdeps/unix/sysv/linux/Dist: Add makedev.c. - * sysdeps/unix/sysv/linux/Makefile [subdir=misc] - (sysdep_routines): Add makedev. - * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.3.3): Add - major, minor, makedev. - * sysdeps/unix/sysv/linux/ustat.c (ustat): Adjust for 32-bit - kernel dev_t. - * sysdeps/unix/sysv/linux/alpha/ustat.c: Removed. - * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise. - * sysdeps/unix/sysv/linux/alpha/xmknod.c: Removed. - Code by Alexander Viro . - -2003-09-23 Ulrich Drepper - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions [libc] - (GLIBC_2.3.3): Add setcontext, getcontext, swapcontext, and - makecontext. - * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Correct change - for include Altivec support for PPC32. It was not compatible. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h: Adjust - offsets for ucontext_t change. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Adjust - for ucontext_t change. Add compatibility code. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise. - Patch by Paul Mackerras . - -2003-02-25 Randolph Chung - - * sysdeps/hppa/Makefile: Include compat code in build. - * sysdeps/hppa/libgcc-compat.c: New file. - * sysdeps/hppa/Dist: Add libgcc-compat.c. - * sysdeps/hppa/Versions [GLIBC_2.2]: Add __clz_tab. - -2003-09-23 Roland McGrath - - * elf/rtld.c (dl_main): In rtld_is_main case, reinitialize - GL(dl_stack_flags) according to rtld's own PT_GNU_STACK. - Move GL(dl_make_stack_executable_hook) initialization up. - * elf/tst-execstack-prog.c: New file. - * elf/Makefile (tests-execstack-yes): Add it. - (LDFLAGS-tst-execstack-prog): New variable. - -2003-09-23 Jakub Jelinek - - * sysdeps/x86_64/dl-machine.h (RTLD_START): Set __libc_stack_end - before calling _dl_start, using %rip relative access. - Use %rip relative access to _dl_skip_args, _rtld_local._dl_loaded - and _dl_fini. - -2003-09-23 Roland McGrath - - * sysdeps/i386/dl-machine.h (RTLD_START): Set __libc_stack_end before - calling _dl_start, using GOTOFF access. - - * configure.in (libc_cv_z_execstack): New check. - * configure: Regenerated. - * config.make.in (have-z-execstack): New variable set by it. - * elf/tst-execstack.c: New file. - * elf/tst-execstack-mod.c: New file. - * elf/tst-execstack-needed.c: New file. - * elf/Makefile (tests-execstack-yes, modules-execstack-yes): New - variables. - (tests, modules-names): Conditionally include them. - (distribute): Add tst-execstack-mod.c here. - ($(objpfx)tst-execstack, $(objpfx)tst-execstack.out): New targets. - (LDFLAGS-tst-execstack, LDFLAGS-tst-execstack-mod): New variables. - ($(objpfx)tst-execstack-needed): New target. - (LDFLAGS-tst-execstack-needed): New variable. - - * sysdeps/generic/ldsodefs.h (struct rtld_global): Add _dl_stack_flags - and _dl_make_stack_executable_hook. Declare _dl_make_stack_executable. - * elf/rtld.c (_rtld_global): Add initializer for _dl_stack_flags. - (dl_main): Reset _dl_stack_flags according to PT_GNU_STACK phdr. - Initialize _dl_make_stack_executable_hook. - * elf/dl-support.c: Define those new variables. - (_dl_non_dynamic_init): Scan phdrs for PT_GNU_STACK. - (_dl_phdr): Fix type. - * elf/dl-load.c (_dl_map_object_from_fd): Grok PT_GNU_STACK phdr and - enable execute permission for the stack if necessary. - * sysdeps/generic/dl-execstack.c: New file. - * elf/Makefile (dl-routines): Add it. - * elf/Versions (ld: GLIBC_PRIVATE): Add _dl_make_stack_executable. - * sysdeps/unix/sysv/linux/dl-execstack.c: New file. - -2003-09-23 Ulrich Drepper - - * sysdeps/posix/sprofil.c (pc_to_index): Remove inline marker. - -2003-09-20 Alfred M. Szmidt - - * sysdeps/generic/utmp_file.c (setutent_file, LOCK_FILE, - UNLOCK_FILE, setutent_file): Use fcntl_not_cancel instead of - __fcntl_nocancel. - -2003-09-22 Ulrich Drepper - - * malloc/malloc.c: Include . - -2003-09-20 Paolo Bonzini - - * posix/regcomp.c (build_word_op): Rename like... - (build_charclass_op): ...this. Accept two extra parameters, - CLASS_NAME and EXTRA. Add EXTRA to the result, not only _. - (peek_token): Accept \s and \S as OP_SPACE and OP_NOTSPACE. - (parse_expression): Replace build_word_op with - build_charclass_op, add new arguments, accept OP_SPACE - and OP_NOTSPACE. - * posix/regex_internal.h (re_token_type_t): Add OP_SPACE - and OP_NOTSPACE. - - * posix/regcomp.c (peek_token): Don't look back for ( or | - to check whether to treat a caret as special. It fails - for the (extended) regex \(^. - (parse, parse_reg_exp): Pass RE_CARET_ANCHORS_HERE to fetch_token. - * posix/regex.h: Define RE_CARET_ANCHORS_HERE. - - * posix/regexec.c: Check out of bounds value before shifting. - - * posix/regex_internal.h: Define __attribute for non-gcc. - -2003-09-22 Jakub Jelinek - - * include/atomic.h (atomic_compare_and_exchange_val_rel, - atomic_compare_and_exchange_bool_rel): Swap oldval/newval arguments - to avoid confusion. - - * sysdeps/unix/opendir.c: Include string.h. - -2003-09-22 Ulrich Drepper - - * timezone/zdump.c: Update from tzcode2003c. - * timezone/zic.c: Likewise. - * timezone/leapseconds: Update from tzdata2003c. - -2003-09-19 Ulrich Drepper - - * elf/Makefile ($(objpfx)librtld.os): Create link map also for - final build to ease quality control. - - * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): If compiled for - ld.so, don't include NULL buffer pointer handling. - -2003-09-19 Jakub Jelinek - - * dlfcn/dlopen.c (dlopen): Add static_link_warning. - -2003-09-18 Jakub Jelinek - - * libio/memstream.c (open_memstream): Use _IO_init instead of - _IO_old_init. - -2003-09-17 Ulrich Drepper - - * sysdeps/generic/wordexp.c (eval_expr_val): Use strtol since we - have to recognize octal and hexadecimal numbers as well. Simplify - function, signs are handled in strtol. - * posix/wordexp-test.c: Add tests for octal and hexadecimal - numbers in arithmetic expressions. - -2003-09-17 Jakub Jelinek - - * elf/Makefile (distribute): Add tst-alignmod.c. - (tests): Add tst-align. - (modules-names): Add tst-alignmod. - (CFLAGS-tst-align.c, CFLAGS-tst-alignmod.c): Add - $(stack-align-test-flags). - ($(objpfx)tst-align): Depend on libdl. - ($(objpfx)tst-align.out): Depend on tst-alignmod.so. - * elf/tst-align.c: New file. - * elf/tst-alignmod.c: New file. - * misc/Makefile (CFLAGS-tst-tsearch.c): Add $(stack-align-test-flags). - * misc/tst-tsearch.c: Include tst-stack-align.h. - (stack_align_check): New array. - (cmp_fn, walk_action): Use TEST_STACK_ALIGN (). - (main): Report error if stack was not enough aligned - in cmp_fn or walk_action. - * stdlib/Makefile (CFLAGS-tst-qsort.c): Add $(stack-align-test-flags). - * stdlib/tst-qsort.c: Include tst-stack-align.h. - (align_check): New var. - (compare): Use TEST_STACK_ALIGN () macro. - (main): Report error if stack was not enough aligned in compare. - * sysdeps/i386/i686/Makefile (stack-align-test-flags): Remove - unneeded -mpreferred-stack-boundary=4. - * sysdeps/x86_64/tst-stack-align.h: New file. - - * libio/memstream.c (_IO_wmem_jumps): Remove unused structure. - (_IO_wmem_sync, _IO_wmem_finish): Remove unused functions. - -2003-09-17 Philip Blundell - - * sysdeps/arm/dl-machine.h (CALL_ROUTINE): Deleted. - (BX): Define. - (ELF_MACHINE_RUNTIME_TRAMPOLINE): Optimise a little. - - * sysdeps/arm/sysdep.h (DO_RET): New. - - * sysdeps/unix/sysv/linux/arm/vfork.S: Add #error if __NR_vfork - required but not defined. Improve test of error code. - -2003-09-17 Jakub Jelinek - - * sysdeps/i386/Makefile (stack-align-test-flags): Add - -malign-double -mpreferred-stack-boundary=4. - -2003-09-17 Ulrich Drepper - - * sysdeps/posix/utimes.c (__utimes): Truncate instead of round. - * sysdeps/unix/sysv/linux/utimes.c (__utimes): Likewise. - -2003-09-15 Jakub Jelinek - - * sysdeps/i386/Makefile (sysdep-CFLAGS): If not in math or csu - subdir, add -mpreferred-stack-boundary=4, with few exceptions. - -2003-09-17 Jakub Jelinek - - * Makeconfig (stack-align-test-flags): Set. - * stdlib/Makefile (CFLAGS-tst-bsearch.c): Add - $(stack-align-test-flags). - * stdlib/tst-bsearch.c: Include tst-stack-align.h. - (align_check): New var. - (comp): Use TEST_STACK_ALIGN macro. - (do_test): Fail if align_check != 1. - * sysdeps/generic/tst-stack-align.h: New file. - * sysdeps/i386/i686/Makefile (stack-align-test-flags): Add -msse. - * sysdeps/i386/i686/tst-stack-align.h: New file. - -2003-09-17 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/clone.S: Make sure child gets a - stack which is aligned (mod 16). - -2003-09-17 Uwe Reimann - Hans-Peter Nilsson - - * sysdeps/cris/dl-machine.h (elf_machine_type_class): Classify - R_CRIS_GLOB_DAT as ELF_RTYPE_CLASS_PLT. Clarify comment. - -2003-09-17 Jakub Jelinek - - * dirent/scandir.c: Include bits/libc-lock.h. - (struct scandir_cancel_struct): New type. - (cancel_handler): New function. - (SCANDIR): Add __libc_cleanup_{push,pop}, save state into - scandir_cancel_struct. - -2003-09-16 Ulrich Drepper - - * sysdeps/unix/sysv/linux/Dist: Remove internal_statvfs.c. - * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): - Add internal_statvfs. - * sysdeps/unix/sysv/linux/fstatvfs.c: Call __internal_statvfs - instead of including "internal_statvfs.c". - * sysdeps/unix/sysv/linux/statvfs.c: Likewise. - * sysdeps/unix/sysv/linux/internal_statvfs.c: Make it a real function. - Add code to avoid the stat calls on all the reported mount points - when we can determine mismatch in advance. - * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add AUTOFS_SUPER_MAGIC and - USBDEVFS_SUPER_MAGIC. - -2003-09-16 Jakub Jelinek - - * posix/Versions (sched_getaffinity, sched_setaffinity): Change - from GLIBC_2.3.2 to GLIBC_2.3.3 symbol version. - -2003-09-16 Bruno Haible - - * intl/tst-gettext2.sh: Set GCONV_PATH and LOCPATH only after - invoking msgfmt, not before. - -2003-09-15 Jakub Jelinek - - * argp/argp.h (argp_parse, __argp_parse): Remove __THROW. - * argp/Makefile (CFLAGS-argp-help.c, CFLAGS-argp-parse.c): Add - $(uses-callbacks). - * dirent/Makefile (CFLAGS-scandir.c, CFLAGS-scandir64.c): Likewise. - * elf/Makefile (CFLAGS-dl-iterate-phdr.c, - CFLAGS-dl-iterate-phdr-static.c): Add $(uses-callbacks). - * elf/dl-iteratephdr.c (cancel_handler): New function. - (__dl_iterate_phdr): Add __libc_cleanup_{push,pop}. - * elf/link.h (dl_iterate_phdr): Remove __THROW. - * io/Makefile (CFLAGS-fts.c): Merge into one assignment. - Add $(uses-callbacks). - (CFLAGS-ftw.c, CFLAGS-ftw64.c): Add $(uses-callbacks). - * misc/Makefile (CFLAGS-tsearch.c, CFLAGS-lsearch.c): Change - $(exceptions) to $(uses-callbacks). - * Makeconfig (uses-callbacks): Set to $(exceptions). - * posix/Makefile (CFLAGS-glob.c, CFLAGS-glob64.c): Add - $(uses-callbacks). - * stdlib/Makefile (CFLAGS-bsearch.c, CFLAGS-msort.c, CFLAGS-qsort.c): - Likewise. - -2003-09-15 Andreas Schwab - - * sysdeps/m68k/setjmp.c: Add hidden_def. - -2003-09-14 Ulrich Drepper - - * libio/memstream.c (open_memstream): Don't allow wide char operations. - - * dirent/dirent.h: Remove __THROW from scandir. - -2003-09-14 Philip Blundell - - * sysdeps/unix/sysv/linux/arm/mmap.S: Use sys_mmap2 if it's known - to be available. - - * sysdeps/unix/sysv/linux/arm/mmap64.S: Optimise code a little. - - * sysdeps/arm/memset.S: Rewrite. - -2003-09-12 Jakub Jelinek - - * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: New. - (__SSIZE_T_TYPE): Define to __SWORD_TYPE for gcc 2.95.x and - __SLONGWORD_TYPE otherwise. - -2003-09-14 Ulrich Drepper - - * io/Makefile (CFLAGS-ftw.c): Add -fexceptions. - (CFLAGS-ftw64.c): Likewise. - -2003-09-13 Ulrich Drepper - - * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Add -fexceptions. - (CFLAGS-nscd_getgr_r.c): Likewise. - (CFLAGS-nscd_gethst_r.c): Likewise. - -2003-09-12 Ulrich Drepper - - * sysdeps/unix/sysv/linux/if_index.c: Use only non-cancelable - interfaces. - - * grp/Makefile (CFLAGS-getgrgid_r.c, CFLAGS-getgrnam_r.c, - CFLAGS-fgetgrent.c, CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c, - CFLAGS-initgroups.c, CFLAGS-getgrgid.c): Add -fexceptions. - * inet/Makefile (CFLAGS-either_ntoh.c, CFLAGS-either_hton.c, - CFLAGS-getnetgrent.c, CFLAGS-getnetgrent_r.c): Likewise. - * io/Makefile (CFLAGS-posix_fallocate.c, CFLAGS-posix_fallocate64.c): - Likewise. - * misc/Makefile (CFLAGS-err.c): Likewise. - * posix/Makefile (CFLAGS-getaddrinfo.c, CFLAGS-spawn.c, - CFLAGS-spawnp.c, CFLAGS-spawni.c, CFLAGS-pause.c, CFLAGS-glob.c, - CFLAGS-glob64.c): Likewise. - * pwd/Makefile (CFLAGS-getpw.c): Likewise. - * shadow/Makefile (CFLAGS-fgetspent.c, CFLAGS-fgetspent_r.c, - CFLAGS-putspent.c, CFLAGS-getspnam.c, CFLAGS-getspnam_r.c): Likewise. - * stdio-common/Makefile (CFLAGS-cuserid.c): Likewise. - * sunrpc/Makefile (CFLAGS-openchild.c): Likewise. - - * stdlib/Makefile (CFLAGS-mkstemp.c): Remove definition. - - * libio/stdio.h: Remove __THROW from cuserid prototype. - - * locale/loadarchive.c: Use only non-cancelable interfaces. - * resolv/herror.c (herror): Likewise. - - * malloc/hooks.c: Before using IO stream mark stream so it uses - only non-cancelable interfaces. - * malloc/malloc.c: Likewise. - * posix/getopt.c: Likewise. - - -2003-09-11 Jakub Jelinek - - * Makerules (LDFLAGS-c.so): Remove -u __register_frame. - -2003-09-12 Ulrich Drepper - - * stdio-common/stdio_ext.h: Mark most functions with __THROW. - - * misc/err.h: Remove __THROW from all prototypes. - - * posix/getopt.h (__THROW): Define if not already defined. Add - __THROW to the getopt functions. - -2003-09-11 Ulrich Drepper - - * io/Makefile (CFLAGS-lockf.c): Add -fexceptions. - (CFLAGS-fts.c): Likewise. - * io/fcntl.h: Remove __THROW from lockf prototypes. - * io/fts.h: Remove most __THROW. - -2003-09-11 H.J. Lu - - * elf/tls-macros.h (TLS_IE): Add a stop bit for ia64. - (TLS_LD): Likewise. - (TLS_GD): Likewise. - -2003-09-11 Jakub Jelinek - - * libio/fileops.c (_IO_new_file_overflow): Add INTUSE to - _IO_free_backup_area call. - -2003-09-10 Chris Demetriou - - * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Fix - syscall invocation. - * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise. - * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise. - Also, only assert off_t size is 4 for N32 and O32, and clean up - white space. - * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise. - -2003-09-10 Roland McGrath - - * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): - Don't use c_ispeed under [! _HAVE_STRUCT_TERMIOS_C_ISPEED]. - Don't use c_ospeed under [! _HAVE_STRUCT_TERMIOS_C_OSPEED]. - * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise. - Reported by Daniel Jacobowitz . - -2003-09-10 Jakub Jelinek - - * string/Makefile (strop-tests): Add memccpy. - * string/test-memccpy.c: New test. - -2003-09-09 Jakub Jelinek - - * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT): Add - siginfo_t * argument before, change into struct ucontext *. - (SIGCONTEXT_EXTRA_ARGS): Define to _si,. - (GET_PC, GET_FRAME, GET_STACK): Adjust for ctx being a pointer - instead of structure. - * sysdeps/unix/sysv/linux/x86_64/register-dump.h (REGISTER_DUMP): - Likewise. - -2003-09-09 Ulrich Drepper - - * string/stratcliff.c (main): Check memccpy. - -2003-04-11 Jes Sorensen - - * sysdeps/ia64/memccpy.S: When recovering for src_aligned and the - character is found during recovery, use correct register when - determining the position of the found character. - -2003-04-01 Jes Sorensen - - * sysdeps/ia64/memccpy.S: Use speculatively loads for readahead to - avoid segfaults when reading from unmapped pages. For aligned - reload and continue, for misaligned, roll back and use byte copy. - Save ar.ec on entry and restore on exit. - -2003-09-09 Chris Demetriou - - * sysdeps/unix/mips/sysdep.h (PSEUDO_END): Undef before defining. - -2003-09-08 Chris Demetriou - - * sysdeps/mips/mips64/n32/Implies: Move ieee754/ldbl-128 to - the top of the list. - * sysdeps/mips/mips64/n64/Implies: Likewise. - -2003-09-08 Roland McGrath - - * sysdeps/unix/sysv/linux/speed.c - (cfsetospeed): Only set c_ospeed under [_HAVE_STRUCT_TERMIOS_C_OSPEED]. - (cfsetispeed): Only set c_ispeed under [_HAVE_STRUCT_TERMIOS_C_ISPEED]. - * sysdeps/unix/sysv/linux/bits/termios.h - (_HAVE_STRUCT_TERMIOS_C_ISPEED, _HAVE_STRUCT_TERMIOS_C_OSPEED): Define. - * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise. - -2003-09-08 Ulrich Drepper - - * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Undo last change. - * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Likewise. - -2003-09-08 Jakub Jelinek - - * sysdeps/generic/bits/types.h (__quad_t): Make long int if 64-bit. - (__u_quad_t): Make unsigned long int if 64-bit. - (__SQUAD_TYPE): Make long int if 64-bit. - (__UQUAD_TYPE): Make unsigned long int if 64-bit. - * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Remove. - -2003-09-08 Ulrich Drepper - - * Makefile (tests): Run check-c++-types.sh if possible. - * scripts/check-c++-types.h: New file. - * scripts/data/c++-types-i386-linux-gnu.data: New file. - -2003-09-08 Andreas Jaeger - - * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump): - Use struct sigcontext. - - * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT): - Use struct sigcontext. - (GET_PC): Adopt. - (GET_FRAME): Likewise. - (GET_STACK): Likewise. - -2003-09-08 Wolfram Gloger - - * malloc/malloc.c (sYSMALLOc): Move foreign sbrk accounting into - contiguous case. Bug report from Prem Gopalan . - (mALLOPt): Avoid requirement of C99. - -2003-09-08 Ulrich Drepper - - * libio/bug-ftell.c: Include . - (main): Mark cp as const. - -2003-09-07 Jakub Jelinek - - * sysdeps/unix/sysv/linux/syscalls.list (fcntl): Remove. - * sysdeps/unix/sysv/linux/x86_64/fcntl.c: Remove. - -2003-09-05 Roland McGrath - - * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Fill in c_ispeed - and c_ospeed fields. - * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Set c_ospeed field. - (cfsetispeed): Set c_ispeed field. - * sysdeps/unix/sysv/linux/tcsetattr.c (IBAUD0): Define unconditionally - to match corresponding speed.c code. - -2003-09-06 Ulrich Drepper - - * libio/wfileops.c (_IO_wfile_underflow): Mark beginning of the - narrow character buffer. - * libio/Makefile: Add rules to build and run bug-ftell. - * libio/bug-ftell.c: New file. - - * stdio-common/vfprintf.c: Don't use the first grouping number twice. - - * stdio-common/vfscanf.c (vfscanf): Fix recognition of characters - matching the decimal point and possibly leading the thousands - separator. This caused the recognition of thousands separators to - always fail. - -2003-09-05 Ulrich Drepper - - * libio/fileops.c (_IO_new_file_overflow): Handle switching to - write mode from read in backup buffer. - * libio/Makefile (tests): Add bug-ungetc2. - * libio/bug-ungetc2.c: New file. - -2003-09-05 Roland McGrath - - * nss/getXXbyYY.c (FUNCTION_NAME): Remove unused variable. - -2003-09-04 Roland McGrath - - * sysdeps/mach/hurd/mmap.c (__mmap): If io_map fails with MIG_BAD_ID, - EOPNOTSUPP, or ENOSYS, change it to ENODEV. - -2003-09-04 H.J. Lu - - * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (MINSIGSTKSZ): - Fix a typo. - -2003-09-05 Andreas Jaeger - - * sysdeps/i386/bits/string.h (__memrchr): Do addition in assembler - to make it conforming C. - * sysdeps/i386/i486/bits/string.h (__memrchr): Likewise. - - * sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Change - prototype to use variable argument lists and get the possible one - argument via va_arg. - * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Likewise. - * sysdeps/unix/sysv/linux/x86_64/fcntl.c: New. - -2003-09-04 Ulrich Drepper - - * posix/unistd.h: Add back __THROW to sysconf, pathconf, fpathconf. - - * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max): - Report correct value for vxfs. - * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define VXFS_SUPER_MAGIC. - - * gmon/gmon.c: Use only not-cancelable syscalls to write profiling - data. - - * sysdeps/generic/utmp_file.c: Use not-cancelable syscalls all - over the place. It would be allowed to have these functions as - cancellation points but the cleanup would be ugly and a lot of - work. - - * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Define. - * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Define. - - * include/fcntl.h (__fcntl_nocancel): Declare. - * sysdeps/unix/sysv/linux/fcntl.c: New file. - * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Only enable - cancellation if absolutely needed. - (__fcntl_nocancel): Define. - - * posix/unistd.h (gethostid): Remove __THROW. Clarify comment. - * sysdeps/unix/sysv/linux/Makefile (CFLAGS-gethostid.c): Add - -fexceptions. - * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use - extend_alloca. - - * resolv/res_init.c (__res_nclose): Use close_not_cancel_no_status - instead of __close. - - * nss/getXXbyYY.c (FUNCTION_NAME): Add a few casts. Remove - unnecessary errno handling. - - * nss/getXXbyYY_r.c (INTERNAL): Use better variable name. - Initialize it in all cases. Change it to be a bit more like the - code we had before. - -2003-09-04 Jakub Jelinek - - * libio/fileops.c (_IO_file_read, _IO_new_file_write): Add - __builtin_expect. - (_IO_file_open): Likewise. Use close_not_cancel. - -2003-09-04 Ulrich Drepper - - * libio/libio.h: Define _IO_FLAGS2_NOTCANCEL. - * libio/fileops.c [_LIBC]: Remove close macro. - (_IO_file_open): If _IO_FLAGS2_NOTCANCEL is set, use open_not_cancel. - (_IO_new_file_open): Recognize 'c' flag in mode string. - (_IO_file_read): If _IO_FLAGS2_NOTCANCEL is set use read_not_cancel. - (_IO_new_file_write): If _IO_FLAGS2_NOTCANCEL is set use - write_not_cancel. - * iconv/gconv_conf.c: Use fopen with 'c' mode flag. - * inet/rcmd.c: Likewise. - * inet/ruserpass.c: Likewise. - * intl/localealias.c: Likewise. - * malloc/mtrace.c: Likewise. - * misc/getpass.c: Likewise. - * misc/getttyent.c: Likewise. - * misc/mntent_r.c: Likewise. - * misc/getusershell.c: Likewise. - * nss/nsswitch.c: Likewise. - * resolv/res_hconf.c: Likewise. - * resolv/res_init.c: Likewise. - * sysdeps/unix/sysv/linux/getsysstats.c: Likewise. - * time/getdate.c: Likewise. - * time/tzfile.c: Likewise. - * misc/fstab.h: Undo last change. - * misc/mntent.h: Likewise. - * misc/Makefile: Remove CFLAGS-mntent_r.c, CFLAGS-mntent.c, and - CFLAGS-fstab.c definition. - -2003-09-04 Jakub Jelinek - - * sysdeps/generic/unwind.h (_Unwind_GetBSP): Add prototype. - -2003-09-03 Ulrich Drepper - - * nss/getXXbyYY_r.c (INTERNAL): Explicitly set errno and avoid - returning ERANGE if this wasn't intended. - -2003-09-03 Jakub Jelinek - - * intl/loadmsgcat.c (open, close, read, mmap, munmap): Define as - function-like macros. - -2003-09-03 Ulrich Drepper - - * grp/Makefile (CFLAGS-getgrent_r.c): Add -fexceptions. - (CFLAGS-getgrent.c): Likewise. - * pwd/Makefile (CFLAGS-getpwent_r.c): Add -fexceptions. - (CFLAGS-getpwent.c): Likewise. - * shadow/Makefile (CFLAGS-getspent_r.c): Add -fexceptions. - (CFLAGS-getspent.c): Likewise. - - * inet/Makefile: Add -fexceptions to CFLAGS for the various - getXXent and getXXbyYY functions. - - * locale/loadlocale.c: Use not-cancelable variants of open, close, - and read. - -2003-09-02 Jakub Jelinek - - * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Remove - rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo and - rt_sigpending. - * sysdeps/unix/sysv/linux/alpha/sigaction.c (__syscall_rt_sigaction): - New prototype. - * sysdeps/unix/sysv/linux/arm/syscalls.list (__syscall_*): Remove - unused __syscall_ stubs. - * sysdeps/unix/sysv/linux/arm/Makefile (sysdep_routines): Remove - rt_*. - * sysdeps/unix/sysv/linux/cris/Makefile: Removed. - * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list - (__syscall_recvfrom, __syscall_sendto): Remove unused aliases. - * sysdeps/unix/sysv/linux/mips/syscalls.list (__syscall_*): Remove - unused __syscall_ stubs. - * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Remove rt_*. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list - (__syscall_*): Remove unused __syscall_ stubs. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list - (__syscall_*): Likewise. - * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines): Remove - rt_*. - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (__syscall_*): - Remove unused __syscall_ stubs. - * sysdeps/unix/sysv/linux/sh/Makefile (sysdep_routines): Remove rt_*. - * sysdeps/unix/sysv/linux/rt_sigaction.c: Removed. - * sysdeps/unix/sysv/linux/rt_sigpending.c: Removed. - * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Removed. - * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Removed. - * sysdeps/unix/sysv/linux/rt_sigreturn.c: Removed. - * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Removed. - * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Removed. - * sysdeps/unix/sysv/linux/s_pread64.c: Removed. - * sysdeps/unix/sysv/linux/s_pwrite64.c: Removed. - * sysdeps/unix/sysv/linux/alpha/gethostname.c: Remove unused - __syscall_* prototypes. - * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise. - * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. - * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise. - * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise. - * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise. - * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise. - * sysdeps/unix/sysv/linux/i386/lockf64.c: Likewise. - * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise. - * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise. - * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise. - * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pread.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/ptrace.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise. - * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/ioctl.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/execve.c: Likewise. - * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise. - * sysdeps/unix/sysv/linux/reboot.c: Likewise. - * sysdeps/unix/sysv/linux/_exit.c: Likewise. - * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise. - * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/fxstat64.c: Likewise. - * sysdeps/unix/sysv/linux/gai_sigqueue.c: Likewise. - * sysdeps/unix/sysv/linux/readahead.c: Likewise. - * sysdeps/unix/sysv/linux/getcwd.c: Likewise. - * sysdeps/unix/sysv/linux/sigwait.c: Likewise. - * sysdeps/unix/sysv/linux/getdents.c: Likewise. - * sysdeps/unix/sysv/linux/readv.c: Likewise. - * sysdeps/unix/sysv/linux/getpriority.c: Likewise. - * sysdeps/unix/sysv/linux/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/ipc_priv.h: Likewise. - * sysdeps/unix/sysv/linux/llseek.c: Likewise. - * sysdeps/unix/sysv/linux/sysctl.c: Likewise. - * sysdeps/unix/sysv/linux/lxstat64.c: Likewise. - * sysdeps/unix/sysv/linux/mmap64.c: Likewise. - * sysdeps/unix/sysv/linux/ustat.c: Likewise. - * sysdeps/unix/sysv/linux/poll.c: Likewise. - * sysdeps/unix/sysv/linux/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/writev.c: Likewise. - * sysdeps/unix/sysv/linux/pread.c: Likewise. - * sysdeps/unix/sysv/linux/ptrace.c: Likewise. - * sysdeps/unix/sysv/linux/sigpending.c: Likewise. - * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise. - * sysdeps/unix/sysv/linux/sigqueue.c: Likewise. - * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise. - * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise. - * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. - * sysdeps/unix/sysv/linux/truncate64.c: Likewise. - * sysdeps/unix/sysv/linux/xmknod.c: Likewise. - * sysdeps/unix/sysv/linux/xstat64.c: Likewise. - -2003-09-02 Jakub Jelinek - - * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Revert last change. - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: New file. - * sysdeps/unix/sysv/linux/sparc/syscalls.list: New file. - -2003-09-02 Ulrich Drepper - - * stdio-common/Makefile (CFLAGS-vprintf.c): Add -fexceptions. - - * intl/loadmsgcat.c: For _LIBC, call not cancelable versions of - open, close, and read. - - * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Also define - *_nocancel name. - - * sysdeps/unix/sysv/linux/i386/syscalls.list: Add waitpid. - - * libio/Makefile (CFLAGS-oldtmpfile.c): Add -fexceptions. - * sysdeps/generic/tmpfile.c (tmpfile): Use __unlink instead of remove. - * libio/oldtmpfile.c (__old_tmpfile): Likewise. - - * misc/Makefile (CFLAGS-getusershell.c): Add -fexceptions. - - * io/Makefile (CFLAGS-statfs.c): Add -fexceptions. - (CFLAGS-fstatfs.c): Likewise. - (CFLAGS-statvfs.c): Likewise. - (CFLAGS-fstatvfs.c): Likewise. - -2003-09-01 Ulrich Drepper - - * misc/Makefile (CFLAGS-getsysstats.c): Add -fexceptions. - * posix/unistd.h: Remove __THROW from pathconf, fpathconf, - sysconf. - * posix/Makefile (CFLAGS-sysconf.c): Add -fexceptions. - (CFLAGS-pathconf.c): Likewise. - (CFLAGS-fpathconf.c): Likewise. - - * misc/Makefile (CFLAGS-fstab.c): Add -fexceptions. - * misc/fstab.h: Remove all __THROW. - * misc/Makefile (CFLAGS-mntent.c): Add -fexceptions. - (CFLAGS-mntent_r.c): Likewise. - * misc/mntent.h: Remove most __THROW. - - * misc/Makefile (CFLAGS-mkstemp.c): Add -fexceptions. - (CFLAGS-mkstemp64.c): Likewise. - - * sysdeps/generic/wordexp.c (parse_comm): Disable cancellation - around call to exec_comm. - * posix/wordexp.h: Remove __THROW from wordexp. - * posix/Makefile (CFLAGS-wordexp.c): Add -fexceptions. - - * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Use - not-cancelable functions. - - * libio/Makefile (CFLAGS-oldiofopen.c): Add -fexceptions. - (CFLAGS-iofopen.c): Likewise. - (CFLAGS-iofopen64.c): Likewise. - - * stdlib/fmtmsg.c (fmtmsg): Disable cancellation around output - functions. - * stdlib/Makefile (CFLAGS-fmtmsg.c): Add -fexceptions. - * stdlib/fmtmsg.h: Remove __THROW from fmtmsg. - - * stdlib/stdlib.h: Remove __THROW from posix_openpt and getpt. - * login/Makefile (CFLAGS-getpt.c): Add -fexceptions. - -2003-09-01 Thorsten Kukuk - - * nis/nss_compat/compat-spwd.c (getspnam_plususer): Return - NSS_STATUS_SUCCESS if entry was found. - (getspent_next_file): Store user in blacklist after entry - was found, use innetgr. - -2003-09-01 Jakub Jelinek - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: New. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: New. - - * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Fix tls offset - computation for TCB_AT_TP. Support l_firstbyte_offset != 0 for - DTV_AT_TP, optimize. - -2003-08-31 Kaz Kojima - - * sysdeps/unix/sysv/linux/sh/Versions: Add posix_fadvise64 and - posix_fallocate64 at GLIBC_2.3.3. - * sysdeps/unix/sysv/linux/sh/sysdep.h (PSEUDO_ERRVAL): Define. - (PSEUDO_END_ERRVAL, ret_ERRVAL): Likewise. - -2003-08-08 H.J. Lu - - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Remove __syscall_ - functions. - -2003-08-31 Ulrich Drepper - - * libio/libioP.h (_IO_acquire_lock_fct): Define as inline function. - Code by Richard Henderson. - -2003-08-31 Philip Blundell - - * sysdeps/unix/sysv/linux/arm/Versions: Add posix_fadvise64 and - posix_fallocate64 at GLIBC_2.3.3. - -2003-08-31 Ulrich Drepper - - * sysdeps/x86_64/bsd-_setjmp.S: Use HIDDEN_JUMPTARGET. - * include/setjmp.h: Add libc_hidden_proto for __sigsetjmp. - -2003-08-30 Jakub Jelinek - - * sysdeps/generic/sysdep.h (cfi_window_save, CFI_WINDOW_SAVE): Define. - * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Allow file to be - included multiple times. - * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Pass - ptid, tls, ctid arguments to the kernel. - * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c (__getpagesize): - Use INTERNAL_SYSCALL instead of __syscall_getpagesize. - * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c - (__libc_sigaction): Use INLINE_SYSCALL instead of - __syscall_rt_sigaction. - * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list - (__syscall_getgroups, __syscall_getpagesize, __syscall__llseek, - __syscall_setfsgid, __syscall_setfsuid, __syscall_setgid, - __syscall_setgroups, __syscall_setregid, __syscall_setreuid, - __syscall_ipc, __syscall_setuid, __syscall_rt_sigaction, - __syscall_rt_sigpending, __syscall_rt_sigprocmask, - __syscall_rt_sigqueueinfo, __syscall_rt_sigsuspend, - __syscall_rt_sigtimedwait): Remove unneeded syscall stubs. - * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (sysdep_routines): - Remove rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, - rt_sigqueueinfo, rt_sigaction and rt_sigpending. - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h - (__CLONE_SYSCALL_STRING): Define. - * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S (__socket): Add - CFI directives. - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h - (__CLONE_SYSCALL_STRING): Define. - * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_CLONE_SYSCALL): - Define. - * sysdeps/unix/sysv/linux/sparc/system.c: New file. - -2003-08-30 Ulrich Drepper - - * sunrpc/rpc/clnt.h: Remove a few __THROW. - * sunrpc/Makefile (CFLAGS-auth_unix.c): Add -fexceptions. - (CFLAGS-key_call.c): Likewise. - (CFLAGS-pmap_rmt.c): Likewise. - (CFLAGS-clnt_perr.c): Likewise. - * sunrpc/rpc/auth.h: Remove serveral __THROW. - - * inet/Makefile (CFLAGS-gethstbyad_r.c): Add -fexceptions. - (CFLAGS-gethstbynm_r.c): Likewise. - (CFLAGS-gethstbynm2_r.c): Likewise. - (CFLAGS-rcmd.c): Likewise. - * resolv/Makefile (CFLAGS-res_hconf.c): Add -fexceptions. - - * argp/Makefile (CFLAGS-argp-help.c): Add -fexceptions. - (CFLAGS-argp-fmtstream.c): Likewise. - * argp/argp.h: Remove a number of __THROW. - - * misc/sys/syslog.h (vsyslog): Remove __THROW. - - * misc/Makefile (CFLAGS-getpass.c): Add -fexceptions. - * misc/getpass.c (getpass): Add cleanup handler to ensure the - stream is closed even if the thread is canceled. - (call_fclose): New function. - * posix/unistd.h: Remove __THROW from getpass prototype. - - * posix/Makefile (CFLAGS-getopt.c): Add -fexceptions. - - * signal/signal.h (psignal): Remove __THROW. - * stdio-common/Makefile (CFLAGS-psignal.c): Add -fexceptions. - - * misc/Makefile (CFLAGS-error.c): Define. - * misc/error.c (error): Disable cancellation handling around the - actual output. The message should in any case be printed. - (error_at_line): Likewise. - - * misc/error.h: Protect parameter names with leading __. - -2003-08-28 Carlos O'Donell - - * sysdeps/unix/sysv/linux/hppa/syscalls.list: Add semtimedop. - -2003-08-29 Jakub Jelinek - - * libio/iofgetpos64.c (_IO_new_fgetpos64): Move lock release to the - end. - -2003-08-29 Ulrich Drepper - - * libio/stdio.h: Remove a few more __THROW. - -2003-08-29 Jakub Jelinek - - * libio/Makefile: Compile fputc.c, fputwc.c, freopen64.c, freopen.c, - fseek.c, fseeko64.c, fseeko.c, ftello64.c, ftello.c, fwide.c, getc.c, - getchar.c, getwc.c, getwchar.c, iofclose.c, iofflush.c, iofgetpos64.c, - iofgetpos.c, iofgets.c, iofgetws.c, iofputs.c, iofputws.c, iofread.c, - iofsetpos64.c, iofsetpos.c, ioftell.c, iofwrite.c, iogetdelim.c, - iogetline.c, iogets.c, iogetwline.c, ioputs.c, ioseekoff.c, - ioseekpos.c, iosetbuffer.c, iosetvbuf.c, ioungetc.c, ioungetwc.c, - oldfileops.c, oldiofclose.c, oldiofgetpos64.c, oldiofgetpos.c, - oldiofsetpos64.c, oldiofsetpos.c, peekc.c, putc.c, putchar.c, putwc.c, - putwchar.c and rewind.c with exceptions. - * sysdeps/generic/bits/stdio-lock.h (_IO_acquire_lock, - _IO_release_lock): Define. - * libio/fileops.c (_IO_new_file_underflow): Use it. - * libio/fputc.c (fputc): Likewise. - * libio/fputwc.c (fputwc): Likewise. - * libio/freopen64.c (freopen64): - * libio/freopen.c (freopen): Likewise. - * libio/fseek.c (fseek): Likewise. - * libio/fseeko64.c (fseeko64): Likewise. - * libio/fseeko.c (fseeko): Likewise. - * libio/ftello64.c (ftello64): Likewise. - * libio/ftello.c (ftello): Likewise. - * libio/fwide.c (fwide): Likewise. - * libio/getc.c (_IO_getc): Likewise. - * libio/getchar.c (getchar): Likewise. - * libio/getwc.c (_IO_getwc): Likewise. - * libio/getwchar.c (getwchar): Likewise. - * libio/iofclose.c (_IO_new_fclose): - * libio/iofflush.c (_IO_fflush): Likewise. - * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise. - * libio/iofgetpos.c (_IO_new_fgetpos): Likewise. - * libio/iofgets.c (_IO_fgets): Likewise. - * libio/iofgetws.c (fgetws): Likewise. - * libio/iofputs.c (_IO_fputs): Likewise. - * libio/iofputws.c (fputws): Likewise. - * libio/iofread.c (_IO_fread): Likewise. - * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise. - * libio/iofsetpos.c (_IO_new_fsetpos): Likewise. - * libio/ioftell.c (_IO_ftell): Likewise. - * libio/iofwrite.c (_IO_fwrite): Likewise. - * libio/iogetdelim.c (_IO_getdelim): Likewise. - * libio/iogets.c (_IO_gets): Likewise. - * libio/ioputs.c (_IO_puts): Likewise. - * libio/ioseekoff.c (_IO_seekoff): Likewise. - * libio/ioseekpos.c (_IO_seekpos): Likewise. - * libio/iosetbuffer.c (_IO_setbuffer): Likewise. - * libio/iosetvbuf.c (_IO_setvbuf): Likewise. - * libio/ioungetc.c (_IO_ungetc): Likewise. - * libio/ioungetwc.c (ungetwc): Likewise. - * libio/oldiofclose.c (_IO_old_fclose): Likewise. - * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise. - * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise. - * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise. - * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise. - * libio/peekc.c (_IO_peekc_locked): Likewise. - * libio/putc.c (_IO_putc): Likewise. - * libio/putchar.c (putchar): Likewise. - * libio/putwc.c (putwc): Likewise. - * libio/putwchar.c (putwchar): Likewise. - * libio/rewind.c (rewind): Likewise. - * libio/wfileops.c (_IO_wfile_underflow): Likewise. - -2003-08-29 Ulrich Drepper - - * signal/signal.h: sighold, sigrelse, sigignore, sigset were - available in XPG4.2. - -2003-08-27 Phil Knirsch - Jakub Jelinek - - * sunrpc/svc.c (svc_getreqset): Fix fds_bits reading on 64-bit - big endian arches. Don't read beyond end of fds_bits array. - -2003-04-27 Bruno Haible - - * manual/message.texi (Advanced gettext functions): Add information - about Korean, Portuguese, Latvian. Gaeilge is also known as Irish. - Add section about Lithuanian, reported by Ricardas Cepas - . - Add information about Croatian. - Ukrainian is like Russian, reported by Andy Rysin . - Remove remark about continuation lines that is not true for PO files. - Fix formula for Slovenian, reported by Roman Maurer - . - -2003-08-27 Ulrich Drepper - - * math/math_private.h: Declare __copysignf. - * sysdeps/ieee754/flt-32/s_scalbnf.c: Use __copysignf instead of - copysignf. - - * sysdeps/x86_64/fpu/bits/mathinline.h: Define __signbitf, - __signbit, and __signbitl inline functions. - - * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Use - HIDDEN_JUMPTARGET instead of JUMPTARGET to call exit(). - - * sysdeps/x86_64/bsd-_setjmp.S [PIC]: Jump to __GI___sigsetjmp. - * sysdeps/x86_64/setjmp.S: Add libc_hidden_def for __sigsetjmp. - -2003-08-27 Jakub Jelinek - - * inet/inet_mkadr.c (inet_makeaddr): Optimize. - -2003-08-27 Ulrich Drepper - - * include/stdio.h: Add declarations for __builtin_fwrite and - __builtin_fwrite_unlocked. - -2003-08-27 Jakub Jelinek - - * sysdeps/unix/opendir.c (__opendir): Make sure even struct dirent64 - fits into allocation. Add padding on 32-bit arches so that - dirp->data is enough aligned for struct dirent64. - Avoid clearing of the buffer, just clear DIR structure. - -2003-08-26 Ulrich Drepper - - * nss/nsswitch.c: Add libc_hidden_def for __nss_lookup_function. - * nss/nsswitch.h: Add libc_hidden_proto for __nss_lookup_function. - -2003-08-26 Steven Munroe - - * sysdeps/powerpc/powerpc64/elf/Makefile: New file. - -2003-08-26 Jakub Jelinek - - * login/programs/utmpdump.c (print_entry): Cast tv_usec to long - to match format string. - * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c (union semun): Add - __old_buf. - (__new_semctl): Shut up warning. - * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h - (_dl_string_hwcap): Add __attribute__ ((always_inline)). - -2003-08-26 Jakub Jelinek - - * elf/ldconfig.c (search_dir): When checking for GNU-style .so - link file use the real file name, not the resolved name we got by - following the symlinks. - -2003-08-25 Ulrich Drepper - - * libio/oldfileops.c (_IO_old_file_init): Initialize _mode field - if the object size is large enough. - -2003-08-25 Jakub Jelinek - - * elf/ldconfig.c (search_dir): Treat symlink as regular file - if it won't point to itself unless it is .so symlink for the linker. - -2003-08-25 Ulrich Drepper - - * libio/libio.h (_IO_fwide): In the mode==0 optimization, don't - use _mode if _IO_fwide_maybe_incompatible. - * libio/iofwide.c (_IO_fwide): Move the test for mode == 0 after - the compatibility test. - -2003-08-25 Jakub Jelinek - - * elf/cache.c (save_cache): Don't write beyond end of file_entries - buffer. - Duplicate last old cache entry if the count would be odd. - -2003-08-25 Andreas Jaeger - - * sysdeps/unix/sysv/linux/posix_fadvise64.c: Cast arguments of - __LONG_LONG_PAIR to long. - -2003-08-25 Philip Blundell - - * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_ERRVAL): Define. - (PSEUDO_END_ERRVAL, ret_ERRVAL): Likewise. - -2003-08-18 Alfred M. Szmidt - - * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_pop): Redefine - and use __libc_cleanup_region_end instead. - -2003-08-25 Ulrich Drepper - - * elf/ldconfig.c (search_dir): Revert patch of 2003-7-21. - -2003-08-22 Ulrich Drepper - - * io/fcntl.h (posix_fallocate): Change type of third parameter to - off_t. - (posix_fallocate64): Change type of third parameter to off64_t. - * sysdeps/generic/posix_fallocate.c: Adjust for type change. - * sysdeps/posix/posix_fallocate.c: Likewise. - * sysdeps/generic/posix_fallocate64.c: Likewise. - * sysdeps/posix/posix_fallocate64.c: Likewise. Add compatibility - code for 32-bit platforms. - * sysdeps/unix/sysv/linux/i386/Versions: Add new version for - posix_fallocate64. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/Versions: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise. - -2003-08-19 Ulrich Drepper - - * string/bits/string2.h (__STRING2_COPY_TYPE): Add attribute to - the type, not to name. - - * stdio-common/test-vfprintf.c (main): Don't write temporary file - into source directory. - - * malloc/malloc.c (_int_free): Add cheap test for some invalid - block sizes. - - * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Fix typo in - syscall name. - -2003-08-18 Ulrich Drepper - - * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Fold EISDIR error - into EINVAL. - -2003-08-18 H.J. Lu - - * sysdeps/ia64/dl-machine.h (elf_machine_rela): Use _dl_reloc_bad_type. - (elf_machine_lazy_rel): Likewise. - -2003-08-18 Art Haas - - * malloc/malloc.h: Remove unneeded ';' where closing the C++ - extern block. - -2003-08-18 Ulrich Drepper - - * sysdeps/ia64/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Support - loading big binaries where @gprel(sym) cannot be handled in 'add' - but instead has to be used with 'movl'. - -2003-08-17 Juergen Kreileder - Andreas Jaeger - - * sysdeps/x86_64/bits/byteswap.h: New file. - -2003-08-17 Andreas Jaeger - - * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Fix typo. - -2003-08-16 Jakub Jelinek - - * sysdeps/powerpc/powerpc32/sysdep.h (PSEUDO_ERRVAL, - PSEUDO_RET_ERRVAL, ret_ERRVAL, PSEUDO_END_ERRVAL): Define. - * sysdeps/powerpc/powerpc64/sysdep.h (PSEUDO_ERRVAL, - PSEUDO_RET_ERRVAL, ret_ERRVAL, PSEUDO_END_ERRVAL): Define. - * sysdeps/unix/alpha/sysdep.h (PSEUDO_ERRVAL, - ret_ERRVAL, PSEUDO_END_ERRVAL): Define. - * sysdeps/unix/mips/sysdep.h (PSEUDO_ERRVAL, - ret_ERRVAL, PSEUDO_END_ERRVAL): Define. - * sysdeps/unix/sparc/sysdep.h (PSEUDO_ERRVAL, - ret_ERRVAL): Define. - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PSEUDO_ERRVAL, - PSEUDO_END_ERRVAL, ret_ERRVAL): Define. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (PSEUDO_ERRVAL, - PSEUDO_END_ERRVAL, ret_ERRVAL): Define. - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO_ERRVAL): - Define. - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (PSEUDO_ERRVAL, - PSEUDO_END_ERRVAL, ret_ERRVAL): Define. - * sysdeps/unix/sysdep.h (PSEUDO_END_ERRVAL): Define. - - * sysdeps/unix/sysv/linux/syscalls.list (posix_fadvise64, - posix_fadvise64_64): Remove. - * sysdeps/unix/sysv/linux/alpha/syscalls.list (posix_fadvise64): Add - V flag. - * sysdeps/unix/sysv/linux/ia64/syscalls.list (posix_fadvise64): - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list - (posix_fadvise64): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list - (posix_fadvise64): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list - (posix_fadvise64): Likewise. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list (posix_fadvise64): - Likewise. - * sysdeps/unix/sysv/linux/i386/posix_fadvise64_64.S: Moved to... - * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: ...here. - (__posix_fadvise64_l64): Fix a typo in fadvise64 syscall invocation. - (__posix_fadvise64_l32): New function. - * sysdeps/unix/sysv/linux/i386/Makefile: Revert last change. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions (libc): Export - posix_fadvise64@@GLIBC_2.3.3. - * sysdeps/unix/sysv/linux/s390/s390-32/Versions (libc): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (libc): Likewise. - * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Return - error value. - * sysdeps/unix/sysv/linux/posix_fadvise64.c: New file. - - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h - (SYSCALL_ERROR_HANDLER): Use TLS errno/__libc_errno if USE___THREAD. - -2003-08-15 Jakub Jelinek - - * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Remove. - (elf_machine_matches_host): Remove weak extern stuff. - Use GL(dl_hwcap) unconditionally and GL(dl_hwcap_mask) if SHARED. - (elf_machine_runtime_setup, sparc_fixup_plt): Remove weak extern - stuff. Use GL(dl_hwcap) unconditionally. - -2003-08-16 Alan Modra - - * sysdeps/powerpc/powerpc64/elf/start.S: Add a nop after - __libc_start_main branch. - -2003-08-16 Jakub Jelinek , - Andreas Jaeger - - * sysdeps/generic/posix_fadvise.c (posix_fadvise): Return ENOSYS - instead of setting errno. - * sysdeps/generic/posix_fadvise64.c (posix_fadvise64): Likewise. - -2003-08-16 Andreas Jaeger - - * sysdeps/generic/posix_fadvise.c (posix_fadvise): Adjust prototype. - * sysdeps/generic/posix_fadvise64.c (posix_fadvise64): Likewise. - -2003-08-15 Ulrich Drepper - - * io/fcntl.h (posix_fadvise64): Change type of third parameter to - off_t. - * sysdeps/unix/sysv/linux/posix_fadvise.c: Adjust definition. - * sysdeps/unix/make-syscalls.sh: Recognize V prefix to the parameter - description indicating the error value is returned, not -1. - * sysdeps/unix/sysv/linux/kernel-features.h: Add definition of - __ASSUME_FADVISE64_64_SYSCALL. - * sysdeps/unix/sysv/linux/syscalls.list: Don't define madvise and - posix_madvise in one file. Have posix_madvise defined with error - value returned. - Define posix_fadvise64_64 entry. Add version info to posix_fadvise64 - entry. - * sysdeps/unix/sysv/linux/i386/posix_fadvise.S: New file. - * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PSEUDO_ERRVAL, - PSEUDO_END_ERRVAL, and ret_ERRVAL. - * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.3.3]: Add - posix_fadvise64. - - * posix/Makefile (routines): Add posix_madvise. - * sysdeps/generic/madvise.c: Don't define posix_madvise. - * sysdeps/generic/posix_madvise.c: New file. - * sysdeps/unix/sysv/aix/posix_madvise.c: New file. - * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (subdir_routines): - Add posix_fadvise64_64. - -2003-08-15 Jakub Jelinek - - * assert/assert.h (assert_perror): Use __builtin_expect for gcc >= - 3.0, not for !gcc or gcc < 3.0. - -2003-08-11 Carlos O'Donell - - * dlfcn/default.c (main): Cast dlsym loaded value to same type as main. - Address passed to test_in_mod1 and test_in_mod2 without casting. - * dlfcn/defaultmod1.c: Change prototype of test_in_mod1. - (test_in_mod1): Cast dlsym loaded value to same type as mainp. - * dlfcn/defaultmod2.c: Change prototype of test_in_mod2. - (test_in_mod2): Cast dlsym loaded value to same type as mainp. - -2003-08-15 Jakub Jelinek - - * sysdeps/sparc/sparc32/elf/configure.in (libc_cv_sparc32_tls): - Change quotes before using []. - - * sysdeps/unix/sysv/linux/sparc/sys/user.h: New file. - - * sysdeps/sparc/sparc32/bits/atomic.h (__sparc32_atomic_lock): - Renamed to... - (__sparc32_atomic_locks): ...this. Change into 64-byte array. - (__sparc32_atomic_do_lock, __sparc32_atomic_do_unlock): Add addr - argument. Select one of 64 locks from address bits. - (atomic_compare_and_exchange_val_acq, - atomic_compare_and_exchange_bool_acq): Pass memory address to - __sparc32_atomic_do_{,un}lock. - -2003-08-14 Ulrich Drepper - - * assert/assert.h (assert): Use !! in front of expression to allow - use of pointers. - - * iconvdata/cp932.c: Fixed checking of a few border of code areas. - Changed conversion of JIS X 0201 from using a table to calculating. - * iconvdata/euc-jp-ms.c: Fixed conversion table and rewrote - conversion routine. Changed CHARSET_NAME definition from EUCJP-MS to - EUC-JP-MS. - * iconvdata/tst-tables.sh: Add CP932 and EUC-JP-MS. - * iconvdata/CP932.irreversible: New file. - * iconvdata/EUC-JP-MS.irreversible: New file. - Patch by MORIYAMA Masayuki . - -2003-08-13 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/syscalls.list: Add time syscall. - - * elf/Makefile: Use LC_ALL=C in a few cases where we call external - text processing tools. - - * sysdeps/pthread/aio_misc.h (struct waitlist): Don't add caller_pid - element unless BROKEN_THREAD_SIGNALS is defined. - (struct requestlist): Likewise. - * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Don't fill in - caller_pid of new request unless BROKEN_THREAD_SIGNALS is defined. - * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise. - * sysdeps/pthread/aio_notify.c (__aio_notify_only): Remove caller_pid - parameter unless BROKEN_THREAD_SIGNALS is defined. Adjust callers. - Pass current PID to __aio_sigqueue. - * sysdeps/pthread/lio_listio.c (lio_listio): Adjust __aio_notify_only - call. Don't initialize caller_pid field of waitlist element. - -2003-08-12 Jakub Jelinek - - * libio/libioP.h (_IO_vtable_offset): Define. - * libio/freopen.c (freopen): Use it. - * libio/ioputs.c (_IO_puts): Likewise. - * libio/freopen64.c (freopen64): Likewise. - * libio/genops.c (__underflow, __uflow, _IO_flush_all_lockp): - Likewise. - * libio/iofclose.c (_IO_new_fclose): Likewise. - * libio/iofputs.c (_IO_fputs): Likewise. - * libio/ioftell.c (_IO_ftell): Likewise. - * libio/iofwrite.c (_IO_fwrite): Likewise. - * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise. - * libio/iosetbuffer.c (_IO_setbuffer): Likewise. - * stdio-common/vfprintf.c (ORIENT, vfprintf): Likewise. - * stdio-common/vfscanf.c (ORIENT): Likewise. - -2003-08-11 Ulrich Drepper - - * assert/assert.h: Use __builtin_expect in assert and - assert_perror definitions if possible. - -2003-08-07 Jakub Jelinek - - * sysdeps/generic/ldsodefs.h (_rtld_global): Add - _dl_rtld_lock_recursive and _dl_rtld_unlock_recursive. - * elf/rtld.c (rtld_lock_default_lock_recursive, - rtld_lock_default_unlock_recursive): New functions. - (dl_main): Initialize _dl_rtld_lock_recursive and - _dl_rtld_unlock_recursive. - -2003-08-05 Jakub Jelinek - - * elf/ldconfig.c (main): Append SLIBDIR and LIBDIR to - config_file directories instead of prepending. - -2003-08-02 Ulrich Drepper - - * sysdeps/unix/sysv/linux/kernel-features.h: Define - __ASSUME_CLONE_STOPPED. - -2003-08-01 Ulrich Drepper - - * sysdeps/generic/bits/libc-lock.h - (__libc_cleanup_push,__libc_cleanup_pop): Define even here. - -2003-08-01 Roland McGrath - - * sysdeps/mach/hurd/getdents.c: Just use sysdeps/generic/getdents.c. - -2003-07-31 Jakub Jelinek - - * sysdeps/generic/bits/types.h (__ssize_t): Use __SSIZE_T_TYPE - instead of __SWORD_TYPE. - * sysdeps/generic/bits/typesizes.h (__SSIZE_T_TYPE): Define. - * sysdeps/mach/hurd/bits/typesizes.h (__SSIZE_T_TYPE): Define. - * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h (__SSIZE_T_TYPE): - Define. - * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__SSIZE_T_TYPE): - Define. - * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__SSIZE_T_TYPE): - Define. - * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: New file. - - * dlfcn/dlerror.c (once): New. - (dlerror): Call __libc_once. - (_dlerror_run): Remove once. - - * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext): - Sync with 2.5.7 and 2.5.73 kernel changes. - - * dlfcn/eval.c (funcall): Add noinline attribute to shut up warnings. - * elf/rtld.c (dl_main): Cast ElfW(Addr) arguments with %Zx/%Zd - formats to size_t. - * elf/dl-lookup.c (_dl_debug_bindings): Likewise. - * elf/tst-tls6.c (do_test): Use %zd format for l_tls_modid. - * elf/tst-tls8.c (do_test): Use %zd format for modid1 and modid2. - * gmon/tst-sprofil.c (main): Add parens to shut up warning. - * iconv/tst-iconv3.c (main): Use %td instead of %zd for pointer - difference argument. - * stdio-common/tst-wc-printf.c (main): Cast arguments with %C - format to wint_t. - * stdlib/tst-limits.c (main): For WORD_BIT and LONG_BIT, use - %d format and cast expected value to int. - * sysdeps/generic/libc-start.c (STATIC): Add - __attribute__((always_inline) if LIBC_START_MAIN is already defined. - * sysdeps/powerpc/fpu/w_sqrt.c (a_nan, a_inf): Change from uint32_t - to ieee_float_shape_type. - (__sqrt): Avoid type punning. - * sysdeps/powerpc/fpu/w_sqrtf.c (a_nan, a_inf): Change from uint32_t - to ieee_float_shape_type. - (__sqrtf): Avoid type punning. - * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Don't define - refsym if in dl-conflict.c. - * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise. - * sysdeps/unix/sysv/linux/i386/semctl.c (union semun): Add __old_buf. - (__new_semctl): Shut up warning. - * sysdeps/unix/sysv/linux/semctl.c (union semun): Add __old_buf. - (__new_semctl): Shut up warning. - * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Wrap long lines. - Change old into union of __old_shmid_ds and __old_shminfo structs. - Adjust all users. - * wcsmbs/wcsmbs-tst1.c (main): Cast arguments with %C format to wint_t. - - * sysdeps/unix/sysv/linux/utimes.c (__utimes): Fix actime and - modtime computation. - * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise. - * sysdeps/posix/utimes.c (__utimes): Likewise. - -2003-07-30 Jakub Jelinek - - * elf/dl-reloc.c (_dl_allocate_static_tls): Don't return any value, - call dl_signal_error directly. If already relocated, call - GL(dl_init_static_tls) directly, otherwise queue it for later. - (CHECK_STATIC_TLS): Undo 2003-07-24 change. - * elf/rtld.c (dl_main): Initialize GL(dl_init_static_tls). - * elf/dl-open.c (dl_open_worker): Call GL_dl_init_static_tls - for all static TLS initializations delayed in _dl_allocate_static_tls. - * elf/dl-support.c (_dl_init_static_tls): New variable. - * include/link.h (struct link_map): Add l_need_tls_init. - * sysdeps/generic/ldsodefs.h (_rtld_global): Add _dl_init_static_tls. - (_dl_nothread_init_static_tls): New prototype. - (_dl_allocate_static_tls): Adjust prototype. - - * elf/tls-macros.h (VAR_INT_DEF): Add alignment directive. - -2003-07-31 Alexandre Oliva - - * elf/dynamic-link.h (elf_machine_rel, elf_machine_rela, - elf_machine_rel_relative, elf_machine_rela_relative): Don't assume - reloc_addr is aligned. - * sysdeps/alpha/dl-machine.h (elf_machine_rela, - elf_machine_rela_relative): Adjust. - * sysdeps/arm/dl-machine.h (elf_machine_rel, elf_machine_rela, - elf_machine_rel_relative, elf_machine_rela_relative): Adjust. - * sysdeps/cris/dl-machine.h (elf_machine_rela, - elf_machine_rela_relative): Adjust. - * sysdeps/hppa/dl-machine.h (elf_machine_rela, - elf_machine_rela_relative): Adjust. - * sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela, - elf_machine_rel_relative, elf_machine_rela_relative): Adjust. - * sysdeps/ia64/dl-machine.h (elf_machine_rela, - elf_machine_rela_relative): Adjust. - * sysdeps/m68k/dl-machine.h (elf_machine_rela, - elf_machine_rela_relative): Adjust. - * sysdeps/mips/dl-machine.h (elf_machine_rela, - elf_machine_rela_relative): Adjust. - * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela, - elf_machine_rela_relative): Adjust. - * sysdeps/powerpc/powerpc64/dl-machine.h - (elf_machine_rela_relative, elf_machine_rela): Adjust. - * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela, - elf_machine_rela_relative): Adjust. - * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela, - elf_machine_rela_relative): Adjust. - * sysdeps/sh/dl-machine.h (elf_machine_rela, - elf_machine_rela_relative): Adjust. - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela, - elf_machine_rela_relative): Adjust. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela, - elf_machine_rela_relative): Adjust. - * sysdeps/x86_64/dl-machine.h (elf_machine_rela, - elf_machine_rela_relative): Adjust. - -2003-07-29 Ulrich Drepper - - * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Restore - alignment of TCB used before the last change so that it matches - ld's output for IE code. - -2003-07-29 Jakub Jelinek - - * include/ctype.h (__ctype_b_loc, __ctype_toupper_loc, - __ctype_tolower_loc): Avoid "dereferencing type-punned pointer will - break strict-aliasing rules" warnings. - -2003-07-29 Roland McGrath - - * elf/Makefile: Revert accidental changes in last commit. - * elf/dl-support.c: Likewise. - - * rt/tst-timer2.c: New file. - * rt/Makefile (tests): Add it. - -2003-07-25 Jakub Jelinek - - * elf/dl-support.c (_dl_hwcap): Add nocommon attribute. - -2003-07-29 Roland McGrath - - * elf/Makefile (tests) [$(build-shared) = yes]: - Depend on $(test-modules). - * dlfcn/Makefile: Likewise. - -2003-07-28 Roland McGrath - - * sysdeps/generic/bits/types.h (__STD_TYPE): New macro. - Use that instead of `typedef' when using __*_TYPE macros in rhs. - - * elf/tst-tls14.c [USE_TLS && HAVE___THREAD]: Conditionalize on this. - * elf/tst-tlsmod14a.c: Likewise. - - * sysdeps/unix/sysv/linux/sys/sysctl.h: Include - before . - -2003-07-27 Ulrich Drepper - - * sysdeps/unix/sysv/syscalls.list: time syscall never fails. - * sysdeps/unix/sysv/linux/x86_64/time.S: time syscall never fails. - * sysdeps/unix/sysv/i386/time.S: time syscall never fails. - * sysdeps/unix/syscalls.list: umask syscall never fails. - -2003-07-27 Andreas Jaeger - - * sysdeps/unix/sysv/linux/init-first.c: Mark init as used. - -2003-07-25 Jakub Jelinek - - * sysdeps/unix/sysv/linux/a.out.h: Replace with i386 version. - Include bits/a.out.h. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add - bits/a.out.h. - * sysdeps/unix/sysv/linux/bits/a.out.h: New file. - * sysdeps/unix/sysv/linux/i386/bits/a.out.h: New file. - * sysdeps/unix/sysv/linux/m68k/bits/a.out.h: New file. - * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: New file. - * sysdeps/unix/sysv/linux/alpha/a.out.h: New file. - * sysdeps/unix/sysv/linux/alpha/bits/a.out.h: New file. - * sysdeps/unix/sysv/linux/sparc/a.out.h: New file. - * sysdeps/unix/sysv/linux/sparc/bits/a.out.h: New file. - -2003-07-24 Jakub Jelinek - - * sysdeps/pthread/aio_cancel.c (aio_cancel): Return AIO_ALLDONE - if aiocbp != NULL and has already completed. Return -1/EINVAL if - aiocbp->aio_fildes does not match fildes. - -2003-07-24 Ulrich Drepper - - * timezone/zic.c (rpytime): Replace cheap overflow check with a - functioning one. - - * include/link.h (struct link_map): Add l_tls_firstbyte_offset field. - * sysdeps/generic/dl-tls.c [TLS_TCB_AT_TP] (_dl_determine_tlsoffset): - Fix calculation of offsets to take misalignment of first byte in - file into account. - * elf/dl-load.c (_dl_map_object_from_fd): Initialize - l_tls_firstbyte_offset field. - * elf/rtld.c (_dl_start_final, _dl_start, dl_main): Likewise. - * elf/dl-reloc.c (_dl_allocate_static_tls): Change return type to int. - Take l_tls_firstbyte_offset information into account. - (CHECK_STATIC_TLS): _dl_allocate_static_tls can fail now. - * sysdeps/generic/ldsodefs.h: Adjust _dl_allocate_static_tls prototype. - * elf/Makefile: Add rules to build and run tst-tls14. - * elf/tst-tls14.c: New file. - * elf/tst-tlsmod14a.c: New file. - * elf/tst-tlsmod14b.c: New file. - -2003-07-23 Jakub Jelinek - - * sysdeps/pthread/lio_listio.c (LIO_OPCODE_BASE): Define. - (lio_listio): Use it. - * sysdeps/pthread/lio_listio64.c: Include lio_listio.c instead of - after few defines to avoid duplication. - -2003-07-22 Jakub Jelinek - - * include/stdio.h (__libc_fatal): Add libc_hidden_proto. - * include/dlfcn.h (__libc_dlopen_mode, __libc_dlsym, __libc_dlclose): - Likewise. - * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym, __libc_dlclose): - Add libc_hidden_def. - * sysdeps/generic/libc_fatal.c (__libc_fatal): Likewise. - * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise. - * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_fatal): Likewise. - * elf/Versions (libc): Export __libc_dlopen_mode@@GLIBC_PRIVATE, - __libc_dlsym@@GLIBC_PRIVATE and __libc_dlclose@@GLIBC_PRIVATE. - * libio/Versions (libc): Export __libc_fatal@@GLIBC_PRIVATE. - * sysdeps/generic/unwind-dw2.c: Readd #ifs removed during last - change. - * sysdeps/generic/unwind.inc: Removed. - - * include/resolv.h (__resp): Declare. Define to __libc_resp - if in libc.so. - (_res): If USE___THREAD, define to (*__resp). - * resolv/res_libc.c (_res): Normal .bss variable with compat_symbol - even if USE___THREAD. - (__resp): New __thread variable. - (__libc_resp): New alias. - * resolv/Versions (libc): Export _res@GLIBC_2.0 even if - USE_TLS && HAVE___THREAD. Export __resp@@GLIBC_PRIVATE. - * sysdeps/generic/res-state.c (__res_state): Return __resp - if USE___THREAD. - -2003-07-22 H.J. Lu - - * elf/dl-support.c (_dl_hwcap): New variable. - (_dl_aux_init): Initialize GL(dl_hwcap) for static binaries. - - * sysdeps/i386/fpu/fclrexcpt.c: Include , - and . - (__feclearexcept): Clear MXCSR if needed. - * sysdeps/i386/fpu/fsetexcptflg.c: Likewise. - - * sysdeps/i386/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Document - that newer hardware needs more than these macros. - - * sysdeps/i386/setfpucw.c: New file. - -2003-07-22 Jakub Jelinek - - * elf/Makefile (CFLAGS-ldconfig.c): Define IS_IN_ldconfig. - * elf/ldconfig.c: Include dl-procinfo.c. - (PROCINFO_CLASS): Define. - * sysdeps/generic/ldsodefs.h (PROCINFO_CLASS): Define. - * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: New file. - * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: New file. - * sysdeps/unix/sysv/linux/i386/dl-procinfo.c (PROCINFO_CLASS): - Define if not yet defined. Use it instead of EXTERN. Undefine - at the end of the file. - * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (PROCINFO_CLASS): - Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.c - (PROCINFO_CLASS): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.c - (PROCINFO_CLASS): Likewise. - -2003-07-22 H.J. Lu - - * elf/ldconfig.c (main): Issue a fatal error if relative path - is used to build cache. - -2003-07-22 Ulrich Drepper - - * elf/readlib.c (process_file): Avoid possible overflow in assignment. - -2003-07-21 Art Haas - - * manual/charset.texi (Converting a Character): Fix example code so a - valid pointer is returned. - -2003-07-22 Andreas Jaeger - - * elf/readlib.c (process_file): Check that file is a shared - object. - - * elf/sofini.c (__FRAME_END__): Use attribute used so that gcc - will not optimize it away. - (__DTOR_END__): Likewise. - (__CTOR_END__): Likewise. - - * include/libc-symbols.h (_elf_set_element): Use attribute used so - that gcc will not optimize it away. - (link_warning): Likewise. - -2003-07-22 Ulrich Drepper - - * wcsmbs/wcpncpy.c (__wcpncpy): Correct destination pointer handling. - * wcsmbs/Makefile (tests): Add tst-wcpncpy. - * wcsmbs/tst-wcpncpy.c: New file. - -2003-07-21 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_STOPPED): Define. - - * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Reverse use of - stmxcsr and ldmxcsr. - - * Makerules (build-module-helper): Add -z defs unless explicitly said - not to do it. - * dlfcn/Makefile: Define various *-no-z-defs variables for test DSOs - which has undefined symbols. - * elf/Makefile: Likewise. - - * sysdeps/i386/fpu/fedisblxcpt.c: Use dl_hwcap, not dl_hwcap_mask. - * sysdeps/i386/fpu/feenablxcpt.c: Likewise. - * sysdeps/i386/fpu/feholdexcpt.c: Likewise. - * sysdeps/i386/fpu/fesetround.c: Likewise. - * sysdeps/i386/fpu/ftestexcept.c: Likewise. - -2003-07-21 HJ Lu - - * elf/ldconfig.c (search_dir): Treat symlink as regular file - if it won't point to itself. - -2003-07-20 Ulrich Drepper - - * sysdeps/ia64/hp-timing.h (REPEAT_READ): Cast to long int not to int. - -2003-07-20 Andreas Jaeger - - * iconvdata/cp932.c (BODY): STANDARD_ERR_HANDLER is now called - STANDARD_TO_LOOP_ERR_HANDLER. - * iconvdata/euc-jp-ms.c (BODY): Likewise. - -2003-07-19 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_ZERO): Fix typo. - - * sysdeps/unix/sysv/linux/syscalls.list: Remove affinity syscalls. - -2003-07-16 Daniel Jacobowitz - Andreas Jaeger - - * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHMLBA): Define to - 256K, remove unneeded declaration of __getpagesize. - -2003-07-16 Andreas Schwab - - * sysdeps/unix/sysv/linux/futimes.c: Include . - -2003-07-15 Ulrich Drepper - - * io/test-utime.c (main): Make test yet more robust. - -2003-07-14 Ulrich Drepper - - More cancellation handling fixups. - * sysdeps/unix/sysv/linux/not-cancel.h: Add waitpid_not_cancel. - * sysdeps/generic/not-cancel.h: Likewise. - * catgets/open_catalog.c: Use not-cancelable syscalls. - * time/Makefile (CFLAGS-getdate.c): Add -fexceptions. - * sysdeps/unix/sysv/linux/llseek.c: Must not be cancelable. - * sysdeps/unix/syscalls.list: Don't mark lseek as cancelable. - * dlfcn/dlfcn.h: Mark dlopen with __THROW again. - * io/fcntl.h: Don't mark posix_fallocate with __THROW. - * libio/fileops.c: Use not-cancelable syscalls for fclose. - * libio/iopopen.c: Use no-cancelable syscalls. - * libio/stdio.h: Mark popen and pclose with __THROW again. - * misc/Makefile (CFLAGS-syslog.c): Add -fexceptions. - * misc/syslog.c: Fix locking and cancellation cleanup handling. - * posix/unistd.h: Mark ttyname and ttyname_r again with __THROW. - * stdio-common/Makefile (CFLAGS-tmpfile.c, CFLAGS-tmpfile64.c, - CFLAGS-tempname.c): Add -fexceptions. - * stdlib/Makefile (CFLAGS-mkstemp.c): Add -fexceptions. - * string/string.h: Mark strerror and strerror_r with _THROW again. - * sysdeps/generic/unwind.inc: New file. Copied from gcc. - * sysdeps/generic/unwind-dw2.c: Update from gcc version. Remove - #ifs since we now need all the code compiled. - * sysdeps/posix/spawni.c: Use close_not_cancel instead of close. - * sysdeps/unix/closedir.c: Use not-cancelable syscalls. - * sysdeps/unix/opendir.c: Likewise. - - * iconvdata/Makefile (modules): Add CP932 and EUC-JP-MS. - Add rule for EUC-JP-MS dependency. - * iconvdata/cp932.c: New file. - * iconvdata/eucjp-ms.c: New file. - * iconvdata/gconv-modules: Add entries for CP932 and EUC-JP-MS. - Patch by MORIYAMA Masayuki . - -2003-07-15 Jakub Jelinek - - * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket): Add - cfi directives. - -2003-07-14 Franz Sirl - - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_FIXED_CLONE_SYSCALL): New macro. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Use it. - - * sysdeps/unix/sysv/linux/utimes.c: Include sysdep.h. - -2003-07-14 Ulrich Drepper - - * sysdeps/unix/sysv/linux/kernel-features.h: Define - __ASSUME_TGKILL for Alpha appropriately. - -2003-07-12 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/statfs.h (_STATFS_F_FRSIZE): Define. - * sysdeps/unix/sysv/linux/alpha/bits/statfs.h (_STATFS_F_FRSIZE): - Likewise. - * sysdeps/unix/sysv/linux/s390/bits/statfs.h (_STATFS_F_FRSIZE): - Likewise. - - * sysdeps/unix/sysv/linux/kernel-features.h: Define - __ASSUME_UTIMES for x86 and kernels > 2.5.75. - - * sysdeps/unix/sysv/linux/futimes.c (__futimes): Handle case with - second parameter == NULL. - * sysdeps/unix/sysv/linux/utimes.c: New file. - -2003-07-12 Jakub Jelinek - - * sysdeps/unix/sysv/linux/futimes.c: Include kernel-features.h. - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Fix - a typo. - -2003-07-12 Ulrich Drepper - - * time/sys/time.h: Namespace cleanup. - * sysdeps/unix/sysv/linux/kernel-features.h: Define - __ASSUME_UTIMES for the architectures which always had the syscall. - * sysdeps/unix/sysv/linux/futimes.c: New file. - -2003-07-12 Kaz Kojima - - * sysdeps/unix/sysv/linux/sh/socket.S: Save and restore the PR - register across CENABLE and CDISABLE. - -2003-07-11 Jakub Jelinek - - * sysdeps/unix/sysv/linux/sigwait.c: Include string.h. - * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. - * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise. - * sysdeps/unix/sysv/linux/sleep.c (__sleep): Cast value to unsigned - int before assigning to max to avoid warnings. - -2003-07-11 Jakub Jelinek - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S (__socket): Add - cfi directives. - * sysdeps/unix/sysv/linux/s390/s390-32/socket.S (__socket): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/socket.S (__socket): Likewise. - -2003-07-10 Jakub Jelinek - - * sysdeps/powerpc/powerpc64/elf/start.S: Set section flags of - .data.rel.ro.local to "aw". - -2003-07-10 Ulrich Drepper - - * sysdeps/m68k/Makefile: Remove CLFAGS-.oS addition. - * Makeconfig (CFLAGS-.oS): Use PIC-ccflag instead of pic-ccflag. - (PIC-ccflag): Define. - -2003-07-04 Jakub Jelinek - - * sysdeps/s390/s390-32/elf/start.S: Emit position independent code - if PIC. - * sysdeps/s390/s390-64/elf/start.S: Likewise. - -2003-07-07 Jakub Jelinek - - * sysdeps/powerpc/powerpc64/elf/start.S: Put L(start_address) - into .data.rel.ro.local section if PIC to avoid DT_TEXTREL. - -2003-07-07 Ulrich Drepper - - * sysdeps/unix/sysv/linux/kernel-features.h: Version - __ASSUME_CORRECT_SI_PID and __ASSUME_TGKILL if possible. - - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Adjust for - compilation with HAVE_AUX_SECURE defined. - -2003-07-05 Richard Henderson - - * sysdeps/alpha/elf/initfini.c: Avoid .ent/.end. - -2003-07-03 Ulrich Drepper - - * configure.in: Also check for .cfi_rel_offset pseudo-op. - -2003-07-03 Jakub Jelinek - - * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency): Fix a - typo. - -2003-07-03 Ulrich Drepper - - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_CLKTCK): - Define. - * sysdeps/unix/sysv/linux/prof-freq.h: New file. - -2003-07-02 Jakub Jelinek - - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Protect new_sysinfo - decl and use with #ifdef NEED_DL_SYSINFO. - -2003-07-02 Ulrich Drepper - - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Don't set - GL(dl_sysinfo) unles GL(dl_sysinfo_dso) is also set. - * sysdeps/unix/sysv/linux/kernel-features.h: Define - __ASSUME_VSYSCALL only for 2.5.69 and up since this is when the - vsyscall DSO was added. - - * posix/bits/posix1_lim.h (_POSIX_NGROUPS_MAX): Define to 8 or 0 - depending on selected standard. - (NGROUPS_MAX): Define to 8 if not defined. - -2003-07-02 Andreas Jaeger - - * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: New file. - -2003-05-04 H.J. Lu - - * malloc/arena.c (arena_get2): Add atomic_write_barrier. - * malloc/thread-m.h: Include . - (atomic_full_barrier): Provide default. - (atomic_read_barrier): Likewise. - (atomic_write_barrier): Likewise. - * sysdeps/ia64/bits/atomic.h (atomic_full_barrier): New #define. - -2003-06-30 Ulrich Drepper - - * sysdeps/generic/sysdep.h: Define cfi_rel_offset and CFI_REL_OFFSET. - -2003-06-30 Richard Henderson - - * sysdeps/alpha/bits/atomic.h (__arch_compare_and_exchange_bool_*_int): - Invert the sense of the return value. - (__arch_exchange_16_int): Fix paste-o. - (__arch_exchange_{32,64}_int): Fix think-o. - - * sysdeps/unix/sysv/linux/alpha/clone.S: Load child_tid properly. - -2003-06-30 Richard Henderson - - * include/sys/resource.h (__getrusage): Mark hidden. - * include/sys/time.h (__settimeofday, __setitimer, __utimes): Likewise. - * include/sys/wait.h (__wait4): Likewise. - -2003-06-17 Guido Guenther - - * sysdeps/unix/sysv/linux/mips/xstatconv.c: Handle STAT_IS_KERNEL_STAT - case. - (xstat_conv): Rename to __xstat_conv and remove static inline. - (xstat64_conv): Likewise. - -2003-06-29 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sleep.c (__sleep): Handle parameter - values which cannot be handled in one nanosleep call. - -2003-06-25 Alfred M. Szmidt - - * sysdeps/generic/bits/in.h (IPV6_HOPOPTS, IPV6_DSTOPTS): New macros. - (IPV6_RXHOPOPTS, IPV6_RXDSTOPTS): Use them. - - * sysdeps/generic/ifreq.h (__if_nextreq) [_HAVE_SA_LEN]: Typo fix. - -2003-06-04 Thorsten Kukuk - - * sysdeps/unix/sysv/linux/net/if_arp.h: Sync with kernel header, - fix typo. - -2003-06-26 Steven Munroe - - * sysdeps/unix/sysv/linux/xstatconv.h [!STAT_IS_KERNEL_STAT]: - Conditionalize function definitions that use struct kernel_stat. - * sysdeps/unix/sysv/linux/fxstat.c: Remove __syscall_fstat extern. - * sysdeps/unix/sysv/linux/lxstat.c: Remove __syscall_lstat extern. - * sysdeps/unix/sysv/linux/xstat.c: Remove __syscall_stat extern. - -2003-06-28 Ulrich Drepper - - * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop): Add real - implementation. - -2003-06-07 Thorsten Kukuk - - * nis/nss_compat/compat-grp.c: Remove unused nis_first variable. - (getgrent_next_file): Don't store group name to early in blacklist. - - * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Save strlen result - and use memcpy instead of strcpy. - -2003-06-28 Ulrich Drepper - - * nis/nss_compat/compat-grp.c: Optimize several little things. Use - stream unlocked. - * nis/nss_compat/compat-initgroups.c: Likewise. - * nis/nss_compat/compat-pwd.c: Likewise. - * nis/nss_compat/compat-spwd.c: Likewise. - -2003-06-27 Thorsten Kukuk - - * nis/nss_compat/compat-initgroups.c: Don't use our own NIS/NIS+ - functions, dlopen corresponding NSS module instead. - -2003-06-27 Jeroen Dekkers - - * sysdeps/mach/hurd/alpha/init-first.c: Remove call to __libc_init. - * sysdeps/mach/hurd/i386/init-first.c: Likewise. - * sysdeps/mach/hurd/mips/init-first.c: Likewise. - * sysdeps/mach/hurd/powerpc/init-first.c: Likewise. - -2003-06-27 Ulrich Drepper - - * rt/Makefile (CFLAGS-librt-cancellation.c): Define. - -2003-06-26 Roland McGrath - - * sysdeps/mach/configure.in: Barf rather than define NO_CREATION_TIME. - * sysdeps/mach/configure: Regenerated. - * sysdeps/mach/hurd/times.c (times_init): Function removed. - (__times): Assume `creation_time' field is available. - * sysdeps/mach/hurd/Makefile [$(subdir) = csu] (sysdep_routines): - Don't append set-init. - * sysdeps/mach/hurd/set-init.c: File removed. - -2003-06-26 Roland McGrath - - * elf/elf.h (AT_SECURE): New macro. - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Grok it, - set __libc_enable_secure. - (_dl_show_auxv): Add AT_SECURE to name table. - * elf/dl-support.c (_dl_aux_init): Grok AT_SECURE, set - __libc_enable_secure and __libc_enable_secure_decided. - * sysdeps/unix/sysv/linux/ldsodefs.h - [__ASSUME_AT_SECURE] (HAVE_AUX_SECURE): Define it. - * sysdeps/unix/sysv/linux/kernel-features.h - [__LINUX_KERNEL_VERSION >= 132426] (__ASSUME_AT_SECURE): Define it. - -2003-06-26 Ulrich Drepper - - * io/test-utime.c: If _STATBUF_ST_NSEC is defined, adjust lower - boundary test to take rounding of nanoseconds into account. - - * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_NSEC. - * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise. - -2003-06-26 Andreas Schwab - - * sysdeps/m68k/fpu/bits/mathinline.h: Don't inline frexp. - * sysdeps/m68k/fpu/s_frexp.c: Put implementation here. - * sysdeps/m68k/fpu/s_frexpl.c: Fix to handle unnormalized numbers. - -2003-06-17 Thorsten Kukuk - - * nis/Makefile: Remove NIS/NIS+ files from nss_compat module. - * nis/nss_compat/compat-grp.c: Don't use our own NIS/NIS+ functions, - dlopen corresponding NSS module instead. - * nis/nss_compat/compat-pwd.c: Likewise. - * nis/nss_compat/compat-spwd.c: Likewise. - * nis/nss_compat/compat-initgroups.c: Disabled for now. - * nss/Versions: Export __nss_lookup_function. - -2003-06-19 Daniel Jacobowitz - - * sysdeps/unix/sysv/linux/kernel-features.h: Update kernel features - for the SH architecture. - -2003-06-25 Thorsten Kukuk - - * csu/Makefile: Use CPPFLAGS to find correct linux/version.h. - -2003-06-25 Andreas Jaeger - - * stdlib/tst-strtod.c (main): Declare constant long double as - suggested by Jakub Jelinek and Andreas Schwab. - - * posix/tst-nanosleep.c: Include for nanosleep - declaration. - - * stdio-common/tst-fphex.c: Fix format string. - - * posix/transbug.c: Include for memset and strlen - declarations. - - * stdio-common/tst-sprintf.c: Include for free declaration. - - * stdlib/tst-strtod.c (main): Pass long double value. - - * test-skeleton.c: Include for nanosleep declaration. - -2003-06-25 Ulrich Drepper - - * include/time.h: Don't define CLOCK_IDFIELD_SIZE if _ISOMAC is - defined. - -2003-06-11 Jakub Jelinek - - * elf/Versions (libc): Add _dl_open_hook@GLIBC_PRIVATE. - * elf/dl-libc.c (struct dl_open_hook): New. - (_dl_open_hook): New variable. - (do_dlsym_private): New function. - (__libc_dlopen_mode) [!SHARED]: Lookup _dl_open_hook@GLIBC_PRIVATE - and initialize it if found. - (__libc_dlopen_mode) [SHARED]: If _dl_open_hook is non-NULL, - call dlopen_mode hook. - (__libc_dlsym) [SHARED]: If _dl_open_hook is non-NULL, - call dlsym hook. - (__libc_dlclose) [SHARED]: If _dl_open_hook is non-NULL, - call dlclose hook. - -2003-06-25 Ulrich Drepper - - * sysdeps/unix/sysv/linux/cris/sysdep.h (INLINE_SYSCALL): Cast - result to long int so that extensions to long long int work. - Patch by Uwe Reimann . - -2003-06-19 Jakub Jelinek - - * elf/ldconfig.c (main): Use add_system_dir instead of add_dir. - * sysdeps/generic/dl-cache.h (add_system_dir): Define. - * sysdeps/unix/sysv/linux/x86_64/dl-cache.h: Include sparc - dl-cache.h. - * sysdeps/unix/sysv/linux/s390/dl-cache.h: New file. - * sysdeps/unix/sysv/linux/mips/dl-cache.h: New file. - * sysdeps/unix/sysv/linux/powerpc/dl-cache.h: New file. - * sysdeps/unix/sysv/linux/sparc/dl-cache.h: New file. - -2003-06-19 Jakub Jelinek - - * test-skeleton.c (timeout_handler): If waitpid returned 0, - retry once after a second. If killed == 0, assume - WTERMSIG (status) == SIGKILL. - -2003-06-18 Roland McGrath - - * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Catch uninitialized - elements in the table instead of printing an empty name string. - -2003-06-05 Roland McGrath - - * elf/elf.h (PT_GNU_STACK): New macro. - -2003-06-24 Ulrich Drepper - - * include/time.h: Define CLOCK_IDFIELD_SIZE. - * sysdeps/posix/clock_getres.c: Recognize thread CPU clock IDs. - * sysdeps/unix/clock_gettime.c: Likewise. - * sysdeps/unix/clock_settime.c: Likewise. - * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P): Adjust for new - clock id for thread CPU clocks. - - * sysdeps/unix/sysv/linux/fstatfs64.c (__fstatfs64): Add support - for the fstatfs64 syscall. - * sysdeps/unix/sysv/linux/statfs64.c (__statfs64): Add support for - the statfs64 syscall. - - * sysdeps/unix/sysv/linux/kernel-features.h: Define - __ASSUME_STATFS64 appropriately. - - * sysdeps/unix/sysv/linux/internal_statvfs.c: Use f_frsize field - from statfs structure if it has been filled in. - - * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_frsize - field. - (struct statfs64): Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/statfs.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise. - -2003-06-24 Richard Henderson - - * sysdeps/unix/sysv/linux/alpha/syscalls.list (pread, pwrite): Use - the 64-bit syscall name. - - * sysdeps/alpha/setjmp.S (_setjmp, setjmp): Mark .prologue. - - * sysdeps/alpha/fpu/bits/mathinline.h: Honor - __LIBC_INTERNAL_MATH_INLINES. Implement __signbitf, __signbit. - - * sysdeps/unix/sysv/linux/alpha/clone.S: Use HIDDEN_JUMPTARGET. - * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Use - libc_hidden_def. - * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Use libc_hidden_proto - on them. - - * sysdeps/alpha/bits/atomic.h: New file. - -2003-06-24 Andreas Schwab - - * sysdeps/m68k/fpu/libm-test-ulps: Update. - -2003-06-24 Andreas Jaeger - - * sysdeps/unix/sysv/linux/x86_64/stat.h (_STAT_VER_LINUX): Avoid - redeclaration with 32-bit code. - -2003-05-19 Ed Connell - - * sysdeps/unix/sysv/linux/i386/getcontext.S (getcontext): Retain - floating point mask. - * sysdeps/i386/fpu/fegetenv.c (fegetenv): Likewise. - -2003-06-23 Ulrich Drepper - - * sysdeps/pthread/aio_misc.h: Mark __aio_requests_mutex, - __aio_enqueue_request, __aio_find_req, __aio_find_req_fd, - __aio_free_request, __aio_notify, and __aio_sigqueue as hidden. - - * sysdeps/pthread/aio_suspend.c (aio_suspend): Set errno to the result - of pthread_cond_wait if there was an error. Use pthread_cleanup_* - instead of __libc_cleanup_region_*. - -2003-06-20 Richard Henderson - - * sysdeps/unix/make-syscalls.sh: Implement ! prefix for strong aliases. - * sysdeps/unix/sysv/linux/alpha/syscalls.list (open, open64): New. - -2003-06-20 Richard Henderson - - * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL1): Use __builtin_expect. - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_ST_INO_64_BIT) - Unset for alpha. - (__ASSUME_TIMEVAL64): Set for alpha. - * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Remove - adjtimex, osf_sigprocmask, old_adjtimex. - * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use INLINE_SYSCALL, - __ASSUME_TIMEVAL64. Reorg tv64 functions to avoid uninit variable. - * sysdeps/unix/sysv/linux/alpha/getitimer.S: Use __ASSUME_TIMEVAL64. - * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/select.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Streamline - PIC code sequence. - * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/sigaction.c: New file. - * sysdeps/unix/sysv/linux/alpha/sigprocmask.c: Use INLINE_SYSCALL. - * sysdeps/unix/sysv/linux/alpha/ustat.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/xmknod.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove osf_sigprocmask, - sys_ustat, sys_mknod, adjtimex, old_adjtimex. - * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL): Don't - defer to __syscall_name; error for rt_sigaction. - * sysdeps/unix/sysv/linux/alpha/xstatconv.c: Include kernel_stat.h. - -2003-06-18 Ulrich Drepper - - * malloc/malloc.c (public_mALLINFo): Initialize malloc if it - hasn't happened yet. - - * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump): - Fix completely broken implementation. The second parameter is of - type struct ucontext*. - - * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Always - inline. - - * sysdeps/i386/i686/dl-hash.h: Don't inline _dl_elf_hash. - * sysdeps/generic/dl-hash.h: Likewise. - - * sysdeps/generic/memcmp.c: Remove inline from - memcmp_common_alignment and memcmp_not_common_alignment definition. - - * intl/localealias.c (read_alias_file): Determine whether line is - read incompletely early, before we modify the line. - -2003-06-17 Jakub Jelinek - - * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela) - : Don't segfault on undefined symbols. - -2003-06-17 Paul Mackerras - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h: New file. - * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Adjust. - -2003-06-17 Jakub Jelinek - - * posix/regcomp.c (build_word_op): Use alnum instead of alpha class. - -2003-06-17 Ulrich Drepper - - * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): nanosleep - takes care of enabling cancellation. - - * sysdeps/pthread/aio_suspend.c (aio_suspend): Make aio_suspend - cancelable. It's not correct to disable cancellation. Instead of - a cleanup handler. - - * sysdeps/unix/sysv/linux/sigtimedwait.c: If SIGCANCEL is defined - and part of the incoming set, create a temporary set without this - signal. - * sysdeps/unix/sysv/linux/sigwait.c: Likewise. - * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. - - * sysdeps/unix/sysv/linux/sleep.c: Use CANCELLATION_P if defined before - returning because seconds==0. Add __builtin_expect. - -2003-06-16 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/socket.S: Add unwind information. - - * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Fix type of result - variable. - -2003-06-16 Thorsten Kukuk - - * include/libc-symbols.h: Add static_link_warning macro. - * grp/initgroups.c: Print linker warning if this function - is called in a static linked binary. - * nss/getXXbyYY.c: Likewise. - * nss/getXXbyYY_r.c: Likewise. - * nss/getXXent.c: Likewise. - * nss/getXXent_r.c: Likewise. - * sysdeps/posix/getaddrinfo.c: Likewise. - -2003-06-16 Bruno Haible - - * iconvdata/gconv-modules (ISO-8859-15): Add aliases ISO_8859-15, - LATIN-9. - (ISO-8859-16): Add aliases ISO_8859-16:2001, ISO_8859-16. - (IBM1047): Add alias IBM-1047. - (GBK): Add aliases MS936, WINDOWS-936. - -2003-06-16 Jakub Jelinek - - * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Define even if - defined __ASSUME_STAT64_SYSCALL && defined XSTAT_IS_XSTAT64. - (__xstat64_conv): Change xstat_conv to __xstat_conv. - -2003-06-16 Ulrich Drepper - - * locale/iso-639.def: Update from current official ISO 639. - - * math/tgmath.h (__TGMATH_UNARY_IMAG_ONLY): Removed. - -2003-06-15 Andreas Jaeger - - * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Correct setting - of MXCSR. - * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise. - * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise. - Reported by Arnaud Desitter . - - * math/tgmath.h (carg): Handle real arguments. - (conj): Likewise. - (cproj): Likewise. - (cimag): Likewise. - (creal): Likewise. - - * math/Makefile (CFLAGS-test-tgmath-ret.c): New. - (tests): Add test-tgmath-ret. - * math/test-tgmath-ret.c: New file. - - * math/tgmath.h (ilogb): Return always an int. - -2003-06-16 Ulrich Drepper - - * elf/rtld.c (dl_main): Use l_map_start not l_addr in Phdr - computation so that prelinking works. - -2003-06-15 Ulrich Drepper - - * elf/dl-iteratephdr.c (__dl_iterate_phdr): Don't skip dynamic - linker's map. - * elf/rtld.c (dl_main): Initialize l_phdr and l_phnum of of the - dynamic linker's map. - - Fix cancellation point handling wrt exception based cleanup. - * io/Makefile: Compile fcntl.c, poll.c, and lockf.c with exceptions. - * misc/Makefile: Compile pselect.c, readv.c, writev.c, and usleep.c - with exceptions. - * posix/Makefile: Compile pread.c, pread64.c, pwrite.c, pwrite64.c, - sleep.c, wait.c, waitid.c, and waitpid.c with exceptions. - * rt/Makefile: Compile aio_suspend.c and clock_nanosleep.c with - exceptions. - * signal/Makefile: Compile sigpause.c, sigsuspend.c, sigtimedwait.c, - sigwait.c, and sigwaitinfo.c with exceptions. - * stdlib/Makefile: Compile system.c with exceptions. - * sysvipc/Makefile: Compile msgrcv.c and msgsnd.c with exceptions. - * termios/Makefile: Compile tcdrain.c with exceptions. - * sysdeps/generic/lockf.c: Add comment explaining the cancellation - situation. - * sysdeps/generic/pselect.c: Likewise. - * sysdeps/posix/sigpause.c: Likewise. - * sysdeps/posix/system.c: Likewise. - * sysdeps/posix/waitid.c: Likewise. - * sysdeps/unix/sysv/linux/sleep.c: Likewise. - * sysdeps/unix/sysv/linux/usleep.c: Likewise. - * sysdeps/unix/sysv/linux/i386/sysdep.h: Major rewrite of - INTERNAL_SYSCALL to not use push inside asm statement so that - unwind info is correct around the syscall. - * sysdeps/unix/clock_nanosleep.c: Add cancellation support. - * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise. - -2003-06-15 Andreas Jaeger - - * sysdeps/x86_64/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): - Add CFI directives. - -2003-06-15 Guido Guenther - - * sysdeps/unix/sysv/linux/mips/Makefile: Add missing endif and - create $(objpfx). - -2003-06-14 Ulrich Drepper - - * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Use __close, - not close. - - * inet/inet6_option.c (inet6_option_alloc): Add libc_hidden_def. - * include/netinet/in.h (inet6_option_alloc): Add libc_hidden_proto - definition. - - * inet/netinet/ip6.h (IP6OPT_PAD1, IP6OPT_PADN): Define. - * inet/netinet/in.h: Add prototypes for inet6_option_* functions. - * inet/Makefile (routines): Add inet6_option. - * inet/inet6_option.c: New file. - * inet/Versions [GLIBC_2.3.3] (libc): Add inet6_option_space, - inet6_option_init, inet6_option_append, inet6_option_alloc, - inet6_option_next, and inet6_option_find. - -2003-06-13 Ulrich Drepper - - * inet/netinet/ip6.h (struct ip6_ext): Define. - - * sysdeps/unix/sysv/linux/sys/param.h (howmany): Optimize for gcc. - - Fixing gcc 3.3 warnings, part II. - * argp/argp-help.c (hol_entry_long_iterate): Always inline. - * elf/dl-load.c (cache_rpath): Don't inline. - * iconvdata/cns11642l2.h: Always inline all functions. - * iconvdata/iso-ir-165.h: Likewise. - * locale/Makefile (aux): Add coll-lookup. - * locale/coll-lookup.c: New file. - * locale/coll-lookup.h (collidx_table_lookup): Do not define here. - (collseq_table_lookup): Likewise. - * locale/weightwc.h: Adjust collidx_table_lookup calls for name change. - * posix/fnmatch_loop.c: Adjust collseq_table_lookup calls for name - change. - * posix/regcomp.c: Likewise. - * posix/regexec.c: Likewise. - * locale/programs/3level.h (*_get): Always inline. - * locale/programs/locfile.h: Move definition of handle_copy to... - * locale/programs/locfile.c: ...here. - * locale/programs/ld-collate.c (obstack_int32_grow): Always inline. - (obstack_int32_grow_fast): Likewise. - (utf8_encode): Likewise. - (find_element): Avoid aliasing problems. - (insert_value): Likewise. - (collate_read): Likewise. - * nss/getent.c (print_hosts): Don't inline - (print_networks): Likewise. - (print_shadow): Likewise. - (build_doc): Likewise. - * nss/nss_files/files-parse.c [ENTDATA] (parser_stclass): Don't - inline. - * posix/regcomp.c (re_set_fastmap): Always inline. - (seek_collating_symbol_entry): Likewise. - (lookup_collation_sequence_value): Likewise. - (build_range_exp): Likewise. - (build_collating_symbol): Likewise. - * posix/regexec.c (acquire_init_state_context): Don't inline. - (clean_state_log_if_need): Likewise. - * resolv/res_send.c (eConsIovec): Rewrite to not return struct and - adjust all callers. - (evConsTime): Likewise. - (evAddTime): Likewise. - (evSubTime): Likewise. - (evNowTime): Likewise. - (evTimeSpec): Removed. - (__libc_res_nsend): Avoid aliasing problem. - * sysdeps/unix/sysv/linux/ifreq.h: Move old_siocgifconf definition to.. - * sysdeps/unix/sysv/linux/ifreq.c: ...here. - * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_string_hwcap): - Always inline. - (_dl_string_platform): Likewise. - * wctype/wchar-lookup.h (wctype_table_lookup): Always inline. - (wcwidth_table_lookup): Likewise. - (wctrans_table_lookup): Likewise. - - * sysdeps/unix/sysv/linux/sys/epoll.h: Include . - -2003-06-12 Ulrich Drepper - - * wcsmbs/wchar.h: Define wint_t in std namespace, too [PR libc/5034]. - -2003-05-29 Jim Meyering - - * time/strftime.c (my_strftime) [!defined _NL_CURRENT - && HAVE_STRFTIME]: Use underlying_strftime for %r. - Suggested by Daniel Yacob . - -2003-06-12 Steven Munroe - - * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Replace - @got notation with @toc. - * sysdeps/powerpc/powerpc64/sysdep.h (CALL_MCOUNT): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Likewise. - -2003-06-12 Ulrich Drepper - - * sysdeps/posix/getaddrinfo.c (gaih_inet): Set no_inet6_date also - if only PF_INET address is needed. - - * nss/getXXbyYY_r.c: Make sure we always return a nonzero value in - case of an error. - - * scripts/config.guess: Update from upstream version. - * scripts/config.sub: Likewise. - -2003-06-12 Jakub Jelinek - - * locale/programs/ld-time.c (time_output): Also copy the era format, - not only the name. - -2003-06-12 H.J. Lu - - * posix/transbug.c (run_test): Return 1 for failure. - (do_test): Compare only if run_test is successful. - -2003-06-12 Simon Josefsson - - * argp/argp.h [!__THROW]: Define if undefined. - -2003-06-12 Ulrich Drepper - - * sysdeps/unix/sysv/linux/cris/sysdep.h: Fix handling of syscalls with - more than four parameters. - Patch by Uwe Reimann . - -2003-06-12 Jakub Jelinek - - * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file. - * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: New file. - - * stdio-common/printf-parsemb.c: Include stdlib.h and sys/param.h. - -2003-06-12 Roland McGrath - - * Makerules ($(objpfx)stubs): Rewrite sed magic. - -2003-02-28 Isamu Hasegawa - - * posix/regcomp.c (parse_expression): Deliver translation to - build_word_op, and build_charclass. - (build_charclass): Apply translation for character classes too. - (build_word_op): Deliver translation to build_charclass. - * posix/transbug.c: New file. - * posix/Makefile (tests): Add transbug. - -2003-06-04 Paolo Bonzini - - * posix/regexec.c (group_nodes_into_DFAstates): Check for - NEXT_ENDBUF_CONSTRAINT. Move check for constraints which do a - 'continue' before the others. - -2003-06-11 Ulrich Drepper - - * dirent/scandir.c (SCANDIR): Reset errno after calling selector - function [PR libc/5045]. - - * sysdeps/i386/bits/byteswap.h (__bswap_32): Use bswap instruction - also for P4. - - * time/tzfile.c: Add a couple of __builtin_expect. - - Remove warnings gcc 3.3 shows. - * argp/argp-help.c (hol_entry_short_iterate): Don't inline. - * elf/dl-load.c (fillin_rpath): Likewise. - (add_path): Likewise. - * elf/dl-version.c (find_needed): Always inline. - * elf/do-lookup.c (FCT): Don't inline. - * iconv/Makefile: Extend vpath to intl subdir. - (iconvconfig-modules): Add hash-string. - * iconv/gconv_charset.h (strip): Don't inline. - (upstr): Always inline. - Move __gconv_compare_alias prototype to... - * iconv/gconv_int.h: ...here. - * iconv/gconv_db.c: Don't include gconv_charset.h. - * iconv/gconv_conf.c (add_alias): Don't inline. - (insert_module): Likewise. - * iconv/gconv_simple.c (internal_ucs4_loop): Always inline. - (internal_ucs4_loop_unaligned): Likewise. - (internal_ucs4_loop_single): Likewise. - (ucs4_internal_loop): Likewise. - (ucs4_internal_loop_unaligned): Likewise. - (ucs4_internal_loop_single): Likewise. - (internal_ucs4le_loop): Always inline. - (internal_ucs4le_loop_unaligned): Likewise. - (internal_ucs4le_loop_single): Likewise. - (ucs4le_internal_loop): Likewise. - (ucs4le_internal_loop_unaligned): Likewise. - (ucs4le_internal_loop_single): Likewise. - * iconv/loop.c: Always inline the defined functions. - * iconvdata/cns11642.h: Likewise. - * iconvdata/cns11642l1.h: Likewise. - * iconvdata/euc-kr.c: Likewise. - * iconvdata/gb2312.h: Likewise. - * iconvdata/jis0201.h: Likewise. - * iconvdata/jis0208.h: Likewise. - * iconvdata/jis0212.h: Likewise. - * iconvdata/jisx0213.h: Likewise. - * iconvdata/ksc5601.h: Likewise. - * iconvdata/utf-7.c (base64): Don't inline. - * include/libc-symbols.h (symbol_set_first_element): Add cast - (symbol_set_end_p): Likewise. - * include/set-hooks (RUN_HOOK): Likewise. - * inet/Makefile (aux): Add ifreq. - * intl/Makefile (aux): Add some entries from routines. Add - hash-string. - * intl/hash-string.c: New file. - * intl/hash-string.h: Remove hash_string definition. Declare - __hash_string. - * iconv/gconv_cache.c (find_module_idx): Adjust hash_string caller. - * iconv/iconvconfig.c (new_name): Likewise. - * intl/dcigettext.c (_nl_find_msg): Likewise. - * intl/loadmsgcat.c (_nl_load_domain): Likewise. - * io/ftw.c (open_dir_stream): Always inline. - (process_entry): Don't inline. - * locale/findlocale.c: Include gconv_int.h. - * locale/setlocale.c (new_composite_name): Don't inline. - * locale/weight.h (findidx): Always inline. - * locale/weightwc.h (findidx): Likewise. - * locale/programs/linereader.c (lr_ignore_rest): Define here. - * locale/programs/linereader.h (lr_ignore_rest): Don't define here, - just declare it. - (lr_getc): Always inline. - (lr_ungetc): Likewise. - * nss/nss_files/files-parse.c (parse_list): Likewise. - * stdio-common/Makefile (aux): Add printf-parsemb and - printf-parsewc. - * stdio-common/_itoa.h (_itoa_word): Always inline. - (_fitoa_word, _fitoa): Don't define here, only declare. - * stdio-common/_itoa.c (_iftoa_word): Add here. - (_fitoa): Likewise. - * stdio-common/_itowa.h (_itowa_word): Always inline. - * stdio-common/printf-parse.h (read_int): Don't inline. - (find_spec): Don't define. - Declare __find_specmb and __find_specwc. - (parse_one_spec): Don't define. - Declare __parse_one_specmb and __parse_one_specwc. - * stdio-common/printf-parsemb.c: New file. - * stdio-common/printf-parsewc.c: New file. - * stdio-common/vfprintf.c: Update calls to find_spec and - parse_one_spec for new names. - * stdio-common/printf-prs.c: Likewise. Define DONT_NEED_READ_INT. - * stdlib/Makefile (aux): Add grouping and groupingwc. - * stdlib/grouping.c: New file. - * stdlib/groupingwc.c: New file. - * stdlib/grouping.h (correctly_grouped_prefix): Don't define here. - Just prototype. - * stdlib/rpmatch.c (try): Don't inline. - * stdlib/strtod.c (round_and_return): Don't line. - (str_to_mpn): Likewise. - (__mpn_lshift_1): Always inline. Optimize only for constant count. - Adjust for name change of correctly_grouped_prefix. - * sysdeps/generic/strtol.c: Adjust for name change of - correctly_grouped_prefix. - * string/strxfrm.c (utf8_encode): Don't inline. - * sysdeps/generic/dl-cache.c: Define _dl_cache_libcmp. - * sysdeps/generic/dl-cache.h: Just declare _dl_cache_libcmp. - * sysdeps/generic/ifreq.c: New file. - * sysdeps/unix/sysv/linux/ifreq.c: New file. - * sysdeps/generic/ifreq.h (__ifreq): Only declare here. - * sysdeps/unix/sysv/linux/ifreq.h: Likewise. - * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Always inline. - * sysdeps/generic/unwind-dw2-fde.c (start_fde_sort): Don't inline. - (fde_split): Likewise. - (fde_merge): Likewise. - (end_fde_sort): Likewise. - (init_object): Likewise. - (binary_search_unencoded_fdes): Likewise. - (binary_search_single_encoding_fdes): Likewise. - (binary_search_mixed_encoding_fdes): Likewise. - * sysdeps/generic/wordexp.c (w_addchar): Don't inline. - * sysdeps/i386/dl-machine.c (elf_machine_runtime_setup): Always inline. - * sysdeps/posix/sprofil.c (profil_count): Don't inline. - * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): - Add xstatconv. - * sysdeps/unix/sysv/linux/xstatconv.h: New file. - * sysdeps/unix/sysv/linux/xstatconv.c: Don't inline the function. - Export them. Prepend __ to name. - * sysdeps/unix/sysv/linux/Dist: Add xstatconv.h. - * sysdeps/unix/sysv/linux/fxstat.c: Adjust for name change of - conversion functions. - * sysdeps/unix/sysv/linux/fxstat64.c: Likewise. - * sysdeps/unix/sysv/linux/lxstat.c: Likewise. - * sysdeps/unix/sysv/linux/lxstat64.c: Likewise. - * sysdeps/unix/sysv/linux/xstat.c: Likewise. - * sysdeps/unix/sysv/linux/xstat64.c: Likewise. - * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise. - * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise. - * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise. - * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max, - __statfs_filesize_max, __statfs_symlinks): Define here. __ prepended - to name. Change callers. - * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max, - __statfs_filesize_max, __statfs_symlinks): Don't define here, just - declare. - * sysdeps/unix/sysv/linux/fpathconf.c: Change all callers. - * time/tzfile.c (decode): Always inline. - * wcsmbs/wcsnrtombs.c: Change type of inbuf to unsigned char*. - Remove cast in tomb function call. - * wcsmbs/wcsrtombs.c Likewise. - * wcsmbs/wcstob.c: Introduce new temp variable to take pointer in - tomb function call. - -2003-06-10 Ulrich Drepper - - * po/zh_CN.po: Update from translation team. - -2003-06-10 Jakub Jelinek - - * sysdeps/unix/sysv/linux/bits/in.h (IPV6_V6ONLY, IPV6_JOIN_ANYCAST, - IPV6_LEAVE_ANYCAST, IPV6_IPSEC_POLICY, IPV6_XFRM_POLICY): Define. - -2003-06-10 Ulrich Drepper - - * inet/Makefile (aux): Add check_pf. - * include/ifaddrs.h: Add prototype for __check_pf. - * sysdeps/generic/check_pf.c: New file. - * sysdeps/unix/sysv/linux/check_pf.c: New file. - * sysdeps/unix/sysv/linux/ifaddrs.h (__no_netlink_support): Renamed - from no_netlink_support. Export. - * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call getifaddrs, - call __check_pf. - - * sysdeps/generic/ifaddrs.h: Add libc_hidden_def. - - * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't leak memory - from getifaddr calls. - -2003-06-09 Jakub Jelinek - - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_SETRESGID_SYSCALL): Define. - * sysdeps/unix/sysv/linux/setegid.c: Use __ASSUME_SETRESGID_SYSCALL - instead of __ASSUME_SETRESUID_SYSCALL. - (setegid): Only use setresgid32 inline syscall if __NR_setresgid32 is - defined. - * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Only use setresgid32 - inline syscall if __NR_setresuid32 is defined. - * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Use - __ASSUME_SETRESGID_SYSCALL instead of __ASSUME_SETRESUID_SYSCALL. - * sysdeps/unix/sysv/linux/i386/setregid.c: Backout last changes. - * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c (setegid): Protect - code handling non-existant setresgid32 syscall with - #if __ASSUME_SETRESGID_SYSCALL == 0. - -2003-06-09 Andreas Schwab - - * sunrpc/Makefile (generated): Remove rpc-proto.c, rpc-proto.d. - ($(rpcsvc:%.x=$(objpfx)x%$o)): Don't depend on - $(objpfx)rpc-proto.d. - (rpcsvc-dt-files, rpcsvc-depfiles): Define. Include - $(rpcsvc-depfiles) instead of $(objpfx)rpc-proto.d. - ($(objpfx)rpc-proto.d, $(objpfx)rpc-proto.c): Remove rules. - -2003-06-08 Ulrich Drepper - - * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Use setresuid32 - syscall directly if possible. If __ASSUME_SETRESUID_SYSCALL is - defined drop compatibility code. - * sysdeps/unix/sysv/linux/setegid.c (setegid): Use setresgid32 - syscall directly if possible. If __ASSUME_SETRESUID_SYSCALL is - defined drop compatibility code. - * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Use - setresuid32 syscall directly if possible. - * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Use - setresgid32 syscall directly if possible. - * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Make POSIX - compliant. Don't change sgid. - * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Make POSIX - compliant. Don't change suid. - - * config.h.in: Add have-forced-unwind. - * configure.in: Add AC_SUBST(libc_cv_forced_unwind). - -2003-06-07 Ulrich Drepper - - * test-skeleton.c (main): If EXPECTED_STATUS is defined check that - returned status from child matches. - - * Makeconfig (gnulib): Add -lgcc_eh once again. - -2003-06-06 Ulrich Drepper - - * test-skeleton.c (main): Use TEMP_FAILURE_RETRY with waitpid. - - * sysdeps/unix/sysv/linux/i386/sysdep.h (ASMFMT_2): Only allow - %edx for first parameter. This means no pushl and therefore the - unwind info isn't screwed up. - -2003-06-04 Richard Henderson - - * sysdeps/alpha/dl-machine.h (RTLD_START): Fix top-of-stack backtrace. - * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise. - * sysdeps/alpha/elf/start.S: Likewise. Remove pointless allocation. - * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Use standard ldgp - entry sequence and explicit relocs. Add unwind info for sigreturn - and rt_sigreturn. - * configure.in (libc_cv_asm_cfi_directives): Test .cfi_remember_state. - - * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): New. - Annotate some parameters. - * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_semtimedop): New. - - * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Fix typo in conversion. - - * include/libc-symbols.h (symbol_set_declare): Use arrays - of unspecified size. - -2003-06-04 Jakub Jelinek - - * config.make.in (ASFLAGS-config): New. - * Makeconfig (ASFLAGS): Append $(ASFLAGS-config). - * configure.in (libc_cv_as_noexecstack): New check. - (ASFLAGS_config): Substitute. - -2003-06-04 Jakub Jelinek - - * sysdeps/i386/fpu/bits/mathinline.h (log1p, asinh, acosh, atanh, - hypot, logb): Protect with #ifdef __FAST_MATH__. - -2003-06-04 Thorsten Kukuk - - * sysdeps/i386/fpu/bits/mathinline.h (ldexpf, ldexpl): Protect with - #ifdef __FAST_MATH__. - -2003-06-03 Ulrich Drepper - - * sysdeps/generic/glob.c [HAVE_D_TYPE] (glob_in_dir): Also allow - DT_LNK entries if GLOB_ONLYDIR is set [PR libc/5043]. - * posix/globtest.sh: Adjust for this change. - - * sysdeps/unix/sysv/linux/ifaddrs.c (netlink_open): Call getsockname - to get the actual PID value used in the records passed up. - (getifaddrs): Don't initialize nh.pid here. - -2003-06-02 Ulrich Drepper - - * sysdeps/unix/sysv/linux/ifaddrs.c (netlink_receive): Minor - optimization. - - * po/zh_CN.po: Update from translation team. - - * posix/getconf.c (main): Also recognize names without the - _POSIX_ prefix. - - * elf/Makefile (CFLAGS-dl-lookup.c): Define. - -2003-06-02 Bernd Schmidt - - * sysdeps/i386/fpu/bits/mathinline.h (sqrt, __sqrtl, ldexp, - ldexpf, ldexpl): Only define if __FAST_MATH__. - -2003-06-02 Richard C. Bilson - - Replace hard-coded offsets into struct sigcontext with generated file. - * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: New file. - * sysdeps/unix/sysv/linux/ia64/Makefile - [$(subdir) = stdlib] (gen-as-const-headers): Add it. - * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: Include it instead of - defining SC_* macros here. - -2003-06-02 Jakub Jelinek - - * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PID): Remove. - -2003-06-01 Jakub Jelinek - - * sysdeps/i386/dl-machine.h: Include . - -2003-06-01 Ulrich Drepper - - * test-skeleton.c (main): Request getopt to not reorder the - command line. - - * elf/Makefile (CFLAGS-dl-runtime.c): Define. - - * wcsmbs/wcpncpy.c (__wcpncpy): Fix broken implementation to match - stpncpy. - -2003-05-31 Ulrich Drepper - - * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (SA_NOCLDWAIT): Define. - -2003-05-31 Jakub Jelinek - - * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_plt_conflict): - New function. - (elf_machine_rela) : Avoid - RESOLVE_CONFLICT_FIND_MAP. If RESOLVE_CONFLICT_FIND_MAP is defined, - call elf_machine_plt_conflict instead of elf_machine_fixup_plt. - -2003-05-31 Ulrich Drepper - - * sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Add - CFI directives. - - * csu/Makefile: Fix Makefile warnings regarding Scrt1.o. - - * libio/fileops.c (_IO_file_open): Don't mark as inline. - - * sysdeps/ia64/elf/initfini.c (gmon_initializer): Mark with - attribute used. - -2003-05-30 Ulrich Drepper - - * scripts/config.guess: Update from master copy. - * scripts/config.sub: Likewise. - -2003-05-30 Guido Guenther - - * sysdeps/mips/mips64/bsd-_setjmp.S: Include for - SETUP_GP64 and friends. - * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Fix register - names in internal_syscall{6,7}. - * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/mips/pread.c [_MIPS_SIM == _ABI64]: Fix - number of syscall arguments. - * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. - -2003-05-30 Andreas Jaeger - - * sysdeps/x86_64/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): - Add CFI directives. - - * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Add CFI - directives. - - * sysdeps/generic/sysdep.h: Add CFI_* macros for C files. - - * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): - Add CFI directives. - -2003-05-30 Jakub Jelinek - - * sysdeps/powerpc/powerpc32/elf/start.S: Make code compilable with - SHARED. - -2003-05-11 Andreas Schwab - - * Makerules: Always use -MP together with -MD. - (sed-remove-dotot): Substitute $(..) also at start of line. - ($(stdio_lim:h=st)): Use -MD instead of SUNPRO_DEPENDENCIES. - Generated defines with a single compiler call. - Use $(sed-remove-dotdot). - * mach/Makefile ($(objpfx)mach-syscalls.mk): Use -MD instead - of DEPENDENCIES_OUTPUT, and use $(sed-remove-objpfx). - * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): - Use -MD instead of SUNPRO_DEPENDENCIES, and use $(sed-remove-objpfx). - * sysdeps/unix/sysv/linux/mips/Makefile - ($(objpfx)syscall-%.h): Likewise. - -2003-05-28 Roland McGrath - - * malloc/malloc.h [! __GNUC__] (__const): Define if undefined. - -2003-05-26 Aldy Hernandez - - * soft-fp/soft-fp.h (FP_EX_UNDERFLOW): Define to 0. - -2003-05-28 Roland McGrath - - * sysdeps/unix/sysv/linux/ia64/setcontext.S: Pass fourth argument to - rt_sigprocmask system call. - * sysdeps/unix/sysv/linux/ia64/ucontext_i.h (SC_MASK): Fix value. - From Peter A. Buhr . - -2003-05-28 Ulrich Drepper - - * include/libc-symbols.h: Define hidden attribute for real also if - LIBC_NONSHARED is defined. Patch by Jakub Jelinek. - - * csu/Makefile: Add rules to build Scrt1.o. - * sysdeps/i386/elf/start.S: Make code compilable with SHARED. - * sysdeps/x86_64/elf/start.S: Likewise. - -2003-05-27 Jakub Jelinek - - * stdio-common/vfprintf.c (process_arg, process_string_arg): Use - pa_int/pa_u_int instead of pa_short_int, pa_u_short_int and pa_char. - * stdio-common/printf-parse.h (union printf_arg): Remove pa_char, - pa_short_int, pa_u_short_int and pa_float. - -2003-05-26 Jakub Jelinek - - * libio/strops.c (_IO_str_init_static): Change into a wrapper around - _IO_str_init_static_internal. - (_IO_str_init_static_internal): Moved from _IO_str_init_static, - change size argument to _IO_size_t, don't limit sprintf to 64M. - (_IO_str_init_readonly): Call _IO_str_init_static_internal. - * libio/wstrops.c (_IO_wstr_init_static): Change size argument to - _IO_size_t, don't limit swprintf to 256M. - (_IO_wstr_init_readonly): Remove. - * libio/libioP.h (_IO_str_init_static_internal, _IO_wstr_init_static): - Adjust prototypes. - (_IO_wstr_init_readonly): Remove prototype. - * libio/iovsprintf.c (_IO_vsprintf): Use - _IO_str_init_static_internal instead of INTUSE(_IO_str_init_static). - * libio/iovsscanf.c (_IO_vsscanf): Likewise. - * libio/memstream.c (open_memstream): Likewise. - * libio/obprintf.c (_IO_obstack_vfprintf): Likewise. - * libio/vasprintf.c (_IO_vasprintf): Likewise. - * libio/vsnprintf.c (_IO_vsnprintf): Likewise. - * stdio-common/tst-sprintf.c (main): Add new test. - -2003-05-26 Ulrich Drepper - - * stdio-common/vfprintf.c (vfprintf): Be bug-compatible with some - other implementation in respect of multiple uses of parameter with - different types. - -2003-05-25 Ulrich Drepper - - * sysdeps/unix/sysv/linux/kernel-features.h: Define - __ASSUME_FUTEX_REQUEUE for >= 2.5.70. - -2003-05-22 Andreas Jaeger - - * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Add CFI - directives. - * sysdeps/unix/sysv/linux/x86_64/time.S: Likewise. - * sysdeps/x86_64/strtok.S: Likewise. - -2003-05-20 Guido Guenther - - * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Change SI_ASYNCNL - to -60 and define SI_TKILL. - -2003-05-21 H.J. Lu - - * math/test-fenv.c (feexcp_nomask_test): Fix comment. - (feexcp_mask_test): Likewise. - -2003-05-21 Ulrich Drepper - - * locale/programs/locale.c (main): Fix typo in last patch. - - * csu/elf-init.c: Mark __preinit_array_start, __preinit_array_end, - __init_array_start, __init_array_end, __fini_array_start, and - __fini_array_end as hidden. - -2003-05-21 Petter Reinholdtsen - - * locale/programs/locale.c (main): Report an error if setlocale() - fails [PR libc/2254]. - -2003-05-21 Jakub Jelinek - - * sysdeps/unix/sysv/linux/s390/system.c: New file. - -2003-05-21 Jakub Jelinek - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (LOADARGS_0, - LOADARGS_1, LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, - LOADARGS_6): Don't error if syscall argument is a string literal. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (LOADARGS_0, - LOADARGS_1, LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, - LOADARGS_6): Likewise. - -2003-05-21 Andreas Jaeger - - * sysdeps/generic/sysdep.h (cfi_offset, cfi_startproc, - cfi_endproc, cfi_def_cfa, cfi_def_ccfa_register, - cfi_def_cfa_offset, cfi_adjust_cfa_offset, cfi_offset): Define. - - * sysdeps/x86_64/sysdep.h (CALL_MCOUNT): Add cfi directives. - (ENTRY): Likewise. - (END): Likewise. - - * configure.in: Test for asm cfi directives. - - * config.h.in: Add HAVE_ASM_CFI_DIRECTIVES. - -2003-05-17 Andreas Jaeger - - * sysdeps/unix/sysv/linux/x86_64/syscall.S: Revert last patch. - - * rt/tst-clock_nanosleep.c: Include for clock_nanosleep. - -2003-05-16 Ulrich Drepper - - * rt/Makefile (tests): Add tst-clock_nanosleep. - * rt/tst-clock_nanosleep.c: New file. - * posix/Makefile (tests): Add tst-nanosleep. - * posix/tst-nanosleep.c: New file. - - * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P): Fix definition. - - * include/features.h (__USE_XOPEN2K): Define also for - _POSIX_C_SOURCE>=200112L. - - * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Fold - SI_TKILL code into SI_USER. - * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Likewise. - - * sysdeps/posix/sigpause.c (do_sigpause): Use sigdelset after all. - -2003-05-15 Jakub Jelinek - - * sysdeps/powerpc/powerpc32/dl-machine.c (_dl_reloc_overflow): - Remove sym argument, always use refsym. - (__process_machine_rela): Adjust callers. - * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow): - Likewise. - * sysdeps/powerpc/powerpc32/dl-machine.h (_dl_reloc_overflow): - Adjust prototype. - * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise. - -2003-05-15 Ulrich Drepper - - * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Fix typo - (DL_NEED_SYSINFO -> NEED_DL_SYSINFO). If aux value is not known - print numeric values. - -2003-05-12 Thorsten Kukuk - - * inet/netinet/igmp.h: Sync with Linux Kernel 2.5.69 and *BSD. - -2003-05-14 Andreas Schwab - - * sysdeps/unix/sysv/linux/ia64/umount.c: New file. - -2003-05-14 Jakub Jelinek - - * elf/rtld.c (dl_main): For LD_TRACE_PRELINKING print search scope - even if no DT_NEEDED is present. - -2003-05-13 David Mosberger - - * sysdeps/unix/sysv/linux/ia64/setjmp.S: Fix the fix from - 2003-03-27: setjmp is NOT a leaf-routine (due to the call to - __sigjmp_save) so we can't keep the saved unat value in a scratch - register (r16). Use loc2 instead. - -2003-05-13 Ulrich Drepper - - * csu/Makefile: Do compile elf-init with PIC flag since in dynamic - binaries it has to be relocatable. - - * sysdeps/unix/sysv/linux/waitpid.c: Use waitpid syscall is available. - -2003-05-12 Steven Munroe - - * sysdeps/powerpc/bits/atomic.h - (__arch_compare_and_exchange_bool_8_rel): Define. - (__arch_compare_and_exchange_bool_16_rel): Define. - (__ARCH_REL_INSTR): Define if not already defined. - (__arch_atomic_exchange_and_add_32): Add "memory" to clobber list. - (__arch_atomic_decrement_if_positive_32): - Add "memory" to clobber list. - (__arch_compare_and_exchange_val_32_acq): Remove release sync. - (__arch_compare_and_exchange_val_32_rel): Define. - (__arch_atomic_exchange_32): Remove. - (__arch_atomic_exchange_32_acq): Define. - (__arch_atomic_exchange_32_rel): Define. - (atomic_compare_and_exchange_val_rel): Define. - (atomic_exchange_acq): Use __arch_atomic_exchange_*_acq forms. - (atomic_exchange_rel): Define. - * sysdeps/powerpc/powerpc32/bits/atomic.h - (__arch_compare_and_exchange_bool_32_acq): Remove release sync. - (__arch_compare_and_exchange_bool_32_rel): Define. - (__arch_compare_and_exchange_bool_64_rel): Define. - (__arch_compare_and_exchange_val_64_rel): Define. - (__arch_atomic_exchange_64): Remove. - (__arch_atomic_exchange_64_acq): Define. - (__arch_atomic_exchange_64_rel): Define. - * sysdeps/powerpc/powerpc64/bits/atomic.h - (__arch_compare_and_exchange_bool_32_rel): Define. - (__arch_compare_and_exchange_bool_64_acq): Remove release sync. - (__arch_compare_and_exchange_bool_64_rel): Define. - (__arch_compare_and_exchange_val_64_acq): Remove release sync. - (__arch_compare_and_exchange_val_64_rel): Define. - (__arch_atomic_exchange_64): Remove. - (__arch_atomic_exchange_64_acq): Define. - (__arch_atomic_exchange_64_rel): Define. - (__arch_atomic_exchange_and_add_64): Add "memory" to clobber list. - (__arch_atomic_decrement_if_positive_64): - Add "memory" to clobber list. - [!UP](__ARCH_REL_INSTR): Define as lwsync. - -2003-05-11 Andreas Schwab - - * io/Makefile ($(objpfx)ftwtest.out): Use absolute file names. - -2003-05-11 Ulrich Drepper - - * time/tst-strftime.c (do_test): Add tests for - flag. - -2003-05-11 Jim Meyering - - * time/strftime.c (my_strftime): Let the `-' (no-pad) flag affect - the space-padded-by-default conversion specifiers, %e, %k, %l. - -2003-05-11 Andreas Schwab - - * sysdeps/generic/sched_setaffinity.c: Fix parameter name. - -2003-05-10 Ulrich Drepper - - * sysdeps/generic/bits/sched.h: Define cpu_set_t only if not - already defined and when really needed. - * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. - -2003-05-09 Thorsten Kukuk - - * sysdeps/unix/sysv/linux/netinet/igmp.h: Don't include kernel - headers, add defines from kernel header, move it from here... - * inet/netinet/igmp.h: ... to here. - * inet/Makefile (headers): Add netinet/igmp.h. - * sysdeps/unix/sysv/linux/Makefile: Remove netinet/igmp.h. - * sysdeps/unix/sysv/linux/Dist: Remove netinet/igmp.h. - -2003-05-10 Ulrich Drepper - - * sysdeps/pthread/lio_listio64.c (lio_listio64): If SIG == NULL, - use dummy sigevent structure with SIGEV_NONE [PR libc/5015]. - -2003-05-09 Thorsten Kukuk - - * libio/bits/stdio.h: Sync prototypes with libio/stdio.h - (remove __THROW from possible cancellation points). - -2003-05-10 Ulrich Drepper - - * posix/sched.h (CPU_SETSIZE): Define. - -2003-05-09 Ulrich Drepper - - * Makeconfig (gnulib): Remove -lgcc_eh again. - - * posix/sched.h: Change prototypes of sched_getaffinity and - sched_setaffinity. Define CPU_SET, CPU_CLR, CPU_ISSET, and CPU_ZERO. - * sysdeps/generic/sched_getaffinity.c: Adjust definition. - * sysdeps/generic/sched_setaffinity.c: Likewise. - * sysdeps/generic/bits/sched.h: Define __CPU_SETSIZE, __NCPUBITS, - __CPUELT, __CPUMASK, cpu_set_t, __cpu_mask, __CPU_ZERO, __CPU_SET, - __CPU_CLR, and __CPU_ISSET. - * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. - * sysdeps/unix/sysv/linux/sched_getaffinity.c: New file. - * sysdeps/unix/sysv/linux/sched_setaffinity.c: New file. - - * include/atomic.h (atomic_exchange_acq): Renamed from atomic_exchange. - (atomic_exchange_rel): New #define. - * sysdeps/ia64/bits/atomic.h: Likewise. - * sysdeps/i386/i486/bits/atomic.h (atomic_exchange_acq): Renamed from - atomic_exchange. - * sysdeps/m68k/m68020/bits/atomic.h: Likewise. - * sysdeps/powerpc/bits/atomic.h: Likewise. - * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Likewise. - * sysdeps/sparc/sparc64/bits/atomic.h: Likewise. - * sysdeps/x86_64/bits/atomic.h: Likewise. - * csu/tst-atomic.c: Use atomic_exchange_acq instead of atomic_exchange. - - * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: New file. - -2003-05-08 Ulrich Drepper - - * malloc/thread-m.h: Remove special handling of thread_atfork if - HAVE_register_atfork_malloc is defined. - -2003-05-07 Andreas Jaeger - - * sysdeps/unix/sysv/linux/x86_64/syscall.S: Add DWARF2 unwind - information. - -2003-05-06 Ulrich Drepper - - * libio/oldiofdopen.c (_IO_old_fdopen): Use _IO_old_init not _IO_init. - * libio/oldiofopen.c (_IO_old_fopen): Likewise. - * libio/libioP.h: Declare _IO_old_init. - * libio/genops.c (_IO_no_init): Split in two. New function - _IO_old_init. - -2003-05-05 Ulrich Drepper - - * sysdeps/generic/enbl-secure.c (__libc_enable_secure_decided): New - variable. - (__libc_init_secure): Don't do anything if __libc_enable_secure_decided - is nonzero. - * include/unistd.h: Declare __libc_enable_secure_decided. - * elf/dl-support.c (_dl_aux_init): Recognize AT_UID, AT_EUID, AT_GID, - and AT_EGID. If all found, set __libc_enable_secure and - __libc_enable_secure_decided. - - * sysdeps/generic/libc-start.c [!SHARED]: Call - __libc_check_standard_fds after __libc_init_first. - -2003-05-05 Roland McGrath - - * Makerules (common-before-compile): New variable. - ($(common-objpfx)%.make): Depend on that instead of $(before-compile). - ($(common-objpfx)%.h $(common-objpfx)%.h.d): Likewise. Move this rule - to after all setting of before-compile. - -2003-05-05 Jakub Jelinek - - * sysdeps/ia64/bits/atomic.h (__arch_compare_and_exchange_val_8_acq, - __arch_compare_and_exchange_val_16_acq): Cast 0 to mem's type. - * sysdeps/powerpc/powerpc32/bits/atomic.h - (__arch_compare_and_exchange_val_64_acq): Likewise. - * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h - (__arch_compare_and_exchange_val_8_acq, - __arch_compare_and_exchange_val_16_acq, - __arch_compare_and_exchange_val_64_acq): Likewise. - * sysdeps/sparc/sparc64/bits/atomic.h - (__arch_compare_and_exchange_val_8_acq, - __arch_compare_and_exchange_val_16_acq): Likewise. - * sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_8_acq, - __arch_compare_and_exchange_val_16_acq, - __arch_compare_and_exchange_val_64_acq): Likewise. - * sysdeps/unix/sysv/linux/sh/bits/atomic.h - (__arch_compare_and_exchange_val_64_acq): Likewise. - * sysdeps/s390/s390-64/backtrace.c (__backtrace): Add cast to shut - up warning. - * sysdeps/s390/fpu/fegetenv.c (fegetenv): Likewise. - - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h - (INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0): - Return long instead of int. - (INTERNAL_SYSCALL_ERROR_P): Cast val to unsigned long, replace - 0xfffff001u with -4095UL. - -2003-05-05 Andreas Jaeger - - * sysdeps/x86_64/fpu_control.h: New from i386. - - * sysdeps/unix/sysv/linux/x86_64/sysdep.h (__NR_semtimedop): - Define if not defined. - - * sunrpc/Makefile (generated-dirs): New variable. - * resolv/Makefile (generated): New variable. - -2003-05-04 Roland McGrath - - * csu/Makefile ($(csu-dummies) target rule): Don't use a temp C file. - Depend on $(before-compile). - - * csu/Makefile ($(objpfx)crt%.o): Replace implicit rule with a static - pattern rule. The implicit rule could be ruled out when $(objpfx) - didn't exist at the time of its consideration (ugh!). - - * Makerules (+make-deps): Fix target matching. - Use $(sed-remove-dotdot). - -2003-05-03 Ulrich Drepper - - * nscd/nscd.c (main): Parse config file right after parsing - parameters. Then, if get_stats is true, call receive_print_stats. - Drop parameter from nscd_init call. - (get_stats): New variable. - (parse_opt): Set get_stats, don't call receive_print_stats here. - * nscd/nscd.h: Declare dbs, stat_user, and stat_uid. Adjust nscd_init - prototype. - * nscd/connections.c (stat_user, stat_uid): New variables. - (dbs): Make global. - (nscd_init): Don't read configuration file here. Drop parameter. - (handle_request): Cleanup handling of non-database lookup requests. - * nscd/nscd_conf.c (nscd_parse_file): Recognize stat-user entry. - Get UID of the specified user. Use xstrdup instead of strdup. - * nscd/nscd_stat.c (receive_print_stats): Check UID. If not zero, - check stat_user. - * nscd/Makefile (nscd-modules): Add xstrdup. - * nscd/nscd.conf: Document stat-user entry. - -2003-05-03 H.J. Lu - - * sysdeps/unix/sysv/linux/ia64/sysdep.h (__NR_semtimedop): Define - if not defined. - -2003-04-22 Roland McGrath - - * elf/elf.h (AT_SYSINFO_EHDR): New macro, replaces AT_SYSINFO_EH_FRAME. - * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove - dl_sysinfo_eh_frame member, add dl_sysinfo_dso member instead. - * elf/dl-support.c: Update defn. - * sysdeps/generic/libc-start.c: Don't call __register_frame_info_bases. - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]: - Set GL(dl_sysinfo_dso) from AT_SYSINFO_EHDR. - (_dl_show_auxv): Grok AT_SYSINFO_EHDR, not AT_SYSINFO_EH_FRAME. - * elf/rtld.c (dl_main) [NEED_DL_SYSINFO]: If GL(dl_sysinfo_dso) is - set, set up a link_map for the preloaded, prelinked object. - -2003-05-03 Roland McGrath - - * sysdeps/gnu/Makefile (generated): Append errlist-compat.c here, ... - * stdio-common/Makefile: ... not here. - - * csu/Makefile ($(objpfx)initfini.s): Depend on $(before-compile). - * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise. - -2003-05-02 Ulrich Drepper - - * sysdeps/unix/sysv/linux/s390/semtimedop.c: New file. - - * sysdeps/unix/sysv/linux/alpha/ipc_priv.h (IPCOP_semtimedop): Define. - - * sysdeps/generic/dl-fptr.c (_dl_make_fptr): Use 0 not NULL for - comparing ftab elements. - (_dl_unmap): Fix typo in test. - (_dl_make_fptr): Fix typos introduced in last change. - - * sysdeps/generic/dl-fptr.c: Put back one optimization from the - original patch. Use non-exported symbols. Mark translatable - strings. Pretty printing. - -2003-05-02 Roland McGrath - - * Makerules (do-stamp): Do $(make-target-directory). - -2003-04-07 H.J. Lu - - * sysdeps/generic/dl-fptr.c: Modify to remove the lock. - -2003-04-03 H.J. Lu - - * sysdeps/ia64/dl-fptr.c: Moved to ... - * sysdeps/generic/dl-fptr.c: Here. - - * sysdeps/generic/dl-fptr.h: New. - * sysdeps/ia64/dl-fptr.h: New. - - * sysdeps/ia64/dl-symaddr.c: Moved to ... - * sysdeps/generic/dl-symaddr.c: here. - - * sysdeps/ia64/dl-machine.h: Include . - (IA64_BOOT_FPTR_TABLE_LEN): Removed. - (ia64_fdesc): Likewise. - (ia64_fdesc_table): Likewise. - (__ia64_make_fptr): Likewise. - (__ia64_init_bootstrap_fdesc_table): Replace __ia64_boot_fptr_table - with _dl_boot_fptr_table. - (elf_machine_runtime_setup): Replace `struct ia64_fdesc' with - `struct fdesc'. - (elf_machine_rela): Replace __ia64_make_fptr with _dl_make_fptr. - -2003-05-01 Roland McGrath - - * sysdeps/generic/bp-thunks.h: Protect includes with [!__ASSEMBLER__]. - * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise. - - * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): - Use $(make-target-directory). - * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise. - - * Makerules (compile-mkdep-flags): New variable, pass -MD -MF $@.d. - (compile-command.S): Don't use ifndef. Append $(compile-mkdep-flags). - (compile-command.s, compile-command.c): Likewise. - ($(objpfx)%.d): All such pattern rules removed. - ($(+sysdir_pfx)sysd-rules): Don't generate them. - ($(common-objpfx)dummy.d): Target removed. - (make-dummy-dep): Variable removed. - (generate-md5): Likewise. - (%.d: %.dt): New pattern rule. - (+depfiles): Use $(wildcard) function to get just existing *.d files - and .d files for existing *.dt files. - (common-clean): Remove all *.d and *.dt files. - (before-compile): Add $(objpfx). when it doesn't exist, - regardless of $(no_deps). - * elf/rtld-Rules ($(objpfx)rtld-%.d): All such pattern rules removed. - (rtld-depfiles): Use .os.d instead of .d names. - Include existing *.d files and .d files for existing *.dt files. - - * Makerules ($(common-objpfx)%.make): Protect with [! subdir]. - Use -MD, -MT and -MF flags instead of SUNPRO_DEPENDENCIES variable. - - * sysdeps/unix/Makefile ($(common-objpfx)s-%.d): Remove compat.h hack. - Do s-*.d includes only if we have some syscall routines in this subdir. - - * include/libc-symbols.h (libc_freeres_ptr): Use %nobits instead of - @nobits. The former is accepted by gas on any ELF platform. - -2003-05-01 Ulrich Drepper - - * sysdeps/unix/sysv/linux/semtimedop.c: New file. - - * malloc/malloc.c (mSTATs): Call ptmalloc_init if necessary. - -2003-04-29 Andreas Schwab - - * string/test-strcat.c (do_one_test): Fix attribute name. - -2003-04-30 Alexandre Oliva - - * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (ucontext): Make - uc_flags long for all ABIs. - -2003-04-30 Andreas Jaeger - - * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h - (DR_CONTROL_RESERVED): Use correct value for 64-bit. - Reported by Andrew Derrick Balsa . - Add bi-arch support. - -2003-04-30 Ulrich Drepper - - * malloc/malloc.c (mEMALIGn): Define alias __memalign_internal. - (__posix_memalign): Use __memalign_internal instead of memalign. - -2003-04-29 Roland McGrath - - * configure.in: Search for AUTOCONF unconditionally. - Just don't complain about missing it under --without-cvs. - - * include/libc-symbols.h (__symbol_set_attribute): New macro, - give hidden for [SHARED] and weak for [! SHARED]. - (symbol_set_declare): Use that. Never need weak_extern these days. - * Makerules ($(common-objpfx)shlib.lds): Go back to using PROVIDE. - Depend on $(..)Makerules. - -2003-04-29 Ulrich Drepper - - * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Use __ protected - variants of socket, bind, recvmsg, and sendto. - - * sysdeps/i386/fpu/ftestexcept.c: Also check SSE status word. - - * include/signal.h: Use libc_hidden_proto for sigaddset and sigdelset. - * signal/sigaddset.c: Add libc_hidden_def. - * signal/sigdelset.c: Likewise. - -2003-04-29 Jakub Jelinek - - * sysdeps/i386/i486/string-inlines.c (__memcpy_g, __strchr_g): Move - to the end of the file. - - * configure.in: Change __oline__ to $LINENO. - (HAVE_BUILTIN_REDIRECTION): New check. - * config.h.in (HAVE_BUILTIN_REDIRECTION): Add. - * include/libc-symbols.h (libc_hidden_builtin_proto, - libc_hidden_builtin_def, libc_hidden_builtin_weak, - libc_hidden_builtin_ver): Define. - * include/string.h (memchr, memcpy, memmove, memset, strcat, strchr, - strcmp, strcpy, strcspn, strlen, strncmp, strncpy, strpbrk, strrchr, - strspn, strstr): Add libc_hidden_builtin_proto. - * intl/plural.y: Include string.h. - * sysdeps/alpha/alphaev6/memchr.S (memchr): Add - libc_hidden_builtin_def. - * sysdeps/alpha/alphaev6/memcpy.S (memcpy): Likewise. - * sysdeps/alpha/alphaev6/memset.S (memset): Likewise. - * sysdeps/alpha/alphaev67/strcat.S (strcat): Likewise. - * sysdeps/alpha/alphaev67/strchr.S (strchr): Likewise. - * sysdeps/alpha/alphaev67/strlen.S (strlen): Likewise. - * sysdeps/alpha/alphaev67/strrchr.S (strrchr): Likewise. - * sysdeps/alpha/memchr.S (memchr): Likewise. - * sysdeps/alpha/memset.S (memset): Likewise. - * sysdeps/alpha/strcat.S (strcat): Likewise. - * sysdeps/alpha/strchr.S (strchr): Likewise. - * sysdeps/alpha/strcmp.S (strcmp): Likewise. - * sysdeps/alpha/strcpy.S (strcpy): Likewise. - * sysdeps/alpha/strlen.S (strlen): Likewise. - * sysdeps/alpha/strncmp.S (strncmp): Likewise. - * sysdeps/alpha/strncpy.S (strncpy): Likewise. - * sysdeps/alpha/strrchr.S (strrchr): Likewise. - * sysdeps/arm/memset.S (memset): Likewise. - * sysdeps/arm/strlen.S (strlen): Likewise. - * sysdeps/generic/memchr.c (memchr): Likewise. - * sysdeps/generic/memcpy.c (memcpy): Likewise. - * sysdeps/generic/memmove.c (memmove): Likewise. - * sysdeps/generic/memset.c (memset): Likewise. - * sysdeps/generic/strcat.c (strcat): Likewise. - * sysdeps/generic/strchr.c (strchr): Likewise. - * sysdeps/generic/strcmp.c (strcmp): Likewise. - * sysdeps/generic/strcpy.c (strcpy): Likewise. - * sysdeps/generic/strcspn.c (strcspn): Likewise. - * sysdeps/generic/strlen.c (strlen): Likewise. - * sysdeps/generic/strncmp.c (strncmp): Likewise. - * sysdeps/generic/strncpy.c (strncpy): Likewise. - * sysdeps/generic/strpbrk.c (strpbrk): Likewise. - * sysdeps/generic/strrchr.c (strrchr): Likewise. - * sysdeps/generic/strspn.c (strspn): Likewise. - * sysdeps/generic/strstr.c (strstr): Likewise. - * sysdeps/i386/i486/strcat.S (strcat): Likewise. - * sysdeps/i386/i486/strlen.S (strlen): Likewise. - * sysdeps/i386/i586/memcpy.S (memcpy): Likewise. - * sysdeps/i386/i586/memset.S (memset): Likewise. - * sysdeps/i386/i586/strchr.S (strchr): Likewise. - * sysdeps/i386/i586/strcpy.S (strcpy): Likewise. - * sysdeps/i386/i586/strlen.S (strlen): Likewise. - * sysdeps/i386/i686/memcpy.S (memcpy): Likewise. - * sysdeps/i386/i686/memmove.S (memmove): Likewise. - * sysdeps/i386/i686/memset.S (memset): Likewise. - * sysdeps/i386/i686/strcmp.S (strcmp): Likewise. - * sysdeps/i386/memchr.S (memchr): Likewise. - * sysdeps/i386/memset.c (memset): Likewise. - * sysdeps/i386/strchr.S (strchr): Likewise. - * sysdeps/i386/strcspn.S (strcspn): Likewise. - * sysdeps/i386/strlen.c (strlen): Likewise. - * sysdeps/i386/strpbrk.S (strpbrk): Likewise. - * sysdeps/i386/strrchr.S (strrchr): Likewise. - * sysdeps/i386/strspn.S (strspn): Likewise. - * sysdeps/ia64/memchr.S (memchr): Likewise. - * sysdeps/ia64/memcpy.S (memcpy): Likewise. - * sysdeps/ia64/memmove.S (memmove): Likewise. - * sysdeps/ia64/memset.S (memset): Likewise. - * sysdeps/ia64/strcat.S (strcat): Likewise. - * sysdeps/ia64/strchr.S (strchr): Likewise. - * sysdeps/ia64/strcmp.S (strcmp): Likewise. - * sysdeps/ia64/strcpy.S (strcpy): Likewise. - * sysdeps/ia64/strlen.S (strlen): Likewise. - * sysdeps/ia64/strncmp.S (strncmp): Likewise. - * sysdeps/ia64/strncpy.S (strncpy): Likewise. - * sysdeps/m68k/memchr.S (memchr): Likewise. - * sysdeps/m68k/strchr.S (strchr): Likewise. - * sysdeps/mips/mips64/memcpy.S (memcpy): Likewise. - * sysdeps/mips/mips64/memset.S (memset): Likewise. - * sysdeps/mips/memcpy.S (memcpy): Likewise. - * sysdeps/mips/memset.S (memset): Likewise. - * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise. - * sysdeps/powerpc/powerpc32/strchr.S (strchr): Likewise. - * sysdeps/powerpc/powerpc32/strcmp.S (strcmp): Likewise. - * sysdeps/powerpc/powerpc32/strcpy.S (strcpy): Likewise. - * sysdeps/powerpc/powerpc32/strlen.S (strlen): Likewise. - * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise. - * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise. - * sysdeps/powerpc/powerpc64/strchr.S (strchr): Likewise. - * sysdeps/powerpc/powerpc64/strcmp.S (strcmp): Likewise. - * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Likewise. - * sysdeps/powerpc/powerpc64/strlen.S (strlen): Likewise. - * sysdeps/powerpc/strcat.c (strcat): Likewise. - * sysdeps/sparc/sparc32/memchr.S (memchr): Likewise. - * sysdeps/sparc/sparc32/memcpy.S (memcpy): Likewise. - * sysdeps/sparc/sparc32/memset.S (memset): Likewise. - * sysdeps/sparc/sparc32/strcat.S (strcat): Likewise. - * sysdeps/sparc/sparc32/strchr.S (strchr, strrchr): Likewise. - * sysdeps/sparc/sparc32/strcmp.S (strcmp): Likewise. - * sysdeps/sparc/sparc32/strcpy.S (strcpy): Likewise. - * sysdeps/sparc/sparc32/strlen.S (strlen): Likewise. - * sysdeps/sparc/sparc64/sparcv9b/memcpy.S (memcpy, memmove): Likewise. - * sysdeps/sparc/sparc64/memchr.S (memchr): Likewise. - * sysdeps/sparc/sparc64/memcpy.S (memcpy, memmove): Likewise. - * sysdeps/sparc/sparc64/memset.S (memset): Likewise. - * sysdeps/sparc/sparc64/strcat.S (strcat): Likewise. - * sysdeps/sparc/sparc64/strchr.S (strchr, strrchr): Likewise. - * sysdeps/sparc/sparc64/strcmp.S (strcmp): Likewise. - * sysdeps/sparc/sparc64/strcpy.S (strcpy): Likewise. - * sysdeps/sparc/sparc64/strcspn.S (strcspn): Likewise. - * sysdeps/sparc/sparc64/strlen.S (strlen): Likewise. - * sysdeps/sparc/sparc64/strncmp.S (strncmp): Likewise. - * sysdeps/sparc/sparc64/strncpy.S (strncpy): Likewise. - * sysdeps/sparc/sparc64/strpbrk.S (strpbrk): Likewise. - * sysdeps/sparc/sparc64/strspn.S (strspn): Likewise. - * sysdeps/sh/memcpy.S (memcpy): Likewise. - * sysdeps/sh/memset.S (memset): Likewise. - * sysdeps/sh/strlen.S (strlen): Likewise. - * sysdeps/s390/s390-32/memchr.S (memchr): Likewise. - * sysdeps/s390/s390-32/memcpy.S (memcpy): Likewise. - * sysdeps/s390/s390-32/memset.S (memset): Likewise. - * sysdeps/s390/s390-32/strcmp.S (strcmp): Likewise. - * sysdeps/s390/s390-32/strcpy.S (strcpy): Likewise. - * sysdeps/s390/s390-32/strncpy.S (strncpy): Likewise. - * sysdeps/s390/s390-64/memchr.S (memchr): Likewise. - * sysdeps/s390/s390-64/memcpy.S (memcpy): Likewise. - * sysdeps/s390/s390-64/memset.S (memset): Likewise. - * sysdeps/s390/s390-64/strcmp.S (strcmp): Likewise. - * sysdeps/s390/s390-64/strcpy.S (strcpy): Likewise. - * sysdeps/s390/s390-64/strncpy.S (strncpy): Likewise. - * sysdeps/x86_64/memcpy.S (memcpy): Likewise. - * sysdeps/x86_64/memset.S (memset): Likewise. - * sysdeps/x86_64/strcat.S (strcat): Likewise. - * sysdeps/x86_64/strchr.S (strchr): Likewise. - * sysdeps/x86_64/strcmp.S (strcmp): Likewise. - * sysdeps/x86_64/strcpy.S (strcpy): Likewise. - * sysdeps/x86_64/strcspn.S (strcspn): Likewise. - * sysdeps/x86_64/strlen.S (strlen): Likewise. - * sysdeps/x86_64/strspn.S (strspn): Likewise. - * string/string-inlines.c: Move... - * sysdeps/generic/string-inlines.c: ...here. - (__memcpy_g, __strchr_g): Remove. - (__NO_INLINE__): Define before including , - undefine after. Include bits/string.h and bits/string2.h. - * sysdeps/i386/i486/string-inlines.c: New file. - * sysdeps/i386/string-inlines.c: New file. - * sysdeps/i386/i486/Versions: Remove. - All GLIBC_2.1.1 symbols moved... - * sysdeps/i386/Versions (libc): ...here. - -2003-04-29 Ulrich Drepper - - * sysdeps/i386/fpu/Makefile: New file. - * sysdeps/i386/fpu/fedisblxcpt.c: Also set SSE control word. - * sysdeps/i386/fpu/feenablxcpt.c: Likewise. - * sysdeps/i386/fpu/feholdexcpt.c: Likewise. - * sysdeps/i386/fpu/fesetround.c: Also set SSE rounding mode - [PR libc/4987]. - -2003-04-28 Ulrich Drepper - - * nscd/nscd_getgr_r.c: Compact code a bit. Add some __builtin_expect. - * nscd/nscd_getpw_r.c: Likewise. - * nscd/nscd_gethst_r.c: Likewise. - -2003-04-27 Ulrich Drepper - - * nscd/pwdcache.c: Initialize .version element in result. - * nscd/grpcache.c: Likewise. - * nscd/pwdcache.c: Likewise. - -2003-04-27 Andreas Schwab - - * Makeconfig ($(common-objpfx)sysd-sorted): Fix for running in - subdirectory. - -2003-04-27 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/semtimedop.S: New file. - -2003-04-27 Ulrich Drepper - - * nscd/connections.c (client_queued): New variable. - (nscd_run): Revamp the loop. Don't call poll except for cleanup - threads. Keep track of the number of delays caused because of busy - worker threads. - * nscd/nscd.h: Declare client_queued. - * nscd/nscd_stat.c: Transmit and print client_queued information. - - * locale/programs/locale.c (show_info): Use '\177' instead of CHAR_MAX. - - * Makerules ($(common-objpfx)shlib.lds): Don't use PROVIDE to - define __start_libc_freeres_ptrs and __stop___libc_freeres_ptrs. - -2003-04-26 Ulrich Drepper - - * elf/dl-close.c [USE_TLS && TLS_TCB_AT_TP] (_dl_close): Reimplement - tracking of freed memory in static TLS block. - * elf/Makefile: Add rules to build and run tst-tls13. - * elf/tst-tls13.c: New file. - * elf/tst-tlsmod13.c: New file. - * elf/tst-tlsmod13a.c: New file. - - * elf/tst-tls8.c: Adjust types of variables to avoid warnings. - - * elf/dl-reloc.c: Pretty printing. - -2003-04-26 Roland McGrath - - * Makerules ($(common-objpfx)shlib.lds): New target. - (common-generated): Add it. - (build-shlib, build-module): Use that instead of generating every time. - ($(common-objpfx)libc.so): Depend on it. - (lib%.so rule): Likewise. - (build-module-helper-objlist): Remove %.lds. - (LDSEDCMD-c.so): Variable removed. - * iconvdata/extra-module.mk ($(objpfx)$(mod).so): - Depend on $(common-objpfx)shlib.lds. - * dlfcn/Makefile ($(test-modules)): Likewise. - -2003-04-26 Roland McGrath - - * sysdeps/mach/hurd/tmpfile.c: Remove USE_IN_LIBIO conditionals. - -2003-04-26 Andreas Schwab - - * elf/dl-close.c (remove_slotinfo): Fix missing parens. - -2003-04-25 Ulrich Drepper - - * nscd/cache.c (cache_search): Keep track of how many chain links - we searched and update table statistics. - (cache_add): Keep track of how many values are in the table. - (prune_cache): Likewise. Keep track of locking success. - Print messages about removed entries in separate pass. - * nscd/connections.c (handle_request): Don't print debug message here. - The caller will do it. Keep track of locking success. - (nscd_run): Print debug message. Also print PID of the client process. - * nscd/nscd.c (start_time): New variable. - (main): Remember start time. - * nscd/nscd.h: Declare start_time. - (struct database): Add more members for new statistics. - * nscd/nscd_stat.c: Add support for sending, receiving, and printing - of new statistics. - - * sysdeps/posix/getaddrinfo.c: Include . - -2003-04-22 Jakub Jelinek - - * include/link.h (NO_TLS_OFFSET): Define to 0 if not defined. - * elf/dl-close.c (_dl_close): Use NO_TLS_OFFSET. - * elf/dl-object.c (_dl_new_object): Initialize l_tls_offset to - NO_TLS_OFFSET. - * elf/rtld.c (_dl_start_final, _dl_start): Likewise. - * elf/dl-reloc.c (CHECK_STATIC_TLS): Use NO_TLS_OFFSET. - * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Likewise. - * sysdeps/powerpc/dl-tls.h (TLS_TPREL_VALUE): Don't subtract - TLS_TCB_SIZE. - -2003-04-24 Ulrich Drepper - - * nss/getent.c: Implement alternative host database lookup via - getaddrinfo. - - * include/ifaddrs.h: New file. - * include/netdb.h: Move definitions of AI_V4MAPPED, AI_ALL, and - AI_ADDRCONFIG... - * resolv/netdb.h: ...here. - * sysdeps/gnu/ifaddrs.c. Use libc_hidden_def where appropriate. - * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise. - * sysdeps/posix/getaddrinfo.c: Implement AI_V4MAPPED, AI_ALL, and - AI_ADDRCONFIG. - -2003-04-24 Roland McGrath - - * elf/dl-reloc.c (_dl_allocate_static_tls): Add internal_function. - -2003-04-24 Jakub Jelinek - - * elf/dl-reloc.c (allocate_static_tls): Rename to... - (_dl_allocate_static_tls): ... this function. No longer static. - (CHECK_STATIC_TLS): Adjust. - * sysdeps/generic/ldsodefs.h (_dl_allocate_static_tls): New prototype. - * sysdeps/powerpc/powerpc32/dl-machine.h (__process_machine_rela): - Add SYM_MAP argument. - (elf_machine_rela): Adjust caller. Declare SYM_MAP unconditionally. - Check if SYM_MAP != NULL for R_PPC_DTPREL32. Only handle 32-bit - TLS relocs here. #ifdef out relocs which never appear in - .gnu.conflict section from dl-conflict.c processing. - * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela): - Add SYM_MAP argument. Handle 16-bit TLS relocs here. - - * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): #ifdef - out relocs which never appear in .gnu.conflict section from - dl-conflict.c processing. - * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise. - * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise. - * sysdeps/i386/dl-machine.h (elf_machine_rela): Likewise. - Use r_type in RESOLVE macro. - -2003-04-23 Ulrich Drepper - - * nis/ypclnt.c (__yp_bind): Expect YPDB parameter to always be != - NULL. Remove code made redundant by this assumption. - (__yp_unbind): Add call to free. Adjust all callers. - - * nis/ypclnt.c (yp_all): Free the dom_binding object after - unbinding it. - - * grp/initgroups.c (getgrouplist): Don't copy too much into the - user buffer if more groups are found than fit into it. - - * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Use - extend_alloca. - -2003-04-23 Jakub Jelinek - - * sysdeps/posix/getaddrinfo.c (gaih_inet): Check for rc == ERANGE, - not rc == errno. Use extend_alloca. - - * elf/tst-tls12.c (main): Fix declaration. - * elf/tst-tls10.c (dummy): Make hidden instead of static. - * elf/tst-tlsmod7.c (dummy): Likewise. - * elf/tst-tlsmod8.c (dummy): Likewise. - * elf/tst-tlsmod9.c (dummy): Likewise. - -2003-04-22 Roland McGrath - - * sysdeps/unix/sysv/linux/not-cancel.h: Put parens around macro args. - (open_not_cancel): Make last argument non-optional. - * sysdeps/generic/check_fds.c (check_one_fd): Update caller. - * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise. - * iconv/gconv_cache.c (__gconv_load_cache): Likewise. - - * include/tls.h: Protect against multiple inclusion. - -2003-04-22 Ulrich Drepper - - * nscd/nscd-client.h: Add declaration for __nscd_open_socket. - * nscd/nscd_gethst_r.c (__nscd_open_socket): Renamed from - open_socket. Not static anymore. - (nscd_gethst_r): Use __nscd_open_socket. - * nscd/nscd_getgr_r.c (open_socket): Removed. - (nscd_getgr_r): Use __nscd_open_socket. - * nscd/nscd_getpw_r.c (open_socket): Removed. - (nscd_getpw_r): Use __nscd_open_socket. - - * nscd/nscd.c (main): Change type of fdn to long int and use strtol. - * nscd/connections.c (handle_request): Add cast to avoid warning. - -2003-04-21 Ulrich Drepper - - * signal/sigfillset.c: Moved to... - * sysdeps/generic/sigfillset.c: ...here. If SIGCANCEL is defined - do not set the corresponding bit. - - * sysdeps/unix/sysv/linux/sigprocmask.c: Prevent changing mask for - SIGCANCEL. - * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_TKILL. - * sysdeps/unix/sysv/linux/bits/siginfo.h: Define SI_TKILL. - * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Define SI_TKILL. - * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Define SI_TKILL. - * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Define SI_TKILL. - -2003-04-20 Ulrich Drepper - - * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Cast - first syscall parameter to const char*. - -2003-04-19 Ulrich Drepper - - * intl/Makefile ($(objpfx)msgs.h): Use C locale for sed run. - - * configure.in: Add AC_PROG_CXX. - * config.make.in (CXX): Define. - - * sysdeps/i386/i686/hp-timing.h (HP_TIMING_PRINT): Change type of - __len to size_t to avoid warnings. - -2003-04-18 Jes Sorensen - - * libc/sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Sync with Linux - 2.5.67. - * libc/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. - -2003-04-19 Ulrich Drepper - - * stdlib/cxa_finalize.c (__cxa_finalize): Don't call - UNREGISTER_ATFORK if d == NULL. - - * catgets/nl_types.h: Remove __THROW marker from cancellation points. - * dirent/dirent.h: Likewise. - * dlfcn/dlfcn.h: Likewise. - * grp/grp.h: Likewise. - * iconv/iconv.h: Likewise. - * io/fcntl.h: Likewise. - * io/ftw.h: Likewise. - * libio/stdio.h: Likewise. - * misc/sys/mman.h: Likewise. - * misc/sys/select.h: Likewise. - * misc/sys/syslog.h: Likewise. - * misc/sys/uio.h: Likewise. - * posix/spawn.h: Likewise. - * posix/unistd.h: Likewise. - * posix/sys/wait.h: Likewise. - * pwd/pwd.h: Likewise. - * resolv/netdb.h: Likewise. - * rt/aio.h: Likewise. - * shadow/shadow.h: Likewise. - * signal/signal.h: Likewise. - * socket/sys/socket.h: Likewise. - * stdlib/stdlib.h: Likewise. - * streams/stropts.h: Likewise. - * string/string.h: Likewise. - * sysdeps/gnu/utmpx.h: Likewise. - * sysvipc/sys/msg.h: Likewise. - * termios/termios.h: Likewise. - * time/time.h: Likewise. - * wcsmbs/wchar.h: Likewise. - * iconv/gconv_cache.c: Include and use non-cancelable - functions. - * misc/daemon.c: Likewise. - * sysdeps/generic/backtracesymsfd.c: Likewise. - * sysdeps/generic/check_fds.c: Likewise. - * sysdeps/unix/sysv/linux/gethostid.c: Likewise. - * sysdeps/unix/sysv/linux/not-cancel.h: New file. - * sysdeps/generic/not-cancel.h: New file. - * csu/Makefile (distribute): Add not-cancel.h. - * sysdeps/unix/sysv/linux/fatal-prepare.h: New file. - * sysdeps/unix/sysv/linux/Makefile: Define FATAL_PREPARE_INCLUDE - for assert.c and assert-perr.c to include . - * sysdeps/unix/sysv/linux/Dist: Add fatal-prepare.h. - - * sysdeps/posix/remove.c (remove): Rewrite. No need to restore - errno and unlink first. - - * io/ftw.c (ftw_dir): In all places assume fchdir is available. - -2003-04-18 Ulrich Drepper - - * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_fatal): Use - INTERNAL_SYSCALL instead of INLINE_SYSCALL. - -2003-04-17 Ulrich Drepper - - * sysdeps/unix/sysv/linux/Makefile: Remove db2 directory handling. - - * malloc/Makefile (CFLAGS-malloc.c): Define DEFAULT_TOP_PAD to 128k. - * sysdeps/unix/sysv/linux/Makefile (CFLAGS-malloc.c): Add to, not - replace. - - * signal/Makefile (tests): Add tst-sigsimple. - * signal/tst-sigsimple.c: New file. - -2003-04-16 Jakub Jelinek - - * elf/Makefile (distribute): Add tst-tlsmod{[7-9],1[0-2]}.c and - tst-tls10.h. - (tests): Add tst-tls1[0-2]. - (modules-names): Add tst-tlsmod{[7-8],1[0-2]}. - ($(objpfx)tst-tlsmod8.so): Depend on tst-tlsmod7.so. - ($(objpfx)tst-tlsmod10.so): Depend on tst-tlsmod9.so. - ($(objpfx)tst-tlsmod12.so): Depend on tst-tlsmod11.so. - ($(objpfx)tst-tls10): Depend on tst-tlsmod8.so. - ($(objpfx)tst-tls11): Depend on tst-tlsmod10.so. - ($(objpfx)tst-tls12): Depend on tst-tlsmod12.so. - * elf/tst-tls10.c: New test. - * elf/tst-tls11.c: New test. - * elf/tst-tls12.c: New test. - * elf/tst-tls10.h: New file. - * elf/tst-tlsmod7.c: New file. - * elf/tst-tlsmod8.c: New file. - * elf/tst-tlsmod9.c: New file. - * elf/tst-tlsmod10.c: New file. - * elf/tst-tlsmod11.c: New file. - * elf/tst-tlsmod12.c: New file. - -2003-04-15 Steven Munroe - - * sysdeps/powerpc/bits/atomic.h: Moved ppc32/64 specific code to ... - * sysdeps/powerpc/powerpc32/bits/atomic.h: New file. - * sysdeps/powerpc/powerpc64/bits/atomic.h: New file. - -2003-04-17 Ulrich Drepper - - * posix/regex.h: Include . - - * signal/sigrelse.c (sigrelse): Use sigdelset and not __sigdelset. - The signal number must be checked. - * signal/sighold.c (sighold): Use sigaddset and not __sigaddset. - The signal number must be checked [PR libc/5004]. - - * sysdeps/unix/sysv/linux/system.c: If compiled without threads - don't do anything fancy. - - * sysdeps/generic/bits/libc-lock.h: Define - __rtld_lock_define_initialized_recursive. - - * nss/getXXbyYY_r.c [USE_NSCD] (REENTRANT_NAME): Only retry - contacting nscd if NOT_USENSCD_NAME > 0. - * nss/nsswitch.c (__nss_disable_nscd): New function. - * nss/nsswitch.h: Declare it. - * nss/Versions [GLIBC_PRIVATE]: Export __nss_disable_nscd. - * nscd/nscd.c (main): Call __nss_disable_nscd. - -2003-04-16 Ulrich Drepper - - * stdio-common/perror.c (perror): We don't need to set the offset - to _IO_pos_bad, this is how streams are initialized. - - * locale/programs/ld-time.c (TESTARR_ELEM): Make i unsigned. - (time_output): If necessary, allocate new buffer for .name string if - padding is required. - - * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Check lengths - before copying. This might leave holes in the list. Adjust - pointers if necessary. - (netlink_receive): Allocate only one block. - (free_netlink_handle): Adjust appropriately. - (getifaddrs): Lots of cleanups. - - * string/test-strncpy.c (do_one_test): Mark start and stop as - possibly unused. - * string/test-memchr.c: Likewise. - * string/test-memcmp.c: Likewise. - * string/test-memcpy.c: Likewise. - * string/test-memmove.c: Likewise. - * string/test-memset.c: Likewise. - * string/test-strcat.c: Likewise. - * string/test-strchr.c: Likewise. - * string/test-strcmp.c: Likewise. - * string/test-strcpy.c: Likewise. - * string/test-strlen.c: Likewise. - * string/test-strncmp.c: Likewise. - * string/test-strpbrk.c: Likewise. - * string/test-strrchr.c: Likewise. - * string/test-strspn.c: Likewise. - -2003-04-15 Roland McGrath - - * libio/fileops.c (_IO_file_close_it): Macro tweak to avoid warning. - - * sysdeps/generic/libc-start.c [NEED_DL_SYSINFO]: Add decl for - INTUSE(__register_frame_info_bases). - -2003-04-15 Ulrich Drepper - - * elf/elf.h: Define AT_SYSINFO_EH_FRAME. - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle - AT_SYSINFO_EH_FRAME. Adjust string width. - (_dl_show_auxv):Display AT_SYSINFO_EH_FRAME value. - * sysdeps/generic/ldsodefs.h [NEED_DL_SYSINFO] (struct rtld_global): - Add _dl_sysinfo_eh_frame field. - * elf/dl-support.c [NEED_DL_SYSINFO]: Define _dl_sysinfo_eh_frame. - * sysdeps/generic/libc-start.c [NEED_DL_SYSINFO] Define eh_obj - variable. - [NEED_DL_SYSINFO] (LIBC_START_MAIN): Call __register_frame_info_bases - if _dl_sysinfo_eh_frame is non-NULL. - - * Makeconfig (gnulib): Add -lgcc_eh. - - * config.h.in: Define HAVE_FORCED_UNWIND. - -2003-04-15 Steven Munroe - - * sysdeps/powerpc/powerpc64/strcmp.S: Convert to full 64-bit. - * sysdeps/powerpc/powerpc64/strcpy.S: Likewise. - -2003-04-15 Jakub Jelinek - - * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Avoid - checking R_PPC_RELATIVE, R_PPC_NONE and whether relocation is - against local symbol in conflict processing. - -2003-04-15 Steven Munroe - - * sysdeps/powerpc/bits/atomic.h - [__powerpc64] (__arch_compare_and_exchange_val_64_acq): Define. - [! __powerpc64] (__arch_compare_and_exchange_val_64_acq): Defined - as abort stub. - (__arch_compare_and_exchange_val_32_acq): Define. - (atomic_compare_and_exchange_val_acq): Define. - -2003-04-15 Ulrich Drepper - - * include/atomic.h: Pretty printing. - -2003-04-14 Ulrich Drepper - - * stdio-common/vfscanf.c: Add casts to avoid warnings. - -2003-04-14 Jakub Jelinek - - * sysdeps/i386/i486/bits/atomic.h: Rename LOCK to LOCK_PREFIX. - * sysdeps/x86_64/bits/atomic.h: Likewise. - -2003-04-14 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/sysdep.h: Change PUSHARGS_1 and - POPARGS_1 to emit labels for the mov instructions. - -2003-04-14 Jakub Jelinek - - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (ret_NOERRNO): Define. - -2003-04-14 Roland McGrath - - * sysdeps/generic/unwind-dw2.c (_Unwind_GetCFA): Add a cast to silence - compiler warning. - - * sysdeps/generic/unwind-pe.h: Fix decl hacks broken in merge. - -2003-04-14 Ulrich Drepper - - * string/strxfrm.c (STRXFRM): Terminate rulearr at correct - position. Reported by jreiser@BitWagon.com. - -2003-04-13 Ulrich Drepper - - * sysdeps/generic/unwind-dw2-fde.c: Update from recent gcc version. - * sysdeps/generic/unwind-dw2-fde.h: Likewise. - * sysdeps/generic/unwind-dw2.c: Likewise. - * sysdeps/generic/unwind-pe.h: Likewise. - -2003-04-13 Alexandre Oliva - - * sysdeps/unix/sysv/linux/mips/profil-counter: New. - * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Port to n32/n64. - * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: New. - * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Port to n32/n64. - (mcontext_t): Make it match the 32-bit mips kernel in o32. - * sysdeps/unix/sysv/linux/mips/sys/user.h: Bring in constants from - the mips and mips64 headers. - (struct user): Port to n32/n64. - -2003-04-12 Ulrich Drepper - - * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Add cast to - avoid warning. - - * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): If - __ASSUME_VSYSCALL is defined don't add restorer. - * sysdeps/unix/sysv/linux/kernel-features.h: Define - __ASSUME_VSYSCALL for 2.5.53. - -2003-04-11 Ulrich Drepper - - * sysdeps/generic/libc-start.c: Cleanup MAIN_AUXVEC_ARG handling. - Remove HAVE_CANCELBUF code. Replace with code using the new - initializers for unwind-based cleanup handling. - * sysdeps/generic/unwind.h: Update from latest gcc version. - * sysdeps/unix/sysv/linux/i386/sysdep.h: Define labels in a few - places to allow unwind data generation. - * sysdeps/i386/bits/setjmp.h: Allow file to be included multiple times. - * sysdeps/x86_64/bits/setjmp.h: Likewise. - * sysdeps/sh/bits/setjmp.h: Likewise. - * sysdeps/powerpc/bits/setjmp.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: Likewise. - * sysdeps/alpha/bits/setjmp.h: Likewise. - -2003-04-11 Roland McGrath - - * csu/tst-empty.c: New file. - * csu/Makefile (tests, tests-static): Add it. - -2003-04-11 Jakub Jelinek - - * string/test-strcmp.c (do_random_tests): Test whether return value - has been promoted to wordsize if the ABI requires caller to do so. - * string/test-strncmp.c (do_random_tests): Likewise. - * string/test-memcmp.c (do_random_tests): Likewise. - - * sysdeps/powerpc/powerpc64/strcmp.S (strcmp): Sign extend rRTN - before returning. - - * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c - (__fe_nomask_env): Try prctl even if __ASSUME_NEW_PRCTL_SYSCALL - is not defined, but the prctl constants are. - - * string/tester.c (test_strcmp): Fix a typo. - -2003-04-09 Ulrich Drepper - - * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD definition. - * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise. - -2003-04-08 Alexandre Oliva - - * sysdeps/mips/sys/regdef.h (t4,t5,t6,t7): Renamed to t0..t3 on - NewABI. - (ta0, ta1, ta2, ta3): Defined to t4..t7 on o32, and a4..a7 on - NewABI. - * sysdeps/mips/mips64/memcpy.S: Adjust register naming - conventions. - * sysdeps/mips/mips64/memset.S: Likewise. - * sysdeps/unix/mips/sysdep.S (__syscall_error) [_LIBC_REENTRANT]: - Use t0 instead of t4 as temporary. - -2003-04-07 Ulrich Drepper - - * elf/ldconfig.c (parse_conf): Ignore leading whitespace. Use - feof_unlocked instead of feof. - (add_dir): Ignore trailing whitespace. - -2003-04-07 Jakub Jelinek - - * posix/bug-regex4.c (main): Cap RANGE and STOP arguments to - sum of SIZE1 and SIZE2 arguments. - -2003-04-06 Ulrich Drepper - - * iconv/iconv_prog.c (process_block): Don't print message about - invalid input if the -c option is used. - (main): Correctly append IGNORE string for -c option. - -2003-04-06 Kaz Kojima - - * sysdeps/sh/bits/atomic.h: Moved to ... - * sysdeps/unix/sysv/linux/sh/bits/atomic.h: ... here. Add comments. - (__arch_compare_and_exchange_val_*_acq): Add parens around macro - arguments. - (atomic_bit_set, atomic_bit_test_set): Likewise. - (atomic_exchange_and_add): Likewise. Don't evaluate VALUE argument - twice. - (atomic_add, atomic_add_negative, atomic_add_zero): Likewise. - -2003-04-06 Roland McGrath - - * sysdeps/unix/sysv/linux/i386/swapcontext.S: Rewrite register - restoration as done for setcontext yesterday. - -2003-04-06 Jakub Jelinek - - * elf/rtld.c: Revert 2003-03-14 change. - * elf/dl-conflict.c (_dl_resolve_conflicts): Move - #if ! ELF_MACHINE_NO_RELA conditional into the routine. - -2003-04-05 Ulrich Drepper - - * sunrpc/xdr.c (xdr_string): Catch nodesize == 0 [PR libc/4999]. - - * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): - Always initialize *signgamp before returning an error. - -2003-04-05 Roland McGrath - - * sysdeps/unix/sysv/linux/i386/setcontext.S: Rewrite to avoid writing - below the stack pointer even if switching to the same context we are - running right now. - -2003-04-05 Ulrich Drepper - - * catgets/gencat.c (read_input_file): Make sure that \n is not - alone on the line before testing for continuation. - - * math/test-tgmath.c (compile_test): Initialize c. - -2003-04-05 Alexandre Oliva - - * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: New. - * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: New. - * sysdeps/unix/sysv/linux/kernel-features.h: fcntl64 is available - on mips n32. - * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Explain why - XSTAT_IS_XSTAT64 must not be used for mips n64. Use 64-bit data - structure on n32 as well. - * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use POSIX-compliant - data types on n32 and n64. - -2003-04-05 Ulrich Drepper - - * libio/fileops.c (_IO_new_file_fopen): Don't free step data right - after getting them. - - * malloc/thread-m.h [PTHREAD_MUTEX_INITIALIZER]: If - HAVE_register_atfork_malloc is defined use __register_atfork_malloc - instead of __register_atfork. - -2003-04-05 Jakub Jelinek - - * stdio-common/reg-printf.c (__register_printf_function): Calloc - instead of malloc __printf_arginfo_table and __printf_function_table. - Reported by John Reiser . - -2003-04-04 Steven Munroe - - * sysdeps/powerpc/powerpc64/strchr.S: 64-bit optimizations. - * sysdeps/powerpc/powerpc64/strlen.S: 64-bit optimizations. - - * sysdeps/powerpc/fpu/bits/mathdef.h (FLT_EVAL_METHOD): Undef before - defining. - -2003-04-04 Alexandre Oliva - - * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock): Adjust - for n64 abi. - -2003-04-03 Roland McGrath - - * configure.in: Fix up use of compilation flags to match the build: - For .s files, $ASFLAGS; - For .S files, $CPPFLAGS $ASFLAGS; - For .c files, $CFLAGS $CPPFLAGS; - when linking, add $LDFLAGS. - * configure: Regenerated. - -2003-04-03 Jakub Jelinek - - * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Reverse test - for atomic_compare_and_exchange_bool_acq failure. - -2003-04-03 Ulrich Drepper - - * posix/unistd.h: Define _POSIX_VERSION, _POSIX2_VERSION, - _POSIX2_C_BIND, _POSIX2_C_DEV, _POSIX2_SW_DEV, and - _POSXI2_LOCALEDEF to 200112L. Remove _POSIX2_C_VERSION. - Remove declaration of pthread_atfork. - -2003-04-02 Ulrich Drepper - - * locale/iso-639.def: Add many more languages from the current ISO 639. - - * sysdeps/unix/sysv/linux/ipc_priv.h: Define IPCOP_semtimedop. - * sysdeps/generic/semtimedop.c: New file. - * sysdeps/unix/sysv/linux/i386/semtimedop.S: New file. - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add semtimedop. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. - * sysvipc/Makefile (routines): Add semtimedop. - * sysvipc/Versions [GLIBC_2.3.3] (glibc): Add semtimedop. - * sysvipc/sys/sem.h: Declare semtimedop. - -2003-04-02 Daniel Jacobowitz - - * configure.in: Check for __register_frame_info in both - -lgcc and -lgcc_eh. - * configure: Regenerated. - -2003-04-01 Roland McGrath - - * scripts/abilist.awk: Allow dots in soname suffix. - - * scripts/abilist.awk (emit): Fix bailout condition. - -2003-04-01 Jakub Jelinek - - * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Use the - IA-64 version. - - * elf/tls-macros.h [__ia64__] (TLS_IE, TLS_LD, TLS_GD): Add gp - register as input to asm. - -2003-04-01 Jakub Jelinek - - * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (sigevent_t): Fix a typo. - -2003-04-01 Andreas Jaeger - - * configure.in: Output as/ld as name if version is too old. - -2003-03-31 Daniel Jacobowitz - - * configure.in: Don't require an installed C library in the test - for ".set" assembler support. - -2003-03-31 Roland McGrath - - * signal/tst-sigset.c: New file. - * signal/Makefile (tests): Add it. - -2003-03-31 Ulrich Drepper - - * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Define to 65. - * sysdeps/unix/sysv/linux/hppa/bits/signum.h (_NSIG): Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Likewise. - * sysdeps/unix/sysv/linux/bits/signum.h (_NSIG): Likewise. - (__SIGRTMAX): Adjust accordingly. - * sysdeps/gnu/siglist.c: If OLD2_SIGLIST_SIZE is defined define - second compatibility symbol set. - * sysdeps/unix/sysv/linux/siglist.h (OLD2_SIGLIST_SIZE): Define. - -2003-03-31 Andreas Schwab - - * sysdeps/m68k/m68020/bits/atomic.h (atomic_increment_and_test): - Define. - (atomic_decrement_and_test): Fix test. - -2003-03-31 Jakub Jelinek - - * sysdeps/sparc/sparc32/bits/atomic.h: New file. - * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: New file. - * sysdeps/sparc/sparc64/bits/atomic.h: New file. - * sysdeps/sparc/sparc32/atomicity.h: Removed. - * sysdeps/sparc/sparc32/sparcv9/atomicity.h: Removed. - * sysdeps/sparc/sparc64/atomicity.h: Removed. - -2003-03-30 Roland McGrath - - * scripts/abilist.awk: Grok .opd foo plus .text .foo as "foo F" alone. - - * intl/po2test.sed: Anchor substitution regexps to fix last change. - -2003-03-29 Paolo Bonzini - - * intl/po2test.sed: Unify the transformations for msgid and msgstr - and remove a useless s/// command. - -2003-03-27 David Mosberger - - * sysdeps/ia64/dl-machine.h (RTLD_START): Wrap ".save rp, r0" - directive into empty .prologue region to ensure that call-chain - is terminated even for the first instruction. - - * sysdeps/ia64/elf/start.S (_start): Use ".save rp, r0" idiom - to terminate call-chain right from the get-go. - - * sysdeps/unix/sysv/linux/ia64/fork.S (fork): Remove unnecessary - stop bit between compare & branch. - -2003-03-29 Ulrich Drepper - - * stdlib/strtod.c (INTERNAL): Recognize first digit after decimal - point correctly [PR libc/4993]. - - * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Avoid - netlink_open calls if netlink is known to not be available. - -2003-03-29 Alexandre Oliva - - * configure.in: Add mips64* support. - * sysdeps/mips/bits/endian.h: Make it bi-endian. - * sysdeps/mips/mipsel/bits/endian.h: Removed. - * sysdeps/mips/mips64/n32/el/bits/endian.h: Removed. - * sysdeps/mips/mips64/n64/el/bits/endian.h: Removed. - * sysdeps/mips/mips32/Makefile (CC): Add -mabi=32. - * sysdeps/mips/mips64/n32/Makefile (CC): Add -mabi=n32. - * sysdeps/mips/mips64/n64/Makefile (CC): Add -mabi=64. - * sysdeps/mips/Implies: Moved wordsize-32 to... - * sysdeps/mips/mips32/Implies: New file. - * sysdeps/unix/mips/sysdep.h (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO, - ret_NOERRNO): New. - (ret, PSEUDO_END): Moved past END. - (PSEUDO): Moved to... - * sysdeps/unix/mips/mips32/sysdep.h: New file. - * sysdeps/unix/mips/mips64/n32/sysdep.h: Removed #undef PSEUDO. - * sysdeps/unix/mips/mips64/n64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/mips/sysdep.h: Move to... - * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: New file. - * sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: New file. - - * sysdeps/unix/sysv/linux/mips/clone.S (__thread_start): - Re-introduce ENTRY. - -2003-03-28 Thorsten Kukuk - - * sysdeps/unix/sysv/linux/ifaddrs.c: New file. - * inet/test-ifaddrs.c: Allow AF_PACKET. - * sysdeps/unix/sysv/linux/kernel-features.h: Add - __ASSUME_NETLINK_SUPPORT. - -2003-03-28 Ulrich Drepper - - * elf/vismain.c (do_test): Comment out tests which fail in the moment. - -2003-03-26 H.J. Lu - - * elf/vismod.h (getvarlocal1): Return const char **. - (getvarinmod1): Likewise. - (getvaritcpt1): Likewise. - (getvarlocal2): Likewise. - (getvarinmod2): Likewise. - (getvaritcpt2): Likewise. - (getvaritcpt3): Likewise. - * elf/vismain.c (do_test): Adjusted. - * elf/vismod1.c (getvarlocal1): Return address. - (getvarinmod1): Likewise. - (getvaritcpt1): Likewise. - * elf/vismod2.c (getvarlocal2): Likewise. - (getvarinmod2): Likewise. - (getvaritcpt2): Likewise. - * elf/vismod3.c (getvaritcpt3): Likewise. - -2003-03-28 Roland McGrath - - * elf/vismain.c (do_test): Print both addresses when they don't match. - - * scripts/abilist.awk: If given -v filename_regexp and/or -v - libname_regexp when parsing names, then produce output only - for those matching the given regexps. In combine mode, save all - stanzas for a final sorting by stanza header at the end. - Emit a blank line between stanzas. - - * scripts/abilist.awk: When given -v combine=1, do parse_names and - emit a single output stream with lib name in stanza header lines. - - * scripts/abilist.awk: Emit A for all *ABS* regardless of type. - -2003-03-27 Roland McGrath - - * sysdeps/powerpc/bits/atomic.h [! __powerpc64__] - (__arch_atomic_decrement_if_positive_64): Fix bogus definition. - -2003-03-28 Kaz Kojima - - * sysdeps/sh/bits/atomic.h (__arch_compare_and_exchange_val_8_acq): - Return old value. Make asm output reg constraint earlyclobber. - Renamed from... - (__arch_compare_and_exchange_8_acq): ... this. - (__arch_compare_and_exchange_val_16_acq): - Return old value. Make asm output reg constraint earlyclobber. - Renamed from... - (__arch_compare_and_exchange_16_acq): ... this. - (__arch_compare_and_exchange_val_32_acq): - Return old value. Make asm output reg constraint earlyclobber. - Renamed from... - (__arch_compare_and_exchange_32_acq): ... this. - (__arch_compare_and_exchange_val_64_acq): - Renamed from... - (__arch_compare_and_exchange_64_acq): ... this. - (atomic_exchange_and_add): Use local variables and - __arch_compare_and_exchange_val_64_acq. - (atomic_add): Likewise. - (atomic_add_negative, atomic_add_zero): Use local variables. - -2003-03-28 Alexandre Oliva - - * sysdeps/unix/mips/sysdep.S: Include sys/asm.h. - -2003-03-27 Ulrich Drepper - - * Makefile: Remove libmd5crypt goal. - -2003-03-25 Jakub Jelinek - - * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Restore - special handling of relocations against local symbols. - -2003-03-27 Steven Munroe - - * sysdeps/powerpc/bits/atomic.h - (__arch_compare_and_exchange_bool_32_acq): Move to [!__powerpc64__]. - [__powerpc64__] (__arch_compare_and_exchange_bool_32_acq): - Define PPC64 specific version. - [__powerpc64__] (__arch_compare_and_exchange_bool_64_acq): - Change (mem) constraint to "b". - [__powerpc64__] (__arch_atomic_exchange_and add_64): - Replace addi with add. Change (value) contraint to "r". - Change (mem) constraint to "b". - [__powerpc64__] (__arch_atomic_decrement_if_positive_64): New macro. - (__arch_atomic_exchange_32): Change (mem) constraint to "b". - (__arch_atomic_exchange_and_add_32): Change (mem) constraint to "b". - (__arch_atomic_decrement_if_positive_32): New macro. - (atomic_decrement_if_positive): Use __arch* macros. - -2003-03-27 Jakub Jelinek - - * sysdeps/ia64/fpu/libm-test-ulps: Update. - -2003-03-27 Roland McGrath - - * scripts/rpm2dynsym.sh: New file. - * Makefile (distribute): Add it. - -2003-03-27 David Mosberger - - * sysdeps/unix/sysv/linux/ia64/getcontext.S: Restore caller's - ar.unat before returning. Add missing .mem.offset directives - to ensure file gets assembled without warnings. - * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise. - -2003-03-27 Jakub Jelinek - - * sysdeps/unix/sysv/linux/sysconf.c (__sysconf) <_SC_MONOTONIC_CLOCK>: - Return -1 instead of 0 if clock_getres failed. - -2003-03-27 Roland McGrath - - * scripts/abilist.awk: If variable `parse_names' is set, grok the file - header lines and write out foo.symlist files for each foo.so.NN listed. - - * libio/libioP.h (_IO_wfile_jumps): Remove attribute_hidden. - This symbol is exported, and we don't want to hide it. - Add libc_hidden_proto instead. - (_IO_file_jumps): Add libc_hidden_proto. - * libio/wfileops.c (_IO_wfile_jumps): Add libc_hidden_data_def. - Remove INTVARDEF. - * libio/fileops.c (_IO_file_jumps): Likewise. - * libio/stdfiles.c: Don't use INTUSE on them. - * libio/iofdopen.c (_IO_new_fdopen): Likewise. - * libio/iofopen.c (__fopen_internal): Likewise. - * libio/freopen.c (freopen): Likewise. - * libio/freopen64.c (freopen64): Likewise. - * libio/iovdprintf.c (_IO_vdprintf): Likewise. - - * Makerules (check-abi) [$(enable-check-abi) = warn]: - Ignore exit status from diff. - * configure.in (enable_check_abi): Document possible value "warn". - Change default to no for now. - * configure: Regenerated. - - * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Emit stub_warning - macro calls and a #include at the end. - * Makerules ($(objpfx)stubs): Tweak sed commands. - - * sysdeps/unix/sysv/linux/syscalls.list: Use - rather than EXTRA in - caller column for *xattr syscalls, since they are in sysdeps/generic. - - * sysdeps/unix/sysv/linux/i386/setfsuid.c: setfsgid -> setfsuid - * sysdeps/unix/sysv/linux/i386/setfsgid.c: setfsuid -> setfsgid - -2003-03-26 Roland McGrath - - * Makerules (check-abi-config): Use /thread instead of /tls when - use-thread and not just use-tls is set. - - * Makerules (update-abi): Put quotes around $(update-abi-config). - - * elf/Makefile (check-abi): Depend on check-abi-ld. - (update-abi): Depend on update-abi-ld. - -2003-03-26 GOTO Masanori - - * sysdeps/unix/sysv/linux/i386/setfsuid.c: Use INTERNAL_SYSCALL and - do not check for errors (unless testing for 32bit variant). - * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise. - -2003-03-27 Philip Blundell - - * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET_NOERRNO): Use - unconditional mov. Remove nop. - - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_VFORK_SYSCALL): Define for kernel 2.4 on arm. - * sysdeps/unix/sysv/linux/arm/vfork.S: Elide compatibility code - when __ASSUME_VFORK_SYSCALL is defined. - * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise for - __ASSUME_MMAP2_SYSCALL. - * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise for - __ASSUME_REALTIME_SIGNALS. - -2003-03-26 Ulrich Drepper - - * sysdeps/generic/ldsodefs.h (ELF_RTYPE_CLASS_COPY): Define to 2 - only if DL_NO_COPY_RELOCS is not defined. - * sysdeps/ia64/dl-lookupcfg.h: Define DL_NO_COPY_RELOCS. - -2003-03-26 Roland McGrath - - * sysdeps/unix/make-syscalls.sh: When an undefined syscall has - SOURCE=-, append its symbol names to make variable unix-stub-syscalls. - * sysdeps/unix/Makefile [$(subdir) = misc] [unix-stub-syscalls] - (sysdep_routines): Add stub-syscalls. - ($(objpfx)stub-syscalls.c): New target. - (generated): Add stub-syscalls.c. - - * tls.make.c: Also define use-tls according to USE_TLS macro. - -2003-03-26 Ulrich Drepper - - * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (struct siginfo): Avoid - no-op padding element. - * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise. - -2003-03-26 GOTO Masanori - - * sysdeps/unix/sysv/linux/i386/getgroups.c: Fix the error - condition check for the return value of getgroups32. - -2003-03-26 Jakub Jelinek - - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PSEUDO_NOERRNO): - Fix a typo. - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (PSEUDO_NOERRNO, - PSEUDO_END_NOERRNO): Define. - * sysdeps/unix/sysdep.h (PSEUDO_END_NOERRNO): Fix a typo. - Define to PSEUDO_END. - -2003-03-26 Ulrich Drepper - - * abilist/librt.abilist: Add new timer interfaces for 64-bit archs. - -2003-03-25 Jiro SEKIBA - - * iconvdata/euc-tw.c (from_euc_tw): Fix return value of TO_LOOP. - * iconvdata/bug-iconv4.c: New file. - * iconvdata/Makefile (tests): Add bug-iconv4. - -2003-03-25 H.J. Lu - - * elf/dl-lookup.c (_dl_lookup_symbol): Avoid looking up protected - symbols twice. - (_dl_lookup_versioned_symbol): Likewise. - -2003-03-26 Jakub Jelinek - - * csu/tst-atomic.c (do_test): Add some new - atomic_compare_and_exchange_val_acq, atomic_add_zero, - atomic_compare_and_exchange_bool_acq and atomic_add_negative tests. - * include/atomic.h (atomic_add_negative, atomic_add_zero): - Prefix local variable so that it doesn't clash with the one - in atomic_exchange_and_add. - * sysdeps/ia64/bits/atomic.h (atomic_exchange): Fix for long/void * - pointers. - (atomic_exchange_and_add): Implement using __sync_fetch_and_add_?i. - * sysdeps/powerpc/bits/atomic.h (atomic_exchange_and_add): Force - value into register. - * sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_64_acq): - Cast newval to long. - * sysdeps/x86_64/bits/atomic.h - (__arch_compare_and_exchange_val_64_acq): Cast newval and oldval to - long. - (atomic_exchange): Cast newvalue to long if sizeof == 8. - (atomic_exchange_and_add): Cast value to long if sizeof == 8. - (atomic_add, atomic_add_negative, atomic_add_zero): Likewise. - (atomic_bit_set): Shift 1L up in all cases to shut up warnings. - -2003-03-21 Martin Schwidefsky - - * sysdeps/s390/s390-32/backtrace.c (__backtrace): Remove high order - bit from backtrace addresses. - -2003-03-21 Andreas Schwab - - * sysdeps/unix/sysv/linux/i386/chown.c: Don't define any versioned - __chown symbols. - -2003-03-25 Roland McGrath - - * config.make.in (enable-check-abi): New variable from configure. - * configure.in (enable_check_abi): New substituted variable, - controlled by --{enable,disable}-check-abi (default yes). - * configure: Regenerated. - * Makerules [$(enable-check-abi) = yes] (tests): Put this condition - on check-abi dependency. - -2003-03-26 Andreas Schwab - - * sysdeps/m68k/m68020/bits/atomic.h: Fix typos. - * include/atomic.h: Likewise. - - * sysdeps/unix/sysv/linux/m68k/sysdep.h: Define ret_NOERRNO. - -2003-03-25 Roland McGrath - - * sysdeps/powerpc/bits/atomic.h (__arch_atomic_exchange_32): New macro. - (__arch_atomic_exchange_64): New macro. - (atomic_exchange): Use them. - (__arch_atomic_exchange_and_add_32): New macro. - (__arch_atomic_exchange_and_add_64): New macro. - (atomic_exchange_and_add): Use them. - Original patch from Steven Munroe . - -2003-03-25 Alexandre Oliva - - * sysdeps/mips/sgidefs.h (_MIPS_ISA_MIPS32, _MIPS_ISA_MIPS64): - Define. - * sysdeps/mips/sys/asm.h: Test _MIPS_ISA against them on all - ISA tests. - (ALSZ, ALMASK, SZREG, REG_S, REG_L): Define based on ABI, not ISA. - (PTR_ADD, etc): Test _MIPS_SZPTR instead of _MIPS_SZLONG. - * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR - to decide whether to add padding. - * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR - to decide whether to add padding. - * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h (struct - old_kernel_sigaction): Likewise. - -2003-03-25 Ulrich Drepper - - * csu/tst-atomic.c: Adjust tests to what atomic_add_negative and - atomic_add_zero were supposed to do. - * include/atomic.h: Adjust atomic_add_negative and atomic_add_zero - to x86 behavior. - - * sysdeps/generic/bits/typesizes.h (__TIMER_T_TYPE): Define as void*. - This matches the new timer implementation. - * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__TIMER_T_TYPE): - Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__TIMER_T_TYPE): - Likewise. - * sysdeps/unix/sysv/linux/bits/siginfo.h (struct siginfo): Adjust - timer info for what the kernel provides these days. - (struct sigevent): Add _tid field. - Define SIGEV_THREAD_ID. - Remove struct __pthread_attr_s forward declaration. - * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise. - - * Versions.def (librt): Add GLIBC_2.3.3. - - * abilist/libpthread.abilist: Update for nptl. - -2003-03-24 Jon Grimm - - * inet/netinet/in.h: Add IPPROTO_SCTP. - -2003-03-24 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLET): Define. - -2003-03-24 Philip Blundell - - * sysdeps/unix/sysv/linux/arm/sysdep.h (INTERNAL_SYSCALL): - Remove a1 from clobber list. - -2003-03-24 Ulrich Drepper - - * timezone/antarctica: Update from tzdata2003a. - * timezone/asia: Likewise. - * timezone/australasia: Likewise. - * timezone/europe: Likewise. - * timezone/iso3166.tab: Likewise. - * timezone/northamerica: Likewise. - * timezone/southamerica: Likewise. - * timezone/zone.tab: Likewise. - -2003-03-24 Steven Munroe - - * sysdeps/powerpc/powerpc64/sysdep.h (PSEUDO_END_NOERRNO): Fix typo. - -2003-03-23 Ulrich Drepper - - * sysdeps/unix/sysv/linux/ia64/sysdep.h (ret_NOERRNO): Avoid - unwanted expansion by definining to ret. Patch by Ian Wienand. - - * sysdeps/unix/make-syscalls.sh: Recognize 'E' in first position of - the parameter description to denote no error checking. Generate - appropriate pseudo asm code. - * sysdeps/unix/syscalls.list: Mark getgid, getpid, getuid with 'E'. - * sysdeps/unix/sysv/linux/syscalls.list: Mark getegid, geteuid, - getpgrp, and getppid with 'E'. - * sysdeps/powerpc/powerpc32/sysdep.h: Define PSEUDO_NOERRNO, - PSEUDO_END_NOERRNO, and ret_NOERRNO. - * sysdeps/powerpc/powerpc64/sysdep.h: Likewise. - * sysdeps/unix/sysdep.h: Likewise. - * sysdeps/unix/alpha/sysdep.h: Likewise. - * sysdeps/unix/sparc/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/cris/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. - -2003-03-23 Roland McGrath - - * Makeconfig (+includes): Don't use $(last-includes). - -2003-03-22 Alexandre Oliva - - * sysdeps/unix/sysv/linux/configure.in: Update mips64 patterns. - * sysdeps/unix/sysv/linux/configure: Rebuilt. - -2003-03-23 Jakub Jelinek - - * sysdeps/alpha/fpu/libm-test-ulps: Update. - * sysdeps/arm/libm-test-ulps: Update. - * sysdeps/hppa/fpu/libm-test-ulps: Update. - * sysdeps/ia64/fpu/libm-test-ulps: Update. - * sysdeps/mips/fpu/libm-test-ulps: Update. - * sysdeps/powerpc/nofpu/libm-test-ulps: Update. - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update. - * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update. - * sysdeps/sh/sh4/fpu/libm-test-ulps: Update. - * sysdeps/s390/fpu/libm-test-ulps: Update. - * sysdeps/x86_64/fpu/libm-test-ulps: Update. - -2003-03-22 Roland McGrath - - * include/atomic.h: Put parens around all macro arguments. - (__atomic_val_bysize, __atomic_bool_bysize): New macros. - (atomic_compare_and_exchange_val_acq): Use it. - (atomic_compare_and_exchange_bool_acq): Likewise. - (atomic_increment_and_test): Invert sense of test. - (atomic_decrement_and_test): Likewise. - * csu/tst-atomic.c: Update those tests to match. - -2003-03-22 Jakub Jelinek - - * include/atomic.h (atomic_compare_and_exchange_val_acq): Add comment. - Don't define if __arch_compare_and_exchange_val_32_acq is not defined. - (atomic_compare_and_exchange_bool_acq): Add comment. Don't use - __oldval variable in the macro, since it might be macro argument. - (atomic_decrement_if_positive): Initialize __memp, remove setting - of non-existent variable. - (atomic_bit_test_set): Cast 1 to __typeof (*mem) before shifting. - * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Implement - using atomic_compare_and_exchange_val_acq. - (atomic_decrement_if_positive, atomic_bit_test_set): Define. - * sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_8_acq): - Renamed from... - (__arch_compare_and_exchange_bool_8_acq): ... this. - (__arch_compare_and_exchange_val_16_acq): Renamed from... - (__arch_compare_and_exchange_bool_16_acq): ... this. - (__arch_compare_and_exchange_val_32_acq): Return old value. Renamed - from... - (__arch_compare_and_exchange_bool_32_acq): ... this. - (__arch_compare_and_exchange_val_64_acq): Return old value. Renamed - from... - (__arch_compare_and_exchange_bool_64_acq): ... this. - (__arch_compare_and_exchange_val_32_acq): Use __typeof for local - variables types instead of assuming int. - Change prefix of local variables to __arch. - * sysdeps/generic/bits/atomic.h (arch_compare_and_exchange_acq): - Remove. - (atomic_compare_and_exchange_val_acq, - atomic_compare_and_exchange_bool_acq): Define. - - * csu/tst-atomic.c: New test. - * csu/tst-atomic-long.c: New test. - * csu/Makefile (tests): Add tst-atomic and tst-atomic-long. - - * malloc/memusagestat.c (main): Kill warning if uint64_t is ulong. - - * sysdeps/s390/Versions: Add trailing newline. - - * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Kill warning - if INTERNAL_SYSCALL_ERROR_P doesn't use its first argument. - -2003-03-22 Andreas Schwab - - * sysdeps/m68k/fpu/libm-test-ulps: Update. - - * sysdeps/m68k/m68020/bits/atomic.h: New file. - * sysdeps/m68k/m68020/atomicity.h: Removed. - -2003-03-22 Alexandre Oliva - - * sysdeps/mips/elf/ldsodefs.h: Add mips-specific elf64 relocation - data structures and macros. Protect from multiple inclusion. - - * sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_MASK): Fix harmless - typo in #if test. - -2003-03-21 Andreas Jaeger - - * sysdeps/i386/fpu/libm-test-ulps: Update. - - * math/libm-test.inc (tgamma_test): Recompute some constants with - 36 digits precision. - (lgamma_test): Likewise. - (ccos_test): Likewise. - (ccosh_test): Likewise. - (clog10_test): Likewise. - (csin_test): Likewise. - (csinh_test): Likewise. - (ctan_test): Likewise. - (ctanh_test): Likewise. - -2003-03-19 Jakub Jelinek - - * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Regenerated. - -2003-03-21 Roland McGrath - - * sysdeps/i386/i486/bits/atomic.h (atomic_bit_set): Use "ir" - constraint to permit non-constant BIT argument. - (atomic_bit_test_set): Likewise. - * sysdeps/x86_64/bits/atomic.h (atomic_bit_test_set): Likewise. - (atomic_bit_set): Likewise. Use 1UL in case that BIT might be >= 32. - For quadword case, use "i" constraint if __builtin_constant_p and < 32 - or "r" constraint otherwise. - - * configure.in: Move AC_PROG_CC and other program-finding before all - the version checks. - * configure: Regenerated. - -2003-03-21 Alexandre Oliva - - * sysdeps/mips/mips64/memcpy.S: Fix porting bug that broke - unaligned copying of 8-15 bytes. From Chris Demetriou - . Fix label names. - * sysdeps/mips/mips64/memset.S: Fix label names. Make similar - change as to memcpy.S. - * sysdeps/mips/memcpy.S: Formatting changes. - * sysdeps/mips/memset.S: Likewise. - -2003-03-21 Roland McGrath - - * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add trailing semicolon. - -2003-03-21 Alexandre Oliva - - * sysdeps/mips/mips64/memcpy.S, sysdeps/mips/mips64/memset.S: New. - * sysdeps/mips/memcpy.S, sysdeps/mips/memset.S: Update comments. - -2003-03-21 Roland McGrath - - * sysdeps/i386/i486/bits/atomic.h - (__arch_compare_and_exchange_val_64_acq): Rewrite abort-calling - version of the macro to avoid compile-time warnings. - [! __PIC__] (__arch_compare_and_exchange_64_acq): Rename to above. - (atomic_exchange_and_add, atomic_add): Fix name and usage of it. - (atomic_increment, atomic_decrement): Likewise. - -2003-03-21 Ulrich Drepper - - * sysdeps/x86_64/bits/atomic.h: Don't use matching memory constraints. - * sysdeps/i386/i486/bits/atomic.h: Likewise. - -2003-03-21 Roland McGrath - - * include/atomic.h (atomic_compare_and_exchange_bool_acq): Typo fix. - -2003-03-20 Ulrich Drepper - - * include/atomic.h: Define atomic_compare_and_exchange_val_acq, - atomic_compare_and_exchange_val_rel, - atomic_compare_and_exchange_bool_acq, and - atomic_compare_and_exchange_bool_rel instead of - atomic_compare_and_exchange_acq and atomic_compare_and_exchange_rel. - * sysdeps/i386/i486/bits/atomic.h: Define - __arch_compare_and_exchange_val_*_acq instead of - __arch_compare_and_exchange_*_acq. - * sysdeps/x86_64/bits/atomic.h: Likewise. - * sysdeps/ia64/bits/atomic.h: Define - __arch_compare_and_exchange_bool_*_acq instead of - __arch_compare_and_exchange_*_acq. - * sysdeps/powerpc/bits/atomic.h: Likewise. - * sysdeps/s390/bits/atomic.h: Likewise. - * gmon/mcount.c: Adjust for new form of compare&exchange macros. - * malloc/set-freeres.c: Likewise. - * nscd/cache.c: Likewise. - * stdlib/cxa_finalize.c: Likewise. - * sysdeps/unix/sysv/linux/getsysstats.c: Likewise. - -2003-03-20 Alexandre Oliva - - * sysdeps/mips/bits/setjmp.h: n32 has only 6 call-saved fpregs. - * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Adjust. - * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise. - - * sysdeps/unix/sysv/linux/mips/pread.c: Don't break up offset - into high and low halves on n64. - * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. - -2003-03-20 Ulrich Drepper - - * include/atomic.h (atomic_decrement_if_positive): Adjust for the - correct atomic_compare_and_exchange_acq semantics. - -2003-03-20 Alexandre Oliva - - * sysdeps/mips/ieee754.h: Remove excess #endif. - -2003-03-20 Roland McGrath - - * sysdeps/powerpc/bits/atomic.h (atomic_exchange): Remove unused - variable. Remove superfluous memory clobber. - - * include/atomic.h: Syntax braino fix. - - * posix/tst-nice.c (do_test): Use %m formats instead of printing errno - in decimal. Don't bail if niced at start. Just check that nice call - bumps the total at all. - -2003-03-20 Alexandre Oliva - - * sysdeps/mips/bits/setjmp.h: Store all N32 and N64 registers, - including pc, gp, sp and fp, as long long. - * sysdeps/mips/mips64/setjmp.S: Pass gp to __sigsetjmp_aux. - * sysdeps/mips/mips64/setjmp_aux.c: Adjust type of arguments. - Add gp argument, and set gp in the jmpbuf to it. - * sysdeps/mips/setjmp_aux.c: Revert to o32-only. - -2003-03-20 Ulrich Drepper - - * include/atomic.h: Define atomic_exchange and - atomic_decrement_if_positive if not already defined. Add some - __builtin_expect. - * sysdeps/i386/i486/bits/atomic.h: Define atomic_exchange. - * sysdeps/x86_64/bits/atomic.h: Likewise. - * sysdeps/ia64/bits/atomic.h: Pretty printing. Define atomic_exchange. - * sysdeps/powerpc/bits/atomic.h: Pretty printing. Define - atomic_exchange, atomic_exchange_and_add, and - atomic_decrement_if_positive - -2003-03-20 Alexandre Oliva - - * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: Sign-extend - with a single instruction. - - * sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_MASK): Define - properly for n64. - (elf_machine_runtime_setup): Cast link_map pointer to Elf Addr - type. - (elf_machine_rel, elf_machine_rel_relative): Cast symidx to Elf - Word before comparing with gotsym. Take reloc_addr argument as - void*. Remove the code added for the compiler to drop any - alignment assumptions. - -2003-03-19 Ulrich Drepper - - * Makefile (distribute): Add include/atomic.h and bits/atomic.h. - * include/atomic.h: New file. - * sysdeps/i386/i486/bits/atomic.h: New file. - * sysdeps/x86_64/bits/atomic.h: New file. - * sysdeps/s390/bits/atomic.h: New file. - * sysdeps/sh/bits/atomic.h: New file. - * sysdeps/ia64/bits/atomic.h: New file. - * sysdeps/powerpc/bits/atomic.h: New file. - * sysdeps/generic/bits/atomic.h: New file. - * sysdeps/i386/i486/atomicity.h: Removed. - * sysdeps/x86_64/atomicity.h: Removed. - * sysdeps/s390/s390-32/atomicity.h: Removed. - * sysdeps/s390/s390-64/atomicity.h: Removed. - * sysdeps/ia64/atomicity.h: Removed. - * sysdeps/powerpc/powerpc32/atomicity.h: Removed. - * sysdeps/powerpc/powerpc64/atomicity.h: Removed. - * elf/dl-profile.c: Use atomic.h instead of atomicity.h. Adjust - use of macros from atomicity.h to new names and semantics. - * gmon_mcount.c: Likewise. - * malloc/set-freeres.c: Likewise. - * nscd/cache.c: Likewise. - * stdlib/cxa_finalize.c: Likewise. - * sysdeps/unix/sysv/linux/getsysstats.c: Likewise. - -2003-03-19 Alexandre Oliva - - * sysdeps/mips/ieee754.h: New file, suitable to replace both - ../ieee754/ieee754.h and ../ieee754/ldbl-128/ieee754.h, kept - mips-specific for now. - -2003-03-19 Ulrich Drepper - - * stdlib/strtod.c (INTERNAL): While eating trailing zeros handle - hexdigits correctly. Reported by Fred Tydeman . - * stdlib/tst-strtod.c: Add test for the bug. - - * posix/tst-nice.c (do_test): Remove invalid of return value. - Don't run test if initial level != 0. - -2003-03-19 Amos Waterland - - * posix/tst-nice.c: New file. - * posix/Makefile (tests): Add tst-nice. - -2003-03-18 Roland McGrath - - * abilist: New directory of libfoo.abilist files maintained using - scripts/merge-abilist.awk and "make update-abi" rules. - * Makefile (distribute): Add abilist/*.abilist. - * Makerules [$(build-shared) = yes] [$(subdir)] (tests): - Depend on check-abi. - - * configure.in: Move $critic_missing check after all AC_CHECK_PROG_VER. - * configure: Regenerated. - - * sysdeps/unix/sysv/linux/syscalls.list (posix_fadvise64): Fix name. - -2003-03-18 Ulrich Drepper - - * sysdeps/posix/sysconf.c (__sysconf): Handle _SC_MONOTONIC_CLOCK - correctly. - -2003-03-18 Steven Munroe - - * sysdeps/powerpc/powerpc64/memcpy.S: New file. - -2003-03-18 Ulrich Drepper - - * Versions.def: Add GLIBC_2.3.3 for libpthread. - -2003-03-17 Ulrich Drepper - - * sysdeps/generic/libc-start.c [!SHARED && - !LIBC_START_MAIN_AUXVEC_ARG]: Compute beginning of auxvec correctly. - -2003-03-17 Roland McGrath - - * include/ctype.h: Revert last change. - -2003-03-17 Ulrich Drepper - - * argp/tst-argp1.c: Use test-skeleton.c. - * locale/tst-C-locale.c: Likewise. - -2003-03-17 Alexandre Oliva - - * sysdeps/mips/mips64/Implies: Move wordsize-64 to... - * sysdeps/mips/mips64/n64/Implies: New file. - * sysdeps/mips/mips64/n64/Makefile: New file. - * sysdeps/mips/mips64/n64/el/bits/endian.h: New file. - * sysdeps/mips/mips64/n32/Implies: New file. - * sysdeps/mips/mips64/n32/Makefile: New file. - * sysdeps/mips/mips64/n32/el/bits/endian.h: New file. - * sysdeps/unix/mips/mips64/n32/sysdep.h: New file. - * sysdeps/unix/mips/mips64/n64/sysdep.h: New file. - * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: New file. - * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: New file. - * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: New file. - * sysdeps/unix/sysv/linux/mips/mips64/ldconfig.h: New file. - * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: New file. - * sysdeps/unix/sysv/linux/mips/mips64/recv.c: New file. - * sysdeps/unix/sysv/linux/mips/mips64/send.c: New file. - * sysdeps/unix/sysv/linux/mips/mips64/syscall.S: New file. - * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: New file. - * sysdeps/unix/sysv/linux/mips/mips64/umount.c: New file. - * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: New file. - - * sysdeps/unix/sysv/linux/configure.in (libc_cv_slibdir): Use - lib64 for mips64/n64 and lib32 for mips64/n32. - (ldd_rewrite_script): Needed for all mips64 configurations. - * sysdeps/unix/sysv/linux/configure: Rebuilt. - * sysdeps/unix/sysv/linux/mips/mips64/ldd-rewrite.sed: New file. - * sysdeps/unix/sysv/linux/mips/mips64/Dist: New file. - - * sysdeps/mips/machine-gmon.h (MCOUNT): Define for N32 and N64 as - well. - - * sysdeps/unix/sysv/linux/mips/configure.in: New. Pre-process - asm/unistd.h into asm-unistd.h. - * sysdeps/unix/sysv/linux/mips/configure: Generated. - * sysdeps/unix/sysv/linux/mips/Makefile: Do custom processing - of syscall list. - * sysdeps/unix/sysv/linux/mips/sys/syscall.h: New file. - * sysdeps/unix/sysv/linux/mips/clone.S: Don't include - asm/unistd.h. - - * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: New file. - * sysdeps/unix/sysv/linux/mips/ptrace.c: New file. Use long - long type for registers on n32. - - * sysdeps/mips/bits/wordsize.h: New file, appropriate for all - 3 ABIs. - * sysdeps/mips/mips64/gmp-mparam.h: New file. Define - BITS_PER_LONGINT to __WORDSIZE, to match all 3 ABIs. - * sysdeps/mips/setjmp_aux.c (STRINGXP, REGS, PTRS): New macros. - (__sigsetjmp_aux): Use them. Adjust for all 3 ABIs. - * sysdeps/mips/elf/start.S: Adjust for all 3 ABIs. - * sysdeps/unix/mips/brk.S: Likewise. - * sysdeps/unix/mips/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/mips/clone.S: Likewise. - * sysdeps/mips/bits/setjmp.h (__jmp_buf): Likewise. - * sysdeps/mips/sys/ucontext.h: Likewise. - * sysdeps/unix/sysv/linux/mips/sys/profcs.h: Likewise. - * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise. - * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise. - * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise. - * sysdeps/mips/mips64/bsd-setjmp.S: Likewise. - * sysdeps/mips/mips64/setjmp.S: Likewise. - * sysdeps/mips/mips64/bits/setjmp.h: Deleted, obsolete. - * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Use long long for - 64-bit types. - -2003-03-16 Ulrich Drepper - - * sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Define tv here, - not at function level. - * sysdeps/unix/clock_gettime.c (HANDLE_REALTIME): Likewise. - -2003-03-15 Roland McGrath - - * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r): int -> size_t - * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise. - * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Likewise. - * nis/nis_table.c (__create_ib_request): Likewise. - - * posix/fnmatch_loop.c: Add casts for signedness. - * nss/nss_files/files-hosts.c: Likewise. - * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise. - * gmon/gmon.c (write_call_graph): Use u_long for FROM_LEN. - * nscd/nscd_getgr_r.c (nscd_getgr_r): Use nscd_ssize_t for CNT. - - * configure.in (libc_cv_visibility_attribute): Use AC_TRY_COMMAND, - get errors into the log file. - (libc_cv_broken_visibility_attribute): Likewise. - (libc_cv_broken_alias_attribute): Likewise. - (libc_cv_asm_weak_directive): Likewise. - (libc_cv_need_minus_P): Likewise. - (libc_cv_dot_text): Likewise. - (libc_cv_asm_global_directive): Likewise. - (libc_cv_asm_type_prefix): Likewise. - * configure: Regenerated. - - * nscd/cache.c (cache_search): Give first arg type `request_type'. - * nscd/nscd.h: Update decl. - - * nscd/nscd_getpw_r.c (nscd_getpw_r): Add casts for signedness. - * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. - * elf/dl-close.c (_dl_close): Likewise. - * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown): int -> size_t - * io/fts.c (fts_build): Likewise. - * elf/cache.c (add_to_cache): Likewise. - * locale/programs/locarchive.c (show_archive_content): Likewise. - - * posix/fnmatch.c (fnmatch): Tweak __builtin_expect use. - - * include/ctype.h (__ctype_b_loc): Tweak type punning to make gcc 3.3 - happy. - (__ctype_toupper_loc, __ctype_tolower_loc): Likewise. - -2003-03-15 Ulrich Drepper - - * sysdeps/unix/sysv/linux/ia64/system.c: Use the generic Linux - code for most parts. - -2003-03-15 Roland McGrath - - * sysdeps/unix/sysv/linux/i386/system.c: Moved to ... - * sysdeps/unix/sysv/linux/system.c: ... here. - (FORK): Don't #define if already #define'd. - * sysdeps/unix/sysv/linux/s390/system.c: File removed. - * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]: - (__ASSUME_CLONE_THREAD_FLAGS): Define for kernel >= 2.5.64. - - * dlfcn/tst-dlinfo.c: New file. - * dlfcn/Makefile (tests): Add tst-dlinfo. - ($(objpfx)tst-dlinfo): New target. - - * dlfcn/dlinfo.c: New file. - * dlfcn/Makefile (libdl-routines): Add it. - * dlfcn/Versions (libdl: GLIBC_2.3.3): Add dlinfo. - * dlfcn/dlfcn.h [__USE_GNU]: Declare dlinfo. - [__USE_GNU] (RTLD_DI_*): New enum constants. - [__USE_GNU] (Dl_serpath, Dl_serinfo): New types. - * elf/dl-load.c (cache_rpath): New inline function. - (_dl_map_object): Use it. - (_dl_rtld_di_serinfo): New function. - * sysdeps/generic/ldsodefs.h: Declare it. - * elf/Versions (ld: GLIBC_PRIVATE): Add it. - - * sysdeps/powerpc/elf/libc-start.c (AUX_VECTOR_INIT): Define it. - (LIBC_START_MAIN, LIBC_START_MAIN_AUXVEC_ARG, MAIN_AUXVEC_ARG) - (INIT_MAIN_ARGS): Define, and #include . - (__libc_start_main): Just call the generic one for most of the work. - - * sysdeps/generic/libc-start.c [LIBC_START_MAIN]: If defined, define a - static function by that name instead of BP_SYM (__libc_start_main). - [LIBC_START_MAIN_AUXVEC_ARG]: Take AUXVEC as argument. - [MAIN_AUXVEC_ARG]: Pass 4th argument to MAIN. - [INIT_MAIN_ARGS]: Give INIT the same args as MAIN. - - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [DL_PLATFORM_AUXV]: - Use this macro for extra AT_* cases. - * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_PLATFORM_AUXV): - New macro, guts from ... - (__aux_init_cache): ... here, function removed. - (DL_PLATFORM_INIT): Don't define this. - - * sysdeps/powerpc/powerpc32/memset.S: Put __cache_line_size in bss. - * sysdeps/powerpc/powerpc64/memset.S: Likewise. - - * Versions.def (libthread_db): Add GLIBC_2.3.3 set. - -2003-03-14 Roland McGrath - - * dlfcn/dlerror.c (dlerror): If objname is "", don't put ": " after it. - -2003-03-14 Jakub Jelinek - - * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Fix a typo. - - * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Include - sysdeps/posix/pause.c instead of sysdeps/unix/common/pause.c. - -2003-03-14 Alexandre Oliva - - * sysdeps/mips/fpu/bits/mathdef.h: New. - (__NO_LONG_DOUBLE_MATH): Define for o32. - - * sysdeps/mips/sys/asm.h: Formatting changes. - (PTR, PTRSIZE, PTRLOG): Adjust for all 3 ABIs. - (CPADD): Define for all of them. - (SETUP_GP, SETUP_GPX, SETUP_GPX_L, SAVE_GP, SETUP_GP64, - SETUP_GPX64, SETUP_GPX64_L, RESTORE_GP64, USE_ALT_CP, - NARGSAVE): Define per ABI spec. - (END): Don't redefine. - (LONG_SLL, LONG_SLLV, LONG_SRL, LONG_SRLV, LONG_SRA, - LONG_SRAV): Remove duplicate definitions. - (PTR_ADD, PTR_ADDI, PTR_ADDU, PTR_ADDIU, PTR_SUB, PTR_SUBI, - PTR_SUBU, PTR_SUBIU, PTR_L, PTR_S, PTR_SLL, PTR_SLLV, PTR_SRL, - PTR_SRLV, PTR_SRA, PTR_SRAV, PTR_SCALESHIFT): Define for n32. - (PTR_LA): Define for all 3 ABIs. - - * sysdeps/mips/dl-machine.h: Include sys/asm.h. - (elf_machine_matches_host): Prevent linking of o32 and n32 - together. - (elf_machine_dynamic): Document assumption on $gp. - (STRINGXP, STRINGXV, STRINGV_): New macros. - (elf_machine_load_address): Use them to stringize PTR_LA and - PTR_SUBU. - (ELF_DL_FRAME_SIZE, ELF_DL_SAVE_ARG_REGS, - ELF_DL_RESTORE_ARG_REGS, IFABIO32): New macros used in... - (_dl_runtime_resolve): Adjust it for all 3 ABIs. - (__dl_runtime_resolve): Cast the symtab initializer to the - right type. - (RTLD_START): Use it. Adjust it for all 3 ABIs. - (elf_machine_rel): Mark as always_inline in RTLD_BOOTSTRAP. - Handle 64-bit R_MIPS_REL composite relocation and accept - R_MIPS_64 relocations to shift addend size to 64 bits. - Document assumption regarding local GOT entries. Document - backward-compatibility departing from the ABI behavior in - applying relocations that reference section symbols, no longer - used. Support relocations to mis-aligned offsets. - * sysdeps/mips/mips64/dl-machine.h: Deleted, obsolete. - - * sysdeps/unix/sysv/linux/mips/readelflib.c: New file. - - * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h - (_KERNEL_NSIG_BPW): Define in terms of _MIPS_SZLONG. - * sysdeps/unix/sysv/linux/mips/sigaction.c: Define restore and - restore_rt functions. Use them. - - * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't - .set mips2 on new abis. - -2003-03-13 Ulrich Drepper - - * posix/getconf.c: Recognize POSIX2_SYMLINKS. - * sysdeps/generic/bits/confname.h: Define _PC_2_SYMLINKS. - * sysdeps/posix/fpathconf.c: Handle _PC_2_SYMLINKS. - * sysdeps/posix/pathconf.c: Likewise. - * sysdeps/unix/sysv/linux/fpathconf.c: Likewise. - * sysdeps/unix/sysv/linux/pathconf.c: Likewise. - * sysdeps/unix/sysv/linux/pathconf.h: Define statfs_symlinks. - - * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define some more magic - words. - -2003-03-14 Alexandre Oliva - - * include/gmp.h: Include/gmp-mparam.h. - * stdlib/strtod.c: Include gmp-mparam.h before gmp.h and - gmp-impl.h. - - * elf/dl-conflict.c: Don't compile _dl_resolve_conflicts if - ELF_MACHINE_NO_RELA is set. - * elf/rtld.c (dl_main): No prelink support for REL-only. - - * sysdeps/generic/ldconfig.h (FLAG_MIPS64_LIBN32, - FLAG_MIPS64_LIBN64): Define. - * elf/cache.c (print_entry): Handle mips64 n32 and n64. - - * sysdeps/mips/memcpy.S: Map t0-3 to a4-7 on new abis. - * sysdeps/mips/memset.S: Likewise. - * sysdeps/mips/sys/regdef.h: Alias a4-7 or t0-3 to $8-11 - depending on the ABI. - - * sysdeps/mips/atomicity.h (exchange_and_add, atomic_add): - Don't .set mips2 on new abi. - (compare_and_swap): Likewise. Support 64-bit longs on n64. - - * stdlib/fpioconst.h: Include gmp.h with angle brackets. - -2003-03-13 Roland McGrath - - * elf/dl-load.c (_dl_map_object_from_fd): Bail if no PT_LOAD phdrs - found. Reported by Alexandre Oliva . - -2003-03-13 Alexandre Oliva - - * stdio-common/_itoa.c (_itoa_base_table): Make 64-bit - literals long long. - * stdlib/fpioconst.c: Likewise. - * stdlib/strtod.c: Likewise. - - * sysdeps/mips/add_n.S: Use L macro for local labels. - * sysdeps/mips/addmul_1.S: Likewise. - * sysdeps/mips/lshift.S: Likewise. - * sysdeps/mips/memcpy.S: Likewise. - * sysdeps/mips/memset.S: Likewise. - * sysdeps/mips/mul_1.S: Likewise. - * sysdeps/mips/rshift.S: Likewise. - * sysdeps/mips/sub_n.S: Likewise. - * sysdeps/mips/submul_1.S: Likewise. - * sysdeps/mips/mips64/add_n.S: Likewise. - * sysdeps/mips/mips64/addmul_1.S: Likewise. - * sysdeps/mips/mips64/lshift.S: Likewise. - * sysdeps/mips/mips64/mul_1.S: Likewise. - * sysdeps/mips/mips64/rshift.S: Likewise. - * sysdeps/mips/mips64/sub_n.S: Likewise. - * sysdeps/mips/mips64/submul_1.S: Likewise. - * sysdeps/unix/mips/sysdep.h: Define L() according to ABI - conventions. Define END as in sys/asm.h. - * sysdeps/unix/mips/sysdep.S: Likewise. - * sysdeps/unix/mips/wait.S: Likewise. - * sysdeps/unix/sysv/linux/mips/clone.S: Likewise. - - * sysdeps/ieee754/dbl-64/dbl2mpn.c (__mpn_extract_double): - Cast shifted values that may be too narrow to mp_limb_t. - * sysdeps/ieee754/dbl-64/mpn2dbl.c (__mpn_construct_double): - Likewise. - * sysdeps/ieee754/flt-32/mpn2flt.c (__mpn_construct_float): - Likewise. - * sysdeps/ieee754/ldbl-128/ldbl2mpn.c - (__mpn_extract_long_double): Likewise. - * sysdeps/ieee754/ldbl-128/mpn2ldbl.c - (__mpn_construct_long_double): Likewise. - * sysdeps/ieee754/ldbl-96/ldbl2mpn.c - (__mpn_extract_long_double): Likewise. - * sysdeps/ieee754/ldbl-96/mpn2ldbl.c - (__mpn_construct_long_double): Likewise. - -2003-03-13 Roland McGrath - - * elf/Makefile ($(objpfx)librtld.mk): Tweak regexp so that one-line - entries in the map file match too. - -2003-03-13 Guido Guenther - - * sysdeps/unix/sysv/linux/mips/clone.S: introduce and use local - label .Lthread_start since current binutils don't allow branches - to globally visible symbols. - -2003-03-13 Jakub Jelinek - - * sysdeps/unix/sysv/linux/ia64/sysdep.h (BREAK_INSN_1, BREAK_INSN, - ASM_OUTARGS_0, ASM_OUTARGS_1, ASM_OUTARGS_2, ASM_OUTARGS_3, - ASM_OUTARGS_4, ASM_OUTARGS_5, ASM_OUTARGS_6): Define. - (INTERNAL_SYSCALL, INLINE_SYSCALL): Use it. Make syscall arguments - clobbered by the syscall. - (ASM_ARGS_1, ASM_ARGS_2, ASM_ARGS_3, ASM_ARGS_4, ASM_ARGS_5, - ASM_ARGS_6): Change constraints from r to index of corresponding - output register. - * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Swap - ptid and ctid to match kernel. - * sysdeps/unix/sysv/linux/ia64/system.c (FORK): Likewise. - -2003-03-12 Steven Munroe - - * sysdeps/powerpc/powerpc64/elf/configure.in: Remove - AC_DEFINE(PI_STATIC_AND_HIDDEN). Not supported for PowerPC64. - * sysdeps/powerpc/powerpc64/elf/configure: Regenerated. - -2003-03-11 Roland McGrath - - * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): - Check SYM_MAP rather than SYM as definedness check. - Handle R_PPC64_ADDR32, R_PPC64_ADDR30, and R_PPC64_REL64 relocs. - Don't handle R_PPC64_REL24 reloc. - Mostly from Steven Munroe . - - * sysdeps/powerpc/powerpc64/dl-machine.h - [USE_TLS] (elf_machine_type_class): Match all the TLS relocs in a - block, so we cover all the TPREL16* flavors without 6 ||s. - [USE_TLS] (elf_machine_tprel): New function. - (elf_machine_rela) [USE_TLS]: Use elf_machine_tprel for TPREL64 reloc, - and handle TPREL16 relocs too. Return rather than break for DTPREL64. - Mostly from Steven Munroe . - -2003-03-11 Ralf Baechle - - * sysdeps/unix/sysv/linux/mips/clone.S (__thread_start): Use jal - instead of jalr to invoke subroutine so restoring the $gp register - will work properly. - -2003-03-11 Martin Schwidefsky - - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (__NR_pread64): Define - to __NR_pread if not defined. - (__NR_pwrite64): Define to __NR_pwrite if not defined. - -2003-03-11 Jakub Jelinek - - * sysdeps/unix/sysv/linux/ia64/system.c: New file. - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_CLONE_THREAD_FLAGS): Define for IA-64 and s390* with - kernel >= 2.5.64. - -2003-03-11 Jakub Jelinek - - * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): If CNT == 1, - allocate space even for the trailing '/'. - Reported by John Reiser . - - * sysdeps/unix/sysv/linux/ia64/sysdep.h (LOAD_ARGS_6, ASM_ARGS_6, - ASM_CLOBBERS_6): Define. - (ASM_CLOBBERS_5): Use ASM_CLOBBERS_6. - * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Reorder arguments - to match IA-32 order. - * sysdeps/unix/sysv/linux/i386/clone.S: Fix comment. - -2003-03-10 Steven Munroe - - * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't clobber R7. - Copy extra params for NPTL to registers used in clone syscall. - -2003-03-10 Martin Schwidefsky - - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Correct system - call names for pread and pwrite. - -2003-03-10 Roland McGrath - - * dlfcn/Makefile (libdl-routines): Add dladdr1. - * dlfcn/dladdr1.c: New file. - * dlfcn/dlfcn.h [__USE_GNU]: Declare dladdr1. - [__USE_GNU] (RTLD_DL_SYMENT, RTLD_DL_LINKMAP): New enum constants. - * elf/dl-addr.c (_dl_addr): Take new args, a struct link_map ** and - a const ElfNN_Sym ** to fill in. - * include/dlfcn.h: Update decl. Include . - * dlfcn/dladdr.c (dladdr): Update caller. - * malloc/mtrace.c (tr_where): Likewise. - * sysdeps/generic/elf/backtracesyms.c: Likewise. - * sysdeps/generic/elf/backtracesymsfd.c: Likewise. - * dlfcn/Versions (libdl: GLIBC_2.3.3): New set, add dladdr1. - * Versions.def (libdl): Define GLIBC_2.3.3 set. - - * sysdeps/unix/make-syscalls.sh: Generate $(compile-syscall) for - assembler command. - * sysdeps/unix/Makefile (compile-syscall): New variable. - Pass -g0 to compiler for assembling syscall stubs from stdin. - - * sysdeps/i386/sysdep.h [HAVE_CPP_ASM_DEBUGINFO] - (STABS_CURRENT_FILE, STABS_CURRENT_FILE1, STABS_FUN, STABS_FUN_END): - Define these to do nothing. - - * configure.in: New check for -g on .S files. - * configure: Regenerated. - * config.make.in (have-cpp-asm-debuginfo): New variable. - * config.h.in (HAVE_CPP_ASM_DEBUGINFO): New #undef. - * Makeconfig (ASFLAGS): New variable, if undefined and - $(have-cpp-asm-debuginfo), take options matching -g% from $(CFLAGS). - * Makerules (compile.S, COMPILE.S): Use $(ASFLAGS). - -2003-03-09 Roland McGrath - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Take 3 new args - used by NPTL on new kernels. From Paul Mackerras . - -2003-03-09 Ulrich Drepper - - * po/fi.po: Update from translation team. - * po/ca.po: Likewise. - * po/da.po: Likewise. - -2003-03-08 Ulrich Drepper - - * rt/tst-aio7.c (do_test): Change BYTES into a #define. - -2003-03-07 Ulrich Drepper - - * rt/tst-aio7.c (do_test): Give BUFF permanent extent, too. - - * sysdeps/powerpc/fpu/w_sqrt.c: Fix comment. - -2003-03-07 Roland McGrath - - * sysdeps/s390/s390-32/sysdep.h (L): Use .Lfoo instead of foo. - * sysdeps/s390/s390-64/sysdep.h (L): Likewise. - -2003-03-04 Guido Guenther - - * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove unneeded - stubs, we have INLINE_SYSCALL. - * sysdeps/unix/sysv/linux/mips/bits/mman.h: Define MAP_POPULATE, - MAP_NONBLOCK. - -2003-03-06 Roland McGrath - - * rt/tst-aio7.c (do_test): Revert last change. Instead, give CB1 - permanent extent and add a comment about testing its implicit teardown. - -2003-03-06 Martin Schwidefsky - - * rt/tst-aio7.c (do_test): Cancel i/o on CB1 before it's out of scope. - -2003-03-05 Ulrich Drepper - - * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): Fix - reversed __builtin_expect expectation. - -2003-03-05 Roland McGrath - - * stdio-common/sscanf.c: Use prototype defn with ... syntax. - * libio/swscanf.c: Likewise. - * libio/swprintf.c: Likewise. - -2003-03-04 Roland McGrath - - * sysdeps/powerpc/powerpc64/dl-machine.h: Include . - (elf_machine_rela): Always use RESOLVE_MAP, needed for - R_PPC64_JMP_SLOT as well as TLS cases. - (BIT_INSERT): Move parenthesis where it ought to have been. - Reported by Steven Munroe . - - * posix/confstr.c (confstr): Correct STRING_LEN values for - _CS_GNU_LIBC_VERSION and _CS_GNU_LIBPTHREAD_VERSION, add missing - break. Reported by Alexandre Julliard . - -2003-03-04 Jakub Jelinek - - * sysdeps/ia64/fpu/libm-test-ulps: Regenerated. - -2003-03-04 Ulrich Drepper - - * sysdeps/unix/sysv/linux/x86_64/clone.S: Add support for the new - clone parameters. - - * po/sv.po: Update from translation team. - -2003-03-04 Andreas Jaeger - Ulrich Drepper - - * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Fix comments. - -2003-03-03 Ulrich Drepper - - * sysdeps/generic/dl-sysdep.h: Add double include protection. - - * po/tr.po: Update from translation team. - - * elf/dl-load.c (_dl_map_object_from_fd): Determine whether there - are holes between the segments. Only call mprotect to set - proection to PROT_NONE if there are some. - - * elf/dl-load.c (struct filebuf): Actually use FILEBUF_SIZE. - Update comment. - - * include/sched.h (__clone2): Use ... instead of adding all the - new parameters. - -2003-03-03 Roland McGrath - - * elf/dl-load.c (struct filebuf): Fix typo in last change. - - * sysdeps/powerpc/powerpc32/elf/configure.in: Don't define - PI_STATIC_AND_HIDDEN. - -2003-03-03 Ian Wienand - - * sysdeps/unix/sysv/linux/ia64/clone2.S: Update to take extra clone - flags. - * include/sched.h: Update clone2 prototype. - -2003-03-03 Andreas Jaeger - - * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): New definition. - (llrint): Use it to correct return type. - (lrint): Likewise. - (lround): Likewise. - (llround): Likewise. - -2003-03-03 Ulrich Drepper - - * elf/dl-load.c (struct filebuf): For 64-bit platforms use 640 - byte filebuf size. - - * libio/fileops.c (_IO_new_file_fopen): Close stillborn descriptor - if ccs parameter isn't valid. Reported by Andreas Schwab. - -2003-03-03 Martin Schwidefsky - - * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall): Add support - for system call numbers > 255. - * sysdeps/unix/sysv/linux/s390/s390-32/syscall.h (DO_CALL, - INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0, - INTERNAL_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S (syscall): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/syscall.h (DO_CALL, - INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0, - INTERNAL_SYSCALL): Likewise. - -2003-03-03 Martin Schwidefsky - - * sysdeps/generic/dl-tls.c (_dl_deallocate_tls): Don't free the dtv - array if it is the initial dtv. - -2003-03-03 Ulrich Drepper - - * po/es.po: Update from translation team. - * po/fr.po: Likewise. - * po/gl.po: Likewise. - * po/sk.po: Likewise. - * po/sv.po: Likewise. - - * sysdeps/unix/sysv/linux/syscalls.list: Add remap_file_pages entry. - * misc/sys/mman.h: Add prototype for remap_file_pages. - * sysdeps/generic/remap_file_pages.c: New file. - * misc/Makefile (routines): Add remap_file_pages. - * misc/Versions [libc:GLIBC_2.3.3]: Add remap_file_pages. - - * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Define MAP_POPULATE - and MAP_NONBLOCK. - * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise - * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. - -2003-03-03 Roland McGrath - - * sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Revert last change. - * sysdeps/ia64/dl-machine.h: Likewise. - * sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Remove const from - argument type. - * sysdeps/ia64/dl-lookupcfg.h: Update decl. - - * sysdeps/wordsize-64/strtol_l.c (strtoll_l): Define as weak alias. - * sysdeps/wordsize-64/strtoul_l.c (strtoull_l): Define as weak alias. - * locale/Versions (libc: GLIBC_2.3): Move those to ... - * sysdeps/wordsize-32/Versions (libc: GLIBC_2.3): ... here, new file. - * sysdeps/wordsize-64/Versions (libc: GLIBC_2.3.3) Likewise. - * Versions.def (libc): Add GLIBC_2.3.3 set. - - * sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Add const to MAP arg. - * sysdeps/ia64/dl-machine.h: Update decl. - -2003-03-03 Andreas Jaeger - - * sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Add missing brace. - -2003-03-02 Roland McGrath - - * scripts/abilist.awk: Reject data items with apparent 0 size. - - * scripts/merge-abilist.awk: Restore hack to elide pattern foo.*/bar - after foo.* as if it were a duplicate. - - * sysdeps/unix/sysv/linux/ia64/brk.S: Add .type and .size for __curbrk. - -2003-03-02 Ulrich Drepper - - * elf/dl-load.c (struct filebuf): Reduce buf array to 512 bytes. - - * sysdeps/generic/bits/time.h: Define CLOCK_MONOTONIC. - * sysdeps/posix/clock_getres.c: Define code for CLOCK_REALTIME only - if not already defined. Use SYSDEP_GETRES to allow other files to - provide alternative implementations. - * sysdeps/unix/sysv/linux/clock_getres.c: New file - * sysdeps/unix/clock_gettime.c: Define code for CLOCK_REALTIME only - if not already defined. Use SYSDEP_GETTIME to allow other files to - provide alternative implementations. - * sysdeps/unix/sysv/linux/clock_gettime.c: New file. - * sysdeps/unix/clock_settime.c: Define code for CLOCK_REALTIME only - if not already defined. Use SYSDEP_GETTIME to allow other files to - provide alternative implementations. - * sysdeps/unix/sysv/linux/clock_settime.c: New file. - * sysdeps/unix/clock_nanosleep.c: Use SYSDEP_NANOSLEEP to allow - other files to provide alternative implementations. Rearrange - tests for invalid parameters. - * sysdeps/unix/sysv/linux/clock_nanosleep.c: New file. - * sysdeps/unix/sysv/linux/sysconf.c: New file. - * sysdeps/unix/sysv/linux/kernel-features.h: Define - __ASSUME_POSIX_TIMERS for Linux 2.5.63 and up. - * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define - _POSIX_MONOTONIC_CLOCK. - -2003-03-02 Roland McGrath - - * scripts/merge-abilist.awk: More checks for bogus input. - Uniquify duplicate config names. - - * scripts/abilist.awk: Don't distinguish weak symbols in normal output. - - * sysdeps/powerpc/powerpc32/dl-machine.c (_dl_reloc_overflow): Renamed - from dl_reloc_overflow, make global. - (__process_machine_rela): Update callers. - * sysdeps/powerpc/powerpc32/dl-machine.h: Declare _dl_reloc_overflow. - Add attribute_hidden to __process_machine_rela decl. - (elf_machine_type_class, elf_machine_rela): Handle 16-bit TLS relocs. - - * sysdeps/generic/libc-start.c (__libc_start_main): Don't assign const - variable. - - * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt): - Don't use weak_extern for dl_rtld_map. Instead check only if [SHARED]. - (elf_machine_rela): Clean up. - - * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Clean up. - - PowerPC TLS support contributed by Paul Mackerras . - * sysdeps/powerpc/powerpc32/elf/configure.in: New file. - * sysdeps/powerpc/powerpc32/elf/configure: New generated file. - * elf/tls-macros.h [__powerpc__ && !__powerpc64__] - (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Define them. - * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Support - new relocs for TLS. - - * sysdeps/powerpc/dl-tls.h (TLS_TP_OFFSET, TLS_DTV_OFFSET): Move these - macros out of [SHARED]. - (TLS_TPREL_VALUE, TLS_DTPREL_VALUE): New macros. - - * elf/elf.h: Define R_PPC_* relocs for TLS support. - Clean up R_PPC64_* macro definition comments. - - * configure.in: In "running configure fragment for" message, - omit $srcdir from the name if we prepended it. - * configure: Regenerated. - - * elf/dl-reloc.c (allocate_static_tls): Fix calculations. - From Jakub Jelinek . - - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Revert last change, - which duplicated the O_DIRECT defn. - -2003-03-01 GOTO Masanori - - * stdlib/stdlib.h: Add missing __USE_BSD enclosure for BSD derived - random functions. - -2003-03-01 Andreas Schwab - - * resolv/Makefile (tests): Don't depend on - $(objpfx)mtrace-tst-leaks when cross compiling. - - * sysdeps/m68k/dl-machine.h (_dl_start_user): Access - __libc_stack_end through GOT since it is a global symbol. - -2003-03-01 GOTO Masanori - - * argp/argp.h: Fix a typo. - Reported by H.S.Teoh . - - * manual/terminal.texi: Fix cfmakeraw() definition from int to void. - -2003-02-27 Pat Rankin - - * posix/regexec.c (proceed_next_node): Cast re_string_get_buffer to - char *. - (get_subexp): Likewise. - -2003-03-01 GOTO Masanori - - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECT): Define. - -2003-02-26 Steven Munroe - - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (O_DIRECT): Define. - -2003-02-27 Roland McGrath - - * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Remove - special case for dl_rtld_map in R_PPC64_RELATIVE; it's harmless to - repeat it and avoids the test for the common case. - Clean up and fix calculations for TLS relocs. - - * sysdeps/powerpc/powerpc64/dl-tls.h: Moved to ... - * sysdeps/powerpc/dl-tls.h: ... here. - (TLS_TP_OFFSET): New macro. - - * sunrpc/svc_udp.c (svcudp_recv): Add a cast to last change. - -2003-02-27 Ulrich Drepper - - * sysdeps/i386/fpu/libm-test-ulps: Increase ULPs for yn due to - code generation changes in recent gcc. - -2003-02-26 Steven Munroe - - * sysdeps/powerpc/fpu/fpu_control.h (_FPU_GETCW, _FPU_SETCW): - Rename argument to avoid symbol conflict. - - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h - [__USE_GNU] (O_DIRECT): New macro. - -2003-02-24 David Mosberger - - * sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Fix - unwind info. - -2003-02-27 Ulrich Drepper - - * resolv/res_libc.c [USE___THREAD] (_res): Don't need the - initializer anymore now that res_thread_freeres is more careful. - - * sunrpc/svc_udp.c (svcudp_recv): Remove all control messages - except the PKTINFO. Reset interface in PKTINFO. - Patch by Neil Brown [PR libc/4973]. - -2003-02-25 Steven Munroe - - * elf/elf.h: Add new R_PPC64_* relocs for TLS. - * elf/tls-macros.h [__powerpc64__] (TLS_LE, TLS_IE, TLS_LD, TLS_GD): - Define. - * sysdeps/powerpc/powerpc64/elf/configure.in: New file. - * sysdeps/powerpc/powerpc64/elf/configure: New file (generated). - * sysdeps/powerpc/powerpc64/dl-machine.h: Support new TLS relocs. - * sysdeps/powerpc/powerpc64/dl-tls.h: New file. - - * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): - Do DL_SYSDEP_OSCHECK here, matching 2002-12-01 change to generic file. - -2003-02-25 Andreas Jaeger - - * manual/memory.texi (Malloc Tunable Parameters): Clarify - behaviour of M_MMAP_THRESHOLD. - -2003-02-25 Roland McGrath - - * resolv/res_init.c (res_thread_freeres): Bail out if _res.nscount is - zero, inidicating _res was not initialized yet. - -2003-02-24 Ulrich Drepper - - * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remove EACCES - test. - -2003-02-24 Roland McGrath - - * sysdeps/posix/pause.c: Add LIBC_CANCEL_HANDLED. - -2003-02-23 Roland McGrath - - * sysdeps/posix/pause.c: New file. - * sysdeps/unix/common/pause.c: File removed. - -2003-02-23 Ulrich Drepper - - * sysdeps/generic/bits/confname.h: Remove #ifs. - - * posix/Makefile (CFLAGS-regex.c): Remove RE_ENABLE_I18N definition. - * posix/regex_internal.h (RE_ENABLE_I18N): Pretty printing. - - * resolv/res_libc.c [USE___THREAD] (_res): Initialize _vcsock - element to -1. - -2003-02-22 Ulrich Drepper - - * sysdeps/generic/dl-sysdep.c: Avoid warning. - -2003-02-22 Roland McGrath - - * resolv/tst-leaks.c: New file by Daniel Jacobowitz . - * resolv/Makefile (tests): Add tst-leaks. - ($(objpfx)tst-leaks): Depend on $(objpfx)libresolv.so. - (tst-leaks-ENV): New variable. - ($(objpfx)mtrace-tst-leaks): New target. - (tests): Depend on it. - - * include/libc-internal.h: Declare __libc_thread_freeres. - - * Makerules: Fix last change to use $($(subdir)-version) when set. - - * Makerules (install-lib-nosubdir): Depend on installed - libfoo-X.Y.Z.so and libfoo.so.NN files so they are installed - regardless of the libfoo.so target's dependencies. - - * MakeTAGS (sub-make-vars): New variable, includes generating=t. - Use that in $(MAKE) calls. - -2003-02-22 Ulrich Drepper - - * catgets/gencat.c (read_input_file): Collision between - auto-assigned numbers and user-defined nubmers is not fatal. - Handle it. - Patch by Michael M. Lampkin . - * catgets/Makefile: Add rules to run test2.msg test. - * catgets/test2.msg: New file. - - * catgets/gencat.c (main): Return 1 if messages have been printed. - - * iconv/iconv_prog.c (main): Unify messages. - - * stdlib/strtod.c (INTERNAL): Remove bogus clearing of second word - when shifting retval. - * stdlib/tst-strtod.c (main): Add strtold test case. - Reported by Fred J. Tydeman . - -2003-02-21 Roland McGrath - - * malloc/thread-freeres.c: Conditionalize on _LIBC_REENTRANT. - * sunrpc/rpc_thread.c: Likewise for text_set_element use. - (__rpc_thread_destroy): Add it to __libc_subfreeres too. - - * include/resolv.h: Add libc_hidden_proto for __res_nclose. - * resolv/res_init.c (__res_nclose): Add libc_hidden_def. - (res_thread_freeres): New function, on __libc_thread_subfreeres and - __libc_subfreeres. - - * malloc/Versions (libc: GLIBC_PRIVATE): Add __libc_thread_freeres. - * malloc/thread-freeres.c: New file. - * malloc/Makefile (aux): Add it. - * sunrpc/Versions (libc: GLIBC_PRIVATE): Removed. - * sunrpc/rpc_thread.c (__rpc_thread_destroy): Put in special section - "__libc_thread_freeres_fn" and add to __libc_thread_subfreeres set. - - * sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Typo fix. - * sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Typo fix. - -2003-02-21 Roland McGrath - - * sysdeps/mach/hurd/opendir.c (__opendir): Use O_NONBLOCK in open. - - * iconvdata/Makefile (tests): Add bug-iconv3 only if - [$(have-thread-library) = yes]. - -2003-02-21 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/signum.h (__SIGRTMAX): Define as _NSIG. - - * sysdeps/unix/sysv/linux/i386/getuid.c: Use INTERNAL_SYSCALL and do - not chechk for errors (unless testing for 32bit variant). - * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise. - -2003-02-21 Jakub Jelinek - - * sysdeps/x86_64/dl-machine.h (elf_machine_rela) : - Check for signed overflow, not unsigned. - - * sysdeps/sparc/sparc64/elf/configure.in: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (sysdep-CFLAGS): - Use -fcall-used-g6, not -fcall-used-g7. - -2003-02-21 Andreas Jaeger - - * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Fix setting of default - mode. - - * sysdeps/x86_64/fpu/fsetexcptflg.c (fesetexceptflag): Do not - clear whole mxcsr but only exceptions. - -2003-02-21 Roland McGrath - - * Makerules: Filter $(install-lib-ldscripts) out of list of targets - for libfoo.so that need $(make-link) rules. - -2003-02-21 Roland McGrath - - * sysdeps/mach/hurd/bits/typesizes.h (__DEV_T_TYPE): Use __U32_TYPE - to match existing struct stat layout in mig protocols. - -2003-02-20 Ulrich Drepper - - * version.h (VERSION): Bump to 2.3.2. - - * elf/Makefile (distribute): Add reldep9.c, tst-array1.exp, - tst-array2.exp, tst-array4.exp, tst-array2dep.c, check-textrel.c, - and dl-sysdep.h. - * sysdeps/generic/Dist: Add sysdep-cancel.h. - * sysdeps/powerpc/nofpu/Dist: Add soft-supp.h. - * sysdeps/unix/Dist: Add s-proto-bp.S and s-proto-cancel.S. - * sysdeps/unix/sysv/linux/Dist: Add pathconf.h. - * sysdeps/unix/sysv/linux/i386/Dist: Add bp-thunk.h. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: Add fe_nomask.c and - ucontext_i.h. - * Makefile (distribute): Add include/stubs-prologue.h, - include/gnu/stubs.h, scripts/merge-abilist.awk, and - scripts/extract-abilist.awk. - -2003-02-20 Roland McGrath - - * math/Makefile (distribute): Don't add generated files. - -2003-02-20 Ulrich Drepper - - * math/Makefile: Rearrange variable definitions slightly to get - definition in the right order. - -2003-02-20 Roland McGrath - - * Makerules: Clean up conditional around include of tls.make. - * Make-dist: Export generating=t to prevent using that. - (+distinfo): Likewise for $(shell $(MAKE) ...) runs. - -2003-02-20 Ulrich Drepper - - * inet/rcmd.c (rresvport_af): Avoid using invliad values. Wrap - around in search if port IPPORT_RESERVED/2 has been test. - -2003-02-20 Paolo Bonzini - - * posix/regcomp.c: Remove inclusions. - * posix/regexec.c: Likewise. - * posix/regex_internal.c: Likewise. - * posix/regex_internal.h: Add inclusions here. - * posix/regex.c: Only include sys/types.h before regex.h. Include - regex_internal.h here. Include regex_internal.c before regcomp.c - and regexec.c (might expose more opportunities to the C compiler). - - * posix/regcomp.c (parse_expression): Fix construct rejected by SGI CC. - - * posix/regex_internal.h [!_LIBC] (__mempcpy): Fix typo. - [!_LIBC] (__wcrtomb): New definition. - [!_LIBC]: Conditionalize enabling of I18N on HAVE_WCSCOLL and - HAVE_LOCALE_H as well. - -2003-02-20 Ulrich Drepper - - * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Remove obsolete - patch to check for system call errors. - -2002-07-24 Philip Blundell - - * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Yield ENODEV - on unknown systems. - -2003-02-20 Franz Sirl - - * sysdeps/powerpc/powerpc32/atomicity.h: Remove compiler workaround. - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_NEW_PRCTL_SYSCALL): Defined for ppc32 too. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Use prctl - if possible. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Avoid short - interprocedure branches. - * sysdeps/powerpc/soft-fp/Dist (sim-full.c, fenv_const.c): Move to... - * sysdeps/powerpc/nofpu/Dist: ...here. - * sysdeps/unix/sysv/linux/powerpc/Dist (fe_nomask.c): Move to... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: ...here. - * sysdeps/unix/sysv/linux/s390/s390-64/Dist (kernel_stat.h): Delete. - * sysdeps/unix/sysv/linux/sparc/Dist (bits/utmpx.h): Delete. - * sysdeps/unix/sysv/linux/x86_64/Dist (bits/utmpx.h): Delete. - -2003-02-18 Alan Modra - - * sysdeps/powerpc/powerpc32/sysdep.h (HIDDEN_JUMPTARGET): Redefine. - -2003-02-20 Philip Blundell - - * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Add - missing arguments to INTERNAL_SYSCALL_ERROR_P and - INTERNAL_SYSCALL_ERRNO. - -2003-02-20 Martin Schwidefsky - - * sysdeps/unix/sysv/linux/s390/s390-32/chown.c (__real_chown): Test - for __ASSUME_32BITUIDS. - -2003-02-20 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Add MADV_* and - POSIX_MADV_* constants. - -2003-02-20 Kaz Kojima - - * sysdeps/unix/sysv/linux/sh/pread.c: New file. - * sysdeps/unix/sysv/linux/sh/pread64.c: New file. - * sysdeps/unix/sysv/linux/sh/pwrite.c: New file. - * sysdeps/unix/sysv/linux/sh/pwrite64.c: New file. - -2003-02-19 Jiro Sekiba - - * iconvdata/utf-16.c (gconv_end): Fix range of low surrogate. - -2003-02-16 Roland McGrath - - * signal/signal.h: Include , not . - -2003-02-19 Ulrich Drepper - - * stdlib/strtod.c (INTERNAL): Up the safety margin for cutting off - decimal input digits. - * stdlib/tst-strtod.c (main): Add test for strtof bug. - -2003-02-18 Ulrich Drepper - - * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Recognize - invalid file descriptors and missing access permissions. - -2003-02-17 Ulrich Drepper - - * nss/getXXbyYY_r.c (REENTRANT_NAME): Return 0 if no entry has - been found. - - * sysdeps/posix/sysconf.c (__sysconf): Test for LOGIN_NAME_MAX and - TTY_NAME_MAX and not the _POSIX_* minimal value macros. - * sysdeps/unix/sysv/linux/bits/local_lim.h: Define TTY_NAME_MAX - and LOGIN_NAME_MAX. - -2003-02-17 Kevin B. Hendricks - Franz Sirl - - * sysdeps/powerpc/elf/libc-start.c: Handle NONTLS_INIT_TP. - * sysdeps/powerpc/powerpc32/__longjmp.S: Remove R2 handling. - * sysdeps/powerpc/powerpc32/setjmp.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise. - -2003-02-17 Franz Sirl - - * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Delete. - * sysdeps/unix/sysv/linux/powerpc/truncate64.c: Delete. - * sysdeps/unix/sysv/linux/powerpc/pread64.c: Delete. - * sysdeps/unix/sysv/linux/powerpc/pread.c: Delete. - * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Delete. - * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Delete. - - * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: Move file... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: ...here. - * sysdeps/unix/sysv/linux/powerpc/glob64.c: Move file... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: ...here. - - * sysdeps/unix/sysv/linux/tcgetattr.c: Use INLINE_SYSCALL. - * sysdeps/unix/sysv/linux/tcsetattr.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: Delete. - * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Delete. - -2003-02-14 Thorsten Kukuk - - * nss/getent.c (print_hosts): Print all IP addresses of one host. - -2003-02-15 Roland McGrath - - * sysdeps/mach/hurd/tls.h: New file. - * sysdeps/mach/hurd/i386/tls.h: New file. - - * mach/errsystems.awk: Include in generated output. - - * sysdeps/mach/Makefile (mach-before-compile rule): Pass generating=t, - use target mach-before-compile instead of generated. - (mach-before-compile): New target. - * Makerules: Disable use of tls.make if $(generating) is set. - * mach/Makefile: Include mach-syscalls.mk even if no_deps=t. - * sysdeps/mach/hurd/Makefile: Make generated hurd headers depend on - mach-shortcuts.h so mach/ generation happens before hurd/. - -2003-02-14 Ulrich Drepper - - * sysdeps/i386/fpu/s_nextafterl.c: Decrement high word of mantissa - of demorm correctly if low word is zero. - Reported by Fred J. Tydeman . - * math/libm-test.inc (nextafter_test): New test, but disabled due - to gcc bug. - - * sysdeps/generic/libc-start.c [HAVE_PTR_NTHREADS]: Decrement thread - counter and only call __exit_thread if this is not the last thread. - -2003-02-13 Jakub Jelinek - - * sysdeps/alpha/dl-machine.h (elf_machine_rela): Add instead of - subtracting map->l_tls_offset. - -2003-02-12 Ulrich Drepper - - * sysdeps/generic/bits/confname.h: Define _CS_GNU_LIBC_VERSION and - _CS_GNU_LIBPTHREAD_VERSION. - * posix/conststr.c: Handle these new values. - * posix/getconf.c: Likewise. - - * sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Fix - masking of version index. - Patch by Lance Larsh . - -2003-02-11 Ulrich Drepper - - * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Compute alignment - correctly. Reported by Thorsten Kukuk. - -2003-02-10 Ulrich Drepper - - * elf/Makefile (check-textrel-CFLAGS): Pass _XOPEN_SOURCE and - _BSD_SOURCE to compiler. - * elf/check-textrel.c (SWAP): Add parenthesis to avoid warnings. - Patches by Alan Modra. - -2003-02-08 Ulrich Drepper - - * io/ftwtest.c: Get current working directory before and after the - nftw call and make sure they match. - -2003-02-08 Jim Meyering - - * io/ftw.c (ftw_startup): When using FTW_CHDIR, always remember - the current directory, not just when DIR contains a slash. - Reported by Manoj Srivastava. - -2003-02-07 Jim Meyering - - * io/ftw.c: Add autoconf-recommended block of alloca-related code. - Include autoconf-recommended block of dirent/NAMELEN-related - definitions and includes. Use NAMELEN throughout, rather than - _D_EXACT_NAMLEN. - [_LIBC]: Define NAMELEN to _D_EXACT_NAMLEN. - [!_LIBC] (__getcwd): Define to xgetcwd and declare xgetcwd. - (stpcpy): Declare, if necessary. - (mempcpy): Define, if necessary. - [!_LIBC] (__stpcpy, __mempcpy): Define. - [!_LIBC] (LXSTAT, XSTAT): Define. - (lstat) [!LIBC && !LSTAT_FOLLOWS_SLASHED_SYMLINK]: Define to rpl_lstat. - (find_object): Don't use c99-style struct initializer. - Tweak wording in a couple comments. - -2003-02-07 Kaz Kojima - - * elf/tls-macros.h: Add non-PIC TLS macros and fix clobber list - for SH. - * sysdeps/unix/sysv/linux/sh/brk.c: Add SYSCALL_INST_PAD - after the trapa instruction. - * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Add additional - parameters. - * sysdeps/unix/sysv/linux/sh/sh4/sysdep.h: New file. - (NEED_SYSCALL_INST_PAD): Define. - * sysdeps/unix/sysv/linux/sh/sys/user.h (start_thread): Undef to - avoid to use definition for the kernel. - * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER): - Save and restore the frame pointer. - (SYSCALL_INST_PAD): Define. - (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL. - (INTERNAL_SYSCALL): Make use of ERR parameter. Add SYSCALL_INST_PAD - after trapa instruction. - (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO, - INTERNAL_SYSCALL_ERROR_P): Adjust accordingly. - -2003-02-07 Jakub Jelinek - - * resolv/res_libc.c (_res): Ensure _res is not common symbol, - so that it can have aliases. - * inet/herrno.c (h_errno): Put it into .bss not .data section. - -2003-02-07 Ulrich Drepper - - * elf/dl-runtime.c (fixup): Correct typo in version index computation. - (profile_fixup): Likewise. - Patch by Lance Larsh . - -2002-11-24 Robert Love - - * posix/sched.h: Second parameter of sched_setaffinity and - sched_getaffinity is `unsigned int', not `unsigned long'. - * sysdeps/generic/sched_setaffinity.c: Likewise. - * sysdeps/generic/sched_getaffinity.c: Likewise. - -2003-02-05 Ulrich Drepper - - * debug/catchsegv.sh: Fix typo in error messsage. - Reported by John Levon . - - * sysdeps/unix/sysv/linux/posix_fadvise.c: New file. - * sysdeps/unix/sysv/linux/syscalls.list: Add posix_fadvise64 syscall. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. - - * libio/putwc_u.c: Use _IO_putwc_unlocked, not _IO_putc_unlocked. - Patch by Moritz Schulte . - -2003-02-05 Jim Meyering - - Fix a heap-corrupting bug. - * io/ftw.c: Include . - (PATH_MAX) [!defined PATH_MAX]: Define to 1024. - (process_entry): Allocate enough space to hold the resulting - file name. Don't presume that 2*dirbufsize is enough. - (ftw_startup): Always use PATH_MAX to compute buffer size, now that - it is guaranteed to be defined. - -2003-02-04 Ulrich Drepper - - * iconvdata/Makefile: Add rules to build and run bug-iconv3. - * iconvdata/bug-iconv3.c: New file. - -2003-02-04 Martin Schwidefsky - - * sysdeps/unix/sysv/linux/s390/system.c: New file. - -2003-02-03 Jakub Jelinek - - * sysdeps/sparc/sparc32/elf/configure.in (BROKEN_SPARC_WDISP22): New - check. - * config.h.in (BROKEN_SPARC_WDISP22): Add. - -2003-02-03 Ulrich Drepper - - * sysdeps/i386/i686/memmove.S: New file. - -2003-01-31 Steven Munroe - - * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: - Include kernel-features.h - * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise. - -2003-02-02 Jakub Jelinek - - * elf/tls-macros.h [sparc] (TLS_LD, TLS_GD): Add "cc" clobbers. - -2003-01-25 Jim Meyering - - * io/ftw.c (object_compare): Compare inode numbers before device - numbers, since the former are much more likely to differ. - -2003-02-01 Ulrich Drepper - - * time/tzfile.c (__tzfile_compute): Change return value type to - void. Adjust return statements. - * include/time.h (__tzfile_compute): Adjust prototype. - -2003-02-01 Jim Meyering - - * time/tzset.c (__tz_convert): Remove dead code; __tzfile_compute - always returns 1. - -2003-01-31 Steven Munroe - - * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c - [!__ASSUME_NEW_PRCTL_SYSCALL]: Noop prctl syscall and set ENOSYS. - -2003-01-31 Steven Munroe - - * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S - [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Generate ENOSYS stub. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S - [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S - [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S - [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise. - -2003-01-31 Steven Munroe - - * sysdeps/unix/sysv/linux/configure.in: Change arch_minimum_kernel - back to 2.4.19 for powerpc64. - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_NEW_PRCTL_SYSCALL): Define for powerpc64. - (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Define for powerpc64. - -2003-02-01 Ulrich Drepper - - * wcsmbs/wcscpy.c (wcscpy): Add alternative implementation for - platforms with strange alignment requirements on wchar_t. - -2003-01-31 Andreas Schwab - - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove __GI_* - aliases, already added by make-syscalls.sh. - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/syscalls.list: Likewise. - * sysdeps/unix/inet/syscalls.list: Likewise. - * sysdeps/unix/syscalls.list: Likewise. - -2003-01-31 Andreas Schwab - - * sysdeps/m68k/Makefile (sysdep-CFLAGS): Don't define, not needed - any more. - -2003-01-30 Jakub Jelinek - - * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Use lg, - not l to load tls from stack. - -2003-01-30 Roland McGrath - - * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Move check for - null argument before all else. - Reported by Martin Schwidefsky . - -2003-01-30 Jakub Jelinek - - * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_lazy_rel): - Move to RESOLVE protected part of the header. - * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_lazy_rel): - Likewise. - -2003-01-30 Ulrich Drepper - - * stdio-common/Makefile (tests): Add bug15. - (bug15-ENV): Define. - * stdio-common/bug15.c: New file. - -2002-10-07 Wolfram Gloger - - * malloc/malloc.c (sYSMALLOc): Only check for breakage due - to foreign sbrk()'s if arena is contiguous. Bug report from - Bruno Haible . - -2003-01-30 Jakub Jelinek - - * sysdeps/s390/libc-tls.c: Include stdlib.h. - -2003-01-30 Jakub Jelinek - - * stdio-common/vfprintf.c (vfprintf): Only subtract lowest 3 bits of - ps.__count. - -2003-01-30 Ulrich Drepper - - * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Fix storing and - restoring of %r6. - * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise. Use - 64-bit load. - Patch by Martin Schwidefsky . - -2003-01-30 Jakub Jelinek - - * elf/dl-reloc.c (CHECK_STATIC_TLS): Move _dl_signal_error... - (allocate_static_tls): ...here. Add __attribute_noinline__. - Don't return on failure. - (_dl_reloc_bad_type): Add __attribute_noinline__. - * elf/do-rel.h (elf_dynamic_do_rel): Add - __attribute__((always_inline)). - * elf/dynamic-link.h (elf_machine_rel, elf_machine_rela, - elf_machine_rel_relative, elf_machine_rela_relative, - elf_machine_lazy_rel): Add prototypes with - __attribute__((always_inline)). - -2003-01-29 David Mosberger - - * elf/dl-support.c (_dl_aux_init): Handle AT_SYSINFO. - -2003-01-29 Roland McGrath - - * configure.in: Barf if configured in $srcdir. - -2003-01-28 Steven Munroe - - * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c - (__fe_nomask_env): Change __prctl call to INTERNAL_SYSCALL. - -2003-01-28 Martin Schwidefsky - - * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Reorder additional - clone parameters to match the order used on ia32. - * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise. - -2003-01-27 Martin Schwidefsky - - * elf/elf.h: Add new s390 relocs. - * elf/tls-macros.h: Add s390 versions. - * sysdeps/s390/Versions [GLIBC_2.3] (ld): Export __tls_get_offset. - * sysdeps/s390/dl-tls.h: New file. - * sysdeps/s390/libc-tls.c: New file. - * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class): Add TLS - relocs for class PLT. - (elf_machine_rela): Handle TLS relocs. - * sysdeps/s390/s390-64/dl-machine.h: Likewise. - * sysdeps/s390/s390-32/elf/configure.in: Add TLS check. - * sysdeps/s390/s390-64/elf/configure.in: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Add support for - CLONE_CHILD_*TID flags. - * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Use branch with 32 - bit offset. - * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S (__syscall_error): - Support USE___THREAD. Define RTLD_PRIVATE_ERRNO variant. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S (__syscall_error): - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: - (SYSCALL_ERROR_LABEL): Move define next to SYSCALL_ERROR_HANDLER. - (SYSCALL_ERROR_HANDLER): Add USE___THREAD and RTLD_PRIVATE_ERRNO - variants. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: - (SYSCALL_ERROR_LABEL): Move define next to SYSCALL_ERROR_HANDLER. Use - direct branch to syscall_error for !PIC and PIC && !_LIBC_REENTRANT. - (SYSCALL_ERROR_HANDLER): Add USE___THREAD and RTLD_PRIVATE_ERRNO - variants. - -2003-01-28 Ulrich Drepper - - * sysdeps/unix/common/pause.c (do_pause): New function. Split - from __libc_pause. Implement using sigsuspend. - (__libc_pause): Call do_pause to do the real work. - - * sysdeps/posix/sigpause.c (do_sigpause): Check range of - sig_or_mask parameter is is_sig != 0. - -2003-01-21 Philip Blundell - - * sysdeps/unix/sysv/linux/bits/ioctls.h (SIOCSIFNAME): Define. - -2003-01-27 Steven Munroe - - * stdio-common/Makefile: Add bug14-ENV to set LOCPATH for make check. - -2003-01-27 Ulrich Drepper - - * stdio-common/bug14.c: Use official name for the locale. - - * stdio-common/vfprintf.c [USE_IN_LIBIO]: Use _IO_cleanup_region_start - instead of __libc_cleanup_region_start and _IO_cleanup_region_end - instead of __libc_cleanup_region_end. - - * sysdeps/unix/sysv/linux/i386/system.c (CLEANUP_HANDLER): Pass 1 - as first parameter to __libc_cleanup_region_start. - - * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c - (__fe_nomask_env): Use __prctl not prctl. - * sysdeps/unix/sysv/linux/syscalls.list: Add __prctl alias for - prctl syscall. - - * elf/dl-reloc.c (CHECK_STATIC_TLS): Improve error message. - - * elf/dl-open.c (_dl_tls_static_size): Bump to 2048. - - * elf/dl-reloc.c (allocate_static_tls): Avoid arithmetic - wrap-around in test. - -2003-01-26 Andreas Schwab - - * sysdeps/wordsize-32/divdi3.c: Export the functions only as - compatibility symbols. Remove INTDEF for __divdi3. - * sysdeps/wordsize-32/lldiv.c: Don't use __divdi3_internal. - * sysdeps/powerpc/powerpc32/divdi3.c: Remove. - * sysdeps/powerpc/powerpc32/Makefile (CPPFLAGS-divdi3.c): Don't - define. - * sysdeps/powerpc/powerpc32/Dist: Remove divdi3.c. - -2003-01-24 Jakub Jelinek - - * elf/tls-macros.h: Add SPARC 32-bit definitions. - * sysdeps/sparc/sparc32/elf/configure.in: Add TLS check. - * sysdeps/sparc/sparc32/dl-machine.h: Add dl_machine_h guards - for the first half of the header. Include tls.h. - (elf_machine_type_class): Return ELF_RTYPE_CLASS_PLT for TLS - relocs too. - (elf_machine_rela): Handle TLS relocs. - * sysdeps/sparc/dl-tls.h: New file. - - * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Add cancellation - support. - - * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Use %g6 instead of %g7. - * sysdeps/sparc/sparc32/memchr.S: Likewise. - * sysdeps/sparc/sparc32/memcpy.S: Likewise. - * sysdeps/sparc/sparc32/strcat.S: Likewise. - * sysdeps/sparc/sparc32/strchr.S: Likewise. - * sysdeps/sparc/sparc32/strcmp.S: Likewise. - * sysdeps/sparc/sparc32/strcpy.S: Likewise. - * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise. - * sysdeps/sparc/sparc64/hp-timing.h: Likewise. - * sysdeps/sparc/sparc64/memcpy.S: Likewise. - * sysdeps/sparc/sparc64/stpcpy.S: Likewise. - * sysdeps/sparc/sparc64/stpncpy.S: Likewise. - * sysdeps/sparc/sparc64/strcat.S: Likewise. - * sysdeps/sparc/sparc64/strchr.S: Likewise. - * sysdeps/sparc/sparc64/strcmp.S: Likewise. - * sysdeps/sparc/sparc64/strcpy.S: Likewise. - * sysdeps/sparc/sparc64/strncmp.S: Likewise. - * sysdeps/sparc/sparc64/strncpy.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. - -2003-01-24 Andreas Schwab - - * elf/dl-close.c (_dl_close): Don't relocate DT_FINI_ARRAY - elements, and process them backwards. - * elf/Makefile ($(objpfx)tst-array4): New target. - ($(objpfx)tst-array4.out): Likewise. - (tests) [$(have-initfini-array) = yes]: Add tst-array4. - * elf/tst-array4.c: New file. - * elf/tst-array4.exp: Likewise. - -2003-01-24 Steven Munroe - - * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: New file. - -2003-01-27 Guido Guenther - - * sysdeps/unix/sysv/linux/mips/sysdep.h (SYSCALL_ERROR_LABEL): Define. - * sysdeps/unix/sysv/linux/mips/pread.c: Add support for - cancellation handling and handle both __NR_pread64 and __NR_pread. - * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite.c: Add support for - cancellation handling and handle both __NR_pwrite64 and __NR_pwrite. - * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. - * sysdeps/unix/mips/sysdep.S: Don't set errno in the _LIBC_REENTRANT - case, use register names consistently. - -2003-01-27 Wolfram Gloger - - * malloc/hooks.c (mem2chunk_check): Check alignment of mem - pointer, not of the computed chunk. Bug report from Carlos - O'Donell . - -2003-01-25 Andreas Schwab - - * sysdeps/m68k/dl-machine.h (_dl_start_user): Use pc-relative - addressing to save GOT entries. - -2003-01-21 Jakub Jelinek - - * sysdeps/unix/alpha/sysdep.h (inline_syscall0, - inline_syscall1, inline_syscall2, inline_syscall3, - inline_syscall4, inline_syscall5, inline_syscall6): Add __volatile__. - * sysdeps/unix/sysv/linux/alpha/sysdep.h (INTERNAL_SYSCALL): Add - __attribute__((unused)) to ChEcK. - -2003-01-20 Martin Schwidefsky - - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INTERNAL_SYSCALL): - Fix inline assembler constraints. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INTERNAL_SYSCALL): - Likewise. - - * sysdeps/s390/s390-64/Makefile (pic-ccflag): Use -fpic instead of - -fPIC. - -2003-01-20 Segher Boessenkool - - * sysdeps/ieee754/dbl-64/sincos32.c (__mpcos): Really - compute the cosine, not the sine, even if x > 0.8. - -2003-01-19 Ulrich Drepper - - * nis/nss_nis/nis-spwd.c: Make _nss_nis_endspent an alias of - _nss_nis_setspent. Work around the different prototypes. - * nis/nss_nis/nis-rpc.c (internal_nis_setrpcent): Use - internal_nis_endrpcent. - (internal_nis_endrpcent): Change return type to void. Change callers. - * nis/nss_nis/nis-pwd.c: Make _nss_nis_endpwent an alias of - _nss_nis_setpwent. Work around the different prototypes. - * nis/nss_nis/nis-proto.c (_nss_nis_endprotoent): Split out body - of the function to... - (internal_nis_endprotoent): ... here. New function. - (internal_nis_setprotoent): Use internal_nis_endprotoent. - * nis/nss_nis/nis-network.c: Make _nss_nis_endnetent an alias of - _nss_nis_setnetent. Work around the different prototypes. - * nis/nss_nis/nis-netgrp.c (_nss_nis_endnetgrent): Split out body - of the function to... - (internal_nis_endnetgrent): ... here. New function. - (_nss_nis_setnetgrent): Use internal_nis_endnetgrent. - -2003-01-19 Jim Meyering - - * time/strftime.c: (widen): Merge nearly-identical definitions. - (nl_get_alt_digit) [! defined my_strftime]: Define. - (my_strftime) [_NL_CURRENT]: Merge nearly-identical uses of - _nl_get_alt_digit and _nl_get_walt_digit. - -2003-01-19 Ulrich Drepper - - * time/strftime.c (my_strftime): Handle very large width - specifications for numeric values correctly. Improve checks for - overflow. - * time/Makefile (tests): Add tst-strftime. - * time/tst-strftime.c: New file. - -2003-01-18 Ulrich Drepper - - * nis/nss_nis/nis-hosts.c: Make _nss_nis_endhostent an alias of - _nss_nis_sethostent. Work around the different prototypes. - * nis/nss_nis/nis-grp.c: Make _nss_nis_endgrent an alias of - _nss_nis_setgrent. Work around the different prototypes. - * nis/nss_nis/nis-ethers.c (internal_nis_endetherent): New - function. Split out from _nss_nis_endetherent. - (internal_nis_setetherent): Use internal_nis_endetherent instead of - duplicating the code. - * nis/nss_nis/nis-alias.c: Make _nss_nss_nis_endaliasent an alias - of _nss_nis_setaliasent. - * nis/nss_nis/nis-service.c (internal_nis_setservent): Reuse - internal_nis_endservent code, don't duplicate it. - - * inet/rexec.c (rexec_af): Protect socket operations with - TEMP_FAILURE_RETRY. Use writev instead of multiple write. - * inet/rcmd.c (rcmd_af): Likewise. - -2003-01-17 Roland McGrath - - * math/libm-test.inc (sin_test, cos_test, sincos_test) [TEST_DOUBLE]: - Add test of value 0.80190127184058835. - - * elf/dl-open.c: Fix typo ifdef -> ifndef on _dl_tls_static_size defn. - -2003-01-17 Richard Henderson - - * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Add TLS - relocs for class PLT. - * sysdeps/alpha/libc-tls.c: New file. - * sysdeps/unix/alpha/sysdep.S (EPILOGUE, GPSAVEREG): New. - (LOADGP) [!PIC]: Rewrite to preserve caller's gp. - -2003-01-17 Jakub Jelinek - - * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_init): Use - __libc_lock_{,un}lock_recursive instead of __libc_lock_{,un}lock - on _dl_static_lock. - -2003-01-17 Andreas Jaeger - - * stdio-common/bug14.c: Include stdlib.h for exit prototype. - -2003-01-16 Steven Munroe - - * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h: New file. - * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file. - * sysdeps/unix/sysv/linux/configure.in: Minimum kernel for PPC64 - is 2.4.21. - -2003-01-16 Ulrich Drepper - - * sysdeps/generic/glob.c (glob): Assume sysconf() always returns - values != -1 for _LIBC. Use extend_alloca to reallocate alloca'ed - buffers. - - * sysdeps/generic/sysconf.c: Unconditionally implement - _SC_GETPW_R_SIZE_MAX and _SC_GETGR_R_SIZE_MAX. - * sysdeps/posix/sysconf.c: Likewise. - -2003-01-16 Jakub Jelinek - - * posix/regcomp.c (parse_bracket_exp): If build_charclass fails, - set *err to the returned error, not to REG_ESPACE unconditionally. - (build_word_op): Likewise. - * posix/Makefile (tests): Add bug-regex16. - * posix/bug-regex16.c: New test. - -2003-01-16 Jakub Jelinek - - * elf/dl-load.c (_dl_map_object_from_fd): Use - GL(dl_tls_dtv_slotinfo_list) != NULL to check whether TLS has - been already initialized. - -2003-01-15 Dmitry V. Levin - - * sysdeps/unix/sysv/linux/ptsname.c: Fix typo in comment. - -2003-01-16 Jakub Jelinek - - * posix/regcomp.c (re_compile_internal): If clearing buffer, clear - allocated too. Reported by Al Viro . - -2003-01-16 Roland McGrath - - Tweak merged .abilist file format to merge duplicate symbols in - different sets into multi-version stanzas with new "| SET regexp..." - header continuation lines. - * scripts/merge-abilist.awk: Rewritten for new format. - * scripts/extract-abilist.awk: Likewise. - -2003-01-15 Ulrich Drepper - - * nscd/connections.c (nscd_run): Remove bogus return which isn't - necessary with gcc 3.2+. - (nscd_init): Don't use error() to print message, use dbg_log. - - * iconv/gconv_simple.c (STORE_REST): Explicitly store the total - expected size into state. - (UNPACK_BYTES): Do the reverse. - * iconv/loop.c: Use CLEAR_STATE if defined to clear __state element. - * wcsmbs/tst-mbrtowc.c (utf8_test_1): Add test for the bug. - Reported by Al Viro . - - * stdio-common/Makefile (tests): Add bug14. - * stdio-common/bug14.c: New file. - - * stdio-common/vfscanf.c: When recognizing multibyte characters in - string reset the byte counter after mbrtowc reported it is not a - partial character. Reported by Al Viro . - -2003-01-15 Steven Munroe - - * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Include - sysdep-cancel.h, not sysdep.h. - -2003-01-15 Ulrich Drepper - - * nscd/connections.c (nscd_run): Protect accept call with - TEMP_FAILURE_RETRY. - -2003-01-15 Andreas Schwab - - * sysdeps/unix/Makefile: Include $(common-objpfx)s-proto-bp.d. - (common-generated): Add s-proto-bp.d. - * sysdeps/unix/make-syscalls.sh: Use s-proto-bp.d for dependencies - of bp thunks. - * sysdeps/unix/s-proto-bp.S: New file. - * sysdeps/generic/bp-thunks.h: Don't include here. - Use instead of . - * sysdeps/unix/sysv/linux/i386/bp-thunks.h: New file. - -2003-01-15 Roland McGrath - - * Makerules: Use -include for tls.make, suppresses warning. - Move gen-as-const-headers rules up so before-compile is set in time. - (sed-remove-dotdot): Fix to work right for subdirs or top dir. - -2003-01-15 Ulrich Drepper - - * nscd/nscd.c (main): Make code to close all file descriptors - faster and more robust. - - * nscd/nscd_getpw_r.c (nscd_getpw_r): Consolidate writing of the - request with one writev call. Protect all read calls with - TEMP_FAILURE_RETRY. - * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. - * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise. - - * nscd/hstcache.c: Use extend_alloca to reallocate alloca'd buffer. - Protect writev calls with TEMP_FAILURE_RETRY. - * nscd/grpcache.c: Likewise. - * nscd/pwdcache.c: Likewise. - - * nscd/hstcache.c (addhstbynamev6): Don't interpret hostname as - IPv6 address in debug output. - -2003-01-14 Roland McGrath - - * Makerules (check-abi-%): Use two rules for $(common-objpfx) and - $(objpfx) directories, and get rid of vpath directives. The previous - arrangement resulted in files being written to the source directories - when run in a clean build. Find all .abilist files in $(..)abilist/. - (update-abi-%): Likewise. - (generated): Don't add .symlist files, they'll be intermediates. - - * sysdeps/generic/init-first.c: Add a comment. - - * elf/Makefile ($(objpfx)ld.so): Pass -z defs in link. - - * scripts/gen-as-const.awk: Grok lone "--" as a separator between - #includes and expressions. - - * scripts/merge-abilist.awk: Omit cpu-.*-os.*/modifier from merged - config list when it already contains cpu-.*-os.* without / part. - - * Makerules (sed-remove-dotdot): New variable. - ($(common-objpfx)%.make): Use it. Depend on $(before-compile). - ($(common-objpfx)%.h $(common-objpfx)%.h.d): Likewise. - (check-abi-config): New variable, append /tls or /notls to the tuple. - (check-abi-%): Use that for -v config value. - Find .abilist files in abilist/libfoo.abilist, not in subdir. - * Rules: Move bits/stdio_lim.h generation rules to Makerules. - -2003-01-14 Ulrich Drepper - - * manual/install.texi: Correct description of header preparation for - Linux build. Patch by mhwood@Ameritech.Net [PR libc/4941]. - -2003-01-14 Guido Guenther - - * sysdeps/unix/sysv/linux/mips/sysdep.h (INTERNAL_SYSCALL, - INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO, - INTERNAL_SYSCALL_ERROR_P, INLINE_SYSCALL): Define. - -2003-01-14 Steven Munroe - - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h - (INTERNAL_SYSCALL): Make use of ERR parameter. - (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO, - INTERNAL_SYSCALL_ERROR_P): Adjust accordingly. - (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: New file. - -2003-01-14 Ulrich Drepper - - * sunrpc/pm_getport.c (pmap_getport): Open TCP socket if protocol - == IPPROTO_TCP. - Patch by James Strandboge [PR libc/4943]. - - * sysdeps/unix/sysv/linux/i386/dl-procinfo.c (_dl_x86_cap_flags): - Fix entry for bit 31. - - * iconvdata/Makefile: Add rules to build IBM866NAV. - * iconvdata/ibm866nav.c: New file. - * iconvdata/tst-tables.sh: Add IBM866NAV. - * iconvdata/gconv-modules: Add entries for IBM866NAV. - -2003-01-13 Ulrich Drepper - - * string/tester.c (test_strcpy): Use the previously #if 0'ed code - to test void* parameters. - - * sysdeps/i386/i486/bits/string.h (__STRING_SMALLL_GET16): Cast - source pointer before dereferencing. - (__STRING_SMALLL_GET32): Likewise. - (__memset_gc): Add missing parenthesis around macro arguments. - Patch by Denis Zaitsev . - - * sysdeps/i386/i486/bits/string.h (__strspn_cg): Tell the compiler - that %eax is modified. Reported by Denis Zaitsev . - -2003-01-14 Jakub Jelinek - - * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL): Undefined before - defining. - -2003-01-13 Martin Schwidefsky - - * sysdeps/s390/s390-64/initfini.c: Avoid unterminated string literals. - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (L): Don't define it - here. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (L): Likewise. - -2003-01-13 Martin Schwidefsky - - * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET): Move branch instructions - from here... - (PSEUDO): ... to here. - * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET): Move branch instruction - from here... - (PSEUDO): ... to here. - -2003-01-13 Ulrich Drepper - - * locale/programs/charmap-dir.c (charmap_readdir): Use struct - dirent64 instead of struct dirent for dirent. Call readdir64 - instead of readdir. - - * locale/programs/locfile.c (siblings_uncached): Use struct - dirent64 instead of struct dirent for other_dentry. Call - readdir64 instead of readdir. - - * elf/ldconfig.c (direntry): Change type to struct dirent64. - (search_dir): Use readdir64 instead of readdir. - Patch by Zhangfan Xing . - -2003-01-12 Roland McGrath - - * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use strtoul, - not strtol. The former is usable in ld.so, the latter not. - - * include/fcntl.h: Declare __libc_creat. - - * sysdeps/mach/hurd/Makefile (libmachuser-link.so-no-z-defs, - libhurduser-link.so-no-z-defs): New variables. - - * malloc/malloc.c: Revert last change. - * malloc/malloc.h (_int_*): Move these decls to ... - * include/malloc.h: ... here. Add attribute_hidden. - (_int_valloc): Declare it too. - -2003-01-12 Ulrich Drepper - - * elf/dl-close.c (_dl_close): Fix typo, must be == not = in - search for removed searchlist. Reported by Roland McGrath. - - * io/ftwtest-sh: Add test for case of symlink to nonexisting file - given as start file. - - * io/ftw.c (ftw_startup): Use correct name in check for symlink - without existing target. Patch by Jim Meyering. - - * Makerules (build-shlib-helper): Don't use -z defs linker option - if no-z-defs is defined either. - -2003-01-10 Martin Schwidefsky - - * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Remove unused - file. - -2003-01-10 Martin Schwidefsky - - * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Add vfork. - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. - -2003-01-12 Ulrich Drepper - - * io/ftwtest-sh: Add test case for relative path with /. at the end. - -2003-01-12 Jim Meyering - - * io/ftw.c (ftw_startup): When trying to stat the starting directory, - use the basename if we've already chdir'd into its parent directory. - -2003-01-12 Ulrich Drepper - - * io/ftw.c (process_entry): Use relative path when using chdir() - to change directory after call to ftw_dir. - * io/ftwtest-sh: Add test for relative path argument to nftw() - with FTW_CHDIR option. - -2003-01-12 Franz Sirl - - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_VFORK_SYSCALL): - Define for powerpc. - * sysdeps/unix/sysv/linux/powerpc/syscall.S: Take register alignment - into account. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h - (INTERNAL_SYSCALL): Make use of ERR parameter. - (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO, - INTERNAL_SYSCALL_ERROR_P): Adjust accordingly. - (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: New file. - -2003-01-09 Richard Henderson - - * sysdeps/alpha/dl-machine.h (elf_machine_rela): Compute - DTPREL64 and TPREL64 without loadbase applied. - -2003-01-09 Richard Henderson - - * sysdeps/unix/alpha/sysdep.S: Use correct definition of errno - for NOT_IN_libc. - - * sysdeps/unix/sysv/linux/alpha/sysdep.h: Move inline syscall bits... - * sysdeps/unix/alpha/sysdep.h: ... here. - (PSEUDO_LOADGP): Remove. - (PSEUDO_PROLOGUE): Load GP in non-pic case. - (SYSCALL_ERROR_LABEL): New. - (PSEUDO): Use it in error branch. - (PSEUDO_END): Add $syscall_error label. - -2003-01-12 Andreas Jaeger - - * math/bits/mathcalls.h: Round is a const function. - -2003-01-11 Jim Meyering - - * io/ftw.c [HAVE_CONFIG_H]: Include . - [HAVE_SYS_PARAM_H || _LIBC]: Guard inclusion of . - Include , not , if !_LIBC. - [!_LIBC] (__chdir, __closedir, __fchdir, __getcwd, __opendir): Define. - [!_LIBC] (__readdir64, __tdestroy, __tfind, __tsearch): Define. - [!_LIBC] (internal_function, dirent64, MAX): Define. - (__set_errno): Define if not already defined. - (open_dir_stream): When FTW_CHDIR is enabled, invoke opendir on - the basename, not the entire file name. - (process_entry): When FTW_CHDIR is enabled, invoke XSTAT or LXSTAT on - the basename, not the entire file name. - -2003-01-12 Ulrich Drepper - - * string/tester.c (test_strcpy): Disable last added strcpy until - it is fixed. - -2003-01-11 Philip Blundell - - * sysdeps/unix/sysv/linux/arm/socket.S: Add cancellation support. - -2003-01-11 Andreas Schwab - - * Makerules: Add vpath for %.dynsym and %.so so that the - implicit rule chaining for check-abi works. - -2003-01-11 Kaz Kojima - - * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER): - Add non-PIC case. - -2003-01-11 Jakub Jelinek - - * elf/tls-macros.h [__ia64__] (__TLS_CALL_CLOBBERS): Define. - [__ia64__] (TLS_LE, TLS_IE): Fix typos. Add ;; at start of asm if - gp is used early. - [__ia64__] (TLS_LD, TLS_GD): Likewise. Use __TLS_CALL_CLOBBERS. - * elf/Makefile ($(objpfx)tst-tlsmod5.so, $(objpfx)tst-tlsmod6.so): - Ensure libc.so in DT_NEEDED. - * sysdeps/alpha/dl-machine.h (elf_machine_rela): Move - CHECK_STATIC_TLS before l_tls_offset use. - * sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela): - Likewise. - * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise. - * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage) [TLS_DTV_AT_TP]: - Allocate TLS_PRE_TCB_SIZE bytes below result. - (_dl_deallocate_tls) [TLS_DTV_AT_TP]: Adjust before freeing. - * sysdeps/generic/libc-tls.c (__libc_setup_tls): If - TLS_INIT_TP_EXPENSIVE is not defined, allocate even if no PT_TLS - segment has been found. If TLS_DTV_AT_TP, allocate TLS_PRE_TCB_SIZE - bytes below result and add tcb_offset to memsz. - * sysdeps/ia64/dl-tls.h (__tls_get_addr): New prototype. - * sysdeps/ia64/dl-machine.h: Include tls.h. - (elf_machine_type_class): Return ELF_RTYPE_CLASS_PLT for TLS relocs - too. - (elf_machine_rela): Assume if sym_map != NULL sym is non-NULL too. - Handle R_IA64_DTPMOD*, R_IA64_DTPREL* and R_IA64_TPREL* relocations. - * sysdeps/ia64/libc-tls.c: New file. - -2003-01-10 Steven Munroe - - * sysdeps/powerpc/powerpc64/sysdep.h (PSEUDO_RET): Add branch hit. - * sysdeps/unix/sysv/linux/powerpc/bits/stat.h (STAT_VER_LINUX): - Fix type. Move definition out of #if. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/ftruncate64.c: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Add cancellation - support. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Remove - ftruncate64, pread64, pwrite64, truncate64 entries. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h - (INLINE_SYSCALL): New version that supports function call like - syscalls. Add __builtin_expect. - (LOADARGS_n): Add argument size safety checks. - (INTERNAL_SYSCALL): New Macro. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/truncate64.c: New file. - * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h [__PPC_ELF_H]: Avoid - redefinition of elf_fpreg_t and elf_fpregset_t. - -2003-01-12 Ulrich Drepper - - * elf/dl-close.c (_dl_close): Add several asserts. Correct and - simplify test for unloading. If loader of a DSO is unloaded do not - use its scope anymore. Fall back to own scope and adjust opencounts. - Fix several comments. - * elf/dl-deps.c (_dl_map_object_deps): Always allocate memory for - the l_searchlist, not only for l_initfini. - - * elf/dl-lookup.c (add_dependencies): Avoid creating relocation - dependencies if objects cannot be removed. Remove object with the - definition as not unloadable if necessary. - - * elf/reldep6.c: Create relocation dependency before closing the first - module. - -2003-01-10 Guido Günther - - * sysdeps/unix/mips/fork.S: Add PSEUDO_END. - * sysdeps/unix/mips/brk.S: Likewise. - * sysdeps/unix/mips/pipe.S: Likewise. - -2003-01-10 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/getsysstats.c: New file. - - * sysdeps/unix/sysv/linux/m68k/vfork.S: Optimize for kernels which - are known to have the vfork syscall. - - * sysdeps/m68k/sysdep.h (JUMPTARGET): Undefine before defining it. - - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_MMAP2_SYSCALL, __ASSUME_TRUNCATE64_SYSCALL) - (__ASSUME_STAT64_SYSCALL, __ASSUME_FCNTL64) - (__ASSUME_VFORK_SYSCALL): Define for m68k kernels >= 2.4.12. - -2003-01-09 Jakub Jelinek - - * elf/Makefile: Add rules to build and run reldep9 test. - * elf/reldep9.c: New file. - * elf/reldep9mod1.c: New file. - * elf/reldep9mod2.c: New file. - * elf/reldep9mod3.c: New file. - -2003-01-09 Jakub Jelinek - - * elf/Makefile: Add rules to build and run nodelete2 test. - * elf/nodelete2.c: New file. - * elf/nodel2mod1.c: New file. - * elf/nodel2mod2.c: New file. - * elf/nodel2mod3.c: New file. - -2003-01-09 Jakub Jelinek - - * posix/test-vfork.c (noop): Add __attribute_noinline__. - * sysdeps/generic/sysdep.h (JUMPTARGET): Define if not defined. - * sysdeps/i386/sysdep.h (JUMPTARGET): Undefine JUMPTARGET before - defining it. - * sysdeps/powerpc/powerpc32/sysdep.h (JUMPTARGET): Likewise. - * sysdeps/powerpc/powerpc64/sysdep.h (JUMPTARGET): Likewise. - * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET): Likewise. - * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET): Likewise. - * sysdeps/x86_64/sysdep.h (JUMPTARGET): Likewise. - -2003-01-09 Andreas Schwab - - * sysdeps/m68k/fpu/libm-test-ulps: Regenerated. - -2003-01-08 Ulrich Drepper - - * sysdeps/unix/sysv/linux/arm/sysdep.h (INTERNAL_SYSCALL, - INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): Add err - argument. - (INTERNAL_SYSCALL_DECL): Define. - -2003-01-06 Jakub Jelinek - - * sysdeps/unix/sysv/linux/ia64/sysdep.h (INTERNAL_SYSCALL, - INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): Add err - argument. - (INTERNAL_SYSCALL_DECL): Define. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. - (INLINE_SYSCALL): Adjust. - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. - * elf/dl-misc.c (_dl_debug_vdprintf): Add INTERNAL_SYSCALL_DECL, - add err argument to INTERNAL_SYSCALL* macros. - * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise. - * sysdeps/unix/sysv/linux/i386/system.c (cancel_handler): Likewise. - * sysdeps/unix/sysv/linux/m68k/brk.c (__brk): Likewise. - * sysdeps/unix/sysv/linux/m68k/getpagesize.c (__getpagesize): - Likewise. - * sysdeps/unix/sysv/linux/sigwait.c (do_sigwait): Likewise. - * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Use - INLINE_SYSCALL instead of INTERNAL_SYSCALL and setting errno. - -2003-01-07 Ulrich Drepper - - Unify symbols in user namespace exported by libc.so and libc.a. - * argp/argp-fmtstream.c: Don't define argp_make_fmtstream, - argp_fmtstream_free, and argp_fmtstream_printf. - * argp/argp-fs-xinl.c: Don't define argp_fmtstream_putc, - argp_fmtstream_puts, argp_fmtstream_write, argp_fmtstream_set_lmargin, - argp_fmtstream_set_rmargin, argp_fmtstream_set_wmargin, and - argp_fmtstream_point. - * gmon/gmon.c: Don't define write_profiling. - * libio/genops.c: Don't define _cleanup. - - * intl/explodename.c (_nl_find_language.c): Mark as static. - * intl/loadinfo.h: Remove _nl_find_language prototype. - - * libio/fileops.c (_IO_file_seekoff_maybe_mmap): Mark as static. - * libio/libioP.h: Remove declaration. - - * libio/iopopen.c (_IO_proc_jumps): Mark as static. - * libio/libioP.h: Remove declaration. - - * sysdeps/generic/unwind-dw2.c: Mark __frame_state_for with STATIC. - * sysdeps/generic/framestate.c: Define STATIC before including - unwind-dw2.c. - - * time/Versions [GLIBC_2.3.2] (libc): Export strptime_l. - -2003-01-06 Philip Blundell - - * sysdeps/unix/arm/sysdep.S (syscall_error): Optimise a little. - [__LIBC_REENTRANT]: Unify PIC and non-PIC cases. - - * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Remove .type - directive. - (PSEUDO_RET): Use SYSCALL_ERROR in place of __syscall_error. - (SYSCALL_ERROR): New. - (SYSCALL_ERROR_HANDLER) [NOT_IN_libc]: Provide local copy of error - handling code. - (INTERNAL_SYSCALL): Define. - (INLINE_SYSCALL): Use it. - (INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): Define. - * sysdeps/unix/sysv/linux/arm/socket.S (__socket): Use - SYSCALL_ERROR in place of __syscall_error. - -2003-01-07 Jakub Jelinek - - * sysdeps/ia64/bits/byteswap.h [__GNUC__ >= 2] (__bswap_16, - __bswap_32, __bswap_64): Put x into temporary variable - to avoid warnings. - [!__GNUC__] (__bswap_16, __bswap_32, __bswap_64): Change into static - (inline) functions. - * sysdeps/s390/bits/byteswap.h [__GNUC__ >= 2] (__bswap_16, - __bswap_32, __bswap_64): Put x into temporary variable - to avoid warnings. - [!__GNUC__] (__bswap_16, __bswap_32, __bswap_64): Change into static - (inline) functions. - * sysdeps/i386/bits/byteswap.h [!__GNUC__] (__bswap_16, __bswap_32): - Likewise. - -2003-01-07 Jakub Jelinek - - * sysdeps/unix/sysv/linux/alpha/adjtime.c (ntp_adjtime): New weak - alias. - -2003-01-07 Jakub Jelinek - - * elf/rtld.c (_rtld_global): Remove _dl_dynamic_weak initializer. - * elf/dl-support.c (_dl_dynamic_weak): Initialize to 0. - -2003-01-07 Ulrich Drepper - - * math/libm-test.inc (significand_test): New function. - (main): Call it. - -2003-01-06 Roland McGrath - - * sysdeps/i386/i486/bits/string.h (memset): Add parens around macro - arguments. - (memcpy, memrchr, strcpy, __stpcpy, strncpy, strcat): Likewise. - (strcmp, strncat, strncmp, strchr, __strchrnul, strchrnul): Likewise. - (index, strrchr, rindex, strcspn, strspn, strpbrk, strstr): Likewise. - - * string/tester.c (test_strcpy): Add test with `void *' arguments. - -2003-01-06 Ulrich Drepper - - * sysdeps/i386/fpu/s_significandl.c (__significandl): Really - return significand and not the exponent. - Reported by Nelson H. F. Beebe . - - * elf/dl-misc.c (_dl_debug_vdprintf): Help PPC port by explicitly - taking address of iov in INTERNAL_SYSCALL call. Patch by Franz Sirl. - - * malloc/malloc.c: Mark all _int_* functions as static. - -2003-01-06 Jakub Jelinek - - * sysdeps/unix/alpha/sysdep.h (PSEUDO): Use PSEUDO_PREPARE_ARGS. - * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Add cancellation - handling. - * sysdeps/unix/sysv/linux/alpha/select.S: Likewise. - -2003-01-06 Franz Sirl - - * sysdeps/powerpc/powerpc32/sysdep.h (PSEUDO_RET): Add branch hint. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Add cancellation - support. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Remove - ftruncate64, truncate64, pread64 and pwrite64 entries. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h - (INLINE_SYSCALL): Add __builtin_expect. - (LOADARGS_n): Add argument size safety checks. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: New file. - -2003-01-06 Jakub Jelinek - - * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Define. - * sysdeps/generic/creat.c: Include sysdep-cancel.h. - (LIBC_CANCEL_HANDLED): Add. - - * sysdeps/unix/sysv/linux/alpha/sysdep.h - (inline_syscall_r0_constraint): Rename to... - (inline_syscall_r0_out_constraint): ... this. Add =. - (inline_syscall[0-6]): Use inline_syscall_r0_out_constraint. - -2003-01-06 Andreas Schwab - - * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Make - sure this is always inlined. - (elf_machine_rela): Likewise. - - * sysdeps/m68k/Makefile (sysdep-CFLAGS): Increase inline limit. - -2003-01-04 Roland McGrath - - * Makeconfig (+mkdep): Add -MP flag. - Suggested by Art Haas . - -2003-01-05 Andreas Schwab - - * sysdeps/m68k/Makefile (CFLAGS-.oS): Append -fPIC. - -2003-01-05 Kaz Kojima - - * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Use - SYSCALL_ERROR_HANDLER. - * sysdeps/unix/sysv/linux/sh/pipe.S (__libc_pipe): Likewise. - * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Likewise. - Add support for cancellation handling. - * sysdeps/unix/sysv/linux/sh/syscall.S (__syscall): Use - SYSCALL_ERROR_HANDLER. - * sysdeps/unix/sysv/linux/sh/vfork.S (__vfork): Likewise. - * sysdeps/unix/sysv/linux/sh/sysdep.h (PSEUDO): Likewise. - Add support for cancellation handling. - (SYSCALL_ERROR_HANDLER): Define PIC variants. - -2003-01-04 Franz Sirl - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Mark - __syscall_pread64 and __syscall_pwrite64 cancelable. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h - (INTERNAL_SYSCALL): New macro. - (LOADARGS_0, LOADARGS_1): Fix. - -2003-01-05 Ulrich Drepper - - * Makerules (build-shlip-helper): Unless told otherwise, add - -Wl,-z,defs to linker command line. - * rt/Makefile (librt.so): Link with ld.so. - * dlfcn/Makefile (libdl.so): Likewise. - -2003-01-05 Jakub Jelinek - - * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Add support for - cancellation handling. - * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: Likewise. - -2003-01-04 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/system.c (cancel_handler): Correct - order of parameters passed to kill. - -2003-01-04 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Add nanosecond fields. - -2003-01-03 Paul Eggert - - * malloc/obstack.h (__INT_TO_PTR) [__STDC__]: Cast result to - (void *) to avoid diagnostic with native c89 on SGI IRIX 6.5 - when compiling Bison 1.875's `bitset bset = obstack_alloc - (bobstack, bytes);'. Problem reported by Nelson H. F. Beebe. - -2003-01-04 Ulrich Drepper - - * sysdeps/posix/system.c (do_system): Minor optimizations. Remove - unnecessary code. - Correct reference counter in case SIGQUIT handler installation failed. - -2003-01-03 Ulrich Drepper - - * include/libc-symbols.h [HAVE_WEAK_SYMBOLS] (_weak_extern): - Define using _Pragma(weak ...). - -2003-01-03 Andreas Jaeger , Jakub Jelinek - - * resolv/res_libc.c: Provide declaration for __res_init_weak and - reorder declarations. - -2003-01-03 Art Haas - - * localedata/tests-mbwc/dat_iswalnum.c: Convert GCC extension - initializer syntax to C99. - * localedata/tests-mbwc/dat_iswalpha.c: Likewise. - * localedata/tests-mbwc/dat_iswcntrl.c: Likewise. - * localedata/tests-mbwc/dat_iswctype.c: Likewise. - * localedata/tests-mbwc/dat_iswdigit.c: Likewise. - * localedata/tests-mbwc/dat_iswgraph.c: Likewise. - * localedata/tests-mbwc/dat_iswlower.c: Likewise. - * localedata/tests-mbwc/dat_iswprint.c: Likewise. - * localedata/tests-mbwc/dat_iswpunct.c: Likewise. - * localedata/tests-mbwc/dat_iswspace.c: Likewise. - * localedata/tests-mbwc/dat_iswupper.c: Likewise. - * localedata/tests-mbwc/dat_iswxdigit.c: Likewise. - * localedata/tests-mbwc/dat_mblen.c: Likewise. - * localedata/tests-mbwc/dat_mbrlen.c: Likewise. - * localedata/tests-mbwc/dat_mbrtowc.c: Likewise. - * localedata/tests-mbwc/dat_mbsrtowcs.c: Likewise. - * localedata/tests-mbwc/dat_mbstowcs.c: Likewise. - * localedata/tests-mbwc/dat_mbtowc.c: Likewise. - * localedata/tests-mbwc/dat_strcoll.c: Likewise. - * localedata/tests-mbwc/dat_strfmon.c: Likewise. - * localedata/tests-mbwc/dat_strxfrm.c: Likewise. - * localedata/tests-mbwc/dat_swscanf.c: Likewise. - * localedata/tests-mbwc/dat_towctrans.c: Likewise. - * localedata/tests-mbwc/dat_towlower.c: Likewise. - * localedata/tests-mbwc/dat_towupper.c: Likewise. - * localedata/tests-mbwc/dat_wcrtomb.c: Likewise. - * localedata/tests-mbwc/dat_wcscat.c: Likewise. - * localedata/tests-mbwc/dat_wcschr.c: Likewise. - * localedata/tests-mbwc/dat_wcscmp.c: Likewise. - * localedata/tests-mbwc/dat_wcscoll.c: Likewise. - * localedata/tests-mbwc/dat_wcscpy.c: Likewise. - * localedata/tests-mbwc/dat_wcscspn.c: Likewise. - * localedata/tests-mbwc/dat_wcslen.c: Likewise. - * localedata/tests-mbwc/dat_wcsncat.c: Likewise. - * localedata/tests-mbwc/dat_wcsncmp.c: Likewise. - * localedata/tests-mbwc/dat_wcsncpy.c: Likewise. - * localedata/tests-mbwc/dat_wcspbrk.c: Likewise. - * localedata/tests-mbwc/dat_wcsrtombs.c: Likewise. - * localedata/tests-mbwc/dat_wcsspn.c: Likewise. - * localedata/tests-mbwc/dat_wcsstr.c: Likewise. - * localedata/tests-mbwc/dat_wcstod.c: Likewise. - * localedata/tests-mbwc/dat_wcstok.c: Likewise. - * localedata/tests-mbwc/dat_wcstombs.c: Likewise. - * localedata/tests-mbwc/dat_wcswidth.c: Likewise. - * localedata/tests-mbwc/dat_wcsxfrm.c: Likewise. - * localedata/tests-mbwc/dat_wctob.c: Likewise. - * localedata/tests-mbwc/dat_wctomb.c: Likewise. - * localedata/tests-mbwc/dat_wctrans.c: Likewise. - * localedata/tests-mbwc/dat_wctype.c: Likewise. - * localedata/tests-mbwc/dat_wcwidth.c: Likewise. - -2003-01-03 Richard Henderson - - * sysdeps/unix/sysv/linux/alpha/sysdep.h (inline_syscall_r0_asm): New. - (inline_syscall_r0_constraint): New. - (inline_syscall[0-6]): Use them. - -2003-01-03 Jakub Jelinek - - * sysdeps/generic/ldsodefs.h (_dl_allocate_tls, _dl_deallocate_tls): - Add rtld_hidden_proto. - * sysdeps/generic/dl-tls.c (_dl_deallocate_tls): Add rtld_hidden_def. - (_dl_allocate_tls): Likewise. Remove INTDEF. - -2002-07-05 Kaz Kojima - - * sysdeps/sh/memcpy.S: Optimize. Based on a patch by Toshiyasu - Morita . - * sysdeps/sh/memcpy.S: Likewise. - -2003-01-02 Ulrich Drepper - - * sysdeps/pthread/aio_suspend.c (aio_suspend): Don't quite remove - any, but unify the test. - -2003-01-02 Jakub Jelinek - - * sysdeps/unix/sysv/linux/arm/sigaction.c (__sigaction, - sigaction): Protect weak_alias and libc_hidden_weak with - #ifndef LIBC_SIGACTION. - * sysdeps/unix/sysv/linux/ia64/sigaction.c (__sigaction, - sigaction): Likewise. - * sysdeps/unix/sysv/linux/mips/sigaction.c (__sigaction, - sigaction): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c (__sigaction, - sigaction): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction, - sigaction): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction, - sigaction): Likewise. - * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__sigaction, - sigaction): Likewise. - * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction, - sigaction): Likewise. Remove SIGCANCEL handling here. - * sysdeps/unix/sysv/linux/sigaction.c (__sigaction, sigaction): - Likewise. - -2003-01-02 Art Haas - - * login/tst-utmp.c: Convert GCC extension initializer syntax to C99. - -2003-01-02 Ulrich Drepper +2002-01-16 Ulrich Drepper * posix/getconf.c: Update copyright year. * nss/getent.c: Likewise. @@ -12794,498 +10874,750 @@ * malloc/memusage.sh: Likewise. * malloc/mtrace.pl: Likewise. -2003-01-01 Jakub Jelinek +2002-01-16 Andreas Schwab - * io/sys/stat.h: Include time.h with __need_timespec even if - __USE_MISC is defined but __USE_XOPEN is not. + * sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed: Fix regexp to + reliably remove "-ia64" from rtld name. -2003-01-01 Andreas Jaeger +2002-01-16 Ulrich Drepper - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Use union - type to avoid strict aliasing problem. - (_nss_dns_gethostbyname2_r): Likewise. - * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r): Likewise. - (_nss_dns_getnetbyname_r): Likewise. - * resolv/gethnamaddr.c (_gethtent): Likewise. - (gethostbyname2): Likewise. + * iconvdata/gb18030.c: Bug fixes and support for more characters. + Patch by Yu Shao . -2002-12-31 Ulrich Drepper - - * string/string-inlines.c: Define __memcpy_g and __strchr_g macros - to avoid using the exported symbols. Define aliases with the - original names separately. - - * include/time.h: Add libc_hidden_proto for __strftime_l. - * include/wchar.h: Add libc_hidden_proto for __wcsftime_l. - * time/strftime.c: Always use libc_hidden_def if _LIBC. - - * libio/libioP.h: Add libc_hidden_proto for _IO_file_open. - * libio/fileops.c: Add libc_hidden_def for _IO_file_open. - - * malloc/mtrace.c: Add libc_hidden_proto and libc_hidden_def for - tr_break. - - * csu/Makefile (routines): Add dso_handle. - * csu/dso_handle.c: New file. - -2002-12-31 Roland McGrath - - * Makerules (compile.S, COMPILE.S): Remove -DASSEMBLER here. - Use $(S-CPPFLAGS) in place of $(asm-CPPFLAGS). - (S-CPPFLAGS): Add -DASSEMBLER here instead. - (generate-md5, +make-deps): Fix magic to get $(S-CPPFLAGS). - -2002-12-31 Ulrich Drepper - - * malloc/thread-m.h [SHARED] (thread_atfork): Assume __dso_handle - is available. - -2002-12-31 Andreas Jaeger - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Sync - with Linux kernel. - * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Likewise. - * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Likewise. - - * sysdeps/unix/sysv/linux/kernel_stat.h - (_HAVE_STAT_NSEC,_HAVE_STAT_NSEC64): New. - - * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Re-add - __unused[1-3] since they're needed by some platforms. Handle - _HAVE_STAT_NSEC and _HAVE_STAT_NSEC64. - - * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Add nsec resolution - for structs stat and stat64. - * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. - - * io/sys/stat.h [__USE_MISC]: Define __need_timespec for struct stat. - - * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Adjust for - nsec resolution changes. - (xstat64_conv): Likewise. - (xstat32_conv): Likewise. - - * sysdeps/unix/sysv/linux/kernel_stat.h: Add nsec resolution for - struct kernel_stat. - - * sysdeps/unix/sysv/linux/bits/stat.h: Add nsec resolution for - structs stat and stat64. - - * time/time.h (__timespec_defined): Define for __USE_MISC. - -2002-12-31 Ulrich Drepper - - * include/signal.h: Add libc_hidden_proto for __libc_current_sigrtmin - and __libc_current_sigrtmax. - -2002-12-31 Jakub Jelinek - - * include/errno.h (__errno_location): Add prototype. - Use libc_hidden_proto unconditionally. - * include/netdb.h (__h_errno_location): Use libc_hidden_proto - unconditionally. - * include/resolv.h (__res_state): Likewise. - - * hurd/errno-loc.c (__errno_location): Add libc_hidden_def. - * include/sys/socket.h (accept): Add libc_hidden_proto. - * include/errno.h (__errno_location): Likewise. - * include/netdb.h (__h_errno_location): Likewise. - * include/resolv.h (__res_state): Likewise. - * include/unistd.h (__lseek): Likewise. - * sysdeps/generic/errno-loc.c (__errno_location): Add libc_hidden_def. - * sysdeps/generic/herrno-loc.c (__h_errno_location): Likewise. - * sysdeps/generic/res-state.c (__res_state): Likewise. - * sysdeps/generic/accept.c (accept): Likewise. - * sysdeps/generic/lseek.c (__lseek): Likewise. - * sysdeps/generic/allocrtsig.c (__libc_current_sigrtmin, - __libc_current_sigrtmax): Likewise. - * sysdeps/mach/hurd/accept.c (accept): Likewise. - * sysdeps/mach/hurd/lseek.c (__lseek): Likewise. - * sysdeps/unix/sysv/aix/accept.c (accept): Likewise. - * sysdeps/unix/sysv/aix/lseek.c (__lseek): Likewise. - * sysdeps/unix/sysv/linux/accept.S (accept): Likewise. - * sysdeps/unix/inet/syscalls.list (__GI_accept): New alias to accept. - * sysdeps/unix/sysv/linux/alpha/syscalls.list (__GI_accept): Likewise. - * sysdeps/unix/sysv/linux/hppa/syscalls.list (__GI_accept): Likewise. - * sysdeps/unix/sysv/linux/ia64/syscalls.list (__GI___lseek): New - alias to llseek. - (__GI_accept): New alias to accept. - * sysdeps/unix/sysv/linux/mips/syscalls.list (__GI_accept): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (__GI___lseek): - New alias to llseek. - (__GI_accept): New alias to accept. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__GI_accept): - Likewise. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list (__GI_accept): - Likewise. - * sysdeps/unix/syscalls.list (__GI___lseek): New alias to lseek. - - * sysdeps/alpha/setjmp.S : Use libc_hidden_def(name) instead of - strong_alias (name, __GI_name). - * sysdeps/arm/bsd-_setjmp.S : Likewise. - * sysdeps/hppa/bsd-_setjmp.S : Likewise. - * sysdeps/i386/bsd-_setjmp.S : Likewise. - * sysdeps/mips/mips64/bsd-_setjmp.S : Likewise. - * sysdeps/mips/bsd-_setjmp.S : Likewise. - * sysdeps/powerpc/powerpc32/bsd-_setjmp.S : Likewise. - * sysdeps/powerpc/powerpc64/setjmp.S : Likewise. - * sysdeps/s390/s390-32/elf/setjmp.S : Likewise. - * sysdeps/s390/s390-32/bsd-_setjmp.S : Likewise. - * sysdeps/s390/s390-64/elf/setjmp.S : Likewise. - * sysdeps/s390/s390-64/bsd-_setjmp.S : Likewise. - * sysdeps/sh/bsd-_setjmp.S : Likewise. - * sysdeps/sparc/sparc32/setjmp.S : Likewise. - * sysdeps/unix/arm/fork.S : Likewise. - * sysdeps/unix/bsd/hp/m68k/vfork.S : Likewise. - * sysdeps/unix/bsd/i386/vfork.S : Likewise. - * sysdeps/unix/bsd/osf/alpha/fork.S : Likewise. - * sysdeps/unix/bsd/sun/m68k/vfork.S : Likewise. - * sysdeps/unix/bsd/ultrix4/mips/vfork.S : Likewise. - * sysdeps/unix/bsd/vax/vfork.S : Likewise. - * sysdeps/unix/i386/fork.S : Likewise. - * sysdeps/unix/mips/fork.S : Likewise. - * sysdeps/unix/sparc/fork.S : Likewise. - * sysdeps/unix/sparc/vfork.S : Likewise. - * sysdeps/unix/sysv/linux/arm/vfork.S : Likewise. - * sysdeps/unix/sysv/linux/cris/vfork.S : Likewise. - * sysdeps/unix/sysv/linux/i386/vfork.S : Likewise. - * sysdeps/unix/sysv/linux/ia64/fork.S : Likewise. - * sysdeps/unix/sysv/linux/ia64/setjmp.S : Likewise. - * sysdeps/unix/sysv/linux/ia64/vfork.S : Likewise. - * sysdeps/unix/sysv/linux/m68k/vfork.S : Likewise. - * sysdeps/unix/sysv/linux/sh/vfork.S : Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S : Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S : Likewise. - * sysdeps/unix/sysv/linux/sparc/fork.S : Likewise. - * sysdeps/unix/sysv/linux/sparc/vfork.S : Likewise. - * sysdeps/unix/sysv/linux/x86_64/vfork.S : Likewise. - * sysdeps/unix/fork.S : Likewise. - * sysdeps/vax/bsd-_setjmp.S : Likewise. - * sysdeps/x86_64/bsd-_setjmp.S : Likewise. - - * sysdeps/unix/sysv/linux/ia64/sysdep.h: Guard against multiple - inclusion. - -2002-12-31 Ulrich Drepper - - * include/unistd.h: Add libc_hidden_proto for __fork and __vfork. - * sysdeps/generic/fork.c: Add libc_hidden_def for __fork. - * sysdeps/mach/hurd/fork.c: Likewise. - * sysdeps/unix/sysv/aix/fork.c: Likewise. - * sysdeps/unix/fork.S: Add __GI___fork alias. - * sysdeps/unix/arm/fork.S: Likewise. - * sysdeps/unix/bsd/osf/alpha/fork.S: Likewise. - * sysdeps/unix/i386/fork.S: Likewise. - * sysdeps/unix/mips/fork.S: Likewise. - * sysdeps/unix/sparc/fork.S: Likewise. - * sysdeps/unix/sysv/linux/ia64/fork.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/fork.S: Likewise. - * sysdeps/unix/sysv/linux/syscalls.list: Likewise. - * sysdeps/generic/vfork.c: Add libc_hidden_def for __vfork. - * sysdeps/unix/bsd/hp/m68k/vfork.S: Add __GI___vfork alias. - * sysdeps/unix/bsd/i386/vfork.S: Likewise. - * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise. - * sysdeps/unix/bsd/ultrix4/mips/vfork.S: Likewise. - * sysdeps/unix/bsd/vax/vfork.S: Likewise. - * sysdeps/unix/sparc/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/cris/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise. - - * include/time.h: Add libc_hidden_proto for __nanosleep. - * sysdeps/generic/nanosleep.c: Add libc_hidden_def for __nanosleep. - * sysdeps/mach/nanosleep.c: Likewise. - * sysdeps/unix/sysv/aix/nanosleep.c: Likewise. - * sysdeps/unix/sysv/linux/syscalls.list: Add __GI___nanosleep alias. - - * libio/libioP.h: Add libc_hidden_proto for _IO_list_lock, - _IO_list_unlock, and _IO_list_resetlock. - * libio/genops.c: Add libc_hidden_def for _IO_list_lock, - _IO_list_unlock, and _IO_list_resetlock. - - * libio/libioP.h: Add libc_hidden_proto for _IO_iter_begin, - _IO_iter_end, _IO_iter_next, and _IO_iter_file. - * libio/genops.c: Add libc_hidden_def for _IO_iter_begin, - _IO_iter_end, _IO_iter_next, and _IO_iter_file. - - * include/setjmp.h: Add libc_hidden_proto for __libc_longjmp. - * sysdeps/generic/longjmp.c: Add libc_hidden_def for __longjmp. - * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add - __GI___longjmp alias. - - * include/setjmp.h: Add libc_hidden_proto for _setjmp. - * sysdeps/alpha/setjmp.S: Add __GI__setjmp alias. - * sysdeps/arm/bsd-_setjmp.S: Likewise. - * sysdeps/generic/bsd-_setjmp.c: Likewise. - * sysdeps/hppa/bsd-_setjmp.S: Likewise. - * sysdeps/i386/bsd-_setjmp.S: Likewise. - * sysdeps/m68k/bsd-_setjmp.c: Likewise. - * sysdeps/mips/bsd-_setjmp.S: Likewise. - * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise. - * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise. - * sysdeps/powerpc/powerpc64/setjmp.S: Likewise. - * sysdeps/s390/s390-32/bsd-_setjmp.S: Likewise. - * sysdeps/s390/s390-32/elf/setjmp.S: Likewise. - * sysdeps/s390/s390-64/bsd-_setjmp.S: Likewise. - * sysdeps/s390/s390-64/elf/setjmp.S: Likewise. - * sysdeps/sh/bsd-_setjmp.S: Likewise. - * sysdeps/sparc/sparc32/setjmp.S: Likewise. - * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise. - * sysdeps/vax/bsd-_setjmp.S: Likewise. - * sysdeps/x86_64/bsd-_setjmp.S: Likewise. - -2002-12-30 Ulrich Drepper - - * malloc/thread-m.h (thread_atfork): Define using __register_atfork. - -2002-12-30 Roland McGrath - - * Rules (generated): Target removed. - * mach/Makefile (generated): Define it here instead. - - * math/Makefile (generated): Add m_*l and m_*f variants too. - -2002-12-30 Ulrich Drepper - - * elf/dl-close.c (_dl_close): Handle relocation dependencies among - the to-be-deleted objects right away instead of later separately. - The latter fails because the scope data structures of the DSO - might already be gone. - - * elf/Makefile: Add rules to build and run reldep8 test. - * elf/reldep8.c: New file. - * elf/reldep8mod1.c: New file. - * elf/reldep8mod2.c: New file. - * elf/reldep8mod3.c: New file. - Contributed by Jakub Jelinek. - -2002-12-24 GOTO Masanori - - * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Fix condition - checking of return value ENOSYS from getdents64. - -2002-12-28 Andreas Schwab - - * sysdeps/unix/Makefile: Include $(common-objpfx)s-proto-cancel.d. - ($(common-objpfx)s-%.d): Generalized from - $(common-objpfx)s-proto.d rule. - (common-generated): Add s-proto-cancel.d. - * sysdeps/unix/make-syscalls.sh: Use s-proto-cancel.d for - cancellable syscalls. - * sysdeps/unix/s-proto-cancel.S: New file. - -2002-12-29 Roland McGrath - - * resolv/res_libc.c: Move _res defn magic after res_init defn - so _res macro is in effect for that code. - - * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Fix sed - pattern for prepending $(..) so it doesn't affect $(foo). - - * math/Makefile (generated): Add $(addsuffix .c .S,$(calls:s_%=m_%)). - -2002-12-29 Jakub Jelinek - - * elf/cache.c (add_to_cache): Don't loop forever with 1ULL << 63 set - in hwcap. - -2002-12-28 Ulrich Drepper - - * misc/sys/cdefs.h (__attribute_deprecated__): New #define. - -2002-12-28 Andreas Jaeger - - * sysdeps/generic/readelflib.c (process_elf_file): Cast value to - avoid warning. - * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise. - -2002-12-27 Jakub Jelinek - - * inet/herrno.c (__h_errno_location): Remove. - * inet/Makefile (routines): Add herrno-loc. - * resolv/res_libc.c (__res_state): Remove. - * resolv/Makefile (routines): Add res-state. - * sysdeps/generic/herrno-loc.c: New file. - * sysdeps/generic/res-state.c: New file. +2002-01-16 Martin Schwidefsky -2002-12-27 Jakub Jelinek + * sysdeps/unix/sysv/linux/s390/swapcontext.c: Remove. + * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: New file. - * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER): - Only define if USE_DL_SYSINFO is defined. +2002-01-14 Martin Schwidefsky -2002-12-22 Jakub Jelinek + * sysdeps/s390/fpu/libm-test-ulps: Update. - * sysdeps/unix/sysv/linux/ia64/sysdep.h (INLINE_SYSCALL, - INTERNAL_SYSCALL, INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERROR): - Define. Patch by Richard Henderson and Jes Sorensen. - (PSEUDO): Remove unnecessary ;;. - * elf/rtld.c (dl_main): Initialize TLS even if no PT_TLS segments - are found unless TLS_INIT_TP_EXPENSIVE. Use NONTLS_INIT_TP. - * sysdeps/generic/libc-tls.c (__libc_setup_tls): Use NONTLS_INIT_TP - if not initializing thread pointer. - [!USE_TLS && NONTLS_INIT_TP] (__pthread_initialize_minimal): New. - * sysdeps/generic/libc-start.c (__pthread_initialize_minimal): Don't - make it weak also if NONTLS_INIT_TP. - * sysdeps/unix/common/pause.c: Handle cancellation. - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h [DONT_LOAD_G1] - (LOADSYSCALL): Remove. - (SYSCALL_ERROR_HANDLER_ENTRY): Define. - (SYSCALL_ERROR_HANDLER): Use it. - (PSEUDO): Don't jump around error handler. - * sysdeps/unix/sysv/linux/sparc/sparc32/pipe.S (__libc_pipe): Don't - jump around error handler. - * sysdeps/unix/sysv/linux/sparc/sparc32/syscall.S (syscall): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S (__socket): Branch - to __syscall_error_handler on failure. - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h [DONT_LOAD_G1] - (LOADSYSCALL): Remove. - (SYSCALL_ERROR_HANDLER_ENTRY): Define. - (SYSCALL_ERROR_HANDLER): Use it. - (PSEUDO): Don't jump around error handler. - * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S (__libc_pipe): Don't - jump around error handler. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S (syscall): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S (__socket): Branch - to __syscall_error_handler on failure. +2002-01-11 Ulrich Drepper -2002-12-27 Roland McGrath + * elf/elf.h: Update x86 relocations. - * scripts/gen-as-const.awk: New file. - * Makefile (distribute): Add it. - * Makerules ($(common-objpfx)%.h %.h.d: %.sym): New pattern rule. - (before-compile): Add $(gen-as-const-headers:%.sym=$(common-objpfx)%.h) - to the list. - (+depfiles): Add $(addprefix $(common-objpfx),$(gen-as-const-headers)). +2002-01-10 Ulrich Drepper -2002-12-27 Andreas Schwab + * locale/programs/charmap.c (new_width): Check whether byte + sequences for both ends of range have the same length. - * sysdeps/unix/sysv/linux/m68k/socket.S: Add cancellation support. +2002-01-09 Jakub Jelinek -2002-12-27 Jakub Jelinek + * elf/elf.h (SHN_UNDEF): Remove duplicate definition. - * malloc/arena.c (ptmalloc_init): Don't call next_env_entry if - _environ is NULL. +2002-01-09 Jakub Jelinek -2002-12-27 Andreas Schwab + * sysdeps/alpha/fpu/e_sqrt.c (__ieee754_sqrt): Don't use multi-line + string literals. + (__full_ieee754_sqrt): Add __attribute_used__. - * Makerules ($(common-objpfx)%.make): Filter through - $(sed-remove-objpfx). +2002-01-10 Ulrich Drepper -2002-12-23 Roland McGrath + * sysdeps/generic/group_member.c (__group_member): Also check + groups[0] [PR libc/2781]. - * scripts/abilist.awk: Produce a more compact format, divided into - stanzas for each version set, the set name listed only once. - * scripts/extract-abilist.awk: New file. - * scripts/merge-abilist.awk: New file. - * Makerules (check-abi-%, update-abi-%): New pattern rules. - (update-abi, check-abi): New targets. - * Makefile (+subdir_targets): Add subdir_{check,update}-abi. +2002-01-08 Ulrich Drepper -2002-12-19 Roland McGrath + * Makefile (distribute): Add scripts/cpp. + * elf/Makefile (distribute): Add reldep6mod[01234].c, + unwind-dw2.c, unwind-dw2-fde.c, unwind.h, unwind-pe.h, + unwind-dw2-fde.h, and dwarf2.h. + * sysdeps/unix/bsd/bsd4.4/Dist: New file. + * sysdeps/unix/sysv/aix/Dist: Add sysv_termio.h and start-libc.c. + * sysdeps/unix/sysv/linux/ia64/Dist: Add ldd-rewrite.sed. + * sysdeps/unix/sysv/linux/s390/Dist: Likewise. - * Makerules (%.symlist): Use LC_ALL=C when running awk script. +2002-01-07 Roland McGrath - * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Cast result of - INTERNAL_SYSCALL. + * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Use + volatile on type of ARGC so the compiler doesn't get clever. -2002-12-21 Andreas Schwab +2002-01-07 Andreas Jaeger - * elf/check-textrel.c (handle_file): Swap p_type. + * sysdeps/generic/bits/byteswap.h: Prevent double inclusion. + * sysdeps/i386/bits/byteswap.h: Likewise. + * sysdeps/ia64/bits/byteswap.h: Likewise. + * sysdeps/m68k/bits/byteswap.h: Likewise. + * sysdeps/s390/s390-32/bits/byteswap.h: Likewise. + * sysdeps/s390/s390-64/bits/byteswap.h: Likewise [PR libc/2757]. -2002-12-21 Andreas Schwab +2002-01-02 Bruno Haible - * sysdeps/unix/sysv/linux/m68k/sysdep.h (INTERNAL_SYSCALL): Define. - (INLINE_SYSCALL): Use it. - (INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): Define. - (SYSCALL_ERROR_HANDLER): Define RTLD_PRIVATE_ERRNO variant. + * intl/plural.y: Fix %expect count. - * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Use INTERNAL_SYSCALL. - * sysdeps/unix/sysv/linux/m68k/brk.c: Likewise. +2002-01-03 Jakub Jelinek -2002-12-20 Art Haas + * elf/Makefile (routines, shared-only-routines): Add + unwind-dw2-fde-glibc instead of unwind-dw2-fde. + * elf/elf.h (PT_GNU_EH_FRAME): Define. + * sysdeps/generic/unwind-dw2-fde-glibc.c: New file. + * sysdeps/generic/unwind-dw2-fde.c (__register_frame_info_bases): + Optimize if .eh_frame section contains no FDEs. + (__register_frame, __deregister_frame_info_bases, + __deregister_frame): Likewise. + * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Fix + DW_CFA_restore handling. - * sysdeps/gnu/siglist.c: Convert GCC extension initializer - syntax to C99. +2002-01-07 Stephen L Moshier -2002-12-21 Philip Blundell + * sysdeps/ieee754/ldbl-96/s_erfl.c (erfcl): Fix K&R header. - * sysdeps/arm/elf/start.S (_start): Optimise a little. Push stack - top as seventh arg to __libc_start_main. - Reported by paulnash@wildseed.com. + * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Fix typo in test + for x < 0.25 and restore original range reduction method. + (__ieee754_lgammal_r): Make sure signgam is set before returning. - * sysdeps/unix/sysv/linux/arm/clone.S: Small optimisation. +2002-01-07 Ulrich Drepper - * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Elide - compatibility cruft when new enough kernel is assumed. + * libio/fileops.c (_IO_file_underflow_mmap): New function. + (_IO_file_close_mmap): New function. + (_IO_file_jumps_mmap): New variable. + * libio/wfileops.c (_IO_wfile_underflow): Reset read pointer before + trying to convert rest of byte buffer. + (_IO_wfile_underflow_mmap): New function. + (_IO_wfile_jumps_mmap): New variable. + * libio/iofopen.c (__fopen_maybe_mmap): New function. + (__fopen_internal): New function. Split out from _IO_new_fopen. + (_IO_new_fopen): Call __fopen_internal. + * libio/iofopen64.c: Just call __fopen_internal. + * libio/iofdopen.c: Call __fopen_maybe_mmap before returning + successfully. + * libio/iolibio.h: Declare __fopen_internal and __fopen_maybe_mmap. + * libio/libioP.h: Declare _IO_file_jumps_mmap, _IO_wfile_jumps_mmap, + _IO_file_close_mmap. -2002-12-20 Jakub Jelinek + * sysdeps/gnu/_G_config.h: Define _G_MMAP64. + * sysdeps/unix/sysv/linux/cris/_G_config.h: Likewise. - * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use INTERNAL_SYSCALL - instead of INLINE_SYSCALL. + * stdio-common/Makefile (tests): Add tst-rndseek. + * stdio-common/tst-rndseek.c: New file. -2002-12-20 Ulrich Drepper +2002-01-05 Roland McGrath - * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Fix - typo. + * config.h.in (HAVE_MIG_RETCODE): New #undef. + * sysdeps/mach/hurd/configure.in (hurd_MIG_RETCODE: New macro + swiped from hurd package's aclocal.m4; use it to set HAVE_MIG_RETCODE. + * sysdeps/mach/hurd/configure: Regenerated. - * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Define SHM_HUGETLB. - * sysdeps/unix/sysv/linux/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise. - Patch by William Lee Irwin . +2002-01-03 Ulrich Drepper -2002-12-20 Andreas Schwab + * elf/elf.h: Add more TLS definitions. - * locale/programs/ld-measurement.c (measurement_output): Fix - index calculation. +2002-01-02 Ulrich Drepper -2002-12-20 Ulrich Drepper + * include/features.h (__GLIBC_MINOR__): Bump to 3. - * include/libio.h [_IO_MTSAFE_IO && _IO_lock_inexpensive]: - Redefine _IO_flockifle and _IO_funlockfile as inlines. +2002-01-02 Roland McGrath - * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): For TLS - builds add "tls" in the search path. - * elf/ldconfig.c (is_hwcap_platform): Also recognize "tls". - (path_hwcap): Recognize "tls". + * sysdeps/mach/hurd/sigwait.c (__sigwait): Use __sigandset, + __sigisemptyset. Don't use MASK uninitialized. -2002-12-19 Ulrich Drepper + * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Use __sigorset. + * hurd/hurdinit.c (_hurd_new_proc_init): Use __sigisemptyset. + * hurd/hurdsig.c (_hurd_internal_post_signal): Use __sigismember, + __sigdelset, __sigaddset, __sigorset. - * sysdeps/unix/sysv/linux/i386/system.c (cancel_handler): Use - __waitpid instead of waitpid. + * sysdeps/generic/htonl.c: Use uint32_t instead of u_int32_t. + * sysdeps/generic/htons.c: Use uint16_t instead of u_int16_t. - * sysdeps/unix/sysv/linux/i386/_exit.S: Use ENTER_KERNEL instead of - int $0x80. - * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise. - * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise. - * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise. + * hurd/hurdinit.c (_hurd_ports_use): Return EGRATUITOUS when + _hurd_ports is null. - * sysdeps/unix/sysv/linux/i386/sysdep.h: Add support to use AT_SYSINFO - information for system calls. + * hurd/hurdsig.c (_hurdsig_init): Conditionalize exception port setup + for old CMU and new OSF Mach interface flavors. + * hurd/hurdfault.c (_hurdsig_fault_init): Likewise. + * sysdeps/mach/hurd/fork.c (__fork): Likewise. - * sysdeps/generic/dl-sysdep.h: Define RTLD_PRIVATE_ERRNO to 1 only - for ld.so. + * hurd/hurdsig.c (_hurd_internal_post_signal): Leave msgh_seqno unset. - * elf/rtld.c (_dl_start) [USE___THREAD]: Define initdtv. + * sysdeps/mach/hurd/spawni.c (__spawni) [KERN_INVALID_LEDGER]: + Pass extra arguments to task_create for OSF variant. + * sysdeps/mach/hurd/fork.c (__fork): Likewise. -2002-12-19 Roland McGrath + * sysdeps/powerpc/elf/libc-start.c: Make AUXVEC diddling code + conditional on [HAVE_AUX_VECTOR]. - * iconvdata/ibm856.h: Convert GCC extension initializer syntax to C99. + * mach/mach/mach_traps.h (thread_switch, __thread_switch): Use + mach_msg_timeout_t as type of final argument. + + * hurd/privports.c (__get_privileged_ports): + Change host_priv_t to mach_port_t in argument type. + * hurd/hurd.h (get_privileged_ports, __get_privileged_ports): + Update decls. + + * sysdeps/mach/hurd/i386/bits/sigcontext.h: Protect from + multiple inclusion. Inhibit #error under [_SYS_UCONTEXT_H]. + * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise. + * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise. + * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise. + * sysdeps/mach/hurd/powerpc/bits/sigcontext.h: Likewise. + +2002-01-01 Roland McGrath + + * sysdeps/mach/hurd/errnos.awk: Tighten up device_types.h matching. + +2002-01-01 Ulrich Drepper + + * include/stdlib.h: Define inlines for the _l variants of the strto* + functions. + +2002-01-01 Roland McGrath + + * sysdeps/mach/hurd/powerpc/intr-msg.h: Remove extraneous backslash. + + * mach/Machrules (MIG): Set CPP as well as CC. + +2001-12-31 Ulrich Drepper + + * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Always use C + locale to parse /proc/loadavg [PR libc/2760]. + +2001-12-31 Jakub Jelinek + + * elf/dl-conflict.c: Include sys/param.h. + (RESOLVE_CONFLICT_FIND_MAP): Cast r_offset to ElfW(Addr). + * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Avoid + warning. + (TRAMPOLINE_TEMPLATE, RTLD_START): Don't use multi-line string + literals to avoid warnings. + +2001-12-31 Andreas Jaeger + + * configure.in: Don't check for gsed since we do not use it anywhere. + +2001-12-25 Dmitry V. Levin + + * io/fts.c: Update from BSD to fix memory leaks. + +2001-12-25 Dmitry V. Levin + + * crypt/md5-crypt.c: Realloc error handling memory leak fix. + * elf/chroot_canon.c: Likewise. + * elf/dl-object.c: Likewise. + * iconv/iconv_charmap.c: Likewise. + * iconv/iconv_prog.c: Likewise. + * libio/iogetdelim.c: Likewise. + * locale/lc-time.c: Likewise. + * stdlib/canonicalize.c: Likewise. + * sunrpc/svc.c: Likewise. + * sysdeps/generic/glob.c: Likewise. + +2001-12-19 Martin Schwidefsky + + * sysdeps/unix/sysv/linux/s390/profil-counter.h: Move/copy to ... + * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h: ... here, + remove high order bit from the program counter. + * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h: ... and here. + +2001-12-19 Martin Schwidefsky + + * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Remove + unnecessary code and add missing reloc types. + * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Add empty + case for reloc type R_390_NONE. + +2001-12-28 Andreas Jaeger + + * io/bug-ftw3.c: Include string.h for prototypes. + + * crypt/md5test.c (main): Remove unused variable. + + * dlfcn/modstatic.c: Add prototype to avoid warning. + +2001-12-26 Roland McGrath + + * sysdeps/mach/hurd/sigwait.c (__sigwait): When returning immediately, + check only (SS->pending & MASK) for the signal to return. + From Jeroen Dekkers . + +2001-12-22 Roland McGrath + + * iconv/skeleton.c [!RESET_INPUT_BUFFER && !SAVE_RESET_STATE]: + Use preprocessor #if conditionals instead of `if' to avoid + warnings about divide by zero in dead code. + + * hurd/Versions (libc: GLIBC_2.2.5): Add _hurd_port_set, + _hurd_port_init, and __hurd_self_sigstate. + + * mach/Versions (libc: GLIBC_2.2.5): Add mig_strncpy. + +2001-12-21 Andreas Jaeger + + * elf/dblloadmod1.c: Add prototype to avoid warning. + * elf/dblloadmod2.c: Likewise. + * elf/dblloadmod3.c: Likewise. + * elf/reldepmod5.c: Likewise. + * elf/reldepmod6.c: Likewise. + + * elf/dl-conflict.c (_dl_resolve_conflicts): Add unused attribute + for resolve_conflict_map since RESOLVE_CONFLICT_FIND_MAP is not + used on all architectures. + + * sunrpc/svc_tcp.c: Add noreturn attribute for + svctcp_rendezvous_abort. + * sunrpc/svc_unix.c: Likewise for svcunix_rendezvous_abort. + + * sysdeps/generic/strstr.c (strstr): Add paranthese for assignment + to avoid warning. + +2001-12-19 Jakub Jelinek + + * manual/llio.texi (aio_fsync): Fix a typo. + Patch by Tammy Fox . + +2001-12-18 Jakub Jelinek + + * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (clone): Subtract + stack bias from child stack pointer before passing it to clone syscall. + +2001-12-18 Ulrich Drepper + + * sysdeps/posix/sysconf.c (__sysconf): Respect POSIX minimum for + _SC_TZNAME_MAX. + * sysdeps/generic/sysconf.c (__sysconf): Likewise. + Reported by Thorsten Kukuk . + + * sysdeps/unix/grantpt.c (grantpt): Correct typo in comment and + add some casts. + + * sysdeps/unix/sysv/linux/grantpt.c: Make __unix_grantpt static. + +2001-12-18 Thorsten Kukuk + + * sysdeps/unix/sysv/linux/grantpt.c: Make errno results standard + conforming: return EBADF if file descriptor is invalid and EINVAL + if file descriptor is no valid tty. + * login/tst-grantpt.c: New file. + * login/Makefile (tests): Add tst-grantpt. + +2001-12-17 Ulrich Drepper + + * io/ftw.c (ftw_dir): Handle inaccessibility of toplevel dir + different than implemented in last patch. + * io/bug-ftw3.c: Adjust test for changed handling of + inaccessibility of toplevel dir. + +2001-12-16 Roland McGrath + + * nss/nsswitch.c (__nss_next): Don't use __FUNCTION__ as literal. + * grp/initgroups.c (internal_getgrouplist): Likewise. + + * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add `break' after + `default:' to silence new GCC warning. + Rewrite cast of lvalue to silence new GCC warning. + + * sysdeps/mach/hurd/i386/init-first.c: Avoid multi-line strings in asm. + + * sysdeps/mach/hurd/spawni.c: New file, by me with a + couple fixes by Neal H Walfield . + +2001-12-14 Ulrich Drepper + + * sysdeps/generic/strstr.c (strstr): Update. New optimized version. + Patch by Stephen R. van den Berg. + + * crypt/md5.h: Define md5_uintptr. + +2001-12-13 Ulrich Drepper + + * libio/tst_swprintf.c (main): Add test for string argument with + zero precision. + * stdio-common/Makefile (tests): Add tst-sprintf. + * stdio-common/tst-sprintf.c: New file. + +2001-12-13 Andreas Schwab + + * stdio-common/vfprintf.c (process_string_arg): Correctly handle + zero precision with wide character string format. + +2001-12-13 Thorsten Kukuk + + * sysdeps/posix/cuserid.c (cuserid): If we don't find the UID, + but have a user supplied buffer, return the empty buffer, not NULL. + +2001-12-13 Ulrich Drepper + + * crypt/md5.c (md5_process_bytes): Correct handling of alignment. + Patch by Eric Sharkey . + + * crypt/md5test.c (main): Add test for multiple calls to + __md5_process_bytes to itererate over input string. + +2001-12-12 Ulrich Drepper + + * nis/nis_findserv.c (__nis_findfastest_with_timeout): Mostly the code + from __nis_findfastest. Take timeout value from parameter. + (__nis_findfastest): Call __nis_findfastest_with_timeout repeatedly. + * nis/nis_intern.h: Define parameters controlling __nis_findfastest + [PR libc/2520]. Patch by Alexander Belopolsky . + +2001-12-12 Andreas Jaeger + + * configure.in: Use -nostartfiles -nostdlib for linker tests, fix + combreloc test so that it works in this case. + + * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix typo in last patch. + +2001-12-12 NIIBE Yutaka + + * sysdeps/sh/Makefile: New file. + * sysdeps/sh/_mcount.S: New file. + * sysdeps/sh/sysdep.h (CALL_MCOUNT): Implemented. + * sysdeps/sh/machine-gmon.h: Remove "NOTYET" comment, as we are ready. + +2001-12-11 Ulrich Drepper + + * resolv/nss_dns/dns-host.c (getanswer_r): Remove MAX_NR_ADDRS + limitation [PR libc/2564]. + +2001-12-11 Jakub Jelinek + + * elf/Makefile (dl-routines): Add conflict. + (rtld-ldscript-in, rtld-ldscript, rtld-parms): Remove. + (ld.so): Add _begin local symbol. + * elf/elf.h (DT_VALTAGIDX, DT_VALNUM, DT_ADDRTAGIDX, DT_ADDRNUM): + Define. + * elf/dl-deps.c (_dl_build_local_scope): New function. + (_dl_map_object_deps): If LD_TRACE_PRELINKING, compute local scopes + of all libraries. + * elf/do-rel.h (VALIDX): Define. + (elf_dynamic_do_rel): If ELF_MACHINE_PLT_REL is defined, don't do + lazy binding for RELA. If DT_GNU_PRELINKED, DT_RELACOUNT relocations + can be skipped. + * elf/dl-conflict.c: New file. + * elf/dl-lookup.c (_dl_debug_bindings): New function. + (_dl_lookup_symbol): Use _dl_debug_bindings. Reference_name is always + non-NULL. + (_dl_lookup_symbol_skip): Likewise. + (_dl_lookup_versioned_symbol): Likewise. + (_dl_lookup_versioned_symbol_skip): Likewise. + * elf/dl-runtime.c (PLTREL): If ELF_MACHINE_PLT_REL is defined, + define to ElfW(Rel). + * elf/dynamic-link.h (elf_get_dynamic_info): Record selected dynamic + tags in the DT_VALRNGLO..DT_VALRNGHI and DT_ADDRRNGLO..DT_ADDRRNGHI + ranges. + Don't adjust address dynamic tags if l_addr is 0. + * elf/rtld.c (_dl_trace_prelink, _dl_trace_prelink_map): New variables. + (_dl_start): Skip ELF_DYNAMIC_RELOCATE if ld.so is prelinked. + (VALIDX, ADDRIDX): Define. + (_dl_start_final): Initialize _dl_rtld_map's l_map_start and l_map_end. + (dl_main): Print library list for LD_TRACE_PRELINKING. + If prelinking information can be used, skip relocating libraries and + call _dl_resolve_conflicts instead. + (process_envvars): Handle LD_TRACE_PRELINKING envvar. + * elf/dl-load.c (_dl_map_object): Don't create fake libs + if LD_TRACE_PRELINKING. + * include/link.h (struct link_map) [l_info]: Add DT_VALNUM + + DT_ADDRNUM. + * sysdeps/generic/ldsodefs.h (_dl_trace_prelink_map): New declaration. + (DL_DEBUG_PRELINK): Define. + (_dl_resolve_conflicts): Add prototype. + + * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Reinitialize + .plt for prelinked libraries where prelinking info cannot be used. + (elf_machine_rela): If relocating R_ALPHA_JMP_SLOT in .gnu.conflict + section, use RESOLVE_CONFLICT_FIND_MAP to find out reloc's link_map. + * sysdeps/arm/bits/link.h: New file. + * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Save original + content of .got[1]. + (ELF_MACHINE_NO_RELA): Only define if RTLD_BOOTSTRAP. + (ELF_MACHINE_PLT_REL): Define. + (elf_machine_rela, elf_machine_rela_relative): New functions. + (elf_machine_lazy_rel): Reinitialize R_ARM_JUMP_SLOT address instead + of adjusting it if prelinked and prelinking cannot be used. + * sysdeps/i386/bits/link.h: New file. + * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Save original + content of .got[1]. + (ELF_MACHINE_NO_RELA): Only define if RTLD_BOOTSTRAP. + (ELF_MACHINE_PLT_REL): Define. + (elf_machine_rela, elf_machine_rela_relative): New functions. + (elf_machine_lazy_rel): Reinitialize R_386_JUMP_SLOT address instead + of adjusting it if prelinked and prelinking cannot be used. + * sysdeps/powerpc/dl-machine.h (elf_machine_rela): If relocating + conflicts, skip finaladdr computation. Use RESOLVE_CONFLICT_FIND_MAP + to find out map for R_PPC_JMP_SLOT relocs. + * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Define. + (OPCODE_BA): Define. + (elf_machine_runtime_setup): Reinitialize .plt for prelinked + libraries where prelinking info cannot be used. + (sparc_fixup_plt): Renamed from elf_machine_fixup_plt. + (elf_machine_fixup_plt): Call sparc_fixup_plt. + (elf_machine_rela): Set value to 0 if relocating conflicts. + Call sparc_fixup_plt for R_SPARC_JMP_SLOT. + * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Define. + (sparc64_fixup_plt): Fix a typo. + (elf_machine_rela): Set value to 0 if relocating conflicts. + Handle R_SPARC_JMP_SLOT relocs when relocating conflicts. + (elf_machine_runtime_setup): Reinitialize .plt for prelinked + libraries where prelinking info cannot be used. + * sysdeps/sh/bits/link.h: New file. + * sysdeps/sh/dl-machine.h (elf_machine_runtime_setup): Save original + content of .got[1]. + (elf_machine_lazy_rel): Reinitialize R_SH_JMP_SLOT address instead + of adjusting it if prelinked and prelinking cannot be used. + * sysdeps/s390/s390-32/bits/link.h: New file. + * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup): + Save original content of .got[1]. + (elf_machine_lazy_rel): Reinitialize R_390_JMP_SLOT address instead + of adjusting it if prelinked and prelinking cannot be used. + * sysdeps/s390/s390-64/bits/link.h: New file. + * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup): + Save original content of .got[1]. + (elf_machine_lazy_rel): Reinitialize R_390_JMP_SLOT address instead + of adjusting it if prelinked and prelinking cannot be used. + * sysdeps/x86_64/bits/link.h: New file. + * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): + Save original content of .got[1]. + (elf_machine_lazy_rel): Reinitialize R_X86_64_JMP_SLOT address instead + of adjusting it if prelinked and prelinking cannot be used. + +2001-12-11 Ulrich Drepper + + * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use sizeof + where appropriate instead of numbers. Little optimizations. + +2001-12-10 Roland McGrath + + * sysdeps/mach/hurd/bind.c (bind): Don't deallocate IFSOCK if we never + set it. + + * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): Set default + set to GLIBC_2.2.5, not GLIBC_2.2.4. + + * sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde): + Fix conditionals so this is set by default for stdio and not for libio. + * sysdeps/mach/hurd/configure: Regenerated. + +2001-12-10 Thorsten Kukuk + + * io/ftw.c (ftw_startup): Check, if the path is search and readable. + +2001-12-10 Ulrich Drepper + + * io/Makefile (tests): Add bug-ftw3. + * io/bug-ftw3.c: New file. + + * sysdeps/generic/glob.c (glob): Return only pattern if nothing + matches and GLOB_NOCHECK is set. + * posix/globtest.sh: Correct expected result for NOCHECK test. + + * po/ca.po: Update from translation team. + +2001-12-09 Ulrich Drepper + + Implement transliteration of characters in strings of the locale + definitions. + * locale/programs/linereader.c: Adjust for additional parameter to + lr_token. + (get_string): If character is not found try to transliterate + it. + * locale/programs/ld-ctype.c: Adjust for additional parameter to + lr_token. Add const to charmap parameter of all functions. + (find_translit, find_translit2): New functions. + * locale/programs/charmap.c: Adjust for additional parameter to + lr_token. + * locale/programs/repertoire.c: Likewise. + * locale/programs/linereader.h: Likewise. + * locale/programs/ld-address.c: Likewise. Add const to charmap + parameter of all functions. + * locale/programs/ld-collate.c: Likewise. + * locale/programs/ld-identification.c: Likewise. + * locale/programs/ld-measurement.c: Likewise. + * locale/programs/ld-messages.c: Likewise. + * locale/programs/ld-monetary.c: Likewise. + * locale/programs/ld-name.c: Likewise. + * locale/programs/ld-numeric.c: Likewise. + * locale/programs/ld-paper.c: Likewise. + * locale/programs/ld-paper.c: Likewise. + * locale/programs/ld-telephone.c: Likewise. + * locale/programs/ld-time.c: Likewise. + * locale/programs/locfile.c: Likewise. + * locale/programs/localedef.c: Likewise. + * locale/programs/localedef.h: Likewise. + * locale/programs/locfile.h: Likewise. Add declaration for + find_translit. + * locale/programs/simple-hash.c: Add const to first parameter of + find_entry, iterate_table, and lookup. + * locale/programs/simple-hash.h: Likewise. + * locale/localeinfo.h: Don't define __LC_LAST here. Include + instead. + * include/locale.h: Define __LC_LAST. + * iconv/Makefile (CFLAGS-linereader.c): Define to -DNO_TRANSLITERATION. + +2001-12-07 Geoff Keating + + * sysdeps/powerpc/Dist: Update for recent FP changes. + * sysdeps/powerpc/fpu/Dist: Likewise. + +2001-12-07 Andreas Schwab + + * sysdeps/unix/sysv/linux/opensock.c: Include . + +2001-12-06 Geoff Keating + + * sysdeps/powerpc/Makefile (sysdep_routines): Don't build the fpr + save/restore functions here. + (libm-support): Don't define these functions here. + * sysdeps/powerpc/fpu/Makefile: Build the fpr save/restore + functions here. + * sysdeps/powerpc/fe_nomask.c: Move to... + * sysdeps/powerpc/fpu/fe_nomask.c: ... here. + * sysdeps/powerpc/fprrest.S: Move to... + * sysdeps/powerpc/fpu/fprrest.S: ... here. + * sysdeps/powerpc/fprsave.S: Move to... + * sysdeps/powerpc/fpu/fprsave.S: ... here. + +2001-12-06 Ulrich Drepper + + * sysdeps/unix/sysv/linux/opensock.c: New file. + +2001-12-06 Geoff Keating + + * config.make.in (with-fp): Define from configure. + * configure.in: Substitute with_fp. + * configure: Regenerate. + * sysdeps/powerpc/Makefile: Set -msoft-float when --without-fp is + specified, and don't change FPU environment. + +2001-12-06 Ulrich Drepper + + * libio/vasprintf.c (_IO_vasprintf): Free buffer on failure. + * assert/assert.c: Check result of __asprintf call and don't use + string if it failed. + * assert/assert-perr.c: Likewise. + * inet/rcmd.c: Likewise. + * locale/programs/localedef.c (main): Check result of + construct_output_path and exit if it failed. + (construct_output_path): Check result of asprintf and mkdir calls and + fail if they failed. + * posix/getopt.c: Check result of __asprintf calls and fail if + they failed. + Patch by Dmitry V. Levin . + +2001-12-05 Ulrich Drepper + + * sysdeps/generic/strcasecmp.c (__strcasecmp): Little performance + patch. + * sysdeps/generic/strncase.c: Likewise. + * string/tester.c: Add tests for strcasecmp and strncasecmp. + +2001-12-05 Geoff Keating + + * scripts/cpp: Test the exit status from 'type', not 'awk'. + + * sysdeps/powerpc/__longjmp.S: Don't restore FP registers. + * sysdeps/powerpc/fpu/__longjmp.S: Do restore FP registers. + * sysdeps/powerpc/setjmp.S: Don't save FP registers. + * sysdeps/powerpc/fpu/setjmp.S: Do save FP registers. + * sysdeps/powerpc/fclrexcpt.c: Move to... + * sysdeps/powerpc/fpu/fclrexcpt.c: ... here. + * sysdeps/powerpc/fpu_control.h: Move to... + * sysdeps/powerpc/fpu/fpu_control.h: ... here. + +2001-12-05 Ulrich Drepper + + * iconvdata/ibm1129.h: Remove duplicate mappings. + * iconvdata/ibm937.c: Handle overflow errors. Handle new tables. + * iconvdata/ibm937.h: Reorganize table to safe a lot of space. + Patch by Masahide Washizawa . + + * timezone/zic.c: Fix handling of turnaround times. + Patch by Arthur David Olson . + +2001-12-02 Moshe Olshansky + + * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Fix + overflow problem. + +2001-12-05 Ulrich Drepper + + * posix/regex.c: For use outside glibc defined bounded pointer + macros here. Patch by Jim Meyering . + + * iconvdata/Makefile (modules): Add TCVN5712-1. + * iconvdata/TESTS: Add TCVN5712-1. + * iconvdata/gconv-modules: Likewise. + * iconvdata/tcvn5712-1.c: New file. + * iconvdata/testdata/TCVN-5712: New file. + * iconvdata/testdata/TCVN-5712..UTF8: New file. + +2001-12-04 Ulrich Drepper + + * iconvdata/cp1258.c: Optimize conversion from UCS4. + +2001-12-02 Roland McGrath + + * mach/Makefile, mach/Machrules: Move comments out of \ continuations. + + * hurd/hurd.h (__hurd_fail): Add `break;' to silence new gcc-3 warning. + Reported by Jeff Bailey . + + * hurd/hurd.h (_hurd_umask): Remove volatile qualifier from decl. + Reported by Jeff Bailey . + + * mach/Makefile ($(objpfx)mach-syscalls.mk): Pass $(CFLAGS) to $(CC). + * mach/Machrules ($(objpfx)%.udeps static pattern rule): Likewise. + Reported by Jeff Bailey . + +2001-12-01 Roland McGrath + + * sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde): Add + missing backslash in test arguments. + * sysdeps/mach/hurd/configure: Regenerated. + +2001-11-26 Roland McGrath + + * hurd/hurdinit.c (_hurd_ports_use): Check if _hurd_ports is null. + Reported by John Tobey . + +2001-11-30 Ulrich Drepper + + * iconvdata/Makefile (modules): Add ARMSCII-8. + * iconvdata/gconv-modules: Add entries for ARMSCII-8. + * iconvdata/armscii-8.c: New file. + +2001-11-29 Jakub Jelinek + + * sysdeps/generic/glob.c (next_brace_sub): Return NULL if braces + don't match, fix {{a,b},c} globbing, clean up. + Patch by Flavio Veloso . + * posix/globtest.sh: Add new tests. + +2001-11-29 Andreas Jaeger + + * sysdeps/unix/sysv/linux/x86_64/Versions: Add arch_prctl. + * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add arch_prctl call. + + * sysdeps/generic/abort.c: Include libioP.h for + _IO_flush_all_lockp prototype. + +2001-11-29 Ulrich Drepper + + * posix/regex.h: Define __restrict_arr correctly. + +2001-11-28 Ulrich Drepper + + * iconvdata/ibm1163.c: New file. + * iconvdata/ibm1163.h: New file. + * iconvdata/ibm1164.c: New file. + * iconvdata/ibm1164.h: New file. + * iconvdata/TESTS: Add entries for IBM1163 and IBM1164. + * iconvdata/Makefile: Likewise. + * iconvdata/testdata/IBM1163: New file. + * iconvdata/testdata/IBM1163..UTF8: New file. + * iconvdata/testdata/IBM1164: New file. + * iconvdata/testdata/IBM1164..UTF8: New file. + Patch by Masahide Washizawa . + + * iconvdata/ibm1046.h: Optimize. Remove duplicate mappings. + * iconvdata/ibm1124.h: Likewise. + * iconvdata/ibm1132.h: Likewise. + * iconvdata/ibm1133.h: Likewise. + * iconvdata/ibm1160.h: Likewise. + * iconvdata/ibm1161.h: Likewise. + * iconvdata/ibm1162.h: Likewise. + * iconvdata/ibm856.h: Likewise. * iconvdata/ibm922.h: Likewise. * iconvdata/ibm930.h: Likewise. * iconvdata/ibm932.h: Likewise. @@ -13294,3466 +11626,2204 @@ * iconvdata/ibm937.h: Likewise. * iconvdata/ibm939.h: Likewise. * iconvdata/ibm943.h: Likewise. - * iconvdata/isiri-3342.h: Likewise. + * iconvdata/ibm930.c: Pretty printing. + * iconvdata/ibm937.c: Avoid access accross array boundary. -2002-12-19 Ulrich Drepper + * iconv/gconv_open.c (__gconv_open): Empty codeset name now means using + the current locale's codeset. + * iconv/iconv_open.c (iconv_open): Don't strip out everything for + empty input string. + * iconv/iconv_prog.c: Pass empty strings as default value for to- + and from-charset. Don't determine locale's charset here. - * test-skeleton.c (main): Make sure correct value is seen as - argv[0] after adjustment of argv, and argc. + * libio/genops.c (_IO_flush_all_lockp): New function. The same code + as the old _IO_flush_all but lock only if parameter is nonzero. + (_IO_flush_all): Call _IO_flush_all_lockp with 1 as parameter. + * libio/libioP.h: Add prototype for _IO_flush_all_lockp. + * sysdeps/generic/abort.c (fflush): Define to _IO_flush_all_lockp(0) + if libio is used [PR libc/2575]. - * elf/rtld.c: Don't initialize _dl_dynamic_weak to 1 if - RTLD_CORRECT_DYNAMIC_WEAK is defined. +2001-11-28 Jakub Jelinek -2002-12-19 Jakub Jelinek + * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf, __signbit, + __signbitl): Only define for ISO C99. - * nscd/connections.c (nscd_run): Shut up warning. - * tst-ungetc.c (assert): Undefined before redefining. +2001-11-22 Thorsten Kukuk -2002-12-19 Ulrich Drepper + * nss/nss_files/files-hosts.c (_nss_files_get##name##_r): Set + herrnop to NETDB_INTERNAL if we run out of buffer space. - * posix/regex.c: Use __builtin_expect even outside glibc if gcc 3 - is used. +2001-11-28 Ulrich Drepper -2002-12-17 Art Haas + * nss/nss_files/files-XXX.c (internal_getent): Correct input + overflow test for platforms with signed char. + Reported by Andrew Haley . - * iconvdata/cp737.h: Convert GCC extension initializer syntax to C99. - * iconvdata/cp775.h: Likewise. - * iconvdata/ibm1046.h: Likewise. - * iconvdata/ibm1124.h: Likewise. - * iconvdata/ibm1129.h: Likewise. - * iconvdata/ibm1132.h: Likewise. - * iconvdata/ibm1133.h: Likewise. - * iconvdata/ibm1160.h: Likewise. - * iconvdata/ibm1161.h: Likewise. - * iconvdata/ibm1162.h: Likewise. - * iconvdata/ibm1163.h: Likewise. - * iconvdata/ibm1164.h: Likewise. +2001-11-28 Bruno Haible -2002-12-19 Ulrich Drepper + * locale/programs/simple-hash.c (lookup_2): Remove function. + (insert_entry_2): Call lookup instead of lookup_2. - * sysdeps/unix/sysv/linux/i386/system.c: Define FORK only if - __ASSUME_CLONE_THREAD_FLAGS is defined. - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_CLONE_THREAD_FLAGS): Define for x86 and kernel >= 2.5.50. +2001-03-04 Bruno Haible -2002-12-18 Ulrich Drepper + * intl/dcigettext.c (DCIGETTEXT): Increment path_max proportionally. - * sysdeps/unix/sysv/linux/i386/brk.c: Use INTERNAL_SYSCALL instead - of asm. - * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. +2001-10-31 Bruno Haible - * elf/dl-support.c [NEED_DL_SYSINFO]: Define and initialize - _dl_sysinfo. - [DL_SYSINFO_IMPLEMENTATION]: If defined use it to generate the needed - code. - * elf/rtld.c [DL_NEED_SYSINFO]: Initialize _dl_sysinfo element of - _rtld_global. - [DL_SYSINFO_IMPLEMENTATION]: If defined use it to generate the needed - code. - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]: - Check for AT_SYSINFO and set _dl_sysinfo appropriately. - * sysdeps/generic/ldsodefs.h (struct rtld_global) [NEED_DL_SYSINFO]: - Add _dl_sysinfo. + * intl/plural.y: Include , needed for NULL with SunOS 4 cc. -2002-12-18 Jakub Jelinek +2001-03-21 Bruno Haible - * misc/Versions [libc: GLIBC_2.3.1]: Move __libc_readv and - __libc_writev to... - [libc: GLIBC_PRIVATE]: ...here. - * sysvipc/Versions [libc: GLIBC_2.3.1]: Move __libc_msgrcv and - __libc_msgsnd to... - [libc: GLIBC_PRIVATE]: ...here. + * intl/dcigettext.c (_nl_state_lock): Mark as #ifdef _LIBC. AIX 3 xlc + chokes on empty macro arguments. + * intl/plural.y: Add #pragma for alloca on AIX 3. -2002-12-18 Ulrich Drepper +2001-11-27 Ulrich Drepper - * sysdeps/unix/sysv/linux/i386/sysdep.h: Define ENTER_KERNEL macro. - Use it instead of directly int $0x80. - * sysdeps/unix/sysv/linux/i386/brk.c: Use ENTER_KERNEL. - * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise. - * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. - * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/i386/socket.S: Likewise. - * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise. + * intl/dcigettext.c (guess_category_value): Only implement for + glibc. Otherwise rely on function _nl_locale_name which isn't + present in the glibc sources. -2002-12-17 Ulrich Drepper +2001-09-24 Bruno Haible - * malloc/malloc.c (mALLOPt): Make sure malloc is initialized. + * intl/loadmsgcat.c (_nl_init_domain_conv): Also enable + transliteration when building on a glibc system but outside glibc. - * elf/elf.h (AT_SYSINFO): New define. - * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Add support for - AT_SYSINFO. +2001-09-22 Bruno Haible -2002-12-17 Jakub Jelinek + * intl/plural-eval.c: New file, extracted from dcigettext.c. + * intl/dcigettext.c (plural_eval): Remove function, moved to + intl/plural-eval.c. + (plural_lookup): Call PLURAL_EVAL instead of plural_eval. + Include plural-eval.c. - * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgrcv, msgsnd): - Make cancelable. - * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgrcv, msgsnd): - Likewise. - * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgrcv, msgsnd): - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgrcv, msgsnd): - Likewise. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgrcv, msgsnd): - Likewise. - * sysdeps/unix/sysv/linux/ia64/sigsuspend.c (__sigsuspend): Likewise. +2001-09-22 Bruno Haible - * malloc/thread-m.h (mutex_init, mutex_lock, mutex_trylock, - mutex_unlock): If not building NPTL, use __libc_maybe_call2 if - available, otherwise __libc_maybe_call. - * sysdeps/unix/sysv/linux/x86_64/recv.c: Add support for - cancellation handling. - * sysdeps/unix/sysv/linux/x86_64/send.c: Likewise. + * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Reject numbers that + don't start with a digit; nplurals must be positive. -2002-12-17 Isamu Hasegawa +2001-09-02 Bruno Haible - * posix/regcomp.c (free_workarea_compile): Free the new member - ORG_INDICES. - (analyze): Initialize ORG_INDICES. - (duplicate_node_closure): Search for a existing node, which is - duplicated from the node ORG_DEST and satisfies the constraint - CONSTRAINT. And use it to avoid inifimite loop. - (search_duplicated_node): New function. - (duplicate_node): Store the index of the original node. - * posix/regex_internal.c (re_dfa_add_node): Realloc ORG_INDICES - if needed. - * posix/regex_internal.h (re_dfa_t): Add new members. + * intl/plural-exp.h: New file, extracted from gettextP.h. + * intl/plural-exp.c: New file, extracted from loadmsgcat.c. + * intl/gettextP.h (struct expression, struct parse_args, + __gettext_free_exp, __gettextparse): Move to plural-exp.h. + * intl/loadmsgcat.c: Include plural-exp.h. + (PLURAL_PARSE): Move macro to plural-exp.h. + (plvar, plone, germanic_plural, INIT_GERMANIC_PLURAL): Move to + plural-exp.c. + (_nl_load_domain): Move plural handling code to plural-exp.c. Call + EXTRACT_PLURAL_EXPRESSION. + (_nl_unload_domain): Update. + * intl/dcigettext.c: Include plural-exp.h. + * intl/plural.y: Include plural-exp.h, not gettextP.h. + (FREE_EXPRESSION): Move macro to plural-exp.h. + * intl/Makefile (routines): Add plural-exp. + (distribute): Add plural-exp.h. -2002-12-17 Ulrich Drepper +2001-07-28 Bruno Haible - * stdio-common/tst-fdopen.c: Undefine assert before redefining it. + * intl/l10nflist.c (_nl_normalize_codeset): Cast isalnum, isalpha, + isdigit, tolower argument to 'unsigned char'. + * intl/loadmsgcat.c (_nl_load_domain): Cast isspace argument to + 'unsigned char'. + * intl/localealias.c (read_alias_file): Cast isspace argument to + 'unsigned char'. -2002-12-16 Ulrich Drepper +2001-10-20 Bruno Haible - * sysdeps/posix/system.c (do_system): Add support for installation - of cancellation handlers. - * sysdeps/unix/sysv/linux/i386/system.c: New file. + Assume strchr() exists. (Without it, intl/explodename.c wouldn't link + anyway.) + * intl/dcigettext.c (strchr): Remove fallback definition; it conflicts + with the variable 'index' in plural_lookup. + * intl/l10nflist.c (strchr): Likewise. + * intl/localealias.c (strchr): Likewise. - * stdlib/Makefile (tests): Add tst-system. - * stdlib/tst-system.c: New file. - - * sysdeps/unix/sysv/linux/i386/socket.S [NEED_CANCELLATION && - CENABLE]: Don't lose content of %ebx. - -2002-12-17 Jakub Jelinek - - * sysdeps/unix/sysv/linux/i386/socket.S: Use SINGLE_THREAD_P - macro instead of comparing %gs:MULTIPLE_THREADS_OFFSET directly. - -2002-12-16 Ulrich Drepper - - * sysdeps/posix/getaddrinfo.c (gaih_inet): If __nss_lookup_function - fails to return a function pointer don't use it. - -2002-12-16 Art Haas - - * io/ftw.c: Convert GCC extension initializer syntax to C99. - * iconvdata/iso-ir-165.c: Likewise. - * iconvdata/jis0208.c: Likewise. - * iconvdata/jis0212.c: Likewise. - -2002-12-16 Ulrich Drepper - - * sysdeps/unix/sysv/linux/syscalls.list: Add epoll_create, - epoll_ctl, and epoll_wait. - * sysdeps/unix/sysv/linux/Versions [libc: GLIBC_2.3.2]: Add - epoll_create, epoll_ctl, and epoll_wait. - * sysdeps/unix/sysv/linux/sys/epoll.h: New file. Written by - Davide Libenzi . - * sysdeps/unix/sysv/linux/Dist: Add sys/epoll.h. - * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers): - Add sys/epoll.h. - -2002-12-16 Art Haas - - * sysdeps/generic/bp-semctl.h: Convert GCC extension initializer - syntax to C99 - * sysdeps/unix/sysv/aix/settimer.c: Likewise. - * sysdeps/unix/sysv/aix/sleep.c: Likewise. - * sysdeps/unix/sysv/aix/usleep.c: Likewise. - -2002-12-16 Ulrich Drepper - - * stdio-common/Makefile (routines): Remove lockfile. Add - flockfile, ftrylockfile, and funlockfile. - * sysdeps/generic/lockfile.c: Removed. Each function has its own file. - * sysdeps/generic/flockfile.c: New file. - * sysdeps/generic/ftrylockfile.c: New file. - * sysdeps/generic/funlockfile.c: New file. - -2002-12-16 Jakub Jelinek - - * sysdeps/unix/sysv/linux/i386/socket.S: Use CENABLE and CDISABLE - macros instead of doing the calls directly. - * sysdeps/unix/make-syscalls.sh: Add ptw-*.$o target name to rules. - * Makerules ($(+sysdir_pfx)sysd-rules): Emit rules for ptw-% - targets. - -2002-12-16 Jakub Jelinek - - * sysdeps/i386/fpu/bits/mathinline.h: Backout last change. - * sysdeps/ieee754/bits/nan.h: Likewise. - - * sysdeps/unix/sysv/linux/ia64/syscalls.list (__syscall_open, - __syscall_wait4, __syscall_ioctl, __syscall_write): Add. - -2002-12-16 Roland McGrath - - * sunrpc/xdr_mem.c (xdrmem_inline): Fix argument type. - * sunrpc/xdr_rec.c (xdrrec_inline): Likewise. - * sunrpc/xdr_stdio.c (xdrstdio_inline): Likewise. - - * sysdeps/unix/sysv/linux/syscalls.list: Add getpmsg, putpmsg. - * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove s_getpmsg, - s_putpmsg. - * sysdeps/unix/sysv/linux/i386/getpmsg.c: File removed. - * sysdeps/unix/sysv/linux/i386/putpmsg.c: File removed. - * sysdeps/unix/sysv/linux/m68k/getpmsg.c: File removed. - * sysdeps/unix/sysv/linux/m68k/putpmsg.c: File removed. - * sysdeps/unix/sysv/linux/mips/getpmsg.c: File removed. - * sysdeps/unix/sysv/linux/mips/putpmsg.c: File removed. - * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: File removed. - * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: File removed. - -2002-12-13 Paul Eggert - - * sunrpc/rpc/xdr.h (struct XDR.xdr_ops.x_inline): 2nd arg - is now u_int, not int. - (struct XDR.x_handy): Now u_int, not int. - * sunrpc/xdr_mem.c: Include . - (xdrmem_getlong, xdrmem_putlong, xdrmem_getbytes, xdrmem_putbytes, - xdrmem_inline, xdrmem_getint32, xdrmem_putint32): - x_handy is now unsigned, not signed. - Do not decrement x_handy if no change is made. - (xdrmem_setpos): Check for int overflow. - * sunrpc/xdr_sizeof.c (x_inline): 2nd arg is now unsigned. - (xdr_sizeof): Remove cast that is now unnecessary, now that - x_handy is unsigned. - -2002-12-15 Art Haas - - * iconv/gconv_conf.c: Convert GCC extension initializer syntax to C99. - * iconvdata/gap.awk: Likewise. - * iconvdata/gen-8bit-gap-1.sh: Likewise. - * iconvdata/gen-8bit-gap.sh: Likewise. - * locale/C-address.c: Likewise. - * locale/C-collate.c: Likewise. - * locale/C-ctype.c: Likewise. - * locale/C-identification.c: Likewise. - * locale/C-measurement.c: Likewise. - * locale/C-messages.c: Likewise. - * locale/C-monetary.c: Likewise. - * locale/C-name.c: Likewise. - * locale/C-numeric.c: Likewise. - * locale/C-paper.c: Likewise. - * locale/C-telephone.c: Likewise. - * locale/C-time.c: Likewise. - * nscd/connections.c: Likewise. - * nscd/grpcache.c: Likewise. - * nscd/hstcache.c: Likewise. - * nscd/pwdcache.c: Likewise. - * stdio-common/vfprintf.c: Likewise. - * stdlib/random.c: Likewise. - * sysdeps/generic/siglist.c: Likewise. - * sysdeps/i386/fpu/bits/mathinline.h: Likewise. - * sysdeps/ieee754/bits/nan.h: Likewise. - * sysdeps/posix/sprofil.c: Likewise. - * sysdeps/unix/sysv/linux/sleep.c: Likewise. - * sysdeps/unix/sysv/linux/sysctl.c: Likewise. - * sysdeps/unix/sysv/linux/usleep.c: Likewise. - -2002-12-15 Roland McGrath - - * sysdeps/unix/sysv/linux/readv.c (do_readv): Use prototype defn. - - * sysdeps/unix/sysv/linux/wait.c: Don't include or - here, no need for it. - * sysdeps/unix/sysv/linux/waitpid.c: Likewise. - - * sysdeps/unix/sysv/linux/i386/fcntl.c (do_fcntl): Take ARG as void * - parameter, not varargs parameter. - - * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_RESET): Evaluate the - argument so it's not an unused variable. - - * resolv/resolv.h (__p_key_syms, __p_cert_syms, __p_class_syms, - __p_type_syms, __p_rcode_syms): Remove decls, never really intended - for users. - - * resolv/Versions (libresolv: GLIBC_2.3.2): New set, add __p_rcode. - -2002-12-15 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/fcntl.c (do_fcntl): This is the - original __libc_fcntl code. Just renamed. - -2002-12-15 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/clone.S: Make inline syscall to _exit. - -2002-12-14 Olaf Hering - - * sysdeps/powerpc/bits/setjmp.h: Include . - * sysdeps/powerpc/powerpc64/setjmp.S: Fix typo in r18 load. - -2002-12-15 Ulrich Drepper - - * sysdeps/unix/sysv/linux/libc_fatal.c: New file. - - * sysdeps/generic/sysdep-cancel.h: Add dummy definitions for - SINGLE_THREAD_P, LIBC_CANCEL_ASYNC, and LIBC_CANCEL_RESET. - - * sysdeps/unix/sysv/linux/open64.c: New file. - - * sysdeps/generic/pselect.c: Add support for cancellation handling. - * sysdeps/posix/open64.c: Likewise. - * sysdeps/posix/sigpause.c: Likewise. - * sysdeps/posix/sigwait.c: Likewise. - * sysdeps/posix/system.c: Likewise. - * sysdeps/posix/waitid.c: Likewise. - * sysdeps/unix/sysv/linux/accept.S: Likewise. - * sysdeps/unix/sysv/linux/connect.S: Likewise. - * sysdeps/unix/sysv/linux/llseek.c: Likewise. - * sysdeps/unix/sysv/linux/msgrcv.c: Likewise. - * sysdeps/unix/sysv/linux/msgsnd.c: Likewise. - * sysdeps/unix/sysv/linux/poll.c: Likewise. - * sysdeps/unix/sysv/linux/pread.c: Likewise. - * sysdeps/unix/sysv/linux/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/readv.c: Likewise. - * sysdeps/unix/sysv/linux/recv.S: Likewise. - * sysdeps/unix/sysv/linux/recvfrom.S: Likewise. - * sysdeps/unix/sysv/linux/recvmsg.S: Likewise. - * sysdeps/unix/sysv/linux/send.S: Likewise. - * sysdeps/unix/sysv/linux/sendmsg.S: Likewise. - * sysdeps/unix/sysv/linux/sendto.S: Likewise. - * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise. - * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise. - * sysdeps/unix/sysv/linux/sigwait.c: Likewise. - * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. - * sysdeps/unix/sysv/linux/tcdrain.c: Likewise. - * sysdeps/unix/sysv/linux/wait.c: Likewise. - * sysdeps/unix/sysv/linux/waitpid.c: Likewise. - * sysdeps/unix/sysv/linux/writev.c: Likewise. - * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise. - * sysdeps/unix/sysv/linux/i386/socket.S: Likewise. - -2002-12-14 Jakub Jelinek - - * sysdeps/generic/sysdep-cancel.h: New file. - * sysdeps/unix/make-syscalls.sh: Handle C at start of args as - cancelable syscall. - * sysdeps/unix/inet/syscalls.list (accept, connect, recv, recvfrom, - recvmsg, send, sendmsg, sendto): Make cancelable. - * sysdeps/unix/mman/syscalls.list (msync): Likewise. - * sysdeps/unix/sysv/linux/alpha/syscalls.list (llseek, pread, - pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg, - sendto, osf_select): Likewise. - * sysdeps/unix/sysv/linux/hppa/syscalls.list (accept, connect, recv, - recvfrom, recvmsg, send, sendmsg, sendto): Likewise. - * sysdeps/unix/sysv/linux/ia64/syscalls.list (llseek, pread, - pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg, - sendto): Likewise. - * sysdeps/unix/sysv/linux/mips/syscalls.list (accept, connect, recv, - recvfrom, recvmsg, send, sendmsg, sendto): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (llseek, pread, - pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg, - sendto): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (llseek, pread, - pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg, - sendto, select): Likewise. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list (llseek, pread, - pwrite, accept, connect, recvfrom, recvmsg, sendmsg, sendto): - Likewise. - * sysdeps/unix/sysv/linux/syscalls.list (creat, nanosleep, pause, - select, fcntl): Likewise. - * sysdeps/unix/sysv/syscalls.list (pause, poll): Likewise. - * sysdeps/unix/syscalls.list (close, fcntl, fsync, lseek, open, - read, readv, select, sigsuspend, write, writev): Likewise. - -2002-12-14 Jakub Jelinek - - * dirent/bug-readdir1.c: Include unistd.h. - -2002-12-13 Jakub Jelinek - - * locale/programs/locale.c: Include locarchive.h. - (ARCHIVE_NAME): Define. - (write_archive_locales): New function. - (write_locales): Use it. Ensure the same locale is not printed - multiple times in verbose mode. - Mode LC_IDENTIFICATION and LC_CTYPE printing into... - (print_LC_IDENTIFICATION, print_LC_CTYPE): ... these helper - functions. - (struct nameent): New type. - (nameentcmp): New function. - -2002-12-14 Jakub Jelinek - - * posix/regex_internal.c (re_string_context_at): Guard wide char - code with #ifdef RE_ENABLE_I18N. - -2002-11-22 Paolo Bonzini - - * posix/regcomp.c (regcomp): __re_compile_fastmap -> re_compile_fastmap - -2002-12-13 Roland McGrath - - * posix/bug-regex15.c: New file. - * posix/Makefile (tests): Add it. - - * test-skeleton.c (TEST_DATA_LIMIT): New macro, default to 64MB. - (main): Set RLIMIT_DATA limit to TEST_DATA_LIMIT (or lower if need be). - -2002-12-13 Ulrich Drepper - - * elf/dl-misc.c (_dl_debug_vdprintf): Don't depend on 5-digit PIDs. - - * misc/syslog.c (log_cleanup): Don't use parameter in - __libc_lock_unlock call, use syslog_lock directly. Adjust callers to - pass NULL instead of a pointer to syslog_lock. - -2002-12-12 Ulrich Drepper - - * iconvdata/Makefile: iconv-rules: Add definition to use gconv.map - linker map for all iconv modules. - (distribute): Add gconv.map. - * iconvdata/gconv.map: New file. - - * elf/Makefile: Also check all iconv modules for text relocations. - - * stdlib/Makefile: Remove code to automatically import GMP. - - * elf/Makefile (tests): Add rules to build and run check-textrel. - * elf/check-textrel.c: New file. - - * sysdeps/unix/sysv/linux/i386/sysdep.h (SETUP_PIC_REG): Add .size - directive. - -2002-12-11 Jakub Jelinek - - * io/test-utime (main): If stnow.st[am]time is wrong, print it and - not st.st[am]time. - -2002-04-30 Bruno Haible - - * intl/loadmsgcat.c (_nl_init_domain_conv): Don't append //TRANSLIT to - the encoding if it already has slashes. - Reported by Perry Rapp . - -2002-12-11 Roland McGrath - - * csu/Makefile ($(objpfx)elf-init.oS): Remove target, braino. - (CPPFLAGS-elf-init.oS, CFLAGS-elf-init.oS): New variables. - Turn off PIC for compiling this file. - -2002-12-11 Ulrich Drepper - - * malloc/thread-m.h: Remove thread_id type and MUTEX_INITIALIZER - definitions. Not needed. - [_LIBC]: Use definitions from libc-lock.h instead of referencing - pthread routines directly. - * malloc/arena.c (ptmalloc_unlock_all2): Don't add (void) to - mutex_init calls. - (arena_get2): Don't look at return value of mutex_lock. - -2002-12-11 Roland McGrath - - * csu/Makefile ($(objpfx)elf-init.oS): New target, just clone - elf-init.o instead of compiling a PIC version. - -2002-12-11 Bruno Haible - - * intl/gettext.h: Renamed to ... - * intl/gmo.h: ... here. - * intl/Makefile (distribute): Add gmo.h, remove gettext.h. - * intl/gettextP.h: Update. - * intl/loadmsgcat.c: Update. - - * intl/gettextP.h (PARAMS): Make more portable. - (attribute_hidden): Define as empty macro if not already defined. - * intl/hash-string.h (PARAMS): Make more portable. - * intl/loadinfo.h (PARAMS): Likewise. - * intl/plural-exp.h (PARAMS): Likewise. - (attribute_hidden): Move definition near the definition of - internal_function. - - * intl/gettextP.h (_nl_locale_name) [!_LIBC]: New declaration. - * intl/plural-exp.h (plural_eval) [!_LIBC]: New declaration. - -2002-07-13 Bruno Haible - - * intl/dcigettext.c (freea): New macro. - (FREE_BLOCKS): Free also the registered blocks. - (DCIGETTEXT): Free the 'search' variable. - Reported by Andreas Fischer . - -2002-04-27 Bruno Haible - - * intl/gettextP.h [! _LIBC]: Use prefix libintl_ instead of suffix __. + Assume , , , exist. + * intl/bindtextdom.c: Likewise. * intl/dcigettext.c: Likewise. - * intl/dcgettext.c: Likewise. * intl/dgettext.c: Likewise. - * intl/gettext.c: Likewise. - * intl/dcngettext.c: Likewise. * intl/dngettext.c: Likewise. + * intl/explodename.c: Likewise. + * intl/finddomain.c: Likewise. + * intl/gettext.c: Likewise. + * intl/l10nflist.c: Likewise. + * intl/loadmsgcat.c: Likewise. + * intl/localealias.c: Likewise. * intl/ngettext.c: Likewise. * intl/textdomain.c: Likewise. - * intl/bindtextdom.c: Likewise. - * intl/plural-exp.h: Likewise. + * intl/gettext.h: Assume exists. -2002-01-02 Bruno Haible +2001-11-27 Ulrich Drepper - * intl/loadmsgcat.c (_nl_init_domain_conv): Use PARAMS in extern decl. + * stdio-common/Makefile (tests): Add scanf11. + * stdio-common/scanf11.c: New file. -2001-04-30 Bruno Haible +2001-11-26 Ulrich Drepper - * intl/dcigettext.c (getuid, getgid, geteuid, getegid): Provide - default macro definitions. Needed for mingw32. + * version.h (RELEASE): Define as development. + (VERSION): Set to 2.2.90. -2002-12-10 Ulrich Drepper +2001-11-22 Thorsten Kukuk - * sysdeps/i386/bits/byteswap.h (__bswap_64): Apply - __builtin_constant_p to macro parameter. + * nis/nss_compat/compat-grp.c: Print group id as unsigned long. + * nis/nss_nis/nis-grp.c: Likewise. + * nis/nss_nisplus/nisplus-grp.c: Likewise. - * sysdeps/generic/sigpause.c: Define all functions as weak. - * sysdeps/posix/sigpause.c: Likewise. + * nis/nss_compat/compat-pwd.c: Print user id as unsigned long. + * nis/nss_nis/nis-pwd.c: Likewise. + * nis/nss_nisplus/nisplus-pwd.c: Likewise. - * elf/tst-tls7.c (do_test): Adjustments for l_tls_modid being of - type size_t. + * nis/nss_nis/nis-publickey.c: Use strtoul instead of atoi. + * nis/nss_nisplus/nisplus-parser.c: Likewise. + * nis/nss_nisplus/nisplus-publickey.c: Likewise. -2002-12-10 Jakub Jelinek + * nscd/grpcache.c: Use strtoul instead of atol. + * nscd/pwdcache.c: Likewise. + * nss/getent.c: Likewise. - * elf/tst-array1.c (preinit_array, init_array, fini_array): - Explicitly align the array to sizeof (void *). - * elf/tst-array2dep.c (init_array, fini_array): Likewise. +2001-11-27 Paul Eggert - * include/libc-symbols.h: Fix a comment typo. + * sysdeps/posix/tempname.c (__gen_tempname): Try at least + ATTEMPTS_MIN or TMP_MAX times, whichever is greater. - * sysdeps/unix/sysv/linux/alpha/select.S (__libc_select): New alias. - * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__libc_sigsuspend): - Likewise. - * sysdeps/unix/sysv/linux/ia64/sigsuspend.c (__libc_sigsuspend): - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c - (__libc_sigsuspend): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c - (__libc_sigsuspend): Likewise. - * sysdeps/generic/creat.c (__libc_creat): Renamed from creat. - (creat): New weak alias. +2001-11-19 Bruno Haible -2002-12-10 Roland McGrath + * locale/programs/simple-hash.c (insert_entry_2): Resize at 75%, not + 90%. + (compute_hashval): Shift by 9 bits, not by 4 bits. This drastically + improves the quality of the hash function, especially for short + strings. - * manual/libc-texinfo.sh: Emit @set ADD-ON for each ADD-ON that - contributes a manual chapter. - * manual/signal.texi (Process Signal Mask): Use @ifset linuxthreads - around xref to it. +2001-11-26 Ulrich Drepper - * sysdeps/unix/sysv/linux/dl-librecon.h (EXTRA_LD_ENVVARS): Refer to - and move contents to ... - (EXTRA_LD_ENVVARS_LINUX): ... this new macro. Add break for nonmatch. - * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS): Use - it instead of duplicating its contents. - (EXTRA_LD_ENVVARS): Likewise. Add break for nonmatch. + * stdio-common/vfscanf.c: If incomplete nan of inf(inity) strings + are found call conv_error and not input_error [PR libc/2669]. -2002-12-09 Jakub Jelinek + * math/bits/mathcalls.h: Mark ceil and floor as const. + Reported by David Mosberger. - * elf/dl-support.c (_dl_non_dynamic_init): Add DL_OSVERSION_INIT if - defined. - * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init): New - function. - (EXTRA_LD_ENVVARS): Use it. - (DL_OSVERSION_INIT): Define. - * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Include linux - dl-librecon.h. - (EXTRA_LD_ENVVARS): Undef before defining. Use _dl_osversion_init. +2001-11-21 Jim Meyering -2002-12-10 Ulrich Drepper + * posix/regex.c (iswctype, mbrtowc, wcslen, wcscoll, wcrtomb) [_LIBC]: + Define to be __-prefixed. + Remove unnecessary duplication in `#ifdef _LIBC' blocks. - * Versions.def: No new symbols in 2.3.1, but some new ones in 2.3.2. +2001-11-26 Andreas Jaeger - * sysdeps/unix/closedir.c (__closedir): Remove __libc_lock_lock - call. It is not allowed to destroy pthread mutexes which are - still in use even though it is safe for our implementations. If - somebody still uses the descriptor it is a bug. + * sysdeps/unix/sysv/linux/hppa/brk.c: Remove __brk_addr alias, + avoid warning. -2002-12-09 Richard Henderson +2001-11-26 Stephen L Moshier - * csu/abi-note.S: Use .p2align, not .align. + * sysdeps/ieee754/ldbl-128/e_log10l.c (L102B): Fix typo in + initialization. -2002-12-09 Ulrich Drepper + * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Remove + unused variables. Fix threshold for returning 1.0. - * sysdeps/unix/sysv/linux/syscalls.list: Add __libc_creat and - __libc_select aliases. - - * sysdeps/unix/sysv/linux/sigwaitinfo.c: Define __libc_sigwaitinfo - alias. - - * sysdeps/unix/sysv/linux/sigwait.c: Define __libc_sigwait alias. - - * sysdeps/unix/sysv/linux/sigsuspend.c: Define __libc_sigsuspend alias. - - * sysdeps/unix/sysv/linux/poll.c: Define __libc_poll alias. - - * sysdeps/unix/syscalls.list: Define __libc_select alias. - - * sysdeps/posix/waitid.c: Define __libc_waitid alias. - - * sysdeps/posix/sigpause.c: Define __libc_sigpause and - __libc___xpg_sigpause aliases. - - * sysdeps/generic/pselect.c: Define __libc_pselect alias. - - * misc/error.c: Remove use of USE_IN_LIBIO. - -2002-12-08 Roland McGrath - - * elf/Makefile (tests): Uncomment tst-array[123]. - * Makeconfig (CPPFLAGS-.oS): Add -DLIBC_NONSHARED=1. - * csu/elf-init.c: New file. - * csu/Makefile (routines, static-only-routines): Add elf-init. - * sysdeps/alpha/elf/start.S: Use __libc_csu_init in place of _init - and __libc_csu_fini in place of _fini. - * sysdeps/arm/elf/start.S: Likewise. - * sysdeps/cris/elf/start.S: Likewise. - * sysdeps/hppa/elf/start.S: Likewise. - * sysdeps/i386/elf/start.S: Likewise. - * sysdeps/ia64/elf/start.S: Likewise. - * sysdeps/m68k/elf/start.S: Likewise. - * sysdeps/mach/hurd/powerpc/static-start.S: Likewise. - * sysdeps/mips/elf/start.S: Likewise. - * sysdeps/powerpc/powerpc32/elf/start.S: Likewise. - * sysdeps/powerpc/powerpc64/elf/start.S: Likewise. - * sysdeps/s390/s390-32/elf/start.S: Likewise. - * sysdeps/s390/s390-64/elf/start.S: Likewise. - * sysdeps/sh/elf/start.S: Likewise. - * sysdeps/sparc/sparc32/elf/start.S: Likewise. - * sysdeps/sparc/sparc64/elf/start.S: Likewise. - * sysdeps/x86_64/elf/start.S: Likewise. - - * sysdeps/pthread/aio_notify.c (notify_func_wrapper): Take a malloc'd - struct containing function ptr and value, free it. - (__aio_notify_only): Allocate that and copy values from SIGEV into it. - It's not safe to let the new thread use the SIGEV pointer. - -2001-10-20 Paul Eggert - - * misc/error.c (strerror_r): Do not declare unless [!_LIBC]. - Do not check for HAVE_DECL_STRERROR_R missing unless STRERROR_R_CHAR_P. - Use strerror_r that is only a macro, even if it is not a function. - (strerror): Check for HAVE_DECL_STRERROR before declaring. - (private_strerror): Use prototypes, not old-style function definition. - (print_errno_message): New function. - Support the POSIX 'int'-flavored strerror_r, as well as the traditional - char*-flavored one. - (error_tail, error, error_at_line): Use it. - -2002-12-07 Carlos O'Donell - - * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Added SHMLBA #define. - -2002-12-08 Ulrich Drepper - - * scripts/output-format.sed: Fix bug in one of the s expressions - which used / for one too many things. - - * include/unistd.h: Declare __libc_close. - -2002-12-07 Ulrich Drepper - - * sysdeps/generic/bits/stdio-lock.h (_IO_lock_trylock): New define. - -2002-12-07 Roland McGrath - - * sysdeps/generic/libc-tls.c (__libc_setup_tls): Reintroduce changes - from 2002-12-06, but remove unnecessary memset call without removing - necessary copy of initialization image. - - * Makerules ($(common-objpfx)format.lds): New target. - (common-generated): Add it. - ($(inst_libdir)/libc.so): Depend on that, and cat it into the result. - * scripts/output-format.sed: New file. - * Makefile (distribute): Add it. - -2002-12-07 Ulrich Drepper - - * sysdeps/generic/libc-tls.c: Include . - Reported by Art Haas . - -2002-12-07 Kenneth W. Chen - - * sysdeps/ia64/strncpy.S (strncpy): Clear ar.ec. Fix .recovery4. - -2002-12-07 Jakub Jelinek - - * string/test-strncpy.c (do_random_tests): Improve test coverage. - -2002-12-06 Ulrich Drepper - - * test-skeleton.c (timeout_handler): Allow expected signal to be - SIGALRM. - - * wctype/wcfuncs.c: Add libc_hidden_def for iswalnum. - - * sysdeps/posix/raise.c: Add libc_hidden_def for raise. - -2002-12-07 Jakub Jelinek - - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h [RTLD_PRIVATE_ERRNO] - (SYSCALL_ERROR_HANDLER): Fix a pasto. - Reported by Jeff Bailey . - -2002-12-06 Ulrich Drepper - - * sysdeps/generic/libc-tls.c: Undo last patch. - - * include/wctype.h: Define iswalnum with libc_hidden_proto. - - * include/signal.h: Define raise with libc_hidden_proto. - - * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Use __snprintf and - __execve instead of snprintf and execve. - - * sysdeps/x86_64/fpu/libm-test-ulps: Relax errors for float and double - again a bit. - -2002-12-06 Jakub Jelinek - - * posix/Makefile (annexc.out): Add -I../dir for all sorted-dirs. - * posix/annexc.c (fmt, testfmt): Remove -D_LIBC. - -2002-12-06 Ulrich Drepper - - * misc/syslog.c (log_cleanup): New function. - (openlog): Use log_cleanup instead of __libc_mutex_unlock. - (closelog): Likewise. - - * elf/dl-close.c: Use __rtld_lock_* macros instead of __libc_lock_*. - * elf/dl-iteratephdr.c: Likewise. - * elf/dl-lookup.c: Likewise. - * elf/dl-misc.c: Likewise. - * elf/dl-open.c: Likewise. - * elf/dl-support.c: Likewise. - * elf/rtld.c: Likewise. - * sysdeps/generic/ldsodefs.h: Likewise. - * sysdeps/generic/bits/libc-lock.h: Define __rtld_lock_* macros. - * sysdeps/mach/bits/libc-lock.h: Likewise. - * sysdeps/mach/hurd/bits/libc-lock.h: Likewise. - -2002-12-06 Roland McGrath - - * sysdeps/generic/libc-tls.c (__libc_setup_tls): Cope with zero ALIGN. - - * malloc/hooks.c [_LIBC && (USE___THREAD || (USE_TLS && !SHARED))] - (malloc_starter, memalign_starter, free_starter): Don't define these. - * malloc/malloc.c [_LIBC && (USE___THREAD || (USE_TLS && !SHARED))]: - Don't declare them either. - * malloc/arena.c (ptmalloc_init) [_LIBC && USE_TLS]: Don't call - __pthread_initialize, so no need to set hooks to *_starter. - (ptmalloc_init_minimal): New function, broken out of ptmalloc_init. - [_LIBC && SHARED && USE_TLS && !USE___THREAD] - (__libc_malloc_pthread_startup): New function. - * malloc/Versions (libc: GLIBC_PRIVATE): New set, add that function. - - * malloc/hooks.c (memalign_starter): New function. - * malloc/malloc.c: Declare it. - * malloc/arena.c (save_memalign_hook): New variable. - (ptmalloc_init): Set __memalign_hook to memalign_starter. - - * elf/dl-minimal.c (free): Clear the memory. - (calloc): Just call malloc, knowing all memory it returns is cleared. - - * sysdeps/generic/dl-tls.c (allocate_dtv): Use calloc instead of - malloc and memset; calloc can avoid the zeroing when redundant. - (_dl_tls_setup): Likewise. - * elf/dl-load.c (decompose_rpath): Likewise. - * sysdeps/generic/libc-tls.c (__libc_setup_tls): Comment out memset - call, since memory from sbrk at startup is already zero. - - * elf/rtld.c (_dl_start, dl_main): TLS_INIT_TP macro now returns an - error string for failure, null for success. Update callers. - * sysdeps/generic/libc-tls.c (__libc_setup_tls): Likewise. - * elf/dl-load.c (_dl_map_object_from_fd): Likewise. - -2002-12-05 Jakub Jelinek - - * sysdeps/unix/sysv/linux/x86_64/syscalls.list (sendfile): Change - args to i:iipi. - (readahead): Change args to i:iii. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list (readahead): - Change args to i:iii. - * sysdeps/unix/sysv/linux/mips/syscalls.list (readahead): Change - args to i:iiii. - -2002-12-05 Roland McGrath - - * stdlib/cxa_finalize.c (__cxa_finalize): When given a null argument, - call all functions rather than none. - Reported by Mark P. Mitchell . - -2002-12-04 Roland McGrath - - * locale/localeinfo.h [NL_CURRENT_INDIRECT]: Use attribute_tls_model_ie - on _nl_current_LC_* variables. - -2002-12-05 Ulrich Drepper - - * dirent/bug-readdir1.c (main): Don't call closedir, just close - the file descriptor. This is testing what the bug report was about. - -2002-12-04 Ulrich Drepper - - * po/be.po: New file. - - * argp/Makefile (tests): Add tst-argp1. - - * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: (struct sigevent): - Change type of _attribute to void*. - * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise. - * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise. - -2002-12-04 Roland McGrath - - * sysdeps/generic/ldsodefs.h (struct rtld_global): Move all [USE_TLS] - members to the end, so a libpthread compiled with !USE_TLS will still - find other members properly. - - * sysdeps/i386/i486/bits/string.h (__strcpy_g): Add dummy output - operand for DEST memory. Fix dummy input operand to use SRC. - Reported by Davin McCall . - - * sysdeps/generic/libc-tls.c (__libc_setup_tls): Account for TCB - alignment when initializing the DTV entry. - - * elf/dl-load.c (_dl_map_object_from_fd): If we hit a TLS segment - when TLS has not been set up, try to set it up if we can. - * elf/tst-tls4.c: Revert last change. - * elf/tst-tls5.c: Likewise. - * elf/tst-tls6.c: Likewise. - * elf/tst-tls7.c: Likewise. - * elf/tst-tls8.c: Likewise. - * elf/tst-tls9.c: Likewise. - - * sysdeps/generic/dl-tls.c [SHARED] (_dl_tls_setup): New function. - * sysdeps/generic/ldsodefs.h: Declare it. - * elf/Versions (ld: GLIBC_PRIVATE): Add it. - * sysdeps/generic/libc-tls.c (init_slotinfo): New static inline - function, broken out of __libc_setup_tls. - (init_static_tls): Likewise. - (__libc_setup_tls): Call them. - (_dl_tls_setup): New function, uses new subroutines. - - * elf/dl-close.c (free_slotinfo): Make argument pointer to pointer. - Clear the pointer when returning true. - (libc_freeres_fn) [SHARED]: If GL(dl_initial_dtv) is null, free the - first element of the slotinfo list too. - - * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Define only if - [SHARED]. - - * sysdeps/generic/ldsodefs.h (_dl_next_tls_modid): Declare as hidden. - (_dl_determine_tlsoffset): Likewise. - - * elf/rtld.c (_dl_initial_error_catch_tsd): Renamed from - startup_error_tsd, made global. - (dl_main): Update initialization. - * elf/dl-tsd.c: Likewise. - * sysdeps/generic/ldsodefs.h: Declare it. - -2002-12-03 Ulrich Drepper - - * manual/texinfo.tex: Update from latest upstream version. - -2002-12-03 Roland McGrath - - * sysdeps/generic/libc-tls.c (__libc_setup_tls): Include static TLS - area surplus in calculation for sbrk call. - - * iconvdata/cp1125.c: New file. - * iconvdata/Makefile (distribute): Add it. - (modules): Add CP1125. - (gen-8bit-gap-modules): Add cp1125. - * iconvdata/gconv-modules: Add CP1125, alias RUSCII. - * iconvdata/tst-tables.sh: Add CP1125 to the list to test. - -2002-12-03 Andreas Jaeger - - * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated. - -2002-12-03 Ulrich Drepper - - * sysdeps/posix/system.c (do_system): Make signal handler - installation thread safe. - -2002-12-02 Roland McGrath - - * sysdeps/unix/sysv/linux/alpha/syscalls.list (readahead): Change - caller from EXTRA to -. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. - -2002-12-02 Carlos O'Donell - - * sysdeps/hppa/fpu/fesetround.c (fesetround): Use ~FE_DOWNWARD so both - bits of RM are cleared. - -2002-12-02 Roland McGrath - - * elf/tst-tls4.c: Define an unused TLS variable here, so that no lazy - TLS setup is required. - * elf/tst-tls5.c: Likewise. - * elf/tst-tls6.c: Likewise. - * elf/tst-tls7.c: Likewise. - * elf/tst-tls8.c: Likewise. - * elf/tst-tls9.c: Likewise. - - * elf/rtld.c (dl_main): Remove [! SHARED] conditional from - `if (GL(dl_tls_max_dtv_idx) > 0)' tests for doing TLS setup. - * elf/dl-close.c (libc_freeres_fn): Check GL(dl_tls_dtv_slotinfo_list) - for being null before calling free_slotinfo. - * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: For PT_TLS in - dynamic loading, bail with error if GL(dl_tls_max_dtv_idx) is zero. - -2002-11-30 Bruno Haible - - * iconv/gconv.h (__gconv_btowc_fct): New typedef. - (struct __gconv_step): New field __btowc_fct. - * wcsmbs/btowc.c (__btowc): Use the __btowc_fct shortcut if possible. - * iconv/gconv_int.h (__BUILTIN_TRANSFORM): Renamed from - __BUILTIN_TRANS. - (__gconv_btwoc_ascii): New declaration. - * iconv/gconv_simple.c (BUILTIN_TRANSFORMATION): Add BtowcFct argument. - (__gconv_btwoc_ascii): New function. - * iconv/gconv_builtin.h: Add BtowcFct argument to all - BUILTIN_TRANSFORMATION invocations. - * iconv/gconv_conf.c (BUILTIN_TRANSFORMATION): Add BtowcFct argument. - * iconv/iconvconfig.c (BUILTIN_TRANSFORMATION): Likewise. - * iconv/gconv_builtin.c (map): New field btowc_fct. - (BUILTIN_TRANSFORMATION): Add BtowcFct argument. Use it to initialize - btowc_fct field. - (__gconv_get_builtin_trans): Initialize __btowc_fct field. - * iconv/gconv_cache.c (find_module): Initialize __btowc_fct field. - * iconv/gconv_db.c (gen_steps, increment_counter): Likewise. - * wcsmbs/wcsmbsload.c (to_wc, to_mb): Likewise. - * iconv/skeleton.c: Document STORE_REST and FROM_ONEBYTE. - (gconv_init): Initialize __btowc_fct field. - Undefine EXTRA_LOOP_ARGS and FROM_ONEBYTE at the end. - * iconv/loop.c: Document ONEBYTE_BODY. - (gconv_btowc, FROM_ONEBYTE): Define if ONEBYTE_BODY is defined. - Undefine ONEBYTE_BODY at the end. - * iconvdata/8bit-generic.c (ONEBYTE_BODY): New macro. - * iconvdata/8bit-gap.c (NONNUL): New macro. - (BODY for FROM_LOOP): Use it. - (ONEBYTE_BODY): New macro. - * iconvdata/isiri-3342.c (HAS_HOLES): Set to 1. - (NONNUL): New macro. - * iconvdata/ansi_x3.110.c (ONEBYTE_BODY): New macro. - * iconvdata/armscii-8.c (ONEBYTE_BODY): New macro. - * iconvdata/cp1255.c (ONEBYTE_BODY): New macro. - * iconvdata/cp1258.c (ONEBYTE_BODY): New macro. - * iconvdata/tcvn5712-1.c (ONEBYTE_BODY): New macro. - * iconvdata/big5.c (ONEBYTE_BODY): New macro. - * iconvdata/big5hkscs.c (ONEBYTE_BODY): New macro. - * iconvdata/euc-cn.c (ONEBYTE_BODY): New macro. - * iconvdata/euc-jp.c (ONEBYTE_BODY): New macro. - * iconvdata/euc-jisx0213.c (ONEBYTE_BODY): New macro. - * iconvdata/euc-kr.c (ONEBYTE_BODY): New macro. - * iconvdata/euc-tw.c (ONEBYTE_BODY): New macro. - * iconvdata/gbk.c (ONEBYTE_BODY): New macro. - * iconvdata/gb18030.c (ONEBYTE_BODY): New macro. - * iconvdata/ibm932.c: Include . - (TRUE, FALSE): Remove macros. - (BODY for FROM_LOOP): Remove unused variable rp1. - (ONEBYTE_BODY): New macro. - (BODY for TO_LOOP): Use bool. - * iconvdata/ibm932.h (__ibm932sb_to_ucs4_idx): Remove array. - * iconvdata/ibm943.c: Include . - (TRUE, FALSE): Remove macros. - (BODY for FROM_LOOP): Remove unused variable rp1. - (ONEBYTE_BODY): New macro. - (BODY for TO_LOOP): Use bool. - * iconvdata/ibm943.h (__ibm943sb_to_ucs4_idx): Remove array. - * iconvdata/iso8859-1.c (ONEBYTE_BODY): New macro. - * iconvdata/iso_6937-2.c (ONEBYTE_BODY): New macro. - * iconvdata/iso_6937.c (ONEBYTE_BODY): New macro. - * iconvdata/johab.c (ONEBYTE_BODY): New macro. - * iconvdata/sjis.c (ONEBYTE_BODY): New macro. - * iconvdata/shift_jisx0213.c (ONEBYTE_BODY): New macro. - * iconvdata/t.61.c (ONEBYTE_BODY): New macro. - * iconvdata/uhc.c (ONEBYTE_BODY): New macro. - * iconvdata/gbbig5.c: Tweak comment. - -2002-12-02 Ulrich Drepper - - * po/fi.po: Update from translation team. - -2002-12-01 Roland McGrath - - * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Fix condition - testing getdents64 return value. - - * scripts/versions.awk: Don't pass -n flag to sort command. - - * posix/bug-regex13.c: Include . - - * sysdeps/generic/libc-start.c (__libc_start_main): Do - DL_SYSDEP_OSCHECK here. - * sysdeps/unix/sysv/linux/init-first.c (init): Not here. - * sysdeps/unix/sysv/linux/dl-osinfo.h: Include . - - * sysdeps/generic/libc-tls.c (__libc_setup_tls): Bail if - argument TCBSIZE <= TLS_INIT_TCB_SIZE, not just if it's zero. - - * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Check l_tls_offset - instead of l_type to decide whether to use TLS_DTV_UNALLOCATED. - - * include/link.h: Comment typo fix. - -2002-12-01 Roland McGrath - - * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_FSYNC): Set to 200112L. - (_POSIX_SPAWN, _POSIX_MAPPED_FILES, _POSIX_MEMLOCK_RANGE, - _POSIX_MEMORY_PROTECTION): Likewise. - (_POSIX_POLL, _POSIX_SELECT): Removed. - -2002-11-28 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define macros which - require it to 200112L. Remove _POSIX_POLL and _POSIX_SELECT. - -2002-11-28 Jakub Jelinek - - * sysdeps/unix/alpha/sysdep.S: Change defined(USE___THREAD) to - USE___THREAD. - * sysdeps/unix/sysv/linux/alpha/sysdep.h (inline_syscall*): Avoid - "=v" constraints. - -2002-11-28 Ulrich Drepper - - * sysdeps/unix/sysv/linux/x86_64/vfork.S: Don't trash the CPU's - branch prediction buffers by using unpaired call/ret. - -2002-11-27 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/sysdep.h (ASMFMT_2): Fix typo in - first parameters constraint string. - (ASMFMT_3): Likewise. Patch by stefan.lauterbach@mincom.de. - -2002-11-27 Isamu Hasegawa - - * posix/regcomp.c (parse_expression): Set the bit since the back - reference is used in the regular expression. - * posix/regex_internal.c (re_node_set_init_1): Make it clean in case - of malloc failure. - (re_node_set_init_copy): Likewise. - * posix/regex_internal.h (state_array_t): New structure. - (re_sub_match_last_t): Likewise. - (re_sub_match_top_t): Likewise. - (re_match_context_t): Add new members. - (re_dfa_t): Likewise. - * posix/regexec.c (re_search_internal): Invoke prune_impossible_nodes - to check the matching is really correct, and retry if failed. - Move the routin pruning the impossible nodes from here, ... - (prune_impossible_nodes): To this function. - (check_matching): Invoke check_subexp_matching_top, and replace - redundant checking with transit_state_bkref invocation. - (proceed_next_node): Replace strncmp with memcmp. Reported by - Paolo Bonzini . - (update_cur_sifted_state): Remove search_subexp invocation. - (search_subexp): Remove this function. - (check_dst_limits_calc_pos): Use search_cur_bkref_entry for - optimization. - (sift_states_bkref): Use search_cur_bkref_entry for optimization. - Remove unused invocation of match_ctx_add_entry. - (transit_state): Invoke check_subexp_matching_top. - (check_subexp_matching_top): New function. - (transit_state_bkref): Remove unused array. - Merge transit_state_bkref_loop. - (transit_state_bkref_loop): Use get_subexp instead of - sift_states_backward. Use search_cur_bkref_entry for optimization. - Merge this function to transit_state_bkref. - (get_subexp): New function. - (get_subexp_sub): Likewise. - (find_subexp_node): Likewise. - (check_arrival): Likewise. - (check_arrival_expand_ecl): Likewise. - (check_arrival_expand_ecl_sub): Likewise. - (expand_bkref_cache): Likewise. - (match_ctx_init): Initialize new members. - (match_ctx_clean): New function. - (match_ctx_free): Release new members. - (match_ctx_free_subtops): New function. - (match_ctx_add_entry): Fix indent. - (search_cur_bkref_entry): New function. - (match_ctx_add_subtop): Likewise. - (match_ctx_add_sublast): Likewise. - -2002-11-25 Ulrich Drepper - - * iconv/Makefile (tests): Remove tst-iconv4.c - * iconv/tst-iconv4.c: Moved to... - * iconvdata/tst-iconv4.c: ...here. New file. - * iconvdata/Makefile (tests): Add tst-iconv4. Add dependencies. - -2002-11-25 Roland McGrath - - * inet/test-ifaddrs.c (main: addr_string): Handle null SA. - Grok AF_LINK if defined. - From Momchil Velikov . - - * sysdeps/gnu/ifaddrs.c (getifaddrs): If ioctl fails for netmask, - brdaddr, or dstaddr, just set those pointers to null and don't fail. - Reported by Momchil Velikov . - - * sysdeps/generic/ifreq.h (__if_nextreq) [_HAVE_SA_LEN]: If sa_len - is > sizeof IFR->ifa_addr, advance past the whole longer length. - (__ifreq): Count up NIFS that way too. - Reported by Momchil Velikov . - - * sysdeps/mach/hurd/lchmod.c: Include . - - * sysdeps/mach/hurd/i386/init-first.c: Include - and . - -2002-11-24 Ulrich Drepper - - * elf/elf.h (EM_ST19): Fix typo. - -2002-11-25 Jakub Jelinek - - * include/errno.h (__set_errno): Define as errno = val - unconditionally. - -2002-11-24 Roland McGrath - - * sysdeps/posix/readv.c: Include , use __set_errno macro. - * sysdeps/posix/writev.c: Likewise. - From Momchil Velikov . - - * elf/dl-error.c [! _LIBC_REENTRANT]: Use a static variable instead of - calling *GL(dl_error_catch_tsd) for a thread-local location. - * elf/rtld.c (startup_error_tsd): Conditionalize on [_LIBC_REENTRANT]. - (dl_main): Same for GL(dl_error_catch_tsd) initialization. - * elf/dl-tsd.c: Conditionalize contents on [_LIBC_REENTRANT]. - - * libio/iofflush.c: Add libc_hidden_def. - * libio/iofwrite.c: Likewise. - * sysdeps/generic/sigtimedwait.c: Likewise. - * sysdeps/generic/sigwaitinfo.c: Likewise. - * sysdeps/posix/sigwait.c: Likewise. - Reported by Momchil Velikov . - - * inet/inet_lnaof.c (inet_lnaof): Change return type to in_addr_t - to match declaration. - * inet/inet_netof.c (inet_netof): Likewise. - * inet/inet_mkadr.c (inet_makeaddr): Likewise for argument types. - Reported by Momchil Velikov . - - * configure.in: Skip AUTOCONF check under --without-cvs. - * configure: Regenerated. - - * posix/Makefile (headers): Add bits/pthreadtypes.h. - * sysdeps/unix/sysv/linux/Makefile (sysdep_heaers): Don't add it here. - * sysdeps/unix/sysv/linux/Dist: Remove it from the list. - -2002-11-24 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/sysdep.h: Support inline syscall - with six arguments. - -2002-11-19 Jim Meyering - - * time/mktime.c (__mon_yday, __mktime_internal) [!_LIBC]: Declare - as `static'. - * time/strptime.c (__mon_yday) [!_LIBC]: Declare as `static'. - -2002-11-23 Roland McGrath - - * scripts/abilist.awk: Avoid strtonum function, not there in mawk. - Just produce hex output for datum sizes. - - * elf/Makefile ($(objpfx)librtld.mk): Tighten up regexp. - Reported by Luca Barbieri . - -2002-11-20 Steven Munroe - - * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (msqid_ds) - [__WORDSIZE == 32]: Only PPC32 requires __unused1, __unused2, - and __unused3 fields. - * sysdeps/unix/sysv/linux/powerpc/bits/sem.h (semid_ds) - [__WORDSIZE == 32]: Only PPC32 requires __unused1 - and __unused2 fields. - * sysdeps/unix/sysv/linux/powerpc/bits/shm.h (shmid_ds) - [__WORDSIZE == 32]: Only PPC32 requires __unused1, __unused2, - __unused3, and __unused4 fields. - - * csu/gmon-start.c (__gmon_start__): Always use TEXT_START macro to - obtain lowest address for profiling in __monstartup call. - -2002-11-21 Roland McGrath - - * sysdeps/ia64/fpu/Makefile (libm-sysdep_routines): Remove redunant - $(calls) $(calls:=f) $(long-c-$(long-double-fcts)). - - * locale/localeinfo.h (struct locale_data): Revert last change. - - * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_exit_group): Add it. - From Ian Wienand . - - * sysdeps/unix/sysv/linux/ia64/sysdep.h (__NR_pread): Define to - __NR_pread64 if not defined. - (__NR_pwrite): Define to __NR_pwrite64 if not defined. - From Ian Wienand . - -2002-11-21 Roland McGrath - - * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Set - __libc_multiple_libcs here. Call __setfpucw. - -2002-11-21 Ulrich Drepper - - * elf/Makefile (tests): Don't run test-arrayX tests for now. - - * sysdeps/unix/sysv/linux/bits/sched.h: Add new CLONE_* flags. - * sysdeps/unix/sysv/linux/i386/clone.S: Add support for - CLONE_CHILD_*TID flags. - -2002-11-20 Andreas Jaeger - - * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT): - We pass struct ucontext on x86-64. - (GET_PC): Adjust. - (GET_FRAME): Adjust. - (GET_STACK): Adjust. - -2002-11-20 Roland McGrath - - * sysdeps/powerpc/powerpc32/dl-machine.c [! SHARED]: Further - conditionalize [! DO_VERSIONING] #error. - - * scripts/abilist.awk: Grok function descriptor symbols. - - * intl/tst-gettext.c (main): Check return values from setlocale. - Add necessary unsetenv's to make LANG=existing-locale check work. - - * intl/tst-gettext.sh: Use mkdir -p. Copy test files unconditionally, - so aborted prior runs don't confuse things. - - * locale/localeinfo.h (struct locale_data: union locale_data_value): - Use uintptr_t instead of unsigned int for `word' member. - (_NL_CURRENT_WORD): Cast to uint32_t. - - * posix/bug-regex5.c (main): Use union to extract _NL_COLLATE_NRULES - value. - -2002-11-20 Ulrich Drepper - - * elf/tls-macros.h: Add IA-64 definitions. - Patch by Ian Wienand . - - * iconv/Makefile (tests): Add tst-iconv4. - * iconv/tst-iconv4.c: New file. - - * iconv/gconv_simple.c (internal_ucs4le_loop_unaligned): Return - __GCONV_EMPTY_INPUT only if input is really empty. Otherwise - __GCONV_INCOMPLETE_INPUT. - (ucs4le_internal_loop): Likewise. - (ucs4le_internal_loop_unaligned): Likewise. - * iconvdata/unicode.c (PREPARE_LOOP): Likewise. - * iconvdata/utf-16.c (PREPARE_LOOP): Likewise. - * iconvdata/utf-32.c (PREPARE_LOOP): Likewise. - - * iconv/loop.c (LOOPFCT): First test for empty input then for full - output buffer. - - * inet/getnameinfo.c: Use extend_alloca where appropriate. - * sysdeps/posix/getaddrinfo.c: Likewise. - - * include/alloca.h (extend_alloca): New define. Based on stack - direction it'll try to append to the previouls allocated buffer. - -2002-11-07 Thorsten Kukuk - - * sysdeps/posix/getaddrinfo.c (gaih_inet): If AF_UNSPEC is set, - use the same service for AF_INET and AF_INET6. - -2002-11-19 Ulrich Drepper - - * intl/localealias.c (read_alias_file): Use only about 400 bytes - of stack space instead of 16k. - -2002-11-18 Wolfram Gloger - - * malloc/arena.c - (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2): Do - nothing if not initialized. Bug report from Marcus Brinkmann - . - -2002-11-19 Roland McGrath - - * posix/Versions (libc: GLIBC_2.3.2): Add sched_getaffinity and - sched_setaffinity. - - * configure.in (libc_cv_gcc_dwarf2_unwind_info check): Use libraries - `-lgcc -lgcc_eh -lgcc', not just `-lgcc -lgcc_eh' in link commands for - test leading to libc_cv_gcc_dwarf2_unwind_info=no_registry_needed. - * configure: Regenerated. - -2002-11-19 Ulrich Drepper - - * include/dlfcn.h: __libc_dlopen is now a macro calling - __libc_dlopen_mode with the extra parameter RTLD_LAZY. - (__libc_dlopen_mode): New prototype. - * elf/dl-libc.c (__libc_dlopen_mode): Renamed from __libc_dlopen. Add - new parameter. Store new parameter in mode field of structure passed - to do_dlopen. - (struct do_dlopen_args): Add new field mode. - (do_dlopen): Pass mode from parameter structure to _dl_open. - -2002-11-11 Randolf Chung - - * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h [__USE_FILE_OFFSET64] - (F_GETLK, F_SETLK, F_SETLKW): Define to F_*64 versions. - * sysdeps/unix/sysv/linux/hppa/fcntl.c: New file. - - * sysdeps/hppa/fpu/libm-test-ulps: New file (generated). - - * sysdeps/hppa/Makefile (CFLAGS-rtld.c): New variable. - Set -mdisable-fpregs for this file. - -2002-11-11 Carlos O'Donell - - * sysdeps/unix/sysv/linux/configure.in: - Make 2.4.19 minimum linux kernel for hppa, and add unwind symbols - from gcc-3.0 era for backwards compatibility. - * sysdeps/unix/sysv/linux/configure: Regenerate. - - * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: - Define mcontext_t as a sigcontext. - -2002-11-18 Roland McGrath - - * dlfcn/dlerror.c (fini): New function, __attribute__ ((destructor)). - Free memory in `last_result' if it was used. - - * resolv/nss_dns/dns-network.c (getanswer_r): In BYNAME case, search - all aliases for one that matches the ".IN-ADDR.ARPA" form. - Do the parsing inline instead of copying strings and calling - inet_network, and properly skip all alias names not matching the form. - - * manual/pattern.texi (Variable Substitution): Fix # and ## examples. - -2002-11-17 Ulrich Drepper - - * manual/pattern.texi (Wordexp Example): Fix sample code. - - * sysdeps/unix/sysv/linux/i386/clone.S: Initialize word in the - childs stack which will be loaded into the %esi register. - -2002-11-14 Paul Eggert - - * resolv/nss_dns/dns-network.c (getanswer_r): Check for buffer - overflow when skipping the question part and when unpacking aliases. - -2002-11-15 Roland McGrath - - * math/Makefile (libm-calls): Remove s_copysign, s_isinf, s_isnan, - s_finite, s_modf, s_scalbn, s_frexp, m_ldexp, s_signbit. - Instead add $(calls:s_%=m_%) to get m_* versions of them all. - -2002-11-15 Jakub Jelinek - - * sysdeps/i386/dl-machine.h (elf_machine_rela): Handle R_386_COPY. - * sysdeps/arm/dl-machine.h (elf_machine_rela): Handle R_ARM_COPY. - -2002-11-15 Roland McGrath - - * math/Makefile (libm-calls): Change s_ldexp to m_ldexp. - * Makerules ($(+sysdir_pfx)sysd-rules): Emit pattern rules for m_%.[Sc] - from sysdeps/.../s_%.[Sc] with commands $(+make-include-of-dep). - (+make-include-of-dep): New canned sequence. - - * stdlib/canonicalize.c (__realpath): Check for malloc failure. - From Dmitry V. Levin . - -2002-11-14 Roland McGrath - - * sysdeps/generic/errno.c (__libc_errno): Remove alias. - * inet/herrno.c (__libc_h_errno): Likewise. - * resolv/res_libc.c (__libc_res): Likewise. - [USE___THREAD]: Use this in place of [USE_TLS && HAVE___THREAD]. - (__res_state) [! USE___THREAD]: Don't define as weak. - * csu/Versions: Revert last change. - * resolv/Versions: Revert last change. - - * Makerules ($(common-objpfx)%.make): New pattern rule. - * tls.make.c: New file. - * Makefile (distribute): Add it. - - * sysdeps/generic/errno.c [! USE___THREAD] - [HAVE_ELF && SHARED && DO_VERSIONING] (errno, _errno): Declare these - with compat_symbol so they are not link-time visible. - [! USE___THREAD] (__libc_errno): New alias for errno. - * csu/Versions [!(USE_TLS && HAVE___THREAD)] (libc: GLIBC_PRIVATE): - Add __libc_errno here. - * inet/herrno.c [USE___THREAD]: Use this conditional - in place of [USE_TLS && HAVE___THREAD]. - [! USE___THREAD] [HAVE_ELF && SHARED && DO_VERSIONING] - (h_errno, _h_errno): Declare these with compat_symbol so they are not - link-time visible. - [! USE___THREAD] (__libc_h_errno): New alias for h_errno. - * resolv/res_libc.c [! USE___THREAD] - [HAVE_ELF && SHARED && DO_VERSIONING] (_res): Likewise. - (_res): Use __attribute__ ((section (".bss"))) so we can have an alias. - (__libc_res): Define as alias for _res. - * resolv/Versions [!(USE_TLS && HAVE___THREAD)] (libc: GLIBC_PRIVATE): - Add __libc_h_errno and __libc_res here. - -2002-11-14 Jakub Jelinek - - * csu/Versions (errno): Move STT_TLS symbol to GLIBC_PRIVATE for now. - * resolv/Versions (h_errno, _res): Likewise. - -2002-11-14 Roland McGrath - - * Makerules (%.dynsym): Remove $(objpfx) from target and dep. - (%.symlist): Likewise. - -2002-11-13 Roland McGrath - - * scripts/abilist.awk: New file. - * Makefile (distribute): Add it. - * Makerules ($(objpfx)%.dynsym, $(objpfx)%.symlist): New rules. - (tests): Depend on .symlist file for each $(install-lib.so-versioned). - [$(subdir) = elf] (tests): Depend on libc.symlist. - (generated, common-generated): Add those files. - - * aclocal.m4 (LIBC_PROG_BINUTILS): Check for objdump, set OBJDUMP. - * configure: Regenerated. - * config.make.in (OBJDUMP): New variable, substituted by configure. - - * malloc/mcheck.c (struct hdr): New members `block' and `magic2'. - (mallochook, reallochook): Set them up. - (checkhdr): Check HDR->magic2 value. - (freehook): Reset HDR->magic2. - (memalignhook): New static function. - (old_memalign_hook): New static variable. - (mcheck, reallochook): Set __memalign_hook to memalignhook. - - * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): Zero the space - for the new TCB. - -2002-11-13 Andreas Jaeger - - * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Check for visibility - attribute. - * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. - -2002-11-11 Paul Eggert - - * manual/crypt.texi (Cryptographic Functions): Mention that - the MD5 one-way algorithm is compatible with BSD's. - -2002-11-11 Isamu Hasegawa - - * posix/regex_internal.c (re_string_skip_chars): Also return the last - wide character. - (re_string_reconstruct): Calculate the context by itself when the - offset points out of the valid range. - (re_string_context_at): Use wide character when MB_CUR_MAX > 1. - * posix/regex_internal.h (WIDE_NEWLINE_CHAR): New macro. - (IS_WIDE_WORD_CHAR): New macro. - (IS_WIDE_NEWLINE): New macro. - -2002-11-12 Andreas Jaeger - - * sysdeps/x86_64/strchr.S: Don't use one register for two - purposes, this fixes a bug noticed by test-strchr.c. - - * sysdeps/x86_64/strcat.S: Fix algorithm to align source pointer - correctly. - -2002-11-12 Roland McGrath - - * libio/libioP.h [_LIBC && !SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] - (_G_IO_NO_BACKWARD_COMPAT): Define it. - - * sysdeps/ia64/dl-fptr.c [_LIBC_REENTRANT]: Include - instead of . - [_LIBC_REENTRANT] (lock, unlock): Use __sync_lock_* macros instead of - testandset. - From Ian Wienand . - -2002-11-10 Roland McGrath - - * libio/bug-wfflush.c (do_test): Call rewind instead of fsetpos. - Call fputs instead of fwprintf (simpler to follow in debugger). - - * crypt/md5-crypt.c: Doc fix. - - * sysdeps/unix/make-syscalls.sh: Insert $(make-target-directory) at - the beginning of generated target commands. - - * csu/Makefile ($(objpfx)crti.o, $(objpfx)crtn.o): Add explicit - dependencies for these in case implicit rule search skipped the - nonexistent source directory. - * sysdeps/gnu/Makefile ($(objpfx)errlist.d): Give this rule all the - files with $(object-suffixes) as targets too. - * Makerules [no_deps && objpfx] (before-compile): Add $(objpfx). - and a target for it using $(make-target-directory). - - * Rules (before-compile): Add $(common-objpfx)bits/stdio-lim.h. - -2002-11-10 Roland McGrath - - * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: Moved to ... - * sysdeps/generic/bits/pthreadtypes.h: ... here. - - * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Treat a struct flock with - l_start == 0 and l_len == 1 as we do l_len == 0. - -2002-11-10 Ulrich Drepper - - * po/da.po: Update from translation team. - -2002-11-10 Roland McGrath - - * config.make.in (includedir): New variable, substituted by configure. - Reported missing by Jocelyn Fournier . - * Makeconfig (includedir): Use $(prefix), not $(exec_prefix). - -2002-11-10 Andreas Jaeger - - * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h (enum): Add - REG_OLDMASK and REG_CR2 to synch with kernel header. - (NGREG): Increase. - - * nss/getXXent.c (GETFUNC_NAME): Use union type to avoid strict - aliasing problem. - * nss/getXXbyYY_r.c (INTERNAL): Likewise. - * nss/getnssent_r.c (__nss_getent_r): Likewise. - (__nss_setent): Likewise. - (__nss_getent_r): Likewise. - * inet/getnetgrent_r.c (innetgr): Likewise. - (__internal_setnetgrent_reuse): Likewise. - (internal_getnetgrent_r): Likewise. - * inet/ether_hton.c (ether_hostton): Likewise. - * inet/ether_ntoh.c (ether_ntohost): Likewise. - * sunrpc/netname.c (netname2user): Likewise. - * sunrpc/publickey.c (getpublickey): Likewise. - (getsecretkey): Likewise. - -2002-11-09 Marcus Brinkmann - - * sysdeps/mach/hurd/i386/ioperm.c (ioperm): Correct off by one - error in range calculation. - -2002-10-09 Jakub Jelinek - - * string/test-strspn.c (do_test): Ensure zero termination. - * string/test-strpbrk.c (do_test): Likewise. - * string/test-strncmp.c (stupid_strncmp): Use strnlen, not strlen. - * string/test-strncpy.c (stupid_strncpy): Likewise. - * string/test-stpncpy.c (stupid_stpncpy): Likewise. - -2002-10-08 Roland McGrath - - * string/test-string.h (test_init): Fill BUF1 and BUF2 with - nonzero characters. - -2002-09-22 H.J. Lu - - * sysdeps/unix/sysv/linux/mmap64.c (MMAP2_PAGE_SHIFT): Renamed - from PAGE_SHIFT. Define if not defined. Check MMAP2_PAGE_SHIFT - only if __NR_mmap2 is defined. - - * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Moved to ... - * sysdeps/unix/sysv/linux/mmap64.c: ... here. - * sysdeps/unix/sysv/linux/hppa/mmap64.c: File removed. - * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: FIle removed, - -2002-11-08 Jakub Jelinek - - * posix/bug-regex13.c (tests): Add new test. - - * string/test-strchr.c (stupid_strchr): New function. - (do_random_tests): Make sure the string is zero terminated. - * string/test-strpbrk.c (stupid_strpbrk): New function. - (do_random_tests): Make sure the string is zero terminated. - * string/test-strcmp.c (stupid_strcmp): New function. - (do_random_tests): Make sure the strings are zero terminated. - * string/test-strspn.c (stupid_strspn): New function. - (simple_strspn): Rename rej argument to acc. - (do_random_tests): Make sure the string is zero terminated. - * string/test-strcspn.c (stupid_strcspn): New function. - * string/test-strncpy.c (stupid_strncpy): New function. - * string/test-stpncpy.c (stupid_stpncpy): New function. - * string/test-strncmp.c (stupid_strncmp): New function. - (do_random_tests): Make sure the strings are zero terminated. - * string/test-string.h (impl_t): Change test into long. - (IMPL): Add __attribute__((aligned (sizeof (void *)))). - -2002-11-08 Roland McGrath - - * sysdeps/ia64/elf/configure.in: Add TLS check. - From Ian Wienand . - * sysdeps/ia64/elf/configure: Regenerated. - -2002-11-07 Roland McGrath - - * libio/fileops.c (_IO_new_file_overflow): Use INTUSE(_IO_do_write) in - place of _IO_new_do_write. - [_LIBC] (_IO_do_write): Define as macro for _IO_new_do_write and - #undef before versioned_symbol use. - -2002-11-07 Richard Henderson - - * configure.in (ASM_ALPHA_NG_SYMBOL_PREFIX): Remove test. - * configure: Regenerated. - * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): Remove #undef. - * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Use !samegp. - (RTLD_START): Likewise. Access _dl_skip_args, _rtld_local, and - _dl_fini via gp-relative relocations. - * sysdeps/alpha/fpu/e_sqrt.c: Use !samegp. - - * elf/tls-macros.h: Add alpha versions. - * sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle TLS relocs. - * sysdeps/unix/alpha/sysdep.S: Support USE___THREAD. - * sysdeps/unix/alpha/sysdep.h: Likewise. Add SYSCALL_ERROR_HANDLER. - * sysdeps/unix/sysv/linux/alpha/brk.S: Use it. - * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/select.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise. - - * sysdeps/unix/sysv/linux/alpha/sysdep.h: Re-include protect. - Kill argument registers across the inline syscall. - - * sysdeps/unix/sysv/linux/alpha/clone.S: Add user_tid and tls args. - - * linuxthreads/sysdeps/alpha/tls.h: New file. - * sysdeps/alpha/dl-tls.h: New file. - -2002-10-29 David Mosberger - - * sysdeps/ia64/elf/initfini.c [HAVE_INITFINI_ARRAY] - (gmon_initializer): New function. - (.init prologue): If HAVE_INITFINI_ARRAY is true, don't call - __gmon_start__ here. Call it from gmon_initializer() instead. - -2002-03-12 H.J. Lu - - * elf/Makefile [$(have-initfini-array) = yes] (tests): Add tst-array1, - tst-array2, and tst-array3. - [$(have-initfini-array) = yes] (tests-static): Add tst-array3. - [$(have-initfini-array) = yes] (modules-names): Add tst-array2dep. - ($(objpfx)tst-array1.out): New target. - ($(objpfx)tst-array2): Likewise. - ($(objpfx)tst-array2.out): Likewise. - ($(objpfx)tst-array3.out): Likewise. - * elf/tst-array1.c: New file. - * elf/tst-array1.exp: Likewise. - * elf/tst-array2.c: Likewise. - * elf/tst-array2dep.c: Likewise. - * elf/tst-array2.exp: Likewise. - * elf/tst-array3.c: Likewise. - -2002-10-28 David Mosberger - - * elf/dl-fini.c (_dl_fini): Invoke fini_array in _reverse_ order. - Don't add L->l_addr to array entry values. - -2002-11-07 Jakub Jelinek - - * string/test-string.h: New file. - * string/test-strlen.c: New file. - * string/test-string.h: New file. - * string/test-strcmp.c: New file. - * string/test-strchr.c: New file. - * string/test-strrchr.c: New file. - * string/test-strcpy.c: New file. - * string/test-stpcpy.c: New file. - * string/test-strncpy.c: New file. - * string/test-stpncpy.c: New file. - * string/test-strpbrk.c: New file. - * string/test-strcspn.c: New file. - * string/test-strspn.c: New file. - * string/test-strcat.c: New file. - * string/test-strncmp.c: New file. - * string/test-memchr.c: New file. - * string/test-memcmp.c: New file. - * string/test-memset.c: New file. - * string/test-memcpy.c: New file. - * string/test-mempcpy.c: New file. - * string/test-memmove.c: New file. - * string/Makefile (strop-tests): New variable. - (tests): Add strop-tests. - (distribute): Add test-string.h. - -2002-11-06 Ulrich Drepper - - * posix/regcomp.c: Use tabs instead of spaces. - * posix/regexec.c: Likewise. - * posix/regex_internal.h: Likewise. - - * posix/regcomp.c (re_compile_fastmap_iter): Use __wcrtomb not wctomb. - -2002-11-06 Jakub Jelinek - - * posix/regcomp.c (re_compile_pattern): Don't set regs_allocated - here. - (regcomp): Don't set can_be_null here. - (re_comp): Clear whole re_comp_buf with the exception of fastmap. - (re_compile_internal): Clear can_be_null, set regs_allocated. - - * posix/regcomp.c (re_set_fastmap): New function. - (re_compile_fastmap_iter): Use it. Remove redundant type == - COMPLEX_BRACKET check. - * posix/regexec.c (re_search_internal): Optimize searching with - fastmap. Call re_string_reconstruct even if match_first is - smaller than raw_mbs_idx. - -2002-11-06 Isamu Hasegawa - - * posix/regcomp (free_dfa_content): Use free_state. - * posix/regex_internal.c (re_string_realloc_buffers): Don't edit - pointers in case that realloc failed. - (re_node_set_merge): Likewise. - (register_state): Likewise. - (create_newstate_common): Invoke memory release functions in case of - error conditions. - (create_ci_newstate): Likewise. - (create_cd_newstate): Likewise. - (free_state): New function. - * posix/regexec.c (re_search_internal): Invoke memory release - functions in case of error conditions. - (sift_states_backward): Likewise. - (merge_state_array): Likewise. - (add_epsilon_src_nodes): Likewise. - (sub_epsilon_src_nodes): Likewise. - (search_subexp): Likewise. - (sift_states_bkref): Likewise. - (transit_state_sb): Likewise. - (transit_state_mb): Likewise. - (transit_state_bkref_loop): Likewise. - (group_nodes_into_DFAstates): Likewise. - (push_fail_stack): Don't edit pointers in case that realloc failed. - (extend_buffers): Likewise. - (match_ctx_add_entry): Likewise. - -2002-11-06 Roland McGrath - - * sysdeps/unix/sysv/linux/mips/configure.in: File removed. - * sysdeps/unix/sysv/linux/mips/configure: Likewise. - - * configure.in: Add checks on as and ld for binutils 2.13 or later. - * configure: Regenerated. - -2002-11-06 Ulrich Drepper - - * posix/regcomp.c (regcomp): __re_compile_fastmap can never fail. - If re_compile_internal failed free fastmap buffer. - (free_dfa_content): Broken out of regfree function. Frees all dfa - related data. - (regfree): Add free_dfa_content. - (re_compile_internal): If any of the called functions fails free - all dfa related memory. - -2002-11-05 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sys/sysctl.h: Add ugly hacks to prevent - warnings from the kernel headers. - -2002-11-05 Roland McGrath - - * sysdeps/unix/mips/sysdep.h [! __PIC__] (PSEUDO): Add nop after jump. - From Johannes Stezenbach . - - * sysdeps/unix/sysv/linux/mips/Versions (libc: GLIBC_2.0): Change - #errlist-compat magic comment to give 123 as size. - (libc: GLIBC_2.1): Remove this set, moving #errlist-compat magic to ... - (libc: GLIBC_2.2): ... here. - (libc: GLIBC_2.3): Likewise. - -2002-11-05 Ulrich Drepper - - * elf/dl-fini.c (_dl_fini): Correct the increment of l_opencount - which happens at the beginning so that we can unload modules in - __libc_freeres. - -2002-11-06 Kaz Kojima - - * sysdeps/sh/bits/setjmp.h (JB_SIZE): Define only - under [__USE_MISC || _ASM]. - - * elf/elf.h: Remove the obsolete SH TLS relocations. - -2002-11-05 Ulrich Drepper - - * posix/regcomp.c (regcomp): Initialize preg->can_be_null to zero. - -2002-11-05 Franz Sirl - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Handle - __NR_pread64 and __NR_pwrite64. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/pread.c: Remove __NR_pread64 - and __NR_pwrite64. - Revert change to use INLINE_SYSCALL. - * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Revert change to use - INLINE_SYSCALL. - * sysdeps/unix/sysv/linux/powerpc/truncate64.c: Likewise. - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL): - Update clobber list and add a comment about the syscall ABI. - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (s_pread64, - s_pwrite64, s_ftruncate, s_truncate): Re-add. - -2002-11-05 Jakub Jelinek - - * iconv/gconv_dl.c (free_mem): Clear loaded. - * locale/loadarchive.c (_nl_archive_subfreeres): Call locale_data's - cleanup if any. - -2002-11-05 Ulrich Drepper - - * sysdeps/unix/sysv/linux/fexecve.c: Include . - - * libio/ioseekoff.c: Remove INTDEF. Define _IO_seekoff_unlocked. Same - as old code without locking. _IO_seekoff calls this function after - locking the stream. - * libio/ioseekpos.c: Likewise for _IO_seekpos. - * libio/libioP.h: Replace _IO_seekoff_internal and _IO_seekpos_internal - prototypes with _IO_seekoff_unlocked and _IO_seekpos_unlocked - prototypes. - * libio/iolibio.h (_IO_fseek): Call _IO_seekoff_unlocked instead - of _IO_seekoff_internal. - (_IO_rewind): Likewise. - * libio/ioftell.c: Likewise. - * libio/ftello.c: Likewise. - * libio/ftello64.c: Likewise. - * libio/iofgetpos.c: Likewise. - * libio/iofgetpos64.c: Likewise. - * libio/oldiofgetpos.c: Likewise. - * libio/oldiofgetpos64.c: Likewise. - * libio/iofsetpos.c: Call _IO_seekpos_unlocked instead of - _IO_seekpos_internal. - * libio/iofsetpos64.c: Likewise. - * libio/oldiofsetpos.c: Likewise. - * libio/oldiofsetpos64.c: Likewise. - -2002-11-04 Roland McGrath - - * sysdeps/unix/sysv/linux/powerpc/chown.c: Use INLINE_SYSCALL macro. - * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/ioctl.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/pread.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/truncate64.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (s_ioctl, - s_chown, s_ftruncate64, s_mmap2, s_pread64, s_pwrite64, s_truncate64, - sys_fstat, sys_lstat, sys_mknod, sys_readv, sys_stat, sys_writev): - Remove these, no longer used. - -2002-11-04 Franz Sirl - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (s_ipc, - s_llseek, s_readahead, s_execve, s_fcntl, s_fcntl64, s_fstat64, - s_getcwd, s_getdents, s_getdents64, s_getpmsg, s_getpriority, - s_getrlimit, s_lstat64, s_poll, s_ptrace, s_putpmsg, s_reboot, - s_setrlimit, s_sigaction, s_sigpending, s_sigprocmask, s_sigsuspend, - s_stat64, s_sysctl, s_ugetrlimit, s_ustat, s_vfork): Remove now unused - syscall stubs. - - * sysdeps/unix/sysv/linux/pwrite.c: Fix typo. - * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/pread.c: Handle both __NR_pread64 - and __NR_pread. - * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Handle both __NR_pwrite64 - and __NR_pwrite. - * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise. - -2002-11-03 Roland McGrath - - * sysdeps/generic/ldsodefs.h (struct rtld_global): New member - `_dl_tls_static_used'. - * sysdeps/generic/libc-tls.c (_dl_tls_static_used): New variable. - (__libc_setup_tls): Initialize it. Let the initial value of - _dl_tls_static_size indicate some surplus space in the computed value. - * elf/dl-open.c (_dl_tls_static_size): New variable. - * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Initialize - _dl_tls_static_used. Add some surplus space into _dl_tls_static_size. - * elf/dl-reloc.c [USE_TLS] (allocate_static_tls): New function. - (CHECK_STATIC_TLS): Use it. - * elf/dl-close.c (_dl_close): Adjust _dl_tls_static_used when the - closed objects occupied a trailing contiguous chunk of static TLS area. - -2002-10-18 Bruno Haible - - * charmaps/ISO_5428: Use Greek characters introduced in Unicode 3.0. - -2002-11-04 Ulrich Drepper - - * libio/wfileops.c (_IO_wfile_seekoff): Don't modify _offset and - _wide_data->_IO_read_end if adjustment can be made in the current - buffer. - - * sysdeps/unix/sysv/linux/fexecve.c: New file. - - * libio/bug-wfflush.c (do_test): Using fseek is not allowed when - wide oriented streams are used. - - * nss/getXXent_r.c (ENDFUNC_NAME): Don't do anything if the - service hasn't been used [PR libc/4744]. - - * include/features.h: Use __STDC_VERSION__ not __STDC_VERSION. - Reported by Miloslav Trmac [PR libc/4766]. - - * manual/examples/dir.c: Don't include . - * manual/examples/select.c: Include for TEMP_FAILURE_RETRY. - Reported by Frédéric Delanoy . - -2002-11-02 H.J. Lu - - * stdio-common/reg-printf.c: Include . - -2002-11-03 Ulrich Drepper - - * sysdeps/generic/libc-tls.c: Define _dl_tls_static_used. - - * po/ca.po: Update from translation team. - * po/es.po: Likewise. - - * sysdeps/generic/segfault.c (catch_segfault): If HAVE_PROC_SELF - is defined write out memory map. - * sysdeps/unix/sysv/linux/segfault.c: New file. - -2002-11-02 Roland McGrath - - * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use union type for - pointers that can alias. - Reported by Daniel Jacobowitz . - - * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: New file. - -2002-11-02 Roland McGrath - - * manual/filesys.texi (Reading/Closing Directory): Rewrite readdir_r - description to be clearer and to say that *RESULT is set to ENTRY. - -2002-10-30 Jakub Jelinek - - * posix/regexec.c (build_trtable): Alloca or malloc dests_node and - dests_ch arrays together. Alloca or malloc dest_states, - dest_states_word and dest_states_nl arrays together. Free memory on - error exit. - -2002-10-29 Daniel Jacobowitz - - * crypt/crypt_util.c (__init_des_r): Initialize current_salt - and current_saltbits. - -2002-11-02 Roland McGrath - - * stdio-common/reg-printf.c: Include . - -2002-11-02 H.J. Lu - - * sysdeps/unix/sysv/linux/mips/syscalls.list (s_execve): Set - caller to EXTRA instead of execve. - -2002-11-01 Roland McGrath - - * sysdeps/generic/errno-loc.c [! USE___THREAD]: Use this conditional - in place of [!(USE_TLS && HAVE___THREAD)]. - (__errno_location) [! USE___THREAD]: Define as strong, not weak. - -2002-10-31 Roger Sayle - - * sysdeps/i386/soft-fp/sfp-machine.h (_FP_NANFRAC_Q, _FP_NANSIGN_Q): - New macros. - * sysdeps/x86_64/soft-fp/sfp-machine.h: Likewise. - - * soft-fp/soft-fp.h: Allow sfp-machine.h to define FP_RND_NEAREST - without defining FP_ROUNDMODE. - -2002-10-29 Jakub Jelinek - - * sysdeps/gnu/siglist.c (PTR_SIZE_STR): Remove. - (__old_sys_siglist, __old_sys_sigabbrev): Use strong_alias and - declare_symbol. - * sysdeps/mach/hurd/siglist.h (OLD_SIGLIST_SIZE_STR): Remove. - (OLD_SIGLIST_SIZE): Define. - * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): Remove. - (OLD_SIGLIST_SIZE): Define. - * sysdeps/unix/sysv/linux/arm/siglist.c: Remove. - -2002-11-01 Jakub Jelinek - - * sysdeps/ia64/strncpy.S: Fix recovery code. - -2002-10-30 Jakub Jelinek - - * include/libc-symbols.h (__libc_freeres_fn_section, libc_freeres_fn): - New macros. - * elf/dl-close.c (free_mem): Use libc_freeres_fn macro, remove - text_set_element. - * elf/dl-libc.c (free_mem): Likewise. - * iconv/gconv_conf.c (free_mem): Likewise. - * iconv/gconv_db.c (free_mem): Likewise. - * iconv/gconv_dl.c (free_mem): Likewise. - * iconv/gconv_cache.c (free_mem): Likewise. - * intl/finddomain.c (free_mem): Likewise. - * intl/dcigettext.c (free_mem): Likewise. - * locale/setlocale.c (free_mem): Likewise. - * misc/fstab.c (fstab_free): Likewise. - * nss/nsswitch.c (free_mem): Likewise. - * posix/regcomp.c (free_mem): Likewise. - * resolv/gai_misc.c (free_res): Likewise. - * stdlib/fmtmsg.c (free_mem): Likewise. - * sunrpc/clnt_perr.c (free_mem): Likewise. - * sysdeps/generic/setenv.c (free_mem): Likewise. - * sysdeps/unix/sysv/linux/shm_open.c (freeit): Likewise. - * sysdeps/pthread/aio_misc.c (free_res): Likewise. - * time/tzset.c (free_mem): Likewise. - * malloc/mtrace.c (release_libc_mem): Add __libc_freeres_fn_section. - * locale/loadarchive.c (_nl_archive_subfreeres): Likewise. - * malloc/set-freeres.c (__libc_freeres): Likewise. - - * login/getutent.c: Include stdlib.h instead of stddef.h. - (buffer): Change into pointer to utmp, add libc_freeres_ptr. - (__getutent): Allocate buffer the first time it is run. - * login/getutid.c: Include stdlib.h instead of stddef.h. - (buffer): Change into pointer to utmp, add libc_freeres_ptr. - (__getutid): Allocate buffer the first time it is run. - * login/getutline.c: Include stdlib.h instead of stddef.h. - (buffer): Change into pointer to utmp, add libc_freeres_ptr. - (__getutline): Allocate buffer the first time it is run. - * malloc/mtrace.c (malloc_trace_buffer): Change into char *. - (mtrace): Allocate malloc_trace_buffer. - * resolv/nsap_addr.c (inet_nsap_ntoa): Decrease size of tmpbuf. - * resolv/ns_print.c (ns_sprintrrf): Decrease size of t. - * string/strerror.c: Include libintl.h and errno.h. - (buf): New variable. - (strerror): Only allocate buffer if actually needed (unknown error). - * time/tzfile.c (transitions): Add libc_freeres_ptr. - (freeres): Remove. - -2002-10-25 Jakub Jelinek - - * include/libc-symbols.h (libc_freeres_ptr): New macro. - * malloc/set-freeres.c (__libc_freeres_ptrs): Define using - symbol_set_define. - (__libc_freeres): Free all pointers in that section. - * Makerules (build-shlib): Add $(LDSEDCMD-$(@F:lib%.so=%).so) to sed - commands when creating .lds script. - (LDSEDCMD-c.so): New variable. - * inet/rcmd.c (ahostbuf): Change into char *. Add libc_freeres_ptr. - (rcmd_af): Use strdup to allocate ahostbuf. - * inet/rexec.c (ahostbuf): Change into char *. Add libc_freeres_ptr. - (rexec_af): Use strdup to allocate ahostbuf. - * stdio-common/reg-printf.c (printf_funcs): Remove. - (__printf_arginfo_table): Change into printf_arginfo_function **. - Add libc_freeres_ptr. - (__register_printf_function): Allocate __printf_arginfo_table - and __printf_function_table the first time it is called. - * stdio-common/printf-parse.h (__printf_arginfo_table): Change into - printf_arginfo_function **. - (parse_one_spec): Add __builtin_expect. - * grp/fgetgrent.c (buffer): Add libc_freeres_ptr. - (free_mem): Remove. - * inet/getnetgrent.c (buffer): Add libc_freeres_ptr. - (free_mem): Remove. - * intl/localealias.c (libc_freeres_ptr): Define if !_LIBC. - (string_space, map): Add libc_freeres_ptr. - (free_mem): Remove. - * misc/efgcvt.c (FCVT_BUFPTR): Add libc_freeres_ptr. - (free_mem): Remove. - * misc/mntent.c (getmntent_buffer): Add libc_freeres_ptr. - (free_mem): Remove. - * crypt/md5-crypt.c (libc_freeres_ptr): Define if !_LIBC. - (buffer): Add libc_freeres_ptr. - (free_mem): Remove for _LIBC. - * nss/getXXbyYY.c (buffer): Add libc_freeres_ptr. - (free_mem): Remove. - * nss/getXXent.c (buffer): Add libc_freeres_ptr. - (free_mem): Remove. - * pwd/fgetpwent.c (buffer): Add libc_freeres_ptr. - (free_mem): Remove. - * resolv/res_hconf.c (ifaddrs): Add libc_freeres_ptr. - (free_mem): Remove. - * shadow/fgetspent.c (buffer): Add libc_freeres_ptr. - (free_mem): Remove. - * sysdeps/posix/ttyname.c (getttyname_name): Add libc_freeres_ptr. - (free_mem): Remove. - * sysdeps/unix/sysv/linux/getsysstats.c (mount_proc): Add - libc_freeres_ptr. - (free_mem): Remove. - * sysdeps/unix/sysv/linux/ttyname.c (getttyname_name, ttyname_buf): Add - libc_freeres_ptr. - (free_mem): Remove. - -2002-10-30 Jakub Jelinek - - * malloc/obstack.c [_LIBC] (obstack_free): Change into strong_alias - instead of duplicating the whole function in libc. - -2002-10-31 Roland McGrath - - * sysdeps/i386/bits/byteswap.h [__GNUC__ < 2] (__bswap_32): - Renamed from __bswap_16 (typo fix). Reported by . - -2002-10-30 Jakub Jelinek - - * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Add -D for each - 32bit-predefine when creating .new32 list and -U for each - 32bit-predefine when creating .new64 list. - * sysdeps/unix/sysv/linux/x86_64/Makefile (32bit-predefine): New. - -2002-10-29 Andreas Schwab - - * sysdeps/generic/allocrtsig.c: Include , not - "testrtsig.h". Reported by Daniel Jacobowitz . - -2002-10-25 Roland McGrath - - * sysdeps/unix/sysv/linux/configure.in: Fix typo in last change. - * sysdeps/unix/sysv/linux/configure: Regenerated. - - * sysdeps/generic/ldsodefs.h: Remove [! SHARED] conditional from - _dl_starting_up decl. - -2002-10-20 H.J. Lu - - * sysdeps/unix/sysv/linux/configure.in: Don't check - /lib/modules/`uname -r`/build/include for kernel headers if - cross compiling. - * sysdeps/unix/sysv/linux/configure: Regenerated. - -2002-10-25 Roland McGrath - - * math/math.h (M_LOG2El): Correct the value. - From Stephen L Moshier . - - * sysdeps/unix/sysv/linux/init-first.c (init): Remove [! SHARED] - conditional from __libc_multiple_libcs access. Remove kludge for weak - symbol access with old compilers we no longer support. - * sysdeps/unix/sysv/aix/init-first.c (init): Likewise. - * sysdeps/generic/libc-start.c (__libc_start_main): Likewise. - -2002-10-25 Roland McGrath - - * sysdeps/posix/sigvec.c [SA_RESETHAND]: Disable wrapper hacks and - implement SV_RESETHAND by translating it to SA_RESETHAND. - -2002-10-23 Alexandre Oliva - - * elf/dl-reloc.c (_dl_reloc_bad_use): Print the full 32-bit relocation - type on ELF64 platforms. - -2002-10-24 Ulrich Drepper - - * elf/elf.h (R_X86_64_GOTTPOFF): Renamed from r_x86_64_GOTTPOFF. - - * elf/elf.h: Define ELF_NOTE_OS_FREEBSD and NT_TASKSTRUCT. - -2002-10-24 Jakub Jelinek - - * elf/dl-misc.c: Include . - (_dl_debug_vdprintf): Only take dl_load_lock if not _dl_starting_up. - - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INTERNAL_SYSCALL, - INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): New macros. - (INLINE_SYSCALL): Use that. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INTERNAL_SYSCALL, - INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): New macros. - (INLINE_SYSCALL): Use that. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INTERNAL_SYSCALL, - INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): New macros. - (INLINE_SYSCALL): Use that. - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Include - dl-sysdep.h. - (SYSCALL_ERROR_HANDLER): Define RTLD_PRIVATE_ERRNO variant. - (__INTERNAL_SYSCALL_STRING): Define. - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include - dl-sysdep.h. - (SYSCALL_ERROR_HANDLER): Define RTLD_PRIVATE_ERRNO variant. - (__INTERNAL_SYSCALL_STRING): Define. - * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL): Pass - __SYSCALL_STRING to inline_syscall*. - (INTERNAL_SYSCALL, INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): - New macros. - (inline_syscall0, inline_syscall1, inline_syscall2, inline_syscall3, - inline_syscall4, inline_syscall5, inline_syscall6): Add string + * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (neval, deval): Constify argument. -2002-10-24 Roland McGrath - - * sysdeps/generic/ldsodefs.h (_dl_starting_up): Declare it here. - * sysdeps/unix/sysv/linux/init-first.c: Not here. - * sysdeps/powerpc/elf/libc-start.c: Or here. - * sysdeps/unix/sysv/aix/libc-start.c: Or here. - * sysdeps/unix/sysv/aix/start-libc.c: Or here. - * sysdeps/unix/sysv/aix/init-first.c: Or here. - * sysdeps/generic/libc-start.c: Or here. - * sysdeps/unix/sysv/linux/init-first.c (init): Protect _dl_starting_up - access with [! SHARED]. - * sysdeps/unix/sysv/aix/init-first.c (init): Likewise. - - * libio/bug-wfflush.c: New file. - * libio/Makefile (tests): Add bug-wfflush. - -2002-10-23 Roland McGrath - - * stdio-common/tst-fphex.c: New file. - * stdio-common/Makefile (tests): Add tst-fphex. - * sysdeps/generic/printf_fphex.c (__printf_fphex): Fix initialization - of WNUMEND. Fix counting of decimal point in WIDTH. Print '0' pad - chars always before the value digits. - Reported by James Antill . - -2002-10-24 Jakub Jelinek - - * posix/regcomp.c (re_comp): Call __regfree on re_comp_buf. - (free_mem): New function. - * posix/Makefile (tests): Add bug-regex14. Add bug-regex14-mem - if not cross compiling. - (generated): Add bug-regex14-mem and bug-regex14.mtrace. - (bug-regex14-ENV): Set. - (bug-regex14-mem): New target. - * posix/bug-regex14.c: New file. - -2002-10-23 Roland McGrath - - * elf/Makefile ($(objpfx)librtld.map): Use temporary file for output - target, so we don't touch it when the link fails. - - * libio/ftello.c (ftello): Use _IO_off64_t for type of POS. - Check for the result overflowing off_t and fail with EOVERFLOW. - * libio/ioftell.c (_IO_ftell): Likewise. - * libio/iofgetpos.c (_IO_new_fgetpos): Likewise. - - * login/logwtmp.c (logwtmp): If sizeof ut_tv != sizeof struct timeval, - use a temporary timeval on the stack for gettimeofday and copy it. - * login/logout.c (logout): Likewise. - Reported by Steven Munroe . - - * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): - Use __SWORD_TYPE instead of int for member types. - (struct statfs64): Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/statfs.h: New file. - * sysdeps/unix/sysv/linux/s390/bits/statfs.h: New file. - * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: File removed. - * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: File removed. - * sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: File removed. - - * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: Moved to ... - * sysdeps/unix/sysv/linux/bits/statvfs.h: ... here. - (ST_NODIRATIME): Restore fixed value of 2048. - * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: File removed. - * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: File removed. - - Rearranged definitions to reduce duplication. - * sysdeps/generic/bits/types.h: Rewritten, using macros from - and new header . - * posix/Makefile (headers): Add bits/typesizes.h here. - * sysdeps/generic/bits/typesizes.h: New file. - * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h: New file. - * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: New file. - * sysdeps/mach/hurd/bits/typesizes.h: New file. - * sysdeps/unix/sysv/linux/alpha/bits/types.h: File removed. - * sysdeps/unix/sysv/linux/bits/types.h: File removed. - * sysdeps/unix/sysv/linux/ia64/bits/types.h: File removed. - * sysdeps/unix/sysv/linux/mips/bits/types.h: File removed. - * sysdeps/unix/sysv/linux/s390/bits/types.h: File removed. - * sysdeps/unix/sysv/linux/sparc/bits/types.h: File removed. - * sysdeps/unix/sysv/linux/x86_64/bits/types.h: File removed. - * posix/sys/types.h [__USE_POSIX199506 || __USE_UNIX98]: Include - here, not in . - * signal/signal.h: Likewise. - - * streams/stropts.h: Include . - * streams/Makefile (headers): Add bits/xtitypes.h here. - * sysdeps/generic/bits/xtitypes.h: New file. - * sysdeps/s390/bits/xtitypes.h: New file. - * sysdeps/ia64/bits/xtitypes.h: New file. - * sysdeps/x86_64/bits/xtitypes.h: New file. - - * sysvipc/Makefile (headers): Add bits/ipctypes.h here. - * sysdeps/generic/bits/ipctypes.h: New file. - * sysdeps/mips/bits/ipctypes.h: New file. - * sysdeps/gnu/bits/shm.h: Include . - * sysdeps/gnu/bits/msq.h: Likewise. - * sysvipc/sys/ipc.h: Likewise. - -2002-10-22 Ulrich Drepper - - * elf/dl-load.c (struct filebuf): For buf element to have the - alignment of ElfXX_Ehdr since this is what will be stored in it. - -2002-10-22 Jakub Jelinek - - * locale/programs/locarchive.c (add_alias): Change locrec_offset arg - into pointer to locrec_offset. - (add_locale_to_archive): Adjust callers. Free normalized_name right - before returning, not immediately after add_locale, pass it to - add_alias if not NULL instead of name. Rename second normalized_name - occurence to nnormalized_codeset_name. - - * locale/programs/locarchive.c (enlarge_archive): Make sure - string_size is always a multiple of 4. - Reported by Andreas Schwab . - -2002-10-21 Andreas Schwab - - * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_execve): Set - caller to EXTRA instead of execve, since the latter has a - higher-priority implementation in linuxthreads. - -2002-10-21 Roland McGrath - - * sysdeps/generic/libc-tls.c (__libc_setup_tls): Initialize the static - slotinfo list's len member to the proper size, not just 1. - Initialize static_map.l_tls_initimage. - - * elf/dl-open.c (dl_open_worker): Fix loop searching for - dtv_slotinfo_list element containing new modules' l_tls_modid. - - * elf/tst-tls9.c, elf/tst-tls9-static.c: New files. - * elf/tst-tlsmod5.c, elf/tst-tlsmod6.c: New files. - * elf/Makefile (tests): Add tst-tls9. - (tests-static): Add tst-tls9-static. - (tst-tls9-static-ENV): New variable. - ($(objpfx)tst-tls9-static, $(objpfx)tst-tls9-static.out): New targets. - - * elf/dl-close.c (remove_slotinfo): Remove an assert; the number of - modids used by partially loaded modules being closed can't be known. - -2002-10-21 Isamu Hasegawa - - * posix/Makefile: Add a test case for the bug reported by Aharon - Robbins . - * posix/bug-regex13.c: New file. - * posix/regcomp.c (peek_token_bracket): Skip the byte already read. - -2002-10-21 Ulrich Drepper - - * csu/gmon-start.c: Pretty printing. - -2002-10-19 Art Haas - - * configure.in: Replace AC_CONFIG_HEADER with AC_CONFIG_HEADERS, - add AC_HELP_STRING to all AC_ARG_WITH and AC_ARG_ENABLE macros, - add autoconf quotes to the AC_CONFIG_AUX_DIR macro. - * configure: Regenerated. - -2002-10-19 Roland McGrath - - * configure.in: Call AC_CONFIG_SUBDIRS with empty argument - and then set $subdirs directly, because the new Autoconf breaks - compatibility in every way imaginable and insists on whining - about usage that worked since the dawn of time. - * configure: Regenerated. - - * configure: Regenerated (using Autoconf 2.54). - * sysdeps/alpha/elf/configure: Likewise. - * sysdeps/generic/configure: Likewise. - * sysdeps/i386/elf/configure: Likewise. - * sysdeps/ia64/elf/configure: Likewise. - * sysdeps/mach/hurd/configure: Likewise. - * sysdeps/mach/configure: Likewise. - * sysdeps/unix/configure: Likewise. - * sysdeps/unix/common/configure: Likewise. - * sysdeps/unix/sysv/aix/configure: Likewise. - * sysdeps/unix/sysv/linux/configure: Likewise. - * sysdeps/unix/sysv/linux/mips/configure: Likewise. - * sysdeps/x86_64/elf/configure: Likewise. - - * config.make.in: Nix completely-soft nonsense. - * configure.in: Likewise. Under --without-fp, use nofpu subdirectory - of machine directories instead of fpu subdirectory. - * sysdeps/powerpc/soft-fp/Makefile: Remove cruft added in last change. - * sysdeps/powerpc/nofpu/Makefile: Put it in this new file instead. - * sysdeps/powerpc/soft-fp/sim-full.c: Moved to ... - * sysdeps/powerpc/nofpu/sim-full.c: ... here. - * sysdeps/powerpc/soft-fp/fraiseexcpt.c: Moved to ... - * sysdeps/powerpc/nofpu/fraiseexcpt.c: ... here. - * sysdeps/powerpc/soft-fp/fegetexcept.c: Moved to ... - * sysdeps/powerpc/nofpu/fegetexcept.c: ... here. - * sysdeps/powerpc/soft-fp/fclrexcpt.c: Moved to ... - * sysdeps/powerpc/nofpu/fclrexcpt.c: ... here. - * sysdeps/powerpc/soft-fp/ftestexcept.c: Moved to ... - * sysdeps/powerpc/nofpu/ftestexcept.c: ... here. - * sysdeps/powerpc/soft-fp/fgetexcptflg.c: Moved to ... - * sysdeps/powerpc/nofpu/fgetexcptflg.c: ... here. - * sysdeps/powerpc/soft-fp/fsetexcptflg.c: Moved to ... - * sysdeps/powerpc/nofpu/fsetexcptflg.c: ... here. - * sysdeps/powerpc/soft-fp/fedisblxcpt.c: Moved to ... - * sysdeps/powerpc/nofpu/fedisblxcpt.c: ... here. - * sysdeps/powerpc/soft-fp/feenablxcpt.c: Moved to ... - * sysdeps/powerpc/nofpu/feenablxcpt.c: ... here. - * sysdeps/powerpc/soft-fp/fegetenv.c: Moved to ... - * sysdeps/powerpc/nofpu/fegetenv.c: ... here. - * sysdeps/powerpc/soft-fp/fesetenv.c: Moved to ... - * sysdeps/powerpc/nofpu/fesetenv.c: ... here. - * sysdeps/powerpc/soft-fp/fegetround.c: Moved to ... - * sysdeps/powerpc/nofpu/fegetround.c: ... here. - * sysdeps/powerpc/soft-fp/fesetround.c: Moved to ... - * sysdeps/powerpc/nofpu/fesetround.c: ... here. - * sysdeps/powerpc/soft-fp/feupdateenv.c: Moved to ... - * sysdeps/powerpc/nofpu/feupdateenv.c: ... here. - * sysdeps/powerpc/soft-fp/feholdexcpt.c: Moved to ... - * sysdeps/powerpc/nofpu/feholdexcpt.c: ... here. - * sysdeps/powerpc/soft-fp/fenv_const.c: Moved to ... - * sysdeps/powerpc/nofpu/fenv_const.c: ... here. - * sysdeps/powerpc/soft-fp/libm-test-ulps: Moved to ... - * sysdeps/powerpc/nofpu/libm-test-ulps: ... here. - * sysdeps/powerpc/soft-fp/soft-supp.h: Moved to ... - * sysdeps/powerpc/nofpu/soft-supp.h: ... here. - * sysdeps/powerpc/soft-fp/Versions (libc: GLIBC_2.3.2): Moved to ... - * sysdeps/powerpc/nofpu/Versions: ... here, new file. - -2002-10-19 Bruno Haible - - * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: New file. - -2002-10-18 Roland McGrath - - * io/Makefile (routines): Add lchmod. - * io/sys/stat.h [__USE_BSD] (lchmod): Declare it. - * sysdeps/generic/lchmod.c: New file. - * sysdeps/mach/hurd/lchmod.c: New file. - * io/Versions (libc: GLIBC_2.3.2): New set, add lchmod. - -2002-10-18 Art Haas - - * configure.in: Remove remaining AC_FD_CC macros, and replace - AC_FD_MSG with AS_MESSAGE_FD. - -2002-10-18 Roland McGrath - - * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela): Fix - typos: VALUE -> FINALADDR. - - * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL, INLINE_SYSCALL1) - (inline_syscall_clobbers, inline_syscall0, inline_syscall1) - (inline_syscall2, inline_syscall3, inline_syscall4, inline_syscall5) - (inline_syscall6): Move these macros ... - * sysdeps/unix/sysv/linux/alpha/sysdep.h: ... to here. - - * configure.in (libc_link_dests, libc_link_sources): Remove these - variables and the AC_LINK_FILES call. - - * sysdeps/powerpc/soft-fp/Versions (libc: GLIBC_2.3.2): Fix last - change to put new symbols here instead of in GLIBC_2.2. - * sysdeps/powerpc/Subdirs: Move this file ... - * sysdeps/powerpc/soft-fp/Subdirs: ... here. - -2002-10-07 Roland McGrath - - * sysdeps/generic/bits/time.h: Replaced with contents of the - sysdeps/unix/sysv/linux/i386/bits/time.h file. All the following - files were identical except for the absence of CLOCK_THREAD_CPUTIME_ID - and CLOCK_PROCESS_CPUTIME_ID in .../linux/bits/time.h; adding these - macros is ok even for architectures that don't now implement them. - * sysdeps/mach/hurd/bits/time.h: File removed. - * sysdeps/unix/sysv/linux/bits/time.h: File removed. - * sysdeps/unix/sysv/linux/i386/bits/time.h: File removed. - * sysdeps/unix/sysv/linux/ia64/bits/time.h: File removed. - * sysdeps/unix/sysv/linux/sparc/bits/time.h: File removed. - * sysdeps/unix/sysv/linux/x86_64/bits/time.h: File removed. - -2002-10-18 Jeff Bailey - - * configure.in: Replace obsolete AC_OUTPUT syntax with - AC_CONFIG_FILES, AC_CONFIG_COMMANDS, and new-type AC_OUTPUT trio. - - * aclocal.m4 (GLIBC_PROVIDES): Add AC_PROVIDEs for - _AS_PATH_SEPARATOR_PREPARE and _AS_TEST_PREPARE. - - * configure.in: Replace AC_FD_CC with AS_MESSAGE_LOG_FD. - * sysdeps/alpha/elf/configure.in: Likewise. - * sysdeps/i386/elf/configure.in: Likewise. - * sysdeps/mach/hurd/configure.in: Likewise. - * sysdeps/x86_64/elf/configure.in: Likewise. - - * configure.in: Use AC_CONFIG_SRCDIR and new AC_INIT syntax. - - * sysdeps/alpha/elf/configure.in: Remove unneeded sinclude statement. - * sysdeps/generic/configure.in: Likewise. - * sysdeps/i386/elf/configure.in: Likewise. - * sysdeps/ia64/elf/configure.in: Likewise. - * sysdeps/mach/configure.in: Likewise. - * sysdeps/mach/hurd/configure.in: Likewise. - * sysdeps/unix/configure.in: Likewise. - * sysdeps/unix/common/configure.in: Likewise. - * sysdeps/unix/sysv/aix/configure.in: Likewise. - * sysdeps/unix/sysv/linux/configure.in: Likewise. - * sysdeps/unix/sysv/linux/mips/configure.in: Likewise. - * sysdeps/x86_64/elf/configure.in: Likewise. - - * aclocal.m4: Use just the bits from AS_INIT that are needed for the - GLIBC_PROVIDES. Use plain comment instead of HEADER-COMMENT so - that it's obvious when extra autoconf machinery is being dragged in. - -2002-10-18 Roland McGrath - - * configure.in: Remove bogus echo included in - 2002-10-08 Aldy Hernandez change. - * configure: Regenerated. - -2002-10-18 Jakub Jelinek - - * sysdeps/unix/sysv/linux/pathconf.h (statfs_link_max): Add inline. - (statfs_filesize_max): New function. - * sysdeps/unix/sysv/linux/linux_fsinfo.h (JFFS_SUPER_MAGIC, - JFFS2_SUPER_MAGIC, JFS_SUPER_MAGIC, NTFS_SUPER_MAGIC, - ROMFS_SUPER_MAGIC, UDF_SUPER_MAGIC): Define. - * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use - statfs_filesize_max. - * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise. - * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Removed. - * sysdeps/unix/sysv/linux/alpha/pathconf.c: Removed. - -2002-10-17 Roland McGrath - - * configure.in (MIG): Just AC_SUBST it here. - * configure: Regenerated. - * sysdeps/mach/configure.in (MIG): Do the AC_CHECK_TOOL here. - Adding final - argument to all AC_CHECK_HEADER uses for .defs files. - * sysdeps/mach/configure: Regenerated. - - * aclocal.m4 (GLIBC_PROVIDES): Add AC_PROVIDE([_AS_TR_SH_PREPARE]) - and AC_PROVIDE([_AS_CR_PREPARE]). - - * aclocal.m4 (GLIBC_PROVIDES): Add AC_PROVIDE([_AS_ECHO_N_PREPARE]). - Remove AC_LANG(C) call, instead just define([_AC_LANG], [C]). - - * elf/dl-support.c: Move _dl_tls_* variables to ... - * sysdeps/generic/libc-tls.c: ... here. - - * elf/dl-close.c (remove_slotinfo): Take new argument. If false, - allow IDX to be one past the current last slotinfo entry. - (_dl_close): Pass IMAP->l_init_called for that parameter. - -2002-10-07 Andreas Schwab - - * aclocal.m4: Fix for autoconf 2.53. - * configure.in: Likewise. Require autoconf 2.53. - -2002-10-08 Richard Henderson - - * soft-fp/op-4.h: Handle carry correctly in - __FP_FRAC_ADD_3, __FP_FRAC_ADD_4, __FP_FRAC_SUB_3, - __FP_FRAC_SUB_4, __FP_FRAC_DEC_3, __FP_FRAC_DEC_4. - * soft-fp/op-common.h: New macros _FP_DIV_MEAT_N_loop. - -2002-10-08 Aldy Hernandez - - * configure.in: Compute completely-soft. - * config.make.in: Make completely-soft available to sub-makes. - * sysdeps/powerpc/soft-fp/Makefile: Add gcc-single-routines and - gcc-double-routines. Add sim-full.c. Add fenv_const and - fe_nomask to libm-support. - * sysdeps/powerpc/soft-fp/sim-full.c: New file. - * sysdeps/powerpc/soft-fp/fraiseexcpt.c: New file. - * sysdeps/powerpc/soft-fp/fegetexcept.c: New file. - * sysdeps/powerpc/soft-fp/fclrexcpt.c: New file. - * sysdeps/powerpc/soft-fp/ftestexcept.c: New file. - * sysdeps/powerpc/soft-fp/fgetexcptflg.c: New file. - * sysdeps/powerpc/soft-fp/fsetexcptflg.c: New file. - * sysdeps/powerpc/soft-fp/fedisblxcpt.c: New file. - * sysdeps/powerpc/soft-fp/feenablxcpt.c: New file. - * sysdeps/powerpc/soft-fp/fegetenv.c: New file. - * sysdeps/powerpc/soft-fp/fesetenv.c: New file. - * sysdeps/powerpc/soft-fp/fegetround.c: New file. - * sysdeps/powerpc/soft-fp/fesetround.c: New file. - * sysdeps/powerpc/soft-fp/feupdateenv.c: New file. - * sysdeps/powerpc/soft-fp/feholdexcpt.c: New file. - * sysdeps/powerpc/soft-fp/fenv_const.c: New file. - * sysdeps/powerpc/soft-fp/libm-test-ulps: New file. - * sysdeps/powerpc/soft-fp/soft-supp.h: New file. - * sysdeps/powerpc/soft-fp/Versions: Add libgcc soft-float - symbols. Add __sim_disabled_exceptions, __sim_exceptions, - __sim_round_mode. - * sysdeps/powerpc/soft-float/Dist: Add sim-full.c, fenv_const.c. - * sysdeps/powerpc/soft-float/sfp-machine.h: Define - FP_HANDLE_EXCEPTIONS. - Define FP_ROUNDMODE. - Redefine FP_* macros to correspond to the FE_* bit positions. - Define FP_DIV_MEAT_S to _FP_DIV_MEAT_1_loop. - Define externs for __sim_exceptions, __sim_disabled_exceptions, - __sim_round_mode, __simulate_exceptions. - * sysdeps/powerpc/fpu/bits/fenv.h: Move file from here... - * sysdeps/powerpc/bits/fenv.h: ...to here. - -2002-10-06 Jakub Jelinek - - * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela): - Store R_PPC_UADDR32 and R_PPC_UADDR16 one byte at a time. - Use __builtin_expect for R_PPC_ADDR24 overflow check. Fix - R_PPC_ADDR16, R_PPC_UADDR16 and R_PPC_ADDR14* overflow check, use - __builtin_expect. - -2002-10-15 Jakub Jelinek - - * include/resolv.h (__libc_res_nquery, __libc_res_nsearch, - __libc_res_nsend): New prototypes. - * resolv/res_query.c (QUERYSIZE): Define. - (__libc_res_nquery): Renamed from res_nquery. Added answerp - argument. Allocate only QUERYSIZE bytes first, if res_nmkquery - fails use MAXPACKET buffer. Call __libc_res_nsend instead of - res_nsend, pass answerp. - (res_nquery): Changed into wrapper around __libc_res_nquery. - (__libc_res_nsearch): Renamed from res_nsearch. Added answerp - argument. Call __libc_res_nquerydomain and __libc_res_nquery - instead of the non-__libc_ variants, pass them answerp. - (res_nsearch): Changed into wrapper around __libc_res_nsearch. - (__libc_res_nquerydomain): Renamed from res_nquerydomain. - Added answerp argument. Call __libc_res_nquery instead of - res_nquery, pass answerp. - (res_nquerydomain): Changed into wrapper around - __libc_res_nquerydomain. - * resolv/res_send.c: Include sys/ioctl.h. - (MAXPACKET): Define. - (send_vc): Change arguments. Reallocate answer buffer if it is - too small. - (send_dg): Likewise. - (__libc_res_nsend): Renamed from res_nsend. Added ansp argument. - Reallocate answer buffer if it is too small and hooks are in use. - Adjust calls to send_vc and send_dg. - (res_nsend): Changed into wrapper around __libc_res_nsend. - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Allocate - just 1K answer buffer on the stack, use __libc_res_nsearch instead - of res_nsearch. - (_nss_dns_gethostbyaddr_r): Similarly with __libc_res_nquery. - * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r): Likewise. - (_nss_dns_getnetbyname_r): Similarly with __libc_res_nsearch. - * resolv/gethnamaddr.c (gethostbyname2): Likewise. - (gethostbyaddr): Similarly with __libc_res_nquery. - * resolv/Versions (libresolv): Export __libc_res_nquery and - __libc_res_nsearch at GLIBC_PRIVATE. - -2002-10-17 Roland McGrath - - * configure.in: Grok --without-__thread and disable HAVE___THREAD. - * configure: Regenerated. - - * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Do CHECK_STATIC_TLS - before performing the reloc, not after. - * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. - -2002-10-17 Ulrich Drepper - - * locale/programs/locale.c (write_locales): Use 'm' flag in fopen call. - * locale/programs/linereader.c (lr_open): Likewise. - * locale/programs/charmap-dir.c (charmap_open): Likewise. - * locale/programs/locarchive.c (add_locale_to_archive): Likewise. - -2002-10-17 Isamu Hasegawa - - * posix/bug-regex11.c: Add a test case for the bug reported by - Paolo Bonzini . - * posix/regexec.c (sift_states_bkref): Use correct destination of - the back reference. - -2002-10-17 Roland McGrath - - * elf/dl-load.c (_dl_map_object_from_fd): Don't check DF_STATIC_TLS. - * elf/dl-reloc.c (_dl_relocate_object: CHECK_STATIC_TLS): New macro - to signal error if an IE-model TLS reloc resolved to a dlopen'd module. - * sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela): - Call it after performing TPOFF relocs. - * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise. - * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise. - * elf/dl-conflict.c (CHECK_STATIC_TLS): New macro (no-op). - - * elf/dl-close.c (remove_slotinfo): Change asserts so as not to crash - when closing a partially-initialized object. - - * elf/dl-load.c (_dl_map_object_from_fd) [! USE_TLS]: Call lose - instead of _dl_fatal_printf when we see PT_TLS. - - * Makeconfig (CPPFLAGS): Fix last change to use $(libof-$( - - * cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Variable removed. - instead of += to append, to be sure $(lib) gets expanded at defn time. - (libof-$(cpp-src)): New variable, define this instead. - * extra-lib.mk (cpp-srcs-left): Reduce duplication in include setup. - (lib): Don't use override. - (CPPFLAGS-$(lib)): New variable, put -D's here. - * Makeconfig (CPPFLAGS): Use basename fn for CPPFLAGS-basename. - Also add $(CPPFLAGS-LIB) before the file-specific flags, for each - LIB found by $(libof-*) for basename, target, or source. - * Makerules (CPPFLAGS-nonlib): New variable. - * nscd/Makefile (lib): Set to nonlib when using cppflags-iterator.mk. - * locale/Makefile (lib): Likewise. - * sunrpc/Makefile (lib): Likewise. - - * sysdeps/unix/sysv/linux/fpathconf.c (LINUX_LINK_MAX): Move macro ... - * sysdeps/unix/sysv/linux/linux_fsinfo.h (LINUX_LINK_MAX): ... here. - * sysdeps/unix/sysv/linux/pathconf.h: New file. - (statfs_link_max): New function, guts from fpathconf.c. - * sysdeps/unix/sysv/linux/fpathconf.c: Rewritten using that. - * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise. - * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Rewritten - to use the linux/pathconf.c code by #include rather than duplication. - * sysdeps/unix/sysv/linux/alpha/fpathconf.c (__pathconf): Likewise. - -2002-10-16 Jakub Jelinek - - * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): - Use __libc_errno only for libc itself. - -2002-10-16 Andreas Jaeger - - * sysdeps/x86_64/_mcount.S: Fix off-by-1 error in argument access. - -2002-10-16 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER): - Use __libc_errno only for libc itself. - -2002-10-15 Roland McGrath - Jakub Jelinek - - * sysdeps/unix/sysv/linux/Makefile - ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Take code from - sparc/Makefile to produce a bi-arch file as needed. - That's now parameterized by the variable $(64bit-predefine). - Use LC_ALL=C for `comm' commands in that rule. - No longer conditional on [$(no_syscall_list_h)]. - * sysdeps/unix/sysv/linux/sparc/Makefile: Remove replacement rules. - (64bit-predefine): New variable. - * sysdeps/unix/sysv/linux/x86_64/Makefile: Likewise. - * sysdeps/unix/sysv/linux/s390/Makefile: New file. - * sysdeps/unix/sysv/linux/powerpc/Makefile - (64bit-predefine): New variable. - -2002-10-15 Roland McGrath - - * sysdeps/unix/sysv/linux/Makefile - ($(objpfx)syscall-%.h $(objpfx)syscall-%.d) - - * login/utmp-private.h: Declare __libc_utmp_lock. - * sysdeps/unix/getlogin_r.c (getlogin_r): Take __libc_utmp_lock once - and call __libc_utmp_jump_table functions directly, instead of using - __setutent et al. - - * sysdeps/unix/sysv/linux/configure.in: Use case instead of if. - * sysdeps/unix/sysv/linux/configure: Regenerated. - - * sysdeps/gnu/bits/utmp.h: Include . - (struct lastlog) [__WORDSIZE == 64 && __WORDSIZE_COMPAT32]: - Use int32_t for ll_time. - (struct utmp) [__WORDSIZE == 64 && __WORDSIZE_COMPAT32]: - Use int32_t instead of long int for ut_session. - Use an anonymous struct with 32-bit fields for ut_tv. - * sysdeps/gnu/bits/utmpx.h: Include . - (struct utmpx) [__WORDSIZE == 64 && __WORDSIZE_COMPAT32]: Do the same - here as in utmp.h for `struct utmp'. - * sysdeps/unix/sysv/linux/powerpc/bits/utmp.h: File removed. - * sysdeps/unix/sysv/linux/powerpc/bits/utmpx.h: File removed. - * sysdeps/unix/sysv/linux/sparc/bits/utmp.h: File removed. - * sysdeps/unix/sysv/linux/sparc/bits/utmpx.h: File removed. - * sysdeps/unix/sysv/linux/x86_64/bits/utmp.h: File removed. - * sysdeps/unix/sysv/linux/x86_64/bits/utmpx.h: File removed. - - * sysdeps/unix/sysv/linux/bits/resource.h: Replaced with the contents - of the sysdeps/unix/sysv/linux/i386/bits/resource.h file. - All the following files were identical or equivalent to it. - * sysdeps/unix/sysv/linux/i386/bits/resource.h: File removed. - * sysdeps/unix/sysv/linux/arm/bits/resource.h: File removed. - * sysdeps/unix/sysv/linux/cris/bits/resource.h: File removed. - * sysdeps/unix/sysv/linux/hppa/bits/resource.h: File removed. - * sysdeps/unix/sysv/linux/ia64/bits/resource.h: File removed. - * sysdeps/unix/sysv/linux/m68k/bits/resource.h: File removed. - * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: File removed. - * sysdeps/unix/sysv/linux/s390/bits/resource.h: File removed. - * sysdeps/unix/sysv/linux/sh/bits/resource.h: File removed. - * sysdeps/unix/sysv/linux/x86_64/bits/resource.h: File removed. - - * sysdeps/unix/sysv/linux/bits/socket.h (struct msghdr): Use size_t - instead of int for msg_iovlen, instead of socklen_t for msg_controllen. - Other than the previously incorrect sign of msg_iovlen, this is a - no-op on 32-bit platforms. On 64-bit platforms it makes this header - match their layouts as well, so the following are now identical to it. - * sysdeps/unix/sysv/linux/s390/bits/socket.h: File removed. - * sysdeps/unix/sysv/linux/sparc/bits/socket.h: File removed. - * sysdeps/unix/sysv/linux/x86_64/bits/socket.h: File removed. - * sysdeps/unix/sysv/linux/ia64/bits/socket.h: File removed. - * sysdeps/unix/sysv/linux/alpha/bits/socket.h: File removed. - -2002-10-15 Ulrich Drepper - - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_VFORK_SYSCALL): - Define for 2.4+ kernels. - - * sysdeps/unix/sysv/linux/i386/vfork.S: Optimize for kernels which - are known to have the vfork syscall. Don't confuse the CPUs - branch prediction unit by jumping to the return address. - - * sysdeps/unix/sysv/linux/alpha/fpathconf.c (__fpathconf): Add - support for reiserfs and xfs. - - * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Add case for - XFS link count. - * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define XFS_SUPER_MAGIC - and XFS_LINK_MAX. - Patch by Eric Sandeen [PR libc/4706]. - -2002-10-16 Jakub Jelinek - - * include/libc-symbols.h (attribute_tls_model_ie): Define. - * include/errno.h (errno): Define to __libc_errno in libc.so. - Add attribute_tls_model_ie. - * include/netdb.h (h_errno): Define to __libc_h_errno in libc.so. - Add attribute_tls_model_ie. - * include/resolv.h (_res): Define to __libc_res in libc.so. Add - attribute_tls_model_ie. - * inet/herrno.c (__libc_h_errno): Add hidden alias to h_errno. - (h_errno): Define. - * resolv/res_libc.c (__libc_res): Add hidden alias to _res. - (_res): Define. - * sysdeps/generic/bits/libc-tsd.h (__libc_tsd_define): Add - attribute_tls_model_ie. - * sysdeps/generic/errno-loc.c (errno): Only undefine if not using - __thread. - * sysdeps/generic/errno.c (__libc_errno): Add hidden alias to errno. - * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER): Use - __libc_errno in USE___THREAD case. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): - Likewise. - * configure.in (HAVE_TLS_MODEL_ATTRIBUTE): Check for - __attribute__((tls_model (""))). - * configure: Rebuilt. - * config.h.in (HAVE_TLS_MODEL_ATTRIBUTE): Add. - -2002-10-15 Ulrich Drepper - - * timezone/asia: Update from tzdata2002d. - * timezone/australasia: Likewise. - * timezone/iso3166.tab: Likewise. - * timezone/southamerica: Likewise. - * timezone/zone-tab: Likewise. - -2002-10-15 Roland McGrath - - * sysdeps/generic/dl-tls.c (_dl_deallocate_tls) [TLS_TCB_AT_TP]: - Adjust TCB pointer before calling free, so we get the whole block. - -2002-10-14 Roland McGrath - - * sysdeps/unix/sysv/linux/x86_64/sigaction.c - [HAVE_HIDDEN && !HAVE_BROKEN_VISIBILITY_ATTRIBUTE]: Declare restore_rt - extern using attribute_hidden instead of static, avoids warning. - -2002-10-09 Jakub Jelinek - - * sysdeps/unix/sysv/linux/configure.in: Use */lib64 for s390x too. - * sysdeps/unix/sysv/linux/configure: Rebuilt. - -2002-10-14 Ulrich Drepper - - * po/sv.po: Update from translation team. - -2002-10-12 H.J. Lu - - * sunrpc/thrsvc.c (PROCQUIT): New. - (struct rpc_arg): New. - (dispatch): Call exit (0) if request->rq_proc == PROCQUIT. - (test_one_call): Take struct rpc_arg * instead of CLIENT *c. - (thread_wrapper): Modified for struct rpc_arg * and call PROCQUIT. - (main): Modified for struct rpc_arg *. - -2002-10-14 Ulrich Drepper - - * dirent/scandir.c: Rearrange code a bit to reduce binary size. - -2002-10-14 Jakub Jelinek - - * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Include tls.h. - (SYSCALL_ERROR_HANDLER): Use RTLD_PRIVATE_ERRNO sequence - in ld.so even if __thread is supported. - -2002-10-13 Jakub Jelinek - - * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter): - Add hack to prevent the compiler from clobbering the signal context. - * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter): - Likewise. - * sysdeps/unix/sysv/linux/x86_64/profil-counter.h (profil_counter): + * sysdeps/ieee754/ldbl-128/s_erfl.c (neval, deval): Likewise, and + remove unused variables. + + * sysdeps/ieee754/ldbl-128/e_j0l.c (neval, deval): Likewise. + + * sysdeps/ieee754/ldbl-128/e_j1l.c (neval, deval): Likewise, and + include local math header files. + +2001-11-22 Andreas Jaeger + + * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Add brace to + avoid warning. + +2001-11-21 Andreas Jaeger + + * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: New file. + + * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers): Add + sys/debugreg.h + +2001-11-15 Andreas Jaeger + + * include/features.h (__GLIBC_HAVE_LONG_LONG): Define for + compilers that support it. + + * posix/sys/types.h: Use __GLIBC_HAVE_LONG_LONG. + * sysdeps/unix/sysv/linux/bits/types.h: Likewise. + * stdlib/stdlib.h: Likewise. + +2001-11-17 Ulrich Drepper + + * posix/regex.c (byte_re_match_2_internal): For gcc replace switch + statement with gotos. + Based on a patch by Paolo Bonzini . + +2001-11-16 Stephen L Moshier + + * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfcl): Fix K&R header. + +2001-11-15 Ulrich Drepper + + * sysdeps/generic/unwind-dw2-fde.c: Don't use recursive mutexes. + +2001-10-02 Jakub Jelinek + H.J. Lu + + * Versions.def (libc): Add GCC_3.0. + * configure.in (libc_cv_gcc_static_libgcc): Set to -static-libgcc + if gcc supports this flag. + (EXPORT_UNWIND_FIND_FDE): Define unless target configure disables it. + (gcc3): Allow glibc to be compiled with gcc 3.x. + * config.h.in (EXPORT_UNWIND_FIND_FDE): Add. + * config.make.in (static-libgcc, unwind-find-fde): Add. + * Makerules (build-shlib-helper, build-module-helper): Use it. + * scripts/versions.awk: Make sure GLIBC_ versions come first. + * elf/soinit.c (__libc_global_ctors): Set tbases and dbases if + necessary. + (_fini): Call __deregister_frame_info_bases if + __register_frame_info_bases was used to register. + * elf/Versions (__register_frame_info, __deregister_frame_info): Add + for GLIBC_2.0. + (__register_frame_info_bases, __register_frame_info_table_bases, + __deregister_frame_info_bases, _Unwind_Find_FDE): Add for GCC_3.0. + * elf/Makefile (routines): Add unwind-dw2-fde. + (shared-only-routines): Add unwind-dw2-fde. + * sysdeps/alpha/gccframe.h: New file. + * sysdeps/arm/gccframe.h: New file. + * sysdeps/generic/framestate.c: New file. + * sysdeps/generic/dwarf2.h: New file. + * sysdeps/generic/gccframe.h (struct object): Update from gcc 3.0. + * sysdeps/generic/unwind-dw2-fde.c: New file. + * sysdeps/unix/sysv/linux/ia64/unwind-dw2-fde.c: New file. + * sysdeps/generic/unwind-dw2-fde.h: New file. + * sysdeps/generic/unwind-dw2.c: New file. + * sysdeps/generic/unwind-pe.h: New file. + * sysdeps/generic/unwind.h: New file. + * sysdeps/hppa/gccframe.h: New file. + * sysdeps/i386/gccframe.h: New file. + * sysdeps/m68k/gccframe.h: New file. + * sysdeps/mips/gccframe.h: New file. + * sysdeps/powerpc/gccframe.h: New file. + * sysdeps/s390/gccframe.h: New file. + * sysdeps/sh/gccframe.h: New file. + * sysdeps/sparc/gccframe.h: New file. + * sysdeps/vax/gccframe.h: New file. + * sysdeps/unix/sysv/linux/configure.in (libc_cv_gcc_unwind_find_fde): + Set on all architectures except ia64. + * sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde): Set + for i386. + * sysdeps/mach/hurd/i386/Versions (__register_frame_info, + __deregister_frame_info): Move to elf/Versions. + * sysdeps/unix/sysv/linux/m68k/Versions: Likewise. + * sysdeps/unix/sysv/linux/arm/Versions: Likewise. + * sysdeps/unix/sysv/linux/alpha/Versions: Likewise. + * sysdeps/unix/sysv/linux/i386/Versions: Likewise. + * sysdeps/unix/sysv/linux/mips/Versions: Likewise. + * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/Versions: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise. + * sysdeps/mach/hurd/i386/Makefile (sysdep-routines): Add framestate. + * sysdeps/unix/sysv/linux/arm/Makefile: Likewise. + * sysdeps/unix/sysv/linux/alpha/Makefile: Likewise. + * sysdeps/unix/sysv/linux/i386/Makefile: Likewise. + * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise. + * sysdeps/unix/sysv/linux/mips/Makefile: Likewise. + * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise. + * sysdeps/unix/sysv/linux/sparc/Makefile: Likewise. + +2001-11-15 Jeff Law + + * posix/regex.c (uintptr_t): Do not provide a definition if the + system provided one. + +2001-11-13 Roland McGrath + + * stdio-common/tmpfile.c: Moved to ... + * sysdeps/generic/tmpfile.c: ... here. + * sysdeps/mach/hurd/tmpfile.c: New file. + + * hurd/fopenport.c (__fopenport): Renamed from fopenport. + [USE_IN_LIBIO] (fopencookie): #define as _IO_fopencookie. + (fopenport): Define as weak alias. + + * libio/iofopncook.c (_IO_fopencookie): Move forward declaration ... + * libio/libioP.h: ... to here. + +2001-11-12 Ulrich Drepper + + * elf/dl-reloc.c (_dl_relocate_object): Avoid iterating over + program header twice. Construct list with the needed information. + +2001-11-10 Ulrich Drepper + + * po/ca.po: Update from translation team. + + * elf/dl-load.c (_dl_map_object_from_fd): Remove use of + _dl_pf_to_prot. Use arithmetic operation using PF_TO_PROT macro. + * sysdeps/generic/ldsodefs.h (PF_TO_PROT): New macro. + * elf/dl-reloc.c (_dl_relocate_object): Likewise. + +2001-11-10 Andreas Jaeger + + * sysdeps/ieee754/ldbl-128/e_log2l.c: New file. + * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise. + Contributed by Stephen L Moshier . + +2001-11-09 Ulrich Drepper + + * elf/dl-minimal.c (realloc): Handle NULL for first parameter + correctly. + * elf/dl-load.c (is_dst): New function. + (_dl_dst_count): Use is_dst to check for DST variable. + (_dl_dst_substitute): Likewise. + +2001-11-09 Roland McGrath + + Hurd/PowerPC port contributed by Peter Bruin . + * sysdeps/mach/hurd/powerpc/exc2signal.c: New file. + * sysdeps/mach/hurd/powerpc/init-first.c: New file. + * sysdeps/mach/hurd/powerpc/intr-msg.h: New file. + * sysdeps/mach/hurd/powerpc/longjmp-ts.c: New file. + * sysdeps/mach/hurd/powerpc/register-dump.h: New file. + * sysdeps/mach/hurd/powerpc/sigreturn.c: New file. + * sysdeps/mach/hurd/powerpc/static-start.S: New file. + * sysdeps/mach/hurd/powerpc/trampoline.c: New file. + * sysdeps/mach/hurd/powerpc/bits/sigcontext.h: New file. + * sysdeps/mach/hurd/powerpc/Dist: New file. + + * hurd/privports.c (__get_privileged_ports): + Only contact the proc server if necessary for this call. + Suggested by Neal H Walfield . + Check error return for mach_port_mod_refs. + +2001-11-09 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/bits/resource.h: New file. + +2001-11-09 Ulrich Drepper + + * elf/dl-load.c (lose): Remove some unnecessary code. The new + object is always the last in the list. + (_dl_map_object_from_fd): Delete code to remove from object list + when DF_1_NOOPEN is seen. This is done in lose. + +2001-11-08 Ulrich Drepper + + * elf/dl-object.c (_dl_new_object): Various small optimizations. + +2001-11-07 Ulrich Drepper + + * sysdeps/generic/dl-cache.c: Optimize SEARCH_CACHE and + HWCAP_CHECK macro code. + + * elf/dl-misc.c (_dl_sysdep_read_whole_file): Optimize code a bit. + Now returns MAP_FAILED on error. + * elf/rtld.c: Adjust caller. + * sysdeps/generic/dl-cache.c: Likewise. + * sysdeps/generic/ldsodefs.h: Adjust description. + + * elf/dl-version.c (match_symbol): Optimize error handling for size. + (_dl_check_map_versions): Likewise. + +2001-11-06 Ulrich Drepper + + * elf/dl-load.c (_dl_map_object_from_fd): Don't call + _dl_signal_error directly, always use lose. Set fd to -1 after + file is closed. + (lose): Don't call close if fd == -1. + +2001-11-07 Kaoru Fukui + + * manual/charset.texi: Fix typo @w[ISO 6937] to @w{ISO 6937}. + Also fix typo @code {mbsinit} to @code{mbsinit}. + +2001-11-06 Ulrich Drepper + + * elf/dl-profile.c: Replace state variable with simple flag named + running. Remove commented-out code. + + * elf/dl-load.c (decompose_rpath): Optimize error handling for size. + (_dl_init_paths): Likewise. + (_dl_map_object_from_fd): Likewise. + * elf/dl-reloc.c (_dl_relocate_object): Likewise. + +2001-11-06 Roland McGrath + + * sysdeps/mach/powerpc/sysdep.h: Include sysdeps/unix/powerpc/sysdep.h + instead of sysdeps/powerpc/elf/sysdep.h and sysdeps/unix/sysdep.h. + + * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't include + sysdeps/powerpc/elf/sysdep.h. + Reported by Kaoru Fukui . + +2001-11-05 Ulrich Drepper + + * elf/rtld.c (process_dl_debug): Rewritten. Optimized for size not + speed. + (process_envvars): Some more optimizations. + * sysdeps/generic/ldsodefs.h (DL_DEBUG_HELP): New macro. + + * elf/elf.h: Add dynamic tag definitions for prelinking. + + * elf/rtld.c (process_envvars): Avoid using array of string pointers. + Rewrite code to remove environment varables for SUID binaries. + Small optimization in LD_PROFILE handling. + * sysdeps/generic/unsecvars.h: Adjust format for process_envvars + changes. + * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise. + + * sysdeps/generic/dl-sysdep.c: Don't initialize _dl_cpuclock_offset. + + * elf/dl-reloc.c (_dl_reloc_bad_type): Rewrite to not use writable + strings. Change type of second parameter. + * sysdeps/generic/ldsodefs.h: Adjust _dl_reloc_bad_type prototype + for last change. + + * io/fts.h: Prevent using with _FILE_OFFSET_BITS=64. + +2001-11-04 Joseph S. Myers + + * manual/string.texi: Fix typos. + * manual/examples/argp-ex2.c: Likewise. + +2001-11-05 Roland McGrath + + * sysdeps/powerpc/elf/sysdep.h: Remove this file, because it overrides + the more-specific unix/sysv/linux/powerpc file and breaks everything. + * sysdeps/powerpc/sysdep.h (ALIGNARG, ASM_TYPE_DIRECTIVE, + ASM_SIZE_DIRECTIVE, CALL_MCOUNT, ENTRY, EALIGN, DO_CALL, JUMPTARGET, + PSEUDO, PSEUDO_RET, PSEUDO_END, L, C_TEXT): These macros moved here + here, put under [__ELF__]. + +2001-11-05 Ulrich Drepper + + * manual/charset.texi: Extensive editing work. + * manual/nss.texi: Likewise. + Changes by Dennis Grace . + +2001-11-04 Roland McGrath + + * hurd/set-host.c (_hurd_set_host_config): Use O_WRONLY in flags + parameter to dir_mkfile. + +2001-11-02 Jakub Jelinek + + * string/bits/string2.h (__strndup): If n is smaller than len, set + len to n + 1. + * string/tester.c (test_strndup): New function. + (main): Call it. + +2001-11-01 Ulrich Drepper + + * sunrpc/rpc_main.c: Optimize variable definitions a bit. + + * sunrpc/Makefile (rpcgen-cmd): Use ../scripts/cpp in rpcgen calls. + * scripts/cpp: New file. + + * elf/dl-load.c (_dl_map_object): Correct test of DF_1_NODEFLIB + for rtld_search_dirs content. Minor optimizations. + +2001-10-31 Ulrich Drepper + + * elf/dl-load.c (_dl_map_object): Make code a bit more compact by + avoiding unnecessary duplication. + +2001-10-31 Jakub Jelinek + + * elf/dl-load.c (_dl_map_object): If library was found using + LD_LIBRARY_PATH, don't try RUNPATH list. + +2001-10-31 Martin Schwidefsky + + * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h (REGISTER_DUMP): + Correct second argument of register_dump call. + * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h (REGISTER_DUMP): Likewise. -2002-10-14 Andreas Jaeger +2001-10-31 Ulrich Drepper - * sysdeps/mips/fpu/libm-test-ulps: Regenerated by - Guido Guenther . + * iconvdata/Makefile: Add support for IBM1132, IBM1133, and IBM1162 + modules. + * iconvdata/TESTS: Likewise. + * iconvdata/gconv-modules: Likewise. + * iconvdata/ibm1132.c: New file. + * iconvdata/ibm1132.h: New file. + * iconvdata/ibm1133.c: New file. + * iconvdata/ibm1133.h: New file. + * iconvdata/ibm1162.c: New file. + * iconvdata/ibm1162.h: New file. + * iconvdata/testdata/IBM1132: New file. + * iconvdata/testdata/IBM1132..UTF8: New file. + * iconvdata/testdata/IBM1133: New file. + * iconvdata/testdata/IBM1133..UTF8: New file. + * iconvdata/testdata/IBM1162: New file. + * iconvdata/testdata/IBM1162..UTF8: New file. + Patches by Masahide Washizawa . -2002-10-14 Ulrich Drepper + * string/string.h: Fix typo in comment. + * wcsmbs/wchar.h: Likewise. + +2001-10-30 Joseph S. Myers + + * manual/getopt.texi (getopt_long, getopt_long_only): Include + const in type of longopts parameter. + +2001-10-29 Andreas Jaeger + + * sysdeps/ieee754/dbl-64/mpa.h: Add prototypes for internal functions. + +2001-10-29 Kevin Ryde + + * manual/stdio.texi (Integer Conversions): Corrections to sample printf + output, clarify `#' behaviour on 0. + (Floating-Point Conversions): Clarify that %g only uses %e when + the exponent would be greater than 1. + +2001-10-28 Roland McGrath + + Support for Mach/PowerPC contributed by Peter Bruin . + * sysdeps/mach/powerpc/machine-sp.h: New file. + * sysdeps/mach/powerpc/sysdep.h: New file. + * sysdeps/mach/powerpc/thread_state.h: New file. + + * sysdeps/mach/hurd/i386/Makefile: File removed; crt0.o rules moved ... + * sysdeps/mach/hurd/Makefile: ... to here. For the time being, we can + expect to need the same thing on every platform. + + * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: File moved ... + * sysdeps/generic/sys/ucontext.h: ... to replace this one. + + * sysdeps/unix/sysv/linux/powerpc/sysdep.h (ALIGNARG, + ASM_TYPE_DIRECTIVE, ASM_SIZE_DIRECTIVE, CALL_MCOUNT, ENTRY, EALIGN, + DO_CALL, JUMPTARGET, PSEUDO, PSEUDO_RET, PSEUDO_END, L, C_TEXT): + Move all these assembly-related definitions to ... + * sysdeps/powerpc/elf/sysdep.h: ... this new file. + + * sysdeps/mach/powerpc/machine-lock.h: Assembly code rewritten + by Peter Bruin . + + * hurd/hurdselect.c (_hurd_select): Check SELECT_RETURNED bit when + packing results for a `poll' call. + +2001-10-26 Ulrich Drepper + + * posix/fnmatch_loop.c: Recognize - at end of bracket expression + correctly. + * posix/tst-fnmatch.input: Add tests for - at beginning and end of + bracket expression. + + * string/strxfrm.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get + nrules value. + * string/tst-strxfrm.c (test): Also test __strxfrm_l. + +2001-10-24 H.J. Lu + + * sysdeps/generic/bits/dlfcn.h (DL_CALL_FCT): Cast to void *. + Use __BEGIN_DECLS/__END_DECLS around prototypes. + * sysdeps/mips/bits/dlfcn.h (DL_CALL_FCT): Likewise. + +2001-10-21 Jim Meyering + + * malloc/obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise, + this code would end up calling gettext even in packages built + with --disable-nls. + * posix/getopt.c (_): Likewise. + * posix/regex.c (_): Likewise. + +2001-10-26 Ulrich Drepper + + * resolv/gethnamaddr.c (gethostbyaddr): Use ip6.addr for reverse + lookup not ip6.int. + * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise. + Reported by Martin.v.Loewis@t-online.de [PR libc/2598]. + +2001-10-19 Jakub Jelinek + + * misc/sys/cdefs.h (__attribute_used__): Define. + * elf/rtld.c (_dl_start): Add __attribute_used__. + * elf/dl-runtime.c (fixup, profile_fixup): Likewise. + +2001-10-25 Andreas Schwab + + * stdlib/a64l.c: Expect least significant digit first. + * stdlib/l64a.c: Produce least significant digit first. + * stdlib/Makefile (tests): Add test-a64l. + * stdlib/test-a64l.c: New file. + Reported by Masaki Hasegawa . + +2001-10-21 Ulrich Drepper * po/sk.po: Update from translation team. -2002-09-26 Roland McGrath +2001-10-18 Ulrich Drepper - * elf/dl-load.c (_dl_dst_count, _dl_dst_substitute): Handle $LIB - dynamic string tag. - * elf/Makefile ($(objpfx)trusted-dirs.st): Make the output define - DL_DST_LIB based on $(slibdir). + * sysdeps/i386/elf/start.S (_fp_hw): Define object type. -2002-10-13 Roland McGrath +2001-10-18 Andreas Schwab - * elf/rtld-Rules ($(objpfx)rtld-libc.a): Use $(verbose) in ar command. + * math/libm-test.inc (print_ulps): Print ulp values rounded to + next whole number. + (print_function_ulps): Likewise. + (print_complex_function_ulps): Likewise. + (print_max_error): Likewise. + (print_complex_max_error): Likewise. Handle ignore_max_ulp. - * sysdeps/mach/hurd/getresuid.c: New file. - * sysdeps/mach/hurd/getresgid.c: New file. - * sysdeps/mach/hurd/setresuid.c: New file. - * sysdeps/mach/hurd/setresgid.c: New file. +2001-10-16 Andreas Schwab - * posix/unistd.h [__USE_GNU] (getresuid, getresgid, setresuid, - setresgid): Declare them. - * NEWS: Mention it. - * include/unistd.h - (__getresuid, __getresgid, __setresuid, __setresgid): Declare them, - add libc_hidden_proto. - * posix/Versions (libc: GLIBC_2.3.2): New set. Add - getresuid, getresgid, setresuid, setresgid here. - * Versions.def (libc): Define GLIBC_2.3.2 set. - * sysdeps/generic/getresuid.c (__getresuid): Fix argument types. - Add libc_hidden_def. - * sysdeps/generic/getresgid.c (__getresgid): Likewise. - * sysdeps/generic/setresgid.c: New file. - * sysdeps/generic/setresuid.c: New file. - * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc] - (sysdep_routines): Don't add getresuid and getresgid here. - * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = misc] - (sysdep_routines): Don't add setresuid and setresgid here. - * sysdeps/unix/sysv/linux/cris/Makefile: Likewise. - * sysdeps/unix/sysv/linux/sh/Makefile: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise. - * sysdeps/unix/sysv/linux/i386/Makefile: Likewise. - * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise. - * posix/Makefile (routines): Add them all here instead. - * sysdeps/unix/sysv/linux/i386/getresuid.c (getresuid): Renamed to - __getresuid. Add libc_hidden_def for that, and weak alias to old name. - * sysdeps/unix/sysv/linux/i386/getresgid.c (getresgid): Renamed to - __getresgid. Add libc_hidden_def for that, and weak alias to old name. - * sysdeps/unix/sysv/linux/i386/setresuid.c: Add libc_hidden_def. - [! __NR_setresuid]: Include generic file. - * sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Renamed to - __setresgid. Add libc_hidden_def for that, and weak alias to old name. - [! __NR_setresuid]: Include generic file. - * sysdeps/unix/sysv/linux/syscalls.list (setresuid, setresgid): - Caller is - now, not EXTRA. - * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list - (setresuid, setresgid, getresuid, getresgid): Likewise. - * sysdeps/unix/sysv/linux/syscalls.list (getresuid, getresgid): - Add these calls here. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove them here. - * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. + * sysdeps/m68k/fpu/libm-test-ulps: Updated for fixed cbrtl + implementation. - * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc] - (sysdep_routines): Add setfsuid and setfsgid here. - * sysdeps/unix/sysv/linux/arm/Makefile: Not here. - * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise. - * sysdeps/unix/sysv/linux/cris/Makefile: Likewise. - * sysdeps/unix/sysv/linux/sh/Makefile: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise. - * sysdeps/unix/sysv/linux/i386/Makefile: Likewise. - * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise. + * sysdeps/m68k/setjmp.c: Also define setjmp and _setjmp if + BSD_SETJMP or BSD__SETJMP is defined, resp. + * sysdeps/m68k/bsd-setjmp.c: Inline setjmp code instead of making + a tail call to __sigsetjmp that would require extending the + caller's frame. + * sysdeps/m68k/bsd-_setjmp.c: Likewise. + * sysdeps/m68k/bsd-setjmp.S: Deleted. + * sysdeps/m68k/bsd-_setjmp.S: Deleted. + Reported by Jes Sorensen . - * hurd/errno.c: Renamed to ... - * hurd/errno-loc.c: ... this. - * hurd/Makefile (routines): errno -> errno-loc +2001-10-16 Andreas Jaeger -2002-10-13 Ulrich Drepper + * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Fix + parentheses. Reported by David Byron , + close PR libc/2589. - * po/de.po: Update from translation team. +2001-10-15 Ulrich Drepper - * MakeTAGS: Add -E flag to xgettext runs. + * po/ca.po: New file. Contributed by the translation team. -2002-10-12 Ulrich Drepper +2001-10-15 Ralf Baechle + + * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Make sysmips() prototype + a varargs prototype. Remove dependency from kernel header files. + + * sysdeps/unix/sysv/linux/mips/bits/termios.h: General cleanup, use + __USE_MISC / __USE_XOPEN not __USE_BSD where appropriate. + +2001-10-14 Ulrich Drepper + + * locale/programs/ld-collate.c (handle_ellipsis): Use %lX not %lx + to generate hexadecimal identifier. + Patch by Jungshik Shin . + +2001-10-09 Stephen L Moshier + + * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Fix algorithm. + +2001-10-14 Ulrich Drepper + + * sysdeps/ieee754/ldbl-128/e_powl.c: New file. + * sysdeps/ieee754/ldbl-128/s_cbrtl.c: New file. + Contributed by Stephen L Moshier . + + * sysdeps/ieee754/ldbl-128/e_j0l.c: Constify float variables. + * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise + * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise + * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise + * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise + + * timezone/africa: Update from tzdata2001d. + * timezone/asia: Likewise. + * timezone/australasia: Likewise. + * timezone/backward: Likewise. + * timezone/europe: Likewise. + * timezone/leapseconds: Likewise. + * timezone/northamerica: Likewise. + * timezone/southamerica: Likewise. + * timezone/zone.tab: Likewise. + +2001-10-09 Martin Schwidefsky + + * sysdeps/s390/s390-32/sys/ucontext.h: Correct __psw_t typedef. + * sysdeps/s390/s390-64/sys/ucontext.h: Likewise. + +2001-10-12 Ulrich Drepper + + * elf/elf.h (PT_TLS): New definition. + +2001-10-10 Jeff Bailey + + * sysdeps/mach/hurd/Makefile: Add $(CFLAGS) for generation of + bits/errno.h + +2001-10-07 Roland McGrath + + * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Never return ENOSYS. + +2001-10-10 Ulrich Drepper + + * elf/elf.h: Add more ELFOSABI_* constants. + +2001-10-04 Ben Collins + + * sysdeps/generic/inttypes.h: Fix typo (define, not defined) in + decleration of __need_wchar_t. + +2001-10-03 Jakub Jelinek + + * string/bits/string2.h (__strsep_g): Add prototype. + (__strsep): Use it. + * string/Versions (__strsep): Remove. + * sysdeps/generic/strsep.c (__strsep_g): Add alias to __strsep. + +2001-10-07 Ulrich Drepper + + * manua/llio.texi: Clarify file references added by mmap. + Patch by Marcus Brinkmann . + +2001-09-29 Jes Sorensen + + * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext): + Add sc_loadrs and sc_rbs_bas to match current kernel. + +2001-09-27 Jakub Jelinek + + * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update. + + * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Fix erfc(-inf). + +2001-09-27 Jakub Jelinek + + * elf/dl-open.c (dl_open_worker): If l_opencount of freshly loaded + object has been bumped because of relocation dependency, avoid + duplicates in l_scope. + (show_scope): Fix typos. + * elf/Makefile: Add rules to build and run reldep6. + * elf/reldep6.c: New file. + * elf/reldep6mod0.c: New file. + * elf/reldep6mod1.c: New file. + * elf/reldep6mod2.c: New file. + * elf/reldep6mod3.c: New file. + * elf/reldep6mod4.c: New file. + +2001-09-26 Jakub Jelinek + + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Call + sparc64_fixup_plt. + (sparc64_fixup_plt): Moved from elf_machine_fixup_plt. Optimize + near jumps and 0xfffff800XXXXXXXX target addresses, no thread safety + for non-lazy binding. Fix .plt[32768+] handling. + (elf_machine_plt_value): Don't add addend. + (elf_machine_rela): Call sparc64_fixup_plt instead of + elf_machine_fixup_plt. + (elf_machine_runtime_setup, TRAMPOLINE_TEMPLATE): Optimize for + dynamic linker at 0xfffff800XXXXXXXX. + + * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update. + +2001-09-28 Ulrich Drepper + + * elf/elf.h: Define SHF_GROUP and SHF_TLS. + +2001-09-25 Jakub Jelinek + + * sysdeps/unix/bsd/bsd4.4/bits/socket.h (struct cmsghdr): Don't + declare __cmsg_data field if its size would be bigger than 0. + (CMSG_DATA): Adjust accordingly. + * sysdeps/unix/sysv/aix/bits/socket.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise. + * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise. + +2001-09-25 Ulrich Drepper + + * iconvdata/TESTS: Add entries for IBM1160 and IBM1161. + * iconvdata/testdata/IBM1160: New file. + * iconvdata/testdata/IBM1160..UTF8: New file. + * iconvdata/testdata/IBM1161: New file. + * iconvdata/testdata/IBM1161..UTF8: New file. + Patch by Masahide Washizawa . + +2001-09-24 Ulrich Drepper + + * sysdeps/unix/bsd/ulimit.c (ulimit): Handle overflow in + UL_SETFSIZE computations better. + + * rt/Makefile: Remove use of filter for librt again. + + * sysdeps/unix/sysv/linux/ulimit.c (__ulimit): Handle overflow in + UL_SETFSIZE computations better. + + * string/Versions: Export __strsep for GLIBC_2.2.5. + * string/bits/string2.h: Define all __STRING_INLINE functions if + _FORCE_INLINES is defined. + Use int instead of char of parameter types. + (__strsep): Don't use __strsep_g. Don't define it. + (__strsep_1c, __strsep_2c, __strsep_3c): Optimize. + * sysdeps/i386/i486/string.h (__strcpy_a_small): Renamed from + __strcpy_small. + (__stpcpy_a_small): Renamed from __stpcpy_small. + (__strcspn_c1): Don't define if _FORCE_INLINES. + (__strspn_c1): Likewise. + +2001-09-22 Ben Collins + + * sysdeps/sparc/bits/sigaction.h: Define SA_RESTART and friends when + _UNIX98_SOURCE is defined too. Matches generic/bits/sigaction.h. + * sysdeps/ia64/bits/sigaction.h: Likewise. + * sysdeps/s390/s390-64/bits/sigaction.h: Likewise. + +2001-09-24 Andrew Haley + + * sysdeps/unix/sysv/linux/sh/Makefile (sysdep_headers): Add sys/io.h. + +2001-09-24 Jakub Jelinek + + * elf/dl-open.c (dl_open_worker): Update l_scope_max. + +2001-09-24 Ulrich Drepper + + * wcsmbs/wchar.h: Add __attribute_pure__ to mbsinit prototype. + +2001-09-20 H.J. Lu + + * include/dlfcn.h (__RTLD_SPROF): New definiton. + * elf/dl-open.c (dl_open_worker): Return immediately after loading + for __RTLD_SPROF. + * elf/sprof.c (main): Default to the filename if soname doesn't exist. + (load_shobj): Call dlopen with `RTLD_LAZY | __RTLD_SPROF'. + +2001-09-20 H.J. Lu + + * elf/dl-profile.c (_dl_mcount): Use old *narcsp value for newarc, + don't add 1. + +2001-09-22 Ulrich Drepper + + * nss/getent.c: Accept -s parameter to overwrite rules in + nsswitch.conf. Patch by Nalin Dahyabhai . + + * nss/nss_files/files-network.c (LINE_PARSER): Pad addr string + with as many ".0" as necessary to form a complete address + inet_network understands. + + * nss/getent.c: Various cleanups. Use simpler and fewer function + calls. + +2001-09-20 Martin Schwidefsky + + * sysdeps/s390/s390-32/bits/setjmp.h: Correct pointer comparison in + _JMPBUF_UNWINDS. + * sysdeps/s390/s390-64/bits/setjmp.h: Likewise. + +2001-09-22 Ulrich Drepper + + * iconvdata/Makefile: Add rules to build and distribute IBM1160 and + IBM1161. + * iconvdata/gconv-modules: Add entries for IBM1160 and IBM1161. + * iconvdata/ibm1160.c: New file. + * iconvdata/ibm1160.h: New file. + * iconvdata/ibm1161.c: New file. + * iconvdata/ibm1161.h: New file. + Patch by Masahide Washizawa . + +2001-09-19 Jakub Jelinek + + * sysdeps/alpha/dl-machine.h (elf_machine_load_address): Compute the + difference between base address and first PT_LOAD's virtual address, + not the base address. + +2001-09-11 Tom Rix + + * sysdeps/unix/sysv/aix/init-first.c (init): Use USE_NONONPTION_FLAG + ifdef for __getopt_clean_environment. + * sysdeps/unix/sysv/aix/libc-start.c: Add real implementation. + +2001-09-22 Andreas Jaeger + + * elf/reldep4.c (main): Add proper prototype to fix warning. + + * elf/reldep5.c (main): Remove unused variable. + + * math/math_private.h: Add prototypes. + +2001-09-21 Andreas Jaeger + + * sysdeps/unix/sysv/linux/x86_64/Dist: New file. + * sysdeps/x86_64/Dist: New file. + * sysdeps/x86_64/soft-fp/Dist: New file. + + * sysdeps/gnu/Dist: Remove eval.c. + +2001-09-20 Ulrich Drepper + + * malloc/memusage.c (realloc): Don't count already allocated + memory in the sums. + (me): Always use dlsym() to find the real implementations. + + * malloc/memusage.sh: Make -n option actually do something. + +2001-09-20 Andreas Jaeger + + * elf/elf.h (R_390_NUM): Correct value. + + * Versions.def: Add missing versions 2.2.3 for libthread_db and + libpthread. + + * sysdeps/unix/sysv/linux/configure.in: Add minimal kernel version + for x86-64, install x86-64 into */lib64. + + * shlib-versions: Add x86-64. + + * elf/elf.h: Add x86-64 relocations. + +2001-09-19 Ulrich Drepper * po/fr.po: Update from translation team. - * sysdeps/posix/system.c: Remove support for old and buggy SCO systems. - Optimize a bit for use in glibc. +2001-09-19 Andreas Jaeger -2002-10-12 Roland McGrath + * sysdeps/unix/sysv/linux/x86_64/Makefile: New file. + * sysdeps/unix/sysv/linux/x86_64/Versions: New file. + * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: New file. + * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: New file. + * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: New file. + * sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: New file. + * sysdeps/unix/sysv/linux/x86_64/bits/time.h: New file. + * sysdeps/unix/sysv/linux/x86_64/bits/types.h: New file. + * sysdeps/unix/sysv/linux/x86_64/brk.c: New file. + * sysdeps/unix/sysv/linux/x86_64/clone.S: New file. + * sysdeps/unix/sysv/linux/x86_64/fstatfs64.c: New file. + * sysdeps/unix/sysv/linux/x86_64/ftruncate64.c: New file. + * sysdeps/unix/sysv/linux/x86_64/fxstat.c: New file. + * sysdeps/unix/sysv/linux/x86_64/fxstat64.c: New file. + * sysdeps/unix/sysv/linux/x86_64/getdents.c: New file. + * sysdeps/unix/sysv/linux/x86_64/getdents64.c: New file. + * sysdeps/unix/sysv/linux/x86_64/getrlimit64.c: New file. + * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file. + * sysdeps/unix/sysv/linux/x86_64/glob64.c: New file. + * sysdeps/unix/sysv/linux/x86_64/lxstat.c: New file. + * sysdeps/unix/sysv/linux/x86_64/lxstat64.c: New file. + * sysdeps/unix/sysv/linux/x86_64/mmap64.c: New file. + * sysdeps/unix/sysv/linux/x86_64/pread64.c: New file. + * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: New file. + * sysdeps/unix/sysv/linux/x86_64/pwrite64.c: New file. + * sysdeps/unix/sysv/linux/x86_64/readdir.c: New file. + * sysdeps/unix/sysv/linux/x86_64/readdir64.c: New file. + * sysdeps/unix/sysv/linux/x86_64/readdir64_r.c: New file. + * sysdeps/unix/sysv/linux/x86_64/readdir_r.c: New file. + * sysdeps/unix/sysv/linux/x86_64/recv.c: New file. + * sysdeps/unix/sysv/linux/x86_64/register-dump.h: New file. + * sysdeps/unix/sysv/linux/x86_64/send.c: New file. + * sysdeps/unix/sysv/linux/x86_64/setrlimit64.c: New file. + * sysdeps/unix/sysv/linux/x86_64/sigaction.c: New file. + * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: New file. + * sysdeps/unix/sysv/linux/x86_64/sigpending.c: New file. + * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: New file. + * sysdeps/unix/sysv/linux/x86_64/sigsuspend.c: New file. + * sysdeps/unix/sysv/linux/x86_64/statfs64.c: New file. + * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: New file. + * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: New file. + * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: New file. + * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: New file. + * sysdeps/unix/sysv/linux/x86_64/sys/user.h: New file. + * sysdeps/unix/sysv/linux/x86_64/syscall.S: New file. + * sysdeps/unix/sysv/linux/x86_64/syscalls.list: New file. + * sysdeps/unix/sysv/linux/x86_64/sysdep.S: New file. + * sysdeps/unix/sysv/linux/x86_64/sysdep.h: New file. + * sysdeps/unix/sysv/linux/x86_64/time.c: New file. + * sysdeps/unix/sysv/linux/x86_64/truncate64.c: New file. + * sysdeps/unix/sysv/linux/x86_64/umount.c: New file. + * sysdeps/unix/sysv/linux/x86_64/vfork.S: New file. + * sysdeps/unix/sysv/linux/x86_64/xstat.c: New file. + * sysdeps/unix/sysv/linux/x86_64/xstat64.c: New file. + * sysdeps/unix/x86_64/sysdep.S: New file. + * sysdeps/unix/x86_64/sysdep.h: New file. + * sysdeps/x86_64/Implies: New file. + * sysdeps/x86_64/Makefile: New file. + * sysdeps/x86_64/Versions: New file. + * sysdeps/x86_64/__longjmp.S: New file. + * sysdeps/x86_64/abort-instr.h: New file. + * sysdeps/x86_64/atomicity.h: New file. + * sysdeps/x86_64/bits/endian.h: New file. + * sysdeps/x86_64/bits/setjmp.h: New file. + * sysdeps/x86_64/bits/string.h: New file. + * sysdeps/x86_64/bp-asm.h: New file. + * sysdeps/x86_64/bsd-_setjmp.S: New file. + * sysdeps/x86_64/bsd-setjmp.S: New file. + * sysdeps/x86_64/dl-machine.h: New file. + * sysdeps/x86_64/elf/initfini.c: New file. + * sysdeps/x86_64/elf/start.S: New file. + * sysdeps/x86_64/ffs.c: New file. + * sysdeps/x86_64/ffsll.c: New file. + * sysdeps/x86_64/fpu/bits/fenv.h: New file. + * sysdeps/x86_64/fpu/bits/mathdef.h: New file. + * sysdeps/x86_64/fpu/e_acosl.c: New file. + * sysdeps/x86_64/fpu/e_atan2l.c: New file. + * sysdeps/x86_64/fpu/e_exp2l.S: New file. + * sysdeps/x86_64/fpu/e_expl.c: New file. + * sysdeps/x86_64/fpu/e_fmodl.S: New file. + * sysdeps/x86_64/fpu/e_log10l.S: New file. + * sysdeps/x86_64/fpu/e_log2l.S: New file. + * sysdeps/x86_64/fpu/e_logl.S: New file. + * sysdeps/x86_64/fpu/e_powl.S: New file. + * sysdeps/x86_64/fpu/e_rem_pio2l.c: New file. + * sysdeps/x86_64/fpu/e_scalbl.S: New file. + * sysdeps/x86_64/fpu/e_sqrtl.c: New file. + * sysdeps/x86_64/fpu/fclrexcpt.c: New file. + * sysdeps/x86_64/fpu/fedisblxcpt.c: New file. + * sysdeps/x86_64/fpu/feenablxcpt.c: New file. + * sysdeps/x86_64/fpu/fegetenv.c: New file. + * sysdeps/x86_64/fpu/fegetexcept.c: New file. + * sysdeps/x86_64/fpu/fegetround.c: New file. + * sysdeps/x86_64/fpu/feholdexcpt.c: New file. + * sysdeps/x86_64/fpu/fesetenv.c: New file. + * sysdeps/x86_64/fpu/fesetround.c: New file. + * sysdeps/x86_64/fpu/fgetexcptflg.c: New file. + * sysdeps/x86_64/fpu/fraiseexcpt.c: New file. + * sysdeps/x86_64/fpu/fsetexcptflg.c: New file. + * sysdeps/x86_64/fpu/ftestexcept.c: New file. + * sysdeps/x86_64/fpu/libm-test-ulps: New file. + * sysdeps/x86_64/fpu/math_ldbl.h: New file. + * sysdeps/x86_64/fpu/printf_fphex.c: New file. + * sysdeps/x86_64/fpu/s_atanl.c: New file. + * sysdeps/x86_64/fpu/s_cosl.S: New file. + * sysdeps/x86_64/fpu/s_expm1l.S: New file. + * sysdeps/x86_64/fpu/s_fpclassifyl.c: New file. + * sysdeps/x86_64/fpu/s_isinfl.c: New file. + * sysdeps/x86_64/fpu/s_isnanl.c: New file. + * sysdeps/x86_64/fpu/s_log1pl.S: New file. + * sysdeps/x86_64/fpu/s_logbl.c: New file. + * sysdeps/x86_64/fpu/s_nextafterl.c: New file. + * sysdeps/x86_64/fpu/s_nexttoward.c: New file. + * sysdeps/x86_64/fpu/s_nexttowardf.c: New file. + * sysdeps/x86_64/fpu/s_rintl.c: New file. + * sysdeps/x86_64/fpu/s_significandl.c: New file. + * sysdeps/x86_64/fpu/s_sincosl.S: New file. + * sysdeps/x86_64/fpu/s_sinl.S: New file. + * sysdeps/x86_64/fpu/s_tanl.S: New file. + * sysdeps/x86_64/gmp-mparam.h: New file. + * sysdeps/x86_64/hp-timing.c: New file. + * sysdeps/x86_64/hp-timing.h: New file. + * sysdeps/x86_64/htonl.S: New file. + * sysdeps/x86_64/memusage.h: New file. + * sysdeps/x86_64/setjmp.S: New file. + * sysdeps/x86_64/soft-fp/sfp-machine.h: New file. + * sysdeps/x86_64/stackinfo.h: New file. + * sysdeps/x86_64/sysdep.h: New file. + * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: New file. - * stdio-common/tst-rndseek.c (TIMEOUT): Increase to 10 seconds. - Some machines are slow. Guido Guenther has one. + * sysdeps/ieee754/ldbl-128/s_erfl.c: New file, contributed Stephen + L Moshier. -2002-10-12 Ulrich Drepper +2001-09-18 Ulrich Drepper + + * malloc/malloc.c (ptmalloc_init): Handle _environ==NULL. + Reported by B. D. Elliott [PR libc/2541]. + +2001-09-18 Andreas Schwab + + * elf/dl-load.c (_dl_map_object_from_fd): Update handling of scope + list, now that l_scope is a pointer. + + * elf/dl-open.c (dl_open_worker): Fix thinko when enlarging the + scope list. + +2001-09-18 kaz Kojima + + * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix reverse condition. + (elf_machine_rela_relative): Add a missing declaration. + +2001-09-18 Jakub Jelinek + + * sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed: New file. + * sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed: New file. + * sysdeps/unix/sysv/linux/configure.in: Add ia64 and s390 + ldd-rewrite scripts. + +2001-09-18 Ulrich Drepper + + * elf/ldd.bash.in: Update copyright message. + +2001-09-17 H.J. Lu + + * hurd/hurdmalloc.c (bcopy): Removed. + (realloc): Replace bcopy with memcpy. + * hurd/path-lookup.c (file_name_path_scan): Likewise. + * resolv/gethnamaddr.c (map_v4v6_address): Likewise. + * sunrpc/rpcinfo.c (pmapdump): Likewise. + + * resolv/gethnamaddr.c (getanswer): Replace bcopy with memmove. + (gethostbyaddr): Likewise. + * sunrpc/rpcinfo.c (get_inet_address): Likewise. + +2001-09-18 Ulrich Drepper + + * sysdeps/gnu/eval.c: Removed. + +2001-09-18 Andreas Jaeger + + * sysdeps/i386/fpu/s_logbl.S: Move to ... + * sysdeps/i386/fpu/s_logbl.c: ...here, use inline assembler. + + * sysdeps/i386/fpu/s_rintl.S: Move to ... + * sysdeps/i386/fpu/s_rintl.c: ...here, use inline assembler. + + * sysdeps/i386/fpu/s_significandl.S: Move to ... + * sysdeps/i386/fpu/s_significandl.c: ...here, use inline assembler. + +2001-09-16 Ulrich Drepper + + * string/strcoll.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get + nrules value. + +2001-09-14 H.J. Lu + + * sysdeps/mips/fpu/libm-test-ulps: Updated. + +2001-09-14 Ulrich Drepper + + * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix a typo. + Patch by Florian La Roche . + + * string/bits/string2.h (__strtok_r_1c): Optimize a bit. + + * sysdeps/unix/sysv/linux/net/ethernet.h: Correct references to + ETHER_CRC_LEN. + +2001-09-14 Andreas Schwab + + * posix/execl.c: Fix last argument of memcpy. Reported by Brian + Sumner . + * posix/execlp.c: Likewise. + +2001-09-13 Jakub Jelinek + + * elf/dl-deps.c (_dl_map_object_deps): Fix filter handling if filter + is already found earlier in the search scope. + +2001-09-12 Jakub Jelinek + + * rt/Makefile (LDFLAGS-rt.so): Use shared thread library as librt's + filter. + +2001-09-13 Ulrich Drepper + + * sysdeps/powerpc/fpu/libm-test-ulps: Adjust expected errors for j0. + +2001-09-12 Ulrich Drepper + + * config.h.in: Enforce optimization to be used. + * Makeconfig (preprocess-versions): Define ASSEMBLER. + * stdlib/Makefile (isomac-CFLAGS): Define to -O. + * posix/Makefile (annexc-CFLAGS): Define to -O. + * sysdeps/unix/make-syscalls.sh: Define __OPTIMIZE__ in use of asm_CPP. + +2001-09-11 Ulrich Drepper + + * nscd/nscd_gethst_r.c: Don't expect IPv6 addresses for IPv4 lookup. + Patch by Stephan Kulow. + +2001-09-08 Ben Collins + + * sysdeps/arm/dl-machine.h (elf_machine_rel): Fix thinko in + usage of RESOLVE() (r_type, not reloc->r_type). + +2001-09-08 Ulrich Drepper + + * elf/dl-object.c: Avoid allocating extra memory block for name. + * elf/dl-close.c (_dl_close): Don't free l_libname if it is not + allocated separately. + * elf/dl-load.c (_dl_map_object_from_fd): Likewise. + +2001-09-08 H.J. Lu + + * po/zh_TW.po: Fix a typo. + +2001-09-07 Tom Rix + + * sysdeps/unix/sysv/aix/sysv_termio.h: New file. + +2001-08-26 Tom Rix + + * sysdeps/unix/sysv/aix/Makefile (aix-syscalls.o): More linker + command line options. + * sysdeps/unix/sysv/aix/start.s: New file, rework of start.c + * sysdeps/unix/sysv/aix/start.c: Removed. + * sysdeps/unix/sysv/aix/start-libc.c: New file. + * sysdeps/unix/sysv/aix/init-first.c: New file. + * sysdeps/unix/sysv/aix/fcntl.c: Alias __libc_fcntl to __fcntl. + +2001-09-08 Ben Collins + + * sysdeps/arm/dl-machine.h: Fix usage of new _dl_signal_error() format. + * sysdeps/generic/dl-machine.h: Likewise. + * sysdeps/hppa/dl-fptr.c: Likewise. + * sysdeps/ia64/dl-fptr.c: Likewise. + * sysdeps/mach/hurd/dl-sysdep.c: Likewise. + * sysdeps/mips/dl-machine.h: Likewise. + * sysdeps/mips/mips64/dl-machine.h: Likewise. + * sysdeps/powerpc/dl-machine.c: Likewise. + +2001-09-07 Ben Collins + + * sysdeps/sparc/sparc32/dl-machine.h: Fix typo. + + * sysdeps/hppa/dl-lookupcfg.h: Forward declare struct link_map. + +2001-09-08 Ulrich Drepper + + * elf/dl-lookup.c (add_dependency): Bump l_opencount of all + dependencies if necessary. + + * elf/dl-close.c (_dl_close): If object has no r_list (i.e., wasn't + loaded directly) determine length if l_initfini list by iterating + over its elements. Minor optimizations. + * elf/dl-deps.c (_dl_map_object_deps): Always add own map to l_initfini + for dependency objects. + If object was already loaded check whether any of the dependencies + is already on the relocation dependency list. If yes, remove the + latter. Minor optimizations. + * elf/dl-lookup.c (add_dependency): Add check for self reference of + maps here. Search l_initfini list only if the object was loaded + directly and not only as a dependency. + (_dl_lookup_symbol): Add relocation dependency also if object + is not in global scope. Remove test for self-reference here. + (_dl_lookup_versioned_symbol): Likewise. + * elf/dl-object (_dl_new_object): Cleanup. Initialize dont_free + element of first name record. + * elf/loadtest.c: Add some more test to recognize early if an object + wasn't unloaded. + * elf/Makefile: Add rules to build and run reldep5. + * elf/reldep5.c: New file. + * elf/reldepmod5.c: New file. + * elf/reldepmod6.c: New file. + + * elf/reldep2.c: Fix typo. + +2001-09-07 Ulrich Drepper + + * include/link.h (struct link_map): Add l_scope_mem and l_scope_max + elements. Change l_scope to be a pointer only. + * elf/dl-object.c (_dl_new_object): Initialize l_scope and l_scope_max. + * elf/dl-open.c (dl_open_worker): If dependency wasn't just opened + here add searchlist of newly open file to the dependency's scope. + * elf/dl-close.c (_dl_close): If dependency is used otherwise remove + only searchlist from its scope. Free own scope array if necessary. + * elf/Makefile (tests): Add dblload and dblunload now. + +2001-09-06 Andreas Jaeger + + * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: New file, contributed + Stephen L Moshier. + +2001-09-05 Ulrich Drepper + + * elf/Makefile: Add rules to build new tests. Don't run them yet since + they both fail. + * elf/dblload.c: New file. + * elf/dblloadmod1.c: New file. + * elf/dblloadmod2.c: New file. + * elf/dblloadmod3.c: New file. + * elf/dblunload.c: New file. + +2001-09-04 Richard Henderson + + * elf/elf.h (R_ALPHA_OP_*, R_ALPHA_IMMED_*): Remove. + (R_ALPHA_GPREL16): Rename from R_ALPHA_IMMED_GP_16. + +2001-09-04 Ulrich Drepper + + Correct very misleading message for error in failed runtime relocation. + * elf/dl-error.c (_dl_signal_error): Take extra parameter to describe + place of the error. + (_dl_signal_cerror): Likewise. + * sysdeps/generic/ldsodefs.h: Adjust prototypes. + * elf/dl-close.c: Likewise. + * elf/dl-deps.c: Likewise. + * elf/dl-load.c: Likewise. + * elf/dl-lookup.c: Likewise. + * elf/dl-open.c: Likewise. + * elf/dl-reloc.c: Likewise. + * elf/dl-sym.c: Likewise. + * elf/dl-version.c: Likewise. + * sysdeps/generic/dl-sysdep.c: Likewise. + +2001-09-04 Jakub Jelinek + + * iconv/strtab.c (strtabinit): Initialize null Strent. + (newstring): Move len == 0 handling... + (strtabadd): ...here. + If len == 1, return null Strent. + When inserting a suffix of an existing string, check if + it is not equal to some suffix already recorded. + Copy left and right members over if adding longer string. + +2001-09-04 Jakub Jelinek + + * sunrpc/rpc_cout.c (upcase): Account for trailing '\0'. + + * sysdeps/unix/sysv/linux/alpha/gethostname.c: Include . + (__syscall_gethostname): Add prototype. + +2001-09-04 Ulrich Drepper + + * elf/dl-object.c (_dl_new_object): Remove unnecessary if. + +2001-09-02 Ulrich Drepper + + * elf/rtld.c (dl_main): Increment l_opencount for main binary. + +2001-08-27 Roland McGrath + + * sysdeps/unix/sysv/gethostname.c (__gethostname): When LEN is too + short, copy that much into NAME anyway before returning error. + +2001-09-01 Richard Henderson + + * sysdeps/alpha/elf/Dist: Remove file. + * sysdeps/alpha/elf/Makefile: Remove file. + * sysdeps/alpha/elf/crtbegin.S: Remove file. + * sysdeps/alpha/elf/crtend.S: Remove file. + * sysdeps/alpha/elf/initfini.c: New file. + +2001-09-01 Mark Kettenis + + * iconv/tst-iconv1.c: Include for wchar_t. + * iconv/tst-iconv3.c: Likewise. + +2001-09-01 Jakub Jelinek + + * sysdeps/generic/inttypes.h (__gwchar_t): Define to wchar_t for C++. + +2001-09-01 Ulrich Drepper + + * iconv/gconv_cache.c: Rename variable cache to __gconv_cache and + export it. + * iconv/Versions (libc) [GLIBC_2.2.5]: Export __gconv_cache. + * iconv/iconv_prog.c (insert_cache): New function. + (print_known_names): If cache is used call insert_cache to use the + information from the cache [PR libc/2509]. + +2001-08-31 Ulrich Drepper + + * time/strptime.c (strptime_internal): Recognize 'l' format and + handle it like 'I' for symmetry with strftime. + +2001-08-31 Richard Henderson + + * elf/dl-support.c (_dl_cpuclock_offset): Protect with NONAVAIL. + (HP_TIMING_AVAIL): Set to HP_SMALL_TIMING_AVAIL if present. + * elf/rtld.c (HP_TIMING_AVAIL): Likewise. + (print_statistics): Make scalar unsigned long long. + * sysdeps/alpha/hp-timing.h: New file. + +2001-08-31 Jakub Jelinek + + * stdio-common/perror.c (perror): Save errno early, pass it + down to perror_internal. + (perror_internal): Add errnum argument. + +2001-08-31 Jakub Jelinek + + * sysdeps/alpha/dl-machine.h (elf_machine_rela): Remove unused code. + Don't add old memory content for R_ALPHA_REFQUAD. + +2001-08-30 Ulrich Drepper + + * crypt/md5-crypt.c (__md5_crypt_r): Compute used and required + memory correctly. + + * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Use __open + instead of open, __close instead of close, __getpagesize instead + of getpagesize. + + * string/argz-stringify.c (__argz_stringify): Use __strnlen + instead of strnlen. + * include/string.h (strndupa): Redefine here to use __strnlen + instead of strnlen. + * string/strndup.c (__strndup): Use __strnlen not strnlen. + + * misc/syslog.c (vsyslog): Fix typo in last change (connect -> + connected). + +2001-08-30 Jakub Jelinek + + * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle + R_ALPHA_RELATIVE if RTLD_BOOTSTRAP and HAVE_Z_COMBRELOC. Only check + for rtld map if neither RTLD_BOOTSTRAP nor HAVE_Z_COMBRELOC is defined. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Similarly. + * sysdeps/ia64/dl-machine.h (elf_machine_rel): Similarly. + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rel): Similarly. + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rel): Similarly. + +2001-08-30 Ulrich Drepper + + * sysdeps/alpha/fpu/libm-test-ulps: Adjust j0 ULPs. + +2001-08-30 Andreas Jaeger + + * sysdeps/ieee754/ldbl-128/e_jnl.c: New file, + contributed Stephen L Moshier. + +2001-08-30 Jakub Jelinek + + * sunrpc/etc.rpc (sgi_fam): Add. + +2001-08-30 Ulrich Drepper + + * sysdeps/unix/sysv/linux/alpha/gethostname.c: New file. + +2001-08-29 Ulrich Drepper + + * nis/nis_findserv.c (__nis_findfastest): Don't fail if reply received + first is from a previous call. + Patch by Alexander Belopolsky for [PR libc/3670]. + +2001-08-29 Andreas Schwab + + * sysdeps/ia64/fpu/libm-test-ulps: Updated. + +2001-08-25 Maciej W. Rozycki + + * config.make.in (INSTALL_SCRIPT): Define. + * Makeconfig (INSTALL_SCRIPT): Define. + * Makerules (do-install-script): New macro to install scripts using + INSTALL_SCRIPT. + (install-bin-script): New rule to install scripts with + do-install-script. + (install-bin-script-nosubdir): New rule. + (install-no-libc.a-nosubdir): Add install-bin-script-nosubdir. + (distinfo-vars): Add $(install-bin-script). + * Rules (others): Likewise. + * Makefile (glibcbug): Install with install-bin-script. + * debug/Makefile (xtrace): Likewise. + (catchsegv): Likewise. + * elf/Makefile (ldd): Likewise. + * malloc/Makefile (mtrace): Likewise. + * timezone/Makefile (tzselect): Likewise. + +2001-08-29 H.J. Lu + + * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Pass + ELF_RTYPE_CLASS_PLT, instead of R_MIPS_REL32, to + _dl_lookup_versioned_symbol () and _dl_lookup_symbol (). + +2001-08-29 Andreas Schwab + + * sysdeps/m68k/fpu/libm-test-ulps: Updated. + +2001-08-28 H.J. Lu + + * Makeconfig (combreloc-LDFLAGS): New variable. + Add it to LDFLAGS.so, LDFLAGS-rtld, and +link. + * config.make.in (have-z-combreloc): New variable. + * configure.in: Substitute libc_cv_z_combreloc. + +2001-08-29 Ulrich Drepper + + * po/sv.po: Update from translation team. + * po/fr.po: Likewise. + * po/da.po: Likewise. + +2001-08-28 Maciej W. Rozycki + + * Makerules: Fix a typo: MD% -> MD5. + +2001-08-28 Ulrich Drepper + + * sunrpc/rpc_hout.c (pargdef): Function must take pointer to object. + Patch by Patrick Duval . + +2001-08-28 Andreas Jaeger + + * manual/libc-texinfo.sh: Add entry about free manuals. + + * manual/contrib.texi (Contributors): Fix cross reference. + + * manual/libc.texinfo (Copying): Include freemanuals. + + * manual/Makefile (appendices): Add freemanuals. + + * manual/freemanuals.texi: New file. + Patch by Brian Youmans <3diff@gnu.org>. + + * manual/libm-err-tab.pl: Pretty print more platforms, print a + smaller table. + + * manual/math.texi (Errors in Math Functions): Fix grammar, start + table on separate page. + Patch by Brian Youmans <3diff@gnu.org>. + +2001-08-27 Ulrich Drepper + + * misc/syslog.c (vsyslog): Try a bit harder to use syslogd. If + the connection went down after we first used it try to connect + again and resend the message before printing to the console. + Reported by Coserea Gh. Tudor . + +2001-08-27 Jakub Jelinek + + * string/tst-strlen.c (main): Test strnlen (, -1) too. + * sysdeps/generic/strnlen.c (__strnlen): Fix for maxlens with top + bit set. + +2001-08-27 Ulrich Drepper + + * iconv/strtab.c (searchstring): Use correct length for comparison. + (strtabadd): Account total size correct if new string has old string as + substring. + +2001-08-27 Jakub Jelinek + + * elf/rtld.c (dl_main): Update call to _dl_lookup_symbol. + +2001-08-27 Andreas Jaeger + + * sysdeps/i386/fpu/libm-test-ulps (float): Add ulps for new tests. + + * math/libm-test.inc (j0_test): Add extra tests. + * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Use |x|, + not x, in Hankel approximation. + Patches by Stephen L Moshier. + +2001-08-26 Ulrich Drepper + + * sysdeps/ia64/dl-lookupcfg.h: Add forward declaration for struct + link_map. + + * configure.in: Fix test for .rela.dyn section. + + * elf/dl-runtime.c: Update calls to _dl_lookup_*. + +2001-08-26 Jakub Jelinek + + * elf/dl-reloc.c (RESOLVE_MAP, RESOLVE): Use elf_machine_type_class + instead of elf_machine_lookup_noexec_p and elf_machine_lookup_noplt_p. + Pass type_class to _dl_lookup_*. + * elf/dl-lookup.c (_dl_lookup_symbol): Take type_class parameter now. + Pass around just type_class instead of noexec, noplt pair. + (_dl_lookup_versioned_symbol): Likewise. + (_dl_lookup_symbol_skip): Pass around just type_class instead of + noexec, noplt pair. + (_dl_lookup_versioned_symbol_skip): Likewise. + (_dl_do_lookup, _dl_do_lookup_versioned): Likewise. + * elf/do-lookup.h (do_lookup): Likewise. + * include/link.h (struct link_map): Replace noexec and noplt fields + in l_lookup_cache with type_class field. + * sysdeps/generic/ldsodefs.h (ELF_RTYPE_CLASS_PLT, + ELF_RTYPE_CLASS_COPY): Define. + Adjust prototypes for _dl_lookup_symbol and + _dl_lookup_versioned_symbol. + * sysdeps/alpha/dl-machine.h (elf_machine_lookup_noplt_p, + elf_machine_lookup_noexec_p): Remove. + (elf_machine_type_class): Define. + * sysdeps/arm/dl-machine.h: Likewise. + * sysdeps/hppa/dl-machine.h: Likewise. + * sysdeps/cris/dl-machine.h: Likewise. + * sysdeps/i386/dl-machine.h: Likewise. + * sysdeps/ia64/dl-machine.h: Likewise. + * sysdeps/m68k/dl-machine.h: Likewise. + * sysdeps/mips/mips64/dl-machine.h: Likewise. + * sysdeps/mips/dl-machine.h: Likewise. + * sysdeps/powerpc/dl-machine.h: Likewise. + * sysdeps/sparc/sparc32/dl-machine.h: Likewise. + * sysdeps/sparc/sparc64/dl-machine.h: Likewise. + * sysdeps/sh/dl-machine.h: Likewise. + * sysdeps/s390/s390-32/dl-machine.h: Likewise. + * sysdeps/s390/s390-64/dl-machine.h: Likewise. + +2001-08-26 Ulrich Drepper + + * manual/message.texi (Advanced gettext functions): Change + description of plural forms for Slovak. + Reported by Marcel Telka . + + * manuaL/time.texi (Low-Level Time String Parsing): Fix description of + %z. Reported by C. Scott Ananian . + +2001-08-26 Jakub Jelinek + + * sysdeps/s390/s390-32/dl-machine.h (elf_machine_lazy_rel): Fix a + typo. Patch by Florian La Roche . + +2001-08-26 Ulrich Drepper + + * include/link.h (struct link_map): Add l_lookup_cache element. + * elf/dl-reloc.c (RESOLVE): Add symbol caching here. + (RESOLVE_MAP): Likewise. + (_dl_relocate_object): Remove cache initialization. + * elf/dl-lookup.c: Rip out cache handling code. + * sysdeps/generic/ldsodefs.h: Remove lookup_cache struct and variable + declarations. + + * elf/dl-lookup.c (_dl_lookup_symbol): Reorder some conditions and + remove some __builtin_expect. + (_dl_lookup_versioned_symbol): Likewise. + + * config.h.in: Add HAVE_Z_COMBRELOC. + * configure.in: Add test for -z combreloc. + + * sysdeps/i386/dl-machine.h (elf_machine_rel): Minor cleanups and + optimizations. Use HAVE_Z_COMBRELOC to avoid generaton of + R_386_RELATIVE handling for ld.so startup. Reduce RTLD_BOOTSTRAP + case to almost no code. + +2001-08-25 Ulrich Drepper + + * po/tr.po: Update from translation team. + +2001-08-24 Andreas Jaeger + + * iconv/Makefile (extra-objs): Add iconvconfig-modules so that + make clean works. + +2001-08-24 Ulrich Drepper + + * elf/rtld.c (print_statistics): Printf % after percent values. + * elf/dl-misc.c (_dl_debug_vdprintf): Implement %%. + + * elf/dl-lookup.c (_dl_lookup_symbol): If we use the cache we + don't have to compute the hash value and initialize current_value. + Move reference_name variable to where it is needed. + (_dl_lookup_versioned_symbol): Likewise. + +2001-08-24 Roland McGrath + + * string/tester.c (test_strerror): Don't use _sys_errlist/_sys_nerr. + Just test that strerror returns non-null for a few errno codes. + +2001-08-23 Roland McGrath + + * hurd/Versions (libc: GLIBC_2.2.5): New set; add _hurd_raise_signal, + _hurdsig_interrupt_timeout, _hurdsig_fault_preemptor. + + * sysdeps/posix/shm_unlink.c (shm_unlink): __unlink -> unlink. + + * mach/Versions (libc: GLIBC_2.2.5): New set; add __mach_msg_destroy, + __mach_reply_port. + +2001-08-24 Ulrich Drepper + + * nss/test-netdb.c (test_hosts): Don't segfault if gethostname + returns NULL. + + * elf/do-rel.h (elf_dynamic_do_rel): Fix problem with ld.so + startup. Explicitly remove lazy part for RTLD_BOOTSTRAP since gcc + doesn't do it. + * elf/rtld.c: Include . + * elf/dl-reloc.c: Likewise. + +2001-08-24 Maciej W. Rozycki + + * sysdeps/unix/sysv/linux/mips/configure.in: Define AC_SUBST to + empty to prevent junk from being generated. + * sysdeps/unix/sysv/linux/mips/configure: Regenerated. + +2001-08-24 Jakub Jelinek + + * elf/do-rel.h (elf_dynamic_do_rel): If l_addr is 0, skip relative + records. Rename endrel to relative, initialize it to r, and use it + in elf_machine_rel_relative calls. Point r after relative relocs. + +2001-08-24 Ulrich Drepper + + * sysdeps/i386/dl-machine.h (elf_machine_rel): Correct prediction + of R_386_NONE. + +2001-08-24 Jakub Jelinek + + * elf/do-rel.h (elf_machine_rel_relative): Define for rela if + necessary. Undefine newly defined macros at the end. + * sysdeps/hppa/dl-machine.h (elf_machine_rela_relative): + Rename from elf_machine_rel_relative. + * sysdeps/cris/dl-machine.h (elf_machine_rela_relative): Likewise. + * sysdeps/m68k/dl-machine.h (elf_machine_rela_relative): Likewise. + * sysdeps/powerpc/dl-machine.h (elf_machine_rela_relative): Likewise. + * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela_relative): + Likewise. + * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela_relative): + Likewise. + * sysdeps/ia64/dl-machine.h (elf_machine_rela_relative): Likewise. + Fix argument types. + * sysdeps/alpha/dl-machine.h (elf_machine_rela_relative): Likewise. + Fix argument types. + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela_relative): + Likewise. Fix argument types. + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela_relative): + Likewise. Fix argument types. + * sysdeps/sh/dl-machine.h (elf_machine_rela_relative): Likewise. + Fix argument types. + * sysdeps/mips/dl-machine.h (elf_machine_rel_relative): Use + ElfW(Rel) in argument. + * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel_relative): New + function. + +2001-08-24 Alexandre Oliva + + * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix typo. + +2001-08-24 Andreas Jaeger + + * sysdeps/ieee754/ldbl-128/e_j1l.c: New file, contributed by + Stephen L Moshier . + +2001-08-24 Ulrich Drepper + + * elf/do-rel.h (elf_dynamic_do_rel): RELATIVE relocations comes + first if RELCOUNT is set. + + * elf/do-rel.h (elf_dynamic_do_rel): If not relocating lazily, don't + call elf_machine_rel for the last DT_RELCOUNT relocations but instead + elf_machine_rel_relative. + * sysdeps/alpha/dl-machine.h: Define elf_machine_rel_relative. + Minor optimizations. + * sysdeps/arm/dl-machine.h: Likewise. + * sysdeps/cris/dl-machine.h: Likewise. + * sysdeps/hppa/dl-machine.h: Likewise. + * sysdeps/i386/dl-machine.h: Likewise. + * sysdeps/ia64/dl-machine.h: Likewise. + * sysdeps/m68k/dl-machine.h: Likewise. + * sysdeps/mips/dl-machine.h: Likewise. + * sysdeps/powerpc/dl-machine.h: Likewise. + * sysdeps/s390/s390-32/dl-machine.h: Likewise. + * sysdeps/s390/s390-64/dl-machine.h: Likewise. + * sysdeps/sh/dl-machine.h: Likewise. + * sysdeps/sparc/sparc32/dl-machine.h: Likewise. + * sysdeps/sparc/sparc64/dl-machine.h: Likewise. + +2001-08-23 Roland McGrath + + * rt/tst-aio4.c [! SIGRTMIN] (SIGRTMIN, SIGRTMAX): Define as -1. + + * sysdeps/mach/hurd/bits/libc-lock.h: New file, initially copied from + sysdeps/mach version. Implement counting ("recursive") mutexes + on top of cthreads mutexes. + * sysdeps/mach/hurd/bits/stdio-lock.h: File removed; generic now works. + + * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Define to + _LIBC_LOCK_RECURSIVE_INITIALIZER if defined, else do an #error. + (__libc_cleanup_region_start, __libc_cleanup_region_end, + __libc_clean_end): Define these to call the cleanup function after + normal exit when they're supposed to. + + * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start): + Take new first arg DOIT, a boolean saying whether to really install + any cleanup handler. + (__libc_cleanup_region_end): Do nothing if start's DOIT arg was zero. + (__libc_cleanup_end): Likewise. + * sysdeps/generic/bits/libc-lock.h: Same changes. + * stdio-common/vfscanf.c (LOCK_STREAM): Pass new arg. + * stdio-common/vfprintf.c (buffered_vfprintf, vfprintf): Likewise. + * sysdeps/mach/hurd/bits/stdio-lock.h (_IO_cleanup_region_start): + Likewise. + * misc/syslog.c (vsyslog, openlog, closelog): Likewise. + * sysdeps/generic/bits/stdio-lock.h + (_IO_cleanup_region_start, _IO_cleanup_region_start_noarg): Likewise. + +2001-08-23 Jakub Jelinek + + * elf/ldconfig.c (search_dir): Remove stale symlinks. + +2001-08-23 Jakub Jelinek + + * elf/dl-lookup.c (lookup_cache, lookup_cache_versioned): New + functions. + (_dl_lookup_symbol): Lookup relocations in cache and store successfull + lookups in cache. + (_dl_lookup_versioned_symbol): Likewise. + * elf/dl-reloc.c (_dl_relocate_object): Initialize cache for + relocation lookup. + * elf/rtld.c (print_statistics): Output _dl_num_cache_relocations. + * sysdeps/generic/ldsodefs.h (struct lookup_cache): New definition. + (lookup_cache, lookup_cache_versioned): Add declarations. + +2001-08-23 Ulrich Drepper + + * stdlib/tst-random.c (main): Swap parameters in fail call. + Patch by Pete Bevin . + +2001-08-23 Jakub Jelinek + + * sysdeps/generic/inttypes.h: Use __gwchar_t instead of __wchar_t. + +2001-08-23 Ulrich Drepper + + * malloc/obstack.c: Indent preprocessor directives. + Patch by Jim Meyering . + + * po/ja.po: Update from translation team. + +2001-08-23 Roland McGrath + + * libio/tst-ungetwc1.c (main): Add a const to quiet a warning. + + * nss/test-netdb.c (test_hosts): Don't use MAXHOSTNAMELEN. + Instead, use dynamic buffer to test gethostname's ENAMETOOLONG error. + +2001-08-22 Roland McGrath + + * sysdeps/generic/ldsodefs.h (_dl_load_lock): Declare it here with + __libc_lock_define_recursive. + * elf/dl-open.c: Don't declare it here any more. + * elf/dl-close.c: Likewise. + * elf/dl-lookup.c: Likewise. + * elf/dl-iteratephdr.c: Likewise. + * elf/dl-lookup.c (add_dependency): Use __libc_lock_lock_recursive and + __libc_lock_unlock_recursive. + * elf/dl-close.c (_dl_close): Likewise + * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise + * elf/dl-open.c (_dl_open): Likewise + + * sysdeps/generic/bits/libc-lock.h + (__libc_lock_define_recursive): New macro. + * sysdeps/generic/bits/stdio-lock.h (_IO_lock_t): Use it. + (_IO_lock_lock): Use __libc_lock_lock_recursive. + (_IO_lock_unlock): Use __libc_lock_unlock_recursive. + + * conform/conformtest.pl (checknamespace): Sort the output list. + + * sysdeps/generic/bits/poll.h (POLLWRBAND): New alias for POLLOUT. + (POLLRDNORM, POLLRDBAND, POLLWRNORM, POLLWRBAND): Make these + definitions conditional on [__USE_XOPEN]. + + * sysdeps/mach/hurd/bits/fcntl.h (O_ASYNC, O_FSYNC, O_SYNC): Define + these unconditionally, not only use [__USE_BSD], so as to match + the sysdeps/unix/sysv/linux files. + +2001-08-22 Ulrich Drepper + + * test-skeleton.c (add_temp_file): Add __attribute__ ((unused)) to + avoid warnings. + + * dlfcn/tst-dladdr.c (do_test): Get address of ref1 using + DL_LOOKUP_ADDRESS. + +2001-08-22 Roland McGrath + + * sysdeps/generic/bits/sigaction.h (struct sigaction): Fix up + conditionalization of sa_handler/sa_sigaction member types to + match the sysdeps/unix/sysv/linux file. + +2001-08-22 Ulrich Drepper + + * elf/dl-addr.c (_dl_addr): Handle broken binaries with zero + symbol sizes a bit better. + + * sysdeps/ia64/strncpy.S: Complete rewrite. + Contributed by Jakub Jelinek . + + * string/stratcliff.c (main): Add strncpy test. + +2001-08-22 Roland McGrath + + * sysdeps/generic/dl-environ.c: Include and , + and don't declare unsetenv or _environ directly. + (unsetenv): Return int, not void. Use __environ instead of _environ. + +2001-08-01 Mark Kettenis + + * sysdeps/unix/bsd/bsd4.4/Makefile: New file. + * sysdeps/unix/bsd/bsd4.4/Versions: New file. + * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: New file. + * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Correct + test for cmsg struct size. + +2001-04-23 Paul Eggert + + * posix/getopt.h (getopt_long, getopt_long_only, _getopt_internal): + Rename __argc to ___argc in prototypes to avoid compatibility + problems with systems that reserve the identifier "__argc". + Similarly for __argv. + +2001-08-21 Roland McGrath + + * stdio-common/tst-fseek.c: Include for `time' declaration. + + * mach/Makefile (tests): Removed. + * mach/hello.c: File removed. + +2001-08-22 Ulrich Drepper * po/sv.po: Update from translation team. -2002-10-11 Isamu Hasegawa + * stdio-common/vfscanf.c: Fix handling of %l[]. + Reported by Mitsuru Chinen . - * posix/regcomp.c (re_compile_fastmap_iter): Remove the handling - OP_CONTEXT_NODE. - (regfree): Likewise. - (create_initial_state): Likewise. - (analyze): Remove the substitutions which became useless. - (calc_first): Likewise. - (calc_epsdest): Use edests of OP_BACK_REF in case that it has - epsilon destination. - (duplicate_node_closure): New function. - (duplicate_node): Remove the handling OP_CONTEXT_NODE. - (calc_inveclosure): Likewise. - (calc_eclosure): Likewise. - (calc_eclosure_iter): Invoke duplicate_node_closure instead of - direct invocation of duplicate_node. - (parse): Don't use comma operator in the return to avoid compiler - warning. - (parse_reg_exp): Likewise. - (parse_branch): Likewise. - (parse_expression): Likewise. - (parse_sub_exp): Likewise. - (parse_dup_op): Likewise. - * posix/regex_internal.c (re_dfa_add_node): Remove the substitutions - which became useless. - (create_ci_newstate): Remove the handling OP_CONTEXT_NODE. - (create_cd_newstate): Likewise. - * posix/regex_internal.h (re_token_type_t): Remove the obsolete type. - (re_token_t): Likewise. - (re_dfa_t): Likewise. - (re_node_set_remove): New macro. - * posix/regexec.c (check_matching): Remove the handling - OP_CONTEXT_NODE. - (check_halt_node_context): Likewise. - (proceed_next_node): Likewise. - (pop_fail_stack): Fix the memory leak. - (set_regs): Likewise. - (free_fail_stack_return): New function. - (sift_states_backward): Fix the memory leak. Remove the handling - OP_CONTEXT_NODE. - (update_cur_sifted_state): Append some if clause to avoid redundant - call. - (sub_epsilon_src_nodes): Use IS_EPSILON_NODE since it might be a - back reference. - (check_dst_limits): Remove the handling OP_CONTEXT_NODE. - (check_subexp_limits): Likewise. - (search_subexp): Likewise. - (sift_states_bkref): Likewise. - (transit_state_mb): Likewise. - (transit_state_bkref_loop): Likewise. - (transit_state_bkref_loop): Likewise. - (group_nodes_into_DFAstates): Likewise. - (check_node_accept): Likewise. - (sift_ctx_init): Add initializing. + * libio/Makefile (tests): Add tst-sscanf. + * libio/tst-sscanf.c: New file. -2002-10-12 Ulrich Drepper + * elf/dl-addr.c (_dl_addr): Fix tests to determine dli_sname. + * malloc/mtrace.c (tr_where): dli_sname always points to a + non-empty string if != NULL. + Reported by Tim Janik . - * sysdeps/unix/sysv/linux/i386/sysdep.h (INLINE_SYSCALL): Use +2001-08-22 Jakub Jelinek + + * sunrpc/xdr_rec.c (xdrrec_create): Fix buf sizes before allocating + buf. Free resources on failure. + * sunrpc/svc_unix.c (svcunix_create): Free resources on failure. + (makefd_xprt): Likewise. + * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise. + * sunrpc/svc_tcp.c (svctcp_create, makefd_xprt): Likewise. + * sunrpc/auth_unix.c (authunix_create): Likewise. + +2001-08-21 Jakub Jelinek + + * string/strnlen.c: Remove. + * sysdeps/generic/strnlen.c: New file. + * sysdeps/i386/i486/bits/string.h (strnlen): Remove. + +2001-08-21 Roland McGrath + + * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Define this + as a macro, not an extern inline function. + + * hurd/Versions (GLIBC_2.2.5): New set, define __hurd_fail here. + * Versions.def (libc): Add GLIBC_2.2.5 set. + * hurd/hurd.h (_HURD_H_EXTERN_INLINE): New macro. + (__hurd_fail): Use that instead of _EXTERN_INLINE in decl. + +2001-08-20 Roland McGrath + + * hurd/hurdlookup.c (__hurd_file_name_lookup): Fail with ENOENT for "". + (__hurd_file_name_split, __hurd_directory_name_split): Likewise. + +2001-08-21 Ulrich Drepper + + * string/bits/string2.h: Remove strnlen optimization here. + * sysdeps/i386/i486/bits/string.h: Add it here. + +2001-08-21 Wolfram Gloger + + * malloc/malloc.c: Make access to ..._hook pointers thread-safe. + +2001-08-21 Ulrich Drepper + + * po/gl.po: Update from translation team. + +2001-08-20 Ulrich Drepper + + * misc/error.c (error_tail): Use fputws_unlocked instead of fputws. + * misc/err.c (convert_and_print): Likewise. + + * malloc/obstack.c (print_and_abort): Use fprintf instead of two + function calls. + +2001-08-20 Martin Schwidefsky + + * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Revert the + change of the gregset_t type. + * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise. + +2001-08-20 kaz Kojima + + * sysdeps/unix/sysv/linux/sh/sysdep.S: Align errno. + +2001-08-20 Ulrich Drepper + + * posix/regex.c (truncate_wchar): Use wcrtomb not wctomb. + + * string/strnlen.c: Fix the implementation. We cannot use memchr. + +2001-08-18 Mark Kettenis + + * sysdeps/mach/hurd/i386/init-first.c (init): Initialize __environ + before calling the cthreads initialization code. + +2001-08-20 Ulrich Drepper + + * argp/argp-help.c: Fix two problems introduced in last change. + + * include/dirent.h: Include first. + +2001-08-19 Ulrich Drepper + + * io/fts.c (fts_safe_changedir): Use __fxstat64 instead of __fstat. + + * sunrpc/svcauth_des.c (_svcauth_des): Avoid using bcopy. + * sunrpc/xdr_rec.c: Likewise. + * sunrpc/xdr_mem.c: Likewise. + * sunrpc/svc_authux.c (_svcauth_unix): Likewise. + * sunrpc/rpc_cmsg.c: Likewise. + * sunrpc/getrpcport.c (getrpcport): Likewise. + * sunrpc/clnt_simp.c (callrpc): Likewise. + * sunrpc/clnt_gen.c (clnt_create): Likewise. + * string/envz.c: Likewise. + + * po/ko.po: Update from translation team. + + * argp/argp-help.c: Handle wide oriented stderr stream. + +2001-08-18 Ulrich Drepper + + * sysdeps/generic/strtol.c: Little optimizations. Add some __builtin_expect. -2002-10-11 Ulrich Drepper + * conform/conformtest.pl: test requires . - * elf/dl-load.c (_dl_map_object_from_fd): Remove unnecessarily - duplicated variable c. + * wcsmbs/wchar.h (wcwdith): Change parameter type to wchar_t. + * wcsmbs/wcwidth.c (wcwdith): Likewise. + * wcsmbs/wcwidth.h (internal_wcwdith): Likewise. - * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Use INTERNAL_SYSCALL - if possible. + * conform/data/unistd.h-data: Remove _SC_MULTIPLE_PROCESS. - * sysdeps/unix/sysv/linux/i386/sysdep.h - (INTERNAL_SYSCALL_ERROR_P): New define. - (INTERNAL_SYSCALL_ERRNO): Likewise. + * conform/data/ucontext.h-data: Fix typos in ucontext_t element tests. - * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter): - Add hack to prevent the compiler from clobbering the signal context. + * time/time.h (struct timespec): Use __time_t for tv_sec element. -2002-10-11 Roland McGrath + * sysdeps/generic/inttypes.h: Define __wchar_t. Use it instead of + wchar_t for function declarations and defintions. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): - Fix typos. + * misc/sys/select.h: Define __need_time_t before including . + Define suseconds_t if it hasn't happened yet. - * sysdeps/generic/dl-lookupcfg.h: Include . - * sysdeps/sh/dl-lookupcfg.h: File removed. - * sysdeps/i386/dl-lookupcfg.h: File removed. + * iconv/gconv.h: Define __need_wchar_t before including . - * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): Add - missing labels and ; from last change. + * conform/data/sys/uio.h-data: Allow UIO_MAXIOV to be defined. - * stdio-common/tst-sscanf.c (val_double): Append .0 to large whole - number literals, so they are doubles instead of ints. + * sysdeps/generic/stdint.h: Don't get definition of wchar_t from + . -2002-10-09 Roland McGrath + * conform/data/stddef.h-data: Remove wint_t. - * sysdeps/generic/bits/libc-tsd.h [USE___THREAD]: Conditional - changed from [USE_TLS && HAVE___THREAD]. + * conform/conformtest.pl: Change namespace test to take #undef + lines into account. - * sysdeps/i386/dl-machine.h (elf_machine_type_class, elf_machine_rel): - Disable TLS relocs if [RTLD_BOOTSTRAP && !USE___THREAD]. - * sysdeps/x86_64/dl-machine.h - (elf_machine_type_class, elf_machine_rela): Likewise. - * sysdeps/sh/dl-machine.h (elf_machine_type_class, elf_machine_rela): + * conform/data/netinet/in.h-data: Fix typo in allow-header line. + + * conform/data/sys/socket.h-data: Add sockatmark. + +2001-08-17 Ulrich Drepper + + * io/fts.c: Update from recent BSD source. + +2001-08-17 Roland McGrath + + * stdio-common/perror.c (perror) [! USE_IN_LIBIO]: Don't use _IO_fwide. + * misc/error.c (error_tail, error, error_at_line) [! USE_IN_LIBIO]: Likewise. - * include/link.h (struct link_map): Remove member l_tls_tp_initialized. - * elf/rtld.c (_dl_start_final, dl_main): Don't use it. - (_dl_start): Conditionalize PT_TLS check on [USE___THREAD]. - - * sysdeps/i386/dl-tls.h (__TLS_GET_ADDR): Use ___tls_get_addr_internal - instead of ___tls_get_addr. - (___tls_get_addr_internal): Add attribute_hidden to decl. - - * sysdeps/generic/ldsodefs.h (struct rtld_global): New variable - _dl_error_catch_tsd. - * elf/rtld.c (startup_error_tsd): New function. - (dl_main): Point _dl_error_catch_tsd at that. - * elf/dl-error.c: Don't use libc-tsd.h for DL_ERROR, - use new function pointer instead. - * elf/dl-tsd.c: New file. - * elf/Makefile (routines): Add it. - -2002-10-07 Roland McGrath - - * elf/dl-misc.c (_dl_debug_vdprintf): Use INTERNAL_SYSCALL macro for - writev if it's available. Otherwise if [RTLD_PRIVATE_ERRNO] then - take _dl_load_lock around calling __writev. - - * sysdeps/unix/sysv/linux/i386/sysdep.h (INTERNAL_SYSCALL): New macro. - (INLINE_SYSCALL): Use that. - - * sysdeps/generic/dl-sysdep.h: New file. - * sysdeps/mach/hurd/dl-sysdep.h: New file. - * sysdeps/generic/ldsodefs.h: Include . - * include/errno.h [IS_IN_rtld]: Include to define ... - [RTLD_PRIVATE_ERRNO]: Use a hidden global variable for errno and - access it directly. - * elf/dl-minimal.c (__errno_location): Removed. - * sysdeps/unix/i386/sysdep.S (__syscall_errno) [RTLD_PRIVATE_ERRNO]: - Use GOTOFF access for errno. - * sysdeps/unix/sysv/linux/i386/sysdep.h - [RTLD_PRIVATE_ERRNO] (SYSCALL_ERROR_HANDLER): Likewise. - - * sysdeps/unix/x86_64/sysdep.S (__syscall_errno) [RTLD_PRIVATE_ERRNO]: - Use PC-relative access for errno. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h - [RTLD_PRIVATE_ERRNO] (SYSCALL_ERROR_HANDLER): Likewise. - - * include/tls.h: New file. - (USE___THREAD): New macro. - Define to 1 under [USE_TLS && HAVE___THREAD] and only when compiling - libc or libpthread. - * sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]: Conditional - changed from [USE_TLS && HAVE___THREAD]. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. - * sysdeps/unix/i386/sysdep.S: Likewise. - * sysdeps/unix/x86_64/sysdep.S: Likewise. - * include/errno.h: Likewise. - * include/netdb.h: Likewise. - * include/resolv.h: Likewise. - - * sysdeps/generic/errno.c: New file. - * csu/Makefile (aux): New variable, list errno. - * sysdeps/unix/sysv/linux/i386/sysdep.S (errno, _errno): Remove defns. - * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/cris/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/hppa/sysdep.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/sh/sysdep.S: Likewise. - * sysdeps/unix/alpha/sysdep.S: Likewise. - * sysdeps/generic/start.c: Likewise. - * sysdeps/unix/start.c: Likewise. - * sysdeps/unix/arm/start.c: Likewise. - * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise. - * sysdeps/unix/sparc/start.c: Likewise. - * sysdeps/unix/sysv/irix4/start.c: Likewise. - * sysdeps/unix/sysv/linux/mips/sysdep.S: File removed. - - * manual/search.texi (Tree Search Function, Hash Search Function): - Mention search.h clearly. - -2002-10-05 Roland McGrath - - * elf/dl-fxstat64.c: File removed. - * elf/dl-xstat64.c: File removed. - * elf/Makefile (rtld-routines): Remove them. - * sysdeps/unix/sysv/linux/xstat64.c: Remove RTLD_STAT64 conditionals. - Instead, use strong_alias instead of versioned_symbol in the - !SHLIB_COMPAT case. - * sysdeps/unix/sysv/linux/fxstat64.c: Likewise. - * sysdeps/unix/sysv/linux/lxstat64.c: Likewise. - - * include/shlib-compat.h - (SHLIB_COMPAT): Require that IS_IN_##lib be defined nonzero. - [! NOT_IN_libc] (IS_IN_libc): Define it. - * cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Use -Dx=1 not just -Dx. - * elf/Makefile (CPPFLAGS-.os): Likewise. - - * sunrpc/rpc_main.c (main): Don't declare with noreturn attribute. - Return the status instead of calling exit. - - * Makeconfig (CFLAGS): Prepend -std=gnu99. - * Makerules (+make-deps): Use $(CFLAGS) only for .c sources. - Remove superfluous rm command, whose @ plus make bugs hid - all these commands from the make output. - - * include/stubs-prologue.h: New file. Give #error under #ifdef _LIBC. - * Makefile ($(inst_includedir)/gnu/stubs.h): Depend on it. - Use that file's contents instead of literal echo's for the prologue. - * include/features.h: Include unconditionally. - * include/gnu/stubs.h: New file. - -2002-09-30 Roland McGrath - - * elf/rtld-Rules: New file. - * elf/Makefile ($(objpfx)librtld.map, $(objpfx)librtld.mk, - $(objpfx)rtld-libc.a): New targets. - (generated): Add them. - (reloc-link): Remove -o $@ from the variable. - ($(objpfx)dl-allobjs.os): Add -o $@ after $(reloc-link). - (distribute): Add rtld-Rules. - (CPPFLAGS-.os): Define this instead of CFLAGS-.os. - * Makerules ($(+sysdir_pfx)sysd-rules): Emit rules for rtld-% targets. - (common-mostlyclean, common-clean): Clean up rtld-* files. - * sysdeps/unix/make-syscalls.sh: Add rtld-*.os target name to rules. - -2003-05-20 Jakub Jelinek - - * elf/dynamic-link.h (elf_get_dynamic_info): Add temp argument. - If temp != NULL, copy dynamic entries which need relocation to temp - array before relocating. - (DL_RO_DYN_TEMP_CNT): Define. - * elf/dl-load.c (_dl_map_object_from_fd): Adjust caller. - * elf/rtld.c (_dl_start): Likewise. - (dl_main): Likewise. Add dyn_temp static variable. - -2002-10-11 Roland McGrath - - * sysdeps/generic/dl-tls.c (__tls_get_addr): After freeing block in - now-unused dtv slot, reset the slot to TLS_DTV_UNALLOCATED. - - * elf/tls-macros.h [__x86_64__] (TLS_GD): Fix the sequence with the - proper set of no-op insn prefixes. - - * elf/tst-tls8.c (do_test): Use %zd format for l_tls_modid members. - -2002-10-11 Ulrich Drepper - - * sysdeps/unix/sysv/linux/execve.c: Don't try calling - __pthread_kill_other_threads_np. - - * sysdeps/generic/pselect.c: Avoid unnecessary sigprocmask calls. - -2002-10-08 Roland McGrath - - * locale/newlocale.c (__newlocale): If setting all categories to "C", - just return &_nl_C_locobj instead of copying it. - * locale/freelocale.c (__freelocale): Check for &_nl_C_locobj. - * locale/duplocale.c (__duplocale): Likewise. - -2002-10-07 Roland McGrath - - * config.h.in (HAVE_I386_SET_GDT): New #undef. - * sysdeps/mach/configure.in: Define it with new check for i386_set_gdt. - * sysdeps/mach/configure: Regenerated. - -2002-10-06 Franz Sirl - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL): - Add all necessary register outputs for syscall-clobbered registers. - -2002-10-02 David Mosberger - - * sysdeps/ia64/bzero.S: Rewritten by Sverre Jarp to tune for - Itanium 2 (and Itanium). - Fix unwind directives and make it fit in 80 columns. - * sysdeps/ia64/memset.S: Likewise. - * sysdeps/ia64/memcpy.S: Likewise. - Move jump table to .rodata section. - -2002-10-03 Roland McGrath - - * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Add - clobbers to asm. - -2002-10-10 Andreas Jaeger - - * sysdeps/x86_64/_mcount.S: Restore correct registers. - -2002-10-10 Ulrich Drepper - - * posix/Versions (libc) [GLIBC_PRIVATE]: Add __pselect. - -2002-10-09 Ulrich Drepper - - * sysdeps/generic/ldsodefs.h: Remove attribute_hidden from - _dl_allocate_tls_init. Add rtld_hidden_proto. - * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Add - rtld_hidden_def. - * elf/Versions (ld) [GLIBC_PRIVATE]: Add _dl_allocate_tls_init. - - * version.h (VERSION): Bump to 2.3.1. - - * Make-dist: Add back one of the tar invocations removed before. - - * stdlib/Makefile (distribute): Add allocalim.h. - - * sysdeps/generic/bits/libc-tsd.h [!(USE_TLS && HAVE___THREAD)] - (__libc_tsd_address): Use correct variable name. - Patch by Stefan Jones . - - * sysdeps/unix/sysv/linux/ia64/getcontext.S: Add missing ;;. - Reported by edwardsg@sgi.com [PR libc/4678]. - - * Versions.def (libc): Add GLIBC_2.3.1. - (libpthread): Add GLIBC_2.3.1. - - * include/signal.h: Add libc_hidden_proto for __sigwait, __sigwaitinfo, - and __sigtimedwait. - * signal/Versions: Add __sigtimedwait, __sigwait, and __sigwaitinfo. - * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Add - libc_hidden_def. - * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise. - * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise. +2001-08-17 Ulrich Drepper - * include/sys/msg.h: Declare __libc_msgrcv and __libc_msgsnd. - * sysdeps/unix/sysv/linux/msgrcv.c (__msgrcv): Rename to __libc_msgrcv - and make old name an alias. - * sysdeps/unix/sysv/linux/msgsnd.c (__msgsnd): Rename to __libc_msgsnd - and make old name an alias. - * sysvipc/Versions (libc) [GLIBC_PRIVATE]: Add __libc_msgrcv and - __libc_msgsnd. + * locale/duplocale.c (__duplocale): Also initialize the special + __ctype_* elements. - * include/sys/uio.h: Declare __libc_readv and __libc_writev. - * misc/Versions (libc) [GLIBC_PRIVATE]: Add __libc_readv and - __libc_writev. - * sysdeps/generic/readv.c (__readv): Rename to __libc_readv and make - old name an alias. - * sysdeps/posix/readv.c: Likewise - * sysdeps/unix/sysv/aix/readv.c: Likewise. - * sysdeps/unix/sysv/linux/readv.c: Likewise. - * sysdeps/generic/writev.c (__writev): Rename to __libc_writev and make - old name an alias. - * sysdeps/posix/writev.c: Likewise - * sysdeps/unix/sysv/aix/writev.c: Likewise. - * sysdeps/unix/sysv/linux/writev.c: Likewise. + * conform/data/netdb.h-data: Adjust gai_strerror return type. - * include/sys/wait.h: Declare __waitid. - * posix/Versions (libc) [GLIBC_PRIVATE]: Add __waitid. - * sysdeps/generic/waitid.c (waitid): Rename to __waitid and make old - name an alias. - * sysdeps/posix/waitid.c: Likewise. - * sysdeps/unix/sysv/aix/waitid.c: Likewise. +2001-08-17 Andreas Jaeger - * sysdeps/unix/sysv/linux/syscalls.list: Add creat syscall. + * misc/getpass.c: Include wchar.h for prototypes. + * malloc/obstack.c: Likewise. -2002-10-07 Jakub Jelinek +2001-08-17 Ulrich Drepper - * include/alloca.h (__libc_use_alloca, __libc_alloca_cutoff): New - prototypes. - (__MAX_ALLOCA_CUTOFF): Define. - Include allocalim.h. - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r, - _nss_dns_gethostbyaddr_r): Use alloca or malloc to allocate - host_buffer depending on __libc_use_alloca. - * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r, - _nss_dns_getnetbyaddr_r): Use alloca or malloc to allocate - net_buffer depending on __libc_use_alloca. - * resolv/res_query.c (res_nquery): Use alloca or malloc to allocate - buf depending on __libc_use_alloca. - * resolv/gethnamaddr.c (gethostbyname2, gethostbyaddr): Likewise. - * stdio-common/vfprintf.c (vfprintf): Use __libc_use_alloca - instead of hardcoded constants. - Pass proper size argument to alloca and compute end for wide char - version. - * stdio-common/printf_fp.c (__printf_fp): Use __libc_use_alloca - instead of hardcoded constants. - * string/strcoll.c (strcoll): Likewise. - * string/strxfrm.c (strxfrm): Likewise. - * sysdeps/posix/readv.c (__readv): Likewise. - * sysdeps/posix/writev.c (__writev): Likewise. - * sysdeps/generic/allocalim.h: New file. - -2002-10-08 Roland McGrath + * sunrpc/svc_simple.c (universal): Use __write instead of write. - * configure.in (aux_missing warning): Change "too old" to - "incompatible versions", since for autoconf it's "too new" right now. - * configure: Regenerated. - - * configure.in (AUTOCONF): New check to set it. Set to "no" if the - one found doesn't work on our configure.in. - * configure: Regenerated. - * config.make.in (AUTOCONF): New substituted variable. - * Makefile (autoconf-it-cvs): New canned sequence, broken out of ... - (autoconf-it): ... here, use that instead of defining conditionally. - Use $(AUTOCONF) instead of literal autoconf. - [$(AUTOCONF) != no] (configure, %/configure): Protect these rules - with this condition. - * Make-dist (autoconf-it, configure, %/configure): Copy those changes. - -2002-10-08 Ulrich Drepper - - * Make-dist (dist): Cleanup a bit. We are not interested in the - 14 char filename limit anymore. Remove intermediate files and - symlinks. - -2002-10-05 Ulrich Drepper - - * po/sk.po: Update from translation team. - * po/tr.po: Likewise. - * po/gl.po: Likewise. - -2002-10-05 Kaz Kojima - - * elf/tls-macros.h: Fix SH version of macros so as to match ABI syntax. - -2002-10-03 Ulrich Drepper - - * version.h (RELEASE): Change to stable. - -2002-10-03 Jakub Jelinek - - * sysdeps/unix/sysv/linux/_exit.c (__syscall_exit, - __syscall_exit_group): New prototypes. - -2002-10-03 Ulrich Drepper - - * glibc 2.3 released. - - -See ChangeLog.13 for earlier changes. + * wcsmbs/wcscoll.c: Also define __wcscoll. + * include/wchar.h: Declare __wcscoll. + + * libio/fwprintf.c: Use __vfwprintf instead of vfwprintf. + * libio/vwprintf.c: Likewise. + * libio/wprintf.c: Likewise. + + * iconv/gconv_cache.c: Use __munmap instead of munmap. + +2001-08-16 Ulrich Drepper + + * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc + instead of mbrtowc. + [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of + wcslen, and __wcscoll instead of wcscoll. + + * sysdeps/unix/sockatmark.c (sockatmark): Use __ioctl instead of ioctl. + + * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue): Use + __getuid instead of getuid. + + * stdio-common/perror.c (perror): Use __close instead of close. + * iconv/gconv_cache.c (__gconv_load_cache): Likewise. + * libio/freopen.c (freopen): Likewise. + * libio/freopen64.c (freopen64): Likewise. + + * libio/tst-ungetwc2.c (main): Define str const. + + * include/wchar.h: Add prototypes for __fwprintf and __vfwprintf. + * libio/fwprintf.c: Also define __fwprintf. + * stdio-common/vfprintf.c [COMPILE_WPRINTF]: Also define __vfwprintf. + * argp/argp-fmtstream.c: Handle wide oriented stderr stream. + * assert/assert-perr.c: Likewise. + * assert/assert.c: Likewise. + * gmon/gmon.c: Likewise. + * inet/rcmd.c: Likewise. + * malloc/obstack.c: Likewise. + * misc/err.c: Likewise. + * misc/error.c: Likewise. + * misc/getpass.c: Likewise. + * posix/getopt.c: Likewise. + * resolv/res_hconf.c: Likewise. + * stdio-common/perror.c: Likewise. + * stdio-common/psignal.c: Likewise. + * stdlib/fmtmsg.c: Likewise. + * sunrpc/auth_unix.c: Likewise. + * sunrpc/clnt_perr.c: Likewise. + * sunrpc/clnt_tcp.c: Likewise. + * sunrpc/clnt_udp.c: Likewise. + * sunrpc/clnt_unix.c: Likewise. + * sunrpc/svc_simple.c: Likewise. + * sunrpc/svc_tcp.c: Likewise. + * sunrpc/svc_udp.c: Likewise. + * sunrpc/svc_unix.c: Likewise. + * sunrpc/xdr.c: Likewise. + * sunrpc/xdr_array.c: Likewise. + * sunrpc/xdr_rec.c: Likewise. + * sunrpc/xdr_ref.c: Likewise. + * sysdeps/generic/wordexp.c: Likewise. + + * po/it.po: Update from translation team. + + * misc/err.c: Handle wide oriented stderr stream. + +2001-08-14 Tom Rix + + * iconv/gconv_cache.c (find_module): Add #ifndef STATIC_GCONV. + * iconv/Makefile: Fix gconv_cache.c CFLAGS. + +2001-08-13 Tom Rix + + * sysdeps/unix/sysv/aix/Makefile: Add rule to import kernel symbols. + * sysdeps/unix/sysv/aix/bits/types.h: Fix type of __id_t, __useconds_t + and __intptr_t. + +2001-08-15 Martin Schwidefsky + + * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S (__getcontext): + Store the access registers to the ucontext structure. + * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S (__getcontext): + Likewise. + + * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S (__setcontext): + Load the access registers from the ucontext structure. + * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S (__setcontext): + Likewise. + + * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: Adjust the SC_xxx + offsets to the new ucontext layout. + * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: Likewise. + + * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix the layout + of the ucontext structure. + * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise. + +2001-08-15 Ulrich Drepper + + * misc/error.c (error): Handle wide oriented stderr stream correctly. + (error_at_line): Likewise. + + * stdio-common/perror.c (perror): Implement according to standard. + The stream orientation must not be changed if the stream was not + oriented before the call. + * stdio-common/Makefile (tests): Add tst-perror. + * stdio-common/tst-perror.c: New file. + + +See ChangeLog.12 for earlier changes. diff --git a/ChangeLog.15 b/ChangeLog.15 index 5d9b00d42a..708e765084 100644 --- a/ChangeLog.15 +++ b/ChangeLog.15 @@ -1,4837 +1,1487 @@ -2004-12-20 Jakub Jelinek , - Jim Gifford +2004-04-19 Roland McGrath - [BZ #562] - * sysdeps/mips/Makefile (librt-sysdep_routines): Add. - * sysdeps/unix/mips/rt-sysdep.S: New file. + * rt/tst-mqueue9.c (do_test): Initialize RESULT. -2004-12-19 Roland McGrath +2004-04-19 Jakub Jelinek - * iconv/Makefile (test-iconvconfig): New target. - [$(cross-compiling) != yes] (xtests): Depend on it. + * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Change EPERM into + EACCES. + * rt/Makefile (tests): Add tst-mqueue9. + * rt/tst-mqueue9.c: New test. + * rt/tst-mqueue4.c (do_test): Add test for mq_unlink of a too long + name component. - * iconv/iconvconfig.c (nostdlib, output_file, output_file_len): - New variables. - (options, parse_opt, main): Take new options --nostdlib and - --output/-o to set them. Under --nostdlib, skip GCONV_PATH dirs. - (write_output): If output_file is set, write the output there. +2004-04-19 Ulrich Drepper -2004-12-19 Andreas Jaeger + * rt/tst-mqueue7.c (do_test): Make newargv const. - [BZ #560] - * inet/netinet/in.h: Use __interface_addr instead of __interface. +2004-04-18 Randolph Chung - [BZ #573] - * sunrpc/xcrypt.c (passwd2des_internal): Make it hidden instead of - internal linkage. + * sysdeps/hppa/elf/entry.h: New file. + * sysdeps/hppa/machine-gmon.h: New file. + * sysdeps/unix/sysv/linux/hppa/profil-counter.h: Don't use x86 version. -2004-12-19 Roland McGrath +2004-04-18 Ulrich Drepper - * version.h (VERSION): 2.3.4. - * README.template: Various updates. - * README: Regenerated. - * NEWS: Mention ports. - * README-alpha: File removed. + * sysdeps/unix/sysv/linux/powerpc/rt-sysdep.c: New file. + * sysdeps/unix/sysv/linux/powerpc/Makefile (librt-routines): Add + rt-sysdep. - [BZ #416] - * locale/langinfo.h: Comment fixes. + * rt/tst-mqueue5.c (mqsend): Don't inline. + (mqrecv): Likewise. -2004-12-17 Ulrich Drepper + * rt/tst-timer4.c: Include . - * po/ja.po: Update from translation team. +2004-04-17 Jakub Jelinek -2004-12-17 Richard Henderson + * rt/Makefile (tests): Add tst-mqueue8. + * rt/tst-mqueue8.c: New test. - * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Add support - for NPTL where the PID is stored at userlevel and needs to be - reset when CLONE_THREAD is not used. + * sysdeps/unix/sysv/linux/s390/Makefile (librt-routines): Add + rt-sysdep. + * sysdeps/unix/sysv/linux/s390/rt-sysdep.S: New file. -2004-12-17 Jakub Jelinek +2004-03-26 H.J. Lu - * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update. + * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c (__fxstat): Don't + use "struct kernel_stat". -2004-12-17 Andreas Jaeger +2004-04-02 H.J. Lu - * math/libm-test.inc (atan2_test): Compute value with 36 digits. - * sysdeps/alpha/fpu/libm-test-ulps: Adjust for changed result. - * sysdeps/powerpc/fpu/libm-test-ulps: Likewise. - * sysdeps/s390/fpu/libm-test-ulps: Likewise. - * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise. - * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + * sysdeps/ia64/memcmp.S: Fix symbol. -2004-12-16 Ulrich Drepper +2004-04-04 Carlos O'Donell - * stdlib/tst-setcontext.c: Enlarge st1 and st2 arrays. + * sysdeps/hppa/Dist: Add bits/link.h elf/entry.h. -2004-09-02 Steven Munroe + * sysdeps/hppa/bits/link.h: New file. - [BZ #610] - * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S - (__novec_getcontext): Fix typo in store of fp29. - (__getcontext): Fix typo in store of fp29. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S - (__novec_swapcontext): Fix typo in store of fp29. - (__swapcontext): Fix typo in store of fp29. + * sysdeps/hppa/dl-machine.h (__hppa_init_bootstrap_fdesc_table): + Initialze the fdesc table for the generic code. + (elf_machine_dynamic): Use asm version. + (elf_machine_load_addresss): Simplify asm by calling + elf_machine_dynamic. + (elf_machine_fixup_plt): Correct comment. + (elf_machine_profile_fixup_plt): New. + (elf_machine_runtime_setup): Check PLT exists, if lazy=1 process + normally, else relocate all the absolute entries. + (RTLD_START): Fix comments. + (TRAMPOLINE_TEMPLATE): Reformat assembly, add return pointer for + calls to profile_fixup. + (ELF_MACHINE_SIZEOF_JMP_SLOT, DL_STATIC_FUNCTION_ADDRESS, + DL_PLATFORM_INIT): Define. + (DL_FUNCTION_ADDRESS): Remove. + (dl_platform_init): New. + (elf_machine_rela): Use generic fdesc code, and process all COPY + relocations. Use __attribute__((always_inline)). + (elf_machine_rela_relative): Add sanity checks, remove IPLT + processing, print error message in default case. Use + __attribute__((always_inline)). + (elf_machine_lazy_rel): Use __attribute__((always_inline)). -2004-12-17 GOTO Masanori +2004-04-05 Carlos O'Donell - * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Fix - vague message. + * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Use only sw[0] + and call feraiseexcept. -2004-12-16 Roland McGrath +2003-11-15 Randolph Chung - * nscd/Makefile ($(objpfx)nscd): Don't depend on $(selinux-LIBS), - which is usually a -lselinux that make will resolve wrongly. + * gmon/gmon.c (__monstartup): Round kcountsize to multiples of + the froms[] array so the array is properly aligned. -2004-12-16 Andreas Jaeger +2004-04-05 H.J. Lu - * math/math.h: Use #if defined to not receive warnings about - undefined symbols. + * Makeconfig (libgcc_eh): Add -Wl,. -2004-12-16 Jakub Jelinek + * configure.in: Add -lgcc_s for --as-needed check. - * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Add support - for NPTL where the PID is stored at userlevel and needs to be reset - when CLONE_THREAD is not used. +2004-04-16 Kaz Kojima - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h - (SYSCALL_ERROR_HANDLER): If RTLD_PRIVATE_ERRNO, use rtld_errno - instead of errno. - * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Include - sysdep-cancel.h instead of sysdep.h. Handle cancellation. - * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Regenerate. + * sysdeps/sh/elf/configure.in: New file. - * sysdeps/ieee754/ldbl-128/e_expl.c: Include stdlib.h. +2004-04-17 Ulrich Drepper -2004-12-15 Jakub Jelinek + * iconvdata/gconv-modules: Add PT154 and RK1048 entries. + * iconvdata/tst-tables.sh: Add PT154 and RK1048. + * iconvdata/Makefile (modules): Add PT154 anhd RK1048. + (distribute): Add pt154.c and rk1048.c. + (gen-8bit-gap-modules): Add pt154 and rk1048. + * icondata/pt154.c: New file. + * iconvdata/rk1048.c: New file. - * sysdeps/unix/sysv/linux/gethostid.c: Make bi-arch safe. + * rt/tst-timer4.c: Disable some tests, mark errors better. -2004-12-15 Steven Munroe +2004-04-16 Ulrich Drepper - * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Correct stack - alignment. Clean up flag bit tests. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Correct stack - alignment. Clean up flag bit tests. Remove redundent SP assignment. - Add TOC register save/restore around function call. + * rt/tst-mqueue6.c (mqsend): Don't inline. + (mqrecv): Likewise. - * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Make no_vmx symbol - local. - * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Make no_vmx symbol - local. - * sysdeps/powerpc/powerpc64/__longjmp-common.S: Make no_vmx symbol - local. - * sysdeps/powerpc/powerpc64/setjmp-common.S: Make no_vmx and - aligned_save_vmx symbol local. + * rt/tst-mqueue3.c (do_test): Cope with kernel without mq support. -2004-12-15 Ulrich Drepper + * sysdeps/ieee754/bits/nan.h (__nan_union): Add __attribute_used__ + attribute to keep gcc quiet. - * sysdeps/i386/i486/bits/string.h (__strncat_g): Fix i686 - implementation. +2004-04-16 Jakub Jelinek -2004-09-08 H.J. Lu + * misc/syslog.c (vsyslog): Avoid freeing failbuf. - * Makeconfig (libunwind): New. - (libgcc_eh): Add $(libunwind). - (gnulib): Always set to -lgcc $(libgcc_eh). - (static-gnulib): Always set to -lgcc -lgcc_eh $(libunwind). - (libc.so-gnulib): New. - * Makerules (LDLIBS-c.so): Use $(libc.so-gnulib) instead of - $(static-gnulib). - * configure.in (libc_cv_cc_with_libunwind): Set to yes if gcc - uses -lunwind for static binaries. +2004-04-15 Jakub Jelinek -2004-06-05 Joseph S. Myers + * rt/Makefile (tests): Add tst-timer4. + * rt/tst-timer4.c: New test. - * malloc/Makefile (install-bin): Remove memusage. - (install-bin-script): Add memusage. +2004-04-15 Jakub Jelinek -2004-12-15 Jakub Jelinek + * rt/tst-mqueue5.c (rtmin_code): New variable. + (rtmin_handler): Set it. + (thr, do_child, do_test): Also check rtmin_code. - * nis/nis_domain_of_r.c (nis_domain_of_r): Use libnsl_hidden_def, - not libnsl_hidden_proto. +2004-04-14 Jakub Jelinek - * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Add support - for NPTL where the PID is stored at userlevel and needs to be reset - when CLONE_THREAD is not used. - * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise. + * rt/Makefile (tests): Add tst-mqueue7. + (tst-mqueue7-ARGS): Set. + * rt/tst-mqueue7.c: New test. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone): Save - and restore r2 around call to fn. +2004-04-13 Jakub Jelinek -2004-12-15 Andreas Jaeger + * rt/Makefile (tests): Add tst-mqueue5 and tst-mqueue6. + * rt/tst-mqueue1.c (do_one_test): Bitwise or check_attrs () into + result instead of replacing it. Use TEMP_FAILURE_RETRY around + waitpid, kill child if waitpid failed. + (do_test): Bitwise or check_attrs () into result instead of replacing + it. Change temp mq name. + * rt/tst-mqueue5.c: New test. + * rt/tst-mqueue6.c: New test. + * rt/tst-mqueue.h: Include stdio.h, unistd.h, sys/uio.h. + (temp_mq_list, delete_temp_mqs): Remove. + (temp_mq_fd): New variable. + (do_cleanup, do_prepare): New functions. + (add_temp_mq): Rewritten to use a temp file. + (PREPARE): Define. + (CLEANUP_HANDLER): Change to do_cleanup (). + + * rt/tst-timer3.c: Don't fail if _POSIX_THREADS is not available. - * sysdeps/ia64/dl-machine.h (elf_machine_rela): Mark auto instead - of static, add always_inline attribute. - (elf_machine_rela_relative): Likewise. - (elf_machine_lazy_rel): Likewise. +2004-04-13 Thorsten Kukuk -2004-12-15 Ulrich Drepper + * sysdeps/s390/ffs.c: Include limits.h - * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Add support - for pid caching in nptl. +2004-04-13 Kaz Kojima -2004-12-14 Ulrich Drepper + * sysdeps/unix/sysv/linux/sh/sysdep.h (SUBSTITUTE_ARGS_1, + SUBSTITUTE_ARGS_2, SUBSTITUTE_ARGS_3, SUBSTITUTE_ARGS_4, + SUBSTITUTE_ARGS_5, SUBSTITUTE_ARGS_6, SUBSTITUTE_ARGS_7): Load + argument values into temporary variables. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Add support - for pid caching in nptl. +2004-04-15 Atsushi Nemoto -2004-10-18 Maciej W. Rozycki + * sysdeps/mips/dl-machine.h (RTLD_START): Do not use nested .end. - * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Use - __NTH instead of __THROW in the inline definition. - * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Likewise. +2004-04-12 Ulrich Drepper - * sysdeps/mips/bits/dlfcn.h (RTLD_DEEPBIND): New macro. + * rt/Makefile (tests): Add tst-timer3. + * rt/tst-timer3.c: New file. By Roland McGrath. - * sysdeps/unix/sysv/linux/mips/bits/mman.h - (PROT_GROWSDOWN, PROT_GROWSUP): New macros. +2004-04-08 Ulrich Drepper -2004-10-06 Alan Modra + * rt/tst-mqueue3.c: New file. + * rt/Makefile (tests): Add tst-mqueue3. - * sysdeps/powerpc/powerpc64/ppc-mcount.S (PROF): Don't undef. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Invoke CALL_MOUNT. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise. +2004-04-08 Jakub Jelinek -2004-10-19 Wolfram Gloger + * rt/tst-mqueue1.c: New file. + * rt/tst-mqueue2.c: New file. + * rt/tst-mqueue4.c: New file. + * rt/Makefile (tests): Add tst-mqueue1, tst-mqueue2, tst-mqueue4. - * malloc/hooks.c (mem2chunk_check, top_check): Handle - non-contiguous arena. Reported by Michael Dalton - [BZ #457]. Add further checks for top chunk. - -2004-12-14 Jakub Jelinek - - * sysdeps/posix/sysconf.c (__sysconf_check_spec): Remove leading - underscore from GETCONF_DIR filenames. - -2004-12-13 Ulrich Drepper - - * po/de.po: Update from translation team. - - * nss/getnssent.c (__nss_getent): Double buffer size each round to - avoid problems with delays for some people's huge entries. - * nss/getXXbyYY.c (FUNCTION_NAME): Likewise. - -2004-12-13 Jakub Jelinek - - * posix/getconf.c (main): Prepend just $GETCONF_DIR/ instead of - $GETCONF_DIR/_ to spec. - * posix/confstr.c (confstr): Remove leading underscores for - _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS. - -2004-12-12 Ulrich Drepper - - * elf/dl-load.c (_dl_map_object_from_fd): Fix computation of - mapping start. It must take the actual pagesize into account, not - the alignment in the file. - -2004-12-11 Ulrich Drepper - - * malloc/malloc.c (_int_realloc): Add checks for corrupted memory. - (_int_free): Make clear message are result of free() calls. - - * malloc/malloc.c (_int_realloc): Remove unnecessary tests for - oldmem and size == 0. - -2004-12-10 Ulrich Drepper - - * malloc/arena.c (arena_get2): Prevent endless loop if arenas and - list lock are taken. - -2004-12-08 Thorsten Kukuk - - * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r): - Add check if the value is not an empty string. [BZ #597] - -2004-11-29 Jakub Jelinek - - * stdlib/strtod_l.c (INTERNAL (__STRTOF)): If densize > 2 - and numsize < densize, always shift num up by empty + 1 limbs. - -2004-12-07 Paolo Bonzini - - * posix/regexec.c (proceed_next_node): Simplify treatment of epsilon - nodes. Pass the pushed node to push_fail_stack. - (push_fail_stack): Accept a single node rather than an array - of two epsilon destinations. - (build_sifted_states): Only walk non-epsilon nodes. - (check_arrival): Don't pass epsilon nodes to - check_arrival_add_next_nodes. - (check_arrival_add_next_nodes) [DEBUG]: Abort if an epsilon node is - found. - (check_node_accept): Do expensive checks later. - (add_epsilon_src_nodes): Cache result of merging the inveclosures. - * posix/regex_internal.h (re_dfastate_t): Add non_eps_nodes and - inveclosure. - (re_string_elem_size_at, re_string_char_size_at, re_string_wchar_at, - re_string_context_at, re_string_peek_byte_case, - re_string_fetch_byte_case, re_node_set_compare, re_node_set_contains): - Declare as pure. - * posix/regex_internal.c (create_newstate_common): Remove. - (register_state): Move part of it here. Initialize non_eps_nodes. - (free_state): Free inveclosure and non_eps_nodes. - (create_cd_newstate, create_ci_newstate): Allocate the new - re_dfastate_t here. - -2004-12-09 Ulrich Drepper - - * malloc/malloc.c (public_rEALLOc): Add parameter checks. - (_int_free): Provide better error message for invalid pointers. - -2004-12-01 Jakub Jelinek - - * posix/tst-regex.c: Use defined _POSIX_CPUTIME && _POSIX_CPUTIME >= 0 - conditionals instead of defined _POSIX_CPUTIME. - (main): If _POSIX_CPUTIME == 0, call sysconf to see if CPUTIME - option is available. - * posix/tst-regex.c2: Use defined _POSIX_CPUTIME && _POSIX_CPUTIME >= 0 - conditionals instead of defined _POSIX_CPUTIME. - (do_test): If _POSIX_CPUTIME == 0, call sysconf to see if CPUTIME - option is available. - * sysdeps/posix/sysconf.c (__sysconf): If _POSIX_CPUTIME resp. - _POSIX_THREAD_CPUTIME is defined to 0, return -1 for the corresponding - _SC_ argument. - -2004-12-08 Jakub Jelinek - - * elf/ldd.bash.in: When set -o pipefail is available, use that for - piping to cat; when not, don't use the pipe at all. - Pipe to cat in all cases of running the executable. - When direct running exits with code 5, retry running via ${RTLD}. - * elf/rtld.c (process_envvars): If __libc_enable_secure and - mode != normal, exit with exitcode 5. - -2004-12-07 Jakub Jelinek - - * sysdeps/posix/sysconf.c (__sysconf_check_spec): Only define - if it will be actually used. - -2004-12-07 Roland McGrath - - * rt/tst-timer5.c (setup_test): New function. - (TEST_CLOCK_MISSING): Use it to punt test if timer_create does not - support CLOCK_MONOTONIC. - -2004-12-07 Jakub Jelinek - - * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Add support for - NPTL where the PID is stored at userlevel and needs to be reset when - CLONE_THREAD is not used. Restore gp before calling _exit. - -2004-12-07 Kaz Kojima - - * sysdeps/unix/sysv/linux/sh/clone.S: Clear the frame pointer when - starting a new thread. Add support for NPTL where the PID is stored - at userlevel and needs to be reset when CLONE_THREAD is not used. - -2004-12-01 Jakub Jelinek - - * elf/rtld.c (process_envvars): Don't consider LD_SHOW_AUXV - and LD_DYNAMIC_WEAK if __libc_enable_secure. - If __libc_enable_secure, /etc/suid-debug doesn't exist and - program will be actually run, turn off all debugging. - * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add LD_DEBUG, - LD_DYNAMIC_WEAK and LD_SHOW_AUXV. - -2004-12-06 Jakub Jelinek - - * time/tzset.c (tzset_internal): If + or - is seen, - but no offset after it, reset offset to 0. [BZ #601] - -2004-12-06 Ulrich Drepper - - * libio/ioseekpos.c (_IO_seekpos_unlocked): Call _IO_SEEKOFF not - _IO_SEEKPOS, saving one indirect jump. - - * libio/fileops.c (_IO_new_file_seekoff): Fix optimization of in-buffer - seek. Remove dead code. - -2004-12-02 Jakub Jelinek - - * libio/Makefile (tests): Add bug-ungetc4. - * libio/bug-ungetc4.c: New test. - -2004-12-06 Roland McGrath - - * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Diagnose EINVAL - for CLOCK_THREAD_CPUTIME_ID, not ENOTSUP. - Use SYSDEP_NANOSLEEP handler before validating CLOCK_ID value. - - * rt/tst-timer4.c (TEST_CLOCK, TEST_CLOCK_NANOSLEEP): New macros. - Use them throughout in place of CLOCK_REALTIME and nanosleep. - (do_test) [TEST_CLOCK_MISSING]: Call this macro and if it returns - non-null, punt the test with a message using the string returned. - * rt/tst-timer5.c: New file. - * rt/Makefile (tests): Add it. - -2004-12-01 Paolo Bonzini - - * posix/regcomp.c (free_dfa_content, init_dfa): Remove - references to re_dfa_t's subexps field. - (parse_sub_exp, parse_expression): Do not use it. Use - completed_bkref_map instead. - (create_initial_state, peek_token): Store a backreference \N - with opr.idx = N-1. - * posix/regexec.c (proceed_next_node, check_dst_limits, get_subexp): - Likewise. - (check_subexp_limits): Remove useless condition. - * posix/regex_internal.h (re_subexp_t): Remove. - (re_dfa_t): Remove subexps and subexps_alloc field, add - completed_bkref_map. - -2004-12-05 Roland McGrath - - * Makeconfig: Comment typo fix. - -2004-11-30 Andreas Schwab - - * nis/ypclnt.c (ypprot_err): Remove unused entries. - -2004-11-30 Paolo Bonzini - - * posix/regexec.c (check_dst_limits_calc_pos_1): Check for - bkref_idx == -1, and don't recurse in that case. - -2004-11-30 GOTO Masanori - - * posix/confstr.c: Enclose #error message with double quote - for gcc-3.3 and lower. - -2004-12-04 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/clone.S: Add support for NPTL where - the PID is stored at userlevel and needs to be reset when CLONE_THREAD - is not used. - * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise. - -2004-11-18 Daniel Jacobowitz - - * sysdeps/arm/sysdep.h: Define __USE_BX__ if bx is available. - Use it instead of __THUMB_INTERWORK__. Make RETINSTR take - only a condition and a register. - * sysdeps/arm/dl-machine.h: Use __USE_BX__ instead of - __THUMB_INTERWORK__. - (_dl_start_user): Use BX. - * sysdeps/arm/strlen.S: Use DO_RET. - * sysdeps/unix/arm/brk.S: Likewise. - * sysdeps/unix/arm/fork.S: Likewise. - * sysdeps/unix/arm/sysdep.S: Likewise. - * sysdeps/unix/arm/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/arm/clone.S: Update uses of RETINSTR. - * sysdeps/unix/sysv/linux/arm/mmap.S: Likewise. - * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise. - * sysdeps/unix/sysv/linux/arm/socket.S: Likewise. - * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise. - -2004-12-02 Roland McGrath - - * extra-lib.mk (object-suffixes-$(lib)): Add .oS when - $(lib)-static-only-routines is nonempty. - (extra-objs, o-iterator.mk rule): Filter out .oS from generators. - Add a special rule for .oS objects -> _nonshared.a library. - -2004-12-01 Jakub Jelinek - - * time/mktime.c (__mktime_internal): If SEC_REQUESTED != SEC, - convert T2, not T. - * time/Makefile (tests): Add tst-mktime3. - * time/tst-mktime3.c: New test. - -2004-12-01 Jakub Jelinek - - * stdlib/stdlib.h (realpath): Remove nonnull attribute. - - * posix/fnmatch_loop.c (internal_fnmatch): Clear is_seqval after - normal_bracket label. - - * time/tst-mktime2.c (bigtime_test): Initialize tm.tm_isdst to -1. - -2004-12-01 Roland McGrath - - * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): - Do $(make-target-directory). - -2004-11-29 Roland McGrath - - * posix/confstr.c: Avoid punctuation in #error text. - -2004-11-27 Ulrich Drepper - - * posix/Makefile (tests): Add tst-sysconf. - * posix/tst-sysconf.c: New file. - - * posix/getconf.c (vars): Add support for _SC_IPV6 and - _SC_RAW_SOCKETS. - * sysdeps/posix/sysconf.c (__sysconf): Add support for _SC_IPV6 - and _SC_RAW_SOCKETS. - * sysdeps/generic/bits/confname.h: Define _SC_IPV6 and - _SC_RAW_SOCKETS. - -2004-11-26 Jakub Jelinek - - * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add GETCONF_DIR. - -2004-11-26 Kaz Kojima - - * sysdeps/unix/sysv/linux/mips/pread.c: Include sgidefs.h only if - NO_SGIDEFS_H isn't defined. Don't include sgidefs.h twice. - * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. - -2004-11-27 Ulrich Drepper - - * include/dlfcn.h (__libc_dlopen): Add __RTLD_DLOPEN to the mode - parameter. Reported by VY Newsum . - -2004-11-10 Daniel Jacobowitz - - * libio/iolibio.h (_IO_fclose, _IO_new_fclose, _IO_old_fclose, - _IO_fflush, _IO_fgetpos, _IO_fgetpos64, _IO_fgets, _IO_fopen, - _IO_old_fopen, _IO_new_fopen, _IO_fopen64, __fopen_internal, - _IO_fprintf, _IO_fputs, _IO_fsetpos, _IO_fsetpos64, _IO_ftell, - _IO_fread, _IO_fwrite, _IO_gets, _IO_printf, _IO_puts, _IO_scanf, - _IO_fflush_internal, _IO_ftell_internal, _IO_fputs_internal) - _IO_fwrite_internal): Remove incorrect __THROW. - * libio/libioP.h (_IO_default_xsputn, _IO_wdefault_xsputn, - _IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_default_write, - _IO_default_read, _IO_getline, _IO_getline_info, _IO_getwline, - _IO_getwline_info, _IO_file_read_internal, _IO_sgetn_internal, - _IO_wdo_write_internal, _IO_do_write_internal, - _IO_getline_info_internal, _IO_getline_internal, - _IO_vfprintf_internal, _IO_putc_internal, _IO_read, _IO_write, - _IO_close): Likewise. - -2004-11-26 Jakub Jelinek - - * posix/Makefile (install-others): Add $(inst_libexecdir)/getconf. - (CFLAGS-sysconf.c): Add -D_GETCONF_DIR. - (CFLAGS-getconf.c): New. - ($(inst_libexecdir)/getconf): New. - * posix/confstr.c (confstr): Use __sysconf to query specifications - that don't have _POSIX_V6_* macros defined. Use __*_{C,LD}FLAGS - macros defined in bits/environments.h. - * sysdeps/posix/sysconf.c: Include stdlib.h, string.h and - sys/stat.h. - (__sysconf_check_spec): New routine. - (__sysconf): Use it. - * posix/getconf.c (specs): Change into structure array. - (main): If -v is not given, try to get default from - $(libexecdir)/getconf/default. If specification is not - supported by this getconf, try to execute - $(libexecdir)/getconf/$(specification). - * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: New file. - * sysdeps/unix/sysv/linux/s390/bits/environments.h: New file. - * sysdeps/unix/sysv/linux/powerpc/bits/environments.h: New file. - * sysdeps/unix/sysv/linux/sparc/bits/environments.h: New file. - * sysdeps/unix/sysv/linux/i386/bits/environments.h: New file. - * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: New file. - * sysdeps/generic/bits/environments.h (__ILP32_OFFBIG_CFLAGS): - Define. - - * stdlib/stdlib.h (setenv): Use nonnull only for second argument. - (unsetenv): Remove. - -2004-11-23 Paolo Bonzini - - * posix/regcomp.c (analyze_tree): Always call calc_epsdest. - (calc_inveclosure): Use re_node_set_insert_last. - (parse_dup_op): Lower X{1,5} to (X(X(X(XX?)?)?)?)? - rather than X?X?X?X?X?. - * posix/regex_internal.h (re_node_set_insert_last): New declaration. - * posix/regex_internal.c (re_node_set_insert_last): New function. - * posix/PCRE.tests: Add testcases. - -2004-11-25 Ulrich Drepper - - * dlfcn/dlfcn.h: Remove nonnull attribute from dlopen. - - * posix/confstr.c (confstr): Return appropriate strings for - _CS_LFS_LINTFLAGS, _CS_LFS64_CFLAGS, and _CS_LFS64_LINTFLAGS. - -2004-11-05 Maciej W. Rozycki - - * sysdeps/mips/dl-machine.h: Include . Use _ABIO32, - _ABIN32 and _ABI64 for ABI selection throughout. - * sysdeps/mips/elf/start.S: Likewise. - * sysdeps/mips/mips64/__longjmp.c: Likewise. - * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise. - * sysdeps/mips/mips64/bsd-setjmp.S: Likewise. - * sysdeps/mips/mips64/setjmp.S: Likewise. - * sysdeps/mips/mips64/setjmp_aux.c: Likewise. - * sysdeps/mips/sys/regdef.h: Likewise. - * sysdeps/mips/sys/ucontext.h: Likewise. - * sysdeps/unix/mips/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/kernel-features.h: Likewise. - * sysdeps/unix/sysv/linux/mips/pread.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/ptrace.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise. - * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise. - - * sysdeps/mips/atomicity.h: Use _ABIO32, _ABIN32 and _ABI64 for - ABI selection throughout. - * sysdeps/mips/bits/setjmp.h: Likewise. - * sysdeps/mips/fpu/bits/mathdef.h: Likewise. - * sysdeps/mips/machine-gmon.h: Likewise. - * sysdeps/mips/sys/asm.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise. - * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise. - * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Likewise. - * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise. - * sysdeps/unix/sysv/linux/mips/sys/user.h: Likewise. - - * sysdeps/mips/sgidefs.h: Prevent from being - included by kernel headers and undo its settings if already - included. Define _ABIO32, _ABIN32 and _ABI64 if missing and use - them to define _MIPS_SIM_ABI32, _MIPS_SIM_NABI32 and - _MIPS_SIM_ABI64 for compatibility. - * sysdeps/unix/sysv/linux/mips/Makefile: Use _ABIO32, _ABIN32 and - _ABI64 for ABI selection in generated syscall-list.h - * sysdeps/unix/sysv/linux/mips/configure.in: Use _ABIO32, _ABIN32 - and _ABI64 for ABI selection in generated asm-unistd.h. - * sysdeps/unix/sysv/linux/mips/configure: Regenerate. - - * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Correct - an inverted _MIPS_SIM conditional. - -2004-11-23 Alexandre Oliva - - * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Use free - range even if it doesn't match exactly. - -2004-11-23 Jakub Jelinek - - * nss/nss_files/files-XXX.c (internal_getent): If parse_line returned - -1, also do H_ERRNO_SET (NETDB_INTERNAL). - -2004-11-22 Ulrich Drepper - - * sysdeps/i386/fpu_control.h: Add volatile to the asms. - Patch by Alexander Stohr. - -2004-11-22 Jakub Jelinek - - * nscd/nscd_getai (__nscd_getai): Avoid memory and file descriptor - leaks. - * sysdeps/posix/getaddrinfo.c (gaih_inet): Free air. - -2004-11-15 Maciej W. Rozycki - - * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (__SI_MAX_SIZE): - Define appropriately based on __WORDSIZE. - [struct siginfo] (__pad0): Add for explicit padding. - - * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Formatting fixes - throughout. - -2004-11-22 Ulrich Drepper - - * dirent/dirent.h: Add nonnull attributes. - * dlfcn/dlfcn.h: Likewise. - -2004-11-20 Jakub Jelinek - - * sysdeps/ieee754/k_standard.c: Document code 50. - (__kernel_standard) : Avoid raising div-by-zero - exception again. - -2004-11-19 H.J. Lu - - [BZ #552] - * math/libm-test.inc (tgamma_test): Update tgamma (0) and - tgamma (-0). - * sysdeps/generic/w_tgamma.c (__tgamma): Properly handle |x| == 0. - * sysdeps/generic/w_tgammaf.c (__tgammaf): Likewise. - * sysdeps/generic/w_tgammal.c (__tgammal): Likewise. - * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise. - * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise. - * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle - tgamma (0) and tgamma (-0). - -2004-11-20 Ulrich Drepper - - * time/tzfile.c (__tzfile_read): Avoid open for checking whether - the file we already use changed. - - * misc/syslog.c: Remove !USE_IN_LIBIO code. - -2004-11-20 Jakub Jelinek - - * signal/signal.h (__sysv_signal, sysv_signal, signal, bsd_signal, - ssignal): Remove __nonnull attribute. - -2004-11-20 Kaz Kojima - - * sysdeps/unix/sysv/linux/sh/sys/procfs.h: New file. - -2004-11-20 Ulrich Drepper - - * signal/signal.h: Add nonnull attributes. - - * signal/signal.h: Add deprecated attributes to sigstack, - sigpause, sigblock, sigsetmask, siggetmask. - -2004-11-20 Jakub Jelinek - - * sysdeps/unix/sysv/linux/bits/socket.h (SCM_RIGHTS): Avoid - comma at the end of enum if __USE_BSD is not defined. - -2004-11-19 Ulrich Drepper - - * malloc/malloc.c (_int_malloc): Check for corruption of chunk - which is about to be returned. - - * malloc/malloc.c (_int_free): Add a few more cheap tests for - corruption. - -2004-11-17 Randolph Chung - - * sysdeps/hppa/dl-machine.h (TRAMPOLINE_TEMPLATE): Add unwind - annotations. - -2004-11-18 Jakub Jelinek - - [BZ #544] - * posix/regex.h (RE_NO_SUB): New define. - * posix/regex_internal.h (OP_DELETED_SUBEXP): New. - (re_dfa_t): Add subexp_map. - * posix/regcomp.c (struct subexp_optimize): New type. - (optimize_subexps): New routine. - (re_compile_internal): Call it. - (re_compile_pattern): Set preg->no_sub to 1 if RE_NO_SUB. - (free_dfa_content): Free subexp_map. - (calc_inveclosure, calc_eclosure): Skip OP_DELETED_SUBEXP nodes. - * posix/regexec.c (re_search_internal): If subexp_map - is not NULL, duplicate registers as needed. - * posix/Makefile: Add rules to build and run tst-regex2. - * posix/tst-regex2.c: New test. - * posix/rxspencer/tests: Fix last two tests (\0 -> \1). - Add some new tests for nested subexpressions. - -2004-11-18 Ulrich Drepper - - * libio/libio.h (_IO_FLAGS2_FORTIFY): Renamed from - _IO_FLAGS2_CHECK_PERCENT_N. - * debug/fprintf_chk.c: Adjust all users. - * debug/printf_chk.c: Likewise. - * debug/vfprintf_chk.c: Likewise. - * debug/vprintf_chk.c: Likewise. - * debug/vsnprintf_chk.c: Likewise. - * debug/vsprintf_chk.c: Likewise. - * stdio-common/vfprintf.c: Likewise. Detect missing %N$ formats. - * debug/tst-chk1.c: Test detection of missing %N$ formats. - -2004-11-15 Jakub Jelinek - - * posix/bug-regex24.c: Include string.h. - - * nis/nis_clone_obj.c (nis_clone_object): Rename out3 label to out2 - and out2 to out. Remove out label. Formatting. - -2004-11-15 Ulrich Drepper - - * include/stdio.h: Do not mark __libc_message as noreturn. - * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_fatal): Add loop to - fool gcc. Include . - * sysdeps/posix/libc_fatal.c (__libc_fatal): Add loop to fool gcc. - (__libc_message): Fix typo. - -2004-11-13 Ulrich Drepper - - * malloc/malloc.c (malloc_state): stat_lock_* elements need only - be defined if THREAD_STATS is defined. Remove pad0_ since it does - not align with cache line sizes in general anyway. - -2004-11-13 Jakub Jelinek - - * elf/rtld.c (print_statistics): Avoid segfaults if not all namespaces - are used. Fix computation of num_relative_relocations on RELA - architectures other than IA-64 and Alpha. - -2004-11-13 Ulrich Drepper - - * malloc/malloc.c (_int_free): Use munmap_chunk for handling - mmaped memory. - -2004-11-12 Ulrich Drepper - - * malloc/malloc.c (_int_free): Remove test for NULL parameter. - (_int_realloc): Call _int_free only if memory parameter is not NULL. - - * sysdeps/unix/sysv/linux/libc_fatal.c: Add new function __libc_message - which performs the printing and simple format string handling. The - string is written to tty, stderr, syslog in this order, stopping after - the first successful output. - (__libc_fatal): Call __libc_message. - * include/stdio.h: Declare __libc_message. - * malloc/malloc.c (malloc_printerr): Use __libc_message. - * debug/chk_fail.c: Also print message with __libc_message. - * debug/test-strcpy_chk.c: Ensure that debug messages are not printed - to the terminal or stderr. - * debug/tst-chk1.c: Likewise. - - * posix/Makefile: Remove gpl2lgpl variable. - -2004-11-12 Martin Schwidefsky - - * elf/elf.h: Add 20 bit relocations R_390_*20. - -2004-11-12 Jakub Jelinek - - * sysdeps/unix/sysv/linux/i386/setuid.c: Include linux/posix_types.h. - * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise. - -2004-11-12 Andreas Schwab - - * nis/ypclnt.c (ypprot_err): Fix "minor optimizations". - -2004-11-12 Ulrich Drepper - - * posix/Makefile (tests): Add bug-regex24. - * posix/bug-regex24.c: New file. - -2004-11-12 Paolo Bonzini - - * posix/regexec.c (check_dst_limits_calc_pos_1): Use the map to - cut recursive paths. Make exit condition more precise. - (match_ctx_add_entry): Initialize the map. - * posix/regex_internal.h (struct re_backref_cache_entry): Add a map of - reachable subexpression nodes from each backreference cache entry. - -2004-11-10 Jakub Jelinek - - * sysdeps/unix/sysv/linux/setreuid.c: Remove sys/syscall.h, - sys/types.h, linux/posix_types.h, sysdep.h and pthread-functions.h - includes. Include setxid.h. Use INLINE_SETXID_SYSCALL macro - instead of INLINE_SYSCALL, kill the HAVE_PTR__NPTL_SETXID guarded - snippets. - * sysdeps/unix/sysv/linux/setegid.c: Likewise. - * sysdeps/unix/sysv/linux/setuid.c: Likewise. - * sysdeps/unix/sysv/linux/seteuid.c: Likewise. - * sysdeps/unix/sysv/linux/setgid.c: Likewise. - * sysdeps/unix/sysv/linux/setresuid.c: Likewise. - * sysdeps/unix/sysv/linux/setresgid.c: Likewise. - * sysdeps/unix/sysv/linux/setregid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/setreuid.c: Likewise. - Formatting. Change signed int into int. - * sysdeps/unix/sysv/linux/alpha/setresuid.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/setresgid.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/setregid.c: Likewise. - * sysdeps/unix/sysv/linux/syscalls.list (setresuid, setresgid): - Remove. - * sysdeps/unix/setxid.h: New file. - - * Rules (binaries-static): Add xtests-static. - * Makeconfig (run-program-prefix): Filter also xtests-static. - -2004-11-09 Paul Eggert since it is marked as an obsolescent - interface. Include , , and instead. - (TYPE_BITS, TYPE_FLOATING, TYPE_SIGNED): New macros. - (subtract): New static function, that works correctly without - double-rounding, even on hosts with 64-bit time_t. Also cater - to hosts with padding bits. - (__difftime): Use it. Use DBL_MANT_DIG and LDBL_MANT_DIG to - determine whether floating types are wide enough: the old - test (which used sizeof) could in theory report the wrong results - on hosts with padding bits in floating-point values. - -2004-11-11 Simon Josefsson - - [BZ #542] - * sysdeps/generic/strtok_r.c [HAVE_CONFIG_H]: Include config.h. - [!_LIBC]: Include strtok_r.h (in gnulib), map __strtok_r to - strtok_r and __rawmemchr to strch. - (__strtok_r): Use C89 prototype. - [weak_alias]: Move calls to libc_hidden_def and weak_alias into - this #ifdef. - -2004-11-10 Paul Eggert - - [BZ #541] - * time/mktime.c (SHR): New macro, which is a portable - substitute for >> that should work even on Crays. - (TIME_T_MIDPOINT, ydhms_diff, __mktime_internal): Use it. - Problem reported by Mark D. Baushke in - . - -2004-11-09 Paolo Bonzini - - * posix/regexec.c (match_ctx_free_subtops): Remove, merge into... - (match_ctx_clean): ... this function. - (match_ctx_free): Call match_ctx_clean. - - * posix/regexec.c (transit_state): Remove the check for - out-of-bounds buffers. - (check_matching): Check here for out-of-bounds buffers. - (re_search_internal): Store into match_kind a set of bits - indicating which incantation of fastmap scanning must be - used. Use a switch statement instead of multiple ifs. - Exit the final "for (;;)" with goto free_return unless - the match succeeded, thus simplifying some conditionals. - - * posix/regex_internal.c (re_string_reconstruct, - re_string_context_at): Add several branch predictions for - case-sensitive matching and no transition table being used. - -2004-11-10 Ulrich Drepper - - * posix/tst-waitid.c: Don't use error to print error message, they - won't end up in the .out file. - -2004-11-09 Ulrich Drepper - - * nscd/nscd-client.h (libc_locked_map_ptr): Add new first - parameter, used as class for definition. - * nscd/nscd_getpw_r.c: Adjust for libc_locked_map_ptr change. - (pw_map_free): Ensure no crash after memory is freed. - * nscd/nscd_getgr_r.c: Likewise. Make map externally visible. - * nscd/nscd_gethst_r.c: Likewise. - * nscd/nscd_getai.c: Use map from nscd_gethost.c. - * nscd/nscd_initgroups.c: Use map from nscd_getgr.c. - - * nscd/nscd_getai.c: Add some checks to detect corrupt databases. - * nscd/nscd_getgr_r.c: Likewise - * nscd/nscd_gethst_r.c: Likewise. - * nscd/nscd_getpw_r.c: Likewise - -2004-11-09 Jakub Jelinek - - * posix/regcomp.c (calc_eclosure_iter): Don't access - dfa->edests[node].elems[0] if dfa->edests[node].nelem == 0. - * posix/rxspencer/tests: Add 5 new tests. - -2004-11-09 Ulrich Drepper - - * sysdeps/unix/sysv/linux/ifaddrs.c: Determine sin6_scope_id field - value correctly. Patch by Mitsuru Kanda . - -2004-11-04 Jakub Jelinek - - * libio/fileops.c (_IO_new_file_seekoff): If mode is 0 and - fp->_offset == _IO_pos_BAD, just call _IO_SYSSEEK (fp, 0, dir) - and if successful set fp->_offset. - * libio/Makefile (tests): Add bug-ungetc3. - * libio/bug-ungetc3.c: New test. - -2004-11-03 Marcus Brinkmann - - * sysdeps/gnu/_G_config.h (_G_HAVE_MREMAP): Define symbol. - * sysdeps/mach/hurd/_G_config.h: New file. - * libio/fileops.c (mmap_remap_check) [__linux__]: Replaced with - [_G_HAVE_MREMAP]. - -2004-11-08 Ulrich Drepper - - * posix/regcomp.c (utf8_sb_map): Define. - (free_dfa_content): Don't free dfa->sb_char if it's a pointer to - utf8_sb_map. - (init_dfa): Use utf8_sb_map instead of initializing memory when the - encoding is UTF-8. - -2004-11-03 Paolo Bonzini - - * posix/regcomp.c (init_dfa): Get the codeset name outside glibc as - well. Check if it is spelled UTF8 as well as UTF-8, and check - case-insensitively. Set dfa->map_notascii manually when outside - glibc. - * posix/regex_internal.c (build_wcs_upper_buffer) [!_LIBC]: Enable - optimizations based on map_notascii. - * posix/regex_internal.h [HAVE_LANGINFO_H || HAVE_LANGINFO_CODESET - || _LIBC]: Include langinfo.h. - - * posix/regex_internal.h (struct re_backref_cache_entry): Add "more" - field. - * posix/regexec.c (check_dst_limits): Hoist computation of the source - and destination bkref_idx out of the loop. Pass it to - check_dst_limits_calc_pos. - (check_dst_limits_calc_pos_1): New function, containing the recursive - loop of check_dst_limits_calc_pos; uses the "more" field of - struct re_backref_cache to control the loop. - (check_dst_limits_calc_pos): Store into "boundaries" the position - relative to lim's start and end positions. Do not accept eclosures, - accept bkref_idx instead. Call check_dst_limits_calc_pos_1 to do the - work. - (sift_states_bkref): Use the "more" field of struct re_backref_cache - to control the loop. A big "if" was turned into a continue and the - function was reindented. - (get_subexp): Use the "more" field of struct re_backref_cache - to control the loop. - (match_ctx_add_entry): Initialize the bkref_ents' "more" field. - (search_cur_bkref_entry): Return -1 if out of bounds. - - * posix/regexec.c (empty_set): Remove. - (sift_states_backward): Remove cur_src variable. Move inner loop - to build_sifted_states. - (build_sifted_states): Extract from sift_states_backward. Do not - use empty_set. - (update_cur_sifted_state): Do not use empty_set. Special case - dest_nodes->nelem == 0. - - * posix/regex_internal.h (struct re_backref_cache_entry): Remove flag - field. - (struct re_sift_context_t): Remove cur_bkref, cls_subexp_idx, - check_subexp fields. Move limits last. - * posix/regexec.c (match_ctx_clear_flag): Remove. - (sift_ctx_init): Remove check_subexp parameter. Do not set removed - fields. Callers adjusted. - (expand_bkref_cache): Remove last_str parameter. Callers adjusted. - (re_search_internal): Remove fast_translate variable. - (update_cur_sifted_state): Pass candidates as the final parameter - to sift_states_bkref. - (sift_states_bkref): Change last unused parameter to be "candidates", - do not fetch candidates into a local variable. - Remove dead test for "node == sctx->bkref", and the cur_bkref_idx - variable. - Remove loops that set/reset the flag field of backref cache entries. - (check_arrival_add_next_nodes): Use a signed int to hold the return - value of re_node_set_insert. - (group_nodes_into_DFAstates): Likewise. - (match_ctx_add_entry): Do not set the flag field of the new entry. - -2004-11-05 Roland McGrath - - * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Define - _dl_sysinfo_dso under [NEED_DL_SYSINFO_DSO] as well. - * elf/rtld.c (dl_main): Set up GLRO(dl_sysinfo_dso) under - [NEED_DL_SYSINFO_DSO] as well. - * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Always include - AT_SYSINFO and AT_SYSINFO_EHDR in name table. - (_dl_sysdep_start) [NEED_DL_SYSINFO_DSO]: Match AT_SYSINFO_EHDR. - * elf/dl-support.c (_dl_sysinfo_dso): Define also under - [NEED_DL_SYSINFO_DSO]. - (_dl_aux_init) [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO]: - Match AT_SYSINFO_EHDR and set GL(dl_sysinfo_dso). - -2004-11-05 Roland McGrath - - * manual/errno.texi (Error Codes): Revert last change for now. - * sysdeps/gnu/errlist.c: Regenerated. - -2004-11-04 Roland McGrath - - * Makeconfig (link-libc, rpath-dirs): Remove AIX cruft definitions. - (LDFLAGS-rpath-ORIGIN, LDFLAGS-soname-fname): Likewise. - (LDFLAGS-rdynamic, LDFLAGS-Bsymbolic): Likewise. - ($(common-objpfx)gnu/lib-names.stmp): Likewise. - -2004-11-01 Jakub Jelinek - - * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h [__WORDSIZE == 32] - (elf_fpxregset_t): New type. - (struct elf_prpsinfo): If __WORDSIZE == 32, change pr_[ug]id type - to unsigned short int. - * sysdeps/unix/sysv/linux/x86_64/sys/user.h - (struct user_fpregs_struct): Fix comment. - * sysdeps/i386/fpu/bits/mathdef.h (float_t, double_t): If - __FLOAT_EVAL_METHOD__ is defined and 0, typedef to float resp. double. - * sysdeps/x86_64/fpu/bits/mathdef.h: Include bits/wordsize.h. - (float_t, double_t): If -m32 and not -mfpmath=sse, typedef to - long double. - * sysdeps/x86_64/fpu/bits/fenv.h: Include bits/wordsize.h. - (fenv_t): Remove __mxcsr field for -m32. - -2004-11-04 Jakub Jelinek - - * libio/ftello.c (ftello): Don't subtract save_end - save_base - if pos is _IO_pos_BAD. - * libio/ftello64.c (ftello64): Likewise. - * libio/iofgetpos.c (_IO_new_fgetpos): Likewise. - * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise. - * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise. - * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise. - * libio/ioftell.c (_IO_ftell): Likewise. - Cast to long int instead of off_t when checking for overflow. - -2004-11-04 Richard Henderson - - * sysdeps/unix/sysv/linux/alpha/register-dump.h (regnames): Align. - (linefeed): Remove. - (register_dump): Rewrite to generate into a flat buffer instead - of into iovecs. - -2004-11-02 Jakub Jelinek - - * debug/tst-chk1.c (ret): New volatile variable. - (CHK_FAIL_END): Remove redundant ret setting. - (do_test): Remote ret variable. - -2004-01-03 Paolo Bonzini - - * posix/regex_internal.h (__regfree) [!_LIBC]: Define to regfree. - -2004-11-03 Marcus Brinkmann - - * sysdeps/generic/utime.c: Include . - - * sysdeps/generic/sysconf.c: Include and . - - * sysdeps/generic/tempname.c (__path_search): Add missing argument - TRY_TMPDIR. - -2004-10-31 Mariusz Mazur - - * sysdeps/unix/sysv/linux/alpha/setregid.c: New file. - * sysdeps/unix/sysv/linux/alpha/setresgid.c: New file. - * sysdeps/unix/sysv/linux/alpha/setresuid.c: New file. - * sysdeps/unix/sysv/linux/alpha/setreuid.c: New file. - -2004-10-27 Derek R. Price - - [BZ #487] This change is imported from gnulib. - * time/mktime.c (not_equal_tm) [DEBUG]: Remove redundant check. - -2004-10-24 Paul Eggert - - [BZ #473] - * time/tst-mktime.c (main): Don't assume that mktime fails - when given time stamps before 1970. It returns negative - time_t values instead, for compatibility with BSD. - - * time/tst-mktime2.c: New file. - * time/Makefile (tests): Add it. - - [BZ #473] Import from gnulib. Revamp to avoid several problems near - time_t extrema, and on hosts with 64-bit time_t and 32-bit int. - This fixes Debian bug 177940. - * time/mktime.c (TIME_T_MIDPOINT): New macro. - (ydhms_diff): Renamed from ydhms_tm_diff, with a new signature, - which avoids overflow problems on hosts with 64-bit time_t and - 32-bit int. All callers changed. Now an inline function. - Verify at compile-time that long int is wide enough to avoid - these overflow problems. - (guess_time_tm): New function. - (__mktime_internal): Use it. Avoid overflow when computing yday on - hosts with 64-bit long and 32-bit int. Remove tests for 69; - no longer needed. Use if rather than #ifdef for LEAP_SECONDS_POSSIBLE - so that the code is checked by more compilers. - Do not rely on floating point to probe: stick to integer arithmetic, - to avoid potential porting problems. - Repair potential overflow correctly in the Southern Hemisphere. - (localtime_offset): Add a FIXME for the case where time_t is unsigned. - -2004-10-30 Andreas Schwab - - * sysdeps/m68k/dl-machine.h (elf_machine_rela) - (elf_machine_rela_relative, elf_machine_lazy_rel): Mark auto - instead of static. - -2004-10-30 Andreas Schwab - - * sysdeps/unix/sysv/linux/waitid.c: Include for NULL. - -2004-10-30 Ulrich Drepper - - * malloc/malloc.c (_int_free): Use unique comments for the error - cases. - -2004-10-28 Roland McGrath - - * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_fork): Use i386_thread_state - instead of machine_thread_state. - -2004-10-28 Roland McGrath - - * sysdeps/unix/sysv/linux/syscalls.list: Remove setaltroot. - -2004-10-28 Ulrich Drepper - - * elf/dl-open.c (dl_open_worker): Remove reference to glibcbug script. - -2004-10-27 Ulrich Drepper - - * elf/dl-load.c (_dl_map_object): Use cache_rpath to check for - existing rpath in main executable, not explicit test. - -2004-10-27 Jakub Jelinek - - * include/resolv.h (_res_opcodes): New extern. - Add libresolv_hidden_proto. - * resolv/res_debug.c (_res_opcodes): Remove. - (__p_class_syms, __p_type_syms): Add libresolv_hidden_proto - and libresolv_hidden_data_def. Remove attribute_hidden. - * resolv/res_mkquery (_res_opcodes): Remove. - * resolv/res_data.c (_res_opcodes): Remove attribute_hidden. - Add libresolv_hidden_data_def. - -2004-10-27 Ulrich Drepper - - * elf/dl-open.c (_dl_open): Don't allow explicitly opening a DSO - into an empty namespace. - - * elf/dl-fini.c (_dl_fini): Fix search for map in maps array. - Reverse order of namespaces. - * elf/Makefile: Add rules to build and run tst-dlmopen3. - * elf/tst-dlmopen3.c: New file. - * elf/tst-dlmopen1mod.c: Add check whether constructor runs. - -2004-10-27 Jakub Jelinek - - * sysdeps/generic/glob.c (globfree): Clear gl_pathv after freeing it. - * posix/Makefile: Add rules to build and run bug-glob2 test. - * posix/bug-glob2.c: New test. - -2004-10-27 Roland McGrath - - * sysdeps/mach/hurd/i386/tls.h (HURD_TLS_DESC_DECL): New macro. - (_hurd_tls_init): Use it. - (_hurd_tls_fork): New function. - * sysdeps/mach/hurd/fork.c (__fork) [USE_TLS]: Call it. - -2004-10-26 Roland McGrath - - * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Initialize TCB->tcb. - -2004-10-26 Jakub Jelinek - - * sysdeps/gnu/netinet/udp.h (struct udphdr): Use u_int16_t - type instead of uint16_t. Formatting. - -2004-10-25 Roland McGrath - - * login/openpty.c (openpty): Add libutil_hidden_def. - - * nss/nss_files/files-parse.c (nss_files_parse_hidden_def): Define to - either libc_hidden_def or libnss_files_hidden_def, not hidden_def. - This file is also compiled into libnss_hesiod by #include. - -2004-10-25 Roland McGrath - - * sysdeps/unix/bsd/hp: Directory and all files removed. - These are now in the ports repository. - * sysdeps/unix/bsd/osf: Likewise. - * sysdeps/unix/bsd/sequent: Likewise. - * sysdeps/unix/bsd/sony: Likewise. - * sysdeps/unix/bsd/ultrix4: Likewise. - * sysdeps/unix/sysv/aix: Likewise. - * sysdeps/unix/sysv/hpux: Likewise. - * sysdeps/unix/sysv/irix4: Likewise. - * sysdeps/unix/sysv/isc2.2: Likewise. - * sysdeps/unix/sysv/minix: Likewise. - * sysdeps/unix/sysv/sco3.2.4: Likewise. - * sysdeps/unix/sysv/sco3.2: Likewise. - * sysdeps/unix/sysv/sysv4: Likewise. - - * configure.in (ASM_LINE_SEP): Move this setting to ... - * sysdeps/hppa/configure.in: ... here, new file. - * sysdeps/hppa/configure: New generated file. - * configure: Regenerated. - -2004-10-25 Kaz Kojima - - * sysdeps/sh/dl-machine.h: Include sysdep.h. - (ELF_MACHINE_RUNTIME_TRAMPOLINE): Add CFI directives. - (elf_machine_runtime_setup): Add always_inline attribute. - (_dl_start_user): Pass the correct environ. - (elf_machine_rela): Replace static inline by auto inline, add - always_inline attribute. - (elf_machine_rela_relative): Likewise. - (elf_machine_lazy_rel): Likewise. - -2004-10-24 Ulrich Drepper - - * nis/nis_call.c: Pretty printing. Minor cleanups. - * nis/nis_addmember.c (nis_addmember): Add assert to check buffer - bounds. - - * resolv/nss_dns/dns-host.c: Avoid using PLTs. - * include/libc-symbols.h: Define hidden attribute macros for - libnss_nisplus and libutil. - * include/utmp.h: Add libutil_hidden_proto for login_tty. - * login/login_tty.c: Add libutil_hidden_def. - * nis/nisplus-parser.h: Add libnss_nisplus_hidden_proto for parsers. - * nis/nss_nisplus/nisplus-parser.c: Add libnss_nisplus_hidden_def. - * include/pty.h: New file. - * include/rpcsvc/yp.h: New file. - * include/rpcsvc/ypclnt.h: New file. - * include/rpcsvc/ypupd.h: New file. - * include/libc-symbols.h: Define hidden attribute macros for libnsl. - * include/rpcsvc/nislib.h: Use libnsl_hidden_proto for various - functions. - * nis/nis_add.c: Add libnsl_hidden_def. Minor optimizations. - * nis/nis_call.c: Likewise. - * nis/nis_clone_obj.c: Likewise. - * nis/nis_defaults.c: Likewise. - * nis/nis_domain_of_r.c: Likewise. - * nis/nis_error.c: Likewise. - * nis/nis_file.c: Likewise. - * nis/nis_free.c: Likewise. - * nis/nis_local_names.c: Likewise. - * nis/nis_lookup.c: Likewise. - * nis/nis_modify.c: Likewise. - * nis/nis_print.c: Likewise. - * nis/nis_remove.c: Likewise. - * nis/nis_subr.c: Likewise. - * nis/nis_table.c: Likewise. - * nis/nis_util.c: Likewise. - * nis/yp_xdr.c: Likewise. - * nis/ypclnt.c: Likewise. - * nis/ypupdate_xdr.c: Likewise. - - * resolv/res_send.c (send_dg): Cope with failures. - - * include/libc-symbols.h: Define hidden attribute macros for - libnss_files. - * include/netdb.h: Use libnss_files_hidden_proto for the parsers - defined in libnss_files, not libc_hidden_proto. - * include/netinet/ether.h: Likewise. - * include/rpc/netdb.h: Likewise. - * nss/nss_files/files-parse.c: Use hidden_def in parser definitions - instead of libc_hidden_def. - * nss/nss_files/files-netgrp.c: Add libnss_files_hidden_def to - _nss_netgroup_parseline definition. - -2004-10-23 Roland McGrath - - * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Don't return early - after an RPC succeeds. - - * sysdeps/vax, sysdeps/unix/bsd/vax: Directories and all files removed. - These are now in the ports repository. - * sysdeps/tahoe, sysdeps/unix/bsd/tahoe: Likewise. - * sysdeps/cris, sysdeps/unix/sysv/linux/cris: Likewise. - * sysdeps/am29k, sysdeps/i860, sysdeps/i960, sysdeps/m88k: Likewise. - * sysdeps/standalone, sysdeps/z8000: Likewise. - -2004-10-23 Ulrich Drepper - - * resolv/res_send.c (send_dg): Combine write and read to socket - into one loop. - -2004-10-22 Roland McGrath - - * Makefile (%.bz2, %.gz): Move these pattern rules ... - * Makerules: ... to here. - -2001-10-31 Alexandre Oliva - - * elf/elf.h: Add R_MN10300_* relocation numbers. - -2004-10-22 Paul Eggert - - [BZ #471] Fix imported from gnulib. - * time/mktime.c (leapyear, ydms_tm_diff): Year is of type - long int, not int, to avoid problems when tm_year == INT_MAX - and tm_mon > 12. - (__mktime_intenral): Compute year using long int arithmetic, - not int arithmetic, to avoid problems on hosts where time_t - and long are 64 bits but int is 32. - - [BZ #468] Import a fix from gnulib. - * time/mktime.c [! DEBUG]: Do not include . - It's needed only if DEBUG is nonzero. - - [BZ #470] Import fix from gnulib. - * time/mktime.c [!_LIBC] (__mktime_internal): Define to - mktime_internal, to avoid clashes with any __mktime_internal - function defined in the standard library. - - [BZ #469] Imported from gnulib. - * time/mktime.c (__isleap): Remove; all uses replaced by: - (leapyear): New function, which avoids overflow by not adding - 1900 to year before testing whether it is a leap year. - - [BZ #472] Imported from gnulib. - * time/mktime.c (Local Variables): Remove -DHAVE_TIME_R_POSIX; - no longer used. - -2004-10-22 Ulrich Drepper - - * resolv/res_send.c: Remove compatibility code which is unused in - glibc and probably bitrotten. - - * debug/execinfo.h: Remove __THROW from backtrace prototype. - -2004-10-22 Jakub Jelinek - - * sysdeps/i386/Makefile (CFLAGS-backtrace.c): Add -fexceptions. - * sysdeps/i386/backtrace.c: Include , , - and . Remove include. - (struct trace_arg): New type. - (unwind_backtrace, unwind_getip, unwind_getcfa, unwind_getgr): New - fn pointers resp. macros. - (init, backtrace_helper): New functions. - (__backtrace): Rewritten to use _Unwind_Backtrace first and fall - back to frame pointer walking. - -2004-10-22 Ulrich Drepper - - * sysdeps/unix/sysv/linux/Versions: Things are still in flux, it - seems. Undo last additions. - -2004-10-21 Ulrich Drepper - - * posix/execvp.c (execvp): Also ignore ENODEV and ETIMEDOUT errno - values. - -2004-10-20 Roland McGrath - - * Makeconfig ($(common-objpfx)shlib-versions.v.i): Check also - $(config-sysdirs) for shlib-versions files. - - * Makeconfig ($(common-objpfx)soversions.i): Replace shell loop with - use of ... - * scripts/soversions.awk: ... this new file. Collect lib info and - match any DEFAULT line before emitting anything, so DEFAULT can come - later in the concatenation of shlib-versions files. - - * manual/errno.texi (Error Codes): Add ENOKEY, EKEYEXPIRED, - EKEYREVOKED, EKEYREJECTED. - * sysdeps/unix/sysv/linux/Versions (libc: GLIBC_2.3.4): New errlist. - * sysdeps/gnu/errlist.c: Regenerated - - * sysdeps/gnu/errlist-compat.awk: Don't bail if Versions gives a count - higher than ERR_MAX reports. Instead, emit a #define ERR_MAX. - * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.h): New target. - (generated): Add errlist-compat.h. - * sysdeps/gnu/errlist.awk: Make output #include to - define ERR_MAX and use that for table size. - -2004-10-20 Ulrich Drepper - - * sysdeps/unix/sysv/linux/syscalls.list: Add entries for setaltroot, - key_add, key_request, and keyctl syscalls. - * sysdeps/unix/sysv/linux/Versions: Export them. - -2004-10-19 Roland McGrath - - * sysdeps/mach/readonly-area.c: New file. - -2004-10-19 Ulrich Drepper - - * elf/Versions [ld, GLIBC_PRIVATE]: Add _dl_debug_state. - * elf/dl-debug.c (_dl_debug_state): Add rtld_hidden_def. - * sysdeps/generic/ldsodefs.h (_dl_debug_state): Don't mark as - hidden but use rtld_hidden_proto. - -2004-10-19 Alfred M. Szmidt - - * sysdeps/generic/readonly-area.c (__readonly_str): Renamed to ... - (__readonly_area): ... this. - -2004-10-18 Jakub Jelinek - - * sysdeps/generic/strcpy_chk.c (__strcpy_chk): Speed up by checking - destlen only every 4 bytes. - -2004-10-19 Ulrich Drepper - - * nss/getent.c (hosts_keys): Let inet_pton decide whether the - string is an address or not. - -2004-10-19 Jakub Jelinek - - * elf/dl-addr.c (_dl_addr): Don't look at STT_TLS symbols. - Use DL_SYMBOL_ADDRESS to set dli_saddr. - - * debug/Makefile (catchsegv): Prefix $LIB with a backslash. - -2004-10-19 Ulrich Drepper - - * debug/Makefile ($(objpfx)catchsegv): To support multilib - platforms, use $LIB in path to slibdir. - -2004-10-19 Jakub Jelinek - - * debug/catchsegv.sh: Update copyright year. - Use mktemp to create segv_output file. - -2004-10-18 Jakub Jelinek - - * elf/dl-libc.c (__libc_dlsym_private, __libc_register_dl_open_hook): - New functions. - (__libc_dlopen_mode): Call __libc_register_dl_open_hook and - __libc_register_dlfcn_hook. - * dlfcn/Makefile (routines, elide-routines.os): Set. - Add rules to build and test tststatic2. - * dlfcn/tststatic2.c: New test. - * dlfcn/modstatic2.c: New test module. - * dlfcn/dladdr.c: Call _dlfcn_hook from libdl.so if not NULL. - Define __ prefixed routine in libc.a and in libdl.a just call it. - * dlfcn/dladdr1.c: Likewise. - * dlfcn/dlclose.c: Likewise. - * dlfcn/dlerror.c: Likewise. - * dlfcn/dlinfo.c: Likewise. - * dlfcn/dlmopen.c: Likewise. - * dlfcn/dlopen.c: Likewise. - * dlfcn/dlopenold.c: Likewise. - * dlfcn/dlsym.c: Likewise. - * dlfcn/dlvsym.c: Likewise. - * dlfcn/sdladdr.c: New file. - * dlfcn/sdladdr1.c: New file. - * dlfcn/sdlclose.c: New file. - * dlfcn/sdlerror.c: New file. - * dlfcn/sdlinfo.c: New file. - * dlfcn/sdlopen.c: New file. - * dlfcn/sdlsym.c: New file. - * dlfcn/sdlvsym.c: New file. - * dlfcn/Versions (libdl): Export _dlfcn_hook@GLIBC_PRIVATE. - * include/dlfcn.h (DL_CALLER_DECL, DL_CALLER RETURN_ADDRESS): Define. - (struct dlfcn_hook): New type. - (_dlfcn_hook): New extern decl. - (__dlopen, __dlclose, __dlsym, __dlerror, __dladdr, __dladdr1, - __dlinfo, __dlmopen, __libc_dlsym_private, - __libc_register_dl_open_hook, __libc_register_dlfcn_hook): New - prototypes. - (__dlvsym): Use DL_CALLER_DECL. - * include/libc-symbols.h: Define libdl_hidden_proto and friends. - - * malloc/arena.c (_dl_open_hook): Extern decl. - (ptmalloc_init): Don't call _dl_addr when dlopened from statically - linked programs but don't use brk for them either. - -2004-10-18 Roland McGrath - - * dlfcn/bug-dlsym1.c (main): Remove bogus setenv call. - -2004-10-18 Ulrich Drepper - - * elf/dl-open.c (dl_open_worker): Avoid dereferencing map in - statically linked code if there might none be found. - -2004-10-06 Maciej W. Rozycki - - * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h - (__SYSCALL_CLOBBERS): Add "memory". - * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h - (__SYSCALL_CLOBBERS): Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h - (__SYSCALL_CLOBBERS): Likewise. - -2004-10-17 Ulrich Drepper - - * include/libc-symbols.h: Define libresolv_hidden_proto and friends. - * include/resolv.h: Add libresolv_hidden_proto for symbols defined, - used, and exported in libresolv. - * resolv/base64.c: Add libresolv_hidden_def. - * resolv/gethnamaddr.c: Likewise. - * resolv/ns_name.c: Likewise. - * resolv/ns_netint.c: Likewise. - * resolv/res_comp.c: Likewise. - * resolv/res_data.c: Likewise. - * resolv/res_debug.c: Likewise. - * resolv/res_mkquery.c: Likewise. - * resolv/res_query.c: Likewise. - * resolv/res_send.c: Likewise. - -2004-10-15 Jakub Jelinek - - * elf/dl-minimal.c (__chk_fail): New. Add rtld_hidden_def. - * sysdeps/unix/sysv/linux/readonly-area.c: New file. - * sysdeps/i386/i686/memmove.S (__memmove_chk): Add checking - routine. - * sysdeps/i386/i686/memcpy.S (__memcpy_chk): Likewise. - * sysdeps/i386/i686/mempcpy.S (__mempcpy_chk): Likewise. - * sysdeps/i386/i686/memset.S (__memset_chk): Likewise. - * sysdeps/i386/i686/memmove-chk.S: New file. - * sysdeps/i386/i686/memcpy-chk.S: Likewise. - * sysdeps/i386/i686/mempcpy-chk.S: Likewise. - * sysdeps/i386/i686/memset-chk.S: Likewise. - * sysdeps/generic/strcat-chk.c (__strcat_chk): Don't __chk_fail - if exactly fitting into buffer. - * sysdeps/generic/strncat-chk.c (__strncat_chk): Likewise. - * sysdeps/generic/readonly-area.c: New file. - * sysdeps/generic/strncpy-chk.c (__strncpy_chk): Only test - destlen once. - * sysdeps/x86_64/memset.S (__memset_chk): Add checking routine. - * sysdeps/x86_64/memcpy.S (__memcpy_chk): Likewise. - * sysdeps/x86_64/mempcpy.S (__memcpy_chk): Define to __mempcpy_chk. - * sysdeps/x86_64/memcpy-chk.S: New file. - * sysdeps/x86_64/mempcpy-chk.S: Likewise. - * sysdeps/x86_64/memset-chk.S: Likewise. - * sysdeps/x86_64/strcpy-chk.S: Likewise. - * sysdeps/x86_64/stpcpy-chk.S: Likewise. - * argp/argp-xinl.c (__OPTIMIZE__): Define to 1 instead of nothing. - * argp/argp-fs-xinl.c (__OPTIMIZE__): Likewise. - * debug/tst-chk1.c: New test. - * debug/tst-chk2.c: Likewise. - * debug/tst-chk3.c: Likewise. - * debug/test-strcpy_chk.c: Likewise. - * debug/test-stpcpy_chk.c: Likewise. - * debug/vsprintf_chk.c (__vsprintf_chk): If flags > 0, request - _IO_FLAGS2_CHECK_PERCENT_N. Add libc_hidden_def. - * debug/Makefile (routines): Add printf_chk, fprintf_chk, vprintf_chk, - vfprintf_chk, gets_chk and readonly-area. - (CFLAGS-*_chk.c): Set. - (tests): Add tst-chk1, tst-chk2, tst-chk3, test-strcpy_chk and - test-stpcpy_chk. - * debug/vprintf_chk.c: New file. - * debug/printf_chk.c: Likewise. - * debug/vfprintf_chk.c: Likewise. - * debug/fprintf_chk.c: Likewise. - * debug/gets_chk.c: Likewise. - * debug/chk_fail.c (__chk_fail): Add libc_hidden_def. - * debug/snprintf_chk.c (__snprintf_chk): Fix order of arguments - passed to __vsnprintf_chk. - * debug/Versions (libc): Export __printf_chk, __fprintf_chk, - __vprintf_chk, __vfprintf_chk and __gets_chk @GLIBC_2.3.4. - * debug/vsnprintf_chk.c (__vsnprintf_chk): Don't call - __vsnprintf, instead create a temporary file with - _IO_strn_jumps jumptable. If flags > 0, request - _IO_FLAGS2_CHECK_PERCENT_N. Add libc_hidden_def. - * libio/Makefile (headers): Add bits/stdio2.h. - * libio/stdio.h: Include if __USE_FORTIFY_LEVEL. - (sprintf, snprintf, vsprintf, vsnprintf): Remove defines. - * libio/strfile.h (_IO_strnfile): New type. - (_IO_strn_jumps): New extern. - * libio/vsnprintf.c (_IO_strnfile): Remove. - (_IO_strn_jumps): Remove static. - * libio/bits/stdio2.h: New file. - * libio/vswprintf.c (_IO_strnfile): Rename type to... - (_IO_wstrnfile): ...this. Adjust all uses. - * libio/libio.h (_IO_FLAGS2_CHECK_PERCENT_N): Define. - * stdio-common/vfprintf.c (STR_LEN): Define. - (vfprintf): Add readonly_format variable. - Handle _IO_FLAGS2_CHECK_PERCENT_N. - (buffered_vfprintf): Copy _flags2. - * include/stdio.h (__sprintf_chk, __snprintf_chk, __vsprintf_chk, - __vsnprintf_chk, __printf_chk, __fprintf_chk, __vprintf_chk, - __vfprintf_chk): New prototypes. - (__vsprintf_chk, __vsnprintf_chk): Add libc_hidden_proto. - * include/string.h (__memcpy_chk, __memmove_chk, __mempcpy_chk, - __memset_chk, __strcpy_chk, __stpcpy_chk, __strncpy_chk, __strcat_chk, - __strncat_chk): New prototypes. - * include/bits/string3.h: New file. - * include/sys/cdefs.h (__chk_fail): Add libc_hidden_proto - and rtld_hidden_proto. - * string/Makefile (headers): Add bits/string3.h. - * string/bits/string3.h (bcopy, bzero): New defines. - (memset, memcpy, memmove, strcpy, strncpy, strcat, strncat): Change - macros so that inlines are used only if unknown destination size - or side-effects in destination argument. - (mempcpy, stpcpy): Likewise. Protect with #ifdef __USE_GNU. - -2004-09-16 Ulrich Drepper - - * debug/Makefile (routines): Add *_chk. - * debug/Versions (libc): Export __chk_fail, __memcpy_chk, - __memmove_chk, __mempcpy_chk, __memset_chk, __stpcpy_chk, - __strcat_chk, __strcpy_chk, __strncat_chk, __strncpy_chk, - __sprintf_chk, __vsprintf_chk, __snprintf_chk, __vsnprintf_chk - @GLIBC_2.3.4. - * debug/chk_fail.c: New file. - * debug/snprintf_chk.c: Likewise. - * debug/sprintf_chk.c: Likewise. - * debug/vsnprintf_chk.c: Likewise. - * debug/vsprintf_chk.c: Likewise. - * include/features.h (_FORTIFY_SOURCE): Document, handle. - (__USE_FORTIFY_LEVEL): Define. - (__GNUC_PREREQ): Move to earlier location. - * include/sys/cdefs.h (__chk_fail): New prototype. - * libio/bits/stdio.h (sprintf, vsprintf, snprintf, vsnprintf): - Define if __USE_FORTIFY_LEVEL. - * misc/sys/cdefs.h (__bos, __bos0): Define. - * string/string.h: Include if __USE_FORTIFY_LEVEL. - * bits/string/string3.h: New header. - * sysdeps/generic/memcpy_chk.c: New file. - * sysdeps/generic/memmove_chk.c: Likewise. - * sysdeps/generic/mempcpy_chk.c: Likewise. - * sysdeps/generic/memset_chk.c: Likewise. - * sysdeps/generic/stpcpy_chk.c: Likewise. - * sysdeps/generic/strcat_chk.c: Likewise. - * sysdeps/generic/strcpy_chk.c: Likewise. - * sysdeps/generic/strncat_chk.c: Likewise. - * sysdeps/generic/strncpy_chk.c: Likewise. - -2004-10-17 Roland McGrath - - * manual/memory.texi (Page Lock Functions): Typo fix. - Reported by Carlos Maziero - -2004-10-16 Alfred M. Szmidt - - * sysdeps/mach/hurd/Makefile (link-libc-static): Use - `$(static-gnulib') instead of `$(gnulib)'. - -2004-10-17 Ulrich Drepper - - * sunrpc/rpc_clntout.c: Avoid including rcsid into binary. - * sunrpc/rpc_cout.c: Likewise. - * sunrpc/rpc_hout.c: Likewise. - * sunrpc/rpc_main.c: Likewise. - * sunrpc/rpc_parse.c: Likewise. - * sunrpc/rpc_sample.c: Likewise. - * sunrpc/rpc_scan.c: Likewise. - * sunrpc/rpc_svcout.c: Likewise. - * sunrpc/rpc_tblout.c: Likewise. - * sunrpc/rpc_util.c: Likewise. - -2004-10-15 Jakub Jelinek - - * sysdeps/unix/sysv/linux/i386/sysdep.h (PUSHARGS_6, DOARGS_6, - POPARGS_6, _PUSHARGS_6, _DOARGS_6, _POPARGS_6): Define. - * sysdeps/unix/sysv/linux/i386/syscall.S (syscall): Handle 6 argument - syscalls. - -2004-10-15 Ulrich Drepper - - * nscd/nscd.h (_PATH_NSCD_PASSWD_DB): Move to /var/db. - (_PATH_NSCD_GROUP_DB): Likewise. - (_PATH_NSCD_HOSTS_DB): Likewise. - (_PATH_NSCD_XYZ_DB_TMP): New #define, point to /var/run. - * nscd/connections.c (nscd_init): Non-persistent database files - are created with the _PATH_NSCD_XYZ_DB_TMP path. - * nscd/nscd.init: Create /var/db/nscd if necessary. - -2004-10-15 Richard Henderson - - * sysdeps/unix/sysv/linux/alpha/register-dump.h: New file. - * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h (SIGCONTEXT): Add - _code argument, pass sigcontext by pointer. - (SIGCONTEXT_EXTRA_ARGS): Likewise. - (GET_PC, GET_FRAME, GET_STACK): Expect ctx as pointer. - -2004-10-14 Richard Henderson - - * sysdeps/alpha/dl-machine.h (elf_machine_rela, - elf_machine_rela_relative, elf_machine_lazy_rel): Mark auto - instead of static. - - * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use prototype - style definition. - * sysdeps/unix/sysv/linux/alpha/adjtime.c (ADJTIME): If - __ASSUME_TIMEVAL64, define __adjtime directly rather than - via strong_alias. - -2004-10-14 Ulrich Drepper - - * nscd/Makefile: When using compilers without -fpie support, also - link with -lselinux if necessary. - Patch by Arkadiusz Miskiewicz . - - * nscd/connections.c (nscd_init): Remove file if not persistent - and not shared. Patch by Jerome Borsboom . - -2004-10-14 Jakub Jelinek - - * sysdeps/unix/sysv/linux/i386/setresuid.c: Handle - defined __NR_setresuid32 && !defined __NR_setresuid. - * sysdeps/unix/sysv/linux/i386/setresgid.c: Handle - defined __NR_setresgid32 && !defined __NR_setresgid. - - * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf, __signbit, - __signbitl, sqrtf, sqrt, sqrtl, fdim, fdimf): Use __NTH macro. - - * sysdeps/generic/errno-loc.c: Don't undef #errno - if RTLD_PRIVATE_ERRNO. - * include/errno.h (__errno_location): If RTLD_PRIVATE_ERRNO, - add attribute_hidden. - - * dlfcn/dlinfo.c (dlinfo_doit): Replace iteration over GL(dl_loaded) - chain with iteration over all namespaces' _ns_loaded chains. - * sysdeps/powerpc/powerpc32/dl-machine.c (__elf_preferred_address): - Likewise. - * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Likewise. - - * elf/rtld.c (_dl_start): Fix one last dl_loaded. - * elf/dl-load.c (_dl_map_object_from_fd): Avoid definition of - label when it is not needed. - * elf/dl-close.c (_dl_close): Typo: & -> &&. - -2004-10-12 Jakub Jelinek - - * sysdeps/generic/segfault.c: Include alloca.h and stdint.h. - Don't include frame.h. - (CURRENT_STACK_FRAME, INNER_THAN, ADVANCE_STACK_FRAME): Remove. - (catch_segfault): Use backtrace function. - - * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Fix comment. - * sysdeps/unix/sysv/linux/ia64/register-dump.h: New file. - * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h (GET_PC): Return sc_ip - field. - -2004-10-13 Ulrich Drepper - - Add support for namespaces in the dynamic linker. - * dlfcn/Makefile (libdl-routines): Add dlmopen. - * dlfcn/Versions [libdl, GLIBC_2.3.4]: Add dlmopen. - * dlfcn/dlfcn.h: Define Lmid_t, LM_ID_BASE, and LM_ID_NEWLM. - Declare dlmopen. Document RTLD_DI_LMID. - * dlfcn/dlinfo.c: Handle RTLD_DI_LMID. - * dlfcn/dlmopen.c: New file. - * dlfcn/dlopen.c: Pass new parameter to _dl_open. - * dlfcn/dlopenold.c: Likewise. - * elf/dl-addr.c: Adjust for removal of GL(dl_loaded). - * elf/dl-caller.c: Likewise. - * elf/dl-close.c: Likewise. - * elf/dl-conflict.c: Likewise. - * elf/dl-debug.c: Likewise. - * elf/dl-lookup.c: Likewise. - * elf/dl-sym.c: Likewise. - * elf/dl-version.c: Likewise. - * elf/do-lookup.h: Likewise. - * elf/rtld.c: Likewise. - * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise. - * elf/dl-depsc: Likewise. Add new parameter to _dl_map_object. - * elf/dl-fini.c: Call destructors in all namespaces. - * elf/dl-iteratephdr.c: Compute total nloaded. Adjust for removal of - GL(dl_loaded). - * elf/dl-libc.c: Pass new parameter to _dl_open. Adjust for removal - of GL(dl_loaded). - * elf/dl-load.c (_dl_map_object_from_fd): Don't load ld.so a second - time. Reuse the one from the main namespace in all others. - Pass new parameter to _dl_new_object. - Adjust for removal of GL(dl_loaded). - * elf/dl-object.c: Take new parameter. Use it to initialize l_ns. - Adjust for removal of GL(dl_loaded). - * elf/dl-open.c (_dl_open): Take new parameter. - Adjust for removal of GL(dl_loaded). - * elf/dl-support.c: Replace global _dl_loaded etc variables with - _dl_ns variable. - * include/dlfcn.h: Adjust prototype of _dl_open. - Define __LM_ID_CALLER. - * include/link.h: Add l_real, l_ns, and l_direct_opencount elements. - * sysdeps/generic/dl-tls.c: Bump TLS_STATIC_SURPLUS. Since libc is - using TLS we need memory appropriate to the number of namespaces. - * sysdeps/generic/ldsodefs.h (struct rtld_global): Replace _dl_loaded, - _dl_nloaded, _dl_global_scope, _dl_main_searchlist, and - _dl_global_scope_alloc with _dl_ns element. Define DL_NNS. - Adjust prototypes of _dl_map_object and member in rtld_global_ro. - * malloc/malloc.c: Include . - * malloc/arena.c (ptmalloc_init): If libc is not in primary namespace, - never use brk. - * elf/Makefile: Add rules to build and run tst-dlmopen1 and - tst-dlmopen2. - * elf/tst-dlmopen1.c: New file. - * elf/tst-dlmopen1mod.c: New file. - * elf/tst-dlmopen2.c: New file. - - * elf/dl-close.c: Improve reference counting by tracking direct loads. - * elf/dl-lookup.c (add_dependency): Likewise. - * elf/dl-open.c (dl_open_worker): Likewise. - * elf/rtld.c (dl_main): Likewise. - -2004-09-09 GOTO Masanori - - [BZ #77] - * elf/dl-close.c: Count down l_opencount to check not only for - l_reldeps, but also l_initfini. - -2004-10-13 Ulrich Drepper - - * elf/dl-close.c (_dl_close): Update bug reporting instructions. - -2004-10-11 Ulrich Drepper - - * timezone/asia: Update from tzdata2004e. - * timezone/southamerica: Likewise. - * timezone/private.h: Update from tzcode2004e. - * timezone/zdump.c: Likewise. - - * stdio-common/vfscanf.c: Add support for reading localized - digits. Patch mainly by Hamed Malek . - - * resolv/res_init.c (res_thread_freeres): Reset _res.options. - [BZ #434] - - * resolv/res_send.c (send_dg): Use nonblocking sockets. Add - appropriate poll/select calls and restart operation if necessary. - Also handle EINTR. - - * elf/tst-dlopenrpath.c (do_test): Enable code which was disabled - for debugging. - - * elf/dl-sym.c (do_sym): Avoid using global variable. - - * elf/dl-addr.c (_dl_addr): Really use match everywhere. - -2004-10-09 Andreas Schwab - - * sysdeps/m68k/memcopy.h (WORD_COPY_BWD): Remove use of cast as - lvalue. - - * sysdeps/m68k/fpu/bits/mathinline.h: Remove __THROW from inline - definitions. - -2004-10-07 Andreas Schwab - - * misc/sys/uio.h: Change __vector to __iovec to avoid clash with - altivec. - -2004-10-06 Alan Modra - - * gmon/Makefile (CFLAGS-mcount.c): Move before inclusion of "Rules". - * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-mcount.c): Add - -msoft-float. - * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): New macros. - (CALL_MCOUNT): Replace with a gas macro implementation. - (EALIGN): Delete PROF version. - * sysdeps/powerpc/powerpc64/__longjmp-common.S: Invoke CALL_MCOUNT. - * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Likewise. - * sysdeps/powerpc/powerpc64/bsd-setjmp.S: Likewise. - * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise. - * sysdeps/powerpc/powerpc64/memcpy.S: Likewise. - * sysdeps/powerpc/powerpc64/memset.S: Likewise. - * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise. - * sysdeps/powerpc/powerpc64/strchr.S: Likewise. - * sysdeps/powerpc/powerpc64/strcmp.S: Likewise. - * sysdeps/powerpc/powerpc64/strcpy.S: Likewise. - * sysdeps/powerpc/powerpc64/strlen.S: Likewise. - * sysdeps/powerpc/powerpc64/strncmp.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise. - - * sysdeps/powerpc/powerpc64/setjmp-common.S: Add extra entry point - past _mcount call. - * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Use it. - * sysdeps/powerpc/powerpc64/bsd-setjmp.S: Likewise. - -2004-10-06 Ulrich Drepper - - * resolv/res_mkquery.c (res_nmkquery): Reject randombits value if - low 16 bits are zero. - -2004-10-06 Jakub Jelinek - - * posix/tst-getaddrinfo2.c: Include stdlib.h and string.h. - (do_test): Use %p instead of 0x%08X to print a pointer. - - * malloc/malloc.c: Include stdio-common/_itoa.h. - -2004-10-05 Ulrich Drepper - - * elf/rtld.c (dl_main): Use _dl_debug_printf instead of _dl_printf - for prelink message. - -2004-10-05 Jakub Jelinek - - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Include dl-sysdep.h. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. - -2004-10-05 Ulrich Drepper - - * grp/initgroups.c: Remove duplicate group IDs. - * grp/compat-initgroups.c: Likewise. - * nscd/initgrcache.c: Likewise. - -2004-10-05 Jakub Jelinek - - * sysdeps/unix/sysv/linux/x86_64/sysconf.c (__sysconf): Return 200112L - for _SC_CPUTIME or _SC_THREAD_CPUTIME. - - * nscd/Makefile (nscd-cflags): Set to -DIS_IN_nscd=1, plus - -fpie if building PIE. - (CFLAGS-*.c): Use it. - - * nscd/Makefile (relro-LDFLAGS): Add -Wl,-z,now if have-z-relro. - ($(objpfx)nscd): Add $(relro-LDFLAGS). - - * sysdeps/unix/sysv/linux/i386/sysconf.c: Include hp-timing.h. - (__sysconf): Return -1 for _SC_CPUTIME or _SC_THREAD_CPUTIME if - !HP_TIMING_AVAIL. - -2004-10-05 Ulrich Drepper - - * nscd/Makefile (distribute): Remove TODO. - * nscd/TODO: Removed. - -2004-10-04 Ulrich Drepper - - * nscd/gai.c: Define __no_netlink_support if NEED_NETLINK is - defined and __ASSUME_NETLINK_SUPPORT is zero. - * sysdeps/unix/sysv/linux/Makefile (CFLAGS-gai.c): Add - -DNEED_NETLINK. - - * malloc/mtrace.pl: Avoid calling location unless it is needed for - output. Patch by Edward Bishop . - - * nscd/Makefile (CFLAGS-gai.c): Add -fpie. - -2004-10-04 H.J. Lu - - * sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c - (clock_getcpuclockid): Add missing retval. - - * sysdeps/unix/sysv/linux/ia64/sysconf.c (linux_sysconf): Fix a typo. - -2004-10-04 Roland McGrath - - * include/errno.h [RTLD_PRIVATE_ERRNO] (errno): Rename the real symbol - to rtld_errno. - * sysdeps/generic/errno.c [RTLD_PRIVATE_ERRNO] (rtld_errno): Define it, - and don't define any other errno names. - * sysdeps/unix/alpha/sysdep.h [RTLD_PRIVATE_ERRNO]: Use rtld_errno in - place of errno. - * sysdeps/unix/i386/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. - * sysdeps/unix/x86_64/sysdep.S: Likewise. - - * sysdeps/generic/errno.c [! USE___THREAD] (errno): Use `nocommon' - attribute instead of `section'. - -2004-10-04 Ulrich Drepper - - * sysdeps/unix/sysv/linux/ia64/sysconf.c: New file. - * sysdeps/unix/sysv/linux/ia64/Dist: Add has_cpuclock.c. - * sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c: Move actual - testing code to... - * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: ...here. New file. - * sysdeps/unix/sysv/linux/i386/sysconf.c: Add dynamic check for - _SC_CPUTIME and _SC_THREAD_CPUTIME. - - * nscd/connections.c (start_threads): Use sysconf in case - _POSIX_CLOCK_SELECTION or _POSIX_MONOTONIC_CLOCK is not greater zero. - - * nscd/Makefile (nscd-modules): Add gai. - * nscd/gai.c: New file. - * nscd/nscd.c: Remove getaddrinfo stub definition. - - * assert/assert.h: Give up on using __builtin_expect. - - * elf/rtld.c (dl_main): Only skip => output in ldd mode if both - strings are identical. - -2004-03-18 Jakub Jelinek - - * malloc/arena.c (aligned_heap_area): New variable. - (new_heap): If aligned_heap_area != NULL, attempt to use that - first. If HEAP_MAX_SIZE << 1 area is already HEAP_MAX_SIZE bytes - aligned, remember the second half in aligned_heap_area. - (delete_heap): Clear aligned_heap_area if deleting the area right - before aligned_heap_area. - -2004-10-03 Juerg Billeter - - * nscd/nscd_initgroups.c (__nscd_getgrouplist): Return -1 if nscd - can't be used. [BZ #424] - -2004-10-03 Ulrich Drepper - - Dynamically create new threads if necessary. - * nscd/connections.c (fd_ready): If no thread available for processing - the request, create a new one unless the limit is reached. - (start_threads): Check errors from pthread_create. - * nscd/nscd.h: Declare max_nthreads. - * nscd/nscd_conf.c: Parse max-nthreads entry. - * nscd/nscd.conf: Add max-threads entry. - * nscd/nscd_stat.c: Print current and maximum number of threads. - - Implement paranoia mode. - * nscd/connections.c (nscd_init): Mark database and socket descriptors - as close on exec. - (restart): New function. - (restart_p): New function. - (nscd_run): Add missing descrement of nready in case readylist is - empty. - (main_loop_poll): Call restart_p and restart. - (main_loop_epoll): Likewise. - (begin_drop_privileges): Save original UID and GID. - * nscd/nscd.c: Define new variables paranoia, restart_time, - restart_interval, oldcwd, old_gid, old_uid. - (main): Disable paranoia mode if we are not forking. - (check_pid): When re-execing, the PID file contains the same PID as - the current process. Do not fail in this case. - * nscd/nscd.conf: Add paranoia and restart-interval entries. - * nscd/nscd.h: Define RESTART_INTERVAL. Declare new variables. - * nscd/nscd_conf.c: Parse paranoia and restart-internal configurations. - * nscd/nscd_stat.c: Print paranoia and restart-internal values. - - * nscd/connections.c: Implement alternative loop for main thread - which uses epoll. - * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] - (CFLAGS-connections.c): Add -DHAVE_EPOLL. - -2004-10-02 Ulrich Drepper - - * nscd/Makefile (CFLAGS-initgrcache.c): Add to CFLAGS-* variables, - don't replace old content. - - * nscd/connections.c: Rewrite handling of incoming connections. All - are handled by one thread which then hands off the descriptors for the - real work to the worker threads. - * nscd/Makefile: Link nscd with librt. - - * nscd/selinux.c: Pretty printing. - - * nscd/dbg_log.c (dbg_log): Don't add unnecessary newline to - output. Let syslog do the formatting if debug_level == 0. - - * nscd/nscd_helper.c (get_mapping): No need to check timestamp if - nscd_certainly_running is nonzero. - -2004-10-02 Simon Josefsson - - [BZ #420] - * sysdeps/generic/memmem.c [!_LIBC]: Define __builtin_expect, to - make the file usable inside gnulib. - -2004-10-01 Ulrich Drepper - - * malloc/malloc.c (public_vALLOc): Add missing use of hooks. - (public_pVALLOc): Likewise. - - * nscd/nscd_initgroups.c (__nscd_getgrouplist): Always add the - group the caller provided unless there is a real problem. - - * posix/bug-glob1.c (prepare): Fix creation of symlink. - -2004-09-30 Ulrich Drepper - - * posix/Makefile: Add rules to build and run bug-glob1. - * posix/bug-glob1.c: New file. - - * iconv/iconv_prog.c (main): Print progress information to stderr. - - * nscd/nscd.c (termination_handler): Reset timestamp so that - clients immediately stop using the database. - - * nscd/nscd-client.h (__nscd_get_map_ref): Drop volatile from last - parameter. - (__nscd_drop_map_ref): Change second parameter to be a reference to - a variable. Update variable when cycle count changed. - * nscd/nscd_helper.c (__nscd_get_map_ref): Remove volatile here, too. - * nscd/nscd_getai.c: Correctly use __nscd_drop_map_ref. Reinitialize - all variables and avoid memory leak in case of retries. - * nscd/nscd_getgr_r.c: Likewise. - * nscd/nscd_gethst_r.c: Likewise. - * nscd/nscd_getpw_r.c: Likewise. - * nscd/nscd_initgroups.c: Likewise. - - * nscd/nscd.h: Add declaration of addinitgroups and - readdinitgroups. - -2004-09-30 Andreas Jaeger - - * nscd/Makefile (CFLAGS-nscd_initgroups.c): Set to -fpie. - (CFLAGS-initgrcache.c): Set to -fexceptions. - -2004-09-29 Ulrich Drepper - - * sysdeps/generic/glob.c (glob_in_dir): Don't blindly trust - readdir results; for symlinks or files of unknown type check using - stat whether the file exists. - - * posix/tst-gnuglob.c (find_file): Handle leading "./". Fix - recognition of files. - -2004-09-29 Jakub Jelinek - - * time/tzfile.c (tzfile_mtime): New variable. - (__tzfile_read): Reread the file if mtime is different. - -2004-09-28 Jakub Jelinek - - * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf, __fdim, fdimf, fdim): - Handle +inf/+inf. - * sysdeps/powerpc/fpu/bits/mathinline.h (fdim, fdimf): Likewise. - * sysdeps/sparc/fpu/bits/mathinline.h (fdim, fdimf): Likewise. - -2004-09-29 Ulrich Drepper - - * nscd/nscd_gethst_r.c (nscd_gethst_r): Use correct constant for - testing result of __nscd_get_map_ref. - -2004-09-29 Jakub Jelinek - - * sysdeps/i386/fpu/s_fdim.S (__fdim): Handle +inf/+inf. - * sysdeps/i386/fpu/s_fdimf.S (__fdimf): Likewise. - * sysdeps/i386/fpu/s_fdiml.S (__fdiml): Likewise. - -004-09-29 Ulrich Drepper - - * grp/initgroups.c: Move compat_call implementation... - * grp/compat-initgroups.c: ...to here. New file. - * grp/Makefile (distribute): Add compat-initgroups.c. - (CFLAGS-initgroups.c): Add -DUSE_NSCD=1. - * mscd/initgrcache.c: New file. - * nscd/nscd_initgroups.c: New file. - * nscd/Makefile (routines): Add nscd_initgroups. - (nscd-modules): Add initgrcache. - * nscd/cache.c (prune_cache): Add support for INITGROUPS entries. - * nscd/connections.c: Handle INITGROUPS requests. - * nscd/nscd-client.h: Define INITGROUPS, initgr_response_header. - Add initgrdata element to struct datahead. Fix typo in comment. - * nscd/nscd_proto.h: Declare __nscd_getgrouplist. Fix parameter - type in __nscd_getgrgrid_r. - * nscd/selinux.c (perms): Add INITGROUPS entry. - - * nscd/nscd_getai.c: No need to include . - - * sunrpc/get_myaddr.c (get_myaddress): Account for interfaces without - assigned addresses. - * sunrpc/pmap_clnt.c (__get_myaddress): Likewise. - * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise. - * sunrpc/clnt_udp.c (is_network_up): Likewise. - - * nscd/nscd.c: Define getaddrinfo hidden so that it is never found - outside. - - * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (si_segvflags): - Renamed from si_flags due to conflict with si_flags from . - -2004-09-28 Ulrich Drepper - - * nscd/nscd_getai.c: Use NO_MAPPING instead of MAP_FAILED for test - of failing __nscd_get_map_ref. Fix a few typos. - - * sysdeps/unix/sysv/linux/sigwait.c (do_sigwait): Make sure - SIGSETXID is not blocked. - * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Likewise. - * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Likewise. - * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise. - * sysdeps/generic/sigfillset.c (sigfillset): Don't set SIGSETXID. - - * sunrpc/get_myaddr.c (get_myaddress): Fix test for failing - getifaddrs call. - * sunrpc/pmap_clnt.c (__get_myaddress): Likewise. - * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise. - * sunrpc/Makefile (xtests): Add tst-getmyaddr. - * sunrpc/tst-getmyaddr.c: New file. - - * malloc/arena.c (ptmalloc_init): Allow MALLOC_CHECK_==0 to - disable all checking. - - * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (si_flags): Add - support to get this value. - -2004-09-28 Jakub Jelinek - - * io/utime.h (utime): Allow second argument to be NULL. - -2004-09-28 Ulrich Drepper - - * sysdeps/posix/getaddrinfo.c (gaih_inet): If NAME is a numerical IP - address and AI_CANONNAME is set, return copy of NAME as ai_canonname. - -2004-09-27 Andreas Jaeger - - * sysdeps/i386/dl-machine.h (elf_machine_rela_relative): Replace - static inline by auto inline, add always_inline attribute. - (elf_machine_rel): Likewise. - (elf_machine_rela): Likewise. - (elf_machine_lazy_rel): Likewise. - (elf_machine_lazy_rela): Likewise. - (elf_machine_rel_relative): Likewise. - -2004-09-27 Ulrich Drepper - - * sunrpc/xdr_intXX_t.c: Add xdr_quad_t and xdr_u_quad_t aliases. - * sunrpc/rpc/xdr.h: Declare xdr_quad_t and xdr_u_quad_t. - * sunrpc/rpc_parse.c (get_type): Use "quad_t" for TOK_HYPER. - Otherwise isvectordef will loop infinitely if typedef hyper int64_t - is seen. - (unsigned_dec): Use "u_quad_t" for similar reasons. - * sunrpc/Versions: Export xdr_quad_t and xdr_u_quad_t. - -2004-09-27 Roland McGrath - - * sysdeps/generic/bits/waitstatus.h (__WIFSIGNALED): Simplify bit - twiddling in last change. - - * posix/tst-waitid.c (do_test): Add tests for waitpid with WCONTINUED. - - [BZ #409] - * posix/sys/wait.h [__WIFCONTINUED] (WIFCONTINUED): New macro. - * stdlib/stdlib.h [__WIFCONTINUED] (WIFCONTINUED): New macro. - * sysdeps/generic/bits/waitstatus.h (__W_CONTINUED): New macro. - [WCONTINUED] (__WIFCONTINUED): New macro. - (__WIFSIGNALED): Rewritten to exclude __W_CONTINUED value, and have no - branches. - - * sysdeps/unix/sysv/linux/waitid.c (do_waitid): Add fifth argument to - all three syscall uses, not just one! - -2004-09-26 Richard Henderson - - * sysdeps/alpha/alphaev6/memcpy.S: Mark .prologue. - * sysdeps/unix/alpha/sysdep.h (LEAF, ENTRY): Align entry points - to 16 byte boundaries. - -2004-09-26 Ulrich Drepper - - * elf/readlib.c (process_file): Before complaining about too-short - file, check that it potentially be an ELF file. Also complain about - empty files. [BZ #151]. - - * scripts/test-installation.pl: Fix ld.so recognition for new - LD_TRACE_LOADED_OBJECTS output format. - Patch by [BZ #407]. - - * elf/dl-support.c (_dl_non_dynamic_init): Fix cleaning of - environment. [BZ #384] - - * sunrpc/clnt_udp.c (is_network_up): Use getifaddrs instead of ioctl. - * sunrpc/get_myaddr.c (get_myaddress): Likewise. - * sunrpc/pmap_clnt.c (__get_myaddress): Likewise. - * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise. Change interface - to avoid buffer overrun and remove now useless parameters. - (clnt_broadcast): Adjust caller. [BZ #381]. - - * sysdeps/generic/s_fdim.c: Handle +inf/+inf - * sysdeps/generic/s_fdimf.c: Likewise. - * sysdeps/generic/s_fdiml.c: Likewise. - * sysdeps/i386/i686/fpu/s_fdim.S: Likewise. - * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise. - * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise. - * sysdeps/powerpc/fpu/s_fdim.c: Likewise. - * sysdeps/powerpc/fpu/s_fdimf.c: Likewise. - * sysdeps/x86_64/fpu/s_fdiml.S: Likewise. - * math/libm-test.inc (fdim_test): Add test case. [BZ #376]. - - * sysdeps/generic/bits/types.h: Fix __SQUAD_TYPE and __UQUAD_TYPE - for compilers without __GLIBC_HAVE_LONG_LONG. [BZ #362] - - * sysdeps/posix/getaddrinfo.c (getaddrinfo): Remove incorrect - requirement on socktype and protocol. - (gaih_inet): If numeric port number is given, return records for all - possible socket types. - * posix/tst-getaddrinfo2.c: New file. - * posix/Makefile (tests): Add tst-getaddrinfo2. [BZ #358] - -2004-09-25 Ulrich Drepper - - * locale/loadlocale.c (_nl_intern_locale_data): Recognize LC_CTYPE - data where _nl_value_type_LC_CTYPE does not contain the type - information. Add range checks. - Reported by John Lumby [BZ #356]. - - * libio/vasprintf.c (_IO_vasprintf): Fix condition to decide - whether to realloc or not. - Reported by Pavel Kankovsky [BZ #346]. - - * intl/dcigettext.c (DCIGETTEXT): Protect tfind/tsearch calls. - * intl/dcigettext.c (_nl_find_msg): Call _nl_load_domain also if - decided < 0. - * intl/finddomain.c (_nl_find_domain): Likewise. - * intl/loadmsgcat.c (_nl_load_domain): Set decided to 1 only once we - are done. First set to -1 to signal initialization is ongoing. - Protect against concurrent callers with recursive lock. - * intl/finddomain.c (_nl_find_domain): Protect calls to - _nl_make_l10nflist. [BZ #322] - - * sysdeps/posix/getaddrinfo.c (getaddrinfo): If determinination of - source address fails, initialized source_addr_len field so that - duplicate address recognition does not copy junk. - -2004-09-25 Jakub Jelinek - - * sysdeps/unix/sysv/linux/i386/setuid.c (__setuid): Remove second - result declaration. - -2004-09-22 Andreas Schwab - - * sysdeps/unix/sysv/linux/ia64/sysdep.h: Adjust whitespace. - -2004-09-24 Ulrich Drepper - - * misc/daemon.c (daemon): Don't succeed if /dev/null cannot be - opened. - - * nis/ypclnt.c (do_ypcall): Add one missing unlock. Simplify the - code a bit. - - * misc/daemon.c (daemon): Define errno in case /dev/null is not - the correct device. - - * nis/ypclnt.c (yp_bind_file): Optimize a bit. Minimal cleanups. - -2004-09-23 Andreas Jaeger - - * locale/weight.h (findidx): Remove static, it's not supported - anymore with GCC 4.0 in a block scope. - * locale/weightwc.h (findidx): Likewise. - * posix/regcomp.c (seek_collating_symbol_entry): Likewise. - (lookup_collation_sequence_value): Likewise. - (build_range_exp): Likewise. - (build_collating_symbol): Likewise. - * iconv/iconvconfig.c (write_output): Likewise. - * elf/do-rel.h (elf_dynamic_do_rel): Likewise. - - * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Remove - static, add always_inline attribute. - (elf_machine_rela): Likewise. - (elf_machine_lazy_rel): Likewise. - - * elf/dynamic-link.h (elf_get_dynamic_info): Make static dependend - on !RESOLVE so that it's not defined in local scope. - -2004-09-23 Kaz Kojima - - * sysdeps/unix/sysv/linux/sh/sysdep.h (INTERNAL_SYSCALL_NCS): Define. - -2004-09-23 Thorsten Kukuk - - * sysdeps/unix/sysv/linux/sys/mount.h: Sync MS_RMT_MASK flag - and BLK* ioctls with linux kernel headers. - -2004-09-23 Ulrich Drepper - - * sysdeps/generic/bits/dlfcn.h: Add RTLD_DEEPBIND. - * elf/dl-object.c (_dl_new_object): Add new parameter mode. If mode - has RTLD_DEEPBIND set add local searchlist before global scope. - * sysdeps/generic/ldsodefs.h (_dl_new_object): Adjust prototype. - * elf/rtld.c: Adjust callers of _dl_new_object. - * elf/dl-load.c: Likewise. - (_dl_map_object_from_fd): If RTLD_DEEPBIND is used, don't do anything - for DF_SYMBOLIC. - * elf/dl-open.c (dl_open_writer): Pass RTLD_DEEPBIND flag on to - _dl_map_object_deps. - * elf/tst-deep1.c: New file. - * elf/tst-deep1mod1.c: New file. - * elf/tst-deep1mod2.c: New file. - * elf/tst-deep1mod3.c: New file. - * elf/Makefile: Add rules to build and run new tests. - - * elf/dl-deps.c: Pretty printing. - -2004-09-23 Jakub Jelinek - - * sysdeps/unix/alpha/sysdep.h (inline_syscall[0-6]): Change name - argument to numbers from syscall names. - (INLINE_SYSCALL1): Pass __NR_##name to inline_syscall##nr. - (INTERNAL_SYSCALL_NCS): Renamed from... - (INTERNAL_SYSCALL_1): ... this. Use INTERNAL_SYSCALL_NCS. - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h - (INTERNAL_SYSCALL_NCS): Define. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h - (INTERNAL_SYSCALL_NCS): Likewise. - * sysdeps/unix/sysv/linux/sparc/sysdep.h (inline_syscall[0-6]): - Change name argument to numbers from syscall names. - (INLINE_SYSCALL, INTERNAL_SYSCALL): Adjust. - (INTERNAL_SYSCALL_NCS): Define. - -2004-09-22 Ulrich Drepper - - * malloc/malloc.c (malloc_printerr): Use syslog if writev failed. - - * string/string.h: Add __nonnull annotations. - * stdlib/stdlib.h: Likewise. - -2004-09-20 H.J. Lu - - * sysdeps/unix/sysv/linux/ia64/sysdep.h (DO_INLINE_SYSCALL): - Renamed to ... - (DO_INLINE_SYSCALL_NCS): This. - (DO_INLINE_SYSCALL): New. - (INLINE_SYSCALL): Updated. - (INTERNAL_SYSCALL_NCS): Updated. - -2004-09-21 Ulrich Drepper - - * elf/sprof.c (load_shobj): Add support for reading symbol table - from debuginfo file. - - * elf/ldd.bash.in: Fix syntax errors. - -2004-09-20 Ulrich Drepper - - * sysdeps/unix/sysv/linux/dl-execstack.c - (_dl_make_stack_executable): Remove some duplication. - - * nscd/nscd.c (options): Mark S option as hidden. - (parse_opt): When S option is used, print warning message. - * nscd/grpcache.c (adgrptbyX): Don't handle secure mode. - * nscd/hstcache.c (addhstbyX): Don't handle secure mode. - * nscd/aicache.c (addhstaiX): Don't handle secure mode. - * nscd/pwdcache.c (addpwbyX): Don't handle secure mode. - -2004-09-20 Roland McGrath - - * elf/dl-load.c (__stack_prot): Only use PROT_GROWSUP/PROT_GROWSDOWN - in initializer #if defined. - -2004-09-18 Paul Eggert - - [BZ #391] - * stdlib/getsubopt.c: Merge fixes from gnulib. - (__strchrnul) [!_LIBC]: Define and include "strchrnul.c". - (getsubopt): Use prototypes, not K&R style. - Fix bug: memcmp(A,B,N) was being invoked on a memory block B - whose size might be smaller than N. Use strncmp to avoid the bug. - -2004-09-20 Ulrich Drepper - - * configure.in: If selinux has not explictly been requested, don't - comment on it missing. - - * elf/dl-load.c: Define __stack_prot. - * sysdeps/unix/sysv/linux/dl-execstack.c: Don't define - __stack_prot here, just declare it. - -2004-09-20 Jakub Jelinek - - * configure.in (libc_cv_z_relro): Only set to yes if linker script - contains DATA_SEGMENT_RELRO_END. - -2004-09-20 Ulrich Drepper - - * elf/dl-load.c (_dl_map_object_from_fd): Add some error checking. - Reorder code slightly. - * elf/rtld.c (dl_main): No need to check whether l_info[DT_HASH] - is non-null, _dl_setup_hash will do that. - -2004-09-19 Ulrich Drepper - - * sysdeps/unix/sysv/linux/setegid.c [HAVE_PTR__NPTL_SETXID]: Call - callback to set IDs in all other threads as well. - * sysdeps/unix/sysv/linux/seteuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. - * sysdeps/unix/sysv/linux/setuid.c: New file. - * sysdeps/unix/sysv/linux/setgid.c: New file. - * sysdeps/unix/sysv/linux/setreuid.c: New file. - * sysdeps/unix/sysv/linux/setregid.c: New file. - * sysdeps/unix/sysv/linux/setresuid.c: New file. - * sysdeps/unix/sysv/linux/setresgid.c: New file. - * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INTERNAL_SYSCALL_NCS. - * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Use x86 version. - * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Remove setresgid - and setresuid. - * nscd/aicache.c: Use pthread_seteuid_np instead of seteuid. - * nscd/grpcache.c: Likewise. - * nscd/hstcache.c: Likewise. - * nscd/pwdcache.c: Likewise. - - * resolv/res_mkquery.c (res_nmkquery): Fix typo. - -2004-09-18 Ulrich Drepper - - * sysdeps/unisx/sysv/linux/dl-execstack.c: Get protection flag - from memory. - * elf/dl-load.c (_dl_map_object_from_fd): Add PROT_EXEC flag to - __stack_flags. - - * sysdeps/posix/getaddrinfo.c (gaih_inet): Do not use - gethostbyname3_r if we are not looking for the canonical name. - - * resolv/res_mkquery.c (res_nmkquery): Randomize request ID every - time. - -2004-09-18 Roland McGrath - - * sysdeps/unix/sysv/linux/waitid.c (do_waitid): Pass fifth argument to - system call. - -2004-09-17 Ulrich Drepper - - * include/link.h (struct link_map): Add l_used element. - * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_UNUSED. - * elf/rtld.c (process_dl_debug): Recognize unused. - (dl_main): When unused debug flag is set check for unused direct - dependencies. - When printing dependencies and SONAME starts with /, omit the SONAME => - part. - * elf/dl-lookup.c (_dl_lookup_symbol_x): Mark object in which the - symbol has been found as used. - * elf/ldd.bash.in: Add -u option. - -2004-09-18 Jakub Jelinek - - * sysdeps/unix/sysv/linux/nscd_setup_thread.c (setup_thread): - Do nothing if __NR_set_tid_address is not defined. [BZ #390] - -2004-09-17 Ulrich Drepper - - * sysdeps/posix/getaddrinfo.c: Use gethostbyname3_r NSS function - in case it is available. - -2004-09-17 Jakub Jelinek - - * nscd/nscd.c (parse_opt): Write arg string instead of (void *) - key to the socket. - -2004-09-17 Ulrich Drepper - - * misc/sys/cdefs.h: Define __nonnull using nonnull function attribute - for gcc 3.3 and higher. - * io/fcntl.h: Add __nonnull where appropriate. - * io/ftw.h: Likewise. - * io/utime.h: Likewise. - * io/sys/poll.h: Likewise. - * io/sys/sendfile.h: Likewise. - * io/sys/stat.h: Likewise. - * io/sys/statfs.h: Likewise. - * io/sys/statvfs.h: Likewise. - * posix/unistd.h: Likewise. - * catgets/nl_types.h: Likewise. - * crypt/crypt.h: Likewise. - * debug/execinfo.h: Likewise. - -2004-09-16 Ulrich Drepper - - * posix/glob.h: Remove cruft to make header usable outside glibc. - The maintenance headache is too big. - - * configure.in: Add test for required SELinux features. - * config.make.in: Add have-selinux entry. - * config.h.in: Add HAVE_SELINUX entry. - * nscd/Makefile (nscd-modules): Add selinux. - (CFLAGS-selinux.c): Add -fpie. - Define selinux-LIBS and use in link line. - * nscd/connections.c (handle_request): Check access SELinux permissions - before processing request. - * nscd/nscd.c (main): Initialize selinux_enabled and stop avc thread. - * nscd/nscd_stat.c: Transmit and print AVC statistics. - * nscd/selinux.c: New file. - * nscd/selinux.h: New file. - Patch mostly by Matthew Rickard . - -2004-09-16 Jakub Jelinek - - * nscd/nscd_helper.c (__nscd_unmap, get_mapping): Use __munmap - instead of munmap. - - * nscd/Makefile (CFLAGS-aicache.c): Set to -fpie. - -2004-09-16 Thorsten Kukuk - - * sysdeps/posix/getaddrinfo.c (gaih_inet): Check - __nss_not_use_nscd_hosts variable if nscd should be used or not. - -2004-09-16 Ulrich Drepper - - * nscd/nscd_proto.h: Define NSS_NSCD_RETRY. - Add __nscd_getai prototype. - * nss/getXXbyYY_r.c: Remode definition of NSS_NSCD_RETRY. - * nscd/nscd-client.h: Remove __nscd_getai prototype. - * nscd/nscd_getai.c: Include nscd_proto.h. - - * elf/ldd.bash.in: Add support for SELinux environments. - Patch by Stephen Smalley . - -2004-09-16 Roland McGrath - - * configure.in (--with-headers): Let argument contain a : separated - list of directories to use, not just one. - * configure: Regenerated. - -2004-09-15 Richard Henderson - - * sysdeps/alpha/fpu/libm-test-ulps: Update. - * scripts/data/c++-types-alpha-linux-gnu.data: New file. - -2004-09-15 Ulrich Drepper - - * nscd/aicache.c: Prefer using gethostbyname3_r NSS callback to also - get ttl and canonical name. Use these two values. - * resolv/Versions: Export _nss_dns_gethostbyname3_r from libnss_dns. - * resolv/nss_dns/dns-host.c (getanswer_r): Take two new parameters. - If nonnull fill with TTL and pointer to canonical name respectively. - (_nss_dns_gethostbyaddr_r): Pass NULL in new parameters of getanswer_r. - (_nss_dns_gethostbyname2_r): Just wrapper around - _nss_dns_gethostbyname3_r. - (_nss_dns_gethostbyname3_r): Renamed from _nss_dns_gethostbyname2_r. - Take two new parameters which as passed to getanswer_r. - - * nscd/Makefile (rountines): Add nscd_getai. - (nscd-modules): Add aicache. - * nscd/aicache.c: New file. - * nscd/nscd_getai.c: New file. - * nscd/cache.c (prune_cache): Handle GETAI request type. - * nscd/connections.c: Add GETAI support in request handling. - * nscd/nscd-client.h (request_type): Add GETAI. - Define ai_response_header and struct nscd_ai_result types. - (struct datahead): Add aidata field. - Declare __nscd_getai. - * nscd/nscd.c: Add getaddrinfo definition to catch problems. - * nscd/nscd.h: Declare addhstai and readdhstai. - - * sysdeps/posix/getaddrinfo.c: Add support for using cached results. - * posix/Makefile (CFLAGS-getaddrinfo.c): Add -DUSE_NSCD. - - * nscd/nscd-client.h (struct datahead): Use uint8_t instead of bool. - -2004-09-14 Ulrich Drepper - - * misc/sys/cdefs.h: Remove debugging text from __P and __PMT. - -2004-09-13 Ulrich Drepper - - * misc/sys/cdefs.h: Restore old definition of __P. - * csu/munch.awk: Remove uses of __P and __PMT. - * gmon/gmon.c: Likewise. - * hesiod/hesiod.h: Likewise. - * include/stdio.h: Likewise. - * io/fts.c: Likewise. - * libio/genops.c: Likewise. - * libio/libioP.h: Likewise. - * libio/fileops.c: Likewise. - * libio/iolibio.h: Likewise. - * libio/libio.h: Likewise. - * libio/memstream.c: Likewise. - * libio/oldfileops.c: Likewise. - * libio/oldstdfiles.c: Likewise. - * libio/iopopen.c: Likewise. - * libio/vsnprintf.c: Likewise. - * libio/vswprintf.c: Likewise. - * libio/wgenops.c: Likewise. - * libio/oldiopopen.c: Likewise. - * locale/programs/xmalloc.c: Likewise. - * locale/programs/xstrdup.c: Likewise. - * malloc/mtrace.c: Likewise. - * misc/getttyent.c: Likewise. - * misc/getusershell.c: Likewise. - * nis/rpcsvc/ypupd.h: Likewise. - * posix/fnmatch.h: Likewise. - * posix/glob.h: Likewise. - * resolv/arpa/nameser.h: Likewise. - * resolv/gethnamaddr.c: Likewise. - * resolv/resolv.h: Likewise. - * resolv/inet_net_ntop.c: Likewise. - * resolv/inet_net_pton.c: Likewise. - * resolv/res_init.c: Likewise. - * resolv/nss_dns/dns-network.c: Likewise. - * stdio-common/vfprintf.c: Likewise. - * stdio-common/reg-printf.c: Likewise. - * sysdeps/generic/chflags.c: Likewise. - * sysdeps/generic/fchflags.c: Likewise. - * sysdeps/generic/glob.c: Likewise. - * sysdeps/generic/printf_fphex.c: Likewise. - * sysdeps/generic/memcmp.c: Likewise. - * sysdeps/generic/memcopy.h: Likewise. - * sysdeps/generic/morecore.c: Likewise. - * sysdeps/generic/sstk.c: Likewise. - * sysdeps/posix/sigvec.c: Likewise. - * sysdeps/posix/ttyname_r.c: Likewise. - * sysdeps/standalone/arm/bits/errno.h: Likewise. - * sysdeps/standalone/standalone.h: Likewise. - * sysdeps/standalone/i386/force_cpu386/brdinit.c: Likewise. - * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise. - * sysdeps/unix/arm/start.c: Likewise. - * sysdeps/unix/bsd/sigaction.c: Likewise. - * sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise. - * sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise. - * sysdeps/unix/bsd/sun/sunos4/wait4.c: Likewise. - * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: Likewise. - * sysdeps/unix/bsd/ultrix4/sysconf.c: Likewise. - * sysdeps/unix/sparc/start.c: Likewise. - * sysdeps/unix/sysv/getdents.c: Likewise. - * sysdeps/unix/sysv/irix4/fpathconf.c: Likewise. - * sysdeps/unix/sysv/irix4/getgroups.c: Likewise. - * sysdeps/unix/sysv/irix4/getpriority.c: Likewise. - * sysdeps/unix/sysv/irix4/getrusage.c: Likewise. - * sysdeps/unix/sysv/irix4/pathconf.c: Likewise. - * sysdeps/unix/sysv/irix4/setgroups.c: Likewise. - * sysdeps/unix/sysv/irix4/sigtramp.c: Likewise. - * sysdeps/unix/sysv/irix4/start.c: Likewise. - * sysdeps/unix/sysv/irix4/sysconf.c: Likewise. - * sysdeps/unix/sysv/sco3.2.4/__setpgid.c: Likewise. - * sysdeps/unix/sysv/sco3.2.4/getgroups.c: Likewise. - * sysdeps/unix/sysv/sysv4/__getpgid.c: Likewise. - * sysdeps/unix/sysv/sysv4/__setpgid.c: Likewise. - * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise. - * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise. - * sysdeps/unix/sysv/sysv4/sethostname.c: Likewise. - * sysdeps/unix/sysv/sysv4/setsid.c: Likewise. - * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise. - * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: Likewise. - * time/tzset.c: Likewise. - * time/strftime_l.c: Likewise. - * time/strptime_l.c: Likewise. - * crypt/md5.h: Likewise. - -2004-09-13 Andreas Jaeger - - * configure.in: Support GCC 4.x. - * configure: Regenerated. - -2004-09-13 Thorsten Kukuk - - * nscd/nscd_stat.c: Don't access dbs[cnt].head for disabled services. - - * nscd/nscd.init: Fix path to socket. - -2004-09-12 Ulrich Drepper - - * nscd/nscd_helper.c (get_mapping): Correctly check cmsg length. - Avoid file descriptor leak in case of size mismatch. - - * nscd/nscd-client.h: Fix database structure layout for biarch. - * nscd/mem.c (gc): Add casts to avoid warnings. - - * nss/getent.c: Don't preconstruct help message. Do it only when - needed. - - * locale/programs/locale.c: Simplify help message printing. - -2004-09-12 Roland McGrath - - * sysdeps/mach/hurd/i386/init-first.c (init1) [! SHARED]: Add decls - missing in last change. - -2004-09-11 Thorsten Kukuk - - * nis/nss_compat/compat-grp.c: Check that buflen is greater zero - before writing data into the buffer with negative offset. - * nis/nss_compat/compat-initgroups.c: Likewise. - * nis/nss_compat/compat-pwd.c: Likewise. - * nis/nss_compat/compat-spwd.c Likewise. - -2004-09-12 Ulrich Drepper - - * misc/syslog.c (vsyslog): Fix copying of PID in case of - out-of-memory situation. [BZ #365]. - - * sysdeps/alpha/fpu/bits/mathinline.h: Use __NTH instead of - __THROW in inline function definitions. - - * posix/spawn.h [__USE_GNU]: Define POSIX_SPAWN_USEVFORK. - * posix/spawnattr_setflags.c: Check whether any unknown bit is set - in FLAGS parameter and fail if this is the case. - * sysdeps/posix/spawni.c: Use vfork if POSIX_SPAWN_USEVFORK flag is - set. - - * nscd/pwdcache.c (cache_addpw): Sync also negative results to disk. - * nscd/grpcache.c (cache_addgr): Likewise. - * nscd/hstcache.c (cache_addhst): Likewise. - -2004-09-11 Roland McGrath - - * sysdeps/mach/hurd/i386/init-first.c (init1) [! SHARED]: - Set _dl_phdr and _dl_phnum. - (init1): When bootstrap task, bail early and never examine *D. - -2004-09-11 Alfred M. Szmidt - - * sysdeps/mach/hurd/i386/tls.h (__i386_set_gdt) [!HAVE_I386_SET_GDT]: - Cast THR, SEL and DESC to `void'. - -2004-09-11 Ulrich Drepper - - * nscd/connections.c (nscd_run): Call setup_thread only for enabled - databases. - - * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Use __NTH for __cmsg_nxthdr. - -2004-09-10 Ulrich Drepper - - * nscd/nscd.c (pagesize_m1): New variable. - (main): Initialize it. - * nscd/nscd.h: Declare pagesize_m1. - * nscd/hstcache.c: Pass correctly aligned address to msync. - * nscd/grpcache.c: Likewise. - * nscd/pwdcache.c: Likewise. - -2004-09-10 Kaz Kojima - - * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Decrement - __nwaiters. If pthread_cond_destroy has been called and this is - the last waiter, signal pthread_cond_destroy caller and avoid - using the pthread_cond_t structure after unlock. - * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise. - -2004-09-10 Ulrich Drepper - - * sysdeps/unix/sysv/linux/kernel-features.h: Don't define - __ASSUME_CLONE_STOPPED. - -2004-09-10 Jakub Jelinek - - * misc/sys/cdefs.h (__REDIRECT_NTH): Change order of __THROW and - __asm__ for C++. [BZ #377] - -2004-09-10 Ulrich Drepper - - * nscd/nscd_stat.c: Improve output by also printing .shared and - .persistent. - - * nscd/connections.c: Allow cache sharing to be really disabled. - -2004-09-10 Jakub Jelinek - - * malloc/malloc.c (_int_free): Only do arena boundary check for - contiguous arenas. - -2004-09-10 Kazuhiro Inaoka - - * stdlib/longlong.h [__M32R__] (add_ssaaaa, sub_ddmmss): Fix broken - instruct operands. - * elf/elf.h: Add R_M32R_* relocs. - -2004-09-09 Ulrich Drepper - - * misc/sys/cdefs.h: Despite what the gcc manual says, gcc 3.2 - seems not to support the nothrow attribute. Use it only for gcc - 3.3 and higher. - - * malloc/hooks.c (top_check): Print top chunk corruption as normal - error message. - - * malloc/malloc.c (malloc_printerr): Don't make informational - message look like error message. - -2004-09-09 Andreas Jaeger - - * nscd/Makefile (CFLAGS-nscd_setup_thread.c): Set to -fpie. - -2004-09-08 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/socket.h (__SCM_CONNECT): Removed. - - * malloc/malloc.c (_int_free): Add inexpensive double free and - memory corruption tests. - (malloc_printf_nc): Renamed to malloc_printerr. Second parameter - is no format string anymore. Don't use stdio. Adjust all callers. - * malloc/hooks.c: Adjust malloc_printf_nc callers. - -2004-09-08 Roland McGrath - - * malloc/mcheck.c: Don't use __P. - Use prototypes definitions for static functions. - -2004-09-08 Ulrich Drepper - - * sysdeps/ia64/fpu/bits/mathinline.h: Use __NTH instead of __THROW. - -2004-09-08 Ulrich Drepper - Jakub Jelinek - - * nscd/nscd-client.h: Add a few #includes. - - * nscd/Makefile (nscd-modules): Add nscd_setup_thread. - * nscd/connections.c (nscd_run): Call setup_thread for maintenance - threads. - * nscd/nscd-client.h (struct database_pers_head): Add - nscd_certainly_running field. - * nscd/nscd.h: Declare setup_thread. - * nscd/nscd_helper.c (__nscd_get_map_ref): Avoid the time test if - nscd_certainly_running is nonzero. - * sysdeps/generic/nscd_setup_thread.c: New file. - * sysdeps/unix/sysv/linux/nscd_setup_thread.c: New file. - -2004-09-08 Ulrich Drepper - - * nscd/connections.c: Implement r/o sharing of nscd's cache with client - processes via shared memory. - * nscd/nscd-client.h: Likewise. - * nscd/nscd.h: Likewise. - * nscd/nscd_conf.c: Likewise. - * nscd/nscd_getgr_r.c: Likewise. - * nscd/nscd_getpw_r.c: Likewise. - * nscd/nscd_gethst_r.c: Likewise. - * nscd/nscd.conf: Add new config parameters. - * nscd/Makefile (aux): Add nscd_helper. - * nscd/nscd_helper.c: New file. - * nscd/mem.c (gc): Indicate beginning and end of the gc cycle. - - * nscd/hstcache.c: Simplify a lot. We cache only the request itself, - no derived information. - * connections.c (nscd_init): Fix bug in testing size of the persistent. - - * nis/Makefile (aux): Add nis_hash. - * nis/nis_hash.c: New file. Split out from nis_util.c. - * nis/nis_util.c: Move __nis_hash code in separate file. - - * csu/tst-atomic.c: Improve atomic_increment_val test which would - not have found a ppc bug. - - * sysdeps/s390/fpu/bits/mathinline.h: Remove unnecessary includes. - - * malloc/arena.c: Remove __MALLOC_P uses. - * malloc/malloc.c: Likewise. - - * malloc/mtrace.c: Remove __P uses. - * malloc/mcheck-init.c: Likewise. - -2004-09-07 Jakub Jelinek - - * sysdeps/powerpc/powerpc64/configure.in: New file. - * config.h.in (USE_PPC64_OVERLAPPING_OPD): Add. - * configure.in (HAVE_ASM_GLOBAL_DOT_NAME): Remove. - * sysdeps/powerpc/powerpc64/sysdep.h: Formatting. - (OPD_ENT, BODY_LABEL, ENTRY_1, ENTRY_2, END_2, DOT_PREFIX, - BODY_PREFIX): Define. - (ENTRY, DOT_LABEL, END, TRACEBACK, END_GEN_TB, EALIGN): Support - HAVE_ASM_GLOBAL_DOT_NAME or no dot symbols, - USE_PPC64_OVERLAPPING_OPD or never overlapping .opd entries. - * sysdeps/powerpc/powerpc64/dl-machine.h: Include sysdep.h. - (TRAMPOLINE_TEMPLATE, RTLD_START): Use the new sysdep.h macros. - -2004-09-07 Ulrich Drepper - - * malloc/malloc.h: Don't define __THROW if it is already defined. - - * sysdeps/powerpc/bits/atomic.h (atomic_increment): Define. - (atomic_decrement): Define. - - * sysdeps/powerpc/bits/atomic.h: Implement atomic_increment_val and - atomic_decrement_val. - * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise. - * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise. - - * csu/tst-atomic.c (do_test): Add tests of atomic_increment_val - and atomic_decrement_val. - - * include/atomic.h: Define atomic_increment_val, atomic_decrement_val, - and atomic_delay is not already defined. - * sysdeps/i386/i486/bits/atomic.h: Define atomic_delay. - * sysdeps/x86_64/bits/atomic.h: Likewise. - - * miscd/sys/cdefs.h (__NTH): New macro. - (__THROW): Define using nothrow attribute for C code and gcc >= 3.2. - (__REDIRECT_NTH): New macro. - * argp/argp.h: Use __NTH and __REDIRECT_NTH where necessary. - * ctype/ctype.h: Likewise. - * dirent/dirent.h: Likewise. - * io/fcntl.h: Likewise. - * io/sys/sendfile.h: Likewise. - * io/sys/stat.h: Likewise. - * io/sys/statfs.h: Likewise. - * io/sys/statvfs.h: Likewise. - * libio/bits/stdio.h: Likewise. - * misc/sys/mman.h: Likewise. - * posix/unistd.h: Likewise. - * resource/sys/resource.h: Likewise. - * rt/aio.h: Likewise. - * signal/signal.h: Likewise. - * stdlib/stdlib.h: Likewise. - * string/argz.h: Likewise. - * string/string.h: Likewise. - * sysdeps/generic/inttypes.h: Likewise. - * sysdeps/i386/fpu/bits/mathinline.h: Likewise. - * sysdeps/powerpc/fpu/bits/mathinline.h: Likewise. - * sysdeps/s390/fpu/bits/mathinline.h: Likewise. - * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise. - * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/bits/sys/sysmacros.h: Likewise. - * wcsmbs/wchar.h: Likewise. - - * sysdeps/generic/glob.c: Use __PMT isntead of __P where appropriate. - - * resolv/gethnamaddr.c (getanswer): Remove __P use in variable - definition. - - * io/sys/poll.h: Remove __THROW from poll prototype, it's a - cancellation point. - - * io/fts.c (fts_open): Remove uses of __P. - - * include/stdlib.h: No need to use __THROW in this header. - -2004-09-06 Roland McGrath - - * sysdeps/mach/hurd/dl-sysdep.c (__writev): Does use assert on FD - validity, since __assert_fail gets to here anyway. Just fail. - -2004-09-06 Ulrich Drepper - - * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix problem with - AF_UNSPEC lookup with AI_CANONNAME of name which has only IPv6 - addresses. - -2004-09-05 Richard Henderson - - * sysdeps/alpha/fpu/fraiseexcpt.c: Remove file. - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_IEEE_RAISE_EXCEPTION): New. - * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.c: New file. - * sysdeps/unix/sysv/linux/alpha/kernel_sysinfo.h: New file. - * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Use it. - * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise. - -2004-09-05 Richard Henderson - - * sysdeps/alpha/div.S: Save and restore FPCR around fp operations. - * sysdeps/alpha/divl.S, sysdeps/alpha/divq.S, sysdeps/alpha/divqu.S, - sysdeps/alpha/ldiv.S, sysdeps/alpha/reml.S, sysdeps/alpha/remq.S, - sysdeps/alpha/remqu.S: Likewise. - * sysdeps/alpha/div_libc.h (FRAME): Increase to 64. - -2004-09-05 Ulrich Drepper - - * nscd/cache.c (cache_add): Correctly log GETHOSTBYADDR and - GETHOSTBYADDRv6 requests. - -2004-09-04 Ulrich Drepper - - * nscd/pwdcache.c (cache_addpw): Use correct key length in - cache_add calls. - * nscd/grpcache.c (cache_addgr): Likewise. - -2004-09-03 Alfred M. Szmidt - - * sysdeps/mach/hurd/i386/tls.h (THREAD_DTV): Changed type of _DTV - to `dtv_t *'. - -2004-09-03 Ulrich Drepper - - * nscd/nscd.c (parse_opt): Use writev instead of two write for - invalidate command. - -2004-09-02 Ulrich Drepper - - * nscd/connections.c (nscd_run): Check early for invalid request types. - -2004-09-02 Roland McGrath - - * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): New macro. - (INSTALL_NEW_DTV, THREAD_DTV): Rewritten to fetch the right word. - (THREAD_SELF): New macro. - -2004-09-02 Steven Munroe - - [BZ #357] - * stdlib/tst-setcontext.c (test_stack): Added test for stack clobber. - (main): Call test_stack. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S - (__getcontext): Push stack frame then save parms in local frame. - Improve instruction scheduling. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S - (__swapcontext): Likewise. - -2004-09-01 Andreas Schwab - - * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h [g++ >= 3.5]: Use - __builtin_offsetof. - -2004-09-01 Jakub Jelinek - - [BZ #361] - * posix/fnmatch_loop.c (FCT): For backslash between brackets, branch - to normal_bracket after fetching the next character. - * posix/tst-fnmatch.input: Add 25 new tests. - Reported by Markus Oberhumer . - -2004-09-01 Ulrich Drepper - - * elf/rtld.c (dl_main): First check existence of ld.so.preload - with access. - -2004-09-01 Roland McGrath - - * sysdeps/unix/sysv/linux/bits/waitflags.h - (WSTOPPED, WEXITED, WCONTINUED, WNOWAIT): New macros. - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_WAITID_SYSCALL): - New macro. - * sysdeps/unix/sysv/linux/waitid.c: New file. Use new syscall when - available, or fall back to the waitpid-based generic code. - -2004-08-14 Alfred M. Szmidt - - * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Let gcc - clobber the `ebp' register. - * sysdeps/mach/hurd/i386/Makefile (CFLAGS-init-first.c): Removed. - Reverts change from 2004-05-07 by Jeroen Dekkers. - - * sysdeps/mach/hurd/i386/init-first.c (init): Changed the type of - NEWSP from `void *' to `int *'. Changed all casts accordingly. - -2004-08-31 Jakub Jelinek - - * wcsmbs/wcsmbsload.c (__wcsmbs_getfct): Move attribute_hidden - before return type. - * locale/localename.c (__current_locale_name): Likewise. - -2004-08-30 Roland McGrath - - * scripts/extract-abilist.awk: If `lastversion' variable defined, omit - later sets from output. - * Makerules (check-abi): Pass option to set that with value of - LIB-abi-frozen variable if one is set. - - * abilist/libcidn.abilist: New file (empty). - -2004-08-30 Jakub Jelinek - - * posix/bits/posix1_lim.h (_POSIX_CHILD_MAX, _POSIX_OPEN_MAX): If - not __USE_XOPEN2K, use the Unix98 mandated values. - -2004-08-27 Roland McGrath - - * configure.in (usetls): Default to yes. - * configure: Regenerated. - -2004-08-26 Roland McGrath - - * configure.in (add_ons_automatic): New variable, set to yes or no - indicating --enable-add-ons with no explicit list. - (running add-on fragments): Allow a fragment to modify $libc_add_on - and have that affect its place in the list of add-ons to use. - * configure: Regenerated. - -2004-08-26 Ulrich Drepper - - * nscd/cache.c: Major rewrite. The data is now optionally kept in - a mmaped memory region which is automatically mirrored on disk. - This implements persistent data storage. The Memory handled - needed to be completely revamped, it now uses a garbage collection - mechanism instead of malloc. - * nscd/connections.c: Likewise. - * nscd/nscd.c: Likewise. - * nscd/nscd.h: Likewise. - * nscd/nscd_conf.c: Likewise. - * nscd/nscd_stat.c: Likewise. - * nscd/grpcache.c: Likewise. - * nscd/hstcache.c:: Likewise. - * nscd/pwdcache.c:: Likewise. - * nscd/Makefile: Add rules to build mem.c. - * nscd/mem.c: New file. - * nscd/nscd.conf: Describe new configuration options. - -2004-08-26 Kaz Kojima - - * sysdeps/unix/sysv/linux/mips/pread.c: Include sgidefs.h only if - NO_SGIDEFS_H isn't defined. - * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. - - * sysdeps/unix/sysv/linux/sh/pread.c: Define NO_SGIDEFS_H and - _MIPS_SIM. - * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise. - -2004-08-26 Ulrich Drepper - - * nscd/connections.c (nscd_run): atomic_increment was not missing. - - * sysdeps/gnu/Makefile (libdl-sysdep_routines): Don't add eval. - Patch by Greg Schafer. - -2004-08-25 Richard Henderson - - * sysdeps/alpha/elf/start.S (_start): Use $15 as frame unwind - instead of $31. Zero $15. - * sysdeps/unix/sysv/linux/alpha/clone.S (thread_start): Likewise. - -2004-08-25 Ulrich Drepper - - * sysdeps/powerpc/powerpc64/bits/atomic.h - (__arch_compare_and_exchange_bool_32_acq): Fix case where oldval - is negative. - (__arch_compare_and_exchange_bool_32_rel): Likewise. - - * nscd/connections.c: Make socket nonblocking so that threads - don't get stuck on accept. Fix locking. - - * nscd/grpcache.c (cache_addgr): Use copy of original key in hash - entry with alternative key. - * nscd/pwdcache.c (cache_addpw): Likewise. - -2004-08-25 Richard Sandiford - - * sysdeps/mips/dl-machine.h (_dl_start_user): Don't set - __libc_stack_end. - -2004-08-23 Ulrich Drepper - - * sysdeps/gnu/netinet/udp.h: Cosmetic changes. Remove unnecessary - __BEGIN_DECLS/__END_DECLS. - -2004-08-23 Andreas Jaeger - - [BZ #341] - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOATIME): Define. - * sysdeps/unix/sysv/linux/arm/bits/fcntl.h (O_NOATIME): Likewise. - * sysdeps/unix/sysv/linux/cris/bits/fcntl.h (O_NOATIME): Likewise. - * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (O_NOATIME): Likewise. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (O_NOATIME): Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (O_NOATIME): Likewise. - * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (O_NOATIME): Likewise. - * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOATIME): Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (O_NOATIME): Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_NOATIME): Likewise. - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (O_NOATIME): Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_NOATIME): Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (O_NOATIME): Likewise. - -2004-08-21 Ulrich Drepper - - * malloc/hooks.c (DEFAULT_CHECK_ACTION): Moved to malloc.c. - (check_action): Likewise. - When printing error messages, use malloc_printf_nc now instead of - fiddling with the streams cancellation flag in every place. - * malloc/malloc.c (DEFAULT_CHECK_ACTION): New definition. Change - default to 3. - (check_action): New variable. - (unlink): Print error message and eventually terminate in case list - is corrupted. - (malloc_printf_nc): New function. Use it in _int_free. - Change proposed by Arjan van de Ven. - - * dlfcn/Makefile: Don't build eval.c anymore. - -2004-08-20 Roland McGrath - - * csu/Makefile ($(objpfx)version-info.h): Use printf in place - of echo -e for POSIX.2 portability. - Reported by Paul Jarc . - -2004-08-19 Ulrich Drepper - - * sysdeps/posix/getaddrinfo.c (gaih_inet): Minor optimizations in - list generation. - - * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use - getcanonname_r function if AI_CANONNAME flag is not set in - request. - - * nis/nss_compat/compat-initgroups.c (getgrent_next_nss): - Initialize mysize with limits only if latter is >= 0. Use mysize - in malloc call. - -2004-08-19 Jakub Jelinek - - * sysdeps/posix/getaddrinfo.c (gaih_inet): Cast canon to (char *) - to avoid warning. - - * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Initialize - status to NSS_STATUS_UNAVAIL. - -2004-08-19 Ulrich Drepper - - * sysdeps/posix/getaddrinfo.c (gaih_inet): Use h->h_name in the - cannoname lookup since it has the FQDN even if the original NAME - value has not. - -2004-08-18 Ulrich Drepper - - * sysdeps/posix/getaddrinfo.c (gaih_inet): Store NAME parameter - pointer in new variable ORIG_NAME and use this pointer when - determination of canonical name failed, not the possibly IDN - translated value of NAME. - -2004-08-17 Ulrich Drepper - - * resolv/resolv.h (RES_DEFAULT): Add RES_NOIP6DOTINT. - * resolv/res_init.c (res_setoptions): Recognize ip6-dotint option. - Reset RES_NOIP6DOTINT flag in this case.. - - * sysdeps/posix/getaddrinfo.c: Fix memory handling of - ai_canonname. - -2004-08-16 Ulrich Drepper - - * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Don't use - CNAME records, we better follow the chain of CNAME records which - can be accomplished with A/AAAA lookups. - -2004-08-15 Roland McGrath - - * sysdeps/unix/sysv/linux/bits/resource.h (enum __rusage_who): - Remove __RUSAGE_BOTH constant and RUSAGE_BOTH macro. - * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise. - -2004-08-15 Roland McGrath - - * sysdeps/i386/i686/Makefile (elide-routines.os): Append hp-timing to - this, not ... - (static-only-routines): ... this. - * sysdeps/ia64/Makefile: Likewise. - * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise. - * sysdeps/sparc/sparc64/Makefile: Likewise. - * sysdeps/x86_64/Makefile: Likewise. - * sysdeps/i386/i686/hp-timing.c: Revert copyright terms change. - * sysdeps/ia64/hp-timing.c: Likewise. - * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Likewise. - * sysdeps/sparc/sparc64/hp-timing.c: Likewise. - - * csu/elf-init.c: Update copyright terms including special exception - for these trivial files, which are statically linked into executables - that use dynamic linking for the significant library code. - * io/fstat.c: Likewise. - * io/fstat64.c: Likewise. - * io/lstat.c: Likewise. - * io/lstat64.c: Likewise. - * io/stat.c: Likewise. - * io/stat64.c: Likewise. - * stdlib/atexit.c: Likewise. - * sysdeps/alpha/elf/initfini.c: Likewise. - * sysdeps/alpha/elf/start.S: Likewise. - * sysdeps/arm/elf/start.S: Likewise. - * sysdeps/cris/elf/start.S: Likewise. - * sysdeps/generic/initfini.c: Likewise. - * sysdeps/generic/mknod.c: Likewise. - * sysdeps/hppa/elf/initfini.c: Likewise. - * sysdeps/hppa/elf/start.S: Likewise. - * sysdeps/i386/elf/start.S: Likewise. - * sysdeps/i386/i686/hp-timing.c: Likewise. - * sysdeps/ia64/elf/initfini.c: Likewise. - * sysdeps/ia64/elf/start.S: Likewise. - * sysdeps/ia64/hp-timing.c: Likewise. - * sysdeps/m68k/elf/start.S: Likewise. - * sysdeps/mach/start.c: Likewise. - * sysdeps/mips/elf/start.S: Likewise. - * sysdeps/powerpc/powerpc32/elf/start.S: Likewise. - * sysdeps/powerpc/powerpc64/elf/start.S: Likewise. - * sysdeps/s390/s390-32/elf/start.S: Likewise. - * sysdeps/s390/s390-32/initfini.c: Likewise. - * sysdeps/s390/s390-64/elf/start.S: Likewise. - * sysdeps/s390/s390-64/initfini.c: Likewise. - * sysdeps/sh/elf/initfini.c: Likewise. - * sysdeps/sh/elf/start.S: Likewise. - * sysdeps/sparc/sparc32/elf/start.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Likewise. - * sysdeps/sparc/sparc64/elf/start.S: Likewise. - * sysdeps/sparc/sparc64/hp-timing.c: Likewise. - * sysdeps/standalone/i386/start.S: Likewise. - * sysdeps/standalone/i960/start.S: Likewise. - * sysdeps/standalone/m68k/m68020/start.S: Likewise. - * sysdeps/unix/arm/start.c: Likewise. - * sysdeps/unix/bsd/osf/alpha/start.S: Likewise. - * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise. - * sysdeps/unix/sparc/start.c: Likewise. - * sysdeps/unix/start.c: Likewise. - * sysdeps/unix/sysv/aix/start.s: Likewise. - * sysdeps/unix/sysv/irix4/start.c: Likewise. - * sysdeps/x86_64/elf/initfini.c: Likewise. - * sysdeps/x86_64/elf/start.S: Likewise. - -2004-08-15 Roland McGrath - - [BZ #227] - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_BRK_PAGE_ROUNDED): New macro. - * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk) - [! __ASSUME_BRK_PAGE_ROUNDED]: Adjust the break up if it falls within - the partial page after the dynamic linker's own data segment. - -2004-08-15 Ulrich Drepper - - * sysdeps/posix/getaddrinfo.c (gaih_inet): Optimize generation of - v4-mapped addresses a bit. - (gethosts): Move alloca out of macro, so that it is done only once. - - * sysdeps/posix/getaddrinfo.c (gaih_addrtuple): Change type of - addr to avoid casts. - (gethosts): Removed. - (gethosts2): Renamed to gethosts. Make it usable for family != - AF_UNSPEC. Fix AI_V4MAPPED. - (gaih_inet): Remove use of old gethosts. Always use what used to be - gethosts2. If entry is found, try to use the same NSS module's - getcanonname_r function. Use gethostbyaddr for AI_CANONNAME only - if getcanonname_r was not available. Fix filtering of AI_V4MAPPED - addresses. Numerous cleanups. - * resolv/nss_dns/dns-canon.c: New file. - * resolv/Makefile (libnss_dns-routines): Add dns-canon. - * resolv/Versions (libnss_dns): Add _nss_dns_getcanonname_r. - - * elf/Makefile: Add rules to build and run tst-dlopenrpath. - * elf/tst-dlopenrpath.c: New file. - * elf/tst-dlopenrpathmod.c: New file. - - * intl/tst-gettext.sh: Adjust for change of de.po file to UTF-8. - * intl/tst-gettext.c: Likewise. - - * nss/getent.c (ahosts_keys_int): Correctly print IPv6 addresses. - - * nss/getent.c: Allow queries for getaddrinfo with AF_INET and - AF_INET6. - -2004-08-14 Ulrich Drepper - - * po/de.po: Update from translation team. - -2004-08-14 Roland McGrath - - * sysdeps/mach/configure: Regenerated. - * sysdeps/mach/hurd/configure: Regenerated. - -2004-08-14 Ulrich Drepper - - * sysdeps/posix/getaddrinfo.c (getaddrinfo): If RFC3484 sorting is - performed, make sure it is still the first entry after sorting - that has the ai_canonname information. - - * sysdeps/posix/getaddrinfo.c (gaih_inet): Really set ai_canonname - only in one entry. - -2004-08-13 Daniel Jacobowitz - - * scripts/output-format.sed: Handle default case of three-argument - OUTPUT_FORMAT. - - * sysdeps/arm/machine-gmon.h (mcount_internal): Mark as - __attribute_used__. - -2004-08-13 Ulrich Drepper - - * nss/getent.c (ahosts_keys): ai_canonname is NULL for all but the - first returned entry. Print name only if not NULL. - - * nis/nss_nis/nis-netgrp.c: Remove locking by using data in struct - __netgrent object passed in instead of global variables. - Optimize. - * nis/nss_nisplus/nisplus-netgrp.c: Remove locking by using data - in struct __netgrent object passed in instead of global variables. - * inet/netgroup.h (struct __netgrent): Add service_user field. - Move cursor in anonymous union, add new field location to that - union. - * inet/getnetgrent_r.c: Extensive rewrite to really enable - concurrent uset of set/get/endnetgrent and innetgr. - Reported by Chuck Simmons. - - * inet/netgroup.h (struct name_list): Replace name pointer with - zero-sized array. - * inet/getnetgrent_r.c: Adjust code for change in name_list - layout. Numerous strdup and free calls removed. - - * elf/sprof.c (read_symbols): When comparing aliases, prefer - non-hidden over hidden symbols and strong over weak symbols - if both don't start with '_'. - - * malloc/malloc.c: Use strong_alias instead of weak_alias wherever - possible. - -2004-08-12 Jakub Jelinek - - * sysdeps/unix/sysv/linux/bits/resource.h: Define non-standard - RUSAGE_ enums as __RUSAGE_ and adjust macros accordingly. - * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise. - Define non-standard RLIMIT_ enums as __RLIMIT_ and adjust macros - accordingly. - -2004-08-11 Andreas Schwab - - * resolv/res_libc.c: Move definition of __res_initstamp ... - * resolv/res_init.c: ... here. - -2004-08-10 GOTO Masanori - - * locale/C-time.c: Change default ERA value from NULL to "". - * locale/tst-C-locale.c: Add test case for ERA keywords. - -2004-08-12 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/resource.h: Define non-standard - RLIMIT__ enums as __RLIMIT_ and adjust macros accordingly. - * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise. - -2004-08-12 Jakub Jelinek - - * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_SIGPENDING, - RLIMIT_MSGQUEUE): Add. - (RLIMIT_NLIMITS, RLIM_NLIMITS): Adjust. - * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIMIT_SIGPENDING, - RLIMIT_MSGQUEUE, RLIMIT_NLIMITS): Add. - (RLIM_NLIMITS): Adjust. - * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIMIT_SIGPENDING, - RLIMIT_MSGQUEUE, RLIMIT_NLIMITS): Add. - (RLIM_NLIMITS): Adjust. - * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_SIGPENDING, - RLIMIT_MSGQUEUE, RLIMIT_NLIMITS): Add. - (RLIM_NLIMITS): Adjust. - -2004-08-12 Jakub Jelinek - - * resolv/res_query.c (__libc_res_nsearch): Protect the debugging - printf with #ifdef DEBUG and RES_DEBUG check. - - * sysdeps/unix/sysv/linux/bits/shm.h: Move __END_DECLS after - __USE_MISC #endif. - * sysdeps/generic/bits/shm.h: Add __BEGIN_DECLS for __getpagesize - declaration. - * sysdeps/gnu/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise. - -2004-08-12 Ulrich Drepper - - * po/ca.po: Update from translation team. - -2004-08-11 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/shm.h: Add __BEGIN_DECLS for - __getpagesize declaration. - -2004-08-11 Roland McGrath - - * configure.in (libc_cv_cpp_asm_debuginfo): Add missing braces around - commands inside &&. - Reported by Andreas Schwab . - * configure: Regenerated. - - * posix/tst-waitid.c (do_test): Ignore SIGCHLD before cleanup SIGKILL. - -2004-08-11 Ulrich Drepper - - * time/tzset.c (tzset_internal): Add new parameter which is - nonzero if called through tzset. Use TZDEFAULT name including - name comparison if the new parameter is zero. This means implicit - tzset calls will not cause files to be opened and read by tzfile.c - all the time. - -2004-08-11 Jakub Jelinek - - * rt/tst-timer2.c (do_test): If timer_create fails, just continue. - * rt/tst-timer4.c (do_test): If one of the timer_create calls fails, - return 1 immediately. - - * time/tzfile.c (__tzfile_read): Free transitions only if it will - not be reused. - - * sysdeps/ieee754/dbl-64/mpa.c: Include . - * sysdeps/ieee754/dbl-64/mpa.h (MAX, MIN): Macros removed. - - * stdio-common/tst-popen.c: Include . - - * resolv/res_send.c (__libc_res_nsend): Only define TMPBUF #if DEBUG. - - * sysdeps/pthread/aio_misc.c (handle_fildes_io): Remove noreturn - attribute. Return NULL instead of calling pthread_exit at the end. - -2004-08-11 Roland McGrath - - * iconvdata/testdata/ISO-2022-JP-3: Regenerated. - -2004-08-10 Alfred M. Szmidt - - * sysdeps/generic/bits/in.h (struct ip_mreq): Remove definition. - -2004-08-10 Jakub Jelinek - - * libio/bits/stdio.h (fread_unlocked): Cast 0 to (size_t). - (fwrite_unlocked): When checking if size * n is <= 8, cast each - argument to size_t individually. Cast n to (void) instead of - (size_t), surround with (), return (size_t) 0 if one of n or size - is 0. [BZ #316] - * stdio-common/Makefile (tests): Add tst-unlockedio. - * stdio-common/tst-unlockedio.c: New test. - -2004-08-09 Roland McGrath - - * manual/install.texi (Supported Configurations): Replace bug-glibc - mention with web URL. - * INSTALL: Regenerated. - * locale/iso-3166.def: Likewise, in comment. - * locale/iso-4217.def: Likewise. - * locale/iso-639.def: Likewise. - * posix/cpio.h: Remove bug reporting comment. - -2004-08-09 Ulrich Drepper - - * libio/bits/stdio.h (fread_unlocked): Add a couple of (size_t) - casts to handle funny calls with floating point argument values - and signed values correctly and without warning. - (fwrite_unlocked): Likewise. [BZ #309] - - * malloc/memusage.c (me): Use creat64, not creat. - * malloc/memusagestat.c: Fix handling of very large sizes. [BZ #285] - Patch by Guy Maor . - - * elf/ldconfig.c (options): Mark parameter option names as - translatable. [BZ #253] Patch by Jakub Bogusz . - - * iconv/gconv_charset.h (strip): Also allow comma which is what is - used to separate options. [BZ #194] - -2004-08-09 Roland McGrath - - * FAQ.in: Refer to web pages instead of bug-glibc. - * FAQ: Regenerated. - - * time/strptime_l.c: #include , `bool' used in last change. - -2004-08-09 Ulrich Drepper - - * time/tzset.c (tzset_internal): If TZ is not set do not compare - old and new tz value since it might be /etc/localtime in both - cases although the file changed. [BZ #154] - Patch by Christian Franke . - - * time/tzfile.c (__tzfile_read): Determine dev/ino of file. - Compare with values of previously opened file. Don't do anything - is they match. - -2004-08-08 Ulrich Drepper - - * elf/dl-load.c (_dl_map_object): If __RTLD_CALLMAP flag is set, - reset loader before the actual loading. - * elf/dl-open.c (dl_open_worker): If file name contains no path - element determine map of caller. Pass caller map in this case to - _dl_map_object. Set __RTLD_CALLMAP in mode. - * include/dlfcn.h (__RTLD_CALLMAP): Define. [BZ #116] - Patch by Greg Wolodkin . - - * misc/syslog.c (openlog_internal): Always try both UDP and TCP. - [BZ #108] Patch mainly by Bjorn Andersson . - - * configure.in: Also recognize i786. [BZ #106] - Patch by . - - * resolv/res_query.c (__libc_res_nsearch): Correctly test whether - name contains any dots. [BZ #95] - - * resolv/res_send.c: Compiling with DEBUG defined works again. - * resolv/gethnamaddr.c (dprintf): Renamed to Dprintf. Adjust all - callers. - - * resolv/tst-leaks.c (TIMEOUT): Define so that if no server is - available the process is not killed. [BZ #41] - - * intl/tst-gettext.c (main): Improve some messages. [BZ #33] - - * time/strptime_l.c (__strptime_internal): Fix handling of %Ey. - [BZ #28] - - * po/sv.po: Update from translation team. - -2004-08-07 Ulrich Drepper - - * inet/netinet/in.h: Add more const to the setipv4soucefilter, - getsourcefilter, and setsourcefilter parameter list. - * sysdeps/generic/setipv4sourcefilter.c: Likewise. - * sysdeps/generic/getsourcefilter.c: Likewise. - * sysdeps/generic/setsourcefilter.c: Likewise. - * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise. - * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise. - * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise. - - * po/tr.po: Update from translation team. - -2004-08-06 Ulrich Drepper - - * iconvdata/jisx0213.h (jisx0213_added_in_2004_p): Fix typo. - Reported by Paolo Bonzini. - -2004-08-06 Jakub Jelinek - - * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add - always_inline. - * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_runtime_setup, - elf_machine_fixup_plt, elf_machine_plt_conflict): Likewise. - - * sysdeps/unix/sysv/linux/netatalk/at.h: Include bits/sockaddr.h - before including linux/atalk.h. - - * resolv/res_libc.c: Include atomic.h. - - * intl/finddomain.c (free_mem): Rename to... - (_nl_finddomain_subfreeres): ... this. Add - __libc_freeres_fn_section. - * intl/loadmsgcat.c (_nl_unload_domain): Add - __libc_freeres_fn_section. - * intl/gettextP.h (_nl_unload_domain): Move into #ifdef _LIBC. - Add attribute_hidden. - (_nl_findomain_subfreeres): New prototype. - * iconv/gconv_db.c (free_mem): Call _nl_findomain_subfreeres. - -2004-07-30 Guido Guenther - - * nss/getent.c (passwd_keys): Use strtoul instead of isdigit to - test if the key is numeric or not. - (group_keys): Likewise. - -2004-08-05 Ulrich Drepper - - * inet/netinet/in.h: Define struct ip_msfilter, IP_MSFILTER_SIZE, - struct group_filter, and GROUP_FILTER_SIZE. - * include/sys/socket.h: Declare __getsockopt. - * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: New file. - * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: New file. - * sysdeps/unix/sysv/linux/setsourcefilter.c: New file. - * sysdeps/unix/sysv/linux/getsourcefilter.c: New file. [BZ #211] - - * po/ko.po: Update from translation team. - -2004-08-04 Jakub Jelinek - - * hesiod/hesiod.c (__hesiod_res_get): Use calloc instead of malloc + - memset. - (__hesiod_res_set): Free nsaddrs. - - * include/resolv.h (__res_maybe_init): Add prototype. - * resolv/resolv.h (struct __res_state): Add _u._ext.initstamp field. - * resolv/Versions (libc): Add __res_maybe_init@@GLIBC_PRIVATE. - * resolv/res_libc.c (__res_initstamp, lock): New variables. - (res_init): Increase __res_initstamp. - (__res_maybe_init): New function. - * resolv/res_init.c (__res_vinit): Initialize _u._ext.initstamp. - * hesiod/hesiod.c (__hesiod_res_get): Use __res_maybe_init instead - of RES_INIT check and {res_ninit,__res_ninit,res_init} call. - * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise. - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r, - _nss_dns_gethostbyaddr_r): Likewise. - * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r, - _nss_dns_getnetbyaddr_r): Likewise. - * resolv/gethnamaddr.c (gethostbyname, gethostbyname2, - gethostbyaddr): Likewise. - * resolv/res_data.c (fp_nquery, res_mkquery, res_mkupdate, - res_isourserver, res_sendsigned, res_update, res_search, - res_querydomain): Likewise. - * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Likewise. - * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise. - * nss/getnssent_r.c (__nss_setent, __nss_endent, __nss_getent_r): - Likewise. - -2004-08-05 Ulrich Drepper - - * sysdeps/posix/getaddrinfo.c (gaih_inet): Set ai_family for - V4-mapped IPv6 addresses and req->ai_family==AF_INET. - Reported by A. Guru . - - * po/sv.po: Update from translation team. - * po/sk.po: Likewise. - * po/pl.po: Likewise. - -2004-08-04 Jakub Jelinek - Ulrich Drepper - - * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Don't read more input - characters than necessary. - -2004-08-05 Ulrich Drepper - - * wcsmbs/Makefile (tests): Add tst-mbsrtowcs. - * wcsmbs/tst-mbsrtowcs.c: New file. - - * po/fr.po: Update from translation team. - -2004-08-04 Jakub Jelinek - - * resolv/inet_pton.c (inet_pton4): Disallow octal numbers. Reported - by A. Guru . [BZ #295] - -2004-08-05 Ulrich Drepper + * rt/Versions (librt): Add mq_*@@GLIBC_2.3.4. + * rt/Makefile (headers): Add mqueue.h and bits/mqueue.h. + (mq-routines): Set. + (librt-routines): Use it. + * rt/mqueue.h: New file. + * include/mqueue.h: New file. + * sysdeps/generic/bits/mqueue.h: New file. + * sysdeps/generic/mq_setattr.c: New file. + * sysdeps/generic/mq_getattr.c: New file. + * sysdeps/generic/mq_notify.c: New file. + * sysdeps/generic/mq_close.c: New file. + * sysdeps/generic/mq_send.c: New file. + * sysdeps/generic/mq_unlink.c: New file. + * sysdeps/generic/mq_receive.c: New file. + * sysdeps/generic/mq_timedreceive.c: New file. + * sysdeps/generic/mq_timedsend.c: New file. + * sysdeps/generic/mq_open.c: New file. + * sysdeps/unix/sysv/linux/bits/local_lim.h (MQ_PRIO_MAX): Define. + * sysdeps/unix/sysv/linux/bits/mqueue.h: New file. + * sysdeps/unix/sysv/linux/syscalls.list: Add mq_timedsend, + mq_timedreceive and mq_setattr. + * sysdeps/unix/sysv/linux/mq_getattr.c: New file. + * sysdeps/unix/sysv/linux/mq_notify.c: New file. + * sysdeps/unix/sysv/linux/mq_close.c: New file. + * sysdeps/unix/sysv/linux/mq_send.c: New file. + * sysdeps/unix/sysv/linux/mq_unlink.c: New file. + * sysdeps/unix/sysv/linux/mq_receive.c: New file. + * sysdeps/unix/sysv/linux/mq_open.c: New file. + +2004-04-09 Andreas Schwab + + * sysdeps/unix/sysv/linux/ia64/sysdep.h (DO_INLINE_SYSCALL): Move + LOAD_ARGS_##nr up front and add LOAD_REGS_##nr. + (LOAD_ARGS_0, LOAD_ARGS_1, LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4) + (LOAD_ARGS_5, LOAD_ARGS_6): Load argument values into temporary + variables. + (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4) + (LOAD_REGS_5, LOAD_REGS_6): New macros to actually load the + syscall argument registers. + + * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INTERNAL_SYSCALL): Add + LOAD_REGS_##nr. + (LOAD_ARGS_0, LOAD_ARGS_1, LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4) + (LOAD_ARGS_5, LOAD_ARGS_6): Load argument values into temporary + variables. + (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4) + (LOAD_REGS_5, LOAD_REGS_6): New macros to actually load the + syscall argument registers. + +2004-04-09 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/sysdep.h (INTERNAL_SYSCALL): Add + LOAD_REGS_##nr. + (LOAD_ARGS_0, LOAD_ARGS_1, LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4) + (LOAD_ARGS_5, LOAD_ARGS_6): Load argument values into temporary + variables. + (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4) + (LOAD_REGS_5, LOAD_REGS_6): New macros to actually load the + syscall argument registers. + +2004-04-09 Thorsten Kukuk + + * sysdeps/s390/ffs.c: Don't add ffsl weak alias on s390x. + +2004-04-09 Steven Munroe + + * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: New file. + +2004-04-08 Ulrich Drepper * po/nl.po: Update from translation team. - * sysdeps/posix/getaddrinfo.c (gaih_inet): Recognize all the IPv4 - numeric address formats inet_addr knows. - (getaddrinfo): Allow AI_NUMERICSERV flag. - If neither IPv4 nor IPv6 interface is present we cannot make any - decision for AI_ADDRCONFIG. Fail if AI_NUMERICSERV is set and the - string is not just a number. Remove useless freeaddrinfo call. - * resolv/netdb.h (AI_NUMERICSERV): Define. - Based on a patch by a.guru@sympatico.ca. - -2004-08-04 Jakub Jelinek +2004-04-04 Ulrich Drepper - * stdlib/strfmon_l.c (__vstrfmon_l): Memset whole info structure - instead of trying to initialize some, but not all, fields one by - one. - * stdio-common/printf_size.c (printf_size): Initialize fb_info - structure with *info instead of trying to initialize some, but not - all, fields from it. - - * nscd/connections.c (handle_request): Check if req->type is in - LASTDBREQ .. LASTREQ range instead of req. - - * locale/programs/linereader.c (lr_create): Initialize - lr->return_widestr to 0. - - * elf/dl-close.c (free_slotinfo): Add __libc_freeres_fn_section. - (free_mem): Call free_slotinfo just once. - - * stdio-common/tst-fmemopen.c (main): Check for MAP_FAILED instead - of NULL. - - * locale/localeinfo.h (_nl_locale_subfreeres): New prototype. - * locale/setlocale.c (free_category): Add __libc_freeres_fn_section. - (free_mem): Rename to _nl_locale_subfreeres. - * iconv/gconv_db.c: Include locale/localeinfo.h. - (free_derivation, free_modules_db): Add __libc_freeres_fn_section. - (free_mem): Call _nl_locale_subfreeres. - * iconv/gconv_dl.c (do_release_all): Add __libc_freeres_fn_section. + * math/test-tgmath.c: Declare compile_testl inly if we will define it. -2004-08-04 Roland McGrath +2004-04-03 Ulrich Drepper - * Makeconfig ($(common-objpfx)config.status): - Fix typo: $(add_ons) -> $(add-ons). - (Makeconfig-add-on): New variable. When doing $(sysdep-makeconfigs) - include, use black magic to get it set to an add-on's name during the - include of the add-on's Makeconfig. + * sysdeps/powerpc/powerpc64/ffsll.c: New file. - * configure.in: Use variable name `libc_add_on' when sourcing add-on - configure fragments, so they can refer to this. - * configure: Regenerated. + * string/test-ffs.c: Also test ffsl and ffsll. -2004-08-04 Roland McGrath - - * posix/tst-waitid.c (test_child): Sleep a second before stopping. - (do_test): Bump sleep to three seconds. - (sigchld, check_sigchld): New functions. - (do_test): Handle SIGCHLD and check for getting the right details. + * sysdeps/powerpc/ffs.c: Don't define ffsl for ppc64. - * posix/tst-waitid.c (do_test): Kill the child process when bailing - out early on some failure. - [WCONTINUED]: Test WCONTINUED functionality. + * sysdeps/powerpc/powerpc64/bits/atomic.h: Never use matching + constraints for asm mem parameters. + * sysdeps/powerpc/bits/atomic.h: Likewise. -2004-08-03 Ulrich Drepper + * sysdeps/powerpc/elf/libc-start.c: No need for a separate + function for __aux_init_cache. - * nscd/connections.c (handle_request): Print more descriptive - message for invalid request types. + * inet/test-ifaddrs.c: Fight warnings. -2004-08-02 Jakub Jelinek + * argp/argp-help.c: Fight warnings. - * iconvdata/ibm932.c (BODY): Avoid binary search for ch >= 0xffff. - Always treat high as highest number in range + 1. - * iconvdata/ibm943.c (BODY): Likewise. + * include/time.h: Declare __difftime. -2004-07-31 Bruno Haible + * sysdeps/unix/sysv/linux/internal_statvfs.c: Restructure to avoid + duplication in 64-bit version. + * sysdeps/unix/sysv/linux/wordsize-64/internal_statvfs64.c: New file. - * iconvdata/JISX0213.TXT: Updated to JISX0213 plane 1 version 2004. - * iconvdata/jisx0213.c (__jisx0213_to_ucs_main, - __jisx0213_to_ucs_pagestart, __jisx0213_from_ucs_level1, - __jisx0213_from_ucs_level2): Regenerated. - * iconvdata/jisx0213.h (jisx0213_added_in_2004_p): New function. - * iconvdata/iso-2022-jp-3.c (JISX0213_1_2000_set): Renamed from - JISX0213_1_set. - (JISX0213_1_2004_set): New enum value. - (BODY for FROM_LOOP): Treat ESC $ ( Q like ESC $ ( O. - (BODY for TO_LOOP): For JISX 0213 plane 1 characters, emit ESC $ ( O - when possible, ESC $ ( Q when needed. - * iconvdata/testdata/EUC-JISX0213: Add the 10 new characters. - * iconvdata/testdata/EUC-JISX0213..UTF8: Update. - * iconvdata/testdata/SHIFT_JISX0213: Add the 10 new characters. - * iconvdata/testdata/SHIFT_JISX0213..UTF8: Update. - * iconvdata/testdata/ISO-2022-JP-3: Add the 10 new JISX0213 characters. - * iconvdata/testdata/ISO-2022-JP-3..UTF8: Update. - -2004-07-22 Bruno Haible - - * iconvdata/gconv-modules (ISO-8859-7): Add alias ISO_8859-7:2003. - -2004-07-29 David S. Miller +2004-04-03 Andreas Jaeger - * sysdeps/sparc/sparc64/sparcv9b/memcpy.S (memcpy): Optimize - better for smaller than 256 byte copies. Also, use only one - unrolled loop instead of two for the large copy case. + * nis/nss-nis.c: Include for strncmp. -2004-07-30 Richard Henderson +2004-03-30 H.J. Lu - * sysdeps/alpha/divq.S: Save t3 before it gets clobbered. - * sysdeps/alpha/remq.S: Likewise. - * sysdeps/alpha/div.S, sysdeps/alpha/ldiv.S: Rewrite with the - new division algorithms in divl.S and divq.S respectively. + * Makeconfig (link-libc-static): Use $(static-gnulib) instead + of $(gnulib). + (libgcc_eh): New variable. + (gnulib): Use it variable. + (static-gnulib): New variable. + * Makerules (LDLIBS-c.so): Use $(static-gnulib) instead of $(gnulib). + * config.make.in (have-as-needed): New variable. + * configure.in: Check if linker supports --as-needed. -2004-07-28 GOTO Masanori +2004-04-02 Ulrich Drepper - * timezone/asia: Update from tzdata2004b. - * timezone/backward: Likewise. - * timezone/europe: Likewise. - * timezone/iso3166.tab: Likewise. - * timezone/leapseconds: Likewise. - * timezone/northamerica: Likewise. - * timezone/southamerica: Likewise. - * timezone/zone.tab: Likewise. + * sysdeps/unix/sysv/linux/internal_statvfs64.c: New file. + * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): + Add internal_statvfs64. + * sysdeps/unix/sysv/linux/internal_statvfs.c: Allow to be used to + compile 64bit version. + * sysdeps/unix/sysv/linux/statvfs64.c: Use __fstatfs64 and skip + compatibility code if __ASSUME_STATFS64 is defined. + * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise. - * timezone/private.h: Update from tzcode2004b. - * timezone/zic.c: Likewise. + * sysdeps/unix/sysv/linux/statfs64.c: Don't add __no_statfs64 if + __ASSUME_STATFS64 != 0. -2004-07-27 Ulrich Drepper +2004-04-02 Thorsten Kukuk - * nscd/grpcache.c (cache_addgr): If necessary, add entry also - under the name the user provided. - * nscd/pwdcache.c (cache_addpw): Likewise. + * nis/nss_nis/nis-ethers.c (saveit): Fix return codes in error case. + * nis/nss_nis/nis-initgroups.c (saveit): Likewise. + * nis/nss_nis/nis-proto.c (saveit): Likewise. + * nis/nss_nis/nis-rpc.c (saveit): Likewise. + * nis/nss_nis/nis-service.c (saveit): Likewise. -2004-07-26 Roland McGrath +2004-04-02 Jakub Jelinek - * sysdeps/posix/waitid.c [WEXITED]: Clear WEXITED bit in OPTIONS for - call to __waitpid. + * nis/nss: Add SERVICES_AUTHORITATIVE. + * nis/nss-nis.h (NSS_FLAG_SET, NSS_FLAG_NETID_AUTHORITATIVE, + NSS_FLAG_SERVICES_AUTHORITATIVE): Define. + (_nis_default_nss_flags, _nis_check_default_nss): New decls. + (_nis_default_nss): New inline. + * nis/nss-nis.c: Include ctype.h, stdio.h and stdio_ext.h. + (_nis_default_nss_flags, default_nss): New variables. + (_nis_check_default_nss): New function. + * nis/nss_nis/nis-initgroups.c: Don't include stdio.h and + stdio_ext.h. + (check_default_nss, default_nss): Move to nss-nis.c. + (init): Removed. + (_nss_nis_initgroups_dyn): Use _nis_default_nss (). + * nis/nss_nis/nis-services.c (_nss_nis_getservbyname_r): If + NSS_FLAG_SERVICES_AUTHORITATIVE and services.byservicename lookup + fails, return immediately. -2004-07-26 Ulrich Drepper +2004-04-01 Roland McGrath - * nscd/hstcache.c (cache_addhst): Fix two scenarios which lead to - memory leaks. + * elf/tst-execstack.c (do_test): Make F static. - * sysdeps/unix/sysv/linux/ifreq.c (__ifreq): Assign pointer for - new buffer at the right time. - Reported by Jakub Bogusz . +2004-04-01 Ulrich Drepper -2004-07-25 Ulrich Drepper + * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Use + __sigprocmask not sigprocmask. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise. - * inet/Versions [libc, GLIBC_2.3.4]: Add getipv4sourcefilter, - getsourcefilter, setipv4sourcefilter, and setsourcefilter. - * inet/Makefile (routines): Likewise. - * inet/netinet/in.h: Add prototypes for getipv4sourcefilter, - getsourcefilter, setipv4sourcefilter, and setsourcefilter. - * sysdeps/generic/getipv4sourcefilter.c: New file. - * sysdeps/generic/setipv4sourcefilter.c: New file. - * sysdeps/generic/getsourcefilter.c: New file. - * sysdeps/generic/setsourcefilter.c: New file. + * include/string.h: Add libc_hidden_builtin_proto for memcmp. + * sysdeps/generic/memcmp.c: Add libc_hidden_builtin_def. + * sysdeps/i386/memcmp.S: Likewise. + * sysdeps/i386/i686/memcmp.S: Likewise. + * sysdeps/ia64/memcmp.S: Likewise. + * sysdeps/sparc/sparc64/memcmp.S: Likewise. -2004-07-17 Steven Munroe + * sysdeps/unix/sysv/linux/sigprocmask.c: Include . + * time/mktime.c: Likewise. + * misc/getpass.c: Likewise. - * sysdeps/powerpc/powerpc64/memcpy.S: Improve instruction scheduling - for POWER4 machines. + * time/difftime.c (__difftime): New renamed. Make old name alias. + Use __difftime in recursive call. -2004-07-21 Jakub Jelinek + * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Use + __tcgetattr() instead of tcgetattr(). - [BZ #274] - * stdlib/strtod_l.c (INTERNAL (__STRTOF)): Fix used >= - BITS_PER_MP_LIMB shifting up. - * stdlib/tst-strtod.c (main): Add new tests. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S [SHARED]: + Use __GI_exit. -2004-07-23 Jakub Jelinek + * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S [SHARED]: Use + __GI__exit. - [BZ #282] - * libio/iopopen.c (_IO_new_popen): Use _IO_init instead of - _IO_no_init. Remove wd from struct locked_FILE. - (_IO_wproc_jumps): Remove. - Reported by Andrew Josey . - * stdio-common/Makefile (tests): Add tst-popen. - * stdio-common/tst-popen.c: New test. - -2004-07-23 Ulrich Drepper - - * posix/bits/posix1_lim.h: Fix values for _POSIX_CHILD_MAX and - _POSIX_OPEN_MAX. Add _POSIX_HOST_NAME_MAX, _POSIX_SYMLINK_MAX, - _POSIX_SYMLOOP_MAX, and _POSIX_RE_DUP_MAX. - Reported by Andrew Josey. - - * include/features.h: Document _POSIX_C_SOURCE == 200112L. - - * grp/grp.h: Define gid_t if __USE_XOPEN2K is defined. - * pwd/pwd.h: Define uid_t and gid_t if __USE_XOPEN2K is defined. - * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, - off_t, time_t, and uid_t if __USE_XOPEN2K is defined. - * signal/signal.h: Define pid_t if __USE_XOPEN2K is defined. - * posix/unistd.h: Define gid_t, off_t, pid_t, uid_t, and - useconds_t if __USE_XOPEN2K is defined. - * io/utime.h: Define time_t if __USE_XOPEN2K is defined. - * libio/stdio.h: Declare fseeko and ftello if __USE_XOPEN2K is defined. + * sysdeps/powerpc/fpu/bits/mathinline.h: Add __signbitf and + __signbit inlines. -2004-07-19 Thorsten Kukuk - - * nis/nss_compat/compat-initgroups.c (getgrent_next_nss): Don't - allocate memory for large temporary variables with alloca. - -2004-07-22 Ulrich Drepper - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Compatibility - code must have version GLIBC_2.0. Patch by Dwayne McConnell. - - * nscd/nscd_getgr_r.c (nscd_getgr_r): Avoid read call with NULL - pointer and zero length. - -2004-07-21 Ulrich Drepper - - * nscd/cache.c (prune_cache): Print correct list when debugging. - -2004-07-21 Jakub Jelinek - - * resolv/res_libc.c (res_init): If RES_INIT is set and - _res.nscount > 0, call __res_nclose and free nsaddrs. - * resolv/Makefile: Add rules to build and run tst-leaks2. - * resolv/tst-leaks2.c: New test. - -2004-07-21 Ulrich Drepper - - * intl/libintl.h: Don't define macros for C++. - Patch by Goto Masanori. - -2004-07-22 GOTO Masanori - - [BZ #276] - * include/arpa/inet.h: Change inet_aton type from in_addr_t to int. - * inet/arpa/inet.h: Likewise. - * resolv/inet_addr.c: Likewise. - -2004-07-21 Alexandre Oliva - - * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Add semtimedop. - -2004-07-20 Roland McGrath - - * configure.in (add_ons): Substitute this. Move $add_ons handling - after AC_CANONICAL_HOST and default setting of $machine et al. - Don't set $subdirs from $add_ons. - Instead, source add-on/configure fragments early on. - (base_machine): If it's already set, don't set it based on $machine. - (libc_config_ok): New variable, set to no. If an add-on fragment sets - it to yes, skip the tuple sanity check as if --enable-hacker-mode. - (sysnames): Try appending add-on names after machine as well. - * config.make.in (add-ons): Set from @add_ons@ instead of @subdirs@. - * Makeconfig ($(common-objpfx)config.status): Also depend on configure - files in $(add_ons) dirs. - - * sysdeps/unix/sysv/linux/bits/in.h (struct ip_mreq): Remove - definition, now in netinet/in.h proper. - -2004-07-20 Alexandre Oliva - - * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h): - Sort by syscalls. Make sure we get headers such as sgidefs.h from - the build tree before just-installed ones. - - * sysdeps/mips/atomicity.h: Use standard names for ABI macros, - include sgidefs.h where appropriate. - * sysdeps/mips/dl-machine.h: Likewise. - * sysdeps/mips/machine-gmon.h: Likewise. - * sysdeps/mips/bits/setjmp.h: Likewise. - * sysdeps/mips/fpu/bits/mathdef.h: Likewise. - * sysdeps/mips/mips64/__longjmp.c: Likewise. - * sysdeps/mips/mips64/setjmp_aux.c: Likewise. - * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise. - * sysdeps/unix/sysv/linux/mips/pread.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/ptrace.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise. - * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Likewise. - * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise. - * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise. - * sysdeps/unix/sysv/linux/mips/sys/user.h: Likewise. - * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h): - Likewise. - * sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h): - Likewise. - - * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Update to use - _dl_lookup_symbol_x. - (elf_machine_runtime_link_map): Don't INTUSE _dl_signal_error. - -2004-07-20 Ulrich Drepper - - * inet/netinet/in.h: Define struct ip_mreq and struct - ip_mreq_source. - Define struct group_req and struct group_source_req. - * sysdeps/unix/sysv/linux/bits/in.h: Define IP_UNBLOCK_SOURCE, - IP_BLOCK_SOURCE, IP_ADD_SOURCE_MEMBERSHIP, - IP_DROP_SOURCE_MEMBERSHIP, IP_MSFILTER, MCAST_JOIN_GROUP, - MCAST_BLOCK_SOURCE, MCAST_UNBLOCK_SOURCE, MCAST_LEAVE_GROUP, - MCAST_JOIN_SOURCE_GROUP, MCAST_LEAVE_SOURCE_GROUP, and - MCAST_MSFILTER. - Define MCAST_INCLUDE and MCAST_EXCLUDE. - - * iconvdata/gconv-modules: Add alias for IBM874 [BZ #244]. - -2004-07-19 Jakub Jelinek - - [BZ #258] - * math/libm-test.inc (max_value, min_value): New variables. - (initialize): Initialize them. - (pow_test): Add a couple of new tests. - * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Don't generate invalid - exception if |y| >= 1U<<31. - * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Don't generate invalid - exception if |y| >= 1L<<63. - * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. - If y*log2(x) overflows to +-inf, return still +inf/+0 instead of NaN. - * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise. - -2004-07-18 Ulrich Drepper - - * nscd/pwdcache.c (cache_addpw): Optimize case of unsuccessful - lookup a bit. - * nscd/grpcache.c (cache_addgr): Likewise. - * nscd/hstcache.c (cache_addhst): Likewise. - -2004-07-10 GOTO Masanori - - * sysdeps/s390/s390-32/elf/start.S: Remove symbol _fp_hw. - * sysdeps/s390/s390-64/elf/start.S: Likewise. - -2004-04-16 Andreas Schwab - - * sysdeps/ia64/bits/atomic.h: Cast first argument of - __sync_bool_compare_and_swap_si correct to void*. - -2004-07-17 Ulrich Drepper - - * iconv/iconv_prog.c (print_known_names): Make machine-readable - output even less cluttered. - -2004-07-16 Steven Munroe - - [BZ #269] - * setjmp/Makefile (tests): Add bug269-setjmp. - * setjmp/bug269-setjmp.c: New file. - * sysdeps/powerpc/powerpc64/__longjmp-common.S [SHARED && !IS_IN_rtld]: - Store R2 from jmpbuf in callers TOC save area. - * sysdeps/powerpc/powerpc64/bsd-_setjmp.S [SHARED && !IS_IN_rtld]: - Store R2 in TOC save area. - * sysdeps/powerpc/powerpc64/setjmp-common.S [SHARED && !IS_IN_rtld]: - Copy TOC save area from previous frame as R2 (TOC) in jmpbuf. - -2004-07-16 Jakub Jelinek - - * locale/newlocale.c: Include bits/libc-lock.h. - (__libc_setlocale_lock): Extern decl. - (__newlocale): Use it. - Reported by Ulrich Weigand . - -2004-07-15 Jakub Jelinek - - * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Remove - static inline __attribute ((always_inline)). Don't define if - NO_CANCELLATION. - (__libc_fcntl): Use INLINE_SYSCALL directly instead of - __fcntl_nocancel. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__fcntl_nocancel): - Remove static inline __attribute ((always_inline)). Don't define - if NO_CANCELLATION. - (__libc_fcntl): Use INLINE_SYSCALL directly instead of - __fcntl_nocancel. - * sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Define to - __libc_fcntl if NO_CANCELLATION and __ASSUME_FCNTL64 == 0. - Don't define at all if NO_CANCELLATION and __ASSUME_FCNTL64 > 0. - (__libc_fcntl): Don't define if __fcntl_nocancel is a macro. - - [BZ #262] - * sysdeps/i386/elf/start.S (_start): Use @GOT instead of @GOTOFF - for main. - * elf/Makefile: Add rules to build and run tst-pie1. - * elf/tst-pie1.c: New test. - * elf/tst-piemod1.c: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Use + __sigprocmask not sigprocmask. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise. -2004-07-14 Jakub Jelinek + * elf/elf.h: Define more ppc64 specific dynamic tags. - [BZ #266] - * manual/string.texi (l64a): Note that the static buffer is 7 bytes - long. Rewrite example code so that it takes into account l64a output - shorter than 6 characters. - Reported by Julian Graham . - -2004-07-14 Kaz Kojima - - * sysdeps/sh/dl-machine.h: Don't reset _dl_starting_up here. - (elf_machine_rela_relative): Remove unused valiable. - -2004-07-12 Paul Eggert - - [BZ #263] - * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Don't store - outside the buffer if the read returns 0. __strtod_l can't set - endp to NULL, so remove a test for that case. - -2004-07-12 Roland McGrath - - * manual/signal.texi (Interrupted Primitives): Make clear that - TEMP_FAILURE_RETRY evaluates its expression as long int and compares - it to -1 to define "failure". - -2004-07-10 Ulrich Drepper - - * elf/ldconfig.c: Define PROCINFO_CLASS as static before including - ldsodefs.h. - * sysdeps/generic/ldsodefs.h: Only define PROCINFO_CLASS if it is not - already defined. - * sysdeps/i386/dl-procinfo.c: Define PROCINFO_CALLS only if not - already defined. +2004-04-01 Jakub Jelinek - * elf/rtld.c (print_statistics): Mark with noinline attribute. - * sysdeps/i386/dl-machine.h (elf_machine_rel): Mark with always_inline - attribute. - (elf_machine_rel_relative): Likewise. - - * include/string.h: Add libc_hidden_proto for __strtok_r and - __strsep_g. - * sysdeps/generic/strsep.c: Add libc_hidden_def. - * sysdeps/generic/strtok_r.c: Likewise. - * sysdeps/i386/strtok_r.S: Add alias for internal symbol. - * sysdeps/i386/i686/strtok_r.S: Likewise. - * sysdeps/x86_64/strtok_r.S: Likewise. - -2004-07-09 Alexandre Oliva - - * inet/getnetgrent_r.c (internal_setnetgrent): Make it hidden - instead of internal-linkage, such that we can alias to it. - (internal_endnetgrent, internal_getnetgrent_r): Likewise. - -2004-07-09 Ulrich Drepper - - * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Move attribute - to the front for gcc 3.5+. - * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Likewise. - * include/fcntl.h: Don't declare __fcntl_nocancel here if - NO_CANCELLATION is defined. - -2004-07-07 Jakub Jelinek - - * elf/dl-fini.c (_dl_fini): Add nloaded variable, load - GL(dl_nloaded) into it while still in critical section. - -2004-07-06 Thorsten Kukuk - - * nss/getent.c (print_group, print_passwd): Use %lu format for - `unsigned long int' values. - - * sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Fix syntax - error typos in goto statements. - -2004-07-07 Roland McGrath - - * Makefile (dist-separate): New variable. - (glibc-%.tar rule): Make separate tar files for add-ons listed there. - Depend on their configure files. - (dist-do-separate-dirs): New canned sequence to do that. - (dist-separate-libidn, dist-separate-linuxthreads): New variables. - (dist): Depend on add-on tar files based on $(dist-separate). - (dist-version): New variable, default to $(version). - (tag-for-dist, dist): Use that in place of $(version) in deps. - -2004-07-07 Ulrich Drepper - - * elf/dl-fini.c (_dl_fini): Move the unlock of the ld.so lock - before the loop running the destructors. - -2004-05-18 Andreas Schwab - - * elf/dl-load.c (_dl_map_object_from_fd): Use the end address of - the first segment for mprotect, not l_text_end. - -2004-07-05 Ulrich Drepper - - * elf/dl-profile.c (_dl_start_profile): Compact error handling. - Remove hashfraction variable. Make kcount and kcountsize local - variables. - - * elf/dl-init.c: Don't define and use _dl_starting_up if - HAVE_INLINED_SYSCALLS is defined and the variable is not used. - * elf/dl-support.c: Likewise. - * elf/rtld.c: Likewise. - * elf/dl-misc.c (_dl_debug_vdprintf): Use writev syscall directly - if HAVE_INLINED_SYSCALLS is defined. - * sysdeps/powerpc/powerpc64/dl-machine.h: Don't reset _dl_starting_up - here. - * sysdeps/powerpc/powerpc32/dl-start.S: Likewise. - * sysdeps/unix/sysv/linux/configure.in: Define HAVE_INLINED_SYSCALLS. - * config.h.in: Add entry for HAVE_INLINED_SYSCALLS. - - * sysdeps/posix/profil.c: If compiled for ld.so, omit code which - is needed to stop profiling. - * elf/dl-open.c (dl_open_worker): If a newly opened object is to be - profile make sure it cannot be unloaded. - - * sysdeps/unix/sysv/linux/dl-origin.c: Inline readlink syscall. - - * sysdeps/unix/sysv/linux/fcntl.c: If compiled without cancellation - support, make sure the helper function is inlined. - * sysdeps/unix/sysv/linux/pread.c: Likewise. - * sysdeps/unix/sysv/linux/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Likewise. - -2004-07-05 Jakub Jelinek - - * include/string.h (ffs): Add libc_hidden_builtin_proto. - * sysdeps/rs6000/ffs.c (ffs): Add libc_hidden_builtin_def. - * sysdeps/alpha/alphaev67/ffs.S (ffs): Likewise. - * sysdeps/alpha/ffs.S (ffs): Likewise. - * sysdeps/s390/ffs.c (ffs): Likewise. - * sysdeps/powerpc/ffs.c (ffs): Likewise. - * sysdeps/i386/ffs.c (ffs): Likewise. - * sysdeps/i386/i686/ffs.c (ffs): Likewise. - * sysdeps/m68k/ffs.c (ffs): Likewise. - * sysdeps/generic/ffs.c (ffs): Likewise. - * sysdeps/m88k/ffs.c (ffs): Likewise. - * sysdeps/am29k/ffs.c (ffs): Likewise. - * sysdeps/i960/ffs.c (ffs): Likewise. - * sysdeps/x86_64/ffs.c (ffs): Likewise. - - * Makerules (check-abi): Use diff -p -U 0 instead of diff -pu0. - - * sysdeps/powerpc/novmx-longjmp.c (__libc_longjmp, - __libc_siglongjmp): Remove symbol_version. - * sysdeps/powerpc/longjmp.c (__libc_longjmp, __libc_siglongjmp): - Export @@GLIBC_PRIVATE, not @@GLIBC_2.3.4. - * sysdeps/powerpc/sigjmp.c (__sigjmp_save): Use strong_alias + * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): If protocol + is NULL, instead of trying yp_match (name/tcp), yp_match (name/udp), + yp_all, try yp_match (name), yp_all. + +2004-04-01 Ulrich Drepper + + * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Add handling for + ignored entries. Ignore AT_IGNOREPPC. + +2004-03-31 Andreas Jaeger + + * libio/fileops.c (new_do_write): Return _IO_size_t to make 64-bit + clean. + +2004-03-31 Ulrich Drepper + + * locale/programs/localedef.c (construct_output_path): Remove + remnants of CEN locale names. + +2004-03-30 Thorsten Kukuk + + * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Add IUTF8. + * sysdeps/unix/sysv/linux/bits/termios.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise. + +2004-03-30 Richard Henderson + + * sysdeps/alpha/remqu.S: Detect power-of-two special case. + +2004-03-30 Ulrich Drepper + + * sysdeps/generic/libc-start.c (LIBC_START_MAIN) + [HAVE_CLEANUP_JMP_BUF]: Call __nptl_deallocate_tsd. + +2004-03-30 Jakub Jelinek + + * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): If protocol + == NULL, try name/tcp and name/udp first before falling back into + the sequential scanning. Use services.byname database for + sequential scanning. + (_nss_nis_getservbyport_r): Likewise. Just allocate sizeof (int) * 3 + chars for integer. + + * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Convert + proto to host by order for snprintf. + +2004-03-30 Ulrich Drepper + + * nss/getent.c (services_keys): Don't implement lookups with + missing protocol using getservent loop, just pass NULL. + + * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Avoid + comparison with limit if we can rely on the syscall being available. + + * nis/nss_nis/nis-initgroups.c: Implement getting the information + from the netid.byname map if the system administrator allows this. + * nis/Makefile (distribute): Add nss. + * nis/nss: New file. + + * grp/initgroups.c (initgroups): Limit the initial allocation to 64 + entries to not allocate too much on systems with really high limits. + +2004-03-30 Jakub Jelinek + + * nis/nss_nis/nis-service.c (struct search_t): New type. + (dosearch): New function. + (_nss_nis_getservbyname_r): Use it. Call yp_get_default_domain unconditionally. - * sysdeps/powerpc/novmx-sigjmp.c (__sigjmp_save): Remove. - * sysdeps/powerpc/powerpc32/__longjmp.S (__longjmp): Use - strong_alias instead of default_symbol_version, remove - symbol_version. - * sysdeps/powerpc/powerpc64/__longjmp.S (__longjmp): Likewise. - * sysdeps/powerpc/powerpc32/bsd-setjmp.S (__novmx__setjmp): Change - into strong_alias to __novmxsetjmp. - (__vmx__setjmp): Similarly with __vmxsetjmp. - (__setjmp): Make it strong_alias to __vmx__setjmp, remove - default_symbol_version and symbol_version. - * sysdeps/powerpc/powerpc64/bsd-setjmp.S (__novmx__setjmp): Change - into strong_alias to __novmxsetjmp. - (__vmx__setjmp): Similarly with __vmxsetjmp. - (__setjmp): Make it strong_alias to __vmx__setjmp, remove - default_symbol_version and symbol_version. + (_nss_nis_getservbyport_r): Likewise. - * nscd/nscd_getgr_r.c: Include stdio-common/_itoa.h. +2004-03-29 Alexandre Oliva -2004-07-05 Ulrich Drepper + * sysdeps/unix/sysv/linux/sched_getaffinity.c: Prepend GLIBC_ to + version names is SHLIB_COMPAT check. + * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise. - * elf/rtld.c (dl_main): Mark dyn_temp with attribute_relro. +2004-03-29 Ulrich Drepper -2004-07-04 Matthew Reppert + * nis/nss_nis/nis-rpc.c (saveit): Improve memory handling. No need to + allocate multiple blocks. + (internal_nis_endrpcent): Adjust accordingly. + * nis/nss_nis/nis-proto.c (saveit): Improve memory handling. No need + to allocate multiple blocks. + (internal_nis_endprotoent): Adjust accordingly. + * nis/nss_nis/nis-initgroups.c (saveit): Improve memory handling. No + need to allocate multiple blocks. + (_nss_nis_initgroups_dyn): Adjust accordingly. + * nis/nss_nis/nis-ethers.c (saveit): Improve memory handling. No need + to allocate multiple blocks. + (internal_nis_endetherent): Adjust accordingly. + * nis/nss_nis/nis-service.c (saveit): Improve memory handling. No need + to allocate multiple blocks. + (internal_nis_endservent): Adjust accordingly. - * sysdeps/unix/sysv/linux/i386/glob64.c (glob64): Use libc_hidden_ver - instead of libc_hidden_def. + * nss/getXXbyYY_r.c: Return 0 for NSS_STATUS_NOTFOUND. -2004-07-01 Roland McGrath +2004-03-26 Thorsten Kukuk - * aclocal.m4: Add provide for AC_CONFIG_AUX_DIR_DEFAULT. + * nis/nss_nis/nis-grp.c (_nss_nis_getgrnam_r): Don't + set errno if group does not exist. - * Makeconfig ($(common-objpfx)shlib-versions.v.i): Move top-level - $(..)shlib-versions file to last in deps list. This lets add-ons give - more-specific matches that override defaults in the top-level file. +2004-03-28 Ulrich Drepper - * sysdeps/unix/sysv/linux/configure.in: If arch_minimum_kernel was - already set, don't set it or libc_cv_gcc_unwind_find_fde. - * sysdeps/unix/sysv/linux/configure: Regenerated. + * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Handle + _SC_SIGQUEUE_MAX. -2004-07-01 Martin Schwidefsky +2004-03-26 Ulrich Drepper - * sysdeps/s390/fpu/bits/mathinline.h [__LIBC_INTERNAL_MATH_INLINES] - (__ieee754_sqrt): Define as __MATH_INLINE using sqdbr instruction. - (__ieee754_sqrtf): Define as __MATH_INLINE using sqebr instruction. - * sysdeps/s390/fpu/e_sqrt.c: New file. - * sysdeps/s390/fpu/e_sqrtf.c: New file. - * sysdeps/s390/Implies: New file. - * sysdeps/s390/s390-32/Implies: Remove ieee754, move - ieee754/dbl-64 and ieee754/flt-32 to s390/Implies. - * sysdeps/s390/s390-64/Implies: Likewise. + * elf/dl-caller.c: New file. + * include/caller.h: New file. + * Makefile (distribute): Add include/caller.h. + * elf/Makefile (dl-routines): Add dl-caller. + * elf/dl-load.c (_dl_map_object_from_fd): Record l_text_end. + * elf/dl-open.c (check_libc_caller): Removed. + (dl_open_worker): Use __check_caller instead. + * elf/rtld.c (_rtld_global_ro): Initialize _dl_check_caller. + (_dl_start_final): Record l_text_end for ld.so map. + (dl_main): Record l_text_end for main object and vdso. + * include/link.h (struct link_map): Add l_text_end field. + * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add + _dl_check_caller field. + Define enum allowmask. Add declaration of _dl_check_caller. + * sysdeps/unix/sysv/linux/dl-execstack.c: Also use __check_caller test. -2004-06-30 Jakub Jelinek +2004-03-26 Richard Henderson - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Include tls.h. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise. + * sysdeps/alpha/Makefile (sysdep_routines): Merge divrem + variable, add unsigned variants. + * sysdeps/alpha/divrem.h: Remove file. + * sysdeps/alpha/div_libc.h: New file. + * sysdeps/alpha/divl.S: Rewrite from scratch. + * sysdeps/alpha/reml.S: Likewise. + * sysdeps/alpha/divq.S: Likewise. + * sysdeps/alpha/remq.S: Likewise. + * sysdeps/alpha/divlu.S: New file. + * sysdeps/alpha/remlu.S: New file. + * sysdeps/alpha/divqu.S: New file. + * sysdeps/alpha/remqu.S: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (thread_start): - DO_CALL (exit, 1) instead of branching to _exit. - * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (thread_start): - Likewise. +2004-03-26 Ulrich Drepper - * sysdeps/s390/fpu/bits/mathinline.h: New file. + * elf/dl-open.c (check_libc_caller): Fix typo. - * include/glob.h (glob64): Add libc_hidden_proto. - * sysdeps/generic/glob64.c (glob64): Add libc_hidden_def. - * sysdeps/gnu/glob64.c (glob64): Likewise. - * sysdeps/unix/sysv/linux/i386/glob64.c (glob64): Likewise. +2004-03-26 Jakub Jelinek -2004-06-11 Jakub Jelinek + * elf/tst-dlmodcount.c: Include stddef.h and stdlib.h. - * sysdeps/i386/fpu/libm-test-ulps: Update for GCC 3.4. - * sysdeps/s390/fpu/libm-test-ulps: Likewise. +2003-03-25 Richard Henderson -2004-06-11 Dwayne Grant McConnell + * sysdeps/alpha/backtrace.c: New file. - * sysdeps/powerpc/fpu/s_lround.c: Removed. - * sysdeps/powerpc/fpu/s_lroundf.c: Removed. - * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: New file. - * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: New file. - * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: New file. - * sysdeps/powerpc/powerpc32/fpu/s_floor.S: New file. - * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: Removed. - * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: New file. - * sysdeps/powerpc/powerpc32/fpu/s_lroundf.S: New file. - * sysdeps/powerpc/powerpc32/fpu/s_lround.S: New file. - * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: New file. - * sysdeps/powerpc/powerpc32/fpu/s_rint.S: New file. - * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: New file. - * sysdeps/powerpc/powerpc32/fpu/s_round.S: New file. - * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: New file. - * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: New file. +2004-03-25 Ulrich Drepper -2004-06-30 Ulrich Drepper + * iconvdata/utf-7.c: Remove inline from isdirect, isxdirect, and + isxbase64. - * include/net/if.h: Handle if_nameindex and if_freenameindex with - libc_proto_hidden. - * sysdeps/unix/sysv/linux/netlinkaccess.h: New file. - * sysdeps/unix/sysv/linux/ifaddrs.c: Export netlink handling functions. - * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Implement using - netlink if possible. Fall back on ioctl method if necessary. - * sysdeps/unix/sysv/linux/Dist: Add netlinkaccess.h. +2004-03-25 Richard Henderson - * include/unistd.h: Declare __truncate. - * sysdeps/generic/truncate.c: Also define __truncate. - * sysdeps/mach/hurd/truncate.c: Likewise. - * sysdeps/unix/common/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/truncate64.c: Use __truncate, not truncate. + * sysdeps/generic/strtol_l.c (__strtol_ul_max_tab, + __strtol_ull_max_tab, __strtol_ull_rem_tab, __strtol_ul_rem_tab, + cutoff_tab, cutlim_tab, jmax_tab): New. + (__strtol_l): Use them to avoid runtime division. -2004-06-29 Ulrich Drepper +2004-03-24 Roland McGrath - * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize - info.extra. Patch by Marcus Meissner. + * Makerules ($(common-objpfx)shlib.lds): Don't use \n in rhs of sed + substitutions; the semicolon terminators are enough for ld anyway. -2004-06-29 Kaz Kojima + * elf/dl-deps.c (_dl_map_object_deps): Use alloca instead of + dynamically sized auto array in function already using alloca. + * locale/programs/ld-ctype.c (ctype_output): Likewise. + * locale/programs/ld-time.c (time_output): Likewise. + * elf/dl-misc.c (_dl_debug_vdprintf): Use macro instead of const for + IOV array size. + * locale/programs/charmap.c (charmap_read): Avoid alloca (or strdupa) + when also using dynamically-sized auto array. + * locale/programs/locfile.c (locfile_read): Likewise. + * locale/programs/repertoire.c (repertoire_read): Likewise. + * nis/nis_print_group_entry.c (nis_print_group_entry): Likewise. + * locale/programs/locarchive.c (enlarge_archive): Likewise. + * posix/annexc.c (check_header): Likewise. - * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER): - Fix branch offset for a PLT entry. + * iconv/gconv_int.h (norm_add_slashes): Don't handle null SUFFIX. + strlen ("") gets optimized away just as well. + * intl/loadmsgcat.c (_nl_init_domain_conv): Update caller. + * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise. -2004-06-20 Jim Meyering + * Makefile ($(objpfx)c++-types-check.out): Reduce duplication in + defining this target. Also elide -Wstrict-prototypes from CFLAGS. - * malloc/obstack.h (obstack_base): Cast to `void *', to align with - documentation. +2004-03-24 Ulrich Drepper -2004-06-28 Ulrich Drepper + * stdio-common/vfscanf.c [!COMPILE_WSCANF] (TOLOWER): Cast first + parameter to unsigned char. + * sysdeps/generic/strcasestr.c [_LIBC] (TOLOWER): Likewise. - * inet/bug-if1.c (do_test): Simply use 0 as invalid index. - Workaround for [BZ #232]. +2004-03-24 Jakub Jelinek - * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Use extend_alloca. + * stdlib/strtod_l.c (INTERNAL (__STRTOF)): Clear the rest of retval, + not just one limb if RETURN_LIMB_SIZE > 2. Fix shifting up if + RETURN_LIMB_SIZE > 2. -2004-06-28 GOTO Masanori + * stdio-common/printf_fp.c (__printf_fp): For IEEE quad long double + on 32-bit architectures reserve 8 limbs instead of 4. - * iconv/gconv_simple.c: Use get16/put16 for user given buffer - in ucs2/ucs2reverse when unaligned memory access is attempted. - * iconv/tst-iconv5.c: New file. - * iconv/Makefile (tests): Add tst-iconv5. +2004-03-23 Jakub Jelinek -2004-06-28 Jakub Jelinek + * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_pread, __NR_pwrite): + Define to __NR_p{read,write}64 if not defined. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (__NR_pread, + __NR_pwrite): Define to __NR_p{read,write}64 if not defined instead + of defining it the other way around. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Move common syscalls + for 64bit arches to sysdeps/unix/sysv/linux/wordsize-64/syscalls.list. + * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/alpha/pread64.c: Removed. + * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Removed. + * sysdeps/unix/sysv/linux/alpha/glob64.c: Removed. + * sysdeps/unix/sysv/linux/alpha/truncate64.c: Removed. + * sysdeps/unix/sysv/linux/alpha/xstat64.c: Removed. + * sysdeps/unix/sysv/linux/alpha/pwrite64.c: Removed. + * sysdeps/unix/sysv/linux/alpha/posix_fadvise.c: Removed. + * sysdeps/unix/sysv/linux/alpha/mmap64.c: Removed. + * sysdeps/unix/sysv/linux/alpha/fxstat64.c: Removed. + * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Removed. + * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: Removed. + * sysdeps/unix/sysv/linux/alpha/sendfile64.c: Removed. + * sysdeps/unix/sysv/linux/alpha/lxstat64.c: Removed. + * sysdeps/unix/sysv/linux/alpha/posix_fadvise64.c: Removed. + * sysdeps/unix/sysv/linux/alpha/statfs64.c: Removed. + * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: Removed. + * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: Removed. + * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: Removed. + * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: Removed. + * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: Removed. + * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: Removed. + * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: Removed. + * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: Removed. + * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: Removed. + * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c: Removed. + * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: Removed. + * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: Removed. + * sysdeps/unix/sysv/linux/s390/s390-64/posix_fadvise.c: Removed. + * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: Removed. + * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: Removed. + * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: Removed. + * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: Removed. + * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: Removed. + * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: Removed. + * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: Removed. + * sysdeps/unix/sysv/linux/s390/s390-64/posix_fadvise64.c: Removed. + * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: Removed. + * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: Removed. + * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: Removed. + * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: Removed. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/glob64.c: Removed. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/truncate64.c: Removed. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/xstat64.c: Removed. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/posix_fadvise.c: Removed. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/fxstat64.c: Removed. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/ftruncate64.c: Removed. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/lxstat64.c: Removed. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/posix_fadvise64.c: Removed. + * sysdeps/unix/sysv/linux/sparc/sparc64/pread64.c: Removed. + * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: Removed. + * sysdeps/unix/sysv/linux/sparc/sparc64/glob64.c: Removed. + * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: Removed. + * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: Removed. + * sysdeps/unix/sysv/linux/sparc/sparc64/xstat64.c: Removed. + * sysdeps/unix/sysv/linux/sparc/sparc64/pwrite64.c: Removed. + * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: Removed. + * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Removed. + * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Removed. + * sysdeps/unix/sysv/linux/sparc/sparc64/posix_fadvise.c: Removed. + * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: Removed. + * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat64.c: Removed. + * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: Removed. + * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: Removed. + * sysdeps/unix/sysv/linux/sparc/sparc64/sendfile64.c: Removed. + * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: Removed. + * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat64.c: Removed. + * sysdeps/unix/sysv/linux/sparc/sparc64/posix_fadvise64.c: Removed. + * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: Removed. + * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: Removed. + * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: Removed. + * sysdeps/unix/sysv/linux/ia64/pread64.c: Removed. + * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: Removed. + * sysdeps/unix/sysv/linux/ia64/glob64.c: Removed. + * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: Removed. + * sysdeps/unix/sysv/linux/ia64/truncate64.c: Removed. + * sysdeps/unix/sysv/linux/ia64/xstat64.c: Removed. + * sysdeps/unix/sysv/linux/ia64/pwrite64.c: Removed. + * sysdeps/unix/sysv/linux/ia64/getdents64.c: Removed. + * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Removed. + * sysdeps/unix/sysv/linux/ia64/lxstat.c: Removed. + * sysdeps/unix/sysv/linux/ia64/readdir.c: Removed. + * sysdeps/unix/sysv/linux/ia64/posix_fadvise.c: Removed. + * sysdeps/unix/sysv/linux/ia64/mmap64.c: Removed. + * sysdeps/unix/sysv/linux/ia64/xstat.c: Removed. + * sysdeps/unix/sysv/linux/ia64/fxstat64.c: Removed. + * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: Removed. + * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: Removed. + * sysdeps/unix/sysv/linux/ia64/sendfile64.c: Removed. + * sysdeps/unix/sysv/linux/ia64/getdents.c: Removed. + * sysdeps/unix/sysv/linux/ia64/lxstat64.c: Removed. + * sysdeps/unix/sysv/linux/ia64/posix_fadvise64.c: Removed. + * sysdeps/unix/sysv/linux/ia64/readdir64.c: Removed. + * sysdeps/unix/sysv/linux/ia64/fxstat.c: Removed. + * sysdeps/unix/sysv/linux/ia64/statfs64.c: Removed. + * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: Removed. + * sysdeps/unix/sysv/linux/x86_64/pread64.c: Removed. + * sysdeps/unix/sysv/linux/x86_64/getrlimit64.c: Removed. + * sysdeps/unix/sysv/linux/x86_64/glob64.c: Removed. + * sysdeps/unix/sysv/linux/x86_64/readdir64_r.c: Removed. + * sysdeps/unix/sysv/linux/x86_64/truncate64.c: Removed. + * sysdeps/unix/sysv/linux/x86_64/xstat64.c: Removed. + * sysdeps/unix/sysv/linux/x86_64/pwrite64.c: Removed. + * sysdeps/unix/sysv/linux/x86_64/getdents64.c: Removed. + * sysdeps/unix/sysv/linux/x86_64/readdir_r.c: Removed. + * sysdeps/unix/sysv/linux/x86_64/lxstat.c: Removed. + * sysdeps/unix/sysv/linux/x86_64/readdir.c: Removed. + * sysdeps/unix/sysv/linux/x86_64/posix_fadvise.c: Removed. + * sysdeps/unix/sysv/linux/x86_64/mmap64.c: Removed. + * sysdeps/unix/sysv/linux/x86_64/xstat.c: Removed. + * sysdeps/unix/sysv/linux/x86_64/fxstat64.c: Removed. + * sysdeps/unix/sysv/linux/x86_64/setrlimit64.c: Removed. + * sysdeps/unix/sysv/linux/x86_64/ftruncate64.c: Removed. + * sysdeps/unix/sysv/linux/x86_64/sendfile64.c: Removed. + * sysdeps/unix/sysv/linux/x86_64/getdents.c: Removed. + * sysdeps/unix/sysv/linux/x86_64/lxstat64.c: Removed. + * sysdeps/unix/sysv/linux/x86_64/posix_fadvise64.c: Removed. + * sysdeps/unix/sysv/linux/x86_64/readdir64.c: Removed. + * sysdeps/unix/sysv/linux/x86_64/fxstat.c: Removed. + * sysdeps/unix/sysv/linux/x86_64/statfs64.c: Removed. + * sysdeps/unix/sysv/linux/x86_64/fstatfs64.c: Removed. + * sysdeps/unix/sysv/linux/alpha/Implies: New file. + * sysdeps/unix/sysv/linux/alpha/getdents64.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/Implies: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/Implies: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/Implies: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/statvfs64.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs64.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/xstat64.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/fxstat64.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/sendfile64.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/lxstat64.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: New file. + * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/statfs64.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/fstatfs64.c: New file. + * sysdeps/unix/sysv/linux/ia64/Implies: New file. + * sysdeps/unix/sysv/linux/x86_64/Implies: New file. - * inet/bug-if1.c: Include . +2004-03-22 Richard Henderson -2004-06-19 Roland McGrath + * sysdeps/alpha/s_fabs.S: Remove file. + * sysdeps/alpha/s_copysign.S: Remove file. - * sysdeps/posix/waitid.c (do_waitid) [DO_WAITID]: Define function - under this macro name instead. - [NO_DO_WAITID]: Don't define it at all. - (do_waitid) [WNOWAIT, WEXITED]: If these POSIX.1 waitid flag bits are - defined, then return ENOTSUP for combinations of selection bits other - than WEXITED and WEXITED|WSTOPPED, which this version cannot support. +2004-03-22 Jakub Jelinek - * posix/tst-waitid.c: New file. - * posix/Makefile (tests): Add it. + * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c + (__getpagesize): Avoid warning about writing into read-only memory. -2004-06-28 Jakub Jelinek + * string/Makefile (routines): Add xpg-strerror. + * string/string.h (strerror_r): If __USE_XOPEN2K but not __USE_GNU, + redirect strerror_r to __xpg_strerror_r. + * string/Versions (libc): Add __xpg_strerror_r@@GLIBC_2.3.4. + * sysdeps/generic/xpg-strerror.c: New file. + * sysdeps/mach/xpg-strerror.c: New file. - * sysdeps/unix/alpha/sysdep.h (inline_syscall6): Fix a typo. +2004-03-22 Joseph S. Myers - [BZ #231] - * sysdeps/unix/alpha/sysdep.S (__syscall_error): Avoid !samegp - relocation in librt.so. + * sunrpc/rpc/xdr.h (IXDR_GET_LONG, IXDR_PUT_LONG): Do not use + casts as lvalues. - [BZ #230] - * sysdeps/alpha/dl-machine.h (_dl_start_user): Use ldah/ldl to load - _dl_skip_args. Patch by Jakub Bogusz . +2004-03-22 Andreas Jaeger -2004-06-27 Ulrich Drepper + * elf/tst-dlmodcount.c (unload): Remove unused variable. - * elf/ldconfig.c (add_dir): Take chroot into account. - Based on changes by HJ Lu and Hideki Iwamoto. + * misc/tst-mntent.c (main): Use tmpfile instead of tmpnam. - * nscd/connections.c (invalidate_cache): If the host cache has to - be invalidated, re-read resolv.conf. +2004-03-20 Roland McGrath - * resolv/resolv.h (RES_NOIP6DOTINT): Define. - * resolv/res_init.c (res_setoptions): Handle no-ip6-dotint option. - * resolv/gethnamaddr.c (gethostbyaddr): Don't lookup with .ip6.int - if RES_NOIP6DOTINT flag is set. - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise. + * sysdeps/mach/hurd/dl-execstack.c: New file. -2004-06-25 Jakub Jelinek +2004-03-20 Ulrich Drepper - * sysdeps/unix/sysv/linux/powerpc/fcntl.c: Move to... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: ... here. - * sysdeps/unix/sysv/linux/powerpc/lockf64.c: Move to... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: ... here. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: New file. + * po/ca.po: Update from translation team. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (F_GETLK, F_SETLK, - F_SETLKW): Fix values for -m32 -D_FILE_OFFSET_BITS=64. - -2004-06-21 Jakub Jelinek - - [BZ #231] - * sysdeps/unix/alpha/Makefile: New file. - * sysdeps/unix/alpha/rt-sysdep.S: New file. - Reported by Jakub Bogusz . - -2004-06-18 Ulrich Drepper - - * sysdeps/posix/getaddrinfo.c (gaih_inet): For AI_CANONNAME, - determine the canonical name only for the first returned entry. - - * inet/bug-if1.c: New file. - * inet/Makefile (tests): Add bug-if1. - -2004-06-18 Roland McGrath - - * Makerules (compile-mkdep-flags): Add -MT $@. - - * Makefile (dist, tag-for-dist): New targets. - (files-for-dist, tag-of-stem): New variables. - (glibc-%.tar glibc-linuxthreads-%.tar): New pattern rule. - Make tar files using cvs export. - (%.bz2, %.gz, tag-%): New pattern rules. - (distribute): Variable removed. - (+subdir_targets): Remove distinfo targets. - (echo_subdirs, echo-distinfo, parent_echo-distinfo): Targets removed. - (rpm/%): Pattern rule removed. - * rpm/Makefile, rpm/rpmrc, rpm/template: Ancient cruft files removed. - * Rules (subdir_echo-headers, subdir_echo-distinfo, subdir_dist): - Targets removed. - * Makerules (dist, subdir_distinfo): Targets removed. - ($(objpfx)distinfo): Depend on $(distribute). - * Make-dist: File removed. - - * NEWS: Fix a typo. Update bug-reporting instructions. - -2004-06-17 Thorsten Kukuk +2004-03-20 Andreas Jaeger + * sysdeps/unix/sysv/linux/sched_getaffinity.c + (__sched_getaffinity_old): Fix interface. * sysdeps/unix/sysv/linux/sched_setaffinity.c - (__sched_setaffinity_new): Set errno to EINVAL and return -1 if - cpuset is wrongly set. + (__sched_setaffinity_old): Likewise. -2004-06-15 Steven Munroe + * sysdeps/unix/sysv/linux/sched_setaffinity.c: Include . - * sysdeps/powerpc/powerpc64/memcpy.S: Improve instruction scheduling - for POWER4 machines. +2004-03-17 Kaz Kojima -2004-06-14 Jakub Jelinek + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_CLONE_THREAD_FLAGS ): Define for newer SH kernel. + (__ASSUME_TGKILL, __ASSUME_UTIMES): Likewise. + * sysdeps/unix/sysv/linux/sh/socket.S: Add unwind information. - [BZ #218] - * sunrpc/pmap_prot2.c (xdr_pmaplist): When freeing, remember pml_next - in a local variable, point rp to that local variable afterwards. +2004-03-19 Ulrich Drepper -2004-06-11 Jakub Jelinek + * time/tzfile.c (__tzfile_default): Correct setting of rule_stdoff + and rule_dstoff after reading the posixrules file. - * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Handle special - cases properly. +2004-03-18 Ulrich Drepper -2004-06-17 Ulrich Drepper + * malloc/malloc.c (__posix_memalign): Correct alignment check. + Reported by Don Heller . - * sysdeps/unix/sysv/linux/if_index.c (if_indextoname): Correct - error value for unknown interface. [BZ #198] +2004-03-18 Jakub Jelinek -2004-06-13 Jakub Jelinek + * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Remove hwcap + variable and weak_extern for _dl_hwcap. + (_DL_HWCAP_TLS_MASK): Define. + (HWCAP_CHECK): Fix checking of non-platform hwcap bits. Use + lib->osversion instead of cache_new->libs[middle].osversion. - * sysdeps/i386/bits/string.h (memcpy): Add () around arguments. - (memchr, __memrchr, strlen, strcmp, strncmp, __strchr_g, __strchr_c, - __strchrnul_g, __strchrnul_c, strspn, strcspn, strpbrk): Add memory - the asm uses as its input, either of size __n where __n is known or - 0xfffffff. - (strstr): Add "memory" clobber. + * stdio-common/asprintf.c: Remove USE_IN_LIBIO conditionals. + * stdio-common/dprintf.c: Likewise. + * stdio-common/fprintf.c: Likewise. + * stdio-common/getline.c: Likewise. + * stdio-common/getw.c: Likewise. + * stdio-common/perror.c: Likewise. + * stdio-common/printf-prs.c: Likewise. + * stdio-common/printf.c: Likewise. + * stdio-common/printf_size.c: Likewise. + * stdio-common/psignal.c: Likewise. + * stdio-common/putw.c: Likewise. + * stdio-common/scanf.c: Likewise. + * stdio-common/snprintf.c: Likewise. + * stdio-common/sprintf.c: Likewise. + * stdio-common/sscanf.c: Likewise. + * stdio-common/tstgetln.c: Likewise. + * stdio-common/vfprintf.c: Likewise. -2004-06-14 Jakub Jelinek +2004-03-18 Paul Eggert - [BZ #219] - * nss/nsswitch.c (free_mem): Don't try to close a library handle - if the handle is invalid. Patch by David Kimdon . + * posix/getopt.h (__GNUC_PREREQ) [!defined __THROW]: Define + if not defined, fixing a typo (it used to be defined if + __GNUC__ was not defined). -2004-06-11 Dmitry V. Levin +2004-03-18 Ulrich Drepper - [BZ #217] - * debug/xtrace.sh: Fix typo in error diagnostics. + * posix/sched.h: Change sched_getaffinity and sched_setaffinity + interfaces: add new second parameter. + * sysdeps/generic/sched_getaffinity.c: Implement interface change. + * sysdeps/generic/sched_setaffinity.c: Likewise. + * sysdeps/unix/sysv/linux/sched_getaffinity.c: Likewise. Add + compatibility interface. + * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise. + * sysdeps/unix/sysv/linux/Versions: Add versions for changed + interfaces. -2004-06-14 Andreas Schwab +2004-03-18 Roland McGrath - * stdio-common/psignal.c (psignal): Don't use BUF when asprintf - failed. + * manual/Makefile (stamp-summary): Use -k option to sort, + not traditional key selection syntax. + Reported by Jim Gifford . -2004-06-15 Steven Munroe +2004-03-18 Jakub Jelinek - * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix pasto - that clobbers r19. Fix pasto that overflowed sigcontext.v_reserve. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Fix pasto - that clobbers r19. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Fix pasto - that clobbers r19. Fix pasto that overflowed sigcontext.v_reserve. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: - Fix setting of sigcontext.v_regs. Fix pasto that clobbers r19. - Fix pasto that overflowed sigcontext.v_reserve. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: - Fix pasto that clobbers r19. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Fix setting - of sigcontext.v_regs. Fix pasto that clobbers r19. Fix pasto that - overflowed sigcontext.v_reserve. + * elf/ldconfig.c: Include stdbool.h. -2004-05-04 H.J. Lu +2004-03-18 Roland McGrath - [BZ #150] - * sysdeps/generic/strtol_l.c (DEF): Use ".gnu.linkonce.r." - instead of ".gnu.linkonce.ro." as the prefix for linkonce - read-only section name. + * elf/ldconfig.c (parse_conf_include): New function. + (parse_conf): Call it to parse lines starting with "include". + Remaining words are glob patterns for more config files to read. + Take additional bool argument to disable opt_chroot processing. + (main): Update caller. -2004-06-14 Richard Henderson +2004-03-17 Ulrich Drepper - * sysdeps/alpha/div_libc.h (_ITOFS): Use "sp" not "$sp". - (_ITOFT, _FTOIT, _ITOFT2): Likewise. + * sysdeps/unix/sysv/linux/ia64/ioperm.c (_iopl): Match EPERM error + the x86 code produces in case of mission permissions. + Patch by Bernd Schmidt . -2004-06-08 Jakub Jelinek + * resolv/netdb.h: Define AI_IDN_ALLOW_UNASSIGNED, + AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED, and + NI_IDN_USE_STD3_ASCII_RULES. + * inet/getnameinfo.c (getnameinfo): Implement handling of + NI_IDN_ALLOW_UNASSIGNED and NI_IDN_USE_STD3_ASCII_RULES. + * sysdeps/posix/getaddrinfo.c (gaih_inet): Implement handling of + AI_IDN_ALLOW_UNASSIGNED and AI_IDN_USE_STD3_ASCII_RULES. - * sysdeps/s390/s390-32/backtrace.c (init): Guard with #ifdef SHARED. - (unwind_backtrace, unwind_getip): Define #ifndef SHARED. - (__backtrace): Don't call init #ifndef SHARED. - * sysdeps/s390/s390-64/backtrace.c (init): Guard with #ifdef SHARED. - (unwind_backtrace, unwind_getip): Define #ifndef SHARED. - (__backtrace): Don't call init #ifndef SHARED. - * sysdeps/ia64/backtrace.c (init): Guard with #ifdef SHARED. - (unwind_backtrace, unwind_getip): Define #ifndef SHARED. - (__backtrace): Don't call init #ifndef SHARED. +2004-03-17 Jakub Jelinek -2004-06-11 Roland McGrath + * sysdeps/x86_64/hp-timing.h (HP_TIMING_NOW): Make asm volatile. - * sysdeps/arm/strlen.S [__ARMEB__]: Compute correctly for big-endian. - From Krzysztof Halasa . +2004-03-16 Jakub Jelinek -2004-06-10 Jakub Jelinek + * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Spelling. + (JB_SIZE): Undefine before including __longjmp-common.S again. + * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Spelling. + (JB_SIZE): Undefine before including setjmp-common.S again. + * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Spelling. + * sysdeps/powerpc/powerpc64/bsd-setjmp.S: Spelling. + * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Spelling. + * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Spelling. + * sysdeps/powerpc/sigjmp.c: Spelling. - * elf/tls-macros.h [__s390x__] (TLS_LD, TLS_GD): Clobber also r14. +2004-03-16 Ulrich Drepper -2004-06-08 Jakub Jelinek + * include/ctype.h: For libc, define isdigit, isdigit_l, and + __isdigit_l as simple comparison macros. + * include/wctype.h: For libc, define iswdigit, iswdigit_l, and + __iswdigit_l as simple comparison macros. + * wctype/wcfuncs_l.c: #undef iswdigit and __iswdigit. - [BZ #199] - * crypt/md5-crypt.c (__md5_crypt): Only update buflen if realloc - succeeds. Reported by Miles Ohlrich . +2004-03-15 Ulrich Drepper - * elf/chroot_canon.c (chroot_canon): Avoid segfault if first malloc - fails. Avoid memory leak if realloc fails. + * sysdeps/sparc/fpu/bits/mathinline.h: Restore missing #ifdef. + Patch by Richard Henderson. -2004-06-09 Jakub Jelinek +2004-03-16 Jakub Jelinek - * sysdeps/generic/setenv.c (setenv): Return -1/EINVAL if name is - NULL, "" or contains '=' character in it. Reported by - Michael T Kerrisk . - * stdlib/tst-environ.c: Include errno.h. - (main): Add tests for these arguments to setenv/unsetenv. + * sysdeps/generic/strtold_l.c (STRING_TYPE, STRTOLD, __STRTOLD, + __STRTOD, INTERNAL, INTERNAL1): Define, use them. + [! USE_WIDE_CHAR] (INTERNAL (__STRTOLD)): Add libc_hidden_def. -2004-06-07 Roland McGrath + * inet/getnameinfo.c: Include stdlib.h. - * NEWS: Update bug reporting instructions. Fix some typos. +2004-03-15 Richard Henderson -2004-06-05 Ulrich Drepper + * math/Makefile (headers): Add bits/huge_valf.h, bits/huge_vall.h, + and bits/inf.h. + * math/math.h: Include them. - * stdio-common/_itoa.h: Don't expand _itoa inline for libc. - * stdio-common/_itoa.c: Add _itoa implementation. + * sysdeps/alpha/fpu/bits/mathdef.h: Remove INFINITY. + * sysdeps/arm/fpu/bits/mathdef.h: Likewise. + * sysdeps/generic/bits/mathdef.h: Likewise. + * sysdeps/i386/fpu/bits/mathdef.h: Likewise. + * sysdeps/ia64/fpu/bits/mathdef.h: Likewise. + * sysdeps/m68k/fpu/bits/mathdef.h: Likewise. + * sysdeps/mips/fpu/bits/mathdef.h: Likewise. + * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise. + * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise. + * sysdeps/sparc/fpu/bits/mathdef.h: Likewise. + * sysdeps/x86_64/fpu/bits/mathdef.h: Likewise. - * nscd/nscd_gethst_r.c (__nscd_open_socket): Change implementation - to also send request. Add parameter to allow this. - Change callers. - * nscd/nscd_getgr_r.c: Change __nscd_open_socket caller. - * nscd/nscd_getpw_r.c: Likewise. - * nscd/nscd-client.h: Change __nscd_open_socket prototype. + * sysdeps/arm/bits/huge_val.h (HUGE_VAL): Use __builtin_huge_val. + (HUGE_VALF, HUGE_VALL): Remove. + * sysdeps/ieee754/bits/huge_val.h: Likewise. + * sysdeps/sh/bits/huge_val.h: Likewise. -2004-06-05 Andreas Jaeger + * sysdeps/generic/bits/huge_val.h (HUGE_VAL): Use __builtin_huge_val. + * sysdeps/generic/bits/huge_valf.h: New file. + * sysdeps/generic/bits/huge_vall.h: New file. + * sysdeps/generic/bits/inf.h: New file. + * sysdeps/ieee754/bits/huge_valf.h: New file. + * sysdeps/ieee754/bits/inf.h: New file. + * sysdeps/i386/bits/huge_val.h: Remove file. + * sysdeps/i386/bits/huge_vall.h: New file. + * sysdeps/ia64/bits/huge_val.h: Remove file. + * sysdeps/ia64/bits/huge_vall.h: New file. + * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: New file. + * sysdeps/m68k/bits/huge_val.h: Remove file. + * sysdeps/m68k/bits/huge_vall.h: New file. + * sysdeps/s390/bits/huge_val.h: Remove file. + * sysdeps/sh/sh4/fpu/bits/huge_val.h: Remove file. + * sysdeps/sparc/bits/huge_vall.h: New file. + * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Remove file. + * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Remove file. - * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext): - Handle more than 6 args correctly. Based on a patch by Masahide - Washizawa . + * sysdeps/ieee754/bits/nan.h (NAN): Use __builtin_nanf. + * sysdeps/mips/bits/nan.h (NAN): Likewise. -2004-06-04 Ulrich Drepper +2004-03-15 Ulrich Drepper - * nscd/nscd_gethst_r.c (nscd_gethst_r): Use __nss_not_use_nscd_hosts - in all places, not __nss_not_use_nscd_group. - Reported by Philippe Gregoire. + * iconv/gconv_simple.c (__gconv_transform_utf8_internal): Use only + one copy of error handling code. -2004-06-03 Ulrich Drepper + * stdio-common/vfscanf.c: Simplify error handling macros. Use + direct locale access functions. - * sysdeps/i386/i486/bits/atomic.h: Optimize a bit. + * sysdeps/generic/strcasestr.c (__strcasestr): Optimize use of + tolower function. -2004-05-07 Dmitry V. Levin +2004-03-13 Jakub Jelinek - * argp/argp-help.c (__argp_error, __argp_failure): Check result - of __asprintf call and don't use string if it failed. - * stdio-common/psignal.c (psignal): Likewise. - * locale/programs/localedef.c (more_help): Likewise. - * resolv/res_hconf.c (arg_service_list, arg_trimdomain_list, - arg_bool, parse_line): Check result of __asprintf calls and - don't use string if they failed. - * sunrpc/svc_simple.c (registerrpc, universal): Likewise. - * elf/ldconfig.c (parse_conf_include): Check result of __asprintf - call and exit if it failed. + * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Add const. + (handle_amd): New function. + (__sysconf): Handle _SC_LEVEL4_CACHE_LINESIZE here, not in + linux_sysconf. Call handle_amd on AuthenticAMD. + * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Likewise. -2004-05-10 Jakub Jelinek +2004-03-14 Ulrich Drepper - * sysdeps/posix/sysconf.c (__sysconf) : Return _POSIX_* value instead of 1. - * sysdeps/unix/sysv/linux/sysconf.c (__sysconf) - : Return _POSIX_VERSION instead of 1. + * wcsmbs/mbsrtowcs.c: Just a wrapper around __mbsrtowcs_l. + * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Add real implementation here. -2004-05-07 Jeroen Dekkers + Make the non-_l functions wrappers around the _l functions. + * include/monetary.h: Declare __vstrmon_l. + * include/string.h: Add libc_hidden_proto for __strcoll_l and + __strxfrm_l. + * include/time.h: Define ptime_locale_status. Declare + __strptime_internal. + * include/wchar.h: Add libc_hidden_proto for __wcscoll_l and + __wcsxfrm_l. + * stdlib/strfmon.c: Move the code to strfmon_l.c. Add little + wrapper around __vstrfmon_l. + * stdlib/strfmon_l.c: Add real implementation. Split into new + function __vstrfmon_l to allow calling it from strfmon. + * stdlib/strtod.c: Move real code to strtod_l.c and add wrapper. + * stdlib/strtod_l.c: Add real implementation. + * stdlib/strtof.c: Adjust to changed strtod.c. + * stdlib/strtof_l.c: Include strtod_l.c now. + * stdlib/strtold.c: New file. + * stdlib/strtold_l.c: Removed. + * string/strcoll.c: Move real code to strcoll_l.c: Add wrapper. + * string/strcoll_l.c: Add real implementation. + * string/strxfrm.c: Move real code to strxfrm_l.c: Add wrapper. + * string/strxfrm_l.c: Add real implementation. + * sysdeps/generic/strtol.c: Move real implementation to strtol_l.c. + Add wrappers. + * sysdeps/generic/strtol_l.c: Add real implementation. + * sysdeps/generic/strtold.c: Removed. + * sysdeps/generic/strtold_l.c: New file. + * sysdeps/generic/strtoll_l.c: Include strtol_l.c now. Adjust + #defines. + * sysdeps/generic/strtoul_l.c: Likewise. + * sysdeps/generic/strtoull_l.c: Likewise. + * sysdeps/generic/wcstol_l.c: Likewise. + * sysdeps/generic/wcstoll_l.c: Likewise. + * sysdeps/generic/wcstoul_l.c: Likewise. + * sysdeps/generic/wcstoull_l.c: Likewise. + * sysdeps/ieee754/ldbl-128/strtold.c: Removed. + * sysdeps/ieee754/ldbl-128/strtold_l.c: New file. + * sysdeps/ieee754/ldbl-96/strtold.c: Removed. + * sysdeps/ieee754/ldbl-96/strtold_l.c: New file. + * sysdeps/m68k/strtold.c: Removed. + * sysdeps/m68k/strtold_l.c: New file. + * time/strftime.c: Move real code to strftime_l.c. Add wrapper. + * time/strftime_l.c: Add real implementation. + * time/strptime.c: Move real code to strptime_l.c. Add wrapper. + * time/strptime_l.c: Add real implementation. + * time/wcsftime.c: Simplify since only wrappers are defined in + strftime.c. + * time/wcsftime_l.c: Include strftime_l.c. + * wcsmbs/wcscoll.c: Simplify since the file is not used by wcscoll_l.c + anymore. + * wcsmbs/wcscoll_l.c: Include strcoll_l.c. + * wcsmbs/wcsxfrm.c: Simplify since the file is not used by wcsxfrm_l.c + anymore. + * wcsmbs/wcsxfrm_l.c: Include strxfrm_l.c. + * wcsmbs/wcstod.c: Prepare to include new strtod.c. + * wcsmbs/wcstod_l.c: Include strtod_l.c. + * wcsmbs/wcstof.c: Prepare to include new strtof.c. + * wcsmbs/wcstof_l.c: Include strtof_l.c. + * wcsmbs/wcstold.c: Prepare to include new strtold.c. + * wcsmbs/wcstold_l.c: Include strtold_l.c. - * sysdeps/mach/hurd/i386/Makefile (CFLAGS-init-first.c): Add - -momit-leaf-frame-pointer. + * locale/uselocale.c: Use _NL_CURRENT_LOCALE instead of __libc_tsd_get. - * inet/test-ifaddrs.c (addr_string): Surround AF_PACKET case with - #ifdef AF_PACKET. + * sysdeps/generic/strcasecmp.c: Optimize a bit. It's better to get + a reference to the current locale and then use the _l functions. + * sysdeps/generic/strncase.c: Likewise. - * sysdeps/mach/hurd/getcwd.c - (_hurd_canonicalize_directory_name_intern): Only realloc when - size is <= 0. +2004-03-11 Jeroen Dekkers - * sysdeps/mach/hurd/mmap.c (__mmap): Fail when addr or offset - isn't page aligned. + * cppflags-iterator.mk: Change libof-$(cpp-src) to + libof-$(notdir $(cpp-src)). - * sysdeps/mach/hurd/spawni.c (EXPAND_DTABLE): Set dtablesize to - new size. +2004-03-13 Ulrich Drepper - * sysdeps/mach/hurd/Versions (GLIBC_PRIVATE): Add __libc_read, - __libc_write and __libc_lseek64. + * resolv/netdb.h (EAI_OVERFLOW): Define. + (NI_IDN): Define. + * inet/getnameinfo.c (getnameinfo): Return error in case argument + buffers overflow. Implement NI_IDN. -2004-05-29 Roland McGrath +2004-03-12 Ulrich Drepper - * elf/Makefile (shared-only-routines): Add dl-caller. + * resolv/netdb.h: Define AI_CANONIDN. + * sysdeps/posix/getaddrinfo.c: Implement AI_CANONIDN. -2004-05-28 Ulrich Drepper +2004-03-12 Richard Henderson - * sysdeps/powerpc/configure.in: New file. + * sysdeps/unix/sysv/linux/alpha/select.S: Fix unwind. Propagate + oldvalue from CENABLE to CDISABLE. -2004-05-28 Steven Munroe +2004-03-12 Ulrich Drepper - * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Add .machine - "altivec" to enable VMX instructions. + * sysdeps/unix/sysv/linux/x86_64/sysconf.c: New file. + + * sysdeps/unix/sysv/linux/bits/local_lim.h: Define HOST_NAME_MAX. + + * posix/getconf.c (vars): Add _SC_ values for cache information. + * sysdeps/generic/bits/confname.h: Add _SC_* values for cache + information. + * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Reorganize to + allow yet another sysconf function to include the one in this file. + * sysdeps/unix/sysv/linux/i386/sysconf.c: New file. + * sysdeps/generic/sysconf.c: Add default handling for cache line info. + +2004-03-11 Ulrich Drepper + + * sysdeps/posix/sysconf.c (__sysconf): Add missing support for + some _SC_* values. + +2004-03-10 Chris Heath + + * iconvdata/gconv.map: Add gconv_end (fixes memory leak). + +2004-03-11 Jakub Jelinek + + * sysdeps/powerpc/powerpc32/__longjmp.S (JB_SIZE): Undefine before + including __longjmp-common.S again. + * sysdeps/powerpc/powerpc64/__longjmp.S (JB_SIZE): Likewise. + * sysdeps/powerpc/powerpc32/setjmp.S (JB_SIZE): Undefine before + including setjmp-common.S again. + * sysdeps/powerpc/powerpc64/setjmp.S (JB_SIZE): Likewise. + * sysdeps/powerpc/novmxsetjmp.h (__novmx__longjmp): Fix type of + first argument in the prototype. + * sysdeps/powerpc/longjmp.c (__vmx__longjmp, __vmx__libc_longjmp): + Remove bogus semicolons. + + * sysdeps/s390/dl-tls.h: Only add __tls_get_offset assembly if + IS_IN_rtld. + (__TLS_GET_ADDR): Use __tls_get_offset, not __tls_get_addr. + +2004-03-11 Ulrich Drepper + + * resolv/ns_ttl.c: Don't add ns_parse_ttl for libresolv.so. + +2004-03-10 Ulrich Drepper + + * sysdeps/generic/errno.c: Include . Use + RTLD_PRIVATE_ERRNO to decide whether errno compat symbols are needed. + + * elf/dl-sym.c: Unify _dl_sym and _dl_vsym code and make the entry + points wrappers around the unified code. + +2004-03-11 Richard Henderson + + * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (kernel_stat64): New. + (glibc21_stat): New. + * sysdeps/unix/sysv/linux/alpha/fxstat.c: New file. + * sysdeps/unix/sysv/linux/alpha/lxstat.c: New file. + * sysdeps/unix/sysv/linux/alpha/xstat.c: New file. + * sysdeps/unix/sysv/linux/alpha/xstatconv.c (__xstat_conv): Add + code for _STAT_VER_GLIBC2_3_4. + (__libc_missing_axp_stat64): New. + * sysdeps/unix/sysv/linux/alpha/xstatconv.h: New file. + * sysdeps/unix/sysv/linux/alpha/bits/stat.h (__ST_TIME): New. + (_STAT_VER_GLIBC2_3_4, _STAT_VER_KERNEL64): New. + (struct stat, struct stat64): Update to new format. + (_STATBUF_ST_NSEC): New. + +2004-03-11 Jakub Jelinek + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S + (__novec_swapcontext): Branch to novec_* labels. + +2004-03-10 Ulrich Drepper + + * posix/getopt.c (_): Don't define here for glibc. + +2004-03-10 Jakub Jelinek + + * include/libc-symbols.h [__ASSEMBLY__] (compat_text_section, + compat_data_section): Define. + * sysdeps/unix/sysv/linux/alpha/adjtime.c (ADJTIME): Add + attribute_compat_text_section. + * sysdeps/unix/sysv/linux/alpha/wordexp.c (__old_wordexp): Likewise. + * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob, + __old_globfree): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/chown.c (__chown_is_lchown): + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c + (__posix_fadvise64_l32): Likewise. + * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c + (__posix_fadvise64_l32): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c (__old_semctl): + Likewise. + * sysdeps/unix/sysv/linux/semctl.c (__old_semctl): Likewise. + * sysdeps/unix/sysv/linux/posix_fadvise64.c (__posix_fadvise64_l32): + Likewise. + * sysdeps/unix/sysv/linux/shmctl.c (__old_shmctl): Likewise. + * hurd/compat-20.c (_hurd_proc_init_compat_20): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S + (__swapcontext, __novec_swapcontext): Use END instead of PSEUDO_END. + (__novec_swapcontext, __swapcontext_stub): Add compat_text_section. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S + (__makecontext_stub): Likewise. + (__novec_makecontext): Likewise. Fix name in END () to match + function name. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S + (__setcontext): Use END instead of PSEUDO_END. + (__novec_setcontext): Add compat_text_section. Use END instead of + PSEUDO_END, fix the name in END () to match function name. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S + (__getcontext, __novec_getcontext): Use END instead of PSEUDO_END. + (__novec_getcontext, __getcontext_stub): Add compat_text_section. + +2004-03-10 Kaz Kojima + + * sysdeps/sh/dl-machine.h: Don't use GL macro if not appropriate. + (COPY_UNALIGNED_WORD): Remove cast used as lvalue. + +2004-03-10 Ulrich Drepper + + * sysdeps/i386/dl-procinfo.h (HWCAP_IMPORTANT): Remove mmx, add sse2. + +2004-03-10 Richard Henderson + + * sysdeps/generic/errno.c: Disable versioning for rtld. + + * sysdeps/generic/Makefile (elf/shared): Add unwind-pe. + * sysdeps/generic/unwind-pe.c: New file. + * sysdeps/generic/unwind-pe.h: Only prototypes for _LIBC without + _LIBC_DEFINITIONS. + +2004-03-10 Ulrich Drepper + + * include/libc-symbols.h: Define attribute_compat_text_section and + attribute_compat_data_section. + * io/ftw.c: Mark compat code with attribute_compat_text_section. + * libio/iofopncook.c: Likewise. + * libio/oldfileops.c: Likewise. + * libio/oldiofclose.c: Likewise. + * libio/oldiofdopen.c: Likewise. + * libio/oldiofgetpos.c: Likewise. + * libio/oldiofgetpos64.c: Likewise. + * libio/oldiofopen.c: Likewise. + * libio/oldiofsetpos.c: Likewise. + * libio/oldiofsetpos64.c: Likewise. + * libio/oldiopopen.c: Likewise. + * libio/oldpclose.c: Likewise. + * libio/oldtmpfile.c: Likewise. + * nptl/forward.c: Likewise. + * nss/getXXbyYY_r.c: Likewise. + * nss/getXXent_r.c: Likewise. + * posix/tst-vfork1.c: Likewise. + * stdlib/canonicalize.c: Likewise. + * stdlib/old_atexit.c: Likewise. + * sysdeps/generic/glob.c: Likewise. + * sysdeps/posix/posix_fallocate64.c: Likewise. + * sysdeps/unix/sysv/linux/i386/alphasort64.c: Likewise. + * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. + * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise. + * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise. + * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise. + * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise. + * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise. + * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise. + * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise. + * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise. + * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise. + * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise. + * posix/regexec.c: Likewise. + + * sysdeps/unix/sysv/linux/i386/syscalls.list: vm86@@GLIBC_2.3.4 + should be the default symbol. Having none misses the point. + +2004-03-09 Ulrich Drepper + + * stdlib/qsort.c (_quicksort): Initialize first stack element [BZ #16]. + +2004-03-05 Jakub Jelinek + + * posix/regexec.c (regexec): Return with error on unknown eflags. + Replace weak_alias with versioned_symbol. + (__compat_regexec): New. + * posix/Versions (libc): Add regexec@GLIBC_2.3.4. + +2004-03-09 Richard Henderson + + * math/math.h (isgreater, isgreaterequal, isless, islessequal, + islessgreater, isunordered): Use builtins if available. + * sysdeps/i386/fpu/bits/mathinline.h: Don't define via builtins. + * sysdeps/m68k/fpu/bits/mathinline.h: Likewise. + * sysdeps/powerpc/fpu/bits/mathinline.h: Likewise. + * sysdeps/sparc/fpu/bits/mathinline.h: Likewise. + * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise. + * sysdeps/alpha/fpu/bits/mathinline.h (isgreater, isgreaterequal, + isless, islessequal, islessgreater): Remove; use default. + (isunordered): Convert inputs to double. + +2004-02-09 Jakub Jelinek + + * posix/Makefile (tests): Add tst-vfork2. + * posix/tst-vfork1.c (do_test): Fix comment. + * posix/tst-vfork2.c: New test. + +2004-03-09 Ulrich Drepper + + * elf/dl-lookup.c (_dl_lookup_symbol_x): Fix possible NULL pointer + derefernce in error message. Pretty printing. + + * po/nl.po: Update from translation team. + +2004-03-08 Andreas Schwab + + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Don't truncate + sysinfo pointer value. + +2004-03-08 Paul Eggert + + Merge from gnulib. We now assume C89 or better. + * posix/getopt1.c (const): Remove. + * posix/getopt.c (const): Likewise. + * posix/getopt1.c (getopt_long, _getopt_long_r, getopt_long_only, + _getopt_long_only_r, main): Use prototypes, not old-style definitions. + * posix/getopt.c (exchange, _getopt_initialize, _getopt_internal_r, + _getopt_internal, getopt, main): Likewise. + * posix/getopt.h (getopt, getopt_long, getopt_long_only): Likewise. + * posix/getopt.c [!defined VMS || !HAVE_STRING_H]: + Include regardless. No need for . + [!defined _LIBC]: Include "gettext.h" rather than rolling it ourselves. + (_): Define to gettext always. + (my_index): Remove: all uses changed to strchr. + (strlen): Remove declaration. + * posix/getopt.h (struct option.name): Always const char *. + +2004-03-08 Marcus Brinkmann + + * posix/getopt.h (_getopt_internal): Move to ... + * posix/getopt_int.h: ... here. New file. + * include/getopt_int.h: New file. + * include/getopt.h: Remove libc_hidden_proto for getopt_long + and getopt_long_only. + * posix/getopt1.c: Include "getopt_int.h". Remove + libc_hidden_def for getopt_long and getopt_long_only. + (_getopt_long_r, _getopt_long_only_r): New functions. + * posix/getopt.c: Include "getopt_int.h". + (__getopt_initialized): Variable removed. + (nextchar, ordering, posixly_correct, first_nonopt, last_nonopt): + Static variables removed. + (nonoption_flags_max_len, nonoption_flags_len) [_LIBC && + USE_NONOPTION_FLAGS]: Static variables removed. + (getopt_data): New static variable. + (SWAP_FLAGS): Use d->__nonoption_flags_len instead + nonoption_flags_len. + (exchange): Add new argument D of type struct getopt_data *. + Replace optind with d->optind, optarg with d->optarg, opterr with + d->opterr, optopt with d->optopt, nextchar with d->__nextchar, + first_nonopt with d->__first_nonopt, last_nonopt with + d->__last_nonopt, d->ordering with d->__ordering, + d->posixly_correct with d->__posixly_correct (which is now an + int instead a string, so fix users), nonoption_flags_len + with d->__nonoption_flags_len, nonoption_flags_max_len with + d->__nonoption_flags_max_len. + (_getopt_initialize): Likewise. + (_getopt_internal): Rename to ... + (_getopt_internal_r): ... this. Also add new argument D of type + struct getopt_data * and use of members of D rather than global or + static variables as described for exchange() above. Add new argument + to invocations of _getopt_initialize and exchange. + (_getopt_internal): Reimplement in terms of _getopt_internal_r. + * argp/argp-parse.c: Include . + [_LIBC]: Do not include . + [!_LIBC && HAVE_CTHREADS_H]: Do not include . + [!_LIBC] (_argp_hang): Make static. + (getopt_lock, LOCK_GETOPT, UNLOCK_GETOPT): Remove. + (_argp_unlock_xxx): Remove. + (parser_init): Do not use LOCK_GETOPT. + (parser_finalize): Do not use UNLOCK_GETOPT. + (struct parser): New member OPT_DATA. + (parser_init): Initialize parser->opt_data. Use + parser->opt_data.opterr instead of opterr. + (parser_parse_opt): Use parser->opt_data.optarg instead optarg. + (parser_parse_next): Likewise. Use parser->opt_data.optind + instead optind. Use parser->opt_data.optopt instead of optopt. + Call _getopt_long_only_r and _getopt_long_r instead of + getopt_long_only and getopt_long, and pass the extra argument. + +2004-03-09 Ulrich Drepper + + * iconv/gconv_db.c: Don't define lock as static. Rename to + __gconv_lock and export from the file. + * iconv/gconv_int.h: Declare __gconv_lock. + * libio/iofclose.c [_LIBC] (_IO_new_fclose): Lock gconv lock + before __gconv_release_step calls. + Patch by Shunichi Sagawa . + + * iconv/gconv_simple.c (internal_ucs4_loop): Fix typo in last change. + + * posix/Makefile (tests): Add tst-vfork1. + * posix/tst-vfork1.c: New file. + +2004-03-08 Ulrich Drepper + + * sysdeps/i386/dl-machine.h: Define ARCH_FIXUP_ATTRIBUTE and use + it in the fixup function declarations. + * elf/dl-runtime.c: If ARCH_FIXUP_ATTRIBUTE is not defined, + provide dummy definition. Use macro in fixup function + definitions. + + * sysdeps/unix/sysv/linux/i386/vfork.S: If SAVE_PID and + RESTORE_PID are defined, use it. + * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise. + + * sysdeps/posix/gai_strerror.c: Add error string for EAI_IDN_ENCODE. + + * Makerules: Use extra-modules.mk if modules-names is defined. + * extra-modules.mk: New file. + * dlfcn/Makefile (CPPFLAGS-modcxaatexit.c): Removed. + * elf/Makefile (CFLAGS-interp.c): Add -DNOT_IN_libc=1. + * csu/Makefile ($(objpfx)version-info.h): Pass -DNOT_IN_libc=1 to + compiler. + * Makefile (distribute): Add symbol-hacks.h and extra-modules.mk. + * sysdeps/generic/symbol-hacks.h: New file. + * sysdeps/wordsize-32/symbol-hacks.h: New file. + * sysdeps/wordsize-32/divdi3.c: Define *_internal aliases for __divdi3, + __moddi3, __udivdi3, and __umoddi3. + * include/libc-symbols.h: Include . + +2004-03-08 Jeroen Dekkers + + * elf/rtld.c (_rtld_global_ro) [MAP_COPY]: Don't set _dl_unload_cache. + + * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): + Don't use INTUSE with _dl_signal_error. + +2004-03-08 Ulrich Drepper + + * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow): + Don't use INTUSE with _dl_signal_error. + +2004-03-08 Richard Henderson + + * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Fix typo + in name. + +2004-03-07 Ulrich Drepper + + * config.h.in: Add entry for HAVE_LIBIDN. + * configure.in: If libidn add-on present define HAVE_LIBIDN. + * Versions.def: Add entry for libcidn. + +2004-03-07 Simon Josefsson + + * resolv/netdb.h [__USE_GNU]: Add new AI_IDN ai_flags for addrinfo. + [__USE_GNU]: Add new error code EAI_IDN_ENCODE for getaddrinfo. + * sysdeps/posix/getaddrinfo.c: Add prototype for __idna_to_ascii_lz + and define IDNA_SUCCESS. + (gaih_inet): If ai_flags have AI_IDN, invoke __idna_to_ascii_lz. + (getaddrinfo): Fix EAI_BADFLAGS test to include AI_IDN. + All changes only applicable when glibc is compiled with the libidn + add-on. + +2004-03-07 Ulrich Drepper + + * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_init): Call + _dl_lookup_symbol_x not _dl_lookup_symbol. + + * sysdeps/powerpc/elf/rtld-global-offsets.sym: Adjust for moving + _dl_hwcap into _rtld_global_ro. + * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise. * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise. * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise. @@ -4842,639 +1492,15268 @@ * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise. -2004-05-27 Jakub Jelinek +2004-03-07 Andreas Schwab - * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Define using - __builtin_expm1l for GCC 3.5+. - (__expl): Define using __builtin_expl for GCC 3.4+. - (exp, expf, expl): Don't define for GCC 3.4+. - (tan, tanf, tanl): Don't define for GCC 3.5+. - (__atan2l): Define using __builtin_atan2l for GCC 3.4+. - (atan2, atan2f, atan2l): Don't define for GCC 3.4+ or !__FAST_MATH__. - (fmod, fmodf, fmodl): Don't define for GCC 3.5+ or !__FAST_MATH__. - (fabsf, fabsl): Only provide if __USE_MISC or __USE_ISOC99. - (sin, sinf, sinl, cos, cosf, cosl, log, logf, logl): Don't define - for GCC 3.4+. - (log10, log10f, log10l, asin, asinf, asinl, acos, acosf, acosl): - Don't define for GCC 3.5+. - (atan, atanf, atanl): Don't define for GCC 3.4+ or !__FAST_MATH__. - (log1p, log1pf, log1pl, logb, logbf, logbl, log2, log2f, log2l): Don't - define for GCC 3.5+. - (drem, dremf, dreml): Don't define for GCC 3.5+ or !__FAST_MATH__. - * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, sqrtf, sqrtl): Don't - define for GCC 3.2+. + * elf/dl-sym.c: Include only when USE_TLS. -2004-05-27 Jakub Jelinek +2004-03-07 Andreas Jaeger - * string/bits/string2.h (__bzero): Define even for GCC 3.0+. - * sysdeps/alpha/stpcpy.S (stpcpy): Add libc_hidden_builtin_def. - * sysdeps/alpha/alphaev67/stpcpy.S (stpcpy): Likewise. - * sysdeps/powerpc/powerpc32/stpcpy.S (stpcpy): Likewise. - * sysdeps/powerpc/powerpc64/stpcpy.S (stpcpy): Likewise. - * sysdeps/sparc/sparc32/stpcpy.S (stpcpy): Likewise. - * sysdeps/sparc/sparc64/stpcpy.S (stpcpy): Likewise. - * sysdeps/i386/stpcpy.S (stpcpy): Likewise. - * sysdeps/i386/i586/stpcpy.S (stpcpy): Likewise. - * sysdeps/generic/stpcpy.c (stpcpy): Likewise. - * sysdeps/x86_64/stpcpy.S (stpcpy): Likewise. - * sysdeps/i386/i586/memcpy.S (memcpy): Remove - libc_hidden_builtin_def if MEMPCPY_P. - * sysdeps/x86_64/memcpy.S (memcpy): Likewise. - * sysdeps/i386/i686/mempcpy.S (mempcpy): Add libc_hidden_builtin_def. - * sysdeps/i386/i586/mempcpy.S (mempcpy): Likewise. - * sysdeps/generic/mempcpy.c (mempcpy): Likewise. - * sysdeps/x86_64/mempcpy.S (mempcpy): Likewise. + * iconvdata/iso-2022-cn-ext.c (BODY): Remove cast used as lvalue. + * iconvdata/tcvn5712-1.c (EMIT_SHIFT_TO_INIT): Likewise. + * iconvdata/euc-jisx0213.c (EMIT_SHIFT_TO_INIT): Likewise. + * iconvdata/shift_jisx0213.c (EMIT_SHIFT_TO_INIT): Likewise. + * iconvdata/tscii.c (EMIT_SHIFT_TO_INIT): Likewise. -2004-05-26 Roland McGrath +2004-03-07 Ulrich Drepper - * sysdeps/generic/bits/in.h - (IMPLINK_IP, IMPLINK_LOWEXPER, IMPLINK_HIGHEXPER): Macros removed. - These are long obsolete in BSD systems where they originated. - * conform/data/netinet/in.h-data: Remove `allow IMPLINK_*' + * sysdeps/generic/ldsodefs.h: Move _dl_initial_searclist, + _dl_hp_timing_overhead, _dl_init_all_dirs, and the content of + dl-procinfo.c from _rtld_global to _rtld_global_ro. + * elf/rtld.c: Adjust initializer for _rtld_global_ro. + * elf/dl-close.c: Use GLRO instead of GL where appropriate. + * elf/dl-libc.c: Likewise. + * elf/dl-load.c: Likewise. + * sysdeps/i386/dl-procinfo.h: Likewise. + * sysdeps/i386/i686/hp-timing.h: Likewise. + * sysdeps/ia64/hp-timing.h: Likewise. + * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise. + * sysdeps/sparc/sparc64/hp-timing.h: Likewise. + * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: Likewise. + * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise. + * string/test-string.h: Define GLRO. -2004-05-26 Jakub Jelinek +2004-03-06 Ulrich Drepper - * include/string.h (mempcpy, stpcpy): Add libc_hidden_builtin_proto. - * string/bits/string2.h (memset): Disable macro for GCC 3.0+. - (__mempcpy): Use __builtin_mempcpy for GCC 3.4+. - (strchr): For GCC 3.2+, only use __rawmemchr if second argument is - constant '\0' and first argument is not constant. - (__stpcpy): Use __builtin_stpcpy for GCC 3.4+. - (strncpy): Remove #ifdef _USE_STRING_ARCH_mempcpy variant. - For GCC 3.2+ use __builtin_strncpy. - (strncat): For GCC 3.2+ use __builtin_strncat. - (strcmp): For GCC 3.2+ use __builtin_strcmp if both arguments are - constant. - (strcspn, strspn, strpbrk): For GCC 3.2+, use builtin function - if both arguments are constant. + * elf/dl-lookup.c: We don't need for specialized lookup functions. + Combining the functionality does not slow down relocation processing, + it might even speed it up a little. + * sysdeps/generic/ldsodefs.h: Adjust prototypes for lookup function. + Add only one function pointer to rtlf_global_ro. + * elf/do-lookup.h: Replace #ifs with ifs. + * elf/dl-libc.c: Adjust _dl_lookup_* callers. + * elf/dl-reloc.c: Likewise. + * elf/dl-runtime.c: Likewise. + * elf/dl-sym.c: Likewise. + * elf/rtld.c: Likewise. Adjust _rtld_global_ro initialization. -2004-05-26 Ulrich Drepper +2004-03-06 Richard Henderson - * nss/nss_files/files-hosts.c: Fix condition for looking up IPv4 - mapped addresses in gethostbyaddr. + * sysdeps/generic/ldsodefs.h (__rtld_local_attribute__, + __rtld_global_attribute__): Undef after use. + (_rtld_local_ro): Define __rtld_local_attribute__ with just hidden + if available. -2004-05-25 Ulrich Drepper + * soft-fp/quad.h (union _FP_UNION_Q): Add longs structure. + * sysdeps/alpha/Implies: Add alpha/soft-fp. + * sysdeps/alpha/soft-fp/sfp-machine.h: Rewrite for GEM interface. + * sysdeps/alpha/Subdirs: New file. + * sysdeps/alpha/soft-fp/Makefile: New file. + * sysdeps/alpha/soft-fp/Versions: New file. + * sysdeps/alpha/soft-fp/local-soft-fp.h: New file. + * sysdeps/alpha/soft-fp/ots_add.c: New file. + * sysdeps/alpha/soft-fp/ots_cmp.c: new file. + * sysdeps/alpha/soft-fp/ots_cmpe.c: New file. + * sysdeps/alpha/soft-fp/ots_cvtqux.c: New file. + * sysdeps/alpha/soft-fp/ots_cvtqx.c: New file. + * sysdeps/alpha/soft-fp/ots_cvttx.c: New file. + * sysdeps/alpha/soft-fp/ots_cvtxq.c: New file. + * sysdeps/alpha/soft-fp/ots_cvtxt.c: New file. + * sysdeps/alpha/soft-fp/ots_div.c: New file. + * sysdeps/alpha/soft-fp/ots_mul.c: New file. + * sysdeps/alpha/soft-fp/ots_nintxq.c: New file. + * sysdeps/alpha/soft-fp/ots_sub.c: New file. - * nss/digits_dots.c (__nss_hostname_digits_dots): Remove typep and - flags parameter, convert afp to simple int parameter. Adjust code. - typep was never != NULL and flags therefore also unused. *afp is - never modified. - * nss/nsswitch.h: Adjust __nss_hostname_digits_dots prototype. - * nss/getXXbyYY.c: Remove HAVE_TYPE handling. Adjust af parameter - handling for __nss_hostname_digits_dots calls. - * nss/getXXbyYY_r.c: Likewise. +2004-03-06 Ulrich Drepper - * elf/dl-load.c (_dl_map_object_from_fd): Map DSOs with MAP_DENYWRITE. + * configure.in: Recognize --enable-bind-now. + * elf/dynamic-link.h (elf_get_dynamic_info): Allow bind-now flags + in ld.so. + * Makerules (LDFLAGS-c.so): Add -z now if so configured. + * elf/Makefile ($(objpfx)ld.so): Likewise. + * config.make.in (bind-now): New definition. -2004-05-25 Steven Munroe + * elf/dl-fini.c (_dl_fini): Combine _dl_debug_printf calls. + * elf/rtld.c (print_statistics): Likewise. - * sysdeps/powerpc/fpu/Makefile: Make ld.so a dependency of libm.so. - * sysdeps/powerpc/fpu/bits/mathinline.h [__LIBC_INERNAL_MATH_INLINES] - (__ieee754_sqrt): Define as __MATH_INLINE using fsqrt instruction. - (__ieee754_sqrtf): Define as __MATH_INLINE using fsqrts instruction. - * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Moved - implementation from w_sqrt.c. - * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Moved - implementation from w_sqrtf.c. - * sysdeps/powerpc/fpu/w_sqrt.c (__sqrt): Wrapper implementation - using inline __ieee754_sqrt(). - * sysdeps/powerpc/fpu/w_sqrtf.c (__sqrtf): Wrapper implementation - using inline __ieee754_sqrtf(). - * sysdeps/powerpc/powerpc32/sysdep.h [__ASSEMBLER__]: Include - independent of __ASSEMBLER__. - * sysdeps/powerpc/sysdep.h [__ASSEMBLER__] (PPC_FEATURE_*): Define - PPC_FEATURE_* independent of __ASSEMBLER__. + * elf/dl-open.c: No need to pass any parameter to _dl_start_profile. + They are the same in both places. + * elf/dl-profile.c: Likewise. + * elf/rtld.c: Likewise. + * sysdeps/generic/ldsodefs.h: Likewise. + * elf/dl-support.c: Define _dl_profile_output variable. Initialize it. -2004-05-25 Jakub Jelinek +2004-03-05 Ulrich Drepper - * sysdeps/pthread/aio_notify.c: Use <> instead of "" for aio_misc.h - include. - (aio_start_notify_thread): Define if not defined. - (notify_func_wrapper): Use it. - * sysdeps/pthread/aio_misc.c: Use <> instead of "" for aio_misc.h - include. - (aio_create_helper_thread): Define if not defined. - (__aio_create_helper_thread): New function. - (__aio_enqueue_request): Use aio_create_helper_thread. + * elf/Versions: Remove functions which are not exported anymore. + * dlfcn/dlerror.c: Call ld.so functions through GLSO. + * dlfcn/dlinfo.c: Likewise. + * elf/dl-close.c: Likewise. + * elf/dl-libc.c: Likewise. + * elf/dl-open.c: Likewise. + * elf/dl-sym.c: Likewise. + * sysdeps/generic/libc-start.c: Likewise. + * elf/dl-debug.c: Remove *_internal definition. Don't use INTUSE for + functions which are not exported anymore. + * elf/dl-deps.c: Likewise. + * elf/dl-dst.h: Likewise. + * elf/dl-error.c: Likewise. + * elf/dl-fini.c: Likewise. + * elf/dl-init.c: Likewise. + * elf/dl-load.c: Likewise. + * elf/dl-lookup.c: Likewise. + * elf/dl-misc.c: Likewise. + * elf/dl-profile.c: Likewise. + * elf/dl-profstub.c: Likewise. + * elf/dl-reloc.c: Likewise. + * elf/dl-runtime.c: Likewise. + * elf/dl-version.c: Likewise. + * elf/do-lookup.h: Likewise. + * include/dlfcn.h: Likewise. + * sysdeps/generic/dl-cache.c: Likewise. + * sysdeps/generic/dl-fptr.c: Likewise. + * sysdeps/generic/dl-origin.c: Likewise. + * sysdeps/generic/dl-sysdep.c: Likewise. + * sysdeps/generic/dl-tls.c: Likewise. + * sysdeps/generic/ldsodefs.h: Likewise. + * sysdeps/i386/dl-tls.h: Likewise. + * sysdeps/unix/sysv/linux/dl-origin.c: Likewise. + * elf/rtld.c: Likewise. Export function though _rtld_global_ro. - * nis/ypclnt.c (ypall_data, ypall_foreach): Remove. - (struct ypresp_all_data): New type. - (__xdr_ypresp_all): Change second argument to - struct ypresp_all_data *. Replace ypall_foreach and - ypall_data with objp->foreach and objp->data. - (yp_all): Remove status variable, add data. Replace - all uses of status with data.status. Initialize data.foreach - and data.data instead of ypall_foreach and ypall_data. + * sysdeps/generic/ldsodefs.h (struct rtld_global): Move + dl_debug_fd to rtld_global_ro. + * elf/rtld.c: Use GLRO instead of GL for dl_debug_fd. + * elf/dl-misc.c: Likewise. -2004-05-24 Jakub Jelinek + * malloc/malloc.c: Don't call exported interface in the implementation. - * elf/dl-lookup.c (add_dependency): Set DF_1_NODELETE bit - in l_flags_1, not in l_flags. + * include/wctype.h: Add libc_hidden_proto for __towctrans. + * wctype/towctrans.c: Add libc_hidden_def. -2004-04-10 Robert Millan + * libio/memstream.c (open_memstream): Use _IO_init with INTUSE. - * sysdeps/unix/sysv/linux/bits/in.h: Cosmetic fixes to get in sync - with sysdeps/generic/bits/in.h. + * posix/regexec.c (transit_state): Remove unused variable + next_state. -2004-05-25 Roland McGrath + * posix/regcomp.c (init_dfa): Use __btowc instead of btowc. - * sysdeps/generic/unwind-dw2-fde-glibc.c: Change copyright terms from - GCC GPL to standard glibc LGPL. + * sysdeps/generic/ldsodefs.h: Define new structure rtld_global_ro. + Declare _rtld_global_ro and _rtld_local_ro. Move members of + rtld_global structure into the new one if they are modified only + at startup time. Define GLRO to access _rtld_global_ro. + * elf/Versions: Export _rtld_global_ro. + * elf/dl-close.c: Use GLRO instead of GL where appropriate. + * elf/dl-conflict.c: Likewise. + * elf/dl-deps.c: Likewise. + * elf/dl-dst.h: Likewise. + * elf/dl-error.c: Likewise. + * elf/dl-fini.c: Likewise. + * elf/dl-init.c: Likewise. + * elf/dl-load.c: Likewise. + * elf/dl-lookup.c: Likewise. + * elf/dl-minimal.c: Likewise. + * elf/dl-open.c: Likewise. + * elf/dl-profile.c: Likewise. + * elf/dl-reloc.c: Likewise. + * elf/dl-runtime.c: Likewise. + * elf/dl-support.c: Likewise. + * elf/dl-version.c: Likewise. + * elf/do-lookup.h: Likewise. + * elf/rtld.c: Likewise. + * sysdeps/generic/dl-cache.c: Likewise. + * sysdeps/generic/dl-origin.c: Likewise. + * sysdeps/generic/dl-sysdep.c: Likewise. + * sysdeps/generic/libc-start.c: Likewise. + * sysdeps/generic/dl-cache.c: Likewise. + * sysdeps/i386/dl-machine.h: Likewise. + * sysdeps/i386/setfpucw.c: Likewise. + * sysdeps/i386/fpu/fclrexcpt.c: Likewise. + * sysdeps/i386/fpu/fedisblexcpt.c: Likewise. + * sysdeps/i386/fpu/feenablxcpt.c: Likewise. + * sysdeps/i386/fpu/feholdexcpt.c: Likewise. + * sysdeps/i386/fpu/fesetround.c: Likewise. + * sysdeps/i386/fpu/fsetexcptflg.c: Likewise. + * sysdeps/i386/fpu/ftestexcept.c: Likewise. + * sysdeps/unix/sysv/linux/dl-execstat.c: Likewise. + * sysdeps/unix/sysv/linux/dl-librecon.h: Likewise. + * sysdeps/unix/sysv/linux/dl-origin.c: Likewise. + * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise. + * sysdeps/unix/sysv/linux/getclktck.c: Likewise. + * sysdeps/unix/sysv/linux/getpagesize.c: Likewise. + * sysdeps/unix/sysv/linux/init-first.c: Likewise. + * sysdeps/unix/sysv/linux/prof-freq.c: Likewise. + * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise. + * sysdeps/unix/sysv/linux/i386/sigaction.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise. + * sysdeps/x86_64/dl-machine.h: Likewise. + * sysdeps/sparc/sparc64/dl-machine.h: Likewise. + * sysdeps/sparc/sparc32/dl-machine.h: Likewise. + * sysdeps/s390/s390-64/dl-machine.h: Likewise. + * sysdeps/s390/s390-32/dl-machine.h: Likewise. + * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise. + * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise. + * sysdeps/m68k/dl-machine.h: Likewise. + * sysdeps/ia64/dl-machine.h: Likewise. + * sysdeps/arm/dl-machine.h: Likewise. + * sysdeps/alpha/dl-machine.h: Likewise. + * generic/dl-fptr.c: Likewise. + * mach/hurd/dl-sysdep.c: Likewise. + * unix/sysv/linux/ia64/dl-static.c: Likewise. + * unix/sysv/linux/ia64/getpagesize.c: Likewise. + * unix/sysv/linux/m68k/getpagesize.c: Likewise. + * unix/sysv/linux/sparc/sparc32/getpagesize.c: Likewise. -2004-05-24 Ulrich Drepper +2004-03-04 Ulrich Drepper - * manual/string.texi (Copying and Concatenation): Fixed second - concat example. - Reported by Fabian Pietsch . + * sysdeps/generic/ldsodefs.h: Don't define _dl_name_match_p as inline. + * elf/dl-misc.c: Define _dl_name_match_p here. + * elf/dl-open.c (check_libc_caller): Don't use _dl_name_match_p. -2004-05-23 Ulrich Drepper + * elf/dl-open.c (dl_open_worker): Check that _dl_open is called + from the right place. - * malloc/obstack.c: Don't allow linking with _obstack. +2004-01-15 Paolo Bonzini -2004-05-23 Andreas Schwab + * posix/regex.h (REG_STARTEND): Define. + * posix/regexec.c (regexec): Check for REG_STARTEND. - * sysdeps/m68k/m68020/bits/atomic.h: Use "+m" constraint instead - of separate "m" constraints. +2004-02-29 Paolo Bonzini -2004-05-15 Chris Demetriou + * posix/regexec.c (transit_state): Don't handle state == NULL. + Move state log and backreference management... + (merge_state_with_log): ... to this function. + (find_recover_state): New function. + (check_matching): Use find_recover_state to get a non-NULL + state when an invalid state is reached. Compute the amount + of initial characters to be skipped less conservatively when + multi-byte character sets are in use. Do not check + dfa->nbackref if the state log is NULL. Initialize err. + (acquire_init_state_context): Expect err to be initialized. + Fix spacing. - * sysdeps/mips/dl-machine.h (ELF_DL_FRAME_SIZE) - (ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS): For the N32 - and 64 ABIs, save and restore regs $10 and $11 (a6 and a7). +2004-03-05 Jakub Jelinek -2004-05-20 Paul Eggert + * sysdeps/sparc/sparc32/elf/start.S: Handle PIEs. + * sysdeps/sparc/sparc64/elf/start.S: Likewise. - * malloc/obstack.c (_obstack) [!defined _LIBC]: Remove; not used. - Add comment explaining why libc still defines it. +2004-03-04 Jakub Jelinek -2004-05-19 Paul Eggert + * iconv/iconv_prog.c (process_block): Handle omit_invalid. + If iconv returns EILSEQ with omit_invalid, continue converting + and return 1 if no other errors are seen. + (main): Set status to EXIT_FAILURE whenever process_* returns + nonzero, but only stop processing further files if iy returns + negative value. - * malloc/obstack.h (_obstack_free, obstack_1grow, obstack_1grow_fast, - obstack_alignment_mask, obstack_alloc, obstack_base, - obstack_blank, obstack_blank_fast, obstack_chunk_size, - obstack_copy, obstack_copy0, obstack_finish, obstack_grow, - obstack_grow0, obstack_init, obstack_int_grow, - obstack_int_grow_fast, obstack_make_room, obstack_memory_used, - obstack_next_free, obstack_object_size, obstack_ptr_grow, - obstack_ptr_grow_fast, obstack_room): Remove declarations of - nonexistent functions. +2004-03-03 Jakub Jelinek -2004-05-18 Steven Munroe + * sysdeps/unix/sysv/linux/x86_64/posix_fadvise.c: New file. + * sysdeps/unix/sysv/linux/x86_64/posix_fadvise64.c: New file. + * sysdeps/unix/sysv/linux/x86_64/syscalls.list (posix_fadvise64): + Remove. + * sysdeps/unix/sysv/linux/alpha/posix_fadvise.c: New file. + * sysdeps/unix/sysv/linux/alpha/posix_fadvise64.c: New file. + * sysdeps/unix/sysv/linux/alpha/syscalls.list (posix_fadvise64): + Remove. + * sysdeps/unix/sysv/linux/ia64/posix_fadvise.c: New file. + * sysdeps/unix/sysv/linux/ia64/posix_fadvise64.c: New file. + * sysdeps/unix/sysv/linux/ia64/syscalls.list (posix_fadvise64): + Remove. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/posix_fadvise.c: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/posix_fadvise64.c: New + file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Removed. + * sysdeps/unix/sysv/linux/s390/s390-64/posix_fadvise.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/posix_fadvise64.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list + (posix_fadvise64): Remove. + * sysdeps/unix/sysv/linux/sparc/sparc64/posix_fadvise.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/posix_fadvise64.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list + (posix_fadvise64): Remove. - * sysdeps/powerpc/powerpc64/sysdep.h [__ASSEMBLER__]: Include - independent of __ASSEMBLER__. - [PIC]: Redundent for powerpc64, removed. - (ENTRY): Generate size and alignment for opd entry. - (EALIGN): Generate size and alignment for opd entry. - (END): Use DOT_LABEL in ASM_SIZE_DIRECTIVE. - (END_GEN_TB): Use DOT_LABEL in ASM_SIZE_DIRECTIVE. +2004-03-02 Andreas Schwab -2004-05-19 Ulrich Drepper + * sysdeps/unix/sysv/linux/powerpc/powerpc32/xstat.c: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fxstat.c: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/lxstat.c: New file. - * misc/regexp.h: Say the functions have been withdrawn. +2004-03-01 Ulrich Drepper - * wcsmbs/tst-wcpncpy.c: Add more tests. + * nscd/nscd_getgr_r.c (nscd_getgr_r): Add missing initialization + of return value. + * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise. -2004-05-18 Roland McGrath + * sysdeps/unix/sysv/linux/kernel-features.h: Add support for + __ASSUME_GETDENTS32_D_TYPE. + * sysdeps/unix/sysv/linux/getdents.c: For 2.6.4+ kernels use + getdents syscall again since it provides d_type information. - * sysdeps/generic/unwind.h: Change copyright terms from GCC GPL to - standard glibc LGPL. - * sysdeps/generic/unwind-dw2.c: Likewise. - * sysdeps/generic/unwind-dw2-fde.c: Likewise. - * sysdeps/generic/unwind-dw2-fde.h: Likewise. - * sysdeps/generic/unwind-pe.h: Likewise. +2004-02-29 Andreas Jaeger -2004-05-15 Petter Reinholdtsen + * manual/install.texi (Tools for Compilation): Autoconf 2.53 is + required. + (Supported Configurations): Add x86_64-*-linux. - * locale/iso-3166.def: Remove YUGOSLAVIA and insert "SERBIA AND - MONTENEGRO" which have taken over the code 819. Patch from - Danilo Segan. [BZ #40] +2004-02-28 Ulrich Drepper -2004-05-15 Jakub Jelinek + * sysdeps/i386/i686/memcmp.S: Move table to .rodata. Patch by HJ Lu. - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h - (SYSCALL_ERROR_HANDLER): Rename __sparc.get_pic.l7 to - __sparc_get_pic_l7. +2004-02-27 Jakub Jelinek -2004-05-15 Joseph S. Myers + * elf/rtld.c (dl_main): Adjust l->l_ld of the vDSO by l->l_addr. + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Only set + GL(dl_sysinfo) if non-zero. - * catgets/gencat.c: Update bug reporting instructions. - * csu/version.c: Likewise. - * debug/catchsegv.sh: Likewise. - * debug/pcprofiledump.c: Likewise. - * debug/xtrace.sh: Likewise. - * elf/ldd.bash.in: Likewise. - * iconv/iconv_prog.c: Likewise. + * sysdeps/unix/sysv/linux/sysconf.c: Include stdlib.h. + +2004-02-26 Ulrich Drepper + + * nss/getXXbyYY_r.c: Pass result also to the nscd_* function. Don't + set *result here. + * nscd/nscd_proto.h: Add new argument for pointer to result pointer + to all nscd_* functions. + * nscd/nscd_getgr_r.c (nscd_getgr_r): Add new parameter. Store result + pointer in the address provided by the new parameter if successful. + Otherwise store NULL. Return zero if no entry found. + (__nscd_getgrnam_r, __nscd_getgrgid_r): Add new parameter and pass + it on. + * nscd/nscd_gethst_r.c (nscd_gethst_r): Add new parameter. Store + result pointer in the address provided by the new parameter if + successful. Otherwise store NULL. Return zero if no entry found. + (__nscd_gethostbyname_r, __nscd_gethostbyname2_r, + __nscd_gethostbyaddr_r): Add new parameter and pass it on. + * nscd/nscd_getpw_r.c (nscd_getpw_r): Add new parameter. Store result + pointer in the address provided by the new parameter if successful. + Otherwise store NULL. Return zero if no entry found. + (__nscd_getpwnam_r, __nscd_getpwuid_r): Add new parameter and pass + it on. + +2004-02-26 Jakub Jelinek + + * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Set + retval to -1 on error. + +2004-02-26 Ulrich Drepper + + * stdlib/canonicalize.c (__realpath): Simplify. + + * posix/regcomp.c (parse_expression): Avoid duplication in calls + to build_charclass_op. + +2004-02-26 Jakub Jelinek + + * elf/rtld.c (dl_main): Correctly set up l_map_end and l_addr + in vDSO's link_map, don't assume l_addr == 0. Set GL(dl_sysinfo) + from e_entry only if AT_SYSINFO not present and adjust by l_addr. + Take vDSO into account when inserting rtld into _dl_loaded chain. + +2004-02-26 Ulrich Drepper + + * sunrpc/svcauth_des.c (authdes_getucred): Removed fixed limit on + number of groups in the cache. Relax the disconnect between the + interface of authdes_getucred and netname2user a bit. + * sunrpc/auth_unix.c (authunix_create_default): Don't allocate + huge arrays on the stack. + + * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Use the official + not cancelable interfaces. + +2004-02-24 Arnold D. Robbins + + * posix/regex_internal.c (build_wcs_upper_buffer): Enclose + `offsets_needed' label in `#ifdef _LIBC' to silence `unused label' + compiler warning. + +2004-02-24 Nelson H.F. Beebe + + * posix/regcomp.c (parse_expression): Add cast to (const unsigned + char *) in calls to `build_charclass_op'. + * posix/regex_internal.c (build_wcs_buffer): Add cast to char* in call + to `wcrtomb'. + * posix/regex_internal.h (bitset_not, bitset_merge, bitset_not_merge, + bitset_mask, re_string_char_size_a, re_string_wchar_at, + re_string_elem_size_at): Change to use prototypes. + (re_string_char_size_at, re_string_wchar_at, + re_string_elem_size_at): Declare as `internal_function'. + +2004-02-25 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Handle + _SC_NGROUPS_MAX. + +2004-02-23 Jakub Jelinek + + * wcsmbs/mbrtowc.c (__mbrtowc): Cap s + n at the end of address space. + * stdlib/Makefile (tests): Add testmb2. + (testmb2-ENV): New. + * stdlib/testmb2.c: New test. + +2004-02-23 Jakub Jelinek + + * sysdeps/posix/getaddrinfo.c (gaih_inet): If _res has not been + inited yet, try to init it before saving old _res.options. + * posix/Makefile (xtests): Add bug-ga2. + (generated): Add bug-ga2.mtrace and bug-ga2-mem. + (xtests): Depend on bug-ga2-mem. + ($(objpfx)bug-ga2-mem, bug-ga2-ENV): New. + * posix/bug-ga2.c: New test. + +2004-02-22 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Pop register + content also in case of an overflow in the parameter. + Reported by Momchil Velikov . + +2004-02-21 Ulrich Drepper + + * elf/dynamic-link.h (elf_get_dynamic_info): Recognize DF_1_NOW. + In ld.so, neither DT_FLAGS nor DT_FLAGS_1 must be used. + +2004-02-21 Andreas Jaeger + + * posix/bug-ga1.c: Include for memset prototype. + + * elf/dl-load.c (_dl_map_object_from_fd): Fix casts used as lvalue. + + * iconv/gconv_simple.c (internal_ucs4le_loop): Remove cast used as + lvalue. + +2004-02-19 Carlos O'Donell + + * sysdeps/generic/framestate.c [__USING_SJLJ_EXCEPTIONS__] + (__frame_state_for): Set frame_State_for to abort if the compiler + is using sjlj. + * sysdeps/generic/unwind-dw2.c: Allow sjlj enabled compilers to + build the code by removing __USING_SJLJ_EXCEPTIONS__ wrapper. + +2004-02-20 Alexandre Oliva + + * resolv/Versions: Remove semicolon from the end of libresolv's + GLIBC_2.3.2 version block. + * Versions.def (libresolv): Add GLIBC_2.3.2. + +2004-02-19 Carlos O'Donell + + * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Fix order of fp + status register loads. + +2004-02-20 Thorsten Kukuk + + * nscd/nscd.c (termination_handler): Use _exit instead of exit + +2004-02-20 Ulrich Drepper + + * nscd/nscd.c (main): Report fork errors. + + * dlfcn/dlsym.c: Get ld.so loading lock before the call into ld.so. + * dlfcn/dlvsym.c: Likewise. + * elf/dl-addr.c: Get loading lock while using _dl_loaded data. + * elf/dl-fini.c: Likewise. + Patch by Shunichi Sagawa . + +2004-02-20 Jakub Jelinek + + * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ulps for the + 2003-11-27 atan2 test. + + * sysdeps/powerpc/fpu/bits/mathinline.h (lrint, lrintf): Protect + with #ifndef __powerpc64__. + + * sysdeps/generic/ldsodefs.h (_dl_argv, _dl_argv_internal): If + DL_ARGV_NOT_RELRO defined, don't use attribute_relro. + * sysdeps/alpha/dl-machine.h (DL_ARGV_NOT_RELRO): Remove. + * sysdeps/ia64/dl-machine.h (DL_ARGV_NOT_RELRO): Remove. + * sysdeps/sparc/sparc32/dl-machine.h (DL_ARGV_NOT_RELRO): Remove. + * sysdeps/sparc/sparc64/dl-machine.h (DL_ARGV_NOT_RELRO): Remove. + * sysdeps/alpha/dl-sysdep.h: New file. + * sysdeps/ia64/dl-sysdep.h: New file. + * sysdeps/sparc/dl-sysdep.h: New file. + +2004-02-19 Jakub Jelinek + + * sysdeps/sparc/sparc32/bits/atomic.h: Add __make_section_unallocated + for .gnu.linkonce.b.__sparc32_atomic_locks section. + (__sparc32_atomic_locks): Add __sec_comment at the end of section name. + +2004-02-19 Steven Munroe + + * sysdeps/generic/libc-start.c [LIBC_START_DISABLE_INLINE] (STATIC): + Define as static. + * sysdeps/powerpc/elf/libc-start.c: Define LIBC_START_DISABLE_INLINE + because gcc does not allow inline of functions that call setjmp. + +2004-02-19 Steven Munroe + + * sysdeps/powerpc/powerpc64/Makefile: Use -finline-limit. + +2004-02-19 Jakub Jelinek + + * elf/rtld.c (_dl_argv): If DL_ARGV_NOT_RELRO defined, don't + use attribute_relro for _dl_argv. + * sysdeps/alpha/dl-machine.h (DL_ARGV_NOT_RELRO): Define. + * sysdeps/ia64/dl-machine.h (DL_ARGV_NOT_RELRO): Define. + * sysdeps/sparc/sparc32/dl-machine.h (DL_ARGV_NOT_RELRO): Define. + * sysdeps/sparc/sparc64/dl-machine.h (DL_ARGV_NOT_RELRO): Define. + +2004-02-19 Ulrich Drepper + + * libio/iopopen.c (_IO_new_proc_open): It's not kosher to use + vfork instead of fork. + * libio/oldiopopen.c (_IO_old_proc_open): Likewise. + + * sysdeps/unix/clock_settime.c (clock_settime): Fix typo which + prevented system-dependent handling from being used. + +2004-02-18 Carlos O'Donell + + * test-skeleton.c (main): If set, use environment variable + TIMEOUTFACTOR to scale test TIMEOUT. + +2004-02-18 Ulrich Drepper + + * nscd/nscd_conf.c: Include . + +2004-02-16 Ulrich Drepper + + * stdlib/test-canon.c (do_test): Test realpath(,NULL) in the loop + as well. + + * stdlib/canonicalize.c (__realpath): Remove unnecessary copy + operations. + + * nscd/nscd_conf.c (nscd_parse_file): Little optimization. + +2004-02-14 Thorsten Kukuk + + * nscd/dbg_log.c (set_logfile): Only save name of logfile, + don't open it. + (init_logfile): New function, open logfile if requested. + * nscd/dbg_log.h: Adjust protoype for set_logfile, add init_logfile. + * nscd/nscd.c (main): Call init_logfile after forking in background. + * nscd/nscd_conf.c (nscd_parse_file): Adjust for new set_logfile. + +2004-02-16 Ulrich Drepper + + * elf/rtld.c (dl_main): Don't fail execution if file named in + ld.so.preload is not present [BZ #18]. + + * sysdeps/posix/getaddrinfo.c (getaddrinfo): Undo unintended + changes in last patch. + + * posix/regexec.c (transit_state): Fix typo in commented-out code + [BZ #6]. + + * sysdeps/posix/getaddrinfo.c (match_prefix): Correctly match + partial bytes [BZ #24]. + * posix/Makefile (tests): Add bug-ga1. + * posix/bug-ga1.c: New file. + +2004-02-13 Steven Munroe + + * sysdeps/powerpc/powerpc64/__longjmp-common.S: New file. + * sysdeps/powerpc/powerpc64/__longjmp.S [NOT_IN_libc](__longjmp): + Non-versioned __longjmp for rtld-__longjmp. + [!NOT_IN_libc](__vmx__longjmp): Add VMX reg support and define as + default version of __longjmp. + [SHARED && SHLIB_COMPAT (libc, GLIBC_2_3, GLIBC_2_3_4)] + (__novmx__longjmp): Original version of __longjmp. + * sysdeps/powerpc/powerpc64/bsd-_setjmp.S [NOT_IN_libc](_setjmp): + Non-versioned _setjmp for rtld-_setjmp. + [!NOT_IN_libc](__vmx_setjmp): Branch to __vmx__sigsetjmp and define + as default version of _setjmp. + [SHARED && SHLIB_COMPAT (libc, GLIBC_2_3, GLIBC_2_3_4)] + (__novmx_setjmp): Original version of _setjmp. + * sysdeps/powerpc/powerpc64/bsd-setjmp.S (__vmxsetjmp): Branch to + __vmx__sigsetjmp and define as default version of setjmp. + [SHARED && SHLIB_COMPAT (libc, GLIBC_2_3, GLIBC_2_3_4)] + (__novmxsetjmp): Original version of setjmp. + * sysdeps/powerpc/powerpc64/setjmp-common.S: New file. + * sysdeps/powerpc/powerpc64/setjmp.S [NOT_IN_libc](__setjmp): + Non-versioned __sigsetjmp for rtld-setjmp. + [!NOT_IN_libc](__vmx__sigsetjmp): Add VMX reg support and define + as default version of __sigsetjmp. + [SHARED && SHLIB_COMPAT (libc, GLIBC_2_3, GLIBC_2_3_4)] + (__novmx__sigsetjmp): Original version of __sigsetjmp. + + * sysdeps/powerpc/powerpc32/__longjmp-common.S: New File + * sysdeps/powerpc/powerpc32/__longjmp.S [NOT_IN_libc](__longjmp): + Non-versioned __longjmp for rtld-__longjmp. + [!NOT_IN_libc](__vmx__longjmp): Add VMX reg support and define as + default version of __longjmp. + [SHARED && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4)] + (__novmx__longjmp): Original version of __longjmp. + * sysdeps/powerpc/powerpc32/bsd-_setjmp.S [NOT_IN_libc](_setjmp): + Non-versioned _setjmp for rtld-_setjmp. + [!NOT_IN_libc](__vmx_setjmp): Branch to __vmx__sigsetjmp and define + as default version of _setjmp. + [SHARED && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4)] + (__novmx_setjmp): Original version of _setjmp. + * sysdeps/powerpc/powerpc32/bsd-setjmp.S (__vmxsetjmp): Branch to + __vmx__sigsetjmp and define as default version of setjmp. + [SHARED && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4)] + (__novmxsetjmp): Original version of setjmp. + * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: New file. + * sysdeps/powerpc/powerpc32/fpu/__longjmp.S [NOT_IN_libc](__longjmp): + Non-versioned __longjmp for rtld-__longjmp. + [!NOT_IN_libc](__vmx__longjmp): Add VMX reg support and define as + default version of __longjmp. + [SHARED && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4)] + (__novmx__longjmp): Original version of __longjmp. + * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: New file. + * sysdeps/powerpc/powerpc32/fpu/setjmp.S [NOT_IN_libc](__setjmp): + Non-versioned __sigsetjmp for rtld-setjmp. + [!NOT_IN_libc](__vmx__sigsetjmp): Add VMX reg support and define + as default version of __sigsetjmp. + [SHARED && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4)] + (__novmx__sigsetjmp): Original version of __sigsetjmp. + * sysdeps/powerpc/powerpc32/setjmp-common.S: New file. + * sysdeps/powerpc/powerpc32/setjmp.S [NOT_IN_libc](__setjmp): + Non-versioned __sigsetjmp for rtld-setjmp. + [!NOT_IN_libc](__vmx__sigsetjmp): Add VMX reg support and define + as default version of __sigsetjmp. + [SHARED && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4)] + (__novmx__sigsetjmp): Original version of __sigsetjmp. + + * sysdeps/powerpc/Dist: New File. + * sysdeps/powerpc/Makefile (sysdep_routines): Add novmx-longjmp.c + and novmx-sigjmp.c + * sysdeps/powerpc/Versions (libc): To GLIBC_2.3_4 add _longjmp, + __sigsetjmp, _setjmp, longjmp, and setjmp. To GLIBC_PRIVATE add + __novmx__libc_longjmp, __novmx__libc_siglongjmp, __vmx__libc_longjmp, + and __vmx__libc_siglongjmp. + * sysdeps/powerpc/bits/setjmp.h: Define JB_VRSAVE, JB_VRS, and adjust + JB_SIZE to add VMX regs to __jmp_buf. + * sysdeps/powerpc/longjmp.c: New file. + * sysdeps/powerpc/novmxsetjmp.h: New file. + * sysdeps/powerpc/novmx-longjmp.c: New file. + * sysdeps/powerpc/novmx-sigjmp.c: New file. + * sysdeps/powerpc/sigjmp.c: New file. + +2004-02-13 Jakub Jelinek + + * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c (__lrintf, lrintf): + Define. + (__lrintl, lrintl): Remove. + * sysdeps/powerpc/powerpc64/fpu/s_llrint.c (__lrint): Fix a typo in + strong_alias spelling. + * sysdeps/powerpc/powerpc64/fpu/s_lrintf.S: Remove. + * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: New file. + +2004-02-12 Ulrich Drepper + + * posix/getopt.h: Add some non-gcc support. Patch by Aharon Robbins. + +2004-02-12 Mark Brown + + * sysdeps/ia64/fpu/e_fmodf.S: Added text of Intel license. + +2004-02-12 Jakub Jelinek + + * sysdeps/powerpc/fpu/s_lrint.c: Move to... + * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: ... here. + * sysdeps/powerpc/fpu/s_llrint.c: Move to... + * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: ... here. + * sysdeps/powerpc/fpu/s_llrintf.c: Move to... + * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: ... here. + * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file. + * sysdeps/powerpc/powerpc64/fpu/s_lrintf.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: New file. + + * math/libm-test.inc (lrint_test): Add new test. + (llrint_test, lround_test, llround_test): Likewise. + * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Fix special case + with result taking up 48 bits. + * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise. + * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise. + * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Fix special case + with result taking up 31 bits. + +2004-02-12 Ulrich Drepper + + * locale/programs/locale.c (show_locale_vars): Don't print a value + for LANG if it is not set. + +2004-02-11 Jakub Jelinek + + * posix/regexec.c (check_node_accept_bytes): Return 0 if char_len is 0. + (find_collation_sequence_value): Don't look beyond end of + SYMB_EXTRAMB table. + * posix/Makefile (tests): Add bug-regex23. + (bug-regex23-ENV): New. + * posix/bug-regex23.c: New file. + +2004-02-10 Roland McGrath + + * sysdeps/mach/hurd/times.c (__times): Use union instead of cast. + * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Likewise. + + * sysdeps/mach/hurd/configure.in: Move `retcode' check to ... + * sysdeps/mach/configure.in: ... here. + * sysdeps/mach/hurd/configure: Regenerated. + * sysdeps/mach/configure.in: Regenerated. + +2004-02-10 Ulrich Drepper + + * sysdeps/generic/setenv.c (__add_to_environ): Don't let the + temporary copies of the variables accumulate on the stack. + + * stdio-common/_i18n_number.h: Finish last patch. + +2004-02-09 Ulrich Drepper + + * sysdeps/i386/i686/memcmp.S: New file. Patch by HJ Lu. + +2003-12-05 Roland McGrath + + * sysdeps/unix/sysv/linux/i386/syscalls.list: Turn vm86 into vm86old + for vm86@GLIBC_2.0 version. Add new vm86@GLIBC_2.3.4. + * sysdeps/unix/sysv/linux/i386/Versions (libc: GLIBC_2.3.4): Add vm86. + * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Update vm86 prototype. + +2004-02-09 Ulrich Drepper + + * nis/ypclnt.c: Cleanup last patch. + +2004-02-09 Andreas Jaeger + + * configure.in: Remove glibcbug creation. + * configure: Regenerated. + + * sysdeps/x86_64/fpu/s_copysignf.S: Only load 4 bytes. + +2004-02-03 Thorsten Kukuk + + * nis/ypclnt.c (__yp_bind_client_create): New, small chunk + of duplicated code from __yp_bind. + (__yp_bind_file): New, binding dir code from __yp_bind. + (__yp_bind_client_create): New, ypbind code from __yp_bind. + (__ypclnt_call): New, make NIS query. + (do_ypcall): At first use cached data, then try data from + binding directory, after this ask ypbind for a working ypserv. + Based on a patch from Jeff Bastian and + Chris Barrera + +2004-01-19 Roland McGrath + + * configure.in: Don't set CCVERSION. + * configure: Regenerated. + * glibcbug.in: File removed. + * Makefile (install-bin-script): Remove glibcbug. + (glibcbug): Target removed. + (distclean-1): Don't rm glibcbug. + (distribute): Remove glibcbug.in. + +2004-02-09 Roland McGrath + + * time/tzset.c (tzset_internal): Cap hour in POSIX $TZ rule format to + 24, not 23. + +2004-01-29 Roland McGrath + + * io/ftwtest-sh: Use $tmp consistently, not literal /tmp. + Reported by Kevin P. Fleming . + +2004-02-09 Ulrich Drepper + + * libio/genops.c (_IO_cleanup): Do not use locking when flushing + the buffers. Some thread might be using a stream. + +2004-02-09 Andreas Jaeger + + * sysdeps/x86_64/memcpy.S: Fix alignment [BZ #7]. + Patch by Jan Beulich . + +2004-02-09 Andreas Schwab + + * include/rpc/rpc.h: Declare thread variables with their correct type. + * sunrpc/clnt_perr.c: Don't cast thread variables. + * sunrpc/clnt_raw.c: Likewise. + * sunrpc/clnt_simp.c: Likewise. + * sunrpc/key_call.c: Likewise. + * sunrpc/svcauth_des.c: Likewise. + * sunrpc/svc.c: Likewise. + * sunrpc/svc_raw.c: Likewise. + * sunrpc/svc_simple.c: Likewise. + +2004-02-09 Ulrich Drepper + + * stdio-common/_i18n_number.h: Support printing localized decimal + point and thousand separator. + * wctype/wctrans.c: Add __wctrans alias. + * include/wctype.h: Declare __wctrans. + Based on a patch by Hamed Malek. + + * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Don't touch bits + other than the status bits [BZ #10]. + +2004-02-08 Ulrich Drepper + + Make stream locking operations really work. + * misc/Makefile (CFLAGS-mntent_r.c): Define. + * shadow/Makefile (CFLAGS-fgetspent_r.c): Define. + (CFLAGS-putspent.c): Define. + * grp/Makefile (CFLAGS-fgetgrent_r.c): Define. + (CFLAGS-putgrent.c): Define. + * pwd/Makefile (CFLAGS-fgetpwent_r.c): Define. + Reported by Shunichi Sagawa . + + * elf/dl-load.c (lose): Use noinline attribute instead of silly + alloca to prevent inlining. + * elf/dl-runtime.c (fixup): Likewise. + (profile_fixup): Likewise. + + * stdio-common/printf_size.c: Undo parts of patch from 2000-2-11. + Initialize width correctly. + +2004-02-07 Andreas Jaeger + + * iconv/gconv_simple.c (ucs4le_internal_loop): Remove cast used as + lvalue. + (internal_ucs4le_loop_single): Likewise. + (ucs4_internal_loop): Likewise. + (BODY): Likewise. + (internal_ucs4_loop_single): Likewise. + * iconvdata/iso8859-1.c (BODY): Likewise. + * iconvdata/cp1255.c (EMIT_SHIFT_TO_INIT): Likewise. + * iconvdata/cp1258.c (EMIT_SHIFT_TO_INIT): Likewise. + * iconvdata/gb18030.c (BODY): Likewise. + * iconvdata/armscii-8.c (BODY): Likewise. + * stdlib/msort.c (msort_with_tmp): Likewise. + + * iconv/gconv_open.c (__gconv_open): Remove conditional expression + as lvalue. + +2004-02-06 Steven Munroe + + * sysdeps/powerpc/powerpc32/dl-machine.c: Declare __cache_line_size as + weak extern. + (__elf_machine_runtime_setup): Invalidate the instruction cache over + the whole range of the PLT. + +2004-02-06 Andreas Schwab + + * posix/regcomp.c (build_range_exp): Fix off-by-one. + (parse_bracket_exp): Likewise. + +2004-02-05 Ulrich Drepper + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Define + _HAVE_STAT_NSEC and _HAVE_STAT64_NSEC. Patch by Anton Blanchard. + +2004-02-02 Paolo Bonzini + + * posix/regexec.c (check_matching): Add P_MATCH_FIRST parameter. + (re_search_internal): Pass new parameter to check_matching. + (check_matching): Unless a parenthesized group is found at the + beginning of the regexp, advance P_MATCH_FIRST until we entered + a state different from the initial state. + +2004-02-01 Ulrich Drepper + + * math/libm-test.inc (lround_test): Add new test. + (llround_test): Likewise. + (lrint_test): Likewise. + (llrint_test): Likewise. + * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Fix special case + with result taking up 20 bits. + * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise. + * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.. + * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Fix special + case with result taking up 31 bits. + * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise. + + * po/nl.po: Update from translation team. + +2004-01-30 Andreas Schwab + + * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_BREAK, + FPE_DECOVF, FPE_DECDIV, FPE_DECERR, FPE_INVASC, FPE_INVDEC, + SEGV_PSTKOVF): Remove underscore prefix from definition. + +2004-01-28 Paolo Bonzini + + Merge regex changes in gawk. + * posix/regcomp.c (build_range_exp) [!_LIBC]: Check validity + of collation elements. + * posix/regex.c: Include limits.h. + * posix/regex.h: Document REG_ECOLLATE correctly. + * posix/regex_internal.h [!_LIBC && !ENABLE_NLS]: Disable NLS. + +2004-01-24 Andreas Jaeger + + * malloc/obstack.h: Import gnulib version. + * malloc/obstack.c: Likewise. + +2004-01-26 David Mosberger + + * elf/link.h (struct dl_phdr_info): Fix typo in comment. + * elf/rtld.c (dl_main): After incrementing dl_nloaded, also + increment dl_load_adds. + * elf/dl-iteratephdr.c (__dl_iterate_phdr): Replace GL(dl_load_subs) + with equivalent GL(dl_load_adds - GL(dl_nloaded). + (dl_iterate_phdr): Likewise. + * elf/dl-close.c (_dl_close): Delete increment of GL(dl_load_subs). + * elf/dl-support.c: Remove global variable _dl_load_subs. + * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove + _dl_load_subs member. + +2004-01-27 Jakub Jelinek + + * elf/rtld.c (_dl_start_final): Don't set l_relro_* here. + (_dl_start): And neither here. + (dl_main): Set GL(dl_loaded)->l_relro_* and + GL(dl_rtld_map)->l_relro_*. + +2004-01-23 David Mosberger + + * sysdeps/generic/ldsodefs.h (struct rtld_global): Add members + _dl_load_adds and _dl_load_subs. + * elf/dl-support.c (_dl_load_adds): New variable. + (_dl_load_subs): Likewise. + * elf/dl-object.c (_dl_new_object): Increment dl_load_adds. + * elf/dl-close.c (_dl_close): Increment dl_load_subs. + * elf/link.h (struct dl_phdr_info): Add members dlpi_adds and + dlpi_subs. + * include/link.h: Likewise. + * elf/dl-iteratephdr.c (__dl_iterate_phdr): Initialize dlpi_adds + and dlpi_subs members. + (dl_iterate_phdr): Likewise. + * elf/tst-dlmodcount.c: New file. + * elf/Makefile (distribute): Mention tst-dlmodcount.c. + (tests): If build-shared, mention tst-dlmodcount. + ($(objpfx)tst-dlmodcount): If build-shared, build and + run tst-dlmodcount. + +2004-01-22 Jakub Jelinek + + * elf/dl-reloc.c (_dl_relocate_object): Move PT_GNU_RELRO protection + into... + (_dl_protect_relro): New routine. + * sysdeps/generic/ldsodefs.h (_dl_protect_relro): New prototype. + * elf/rtld.c (_dl_start_final): Copy l_relro_addr and l_relro_size + from bootstrap_map. + (_dl_main): Don't set GL(_dl_loaded)->l_relro_{addr,size} here. + Call _dl_protect_relro for libraries if prelinking. + +2004-01-23 Richard Henderson + + * Versions.def (libm): Replace GLIBC_2.3.3 with GLIBC_2.3.4. + * sysdeps/alpha/fpu/Versions (libm): Likewise. + * sysdeps/alpha/fpu/cfloat-compat.h (cfloat_versions): Likewise. + * sysdeps/alpha/fpu/s_clog10f.c (clog10f): Likewise. + +2004-01-22 Andreas Jaeger + + * sysdeps/ieee754/dbl-64/e_pow.c (log2): Rename to my_log2 to + avoid warnings for builtin function log2. + + * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Add proper unwind + information. + +2004-01-20 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sys/epoll.h: Add EPOLLONESHOT. + * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise. + Patch by Davide Libenzi. + + * sysdeps/unix/sysv/linux/kernel-features.h: Define + __ASSUME_NO_CLONE_DETACHED for 2.6.2+ kernels. + + * catgets/Makefile ($(objpfx)de.msg): Run sed in C locale. + + * sysdeps/unix/sysv/linux/readahead.c (__readahead): Use off64_t + instead of loff_t. Include . + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add readahead prototype. + * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. + + * elf/dl-load.c: Don't add attribute_relro to max_dirnamelen. + + * sysdeps/generic/inttypes.h: Fix PRI*FAST{16,32} macros. + +2003-12-31 Bruno Haible + + * iconvdata/iso_6937-2.c (to_ucs4): Map 0x7E to U+007E, not U+203E. + Map 0xA6 to U+0023. Map 0xA8 to U+00A4. + (to_ucs4_comb): Map 0xC5 0x20 to U+00AF. + (from_ucs4): Map U+00ED to 0xC2 0x69, not 0xC2 0xE9. + (BODY for TO_LOOP): Don't map U+02DC. Map U+02DD to 0xCD 0x20, not + 0x00 0x20. Don't map U+2500..U+25E3. + +2004-01-19 Jakub Jelinek + + * posix/regexec.c (get_subexp): Remove bkref_str variable. + Extend buffers if needed before comparisons. + (get_subexp_sub): Handle clean_state_log_if_needed failure. + +2004-01-17 Ulrich Drepper + + * sysdeps/i386/i486/bits/atomic.h (atomic_add): Fix test for using + atomic_decrement. Patch by Davin McCall. + +2004-01-13 Daniel Jacobowitz + + * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions) + (__sim_disabled_exceptions, __sim_round_mode): Declare with + hidden data and nocommon. + * sysdeps/powerpc/nofpu/soft-supp.h (__sim_exceptions) + (__sim_disabled_exceptions, __sim_round_mode): Use + libc_hidden_proto. + * sysdeps/powerpc/soft-fp/sfp-machine.h (__sim_exceptions) + (__sim_disabled_exceptions, __sim_round_mode): Likewise. + +2004-01-16 Ulrich Drepper + + * elf/elf.h: Define PT_IA_64_HP_OPT_ANOT, PT_IA_64_HP_HSL_ANOT, and + PT_IA_64_HP_STACK. + +2004-01-16 Richard Henderson + + * include/unistd.h (__libc_enable_secure): Mark attribute_relro. + (__libc_enable_secure_internal): Likewise. + + * elf/dl-load.c: Don't declare __libc_stack_end. + * sysdeps/generic/libc-start.c: Likewise. + * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise. + * sysdeps/generic/segfault.c: Likewise. Include ldsodefs.h. + * sysdeps/generic/backtrace.c: Likewise. + +2004-01-15 Ulrich Drepper + + * Versions.def: Add GLIBC_2.3.4. + +2004-01-15 Richard Henderson + + * sysdeps/unix/alpha/sysdep.h: Revert last change. + +2004-01-15 Richard Henderson + + * sysdeps/alpha/dl-machine.h (RTLD_START): Use _dl_argv_internal. + + * sysdeps/unix/alpha/sysdep.h [PIC] (SYSCALL_ERROR_HANDLER): Use + !samegp relocation. + +2004-01-15 Richard Henderson + + * sysdeps/unix/sysv/linux/alpha/Makefile [stdlib]: Process + ucontext-offsets.sym. + * sysdeps/unix/sysv/linux/alpha/getcontext.S: New file. + * sysdeps/unix/sysv/linux/alpha/makecontext.S: New file. + * sysdeps/unix/sysv/linux/alpha/setcontext.S: New file. + * sysdeps/unix/sysv/linux/alpha/swapcontext.S: New file. + * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: New file. + +2004-01-15 Richard Henderson + + * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Prefix stubs with + __syscall_, move nop inside, adjust users by +4. + +2004-01-14 Steven Munroe + + * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] + (_symbol_version): Use C_SYMBOL_DOT_NAME to create '.'ed symbols. + (_default_symbol_version): Use C_SYMBOL_DOT_NAME to create '.'ed + symbols. + * sysdeps/powerpc/Makefile: Add rtld-global-offsets.sym to + gen-as-const-headers. + * sysdeps/powerpc/elf/rtld-global-offsets.sym: New file. + * sysdeps/powerpc/sysdep.h: Define v# symbols for vector registers. + Define PPC_FEATURE_* masks for Aux Vector AT_HWCAP. + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_SWAPCONTEXT_SYSCALL): Define for PPC and 2.6.0 kernels. + * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h [!__WORDSIZE == 32]: + Declare mcontext_t inline and include altivec state for 64-bit. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Add GLIBC_2.3.4 + versions for setcontext, getcontext, and swapcontext. + + * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Add GLIBC_2.3.4 + versions for setcontext, getcontext, swapcontext, and makecontext. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S + (__getcontext): Upgrade to save Altivec regs and version GLIBC_2_3_4. + [SHLIB_COMPAT (libc, GLIBC_2_3, GLIBC_2_3_4)] (__novec_getcontext): + Compatible with GLIBC_2.3.3 release. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S + (__makecontext): Use parm save area instead of compiler_dw to hold + context pointer. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S + (__setcontext): Upgrade to restore Altivec regs and version + GLIBC_2_3_4. + [SHLIB_COMPAT (libc, GLIBC_2_3, GLIBC_2_3_4)] (__novec_setcontext): + Compatible with GLIBC_2.3.3 release. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S + (__swapcontext): Upgrade to swap Altivec regs and version GLIBC_2_3_4. + [SHLIB_COMPAT (libc, GLIBC_2_3, GLIBC_2_3_4)] (__novec_swapcontext): + Compatible with GLIBC_2.3.3 release. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h + (SIGCONTEXT_V_REGS_PTR, SIGCONTEXT_V_RESERVE): Defined. + +2004-01-12 Steven Munroe + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: Add GLIBC_2.3.4 + versions for setcontext, getcontext, swapcontext, and makecontext. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S + (__getcontext): Upgrade to save Altivec regs and version GLIBC_2_3_4. + [SHLIB_COMPAT (libc, GLIBC_2_3_3, GLIBC_2_3_4)] (__novec_getcontext): + Compatible with GLIBC_2.3.3 release. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S + (__makecontext): Upgrade to align for Altivec regs and version + GLIBC_2_3_4. + [SHLIB_COMPAT (libc, GLIBC_2_3_3, GLIBC_2_3_4)] (__novec_makecontext): + Compatible with GLIBC_2.3.3 release. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S + (__setcontext): Upgrade to restore Altivec regs and version + GLIBC_2_3_4. + [SHLIB_COMPAT (libc, GLIBC_2_3_3, GLIBC_2_3_4)] (__novec_setcontext): + Compatible with GLIBC_2.3.3 release. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S + (__swapcontext): Upgrade to swap Altivec regs and version GLIBC_2_3_4. + [SHLIB_COMPAT (libc, GLIBC_2_3_3, GLIBC_2_3_4)] + (__novec_swapcontext): Compatible with GLIBC_2.3.3 release. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h: + (_UC_VSCR, _UC_VRSAVE): Define. + (_FRAME_BACKCHAIN, _FRAME_LR_SAVE,_FRAME_PARM_SAVE1,_FRAME_PARM_SAVE2, + _FRAME_PARM_SAVE3, _FRAME_PARM_SAVE4): Defined. + +2004-01-15 Ulrich Drepper + + * elf/rtld.c: Handle platforms with HP_TIMING_NONAVAIL defined. + +2004-01-16 Alfred M. Szmidt + + * sysdeps/generic/dl-execstack.c (_dl_make_stack_executable): Adjust + parameter type. + +2004-01-15 Ulrich Drepper + + * elf/elf.h: Fix typo in comment. + + * sysdeps/generic/dl-sysdep.c: Initialize __libc_stack_end. + * elf/rtld.c: Initialize _dl_argv to allow aliasing. + + * resolv/resolv.h: Add RES_USEBSTRING. + * resolv/res_debug.c (p_option): Add handling for RES_USE_INET6, + RES_ROTATE, RES_NOCHECKNAME, and RES_USEBSTRING. + * resolv/res_init.c (res_setioptions): Recognize ip6-bytestring. + * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Only perform + bytestring IPv6 lookup with RES_USEBSTRING option is selected. + Otherwise use the two nibble formats. + +2004-01-14 Ulrich Drepper + + * configure.in: Define HAVE_Z_RELRO if the linker supports -z relro. + * config.h.in: Add entry for HAVE_Z_RELRO. + * include/libc-symbols.h: Define attribute_relro. + * elf/dl-load.c: Add attribute_relro to env_path_list, capstr, ncapstr, + max_capstrlen, and max_dirnamelen definitions. + * elf/rtld.c: Add attribute_relro to _dl_argc, _dl_argv, _dl_skip_args, + load_time, start_time, library_path, preloadlist, version_info, + any_debug. + Remove rtld_total_time. Make it a local variable. Pass pointer to + it to print_statistics. Change print_statistics accordingly. + * sysdeps/generic/dl-sysdep.c: Add attribute_relro to _dl_auxv. Use + attribute_relro instead of explicitly assigning variable to the + .data.rel.ro section for __libc_enable_secure and __libc_stack_end. + * sysdeps/generic/ldsodefs.h: Declare __libc_stack_end, _dl_argc, + _dl_argv, _dl_argv_internal with attribute_relro. + +2004-01-13 Segher Boessenkool + + * Makerules (gen-as-const): Don't silently continue on failure. + +2004-01-14 Steven Munroe + + * sysdeps/generic/dl-sysdep.c: Define __libc_stack_end with + rtld_hidden_data_def. + +2004-01-14 Ulrich Drepper + + * libio/libio.h: Add const to function tables types. + * libio/libioP.h: Likewise. + * login/utmp-private.h: Likewise. + * libio/fileops.c: Add const to jump table variable definition. + * libio/genops.c: Likewise. + * libio/iofopncook.c: Likewise. + * libio/iopopen.c: Likewise. + * libio/memstream.c: Likewise. + * libio/obprintf.c: Likewise. + * libio/oldfileops.c: Likewise. + * libio/oldiopopen.c: Likewise. + * libio/strops.c: Likewise. + * libio/vsnprintf.c: Likewise. + * libio/vswprintf.c: Likewise. + * libio/wfileops.c: Likewise. + * libio/wstrops.c: Likewise. + * login/getutent_r.c: Likewise. + * login/getutid_r.c Likewise. + * login/getutline_r.c: Likewise. + * sysdeps/generic/utmp_file.c: Likewise. + +2004-01-09 Bruno Haible + + * intl/gmo.h (MO_REVISION_NUMBER_WITH_SYSDEP_I): New definition. + * intl/loadmsgcat.c (get_sysdep_segment_value): Handle "I". + (_nl_load_domain): Treat major revision 1 like major revision 0. + +2004-01-11 Bruno Haible + + * stdio-common/vfprintf.c (vfprintf): Disallow the 'I' flag after + width or precision has been seen. + +2004-01-08 Bruno Haible + + * intl/loadmsgcat.c (_nl_load_domain): When a string pair uses a system + dependent segment not known to this version of the library, ignore + the string pair instead of crashing. + +2004-01-13 Ulrich Drepper + + * configure.in: Rewrite test to give gcc to clean up after itself. + Patch by Greg Schafer. + + * posix/regex.c: Support crappy compilers and platforms which have + problems with alloca. + * posix/regex_internal.h: Likewise. + Patch by Paolo Bonzini. + +2004-01-12 Paolo Bonzini + + * posix/regcomp.c [_LIBC && !RE_ENABLE_I18N]: + Drop code to support this, it is never true. + (build_range_exp) [!_LIBC]: Do not create a range + in MBCSET for a single-byte character set. + (build_range_exp) [_LIBC]: Do not create a range + in MBCSET for a single-byte character set without + collation elements. + (init_dfa): Do not conditionalize on _LIBC, it + just makes the code less clear. + (parse_bracket_exp): Use NON_MATCH variable in + addition to "mbcset->non_match", not as an + alternative. + (build_charclass_op): rename NOT parameter to + NON_MATCH, use it instead of declaring a variable. + (parse_bracket_exp) [!_LIBC]: Pass NULL for MBCSET + if the character set is single-byte. + +2004-01-14 Jakub Jelinek + + * posix/regcomp.c (peek_token_bracket): Check remaining + string length before re_string_peek_byte (x, 1). + (parse_bracket_symbol): Likewise. + * posix/regex_internal.h (re_string_is_single_byte_char): Return + true at last byte in the string. + * posix/bug-regex22.c (main): Add new test. + +2004-01-13 Ulrich Drepper + + * sysdeps/generic/dl-sysdep.c: Move __libc_enable_secure into + .data.rel.ro. + + * sysdeps/x86_64/dl-machine.h: Include . + + * elf/rtld.c (_dl_start_final): Initialze __libc_stack_end here. + * sysdeps/generic/dl-sysdep.c: Define __libc_stack_end with + rtld_hidden_def and move into .data.rel.ro section. + * sysdeps/generic/ldsodefs.h: Declare __libc_stack_end with + rtld_hidden_proto. + * sysdeps/generic/libc-start.c: Only initialize __libc_stack_end here + if !SHARED. + +2004-01-13 Richard Henderson + + * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typo. + +2004-01-13 Ulrich Drepper + + * sysdeps/unix/sysv/linux/dl-execstack.c + (_dl_make_stack_executable): Move common code in front. Use + __builtin_expect. + + * sysdeps/unix/sysv/linux/dl-execstack.c: Change interface. Add + challenge for caller. + * sysdeps/generic/ldsodefs.h: Change declaration and type of hook + member in rtld_global appropriately. + * elf/dl-support.c: Likewise. + * elf/dl-load.c (_dl_map_object_from_fd): Take additional paramter. + Pass it on to the changed function. + (_dl_map_object): Pass new parameter to _dl_map_object_from_fd. + +2004-01-13 Richard Henderson + + * sysdeps/alpha/bits/atomic.h (__arch_compare_and_exchange_xxx_8_int): + Cast old up to uint64_t before back down to inner width. + (__arch_compare_and_exchange_xxx_16_int): Likewise. + (__arch_compare_and_exchange_xxx_32_int): Likewise. + (__arch_compare_and_exchange_xxx_64_int): Likewise. + (__arch_compare_and_exchange_val_8_int): Cast result to + the type of the memory. + (__arch_compare_and_exchange_val_16_int): Likewise. + (__arch_compare_and_exchange_val_32_int): Likewise. + (__arch_compare_and_exchange_val_64_int): Likewise. + (atomic_compare_and_exchange_bool_acq): Use __atomic_bool_bysize. + (atomic_compare_and_exchange_bool_rel): Likewise. + + * sysdeps/unix/alpha/sysdep.h: Select inline_syscall_r0_asm + based on HAVE___THREAD instead of USE_TLS. + + * sysdeps/unix/sysv/linux/alpha/adjtime.c (ADJTIMEX32): New. + (__adjtimex_tv64): Use it. + + * sysdeps/unix/sysv/linux/alpha/semctl.c (__new_semctl): Cast + to void* rather than directly to the compatibility structure type. + * sysdeps/unix/sysv/linux/alpha/shmctl.c (__new_shmctl): Likewise. + + * sysdeps/unix/sysv/linux/alpha/sigaction.c (struct kernel_sigaction): + Forward declare. + +2004-01-13 Richard Henderson + + * Versions.def (libm): Add GLIBC_2.3.3. + * sysdeps/alpha/fpu/Versions: Add __c1_c*f and c*f to GLIBC_2.3.3. + * sysdeps/alpha/fpu/cabsf.c, sysdeps/alpha/fpu/cargf.c, + sysdeps/alpha/fpu/cfloat-compat.h, sysdeps/alpha/fpu/cimagf.c, + sysdeps/alpha/fpu/conjf.c, sysdeps/alpha/fpu/crealf.c, + sysdeps/alpha/fpu/s_cacosf.c, sysdeps/alpha/fpu/s_cacoshf.c, + sysdeps/alpha/fpu/s_casinf.c, sysdeps/alpha/fpu/s_casinhf.c, + sysdeps/alpha/fpu/s_catanf.c, sysdeps/alpha/fpu/s_catanhf.c, + sysdeps/alpha/fpu/s_ccosf.c, sysdeps/alpha/fpu/s_ccoshf.c, + sysdeps/alpha/fpu/s_cexpf.c, sysdeps/alpha/fpu/s_clog10f.c, + sysdeps/alpha/fpu/s_clogf.c, sysdeps/alpha/fpu/s_cpowf.c, + sysdeps/alpha/fpu/s_cprojf.c, sysdeps/alpha/fpu/s_csinf.c, + sysdeps/alpha/fpu/s_csinhf.c, sysdeps/alpha/fpu/s_csqrtf.c, + sysdeps/alpha/fpu/s_ctanf.c, sysdeps/alpha/fpu/s_ctanhf.c: New files. + * sysdeps/alpha/fpu/bits/mathdef.h: Rename complex float + functions for gcc 3.3. + + * sysdeps/generic/s_cacosf.c, sysdeps/generic/s_cacoshf.c, + sysdeps/generic/s_casinf.c, sysdeps/generic/s_casinhf.c, + sysdeps/generic/s_catanf.c, sysdeps/generic/s_catanhf.c, + sysdeps/generic/s_ccosf.c, sysdeps/generic/s_ccoshf.c, + sysdeps/generic/s_cexpf.c, sysdeps/generic/s_clog10f.c, + sysdeps/generic/s_clogf.c, sysdeps/generic/s_cpowf.c, + sysdeps/generic/s_cprojf.c, sysdeps/generic/s_csinf.c, + sysdeps/generic/s_csinhf.c, sysdeps/generic/s_csqrtf.c, + sysdeps/generic/s_ctanf.c, sysdeps/generic/s_ctanhf.c: Don't + weak_alias if the function name has been #defined. + + * math/cabsf.c: Move ... + * sysdeps/generic/cabsf.c: ... here. + * math/cargf.c: Move ... + * sysdeps/generic/cargf.c: ... here. + * math/cimagf.c: Move ... + * sysdeps/generic/cimagf.c: ... here. + * math/conjf.c: Move ... + * sysdeps/generic/conjf.c: ... here. + * math/crealf.c: Move ... + * sysdeps/generic/crealf.c: ... here. + +2004-01-13 Ulrich Drepper + + * Makeconfig: Define relro-LDFLAGS if have-z-relro==yes. Add it to + LDFLAGS.so and LDFLAGS-rtld. + (+link): Add relro-LDFLAGS. + * Makeconfig (shlib.lds): Place __libc_subfreeres, __libc_atexit, and + __libc_thread_subfreeres sections after .jcr section. + * config.make.in: Add have-z-relro. + * configure.in: Add check for -z relro option. + * include/link.h (struct link_map): Add relro_addr and relro_size + members. + * elf/dl-load.c (_dl_map_object_from_fd): Recognize PT_GNU_RELRO. + * elf/dl-reloc.c (_dl_relocate_object): At the end, make relro + part of loaded segments read-only. + * elf/elf.h: Define PT_GNU_RELRO. + * elf/rtld.c (_dl_start): Recognize PT_GNU_RELRO of ld.so. + (dl_main): Recognize PT_GNU_RELRO of the application. Call + _dl_debug_initialize and initialize l_info[DT_DEBUG] before + relocations. + +2004-01-12 Jakub Jelinek + + * sysdeps/x86_64/strcspn.S: Fix typo in last patch. + +2004-01-11 Andreas Jaeger + + * sysdeps/x86_64/__longjmp.S: Add cfi directives. + +2004-01-10 Andreas Jaeger + + * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Add cfi directives. + * sysdeps/unix/x86_64/sysdep.S (__syscall_error): Likewise. + * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise. + * sysdeps/x86_64/strcspn.S: Likewise. + * sysdeps/x86_64/strspn.S: Likewise. + +2004-01-08 Jakub Jelinek + + * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Add cfi_endproc + right before syscall and cfi_startproc before PSEUDO_END. + Clear %rbp in thread_start. + +2004-01-05 Jakub Jelinek + + * posix/regcomp.c (regcomp): Fix comment typo. + (regfree): Free preg->translate, clear buffer, allocated, fastmap + and translate fields. + + * posix/regcomp.c (build_charclass, buld_charclass_op): Change first + argument to unsigned RE_TRANSLATE_TYPE. + * posix/regex_internal.h (re_string_t): Change trans type to + unsigned RE_TRANSLATE_TYPE. + * posix/regex_internal.c (re_string_construct_common): Cast + trans to unsigned RE_TRANSLATE_TYPE. + (re_string_peek_byte_case, re_string_fetch_byte_case): Avoid fast + path if pstr->trans. Never translate the character through + pstr->trans. + * posix/Makefile (tests): Add bug-regex22. + (bug-regex22-ENV): Set. + * posix/bug-regex22.c: New test. + +2004-01-02 Paolo Bonzini + + * posix/regex_internal.c (re_node_set_add_intersect, + re_node_set_merge): Rewritten. + (re_node_set_insert, re_node_set_remove_at): + Avoid memmove, we know what direction we should copy and that we + are copying 32-bit words. + (re_node_set_compare): Iterate backwards. + +2003-12-30 Paul Eggert + + * time/mktime.c (verify): New macro. + (time_t_is_integer, twos_complement_arithmetic, + right_shift_propagates_sign, base_year_is_a_multiple_of_100, + C99_integer_division): Document these longstanding assumptions in the + code, and verify them at compile-time. + +2004-01-02 Jakub Jelinek + + * posix/regex_internal.h (re_match_context_t): Add dfa member. + * posix/regexec.c (match_ctx_free_subtops, search_cur_bkref_entry, + match_ctx_add_sublast, sift_ctx_init, acquire_init_state_context, + prune_impossible_nodes, check_halt_state_context, proceed_next_node, + sift_states_backward, update_cur_sifted_state, check_dst_limits, + check_dst_limits_calc_pos, sift_states_bkref, transit_state, + check_subexp_matching_top, transit_state_sb, transit_state_mb, + transit_state_bkref, get_subexp, get_subexp_sub, check_arrival, + check_arrival_add_next_nodes, expand_bkref_cache, check_node_accept): + Remove dfa parameter. Get dfa from mctx. Adjust callers. + (re_search_internal): Initialize mctx.dfa. + + * posix/regex_internal.c (re_node_set_insert): Remove unused variables. + + * posix/regex_internal.h (re_dfa_t): Add syntax field. + * posix/regcomp.c (parse): Initialize dfa->syntax. + * posix/regexec.c (acquire_init_state_context, + prune_impossible_nodes, check_matching, check_halt_state_context, + proceed_next_node, sift_states_iter_mb, sift_states_backward, + update_cur_sifted_state, sift_states_bkref, transit_state, + transit_state_sb, transit_state_mb, transit_state_bkref, + get_subexp, get_subexp_sub, check_arrival, expand_bkref_cache, + build_trtable): Remove preg argument, add dfa argument instead + and remove dfa = preg->buffer initialization in the body. + Adjust all callers. + (check_node_accept_bytes, group_nodes_into_DFAstates, + check_node_accept): Likewise. Use dfa->syntax instead of + preg->syntax. + (check_arrival_add_next_nodes): Remove preg argument. + + * posix/regex_internal.h (re_match_context_t): Make input + re_string_t instead of a pointer to it. + * posix/regex_internal.c (re_string_construct_common): Don't clear + pstr here... + (re_string_construct): ... but only here. + * posix/regexec.c (match_ctx_init): Remove input argument. Don't + initialize fields to zero. + (re_search_internal): Move input into mctx.input. + (acquire_init_state_context, check_matching, + check_halt_state_context, proceed_next_node, + clean_state_log_if_needed, sift_states_bkref, sift_states_iter_mb, + transit_state, transit_state_sb, transit_state_mb, + transit_state_bkref, get_subexp, check_arrival, + check_arrival_add_next_nodes, check_node_accept, extend_buffers): + Change mctx->input into &mctx->input and mctx->input->field into + mctx->input.field. + +2004-01-02 Jakub Jelinek + Paolo Bonzini + + * posix/regex_internal.h (re_const_bitset_ptr_t): New type. + (re_string_t): Add newline_anchor, word_char and word_ops_used fields. + (re_dfa_t): Change word_char type to bitset. Add word_ops_used field. + (re_string_context_at, re_string_reconstruct): Remove last argument. + * posix/regex_internal.c (re_string_allocate): Initialize + pstr->word_char and pstr->word_ops_used. + (re_string_context_at): Remove newline_anchor argument. + Use input->newline_anchor instead, swap && conditions. + Only use IS_WIDE_WORD_CHAR if input->word_ops_used != 0. + Use input->word_char bitmap instead of IS_WORD_CHAR. + (re_string_reconstruct): Likewise. + Adjust re_string_context_at caller. + * posix/regexec.c (acquire_init_state_context, + check_halt_state_context, transit_state, transit_state_sb, + transit_state_mb, transit_state_bkref, check_arrival, + check_node_accept): Adjust re_string_context_at and + re_string_reconstruct callers. + (re_search_internal): Likewise. Set input.newline_anchor. + (build_trtable): Use dfa->word_char bitmap instead of IS_WORD_CHAR. + * posix/regcomp.c (init_word_char): Change return type to void. + Set dfa->word_ops_used. + (free_dfa_content): Don't free dfa->word_char. + (parse_expression): Remove error handling for init_word_char. + +2004-01-01 Paolo Bonzini + + * posix/regex_internal.h (re_dfastate_t): Fix size of the CONTEXT + bitfield. + + * posix/regex_internal.c (re_node_set_insert): Rewrite. + +2004-01-01 Ulrich Drepper + + * posix/getconf.c: Update copyright year. + * nss/getent.c: Likewise. + * nscd/nscd_nischeck.c: Likewise. * iconv/iconvconfig.c: Likewise. + * iconv/iconv_prog.c: Likewise. + * elf/ldconfig.c: Likewise. + * catgets/gencat.c: Likewise. + * csu/version.c: Likewise. + * elf/ldd.bash.in: Likewise. + * elf/sprof.c (print_version): Likewise. * locale/programs/locale.c: Likewise. * locale/programs/localedef.c: Likewise. - * login/programs/pt_chown.c: Likewise. + * nscd/nscd.c (print_version): Likewise. + * debug/xtrace.sh: Likewise. * malloc/memusage.sh: Likewise. - * malloc/memusagestat.c: Likewise. * malloc/mtrace.pl: Likewise. - * manual/crypt.texi: Likewise. - * manual/install.texi: Likewise. - * nss/makedb.c: Likewise. -2004-05-14 Jakub Jelinek +2004-01-01 Petter Reinholdtsen - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Only - CHECK_STATIC_TLS if sym != NULL. - * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise. + * stdlib/strfmon.c: Make formatting of left-justified currency + values match the the POSIX standard. When using format string + "[%-14#5.4n]" to print -123.45, the result should be + "[-$ 123.4500 ]", not "[-$123.4500 ]". + +2004-01-01 Andreas Jaeger + + * resolv/Makefile (generated): New. + +2003-12-31 Joseph S. Myers + + * CONFORMANCE: Update. + +2003-12-30 Paul Eggert + + * time/mktime.c: (my_mktime_localtime_r): + Remove. All uses changed to __localtime_r. + (__localtime_r) [!defined _LIBC]: New macro. Include "time_r.h" to + get its implementation. + Fix compile-command to allow for TIME_R_POSIX. + + * time/strftime.c (my_strftime_gmtime_r, my_strftime_localtime_r): + Remove. All uses changed to __localtime_r and __gmtime_r. + (__gmtime_r, __localtime_r) [!HAVE_TM_GMTOFF]: New macros. + Include "time_r.h" to get their implementations. + + * time/timegm.c: Allow use in GNU applications outside glibc. + [defined HAVE_CONFIG_H]: Include . + [!defined _LIBC]: Include "timegm.h", . + Define __gmtime_r, and declare __mktime_internal. + (timegm): Define via a prototype, since we can safely assume C89 now. + + * time/mktime.c (check_result): Use less-confusing report format. + "long" -> "long int", as per usual GNU style. + (main): Likewise. + Don't loop if the iteration overflows time_t. + Allow a negative step in the iteration. + + * time/mktime.c: Assume freestanding C89 or better. + (HAVE_LIMITS_H, STDC_HEADERS) [defined _LIBC]: Remove; + assume they're 1. + (__P): Remove; not used. + (CHAR_BIT, INT_MIN, INT_MAX): Remove; defines them. + (mktime, not_equal_tm, print_tm, check_result, main): Use prototypes. + Prototypes use const * where appropriate. + (main) [DEBUG]: Fix typo in testing code uncovered by above changes, + which caused the testing code to dump core on some hosts. + +2003-12-31 Ulrich Drepper + + * locale/setlocale.c (setlocale): Avoid duplicating locale names + if we can reuse old strings. + + * inet/rcmd.c: Provide better error message in case of unknown + host. Remove USE_IN_LIBIO. + + * nscd/nscd.init: Updated version, more conforming with current + init file standards. + + * nscd/nscd-client.h (_PATH_NSCDPID): Move the file into + /var/run/nscd directory. + (_PATH_NSCDSOCKET): Likewise. + + * test-skeleton.c (timeout_handler): Fix error message. + + * elf/dl-dst.h (DL_DST_REQUIRED): Avoid the complex operations if + CNT == 0. + +2003-12-30 Jakub Jelinek + + * posix/regexec.c (get_subexp): Only set bkref_str after the first + loop, use buf + bkref_str_off in the loop instead. + * posix/bug-regex11.c (tests): Add 3 new tests. + + * posix/regexec.c (clean_state_log_if_need): Rename to... + (clean_state_log_if_needed): ...this. + (transit_state_mb, get_subexp_sub): Adjust callers. + + * sunrpc/pmap_clnt.c (pmap_set): Do CLNT_DESTROY even if CLNT_CALL + failed. Reported by Steve Grubb. + +2003-12-29 Ulrich Drepper + + * elf/elf.h: Add a few definitions from Solaris 9. + +2003-12-29 Andreas Schwab + + * stdio-common/Makefile (CFLAGS-errlist.c, CFLAGS-siglist.c): Add + $(fno_unit_at_a_time) to avoid reordering assembler output. + +2003-12-29 Jakub Jelinek + + * posix/regexec.c (re_copy_regs): Revert comment change. + Avoid memory leak if realloc fails. + (proceed_next_node): Return -2 if re_node_set_insert fails. + Return -2 if push_fail_stack fails. + (push_fail_stack): Change fs->alloc only after successful realloc. + (pop_fail_stack): Formatting. + (set_regs): If proceed_next_node returns -2, free eps_via_nodes and fs. + (check_arrival_add_next_nodes): Merge identical statements + from if branches. + + * signal/Makefile (tests): Add tst-raise. + * signal/tst-raise.c: New test. + +2003-12-28 Ulrich Drepper + + * posix/regcomp.c (mark_opt_subexp_iter): Declare IDX as int. + + * posix/regexec.c (re_copy_regs): Fix testing for failed allocation. + (push_fail_stack): Add missing check for failed memory allocation. + + * libio/libio.h: Use __builtin_expect in _IO_getc_unlocked, + _IO_peekc_unlocked, _IO_putc_unlocked, _IO_getwc_unlocked, and + _IO_putwc_unlocked. + +2003-12-28 Andreas Jaeger + + * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise only + overflow for 0 as argument. Raise Invalid exception for negative args. + * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise. + * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y0): Likewise. + * sysdeps/ieee754/ldb-128/e_jnl.c (__ieee754_ynl): Likewise. + * sysdeps/ieee754/ldb-128/e_j0l.c (__ieee754_y0l): Likewise. + * sysdeps/ieee754/ldb-128/e_j1l.c (__ieee754_y1l): Likewise. + * sysdeps/ieee754/ldb-96/e_jnl.c (__ieee754_ynl): Likewise. + * sysdeps/ieee754/ldb-96/e_j0l.c (__ieee754_y0l): Likewise. + * sysdeps/ieee754/ldb-96/e_j1l.c (__ieee754_y1l): Likewise. + * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise. + * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise. + * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise. + + * math/libm-test.inc (yn_test): Expect invalid exception for + negative arguments. + (y0_test): Likewise. + (y1_test): Likewise. + + * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not raise + execptions for exp(NaN). + +2003-12-23 Paolo Bonzini + + * posix/regex_internal.c (re_dfa_add_node): Initialize opt_subexp. + * posix/regex_internal.h (re_token_type_t): Put OP_DUP_PLUS + among the tokens, rather than among the epsilon-transiting nodes. + (re_token_t): Add the opt_subexp flag. + * posix/regcomp.c (optimize_utf8, calc_first, + calc_next, calc_epsdest): Don't consider OP_DUP_PLUS. + (mark_opt_subexp, mark_opt_subexp_iter): New functions. + (parse_dup_op): Mostly rewritten, lowering OP_DUP_PLUS to + OP_DUP_ASTERISK and marking optional subexpressions + as such using mark_opt_subexp. + * posix/regexec.c (set_regs): Initialize PREV_INDEX_MATCH + and pass it to update_regs. + (update_regs): Use the PREV_INDEX_MATCH parameter, together + with the opt_subexp flag, in order to discard a final empty + match of a repeated subexpression. + * posix/BOOST.tests: Adjust test vectors. + * posix/PCRE.tests: Likewise. + * posix/rxspencer/tests: Likewise. + +2000-05-22 Jakub Jelinek + + * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Avoid using ?: + with omitted middle operand. + +2003-12-22 Jakub Jelinek + + * posix/regcomp.c: Remove C99-ism. + * posix/tst-rxspencer.c: Likewise. + Based on a patch by Alex Davis . + +2003-12-17 Paolo Bonzini + + * posix/regex_internal.h [!_LIBC] (internal_function): Define. + (re_string_allocate, re_string_construct, re_string_reconstruct, + re_string_realloc_buffers, build_wcs_buffer, + build_wcs_upper_buffer, build_upper_buffer, + re_string_translate_buffer, re_string_destruct, + re_string_elem_size_at, re_string_char_size_at, + re_string_wchar_at, re_string_context_at, + re_node_set_alloc, re_node_set_init_1 + re_node_set_init_2, re_node_set_init_copy, + re_node_set_add_intersect, re_node_set_init_union, + re_node_set_merge, re_node_set_insert + re_node_set_compare, re_node_set_contains + re_node_set_remove_at, re_dfa_add_node, + re_acquire_state, re_acquire_state_context, + free_state): Add internal_function to declaration. + + * posix/regexec.c (match_ctx_init, match_ctx_clean, + match_ctx_free, match_ctx_free_subtops, + match_ctx_add_entry, search_cur_bkref_entry, + match_ctx_clear_flag, match_ctx_add_subtop, + match_ctx_add_sublast, sift_ctx_init, + re_search_internal, re_search_2_stub, re_search_stub, + re_copy_regs, acquire_init_state_context, + prune_impossible_nodes, check_matching, + check_halt_node_context, check_halt_state_context + update_regs, proceed_next_node, push_fail_stack, + pop_fail_stack, set_regs, free_fail_stack_return, + sift_states_iter_mb, sift_states_backward + update_cur_sifted_state, add_epsilon_src_nodes, + sub_epsilon_src_nodes, check_dst_limits, + check_dst_limits_calc_pos, check_subexp_limits, + sift_states_bkref, clean_state_log_if_need, + merge_state_array, transit_state, + check_subexp_matching_top, transit_state_sb, + transit_state_mb, transit_state_bkref, + get_subexp, get_subexp_sub, find_subexp_node, + check_arrival, check_arrival_add_next_nodes, + find_collation_sequence_value, check_arrival_expand_ecl, + check_arrival_expand_ecl_sub, expand_bkref_cache, + build_trtable, check_node_accept_bytes, extend_buffers, + group_nodes_into_DFAstates, check_node_accept): Likewise. + + * posix/regex_internal.c (re_string_construct_common, + re_string_skip_chars, create_newstate_common, + register_state, create_ci_newstate, create_cd_newstate, + calc_state_hash): Likewise. + (re_string_peek_byte_case, re_fetch_byte_case): Change + declaration from ANSI to K&R. + +2003-12-16 Paolo Bonzini + + * posix/regexec.c (build_trtable): Don't allocate the trtable + until state->word_trtable is known. Don't hardcode UINT_BITS + iterations on each bitset item. + +2003-12-22 Maciej W. Rozycki + + * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_init): + Initialize REF before passing it to _dl_lookup_symbol. + +2003-12-21 Roland McGrath + + * sysdeps/mach/hurd/dl-sysdep.c (_exit): Define with attribute_hidden. + +2003-12-21 Jakub Jelinek + + * posix/regcomp.c (duplicate_node, duplicate_node_closure): Revert + 2003-11-24 changes. + * posix/regexec.c (group_nodes_into_DFAstates): For CHARACTER with + NEXT_{,NOT}WORD_CONSTRAINT check word_char bit. + * posix/bug-regex19.c (tests): Add new tests. + + * posix/regexec.c (check_dst_limits_calc_pos): Fix formatting. + + * posix/regcomp.c (parse_dup_op): Return NULL if dup_elem is NULL, + after checking syntax. Optimize. + (calc_first): Fix comment. + * posix/bug-regex13.c (tests): Add new tests. + +2003-12-21 Roland McGrath + + * manual/arith.texi (Parsing of Integers): Typo fix. + +2003-12-20 Roland McGrath + + * sysdeps/generic/ifreq.c (__ifreq) [_HAVE_SA_LEN]: Fix typo: + add missing dereference of IFREQS before counting loop. + +2003-12-21 Andreas Schwab + + * sysdeps/m68k/m68020/bits/atomic.h: Avoid matching memory + constraints. + +2003-12-20 Ulrich Drepper + + * elf/rtld.c (dl_main): Optimize order of subexpressions in if(). + +2003-12-18 Ulrich Drepper + + * stdio-common/printf_fp.c: Add support to use alternative decimal + digits. + * stdio-common/vfprintf.c (vfprintf): Pass use_outdigits flags to + __printf_fp. Patch by Hamed Malek . + +2003-12-18 Carlos O'Donell + + * sysdeps/unix/sysv/linux/hppa/clone.S (__clone) [PIC]: Save PIC, + reload PIC if we need to call __syscall_error, cleanup asm. + +2003-12-17 Carlos O'Donell + + * sysdeps/hppa/fpu/fclrexcpt.c (feclearexcept): Right shift + FE_ALL_EXCEPT before complimenting. + * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Use asm 'ma,' completer, + and gcc '+r' constraint. + * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise. + * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise. + * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Read raised + exception bits, OR with envp, pass to fesetenv. + * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Add delayed + exception flushing, FE_UNDERFLOW is DBL_MIN/3.0, FE_INEXACT is + triggered by M_PI/69.69 converted to single precision. + * sysdeps/hppa/fpu/fsetexcptflg.c (fesetexceptflag): Set enable + bits not raised exception bits. + + * sysdeps/hppa/Makefile: Add dl-symaddr and dl-fptr to the + correct build strings. + * sysdeps/hppa/dl-fptr.h: New file. + * sysdeps/hppa/dl-fptr.c: Removed. + * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Use _dl_make_ftpr, + remove const qualifier for map. + (_dl_function_address): Removed. + * sysdeps/hppa/dl-lookupcfg.h: DL_LOOKUP_ADDRESS must clear + PLABEL32 bits, define DL_AUTO_FUNCTION_ADDRESS and + DL_STATIC_FUNCTION_ADDRESS, DL_DT_INIT_ADDRESS and + DL_DT_FINI_ADDRESS use the previous two macros. + +2003-12-17 Jakub Jelinek + + * malloc/mtrace.c (tr_old_memalign_hook): New variable. + (tr_memalignhook): New function. + (mtrace): Register tr_memalignhook. + (muntrace): Deregister tr_memalignhook. + * malloc/malloc.c (__posix_memalign): If __memalign_hook != NULL, + call it directly instead of memalign_internal. + +2003-12-17 Ulrich Drepper + + * misc/mntent_r.c: Change encoding to match recently changed decoder. + Patch by Alexander Achenbach . + +2003-12-16 Steven Munroe + + * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Correct definition of + vrregset_t. + +2003-12-16 Steven Munroe + + * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h [!__PPC64_ELF_H]: Extend + conditional to include typedef elf_vrreg_t. + +2003-12-17 Paolo Bonzini + + * posix/regexec.c (re_search_internal): Limit search to the + beginning of the buffer if the initial states are empty for + contexts that do not include CONTEXT_BEGBUF or, if + !preg->newline_anchor, that do not include any one of + CONTEXT_BEGBUF and CONTEXT_NEWLINE. + +2003-12-17 Andreas Jaeger + + * sysdeps/generic/system.c (__libc_system): Fix typo, reported by + Kevin Pedretti . + +2003-12-17 Ulrich Drepper + + * elf/rtld.c: Don't use strong_alias to define _rtld_local. This + removes the visibility attributes which might be defined earlier + for some gcc versions. Instead spell out what strong_alias does + plus the visibility. + +2003-12-16 Petter Reinholdtsen + + * posix/regex_internal.h: Make sure the regex code compile + with non-GCC compilers by hiding attributes. + +2003-12-16 Jakub Jelinek + Paolo Bonzini + + * posix/regexec.c (group_nodes_into_DFAstates): Never produce + dests_ch items that are empty. + +2003-12-14 Paolo Bonzini + + * posix/regexec.c (check_arrival): Remove duplicate test. + +2003-12-15 Ulrich Drepper + + * posix/regcomp.c: Make !RE_ENABLE_I18N work again. + * posix/regex_internal.c: Likewise. + * posix/regexec.c: Likewise. + Patch by Paolo Bonzini. + +2003-12-14 Paolo Bonzini + + * posix/regex_internal.c (re_acquire_state_context): + Compare the node sets after all the other comparisons. + +2003-12-13 Paolo Bonzini + + * posix/regexec.c (find_subexp_node, check_arrival, + check_arrival_add_next_nodes, check_arrival_expand_ecl, + check_arrival_expand_ecl_sub, expand_bkref_cache): + Rename the FL_OPEN parameter to TYPE, which is either + OP_OPEN_SUBEXP or OP_CLOSE_SUBEXP. Callers adjusted. + +2003-12-12 Andreas Jaeger + + * sysdeps/unix/sysv/linux/x86_64/syscall.S: Pass also 6th argument + to syscall. + +2003-12-11 Ulrich Drepper + + * sysdeps/unix/sysv/linux/kernel-features.h: Remove __ASSUME_VSYSCALL. + There might always be processes which have no vDSO. + * sysdeps/generic/dl-sysdep.c: Remove __ASSUME_VSYSCALL uses. + * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. + +2003-12-11 Carlos O'Donell + + * sysdeps/generic/dl-fptr.c (COMPARE_AND_SWAP): Pass new and old + in the right order. + +2003-12-01 Jes Sorensen + + * rt/tst-clock.c (do_test): Print message when skipping + CLOCK_PROCESS_CPUTIME_ID test. + + * sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c: New file. + Provide CLOCK_PROCESS_CPUTIME_ID only if /proc/sal/itc_drift is 0. + +2003-12-02 David Mosberger + + * sysdeps/ia64/elf/initfini.c: Add unwind info. + + * sysdeps/ia64/dl-machine.h (elf_machine_matches_host): Mark with + attribute "unused". + (elf_machine_dynamic): Mark with attributes "unused" and "const". + (elf_machine_runtime_setup): Likewise. + + * sysdeps/generic/dl-fptr.c (make_fptr_table): Mark with + attribute "always_inline". + * sysdeps/ia64/dl-machine.h (__ia64_init_bootstrap_fdesc_table): + Likewise. + + * configure.in: Check whether compiler has libunwind support. + * config.make.in (have-cc-with-libunwind): New variable. + * config.h.in (HAVE_CC_WITH_LIBUNWIND): New macro. + * Makeconfig (gnulib): If have-cc-with-libunwind is "yes", also + mention -lunwind. + +2003-11-12 David Mosberger + + * sysdeps/unix/sysv/linux/ia64/sysdep.h: Define DO_CALL_VIA_BREAK. + Redefine DO_CALL to use vdso if supported, otherwise DO_CALL_VIA_BREAK. + Likewise for DO_INLINE_SYSCALL. Make INTERNAL_SYSCALL use + DO_INLINE_SYSCALL. + + * sysdeps/unix/sysv/linux/ia64/vfork.S: Use DO_CALL_VIA_BREAK() + instead of DO_CALL(). + + * sysdeps/unix/sysv/linux/ia64/clone2.S: Use break directly instead + of DO_CALL(). + + * sysdeps/unix/sysv/linux/ia64/brk.S (__curbrk): Restructure it + to take advantage of DO_CALL() macro. + * sysdeps/unix/sysv/linux/ia64/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/ia64/getcontext.S: Likewise. + + * elf/rtld.c (dl_main): Restrict dl_sysinfo_dso check to first + program header. On ia64, the check failed previously because + there are two program headers. + +2003-12-10 Andreas Jaeger + Ruediger Oertel + + * sysdeps/alpha/fpu/e_sqrt.c: Mark sqrt_data as used. + +2003-12-07 Ulrich Drepper + + * sysdeps/i386/fpu/s_nexttowardf.c: Construct overflow value correctly. + * sysdeps/i386/fpu/s_nexttoward.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise. + * sysdeps/generic/s_nexttowardf.c: Likewise. + * math/Makefile (tests): Add bug-nexttoward. + * math/bug-nexttoward.c: New file. + + * sysdeps/generic/s_nextafter.c: Make sure overflow exception is set. + * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise. + * math/bug-nextafter.c (main): Add tests for overflow and negative + values. + +2003-12-06 Ulrich Drepper + + * math/Makefile (tests): Add bug-nextafter. + * math/bug-nextafter.c: New file. + * sysdeps/generic/s_nextafter.c: Construct overflow value correctly. + * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise. + * math/libm-test.inc (nextafter_test): Add test for overflow after + +/-FLT_MAX etc. + +2003-12-04 Steven Munroe + + * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Add masking + of fenv. + * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag): Likewise. + +2003-12-05 Martin Schwidefsky + + * sysdeps/s390/s390-32/elf/setjmp.S (setjmp, __setjmp): Add END + statements. + * sysdeps/s390/s390-64/elf/setjmp.S (setjmp, __setjmp): Likewise. + * sysdeps/s390/s390-32/sysdep.h (ENTRY): Add cfi_startproc directive. + (END): Add cfi_endproc directive. + * sysdeps/s390/s390-64/sysdep.h (ENTRY, END): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/socket.S (__socket): Remove + cfi_startproc and cfi_endproc directive. + * sysdeps/unix/sysv/linux/s390/s390-64/socket.S (__socket): Likewise. + * sysdeps/s390/s390-32/addmul_1.S (__mpn_addmul_1): Add CFI directives. + * sysdeps/s390/s390-32/add_n.S (__mpn_add_n): Likewise. + * sysdeps/s390/s390-64/add_n.S (__mpn_add_n): Likewise. + * sysdeps/s390/s390-32/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): + Likewise. + * sysdeps/s390/s390-64/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): + Likewise. + * sysdeps/s390/s390-32/mul_1.S (__mpn_mul_1): Likewise. + * sysdeps/s390/s390-32/sub_n.S (__mpn_sub_n): Likewise. + * sysdeps/s390/s390-64/sub_n.S (__mpn_sub_n): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S (__mmap): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S (syscall): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S (__syscall_error): + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S (__syscall_error): + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Add CFI + directives. Move thread_start out of ENTRY/PSEUDO_END block to + make backchain terminate. + * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise. + + * sysdeps/s390/s390-32/backtrace.c (trace_arg): New structure. + (unwind_backtrace, unwind_getip): New variables. + (init, __backchain_backtrace, backtrace_helper): New functions. + (__backtrace): Use unwind info for backtrace instead of backchain + walking if the unwind functions can be found. + * sysdeps/s390/s390-64/backtrace.c: Likewise. + + * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: New file. + + * sysdeps/unix/sysv/linux/s390/sys/procfs.h (ELF_NGREG32): New #define. + (elf_greg_t32, elf_gregset_t32, elf_fpregset_t32): New types. + (elf_prstatus32, elf_prpsinfo32): New structures. + (prgregset32_t, prfpregset32_t, prstatus32_t, prpsinfo32_t): New types. + + * scripts/data/c++-types-s390-linux-gnu.data: New file. + * scripts/data/c++-types-s390x-linux-gnu.data: New file. + +2003-11-30 Petter Reinholdtsen + + * stdlib/strfmon.c: Correct formatting of international currency + values. The international currency formatting should prefer the + int_* values if they are set for a locale, and use the domestic + values if the int_* values are unset. + +2003-12-03 Jakub Jelinek + + * posix/Makefile (distribute): Add BOOST.tests. + (tests): Add tst-boost, depend on tst-boost-mem. + (generated): Add tst-boost-mem and tst-boost.mtrace. + (tst-boost-ARGS, tst-boost-ENV): Set. + ($(objpfx)tst-boost-mem): New. + * posix/tst-boost.c: New test. + * posix/BOOST.tests: New file. + + * posix/Makefile (distribute): Add PCRE.tests. + (tests): Add tst-pcre, depend on tst-pcre-mem. + (generated): Add tst-pcre-mem and tst-pcre.mtrace. + (tst-pcre-ARGS, tst-pcre-ENV): Set. + ($(objpfx)tst-pcre-mem): New. + * posix/tst-pcre.c: New test. + * posix/PCRE.tests: New file. + +2003-12-02 Jakub Jelinek + + * intl/locale.alias: Use nb_NO instead of no_NO for bokm.l. + + * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated. + * sysdeps/s390/fpu/libm-test-ulps: Regenerated. + +2003-12-03 Ulrich Drepper + + * locale/programs/locarchive.c (enlarge_archive): Print size info + only in verbose mode. + + * locale/iso-3166.def: Three letter code of Romania changed. + +2003-12-02 Roland McGrath + + * scripts/config.sub: Update from master, timestamp='2003-10-20'. + * scripts/config.guess: Update from master, timestamp='2003-10-20'. + +2003-11-30 Andreas Jaeger + + * config.make.in (fno-unit-at-a-time): Define. + + * configure.in: Add test for -fno-unit-at-a-time. + Fix text for -fpie. + + * csu/Makefile (CFLAGS-initfini.s): Add $(fno_unit_at_a_time). + * locale/Makefile (CFLAGS-loadlocale.c): Likewise. + +2003-12-01 Automatic + + * version.h (VERSION): Bump to 2.3.3. + +2003-11-30 Andreas Jaeger + + * stdio-common/vfprintf.c: Do not inline buffered_vfprintf to + decrease stack usage. + +2003-11-30 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/sysdep.h (PSEUDO_ERRVAL) + (PSEUDO_END_ERRVAL, ret_ERRVAL): Define. + +2003-11-29 Ulrich Drepper + + * misc/mntent_r.c (decode_name): Be compatible with util-linux and + recognize \134 as well. + +2003-10-09 H.J. Lu + + * sysdeps/ia64/fpu/fraiseexcpt.c: Don't include . + +2003-10-08 H.J. Lu + + * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Don't include + . + (struct ia64_fpreg): New definition. + + * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Don't include + . + (ELF_NGREG): New #define. + (ELF_NFPREG): Likewise. + (elf_greg_t): New type. + (elf_gregset_t): Likewise. + (elf_fpreg_t): Likewise. + (elf_fpregset_t): Likewise. + +2003-10-08 H.J. Lu + + * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Include + . + (__ptrace_request): Add PTRACE_GETREGS and PTRACE_SETREGS. + (pt_all_user_regs): New type. + +2003-10-10 Simon Josefsson + + * argp/argp-namefrob.h [!_LIBC]: Include mempcpy.h, strcase.h, + strchrnul.h, strndup.h (from gnulib). + * argp/argp-parse.c: Add alloca.h include snippet verbatim from + Autoconf manual. + * argp/argp-help.c: Replace alloca.h include snipper with verbatim + Autoconf manual version. + * argp/argp.h: Map __restrict to restrict or empty string when + necessary, copied verbatim from posix/regex.h. + +2003-10-09 Steven Munroe + + * Makefile: Allow for c++-types-$(config-machine)-$(config-os).data in + addition to c++-types-$(base-machine)-$(config-os).data. + * scripts/data/c++-types-powerpc-linux-gnu.data: New file. + * scripts/data/c++-types-powerpc64-linux-gnu.data: New file. + +2003-11-28 Ulrich Drepper + + * misc/mntent_r.c (decode_name): Fix decoding of tab, add decoding + of newline. + * manual/sysinfo.texi (mtab): Adjust description accordingly. + Reported by Andries.Brouwer@cwi.nl. + + * sysdeps/x86_64/fpu/libm-test-ulps: Add some more minor changes + to compensate other setup. + +2003-11-27 Andreas Jaeger + + * sysdeps/x86_64/fpu/libm-test-ulps: Add ulps for new atan2 test. + + * math/libm-test.inc (atan2_test): Add test that run infinitly. + Reported by "Willus" . + +2003-11-27 Michael Matz + + * sysdeps/ieee754/dbl-64/mpsqrt.c (fastiroot): Fix 64-bit problem + with wrong types. + +2003-11-28 Jakub Jelinek + + * posix/regexec.c (acquire_init_state_context): Make inline. + Add always_inline attribute. + (check_matching): Add BE macro. Move if (cur_state->has_backref) + into if (dfa->nbackref). + (sift_states_backward): Fix comment. + (transit_state): Add BE macro. Move if (next_state->has_backref) + into if (dfa->nbackref && next_state). Don't check for next_state + != NULL twice. + * posix/regcomp.c (peek_token): Use opr.ctx_type instead of opr.idx + for ANCHOR. + (parse_expression): Only call init_word_char if word context will be + needed. + + * posix/bug-regex11.c (tests): Add new tests. + + * posix/tst-regex.c: Include getopt.h. + (timing): New variable. + (main): Set timing to 1 if --timing argument is present. + Add 2 new tests. + (run_test, run_test_backwards): Handle timing. + +2003-11-27 Jakub Jelinek + + * posix/regex_internal.h (re_string_t): Remove mbs_case field. + Add offsets, valid_raw_len, raw_len, raw_stop, mbs_allocated and + offsets_needed fields. Change icase, is_utf8 and map_notascii + type from int bitfield to unsigned char. + (MBS_ALLOCATED, MBS_CASE_ALLOCATED): Remove. + (build_wcs_upper_buffer): Change prototype to return int. + (re_string_peek_byte_case, re_string_fetch_byte_case): Remove + defines, add prototypes. + * posix/regex_internal.c (re_string_allocate): Don't initialize + stop here. Don't initialize mbs_case. Set valid_raw_len. + Use mbs_allocated instead of MBS_* macros. + (re_string_construct): Don't initialize stop and valid_len here. + Don't initialize mbs_case. Use mbs_allocated instead of MBS_* + macros. Reallocate buffers if build_wcs_upper_buffer converted + too few bytes. Set valid_len to bufs_len only for single byte + no translation and set in that case valid_raw_len as well. + (re_string_realloc_buffers): Reallocate offsets if not NULL. + Use mbs_allocated instead of MBS_ALLOCATED. Don't reallocate + mbs_case. + (re_string_construct_common): Initialize raw_len, mbs_allocated, + stop and raw_stop. + (build_wcs_buffer): Apply pstr->trans before mbrtowc instead of + after it. Set valid_raw_len. Don't set mbs_case. + (build_wcs_upper_buffer): Return REG_NOERROR or REG_ESPACE. + Only use the fast path if !pstr->offsets_needed. Apply pstr->trans + before mbrtowc instead of after it. If upper case character + uses different number of bytes than lower case, goto to the + slow path. Don't call towupper unnecessarily twice. Set + valid_raw_len as well. Handle in the slow path the case if + lower and upper case use different number of characters. + Don't set mbs_case. + (re_string_skip_chars): Use valid_raw_len instead of valid_len. + (build_upper_buffer): Don't set mbs_case. Add BE macro. Set + valid_raw_len. + (re_string_translate_buffer): Set mbs instead of mbs_case. Set + valid_raw_len. + (re_string_reconstruct): Use raw_len/raw_stop to initialize + len/stop. Clear valid_raw_len and offsets_needed when clearing + valid_len. Use mbs_allocated instead of MBS_* macros. + Check original offset against valid_raw_len instead of valid_len. + Remove mbs_case handling. Adjust valid_raw_len together with + valid_len. If is_utf8 and looking for tip context, apply + pstr->trans first. If buffers start with partial multi-byte + character, initialize mbs array as well if mbs_allocated. + Check return value of build_wcs_upper_buffer. + (re_string_peek_byte_case): New function. + (re_string_fetch_byte_case): New function. + (re_string_destruct): Use mbs_allocated instead of MBS_ALLOCATED. + Don't free mbs_case. Free offsets. + * posix/regcomp.c (init_dfa): Only check if charset name is UTF-8 + if mb_cur_max == 6. + * posix/regexec.c (re_search_internal): Initialize input.raw_stop + as well. Use valid_raw_len instead of valid_len when looking + through fastmap. Adjust registers through input.offsets. + (extend_buffers): Allow build_wcs_upper_buffer to fail. + * posix/bug-regex18.c (tests): Enable #ifdefed out tests. Add new + tests. + +2003-11-26 Jakub Jelinek + + * posix/regexec.c (check_subexp_limits): Only check close + subexpression limitation if one is found. Formatting. + (sift_states_backward, check_arrival, check_arrival_add_next_nodes): + Formatting. + * posix/bug-regex11.c (tests): Enable most #ifdefed out tests. + Add new test. + +2003-11-26 Ulrich Drepper + + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_PROT_GROWSUPDOWN): Define for 2.6.1 and up. + * sysdeps/unix/sysv/linux/dl-execstack.c: Omit compatibility code + if __ASSUME_PROT_GROWSUPDOWN is defined. + +2003-11-26 Andreas Jaeger + + * sysdeps/unix/sysv/linux/dl-execstack.c + (_dl_make_stack_executable): Set dl_stack_flags always for + success. + +2003-06-22 Petter Reinholdtsen + + * locale/program/ld-monetary.c: Only check the first three + characters in int_curr_symbol against ISO-4217, to make the + separator character used by a locale independent of the content + in iso-4217.def. + * locale/iso-4217.def: Remove the space character from all + currency values to get the new test code in ld-monetary.c working. + +2003-11-21 David Mosberger + + * elf/soinit.c (_fini): Put _fini() in .init_array section if + HAVE_INITFINI_ARRAY is defined. + +2003-11-25 Ulrich Drepper + + * sysdeps/i386/fpu/bits/mathinline.h: Introduce __libc_sqrtl symbol. + Define it appropriately after last change. Use it where __sqrtl + was used. + +2003-11-25 H.J. Lu + + * sysdeps/i386/fpu/bits/mathinline.h (sqrt): Don't inline + sqrt for gcc 3.3 and above. + +2003-11-25 Ulrich Drepper + + * posix/runptests.c (main): Make errors fatal. + * posix/PTESTS: One test in GA135 and GA136 check functionality + which seems not guaranteed. + +2003-11-25 Jakub Jelinek + + * posix/regexec.c (re_search_internal): If prune_impossible_nodes + returned REG_NOMATCH, set match_last to -1. Don't initialize + pmatch[0] needlessly. Fix comment. + (prune_impossible_nodes): Don't segfault on NULL state_log entry. + (set_regs): Fix comment. + * posix/regcomp.c (parse_bracket_exp): Only set has_plural_match + if adding both SIMPLE_BRACKET and COMPLEX_BRACKET. + (build_charclass_op): Set has_plural_match if adding both + SIMPLE_BRACKET and COMPLEX_BRACKET. + * posix/bug-regex11.c (tests): Fix register values for one commented + out test. Add new tests. + + * posix/regex_internal.c (re_string_allocate): Make sure init_len + is at least dfa->mb_cur_max. + (re_string_reconstruct): If is_utf8, don't fall back into + re_string_skip_chars just because idx points into a middle of + valid UTF-8 character. Instead, set the wcs bytes which correspond + to the partial character bytes to WEOF. + * posix/regexec.c (re_search_internal): Allocate input.bufs_len + 1 + instead of dfa->nodes_len + 1 state_log entries initially. + * posix/bug-regex20.c (main): Uncomment backwards case insensitive + tests. + +2003-11-24 Jakub Jelinek + + * posix/regex_internal.h (re_token_t): Add word_char bit. Add + comment. + (re_dfa_t): Add sb_char field. + (bitset_mask): New function. + * posix/regcomp.c (free_dfa_content): Free sb_char. + (init_dfa): Don't initialize word_char unnecessarily. + Initialize sb_char. + (duplicate_node): Don't duplicate !word_char CHARACTERs with + NEXT_WORD_CONSTRAINT constraint or word_char CHARACTERs with + NEXT_NOTWORD_CONSTRAINT. Return -1 in *new_idx instead. + (duplicate_node_closure): Handle clone_dest == -1 from + duplicate_node. + (peek_token): Initialize word_char bit. + (parse_expression, parse_dup_op): Add comments. + (parse_bracket_exp): Don't set bitmask bits for multi-byte char + starting bytes here at the beginning. Mask off the bits right + before creating SIMPLE_BRACKET. + (build_charclass_op): Likewise. + * posix/regexec.c (group_nodes_into_DFAstates) : Only + set accept bits for single-byte characters. + (group_nodes_into_DFAstates): Don't rely on characters 0 .. 127 + being single byte encoded and the rest multi-byte. + * posix/bug-regex19.c (tests): Add new tests. + (do_mb_tests): Initialize t to *test. + (main): Fail even on do_mb_tests errors. + +2003-11-23 Ulrich Drepper + + * posix/regexec.c: Correct several memory allocation problems. + Add more BE. + * posix/regex_internal.c: Likewise. + * posix/regcomp.c: Likewise. + + * posix/regexec.c: Add const in a number of places. + * posix/regex_internal.h: Make EPSILON_BIT a macro to help + debugging. Its value isn't important. + +2003-11-22 Ulrich Drepper + + * posix/PTESTS: Fix first test of GA143. + +2003-11-21 Ulrich Drepper + + * posix/regex_internal.c (re_dfa_add_node): Add BE, reallocation + isn't likely. + + * locale/programs/charmap.c (charmap_read): If encoding is found + not ASCII compatible, set enc_not_ascii_compatible. + * locale/programs/charmap.h: Declare enc_not_ascii_compatible. + * locale/programs/ld-ctype.c (ctype_startup): If + enc_not_ascii_compatible is set, initialize to_nonascii to 1. + +2003-11-22 Jakub Jelinek + + * elf/rtld.c (process_envvars): Only honor LD_USE_LOAD_BIAS + if !__libc_enable_secure. + + * sysdeps/generic/ldsodefs.h (_dl_use_load_bias): New _rtld_global + field. + * elf/rtld.c (_rtld_global): Initialize _dl_use_load_bias field. + (dl_main): Set GL(dl_use_load_bias) default. + (process_envvars): Set GL(dl_use_load_bias) from LD_USE_LOAD_BIAS. + Add EXTRA_LD_ENVVARS_13. + * elf/dl-support.c (_dl_use_load_bias): New variable. + * elf/dl-load.c (_dl_map_object_from_fd): Mask c->mapstart + with GL(dl_use_load_bias). + * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add + LD_USE_LOAD_BIAS. + * sysdeps/unix/sysv/linux/dl-librecon.h (EXTRA_LD_ENVVARS): Remove. + (EXTRA_LD_ENVVARS_LINUX): Renamed to... + (EXTRA_LD_ENVVARS_13): ... this. Remove case at the beginning. + * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS): + Don't undefine first. Remove EXTRA_LD_ENVVARS_LINUX. + +2003-11-21 Ulrich Drepper + + * posix/regcomp.c (duplicate_node): Remove unnecessary local variable. + + * posix/regcomp.c (re_dfa_add_tree_node): Make fourth parameter a + pointer. Adjust callers. + + * posix/regcomp.c (fetch_token): Change interface to match + peek_token. This avoids some copying and reduces code size. + +2003-11-21 Jakub Jelinek + + * posix/bug-regex19.c (tests): Add more tests. + + * posix/bug-regex11.c: And one more commented out test. + + * posix/tst-rxspencer.c (mb_tests): Don't run identical multi-byte + tests multiple times unnecessarily. + + * posix/bug-regex19.c (BRE, ERE): Define. + (tests): Add many new tests, remove UTF-8 ones. + (do_one_test, do_mb_tests): New functions. + (main): Rewritten using do_one_test and do_mb_tests. + +2003-11-20 Ulrich Drepper + + * posix/PTESTS: Fix first test in GA143. + +2003-11-20 Jakub Jelinek + + * posix/regex_internal.h (re_dfastate_t): Remove trtable_search. + Add word_trtable. + * posix/regex_internal.c (create_newstate_common, free_state): + Don't free trtable_search. + * posix/regexec.c (check_matching): Remove fl_search argument. + (transit_state_sb): Likewise. #ifdef out as unused. + (build_trtable): Remove fl_search argument. Set state->word_trtable + and state->trtable. Build separate word and non-word tables if + multi-byte and they differ for some character. + (transit_state): Remove fl_search argument. Don't update + state->trtable here. Handle state->word_trtable. + #ifdef out unused call to transit_state_sb. + (re_search_internal): Update check_matching caller. + (group_nodes_into_DFAstates): Don't clear non-ascii chars in accepts + bitmask for multi-byte locales. + * posix/bug-regex19.c (tests): Enable some commented out tests, add + 2 new tests. + * posix/tst-rxspencer.c (mb_tests): Don't test [[=b=]] for now as + multi-byte. Don't run identical multi-byte tests multiple times + unnecessarily. + (main): Check setlocale return value. + * posix/Makefile (tst-rxspencer-ARGS): Add --utf8 argument. + (tst-rxspencer-ENV): Remove MALLOC_TRACE, add LOCPATH. + ($(objpfx)tst-rxspencer-mem): Run another tst-rxspencer test + here, without --utf8 argument but with MALLOC_TRACE. + +2003-11-19 Jakub Jelinek + + * posix/regexec.c (extend_buffers): Don't allocate + twice as big state_log as needed. Don't modify pstr->valid_len + for mb_cur_max == 1 !icase !trans. + + * posix/regcomp.c (free_bin_tree): Removed. + (create_tree): Add dfa argument. Don't call re_malloc for + each tree, instead allocate from str_tree_storage. + (re_dfa_add_tree_node): New function. + (free_dfa_content): Handle freeing if dfa->nodes == NULL + or dfa->state_table == NULL. + (re_compile_internal): Call free_dfa_content if init_dfa + fails. Call free_workarea_compile, re_string_destruct + and free_dfa_content for most of the other failure paths. + (init_dfa): Initialize str_tree_storage_idx. + Don't clear any fields on allocation failure. + (free_workarea_compile): Free str_tree_storage chunks + instead of free_bin_tree (dfa->str_tree). + (parse): Call re_dfa_add_tree_node instead of re_dfa_add_node + followed by create_tree. Add dfa argument to remaining + create_tree calls. Remove new_idx variable. Remove calls + to free_bin_tree. + (parse_reg_exp, parse_branch, parse_expression, parse_sub_exp, + parse_dup_op, parse_bracket_exp, build_charclass_op): Likewise. + (duplicate_tree): Remove calls to free_bin_tree, add dfa + argument to create_tree. + * posix/regex_internal.h (BIN_TREE_STORAGE_SIZE): Define. + (bin_tree_storage_t): New type. + (re_dfa_t): Add str_tree_storage and str_tree_storage_idx + fields. + * posix/Makefile (tests): Add bug-regex21. + (generated): Add bug-regex21-mem, bug-regex21.mtrace, + tst-rxspencer-mem and tst-rxspencer.mtrace. + (tests): Depend on $(objpfx)bug-regex21-mem + and $(objpfx)tst-rxspencer-mem. + (bug-regex21-ENV, tst-rxspencer-ENV): Set. + ($(objpfx)bug-regex21-mem, $(objpfx)tst-rxspencer-mem): New. + * posix/tst-rxspencer.c (main): Add call to mtrace. + Free line at the end. + * posix/bug-regex21.c: New test. + +2003-11-19 Ulrich Drepper + + * posix/bug-regex20.c: Correct invalid UTF-8 sequences. + + * posix/regex_internal.c (build_wcs_upper_buffer): If mbrtowc + fails, just use the byte, do no fancy conversions. + + * posix/regex_internal.h (re_string_first_byte): Use ->valid_len + not ->len. + (re_string_is_single_byte_char): Likewise. + +2003-11-18 Ulrich Drepper + + * posix/regexec.c (get_subexp): After calling get_subexp_sub + reload buf and bkref_str. Little optimization by avoiding memcmp. + +2003-11-14 David Mosberger + + * sysdeps/unix/sysv/linux/ia64/sysdep.h + (GAS_ALIGN_BREAKS_UNWIND_INFO): Define this macro to indicate + that all existing GAS versions have a problem with .align inside + a function. + * sysdeps/ia64/memccpy.S: Work around GAS_ALIGN_BREAKS_UNWIND_INFO bug. + * sysdeps/ia64/memcpy.S: Likewise. + * sysdeps/ia64/memset.S: Likewise. + * sysdeps/ia64/memmove.S: Likewise. Also move the jump-table to + out of .text into .rodata, where it belongs. + + * sysdeps/unix/sysv/linux/ia64/pipe.S: There is no need to + save/restore input-arguments, because they're necessarily + preserved by the kernel to support syscall-restart. + +2003-11-18 Jakub Jelinek + + * posix/regex_internal.h (re_token_type_t): Remove unused ALT, + END_OF_RE_TOKEN_T and SUBEXP. Reorder values. Add OP_UTF8_PERIOD + and EPSILON_BIT. + (IS_EPSILON_NODE): Just test if EPSILON_BIT is set. + (ACCEPT_MB_NODE): Return 1 for OP_UTF8_PERIOD as well. + * posix/regex_internal.c (create_ci_newstate, create_cd_newstate): + Handle OP_UTF8_PERIOD. + (re_string_reconstruct): Set valid_len for single byte char searching + with no translation and case sensitivity. + * posix/regcomp.c (re_compile_fastmap_iter, calc_first): Handle + OP_UTF8_PERIOD. + (re_compile_internal): Don't call optimize_utf8 if preg->translate + != NULL. + (optimize_utf8): Remove BACK_SLASH case. + Transform OP_PERIOD into OP_UTF8_PERIOD if the searching can be + optimized. + (parse_bracket_exp): Don't create SIMPLE_BRACKET if it doesn't have + any bits set and COMPLEX_BRACKET is used. + * posix/regexec.c (transit_state_mb): Fix comment typo. + (group_nodes_into_DFAstates, check_node_accept): Handle + OP_UTF8_PERIOD. + (check_node_accept_bytes): Likewise. Reorder slightly so that + re_string_char_size_at and re_string_elem_size_at are called + only when needed. + * posix/bug-regex20.c (BRE, ERE): Define. + (tests): Use them to make lines shorter. Expect . to be + optimized. Add lots of new tests. + (main): Run (ATM just case sensitive) test with backwards searching + as well. + +2003-11-18 Jakub Jelinek + + * io/bug-ftw4.c: Include string.h. + * posix/fnmatch.c (mbsinit): Remove define. + +2003-11-17 Jakub Jelinek + + * posix/regcomp.c (optimize_utf8): Optimize multi-byte chars as + well. + * posix/bug-regex20.c (tests): Add new tests. Multi-byte char + followed by dup operator is expected to be optimized. + + * posix/regexec.c (check_node_accept_bytes): Move nrules and j + variables to the block where they are only used, initialize + nrules only immediately before using it. + +2003-11-15 Andreas Jaeger + + * sysdeps/x86_64/fpu/s_scalbnl.S: New file. + * sysdeps/x86_64/fpu/s_truncl.S: New file. + * sysdeps/x86_64/fpu/s_nearbyintl.S: New file. + * sysdeps/x86_64/fpu/s_floorl.S: New file. + * sysdeps/x86_64/fpu/s_ilogbl.S: New file. + * sysdeps/x86_64/fpu/e_remainderl.S: New file. + + * math/libm-test.inc (floor_test): Test also ±0.25. + (ceil_test): Test -0.25. + +2003-11-17 Ulrich Drepper + + * sysdeps/posix/getaddrinfo.c: Add support for destination address + selection according to RFC 3484. + +2003-11-15 Ulrich Drepper + + * posix/regex_internal.h: Add forward declaration of re_dfa_t. + Replace last two parameters of re_string_allocate and + re_string_construct with pointer to DFA. + (re_dfa_t): Add map_notascii field. + * posix/regcomp.c (re_compile_internal): Add call of + re_string_construct. + (init_dfa): Initialize map_notascii. + * posix/regex_internal.c: Adjust definitions of re_string_allocate + and re_string_construct. + Pass DFA to re_string_construct. Adjust definition. Initialize + map_notascii field. + (build_wcs_upper_buffer): If map_notascii is zero use simplified + method to map ASCII values to upper case. + * posix/regex.c: Include localeinfo.h. + * posix/regexec.c: Adjust call of re_string_allocate. + + * locale/langinfo.h: Add _NL_CTYPE_MAP_TO_NONASCII. + * locale/localeinfo.h (LIMAGIC): Change value. + * locale/categories.def. Add entry for _NL_CTYPE_MAP_TO_NONASCII. + * locale/C-ctype.h: Likewise. + * locale/programs/ld-ctype.c: Compute whether any mapping maps from + ASCII to non-ASCII value. Write out that value. + + * wcsmbs/mbsinit.c: Undef mbsinit and __mbsinit. + * include/wchar.h: Provide inline versions of mbsinit and __mbsinit. + +2003-11-14 Jakub Jelinek + + * posix/tst-rxspencer.c (check_match): @ without any following + characters must match only end of string. + (main): Fix filename in error message. + +2003-11-12 David Mosberger + + * sysdeps/ia64/dl-machine.h: Force inlining of + elf_machine_runtime_setup(). + +2003-11-13 Andreas Jaeger + + * math/Makefile (CFLAGS-test-float.c): Add -fno-builtin. + (CFLAGS-test-double.c): Likewise. + (CFLAGS-test-ldouble.c): Likewise. + (CPPFLAGS-test-ifloat.c): Likewise. + (CPPFLAGS-test-idouble.c): Likewise. + (CPPFLAGS-test-ildoubl.c): Likewise. + + * math/libm-test.inc (ceil_test): Test ceil (0.25). + +2003-11-04 Ulrich Drepper + + * sysdeps/unix/sysv/linux/ifaddrs.c: Make sure it's the kernel who + sends the netlink data. + * sysdeps/unix/sysv/linux/check_pf.c: Likewise. + +2003-11-13 Jakub Jelinek + + * posix/regcomp.c (optimize_utf8): Optimize even if SIMPLE_BRACKET + with no bits set for >= 0x80 chars is seen. + * posix/bug-regex20.c (tests): Add new tests. Expect [ABC] to be + optimized. + (main): Run all tests with RE_ICASE as well. + +2003-11-13 Ulrich Drepper + + * posix/Makefile: Add rules to build and run tst-rxspencer. + (distribute): Add rxspencer/tests and rxspencer/COPYRIGHT. + * posix/tst-rxspencer.c: New file. + * posix/rxspencer/tests: New file. + * posix/rxspencer/COPYRIGHT: New file. + Patch mostly by Jakub Jelinek. + + * posix/regcomp.c (parse_bracket_exp): Don't check for range if + this is no option given the first token. + + * posix/regcomp.c (parse_bracket_exp): Fix test for EOS after + hyphen in range expression. Return EBRACK in this case. + + * posix/regcomp.c (parse_bracket_element): Reject hyphens unless + we expect them or it's the last element in the bracket expression. + Indicated by new parameter. Adjust all callers. + + * posix/runtests.c (run_a_test): If regcomp failed, reset last_pattern. + Prettier error messages. + + * posix/regcomp.c (parse_dup_op): Fail with REG_BADBR is first + number in {,} expression is larger. + +2003-11-13 Andreas Jaeger + + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL): + Define appropriately for x86_64. + (__ASSUME_UTIMES): Likewise. + (__ASSUME_CLONE_THREAD_FLAGS): Likewise. + + * sysdeps/x86_64/fpu/s_ceill.S: New file. + +2003-11-13 Ulrich Drepper + + * posix/regcomp.c (parse_expression): In BRE consecutive + duplications are not allowed. + +2003-11-12 Ulrich Drepper + + * posix/regcomp.c (parse_bracket_exp): If end of expression is + seen, return EBRACK error, not BADPAT. + + * posix/regcomp.c (parse_expression): If token is OP_OPEN_DUP_NUM + and RE_CONTEXT_INVALID_DUP syntax flag is set, fail. + * posix/regex.h (RE_CONTEXT_INVALUD_OPS): New macro. + (RE_SYNTAX_POSIX_BASIC): Use RE_CONTEXT_INVALUD_OPS. + + * posix/regcomp.c (parse_sub_exp): In case of not-matching ( ) + return REG_EPAREN. + + * posix/PTESTS: Cleanup. Fix typoes. Correct bugs in 2003.2. + * posix/runptests.c (main): Handle comments. + * posix/PTESTS2C.sed: Handle comments. + +2003-11-12 Jakub Jelinek + + * posix/regcomp.c (optimize_utf8): New function. + (re_compile_fastmap_iter): Use dfa->mb_cur_max > 1 instead + of !icase. + (re_compile_internal): Call optimize_utf8 if not case insensitive + and in UTF-8 locale. + * posix/regex_internal.h: Ifdef out some prototypes if + RE_NO_INTERNAL_PROTOTYPES is defined to shut up warnings. + * posix/Makefile (tests): Add bug-regex20. + (bug-regex20-ENV): Add LOCPATH. + * posix/bug-regex20.c: New test. + +2003-11-12 Jakub Jelinek + + * io/ftw.c (NFTW_NEW_NAME, NFTW_OLD_NAME): Add prototypes. + +2003-11-12 Jakub Jelinek + + * posix/tst-regex.c (umemlen): New variable. + (test_expr): Add expectedicase argument. Test case insensitive + searches as well as backwards searches (case sensitive and + insensitive) too. + (run_test): Add icase argument. Use it to compute regcomp flags. + (run_test_backwards): New function. + (main): Cast read to size_t to avoid warning. Set umemlen. + Add expectedicase arguments to test_expr. + * posix/regex_internal.c (re_string_reconstruct): If is_utf8, + find previous character by walking back instead of converting + all chars from beginning. + +2003-11-12 Jakub Jelinek + + * posix/regex_internal.h (struct re_string_t): Add is_utf8 + and mb_cur_max fields. + (struct re_dfa_t): Likewise. Reorder fields to make structure + smaller on 64-bit arches. + (re_string_allocate, re_string_construct): Add mb_cur_max and + is_utf8 arguments. + (re_string_char_size_at, re_string_wchar_at): Use pstr->mb_cur_max + instead of MB_CUR_MAX. + * posix/regcomp.c (re_compile_fastmap_iter): Use dfa->mb_cur_max + instead of MB_CUR_MAX. + (re_compile_internal): Pass new arguments to re_string_construct. + (init_dfa): Initialize mb_cur_max and is_utf8 fields. + (peek_token, peek_token_bracket): Use input->mb_cur_max instead + of MB_CUR_MAX. + (parse_expression, parse_bracket_exp, parse_charclass_op): Use + dfa->mb_cur_max instead of MB_CUR_MAX. + * posix/regex_internal.c (re_string_construct_common): Add + mb_cur_max and is_utf8 arguments. Initialize fields with them. + (re_string_allocate, re_string_construct): Add mb_cur_max and + is_utf8 arguments, pass them to re_string_construct_common. + Use mb_cur_max instead of MB_CUR_MAX. + (re_string_realloc_buffers): Use pstr->mb_cur_max instead of + MB_CUR_MAX. + (re_string_reconstruct): Likewise. + (re_string_context_at): Use input->mb_cur_max instead of + MB_CUR_MAX. + (create_ci_newstate, create_cd_newstate): Use dfa->mb_cur_max + instead of MB_CUR_MAX. + * posix/regexec.c (re_search_internal): Likewise. + Pass new arguments to re_string_allocate. + (check_matching, transit_state_sb): Use dfa->mb_cur_max instead of + MB_CUR_MAX. + (extend_buffers): Use pstr->mb_cur_max instead of MB_CUR_MAX. + +2003-11-12 Jakub Jelinek + + * posix/Makefile (tests): Add bug-regex19. + (bug-regex19-ENV): Add LOCPATH. + * posix/bug-regex19.c: New test. + +2003-11-11 Jakub Jelinek + + * posix/regcomp.c (re_compile_fastmap_iter): Handle RE_ICASE + with MB_CUR_MAX > 1 locales in the fastmap. + +2003-11-11 Jakub Jelinek + + * posix/regex_internal.c (build_wcs_buffer): Fix comment typo. + (build_wcs_upper_buffer): Likewise. Use towupper for wchar_t instead + of toupper. + * posix/Makefile (tests): Add bug-regex17 and bug-regex18. + (bug-regex17-ENV, bug-regex18-ENV): Add LOCPATH. + * posix/bug-regex17.c: New file + * posix/bug-regex18.c: New file. + +2003-10-08 Thorsten Kukuk + + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (pread, pwrite): + Define __NR_pread/__NR_pwrite if not done in kernel headers + +2003-11-11 Roland McGrath + + * manual/xtract-typefun.awk: Swallow [(){}*] from function names. + + * manual/Makefile (info): Don't depend on dir-add.info. + (libc.dvi libc.pdf libc.info): Depend on dir-add.texi. + (dir-add.info): Target removed, replaced with ... + (dir-add.texi): New target. + (distribute): Add it. + (install): Remove variant with --section arguments. + Let the @dircategory directives do their work. + (mostlyclean): Don't remove dir-add.info here. + (realclean): Remove dir-add.texi here. + * manual/libc.texinfo: @include dir-add.texi + * configure.in: Remove check for old Debian install-info. + * configure: Regenerated. + * config.make.in (OLD_DEBIAN_INSTALL_INFO): Variable removed. + +2003-11-08 Andreas Schwab + + * scripts/data/c++-types-ia64-linux-gnu.data: New file. + +2003-11-10 Carlos O'Donell + + * io/ftwtest-sh: Fix nested sed commands. + +2003-11-10 Jakub Jelinek + + * posix/regex_internal.h (re_string_char_size_at): Don't look beyond + valid_len wide chars. + +2003-11-09 Roland McGrath + + * manual/examples/dir2.c (one): Add const to argument type. + Reported by J de Haan . + +2003-11-07 Ulrich Drepper + + * po/pl.po: Update from translation team. + +2003-11-07 Jakub Jelinek + + * io/ftw.c (NFTW_OLD_NAME, NFTW_NEW_NAME): Define. + (ftw_dir, ftw_startup): Add __attribute ((noinline)). + (NFTW_OLD_NAME, NFTW_NEW_NAME): New functions. + (NFTW_NAME): Only define if !_LIBC, add versioned_symbol + and compat_symbol. + * io/ftw64.c (NFTW_OLD_NAME, NFTW_NEW_NAME): Define. + * io/Versions (libc): Export nftw@@GLIBC_2.3.3 + and nftw64@@GLIBC_2.3.3. + + * io/ftw.h (FTW_ACTIONRETVAL): New flag. + (FTW_CONTINUE, FTW_STOP, FTW_SKIP_SUBTREE, FTW_SKIP_SIBLINGS): New. + * io/ftw.c (ftw_dir): Add old_dir argument. + Clear result if it was FTW_SKIP_SIBLINGS after processing all + dir entries. Change cwd back if old_dir != NULL. + (process_entry): Adjust caller. Don't change cwd back here. + Change FTW_SKIP_SUBTREE result to 0. + (ftw_startup): Adjust ftw_dir caller. + Clear result if it was FTW_SKIP_SUBTREE or FTW_SKIP_SIBLINGS. + * io/ftwtest.c (skip_subtree, skip_siblings): New variables. + (options, main): Add --skip-subtree and --skip-siblings options. + (cb): Use return FTW_CONTINUE instead of return 0. + Handle --skip-subtree and --skip-siblings. + * io/ftwtest-sh: Add tests for FTW_ACTIONRETVAL. + * manual/filesys.texi: Document FTW_ACTIONRETVAL. + +2003-11-04 Jakub Jelinek + + * io/ftw.c (ftw_dir): Close dir if callback with FTW_D type returns + non-zero. + * io/Makefile (tests): Add bug-ftw4. + * io/bug-ftw4.c: New test. + +2003-10-27 Daniel Jacobowitz + + * libio/libioP.h [_IO_USE_OLD_IO_FILE] + (struct _IO_FILE_complete_plus): New type. + * libio/oldiofopen.c (_IO_old_fopen): Use _IO_FILE_complete_plus. + * libio/oldiofdopen.c (_IO_old_fdopen): Likewise. + * libio/oldiopopen.c (struct _IO_proc_file, _IO_old_popen): Likewise. + Call _IO_old_init instead of _IO_init. + +2003-11-03 Ulrich Drepper + + * intl/locale.alias: nb_NO is now the correct name, not no_NO. + + * locale/iso-639.def: Add Blin. + Patch by Daniel Yacob . + +2003-10-31 Steven Munroe + + * sysdeps/powerpc/powerpc32/strncmp.S: New File. + * sysdeps/powerpc/powerpc64/strncmp.S: New File. + +2003-11-01 Randolph Chung + + * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1, + LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6): + Add missing parentheses. + +2003-11-01 Roland McGrath + + * libio/bug-ftell.c (do_test): Add a cast. + +2003-09-26 Daniel Jacobowitz + + * Makerules (shlib.lds): Make sure that ld doesn't try to link + anything while generating the linker script. + +2003-10-31 Roland McGrath + + * locale/lc-ctype.c (_nl_postload_ctype): Update _nl_global_locale's + special members. + +2003-10-29 Ulrich Drepper + + * po/be.po: Update from translation team. + +2003-10-27 Ulrich Drepper + + * elf/rtld.c (map_doit): Pass __RTLD_OPENEXEC in last parameter to + _dl_map_object. + + * elf/sprof.c (load_shobj): Use l_map_start not l_addr to locate + ELF header. + + * inet/rcmd.c (__validuser2_sa): Remove unnecessary code to skip + rest of line. We use getline which means this cannot happen. + +2003-10-26 Ulrich Drepper + + * sysdeps/unix/sysv/linux/internal_statvfs.c (__internal_statvfs): + Avoid infinite loops in case the mounts file is hosed. + * io/Makefile: Add rules to build and run tst-statvfs. + * io/tst-statvfs.c: New file. + + * include/dlfcn.h (__RTLD_OPENEXEC): Define. + * elf/dl-load.c (_dl_map_object_from_fd): Don't allow loading + executables unless __RTLD_OPENEXEC flag is present. + * elf/rtld.c (dl_main): Pass __RTLD_OPENEXEC flag to + _dl_map_object when loading the executable. + + * sysdeps/generic/glob.c (glob): Handle GLOB_BRACE and escaping + correctly. + * posix/globtest.sh: Add tests for GLOB_BRACE and escaping. + + * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Default + reverse lookup format for IPv6 addresses is using bitstring and + .ip6.arpa suffix. + * resolv/ns_name.c: Implement encoding and decoding bitstring in + hex format. + +2003-10-23 Jakub Jelinek + + * locale/programs/locale.c (show_info): Fix printing word values on + 64-bit big-endian architectures. + +2003-10-19 Bruno Haible + + * intl/hash-string.c (hash_string): Zero-extend each char from the + string; the old code did a sign-extend on some platforms. + +2003-10-22 Steven Munroe + + * sysdeps/powerpc/powerpc32/Makefile (+cflags, asm-CPPFLAGS): Don't + append options to these. + * sysdeps/powerpc/powerpc64/Makefile (+cflags, asm-CPPFLAGS): Likewise. + +2003-10-18 Carlos O'Donell + + * sysdeps/unix/sysv/linux/hppa/sysdep.h: Fix merge error. + +2003-10-15 Roland McGrath + + * elf/dl-iteratephdr.c [! SHARED] (dl_iterate_phdr): New function. + Fake an entry for the main executable and then call __dl_iterate_phdr. + * elf/Makefile (routines): Remove dl-iteratephdr-static. + (elide-routines.os): Likewise. + (CFLAGS-dl-iterate-phdr-static.c): Variable removed. + * sysdeps/generic/dl-iteratephdr-static.c: File removed. + * sysdeps/unix/sysv/linux/ia64/dl-iteratephdr-static.c: File removed. + +2003-10-15 Jakub Jelinek + + * elf/rtld.c (print_statistics): Print also number of relative + relocations. + +2003-10-12 Carlos O'Donell + + * sysdeps/hppa/sysdep.h: Undef JUMPTARGET before use. + * sysdeps/unix/sysv/linux/hppa/sysdep.h: Define PSEUDO_ERRVAL, + SYSCALL_ERROR_LABEL under all conditions, INTERNAL_SYSCALL_DECL, + INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO, INTERNAL_SYSCALL, + and undef JUMPTARGET before use. + [PIC]: Save pic register around syscall. + * sysdeps/unix/sysv/linux/hppa/sysdep.c (syscall): + Cleanup asm statment. + +2003-10-13 Kaz Kojima + + * sysdeps/unix/sysv/linux/sh/sysdep.h (DO_CALL): Add SYSCALL_INST_PAD + after trapa instruction. + +2003-10-09 Kaz Kojima + + * sysdeps/unix/sysv/linux/sh/syscalls.list: Add waitpid. + +2003-10-10 Carlos O'Donell + + * sysdeps/hppa/Makefile (CFLAGS-malloc.c): Variable removed. + +2003-10-09 Roland McGrath + + * elf/rtld.c (dl_main): Don't set l_name for sysinfo DSO, since there + is no file to name. + +2003-10-08 Jakub Jelinek + + * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Don't generate + two identical copies of strings. + +2003-10-06 Ulrich Drepper + + * posix/bug-regex11.c: Add some more tests which fail so far. + Disable them. Patch by Paolo Bonzini . + +2003-10-05 Paolo Bonzini + + * posix/bug-regex11.c: Add more backreference-related test cases. + (main): Show the failing regex in the error messages. + * posix/regexec.c (check_dst_limits_calc_pos): + Simplify some nested conditionals. Replace if's with a switch + statement. + (check_dst_limits_calc_pos ): Rename parameter NODE to + FROM_NODE, it shadows a local variable; don't recurse if FROM_NODE + does not change in the recursive invocation, fixing an infinite loop + in the ()\1*\1* regex. + (sift_states_backward): Fix function comment. + * posix/regcomp.c (calc_epsdest): Add an assertion. + +2003-10-06 Ulrich Drepper + + * manual/examples/testopt.c: Fix warnings. Better error message + for missing -c argument. + Patch mostly by Gitonga Marete . + + * timezone/asia: Update from tzdata2003d. + * timezone/australasia: Likewise. + * timezone/backward: Likewise. + * timezone/europe: Likewise. + * timezone/iso3166.tab: Likewise. + * timezone/northamerica: Likewise. + * timezone/southamerica: Likewise. + * timezone/zone.tab: Likewise. + +2003-10-05 Jakub Jelinek + + * sysdeps/ia64/backtrace.c: New file. + * sysdeps/x86_64/backtrace.c: New file. + * sysdeps/generic/unwind.h (_Unwind_Trace_Fn): New type. + (_Unwind_Backtrace): New prototype. + +2003-10-03 Ulrich Drepper + + * sysdeps/i386/elf/bsd-setjmp.S: Use linkonce section for PIC stub. + * sysdeps/i386/elf/setjmp.S: Likewise. + +2003-10-02 Roland McGrath + + * argp/argp-help.c (__argp_short_program_name): Move inside [! _LIBC]. + * argp/argp-namefrob.h + [_LIBC || HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME] + (__argp_short_program_name): Don't declare fn, define it as a macro. + +2003-08-22 Simon Josefsson + + * argp/argp-fmtstream.h [!__attribute__]: Define to nothing. + + * argp/argp-help.c: Don't include malloc.h, some platforms + complain and it doesn't appear to be used. + [!_LIBC && HAVE_STRERROR_R && !HAVE_DECL_STRERROR_R]: Declare + strerror_r. + [!_LIBC && !HAVE_STRERROR_R && !HAVE_DECL_STRERROR]: Declare + strerror. + (hol_entry_long_iterate): Change __attribute to __attribute__. + (_help, __argp_error, __argp_failure) [!_LIBC && (HAVE_FLOCKFILE + && HAVE_FUNLOCKFILE)]: Protect call to flockfile and funlockfile. + (__argp_basename) [!_LIBC]: New. Taken from LSH, by Niels Möller, + modified after comments from Ulrich Drepper. + (__argp_short_program_name): Ditto. + (__argp_state_help, __argp_error, __argp_failure): Use it. + (__argp_failure): Use strerror when necessary. + + * argp/argp-namefrob.h (__flockfile, __funlockfile, __mempcpy) + (__strchrnul, __strerror_r, __strndup) [!_LIBC]: Remove __-prefix. + (clearerr_unlocked, feof_unlocked, ferror_unlocked) + (fflush_unlocked, fgets_unlocked, fputc_unlocked, fputs_unlocked) + (fread_unlocked, fwrite_unlocked, getc_unlocked, getchar_unlocked) + (putc_unlocked, putchar_unlocked) [!_LIBC && !HAVE_DECL_*]: Map to + non-unlocked functions. + [!_LIBC]: Add prototypes for __argp_basename and + __argp_short_program_name. + + * argp/argp-parse.c (argp_default_parser): Only use + program_invocation{_short,}_name if declared. + (parser_init): Use __argp_short_program_name. + + * argp/argp-xinl.c [_LIBC || HAVE_FEATURES_H]: Add CPP check for + '#include features.h'. + + * argp/argp.h [!__attribute__]: Define to nothing. + +2003-09-26 Paolo Bonzini + + * posix/regcomp.c (parse_sub_exp): Pass RE_CARET_ANCHORS_HERE + for the first token in a subexpression as well. + +2003-10-02 Jakub Jelinek + + * posix/regcomp.c (peek_token): Add 2003-09-20 changes for anchor + handling again. + (parse_reg_exp): Likewise. + * posix/regex.h (RE_CARET_ANCHORS_HERE): Define. + + * posix/bug-regex11.c (tests): Add new tests. + * posix/bug-regex12.c (tests): Add new test. + +2003-10-01 Thorsten Kukuk + + * elf/dl-reloc.c (_dl_allocate_static_tls): Move definition of + variables only used if TLS_DTV_AT_TP is defined into the #if branch. + +2003-10-02 Jeroen Dekkers + + * sysdeps/mach/hurd/malloc-machine.h: Copy the tsd code from + the old thread-m.h header too. + +2003-10-02 Ulrich Drepper + + * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (MINSIGSTKSZ): Go + back to 131027 since this is what the kernel enforces. + + * inet/getnameinfo.c: Move domain out of nrl_domainname scope and + define it with libc_freeres_ptr. + +2003-10-01 Roland McGrath + + * elf/rtld.c (dl_main): Add cast in last change. + +2003-09-10 Chris Demetriou + + * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Remove + "#if 0" surrounding most of contents. + (SYSCALL_ERROR_LABEL): Define. + (__SYSCALL_CLOBBERS): Add $10. + (internal_syscall7): Remove. + * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise. + +2003-09-30 Ulrich Drepper + + * elf/rtld.c (dl_main): Also set l_map_start. + +2003-09-30 Daniel Jacobowitz + + * elf/rtld.c (dl_main): Set l_libname and l_name for the sysinfo DSO + to work around kernel problem. + +2003-09-27 Wolfram Gloger + + * malloc/malloc.c: Include earlier instead of + "thread-m.h", so that default parameters can be overridden in a + system-specific malloc-machine.h. Remove extra ; from extern "C" + closing brace. + * sysdeps/generic/malloc-machine.h: New file. + * sysdeps/mach/hurd/malloc-machine.h: New file. + * malloc/thread-m.h: Removed. + * malloc/Makefile: Remove CFLAGS-malloc.c parameter addition, it + is in sysdeps/generic/malloc-machine.h now. + +2003-09-29 Ulrich Drepper + + * elf/dl-reloc.c (_dl_allocate_static_tls): Move definition of + variables only used if TLS_TCB_AT_TP is defined into the #if + branch. + + * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __extension__ as + well to cover using long long in C90. + +2003-09-28 Alfred M. Szmidt + + * sysdeps/mach/hurd/bits/libc-lock.h (__libc_cleanup_pop): + Redefine and use __libc_cleanup_region_end instead. + +2003-09-29 Thorsten Kukuk + + * sysdeps/unix/sysv/linux/sys/sysmacros.h: Use __inline and + fix prototypes for picky C++ compilers. + +2003-09-27 Ulrich Drepper + + * sysdeps/unix/sysv/linux/ustat.c (ustat): Set errno to EINVAL if + the device ID is invalid and return -1. + * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise. + +2003-09-26 Andreas Schwab + + * sysdeps/unix/sysv/linux/ia64/getcontext.S: Pass fourth argument to + rt_sigprocmask system call. + +2003-09-25 Roland McGrath + + * sysdeps/unix/sysv/linux/dl-execstack.c (_dl_make_stack_executable): + Don't check for zero __libc_stack_end, it should be initialized. + [_STACK_GROWS_DOWN] [PROT_GROWSDOWN]: Try using PROT_GROWSDOWN flag + and fall back if it fails with EINVAL. + [_STACK_GROWS_UP] [PROT_GROWSUP]: Likewise for PROT_GROWSUP. + +2003-09-25 Jakub Jelinek + + * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include + sysdeps/i386/dl-procinfo.c instead of + sysdeps/unix/sysv/linux/i386/dl-procinfo.c. + * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid using + #include_next. + +2003-09-25 Ulrich Drepper + + * posix/regcomp.c (peek_token): Remove recent changes for anchor + handling again. + (parse_reg_exp): Likewise. + * posix/regex.h: Remove RE_CARET_ANCHORS_HERE. + + * csu/Makefile ($(objpfx)version-info.h): Fix sed script to handle + banners. + + * nis/nis_table.c (nis_list): Always strdup string used with + ibreq->ibr_name. Add several NULL pointer checks. + + * nis/nss_nisplus/nisplus-alias.c: Add check for NULL return value + of nis_list. + * nis/nss_nisplus/nisplus-ethers.c: Likewise. + * nis/nss_nisplus/nisplus-grp.c: Likewise. + * nis/nss_nisplus/nisplus-hosts.c: Likewise. + * nis/nss_nisplus/nisplus-netgrp.c: Likewise. + * nis/nss_nisplus/nisplus-network.c: Likewise. + * nis/nss_nisplus/nisplus-proto.c: Likewise. + * nis/nss_nisplus/nisplus-publickey.c: Likewise. + * nis/nss_nisplus/nisplus-pwd.c: Likewise. + * nis/nss_nisplus/nisplus-rpc.c: Likewise. + * nis/nss_nisplus/nisplus-service.c: Likewise. + * nis/nss_nisplus/nisplus-spwd.c: Likewise. + + * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Define PROT_GROWSDOWN + and PROT_GROWSUP. + * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/cris/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise. + +2003-09-25 Jakub Jelinek + + * misc/syslog.c: Include locale.h. + (vsyslog): Add date always in C locale %h %e %T format. + +2003-09-24 Paul Eggert + + * argp/argp-fmtstream.c (__argp_fmtstream_ensure): Check for + size_t overflow when reallocating storage. + * argp/argp-help.c (make_hol, hol_append): Likewise. + (SIZE_MAX): New macro. + +2003-08-07 Alfred M. Szmidt + + * sysdeps/mach/hurd/bits/libc-lock.h + (__libc_cleanup_push, __libc_cleanup_pop): New macros. + +2003-08-01 Alfred M. Szmidt + + * sysdeps/i386/dl-procinfo.h: New file, contents taken from ... + * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: ... here. + #include_next dl-procinfo.h to get them. + (_DL_HWCAP_COUNT): Moved to sysdeps/i386/dl-procinfo.h. + (_DL_PLATFORMS_COUNT): Likewise. + (_DL_FIRST_PLATFORM): Likewise. + (_DL_HWCAP_PLATFORM): Likewise. + (HWCAP_I386_FPU, HWCAP_I386_VME, HWCAP_I386_DE, HWCAP_I386_PSE, + HWCAP_I386_TSC, HWCAP_I386_MSR, HWCAP_I386_PAE, HWCAP_I386_MCE, + HWCAP_I386_CX8, HWCAP_I386_APIC, HWCAP_I386_SEP, HWCAP_I386_MTRR, + HWCAP_I386_PGE, HWCAP_I386_MCA, HWCAP_I386_CMOV, + HWCAP_I386_FCMOV, HWCAP_I386_MMX, HWCAP_I386_OSFXSR, + HWCAP_I386_XMM, HWCAP_I386_XMM2, HWCAP_I386_AMD3D, + HWCAP_IMPORTANT): Likewise. + (_DL_PROCINFO_H_): Likewise. + (_dl_hwcap_string, _dl_platform_string, _dl_string_hwcap): Likewise. + (_dl_string_platform): Likewise. + * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Moved to ... + * sysdeps/i386/dl-procinfo.c: ... here, new file. + +2003-09-24 Ulrich Drepper + + * sysdeps/unix/sysv/linux/dl-execstack.c + (_dl_make_stack_executable): Remember that we changed the permission. + + * sysdeps/ia64/dl-machine.h (RTLD_START): Remove setting of + __libc_stack_end. Patch by David Mosberger. + +2003-09-24 Jakub Jelinek + + * elf/Versions (ld): Export __libc_stack_end@GLIBC_2.1 instead of + __libc_stack_end@GLIBC_PRIVATE. + + * sysdeps/generic/dl-sysdep.c (DL_STACK_END): Define if not defined. + (_dl_sysdep_start): Set __libc_stack_end here. + * sysdeps/alpha/dl-machine.h (RTLD_START): Remove setting of + __libc_stack_end. + * sysdeps/arm/dl-machine.h (RTLD_START): Likewise. + * sysdeps/cris/dl-machine.h (RTLD_START): Likewise. + * sysdeps/i386/dl-machine.h (RTLD_START): Likewise. + * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise. + * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise. + * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise. + * sysdeps/sh/dl-machine.h (RTLD_START): Likewise. + * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise. + * sysdeps/ia64/dl-machine.h (DL_STACK_END): Define. + * sysdeps/sparc/sparc32/dl-machine.h (DL_STACK_END): Define. + (RTLD_START): Remove setting of __libc_stack_end. + * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Define. + (RTLD_START): Remove setting of __libc_stack_end. + +2003-09-24 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add gnu_dev_ prefix to + function definitions. Adjust macro expansions accordingly. + * sysdeps/unix/sysv/linux/Versions: Add gnu_dev_ prefix to major, + minor, makedev name. + * sysdeps/unix/sysv/linux/makedev.c: Likewise. + +2003-09-24 Jakub Jelinek + + * sysdeps/unix/sysv/linux/sys/sysmacros.h (major, minor, makedev): + Add __THROW. + +2003-09-24 Jakub Jelinek + + * nscd/Makefile (others): Add nscd before including ../Rules. + +2003-09-24 Ulrich Drepper + + * nscd/Makefile: Add rules to build nscd as a PIE. + * configure.in: Check for -fpie and -pie compiler options. + * config.make.in (have-fpie): Define. + +2003-09-23 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sys/sysmacros.h: Adjust for larger + kernel dev_t size. + * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: Removed. + * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: Removed. + * sysdeps/unix/sysv/linux/makedev.c: New file. + * sysdeps/unix/sysv/linux/Dist: Add makedev.c. + * sysdeps/unix/sysv/linux/Makefile [subdir=misc] + (sysdep_routines): Add makedev. + * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.3.3): Add + major, minor, makedev. + * sysdeps/unix/sysv/linux/ustat.c (ustat): Adjust for 32-bit + kernel dev_t. + * sysdeps/unix/sysv/linux/alpha/ustat.c: Removed. + * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise. + * sysdeps/unix/sysv/linux/alpha/xmknod.c: Removed. + Code by Alexander Viro . + +2003-09-23 Ulrich Drepper + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions [libc] + (GLIBC_2.3.3): Add setcontext, getcontext, swapcontext, and + makecontext. + * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Correct change + for include Altivec support for PPC32. It was not compatible. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h: Adjust + offsets for ucontext_t change. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Adjust + for ucontext_t change. Add compatibility code. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise. + Patch by Paul Mackerras . + +2003-02-25 Randolph Chung + + * sysdeps/hppa/Makefile: Include compat code in build. + * sysdeps/hppa/libgcc-compat.c: New file. + * sysdeps/hppa/Dist: Add libgcc-compat.c. + * sysdeps/hppa/Versions [GLIBC_2.2]: Add __clz_tab. + +2003-09-23 Roland McGrath + + * elf/rtld.c (dl_main): In rtld_is_main case, reinitialize + GL(dl_stack_flags) according to rtld's own PT_GNU_STACK. + Move GL(dl_make_stack_executable_hook) initialization up. + * elf/tst-execstack-prog.c: New file. + * elf/Makefile (tests-execstack-yes): Add it. + (LDFLAGS-tst-execstack-prog): New variable. + +2003-09-23 Jakub Jelinek + + * sysdeps/x86_64/dl-machine.h (RTLD_START): Set __libc_stack_end + before calling _dl_start, using %rip relative access. + Use %rip relative access to _dl_skip_args, _rtld_local._dl_loaded + and _dl_fini. + +2003-09-23 Roland McGrath + + * sysdeps/i386/dl-machine.h (RTLD_START): Set __libc_stack_end before + calling _dl_start, using GOTOFF access. + + * configure.in (libc_cv_z_execstack): New check. + * configure: Regenerated. + * config.make.in (have-z-execstack): New variable set by it. + * elf/tst-execstack.c: New file. + * elf/tst-execstack-mod.c: New file. + * elf/tst-execstack-needed.c: New file. + * elf/Makefile (tests-execstack-yes, modules-execstack-yes): New + variables. + (tests, modules-names): Conditionally include them. + (distribute): Add tst-execstack-mod.c here. + ($(objpfx)tst-execstack, $(objpfx)tst-execstack.out): New targets. + (LDFLAGS-tst-execstack, LDFLAGS-tst-execstack-mod): New variables. + ($(objpfx)tst-execstack-needed): New target. + (LDFLAGS-tst-execstack-needed): New variable. + + * sysdeps/generic/ldsodefs.h (struct rtld_global): Add _dl_stack_flags + and _dl_make_stack_executable_hook. Declare _dl_make_stack_executable. + * elf/rtld.c (_rtld_global): Add initializer for _dl_stack_flags. + (dl_main): Reset _dl_stack_flags according to PT_GNU_STACK phdr. + Initialize _dl_make_stack_executable_hook. + * elf/dl-support.c: Define those new variables. + (_dl_non_dynamic_init): Scan phdrs for PT_GNU_STACK. + (_dl_phdr): Fix type. + * elf/dl-load.c (_dl_map_object_from_fd): Grok PT_GNU_STACK phdr and + enable execute permission for the stack if necessary. + * sysdeps/generic/dl-execstack.c: New file. + * elf/Makefile (dl-routines): Add it. + * elf/Versions (ld: GLIBC_PRIVATE): Add _dl_make_stack_executable. + * sysdeps/unix/sysv/linux/dl-execstack.c: New file. + +2003-09-23 Ulrich Drepper + + * sysdeps/posix/sprofil.c (pc_to_index): Remove inline marker. + +2003-09-20 Alfred M. Szmidt + + * sysdeps/generic/utmp_file.c (setutent_file, LOCK_FILE, + UNLOCK_FILE, setutent_file): Use fcntl_not_cancel instead of + __fcntl_nocancel. + +2003-09-22 Ulrich Drepper + + * malloc/malloc.c: Include . + +2003-09-20 Paolo Bonzini + + * posix/regcomp.c (build_word_op): Rename like... + (build_charclass_op): ...this. Accept two extra parameters, + CLASS_NAME and EXTRA. Add EXTRA to the result, not only _. + (peek_token): Accept \s and \S as OP_SPACE and OP_NOTSPACE. + (parse_expression): Replace build_word_op with + build_charclass_op, add new arguments, accept OP_SPACE + and OP_NOTSPACE. + * posix/regex_internal.h (re_token_type_t): Add OP_SPACE + and OP_NOTSPACE. + + * posix/regcomp.c (peek_token): Don't look back for ( or | + to check whether to treat a caret as special. It fails + for the (extended) regex \(^. + (parse, parse_reg_exp): Pass RE_CARET_ANCHORS_HERE to fetch_token. + * posix/regex.h: Define RE_CARET_ANCHORS_HERE. + + * posix/regexec.c: Check out of bounds value before shifting. + + * posix/regex_internal.h: Define __attribute for non-gcc. + +2003-09-22 Jakub Jelinek + + * include/atomic.h (atomic_compare_and_exchange_val_rel, + atomic_compare_and_exchange_bool_rel): Swap oldval/newval arguments + to avoid confusion. + + * sysdeps/unix/opendir.c: Include string.h. + +2003-09-22 Ulrich Drepper + + * timezone/zdump.c: Update from tzcode2003c. + * timezone/zic.c: Likewise. + * timezone/leapseconds: Update from tzdata2003c. + +2003-09-19 Ulrich Drepper + + * elf/Makefile ($(objpfx)librtld.os): Create link map also for + final build to ease quality control. + + * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): If compiled for + ld.so, don't include NULL buffer pointer handling. + +2003-09-19 Jakub Jelinek + + * dlfcn/dlopen.c (dlopen): Add static_link_warning. + +2003-09-18 Jakub Jelinek + + * libio/memstream.c (open_memstream): Use _IO_init instead of + _IO_old_init. + +2003-09-17 Ulrich Drepper + + * sysdeps/generic/wordexp.c (eval_expr_val): Use strtol since we + have to recognize octal and hexadecimal numbers as well. Simplify + function, signs are handled in strtol. + * posix/wordexp-test.c: Add tests for octal and hexadecimal + numbers in arithmetic expressions. + +2003-09-17 Jakub Jelinek + + * elf/Makefile (distribute): Add tst-alignmod.c. + (tests): Add tst-align. + (modules-names): Add tst-alignmod. + (CFLAGS-tst-align.c, CFLAGS-tst-alignmod.c): Add + $(stack-align-test-flags). + ($(objpfx)tst-align): Depend on libdl. + ($(objpfx)tst-align.out): Depend on tst-alignmod.so. + * elf/tst-align.c: New file. + * elf/tst-alignmod.c: New file. + * misc/Makefile (CFLAGS-tst-tsearch.c): Add $(stack-align-test-flags). + * misc/tst-tsearch.c: Include tst-stack-align.h. + (stack_align_check): New array. + (cmp_fn, walk_action): Use TEST_STACK_ALIGN (). + (main): Report error if stack was not enough aligned + in cmp_fn or walk_action. + * stdlib/Makefile (CFLAGS-tst-qsort.c): Add $(stack-align-test-flags). + * stdlib/tst-qsort.c: Include tst-stack-align.h. + (align_check): New var. + (compare): Use TEST_STACK_ALIGN () macro. + (main): Report error if stack was not enough aligned in compare. + * sysdeps/i386/i686/Makefile (stack-align-test-flags): Remove + unneeded -mpreferred-stack-boundary=4. + * sysdeps/x86_64/tst-stack-align.h: New file. + + * libio/memstream.c (_IO_wmem_jumps): Remove unused structure. + (_IO_wmem_sync, _IO_wmem_finish): Remove unused functions. + +2003-09-17 Philip Blundell + + * sysdeps/arm/dl-machine.h (CALL_ROUTINE): Deleted. + (BX): Define. + (ELF_MACHINE_RUNTIME_TRAMPOLINE): Optimise a little. + + * sysdeps/arm/sysdep.h (DO_RET): New. + + * sysdeps/unix/sysv/linux/arm/vfork.S: Add #error if __NR_vfork + required but not defined. Improve test of error code. + +2003-09-17 Jakub Jelinek + + * sysdeps/i386/Makefile (stack-align-test-flags): Add + -malign-double -mpreferred-stack-boundary=4. + +2003-09-17 Ulrich Drepper + + * sysdeps/posix/utimes.c (__utimes): Truncate instead of round. + * sysdeps/unix/sysv/linux/utimes.c (__utimes): Likewise. + +2003-09-15 Jakub Jelinek + + * sysdeps/i386/Makefile (sysdep-CFLAGS): If not in math or csu + subdir, add -mpreferred-stack-boundary=4, with few exceptions. + +2003-09-17 Jakub Jelinek + + * Makeconfig (stack-align-test-flags): Set. + * stdlib/Makefile (CFLAGS-tst-bsearch.c): Add + $(stack-align-test-flags). + * stdlib/tst-bsearch.c: Include tst-stack-align.h. + (align_check): New var. + (comp): Use TEST_STACK_ALIGN macro. + (do_test): Fail if align_check != 1. + * sysdeps/generic/tst-stack-align.h: New file. + * sysdeps/i386/i686/Makefile (stack-align-test-flags): Add -msse. + * sysdeps/i386/i686/tst-stack-align.h: New file. + +2003-09-17 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/clone.S: Make sure child gets a + stack which is aligned (mod 16). + +2003-09-17 Uwe Reimann + Hans-Peter Nilsson + + * sysdeps/cris/dl-machine.h (elf_machine_type_class): Classify + R_CRIS_GLOB_DAT as ELF_RTYPE_CLASS_PLT. Clarify comment. + +2003-09-17 Jakub Jelinek + + * dirent/scandir.c: Include bits/libc-lock.h. + (struct scandir_cancel_struct): New type. + (cancel_handler): New function. + (SCANDIR): Add __libc_cleanup_{push,pop}, save state into + scandir_cancel_struct. + +2003-09-16 Ulrich Drepper + + * sysdeps/unix/sysv/linux/Dist: Remove internal_statvfs.c. + * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): + Add internal_statvfs. + * sysdeps/unix/sysv/linux/fstatvfs.c: Call __internal_statvfs + instead of including "internal_statvfs.c". + * sysdeps/unix/sysv/linux/statvfs.c: Likewise. + * sysdeps/unix/sysv/linux/internal_statvfs.c: Make it a real function. + Add code to avoid the stat calls on all the reported mount points + when we can determine mismatch in advance. + * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add AUTOFS_SUPER_MAGIC and + USBDEVFS_SUPER_MAGIC. + +2003-09-16 Jakub Jelinek + + * posix/Versions (sched_getaffinity, sched_setaffinity): Change + from GLIBC_2.3.2 to GLIBC_2.3.3 symbol version. + +2003-09-16 Bruno Haible + + * intl/tst-gettext2.sh: Set GCONV_PATH and LOCPATH only after + invoking msgfmt, not before. + +2003-09-15 Jakub Jelinek + + * argp/argp.h (argp_parse, __argp_parse): Remove __THROW. + * argp/Makefile (CFLAGS-argp-help.c, CFLAGS-argp-parse.c): Add + $(uses-callbacks). + * dirent/Makefile (CFLAGS-scandir.c, CFLAGS-scandir64.c): Likewise. + * elf/Makefile (CFLAGS-dl-iterate-phdr.c, + CFLAGS-dl-iterate-phdr-static.c): Add $(uses-callbacks). + * elf/dl-iteratephdr.c (cancel_handler): New function. + (__dl_iterate_phdr): Add __libc_cleanup_{push,pop}. + * elf/link.h (dl_iterate_phdr): Remove __THROW. + * io/Makefile (CFLAGS-fts.c): Merge into one assignment. + Add $(uses-callbacks). + (CFLAGS-ftw.c, CFLAGS-ftw64.c): Add $(uses-callbacks). + * misc/Makefile (CFLAGS-tsearch.c, CFLAGS-lsearch.c): Change + $(exceptions) to $(uses-callbacks). + * Makeconfig (uses-callbacks): Set to $(exceptions). + * posix/Makefile (CFLAGS-glob.c, CFLAGS-glob64.c): Add + $(uses-callbacks). + * stdlib/Makefile (CFLAGS-bsearch.c, CFLAGS-msort.c, CFLAGS-qsort.c): + Likewise. + +2003-09-15 Andreas Schwab + + * sysdeps/m68k/setjmp.c: Add hidden_def. + +2003-09-14 Ulrich Drepper + + * libio/memstream.c (open_memstream): Don't allow wide char operations. + + * dirent/dirent.h: Remove __THROW from scandir. + +2003-09-14 Philip Blundell + + * sysdeps/unix/sysv/linux/arm/mmap.S: Use sys_mmap2 if it's known + to be available. + + * sysdeps/unix/sysv/linux/arm/mmap64.S: Optimise code a little. + + * sysdeps/arm/memset.S: Rewrite. + +2003-09-12 Jakub Jelinek + + * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: New. + (__SSIZE_T_TYPE): Define to __SWORD_TYPE for gcc 2.95.x and + __SLONGWORD_TYPE otherwise. + +2003-09-14 Ulrich Drepper + + * io/Makefile (CFLAGS-ftw.c): Add -fexceptions. + (CFLAGS-ftw64.c): Likewise. + +2003-09-13 Ulrich Drepper + + * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Add -fexceptions. + (CFLAGS-nscd_getgr_r.c): Likewise. + (CFLAGS-nscd_gethst_r.c): Likewise. + +2003-09-12 Ulrich Drepper + + * sysdeps/unix/sysv/linux/if_index.c: Use only non-cancelable + interfaces. + + * grp/Makefile (CFLAGS-getgrgid_r.c, CFLAGS-getgrnam_r.c, + CFLAGS-fgetgrent.c, CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c, + CFLAGS-initgroups.c, CFLAGS-getgrgid.c): Add -fexceptions. + * inet/Makefile (CFLAGS-either_ntoh.c, CFLAGS-either_hton.c, + CFLAGS-getnetgrent.c, CFLAGS-getnetgrent_r.c): Likewise. + * io/Makefile (CFLAGS-posix_fallocate.c, CFLAGS-posix_fallocate64.c): + Likewise. + * misc/Makefile (CFLAGS-err.c): Likewise. + * posix/Makefile (CFLAGS-getaddrinfo.c, CFLAGS-spawn.c, + CFLAGS-spawnp.c, CFLAGS-spawni.c, CFLAGS-pause.c, CFLAGS-glob.c, + CFLAGS-glob64.c): Likewise. + * pwd/Makefile (CFLAGS-getpw.c): Likewise. + * shadow/Makefile (CFLAGS-fgetspent.c, CFLAGS-fgetspent_r.c, + CFLAGS-putspent.c, CFLAGS-getspnam.c, CFLAGS-getspnam_r.c): Likewise. + * stdio-common/Makefile (CFLAGS-cuserid.c): Likewise. + * sunrpc/Makefile (CFLAGS-openchild.c): Likewise. + + * stdlib/Makefile (CFLAGS-mkstemp.c): Remove definition. + + * libio/stdio.h: Remove __THROW from cuserid prototype. + + * locale/loadarchive.c: Use only non-cancelable interfaces. + * resolv/herror.c (herror): Likewise. + + * malloc/hooks.c: Before using IO stream mark stream so it uses + only non-cancelable interfaces. + * malloc/malloc.c: Likewise. + * posix/getopt.c: Likewise. + + +2003-09-11 Jakub Jelinek + + * Makerules (LDFLAGS-c.so): Remove -u __register_frame. + +2003-09-12 Ulrich Drepper + + * stdio-common/stdio_ext.h: Mark most functions with __THROW. + + * misc/err.h: Remove __THROW from all prototypes. + + * posix/getopt.h (__THROW): Define if not already defined. Add + __THROW to the getopt functions. + +2003-09-11 Ulrich Drepper + + * io/Makefile (CFLAGS-lockf.c): Add -fexceptions. + (CFLAGS-fts.c): Likewise. + * io/fcntl.h: Remove __THROW from lockf prototypes. + * io/fts.h: Remove most __THROW. + +2003-09-11 H.J. Lu + + * elf/tls-macros.h (TLS_IE): Add a stop bit for ia64. + (TLS_LD): Likewise. + (TLS_GD): Likewise. + +2003-09-11 Jakub Jelinek + + * libio/fileops.c (_IO_new_file_overflow): Add INTUSE to + _IO_free_backup_area call. + +2003-09-10 Chris Demetriou + + * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Fix + syscall invocation. + * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise. + * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise. + Also, only assert off_t size is 4 for N32 and O32, and clean up + white space. + * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise. + +2003-09-10 Roland McGrath + + * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): + Don't use c_ispeed under [! _HAVE_STRUCT_TERMIOS_C_ISPEED]. + Don't use c_ospeed under [! _HAVE_STRUCT_TERMIOS_C_OSPEED]. + * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise. + Reported by Daniel Jacobowitz . + +2003-09-10 Jakub Jelinek + + * string/Makefile (strop-tests): Add memccpy. + * string/test-memccpy.c: New test. + +2003-09-09 Jakub Jelinek + + * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT): Add + siginfo_t * argument before, change into struct ucontext *. + (SIGCONTEXT_EXTRA_ARGS): Define to _si,. + (GET_PC, GET_FRAME, GET_STACK): Adjust for ctx being a pointer + instead of structure. + * sysdeps/unix/sysv/linux/x86_64/register-dump.h (REGISTER_DUMP): + Likewise. + +2003-09-09 Ulrich Drepper + + * string/stratcliff.c (main): Check memccpy. + +2003-04-11 Jes Sorensen + + * sysdeps/ia64/memccpy.S: When recovering for src_aligned and the + character is found during recovery, use correct register when + determining the position of the found character. + +2003-04-01 Jes Sorensen + + * sysdeps/ia64/memccpy.S: Use speculatively loads for readahead to + avoid segfaults when reading from unmapped pages. For aligned + reload and continue, for misaligned, roll back and use byte copy. + Save ar.ec on entry and restore on exit. + +2003-09-09 Chris Demetriou + + * sysdeps/unix/mips/sysdep.h (PSEUDO_END): Undef before defining. + +2003-09-08 Chris Demetriou + + * sysdeps/mips/mips64/n32/Implies: Move ieee754/ldbl-128 to + the top of the list. + * sysdeps/mips/mips64/n64/Implies: Likewise. + +2003-09-08 Roland McGrath + + * sysdeps/unix/sysv/linux/speed.c + (cfsetospeed): Only set c_ospeed under [_HAVE_STRUCT_TERMIOS_C_OSPEED]. + (cfsetispeed): Only set c_ispeed under [_HAVE_STRUCT_TERMIOS_C_ISPEED]. + * sysdeps/unix/sysv/linux/bits/termios.h + (_HAVE_STRUCT_TERMIOS_C_ISPEED, _HAVE_STRUCT_TERMIOS_C_OSPEED): Define. + * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise. + +2003-09-08 Ulrich Drepper + + * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Undo last change. + * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Likewise. + +2003-09-08 Jakub Jelinek + + * sysdeps/generic/bits/types.h (__quad_t): Make long int if 64-bit. + (__u_quad_t): Make unsigned long int if 64-bit. + (__SQUAD_TYPE): Make long int if 64-bit. + (__UQUAD_TYPE): Make unsigned long int if 64-bit. + * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Remove. + +2003-09-08 Ulrich Drepper + + * Makefile (tests): Run check-c++-types.sh if possible. + * scripts/check-c++-types.h: New file. + * scripts/data/c++-types-i386-linux-gnu.data: New file. + +2003-09-08 Andreas Jaeger + + * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump): + Use struct sigcontext. + + * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT): + Use struct sigcontext. + (GET_PC): Adopt. + (GET_FRAME): Likewise. + (GET_STACK): Likewise. + +2003-09-08 Wolfram Gloger + + * malloc/malloc.c (sYSMALLOc): Move foreign sbrk accounting into + contiguous case. Bug report from Prem Gopalan . + (mALLOPt): Avoid requirement of C99. + +2003-09-08 Ulrich Drepper + + * libio/bug-ftell.c: Include . + (main): Mark cp as const. + +2003-09-07 Jakub Jelinek + + * sysdeps/unix/sysv/linux/syscalls.list (fcntl): Remove. + * sysdeps/unix/sysv/linux/x86_64/fcntl.c: Remove. + +2003-09-05 Roland McGrath + + * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Fill in c_ispeed + and c_ospeed fields. + * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Set c_ospeed field. + (cfsetispeed): Set c_ispeed field. + * sysdeps/unix/sysv/linux/tcsetattr.c (IBAUD0): Define unconditionally + to match corresponding speed.c code. + +2003-09-06 Ulrich Drepper + + * libio/wfileops.c (_IO_wfile_underflow): Mark beginning of the + narrow character buffer. + * libio/Makefile: Add rules to build and run bug-ftell. + * libio/bug-ftell.c: New file. + + * stdio-common/vfprintf.c: Don't use the first grouping number twice. + + * stdio-common/vfscanf.c (vfscanf): Fix recognition of characters + matching the decimal point and possibly leading the thousands + separator. This caused the recognition of thousands separators to + always fail. + +2003-09-05 Ulrich Drepper + + * libio/fileops.c (_IO_new_file_overflow): Handle switching to + write mode from read in backup buffer. + * libio/Makefile (tests): Add bug-ungetc2. + * libio/bug-ungetc2.c: New file. + +2003-09-05 Roland McGrath + + * nss/getXXbyYY.c (FUNCTION_NAME): Remove unused variable. + +2003-09-04 Roland McGrath + + * sysdeps/mach/hurd/mmap.c (__mmap): If io_map fails with MIG_BAD_ID, + EOPNOTSUPP, or ENOSYS, change it to ENODEV. + +2003-09-04 H.J. Lu + + * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (MINSIGSTKSZ): + Fix a typo. + +2003-09-05 Andreas Jaeger + + * sysdeps/i386/bits/string.h (__memrchr): Do addition in assembler + to make it conforming C. + * sysdeps/i386/i486/bits/string.h (__memrchr): Likewise. + + * sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Change + prototype to use variable argument lists and get the possible one + argument via va_arg. + * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Likewise. + * sysdeps/unix/sysv/linux/x86_64/fcntl.c: New. + +2003-09-04 Ulrich Drepper + + * posix/unistd.h: Add back __THROW to sysconf, pathconf, fpathconf. + + * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max): + Report correct value for vxfs. + * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define VXFS_SUPER_MAGIC. + + * gmon/gmon.c: Use only not-cancelable syscalls to write profiling + data. + + * sysdeps/generic/utmp_file.c: Use not-cancelable syscalls all + over the place. It would be allowed to have these functions as + cancellation points but the cleanup would be ugly and a lot of + work. + + * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Define. + * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Define. + + * include/fcntl.h (__fcntl_nocancel): Declare. + * sysdeps/unix/sysv/linux/fcntl.c: New file. + * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Only enable + cancellation if absolutely needed. + (__fcntl_nocancel): Define. + + * posix/unistd.h (gethostid): Remove __THROW. Clarify comment. + * sysdeps/unix/sysv/linux/Makefile (CFLAGS-gethostid.c): Add + -fexceptions. + * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use + extend_alloca. + + * resolv/res_init.c (__res_nclose): Use close_not_cancel_no_status + instead of __close. + + * nss/getXXbyYY.c (FUNCTION_NAME): Add a few casts. Remove + unnecessary errno handling. + + * nss/getXXbyYY_r.c (INTERNAL): Use better variable name. + Initialize it in all cases. Change it to be a bit more like the + code we had before. + +2003-09-04 Jakub Jelinek + + * libio/fileops.c (_IO_file_read, _IO_new_file_write): Add + __builtin_expect. + (_IO_file_open): Likewise. Use close_not_cancel. + +2003-09-04 Ulrich Drepper + + * libio/libio.h: Define _IO_FLAGS2_NOTCANCEL. + * libio/fileops.c [_LIBC]: Remove close macro. + (_IO_file_open): If _IO_FLAGS2_NOTCANCEL is set, use open_not_cancel. + (_IO_new_file_open): Recognize 'c' flag in mode string. + (_IO_file_read): If _IO_FLAGS2_NOTCANCEL is set use read_not_cancel. + (_IO_new_file_write): If _IO_FLAGS2_NOTCANCEL is set use + write_not_cancel. + * iconv/gconv_conf.c: Use fopen with 'c' mode flag. + * inet/rcmd.c: Likewise. + * inet/ruserpass.c: Likewise. + * intl/localealias.c: Likewise. + * malloc/mtrace.c: Likewise. + * misc/getpass.c: Likewise. + * misc/getttyent.c: Likewise. + * misc/mntent_r.c: Likewise. + * misc/getusershell.c: Likewise. + * nss/nsswitch.c: Likewise. + * resolv/res_hconf.c: Likewise. + * resolv/res_init.c: Likewise. + * sysdeps/unix/sysv/linux/getsysstats.c: Likewise. + * time/getdate.c: Likewise. + * time/tzfile.c: Likewise. + * misc/fstab.h: Undo last change. + * misc/mntent.h: Likewise. + * misc/Makefile: Remove CFLAGS-mntent_r.c, CFLAGS-mntent.c, and + CFLAGS-fstab.c definition. + +2003-09-04 Jakub Jelinek + + * sysdeps/generic/unwind.h (_Unwind_GetBSP): Add prototype. + +2003-09-03 Ulrich Drepper + + * nss/getXXbyYY_r.c (INTERNAL): Explicitly set errno and avoid + returning ERANGE if this wasn't intended. + +2003-09-03 Jakub Jelinek + + * intl/loadmsgcat.c (open, close, read, mmap, munmap): Define as + function-like macros. + +2003-09-03 Ulrich Drepper + + * grp/Makefile (CFLAGS-getgrent_r.c): Add -fexceptions. + (CFLAGS-getgrent.c): Likewise. + * pwd/Makefile (CFLAGS-getpwent_r.c): Add -fexceptions. + (CFLAGS-getpwent.c): Likewise. + * shadow/Makefile (CFLAGS-getspent_r.c): Add -fexceptions. + (CFLAGS-getspent.c): Likewise. + + * inet/Makefile: Add -fexceptions to CFLAGS for the various + getXXent and getXXbyYY functions. + + * locale/loadlocale.c: Use not-cancelable variants of open, close, + and read. + +2003-09-02 Jakub Jelinek + + * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Remove + rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo and + rt_sigpending. + * sysdeps/unix/sysv/linux/alpha/sigaction.c (__syscall_rt_sigaction): + New prototype. + * sysdeps/unix/sysv/linux/arm/syscalls.list (__syscall_*): Remove + unused __syscall_ stubs. + * sysdeps/unix/sysv/linux/arm/Makefile (sysdep_routines): Remove + rt_*. + * sysdeps/unix/sysv/linux/cris/Makefile: Removed. + * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list + (__syscall_recvfrom, __syscall_sendto): Remove unused aliases. + * sysdeps/unix/sysv/linux/mips/syscalls.list (__syscall_*): Remove + unused __syscall_ stubs. + * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Remove rt_*. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list + (__syscall_*): Remove unused __syscall_ stubs. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list + (__syscall_*): Likewise. + * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines): Remove + rt_*. + * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (__syscall_*): + Remove unused __syscall_ stubs. + * sysdeps/unix/sysv/linux/sh/Makefile (sysdep_routines): Remove rt_*. + * sysdeps/unix/sysv/linux/rt_sigaction.c: Removed. + * sysdeps/unix/sysv/linux/rt_sigpending.c: Removed. + * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Removed. + * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Removed. + * sysdeps/unix/sysv/linux/rt_sigreturn.c: Removed. + * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Removed. + * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Removed. + * sysdeps/unix/sysv/linux/s_pread64.c: Removed. + * sysdeps/unix/sysv/linux/s_pwrite64.c: Removed. + * sysdeps/unix/sysv/linux/alpha/gethostname.c: Remove unused + __syscall_* prototypes. + * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise. + * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. + * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise. + * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise. + * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise. + * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise. + * sysdeps/unix/sysv/linux/i386/lockf64.c: Likewise. + * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise. + * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise. + * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise. + * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise. + * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise. + * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise. + * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise. + * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise. + * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pread.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/ptrace.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise. + * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/ioctl.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/execve.c: Likewise. + * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise. + * sysdeps/unix/sysv/linux/reboot.c: Likewise. + * sysdeps/unix/sysv/linux/_exit.c: Likewise. + * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise. + * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/fxstat64.c: Likewise. + * sysdeps/unix/sysv/linux/gai_sigqueue.c: Likewise. + * sysdeps/unix/sysv/linux/readahead.c: Likewise. + * sysdeps/unix/sysv/linux/getcwd.c: Likewise. + * sysdeps/unix/sysv/linux/sigwait.c: Likewise. + * sysdeps/unix/sysv/linux/getdents.c: Likewise. + * sysdeps/unix/sysv/linux/readv.c: Likewise. + * sysdeps/unix/sysv/linux/getpriority.c: Likewise. + * sysdeps/unix/sysv/linux/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/ipc_priv.h: Likewise. + * sysdeps/unix/sysv/linux/llseek.c: Likewise. + * sysdeps/unix/sysv/linux/sysctl.c: Likewise. + * sysdeps/unix/sysv/linux/lxstat64.c: Likewise. + * sysdeps/unix/sysv/linux/mmap64.c: Likewise. + * sysdeps/unix/sysv/linux/ustat.c: Likewise. + * sysdeps/unix/sysv/linux/poll.c: Likewise. + * sysdeps/unix/sysv/linux/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/writev.c: Likewise. + * sysdeps/unix/sysv/linux/pread.c: Likewise. + * sysdeps/unix/sysv/linux/ptrace.c: Likewise. + * sysdeps/unix/sysv/linux/sigpending.c: Likewise. + * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise. + * sysdeps/unix/sysv/linux/sigqueue.c: Likewise. + * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise. + * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise. + * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. + * sysdeps/unix/sysv/linux/truncate64.c: Likewise. + * sysdeps/unix/sysv/linux/xmknod.c: Likewise. + * sysdeps/unix/sysv/linux/xstat64.c: Likewise. + +2003-09-02 Jakub Jelinek + + * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Revert last change. + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: New file. + * sysdeps/unix/sysv/linux/sparc/syscalls.list: New file. + +2003-09-02 Ulrich Drepper + + * stdio-common/Makefile (CFLAGS-vprintf.c): Add -fexceptions. + + * intl/loadmsgcat.c: For _LIBC, call not cancelable versions of + open, close, and read. + + * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Also define + *_nocancel name. + + * sysdeps/unix/sysv/linux/i386/syscalls.list: Add waitpid. + + * libio/Makefile (CFLAGS-oldtmpfile.c): Add -fexceptions. + * sysdeps/generic/tmpfile.c (tmpfile): Use __unlink instead of remove. + * libio/oldtmpfile.c (__old_tmpfile): Likewise. + + * misc/Makefile (CFLAGS-getusershell.c): Add -fexceptions. + + * io/Makefile (CFLAGS-statfs.c): Add -fexceptions. + (CFLAGS-fstatfs.c): Likewise. + (CFLAGS-statvfs.c): Likewise. + (CFLAGS-fstatvfs.c): Likewise. + +2003-09-01 Ulrich Drepper + + * misc/Makefile (CFLAGS-getsysstats.c): Add -fexceptions. + * posix/unistd.h: Remove __THROW from pathconf, fpathconf, + sysconf. + * posix/Makefile (CFLAGS-sysconf.c): Add -fexceptions. + (CFLAGS-pathconf.c): Likewise. + (CFLAGS-fpathconf.c): Likewise. + + * misc/Makefile (CFLAGS-fstab.c): Add -fexceptions. + * misc/fstab.h: Remove all __THROW. + * misc/Makefile (CFLAGS-mntent.c): Add -fexceptions. + (CFLAGS-mntent_r.c): Likewise. + * misc/mntent.h: Remove most __THROW. + + * misc/Makefile (CFLAGS-mkstemp.c): Add -fexceptions. + (CFLAGS-mkstemp64.c): Likewise. + + * sysdeps/generic/wordexp.c (parse_comm): Disable cancellation + around call to exec_comm. + * posix/wordexp.h: Remove __THROW from wordexp. + * posix/Makefile (CFLAGS-wordexp.c): Add -fexceptions. + + * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Use + not-cancelable functions. + + * libio/Makefile (CFLAGS-oldiofopen.c): Add -fexceptions. + (CFLAGS-iofopen.c): Likewise. + (CFLAGS-iofopen64.c): Likewise. + + * stdlib/fmtmsg.c (fmtmsg): Disable cancellation around output + functions. + * stdlib/Makefile (CFLAGS-fmtmsg.c): Add -fexceptions. + * stdlib/fmtmsg.h: Remove __THROW from fmtmsg. + + * stdlib/stdlib.h: Remove __THROW from posix_openpt and getpt. + * login/Makefile (CFLAGS-getpt.c): Add -fexceptions. + +2003-09-01 Thorsten Kukuk + + * nis/nss_compat/compat-spwd.c (getspnam_plususer): Return + NSS_STATUS_SUCCESS if entry was found. + (getspent_next_file): Store user in blacklist after entry + was found, use innetgr. + +2003-09-01 Jakub Jelinek + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: New. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: New. + + * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Fix tls offset + computation for TCB_AT_TP. Support l_firstbyte_offset != 0 for + DTV_AT_TP, optimize. + +2003-08-31 Kaz Kojima + + * sysdeps/unix/sysv/linux/sh/Versions: Add posix_fadvise64 and + posix_fallocate64 at GLIBC_2.3.3. + * sysdeps/unix/sysv/linux/sh/sysdep.h (PSEUDO_ERRVAL): Define. + (PSEUDO_END_ERRVAL, ret_ERRVAL): Likewise. + +2003-08-08 H.J. Lu + + * sysdeps/unix/sysv/linux/ia64/syscalls.list: Remove __syscall_ + functions. + +2003-08-31 Ulrich Drepper + + * libio/libioP.h (_IO_acquire_lock_fct): Define as inline function. + Code by Richard Henderson. + +2003-08-31 Philip Blundell + + * sysdeps/unix/sysv/linux/arm/Versions: Add posix_fadvise64 and + posix_fallocate64 at GLIBC_2.3.3. + +2003-08-31 Ulrich Drepper + + * sysdeps/x86_64/bsd-_setjmp.S: Use HIDDEN_JUMPTARGET. + * include/setjmp.h: Add libc_hidden_proto for __sigsetjmp. + +2003-08-30 Jakub Jelinek + + * sysdeps/generic/sysdep.h (cfi_window_save, CFI_WINDOW_SAVE): Define. + * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Allow file to be + included multiple times. + * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Pass + ptid, tls, ctid arguments to the kernel. + * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c (__getpagesize): + Use INTERNAL_SYSCALL instead of __syscall_getpagesize. + * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c + (__libc_sigaction): Use INLINE_SYSCALL instead of + __syscall_rt_sigaction. + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list + (__syscall_getgroups, __syscall_getpagesize, __syscall__llseek, + __syscall_setfsgid, __syscall_setfsuid, __syscall_setgid, + __syscall_setgroups, __syscall_setregid, __syscall_setreuid, + __syscall_ipc, __syscall_setuid, __syscall_rt_sigaction, + __syscall_rt_sigpending, __syscall_rt_sigprocmask, + __syscall_rt_sigqueueinfo, __syscall_rt_sigsuspend, + __syscall_rt_sigtimedwait): Remove unneeded syscall stubs. + * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (sysdep_routines): + Remove rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, + rt_sigqueueinfo, rt_sigaction and rt_sigpending. + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h + (__CLONE_SYSCALL_STRING): Define. + * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S (__socket): Add + CFI directives. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h + (__CLONE_SYSCALL_STRING): Define. + * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_CLONE_SYSCALL): + Define. + * sysdeps/unix/sysv/linux/sparc/system.c: New file. + +2003-08-30 Ulrich Drepper + + * sunrpc/rpc/clnt.h: Remove a few __THROW. + * sunrpc/Makefile (CFLAGS-auth_unix.c): Add -fexceptions. + (CFLAGS-key_call.c): Likewise. + (CFLAGS-pmap_rmt.c): Likewise. + (CFLAGS-clnt_perr.c): Likewise. + * sunrpc/rpc/auth.h: Remove serveral __THROW. + + * inet/Makefile (CFLAGS-gethstbyad_r.c): Add -fexceptions. + (CFLAGS-gethstbynm_r.c): Likewise. + (CFLAGS-gethstbynm2_r.c): Likewise. + (CFLAGS-rcmd.c): Likewise. + * resolv/Makefile (CFLAGS-res_hconf.c): Add -fexceptions. + + * argp/Makefile (CFLAGS-argp-help.c): Add -fexceptions. + (CFLAGS-argp-fmtstream.c): Likewise. + * argp/argp.h: Remove a number of __THROW. + + * misc/sys/syslog.h (vsyslog): Remove __THROW. + + * misc/Makefile (CFLAGS-getpass.c): Add -fexceptions. + * misc/getpass.c (getpass): Add cleanup handler to ensure the + stream is closed even if the thread is canceled. + (call_fclose): New function. + * posix/unistd.h: Remove __THROW from getpass prototype. + + * posix/Makefile (CFLAGS-getopt.c): Add -fexceptions. + + * signal/signal.h (psignal): Remove __THROW. + * stdio-common/Makefile (CFLAGS-psignal.c): Add -fexceptions. + + * misc/Makefile (CFLAGS-error.c): Define. + * misc/error.c (error): Disable cancellation handling around the + actual output. The message should in any case be printed. + (error_at_line): Likewise. + + * misc/error.h: Protect parameter names with leading __. + +2003-08-28 Carlos O'Donell + + * sysdeps/unix/sysv/linux/hppa/syscalls.list: Add semtimedop. + +2003-08-29 Jakub Jelinek + + * libio/iofgetpos64.c (_IO_new_fgetpos64): Move lock release to the + end. + +2003-08-29 Ulrich Drepper + + * libio/stdio.h: Remove a few more __THROW. + +2003-08-29 Jakub Jelinek + + * libio/Makefile: Compile fputc.c, fputwc.c, freopen64.c, freopen.c, + fseek.c, fseeko64.c, fseeko.c, ftello64.c, ftello.c, fwide.c, getc.c, + getchar.c, getwc.c, getwchar.c, iofclose.c, iofflush.c, iofgetpos64.c, + iofgetpos.c, iofgets.c, iofgetws.c, iofputs.c, iofputws.c, iofread.c, + iofsetpos64.c, iofsetpos.c, ioftell.c, iofwrite.c, iogetdelim.c, + iogetline.c, iogets.c, iogetwline.c, ioputs.c, ioseekoff.c, + ioseekpos.c, iosetbuffer.c, iosetvbuf.c, ioungetc.c, ioungetwc.c, + oldfileops.c, oldiofclose.c, oldiofgetpos64.c, oldiofgetpos.c, + oldiofsetpos64.c, oldiofsetpos.c, peekc.c, putc.c, putchar.c, putwc.c, + putwchar.c and rewind.c with exceptions. + * sysdeps/generic/bits/stdio-lock.h (_IO_acquire_lock, + _IO_release_lock): Define. + * libio/fileops.c (_IO_new_file_underflow): Use it. + * libio/fputc.c (fputc): Likewise. + * libio/fputwc.c (fputwc): Likewise. + * libio/freopen64.c (freopen64): + * libio/freopen.c (freopen): Likewise. + * libio/fseek.c (fseek): Likewise. + * libio/fseeko64.c (fseeko64): Likewise. + * libio/fseeko.c (fseeko): Likewise. + * libio/ftello64.c (ftello64): Likewise. + * libio/ftello.c (ftello): Likewise. + * libio/fwide.c (fwide): Likewise. + * libio/getc.c (_IO_getc): Likewise. + * libio/getchar.c (getchar): Likewise. + * libio/getwc.c (_IO_getwc): Likewise. + * libio/getwchar.c (getwchar): Likewise. + * libio/iofclose.c (_IO_new_fclose): + * libio/iofflush.c (_IO_fflush): Likewise. + * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise. + * libio/iofgetpos.c (_IO_new_fgetpos): Likewise. + * libio/iofgets.c (_IO_fgets): Likewise. + * libio/iofgetws.c (fgetws): Likewise. + * libio/iofputs.c (_IO_fputs): Likewise. + * libio/iofputws.c (fputws): Likewise. + * libio/iofread.c (_IO_fread): Likewise. + * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise. + * libio/iofsetpos.c (_IO_new_fsetpos): Likewise. + * libio/ioftell.c (_IO_ftell): Likewise. + * libio/iofwrite.c (_IO_fwrite): Likewise. + * libio/iogetdelim.c (_IO_getdelim): Likewise. + * libio/iogets.c (_IO_gets): Likewise. + * libio/ioputs.c (_IO_puts): Likewise. + * libio/ioseekoff.c (_IO_seekoff): Likewise. + * libio/ioseekpos.c (_IO_seekpos): Likewise. + * libio/iosetbuffer.c (_IO_setbuffer): Likewise. + * libio/iosetvbuf.c (_IO_setvbuf): Likewise. + * libio/ioungetc.c (_IO_ungetc): Likewise. + * libio/ioungetwc.c (ungetwc): Likewise. + * libio/oldiofclose.c (_IO_old_fclose): Likewise. + * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise. + * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise. + * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise. + * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise. + * libio/peekc.c (_IO_peekc_locked): Likewise. + * libio/putc.c (_IO_putc): Likewise. + * libio/putchar.c (putchar): Likewise. + * libio/putwc.c (putwc): Likewise. + * libio/putwchar.c (putwchar): Likewise. + * libio/rewind.c (rewind): Likewise. + * libio/wfileops.c (_IO_wfile_underflow): Likewise. + +2003-08-29 Ulrich Drepper + + * signal/signal.h: sighold, sigrelse, sigignore, sigset were + available in XPG4.2. + +2003-08-27 Phil Knirsch + Jakub Jelinek + + * sunrpc/svc.c (svc_getreqset): Fix fds_bits reading on 64-bit + big endian arches. Don't read beyond end of fds_bits array. + +2003-04-27 Bruno Haible + + * manual/message.texi (Advanced gettext functions): Add information + about Korean, Portuguese, Latvian. Gaeilge is also known as Irish. + Add section about Lithuanian, reported by Ricardas Cepas + . + Add information about Croatian. + Ukrainian is like Russian, reported by Andy Rysin . + Remove remark about continuation lines that is not true for PO files. + Fix formula for Slovenian, reported by Roman Maurer + . + +2003-08-27 Ulrich Drepper + + * math/math_private.h: Declare __copysignf. + * sysdeps/ieee754/flt-32/s_scalbnf.c: Use __copysignf instead of + copysignf. + + * sysdeps/x86_64/fpu/bits/mathinline.h: Define __signbitf, + __signbit, and __signbitl inline functions. + + * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Use + HIDDEN_JUMPTARGET instead of JUMPTARGET to call exit(). + + * sysdeps/x86_64/bsd-_setjmp.S [PIC]: Jump to __GI___sigsetjmp. + * sysdeps/x86_64/setjmp.S: Add libc_hidden_def for __sigsetjmp. + +2003-08-27 Jakub Jelinek + + * inet/inet_mkadr.c (inet_makeaddr): Optimize. + +2003-08-27 Ulrich Drepper + + * include/stdio.h: Add declarations for __builtin_fwrite and + __builtin_fwrite_unlocked. + +2003-08-27 Jakub Jelinek + + * sysdeps/unix/opendir.c (__opendir): Make sure even struct dirent64 + fits into allocation. Add padding on 32-bit arches so that + dirp->data is enough aligned for struct dirent64. + Avoid clearing of the buffer, just clear DIR structure. + +2003-08-26 Ulrich Drepper + + * nss/nsswitch.c: Add libc_hidden_def for __nss_lookup_function. + * nss/nsswitch.h: Add libc_hidden_proto for __nss_lookup_function. + +2003-08-26 Steven Munroe + + * sysdeps/powerpc/powerpc64/elf/Makefile: New file. + +2003-08-26 Jakub Jelinek + + * login/programs/utmpdump.c (print_entry): Cast tv_usec to long + to match format string. + * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c (union semun): Add + __old_buf. + (__new_semctl): Shut up warning. + * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h + (_dl_string_hwcap): Add __attribute__ ((always_inline)). + +2003-08-26 Jakub Jelinek + + * elf/ldconfig.c (search_dir): When checking for GNU-style .so + link file use the real file name, not the resolved name we got by + following the symlinks. + +2003-08-25 Ulrich Drepper + + * libio/oldfileops.c (_IO_old_file_init): Initialize _mode field + if the object size is large enough. + +2003-08-25 Jakub Jelinek + + * elf/ldconfig.c (search_dir): Treat symlink as regular file + if it won't point to itself unless it is .so symlink for the linker. + +2003-08-25 Ulrich Drepper + + * libio/libio.h (_IO_fwide): In the mode==0 optimization, don't + use _mode if _IO_fwide_maybe_incompatible. + * libio/iofwide.c (_IO_fwide): Move the test for mode == 0 after + the compatibility test. + +2003-08-25 Jakub Jelinek + + * elf/cache.c (save_cache): Don't write beyond end of file_entries + buffer. + Duplicate last old cache entry if the count would be odd. + +2003-08-25 Andreas Jaeger + + * sysdeps/unix/sysv/linux/posix_fadvise64.c: Cast arguments of + __LONG_LONG_PAIR to long. + +2003-08-25 Philip Blundell + + * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_ERRVAL): Define. + (PSEUDO_END_ERRVAL, ret_ERRVAL): Likewise. + +2003-08-18 Alfred M. Szmidt + + * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_pop): Redefine + and use __libc_cleanup_region_end instead. + +2003-08-25 Ulrich Drepper + + * elf/ldconfig.c (search_dir): Revert patch of 2003-7-21. + +2003-08-22 Ulrich Drepper + + * io/fcntl.h (posix_fallocate): Change type of third parameter to + off_t. + (posix_fallocate64): Change type of third parameter to off64_t. + * sysdeps/generic/posix_fallocate.c: Adjust for type change. + * sysdeps/posix/posix_fallocate.c: Likewise. + * sysdeps/generic/posix_fallocate64.c: Likewise. + * sysdeps/posix/posix_fallocate64.c: Likewise. Add compatibility + code for 32-bit platforms. + * sysdeps/unix/sysv/linux/i386/Versions: Add new version for + posix_fallocate64. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/Versions: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise. + +2003-08-19 Ulrich Drepper + + * string/bits/string2.h (__STRING2_COPY_TYPE): Add attribute to + the type, not to name. + + * stdio-common/test-vfprintf.c (main): Don't write temporary file + into source directory. + + * malloc/malloc.c (_int_free): Add cheap test for some invalid + block sizes. + + * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Fix typo in + syscall name. + +2003-08-18 Ulrich Drepper + + * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Fold EISDIR error + into EINVAL. + +2003-08-18 H.J. Lu + + * sysdeps/ia64/dl-machine.h (elf_machine_rela): Use _dl_reloc_bad_type. + (elf_machine_lazy_rel): Likewise. + +2003-08-18 Art Haas + + * malloc/malloc.h: Remove unneeded ';' where closing the C++ + extern block. + +2003-08-18 Ulrich Drepper + + * sysdeps/ia64/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Support + loading big binaries where @gprel(sym) cannot be handled in 'add' + but instead has to be used with 'movl'. + +2003-08-17 Juergen Kreileder + Andreas Jaeger + + * sysdeps/x86_64/bits/byteswap.h: New file. + +2003-08-17 Andreas Jaeger + + * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Fix typo. + +2003-08-16 Jakub Jelinek + + * sysdeps/powerpc/powerpc32/sysdep.h (PSEUDO_ERRVAL, + PSEUDO_RET_ERRVAL, ret_ERRVAL, PSEUDO_END_ERRVAL): Define. + * sysdeps/powerpc/powerpc64/sysdep.h (PSEUDO_ERRVAL, + PSEUDO_RET_ERRVAL, ret_ERRVAL, PSEUDO_END_ERRVAL): Define. + * sysdeps/unix/alpha/sysdep.h (PSEUDO_ERRVAL, + ret_ERRVAL, PSEUDO_END_ERRVAL): Define. + * sysdeps/unix/mips/sysdep.h (PSEUDO_ERRVAL, + ret_ERRVAL, PSEUDO_END_ERRVAL): Define. + * sysdeps/unix/sparc/sysdep.h (PSEUDO_ERRVAL, + ret_ERRVAL): Define. + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PSEUDO_ERRVAL, + PSEUDO_END_ERRVAL, ret_ERRVAL): Define. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (PSEUDO_ERRVAL, + PSEUDO_END_ERRVAL, ret_ERRVAL): Define. + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO_ERRVAL): + Define. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (PSEUDO_ERRVAL, + PSEUDO_END_ERRVAL, ret_ERRVAL): Define. + * sysdeps/unix/sysdep.h (PSEUDO_END_ERRVAL): Define. + + * sysdeps/unix/sysv/linux/syscalls.list (posix_fadvise64, + posix_fadvise64_64): Remove. + * sysdeps/unix/sysv/linux/alpha/syscalls.list (posix_fadvise64): Add + V flag. + * sysdeps/unix/sysv/linux/ia64/syscalls.list (posix_fadvise64): + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list + (posix_fadvise64): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list + (posix_fadvise64): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list + (posix_fadvise64): Likewise. + * sysdeps/unix/sysv/linux/x86_64/syscalls.list (posix_fadvise64): + Likewise. + * sysdeps/unix/sysv/linux/i386/posix_fadvise64_64.S: Moved to... + * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: ...here. + (__posix_fadvise64_l64): Fix a typo in fadvise64 syscall invocation. + (__posix_fadvise64_l32): New function. + * sysdeps/unix/sysv/linux/i386/Makefile: Revert last change. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions (libc): Export + posix_fadvise64@@GLIBC_2.3.3. + * sysdeps/unix/sysv/linux/s390/s390-32/Versions (libc): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (libc): Likewise. + * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Return + error value. + * sysdeps/unix/sysv/linux/posix_fadvise64.c: New file. + + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h + (SYSCALL_ERROR_HANDLER): Use TLS errno/__libc_errno if USE___THREAD. + +2003-08-15 Jakub Jelinek + + * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Remove. + (elf_machine_matches_host): Remove weak extern stuff. + Use GL(dl_hwcap) unconditionally and GL(dl_hwcap_mask) if SHARED. + (elf_machine_runtime_setup, sparc_fixup_plt): Remove weak extern + stuff. Use GL(dl_hwcap) unconditionally. + +2003-08-16 Alan Modra + + * sysdeps/powerpc/powerpc64/elf/start.S: Add a nop after + __libc_start_main branch. + +2003-08-16 Jakub Jelinek , + Andreas Jaeger + + * sysdeps/generic/posix_fadvise.c (posix_fadvise): Return ENOSYS + instead of setting errno. + * sysdeps/generic/posix_fadvise64.c (posix_fadvise64): Likewise. + +2003-08-16 Andreas Jaeger + + * sysdeps/generic/posix_fadvise.c (posix_fadvise): Adjust prototype. + * sysdeps/generic/posix_fadvise64.c (posix_fadvise64): Likewise. + +2003-08-15 Ulrich Drepper + + * io/fcntl.h (posix_fadvise64): Change type of third parameter to + off_t. + * sysdeps/unix/sysv/linux/posix_fadvise.c: Adjust definition. + * sysdeps/unix/make-syscalls.sh: Recognize V prefix to the parameter + description indicating the error value is returned, not -1. + * sysdeps/unix/sysv/linux/kernel-features.h: Add definition of + __ASSUME_FADVISE64_64_SYSCALL. + * sysdeps/unix/sysv/linux/syscalls.list: Don't define madvise and + posix_madvise in one file. Have posix_madvise defined with error + value returned. + Define posix_fadvise64_64 entry. Add version info to posix_fadvise64 + entry. + * sysdeps/unix/sysv/linux/i386/posix_fadvise.S: New file. + * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PSEUDO_ERRVAL, + PSEUDO_END_ERRVAL, and ret_ERRVAL. + * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.3.3]: Add + posix_fadvise64. + + * posix/Makefile (routines): Add posix_madvise. + * sysdeps/generic/madvise.c: Don't define posix_madvise. + * sysdeps/generic/posix_madvise.c: New file. + * sysdeps/unix/sysv/aix/posix_madvise.c: New file. + * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (subdir_routines): + Add posix_fadvise64_64. + +2003-08-15 Jakub Jelinek + + * assert/assert.h (assert_perror): Use __builtin_expect for gcc >= + 3.0, not for !gcc or gcc < 3.0. + +2003-08-11 Carlos O'Donell + + * dlfcn/default.c (main): Cast dlsym loaded value to same type as main. + Address passed to test_in_mod1 and test_in_mod2 without casting. + * dlfcn/defaultmod1.c: Change prototype of test_in_mod1. + (test_in_mod1): Cast dlsym loaded value to same type as mainp. + * dlfcn/defaultmod2.c: Change prototype of test_in_mod2. + (test_in_mod2): Cast dlsym loaded value to same type as mainp. + +2003-08-15 Jakub Jelinek + + * sysdeps/sparc/sparc32/elf/configure.in (libc_cv_sparc32_tls): + Change quotes before using []. + + * sysdeps/unix/sysv/linux/sparc/sys/user.h: New file. + + * sysdeps/sparc/sparc32/bits/atomic.h (__sparc32_atomic_lock): + Renamed to... + (__sparc32_atomic_locks): ...this. Change into 64-byte array. + (__sparc32_atomic_do_lock, __sparc32_atomic_do_unlock): Add addr + argument. Select one of 64 locks from address bits. + (atomic_compare_and_exchange_val_acq, + atomic_compare_and_exchange_bool_acq): Pass memory address to + __sparc32_atomic_do_{,un}lock. + +2003-08-14 Ulrich Drepper + + * assert/assert.h (assert): Use !! in front of expression to allow + use of pointers. + + * iconvdata/cp932.c: Fixed checking of a few border of code areas. + Changed conversion of JIS X 0201 from using a table to calculating. + * iconvdata/euc-jp-ms.c: Fixed conversion table and rewrote + conversion routine. Changed CHARSET_NAME definition from EUCJP-MS to + EUC-JP-MS. + * iconvdata/tst-tables.sh: Add CP932 and EUC-JP-MS. + * iconvdata/CP932.irreversible: New file. + * iconvdata/EUC-JP-MS.irreversible: New file. + Patch by MORIYAMA Masayuki . + +2003-08-13 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/syscalls.list: Add time syscall. + + * elf/Makefile: Use LC_ALL=C in a few cases where we call external + text processing tools. + + * sysdeps/pthread/aio_misc.h (struct waitlist): Don't add caller_pid + element unless BROKEN_THREAD_SIGNALS is defined. + (struct requestlist): Likewise. + * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Don't fill in + caller_pid of new request unless BROKEN_THREAD_SIGNALS is defined. + * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise. + * sysdeps/pthread/aio_notify.c (__aio_notify_only): Remove caller_pid + parameter unless BROKEN_THREAD_SIGNALS is defined. Adjust callers. + Pass current PID to __aio_sigqueue. + * sysdeps/pthread/lio_listio.c (lio_listio): Adjust __aio_notify_only + call. Don't initialize caller_pid field of waitlist element. + +2003-08-12 Jakub Jelinek + + * libio/libioP.h (_IO_vtable_offset): Define. + * libio/freopen.c (freopen): Use it. + * libio/ioputs.c (_IO_puts): Likewise. + * libio/freopen64.c (freopen64): Likewise. + * libio/genops.c (__underflow, __uflow, _IO_flush_all_lockp): + Likewise. + * libio/iofclose.c (_IO_new_fclose): Likewise. + * libio/iofputs.c (_IO_fputs): Likewise. + * libio/ioftell.c (_IO_ftell): Likewise. + * libio/iofwrite.c (_IO_fwrite): Likewise. + * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise. + * libio/iosetbuffer.c (_IO_setbuffer): Likewise. + * stdio-common/vfprintf.c (ORIENT, vfprintf): Likewise. + * stdio-common/vfscanf.c (ORIENT): Likewise. + +2003-08-11 Ulrich Drepper + + * assert/assert.h: Use __builtin_expect in assert and + assert_perror definitions if possible. + +2003-08-07 Jakub Jelinek + + * sysdeps/generic/ldsodefs.h (_rtld_global): Add + _dl_rtld_lock_recursive and _dl_rtld_unlock_recursive. + * elf/rtld.c (rtld_lock_default_lock_recursive, + rtld_lock_default_unlock_recursive): New functions. + (dl_main): Initialize _dl_rtld_lock_recursive and + _dl_rtld_unlock_recursive. + +2003-08-05 Jakub Jelinek + + * elf/ldconfig.c (main): Append SLIBDIR and LIBDIR to + config_file directories instead of prepending. + +2003-08-02 Ulrich Drepper + + * sysdeps/unix/sysv/linux/kernel-features.h: Define + __ASSUME_CLONE_STOPPED. + +2003-08-01 Ulrich Drepper + + * sysdeps/generic/bits/libc-lock.h + (__libc_cleanup_push,__libc_cleanup_pop): Define even here. + +2003-08-01 Roland McGrath + + * sysdeps/mach/hurd/getdents.c: Just use sysdeps/generic/getdents.c. + +2003-07-31 Jakub Jelinek + + * sysdeps/generic/bits/types.h (__ssize_t): Use __SSIZE_T_TYPE + instead of __SWORD_TYPE. + * sysdeps/generic/bits/typesizes.h (__SSIZE_T_TYPE): Define. + * sysdeps/mach/hurd/bits/typesizes.h (__SSIZE_T_TYPE): Define. + * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h (__SSIZE_T_TYPE): + Define. + * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__SSIZE_T_TYPE): + Define. + * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__SSIZE_T_TYPE): + Define. + * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: New file. + + * dlfcn/dlerror.c (once): New. + (dlerror): Call __libc_once. + (_dlerror_run): Remove once. + + * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext): + Sync with 2.5.7 and 2.5.73 kernel changes. + + * dlfcn/eval.c (funcall): Add noinline attribute to shut up warnings. + * elf/rtld.c (dl_main): Cast ElfW(Addr) arguments with %Zx/%Zd + formats to size_t. + * elf/dl-lookup.c (_dl_debug_bindings): Likewise. + * elf/tst-tls6.c (do_test): Use %zd format for l_tls_modid. + * elf/tst-tls8.c (do_test): Use %zd format for modid1 and modid2. + * gmon/tst-sprofil.c (main): Add parens to shut up warning. + * iconv/tst-iconv3.c (main): Use %td instead of %zd for pointer + difference argument. + * stdio-common/tst-wc-printf.c (main): Cast arguments with %C + format to wint_t. + * stdlib/tst-limits.c (main): For WORD_BIT and LONG_BIT, use + %d format and cast expected value to int. + * sysdeps/generic/libc-start.c (STATIC): Add + __attribute__((always_inline) if LIBC_START_MAIN is already defined. + * sysdeps/powerpc/fpu/w_sqrt.c (a_nan, a_inf): Change from uint32_t + to ieee_float_shape_type. + (__sqrt): Avoid type punning. + * sysdeps/powerpc/fpu/w_sqrtf.c (a_nan, a_inf): Change from uint32_t + to ieee_float_shape_type. + (__sqrtf): Avoid type punning. + * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Don't define + refsym if in dl-conflict.c. + * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise. + * sysdeps/unix/sysv/linux/i386/semctl.c (union semun): Add __old_buf. + (__new_semctl): Shut up warning. + * sysdeps/unix/sysv/linux/semctl.c (union semun): Add __old_buf. + (__new_semctl): Shut up warning. + * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Wrap long lines. + Change old into union of __old_shmid_ds and __old_shminfo structs. + Adjust all users. + * wcsmbs/wcsmbs-tst1.c (main): Cast arguments with %C format to wint_t. + + * sysdeps/unix/sysv/linux/utimes.c (__utimes): Fix actime and + modtime computation. + * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise. + * sysdeps/posix/utimes.c (__utimes): Likewise. + +2003-07-30 Jakub Jelinek + + * elf/dl-reloc.c (_dl_allocate_static_tls): Don't return any value, + call dl_signal_error directly. If already relocated, call + GL(dl_init_static_tls) directly, otherwise queue it for later. + (CHECK_STATIC_TLS): Undo 2003-07-24 change. + * elf/rtld.c (dl_main): Initialize GL(dl_init_static_tls). + * elf/dl-open.c (dl_open_worker): Call GL_dl_init_static_tls + for all static TLS initializations delayed in _dl_allocate_static_tls. + * elf/dl-support.c (_dl_init_static_tls): New variable. + * include/link.h (struct link_map): Add l_need_tls_init. + * sysdeps/generic/ldsodefs.h (_rtld_global): Add _dl_init_static_tls. + (_dl_nothread_init_static_tls): New prototype. + (_dl_allocate_static_tls): Adjust prototype. + + * elf/tls-macros.h (VAR_INT_DEF): Add alignment directive. + +2003-07-31 Alexandre Oliva + + * elf/dynamic-link.h (elf_machine_rel, elf_machine_rela, + elf_machine_rel_relative, elf_machine_rela_relative): Don't assume + reloc_addr is aligned. + * sysdeps/alpha/dl-machine.h (elf_machine_rela, + elf_machine_rela_relative): Adjust. + * sysdeps/arm/dl-machine.h (elf_machine_rel, elf_machine_rela, + elf_machine_rel_relative, elf_machine_rela_relative): Adjust. + * sysdeps/cris/dl-machine.h (elf_machine_rela, + elf_machine_rela_relative): Adjust. + * sysdeps/hppa/dl-machine.h (elf_machine_rela, + elf_machine_rela_relative): Adjust. + * sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela, + elf_machine_rel_relative, elf_machine_rela_relative): Adjust. + * sysdeps/ia64/dl-machine.h (elf_machine_rela, + elf_machine_rela_relative): Adjust. + * sysdeps/m68k/dl-machine.h (elf_machine_rela, + elf_machine_rela_relative): Adjust. + * sysdeps/mips/dl-machine.h (elf_machine_rela, + elf_machine_rela_relative): Adjust. + * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela, + elf_machine_rela_relative): Adjust. + * sysdeps/powerpc/powerpc64/dl-machine.h + (elf_machine_rela_relative, elf_machine_rela): Adjust. + * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela, + elf_machine_rela_relative): Adjust. + * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela, + elf_machine_rela_relative): Adjust. + * sysdeps/sh/dl-machine.h (elf_machine_rela, + elf_machine_rela_relative): Adjust. + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela, + elf_machine_rela_relative): Adjust. + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela, + elf_machine_rela_relative): Adjust. + * sysdeps/x86_64/dl-machine.h (elf_machine_rela, + elf_machine_rela_relative): Adjust. + +2003-07-29 Ulrich Drepper + + * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Restore + alignment of TCB used before the last change so that it matches + ld's output for IE code. + +2003-07-29 Jakub Jelinek + + * include/ctype.h (__ctype_b_loc, __ctype_toupper_loc, + __ctype_tolower_loc): Avoid "dereferencing type-punned pointer will + break strict-aliasing rules" warnings. + +2003-07-29 Roland McGrath + + * elf/Makefile: Revert accidental changes in last commit. + * elf/dl-support.c: Likewise. + + * rt/tst-timer2.c: New file. + * rt/Makefile (tests): Add it. + +2003-07-25 Jakub Jelinek + + * elf/dl-support.c (_dl_hwcap): Add nocommon attribute. + +2003-07-29 Roland McGrath + + * elf/Makefile (tests) [$(build-shared) = yes]: + Depend on $(test-modules). + * dlfcn/Makefile: Likewise. + +2003-07-28 Roland McGrath + + * sysdeps/generic/bits/types.h (__STD_TYPE): New macro. + Use that instead of `typedef' when using __*_TYPE macros in rhs. + + * elf/tst-tls14.c [USE_TLS && HAVE___THREAD]: Conditionalize on this. + * elf/tst-tlsmod14a.c: Likewise. + + * sysdeps/unix/sysv/linux/sys/sysctl.h: Include + before . + +2003-07-27 Ulrich Drepper + + * sysdeps/unix/sysv/syscalls.list: time syscall never fails. + * sysdeps/unix/sysv/linux/x86_64/time.S: time syscall never fails. + * sysdeps/unix/sysv/i386/time.S: time syscall never fails. + * sysdeps/unix/syscalls.list: umask syscall never fails. + +2003-07-27 Andreas Jaeger + + * sysdeps/unix/sysv/linux/init-first.c: Mark init as used. + +2003-07-25 Jakub Jelinek + + * sysdeps/unix/sysv/linux/a.out.h: Replace with i386 version. + Include bits/a.out.h. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add + bits/a.out.h. + * sysdeps/unix/sysv/linux/bits/a.out.h: New file. + * sysdeps/unix/sysv/linux/i386/bits/a.out.h: New file. + * sysdeps/unix/sysv/linux/m68k/bits/a.out.h: New file. + * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: New file. + * sysdeps/unix/sysv/linux/alpha/a.out.h: New file. + * sysdeps/unix/sysv/linux/alpha/bits/a.out.h: New file. + * sysdeps/unix/sysv/linux/sparc/a.out.h: New file. + * sysdeps/unix/sysv/linux/sparc/bits/a.out.h: New file. + +2003-07-24 Jakub Jelinek + + * sysdeps/pthread/aio_cancel.c (aio_cancel): Return AIO_ALLDONE + if aiocbp != NULL and has already completed. Return -1/EINVAL if + aiocbp->aio_fildes does not match fildes. + +2003-07-24 Ulrich Drepper + + * timezone/zic.c (rpytime): Replace cheap overflow check with a + functioning one. + + * include/link.h (struct link_map): Add l_tls_firstbyte_offset field. + * sysdeps/generic/dl-tls.c [TLS_TCB_AT_TP] (_dl_determine_tlsoffset): + Fix calculation of offsets to take misalignment of first byte in + file into account. + * elf/dl-load.c (_dl_map_object_from_fd): Initialize + l_tls_firstbyte_offset field. + * elf/rtld.c (_dl_start_final, _dl_start, dl_main): Likewise. + * elf/dl-reloc.c (_dl_allocate_static_tls): Change return type to int. + Take l_tls_firstbyte_offset information into account. + (CHECK_STATIC_TLS): _dl_allocate_static_tls can fail now. + * sysdeps/generic/ldsodefs.h: Adjust _dl_allocate_static_tls prototype. + * elf/Makefile: Add rules to build and run tst-tls14. + * elf/tst-tls14.c: New file. + * elf/tst-tlsmod14a.c: New file. + * elf/tst-tlsmod14b.c: New file. + +2003-07-23 Jakub Jelinek + + * sysdeps/pthread/lio_listio.c (LIO_OPCODE_BASE): Define. + (lio_listio): Use it. + * sysdeps/pthread/lio_listio64.c: Include lio_listio.c instead of + after few defines to avoid duplication. + +2003-07-22 Jakub Jelinek + + * include/stdio.h (__libc_fatal): Add libc_hidden_proto. + * include/dlfcn.h (__libc_dlopen_mode, __libc_dlsym, __libc_dlclose): + Likewise. + * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym, __libc_dlclose): + Add libc_hidden_def. + * sysdeps/generic/libc_fatal.c (__libc_fatal): Likewise. + * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise. + * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_fatal): Likewise. + * elf/Versions (libc): Export __libc_dlopen_mode@@GLIBC_PRIVATE, + __libc_dlsym@@GLIBC_PRIVATE and __libc_dlclose@@GLIBC_PRIVATE. + * libio/Versions (libc): Export __libc_fatal@@GLIBC_PRIVATE. + * sysdeps/generic/unwind-dw2.c: Readd #ifs removed during last + change. + * sysdeps/generic/unwind.inc: Removed. + + * include/resolv.h (__resp): Declare. Define to __libc_resp + if in libc.so. + (_res): If USE___THREAD, define to (*__resp). + * resolv/res_libc.c (_res): Normal .bss variable with compat_symbol + even if USE___THREAD. + (__resp): New __thread variable. + (__libc_resp): New alias. + * resolv/Versions (libc): Export _res@GLIBC_2.0 even if + USE_TLS && HAVE___THREAD. Export __resp@@GLIBC_PRIVATE. + * sysdeps/generic/res-state.c (__res_state): Return __resp + if USE___THREAD. + +2003-07-22 H.J. Lu + + * elf/dl-support.c (_dl_hwcap): New variable. + (_dl_aux_init): Initialize GL(dl_hwcap) for static binaries. + + * sysdeps/i386/fpu/fclrexcpt.c: Include , + and . + (__feclearexcept): Clear MXCSR if needed. + * sysdeps/i386/fpu/fsetexcptflg.c: Likewise. + + * sysdeps/i386/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Document + that newer hardware needs more than these macros. + + * sysdeps/i386/setfpucw.c: New file. + +2003-07-22 Jakub Jelinek + + * elf/Makefile (CFLAGS-ldconfig.c): Define IS_IN_ldconfig. + * elf/ldconfig.c: Include dl-procinfo.c. + (PROCINFO_CLASS): Define. + * sysdeps/generic/ldsodefs.h (PROCINFO_CLASS): Define. + * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: New file. + * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: New file. + * sysdeps/unix/sysv/linux/i386/dl-procinfo.c (PROCINFO_CLASS): + Define if not yet defined. Use it instead of EXTERN. Undefine + at the end of the file. + * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (PROCINFO_CLASS): + Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.c + (PROCINFO_CLASS): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.c + (PROCINFO_CLASS): Likewise. + +2003-07-22 H.J. Lu + + * elf/ldconfig.c (main): Issue a fatal error if relative path + is used to build cache. + +2003-07-22 Ulrich Drepper + + * elf/readlib.c (process_file): Avoid possible overflow in assignment. + +2003-07-21 Art Haas + + * manual/charset.texi (Converting a Character): Fix example code so a + valid pointer is returned. + +2003-07-22 Andreas Jaeger + + * elf/readlib.c (process_file): Check that file is a shared + object. + + * elf/sofini.c (__FRAME_END__): Use attribute used so that gcc + will not optimize it away. + (__DTOR_END__): Likewise. + (__CTOR_END__): Likewise. + + * include/libc-symbols.h (_elf_set_element): Use attribute used so + that gcc will not optimize it away. + (link_warning): Likewise. + +2003-07-22 Ulrich Drepper + + * wcsmbs/wcpncpy.c (__wcpncpy): Correct destination pointer handling. + * wcsmbs/Makefile (tests): Add tst-wcpncpy. + * wcsmbs/tst-wcpncpy.c: New file. + +2003-07-21 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_STOPPED): Define. + + * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Reverse use of + stmxcsr and ldmxcsr. + + * Makerules (build-module-helper): Add -z defs unless explicitly said + not to do it. + * dlfcn/Makefile: Define various *-no-z-defs variables for test DSOs + which has undefined symbols. + * elf/Makefile: Likewise. + + * sysdeps/i386/fpu/fedisblxcpt.c: Use dl_hwcap, not dl_hwcap_mask. + * sysdeps/i386/fpu/feenablxcpt.c: Likewise. + * sysdeps/i386/fpu/feholdexcpt.c: Likewise. + * sysdeps/i386/fpu/fesetround.c: Likewise. + * sysdeps/i386/fpu/ftestexcept.c: Likewise. + +2003-07-21 HJ Lu + + * elf/ldconfig.c (search_dir): Treat symlink as regular file + if it won't point to itself. + +2003-07-20 Ulrich Drepper + + * sysdeps/ia64/hp-timing.h (REPEAT_READ): Cast to long int not to int. + +2003-07-20 Andreas Jaeger + + * iconvdata/cp932.c (BODY): STANDARD_ERR_HANDLER is now called + STANDARD_TO_LOOP_ERR_HANDLER. + * iconvdata/euc-jp-ms.c (BODY): Likewise. + +2003-07-19 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_ZERO): Fix typo. + + * sysdeps/unix/sysv/linux/syscalls.list: Remove affinity syscalls. + +2003-07-16 Daniel Jacobowitz + Andreas Jaeger + + * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHMLBA): Define to + 256K, remove unneeded declaration of __getpagesize. + +2003-07-16 Andreas Schwab + + * sysdeps/unix/sysv/linux/futimes.c: Include . + +2003-07-15 Ulrich Drepper + + * io/test-utime.c (main): Make test yet more robust. + +2003-07-14 Ulrich Drepper + + More cancellation handling fixups. + * sysdeps/unix/sysv/linux/not-cancel.h: Add waitpid_not_cancel. + * sysdeps/generic/not-cancel.h: Likewise. + * catgets/open_catalog.c: Use not-cancelable syscalls. + * time/Makefile (CFLAGS-getdate.c): Add -fexceptions. + * sysdeps/unix/sysv/linux/llseek.c: Must not be cancelable. + * sysdeps/unix/syscalls.list: Don't mark lseek as cancelable. + * dlfcn/dlfcn.h: Mark dlopen with __THROW again. + * io/fcntl.h: Don't mark posix_fallocate with __THROW. + * libio/fileops.c: Use not-cancelable syscalls for fclose. + * libio/iopopen.c: Use no-cancelable syscalls. + * libio/stdio.h: Mark popen and pclose with __THROW again. + * misc/Makefile (CFLAGS-syslog.c): Add -fexceptions. + * misc/syslog.c: Fix locking and cancellation cleanup handling. + * posix/unistd.h: Mark ttyname and ttyname_r again with __THROW. + * stdio-common/Makefile (CFLAGS-tmpfile.c, CFLAGS-tmpfile64.c, + CFLAGS-tempname.c): Add -fexceptions. + * stdlib/Makefile (CFLAGS-mkstemp.c): Add -fexceptions. + * string/string.h: Mark strerror and strerror_r with _THROW again. + * sysdeps/generic/unwind.inc: New file. Copied from gcc. + * sysdeps/generic/unwind-dw2.c: Update from gcc version. Remove + #ifs since we now need all the code compiled. + * sysdeps/posix/spawni.c: Use close_not_cancel instead of close. + * sysdeps/unix/closedir.c: Use not-cancelable syscalls. + * sysdeps/unix/opendir.c: Likewise. + + * iconvdata/Makefile (modules): Add CP932 and EUC-JP-MS. + Add rule for EUC-JP-MS dependency. + * iconvdata/cp932.c: New file. + * iconvdata/eucjp-ms.c: New file. + * iconvdata/gconv-modules: Add entries for CP932 and EUC-JP-MS. + Patch by MORIYAMA Masayuki . + +2003-07-15 Jakub Jelinek + + * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket): Add + cfi directives. + +2003-07-14 Franz Sirl + + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_FIXED_CLONE_SYSCALL): New macro. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Use it. + + * sysdeps/unix/sysv/linux/utimes.c: Include sysdep.h. + +2003-07-14 Ulrich Drepper + + * sysdeps/unix/sysv/linux/kernel-features.h: Define + __ASSUME_TGKILL for Alpha appropriately. + +2003-07-12 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/statfs.h (_STATFS_F_FRSIZE): Define. + * sysdeps/unix/sysv/linux/alpha/bits/statfs.h (_STATFS_F_FRSIZE): + Likewise. + * sysdeps/unix/sysv/linux/s390/bits/statfs.h (_STATFS_F_FRSIZE): + Likewise. + + * sysdeps/unix/sysv/linux/kernel-features.h: Define + __ASSUME_UTIMES for x86 and kernels > 2.5.75. + + * sysdeps/unix/sysv/linux/futimes.c (__futimes): Handle case with + second parameter == NULL. + * sysdeps/unix/sysv/linux/utimes.c: New file. + +2003-07-12 Jakub Jelinek + + * sysdeps/unix/sysv/linux/futimes.c: Include kernel-features.h. + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Fix + a typo. + +2003-07-12 Ulrich Drepper + + * time/sys/time.h: Namespace cleanup. + * sysdeps/unix/sysv/linux/kernel-features.h: Define + __ASSUME_UTIMES for the architectures which always had the syscall. + * sysdeps/unix/sysv/linux/futimes.c: New file. + +2003-07-12 Kaz Kojima + + * sysdeps/unix/sysv/linux/sh/socket.S: Save and restore the PR + register across CENABLE and CDISABLE. + +2003-07-11 Jakub Jelinek + + * sysdeps/unix/sysv/linux/sigwait.c: Include string.h. + * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. + * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise. + * sysdeps/unix/sysv/linux/sleep.c (__sleep): Cast value to unsigned + int before assigning to max to avoid warnings. + +2003-07-11 Jakub Jelinek + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S (__socket): Add + cfi directives. + * sysdeps/unix/sysv/linux/s390/s390-32/socket.S (__socket): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/socket.S (__socket): Likewise. + +2003-07-10 Jakub Jelinek + + * sysdeps/powerpc/powerpc64/elf/start.S: Set section flags of + .data.rel.ro.local to "aw". + +2003-07-10 Ulrich Drepper + + * sysdeps/m68k/Makefile: Remove CLFAGS-.oS addition. + * Makeconfig (CFLAGS-.oS): Use PIC-ccflag instead of pic-ccflag. + (PIC-ccflag): Define. + +2003-07-04 Jakub Jelinek + + * sysdeps/s390/s390-32/elf/start.S: Emit position independent code + if PIC. + * sysdeps/s390/s390-64/elf/start.S: Likewise. + +2003-07-07 Jakub Jelinek + + * sysdeps/powerpc/powerpc64/elf/start.S: Put L(start_address) + into .data.rel.ro.local section if PIC to avoid DT_TEXTREL. + +2003-07-07 Ulrich Drepper + + * sysdeps/unix/sysv/linux/kernel-features.h: Version + __ASSUME_CORRECT_SI_PID and __ASSUME_TGKILL if possible. + + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Adjust for + compilation with HAVE_AUX_SECURE defined. + +2003-07-05 Richard Henderson + + * sysdeps/alpha/elf/initfini.c: Avoid .ent/.end. + +2003-07-03 Ulrich Drepper + + * configure.in: Also check for .cfi_rel_offset pseudo-op. + +2003-07-03 Jakub Jelinek + + * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency): Fix a + typo. + +2003-07-03 Ulrich Drepper + + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_CLKTCK): + Define. + * sysdeps/unix/sysv/linux/prof-freq.h: New file. + +2003-07-02 Jakub Jelinek + + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Protect new_sysinfo + decl and use with #ifdef NEED_DL_SYSINFO. + +2003-07-02 Ulrich Drepper + + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Don't set + GL(dl_sysinfo) unles GL(dl_sysinfo_dso) is also set. + * sysdeps/unix/sysv/linux/kernel-features.h: Define + __ASSUME_VSYSCALL only for 2.5.69 and up since this is when the + vsyscall DSO was added. + + * posix/bits/posix1_lim.h (_POSIX_NGROUPS_MAX): Define to 8 or 0 + depending on selected standard. + (NGROUPS_MAX): Define to 8 if not defined. + +2003-07-02 Andreas Jaeger + + * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: New file. + +2003-05-04 H.J. Lu + + * malloc/arena.c (arena_get2): Add atomic_write_barrier. + * malloc/thread-m.h: Include . + (atomic_full_barrier): Provide default. + (atomic_read_barrier): Likewise. + (atomic_write_barrier): Likewise. + * sysdeps/ia64/bits/atomic.h (atomic_full_barrier): New #define. + +2003-06-30 Ulrich Drepper + + * sysdeps/generic/sysdep.h: Define cfi_rel_offset and CFI_REL_OFFSET. + +2003-06-30 Richard Henderson + + * sysdeps/alpha/bits/atomic.h (__arch_compare_and_exchange_bool_*_int): + Invert the sense of the return value. + (__arch_exchange_16_int): Fix paste-o. + (__arch_exchange_{32,64}_int): Fix think-o. + + * sysdeps/unix/sysv/linux/alpha/clone.S: Load child_tid properly. + +2003-06-30 Richard Henderson + + * include/sys/resource.h (__getrusage): Mark hidden. + * include/sys/time.h (__settimeofday, __setitimer, __utimes): Likewise. + * include/sys/wait.h (__wait4): Likewise. + +2003-06-17 Guido Guenther + + * sysdeps/unix/sysv/linux/mips/xstatconv.c: Handle STAT_IS_KERNEL_STAT + case. + (xstat_conv): Rename to __xstat_conv and remove static inline. + (xstat64_conv): Likewise. + +2003-06-29 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sleep.c (__sleep): Handle parameter + values which cannot be handled in one nanosleep call. + +2003-06-25 Alfred M. Szmidt + + * sysdeps/generic/bits/in.h (IPV6_HOPOPTS, IPV6_DSTOPTS): New macros. + (IPV6_RXHOPOPTS, IPV6_RXDSTOPTS): Use them. + + * sysdeps/generic/ifreq.h (__if_nextreq) [_HAVE_SA_LEN]: Typo fix. + +2003-06-04 Thorsten Kukuk + + * sysdeps/unix/sysv/linux/net/if_arp.h: Sync with kernel header, + fix typo. + +2003-06-26 Steven Munroe + + * sysdeps/unix/sysv/linux/xstatconv.h [!STAT_IS_KERNEL_STAT]: + Conditionalize function definitions that use struct kernel_stat. + * sysdeps/unix/sysv/linux/fxstat.c: Remove __syscall_fstat extern. + * sysdeps/unix/sysv/linux/lxstat.c: Remove __syscall_lstat extern. + * sysdeps/unix/sysv/linux/xstat.c: Remove __syscall_stat extern. + +2003-06-28 Ulrich Drepper + + * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop): Add real + implementation. + +2003-06-07 Thorsten Kukuk + + * nis/nss_compat/compat-grp.c: Remove unused nis_first variable. + (getgrent_next_file): Don't store group name to early in blacklist. + + * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Save strlen result + and use memcpy instead of strcpy. + +2003-06-28 Ulrich Drepper + + * nis/nss_compat/compat-grp.c: Optimize several little things. Use + stream unlocked. + * nis/nss_compat/compat-initgroups.c: Likewise. + * nis/nss_compat/compat-pwd.c: Likewise. + * nis/nss_compat/compat-spwd.c: Likewise. + +2003-06-27 Thorsten Kukuk + + * nis/nss_compat/compat-initgroups.c: Don't use our own NIS/NIS+ + functions, dlopen corresponding NSS module instead. + +2003-06-27 Jeroen Dekkers + + * sysdeps/mach/hurd/alpha/init-first.c: Remove call to __libc_init. + * sysdeps/mach/hurd/i386/init-first.c: Likewise. + * sysdeps/mach/hurd/mips/init-first.c: Likewise. + * sysdeps/mach/hurd/powerpc/init-first.c: Likewise. + +2003-06-27 Ulrich Drepper + + * rt/Makefile (CFLAGS-librt-cancellation.c): Define. + +2003-06-26 Roland McGrath + + * sysdeps/mach/configure.in: Barf rather than define NO_CREATION_TIME. + * sysdeps/mach/configure: Regenerated. + * sysdeps/mach/hurd/times.c (times_init): Function removed. + (__times): Assume `creation_time' field is available. + * sysdeps/mach/hurd/Makefile [$(subdir) = csu] (sysdep_routines): + Don't append set-init. + * sysdeps/mach/hurd/set-init.c: File removed. + +2003-06-26 Roland McGrath + + * elf/elf.h (AT_SECURE): New macro. + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Grok it, + set __libc_enable_secure. + (_dl_show_auxv): Add AT_SECURE to name table. + * elf/dl-support.c (_dl_aux_init): Grok AT_SECURE, set + __libc_enable_secure and __libc_enable_secure_decided. + * sysdeps/unix/sysv/linux/ldsodefs.h + [__ASSUME_AT_SECURE] (HAVE_AUX_SECURE): Define it. + * sysdeps/unix/sysv/linux/kernel-features.h + [__LINUX_KERNEL_VERSION >= 132426] (__ASSUME_AT_SECURE): Define it. + +2003-06-26 Ulrich Drepper + + * io/test-utime.c: If _STATBUF_ST_NSEC is defined, adjust lower + boundary test to take rounding of nanoseconds into account. + + * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_NSEC. + * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise. + +2003-06-26 Andreas Schwab + + * sysdeps/m68k/fpu/bits/mathinline.h: Don't inline frexp. + * sysdeps/m68k/fpu/s_frexp.c: Put implementation here. + * sysdeps/m68k/fpu/s_frexpl.c: Fix to handle unnormalized numbers. + +2003-06-17 Thorsten Kukuk + + * nis/Makefile: Remove NIS/NIS+ files from nss_compat module. + * nis/nss_compat/compat-grp.c: Don't use our own NIS/NIS+ functions, + dlopen corresponding NSS module instead. + * nis/nss_compat/compat-pwd.c: Likewise. + * nis/nss_compat/compat-spwd.c: Likewise. + * nis/nss_compat/compat-initgroups.c: Disabled for now. + * nss/Versions: Export __nss_lookup_function. + +2003-06-19 Daniel Jacobowitz + + * sysdeps/unix/sysv/linux/kernel-features.h: Update kernel features + for the SH architecture. + +2003-06-25 Thorsten Kukuk + + * csu/Makefile: Use CPPFLAGS to find correct linux/version.h. + +2003-06-25 Andreas Jaeger + + * stdlib/tst-strtod.c (main): Declare constant long double as + suggested by Jakub Jelinek and Andreas Schwab. + + * posix/tst-nanosleep.c: Include for nanosleep + declaration. + + * stdio-common/tst-fphex.c: Fix format string. + + * posix/transbug.c: Include for memset and strlen + declarations. + + * stdio-common/tst-sprintf.c: Include for free declaration. + + * stdlib/tst-strtod.c (main): Pass long double value. + + * test-skeleton.c: Include for nanosleep declaration. + +2003-06-25 Ulrich Drepper + + * include/time.h: Don't define CLOCK_IDFIELD_SIZE if _ISOMAC is + defined. + +2003-06-11 Jakub Jelinek + + * elf/Versions (libc): Add _dl_open_hook@GLIBC_PRIVATE. + * elf/dl-libc.c (struct dl_open_hook): New. + (_dl_open_hook): New variable. + (do_dlsym_private): New function. + (__libc_dlopen_mode) [!SHARED]: Lookup _dl_open_hook@GLIBC_PRIVATE + and initialize it if found. + (__libc_dlopen_mode) [SHARED]: If _dl_open_hook is non-NULL, + call dlopen_mode hook. + (__libc_dlsym) [SHARED]: If _dl_open_hook is non-NULL, + call dlsym hook. + (__libc_dlclose) [SHARED]: If _dl_open_hook is non-NULL, + call dlclose hook. + +2003-06-25 Ulrich Drepper + + * sysdeps/unix/sysv/linux/cris/sysdep.h (INLINE_SYSCALL): Cast + result to long int so that extensions to long long int work. + Patch by Uwe Reimann . + +2003-06-19 Jakub Jelinek + + * elf/ldconfig.c (main): Use add_system_dir instead of add_dir. + * sysdeps/generic/dl-cache.h (add_system_dir): Define. + * sysdeps/unix/sysv/linux/x86_64/dl-cache.h: Include sparc + dl-cache.h. + * sysdeps/unix/sysv/linux/s390/dl-cache.h: New file. + * sysdeps/unix/sysv/linux/mips/dl-cache.h: New file. + * sysdeps/unix/sysv/linux/powerpc/dl-cache.h: New file. + * sysdeps/unix/sysv/linux/sparc/dl-cache.h: New file. + +2003-06-19 Jakub Jelinek + + * test-skeleton.c (timeout_handler): If waitpid returned 0, + retry once after a second. If killed == 0, assume + WTERMSIG (status) == SIGKILL. + +2003-06-18 Roland McGrath + + * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Catch uninitialized + elements in the table instead of printing an empty name string. + +2003-06-05 Roland McGrath + + * elf/elf.h (PT_GNU_STACK): New macro. + +2003-06-24 Ulrich Drepper + + * include/time.h: Define CLOCK_IDFIELD_SIZE. + * sysdeps/posix/clock_getres.c: Recognize thread CPU clock IDs. + * sysdeps/unix/clock_gettime.c: Likewise. + * sysdeps/unix/clock_settime.c: Likewise. + * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P): Adjust for new + clock id for thread CPU clocks. + + * sysdeps/unix/sysv/linux/fstatfs64.c (__fstatfs64): Add support + for the fstatfs64 syscall. + * sysdeps/unix/sysv/linux/statfs64.c (__statfs64): Add support for + the statfs64 syscall. + + * sysdeps/unix/sysv/linux/kernel-features.h: Define + __ASSUME_STATFS64 appropriately. + + * sysdeps/unix/sysv/linux/internal_statvfs.c: Use f_frsize field + from statfs structure if it has been filled in. + + * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_frsize + field. + (struct statfs64): Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/statfs.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise. + +2003-06-24 Richard Henderson + + * sysdeps/unix/sysv/linux/alpha/syscalls.list (pread, pwrite): Use + the 64-bit syscall name. + + * sysdeps/alpha/setjmp.S (_setjmp, setjmp): Mark .prologue. + + * sysdeps/alpha/fpu/bits/mathinline.h: Honor + __LIBC_INTERNAL_MATH_INLINES. Implement __signbitf, __signbit. + + * sysdeps/unix/sysv/linux/alpha/clone.S: Use HIDDEN_JUMPTARGET. + * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Use + libc_hidden_def. + * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Use libc_hidden_proto + on them. + + * sysdeps/alpha/bits/atomic.h: New file. + +2003-06-24 Andreas Schwab + + * sysdeps/m68k/fpu/libm-test-ulps: Update. + +2003-06-24 Andreas Jaeger + + * sysdeps/unix/sysv/linux/x86_64/stat.h (_STAT_VER_LINUX): Avoid + redeclaration with 32-bit code. + +2003-05-19 Ed Connell + + * sysdeps/unix/sysv/linux/i386/getcontext.S (getcontext): Retain + floating point mask. + * sysdeps/i386/fpu/fegetenv.c (fegetenv): Likewise. + +2003-06-23 Ulrich Drepper + + * sysdeps/pthread/aio_misc.h: Mark __aio_requests_mutex, + __aio_enqueue_request, __aio_find_req, __aio_find_req_fd, + __aio_free_request, __aio_notify, and __aio_sigqueue as hidden. + + * sysdeps/pthread/aio_suspend.c (aio_suspend): Set errno to the result + of pthread_cond_wait if there was an error. Use pthread_cleanup_* + instead of __libc_cleanup_region_*. + +2003-06-20 Richard Henderson + + * sysdeps/unix/make-syscalls.sh: Implement ! prefix for strong aliases. + * sysdeps/unix/sysv/linux/alpha/syscalls.list (open, open64): New. + +2003-06-20 Richard Henderson + + * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL1): Use __builtin_expect. + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_ST_INO_64_BIT) + Unset for alpha. + (__ASSUME_TIMEVAL64): Set for alpha. + * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Remove + adjtimex, osf_sigprocmask, old_adjtimex. + * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use INLINE_SYSCALL, + __ASSUME_TIMEVAL64. Reorg tv64 functions to avoid uninit variable. + * sysdeps/unix/sysv/linux/alpha/getitimer.S: Use __ASSUME_TIMEVAL64. + * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/select.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Streamline + PIC code sequence. + * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/sigaction.c: New file. + * sysdeps/unix/sysv/linux/alpha/sigprocmask.c: Use INLINE_SYSCALL. + * sysdeps/unix/sysv/linux/alpha/ustat.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/xmknod.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove osf_sigprocmask, + sys_ustat, sys_mknod, adjtimex, old_adjtimex. + * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL): Don't + defer to __syscall_name; error for rt_sigaction. + * sysdeps/unix/sysv/linux/alpha/xstatconv.c: Include kernel_stat.h. + +2003-06-18 Ulrich Drepper + + * malloc/malloc.c (public_mALLINFo): Initialize malloc if it + hasn't happened yet. + + * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump): + Fix completely broken implementation. The second parameter is of + type struct ucontext*. + + * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Always + inline. + + * sysdeps/i386/i686/dl-hash.h: Don't inline _dl_elf_hash. + * sysdeps/generic/dl-hash.h: Likewise. + + * sysdeps/generic/memcmp.c: Remove inline from + memcmp_common_alignment and memcmp_not_common_alignment definition. + + * intl/localealias.c (read_alias_file): Determine whether line is + read incompletely early, before we modify the line. + +2003-06-17 Jakub Jelinek + + * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela) + : Don't segfault on undefined symbols. + +2003-06-17 Paul Mackerras + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h: New file. + * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Adjust. + +2003-06-17 Jakub Jelinek + + * posix/regcomp.c (build_word_op): Use alnum instead of alpha class. + +2003-06-17 Ulrich Drepper + + * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): nanosleep + takes care of enabling cancellation. + + * sysdeps/pthread/aio_suspend.c (aio_suspend): Make aio_suspend + cancelable. It's not correct to disable cancellation. Instead of + a cleanup handler. + + * sysdeps/unix/sysv/linux/sigtimedwait.c: If SIGCANCEL is defined + and part of the incoming set, create a temporary set without this + signal. + * sysdeps/unix/sysv/linux/sigwait.c: Likewise. + * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. + + * sysdeps/unix/sysv/linux/sleep.c: Use CANCELLATION_P if defined before + returning because seconds==0. Add __builtin_expect. + +2003-06-16 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/socket.S: Add unwind information. + + * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Fix type of result + variable. + +2003-06-16 Thorsten Kukuk + + * include/libc-symbols.h: Add static_link_warning macro. + * grp/initgroups.c: Print linker warning if this function + is called in a static linked binary. + * nss/getXXbyYY.c: Likewise. + * nss/getXXbyYY_r.c: Likewise. + * nss/getXXent.c: Likewise. + * nss/getXXent_r.c: Likewise. + * sysdeps/posix/getaddrinfo.c: Likewise. + +2003-06-16 Bruno Haible + + * iconvdata/gconv-modules (ISO-8859-15): Add aliases ISO_8859-15, + LATIN-9. + (ISO-8859-16): Add aliases ISO_8859-16:2001, ISO_8859-16. + (IBM1047): Add alias IBM-1047. + (GBK): Add aliases MS936, WINDOWS-936. + +2003-06-16 Jakub Jelinek + + * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Define even if + defined __ASSUME_STAT64_SYSCALL && defined XSTAT_IS_XSTAT64. + (__xstat64_conv): Change xstat_conv to __xstat_conv. + +2003-06-16 Ulrich Drepper + + * locale/iso-639.def: Update from current official ISO 639. + + * math/tgmath.h (__TGMATH_UNARY_IMAG_ONLY): Removed. + +2003-06-15 Andreas Jaeger + + * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Correct setting + of MXCSR. + * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise. + * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise. + Reported by Arnaud Desitter . + + * math/tgmath.h (carg): Handle real arguments. + (conj): Likewise. + (cproj): Likewise. + (cimag): Likewise. + (creal): Likewise. + + * math/Makefile (CFLAGS-test-tgmath-ret.c): New. + (tests): Add test-tgmath-ret. + * math/test-tgmath-ret.c: New file. + + * math/tgmath.h (ilogb): Return always an int. + +2003-06-16 Ulrich Drepper + + * elf/rtld.c (dl_main): Use l_map_start not l_addr in Phdr + computation so that prelinking works. + +2003-06-15 Ulrich Drepper + + * elf/dl-iteratephdr.c (__dl_iterate_phdr): Don't skip dynamic + linker's map. + * elf/rtld.c (dl_main): Initialize l_phdr and l_phnum of of the + dynamic linker's map. + + Fix cancellation point handling wrt exception based cleanup. + * io/Makefile: Compile fcntl.c, poll.c, and lockf.c with exceptions. + * misc/Makefile: Compile pselect.c, readv.c, writev.c, and usleep.c + with exceptions. + * posix/Makefile: Compile pread.c, pread64.c, pwrite.c, pwrite64.c, + sleep.c, wait.c, waitid.c, and waitpid.c with exceptions. + * rt/Makefile: Compile aio_suspend.c and clock_nanosleep.c with + exceptions. + * signal/Makefile: Compile sigpause.c, sigsuspend.c, sigtimedwait.c, + sigwait.c, and sigwaitinfo.c with exceptions. + * stdlib/Makefile: Compile system.c with exceptions. + * sysvipc/Makefile: Compile msgrcv.c and msgsnd.c with exceptions. + * termios/Makefile: Compile tcdrain.c with exceptions. + * sysdeps/generic/lockf.c: Add comment explaining the cancellation + situation. + * sysdeps/generic/pselect.c: Likewise. + * sysdeps/posix/sigpause.c: Likewise. + * sysdeps/posix/system.c: Likewise. + * sysdeps/posix/waitid.c: Likewise. + * sysdeps/unix/sysv/linux/sleep.c: Likewise. + * sysdeps/unix/sysv/linux/usleep.c: Likewise. + * sysdeps/unix/sysv/linux/i386/sysdep.h: Major rewrite of + INTERNAL_SYSCALL to not use push inside asm statement so that + unwind info is correct around the syscall. + * sysdeps/unix/clock_nanosleep.c: Add cancellation support. + * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise. + +2003-06-15 Andreas Jaeger + + * sysdeps/x86_64/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): + Add CFI directives. + +2003-06-15 Guido Guenther + + * sysdeps/unix/sysv/linux/mips/Makefile: Add missing endif and + create $(objpfx). + +2003-06-14 Ulrich Drepper + + * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Use __close, + not close. + + * inet/inet6_option.c (inet6_option_alloc): Add libc_hidden_def. + * include/netinet/in.h (inet6_option_alloc): Add libc_hidden_proto + definition. + + * inet/netinet/ip6.h (IP6OPT_PAD1, IP6OPT_PADN): Define. + * inet/netinet/in.h: Add prototypes for inet6_option_* functions. + * inet/Makefile (routines): Add inet6_option. + * inet/inet6_option.c: New file. + * inet/Versions [GLIBC_2.3.3] (libc): Add inet6_option_space, + inet6_option_init, inet6_option_append, inet6_option_alloc, + inet6_option_next, and inet6_option_find. + +2003-06-13 Ulrich Drepper + + * inet/netinet/ip6.h (struct ip6_ext): Define. + + * sysdeps/unix/sysv/linux/sys/param.h (howmany): Optimize for gcc. + + Fixing gcc 3.3 warnings, part II. + * argp/argp-help.c (hol_entry_long_iterate): Always inline. + * elf/dl-load.c (cache_rpath): Don't inline. + * iconvdata/cns11642l2.h: Always inline all functions. + * iconvdata/iso-ir-165.h: Likewise. + * locale/Makefile (aux): Add coll-lookup. + * locale/coll-lookup.c: New file. + * locale/coll-lookup.h (collidx_table_lookup): Do not define here. + (collseq_table_lookup): Likewise. + * locale/weightwc.h: Adjust collidx_table_lookup calls for name change. + * posix/fnmatch_loop.c: Adjust collseq_table_lookup calls for name + change. + * posix/regcomp.c: Likewise. + * posix/regexec.c: Likewise. + * locale/programs/3level.h (*_get): Always inline. + * locale/programs/locfile.h: Move definition of handle_copy to... + * locale/programs/locfile.c: ...here. + * locale/programs/ld-collate.c (obstack_int32_grow): Always inline. + (obstack_int32_grow_fast): Likewise. + (utf8_encode): Likewise. + (find_element): Avoid aliasing problems. + (insert_value): Likewise. + (collate_read): Likewise. + * nss/getent.c (print_hosts): Don't inline + (print_networks): Likewise. + (print_shadow): Likewise. + (build_doc): Likewise. + * nss/nss_files/files-parse.c [ENTDATA] (parser_stclass): Don't + inline. + * posix/regcomp.c (re_set_fastmap): Always inline. + (seek_collating_symbol_entry): Likewise. + (lookup_collation_sequence_value): Likewise. + (build_range_exp): Likewise. + (build_collating_symbol): Likewise. + * posix/regexec.c (acquire_init_state_context): Don't inline. + (clean_state_log_if_need): Likewise. + * resolv/res_send.c (eConsIovec): Rewrite to not return struct and + adjust all callers. + (evConsTime): Likewise. + (evAddTime): Likewise. + (evSubTime): Likewise. + (evNowTime): Likewise. + (evTimeSpec): Removed. + (__libc_res_nsend): Avoid aliasing problem. + * sysdeps/unix/sysv/linux/ifreq.h: Move old_siocgifconf definition to.. + * sysdeps/unix/sysv/linux/ifreq.c: ...here. + * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_string_hwcap): + Always inline. + (_dl_string_platform): Likewise. + * wctype/wchar-lookup.h (wctype_table_lookup): Always inline. + (wcwidth_table_lookup): Likewise. + (wctrans_table_lookup): Likewise. + + * sysdeps/unix/sysv/linux/sys/epoll.h: Include . + +2003-06-12 Ulrich Drepper + + * wcsmbs/wchar.h: Define wint_t in std namespace, too [PR libc/5034]. + +2003-05-29 Jim Meyering + + * time/strftime.c (my_strftime) [!defined _NL_CURRENT + && HAVE_STRFTIME]: Use underlying_strftime for %r. + Suggested by Daniel Yacob . + +2003-06-12 Steven Munroe + + * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Replace + @got notation with @toc. + * sysdeps/powerpc/powerpc64/sysdep.h (CALL_MCOUNT): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Likewise. + +2003-06-12 Ulrich Drepper + + * sysdeps/posix/getaddrinfo.c (gaih_inet): Set no_inet6_date also + if only PF_INET address is needed. + + * nss/getXXbyYY_r.c: Make sure we always return a nonzero value in + case of an error. + + * scripts/config.guess: Update from upstream version. + * scripts/config.sub: Likewise. + +2003-06-12 Jakub Jelinek + + * locale/programs/ld-time.c (time_output): Also copy the era format, + not only the name. + +2003-06-12 H.J. Lu + + * posix/transbug.c (run_test): Return 1 for failure. + (do_test): Compare only if run_test is successful. + +2003-06-12 Simon Josefsson + + * argp/argp.h [!__THROW]: Define if undefined. + +2003-06-12 Ulrich Drepper + + * sysdeps/unix/sysv/linux/cris/sysdep.h: Fix handling of syscalls with + more than four parameters. + Patch by Uwe Reimann . + +2003-06-12 Jakub Jelinek + + * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file. + * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: New file. + + * stdio-common/printf-parsemb.c: Include stdlib.h and sys/param.h. + +2003-06-12 Roland McGrath + + * Makerules ($(objpfx)stubs): Rewrite sed magic. + +2003-02-28 Isamu Hasegawa + + * posix/regcomp.c (parse_expression): Deliver translation to + build_word_op, and build_charclass. + (build_charclass): Apply translation for character classes too. + (build_word_op): Deliver translation to build_charclass. + * posix/transbug.c: New file. + * posix/Makefile (tests): Add transbug. + +2003-06-04 Paolo Bonzini + + * posix/regexec.c (group_nodes_into_DFAstates): Check for + NEXT_ENDBUF_CONSTRAINT. Move check for constraints which do a + 'continue' before the others. + +2003-06-11 Ulrich Drepper + + * dirent/scandir.c (SCANDIR): Reset errno after calling selector + function [PR libc/5045]. + + * sysdeps/i386/bits/byteswap.h (__bswap_32): Use bswap instruction + also for P4. + + * time/tzfile.c: Add a couple of __builtin_expect. + + Remove warnings gcc 3.3 shows. + * argp/argp-help.c (hol_entry_short_iterate): Don't inline. + * elf/dl-load.c (fillin_rpath): Likewise. + (add_path): Likewise. + * elf/dl-version.c (find_needed): Always inline. + * elf/do-lookup.c (FCT): Don't inline. + * iconv/Makefile: Extend vpath to intl subdir. + (iconvconfig-modules): Add hash-string. + * iconv/gconv_charset.h (strip): Don't inline. + (upstr): Always inline. + Move __gconv_compare_alias prototype to... + * iconv/gconv_int.h: ...here. + * iconv/gconv_db.c: Don't include gconv_charset.h. + * iconv/gconv_conf.c (add_alias): Don't inline. + (insert_module): Likewise. + * iconv/gconv_simple.c (internal_ucs4_loop): Always inline. + (internal_ucs4_loop_unaligned): Likewise. + (internal_ucs4_loop_single): Likewise. + (ucs4_internal_loop): Likewise. + (ucs4_internal_loop_unaligned): Likewise. + (ucs4_internal_loop_single): Likewise. + (internal_ucs4le_loop): Always inline. + (internal_ucs4le_loop_unaligned): Likewise. + (internal_ucs4le_loop_single): Likewise. + (ucs4le_internal_loop): Likewise. + (ucs4le_internal_loop_unaligned): Likewise. + (ucs4le_internal_loop_single): Likewise. + * iconv/loop.c: Always inline the defined functions. + * iconvdata/cns11642.h: Likewise. + * iconvdata/cns11642l1.h: Likewise. + * iconvdata/euc-kr.c: Likewise. + * iconvdata/gb2312.h: Likewise. + * iconvdata/jis0201.h: Likewise. + * iconvdata/jis0208.h: Likewise. + * iconvdata/jis0212.h: Likewise. + * iconvdata/jisx0213.h: Likewise. + * iconvdata/ksc5601.h: Likewise. + * iconvdata/utf-7.c (base64): Don't inline. + * include/libc-symbols.h (symbol_set_first_element): Add cast + (symbol_set_end_p): Likewise. + * include/set-hooks (RUN_HOOK): Likewise. + * inet/Makefile (aux): Add ifreq. + * intl/Makefile (aux): Add some entries from routines. Add + hash-string. + * intl/hash-string.c: New file. + * intl/hash-string.h: Remove hash_string definition. Declare + __hash_string. + * iconv/gconv_cache.c (find_module_idx): Adjust hash_string caller. + * iconv/iconvconfig.c (new_name): Likewise. + * intl/dcigettext.c (_nl_find_msg): Likewise. + * intl/loadmsgcat.c (_nl_load_domain): Likewise. + * io/ftw.c (open_dir_stream): Always inline. + (process_entry): Don't inline. + * locale/findlocale.c: Include gconv_int.h. + * locale/setlocale.c (new_composite_name): Don't inline. + * locale/weight.h (findidx): Always inline. + * locale/weightwc.h (findidx): Likewise. + * locale/programs/linereader.c (lr_ignore_rest): Define here. + * locale/programs/linereader.h (lr_ignore_rest): Don't define here, + just declare it. + (lr_getc): Always inline. + (lr_ungetc): Likewise. + * nss/nss_files/files-parse.c (parse_list): Likewise. + * stdio-common/Makefile (aux): Add printf-parsemb and + printf-parsewc. + * stdio-common/_itoa.h (_itoa_word): Always inline. + (_fitoa_word, _fitoa): Don't define here, only declare. + * stdio-common/_itoa.c (_iftoa_word): Add here. + (_fitoa): Likewise. + * stdio-common/_itowa.h (_itowa_word): Always inline. + * stdio-common/printf-parse.h (read_int): Don't inline. + (find_spec): Don't define. + Declare __find_specmb and __find_specwc. + (parse_one_spec): Don't define. + Declare __parse_one_specmb and __parse_one_specwc. + * stdio-common/printf-parsemb.c: New file. + * stdio-common/printf-parsewc.c: New file. + * stdio-common/vfprintf.c: Update calls to find_spec and + parse_one_spec for new names. + * stdio-common/printf-prs.c: Likewise. Define DONT_NEED_READ_INT. + * stdlib/Makefile (aux): Add grouping and groupingwc. + * stdlib/grouping.c: New file. + * stdlib/groupingwc.c: New file. + * stdlib/grouping.h (correctly_grouped_prefix): Don't define here. + Just prototype. + * stdlib/rpmatch.c (try): Don't inline. + * stdlib/strtod.c (round_and_return): Don't line. + (str_to_mpn): Likewise. + (__mpn_lshift_1): Always inline. Optimize only for constant count. + Adjust for name change of correctly_grouped_prefix. + * sysdeps/generic/strtol.c: Adjust for name change of + correctly_grouped_prefix. + * string/strxfrm.c (utf8_encode): Don't inline. + * sysdeps/generic/dl-cache.c: Define _dl_cache_libcmp. + * sysdeps/generic/dl-cache.h: Just declare _dl_cache_libcmp. + * sysdeps/generic/ifreq.c: New file. + * sysdeps/unix/sysv/linux/ifreq.c: New file. + * sysdeps/generic/ifreq.h (__ifreq): Only declare here. + * sysdeps/unix/sysv/linux/ifreq.h: Likewise. + * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Always inline. + * sysdeps/generic/unwind-dw2-fde.c (start_fde_sort): Don't inline. + (fde_split): Likewise. + (fde_merge): Likewise. + (end_fde_sort): Likewise. + (init_object): Likewise. + (binary_search_unencoded_fdes): Likewise. + (binary_search_single_encoding_fdes): Likewise. + (binary_search_mixed_encoding_fdes): Likewise. + * sysdeps/generic/wordexp.c (w_addchar): Don't inline. + * sysdeps/i386/dl-machine.c (elf_machine_runtime_setup): Always inline. + * sysdeps/posix/sprofil.c (profil_count): Don't inline. + * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): + Add xstatconv. + * sysdeps/unix/sysv/linux/xstatconv.h: New file. + * sysdeps/unix/sysv/linux/xstatconv.c: Don't inline the function. + Export them. Prepend __ to name. + * sysdeps/unix/sysv/linux/Dist: Add xstatconv.h. + * sysdeps/unix/sysv/linux/fxstat.c: Adjust for name change of + conversion functions. + * sysdeps/unix/sysv/linux/fxstat64.c: Likewise. + * sysdeps/unix/sysv/linux/lxstat.c: Likewise. + * sysdeps/unix/sysv/linux/lxstat64.c: Likewise. + * sysdeps/unix/sysv/linux/xstat.c: Likewise. + * sysdeps/unix/sysv/linux/xstat64.c: Likewise. + * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise. + * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise. + * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise. + * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max, + __statfs_filesize_max, __statfs_symlinks): Define here. __ prepended + to name. Change callers. + * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max, + __statfs_filesize_max, __statfs_symlinks): Don't define here, just + declare. + * sysdeps/unix/sysv/linux/fpathconf.c: Change all callers. + * time/tzfile.c (decode): Always inline. + * wcsmbs/wcsnrtombs.c: Change type of inbuf to unsigned char*. + Remove cast in tomb function call. + * wcsmbs/wcsrtombs.c Likewise. + * wcsmbs/wcstob.c: Introduce new temp variable to take pointer in + tomb function call. + +2003-06-10 Ulrich Drepper + + * po/zh_CN.po: Update from translation team. + +2003-06-10 Jakub Jelinek + + * sysdeps/unix/sysv/linux/bits/in.h (IPV6_V6ONLY, IPV6_JOIN_ANYCAST, + IPV6_LEAVE_ANYCAST, IPV6_IPSEC_POLICY, IPV6_XFRM_POLICY): Define. + +2003-06-10 Ulrich Drepper + + * inet/Makefile (aux): Add check_pf. + * include/ifaddrs.h: Add prototype for __check_pf. + * sysdeps/generic/check_pf.c: New file. + * sysdeps/unix/sysv/linux/check_pf.c: New file. + * sysdeps/unix/sysv/linux/ifaddrs.h (__no_netlink_support): Renamed + from no_netlink_support. Export. + * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call getifaddrs, + call __check_pf. + + * sysdeps/generic/ifaddrs.h: Add libc_hidden_def. + + * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't leak memory + from getifaddr calls. + +2003-06-09 Jakub Jelinek + + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_SETRESGID_SYSCALL): Define. + * sysdeps/unix/sysv/linux/setegid.c: Use __ASSUME_SETRESGID_SYSCALL + instead of __ASSUME_SETRESUID_SYSCALL. + (setegid): Only use setresgid32 inline syscall if __NR_setresgid32 is + defined. + * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Only use setresgid32 + inline syscall if __NR_setresuid32 is defined. + * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Use + __ASSUME_SETRESGID_SYSCALL instead of __ASSUME_SETRESUID_SYSCALL. + * sysdeps/unix/sysv/linux/i386/setregid.c: Backout last changes. + * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c (setegid): Protect + code handling non-existant setresgid32 syscall with + #if __ASSUME_SETRESGID_SYSCALL == 0. + +2003-06-09 Andreas Schwab + + * sunrpc/Makefile (generated): Remove rpc-proto.c, rpc-proto.d. + ($(rpcsvc:%.x=$(objpfx)x%$o)): Don't depend on + $(objpfx)rpc-proto.d. + (rpcsvc-dt-files, rpcsvc-depfiles): Define. Include + $(rpcsvc-depfiles) instead of $(objpfx)rpc-proto.d. + ($(objpfx)rpc-proto.d, $(objpfx)rpc-proto.c): Remove rules. + +2003-06-08 Ulrich Drepper + + * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Use setresuid32 + syscall directly if possible. If __ASSUME_SETRESUID_SYSCALL is + defined drop compatibility code. + * sysdeps/unix/sysv/linux/setegid.c (setegid): Use setresgid32 + syscall directly if possible. If __ASSUME_SETRESUID_SYSCALL is + defined drop compatibility code. + * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Use + setresuid32 syscall directly if possible. + * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Use + setresgid32 syscall directly if possible. + * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Make POSIX + compliant. Don't change sgid. + * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Make POSIX + compliant. Don't change suid. + + * config.h.in: Add have-forced-unwind. + * configure.in: Add AC_SUBST(libc_cv_forced_unwind). + +2003-06-07 Ulrich Drepper + + * test-skeleton.c (main): If EXPECTED_STATUS is defined check that + returned status from child matches. + + * Makeconfig (gnulib): Add -lgcc_eh once again. + +2003-06-06 Ulrich Drepper + + * test-skeleton.c (main): Use TEMP_FAILURE_RETRY with waitpid. + + * sysdeps/unix/sysv/linux/i386/sysdep.h (ASMFMT_2): Only allow + %edx for first parameter. This means no pushl and therefore the + unwind info isn't screwed up. + +2003-06-04 Richard Henderson + + * sysdeps/alpha/dl-machine.h (RTLD_START): Fix top-of-stack backtrace. + * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise. + * sysdeps/alpha/elf/start.S: Likewise. Remove pointless allocation. + * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Use standard ldgp + entry sequence and explicit relocs. Add unwind info for sigreturn + and rt_sigreturn. + * configure.in (libc_cv_asm_cfi_directives): Test .cfi_remember_state. + + * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): New. + Annotate some parameters. + * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_semtimedop): New. + + * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Fix typo in conversion. + + * include/libc-symbols.h (symbol_set_declare): Use arrays + of unspecified size. + +2003-06-04 Jakub Jelinek + + * config.make.in (ASFLAGS-config): New. + * Makeconfig (ASFLAGS): Append $(ASFLAGS-config). + * configure.in (libc_cv_as_noexecstack): New check. + (ASFLAGS_config): Substitute. + +2003-06-04 Jakub Jelinek + + * sysdeps/i386/fpu/bits/mathinline.h (log1p, asinh, acosh, atanh, + hypot, logb): Protect with #ifdef __FAST_MATH__. + +2003-06-04 Thorsten Kukuk + + * sysdeps/i386/fpu/bits/mathinline.h (ldexpf, ldexpl): Protect with + #ifdef __FAST_MATH__. + +2003-06-03 Ulrich Drepper + + * sysdeps/generic/glob.c [HAVE_D_TYPE] (glob_in_dir): Also allow + DT_LNK entries if GLOB_ONLYDIR is set [PR libc/5043]. + * posix/globtest.sh: Adjust for this change. + + * sysdeps/unix/sysv/linux/ifaddrs.c (netlink_open): Call getsockname + to get the actual PID value used in the records passed up. + (getifaddrs): Don't initialize nh.pid here. + +2003-06-02 Ulrich Drepper + + * sysdeps/unix/sysv/linux/ifaddrs.c (netlink_receive): Minor + optimization. + + * po/zh_CN.po: Update from translation team. + + * posix/getconf.c (main): Also recognize names without the + _POSIX_ prefix. + + * elf/Makefile (CFLAGS-dl-lookup.c): Define. + +2003-06-02 Bernd Schmidt + + * sysdeps/i386/fpu/bits/mathinline.h (sqrt, __sqrtl, ldexp, + ldexpf, ldexpl): Only define if __FAST_MATH__. + +2003-06-02 Richard C. Bilson + + Replace hard-coded offsets into struct sigcontext with generated file. + * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: New file. + * sysdeps/unix/sysv/linux/ia64/Makefile + [$(subdir) = stdlib] (gen-as-const-headers): Add it. + * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: Include it instead of + defining SC_* macros here. + +2003-06-02 Jakub Jelinek + + * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PID): Remove. + +2003-06-01 Jakub Jelinek + + * sysdeps/i386/dl-machine.h: Include . + +2003-06-01 Ulrich Drepper + + * test-skeleton.c (main): Request getopt to not reorder the + command line. + + * elf/Makefile (CFLAGS-dl-runtime.c): Define. + + * wcsmbs/wcpncpy.c (__wcpncpy): Fix broken implementation to match + stpncpy. + +2003-05-31 Ulrich Drepper + + * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (SA_NOCLDWAIT): Define. + +2003-05-31 Jakub Jelinek + + * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_plt_conflict): + New function. + (elf_machine_rela) : Avoid + RESOLVE_CONFLICT_FIND_MAP. If RESOLVE_CONFLICT_FIND_MAP is defined, + call elf_machine_plt_conflict instead of elf_machine_fixup_plt. + +2003-05-31 Ulrich Drepper + + * sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Add + CFI directives. + + * csu/Makefile: Fix Makefile warnings regarding Scrt1.o. + + * libio/fileops.c (_IO_file_open): Don't mark as inline. + + * sysdeps/ia64/elf/initfini.c (gmon_initializer): Mark with + attribute used. + +2003-05-30 Ulrich Drepper + + * scripts/config.guess: Update from master copy. + * scripts/config.sub: Likewise. + +2003-05-30 Guido Guenther + + * sysdeps/mips/mips64/bsd-_setjmp.S: Include for + SETUP_GP64 and friends. + * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Fix register + names in internal_syscall{6,7}. + * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/mips/pread.c [_MIPS_SIM == _ABI64]: Fix + number of syscall arguments. + * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. + +2003-05-30 Andreas Jaeger + + * sysdeps/x86_64/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): + Add CFI directives. + + * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Add CFI + directives. + + * sysdeps/generic/sysdep.h: Add CFI_* macros for C files. + + * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): + Add CFI directives. + +2003-05-30 Jakub Jelinek + + * sysdeps/powerpc/powerpc32/elf/start.S: Make code compilable with + SHARED. + +2003-05-11 Andreas Schwab + + * Makerules: Always use -MP together with -MD. + (sed-remove-dotot): Substitute $(..) also at start of line. + ($(stdio_lim:h=st)): Use -MD instead of SUNPRO_DEPENDENCIES. + Generated defines with a single compiler call. + Use $(sed-remove-dotdot). + * mach/Makefile ($(objpfx)mach-syscalls.mk): Use -MD instead + of DEPENDENCIES_OUTPUT, and use $(sed-remove-objpfx). + * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): + Use -MD instead of SUNPRO_DEPENDENCIES, and use $(sed-remove-objpfx). + * sysdeps/unix/sysv/linux/mips/Makefile + ($(objpfx)syscall-%.h): Likewise. + +2003-05-28 Roland McGrath + + * malloc/malloc.h [! __GNUC__] (__const): Define if undefined. + +2003-05-26 Aldy Hernandez + + * soft-fp/soft-fp.h (FP_EX_UNDERFLOW): Define to 0. + +2003-05-28 Roland McGrath + + * sysdeps/unix/sysv/linux/ia64/setcontext.S: Pass fourth argument to + rt_sigprocmask system call. + * sysdeps/unix/sysv/linux/ia64/ucontext_i.h (SC_MASK): Fix value. + From Peter A. Buhr . + +2003-05-28 Ulrich Drepper + + * include/libc-symbols.h: Define hidden attribute for real also if + LIBC_NONSHARED is defined. Patch by Jakub Jelinek. + + * csu/Makefile: Add rules to build Scrt1.o. + * sysdeps/i386/elf/start.S: Make code compilable with SHARED. + * sysdeps/x86_64/elf/start.S: Likewise. + +2003-05-27 Jakub Jelinek + + * stdio-common/vfprintf.c (process_arg, process_string_arg): Use + pa_int/pa_u_int instead of pa_short_int, pa_u_short_int and pa_char. + * stdio-common/printf-parse.h (union printf_arg): Remove pa_char, + pa_short_int, pa_u_short_int and pa_float. + +2003-05-26 Jakub Jelinek + + * libio/strops.c (_IO_str_init_static): Change into a wrapper around + _IO_str_init_static_internal. + (_IO_str_init_static_internal): Moved from _IO_str_init_static, + change size argument to _IO_size_t, don't limit sprintf to 64M. + (_IO_str_init_readonly): Call _IO_str_init_static_internal. + * libio/wstrops.c (_IO_wstr_init_static): Change size argument to + _IO_size_t, don't limit swprintf to 256M. + (_IO_wstr_init_readonly): Remove. + * libio/libioP.h (_IO_str_init_static_internal, _IO_wstr_init_static): + Adjust prototypes. + (_IO_wstr_init_readonly): Remove prototype. + * libio/iovsprintf.c (_IO_vsprintf): Use + _IO_str_init_static_internal instead of INTUSE(_IO_str_init_static). + * libio/iovsscanf.c (_IO_vsscanf): Likewise. + * libio/memstream.c (open_memstream): Likewise. + * libio/obprintf.c (_IO_obstack_vfprintf): Likewise. + * libio/vasprintf.c (_IO_vasprintf): Likewise. + * libio/vsnprintf.c (_IO_vsnprintf): Likewise. + * stdio-common/tst-sprintf.c (main): Add new test. + +2003-05-26 Ulrich Drepper + + * stdio-common/vfprintf.c (vfprintf): Be bug-compatible with some + other implementation in respect of multiple uses of parameter with + different types. + +2003-05-25 Ulrich Drepper + + * sysdeps/unix/sysv/linux/kernel-features.h: Define + __ASSUME_FUTEX_REQUEUE for >= 2.5.70. + +2003-05-22 Andreas Jaeger + + * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Add CFI + directives. + * sysdeps/unix/sysv/linux/x86_64/time.S: Likewise. + * sysdeps/x86_64/strtok.S: Likewise. + +2003-05-20 Guido Guenther + + * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Change SI_ASYNCNL + to -60 and define SI_TKILL. + +2003-05-21 H.J. Lu + + * math/test-fenv.c (feexcp_nomask_test): Fix comment. + (feexcp_mask_test): Likewise. + +2003-05-21 Ulrich Drepper + + * locale/programs/locale.c (main): Fix typo in last patch. + + * csu/elf-init.c: Mark __preinit_array_start, __preinit_array_end, + __init_array_start, __init_array_end, __fini_array_start, and + __fini_array_end as hidden. + +2003-05-21 Petter Reinholdtsen + + * locale/programs/locale.c (main): Report an error if setlocale() + fails [PR libc/2254]. + +2003-05-21 Jakub Jelinek + + * sysdeps/unix/sysv/linux/s390/system.c: New file. + +2003-05-21 Jakub Jelinek + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (LOADARGS_0, + LOADARGS_1, LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, + LOADARGS_6): Don't error if syscall argument is a string literal. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (LOADARGS_0, + LOADARGS_1, LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, + LOADARGS_6): Likewise. + +2003-05-21 Andreas Jaeger + + * sysdeps/generic/sysdep.h (cfi_offset, cfi_startproc, + cfi_endproc, cfi_def_cfa, cfi_def_ccfa_register, + cfi_def_cfa_offset, cfi_adjust_cfa_offset, cfi_offset): Define. + + * sysdeps/x86_64/sysdep.h (CALL_MCOUNT): Add cfi directives. + (ENTRY): Likewise. + (END): Likewise. + + * configure.in: Test for asm cfi directives. + + * config.h.in: Add HAVE_ASM_CFI_DIRECTIVES. + +2003-05-17 Andreas Jaeger + + * sysdeps/unix/sysv/linux/x86_64/syscall.S: Revert last patch. + + * rt/tst-clock_nanosleep.c: Include for clock_nanosleep. + +2003-05-16 Ulrich Drepper + + * rt/Makefile (tests): Add tst-clock_nanosleep. + * rt/tst-clock_nanosleep.c: New file. + * posix/Makefile (tests): Add tst-nanosleep. + * posix/tst-nanosleep.c: New file. + + * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P): Fix definition. + + * include/features.h (__USE_XOPEN2K): Define also for + _POSIX_C_SOURCE>=200112L. + + * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Fold + SI_TKILL code into SI_USER. + * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Likewise. + + * sysdeps/posix/sigpause.c (do_sigpause): Use sigdelset after all. + +2003-05-15 Jakub Jelinek + + * sysdeps/powerpc/powerpc32/dl-machine.c (_dl_reloc_overflow): + Remove sym argument, always use refsym. + (__process_machine_rela): Adjust callers. + * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow): + Likewise. + * sysdeps/powerpc/powerpc32/dl-machine.h (_dl_reloc_overflow): + Adjust prototype. + * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise. + +2003-05-15 Ulrich Drepper + + * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Fix typo + (DL_NEED_SYSINFO -> NEED_DL_SYSINFO). If aux value is not known + print numeric values. + +2003-05-12 Thorsten Kukuk + + * inet/netinet/igmp.h: Sync with Linux Kernel 2.5.69 and *BSD. + +2003-05-14 Andreas Schwab + + * sysdeps/unix/sysv/linux/ia64/umount.c: New file. + +2003-05-14 Jakub Jelinek + + * elf/rtld.c (dl_main): For LD_TRACE_PRELINKING print search scope + even if no DT_NEEDED is present. + +2003-05-13 David Mosberger + + * sysdeps/unix/sysv/linux/ia64/setjmp.S: Fix the fix from + 2003-03-27: setjmp is NOT a leaf-routine (due to the call to + __sigjmp_save) so we can't keep the saved unat value in a scratch + register (r16). Use loc2 instead. + +2003-05-13 Ulrich Drepper + + * csu/Makefile: Do compile elf-init with PIC flag since in dynamic + binaries it has to be relocatable. + + * sysdeps/unix/sysv/linux/waitpid.c: Use waitpid syscall is available. + +2003-05-12 Steven Munroe + + * sysdeps/powerpc/bits/atomic.h + (__arch_compare_and_exchange_bool_8_rel): Define. + (__arch_compare_and_exchange_bool_16_rel): Define. + (__ARCH_REL_INSTR): Define if not already defined. + (__arch_atomic_exchange_and_add_32): Add "memory" to clobber list. + (__arch_atomic_decrement_if_positive_32): + Add "memory" to clobber list. + (__arch_compare_and_exchange_val_32_acq): Remove release sync. + (__arch_compare_and_exchange_val_32_rel): Define. + (__arch_atomic_exchange_32): Remove. + (__arch_atomic_exchange_32_acq): Define. + (__arch_atomic_exchange_32_rel): Define. + (atomic_compare_and_exchange_val_rel): Define. + (atomic_exchange_acq): Use __arch_atomic_exchange_*_acq forms. + (atomic_exchange_rel): Define. + * sysdeps/powerpc/powerpc32/bits/atomic.h + (__arch_compare_and_exchange_bool_32_acq): Remove release sync. + (__arch_compare_and_exchange_bool_32_rel): Define. + (__arch_compare_and_exchange_bool_64_rel): Define. + (__arch_compare_and_exchange_val_64_rel): Define. + (__arch_atomic_exchange_64): Remove. + (__arch_atomic_exchange_64_acq): Define. + (__arch_atomic_exchange_64_rel): Define. + * sysdeps/powerpc/powerpc64/bits/atomic.h + (__arch_compare_and_exchange_bool_32_rel): Define. + (__arch_compare_and_exchange_bool_64_acq): Remove release sync. + (__arch_compare_and_exchange_bool_64_rel): Define. + (__arch_compare_and_exchange_val_64_acq): Remove release sync. + (__arch_compare_and_exchange_val_64_rel): Define. + (__arch_atomic_exchange_64): Remove. + (__arch_atomic_exchange_64_acq): Define. + (__arch_atomic_exchange_64_rel): Define. + (__arch_atomic_exchange_and_add_64): Add "memory" to clobber list. + (__arch_atomic_decrement_if_positive_64): + Add "memory" to clobber list. + [!UP](__ARCH_REL_INSTR): Define as lwsync. + +2003-05-11 Andreas Schwab + + * io/Makefile ($(objpfx)ftwtest.out): Use absolute file names. + +2003-05-11 Ulrich Drepper + + * time/tst-strftime.c (do_test): Add tests for - flag. + +2003-05-11 Jim Meyering + + * time/strftime.c (my_strftime): Let the `-' (no-pad) flag affect + the space-padded-by-default conversion specifiers, %e, %k, %l. + +2003-05-11 Andreas Schwab + + * sysdeps/generic/sched_setaffinity.c: Fix parameter name. + +2003-05-10 Ulrich Drepper + + * sysdeps/generic/bits/sched.h: Define cpu_set_t only if not + already defined and when really needed. + * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. + +2003-05-09 Thorsten Kukuk + + * sysdeps/unix/sysv/linux/netinet/igmp.h: Don't include kernel + headers, add defines from kernel header, move it from here... + * inet/netinet/igmp.h: ... to here. + * inet/Makefile (headers): Add netinet/igmp.h. + * sysdeps/unix/sysv/linux/Makefile: Remove netinet/igmp.h. + * sysdeps/unix/sysv/linux/Dist: Remove netinet/igmp.h. + +2003-05-10 Ulrich Drepper + + * sysdeps/pthread/lio_listio64.c (lio_listio64): If SIG == NULL, + use dummy sigevent structure with SIGEV_NONE [PR libc/5015]. + +2003-05-09 Thorsten Kukuk + + * libio/bits/stdio.h: Sync prototypes with libio/stdio.h + (remove __THROW from possible cancellation points). + +2003-05-10 Ulrich Drepper + + * posix/sched.h (CPU_SETSIZE): Define. + +2003-05-09 Ulrich Drepper + + * Makeconfig (gnulib): Remove -lgcc_eh again. + + * posix/sched.h: Change prototypes of sched_getaffinity and + sched_setaffinity. Define CPU_SET, CPU_CLR, CPU_ISSET, and CPU_ZERO. + * sysdeps/generic/sched_getaffinity.c: Adjust definition. + * sysdeps/generic/sched_setaffinity.c: Likewise. + * sysdeps/generic/bits/sched.h: Define __CPU_SETSIZE, __NCPUBITS, + __CPUELT, __CPUMASK, cpu_set_t, __cpu_mask, __CPU_ZERO, __CPU_SET, + __CPU_CLR, and __CPU_ISSET. + * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. + * sysdeps/unix/sysv/linux/sched_getaffinity.c: New file. + * sysdeps/unix/sysv/linux/sched_setaffinity.c: New file. + + * include/atomic.h (atomic_exchange_acq): Renamed from atomic_exchange. + (atomic_exchange_rel): New #define. + * sysdeps/ia64/bits/atomic.h: Likewise. + * sysdeps/i386/i486/bits/atomic.h (atomic_exchange_acq): Renamed from + atomic_exchange. + * sysdeps/m68k/m68020/bits/atomic.h: Likewise. + * sysdeps/powerpc/bits/atomic.h: Likewise. + * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Likewise. + * sysdeps/sparc/sparc64/bits/atomic.h: Likewise. + * sysdeps/x86_64/bits/atomic.h: Likewise. + * csu/tst-atomic.c: Use atomic_exchange_acq instead of atomic_exchange. + + * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: New file. + +2003-05-08 Ulrich Drepper + + * malloc/thread-m.h: Remove special handling of thread_atfork if + HAVE_register_atfork_malloc is defined. + +2003-05-07 Andreas Jaeger + + * sysdeps/unix/sysv/linux/x86_64/syscall.S: Add DWARF2 unwind + information. + +2003-05-06 Ulrich Drepper + + * libio/oldiofdopen.c (_IO_old_fdopen): Use _IO_old_init not _IO_init. + * libio/oldiofopen.c (_IO_old_fopen): Likewise. + * libio/libioP.h: Declare _IO_old_init. + * libio/genops.c (_IO_no_init): Split in two. New function + _IO_old_init. + +2003-05-05 Ulrich Drepper + + * sysdeps/generic/enbl-secure.c (__libc_enable_secure_decided): New + variable. + (__libc_init_secure): Don't do anything if __libc_enable_secure_decided + is nonzero. + * include/unistd.h: Declare __libc_enable_secure_decided. + * elf/dl-support.c (_dl_aux_init): Recognize AT_UID, AT_EUID, AT_GID, + and AT_EGID. If all found, set __libc_enable_secure and + __libc_enable_secure_decided. + + * sysdeps/generic/libc-start.c [!SHARED]: Call + __libc_check_standard_fds after __libc_init_first. + +2003-05-05 Roland McGrath + + * Makerules (common-before-compile): New variable. + ($(common-objpfx)%.make): Depend on that instead of $(before-compile). + ($(common-objpfx)%.h $(common-objpfx)%.h.d): Likewise. Move this rule + to after all setting of before-compile. + +2003-05-05 Jakub Jelinek + + * sysdeps/ia64/bits/atomic.h (__arch_compare_and_exchange_val_8_acq, + __arch_compare_and_exchange_val_16_acq): Cast 0 to mem's type. + * sysdeps/powerpc/powerpc32/bits/atomic.h + (__arch_compare_and_exchange_val_64_acq): Likewise. + * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h + (__arch_compare_and_exchange_val_8_acq, + __arch_compare_and_exchange_val_16_acq, + __arch_compare_and_exchange_val_64_acq): Likewise. + * sysdeps/sparc/sparc64/bits/atomic.h + (__arch_compare_and_exchange_val_8_acq, + __arch_compare_and_exchange_val_16_acq): Likewise. + * sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_8_acq, + __arch_compare_and_exchange_val_16_acq, + __arch_compare_and_exchange_val_64_acq): Likewise. + * sysdeps/unix/sysv/linux/sh/bits/atomic.h + (__arch_compare_and_exchange_val_64_acq): Likewise. + * sysdeps/s390/s390-64/backtrace.c (__backtrace): Add cast to shut + up warning. + * sysdeps/s390/fpu/fegetenv.c (fegetenv): Likewise. + + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h + (INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0): + Return long instead of int. + (INTERNAL_SYSCALL_ERROR_P): Cast val to unsigned long, replace + 0xfffff001u with -4095UL. + +2003-05-05 Andreas Jaeger + + * sysdeps/x86_64/fpu_control.h: New from i386. + + * sysdeps/unix/sysv/linux/x86_64/sysdep.h (__NR_semtimedop): + Define if not defined. + + * sunrpc/Makefile (generated-dirs): New variable. + * resolv/Makefile (generated): New variable. + +2003-05-04 Roland McGrath + + * csu/Makefile ($(csu-dummies) target rule): Don't use a temp C file. + Depend on $(before-compile). + + * csu/Makefile ($(objpfx)crt%.o): Replace implicit rule with a static + pattern rule. The implicit rule could be ruled out when $(objpfx) + didn't exist at the time of its consideration (ugh!). + + * Makerules (+make-deps): Fix target matching. + Use $(sed-remove-dotdot). + +2003-05-03 Ulrich Drepper + + * nscd/nscd.c (main): Parse config file right after parsing + parameters. Then, if get_stats is true, call receive_print_stats. + Drop parameter from nscd_init call. + (get_stats): New variable. + (parse_opt): Set get_stats, don't call receive_print_stats here. + * nscd/nscd.h: Declare dbs, stat_user, and stat_uid. Adjust nscd_init + prototype. + * nscd/connections.c (stat_user, stat_uid): New variables. + (dbs): Make global. + (nscd_init): Don't read configuration file here. Drop parameter. + (handle_request): Cleanup handling of non-database lookup requests. + * nscd/nscd_conf.c (nscd_parse_file): Recognize stat-user entry. + Get UID of the specified user. Use xstrdup instead of strdup. + * nscd/nscd_stat.c (receive_print_stats): Check UID. If not zero, + check stat_user. + * nscd/Makefile (nscd-modules): Add xstrdup. + * nscd/nscd.conf: Document stat-user entry. + +2003-05-03 H.J. Lu + + * sysdeps/unix/sysv/linux/ia64/sysdep.h (__NR_semtimedop): Define + if not defined. + +2003-04-22 Roland McGrath + + * elf/elf.h (AT_SYSINFO_EHDR): New macro, replaces AT_SYSINFO_EH_FRAME. + * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove + dl_sysinfo_eh_frame member, add dl_sysinfo_dso member instead. + * elf/dl-support.c: Update defn. + * sysdeps/generic/libc-start.c: Don't call __register_frame_info_bases. + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]: + Set GL(dl_sysinfo_dso) from AT_SYSINFO_EHDR. + (_dl_show_auxv): Grok AT_SYSINFO_EHDR, not AT_SYSINFO_EH_FRAME. + * elf/rtld.c (dl_main) [NEED_DL_SYSINFO]: If GL(dl_sysinfo_dso) is + set, set up a link_map for the preloaded, prelinked object. + +2003-05-03 Roland McGrath + + * sysdeps/gnu/Makefile (generated): Append errlist-compat.c here, ... + * stdio-common/Makefile: ... not here. + + * csu/Makefile ($(objpfx)initfini.s): Depend on $(before-compile). + * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise. + +2003-05-02 Ulrich Drepper + + * sysdeps/unix/sysv/linux/s390/semtimedop.c: New file. + + * sysdeps/unix/sysv/linux/alpha/ipc_priv.h (IPCOP_semtimedop): Define. + + * sysdeps/generic/dl-fptr.c (_dl_make_fptr): Use 0 not NULL for + comparing ftab elements. + (_dl_unmap): Fix typo in test. + (_dl_make_fptr): Fix typos introduced in last change. + + * sysdeps/generic/dl-fptr.c: Put back one optimization from the + original patch. Use non-exported symbols. Mark translatable + strings. Pretty printing. + +2003-05-02 Roland McGrath + + * Makerules (do-stamp): Do $(make-target-directory). + +2003-04-07 H.J. Lu + + * sysdeps/generic/dl-fptr.c: Modify to remove the lock. + +2003-04-03 H.J. Lu + + * sysdeps/ia64/dl-fptr.c: Moved to ... + * sysdeps/generic/dl-fptr.c: Here. + + * sysdeps/generic/dl-fptr.h: New. + * sysdeps/ia64/dl-fptr.h: New. + + * sysdeps/ia64/dl-symaddr.c: Moved to ... + * sysdeps/generic/dl-symaddr.c: here. + + * sysdeps/ia64/dl-machine.h: Include . + (IA64_BOOT_FPTR_TABLE_LEN): Removed. + (ia64_fdesc): Likewise. + (ia64_fdesc_table): Likewise. + (__ia64_make_fptr): Likewise. + (__ia64_init_bootstrap_fdesc_table): Replace __ia64_boot_fptr_table + with _dl_boot_fptr_table. + (elf_machine_runtime_setup): Replace `struct ia64_fdesc' with + `struct fdesc'. + (elf_machine_rela): Replace __ia64_make_fptr with _dl_make_fptr. + +2003-05-01 Roland McGrath + + * sysdeps/generic/bp-thunks.h: Protect includes with [!__ASSEMBLER__]. + * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise. + + * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): + Use $(make-target-directory). + * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise. + + * Makerules (compile-mkdep-flags): New variable, pass -MD -MF $@.d. + (compile-command.S): Don't use ifndef. Append $(compile-mkdep-flags). + (compile-command.s, compile-command.c): Likewise. + ($(objpfx)%.d): All such pattern rules removed. + ($(+sysdir_pfx)sysd-rules): Don't generate them. + ($(common-objpfx)dummy.d): Target removed. + (make-dummy-dep): Variable removed. + (generate-md5): Likewise. + (%.d: %.dt): New pattern rule. + (+depfiles): Use $(wildcard) function to get just existing *.d files + and .d files for existing *.dt files. + (common-clean): Remove all *.d and *.dt files. + (before-compile): Add $(objpfx). when it doesn't exist, + regardless of $(no_deps). + * elf/rtld-Rules ($(objpfx)rtld-%.d): All such pattern rules removed. + (rtld-depfiles): Use .os.d instead of .d names. + Include existing *.d files and .d files for existing *.dt files. + + * Makerules ($(common-objpfx)%.make): Protect with [! subdir]. + Use -MD, -MT and -MF flags instead of SUNPRO_DEPENDENCIES variable. + + * sysdeps/unix/Makefile ($(common-objpfx)s-%.d): Remove compat.h hack. + Do s-*.d includes only if we have some syscall routines in this subdir. + + * include/libc-symbols.h (libc_freeres_ptr): Use %nobits instead of + @nobits. The former is accepted by gas on any ELF platform. + +2003-05-01 Ulrich Drepper + + * sysdeps/unix/sysv/linux/semtimedop.c: New file. + + * malloc/malloc.c (mSTATs): Call ptmalloc_init if necessary. + +2003-04-29 Andreas Schwab + + * string/test-strcat.c (do_one_test): Fix attribute name. + +2003-04-30 Alexandre Oliva + + * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (ucontext): Make + uc_flags long for all ABIs. + +2003-04-30 Andreas Jaeger + + * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h + (DR_CONTROL_RESERVED): Use correct value for 64-bit. + Reported by Andrew Derrick Balsa . + Add bi-arch support. + +2003-04-30 Ulrich Drepper + + * malloc/malloc.c (mEMALIGn): Define alias __memalign_internal. + (__posix_memalign): Use __memalign_internal instead of memalign. + +2003-04-29 Roland McGrath + + * configure.in: Search for AUTOCONF unconditionally. + Just don't complain about missing it under --without-cvs. + + * include/libc-symbols.h (__symbol_set_attribute): New macro, + give hidden for [SHARED] and weak for [! SHARED]. + (symbol_set_declare): Use that. Never need weak_extern these days. + * Makerules ($(common-objpfx)shlib.lds): Go back to using PROVIDE. + Depend on $(..)Makerules. + +2003-04-29 Ulrich Drepper + + * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Use __ protected + variants of socket, bind, recvmsg, and sendto. + + * sysdeps/i386/fpu/ftestexcept.c: Also check SSE status word. + + * include/signal.h: Use libc_hidden_proto for sigaddset and sigdelset. + * signal/sigaddset.c: Add libc_hidden_def. + * signal/sigdelset.c: Likewise. + +2003-04-29 Jakub Jelinek + + * sysdeps/i386/i486/string-inlines.c (__memcpy_g, __strchr_g): Move + to the end of the file. + + * configure.in: Change __oline__ to $LINENO. + (HAVE_BUILTIN_REDIRECTION): New check. + * config.h.in (HAVE_BUILTIN_REDIRECTION): Add. + * include/libc-symbols.h (libc_hidden_builtin_proto, + libc_hidden_builtin_def, libc_hidden_builtin_weak, + libc_hidden_builtin_ver): Define. + * include/string.h (memchr, memcpy, memmove, memset, strcat, strchr, + strcmp, strcpy, strcspn, strlen, strncmp, strncpy, strpbrk, strrchr, + strspn, strstr): Add libc_hidden_builtin_proto. + * intl/plural.y: Include string.h. + * sysdeps/alpha/alphaev6/memchr.S (memchr): Add + libc_hidden_builtin_def. + * sysdeps/alpha/alphaev6/memcpy.S (memcpy): Likewise. + * sysdeps/alpha/alphaev6/memset.S (memset): Likewise. + * sysdeps/alpha/alphaev67/strcat.S (strcat): Likewise. + * sysdeps/alpha/alphaev67/strchr.S (strchr): Likewise. + * sysdeps/alpha/alphaev67/strlen.S (strlen): Likewise. + * sysdeps/alpha/alphaev67/strrchr.S (strrchr): Likewise. + * sysdeps/alpha/memchr.S (memchr): Likewise. + * sysdeps/alpha/memset.S (memset): Likewise. + * sysdeps/alpha/strcat.S (strcat): Likewise. + * sysdeps/alpha/strchr.S (strchr): Likewise. + * sysdeps/alpha/strcmp.S (strcmp): Likewise. + * sysdeps/alpha/strcpy.S (strcpy): Likewise. + * sysdeps/alpha/strlen.S (strlen): Likewise. + * sysdeps/alpha/strncmp.S (strncmp): Likewise. + * sysdeps/alpha/strncpy.S (strncpy): Likewise. + * sysdeps/alpha/strrchr.S (strrchr): Likewise. + * sysdeps/arm/memset.S (memset): Likewise. + * sysdeps/arm/strlen.S (strlen): Likewise. + * sysdeps/generic/memchr.c (memchr): Likewise. + * sysdeps/generic/memcpy.c (memcpy): Likewise. + * sysdeps/generic/memmove.c (memmove): Likewise. + * sysdeps/generic/memset.c (memset): Likewise. + * sysdeps/generic/strcat.c (strcat): Likewise. + * sysdeps/generic/strchr.c (strchr): Likewise. + * sysdeps/generic/strcmp.c (strcmp): Likewise. + * sysdeps/generic/strcpy.c (strcpy): Likewise. + * sysdeps/generic/strcspn.c (strcspn): Likewise. + * sysdeps/generic/strlen.c (strlen): Likewise. + * sysdeps/generic/strncmp.c (strncmp): Likewise. + * sysdeps/generic/strncpy.c (strncpy): Likewise. + * sysdeps/generic/strpbrk.c (strpbrk): Likewise. + * sysdeps/generic/strrchr.c (strrchr): Likewise. + * sysdeps/generic/strspn.c (strspn): Likewise. + * sysdeps/generic/strstr.c (strstr): Likewise. + * sysdeps/i386/i486/strcat.S (strcat): Likewise. + * sysdeps/i386/i486/strlen.S (strlen): Likewise. + * sysdeps/i386/i586/memcpy.S (memcpy): Likewise. + * sysdeps/i386/i586/memset.S (memset): Likewise. + * sysdeps/i386/i586/strchr.S (strchr): Likewise. + * sysdeps/i386/i586/strcpy.S (strcpy): Likewise. + * sysdeps/i386/i586/strlen.S (strlen): Likewise. + * sysdeps/i386/i686/memcpy.S (memcpy): Likewise. + * sysdeps/i386/i686/memmove.S (memmove): Likewise. + * sysdeps/i386/i686/memset.S (memset): Likewise. + * sysdeps/i386/i686/strcmp.S (strcmp): Likewise. + * sysdeps/i386/memchr.S (memchr): Likewise. + * sysdeps/i386/memset.c (memset): Likewise. + * sysdeps/i386/strchr.S (strchr): Likewise. + * sysdeps/i386/strcspn.S (strcspn): Likewise. + * sysdeps/i386/strlen.c (strlen): Likewise. + * sysdeps/i386/strpbrk.S (strpbrk): Likewise. + * sysdeps/i386/strrchr.S (strrchr): Likewise. + * sysdeps/i386/strspn.S (strspn): Likewise. + * sysdeps/ia64/memchr.S (memchr): Likewise. + * sysdeps/ia64/memcpy.S (memcpy): Likewise. + * sysdeps/ia64/memmove.S (memmove): Likewise. + * sysdeps/ia64/memset.S (memset): Likewise. + * sysdeps/ia64/strcat.S (strcat): Likewise. + * sysdeps/ia64/strchr.S (strchr): Likewise. + * sysdeps/ia64/strcmp.S (strcmp): Likewise. + * sysdeps/ia64/strcpy.S (strcpy): Likewise. + * sysdeps/ia64/strlen.S (strlen): Likewise. + * sysdeps/ia64/strncmp.S (strncmp): Likewise. + * sysdeps/ia64/strncpy.S (strncpy): Likewise. + * sysdeps/m68k/memchr.S (memchr): Likewise. + * sysdeps/m68k/strchr.S (strchr): Likewise. + * sysdeps/mips/mips64/memcpy.S (memcpy): Likewise. + * sysdeps/mips/mips64/memset.S (memset): Likewise. + * sysdeps/mips/memcpy.S (memcpy): Likewise. + * sysdeps/mips/memset.S (memset): Likewise. + * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise. + * sysdeps/powerpc/powerpc32/strchr.S (strchr): Likewise. + * sysdeps/powerpc/powerpc32/strcmp.S (strcmp): Likewise. + * sysdeps/powerpc/powerpc32/strcpy.S (strcpy): Likewise. + * sysdeps/powerpc/powerpc32/strlen.S (strlen): Likewise. + * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise. + * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise. + * sysdeps/powerpc/powerpc64/strchr.S (strchr): Likewise. + * sysdeps/powerpc/powerpc64/strcmp.S (strcmp): Likewise. + * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Likewise. + * sysdeps/powerpc/powerpc64/strlen.S (strlen): Likewise. + * sysdeps/powerpc/strcat.c (strcat): Likewise. + * sysdeps/sparc/sparc32/memchr.S (memchr): Likewise. + * sysdeps/sparc/sparc32/memcpy.S (memcpy): Likewise. + * sysdeps/sparc/sparc32/memset.S (memset): Likewise. + * sysdeps/sparc/sparc32/strcat.S (strcat): Likewise. + * sysdeps/sparc/sparc32/strchr.S (strchr, strrchr): Likewise. + * sysdeps/sparc/sparc32/strcmp.S (strcmp): Likewise. + * sysdeps/sparc/sparc32/strcpy.S (strcpy): Likewise. + * sysdeps/sparc/sparc32/strlen.S (strlen): Likewise. + * sysdeps/sparc/sparc64/sparcv9b/memcpy.S (memcpy, memmove): Likewise. + * sysdeps/sparc/sparc64/memchr.S (memchr): Likewise. + * sysdeps/sparc/sparc64/memcpy.S (memcpy, memmove): Likewise. + * sysdeps/sparc/sparc64/memset.S (memset): Likewise. + * sysdeps/sparc/sparc64/strcat.S (strcat): Likewise. + * sysdeps/sparc/sparc64/strchr.S (strchr, strrchr): Likewise. + * sysdeps/sparc/sparc64/strcmp.S (strcmp): Likewise. + * sysdeps/sparc/sparc64/strcpy.S (strcpy): Likewise. + * sysdeps/sparc/sparc64/strcspn.S (strcspn): Likewise. + * sysdeps/sparc/sparc64/strlen.S (strlen): Likewise. + * sysdeps/sparc/sparc64/strncmp.S (strncmp): Likewise. + * sysdeps/sparc/sparc64/strncpy.S (strncpy): Likewise. + * sysdeps/sparc/sparc64/strpbrk.S (strpbrk): Likewise. + * sysdeps/sparc/sparc64/strspn.S (strspn): Likewise. + * sysdeps/sh/memcpy.S (memcpy): Likewise. + * sysdeps/sh/memset.S (memset): Likewise. + * sysdeps/sh/strlen.S (strlen): Likewise. + * sysdeps/s390/s390-32/memchr.S (memchr): Likewise. + * sysdeps/s390/s390-32/memcpy.S (memcpy): Likewise. + * sysdeps/s390/s390-32/memset.S (memset): Likewise. + * sysdeps/s390/s390-32/strcmp.S (strcmp): Likewise. + * sysdeps/s390/s390-32/strcpy.S (strcpy): Likewise. + * sysdeps/s390/s390-32/strncpy.S (strncpy): Likewise. + * sysdeps/s390/s390-64/memchr.S (memchr): Likewise. + * sysdeps/s390/s390-64/memcpy.S (memcpy): Likewise. + * sysdeps/s390/s390-64/memset.S (memset): Likewise. + * sysdeps/s390/s390-64/strcmp.S (strcmp): Likewise. + * sysdeps/s390/s390-64/strcpy.S (strcpy): Likewise. + * sysdeps/s390/s390-64/strncpy.S (strncpy): Likewise. + * sysdeps/x86_64/memcpy.S (memcpy): Likewise. + * sysdeps/x86_64/memset.S (memset): Likewise. + * sysdeps/x86_64/strcat.S (strcat): Likewise. + * sysdeps/x86_64/strchr.S (strchr): Likewise. + * sysdeps/x86_64/strcmp.S (strcmp): Likewise. + * sysdeps/x86_64/strcpy.S (strcpy): Likewise. + * sysdeps/x86_64/strcspn.S (strcspn): Likewise. + * sysdeps/x86_64/strlen.S (strlen): Likewise. + * sysdeps/x86_64/strspn.S (strspn): Likewise. + * string/string-inlines.c: Move... + * sysdeps/generic/string-inlines.c: ...here. + (__memcpy_g, __strchr_g): Remove. + (__NO_INLINE__): Define before including , + undefine after. Include bits/string.h and bits/string2.h. + * sysdeps/i386/i486/string-inlines.c: New file. + * sysdeps/i386/string-inlines.c: New file. + * sysdeps/i386/i486/Versions: Remove. + All GLIBC_2.1.1 symbols moved... + * sysdeps/i386/Versions (libc): ...here. + +2003-04-29 Ulrich Drepper + + * sysdeps/i386/fpu/Makefile: New file. + * sysdeps/i386/fpu/fedisblxcpt.c: Also set SSE control word. + * sysdeps/i386/fpu/feenablxcpt.c: Likewise. + * sysdeps/i386/fpu/feholdexcpt.c: Likewise. + * sysdeps/i386/fpu/fesetround.c: Also set SSE rounding mode + [PR libc/4987]. + +2003-04-28 Ulrich Drepper + + * nscd/nscd_getgr_r.c: Compact code a bit. Add some __builtin_expect. + * nscd/nscd_getpw_r.c: Likewise. + * nscd/nscd_gethst_r.c: Likewise. + +2003-04-27 Ulrich Drepper + + * nscd/pwdcache.c: Initialize .version element in result. + * nscd/grpcache.c: Likewise. + * nscd/pwdcache.c: Likewise. + +2003-04-27 Andreas Schwab + + * Makeconfig ($(common-objpfx)sysd-sorted): Fix for running in + subdirectory. + +2003-04-27 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/semtimedop.S: New file. + +2003-04-27 Ulrich Drepper + + * nscd/connections.c (client_queued): New variable. + (nscd_run): Revamp the loop. Don't call poll except for cleanup + threads. Keep track of the number of delays caused because of busy + worker threads. + * nscd/nscd.h: Declare client_queued. + * nscd/nscd_stat.c: Transmit and print client_queued information. + + * locale/programs/locale.c (show_info): Use '\177' instead of CHAR_MAX. + + * Makerules ($(common-objpfx)shlib.lds): Don't use PROVIDE to + define __start_libc_freeres_ptrs and __stop___libc_freeres_ptrs. + +2003-04-26 Ulrich Drepper + + * elf/dl-close.c [USE_TLS && TLS_TCB_AT_TP] (_dl_close): Reimplement + tracking of freed memory in static TLS block. + * elf/Makefile: Add rules to build and run tst-tls13. + * elf/tst-tls13.c: New file. + * elf/tst-tlsmod13.c: New file. + * elf/tst-tlsmod13a.c: New file. + + * elf/tst-tls8.c: Adjust types of variables to avoid warnings. + + * elf/dl-reloc.c: Pretty printing. + +2003-04-26 Roland McGrath + + * Makerules ($(common-objpfx)shlib.lds): New target. + (common-generated): Add it. + (build-shlib, build-module): Use that instead of generating every time. + ($(common-objpfx)libc.so): Depend on it. + (lib%.so rule): Likewise. + (build-module-helper-objlist): Remove %.lds. + (LDSEDCMD-c.so): Variable removed. + * iconvdata/extra-module.mk ($(objpfx)$(mod).so): + Depend on $(common-objpfx)shlib.lds. + * dlfcn/Makefile ($(test-modules)): Likewise. + +2003-04-26 Roland McGrath + + * sysdeps/mach/hurd/tmpfile.c: Remove USE_IN_LIBIO conditionals. + +2003-04-26 Andreas Schwab + + * elf/dl-close.c (remove_slotinfo): Fix missing parens. + +2003-04-25 Ulrich Drepper + + * nscd/cache.c (cache_search): Keep track of how many chain links + we searched and update table statistics. + (cache_add): Keep track of how many values are in the table. + (prune_cache): Likewise. Keep track of locking success. + Print messages about removed entries in separate pass. + * nscd/connections.c (handle_request): Don't print debug message here. + The caller will do it. Keep track of locking success. + (nscd_run): Print debug message. Also print PID of the client process. + * nscd/nscd.c (start_time): New variable. + (main): Remember start time. + * nscd/nscd.h: Declare start_time. + (struct database): Add more members for new statistics. + * nscd/nscd_stat.c: Add support for sending, receiving, and printing + of new statistics. + + * sysdeps/posix/getaddrinfo.c: Include . + +2003-04-22 Jakub Jelinek + + * include/link.h (NO_TLS_OFFSET): Define to 0 if not defined. + * elf/dl-close.c (_dl_close): Use NO_TLS_OFFSET. + * elf/dl-object.c (_dl_new_object): Initialize l_tls_offset to + NO_TLS_OFFSET. + * elf/rtld.c (_dl_start_final, _dl_start): Likewise. + * elf/dl-reloc.c (CHECK_STATIC_TLS): Use NO_TLS_OFFSET. + * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Likewise. + * sysdeps/powerpc/dl-tls.h (TLS_TPREL_VALUE): Don't subtract + TLS_TCB_SIZE. + +2003-04-24 Ulrich Drepper + + * nss/getent.c: Implement alternative host database lookup via + getaddrinfo. + + * include/ifaddrs.h: New file. + * include/netdb.h: Move definitions of AI_V4MAPPED, AI_ALL, and + AI_ADDRCONFIG... + * resolv/netdb.h: ...here. + * sysdeps/gnu/ifaddrs.c. Use libc_hidden_def where appropriate. + * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise. + * sysdeps/posix/getaddrinfo.c: Implement AI_V4MAPPED, AI_ALL, and + AI_ADDRCONFIG. + +2003-04-24 Roland McGrath + + * elf/dl-reloc.c (_dl_allocate_static_tls): Add internal_function. + +2003-04-24 Jakub Jelinek + + * elf/dl-reloc.c (allocate_static_tls): Rename to... + (_dl_allocate_static_tls): ... this function. No longer static. + (CHECK_STATIC_TLS): Adjust. + * sysdeps/generic/ldsodefs.h (_dl_allocate_static_tls): New prototype. + * sysdeps/powerpc/powerpc32/dl-machine.h (__process_machine_rela): + Add SYM_MAP argument. + (elf_machine_rela): Adjust caller. Declare SYM_MAP unconditionally. + Check if SYM_MAP != NULL for R_PPC_DTPREL32. Only handle 32-bit + TLS relocs here. #ifdef out relocs which never appear in + .gnu.conflict section from dl-conflict.c processing. + * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela): + Add SYM_MAP argument. Handle 16-bit TLS relocs here. + + * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): #ifdef + out relocs which never appear in .gnu.conflict section from + dl-conflict.c processing. + * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise. + * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise. * sysdeps/i386/dl-machine.h (elf_machine_rela): Likewise. + Use r_type in RESOLVE macro. -2004-05-12 Andreas Schwab +2003-04-23 Ulrich Drepper - * posix/regex_internal.c (build_wcs_buffer): Also set pstr->mbs - when translating. + * nis/ypclnt.c (__yp_bind): Expect YPDB parameter to always be != + NULL. Remove code made redundant by this assumption. + (__yp_unbind): Add call to free. Adjust all callers. -2004-05-13 H.J. Lu + * nis/ypclnt.c (yp_all): Free the dom_binding object after + unbinding it. - * Rules (xtests): Depend on tests. + * grp/initgroups.c (getgrouplist): Don't copy too much into the + user buffer if more groups are found than fit into it. -2004-05-13 Jakub Jelinek + * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Use + extend_alloca. - * libio/genops.c (_IO_default_xsputn): Avoid one overflow per char if - count is negative, yet write_ptr < write_end. - (_IO_default_xsgetn): Avoid one underflow per char if count is - negative, yet read_ptr < read_end. +2003-04-23 Jakub Jelinek -2004-05-12 Steven Munroe + * sysdeps/posix/getaddrinfo.c (gaih_inet): Check for rc == ERANGE, + not rc == errno. Use extend_alloca. - * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XTABS): Define XTABS - equal to TAB3. + * elf/tst-tls12.c (main): Fix declaration. + * elf/tst-tls10.c (dummy): Make hidden instead of static. + * elf/tst-tlsmod7.c (dummy): Likewise. + * elf/tst-tlsmod8.c (dummy): Likewise. + * elf/tst-tlsmod9.c (dummy): Likewise. -2004-05-12 Ulrich Drepper +2003-04-22 Roland McGrath - * elf/dl-lookup.c (_dl_lookup_symbol_x): Correct _dl_signal_cerror - call. + * sysdeps/unix/sysv/linux/not-cancel.h: Put parens around macro args. + (open_not_cancel): Make last argument non-optional. + * sysdeps/generic/check_fds.c (check_one_fd): Update caller. + * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise. + * iconv/gconv_cache.c (__gconv_load_cache): Likewise. -2004-05-10 Roland McGrath + * include/tls.h: Protect against multiple inclusion. - * hurd/hurdlookup.c (__hurd_file_name_split): Return ENOENT for "". - (__hurd_directory_name_split): Likewise. +2003-04-22 Ulrich Drepper -2004-05-10 Ulrich Drepper + * nscd/nscd-client.h: Add declaration for __nscd_open_socket. + * nscd/nscd_gethst_r.c (__nscd_open_socket): Renamed from + open_socket. Not static anymore. + (nscd_gethst_r): Use __nscd_open_socket. + * nscd/nscd_getgr_r.c (open_socket): Removed. + (nscd_getgr_r): Use __nscd_open_socket. + * nscd/nscd_getpw_r.c (open_socket): Removed. + (nscd_getpw_r): Use __nscd_open_socket. + + * nscd/nscd.c (main): Change type of fdn to long int and use strtol. + * nscd/connections.c (handle_request): Add cast to avoid warning. + +2003-04-21 Ulrich Drepper + + * signal/sigfillset.c: Moved to... + * sysdeps/generic/sigfillset.c: ...here. If SIGCANCEL is defined + do not set the corresponding bit. + + * sysdeps/unix/sysv/linux/sigprocmask.c: Prevent changing mask for + SIGCANCEL. + * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_TKILL. + * sysdeps/unix/sysv/linux/bits/siginfo.h: Define SI_TKILL. + * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Define SI_TKILL. + * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Define SI_TKILL. + * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Define SI_TKILL. + +2003-04-20 Ulrich Drepper + + * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Cast + first syscall parameter to const char*. + +2003-04-19 Ulrich Drepper + + * intl/Makefile ($(objpfx)msgs.h): Use C locale for sed run. + + * configure.in: Add AC_PROG_CXX. + * config.make.in (CXX): Define. + + * sysdeps/i386/i686/hp-timing.h (HP_TIMING_PRINT): Change type of + __len to size_t to avoid warnings. + +2003-04-18 Jes Sorensen + + * libc/sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Sync with Linux + 2.5.67. + * libc/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. + +2003-04-19 Ulrich Drepper + + * stdlib/cxa_finalize.c (__cxa_finalize): Don't call + UNREGISTER_ATFORK if d == NULL. + + * catgets/nl_types.h: Remove __THROW marker from cancellation points. + * dirent/dirent.h: Likewise. + * dlfcn/dlfcn.h: Likewise. + * grp/grp.h: Likewise. + * iconv/iconv.h: Likewise. + * io/fcntl.h: Likewise. + * io/ftw.h: Likewise. + * libio/stdio.h: Likewise. + * misc/sys/mman.h: Likewise. + * misc/sys/select.h: Likewise. + * misc/sys/syslog.h: Likewise. + * misc/sys/uio.h: Likewise. + * posix/spawn.h: Likewise. + * posix/unistd.h: Likewise. + * posix/sys/wait.h: Likewise. + * pwd/pwd.h: Likewise. + * resolv/netdb.h: Likewise. + * rt/aio.h: Likewise. + * shadow/shadow.h: Likewise. + * signal/signal.h: Likewise. + * socket/sys/socket.h: Likewise. + * stdlib/stdlib.h: Likewise. + * streams/stropts.h: Likewise. + * string/string.h: Likewise. + * sysdeps/gnu/utmpx.h: Likewise. + * sysvipc/sys/msg.h: Likewise. + * termios/termios.h: Likewise. + * time/time.h: Likewise. + * wcsmbs/wchar.h: Likewise. + * iconv/gconv_cache.c: Include and use non-cancelable + functions. + * misc/daemon.c: Likewise. + * sysdeps/generic/backtracesymsfd.c: Likewise. + * sysdeps/generic/check_fds.c: Likewise. + * sysdeps/unix/sysv/linux/gethostid.c: Likewise. + * sysdeps/unix/sysv/linux/not-cancel.h: New file. + * sysdeps/generic/not-cancel.h: New file. + * csu/Makefile (distribute): Add not-cancel.h. + * sysdeps/unix/sysv/linux/fatal-prepare.h: New file. + * sysdeps/unix/sysv/linux/Makefile: Define FATAL_PREPARE_INCLUDE + for assert.c and assert-perr.c to include . + * sysdeps/unix/sysv/linux/Dist: Add fatal-prepare.h. + + * sysdeps/posix/remove.c (remove): Rewrite. No need to restore + errno and unlink first. + + * io/ftw.c (ftw_dir): In all places assume fchdir is available. + +2003-04-18 Ulrich Drepper + + * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_fatal): Use + INTERNAL_SYSCALL instead of INLINE_SYSCALL. + +2003-04-17 Ulrich Drepper + + * sysdeps/unix/sysv/linux/Makefile: Remove db2 directory handling. + + * malloc/Makefile (CFLAGS-malloc.c): Define DEFAULT_TOP_PAD to 128k. + * sysdeps/unix/sysv/linux/Makefile (CFLAGS-malloc.c): Add to, not + replace. + + * signal/Makefile (tests): Add tst-sigsimple. + * signal/tst-sigsimple.c: New file. + +2003-04-16 Jakub Jelinek + + * elf/Makefile (distribute): Add tst-tlsmod{[7-9],1[0-2]}.c and + tst-tls10.h. + (tests): Add tst-tls1[0-2]. + (modules-names): Add tst-tlsmod{[7-8],1[0-2]}. + ($(objpfx)tst-tlsmod8.so): Depend on tst-tlsmod7.so. + ($(objpfx)tst-tlsmod10.so): Depend on tst-tlsmod9.so. + ($(objpfx)tst-tlsmod12.so): Depend on tst-tlsmod11.so. + ($(objpfx)tst-tls10): Depend on tst-tlsmod8.so. + ($(objpfx)tst-tls11): Depend on tst-tlsmod10.so. + ($(objpfx)tst-tls12): Depend on tst-tlsmod12.so. + * elf/tst-tls10.c: New test. + * elf/tst-tls11.c: New test. + * elf/tst-tls12.c: New test. + * elf/tst-tls10.h: New file. + * elf/tst-tlsmod7.c: New file. + * elf/tst-tlsmod8.c: New file. + * elf/tst-tlsmod9.c: New file. + * elf/tst-tlsmod10.c: New file. + * elf/tst-tlsmod11.c: New file. + * elf/tst-tlsmod12.c: New file. + +2003-04-15 Steven Munroe + + * sysdeps/powerpc/bits/atomic.h: Moved ppc32/64 specific code to ... + * sysdeps/powerpc/powerpc32/bits/atomic.h: New file. + * sysdeps/powerpc/powerpc64/bits/atomic.h: New file. + +2003-04-17 Ulrich Drepper + + * posix/regex.h: Include . + + * signal/sigrelse.c (sigrelse): Use sigdelset and not __sigdelset. + The signal number must be checked. + * signal/sighold.c (sighold): Use sigaddset and not __sigaddset. + The signal number must be checked [PR libc/5004]. + + * sysdeps/unix/sysv/linux/system.c: If compiled without threads + don't do anything fancy. + + * sysdeps/generic/bits/libc-lock.h: Define + __rtld_lock_define_initialized_recursive. + + * nss/getXXbyYY_r.c [USE_NSCD] (REENTRANT_NAME): Only retry + contacting nscd if NOT_USENSCD_NAME > 0. + * nss/nsswitch.c (__nss_disable_nscd): New function. + * nss/nsswitch.h: Declare it. + * nss/Versions [GLIBC_PRIVATE]: Export __nss_disable_nscd. + * nscd/nscd.c (main): Call __nss_disable_nscd. + +2003-04-16 Ulrich Drepper + + * stdio-common/perror.c (perror): We don't need to set the offset + to _IO_pos_bad, this is how streams are initialized. + + * locale/programs/ld-time.c (TESTARR_ELEM): Make i unsigned. + (time_output): If necessary, allocate new buffer for .name string if + padding is required. + + * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Check lengths + before copying. This might leave holes in the list. Adjust + pointers if necessary. + (netlink_receive): Allocate only one block. + (free_netlink_handle): Adjust appropriately. + (getifaddrs): Lots of cleanups. + + * string/test-strncpy.c (do_one_test): Mark start and stop as + possibly unused. + * string/test-memchr.c: Likewise. + * string/test-memcmp.c: Likewise. + * string/test-memcpy.c: Likewise. + * string/test-memmove.c: Likewise. + * string/test-memset.c: Likewise. + * string/test-strcat.c: Likewise. + * string/test-strchr.c: Likewise. + * string/test-strcmp.c: Likewise. + * string/test-strcpy.c: Likewise. + * string/test-strlen.c: Likewise. + * string/test-strncmp.c: Likewise. + * string/test-strpbrk.c: Likewise. + * string/test-strrchr.c: Likewise. + * string/test-strspn.c: Likewise. + +2003-04-15 Roland McGrath + + * libio/fileops.c (_IO_file_close_it): Macro tweak to avoid warning. + + * sysdeps/generic/libc-start.c [NEED_DL_SYSINFO]: Add decl for + INTUSE(__register_frame_info_bases). + +2003-04-15 Ulrich Drepper + + * elf/elf.h: Define AT_SYSINFO_EH_FRAME. + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle + AT_SYSINFO_EH_FRAME. Adjust string width. + (_dl_show_auxv):Display AT_SYSINFO_EH_FRAME value. + * sysdeps/generic/ldsodefs.h [NEED_DL_SYSINFO] (struct rtld_global): + Add _dl_sysinfo_eh_frame field. + * elf/dl-support.c [NEED_DL_SYSINFO]: Define _dl_sysinfo_eh_frame. + * sysdeps/generic/libc-start.c [NEED_DL_SYSINFO] Define eh_obj + variable. + [NEED_DL_SYSINFO] (LIBC_START_MAIN): Call __register_frame_info_bases + if _dl_sysinfo_eh_frame is non-NULL. + + * Makeconfig (gnulib): Add -lgcc_eh. + + * config.h.in: Define HAVE_FORCED_UNWIND. + +2003-04-15 Steven Munroe + + * sysdeps/powerpc/powerpc64/strcmp.S: Convert to full 64-bit. + * sysdeps/powerpc/powerpc64/strcpy.S: Likewise. + +2003-04-15 Jakub Jelinek + + * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Avoid + checking R_PPC_RELATIVE, R_PPC_NONE and whether relocation is + against local symbol in conflict processing. + +2003-04-15 Steven Munroe + + * sysdeps/powerpc/bits/atomic.h + [__powerpc64] (__arch_compare_and_exchange_val_64_acq): Define. + [! __powerpc64] (__arch_compare_and_exchange_val_64_acq): Defined + as abort stub. + (__arch_compare_and_exchange_val_32_acq): Define. + (atomic_compare_and_exchange_val_acq): Define. + +2003-04-15 Ulrich Drepper + + * include/atomic.h: Pretty printing. + +2003-04-14 Ulrich Drepper + + * stdio-common/vfscanf.c: Add casts to avoid warnings. + +2003-04-14 Jakub Jelinek + + * sysdeps/i386/i486/bits/atomic.h: Rename LOCK to LOCK_PREFIX. + * sysdeps/x86_64/bits/atomic.h: Likewise. + +2003-04-14 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/sysdep.h: Change PUSHARGS_1 and + POPARGS_1 to emit labels for the mov instructions. + +2003-04-14 Jakub Jelinek + + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (ret_NOERRNO): Define. + +2003-04-14 Roland McGrath + + * sysdeps/generic/unwind-dw2.c (_Unwind_GetCFA): Add a cast to silence + compiler warning. + + * sysdeps/generic/unwind-pe.h: Fix decl hacks broken in merge. + +2003-04-14 Ulrich Drepper + + * string/strxfrm.c (STRXFRM): Terminate rulearr at correct + position. Reported by jreiser@BitWagon.com. + +2003-04-13 Ulrich Drepper + + * sysdeps/generic/unwind-dw2-fde.c: Update from recent gcc version. + * sysdeps/generic/unwind-dw2-fde.h: Likewise. + * sysdeps/generic/unwind-dw2.c: Likewise. + * sysdeps/generic/unwind-pe.h: Likewise. + +2003-04-13 Alexandre Oliva + + * sysdeps/unix/sysv/linux/mips/profil-counter: New. + * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Port to n32/n64. + * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: New. + * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Port to n32/n64. + (mcontext_t): Make it match the 32-bit mips kernel in o32. + * sysdeps/unix/sysv/linux/mips/sys/user.h: Bring in constants from + the mips and mips64 headers. + (struct user): Port to n32/n64. + +2003-04-12 Ulrich Drepper + + * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Add cast to + avoid warning. + + * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): If + __ASSUME_VSYSCALL is defined don't add restorer. + * sysdeps/unix/sysv/linux/kernel-features.h: Define + __ASSUME_VSYSCALL for 2.5.53. + +2003-04-11 Ulrich Drepper + + * sysdeps/generic/libc-start.c: Cleanup MAIN_AUXVEC_ARG handling. + Remove HAVE_CANCELBUF code. Replace with code using the new + initializers for unwind-based cleanup handling. + * sysdeps/generic/unwind.h: Update from latest gcc version. + * sysdeps/unix/sysv/linux/i386/sysdep.h: Define labels in a few + places to allow unwind data generation. + * sysdeps/i386/bits/setjmp.h: Allow file to be included multiple times. + * sysdeps/x86_64/bits/setjmp.h: Likewise. + * sysdeps/sh/bits/setjmp.h: Likewise. + * sysdeps/powerpc/bits/setjmp.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: Likewise. + * sysdeps/alpha/bits/setjmp.h: Likewise. + +2003-04-11 Roland McGrath + + * csu/tst-empty.c: New file. + * csu/Makefile (tests, tests-static): Add it. + +2003-04-11 Jakub Jelinek + + * string/test-strcmp.c (do_random_tests): Test whether return value + has been promoted to wordsize if the ABI requires caller to do so. + * string/test-strncmp.c (do_random_tests): Likewise. + * string/test-memcmp.c (do_random_tests): Likewise. + + * sysdeps/powerpc/powerpc64/strcmp.S (strcmp): Sign extend rRTN + before returning. + + * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c + (__fe_nomask_env): Try prctl even if __ASSUME_NEW_PRCTL_SYSCALL + is not defined, but the prctl constants are. + + * string/tester.c (test_strcmp): Fix a typo. + +2003-04-09 Ulrich Drepper + + * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD definition. + * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise. + +2003-04-08 Alexandre Oliva + + * sysdeps/mips/sys/regdef.h (t4,t5,t6,t7): Renamed to t0..t3 on + NewABI. + (ta0, ta1, ta2, ta3): Defined to t4..t7 on o32, and a4..a7 on + NewABI. + * sysdeps/mips/mips64/memcpy.S: Adjust register naming + conventions. + * sysdeps/mips/mips64/memset.S: Likewise. + * sysdeps/unix/mips/sysdep.S (__syscall_error) [_LIBC_REENTRANT]: + Use t0 instead of t4 as temporary. + +2003-04-07 Ulrich Drepper + + * elf/ldconfig.c (parse_conf): Ignore leading whitespace. Use + feof_unlocked instead of feof. + (add_dir): Ignore trailing whitespace. + +2003-04-07 Jakub Jelinek + + * posix/bug-regex4.c (main): Cap RANGE and STOP arguments to + sum of SIZE1 and SIZE2 arguments. + +2003-04-06 Ulrich Drepper + + * iconv/iconv_prog.c (process_block): Don't print message about + invalid input if the -c option is used. + (main): Correctly append IGNORE string for -c option. + +2003-04-06 Kaz Kojima + + * sysdeps/sh/bits/atomic.h: Moved to ... + * sysdeps/unix/sysv/linux/sh/bits/atomic.h: ... here. Add comments. + (__arch_compare_and_exchange_val_*_acq): Add parens around macro + arguments. + (atomic_bit_set, atomic_bit_test_set): Likewise. + (atomic_exchange_and_add): Likewise. Don't evaluate VALUE argument + twice. + (atomic_add, atomic_add_negative, atomic_add_zero): Likewise. + +2003-04-06 Roland McGrath + + * sysdeps/unix/sysv/linux/i386/swapcontext.S: Rewrite register + restoration as done for setcontext yesterday. + +2003-04-06 Jakub Jelinek + + * elf/rtld.c: Revert 2003-03-14 change. + * elf/dl-conflict.c (_dl_resolve_conflicts): Move + #if ! ELF_MACHINE_NO_RELA conditional into the routine. + +2003-04-05 Ulrich Drepper + + * sunrpc/xdr.c (xdr_string): Catch nodesize == 0 [PR libc/4999]. + + * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): + Always initialize *signgamp before returning an error. + +2003-04-05 Roland McGrath + + * sysdeps/unix/sysv/linux/i386/setcontext.S: Rewrite to avoid writing + below the stack pointer even if switching to the same context we are + running right now. + +2003-04-05 Ulrich Drepper + + * catgets/gencat.c (read_input_file): Make sure that \n is not + alone on the line before testing for continuation. + + * math/test-tgmath.c (compile_test): Initialize c. + +2003-04-05 Alexandre Oliva + + * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: New. + * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: New. + * sysdeps/unix/sysv/linux/kernel-features.h: fcntl64 is available + on mips n32. + * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Explain why + XSTAT_IS_XSTAT64 must not be used for mips n64. Use 64-bit data + structure on n32 as well. + * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use POSIX-compliant + data types on n32 and n64. + +2003-04-05 Ulrich Drepper + + * libio/fileops.c (_IO_new_file_fopen): Don't free step data right + after getting them. + + * malloc/thread-m.h [PTHREAD_MUTEX_INITIALIZER]: If + HAVE_register_atfork_malloc is defined use __register_atfork_malloc + instead of __register_atfork. + +2003-04-05 Jakub Jelinek + + * stdio-common/reg-printf.c (__register_printf_function): Calloc + instead of malloc __printf_arginfo_table and __printf_function_table. + Reported by John Reiser . + +2003-04-04 Steven Munroe + + * sysdeps/powerpc/powerpc64/strchr.S: 64-bit optimizations. + * sysdeps/powerpc/powerpc64/strlen.S: 64-bit optimizations. + + * sysdeps/powerpc/fpu/bits/mathdef.h (FLT_EVAL_METHOD): Undef before + defining. + +2003-04-04 Alexandre Oliva + + * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock): Adjust + for n64 abi. + +2003-04-03 Roland McGrath + + * configure.in: Fix up use of compilation flags to match the build: + For .s files, $ASFLAGS; + For .S files, $CPPFLAGS $ASFLAGS; + For .c files, $CFLAGS $CPPFLAGS; + when linking, add $LDFLAGS. + * configure: Regenerated. + +2003-04-03 Jakub Jelinek + + * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Reverse test + for atomic_compare_and_exchange_bool_acq failure. + +2003-04-03 Ulrich Drepper + + * posix/unistd.h: Define _POSIX_VERSION, _POSIX2_VERSION, + _POSIX2_C_BIND, _POSIX2_C_DEV, _POSIX2_SW_DEV, and + _POSXI2_LOCALEDEF to 200112L. Remove _POSIX2_C_VERSION. + Remove declaration of pthread_atfork. + +2003-04-02 Ulrich Drepper + + * locale/iso-639.def: Add many more languages from the current ISO 639. + + * sysdeps/unix/sysv/linux/ipc_priv.h: Define IPCOP_semtimedop. + * sysdeps/generic/semtimedop.c: New file. + * sysdeps/unix/sysv/linux/i386/semtimedop.S: New file. + * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add semtimedop. + * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. + * sysvipc/Makefile (routines): Add semtimedop. + * sysvipc/Versions [GLIBC_2.3.3] (glibc): Add semtimedop. + * sysvipc/sys/sem.h: Declare semtimedop. + +2003-04-02 Daniel Jacobowitz + + * configure.in: Check for __register_frame_info in both + -lgcc and -lgcc_eh. + * configure: Regenerated. + +2003-04-01 Roland McGrath + + * scripts/abilist.awk: Allow dots in soname suffix. + + * scripts/abilist.awk (emit): Fix bailout condition. + +2003-04-01 Jakub Jelinek + + * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Use the + IA-64 version. + + * elf/tls-macros.h [__ia64__] (TLS_IE, TLS_LD, TLS_GD): Add gp + register as input to asm. + +2003-04-01 Jakub Jelinek + + * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (sigevent_t): Fix a typo. + +2003-04-01 Andreas Jaeger + + * configure.in: Output as/ld as name if version is too old. + +2003-03-31 Daniel Jacobowitz + + * configure.in: Don't require an installed C library in the test + for ".set" assembler support. + +2003-03-31 Roland McGrath + + * signal/tst-sigset.c: New file. + * signal/Makefile (tests): Add it. + +2003-03-31 Ulrich Drepper + + * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Define to 65. + * sysdeps/unix/sysv/linux/hppa/bits/signum.h (_NSIG): Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Likewise. + * sysdeps/unix/sysv/linux/bits/signum.h (_NSIG): Likewise. + (__SIGRTMAX): Adjust accordingly. + * sysdeps/gnu/siglist.c: If OLD2_SIGLIST_SIZE is defined define + second compatibility symbol set. + * sysdeps/unix/sysv/linux/siglist.h (OLD2_SIGLIST_SIZE): Define. + +2003-03-31 Andreas Schwab + + * sysdeps/m68k/m68020/bits/atomic.h (atomic_increment_and_test): + Define. + (atomic_decrement_and_test): Fix test. + +2003-03-31 Jakub Jelinek + + * sysdeps/sparc/sparc32/bits/atomic.h: New file. + * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: New file. + * sysdeps/sparc/sparc64/bits/atomic.h: New file. + * sysdeps/sparc/sparc32/atomicity.h: Removed. + * sysdeps/sparc/sparc32/sparcv9/atomicity.h: Removed. + * sysdeps/sparc/sparc64/atomicity.h: Removed. + +2003-03-30 Roland McGrath + + * scripts/abilist.awk: Grok .opd foo plus .text .foo as "foo F" alone. + + * intl/po2test.sed: Anchor substitution regexps to fix last change. + +2003-03-29 Paolo Bonzini + + * intl/po2test.sed: Unify the transformations for msgid and msgstr + and remove a useless s/// command. + +2003-03-27 David Mosberger + + * sysdeps/ia64/dl-machine.h (RTLD_START): Wrap ".save rp, r0" + directive into empty .prologue region to ensure that call-chain + is terminated even for the first instruction. + + * sysdeps/ia64/elf/start.S (_start): Use ".save rp, r0" idiom + to terminate call-chain right from the get-go. + + * sysdeps/unix/sysv/linux/ia64/fork.S (fork): Remove unnecessary + stop bit between compare & branch. + +2003-03-29 Ulrich Drepper + + * stdlib/strtod.c (INTERNAL): Recognize first digit after decimal + point correctly [PR libc/4993]. + + * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Avoid + netlink_open calls if netlink is known to not be available. + +2003-03-29 Alexandre Oliva + + * configure.in: Add mips64* support. + * sysdeps/mips/bits/endian.h: Make it bi-endian. + * sysdeps/mips/mipsel/bits/endian.h: Removed. + * sysdeps/mips/mips64/n32/el/bits/endian.h: Removed. + * sysdeps/mips/mips64/n64/el/bits/endian.h: Removed. + * sysdeps/mips/mips32/Makefile (CC): Add -mabi=32. + * sysdeps/mips/mips64/n32/Makefile (CC): Add -mabi=n32. + * sysdeps/mips/mips64/n64/Makefile (CC): Add -mabi=64. + * sysdeps/mips/Implies: Moved wordsize-32 to... + * sysdeps/mips/mips32/Implies: New file. + * sysdeps/unix/mips/sysdep.h (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO, + ret_NOERRNO): New. + (ret, PSEUDO_END): Moved past END. + (PSEUDO): Moved to... + * sysdeps/unix/mips/mips32/sysdep.h: New file. + * sysdeps/unix/mips/mips64/n32/sysdep.h: Removed #undef PSEUDO. + * sysdeps/unix/mips/mips64/n64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sysdep.h: Move to... + * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: New file. + * sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: New file. + + * sysdeps/unix/sysv/linux/mips/clone.S (__thread_start): + Re-introduce ENTRY. + +2003-03-28 Thorsten Kukuk + + * sysdeps/unix/sysv/linux/ifaddrs.c: New file. + * inet/test-ifaddrs.c: Allow AF_PACKET. + * sysdeps/unix/sysv/linux/kernel-features.h: Add + __ASSUME_NETLINK_SUPPORT. + +2003-03-28 Ulrich Drepper + + * elf/vismain.c (do_test): Comment out tests which fail in the moment. + +2003-03-26 H.J. Lu + + * elf/vismod.h (getvarlocal1): Return const char **. + (getvarinmod1): Likewise. + (getvaritcpt1): Likewise. + (getvarlocal2): Likewise. + (getvarinmod2): Likewise. + (getvaritcpt2): Likewise. + (getvaritcpt3): Likewise. + * elf/vismain.c (do_test): Adjusted. + * elf/vismod1.c (getvarlocal1): Return address. + (getvarinmod1): Likewise. + (getvaritcpt1): Likewise. + * elf/vismod2.c (getvarlocal2): Likewise. + (getvarinmod2): Likewise. + (getvaritcpt2): Likewise. + * elf/vismod3.c (getvaritcpt3): Likewise. + +2003-03-28 Roland McGrath + + * elf/vismain.c (do_test): Print both addresses when they don't match. + + * scripts/abilist.awk: If given -v filename_regexp and/or -v + libname_regexp when parsing names, then produce output only + for those matching the given regexps. In combine mode, save all + stanzas for a final sorting by stanza header at the end. + Emit a blank line between stanzas. + + * scripts/abilist.awk: When given -v combine=1, do parse_names and + emit a single output stream with lib name in stanza header lines. + + * scripts/abilist.awk: Emit A for all *ABS* regardless of type. + +2003-03-27 Roland McGrath + + * sysdeps/powerpc/bits/atomic.h [! __powerpc64__] + (__arch_atomic_decrement_if_positive_64): Fix bogus definition. + +2003-03-28 Kaz Kojima + + * sysdeps/sh/bits/atomic.h (__arch_compare_and_exchange_val_8_acq): + Return old value. Make asm output reg constraint earlyclobber. + Renamed from... + (__arch_compare_and_exchange_8_acq): ... this. + (__arch_compare_and_exchange_val_16_acq): + Return old value. Make asm output reg constraint earlyclobber. + Renamed from... + (__arch_compare_and_exchange_16_acq): ... this. + (__arch_compare_and_exchange_val_32_acq): + Return old value. Make asm output reg constraint earlyclobber. + Renamed from... + (__arch_compare_and_exchange_32_acq): ... this. + (__arch_compare_and_exchange_val_64_acq): + Renamed from... + (__arch_compare_and_exchange_64_acq): ... this. + (atomic_exchange_and_add): Use local variables and + __arch_compare_and_exchange_val_64_acq. + (atomic_add): Likewise. + (atomic_add_negative, atomic_add_zero): Use local variables. + +2003-03-28 Alexandre Oliva + + * sysdeps/unix/mips/sysdep.S: Include sys/asm.h. + +2003-03-27 Ulrich Drepper + + * Makefile: Remove libmd5crypt goal. + +2003-03-25 Jakub Jelinek + + * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Restore + special handling of relocations against local symbols. + +2003-03-27 Steven Munroe + + * sysdeps/powerpc/bits/atomic.h + (__arch_compare_and_exchange_bool_32_acq): Move to [!__powerpc64__]. + [__powerpc64__] (__arch_compare_and_exchange_bool_32_acq): + Define PPC64 specific version. + [__powerpc64__] (__arch_compare_and_exchange_bool_64_acq): + Change (mem) constraint to "b". + [__powerpc64__] (__arch_atomic_exchange_and add_64): + Replace addi with add. Change (value) contraint to "r". + Change (mem) constraint to "b". + [__powerpc64__] (__arch_atomic_decrement_if_positive_64): New macro. + (__arch_atomic_exchange_32): Change (mem) constraint to "b". + (__arch_atomic_exchange_and_add_32): Change (mem) constraint to "b". + (__arch_atomic_decrement_if_positive_32): New macro. + (atomic_decrement_if_positive): Use __arch* macros. + +2003-03-27 Jakub Jelinek + + * sysdeps/ia64/fpu/libm-test-ulps: Update. + +2003-03-27 Roland McGrath + + * scripts/rpm2dynsym.sh: New file. + * Makefile (distribute): Add it. + +2003-03-27 David Mosberger + + * sysdeps/unix/sysv/linux/ia64/getcontext.S: Restore caller's + ar.unat before returning. Add missing .mem.offset directives + to ensure file gets assembled without warnings. + * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise. + +2003-03-27 Jakub Jelinek + + * sysdeps/unix/sysv/linux/sysconf.c (__sysconf) <_SC_MONOTONIC_CLOCK>: + Return -1 instead of 0 if clock_getres failed. + +2003-03-27 Roland McGrath + + * scripts/abilist.awk: If variable `parse_names' is set, grok the file + header lines and write out foo.symlist files for each foo.so.NN listed. + + * libio/libioP.h (_IO_wfile_jumps): Remove attribute_hidden. + This symbol is exported, and we don't want to hide it. + Add libc_hidden_proto instead. + (_IO_file_jumps): Add libc_hidden_proto. + * libio/wfileops.c (_IO_wfile_jumps): Add libc_hidden_data_def. + Remove INTVARDEF. + * libio/fileops.c (_IO_file_jumps): Likewise. + * libio/stdfiles.c: Don't use INTUSE on them. + * libio/iofdopen.c (_IO_new_fdopen): Likewise. + * libio/iofopen.c (__fopen_internal): Likewise. + * libio/freopen.c (freopen): Likewise. + * libio/freopen64.c (freopen64): Likewise. + * libio/iovdprintf.c (_IO_vdprintf): Likewise. + + * Makerules (check-abi) [$(enable-check-abi) = warn]: + Ignore exit status from diff. + * configure.in (enable_check_abi): Document possible value "warn". + Change default to no for now. + * configure: Regenerated. + + * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Emit stub_warning + macro calls and a #include at the end. + * Makerules ($(objpfx)stubs): Tweak sed commands. + + * sysdeps/unix/sysv/linux/syscalls.list: Use - rather than EXTRA in + caller column for *xattr syscalls, since they are in sysdeps/generic. + + * sysdeps/unix/sysv/linux/i386/setfsuid.c: setfsgid -> setfsuid + * sysdeps/unix/sysv/linux/i386/setfsgid.c: setfsuid -> setfsgid + +2003-03-26 Roland McGrath + + * Makerules (check-abi-config): Use /thread instead of /tls when + use-thread and not just use-tls is set. + + * Makerules (update-abi): Put quotes around $(update-abi-config). + + * elf/Makefile (check-abi): Depend on check-abi-ld. + (update-abi): Depend on update-abi-ld. + +2003-03-26 GOTO Masanori + + * sysdeps/unix/sysv/linux/i386/setfsuid.c: Use INTERNAL_SYSCALL and + do not check for errors (unless testing for 32bit variant). + * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise. + +2003-03-27 Philip Blundell + + * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET_NOERRNO): Use + unconditional mov. Remove nop. + + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_VFORK_SYSCALL): Define for kernel 2.4 on arm. + * sysdeps/unix/sysv/linux/arm/vfork.S: Elide compatibility code + when __ASSUME_VFORK_SYSCALL is defined. + * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise for + __ASSUME_MMAP2_SYSCALL. + * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise for + __ASSUME_REALTIME_SIGNALS. + +2003-03-26 Ulrich Drepper + + * sysdeps/generic/ldsodefs.h (ELF_RTYPE_CLASS_COPY): Define to 2 + only if DL_NO_COPY_RELOCS is not defined. + * sysdeps/ia64/dl-lookupcfg.h: Define DL_NO_COPY_RELOCS. + +2003-03-26 Roland McGrath + + * sysdeps/unix/make-syscalls.sh: When an undefined syscall has + SOURCE=-, append its symbol names to make variable unix-stub-syscalls. + * sysdeps/unix/Makefile [$(subdir) = misc] [unix-stub-syscalls] + (sysdep_routines): Add stub-syscalls. + ($(objpfx)stub-syscalls.c): New target. + (generated): Add stub-syscalls.c. + + * tls.make.c: Also define use-tls according to USE_TLS macro. + +2003-03-26 Ulrich Drepper + + * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (struct siginfo): Avoid + no-op padding element. + * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise. + +2003-03-26 GOTO Masanori + + * sysdeps/unix/sysv/linux/i386/getgroups.c: Fix the error + condition check for the return value of getgroups32. + +2003-03-26 Jakub Jelinek + + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PSEUDO_NOERRNO): + Fix a typo. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (PSEUDO_NOERRNO, + PSEUDO_END_NOERRNO): Define. + * sysdeps/unix/sysdep.h (PSEUDO_END_NOERRNO): Fix a typo. + Define to PSEUDO_END. + +2003-03-26 Ulrich Drepper + + * abilist/librt.abilist: Add new timer interfaces for 64-bit archs. + +2003-03-25 Jiro SEKIBA + + * iconvdata/euc-tw.c (from_euc_tw): Fix return value of TO_LOOP. + * iconvdata/bug-iconv4.c: New file. + * iconvdata/Makefile (tests): Add bug-iconv4. + +2003-03-25 H.J. Lu + + * elf/dl-lookup.c (_dl_lookup_symbol): Avoid looking up protected + symbols twice. + (_dl_lookup_versioned_symbol): Likewise. + +2003-03-26 Jakub Jelinek + + * csu/tst-atomic.c (do_test): Add some new + atomic_compare_and_exchange_val_acq, atomic_add_zero, + atomic_compare_and_exchange_bool_acq and atomic_add_negative tests. + * include/atomic.h (atomic_add_negative, atomic_add_zero): + Prefix local variable so that it doesn't clash with the one + in atomic_exchange_and_add. + * sysdeps/ia64/bits/atomic.h (atomic_exchange): Fix for long/void * + pointers. + (atomic_exchange_and_add): Implement using __sync_fetch_and_add_?i. + * sysdeps/powerpc/bits/atomic.h (atomic_exchange_and_add): Force + value into register. + * sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_64_acq): + Cast newval to long. + * sysdeps/x86_64/bits/atomic.h + (__arch_compare_and_exchange_val_64_acq): Cast newval and oldval to + long. + (atomic_exchange): Cast newvalue to long if sizeof == 8. + (atomic_exchange_and_add): Cast value to long if sizeof == 8. + (atomic_add, atomic_add_negative, atomic_add_zero): Likewise. + (atomic_bit_set): Shift 1L up in all cases to shut up warnings. + +2003-03-21 Martin Schwidefsky + + * sysdeps/s390/s390-32/backtrace.c (__backtrace): Remove high order + bit from backtrace addresses. + +2003-03-21 Andreas Schwab + + * sysdeps/unix/sysv/linux/i386/chown.c: Don't define any versioned + __chown symbols. + +2003-03-25 Roland McGrath + + * config.make.in (enable-check-abi): New variable from configure. + * configure.in (enable_check_abi): New substituted variable, + controlled by --{enable,disable}-check-abi (default yes). + * configure: Regenerated. + * Makerules [$(enable-check-abi) = yes] (tests): Put this condition + on check-abi dependency. + +2003-03-26 Andreas Schwab + + * sysdeps/m68k/m68020/bits/atomic.h: Fix typos. + * include/atomic.h: Likewise. + + * sysdeps/unix/sysv/linux/m68k/sysdep.h: Define ret_NOERRNO. + +2003-03-25 Roland McGrath + + * sysdeps/powerpc/bits/atomic.h (__arch_atomic_exchange_32): New macro. + (__arch_atomic_exchange_64): New macro. + (atomic_exchange): Use them. + (__arch_atomic_exchange_and_add_32): New macro. + (__arch_atomic_exchange_and_add_64): New macro. + (atomic_exchange_and_add): Use them. + Original patch from Steven Munroe . + +2003-03-25 Alexandre Oliva + + * sysdeps/mips/sgidefs.h (_MIPS_ISA_MIPS32, _MIPS_ISA_MIPS64): + Define. + * sysdeps/mips/sys/asm.h: Test _MIPS_ISA against them on all + ISA tests. + (ALSZ, ALMASK, SZREG, REG_S, REG_L): Define based on ABI, not ISA. + (PTR_ADD, etc): Test _MIPS_SZPTR instead of _MIPS_SZLONG. + * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR + to decide whether to add padding. + * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR + to decide whether to add padding. + * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h (struct + old_kernel_sigaction): Likewise. + +2003-03-25 Ulrich Drepper + + * csu/tst-atomic.c: Adjust tests to what atomic_add_negative and + atomic_add_zero were supposed to do. + * include/atomic.h: Adjust atomic_add_negative and atomic_add_zero + to x86 behavior. + + * sysdeps/generic/bits/typesizes.h (__TIMER_T_TYPE): Define as void*. + This matches the new timer implementation. + * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__TIMER_T_TYPE): + Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__TIMER_T_TYPE): + Likewise. + * sysdeps/unix/sysv/linux/bits/siginfo.h (struct siginfo): Adjust + timer info for what the kernel provides these days. + (struct sigevent): Add _tid field. + Define SIGEV_THREAD_ID. + Remove struct __pthread_attr_s forward declaration. + * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise. + + * Versions.def (librt): Add GLIBC_2.3.3. + + * abilist/libpthread.abilist: Update for nptl. + +2003-03-24 Jon Grimm + + * inet/netinet/in.h: Add IPPROTO_SCTP. + +2003-03-24 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLET): Define. + +2003-03-24 Philip Blundell + + * sysdeps/unix/sysv/linux/arm/sysdep.h (INTERNAL_SYSCALL): + Remove a1 from clobber list. + +2003-03-24 Ulrich Drepper + + * timezone/antarctica: Update from tzdata2003a. + * timezone/asia: Likewise. + * timezone/australasia: Likewise. + * timezone/europe: Likewise. + * timezone/iso3166.tab: Likewise. + * timezone/northamerica: Likewise. + * timezone/southamerica: Likewise. + * timezone/zone.tab: Likewise. + +2003-03-24 Steven Munroe + + * sysdeps/powerpc/powerpc64/sysdep.h (PSEUDO_END_NOERRNO): Fix typo. + +2003-03-23 Ulrich Drepper + + * sysdeps/unix/sysv/linux/ia64/sysdep.h (ret_NOERRNO): Avoid + unwanted expansion by definining to ret. Patch by Ian Wienand. + + * sysdeps/unix/make-syscalls.sh: Recognize 'E' in first position of + the parameter description to denote no error checking. Generate + appropriate pseudo asm code. + * sysdeps/unix/syscalls.list: Mark getgid, getpid, getuid with 'E'. + * sysdeps/unix/sysv/linux/syscalls.list: Mark getegid, geteuid, + getpgrp, and getppid with 'E'. + * sysdeps/powerpc/powerpc32/sysdep.h: Define PSEUDO_NOERRNO, + PSEUDO_END_NOERRNO, and ret_NOERRNO. + * sysdeps/powerpc/powerpc64/sysdep.h: Likewise. + * sysdeps/unix/sysdep.h: Likewise. + * sysdeps/unix/alpha/sysdep.h: Likewise. + * sysdeps/unix/sparc/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/cris/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. + +2003-03-23 Roland McGrath + + * Makeconfig (+includes): Don't use $(last-includes). + +2003-03-22 Alexandre Oliva + + * sysdeps/unix/sysv/linux/configure.in: Update mips64 patterns. + * sysdeps/unix/sysv/linux/configure: Rebuilt. + +2003-03-23 Jakub Jelinek + + * sysdeps/alpha/fpu/libm-test-ulps: Update. + * sysdeps/arm/libm-test-ulps: Update. + * sysdeps/hppa/fpu/libm-test-ulps: Update. + * sysdeps/ia64/fpu/libm-test-ulps: Update. + * sysdeps/mips/fpu/libm-test-ulps: Update. + * sysdeps/powerpc/nofpu/libm-test-ulps: Update. + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update. + * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update. + * sysdeps/sh/sh4/fpu/libm-test-ulps: Update. + * sysdeps/s390/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Update. + +2003-03-22 Roland McGrath + + * include/atomic.h: Put parens around all macro arguments. + (__atomic_val_bysize, __atomic_bool_bysize): New macros. + (atomic_compare_and_exchange_val_acq): Use it. + (atomic_compare_and_exchange_bool_acq): Likewise. + (atomic_increment_and_test): Invert sense of test. + (atomic_decrement_and_test): Likewise. + * csu/tst-atomic.c: Update those tests to match. + +2003-03-22 Jakub Jelinek + + * include/atomic.h (atomic_compare_and_exchange_val_acq): Add comment. + Don't define if __arch_compare_and_exchange_val_32_acq is not defined. + (atomic_compare_and_exchange_bool_acq): Add comment. Don't use + __oldval variable in the macro, since it might be macro argument. + (atomic_decrement_if_positive): Initialize __memp, remove setting + of non-existent variable. + (atomic_bit_test_set): Cast 1 to __typeof (*mem) before shifting. + * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Implement + using atomic_compare_and_exchange_val_acq. + (atomic_decrement_if_positive, atomic_bit_test_set): Define. + * sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_8_acq): + Renamed from... + (__arch_compare_and_exchange_bool_8_acq): ... this. + (__arch_compare_and_exchange_val_16_acq): Renamed from... + (__arch_compare_and_exchange_bool_16_acq): ... this. + (__arch_compare_and_exchange_val_32_acq): Return old value. Renamed + from... + (__arch_compare_and_exchange_bool_32_acq): ... this. + (__arch_compare_and_exchange_val_64_acq): Return old value. Renamed + from... + (__arch_compare_and_exchange_bool_64_acq): ... this. + (__arch_compare_and_exchange_val_32_acq): Use __typeof for local + variables types instead of assuming int. + Change prefix of local variables to __arch. + * sysdeps/generic/bits/atomic.h (arch_compare_and_exchange_acq): + Remove. + (atomic_compare_and_exchange_val_acq, + atomic_compare_and_exchange_bool_acq): Define. + + * csu/tst-atomic.c: New test. + * csu/tst-atomic-long.c: New test. + * csu/Makefile (tests): Add tst-atomic and tst-atomic-long. + + * malloc/memusagestat.c (main): Kill warning if uint64_t is ulong. + + * sysdeps/s390/Versions: Add trailing newline. + + * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Kill warning + if INTERNAL_SYSCALL_ERROR_P doesn't use its first argument. + +2003-03-22 Andreas Schwab + + * sysdeps/m68k/fpu/libm-test-ulps: Update. + + * sysdeps/m68k/m68020/bits/atomic.h: New file. + * sysdeps/m68k/m68020/atomicity.h: Removed. + +2003-03-22 Alexandre Oliva + + * sysdeps/mips/elf/ldsodefs.h: Add mips-specific elf64 relocation + data structures and macros. Protect from multiple inclusion. + + * sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_MASK): Fix harmless + typo in #if test. + +2003-03-21 Andreas Jaeger + + * sysdeps/i386/fpu/libm-test-ulps: Update. + + * math/libm-test.inc (tgamma_test): Recompute some constants with + 36 digits precision. + (lgamma_test): Likewise. + (ccos_test): Likewise. + (ccosh_test): Likewise. + (clog10_test): Likewise. + (csin_test): Likewise. + (csinh_test): Likewise. + (ctan_test): Likewise. + (ctanh_test): Likewise. + +2003-03-19 Jakub Jelinek + + * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Regenerated. + +2003-03-21 Roland McGrath + + * sysdeps/i386/i486/bits/atomic.h (atomic_bit_set): Use "ir" + constraint to permit non-constant BIT argument. + (atomic_bit_test_set): Likewise. + * sysdeps/x86_64/bits/atomic.h (atomic_bit_test_set): Likewise. + (atomic_bit_set): Likewise. Use 1UL in case that BIT might be >= 32. + For quadword case, use "i" constraint if __builtin_constant_p and < 32 + or "r" constraint otherwise. + + * configure.in: Move AC_PROG_CC and other program-finding before all + the version checks. + * configure: Regenerated. + +2003-03-21 Alexandre Oliva + + * sysdeps/mips/mips64/memcpy.S: Fix porting bug that broke + unaligned copying of 8-15 bytes. From Chris Demetriou + . Fix label names. + * sysdeps/mips/mips64/memset.S: Fix label names. Make similar + change as to memcpy.S. + * sysdeps/mips/memcpy.S: Formatting changes. + * sysdeps/mips/memset.S: Likewise. + +2003-03-21 Roland McGrath + + * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add trailing semicolon. + +2003-03-21 Alexandre Oliva + + * sysdeps/mips/mips64/memcpy.S, sysdeps/mips/mips64/memset.S: New. + * sysdeps/mips/memcpy.S, sysdeps/mips/memset.S: Update comments. + +2003-03-21 Roland McGrath + + * sysdeps/i386/i486/bits/atomic.h + (__arch_compare_and_exchange_val_64_acq): Rewrite abort-calling + version of the macro to avoid compile-time warnings. + [! __PIC__] (__arch_compare_and_exchange_64_acq): Rename to above. + (atomic_exchange_and_add, atomic_add): Fix name and usage of it. + (atomic_increment, atomic_decrement): Likewise. + +2003-03-21 Ulrich Drepper + + * sysdeps/x86_64/bits/atomic.h: Don't use matching memory constraints. + * sysdeps/i386/i486/bits/atomic.h: Likewise. + +2003-03-21 Roland McGrath + + * include/atomic.h (atomic_compare_and_exchange_bool_acq): Typo fix. + +2003-03-20 Ulrich Drepper + + * include/atomic.h: Define atomic_compare_and_exchange_val_acq, + atomic_compare_and_exchange_val_rel, + atomic_compare_and_exchange_bool_acq, and + atomic_compare_and_exchange_bool_rel instead of + atomic_compare_and_exchange_acq and atomic_compare_and_exchange_rel. + * sysdeps/i386/i486/bits/atomic.h: Define + __arch_compare_and_exchange_val_*_acq instead of + __arch_compare_and_exchange_*_acq. + * sysdeps/x86_64/bits/atomic.h: Likewise. + * sysdeps/ia64/bits/atomic.h: Define + __arch_compare_and_exchange_bool_*_acq instead of + __arch_compare_and_exchange_*_acq. + * sysdeps/powerpc/bits/atomic.h: Likewise. + * sysdeps/s390/bits/atomic.h: Likewise. + * gmon/mcount.c: Adjust for new form of compare&exchange macros. + * malloc/set-freeres.c: Likewise. + * nscd/cache.c: Likewise. + * stdlib/cxa_finalize.c: Likewise. + * sysdeps/unix/sysv/linux/getsysstats.c: Likewise. + +2003-03-20 Alexandre Oliva + + * sysdeps/mips/bits/setjmp.h: n32 has only 6 call-saved fpregs. + * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Adjust. + * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise. + + * sysdeps/unix/sysv/linux/mips/pread.c: Don't break up offset + into high and low halves on n64. + * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. + +2003-03-20 Ulrich Drepper + + * include/atomic.h (atomic_decrement_if_positive): Adjust for the + correct atomic_compare_and_exchange_acq semantics. + +2003-03-20 Alexandre Oliva + + * sysdeps/mips/ieee754.h: Remove excess #endif. + +2003-03-20 Roland McGrath + + * sysdeps/powerpc/bits/atomic.h (atomic_exchange): Remove unused + variable. Remove superfluous memory clobber. + + * include/atomic.h: Syntax braino fix. + + * posix/tst-nice.c (do_test): Use %m formats instead of printing errno + in decimal. Don't bail if niced at start. Just check that nice call + bumps the total at all. + +2003-03-20 Alexandre Oliva + + * sysdeps/mips/bits/setjmp.h: Store all N32 and N64 registers, + including pc, gp, sp and fp, as long long. + * sysdeps/mips/mips64/setjmp.S: Pass gp to __sigsetjmp_aux. + * sysdeps/mips/mips64/setjmp_aux.c: Adjust type of arguments. + Add gp argument, and set gp in the jmpbuf to it. + * sysdeps/mips/setjmp_aux.c: Revert to o32-only. + +2003-03-20 Ulrich Drepper + + * include/atomic.h: Define atomic_exchange and + atomic_decrement_if_positive if not already defined. Add some + __builtin_expect. + * sysdeps/i386/i486/bits/atomic.h: Define atomic_exchange. + * sysdeps/x86_64/bits/atomic.h: Likewise. + * sysdeps/ia64/bits/atomic.h: Pretty printing. Define atomic_exchange. + * sysdeps/powerpc/bits/atomic.h: Pretty printing. Define + atomic_exchange, atomic_exchange_and_add, and + atomic_decrement_if_positive + +2003-03-20 Alexandre Oliva + + * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: Sign-extend + with a single instruction. + + * sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_MASK): Define + properly for n64. + (elf_machine_runtime_setup): Cast link_map pointer to Elf Addr + type. + (elf_machine_rel, elf_machine_rel_relative): Cast symidx to Elf + Word before comparing with gotsym. Take reloc_addr argument as + void*. Remove the code added for the compiler to drop any + alignment assumptions. + +2003-03-19 Ulrich Drepper + + * Makefile (distribute): Add include/atomic.h and bits/atomic.h. + * include/atomic.h: New file. + * sysdeps/i386/i486/bits/atomic.h: New file. + * sysdeps/x86_64/bits/atomic.h: New file. + * sysdeps/s390/bits/atomic.h: New file. + * sysdeps/sh/bits/atomic.h: New file. + * sysdeps/ia64/bits/atomic.h: New file. + * sysdeps/powerpc/bits/atomic.h: New file. + * sysdeps/generic/bits/atomic.h: New file. + * sysdeps/i386/i486/atomicity.h: Removed. + * sysdeps/x86_64/atomicity.h: Removed. + * sysdeps/s390/s390-32/atomicity.h: Removed. + * sysdeps/s390/s390-64/atomicity.h: Removed. + * sysdeps/ia64/atomicity.h: Removed. + * sysdeps/powerpc/powerpc32/atomicity.h: Removed. + * sysdeps/powerpc/powerpc64/atomicity.h: Removed. + * elf/dl-profile.c: Use atomic.h instead of atomicity.h. Adjust + use of macros from atomicity.h to new names and semantics. + * gmon_mcount.c: Likewise. + * malloc/set-freeres.c: Likewise. + * nscd/cache.c: Likewise. + * stdlib/cxa_finalize.c: Likewise. + * sysdeps/unix/sysv/linux/getsysstats.c: Likewise. + +2003-03-19 Alexandre Oliva + + * sysdeps/mips/ieee754.h: New file, suitable to replace both + ../ieee754/ieee754.h and ../ieee754/ldbl-128/ieee754.h, kept + mips-specific for now. + +2003-03-19 Ulrich Drepper + + * stdlib/strtod.c (INTERNAL): While eating trailing zeros handle + hexdigits correctly. Reported by Fred Tydeman . + * stdlib/tst-strtod.c: Add test for the bug. + + * posix/tst-nice.c (do_test): Remove invalid of return value. + Don't run test if initial level != 0. + +2003-03-19 Amos Waterland + + * posix/tst-nice.c: New file. + * posix/Makefile (tests): Add tst-nice. + +2003-03-18 Roland McGrath + + * abilist: New directory of libfoo.abilist files maintained using + scripts/merge-abilist.awk and "make update-abi" rules. + * Makefile (distribute): Add abilist/*.abilist. + * Makerules [$(build-shared) = yes] [$(subdir)] (tests): + Depend on check-abi. + + * configure.in: Move $critic_missing check after all AC_CHECK_PROG_VER. + * configure: Regenerated. + + * sysdeps/unix/sysv/linux/syscalls.list (posix_fadvise64): Fix name. + +2003-03-18 Ulrich Drepper + + * sysdeps/posix/sysconf.c (__sysconf): Handle _SC_MONOTONIC_CLOCK + correctly. + +2003-03-18 Steven Munroe + + * sysdeps/powerpc/powerpc64/memcpy.S: New file. + +2003-03-18 Ulrich Drepper + + * Versions.def: Add GLIBC_2.3.3 for libpthread. + +2003-03-17 Ulrich Drepper + + * sysdeps/generic/libc-start.c [!SHARED && + !LIBC_START_MAIN_AUXVEC_ARG]: Compute beginning of auxvec correctly. + +2003-03-17 Roland McGrath + + * include/ctype.h: Revert last change. + +2003-03-17 Ulrich Drepper + + * argp/tst-argp1.c: Use test-skeleton.c. + * locale/tst-C-locale.c: Likewise. + +2003-03-17 Alexandre Oliva + + * sysdeps/mips/mips64/Implies: Move wordsize-64 to... + * sysdeps/mips/mips64/n64/Implies: New file. + * sysdeps/mips/mips64/n64/Makefile: New file. + * sysdeps/mips/mips64/n64/el/bits/endian.h: New file. + * sysdeps/mips/mips64/n32/Implies: New file. + * sysdeps/mips/mips64/n32/Makefile: New file. + * sysdeps/mips/mips64/n32/el/bits/endian.h: New file. + * sysdeps/unix/mips/mips64/n32/sysdep.h: New file. + * sysdeps/unix/mips/mips64/n64/sysdep.h: New file. + * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: New file. + * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: New file. + * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: New file. + * sysdeps/unix/sysv/linux/mips/mips64/ldconfig.h: New file. + * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: New file. + * sysdeps/unix/sysv/linux/mips/mips64/recv.c: New file. + * sysdeps/unix/sysv/linux/mips/mips64/send.c: New file. + * sysdeps/unix/sysv/linux/mips/mips64/syscall.S: New file. + * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: New file. + * sysdeps/unix/sysv/linux/mips/mips64/umount.c: New file. + * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: New file. + + * sysdeps/unix/sysv/linux/configure.in (libc_cv_slibdir): Use + lib64 for mips64/n64 and lib32 for mips64/n32. + (ldd_rewrite_script): Needed for all mips64 configurations. + * sysdeps/unix/sysv/linux/configure: Rebuilt. + * sysdeps/unix/sysv/linux/mips/mips64/ldd-rewrite.sed: New file. + * sysdeps/unix/sysv/linux/mips/mips64/Dist: New file. + + * sysdeps/mips/machine-gmon.h (MCOUNT): Define for N32 and N64 as + well. + + * sysdeps/unix/sysv/linux/mips/configure.in: New. Pre-process + asm/unistd.h into asm-unistd.h. + * sysdeps/unix/sysv/linux/mips/configure: Generated. + * sysdeps/unix/sysv/linux/mips/Makefile: Do custom processing + of syscall list. + * sysdeps/unix/sysv/linux/mips/sys/syscall.h: New file. + * sysdeps/unix/sysv/linux/mips/clone.S: Don't include + asm/unistd.h. + + * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: New file. + * sysdeps/unix/sysv/linux/mips/ptrace.c: New file. Use long + long type for registers on n32. + + * sysdeps/mips/bits/wordsize.h: New file, appropriate for all + 3 ABIs. + * sysdeps/mips/mips64/gmp-mparam.h: New file. Define + BITS_PER_LONGINT to __WORDSIZE, to match all 3 ABIs. + * sysdeps/mips/setjmp_aux.c (STRINGXP, REGS, PTRS): New macros. + (__sigsetjmp_aux): Use them. Adjust for all 3 ABIs. + * sysdeps/mips/elf/start.S: Adjust for all 3 ABIs. + * sysdeps/unix/mips/brk.S: Likewise. + * sysdeps/unix/mips/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/mips/clone.S: Likewise. + * sysdeps/mips/bits/setjmp.h (__jmp_buf): Likewise. + * sysdeps/mips/sys/ucontext.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/profcs.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise. + * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise. + * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise. + * sysdeps/mips/mips64/bsd-setjmp.S: Likewise. + * sysdeps/mips/mips64/setjmp.S: Likewise. + * sysdeps/mips/mips64/bits/setjmp.h: Deleted, obsolete. + * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Use long long for + 64-bit types. + +2003-03-16 Ulrich Drepper + + * sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Define tv here, + not at function level. + * sysdeps/unix/clock_gettime.c (HANDLE_REALTIME): Likewise. + +2003-03-15 Roland McGrath + + * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r): int -> size_t + * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise. + * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Likewise. + * nis/nis_table.c (__create_ib_request): Likewise. + + * posix/fnmatch_loop.c: Add casts for signedness. + * nss/nss_files/files-hosts.c: Likewise. + * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise. + * gmon/gmon.c (write_call_graph): Use u_long for FROM_LEN. + * nscd/nscd_getgr_r.c (nscd_getgr_r): Use nscd_ssize_t for CNT. + + * configure.in (libc_cv_visibility_attribute): Use AC_TRY_COMMAND, + get errors into the log file. + (libc_cv_broken_visibility_attribute): Likewise. + (libc_cv_broken_alias_attribute): Likewise. + (libc_cv_asm_weak_directive): Likewise. + (libc_cv_need_minus_P): Likewise. + (libc_cv_dot_text): Likewise. + (libc_cv_asm_global_directive): Likewise. + (libc_cv_asm_type_prefix): Likewise. + * configure: Regenerated. + + * nscd/cache.c (cache_search): Give first arg type `request_type'. + * nscd/nscd.h: Update decl. + + * nscd/nscd_getpw_r.c (nscd_getpw_r): Add casts for signedness. + * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. + * elf/dl-close.c (_dl_close): Likewise. + * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown): int -> size_t + * io/fts.c (fts_build): Likewise. + * elf/cache.c (add_to_cache): Likewise. + * locale/programs/locarchive.c (show_archive_content): Likewise. + + * posix/fnmatch.c (fnmatch): Tweak __builtin_expect use. + + * include/ctype.h (__ctype_b_loc): Tweak type punning to make gcc 3.3 + happy. + (__ctype_toupper_loc, __ctype_tolower_loc): Likewise. + +2003-03-15 Ulrich Drepper + + * sysdeps/unix/sysv/linux/ia64/system.c: Use the generic Linux + code for most parts. + +2003-03-15 Roland McGrath + + * sysdeps/unix/sysv/linux/i386/system.c: Moved to ... + * sysdeps/unix/sysv/linux/system.c: ... here. + (FORK): Don't #define if already #define'd. + * sysdeps/unix/sysv/linux/s390/system.c: File removed. + * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]: + (__ASSUME_CLONE_THREAD_FLAGS): Define for kernel >= 2.5.64. + + * dlfcn/tst-dlinfo.c: New file. + * dlfcn/Makefile (tests): Add tst-dlinfo. + ($(objpfx)tst-dlinfo): New target. + + * dlfcn/dlinfo.c: New file. + * dlfcn/Makefile (libdl-routines): Add it. + * dlfcn/Versions (libdl: GLIBC_2.3.3): Add dlinfo. + * dlfcn/dlfcn.h [__USE_GNU]: Declare dlinfo. + [__USE_GNU] (RTLD_DI_*): New enum constants. + [__USE_GNU] (Dl_serpath, Dl_serinfo): New types. + * elf/dl-load.c (cache_rpath): New inline function. + (_dl_map_object): Use it. + (_dl_rtld_di_serinfo): New function. + * sysdeps/generic/ldsodefs.h: Declare it. + * elf/Versions (ld: GLIBC_PRIVATE): Add it. + + * sysdeps/powerpc/elf/libc-start.c (AUX_VECTOR_INIT): Define it. + (LIBC_START_MAIN, LIBC_START_MAIN_AUXVEC_ARG, MAIN_AUXVEC_ARG) + (INIT_MAIN_ARGS): Define, and #include . + (__libc_start_main): Just call the generic one for most of the work. + + * sysdeps/generic/libc-start.c [LIBC_START_MAIN]: If defined, define a + static function by that name instead of BP_SYM (__libc_start_main). + [LIBC_START_MAIN_AUXVEC_ARG]: Take AUXVEC as argument. + [MAIN_AUXVEC_ARG]: Pass 4th argument to MAIN. + [INIT_MAIN_ARGS]: Give INIT the same args as MAIN. + + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [DL_PLATFORM_AUXV]: + Use this macro for extra AT_* cases. + * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_PLATFORM_AUXV): + New macro, guts from ... + (__aux_init_cache): ... here, function removed. + (DL_PLATFORM_INIT): Don't define this. + + * sysdeps/powerpc/powerpc32/memset.S: Put __cache_line_size in bss. + * sysdeps/powerpc/powerpc64/memset.S: Likewise. + + * Versions.def (libthread_db): Add GLIBC_2.3.3 set. + +2003-03-14 Roland McGrath + + * dlfcn/dlerror.c (dlerror): If objname is "", don't put ": " after it. + +2003-03-14 Jakub Jelinek + + * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Fix a typo. + + * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Include + sysdeps/posix/pause.c instead of sysdeps/unix/common/pause.c. + +2003-03-14 Alexandre Oliva + + * sysdeps/mips/fpu/bits/mathdef.h: New. + (__NO_LONG_DOUBLE_MATH): Define for o32. + + * sysdeps/mips/sys/asm.h: Formatting changes. + (PTR, PTRSIZE, PTRLOG): Adjust for all 3 ABIs. + (CPADD): Define for all of them. + (SETUP_GP, SETUP_GPX, SETUP_GPX_L, SAVE_GP, SETUP_GP64, + SETUP_GPX64, SETUP_GPX64_L, RESTORE_GP64, USE_ALT_CP, + NARGSAVE): Define per ABI spec. + (END): Don't redefine. + (LONG_SLL, LONG_SLLV, LONG_SRL, LONG_SRLV, LONG_SRA, + LONG_SRAV): Remove duplicate definitions. + (PTR_ADD, PTR_ADDI, PTR_ADDU, PTR_ADDIU, PTR_SUB, PTR_SUBI, + PTR_SUBU, PTR_SUBIU, PTR_L, PTR_S, PTR_SLL, PTR_SLLV, PTR_SRL, + PTR_SRLV, PTR_SRA, PTR_SRAV, PTR_SCALESHIFT): Define for n32. + (PTR_LA): Define for all 3 ABIs. + + * sysdeps/mips/dl-machine.h: Include sys/asm.h. + (elf_machine_matches_host): Prevent linking of o32 and n32 + together. + (elf_machine_dynamic): Document assumption on $gp. + (STRINGXP, STRINGXV, STRINGV_): New macros. + (elf_machine_load_address): Use them to stringize PTR_LA and + PTR_SUBU. + (ELF_DL_FRAME_SIZE, ELF_DL_SAVE_ARG_REGS, + ELF_DL_RESTORE_ARG_REGS, IFABIO32): New macros used in... + (_dl_runtime_resolve): Adjust it for all 3 ABIs. + (__dl_runtime_resolve): Cast the symtab initializer to the + right type. + (RTLD_START): Use it. Adjust it for all 3 ABIs. + (elf_machine_rel): Mark as always_inline in RTLD_BOOTSTRAP. + Handle 64-bit R_MIPS_REL composite relocation and accept + R_MIPS_64 relocations to shift addend size to 64 bits. + Document assumption regarding local GOT entries. Document + backward-compatibility departing from the ABI behavior in + applying relocations that reference section symbols, no longer + used. Support relocations to mis-aligned offsets. + * sysdeps/mips/mips64/dl-machine.h: Deleted, obsolete. + + * sysdeps/unix/sysv/linux/mips/readelflib.c: New file. + + * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h + (_KERNEL_NSIG_BPW): Define in terms of _MIPS_SZLONG. + * sysdeps/unix/sysv/linux/mips/sigaction.c: Define restore and + restore_rt functions. Use them. + + * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't + .set mips2 on new abis. + +2003-03-13 Ulrich Drepper + + * posix/getconf.c: Recognize POSIX2_SYMLINKS. + * sysdeps/generic/bits/confname.h: Define _PC_2_SYMLINKS. + * sysdeps/posix/fpathconf.c: Handle _PC_2_SYMLINKS. + * sysdeps/posix/pathconf.c: Likewise. + * sysdeps/unix/sysv/linux/fpathconf.c: Likewise. + * sysdeps/unix/sysv/linux/pathconf.c: Likewise. + * sysdeps/unix/sysv/linux/pathconf.h: Define statfs_symlinks. + + * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define some more magic + words. + +2003-03-14 Alexandre Oliva + + * include/gmp.h: Include/gmp-mparam.h. + * stdlib/strtod.c: Include gmp-mparam.h before gmp.h and + gmp-impl.h. + + * elf/dl-conflict.c: Don't compile _dl_resolve_conflicts if + ELF_MACHINE_NO_RELA is set. + * elf/rtld.c (dl_main): No prelink support for REL-only. + + * sysdeps/generic/ldconfig.h (FLAG_MIPS64_LIBN32, + FLAG_MIPS64_LIBN64): Define. + * elf/cache.c (print_entry): Handle mips64 n32 and n64. + + * sysdeps/mips/memcpy.S: Map t0-3 to a4-7 on new abis. + * sysdeps/mips/memset.S: Likewise. + * sysdeps/mips/sys/regdef.h: Alias a4-7 or t0-3 to $8-11 + depending on the ABI. + + * sysdeps/mips/atomicity.h (exchange_and_add, atomic_add): + Don't .set mips2 on new abi. + (compare_and_swap): Likewise. Support 64-bit longs on n64. + + * stdlib/fpioconst.h: Include gmp.h with angle brackets. + +2003-03-13 Roland McGrath + + * elf/dl-load.c (_dl_map_object_from_fd): Bail if no PT_LOAD phdrs + found. Reported by Alexandre Oliva . + +2003-03-13 Alexandre Oliva + + * stdio-common/_itoa.c (_itoa_base_table): Make 64-bit + literals long long. + * stdlib/fpioconst.c: Likewise. + * stdlib/strtod.c: Likewise. + + * sysdeps/mips/add_n.S: Use L macro for local labels. + * sysdeps/mips/addmul_1.S: Likewise. + * sysdeps/mips/lshift.S: Likewise. + * sysdeps/mips/memcpy.S: Likewise. + * sysdeps/mips/memset.S: Likewise. + * sysdeps/mips/mul_1.S: Likewise. + * sysdeps/mips/rshift.S: Likewise. + * sysdeps/mips/sub_n.S: Likewise. + * sysdeps/mips/submul_1.S: Likewise. + * sysdeps/mips/mips64/add_n.S: Likewise. + * sysdeps/mips/mips64/addmul_1.S: Likewise. + * sysdeps/mips/mips64/lshift.S: Likewise. + * sysdeps/mips/mips64/mul_1.S: Likewise. + * sysdeps/mips/mips64/rshift.S: Likewise. + * sysdeps/mips/mips64/sub_n.S: Likewise. + * sysdeps/mips/mips64/submul_1.S: Likewise. + * sysdeps/unix/mips/sysdep.h: Define L() according to ABI + conventions. Define END as in sys/asm.h. + * sysdeps/unix/mips/sysdep.S: Likewise. + * sysdeps/unix/mips/wait.S: Likewise. + * sysdeps/unix/sysv/linux/mips/clone.S: Likewise. + + * sysdeps/ieee754/dbl-64/dbl2mpn.c (__mpn_extract_double): + Cast shifted values that may be too narrow to mp_limb_t. + * sysdeps/ieee754/dbl-64/mpn2dbl.c (__mpn_construct_double): + Likewise. + * sysdeps/ieee754/flt-32/mpn2flt.c (__mpn_construct_float): + Likewise. + * sysdeps/ieee754/ldbl-128/ldbl2mpn.c + (__mpn_extract_long_double): Likewise. + * sysdeps/ieee754/ldbl-128/mpn2ldbl.c + (__mpn_construct_long_double): Likewise. + * sysdeps/ieee754/ldbl-96/ldbl2mpn.c + (__mpn_extract_long_double): Likewise. + * sysdeps/ieee754/ldbl-96/mpn2ldbl.c + (__mpn_construct_long_double): Likewise. + +2003-03-13 Roland McGrath + + * elf/Makefile ($(objpfx)librtld.mk): Tweak regexp so that one-line + entries in the map file match too. + +2003-03-13 Guido Guenther + + * sysdeps/unix/sysv/linux/mips/clone.S: introduce and use local + label .Lthread_start since current binutils don't allow branches + to globally visible symbols. + +2003-03-13 Jakub Jelinek + + * sysdeps/unix/sysv/linux/ia64/sysdep.h (BREAK_INSN_1, BREAK_INSN, + ASM_OUTARGS_0, ASM_OUTARGS_1, ASM_OUTARGS_2, ASM_OUTARGS_3, + ASM_OUTARGS_4, ASM_OUTARGS_5, ASM_OUTARGS_6): Define. + (INTERNAL_SYSCALL, INLINE_SYSCALL): Use it. Make syscall arguments + clobbered by the syscall. + (ASM_ARGS_1, ASM_ARGS_2, ASM_ARGS_3, ASM_ARGS_4, ASM_ARGS_5, + ASM_ARGS_6): Change constraints from r to index of corresponding + output register. + * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Swap + ptid and ctid to match kernel. + * sysdeps/unix/sysv/linux/ia64/system.c (FORK): Likewise. + +2003-03-12 Steven Munroe + + * sysdeps/powerpc/powerpc64/elf/configure.in: Remove + AC_DEFINE(PI_STATIC_AND_HIDDEN). Not supported for PowerPC64. + * sysdeps/powerpc/powerpc64/elf/configure: Regenerated. + +2003-03-11 Roland McGrath + + * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): + Check SYM_MAP rather than SYM as definedness check. + Handle R_PPC64_ADDR32, R_PPC64_ADDR30, and R_PPC64_REL64 relocs. + Don't handle R_PPC64_REL24 reloc. + Mostly from Steven Munroe . + + * sysdeps/powerpc/powerpc64/dl-machine.h + [USE_TLS] (elf_machine_type_class): Match all the TLS relocs in a + block, so we cover all the TPREL16* flavors without 6 ||s. + [USE_TLS] (elf_machine_tprel): New function. + (elf_machine_rela) [USE_TLS]: Use elf_machine_tprel for TPREL64 reloc, + and handle TPREL16 relocs too. Return rather than break for DTPREL64. + Mostly from Steven Munroe . + +2003-03-11 Ralf Baechle + + * sysdeps/unix/sysv/linux/mips/clone.S (__thread_start): Use jal + instead of jalr to invoke subroutine so restoring the $gp register + will work properly. + +2003-03-11 Martin Schwidefsky + + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (__NR_pread64): Define + to __NR_pread if not defined. + (__NR_pwrite64): Define to __NR_pwrite if not defined. + +2003-03-11 Jakub Jelinek + + * sysdeps/unix/sysv/linux/ia64/system.c: New file. + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_CLONE_THREAD_FLAGS): Define for IA-64 and s390* with + kernel >= 2.5.64. + +2003-03-11 Jakub Jelinek + + * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): If CNT == 1, + allocate space even for the trailing '/'. + Reported by John Reiser . + + * sysdeps/unix/sysv/linux/ia64/sysdep.h (LOAD_ARGS_6, ASM_ARGS_6, + ASM_CLOBBERS_6): Define. + (ASM_CLOBBERS_5): Use ASM_CLOBBERS_6. + * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Reorder arguments + to match IA-32 order. + * sysdeps/unix/sysv/linux/i386/clone.S: Fix comment. + +2003-03-10 Steven Munroe + + * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't clobber R7. + Copy extra params for NPTL to registers used in clone syscall. + +2003-03-10 Martin Schwidefsky + + * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Correct system + call names for pread and pwrite. + +2003-03-10 Roland McGrath + + * dlfcn/Makefile (libdl-routines): Add dladdr1. + * dlfcn/dladdr1.c: New file. + * dlfcn/dlfcn.h [__USE_GNU]: Declare dladdr1. + [__USE_GNU] (RTLD_DL_SYMENT, RTLD_DL_LINKMAP): New enum constants. + * elf/dl-addr.c (_dl_addr): Take new args, a struct link_map ** and + a const ElfNN_Sym ** to fill in. + * include/dlfcn.h: Update decl. Include . + * dlfcn/dladdr.c (dladdr): Update caller. + * malloc/mtrace.c (tr_where): Likewise. + * sysdeps/generic/elf/backtracesyms.c: Likewise. + * sysdeps/generic/elf/backtracesymsfd.c: Likewise. + * dlfcn/Versions (libdl: GLIBC_2.3.3): New set, add dladdr1. + * Versions.def (libdl): Define GLIBC_2.3.3 set. + + * sysdeps/unix/make-syscalls.sh: Generate $(compile-syscall) for + assembler command. + * sysdeps/unix/Makefile (compile-syscall): New variable. + Pass -g0 to compiler for assembling syscall stubs from stdin. + + * sysdeps/i386/sysdep.h [HAVE_CPP_ASM_DEBUGINFO] + (STABS_CURRENT_FILE, STABS_CURRENT_FILE1, STABS_FUN, STABS_FUN_END): + Define these to do nothing. + + * configure.in: New check for -g on .S files. + * configure: Regenerated. + * config.make.in (have-cpp-asm-debuginfo): New variable. + * config.h.in (HAVE_CPP_ASM_DEBUGINFO): New #undef. + * Makeconfig (ASFLAGS): New variable, if undefined and + $(have-cpp-asm-debuginfo), take options matching -g% from $(CFLAGS). + * Makerules (compile.S, COMPILE.S): Use $(ASFLAGS). + +2003-03-09 Roland McGrath + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Take 3 new args + used by NPTL on new kernels. From Paul Mackerras . + +2003-03-09 Ulrich Drepper + + * po/fi.po: Update from translation team. + * po/ca.po: Likewise. + * po/da.po: Likewise. + +2003-03-08 Ulrich Drepper + + * rt/tst-aio7.c (do_test): Change BYTES into a #define. + +2003-03-07 Ulrich Drepper + + * rt/tst-aio7.c (do_test): Give BUFF permanent extent, too. + + * sysdeps/powerpc/fpu/w_sqrt.c: Fix comment. + +2003-03-07 Roland McGrath + + * sysdeps/s390/s390-32/sysdep.h (L): Use .Lfoo instead of foo. + * sysdeps/s390/s390-64/sysdep.h (L): Likewise. + +2003-03-04 Guido Guenther + + * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove unneeded + stubs, we have INLINE_SYSCALL. + * sysdeps/unix/sysv/linux/mips/bits/mman.h: Define MAP_POPULATE, + MAP_NONBLOCK. + +2003-03-06 Roland McGrath + + * rt/tst-aio7.c (do_test): Revert last change. Instead, give CB1 + permanent extent and add a comment about testing its implicit teardown. + +2003-03-06 Martin Schwidefsky + + * rt/tst-aio7.c (do_test): Cancel i/o on CB1 before it's out of scope. + +2003-03-05 Ulrich Drepper + + * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): Fix + reversed __builtin_expect expectation. + +2003-03-05 Roland McGrath + + * stdio-common/sscanf.c: Use prototype defn with ... syntax. + * libio/swscanf.c: Likewise. + * libio/swprintf.c: Likewise. + +2003-03-04 Roland McGrath + + * sysdeps/powerpc/powerpc64/dl-machine.h: Include . + (elf_machine_rela): Always use RESOLVE_MAP, needed for + R_PPC64_JMP_SLOT as well as TLS cases. + (BIT_INSERT): Move parenthesis where it ought to have been. + Reported by Steven Munroe . + + * posix/confstr.c (confstr): Correct STRING_LEN values for + _CS_GNU_LIBC_VERSION and _CS_GNU_LIBPTHREAD_VERSION, add missing + break. Reported by Alexandre Julliard . + +2003-03-04 Jakub Jelinek + + * sysdeps/ia64/fpu/libm-test-ulps: Regenerated. + +2003-03-04 Ulrich Drepper + + * sysdeps/unix/sysv/linux/x86_64/clone.S: Add support for the new + clone parameters. + + * po/sv.po: Update from translation team. + +2003-03-04 Andreas Jaeger + Ulrich Drepper + + * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Fix comments. + +2003-03-03 Ulrich Drepper + + * sysdeps/generic/dl-sysdep.h: Add double include protection. + + * po/tr.po: Update from translation team. + + * elf/dl-load.c (_dl_map_object_from_fd): Determine whether there + are holes between the segments. Only call mprotect to set + proection to PROT_NONE if there are some. + + * elf/dl-load.c (struct filebuf): Actually use FILEBUF_SIZE. + Update comment. + + * include/sched.h (__clone2): Use ... instead of adding all the + new parameters. + +2003-03-03 Roland McGrath + + * elf/dl-load.c (struct filebuf): Fix typo in last change. + + * sysdeps/powerpc/powerpc32/elf/configure.in: Don't define + PI_STATIC_AND_HIDDEN. + +2003-03-03 Ian Wienand + + * sysdeps/unix/sysv/linux/ia64/clone2.S: Update to take extra clone + flags. + * include/sched.h: Update clone2 prototype. + +2003-03-03 Andreas Jaeger + + * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): New definition. + (llrint): Use it to correct return type. + (lrint): Likewise. + (lround): Likewise. + (llround): Likewise. + +2003-03-03 Ulrich Drepper + + * elf/dl-load.c (struct filebuf): For 64-bit platforms use 640 + byte filebuf size. + + * libio/fileops.c (_IO_new_file_fopen): Close stillborn descriptor + if ccs parameter isn't valid. Reported by Andreas Schwab. + +2003-03-03 Martin Schwidefsky + + * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall): Add support + for system call numbers > 255. + * sysdeps/unix/sysv/linux/s390/s390-32/syscall.h (DO_CALL, + INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0, + INTERNAL_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S (syscall): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/syscall.h (DO_CALL, + INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0, + INTERNAL_SYSCALL): Likewise. + +2003-03-03 Martin Schwidefsky + + * sysdeps/generic/dl-tls.c (_dl_deallocate_tls): Don't free the dtv + array if it is the initial dtv. + +2003-03-03 Ulrich Drepper + + * po/es.po: Update from translation team. + * po/fr.po: Likewise. + * po/gl.po: Likewise. + * po/sk.po: Likewise. + * po/sv.po: Likewise. + + * sysdeps/unix/sysv/linux/syscalls.list: Add remap_file_pages entry. + * misc/sys/mman.h: Add prototype for remap_file_pages. + * sysdeps/generic/remap_file_pages.c: New file. + * misc/Makefile (routines): Add remap_file_pages. + * misc/Versions [libc:GLIBC_2.3.3]: Add remap_file_pages. + + * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Define MAP_POPULATE + and MAP_NONBLOCK. + * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise + * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. + +2003-03-03 Roland McGrath + + * sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Revert last change. + * sysdeps/ia64/dl-machine.h: Likewise. + * sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Remove const from + argument type. + * sysdeps/ia64/dl-lookupcfg.h: Update decl. + + * sysdeps/wordsize-64/strtol_l.c (strtoll_l): Define as weak alias. + * sysdeps/wordsize-64/strtoul_l.c (strtoull_l): Define as weak alias. + * locale/Versions (libc: GLIBC_2.3): Move those to ... + * sysdeps/wordsize-32/Versions (libc: GLIBC_2.3): ... here, new file. + * sysdeps/wordsize-64/Versions (libc: GLIBC_2.3.3) Likewise. + * Versions.def (libc): Add GLIBC_2.3.3 set. + + * sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Add const to MAP arg. + * sysdeps/ia64/dl-machine.h: Update decl. + +2003-03-03 Andreas Jaeger + + * sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Add missing brace. + +2003-03-02 Roland McGrath + + * scripts/abilist.awk: Reject data items with apparent 0 size. + + * scripts/merge-abilist.awk: Restore hack to elide pattern foo.*/bar + after foo.* as if it were a duplicate. + + * sysdeps/unix/sysv/linux/ia64/brk.S: Add .type and .size for __curbrk. + +2003-03-02 Ulrich Drepper + + * elf/dl-load.c (struct filebuf): Reduce buf array to 512 bytes. + + * sysdeps/generic/bits/time.h: Define CLOCK_MONOTONIC. + * sysdeps/posix/clock_getres.c: Define code for CLOCK_REALTIME only + if not already defined. Use SYSDEP_GETRES to allow other files to + provide alternative implementations. + * sysdeps/unix/sysv/linux/clock_getres.c: New file + * sysdeps/unix/clock_gettime.c: Define code for CLOCK_REALTIME only + if not already defined. Use SYSDEP_GETTIME to allow other files to + provide alternative implementations. + * sysdeps/unix/sysv/linux/clock_gettime.c: New file. + * sysdeps/unix/clock_settime.c: Define code for CLOCK_REALTIME only + if not already defined. Use SYSDEP_GETTIME to allow other files to + provide alternative implementations. + * sysdeps/unix/sysv/linux/clock_settime.c: New file. + * sysdeps/unix/clock_nanosleep.c: Use SYSDEP_NANOSLEEP to allow + other files to provide alternative implementations. Rearrange + tests for invalid parameters. + * sysdeps/unix/sysv/linux/clock_nanosleep.c: New file. + * sysdeps/unix/sysv/linux/sysconf.c: New file. + * sysdeps/unix/sysv/linux/kernel-features.h: Define + __ASSUME_POSIX_TIMERS for Linux 2.5.63 and up. + * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define + _POSIX_MONOTONIC_CLOCK. + +2003-03-02 Roland McGrath + + * scripts/merge-abilist.awk: More checks for bogus input. + Uniquify duplicate config names. + + * scripts/abilist.awk: Don't distinguish weak symbols in normal output. + + * sysdeps/powerpc/powerpc32/dl-machine.c (_dl_reloc_overflow): Renamed + from dl_reloc_overflow, make global. + (__process_machine_rela): Update callers. + * sysdeps/powerpc/powerpc32/dl-machine.h: Declare _dl_reloc_overflow. + Add attribute_hidden to __process_machine_rela decl. + (elf_machine_type_class, elf_machine_rela): Handle 16-bit TLS relocs. + + * sysdeps/generic/libc-start.c (__libc_start_main): Don't assign const + variable. + + * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt): + Don't use weak_extern for dl_rtld_map. Instead check only if [SHARED]. + (elf_machine_rela): Clean up. + + * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Clean up. + + PowerPC TLS support contributed by Paul Mackerras . + * sysdeps/powerpc/powerpc32/elf/configure.in: New file. + * sysdeps/powerpc/powerpc32/elf/configure: New generated file. + * elf/tls-macros.h [__powerpc__ && !__powerpc64__] + (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Define them. + * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Support + new relocs for TLS. + + * sysdeps/powerpc/dl-tls.h (TLS_TP_OFFSET, TLS_DTV_OFFSET): Move these + macros out of [SHARED]. + (TLS_TPREL_VALUE, TLS_DTPREL_VALUE): New macros. + + * elf/elf.h: Define R_PPC_* relocs for TLS support. + Clean up R_PPC64_* macro definition comments. + + * configure.in: In "running configure fragment for" message, + omit $srcdir from the name if we prepended it. + * configure: Regenerated. + + * elf/dl-reloc.c (allocate_static_tls): Fix calculations. + From Jakub Jelinek . + + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Revert last change, + which duplicated the O_DIRECT defn. + +2003-03-01 GOTO Masanori + + * stdlib/stdlib.h: Add missing __USE_BSD enclosure for BSD derived + random functions. + +2003-03-01 Andreas Schwab + + * resolv/Makefile (tests): Don't depend on + $(objpfx)mtrace-tst-leaks when cross compiling. + + * sysdeps/m68k/dl-machine.h (_dl_start_user): Access + __libc_stack_end through GOT since it is a global symbol. + +2003-03-01 GOTO Masanori + + * argp/argp.h: Fix a typo. + Reported by H.S.Teoh . + + * manual/terminal.texi: Fix cfmakeraw() definition from int to void. + +2003-02-27 Pat Rankin + + * posix/regexec.c (proceed_next_node): Cast re_string_get_buffer to + char *. + (get_subexp): Likewise. + +2003-03-01 GOTO Masanori + + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECT): Define. + +2003-02-26 Steven Munroe + + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (O_DIRECT): Define. + +2003-02-27 Roland McGrath + + * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Remove + special case for dl_rtld_map in R_PPC64_RELATIVE; it's harmless to + repeat it and avoids the test for the common case. + Clean up and fix calculations for TLS relocs. + + * sysdeps/powerpc/powerpc64/dl-tls.h: Moved to ... + * sysdeps/powerpc/dl-tls.h: ... here. + (TLS_TP_OFFSET): New macro. + + * sunrpc/svc_udp.c (svcudp_recv): Add a cast to last change. + +2003-02-27 Ulrich Drepper + + * sysdeps/i386/fpu/libm-test-ulps: Increase ULPs for yn due to + code generation changes in recent gcc. + +2003-02-26 Steven Munroe + + * sysdeps/powerpc/fpu/fpu_control.h (_FPU_GETCW, _FPU_SETCW): + Rename argument to avoid symbol conflict. + + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h + [__USE_GNU] (O_DIRECT): New macro. + +2003-02-24 David Mosberger + + * sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Fix + unwind info. + +2003-02-27 Ulrich Drepper + + * resolv/res_libc.c [USE___THREAD] (_res): Don't need the + initializer anymore now that res_thread_freeres is more careful. + + * sunrpc/svc_udp.c (svcudp_recv): Remove all control messages + except the PKTINFO. Reset interface in PKTINFO. + Patch by Neil Brown [PR libc/4973]. + +2003-02-25 Steven Munroe + + * elf/elf.h: Add new R_PPC64_* relocs for TLS. + * elf/tls-macros.h [__powerpc64__] (TLS_LE, TLS_IE, TLS_LD, TLS_GD): + Define. + * sysdeps/powerpc/powerpc64/elf/configure.in: New file. + * sysdeps/powerpc/powerpc64/elf/configure: New file (generated). + * sysdeps/powerpc/powerpc64/dl-machine.h: Support new TLS relocs. + * sysdeps/powerpc/powerpc64/dl-tls.h: New file. + + * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): + Do DL_SYSDEP_OSCHECK here, matching 2002-12-01 change to generic file. + +2003-02-25 Andreas Jaeger + + * manual/memory.texi (Malloc Tunable Parameters): Clarify + behaviour of M_MMAP_THRESHOLD. + +2003-02-25 Roland McGrath + + * resolv/res_init.c (res_thread_freeres): Bail out if _res.nscount is + zero, inidicating _res was not initialized yet. + +2003-02-24 Ulrich Drepper + + * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remove EACCES + test. + +2003-02-24 Roland McGrath + + * sysdeps/posix/pause.c: Add LIBC_CANCEL_HANDLED. + +2003-02-23 Roland McGrath + + * sysdeps/posix/pause.c: New file. + * sysdeps/unix/common/pause.c: File removed. + +2003-02-23 Ulrich Drepper + + * sysdeps/generic/bits/confname.h: Remove #ifs. + + * posix/Makefile (CFLAGS-regex.c): Remove RE_ENABLE_I18N definition. + * posix/regex_internal.h (RE_ENABLE_I18N): Pretty printing. + + * resolv/res_libc.c [USE___THREAD] (_res): Initialize _vcsock + element to -1. + +2003-02-22 Ulrich Drepper + + * sysdeps/generic/dl-sysdep.c: Avoid warning. + +2003-02-22 Roland McGrath + + * resolv/tst-leaks.c: New file by Daniel Jacobowitz . + * resolv/Makefile (tests): Add tst-leaks. + ($(objpfx)tst-leaks): Depend on $(objpfx)libresolv.so. + (tst-leaks-ENV): New variable. + ($(objpfx)mtrace-tst-leaks): New target. + (tests): Depend on it. + + * include/libc-internal.h: Declare __libc_thread_freeres. + + * Makerules: Fix last change to use $($(subdir)-version) when set. + + * Makerules (install-lib-nosubdir): Depend on installed + libfoo-X.Y.Z.so and libfoo.so.NN files so they are installed + regardless of the libfoo.so target's dependencies. + + * MakeTAGS (sub-make-vars): New variable, includes generating=t. + Use that in $(MAKE) calls. + +2003-02-22 Ulrich Drepper + + * catgets/gencat.c (read_input_file): Collision between + auto-assigned numbers and user-defined nubmers is not fatal. + Handle it. + Patch by Michael M. Lampkin . + * catgets/Makefile: Add rules to run test2.msg test. + * catgets/test2.msg: New file. + + * catgets/gencat.c (main): Return 1 if messages have been printed. + + * iconv/iconv_prog.c (main): Unify messages. + + * stdlib/strtod.c (INTERNAL): Remove bogus clearing of second word + when shifting retval. + * stdlib/tst-strtod.c (main): Add strtold test case. + Reported by Fred J. Tydeman . + +2003-02-21 Roland McGrath + + * malloc/thread-freeres.c: Conditionalize on _LIBC_REENTRANT. + * sunrpc/rpc_thread.c: Likewise for text_set_element use. + (__rpc_thread_destroy): Add it to __libc_subfreeres too. + + * include/resolv.h: Add libc_hidden_proto for __res_nclose. + * resolv/res_init.c (__res_nclose): Add libc_hidden_def. + (res_thread_freeres): New function, on __libc_thread_subfreeres and + __libc_subfreeres. + + * malloc/Versions (libc: GLIBC_PRIVATE): Add __libc_thread_freeres. + * malloc/thread-freeres.c: New file. + * malloc/Makefile (aux): Add it. + * sunrpc/Versions (libc: GLIBC_PRIVATE): Removed. + * sunrpc/rpc_thread.c (__rpc_thread_destroy): Put in special section + "__libc_thread_freeres_fn" and add to __libc_thread_subfreeres set. + + * sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Typo fix. + * sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Typo fix. + +2003-02-21 Roland McGrath + + * sysdeps/mach/hurd/opendir.c (__opendir): Use O_NONBLOCK in open. + + * iconvdata/Makefile (tests): Add bug-iconv3 only if + [$(have-thread-library) = yes]. + +2003-02-21 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/signum.h (__SIGRTMAX): Define as _NSIG. + + * sysdeps/unix/sysv/linux/i386/getuid.c: Use INTERNAL_SYSCALL and do + not chechk for errors (unless testing for 32bit variant). + * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise. + +2003-02-21 Jakub Jelinek + + * sysdeps/x86_64/dl-machine.h (elf_machine_rela) : + Check for signed overflow, not unsigned. + + * sysdeps/sparc/sparc64/elf/configure.in: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (sysdep-CFLAGS): + Use -fcall-used-g6, not -fcall-used-g7. + +2003-02-21 Andreas Jaeger + + * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Fix setting of default + mode. + + * sysdeps/x86_64/fpu/fsetexcptflg.c (fesetexceptflag): Do not + clear whole mxcsr but only exceptions. + +2003-02-21 Roland McGrath + + * Makerules: Filter $(install-lib-ldscripts) out of list of targets + for libfoo.so that need $(make-link) rules. + +2003-02-21 Roland McGrath + + * sysdeps/mach/hurd/bits/typesizes.h (__DEV_T_TYPE): Use __U32_TYPE + to match existing struct stat layout in mig protocols. + +2003-02-20 Ulrich Drepper + + * version.h (VERSION): Bump to 2.3.2. + + * elf/Makefile (distribute): Add reldep9.c, tst-array1.exp, + tst-array2.exp, tst-array4.exp, tst-array2dep.c, check-textrel.c, + and dl-sysdep.h. + * sysdeps/generic/Dist: Add sysdep-cancel.h. + * sysdeps/powerpc/nofpu/Dist: Add soft-supp.h. + * sysdeps/unix/Dist: Add s-proto-bp.S and s-proto-cancel.S. + * sysdeps/unix/sysv/linux/Dist: Add pathconf.h. + * sysdeps/unix/sysv/linux/i386/Dist: Add bp-thunk.h. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: Add fe_nomask.c and + ucontext_i.h. + * Makefile (distribute): Add include/stubs-prologue.h, + include/gnu/stubs.h, scripts/merge-abilist.awk, and + scripts/extract-abilist.awk. + +2003-02-20 Roland McGrath + + * math/Makefile (distribute): Don't add generated files. + +2003-02-20 Ulrich Drepper + + * math/Makefile: Rearrange variable definitions slightly to get + definition in the right order. + +2003-02-20 Roland McGrath + + * Makerules: Clean up conditional around include of tls.make. + * Make-dist: Export generating=t to prevent using that. + (+distinfo): Likewise for $(shell $(MAKE) ...) runs. + +2003-02-20 Ulrich Drepper + + * inet/rcmd.c (rresvport_af): Avoid using invliad values. Wrap + around in search if port IPPORT_RESERVED/2 has been test. + +2003-02-20 Paolo Bonzini + + * posix/regcomp.c: Remove inclusions. + * posix/regexec.c: Likewise. + * posix/regex_internal.c: Likewise. + * posix/regex_internal.h: Add inclusions here. + * posix/regex.c: Only include sys/types.h before regex.h. Include + regex_internal.h here. Include regex_internal.c before regcomp.c + and regexec.c (might expose more opportunities to the C compiler). + + * posix/regcomp.c (parse_expression): Fix construct rejected by SGI CC. + + * posix/regex_internal.h [!_LIBC] (__mempcpy): Fix typo. + [!_LIBC] (__wcrtomb): New definition. + [!_LIBC]: Conditionalize enabling of I18N on HAVE_WCSCOLL and + HAVE_LOCALE_H as well. + +2003-02-20 Ulrich Drepper + + * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Remove obsolete + patch to check for system call errors. + +2002-07-24 Philip Blundell + + * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Yield ENODEV + on unknown systems. + +2003-02-20 Franz Sirl + + * sysdeps/powerpc/powerpc32/atomicity.h: Remove compiler workaround. + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_NEW_PRCTL_SYSCALL): Defined for ppc32 too. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Use prctl + if possible. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Avoid short + interprocedure branches. + * sysdeps/powerpc/soft-fp/Dist (sim-full.c, fenv_const.c): Move to... + * sysdeps/powerpc/nofpu/Dist: ...here. + * sysdeps/unix/sysv/linux/powerpc/Dist (fe_nomask.c): Move to... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: ...here. + * sysdeps/unix/sysv/linux/s390/s390-64/Dist (kernel_stat.h): Delete. + * sysdeps/unix/sysv/linux/sparc/Dist (bits/utmpx.h): Delete. + * sysdeps/unix/sysv/linux/x86_64/Dist (bits/utmpx.h): Delete. + +2003-02-18 Alan Modra + + * sysdeps/powerpc/powerpc32/sysdep.h (HIDDEN_JUMPTARGET): Redefine. + +2003-02-20 Philip Blundell + + * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Add + missing arguments to INTERNAL_SYSCALL_ERROR_P and + INTERNAL_SYSCALL_ERRNO. + +2003-02-20 Martin Schwidefsky + + * sysdeps/unix/sysv/linux/s390/s390-32/chown.c (__real_chown): Test + for __ASSUME_32BITUIDS. + +2003-02-20 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Add MADV_* and + POSIX_MADV_* constants. + +2003-02-20 Kaz Kojima + + * sysdeps/unix/sysv/linux/sh/pread.c: New file. + * sysdeps/unix/sysv/linux/sh/pread64.c: New file. + * sysdeps/unix/sysv/linux/sh/pwrite.c: New file. + * sysdeps/unix/sysv/linux/sh/pwrite64.c: New file. + +2003-02-19 Jiro Sekiba + + * iconvdata/utf-16.c (gconv_end): Fix range of low surrogate. + +2003-02-16 Roland McGrath + + * signal/signal.h: Include , not . + +2003-02-19 Ulrich Drepper + + * stdlib/strtod.c (INTERNAL): Up the safety margin for cutting off + decimal input digits. + * stdlib/tst-strtod.c (main): Add test for strtof bug. + +2003-02-18 Ulrich Drepper + + * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Recognize + invalid file descriptors and missing access permissions. + +2003-02-17 Ulrich Drepper + + * nss/getXXbyYY_r.c (REENTRANT_NAME): Return 0 if no entry has + been found. + + * sysdeps/posix/sysconf.c (__sysconf): Test for LOGIN_NAME_MAX and + TTY_NAME_MAX and not the _POSIX_* minimal value macros. + * sysdeps/unix/sysv/linux/bits/local_lim.h: Define TTY_NAME_MAX + and LOGIN_NAME_MAX. + +2003-02-17 Kevin B. Hendricks + Franz Sirl + + * sysdeps/powerpc/elf/libc-start.c: Handle NONTLS_INIT_TP. + * sysdeps/powerpc/powerpc32/__longjmp.S: Remove R2 handling. + * sysdeps/powerpc/powerpc32/setjmp.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise. + +2003-02-17 Franz Sirl + + * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Delete. + * sysdeps/unix/sysv/linux/powerpc/truncate64.c: Delete. + * sysdeps/unix/sysv/linux/powerpc/pread64.c: Delete. + * sysdeps/unix/sysv/linux/powerpc/pread.c: Delete. + * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Delete. + * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Delete. + + * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: Move file... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: ...here. + * sysdeps/unix/sysv/linux/powerpc/glob64.c: Move file... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: ...here. + + * sysdeps/unix/sysv/linux/tcgetattr.c: Use INLINE_SYSCALL. + * sysdeps/unix/sysv/linux/tcsetattr.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: Delete. + * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Delete. + +2003-02-14 Thorsten Kukuk + + * nss/getent.c (print_hosts): Print all IP addresses of one host. + +2003-02-15 Roland McGrath + + * sysdeps/mach/hurd/tls.h: New file. + * sysdeps/mach/hurd/i386/tls.h: New file. + + * mach/errsystems.awk: Include in generated output. + + * sysdeps/mach/Makefile (mach-before-compile rule): Pass generating=t, + use target mach-before-compile instead of generated. + (mach-before-compile): New target. + * Makerules: Disable use of tls.make if $(generating) is set. + * mach/Makefile: Include mach-syscalls.mk even if no_deps=t. + * sysdeps/mach/hurd/Makefile: Make generated hurd headers depend on + mach-shortcuts.h so mach/ generation happens before hurd/. + +2003-02-14 Ulrich Drepper + + * sysdeps/i386/fpu/s_nextafterl.c: Decrement high word of mantissa + of demorm correctly if low word is zero. + Reported by Fred J. Tydeman . + * math/libm-test.inc (nextafter_test): New test, but disabled due + to gcc bug. + + * sysdeps/generic/libc-start.c [HAVE_PTR_NTHREADS]: Decrement thread + counter and only call __exit_thread if this is not the last thread. + +2003-02-13 Jakub Jelinek + + * sysdeps/alpha/dl-machine.h (elf_machine_rela): Add instead of + subtracting map->l_tls_offset. + +2003-02-12 Ulrich Drepper + + * sysdeps/generic/bits/confname.h: Define _CS_GNU_LIBC_VERSION and + _CS_GNU_LIBPTHREAD_VERSION. + * posix/conststr.c: Handle these new values. + * posix/getconf.c: Likewise. + + * sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Fix + masking of version index. + Patch by Lance Larsh . + +2003-02-11 Ulrich Drepper + + * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Compute alignment + correctly. Reported by Thorsten Kukuk. + +2003-02-10 Ulrich Drepper + + * elf/Makefile (check-textrel-CFLAGS): Pass _XOPEN_SOURCE and + _BSD_SOURCE to compiler. + * elf/check-textrel.c (SWAP): Add parenthesis to avoid warnings. + Patches by Alan Modra. + +2003-02-08 Ulrich Drepper + + * io/ftwtest.c: Get current working directory before and after the + nftw call and make sure they match. + +2003-02-08 Jim Meyering + + * io/ftw.c (ftw_startup): When using FTW_CHDIR, always remember + the current directory, not just when DIR contains a slash. + Reported by Manoj Srivastava. + +2003-02-07 Jim Meyering + + * io/ftw.c: Add autoconf-recommended block of alloca-related code. + Include autoconf-recommended block of dirent/NAMELEN-related + definitions and includes. Use NAMELEN throughout, rather than + _D_EXACT_NAMLEN. + [_LIBC]: Define NAMELEN to _D_EXACT_NAMLEN. + [!_LIBC] (__getcwd): Define to xgetcwd and declare xgetcwd. + (stpcpy): Declare, if necessary. + (mempcpy): Define, if necessary. + [!_LIBC] (__stpcpy, __mempcpy): Define. + [!_LIBC] (LXSTAT, XSTAT): Define. + (lstat) [!LIBC && !LSTAT_FOLLOWS_SLASHED_SYMLINK]: Define to rpl_lstat. + (find_object): Don't use c99-style struct initializer. + Tweak wording in a couple comments. + +2003-02-07 Kaz Kojima + + * elf/tls-macros.h: Add non-PIC TLS macros and fix clobber list + for SH. + * sysdeps/unix/sysv/linux/sh/brk.c: Add SYSCALL_INST_PAD + after the trapa instruction. + * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Add additional + parameters. + * sysdeps/unix/sysv/linux/sh/sh4/sysdep.h: New file. + (NEED_SYSCALL_INST_PAD): Define. + * sysdeps/unix/sysv/linux/sh/sys/user.h (start_thread): Undef to + avoid to use definition for the kernel. + * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER): + Save and restore the frame pointer. + (SYSCALL_INST_PAD): Define. + (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL. + (INTERNAL_SYSCALL): Make use of ERR parameter. Add SYSCALL_INST_PAD + after trapa instruction. + (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO, + INTERNAL_SYSCALL_ERROR_P): Adjust accordingly. + +2003-02-07 Jakub Jelinek + + * resolv/res_libc.c (_res): Ensure _res is not common symbol, + so that it can have aliases. + * inet/herrno.c (h_errno): Put it into .bss not .data section. + +2003-02-07 Ulrich Drepper + + * elf/dl-runtime.c (fixup): Correct typo in version index computation. + (profile_fixup): Likewise. + Patch by Lance Larsh . + +2002-11-24 Robert Love + + * posix/sched.h: Second parameter of sched_setaffinity and + sched_getaffinity is `unsigned int', not `unsigned long'. + * sysdeps/generic/sched_setaffinity.c: Likewise. + * sysdeps/generic/sched_getaffinity.c: Likewise. + +2003-02-05 Ulrich Drepper + + * debug/catchsegv.sh: Fix typo in error messsage. + Reported by John Levon . + + * sysdeps/unix/sysv/linux/posix_fadvise.c: New file. + * sysdeps/unix/sysv/linux/syscalls.list: Add posix_fadvise64 syscall. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + + * libio/putwc_u.c: Use _IO_putwc_unlocked, not _IO_putc_unlocked. + Patch by Moritz Schulte . + +2003-02-05 Jim Meyering + + Fix a heap-corrupting bug. + * io/ftw.c: Include . + (PATH_MAX) [!defined PATH_MAX]: Define to 1024. + (process_entry): Allocate enough space to hold the resulting + file name. Don't presume that 2*dirbufsize is enough. + (ftw_startup): Always use PATH_MAX to compute buffer size, now that + it is guaranteed to be defined. + +2003-02-04 Ulrich Drepper + + * iconvdata/Makefile: Add rules to build and run bug-iconv3. + * iconvdata/bug-iconv3.c: New file. + +2003-02-04 Martin Schwidefsky + + * sysdeps/unix/sysv/linux/s390/system.c: New file. + +2003-02-03 Jakub Jelinek + + * sysdeps/sparc/sparc32/elf/configure.in (BROKEN_SPARC_WDISP22): New + check. + * config.h.in (BROKEN_SPARC_WDISP22): Add. + +2003-02-03 Ulrich Drepper + + * sysdeps/i386/i686/memmove.S: New file. + +2003-01-31 Steven Munroe + + * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: + Include kernel-features.h + * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise. + +2003-02-02 Jakub Jelinek + + * elf/tls-macros.h [sparc] (TLS_LD, TLS_GD): Add "cc" clobbers. + +2003-01-25 Jim Meyering + + * io/ftw.c (object_compare): Compare inode numbers before device + numbers, since the former are much more likely to differ. + +2003-02-01 Ulrich Drepper + + * time/tzfile.c (__tzfile_compute): Change return value type to + void. Adjust return statements. + * include/time.h (__tzfile_compute): Adjust prototype. + +2003-02-01 Jim Meyering + + * time/tzset.c (__tz_convert): Remove dead code; __tzfile_compute + always returns 1. + +2003-01-31 Steven Munroe + + * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c + [!__ASSUME_NEW_PRCTL_SYSCALL]: Noop prctl syscall and set ENOSYS. + +2003-01-31 Steven Munroe + + * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S + [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Generate ENOSYS stub. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S + [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S + [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S + [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise. + +2003-01-31 Steven Munroe + + * sysdeps/unix/sysv/linux/configure.in: Change arch_minimum_kernel + back to 2.4.19 for powerpc64. + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_NEW_PRCTL_SYSCALL): Define for powerpc64. + (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Define for powerpc64. + +2003-02-01 Ulrich Drepper + + * wcsmbs/wcscpy.c (wcscpy): Add alternative implementation for + platforms with strange alignment requirements on wchar_t. + +2003-01-31 Andreas Schwab + + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove __GI_* + aliases, already added by make-syscalls.sh. + * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/syscalls.list: Likewise. + * sysdeps/unix/inet/syscalls.list: Likewise. + * sysdeps/unix/syscalls.list: Likewise. + +2003-01-31 Andreas Schwab + + * sysdeps/m68k/Makefile (sysdep-CFLAGS): Don't define, not needed + any more. + +2003-01-30 Jakub Jelinek + + * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Use lg, + not l to load tls from stack. + +2003-01-30 Roland McGrath + + * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Move check for + null argument before all else. + Reported by Martin Schwidefsky . + +2003-01-30 Jakub Jelinek + + * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_lazy_rel): + Move to RESOLVE protected part of the header. + * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_lazy_rel): + Likewise. + +2003-01-30 Ulrich Drepper + + * stdio-common/Makefile (tests): Add bug15. + (bug15-ENV): Define. + * stdio-common/bug15.c: New file. + +2002-10-07 Wolfram Gloger + + * malloc/malloc.c (sYSMALLOc): Only check for breakage due + to foreign sbrk()'s if arena is contiguous. Bug report from + Bruno Haible . + +2003-01-30 Jakub Jelinek + + * sysdeps/s390/libc-tls.c: Include stdlib.h. + +2003-01-30 Jakub Jelinek + + * stdio-common/vfprintf.c (vfprintf): Only subtract lowest 3 bits of + ps.__count. + +2003-01-30 Ulrich Drepper + + * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Fix storing and + restoring of %r6. + * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise. Use + 64-bit load. + Patch by Martin Schwidefsky . + +2003-01-30 Jakub Jelinek + + * elf/dl-reloc.c (CHECK_STATIC_TLS): Move _dl_signal_error... + (allocate_static_tls): ...here. Add __attribute_noinline__. + Don't return on failure. + (_dl_reloc_bad_type): Add __attribute_noinline__. + * elf/do-rel.h (elf_dynamic_do_rel): Add + __attribute__((always_inline)). + * elf/dynamic-link.h (elf_machine_rel, elf_machine_rela, + elf_machine_rel_relative, elf_machine_rela_relative, + elf_machine_lazy_rel): Add prototypes with + __attribute__((always_inline)). + +2003-01-29 David Mosberger + + * elf/dl-support.c (_dl_aux_init): Handle AT_SYSINFO. + +2003-01-29 Roland McGrath + + * configure.in: Barf if configured in $srcdir. + +2003-01-28 Steven Munroe + + * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c + (__fe_nomask_env): Change __prctl call to INTERNAL_SYSCALL. + +2003-01-28 Martin Schwidefsky + + * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Reorder additional + clone parameters to match the order used on ia32. + * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise. + +2003-01-27 Martin Schwidefsky + + * elf/elf.h: Add new s390 relocs. + * elf/tls-macros.h: Add s390 versions. + * sysdeps/s390/Versions [GLIBC_2.3] (ld): Export __tls_get_offset. + * sysdeps/s390/dl-tls.h: New file. + * sysdeps/s390/libc-tls.c: New file. + * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class): Add TLS + relocs for class PLT. + (elf_machine_rela): Handle TLS relocs. + * sysdeps/s390/s390-64/dl-machine.h: Likewise. + * sysdeps/s390/s390-32/elf/configure.in: Add TLS check. + * sysdeps/s390/s390-64/elf/configure.in: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Add support for + CLONE_CHILD_*TID flags. + * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Use branch with 32 + bit offset. + * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S (__syscall_error): + Support USE___THREAD. Define RTLD_PRIVATE_ERRNO variant. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S (__syscall_error): + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: + (SYSCALL_ERROR_LABEL): Move define next to SYSCALL_ERROR_HANDLER. + (SYSCALL_ERROR_HANDLER): Add USE___THREAD and RTLD_PRIVATE_ERRNO + variants. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: + (SYSCALL_ERROR_LABEL): Move define next to SYSCALL_ERROR_HANDLER. Use + direct branch to syscall_error for !PIC and PIC && !_LIBC_REENTRANT. + (SYSCALL_ERROR_HANDLER): Add USE___THREAD and RTLD_PRIVATE_ERRNO + variants. + +2003-01-28 Ulrich Drepper + + * sysdeps/unix/common/pause.c (do_pause): New function. Split + from __libc_pause. Implement using sigsuspend. + (__libc_pause): Call do_pause to do the real work. + + * sysdeps/posix/sigpause.c (do_sigpause): Check range of + sig_or_mask parameter is is_sig != 0. + +2003-01-21 Philip Blundell + + * sysdeps/unix/sysv/linux/bits/ioctls.h (SIOCSIFNAME): Define. + +2003-01-27 Steven Munroe + + * stdio-common/Makefile: Add bug14-ENV to set LOCPATH for make check. + +2003-01-27 Ulrich Drepper + + * stdio-common/bug14.c: Use official name for the locale. + + * stdio-common/vfprintf.c [USE_IN_LIBIO]: Use _IO_cleanup_region_start + instead of __libc_cleanup_region_start and _IO_cleanup_region_end + instead of __libc_cleanup_region_end. + + * sysdeps/unix/sysv/linux/i386/system.c (CLEANUP_HANDLER): Pass 1 + as first parameter to __libc_cleanup_region_start. + + * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c + (__fe_nomask_env): Use __prctl not prctl. + * sysdeps/unix/sysv/linux/syscalls.list: Add __prctl alias for + prctl syscall. + + * elf/dl-reloc.c (CHECK_STATIC_TLS): Improve error message. + + * elf/dl-open.c (_dl_tls_static_size): Bump to 2048. + + * elf/dl-reloc.c (allocate_static_tls): Avoid arithmetic + wrap-around in test. + +2003-01-26 Andreas Schwab + + * sysdeps/wordsize-32/divdi3.c: Export the functions only as + compatibility symbols. Remove INTDEF for __divdi3. + * sysdeps/wordsize-32/lldiv.c: Don't use __divdi3_internal. + * sysdeps/powerpc/powerpc32/divdi3.c: Remove. + * sysdeps/powerpc/powerpc32/Makefile (CPPFLAGS-divdi3.c): Don't + define. + * sysdeps/powerpc/powerpc32/Dist: Remove divdi3.c. + +2003-01-24 Jakub Jelinek + + * elf/tls-macros.h: Add SPARC 32-bit definitions. + * sysdeps/sparc/sparc32/elf/configure.in: Add TLS check. + * sysdeps/sparc/sparc32/dl-machine.h: Add dl_machine_h guards + for the first half of the header. Include tls.h. + (elf_machine_type_class): Return ELF_RTYPE_CLASS_PLT for TLS + relocs too. + (elf_machine_rela): Handle TLS relocs. + * sysdeps/sparc/dl-tls.h: New file. + + * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Add cancellation + support. + + * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Use %g6 instead of %g7. + * sysdeps/sparc/sparc32/memchr.S: Likewise. + * sysdeps/sparc/sparc32/memcpy.S: Likewise. + * sysdeps/sparc/sparc32/strcat.S: Likewise. + * sysdeps/sparc/sparc32/strchr.S: Likewise. + * sysdeps/sparc/sparc32/strcmp.S: Likewise. + * sysdeps/sparc/sparc32/strcpy.S: Likewise. + * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise. + * sysdeps/sparc/sparc64/hp-timing.h: Likewise. + * sysdeps/sparc/sparc64/memcpy.S: Likewise. + * sysdeps/sparc/sparc64/stpcpy.S: Likewise. + * sysdeps/sparc/sparc64/stpncpy.S: Likewise. + * sysdeps/sparc/sparc64/strcat.S: Likewise. + * sysdeps/sparc/sparc64/strchr.S: Likewise. + * sysdeps/sparc/sparc64/strcmp.S: Likewise. + * sysdeps/sparc/sparc64/strcpy.S: Likewise. + * sysdeps/sparc/sparc64/strncmp.S: Likewise. + * sysdeps/sparc/sparc64/strncpy.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. + +2003-01-24 Andreas Schwab + + * elf/dl-close.c (_dl_close): Don't relocate DT_FINI_ARRAY + elements, and process them backwards. + * elf/Makefile ($(objpfx)tst-array4): New target. + ($(objpfx)tst-array4.out): Likewise. + (tests) [$(have-initfini-array) = yes]: Add tst-array4. + * elf/tst-array4.c: New file. + * elf/tst-array4.exp: Likewise. + +2003-01-24 Steven Munroe + + * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: New file. + +2003-01-27 Guido Guenther + + * sysdeps/unix/sysv/linux/mips/sysdep.h (SYSCALL_ERROR_LABEL): Define. + * sysdeps/unix/sysv/linux/mips/pread.c: Add support for + cancellation handling and handle both __NR_pread64 and __NR_pread. + * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pwrite.c: Add support for + cancellation handling and handle both __NR_pwrite64 and __NR_pwrite. + * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. + * sysdeps/unix/mips/sysdep.S: Don't set errno in the _LIBC_REENTRANT + case, use register names consistently. + +2003-01-27 Wolfram Gloger + + * malloc/hooks.c (mem2chunk_check): Check alignment of mem + pointer, not of the computed chunk. Bug report from Carlos + O'Donell . + +2003-01-25 Andreas Schwab + + * sysdeps/m68k/dl-machine.h (_dl_start_user): Use pc-relative + addressing to save GOT entries. + +2003-01-21 Jakub Jelinek + + * sysdeps/unix/alpha/sysdep.h (inline_syscall0, + inline_syscall1, inline_syscall2, inline_syscall3, + inline_syscall4, inline_syscall5, inline_syscall6): Add __volatile__. + * sysdeps/unix/sysv/linux/alpha/sysdep.h (INTERNAL_SYSCALL): Add + __attribute__((unused)) to ChEcK. + +2003-01-20 Martin Schwidefsky + + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INTERNAL_SYSCALL): + Fix inline assembler constraints. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INTERNAL_SYSCALL): + Likewise. + + * sysdeps/s390/s390-64/Makefile (pic-ccflag): Use -fpic instead of + -fPIC. + +2003-01-20 Segher Boessenkool + + * sysdeps/ieee754/dbl-64/sincos32.c (__mpcos): Really + compute the cosine, not the sine, even if x > 0.8. + +2003-01-19 Ulrich Drepper + + * nis/nss_nis/nis-spwd.c: Make _nss_nis_endspent an alias of + _nss_nis_setspent. Work around the different prototypes. + * nis/nss_nis/nis-rpc.c (internal_nis_setrpcent): Use + internal_nis_endrpcent. + (internal_nis_endrpcent): Change return type to void. Change callers. + * nis/nss_nis/nis-pwd.c: Make _nss_nis_endpwent an alias of + _nss_nis_setpwent. Work around the different prototypes. + * nis/nss_nis/nis-proto.c (_nss_nis_endprotoent): Split out body + of the function to... + (internal_nis_endprotoent): ... here. New function. + (internal_nis_setprotoent): Use internal_nis_endprotoent. + * nis/nss_nis/nis-network.c: Make _nss_nis_endnetent an alias of + _nss_nis_setnetent. Work around the different prototypes. + * nis/nss_nis/nis-netgrp.c (_nss_nis_endnetgrent): Split out body + of the function to... + (internal_nis_endnetgrent): ... here. New function. + (_nss_nis_setnetgrent): Use internal_nis_endnetgrent. + +2003-01-19 Jim Meyering + + * time/strftime.c: (widen): Merge nearly-identical definitions. + (nl_get_alt_digit) [! defined my_strftime]: Define. + (my_strftime) [_NL_CURRENT]: Merge nearly-identical uses of + _nl_get_alt_digit and _nl_get_walt_digit. + +2003-01-19 Ulrich Drepper + + * time/strftime.c (my_strftime): Handle very large width + specifications for numeric values correctly. Improve checks for + overflow. + * time/Makefile (tests): Add tst-strftime. + * time/tst-strftime.c: New file. + +2003-01-18 Ulrich Drepper + + * nis/nss_nis/nis-hosts.c: Make _nss_nis_endhostent an alias of + _nss_nis_sethostent. Work around the different prototypes. + * nis/nss_nis/nis-grp.c: Make _nss_nis_endgrent an alias of + _nss_nis_setgrent. Work around the different prototypes. + * nis/nss_nis/nis-ethers.c (internal_nis_endetherent): New + function. Split out from _nss_nis_endetherent. + (internal_nis_setetherent): Use internal_nis_endetherent instead of + duplicating the code. + * nis/nss_nis/nis-alias.c: Make _nss_nss_nis_endaliasent an alias + of _nss_nis_setaliasent. + * nis/nss_nis/nis-service.c (internal_nis_setservent): Reuse + internal_nis_endservent code, don't duplicate it. + + * inet/rexec.c (rexec_af): Protect socket operations with + TEMP_FAILURE_RETRY. Use writev instead of multiple write. + * inet/rcmd.c (rcmd_af): Likewise. + +2003-01-17 Roland McGrath + + * math/libm-test.inc (sin_test, cos_test, sincos_test) [TEST_DOUBLE]: + Add test of value 0.80190127184058835. + + * elf/dl-open.c: Fix typo ifdef -> ifndef on _dl_tls_static_size defn. + +2003-01-17 Richard Henderson + + * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Add TLS + relocs for class PLT. + * sysdeps/alpha/libc-tls.c: New file. + * sysdeps/unix/alpha/sysdep.S (EPILOGUE, GPSAVEREG): New. + (LOADGP) [!PIC]: Rewrite to preserve caller's gp. + +2003-01-17 Jakub Jelinek + + * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_init): Use + __libc_lock_{,un}lock_recursive instead of __libc_lock_{,un}lock + on _dl_static_lock. + +2003-01-17 Andreas Jaeger + + * stdio-common/bug14.c: Include stdlib.h for exit prototype. + +2003-01-16 Steven Munroe + + * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h: New file. + * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file. + * sysdeps/unix/sysv/linux/configure.in: Minimum kernel for PPC64 + is 2.4.21. + +2003-01-16 Ulrich Drepper + + * sysdeps/generic/glob.c (glob): Assume sysconf() always returns + values != -1 for _LIBC. Use extend_alloca to reallocate alloca'ed + buffers. + + * sysdeps/generic/sysconf.c: Unconditionally implement + _SC_GETPW_R_SIZE_MAX and _SC_GETGR_R_SIZE_MAX. + * sysdeps/posix/sysconf.c: Likewise. + +2003-01-16 Jakub Jelinek + + * posix/regcomp.c (parse_bracket_exp): If build_charclass fails, + set *err to the returned error, not to REG_ESPACE unconditionally. + (build_word_op): Likewise. + * posix/Makefile (tests): Add bug-regex16. + * posix/bug-regex16.c: New test. + +2003-01-16 Jakub Jelinek + + * elf/dl-load.c (_dl_map_object_from_fd): Use + GL(dl_tls_dtv_slotinfo_list) != NULL to check whether TLS has + been already initialized. + +2003-01-15 Dmitry V. Levin + + * sysdeps/unix/sysv/linux/ptsname.c: Fix typo in comment. + +2003-01-16 Jakub Jelinek + + * posix/regcomp.c (re_compile_internal): If clearing buffer, clear + allocated too. Reported by Al Viro . + +2003-01-16 Roland McGrath + + Tweak merged .abilist file format to merge duplicate symbols in + different sets into multi-version stanzas with new "| SET regexp..." + header continuation lines. + * scripts/merge-abilist.awk: Rewritten for new format. + * scripts/extract-abilist.awk: Likewise. + +2003-01-15 Ulrich Drepper + + * nscd/connections.c (nscd_run): Remove bogus return which isn't + necessary with gcc 3.2+. + (nscd_init): Don't use error() to print message, use dbg_log. + + * iconv/gconv_simple.c (STORE_REST): Explicitly store the total + expected size into state. + (UNPACK_BYTES): Do the reverse. + * iconv/loop.c: Use CLEAR_STATE if defined to clear __state element. + * wcsmbs/tst-mbrtowc.c (utf8_test_1): Add test for the bug. + Reported by Al Viro . + + * stdio-common/Makefile (tests): Add bug14. + * stdio-common/bug14.c: New file. + + * stdio-common/vfscanf.c: When recognizing multibyte characters in + string reset the byte counter after mbrtowc reported it is not a + partial character. Reported by Al Viro . + +2003-01-15 Steven Munroe + + * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Include + sysdep-cancel.h, not sysdep.h. + +2003-01-15 Ulrich Drepper + + * nscd/connections.c (nscd_run): Protect accept call with + TEMP_FAILURE_RETRY. + +2003-01-15 Andreas Schwab + + * sysdeps/unix/Makefile: Include $(common-objpfx)s-proto-bp.d. + (common-generated): Add s-proto-bp.d. + * sysdeps/unix/make-syscalls.sh: Use s-proto-bp.d for dependencies + of bp thunks. + * sysdeps/unix/s-proto-bp.S: New file. + * sysdeps/generic/bp-thunks.h: Don't include here. + Use instead of . + * sysdeps/unix/sysv/linux/i386/bp-thunks.h: New file. + +2003-01-15 Roland McGrath + + * Makerules: Use -include for tls.make, suppresses warning. + Move gen-as-const-headers rules up so before-compile is set in time. + (sed-remove-dotdot): Fix to work right for subdirs or top dir. + +2003-01-15 Ulrich Drepper + + * nscd/nscd.c (main): Make code to close all file descriptors + faster and more robust. + + * nscd/nscd_getpw_r.c (nscd_getpw_r): Consolidate writing of the + request with one writev call. Protect all read calls with + TEMP_FAILURE_RETRY. + * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. + * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise. + + * nscd/hstcache.c: Use extend_alloca to reallocate alloca'd buffer. + Protect writev calls with TEMP_FAILURE_RETRY. + * nscd/grpcache.c: Likewise. + * nscd/pwdcache.c: Likewise. + + * nscd/hstcache.c (addhstbynamev6): Don't interpret hostname as + IPv6 address in debug output. + +2003-01-14 Roland McGrath + + * Makerules (check-abi-%): Use two rules for $(common-objpfx) and + $(objpfx) directories, and get rid of vpath directives. The previous + arrangement resulted in files being written to the source directories + when run in a clean build. Find all .abilist files in $(..)abilist/. + (update-abi-%): Likewise. + (generated): Don't add .symlist files, they'll be intermediates. + + * sysdeps/generic/init-first.c: Add a comment. + + * elf/Makefile ($(objpfx)ld.so): Pass -z defs in link. + + * scripts/gen-as-const.awk: Grok lone "--" as a separator between + #includes and expressions. + + * scripts/merge-abilist.awk: Omit cpu-.*-os.*/modifier from merged + config list when it already contains cpu-.*-os.* without / part. + + * Makerules (sed-remove-dotdot): New variable. + ($(common-objpfx)%.make): Use it. Depend on $(before-compile). + ($(common-objpfx)%.h $(common-objpfx)%.h.d): Likewise. + (check-abi-config): New variable, append /tls or /notls to the tuple. + (check-abi-%): Use that for -v config value. + Find .abilist files in abilist/libfoo.abilist, not in subdir. + * Rules: Move bits/stdio_lim.h generation rules to Makerules. + +2003-01-14 Ulrich Drepper + + * manual/install.texi: Correct description of header preparation for + Linux build. Patch by mhwood@Ameritech.Net [PR libc/4941]. + +2003-01-14 Guido Guenther + + * sysdeps/unix/sysv/linux/mips/sysdep.h (INTERNAL_SYSCALL, + INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO, + INTERNAL_SYSCALL_ERROR_P, INLINE_SYSCALL): Define. + +2003-01-14 Steven Munroe + + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h + (INTERNAL_SYSCALL): Make use of ERR parameter. + (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO, + INTERNAL_SYSCALL_ERROR_P): Adjust accordingly. + (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: New file. + +2003-01-14 Ulrich Drepper + + * sunrpc/pm_getport.c (pmap_getport): Open TCP socket if protocol + == IPPROTO_TCP. + Patch by James Strandboge [PR libc/4943]. + + * sysdeps/unix/sysv/linux/i386/dl-procinfo.c (_dl_x86_cap_flags): + Fix entry for bit 31. + + * iconvdata/Makefile: Add rules to build IBM866NAV. + * iconvdata/ibm866nav.c: New file. + * iconvdata/tst-tables.sh: Add IBM866NAV. + * iconvdata/gconv-modules: Add entries for IBM866NAV. + +2003-01-13 Ulrich Drepper + + * string/tester.c (test_strcpy): Use the previously #if 0'ed code + to test void* parameters. + + * sysdeps/i386/i486/bits/string.h (__STRING_SMALLL_GET16): Cast + source pointer before dereferencing. + (__STRING_SMALLL_GET32): Likewise. + (__memset_gc): Add missing parenthesis around macro arguments. + Patch by Denis Zaitsev . + + * sysdeps/i386/i486/bits/string.h (__strspn_cg): Tell the compiler + that %eax is modified. Reported by Denis Zaitsev . + +2003-01-14 Jakub Jelinek + + * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL): Undefined before + defining. + +2003-01-13 Martin Schwidefsky + + * sysdeps/s390/s390-64/initfini.c: Avoid unterminated string literals. + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (L): Don't define it + here. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (L): Likewise. + +2003-01-13 Martin Schwidefsky + + * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET): Move branch instructions + from here... + (PSEUDO): ... to here. + * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET): Move branch instruction + from here... + (PSEUDO): ... to here. + +2003-01-13 Ulrich Drepper + + * locale/programs/charmap-dir.c (charmap_readdir): Use struct + dirent64 instead of struct dirent for dirent. Call readdir64 + instead of readdir. + + * locale/programs/locfile.c (siblings_uncached): Use struct + dirent64 instead of struct dirent for other_dentry. Call + readdir64 instead of readdir. + + * elf/ldconfig.c (direntry): Change type to struct dirent64. + (search_dir): Use readdir64 instead of readdir. + Patch by Zhangfan Xing . + +2003-01-12 Roland McGrath + + * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use strtoul, + not strtol. The former is usable in ld.so, the latter not. + + * include/fcntl.h: Declare __libc_creat. + + * sysdeps/mach/hurd/Makefile (libmachuser-link.so-no-z-defs, + libhurduser-link.so-no-z-defs): New variables. + + * malloc/malloc.c: Revert last change. + * malloc/malloc.h (_int_*): Move these decls to ... + * include/malloc.h: ... here. Add attribute_hidden. + (_int_valloc): Declare it too. + +2003-01-12 Ulrich Drepper + + * elf/dl-close.c (_dl_close): Fix typo, must be == not = in + search for removed searchlist. Reported by Roland McGrath. + + * io/ftwtest-sh: Add test for case of symlink to nonexisting file + given as start file. + + * io/ftw.c (ftw_startup): Use correct name in check for symlink + without existing target. Patch by Jim Meyering. + + * Makerules (build-shlib-helper): Don't use -z defs linker option + if no-z-defs is defined either. + +2003-01-10 Martin Schwidefsky + + * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Remove unused + file. + +2003-01-10 Martin Schwidefsky + + * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Add vfork. + * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. + +2003-01-12 Ulrich Drepper + + * io/ftwtest-sh: Add test case for relative path with /. at the end. + +2003-01-12 Jim Meyering + + * io/ftw.c (ftw_startup): When trying to stat the starting directory, + use the basename if we've already chdir'd into its parent directory. + +2003-01-12 Ulrich Drepper + + * io/ftw.c (process_entry): Use relative path when using chdir() + to change directory after call to ftw_dir. + * io/ftwtest-sh: Add test for relative path argument to nftw() + with FTW_CHDIR option. + +2003-01-12 Franz Sirl + + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_VFORK_SYSCALL): + Define for powerpc. + * sysdeps/unix/sysv/linux/powerpc/syscall.S: Take register alignment + into account. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h + (INTERNAL_SYSCALL): Make use of ERR parameter. + (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO, + INTERNAL_SYSCALL_ERROR_P): Adjust accordingly. + (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: New file. + +2003-01-09 Richard Henderson + + * sysdeps/alpha/dl-machine.h (elf_machine_rela): Compute + DTPREL64 and TPREL64 without loadbase applied. + +2003-01-09 Richard Henderson + + * sysdeps/unix/alpha/sysdep.S: Use correct definition of errno + for NOT_IN_libc. + + * sysdeps/unix/sysv/linux/alpha/sysdep.h: Move inline syscall bits... + * sysdeps/unix/alpha/sysdep.h: ... here. + (PSEUDO_LOADGP): Remove. + (PSEUDO_PROLOGUE): Load GP in non-pic case. + (SYSCALL_ERROR_LABEL): New. + (PSEUDO): Use it in error branch. + (PSEUDO_END): Add $syscall_error label. + +2003-01-12 Andreas Jaeger + + * math/bits/mathcalls.h: Round is a const function. + +2003-01-11 Jim Meyering + + * io/ftw.c [HAVE_CONFIG_H]: Include . + [HAVE_SYS_PARAM_H || _LIBC]: Guard inclusion of . + Include , not , if !_LIBC. + [!_LIBC] (__chdir, __closedir, __fchdir, __getcwd, __opendir): Define. + [!_LIBC] (__readdir64, __tdestroy, __tfind, __tsearch): Define. + [!_LIBC] (internal_function, dirent64, MAX): Define. + (__set_errno): Define if not already defined. + (open_dir_stream): When FTW_CHDIR is enabled, invoke opendir on + the basename, not the entire file name. + (process_entry): When FTW_CHDIR is enabled, invoke XSTAT or LXSTAT on + the basename, not the entire file name. + +2003-01-12 Ulrich Drepper + + * string/tester.c (test_strcpy): Disable last added strcpy until + it is fixed. + +2003-01-11 Philip Blundell + + * sysdeps/unix/sysv/linux/arm/socket.S: Add cancellation support. + +2003-01-11 Andreas Schwab + + * Makerules: Add vpath for %.dynsym and %.so so that the + implicit rule chaining for check-abi works. + +2003-01-11 Kaz Kojima + + * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER): + Add non-PIC case. + +2003-01-11 Jakub Jelinek + + * elf/tls-macros.h [__ia64__] (__TLS_CALL_CLOBBERS): Define. + [__ia64__] (TLS_LE, TLS_IE): Fix typos. Add ;; at start of asm if + gp is used early. + [__ia64__] (TLS_LD, TLS_GD): Likewise. Use __TLS_CALL_CLOBBERS. + * elf/Makefile ($(objpfx)tst-tlsmod5.so, $(objpfx)tst-tlsmod6.so): + Ensure libc.so in DT_NEEDED. + * sysdeps/alpha/dl-machine.h (elf_machine_rela): Move + CHECK_STATIC_TLS before l_tls_offset use. + * sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela): + Likewise. + * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise. + * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage) [TLS_DTV_AT_TP]: + Allocate TLS_PRE_TCB_SIZE bytes below result. + (_dl_deallocate_tls) [TLS_DTV_AT_TP]: Adjust before freeing. + * sysdeps/generic/libc-tls.c (__libc_setup_tls): If + TLS_INIT_TP_EXPENSIVE is not defined, allocate even if no PT_TLS + segment has been found. If TLS_DTV_AT_TP, allocate TLS_PRE_TCB_SIZE + bytes below result and add tcb_offset to memsz. + * sysdeps/ia64/dl-tls.h (__tls_get_addr): New prototype. + * sysdeps/ia64/dl-machine.h: Include tls.h. + (elf_machine_type_class): Return ELF_RTYPE_CLASS_PLT for TLS relocs + too. + (elf_machine_rela): Assume if sym_map != NULL sym is non-NULL too. + Handle R_IA64_DTPMOD*, R_IA64_DTPREL* and R_IA64_TPREL* relocations. + * sysdeps/ia64/libc-tls.c: New file. + +2003-01-10 Steven Munroe + + * sysdeps/powerpc/powerpc64/sysdep.h (PSEUDO_RET): Add branch hit. + * sysdeps/unix/sysv/linux/powerpc/bits/stat.h (STAT_VER_LINUX): + Fix type. Move definition out of #if. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/ftruncate64.c: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Add cancellation + support. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Remove + ftruncate64, pread64, pwrite64, truncate64 entries. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h + (INLINE_SYSCALL): New version that supports function call like + syscalls. Add __builtin_expect. + (LOADARGS_n): Add argument size safety checks. + (INTERNAL_SYSCALL): New Macro. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/truncate64.c: New file. + * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h [__PPC_ELF_H]: Avoid + redefinition of elf_fpreg_t and elf_fpregset_t. + +2003-01-12 Ulrich Drepper + + * elf/dl-close.c (_dl_close): Add several asserts. Correct and + simplify test for unloading. If loader of a DSO is unloaded do not + use its scope anymore. Fall back to own scope and adjust opencounts. + Fix several comments. + * elf/dl-deps.c (_dl_map_object_deps): Always allocate memory for + the l_searchlist, not only for l_initfini. + + * elf/dl-lookup.c (add_dependencies): Avoid creating relocation + dependencies if objects cannot be removed. Remove object with the + definition as not unloadable if necessary. + + * elf/reldep6.c: Create relocation dependency before closing the first + module. + +2003-01-10 Guido Günther + + * sysdeps/unix/mips/fork.S: Add PSEUDO_END. + * sysdeps/unix/mips/brk.S: Likewise. + * sysdeps/unix/mips/pipe.S: Likewise. + +2003-01-10 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/getsysstats.c: New file. + + * sysdeps/unix/sysv/linux/m68k/vfork.S: Optimize for kernels which + are known to have the vfork syscall. + + * sysdeps/m68k/sysdep.h (JUMPTARGET): Undefine before defining it. + + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_MMAP2_SYSCALL, __ASSUME_TRUNCATE64_SYSCALL) + (__ASSUME_STAT64_SYSCALL, __ASSUME_FCNTL64) + (__ASSUME_VFORK_SYSCALL): Define for m68k kernels >= 2.4.12. + +2003-01-09 Jakub Jelinek + + * elf/Makefile: Add rules to build and run reldep9 test. + * elf/reldep9.c: New file. + * elf/reldep9mod1.c: New file. + * elf/reldep9mod2.c: New file. + * elf/reldep9mod3.c: New file. + +2003-01-09 Jakub Jelinek + + * elf/Makefile: Add rules to build and run nodelete2 test. + * elf/nodelete2.c: New file. + * elf/nodel2mod1.c: New file. + * elf/nodel2mod2.c: New file. + * elf/nodel2mod3.c: New file. + +2003-01-09 Jakub Jelinek + + * posix/test-vfork.c (noop): Add __attribute_noinline__. + * sysdeps/generic/sysdep.h (JUMPTARGET): Define if not defined. + * sysdeps/i386/sysdep.h (JUMPTARGET): Undefine JUMPTARGET before + defining it. + * sysdeps/powerpc/powerpc32/sysdep.h (JUMPTARGET): Likewise. + * sysdeps/powerpc/powerpc64/sysdep.h (JUMPTARGET): Likewise. + * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET): Likewise. + * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET): Likewise. + * sysdeps/x86_64/sysdep.h (JUMPTARGET): Likewise. + +2003-01-09 Andreas Schwab + + * sysdeps/m68k/fpu/libm-test-ulps: Regenerated. + +2003-01-08 Ulrich Drepper + + * sysdeps/unix/sysv/linux/arm/sysdep.h (INTERNAL_SYSCALL, + INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): Add err + argument. + (INTERNAL_SYSCALL_DECL): Define. + +2003-01-06 Jakub Jelinek + + * sysdeps/unix/sysv/linux/ia64/sysdep.h (INTERNAL_SYSCALL, + INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): Add err + argument. + (INTERNAL_SYSCALL_DECL): Define. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. + (INLINE_SYSCALL): Adjust. + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. + * elf/dl-misc.c (_dl_debug_vdprintf): Add INTERNAL_SYSCALL_DECL, + add err argument to INTERNAL_SYSCALL* macros. + * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise. + * sysdeps/unix/sysv/linux/i386/system.c (cancel_handler): Likewise. + * sysdeps/unix/sysv/linux/m68k/brk.c (__brk): Likewise. + * sysdeps/unix/sysv/linux/m68k/getpagesize.c (__getpagesize): + Likewise. + * sysdeps/unix/sysv/linux/sigwait.c (do_sigwait): Likewise. + * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Use + INLINE_SYSCALL instead of INTERNAL_SYSCALL and setting errno. + +2003-01-07 Ulrich Drepper + + Unify symbols in user namespace exported by libc.so and libc.a. + * argp/argp-fmtstream.c: Don't define argp_make_fmtstream, + argp_fmtstream_free, and argp_fmtstream_printf. + * argp/argp-fs-xinl.c: Don't define argp_fmtstream_putc, + argp_fmtstream_puts, argp_fmtstream_write, argp_fmtstream_set_lmargin, + argp_fmtstream_set_rmargin, argp_fmtstream_set_wmargin, and + argp_fmtstream_point. + * gmon/gmon.c: Don't define write_profiling. + * libio/genops.c: Don't define _cleanup. + + * intl/explodename.c (_nl_find_language.c): Mark as static. + * intl/loadinfo.h: Remove _nl_find_language prototype. + + * libio/fileops.c (_IO_file_seekoff_maybe_mmap): Mark as static. + * libio/libioP.h: Remove declaration. + + * libio/iopopen.c (_IO_proc_jumps): Mark as static. + * libio/libioP.h: Remove declaration. + + * sysdeps/generic/unwind-dw2.c: Mark __frame_state_for with STATIC. + * sysdeps/generic/framestate.c: Define STATIC before including + unwind-dw2.c. + + * time/Versions [GLIBC_2.3.2] (libc): Export strptime_l. + +2003-01-06 Philip Blundell + + * sysdeps/unix/arm/sysdep.S (syscall_error): Optimise a little. + [__LIBC_REENTRANT]: Unify PIC and non-PIC cases. + + * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Remove .type + directive. + (PSEUDO_RET): Use SYSCALL_ERROR in place of __syscall_error. + (SYSCALL_ERROR): New. + (SYSCALL_ERROR_HANDLER) [NOT_IN_libc]: Provide local copy of error + handling code. + (INTERNAL_SYSCALL): Define. + (INLINE_SYSCALL): Use it. + (INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): Define. + * sysdeps/unix/sysv/linux/arm/socket.S (__socket): Use + SYSCALL_ERROR in place of __syscall_error. + +2003-01-07 Jakub Jelinek + + * sysdeps/ia64/bits/byteswap.h [__GNUC__ >= 2] (__bswap_16, + __bswap_32, __bswap_64): Put x into temporary variable + to avoid warnings. + [!__GNUC__] (__bswap_16, __bswap_32, __bswap_64): Change into static + (inline) functions. + * sysdeps/s390/bits/byteswap.h [__GNUC__ >= 2] (__bswap_16, + __bswap_32, __bswap_64): Put x into temporary variable + to avoid warnings. + [!__GNUC__] (__bswap_16, __bswap_32, __bswap_64): Change into static + (inline) functions. + * sysdeps/i386/bits/byteswap.h [!__GNUC__] (__bswap_16, __bswap_32): + Likewise. + +2003-01-07 Jakub Jelinek + + * sysdeps/unix/sysv/linux/alpha/adjtime.c (ntp_adjtime): New weak + alias. + +2003-01-07 Jakub Jelinek + + * elf/rtld.c (_rtld_global): Remove _dl_dynamic_weak initializer. + * elf/dl-support.c (_dl_dynamic_weak): Initialize to 0. + +2003-01-07 Ulrich Drepper + + * math/libm-test.inc (significand_test): New function. + (main): Call it. + +2003-01-06 Roland McGrath + + * sysdeps/i386/i486/bits/string.h (memset): Add parens around macro + arguments. + (memcpy, memrchr, strcpy, __stpcpy, strncpy, strcat): Likewise. + (strcmp, strncat, strncmp, strchr, __strchrnul, strchrnul): Likewise. + (index, strrchr, rindex, strcspn, strspn, strpbrk, strstr): Likewise. + + * string/tester.c (test_strcpy): Add test with `void *' arguments. + +2003-01-06 Ulrich Drepper + + * sysdeps/i386/fpu/s_significandl.c (__significandl): Really + return significand and not the exponent. + Reported by Nelson H. F. Beebe . + + * elf/dl-misc.c (_dl_debug_vdprintf): Help PPC port by explicitly + taking address of iov in INTERNAL_SYSCALL call. Patch by Franz Sirl. + + * malloc/malloc.c: Mark all _int_* functions as static. + +2003-01-06 Jakub Jelinek + + * sysdeps/unix/alpha/sysdep.h (PSEUDO): Use PSEUDO_PREPARE_ARGS. + * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Add cancellation + handling. + * sysdeps/unix/sysv/linux/alpha/select.S: Likewise. + +2003-01-06 Franz Sirl + + * sysdeps/powerpc/powerpc32/sysdep.h (PSEUDO_RET): Add branch hint. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Add cancellation + support. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Remove + ftruncate64, truncate64, pread64 and pwrite64 entries. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h + (INLINE_SYSCALL): Add __builtin_expect. + (LOADARGS_n): Add argument size safety checks. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: New file. + +2003-01-06 Jakub Jelinek + + * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Define. + * sysdeps/generic/creat.c: Include sysdep-cancel.h. + (LIBC_CANCEL_HANDLED): Add. + + * sysdeps/unix/sysv/linux/alpha/sysdep.h + (inline_syscall_r0_constraint): Rename to... + (inline_syscall_r0_out_constraint): ... this. Add =. + (inline_syscall[0-6]): Use inline_syscall_r0_out_constraint. + +2003-01-06 Andreas Schwab + + * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Make + sure this is always inlined. + (elf_machine_rela): Likewise. + + * sysdeps/m68k/Makefile (sysdep-CFLAGS): Increase inline limit. + +2003-01-04 Roland McGrath + + * Makeconfig (+mkdep): Add -MP flag. + Suggested by Art Haas . + +2003-01-05 Andreas Schwab + + * sysdeps/m68k/Makefile (CFLAGS-.oS): Append -fPIC. + +2003-01-05 Kaz Kojima + + * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Use + SYSCALL_ERROR_HANDLER. + * sysdeps/unix/sysv/linux/sh/pipe.S (__libc_pipe): Likewise. + * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Likewise. + Add support for cancellation handling. + * sysdeps/unix/sysv/linux/sh/syscall.S (__syscall): Use + SYSCALL_ERROR_HANDLER. + * sysdeps/unix/sysv/linux/sh/vfork.S (__vfork): Likewise. + * sysdeps/unix/sysv/linux/sh/sysdep.h (PSEUDO): Likewise. + Add support for cancellation handling. + (SYSCALL_ERROR_HANDLER): Define PIC variants. + +2003-01-04 Franz Sirl + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Mark + __syscall_pread64 and __syscall_pwrite64 cancelable. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h + (INTERNAL_SYSCALL): New macro. + (LOADARGS_0, LOADARGS_1): Fix. + +2003-01-05 Ulrich Drepper + + * Makerules (build-shlip-helper): Unless told otherwise, add + -Wl,-z,defs to linker command line. + * rt/Makefile (librt.so): Link with ld.so. + * dlfcn/Makefile (libdl.so): Likewise. + +2003-01-05 Jakub Jelinek + + * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Add support for + cancellation handling. + * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: Likewise. + +2003-01-04 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/system.c (cancel_handler): Correct + order of parameters passed to kill. + +2003-01-04 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Add nanosecond fields. + +2003-01-03 Paul Eggert + + * malloc/obstack.h (__INT_TO_PTR) [__STDC__]: Cast result to + (void *) to avoid diagnostic with native c89 on SGI IRIX 6.5 + when compiling Bison 1.875's `bitset bset = obstack_alloc + (bobstack, bytes);'. Problem reported by Nelson H. F. Beebe. + +2003-01-04 Ulrich Drepper + + * sysdeps/posix/system.c (do_system): Minor optimizations. Remove + unnecessary code. + Correct reference counter in case SIGQUIT handler installation failed. + +2003-01-03 Ulrich Drepper + + * include/libc-symbols.h [HAVE_WEAK_SYMBOLS] (_weak_extern): + Define using _Pragma(weak ...). + +2003-01-03 Andreas Jaeger , Jakub Jelinek + + * resolv/res_libc.c: Provide declaration for __res_init_weak and + reorder declarations. + +2003-01-03 Art Haas + + * localedata/tests-mbwc/dat_iswalnum.c: Convert GCC extension + initializer syntax to C99. + * localedata/tests-mbwc/dat_iswalpha.c: Likewise. + * localedata/tests-mbwc/dat_iswcntrl.c: Likewise. + * localedata/tests-mbwc/dat_iswctype.c: Likewise. + * localedata/tests-mbwc/dat_iswdigit.c: Likewise. + * localedata/tests-mbwc/dat_iswgraph.c: Likewise. + * localedata/tests-mbwc/dat_iswlower.c: Likewise. + * localedata/tests-mbwc/dat_iswprint.c: Likewise. + * localedata/tests-mbwc/dat_iswpunct.c: Likewise. + * localedata/tests-mbwc/dat_iswspace.c: Likewise. + * localedata/tests-mbwc/dat_iswupper.c: Likewise. + * localedata/tests-mbwc/dat_iswxdigit.c: Likewise. + * localedata/tests-mbwc/dat_mblen.c: Likewise. + * localedata/tests-mbwc/dat_mbrlen.c: Likewise. + * localedata/tests-mbwc/dat_mbrtowc.c: Likewise. + * localedata/tests-mbwc/dat_mbsrtowcs.c: Likewise. + * localedata/tests-mbwc/dat_mbstowcs.c: Likewise. + * localedata/tests-mbwc/dat_mbtowc.c: Likewise. + * localedata/tests-mbwc/dat_strcoll.c: Likewise. + * localedata/tests-mbwc/dat_strfmon.c: Likewise. + * localedata/tests-mbwc/dat_strxfrm.c: Likewise. + * localedata/tests-mbwc/dat_swscanf.c: Likewise. + * localedata/tests-mbwc/dat_towctrans.c: Likewise. + * localedata/tests-mbwc/dat_towlower.c: Likewise. + * localedata/tests-mbwc/dat_towupper.c: Likewise. + * localedata/tests-mbwc/dat_wcrtomb.c: Likewise. + * localedata/tests-mbwc/dat_wcscat.c: Likewise. + * localedata/tests-mbwc/dat_wcschr.c: Likewise. + * localedata/tests-mbwc/dat_wcscmp.c: Likewise. + * localedata/tests-mbwc/dat_wcscoll.c: Likewise. + * localedata/tests-mbwc/dat_wcscpy.c: Likewise. + * localedata/tests-mbwc/dat_wcscspn.c: Likewise. + * localedata/tests-mbwc/dat_wcslen.c: Likewise. + * localedata/tests-mbwc/dat_wcsncat.c: Likewise. + * localedata/tests-mbwc/dat_wcsncmp.c: Likewise. + * localedata/tests-mbwc/dat_wcsncpy.c: Likewise. + * localedata/tests-mbwc/dat_wcspbrk.c: Likewise. + * localedata/tests-mbwc/dat_wcsrtombs.c: Likewise. + * localedata/tests-mbwc/dat_wcsspn.c: Likewise. + * localedata/tests-mbwc/dat_wcsstr.c: Likewise. + * localedata/tests-mbwc/dat_wcstod.c: Likewise. + * localedata/tests-mbwc/dat_wcstok.c: Likewise. + * localedata/tests-mbwc/dat_wcstombs.c: Likewise. + * localedata/tests-mbwc/dat_wcswidth.c: Likewise. + * localedata/tests-mbwc/dat_wcsxfrm.c: Likewise. + * localedata/tests-mbwc/dat_wctob.c: Likewise. + * localedata/tests-mbwc/dat_wctomb.c: Likewise. + * localedata/tests-mbwc/dat_wctrans.c: Likewise. + * localedata/tests-mbwc/dat_wctype.c: Likewise. + * localedata/tests-mbwc/dat_wcwidth.c: Likewise. + +2003-01-03 Richard Henderson + + * sysdeps/unix/sysv/linux/alpha/sysdep.h (inline_syscall_r0_asm): New. + (inline_syscall_r0_constraint): New. + (inline_syscall[0-6]): Use them. + +2003-01-03 Jakub Jelinek + + * sysdeps/generic/ldsodefs.h (_dl_allocate_tls, _dl_deallocate_tls): + Add rtld_hidden_proto. + * sysdeps/generic/dl-tls.c (_dl_deallocate_tls): Add rtld_hidden_def. + (_dl_allocate_tls): Likewise. Remove INTDEF. + +2002-07-05 Kaz Kojima + + * sysdeps/sh/memcpy.S: Optimize. Based on a patch by Toshiyasu + Morita . + * sysdeps/sh/memcpy.S: Likewise. + +2003-01-02 Ulrich Drepper + + * sysdeps/pthread/aio_suspend.c (aio_suspend): Don't quite remove + any, but unify the test. + +2003-01-02 Jakub Jelinek + + * sysdeps/unix/sysv/linux/arm/sigaction.c (__sigaction, + sigaction): Protect weak_alias and libc_hidden_weak with + #ifndef LIBC_SIGACTION. + * sysdeps/unix/sysv/linux/ia64/sigaction.c (__sigaction, + sigaction): Likewise. + * sysdeps/unix/sysv/linux/mips/sigaction.c (__sigaction, + sigaction): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c (__sigaction, + sigaction): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction, + sigaction): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction, + sigaction): Likewise. + * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__sigaction, + sigaction): Likewise. + * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction, + sigaction): Likewise. Remove SIGCANCEL handling here. + * sysdeps/unix/sysv/linux/sigaction.c (__sigaction, sigaction): + Likewise. + +2003-01-02 Art Haas + + * login/tst-utmp.c: Convert GCC extension initializer syntax to C99. + +2003-01-02 Ulrich Drepper + + * posix/getconf.c: Update copyright year. + * nss/getent.c: Likewise. + * nscd/nscd_nischeck.c: Likewise. + * iconv/iconvconfig.c: Likewise. + * iconv/iconv_prog.c: Likewise. + * elf/ldconfig.c: Likewise. + * catgets/gencat.c: Likewise. + * csu/version.c: Likewise. + * elf/ldd.bash.in: Likewise. + * elf/sprof.c (print_version): Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/localedef.c: Likewise. + * nscd/nscd.c (print_version): Likewise. + * debug/xtrace.sh: Likewise. + * malloc/memusage.sh: Likewise. + * malloc/mtrace.pl: Likewise. + +2003-01-01 Jakub Jelinek + + * io/sys/stat.h: Include time.h with __need_timespec even if + __USE_MISC is defined but __USE_XOPEN is not. + +2003-01-01 Andreas Jaeger + + * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Use union + type to avoid strict aliasing problem. + (_nss_dns_gethostbyname2_r): Likewise. + * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r): Likewise. + (_nss_dns_getnetbyname_r): Likewise. + * resolv/gethnamaddr.c (_gethtent): Likewise. + (gethostbyname2): Likewise. + +2002-12-31 Ulrich Drepper + + * string/string-inlines.c: Define __memcpy_g and __strchr_g macros + to avoid using the exported symbols. Define aliases with the + original names separately. + + * include/time.h: Add libc_hidden_proto for __strftime_l. + * include/wchar.h: Add libc_hidden_proto for __wcsftime_l. + * time/strftime.c: Always use libc_hidden_def if _LIBC. + + * libio/libioP.h: Add libc_hidden_proto for _IO_file_open. + * libio/fileops.c: Add libc_hidden_def for _IO_file_open. + + * malloc/mtrace.c: Add libc_hidden_proto and libc_hidden_def for + tr_break. + + * csu/Makefile (routines): Add dso_handle. + * csu/dso_handle.c: New file. + +2002-12-31 Roland McGrath + + * Makerules (compile.S, COMPILE.S): Remove -DASSEMBLER here. + Use $(S-CPPFLAGS) in place of $(asm-CPPFLAGS). + (S-CPPFLAGS): Add -DASSEMBLER here instead. + (generate-md5, +make-deps): Fix magic to get $(S-CPPFLAGS). + +2002-12-31 Ulrich Drepper + + * malloc/thread-m.h [SHARED] (thread_atfork): Assume __dso_handle + is available. + +2002-12-31 Andreas Jaeger + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Sync + with Linux kernel. + * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Likewise. + * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Likewise. + + * sysdeps/unix/sysv/linux/kernel_stat.h + (_HAVE_STAT_NSEC,_HAVE_STAT_NSEC64): New. + + * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Re-add + __unused[1-3] since they're needed by some platforms. Handle + _HAVE_STAT_NSEC and _HAVE_STAT_NSEC64. + + * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Add nsec resolution + for structs stat and stat64. + * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. + + * io/sys/stat.h [__USE_MISC]: Define __need_timespec for struct stat. + + * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Adjust for + nsec resolution changes. + (xstat64_conv): Likewise. + (xstat32_conv): Likewise. + + * sysdeps/unix/sysv/linux/kernel_stat.h: Add nsec resolution for + struct kernel_stat. + + * sysdeps/unix/sysv/linux/bits/stat.h: Add nsec resolution for + structs stat and stat64. + + * time/time.h (__timespec_defined): Define for __USE_MISC. + +2002-12-31 Ulrich Drepper + + * include/signal.h: Add libc_hidden_proto for __libc_current_sigrtmin + and __libc_current_sigrtmax. + +2002-12-31 Jakub Jelinek + + * include/errno.h (__errno_location): Add prototype. + Use libc_hidden_proto unconditionally. + * include/netdb.h (__h_errno_location): Use libc_hidden_proto + unconditionally. + * include/resolv.h (__res_state): Likewise. + + * hurd/errno-loc.c (__errno_location): Add libc_hidden_def. + * include/sys/socket.h (accept): Add libc_hidden_proto. + * include/errno.h (__errno_location): Likewise. + * include/netdb.h (__h_errno_location): Likewise. + * include/resolv.h (__res_state): Likewise. + * include/unistd.h (__lseek): Likewise. + * sysdeps/generic/errno-loc.c (__errno_location): Add libc_hidden_def. + * sysdeps/generic/herrno-loc.c (__h_errno_location): Likewise. + * sysdeps/generic/res-state.c (__res_state): Likewise. + * sysdeps/generic/accept.c (accept): Likewise. + * sysdeps/generic/lseek.c (__lseek): Likewise. + * sysdeps/generic/allocrtsig.c (__libc_current_sigrtmin, + __libc_current_sigrtmax): Likewise. + * sysdeps/mach/hurd/accept.c (accept): Likewise. + * sysdeps/mach/hurd/lseek.c (__lseek): Likewise. + * sysdeps/unix/sysv/aix/accept.c (accept): Likewise. + * sysdeps/unix/sysv/aix/lseek.c (__lseek): Likewise. + * sysdeps/unix/sysv/linux/accept.S (accept): Likewise. + * sysdeps/unix/inet/syscalls.list (__GI_accept): New alias to accept. + * sysdeps/unix/sysv/linux/alpha/syscalls.list (__GI_accept): Likewise. + * sysdeps/unix/sysv/linux/hppa/syscalls.list (__GI_accept): Likewise. + * sysdeps/unix/sysv/linux/ia64/syscalls.list (__GI___lseek): New + alias to llseek. + (__GI_accept): New alias to accept. + * sysdeps/unix/sysv/linux/mips/syscalls.list (__GI_accept): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (__GI___lseek): + New alias to llseek. + (__GI_accept): New alias to accept. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__GI_accept): + Likewise. + * sysdeps/unix/sysv/linux/x86_64/syscalls.list (__GI_accept): + Likewise. + * sysdeps/unix/syscalls.list (__GI___lseek): New alias to lseek. + + * sysdeps/alpha/setjmp.S : Use libc_hidden_def(name) instead of + strong_alias (name, __GI_name). + * sysdeps/arm/bsd-_setjmp.S : Likewise. + * sysdeps/hppa/bsd-_setjmp.S : Likewise. + * sysdeps/i386/bsd-_setjmp.S : Likewise. + * sysdeps/mips/mips64/bsd-_setjmp.S : Likewise. + * sysdeps/mips/bsd-_setjmp.S : Likewise. + * sysdeps/powerpc/powerpc32/bsd-_setjmp.S : Likewise. + * sysdeps/powerpc/powerpc64/setjmp.S : Likewise. + * sysdeps/s390/s390-32/elf/setjmp.S : Likewise. + * sysdeps/s390/s390-32/bsd-_setjmp.S : Likewise. + * sysdeps/s390/s390-64/elf/setjmp.S : Likewise. + * sysdeps/s390/s390-64/bsd-_setjmp.S : Likewise. + * sysdeps/sh/bsd-_setjmp.S : Likewise. + * sysdeps/sparc/sparc32/setjmp.S : Likewise. + * sysdeps/unix/arm/fork.S : Likewise. + * sysdeps/unix/bsd/hp/m68k/vfork.S : Likewise. + * sysdeps/unix/bsd/i386/vfork.S : Likewise. + * sysdeps/unix/bsd/osf/alpha/fork.S : Likewise. + * sysdeps/unix/bsd/sun/m68k/vfork.S : Likewise. + * sysdeps/unix/bsd/ultrix4/mips/vfork.S : Likewise. + * sysdeps/unix/bsd/vax/vfork.S : Likewise. + * sysdeps/unix/i386/fork.S : Likewise. + * sysdeps/unix/mips/fork.S : Likewise. + * sysdeps/unix/sparc/fork.S : Likewise. + * sysdeps/unix/sparc/vfork.S : Likewise. + * sysdeps/unix/sysv/linux/arm/vfork.S : Likewise. + * sysdeps/unix/sysv/linux/cris/vfork.S : Likewise. + * sysdeps/unix/sysv/linux/i386/vfork.S : Likewise. + * sysdeps/unix/sysv/linux/ia64/fork.S : Likewise. + * sysdeps/unix/sysv/linux/ia64/setjmp.S : Likewise. + * sysdeps/unix/sysv/linux/ia64/vfork.S : Likewise. + * sysdeps/unix/sysv/linux/m68k/vfork.S : Likewise. + * sysdeps/unix/sysv/linux/sh/vfork.S : Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S : Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S : Likewise. + * sysdeps/unix/sysv/linux/sparc/fork.S : Likewise. + * sysdeps/unix/sysv/linux/sparc/vfork.S : Likewise. + * sysdeps/unix/sysv/linux/x86_64/vfork.S : Likewise. + * sysdeps/unix/fork.S : Likewise. + * sysdeps/vax/bsd-_setjmp.S : Likewise. + * sysdeps/x86_64/bsd-_setjmp.S : Likewise. + + * sysdeps/unix/sysv/linux/ia64/sysdep.h: Guard against multiple + inclusion. + +2002-12-31 Ulrich Drepper + + * include/unistd.h: Add libc_hidden_proto for __fork and __vfork. + * sysdeps/generic/fork.c: Add libc_hidden_def for __fork. + * sysdeps/mach/hurd/fork.c: Likewise. + * sysdeps/unix/sysv/aix/fork.c: Likewise. + * sysdeps/unix/fork.S: Add __GI___fork alias. + * sysdeps/unix/arm/fork.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/fork.S: Likewise. + * sysdeps/unix/i386/fork.S: Likewise. + * sysdeps/unix/mips/fork.S: Likewise. + * sysdeps/unix/sparc/fork.S: Likewise. + * sysdeps/unix/sysv/linux/ia64/fork.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/fork.S: Likewise. + * sysdeps/unix/sysv/linux/syscalls.list: Likewise. + * sysdeps/generic/vfork.c: Add libc_hidden_def for __vfork. + * sysdeps/unix/bsd/hp/m68k/vfork.S: Add __GI___vfork alias. + * sysdeps/unix/bsd/i386/vfork.S: Likewise. + * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise. + * sysdeps/unix/bsd/ultrix4/mips/vfork.S: Likewise. + * sysdeps/unix/bsd/vax/vfork.S: Likewise. + * sysdeps/unix/sparc/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/cris/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise. + + * include/time.h: Add libc_hidden_proto for __nanosleep. + * sysdeps/generic/nanosleep.c: Add libc_hidden_def for __nanosleep. + * sysdeps/mach/nanosleep.c: Likewise. + * sysdeps/unix/sysv/aix/nanosleep.c: Likewise. + * sysdeps/unix/sysv/linux/syscalls.list: Add __GI___nanosleep alias. + + * libio/libioP.h: Add libc_hidden_proto for _IO_list_lock, + _IO_list_unlock, and _IO_list_resetlock. + * libio/genops.c: Add libc_hidden_def for _IO_list_lock, + _IO_list_unlock, and _IO_list_resetlock. + + * libio/libioP.h: Add libc_hidden_proto for _IO_iter_begin, + _IO_iter_end, _IO_iter_next, and _IO_iter_file. + * libio/genops.c: Add libc_hidden_def for _IO_iter_begin, + _IO_iter_end, _IO_iter_next, and _IO_iter_file. + + * include/setjmp.h: Add libc_hidden_proto for __libc_longjmp. + * sysdeps/generic/longjmp.c: Add libc_hidden_def for __longjmp. + * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add + __GI___longjmp alias. + + * include/setjmp.h: Add libc_hidden_proto for _setjmp. + * sysdeps/alpha/setjmp.S: Add __GI__setjmp alias. + * sysdeps/arm/bsd-_setjmp.S: Likewise. + * sysdeps/generic/bsd-_setjmp.c: Likewise. + * sysdeps/hppa/bsd-_setjmp.S: Likewise. + * sysdeps/i386/bsd-_setjmp.S: Likewise. + * sysdeps/m68k/bsd-_setjmp.c: Likewise. + * sysdeps/mips/bsd-_setjmp.S: Likewise. + * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise. + * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise. + * sysdeps/powerpc/powerpc64/setjmp.S: Likewise. + * sysdeps/s390/s390-32/bsd-_setjmp.S: Likewise. + * sysdeps/s390/s390-32/elf/setjmp.S: Likewise. + * sysdeps/s390/s390-64/bsd-_setjmp.S: Likewise. + * sysdeps/s390/s390-64/elf/setjmp.S: Likewise. + * sysdeps/sh/bsd-_setjmp.S: Likewise. + * sysdeps/sparc/sparc32/setjmp.S: Likewise. + * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise. + * sysdeps/vax/bsd-_setjmp.S: Likewise. + * sysdeps/x86_64/bsd-_setjmp.S: Likewise. + +2002-12-30 Ulrich Drepper + + * malloc/thread-m.h (thread_atfork): Define using __register_atfork. + +2002-12-30 Roland McGrath + + * Rules (generated): Target removed. + * mach/Makefile (generated): Define it here instead. + + * math/Makefile (generated): Add m_*l and m_*f variants too. + +2002-12-30 Ulrich Drepper + + * elf/dl-close.c (_dl_close): Handle relocation dependencies among + the to-be-deleted objects right away instead of later separately. + The latter fails because the scope data structures of the DSO + might already be gone. + + * elf/Makefile: Add rules to build and run reldep8 test. + * elf/reldep8.c: New file. + * elf/reldep8mod1.c: New file. + * elf/reldep8mod2.c: New file. + * elf/reldep8mod3.c: New file. + Contributed by Jakub Jelinek. + +2002-12-24 GOTO Masanori + + * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Fix condition + checking of return value ENOSYS from getdents64. + +2002-12-28 Andreas Schwab + + * sysdeps/unix/Makefile: Include $(common-objpfx)s-proto-cancel.d. + ($(common-objpfx)s-%.d): Generalized from + $(common-objpfx)s-proto.d rule. + (common-generated): Add s-proto-cancel.d. + * sysdeps/unix/make-syscalls.sh: Use s-proto-cancel.d for + cancellable syscalls. + * sysdeps/unix/s-proto-cancel.S: New file. + +2002-12-29 Roland McGrath + + * resolv/res_libc.c: Move _res defn magic after res_init defn + so _res macro is in effect for that code. + + * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Fix sed + pattern for prepending $(..) so it doesn't affect $(foo). + + * math/Makefile (generated): Add $(addsuffix .c .S,$(calls:s_%=m_%)). + +2002-12-29 Jakub Jelinek + + * elf/cache.c (add_to_cache): Don't loop forever with 1ULL << 63 set + in hwcap. + +2002-12-28 Ulrich Drepper + + * misc/sys/cdefs.h (__attribute_deprecated__): New #define. + +2002-12-28 Andreas Jaeger + + * sysdeps/generic/readelflib.c (process_elf_file): Cast value to + avoid warning. + * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise. + +2002-12-27 Jakub Jelinek + + * inet/herrno.c (__h_errno_location): Remove. + * inet/Makefile (routines): Add herrno-loc. + * resolv/res_libc.c (__res_state): Remove. + * resolv/Makefile (routines): Add res-state. + * sysdeps/generic/herrno-loc.c: New file. + * sysdeps/generic/res-state.c: New file. + +2002-12-27 Jakub Jelinek + + * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER): + Only define if USE_DL_SYSINFO is defined. + +2002-12-22 Jakub Jelinek + + * sysdeps/unix/sysv/linux/ia64/sysdep.h (INLINE_SYSCALL, + INTERNAL_SYSCALL, INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERROR): + Define. Patch by Richard Henderson and Jes Sorensen. + (PSEUDO): Remove unnecessary ;;. + * elf/rtld.c (dl_main): Initialize TLS even if no PT_TLS segments + are found unless TLS_INIT_TP_EXPENSIVE. Use NONTLS_INIT_TP. + * sysdeps/generic/libc-tls.c (__libc_setup_tls): Use NONTLS_INIT_TP + if not initializing thread pointer. + [!USE_TLS && NONTLS_INIT_TP] (__pthread_initialize_minimal): New. + * sysdeps/generic/libc-start.c (__pthread_initialize_minimal): Don't + make it weak also if NONTLS_INIT_TP. + * sysdeps/unix/common/pause.c: Handle cancellation. + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h [DONT_LOAD_G1] + (LOADSYSCALL): Remove. + (SYSCALL_ERROR_HANDLER_ENTRY): Define. + (SYSCALL_ERROR_HANDLER): Use it. + (PSEUDO): Don't jump around error handler. + * sysdeps/unix/sysv/linux/sparc/sparc32/pipe.S (__libc_pipe): Don't + jump around error handler. + * sysdeps/unix/sysv/linux/sparc/sparc32/syscall.S (syscall): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S (__socket): Branch + to __syscall_error_handler on failure. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h [DONT_LOAD_G1] + (LOADSYSCALL): Remove. + (SYSCALL_ERROR_HANDLER_ENTRY): Define. + (SYSCALL_ERROR_HANDLER): Use it. + (PSEUDO): Don't jump around error handler. + * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S (__libc_pipe): Don't + jump around error handler. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S (syscall): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S (__socket): Branch + to __syscall_error_handler on failure. + +2002-12-27 Roland McGrath + + * scripts/gen-as-const.awk: New file. + * Makefile (distribute): Add it. + * Makerules ($(common-objpfx)%.h %.h.d: %.sym): New pattern rule. + (before-compile): Add $(gen-as-const-headers:%.sym=$(common-objpfx)%.h) + to the list. + (+depfiles): Add $(addprefix $(common-objpfx),$(gen-as-const-headers)). + +2002-12-27 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/socket.S: Add cancellation support. + +2002-12-27 Jakub Jelinek + + * malloc/arena.c (ptmalloc_init): Don't call next_env_entry if + _environ is NULL. + +2002-12-27 Andreas Schwab + + * Makerules ($(common-objpfx)%.make): Filter through + $(sed-remove-objpfx). + +2002-12-23 Roland McGrath + + * scripts/abilist.awk: Produce a more compact format, divided into + stanzas for each version set, the set name listed only once. + * scripts/extract-abilist.awk: New file. + * scripts/merge-abilist.awk: New file. + * Makerules (check-abi-%, update-abi-%): New pattern rules. + (update-abi, check-abi): New targets. + * Makefile (+subdir_targets): Add subdir_{check,update}-abi. + +2002-12-19 Roland McGrath + + * Makerules (%.symlist): Use LC_ALL=C when running awk script. + + * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Cast result of + INTERNAL_SYSCALL. + +2002-12-21 Andreas Schwab + + * elf/check-textrel.c (handle_file): Swap p_type. + +2002-12-21 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/sysdep.h (INTERNAL_SYSCALL): Define. + (INLINE_SYSCALL): Use it. + (INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): Define. + (SYSCALL_ERROR_HANDLER): Define RTLD_PRIVATE_ERRNO variant. + + * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Use INTERNAL_SYSCALL. + * sysdeps/unix/sysv/linux/m68k/brk.c: Likewise. + +2002-12-20 Art Haas + + * sysdeps/gnu/siglist.c: Convert GCC extension initializer + syntax to C99. + +2002-12-21 Philip Blundell + + * sysdeps/arm/elf/start.S (_start): Optimise a little. Push stack + top as seventh arg to __libc_start_main. + Reported by paulnash@wildseed.com. + + * sysdeps/unix/sysv/linux/arm/clone.S: Small optimisation. + + * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Elide + compatibility cruft when new enough kernel is assumed. + +2002-12-20 Jakub Jelinek + + * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use INTERNAL_SYSCALL + instead of INLINE_SYSCALL. + +2002-12-20 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Fix + typo. + + * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Define SHM_HUGETLB. + * sysdeps/unix/sysv/linux/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise. + Patch by William Lee Irwin . + +2002-12-20 Andreas Schwab + + * locale/programs/ld-measurement.c (measurement_output): Fix + index calculation. + +2002-12-20 Ulrich Drepper + + * include/libio.h [_IO_MTSAFE_IO && _IO_lock_inexpensive]: + Redefine _IO_flockifle and _IO_funlockfile as inlines. + + * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): For TLS + builds add "tls" in the search path. + * elf/ldconfig.c (is_hwcap_platform): Also recognize "tls". + (path_hwcap): Recognize "tls". + +2002-12-19 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/system.c (cancel_handler): Use + __waitpid instead of waitpid. + + * sysdeps/unix/sysv/linux/i386/_exit.S: Use ENTER_KERNEL instead of + int $0x80. + * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise. + + * sysdeps/unix/sysv/linux/i386/sysdep.h: Add support to use AT_SYSINFO + information for system calls. + + * sysdeps/generic/dl-sysdep.h: Define RTLD_PRIVATE_ERRNO to 1 only + for ld.so. + + * elf/rtld.c (_dl_start) [USE___THREAD]: Define initdtv. + +2002-12-19 Roland McGrath + + * iconvdata/ibm856.h: Convert GCC extension initializer syntax to C99. + * iconvdata/ibm922.h: Likewise. + * iconvdata/ibm930.h: Likewise. + * iconvdata/ibm932.h: Likewise. + * iconvdata/ibm933.h: Likewise. + * iconvdata/ibm935.h: Likewise. + * iconvdata/ibm937.h: Likewise. + * iconvdata/ibm939.h: Likewise. + * iconvdata/ibm943.h: Likewise. + * iconvdata/isiri-3342.h: Likewise. + +2002-12-19 Ulrich Drepper + + * test-skeleton.c (main): Make sure correct value is seen as + argv[0] after adjustment of argv, and argc. + + * elf/rtld.c: Don't initialize _dl_dynamic_weak to 1 if + RTLD_CORRECT_DYNAMIC_WEAK is defined. + +2002-12-19 Jakub Jelinek + + * nscd/connections.c (nscd_run): Shut up warning. + * tst-ungetc.c (assert): Undefined before redefining. + +2002-12-19 Ulrich Drepper + + * posix/regex.c: Use __builtin_expect even outside glibc if gcc 3 + is used. + +2002-12-17 Art Haas + + * iconvdata/cp737.h: Convert GCC extension initializer syntax to C99. + * iconvdata/cp775.h: Likewise. + * iconvdata/ibm1046.h: Likewise. + * iconvdata/ibm1124.h: Likewise. + * iconvdata/ibm1129.h: Likewise. + * iconvdata/ibm1132.h: Likewise. + * iconvdata/ibm1133.h: Likewise. + * iconvdata/ibm1160.h: Likewise. + * iconvdata/ibm1161.h: Likewise. + * iconvdata/ibm1162.h: Likewise. + * iconvdata/ibm1163.h: Likewise. + * iconvdata/ibm1164.h: Likewise. + +2002-12-19 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/system.c: Define FORK only if + __ASSUME_CLONE_THREAD_FLAGS is defined. + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_CLONE_THREAD_FLAGS): Define for x86 and kernel >= 2.5.50. + +2002-12-18 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/brk.c: Use INTERNAL_SYSCALL instead + of asm. + * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. + + * elf/dl-support.c [NEED_DL_SYSINFO]: Define and initialize + _dl_sysinfo. + [DL_SYSINFO_IMPLEMENTATION]: If defined use it to generate the needed + code. + * elf/rtld.c [DL_NEED_SYSINFO]: Initialize _dl_sysinfo element of + _rtld_global. + [DL_SYSINFO_IMPLEMENTATION]: If defined use it to generate the needed + code. + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]: + Check for AT_SYSINFO and set _dl_sysinfo appropriately. + * sysdeps/generic/ldsodefs.h (struct rtld_global) [NEED_DL_SYSINFO]: + Add _dl_sysinfo. + +2002-12-18 Jakub Jelinek + + * misc/Versions [libc: GLIBC_2.3.1]: Move __libc_readv and + __libc_writev to... + [libc: GLIBC_PRIVATE]: ...here. + * sysvipc/Versions [libc: GLIBC_2.3.1]: Move __libc_msgrcv and + __libc_msgsnd to... + [libc: GLIBC_PRIVATE]: ...here. + +2002-12-18 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/sysdep.h: Define ENTER_KERNEL macro. + Use it instead of directly int $0x80. + * sysdeps/unix/sysv/linux/i386/brk.c: Use ENTER_KERNEL. + * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise. + * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/i386/socket.S: Likewise. + * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise. + +2002-12-17 Ulrich Drepper + + * malloc/malloc.c (mALLOPt): Make sure malloc is initialized. + + * elf/elf.h (AT_SYSINFO): New define. + * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Add support for + AT_SYSINFO. + +2002-12-17 Jakub Jelinek + + * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgrcv, msgsnd): + Make cancelable. + * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgrcv, msgsnd): + Likewise. + * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgrcv, msgsnd): + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgrcv, msgsnd): + Likewise. + * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgrcv, msgsnd): + Likewise. + * sysdeps/unix/sysv/linux/ia64/sigsuspend.c (__sigsuspend): Likewise. + + * malloc/thread-m.h (mutex_init, mutex_lock, mutex_trylock, + mutex_unlock): If not building NPTL, use __libc_maybe_call2 if + available, otherwise __libc_maybe_call. + * sysdeps/unix/sysv/linux/x86_64/recv.c: Add support for + cancellation handling. + * sysdeps/unix/sysv/linux/x86_64/send.c: Likewise. + +2002-12-17 Isamu Hasegawa + + * posix/regcomp.c (free_workarea_compile): Free the new member + ORG_INDICES. + (analyze): Initialize ORG_INDICES. + (duplicate_node_closure): Search for a existing node, which is + duplicated from the node ORG_DEST and satisfies the constraint + CONSTRAINT. And use it to avoid inifimite loop. + (search_duplicated_node): New function. + (duplicate_node): Store the index of the original node. + * posix/regex_internal.c (re_dfa_add_node): Realloc ORG_INDICES + if needed. + * posix/regex_internal.h (re_dfa_t): Add new members. + +2002-12-17 Ulrich Drepper + + * stdio-common/tst-fdopen.c: Undefine assert before redefining it. + +2002-12-16 Ulrich Drepper + + * sysdeps/posix/system.c (do_system): Add support for installation + of cancellation handlers. + * sysdeps/unix/sysv/linux/i386/system.c: New file. + + * stdlib/Makefile (tests): Add tst-system. + * stdlib/tst-system.c: New file. + + * sysdeps/unix/sysv/linux/i386/socket.S [NEED_CANCELLATION && + CENABLE]: Don't lose content of %ebx. + +2002-12-17 Jakub Jelinek + + * sysdeps/unix/sysv/linux/i386/socket.S: Use SINGLE_THREAD_P + macro instead of comparing %gs:MULTIPLE_THREADS_OFFSET directly. + +2002-12-16 Ulrich Drepper + + * sysdeps/posix/getaddrinfo.c (gaih_inet): If __nss_lookup_function + fails to return a function pointer don't use it. + +2002-12-16 Art Haas + + * io/ftw.c: Convert GCC extension initializer syntax to C99. + * iconvdata/iso-ir-165.c: Likewise. + * iconvdata/jis0208.c: Likewise. + * iconvdata/jis0212.c: Likewise. + +2002-12-16 Ulrich Drepper + + * sysdeps/unix/sysv/linux/syscalls.list: Add epoll_create, + epoll_ctl, and epoll_wait. + * sysdeps/unix/sysv/linux/Versions [libc: GLIBC_2.3.2]: Add + epoll_create, epoll_ctl, and epoll_wait. + * sysdeps/unix/sysv/linux/sys/epoll.h: New file. Written by + Davide Libenzi . + * sysdeps/unix/sysv/linux/Dist: Add sys/epoll.h. + * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers): + Add sys/epoll.h. + +2002-12-16 Art Haas + + * sysdeps/generic/bp-semctl.h: Convert GCC extension initializer + syntax to C99 + * sysdeps/unix/sysv/aix/settimer.c: Likewise. + * sysdeps/unix/sysv/aix/sleep.c: Likewise. + * sysdeps/unix/sysv/aix/usleep.c: Likewise. + +2002-12-16 Ulrich Drepper + + * stdio-common/Makefile (routines): Remove lockfile. Add + flockfile, ftrylockfile, and funlockfile. + * sysdeps/generic/lockfile.c: Removed. Each function has its own file. + * sysdeps/generic/flockfile.c: New file. + * sysdeps/generic/ftrylockfile.c: New file. + * sysdeps/generic/funlockfile.c: New file. + +2002-12-16 Jakub Jelinek + + * sysdeps/unix/sysv/linux/i386/socket.S: Use CENABLE and CDISABLE + macros instead of doing the calls directly. + * sysdeps/unix/make-syscalls.sh: Add ptw-*.$o target name to rules. + * Makerules ($(+sysdir_pfx)sysd-rules): Emit rules for ptw-% + targets. + +2002-12-16 Jakub Jelinek + + * sysdeps/i386/fpu/bits/mathinline.h: Backout last change. + * sysdeps/ieee754/bits/nan.h: Likewise. + + * sysdeps/unix/sysv/linux/ia64/syscalls.list (__syscall_open, + __syscall_wait4, __syscall_ioctl, __syscall_write): Add. + +2002-12-16 Roland McGrath + + * sunrpc/xdr_mem.c (xdrmem_inline): Fix argument type. + * sunrpc/xdr_rec.c (xdrrec_inline): Likewise. + * sunrpc/xdr_stdio.c (xdrstdio_inline): Likewise. + + * sysdeps/unix/sysv/linux/syscalls.list: Add getpmsg, putpmsg. + * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove s_getpmsg, + s_putpmsg. + * sysdeps/unix/sysv/linux/i386/getpmsg.c: File removed. + * sysdeps/unix/sysv/linux/i386/putpmsg.c: File removed. + * sysdeps/unix/sysv/linux/m68k/getpmsg.c: File removed. + * sysdeps/unix/sysv/linux/m68k/putpmsg.c: File removed. + * sysdeps/unix/sysv/linux/mips/getpmsg.c: File removed. + * sysdeps/unix/sysv/linux/mips/putpmsg.c: File removed. + * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: File removed. + * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: File removed. + +2002-12-13 Paul Eggert + + * sunrpc/rpc/xdr.h (struct XDR.xdr_ops.x_inline): 2nd arg + is now u_int, not int. + (struct XDR.x_handy): Now u_int, not int. + * sunrpc/xdr_mem.c: Include . + (xdrmem_getlong, xdrmem_putlong, xdrmem_getbytes, xdrmem_putbytes, + xdrmem_inline, xdrmem_getint32, xdrmem_putint32): + x_handy is now unsigned, not signed. + Do not decrement x_handy if no change is made. + (xdrmem_setpos): Check for int overflow. + * sunrpc/xdr_sizeof.c (x_inline): 2nd arg is now unsigned. + (xdr_sizeof): Remove cast that is now unnecessary, now that + x_handy is unsigned. + +2002-12-15 Art Haas + + * iconv/gconv_conf.c: Convert GCC extension initializer syntax to C99. + * iconvdata/gap.awk: Likewise. + * iconvdata/gen-8bit-gap-1.sh: Likewise. + * iconvdata/gen-8bit-gap.sh: Likewise. + * locale/C-address.c: Likewise. + * locale/C-collate.c: Likewise. + * locale/C-ctype.c: Likewise. + * locale/C-identification.c: Likewise. + * locale/C-measurement.c: Likewise. + * locale/C-messages.c: Likewise. + * locale/C-monetary.c: Likewise. + * locale/C-name.c: Likewise. + * locale/C-numeric.c: Likewise. + * locale/C-paper.c: Likewise. + * locale/C-telephone.c: Likewise. + * locale/C-time.c: Likewise. + * nscd/connections.c: Likewise. + * nscd/grpcache.c: Likewise. + * nscd/hstcache.c: Likewise. + * nscd/pwdcache.c: Likewise. + * stdio-common/vfprintf.c: Likewise. + * stdlib/random.c: Likewise. + * sysdeps/generic/siglist.c: Likewise. + * sysdeps/i386/fpu/bits/mathinline.h: Likewise. + * sysdeps/ieee754/bits/nan.h: Likewise. + * sysdeps/posix/sprofil.c: Likewise. + * sysdeps/unix/sysv/linux/sleep.c: Likewise. + * sysdeps/unix/sysv/linux/sysctl.c: Likewise. + * sysdeps/unix/sysv/linux/usleep.c: Likewise. + +2002-12-15 Roland McGrath + + * sysdeps/unix/sysv/linux/readv.c (do_readv): Use prototype defn. + + * sysdeps/unix/sysv/linux/wait.c: Don't include or + here, no need for it. + * sysdeps/unix/sysv/linux/waitpid.c: Likewise. + + * sysdeps/unix/sysv/linux/i386/fcntl.c (do_fcntl): Take ARG as void * + parameter, not varargs parameter. + + * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_RESET): Evaluate the + argument so it's not an unused variable. + + * resolv/resolv.h (__p_key_syms, __p_cert_syms, __p_class_syms, + __p_type_syms, __p_rcode_syms): Remove decls, never really intended + for users. + + * resolv/Versions (libresolv: GLIBC_2.3.2): New set, add __p_rcode. + +2002-12-15 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/fcntl.c (do_fcntl): This is the + original __libc_fcntl code. Just renamed. + +2002-12-15 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/clone.S: Make inline syscall to _exit. + +2002-12-14 Olaf Hering + + * sysdeps/powerpc/bits/setjmp.h: Include . + * sysdeps/powerpc/powerpc64/setjmp.S: Fix typo in r18 load. + +2002-12-15 Ulrich Drepper + + * sysdeps/unix/sysv/linux/libc_fatal.c: New file. + + * sysdeps/generic/sysdep-cancel.h: Add dummy definitions for + SINGLE_THREAD_P, LIBC_CANCEL_ASYNC, and LIBC_CANCEL_RESET. + + * sysdeps/unix/sysv/linux/open64.c: New file. + + * sysdeps/generic/pselect.c: Add support for cancellation handling. + * sysdeps/posix/open64.c: Likewise. + * sysdeps/posix/sigpause.c: Likewise. + * sysdeps/posix/sigwait.c: Likewise. + * sysdeps/posix/system.c: Likewise. + * sysdeps/posix/waitid.c: Likewise. + * sysdeps/unix/sysv/linux/accept.S: Likewise. + * sysdeps/unix/sysv/linux/connect.S: Likewise. + * sysdeps/unix/sysv/linux/llseek.c: Likewise. + * sysdeps/unix/sysv/linux/msgrcv.c: Likewise. + * sysdeps/unix/sysv/linux/msgsnd.c: Likewise. + * sysdeps/unix/sysv/linux/poll.c: Likewise. + * sysdeps/unix/sysv/linux/pread.c: Likewise. + * sysdeps/unix/sysv/linux/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/readv.c: Likewise. + * sysdeps/unix/sysv/linux/recv.S: Likewise. + * sysdeps/unix/sysv/linux/recvfrom.S: Likewise. + * sysdeps/unix/sysv/linux/recvmsg.S: Likewise. + * sysdeps/unix/sysv/linux/send.S: Likewise. + * sysdeps/unix/sysv/linux/sendmsg.S: Likewise. + * sysdeps/unix/sysv/linux/sendto.S: Likewise. + * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise. + * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise. + * sysdeps/unix/sysv/linux/sigwait.c: Likewise. + * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. + * sysdeps/unix/sysv/linux/tcdrain.c: Likewise. + * sysdeps/unix/sysv/linux/wait.c: Likewise. + * sysdeps/unix/sysv/linux/waitpid.c: Likewise. + * sysdeps/unix/sysv/linux/writev.c: Likewise. + * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise. + * sysdeps/unix/sysv/linux/i386/socket.S: Likewise. + +2002-12-14 Jakub Jelinek + + * sysdeps/generic/sysdep-cancel.h: New file. + * sysdeps/unix/make-syscalls.sh: Handle C at start of args as + cancelable syscall. + * sysdeps/unix/inet/syscalls.list (accept, connect, recv, recvfrom, + recvmsg, send, sendmsg, sendto): Make cancelable. + * sysdeps/unix/mman/syscalls.list (msync): Likewise. + * sysdeps/unix/sysv/linux/alpha/syscalls.list (llseek, pread, + pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg, + sendto, osf_select): Likewise. + * sysdeps/unix/sysv/linux/hppa/syscalls.list (accept, connect, recv, + recvfrom, recvmsg, send, sendmsg, sendto): Likewise. + * sysdeps/unix/sysv/linux/ia64/syscalls.list (llseek, pread, + pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg, + sendto): Likewise. + * sysdeps/unix/sysv/linux/mips/syscalls.list (accept, connect, recv, + recvfrom, recvmsg, send, sendmsg, sendto): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (llseek, pread, + pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg, + sendto): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (llseek, pread, + pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg, + sendto, select): Likewise. + * sysdeps/unix/sysv/linux/x86_64/syscalls.list (llseek, pread, + pwrite, accept, connect, recvfrom, recvmsg, sendmsg, sendto): + Likewise. + * sysdeps/unix/sysv/linux/syscalls.list (creat, nanosleep, pause, + select, fcntl): Likewise. + * sysdeps/unix/sysv/syscalls.list (pause, poll): Likewise. + * sysdeps/unix/syscalls.list (close, fcntl, fsync, lseek, open, + read, readv, select, sigsuspend, write, writev): Likewise. + +2002-12-14 Jakub Jelinek + + * dirent/bug-readdir1.c: Include unistd.h. + +2002-12-13 Jakub Jelinek + + * locale/programs/locale.c: Include locarchive.h. + (ARCHIVE_NAME): Define. + (write_archive_locales): New function. + (write_locales): Use it. Ensure the same locale is not printed + multiple times in verbose mode. + Mode LC_IDENTIFICATION and LC_CTYPE printing into... + (print_LC_IDENTIFICATION, print_LC_CTYPE): ... these helper + functions. + (struct nameent): New type. + (nameentcmp): New function. + +2002-12-14 Jakub Jelinek + + * posix/regex_internal.c (re_string_context_at): Guard wide char + code with #ifdef RE_ENABLE_I18N. + +2002-11-22 Paolo Bonzini + + * posix/regcomp.c (regcomp): __re_compile_fastmap -> re_compile_fastmap + +2002-12-13 Roland McGrath + + * posix/bug-regex15.c: New file. + * posix/Makefile (tests): Add it. + + * test-skeleton.c (TEST_DATA_LIMIT): New macro, default to 64MB. + (main): Set RLIMIT_DATA limit to TEST_DATA_LIMIT (or lower if need be). + +2002-12-13 Ulrich Drepper + + * elf/dl-misc.c (_dl_debug_vdprintf): Don't depend on 5-digit PIDs. + + * misc/syslog.c (log_cleanup): Don't use parameter in + __libc_lock_unlock call, use syslog_lock directly. Adjust callers to + pass NULL instead of a pointer to syslog_lock. + +2002-12-12 Ulrich Drepper + + * iconvdata/Makefile: iconv-rules: Add definition to use gconv.map + linker map for all iconv modules. + (distribute): Add gconv.map. + * iconvdata/gconv.map: New file. + + * elf/Makefile: Also check all iconv modules for text relocations. + + * stdlib/Makefile: Remove code to automatically import GMP. + + * elf/Makefile (tests): Add rules to build and run check-textrel. + * elf/check-textrel.c: New file. + + * sysdeps/unix/sysv/linux/i386/sysdep.h (SETUP_PIC_REG): Add .size + directive. + +2002-12-11 Jakub Jelinek + + * io/test-utime (main): If stnow.st[am]time is wrong, print it and + not st.st[am]time. + +2002-04-30 Bruno Haible + + * intl/loadmsgcat.c (_nl_init_domain_conv): Don't append //TRANSLIT to + the encoding if it already has slashes. + Reported by Perry Rapp . + +2002-12-11 Roland McGrath + + * csu/Makefile ($(objpfx)elf-init.oS): Remove target, braino. + (CPPFLAGS-elf-init.oS, CFLAGS-elf-init.oS): New variables. + Turn off PIC for compiling this file. + +2002-12-11 Ulrich Drepper + + * malloc/thread-m.h: Remove thread_id type and MUTEX_INITIALIZER + definitions. Not needed. + [_LIBC]: Use definitions from libc-lock.h instead of referencing + pthread routines directly. + * malloc/arena.c (ptmalloc_unlock_all2): Don't add (void) to + mutex_init calls. + (arena_get2): Don't look at return value of mutex_lock. + +2002-12-11 Roland McGrath + + * csu/Makefile ($(objpfx)elf-init.oS): New target, just clone + elf-init.o instead of compiling a PIC version. + +2002-12-11 Bruno Haible + + * intl/gettext.h: Renamed to ... + * intl/gmo.h: ... here. + * intl/Makefile (distribute): Add gmo.h, remove gettext.h. + * intl/gettextP.h: Update. + * intl/loadmsgcat.c: Update. + + * intl/gettextP.h (PARAMS): Make more portable. + (attribute_hidden): Define as empty macro if not already defined. + * intl/hash-string.h (PARAMS): Make more portable. + * intl/loadinfo.h (PARAMS): Likewise. + * intl/plural-exp.h (PARAMS): Likewise. + (attribute_hidden): Move definition near the definition of + internal_function. + + * intl/gettextP.h (_nl_locale_name) [!_LIBC]: New declaration. + * intl/plural-exp.h (plural_eval) [!_LIBC]: New declaration. + +2002-07-13 Bruno Haible + + * intl/dcigettext.c (freea): New macro. + (FREE_BLOCKS): Free also the registered blocks. + (DCIGETTEXT): Free the 'search' variable. + Reported by Andreas Fischer . + +2002-04-27 Bruno Haible + + * intl/gettextP.h [! _LIBC]: Use prefix libintl_ instead of suffix __. + * intl/dcigettext.c: Likewise. + * intl/dcgettext.c: Likewise. + * intl/dgettext.c: Likewise. + * intl/gettext.c: Likewise. + * intl/dcngettext.c: Likewise. + * intl/dngettext.c: Likewise. + * intl/ngettext.c: Likewise. + * intl/textdomain.c: Likewise. + * intl/bindtextdom.c: Likewise. + * intl/plural-exp.h: Likewise. + +2002-01-02 Bruno Haible + + * intl/loadmsgcat.c (_nl_init_domain_conv): Use PARAMS in extern decl. + +2001-04-30 Bruno Haible + + * intl/dcigettext.c (getuid, getgid, geteuid, getegid): Provide + default macro definitions. Needed for mingw32. + +2002-12-10 Ulrich Drepper + + * sysdeps/i386/bits/byteswap.h (__bswap_64): Apply + __builtin_constant_p to macro parameter. + + * sysdeps/generic/sigpause.c: Define all functions as weak. + * sysdeps/posix/sigpause.c: Likewise. + + * elf/tst-tls7.c (do_test): Adjustments for l_tls_modid being of + type size_t. + +2002-12-10 Jakub Jelinek + + * elf/tst-array1.c (preinit_array, init_array, fini_array): + Explicitly align the array to sizeof (void *). + * elf/tst-array2dep.c (init_array, fini_array): Likewise. + + * include/libc-symbols.h: Fix a comment typo. + + * sysdeps/unix/sysv/linux/alpha/select.S (__libc_select): New alias. + * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__libc_sigsuspend): + Likewise. + * sysdeps/unix/sysv/linux/ia64/sigsuspend.c (__libc_sigsuspend): + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c + (__libc_sigsuspend): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c + (__libc_sigsuspend): Likewise. + * sysdeps/generic/creat.c (__libc_creat): Renamed from creat. + (creat): New weak alias. + +2002-12-10 Roland McGrath + + * manual/libc-texinfo.sh: Emit @set ADD-ON for each ADD-ON that + contributes a manual chapter. + * manual/signal.texi (Process Signal Mask): Use @ifset linuxthreads + around xref to it. + + * sysdeps/unix/sysv/linux/dl-librecon.h (EXTRA_LD_ENVVARS): Refer to + and move contents to ... + (EXTRA_LD_ENVVARS_LINUX): ... this new macro. Add break for nonmatch. + * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS): Use + it instead of duplicating its contents. + (EXTRA_LD_ENVVARS): Likewise. Add break for nonmatch. + +2002-12-09 Jakub Jelinek + + * elf/dl-support.c (_dl_non_dynamic_init): Add DL_OSVERSION_INIT if + defined. + * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init): New + function. + (EXTRA_LD_ENVVARS): Use it. + (DL_OSVERSION_INIT): Define. + * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Include linux + dl-librecon.h. + (EXTRA_LD_ENVVARS): Undef before defining. Use _dl_osversion_init. + +2002-12-10 Ulrich Drepper + + * Versions.def: No new symbols in 2.3.1, but some new ones in 2.3.2. + + * sysdeps/unix/closedir.c (__closedir): Remove __libc_lock_lock + call. It is not allowed to destroy pthread mutexes which are + still in use even though it is safe for our implementations. If + somebody still uses the descriptor it is a bug. + +2002-12-09 Richard Henderson + + * csu/abi-note.S: Use .p2align, not .align. + +2002-12-09 Ulrich Drepper + + * sysdeps/unix/sysv/linux/syscalls.list: Add __libc_creat and + __libc_select aliases. + + * sysdeps/unix/sysv/linux/sigwaitinfo.c: Define __libc_sigwaitinfo + alias. + + * sysdeps/unix/sysv/linux/sigwait.c: Define __libc_sigwait alias. + + * sysdeps/unix/sysv/linux/sigsuspend.c: Define __libc_sigsuspend alias. + + * sysdeps/unix/sysv/linux/poll.c: Define __libc_poll alias. + + * sysdeps/unix/syscalls.list: Define __libc_select alias. + + * sysdeps/posix/waitid.c: Define __libc_waitid alias. + + * sysdeps/posix/sigpause.c: Define __libc_sigpause and + __libc___xpg_sigpause aliases. + + * sysdeps/generic/pselect.c: Define __libc_pselect alias. + + * misc/error.c: Remove use of USE_IN_LIBIO. + +2002-12-08 Roland McGrath + + * elf/Makefile (tests): Uncomment tst-array[123]. + * Makeconfig (CPPFLAGS-.oS): Add -DLIBC_NONSHARED=1. + * csu/elf-init.c: New file. + * csu/Makefile (routines, static-only-routines): Add elf-init. + * sysdeps/alpha/elf/start.S: Use __libc_csu_init in place of _init + and __libc_csu_fini in place of _fini. + * sysdeps/arm/elf/start.S: Likewise. + * sysdeps/cris/elf/start.S: Likewise. + * sysdeps/hppa/elf/start.S: Likewise. + * sysdeps/i386/elf/start.S: Likewise. + * sysdeps/ia64/elf/start.S: Likewise. + * sysdeps/m68k/elf/start.S: Likewise. + * sysdeps/mach/hurd/powerpc/static-start.S: Likewise. + * sysdeps/mips/elf/start.S: Likewise. + * sysdeps/powerpc/powerpc32/elf/start.S: Likewise. + * sysdeps/powerpc/powerpc64/elf/start.S: Likewise. + * sysdeps/s390/s390-32/elf/start.S: Likewise. + * sysdeps/s390/s390-64/elf/start.S: Likewise. + * sysdeps/sh/elf/start.S: Likewise. + * sysdeps/sparc/sparc32/elf/start.S: Likewise. + * sysdeps/sparc/sparc64/elf/start.S: Likewise. + * sysdeps/x86_64/elf/start.S: Likewise. + + * sysdeps/pthread/aio_notify.c (notify_func_wrapper): Take a malloc'd + struct containing function ptr and value, free it. + (__aio_notify_only): Allocate that and copy values from SIGEV into it. + It's not safe to let the new thread use the SIGEV pointer. + +2001-10-20 Paul Eggert + + * misc/error.c (strerror_r): Do not declare unless [!_LIBC]. + Do not check for HAVE_DECL_STRERROR_R missing unless STRERROR_R_CHAR_P. + Use strerror_r that is only a macro, even if it is not a function. + (strerror): Check for HAVE_DECL_STRERROR before declaring. + (private_strerror): Use prototypes, not old-style function definition. + (print_errno_message): New function. + Support the POSIX 'int'-flavored strerror_r, as well as the traditional + char*-flavored one. + (error_tail, error, error_at_line): Use it. + +2002-12-07 Carlos O'Donell + + * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Added SHMLBA #define. + +2002-12-08 Ulrich Drepper + + * scripts/output-format.sed: Fix bug in one of the s expressions + which used / for one too many things. + + * include/unistd.h: Declare __libc_close. + +2002-12-07 Ulrich Drepper + + * sysdeps/generic/bits/stdio-lock.h (_IO_lock_trylock): New define. + +2002-12-07 Roland McGrath + + * sysdeps/generic/libc-tls.c (__libc_setup_tls): Reintroduce changes + from 2002-12-06, but remove unnecessary memset call without removing + necessary copy of initialization image. + + * Makerules ($(common-objpfx)format.lds): New target. + (common-generated): Add it. + ($(inst_libdir)/libc.so): Depend on that, and cat it into the result. + * scripts/output-format.sed: New file. + * Makefile (distribute): Add it. + +2002-12-07 Ulrich Drepper + + * sysdeps/generic/libc-tls.c: Include . + Reported by Art Haas . + +2002-12-07 Kenneth W. Chen + + * sysdeps/ia64/strncpy.S (strncpy): Clear ar.ec. Fix .recovery4. + +2002-12-07 Jakub Jelinek + + * string/test-strncpy.c (do_random_tests): Improve test coverage. + +2002-12-06 Ulrich Drepper + + * test-skeleton.c (timeout_handler): Allow expected signal to be + SIGALRM. + + * wctype/wcfuncs.c: Add libc_hidden_def for iswalnum. + + * sysdeps/posix/raise.c: Add libc_hidden_def for raise. + +2002-12-07 Jakub Jelinek + + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h [RTLD_PRIVATE_ERRNO] + (SYSCALL_ERROR_HANDLER): Fix a pasto. + Reported by Jeff Bailey . + +2002-12-06 Ulrich Drepper + + * sysdeps/generic/libc-tls.c: Undo last patch. + + * include/wctype.h: Define iswalnum with libc_hidden_proto. + + * include/signal.h: Define raise with libc_hidden_proto. + + * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Use __snprintf and + __execve instead of snprintf and execve. + + * sysdeps/x86_64/fpu/libm-test-ulps: Relax errors for float and double + again a bit. + +2002-12-06 Jakub Jelinek + + * posix/Makefile (annexc.out): Add -I../dir for all sorted-dirs. + * posix/annexc.c (fmt, testfmt): Remove -D_LIBC. + +2002-12-06 Ulrich Drepper + + * misc/syslog.c (log_cleanup): New function. + (openlog): Use log_cleanup instead of __libc_mutex_unlock. + (closelog): Likewise. + + * elf/dl-close.c: Use __rtld_lock_* macros instead of __libc_lock_*. + * elf/dl-iteratephdr.c: Likewise. + * elf/dl-lookup.c: Likewise. + * elf/dl-misc.c: Likewise. + * elf/dl-open.c: Likewise. + * elf/dl-support.c: Likewise. + * elf/rtld.c: Likewise. + * sysdeps/generic/ldsodefs.h: Likewise. + * sysdeps/generic/bits/libc-lock.h: Define __rtld_lock_* macros. + * sysdeps/mach/bits/libc-lock.h: Likewise. + * sysdeps/mach/hurd/bits/libc-lock.h: Likewise. + +2002-12-06 Roland McGrath + + * sysdeps/generic/libc-tls.c (__libc_setup_tls): Cope with zero ALIGN. + + * malloc/hooks.c [_LIBC && (USE___THREAD || (USE_TLS && !SHARED))] + (malloc_starter, memalign_starter, free_starter): Don't define these. + * malloc/malloc.c [_LIBC && (USE___THREAD || (USE_TLS && !SHARED))]: + Don't declare them either. + * malloc/arena.c (ptmalloc_init) [_LIBC && USE_TLS]: Don't call + __pthread_initialize, so no need to set hooks to *_starter. + (ptmalloc_init_minimal): New function, broken out of ptmalloc_init. + [_LIBC && SHARED && USE_TLS && !USE___THREAD] + (__libc_malloc_pthread_startup): New function. + * malloc/Versions (libc: GLIBC_PRIVATE): New set, add that function. + + * malloc/hooks.c (memalign_starter): New function. + * malloc/malloc.c: Declare it. + * malloc/arena.c (save_memalign_hook): New variable. + (ptmalloc_init): Set __memalign_hook to memalign_starter. + + * elf/dl-minimal.c (free): Clear the memory. + (calloc): Just call malloc, knowing all memory it returns is cleared. + + * sysdeps/generic/dl-tls.c (allocate_dtv): Use calloc instead of + malloc and memset; calloc can avoid the zeroing when redundant. + (_dl_tls_setup): Likewise. + * elf/dl-load.c (decompose_rpath): Likewise. + * sysdeps/generic/libc-tls.c (__libc_setup_tls): Comment out memset + call, since memory from sbrk at startup is already zero. + + * elf/rtld.c (_dl_start, dl_main): TLS_INIT_TP macro now returns an + error string for failure, null for success. Update callers. + * sysdeps/generic/libc-tls.c (__libc_setup_tls): Likewise. + * elf/dl-load.c (_dl_map_object_from_fd): Likewise. + +2002-12-05 Jakub Jelinek + + * sysdeps/unix/sysv/linux/x86_64/syscalls.list (sendfile): Change + args to i:iipi. + (readahead): Change args to i:iii. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list (readahead): + Change args to i:iii. + * sysdeps/unix/sysv/linux/mips/syscalls.list (readahead): Change + args to i:iiii. + +2002-12-05 Roland McGrath + + * stdlib/cxa_finalize.c (__cxa_finalize): When given a null argument, + call all functions rather than none. + Reported by Mark P. Mitchell . + +2002-12-04 Roland McGrath + + * locale/localeinfo.h [NL_CURRENT_INDIRECT]: Use attribute_tls_model_ie + on _nl_current_LC_* variables. + +2002-12-05 Ulrich Drepper + + * dirent/bug-readdir1.c (main): Don't call closedir, just close + the file descriptor. This is testing what the bug report was about. + +2002-12-04 Ulrich Drepper + + * po/be.po: New file. + + * argp/Makefile (tests): Add tst-argp1. + + * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: (struct sigevent): + Change type of _attribute to void*. + * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise. + * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise. + +2002-12-04 Roland McGrath + + * sysdeps/generic/ldsodefs.h (struct rtld_global): Move all [USE_TLS] + members to the end, so a libpthread compiled with !USE_TLS will still + find other members properly. + + * sysdeps/i386/i486/bits/string.h (__strcpy_g): Add dummy output + operand for DEST memory. Fix dummy input operand to use SRC. + Reported by Davin McCall . + + * sysdeps/generic/libc-tls.c (__libc_setup_tls): Account for TCB + alignment when initializing the DTV entry. + + * elf/dl-load.c (_dl_map_object_from_fd): If we hit a TLS segment + when TLS has not been set up, try to set it up if we can. + * elf/tst-tls4.c: Revert last change. + * elf/tst-tls5.c: Likewise. + * elf/tst-tls6.c: Likewise. + * elf/tst-tls7.c: Likewise. + * elf/tst-tls8.c: Likewise. + * elf/tst-tls9.c: Likewise. + + * sysdeps/generic/dl-tls.c [SHARED] (_dl_tls_setup): New function. + * sysdeps/generic/ldsodefs.h: Declare it. + * elf/Versions (ld: GLIBC_PRIVATE): Add it. + * sysdeps/generic/libc-tls.c (init_slotinfo): New static inline + function, broken out of __libc_setup_tls. + (init_static_tls): Likewise. + (__libc_setup_tls): Call them. + (_dl_tls_setup): New function, uses new subroutines. + + * elf/dl-close.c (free_slotinfo): Make argument pointer to pointer. + Clear the pointer when returning true. + (libc_freeres_fn) [SHARED]: If GL(dl_initial_dtv) is null, free the + first element of the slotinfo list too. + + * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Define only if + [SHARED]. + + * sysdeps/generic/ldsodefs.h (_dl_next_tls_modid): Declare as hidden. + (_dl_determine_tlsoffset): Likewise. + + * elf/rtld.c (_dl_initial_error_catch_tsd): Renamed from + startup_error_tsd, made global. + (dl_main): Update initialization. + * elf/dl-tsd.c: Likewise. + * sysdeps/generic/ldsodefs.h: Declare it. + +2002-12-03 Ulrich Drepper + + * manual/texinfo.tex: Update from latest upstream version. + +2002-12-03 Roland McGrath + + * sysdeps/generic/libc-tls.c (__libc_setup_tls): Include static TLS + area surplus in calculation for sbrk call. + + * iconvdata/cp1125.c: New file. + * iconvdata/Makefile (distribute): Add it. + (modules): Add CP1125. + (gen-8bit-gap-modules): Add cp1125. + * iconvdata/gconv-modules: Add CP1125, alias RUSCII. + * iconvdata/tst-tables.sh: Add CP1125 to the list to test. + +2002-12-03 Andreas Jaeger + + * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated. + +2002-12-03 Ulrich Drepper + + * sysdeps/posix/system.c (do_system): Make signal handler + installation thread safe. + +2002-12-02 Roland McGrath + + * sysdeps/unix/sysv/linux/alpha/syscalls.list (readahead): Change + caller from EXTRA to -. + * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. + +2002-12-02 Carlos O'Donell + + * sysdeps/hppa/fpu/fesetround.c (fesetround): Use ~FE_DOWNWARD so both + bits of RM are cleared. + +2002-12-02 Roland McGrath + + * elf/tst-tls4.c: Define an unused TLS variable here, so that no lazy + TLS setup is required. + * elf/tst-tls5.c: Likewise. + * elf/tst-tls6.c: Likewise. + * elf/tst-tls7.c: Likewise. + * elf/tst-tls8.c: Likewise. + * elf/tst-tls9.c: Likewise. + + * elf/rtld.c (dl_main): Remove [! SHARED] conditional from + `if (GL(dl_tls_max_dtv_idx) > 0)' tests for doing TLS setup. + * elf/dl-close.c (libc_freeres_fn): Check GL(dl_tls_dtv_slotinfo_list) + for being null before calling free_slotinfo. + * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: For PT_TLS in + dynamic loading, bail with error if GL(dl_tls_max_dtv_idx) is zero. + +2002-11-30 Bruno Haible + + * iconv/gconv.h (__gconv_btowc_fct): New typedef. + (struct __gconv_step): New field __btowc_fct. + * wcsmbs/btowc.c (__btowc): Use the __btowc_fct shortcut if possible. + * iconv/gconv_int.h (__BUILTIN_TRANSFORM): Renamed from + __BUILTIN_TRANS. + (__gconv_btwoc_ascii): New declaration. + * iconv/gconv_simple.c (BUILTIN_TRANSFORMATION): Add BtowcFct argument. + (__gconv_btwoc_ascii): New function. + * iconv/gconv_builtin.h: Add BtowcFct argument to all + BUILTIN_TRANSFORMATION invocations. + * iconv/gconv_conf.c (BUILTIN_TRANSFORMATION): Add BtowcFct argument. + * iconv/iconvconfig.c (BUILTIN_TRANSFORMATION): Likewise. + * iconv/gconv_builtin.c (map): New field btowc_fct. + (BUILTIN_TRANSFORMATION): Add BtowcFct argument. Use it to initialize + btowc_fct field. + (__gconv_get_builtin_trans): Initialize __btowc_fct field. + * iconv/gconv_cache.c (find_module): Initialize __btowc_fct field. + * iconv/gconv_db.c (gen_steps, increment_counter): Likewise. + * wcsmbs/wcsmbsload.c (to_wc, to_mb): Likewise. + * iconv/skeleton.c: Document STORE_REST and FROM_ONEBYTE. + (gconv_init): Initialize __btowc_fct field. + Undefine EXTRA_LOOP_ARGS and FROM_ONEBYTE at the end. + * iconv/loop.c: Document ONEBYTE_BODY. + (gconv_btowc, FROM_ONEBYTE): Define if ONEBYTE_BODY is defined. + Undefine ONEBYTE_BODY at the end. + * iconvdata/8bit-generic.c (ONEBYTE_BODY): New macro. + * iconvdata/8bit-gap.c (NONNUL): New macro. + (BODY for FROM_LOOP): Use it. + (ONEBYTE_BODY): New macro. + * iconvdata/isiri-3342.c (HAS_HOLES): Set to 1. + (NONNUL): New macro. + * iconvdata/ansi_x3.110.c (ONEBYTE_BODY): New macro. + * iconvdata/armscii-8.c (ONEBYTE_BODY): New macro. + * iconvdata/cp1255.c (ONEBYTE_BODY): New macro. + * iconvdata/cp1258.c (ONEBYTE_BODY): New macro. + * iconvdata/tcvn5712-1.c (ONEBYTE_BODY): New macro. + * iconvdata/big5.c (ONEBYTE_BODY): New macro. + * iconvdata/big5hkscs.c (ONEBYTE_BODY): New macro. + * iconvdata/euc-cn.c (ONEBYTE_BODY): New macro. + * iconvdata/euc-jp.c (ONEBYTE_BODY): New macro. + * iconvdata/euc-jisx0213.c (ONEBYTE_BODY): New macro. + * iconvdata/euc-kr.c (ONEBYTE_BODY): New macro. + * iconvdata/euc-tw.c (ONEBYTE_BODY): New macro. + * iconvdata/gbk.c (ONEBYTE_BODY): New macro. + * iconvdata/gb18030.c (ONEBYTE_BODY): New macro. + * iconvdata/ibm932.c: Include . + (TRUE, FALSE): Remove macros. + (BODY for FROM_LOOP): Remove unused variable rp1. + (ONEBYTE_BODY): New macro. + (BODY for TO_LOOP): Use bool. + * iconvdata/ibm932.h (__ibm932sb_to_ucs4_idx): Remove array. + * iconvdata/ibm943.c: Include . + (TRUE, FALSE): Remove macros. + (BODY for FROM_LOOP): Remove unused variable rp1. + (ONEBYTE_BODY): New macro. + (BODY for TO_LOOP): Use bool. + * iconvdata/ibm943.h (__ibm943sb_to_ucs4_idx): Remove array. + * iconvdata/iso8859-1.c (ONEBYTE_BODY): New macro. + * iconvdata/iso_6937-2.c (ONEBYTE_BODY): New macro. + * iconvdata/iso_6937.c (ONEBYTE_BODY): New macro. + * iconvdata/johab.c (ONEBYTE_BODY): New macro. + * iconvdata/sjis.c (ONEBYTE_BODY): New macro. + * iconvdata/shift_jisx0213.c (ONEBYTE_BODY): New macro. + * iconvdata/t.61.c (ONEBYTE_BODY): New macro. + * iconvdata/uhc.c (ONEBYTE_BODY): New macro. + * iconvdata/gbbig5.c: Tweak comment. + +2002-12-02 Ulrich Drepper + + * po/fi.po: Update from translation team. + +2002-12-01 Roland McGrath + + * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Fix condition + testing getdents64 return value. + + * scripts/versions.awk: Don't pass -n flag to sort command. + + * posix/bug-regex13.c: Include . + + * sysdeps/generic/libc-start.c (__libc_start_main): Do + DL_SYSDEP_OSCHECK here. + * sysdeps/unix/sysv/linux/init-first.c (init): Not here. + * sysdeps/unix/sysv/linux/dl-osinfo.h: Include . + + * sysdeps/generic/libc-tls.c (__libc_setup_tls): Bail if + argument TCBSIZE <= TLS_INIT_TCB_SIZE, not just if it's zero. + + * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Check l_tls_offset + instead of l_type to decide whether to use TLS_DTV_UNALLOCATED. + + * include/link.h: Comment typo fix. + +2002-12-01 Roland McGrath + + * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_FSYNC): Set to 200112L. + (_POSIX_SPAWN, _POSIX_MAPPED_FILES, _POSIX_MEMLOCK_RANGE, + _POSIX_MEMORY_PROTECTION): Likewise. + (_POSIX_POLL, _POSIX_SELECT): Removed. + +2002-11-28 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define macros which + require it to 200112L. Remove _POSIX_POLL and _POSIX_SELECT. + +2002-11-28 Jakub Jelinek + + * sysdeps/unix/alpha/sysdep.S: Change defined(USE___THREAD) to + USE___THREAD. + * sysdeps/unix/sysv/linux/alpha/sysdep.h (inline_syscall*): Avoid + "=v" constraints. + +2002-11-28 Ulrich Drepper + + * sysdeps/unix/sysv/linux/x86_64/vfork.S: Don't trash the CPU's + branch prediction buffers by using unpaired call/ret. + +2002-11-27 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/sysdep.h (ASMFMT_2): Fix typo in + first parameters constraint string. + (ASMFMT_3): Likewise. Patch by stefan.lauterbach@mincom.de. + +2002-11-27 Isamu Hasegawa + + * posix/regcomp.c (parse_expression): Set the bit since the back + reference is used in the regular expression. + * posix/regex_internal.c (re_node_set_init_1): Make it clean in case + of malloc failure. + (re_node_set_init_copy): Likewise. + * posix/regex_internal.h (state_array_t): New structure. + (re_sub_match_last_t): Likewise. + (re_sub_match_top_t): Likewise. + (re_match_context_t): Add new members. + (re_dfa_t): Likewise. + * posix/regexec.c (re_search_internal): Invoke prune_impossible_nodes + to check the matching is really correct, and retry if failed. + Move the routin pruning the impossible nodes from here, ... + (prune_impossible_nodes): To this function. + (check_matching): Invoke check_subexp_matching_top, and replace + redundant checking with transit_state_bkref invocation. + (proceed_next_node): Replace strncmp with memcmp. Reported by + Paolo Bonzini . + (update_cur_sifted_state): Remove search_subexp invocation. + (search_subexp): Remove this function. + (check_dst_limits_calc_pos): Use search_cur_bkref_entry for + optimization. + (sift_states_bkref): Use search_cur_bkref_entry for optimization. + Remove unused invocation of match_ctx_add_entry. + (transit_state): Invoke check_subexp_matching_top. + (check_subexp_matching_top): New function. + (transit_state_bkref): Remove unused array. + Merge transit_state_bkref_loop. + (transit_state_bkref_loop): Use get_subexp instead of + sift_states_backward. Use search_cur_bkref_entry for optimization. + Merge this function to transit_state_bkref. + (get_subexp): New function. + (get_subexp_sub): Likewise. + (find_subexp_node): Likewise. + (check_arrival): Likewise. + (check_arrival_expand_ecl): Likewise. + (check_arrival_expand_ecl_sub): Likewise. + (expand_bkref_cache): Likewise. + (match_ctx_init): Initialize new members. + (match_ctx_clean): New function. + (match_ctx_free): Release new members. + (match_ctx_free_subtops): New function. + (match_ctx_add_entry): Fix indent. + (search_cur_bkref_entry): New function. + (match_ctx_add_subtop): Likewise. + (match_ctx_add_sublast): Likewise. + +2002-11-25 Ulrich Drepper + + * iconv/Makefile (tests): Remove tst-iconv4.c + * iconv/tst-iconv4.c: Moved to... + * iconvdata/tst-iconv4.c: ...here. New file. + * iconvdata/Makefile (tests): Add tst-iconv4. Add dependencies. + +2002-11-25 Roland McGrath + + * inet/test-ifaddrs.c (main: addr_string): Handle null SA. + Grok AF_LINK if defined. + From Momchil Velikov . + + * sysdeps/gnu/ifaddrs.c (getifaddrs): If ioctl fails for netmask, + brdaddr, or dstaddr, just set those pointers to null and don't fail. + Reported by Momchil Velikov . + + * sysdeps/generic/ifreq.h (__if_nextreq) [_HAVE_SA_LEN]: If sa_len + is > sizeof IFR->ifa_addr, advance past the whole longer length. + (__ifreq): Count up NIFS that way too. + Reported by Momchil Velikov . + + * sysdeps/mach/hurd/lchmod.c: Include . + + * sysdeps/mach/hurd/i386/init-first.c: Include + and . + +2002-11-24 Ulrich Drepper + + * elf/elf.h (EM_ST19): Fix typo. + +2002-11-25 Jakub Jelinek + + * include/errno.h (__set_errno): Define as errno = val + unconditionally. + +2002-11-24 Roland McGrath + + * sysdeps/posix/readv.c: Include , use __set_errno macro. + * sysdeps/posix/writev.c: Likewise. + From Momchil Velikov . + + * elf/dl-error.c [! _LIBC_REENTRANT]: Use a static variable instead of + calling *GL(dl_error_catch_tsd) for a thread-local location. + * elf/rtld.c (startup_error_tsd): Conditionalize on [_LIBC_REENTRANT]. + (dl_main): Same for GL(dl_error_catch_tsd) initialization. + * elf/dl-tsd.c: Conditionalize contents on [_LIBC_REENTRANT]. + + * libio/iofflush.c: Add libc_hidden_def. + * libio/iofwrite.c: Likewise. + * sysdeps/generic/sigtimedwait.c: Likewise. + * sysdeps/generic/sigwaitinfo.c: Likewise. + * sysdeps/posix/sigwait.c: Likewise. + Reported by Momchil Velikov . + + * inet/inet_lnaof.c (inet_lnaof): Change return type to in_addr_t + to match declaration. + * inet/inet_netof.c (inet_netof): Likewise. + * inet/inet_mkadr.c (inet_makeaddr): Likewise for argument types. + Reported by Momchil Velikov . + + * configure.in: Skip AUTOCONF check under --without-cvs. + * configure: Regenerated. + + * posix/Makefile (headers): Add bits/pthreadtypes.h. + * sysdeps/unix/sysv/linux/Makefile (sysdep_heaers): Don't add it here. + * sysdeps/unix/sysv/linux/Dist: Remove it from the list. + +2002-11-24 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/sysdep.h: Support inline syscall + with six arguments. + +2002-11-19 Jim Meyering + + * time/mktime.c (__mon_yday, __mktime_internal) [!_LIBC]: Declare + as `static'. + * time/strptime.c (__mon_yday) [!_LIBC]: Declare as `static'. + +2002-11-23 Roland McGrath + + * scripts/abilist.awk: Avoid strtonum function, not there in mawk. + Just produce hex output for datum sizes. + + * elf/Makefile ($(objpfx)librtld.mk): Tighten up regexp. + Reported by Luca Barbieri . + +2002-11-20 Steven Munroe + + * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (msqid_ds) + [__WORDSIZE == 32]: Only PPC32 requires __unused1, __unused2, + and __unused3 fields. + * sysdeps/unix/sysv/linux/powerpc/bits/sem.h (semid_ds) + [__WORDSIZE == 32]: Only PPC32 requires __unused1 + and __unused2 fields. + * sysdeps/unix/sysv/linux/powerpc/bits/shm.h (shmid_ds) + [__WORDSIZE == 32]: Only PPC32 requires __unused1, __unused2, + __unused3, and __unused4 fields. + + * csu/gmon-start.c (__gmon_start__): Always use TEXT_START macro to + obtain lowest address for profiling in __monstartup call. + +2002-11-21 Roland McGrath + + * sysdeps/ia64/fpu/Makefile (libm-sysdep_routines): Remove redunant + $(calls) $(calls:=f) $(long-c-$(long-double-fcts)). + + * locale/localeinfo.h (struct locale_data): Revert last change. + + * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_exit_group): Add it. + From Ian Wienand . + + * sysdeps/unix/sysv/linux/ia64/sysdep.h (__NR_pread): Define to + __NR_pread64 if not defined. + (__NR_pwrite): Define to __NR_pwrite64 if not defined. + From Ian Wienand . + +2002-11-21 Roland McGrath + + * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Set + __libc_multiple_libcs here. Call __setfpucw. + +2002-11-21 Ulrich Drepper + + * elf/Makefile (tests): Don't run test-arrayX tests for now. + + * sysdeps/unix/sysv/linux/bits/sched.h: Add new CLONE_* flags. + * sysdeps/unix/sysv/linux/i386/clone.S: Add support for + CLONE_CHILD_*TID flags. + +2002-11-20 Andreas Jaeger + + * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT): + We pass struct ucontext on x86-64. + (GET_PC): Adjust. + (GET_FRAME): Adjust. + (GET_STACK): Adjust. + +2002-11-20 Roland McGrath + + * sysdeps/powerpc/powerpc32/dl-machine.c [! SHARED]: Further + conditionalize [! DO_VERSIONING] #error. + + * scripts/abilist.awk: Grok function descriptor symbols. + + * intl/tst-gettext.c (main): Check return values from setlocale. + Add necessary unsetenv's to make LANG=existing-locale check work. + + * intl/tst-gettext.sh: Use mkdir -p. Copy test files unconditionally, + so aborted prior runs don't confuse things. + + * locale/localeinfo.h (struct locale_data: union locale_data_value): + Use uintptr_t instead of unsigned int for `word' member. + (_NL_CURRENT_WORD): Cast to uint32_t. + + * posix/bug-regex5.c (main): Use union to extract _NL_COLLATE_NRULES + value. + +2002-11-20 Ulrich Drepper + + * elf/tls-macros.h: Add IA-64 definitions. + Patch by Ian Wienand . + + * iconv/Makefile (tests): Add tst-iconv4. + * iconv/tst-iconv4.c: New file. + + * iconv/gconv_simple.c (internal_ucs4le_loop_unaligned): Return + __GCONV_EMPTY_INPUT only if input is really empty. Otherwise + __GCONV_INCOMPLETE_INPUT. + (ucs4le_internal_loop): Likewise. + (ucs4le_internal_loop_unaligned): Likewise. + * iconvdata/unicode.c (PREPARE_LOOP): Likewise. + * iconvdata/utf-16.c (PREPARE_LOOP): Likewise. + * iconvdata/utf-32.c (PREPARE_LOOP): Likewise. + + * iconv/loop.c (LOOPFCT): First test for empty input then for full + output buffer. + + * inet/getnameinfo.c: Use extend_alloca where appropriate. + * sysdeps/posix/getaddrinfo.c: Likewise. + + * include/alloca.h (extend_alloca): New define. Based on stack + direction it'll try to append to the previouls allocated buffer. + +2002-11-07 Thorsten Kukuk + + * sysdeps/posix/getaddrinfo.c (gaih_inet): If AF_UNSPEC is set, + use the same service for AF_INET and AF_INET6. + +2002-11-19 Ulrich Drepper + + * intl/localealias.c (read_alias_file): Use only about 400 bytes + of stack space instead of 16k. + +2002-11-18 Wolfram Gloger + + * malloc/arena.c + (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2): Do + nothing if not initialized. Bug report from Marcus Brinkmann + . + +2002-11-19 Roland McGrath + + * posix/Versions (libc: GLIBC_2.3.2): Add sched_getaffinity and + sched_setaffinity. + + * configure.in (libc_cv_gcc_dwarf2_unwind_info check): Use libraries + `-lgcc -lgcc_eh -lgcc', not just `-lgcc -lgcc_eh' in link commands for + test leading to libc_cv_gcc_dwarf2_unwind_info=no_registry_needed. + * configure: Regenerated. + +2002-11-19 Ulrich Drepper + + * include/dlfcn.h: __libc_dlopen is now a macro calling + __libc_dlopen_mode with the extra parameter RTLD_LAZY. + (__libc_dlopen_mode): New prototype. + * elf/dl-libc.c (__libc_dlopen_mode): Renamed from __libc_dlopen. Add + new parameter. Store new parameter in mode field of structure passed + to do_dlopen. + (struct do_dlopen_args): Add new field mode. + (do_dlopen): Pass mode from parameter structure to _dl_open. + +2002-11-11 Randolf Chung + + * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h [__USE_FILE_OFFSET64] + (F_GETLK, F_SETLK, F_SETLKW): Define to F_*64 versions. + * sysdeps/unix/sysv/linux/hppa/fcntl.c: New file. + + * sysdeps/hppa/fpu/libm-test-ulps: New file (generated). + + * sysdeps/hppa/Makefile (CFLAGS-rtld.c): New variable. + Set -mdisable-fpregs for this file. + +2002-11-11 Carlos O'Donell + + * sysdeps/unix/sysv/linux/configure.in: + Make 2.4.19 minimum linux kernel for hppa, and add unwind symbols + from gcc-3.0 era for backwards compatibility. + * sysdeps/unix/sysv/linux/configure: Regenerate. + + * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: + Define mcontext_t as a sigcontext. + +2002-11-18 Roland McGrath + + * dlfcn/dlerror.c (fini): New function, __attribute__ ((destructor)). + Free memory in `last_result' if it was used. + + * resolv/nss_dns/dns-network.c (getanswer_r): In BYNAME case, search + all aliases for one that matches the ".IN-ADDR.ARPA" form. + Do the parsing inline instead of copying strings and calling + inet_network, and properly skip all alias names not matching the form. + + * manual/pattern.texi (Variable Substitution): Fix # and ## examples. + +2002-11-17 Ulrich Drepper + + * manual/pattern.texi (Wordexp Example): Fix sample code. + + * sysdeps/unix/sysv/linux/i386/clone.S: Initialize word in the + childs stack which will be loaded into the %esi register. + +2002-11-14 Paul Eggert + + * resolv/nss_dns/dns-network.c (getanswer_r): Check for buffer + overflow when skipping the question part and when unpacking aliases. + +2002-11-15 Roland McGrath + + * math/Makefile (libm-calls): Remove s_copysign, s_isinf, s_isnan, + s_finite, s_modf, s_scalbn, s_frexp, m_ldexp, s_signbit. + Instead add $(calls:s_%=m_%) to get m_* versions of them all. + +2002-11-15 Jakub Jelinek + + * sysdeps/i386/dl-machine.h (elf_machine_rela): Handle R_386_COPY. + * sysdeps/arm/dl-machine.h (elf_machine_rela): Handle R_ARM_COPY. + +2002-11-15 Roland McGrath + + * math/Makefile (libm-calls): Change s_ldexp to m_ldexp. + * Makerules ($(+sysdir_pfx)sysd-rules): Emit pattern rules for m_%.[Sc] + from sysdeps/.../s_%.[Sc] with commands $(+make-include-of-dep). + (+make-include-of-dep): New canned sequence. + + * stdlib/canonicalize.c (__realpath): Check for malloc failure. + From Dmitry V. Levin . + +2002-11-14 Roland McGrath + + * sysdeps/generic/errno.c (__libc_errno): Remove alias. + * inet/herrno.c (__libc_h_errno): Likewise. + * resolv/res_libc.c (__libc_res): Likewise. + [USE___THREAD]: Use this in place of [USE_TLS && HAVE___THREAD]. + (__res_state) [! USE___THREAD]: Don't define as weak. + * csu/Versions: Revert last change. + * resolv/Versions: Revert last change. + + * Makerules ($(common-objpfx)%.make): New pattern rule. + * tls.make.c: New file. + * Makefile (distribute): Add it. + + * sysdeps/generic/errno.c [! USE___THREAD] + [HAVE_ELF && SHARED && DO_VERSIONING] (errno, _errno): Declare these + with compat_symbol so they are not link-time visible. + [! USE___THREAD] (__libc_errno): New alias for errno. + * csu/Versions [!(USE_TLS && HAVE___THREAD)] (libc: GLIBC_PRIVATE): + Add __libc_errno here. + * inet/herrno.c [USE___THREAD]: Use this conditional + in place of [USE_TLS && HAVE___THREAD]. + [! USE___THREAD] [HAVE_ELF && SHARED && DO_VERSIONING] + (h_errno, _h_errno): Declare these with compat_symbol so they are not + link-time visible. + [! USE___THREAD] (__libc_h_errno): New alias for h_errno. + * resolv/res_libc.c [! USE___THREAD] + [HAVE_ELF && SHARED && DO_VERSIONING] (_res): Likewise. + (_res): Use __attribute__ ((section (".bss"))) so we can have an alias. + (__libc_res): Define as alias for _res. + * resolv/Versions [!(USE_TLS && HAVE___THREAD)] (libc: GLIBC_PRIVATE): + Add __libc_h_errno and __libc_res here. + +2002-11-14 Jakub Jelinek + + * csu/Versions (errno): Move STT_TLS symbol to GLIBC_PRIVATE for now. + * resolv/Versions (h_errno, _res): Likewise. + +2002-11-14 Roland McGrath + + * Makerules (%.dynsym): Remove $(objpfx) from target and dep. + (%.symlist): Likewise. + +2002-11-13 Roland McGrath + + * scripts/abilist.awk: New file. + * Makefile (distribute): Add it. + * Makerules ($(objpfx)%.dynsym, $(objpfx)%.symlist): New rules. + (tests): Depend on .symlist file for each $(install-lib.so-versioned). + [$(subdir) = elf] (tests): Depend on libc.symlist. + (generated, common-generated): Add those files. + + * aclocal.m4 (LIBC_PROG_BINUTILS): Check for objdump, set OBJDUMP. + * configure: Regenerated. + * config.make.in (OBJDUMP): New variable, substituted by configure. + + * malloc/mcheck.c (struct hdr): New members `block' and `magic2'. + (mallochook, reallochook): Set them up. + (checkhdr): Check HDR->magic2 value. + (freehook): Reset HDR->magic2. + (memalignhook): New static function. + (old_memalign_hook): New static variable. + (mcheck, reallochook): Set __memalign_hook to memalignhook. + + * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): Zero the space + for the new TCB. + +2002-11-13 Andreas Jaeger + + * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Check for visibility + attribute. + * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. + +2002-11-11 Paul Eggert + + * manual/crypt.texi (Cryptographic Functions): Mention that + the MD5 one-way algorithm is compatible with BSD's. + +2002-11-11 Isamu Hasegawa + + * posix/regex_internal.c (re_string_skip_chars): Also return the last + wide character. + (re_string_reconstruct): Calculate the context by itself when the + offset points out of the valid range. + (re_string_context_at): Use wide character when MB_CUR_MAX > 1. + * posix/regex_internal.h (WIDE_NEWLINE_CHAR): New macro. + (IS_WIDE_WORD_CHAR): New macro. + (IS_WIDE_NEWLINE): New macro. + +2002-11-12 Andreas Jaeger + + * sysdeps/x86_64/strchr.S: Don't use one register for two + purposes, this fixes a bug noticed by test-strchr.c. + + * sysdeps/x86_64/strcat.S: Fix algorithm to align source pointer + correctly. + +2002-11-12 Roland McGrath + + * libio/libioP.h [_LIBC && !SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] + (_G_IO_NO_BACKWARD_COMPAT): Define it. + + * sysdeps/ia64/dl-fptr.c [_LIBC_REENTRANT]: Include + instead of . + [_LIBC_REENTRANT] (lock, unlock): Use __sync_lock_* macros instead of + testandset. + From Ian Wienand . + +2002-11-10 Roland McGrath + + * libio/bug-wfflush.c (do_test): Call rewind instead of fsetpos. + Call fputs instead of fwprintf (simpler to follow in debugger). + + * crypt/md5-crypt.c: Doc fix. + + * sysdeps/unix/make-syscalls.sh: Insert $(make-target-directory) at + the beginning of generated target commands. + + * csu/Makefile ($(objpfx)crti.o, $(objpfx)crtn.o): Add explicit + dependencies for these in case implicit rule search skipped the + nonexistent source directory. + * sysdeps/gnu/Makefile ($(objpfx)errlist.d): Give this rule all the + files with $(object-suffixes) as targets too. + * Makerules [no_deps && objpfx] (before-compile): Add $(objpfx). + and a target for it using $(make-target-directory). + + * Rules (before-compile): Add $(common-objpfx)bits/stdio-lim.h. + +2002-11-10 Roland McGrath + + * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: Moved to ... + * sysdeps/generic/bits/pthreadtypes.h: ... here. + + * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Treat a struct flock with + l_start == 0 and l_len == 1 as we do l_len == 0. + +2002-11-10 Ulrich Drepper + + * po/da.po: Update from translation team. + +2002-11-10 Roland McGrath + + * config.make.in (includedir): New variable, substituted by configure. + Reported missing by Jocelyn Fournier . + * Makeconfig (includedir): Use $(prefix), not $(exec_prefix). + +2002-11-10 Andreas Jaeger + + * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h (enum): Add + REG_OLDMASK and REG_CR2 to synch with kernel header. + (NGREG): Increase. + + * nss/getXXent.c (GETFUNC_NAME): Use union type to avoid strict + aliasing problem. + * nss/getXXbyYY_r.c (INTERNAL): Likewise. + * nss/getnssent_r.c (__nss_getent_r): Likewise. + (__nss_setent): Likewise. + (__nss_getent_r): Likewise. + * inet/getnetgrent_r.c (innetgr): Likewise. + (__internal_setnetgrent_reuse): Likewise. + (internal_getnetgrent_r): Likewise. + * inet/ether_hton.c (ether_hostton): Likewise. + * inet/ether_ntoh.c (ether_ntohost): Likewise. + * sunrpc/netname.c (netname2user): Likewise. + * sunrpc/publickey.c (getpublickey): Likewise. + (getsecretkey): Likewise. + +2002-11-09 Marcus Brinkmann + + * sysdeps/mach/hurd/i386/ioperm.c (ioperm): Correct off by one + error in range calculation. + +2002-10-09 Jakub Jelinek + + * string/test-strspn.c (do_test): Ensure zero termination. + * string/test-strpbrk.c (do_test): Likewise. + * string/test-strncmp.c (stupid_strncmp): Use strnlen, not strlen. + * string/test-strncpy.c (stupid_strncpy): Likewise. + * string/test-stpncpy.c (stupid_stpncpy): Likewise. + +2002-10-08 Roland McGrath + + * string/test-string.h (test_init): Fill BUF1 and BUF2 with + nonzero characters. + +2002-09-22 H.J. Lu + + * sysdeps/unix/sysv/linux/mmap64.c (MMAP2_PAGE_SHIFT): Renamed + from PAGE_SHIFT. Define if not defined. Check MMAP2_PAGE_SHIFT + only if __NR_mmap2 is defined. + + * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Moved to ... + * sysdeps/unix/sysv/linux/mmap64.c: ... here. + * sysdeps/unix/sysv/linux/hppa/mmap64.c: File removed. + * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: FIle removed, + +2002-11-08 Jakub Jelinek + + * posix/bug-regex13.c (tests): Add new test. + + * string/test-strchr.c (stupid_strchr): New function. + (do_random_tests): Make sure the string is zero terminated. + * string/test-strpbrk.c (stupid_strpbrk): New function. + (do_random_tests): Make sure the string is zero terminated. + * string/test-strcmp.c (stupid_strcmp): New function. + (do_random_tests): Make sure the strings are zero terminated. + * string/test-strspn.c (stupid_strspn): New function. + (simple_strspn): Rename rej argument to acc. + (do_random_tests): Make sure the string is zero terminated. + * string/test-strcspn.c (stupid_strcspn): New function. + * string/test-strncpy.c (stupid_strncpy): New function. + * string/test-stpncpy.c (stupid_stpncpy): New function. + * string/test-strncmp.c (stupid_strncmp): New function. + (do_random_tests): Make sure the strings are zero terminated. + * string/test-string.h (impl_t): Change test into long. + (IMPL): Add __attribute__((aligned (sizeof (void *)))). + +2002-11-08 Roland McGrath + + * sysdeps/ia64/elf/configure.in: Add TLS check. + From Ian Wienand . + * sysdeps/ia64/elf/configure: Regenerated. + +2002-11-07 Roland McGrath + + * libio/fileops.c (_IO_new_file_overflow): Use INTUSE(_IO_do_write) in + place of _IO_new_do_write. + [_LIBC] (_IO_do_write): Define as macro for _IO_new_do_write and + #undef before versioned_symbol use. + +2002-11-07 Richard Henderson + + * configure.in (ASM_ALPHA_NG_SYMBOL_PREFIX): Remove test. + * configure: Regenerated. + * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): Remove #undef. + * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Use !samegp. + (RTLD_START): Likewise. Access _dl_skip_args, _rtld_local, and + _dl_fini via gp-relative relocations. + * sysdeps/alpha/fpu/e_sqrt.c: Use !samegp. + + * elf/tls-macros.h: Add alpha versions. + * sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle TLS relocs. + * sysdeps/unix/alpha/sysdep.S: Support USE___THREAD. + * sysdeps/unix/alpha/sysdep.h: Likewise. Add SYSCALL_ERROR_HANDLER. + * sysdeps/unix/sysv/linux/alpha/brk.S: Use it. + * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/select.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise. + + * sysdeps/unix/sysv/linux/alpha/sysdep.h: Re-include protect. + Kill argument registers across the inline syscall. + + * sysdeps/unix/sysv/linux/alpha/clone.S: Add user_tid and tls args. + + * linuxthreads/sysdeps/alpha/tls.h: New file. + * sysdeps/alpha/dl-tls.h: New file. + +2002-10-29 David Mosberger + + * sysdeps/ia64/elf/initfini.c [HAVE_INITFINI_ARRAY] + (gmon_initializer): New function. + (.init prologue): If HAVE_INITFINI_ARRAY is true, don't call + __gmon_start__ here. Call it from gmon_initializer() instead. + +2002-03-12 H.J. Lu + + * elf/Makefile [$(have-initfini-array) = yes] (tests): Add tst-array1, + tst-array2, and tst-array3. + [$(have-initfini-array) = yes] (tests-static): Add tst-array3. + [$(have-initfini-array) = yes] (modules-names): Add tst-array2dep. + ($(objpfx)tst-array1.out): New target. + ($(objpfx)tst-array2): Likewise. + ($(objpfx)tst-array2.out): Likewise. + ($(objpfx)tst-array3.out): Likewise. + * elf/tst-array1.c: New file. + * elf/tst-array1.exp: Likewise. + * elf/tst-array2.c: Likewise. + * elf/tst-array2dep.c: Likewise. + * elf/tst-array2.exp: Likewise. + * elf/tst-array3.c: Likewise. + +2002-10-28 David Mosberger + + * elf/dl-fini.c (_dl_fini): Invoke fini_array in _reverse_ order. + Don't add L->l_addr to array entry values. + +2002-11-07 Jakub Jelinek + + * string/test-string.h: New file. + * string/test-strlen.c: New file. + * string/test-string.h: New file. + * string/test-strcmp.c: New file. + * string/test-strchr.c: New file. + * string/test-strrchr.c: New file. + * string/test-strcpy.c: New file. + * string/test-stpcpy.c: New file. + * string/test-strncpy.c: New file. + * string/test-stpncpy.c: New file. + * string/test-strpbrk.c: New file. + * string/test-strcspn.c: New file. + * string/test-strspn.c: New file. + * string/test-strcat.c: New file. + * string/test-strncmp.c: New file. + * string/test-memchr.c: New file. + * string/test-memcmp.c: New file. + * string/test-memset.c: New file. + * string/test-memcpy.c: New file. + * string/test-mempcpy.c: New file. + * string/test-memmove.c: New file. + * string/Makefile (strop-tests): New variable. + (tests): Add strop-tests. + (distribute): Add test-string.h. + +2002-11-06 Ulrich Drepper + + * posix/regcomp.c: Use tabs instead of spaces. + * posix/regexec.c: Likewise. + * posix/regex_internal.h: Likewise. + + * posix/regcomp.c (re_compile_fastmap_iter): Use __wcrtomb not wctomb. + +2002-11-06 Jakub Jelinek + + * posix/regcomp.c (re_compile_pattern): Don't set regs_allocated + here. + (regcomp): Don't set can_be_null here. + (re_comp): Clear whole re_comp_buf with the exception of fastmap. + (re_compile_internal): Clear can_be_null, set regs_allocated. + + * posix/regcomp.c (re_set_fastmap): New function. + (re_compile_fastmap_iter): Use it. Remove redundant type == + COMPLEX_BRACKET check. + * posix/regexec.c (re_search_internal): Optimize searching with + fastmap. Call re_string_reconstruct even if match_first is + smaller than raw_mbs_idx. + +2002-11-06 Isamu Hasegawa + + * posix/regcomp (free_dfa_content): Use free_state. + * posix/regex_internal.c (re_string_realloc_buffers): Don't edit + pointers in case that realloc failed. + (re_node_set_merge): Likewise. + (register_state): Likewise. + (create_newstate_common): Invoke memory release functions in case of + error conditions. + (create_ci_newstate): Likewise. + (create_cd_newstate): Likewise. + (free_state): New function. + * posix/regexec.c (re_search_internal): Invoke memory release + functions in case of error conditions. + (sift_states_backward): Likewise. + (merge_state_array): Likewise. + (add_epsilon_src_nodes): Likewise. + (sub_epsilon_src_nodes): Likewise. + (search_subexp): Likewise. + (sift_states_bkref): Likewise. + (transit_state_sb): Likewise. + (transit_state_mb): Likewise. + (transit_state_bkref_loop): Likewise. + (group_nodes_into_DFAstates): Likewise. + (push_fail_stack): Don't edit pointers in case that realloc failed. + (extend_buffers): Likewise. + (match_ctx_add_entry): Likewise. + +2002-11-06 Roland McGrath + + * sysdeps/unix/sysv/linux/mips/configure.in: File removed. + * sysdeps/unix/sysv/linux/mips/configure: Likewise. + + * configure.in: Add checks on as and ld for binutils 2.13 or later. + * configure: Regenerated. + +2002-11-06 Ulrich Drepper + + * posix/regcomp.c (regcomp): __re_compile_fastmap can never fail. + If re_compile_internal failed free fastmap buffer. + (free_dfa_content): Broken out of regfree function. Frees all dfa + related data. + (regfree): Add free_dfa_content. + (re_compile_internal): If any of the called functions fails free + all dfa related memory. + +2002-11-05 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sys/sysctl.h: Add ugly hacks to prevent + warnings from the kernel headers. + +2002-11-05 Roland McGrath + + * sysdeps/unix/mips/sysdep.h [! __PIC__] (PSEUDO): Add nop after jump. + From Johannes Stezenbach . + + * sysdeps/unix/sysv/linux/mips/Versions (libc: GLIBC_2.0): Change + #errlist-compat magic comment to give 123 as size. + (libc: GLIBC_2.1): Remove this set, moving #errlist-compat magic to ... + (libc: GLIBC_2.2): ... here. + (libc: GLIBC_2.3): Likewise. + +2002-11-05 Ulrich Drepper + + * elf/dl-fini.c (_dl_fini): Correct the increment of l_opencount + which happens at the beginning so that we can unload modules in + __libc_freeres. + +2002-11-06 Kaz Kojima + + * sysdeps/sh/bits/setjmp.h (JB_SIZE): Define only + under [__USE_MISC || _ASM]. + + * elf/elf.h: Remove the obsolete SH TLS relocations. + +2002-11-05 Ulrich Drepper + + * posix/regcomp.c (regcomp): Initialize preg->can_be_null to zero. + +2002-11-05 Franz Sirl + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Handle + __NR_pread64 and __NR_pwrite64. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/pread.c: Remove __NR_pread64 + and __NR_pwrite64. + Revert change to use INLINE_SYSCALL. + * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Revert change to use + INLINE_SYSCALL. + * sysdeps/unix/sysv/linux/powerpc/truncate64.c: Likewise. + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL): + Update clobber list and add a comment about the syscall ABI. + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (s_pread64, + s_pwrite64, s_ftruncate, s_truncate): Re-add. + +2002-11-05 Jakub Jelinek + + * iconv/gconv_dl.c (free_mem): Clear loaded. + * locale/loadarchive.c (_nl_archive_subfreeres): Call locale_data's + cleanup if any. + +2002-11-05 Ulrich Drepper + + * sysdeps/unix/sysv/linux/fexecve.c: Include . + + * libio/ioseekoff.c: Remove INTDEF. Define _IO_seekoff_unlocked. Same + as old code without locking. _IO_seekoff calls this function after + locking the stream. + * libio/ioseekpos.c: Likewise for _IO_seekpos. + * libio/libioP.h: Replace _IO_seekoff_internal and _IO_seekpos_internal + prototypes with _IO_seekoff_unlocked and _IO_seekpos_unlocked + prototypes. + * libio/iolibio.h (_IO_fseek): Call _IO_seekoff_unlocked instead + of _IO_seekoff_internal. + (_IO_rewind): Likewise. + * libio/ioftell.c: Likewise. + * libio/ftello.c: Likewise. + * libio/ftello64.c: Likewise. + * libio/iofgetpos.c: Likewise. + * libio/iofgetpos64.c: Likewise. + * libio/oldiofgetpos.c: Likewise. + * libio/oldiofgetpos64.c: Likewise. + * libio/iofsetpos.c: Call _IO_seekpos_unlocked instead of + _IO_seekpos_internal. + * libio/iofsetpos64.c: Likewise. + * libio/oldiofsetpos.c: Likewise. + * libio/oldiofsetpos64.c: Likewise. + +2002-11-04 Roland McGrath + + * sysdeps/unix/sysv/linux/powerpc/chown.c: Use INLINE_SYSCALL macro. + * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/ioctl.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/pread.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/truncate64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (s_ioctl, + s_chown, s_ftruncate64, s_mmap2, s_pread64, s_pwrite64, s_truncate64, + sys_fstat, sys_lstat, sys_mknod, sys_readv, sys_stat, sys_writev): + Remove these, no longer used. + +2002-11-04 Franz Sirl + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (s_ipc, + s_llseek, s_readahead, s_execve, s_fcntl, s_fcntl64, s_fstat64, + s_getcwd, s_getdents, s_getdents64, s_getpmsg, s_getpriority, + s_getrlimit, s_lstat64, s_poll, s_ptrace, s_putpmsg, s_reboot, + s_setrlimit, s_sigaction, s_sigpending, s_sigprocmask, s_sigsuspend, + s_stat64, s_sysctl, s_ugetrlimit, s_ustat, s_vfork): Remove now unused + syscall stubs. + + * sysdeps/unix/sysv/linux/pwrite.c: Fix typo. + * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/pread.c: Handle both __NR_pread64 + and __NR_pread. + * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Handle both __NR_pwrite64 + and __NR_pwrite. + * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise. + +2002-11-03 Roland McGrath + + * sysdeps/generic/ldsodefs.h (struct rtld_global): New member + `_dl_tls_static_used'. + * sysdeps/generic/libc-tls.c (_dl_tls_static_used): New variable. + (__libc_setup_tls): Initialize it. Let the initial value of + _dl_tls_static_size indicate some surplus space in the computed value. + * elf/dl-open.c (_dl_tls_static_size): New variable. + * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Initialize + _dl_tls_static_used. Add some surplus space into _dl_tls_static_size. + * elf/dl-reloc.c [USE_TLS] (allocate_static_tls): New function. + (CHECK_STATIC_TLS): Use it. + * elf/dl-close.c (_dl_close): Adjust _dl_tls_static_used when the + closed objects occupied a trailing contiguous chunk of static TLS area. + +2002-10-18 Bruno Haible + + * charmaps/ISO_5428: Use Greek characters introduced in Unicode 3.0. + +2002-11-04 Ulrich Drepper + + * libio/wfileops.c (_IO_wfile_seekoff): Don't modify _offset and + _wide_data->_IO_read_end if adjustment can be made in the current + buffer. + + * sysdeps/unix/sysv/linux/fexecve.c: New file. + + * libio/bug-wfflush.c (do_test): Using fseek is not allowed when + wide oriented streams are used. + + * nss/getXXent_r.c (ENDFUNC_NAME): Don't do anything if the + service hasn't been used [PR libc/4744]. + + * include/features.h: Use __STDC_VERSION__ not __STDC_VERSION. + Reported by Miloslav Trmac [PR libc/4766]. + + * manual/examples/dir.c: Don't include . + * manual/examples/select.c: Include for TEMP_FAILURE_RETRY. + Reported by Frédéric Delanoy . + +2002-11-02 H.J. Lu + + * stdio-common/reg-printf.c: Include . + +2002-11-03 Ulrich Drepper + + * sysdeps/generic/libc-tls.c: Define _dl_tls_static_used. + + * po/ca.po: Update from translation team. + * po/es.po: Likewise. + + * sysdeps/generic/segfault.c (catch_segfault): If HAVE_PROC_SELF + is defined write out memory map. + * sysdeps/unix/sysv/linux/segfault.c: New file. + +2002-11-02 Roland McGrath + + * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use union type for + pointers that can alias. + Reported by Daniel Jacobowitz . + + * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: New file. + +2002-11-02 Roland McGrath + + * manual/filesys.texi (Reading/Closing Directory): Rewrite readdir_r + description to be clearer and to say that *RESULT is set to ENTRY. + +2002-10-30 Jakub Jelinek + + * posix/regexec.c (build_trtable): Alloca or malloc dests_node and + dests_ch arrays together. Alloca or malloc dest_states, + dest_states_word and dest_states_nl arrays together. Free memory on + error exit. + +2002-10-29 Daniel Jacobowitz + + * crypt/crypt_util.c (__init_des_r): Initialize current_salt + and current_saltbits. + +2002-11-02 Roland McGrath + + * stdio-common/reg-printf.c: Include . + +2002-11-02 H.J. Lu + + * sysdeps/unix/sysv/linux/mips/syscalls.list (s_execve): Set + caller to EXTRA instead of execve. + +2002-11-01 Roland McGrath + + * sysdeps/generic/errno-loc.c [! USE___THREAD]: Use this conditional + in place of [!(USE_TLS && HAVE___THREAD)]. + (__errno_location) [! USE___THREAD]: Define as strong, not weak. + +2002-10-31 Roger Sayle + + * sysdeps/i386/soft-fp/sfp-machine.h (_FP_NANFRAC_Q, _FP_NANSIGN_Q): + New macros. + * sysdeps/x86_64/soft-fp/sfp-machine.h: Likewise. + + * soft-fp/soft-fp.h: Allow sfp-machine.h to define FP_RND_NEAREST + without defining FP_ROUNDMODE. + +2002-10-29 Jakub Jelinek + + * sysdeps/gnu/siglist.c (PTR_SIZE_STR): Remove. + (__old_sys_siglist, __old_sys_sigabbrev): Use strong_alias and + declare_symbol. + * sysdeps/mach/hurd/siglist.h (OLD_SIGLIST_SIZE_STR): Remove. + (OLD_SIGLIST_SIZE): Define. + * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): Remove. + (OLD_SIGLIST_SIZE): Define. + * sysdeps/unix/sysv/linux/arm/siglist.c: Remove. + +2002-11-01 Jakub Jelinek + + * sysdeps/ia64/strncpy.S: Fix recovery code. + +2002-10-30 Jakub Jelinek + + * include/libc-symbols.h (__libc_freeres_fn_section, libc_freeres_fn): + New macros. + * elf/dl-close.c (free_mem): Use libc_freeres_fn macro, remove + text_set_element. + * elf/dl-libc.c (free_mem): Likewise. + * iconv/gconv_conf.c (free_mem): Likewise. + * iconv/gconv_db.c (free_mem): Likewise. + * iconv/gconv_dl.c (free_mem): Likewise. + * iconv/gconv_cache.c (free_mem): Likewise. + * intl/finddomain.c (free_mem): Likewise. + * intl/dcigettext.c (free_mem): Likewise. + * locale/setlocale.c (free_mem): Likewise. + * misc/fstab.c (fstab_free): Likewise. + * nss/nsswitch.c (free_mem): Likewise. + * posix/regcomp.c (free_mem): Likewise. + * resolv/gai_misc.c (free_res): Likewise. + * stdlib/fmtmsg.c (free_mem): Likewise. + * sunrpc/clnt_perr.c (free_mem): Likewise. + * sysdeps/generic/setenv.c (free_mem): Likewise. + * sysdeps/unix/sysv/linux/shm_open.c (freeit): Likewise. + * sysdeps/pthread/aio_misc.c (free_res): Likewise. + * time/tzset.c (free_mem): Likewise. + * malloc/mtrace.c (release_libc_mem): Add __libc_freeres_fn_section. + * locale/loadarchive.c (_nl_archive_subfreeres): Likewise. + * malloc/set-freeres.c (__libc_freeres): Likewise. + + * login/getutent.c: Include stdlib.h instead of stddef.h. + (buffer): Change into pointer to utmp, add libc_freeres_ptr. + (__getutent): Allocate buffer the first time it is run. + * login/getutid.c: Include stdlib.h instead of stddef.h. + (buffer): Change into pointer to utmp, add libc_freeres_ptr. + (__getutid): Allocate buffer the first time it is run. + * login/getutline.c: Include stdlib.h instead of stddef.h. + (buffer): Change into pointer to utmp, add libc_freeres_ptr. + (__getutline): Allocate buffer the first time it is run. + * malloc/mtrace.c (malloc_trace_buffer): Change into char *. + (mtrace): Allocate malloc_trace_buffer. + * resolv/nsap_addr.c (inet_nsap_ntoa): Decrease size of tmpbuf. + * resolv/ns_print.c (ns_sprintrrf): Decrease size of t. + * string/strerror.c: Include libintl.h and errno.h. + (buf): New variable. + (strerror): Only allocate buffer if actually needed (unknown error). + * time/tzfile.c (transitions): Add libc_freeres_ptr. + (freeres): Remove. + +2002-10-25 Jakub Jelinek + + * include/libc-symbols.h (libc_freeres_ptr): New macro. + * malloc/set-freeres.c (__libc_freeres_ptrs): Define using + symbol_set_define. + (__libc_freeres): Free all pointers in that section. + * Makerules (build-shlib): Add $(LDSEDCMD-$(@F:lib%.so=%).so) to sed + commands when creating .lds script. + (LDSEDCMD-c.so): New variable. + * inet/rcmd.c (ahostbuf): Change into char *. Add libc_freeres_ptr. + (rcmd_af): Use strdup to allocate ahostbuf. + * inet/rexec.c (ahostbuf): Change into char *. Add libc_freeres_ptr. + (rexec_af): Use strdup to allocate ahostbuf. + * stdio-common/reg-printf.c (printf_funcs): Remove. + (__printf_arginfo_table): Change into printf_arginfo_function **. + Add libc_freeres_ptr. + (__register_printf_function): Allocate __printf_arginfo_table + and __printf_function_table the first time it is called. + * stdio-common/printf-parse.h (__printf_arginfo_table): Change into + printf_arginfo_function **. + (parse_one_spec): Add __builtin_expect. + * grp/fgetgrent.c (buffer): Add libc_freeres_ptr. + (free_mem): Remove. + * inet/getnetgrent.c (buffer): Add libc_freeres_ptr. + (free_mem): Remove. + * intl/localealias.c (libc_freeres_ptr): Define if !_LIBC. + (string_space, map): Add libc_freeres_ptr. + (free_mem): Remove. + * misc/efgcvt.c (FCVT_BUFPTR): Add libc_freeres_ptr. + (free_mem): Remove. + * misc/mntent.c (getmntent_buffer): Add libc_freeres_ptr. + (free_mem): Remove. + * crypt/md5-crypt.c (libc_freeres_ptr): Define if !_LIBC. + (buffer): Add libc_freeres_ptr. + (free_mem): Remove for _LIBC. + * nss/getXXbyYY.c (buffer): Add libc_freeres_ptr. + (free_mem): Remove. + * nss/getXXent.c (buffer): Add libc_freeres_ptr. + (free_mem): Remove. + * pwd/fgetpwent.c (buffer): Add libc_freeres_ptr. + (free_mem): Remove. + * resolv/res_hconf.c (ifaddrs): Add libc_freeres_ptr. + (free_mem): Remove. + * shadow/fgetspent.c (buffer): Add libc_freeres_ptr. + (free_mem): Remove. + * sysdeps/posix/ttyname.c (getttyname_name): Add libc_freeres_ptr. + (free_mem): Remove. + * sysdeps/unix/sysv/linux/getsysstats.c (mount_proc): Add + libc_freeres_ptr. + (free_mem): Remove. + * sysdeps/unix/sysv/linux/ttyname.c (getttyname_name, ttyname_buf): Add + libc_freeres_ptr. + (free_mem): Remove. + +2002-10-30 Jakub Jelinek + + * malloc/obstack.c [_LIBC] (obstack_free): Change into strong_alias + instead of duplicating the whole function in libc. + +2002-10-31 Roland McGrath + + * sysdeps/i386/bits/byteswap.h [__GNUC__ < 2] (__bswap_32): + Renamed from __bswap_16 (typo fix). Reported by . + +2002-10-30 Jakub Jelinek + + * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Add -D for each + 32bit-predefine when creating .new32 list and -U for each + 32bit-predefine when creating .new64 list. + * sysdeps/unix/sysv/linux/x86_64/Makefile (32bit-predefine): New. + +2002-10-29 Andreas Schwab + + * sysdeps/generic/allocrtsig.c: Include , not + "testrtsig.h". Reported by Daniel Jacobowitz . + +2002-10-25 Roland McGrath + + * sysdeps/unix/sysv/linux/configure.in: Fix typo in last change. + * sysdeps/unix/sysv/linux/configure: Regenerated. + + * sysdeps/generic/ldsodefs.h: Remove [! SHARED] conditional from + _dl_starting_up decl. + +2002-10-20 H.J. Lu + + * sysdeps/unix/sysv/linux/configure.in: Don't check + /lib/modules/`uname -r`/build/include for kernel headers if + cross compiling. + * sysdeps/unix/sysv/linux/configure: Regenerated. + +2002-10-25 Roland McGrath + + * math/math.h (M_LOG2El): Correct the value. + From Stephen L Moshier . + + * sysdeps/unix/sysv/linux/init-first.c (init): Remove [! SHARED] + conditional from __libc_multiple_libcs access. Remove kludge for weak + symbol access with old compilers we no longer support. + * sysdeps/unix/sysv/aix/init-first.c (init): Likewise. + * sysdeps/generic/libc-start.c (__libc_start_main): Likewise. + +2002-10-25 Roland McGrath + + * sysdeps/posix/sigvec.c [SA_RESETHAND]: Disable wrapper hacks and + implement SV_RESETHAND by translating it to SA_RESETHAND. + +2002-10-23 Alexandre Oliva + + * elf/dl-reloc.c (_dl_reloc_bad_use): Print the full 32-bit relocation + type on ELF64 platforms. + +2002-10-24 Ulrich Drepper + + * elf/elf.h (R_X86_64_GOTTPOFF): Renamed from r_x86_64_GOTTPOFF. + + * elf/elf.h: Define ELF_NOTE_OS_FREEBSD and NT_TASKSTRUCT. + +2002-10-24 Jakub Jelinek + + * elf/dl-misc.c: Include . + (_dl_debug_vdprintf): Only take dl_load_lock if not _dl_starting_up. + + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INTERNAL_SYSCALL, + INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): New macros. + (INLINE_SYSCALL): Use that. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INTERNAL_SYSCALL, + INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): New macros. + (INLINE_SYSCALL): Use that. + * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INTERNAL_SYSCALL, + INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): New macros. + (INLINE_SYSCALL): Use that. + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Include + dl-sysdep.h. + (SYSCALL_ERROR_HANDLER): Define RTLD_PRIVATE_ERRNO variant. + (__INTERNAL_SYSCALL_STRING): Define. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include + dl-sysdep.h. + (SYSCALL_ERROR_HANDLER): Define RTLD_PRIVATE_ERRNO variant. + (__INTERNAL_SYSCALL_STRING): Define. + * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL): Pass + __SYSCALL_STRING to inline_syscall*. + (INTERNAL_SYSCALL, INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): + New macros. + (inline_syscall0, inline_syscall1, inline_syscall2, inline_syscall3, + inline_syscall4, inline_syscall5, inline_syscall6): Add string + argument. + +2002-10-24 Roland McGrath + + * sysdeps/generic/ldsodefs.h (_dl_starting_up): Declare it here. + * sysdeps/unix/sysv/linux/init-first.c: Not here. + * sysdeps/powerpc/elf/libc-start.c: Or here. + * sysdeps/unix/sysv/aix/libc-start.c: Or here. + * sysdeps/unix/sysv/aix/start-libc.c: Or here. + * sysdeps/unix/sysv/aix/init-first.c: Or here. + * sysdeps/generic/libc-start.c: Or here. + * sysdeps/unix/sysv/linux/init-first.c (init): Protect _dl_starting_up + access with [! SHARED]. + * sysdeps/unix/sysv/aix/init-first.c (init): Likewise. + + * libio/bug-wfflush.c: New file. + * libio/Makefile (tests): Add bug-wfflush. + +2002-10-23 Roland McGrath + + * stdio-common/tst-fphex.c: New file. + * stdio-common/Makefile (tests): Add tst-fphex. + * sysdeps/generic/printf_fphex.c (__printf_fphex): Fix initialization + of WNUMEND. Fix counting of decimal point in WIDTH. Print '0' pad + chars always before the value digits. + Reported by James Antill . + +2002-10-24 Jakub Jelinek + + * posix/regcomp.c (re_comp): Call __regfree on re_comp_buf. + (free_mem): New function. + * posix/Makefile (tests): Add bug-regex14. Add bug-regex14-mem + if not cross compiling. + (generated): Add bug-regex14-mem and bug-regex14.mtrace. + (bug-regex14-ENV): Set. + (bug-regex14-mem): New target. + * posix/bug-regex14.c: New file. + +2002-10-23 Roland McGrath + + * elf/Makefile ($(objpfx)librtld.map): Use temporary file for output + target, so we don't touch it when the link fails. + + * libio/ftello.c (ftello): Use _IO_off64_t for type of POS. + Check for the result overflowing off_t and fail with EOVERFLOW. + * libio/ioftell.c (_IO_ftell): Likewise. + * libio/iofgetpos.c (_IO_new_fgetpos): Likewise. + + * login/logwtmp.c (logwtmp): If sizeof ut_tv != sizeof struct timeval, + use a temporary timeval on the stack for gettimeofday and copy it. + * login/logout.c (logout): Likewise. + Reported by Steven Munroe . + + * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): + Use __SWORD_TYPE instead of int for member types. + (struct statfs64): Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/statfs.h: New file. + * sysdeps/unix/sysv/linux/s390/bits/statfs.h: New file. + * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: File removed. + * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: File removed. + * sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: File removed. + + * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: Moved to ... + * sysdeps/unix/sysv/linux/bits/statvfs.h: ... here. + (ST_NODIRATIME): Restore fixed value of 2048. + * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: File removed. + * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: File removed. + + Rearranged definitions to reduce duplication. + * sysdeps/generic/bits/types.h: Rewritten, using macros from + and new header . + * posix/Makefile (headers): Add bits/typesizes.h here. + * sysdeps/generic/bits/typesizes.h: New file. + * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h: New file. + * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: New file. + * sysdeps/mach/hurd/bits/typesizes.h: New file. + * sysdeps/unix/sysv/linux/alpha/bits/types.h: File removed. + * sysdeps/unix/sysv/linux/bits/types.h: File removed. + * sysdeps/unix/sysv/linux/ia64/bits/types.h: File removed. + * sysdeps/unix/sysv/linux/mips/bits/types.h: File removed. + * sysdeps/unix/sysv/linux/s390/bits/types.h: File removed. + * sysdeps/unix/sysv/linux/sparc/bits/types.h: File removed. + * sysdeps/unix/sysv/linux/x86_64/bits/types.h: File removed. + * posix/sys/types.h [__USE_POSIX199506 || __USE_UNIX98]: Include + here, not in . + * signal/signal.h: Likewise. + + * streams/stropts.h: Include . + * streams/Makefile (headers): Add bits/xtitypes.h here. + * sysdeps/generic/bits/xtitypes.h: New file. + * sysdeps/s390/bits/xtitypes.h: New file. + * sysdeps/ia64/bits/xtitypes.h: New file. + * sysdeps/x86_64/bits/xtitypes.h: New file. + + * sysvipc/Makefile (headers): Add bits/ipctypes.h here. + * sysdeps/generic/bits/ipctypes.h: New file. + * sysdeps/mips/bits/ipctypes.h: New file. + * sysdeps/gnu/bits/shm.h: Include . + * sysdeps/gnu/bits/msq.h: Likewise. + * sysvipc/sys/ipc.h: Likewise. + +2002-10-22 Ulrich Drepper + + * elf/dl-load.c (struct filebuf): For buf element to have the + alignment of ElfXX_Ehdr since this is what will be stored in it. + +2002-10-22 Jakub Jelinek + + * locale/programs/locarchive.c (add_alias): Change locrec_offset arg + into pointer to locrec_offset. + (add_locale_to_archive): Adjust callers. Free normalized_name right + before returning, not immediately after add_locale, pass it to + add_alias if not NULL instead of name. Rename second normalized_name + occurence to nnormalized_codeset_name. + + * locale/programs/locarchive.c (enlarge_archive): Make sure + string_size is always a multiple of 4. + Reported by Andreas Schwab . + +2002-10-21 Andreas Schwab + + * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_execve): Set + caller to EXTRA instead of execve, since the latter has a + higher-priority implementation in linuxthreads. + +2002-10-21 Roland McGrath + + * sysdeps/generic/libc-tls.c (__libc_setup_tls): Initialize the static + slotinfo list's len member to the proper size, not just 1. + Initialize static_map.l_tls_initimage. + + * elf/dl-open.c (dl_open_worker): Fix loop searching for + dtv_slotinfo_list element containing new modules' l_tls_modid. + + * elf/tst-tls9.c, elf/tst-tls9-static.c: New files. + * elf/tst-tlsmod5.c, elf/tst-tlsmod6.c: New files. + * elf/Makefile (tests): Add tst-tls9. + (tests-static): Add tst-tls9-static. + (tst-tls9-static-ENV): New variable. + ($(objpfx)tst-tls9-static, $(objpfx)tst-tls9-static.out): New targets. + + * elf/dl-close.c (remove_slotinfo): Remove an assert; the number of + modids used by partially loaded modules being closed can't be known. + +2002-10-21 Isamu Hasegawa + + * posix/Makefile: Add a test case for the bug reported by Aharon + Robbins . + * posix/bug-regex13.c: New file. + * posix/regcomp.c (peek_token_bracket): Skip the byte already read. + +2002-10-21 Ulrich Drepper + + * csu/gmon-start.c: Pretty printing. + +2002-10-19 Art Haas + + * configure.in: Replace AC_CONFIG_HEADER with AC_CONFIG_HEADERS, + add AC_HELP_STRING to all AC_ARG_WITH and AC_ARG_ENABLE macros, + add autoconf quotes to the AC_CONFIG_AUX_DIR macro. + * configure: Regenerated. + +2002-10-19 Roland McGrath + + * configure.in: Call AC_CONFIG_SUBDIRS with empty argument + and then set $subdirs directly, because the new Autoconf breaks + compatibility in every way imaginable and insists on whining + about usage that worked since the dawn of time. + * configure: Regenerated. + + * configure: Regenerated (using Autoconf 2.54). + * sysdeps/alpha/elf/configure: Likewise. + * sysdeps/generic/configure: Likewise. + * sysdeps/i386/elf/configure: Likewise. + * sysdeps/ia64/elf/configure: Likewise. + * sysdeps/mach/hurd/configure: Likewise. + * sysdeps/mach/configure: Likewise. + * sysdeps/unix/configure: Likewise. + * sysdeps/unix/common/configure: Likewise. + * sysdeps/unix/sysv/aix/configure: Likewise. + * sysdeps/unix/sysv/linux/configure: Likewise. + * sysdeps/unix/sysv/linux/mips/configure: Likewise. + * sysdeps/x86_64/elf/configure: Likewise. + + * config.make.in: Nix completely-soft nonsense. + * configure.in: Likewise. Under --without-fp, use nofpu subdirectory + of machine directories instead of fpu subdirectory. + * sysdeps/powerpc/soft-fp/Makefile: Remove cruft added in last change. + * sysdeps/powerpc/nofpu/Makefile: Put it in this new file instead. + * sysdeps/powerpc/soft-fp/sim-full.c: Moved to ... + * sysdeps/powerpc/nofpu/sim-full.c: ... here. + * sysdeps/powerpc/soft-fp/fraiseexcpt.c: Moved to ... + * sysdeps/powerpc/nofpu/fraiseexcpt.c: ... here. + * sysdeps/powerpc/soft-fp/fegetexcept.c: Moved to ... + * sysdeps/powerpc/nofpu/fegetexcept.c: ... here. + * sysdeps/powerpc/soft-fp/fclrexcpt.c: Moved to ... + * sysdeps/powerpc/nofpu/fclrexcpt.c: ... here. + * sysdeps/powerpc/soft-fp/ftestexcept.c: Moved to ... + * sysdeps/powerpc/nofpu/ftestexcept.c: ... here. + * sysdeps/powerpc/soft-fp/fgetexcptflg.c: Moved to ... + * sysdeps/powerpc/nofpu/fgetexcptflg.c: ... here. + * sysdeps/powerpc/soft-fp/fsetexcptflg.c: Moved to ... + * sysdeps/powerpc/nofpu/fsetexcptflg.c: ... here. + * sysdeps/powerpc/soft-fp/fedisblxcpt.c: Moved to ... + * sysdeps/powerpc/nofpu/fedisblxcpt.c: ... here. + * sysdeps/powerpc/soft-fp/feenablxcpt.c: Moved to ... + * sysdeps/powerpc/nofpu/feenablxcpt.c: ... here. + * sysdeps/powerpc/soft-fp/fegetenv.c: Moved to ... + * sysdeps/powerpc/nofpu/fegetenv.c: ... here. + * sysdeps/powerpc/soft-fp/fesetenv.c: Moved to ... + * sysdeps/powerpc/nofpu/fesetenv.c: ... here. + * sysdeps/powerpc/soft-fp/fegetround.c: Moved to ... + * sysdeps/powerpc/nofpu/fegetround.c: ... here. + * sysdeps/powerpc/soft-fp/fesetround.c: Moved to ... + * sysdeps/powerpc/nofpu/fesetround.c: ... here. + * sysdeps/powerpc/soft-fp/feupdateenv.c: Moved to ... + * sysdeps/powerpc/nofpu/feupdateenv.c: ... here. + * sysdeps/powerpc/soft-fp/feholdexcpt.c: Moved to ... + * sysdeps/powerpc/nofpu/feholdexcpt.c: ... here. + * sysdeps/powerpc/soft-fp/fenv_const.c: Moved to ... + * sysdeps/powerpc/nofpu/fenv_const.c: ... here. + * sysdeps/powerpc/soft-fp/libm-test-ulps: Moved to ... + * sysdeps/powerpc/nofpu/libm-test-ulps: ... here. + * sysdeps/powerpc/soft-fp/soft-supp.h: Moved to ... + * sysdeps/powerpc/nofpu/soft-supp.h: ... here. + * sysdeps/powerpc/soft-fp/Versions (libc: GLIBC_2.3.2): Moved to ... + * sysdeps/powerpc/nofpu/Versions: ... here, new file. + +2002-10-19 Bruno Haible + + * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: New file. + +2002-10-18 Roland McGrath + + * io/Makefile (routines): Add lchmod. + * io/sys/stat.h [__USE_BSD] (lchmod): Declare it. + * sysdeps/generic/lchmod.c: New file. + * sysdeps/mach/hurd/lchmod.c: New file. + * io/Versions (libc: GLIBC_2.3.2): New set, add lchmod. + +2002-10-18 Art Haas + + * configure.in: Remove remaining AC_FD_CC macros, and replace + AC_FD_MSG with AS_MESSAGE_FD. + +2002-10-18 Roland McGrath + + * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela): Fix + typos: VALUE -> FINALADDR. + + * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL, INLINE_SYSCALL1) + (inline_syscall_clobbers, inline_syscall0, inline_syscall1) + (inline_syscall2, inline_syscall3, inline_syscall4, inline_syscall5) + (inline_syscall6): Move these macros ... + * sysdeps/unix/sysv/linux/alpha/sysdep.h: ... to here. + + * configure.in (libc_link_dests, libc_link_sources): Remove these + variables and the AC_LINK_FILES call. + + * sysdeps/powerpc/soft-fp/Versions (libc: GLIBC_2.3.2): Fix last + change to put new symbols here instead of in GLIBC_2.2. + * sysdeps/powerpc/Subdirs: Move this file ... + * sysdeps/powerpc/soft-fp/Subdirs: ... here. + +2002-10-07 Roland McGrath + + * sysdeps/generic/bits/time.h: Replaced with contents of the + sysdeps/unix/sysv/linux/i386/bits/time.h file. All the following + files were identical except for the absence of CLOCK_THREAD_CPUTIME_ID + and CLOCK_PROCESS_CPUTIME_ID in .../linux/bits/time.h; adding these + macros is ok even for architectures that don't now implement them. + * sysdeps/mach/hurd/bits/time.h: File removed. + * sysdeps/unix/sysv/linux/bits/time.h: File removed. + * sysdeps/unix/sysv/linux/i386/bits/time.h: File removed. + * sysdeps/unix/sysv/linux/ia64/bits/time.h: File removed. + * sysdeps/unix/sysv/linux/sparc/bits/time.h: File removed. + * sysdeps/unix/sysv/linux/x86_64/bits/time.h: File removed. + +2002-10-18 Jeff Bailey + + * configure.in: Replace obsolete AC_OUTPUT syntax with + AC_CONFIG_FILES, AC_CONFIG_COMMANDS, and new-type AC_OUTPUT trio. + + * aclocal.m4 (GLIBC_PROVIDES): Add AC_PROVIDEs for + _AS_PATH_SEPARATOR_PREPARE and _AS_TEST_PREPARE. + + * configure.in: Replace AC_FD_CC with AS_MESSAGE_LOG_FD. + * sysdeps/alpha/elf/configure.in: Likewise. + * sysdeps/i386/elf/configure.in: Likewise. + * sysdeps/mach/hurd/configure.in: Likewise. + * sysdeps/x86_64/elf/configure.in: Likewise. + + * configure.in: Use AC_CONFIG_SRCDIR and new AC_INIT syntax. + + * sysdeps/alpha/elf/configure.in: Remove unneeded sinclude statement. + * sysdeps/generic/configure.in: Likewise. + * sysdeps/i386/elf/configure.in: Likewise. + * sysdeps/ia64/elf/configure.in: Likewise. + * sysdeps/mach/configure.in: Likewise. + * sysdeps/mach/hurd/configure.in: Likewise. + * sysdeps/unix/configure.in: Likewise. + * sysdeps/unix/common/configure.in: Likewise. + * sysdeps/unix/sysv/aix/configure.in: Likewise. + * sysdeps/unix/sysv/linux/configure.in: Likewise. + * sysdeps/unix/sysv/linux/mips/configure.in: Likewise. + * sysdeps/x86_64/elf/configure.in: Likewise. + + * aclocal.m4: Use just the bits from AS_INIT that are needed for the + GLIBC_PROVIDES. Use plain comment instead of HEADER-COMMENT so + that it's obvious when extra autoconf machinery is being dragged in. + +2002-10-18 Roland McGrath + + * configure.in: Remove bogus echo included in + 2002-10-08 Aldy Hernandez change. + * configure: Regenerated. + +2002-10-18 Jakub Jelinek + + * sysdeps/unix/sysv/linux/pathconf.h (statfs_link_max): Add inline. + (statfs_filesize_max): New function. + * sysdeps/unix/sysv/linux/linux_fsinfo.h (JFFS_SUPER_MAGIC, + JFFS2_SUPER_MAGIC, JFS_SUPER_MAGIC, NTFS_SUPER_MAGIC, + ROMFS_SUPER_MAGIC, UDF_SUPER_MAGIC): Define. + * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use + statfs_filesize_max. + * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise. + * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Removed. + * sysdeps/unix/sysv/linux/alpha/pathconf.c: Removed. + +2002-10-17 Roland McGrath + + * configure.in (MIG): Just AC_SUBST it here. + * configure: Regenerated. + * sysdeps/mach/configure.in (MIG): Do the AC_CHECK_TOOL here. + Adding final - argument to all AC_CHECK_HEADER uses for .defs files. + * sysdeps/mach/configure: Regenerated. + + * aclocal.m4 (GLIBC_PROVIDES): Add AC_PROVIDE([_AS_TR_SH_PREPARE]) + and AC_PROVIDE([_AS_CR_PREPARE]). + + * aclocal.m4 (GLIBC_PROVIDES): Add AC_PROVIDE([_AS_ECHO_N_PREPARE]). + Remove AC_LANG(C) call, instead just define([_AC_LANG], [C]). + + * elf/dl-support.c: Move _dl_tls_* variables to ... + * sysdeps/generic/libc-tls.c: ... here. + + * elf/dl-close.c (remove_slotinfo): Take new argument. If false, + allow IDX to be one past the current last slotinfo entry. + (_dl_close): Pass IMAP->l_init_called for that parameter. + +2002-10-07 Andreas Schwab + + * aclocal.m4: Fix for autoconf 2.53. + * configure.in: Likewise. Require autoconf 2.53. + +2002-10-08 Richard Henderson + + * soft-fp/op-4.h: Handle carry correctly in + __FP_FRAC_ADD_3, __FP_FRAC_ADD_4, __FP_FRAC_SUB_3, + __FP_FRAC_SUB_4, __FP_FRAC_DEC_3, __FP_FRAC_DEC_4. + * soft-fp/op-common.h: New macros _FP_DIV_MEAT_N_loop. + +2002-10-08 Aldy Hernandez + + * configure.in: Compute completely-soft. + * config.make.in: Make completely-soft available to sub-makes. + * sysdeps/powerpc/soft-fp/Makefile: Add gcc-single-routines and + gcc-double-routines. Add sim-full.c. Add fenv_const and + fe_nomask to libm-support. + * sysdeps/powerpc/soft-fp/sim-full.c: New file. + * sysdeps/powerpc/soft-fp/fraiseexcpt.c: New file. + * sysdeps/powerpc/soft-fp/fegetexcept.c: New file. + * sysdeps/powerpc/soft-fp/fclrexcpt.c: New file. + * sysdeps/powerpc/soft-fp/ftestexcept.c: New file. + * sysdeps/powerpc/soft-fp/fgetexcptflg.c: New file. + * sysdeps/powerpc/soft-fp/fsetexcptflg.c: New file. + * sysdeps/powerpc/soft-fp/fedisblxcpt.c: New file. + * sysdeps/powerpc/soft-fp/feenablxcpt.c: New file. + * sysdeps/powerpc/soft-fp/fegetenv.c: New file. + * sysdeps/powerpc/soft-fp/fesetenv.c: New file. + * sysdeps/powerpc/soft-fp/fegetround.c: New file. + * sysdeps/powerpc/soft-fp/fesetround.c: New file. + * sysdeps/powerpc/soft-fp/feupdateenv.c: New file. + * sysdeps/powerpc/soft-fp/feholdexcpt.c: New file. + * sysdeps/powerpc/soft-fp/fenv_const.c: New file. + * sysdeps/powerpc/soft-fp/libm-test-ulps: New file. + * sysdeps/powerpc/soft-fp/soft-supp.h: New file. + * sysdeps/powerpc/soft-fp/Versions: Add libgcc soft-float + symbols. Add __sim_disabled_exceptions, __sim_exceptions, + __sim_round_mode. + * sysdeps/powerpc/soft-float/Dist: Add sim-full.c, fenv_const.c. + * sysdeps/powerpc/soft-float/sfp-machine.h: Define + FP_HANDLE_EXCEPTIONS. + Define FP_ROUNDMODE. + Redefine FP_* macros to correspond to the FE_* bit positions. + Define FP_DIV_MEAT_S to _FP_DIV_MEAT_1_loop. + Define externs for __sim_exceptions, __sim_disabled_exceptions, + __sim_round_mode, __simulate_exceptions. + * sysdeps/powerpc/fpu/bits/fenv.h: Move file from here... + * sysdeps/powerpc/bits/fenv.h: ...to here. + +2002-10-06 Jakub Jelinek + + * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela): + Store R_PPC_UADDR32 and R_PPC_UADDR16 one byte at a time. + Use __builtin_expect for R_PPC_ADDR24 overflow check. Fix + R_PPC_ADDR16, R_PPC_UADDR16 and R_PPC_ADDR14* overflow check, use + __builtin_expect. + +2002-10-15 Jakub Jelinek + + * include/resolv.h (__libc_res_nquery, __libc_res_nsearch, + __libc_res_nsend): New prototypes. + * resolv/res_query.c (QUERYSIZE): Define. + (__libc_res_nquery): Renamed from res_nquery. Added answerp + argument. Allocate only QUERYSIZE bytes first, if res_nmkquery + fails use MAXPACKET buffer. Call __libc_res_nsend instead of + res_nsend, pass answerp. + (res_nquery): Changed into wrapper around __libc_res_nquery. + (__libc_res_nsearch): Renamed from res_nsearch. Added answerp + argument. Call __libc_res_nquerydomain and __libc_res_nquery + instead of the non-__libc_ variants, pass them answerp. + (res_nsearch): Changed into wrapper around __libc_res_nsearch. + (__libc_res_nquerydomain): Renamed from res_nquerydomain. + Added answerp argument. Call __libc_res_nquery instead of + res_nquery, pass answerp. + (res_nquerydomain): Changed into wrapper around + __libc_res_nquerydomain. + * resolv/res_send.c: Include sys/ioctl.h. + (MAXPACKET): Define. + (send_vc): Change arguments. Reallocate answer buffer if it is + too small. + (send_dg): Likewise. + (__libc_res_nsend): Renamed from res_nsend. Added ansp argument. + Reallocate answer buffer if it is too small and hooks are in use. + Adjust calls to send_vc and send_dg. + (res_nsend): Changed into wrapper around __libc_res_nsend. + * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Allocate + just 1K answer buffer on the stack, use __libc_res_nsearch instead + of res_nsearch. + (_nss_dns_gethostbyaddr_r): Similarly with __libc_res_nquery. + * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r): Likewise. + (_nss_dns_getnetbyname_r): Similarly with __libc_res_nsearch. + * resolv/gethnamaddr.c (gethostbyname2): Likewise. + (gethostbyaddr): Similarly with __libc_res_nquery. + * resolv/Versions (libresolv): Export __libc_res_nquery and + __libc_res_nsearch at GLIBC_PRIVATE. + +2002-10-17 Roland McGrath + + * configure.in: Grok --without-__thread and disable HAVE___THREAD. + * configure: Regenerated. + + * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Do CHECK_STATIC_TLS + before performing the reloc, not after. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. + +2002-10-17 Ulrich Drepper + + * locale/programs/locale.c (write_locales): Use 'm' flag in fopen call. + * locale/programs/linereader.c (lr_open): Likewise. + * locale/programs/charmap-dir.c (charmap_open): Likewise. + * locale/programs/locarchive.c (add_locale_to_archive): Likewise. + +2002-10-17 Isamu Hasegawa + + * posix/bug-regex11.c: Add a test case for the bug reported by + Paolo Bonzini . + * posix/regexec.c (sift_states_bkref): Use correct destination of + the back reference. + +2002-10-17 Roland McGrath + + * elf/dl-load.c (_dl_map_object_from_fd): Don't check DF_STATIC_TLS. + * elf/dl-reloc.c (_dl_relocate_object: CHECK_STATIC_TLS): New macro + to signal error if an IE-model TLS reloc resolved to a dlopen'd module. + * sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela): + Call it after performing TPOFF relocs. + * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise. + * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise. + * elf/dl-conflict.c (CHECK_STATIC_TLS): New macro (no-op). + + * elf/dl-close.c (remove_slotinfo): Change asserts so as not to crash + when closing a partially-initialized object. + + * elf/dl-load.c (_dl_map_object_from_fd) [! USE_TLS]: Call lose + instead of _dl_fatal_printf when we see PT_TLS. + + * Makeconfig (CPPFLAGS): Fix last change to use $(libof-$( + + * cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Variable removed. + instead of += to append, to be sure $(lib) gets expanded at defn time. + (libof-$(cpp-src)): New variable, define this instead. + * extra-lib.mk (cpp-srcs-left): Reduce duplication in include setup. + (lib): Don't use override. + (CPPFLAGS-$(lib)): New variable, put -D's here. + * Makeconfig (CPPFLAGS): Use basename fn for CPPFLAGS-basename. + Also add $(CPPFLAGS-LIB) before the file-specific flags, for each + LIB found by $(libof-*) for basename, target, or source. + * Makerules (CPPFLAGS-nonlib): New variable. + * nscd/Makefile (lib): Set to nonlib when using cppflags-iterator.mk. + * locale/Makefile (lib): Likewise. + * sunrpc/Makefile (lib): Likewise. + + * sysdeps/unix/sysv/linux/fpathconf.c (LINUX_LINK_MAX): Move macro ... + * sysdeps/unix/sysv/linux/linux_fsinfo.h (LINUX_LINK_MAX): ... here. + * sysdeps/unix/sysv/linux/pathconf.h: New file. + (statfs_link_max): New function, guts from fpathconf.c. + * sysdeps/unix/sysv/linux/fpathconf.c: Rewritten using that. + * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise. + * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Rewritten + to use the linux/pathconf.c code by #include rather than duplication. + * sysdeps/unix/sysv/linux/alpha/fpathconf.c (__pathconf): Likewise. + +2002-10-16 Jakub Jelinek + + * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): + Use __libc_errno only for libc itself. + +2002-10-16 Andreas Jaeger + + * sysdeps/x86_64/_mcount.S: Fix off-by-1 error in argument access. + +2002-10-16 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER): + Use __libc_errno only for libc itself. + +2002-10-15 Roland McGrath + Jakub Jelinek + + * sysdeps/unix/sysv/linux/Makefile + ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Take code from + sparc/Makefile to produce a bi-arch file as needed. + That's now parameterized by the variable $(64bit-predefine). + Use LC_ALL=C for `comm' commands in that rule. + No longer conditional on [$(no_syscall_list_h)]. + * sysdeps/unix/sysv/linux/sparc/Makefile: Remove replacement rules. + (64bit-predefine): New variable. + * sysdeps/unix/sysv/linux/x86_64/Makefile: Likewise. + * sysdeps/unix/sysv/linux/s390/Makefile: New file. + * sysdeps/unix/sysv/linux/powerpc/Makefile + (64bit-predefine): New variable. + +2002-10-15 Roland McGrath + + * sysdeps/unix/sysv/linux/Makefile + ($(objpfx)syscall-%.h $(objpfx)syscall-%.d) + + * login/utmp-private.h: Declare __libc_utmp_lock. + * sysdeps/unix/getlogin_r.c (getlogin_r): Take __libc_utmp_lock once + and call __libc_utmp_jump_table functions directly, instead of using + __setutent et al. + + * sysdeps/unix/sysv/linux/configure.in: Use case instead of if. + * sysdeps/unix/sysv/linux/configure: Regenerated. + + * sysdeps/gnu/bits/utmp.h: Include . + (struct lastlog) [__WORDSIZE == 64 && __WORDSIZE_COMPAT32]: + Use int32_t for ll_time. + (struct utmp) [__WORDSIZE == 64 && __WORDSIZE_COMPAT32]: + Use int32_t instead of long int for ut_session. + Use an anonymous struct with 32-bit fields for ut_tv. + * sysdeps/gnu/bits/utmpx.h: Include . + (struct utmpx) [__WORDSIZE == 64 && __WORDSIZE_COMPAT32]: Do the same + here as in utmp.h for `struct utmp'. + * sysdeps/unix/sysv/linux/powerpc/bits/utmp.h: File removed. + * sysdeps/unix/sysv/linux/powerpc/bits/utmpx.h: File removed. + * sysdeps/unix/sysv/linux/sparc/bits/utmp.h: File removed. + * sysdeps/unix/sysv/linux/sparc/bits/utmpx.h: File removed. + * sysdeps/unix/sysv/linux/x86_64/bits/utmp.h: File removed. + * sysdeps/unix/sysv/linux/x86_64/bits/utmpx.h: File removed. + + * sysdeps/unix/sysv/linux/bits/resource.h: Replaced with the contents + of the sysdeps/unix/sysv/linux/i386/bits/resource.h file. + All the following files were identical or equivalent to it. + * sysdeps/unix/sysv/linux/i386/bits/resource.h: File removed. + * sysdeps/unix/sysv/linux/arm/bits/resource.h: File removed. + * sysdeps/unix/sysv/linux/cris/bits/resource.h: File removed. + * sysdeps/unix/sysv/linux/hppa/bits/resource.h: File removed. + * sysdeps/unix/sysv/linux/ia64/bits/resource.h: File removed. + * sysdeps/unix/sysv/linux/m68k/bits/resource.h: File removed. + * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: File removed. + * sysdeps/unix/sysv/linux/s390/bits/resource.h: File removed. + * sysdeps/unix/sysv/linux/sh/bits/resource.h: File removed. + * sysdeps/unix/sysv/linux/x86_64/bits/resource.h: File removed. + + * sysdeps/unix/sysv/linux/bits/socket.h (struct msghdr): Use size_t + instead of int for msg_iovlen, instead of socklen_t for msg_controllen. + Other than the previously incorrect sign of msg_iovlen, this is a + no-op on 32-bit platforms. On 64-bit platforms it makes this header + match their layouts as well, so the following are now identical to it. + * sysdeps/unix/sysv/linux/s390/bits/socket.h: File removed. + * sysdeps/unix/sysv/linux/sparc/bits/socket.h: File removed. + * sysdeps/unix/sysv/linux/x86_64/bits/socket.h: File removed. + * sysdeps/unix/sysv/linux/ia64/bits/socket.h: File removed. + * sysdeps/unix/sysv/linux/alpha/bits/socket.h: File removed. + +2002-10-15 Ulrich Drepper + + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_VFORK_SYSCALL): + Define for 2.4+ kernels. + + * sysdeps/unix/sysv/linux/i386/vfork.S: Optimize for kernels which + are known to have the vfork syscall. Don't confuse the CPUs + branch prediction unit by jumping to the return address. + + * sysdeps/unix/sysv/linux/alpha/fpathconf.c (__fpathconf): Add + support for reiserfs and xfs. + + * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Add case for + XFS link count. + * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define XFS_SUPER_MAGIC + and XFS_LINK_MAX. + Patch by Eric Sandeen [PR libc/4706]. + +2002-10-16 Jakub Jelinek + + * include/libc-symbols.h (attribute_tls_model_ie): Define. + * include/errno.h (errno): Define to __libc_errno in libc.so. + Add attribute_tls_model_ie. + * include/netdb.h (h_errno): Define to __libc_h_errno in libc.so. + Add attribute_tls_model_ie. + * include/resolv.h (_res): Define to __libc_res in libc.so. Add + attribute_tls_model_ie. + * inet/herrno.c (__libc_h_errno): Add hidden alias to h_errno. + (h_errno): Define. + * resolv/res_libc.c (__libc_res): Add hidden alias to _res. + (_res): Define. + * sysdeps/generic/bits/libc-tsd.h (__libc_tsd_define): Add + attribute_tls_model_ie. + * sysdeps/generic/errno-loc.c (errno): Only undefine if not using + __thread. + * sysdeps/generic/errno.c (__libc_errno): Add hidden alias to errno. + * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER): Use + __libc_errno in USE___THREAD case. + * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): + Likewise. + * configure.in (HAVE_TLS_MODEL_ATTRIBUTE): Check for + __attribute__((tls_model (""))). + * configure: Rebuilt. + * config.h.in (HAVE_TLS_MODEL_ATTRIBUTE): Add. + +2002-10-15 Ulrich Drepper + + * timezone/asia: Update from tzdata2002d. + * timezone/australasia: Likewise. + * timezone/iso3166.tab: Likewise. + * timezone/southamerica: Likewise. + * timezone/zone-tab: Likewise. + +2002-10-15 Roland McGrath + + * sysdeps/generic/dl-tls.c (_dl_deallocate_tls) [TLS_TCB_AT_TP]: + Adjust TCB pointer before calling free, so we get the whole block. + +2002-10-14 Roland McGrath + + * sysdeps/unix/sysv/linux/x86_64/sigaction.c + [HAVE_HIDDEN && !HAVE_BROKEN_VISIBILITY_ATTRIBUTE]: Declare restore_rt + extern using attribute_hidden instead of static, avoids warning. + +2002-10-09 Jakub Jelinek + + * sysdeps/unix/sysv/linux/configure.in: Use */lib64 for s390x too. + * sysdeps/unix/sysv/linux/configure: Rebuilt. + +2002-10-14 Ulrich Drepper + + * po/sv.po: Update from translation team. + +2002-10-12 H.J. Lu + + * sunrpc/thrsvc.c (PROCQUIT): New. + (struct rpc_arg): New. + (dispatch): Call exit (0) if request->rq_proc == PROCQUIT. + (test_one_call): Take struct rpc_arg * instead of CLIENT *c. + (thread_wrapper): Modified for struct rpc_arg * and call PROCQUIT. + (main): Modified for struct rpc_arg *. + +2002-10-14 Ulrich Drepper + + * dirent/scandir.c: Rearrange code a bit to reduce binary size. + +2002-10-14 Jakub Jelinek + + * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Include tls.h. + (SYSCALL_ERROR_HANDLER): Use RTLD_PRIVATE_ERRNO sequence + in ld.so even if __thread is supported. + +2002-10-13 Jakub Jelinek + + * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter): + Add hack to prevent the compiler from clobbering the signal context. + * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter): + Likewise. + * sysdeps/unix/sysv/linux/x86_64/profil-counter.h (profil_counter): + Likewise. + +2002-10-14 Andreas Jaeger + + * sysdeps/mips/fpu/libm-test-ulps: Regenerated by + Guido Guenther . + +2002-10-14 Ulrich Drepper + + * po/sk.po: Update from translation team. + +2002-09-26 Roland McGrath + + * elf/dl-load.c (_dl_dst_count, _dl_dst_substitute): Handle $LIB + dynamic string tag. + * elf/Makefile ($(objpfx)trusted-dirs.st): Make the output define + DL_DST_LIB based on $(slibdir). + +2002-10-13 Roland McGrath + + * elf/rtld-Rules ($(objpfx)rtld-libc.a): Use $(verbose) in ar command. + + * sysdeps/mach/hurd/getresuid.c: New file. + * sysdeps/mach/hurd/getresgid.c: New file. + * sysdeps/mach/hurd/setresuid.c: New file. + * sysdeps/mach/hurd/setresgid.c: New file. + + * posix/unistd.h [__USE_GNU] (getresuid, getresgid, setresuid, + setresgid): Declare them. + * NEWS: Mention it. + * include/unistd.h + (__getresuid, __getresgid, __setresuid, __setresgid): Declare them, + add libc_hidden_proto. + * posix/Versions (libc: GLIBC_2.3.2): New set. Add + getresuid, getresgid, setresuid, setresgid here. + * Versions.def (libc): Define GLIBC_2.3.2 set. + * sysdeps/generic/getresuid.c (__getresuid): Fix argument types. + Add libc_hidden_def. + * sysdeps/generic/getresgid.c (__getresgid): Likewise. + * sysdeps/generic/setresgid.c: New file. + * sysdeps/generic/setresuid.c: New file. + * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc] + (sysdep_routines): Don't add getresuid and getresgid here. + * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = misc] + (sysdep_routines): Don't add setresuid and setresgid here. + * sysdeps/unix/sysv/linux/cris/Makefile: Likewise. + * sysdeps/unix/sysv/linux/sh/Makefile: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise. + * sysdeps/unix/sysv/linux/i386/Makefile: Likewise. + * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise. + * posix/Makefile (routines): Add them all here instead. + * sysdeps/unix/sysv/linux/i386/getresuid.c (getresuid): Renamed to + __getresuid. Add libc_hidden_def for that, and weak alias to old name. + * sysdeps/unix/sysv/linux/i386/getresgid.c (getresgid): Renamed to + __getresgid. Add libc_hidden_def for that, and weak alias to old name. + * sysdeps/unix/sysv/linux/i386/setresuid.c: Add libc_hidden_def. + [! __NR_setresuid]: Include generic file. + * sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Renamed to + __setresgid. Add libc_hidden_def for that, and weak alias to old name. + [! __NR_setresuid]: Include generic file. + * sysdeps/unix/sysv/linux/syscalls.list (setresuid, setresgid): + Caller is - now, not EXTRA. + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list + (setresuid, setresgid, getresuid, getresgid): Likewise. + * sysdeps/unix/sysv/linux/syscalls.list (getresuid, getresgid): + Add these calls here. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove them here. + * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. + + * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc] + (sysdep_routines): Add setfsuid and setfsgid here. + * sysdeps/unix/sysv/linux/arm/Makefile: Not here. + * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise. + * sysdeps/unix/sysv/linux/cris/Makefile: Likewise. + * sysdeps/unix/sysv/linux/sh/Makefile: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise. + * sysdeps/unix/sysv/linux/i386/Makefile: Likewise. + * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise. + + * hurd/errno.c: Renamed to ... + * hurd/errno-loc.c: ... this. + * hurd/Makefile (routines): errno -> errno-loc + +2002-10-13 Ulrich Drepper + + * po/de.po: Update from translation team. + + * MakeTAGS: Add -E flag to xgettext runs. + +2002-10-12 Ulrich Drepper * po/fr.po: Update from translation team. -2004-05-10 Andreas Jaeger - - * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext): - Correctly compute alignment. - Patch by Michael Matz . - -2004-05-09 Ulrich Drepper - - * sysdeps/generic/sigpause.c: Prevent sigpause prototype. - * sysdeps/posix/sigpause.c: Likewise. - * signal/signal.h: Don't define sigpause macro unless needed. - -2004-05-08 Jakub Jelinek - - * configure.in (libc_cv_libgcc_s_suffix): New check. - (libc_cv_as_needed): Use -lgcc_s$libc_cv_libgcc_s_suffix. - * config.make.in (libgcc_s_suffix): Set. - * Makeconfig (libgcc_eh): Use -lgcc_s$(libgcc_s_suffix). - -2004-05-08 Ulrich Drepper - - * signal/signal.h: Use BSD sigpause only if BSD behavior is preferred. - -2004-04-29 Steven Munroe - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (LOADARGS_1, - LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6): - Load argument values into temporary variables. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (LOADARGS_1, - LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6): - Likewise. - -2004-05-07 Ulrich Drepper - - * sysdeps/unix/sysv/linux/Makefile: mq_send.c and mq_receive.c - need to be compiled with exceptions. - -2004-05-06 Ulrich Drepper - - * sysdeps/unix/sysv/linux/ifreq.c (__ifreq): Fix memory handling. - * sysdeps/generic/ifreq.c (__ifreq): Fix memory handling. - - * resolv/res_hconf.c (_res_hconf_reorder_addrs): Make clear that - realloc cannot fail. - - * nss/nss_files/files-netgrp.c (EXPAND): Free buffer which cannot - be expanded. - - * nis/nis_table.c: Clean up memory handling. - * nis/nis_subr.c (nis_getnames): Clean up memory handling. - * nis/nis_removemember.c (nis_removemember): Add comment - explaining use of realloc. - - * math/tgmath.h (fabs): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL. - (carg): Likewise. - Patch by Lev S Bishop . - - * math/bug-tgmath1.c (main): Test fabs and carg as well. - -2004-05-06 Richard Henderson - - * elf/elf.h (AT_L1I_CACHESHAPE, AT_L1D_CACHESHAPE, - AT_L2_CACHESHAPE, AT_L3_CACHESHAPE): New. - * sysdeps/unix/sysv/linux/alpha/Versions: Export - __libc_alpha_cache_shape as a private symbol. - * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c: New file. - * sysdeps/unix/sysv/linux/alpha/sysconf.c: New file. - -2004-05-06 Richard Henderson - - * sysdeps/alpha/div_libc.h (_ITOFS, _ITOFT, _FTOIT, _ITOFT2): New. - * sysdeps/alpha/divl.S: Use them. - * sysdeps/alpha/divq.S: Likewise. - * sysdeps/alpha/divqu.S: Likewise. - * sysdeps/alpha/reml.S: Likewise. - * sysdeps/alpha/remq.S: Likewise. - * sysdeps/alpha/remqu.S: Likewise. - -2004-05-06 Ulrich Drepper - - * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG_RET_REAL):Define. - (cimag): Use it. - (creal): Likewise. - * math/Makefile (tests): Add bug-tgmath1. - * math/bug-tgmath1.c: New file. - -2004-05-05 Jakub Jelinek - - * sysdeps/alpha/atomicity.h: Remove. - * sysdeps/generic/atomicity.h: Remove. - -2004-05-05 H.J. Lu - - * sysdeps/i386/i486/bits/string.h (strpbrk): Cast return to - char *. - -2004-04-22 David Mosberger - - * sysdeps/unix/sysv/linux/ia64/Makefile (librt-routines): Mention - rt-sysdep. - * sysdeps/unix/sysv/linux/ia64/rt-sysdep.S: New file. - - * sysdeps/ia64/strcat.c: New file. - * sysdeps/ia64/strcat.S: Delete. - -2004-05-04 Jakub Jelinek - - * sysdeps/unix/sysv/linux/ia64/sysdep.S (USE___THREAD): Remove - defined. - -2004-04-23 Jakub Jelinek - - * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Add - libc_hidden_proto. Define to __GI___libm_error_support for - assembly going into libc.so. - * sysdeps/ia64/fpu/libc_libm_error.c (__libm_error_support): Add - libc_hidden_def. - - * include/libc-symbols.h (HIDDEN_BUILTIN_JUMPTARGET): Define. - * sysdeps/ia64/bcopy.S (bcopy): Use it for jump to memmove. - - * sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Access - gprel errno if RTLD_PRIVATE_ERRNO or __thread __libc_errno/errno - if USE___THREAD. - -2004-05-03 Jakub Jelinek - - * sysdeps/unix/bsd/bits/fcntl.h (F_SETOWN, F_GETOWN): Define if - __USE_BSD or __USE_UNIX98. - * sysdeps/unix/bsd/ultrix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. - * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. - * sysdeps/unix/bsd/sun/sunos4/bits/fcntl.h (F_SETOWN, F_GETOWN): - Likewise. - * sysdeps/unix/common/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. - * sysdeps/unix/sysv/aix/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. - * sysdeps/unix/sysv/irix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_SETOWN, F_GETOWN): - Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_SETOWN, F_GETOWN): - Likewise. - * sysdeps/unix/sysv/linux/cris/bits/fcntl.h (F_SETOWN, F_GETOWN): - Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETOWN, F_GETOWN): - Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_SETOWN, F_GETOWN): - Likewise. - * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN, F_GETOWN): - Likewise. - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (F_SETOWN, F_GETOWN): - Likewise. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (F_SETOWN, F_GETOWN): - Likewise. - * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_SETOWN, F_GETOWN): - Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (F_SETOWN, F_GETOWN): - Likewise. - * sysdeps/unix/sysv/linux/arm/bits/fcntl.h (F_SETOWN, F_GETOWN): - Likewise. - * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (F_SETOWN, F_GETOWN): - Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (F_SETOWN, F_GETOWN): - Likewise. - * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. - * sysdeps/mach/hurd/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. - * io/sys/stat.h (S_ISSOCK, S_IFSOCK): Likewise. - -2004-05-01 Jakub Jelinek - - * posix/Versions (libc): Remove __libc_wait, __libc_waitpid, - __libc_pause, __libc_nanosleep, __libc_pread, __libc_pread64, - __libc_pwrite64, __waitid and __pselect @@GLIBC_PRIVATE. - * stdlib/Versions (libc): Remove __on_exit@@GLIBC_PRIVATE. - * sysdeps/unix/sysv/linux/Versions (libc): Remove - __libc_sigaction@@GLIBC_PRIVATE. - * sysdeps/unix/sysv/linux/x86_64/Versions (libc): Remove - __modify_ldt@@GLIBC_PRIVATE. - * socket/Versions (libc): Remove __libc_accept, __libc_send, - __libc_recvfrom, __libc_recvmsg, __libc_sendmsg, __libc_recv, - __libc_sendto and __libc_connect @@GLIBC_PRIVATE. - * stdio-common/Versions (libc): Remove - _itoa_upper_digits@@GLIBC_PRIVATE. - * resolv/Versions (libresolv): Remove __ns_samename@@GLIBC_PRIVATE. - * misc/Versions (libc): Remove __libc_fsync, __libc_msync, - __libc_readv and __libc_writev @@GLIBC_PRIVATE. - * termios/Versions (libc): Remove __libc_tcdrain@@GLIBC_PRIVATE. - * io/Versions (libc): Remove __libc_open, __libc_close, __libc_read, - __libc_write, __libc_lseek, __libc_fcntl, __libc_open64 and - __libc_lseek64 @@GLIBC_PRIVATE. - -2004-04-30 Jakub Jelinek - - * elf/dl-load.c (open_verify): Move e_phentsize check after e_type - check. - -2004-04-29 Steven Munroe - - * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: New file. - * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: New file. - * sysdeps/powerpc/powerpc64/fpu/s_floor.S: New file. - * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: New file. - * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: Removed. - * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: New file. - * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Removed. - * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: New file. - * sysdeps/powerpc/powerpc64/fpu/s_llround.S: New file. - * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: New file. - * sysdeps/powerpc/powerpc64/fpu/s_lround.S: New file. - * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: New file. - * sysdeps/powerpc/powerpc64/fpu/s_rint.S: New file. - * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: New file. - * sysdeps/powerpc/powerpc64/fpu/s_round.S: New file. - * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: New file. - * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: New file. - * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: New file. - - * math/test-misc.c [LDBL_MANT_DIG == 106](main): Correct LDBL_MAX - mantissa for AIX long double format. - * misc/qefgcvt.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Define for AIX - long double format. - * misc/qefgcvt_r.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Likewise. - * stdlib/fpioconst.c [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024] - (_fpioconst_pow10): AIX long double format has same exponent range as - double. - * stdlib/fpioconst.h [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024] - (LDBL_MAX_10_EXP_LOG): AIX long double format has same exponent range - as double. - -2004-04-23 Art Haas - - * sysdeps/unix/sysv/linux/kernel-features.h: Add 'defined'. - -2004-04-28 Carlos O'Donell - - * sysdeps/unix/sysv/linux/mq_getattr.c: Include . - * sysdeps/unix/sysv/linux/mq_notify.c: Likewise. - * sysdeps/unix/sysv/linux/mq_open.c: Likewise. - * sysdeps/unix/sysv/linux/mq_receive.c: Likewise. - * sysdeps/unix/sysv/linux/mq_send.c: Likewise. - -2004-04-29 Philip Blundell - - * sysdeps/arm/dl-machine.h (RTLD_START): Avoid unnecessary GOT - entries. - -2004-04-29 Jakub Jelinek - - * manual/resource.texi (sched_setaffinity, sched_getaffinity): Fix - prototypes and description [BZ #131]. - - * string/bits/string2.h (strpbrk): Cast NULL to char * [BZ #130]. - Patch by Ed Catmur . - * string/tst-inlcall.c (main): Add test for strpbrk. - - [BZ #140] - * sysdeps/unix/sysv/linux/sys/sysctl.h: Remove linux/compiler.h - include. - (_LINUX_KERNEL_H, _LINUX_TYPES_H, _LINUX_LIST_H): Only define if not - yet defined, #undef back after including linux/sysctl.h if defined - here. - (__LINUX_COMPILER_H, __user): Define if not yet defined, #undef - back after including linux/sysctl.h if defined here. - - * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c (_Qp_qtoi): Use %f31 - for single precision register, add it to __asm clobbers [BZ #139]. - * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c (_Qp_qtoui): Use %f31 - for single precision register, add it to __asm clobbers. - * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c (_Qp_qtoux): Use fqtox - instead of fqtoi in QP_HANDLE_EXCEPTIONS. - * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c (_Qp_qtox): Likewise. - Reported by M. H. VanLeeuwen . - -2004-04-23 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/register-dump.h: Use - __attribute_used__. - -2004-04-22 Philip Blundell - - * sysdeps/arm/dl-machine.h (elf_machine_rela): Don't use INTUSE - when calling _dl_signal_error. - (elf_machine_rel): Likewise. - -2004-04-21 Ulrich Drepper - - * sysdeps/unix/sysv/linux/ia64/setjmp.S: Define _GI___sigsetjmp - and use it internally instead of __sigsetjmp. - * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Use _GI___libm_frexp_4f. - * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Use _GI___libm_frexp_4l. - * sysdeps/ia64/fpu/libm_frexp4.S: Define _GI___libm_frexp_4. - * sysdeps/ia64/fpu/libm_frexp4f.S: Define _GI___libm_frexp_4f. - * sysdeps/ia64/fpu/libm_frexp4l.S: Define _GI___libm_frexp_4l. - * sysdeps/ia64/fpu/s_frexp.c (frexp): Use _GI___libm_frexp_4. - * sysdeps/ia64/fpu/libm_support.h: Declare _GI___libm_frexp_4, - _GI___libm_frexp_4f, _GI___libm_frexp_4l. - * sysdeps/ia64/fpu/bits/mathinline.h: New file. - * sysdeps/unix/sysv/linux/ia64/__start_context.S: Use - HIDDEN_JUMPTARGET for exit call. - * sysdeps/unix/sysv/linux/ia64/clone2.S: Use HIDDEN_JUMPTARGET for - _exit call. - * sysdeps/ia64/bcopy.S: Use HIDDEN_JUMPTARGET for memmove call. - * sysdeps/ia64/strcat.S: Use HIDDEN_JUMPTARGET for strlen and - strcpy calls. - -2004-04-21 Jakub Jelinek - - * posix/tst-chmod.c (do_test): Fix a typo. - - * elf/lateglobal.c (main): Fix error checks. - Patch by Stephen Clarke . - - * manual/ctype.texi (isblank, iswblank): Mark as ISO functions, - mention they have been added in ISO C99. - Reported by Ben Pfaff . - -2004-03-31 H.J. Lu - - * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Fix typo. - -2004-04-20 Jakub Jelinek - - * sysdeps/unix/sysv/linux/shm_open.c (shm_unlink): Change EPERM into - EACCES. - -2004-04-20 Jakub Jelinek - - * stdio-common/vfscanf.c (_IO_vfscanf): Revert last %% whitespace - handling change. - * stdio-common/tst-sscanf.c (int_tests): Adjust. - - * nis/nss-nis.c: Include stdlib.h. - - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Shut up a + * sysdeps/posix/system.c: Remove support for old and buggy SCO systems. + Optimize a bit for use in glibc. + +2002-10-12 Roland McGrath + + * stdio-common/tst-rndseek.c (TIMEOUT): Increase to 10 seconds. + Some machines are slow. Guido Guenther has one. + +2002-10-12 Ulrich Drepper + + * po/sv.po: Update from translation team. + +2002-10-11 Isamu Hasegawa + + * posix/regcomp.c (re_compile_fastmap_iter): Remove the handling + OP_CONTEXT_NODE. + (regfree): Likewise. + (create_initial_state): Likewise. + (analyze): Remove the substitutions which became useless. + (calc_first): Likewise. + (calc_epsdest): Use edests of OP_BACK_REF in case that it has + epsilon destination. + (duplicate_node_closure): New function. + (duplicate_node): Remove the handling OP_CONTEXT_NODE. + (calc_inveclosure): Likewise. + (calc_eclosure): Likewise. + (calc_eclosure_iter): Invoke duplicate_node_closure instead of + direct invocation of duplicate_node. + (parse): Don't use comma operator in the return to avoid compiler warning. - * sysdeps/sparc/sparc64/memcmp.S (memcmp): Remove BP_SYM () from - libc_hidden_builtin_def. + (parse_reg_exp): Likewise. + (parse_branch): Likewise. + (parse_expression): Likewise. + (parse_sub_exp): Likewise. + (parse_dup_op): Likewise. + * posix/regex_internal.c (re_dfa_add_node): Remove the substitutions + which became useless. + (create_ci_newstate): Remove the handling OP_CONTEXT_NODE. + (create_cd_newstate): Likewise. + * posix/regex_internal.h (re_token_type_t): Remove the obsolete type. + (re_token_t): Likewise. + (re_dfa_t): Likewise. + (re_node_set_remove): New macro. + * posix/regexec.c (check_matching): Remove the handling + OP_CONTEXT_NODE. + (check_halt_node_context): Likewise. + (proceed_next_node): Likewise. + (pop_fail_stack): Fix the memory leak. + (set_regs): Likewise. + (free_fail_stack_return): New function. + (sift_states_backward): Fix the memory leak. Remove the handling + OP_CONTEXT_NODE. + (update_cur_sifted_state): Append some if clause to avoid redundant + call. + (sub_epsilon_src_nodes): Use IS_EPSILON_NODE since it might be a + back reference. + (check_dst_limits): Remove the handling OP_CONTEXT_NODE. + (check_subexp_limits): Likewise. + (search_subexp): Likewise. + (sift_states_bkref): Likewise. + (transit_state_mb): Likewise. + (transit_state_bkref_loop): Likewise. + (transit_state_bkref_loop): Likewise. + (group_nodes_into_DFAstates): Likewise. + (check_node_accept): Likewise. + (sift_ctx_init): Add initializing. -2004-04-20 Jim Meyering +2002-10-12 Ulrich Drepper - * misc/error.c (error_tail): Don't leak upon realloc failure. + * sysdeps/unix/sysv/linux/i386/sysdep.h (INLINE_SYSCALL): Use + __builtin_expect. -2004-04-20 Martin Schwidefsky +2002-10-11 Ulrich Drepper - * sysdeps/unix/sysv/linux/dl-execstack.c (_dl_make_stack_executable): - Use RETURN_ADDRESS instead of __builtin_return_address. + * elf/dl-load.c (_dl_map_object_from_fd): Remove unnecessarily + duplicated variable c. -2004-04-19 Ulrich Drepper + * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Use INTERNAL_SYSCALL + if possible. - * sysdeps/unix/sysv/linux/mq_unlink.c: Rewrite to produce more - compact code. + * sysdeps/unix/sysv/linux/i386/sysdep.h + (INTERNAL_SYSCALL_ERROR_P): New define. + (INTERNAL_SYSCALL_ERRNO): Likewise. -2004-04-20 Jakub Jelinek + * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter): + Add hack to prevent the compiler from clobbering the signal context. - * stdio-common/vfscanf.c (_IO_vfscanf): When skipping whitespace, - do input_error () instead of conv_error () and don't look at errno. - Don't eat any whitespace before %% if skip_space == 0. - * stdio-common/tst-sscanf.c (int_tests): New array. - (main): Run int_tests. +2002-10-11 Roland McGrath + + * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): + Fix typos. + + * sysdeps/generic/dl-lookupcfg.h: Include . + * sysdeps/sh/dl-lookupcfg.h: File removed. + * sysdeps/i386/dl-lookupcfg.h: File removed. + + * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): Add + missing labels and ; from last change. + + * stdio-common/tst-sscanf.c (val_double): Append .0 to large whole + number literals, so they are doubles instead of ints. + +2002-10-09 Roland McGrath + + * sysdeps/generic/bits/libc-tsd.h [USE___THREAD]: Conditional + changed from [USE_TLS && HAVE___THREAD]. + + * sysdeps/i386/dl-machine.h (elf_machine_type_class, elf_machine_rel): + Disable TLS relocs if [RTLD_BOOTSTRAP && !USE___THREAD]. + * sysdeps/x86_64/dl-machine.h + (elf_machine_type_class, elf_machine_rela): Likewise. + * sysdeps/sh/dl-machine.h (elf_machine_type_class, elf_machine_rela): + Likewise. + + * include/link.h (struct link_map): Remove member l_tls_tp_initialized. + * elf/rtld.c (_dl_start_final, dl_main): Don't use it. + (_dl_start): Conditionalize PT_TLS check on [USE___THREAD]. + + * sysdeps/i386/dl-tls.h (__TLS_GET_ADDR): Use ___tls_get_addr_internal + instead of ___tls_get_addr. + (___tls_get_addr_internal): Add attribute_hidden to decl. + + * sysdeps/generic/ldsodefs.h (struct rtld_global): New variable + _dl_error_catch_tsd. + * elf/rtld.c (startup_error_tsd): New function. + (dl_main): Point _dl_error_catch_tsd at that. + * elf/dl-error.c: Don't use libc-tsd.h for DL_ERROR, + use new function pointer instead. + * elf/dl-tsd.c: New file. + * elf/Makefile (routines): Add it. + +2002-10-07 Roland McGrath + + * elf/dl-misc.c (_dl_debug_vdprintf): Use INTERNAL_SYSCALL macro for + writev if it's available. Otherwise if [RTLD_PRIVATE_ERRNO] then + take _dl_load_lock around calling __writev. + + * sysdeps/unix/sysv/linux/i386/sysdep.h (INTERNAL_SYSCALL): New macro. + (INLINE_SYSCALL): Use that. + + * sysdeps/generic/dl-sysdep.h: New file. + * sysdeps/mach/hurd/dl-sysdep.h: New file. + * sysdeps/generic/ldsodefs.h: Include . + * include/errno.h [IS_IN_rtld]: Include to define ... + [RTLD_PRIVATE_ERRNO]: Use a hidden global variable for errno and + access it directly. + * elf/dl-minimal.c (__errno_location): Removed. + * sysdeps/unix/i386/sysdep.S (__syscall_errno) [RTLD_PRIVATE_ERRNO]: + Use GOTOFF access for errno. + * sysdeps/unix/sysv/linux/i386/sysdep.h + [RTLD_PRIVATE_ERRNO] (SYSCALL_ERROR_HANDLER): Likewise. + + * sysdeps/unix/x86_64/sysdep.S (__syscall_errno) [RTLD_PRIVATE_ERRNO]: + Use PC-relative access for errno. + * sysdeps/unix/sysv/linux/x86_64/sysdep.h + [RTLD_PRIVATE_ERRNO] (SYSCALL_ERROR_HANDLER): Likewise. + + * include/tls.h: New file. + (USE___THREAD): New macro. + Define to 1 under [USE_TLS && HAVE___THREAD] and only when compiling + libc or libpthread. + * sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]: Conditional + changed from [USE_TLS && HAVE___THREAD]. + * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. + * sysdeps/unix/i386/sysdep.S: Likewise. + * sysdeps/unix/x86_64/sysdep.S: Likewise. + * include/errno.h: Likewise. + * include/netdb.h: Likewise. + * include/resolv.h: Likewise. + + * sysdeps/generic/errno.c: New file. + * csu/Makefile (aux): New variable, list errno. + * sysdeps/unix/sysv/linux/i386/sysdep.S (errno, _errno): Remove defns. + * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/cris/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/hppa/sysdep.c: Likewise. + * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/sh/sysdep.S: Likewise. + * sysdeps/unix/alpha/sysdep.S: Likewise. + * sysdeps/generic/start.c: Likewise. + * sysdeps/unix/start.c: Likewise. + * sysdeps/unix/arm/start.c: Likewise. + * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise. + * sysdeps/unix/sparc/start.c: Likewise. + * sysdeps/unix/sysv/irix4/start.c: Likewise. + * sysdeps/unix/sysv/linux/mips/sysdep.S: File removed. + + * manual/search.texi (Tree Search Function, Hash Search Function): + Mention search.h clearly. + +2002-10-05 Roland McGrath + + * elf/dl-fxstat64.c: File removed. + * elf/dl-xstat64.c: File removed. + * elf/Makefile (rtld-routines): Remove them. + * sysdeps/unix/sysv/linux/xstat64.c: Remove RTLD_STAT64 conditionals. + Instead, use strong_alias instead of versioned_symbol in the + !SHLIB_COMPAT case. + * sysdeps/unix/sysv/linux/fxstat64.c: Likewise. + * sysdeps/unix/sysv/linux/lxstat64.c: Likewise. + + * include/shlib-compat.h + (SHLIB_COMPAT): Require that IS_IN_##lib be defined nonzero. + [! NOT_IN_libc] (IS_IN_libc): Define it. + * cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Use -Dx=1 not just -Dx. + * elf/Makefile (CPPFLAGS-.os): Likewise. + + * sunrpc/rpc_main.c (main): Don't declare with noreturn attribute. + Return the status instead of calling exit. + + * Makeconfig (CFLAGS): Prepend -std=gnu99. + * Makerules (+make-deps): Use $(CFLAGS) only for .c sources. + Remove superfluous rm command, whose @ plus make bugs hid + all these commands from the make output. + + * include/stubs-prologue.h: New file. Give #error under #ifdef _LIBC. + * Makefile ($(inst_includedir)/gnu/stubs.h): Depend on it. + Use that file's contents instead of literal echo's for the prologue. + * include/features.h: Include unconditionally. + * include/gnu/stubs.h: New file. + +2002-09-30 Roland McGrath + + * elf/rtld-Rules: New file. + * elf/Makefile ($(objpfx)librtld.map, $(objpfx)librtld.mk, + $(objpfx)rtld-libc.a): New targets. + (generated): Add them. + (reloc-link): Remove -o $@ from the variable. + ($(objpfx)dl-allobjs.os): Add -o $@ after $(reloc-link). + (distribute): Add rtld-Rules. + (CPPFLAGS-.os): Define this instead of CFLAGS-.os. + * Makerules ($(+sysdir_pfx)sysd-rules): Emit rules for rtld-% targets. + (common-mostlyclean, common-clean): Clean up rtld-* files. + * sysdeps/unix/make-syscalls.sh: Add rtld-*.os target name to rules. + +2003-05-20 Jakub Jelinek + + * elf/dynamic-link.h (elf_get_dynamic_info): Add temp argument. + If temp != NULL, copy dynamic entries which need relocation to temp + array before relocating. + (DL_RO_DYN_TEMP_CNT): Define. + * elf/dl-load.c (_dl_map_object_from_fd): Adjust caller. + * elf/rtld.c (_dl_start): Likewise. + (dl_main): Likewise. Add dyn_temp static variable. + +2002-10-11 Roland McGrath + + * sysdeps/generic/dl-tls.c (__tls_get_addr): After freeing block in + now-unused dtv slot, reset the slot to TLS_DTV_UNALLOCATED. + + * elf/tls-macros.h [__x86_64__] (TLS_GD): Fix the sequence with the + proper set of no-op insn prefixes. + + * elf/tst-tls8.c (do_test): Use %zd format for l_tls_modid members. + +2002-10-11 Ulrich Drepper + + * sysdeps/unix/sysv/linux/execve.c: Don't try calling + __pthread_kill_other_threads_np. + + * sysdeps/generic/pselect.c: Avoid unnecessary sigprocmask calls. + +2002-10-08 Roland McGrath + + * locale/newlocale.c (__newlocale): If setting all categories to "C", + just return &_nl_C_locobj instead of copying it. + * locale/freelocale.c (__freelocale): Check for &_nl_C_locobj. + * locale/duplocale.c (__duplocale): Likewise. + +2002-10-07 Roland McGrath + + * config.h.in (HAVE_I386_SET_GDT): New #undef. + * sysdeps/mach/configure.in: Define it with new check for i386_set_gdt. + * sysdeps/mach/configure: Regenerated. + +2002-10-06 Franz Sirl + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL): + Add all necessary register outputs for syscall-clobbered registers. + +2002-10-02 David Mosberger + + * sysdeps/ia64/bzero.S: Rewritten by Sverre Jarp to tune for + Itanium 2 (and Itanium). + Fix unwind directives and make it fit in 80 columns. + * sysdeps/ia64/memset.S: Likewise. + * sysdeps/ia64/memcpy.S: Likewise. + Move jump table to .rodata section. + +2002-10-03 Roland McGrath + + * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Add + clobbers to asm. + +2002-10-10 Andreas Jaeger + + * sysdeps/x86_64/_mcount.S: Restore correct registers. + +2002-10-10 Ulrich Drepper + + * posix/Versions (libc) [GLIBC_PRIVATE]: Add __pselect. + +2002-10-09 Ulrich Drepper + + * sysdeps/generic/ldsodefs.h: Remove attribute_hidden from + _dl_allocate_tls_init. Add rtld_hidden_proto. + * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Add + rtld_hidden_def. + * elf/Versions (ld) [GLIBC_PRIVATE]: Add _dl_allocate_tls_init. + + * version.h (VERSION): Bump to 2.3.1. + + * Make-dist: Add back one of the tar invocations removed before. + + * stdlib/Makefile (distribute): Add allocalim.h. + + * sysdeps/generic/bits/libc-tsd.h [!(USE_TLS && HAVE___THREAD)] + (__libc_tsd_address): Use correct variable name. + Patch by Stefan Jones . + + * sysdeps/unix/sysv/linux/ia64/getcontext.S: Add missing ;;. + Reported by edwardsg@sgi.com [PR libc/4678]. + + * Versions.def (libc): Add GLIBC_2.3.1. + (libpthread): Add GLIBC_2.3.1. + + * include/signal.h: Add libc_hidden_proto for __sigwait, __sigwaitinfo, + and __sigtimedwait. + * signal/Versions: Add __sigtimedwait, __sigwait, and __sigwaitinfo. + * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Add + libc_hidden_def. + * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise. + * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise. + + * include/sys/msg.h: Declare __libc_msgrcv and __libc_msgsnd. + * sysdeps/unix/sysv/linux/msgrcv.c (__msgrcv): Rename to __libc_msgrcv + and make old name an alias. + * sysdeps/unix/sysv/linux/msgsnd.c (__msgsnd): Rename to __libc_msgsnd + and make old name an alias. + * sysvipc/Versions (libc) [GLIBC_PRIVATE]: Add __libc_msgrcv and + __libc_msgsnd. + + * include/sys/uio.h: Declare __libc_readv and __libc_writev. + * misc/Versions (libc) [GLIBC_PRIVATE]: Add __libc_readv and + __libc_writev. + * sysdeps/generic/readv.c (__readv): Rename to __libc_readv and make + old name an alias. + * sysdeps/posix/readv.c: Likewise + * sysdeps/unix/sysv/aix/readv.c: Likewise. + * sysdeps/unix/sysv/linux/readv.c: Likewise. + * sysdeps/generic/writev.c (__writev): Rename to __libc_writev and make + old name an alias. + * sysdeps/posix/writev.c: Likewise + * sysdeps/unix/sysv/aix/writev.c: Likewise. + * sysdeps/unix/sysv/linux/writev.c: Likewise. + + * include/sys/wait.h: Declare __waitid. + * posix/Versions (libc) [GLIBC_PRIVATE]: Add __waitid. + * sysdeps/generic/waitid.c (waitid): Rename to __waitid and make old + name an alias. + * sysdeps/posix/waitid.c: Likewise. + * sysdeps/unix/sysv/aix/waitid.c: Likewise. + + * sysdeps/unix/sysv/linux/syscalls.list: Add creat syscall. + +2002-10-07 Jakub Jelinek + + * include/alloca.h (__libc_use_alloca, __libc_alloca_cutoff): New + prototypes. + (__MAX_ALLOCA_CUTOFF): Define. + Include allocalim.h. + * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r, + _nss_dns_gethostbyaddr_r): Use alloca or malloc to allocate + host_buffer depending on __libc_use_alloca. + * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r, + _nss_dns_getnetbyaddr_r): Use alloca or malloc to allocate + net_buffer depending on __libc_use_alloca. + * resolv/res_query.c (res_nquery): Use alloca or malloc to allocate + buf depending on __libc_use_alloca. + * resolv/gethnamaddr.c (gethostbyname2, gethostbyaddr): Likewise. + * stdio-common/vfprintf.c (vfprintf): Use __libc_use_alloca + instead of hardcoded constants. + Pass proper size argument to alloca and compute end for wide char + version. + * stdio-common/printf_fp.c (__printf_fp): Use __libc_use_alloca + instead of hardcoded constants. + * string/strcoll.c (strcoll): Likewise. + * string/strxfrm.c (strxfrm): Likewise. + * sysdeps/posix/readv.c (__readv): Likewise. + * sysdeps/posix/writev.c (__writev): Likewise. + * sysdeps/generic/allocalim.h: New file. + +2002-10-08 Roland McGrath + + * configure.in (aux_missing warning): Change "too old" to + "incompatible versions", since for autoconf it's "too new" right now. + * configure: Regenerated. + + * configure.in (AUTOCONF): New check to set it. Set to "no" if the + one found doesn't work on our configure.in. + * configure: Regenerated. + * config.make.in (AUTOCONF): New substituted variable. + * Makefile (autoconf-it-cvs): New canned sequence, broken out of ... + (autoconf-it): ... here, use that instead of defining conditionally. + Use $(AUTOCONF) instead of literal autoconf. + [$(AUTOCONF) != no] (configure, %/configure): Protect these rules + with this condition. + * Make-dist (autoconf-it, configure, %/configure): Copy those changes. + +2002-10-08 Ulrich Drepper + + * Make-dist (dist): Cleanup a bit. We are not interested in the + 14 char filename limit anymore. Remove intermediate files and + symlinks. + +2002-10-05 Ulrich Drepper + + * po/sk.po: Update from translation team. + * po/tr.po: Likewise. + * po/gl.po: Likewise. + +2002-10-05 Kaz Kojima + + * elf/tls-macros.h: Fix SH version of macros so as to match ABI syntax. + +2002-10-03 Ulrich Drepper + + * version.h (RELEASE): Change to stable. + +2002-10-03 Jakub Jelinek + + * sysdeps/unix/sysv/linux/_exit.c (__syscall_exit, + __syscall_exit_group): New prototypes. + +2002-10-03 Ulrich Drepper + + * glibc 2.3 released. -See ChangeLog.14 for earlier changes. +See ChangeLog.13 for earlier changes. diff --git a/ChangeLog.16 b/ChangeLog.16 index 292d3d169a..5d9b00d42a 100644 --- a/ChangeLog.16 +++ b/ChangeLog.16 @@ -1,7066 +1,1685 @@ -2006-05-03 Ulrich Drepper +2004-12-20 Jakub Jelinek , + Jim Gifford - * sysdeps/posix/getaddrinfo.c: Implement configuration file - handling. /etc/gai.conf can contain replacements for the label - and precedence table. Fix byte order of default label and - precedence table. - * posix/gai.conf: New file. - * posix/tst-rfc3484.c: Adjust for changes to getaddrinfo.c. - * posix/tst-rfc3484-2.c: Likewise. + [BZ #562] + * sysdeps/mips/Makefile (librt-sysdep_routines): Add. + * sysdeps/unix/mips/rt-sysdep.S: New file. -2006-05-02 Ulrich Drepper +2004-12-19 Roland McGrath - [BZ #1201] - * posix/regex.h: g++ still cannot handled [restrict]. + * iconv/Makefile (test-iconvconfig): New target. + [$(cross-compiling) != yes] (xtests): Depend on it. - [BZ #2509] - * stdio-common/vfprintf.c (process_arg): Fix reading of signed - short and byte values from parameter list. - * stdio-common/tst-printf.c (main): Add more tests. - * stdio-common/tst-printf.sh: Adjust for tst-printf.c change. + * iconv/iconvconfig.c (nostdlib, output_file, output_file_len): + New variables. + (options, parse_opt, main): Take new options --nostdlib and + --output/-o to set them. Under --nostdlib, skip GCONV_PATH dirs. + (write_output): If output_file is set, write the output there. - * iconvdata/testdate/MIK: Fix format to match expected output. +2004-12-19 Andreas Jaeger - [BZ #2632] - * nscd/connections.c (nscd_init): Correct initialization of - in-memory database structure. + [BZ #560] + * inet/netinet/in.h: Use __interface_addr instead of __interface. -2006-05-02 Thorsten Kukuk + [BZ #573] + * sunrpc/xcrypt.c (passwd2des_internal): Make it hidden instead of + internal linkage. - * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Fix MADV_REMOVE value. - * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise. +2004-12-19 Roland McGrath -2006-05-01 Ulrich Drepper - - [BZ #2502] - * iconvdata/utf-7.c: Don't require more than one character after - the '+' sign starting Unicode shifted sequences. - - * misc/tsearch.c (__tdelete): Remove unnecessary test - [Coverity CID 75]. - - * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Print error - message for invalid DWARF data instead of crashing. - - * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r): Don't try to - free outkey in error case when batch_read is set. - - * nis/nss_nis/nis-grp.c (internal_nis_getgrent_r): Don't try to - free outkey in error case when batch_read is set [Coverity CID 196]. - - [BZ #2517] - * misc/sys/queue.h: Update to more recent version. - -2006-05-01 Alexander Shopov - - [BZ #2625] - * iconvdata/Makefile (modules): Added MIK. - (distribute): Added mik.c. - (gen-8bit-gap-modules): Added mik. - * iconvdata/TESTS: Added MIK. - * iconvdata/gconv-modules: Added MIK. - * iconvdata/tst-tables.sh: Added MIK. - * iconvdata/mik.c: New file. - * iconvdata/testdata/MIK: New file. - * iconvdata/testdata/MIK..UTF8: New file. - -2006-04-30 Ulrich Drepper - - * elf/dl-load.c (_dl_map_object_from_fd): Move state change - notification... - (lose): ...to here. - - * posix/Makefile (tests): Add tst-getaddrinfo3. - * posix/tst-getaddrinfo3.c: New file. - - * sysdeps/posix/getaddrinfo.c (gaih_inet): Add parenthesis in test - for better readability. - - * nscd/nscd.h (struct database_dyn): Change filename to an array - to avoid relocations. - - * elf/ldd.bash.in: If --verify loop fails to find a dynamic linker - for the file don't just try the first one listed in RTLDLIST - again. We already have the status. - - * nis/nss_nisplus/nisplus-publickey.c (parse_grp_str): PIDLIST is - supposed to have NGRPS elements. - - * nis/nss_nisplus/nisplus-parser.c: Minor optimizations and - cleanups. Avoid copying data if it can be used in the old place. - -2006-04-29 Ulrich Drepper - - * nis/nss_nisplus/nisplus-ethers.c: Add missing null pointer check. - * nis/nss_nisplus/nisplus-hosts.c: Likewise. - * nis/nss_nisplus/nisplus-network.c: Likewise. - * nis/nss_nisplus/nisplus-proto.c: Likewise. - * nis/nss_nisplus/nisplus-rpc.c: Likewise. - * nis/nss_nisplus/nisplus-service.c: Likewise. - * nis/nss_nisplus/nisplus-spwd.c: Likewise. - - * nis/nisplus-parser.h (_nss_nisplus_parse_pwent): Add entry - parameter. - (_nss_nisplus_parse_pwent_chk): New prototype. - * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent): - Add entry parameter. Use it for column value in all accesses. - Move checks for well-formed reply to... - (_nss_nisplus_parse_pwent_chk): ...here. New function. - * nis/nss_nisplus/nisplus-pwd.c: Support SETENT_BATCH_READ option. - - * nis/nss_nisplus/nisplus-parser.c: Some cleanups. Remove - hidden_def definitions. - * nis/nisplus-parser.h: Add parameter names. Remove hidden_proto - definitions. - -2006-04-28 Ulrich Drepper - - * nis/nss_nis/nis-spwd.c (internal_nis_getspent_r): Remove data - variable. - - * nis/nss-nis.h: Define response_t and intern_t. Declare _nis_saveit. - * nis/nss_nis/nis-pwd.c: Remove response_t and intern_t definition. - (saveit): Renamed to _nis_saveit. Take parameter which is pointer - to the intern_t object. Change all users. - * nis/nss_nis/nis-grp.c: Remove response_t, intern_t, and saveit - definition. Use _nis_saveit instead of saveit. - * nis/nss_nis/nis-service.c: Likewise. - * nis/nss_nis/nis-initgroups.c: Likewise. - (internal_setgrent): Adjust for buffer handling. - (internal_getgrent_r): Likewise. - * nis/nss_nis/nis-rpc.c: Likewise. - - * nis/nss-default.c (vars): Add SETENT_BATCH_READ. - * nis/nss: Document SETENT_BATCH_READ. - * nis/libnsl.h: Define NSS_FLAG_SETENT_BATCH_READ. - * nis/nss_nis/nis-service.c (saveit): Don't add NUL byte if the - string is already NUL terminated. - (internal_nis_endservent): No need to return anything. Change callers. - (internal_nis_setservent): One more initialization. - * nis/nss_nis/nis-pwd.c: Support SETENT_BATCH_READ option. - * nis/nss_nis/nis-grp.c: Likewise. - - * nis/nss-default.c (init): Rewrite parser to get the variables - from a table. - - * nis/nss_nis/nis-service.c: Avoid passing pointer to static - variable around. Reduce number of memory allocations by creating - list of memory pools. - - * nis/ypclnt.c (__xdr_ypresp_all): Minor optimization in string - handling. Fix typo in comment. - -2006-04-27 Ulrich Drepper - - * nscd/connections.c (restart): If we want to switch back to the - old ID use setresuid and setresgid. - (finish_drop_privileges): Likewise. - -2006-04-27 Jakub Jelinek - - * nscd/nscd.conf: Fix a typo. - -2006-04-27 Ulrich Drepper - - [BZ #2611] - * stdio-common/renameat.c (renameat): Fix typo. - -2006-04-26 Roland McGrath - - * Makeconfig (%.v.i rule): Don't use -DASSEMBLER. - The predefined __ASSEMBLER__ is sufficient. - -2006-04-26 Ulrich Drepper - - [BZ #1386] - * iconvdata/ibm932.c: Change mapping to allow round-trips. - * iconvdata/ibm943.c: Likewise. - Patch by Masahide Washizawa . - - * sysdeps/unix/sysv/linux/syscalls.list: Add vmsplice. - * sysdeps/unix/sysv/linux/Versions: Export vmsplice@@GLIBC_2.5. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Declare vmsplice. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. - - * sysdeps/unix/sysv/linux/bits/uio.h: Fix a typo in a comment. - - * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo which caused - errors not to be reported. - - * nscd/nscd.h (struct database_dyn): Add propagate field. - * nscd/nscd_conf.c (nscd_parse_file): Parse auto-propagate lines. - * nscd/nscd.conf: Add auto-propagate lines. - * nscd/connections.c (dbs): Initialize .propagate fields. - * nscd/grpcache.c (cache_addgr): Do not add ID entry for name lookups - and vice versa if propagation is disabled for the database. - * nscd/pwdcache.c (cache_addpw): Likewise. - -2006-04-26 James Antill - Ulrich Drepper - - * config.make.in: Add have-libcap. - * configure.in: Check for libcap. - * nscd/Makefile (selinux-LIBS): Add -lcap if possible. - * nscd/connections.c (finish_drop_privileges): When libcap is available - call preserve_capabilities and install_real_capabilities. - * nscd/selinux.c: Define preserve_capabilities and - install_real_capabilities. - * nscd/selinux.h: Declare preserve_capabilities and - install_real_capabilities. - -2006-04-26 Ulrich Drepper - - * locale/iso-4217.def: Update. - -2006-04-25 Ulrich Drepper - - [BZ #2420] - * stdlib/strfmon_l.c (__vstrfmon_l): Fix handling of ! modifier. - * localedata/Makefile: Add rules to build and run tst-strfmon1. - * localedata/tst-strfmon1.c: New file. - - [BZ #2571] - * nscd/nscd_helper.c (__nscd_get_map_ref): Make mapptr argument a - volatile pointer so that the mapptr->mapped value is re-read after - the lock is retrieved. - * nscd/nscd-client.h: Update __nscd_get_map_ref prototype. - - * include/features.h [_GNU_SOURCE] (_POSIX_C_SOURCE): Define to - 200112L. - - * resolv/res_hconf.c: Minor surgery to 'cmd' and the referenced - functions to avoid relocations. - - [BZ #2389] - * resolv/res_hconf.c: Remove 'order' parsing. Just ignore the line. - * resolv/res_hconf.h: Remove Name_Service definition. - (struct hconf): Replace service related fields with placeholders. - - [BZ #2386] - * sysdeps/unix/sysv/linux/ia64/clone2.S: Check for NULL stack - pointers to match other architectures. - * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (tests): Add - tst-clone. - * sysdeps/unix/sysv/linux/tst-clone.c: New file. - - [BZ #2072] - * stdio-common/printf_fp.c: Fix potential memory leaks for - malloc'ed wbuffer which isn't freed in error conditions. - - [BZ #2569] - * iconv/gconv_db.c (__gconv_release_step): Fix condition of assert - call. - * iconvdata/Makefile (tests): Add tst-iconv6. - * iconvdata/tst-iconv6.c: New file. - -2006-04-24 Ulrich Drepper - - * posix/tst-rfc3484.c (do_test): Also initialize source_addr_flags - field. - * posix/tst-rfc3484-2.c (do_test): Likewise. - - * posix/tst-rfc3484.c: Include early. - * posix/tst-rfc3484-2.c: Likewise. - - * version.h (VERSION): Bump to 2.4.90 for the trunk. - -2006-04-24 Jakub Jelinek - - * malloc/arena.c (ptmalloc_init): Don't call __malloc_check_init - if MALLOC_CHECK_ env var contains an empty string. - -2006-04-24 Ulrich Drepper - - * sysdeps/posix/getaddrinfo.c (getaddrinfo): Always initialize in6ai. - -2006-04-24 Jakub Jelinek - - * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range): Use - __LONG_LONG_PAIR macro. - - * posix/bits/unistd.h (__readlinkat_chk): New prototype. - (__readlinkat_alias): New alias. - (readlinkat): New inline function. - * include/unistd.h (readlinkat): Add libc_hidden_proto. - * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Add - libc_hidden_def. - * io/readlinkat.c (readlinkat): Likewise. - * debug/readlinkat_chk.c: New file. - * debug/Makefile (routines): Add readlinkat_chk. - * debug/Versions (libc): Export __readlinkat_chk@@GLIBC_2.5. - * debug/tst-chk1.c (do_test): Add readlinkat tests. - -2006-04-23 Ulrich Drepper - - * nis/nss_nisplus/nisplus-netgrp.c: Cleanups. - - [BZ #1951] - * sysdeps/posix/sigset.c (sigset): Return correct value reflecting - previous signal state. - * signal/Makefile (tests): Add tst-sigset2. - * signal/tst-sigset2.c: New file. - -2006-04-21 Jakub Jelinek - - * argp/argp.h (__option_is_short): Check upper limit of - __key. isprint() requires its argument to have the value - of an unsigned char or EOF. - Patch by Sergey Poznyakoff . - -2006-04-21 Ulrich Drepper - - [BZ #2534, BZ #2535] - * posix/regex.h: Remove obsolete comment and special - handling for VMS. - - * iconvdata/ibm437.c: Define HAS_HOLES to 0. - * iconvdata/ibm861.c: Likewise. - * iconvdata/ibm862.c: Likewise. - * iconvdata/ibm863.c: Likewise. - * iconvdata/ibm865.c: Likewise. - Reported by . - -2006-04-19 Ulrich Drepper - - * include/ifaddrs.h: Get uint32_t definition. - * posix/tst-rfc3484.c: Update fake __check_pf implementation. - * posix/tst-rfc3484-2.c: Likewise. - - * sysdeps/unix/sysv/linux/kernel-features.h: Define - __ASSUME_PROC_SELF_FD_SYMLINK. - * sysdeps/unix/sysv/linux/ttyname.c: Cleanups. Avoid compatibility - code is possible. Move compatibility code in .text.compat section. - * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise. - -2006-04-18 Ulrich Drepper - - * sysdeps/posix/getaddrinfo.c (getaddrinfo): Rewrite to avoid loop - over gaih array. There is only one function to call in the moment. - -2006-04-16 Ulrich Drepper - - * include/ifaddrs.h: Define struct in6addrinfo. - Add two more parameters to __check_pf. - * sysdeps/unix/sysv/linux/check_pf.c: When using the netlink - interface, determine whether IPv6 addresses are deprecated or - temporary. Create array of those addresses. - * inet/check_pf.c: Always tell caller there are no depracated - and temporary addresses. - * sysdeps/posix/getaddrinfo.c: Pretty printing. - (struct sort_result): Add source_addr_flags field. - (rfc3484_sort): Implement rule 3 and 7. - (in6aicmp): New function. - (getaddrinfo): Call __check_pf also when we need info about IPv6 - source addresses. When creating array for sorting addresses, - look up deprecated and temporary addresses returned by __check_pf - and add flag if necessary. - -2006-04-15 Ulrich Drepper - - * sysdeps/posix/getaddrinfo.c: Fix precedence for IP V4-to-V6 - mapped addresses. - * posix/Makefile (tests): Add tst-rfc3484-2. - * posix/tst-rfc3484-2.c: New file. - - * nis/nss_nisplus/nisplus-publickey.c: Minor cleanups throughout. - * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_parse_servent): - Significant cleanups. Correct adjustment for pointer array. - * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent): - Likewise. - * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_parse_protoent): - Likewise. - * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_parse_netent): - Likewise. - * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent): - Likewise. - -2006-04-14 Ulrich Drepper - - * sysdeps/unix/sysv/linux/syscalls.list: Add tee syscall. - * sysdeps/unix/sysv/linux/Versions: Export tee@GLIBC_2.5. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Add prototype for tee. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. - - * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_parse_etherent): - Minor cleanups. NUL terminate name string. - - * nis/Versions: No need to export _nss_nisplus_parse_grent, - _nss_nisplus_parse_pwent, and _nss_nisplus_parse_spent. - - * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_parse_aliasent): - Avoid unnecessary allocation. Fix adjustment for pointer value. - - * nis/nss_nisplus/nisplus-parser.c: Cleanups, use NIS_RES_* - macros. Avoid unnecessary allocation. - - * sysdeps/unix/sysv/linux/sync_file_range.c: New file. - -2006-04-13 Ulrich Drepper - - * nis/Makefile (libnsl-routimes): Add nss-default. - * nis/Versions (libnsl) [GLIBC_PRIVATE]: Export _nsl_default_nss. - * nis/nss-nis.c: Move /etc/default/nss handling to... - * nis/nss-default.c: ...here. New file. - * nis/libnsl.h: New file. - * nis/nss-nis.h: Remove NSS_FLAG_* definitions and _nis_default_nss - plus auxilary definitions. - * nis/nss_nis/nis-initgroups.c: Use _nsl_default_nss instead of - _nis_default_nss. - * nis/nss_nis/nis-service.c: Likewise. - -2006-04-07 Steven Munroe - - * sysdeps/powerpc/fpu/bits/mathinline.h - [__WORDSIZE == 64 || _ARCH_PWR4]: Define __CPU_HAS_FSQRT. - (__ieee754_sqrt): Fix comment. - (__ieee754_sqrtf): Fix comment. - * sysdeps/powerpc/fpu/e_sqrt.c (__ieee754_sqrt): Fix comment. - Check __CPU_HAS_FSQRT instead of dl_hwcap. - * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Likewise. - -2006-04-08 Ulrich Drepper - - * inet/inet_ntoa.c: Rewrite to use TLS instead of TSD. - - * nis/nss_nis/nis-alias.c: Optimize use of yperr2nss. Avoid calling - it for YPERR_SUCCESS. Minor cleanups. Add __builtin_expect. - * nis/nss_nis/nis-ethers.c: Likewise. - * nis/nss_nis/nis-grp.c: Likewise. - * nis/nss_nis/nis-hosts.c: Likewise. - * nis/nss_nis/nis-initgroups.c: Likewise. - * nis/nss_nis/nis-netgrp.c: Likewise. - * nis/nss_nis/nis-network.c: Likewise. - * nis/nss_nis/nis-proto.c: Likewise. - * nis/nss_nis/nis-publickey.c: Likewise. - * nis/nss_nis/nis-pwd.c: Likewise. - * nis/nss_nis/nis-rpc.c: Likewise. - * nis/nss_nis/nis-service.c: Likewise. - * nis/nss_nis/nis-spwd.c: Likewise. - - * nis/nis_ping.c: Remove unnecessary conditionals before - nis_freeresult calls. - * nis/nis_ismember.c: Likewise. - - * elf/rtld.c (process_envvars): Fix handling of LD_POINTER_GUARD. - Reported by genesh@comcast.net. - - * io/fts.c (fts_build): Call fts_lfree in the two error cases - after the loop [Coverity CID 187]. - - * nis/nis_getservlist.c (nis_getservlist): Also free lookup result - in error case [Coverity CID 189]. - - * nis/nis_getservlist.c (nis_getservlist): One more free call - needed [Coverity CID 190]. - -2006-04-07 Jakub Jelinek - - * sysdeps/generic/unwind-dw2-fde.c (end_fde_sort): Remove - unnecessary test for accu->linear == NULL [Coverity CID 79]. - -2006-04-07 Ulrich Drepper - - * sysdeps/posix/tempname.c (__gen_tempname): Change attempts_min - into a macro. Use preprocessor to decide how to initialize - attempts [Coverity CID 67]. - - * io/fts.c (fts_build): Comment out dead code [Coverity CID 68]. - - * sunrpc/rpc_parse.c (def_union): Comment out dead code - [Coverity CID 70]. - - * locale/programs/linereader.c (lr_token): Remove duplicate - handling of EOF [Coverity CID 71]. - - * locale/programs/ld-numeric.c (numeric_read) [case tok_grouping]: - We bail out early if ignore_content is set, so there is no need to - check it later again [Coverity CID 72]. - - * inet/inet6_option.c (inet6_option_find): Check *tptrp for NULL, - not tptrp [Coverity CID 73]. - - * inet/inet6_option.c (inet6_option_next): Check *tptrp for NULL, - not tptrp [Coverity CID 74]. - - * misc/tsearch.c (__tsearch): Don't rotate tree if memory - allocation failed [Coverity CID 78]. - -2006-04-07 Jakub Jelinek - - * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Fix typo in - the last change. - -2006-04-07 Ulrich Drepper - - * inet/rexec.c (rexec_af): If we have no canonical name don't - proceed further [Coverity CID 86]. - - * iconv/iconv_charmap.c (process_fd): Initialize inptr from inbuf, - not to NULL [Coverity CID 88]. - -2006-04-06 Ulrich Drepper - - * elf/ldconfig.c (main): Use rawmemchr instead of strchr. - * nis/nis_call.c (rec_dirsearch): Likewise. - * nis/nis_local_names.c (nis_local_host): Likewise. - (nis_local_directory): Likewise. - * intl/explodename.c (_nl_explode_name): Likewise. - - * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Don't handle - DW_CFA_GNU_window_save if it obviously cannot work [Coverity CID 102]. - - * locale/programs/ld-address.c (address_finish): Fix conditions - for error messages [Coverity CID 104]. - - * libio/fmemopen.c (fmemopen): Free stream memory in case of - invalid length [Coverity CID 106]. - - * nss/nss_files/files-key.c (search): Close stream before - successful return [Coverity CID 107]. - - * io/fts.c (fts_open): Don't allocate parent if *argv==NULL - [Coverity CID 108]. - - * sunrpc/rpc_cout.c (inline_struct): Free sizestr after use - [Coverity CID 110, 109]. - - * sunrpc/rpc_scan.c (docppline): Free file string if it is not - going to be used [Coverity CID 111]. - - * sysdeps/unix/sysv/linux/getsourcefilter.c (getsourcefilter): Free - memory if socket level value cannot be retrieved [Coverity CID 112]. - - * nis/nis_clone_dir.c (nis_clone_directory): Free all memory in - error case [Coverity CID 114]. - - * nis/nis_clone_res.c (nis_clone_result): Free all memory in the - error cases [Coverity CID 115]. - - * sunrpc/rpc_parse.c (get_definition): Free defp if tok == - TOK_EOF [Coverity CID 116]. - - * sysdeps/unix/sysv/linux/setsourcefilter.c (setsourcefilter): Free - memory if socket level value cannot be retrieved [Coverity CID 117]. - - * elf/cache.c (save_cache): Initialize pad to avoid writing - uninitialized data to disk. - - * elf/cache.c (save_cache): Free file_entries_new [Coverity CID 118]. - - * intl/finddomain.c (_nl_find_domain): Avoid strdup of expand - locale name, use strdupa. Remove free call [Coverity CID 119]. - - * sunrpc/rpc_main.c (generate_guard): Avoid extra allocation and - the resulting leak [Coverity CID 121]. - - * sunrpc/rpc_main.c (mkfile_output): Free all allocated memory - [Coverity CID 122]. - - * sunrpc/rpc_main.c (h_output): Free guard after we are done - [Coverity CID 123]. - - * sunrpc/svc_udp.c (cache_set): Free victim if newbuf allocation - fails [Coverity CID 126]. - - * sunrpc/svc_udp.c (svcudp_enablecache): Free memory in error - cases [Coverity CID 127]. - - * nis/nis_table.c (__create_ib_request): Free ibreq in case strdup - fails [Coverity CID 128]. - - * nis/nis_getservlist.c (nis_getservlist): Free all memory in case - of an error [Coverity CID 130, 129]. - - * nis/nis_print_group_entry.c (nis_print_group_entry): If - nis_lookup call failed, return. Free lookup result in error - cases [Coverity CID 131]. - - * nis/nis_removemember.c (nis_removemember): Free all memory in - error cases [Coverity CID 132]. - - * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r): - Always free lookup result [Coverity CID 134]. - - * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r): - Always free lookup result [Coverity CID 135]. - - * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r): - Always free lookup result [Coverity CID 136]. - - * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r): - Before retrying, free old result [Coverity CID 137]. - - * nis/nss_nisplus/nisplus-publickey.c (_nss_nisplus_netname2user): - Free res in case UID is zero [Coverity CID 138]. - - * nis/ypclnt.c (yp_update): Always free master string - [Coverity CID 140]. - - * nis/nis_creategroup.c (nis_creategroup): Free all memory in - error cases [Coverity CID 143, 142, 141]. - - * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey): Free result - if yp_match call succeeded [Coverity CID 155]. - - * nis/nss_nis/nis-publickey.c (_nss_nis_getsecretkey): Free string - allocated in yp_match at all times [Coverity CID 157, 156]. - - * nscd/nscd.c (write_pid): Close stream also if writing failed - [Coverity CID 165]. - - * nis/nis_table.c (nis_add_entry): Move test for NULL parameter - ahead of first use [Coverity CID 167]. - - * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Move test - for NULL parameter ahead of first use [Coverity CID 168]. - - * intl/finddomain.c (_nl_find_domain): We never return NULL if we - found the locale [Coverity CID 169]. - - * inet/getnameinfo.c (getnameinfo): __getservbyport_r does not set - herrno [Coverity CID 178]. - - * nis/nis_checkpoint.c (nis_checkpoint): Don't access and returned - freed object [Coverity CID 182]. - -2006-04-05 Alan Modra - Jakub Jelinek - - * posix/bits/unistd.h (readlink, __readlink_chk, __readlink_alias): - Change return value to ssize_t. - -2006-04-04 Roland McGrath - - * string/Makefile (CFLAGS-inl-tester.c): New variable. - (CFLAGS-tst-inlcall.c): Likewise. - - [BZ #2508] - * nscd/Makefile ($(objpfx)nscd_stat.o: sysincludes): Move setting - inside [$(have-selinux) = yes]. - ($(objpfx)selinux.o: sysincludes): Likewise. - - * iconvdata/Makefile (generate-8bit-table): Use LC_ALL=C. - (generate-8bit-gap-table): Likewise. - ($(objpfx)iso8859-7jp.stmp): Likewise. - Reported by S.Çağlar Onur . - -2006-03-21 Joseph S. Myers - - * soft-fp/adddf3.c: Add libgcc exception. Update FSF address. - * soft-fp/addsf3.c: Likewise. - * soft-fp/addtf3.c: Likewise. - * soft-fp/divdf3.c: Likewise. - * soft-fp/divsf3.c: Likewise. - * soft-fp/divtf3.c: Likewise. - * soft-fp/double.h: Likewise. - * soft-fp/eqdf2.c: Likewise. - * soft-fp/eqsf2.c: Likewise. - * soft-fp/eqtf2.c: Likewise. - * soft-fp/extenddftf2.c: Likewise. - * soft-fp/extended.h: Likewise. - * soft-fp/extendsfdf2.c: Likewise. - * soft-fp/extendsftf2.c: Likewise. - * soft-fp/fixdfdi.c: Likewise. - * soft-fp/fixdfsi.c: Likewise. - * soft-fp/fixsfdi.c: Likewise. - * soft-fp/fixsfsi.c: Likewise. - * soft-fp/fixtfdi.c: Likewise. - * soft-fp/fixtfsi.c: Likewise. - * soft-fp/fixunsdfdi.c: Likewise. - * soft-fp/fixunsdfsi.c: Likewise. - * soft-fp/fixunssfdi.c: Likewise. - * soft-fp/fixunssfsi.c: Likewise. - * soft-fp/fixunstfdi.c: Likewise. - * soft-fp/fixunstfsi.c: Likewise. - * soft-fp/floatdidf.c: Likewise. - * soft-fp/floatdisf.c: Likewise. - * soft-fp/floatditf.c: Likewise. - * soft-fp/floatsidf.c: Likewise. - * soft-fp/floatsisf.c: Likewise. - * soft-fp/floatsitf.c: Likewise. - * soft-fp/floatundidf.c: Likewise. - * soft-fp/floatundisf.c: Likewise. - * soft-fp/floatunditf.c: Likewise. - * soft-fp/floatunsidf.c: Likewise. - * soft-fp/floatunsisf.c: Likewise. - * soft-fp/floatunsitf.c: Likewise. - * soft-fp/gedf2.c: Likewise. - * soft-fp/gesf2.c: Likewise. - * soft-fp/getf2.c: Likewise. - * soft-fp/ledf2.c: Likewise. - * soft-fp/lesf2.c: Likewise. - * soft-fp/letf2.c: Likewise. - * soft-fp/muldf3.c: Likewise. - * soft-fp/mulsf3.c: Likewise. - * soft-fp/multf3.c: Likewise. - * soft-fp/negdf2.c: Likewise. - * soft-fp/negsf2.c: Likewise. - * soft-fp/negtf2.c: Likewise. - * soft-fp/op-1.h: Likewise. - * soft-fp/op-2.h: Likewise. - * soft-fp/op-4.h: Likewise. - * soft-fp/op-8.h: Likewise. - * soft-fp/op-common.h: Likewise. - * soft-fp/quad.h: Likewise. - * soft-fp/single.h: Likewise. - * soft-fp/soft-fp.h: Likewise. - * soft-fp/sqrtdf2.c: Likewise. - * soft-fp/sqrtsf2.c: Likewise. - * soft-fp/sqrttf2.c: Likewise. - * soft-fp/subdf3.c: Likewise. - * soft-fp/subsf3.c: Likewise. - * soft-fp/subtf3.c: Likewise. - * soft-fp/truncdfsf2.c: Likewise. - * soft-fp/trunctfdf2.c: Likewise. - * soft-fp/trunctfsf2.c: Likewise. - * soft-fp/unorddf2.c: Likewise. - * soft-fp/unordsf2.c: Likewise. - * soft-fp/unordtf2.c: Likewise. - -2006-04-03 Steven Munroe - - [BZ #2505] - * sysdeps/powerpc/powerpc32/bits/atomic.h [_ARCH_PWR4]: - Define atomic_read_barrier and __ARCH_REL_INSTR using lwsync. - -2006-04-03 Andreas Schwab - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Terminate FDE - before syscall. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise. - - * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Test for - with [! _ASM_POWERPC_ELF_H] as well as [!__PPC64_ELF_H]. - -2006-04-03 Roland McGrath - - [BZ #2507] - * mach/Machrules (.udeps-targets): New variable. - ($(objpfx)%.udeps static pattern rule): Use it to avoid \ inside - quoted string. - -2006-04-02 Ulrich Drepper - - [BZ #2501] - * nscd/nscd_helper.c (get_mapping): Rewrite code to send request - so it uses send and not writev. - - [BZ #2418] - * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Use larger of PATH_MAX - and page size when allocating buffer. - - * sysdeps/unix/sysv/linux/bits/socket.h (struct msghdr): Document - msg_controllen type issue. - (struct cmsghdr): Same for cmsg_len. - -2006-04-01 Ulrich Drepper - - [BZ #2415] - * elf/ldd.bash.in: Create better error messages for invalid input - files. - - [BZ #2477] - * sysdeps/unix/sysv/linux/i386/sysdep.h: Create correct LOADARGS_* - macros for non-shared position-independent code. - - [BZ #2472] - * bits/siginfo.h: Fix typo in ILL_ILLOPN definition. - - [BZ #2450] - * posix/unistd.h: Match return value of readlink to what POSIX - says these days. - * io/readlink.c: Likewise. - * io/readlinkat.c: Likewise. - * sysdeps/unix/sysv/linux/readlinkat.c: Likewise. - - [BZ #2498] - * nscd/connections.c (main_loop_poll): If the connection cannot be - accepted because of user-imposed limits close the descriptor. - -2006-03-31 Ulrich Drepper - - * sysdeps/unix/sysv/linux/Versions: Export sync_file_range with - GLIBC_2.5. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Remove - LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT. - Declare sync_file_range and splice. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Add - sync_file_range. - * sysdeps/unix/sysv/linux/i386/sync_file_range.S: New file. - * sysdeps/unix/sysv/linux/syscalls.list: Add splice syscall. - * sysdeps/unix/sysv/linux/Versions: Export splice with GLIBC_2.5 - version. - * Versions.def: Define GLIBC_2.5 for libc. - -2006-03-29 Ulrich Drepper - - * sysdeps/posix/getaddrinfo.c (gaih_inet): No need to duplicate - 'name' for 'canon'. The final allocation will happen later. - -2006-03-27 Ulrich Drepper - - * sysdeps/unix/sysv/linux/kernel-features.h: Remove support for - architectures which moved to ports. - - * sysdeps/unix/sysv/linux/kernel-features.h: Add - __ASSUME_SET_ROBUST_LIST. - -2006-03-27 Jakub Jelinek - - * wcsmbs/wchar.h (btowc, wctob): Don't optimize in C++. - -2006-03-24 David S. Miller - - * sysdeps/sparc/sparc32/bits/atomic.h - (__v9_compare_and_exchange_val_32_acq): Add "memory" clobber. - * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h - (__arch_compare_and_exchange_val_32_acq, atomic_exchange_acq): - Likewise. - * sysdeps/sparc/sparc64/bits/atomic.h - (__arch_compare_and_exchange_val_32_acq, - __arch_compare_and_exchange_val_64_acq, atomic_exchange_acq): Likewise. - -2006-03-24 Jakub Jelinek - - * nis/nss_nisplus/nisplus-proto.c (_nss_create_tablename): Check the - return value of malloc rather than the static var again. - * nis/nss_nisplus/nisplus-grp.c (_nss_create_tablename): Likewise. - * nis/nss_nisplus/nisplus-network.c (_nss_create_tablename): Likewise. - * nis/nss_nisplus/nisplus-ethers.c (_nss_create_tablename): Likewise. - * nis/nss_nisplus/nisplus-rpc.c (_nss_create_tablename): Likewise. - * nis/nss_nisplus/nisplus-service.c (_nss_create_tablename): Likewise. - * nis/nss_nisplus/nisplus-hosts.c (_nss_create_tablename): Likewise. - * nis/nss_nisplus/nisplus-alias.c (_nss_create_tablename): Likewise. - * nis/nss_nisplus/nisplus-pwd.c (_nss_pwd_create_tablename): Likewise. - -2006-03-25 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Add POLLMSG, - POLLREMOVE, and POLLRDHUP. - * sysdeps/unix/sysv/linux/bits/poll.h: Add POLLREMOVE and POLLRDHUP. - -2006-03-24 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define - LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. - -2006-03-17 Roland McGrath - - * elf/rtld.c (dl_main): Run final self-relocation after setting up TLS. - From Alexandre Oliva . - - * elf/tst-audit2.c: New file. - * elf/Makefile (tests): Add it. - ($(objpfx)tst-audit2.out): New target. - (tst-audit2-ENV): New variable. - - * elf/tst-leaks1.c: Include . - -2006-03-16 Roland McGrath - - * sysdeps/unix/sysv/linux/alpha/getcontext.S (__getcontext_x): - Use .set noat to quiet assembler warning. - - * math/gen-libm-test.pl (parse_args): Take function name for pretty - output as an argument. - (generate_testfile): Pass it the name given in the START macro. - - [BZ #2466] - * math/libm-test.inc (llrint_test, llround_test): Fix last change to - protect large-precision cases with [LDBL_MANT_DIG > 100]. - (llrint_test_tonearest, llrint_test_towardzero): Likewise. - (llrint_test_downward, llrint_test_upward): Likewise. - -2006-03-15 Steven Munroe - Alan Modra - - [BZ #2466] - * math/libm-test.inc (llrint_test, llround_test) [TEST_LDOUBLE]: - Add new test values. - (llrint_test_tonearest, llrint_test_towardzero, llrint_test_downward, - llrint_test_upward): New functions. - (main): Call them. - - * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Handle - rounding that spans doubles in IBM long double format. - * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_llrintl.S: Removed. - * sysdeps/powerpc/powerpc64/fpu/s_llroundl.S: Removed. - * sysdeps/powerpc/powerpc64/fpu/s_lrintl.S: Removed. - * sysdeps/powerpc/powerpc64/fpu/s_lroundl.S: Removed. - -2006-03-16 Roland McGrath - - * wcsmbs/wchar.h (__wcstol_internal, __wcstoul_internal): Declare these - only when we will use them, under [__OPTIMIZE__ && __GNUC__ >= 2]. - (__wcstoll_internal, __wcstoull_internal_defined): Likewise. - -2006-03-06 Steven Munroe - - * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Add cfi_offset for spilling - of non-volatile floating-point registers to the stack (fp14-fp31). - * sysdeps/powerpc/powerpc32/gprsave0.S: Add cfi_offset for spilling of - non-volatile general-purpose registers to the stack (gpr13-gpr31). - * sysdeps/powerpc/powerpc64/dl-trampoline.S: Add cfi_offset - for non-volatiles gpr30 - grp31 spilled to the stack. - * sysdeps/powerpc/powerpc64/memcpy.S: Add cfi_offset for non-volatile - gpr31 spill to the stack. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: - Add cfi_offset for non-volatile gpr31 spill to the stack. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Add cfi_offset - for non-volatiles gpr28 - grp31 spilled to the stack. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Add - cfi_adjust_cfa_offset when a frame is stacked. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: - (__novec_setcontext) : Add cfi_offset for non-volatile gpr31 spill - add LR saved to the stack. Add cfi_adjust_cfa_offset when frame is - stacked. - (__setcontext) : Add cfi_offset for non-volatile gpr31 spill to - the stack. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: - (__novec_swapcontext) : Add cfi_offset for non-volatile gpr31 spill - add LR saved to the stack. - (__swapcontext) : Add cfi_offset for non-volatile gpr31 spill add LR - saved to the stack. Add cfi_adjust_cfa_offset when frame is stacked. - -2006-03-07 Jakub Jelinek - - [BZ #2423] - * math/libm-test.inc [TEST_LDOUBLE] (ceil_test, floor_test, rint_test, - round_test, trunc_test): Only run some of the new tests if - LDBL_MANT_DIG > 100. - -2006-03-03 Steven Munroe - Alan Modra - - * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround, __fesetround): - Define inline implementations. - * sysdeps/powerpc/fpu/fegetround.c: Use __fegetround. - * sysdeps/powerpc/fpu/fesetround.c: Use __fesetround. - - * sysdeps/powerpc/fpu/math_ldbl.h: New file. - - [BZ #2423] - * math/libm-test.inc [TEST_LDOUBLE] (ceil_test, floor_test, rint_test, - round_test, trunc_test): Add new tests. - * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h - (EXTRACT_IBM_EXTENDED_MANTISSA, INSERT_IBM_EXTENDED_MANTISSA): - Removed, replaced with ... - (ldbl_extract_mantissa, ldbl_insert_mantissa, ldbl_pack, ldbl_unpack, - ldbl_canonicalise, ldbl_nearbyint): New functions. - * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Replace - EXTRACT_IBM_EXTENDED_MANTISSA and INSERT_IBM_EXTENDED_MANTISSA - with ldbl_extract_mantissa and ldbl_insert_mantissa. - * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l): - Replace EXTRACT_IBM_EXTENDED_MANTISSA with ldbl_extract_mantissa. - (ldbl_extract_mantissa, ldbl_insert_mantissa): New inline functions. - * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Handle rounding - that spans doubles in IBM long double format. - * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_rintl.S: File removed. - -2004-12-09 Randolph Chung - - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Don't - define for hppa, which doesn't support this syscall. - -2006-03-13 Jakub Jelinek - - [BZ #2451] - * elf/dl-load.c (open_verify): Add free_name argument, if true, free - name before calling lose. - (open_path): Adjust caller. - (_dl_map_object): Adjust callers. Free name_copy before calling - _dl_signal_error. - * elf/Makefile: Add rules to build and run tst-leaks1. - * elf/tst-leaks1.c: New test. - -2006-03-06 Roland McGrath - - * version.h (VERSION): 2.4 - * README.template: Update for 2.4. + * version.h (VERSION): 2.3.4. + * README.template: Various updates. * README: Regenerated. - * manual/install.texi (Configuring and compiling): Separate build - directory is mandatory. Use glibc-2.4 in example. - Update --enable-add-ons description. - (Supported Configurations): Remove section. - * INSTALL: Regenerated. + * NEWS: Mention ports. + * README-alpha: File removed. - * sysdeps/unix/sysv/linux/x86_64/sysconf.c - (handle_intel, handle_amd): Add __attribute__ ((noinline)). - * sysdeps/unix/sysv/linux/i386/sysconf.c - (handle_i486, handle_intel, handle_amd): Likewise. + [BZ #416] + * locale/langinfo.h: Comment fixes. - * sysdeps/unix/sysv/linux/i386/sysconf.c (__sysconf): Don't handle - _SC_CPUTIME and _SC_THREAD_CPUTIME here. - * sysdeps/unix/sysv/linux/x86_64/sysconf.c (__sysconf): Likewise. +2004-12-17 Ulrich Drepper -2006-03-05 Roland McGrath + * po/ja.po: Update from translation team. - * malloc/malloc.c (MALLOC_ALIGNMENT): Revert to (2 * SIZE_SZ) value. - The correct value differs only on powerpc32, and for now changing it - there is causing more trouble than it's worth. +2004-12-17 Richard Henderson - * malloc/arena.c: Add compile-time sanity check on padding calculation. + * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Add support + for NPTL where the PID is stored at userlevel and needs to be + reset when CLONE_THREAD is not used. -2006-03-05 Jakub Jelinek - - * malloc/arena.c (heap_info): Adjust the padding size if - MALLOC_ALIGNMENT > 2 * SIZE_SZ. - -2006-03-05 Roland McGrath - - * sysdeps/mach/hurd/faccessat.c: New file. - * sysdeps/mach/hurd/fchmodat.c: New file. - * sysdeps/mach/hurd/fchownat.c: New file. - * sysdeps/mach/hurd/fxstatat.c: New file. - * sysdeps/mach/hurd/fxstatat64.c: New file. - * sysdeps/mach/hurd/linkat.c: New file. - * sysdeps/mach/hurd/mkdirat.c: New file. - * sysdeps/mach/hurd/openat.c: New file. - * sysdeps/mach/hurd/openat64.c: New file. - * sysdeps/mach/hurd/symlinkat.c: New file. - * sysdeps/mach/hurd/unlinkat.c: New file. - * sysdeps/mach/hurd/xmknod.c (__xmknod): Just call __xmknodat. - Guts move to ... - * sysdeps/mach/hurd/xmknodat.c: ... here, new file. - - * hurd/lookup-at.c: New file. - * hurd/Makefile (routines): Add it. - * hurd/hurd/fd.h: Declare __file_name_lookup_at, - __file_name_split_at and __directory_name_split_at. - - * hurd/hurd/lookup.h: Declare {,__}hurd_directory_name_split. - - * hurd/hurdlookup.c (__hurd_directory_name_split): Use __memrchr - unconditionally. - - * sysdeps/mach/hurd/open.c: Define {,__,__libc_,}open64 as aliases. - * sysdeps/mach/hurd/open64.c: New file. - - * sysdeps/posix/sysconf.c (__sysconf): Use #if _POSIX_FOO > 0 - rather than #ifdef _POSIX_FOO for options. We should return -1 - at runtime for an option defined to 0 at compile time. - - * sysdeps/mach/hurd/bits/posix_opt.h: Define many missing options, - many to -1 or 0. - -2006-03-05 Roland McGrath - - * sysdeps/unix/sysv/linux/sysconf.c (__sysconf) - [__NR_clock_getres || HP_TIMING_AVAIL]: Handle _SC_CPUTIME, - _SC_THREAD_CPUTIME. - -2006-03-05 David S. Miller - - * sysdeps/sparc/sparc32/dl-trampoline.S: Add CFI markings. - * sysdeps/sparc/sparc32/elf/start.S: Likewise. - * sysdeps/sparc/sparc64/dl-trampoline.S: Likewise. - * sysdeps/sparc/sparc64/elf/start.S: Likewise. - * sysdeps/sparc/sparc32/memchr.S: Rearrange code to reside - within ENTRY/END. - * sysdeps/sparc/sparc32/memcpy.S: Likewise. - * sysdeps/sparc/sparc32/stpcpy.S: Likewise. - * sysdeps/sparc/sparc32/strcat.S: Likewise. - * sysdeps/sparc/sparc32/strchr.S: Likewise. - * sysdeps/sparc/sparc32/strcmp.S: Likewise. - * sysdeps/sparc/sparc32/strcpy.S: Likewise. - * sysdeps/sparc/sparc32/strlen.S: Likewise. - * sysdeps/sparc/sparc64/memcpy.S: Likewise. - * sysdeps/sparc/sparc64/sparcv9v/memset.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Add CFI markings - and use __syscall_error. - * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/pipe.S: Use __syscall_error. - * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/syscall.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Rewrite to use - CFI markings and __syscall_error. - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S: Rearrange - code to reside within ENTRY/END. - * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sysdep.c: New file. - * sysdeps/unix/sysv/linux/sparc/sysdep.S: File removed. - * sysdeps/unix/sysv/linux/sparc/rt-sysdep.c: New file. - * sysdeps/unix/sysv/linux/sparc/Makefile (librt-routines): Add it. - - * shlib-versions: Use sparc64.*- for CPU patterns. - -2006-03-05 Roland McGrath - - * bits/resource.h (RLIMIT_SBSIZE, RLIMIT_AS, RLIMIT_VMEM): Define. - - * sysdeps/mach/hurd/fdopendir.c (__fdopendir): Use O_DIRECTORY - to force directory check. - * sysdeps/mach/hurd/opendir.c (__opendir): Likewise. - -2006-03-04 Roland McGrath - - * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Make sure high bits - of SEL are clear after copying %gs to low bits. - (_hurd_tls_fork): Likewise. - -2006-03-03 Roland McGrath - - [BZ #2414] - * stdlib/tst-setcontext.c (f1): Take arguments of type int. - -2006-03-02 Roland McGrath - - * sysdeps/unix/alpha/sysdep.h (PTR_MANGLE): Use __typeof in cast. - -2006-03-02 Daniel Jacobowitz - - * sysdeps/unix/sysv/linux/configure.in: Remove MIPS cases. Allow - libc_cv_slibdir et al. to be overridden. - * sysdeps/unix/sysv/linux/configure: Regenerated. - -2005-12-27 Jakub Jelinek - - * elf/ldconfig.c (search_dir): Skip prelink temporaries. - -2006-03-02 H.J. Lu - - * elf/check-textrel.c: Don't include "config.h". - -2006-03-02 Jakub Jelinek - - * io/ftw.c (process_entry): If dir->streamfd != -1, - use FXSTATAT rather than LXSTAT to find if unstatable - file is a dead symlink. - - * elf/check-textrel.c: Include config.h. - (AB(handle_file)): Don't fail if PF_X | PF_W on architectures known - to have executable writable PLT. - * sysdeps/powerpc/powerpc32/configure.in (HAVE_PPC_SECURE_PLT): New - test. - * config.h.in (HAVE_PPC_SECURE_PLT): Add. - - * malloc/malloc.c (MALLOC_ALIGNMENT): Set to __alignof__ (long double) - if long double is more aligned than 2 * SIZE_SZ. - (misaligned_chunk): Define. - (public_rEALLOc, _int_free, _int_realloc): Use it. - -2006-01-05 H.J. Lu - - [BZ #2013] - * sysdeps/ia64/memccpy.S: Properly handle recovery for - predicated speculative load. - -2006-03-01 Jakub Jelinek +2004-12-17 Jakub Jelinek * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update. - * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat64): Use - libc_hidden_ver rather than libc_hidden_def. +2004-12-17 Andreas Jaeger - * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update. - * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): - Use inline asm to make sure the compiler doesn't optimize insns out. - - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h - (DECLARGS_6): Fix a typo. - -2006-03-01 Roland McGrath - - * version.h (VERSION): 2.3.91 - - * Makeconfig (sysdeps-srcdirs): New variable. - (sysdeps-add-ons-srcdirs): Use it. - * csu/Makefile (all-Banner-files): Use it. - - * Makefile (dist-selector): New variable. - (glibc-%.tar rule): Use it. Make $(dist-separate) tarballs - contain one version-named directory. - - * Makefile (format-me): Use --plaintext --no-number-sections. - - * NOTES, INSTALL: Regenerated. - - * NEWS: Update 2.4 items. - -2006-03-01 David S. Miller - - * configure.in (machine): Match sparcv9v and sparc64v. - * configure: Regenerated. - * sysdeps/sparc/sparc32/sparcv9v/memcpy.S: New file. - * sysdeps/sparc/sparc32/sparcv9v/memset.S: New file. - * sysdeps/sparc/sparc64/sparcv9v/memcpy.S: New file. - * sysdeps/sparc/sparc64/sparcv9v/memset.S: New file. - -2006-03-01 Roland McGrath - - * sysdeps/mach/hurd/Subdirs: Use "first hurd". - -2006-02-28 Roland McGrath - - * sysdeps/rs6000: Directory removed, saved in ports repository. - -2006-03-01 Kaz Kojima - - * sysdeps/unix/sysv/linux/sh/pread.c: Copy in mips pread.c. - * sysdeps/unix/sysv/linux/sh/pwrite.c: Copy in mips pwrite.c. - * sysdeps/unix/sysv/linux/sh/pread64.c: Copy in mips pread64.c. - * sysdeps/unix/sysv/linux/sh/pwrite64.c: Copy in mips pwrite64.c. - -2006-02-28 Roland McGrath - - * elf/tst-tls-dlinfo.c: New file. - * elf/Makefile (tests): Add it. - ($(objpfx)tst-tls-dlinfo): Depend on $(libdl). - ($(objpfx)tst-tls-dlinfo.out): Depend on $(objpfx)tst-tlsmod2.so. - - * dlfcn/dlfcn.h (RTLD_DI_PROFILENAME, RTLD_DI_PROFILEOUT): New enum - values, reserve unsupported requested names used on Solaris. - (RTLD_DI_TLS_MODID, RTLD_DI_TLS_DATA): New enum values. - (RTLD_DI_MAX): Likewise. - * dlfcn/dlinfo.c (dlinfo_doit): Handle RTLD_DI_TLS_MODID and - RTLD_DI_TLS_DATA. - - * elf/dl-tls.c (_dl_tls_get_addr_soft): New function. - * sysdeps/generic/ldsodefs.h: Declare it. - * elf/Versions (ld: GLIBC_PRIVATE): Add it. - * elf/link.h (struct dl_phdr_info): New members dlpi_tls_modid, - dlpi_tls_data. - * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill them in. - - * include/link.h: Don't copy contents from elf/link.h. - Instead, #include it while #define'ing around link_map. - * elf/dl-debug.c (_dl_debug_initialize): Add a cast. - Add bogus extern decl to verify link_map members. - * elf/loadtest.c (MAPS): New macro, cast _r_debug._r_map. - (OUT, main): Use it in place of _r_debug._r_map. - * elf/unload.c: Likewise. - * elf/unload2.c: Likewise. - * elf/neededtest.c (check_loaded_objects): Likewise. - * elf/neededtest2.c (check_loaded_objects): Likewise. - * elf/neededtest3.c (check_loaded_objects): Likewise. - * elf/neededtest4.c (check_loaded_objects): Likewise. - * elf/circleload1.c (check_loaded_objects): Likewise. - - * nscd/nscd_helper.c: Include for `time' declaration. - - * include/fcntl.h: Declare __openat, __open64. Use libc_hidden_proto. - * io/openat.c (__openat): Define instead of openat. - Use libc_hidden_def. Define openat with weak_alias. - * io/openat64.c (__openat64): Define instead of openat64. - Use libc_hidden_def. Define openat64 with weak_alias. - * sysdeps/unix/sysv/linux/openat.c: Likewise. - - * libio/genops.c: Include for __sched_yield decl. - - * Makeconfig (+includes): Add back $(includes) - after $(+sysdep-includes). - - * Makerules ($(common-objpfx)%.make): Use -DASSEMBLER. - -2006-02-28 Jakub Jelinek - - * posix/sys/types.h [!__GNUC_PREREQ (2, 7)] (int64_t, u_int64_t): - typedef to long int resp. unsigned long int on 64-bit arches. - - * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Include x86_64 - umount.c rather than hppa umount.c. - * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Include sh chown.c - rather than m68k chown.c. - * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Include sh - fchownat.c rather than m68k fchownat.c. - * sysdeps/unix/sysv/linux/sh/chown.c: Copy over from m68k chown.c. - * sysdeps/unix/sysv/linux/sh/fchownat.c: Copy over from m68k - fchownat.c. - * sysdeps/unix/sysv/linux/x86_64/brk.c: Copy over from hppa brk.c. - * sysdeps/unix/sysv/linux/x86_64/umount.c: Copy over from hppa - umount.c. - -2006-02-28 Roland McGrath - - * sysdeps/hppa: Directory removed, saved in ports repository. - * sysdeps/mach/hppa: Likewise. - * sysdeps/mach/hurd/hppa: Likewise. - * sysdeps/unix/sysv/linux/hppa: Likewise. - * configure.in (machine): Remove hppa* cases. - * configure: Regenerated. - * shlib-versions: Remove hppa cases. - - * sysdeps/m68k: Directory removed, saved in ports repository. - * sysdeps/unix/bsd/m68k: Likewise. - * sysdeps/unix/sysv/linux/m68k: Likewise. - * configure.in (machine): Remove m68* cases. - * configure: Regenerated. - - * elf/rtld-Rules (subdir-args): New variable. - (rtld-subdir-make): Use it. - -2006-02-22 Martin Schwidefsky - - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h - (DO_CALL): Add support for 6 system call parameters. - (DECLARGS_6, ASMFMT_6): Define. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. - -2006-02-28 Roland McGrath - - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Copy in i386/bits/fcntl.h. - -2006-02-27 Roland McGrath - - * scripts/config.guess: Update from master, timestamp='2006-02-27'. - * scripts/config.sub: Update from master, timestamp='2006-02-27'. - - * Makefile (subdir-target-args): New variable. - ($(all-subdirs-targets)): Use it in place of -C option. - * Rules: Use $(..) instead of ../ if it's already defined. - * Makeconfig (subdir-srcdirs): New variable. - * csu/Makefile (all-Banner-files): Use it. - - * configure.in (--enable-add-ons): Set to "yes" by default. - Handle absolute add-on directory names when looking for configure - fragments. Also look for sysdeps/*/preconfigure fragments in add-ons. - Require add-on configure to set $libc_add_on_canonical, use - that in $add_ons_sfx. Substitute add_on_subdirs with computed list - of subdir names each add-on configure set in libc_add_on_subdirs. - * configure: Regenerated. - * Makefile (%/preconfigure: %/preconfigure.in): New pattern rule. - * config.make.in (add-on-subdirs): New substituted variable. - * Makeconfig (all-subdirs): Include $(add-on-subdirs). - Remove $(add-ons), $(sysdep-subdirs). - Don't filter out $(sysdep-inhibit-subdirs). - ($(common-objpfx)sysd-dirs): Target removed. Don't include it. - ($(common-objpfx)sysd-sorted): Rewritten to feed Depend and Subdirs - files together to gen-sorted.awk, and $(subdirs) via -v. - (subdirs): Remove magic reordering for mach and hurd. - * scripts/gen-sorted.awk: Use subdirs from command line. - Process Subdirs and Depend files directly. - Let Subdirs files use "first dir" and "inhibit dir". - Always move elf to the end of the list. - * hurd/Depend: New file. - * sysdeps/mach/Subdirs: Use "first mach". - - * Makefile (dist-separate): Remove linuxthreads. - (dist-separate-linuxthreads): Variable removed. - (glibc-%.tar rule): Use $(sysdeps-add-ons). - - * Makerules ($(common-objpfx)Versions.v.i): Use $(subdirs), - not $(all-subdirs). - (sysdep-makefiles): Use $(sysdirs). - (sysdirs): Remove export. - ($(+sysdir_pfx)sysd-rules): Handle absolute directory names in - $(config-sysdirs). - (+sysdir_pfx): Variable removed. - (sysd-rules): Use $(common-objpfx) in place of it. - (sysdirs): Variable moved to ... - * Makeconfig (sysdirs): ... here. - Handle absolute directory names in $(config-sysdirs). - (full_config_sysdirs): Variable removed. - * csu/Makefile: Use $(sysdirs) in vpath directive. - * math/Makefile (ulps-file): Use $(sysdirs). - * sysdeps/gnu/Makefile (errlist-c): Likewise. - ($(objpfx)errlist-compat.c): Likewise. - * Makeconfig (all-Subdirs-files): Likewise. - ($(common-objpfx)config.status): Likewise. - - * configure.in (sysnames): Handle absolute add-on directory names. - (sysdeps_add_ons): New variable, AC_SUBST it. - Compute which add-ons contributed sysdeps directories. - * configure: Regenerated. - * config.make.in (sysdeps-add-ons): New substituted variable. - * Makerules (+sysdep_dirs, +sysdep-includes): Variables moved ... - * Makeconfig: ... to here. - (+sysdep_dirs): Append $(sysdeps-add-ons) here. - (+includes): Remove $(objpfx) include, already in $(+sysdep_dirs). - Remove $(includes). - (sysdep-makeconfigs): Use $(+sysdep_dirs). - ($(common-objpfx)shlib-versions.v.i): Likewise. - - * Makeconfig: Remove hair to set Makeconfig-add-on. - - * sysdeps/unix/Makefile (sysdirs): Remove export. - (asm_CPP): Variable removed. - ($(common-objpfx)sysd-syscalls): Pass them directly for the script. - - * sysdeps/posix/Makefile: New file. - * Makerules (L_tmpnam, TMP_MAX, L_ctermid, L_cuserid): Set non-posix - values here with ?=. - - * stdlib/gen-mpn-copy: File removed. - * stdlib/Makefile (distribute): Remove it. - * configure.in: Don't grok --with-gmp. - * configure: Regenerated. - - * configure.in (libc_cv_idn): Don't check it; libidn/configure does it. - * configure: Regenerated. - -2006-02-27 Ulrich Drepper - - * sysdeps/unix/sysv/linux/linkat.c (linkat): Allow flags to be set - when syscall is used. - * io/fcntl.h (AT_SYMLINK_FOLLOW): Define. - -2006-02-26 Roland McGrath - - * bare: Directory removed, saved in ports repository. - - * sysdeps/unix/common/Makefile: File removed. - * sysdeps/unix/common/glue-ctype.c: File removed. - * sysdeps/unix/common/configure.in: File removed. - * sysdeps/unix/common/configure: File removed. - - * sysdeps/unix/configure.in: File removed. - * sysdeps/unix/configure: File removed. - * sysdeps/unix/make_errlist.c: File removed. - * sysdeps/unix/Makefile ($(objpfx)errlist.c, $(objpfx)make_errlist): - Rules removed. - - * timezone/africa: Update from tzdata2006b (comment changes only). - * timezone/antarctica: Likewise. - * timezone/asia: Likewise. - * timezone/australasia: Likewise. - * timezone/backward: Likewise. - * timezone/etcetera: Likewise. - * timezone/europe: Likewise. - * timezone/factory: Likewise. - * timezone/iso3166.tab: Likewise. - * timezone/leapseconds: Likewise. - * timezone/northamerica: Likewise. - * timezone/pacificnew: Likewise. - * timezone/solar87: Likewise. - * timezone/solar88: Likewise. - * timezone/solar89: Likewise. - * timezone/southamerica: Likewise. - * timezone/systemv: Likewise. - * timezone/zone.tab: Likewise. - -2006-02-26 Ulrich Drepper - - * posix/unistd.h: Add fifth parameter to linkat. - * io/linkat.c: Likewise. - * sysdeps/unix/sysv/linux/linkat.c: Likewise. - * io/tst-linkat.c (do_test): Pass new parameter to linkat. - - * elf/do-lookup.h (do_lookup_x): No need to compare SKIP to NULL - before comparison with MAP. - - * elf/dl-sym.c (do_sym): For RTLD_NEXT, pass MATCH to - dl_lookup_symbol_x instead of L. - -2006-02-24 Mike Frysinger - - * sysdeps/gnu/net/if.h (IFF_DYNAMIC): New macro. - -2006-02-24 David S. Miller - - * configure.in: Use sparc/sparc32/sparcv9/sparcv9b in place - of sparc/sparc32/sparcv9b. - * sysdeps/sparc/sparc32/sparcv9b/Implies: File removed. - * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: File removed. - -2006-02-24 Roland McGrath - - * elf/elf.h (HWCAP_SPARC_BLKINIT): New macro. - * sysdeps/sparc/dl-procinfo.h (HWCAP_IMPORTANT): Add it. - (_DL_HWCAP_COUNT): Increase to 7. - * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add "v9v". - From David S. Miller . - - * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.c: Moved to ... - * sysdeps/sparc/dl-procinfo.c: ... here, new file. - * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Moved to ... - * sysdeps/sparc/dl-procinfo.h: ... here, new file. - (HWCAP_IMPORTANT): Include HWCAP_SPARC_V9 when [__WORDSIZE != 64]. - * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.c: File removed. - * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: File removed. - - * elf/sofini.c (__FRAME_END__): Mark as const. - * elf/soinit.c (__EH_FRAME_BEGIN__): Likewise. Add used attribute. - -2006-02-18 Joseph S. Myers - - * soft-fp/single.h (SFtype): Define. - (union _FP_UNION_S): Use it. - * soft-fp/double.h (DFtype): Define. - (union _FP_UNION_D): Use it. - * soft-fp/extended.h (XFtype): Define. - (union _FP_UNION_E): Use it. - * soft-fp/quad.h (TFtype): Define. - (union _FP_UNION_Q): Use it. - * soft-fp/soft-fp.h: Add _LIBC conditionals. - (SI_BITS, DI_BITS): Define. - * soft-fp/op-common.h (_FP_DECL): Add __attribute__((unused)) for - X##_c. - (_FP_CMP_EQ): Use parentheses for && inside ||. - (_FP_TO_INT): Use statement expressions in conditional controlling - constant shift. - (_FP_FROM_INT): Likewise. Take unsigned type as argument. - * soft-fp/op-2.h (_FP_FRAC_SLL_2, _FP_FRAC_SRL_2, _FP_FRAC_SRST_2, - _FP_FRAC_SRS_2, _FP_FRAC_ASSEMBLE_2): Use statement expressions in - conditional controlling possibly constant shift. - (_FP_FRAC_SRST_2, _FP_FRAC_SRS_2): Avoid left shift by exactly - _FP_W_TYPE_SIZE. - (_FP_FRAC_GT_2, _FP_FRAC_GE_2): Use parentheses for && inside ||. - * soft-fp/op-4.h (_FP_FRAC_SRST_4): Avoid left shift by exactly - _FP_W_TYPE_SIZE. - (__FP_FRAC_ADD_3, __FP_FRAC_ADD_4, __FP_FRAC_SUB_3, - __FP_FRAC_SUB_4): Use _FP_W_TYPE for carry flags. - * soft-fp/op-8.h (_FP_FRAC_SRS_8): Avoid left shift by exactly - _FP_W_TYPE_SIZE. - * soft-fp/floatdidf.c: Pass unsigned type and macro for type size. - * soft-fp/floatdisf.c: Likewise. - * soft-fp/floatditf.c: Likewise. - * soft-fp/floatsidf.c: Likewise. - * soft-fp/floatsisf.c: Likewise. - * soft-fp/floatsitf.c: Likewise. - * soft-fp/floatundidf.c: Likewise. - * soft-fp/floatundisf.c: Likewise. - * soft-fp/floatunditf.c: Likewise. - * soft-fp/floatunsidf.c: Likewise. - * soft-fp/floatunsisf.c: Likewise. - * soft-fp/floatunsitf.c: Likewise. - * soft-fp/fixdfdi.c: Pass macro for type size. - * soft-fp/fixdfsi.c: Likewise. - * soft-fp/fixsfdi.c: Likewise. - * soft-fp/fixsfsi.c: Likewise. - * soft-fp/fixtfdi.c: Likewise. - * soft-fp/fixtfsi.c: Likewise. - * soft-fp/fixunsdfdi.c: Likewise. - * soft-fp/fixunsdfsi.c: Likewise. - * soft-fp/fixunssfdi.c: Likewise. - * soft-fp/fixunssfsi.c: Likewise. - * soft-fp/fixunstfdi.c: Likewise. - * soft-fp/fixunstfsi.c: Likewise. - * sysdeps/alpha/soft-fp/ots_cvtqux.c: Pass unsigned type. - * sysdeps/alpha/soft-fp/ots_cvtqx.c: Likewise. - * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise. - * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise. - * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise. - * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise. - * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Likewise. - * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Likewise. - * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Likewise. - * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Likewise. - * soft-fp/adddf3.c: Use typedefs for argument and return types. - * soft-fp/addsf3.c: Likewise. - * soft-fp/addtf3.c: Likewise. - * soft-fp/divdf3.c: Likewise. - * soft-fp/divsf3.c: Likewise. - * soft-fp/divtf3.c: Likewise. - * soft-fp/eqdf2.c: Likewise. - * soft-fp/eqsf2.c: Likewise. - * soft-fp/eqtf2.c: Likewise. - * soft-fp/extenddftf2.c: Likewise. - * soft-fp/extendsfdf2.c: Likewise. - * soft-fp/extendsftf2.c: Likewise. - * soft-fp/fixdfdi.c: Likewise. - * soft-fp/fixdfsi.c: Likewise. - * soft-fp/fixsfdi.c: Likewise. - * soft-fp/fixsfsi.c: Likewise. - * soft-fp/fixtfdi.c: Likewise. - * soft-fp/fixtfsi.c: Likewise. - * soft-fp/fixunsdfdi.c: Likewise. - * soft-fp/fixunsdfsi.c: Likewise. - * soft-fp/fixunssfdi.c: Likewise. - * soft-fp/fixunssfsi.c: Likewise. - * soft-fp/fixunstfdi.c: Likewise. - * soft-fp/fixunstfsi.c: Likewise. - * soft-fp/floatdidf.c: Likewise. - * soft-fp/floatdisf.c: Likewise. - * soft-fp/floatditf.c: Likewise. - * soft-fp/floatsidf.c: Likewise. - * soft-fp/floatsisf.c: Likewise. - * soft-fp/floatsitf.c: Likewise. - * soft-fp/floatundidf.c: Likewise. - * soft-fp/floatundisf.c: Likewise. - * soft-fp/floatunditf.c: Likewise. - * soft-fp/floatunsidf.c: Likewise. - * soft-fp/floatunsisf.c: Likewise. - * soft-fp/floatunsitf.c: Likewise. - * soft-fp/gedf2.c: Likewise. - * soft-fp/gesf2.c: Likewise. - * soft-fp/getf2.c: Likewise. - * soft-fp/ledf2.c: Likewise. - * soft-fp/lesf2.c: Likewise. - * soft-fp/letf2.c: Likewise. - * soft-fp/muldf3.c: Likewise. - * soft-fp/mulsf3.c: Likewise. - * soft-fp/multf3.c: Likewise. - * soft-fp/negdf2.c: Likewise. - * soft-fp/negsf2.c: Likewise. - * soft-fp/negtf2.c: Likewise. - * soft-fp/sqrtdf2.c: Likewise. - * soft-fp/sqrtsf2.c: Likewise. - * soft-fp/sqrttf2.c: Likewise. - * soft-fp/subdf3.c: Likewise. - * soft-fp/subsf3.c: Likewise. - * soft-fp/subtf3.c: Likewise. - * soft-fp/truncdfsf2.c: Likewise. - * soft-fp/trunctfdf2.c: Likewise. - * soft-fp/trunctfsf2.c: Likewise. - * soft-fp/unorddf2.c: Likewise. - * soft-fp/unordsf2.c: Likewise. - * soft-fp/unordtf2.c: Likewise. - -2006-02-09 Joseph S. Myers - - * soft-fp/op-common.h (_FP_UNPACK_SEMIRAW): Define. - (_FP_OVERFLOW_SEMIRAW): Likewise. - (_FP_CHECK_SIGNAN_SEMIRAW): Likewise. - (_FP_CHOOSENAN_SEMIRAW): Likewise. - (_FP_EXP_NORMAL): Likewise. - (_FP_PACK_SEMIRAW): Likewise. - (_FP_ADD_INTERNAL): Rewrite to operate on semi-raw value. - (_FP_SUB): Likewise. - (_FP_TO_INT): Rewrite to operate on raw values. Don't set INVALID - exception for conversions where most negative representable - integer is correct truncated value, but do set INEXACT for such - conversions where appropriate. Don't always left-shift for - converting to a wider integer. - (_FP_FROM_INT): Rewrite to yield raw value. Correct shift for - integers with one more bits than (mantissa + guard) bits for the - floating point format. Don't use __FP_FRAC_SRS_1 for shifting - integers that may be wider than _FP_W_TYPE_SIZE. - (FP_CONV): Don't define. - (FP_EXTEND): Define. - (FP_TRUNC): Likewise. - * soft-fp/op-1.h (_FP_FRAC_SRST_1, __FP_FRAC_SRST_1): Define. - (_FP_FRAC_CONV_1_1): Don't define. - (_FP_FRAC_COPY_1_1): Define. - * soft-fp/op-2.h (_FP_FRAC_SRST_2): Define. - (_FP_FRAC_CONV_1_2, _FP_FRAC_CONV_2_1): Don't define. - (_FP_FRAC_COPY_1_2, _FP_FRAC_COPY_2_1): Define. - * soft-fp/op-4.h (_FP_FRAC_SRST_4): Define. - (_FP_FRAC_SRS_4): Define based on _FP_FRAC_SRST_4. - (_FP_FRAC_CONV_1_4, _FP_FRAC_CONV_2_4): Don't define. - (_FP_FRAC_COPY_1_4, _FP_FRAC_COPY_2_4): Define. - (_FP_FRAC_CONV_4_1, _FP_FRAC_CONV_4_2): Don't define. - (_FP_FRAC_COPY_4_1, _FP_FRAC_COPY_4_2): Define. - * soft-fp/single.h (_FP_FRACTBITS_S): Define. - (_FP_FRACXBITS_S): Define in terms of _FP_FRACXBITS_S. - (_FP_WFRACXBITS_S): Likewise. - (_FP_QNANBIT_SH_S, _FP_IMPLBIT_SH_S): Define. - (FP_UNPACK_SEMIRAW_S, FP_UNPACK_SEMIRAW_SP): Define. - (FP_PACK_SEMIRAW_S, FP_PACK_SEMIRAW_SP): Define. - * soft-fp/double.h (_FP_QNANBIT_SH_D, _FP_IMPLBIT_SH_D): Define. - (FP_UNPACK_SEMIRAW_D, FP_UNPACK_SEMIRAW_D): Define - (FP_PACK_SEMIRAW_D, FP_PACK_SEMIRAW_DP): Define. - * soft-fp/extended.h (_FP_QNANBIT_SH_E, _FP_IMPLBIT_SH_E): Define. - (FP_UNPACK_EP): Correct typo. - (FP_UNPACK_SEMIRAW_E, FP_UNPACK_SEMIRAW_EP): Define. - (FP_PACK_SEMIRAW_E, FP_PACK_SEMIRAW_EP): Define. - * soft-fp/quad.h (_FP_QNANBIT_SH_Q, _FP_IMPLBIT_SH_Q): Define. - (FP_UNPACK_SEMIRAW_Q, FP_UNPACK_SEMIRAW_QP): Define. - (FP_PACK_SEMIRAW_Q, FP_PACK_SEMIRAW_QP): Define. - * soft-fp/fixdfdi.c: Use unsigned type for result of conversion. - * soft-fp/fixdfsi.c: Likewise. - * soft-fp/fixsfdi.c: Likewise. - * soft-fp/fixsfsi.c: Likewise. - * soft-fp/fixtfdi.c: Likewise. - * soft-fp/fixtfsi.c: Likewise. - * sysdeps/alpha/soft-fp/ots_cvtxq.c: Likewise. - * sysdeps/alpha/soft-fp/ots_nintxq.c: Likewise. - * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise. - * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise. - * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Likewise. - * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise. - * soft-fp/adddf3.c: Update for changed soft-fp interfaces. - * soft-fp/addsf3.c: Likewise. - * soft-fp/addtf3.c: Likewise. - * soft-fp/extenddftf2.c: Likewise. - * soft-fp/extendsfdf2.c: Likewise. - * soft-fp/extendsftf2.c: Likewise. - * soft-fp/fixdfdi.c: Likewise. - * soft-fp/fixdfsi.c: Likewise. - * soft-fp/fixsfdi.c: Likewise. - * soft-fp/fixsfsi.c: Likewise. - * soft-fp/fixtfdi.c: Likewise. - * soft-fp/fixtfsi.c: Likewise. - * soft-fp/fixunsdfdi.c: Likewise. - * soft-fp/fixunsdfsi.c: Likewise. - * soft-fp/fixunssfdi.c: Likewise. - * soft-fp/fixunssfsi.c: Likewise. - * soft-fp/fixunstfdi.c: Likewise. - * soft-fp/fixunstfsi.c: Likewise. - * soft-fp/floatdidf.c: Likewise. - * soft-fp/floatdisf.c: Likewise. - * soft-fp/floatditf.c: Likewise. - * soft-fp/floatsidf.c: Likewise. - * soft-fp/floatsisf.c: Likewise. - * soft-fp/floatsitf.c: Likewise. - * soft-fp/floatundidf.c: Likewise. - * soft-fp/floatundisf.c: Likewise. - * soft-fp/floatunditf.c: Likewise. - * soft-fp/floatunsidf.c: Likewise. - * soft-fp/floatunsisf.c: Likewise. - * soft-fp/floatunsitf.c: Likewise. - * soft-fp/subdf3.c: Likewise. - * soft-fp/subsf3.c: Likewise. - * soft-fp/subtf3.c: Likewise. - * soft-fp/truncdfsf2.c: Likewise. - * soft-fp/trunctfdf2.c: Likewise. - * soft-fp/trunctfsf2.c: Likewise. - * sysdeps/alpha/soft-fp/ots_add.c: Likewise. - * sysdeps/alpha/soft-fp/ots_cvtqux.c: Likewise. - * sysdeps/alpha/soft-fp/ots_cvtqx.c: Likewise. - * sysdeps/alpha/soft-fp/ots_cvttx.c: Likewise. - * sysdeps/alpha/soft-fp/ots_cvtxq.c: Likewise. - * sysdeps/alpha/soft-fp/ots_cvtxt.c: Likewise. - * sysdeps/alpha/soft-fp/ots_nintxq.c: Likewise. - * sysdeps/alpha/soft-fp/ots_sub.c: Likewise. - * sysdeps/powerpc/soft-fp/q_add.c: Likewise. - * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise. - * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise. - * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise. - * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise. - * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise. - * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise. - * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise. - * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise. - * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise. - * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise. - * sysdeps/powerpc/soft-fp/q_sub.c: Likewise. - * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise. - * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise. - * sysdeps/sparc/sparc32/soft-fp/q_add.c: Likewise. - * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Likewise. - * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Likewise. - * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Likewise. - * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Likewise. - * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Likewise. - * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Likewise. - * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Likewise. - * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Likewise. - * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Likewise. - * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Likewise. - * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Likewise. - * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Likewise. - * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Likewise. - * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Likewise. - -2006-02-23 Roland McGrath - - * include/libc-symbols.h: Fix comment typo. - From Peter Kjellerstedt . - - * sysdeps/unix/sysv/linux/i386/fchownat.c: Diddle code so that "fail" - label is always used. - - [BZ #2172] - * bits/syslog-path.h: New file. - * misc/Makefile (headers): Add it. - * misc/sys/syslog.h: Include it. - (_PATH_LOG): Macro removed. - From Robert Millan . - - * sysdeps/unix/sysv/linux/ftruncate64.c: Find generic implementation - in misc/, not posix/. - Reported by David S. Miller . - -2006-02-23 Jakub Jelinek - - * posix/sched_yield.c (__sched_yield): Add libc_hidden_def. - * sysdeps/mach/sched_yield.c (__sched_yield): Likewise. - -2006-02-22 Roland McGrath - - * po/libc.pot: Regenerated. - -2006-02-22 Jakub Jelinek - - * nis/ypclnt.c (yperr_string, ypbinderr_string): Add N_() - around string literals. - -2005-10-03 Jakub Jelinek - - * nscd/selinux.c (audit_init): Print error string in the failure - message. - -2006-02-21 Roland McGrath - - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_CLONE_THREAD_FLAGS): Consolidate definitions. - - * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Update comment, remove - __THROW from epoll_wait, to match .../linux/sys/epoll.h file. - -2006-02-03 Jakub Jelinek - - * manual/filesys.texi (futimes): Fix prototype. - -2004-08-09 Paul Eggert - - [BZ #315] - * manual/memory.texi (Obstacks Data Alignment): The default - alignment is not 4: it is enough to hold any type of data. - Problem reported by Benno in - . - -2005-11-15 Robert Millan - - [BZ #2161] - * manual/llio.texi (read, write): Document EINVAL on unaligned access. - -2006-02-21 Roland McGrath - - * sysdeps/i386/i686/memset.S: Fix treatment of unaligned pointer. - Reported by John Zulauf . - -2004-11-23 Richard Sandiford - - * configure.in (libc_cv_gcc_dwarf2_unwind_info): Delete. - (HAVE_DWARF2_UNWIND_INFO{,_STATIC}): Remove AC_DEFINEs. - * configure: Regenerate. - * config.h.in (HAVE_DWARF2_UNWIND_INFO{,_STATIC}): Remove undefs. - * elf/soinit.c: Don't include gccframe.h. - (__EH_FRAME_BEGIN__): Define unconditionally. - (__register_frame_info, __deregister_frame_info) - (__register_frame_info_bases, __deregister_frame_info_bases) - (__register_frame, __deregister_frame): Remove declarations. - (__libc_global_ctors, __libc_fini): Don't call registry functions. - * elf/sofini.c (__EH_FRAME_END__): Define unconditionally. - -2006-01-18 Samuel Thibault - - [BZ #2178] - * sysdeps/mach/hurd/getsid.c (getsid): When parameter PID is zero, - use _hurd_pid instead. - -2006-02-20 Richard Henderson - - * sysdeps/alpha/soft-fp/Makefile (CPPFLAGS): Add soft-fp include - to math subdir. - * sysdeps/alpha/soft-fp/e_sqrtl.c: Don't use local-soft-fp.h. - (__ieee754_sqrtl): Add _round local variable. - * sysdeps/unix/sysv/linux/alpha/fpu/Implies: Remove. - - * sysdeps/unix/sysv/linux/alpha/fxstatat.c: Fix hidden defs. - -2006-02-20 Roland McGrath - - * sysdeps/mips: Directory removed, saved in ports repository. - * sysdeps/unix/mips: Likewise. - * sysdeps/unix/sysv/linux/mips: Likewise. - * sysdeps/mach/mips: Likewise. - * sysdeps/mach/hurd/mips: Likewise. - * shlib-versions: Remove mips matches, now in ports fragment. - * sysdeps/unix/sysv/linux/kernel-features.h: Likewise. - * configure.in (machine): Likewise. - * configure: Regenerated. - - * hurd/hurd/xattr.h: New file. - * hurd/xattr.c: New file. - * hurd/Makefile (routines): Add it. - * sysdeps/mach/hurd/fgetxattr.c: New file. - * sysdeps/mach/hurd/flistxattr.c: New file. - * sysdeps/mach/hurd/fremovexattr.c: New file. - * sysdeps/mach/hurd/fsetxattr.c: New file. - * sysdeps/mach/hurd/getxattr.c: New file. - * sysdeps/mach/hurd/lgetxattr.c: New file. - * sysdeps/mach/hurd/listxattr.c: New file. - * sysdeps/mach/hurd/lsetxattr.c: New file. - * sysdeps/mach/hurd/removexattr.c: New file. - * sysdeps/mach/hurd/setxattr.c: New file. - -2006-02-15 Thomas Schwinge - - [BZ #2329] - * include/unistd.h (__getresuid, __getresgid, __setresuid) - (__setresgid): Fix argument name order in prototypes. - * posix/unistd.h (getresuid, getresgid, setresuid, setresgid): - Likewise. - * posix/getresuid.c (__getresuid): Fix argument order in definition. - * posix/getresgid.c (__getresgid): Likewise. - * posix/setresuid.c (__setresuid): Likewise. - * posix/setresgid.c (__setresgid): Likewise. - * sysdeps/mach/hurd/getresuid.c (__getresuid): Likewise. - * sysdeps/mach/hurd/getresgid.c (__getresgid): Likewise. - * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise. - * sysdeps/mach/hurd/setresgid.c (__setresgid): Likewise. - Reported by Samuel Thibault . - -2006-02-13 Mike Frysinger - - [BZ #2380] - * string/tester.c (test_strnlen): New function. - (test_strchr): Call it. - (test_strncat): Test lengths where the sign bit is set. - (test_strncmp): Likewise. - -2006-02-17 Jakub Jelinek - - * include/atomic.h (atomic_and, atomic_or): Define. - -2006-02-15 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Define MADV_DONTFORK - and MADV_DOFORK. - * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise. - -2006-02-13 Jakub Jelinek - - * sysdeps/unix/sysv/linux/not-cancel.h (__openat_not_cancel, - __openat64_not_cancel): Remove prototypes. - (__openat_nocancel, __openat64_nocancel): New prototypes or defines. - (openat_not_cancel, openat_not_cancel_3, openat64_not_cancel, - openat64_not_cancel_3): Use them. - -2006-02-12 Ulrich Drepper - - * io/ftw.c: Start using *at functions. - * io/ftw64.c: Likewise. - - * sysdeps/generic/not-cancel.h: Define openat_not_cancel, - openat_not_cancel_3, openat64_not_cancel, and openat64_not_cancel_3. - * sysdeps/unix/sysv/linux/not-cancel.h: Likewise. - - * sysdeps/unix/sysv/linux/openat.c: Create separate _nocancel - functions. - - * io/fxstatat.c: Add __fxstatat alias. - * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Likewise. - * sysdeps/unix/sysv/linux/fxstatat.c: Likewise. Add support for - newfstatat syscall. - * sysdeps/unix/sysv/linux/i386/fxstatat.c: Add __fxstatat alias. - Add support for fstatat64 syscall. - * include/sys/stat.h: Declare __fxstatat. - * io/fxstatat64.c: Add __fxstatat64 alias. - * sysdeps/unix/sysv/linux/fxstatat64.c: Add support for fstatat64 - syscall. - - * dirent/fdopendir.c: Add __fdopendir alias. - * sysdeps/unix/fdopendir.c: Likewise. - * sysdeps/mach/hurd/fdopendir.c: Likewise. - * include/dirent.h: Add __fdopendir declaration. - - [BZ #2226] - * libio/wgenops.c (_IO_wsetb): Use correct size of wide char - buffer in FREE_BUF call. - -2006-02-08 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/sched.h: Declare unshare. - * sysdeps/unix/sysv/linux/Versions [libc, GLIBC_2.4]: Export - unshare. - * sysdeps/unix/sysv/linux/syscalls.list: Add unshare syscall. - - * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Add some - preprocessor magic so that the compiler won't see the prototypes - for the functions we are defining as stubs. - -2006-02-05 Ulrich Drepper - - * io/ftw.c (ftw_startup): Use fchdir to return to original - directory for FTW_CHDIR. - -2006-02-03 Ulrich Drepper - - * manual/stdio.texi (Formatted Output Functions): Fix make_message - example. Patch by NIIBE Yutaka . - -2006-02-03 Roland McGrath - - [BZ #2268] - * sysdeps/posix/profil.c (__profil): Use __profile_frequency to choose - timer interval, don't assume smallest possible interval is it. - -2006-02-03 Jakub Jelinek - - * sysdeps/powerpc/fpu/bits/fenvinline.h (fegetround): Make asm - volatile. - - * stdlib/bits/stdlib-ldbl.h (qecvt, qfcvt, qgcvt, qecvt_r, qfcvt_r): - Guard with [__USE_SVID || __USE_XOPEN_EXTENDED]. - - * math/math.h [__LDBL_COMPAT && __USE_ISOC99] (nexttowardl): New - prototype. - - * math/math.h (__nldbl_nexttowardf): Put __THROW before - __attribute__ ((__const__)). - (__MATHDECL_2): Use __REDIRECT_NTH instead of __REDIRECT - followed by __THROW. - -2006-02-02 Ulrich Drepper - - * sysdeps/unix/sysv/linux/futimesat.c [__NR_futimesat] - (futimesat): If file is NULL use __futimes. - * include/sys/time.h: Declare __futimes. - -2006-02-02 Roland McGrath - - * sysdeps/unix/sysv/linux/openat.c (__atfct_seterrno): Use the same - fstat check for ENOENT that should be EBADF as for ENOTDIR, and also - check for missing /proc the same way. - - * include/errno.h [__cplusplus]: Avoid extra header magic for C++. - - * manual/install.texi (Tools for Compilation): Require gcc 3.4, - recommend 4.1, advise 4.0 for powerpc64, and note 4.1 required for - powerpc, s390{x,} with new long double. - * INSTALL: Regenerated. - - * timezone/private.h: Update from tzcode2006a. - * timezone/scheck.c: Likewise. - * timezone/asia: Update from tzdata2006a. - * timezone/northamerica: Likewise. - * timezone/zone.tab: Likewise. - - * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): New variable. - (CFLAGS-mcount.c): Use it instead of -msoft-float. - * sysdeps/powerpc/powerpc64/elf/Makefile - (CFLAGS-dl-runtime.os, CFLAGS-dl-lookup.os, CFLAGS-dl-misc.os, - CFLAGS-rtld-mempcpy.os, CFLAGS-rtld-memmove.os, CFLAGS-rtld-memchr.os, - CFLAGS-rtld-strnlen.os): Likewise. - -2006-02-01 Roland McGrath - - * sysdeps/ieee754/ldbl-opt/Makefile (sysdep-CFLAGS): Avoid adding - -mlong-double-128 when it's already there. - -2006-02-01 Roland McGrath - - * mach/Machrules ($(objpfx)%.uh, $(objpfx)%.__h): Use static pattern - rules for these, not implicit rules. - ($(objpfx)%.h): Likewise. - Reported by Thomas Schwinge . - -2006-02-01 Jakub Jelinek - - * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Use long_double_symbol - even for libm. - - * libio/bits/libio-ldbl.h (_IO_vfwscanf, _IO_vfwprintf): Remove - __LDBL_REDIR_DECL. - - * math/bits/mathcalls.h: Guard __END_NAMESPACE_C99 with the - same #if condition as corresponding __BEGIN_NAMESPACE_C99. - (scalb): Don't define only if __USE_ISOC99. - - * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Fix a typo. - * sysdeps/s390/fpu/libm-test-ulps: Remove llrint ulps. - -2006-01-19 Thomas Schwinge - - * libio/genops.c: Include . - -2006-02-01 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Add - some more entries. - * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_02_known): Likewise. - -2006-01-31 Jakub Jelinek - - * sysdeps/unix/sysv/linux/alpha/fpu/Implies: New file. - * sysdeps/alpha/fpu/s_ceil.c: Include math_ldbl_opt.h, add - compat_symbol if LONG_DOUBLE_COMPAT. - * sysdeps/alpha/fpu/s_copysign.c: Likewise. - * sysdeps/alpha/fpu/s_fabs.c: Likewise. - * sysdeps/alpha/fpu/s_floor.c: Likewise. - * sysdeps/alpha/fpu/s_rint.c: Likewise. - * sysdeps/alpha/soft-fp/e_sqrtl.c: New file. - * sysdeps/alpha/Implies: Add ieee754/ldbl-128. - - * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: New file. - * sysdeps/unix/sysv/linux/alpha/Implies: Add ieee754/ldbl-64-128, - ieee754/ldbl-opt. - * sysdeps/alpha/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Remove. - * sysdeps/unix/sysv/linux/alpha/nldbl-abi.h: New file. - * sysdeps/unix/sysv/linux/alpha/Makefile - [$(subdir) = math] (libm-routines): Add multc3, divtc3. - - * math/divtc3.c: New file. - * math/multc3.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile - [$(subdir) = math] (libm-routines): Add multc3, divtc3. - - * sysdeps/unix/sysv/linux/sparc/sparc32/fpu/Implies: New file. - * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include math.h and - math_ldbl_opt.h. - (fabsl): Use long_double_symbol instead of weak_alias. - * sysdeps/sparc/sparc32/fpu/s_fabs.c: Include math.h and - math_ldbl_opt.h. - [LONG_DOUBLE_COMPAT] (fabsl): Add compat_symbol. - -2006-01-31 Martin Schwidefsky - Jakub Jelinek - - * sysdeps/unix/sysv/linux/s390/Implies: New file. - * sysdeps/unix/sysv/linux/s390/fpu/Implies: New file. - * sysdeps/unix/sysv/linux/s390/nldbl-abi.h: New file. - * sysdeps/s390/fpu/bits/mathinline.h (signbitl, sqrtl): New inlines. - * sysdeps/s390/bits/mathdef.h: New file. - * sysdeps/s390/fpu/e_sqrtl.c: New file. - * sysdeps/s390/s390-32/bits/wordsize.h (__LONG_DOUBLE_MATH_OPTIONAL, - __NO_LONG_DOUBLE_MATH): Define. - * sysdeps/s390/s390-64/bits/wordsize.h: Likewise. - * sysdeps/s390/Implies: Add ieee754/ldbl-128. - * sysdeps/s390/ldbl2mpn.c: File removed. - * sysdeps/s390/fpu/libm-test-ulps: Updated. - -2006-01-31 Roland McGrath - - * sysdeps/alpha/fpu/bits/mathdef.h: Moved to ... - * sysdeps/alpha/bits/mathdef.h: ... here. - * sysdeps/i386/fpu/bits/mathdef.h: Moved to ... - * sysdeps/i386/bits/mathdef.h: ... here. - * sysdeps/mips/fpu/bits/mathdef.h: Moved to ... - * sysdeps/mips/bits/mathdef.h: ... here. - * sysdeps/m68k/fpu/bits/mathdef.h: Moved to ... - * sysdeps/m68k/bits/mathdef.h: ... here. - * sysdeps/powerpc/fpu/bits/mathdef.h: Moved to ... - * sysdeps/powerpc/bits/mathdef.h: ... here. - * sysdeps/sparc/fpu/bits/mathdef.h: Moved to ... - * sysdeps/sparc/bits/mathdef.h: ... here. - * sysdeps/ia64/fpu/bits/mathdef.h: Moved to ... - * sysdeps/ia64/bits/mathdef.h: ... here. - * sysdeps/sh/sh4/fpu/bits/mathdef.h: Moved to ... - * sysdeps/sh/sh4/bits/mathdef.h: ... here. - * sysdeps/x86_64/fpu/bits/mathdef.h: Moved to ... - * sysdeps/x86_64/bits/mathdef.h: ... here. - -2006-01-31 Jakub Jelinek - - * sysdeps/unix/sysv/linux/i386/fxstatat.c [XSTAT_IS_STAT64] - (__fxstatat64): Add libc_hidden_ver. - * sysdeps/unix/sysv/linux/fxstatat.c [XSTAT_IS_STAT64] (__fxstatat64): - Likewise. - - * sysdeps/sparc/sparc64/jmpbuf-unwind.h: Remove jmpbuf-offsets.h - include. - -2006-01-31 Roland McGrath - - * sysdeps/powerpc/fpu/libm-test-ulps: Update by Jakub. - - * inet/rcmd.c (iruserfopen): Remove redundant initialization. - From Bernhard Fischer . - - * posix/regcomp.c (calc_eclosure_iter): Remove dead variables. - Reported by Mike Frysinger . - -2006-01-30 Steven Munroe - - * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Correct index - for __sincosl_table. - * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise. - * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise. - - * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Correct sign of 0.0. - * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise. - - * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: New file. - -2006-01-29 Daniel Jacobowitz - - * sysdeps/unix/sysv/linux/mips/bits/errno.h (ECANCELED, - EOWNERDEAD, ENOTRECOVERABLE): Define. - - * sysdeps/unix/sysv/linux/mips/bits/mman.h (MADV_REMOVE): Define. - - * sysdeps/mips/dl-machine.h (RTLD_START): Correct offsets for - N64. - - * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct msghdr): Use - size_t for msg_controllen. - (__cmsg_nxthdr): Correct test. - (__SCM_CONNECT): Delete. - -2006-01-30 Alexandre Oliva - Roland McGrath - - * configure.in (fno_unit_at_a_time): Set to - -fno-toplevel-reorder if the compiler supports it. - Otherwise use -fno-unit-at-a-time unconditionally. - * configure: Regenerated. - -2006-01-30 Jakub Jelinek - - * sysdeps/powerpc/fpu/libm-test-ulps: Merge ulps with older - libm-test-ulps rather than overwrite it. Remove excessively high ulps. - -2006-01-29 Joseph S. Myers - - * soft-fp/double.h (FP_CMP_UNORD_D): Also define in - [_FP_W_TYPE_SIZE >= 64] case. - * soft-fp/extended.h (FP_CMP_UNORD_E): Likewise. - * soft-fp/quad.h (FP_CMP_UNORD_Q): Likewise. - -2006-01-27 Dwayne Grant McConnell - Jakub Jelinek - Roland McGrath - Steven Munroe - Alan Modra - - * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Comment fix. - * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise. - - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - - * math/libm-test.inc (check_float_internal): Allow ulp <= 0.5. - (erfc_test): Don't run erfcl (27.0L) test if erfcl (27.0L) is - denormal. - [TEST_LDOUBLE] (ceil_test, floor_test, llrint_test, llround_test, - rint_test, round_test, trunc_test): Add new tests. - - * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: New file. - * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: New file. - * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S: New file. - * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: New file. - * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: New file. - * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: New file. - * sysdeps/powerpc/powerpc32/fpu/s_isnan.c: New file. - - * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: New file. - * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: New file. - * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: New file. - * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: New file. - * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: New file. - * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: New file. - * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: New file. - * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: New file. - * sysdeps/powerpc/powerpc64/fpu/s_isnan.c: New file. - * sysdeps/powerpc/powerpc64/fpu/s_llrintl.S: New file. - * sysdeps/powerpc/powerpc64/fpu/s_llroundl.S: New file. - * sysdeps/powerpc/powerpc64/fpu/s_lrintl.S: New file. - * sysdeps/powerpc/powerpc64/fpu/s_lroundl.S: New file. - * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: New file. - * sysdeps/powerpc/powerpc64/fpu/s_rintl.S: New file. - * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: New file. - * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: New file. - - * sysdeps/unix/sysv/linux/powerpc/Implies: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: New file. - * sysdeps/unix/sysv/linux/powerpc/configure.in: New file. - * sysdeps/unix/sysv/linux/powerpc/configure: New file. - * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h - (__LONG_DOUBLE_MATH_OPTIONAL): Define. - (__NO_LONG_DOUBLE_MATH): Define. - * sysdeps/unix/sysv/linux/powerpc/nldbl-abi.h: New file. - * sysdeps/powerpc/fpu/s_isnan.c: Include math_ldbl_opt.h. - * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include math_ldbl_opt.h. - [LONG_DOUBLE_COMPAT] (ceill): Add compatibility symbols. - * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include math_ldbl_opt.h. - [LONG_DOUBLE_COMPAT] (copysignl): Add compatibility symbols. - * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include math_ldbl_opt.h. - [LONG_DOUBLE_COMPAT] (floorl): Add compatibility symbols. - * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include math_ldbl_opt.h. - [LONG_DOUBLE_COMPAT] (llrintl, lrintl): Add compatibility symbols. - * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include math_ldbl_opt.h. - [LONG_DOUBLE_COMPAT] (llroundl, lroundl): Add compatibility symbols. - * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include math_ldbl_opt.h. - [LONG_DOUBLE_COMPAT] (rintl): Add compatibility symbols. - * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include math_ldbl_opt.h. - [LONG_DOUBLE_COMPAT] (roundl): Add compatibility symbols. - * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include math_ldbl_opt.h. - [LONG_DOUBLE_COMPAT] (truncl): Add compatibility symbols. - * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include math_ldbl_opt.h. - [LONG_DOUBLE_COMPAT] (ceill): Add compatibility symbols. - * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include math_ldbl_opt.h. - [LONG_DOUBLE_COMPAT] (copysignl): Add compatibility symbols. - * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include math_ldbl_opt.h. - [LONG_DOUBLE_COMPAT] (floorl): Add compatibility symbols. - * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include math_ldbl_opt.h. - [LONG_DOUBLE_COMPAT] (lrintl): Add compatibility symbols. - * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include math_ldbl_opt.h. - [LONG_DOUBLE_COMPAT] (llrintl): Add compatibility symbols. - * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include math_ldbl_opt.h. - [LONG_DOUBLE_COMPAT] (lroundl): Add compatibility symbols. - * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include math_ldbl_opt.h. - [LONG_DOUBLE_COMPAT] (rintl): Add compatibility symbols. - * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include math_ldbl_opt.h. - [LONG_DOUBLE_COMPAT] (roundl): Add compatibility symbols. - * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include math_ldbl_opt.h. - [LONG_DOUBLE_COMPAT] (truncl): Add compatibility symbols. - - * misc/qefgcvt_r.c [LDBL_MIN_10_EXP == -291] (FLOAT_MIN_10_NORM): New. - - * sysdeps/powerpc/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Remove. - * sysdeps/powerpc/Implies: Add ieee754/ldbl-128ibm. - * sysdeps/powerpc/powerpc32/Implies: Remove powerpc/soft-fp. - * sysdeps/ieee754/ldbl-128ibm/Makefile: New file. - * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: New file. - * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/e_expl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: New file. - * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: New file. - * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: New file. - * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: New file. - * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: New file. - * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: New file. - * sysdeps/ieee754/ldbl-128ibm/e_logl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/e_powl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: New file. - * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/ieee754.h: New file. - * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: New file. - * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: New file. - * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: New file. - * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: New file. - * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: New file. - * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: New file. - * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: New file. - * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: New file. - * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: New file. - * sysdeps/ieee754/ldbl-128ibm/t_sincosl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/w_expl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: New file. - * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: New file. - * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: New file. - - * sysdeps/ieee754/ldbl-128/e_powl.c: Fix old comment. - -2006-01-22 Aurelien Jarno - - * sysdeps/gnu/errlist-compat.awk: Reduce required number of symbols in - sanity check. - -2006-01-21 Ulrich Drepper - - * sysdeps/unix/sysv/linux/renameat.c (__atfct_seterrno_2): Correctly - return EBADF for non-existing file descriptors. - * sysdeps/unix/sysv/linux/openat.c (__atfct_seterrno): Likewise. - * io/tst-openat.c (do_test): Add some more tests. - * io/tst-faccessat.c (do_test): Likewise. - * io/tst-renameat.c (do_test): Likewise. - * io/tst-fstatat.c (do_test): Likewise. - * io/tst-fchmodat.c (do_test): Likewise. - * io/tst-fchownat.c (do_test): Likewise. - -2006-01-21 Roland McGrath - - * sysdeps/unix/sysv/linux/faccessat.c: Move RESULT defn inside block. - - * misc/tst-pselect.c: Include . - - * time/time.h [__need_timespec et al]: Include here too. - - * stdlib/fpioconst.c: Fix whitespace typo. - -2006-01-20 Jakub Jelinek - - * sysdeps/ieee754/ldbl-64-128/s_nexttowardfd.c: Moved to... - * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: ... here. New file. - * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (long_double_symbol_1): For - C define again using _weak_alias, for assembler use weak_alias. - - * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: New file. - * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: New file. - * sysdeps/powerpc/fpu/bits/mathinline.h (__CPU_HAS_FSQRT): New macro. - (__ieee754_sqrt, __ieee754_sqrtf): Use it. - -2006-01-21 Ulrich Drepper - - * sysdeps/unix/sysv/linux/pselect.c (__pselect): Allow actual - system call code to be redefined in macro CALL_PSELECT6. - * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc] - (sysdep_routines): Add call_pselect6. - * sysdeps/unix/sysv/linux/i386/call_pselect6.S: New file. - * sysdeps/unix/sysv/linux/i386/pselect.c: New file. - * misc/Makefile (tests): Add tst-pselect. - * misc/tst-pselect.c: New file. - -2006-01-20 Roland McGrath - - * sysdeps/mach/hurd/ppoll.c: New file. - -2006-01-20 Ulrich Drepper - - * sysdeps/unix/sysv/linux/pselect.c: Fix typo in declaration. - - * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Cast k_dev - value to unsigned int to match kernel. - - * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Try using the - syscall in more cases. - - * io/Makefile (tests): Add tst-symlinkat, tst-linkat, tst-readlinkat, - tst-mkdirat, tst-mknodat, and tst-mkfifoat. - * io/tst-symlinkat.c: New file. - * io/tst-linkat.c: New file. - * io/tst-readlinkat.c: New file. - * io/tst-mkdirat.c: New file. - * io/tst-mknodat.c: New file. - * io/tst-mkfifoat.c: New file. - - * dirent/Makefile (tests): Add tst-fdopendir2. - * dirent/tst-fdopendir2.c: New file. - -2006-01-20 Alexandre Oliva - - * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h - (sigcontext_struct) [__WORDSIZE == 32]: Define. - -2006-01-20 Kaz Kojima - - * sysdeps/sh/sh4/__longjmp.S: Demangle also r14 and r15. - * sysdeps/sh/sh3/__longjmp.S: Likewise. - * sysdeps/sh/sh4/setjmp.S: Mangle also r14 and r15. - * sysdeps/sh/sh3/setjmp.S: Likewise. - * sysdeps/unix/sysv/linux/sh/sysdep.h [__ASSEMBLER__] - (PTR_MANGLE): Add temporary register as the second parameter. - (PTR_DEMANGLE): Likewize. - (PTR_MANGLE2, PTR_DEMANGLE2): Define. - -2006-01-19 Ulrich Drepper - - * include/fcntl.h: Declare __have_atfcts. - * sysdeps/unix/sysv/linux/faccessat.c: Use syscall if available. - * sysdeps/unix/sysv/linux/fchmodat.c: Likewise. - * sysdeps/unix/sysv/linux/fchownat.c: Likewise. - * sysdeps/unix/sysv/linux/futimesat.c: Likewise. - * sysdeps/unix/sysv/linux/linkat.c: Likewise. - * sysdeps/unix/sysv/linux/mkdirat.c: Likewise. - * sysdeps/unix/sysv/linux/openat.c: Likewise. - * sysdeps/unix/sysv/linux/readlinkat.c: Likewise. - * sysdeps/unix/sysv/linux/renameat.c: Likewise. - * sysdeps/unix/sysv/linux/symlinkat.c: Likewise. - * sysdeps/unix/sysv/linux/unlinkat.c: Likewise. - * sysdeps/unix/sysv/linux/xmknodat.c: Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Likewise. - * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PSELECT, - __ASSUME_PPOLL, and __ASSUME_ATFCTS if possible. - - * io/ppoll.c: New file. - * io/Makefile (routines): Add ppoll. - (CFLAGS-ppoll.c): Define. - * io/Versions: Export ppoll for GLIBC_2.4. - * io/sys/poll.h: Declare ppoll. - * sysdeps/unix/sysv/linux/ppoll.c: New file. - - * misc/pselect.c: Make it possible to include this file to define - the generic code as a static function. - * sysdeps/unix/sysv/linux/pselect.c: New file. - -2006-01-19 Jakub Jelinek - - * misc/pselect.c (__pselect): Remove static. - Include sysdep-cancel.h again. Add LIBC_CANCEL_HANDLED (). - -2006-01-18 Roland McGrath - - * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h [__ASSEMBLER__]: Don't - include problematic headers for assembler. - - * Makerules ($(+sysdir_pfx)sysd-rules): Don't emit m_%.c rules, - instead emit m_%.o compilation rules from s_%.? source files. - * math/Makefile ($(objpfx)m_%$o: s_%.c): New rule using o-iterator. - -2006-01-18 Ulrich Drepper - - * misc/pselect.c (__pselect): No need to enable async cancellation - here. This is done in select. - - * sysdeps/unix/sysv/linux/fxstatat.c [STAT_IS_KERNEL_STAT] - (__fxstatat): Correct handling of invalid vers values. - - [BZ #2173] - * libio/fileops.c (_IO_new_file_fopen): If ,ccs= is given, also - set vtable to the wide vtable. - * libio/tst-fopenloc2.c: New file. - * libio/Makefile (tests): Add tst-fopenloc2. - -2006-01-18 Roland McGrath - - * sysdeps/ieee754/ldbl-opt/nldbl-dprintf.c: Restore - attribute_hidden here. - - * sysdeps/sparc/sparc64/Makefile (long-double-fcts): Move this ... - * sysdeps/sparc/Makefile (long-double-fcts): ... to here. - -2006-01-18 Jakub Jelinek - - * elf/dl-deps.c (_dl_map_object_deps): In case of failure also make a - copy of objname string. - -2006-01-16 Roland McGrath - - * Makerules ($(+sysdir_pfx)sysd-rules): Emit pattern rules to install - into $(inst_includedir)/%.h from sysdirs. - [headers]: Change static pattern rule for installing - $(headers) to do only those not matching %.h. - ($(inst_includedir)/%.h: $(objpfx)%.h): Add this pattern rule instead. - ($(inst_includedir)/%.h: %.h): Likewise. - ($(inst_includedir)/%.h: $(..)include/%.h): Likewise. - - * Makefile ($(inst_includedir)/gnu/stubs.h): - Add $(make-target-directory). - - * stdlib/Makefile (headers): Restore headers removed in last change. - -2006-01-16 Jakub Jelinek - - * math/e_exp2l.c: Don't include stdio.h, errno.h, stub-tag.h, include - math_private.h. - (__ieee754_exp2l): Compute for now as expl (M_LN2l * x) - instead of failing. - (exp2l): Remove stub_warning. - -2006-01-15 Jakub Jelinek - - * io/tst-faccessat.c (do_test): Don't fail if geteuid () == 0. - -2006-01-16 Ulrich Drepper - - * sysdeps/unix/sysv/linux/kernel-features.h: Define - __ASSUME_TMPFS_NAME. - * sysdeps/unix/sysv/linux/shm_open.c [__ASSUME_TMPFS_NAME] - (where_is_shmfs): Don't test for obsolete shm filesystem name. - - * sysdeps/unix/sysv/linux/getsysstats.c: Don't search for proc - mount point. We assume procfs is mounted at /proc in many other - places already. - -2006-01-15 Andreas Jaeger - - [BZ #1950] - * posix/regex_internal.c (re_string_reconstruct): Adjust for - build_wcs_upper_buffer change. - (build_wcs_upper_buffer): Change return type. - - [BZ #2153] - * math/s_cacosh.c (__cacosh): Do not return a negative - value. Patch by Wes Loewer . - * math/s_cacoshl.c (__cacoshl): Likewise. - * math/s_cacoshf.c (__cacoshf): Likewise. - * math/libm-test.inc (cacosh_test): Adjust for change. - - * sysdeps/alpha/fpu/libm-test-ulps: Adopt for cacosh test change. - * sysdeps/hppa/fpu/libm-test-ulps: Likewise. - * sysdeps/i386/fpu/libm-test-ulps: Likewise. - * sysdeps/ia64/fpu/libm-test-ulps: Likewise. - * sysdeps/m68k/fpu/libm-test-ulps: Likewise. - * sysdeps/mips/fpu/libm-test-ulps: Likewise. + * math/libm-test.inc (atan2_test): Compute value with 36 digits. + * sysdeps/alpha/fpu/libm-test-ulps: Adjust for changed result. * sysdeps/powerpc/fpu/libm-test-ulps: Likewise. * sysdeps/s390/fpu/libm-test-ulps: Likewise. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise. * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise. * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - [BZ #2079] - * libio/fputwc_u.c (fputwc_unlocked): Fix return value. - * libio/getwc_u.c (__getwc_unlocked): Likewise. - * libio/wfileops.c (_IO_wdo_write): Likewise. +2004-12-16 Ulrich Drepper - [BZ #2078] - * libio/fputwc.c (fputwc): Use proper type for result. - * libio/ioungetwc.c (ungetwc): Likewise. + * stdlib/tst-setcontext.c: Enlarge st1 and st2 arrays. -2006-01-14 Ulrich Drepper +2004-09-02 Steven Munroe - * sysdeps/unix/sysv/linux/bits/sched.h: Define SCHED_BATCH. + [BZ #610] + * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S + (__novec_getcontext): Fix typo in store of fp29. + (__getcontext): Fix typo in store of fp29. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S + (__novec_swapcontext): Fix typo in store of fp29. + (__swapcontext): Fix typo in store of fp29. -2006-01-14 Roland McGrath +2004-12-17 GOTO Masanori - * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NLDBL_DECL): Don't try - attribute_hidden here. - * sysdeps/ieee754/ldbl-opt/nldbl-vsyslog.c (vsyslog): Restore - attribute_hidden here. - * sysdeps/ieee754/ldbl-opt/nldbl-asprintf.c (__asprintf): Likewise. - * sysdeps/ieee754/ldbl-opt/nldbl-fprintf.c (fprintf): Likewise. - * sysdeps/ieee754/ldbl-opt/nldbl-qecvt.c (qecvt): Likewise. - * sysdeps/ieee754/ldbl-opt/nldbl-qfcvt.c (qfcvt): Likewise. - * sysdeps/ieee754/ldbl-opt/nldbl-qgcvt.c (qgcvt): Likewise. + * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Fix + vague message. - * sysdeps/ieee754/ldbl-opt/configure.in: Use AC_TRY_COMPILE and - verify __LONG_DOUBLE_128__ predefine. - * sysdeps/ieee754/ldbl-opt/configure: Regenerated. +2004-12-16 Roland McGrath - * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NLDBL_HIDDEN): Removed. - (NLDBL_DECL): Rewritten. - Remove __THROW from NLDBL_DECL uses. - Use NLDBL_DECL for __vstrfmon_l. - (__nldbl___vsyslog_chk): Restore missing decl. - * sysdeps/ieee754/ldbl-opt/nldbl-asinh.c: Restore attribute_hidden. + * nscd/Makefile ($(objpfx)nscd): Don't depend on $(selinux-LIBS), + which is usually a -lselinux that make will resolve wrongly. -2006-01-14 Jakub Jelinek +2004-12-16 Andreas Jaeger - * misc/sys/cdefs.h (__LDBL_REDIR1_DECL): Define. - (__LDBL_REDIR_DECL): Stringize __nldbl and name. - * stdlib/bits/monetary-ldbl.h: Remove pastos from wchar-ldbl.h. - (strfmon, strfmon_l): Add __LDBL_REDIR_DECL. - * stdlib/bits/stdlib-ldbl.h (strtold, strtold_l, __strtold_internal, - qecvt, qfcvt, qgcvt, qecvt_r, qfcvt_r): Use __LDBL_REDIR1_DECL - instead of __LDBL_REDIR_DECL. - * wcsmbs/bits/wchar-ldbl.h: Remove stale #if. - (__LDBL_REDIR_WCHAR): Remove. - (fwprintf, wprintf, swprintf, vfwprintf, vwprintf, vswprintf, - fwscanf, wscanf, swscanf, vfwscanf, vwscanf, vswscanf): Use - __LDBL_REDIR_DECL instead of __LDBL_REDIR_WCHAR. - (wcstold, wcstold_l, __wcstold_internal): Add __LDBL_REDIR1_DECL. - * wcsmbs/wchar.h: Include bits/wchar-ldbl.h after bits/wchar2.h - instead of before it. - (wcstold inline): Move #ifndef __LDBL_COMPAT before - extern keyword. - * libio/bits/stdio-ldbl.h (__snprintf_chk, __vsnprintf_chk): Add - __LDBL_REDIR_DECL. - * misc/bits/syslog-ldbl.h (vsyslog): Protect with #ifdef __USE_BSD. - (__syslog_chk, __vsyslog_chk): Add __LDBL_REDIR_DECL. + * math/math.h: Use #if defined to not receive warnings about + undefined symbols. -2006-01-14 Roland McGrath +2004-12-16 Jakub Jelinek - * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NLDBL_DECL): Fix typo. - (NLDBL_HIDDEN): New macro. - (NLDBL_DECL): Use it in place of attribute_hidden. + * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Add support + for NPTL where the PID is stored at userlevel and needs to be reset + when CLONE_THREAD is not used. - * misc/efgcvt.c: Include instead of . - * misc/efgcvt_r.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h + (SYSCALL_ERROR_HANDLER): If RTLD_PRIVATE_ERRNO, use rtld_errno + instead of errno. + * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Include + sysdep-cancel.h instead of sysdep.h. Handle cancellation. + * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Regenerate. - * sysdeps/unix/sysv/linux/sparc/sparc32/nldbl-abi.h: New file. - * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: #include - to define LONG_DOUBLE_COMPAT_VERSION. Use that in place of - NLDBL_VERSION. - * sysdeps/ieee754/ldbl-opt/Versions: Include . - * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Revert last change. + * sysdeps/ieee754/ldbl-128/e_expl.c: Include stdlib.h. -2006-01-14 Jakub Jelinek +2004-12-15 Jakub Jelinek - * math/math.h [__NO_LONG_DOUBLE_MATH] (__nldbl_nexttowardf): New - prototype. - (nexttowardf): Redirect to __nldbl_nexttowardf. - (nexttoward): Redirect to nextafter. - (__MATHDECL_2, __MATHDECL_1): Redirect *l functions to - non-*l versions if __LONG_DOUBLE_MATH_OPTIONAL and - __NO_LONG_DOUBLE_MATH. - * math/complex.h (__MATHDECL_1): Likewise. - * math/bits/mathcalls.h (nexttoward): Don't prototype if - __LDBL_COMPAT. - * misc/sys/cdefs.h: Include . - (__LDBL_COMPAT, __LDBL_REDIR1, __LDBL_REDIR, __LDBL_REDIR1_NTH, - __LDBL_REDIR_NTH, __LDBL_REDIR_DECL): New macros. + * sysdeps/unix/sysv/linux/gethostid.c: Make bi-arch safe. - * libio/bits/stdio-ldbl.h: New file. - * libio/Makefile (headers): Add it. - * libio/stdio.h [__LDBL_COMPAT]: #include it. - * libio/bits/libio-ldbl.h: New file. - * libio/Makefile (headers): Add it. - * libio/libio.h [__LDBL_COMPAT]: #include it. - * libio/libioP.h: Include . - * include/wchar.h (__fwprintf, __vfwprintf): Fix commented out - attribute. - (__vfwprintf_chk): New prototype. Add libc_hidden_proto. - * wcsmbs/bits/wchar-ldbl.h: New file. - * wcsmbs/Makefile (headers): Add it. - * wcsmbs/wchar.h [__LDBL_COMPAT]: #include it. - * wcsmbs/bits/wchar2.h (__vswprintf_alias): Removed. - (vswprintf): Define as a macro rather than inline function. - * stdio-common/bits/printf-ldbl.h: New file. - * stdio-common/Makefile (headers): Add it. - * stdio-common/printf.h [__LDBL_COMPAT]: #include it. - * libio/fwprintf.c: Include libioP.h. - (fwprintf): Use ldbl_weak_alias instead of weak_alias. - * libio/fwscanf.c: Include libioP.h. - (fwscanf): Rename to __fwscanf and add ldbl_strong_alias. - * libio/iovdprintf.c (vdprintf): Use ldbl_weak_alias instead of - weak_alias. - * libio/iovsprintf.c (_IO_vsprintf): Rename to __IO_vsprintf, - add ldbl_strong_alias and use INTDEF2 instead of INTDEF. - (vsprintf): Use ldbl_weak_alias instead of weak_alias. - * libio/iovsscanf.c (__vsscanf, vsscanf): Use ldbl_weak_alias - instead of weak_alias. - * libio/iovswscanf.c (vswscanf): Rename to __vswscanf, - add ldbl_strong_alias and use ldbl_hidden_def instead of - libc_hidden_def. - * libio/obprintf.c (obstack_printf, obstack_vprintf): Use - ldbl_weak_alias instead of weak_alias. - * libio/swprintf.c: Include libioP.h. - (swprintf): Rename to __swprintf and add ldbl_strong_alias. - * libio/swscanf.c: Include libioP.h. - (swscanf): Rename to __swscanf and add ldbl_strong_alias. - * libio/vasprintf.c (vasprintf): Use ldbl_weak_alias instead of - weak_alias. - * libio/vscanf.c (vscanf): Use ldbl_weak_alias instead of - weak_alias. - * libio/vsnprintf.c (__vsnprintf, vsnprintf): Use ldbl_weak_alias - instead of weak_alias. - * libio/vswprintf.c (__vswprintf): Remove alias. - (vswprintf): Use ldbl_weak_alias instead of weak_alias. - * libio/vwprintf.c: Include libioP.h. - (vwprintf): Rename to __vwprintf and add ldbl_strong_alias. - * libio/vwscanf.c (vwscanf): Rename to __vwscanf and add - ldbl_strong_alias. - * libio/wprintf.c: Include libioP.h. - (wprintf): Rename to __wprintf and add ldbl_strong_alias. - * libio/wscanf.c: Include libioP.h. - (wscanf): Rename to __wscanf and add ldbl_strong_alias. - * stdio-common/asprintf.c (__asprintf): Rename to ___asprintf, add - ldbl_strong_alias and use INTDEF2 instead of INTDEF. - (asprintf): Use ldbl_weak_alias instead of weak_alias. - * stdio-common/dprintf.c (dprintf): Rename to __dprintf, add - ldbl_strong_alias and use ldbl_hidden_def instead of - libc_hidden_def. - * stdio-common/fprintf.c: Include libioP.h. - (fprintf): Rename to __fprintf, add ldbl_strong_alias and - use ldbl_hidden_def instead of libc_hidden_def. - (_IO_fprintf): Use ldbl_weak_alias instead of weak_alias. - * stdio-common/fscanf.c: Include libioP.h. - (fscanf): Rename to __fscanf and add ldbl_strong_alias. - * stdio-common/printf.c: Include libioP.h. - (printf): Rename to __printf and add ldbl_strong_alias. - (_IO_printf): Use ldbl_strong_alias instead of strong_alias. - * stdio-common/printf_fp.c (__printf_fp): Rename to __printf_fp, add - ldbl_strong_alias and use ldbl_hidden_def instead of - libc_hidden_def. - * stdio-common/printf_size.c (printf_size): Rename to __printf_size - and add ldbl_strong_alias. - * stdio-common/scanf.c (scanf): Rename to __scanf and add - ldbl_strong_alias. - * stdio-common/snprintf.c (snprintf): Use ldbl_weak_alias instead of - weak_alias. - * stdio-common/sprintf.c (sprintf): Rename to __sprintf, add - ldbl_strong_alias and use ldbl_hidden_def instead of - libc_hidden_def. - (_IO_sprintf): Use ldbl_strong_alias instead of strong_alias. - * stdio-common/sscanf.c: Include libioP.h instead of iolibio.h. - (sscanf): Rename to __sscanf and add ldbl_strong_alias. - * stdio-common/vfprintf.c (vfprintf): Define to - _IO_vfprintf_internal. Use ldbl_strong_alias instead. Use - ldbl_hidden_def instead of libc_hidden_def. - (_IO_vfprintf_internal): Clear is_long_double if __ldbl_is_dbl, - handle the argument as double if it is non-zero. - (vfwprintf): Use ldbl_weak_alias instead of weak_alias. - (_IO_vfprintf): Add ldbl_strong_alias. - * stdio-common/vfscanf.c (_IO_vfscanf): Rename to - _IO_vfscanf_internal, don't use strtold if __ldbl_is_dbl, add - ldbl_strong_alias. - (vfwscanf): Use ldbl_weak_alias instead of weak_alias. - (__vfscanf): Rename to ___vfscanf, add ldbl_strong_alias and - use ldbl_hidden_def instead of libc_hidden_def. - (vfscanf): Use ldbl_weak_alias instead of weak_alias. - * stdio-common/vprintf.c: Include libioP.h. - (vprintf): Rename to __vprintf and add ldbl_strong_alias. - * debug/fprintf_chk.c (__fprintf_chk): Rename to ___fprintf_chk - and add ldbl_strong_alias. - * debug/printf_chk.c (__printf_chk): Rename to ___printf_chk - and add ldbl_strong_alias. - * debug/snprintf_chk.c: Include libioP.h. - (__snprintf_chk): Rename to ___snprintf_chk and add ldbl_strong_alias. - * debug/sprintf_chk.c: Include libioP.h. - (__sprintf_chk): Rename to ___sprintf_chk and add ldbl_strong_alias. - * debug/vfprintf_chk.c (__vfprintf_chk): Rename to ___vfprintf_chk, - add ldbl_strong_alias and use ldbl_hidden_def instead of - libc_hidden_def. - * debug/vfwprintf_chk.c (__vfwprintf_chk): Add libc_hidden_def. - * debug/vprintf_chk.c (__vprintf_chk): Rename to ___vprintf_chk - and add ldbl_strong_alias. - * debug/vsnprintf_chk.c (__vsnprintf_chk): Rename to ___vsnprintf_chk, - add ldbl_strong_alias and use ldbl_hidden_def instead of - libc_hidden_def. - * debug/vsprintf_chk.c (__vsprintf_chk): Rename to ___vsprintf_chk, - add ldbl_strong_alias and use ldbl_hidden_def instead of - libc_hidden_def. +2004-12-15 Steven Munroe - * stdlib/stdlib.h (strtold): Don't define inline if [!__LDBL_COMPAT]. - * wcsmbs/wchar.h (wcstold): Likewise. - * stdlib/strtod_l.c: Include math_ldbl_opt.h. - (____STRTOF_INTERNAL): Define. - (INTERNAL (__STRTOF)): Rename to ____STRTOF_INTERNAL. - (__STRTOF): Call ____STRTOF_INTERNAL instead. - [LONG_DOUBLE_COMPAT] (strtold_l, wcstold_l, __strtold_l, __wcstold_l): - Add compatibility symbols. - * stdlib/strtod.c: Include math_ldbl_opt.h. - [LONG_DOUBLE_COMPAT] (strtold, wcstold, __strtold_internal, - __wcstold_internal): Add compatibility symbols. - * stdlib/strtold.c: Include bits/wordsize.h, wchar.h. - (NEW, NEW1): Define. - (__new_strtold, __new_wcstold): New prototypes. - (____new_strtold_internal, ____new_wcstold_internal): Likewise. - Add libc_hidden_proto. - (STRTOF): Define to NEW (*told). - [__LONG_DOUBLE_MATH_OPTIONAL] (wcstold, strtold): Add - long_double_symbol. - [__LONG_DOUBLE_MATH_OPTIONAL] (__wcstold_internal, - __strtold_internal): Likewise. Add libc_hidden_ver. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Correct stack + alignment. Clean up flag bit tests. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Correct stack + alignment. Clean up flag bit tests. Remove redundent SP assignment. + Add TOC register save/restore around function call. - * stdlib/bits/stdlib-ldbl.h: New file. - * stdlib/Makefile (headers): Add it. - * stdlib/stdlib.h [__LDBL_COMPAT]: #include it. - * include/stdlib.h (ecvt_r, fcvt_r, qecvt_r, qfcvt_r): Remove - libc_hidden_proto. - (__ecvt, __fcvt, __gcvt, __ecvt_r, __fcvt_r, __qecvt, __qfcvt, - __qgcvt, __qecvt_r, __qfcvt_r): New prototypes. - * misc/efgcvt_r.c: Include shlib-compat.h. - (LONG_DOUBLE_CVT): Define. - (__APPEND, __APPEND2): Define. - (*fcvt_r): Use __APPEND instead of APPEND. Remove libc_hidden_def. - (*ecvt_r): Likewise. - (cvt_symbol): Define. Use it on fcvt_r and ecvt_r. - * misc/efgcvt.c: Include shlib-compat.h. - (LONG_DOUBLE_CVT): Define. - (__APPEND, __APPEND2): Define. - (fcvt): Use __APPEND instead of APPEND. Remove libc_hidden_def. - (ecvt, gcvt): Likewise. - (cvt_symbol): Define. Use it on fcvt, ecvt and gcvt. + * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Make no_vmx symbol + local. + * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Make no_vmx symbol + local. + * sysdeps/powerpc/powerpc64/__longjmp-common.S: Make no_vmx symbol + local. + * sysdeps/powerpc/powerpc64/setjmp-common.S: Make no_vmx and + aligned_save_vmx symbol local. - * stdlib/bits/monetary-ldbl.h: New file. - * stdlib/Makefile (headers): Add it. - * stdlib/monetary.h [__LDBL_COMPAT]: #include it. - * stdlib/strfmon.c: Include math_ldbl_opt.h. - (strfmon): Rename to __strfmon and add ldbl_strong_alias. - * stdlib/strfmon_l.c: Remove all traces of [!USE_IN_LIBIO]. - (__vstrfmon_l): Don't set is_long_double if __ldbl_is_dbl. - (__strfmon_l): Rename to ___strfmon_l and add ldbl_strong_alias. - (strfmon_l): Use ldbl_weak_alias instead of weak_alias. +2004-12-15 Ulrich Drepper - * misc/bits/syslog-ldbl.h: New file. - * misc/Makefile (headers): Add it. - * misc/sys/syslog.h [__LDBL_COMPAT]: #include it. - * misc/syslog.c: Include math_ldbl_opt.h. - (syslog): Rename to __syslog and add ldbl_strong_alias, - use ldbl_hidden_def instead of libc_hidden_def. - (vsyslog): Rename to __vsyslog and add ldbl_strong_alias, - use ldbl_hidden_def instead of libc_hidden_def. + * sysdeps/i386/i486/bits/string.h (__strncat_g): Fix i686 + implementation. - * sysdeps/generic/math_ldbl_opt.h: New file. - * math/w_j1l.c (j1l, y1l): Rename to __ prefixed variants. - Add weak_alias. - * math/w_j0l.c (j0l, y0l): Likewise. - * math/w_jnl.c (jnl, ynl): Likewise. - * sysdeps/ieee754/ldbl-96/s_nexttoward.c - (__nexttowardl): Remove strong_alias. - (nexttowardl): Remove weak_alias. - * sysdeps/ieee754/ldbl-96/s_erfl.c - (__erfl, __erfcl): Remove strong_alias. - (erfl, erfcl): Remove weak_alias. +2004-09-08 H.J. Lu - * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: New file. - * sysdeps/ieee754/ldbl-64-128/s_atanl.c: New file. - * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: New file. - * sysdeps/ieee754/ldbl-64-128/s_ceill.c: New file. - * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: New file. - * sysdeps/ieee754/ldbl-64-128/s_cosl.c: New file. - * sysdeps/ieee754/ldbl-64-128/s_erfl.c: New file. - * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: New file. - * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: New file. - * sysdeps/ieee754/ldbl-64-128/s_finitel.c: New file. - * sysdeps/ieee754/ldbl-64-128/s_floorl.c: New file. - * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: New file. - * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: New file. - * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: New file. - * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: New file. - * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: New file. - * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: New file. - * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: New file. - * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: New file. - * sysdeps/ieee754/ldbl-64-128/s_logbl.c: New file. - * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: New file. - * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: New file. - * sysdeps/ieee754/ldbl-64-128/s_modfl.c: New file. - * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: New file. - * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c: New file. - * sysdeps/ieee754/ldbl-64-128/s_nexttoward.c: New file. - * sysdeps/ieee754/ldbl-64-128/s_nexttowardf.c: New file. - * sysdeps/ieee754/ldbl-64-128/s_nexttowardfd.c: New file. - * sysdeps/ieee754/ldbl-64-128/s_remquol.c: New file. - * sysdeps/ieee754/ldbl-64-128/s_rintl.c: New file. - * sysdeps/ieee754/ldbl-64-128/s_roundl.c: New file. - * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: New file. - * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: New file. - * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: New file. - * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: New file. - * sysdeps/ieee754/ldbl-64-128/s_sinl.c: New file. - * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: New file. - * sysdeps/ieee754/ldbl-64-128/s_tanl.c: New file. - * sysdeps/ieee754/ldbl-64-128/s_truncl.c: New file. - * sysdeps/ieee754/ldbl-64-128/strtold_l.c: New file. - * sysdeps/ieee754/ldbl-64-128/w_expl.c: New file. - * sysdeps/ieee754/ldbl-opt/configure.in: New file. - * sysdeps/ieee754/ldbl-opt/configure: New file. - * sysdeps/ieee754/ldbl-opt/Makefile: New file. - * sysdeps/ieee754/ldbl-opt/Versions: New file. - * sysdeps/ieee754/ldbl-opt/cabs.c: New file. - * sysdeps/ieee754/ldbl-opt/cabsl.c: New file. - * sysdeps/ieee754/ldbl-opt/carg.c: New file. - * sysdeps/ieee754/ldbl-opt/cargl.c: New file. - * sysdeps/ieee754/ldbl-opt/cimag.c: New file. - * sysdeps/ieee754/ldbl-opt/cimagl.c: New file. - * sysdeps/ieee754/ldbl-opt/conj.c: New file. - * sysdeps/ieee754/ldbl-opt/conjl.c: New file. - * sysdeps/ieee754/ldbl-opt/creal.c: New file. - * sysdeps/ieee754/ldbl-opt/creall.c: New file. - * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: New file. - * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-acos.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-acosh.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-asin.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-asinh.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-asprintf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-atan.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-atan2.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-atanh.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-cabs.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-cacos.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-cacosh.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-carg.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-casin.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-casinh.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-catan.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-catanh.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-cbrt.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-ccos.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-ccosh.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-ceil.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-cexp.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-cimag.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-clog.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-clog10.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-conj.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-cos.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-cosh.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-cpow.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-cproj.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-creal.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-csin.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-csinh.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-csqrt.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-ctan.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-ctanh.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-dprintf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-erf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-erfc.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-exp.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-exp10.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-exp2.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-expm1.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-fabs.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-fdim.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-floor.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-fma.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-fmax.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-fmin.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-fmod.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-fprintf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-fprintf_chk.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-frexp.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-fwprintf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-fwprintf_chk.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-gamma.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-hypot.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-ilogb.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-j0.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-j1.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-jn.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-ldexp.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-lgamma.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-lgamma_r.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-llrint.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-llround.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-log.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-log10.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-log1p.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-log2.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-logb.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-lrint.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-lround.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-modf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-nan.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-nearbyint.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-nextafter.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-nexttoward.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-nexttowardf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-obstack_printf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-obstack_vprintf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-pow.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-printf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-printf_chk.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-printf_fp.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-printf_size.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-qecvt.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-qecvt_r.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-qfcvt.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-qfcvt_r.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-qgcvt.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-remquo.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-rint.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-round.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-scalb.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-scalbln.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-scalbn.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-significand.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-sin.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-sincos.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-sinh.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-snprintf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-snprintf_chk.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-sprintf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-sprintf_chk.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-sqrt.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-strfmon.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-strtold.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-strtoldint.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-swprintf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-swprintf_chk.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-syslog.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-syslog_chk.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-tan.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-tanh.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-tgamma.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-trunc.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-vasprintf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-vdprintf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-vfprintf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-vfprintf_chk.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-vfwprintf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-vfwprintf_chk.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-vprintf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-vprintf_chk.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-vsnprintf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-vsnprintf_chk.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-vsprintf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-vsprintf_chk.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-vswprintf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-vswprintf_chk.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-vsyslog.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-vsyslog_chk.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-vwprintf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-vwprintf_chk.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-wcstold.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-wcstoldint.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-wprintf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-wprintf_chk.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-y0.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-y1.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-yn.c: New file. - * sysdeps/ieee754/ldbl-opt/s_asinh.c: New file. - * sysdeps/ieee754/ldbl-opt/s_atan.c: New file. - * sysdeps/ieee754/ldbl-opt/s_cacos.c: New file. - * sysdeps/ieee754/ldbl-opt/s_cacosh.c: New file. - * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: New file. - * sysdeps/ieee754/ldbl-opt/s_cacosl.c: New file. - * sysdeps/ieee754/ldbl-opt/s_casin.c: New file. - * sysdeps/ieee754/ldbl-opt/s_casinh.c: New file. - * sysdeps/ieee754/ldbl-opt/s_casinhl.c: New file. - * sysdeps/ieee754/ldbl-opt/s_casinl.c: New file. - * sysdeps/ieee754/ldbl-opt/s_catan.c: New file. - * sysdeps/ieee754/ldbl-opt/s_catanh.c: New file. - * sysdeps/ieee754/ldbl-opt/s_catanhl.c: New file. - * sysdeps/ieee754/ldbl-opt/s_catanl.c: New file. - * sysdeps/ieee754/ldbl-opt/s_cbrt.c: New file. - * sysdeps/ieee754/ldbl-opt/s_ccos.c: New file. - * sysdeps/ieee754/ldbl-opt/s_ccosh.c: New file. - * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: New file. - * sysdeps/ieee754/ldbl-opt/s_ccosl.c: New file. - * sysdeps/ieee754/ldbl-opt/s_ceil.c: New file. - * sysdeps/ieee754/ldbl-opt/s_cexp.c: New file. - * sysdeps/ieee754/ldbl-opt/s_cexpl.c: New file. - * sysdeps/ieee754/ldbl-opt/s_clog.c: New file. - * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file. - * sysdeps/ieee754/ldbl-opt/s_clog10l.c: New file. - * sysdeps/ieee754/ldbl-opt/s_clogl.c: New file. - * sysdeps/ieee754/ldbl-opt/s_copysign.c: New file. - * sysdeps/ieee754/ldbl-opt/s_cpow.c: New file. - * sysdeps/ieee754/ldbl-opt/s_cpowl.c: New file. - * sysdeps/ieee754/ldbl-opt/s_cproj.c: New file. - * sysdeps/ieee754/ldbl-opt/s_cprojl.c: New file. - * sysdeps/ieee754/ldbl-opt/s_csin.c: New file. - * sysdeps/ieee754/ldbl-opt/s_csinh.c: New file. - * sysdeps/ieee754/ldbl-opt/s_csinhl.c: New file. - * sysdeps/ieee754/ldbl-opt/s_csinl.c: New file. - * sysdeps/ieee754/ldbl-opt/s_csqrt.c: New file. - * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: New file. - * sysdeps/ieee754/ldbl-opt/s_ctan.c: New file. - * sysdeps/ieee754/ldbl-opt/s_ctanh.c: New file. - * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: New file. - * sysdeps/ieee754/ldbl-opt/s_ctanl.c: New file. - * sysdeps/ieee754/ldbl-opt/s_erf.c: New file. - * sysdeps/ieee754/ldbl-opt/s_expm1.c: New file. - * sysdeps/ieee754/ldbl-opt/s_fabs.c: New file. - * sysdeps/ieee754/ldbl-opt/s_fdim.c: New file. - * sysdeps/ieee754/ldbl-opt/s_fdiml.c: New file. - * sysdeps/ieee754/ldbl-opt/s_finite.c: New file. - * sysdeps/ieee754/ldbl-opt/s_floor.c: New file. - * sysdeps/ieee754/ldbl-opt/s_fma.c: New file. - * sysdeps/ieee754/ldbl-opt/s_fmal.c: New file. - * sysdeps/ieee754/ldbl-opt/s_fmax.c: New file. - * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: New file. - * sysdeps/ieee754/ldbl-opt/s_fmin.c: New file. - * sysdeps/ieee754/ldbl-opt/s_fminl.c: New file. - * sysdeps/ieee754/ldbl-opt/s_frexp.c: New file. - * sysdeps/ieee754/ldbl-opt/s_ilogb.c: New file. - * sysdeps/ieee754/ldbl-opt/s_isinf.c: New file. - * sysdeps/ieee754/ldbl-opt/s_isnan.c: New file. - * sysdeps/ieee754/ldbl-opt/s_ldexp.c: New file. - * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: New file. - * sysdeps/ieee754/ldbl-opt/s_llrint.c: New file. - * sysdeps/ieee754/ldbl-opt/s_llround.c: New file. - * sysdeps/ieee754/ldbl-opt/s_log1p.c: New file. - * sysdeps/ieee754/ldbl-opt/s_logb.c: New file. - * sysdeps/ieee754/ldbl-opt/s_lrint.c: New file. - * sysdeps/ieee754/ldbl-opt/s_lround.c: New file. - * sysdeps/ieee754/ldbl-opt/s_modf.c: New file. - * sysdeps/ieee754/ldbl-opt/s_nan.c: New file. - * sysdeps/ieee754/ldbl-opt/s_nanl.c: New file. - * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: New file. - * sysdeps/ieee754/ldbl-opt/s_nextafter.c: New file. - * sysdeps/ieee754/ldbl-opt/s_remquo.c: New file. - * sysdeps/ieee754/ldbl-opt/s_rint.c: New file. - * sysdeps/ieee754/ldbl-opt/s_round.c: New file. - * sysdeps/ieee754/ldbl-opt/s_scalbln.c: New file. - * sysdeps/ieee754/ldbl-opt/s_scalbn.c: New file. - * sysdeps/ieee754/ldbl-opt/s_significand.c: New file. - * sysdeps/ieee754/ldbl-opt/s_significandl.c: New file. - * sysdeps/ieee754/ldbl-opt/s_sin.c: New file. - * sysdeps/ieee754/ldbl-opt/s_sincos.c: New file. - * sysdeps/ieee754/ldbl-opt/s_tan.c: New file. - * sysdeps/ieee754/ldbl-opt/s_tanh.c: New file. - * sysdeps/ieee754/ldbl-opt/s_trunc.c: New file. - * sysdeps/ieee754/ldbl-opt/w_acos.c: New file. - * sysdeps/ieee754/ldbl-opt/w_acosh.c: New file. - * sysdeps/ieee754/ldbl-opt/w_acoshl.c: New file. - * sysdeps/ieee754/ldbl-opt/w_acosl.c: New file. - * sysdeps/ieee754/ldbl-opt/w_asin.c: New file. - * sysdeps/ieee754/ldbl-opt/w_asinl.c: New file. - * sysdeps/ieee754/ldbl-opt/w_atan2.c: New file. - * sysdeps/ieee754/ldbl-opt/w_atan2l.c: New file. - * sysdeps/ieee754/ldbl-opt/w_atanh.c: New file. - * sysdeps/ieee754/ldbl-opt/w_atanhl.c: New file. - * sysdeps/ieee754/ldbl-opt/w_cosh.c: New file. - * sysdeps/ieee754/ldbl-opt/w_coshl.c: New file. - * sysdeps/ieee754/ldbl-opt/w_drem.c: New file. - * sysdeps/ieee754/ldbl-opt/w_dreml.c: New file. - * sysdeps/ieee754/ldbl-opt/w_exp.c: New file. - * sysdeps/ieee754/ldbl-opt/w_exp10.c: New file. - * sysdeps/ieee754/ldbl-opt/w_exp10l.c: New file. - * sysdeps/ieee754/ldbl-opt/w_fmod.c: New file. - * sysdeps/ieee754/ldbl-opt/w_fmodl.c: New file. - * sysdeps/ieee754/ldbl-opt/w_hypot.c: New file. - * sysdeps/ieee754/ldbl-opt/w_hypotl.c: New file. - * sysdeps/ieee754/ldbl-opt/w_j0.c: New file. - * sysdeps/ieee754/ldbl-opt/w_j0l.c: New file. - * sysdeps/ieee754/ldbl-opt/w_j1.c: New file. - * sysdeps/ieee754/ldbl-opt/w_j1l.c: New file. - * sysdeps/ieee754/ldbl-opt/w_jn.c: New file. - * sysdeps/ieee754/ldbl-opt/w_jnl.c: New file. - * sysdeps/ieee754/ldbl-opt/w_lgamma.c: New file. - * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: New file. - * sysdeps/ieee754/ldbl-opt/w_lgammal.c: New file. - * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: New file. - * sysdeps/ieee754/ldbl-opt/w_log.c: New file. - * sysdeps/ieee754/ldbl-opt/w_log10.c: New file. - * sysdeps/ieee754/ldbl-opt/w_log10l.c: New file. - * sysdeps/ieee754/ldbl-opt/w_log2.c: New file. - * sysdeps/ieee754/ldbl-opt/w_log2l.c: New file. - * sysdeps/ieee754/ldbl-opt/w_logl.c: New file. - * sysdeps/ieee754/ldbl-opt/w_pow.c: New file. - * sysdeps/ieee754/ldbl-opt/w_powl.c: New file. - * sysdeps/ieee754/ldbl-opt/w_remainder.c: New file. - * sysdeps/ieee754/ldbl-opt/w_remainderl.c: New file. - * sysdeps/ieee754/ldbl-opt/w_scalb.c: New file. - * sysdeps/ieee754/ldbl-opt/w_scalbl.c: New file. - * sysdeps/ieee754/ldbl-opt/w_sinh.c: New file. - * sysdeps/ieee754/ldbl-opt/w_sinhl.c: New file. - * sysdeps/ieee754/ldbl-opt/w_sqrt.c: New file. - * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: New file. - * sysdeps/ieee754/ldbl-opt/w_tgamma.c: New file. - * sysdeps/ieee754/ldbl-opt/w_tgammal.c: New file. + * Makeconfig (libunwind): New. + (libgcc_eh): Add $(libunwind). + (gnulib): Always set to -lgcc $(libgcc_eh). + (static-gnulib): Always set to -lgcc -lgcc_eh $(libunwind). + (libc.so-gnulib): New. + * Makerules (LDLIBS-c.so): Use $(libc.so-gnulib) instead of + $(static-gnulib). + * configure.in (libc_cv_cc_with_libunwind): Set to yes if gcc + uses -lunwind for static binaries. - * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/Implies: New file. - * sysdeps/sparc/sparc32/Implies: Move ldbl-128 first and flt-32 - after dbl-64. - * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (NLDBL_VERSION): - %define this to to GLIBC_2.4. - * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file. - * sysdeps/sparc/sparc32/fpu/s_fabs.c: New file. - * sysdeps/sparc/sparc32/fpu/s_fabsf.S: New file. - * sysdeps/sparc/sparc32/fpu/s_fabsl.c: New file. - * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: Removed. - * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: Removed. - * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: Removed. - * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: Removed. - * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: Removed. - * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: Removed. - * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: New file. - * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: New file. - * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: New file. - * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: New file. - * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: New file. - * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: New file. - * sysdeps/sparc/sparc32/soft-fp/Versions: New file. - * sysdeps/sparc/fpu/bits/mathinline.h (__unordered_cmp, - __unordered_v9cmp): Define differently depending on - -m32 -mlong-double-{64,128}. - (__signbitl, sqrtl, __ieee754_sqrtl): New inlines. - * sysdeps/sparc/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Remove. - * sysdeps/sparc/sparc32/soft-fp/Makefile (sparc32-quad-routines): - Set. - (sysdep-routines): Add sparc32-quad-routines. - * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Include stdlib.h. - (FP_HANDLE_EXCEPTIONS): Call ___Q_simulate_exceptions as a normal - function. - * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): New - alias to _Q_sqrt. - * sysdeps/sparc/sparc32/soft-fp/q_div.c (_Q_div): Fix a typo. - * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Include stdlib.h. - * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update. +2004-06-05 Joseph S. Myers - * libio/libio.h (_IO_vfscanf, _IO_vfprintf): Remove __THROW. - (_IO_vfwscanf, _IO_vfwprintf): Likewise. - * libio/libioP.h (_IO_vdprintf): Likewise. + * malloc/Makefile (install-bin): Remove memusage. + (install-bin-script): Add memusage. -2006-01-13 Richard Henderson +2004-12-15 Jakub Jelinek - * sysdeps/unix/sysv/linux/alpha/sysdep.h (PTR_MANGLE, PTR_MANGLE2, - PTR_DEMANGLE, PTR_DEMANGLE2): Move ... - * sysdeps/unix/alpha/sysdep.h: ... here. - * sysdeps/unix/sysv/linux/alpha/fxstatat.c: Define __GI___fxstatat64. + * nis/nis_domain_of_r.c (nis_domain_of_r): Use libnsl_hidden_def, + not libnsl_hidden_proto. -2006-01-13 Andreas Jaeger + * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Add support + for NPTL where the PID is stored at userlevel and needs to be reset + when CLONE_THREAD is not used. + * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise. - * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (ELF_NVRREG): Fix - value for PowerPC64. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone): Save + and restore r2 around call to fn. -2006-01-12 Roland McGrath +2004-12-15 Andreas Jaeger - * sysdeps/s390/jmpbuf-offsets.h: New file. - * sysdeps/s390/jmpbuf-unwind.h: Include it. + * sysdeps/ia64/dl-machine.h (elf_machine_rela): Mark auto instead + of static, add always_inline attribute. + (elf_machine_rela_relative): Likewise. + (elf_machine_lazy_rel): Likewise. - * sysdeps/alpha/__longjmp.S: Include - instead of . - * sysdeps/alpha/setjmp.S: Likewise. - * sysdeps/i386/__longjmp.S: Likewise. - * sysdeps/i386/bsd-_setjmp.S: Likewise. - * sysdeps/i386/bsd-setjmp.S: Likewise. - * sysdeps/i386/setjmp.S: Likewise. - * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: - * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise. - * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise. - * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise. - * sysdeps/sh/sh3/setjmp.S: Likewise. - * sysdeps/sh/sh4/setjmp.S: Likewise. - * sysdeps/sparc/sparc32/__longjmp.S: Likewise. - * sysdeps/sparc/sparc32/setjmp.S: Likewise. - * sysdeps/x86_64/__longjmp.S: Likewise. - * sysdeps/x86_64/setjmp.S: Likewise. - * sysdeps/mach/hurd/i386/longjmp-ts.c: Include . - * sysdeps/mach/hurd/powerpc/longjmp-ts.c: Likewise. - * sysdeps/mach/hurd/alpha/longjmp-ts.c: Likewise. - * sysdeps/alpha/jmpbuf-unwind.h: Likewise. - * sysdeps/hppa/jmpbuf-unwind.h: Likewise. - * sysdeps/i386/jmpbuf-unwind.h: Likewise. - * sysdeps/powerpc/jmpbuf-unwind.h: Likewise. - * sysdeps/sparc/sparc32/jmpbuf-unwind.h: Likewise. - * sysdeps/sparc/sparc64/jmpbuf-unwind.h: Likewise. - * sysdeps/x86_64/jmpbuf-unwind.h: Likewise. - * setjmp/jmpbuf-offsets.h: File removed. - * include/bits/setjmp.h: File removed. +2004-12-15 Ulrich Drepper -2006-01-11 Ulrich Drepper + * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Add support + for pid caching in nptl. - * libio/wmemstream.c: New file. - * libio/stdio.h: Declare open_wmemstream. - * libio/Versions: Export open_wmemstream for GLIBC_2.4. - * libio/Makefile (routines): Add wmemstream. - (tests): Add tst-memstream1, tst-memstream2, tst-wmemstream2, and - tst-wmemstream2. - * libio/tst-memstream1.c: New file. - * libio/tst-memstream2.c: New file. - * libio/tst-wmemstream1.c: New file. - * libio/tst-wmemstream2.c: New file. +2004-12-14 Ulrich Drepper - * libio/memstream.c (_IO_mem_sync): Remove useless call to - _IO_default_sync. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Add support + for pid caching in nptl. - * elf/check-textrel.c: Add missing argument. +2004-10-18 Maciej W. Rozycki - * Makerules: Define build-module-asneeded. - * iconvdata/extra-module.mk: Use build-module-asneeded. - needed. + * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Use + __NTH instead of __THROW in the inline definition. + * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Likewise. -2006-01-09 Richard Henderson + * sysdeps/mips/bits/dlfcn.h (RTLD_DEEPBIND): New macro. - * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on ld.so. - * sysdeps/alpha/__longjmp.S: Use PTR_DEMANGLE. - * sysdeps/alpha/setjmp.S: Likewise. Avoid __sigjmp_save for rtld; - tailcall in libc.so. - * sysdeps/unix/sysv/linux/alpha/sysdep.h (PTR_MANGLE): Define. - (PTR_MANGLE2): Define. + * sysdeps/unix/sysv/linux/mips/bits/mman.h + (PROT_GROWSDOWN, PROT_GROWSUP): New macros. -2006-01-11 Ulrich Drepper +2004-10-06 Alan Modra - * elf/check-localplt.c: New file. - * elf/Makefile: Add rules to build and run check-localplt. - * scripts/data/localplt-x86_64-linux-gnu.data: New file. - * scripts/data/localplt-i386-linux-gnu.data: New file. - - * include/sys/stat.h: Add libc_hidden_proto for __fxstatat64. - * sysdeps/unix/sysv/linux/fxstatat64.c: Add libc_hidden_def for - __fxstatat64. - * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Add - __GI___fxstatat64 alias. - - * libio/memstream.c (_IO_mem_finish): Fix potential memory leak if - realloc fails. - - * include/sched.h: Add libc_hidden_proto for __sched_yield. - - * libio/genops.c (_IO_unbuffer_write): Give concurrently running - threads the chance to work correctly by trying to lock the stream. - If this does not work, proceed without locking. - -2006-01-10 Ulrich Drepper - - * libio/genops.c (_IO_unbuffer_write): Don't always free the - buffer. This is not necessary except in debug mode. If we don't - free the buffer but the FILE structure to a list. - (buffer_free): New function. Free buffers or tell _IO_unbuffer_write - to do so. - * libio/libio.h (struct _IO_FILE): Add new members to keep track - of which buffers have to be freed. - - * iconv/gconv_cache.c (free_mem): Don't call munmap if gconv_cache - is NULL. - -2005-10-14 Paul Eggert - - * malloc/obstack.c: Fix old comments. Update FSF snail mail address. - * malloc/obstack.h: Likewise. - - [BZ #321] - Fix portability bugs encountered when porting to Itanium. - * malloc/obstack.h (obstack_empty_p, obstack_finish): Do not - assume that the "contents" member is suitably aligned. It is - not, for some hosts and alignments: e.g., Itanium, long-double. - * malloc/obstack.c (_obstack_begin, _obstack_begin_1, - _obstack_newchunk): Likewise. - * malloc/obstack.c: Include , for size_t. - Include , if needed and available. - (DEFAULT_ALIGNMENT): Now an enum constant, not a macro. - Use C89 offsetof rather than K&R trick. - Use the maximum alignment of uintmax_t, long double, void * - rather than the alignment of double. - (union fooround): Use uintmax_t, long double, void * members - rather than just long and double. - - [BZ #321] - Fix portability bugs encountered when porting to the IBM iSeries, - where pointers are 256 bits wide and no integers are that wide. - * malloc/obstack.h (__PTR_TO_INT, __INT_TO_PTR): Remove. - All uses changed to: - (__BPTR_ALIGN, __PTR_ALIGN): New macros. - (struct _obstack_chunk.temp): Change from int to a union - of pointer and int. All uses changed. - - [BZ #321] - * malloc/obstack.c (print_and_abort) [!_LIBC]: - Call fprintf (stderr, ...), not __fxprintf (NULL, ...). - [_LIBC && USE_IN_LIBIO]: Don't include ; no longer needed. - -2006-01-10 Derek Price - Paul Eggert - - [BZ #1060] - * posix/glob.c: Assume freestanding C89 compiler. Simplify cruft that - may be replaced with GNULIB modules. Make no attempt to find 64-bit - versions of file access functions directly when [!_LIBC]. - Don't define GLOB_* macros here. - (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK, DIRENT_MIGHT_BE_DIR): New - macros to abstract dirent->d_type access. - (GETPW_R_SIZE_MAX, GET_LOGIN_NAME_MAX): New macros to abstract sysconf - access. - -2006-01-10 Roland McGrath - - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h - (PTR_MANGLE): Fix cast. - - * timezone/test-tz.c: Revert last change, updating to match - tzdata2005r definition of "MST". - -2006-01-10 Ulrich Drepper - - * include/bits/setjmp.h: Don't include jmpbuf-offsets.h if _ISOMAC is - defined. - -2006-01-10 Andreas Jaeger - - * include/time.h: Use normal comments. - -2006-01-10 Thomas Schwinge - - * hurd/sigunwind.c: Include instead of . - * sysdeps/mach/hurd/jmp-unwind.c: Likewise. - -2006-01-10 Jakub Jelinek - - * wcsmbs/bits/wchar2.h (vswprintf): Call __vswprintf_alias rather than - vswprintf recursively. - -2006-01-10 Ulrich Drepper - - * sysdeps/x86_64/bits/setjmp.h: Add back accidently removed #endif. - -2006-01-10 Roland McGrath - - * include/bits/setjmp.h: New file. - * setjmp/jmpbuf-offsets.h: New file. - * sysdeps/alpha/bits/setjmp.h: Move JB_* macros ... - * sysdeps/alpha/jmpbuf-offsets.h: ... here, new file. - * sysdeps/hppa/bits/setjmp.h (JB_SP): Macro moved ... - * sysdeps/hppa/jmpbuf-offsets.h: ... here, new file. - * sysdeps/i386/bits/setjmp.h: Move JB_* macros ... - * sysdeps/i386/jmpbuf-offsets.h: ... here, new file. - * sysdeps/mips/bits/setjmp.h (JB_PC): Macro removed. - * sysdeps/powerpc/bits/setjmp.h: Move JB_* macros ... - * sysdeps/powerpc/jmpbuf-offsets.h: ... here, new file. - * sysdeps/s390/bits/setjmp.h: Remove __JB_* macros. - * sysdeps/sh/bits/setjmp.h (JB_SIZE): Macro moved ... - * sysdeps/sh/jmpbuf-offsets.h: ... here, new file. - * sysdeps/sparc/sparc32/bits/setjmp.h: Move JB_* macros ... - * sysdeps/sparc/sparc32/jmpbuf-offsets.h: ... here, new file. - * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Remove JB_* macros. - * sysdeps/x86_64/bits/setjmp.h: Move JB_* macros ... - * sysdeps/x86_64/jmpbuf-offsets.h: ... here, new file. - - * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... - * sysdeps/powerpc/jmpbuf-unwind.h: ... here. - * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... - * sysdeps/alpha/jmpbuf-unwind.h: ... here. - * sysdeps/sparc/sparc32/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... - * sysdeps/sparc/sparc32/jmpbuf-unwind.h: ... here. - * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... - * sysdeps/i386/jmpbuf-unwind.h: ... here. - * sysdeps/x86_64/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... - * sysdeps/x86_64/jmpbuf-unwind.h: ... here. - * sysdeps/sh/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... - * sysdeps/sh/jmpbuf-unwind.h: ... here. - * sysdeps/hppa/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... - * sysdeps/hppa/jmpbuf-unwind.h: ... here, new file. - * sysdeps/mips/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... - * sysdeps/mips/jmpbuf-unwind.h: ... here. - * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... - * sysdeps/m68k/jmpbuf-unwind.h: ... here, new file. - * sysdeps/s390/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... - * sysdeps/s390/jmpbuf-unwind.h: ... here. - * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h (_JMPBUF_UNWINDS): - Move macro ... - * sysdeps/ia64/jmpbuf-unwind.h: ... here. - * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h (_JMPBUF_UNWINDS): - Move macro ... - * sysdeps/sparc/sparc64/jmpbuf-unwind.h: ... here. - - * sysdeps/alpha/jmpbuf-unwind.h: New file, moved from nptl/. - * sysdeps/i386/jmpbuf-unwind.h: New file, moved from nptl/. - * sysdeps/ia64/jmpbuf-unwind.h: New file, moved from nptl/. - * sysdeps/mips/jmpbuf-unwind.h: New file, moved from nptl/. - * sysdeps/powerpc/jmpbuf-unwind.h: New file, moved from nptl/. - * sysdeps/s390/jmpbuf-unwind.h: New file, moved from nptl/. - * sysdeps/sh/jmpbuf-unwind.h: New file, moved from nptl/. - * sysdeps/sparc/sparc32/jmpbuf-unwind.h: New file, moved from nptl/. - * sysdeps/sparc/sparc64/jmpbuf-unwind.h: New file, moved from nptl/. - * sysdeps/x86_64/jmpbuf-unwind.h: New file, moved from nptl/. - - * sysdeps/linkmap.h: File removed. - -2006-01-07 Carlos O'Donell - - * sysdeps/hppa/elf/start.S (_start): Use PLABEL32 relocations - by using LR and RR. Add %sr0 to iitlbp. - -2006-01-09 Roland McGrath - - * timezone/private.h: Update from tzcode2005r. - * timezone/tzfile.h: Likewise. - * timezone/zdump.c: Likewise. - * timezone/zic.c: Likewise. - * timezone/africa: Update from tzdata2005r. - * timezone/antarctica: Likewise. - * timezone/asia: Likewise. - * timezone/australasia: Likewise. - * timezone/backward: Likewise. - * timezone/europe: Likewise. - * timezone/northamerica: Likewise. - * timezone/southamerica: Likewise. - * timezone/systemv: Likewise. - - * elf/Makefile ($(objpfx)reldep5.out): Fix dependency typo, - so we depend on $(objpfx)reldepmod6.so as intended. - -2006-01-09 Ulrich Drepper - - [BZ #2126] - * sysdeps/i386/i686/strtok.S: Store pointer to NUL byte if NULL is - returned. - * sysdeps/i386/strtok.S: Likewise. - * sysdeps/x86_64/strtok.S: Likewise. - * string/Makefile (tests): Add bug-strtok1. - * string/bug-strtok1.c: New file. - - * elf/check-textrel.c (AB): Also check for writable and executable - segments. - - * sysdeps/ieee754/dbl-64/e_exp2.c: Remove section attribute from - const variables, gas produces garbage. - * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise. - * sysdeps/ieee754/flt-32/e_expf.c: Likewise. - * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise. - -2006-01-09 Jakub Jelinek - - * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h (_JMPBUF_UNWINDS): Add - stack bias to mc_fp field. - - * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h - (struct kernel_stat): Rename st_[amc]time fields to st_[amc]time_sec. - (struct kernel_stat64): New type. - (_HAVE___UNUSED1, _HAVE___UNUSED2, _HAVE_STAT___UNUSED1, - _HAVE_STAT___UNUSED2, _HAVE_STAT___UNUSED3, _HAVE_STAT___UNUSED4, - _HAVE_STAT___UNUSED5, _HAVE_STAT___PAD1, _HAVE_STAT___PAD2, - _HAVE_STAT64___UNUSED1, _HAVE_STAT64___UNUSED2, - _HAVE_STAT64___UNUSED3, _HAVE_STAT64___UNUSED4, - _HAVE_STAT64___UNUSED5, _HAVE_STAT64___PAD1, _HAVE_STAT64___PAD2): - Remove. - * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Use i386/xstat.c. - * sysdeps/unix/sysv/linux/sparc/sparc64/fxstatat.c: - Use i386/fxstatat.c. - * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat.c: Use i386/lxstat.c. - * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: New file. - * sysdeps/unix/sysv/linux/sparc/bits/stat.h (struct stat, - struct stat64): Add nsec resolution for 64-bit code like already done - for 32-bit code. - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL): Don't define - for sparc64. - (__ASSUME_STAT64_SYSCALL): Only define for sparc64 for >= 2.6.12 - kernels. - - * scripts/data/c++-types-sparc-linux-gnu.data: New file. - * scripts/data/c++-types-sparc64-linux-gnu.data: New file. - * scripts/data/c++-types-alpha-linux-gnu.data: Adjust. - -2006-01-08 Roland McGrath - - [BZ #1535] - * sysdeps/unix/get_child_max.c: New file. - * posix/get_child_max.c: New file. - * posix/Makefile (routines): Add it. - * include/sys/sysinfo.h (__get_child_max): Declare it. - * sysdeps/posix/sysconf.c (__sysconf) [! CHILD_MAX]: Use it. - - * sysdeps/unix/sysv/linux/futimes.c [!__NR_fcntl && __NR_fcntl64]: Use - fcntl64 syscall instead. - - * stdio-common/tst-fmemopen2.c (do_test): Add a cast. - * stdio-common/printf-parsemb.c (__find_specmb): Likewise. - - * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use <> instead of "" in - #include for kernel-features.h. - * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/select.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise. - * sysdeps/unix/sysv/linux/check_pf.c: Likewise. - * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise. - * sysdeps/unix/sysv/linux/clock_getres.c: Likewise. - * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise. - * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise. - * sysdeps/unix/sysv/linux/clock_settime.c: Likewise. - * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise. - * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise. - * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise. - * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise. - * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise. - * sysdeps/unix/sysv/linux/futimes.c: Likewise. - * sysdeps/unix/sysv/linux/futimesat.c: Likewise. - * sysdeps/unix/sysv/linux/fxstat64.c: Likewise. - * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise. - * sysdeps/unix/sysv/linux/getcwd.c: Likewise. - * sysdeps/unix/sysv/linux/getdents.c: Likewise. - * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. - * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise. - * sysdeps/unix/sysv/linux/i386/fchownat.c: Likewise. - * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise. - * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise. - * sysdeps/unix/sysv/linux/i386/fxstatat.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise. - * sysdeps/unix/sysv/linux/i386/lockf64.c: Likewise. - * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise. - * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. - * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise. - * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise. - * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise. - * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise. - * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise. - * sysdeps/unix/sysv/linux/ifreq.c: Likewise. - * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise. - * sysdeps/unix/sysv/linux/lxstat64.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/fchownat.c: Likewise. - * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise. - * sysdeps/unix/sysv/linux/mmap64.c: Likewise. - * sysdeps/unix/sysv/linux/msgctl.c: Likewise. - * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise. - * sysdeps/unix/sysv/linux/opendir.c: Likewise. - * sysdeps/unix/sysv/linux/poll.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: Likewise. + * sysdeps/powerpc/powerpc64/ppc-mcount.S (PROF): Don't undef. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Invoke CALL_MOUNT. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise. - * sysdeps/unix/sysv/linux/pread.c: Likewise. - * sysdeps/unix/sysv/linux/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/prof-freq.c: Likewise. - * sysdeps/unix/sysv/linux/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise. - * sysdeps/unix/sysv/linux/semctl.c: Likewise. - * sysdeps/unix/sysv/linux/setegid.c: Likewise. - * sysdeps/unix/sysv/linux/seteuid.c: Likewise. - * sysdeps/unix/sysv/linux/shmctl.c: Likewise. - * sysdeps/unix/sysv/linux/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/sigpending.c: Likewise. - * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise. - * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Likewise. - * sysdeps/unix/sysv/linux/statvfs64.c: Likewise. - * sysdeps/unix/sysv/linux/syslog.c: Likewise. - * sysdeps/unix/sysv/linux/testrtsig.h: Likewise. - * sysdeps/unix/sysv/linux/truncate64.c: Likewise. - * sysdeps/unix/sysv/linux/utimes.c: Likewise. - * sysdeps/unix/sysv/linux/xstat64.c: Likewise. - * sysdeps/unix/sysv/linux/xstatconv.h: Likewise. - -2006-01-07 Roland McGrath - - * po/libc.pot: Regenerated. - - * po/.cvsignore: List libc.pot.files, and not any .pot names. - - * manual/maint.texi (Porting): Don't mention Dist files. - * sysdeps/alpha/soft-fp/Dist: File removed. - * sysdeps/alpha/Dist: File removed. - * sysdeps/i386/i686/Dist: File removed. - * sysdeps/i386/soft-fp/Dist: File removed. - * sysdeps/i386/Dist: File removed. - * sysdeps/mips/soft-fp/Dist: File removed. - * sysdeps/mips/mips64/soft-fp/Dist: File removed. - * sysdeps/mips/mips64/Dist: File removed. - * sysdeps/mips/Dist: File removed. - * sysdeps/wordsize-32/Dist: File removed. - * sysdeps/m68k/fpu/switch/Dist: File removed. - * sysdeps/m68k/fpu/Dist: File removed. - * sysdeps/powerpc/powerpc64/Dist: File removed. - * sysdeps/powerpc/soft-fp/Dist: File removed. - * sysdeps/powerpc/powerpc32/fpu/Dist: File removed. - * sysdeps/powerpc/powerpc32/Dist: File removed. - * sysdeps/powerpc/fpu/Dist: File removed. - * sysdeps/powerpc/Dist: File removed. - * sysdeps/unix/common/Dist: File removed. - * sysdeps/unix/bsd/bsd4.4/Dist: File removed. - * sysdeps/unix/bsd/Dist: File removed. - * sysdeps/unix/sysv/linux/alpha/Dist: File removed. - * sysdeps/unix/sysv/linux/i386/Dist: File removed. - * sysdeps/unix/sysv/linux/mips/mips64/Dist: File removed. - * sysdeps/unix/sysv/linux/mips/Dist: File removed. - * sysdeps/unix/sysv/linux/m68k/Dist: File removed. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: File removed. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: File removed. - * sysdeps/unix/sysv/linux/powerpc/aix/Dist: File removed. - * sysdeps/unix/sysv/linux/powerpc/Dist: File removed. - * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: File removed. - * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: File removed. - * sysdeps/unix/sysv/linux/sparc/Dist: File removed. - * sysdeps/unix/sysv/linux/ia64/Dist: File removed. - * sysdeps/unix/sysv/linux/s390/s390-64/Dist: File removed. - * sysdeps/unix/sysv/linux/s390/Dist: File removed. - * sysdeps/unix/sysv/linux/s390/s390-32/Dist: File removed. - * sysdeps/unix/sysv/linux/sh/Dist: File removed. - * sysdeps/unix/sysv/linux/x86_64/Dist: File removed. - * sysdeps/unix/sysv/linux/hppa/Dist: File removed. - * sysdeps/unix/sysv/linux/Dist: File removed. - * sysdeps/unix/sysv/Dist: File removed. - * sysdeps/unix/Dist: File removed. - * sysdeps/generic/Dist: File removed. - * sysdeps/sparc/sparc32/soft-fp/Dist: File removed. - * sysdeps/sparc/sparc32/sparcv9/Dist: File removed. - * sysdeps/sparc/sparc32/sparcv8/Dist: File removed. - * sysdeps/sparc/sparc32/Dist: File removed. - * sysdeps/sparc/sparc64/soft-fp/Dist: File removed. - * sysdeps/sparc/sparc64/Dist: File removed. - * sysdeps/sparc/Dist: File removed. - * sysdeps/gnu/Dist: File removed. - * sysdeps/ia64/fpu/Dist: File removed. - * sysdeps/ia64/Dist: File removed. - * sysdeps/mach/mips/Dist: File removed. - * sysdeps/mach/hurd/alpha/Dist: File removed. - * sysdeps/mach/hurd/i386/Dist: File removed. - * sysdeps/mach/hurd/mips/Dist: File removed. - * sysdeps/mach/hurd/powerpc/Dist: File removed. - * sysdeps/mach/hurd/Dist: File removed. - * sysdeps/s390/s390-64/Dist: File removed. - * sysdeps/s390/Dist: File removed. - * sysdeps/s390/s390-32/Dist: File removed. - * sysdeps/sh/Dist: File removed. - * sysdeps/posix/Dist: File removed. - * sysdeps/ieee754/dbl-64/Dist: File removed. - * sysdeps/ieee754/ldbl-128/Dist: File removed. - * sysdeps/ieee754/flt-32/Dist: File removed. - * sysdeps/ieee754/Dist: File removed. - * sysdeps/x86_64/soft-fp/Dist: File removed. - * sysdeps/x86_64/Dist: File removed. - * sysdeps/hppa/Dist: File removed. - - * Makerules (common-clean): Don't remove distinfo file. - ($(objpfx)distinfo): Target removed. - * manual/Makefile (mostlyclean): Don't remove distinfo file. - (glibc-targets): Remove echo-distinfo. - - * scripts/list-sources.sh: New file. - * Makefile (TAGS): New target. - * po/Makefile (libc.pot, libc.pot.files): New targets. - * Makeconfig (XGETTEXT): New variable. - * Makerules ($(..)po/%.pot): Rule removed. - (TAGS): Target removed. - * Rules (subdir_TAGS): Target removed. - * MakeTAGS: File removed. - - * Makefile (iconvdata/% localedata/% po/% manual/%): Depend on FORCE. - * Makeconfig ($(all-Depend-files)): New targets with no-op commands. - -2004-08-03 Marco Gerards - - [BZ #2119] - * sysdeps/mach/hurd/bits/ioctls.h (SIOCGIFHWADDR): New macro. - -2006-01-07 Ulrich Drepper - - * stdio-common/tstdiomisc.c (F): Use NAN to get NaN value. - -2006-01-06 Ulrich Drepper - - * elf/tst-tls8.c (do_test): Use $ORIGIN in module names. - -2006-01-03 Steven Munroe - - * sysdeps/generic/sysdep.h (cfi_same_value): Define macro. - - * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_runtime_resolve, - _dl_profile_resolve): Add CFI directives for stack and LR save. - Save LR in LRSAVE of previous frame per ABI. - * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Add CFI directives - for LR save. - * sysdeps/powerpc/powerpc32/lshift.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S - (__makecontext, __novec_makecontext): Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Add CFI directive - for LR save to register. - * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Add CFI directive - for stack. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise. - * sysdeps/powerpc/powerpc32/ppc-mcount.S: Add CFI directives for stack - and LR save. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: - Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise. Don't use - negative stack addressing. - - * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve, - _dl_profile_resolve): Add CFI directives for stack and LR save. - * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Add CFI directives - for stack. - * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Add CFI - directives for stack and LR save. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Add CFI - directives for stack. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone): Add CFI - directives for stack. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S - (__getcontext, __novec_getcontext): Add CFI directives for stack - and LR save. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S - (__makecontext): Add CFI directives for stack and LR save. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S - (__setcontext, __novec_setcontext): Add CFI directives for stack - and LR save. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S - (__swapcontext, __novec_swapcontext): Add CFI directives for stack - and LR save. - -2006-01-06 Jakub Jelinek - - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include tls.h. - (SYSCALL_ERROR_HANDLER_ENTRY): Use %g4 instead of %g2, to avoid - the need of .register directive for it. - * configure.in (libc_cv_asm_cfi_directives): Use CFI rel offset - 2047 instead of 0 in the test on sparc64. - -2006-01-06 Ulrich Drepper - - * scripts/check-c++-types.sh: Add more pthread types. - * scripts/data//c++-types-i386-linux-gnu.data: Adjust. - * scripts/data//c++-types-ia64-linux-gnu.data: Likewise. - * scripts/data//c++-types-powerpc-linux-gnu.data: Likewise. - * scripts/data//c++-types-powerpc64-linux-gnu.data: Likewise. - * scripts/data//c++-types-s390-linux-gnu.data: Likewise. - * scripts/data//c++-types-s390x-linux-gnu.data: Likewise. - * scripts/data//c++-types-x86_64-linux-gnu.data: Likewise. - - * sysdeps/unix/sysv/linux/ia64/sysdep.h (DO_INLINE_SYSCALL_NCS): - Adjust for private->__private rename in tcbhead_t. - - [BZ #2114] - * ncsd/aicache.c: Don't use sendfile for records on the stack. - * nscd/grpcache.c: Likewise. - * nscd/hstcache.c: Likewise. - * nscd/initgrcache.c: Likewise. - * nscd/pwdcache.c: Likewise. - Patch by dmueller@suse.com. - - * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Define MADV_REMOVE. - * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise. - -2006-01-06 Roland McGrath - - * Makeconfig (+gnu-stabs): Remove ancient cruft. - - [BZ #2103] - * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_HWX25): Corrected macro - name (was typo ARPHDR_HWX25). - (ARPHRD_IEEE80211_PRISM, ARPHRD_IEEE80211_RADIOTAP): New macros. - (ARPHRD_VOID, ARPHRD_NONE): New macros. - - * sysdeps/wordsize-32/divdi3.c (__moddi3): Add a cast. - - * io/fcntl.h [__USE_ATFILE] (AT_EACCESS): New macro. - * posix/unistd.h [__USE_ATFILE]: Declare faccessat. - * io/faccessat.c: New file. - * sysdeps/unix/sysv/linux/faccessat.c: New file. - * io/Makefile (routines): Add faccessat. - * io/Versions (libc: GLIBC_2.4): Likewise. - * io/tst-faccessat.c: New file. - * io/Makefile (tests): Add it. - - * scripts/check-local-headers.sh: Revert last change. - - * io/euidaccess.c: Add eaccess as an alias. - * sysdeps/mach/hurd/euidaccess.c: Likewise. - * sysdeps/posix/euidaccess.c: Likewise. - * posix/unistd.h [__USE_GNU]: Declare eaccess. - * io/Versions (libc: GLIBC_2.4): Add eaccess. - -2005-12-04 Joseph S. Myers - - * soft-fp/Makefile (gcc-single-routines): Add unordsf2, - floatunsisf, floatundisf. - (gcc-double-routines): Add unorddf2, floatunsidf, floatundidf. - (gcc-quad-routines): Add unordtf2, floatunsitf, floatunditf. - * soft-fp/op-common.h (_FP_CMP_UNORD): Define. - * soft-fp/single.h (FP_CMP_UNORD_S): Define. - * soft-fp/double.h (FP_CMP_UNORD_D): Define. - * soft-fp/quad.h (FP_CMP_UNORD_Q): Define. - * soft-fp/extended.h (FP_CMP_UNORD_E): Define. - * soft-fp/unordsf2.c: New file. - * soft-fp/unorddf2.c: New file. - * soft-fp/unordtf2.c: New file. - * soft-fp/floatunsisf.c: New file. - * soft-fp/floatundisf.c: New file. - * soft-fp/floatunsidf.c: New file. - * soft-fp/floatundidf.c: New file. - * soft-fp/floatunsitf.c: New file. - * soft-fp/floatunditf.c: New file. - - * soft-fp/op-common.h (__FP_CLZ): Define using __builtin_clz, - __builtin_clzl and __builtin_clzll. - -2006-01-05 Mike Frysinger - - * include/alloca.h (extend_alloca): Fix typoed name 'extern_alloca'. - -2006-01-05 Jakub Jelinek - - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_WAITID_SYSCALL): - Only define for 2.6.12+ on s390{,x}. - (__ASSUME_GETDENTS32_D_TYPE): Only define for 2.6.8+ on most arches - and only for 2.6.11+ on s390{,x}. - -2006-01-05 Ulrich Drepper - - * sysdeps/pthread/aio_misc.h [!DONT_USE_BOOTSTRAP_MAP] - (struct waitlist): Don't add cond. - * sysdeps/pthread/aio_notify.c [!DONT_USE_BOOTSTRAP_MAP] - (__aio_notify): Use AIO_MISC_NOTIFY instead of pthread_cond_signal. - * sysdeps/pthread/aio_suspend.c [!DONT_USE_BOOTSTRAP_MAP]: Don't - use condvar, use AIO_MISC_WAIT. - * sysdeps/pthread/lio_listio.c: Likewise. - * rt/Makefile (tests): Add tst-aio9 and tst-aio10. - * rt/tst-aio9.c: New file. - * rt/tst-aio10.c: New file. - - * rt/tst-aio3.c: The thread is now supposed to be created. - -2006-01-05 Roland McGrath - - * include/features.h: Grok _ATFILE_SOURCE and define __USE_ATFILE when - it or _GNU_SOURCE is defined. - * io/fcntl.h: Protect *at and AT_* with [__USE_ATFILE] instead of - [__USE_GNU]. - * libio/stdio.h: Likewise. - * posix/unistd.h: Likewise. - * time/sys/time.h: Likewise. - * io/sys/stat.h: Likewise. - - * io/sys/stat.h [__USE_GNU]: Declare fchmodat. - * io/fchmodat.c: New file. - * io/Makefile (routines): Add fchmodat. - * io/Versions (libc: GLIBC_2.4): Likewise. - * sysdeps/unix/sysv/linux/fchmodat.c: New file. - * io/tst-fchmodat.c: New file. - * io/Makefile (tests): Add it. - -2006-01-03 Steven Munroe - - * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY, EALIGN): Add cfi_startproc - directive to ENTRY macros. - (END): Add cfi_endproc directive to END macro. - * sysdeps/powerpc/powerpc64/sysdep.h (ENTRY, EALIGN): Add cfi_startproc - directive to ENTRY macros. - (END, END_GEN_TB): Add cfi_endproc directive to END macros. - * sysdeps/powerpc/powerpc32/dl-start.S: Remove ENTRY()s for - _dl_start_user and _dl_main_dispatch. - * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Use END macro. - * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Use Likewise. - * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise. - * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise. - * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise. - * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Remove redundant - cfi_startproc and cfi_endproc. * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise. -2006-01-04 Ulrich Drepper +2004-10-19 Wolfram Gloger - * sysdeps/pthread/aio_misc.h (struct waitlist): Add result member. - * sysdeps/pthread/aio_notify.c (__aio_notify): For synchronous waiters, - failed I/O, and a result pointer, set value to -1. - * sysdeps/pthread/aio_suspend.c: Initialize result pointer to NULL. - * sysdeps/pthread/lio_listio.c: For LIO_WAIT, point result pointer in - wait list to local variable result. If nonzero afterwards, set errno - to EIO. For LIO_NOWAIT set result to NULL. - * rt/Makefile (tests): Add tst-aio8. - * rt/tst-aio8.c: New file. + * malloc/hooks.c (mem2chunk_check, top_check): Handle + non-contiguous arena. Reported by Michael Dalton + [BZ #457]. Add further checks for top chunk. -2005-12-25 Kristian Van Der Vliet +2004-12-14 Jakub Jelinek - * abi-tags (*-.*-syllable.*): New match, with ABI value 5. - * elf/cache.c (print_entry): Match the Syllable ABI tag. + * sysdeps/posix/sysconf.c (__sysconf_check_spec): Remove leading + underscore from GETCONF_DIR filenames. -2006-01-04 Ulrich Drepper +2004-12-13 Ulrich Drepper - * include/stdlib.h: Make even more C++ compliant. + * po/de.po: Update from translation team. -2006-01-04 Joseph S. Myers + * nss/getnssent.c (__nss_getent): Double buffer size each round to + avoid problems with delays for some people's huge entries. + * nss/getXXbyYY.c (FUNCTION_NAME): Likewise. - * sysdeps/unix/sysv/linux/mips/brk.c (__brk): Use - __SYSCALL_CLOBBERS. +2004-12-13 Jakub Jelinek -2006-01-03 H.J. Lu + * posix/getconf.c (main): Prepend just $GETCONF_DIR/ instead of + $GETCONF_DIR/_ to spec. + * posix/confstr.c (confstr): Remove leading underscores for + _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS. - * configure.in (HAVE_LIBAUDIT): Check - audit_log_user_avc_message instead of audit_log_avc. +2004-12-12 Ulrich Drepper -2006-01-04 Joseph S. Myers + * elf/dl-load.c (_dl_map_object_from_fd): Fix computation of + mapping start. It must take the actual pagesize into account, not + the alignment in the file. - * sysdeps/ieee754/bits/nan.h: Fix typo. +2004-12-11 Ulrich Drepper -2006-01-03 Jakub Jelinek + * malloc/malloc.c (_int_realloc): Add checks for corrupted memory. + (_int_free): Make clear message are result of free() calls. - * sysdeps/unix/sysv/linux/m68k/fchownat.c: Include string.h. + * malloc/malloc.c (_int_realloc): Remove unnecessary tests for + oldmem and size == 0. - * sysdeps/sparc/sparc32/dl-machine.h (LD_SO_PRELOAD): Remove unused - define. +2004-12-10 Ulrich Drepper - * sysdeps/sparc/sparc32/bits/atomic.h: Include stdint.h, add - {,u}atomic*_t typedefs. - (__sparc32_atomic_do_lock): Add __volatile and memory clobber. - (__sparc32_atomic_do_unlock): Add memory barrier. - (__sparc32_atomic_do_lock24, __sparc32_atomic_do_unlock24): Define. - [!SHARED] (__v9_compare_and_exchange_val_32_acq): Define. - (__v7_compare_and_exchange_val_acq, __v7_compare_and_exchange_bool_acq, - __v7_exchange_acq, __v7_exchange_and_add, __v7_exchange_24_rel, - __v7_compare_and_exchange_val_24_acq, __atomic_is_v9, - atomic_exchange_acq, atomic_compare_and_exchange_val_24_acq, - atomic_exchange_24_rel): Define. - [SHARED] (atomic_exchange_and_add): Define. - [!SHARED] (__ATOMIC_HWCAP_SPARC_V9): Define. - [!SHARED] (_dl_hwcap): New weak decl. - * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_exchange_24_rel, - atomic_compare_and_exchange_val_24_acq): Define. - * sysdeps/sparc/sparc64/bits/atomic.h (atomic_exchange_24_rel, - atomic_compare_and_exchange_val_24_acq): Define. + * malloc/arena.c (arena_get2): Prevent endless loop if arenas and + list lock are taken. -2006-01-03 Ulrich Drepper +2004-12-08 Thorsten Kukuk - lio_listio should emit an event for each individual request in - addition to the global event. - * sysdeps/pthread/lio_listio.c (lio_listio): Renamed to - lio_listio_internal. Remove mode parameter check. Only set sigevent - type to SIGEV_NONE if LIO_NO_INDIVIDUAL_EVENT is set. - (__lio_listio_21): New function. Compatiblity version which sets - LIO_NO_INDIVIDUAL_EVENT before calling lio_listio_internal. - (__lio_listio_item_notify): New function. - * sysdeps/pthread/lio_listio64.c: Define __lio_listio_21 and - __lio_listio_item_notify macros. - * sysdeps/pthread/Versions: New file. - * rt/tst-aio2.c: Adjust test for new semantics of lio_listio. - * include/aio.h: Define LIO_NO_INDIVIDUAL_EVENT. - * Versions.def: Add GLIBC_2.4 for librt. + * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r): + Add check if the value is not an empty string. [BZ #597] - * rt/Versions: Whitespace fix. - * sysdeps/pthread/aio_misc.c: Likewise. +2004-11-29 Jakub Jelinek - * nscd/connections.c (nscd_init): Remove if block which should - have been removed as part of the -S option removal. + * stdlib/strtod_l.c (INTERNAL (__STRTOF)): If densize > 2 + and numsize < densize, always shift num up by empty + 1 limbs. -2006-01-03 Andreas Jaeger +2004-12-07 Paolo Bonzini - * scripts/check-local-headers.sh: Allow $includedir/c++. + * posix/regexec.c (proceed_next_node): Simplify treatment of epsilon + nodes. Pass the pushed node to push_fail_stack. + (push_fail_stack): Accept a single node rather than an array + of two epsilon destinations. + (build_sifted_states): Only walk non-epsilon nodes. + (check_arrival): Don't pass epsilon nodes to + check_arrival_add_next_nodes. + (check_arrival_add_next_nodes) [DEBUG]: Abort if an epsilon node is + found. + (check_node_accept): Do expensive checks later. + (add_epsilon_src_nodes): Cache result of merging the inveclosures. + * posix/regex_internal.h (re_dfastate_t): Add non_eps_nodes and + inveclosure. + (re_string_elem_size_at, re_string_char_size_at, re_string_wchar_at, + re_string_context_at, re_string_peek_byte_case, + re_string_fetch_byte_case, re_node_set_compare, re_node_set_contains): + Declare as pure. + * posix/regex_internal.c (create_newstate_common): Remove. + (register_state): Move part of it here. Initialize non_eps_nodes. + (free_state): Free inveclosure and non_eps_nodes. + (create_cd_newstate, create_ci_newstate): Allocate the new + re_dfastate_t here. -2006-01-03 Jakub Jelinek +2004-12-09 Ulrich Drepper - * posix/unistd.h (ctermid): Remove __nonnull attribute. + * malloc/malloc.c (public_rEALLOc): Add parameter checks. + (_int_free): Provide better error message for invalid pointers. -2006-01-02 Jakub Jelinek +2004-12-01 Jakub Jelinek - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PTR_MANGLE, - PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Define. - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (PTR_MANGLE, - PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Define. - * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h [__WORDSIZE == 64] - (_JMPBUF_UNWINDS): Don't demangle uc_mcontext.mc_fp. - * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Mangle %fp, %sp - and %o7. - * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Demangle %fp, %sp - and %o7. + * posix/tst-regex.c: Use defined _POSIX_CPUTIME && _POSIX_CPUTIME >= 0 + conditionals instead of defined _POSIX_CPUTIME. + (main): If _POSIX_CPUTIME == 0, call sysconf to see if CPUTIME + option is available. + * posix/tst-regex.c2: Use defined _POSIX_CPUTIME && _POSIX_CPUTIME >= 0 + conditionals instead of defined _POSIX_CPUTIME. + (do_test): If _POSIX_CPUTIME == 0, call sysconf to see if CPUTIME + option is available. + * sysdeps/posix/sysconf.c (__sysconf): If _POSIX_CPUTIME resp. + _POSIX_THREAD_CPUTIME is defined to 0, return -1 for the corresponding + _SC_ argument. -2006-01-02 Jakub Jelinek +2004-12-08 Jakub Jelinek - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PTR_MANGLE2): - Define. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (PTR_MANGLE2): + * elf/ldd.bash.in: When set -o pipefail is available, use that for + piping to cat; when not, don't use the pipe at all. + Pipe to cat in all cases of running the executable. + When direct running exits with code 5, retry running via ${RTLD}. + * elf/rtld.c (process_envvars): If __libc_enable_secure and + mode != normal, exit with exitcode 5. + +2004-12-07 Jakub Jelinek + + * sysdeps/posix/sysconf.c (__sysconf_check_spec): Only define + if it will be actually used. + +2004-12-07 Roland McGrath + + * rt/tst-timer5.c (setup_test): New function. + (TEST_CLOCK_MISSING): Use it to punt test if timer_create does not + support CLOCK_MONOTONIC. + +2004-12-07 Jakub Jelinek + + * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Add support for + NPTL where the PID is stored at userlevel and needs to be reset when + CLONE_THREAD is not used. Restore gp before calling _exit. + +2004-12-07 Kaz Kojima + + * sysdeps/unix/sysv/linux/sh/clone.S: Clear the frame pointer when + starting a new thread. Add support for NPTL where the PID is stored + at userlevel and needs to be reset when CLONE_THREAD is not used. + +2004-12-01 Jakub Jelinek + + * elf/rtld.c (process_envvars): Don't consider LD_SHOW_AUXV + and LD_DYNAMIC_WEAK if __libc_enable_secure. + If __libc_enable_secure, /etc/suid-debug doesn't exist and + program will be actually run, turn off all debugging. + * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add LD_DEBUG, + LD_DYNAMIC_WEAK and LD_SHOW_AUXV. + +2004-12-06 Jakub Jelinek + + * time/tzset.c (tzset_internal): If + or - is seen, + but no offset after it, reset offset to 0. [BZ #601] + +2004-12-06 Ulrich Drepper + + * libio/ioseekpos.c (_IO_seekpos_unlocked): Call _IO_SEEKOFF not + _IO_SEEKPOS, saving one indirect jump. + + * libio/fileops.c (_IO_new_file_seekoff): Fix optimization of in-buffer + seek. Remove dead code. + +2004-12-02 Jakub Jelinek + + * libio/Makefile (tests): Add bug-ungetc4. + * libio/bug-ungetc4.c: New test. + +2004-12-06 Roland McGrath + + * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Diagnose EINVAL + for CLOCK_THREAD_CPUTIME_ID, not ENOTSUP. + Use SYSDEP_NANOSLEEP handler before validating CLOCK_ID value. + + * rt/tst-timer4.c (TEST_CLOCK, TEST_CLOCK_NANOSLEEP): New macros. + Use them throughout in place of CLOCK_REALTIME and nanosleep. + (do_test) [TEST_CLOCK_MISSING]: Call this macro and if it returns + non-null, punt the test with a message using the string returned. + * rt/tst-timer5.c: New file. + * rt/Makefile (tests): Add it. + +2004-12-01 Paolo Bonzini + + * posix/regcomp.c (free_dfa_content, init_dfa): Remove + references to re_dfa_t's subexps field. + (parse_sub_exp, parse_expression): Do not use it. Use + completed_bkref_map instead. + (create_initial_state, peek_token): Store a backreference \N + with opr.idx = N-1. + * posix/regexec.c (proceed_next_node, check_dst_limits, get_subexp): Likewise. - * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Demangle also %r15. - * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise. - * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Mangle also %r15. - * sysdeps/s390/s390-32/elf/setjmp.S (__sigsetjmp): Likewise. - * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp): Likewise. - * sysdeps/s390/s390-64/elf/setjmp.S (__sigsetjmp): Likewise. - - * sysdeps/s390/bits/setjmp.h (__jmp_buf): Add __s390_jmp_buf - struct tag to make C++ happy. - -2006-01-02 Ulrich Drepper - - * posix/Makefile ($(objpfx)annexc.out): Move -I.. to the end of - the include list. - -2006-01-01 Ulrich Drepper - - * posix/getconf.c: Update copyright year. - * nss/getent.c: Likewise. - * iconv/iconvconfig.c: Likewise. - * iconv/iconv_prog.c: Likewise. - * elf/ldconfig.c: Likewise. - * catgets/gencat.c: Likewise. - * csu/version.c: Likewise. - * elf/ldd.bash.in: Likewise. - * elf/sprof.c (print_version): Likewise. - * locale/programs/locale.c: Likewise. - * locale/programs/localedef.c: Likewise. - * nscd/nscd.c (print_version): Likewise. - * debug/xtrace.sh: Likewise. - * malloc/memusage.sh: Likewise. - * malloc/mtrace.pl: Likewise. - * debug/catchsegv.sh: Likewise. - -2005-12-31 Andreas Jaeger - - [BZ #1395] - * manual/filesys.texi (Symbolic Links): Fix description of - canonicalize_file_name based on patch by Oskar Liljeblad - . - -2005-12-29 Andreas Jaeger - - * resolv/res_debug.c (latlon2ul): Use ISO C function definition. - (precsize_aton): Likewise. - (precsize_ntoa): Likewise. - - * resolv/gethnamaddr.c (_gethtbyname): Remove extra prototype. - (gethostbyname2): Likewise. - (gethostbyaddr): Likewise. - (getanswer): Use ISO C function definition. - -2005-12-29 Kaz Kojima - - * sysdeps/sh/sysdep.h: Add cfi instrumentation to asm fragments. - * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise. - * sysdeps/sh/_mcount.S: Add cfi instrumentation. - * sysdeps/unix/sh/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/sh/makecontext.S: Adjust cfi_startproc. - * sysdeps/unix/sysv/linux/sh/sh4/getcontext.S: Remove now duplicate - cfi_startproc and cfi_endproc. - * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S: Likewise. - * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S: Likewise. - * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise. - * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise. - * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise. - * sysdeps/unix/sysv/linux/sh/socket.S: Likewise. - * sysdeps/unix/sysv/linux/sh/sysdep.S: Add cfi_endproc. - -2005-12-30 Ulrich Drepper - - * sysdeps/powerpc/powerpc64/setjmp-common.S: Make sure pointer guard - value doesn't survive in a registers when the function returns. - * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. - * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise. - -2005-12-30 Jakub Jelinek - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define - PTR_MANGLE2. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define - PTR_MANGLE2 and PTR_DEMANGLE2. - * sysdeps/powerpc/powerpc64/__longjmp-common.S: Use PTR_DEMANGLE2. - * sysdeps/powerpc/powerpc64/setjmp-common.S: Use PTR_MANGLE2. - * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. - * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise. - -2005-12-30 Ulrich Drepper - - * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h (_JMPBUF_UNWINDS): - Don't use _demangle parameter for now. - - [BZ #2080] - * libio/iogetwline.c (_IO_getwline_info): Move return to correct - location. - - * nscd/connections.c: Remove last remnants of -S option support. - * nscd/nscd.c: Likewise. - * nscd/nscd.h: Likewise. - -2005-12-30 Andreas Jaeger - - [BZ #1067] - * sysdeps/unix/sysv/linux/mips/bits/socket.h: Fix struct msghdr - for 64-bit mips kernel. - -2005-12-08 Steven Munroe - Tom Gall - - * elf/rtld.c (dl_main): Initialize l_local_scope for sysinfo_map. - * sysdeps/powerpc/elf/libc-start.c: Move this... - * sysdeps/unix/sysv/linux/powerpc/libc-start.c: ...to here. - * sysdeps/powerpc/powerpc32/dl-start.S: Add _dl_main_dispatch label. - * sysdeps/powerpc/powerpc32/hp-timing.h: New file. - * sysdeps/unix/sysv/linux/powerpc/Versions: New file. - * sysdeps/unix/sysv/linux/clock_getres.c: If HAVE_CLOCK_GETRES_VSYSCALL - is not defined, redefine INTERNAL_VSYSCALL and INLINE_VSYSCALL to - INTERNAL_SYSCALL and INLINE_SYSCALL respectively. Otherwise include - . Use INLINE_VSYSCALL and INTERNAL_SYSCALL instead - of the normal versions throughout the code. - * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise if - HAVE_CLOCK_GETTIME_VSYSCALL is defined. - * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: New file. - * sysdeps/unix/sysv/linux/powerpc/dl-vdso.c: New file. - * sysdeps/unix/sysv/linux/powerpc/dl-vdso.h: New file. - * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use vDSO. - * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: New file. - * sysdeps/unix/sysv/linux/powerpc/Makefile: Add dl-vdso to routines. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define - INLINE_VSYSCALL, INTERNAL_VSYSCALL, INTERNAL_SYSCALL_NCS, - INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK, HAVE_CLOCK_GETRES_VSYSCALL, - and HAVE_CLOCK_GETTIME_VSYSCALL. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise. - -2005-12-29 Ulrich Drepper - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h [ASSEMBLER]: - Define PTR_DEMANGLE2. - * sysdeps/powerpc/powerpc32/setjmp-common.S [PTR_MANGLE]: Also - mangle r1. - * sysdeps/powerpc/powerpc32/__longjmp-common.S [PTR_DEMANGLE]: Also - demangle r1. - * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [PTR_MANGLE]: Mangle - r0 and r1. - * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [PTR_DEMANGLE]: - Demangle r0 and r1. - - * sysdeps/powerpc/powerpc64/setjmp-common.S [PTR_MANGLE]: Also - mangle r1. - * sysdeps/powerpc/powerpc64/__longjmp-common.S [PTR_DEMANGLE]: Also - demangle r1. - -2005-12-26 Steven Munroe - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: - Move common function to... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: - Move common function to... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: - Move common function to... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.sym - (_FRAME_BACKCHAIN, _FRAME_LR_SAVE, _FRAME_PARM_SAVE1, - _FRAME_PARM_SAVE2, _FRAME_PARM_SAVE3, _FRAME_PARM_SAVE4): - Remove unrelated stack frame defines. - -2005-12-29 Ulrich Drepper - - * stdio-common/tstdiomisc.c [FLT_EVAL_METHOD!=2] (dbl_max): - Defining as macro as before the last change. - - * sysdeps/unix/sysv/linux/sigaction.c: If WRAPPER_INCLUDE is defined, - include the named file. - * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise. - -2005-12-29 Roland McGrath - - * sysdeps/mach/hurd/errno.c: New file. - - * sysdeps/mach/hurd/ioctl.c (__ioctl): Use a union to avoid a cast. - - * sysdeps/posix/libc_fatal.c (__libc_message): Add a const, a cast. - - * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Fix cast. - * hurd/report-wait.c (_S_msg_report_wait): Likewise. - - * include/sys/xattr.h: New file. - -2005-12-28 Roland McGrath - - * hurd/sigunwind.c: Include . - * sysdeps/mach/hurd/jmp-unwind.c: Likewise. - -2005-12-28 Ulrich Drepper - - * nscd/selinux.c (log_callback): Use audit_log_user_avc_message. - Don't do anything if audit_fd is invalid. - (audit_init): Don't complain if kernel support is missing. - Patch by Steve Grubb . - - * sysdeps/i386/__longjmp.S [PTR_DEMANGLE]: Also demangle stack - pointer. Add CFI. - * sysdeps/i386/bsd-_setjmp.S [PTR_MANGLE]: Also mangle stack pointer. - * sysdeps/i386/bsd-setjmp.S: Likewise. - * sysdeps/i386/setjmp.S: Likewise. - - * sysdeps/x86_64/__longjmp.S: No need to make sure return value is - != 0, the caller did that. - -2005-12-27 Roland McGrath - - * sysdeps/x86_64/__longjmp.S: Don't confuse unwinder by loading - mangled values in %rbp and %rsp registers and by wrong cfi. - - * config.make.in (c++-sysincludes): New substituted variable. - * configure.in (CXX_SYSINCLUDES): New substituted variable. - * configure: Regenerated. - * Makeconfig (CXXFLAGS): Prepend $(c++-sysincludes) here. - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h - (PTR_MANGLE): Fix cast. - - * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Take third argument - DEMANGLE, and pass SP value through it. - * sysdeps/hppa/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. - * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. - * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. - * sysdeps/mips/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. - * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. - * sysdeps/s390/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. - * sysdeps/sh/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. - * sysdeps/sparc/sparc32/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Likewise. - * sysdeps/x86_64/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. - * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Pass inline - demangler function to _JMPBUF_UNWINDS. - * sysdeps/mach/hurd/jmp-unwind.c (demangle_ptr): New function. - (_longjmp_unwind): Pass it to _JMPBUF_UNWINDS. + (check_subexp_limits): Remove useless condition. + * posix/regex_internal.h (re_subexp_t): Remove. + (re_dfa_t): Remove subexps and subexps_alloc field, add + completed_bkref_map. - * posix/tst-execle1.c (do_test): Add a const. - * posix/tst-execle2.c (do_test): Likewise. +2004-12-05 Roland McGrath - * posix/transbug.c (run_test): Add some casts. - * posix/bug-regex22.c (main): Likewise. - * posix/bug-regex5.c (main): Likewise. - * wcsmbs/tst-mbsrtowcs.c (main): Likewise. - * string/test-strspn.c (do_test, do_random_tests): Likewise. - * string/test-strrchr.c (do_test, do_random_tests): Likewise. - * string/test-strlen.c (do_random_tests): Likewise. - * string/test-strpbrk.c (do_test, do_random_tests): Likewise. - * string/test-strcmp.c (do_random_tests): Likewise. - * string/test-strchr.c (do_test, do_random_tests): Likewise. - * string/test-strcat.c (do_test, do_random_tests): Likewise. - * string/test-strncpy.c (do_random_tests): Likewise. - * string/test-strcpy.c (do_test, do_random_tests): Likewise. - * string/test-memccpy.c (do_test): Likewise. - * string/test-memmove.c (do_test, do_random_tests): Likewise. - * string/test-memcpy.c (do_test, do_random_tests): Likewise. - * string/test-memcmp.c (do_test, do_random_tests): Likewise. - * string/test-memchr.c (do_test, do_random_tests): Likewise. - * dlfcn/bug-atexit1.c (do_test): Fix up prototype in cast. - * stdio-common/tst-fgets.c (do_test): Add a cast. - * iconvdata/bug-iconv4.c (xiconv): Add a cast. + * Makeconfig: Comment typo fix. - * locale/programs/simple-hash.c (insert_entry_2): Remove useless casts. +2004-11-30 Andreas Schwab - * resolv/herror.c (herror): Remove unused extern decl. + * nis/ypclnt.c (ypprot_err): Remove unused entries. - * libio/obprintf.c: Include "strfile.h". +2004-11-30 Paolo Bonzini - * elf/order2mod2.c (init): Cast ignored value to void. + * posix/regexec.c (check_dst_limits_calc_pos_1): Check for + bkref_idx == -1, and don't recurse in that case. -2005-12-27 Ulrich Drepper +2004-11-30 GOTO Masanori - * elf/tst-tls13.c (do_test): Avoid using the library path when - looking for tst-tlsmod13a.so. + * posix/confstr.c: Enclose #error message with double quote + for gcc-3.3 and lower. - * stdio-common/tstdiomisc.c: If FLT_EVAL_METHOD is 2, use long - double math to generate NaN results. +2004-12-04 Ulrich Drepper - * sysdeps/unix/sysv/linux/sparc/bits/errno.h: Define EOWNERDEAD - and ENOTRECOVERABLE if not already defined. - * sysdeps/unix/sysv/linux/alpha/bits/errno.h: Likewise. - -2005-12-27 Jakub Jelinek - - * sysdeps/unix/sysv/linux/alpha/Versions: Add new errlist-compat - entry for up to 138 errnos. - -2005-12-27 Jakub Jelinek - - * iconv/gconv_trans.c (__gconv_transliterate): Demangle step __fct - before calling it. - -2005-12-27 David S. Miller - - * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist-compat - entry for up to 134 errnos. - -2005-12-26 Ulrich Drepper - - * Versions.def: Add GLIBC_2.4 for libpthread. - -2005-12-25 Ulrich Drepper - - * stdlib/Makefile ($(objpfx)isomac.out): Move -I.. to the end so - that $(..)/bits is not found early. - -2005-12-24 Ulrich Drepper - - * manual/errno.texi: Add new Linux errno codes. - * sysdeps/unix/sysv/linux/Versions: Add new errlist-compat entry - for up to 132 errnos. - * sysdeps/unix/sysv/linux/bits/errno.h: Define EOWNERDEAD and - ENOTRECOVERABLE if not already defined. - -2005-12-23 Ulrich Drepper - - [BZ #1566] - * sysdeps/i386/i586/memusage.h: New file. - * sysdeps/i386/memusage.h: Don't define GETTIME. - -2005-12-22 Ulrich Drepper - - [BZ #1499] - * misc/syslog.c (SyslogAddr): Use sockaddr_un instead of sockaddr. - (openlog_internal): Adjust for this change. - - * Makeconfig: Define CXXFLAGS. Split out warnings from +gccwarn which - are not understood by the C++ compiler. - * Makerules: Add rules to build C++ code for test cases. - * include/stdlib.h: Protect for inclusion in C++ code. - * include/time.h: Likewise. - -2005-12-22 Roland McGrath - - * Makerules [gen-as-const-headers] (tests): Add one test per .sym - file, not just one. - ($(objpfx)test-as-const.c): Target replaced with ... - ($(objpfx)test-as-const-%.c): ... this pattern rule. - (generated): Add those files. - -2005-12-22 Ulrich Drepper - - * test-skeleton.c (timeout_handler): Rewrite ts initialization for - C++ compatibility. - - * sysdeps/x86_64/__longjmp.S: Also protect SP and BP. - * sysdeps/x86_64/setjmp.S: Likewise. - -2005-12-21 Roland McGrath - - * sysdeps/unix/sysv/linux/i386/ucontext_i.h: File removed. - * sysdeps/unix/sysv/linux/i386/ucontext_i.sym: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h: File removed. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.sym: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h: File removed. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: File removed. - * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: File removed. - * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: New file. - * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.h: File removed. - * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: New file. - * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.h: File removed. - * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: New file. - * sysdeps/unix/sysv/linux/x86_64/ucontext_i.h: File removed. - * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym: New file. - * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = stdlib]: - (gen-as-const-headers): Add it. - * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise. - * sysdeps/unix/sysv/linux/sh/Makefile: Likewise. - * sysdeps/unix/sysv/linux/s390/Makefile: Likewise. - * sysdeps/unix/sysv/linux/x86_64/Makefile: Likewise. - * stdlib/tst-ucontext-off.c: File removed. - * stdlib/Makefile (tests): Remove it. - - * scripts/gen-as-const.awk: Support generating a test program. - * Makerules [gen-as-const-headers] (tests): Add test-as-const. - [gen-as-const-headers] ($(objpfx)test-as-const.c): New target. - - * sysdeps/generic/bits: Subdirectory and all files moved to ... - * bits: ... here, new subdirectory. - * Makeconfig (+includes): Reordered includes to put build and sysdeps - dirs first after $(..)include, $(sysincludes) last. - - [BZ #2066] - * intl/l10nflist.c (_nl_make_l10nflist): Free ABS_FILENAME when later - malloc fails. - -2005-12-21 Jakub Jelinek - - * sysdeps/powerpc/fpu/libm-test-ulps: Update for GCC 4.1 prerelease. - -2005-12-21 Roland McGrath - - * sysdeps/mach/hurd/ifreq.c: Add missing #includes. - - * elf/cache.c: Use <> rather than "" #includes. - * elf/chroot_canon.c: Likewise. - * elf/dl-lookup.c: Likewise. - * elf/ldconfig.c: Likewise. - * elf/readlib.c: Likewise. - * elf/rtld.c: Likewise. - * gmon/mcount.c: Likewise. - * hurd/hurdfault.c: Likewise. - * hurd/hurdsig.c: Likewise. - * hurd/report-wait.c: Likewise. - * hurd/sigunwind.c: Likewise. - * mach/setup-thread.c: Likewise. - * rt/aio_read64.c: Likewise. - * rt/aio_sigqueue.c: Likewise. - * rt/aio_write64.c: Likewise. - * soft-fp/soft-fp.h: Likewise. - * stdio-common/tmpfile64.c: Likewise. - * sysdeps/mach/hurd/fork.c: Likewise. - * sysdeps/mach/hurd/hppa/trampoline.c: Likewise. - * sysdeps/mach/hurd/i386/trampoline.c: Likewise. - * sysdeps/mach/hurd/mips/trampoline.c: Likewise. - * sysdeps/mach/hurd/powerpc/trampoline.c: Likewise. - * sysdeps/posix/sprofil.c: Likewise. - * sysdeps/pthread/aio_cancel.c: Likewise. - * sysdeps/pthread/aio_fsync.c: Likewise. - * sysdeps/pthread/aio_read64.c: Likewise. - * sysdeps/pthread/aio_read.c: Likewise. - * sysdeps/pthread/aio_suspend.c: Likewise. - * sysdeps/pthread/aio_write64.c: Likewise. - * sysdeps/pthread/aio_write.c: Likewise. - * sysdeps/pthread/lio_listio64.c: Likewise. - * sysdeps/pthread/lio_listio.c: Likewise. - * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise. - * sysdeps/unix/sysv/tcflow.c: Likewise. - - * sysdeps/generic/unwind-dw2.c (extract_cie_info): Add a cast. - - * elf/dl-error.c (_dl_signal_error): Use .__jmpbuf in __longjmp call. - - * csu/dso_handle.c (__dso_handle): Add const to pointer type too. - -2005-12-21 Ulrich Drepper - - * iconv/gconv_conf.c: Initialize empty_path_elem. - - * sysdeps/ieee754/dbl-64/halfulp.c: Mark tab54 as static and const. - * sysdeps/i386/fpu/e_expl.c: Mark c0 and c1 as const. - * sysdeps/ieee754/flt-32/s_expm1f.c: Make sure huge and tiny end - up in .rodata. - * sysdeps/ieee754/flt-32/e_exp2f.c: Make sure TWO127 and TWOM100 - end up in .rodata. - * sysdeps/ieee754/flt-32/e_expf.c: Likewise. - * sysdeps/ieee754/dbl-64/e_exp2.c: Make sure TWO1023 and TWOM1000 - end up in .rodata. - -2005-12-21 Thorsten Kukuk - - * elf/readlib.c: Fix include of readelflib.c. - -2005-12-21 Ulrich Drepper - - [BZ #1962] - * io/fts.c (fts_open): Change type of len to size_t. - (fts_build): Remove cast in call to fts_alloc. - (fts_alloc): Change third parameter's type to size_t. - - [BZ #1960] - * io/fts.c (fts_open): Avoid function call in MAX macro use. - -2005-12-20 Ulrich Drepper - - * locale/xlocale.c (_nl_C_locobj): Mark as const. - * include/locale.h: Define _nl_C_locobj_ptr. - * iconv/gconv_charset.h: Use _nl_C_locobj_ptr instead of using pointer - to _nl_C_locobj because we also need a cast. - * iconv/gconv_conf.c: Likewise. - * iconv/gconv_int.h: Likewise. - * iconv/gconv_open.c: Likewise. - * locale/duplocale.c: Likewise. - * locale/freelocale.c: Likewise. - * locale/newlocale.c: Likewise. - * misc/syslog.c: Likewise. - * stdlib/strtod_l.c: Likewise. - * sysdeps/unix/sysv/linux/getloadavg.c: Likewise. - - * csu/dso_handle.c (__dso_handle): Mark as const. - - * intl/plural-exp.c (GERMANIC_PLURAL): Mark as const. - * intl/plural-exp.h: Adjust declaration of - __gettext_germanic_plural. - - * resolv/herror.c (h_errlist): Mark as const. - (h_nerr): Likewise. - -2005-12-15 Thomas Schwinge - - [BZ #2061] - * sysdeps/mach/hurd/xmknod.c (__xmknod): Handle S_IFREG. - -2005-12-20 Roland McGrath - - * sysdeps/unix/sysv/linux/ifreq.h: File removed. - * sysdeps/unix/sysv/linux/ifreq.c: #include "kernel-features.h" here. - - * sysdeps/mach/hurd/ifreq.h: File removed. - (__ifreq): Function moved to ... - * sysdeps/mach/hurd/ifreq.c: ... here, new file. - -2005-12-20 Ulrich Drepper - - * sunrpc/clnt_unix.c (unix_ops): Mark as const. - * sunrpc/auth_des.c (authdes_ops): Likewise. - * sunrpc/svc_raw.c (server_ops): Likewise. - * sunrpc/clnt_udp.c (udp_ops): Likewise. - * sunrpc/clnt_tcp.c (tcp_ops): Likewise. - * sunrpc/clnt_raw.c (client_ops): Likewise. - * sunrpc/auth_unix.c (auth_unix_ops): Likewise. - * sunrpc/auth_none.c (ops): Likewise. - - * nss/nsswitch.c (databases): Mark as const. Change name field - into array. - * nss/databases.def: Add warning. - - * resolv/res_hconf.c (arg_service_list): Reduce size of svcs and - mark const. - (cmd): Mark as const. - (parse_line): Mark c as pointer to const. - - * misc/getusershell.c (initshells): Remove unnecessary tests. - (endusershell): Likewise. - (okshells): Mark as const. + * sysdeps/unix/sysv/linux/i386/clone.S: Add support for NPTL where + the PID is stored at userlevel and needs to be reset when CLONE_THREAD + is not used. + * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise. - * sysdeps/posix/gai_strerror.c: Complete rewrite. Avoid relocations. - * sysdeps/posix/gai_strerror-strs.h: New file. - * sysdeps/posix/Dist: New file. +2004-11-18 Daniel Jacobowitz - * sysdeps/posix/getaddrinfo.c (gaih): Mark as const. - * locale/loadlocale.c (_nl_value_types): Likewise. - * iconv/gconv_conf.c (builtin_aliases): Likewise. - * iconv/gconv_open.c (internal_trans_names): Likewise. - -2005-12-19 Kaz Kojima - - * sysdeps/unix/sysv/linux/sh/sysdep.h: Include tls.h. - (PTR_MANGLE, PTR_DEMANGLE): Define. - (SYSCALL_ERROR_HANDLER): Fix typo. - * sysdeps/sh/sh4/__longjmp.S: Use PTR_DEMANGLE if defined. - * sysdeps/sh/sh3/__longjmp.S: Likewise. - * sysdeps/sh/sh4/setjmp.S: Use PTR_MANGLE if defined. - * sysdeps/sh/sh3/setjmp.S: Likewise. - -2005-12-20 Jakub Jelinek - - * sysdeps/ia64/fpu/libm-test-ulps: Update for GCC 4.1 prerelease. + * sysdeps/arm/sysdep.h: Define __USE_BX__ if bx is available. + Use it instead of __THUMB_INTERWORK__. Make RETINSTR take + only a condition and a register. + * sysdeps/arm/dl-machine.h: Use __USE_BX__ instead of + __THUMB_INTERWORK__. + (_dl_start_user): Use BX. + * sysdeps/arm/strlen.S: Use DO_RET. + * sysdeps/unix/arm/brk.S: Likewise. + * sysdeps/unix/arm/fork.S: Likewise. + * sysdeps/unix/arm/sysdep.S: Likewise. + * sysdeps/unix/arm/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/arm/clone.S: Update uses of RETINSTR. + * sysdeps/unix/sysv/linux/arm/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise. + * sysdeps/unix/sysv/linux/arm/socket.S: Likewise. + * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/time.c: If __NR_time is not defined, - use sysdeps/unix/time.c implementation. - -2005-12-19 Ulrich Drepper - - [BZ #1955] - * timezone/zic.c (tofile;): Fix typo in symlink creation. - Patch by Phil Estes . - - [BZ #1952] - * sysdeps/unix/sysv/linux/time.c: New file. - * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove time entry. - -2005-12-15 Thomas Schwinge - - * io/xmknodat.c: Include . - * misc/futimesat.c: Remove weak_alias and correct stub_warning. - * stdio-common/renameat.c (renameat): Fix typo. - -2005-12-16 Thorsten Kukuk - - [BZ #1978] - * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags): - Map more filesystem types to a string. - * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add SYSFS_MAGIC. - -2005-12-19 Jakub Jelinek - - * locale/Makefile (programs/%-kw.h): Run $(GPERF) inside of the - programs subdirectory. - - * sysdeps/powerpc/powerpc32/__longjmp-common.S (__longjmp): Use - PTR_DEMANGLE for PC if defined. - * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): - Likewise. - * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Likewise. - * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Xor %r14 with - THREAD_GET_POINTER_GUARD () if PTR_DEMANGLE is defined. - * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise. - * sysdeps/powerpc/powerpc32/setjmp-common.S (__sigsetjmp): Use - PTR_MANGLE for PC if defined. - * sysdeps/powerpc/powerpc64/setjmp-common.S (__sigsetjmp): Likewise. - * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise. - Avoid call to __sigjmp_save if IS_IN_rtld. - * sysdeps/s390/s390-32/elf/setjmp.S (__sigsetjmp): Likewise. - * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp): Likewise. - * sysdeps/s390/s390-64/elf/setjmp.S (__sigsetjmp): Likewise. - * sysdeps/unix/sysv/linux/ia64/setjmp.S (__sigsetjmp): Likewise. - * sysdeps/unix/sysv/linux/ia64/sysdep.h (PTR_MANGLE, PTR_DEMANGLE): +2004-12-02 Roland McGrath + + * extra-lib.mk (object-suffixes-$(lib)): Add .oS when + $(lib)-static-only-routines is nonempty. + (extra-objs, o-iterator.mk rule): Filter out .oS from generators. + Add a special rule for .oS objects -> _nonshared.a library. + +2004-12-01 Jakub Jelinek + + * time/mktime.c (__mktime_internal): If SEC_REQUESTED != SEC, + convert T2, not T. + * time/Makefile (tests): Add tst-mktime3. + * time/tst-mktime3.c: New test. + +2004-12-01 Jakub Jelinek + + * stdlib/stdlib.h (realpath): Remove nonnull attribute. + + * posix/fnmatch_loop.c (internal_fnmatch): Clear is_seqval after + normal_bracket label. + + * time/tst-mktime2.c (bigtime_test): Initialize tm.tm_isdst to -1. + +2004-12-01 Roland McGrath + + * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): + Do $(make-target-directory). + +2004-11-29 Roland McGrath + + * posix/confstr.c: Avoid punctuation in #error text. + +2004-11-27 Ulrich Drepper + + * posix/Makefile (tests): Add tst-sysconf. + * posix/tst-sysconf.c: New file. + + * posix/getconf.c (vars): Add support for _SC_IPV6 and + _SC_RAW_SOCKETS. + * sysdeps/posix/sysconf.c (__sysconf): Add support for _SC_IPV6 + and _SC_RAW_SOCKETS. + * sysdeps/generic/bits/confname.h: Define _SC_IPV6 and + _SC_RAW_SOCKETS. + +2004-11-26 Jakub Jelinek + + * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add GETCONF_DIR. + +2004-11-26 Kaz Kojima + + * sysdeps/unix/sysv/linux/mips/pread.c: Include sgidefs.h only if + NO_SGIDEFS_H isn't defined. Don't include sgidefs.h twice. + * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. + +2004-11-27 Ulrich Drepper + + * include/dlfcn.h (__libc_dlopen): Add __RTLD_DLOPEN to the mode + parameter. Reported by VY Newsum . + +2004-11-10 Daniel Jacobowitz + + * libio/iolibio.h (_IO_fclose, _IO_new_fclose, _IO_old_fclose, + _IO_fflush, _IO_fgetpos, _IO_fgetpos64, _IO_fgets, _IO_fopen, + _IO_old_fopen, _IO_new_fopen, _IO_fopen64, __fopen_internal, + _IO_fprintf, _IO_fputs, _IO_fsetpos, _IO_fsetpos64, _IO_ftell, + _IO_fread, _IO_fwrite, _IO_gets, _IO_printf, _IO_puts, _IO_scanf, + _IO_fflush_internal, _IO_ftell_internal, _IO_fputs_internal) + _IO_fwrite_internal): Remove incorrect __THROW. + * libio/libioP.h (_IO_default_xsputn, _IO_wdefault_xsputn, + _IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_default_write, + _IO_default_read, _IO_getline, _IO_getline_info, _IO_getwline, + _IO_getwline_info, _IO_file_read_internal, _IO_sgetn_internal, + _IO_wdo_write_internal, _IO_do_write_internal, + _IO_getline_info_internal, _IO_getline_internal, + _IO_vfprintf_internal, _IO_putc_internal, _IO_read, _IO_write, + _IO_close): Likewise. + +2004-11-26 Jakub Jelinek + + * posix/Makefile (install-others): Add $(inst_libexecdir)/getconf. + (CFLAGS-sysconf.c): Add -D_GETCONF_DIR. + (CFLAGS-getconf.c): New. + ($(inst_libexecdir)/getconf): New. + * posix/confstr.c (confstr): Use __sysconf to query specifications + that don't have _POSIX_V6_* macros defined. Use __*_{C,LD}FLAGS + macros defined in bits/environments.h. + * sysdeps/posix/sysconf.c: Include stdlib.h, string.h and + sys/stat.h. + (__sysconf_check_spec): New routine. + (__sysconf): Use it. + * posix/getconf.c (specs): Change into structure array. + (main): If -v is not given, try to get default from + $(libexecdir)/getconf/default. If specification is not + supported by this getconf, try to execute + $(libexecdir)/getconf/$(specification). + * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: New file. + * sysdeps/unix/sysv/linux/s390/bits/environments.h: New file. + * sysdeps/unix/sysv/linux/powerpc/bits/environments.h: New file. + * sysdeps/unix/sysv/linux/sparc/bits/environments.h: New file. + * sysdeps/unix/sysv/linux/i386/bits/environments.h: New file. + * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: New file. + * sysdeps/generic/bits/environments.h (__ILP32_OFFBIG_CFLAGS): Define. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Include tls.h. - (PTR_MANGLE, PTR_DEMANGLE): Define. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Include tls.h - (PTR_MANGLE, PTR_DEMANGLE): Define. - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Include tls.h. - (PTR_MANGLE, PTR_DEMANGLE): Define. - (SYSCALL_ERROR_HANDLER): Add missing semicolons. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Include tls.h. - (PTR_MANGLE, PTR_DEMANGLE): Define. - * sysdeps/unix/sysv/linux/s390/s390-64/socket.S (__socket): Add - SYSCALL_ERROR_HANDLER. -2005-12-19 Ulrich Drepper + * stdlib/stdlib.h (setenv): Use nonnull only for second argument. + (unsetenv): Remove. - * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Handle NO_WEAK_ALIAS. - * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise. - Patch by Clint Adams. +2004-11-23 Paolo Bonzini -2005-12-16 Martin Schwidefsky + * posix/regcomp.c (analyze_tree): Always call calc_epsdest. + (calc_inveclosure): Use re_node_set_insert_last. + (parse_dup_op): Lower X{1,5} to (X(X(X(XX?)?)?)?)? + rather than X?X?X?X?X?. + * posix/regex_internal.h (re_node_set_insert_last): New declaration. + * posix/regex_internal.c (re_node_set_insert_last): New function. + * posix/PCRE.tests: Add testcases. - * sysdeps/unix/sysv/linux/s390/sys/user.h: Copy struct user and - dependent definitions from the kernel header to sys/user.h and - remove the #include of asm/user.h. +2004-11-25 Ulrich Drepper -2005-12-19 Ulrich Drepper + * dlfcn/dlfcn.h: Remove nonnull attribute from dlopen. - * sysdeps/gnu/Makefile: Make sure the correct errlist.c file is - used when generating errlist-compat.c. + * posix/confstr.c (confstr): Return appropriate strings for + _CS_LFS_LINTFLAGS, _CS_LFS64_CFLAGS, and _CS_LFS64_LINTFLAGS. -2005-12-18 Ulrich Drepper +2004-11-05 Maciej W. Rozycki - * iconv/gconv.c: Demangle pointers before use if necessary. - * iconv/gconv_cache.c: Likewise. - * iconv/skeleton.c: Likewise. - * libio/iofwide.c: Likewise. - * wcsmbs/btowc.c: Likewise. - * wcsmbs/mbrtowc.c: Likewise. - * wcsmbs/mbsnrtowcs.c: Likewise. - * wcsmbs/mbsrtowcs_l.c: Likewise. - * wcsmbs/wcrtomb.c: Likewise. - * wcsmbs/wcsnrtombs.c: Likewise. - * wcsmbs/wcsrtombs.c: Likewise. - * wcsmbs/wctob.c: Likewise. - * iconv_gconv_db.c: Likewise. After init functions returns mangle - btowc pointer if necessary. - * iconv/gconv_dl.c: Mangle function pointers retrieved from dlsym. + * sysdeps/mips/dl-machine.h: Include . Use _ABIO32, + _ABIN32 and _ABI64 for ABI selection throughout. + * sysdeps/mips/elf/start.S: Likewise. + * sysdeps/mips/mips64/__longjmp.c: Likewise. + * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise. + * sysdeps/mips/mips64/bsd-setjmp.S: Likewise. + * sysdeps/mips/mips64/setjmp.S: Likewise. + * sysdeps/mips/mips64/setjmp_aux.c: Likewise. + * sysdeps/mips/sys/regdef.h: Likewise. + * sysdeps/mips/sys/ucontext.h: Likewise. + * sysdeps/unix/mips/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/kernel-features.h: Likewise. + * sysdeps/unix/sysv/linux/mips/pread.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/ptrace.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise. - * iconv/gconv_builtin.c (builtin_map): Change type of size - information fields to int8_t. + * sysdeps/mips/atomicity.h: Use _ABIO32, _ABIN32 and _ABI64 for + ABI selection throughout. + * sysdeps/mips/bits/setjmp.h: Likewise. + * sysdeps/mips/fpu/bits/mathdef.h: Likewise. + * sysdeps/mips/machine-gmon.h: Likewise. + * sysdeps/mips/sys/asm.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/user.h: Likewise. - * libio/iofwide.c (__libio_codecvt): Mark as const. - (__libio_translit): Likewise. - * libio/libioP.h (__libio_codecvt): Adjust declaraction. + * sysdeps/mips/sgidefs.h: Prevent from being + included by kernel headers and undo its settings if already + included. Define _ABIO32, _ABIN32 and _ABI64 if missing and use + them to define _MIPS_SIM_ABI32, _MIPS_SIM_NABI32 and + _MIPS_SIM_ABI64 for compatibility. + * sysdeps/unix/sysv/linux/mips/Makefile: Use _ABIO32, _ABIN32 and + _ABI64 for ABI selection in generated syscall-list.h + * sysdeps/unix/sysv/linux/mips/configure.in: Use _ABIO32, _ABIN32 + and _ABI64 for ABI selection in generated asm-unistd.h. + * sysdeps/unix/sysv/linux/mips/configure: Regenerate. - * wcsmbs/wcsmbsload.c (to_wc): Mark as const. - (to_mb): Likewise. + * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Correct + an inverted _MIPS_SIM conditional. -2005-12-18 Richard Henderson +2004-11-23 Alexandre Oliva - * sysdeps/alpha/libc-tls.c: Fix directory on include of base file. + * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Use free + range even if it doesn't match exactly. -2005-12-18 Ulrich Drepper +2004-11-23 Jakub Jelinek - * iconv/gconv_builtin.c: Mark map with attribute_relro. + * nss/nss_files/files-XXX.c (internal_getent): If parse_line returned + -1, also do H_ERRNO_SET (NETDB_INTERNAL). - * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Define C - version for inside ld.so. +2004-11-22 Ulrich Drepper - * elf/rtld.c (dl_main): Don't use hp timing code unless it's available. + * sysdeps/i386/fpu_control.h: Add volatile to the asms. + Patch by Alexander Stohr. - * sysdeps/powerpc/powerpc32/setjmp-common.S [IS_IN_rtld]: Avoid - call to __sigjmp_save. - * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise. +2004-11-22 Jakub Jelinek - * stdlib/cxa_atexit.c: Use PTR_MANGLE on function pointer. Fill in - flavor field last and protect with memory barrier. - * stdlib/on_exit.c: Likewise. - * stdlib/cxa_finalize.c: Use PTR_DEMANGLE on function pointer before - using it. - * stdlib/exit.c: Likewise. + * nscd/nscd_getai (__nscd_getai): Avoid memory and file descriptor + leaks. + * sysdeps/posix/getaddrinfo.c (gaih_inet): Free air. - * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PTR_MANGLE and - PTR_DEMANGLE for C code in libc. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. +2004-11-15 Maciej W. Rozycki -2005-12-17 Ulrich Drepper + * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (__SI_MAX_SIZE): + Define appropriately based on __WORDSIZE. + [struct siginfo] (__pad0): Add for explicit padding. - * elf/Versions [GLIBC_PRIVATE]: Export __pointer_chk_guard if defined. - * elf/rtld.c: Define __pointer_chk_guard_local and if necessary - __pointer_chk_guard. - (_rtld_global_ro): Initialize _dl_pointer_guard. - (dl_main): Initialize __pointer_chk_guard_local and either - __pointer_chk_guard or TLS value if necessary. - (process_envvars): Recognize and handle LD_POINTER_GUARD. - * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_pointer_guard. - * sysdeps/i386/__longjmp.S: Use PTR_DEMANGLE for PC if defined. - * sysdeps/x86_64/__longjmp.S: Likewise. - * sysdeps/i386/bsd-_setjmp.S: Use PTR_MANGLE for PC if defined. - * sysdeps/i386/bsd-_setjmp.S: Likewise. - * sysdeps/i386/setjmp.S: Likewise. - [IS_IN_rtld]: Avoid call to __sigjmp_save. - * sysdeps/i386/setjmp.S: Likewise. - * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PTR_MANGLE and - PTR_DEMANGLE. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Formatting fixes + throughout. - * sysdeps/i386/elf/setjmp.S: Removed. - * sysdeps/i386/elf/bsd-setjmp.S: Removed. +2004-11-22 Ulrich Drepper - * elf/dl-error.c (_dl_catch_error): Use __sigsetgjmp instead of - setjmp. - * elf/dl-error.c (_dl_signal_error): Use __longjmp instead of longjmp. - * elf/dl-minimal.c (longjmp): Remove definition. + * dirent/dirent.h: Add nonnull attributes. + * dlfcn/dlfcn.h: Likewise. - * sysdeps/x86_64/bsd-setjmp.S [PIC] (setjmp): Add missing jmp. +2004-11-20 Jakub Jelinek -2005-12-14 Thorsten Kukuk + * sysdeps/ieee754/k_standard.c: Document code 50. + (__kernel_standard) : Avoid raising div-by-zero + exception again. - * nscd/Makefile: Don't build nscd_nischeck. - * nscd/nscd_nischeck.c: Removed. +2004-11-19 H.J. Lu -2005-12-15 Ulrich Drepper + [BZ #552] + * math/libm-test.inc (tgamma_test): Update tgamma (0) and + tgamma (-0). + * sysdeps/generic/w_tgamma.c (__tgamma): Properly handle |x| == 0. + * sysdeps/generic/w_tgammaf.c (__tgammaf): Likewise. + * sysdeps/generic/w_tgammal.c (__tgammal): Likewise. + * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise. + * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise. + * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise. + * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle + tgamma (0) and tgamma (-0). - * sysdeps/unix/sysv/linux/renameat.c: Move errno setting code in - separate function __atfct_seterrno_2. - * include/fcntl.h: Declare __atfct_seterrno_2. - * posix/unistd.h: Declare linkat, symlinkat, readlinkat. - * io/Makefile (routines): Add linkat, symlinkat, readlinkat. - * io/Versions [GLIBC_2.4]: Export linkat, symlinkat, readlinkat. - * io/linkat.c: New file. - * io/readlinkat.c: New file. - * io/symlinkat.c: New file. - * sysdeps/unix/sysv/linux/linkat.c: New file. - * sysdeps/unix/sysv/linux/readlinkat.c: New file. - * sysdeps/unix/sysv/linux/symlinkat.c: New file. +2004-11-20 Ulrich Drepper -2005-12-15 Roland McGrath + * time/tzfile.c (__tzfile_read): Avoid open for checking whether + the file we already use changed. - [BZ #1997] - * manual/stdio.texi (String Streams): For open_memstream, elaborate a - little on malloc reference. + * misc/syslog.c: Remove !USE_IN_LIBIO code. - * sysdeps/alpha/fpu/s_cacosf.c: Don't use sysdeps/generic/. - * sysdeps/alpha/fpu/s_cacoshf.c: Likewise. - * sysdeps/alpha/fpu/s_casinf.c: Likewise. - * sysdeps/alpha/fpu/s_casinhf.c: Likewise. - * sysdeps/alpha/fpu/s_catanf.c: Likewise. - * sysdeps/alpha/fpu/s_catanhf.c: Likewise. - * sysdeps/alpha/fpu/s_ccosf.c: Likewise. - * sysdeps/alpha/fpu/s_ccoshf.c: Likewise. - * sysdeps/alpha/fpu/s_cexpf.c: Likewise. - * sysdeps/alpha/fpu/s_clog10f.c: Likewise. - * sysdeps/alpha/fpu/s_clogf.c: Likewise. - * sysdeps/alpha/fpu/s_cpowf.c: Likewise. - * sysdeps/alpha/fpu/s_cprojf.c: Likewise. - * sysdeps/alpha/fpu/s_csinf.c: Likewise. - * sysdeps/alpha/fpu/s_csinhf.c: Likewise. - * sysdeps/alpha/fpu/s_csqrtf.c: Likewise. - * sysdeps/alpha/fpu/s_ctanf.c: Likewise. - * sysdeps/alpha/fpu/s_ctanhf.c: Likewise. - * sysdeps/alpha/libc-tls.c: Likewise. - * sysdeps/gnu/glob64.c: Likewise. - * sysdeps/gnu/updwtmp.c: Likewise. - * sysdeps/gnu/utmp_file.c: Likewise. - * sysdeps/i386/bzero.c: Likewise. - * sysdeps/i386/ffs.c: Likewise. - * sysdeps/i386/i686/ffs.c: Likewise. - * sysdeps/i386/memset.c: Likewise. - * sysdeps/ia64/fpu/printf_fphex.c: Likewise. - * sysdeps/ia64/libc-tls.c: Likewise. - * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise. - * sysdeps/m68k/ffs.c: Likewise. - * sysdeps/mach/hurd/getdents.c: Likewise. - * sysdeps/mach/hurd/init-posix.c: Likewise. - * sysdeps/mach/msync.c: Likewise. - * sysdeps/mips/libc-tls.c: Likewise. - * sysdeps/posix/profil.c: Likewise. - * sysdeps/posix/shm_open.c: Likewise. - * sysdeps/posix/shm_unlink.c: Likewise. - * sysdeps/posix/sprofil.c: Likewise. - * sysdeps/powerpc/ffs.c: Likewise. - * sysdeps/rs6000/ffs.c: Likewise. - * sysdeps/s390/libc-tls.c: Likewise. - * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/wordexp.c: Likewise. - * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise. - * sysdeps/unix/sysv/linux/gai_sigqueue.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise. - * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise. - * sysdeps/unix/sysv/linux/i386/readelflib.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise. +2004-11-20 Jakub Jelinek + + * signal/signal.h (__sysv_signal, sysv_signal, signal, bsd_signal, + ssignal): Remove __nonnull attribute. + +2004-11-20 Kaz Kojima + + * sysdeps/unix/sysv/linux/sh/sys/procfs.h: New file. + +2004-11-20 Ulrich Drepper + + * signal/signal.h: Add nonnull attributes. + + * signal/signal.h: Add deprecated attributes to sigstack, + sigpause, sigblock, sigsetmask, siggetmask. + +2004-11-20 Jakub Jelinek + + * sysdeps/unix/sysv/linux/bits/socket.h (SCM_RIGHTS): Avoid + comma at the end of enum if __USE_BSD is not defined. + +2004-11-19 Ulrich Drepper + + * malloc/malloc.c (_int_malloc): Check for corruption of chunk + which is about to be returned. + + * malloc/malloc.c (_int_free): Add a few more cheap tests for + corruption. + +2004-11-17 Randolph Chung + + * sysdeps/hppa/dl-machine.h (TRAMPOLINE_TEMPLATE): Add unwind + annotations. + +2004-11-18 Jakub Jelinek + + [BZ #544] + * posix/regex.h (RE_NO_SUB): New define. + * posix/regex_internal.h (OP_DELETED_SUBEXP): New. + (re_dfa_t): Add subexp_map. + * posix/regcomp.c (struct subexp_optimize): New type. + (optimize_subexps): New routine. + (re_compile_internal): Call it. + (re_compile_pattern): Set preg->no_sub to 1 if RE_NO_SUB. + (free_dfa_content): Free subexp_map. + (calc_inveclosure, calc_eclosure): Skip OP_DELETED_SUBEXP nodes. + * posix/regexec.c (re_search_internal): If subexp_map + is not NULL, duplicate registers as needed. + * posix/Makefile: Add rules to build and run tst-regex2. + * posix/tst-regex2.c: New test. + * posix/rxspencer/tests: Fix last two tests (\0 -> \1). + Add some new tests for nested subexpressions. + +2004-11-18 Ulrich Drepper + + * libio/libio.h (_IO_FLAGS2_FORTIFY): Renamed from + _IO_FLAGS2_CHECK_PERCENT_N. + * debug/fprintf_chk.c: Adjust all users. + * debug/printf_chk.c: Likewise. + * debug/vfprintf_chk.c: Likewise. + * debug/vprintf_chk.c: Likewise. + * debug/vsnprintf_chk.c: Likewise. + * debug/vsprintf_chk.c: Likewise. + * stdio-common/vfprintf.c: Likewise. Detect missing %N$ formats. + * debug/tst-chk1.c: Test detection of missing %N$ formats. + +2004-11-15 Jakub Jelinek + + * posix/bug-regex24.c: Include string.h. + + * nis/nis_clone_obj.c (nis_clone_object): Rename out3 label to out2 + and out2 to out. Remove out label. Formatting. + +2004-11-15 Ulrich Drepper + + * include/stdio.h: Do not mark __libc_message as noreturn. + * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_fatal): Add loop to + fool gcc. Include . + * sysdeps/posix/libc_fatal.c (__libc_fatal): Add loop to fool gcc. + (__libc_message): Fix typo. + +2004-11-13 Ulrich Drepper + + * malloc/malloc.c (malloc_state): stat_lock_* elements need only + be defined if THREAD_STATS is defined. Remove pad0_ since it does + not align with cache line sizes in general anyway. + +2004-11-13 Jakub Jelinek + + * elf/rtld.c (print_statistics): Avoid segfaults if not all namespaces + are used. Fix computation of num_relative_relocations on RELA + architectures other than IA-64 and Alpha. + +2004-11-13 Ulrich Drepper + + * malloc/malloc.c (_int_free): Use munmap_chunk for handling + mmaped memory. + +2004-11-12 Ulrich Drepper + + * malloc/malloc.c (_int_free): Remove test for NULL parameter. + (_int_realloc): Call _int_free only if memory parameter is not NULL. + + * sysdeps/unix/sysv/linux/libc_fatal.c: Add new function __libc_message + which performs the printing and simple format string handling. The + string is written to tty, stderr, syslog in this order, stopping after + the first successful output. + (__libc_fatal): Call __libc_message. + * include/stdio.h: Declare __libc_message. + * malloc/malloc.c (malloc_printerr): Use __libc_message. + * debug/chk_fail.c: Also print message with __libc_message. + * debug/test-strcpy_chk.c: Ensure that debug messages are not printed + to the terminal or stderr. + * debug/tst-chk1.c: Likewise. + + * posix/Makefile: Remove gpl2lgpl variable. + +2004-11-12 Martin Schwidefsky + + * elf/elf.h: Add 20 bit relocations R_390_*20. + +2004-11-12 Jakub Jelinek + + * sysdeps/unix/sysv/linux/i386/setuid.c: Include linux/posix_types.h. + * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise. * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/readelflib.c: Likewise. - * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/readelflib.c: Likewise. - * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise. - * sysdeps/unix/sysv/linux/mq_close.c: Likewise. - * sysdeps/unix/sysv/linux/mq_getattr.c: Likewise. - * sysdeps/unix/sysv/linux/mq_notify.c: Likewise. - * sysdeps/unix/sysv/linux/mq_open.c: Likewise. - * sysdeps/unix/sysv/linux/mq_receive.c: Likewise. - * sysdeps/unix/sysv/linux/mq_send.c: Likewise. - * sysdeps/unix/sysv/linux/mq_unlink.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/readelflib.c: Likewise. - * sysdeps/unix/sysv/linux/s390/readelflib.c: Likewise. - * sysdeps/unix/sysv/linux/sched_getaffinity.c: Likewise. - * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise. - * sysdeps/unix/sysv/linux/sigqueue.c: Likewise. - * sysdeps/unix/sysv/linux/sigstack.c: Likewise. - * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise. - * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/readelflib.c: Likewise. - * sysdeps/unix/sysv/linux/truncate64.c: Likewise. - * sysdeps/unix/sysv/linux/vfork.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Likewise. - - * sysdeps/unix/sysv/linux/Makefile (inhibit-siglist): Removed. - -2005-12-13 Ulrich Drepper - - * locale/programs/charmap-kw.h: Regenerated with new gperf. - * locale/programs/locfile-kw.h: Likewise. - - * Makeconfig (+includes): Look in current directory late. - * Makerules: Add rules from rules before the rules for the current - directory. - * sysdeps/generic/__longjmp.c: Moved to... - * setjmp/__longjmp.c: ...here. - * sysdeps/generic/_exit.c: Moved to... - * posix/_exit.c: ...here. - * sysdeps/generic/_strerror.c: Moved to... - * string/_strerror.c: ...here. - * sysdeps/generic/abort.c: Moved to... - * stdlib/abort.c: ...here. - * sysdeps/generic/accept.c: Moved to... - * socket/accept.c: ...here. - * sysdeps/generic/access.c: Moved to... - * io/access.c: ...here. - * sysdeps/generic/acct.c: Moved to... - * misc/acct.c: ...here. - * sysdeps/generic/add_n.c: Moved to... - * stdlib/add_n.c: ...here. - * sysdeps/generic/addmul_1.c: Moved to... - * stdlib/addmul_1.c: ...here. - * sysdeps/generic/adjtime.c: Moved to... - * time/adjtime.c: ...here. - * sysdeps/generic/aio_cancel.c: Moved to... - * rt/aio_cancel.c: ...here. - * sysdeps/generic/aio_fsync.c: Moved to... - * rt/aio_fsync.c: ...here. - * sysdeps/generic/aio_misc.c: Moved to... - * rt/aio_misc.c: ...here. - * sysdeps/generic/aio_notify.c: Moved to... - * rt/aio_notify.c: ...here. - * sysdeps/generic/aio_read.c: Moved to... - * rt/aio_read.c: ...here. - * sysdeps/generic/aio_read64.c: Moved to... - * rt/aio_read64.c: ...here. - * sysdeps/generic/aio_sigqueue.c: Moved to... - * rt/aio_sigqueue.c: ...here. - * sysdeps/generic/aio_suspend.c: Moved to... - * rt/aio_suspend.c: ...here. - * sysdeps/generic/aio_write.c: Moved to... - * rt/aio_write.c: ...here. - * sysdeps/generic/aio_write64.c: Moved to... - * rt/aio_write64.c: ...here. - * sysdeps/generic/alarm.c: Moved to... - * posix/alarm.c: ...here. - * sysdeps/generic/allocrtsig.c: Moved to... - * signal/allocrtsig.c: ...here. - * sysdeps/generic/alphasort64.c: Moved to... - * dirent/alphasort64.c: ...here. - * sysdeps/generic/backtrace.c: Moved to... - * debug/backtrace.c: ...here. - * sysdeps/generic/backtracesyms.c: Moved to... - * debug/backtracesyms.c: ...here. - * sysdeps/generic/backtracesymsfd.c: Moved to... - * debug/backtracesymsfd.c: ...here. - * sysdeps/generic/bb_init_func.c: Moved to... - * gmon/bb_init_func.c: ...here. - * sysdeps/generic/bcopy.c: Moved to... - * string/bcopy.c: ...here. - * sysdeps/generic/bind.c: Moved to... - * socket/bind.c: ...here. - * sysdeps/generic/brdinit.c: Moved to... - * bare/brdinit.c: ...here. - * sysdeps/generic/brk.c: Moved to... - * misc/brk.c: ...here. - * sysdeps/generic/bsd-_setjmp.c: Moved to... - * setjmp/bsd-_setjmp.c: ...here. - * sysdeps/generic/bsd-setjmp.c: Moved to... - * setjmp/bsd-setjmp.c: ...here. - * sysdeps/generic/bzero.c: Moved to... - * string/bzero.c: ...here. - * sysdeps/generic/cabsf.c: Moved to... - * math/cabsf.c: ...here. - * sysdeps/generic/cargf.c: Moved to... - * math/cargf.c: ...here. - * sysdeps/generic/chdir.c: Moved to... - * io/chdir.c: ...here. - * sysdeps/generic/check_fds.c: Moved to... - * csu/check_fds.c: ...here. - * sysdeps/generic/check_pf.c: Moved to... - * inet/check_pf.c: ...here. - * sysdeps/generic/chflags.c: Moved to... - * misc/chflags.c: ...here. - * sysdeps/generic/chmod.c: Moved to... - * io/chmod.c: ...here. - * sysdeps/generic/chown.c: Moved to... - * io/chown.c: ...here. - * sysdeps/generic/chroot.c: Moved to... - * misc/chroot.c: ...here. - * sysdeps/generic/cimagf.c: Moved to... - * math/cimagf.c: ...here. - * sysdeps/generic/clock.c: Moved to... - * time/clock.c: ...here. - * sysdeps/generic/clock_getcpuclockid.c: Moved to... - * rt/clock_getcpuclockid.c: ...here. - * sysdeps/generic/clock_getres.c: Moved to... - * rt/clock_getres.c: ...here. - * sysdeps/generic/clock_gettime.c: Moved to... - * rt/clock_gettime.c: ...here. - * sysdeps/generic/clock_nanosleep.c: Moved to... - * rt/clock_nanosleep.c: ...here. - * sysdeps/generic/clock_settime.c: Moved to... - * rt/clock_settime.c: ...here. - * sysdeps/generic/close.c: Moved to... - * io/close.c: ...here. - * sysdeps/generic/closedir.c: Moved to... - * dirent/closedir.c: ...here. - * sysdeps/generic/cmp.c: Moved to... - * stdlib/cmp.c: ...here. - * sysdeps/generic/conjf.c: Moved to... - * math/conjf.c: ...here. - * sysdeps/generic/connect.c: Moved to... - * socket/connect.c: ...here. - * sysdeps/generic/console.c: Moved to... - * bare/console.c: ...here. - * sysdeps/generic/crealf.c: Moved to... - * math/crealf.c: ...here. - * sysdeps/generic/creat.c: Moved to... - * io/creat.c: ...here. - * sysdeps/generic/creat64.c: Moved to... - * io/creat64.c: ...here. - * sysdeps/generic/ctermid.c: Moved to... - * stdio-common/ctermid.c: ...here. - * sysdeps/generic/cuserid.c: Moved to... - * stdio-common/cuserid.c: ...here. - * sysdeps/generic/dbl2mpn.c: Moved to... - * stdlib/dbl2mpn.c: ...here. - * sysdeps/generic/dirfd.c: Moved to... - * dirent/dirfd.c: ...here. - * sysdeps/generic/div.c: Moved to... - * stdlib/div.c: ...here. - * sysdeps/generic/divmod_1.c: Moved to... - * stdlib/divmod_1.c: ...here. - * sysdeps/generic/divrem.c: Moved to... - * stdlib/divrem.c: ...here. - * sysdeps/generic/dl-brk.c: Moved to... - * elf/dl-brk.c: ...here. - * sysdeps/generic/dl-cache.c: Moved to... - * elf/dl-cache.c: ...here. - * sysdeps/generic/dl-environ.c: Moved to... - * elf/dl-environ.c: ...here. - * sysdeps/generic/dl-execstack.c: Moved to... - * elf/dl-execstack.c: ...here. - * sysdeps/generic/dl-fptr.c: Moved to... - * elf/dl-fptr.c: ...here. - * sysdeps/generic/dl-origin.c: Moved to... - * elf/dl-origin.c: ...here. - * sysdeps/generic/dl-sbrk.c: Moved to... - * elf/dl-sbrk.c: ...here. - * sysdeps/generic/dl-symaddr.c: Moved to... - * elf/dl-symaddr.c: ...here. - * sysdeps/generic/dl-sysdep.c: Moved to... - * elf/dl-sysdep.c: ...here. - * sysdeps/generic/dl-tls.c: Moved to... - * elf/dl-tls.c: ...here. - * sysdeps/generic/dl-trampoline.c: Moved to... - * elf/dl-trampoline.c: ...here. - * sysdeps/generic/dup.c: Moved to... - * io/dup.c: ...here. - * sysdeps/generic/dup2.c: Moved to... - * io/dup2.c: ...here. - * sysdeps/generic/e_acoshl.c: Moved to... - * math/e_acoshl.c: ...here. - * sysdeps/generic/e_acosl.c: Moved to... - * math/e_acosl.c: ...here. - * sysdeps/generic/e_asinl.c: Moved to... - * math/e_asinl.c: ...here. - * sysdeps/generic/e_atan2l.c: Moved to... - * math/e_atan2l.c: ...here. - * sysdeps/generic/e_atanhl.c: Moved to... - * math/e_atanhl.c: ...here. - * sysdeps/generic/e_coshl.c: Moved to... - * math/e_coshl.c: ...here. - * sysdeps/generic/e_exp10.c: Moved to... - * math/e_exp10.c: ...here. - * sysdeps/generic/e_exp10f.c: Moved to... - * math/e_exp10f.c: ...here. - * sysdeps/generic/e_exp10l.c: Moved to... - * math/e_exp10l.c: ...here. - * sysdeps/generic/e_exp2l.c: Moved to... - * math/e_exp2l.c: ...here. - * sysdeps/generic/e_expl.c: Moved to... - * math/e_expl.c: ...here. - * sysdeps/generic/e_fmodl.c: Moved to... - * math/e_fmodl.c: ...here. - * sysdeps/generic/e_gammal_r.c: Moved to... - * math/e_gammal_r.c: ...here. - * sysdeps/generic/e_hypotl.c: Moved to... - * math/e_hypotl.c: ...here. - * sysdeps/generic/e_j0l.c: Moved to... - * math/e_j0l.c: ...here. - * sysdeps/generic/e_j1l.c: Moved to... - * math/e_j1l.c: ...here. - * sysdeps/generic/e_jnl.c: Moved to... - * math/e_jnl.c: ...here. - * sysdeps/generic/e_lgammal_r.c: Moved to... - * math/e_lgammal_r.c: ...here. - * sysdeps/generic/e_log10l.c: Moved to... - * math/e_log10l.c: ...here. - * sysdeps/generic/e_log2l.c: Moved to... - * math/e_log2l.c: ...here. - * sysdeps/generic/e_logl.c: Moved to... - * math/e_logl.c: ...here. - * sysdeps/generic/e_powl.c: Moved to... - * math/e_powl.c: ...here. - * sysdeps/generic/e_rem_pio2l.c: Moved to... - * math/e_rem_pio2l.c: ...here. - * sysdeps/generic/e_scalb.c: Moved to... - * math/e_scalb.c: ...here. - * sysdeps/generic/e_scalbf.c: Moved to... - * math/e_scalbf.c: ...here. - * sysdeps/generic/e_scalbl.c: Moved to... - * math/e_scalbl.c: ...here. - * sysdeps/generic/e_sinhl.c: Moved to... - * math/e_sinhl.c: ...here. - * sysdeps/generic/e_sqrtl.c: Moved to... - * math/e_sqrtl.c: ...here. - * sysdeps/generic/enbl-secure.c: Moved to... - * elf/enbl-secure.c: ...here. - * sysdeps/generic/endutxent.c: Moved to... - * login/endutxent.c: ...here. - * sysdeps/generic/environ.c: Moved to... - * posix/environ.c: ...here. - * sysdeps/generic/errlist.c: Moved to... - * stdio-common/errlist.c: ...here. - * sysdeps/generic/errno-loc.c: Moved to... - * csu/errno-loc.c: ...here. - * sysdeps/generic/errno-loc.c: Moved to... - * csu/errno-loc.c: ...here. - * sysdeps/generic/errno.c: Moved to... - * csu/errno.c: ...here. - * sysdeps/generic/euidaccess.c: Moved to... - * io/euidaccess.c: ...here. - * sysdeps/generic/exc2signal.c: Moved to... - * hurd/exc2signal.c: ...here. - * sysdeps/generic/execve.c: Moved to... - * posix/execve.c: ...here. - * sysdeps/generic/fattach.c: Moved to... - * streams/fattach.c: ...here. - * sysdeps/generic/fchdir.c: Moved to... - * io/fchdir.c: ...here. - * sysdeps/generic/fchflags.c: Moved to... - * misc/fchflags.c: ...here. - * sysdeps/generic/fchmod.c: Moved to... - * io/fchmod.c: ...here. - * sysdeps/generic/fchown.c: Moved to... - * io/fchown.c: ...here. - * sysdeps/generic/fchownat.c: Moved to... - * io/fchownat.c: ...here. - * sysdeps/generic/fclrexcpt.c: Moved to... - * math/fclrexcpt.c: ...here. - * sysdeps/generic/fcntl.c: Moved to... - * io/fcntl.c: ...here. - * sysdeps/generic/fdatasync.c: Moved to... - * misc/fdatasync.c: ...here. - * sysdeps/generic/fdetach.c: Moved to... - * streams/fdetach.c: ...here. - * sysdeps/generic/fdopendir.c: Moved to... - * dirent/fdopendir.c: ...here. - * sysdeps/generic/fedisblxcpt.c: Moved to... - * math/fedisblxcpt.c: ...here. - * sysdeps/generic/feenablxcpt.c: Moved to... - * math/feenablxcpt.c: ...here. - * sysdeps/generic/fegetenv.c: Moved to... - * math/fegetenv.c: ...here. - * sysdeps/generic/fegetexcept.c: Moved to... - * math/fegetexcept.c: ...here. - * sysdeps/generic/fegetround.c: Moved to... - * math/fegetround.c: ...here. - * sysdeps/generic/feholdexcpt.c: Moved to... - * math/feholdexcpt.c: ...here. - * sysdeps/generic/fesetenv.c: Moved to... - * math/fesetenv.c: ...here. - * sysdeps/generic/fesetround.c: Moved to... - * math/fesetround.c: ...here. - * sysdeps/generic/feupdateenv.c: Moved to... - * math/feupdateenv.c: ...here. - * sysdeps/generic/fexecve.c: Moved to... - * posix/fexecve.c: ...here. - * sysdeps/generic/ffs.c: Moved to... - * string/ffs.c: ...here. - * sysdeps/generic/ffsll.c: Moved to... - * string/ffsll.c: ...here. - * sysdeps/generic/fgetexcptflg.c: Moved to... - * math/fgetexcptflg.c: ...here. - * sysdeps/generic/fgetxattr.c: Moved to... - * misc/fgetxattr.c: ...here. - * sysdeps/generic/flistxattr.c: Moved to... - * misc/flistxattr.c: ...here. - * sysdeps/generic/flock.c: Moved to... - * io/flock.c: ...here. - * sysdeps/generic/flockfile.c: Moved to... - * stdio-common/flockfile.c: ...here. - * sysdeps/generic/fork.c: Moved to... - * posix/fork.c: ...here. - * sysdeps/generic/fpathconf.c: Moved to... - * posix/fpathconf.c: ...here. - * sysdeps/generic/fpu_control.c: Moved to... - * math/fpu_control.c: ...here. - * sysdeps/generic/fraiseexcpt.c: Moved to... - * math/fraiseexcpt.c: ...here. - * sysdeps/generic/fremovexattr.c: Moved to... - * misc/fremovexattr.c: ...here. - * sysdeps/generic/fsetexcptflg.c: Moved to... - * math/fsetexcptflg.c: ...here. - * sysdeps/generic/fsetxattr.c: Moved to... - * misc/fsetxattr.c: ...here. - * sysdeps/generic/fstatfs.c: Moved to... - * io/fstatfs.c: ...here. - * sysdeps/generic/fstatfs64.c: Moved to... - * io/fstatfs64.c: ...here. - * sysdeps/generic/fstatvfs.c: Moved to... - * io/fstatvfs.c: ...here. - * sysdeps/generic/fstatvfs64.c: Moved to... - * io/fstatvfs64.c: ...here. - * sysdeps/generic/fsync.c: Moved to... - * misc/fsync.c: ...here. - * sysdeps/generic/ftestexcept.c: Moved to... - * math/ftestexcept.c: ...here. - * sysdeps/generic/ftime.c: Moved to... - * time/ftime.c: ...here. - * sysdeps/generic/ftruncate.c: Moved to... - * misc/ftruncate.c: ...here. - * sysdeps/generic/ftruncate64.c: Moved to... - * misc/ftruncate64.c: ...here. - * sysdeps/generic/ftrylockfile.c: Moved to... - * stdio-common/ftrylockfile.c: ...here. - * sysdeps/generic/funlockfile.c: Moved to... - * stdio-common/funlockfile.c: ...here. - * sysdeps/generic/futimes.c: Moved to... - * misc/futimes.c: ...here. - * sysdeps/generic/futimesat.c: Moved to... - * misc/futimesat.c: ...here. - * sysdeps/generic/fxstat.c: Moved to... - * io/fxstat.c: ...here. - * sysdeps/generic/fxstat64.c: Moved to... - * io/fxstat64.c: ...here. - * sysdeps/generic/fxstatat.c: Moved to... - * io/fxstatat.c: ...here. - * sysdeps/generic/fxstatat64.c: Moved to... - * io/fxstatat64.c: ...here. - * sysdeps/generic/gai_sigqueue.c: Moved to... - * resolv/gai_sigqueue.c: ...here. - * sysdeps/generic/gai_strerror.c: Moved to... - * posix/gai_strerror.c: ...here. - * sysdeps/generic/get_clockfreq.c: Moved to... - * rt/get_clockfreq.c: ...here. - * sysdeps/generic/getaddrinfo.c: Moved to... - * posix/getaddrinfo.c: ...here. - * sysdeps/generic/getclktck.c: Moved to... - * misc/getclktck.c: ...here. - * sysdeps/generic/getcontext.c: Moved to... - * stdlib/getcontext.c: ...here. - * sysdeps/generic/getcwd.c: Moved to... - * io/getcwd.c: ...here. - * sysdeps/generic/getdents.c: Moved to... - * dirent/getdents.c: ...here. - * sysdeps/generic/getdents64.c: Moved to... - * dirent/getdents64.c: ...here. - * sysdeps/generic/getdomain.c: Moved to... - * misc/getdomain.c: ...here. - * sysdeps/generic/getdtsz.c: Moved to... - * misc/getdtsz.c: ...here. - * sysdeps/generic/getegid.c: Moved to... - * posix/getegid.c: ...here. - * sysdeps/generic/getenv.c: Moved to... - * stdlib/getenv.c: ...here. - * sysdeps/generic/geteuid.c: Moved to... - * posix/geteuid.c: ...here. - * sysdeps/generic/getgid.c: Moved to... - * posix/getgid.c: ...here. - * sysdeps/generic/getgroups.c: Moved to... - * posix/getgroups.c: ...here. - * sysdeps/generic/gethostid.c: Moved to... - * misc/gethostid.c: ...here. - * sysdeps/generic/gethostname.c: Moved to... - * misc/gethostname.c: ...here. - * sysdeps/generic/getipv4sourcefilter.c: Moved to... - * inet/getipv4sourcefilter.c: ...here. - * sysdeps/generic/getitimer.c: Moved to... - * time/getitimer.c: ...here. - * sysdeps/generic/getloadavg.c: Moved to... - * misc/getloadavg.c: ...here. - * sysdeps/generic/getlogin.c: Moved to... - * posix/getlogin.c: ...here. - * sysdeps/generic/getlogin_r.c: Moved to... - * posix/getlogin_r.c: ...here. - * sysdeps/generic/getmsg.c: Moved to... - * streams/getmsg.c: ...here. - * sysdeps/generic/getpagesize.c: Moved to... - * misc/getpagesize.c: ...here. - * sysdeps/generic/getpeername.c: Moved to... - * socket/getpeername.c: ...here. - * sysdeps/generic/getpgid.c: Moved to... - * posix/getpgid.c: ...here. - * sysdeps/generic/getpgrp.c: Moved to... - * posix/getpgrp.c: ...here. - * sysdeps/generic/getpid.c: Moved to... - * posix/getpid.c: ...here. - * sysdeps/generic/getpmsg.c: Moved to... - * streams/getpmsg.c: ...here. - * sysdeps/generic/getppid.c: Moved to... - * posix/getppid.c: ...here. - * sysdeps/generic/getpriority.c: Moved to... - * resource/getpriority.c: ...here. - * sysdeps/generic/getpt.c: Moved to... - * login/getpt.c: ...here. - * sysdeps/generic/getresgid.c: Moved to... - * posix/getresgid.c: ...here. - * sysdeps/generic/getresuid.c: Moved to... - * posix/getresuid.c: ...here. - * sysdeps/generic/getrlimit.c: Moved to... - * resource/getrlimit.c: ...here. - * sysdeps/generic/getrlimit64.c: Moved to... - * resource/getrlimit64.c: ...here. - * sysdeps/generic/getrusage.c: Moved to... - * resource/getrusage.c: ...here. - * sysdeps/generic/getsid.c: Moved to... - * posix/getsid.c: ...here. - * sysdeps/generic/getsockname.c: Moved to... - * socket/getsockname.c: ...here. - * sysdeps/generic/getsockopt.c: Moved to... - * socket/getsockopt.c: ...here. - * sysdeps/generic/getsourcefilter.c: Moved to... - * inet/getsourcefilter.c: ...here. - * sysdeps/generic/getsysstats.c: Moved to... - * misc/getsysstats.c: ...here. - * sysdeps/generic/gettimeofday.c: Moved to... - * time/gettimeofday.c: ...here. - * sysdeps/generic/getuid.c: Moved to... - * posix/getuid.c: ...here. - * sysdeps/generic/getutmp.c: Moved to... - * login/getutmp.c: ...here. - * sysdeps/generic/getutmpx.c: Moved to... - * login/getutmpx.c: ...here. - * sysdeps/generic/getutxent.c: Moved to... - * login/getutxent.c: ...here. - * sysdeps/generic/getutxid.c: Moved to... - * login/getutxid.c: ...here. - * sysdeps/generic/getutxline.c: Moved to... - * login/getutxline.c: ...here. - * sysdeps/generic/getxattr.c: Moved to... - * misc/getxattr.c: ...here. - * sysdeps/generic/glob.c: Moved to... - * posix/glob.c: ...here. - * sysdeps/generic/glob64.c: Moved to... - * posix/glob64.c: ...here. - * sysdeps/generic/grantpt.c: Moved to... - * login/grantpt.c: ...here. - * sysdeps/generic/group_member.c: Moved to... - * posix/group_member.c: ...here. - * sysdeps/generic/gtty.c: Moved to... - * misc/gtty.c: ...here. - * sysdeps/generic/herrno-loc.c: Moved to... - * inet/herrno-loc.c: ...here. - * sysdeps/generic/htonl.c: Moved to... - * inet/htonl.c: ...here. - * sysdeps/generic/htons.c: Moved to... - * inet/htons.c: ...here. - * sysdeps/generic/if_index.c: Moved to... - * inet/if_index.c: ...here. - * sysdeps/generic/ifaddrs.c: Moved to... - * inet/ifaddrs.c: ...here. - * sysdeps/generic/ifreq.c: Moved to... - * inet/ifreq.c: ...here. - * sysdeps/generic/init-first.c: Moved to... - * csu/init-first.c: ...here. - * sysdeps/generic/init-posix.c: Moved to... - * posix/init-posix.c: ...here. - * sysdeps/generic/inlines.c: Moved to... - * stdlib/inlines.c: ...here. - * sysdeps/generic/ioctl.c: Moved to... - * misc/ioctl.c: ...here. - * sysdeps/generic/isastream.c: Moved to... - * streams/isastream.c: ...here. - * sysdeps/generic/isatty.c: Moved to... - * io/isatty.c: ...here. - * sysdeps/generic/isfdtype.c: Moved to... - * socket/isfdtype.c: ...here. - * sysdeps/generic/jmp-unwind.c: Moved to... - * setjmp/jmp-unwind.c: ...here. - * sysdeps/generic/k_cosl.c: Moved to... - * math/k_cosl.c: ...here. - * sysdeps/generic/k_rem_pio2l.c: Moved to... - * math/k_rem_pio2l.c: ...here. - * sysdeps/generic/k_sincosl.c: Moved to... - * math/k_sincosl.c: ...here. - * sysdeps/generic/k_sinl.c: Moved to... - * math/k_sinl.c: ...here. - * sysdeps/generic/k_tanl.c: Moved to... - * math/k_tanl.c: ...here. - * sysdeps/generic/kill.c: Moved to... - * signal/kill.c: ...here. - * sysdeps/generic/killpg.c: Moved to... - * signal/killpg.c: ...here. - * sysdeps/generic/labs.c: Moved to... - * stdlib/labs.c: ...here. - * sysdeps/generic/lchmod.c: Moved to... - * io/lchmod.c: ...here. - * sysdeps/generic/lchown.c: Moved to... - * io/lchown.c: ...here. - * sysdeps/generic/ldbl2mpn.c: Moved to... - * stdlib/ldbl2mpn.c: ...here. - * sysdeps/generic/ldiv.c: Moved to... - * stdlib/ldiv.c: ...here. - * sysdeps/generic/lgetxattr.c: Moved to... - * misc/lgetxattr.c: ...here. - * sysdeps/generic/libc-start.c: Moved to... - * csu/libc-start.c: ...here. - * sysdeps/generic/libc-tls.c: Moved to... - * csu/libc-tls.c: ...here. - * sysdeps/generic/libc_fatal.c: Moved to... - * libio/libc_fatal.c: ...here. - * sysdeps/generic/link.c: Moved to... - * io/link.c: ...here. - * sysdeps/generic/lio_listio.c: Moved to... - * rt/lio_listio.c: ...here. - * sysdeps/generic/lio_listio64.c: Moved to... - * rt/lio_listio64.c: ...here. - * sysdeps/generic/listen.c: Moved to... - * socket/listen.c: ...here. - * sysdeps/generic/listxattr.c: Moved to... - * misc/listxattr.c: ...here. - * sysdeps/generic/llabs.c: Moved to... - * stdlib/llabs.c: ...here. - * sysdeps/generic/lldiv.c: Moved to... - * stdlib/lldiv.c: ...here. - * sysdeps/generic/llistxattr.c: Moved to... - * misc/llistxattr.c: ...here. - * sysdeps/generic/lockf.c: Moved to... - * io/lockf.c: ...here. - * sysdeps/generic/lockf64.c: Moved to... - * io/lockf64.c: ...here. - * sysdeps/generic/longjmp-ts.c: Moved to... - * hurd/longjmp-ts.c: ...here. - * sysdeps/generic/longjmp.c: Moved to... - * setjmp/longjmp.c: ...here. - * sysdeps/generic/lremovexattr.c: Moved to... - * misc/lremovexattr.c: ...here. - * sysdeps/generic/lseek.c: Moved to... - * misc/lseek.c: ...here. - * sysdeps/generic/lseek64.c: Moved to... - * io/lseek64.c: ...here. - * sysdeps/generic/lsetxattr.c: Moved to... - * misc/lsetxattr.c: ...here. - * sysdeps/generic/lshift.c: Moved to... - * stdlib/lshift.c: ...here. - * sysdeps/generic/lutimes.c: Moved to... - * misc/lutimes.c: ...here. - * sysdeps/generic/lxstat.c: Moved to... - * io/lxstat.c: ...here. - * sysdeps/generic/lxstat64.c: Moved to... - * io/lxstat64.c: ...here. - * sysdeps/generic/madvise.c: Moved to... - * misc/madvise.c: ...here. - * sysdeps/generic/makecontext.c: Moved to... - * stdlib/makecontext.c: ...here. - * sysdeps/generic/memccpy.c: Moved to... - * string/memccpy.c: ...here. - * sysdeps/generic/memchr.c: Moved to... - * string/memchr.c: ...here. - * sysdeps/generic/memcmp.c: Moved to... - * string/memcmp.c: ...here. - * sysdeps/generic/memcpy.c: Moved to... - * string/memcpy.c: ...here. - * sysdeps/generic/memcpy_chk.c: Moved to... - * debug/memcpy_chk.c: ...here. - * sysdeps/generic/memmem.c: Moved to... - * string/memmem.c: ...here. - * sysdeps/generic/memmove.c: Moved to... - * string/memmove.c: ...here. - * sysdeps/generic/memmove_chk.c: Moved to... - * debug/memmove_chk.c: ...here. - * sysdeps/generic/mempcpy.c: Moved to... - * string/mempcpy.c: ...here. - * sysdeps/generic/mempcpy_chk.c: Moved to... - * debug/mempcpy_chk.c: ...here. - * sysdeps/generic/memrchr.c: Moved to... - * string/memrchr.c: ...here. - * sysdeps/generic/memset.c: Moved to... - * string/memset.c: ...here. - * sysdeps/generic/memset_chk.c: Moved to... - * debug/memset_chk.c: ...here. - * sysdeps/generic/mig-reply.c: Moved to... - * mach/mig-reply.c: ...here. - * sysdeps/generic/mincore.c: Moved to... - * misc/mincore.c: ...here. - * sysdeps/generic/mkdir.c: Moved to... - * io/mkdir.c: ...here. - * sysdeps/generic/mkdirat.c: Moved to... - * io/mkdirat.c: ...here. - * sysdeps/generic/mkfifo.c: Moved to... - * io/mkfifo.c: ...here. - * sysdeps/generic/mkfifoat.c: Moved to... - * io/mkfifoat.c: ...here. - * sysdeps/generic/mknod.c: Moved to... - * io/mknod.c: ...here. - * sysdeps/generic/mknodat.c: Moved to... - * io/mknodat.c: ...here. - * sysdeps/generic/mlock.c: Moved to... - * misc/mlock.c: ...here. - * sysdeps/generic/mlockall.c: Moved to... - * misc/mlockall.c: ...here. - * sysdeps/generic/mmap.c: Moved to... - * misc/mmap.c: ...here. - * sysdeps/generic/mmap64.c: Moved to... - * misc/mmap64.c: ...here. - * sysdeps/generic/mod_1.c: Moved to... - * stdlib/mod_1.c: ...here. - * sysdeps/generic/morecore.c: Moved to... - * malloc/morecore.c: ...here. - * sysdeps/generic/mp_clz_tab.c: Moved to... - * stdlib/mp_clz_tab.c: ...here. - * sysdeps/generic/mpn2dbl.c: Moved to... - * stdlib/mpn2dbl.c: ...here. - * sysdeps/generic/mpn2flt.c: Moved to... - * stdlib/mpn2flt.c: ...here. - * sysdeps/generic/mpn2ldbl.c: Moved to... - * stdlib/mpn2ldbl.c: ...here. - * sysdeps/generic/mprotect.c: Moved to... - * misc/mprotect.c: ...here. - * sysdeps/generic/mq_close.c: Moved to... - * rt/mq_close.c: ...here. - * sysdeps/generic/mq_getattr.c: Moved to... - * rt/mq_getattr.c: ...here. - * sysdeps/generic/mq_notify.c: Moved to... - * rt/mq_notify.c: ...here. - * sysdeps/generic/mq_open.c: Moved to... - * rt/mq_open.c: ...here. - * sysdeps/generic/mq_receive.c: Moved to... - * rt/mq_receive.c: ...here. - * sysdeps/generic/mq_send.c: Moved to... - * rt/mq_send.c: ...here. - * sysdeps/generic/mq_setattr.c: Moved to... - * rt/mq_setattr.c: ...here. - * sysdeps/generic/mq_timedreceive.c: Moved to... - * rt/mq_timedreceive.c: ...here. - * sysdeps/generic/mq_timedsend.c: Moved to... - * rt/mq_timedsend.c: ...here. - * sysdeps/generic/mq_unlink.c: Moved to... - * rt/mq_unlink.c: ...here. - * sysdeps/generic/msgctl.c: Moved to... - * sysvipc/msgctl.c: ...here. - * sysdeps/generic/msgget.c: Moved to... - * sysvipc/msgget.c: ...here. - * sysdeps/generic/msgrcv.c: Moved to... - * sysvipc/msgrcv.c: ...here. - * sysdeps/generic/msgsnd.c: Moved to... - * sysvipc/msgsnd.c: ...here. - * sysdeps/generic/msync.c: Moved to... - * misc/msync.c: ...here. - * sysdeps/generic/mul.c: Moved to... - * stdlib/mul.c: ...here. - * sysdeps/generic/mul_1.c: Moved to... - * stdlib/mul_1.c: ...here. - * sysdeps/generic/mul_n.c: Moved to... - * stdlib/mul_n.c: ...here. - * sysdeps/generic/munlock.c: Moved to... - * misc/munlock.c: ...here. - * sysdeps/generic/munlockall.c: Moved to... - * misc/munlockall.c: ...here. - * sysdeps/generic/munmap.c: Moved to... - * misc/munmap.c: ...here. - * sysdeps/generic/nanosleep.c: Moved to... - * posix/nanosleep.c: ...here. - * sysdeps/generic/nice.c: Moved to... - * resource/nice.c: ...here. - * sysdeps/generic/nscd_setup_thread.c: Moved to... - * nscd/nscd_setup_thread.c: ...here. - * sysdeps/generic/open.c: Moved to... - * io/open.c: ...here. - * sysdeps/generic/open64.c: Moved to... - * io/open64.c: ...here. - * sysdeps/generic/openat.c: Moved to... - * io/openat.c: ...here. - * sysdeps/generic/openat64.c: Moved to... - * io/openat64.c: ...here. - * sysdeps/generic/opendir.c: Moved to... - * dirent/opendir.c: ...here. - * sysdeps/generic/opensock.c: Moved to... - * socket/opensock.c: ...here. - * sysdeps/generic/pathconf.c: Moved to... - * posix/pathconf.c: ...here. - * sysdeps/generic/pause.c: Moved to... - * posix/pause.c: ...here. - * sysdeps/generic/pipe.c: Moved to... - * io/pipe.c: ...here. - * sysdeps/generic/poll.c: Moved to... - * io/poll.c: ...here. - * sysdeps/generic/posix_fadvise.c: Moved to... - * io/posix_fadvise.c: ...here. - * sysdeps/generic/posix_fadvise64.c: Moved to... - * io/posix_fadvise64.c: ...here. - * sysdeps/generic/posix_fallocate.c: Moved to... - * io/posix_fallocate.c: ...here. - * sysdeps/generic/posix_fallocate64.c: Moved to... - * io/posix_fallocate64.c: ...here. - * sysdeps/generic/posix_madvise.c: Moved to... - * posix/posix_madvise.c: ...here. - * sysdeps/generic/pread.c: Moved to... - * posix/pread.c: ...here. - * sysdeps/generic/pread64.c: Moved to... - * posix/pread64.c: ...here. - * sysdeps/generic/printf_fphex.c: Moved to... - * stdio-common/printf_fphex.c: ...here. - * sysdeps/generic/prof-freq.c: Moved to... - * gmon/prof-freq.c: ...here. - * sysdeps/generic/profil.c: Moved to... - * gmon/profil.c: ...here. - * sysdeps/generic/pselect.c: Moved to... - * misc/pselect.c: ...here. - * sysdeps/generic/ptrace.c: Moved to... - * misc/ptrace.c: ...here. - * sysdeps/generic/ptsname.c: Moved to... - * login/ptsname.c: ...here. - * sysdeps/generic/putenv.c: Moved to... - * stdlib/putenv.c: ...here. - * sysdeps/generic/putmsg.c: Moved to... - * streams/putmsg.c: ...here. - * sysdeps/generic/putpmsg.c: Moved to... - * streams/putpmsg.c: ...here. - * sysdeps/generic/pututxline.c: Moved to... - * login/pututxline.c: ...here. - * sysdeps/generic/pwrite.c: Moved to... - * posix/pwrite.c: ...here. - * sysdeps/generic/pwrite64.c: Moved to... - * posix/pwrite64.c: ...here. - * sysdeps/generic/raise.c: Moved to... - * signal/raise.c: ...here. - * sysdeps/generic/rawmemchr.c: Moved to... - * string/rawmemchr.c: ...here. - * sysdeps/generic/read.c: Moved to... - * io/read.c: ...here. - * sysdeps/generic/readdir.c: Moved to... - * dirent/readdir.c: ...here. - * sysdeps/generic/readdir64.c: Moved to... - * dirent/readdir64.c: ...here. - * sysdeps/generic/readdir64_r.c: Moved to... - * dirent/readdir64_r.c: ...here. - * sysdeps/generic/readdir_r.c: Moved to... - * dirent/readdir_r.c: ...here. - * sysdeps/generic/readelflib.c: Moved to... - * elf/readelflib.c: ...here. - * sysdeps/generic/readlink.c: Moved to... - * io/readlink.c: ...here. - * sysdeps/generic/readonly-area.c: Moved to... - * debug/readonly-area.c: ...here. - * sysdeps/generic/readv.c: Moved to... - * misc/readv.c: ...here. - * sysdeps/generic/reboot.c: Moved to... - * misc/reboot.c: ...here. - * sysdeps/generic/recv.c: Moved to... - * socket/recv.c: ...here. - * sysdeps/generic/recvfrom.c: Moved to... - * socket/recvfrom.c: ...here. - * sysdeps/generic/recvmsg.c: Moved to... - * socket/recvmsg.c: ...here. - * sysdeps/generic/remap_file_pages.c: Moved to... - * misc/remap_file_pages.c: ...here. - * sysdeps/generic/remove.c: Moved to... - * stdio-common/remove.c: ...here. - * sysdeps/generic/removexattr.c: Moved to... - * misc/removexattr.c: ...here. - * sysdeps/generic/rename.c: Moved to... - * stdio-common/rename.c: ...here. - * sysdeps/generic/renameat.c: Moved to... - * stdio-common/renameat.c: ...here. - * sysdeps/generic/res-state.c: Moved to... - * resolv/res-state.c: ...here. - * sysdeps/generic/revoke.c: Moved to... - * misc/revoke.c: ...here. - * sysdeps/generic/rewinddir.c: Moved to... - * dirent/rewinddir.c: ...here. - * sysdeps/generic/rmdir.c: Moved to... - * io/rmdir.c: ...here. - * sysdeps/generic/rshift.c: Moved to... - * stdlib/rshift.c: ...here. - * sysdeps/generic/s_asinhl.c: Moved to... - * math/s_asinhl.c: ...here. - * sysdeps/generic/s_atanl.c: Moved to... - * math/s_atanl.c: ...here. - * sysdeps/generic/s_cacos.c: Moved to... - * math/s_cacos.c: ...here. - * sysdeps/generic/s_cacosf.c: Moved to... - * math/s_cacosf.c: ...here. - * sysdeps/generic/s_cacosh.c: Moved to... - * math/s_cacosh.c: ...here. - * sysdeps/generic/s_cacoshf.c: Moved to... - * math/s_cacoshf.c: ...here. - * sysdeps/generic/s_cacoshl.c: Moved to... - * math/s_cacoshl.c: ...here. - * sysdeps/generic/s_cacosl.c: Moved to... - * math/s_cacosl.c: ...here. - * sysdeps/generic/s_casin.c: Moved to... - * math/s_casin.c: ...here. - * sysdeps/generic/s_casinf.c: Moved to... - * math/s_casinf.c: ...here. - * sysdeps/generic/s_casinh.c: Moved to... - * math/s_casinh.c: ...here. - * sysdeps/generic/s_casinhf.c: Moved to... - * math/s_casinhf.c: ...here. - * sysdeps/generic/s_casinhl.c: Moved to... - * math/s_casinhl.c: ...here. - * sysdeps/generic/s_casinl.c: Moved to... - * math/s_casinl.c: ...here. - * sysdeps/generic/s_catan.c: Moved to... - * math/s_catan.c: ...here. - * sysdeps/generic/s_catanf.c: Moved to... - * math/s_catanf.c: ...here. - * sysdeps/generic/s_catanh.c: Moved to... - * math/s_catanh.c: ...here. - * sysdeps/generic/s_catanhf.c: Moved to... - * math/s_catanhf.c: ...here. - * sysdeps/generic/s_catanhl.c: Moved to... - * math/s_catanhl.c: ...here. - * sysdeps/generic/s_catanl.c: Moved to... - * math/s_catanl.c: ...here. - * sysdeps/generic/s_cbrtl.c: Moved to... - * math/s_cbrtl.c: ...here. - * sysdeps/generic/s_ccos.c: Moved to... - * math/s_ccos.c: ...here. - * sysdeps/generic/s_ccosf.c: Moved to... - * math/s_ccosf.c: ...here. - * sysdeps/generic/s_ccosh.c: Moved to... - * math/s_ccosh.c: ...here. - * sysdeps/generic/s_ccoshf.c: Moved to... - * math/s_ccoshf.c: ...here. - * sysdeps/generic/s_ccoshl.c: Moved to... - * math/s_ccoshl.c: ...here. - * sysdeps/generic/s_ccosl.c: Moved to... - * math/s_ccosl.c: ...here. - * sysdeps/generic/s_cexp.c: Moved to... - * math/s_cexp.c: ...here. - * sysdeps/generic/s_cexpf.c: Moved to... - * math/s_cexpf.c: ...here. - * sysdeps/generic/s_cexpl.c: Moved to... - * math/s_cexpl.c: ...here. - * sysdeps/generic/s_clog.c: Moved to... - * math/s_clog.c: ...here. - * sysdeps/generic/s_clog10.c: Moved to... - * math/s_clog10.c: ...here. - * sysdeps/generic/s_clog10f.c: Moved to... - * math/s_clog10f.c: ...here. - * sysdeps/generic/s_clog10l.c: Moved to... - * math/s_clog10l.c: ...here. - * sysdeps/generic/s_clogf.c: Moved to... - * math/s_clogf.c: ...here. - * sysdeps/generic/s_clogl.c: Moved to... - * math/s_clogl.c: ...here. - * sysdeps/generic/s_cpow.c: Moved to... - * math/s_cpow.c: ...here. - * sysdeps/generic/s_cpowf.c: Moved to... - * math/s_cpowf.c: ...here. - * sysdeps/generic/s_cpowl.c: Moved to... - * math/s_cpowl.c: ...here. - * sysdeps/generic/s_cproj.c: Moved to... - * math/s_cproj.c: ...here. - * sysdeps/generic/s_cprojf.c: Moved to... - * math/s_cprojf.c: ...here. - * sysdeps/generic/s_cprojl.c: Moved to... - * math/s_cprojl.c: ...here. - * sysdeps/generic/s_csin.c: Moved to... - * math/s_csin.c: ...here. - * sysdeps/generic/s_csinf.c: Moved to... - * math/s_csinf.c: ...here. - * sysdeps/generic/s_csinh.c: Moved to... - * math/s_csinh.c: ...here. - * sysdeps/generic/s_csinhf.c: Moved to... - * math/s_csinhf.c: ...here. - * sysdeps/generic/s_csinhl.c: Moved to... - * math/s_csinhl.c: ...here. - * sysdeps/generic/s_csinl.c: Moved to... - * math/s_csinl.c: ...here. - * sysdeps/generic/s_csqrt.c: Moved to... - * math/s_csqrt.c: ...here. - * sysdeps/generic/s_csqrtf.c: Moved to... - * math/s_csqrtf.c: ...here. - * sysdeps/generic/s_csqrtl.c: Moved to... - * math/s_csqrtl.c: ...here. - * sysdeps/generic/s_ctan.c: Moved to... - * math/s_ctan.c: ...here. - * sysdeps/generic/s_ctanf.c: Moved to... - * math/s_ctanf.c: ...here. - * sysdeps/generic/s_ctanh.c: Moved to... - * math/s_ctanh.c: ...here. - * sysdeps/generic/s_ctanhf.c: Moved to... - * math/s_ctanhf.c: ...here. - * sysdeps/generic/s_ctanhl.c: Moved to... - * math/s_ctanhl.c: ...here. - * sysdeps/generic/s_ctanl.c: Moved to... - * math/s_ctanl.c: ...here. - * sysdeps/generic/s_erfl.c: Moved to... - * math/s_erfl.c: ...here. - * sysdeps/generic/s_expm1l.c: Moved to... - * math/s_expm1l.c: ...here. - * sysdeps/generic/s_fdim.c: Moved to... - * math/s_fdim.c: ...here. - * sysdeps/generic/s_fdimf.c: Moved to... - * math/s_fdimf.c: ...here. - * sysdeps/generic/s_fdiml.c: Moved to... - * math/s_fdiml.c: ...here. - * sysdeps/generic/s_fma.c: Moved to... - * math/s_fma.c: ...here. - * sysdeps/generic/s_fmaf.c: Moved to... - * math/s_fmaf.c: ...here. - * sysdeps/generic/s_fmal.c: Moved to... - * math/s_fmal.c: ...here. - * sysdeps/generic/s_fmax.c: Moved to... - * math/s_fmax.c: ...here. - * sysdeps/generic/s_fmaxf.c: Moved to... - * math/s_fmaxf.c: ...here. - * sysdeps/generic/s_fmaxl.c: Moved to... - * math/s_fmaxl.c: ...here. - * sysdeps/generic/s_fmin.c: Moved to... - * math/s_fmin.c: ...here. - * sysdeps/generic/s_fminf.c: Moved to... - * math/s_fminf.c: ...here. - * sysdeps/generic/s_fminl.c: Moved to... - * math/s_fminl.c: ...here. - * sysdeps/generic/s_ldexp.c: Moved to... - * math/s_ldexp.c: ...here. - * sysdeps/generic/s_ldexpf.c: Moved to... - * math/s_ldexpf.c: ...here. - * sysdeps/generic/s_ldexpl.c: Moved to... - * math/s_ldexpl.c: ...here. - * sysdeps/generic/s_log1pl.c: Moved to... - * math/s_log1pl.c: ...here. - * sysdeps/generic/s_nan.c: Moved to... - * math/s_nan.c: ...here. - * sysdeps/generic/s_nanf.c: Moved to... - * math/s_nanf.c: ...here. - * sysdeps/generic/s_nanl.c: Moved to... - * math/s_nanl.c: ...here. - * sysdeps/generic/s_nextafter.c: Moved to... - * math/s_nextafter.c: ...here. - * sysdeps/generic/s_nexttowardf.c: Moved to... - * math/s_nexttowardf.c: ...here. - * sysdeps/generic/s_nexttowardl.c: Moved to... - * math/s_nexttowardl.c: ...here. - * sysdeps/generic/s_significand.c: Moved to... - * math/s_significand.c: ...here. - * sysdeps/generic/s_significandf.c: Moved to... - * math/s_significandf.c: ...here. - * sysdeps/generic/s_significandl.c: Moved to... - * math/s_significandl.c: ...here. - * sysdeps/generic/s_tanhl.c: Moved to... - * math/s_tanhl.c: ...here. - * sysdeps/generic/sbrk.c: Moved to... - * misc/sbrk.c: ...here. - * sysdeps/generic/scandir64.c: Moved to... - * dirent/scandir64.c: ...here. - * sysdeps/generic/sched_getaffinity.c: Moved to... - * posix/sched_getaffinity.c: ...here. - * sysdeps/generic/sched_getp.c: Moved to... - * posix/sched_getp.c: ...here. - * sysdeps/generic/sched_gets.c: Moved to... - * posix/sched_gets.c: ...here. - * sysdeps/generic/sched_primax.c: Moved to... - * posix/sched_primax.c: ...here. - * sysdeps/generic/sched_primin.c: Moved to... - * posix/sched_primin.c: ...here. - * sysdeps/generic/sched_rr_gi.c: Moved to... - * posix/sched_rr_gi.c: ...here. - * sysdeps/generic/sched_setaffinity.c: Moved to... - * posix/sched_setaffinity.c: ...here. - * sysdeps/generic/sched_setp.c: Moved to... - * posix/sched_setp.c: ...here. - * sysdeps/generic/sched_sets.c: Moved to... - * posix/sched_sets.c: ...here. - * sysdeps/generic/sched_yield.c: Moved to... - * posix/sched_yield.c: ...here. - * sysdeps/generic/seekdir.c: Moved to... - * dirent/seekdir.c: ...here. - * sysdeps/generic/segfault.c: Moved to... - * debug/segfault.c: ...here. - * sysdeps/generic/select.c: Moved to... - * misc/select.c: ...here. - * sysdeps/generic/semctl.c: Moved to... - * sysvipc/semctl.c: ...here. - * sysdeps/generic/semget.c: Moved to... - * sysvipc/semget.c: ...here. - * sysdeps/generic/semop.c: Moved to... - * sysvipc/semop.c: ...here. - * sysdeps/generic/semtimedop.c: Moved to... - * sysvipc/semtimedop.c: ...here. - * sysdeps/generic/send.c: Moved to... - * socket/send.c: ...here. - * sysdeps/generic/sendfile.c: Moved to... - * io/sendfile.c: ...here. - * sysdeps/generic/sendfile64.c: Moved to... - * io/sendfile64.c: ...here. - * sysdeps/generic/sendmsg.c: Moved to... - * socket/sendmsg.c: ...here. - * sysdeps/generic/sendto.c: Moved to... - * socket/sendto.c: ...here. - * sysdeps/generic/setcontext.c: Moved to... - * stdlib/setcontext.c: ...here. - * sysdeps/generic/setdomain.c: Moved to... - * misc/setdomain.c: ...here. - * sysdeps/generic/setegid.c: Moved to... - * misc/setegid.c: ...here. - * sysdeps/generic/setenv.c: Moved to... - * stdlib/setenv.c: ...here. - * sysdeps/generic/seteuid.c: Moved to... - * misc/seteuid.c: ...here. - * sysdeps/generic/setfpucw.c: Moved to... - * math/setfpucw.c: ...here. - * sysdeps/generic/setgid.c: Moved to... - * posix/setgid.c: ...here. - * sysdeps/generic/setgroups.c: Moved to... - * grp/setgroups.c: ...here. - * sysdeps/generic/sethostid.c: Moved to... - * misc/sethostid.c: ...here. - * sysdeps/generic/sethostname.c: Moved to... - * misc/sethostname.c: ...here. - * sysdeps/generic/setipv4sourcefilter.c: Moved to... - * inet/setipv4sourcefilter.c: ...here. - * sysdeps/generic/setitimer.c: Moved to... - * time/setitimer.c: ...here. - * sysdeps/generic/setjmp.c: Moved to... - * setjmp/setjmp.c: ...here. - * sysdeps/generic/setlogin.c: Moved to... - * posix/setlogin.c: ...here. - * sysdeps/generic/setpgid.c: Moved to... - * posix/setpgid.c: ...here. - * sysdeps/generic/setpgrp.c: Moved to... - * posix/setpgrp.c: ...here. - * sysdeps/generic/setpriority.c: Moved to... - * resource/setpriority.c: ...here. - * sysdeps/generic/setregid.c: Moved to... - * misc/setregid.c: ...here. - * sysdeps/generic/setresgid.c: Moved to... - * posix/setresgid.c: ...here. - * sysdeps/generic/setresuid.c: Moved to... - * posix/setresuid.c: ...here. - * sysdeps/generic/setreuid.c: Moved to... - * misc/setreuid.c: ...here. - * sysdeps/generic/setrlimit.c: Moved to... - * resource/setrlimit.c: ...here. - * sysdeps/generic/setrlimit64.c: Moved to... - * resource/setrlimit64.c: ...here. - * sysdeps/generic/setsid.c: Moved to... - * posix/setsid.c: ...here. - * sysdeps/generic/setsockopt.c: Moved to... - * socket/setsockopt.c: ...here. - * sysdeps/generic/setsourcefilter.c: Moved to... - * inet/setsourcefilter.c: ...here. - * sysdeps/generic/settimeofday.c: Moved to... - * time/settimeofday.c: ...here. - * sysdeps/generic/setuid.c: Moved to... - * posix/setuid.c: ...here. - * sysdeps/generic/setutxent.c: Moved to... - * login/setutxent.c: ...here. - * sysdeps/generic/setxattr.c: Moved to... - * misc/setxattr.c: ...here. - * sysdeps/generic/shm_open.c: Moved to... - * rt/shm_open.c: ...here. - * sysdeps/generic/shm_unlink.c: Moved to... - * rt/shm_unlink.c: ...here. - * sysdeps/generic/shmat.c: Moved to... - * sysvipc/shmat.c: ...here. - * sysdeps/generic/shmctl.c: Moved to... - * sysvipc/shmctl.c: ...here. - * sysdeps/generic/shmdt.c: Moved to... - * sysvipc/shmdt.c: ...here. - * sysdeps/generic/shmget.c: Moved to... - * sysvipc/shmget.c: ...here. - * sysdeps/generic/shutdown.c: Moved to... - * socket/shutdown.c: ...here. - * sysdeps/generic/sigaction.c: Moved to... - * signal/sigaction.c: ...here. - * sysdeps/generic/sigaltstack.c: Moved to... - * signal/sigaltstack.c: ...here. - * sysdeps/generic/sigblock.c: Moved to... - * signal/sigblock.c: ...here. - * sysdeps/generic/sigfillset.c: Moved to... - * signal/sigfillset.c: ...here. - * sysdeps/generic/sigignore.c: Moved to... - * signal/sigignore.c: ...here. - * sysdeps/generic/sigintr.c: Moved to... - * signal/sigintr.c: ...here. - * sysdeps/generic/sigjmp.c: Moved to... - * setjmp/sigjmp.c: ...here. - * sysdeps/generic/siglist.c: Moved to... - * stdio-common/siglist.c: ...here. - * sysdeps/generic/signal.c: Moved to... - * signal/signal.c: ...here. - * sysdeps/generic/sigpause.c: Moved to... - * signal/sigpause.c: ...here. - * sysdeps/generic/sigpending.c: Moved to... - * signal/sigpending.c: ...here. - * sysdeps/generic/sigprocmask.c: Moved to... - * signal/sigprocmask.c: ...here. - * sysdeps/generic/sigqueue.c: Moved to... - * signal/sigqueue.c: ...here. - * sysdeps/generic/sigreturn.c: Moved to... - * signal/sigreturn.c: ...here. - * sysdeps/generic/sigset.c: Moved to... - * signal/sigset.c: ...here. - * sysdeps/generic/sigsetmask.c: Moved to... - * signal/sigsetmask.c: ...here. - * sysdeps/generic/sigstack.c: Moved to... - * signal/sigstack.c: ...here. - * sysdeps/generic/sigsuspend.c: Moved to... - * signal/sigsuspend.c: ...here. - * sysdeps/generic/sigtimedwait.c: Moved to... - * signal/sigtimedwait.c: ...here. - * sysdeps/generic/sigvec.c: Moved to... - * signal/sigvec.c: ...here. - * sysdeps/generic/sigwait.c: Moved to... - * signal/sigwait.c: ...here. - * sysdeps/generic/sigwaitinfo.c: Moved to... - * signal/sigwaitinfo.c: ...here. - * sysdeps/generic/sleep.c: Moved to... - * posix/sleep.c: ...here. - * sysdeps/generic/sockatmark.c: Moved to... - * socket/sockatmark.c: ...here. - * sysdeps/generic/socket.c: Moved to... - * socket/socket.c: ...here. - * sysdeps/generic/socketpair.c: Moved to... - * socket/socketpair.c: ...here. - * sysdeps/generic/spawni.c: Moved to... - * posix/spawni.c: ...here. - * sysdeps/generic/speed.c: Moved to... - * termios/speed.c: ...here. - * sysdeps/generic/sprofil.c: Moved to... - * gmon/sprofil.c: ...here. - * sysdeps/generic/sstk.c: Moved to... - * misc/sstk.c: ...here. - * sysdeps/generic/start.c: Moved to... - * csu/start.c: ...here. - * sysdeps/generic/statfs.c: Moved to... - * io/statfs.c: ...here. - * sysdeps/generic/statfs64.c: Moved to... - * io/statfs64.c: ...here. - * sysdeps/generic/statvfs.c: Moved to... - * io/statvfs.c: ...here. - * sysdeps/generic/statvfs64.c: Moved to... - * io/statvfs64.c: ...here. - * sysdeps/generic/stime.c: Moved to... - * time/stime.c: ...here. - * sysdeps/generic/stpcpy.c: Moved to... - * string/stpcpy.c: ...here. - * sysdeps/generic/stpcpy_chk.c: Moved to... - * debug/stpcpy_chk.c: ...here. - * sysdeps/generic/stpncpy.c: Moved to... - * string/stpncpy.c: ...here. - * sysdeps/generic/stpncpy_chk.c: Moved to... - * debug/stpncpy_chk.c: ...here. - * sysdeps/generic/strcasecmp.c: Moved to... - * string/strcasecmp.c: ...here. - * sysdeps/generic/strcasecmp_l.c: Moved to... - * string/strcasecmp_l.c: ...here. - * sysdeps/generic/strcasestr.c: Moved to... - * string/strcasestr.c: ...here. - * sysdeps/generic/strcat.c: Moved to... - * string/strcat.c: ...here. - * sysdeps/generic/strcat_chk.c: Moved to... - * debug/strcat_chk.c: ...here. - * sysdeps/generic/strchr.c: Moved to... - * string/strchr.c: ...here. - * sysdeps/generic/strchrnul.c: Moved to... - * string/strchrnul.c: ...here. - * sysdeps/generic/strcmp.c: Moved to... - * string/strcmp.c: ...here. - * sysdeps/generic/strcpy.c: Moved to... - * string/strcpy.c: ...here. - * sysdeps/generic/strcpy_chk.c: Moved to... - * debug/strcpy_chk.c: ...here. - * sysdeps/generic/strcspn.c: Moved to... - * string/strcspn.c: ...here. - * sysdeps/generic/string-inlines.c: Moved to... - * string/string-inlines.c: ...here. - * sysdeps/generic/strlen.c: Moved to... - * string/strlen.c: ...here. - * sysdeps/generic/strncase.c: Moved to... - * string/strncase.c: ...here. - * sysdeps/generic/strncase_l.c: Moved to... - * string/strncase_l.c: ...here. - * sysdeps/generic/strncat.c: Moved to... - * string/strncat.c: ...here. - * sysdeps/generic/strncat_chk.c: Moved to... - * debug/strncat_chk.c: ...here. - * sysdeps/generic/strncmp.c: Moved to... - * string/strncmp.c: ...here. - * sysdeps/generic/strncpy.c: Moved to... - * string/strncpy.c: ...here. - * sysdeps/generic/strncpy_chk.c: Moved to... - * debug/strncpy_chk.c: ...here. - * sysdeps/generic/strnlen.c: Moved to... - * string/strnlen.c: ...here. - * sysdeps/generic/strpbrk.c: Moved to... - * string/strpbrk.c: ...here. - * sysdeps/generic/strrchr.c: Moved to... - * string/strrchr.c: ...here. - * sysdeps/generic/strsep.c: Moved to... - * string/strsep.c: ...here. - * sysdeps/generic/strspn.c: Moved to... - * string/strspn.c: ...here. - * sysdeps/generic/strstr.c: Moved to... - * string/strstr.c: ...here. - * sysdeps/generic/strtoimax.c: Moved to... - * stdlib/strtoimax.c: ...here. - * sysdeps/generic/strtok.c: Moved to... - * string/strtok.c: ...here. - * sysdeps/generic/strtok_r.c: Moved to... - * string/strtok_r.c: ...here. - * sysdeps/generic/strtol.c: Moved to... - * stdlib/strtol.c: ...here. - * sysdeps/generic/strtol_l.c: Moved to... - * stdlib/strtol_l.c: ...here. - * sysdeps/generic/strtold_l.c: Moved to... - * stdlib/strtold_l.c: ...here. - * sysdeps/generic/strtoll.c: Moved to... - * stdlib/strtoll.c: ...here. - * sysdeps/generic/strtoll_l.c: Moved to... - * stdlib/strtoll_l.c: ...here. - * sysdeps/generic/strtoul.c: Moved to... - * stdlib/strtoul.c: ...here. - * sysdeps/generic/strtoul_l.c: Moved to... - * stdlib/strtoul_l.c: ...here. - * sysdeps/generic/strtoull.c: Moved to... - * stdlib/strtoull.c: ...here. - * sysdeps/generic/strtoull_l.c: Moved to... - * stdlib/strtoull_l.c: ...here. - * sysdeps/generic/strtoumax.c: Moved to... - * stdlib/strtoumax.c: ...here. - * sysdeps/generic/strtsupp.c: Moved to... - * bare/strtsupp.c: ...here. - * sysdeps/generic/stty.c: Moved to... - * misc/stty.c: ...here. - * sysdeps/generic/sub_n.c: Moved to... - * stdlib/sub_n.c: ...here. - * sysdeps/generic/submul_1.c: Moved to... - * stdlib/submul_1.c: ...here. - * sysdeps/generic/swapcontext.c: Moved to... - * stdlib/swapcontext.c: ...here. - * sysdeps/generic/swapoff.c: Moved to... - * misc/swapoff.c: ...here. - * sysdeps/generic/swapon.c: Moved to... - * misc/swapon.c: ...here. - * sysdeps/generic/symlink.c: Moved to... - * io/symlink.c: ...here. - * sysdeps/generic/sync.c: Moved to... - * misc/sync.c: ...here. - * sysdeps/generic/syscall.c: Moved to... - * misc/syscall.c: ...here. - * sysdeps/generic/sysconf.c: Moved to... - * posix/sysconf.c: ...here. - * sysdeps/generic/sysdep.c: Moved to... - * csu/sysdep.c: ...here. - * sysdeps/generic/syslog.c: Moved to... - * misc/syslog.c: ...here. - * sysdeps/generic/system.c: Moved to... - * stdlib/system.c: ...here. - * sysdeps/generic/sysv_signal.c: Moved to... - * signal/sysv_signal.c: ...here. - * sysdeps/generic/t_sincosl.c: Moved to... - * math/t_sincosl.c: ...here. - * sysdeps/generic/tcdrain.c: Moved to... - * termios/tcdrain.c: ...here. - * sysdeps/generic/tcflow.c: Moved to... - * termios/tcflow.c: ...here. - * sysdeps/generic/tcflush.c: Moved to... - * termios/tcflush.c: ...here. - * sysdeps/generic/tcgetattr.c: Moved to... - * termios/tcgetattr.c: ...here. - * sysdeps/generic/tcgetpgrp.c: Moved to... - * termios/tcgetpgrp.c: ...here. - * sysdeps/generic/tcsendbrk.c: Moved to... - * termios/tcsendbrk.c: ...here. - * sysdeps/generic/tcsetattr.c: Moved to... - * termios/tcsetattr.c: ...here. - * sysdeps/generic/tcsetpgrp.c: Moved to... - * termios/tcsetpgrp.c: ...here. - * sysdeps/generic/telldir.c: Moved to... - * dirent/telldir.c: ...here. - * sysdeps/generic/tempname.c: Moved to... - * stdio-common/tempname.c: ...here. - * sysdeps/generic/time.c: Moved to... - * time/time.c: ...here. - * sysdeps/generic/timer_create.c: Moved to... - * rt/timer_create.c: ...here. - * sysdeps/generic/timer_delete.c: Moved to... - * rt/timer_delete.c: ...here. - * sysdeps/generic/timer_getoverr.c: Moved to... - * rt/timer_getoverr.c: ...here. - * sysdeps/generic/timer_gettime.c: Moved to... - * rt/timer_gettime.c: ...here. - * sysdeps/generic/timer_settime.c: Moved to... - * rt/timer_settime.c: ...here. - * sysdeps/generic/times.c: Moved to... - * posix/times.c: ...here. - * sysdeps/generic/tmpfile.c: Moved to... - * stdio-common/tmpfile.c: ...here. - * sysdeps/generic/tmpfile64.c: Moved to... - * stdio-common/tmpfile64.c: ...here. - * sysdeps/generic/trampoline.c: Moved to... - * hurd/trampoline.c: ...here. - * sysdeps/generic/truncate.c: Moved to... - * misc/truncate.c: ...here. - * sysdeps/generic/truncate64.c: Moved to... - * misc/truncate64.c: ...here. - * sysdeps/generic/tst-timer.c: Moved to... - * rt/tst-timer.c: ...here. - * sysdeps/generic/ttyname.c: Moved to... - * io/ttyname.c: ...here. - * sysdeps/generic/ttyname_r.c: Moved to... - * io/ttyname_r.c: ...here. - * sysdeps/generic/ualarm.c: Moved to... - * misc/ualarm.c: ...here. - * sysdeps/generic/udiv_qrnnd.c: Moved to... - * stdlib/udiv_qrnnd.c: ...here. - * sysdeps/generic/ulimit.c: Moved to... - * resource/ulimit.c: ...here. - * sysdeps/generic/umask.c: Moved to... - * io/umask.c: ...here. - * sysdeps/generic/uname.c: Moved to... - * posix/uname.c: ...here. - * sysdeps/generic/unlink.c: Moved to... - * io/unlink.c: ...here. - * sysdeps/generic/unlinkat.c: Moved to... - * io/unlinkat.c: ...here. - * sysdeps/generic/unlockpt.c: Moved to... - * login/unlockpt.c: ...here. - * sysdeps/generic/updwtmp.c: Moved to... - * login/updwtmp.c: ...here. - * sysdeps/generic/updwtmpx.c: Moved to... - * login/updwtmpx.c: ...here. - * sysdeps/generic/usleep.c: Moved to... - * misc/usleep.c: ...here. - * sysdeps/generic/ustat.c: Moved to... - * misc/ustat.c: ...here. - * sysdeps/generic/utime.c: Moved to... - * io/utime.c: ...here. - * sysdeps/generic/utimes.c: Moved to... - * misc/utimes.c: ...here. - * sysdeps/generic/utmp_file.c: Moved to... - * login/utmp_file.c: ...here. - * sysdeps/generic/utmpxname.c: Moved to... - * login/utmpxname.c: ...here. - * sysdeps/generic/versionsort64.c: Moved to... - * dirent/versionsort64.c: ...here. - * sysdeps/generic/vfork.c: Moved to... - * posix/vfork.c: ...here. - * sysdeps/generic/vhangup.c: Moved to... - * misc/vhangup.c: ...here. - * sysdeps/generic/vlimit.c: Moved to... - * resource/vlimit.c: ...here. - * sysdeps/generic/vtimes.c: Moved to... - * resource/vtimes.c: ...here. - * sysdeps/generic/w_acos.c: Moved to... - * math/w_acos.c: ...here. - * sysdeps/generic/w_acosf.c: Moved to... - * math/w_acosf.c: ...here. - * sysdeps/generic/w_acosh.c: Moved to... - * math/w_acosh.c: ...here. - * sysdeps/generic/w_acoshf.c: Moved to... - * math/w_acoshf.c: ...here. - * sysdeps/generic/w_acoshl.c: Moved to... - * math/w_acoshl.c: ...here. - * sysdeps/generic/w_acosl.c: Moved to... - * math/w_acosl.c: ...here. - * sysdeps/generic/w_asin.c: Moved to... - * math/w_asin.c: ...here. - * sysdeps/generic/w_asinf.c: Moved to... - * math/w_asinf.c: ...here. - * sysdeps/generic/w_asinl.c: Moved to... - * math/w_asinl.c: ...here. - * sysdeps/generic/w_atan2.c: Moved to... - * math/w_atan2.c: ...here. - * sysdeps/generic/w_atan2f.c: Moved to... - * math/w_atan2f.c: ...here. - * sysdeps/generic/w_atan2l.c: Moved to... - * math/w_atan2l.c: ...here. - * sysdeps/generic/w_atanh.c: Moved to... - * math/w_atanh.c: ...here. - * sysdeps/generic/w_atanhf.c: Moved to... - * math/w_atanhf.c: ...here. - * sysdeps/generic/w_atanhl.c: Moved to... - * math/w_atanhl.c: ...here. - * sysdeps/generic/w_cosh.c: Moved to... - * math/w_cosh.c: ...here. - * sysdeps/generic/w_coshf.c: Moved to... - * math/w_coshf.c: ...here. - * sysdeps/generic/w_coshl.c: Moved to... - * math/w_coshl.c: ...here. - * sysdeps/generic/w_drem.c: Moved to... - * math/w_drem.c: ...here. - * sysdeps/generic/w_dremf.c: Moved to... - * math/w_dremf.c: ...here. - * sysdeps/generic/w_dreml.c: Moved to... - * math/w_dreml.c: ...here. - * sysdeps/generic/w_exp10.c: Moved to... - * math/w_exp10.c: ...here. - * sysdeps/generic/w_exp10f.c: Moved to... - * math/w_exp10f.c: ...here. - * sysdeps/generic/w_exp10l.c: Moved to... - * math/w_exp10l.c: ...here. - * sysdeps/generic/w_exp2.c: Moved to... - * math/w_exp2.c: ...here. - * sysdeps/generic/w_exp2f.c: Moved to... - * math/w_exp2f.c: ...here. - * sysdeps/generic/w_exp2l.c: Moved to... - * math/w_exp2l.c: ...here. - * sysdeps/generic/w_expl.c: Moved to... - * math/w_expl.c: ...here. - * sysdeps/generic/w_fmod.c: Moved to... - * math/w_fmod.c: ...here. - * sysdeps/generic/w_fmodf.c: Moved to... - * math/w_fmodf.c: ...here. - * sysdeps/generic/w_fmodl.c: Moved to... - * math/w_fmodl.c: ...here. - * sysdeps/generic/w_hypot.c: Moved to... - * math/w_hypot.c: ...here. - * sysdeps/generic/w_hypotf.c: Moved to... - * math/w_hypotf.c: ...here. - * sysdeps/generic/w_hypotl.c: Moved to... - * math/w_hypotl.c: ...here. - * sysdeps/generic/w_j0.c: Moved to... - * math/w_j0.c: ...here. - * sysdeps/generic/w_j0f.c: Moved to... - * math/w_j0f.c: ...here. - * sysdeps/generic/w_j0l.c: Moved to... - * math/w_j0l.c: ...here. - * sysdeps/generic/w_j1.c: Moved to... - * math/w_j1.c: ...here. - * sysdeps/generic/w_j1f.c: Moved to... - * math/w_j1f.c: ...here. - * sysdeps/generic/w_j1l.c: Moved to... - * math/w_j1l.c: ...here. - * sysdeps/generic/w_jn.c: Moved to... - * math/w_jn.c: ...here. - * sysdeps/generic/w_jnf.c: Moved to... - * math/w_jnf.c: ...here. - * sysdeps/generic/w_jnl.c: Moved to... - * math/w_jnl.c: ...here. - * sysdeps/generic/w_lgamma.c: Moved to... - * math/w_lgamma.c: ...here. - * sysdeps/generic/w_lgamma_r.c: Moved to... - * math/w_lgamma_r.c: ...here. - * sysdeps/generic/w_lgammaf.c: Moved to... - * math/w_lgammaf.c: ...here. - * sysdeps/generic/w_lgammaf_r.c: Moved to... - * math/w_lgammaf_r.c: ...here. - * sysdeps/generic/w_lgammal.c: Moved to... - * math/w_lgammal.c: ...here. - * sysdeps/generic/w_lgammal_r.c: Moved to... - * math/w_lgammal_r.c: ...here. - * sysdeps/generic/w_log.c: Moved to... - * math/w_log.c: ...here. - * sysdeps/generic/w_log10.c: Moved to... - * math/w_log10.c: ...here. - * sysdeps/generic/w_log10f.c: Moved to... - * math/w_log10f.c: ...here. - * sysdeps/generic/w_log10l.c: Moved to... - * math/w_log10l.c: ...here. - * sysdeps/generic/w_log2.c: Moved to... - * math/w_log2.c: ...here. - * sysdeps/generic/w_log2f.c: Moved to... - * math/w_log2f.c: ...here. - * sysdeps/generic/w_log2l.c: Moved to... - * math/w_log2l.c: ...here. - * sysdeps/generic/w_logf.c: Moved to... - * math/w_logf.c: ...here. - * sysdeps/generic/w_logl.c: Moved to... - * math/w_logl.c: ...here. - * sysdeps/generic/w_pow.c: Moved to... - * math/w_pow.c: ...here. - * sysdeps/generic/w_powf.c: Moved to... - * math/w_powf.c: ...here. - * sysdeps/generic/w_powl.c: Moved to... - * math/w_powl.c: ...here. - * sysdeps/generic/w_remainder.c: Moved to... - * math/w_remainder.c: ...here. - * sysdeps/generic/w_remainderf.c: Moved to... - * math/w_remainderf.c: ...here. - * sysdeps/generic/w_remainderl.c: Moved to... - * math/w_remainderl.c: ...here. - * sysdeps/generic/w_scalb.c: Moved to... - * math/w_scalb.c: ...here. - * sysdeps/generic/w_scalbf.c: Moved to... - * math/w_scalbf.c: ...here. - * sysdeps/generic/w_scalbl.c: Moved to... - * math/w_scalbl.c: ...here. - * sysdeps/generic/w_sinh.c: Moved to... - * math/w_sinh.c: ...here. - * sysdeps/generic/w_sinhf.c: Moved to... - * math/w_sinhf.c: ...here. - * sysdeps/generic/w_sinhl.c: Moved to... - * math/w_sinhl.c: ...here. - * sysdeps/generic/w_sqrt.c: Moved to... - * math/w_sqrt.c: ...here. - * sysdeps/generic/w_sqrtf.c: Moved to... - * math/w_sqrtf.c: ...here. - * sysdeps/generic/w_sqrtl.c: Moved to... - * math/w_sqrtl.c: ...here. - * sysdeps/generic/w_tgamma.c: Moved to... - * math/w_tgamma.c: ...here. - * sysdeps/generic/w_tgammaf.c: Moved to... - * math/w_tgammaf.c: ...here. - * sysdeps/generic/w_tgammal.c: Moved to... - * math/w_tgammal.c: ...here. - * sysdeps/generic/wait.c: Moved to... - * posix/wait.c: ...here. - * sysdeps/generic/wait3.c: Moved to... - * posix/wait3.c: ...here. - * sysdeps/generic/wait4.c: Moved to... - * posix/wait4.c: ...here. - * sysdeps/generic/waitid.c: Moved to... - * posix/waitid.c: ...here. - * sysdeps/generic/waitpid.c: Moved to... - * posix/waitpid.c: ...here. - * sysdeps/generic/wcstoimax.c: Moved to... - * stdlib/wcstoimax.c: ...here. - * sysdeps/generic/wcstol.c: Moved to... - * wcsmbs/wcstol.c: ...here. - * sysdeps/generic/wcstol_l.c: Moved to... - * wcsmbs/wcstol_l.c: ...here. - * sysdeps/generic/wcstoll.c: Moved to... - * wcsmbs/wcstoll.c: ...here. - * sysdeps/generic/wcstoll_l.c: Moved to... - * wcsmbs/wcstoll_l.c: ...here. - * sysdeps/generic/wcstoul.c: Moved to... - * wcsmbs/wcstoul.c: ...here. - * sysdeps/generic/wcstoul_l.c: Moved to... - * wcsmbs/wcstoul_l.c: ...here. - * sysdeps/generic/wcstoull.c: Moved to... - * wcsmbs/wcstoull.c: ...here. - * sysdeps/generic/wcstoull_l.c: Moved to... - * wcsmbs/wcstoull_l.c: ...here. - * sysdeps/generic/wcstoumax.c: Moved to... - * stdlib/wcstoumax.c: ...here. - * sysdeps/generic/wordcopy.c: Moved to... - * string/wordcopy.c: ...here. - * sysdeps/generic/wordexp.c: Moved to... - * posix/wordexp.c: ...here. - * sysdeps/generic/write.c: Moved to... - * io/write.c: ...here. - * sysdeps/generic/writev.c: Moved to... - * misc/writev.c: ...here. - * sysdeps/generic/xmknod.c: Moved to... - * io/xmknod.c: ...here. - * sysdeps/generic/xmknodat.c: Moved to... - * io/xmknodat.c: ...here. - * sysdeps/generic/xpg-strerror.c: Moved to... - * string/xpg-strerror.c: ...here. - * sysdeps/generic/xstat.c: Moved to... - * io/xstat.c: ...here. - * sysdeps/generic/xstat64.c: Moved to... - * io/xstat64.c: ...here. - * catgets/gencat.c: Use "config.h" to refer to the local config.h file. - * stdlib/stdtod_l.c: Use "..." for gmp-impl.h and longlong.h headers. - * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust for files moving - out of sysdeps/generic. - * sysdeps/ieee754/ldbl-96/strtold_l.c: Likewise. - * sysdeps/powerpc/elf/libc-start.c: Likewise. - * sysdeps/unix/sysv/linux/dl-sbrk.c: Likewise. - * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise. - * sysdeps/unix/sysv/linux/segfault.c: Likewise. - * sysdeps/unix/sysv/linux/sigreturn.c: Likewise. - * sysdeps/unix/sysv/linux/syslog.c: Likewise. - * sysdeps/unix/sysv/linux/updwtmp.c: Likewise. - * sysdeps/unix/sysv/linux/utmp_file.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise. - * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise. - * sysdeps/wordsize-32/llabs.c: Likewise. - * sysdeps/wordsize-32/lldiv.c: Likewise. - * sysdeps/wordsize-64/glob.c: Likewise. - * sysdeps/wordsize-64/labs.c: Likewise. - * sysdeps/wordsize-64/ldiv.c: Likewise. - * sysdeps/wordsize-64/strtol.c: Likewise. - * sysdeps/wordsize-64/strtol_l.c: Likewise. - * sysdeps/wordsize-64/strtoul.c: Likewise. - * sysdeps/wordsize-64/strtoul_l.c: Likewise. - * sysdeps/wordsize-64/wcstol.c: Likewise. - * sysdeps/wordsize-64/wcstol_l.c: Likewise. - * sysdeps/wordsize-64/wcstoul.c: Likewise. - * sysdeps/wordsize-64/wcstoul_l.c: Likewise. - * sysdeps/x86_64/fpu/printf_fphex.c: Likewise. - * wcsmbs/Makefile (strtox-CFLAGS): remove -I../stdlib. - (CPPFLAGS-wcstold_l.c): Add -I../stdlib. - -2005-12-13 Roland McGrath - - * sysdeps/generic/Makefile: Remove remaining bits/endian.h cruft. - -2005-12-13 Ulrich Drepper - - * sysdeps/generic/signame.c: Removed. - * sysdeps/generic/signame.h: Removed. - * sysdeps/generic/configure.in: Removed. - * sysdeps/generic/Dist: Remove these files. - - * sysdeps/generic/det_endian.c: Removed. - * sysdeps/generic/Makefile: Remove rule to build it. - * sysdeps/generic/Dist: Don't distribute it. - -2005-12-13 Roland McGrath - - * sysdeps/powerpc/dl-procinfo.c: New file. - * sysdeps/powerpc/dl-procinfo.h: New file. - -2005-12-12 Ulrich Drepper - - * io/sys/stat.h: Add restrict to fstatat declarations. - -2005-12-10 Ulrich Drepper - - * posix/regex_internal.h: Include if available. - -2005-12-06 Paolo Bonzini - - * posix/regex_internal.h (SIZE_MAX): Provide a default definition. - -2005-12-08 Ulrich Drepper - - * nis/nis_call.c (inetstr2int): Optimize. - -2005-12-08 Jakub Jelinek - - * nis/nis_call.c (__nisbind_create): Remove __nisbind_destroy, - ->clnt cannot be != NULL. - (__do_niscall): No need to use __nisbind_destroy, __nisbind_next - did it. - (__nisbind_connect): use_auth is already TRUE, otherwise we would - not be here. - - * nis/nis_lookup.c (nis_lookup): Remove unnecessary - __nisbind_destroy calls. __nisbind_next does all that. - - * nis/ypclnt.c (yp_update): Before trying default authentication, - free DES descriptor. - -2005-12-07 Jakub Jelinek - - * nis/nis_table.c (nis_list): Fix memory handling in error case. - -2005-12-07 Ulrich Drepper - - * nis/nis_table.c (nis_list): Remove have_tablepath, just use the - pointer value itself. - -2005-12-06 Ulrich Drepper - - * catgets/gencat.c: Use GPL, not LGPL. - * elf/cache.c: Likewise. - * elf/chroot_canon.c: Likewise. - * elf/ldconfig.c: Likewise. - * elf/readlib.c: Likewise. - * iconv/dummy-repertoire.c: Likewise. - * iconv/iconv_charmap.c: Likewise. - * iconv/iconv_prog.c: Likewise. - * iconv/iconvconfig.c: Likewise. - * locale/programs/3level.h: Likewise. - * locale/programs/charmap-dir.c: Likewise. - * locale/programs/charmap-dir.h: Likewise. - * locale/programs/charmap-kw.gperf: Likewise. - * locale/programs/charmap.c: Likewise. - * locale/programs/charmap.h: Likewise. - * locale/programs/config.h: Likewise. - * locale/programs/ld-address.c: Likewise. - * locale/programs/ld-collate.c: Likewise. - * locale/programs/ld-ctype.c: Likewise. - * locale/programs/ld-identification.c: Likewise. - * locale/programs/ld-measurement.c: Likewise. - * locale/programs/ld-messages.c: Likewise. - * locale/programs/ld-monetary.c: Likewise. - * locale/programs/ld-name.c: Likewise. - * locale/programs/ld-numeric.c: Likewise. - * locale/programs/ld-paper.c: Likewise. - * locale/programs/ld-telephone.c: Likewise. - * locale/programs/ld-time.c: Likewise. - * locale/programs/linereader.c: Likewise. - * locale/programs/linereader.h: Likewise. - * locale/programs/locale-spec.c: Likewise. - * locale/programs/locale.c: Likewise. - * locale/programs/localedef.c: Likewise. - * locale/programs/localedef.h: Likewise. - * locale/programs/locarchive.c: Likewise. - * locale/programs/locfile-kw.gperf: Likewise. - * locale/programs/locfile-token.h: Likewise. - * locale/programs/locfile.c: Likewise. - * locale/programs/locfile.h: Likewise. - * locale/programs/repertoire.c: Likewise. - * locale/programs/repertoire.h: Likewise. - * locale/programs/simple-hash.c: Likewise. - * locale/programs/simple-hash.h: Likewise. - * locale/programs/xmalloc.c: Likewise. - * locale/programs/xstrdup.c: Likewise. - * malloc/memusagestat.c: Likewise. - * nscd/aicache.c: Likewise. - * nscd/cache.c: Likewise. - * nscd/connections.c: Likewise. - * nscd/dbg_log.c: Likewise. - * nscd/gai.c: Likewise. - * nscd/getgrgid_r.c: Likewise. - * nscd/getgrnam_r.c: Likewise. - * nscd/gethstbyad_r.c: Likewise. - * nscd/gethstbynm2_r.c: Likewise. - * nscd/getpwnam_r.c: Likewise. - * nscd/getpwuid_r.c: Likewise. - * nscd/grpcache.c: Likewise. - * nscd/hstcache.c: Likewise. - * nscd/initgrcache.c: Likewise. - * nscd/mem.c: Likewise. - * nscd/nscd.c: Likewise. - * nscd/nscd_conf.c: Likewise. - * nscd/pwdcache.c: Likewise. - * posix/getconf.c: Likewise. - * sysdeps/generic/nscd_setup_thread.c: Likewise. - * sysdeps/unix/sysv/linux/nscd_setup_thread.c: Likewise. - - * sunrpc/auth_des.c (authdes_pk_create): If conversation key - cannot be created, free memory. - Reported by rprasad@vmware.com. - -2005-11-15 Mike Frysinger - - * sysdeps/hppa/bits/setjmp.h: Add _BITS_SETJMP_H preprocessor - protection and allow pthread.h to include bits/setjmp.h as well as - setjmp.h. - * sysdeps/m68k/bits/setjmp.h: Likewise. - * sysdeps/s390/bits/setjmp.h: Make sure only setjmp.h or pthread.h - are allow to include bits/setjmp.h. - * sysdeps/mips/bits/setjmp.h (_JMPBUF_UNWINDS): Cast rhs to match lhs - cast of address. - * sysdeps/sh/bits/setjmp.h: Likewise. - -2005-11-12 Jim Meyering - - * sysdeps/unix/opendir.c (__alloc_dir): Declare STATP parameter - to be pointer to const. - * include/dirent.h: Update decl. - -2005-12-05 Roland McGrath - - * hurd/hurdmalloc.c: Remove $ tag $ magic. - * mach/err_kern.sub: Likewise. - * mach/err_server.sub: Likewise. - * mach/err_us.sub: Likewise. - * mach/error_compat.c: Likewise. - * mach/errorlib.h: Likewise. - * mach/errstring.c: Likewise. - * mach/mach/error.h: Likewise. - * mach/mach_error.c: Likewise. - * mach/mach_error.h: Likewise. - * mach/msg-destroy.c: Likewise. - * mach/msgserver.c: Likewise. - * sysdeps/mach/sys/reboot.h: Likewise. - - * sysdeps/generic/dwarf2.h: Replace license text with glibc LGPL. - -2005-11-28 Jakub Jelinek - - * malloc/tst-mallocfork.c (do_test): Make sure sa_flags is - initialized. Reported by John Reiser . - -2005-12-05 Daniel Jacobowitz - - * stdlib/longlong.h: Update from GCC. - -2005-12-04 Joseph S. Myers - - * soft-fp/soft-fp.h: Include . - - * soft-fp/floatdisf.c (__floatdisf): Return float. - -2005-12-05 Roland McGrath - - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_POSIX_CPU_TIMERS): New macro, for 2.6.12 and later. - -2005-12-03 Ulrich Drepper - - * nis/nis_table.c (nis_list): Optimize freeing and reallocation of - result record. - - * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r): - Better sized buffers. Correct error case handling. - * nis/nis_error.c (nis_sperror_r): Let snprintf determine whether - there is an overflow. - * nis/nss_nisplus/nisplus-service.c: Fix locking to use - _nss_create_tablename. Avoid unnecessary copying, remove - unnecessary variables, general cleanup. - * nis/nss_nisplus/nisplus-rpc.c: Likewise. - * nis/nss_nisplus/nisplus-proto.c: Likewise.. - * nis/nss_nisplus/nisplus-network.c: Fix locking to use - _nss_create_tablename. Avoid unnecessary copying, general cleanup. - * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r): - Removed. - Fix locking to use _nss_create_tablename. Avoid unnecessary copying, - general cleanup. - * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r): - Correctly construct request. - Fix locking to use _nss_create_tablename. Avoid unnecessary copying, - general cleanup. - * nis/nss_nisplus/nisplus-alias.c: Fix locking to use - _nss_create_tablename. Avoid unnecessary copying, general cleanup. - * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_setnetgrent): - Rewrite to use snprintf. - * nis/nss_nisplus/nisplus-publickey.c (_nss_nisplus_netname2user): - Likewise. - -2005-12-02 Ulrich Drepper - - * nis/nss_nisplus/nisplus-pwd.c (_nss_pwd_create_tablename): - Renamed from _nss_create_tablename. Export from file (but not DSO). - (pwd_tablename_val): Renamed from tablename_val, mark hidden. - (pwd_tablename_len): Renamed from tablename_len, mark hidden. - Change all users. - * nis/nss_nisplus/nisplus-spwd.c (_nss_create_tablename): Removed. - Use _nss_pwd_create_tablename now. Use pwd_tablename_val and - pwd_tablename_len. Remove unnecessary variables, general cleanup. - - * nis/nss_nisplus/nisplus-pwd.c: Fix locking to use - _nss_create_tablename. Avoid unnecessary copying, remove - unnecessary variables, general cleanup. - * nis/nss_nisplus/nisplus-grp.c: Likewise. - - * io/Makefile (routines): Add mknodat, xmknodat, mkdirat, mkfifoat. - (static-only-routines): Add mknodat. - * io/Versions [GLIBC_2.4]: Add mkdirat, mkfifoat, __xmknodat. - * io/sys/stat.h: Declare mkditat, mknodat, mkfifoat, __xmknodat. - Define mknodat inline function. - * include/sys/stat.h: Add hidden proto for __xmknodat. - * sysdeps/generic/mkdirat.c: New file. - * sysdeps/generic/mkfifoat.c: New file. - * sysdeps/generic/mknodat.c: New file. - * sysdeps/generic/xmknodat.c: New file. - * sysdeps/unix/mkfifoat.c: New file. - * sysdeps/unix/sysv/linux/mkdirat.c: New file. - * sysdeps/unix/sysv/linux/xmknodat.c: New file. + * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise. + +2004-11-12 Andreas Schwab + + * nis/ypclnt.c (ypprot_err): Fix "minor optimizations". + +2004-11-12 Ulrich Drepper + + * posix/Makefile (tests): Add bug-regex24. + * posix/bug-regex24.c: New file. + +2004-11-12 Paolo Bonzini + + * posix/regexec.c (check_dst_limits_calc_pos_1): Use the map to + cut recursive paths. Make exit condition more precise. + (match_ctx_add_entry): Initialize the map. + * posix/regex_internal.h (struct re_backref_cache_entry): Add a map of + reachable subexpression nodes from each backreference cache entry. + +2004-11-10 Jakub Jelinek + + * sysdeps/unix/sysv/linux/setreuid.c: Remove sys/syscall.h, + sys/types.h, linux/posix_types.h, sysdep.h and pthread-functions.h + includes. Include setxid.h. Use INLINE_SETXID_SYSCALL macro + instead of INLINE_SYSCALL, kill the HAVE_PTR__NPTL_SETXID guarded + snippets. + * sysdeps/unix/sysv/linux/setegid.c: Likewise. + * sysdeps/unix/sysv/linux/setuid.c: Likewise. + * sysdeps/unix/sysv/linux/seteuid.c: Likewise. + * sysdeps/unix/sysv/linux/setgid.c: Likewise. + * sysdeps/unix/sysv/linux/setresuid.c: Likewise. + * sysdeps/unix/sysv/linux/setresgid.c: Likewise. + * sysdeps/unix/sysv/linux/setregid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/setreuid.c: Likewise. + Formatting. Change signed int into int. + * sysdeps/unix/sysv/linux/alpha/setresuid.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/setresgid.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/setregid.c: Likewise. + * sysdeps/unix/sysv/linux/syscalls.list (setresuid, setresgid): + Remove. + * sysdeps/unix/setxid.h: New file. + + * Rules (binaries-static): Add xtests-static. + * Makeconfig (run-program-prefix): Filter also xtests-static. + +2004-11-09 Paul Eggert since it is marked as an obsolescent + interface. Include , , and instead. + (TYPE_BITS, TYPE_FLOATING, TYPE_SIGNED): New macros. + (subtract): New static function, that works correctly without + double-rounding, even on hosts with 64-bit time_t. Also cater + to hosts with padding bits. + (__difftime): Use it. Use DBL_MANT_DIG and LDBL_MANT_DIG to + determine whether floating types are wide enough: the old + test (which used sizeof) could in theory report the wrong results + on hosts with padding bits in floating-point values. + +2004-11-11 Simon Josefsson + + [BZ #542] + * sysdeps/generic/strtok_r.c [HAVE_CONFIG_H]: Include config.h. + [!_LIBC]: Include strtok_r.h (in gnulib), map __strtok_r to + strtok_r and __rawmemchr to strch. + (__strtok_r): Use C89 prototype. + [weak_alias]: Move calls to libc_hidden_def and weak_alias into + this #ifdef. + +2004-11-10 Paul Eggert + + [BZ #541] + * time/mktime.c (SHR): New macro, which is a portable + substitute for >> that should work even on Crays. + (TIME_T_MIDPOINT, ydhms_diff, __mktime_internal): Use it. + Problem reported by Mark D. Baushke in + . + +2004-11-09 Paolo Bonzini + + * posix/regexec.c (match_ctx_free_subtops): Remove, merge into... + (match_ctx_clean): ... this function. + (match_ctx_free): Call match_ctx_clean. + + * posix/regexec.c (transit_state): Remove the check for + out-of-bounds buffers. + (check_matching): Check here for out-of-bounds buffers. + (re_search_internal): Store into match_kind a set of bits + indicating which incantation of fastmap scanning must be + used. Use a switch statement instead of multiple ifs. + Exit the final "for (;;)" with goto free_return unless + the match succeeded, thus simplifying some conditionals. + + * posix/regex_internal.c (re_string_reconstruct, + re_string_context_at): Add several branch predictions for + case-sensitive matching and no transition table being used. + +2004-11-10 Ulrich Drepper + + * posix/tst-waitid.c: Don't use error to print error message, they + won't end up in the .out file. + +2004-11-09 Ulrich Drepper + + * nscd/nscd-client.h (libc_locked_map_ptr): Add new first + parameter, used as class for definition. + * nscd/nscd_getpw_r.c: Adjust for libc_locked_map_ptr change. + (pw_map_free): Ensure no crash after memory is freed. + * nscd/nscd_getgr_r.c: Likewise. Make map externally visible. + * nscd/nscd_gethst_r.c: Likewise. + * nscd/nscd_getai.c: Use map from nscd_gethost.c. + * nscd/nscd_initgroups.c: Use map from nscd_getgr.c. + + * nscd/nscd_getai.c: Add some checks to detect corrupt databases. + * nscd/nscd_getgr_r.c: Likewise + * nscd/nscd_gethst_r.c: Likewise. + * nscd/nscd_getpw_r.c: Likewise + +2004-11-09 Jakub Jelinek + + * posix/regcomp.c (calc_eclosure_iter): Don't access + dfa->edests[node].elems[0] if dfa->edests[node].nelem == 0. + * posix/rxspencer/tests: Add 5 new tests. + +2004-11-09 Ulrich Drepper + + * sysdeps/unix/sysv/linux/ifaddrs.c: Determine sin6_scope_id field + value correctly. Patch by Mitsuru Kanda . + +2004-11-04 Jakub Jelinek + + * libio/fileops.c (_IO_new_file_seekoff): If mode is 0 and + fp->_offset == _IO_pos_BAD, just call _IO_SYSSEEK (fp, 0, dir) + and if successful set fp->_offset. + * libio/Makefile (tests): Add bug-ungetc3. + * libio/bug-ungetc3.c: New test. + +2004-11-03 Marcus Brinkmann + + * sysdeps/gnu/_G_config.h (_G_HAVE_MREMAP): Define symbol. + * sysdeps/mach/hurd/_G_config.h: New file. + * libio/fileops.c (mmap_remap_check) [__linux__]: Replaced with + [_G_HAVE_MREMAP]. + +2004-11-08 Ulrich Drepper + + * posix/regcomp.c (utf8_sb_map): Define. + (free_dfa_content): Don't free dfa->sb_char if it's a pointer to + utf8_sb_map. + (init_dfa): Use utf8_sb_map instead of initializing memory when the + encoding is UTF-8. + +2004-11-03 Paolo Bonzini + + * posix/regcomp.c (init_dfa): Get the codeset name outside glibc as + well. Check if it is spelled UTF8 as well as UTF-8, and check + case-insensitively. Set dfa->map_notascii manually when outside + glibc. + * posix/regex_internal.c (build_wcs_upper_buffer) [!_LIBC]: Enable + optimizations based on map_notascii. + * posix/regex_internal.h [HAVE_LANGINFO_H || HAVE_LANGINFO_CODESET + || _LIBC]: Include langinfo.h. + + * posix/regex_internal.h (struct re_backref_cache_entry): Add "more" + field. + * posix/regexec.c (check_dst_limits): Hoist computation of the source + and destination bkref_idx out of the loop. Pass it to + check_dst_limits_calc_pos. + (check_dst_limits_calc_pos_1): New function, containing the recursive + loop of check_dst_limits_calc_pos; uses the "more" field of + struct re_backref_cache to control the loop. + (check_dst_limits_calc_pos): Store into "boundaries" the position + relative to lim's start and end positions. Do not accept eclosures, + accept bkref_idx instead. Call check_dst_limits_calc_pos_1 to do the + work. + (sift_states_bkref): Use the "more" field of struct re_backref_cache + to control the loop. A big "if" was turned into a continue and the + function was reindented. + (get_subexp): Use the "more" field of struct re_backref_cache + to control the loop. + (match_ctx_add_entry): Initialize the bkref_ents' "more" field. + (search_cur_bkref_entry): Return -1 if out of bounds. + + * posix/regexec.c (empty_set): Remove. + (sift_states_backward): Remove cur_src variable. Move inner loop + to build_sifted_states. + (build_sifted_states): Extract from sift_states_backward. Do not + use empty_set. + (update_cur_sifted_state): Do not use empty_set. Special case + dest_nodes->nelem == 0. + + * posix/regex_internal.h (struct re_backref_cache_entry): Remove flag + field. + (struct re_sift_context_t): Remove cur_bkref, cls_subexp_idx, + check_subexp fields. Move limits last. + * posix/regexec.c (match_ctx_clear_flag): Remove. + (sift_ctx_init): Remove check_subexp parameter. Do not set removed + fields. Callers adjusted. + (expand_bkref_cache): Remove last_str parameter. Callers adjusted. + (re_search_internal): Remove fast_translate variable. + (update_cur_sifted_state): Pass candidates as the final parameter + to sift_states_bkref. + (sift_states_bkref): Change last unused parameter to be "candidates", + do not fetch candidates into a local variable. + Remove dead test for "node == sctx->bkref", and the cur_bkref_idx + variable. + Remove loops that set/reset the flag field of backref cache entries. + (check_arrival_add_next_nodes): Use a signed int to hold the return + value of re_node_set_insert. + (group_nodes_into_DFAstates): Likewise. + (match_ctx_add_entry): Do not set the flag field of the new entry. + +2004-11-05 Roland McGrath + + * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Define + _dl_sysinfo_dso under [NEED_DL_SYSINFO_DSO] as well. + * elf/rtld.c (dl_main): Set up GLRO(dl_sysinfo_dso) under + [NEED_DL_SYSINFO_DSO] as well. + * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Always include + AT_SYSINFO and AT_SYSINFO_EHDR in name table. + (_dl_sysdep_start) [NEED_DL_SYSINFO_DSO]: Match AT_SYSINFO_EHDR. + * elf/dl-support.c (_dl_sysinfo_dso): Define also under + [NEED_DL_SYSINFO_DSO]. + (_dl_aux_init) [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO]: + Match AT_SYSINFO_EHDR and set GL(dl_sysinfo_dso). + +2004-11-05 Roland McGrath + + * manual/errno.texi (Error Codes): Revert last change for now. + * sysdeps/gnu/errlist.c: Regenerated. + +2004-11-04 Roland McGrath + + * Makeconfig (link-libc, rpath-dirs): Remove AIX cruft definitions. + (LDFLAGS-rpath-ORIGIN, LDFLAGS-soname-fname): Likewise. + (LDFLAGS-rdynamic, LDFLAGS-Bsymbolic): Likewise. + ($(common-objpfx)gnu/lib-names.stmp): Likewise. + +2004-11-01 Jakub Jelinek + + * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h [__WORDSIZE == 32] + (elf_fpxregset_t): New type. + (struct elf_prpsinfo): If __WORDSIZE == 32, change pr_[ug]id type + to unsigned short int. + * sysdeps/unix/sysv/linux/x86_64/sys/user.h + (struct user_fpregs_struct): Fix comment. + * sysdeps/i386/fpu/bits/mathdef.h (float_t, double_t): If + __FLOAT_EVAL_METHOD__ is defined and 0, typedef to float resp. double. + * sysdeps/x86_64/fpu/bits/mathdef.h: Include bits/wordsize.h. + (float_t, double_t): If -m32 and not -mfpmath=sse, typedef to + long double. + * sysdeps/x86_64/fpu/bits/fenv.h: Include bits/wordsize.h. + (fenv_t): Remove __mxcsr field for -m32. + +2004-11-04 Jakub Jelinek + + * libio/ftello.c (ftello): Don't subtract save_end - save_base + if pos is _IO_pos_BAD. + * libio/ftello64.c (ftello64): Likewise. + * libio/iofgetpos.c (_IO_new_fgetpos): Likewise. + * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise. + * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise. + * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise. + * libio/ioftell.c (_IO_ftell): Likewise. + Cast to long int instead of off_t when checking for overflow. + +2004-11-04 Richard Henderson + + * sysdeps/unix/sysv/linux/alpha/register-dump.h (regnames): Align. + (linefeed): Remove. + (register_dump): Rewrite to generate into a flat buffer instead + of into iovecs. + +2004-11-02 Jakub Jelinek + + * debug/tst-chk1.c (ret): New volatile variable. + (CHK_FAIL_END): Remove redundant ret setting. + (do_test): Remote ret variable. + +2004-01-03 Paolo Bonzini + + * posix/regex_internal.h (__regfree) [!_LIBC]: Define to regfree. + +2004-11-03 Marcus Brinkmann + + * sysdeps/generic/utime.c: Include . + + * sysdeps/generic/sysconf.c: Include and . + + * sysdeps/generic/tempname.c (__path_search): Add missing argument + TRY_TMPDIR. + +2004-10-31 Mariusz Mazur - * sysdeps/generic/xmknod.c: Add one more parameter check. + * sysdeps/unix/sysv/linux/alpha/setregid.c: New file. + * sysdeps/unix/sysv/linux/alpha/setresgid.c: New file. + * sysdeps/unix/sysv/linux/alpha/setresuid.c: New file. + * sysdeps/unix/sysv/linux/alpha/setreuid.c: New file. -2005-11-28 Andreas Jaeger +2004-10-27 Derek R. Price - * sysdeps/unix/sysv/linux/mips/bits/mman.h (MREMAP_FIXED): Added, - Patch by RenĂ© Rebe . + [BZ #487] This change is imported from gnulib. + * time/mktime.c (not_equal_tm) [DEBUG]: Remove redundant check. -2005-11-27 Ulrich Drepper +2004-10-24 Paul Eggert - * sysdeps/posix/getaddrinfo.c: Avoid RFC 3484 sorting if there are - multiple return records but only one address. + [BZ #473] + * time/tst-mktime.c (main): Don't assume that mktime fails + when given time stamps before 1970. It returns negative + time_t values instead, for compatibility with BSD. - * sysdeps/posix/getaddrinfo.c (gaih_inet): Avoid some code duplication. + * time/tst-mktime2.c: New file. + * time/Makefile (tests): Add it. -2005-11-27 Roland McGrath + [BZ #473] Import from gnulib. Revamp to avoid several problems near + time_t extrema, and on hosts with 64-bit time_t and 32-bit int. + This fixes Debian bug 177940. + * time/mktime.c (TIME_T_MIDPOINT): New macro. + (ydhms_diff): Renamed from ydhms_tm_diff, with a new signature, + which avoids overflow problems on hosts with 64-bit time_t and + 32-bit int. All callers changed. Now an inline function. + Verify at compile-time that long int is wide enough to avoid + these overflow problems. + (guess_time_tm): New function. + (__mktime_internal): Use it. Avoid overflow when computing yday on + hosts with 64-bit long and 32-bit int. Remove tests for 69; + no longer needed. Use if rather than #ifdef for LEAP_SECONDS_POSSIBLE + so that the code is checked by more compilers. + Do not rely on floating point to probe: stick to integer arithmetic, + to avoid potential porting problems. + Repair potential overflow correctly in the Southern Hemisphere. + (localtime_offset): Add a FIXME for the case where time_t is unsigned. - * sysdeps/unix/sysv/linux/fchownat.c: Include alloca.h, sysdep.h. - Reported by RenĂ© Rebe . +2004-10-30 Andreas Schwab -2005-11-27 Ulrich Drepper + * sysdeps/m68k/dl-machine.h (elf_machine_rela) + (elf_machine_rela_relative, elf_machine_lazy_rel): Mark auto + instead of static. - * sysdeps/posix/euidaccess.c [_LIBC] (euidaccess): Don't cache - euid and egid. +2004-10-30 Andreas Schwab - * nis/nis_table.c (nis_list): Add more free calls in error cases. + * sysdeps/unix/sysv/linux/waitid.c: Include for NULL. -2005-11-26 Richard Henderson +2004-10-30 Ulrich Drepper - * sysdeps/alpha/strncmp.S: Don't read too much data when pointers - are co-aligned, and count is aligned with the end of the word. + * malloc/malloc.c (_int_free): Use unique comments for the error + cases. -2005-11-26 Ulrich Drepper +2004-10-28 Roland McGrath - * nis/nis_lookup.c (nis_lookup): Mark RPCTIMEOUT as const. Pretty - printing. + * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_fork): Use i386_thread_state + instead of machine_thread_state. - * nis/nis_table.c (__create_ib_request): Use strdupa instead of - variable size array. - (RPCTIMEOUT): Mark as const. +2004-10-28 Roland McGrath - * nis/ypclnt.c (yp_bind_ypbindprog): Initialize clnt_saddr by hand. - (ypdomainname): Renamed from __ypdomainname. No need for initializer. - (ypbindlist): Renamed from __ypbindlist. - (do_ypcall): Check memory allocation suceeded before calling - yp_bind_ypbindprog. - (yperr_string): Reduce size of function by using only one gettext call. - (ypbinderr_string): Likewise. - (yp_match): Free response in case memory for return value cannot be - allocated. - (yp_first): Likewise. - (yp_next): Likewise. - (do_ypcall_tr): New function which translates error codes as well. - (yp_match, yp_next, yp_master, yp_order, yp_maplist): Use it. - (yp_all): Correct test for invalid parameter. - Pretty printing. - (RPCTIMEOUT, UDPTIMEOUT): Mark as const. + * sysdeps/unix/sysv/linux/syscalls.list: Remove setaltroot. -2005-11-25 Richard Henderson +2004-10-28 Ulrich Drepper - * sysdeps/unix/sysv/linux/alpha/fxstatat.c (__fxstatat): Fix typo. - (__fxstatat64): Alias from __fxstatat; remove other cnp errors. - * sysdeps/unix/sysv/linux/alpha/sigaction.c: Include sys/cdefs.h - and stddef.h. - * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MREMAP_FIXED): Define. + * elf/dl-open.c (dl_open_worker): Remove reference to glibcbug script. -2005-11-25 Ulrich Drepper +2004-10-27 Ulrich Drepper - * Makeconfig (+cflags): Add -fmerge-all-constants by default. + * elf/dl-load.c (_dl_map_object): Use cache_rpath to check for + existing rpath in main executable, not explicit test. - [BZ #1912] - * nss/function.def: Add entry to use gethostbyname2 for files. +2004-10-27 Jakub Jelinek -2005-11-25 Thorsten Kukuk + * include/resolv.h (_res_opcodes): New extern. + Add libresolv_hidden_proto. + * resolv/res_debug.c (_res_opcodes): Remove. + (__p_class_syms, __p_type_syms): Add libresolv_hidden_proto + and libresolv_hidden_data_def. Remove attribute_hidden. + * resolv/res_mkquery (_res_opcodes): Remove. + * resolv/res_data.c (_res_opcodes): Remove attribute_hidden. + Add libresolv_hidden_data_def. - * sysdeps/unix/sysv/linux/fxstatat64.c: Include string.h. +2004-10-27 Ulrich Drepper -2005-11-25 Ulrich Drepper + * elf/dl-open.c (_dl_open): Don't allow explicitly opening a DSO + into an empty namespace. - [BZ #1926] - * nss/nss_files/files-netgrp.c (_nss_files_endnetgrent): Change - return value type to match expected type. + * elf/dl-fini.c (_dl_fini): Fix search for map in maps array. + Reverse order of namespaces. + * elf/Makefile: Add rules to build and run tst-dlmopen3. + * elf/tst-dlmopen3.c: New file. + * elf/tst-dlmopen1mod.c: Add check whether constructor runs. + +2004-10-27 Jakub Jelinek + + * sysdeps/generic/glob.c (globfree): Clear gl_pathv after freeing it. + * posix/Makefile: Add rules to build and run bug-glob2 test. + * posix/bug-glob2.c: New test. + +2004-10-27 Roland McGrath + + * sysdeps/mach/hurd/i386/tls.h (HURD_TLS_DESC_DECL): New macro. + (_hurd_tls_init): Use it. + (_hurd_tls_fork): New function. + * sysdeps/mach/hurd/fork.c (__fork) [USE_TLS]: Call it. + +2004-10-26 Roland McGrath + + * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Initialize TCB->tcb. + +2004-10-26 Jakub Jelinek + + * sysdeps/gnu/netinet/udp.h (struct udphdr): Use u_int16_t + type instead of uint16_t. Formatting. + +2004-10-25 Roland McGrath + + * login/openpty.c (openpty): Add libutil_hidden_def. + + * nss/nss_files/files-parse.c (nss_files_parse_hidden_def): Define to + either libc_hidden_def or libnss_files_hidden_def, not hidden_def. + This file is also compiled into libnss_hesiod by #include. + +2004-10-25 Roland McGrath + + * sysdeps/unix/bsd/hp: Directory and all files removed. + These are now in the ports repository. + * sysdeps/unix/bsd/osf: Likewise. + * sysdeps/unix/bsd/sequent: Likewise. + * sysdeps/unix/bsd/sony: Likewise. + * sysdeps/unix/bsd/ultrix4: Likewise. + * sysdeps/unix/sysv/aix: Likewise. + * sysdeps/unix/sysv/hpux: Likewise. + * sysdeps/unix/sysv/irix4: Likewise. + * sysdeps/unix/sysv/isc2.2: Likewise. + * sysdeps/unix/sysv/minix: Likewise. + * sysdeps/unix/sysv/sco3.2.4: Likewise. + * sysdeps/unix/sysv/sco3.2: Likewise. + * sysdeps/unix/sysv/sysv4: Likewise. - [BZ #1925] - * nis/ypclnt.c (yp_order): Correct test for invalid parameter. + * configure.in (ASM_LINE_SEP): Move this setting to ... + * sysdeps/hppa/configure.in: ... here, new file. + * sysdeps/hppa/configure: New generated file. + * configure: Regenerated. + +2004-10-25 Kaz Kojima + + * sysdeps/sh/dl-machine.h: Include sysdep.h. + (ELF_MACHINE_RUNTIME_TRAMPOLINE): Add CFI directives. + (elf_machine_runtime_setup): Add always_inline attribute. + (_dl_start_user): Pass the correct environ. + (elf_machine_rela): Replace static inline by auto inline, add + always_inline attribute. + (elf_machine_rela_relative): Likewise. + (elf_machine_lazy_rel): Likewise. + +2004-10-24 Ulrich Drepper + + * nis/nis_call.c: Pretty printing. Minor cleanups. + * nis/nis_addmember.c (nis_addmember): Add assert to check buffer + bounds. + + * resolv/nss_dns/dns-host.c: Avoid using PLTs. + * include/libc-symbols.h: Define hidden attribute macros for + libnss_nisplus and libutil. + * include/utmp.h: Add libutil_hidden_proto for login_tty. + * login/login_tty.c: Add libutil_hidden_def. + * nis/nisplus-parser.h: Add libnss_nisplus_hidden_proto for parsers. + * nis/nss_nisplus/nisplus-parser.c: Add libnss_nisplus_hidden_def. + * include/pty.h: New file. + * include/rpcsvc/yp.h: New file. + * include/rpcsvc/ypclnt.h: New file. + * include/rpcsvc/ypupd.h: New file. + * include/libc-symbols.h: Define hidden attribute macros for libnsl. + * include/rpcsvc/nislib.h: Use libnsl_hidden_proto for various + functions. + * nis/nis_add.c: Add libnsl_hidden_def. Minor optimizations. + * nis/nis_call.c: Likewise. + * nis/nis_clone_obj.c: Likewise. + * nis/nis_defaults.c: Likewise. + * nis/nis_domain_of_r.c: Likewise. + * nis/nis_error.c: Likewise. + * nis/nis_file.c: Likewise. + * nis/nis_free.c: Likewise. + * nis/nis_local_names.c: Likewise. + * nis/nis_lookup.c: Likewise. + * nis/nis_modify.c: Likewise. + * nis/nis_print.c: Likewise. + * nis/nis_remove.c: Likewise. + * nis/nis_subr.c: Likewise. + * nis/nis_table.c: Likewise. + * nis/nis_util.c: Likewise. + * nis/yp_xdr.c: Likewise. + * nis/ypclnt.c: Likewise. + * nis/ypupdate_xdr.c: Likewise. + + * resolv/res_send.c (send_dg): Cope with failures. + + * include/libc-symbols.h: Define hidden attribute macros for + libnss_files. + * include/netdb.h: Use libnss_files_hidden_proto for the parsers + defined in libnss_files, not libc_hidden_proto. + * include/netinet/ether.h: Likewise. + * include/rpc/netdb.h: Likewise. + * nss/nss_files/files-parse.c: Use hidden_def in parser definitions + instead of libc_hidden_def. + * nss/nss_files/files-netgrp.c: Add libnss_files_hidden_def to + _nss_netgroup_parseline definition. + +2004-10-23 Roland McGrath + + * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Don't return early + after an RPC succeeds. + + * sysdeps/vax, sysdeps/unix/bsd/vax: Directories and all files removed. + These are now in the ports repository. + * sysdeps/tahoe, sysdeps/unix/bsd/tahoe: Likewise. + * sysdeps/cris, sysdeps/unix/sysv/linux/cris: Likewise. + * sysdeps/am29k, sysdeps/i860, sysdeps/i960, sysdeps/m88k: Likewise. + * sysdeps/standalone, sysdeps/z8000: Likewise. + +2004-10-23 Ulrich Drepper + + * resolv/res_send.c (send_dg): Combine write and read to socket + into one loop. + +2004-10-22 Roland McGrath + + * Makefile (%.bz2, %.gz): Move these pattern rules ... + * Makerules: ... to here. + +2001-10-31 Alexandre Oliva + + * elf/elf.h: Add R_MN10300_* relocation numbers. + +2004-10-22 Paul Eggert + + [BZ #471] Fix imported from gnulib. + * time/mktime.c (leapyear, ydms_tm_diff): Year is of type + long int, not int, to avoid problems when tm_year == INT_MAX + and tm_mon > 12. + (__mktime_intenral): Compute year using long int arithmetic, + not int arithmetic, to avoid problems on hosts where time_t + and long are 64 bits but int is 32. + + [BZ #468] Import a fix from gnulib. + * time/mktime.c [! DEBUG]: Do not include . + It's needed only if DEBUG is nonzero. + + [BZ #470] Import fix from gnulib. + * time/mktime.c [!_LIBC] (__mktime_internal): Define to + mktime_internal, to avoid clashes with any __mktime_internal + function defined in the standard library. -2005-11-24 Ulrich Drepper + [BZ #469] Imported from gnulib. + * time/mktime.c (__isleap): Remove; all uses replaced by: + (leapyear): New function, which avoids overflow by not adding + 1900 to year before testing whether it is a leap year. - * scripts/check-c++-types.sh: Improve comments. + [BZ #472] Imported from gnulib. + * time/mktime.c (Local Variables): Remove -DHAVE_TIME_R_POSIX; + no longer used. - * scripts/check-local-headers.sh: New file. - * Makefile (tests): Run check-local-headers.sh. +2004-10-22 Ulrich Drepper -2005-11-23 Thorsten Kukuk + * resolv/res_send.c: Remove compatibility code which is unused in + glibc and probably bitrotten. - * include/sys/sendfile.h: New file. + * debug/execinfo.h: Remove __THROW from backtrace prototype. -2005-11-24 Andreas Schwab +2004-10-22 Jakub Jelinek - * time/sys/time.h: Remove nonnull attribute from futimesat. + * sysdeps/i386/Makefile (CFLAGS-backtrace.c): Add -fexceptions. + * sysdeps/i386/backtrace.c: Include , , + and . Remove include. + (struct trace_arg): New type. + (unwind_backtrace, unwind_getip, unwind_getcfa, unwind_getgr): New + fn pointers resp. macros. + (init, backtrace_helper): New functions. + (__backtrace): Rewritten to use _Unwind_Backtrace first and fall + back to frame pointer walking. -2005-11-22 Ulrich Drepper +2004-10-22 Ulrich Drepper - * nscd/connections.c (sendfileall): Define. - (handle_request): Use it instead of sendfile call. - * nscd/nscd-client.h: Declare sendfileall. - * nscd/aicache.c: Use sendfileall instead of sendfile. - * nscd/grpcache.c: Likewise. - * nscd/hstcache.c: Likewise. - * nscd/initgrcache.c: Likewise. - * nscd/pwdcache.c: Likewise. + * sysdeps/unix/sysv/linux/Versions: Things are still in flux, it + seems. Undo last additions. - [BZ #1908] - * manual/install.texi (Tools for Compilation): Require gawk. +2004-10-21 Ulrich Drepper -2005-11-22 Jakub Jelinek + * posix/execvp.c (execvp): Also ignore ENODEV and ETIMEDOUT errno + values. - * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove - unused is_static field from slotinfo array. +2004-10-20 Roland McGrath -2005-11-21 Jakub Jelinek + * Makeconfig ($(common-objpfx)shlib-versions.v.i): Check also + $(config-sysdirs) for shlib-versions files. - * sunrpc/bindrsvprt.c (bindresvport): Wrap around to startport - in the loop if port is bigger than endport, initially set to - ENDPORT. When changing startport, set endport and port - appropriately. + * Makeconfig ($(common-objpfx)soversions.i): Replace shell loop with + use of ... + * scripts/soversions.awk: ... this new file. Collect lib info and + match any DEFAULT line before emitting anything, so DEFAULT can come + later in the concatenation of shlib-versions files. -2005-11-21 Ulrich Drepper + * manual/errno.texi (Error Codes): Add ENOKEY, EKEYEXPIRED, + EKEYREVOKED, EKEYREJECTED. + * sysdeps/unix/sysv/linux/Versions (libc: GLIBC_2.3.4): New errlist. + * sysdeps/gnu/errlist.c: Regenerated - * Makefile.in: Remove RCS ID line. - * config-name.in: Likewise. - * config.make.in: Likewise. - * malloc/arena.c: Likewise. - * malloc/hooks.c: Likewise. - * malloc/malloc.c: Likewise. - * manual/dir: Likewise. - * math/math_private.h: Likewise. + * sysdeps/gnu/errlist-compat.awk: Don't bail if Versions gives a count + higher than ERR_MAX reports. Instead, emit a #define ERR_MAX. + * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.h): New target. + (generated): Add errlist-compat.h. + * sysdeps/gnu/errlist.awk: Make output #include to + define ERR_MAX and use that for table size. + +2004-10-20 Ulrich Drepper + + * sysdeps/unix/sysv/linux/syscalls.list: Add entries for setaltroot, + key_add, key_request, and keyctl syscalls. + * sysdeps/unix/sysv/linux/Versions: Export them. + +2004-10-19 Roland McGrath + + * sysdeps/mach/readonly-area.c: New file. + +2004-10-19 Ulrich Drepper + + * elf/Versions [ld, GLIBC_PRIVATE]: Add _dl_debug_state. + * elf/dl-debug.c (_dl_debug_state): Add rtld_hidden_def. + * sysdeps/generic/ldsodefs.h (_dl_debug_state): Don't mark as + hidden but use rtld_hidden_proto. + +2004-10-19 Alfred M. Szmidt + + * sysdeps/generic/readonly-area.c (__readonly_str): Renamed to ... + (__readonly_area): ... this. + +2004-10-18 Jakub Jelinek + + * sysdeps/generic/strcpy_chk.c (__strcpy_chk): Speed up by checking + destlen only every 4 bytes. + +2004-10-19 Ulrich Drepper + + * nss/getent.c (hosts_keys): Let inet_pton decide whether the + string is an address or not. + +2004-10-19 Jakub Jelinek + + * elf/dl-addr.c (_dl_addr): Don't look at STT_TLS symbols. + Use DL_SYMBOL_ADDRESS to set dli_saddr. + + * debug/Makefile (catchsegv): Prefix $LIB with a backslash. + +2004-10-19 Ulrich Drepper + + * debug/Makefile ($(objpfx)catchsegv): To support multilib + platforms, use $LIB in path to slibdir. + +2004-10-19 Jakub Jelinek + + * debug/catchsegv.sh: Update copyright year. + Use mktemp to create segv_output file. + +2004-10-18 Jakub Jelinek + + * elf/dl-libc.c (__libc_dlsym_private, __libc_register_dl_open_hook): + New functions. + (__libc_dlopen_mode): Call __libc_register_dl_open_hook and + __libc_register_dlfcn_hook. + * dlfcn/Makefile (routines, elide-routines.os): Set. + Add rules to build and test tststatic2. + * dlfcn/tststatic2.c: New test. + * dlfcn/modstatic2.c: New test module. + * dlfcn/dladdr.c: Call _dlfcn_hook from libdl.so if not NULL. + Define __ prefixed routine in libc.a and in libdl.a just call it. + * dlfcn/dladdr1.c: Likewise. + * dlfcn/dlclose.c: Likewise. + * dlfcn/dlerror.c: Likewise. + * dlfcn/dlinfo.c: Likewise. + * dlfcn/dlmopen.c: Likewise. + * dlfcn/dlopen.c: Likewise. + * dlfcn/dlopenold.c: Likewise. + * dlfcn/dlsym.c: Likewise. + * dlfcn/dlvsym.c: Likewise. + * dlfcn/sdladdr.c: New file. + * dlfcn/sdladdr1.c: New file. + * dlfcn/sdlclose.c: New file. + * dlfcn/sdlerror.c: New file. + * dlfcn/sdlinfo.c: New file. + * dlfcn/sdlopen.c: New file. + * dlfcn/sdlsym.c: New file. + * dlfcn/sdlvsym.c: New file. + * dlfcn/Versions (libdl): Export _dlfcn_hook@GLIBC_PRIVATE. + * include/dlfcn.h (DL_CALLER_DECL, DL_CALLER RETURN_ADDRESS): Define. + (struct dlfcn_hook): New type. + (_dlfcn_hook): New extern decl. + (__dlopen, __dlclose, __dlsym, __dlerror, __dladdr, __dladdr1, + __dlinfo, __dlmopen, __libc_dlsym_private, + __libc_register_dl_open_hook, __libc_register_dlfcn_hook): New + prototypes. + (__dlvsym): Use DL_CALLER_DECL. + * include/libc-symbols.h: Define libdl_hidden_proto and friends. + + * malloc/arena.c (_dl_open_hook): Extern decl. + (ptmalloc_init): Don't call _dl_addr when dlopened from statically + linked programs but don't use brk for them either. + +2004-10-18 Roland McGrath + + * dlfcn/bug-dlsym1.c (main): Remove bogus setenv call. + +2004-10-18 Ulrich Drepper + + * elf/dl-open.c (dl_open_worker): Avoid dereferencing map in + statically linked code if there might none be found. + +2004-10-06 Maciej W. Rozycki + + * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h + (__SYSCALL_CLOBBERS): Add "memory". + * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h + (__SYSCALL_CLOBBERS): Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h + (__SYSCALL_CLOBBERS): Likewise. + +2004-10-17 Ulrich Drepper + + * include/libc-symbols.h: Define libresolv_hidden_proto and friends. + * include/resolv.h: Add libresolv_hidden_proto for symbols defined, + used, and exported in libresolv. + * resolv/base64.c: Add libresolv_hidden_def. * resolv/gethnamaddr.c: Likewise. - * scripts/mkinstalldirs: Likewise. - * sunrpc/rpc_clntout.c: Likewise. + * resolv/ns_name.c: Likewise. + * resolv/ns_netint.c: Likewise. + * resolv/res_comp.c: Likewise. + * resolv/res_data.c: Likewise. + * resolv/res_debug.c: Likewise. + * resolv/res_mkquery.c: Likewise. + * resolv/res_query.c: Likewise. + * resolv/res_send.c: Likewise. + +2004-10-15 Jakub Jelinek + + * elf/dl-minimal.c (__chk_fail): New. Add rtld_hidden_def. + * sysdeps/unix/sysv/linux/readonly-area.c: New file. + * sysdeps/i386/i686/memmove.S (__memmove_chk): Add checking + routine. + * sysdeps/i386/i686/memcpy.S (__memcpy_chk): Likewise. + * sysdeps/i386/i686/mempcpy.S (__mempcpy_chk): Likewise. + * sysdeps/i386/i686/memset.S (__memset_chk): Likewise. + * sysdeps/i386/i686/memmove-chk.S: New file. + * sysdeps/i386/i686/memcpy-chk.S: Likewise. + * sysdeps/i386/i686/mempcpy-chk.S: Likewise. + * sysdeps/i386/i686/memset-chk.S: Likewise. + * sysdeps/generic/strcat-chk.c (__strcat_chk): Don't __chk_fail + if exactly fitting into buffer. + * sysdeps/generic/strncat-chk.c (__strncat_chk): Likewise. + * sysdeps/generic/readonly-area.c: New file. + * sysdeps/generic/strncpy-chk.c (__strncpy_chk): Only test + destlen once. + * sysdeps/x86_64/memset.S (__memset_chk): Add checking routine. + * sysdeps/x86_64/memcpy.S (__memcpy_chk): Likewise. + * sysdeps/x86_64/mempcpy.S (__memcpy_chk): Define to __mempcpy_chk. + * sysdeps/x86_64/memcpy-chk.S: New file. + * sysdeps/x86_64/mempcpy-chk.S: Likewise. + * sysdeps/x86_64/memset-chk.S: Likewise. + * sysdeps/x86_64/strcpy-chk.S: Likewise. + * sysdeps/x86_64/stpcpy-chk.S: Likewise. + * argp/argp-xinl.c (__OPTIMIZE__): Define to 1 instead of nothing. + * argp/argp-fs-xinl.c (__OPTIMIZE__): Likewise. + * debug/tst-chk1.c: New test. + * debug/tst-chk2.c: Likewise. + * debug/tst-chk3.c: Likewise. + * debug/test-strcpy_chk.c: Likewise. + * debug/test-stpcpy_chk.c: Likewise. + * debug/vsprintf_chk.c (__vsprintf_chk): If flags > 0, request + _IO_FLAGS2_CHECK_PERCENT_N. Add libc_hidden_def. + * debug/Makefile (routines): Add printf_chk, fprintf_chk, vprintf_chk, + vfprintf_chk, gets_chk and readonly-area. + (CFLAGS-*_chk.c): Set. + (tests): Add tst-chk1, tst-chk2, tst-chk3, test-strcpy_chk and + test-stpcpy_chk. + * debug/vprintf_chk.c: New file. + * debug/printf_chk.c: Likewise. + * debug/vfprintf_chk.c: Likewise. + * debug/fprintf_chk.c: Likewise. + * debug/gets_chk.c: Likewise. + * debug/chk_fail.c (__chk_fail): Add libc_hidden_def. + * debug/snprintf_chk.c (__snprintf_chk): Fix order of arguments + passed to __vsnprintf_chk. + * debug/Versions (libc): Export __printf_chk, __fprintf_chk, + __vprintf_chk, __vfprintf_chk and __gets_chk @GLIBC_2.3.4. + * debug/vsnprintf_chk.c (__vsnprintf_chk): Don't call + __vsnprintf, instead create a temporary file with + _IO_strn_jumps jumptable. If flags > 0, request + _IO_FLAGS2_CHECK_PERCENT_N. Add libc_hidden_def. + * libio/Makefile (headers): Add bits/stdio2.h. + * libio/stdio.h: Include if __USE_FORTIFY_LEVEL. + (sprintf, snprintf, vsprintf, vsnprintf): Remove defines. + * libio/strfile.h (_IO_strnfile): New type. + (_IO_strn_jumps): New extern. + * libio/vsnprintf.c (_IO_strnfile): Remove. + (_IO_strn_jumps): Remove static. + * libio/bits/stdio2.h: New file. + * libio/vswprintf.c (_IO_strnfile): Rename type to... + (_IO_wstrnfile): ...this. Adjust all uses. + * libio/libio.h (_IO_FLAGS2_CHECK_PERCENT_N): Define. + * stdio-common/vfprintf.c (STR_LEN): Define. + (vfprintf): Add readonly_format variable. + Handle _IO_FLAGS2_CHECK_PERCENT_N. + (buffered_vfprintf): Copy _flags2. + * include/stdio.h (__sprintf_chk, __snprintf_chk, __vsprintf_chk, + __vsnprintf_chk, __printf_chk, __fprintf_chk, __vprintf_chk, + __vfprintf_chk): New prototypes. + (__vsprintf_chk, __vsnprintf_chk): Add libc_hidden_proto. + * include/string.h (__memcpy_chk, __memmove_chk, __mempcpy_chk, + __memset_chk, __strcpy_chk, __stpcpy_chk, __strncpy_chk, __strcat_chk, + __strncat_chk): New prototypes. + * include/bits/string3.h: New file. + * include/sys/cdefs.h (__chk_fail): Add libc_hidden_proto + and rtld_hidden_proto. + * string/Makefile (headers): Add bits/string3.h. + * string/bits/string3.h (bcopy, bzero): New defines. + (memset, memcpy, memmove, strcpy, strncpy, strcat, strncat): Change + macros so that inlines are used only if unknown destination size + or side-effects in destination argument. + (mempcpy, stpcpy): Likewise. Protect with #ifdef __USE_GNU. + +2004-09-16 Ulrich Drepper + + * debug/Makefile (routines): Add *_chk. + * debug/Versions (libc): Export __chk_fail, __memcpy_chk, + __memmove_chk, __mempcpy_chk, __memset_chk, __stpcpy_chk, + __strcat_chk, __strcpy_chk, __strncat_chk, __strncpy_chk, + __sprintf_chk, __vsprintf_chk, __snprintf_chk, __vsnprintf_chk + @GLIBC_2.3.4. + * debug/chk_fail.c: New file. + * debug/snprintf_chk.c: Likewise. + * debug/sprintf_chk.c: Likewise. + * debug/vsnprintf_chk.c: Likewise. + * debug/vsprintf_chk.c: Likewise. + * include/features.h (_FORTIFY_SOURCE): Document, handle. + (__USE_FORTIFY_LEVEL): Define. + (__GNUC_PREREQ): Move to earlier location. + * include/sys/cdefs.h (__chk_fail): New prototype. + * libio/bits/stdio.h (sprintf, vsprintf, snprintf, vsnprintf): + Define if __USE_FORTIFY_LEVEL. + * misc/sys/cdefs.h (__bos, __bos0): Define. + * string/string.h: Include if __USE_FORTIFY_LEVEL. + * bits/string/string3.h: New header. + * sysdeps/generic/memcpy_chk.c: New file. + * sysdeps/generic/memmove_chk.c: Likewise. + * sysdeps/generic/mempcpy_chk.c: Likewise. + * sysdeps/generic/memset_chk.c: Likewise. + * sysdeps/generic/stpcpy_chk.c: Likewise. + * sysdeps/generic/strcat_chk.c: Likewise. + * sysdeps/generic/strcpy_chk.c: Likewise. + * sysdeps/generic/strncat_chk.c: Likewise. + * sysdeps/generic/strncpy_chk.c: Likewise. + +2004-10-17 Roland McGrath + + * manual/memory.texi (Page Lock Functions): Typo fix. + Reported by Carlos Maziero + +2004-10-16 Alfred M. Szmidt + + * sysdeps/mach/hurd/Makefile (link-libc-static): Use + `$(static-gnulib') instead of `$(gnulib)'. + +2004-10-17 Ulrich Drepper + + * sunrpc/rpc_clntout.c: Avoid including rcsid into binary. * sunrpc/rpc_cout.c: Likewise. * sunrpc/rpc_hout.c: Likewise. * sunrpc/rpc_main.c: Likewise. @@ -7070,6308 +1689,3792 @@ * sunrpc/rpc_svcout.c: Likewise. * sunrpc/rpc_tblout.c: Likewise. * sunrpc/rpc_util.c: Likewise. - * sysdeps/unix/sysv/linux/sys/quote.h: Likewise. - * nscd/nscd_helper.c: Pretty printing. +2004-10-15 Jakub Jelinek -2005-11-19 Roland McGrath + * sysdeps/unix/sysv/linux/i386/sysdep.h (PUSHARGS_6, DOARGS_6, + POPARGS_6, _PUSHARGS_6, _DOARGS_6, _POPARGS_6): Define. + * sysdeps/unix/sysv/linux/i386/syscall.S (syscall): Handle 6 argument + syscalls. - * elf/elf.h: Revert last change. +2004-10-15 Ulrich Drepper -2005-11-19 Jakub Jelinek + * nscd/nscd.h (_PATH_NSCD_PASSWD_DB): Move to /var/db. + (_PATH_NSCD_GROUP_DB): Likewise. + (_PATH_NSCD_HOSTS_DB): Likewise. + (_PATH_NSCD_XYZ_DB_TMP): New #define, point to /var/run. + * nscd/connections.c (nscd_init): Non-persistent database files + are created with the _PATH_NSCD_XYZ_DB_TMP path. + * nscd/nscd.init: Create /var/db/nscd if necessary. - * sysdeps/unix/sysv/linux/ia64/bits/shm.h (shmatt_t): New type. - (struct shmid_ds): Use it for shm_nattch field. +2004-10-15 Richard Henderson -2005-11-18 Jakub Jelinek + * sysdeps/unix/sysv/linux/alpha/register-dump.h: New file. + * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h (SIGCONTEXT): Add + _code argument, pass sigcontext by pointer. + (SIGCONTEXT_EXTRA_ARGS): Likewise. + (GET_PC, GET_FRAME, GET_STACK): Expect ctx as pointer. - * sysdeps/unix/sysv/linux/futimesat.c (futimesat): If FILE is NULL, - set access and modification times of the file referenced by FD. - * sysdeps/generic/futimesat.c (futimesat): Don't return EINVAL if - FILE is NULL. Don't check FD if FILE is absolute path. +2004-10-14 Richard Henderson -2005-11-19 Ulrich Drepper + * sysdeps/alpha/dl-machine.h (elf_machine_rela, + elf_machine_rela_relative, elf_machine_lazy_rel): Mark auto + instead of static. - * nscd/nscd_gethst_r.c (nscd_gethst_r): Avoid unnecesary read call - if there are no aliases. + * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use prototype + style definition. + * sysdeps/unix/sysv/linux/alpha/adjtime.c (ADJTIME): If + __ASSUME_TIMEVAL64, define __adjtime directly rather than + via strong_alias. - * sysdeps/unix/sysv/linux/Makefile (CFLAGS-connections.c, - CFLAGS-pwdcache.c, CFLAGS-grpcache.c, CFLAGS-hstcache.c, - CFLAGS-aicache.c, CFLAGS-initgrcache.c): Add -DHAVE_SENDFILE. - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE): - Define. - * nscd/pwdcache.c [HAVE_SENDFILE]: Include and - . - [HAVE_SENDFILE] (cache_addpw): Use sendfile to transmit positive - result. +2004-10-14 Ulrich Drepper + + * nscd/Makefile: When using compilers without -fpie support, also + link with -lselinux if necessary. + Patch by Arkadiusz Miskiewicz . + + * nscd/connections.c (nscd_init): Remove file if not persistent + and not shared. Patch by Jerome Borsboom . + +2004-10-14 Jakub Jelinek + + * sysdeps/unix/sysv/linux/i386/setresuid.c: Handle + defined __NR_setresuid32 && !defined __NR_setresuid. + * sysdeps/unix/sysv/linux/i386/setresgid.c: Handle + defined __NR_setresgid32 && !defined __NR_setresgid. + + * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf, __signbit, + __signbitl, sqrtf, sqrt, sqrtl, fdim, fdimf): Use __NTH macro. + + * sysdeps/generic/errno-loc.c: Don't undef #errno + if RTLD_PRIVATE_ERRNO. + * include/errno.h (__errno_location): If RTLD_PRIVATE_ERRNO, + add attribute_hidden. + + * dlfcn/dlinfo.c (dlinfo_doit): Replace iteration over GL(dl_loaded) + chain with iteration over all namespaces' _ns_loaded chains. + * sysdeps/powerpc/powerpc32/dl-machine.c (__elf_preferred_address): + Likewise. + * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Likewise. + + * elf/rtld.c (_dl_start): Fix one last dl_loaded. + * elf/dl-load.c (_dl_map_object_from_fd): Avoid definition of + label when it is not needed. + * elf/dl-close.c (_dl_close): Typo: & -> &&. + +2004-10-12 Jakub Jelinek + + * sysdeps/generic/segfault.c: Include alloca.h and stdint.h. + Don't include frame.h. + (CURRENT_STACK_FRAME, INNER_THAN, ADVANCE_STACK_FRAME): Remove. + (catch_segfault): Use backtrace function. + + * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Fix comment. + * sysdeps/unix/sysv/linux/ia64/register-dump.h: New file. + * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h (GET_PC): Return sc_ip + field. + +2004-10-13 Ulrich Drepper + + Add support for namespaces in the dynamic linker. + * dlfcn/Makefile (libdl-routines): Add dlmopen. + * dlfcn/Versions [libdl, GLIBC_2.3.4]: Add dlmopen. + * dlfcn/dlfcn.h: Define Lmid_t, LM_ID_BASE, and LM_ID_NEWLM. + Declare dlmopen. Document RTLD_DI_LMID. + * dlfcn/dlinfo.c: Handle RTLD_DI_LMID. + * dlfcn/dlmopen.c: New file. + * dlfcn/dlopen.c: Pass new parameter to _dl_open. + * dlfcn/dlopenold.c: Likewise. + * elf/dl-addr.c: Adjust for removal of GL(dl_loaded). + * elf/dl-caller.c: Likewise. + * elf/dl-close.c: Likewise. + * elf/dl-conflict.c: Likewise. + * elf/dl-debug.c: Likewise. + * elf/dl-lookup.c: Likewise. + * elf/dl-sym.c: Likewise. + * elf/dl-version.c: Likewise. + * elf/do-lookup.h: Likewise. + * elf/rtld.c: Likewise. + * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise. + * elf/dl-depsc: Likewise. Add new parameter to _dl_map_object. + * elf/dl-fini.c: Call destructors in all namespaces. + * elf/dl-iteratephdr.c: Compute total nloaded. Adjust for removal of + GL(dl_loaded). + * elf/dl-libc.c: Pass new parameter to _dl_open. Adjust for removal + of GL(dl_loaded). + * elf/dl-load.c (_dl_map_object_from_fd): Don't load ld.so a second + time. Reuse the one from the main namespace in all others. + Pass new parameter to _dl_new_object. + Adjust for removal of GL(dl_loaded). + * elf/dl-object.c: Take new parameter. Use it to initialize l_ns. + Adjust for removal of GL(dl_loaded). + * elf/dl-open.c (_dl_open): Take new parameter. + Adjust for removal of GL(dl_loaded). + * elf/dl-support.c: Replace global _dl_loaded etc variables with + _dl_ns variable. + * include/dlfcn.h: Adjust prototype of _dl_open. + Define __LM_ID_CALLER. + * include/link.h: Add l_real, l_ns, and l_direct_opencount elements. + * sysdeps/generic/dl-tls.c: Bump TLS_STATIC_SURPLUS. Since libc is + using TLS we need memory appropriate to the number of namespaces. + * sysdeps/generic/ldsodefs.h (struct rtld_global): Replace _dl_loaded, + _dl_nloaded, _dl_global_scope, _dl_main_searchlist, and + _dl_global_scope_alloc with _dl_ns element. Define DL_NNS. + Adjust prototypes of _dl_map_object and member in rtld_global_ro. + * malloc/malloc.c: Include . + * malloc/arena.c (ptmalloc_init): If libc is not in primary namespace, + never use brk. + * elf/Makefile: Add rules to build and run tst-dlmopen1 and + tst-dlmopen2. + * elf/tst-dlmopen1.c: New file. + * elf/tst-dlmopen1mod.c: New file. + * elf/tst-dlmopen2.c: New file. + + * elf/dl-close.c: Improve reference counting by tracking direct loads. + * elf/dl-lookup.c (add_dependency): Likewise. + * elf/dl-open.c (dl_open_worker): Likewise. + * elf/rtld.c (dl_main): Likewise. + +2004-09-09 GOTO Masanori + + [BZ #77] + * elf/dl-close.c: Count down l_opencount to check not only for + l_reldeps, but also l_initfini. + +2004-10-13 Ulrich Drepper + + * elf/dl-close.c (_dl_close): Update bug reporting instructions. + +2004-10-11 Ulrich Drepper + + * timezone/asia: Update from tzdata2004e. + * timezone/southamerica: Likewise. + * timezone/private.h: Update from tzcode2004e. + * timezone/zdump.c: Likewise. + + * stdio-common/vfscanf.c: Add support for reading localized + digits. Patch mainly by Hamed Malek . + + * resolv/res_init.c (res_thread_freeres): Reset _res.options. + [BZ #434] + + * resolv/res_send.c (send_dg): Use nonblocking sockets. Add + appropriate poll/select calls and restart operation if necessary. + Also handle EINTR. + + * elf/tst-dlopenrpath.c (do_test): Enable code which was disabled + for debugging. + + * elf/dl-sym.c (do_sym): Avoid using global variable. + + * elf/dl-addr.c (_dl_addr): Really use match everywhere. + +2004-10-09 Andreas Schwab + + * sysdeps/m68k/memcopy.h (WORD_COPY_BWD): Remove use of cast as + lvalue. + + * sysdeps/m68k/fpu/bits/mathinline.h: Remove __THROW from inline + definitions. + +2004-10-07 Andreas Schwab + + * misc/sys/uio.h: Change __vector to __iovec to avoid clash with + altivec. + +2004-10-06 Alan Modra + + * gmon/Makefile (CFLAGS-mcount.c): Move before inclusion of "Rules". + * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-mcount.c): Add + -msoft-float. + * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): New macros. + (CALL_MCOUNT): Replace with a gas macro implementation. + (EALIGN): Delete PROF version. + * sysdeps/powerpc/powerpc64/__longjmp-common.S: Invoke CALL_MCOUNT. + * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Likewise. + * sysdeps/powerpc/powerpc64/bsd-setjmp.S: Likewise. + * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise. + * sysdeps/powerpc/powerpc64/memcpy.S: Likewise. + * sysdeps/powerpc/powerpc64/memset.S: Likewise. + * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise. + * sysdeps/powerpc/powerpc64/strchr.S: Likewise. + * sysdeps/powerpc/powerpc64/strcmp.S: Likewise. + * sysdeps/powerpc/powerpc64/strcpy.S: Likewise. + * sysdeps/powerpc/powerpc64/strlen.S: Likewise. + * sysdeps/powerpc/powerpc64/strncmp.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise. + + * sysdeps/powerpc/powerpc64/setjmp-common.S: Add extra entry point + past _mcount call. + * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Use it. + * sysdeps/powerpc/powerpc64/bsd-setjmp.S: Likewise. + +2004-10-06 Ulrich Drepper + + * resolv/res_mkquery.c (res_nmkquery): Reject randombits value if + low 16 bits are zero. + +2004-10-06 Jakub Jelinek + + * posix/tst-getaddrinfo2.c: Include stdlib.h and string.h. + (do_test): Use %p instead of 0x%08X to print a pointer. + + * malloc/malloc.c: Include stdio-common/_itoa.h. + +2004-10-05 Ulrich Drepper + + * elf/rtld.c (dl_main): Use _dl_debug_printf instead of _dl_printf + for prelink message. + +2004-10-05 Jakub Jelinek + + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Include dl-sysdep.h. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. + +2004-10-05 Ulrich Drepper + + * grp/initgroups.c: Remove duplicate group IDs. + * grp/compat-initgroups.c: Likewise. + * nscd/initgrcache.c: Likewise. + +2004-10-05 Jakub Jelinek + + * sysdeps/unix/sysv/linux/x86_64/sysconf.c (__sysconf): Return 200112L + for _SC_CPUTIME or _SC_THREAD_CPUTIME. + + * nscd/Makefile (nscd-cflags): Set to -DIS_IN_nscd=1, plus + -fpie if building PIE. + (CFLAGS-*.c): Use it. + + * nscd/Makefile (relro-LDFLAGS): Add -Wl,-z,now if have-z-relro. + ($(objpfx)nscd): Add $(relro-LDFLAGS). + + * sysdeps/unix/sysv/linux/i386/sysconf.c: Include hp-timing.h. + (__sysconf): Return -1 for _SC_CPUTIME or _SC_THREAD_CPUTIME if + !HP_TIMING_AVAIL. + +2004-10-05 Ulrich Drepper + + * nscd/Makefile (distribute): Remove TODO. + * nscd/TODO: Removed. + +2004-10-04 Ulrich Drepper + + * nscd/gai.c: Define __no_netlink_support if NEED_NETLINK is + defined and __ASSUME_NETLINK_SUPPORT is zero. + * sysdeps/unix/sysv/linux/Makefile (CFLAGS-gai.c): Add + -DNEED_NETLINK. + + * malloc/mtrace.pl: Avoid calling location unless it is needed for + output. Patch by Edward Bishop . + + * nscd/Makefile (CFLAGS-gai.c): Add -fpie. + +2004-10-04 H.J. Lu + + * sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c + (clock_getcpuclockid): Add missing retval. + + * sysdeps/unix/sysv/linux/ia64/sysconf.c (linux_sysconf): Fix a typo. + +2004-10-04 Roland McGrath + + * include/errno.h [RTLD_PRIVATE_ERRNO] (errno): Rename the real symbol + to rtld_errno. + * sysdeps/generic/errno.c [RTLD_PRIVATE_ERRNO] (rtld_errno): Define it, + and don't define any other errno names. + * sysdeps/unix/alpha/sysdep.h [RTLD_PRIVATE_ERRNO]: Use rtld_errno in + place of errno. + * sysdeps/unix/i386/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. + * sysdeps/unix/x86_64/sysdep.S: Likewise. + + * sysdeps/generic/errno.c [! USE___THREAD] (errno): Use `nocommon' + attribute instead of `section'. + +2004-10-04 Ulrich Drepper + + * sysdeps/unix/sysv/linux/ia64/sysconf.c: New file. + * sysdeps/unix/sysv/linux/ia64/Dist: Add has_cpuclock.c. + * sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c: Move actual + testing code to... + * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: ...here. New file. + * sysdeps/unix/sysv/linux/i386/sysconf.c: Add dynamic check for + _SC_CPUTIME and _SC_THREAD_CPUTIME. + + * nscd/connections.c (start_threads): Use sysconf in case + _POSIX_CLOCK_SELECTION or _POSIX_MONOTONIC_CLOCK is not greater zero. + + * nscd/Makefile (nscd-modules): Add gai. + * nscd/gai.c: New file. + * nscd/nscd.c: Remove getaddrinfo stub definition. + + * assert/assert.h: Give up on using __builtin_expect. + + * elf/rtld.c (dl_main): Only skip => output in ldd mode if both + strings are identical. + +2004-03-18 Jakub Jelinek + + * malloc/arena.c (aligned_heap_area): New variable. + (new_heap): If aligned_heap_area != NULL, attempt to use that + first. If HEAP_MAX_SIZE << 1 area is already HEAP_MAX_SIZE bytes + aligned, remember the second half in aligned_heap_area. + (delete_heap): Clear aligned_heap_area if deleting the area right + before aligned_heap_area. + +2004-10-03 Juerg Billeter + + * nscd/nscd_initgroups.c (__nscd_getgrouplist): Return -1 if nscd + can't be used. [BZ #424] + +2004-10-03 Ulrich Drepper + + Dynamically create new threads if necessary. + * nscd/connections.c (fd_ready): If no thread available for processing + the request, create a new one unless the limit is reached. + (start_threads): Check errors from pthread_create. + * nscd/nscd.h: Declare max_nthreads. + * nscd/nscd_conf.c: Parse max-nthreads entry. + * nscd/nscd.conf: Add max-threads entry. + * nscd/nscd_stat.c: Print current and maximum number of threads. + + Implement paranoia mode. + * nscd/connections.c (nscd_init): Mark database and socket descriptors + as close on exec. + (restart): New function. + (restart_p): New function. + (nscd_run): Add missing descrement of nready in case readylist is + empty. + (main_loop_poll): Call restart_p and restart. + (main_loop_epoll): Likewise. + (begin_drop_privileges): Save original UID and GID. + * nscd/nscd.c: Define new variables paranoia, restart_time, + restart_interval, oldcwd, old_gid, old_uid. + (main): Disable paranoia mode if we are not forking. + (check_pid): When re-execing, the PID file contains the same PID as + the current process. Do not fail in this case. + * nscd/nscd.conf: Add paranoia and restart-interval entries. + * nscd/nscd.h: Define RESTART_INTERVAL. Declare new variables. + * nscd/nscd_conf.c: Parse paranoia and restart-internal configurations. + * nscd/nscd_stat.c: Print paranoia and restart-internal values. + + * nscd/connections.c: Implement alternative loop for main thread + which uses epoll. + * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] + (CFLAGS-connections.c): Add -DHAVE_EPOLL. + +2004-10-02 Ulrich Drepper + + * nscd/Makefile (CFLAGS-initgrcache.c): Add to CFLAGS-* variables, + don't replace old content. + + * nscd/connections.c: Rewrite handling of incoming connections. All + are handled by one thread which then hands off the descriptors for the + real work to the worker threads. + * nscd/Makefile: Link nscd with librt. + + * nscd/selinux.c: Pretty printing. + + * nscd/dbg_log.c (dbg_log): Don't add unnecessary newline to + output. Let syslog do the formatting if debug_level == 0. + + * nscd/nscd_helper.c (get_mapping): No need to check timestamp if + nscd_certainly_running is nonzero. + +2004-10-02 Simon Josefsson + + [BZ #420] + * sysdeps/generic/memmem.c [!_LIBC]: Define __builtin_expect, to + make the file usable inside gnulib. + +2004-10-01 Ulrich Drepper + + * malloc/malloc.c (public_vALLOc): Add missing use of hooks. + (public_pVALLOc): Likewise. + + * nscd/nscd_initgroups.c (__nscd_getgrouplist): Always add the + group the caller provided unless there is a real problem. + + * posix/bug-glob1.c (prepare): Fix creation of symlink. + +2004-09-30 Ulrich Drepper + + * posix/Makefile: Add rules to build and run bug-glob1. + * posix/bug-glob1.c: New file. + + * iconv/iconv_prog.c (main): Print progress information to stderr. + + * nscd/nscd.c (termination_handler): Reset timestamp so that + clients immediately stop using the database. + + * nscd/nscd-client.h (__nscd_get_map_ref): Drop volatile from last + parameter. + (__nscd_drop_map_ref): Change second parameter to be a reference to + a variable. Update variable when cycle count changed. + * nscd/nscd_helper.c (__nscd_get_map_ref): Remove volatile here, too. + * nscd/nscd_getai.c: Correctly use __nscd_drop_map_ref. Reinitialize + all variables and avoid memory leak in case of retries. + * nscd/nscd_getgr_r.c: Likewise. + * nscd/nscd_gethst_r.c: Likewise. + * nscd/nscd_getpw_r.c: Likewise. + * nscd/nscd_initgroups.c: Likewise. + + * nscd/nscd.h: Add declaration of addinitgroups and + readdinitgroups. + +2004-09-30 Andreas Jaeger + + * nscd/Makefile (CFLAGS-nscd_initgroups.c): Set to -fpie. + (CFLAGS-initgrcache.c): Set to -fexceptions. + +2004-09-29 Ulrich Drepper + + * sysdeps/generic/glob.c (glob_in_dir): Don't blindly trust + readdir results; for symlinks or files of unknown type check using + stat whether the file exists. + + * posix/tst-gnuglob.c (find_file): Handle leading "./". Fix + recognition of files. + +2004-09-29 Jakub Jelinek + + * time/tzfile.c (tzfile_mtime): New variable. + (__tzfile_read): Reread the file if mtime is different. + +2004-09-28 Jakub Jelinek + + * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf, __fdim, fdimf, fdim): + Handle +inf/+inf. + * sysdeps/powerpc/fpu/bits/mathinline.h (fdim, fdimf): Likewise. + * sysdeps/sparc/fpu/bits/mathinline.h (fdim, fdimf): Likewise. + +2004-09-29 Ulrich Drepper + + * nscd/nscd_gethst_r.c (nscd_gethst_r): Use correct constant for + testing result of __nscd_get_map_ref. + +2004-09-29 Jakub Jelinek + + * sysdeps/i386/fpu/s_fdim.S (__fdim): Handle +inf/+inf. + * sysdeps/i386/fpu/s_fdimf.S (__fdimf): Likewise. + * sysdeps/i386/fpu/s_fdiml.S (__fdiml): Likewise. + +004-09-29 Ulrich Drepper + + * grp/initgroups.c: Move compat_call implementation... + * grp/compat-initgroups.c: ...to here. New file. + * grp/Makefile (distribute): Add compat-initgroups.c. + (CFLAGS-initgroups.c): Add -DUSE_NSCD=1. + * mscd/initgrcache.c: New file. + * nscd/nscd_initgroups.c: New file. + * nscd/Makefile (routines): Add nscd_initgroups. + (nscd-modules): Add initgrcache. + * nscd/cache.c (prune_cache): Add support for INITGROUPS entries. + * nscd/connections.c: Handle INITGROUPS requests. + * nscd/nscd-client.h: Define INITGROUPS, initgr_response_header. + Add initgrdata element to struct datahead. Fix typo in comment. + * nscd/nscd_proto.h: Declare __nscd_getgrouplist. Fix parameter + type in __nscd_getgrgrid_r. + * nscd/selinux.c (perms): Add INITGROUPS entry. + + * nscd/nscd_getai.c: No need to include . + + * sunrpc/get_myaddr.c (get_myaddress): Account for interfaces without + assigned addresses. + * sunrpc/pmap_clnt.c (__get_myaddress): Likewise. + * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise. + * sunrpc/clnt_udp.c (is_network_up): Likewise. + + * nscd/nscd.c: Define getaddrinfo hidden so that it is never found + outside. + + * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (si_segvflags): + Renamed from si_flags due to conflict with si_flags from . + +2004-09-28 Ulrich Drepper + + * nscd/nscd_getai.c: Use NO_MAPPING instead of MAP_FAILED for test + of failing __nscd_get_map_ref. Fix a few typos. + + * sysdeps/unix/sysv/linux/sigwait.c (do_sigwait): Make sure + SIGSETXID is not blocked. + * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Likewise. + * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Likewise. + * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise. + * sysdeps/generic/sigfillset.c (sigfillset): Don't set SIGSETXID. + + * sunrpc/get_myaddr.c (get_myaddress): Fix test for failing + getifaddrs call. + * sunrpc/pmap_clnt.c (__get_myaddress): Likewise. + * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise. + * sunrpc/Makefile (xtests): Add tst-getmyaddr. + * sunrpc/tst-getmyaddr.c: New file. + + * malloc/arena.c (ptmalloc_init): Allow MALLOC_CHECK_==0 to + disable all checking. + + * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (si_flags): Add + support to get this value. + +2004-09-28 Jakub Jelinek + + * io/utime.h (utime): Allow second argument to be NULL. + +2004-09-28 Ulrich Drepper + + * sysdeps/posix/getaddrinfo.c (gaih_inet): If NAME is a numerical IP + address and AI_CANONNAME is set, return copy of NAME as ai_canonname. + +2004-09-27 Andreas Jaeger + + * sysdeps/i386/dl-machine.h (elf_machine_rela_relative): Replace + static inline by auto inline, add always_inline attribute. + (elf_machine_rel): Likewise. + (elf_machine_rela): Likewise. + (elf_machine_lazy_rel): Likewise. + (elf_machine_lazy_rela): Likewise. + (elf_machine_rel_relative): Likewise. + +2004-09-27 Ulrich Drepper + + * sunrpc/xdr_intXX_t.c: Add xdr_quad_t and xdr_u_quad_t aliases. + * sunrpc/rpc/xdr.h: Declare xdr_quad_t and xdr_u_quad_t. + * sunrpc/rpc_parse.c (get_type): Use "quad_t" for TOK_HYPER. + Otherwise isvectordef will loop infinitely if typedef hyper int64_t + is seen. + (unsigned_dec): Use "u_quad_t" for similar reasons. + * sunrpc/Versions: Export xdr_quad_t and xdr_u_quad_t. + +2004-09-27 Roland McGrath + + * sysdeps/generic/bits/waitstatus.h (__WIFSIGNALED): Simplify bit + twiddling in last change. + + * posix/tst-waitid.c (do_test): Add tests for waitpid with WCONTINUED. + + [BZ #409] + * posix/sys/wait.h [__WIFCONTINUED] (WIFCONTINUED): New macro. + * stdlib/stdlib.h [__WIFCONTINUED] (WIFCONTINUED): New macro. + * sysdeps/generic/bits/waitstatus.h (__W_CONTINUED): New macro. + [WCONTINUED] (__WIFCONTINUED): New macro. + (__WIFSIGNALED): Rewritten to exclude __W_CONTINUED value, and have no + branches. + + * sysdeps/unix/sysv/linux/waitid.c (do_waitid): Add fifth argument to + all three syscall uses, not just one! + +2004-09-26 Richard Henderson + + * sysdeps/alpha/alphaev6/memcpy.S: Mark .prologue. + * sysdeps/unix/alpha/sysdep.h (LEAF, ENTRY): Align entry points + to 16 byte boundaries. + +2004-09-26 Ulrich Drepper + + * elf/readlib.c (process_file): Before complaining about too-short + file, check that it potentially be an ELF file. Also complain about + empty files. [BZ #151]. + + * scripts/test-installation.pl: Fix ld.so recognition for new + LD_TRACE_LOADED_OBJECTS output format. + Patch by [BZ #407]. + + * elf/dl-support.c (_dl_non_dynamic_init): Fix cleaning of + environment. [BZ #384] + + * sunrpc/clnt_udp.c (is_network_up): Use getifaddrs instead of ioctl. + * sunrpc/get_myaddr.c (get_myaddress): Likewise. + * sunrpc/pmap_clnt.c (__get_myaddress): Likewise. + * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise. Change interface + to avoid buffer overrun and remove now useless parameters. + (clnt_broadcast): Adjust caller. [BZ #381]. + + * sysdeps/generic/s_fdim.c: Handle +inf/+inf + * sysdeps/generic/s_fdimf.c: Likewise. + * sysdeps/generic/s_fdiml.c: Likewise. + * sysdeps/i386/i686/fpu/s_fdim.S: Likewise. + * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise. + * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise. + * sysdeps/powerpc/fpu/s_fdim.c: Likewise. + * sysdeps/powerpc/fpu/s_fdimf.c: Likewise. + * sysdeps/x86_64/fpu/s_fdiml.S: Likewise. + * math/libm-test.inc (fdim_test): Add test case. [BZ #376]. + + * sysdeps/generic/bits/types.h: Fix __SQUAD_TYPE and __UQUAD_TYPE + for compilers without __GLIBC_HAVE_LONG_LONG. [BZ #362] + + * sysdeps/posix/getaddrinfo.c (getaddrinfo): Remove incorrect + requirement on socktype and protocol. + (gaih_inet): If numeric port number is given, return records for all + possible socket types. + * posix/tst-getaddrinfo2.c: New file. + * posix/Makefile (tests): Add tst-getaddrinfo2. [BZ #358] + +2004-09-25 Ulrich Drepper + + * locale/loadlocale.c (_nl_intern_locale_data): Recognize LC_CTYPE + data where _nl_value_type_LC_CTYPE does not contain the type + information. Add range checks. + Reported by John Lumby [BZ #356]. + + * libio/vasprintf.c (_IO_vasprintf): Fix condition to decide + whether to realloc or not. + Reported by Pavel Kankovsky [BZ #346]. + + * intl/dcigettext.c (DCIGETTEXT): Protect tfind/tsearch calls. + * intl/dcigettext.c (_nl_find_msg): Call _nl_load_domain also if + decided < 0. + * intl/finddomain.c (_nl_find_domain): Likewise. + * intl/loadmsgcat.c (_nl_load_domain): Set decided to 1 only once we + are done. First set to -1 to signal initialization is ongoing. + Protect against concurrent callers with recursive lock. + * intl/finddomain.c (_nl_find_domain): Protect calls to + _nl_make_l10nflist. [BZ #322] + + * sysdeps/posix/getaddrinfo.c (getaddrinfo): If determinination of + source address fails, initialized source_addr_len field so that + duplicate address recognition does not copy junk. + +2004-09-25 Jakub Jelinek + + * sysdeps/unix/sysv/linux/i386/setuid.c (__setuid): Remove second + result declaration. + +2004-09-22 Andreas Schwab + + * sysdeps/unix/sysv/linux/ia64/sysdep.h: Adjust whitespace. + +2004-09-24 Ulrich Drepper + + * misc/daemon.c (daemon): Don't succeed if /dev/null cannot be + opened. + + * nis/ypclnt.c (do_ypcall): Add one missing unlock. Simplify the + code a bit. + + * misc/daemon.c (daemon): Define errno in case /dev/null is not + the correct device. + + * nis/ypclnt.c (yp_bind_file): Optimize a bit. Minimal cleanups. + +2004-09-23 Andreas Jaeger + + * locale/weight.h (findidx): Remove static, it's not supported + anymore with GCC 4.0 in a block scope. + * locale/weightwc.h (findidx): Likewise. + * posix/regcomp.c (seek_collating_symbol_entry): Likewise. + (lookup_collation_sequence_value): Likewise. + (build_range_exp): Likewise. + (build_collating_symbol): Likewise. + * iconv/iconvconfig.c (write_output): Likewise. + * elf/do-rel.h (elf_dynamic_do_rel): Likewise. + + * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Remove + static, add always_inline attribute. + (elf_machine_rela): Likewise. + (elf_machine_lazy_rel): Likewise. + + * elf/dynamic-link.h (elf_get_dynamic_info): Make static dependend + on !RESOLVE so that it's not defined in local scope. + +2004-09-23 Kaz Kojima + + * sysdeps/unix/sysv/linux/sh/sysdep.h (INTERNAL_SYSCALL_NCS): Define. + +2004-09-23 Thorsten Kukuk + + * sysdeps/unix/sysv/linux/sys/mount.h: Sync MS_RMT_MASK flag + and BLK* ioctls with linux kernel headers. + +2004-09-23 Ulrich Drepper + + * sysdeps/generic/bits/dlfcn.h: Add RTLD_DEEPBIND. + * elf/dl-object.c (_dl_new_object): Add new parameter mode. If mode + has RTLD_DEEPBIND set add local searchlist before global scope. + * sysdeps/generic/ldsodefs.h (_dl_new_object): Adjust prototype. + * elf/rtld.c: Adjust callers of _dl_new_object. + * elf/dl-load.c: Likewise. + (_dl_map_object_from_fd): If RTLD_DEEPBIND is used, don't do anything + for DF_SYMBOLIC. + * elf/dl-open.c (dl_open_writer): Pass RTLD_DEEPBIND flag on to + _dl_map_object_deps. + * elf/tst-deep1.c: New file. + * elf/tst-deep1mod1.c: New file. + * elf/tst-deep1mod2.c: New file. + * elf/tst-deep1mod3.c: New file. + * elf/Makefile: Add rules to build and run new tests. + + * elf/dl-deps.c: Pretty printing. + +2004-09-23 Jakub Jelinek + + * sysdeps/unix/alpha/sysdep.h (inline_syscall[0-6]): Change name + argument to numbers from syscall names. + (INLINE_SYSCALL1): Pass __NR_##name to inline_syscall##nr. + (INTERNAL_SYSCALL_NCS): Renamed from... + (INTERNAL_SYSCALL_1): ... this. Use INTERNAL_SYSCALL_NCS. + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h + (INTERNAL_SYSCALL_NCS): Define. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h + (INTERNAL_SYSCALL_NCS): Likewise. + * sysdeps/unix/sysv/linux/sparc/sysdep.h (inline_syscall[0-6]): + Change name argument to numbers from syscall names. + (INLINE_SYSCALL, INTERNAL_SYSCALL): Adjust. + (INTERNAL_SYSCALL_NCS): Define. + +2004-09-22 Ulrich Drepper + + * malloc/malloc.c (malloc_printerr): Use syslog if writev failed. + + * string/string.h: Add __nonnull annotations. + * stdlib/stdlib.h: Likewise. + +2004-09-20 H.J. Lu + + * sysdeps/unix/sysv/linux/ia64/sysdep.h (DO_INLINE_SYSCALL): + Renamed to ... + (DO_INLINE_SYSCALL_NCS): This. + (DO_INLINE_SYSCALL): New. + (INLINE_SYSCALL): Updated. + (INTERNAL_SYSCALL_NCS): Updated. + +2004-09-21 Ulrich Drepper + + * elf/sprof.c (load_shobj): Add support for reading symbol table + from debuginfo file. + + * elf/ldd.bash.in: Fix syntax errors. + +2004-09-20 Ulrich Drepper + + * sysdeps/unix/sysv/linux/dl-execstack.c + (_dl_make_stack_executable): Remove some duplication. + + * nscd/nscd.c (options): Mark S option as hidden. + (parse_opt): When S option is used, print warning message. + * nscd/grpcache.c (adgrptbyX): Don't handle secure mode. + * nscd/hstcache.c (addhstbyX): Don't handle secure mode. + * nscd/aicache.c (addhstaiX): Don't handle secure mode. + * nscd/pwdcache.c (addpwbyX): Don't handle secure mode. + +2004-09-20 Roland McGrath + + * elf/dl-load.c (__stack_prot): Only use PROT_GROWSUP/PROT_GROWSDOWN + in initializer #if defined. + +2004-09-18 Paul Eggert + + [BZ #391] + * stdlib/getsubopt.c: Merge fixes from gnulib. + (__strchrnul) [!_LIBC]: Define and include "strchrnul.c". + (getsubopt): Use prototypes, not K&R style. + Fix bug: memcmp(A,B,N) was being invoked on a memory block B + whose size might be smaller than N. Use strncmp to avoid the bug. + +2004-09-20 Ulrich Drepper + + * configure.in: If selinux has not explictly been requested, don't + comment on it missing. + + * elf/dl-load.c: Define __stack_prot. + * sysdeps/unix/sysv/linux/dl-execstack.c: Don't define + __stack_prot here, just declare it. + +2004-09-20 Jakub Jelinek + + * configure.in (libc_cv_z_relro): Only set to yes if linker script + contains DATA_SEGMENT_RELRO_END. + +2004-09-20 Ulrich Drepper + + * elf/dl-load.c (_dl_map_object_from_fd): Add some error checking. + Reorder code slightly. + * elf/rtld.c (dl_main): No need to check whether l_info[DT_HASH] + is non-null, _dl_setup_hash will do that. + +2004-09-19 Ulrich Drepper + + * sysdeps/unix/sysv/linux/setegid.c [HAVE_PTR__NPTL_SETXID]: Call + callback to set IDs in all other threads as well. + * sysdeps/unix/sysv/linux/seteuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. + * sysdeps/unix/sysv/linux/setuid.c: New file. + * sysdeps/unix/sysv/linux/setgid.c: New file. + * sysdeps/unix/sysv/linux/setreuid.c: New file. + * sysdeps/unix/sysv/linux/setregid.c: New file. + * sysdeps/unix/sysv/linux/setresuid.c: New file. + * sysdeps/unix/sysv/linux/setresgid.c: New file. + * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INTERNAL_SYSCALL_NCS. + * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Use x86 version. + * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Remove setresgid + and setresuid. + * nscd/aicache.c: Use pthread_seteuid_np instead of seteuid. * nscd/grpcache.c: Likewise. * nscd/hstcache.c: Likewise. - * nscd/aicache.c: Likewise. - * nscd/initgrcache.c: Likewise. - * nscd/connectionc.c: Likewise. - -2005-11-18 Andreas Schwab - - * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove useless alias. - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Handle - NO_WEAK_ALIAS. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise. - -2005-11-18 Paul Brook - - * sysdeps/unix/sysv/linux/m68k/bits/mman.h (MREMAP_FIXED): New macro. - - * nscd/grpcache.c: Include . - * nscd/nscd_stat.c: Likewise. * nscd/pwdcache.c: Likewise. - * sysdeps/unix/sysv/linux/unlinkat.c: Include , . -2005-11-17 Ulrich Drepper + * resolv/res_mkquery.c (res_nmkquery): Fix typo. - * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Define SHM_NORESERVE. - * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise. +2004-09-18 Ulrich Drepper -2005-11-17 Steven Munroe + * sysdeps/unisx/sysv/linux/dl-execstack.c: Get protection flag + from memory. + * elf/dl-load.c (_dl_map_object_from_fd): Add PROT_EXEC flag to + __stack_flags. - [BZ #1877] - * string/test-strncmp.c (do_test_limit): Handle zero length and - non-zero align values. - (test_main): Correct do_test_limit tests for 64-bit. + * sysdeps/posix/getaddrinfo.c (gaih_inet): Do not use + gethostbyname3_r if we are not looking for the canonical name. -2005-11-15 Steven Munroe + * resolv/res_mkquery.c (res_nmkquery): Randomize request ID every + time. - * sysdeps/powerpc/sysdep.h (PPC_FEATURE_HAS_SPE, - PPC_FEATURE_HAS_EFP_SINGLE, PPC_FEATURE_HAS_EFP_DOUBLE, - PPC_FEATURE_NO_TB, PPC_FEATURE_POWER4, PPC_FEATURE_POWER5, - PPC_FEATURE_POWER5_PLUS, PPC_FEATURE_CELL, PPC_FEATURE_970): - Define to match 2.6.15 kernel. +2004-09-18 Roland McGrath - * sysdeps/powerpc/fpu/e_sqrt.c: Remove dl-procinfo.h include. - * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise. - * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise. + * sysdeps/unix/sysv/linux/waitid.c (do_waitid): Pass fifth argument to + system call. -2005-11-17 Roland McGrath +2004-09-17 Ulrich Drepper - * elf/elf.h (R_PPC64_ADDR30): Renamed to R_PPC64_REL30. + * include/link.h (struct link_map): Add l_used element. + * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_UNUSED. + * elf/rtld.c (process_dl_debug): Recognize unused. + (dl_main): When unused debug flag is set check for unused direct + dependencies. + When printing dependencies and SONAME starts with /, omit the SONAME => + part. + * elf/dl-lookup.c (_dl_lookup_symbol_x): Mark object in which the + symbol has been found as used. + * elf/ldd.bash.in: Add -u option. -2005-11-17 Jakub Jelinek +2004-09-18 Jakub Jelinek - * io/sys/stat.h (fstatat): If __REDIRECT_NTH isn't defined, - define fstatat to fstatat64. + * sysdeps/unix/sysv/linux/nscd_setup_thread.c (setup_thread): + Do nothing if __NR_set_tid_address is not defined. [BZ #390] -2005-11-17 Steven Munroe +2004-09-17 Ulrich Drepper - [BZ #1877] - * string/test-strncmp.c (do_test_limit): New function. - (do_test) Add cast to eliminate compiler warnings. - (do_random_tests) Add cast to eliminate compiler warnings. - (test_main) Add do_test_limit tests. - * sysdeps/powerpc/powerpc32/strncmp.S: Test length before unaligned - load. - * sysdeps/powerpc/powerpc64/strncmp.S: Likewise. + * sysdeps/posix/getaddrinfo.c: Use gethostbyname3_r NSS function + in case it is available. -2005-11-17 Ulrich Drepper +2004-09-17 Jakub Jelinek - * include/resolv.h: Include . - Patch by Paul Brook. + * nscd/nscd.c (parse_opt): Write arg string instead of (void *) + key to the socket. - * io/sys/stat.h: Use __const not const in fstatat prototypes. +2004-09-17 Ulrich Drepper -2005-11-08 H.J. Lu + * misc/sys/cdefs.h: Define __nonnull using nonnull function attribute + for gcc 3.3 and higher. + * io/fcntl.h: Add __nonnull where appropriate. + * io/ftw.h: Likewise. + * io/utime.h: Likewise. + * io/sys/poll.h: Likewise. + * io/sys/sendfile.h: Likewise. + * io/sys/stat.h: Likewise. + * io/sys/statfs.h: Likewise. + * io/sys/statvfs.h: Likewise. + * posix/unistd.h: Likewise. + * catgets/nl_types.h: Likewise. + * crypt/crypt.h: Likewise. + * debug/execinfo.h: Likewise. - * sysdeps/wordsize-32/Makefile (CPPFLAGS-divdi3.c): Set to - -Din_divdi3_c. - * sysdeps/wordsize-32/symbol-hacks.h: Skip if in_divdi3_c is defined. +2004-09-16 Ulrich Drepper -2005-11-16 Jakub Jelinek + * posix/glob.h: Remove cruft to make header usable outside glibc. + The maintenance headache is too big. - * sysdeps/unix/sysv/linux/fchownat.c: Include string.h. - * sysdeps/unix/sysv/linux/futimesat.c: Likewise. - * sysdeps/unix/sysv/linux/i386/fchownat.c: Likewise. - * sysdeps/unix/sysv/linux/i386/fxstatat.c: Likewise. - * sysdeps/unix/sysv/linux/renameat.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Likewise. - * sysdeps/unix/sysv/linux/unlinkat.c: Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Likewise. + * configure.in: Add test for required SELinux features. + * config.make.in: Add have-selinux entry. + * config.h.in: Add HAVE_SELINUX entry. + * nscd/Makefile (nscd-modules): Add selinux. + (CFLAGS-selinux.c): Add -fpie. + Define selinux-LIBS and use in link line. + * nscd/connections.c (handle_request): Check access SELinux permissions + before processing request. + * nscd/nscd.c (main): Initialize selinux_enabled and stop avc thread. + * nscd/nscd_stat.c: Transmit and print AVC statistics. + * nscd/selinux.c: New file. + * nscd/selinux.h: New file. + Patch mostly by Matthew Rickard . -2005-11-16 Ulrich Drepper +2004-09-16 Jakub Jelinek - * iconvdata/Makefile (modules): Add ISO_11548-1. - (distribute): Add iso_11548-1.c. - * iconvdata/gconv-modules: Add entries for ISO 11548-1. - * iconvdata/TESTS: Add entry for ISO 11548-1. + * nscd/nscd_helper.c (__nscd_unmap, get_mapping): Use __munmap + instead of munmap. - [BZ 1872] - * iconvdata/iso_11548-1.c: New file. - * iconvdata/testdata/ISO_11548-1: New file. - * iconvdata/testdata/ISO_11548-1..UTF8: New file. - Patch by Samuel Thibault . + * nscd/Makefile (CFLAGS-aicache.c): Set to -fpie. -2005-11-16 Kaz Kojima +2004-09-16 Thorsten Kukuk - * sysdeps/sh/bits/setjmp.h (_JMPBUF_UNWINDS): Remove incorrect &. + * sysdeps/posix/getaddrinfo.c (gaih_inet): Check + __nss_not_use_nscd_hosts variable if nscd should be used or not. -2005-11-15 Ulrich Drepper +2004-09-16 Ulrich Drepper - [BZ 1865] - * inet/netinet/icmp6.h: More updates for RFC3542. - * inet/netinet/ip6.h: Likewise. - * sysdeps/unix/sysv/linux/bits/in.h: Adjust for current kernel sources. - Patch by David L Stevens . + * nscd/nscd_proto.h: Define NSS_NSCD_RETRY. + Add __nscd_getai prototype. + * nss/getXXbyYY_r.c: Remode definition of NSS_NSCD_RETRY. + * nscd/nscd-client.h: Remove __nscd_getai prototype. + * nscd/nscd_getai.c: Include nscd_proto.h. - * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat): - Return -1 on failure. - * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise. - * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.. - * sysdeps/unix/sysv/linux/fxstatat64.c [__ASSUME_STAT64_SYSCALL] - (__fxstatat64): Handle errors. + * elf/ldd.bash.in: Add support for SELinux environments. + Patch by Stephen Smalley . - * io/sys/poll.h: Add comment explaining poll is a cancellation point. +2004-09-16 Roland McGrath - * sysdeps/unix/sysv/linux/syscalls.list (epoll_wait): Align with - poll, make cancelable. - * sysdeps/unix/sysv/linux/sys/epoll.h: Add comment explaining - epoll_wait is a cancellation point. - -2005-11-15 Jakub Jelinek - - * io/sys/stat.h (fstatat): Don't use __THROW together with - __REDIRECT_NTH. - -2005-11-14 Ulrich Drepper - - * elf/dl-open.c [!SHARED]: Remove _dl_tls_static_size definition. - * sysdeps/generic/libc-tls.c: Initialize _dl_tls_static_size here. - -2005-11-11 Ulrich Drepper - - * io/Makefile (routines): Add fstatat, fstatat64, fxstatat, fxstatat64, - fchownat, and unlinkat. - (static-only-routines): Add fstatat and fstatat64. - (tests): Add tst-unlinkat, tst-fstatat, tst-futimesat, tst-renameat, - and tst-fchownat. - * io/Versions [GLIBC_2.4]: Add fchownat, __fxstatat, __fxstatat64, - and unlinkat. - * io/fcntl.h: Define AT_FDCWD, AT_SYMLINK_NOFOLLOW, and AT_REMOVEDIR. - * io/fstatat.c: New file. - * io/fstatat64.c: New file. - * io/sys/stat.h: Declare fstatat, fstatat64, __fxstatat, __fxstatat64 - and define fstatat and fstatat64 inline functions. - * libio/stdio.h: Declare renameat. - * misc/Makefile (routines): Add futimesat. - * misc/Versions [GLIBC_2.4]: Add futimesat. - * posix/unistd.h: Declare fchownat and unlinkat. - * stdio-common/Makefile (routines): Add renameat. - * stdio-common/Versions [GLIBC_2.4]: Add renameat. - * sysdeps/generic/fchownat.c: New file. - * sysdeps/generic/futimesat.c: New file. - * sysdeps/generic/fxstatat.c: New file. - * sysdeps/generic/fxstatat64.c: New file. - * sysdeps/generic/renameat.c: New file. - * sysdeps/generic/unlinkat.c: New file. - * sysdeps/unix/sysv/linux/fchownat.c: New file. - * sysdeps/unix/sysv/linux/futimesat.c: New file. - * sysdeps/unix/sysv/linux/fxstatat.c: New file. - * sysdeps/unix/sysv/linux/fxstatat64.c: New file. - * sysdeps/unix/sysv/linux/renameat.c: New file. - * sysdeps/unix/sysv/linux/unlinkat.c: New file. - * sysdeps/unix/sysv/linux/alpha/fxstatat.c: New file. - * sysdeps/unix/sysv/linux/i386/fchownat.c: New file. - * sysdeps/unix/sysv/linux/i386/fxstatat.c: New file. - * sysdeps/unix/sysv/linux/m68k/fchownat.c: New file. - * sysdeps/unix/sysv/linux/m68k/fxstatat.c: New file. - * sysdeps/unix/sysv/linux/powerpc/fchownat.c: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fxstatat.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/fxstatat.c: New file. - * sysdeps/unix/sysv/linux/sh/fchownat.c: New file. - * sysdeps/unix/sysv/linux/sh/fxstatat.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/fxstatat.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/fxstatat.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/fxstatat64.c: New file. - * time/sys/time.h: Declare futimesat. - * include/fcntl.h: Declare __atfct_seterrno. - * sysdeps/unix/sysv/linux/openat.c (__atfct_seterrno): New function. - Split out from openat code and called. - (do_test): Allow openat to fail with ENOSYS. Handle AT_FDCWD. - * sysdeps/generic/openat.c: Handle AT_FDCWD. - * sysdeps/generic/openat64.c: Likewise. - * io/tst-unlinkat.c: New file. - * io/tst-fstatat.c: New file. - * io/tst-futimesat.c: New file. - * io/tst-renameat.c: New file. - * io/tst-fchownat.c: New file. - * io/tst-openat.c: Don't fail if openat is not implemented. - - * sysdeps/unix/sysv/linux/powerpc/chown.c: Don't provide backward - compatibility code if new kernel is guaranteed. - - * time/sys/time.h: Add a few nonnull attributes. - -2005-11-09 Ulrich Drepper - - * io/fcntl.h: Declare openat and openat64. - * io/Makefile (routines): Add openat and openat64. - (tests): Add tst-openat. - * io/Versions: Add openat and openat64 for GLIBC_2.4. - * sysdeps/generic/openat.c: New file. - * sysdeps/generic/openat64.c: New file. - * sysdeps/unix/sysv/linux/openat.c: New file. - * sysdeps/unix/sysv/linux/openat64.c: New file. - * io/tst-openat.c: New file. - - * sysdeps/generic/check_fds.c (check_one_fd): For writable - descriptors, use /dev/full. - (__libc_check_standard_fds): Reverse modes so that common operations on - the descriptors fail. - * sysdeps/unix/sysv/linux/device-nrs.h: Add info for /dev/full. - -2005-11-07 Kazuhiro Inaoka - - * elf/elf.h (R_M32R_REL32): New macro. - -2005-11-05 Marcus Brinkmann - - * sysdeps/mach/hurd/bits/stat.h (S_IMMAP0): New macro. - (S_ISPARE): Unset the S_IMMAP0 flag. - -2005-11-07 Roland McGrath - - * configure.in: Grok --with-cpu=CPU option. If given, search for - sysdeps/.../machine/CPU subdirs, and give error if none are found. - * configure: Regenerated. - * config.make.in (with-cpu): New substituted variable. - * Makeconfig (+cflags): Add -mcpu=$(with-cpu) if set. - - * malloc/malloc.c (munmap_chunk): Suppress warnings from last change. - - * sysdeps/unix/bsd/sun: Directory and all subdirectories removed, - saved in ports repository. - * sysdeps/unix/sysv/linux/tcflush.c: Rewritten. - * sysdeps/unix/sysv/linux/tcflow.c: Rewritten. - -2005-11-06 Ulrich Drepper - - * malloc/malloc.c (munmap_chunk): Add sanity checks. - - * sysdeps/pthread/configure: Fix comment. - -2005-11-05 Ulrich Drepper - - * configure.in: Remove gnu_as definition and everything using it. - * config.make.in: Remove gnu-as. - * config.h.in: Remove HAVE_GNU_AS. - - * configure.in: Remove gnu_ld definition and everything using it. - * config.h.in: Remove HAVE_GNU_LD. - * config.make.in: Remove gnu-ld. - * csu/Makefile: Remove use of gnu-ld. - * csu/munch.awk: Removed. - * csu/munch-tmpl.c: Removed. - * include/libc-symbols.h: Remove use of HAVE_GNU_LD. - * posix/execl.c: Likewise. - * posix/execv.c: Likewise. - * stdio-common/psignal.c: Likewise. - * stdlib/exit.c: Likewise. - * string/strsignal.c: Likewise. - * string/tester.c: Likewise. - * sysdeps/generic/errlist.c: Likewise. - * sysdeps/generic/getenv.c: Likewise. - * sysdeps/generic/getgroups.c: Likewise. - * sysdeps/generic/init-posix.c: Likewise. - * sysdeps/posix/gettimeofday.c: Likewise. - * sysdeps/posix/system.c: Likewise. - * sysdeps/unix/bsd/init-posix.c: Likewise. - * sysdeps/unix/bsd/ulimit.c: Likewise. - * sysdeps/unix/bsd/sun/m68k/brk.S: Likewise. - * sysdeps/unix/bsd/sun/m68k/sethostid.S: Likewise. - * sysdeps/unix/bsd/sun/sparc/sethostid.S: Likewise. - * sysdeps/unix/i386/brk.S: Likewise. - * sysdeps/unix/sparc/brk.S: Likewise. - - * configure.in: Remove test for support for subtracting local labels. - * config.h.in: Remove HAVE_SUBTRACT_LOCAL_LABELS. - * stdio-common/vfprintf.c: Remove test of - HAVE_SUBTRACT_LOCAL_LABELS. - - * configure.in: If init_array/fini_array support is not available, - bail out. - * config.h.in: Remove trace of optional init_array/fini_array support. - * config.make.in: Likewise. - * csu/elf-init.c: Likewise. - * dlfcn/dlfcn.c: Likewise. - * elf/soinit.c: Likewise. - * sysdeps/ia64/elf/initfinit.c: Likewise. - -2005-11-04 Roland McGrath - - * sysdeps/i386/configure.in (libc_mtune_example): Variable removed. - * sysdeps/i386/configure: Regenerated. - - [BZ #1089] - * configure.in: Change order of add-on sysdeps directories, - so they are interleaved with main sysdeps directories. + * configure.in (--with-headers): Let argument contain a : separated + list of directories to use, not just one. * configure: Regenerated. -2005-11-03 Roland McGrath - - * NEWS: Synch with 2.3 branch updates. - -2005-11-03 Ulrich Drepper - - * sunrpc/svc.c (svc_getreq_poll): Fix inefficient loop test. - -2005-11-03 Roland McGrath - - [BZ #1548] - * sunrpc/svc.c (svc_getreqset): Use ffsl instead of ffs on fd_mask, - make sure constant is long. - From Jay Lan . - -2005-11-03 Ulrich Drepper - - [BZ #1774] - * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use simple - gethostbyname2 lookup if AI_V4MAPPED|AI_ALL is set. - - * sysdeps/posix/getaddrinfo.c (gaih_inet): Avoid alloca when possible - while looking for scope delimiter. - Some pretty printing. - -2005-10-31 Steven Munroe - - * sysdeps/powerpc/powerpc64/Makefile - (sysdep_routines, elide-routines.os): Add hp-timing. - * sysdeps/powerpc/powerpc64/hp-timing.c: New file. - * sysdeps/powerpc/powerpc64/hp-timing.h: New file. - * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: New file. - -2005-10-31 Ulrich Drepper - - * resolv/res_init.c (__res_iclose): New function. Broken out of - res_nclose. Take addition parameter which determines whether - addresses should be freed. - (res_nclose): Call __res_iclose. - (res_thread_freeres): Likewise. - * resolv/res_data.c (res_close): Call __res_iclose. - * resolv/res_libc.c (res_init): No need to separately free the - addresses. - (__res_maybe_init): Likewise. - * resolv/res_send.c: Use __res_iclose instead of res_nclose. - * resolv/Versions [GLIBC_PRIVATE]: Add __res_iclose. - * include/resolv.h: Declare __res_iclose. - Add libc_hidden_proto for __res_iclose. - * hesiod/hesiod.c (__hesiod_res_set): No need to free name server - addresses here again. - - [BZ #1579] - * debug/execinfo.h: Change backtrace_symbols_fd comment. - -2005-10-24 H.J. Lu - - * sysdeps/ia64/fpu/libm-symbols.h (WEAK_LIBM_ENTRY): Add "__" - prefix to LOCAL_LIBM_ENTRY. - (WEAK_LIBM_END): Add "__" prefix to LOCAL_LIBM_END. - -2005-10-26 Jakub Jelinek - - * elf/dl-conflict.c (_dl_resolve_conflicts): Use _dl_debug_printf - instead of _dl_printf to print conflict processing debug message. - Reported by John Reiser . - -2005-10-30 Ulrich Drepper - - * misc/hsearch_r.c (hsearch_r): Remove duplicate test. - Patch by Chris Caputo . - -2005-10-28 Kaz Kojima - - * sysdeps/unix/sh/sysdep.S: Remove unnecessary weak_alias. - * sysdeps/unix/sysv/linux/sh/socket.S: Honor NO_WEAK_ALIAS. - -2005-10-28 Thorsten Kukuk - - * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey): Fix off - by one error. - -2005-10-24 Roland McGrath - - [BZ #1534] - * include/string.h: Use libc_hidden_proto for strnlen, - not libc_hidden_builtin_proto. - -2005-10-23 Ulrich Drepper - - * rt/mqueue.h: Cleanups. - -2005-10-22 Roland McGrath - - [BZ #1254] - * sysdeps/mach/hurd/getpeername.c (__getpeername): Fix last change. - From Samuel Thibault . - -2005-10-17 Thomas Schwinge - - [BZ #1252] - * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Don't use ?: as lvalue. - * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise. - -2005-10-20 Ulrich Drepper - - * iconvdata/ibm1364.h (__ucs4_to_ibm1364sb): Fix one mapping. - * iconvdata/ibm1388.h (__ucs4_to_ibm1388sb): Likewise. - * iconvdata/testdata/IBM1364: Add missing valid input. - * iconvdata/testdata/IBM1388: Likewise. - * iconvdata/testdata/IBM1364..UTF8: Adjust appropriately. - * iconvdata/testdata/IBM1388..UTF8: Likewise. - Patch by Masahide Washizawa . - -2005-08-23 GOTO Masanori - - [BZ #1498] - * sysdeps/alpha/remqu.S: Return the correct result when the same - dividend and divisor are provided, and they're negative numbers. - * sysdeps/alpha/divqu.S: Likewise. - -2005-10-18 Steven Munroe - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h (TESTS): - Define. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h (TESTS): - Likewise. - -2005-10-19 Ulrich Drepper - - * iconvdata/Makefile (modules): Add IBM1364, IBM1371, IBM1388, IBM1390, - and IBM1399. - (distribute): Add ibm1364.c, ibm1364.h, ibm1371.c, ibm1371.h, - ibm1388.c, ibm1388.h, ibm1390.c, ibm1390.h, ibm1399.c, and ibm1399.h. - * iconvdata/TESTS: Add entries for IBM1364, IBM1371, IBM1388, IBM1390, - and IBM1399. - * iconvdata/gconv-modules: Likewise. - * iconvdata/ibm1364.c: New file. - * iconvdata/ibm1364.h: New file. - * iconvdata/ibm1371.c: New file. - * iconvdata/ibm1371.h: New file. - * iconvdata/ibm1388.c: New file. - * iconvdata/ibm1388.h: New file. - * iconvdata/ibm1390.c: New file. - * iconvdata/ibm1390.h: New file. - * iconvdata/ibm1399.c: New file. - * iconvdata/ibm1399.h: New file. - * iconvdata/testdata/IBM1364: New file. - * iconvdata/testdata/IBM1364..UTF8: New file. - * iconvdata/testdata/IBM1371: New file. - * iconvdata/testdata/IBM1371..UTF8: New file. - * iconvdata/testdata/IBM1388: New file. - * iconvdata/testdata/IBM1388..UTF8: New file - * iconvdata/testdata/IBM1390: New file. - * iconvdata/testdata/IBM1390..UTF8: New file. - * iconvdata/testdata/IBM1399: New file. - * iconvdata/testdata/IBM1399..UTF8: New file. - Original patch by Masahide Washizawa . - -2005-10-17 Roland McGrath - - * elf/dl-load.c (MAP_COPY): When undefined, define to - MAP_PRIVATE|MAP_DENYWRITE instead of just MAP_PRIVATE. - (_dl_map_object_from_fd): Don't use MAP_DENYWRITE explicitly. - -2005-10-17 Martin Schwidefsky - - * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h (SC_STSZ, TESTS): - Define. - * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h (SC_STSZ, TESTS): - Likewise. - -2005-10-17 Ulrich Drepper - - * libio/oldfileops.c (_IO_old_file_xsputn): Fix last patch. - Return EOF not 0. - - * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Also - allow EACCES errors when opening /proc for now. - - * wctype/wcfuncs.c: Don't use expensive wide char lookups in isw* - functions if character is in ASCII range. - * wctype/wcfuncs_l.c: Likewise. - -2005-05-03 Robert Millan - - * abi-tags (.*-.*-knetbsd.*-gnu.*): New match, with ABI value 4. - * elf/cache.c (print_entry): Match the kNetBSD ABI tag. - -2005-10-16 Alfred M. Szmidt - - * sysdeps/generic/bits/mman.h - [__USE_GNU] (MREMAP_MAYMOVE, REMAP_FIXED): New macros. - -2005-10-16 Kaz Kojima - - * sysdeps/unix/sysv/linux/sh/makecontext.S: New file. - * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: New file. - * sysdeps/unix/sysv/linux/sh/sh4/getcontext.S: New file. - * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: New file. - * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S: New file. - * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: New file. - * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S: New file. - * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.h: New file. - * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.h: New file. - * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Removed. - * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: New file. - * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: New file. - -2005-09-13 Jakub Jelinek - - [BZ #1228] - * include/limits.h (LLONG_MIN, LLONG_MAX, ULLONG_MAX): Make sure these - are defined for -D_GNU_SOURCE or -D_ISOC99_SOURCE even when not - -std=c99. - -2005-10-16 Kaz Kojima - - * sysdeps/unix/sysv/linux/sh/bits/mman.h: Define MREMAP_FIXED. - -2005-08-05 Alfred M. Szmidt - - [BZ #1252] - * sysdeps/mach/hurd/setitimer.c (restart_itimer): Move static fn - forward decl out of function body. - * sysdeps/mach/hurd/profil.c: Likewise. - -2005-10-16 Roland McGrath - - [BZ #1254] - * sysdeps/mach/hurd/getpeername.c (__getpeername): Respect *LEN - byte limit when setting ADDR->sa_family. - Reported by Samuel Thibault . - - [BZ #1253] - * sysdeps/mach/hurd/dl-sysdep.h - [SHARED] (DL_ARGV_NOT_RELRO): New macro. - - [BZ #1253] - * sysdeps/mach/hurd/i386/init-first.c (init): Make cast kosher. - (_hurd_stack_setup): Don't declare with arguments and ellipsis. - Use __builtin_frame_address and __builtin_return_address. - (_dl_init_first): Likewise. - - [BZ #1249] - * sysdeps/mach/hurd/i386/init-first.c (_cthread_init_routine): Declare - as weak extern. - (init): Check for it being undefined. - -2005-10-16 Daniel Jacobowitz - Roland McGrath - - * Makerules [module-names] (extra-modules-build): New variable. - ($(extra-modules-build:%=$(objpfx)%.so)): New static pattern rule. - Depend on libc.so and libc_nonshared.a. - * dlfcn/Makefile ($(test-modules)): Remove static pattern rule. - * elf/Makefile (modules-names-nobuild): New variable, add filtmod1. - ($(test-modules)): Remove static pattern rule. - -2005-10-15 Thomas Schwinge - - * include/dirent.h: Include . - * sysdeps/mach/hurd/fdopendir.c: Include . - (fdopendir): Correct argument to _hurd_fd_get(). - * sysdeps/mach/hurd/opendir.c (__opendir): Remove stray `}'. - -2005-08-20 Paul Eggert - - [BZ #1224] - * posix/regcomp.c (init_word_char, duplicate_node_closure, - fetch_token, peek_token_bracket, build_range_exp, - build_collating_symbol): Remove forward decls; no longer needed - now that we use prototypes. - -2005-10-15 Ulrich Drepper - - [BZ #1221] - * posix/regex_internal.h: Remove last traces of - RE_NO_INTERNAL_PROTOTYPES. - - [BZ #968] - * string/strxfrm_l.c (STRXFRM): Fix exit conditions of two loops. - - * sysdeps/unix/fdopendir.c (fdopendir): Make sure descriptor - allows reading. - - * wcsmbs/tst-mbrtowc2.c: Use de_DE.UTF-8 instead of en_US.UTF-8. - * wcsmbs/Makefile: Define tst-mbrtowc2-ENV. - - * posix/regexec.c: Finish prototyping of static functions. - * posix/regex_internal.c: Likewise. - -2005-10-14 Roland McGrath - - * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): New function, broken - out of ... - (__opendir): ... here. Call it. - * sysdeps/mach/hurd/fdopendir.c: New file. - -2005-10-14 Ulrich Drepper - - [BZ #865] - * math/tgmath.h: Correctly determine result type for - __TGMATH_BINARY_REAL_ONLY, - __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY, - __TGMATH_TERNARY_REAL_ONLY, and __TGMATH_BINARY_REAL_IMAG. - -2005-09-17 Andreas Jaeger - - [BZ #865] - * math/test-tgmath-int.c: New file. - * math/Makefile (tests): Add test-tgmath-int. - -2005-10-14 Ulrich Drepper - - [BZ #804] - * malloc/tst-mtrace.sh: Work around for bootstraping. - - * locale/programs/ld-collate.c (collate_output): Fix counting of - elements. Don't limit table size. Use correct secondary hash - function. - * locale/localeinfo.h (LIMAGIC): Change value returned for LC_COLLATE. - * posix/fnmatch_loop.c: Adjust for changed secondary hash function. - * posix/regcomp.c: Likewise. - - * time/asctime.c (asctime_internal): Use __snprintf instead of - snprintf to avoid PLT entry. - - * sysdeps/unix/opendir.c (__opendir): Pass extra argument to - __alloc_dir. - (__alloc_dir): Only close descriptor on error if new parameter is true. - * sysdeps/unix/fdopendir.c (fdopendir): Pass extra argument to - __alloc_dir. Don't close fd on error. - * include/dirent.h (__alloc_dir): Adjust prototype. - - * stdlib/Makefile (tests): Add tst-ucontext-off. - * stdlib/tst-ucontext-off.c: New file. - * sysdeps/unix/sysv/linux/x86_64/ucontext_i.h (TESTS): Define. - * sysdeps/unix/sysv/linux/i386/ucontext_i.h (TESTS): Likewise. - - [BZ #1468] - * sysdeps/unix/sysv/linux/x86_64/ucontext_i.h: Fix values for - oFPREGS, oSIGMASK, oFPREGSMEM, and oMXCSR. - Patch by Nicholas Miell . - - [BZ #1460] - * time/asctime.c (asctime_internal): New function, derived from - asctime_r. Takes additional parameter which is the buffer length. - Use snprintf instead sprintf, if it overflows, fail. - (asctime_r): Call asctime_internal with 26 as buffer length. - (asctime): Call asctime_internal with length of internal buffer. - * time/Makefile (tests): Add bug-asctime_r. - * time/bug-asctime_r.c: New file. - - [BZ #1459] - * time/asctime.c (__asctime_r): Check for tm_year computation to - overflow and fail in this case. - * time/Makefile (tests): Add bug-asctime. - * time/bug-asctime.c: New file. - - [BZ #1458] - * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MREMAP_FIXED. - * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise. - * misc/sys/mman.h: Add ellipsis after last parameter of mremap and - adjust leading comment. - * sysdeps/unix/sysv/linux/syscalls.list: Add pointer parameter to - mremap syscall. - * include/sys/mman.h (__mremap): Add ellipsis. - * malloc/memusage.c: Adjust mremap wrapper for optional additional - parameter. - -2005-10-13 Ulrich Drepper - - [BZ #1405] - * libio/iogetdelim.c (_IO_getdelim): Fix truncation of return - value. Avoid overflow in computation. - - [BZ #1373] - * argp/argp.h: Remove __NTH for __argp_usage inline function. - -2005-08-26 Paul Eggert - - [BZ #1248] - * posix/regex_internal.h (bitset_not, bitset_merge, bitset_not_merge, - bitset_mask, re_string_allocate, re_string_construct, - re_string_reconstruct, re_string_destruct, re_string_elem_size_at, - re_string_char_size_at, re_string_wchar_at, re_string_peek_byte_case, - re_string_fetch_byte_case, re_node_set_alloc, re_node_set_init_1, - re_node_set_init_2, re_node_set_init_copy, re_node_set_add_intersect, - re_node_set_init_union, re_node_set_merge, re_node_set_insert, - re_node_set_insert_last, re_node_set_compare, re_node_set_contains, - re_node_set_remove_at, re_dfa_add_node, re_acquire_state, - re_acquire_state_context): Remove unnecessary forward decls. - (re_string_char_size_at, re_string_wchar_at, re_string_elem_size_at): - Put __attribute at function definition, now that the function decl - has been removed. - * posix/regex_internal.c (re_string_peek_byte_case, - re_string_fetch_byte_case, re_node_set_compare, re_node_set_contains): - Likewise. - -2005-08-23 Paul Eggert - - [BZ #1231] - * posix/regex_internal.c (re_string_skip_chars, register_state, - calc_state_hash): Remove forward decls. - * posix/regexec.c (acquire_init_state_context, check_halt_node_context, - proceed_next_node, pop_fail_stack, sub_epsilon_src_nodes, - clean_state_log_if_needed): Likewise. - -2005-10-13 Ulrich Drepper - - * posix/regex.c: No need to use K&R definitions for static functions. - * posix/regex_internal.c: Likewise. - * posix/regcomp.c: Likewise. - - [BZ #1466] - * sysdeps/generic/s_csqrt.c (__csqrt): For zero real part, return - principal square root. - * sysdeps/generic/s_csqrtf.c (__csqrtf): Likewise. - * sysdeps/generic/s_csqrtl.c (__csqrtl): Likewise. - * math/libm-test.inc (csqrt_test): Add test for returning - principal value. - - * include/features.h: Define _POSIX_C_SOURCE to 200112 for - _XOPEN_SOURCE == 600. - -2005-10-12 Ulrich Drepper - - * malloc/malloc.c (_int_free): Fail if block size is obviously wrong. - - * include/malloc.h: Remove _int_new_arena prototype. - * malloc/arena.c (_int_new_arena): Move definition ahead of - arena_get2 and make static. - - Correctly implement M_MXFAST. - * malloc/malloc.c (struct malloc_state): Replace max_fast with flags - fields. - (global_max_fast): New variable. - (set_max_fast): Change to not require arena parameter and to modify - global_max_fast. Change all callers. - (get_max_fast): New macro. Use this instead of directly accessing - now removed max_fast arena member. - (have_fastchunks): Use flags instead of max_fast. - (clear_fastchunks): Likewise. - (set_fastchunks): Likewise. - (contiguous): Likewise. - (noncontiguous): Likewise. - (set_noncontiguous): Likewise. - (set_contiguous): Likewise. - (malloc_init_state): Explicitly set FASTCHUNKS_BIT. Call set_max_fast - only for main arena. - * malloc/hooks.c (public_sET_STATe): Adjust set_max_fast use. - -2005-10-10 Daniel Jacobowitz - - * sysdeps/generic/bits/byteswap.h (__bswap_constant_16): New macro. - (__bswap_16): Use it. - (__bswap_constant_32): New macro. - (__bswap_32): Use it. - -2005-10-10 Ulrich Drepper - - * malloc/arena.c (ptmalloc_unlock_all2): Reset atfork_recursive_cntr. - -2005-10-08 Jakub Jelinek - - * nss/getent.c (hosts_keys): Pass INADDRSZ as size rather - than IN6ADDRSZ to AF_INET gethostbyaddr. - -2005-10-07 Roland McGrath - - [BZ #1438] - * include/features.h: Make tests on _FORTIFY_SOURCE and __OPTIMIZE__ - friendly to -Wundef. - (__USE_FORTIFY_LEVEL): Always define it, to 0 if nothing else. - -2005-10-06 Ulrich Drepper - - * sysdeps/unix/sysv/linux/readonly-area.c: Allow fopen to fail because - the file does not exist. - -2005-10-05 Simon Josefsson - - [BZ #1423] - * crypt/md5.h (MD5_DIGEST_SIZE, MD5_BLOCK_SIZE): New macros. - -2005-10-05 Roland McGrath - - * crypt/Makefile (distribute): Remove duplicate defn. - - * sysdeps/generic/ldsodefs.h (struct audit_ifaces): - Use ARCH_PLTENTER_MEMBERS and ARCH_PLTEXIT_MEMBERS macros if defined. - * elf/tst-auditmod1.c: Include to define more - architecture-specific code. - * sysdeps/generic/tst-audit.h: New file. - * elf/Makefile (distribute): Add it. - -2005-10-05 Daniel Jacobowitz - - * elf/elf.h (R_ARM_TLS_DTPMOD32, R_ARM_TLS_DTPOFF32, - R_ARM_TLS_TPOFF32, R_ARM_TLS_GD32, R_ARM_TLS_LDM32, - R_ARM_TLS_LDO32, R_ARM_TLS_IE32, R_ARM_TLS_LE32): New macros. - -2005-10-03 Roland McGrath - - * sysdeps/powerpc/nofpu: Directory removed, saved in ports repository. - -2005-09-30 Ulrich Drepper - - * posix/regex.h: Pretty printing. - Clean up namespace a bit. - -2005-09-30 Jakub Jelinek - - * posix/regexec.c (update_cur_sifted_state, check_arrival, - check_arrival_add_next_nodes): Avoid using uninitialized variable. - - * malloc/memusage.c (dest): Fix a bunch of warnings on 32-bit arches. - - * sysdeps/i386/fpu/libm-test-ulps: Update for GCC 4.0.x. - -2005-09-29 Ulrich Drepper - - * iconvdata/Makefile (modules): Add IBM803, IBM901, IBM902, IBM921, - IBM1008, IBM1008_420, IBM1097, IBM1112, IBM1123, IBM1130, IBM1140, - IBM1141, IBM1142, IBM1143, IBM1144, IBM1145, IBM1146, IBM1147, IBM1148, - IBM1149, IBM1166, IBM1167, IBM4517, IBM4899, IBM4909, IBM4971, - IBM5347, IBM9030, IBM9066, IBM9448, IBM12712, IBM16804. - (distribute): Add ibm803.c, ibm803.h, ibm901.c, ibm901.h, ibm902.c, - ibm902.h, ibm921.c, ibm921.h, ibm1008.c, ibm1008.h, ibm1008_420.c, - ibm1097.c, ibm1097.h, ibm1112.c, ibm1112.h, ibm1123.c, ibm1123.h, - ibm1130.c, ibm1130.h, ibm1140.c, ibm1140.h, ibm1141.c, ibm1141.h, - ibm1142.c, ibm1142.h, ibm1143.c, ibm1143.h, ibm1144.c, ibm1144.h, - ibm1145.c, ibm1145.h, ibm1146.c, ibm1146.h, ibm1147.c, ibm1147.h, - ibm1148.c, ibm1148.h, ibm1149.c, ibm1149.h, ibm1166.c, ibm1166.h, - ibm1167.c, ibm1167.h, ibm4517.c, ibm4517.h, ibm4899.c, ibm4899.h, - ibm4909.c, ibm4909.h, ibm4971.c, ibm4971.h, ibm5347.c, ibm5347.h, - ibm9030.c, ibm9030.h, ibm9066.c, ibm9066.h, ibm9448.c, ibm9448.h, - ibm12712.c, ibm12712.h, ibm16804.c, ibm16804.h. - * iconvdata/TESTS: Add entries for new modules. - * iconvdata/gconv-modules: Likewise. - * iconvdata/ibm803.c: New file. - * iconvdata/ibm803.h: New file. - * iconvdata/ibm901.c: New file. - * iconvdata/ibm901.h: New file. - * iconvdata/ibm902.c: New file. - * iconvdata/ibm902.h: New file. - * iconvdata/ibm921.c: New file. - * iconvdata/ibm921.h: New file. - * iconvdata/ibm1008.c: New file. - * iconvdata/ibm1008.h: New file. - * iconvdata/ibm1008_420.c: New file. - * iconvdata/ibm1097.c: New file. - * iconvdata/ibm1097.h: New file. - * iconvdata/ibm1112.c: New file. - * iconvdata/ibm1112.h: New file. - * iconvdata/ibm1123.c: New file. - * iconvdata/ibm1123.h: New file. - * iconvdata/ibm1130.c: New file. - * iconvdata/ibm1130.h: New file. - * iconvdata/ibm1140.c: New file. - * iconvdata/ibm1140.h: New file. - * iconvdata/ibm1141.c: New file. - * iconvdata/ibm1141.h: New file. - * iconvdata/ibm1142.c: New file. - * iconvdata/ibm1142.h: New file. - * iconvdata/ibm1143.c: New file. - * iconvdata/ibm1143.h: New file. - * iconvdata/ibm1144.c: New file. - * iconvdata/ibm1144.h: New file. - * iconvdata/ibm1145.c: New file. - * iconvdata/ibm1145.h: New file. - * iconvdata/ibm1146.c: New file. - * iconvdata/ibm1146.h: New file. - * iconvdata/ibm1147.c: New file. - * iconvdata/ibm1147.h: New file. - * iconvdata/ibm1148.c: New file. - * iconvdata/ibm1148.h: New file. - * iconvdata/ibm1149.c: New file. - * iconvdata/ibm1149.h: New file. - * iconvdata/ibm1166.c: New file. - * iconvdata/ibm1166.h: New file. - * iconvdata/ibm1167.c: New file. - * iconvdata/ibm1167.h: New file. - * iconvdata/ibm4517.c: New file. - * iconvdata/ibm4517.h: New file. - * iconvdata/ibm4899.c: New file. - * iconvdata/ibm4899.h: New file. - * iconvdata/ibm4909.c: New file. - * iconvdata/ibm4909.h: New file. - * iconvdata/ibm4971.c: New file. - * iconvdata/ibm4971.h: New file. - * iconvdata/ibm5347.c: New file. - * iconvdata/ibm5347.h: New file. - * iconvdata/ibm9030.c: New file. - * iconvdata/ibm9030.h: New file. - * iconvdata/ibm9066.c: New file. - * iconvdata/ibm9066.h: New file. - * iconvdata/ibm9448.c: New file. - * iconvdata/ibm9448.h: New file. - * iconvdata/ibm12712.c: New file. - * iconvdata/ibm12712.h: New file. - * iconvdata/ibm16804.c: New file. - * iconvdata/ibm16804.h: New file. - * iconvdata/testdata/IBM803: New file. - * iconvdata/testdata/IBM803..UTF8: New file. - * iconvdata/testdata/IBM901: New file. - * iconvdata/testdata/IBM901..UTF8: New file. - * iconvdata/testdata/IBM902: New file. - * iconvdata/testdata/IBM902..UTF8: New file. - * iconvdata/testdata/IBM921: New file. - * iconvdata/testdata/IBM921..UTF8: New file. - * iconvdata/testdata/IBM1008: New file. - * iconvdata/testdata/IBM1008..UTF8: New file. - * iconvdata/testdata/IBM1097: New file. - * iconvdata/testdata/IBM1097..UTF8: New file. - * iconvdata/testdata/IBM1112: New file. - * iconvdata/testdata/IBM1112..UTF8: New file. - * iconvdata/testdata/IBM1123: New file. - * iconvdata/testdata/IBM1123..UTF8: New file. - * iconvdata/testdata/IBM1130: New file. - * iconvdata/testdata/IBM1130..UTF8: New file. - * iconvdata/testdata/IBM1140: New file. - * iconvdata/testdata/IBM1140..UTF8: New file. - * iconvdata/testdata/IBM1141: New file. - * iconvdata/testdata/IBM1141..UTF8: New file. - * iconvdata/testdata/IBM1142: New file. - * iconvdata/testdata/IBM1142..UTF8: New file. - * iconvdata/testdata/IBM1143: New file. - * iconvdata/testdata/IBM1143..UTF8: New file. - * iconvdata/testdata/IBM1144: New file. - * iconvdata/testdata/IBM1144..UTF8: New file. - * iconvdata/testdata/IBM1145: New file. - * iconvdata/testdata/IBM1145..UTF8: New file. - * iconvdata/testdata/IBM1146: New file. - * iconvdata/testdata/IBM1146..UTF8: New file. - * iconvdata/testdata/IBM1147: New file. - * iconvdata/testdata/IBM1147..UTF8: New file. - * iconvdata/testdata/IBM1148: New file. - * iconvdata/testdata/IBM1148..UTF8: New file. - * iconvdata/testdata/IBM1149: New file. - * iconvdata/testdata/IBM1149..UTF8: New file. - * iconvdata/testdata/IBM1166: New file. - * iconvdata/testdata/IBM1166..UTF8: New file. - * iconvdata/testdata/IBM1167: New file. - * iconvdata/testdata/IBM1167..UTF8: New file. - * iconvdata/testdata/IBM4517: New file. - * iconvdata/testdata/IBM4517..UTF8: New file. - * iconvdata/testdata/IBM4899: New file. - * iconvdata/testdata/IBM4899..UTF8: New file. - * iconvdata/testdata/IBM4909: New file. - * iconvdata/testdata/IBM4909..UTF8: New file. - * iconvdata/testdata/IBM4971: New file. - * iconvdata/testdata/IBM4971..UTF8: New file. - * iconvdata/testdata/IBM5347: New file. - * iconvdata/testdata/IBM5347..UTF8: New file. - * iconvdata/testdata/IBM9030: New file. - * iconvdata/testdata/IBM9030..UTF8: New file. - * iconvdata/testdata/IBM9066: New file. - * iconvdata/testdata/IBM9066..UTF8: New file. - * iconvdata/testdata/IBM9448: New file. - * iconvdata/testdata/IBM9448..UTF8: New file. - * iconvdata/testdata/IBM12712: New file. - * iconvdata/testdata/IBM12712..UTF8: New file. - * iconvdata/testdata/IBM16804: New file. - * iconvdata/testdata/IBM16804..UTF8: New file. - Patch by Masahide WASHIZAWA . - - * iconvdata/run-iconv-test.sh: Run ASCII->encoding->ASCII suntzus - test only if $subset is N. - -2005-09-29 Roland McGrath - - [BZ #1392] - * posix/sys/wait.h [!__GNUC__ || __cplusplus] (__WAIT_INT): Use const. - -2005-09-29 Alfred M. Szmidt - - * elf/rtld.c [DL_ARGV_NOT_RELRO] (_dl_argc, _dl_skip_args): - Don't use attribute_relro. - -2005-09-29 Roland McGrath - - [BZ #1392] - * posix/sys/wait.h (__WAIT_INT): Rewrite using an initializer, - in case __typeof yields a const-qualified type. - -2005-09-28 Ulrich Drepper - - * dirent/dirent.h: Declare fdopendir. - * dirent/Versions: Export fdopendir for GLIBC_2.4. - * dirent/Makefile (routines): Add fdopendir. - (tests): Add tst-fdopendir. - * dirent/tst-fdopendir.c: New file. - * include/dirent.h: Declare __alloc_dir. - * sysdeps/generic/fdopendir.c: New file. - * sysdeps/unix/fdopendir.c: New file. - * sysdeps/unix/opendir.c: Split off back part of opendir into new - function __alloc_dir. - -2005-09-26 Steven Munroe - - [BZ #1384] - * sysdeps/powerpc/fpu/libm-test-ulps: Adjust expected y1, y1f, yn, - ynf results. - -2005-09-06 Paul Eggert - Ulrich Drepper - - [BZ #1302] - Change bitset word type from unsigned int to unsigned long int, - as this has better performance on typical 64-bit hosts. Change - bitset type name to bitset_t. - * posix/regcomp.c (build_equiv_class, build_charclass): - (build_range_exp, build_collating_symbol): - Prefer bitset_t to re_bitset_ptr_t in prototypes, when the actual - argument is a bitset. This is merely a style issue, but it makes - it clearer that an entire array is expected. - (re_compile_fastmap_iter, init_dfa, init_word_char, optimize_subexps, - lower_subexp): Adjust for new bitset_t definition. - (lower_subexp, parse_bracket_exp, built_charclass_op): Likewise. - * posix/regex_internal.h (bitset_set, bitset_clear, bitset_contain, - bitset_not, bitset_merge, bitset_set_all, bitset_mask): Likewise. - * posix/regexec.c (check_dst_limits_calc_pos_1, - check_subexp_matching_top, build_trtable, group_nodes_into_DFAstates): - Likewise. - * posix/regcomp.c (utf8_sb_map): Don't assume initializer - == 0xffffffff. - * posix/regex_internal.h (BITSET_WORD_BITS): Renamed from UINT_BITS. - All uses changed. - (BITSET_WORDS): Renamed from BITSET_UINTS. All uses changed. - (bitset_word_t): New type, replacing 'unsigned int' for bitset uses. - All uses changed. - (BITSET_WORD_MAX): New macro. - (bitset_set, bitset_clear, bitset_contain, bitset_empty, - (bitset_set_all, bitset_copy): Adjust for bitset_t change. - (bitset_empty, bitset_copy): - Prefer sizeof (bitset_t) to multiplying it out ourselves. - (bitset_not_merge): Remove; unused. - (bitset_contain): Return bool, not unsigned int with one bit on. - All callers changed. - * posix/regexec.c (build_trtable): Don't assume bitset_t has no - stricter alignment than re_node_set; do this by defining a new - internal type struct dests_alloc and using it to allocate memory. - -2005-09-27 Ulrich Drepper - - [BZ #1230] - * stdlib/strtod_l.c (STRNCASECMP): Always use C locale object. - (TOLOWER_C): Define. Use it when recognizing inf and nan. - * stdlib/Makefile (tests): Add bug-strtod2. - * stdlib/bug-strtod2.c: New file. - -2005-09-21 Ralf Wildenhues - - [BZ #1361] - * argp/argp-fmtstream.h [HAVE_CONFIG_H]: Do not #include . - * argp/argp-eexst.c, argp/argp-fmtstream.c, argp/argp-fs-xinl.c, - argp/argp-xinl.c: Fix up whitespace. - -2005-09-27 Ulrich Drepper - - [BZ #1158] - * stdlib/cxa_atexit.c (__new_exitfn): Rewrite to preserve order in - which the functions were registered. - * dlfcn/Makefile: Add rules to build and run bug-atexit1 and - bug-atexit2. - * dlfcn/bug-atexit1.c: New file. - * dlfcn/bug-atexit1-lib.c: New file. - * dlfcn/bug-atexit2.c: New file. - * dlfcn/bug-atexit2-lib.c: New file. - - [BZ #1078] - * libio/fileops.c (_IO_new_file_xsputn): Determine amount of - available space in non-line-buffered buffer correctly. - * libio/oldfileops.c (_IO_old_file_xsputn): Likewise. - * stdio-common/Makefile (tests): Add tst-fwrite. - * stdio-common/tst-fwrite.c: New file. - -2005-09-26 Ulrich Drepper - - [BZ #838] - * malloc/arena.c (ptmalloc_lock_all): If global lock already taken - by the same thread, just bump the counter. - (ptmalloc_unlock_all): If counter for recursive locks hasn't reached - zero, don't do anything else. - * malloc/Makefile (tests): Add tst-mallocfork. - * malloc/tst-mallocfork.c: New file. - - [BZ #808] - * malloc/malloc.c (_int_realloc): Make error message clearer. - - [BZ #713] - * libio/iofgets.c: Treat N==1 correctly. - * libio/iofgets_u.c: Likewise. - * libio/iofgetws.c: Likewise. - * libio/iofgetws_u.c: Likewise. - * stdio-common/Makefile (tests): Add tst-fgets. - * stdio-common/tst-fgets.c: New file. - -2005-01-11 Thorsten Kukuk - - [BZ #652] - * posix/getconf.c: Add new option -a to print the names of - the current system configuration variables to stdout. - Based on patch from Josh Aas . - -2005-09-26 Ulrich Drepper - - [BZ #644] - * sysdeps/posix/getaddrinfo.c (fls): New function. - (gaih_inet): Don't use ffs, use fls. Convert address to native byte - order first. - * posix/Makefile (tests): Add tst-rfc3484. - * posix/tst-rfc3484.c: New file. - - [BZ #627] - * libio/iofclose.c (_IO_new_fclose): Unlock the internal lock - before destroying it as part of the _IO_FINISH call. - * libio/oldiofclose.c (_IO_old_fclose): Likewise. - - [BZ #524] - * sysdeps/posix/getaddrinfo.c (match_prefix): Fix matching loop if - number of bits is multiple of 8. - Patch by Fredrik Tolf . - - [BZ #516] - * elf/dl-load.c: Report failed loading due to ELF class mismatch - with better words. - - [BZ #162] - * manual/llio.texi (Waiting for I/O): Correct description of read - conditions reported by select. - -2005-09-24 Jakub Jelinek - - * inet/getnetgrent_r.c (innetgr): Call endfct even if result != 0. - Return 1 only if result == 1. Patch by Benoit Capelle. - -2005-09-25 Ulrich Drepper - - [BZ #278] - * manual/stdio.texi (Hook Functions): Correct type of position - parameter of seeker and fix fallout of the change in the text. - - [BZ #714] - * iconv/loop.c [!STORE_REST] (SINGLE): Correctly record number of - left-over bytes and store them correctly. - * wcsmbs/tst-mbrtowc2.c: New file. - * wcsmbs/Makefile (tests): Add tst-mbrtowc2. - -2005-09-24 Roland McGrath - - * sysdeps/unix/sysv/i386/signal.S: Removed, saved in ports repository. - * sysdeps/unix/sysv/i386/sigreturn.S: Likewise. - -2005-09-24 Ulrich Drepper - - [BZ #545] - * locale/iso-639.def: More updates from the current spec. - - * locale/programs/ld-address.c (address_finish): Produce better - error messages for invalid lang_ab use. - - * locale/iso-639.def: Add a few updates from current spec. - -2005-09-23 Ulrich Drepper - - [BZ #704] - * locale/iso-4217.def: Replace MGF with MGA. - - * iconvdata/jis0208.c (__jisx0208_from_ucs4_lat1): Reduce size of - array. - * iconvdata/jis0208.h (ucs4_to_jisx0208): Adjust access. - -2004-08-13 GOTO Masanori - - [BZ #395] - * iconvdata/jis0208.c: Remove 0x005C mapping from - __jisx0208_from_ucs4_lat1. - Reported by Fumitoshi UKAI - -2005-09-23 Ulrich Drepper - - [BZ #394] - * libio/fmemopen.c (fmemopen_write): Return 0 instead of -1 if - nothing can be written. - * libio/iofopncook.c (_IO_cookie_write): If something went wrong, - set error bit. - -2005-09-22 Ulrich Drepper - - [BZ #281] - * posix/regex.h: Define RE_TRANSLATE_TYPE as unsigned char *. - * posix/regcomp.c: Remove unnecessary uses of - unsigned RE_TRANSLATE_TYPE. - * posix/regex_internal.h: Likewise. - * posix/regex_internal.c: Likewise. - * posix/regexexec.c: Likewise. - Based on a patch by Stepan Kasal . - - [BZ #1035] - * locale/iso-4217.def: Replace TRL entry with TRY for new Turkish Lira. - - [BZ #1363] - * nscd/nscd_getpw_r.c (nscd_getpw_r): Remove incorrectly C&Ped - free call in code handling detection of GC runs. - -2005-09-22 Roland McGrath - - * elf/dl-tsd.c (__libc_dl_error_tsd): Use attribute_tls_model_ie for - static __thread variable. - From Alexandre Oliva - - * Makefile ($(objpfx)c++-types-check.out): Use $<, not $^, in command. - Reported by Alexandre Oliva . - -2005-09-20 Jakub Jelinek - - * nscd/dbg_log.c (init_logfile): Use fopen64 rather than fopen. - -2005-09-20 Roland McGrath - - * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use execv, not execl. - - [BZ #1346] - * elf/dl-load.c (_dl_map_object_from_fd) [HAVE_Z_RELRO]: Do relro - magic on __stack_prot only if [SHARED]. Skip mprotect if __stack_prot - lies outside the page-rounded-down relro region. - -2005-09-19 Richard Henderson - - [BZ #1358] - * sysdeps/unix/alpha/sysdep.h (inline_syscall1): Copy argument(s) - to a temporary first. - (inline_syscall2, inline_syscall3, inline_syscall4): Likewise. - (inline_syscall5, inline_syscall6): Likewise. - - * sysdeps/alpha/ldiv.S (lldiv): Add alias. - -2005-09-17 Ulrich Drepper - - [BZ #1010] - * sysdeps/unix/sockatmark.c (sockatmark): Use SIOCATMARK correctly. - - [BZ #1053] - * debug/xtrace.sh: Add missing escape character in -? match. - Patch by Peter Breitenlohner . - - [BZ #1051] - * wctype/wctype.h: Remove stray __END_NAMESPACE_C99. - * stdlib/stdlib.h: Use __END_NAMESPACE_STD instead of - __END_NAMESPACE_C99 in one place. - * scripts/begin-end-check.pl: New file. - Patch by Ralph Loader . - * Makefile: Add rules to run scripts/begin-end-check.pl. - -2005-09-17 Andreas Jaeger - - * timezone/zdump.c: Include ctype.h. - -2005-09-16 Andreas Jaeger - - [BZ #1047] - * sysdeps/unix/sysv/linux/mips/getpagesize.c: New file. - -2005-09-16 Maciej W. Rozycki - - [BZ #933] - * sysdeps/unix/sysv/linux/mips/brk.c (__brk): Load the number of - the syscall immediately before invocation. - * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Likewise. - * sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall): Likewise. - - * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Use - macros to handle GP. - * sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall): - Likewise. Update inaccurate comments. - -2005-09-13 Ulrich Drepper - - * sysdeps/posix/spawni.c (__spawni): Automatically recognize some - more cases when we can use vfork. - -2005-08-29 Thomas Schwinge - - [BZ #1261] - * manual/memory.texi (Hooks for Malloc): Correct prototype of - my_init_hook and definition of my_free_hook. - -2005-09-12 Roland McGrath - - [BZ #1331] - * malloc/obstack.h [!__STDC__] (obstack_int_grow_fast): Fix misnamed - macro argument. - Reported by Matej Vela . - -2005-09-12 Jakub Jelinek - - * malloc/malloc.c (struct malloc_chunk): Fix comment typo. - (public_cALLOc): For mmapped chunks and perturb_byte != 0, - don't clear SIZE_SZ bytes more than should be cleared. - -2005-09-09 Jakub Jelinek - - * inet/getnetgrent_r.c: Include assert. - (setup): Remove FUNC_NAME and ALL arguments, assume they are always - "setnetgrent" and 1. - (endnetgrent_hook): New function. - (internal_endnetgrent): Use it. - (__internal_setnetgrent_reuse): Use it. Adjust setup caller. - If status is NSS_STATUS_SUCCESS, yet action is continue, call - endnetgrent hook. - (internal_getnetgrent_r): Use __nss_lookup_function rather than - setup. Recompute getfct pointer after successful - __internal_setnetgrent_reuse. Don't use __nss_next. - (innetgr): Use __nss_lookup_function instead of __nss_lookup. - Adjust setup caller. - * nss/nss_files/files-netgrp.c (_nss_files_endnetgrent): Always clear - data_size and cursor. Add libnss_files_hidden_proto and - libnss_files_hidden_def. - (_nss_files_setnetgrent): Call _nss_files_endnetgrent on failure. - * nis/nss_nis/nis-netgrp.c (internal_endnetgrent): Always clear - data_size and cursor. - (_nss_nis_setnetgrent): Don't call internal_endnetgrent. - (_nss_nis_getnetgrent_r): Remove result->cursor == NULL handling. - * nis/nss_nisplus/nisplus-netgrp.c (internal_endnetgrent): Always clear - data_size and position. - (_nss_nisplus_setnetgrent): Don't call internal_endnetgrent. - -2005-09-09 Ulrich Drepper - - * nss/getent.c (netgroup_keys): Call endnetgrent. - (main): Call mtrace. - - * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): We don't - need locking for the stream. Use feof_unlocked. - -2005-09-09 Jakub Jelinek - - [BZ #1318] - * locale/loadarchive.c (_nl_load_locale_from_archive): Free - normalized_codeset even if p was already normalized. - Reported by Jaroslav Snajdr . - -2005-09-08 Roland McGrath - - * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Decode DSOCAPS - properly, first byte is bit number in mask. Skip disabled caps. - -2005-07-11 Derek R. Price - - [BZ #1061] - * sysdeps/generic/glob.c (glob): Only a 0 return from - getlogin_r means success, according to POSIX 1003.2. - -2005-06-23 Paul Eggert - - [BZ #1033] - * time/mktime.c: Import from gnulib. - The following macros are now consistent with other gnulib code. - This does not change mktime's behavior. - (TYPE_IS_INTEGER): New macro. - (time_t_is_integer): Use it. - (TYPE_TWOS_COMPLEMENT): New macro. - (twos_complement_arithmetic): Use it. - (TYPE_ONES_COMPLEMENT): New macro. - (TYPE_MINIMUM, TYPE_MAXIMUM): Now supports signed-magnitude. - mktime doesn't use this, but the code now matches other gnulib code. - (ranged_convert): Pacify GCC 4.0 in a different way, which - generates a few bytes less code. - (ranged_convert, __mktime_internal): When calling a function via a - pointer P, use P () rather than (*P) (), as we now assume C89 or - better. - -2005-09-07 Alexandre Oliva - - * timezone/test-tz.c: Update to match tzdata2005m. - * timezone/tst-timezone.c: Likewise. - -2005-09-07 Ulrich Drepper - - * posix/regexec.c (find_recover_state): Remove unnecessary - initialization. - (transit_state_bkref): Make DFA a const pointer. - (get_subexp): Likewise. - (check_arrival): Likewise. - (update_cur_sifted_state): Likewise. - (re_search_internal): Likewise. - (prune_impossible_nodes): Likewise. - (acquire_init_state_context): Likewise. - (proceed_next_node): Likewise. - (set_regs): Likewise. - (free_fail_stack_return): Likewise. - (check_arrival_expand_ecl): Mark DFA parameter as const. - (check_arrival_expand_ecl_sub): Likewise. - (check_subexp_limits): Likewise. - (sub_epsilon_src_nodes): Likewise. - (add_epsilon_src_nodes): Likewise. - (merge_state_array): Likewise. - (update_regs): Likewise. - (build_trtable): Likewise. - (sift_states_backward): Mark MCTX parameter as const. - (build_sifted_states): Likewise. - (update_cur_sifted_state): Likewise. - (sift_states_mkref): Likewise. - (check_arrival_expand_ecl): Mark eclosure as const. - (check_dst_limits_calc_pos_1): Likewise. - * posix/regex_internal.h (re_match_context_t): Make dfa a const - pointer. - -2005-09-06 Ulrich Drepper - - * timezone/africa: Update from tzdata2005m. - * timezone/asia: Likewise. - * timezone/australasia: Likewise. - * timezone/backward: Likewise. - * timezone/europe: Likewise. - * timezone/northamerica: Likewise. - * timezone/southamerica: Likewise. - * timezone/zone.tab: Likewise. - * timezone/zdump.c: Update from tzcode2005m. - - * posix/regexec.c (merge_state_with_log): Define dfa as const pointer. - (transit_state_sb): Likewise. - (transit_state_mb): Likewise. - (sift_states_iter_mb): Likewise. - (check_arrival_add_next_nodes): Likewise. - (check_node_accept_bytes): Change first parameter to pointer-to-const. - [_LIBC] (re_search_2_stub): Use mempcpy. - - * posix/regex_internal.c (re_string_reconstruct): Avoid calling - mbrtowc for very simple UTF-8 case. - -2005-09-01 Paul Eggert - - * posix/regex_internal.c (build_wcs_upper_buffer): Fix portability - bugs in int versus size_t comparisons. - -2005-09-06 Ulrich Drepper - - * posix/regex_internal.c (re_acquire_state): Make DFA pointer arg - a pointer-to-const. - (re_acquire_state_context): Likewise. - * posix/regex_internal.h: Adjust prototypes. - -2005-08-31 Jim Meyering - - * posix/regcomp.c (search_duplicated_node): Make first pointer arg - a pointer-to-const. - * posix/regex_internal.c (create_ci_newstate, create_cd_newstate, - register_state): Likewise. - * posix/regexec.c (search_cur_bkref_entry, check_dst_limits): - (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos): - (group_nodes_into_DFAstates): Likewise. - -2005-08-31 Paul Eggert - - * posix/regexec.c (re_search_internal): Simplify update of - rm_so and rm_eo by replacing "if (A == B) A += C - B;" - with the equivalent of "if (A == B) A = C;". - -2005-09-06 Ulrich Drepper - - * posix/regcomp.c (re_compile_internal): Change third parameter type - to size_t. - (init_dfa): Likewise. Make sure that arithmetic on pat_len doesn't - overflow. - * posix/regex_internal.h (struct re_dfa_t): Change type of nodes_alloc - and nodes_len to size_t. - * posix/regex_internal.c (re_dfa_add_node): Use size_t as type for - new_nodes_alloc. Check for overflow. - -2005-08-31 Paul Eggert - - * posix/regcomp.c (re_compile_fastmap_iter, init_dfa, init_word_char): - (optimize_subexps, lower_subexp): - Don't assume 1<<31 has defined behavior on hosts with 32-bit int, - since the signed shift might overflow. Use 1u<<31 instead. - * posix/regex_internal.h (bitset_set, bitset_clear, bitset_contain): - Likewise. - * posix/regexec.c (check_dst_limits_calc_pos_1): Likewise. - (check_subexp_matching_top): Likewise. - * posix/regcomp.c (optimize_subexps, lower_subexp): - Use CHAR_BIT rather than 8, for clarity. - * posix/regexec.c (check_dst_limits_calc_pos_1): - (check_subexp_matching_top): Likewise. - * posix/regcomp.c (init_dfa): Make table_size unsigned, so that we - don't have to worry about portability issues when shifting it left. - Remove no-longer-needed test for table_size > 0. - * posix/regcomp.c (parse_sub_exp): Do not shift more bits than there - are in a word, as the resulting behavior is undefined. - * posix/regexec.c (check_dst_limits_calc_pos_1): Likewise; - in one case, a <= should have been an <, and in another case the - whole test was missing. - * posix/regex_internal.h (BYTE_BITS): Remove. All uses changed to - the standard name CHAR_BIT. - - * posix/regex_internal.h (re_sub_match_top_t): Remove unused member - next_last_offset. - (struct re_dfa_t): Remove unused member states_alloc. - * posix/regcomp.c (init_dfa): Don't initialize unused members. - -2005-08-25 Paul Eggert - - * posix/regexec.c (set_regs): Don't alloca with an unbounded size. - - alloca modernization/simplification for regex. - * posix/regex.c: Remove portability cruft for alloca. This no longer - needs to be at the start of the file, and can be moved into - regex_internal.h and simplified. - * posix/regex_internal.h: Include . - (__libc_use_alloca) [!defined _LIBC]: New macro. - * posix/regexec.c (build_trtable): Remove "#ifdef _LIBC", - since the code now works outside glibc. - -2005-09-06 Ulrich Drepper - - * include/regex.h: Remove use of _RE_ARGS. - -2005-08-25 Paul Eggert - - * posix/regexec.c (find_recover_state): Change "err" to "*err". - -2005-08-24 Paul Eggert - - * posix/regcomp.c (regerror): Pointer args are 'restrict', - as per POSIX. - * posix/regex.h (regerror): Likewise. - * manual/pattern.texi (POSIX Regexp Compilation): Likewise. - Similarly for regcomp and regexec. Also, first 2 args of regexec - and 2nd arg of regerror are const. - - * posix/regex.c: Do not include , as POSIX no longer - requires this. (The code never needed it.) - -2005-08-20 Paul Eggert - - * posix/regexec.c (sift_states_bkref): re_node_set_insert returns - int, not reg_errcode_t. - - * posix/regex_internal.c (calc_state_hash): Put 'inline' before type, - since some broken compilers warn about it otherwise. - - * posix/regcomp.c (create_initial_state): Remove duplicate decl. - -2005-08-20 Paul Eggert - - * posix/regex.h (_RE_ARGS): Remove. No longer needed, since we assume - C89 or better. All uses removed. - -2005-09-06 Ulrich Drepper - - * posix/regex.c: Prevent using C++ compilers. - -2005-08-19 Paul Eggert - - * posix/regcomp.c (duplicate_node): Return new index, not an error - code, and let the caller return REG_ESPACE if out of space. This - removes an uninitialied-variable warning with GCC 4.0.1, and also - avoids taking the address of a local variable. All callers - changed. - -2005-09-06 Ulrich Drepper - - * include/time.h (__strptime_internal): Rename parameter to avoid - bogus compiler warning. - -2005-08-19 Jim Meyering - - * posix/regexec.c (proceed_next_node): Redo local variables to - avoid GCC shadowing warnings. - -2005-09-06 Ulrich Drepper - - * posix/regex_internal.c (re_acquire_state): Minor code rearrangement. - (re_acquire_state_context): Likewise. - -2005-08-19 Paul Eggert - - * posix/regex_internal.c (re_string_realloc_buffers): - (re_node_set_insert, re_node_set_insert_last, re_dfa_add_node): - Rename local variables to avoid GCC shadowing warnings. - -2005-07-08 Eric Blake - Paul Eggert - - * posix/regcomp.c (init_dfa): Store __btowc value in wint_t, not - wchar_t. Remove now-unnecessary cast. - (build_range_exp): Likewise. - -2005-08-31 Bob Wilson - - * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Remove the - exponent bias from the increment value for scaling by 2^60. - -2005-09-05 Alexandre Oliva - - * configure.in: Compile source test file with -fPIC for -shared. - -2005-09-04 Ulrich Drepper - - * iconv/skeleton.c: Eliminate DEFINE_DIRECTION_OBJECTS macro use, - it wasn't used. Remove use of from_object and to_object variable, - replace with some constants. Adjust users. - - * sysdeps/i386/bits/string.h: Removed. - - * stdio-common/Makefile (tests): Add tst-put-error. - * stdio-common/tst-put-error.c: New file. - * libio/fileops.c (_IO_new_file_xsputn): If overflow fails and no more - data would have to be written signal error. - * libio/oldfileops.c (_IO_old_file_xsputn): Likewise. - - * libio/fileops.c (_IO_new_file_overflow): Use NULL not 0. - -2005-09-02 Ulrich Drepper - - * elf/dl-load.c (_dl_map_object_from_fd): No need to change - protection of memory used for the last segment. - -2005-08-22 Robert Millan - - * sysdeps/mach/hurd/nfs/nfs.h: Move to ... - * sysdeps/generic/nfs/nfs.h: ... here. - -2005-09-01 Ulrich Drepper - - * libio/stdio.h: Remove __wur from ungetc, sscanf, and vsscanf. - Add __wur to feof{,_unlocked}, ferror{,_unlocked}, - fileno{,_unlocked}, and popen. - -2005-08-30 Ulrich Drepper - - * sysdeps/ieee754/flt-32/e_hypotf.c [!__STDC__]: Fix function name. - -2005-08-01 Bob Wilson - Richard Sandiford - - * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Add missing - exponent bias to the value for 2^126. - -2005-08-30 Jakub Jelinek - Alan Modra - - * elf/dl-addr.c (_dl_addr): Use DL_ADDR_SYM_MATCH macro. - * sysdeps/generic/ldsodefs.h (DL_ADDR_SYM_MATCH): Define. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h: New file. - -2005-08-23 Ulrich Drepper - - * nscd/nscd.c (main): Use error while process isn't running in the - background, not dbg_log. - * nscd/nscd_conf.c (nscd_parse_file): Likewise. - Mark messages with _(). Unify testing for database name. - - * nscd/connection.c (DEFAULT_DATASIZE_PER_BUCKET): Move to nscd.h. - (dbs): Initialize max_db_size fields. - (nscd_init): When mapping the database, use max_db_size as the - mapping size even if it is bigger than the file size. - * nscd/mem.c (mempool_alloc): When resizing the file make sure the - limit in max_db_size is not exceeded. Don't use mremap, just - posix_fallocate is enough (according to Linus). Use posix_fallocate - correctly. - * nscd/nscd.conf: Add max-db-size parameters. - * nscd/nscd.h (struct database_dyn): Add max_db_size field. - Define DEFAULT_MAX_DB_SIZE and DEFAULT_DATASIZE_PER_BUCKET. - Temporarily define TEMP_FAILURE_RETRY_VAL here. - * nscd/nscd_conf.c (nscd_parse_file): Parse max-db-size parameter - and add sanity checks for it. - - * nscd/aicache.c (addhstaiX): Use send with MSG_NOSIGNAL not write to - send reply. - * nscd/connection.c (writeall): Likewise. - (handle_request): Likewise. +2004-09-15 Richard Henderson + + * sysdeps/alpha/fpu/libm-test-ulps: Update. + * scripts/data/c++-types-alpha-linux-gnu.data: New file. + +2004-09-15 Ulrich Drepper + + * nscd/aicache.c: Prefer using gethostbyname3_r NSS callback to also + get ttl and canonical name. Use these two values. + * resolv/Versions: Export _nss_dns_gethostbyname3_r from libnss_dns. + * resolv/nss_dns/dns-host.c (getanswer_r): Take two new parameters. + If nonnull fill with TTL and pointer to canonical name respectively. + (_nss_dns_gethostbyaddr_r): Pass NULL in new parameters of getanswer_r. + (_nss_dns_gethostbyname2_r): Just wrapper around + _nss_dns_gethostbyname3_r. + (_nss_dns_gethostbyname3_r): Renamed from _nss_dns_gethostbyname2_r. + Take two new parameters which as passed to getanswer_r. + + * nscd/Makefile (rountines): Add nscd_getai. + (nscd-modules): Add aicache. + * nscd/aicache.c: New file. + * nscd/nscd_getai.c: New file. + * nscd/cache.c (prune_cache): Handle GETAI request type. + * nscd/connections.c: Add GETAI support in request handling. + * nscd/nscd-client.h (request_type): Add GETAI. + Define ai_response_header and struct nscd_ai_result types. + (struct datahead): Add aidata field. + Declare __nscd_getai. + * nscd/nscd.c: Add getaddrinfo definition to catch problems. + * nscd/nscd.h: Declare addhstai and readdhstai. + + * sysdeps/posix/getaddrinfo.c: Add support for using cached results. + * posix/Makefile (CFLAGS-getaddrinfo.c): Add -DUSE_NSCD. + + * nscd/nscd-client.h (struct datahead): Use uint8_t instead of bool. + +2004-09-14 Ulrich Drepper + + * misc/sys/cdefs.h: Remove debugging text from __P and __PMT. + +2004-09-13 Ulrich Drepper + + * misc/sys/cdefs.h: Restore old definition of __P. + * csu/munch.awk: Remove uses of __P and __PMT. + * gmon/gmon.c: Likewise. + * hesiod/hesiod.h: Likewise. + * include/stdio.h: Likewise. + * io/fts.c: Likewise. + * libio/genops.c: Likewise. + * libio/libioP.h: Likewise. + * libio/fileops.c: Likewise. + * libio/iolibio.h: Likewise. + * libio/libio.h: Likewise. + * libio/memstream.c: Likewise. + * libio/oldfileops.c: Likewise. + * libio/oldstdfiles.c: Likewise. + * libio/iopopen.c: Likewise. + * libio/vsnprintf.c: Likewise. + * libio/vswprintf.c: Likewise. + * libio/wgenops.c: Likewise. + * libio/oldiopopen.c: Likewise. + * locale/programs/xmalloc.c: Likewise. + * locale/programs/xstrdup.c: Likewise. + * malloc/mtrace.c: Likewise. + * misc/getttyent.c: Likewise. + * misc/getusershell.c: Likewise. + * nis/rpcsvc/ypupd.h: Likewise. + * posix/fnmatch.h: Likewise. + * posix/glob.h: Likewise. + * resolv/arpa/nameser.h: Likewise. + * resolv/gethnamaddr.c: Likewise. + * resolv/resolv.h: Likewise. + * resolv/inet_net_ntop.c: Likewise. + * resolv/inet_net_pton.c: Likewise. + * resolv/res_init.c: Likewise. + * resolv/nss_dns/dns-network.c: Likewise. + * stdio-common/vfprintf.c: Likewise. + * stdio-common/reg-printf.c: Likewise. + * sysdeps/generic/chflags.c: Likewise. + * sysdeps/generic/fchflags.c: Likewise. + * sysdeps/generic/glob.c: Likewise. + * sysdeps/generic/printf_fphex.c: Likewise. + * sysdeps/generic/memcmp.c: Likewise. + * sysdeps/generic/memcopy.h: Likewise. + * sysdeps/generic/morecore.c: Likewise. + * sysdeps/generic/sstk.c: Likewise. + * sysdeps/posix/sigvec.c: Likewise. + * sysdeps/posix/ttyname_r.c: Likewise. + * sysdeps/standalone/arm/bits/errno.h: Likewise. + * sysdeps/standalone/standalone.h: Likewise. + * sysdeps/standalone/i386/force_cpu386/brdinit.c: Likewise. + * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise. + * sysdeps/unix/arm/start.c: Likewise. + * sysdeps/unix/bsd/sigaction.c: Likewise. + * sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise. + * sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise. + * sysdeps/unix/bsd/sun/sunos4/wait4.c: Likewise. + * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: Likewise. + * sysdeps/unix/bsd/ultrix4/sysconf.c: Likewise. + * sysdeps/unix/sparc/start.c: Likewise. + * sysdeps/unix/sysv/getdents.c: Likewise. + * sysdeps/unix/sysv/irix4/fpathconf.c: Likewise. + * sysdeps/unix/sysv/irix4/getgroups.c: Likewise. + * sysdeps/unix/sysv/irix4/getpriority.c: Likewise. + * sysdeps/unix/sysv/irix4/getrusage.c: Likewise. + * sysdeps/unix/sysv/irix4/pathconf.c: Likewise. + * sysdeps/unix/sysv/irix4/setgroups.c: Likewise. + * sysdeps/unix/sysv/irix4/sigtramp.c: Likewise. + * sysdeps/unix/sysv/irix4/start.c: Likewise. + * sysdeps/unix/sysv/irix4/sysconf.c: Likewise. + * sysdeps/unix/sysv/sco3.2.4/__setpgid.c: Likewise. + * sysdeps/unix/sysv/sco3.2.4/getgroups.c: Likewise. + * sysdeps/unix/sysv/sysv4/__getpgid.c: Likewise. + * sysdeps/unix/sysv/sysv4/__setpgid.c: Likewise. + * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise. + * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise. + * sysdeps/unix/sysv/sysv4/sethostname.c: Likewise. + * sysdeps/unix/sysv/sysv4/setsid.c: Likewise. + * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise. + * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: Likewise. + * time/tzset.c: Likewise. + * time/strftime_l.c: Likewise. + * time/strptime_l.c: Likewise. + * crypt/md5.h: Likewise. + +2004-09-13 Andreas Jaeger + + * configure.in: Support GCC 4.x. + * configure: Regenerated. + +2004-09-13 Thorsten Kukuk + + * nscd/nscd_stat.c: Don't access dbs[cnt].head for disabled services. + + * nscd/nscd.init: Fix path to socket. + +2004-09-12 Ulrich Drepper + + * nscd/nscd_helper.c (get_mapping): Correctly check cmsg length. + Avoid file descriptor leak in case of size mismatch. + + * nscd/nscd-client.h: Fix database structure layout for biarch. + * nscd/mem.c (gc): Add casts to avoid warnings. + + * nss/getent.c: Don't preconstruct help message. Do it only when + needed. + + * locale/programs/locale.c: Simplify help message printing. + +2004-09-12 Roland McGrath + + * sysdeps/mach/hurd/i386/init-first.c (init1) [! SHARED]: Add decls + missing in last change. + +2004-09-11 Thorsten Kukuk + + * nis/nss_compat/compat-grp.c: Check that buflen is greater zero + before writing data into the buffer with negative offset. + * nis/nss_compat/compat-initgroups.c: Likewise. + * nis/nss_compat/compat-pwd.c: Likewise. + * nis/nss_compat/compat-spwd.c Likewise. + +2004-09-12 Ulrich Drepper + + * misc/syslog.c (vsyslog): Fix copying of PID in case of + out-of-memory situation. [BZ #365]. + + * sysdeps/alpha/fpu/bits/mathinline.h: Use __NTH instead of + __THROW in inline function definitions. + + * posix/spawn.h [__USE_GNU]: Define POSIX_SPAWN_USEVFORK. + * posix/spawnattr_setflags.c: Check whether any unknown bit is set + in FLAGS parameter and fail if this is the case. + * sysdeps/posix/spawni.c: Use vfork if POSIX_SPAWN_USEVFORK flag is + set. + + * nscd/pwdcache.c (cache_addpw): Sync also negative results to disk. * nscd/grpcache.c (cache_addgr): Likewise. * nscd/hstcache.c (cache_addhst): Likewise. - * nscd/initgrcache.c (addinitgroupsX): Likewise. - * nscd/nscd.c (parse_opt): Likewise. - * nscd/nscd_stat.c (send_stats): Likewise. - (receive_print_stats): Likewise. - * nscd/pwdcache.c (cache_addpw): Likewise. - * sysdeps/unix/sysv/linux/Versions: Export inotify_* syscalls. +2004-09-11 Roland McGrath -2005-08-22 Jakub Jelinek + * sysdeps/mach/hurd/i386/init-first.c (init1) [! SHARED]: + Set _dl_phdr and _dl_phnum. + (init1): When bootstrap task, bail early and never examine *D. - * stdlib/bits/stdlib.h (mbstowcs): Divide __bos (__dst) by - sizeof (wchar_t) rather than multiplying __len by sizeof (wchar_t). - Pass __bos (__dst) / sizeof (wchar_t) to the *_chk routine. - * wcsmbs/bits/wchar2.h (mbsrtowcs, mbsnrtowcs): Likewise. - * debug/mbsnrtowcs_chk.c (__mbsnrtowcs_chk): Don't multiply - len by sizeof (wchar_t). - * debug/mbsrtowcs_chk.c (__mbsrtowcs_chk): Likewise. - * debug/mbstowcs_chk.c (__mbstowcs_chk): Likewise. - Fix type of SRC argument. Pass &SRC rather than SRC to - __mbsrtowcs. - * debug/wcstombs_chk.c (__wcstombs_chk): Pass &SRC rather than SRC - to __wcsrtombs. - * debug/tst-chk1.c: Include assert.h. - (do_test): Change enough array from VLA into a fixed size array. - Assert that MB_CUR_MAX is <= sizeof (enough). Use FAIL () macro - instead of print error details. Add several new tests. - Kill some unused variable warnings. +2004-09-11 Alfred M. Szmidt -2005-08-21 Ulrich Drepper + * sysdeps/mach/hurd/i386/tls.h (__i386_set_gdt) [!HAVE_I386_SET_GDT]: + Cast THR, SEL and DESC to `void'. - * resolv/res_send.c (Aerror): Fix printing IP address. +2004-09-11 Ulrich Drepper - * resolv/res_send.c (send_vc): Pass correct sockaddr size to connect. + * nscd/connections.c (nscd_run): Call setup_thread only for enabled + databases. -2005-08-19 H.J. Lu + * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Use __NTH for __cmsg_nxthdr. - * sysdeps/ia64/fpu/libm_error.c (__libm_error_support): Don't abort. +2004-09-10 Ulrich Drepper -2005-08-17 Robert Love + * nscd/nscd.c (pagesize_m1): New variable. + (main): Initialize it. + * nscd/nscd.h: Declare pagesize_m1. + * nscd/hstcache.c: Pass correctly aligned address to msync. + * nscd/grpcache.c: Likewise. + * nscd/pwdcache.c: Likewise. - * sysdeps/unix/sysv/linux/sys/inotify.h: Add IN_MOVE_SELF event. +2004-09-10 Kaz Kojima -2005-08-19 Bruno Haible + * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Decrement + __nwaiters. If pthread_cond_destroy has been called and this is + the last waiter, signal pthread_cond_destroy caller and avoid + using the pthread_cond_t structure after unlock. + * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise. - * intl/localealias.c (read_alias_file): In case of failure, close the - file descriptor and sort the array before returning. +2004-09-10 Ulrich Drepper -2005-08-19 Ulrich Drepper + * sysdeps/unix/sysv/linux/kernel-features.h: Don't define + __ASSUME_CLONE_STOPPED. - * malloc/Makefile: Link libmemusage.so with ld.so. - * malloc/memusage.c: Use atomic operations for all counter and size - computations. Handle thread stacks. - * sysdeps/generic/memusage.h: Define memusage_cntr_t and - memusage_size_t. - * sysdeps/i386/i686/memusage.h: New file. - * include/atomic.h: Define atomic_max and atomic_min. +2004-09-10 Jakub Jelinek - * debug/tst-chk1.c: Add tests for mbstowcs and wcstombs. + * misc/sys/cdefs.h (__REDIRECT_NTH): Change order of __THROW and + __asm__ for C++. [BZ #377] -2005-08-17 Paul Eggert +2004-09-10 Ulrich Drepper - [BZ #1207] - * posix/regex.h: Remove spurious space-before-tab. From gnulib. + * nscd/nscd_stat.c: Improve output by also printing .shared and + .persistent. -2005-08-16 Ulrich Drepper + * nscd/connections.c: Allow cache sharing to be really disabled. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add - sys/inotify.h. - * sysdeps/unix/sysv/linux/sys/inotify.h: New file. - * sysdeps/unix/sysv/linux/syscalls.list: Add inotify syscalls. +2004-09-10 Jakub Jelinek - * nscd/cache.c (prune_cache): Add more debug output. Only for - debug level 3 and higher and very verbose. + * malloc/malloc.c (_int_free): Only do arena boundary check for + contiguous arenas. - * nscd/cache.c (prune_cache): Use stat64 not stat. - * nscd/connections.c (nscd_init): Likewise. +2004-09-10 Kazuhiro Inaoka -2005-08-10 Sergio Gelato + * stdlib/longlong.h [__M32R__] (add_ssaaaa, sub_ddmmss): Fix broken + instruct operands. + * elf/elf.h: Add R_M32R_* relocs. - [BZ #1188] - * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Change assert check - from (len > 0) to (len >= 0). +2004-09-09 Ulrich Drepper -2005-08-16 Ulrich Drepper + * misc/sys/cdefs.h: Despite what the gcc manual says, gcc 3.2 + seems not to support the nothrow attribute. Use it only for gcc + 3.3 and higher. - * nis/nis_xdr.c (_xdr_nis_result): Fix type of res variable. - Reported by Thomas Schwinge. + * malloc/hooks.c (top_check): Print top chunk corruption as normal + error message. -2005-08-15 Jakub Jelinek + * malloc/malloc.c (malloc_printerr): Don't make informational + message look like error message. - * nis/nis_subr.c (nis_leaf_of_r): Handle buflen == 0 correctly. +2004-09-09 Andreas Jaeger -2005-08-16 Ulrich Drepper + * nscd/Makefile (CFLAGS-nscd_setup_thread.c): Set to -fpie. - * nss/getent.c (more_help): Use open_memstream instead of handling - memory allocation ourselves. +2004-09-08 Ulrich Drepper -2005-08-16 Jay Fenlason + * sysdeps/unix/sysv/linux/bits/socket.h (__SCM_CONNECT): Removed. - * nss/getent.c (parse_options): change the -s option to support - {database}:{search} to override /etc/resolv.conf for only the - specified database. + * malloc/malloc.c (_int_free): Add inexpensive double free and + memory corruption tests. + (malloc_printf_nc): Renamed to malloc_printerr. Second parameter + is no format string anymore. Don't use stdio. Adjust all callers. + * malloc/hooks.c: Adjust malloc_printf_nc callers. -2005-08-08 Ulrich Drepper +2004-09-08 Roland McGrath - * nscd/connections.c (main_loop_epoll): Pass NULL as event - argument for epoll_ctl(EPOLL_CTL_DEL) calls. + * malloc/mcheck.c: Don't use __P. + Use prototypes definitions for static functions. - * nscd/nscd_stat.c (receive_print_stats): Really print values of - thread number, paranoia, and restart interval the server is using. +2004-09-08 Ulrich Drepper - * argp/argp-help.c: Use _IO_vasprintf instead of vasprintf. - * include/stdio.h: Add libc_hidden_proto for __vfprintf_chk. - * debug/vfprintf_chk.c: Add libc_hidden_def. + * sysdeps/ia64/fpu/bits/mathinline.h: Use __NTH instead of __THROW. -2005-08-08 Roland McGrath - - * argp/argp-help.c (__argp_error): __asprintf -> vasprintf. - (__argp_failure): Likewise. - -2005-08-08 Ulrich Drepper - - * nscd/cache.c (cache_add): Commit hash table and header to disk. - - * nscd/mem.c (mempool_alloc): Use posix_fallocate instead of ftruncate. - * nscd/connections.c (nscd_init): Likewise. - -2005-08-08 Jakub Jelinek - - * stdio-common/fxprintf.c: Include libioP.h. - - * posix/bits/unistd.h (confstr, getgroups, ttyname_r, gethostname, - getdomainname): Add __NTH. - * stdlib/bits/stdlib.h (ptsname_r, wctomb, mbstowcs, wcstombs): - Likewise. - (realpath): Likewise. Use __const instead of const. Add __restrict - keywords. - * socket/bits/socket2.h (recvfrom): Add __restrict keyword to __buf. - * wcsmbs/bits/wchar2.h (wmemcpy, wmemmove, wmempcpy, wmemset, - wcscpy, wcpcpy, wcsncpy, wcpncpy, wcscat, wcsncat, vswprintf, wcrtomb, - mbsrtowcs, wcsrtombs, mbsnrtowcs, wcsnrtombs): Add __NTH. - * string/bits/string3.h (__memset_ichk): Likewise. - (__memcpy_ichk, __memmove_ichk, __mempcpy_ichk, __strcpy_ichk, - __stpcpy_ichk, __strncpy_ichk, stpncpy, __strcat_ichk, - __strncat_ichk): Likewise. Use __const instead of const. - (__stpncpy_chk): Use __const instead of const. - (__stpncpy_alias): Use __REDIRECT_NTH instead of __REDIRECT. - -2005-08-08 Ulrich Drepper +2004-09-08 Ulrich Drepper Jakub Jelinek - * nscd/mem.c (BLOCK_ALIGN_LOG, BLOCK_ALIGN, BLOCK_ALIGN_M1): Move - definitions to... - * nscd/nscd.h (BLOCK_ALIGN_LOG, BLOCK_ALIGN, BLOCK_ALIGN_M1): ...here. - * nscd/connections.c (usekey): New enum. - (check_use, verify_persistent_db): New functions. - (nscd_init): If persistent database is corrupted, unlink it and - recreate rather than falling back to non-persistent database. - Call verify_persistent_db. Avoid overflows in total computation. + * nscd/nscd-client.h: Add a few #includes. -2005-08-08 Ulrich Drepper + * nscd/Makefile (nscd-modules): Add nscd_setup_thread. + * nscd/connections.c (nscd_run): Call setup_thread for maintenance + threads. + * nscd/nscd-client.h (struct database_pers_head): Add + nscd_certainly_running field. + * nscd/nscd.h: Declare setup_thread. + * nscd/nscd_helper.c (__nscd_get_map_ref): Avoid the time test if + nscd_certainly_running is nonzero. + * sysdeps/generic/nscd_setup_thread.c: New file. + * sysdeps/unix/sysv/linux/nscd_setup_thread.c: New file. - * iconvdata/utf-16.c (PREPARE_LOOP): Minor cleanups to make code - better readable. Avoid passing var to loop function, it's not - necessary at all. +2004-09-08 Ulrich Drepper -2005-08-07 Ulrich Drepper + * nscd/connections.c: Implement r/o sharing of nscd's cache with client + processes via shared memory. + * nscd/nscd-client.h: Likewise. + * nscd/nscd.h: Likewise. + * nscd/nscd_conf.c: Likewise. + * nscd/nscd_getgr_r.c: Likewise. + * nscd/nscd_getpw_r.c: Likewise. + * nscd/nscd_gethst_r.c: Likewise. + * nscd/nscd.conf: Add new config parameters. + * nscd/Makefile (aux): Add nscd_helper. + * nscd/nscd_helper.c: New file. + * nscd/mem.c (gc): Indicate beginning and end of the gc cycle. - * elf/elf.h (DT_ALPHA_PLTRO): Use symbolic name in DT_ALPHA_PLTRO + * nscd/hstcache.c: Simplify a lot. We cache only the request itself, + no derived information. + * connections.c (nscd_init): Fix bug in testing size of the persistent. + + * nis/Makefile (aux): Add nis_hash. + * nis/nis_hash.c: New file. Split out from nis_util.c. + * nis/nis_util.c: Move __nis_hash code in separate file. + + * csu/tst-atomic.c: Improve atomic_increment_val test which would + not have found a ppc bug. + + * sysdeps/s390/fpu/bits/mathinline.h: Remove unnecessary includes. + + * malloc/arena.c: Remove __MALLOC_P uses. + * malloc/malloc.c: Likewise. + + * malloc/mtrace.c: Remove __P uses. + * malloc/mcheck-init.c: Likewise. + +2004-09-07 Jakub Jelinek + + * sysdeps/powerpc/powerpc64/configure.in: New file. + * config.h.in (USE_PPC64_OVERLAPPING_OPD): Add. + * configure.in (HAVE_ASM_GLOBAL_DOT_NAME): Remove. + * sysdeps/powerpc/powerpc64/sysdep.h: Formatting. + (OPD_ENT, BODY_LABEL, ENTRY_1, ENTRY_2, END_2, DOT_PREFIX, + BODY_PREFIX): Define. + (ENTRY, DOT_LABEL, END, TRACEBACK, END_GEN_TB, EALIGN): Support + HAVE_ASM_GLOBAL_DOT_NAME or no dot symbols, + USE_PPC64_OVERLAPPING_OPD or never overlapping .opd entries. + * sysdeps/powerpc/powerpc64/dl-machine.h: Include sysdep.h. + (TRAMPOLINE_TEMPLATE, RTLD_START): Use the new sysdep.h macros. + +2004-09-07 Ulrich Drepper + + * malloc/malloc.h: Don't define __THROW if it is already defined. + + * sysdeps/powerpc/bits/atomic.h (atomic_increment): Define. + (atomic_decrement): Define. + + * sysdeps/powerpc/bits/atomic.h: Implement atomic_increment_val and + atomic_decrement_val. + * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise. + * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise. + + * csu/tst-atomic.c (do_test): Add tests of atomic_increment_val + and atomic_decrement_val. + + * include/atomic.h: Define atomic_increment_val, atomic_decrement_val, + and atomic_delay is not already defined. + * sysdeps/i386/i486/bits/atomic.h: Define atomic_delay. + * sysdeps/x86_64/bits/atomic.h: Likewise. + + * miscd/sys/cdefs.h (__NTH): New macro. + (__THROW): Define using nothrow attribute for C code and gcc >= 3.2. + (__REDIRECT_NTH): New macro. + * argp/argp.h: Use __NTH and __REDIRECT_NTH where necessary. + * ctype/ctype.h: Likewise. + * dirent/dirent.h: Likewise. + * io/fcntl.h: Likewise. + * io/sys/sendfile.h: Likewise. + * io/sys/stat.h: Likewise. + * io/sys/statfs.h: Likewise. + * io/sys/statvfs.h: Likewise. + * libio/bits/stdio.h: Likewise. + * misc/sys/mman.h: Likewise. + * posix/unistd.h: Likewise. + * resource/sys/resource.h: Likewise. + * rt/aio.h: Likewise. + * signal/signal.h: Likewise. + * stdlib/stdlib.h: Likewise. + * string/argz.h: Likewise. + * string/string.h: Likewise. + * sysdeps/generic/inttypes.h: Likewise. + * sysdeps/i386/fpu/bits/mathinline.h: Likewise. + * sysdeps/powerpc/fpu/bits/mathinline.h: Likewise. + * sysdeps/s390/fpu/bits/mathinline.h: Likewise. + * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise. + * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. + * sysdeps/unix/sysv/linux/bits/sys/sysmacros.h: Likewise. + * wcsmbs/wchar.h: Likewise. + + * sysdeps/generic/glob.c: Use __PMT isntead of __P where appropriate. + + * resolv/gethnamaddr.c (getanswer): Remove __P use in variable definition. -2005-08-05 Ulrich Drepper + * io/sys/poll.h: Remove __THROW from poll prototype, it's a + cancellation point. - * timezone/checktab.awk: Update from tzcode2005k. - * timezone/private.h: Likewise. - * timezone/scheck.c: Likewise. - * timezone/tzselect.ksh: Likewise. - * timezone/zdump.c: Likewise. - * timezone/zic.c: Likewise. - * timezone/africa: Update from tzdata2005k. - * timezone/antarctica: Likewise. - * timezone/asia: Likewise. - * timezone/australasia: Likewise. + * io/fts.c (fts_open): Remove uses of __P. + + * include/stdlib.h: No need to use __THROW in this header. + +2004-09-06 Roland McGrath + + * sysdeps/mach/hurd/dl-sysdep.c (__writev): Does use assert on FD + validity, since __assert_fail gets to here anyway. Just fail. + +2004-09-06 Ulrich Drepper + + * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix problem with + AF_UNSPEC lookup with AI_CANONNAME of name which has only IPv6 + addresses. + +2004-09-05 Richard Henderson + + * sysdeps/alpha/fpu/fraiseexcpt.c: Remove file. + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_IEEE_RAISE_EXCEPTION): New. + * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.c: New file. + * sysdeps/unix/sysv/linux/alpha/kernel_sysinfo.h: New file. + * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Use it. + * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise. + +2004-09-05 Richard Henderson + + * sysdeps/alpha/div.S: Save and restore FPCR around fp operations. + * sysdeps/alpha/divl.S, sysdeps/alpha/divq.S, sysdeps/alpha/divqu.S, + sysdeps/alpha/ldiv.S, sysdeps/alpha/reml.S, sysdeps/alpha/remq.S, + sysdeps/alpha/remqu.S: Likewise. + * sysdeps/alpha/div_libc.h (FRAME): Increase to 64. + +2004-09-05 Ulrich Drepper + + * nscd/cache.c (cache_add): Correctly log GETHOSTBYADDR and + GETHOSTBYADDRv6 requests. + +2004-09-04 Ulrich Drepper + + * nscd/pwdcache.c (cache_addpw): Use correct key length in + cache_add calls. + * nscd/grpcache.c (cache_addgr): Likewise. + +2004-09-03 Alfred M. Szmidt + + * sysdeps/mach/hurd/i386/tls.h (THREAD_DTV): Changed type of _DTV + to `dtv_t *'. + +2004-09-03 Ulrich Drepper + + * nscd/nscd.c (parse_opt): Use writev instead of two write for + invalidate command. + +2004-09-02 Ulrich Drepper + + * nscd/connections.c (nscd_run): Check early for invalid request types. + +2004-09-02 Roland McGrath + + * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): New macro. + (INSTALL_NEW_DTV, THREAD_DTV): Rewritten to fetch the right word. + (THREAD_SELF): New macro. + +2004-09-02 Steven Munroe + + [BZ #357] + * stdlib/tst-setcontext.c (test_stack): Added test for stack clobber. + (main): Call test_stack. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S + (__getcontext): Push stack frame then save parms in local frame. + Improve instruction scheduling. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S + (__swapcontext): Likewise. + +2004-09-01 Andreas Schwab + + * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h [g++ >= 3.5]: Use + __builtin_offsetof. + +2004-09-01 Jakub Jelinek + + [BZ #361] + * posix/fnmatch_loop.c (FCT): For backslash between brackets, branch + to normal_bracket after fetching the next character. + * posix/tst-fnmatch.input: Add 25 new tests. + Reported by Markus Oberhumer . + +2004-09-01 Ulrich Drepper + + * elf/rtld.c (dl_main): First check existence of ld.so.preload + with access. + +2004-09-01 Roland McGrath + + * sysdeps/unix/sysv/linux/bits/waitflags.h + (WSTOPPED, WEXITED, WCONTINUED, WNOWAIT): New macros. + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_WAITID_SYSCALL): + New macro. + * sysdeps/unix/sysv/linux/waitid.c: New file. Use new syscall when + available, or fall back to the waitpid-based generic code. + +2004-08-14 Alfred M. Szmidt + + * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Let gcc + clobber the `ebp' register. + * sysdeps/mach/hurd/i386/Makefile (CFLAGS-init-first.c): Removed. + Reverts change from 2004-05-07 by Jeroen Dekkers. + + * sysdeps/mach/hurd/i386/init-first.c (init): Changed the type of + NEWSP from `void *' to `int *'. Changed all casts accordingly. + +2004-08-31 Jakub Jelinek + + * wcsmbs/wcsmbsload.c (__wcsmbs_getfct): Move attribute_hidden + before return type. + * locale/localename.c (__current_locale_name): Likewise. + +2004-08-30 Roland McGrath + + * scripts/extract-abilist.awk: If `lastversion' variable defined, omit + later sets from output. + * Makerules (check-abi): Pass option to set that with value of + LIB-abi-frozen variable if one is set. + + * abilist/libcidn.abilist: New file (empty). + +2004-08-30 Jakub Jelinek + + * posix/bits/posix1_lim.h (_POSIX_CHILD_MAX, _POSIX_OPEN_MAX): If + not __USE_XOPEN2K, use the Unix98 mandated values. + +2004-08-27 Roland McGrath + + * configure.in (usetls): Default to yes. + * configure: Regenerated. + +2004-08-26 Roland McGrath + + * configure.in (add_ons_automatic): New variable, set to yes or no + indicating --enable-add-ons with no explicit list. + (running add-on fragments): Allow a fragment to modify $libc_add_on + and have that affect its place in the list of add-ons to use. + * configure: Regenerated. + +2004-08-26 Ulrich Drepper + + * nscd/cache.c: Major rewrite. The data is now optionally kept in + a mmaped memory region which is automatically mirrored on disk. + This implements persistent data storage. The Memory handled + needed to be completely revamped, it now uses a garbage collection + mechanism instead of malloc. + * nscd/connections.c: Likewise. + * nscd/nscd.c: Likewise. + * nscd/nscd.h: Likewise. + * nscd/nscd_conf.c: Likewise. + * nscd/nscd_stat.c: Likewise. + * nscd/grpcache.c: Likewise. + * nscd/hstcache.c:: Likewise. + * nscd/pwdcache.c:: Likewise. + * nscd/Makefile: Add rules to build mem.c. + * nscd/mem.c: New file. + * nscd/nscd.conf: Describe new configuration options. + +2004-08-26 Kaz Kojima + + * sysdeps/unix/sysv/linux/mips/pread.c: Include sgidefs.h only if + NO_SGIDEFS_H isn't defined. + * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. + + * sysdeps/unix/sysv/linux/sh/pread.c: Define NO_SGIDEFS_H and + _MIPS_SIM. + * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise. + +2004-08-26 Ulrich Drepper + + * nscd/connections.c (nscd_run): atomic_increment was not missing. + + * sysdeps/gnu/Makefile (libdl-sysdep_routines): Don't add eval. + Patch by Greg Schafer. + +2004-08-25 Richard Henderson + + * sysdeps/alpha/elf/start.S (_start): Use $15 as frame unwind + instead of $31. Zero $15. + * sysdeps/unix/sysv/linux/alpha/clone.S (thread_start): Likewise. + +2004-08-25 Ulrich Drepper + + * sysdeps/powerpc/powerpc64/bits/atomic.h + (__arch_compare_and_exchange_bool_32_acq): Fix case where oldval + is negative. + (__arch_compare_and_exchange_bool_32_rel): Likewise. + + * nscd/connections.c: Make socket nonblocking so that threads + don't get stuck on accept. Fix locking. + + * nscd/grpcache.c (cache_addgr): Use copy of original key in hash + entry with alternative key. + * nscd/pwdcache.c (cache_addpw): Likewise. + +2004-08-25 Richard Sandiford + + * sysdeps/mips/dl-machine.h (_dl_start_user): Don't set + __libc_stack_end. + +2004-08-23 Ulrich Drepper + + * sysdeps/gnu/netinet/udp.h: Cosmetic changes. Remove unnecessary + __BEGIN_DECLS/__END_DECLS. + +2004-08-23 Andreas Jaeger + + [BZ #341] + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOATIME): Define. + * sysdeps/unix/sysv/linux/arm/bits/fcntl.h (O_NOATIME): Likewise. + * sysdeps/unix/sysv/linux/cris/bits/fcntl.h (O_NOATIME): Likewise. + * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (O_NOATIME): Likewise. + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (O_NOATIME): Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (O_NOATIME): Likewise. + * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (O_NOATIME): Likewise. + * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOATIME): Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (O_NOATIME): Likewise. + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_NOATIME): Likewise. + * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (O_NOATIME): Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_NOATIME): Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (O_NOATIME): Likewise. + +2004-08-21 Ulrich Drepper + + * malloc/hooks.c (DEFAULT_CHECK_ACTION): Moved to malloc.c. + (check_action): Likewise. + When printing error messages, use malloc_printf_nc now instead of + fiddling with the streams cancellation flag in every place. + * malloc/malloc.c (DEFAULT_CHECK_ACTION): New definition. Change + default to 3. + (check_action): New variable. + (unlink): Print error message and eventually terminate in case list + is corrupted. + (malloc_printf_nc): New function. Use it in _int_free. + Change proposed by Arjan van de Ven. + + * dlfcn/Makefile: Don't build eval.c anymore. + +2004-08-20 Roland McGrath + + * csu/Makefile ($(objpfx)version-info.h): Use printf in place + of echo -e for POSIX.2 portability. + Reported by Paul Jarc . + +2004-08-19 Ulrich Drepper + + * sysdeps/posix/getaddrinfo.c (gaih_inet): Minor optimizations in + list generation. + + * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use + getcanonname_r function if AI_CANONNAME flag is not set in + request. + + * nis/nss_compat/compat-initgroups.c (getgrent_next_nss): + Initialize mysize with limits only if latter is >= 0. Use mysize + in malloc call. + +2004-08-19 Jakub Jelinek + + * sysdeps/posix/getaddrinfo.c (gaih_inet): Cast canon to (char *) + to avoid warning. + + * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Initialize + status to NSS_STATUS_UNAVAIL. + +2004-08-19 Ulrich Drepper + + * sysdeps/posix/getaddrinfo.c (gaih_inet): Use h->h_name in the + cannoname lookup since it has the FQDN even if the original NAME + value has not. + +2004-08-18 Ulrich Drepper + + * sysdeps/posix/getaddrinfo.c (gaih_inet): Store NAME parameter + pointer in new variable ORIG_NAME and use this pointer when + determination of canonical name failed, not the possibly IDN + translated value of NAME. + +2004-08-17 Ulrich Drepper + + * resolv/resolv.h (RES_DEFAULT): Add RES_NOIP6DOTINT. + * resolv/res_init.c (res_setoptions): Recognize ip6-dotint option. + Reset RES_NOIP6DOTINT flag in this case.. + + * sysdeps/posix/getaddrinfo.c: Fix memory handling of + ai_canonname. + +2004-08-16 Ulrich Drepper + + * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Don't use + CNAME records, we better follow the chain of CNAME records which + can be accomplished with A/AAAA lookups. + +2004-08-15 Roland McGrath + + * sysdeps/unix/sysv/linux/bits/resource.h (enum __rusage_who): + Remove __RUSAGE_BOTH constant and RUSAGE_BOTH macro. + * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise. + +2004-08-15 Roland McGrath + + * sysdeps/i386/i686/Makefile (elide-routines.os): Append hp-timing to + this, not ... + (static-only-routines): ... this. + * sysdeps/ia64/Makefile: Likewise. + * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise. + * sysdeps/sparc/sparc64/Makefile: Likewise. + * sysdeps/x86_64/Makefile: Likewise. + * sysdeps/i386/i686/hp-timing.c: Revert copyright terms change. + * sysdeps/ia64/hp-timing.c: Likewise. + * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Likewise. + * sysdeps/sparc/sparc64/hp-timing.c: Likewise. + + * csu/elf-init.c: Update copyright terms including special exception + for these trivial files, which are statically linked into executables + that use dynamic linking for the significant library code. + * io/fstat.c: Likewise. + * io/fstat64.c: Likewise. + * io/lstat.c: Likewise. + * io/lstat64.c: Likewise. + * io/stat.c: Likewise. + * io/stat64.c: Likewise. + * stdlib/atexit.c: Likewise. + * sysdeps/alpha/elf/initfini.c: Likewise. + * sysdeps/alpha/elf/start.S: Likewise. + * sysdeps/arm/elf/start.S: Likewise. + * sysdeps/cris/elf/start.S: Likewise. + * sysdeps/generic/initfini.c: Likewise. + * sysdeps/generic/mknod.c: Likewise. + * sysdeps/hppa/elf/initfini.c: Likewise. + * sysdeps/hppa/elf/start.S: Likewise. + * sysdeps/i386/elf/start.S: Likewise. + * sysdeps/i386/i686/hp-timing.c: Likewise. + * sysdeps/ia64/elf/initfini.c: Likewise. + * sysdeps/ia64/elf/start.S: Likewise. + * sysdeps/ia64/hp-timing.c: Likewise. + * sysdeps/m68k/elf/start.S: Likewise. + * sysdeps/mach/start.c: Likewise. + * sysdeps/mips/elf/start.S: Likewise. + * sysdeps/powerpc/powerpc32/elf/start.S: Likewise. + * sysdeps/powerpc/powerpc64/elf/start.S: Likewise. + * sysdeps/s390/s390-32/elf/start.S: Likewise. + * sysdeps/s390/s390-32/initfini.c: Likewise. + * sysdeps/s390/s390-64/elf/start.S: Likewise. + * sysdeps/s390/s390-64/initfini.c: Likewise. + * sysdeps/sh/elf/initfini.c: Likewise. + * sysdeps/sh/elf/start.S: Likewise. + * sysdeps/sparc/sparc32/elf/start.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Likewise. + * sysdeps/sparc/sparc64/elf/start.S: Likewise. + * sysdeps/sparc/sparc64/hp-timing.c: Likewise. + * sysdeps/standalone/i386/start.S: Likewise. + * sysdeps/standalone/i960/start.S: Likewise. + * sysdeps/standalone/m68k/m68020/start.S: Likewise. + * sysdeps/unix/arm/start.c: Likewise. + * sysdeps/unix/bsd/osf/alpha/start.S: Likewise. + * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise. + * sysdeps/unix/sparc/start.c: Likewise. + * sysdeps/unix/start.c: Likewise. + * sysdeps/unix/sysv/aix/start.s: Likewise. + * sysdeps/unix/sysv/irix4/start.c: Likewise. + * sysdeps/x86_64/elf/initfini.c: Likewise. + * sysdeps/x86_64/elf/start.S: Likewise. + +2004-08-15 Roland McGrath + + [BZ #227] + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_BRK_PAGE_ROUNDED): New macro. + * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk) + [! __ASSUME_BRK_PAGE_ROUNDED]: Adjust the break up if it falls within + the partial page after the dynamic linker's own data segment. + +2004-08-15 Ulrich Drepper + + * sysdeps/posix/getaddrinfo.c (gaih_inet): Optimize generation of + v4-mapped addresses a bit. + (gethosts): Move alloca out of macro, so that it is done only once. + + * sysdeps/posix/getaddrinfo.c (gaih_addrtuple): Change type of + addr to avoid casts. + (gethosts): Removed. + (gethosts2): Renamed to gethosts. Make it usable for family != + AF_UNSPEC. Fix AI_V4MAPPED. + (gaih_inet): Remove use of old gethosts. Always use what used to be + gethosts2. If entry is found, try to use the same NSS module's + getcanonname_r function. Use gethostbyaddr for AI_CANONNAME only + if getcanonname_r was not available. Fix filtering of AI_V4MAPPED + addresses. Numerous cleanups. + * resolv/nss_dns/dns-canon.c: New file. + * resolv/Makefile (libnss_dns-routines): Add dns-canon. + * resolv/Versions (libnss_dns): Add _nss_dns_getcanonname_r. + + * elf/Makefile: Add rules to build and run tst-dlopenrpath. + * elf/tst-dlopenrpath.c: New file. + * elf/tst-dlopenrpathmod.c: New file. + + * intl/tst-gettext.sh: Adjust for change of de.po file to UTF-8. + * intl/tst-gettext.c: Likewise. + + * nss/getent.c (ahosts_keys_int): Correctly print IPv6 addresses. + + * nss/getent.c: Allow queries for getaddrinfo with AF_INET and + AF_INET6. + +2004-08-14 Ulrich Drepper + + * po/de.po: Update from translation team. + +2004-08-14 Roland McGrath + + * sysdeps/mach/configure: Regenerated. + * sysdeps/mach/hurd/configure: Regenerated. + +2004-08-14 Ulrich Drepper + + * sysdeps/posix/getaddrinfo.c (getaddrinfo): If RFC3484 sorting is + performed, make sure it is still the first entry after sorting + that has the ai_canonname information. + + * sysdeps/posix/getaddrinfo.c (gaih_inet): Really set ai_canonname + only in one entry. + +2004-08-13 Daniel Jacobowitz + + * scripts/output-format.sed: Handle default case of three-argument + OUTPUT_FORMAT. + + * sysdeps/arm/machine-gmon.h (mcount_internal): Mark as + __attribute_used__. + +2004-08-13 Ulrich Drepper + + * nss/getent.c (ahosts_keys): ai_canonname is NULL for all but the + first returned entry. Print name only if not NULL. + + * nis/nss_nis/nis-netgrp.c: Remove locking by using data in struct + __netgrent object passed in instead of global variables. + Optimize. + * nis/nss_nisplus/nisplus-netgrp.c: Remove locking by using data + in struct __netgrent object passed in instead of global variables. + * inet/netgroup.h (struct __netgrent): Add service_user field. + Move cursor in anonymous union, add new field location to that + union. + * inet/getnetgrent_r.c: Extensive rewrite to really enable + concurrent uset of set/get/endnetgrent and innetgr. + Reported by Chuck Simmons. + + * inet/netgroup.h (struct name_list): Replace name pointer with + zero-sized array. + * inet/getnetgrent_r.c: Adjust code for change in name_list + layout. Numerous strdup and free calls removed. + + * elf/sprof.c (read_symbols): When comparing aliases, prefer + non-hidden over hidden symbols and strong over weak symbols + if both don't start with '_'. + + * malloc/malloc.c: Use strong_alias instead of weak_alias wherever + possible. + +2004-08-12 Jakub Jelinek + + * sysdeps/unix/sysv/linux/bits/resource.h: Define non-standard + RUSAGE_ enums as __RUSAGE_ and adjust macros accordingly. + * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise. + Define non-standard RLIMIT_ enums as __RLIMIT_ and adjust macros + accordingly. + +2004-08-11 Andreas Schwab + + * resolv/res_libc.c: Move definition of __res_initstamp ... + * resolv/res_init.c: ... here. + +2004-08-10 GOTO Masanori + + * locale/C-time.c: Change default ERA value from NULL to "". + * locale/tst-C-locale.c: Add test case for ERA keywords. + +2004-08-12 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/resource.h: Define non-standard + RLIMIT__ enums as __RLIMIT_ and adjust macros accordingly. + * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise. + +2004-08-12 Jakub Jelinek + + * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_SIGPENDING, + RLIMIT_MSGQUEUE): Add. + (RLIMIT_NLIMITS, RLIM_NLIMITS): Adjust. + * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIMIT_SIGPENDING, + RLIMIT_MSGQUEUE, RLIMIT_NLIMITS): Add. + (RLIM_NLIMITS): Adjust. + * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIMIT_SIGPENDING, + RLIMIT_MSGQUEUE, RLIMIT_NLIMITS): Add. + (RLIM_NLIMITS): Adjust. + * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_SIGPENDING, + RLIMIT_MSGQUEUE, RLIMIT_NLIMITS): Add. + (RLIM_NLIMITS): Adjust. + +2004-08-12 Jakub Jelinek + + * resolv/res_query.c (__libc_res_nsearch): Protect the debugging + printf with #ifdef DEBUG and RES_DEBUG check. + + * sysdeps/unix/sysv/linux/bits/shm.h: Move __END_DECLS after + __USE_MISC #endif. + * sysdeps/generic/bits/shm.h: Add __BEGIN_DECLS for __getpagesize + declaration. + * sysdeps/gnu/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise. + +2004-08-12 Ulrich Drepper + + * po/ca.po: Update from translation team. + +2004-08-11 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/shm.h: Add __BEGIN_DECLS for + __getpagesize declaration. + +2004-08-11 Roland McGrath + + * configure.in (libc_cv_cpp_asm_debuginfo): Add missing braces around + commands inside &&. + Reported by Andreas Schwab . + * configure: Regenerated. + + * posix/tst-waitid.c (do_test): Ignore SIGCHLD before cleanup SIGKILL. + +2004-08-11 Ulrich Drepper + + * time/tzset.c (tzset_internal): Add new parameter which is + nonzero if called through tzset. Use TZDEFAULT name including + name comparison if the new parameter is zero. This means implicit + tzset calls will not cause files to be opened and read by tzfile.c + all the time. + +2004-08-11 Jakub Jelinek + + * rt/tst-timer2.c (do_test): If timer_create fails, just continue. + * rt/tst-timer4.c (do_test): If one of the timer_create calls fails, + return 1 immediately. + + * time/tzfile.c (__tzfile_read): Free transitions only if it will + not be reused. + + * sysdeps/ieee754/dbl-64/mpa.c: Include . + * sysdeps/ieee754/dbl-64/mpa.h (MAX, MIN): Macros removed. + + * stdio-common/tst-popen.c: Include . + + * resolv/res_send.c (__libc_res_nsend): Only define TMPBUF #if DEBUG. + + * sysdeps/pthread/aio_misc.c (handle_fildes_io): Remove noreturn + attribute. Return NULL instead of calling pthread_exit at the end. + +2004-08-11 Roland McGrath + + * iconvdata/testdata/ISO-2022-JP-3: Regenerated. + +2004-08-10 Alfred M. Szmidt + + * sysdeps/generic/bits/in.h (struct ip_mreq): Remove definition. + +2004-08-10 Jakub Jelinek + + * libio/bits/stdio.h (fread_unlocked): Cast 0 to (size_t). + (fwrite_unlocked): When checking if size * n is <= 8, cast each + argument to size_t individually. Cast n to (void) instead of + (size_t), surround with (), return (size_t) 0 if one of n or size + is 0. [BZ #316] + * stdio-common/Makefile (tests): Add tst-unlockedio. + * stdio-common/tst-unlockedio.c: New test. + +2004-08-09 Roland McGrath + + * manual/install.texi (Supported Configurations): Replace bug-glibc + mention with web URL. + * INSTALL: Regenerated. + * locale/iso-3166.def: Likewise, in comment. + * locale/iso-4217.def: Likewise. + * locale/iso-639.def: Likewise. + * posix/cpio.h: Remove bug reporting comment. + +2004-08-09 Ulrich Drepper + + * libio/bits/stdio.h (fread_unlocked): Add a couple of (size_t) + casts to handle funny calls with floating point argument values + and signed values correctly and without warning. + (fwrite_unlocked): Likewise. [BZ #309] + + * malloc/memusage.c (me): Use creat64, not creat. + * malloc/memusagestat.c: Fix handling of very large sizes. [BZ #285] + Patch by Guy Maor . + + * elf/ldconfig.c (options): Mark parameter option names as + translatable. [BZ #253] Patch by Jakub Bogusz . + + * iconv/gconv_charset.h (strip): Also allow comma which is what is + used to separate options. [BZ #194] + +2004-08-09 Roland McGrath + + * FAQ.in: Refer to web pages instead of bug-glibc. + * FAQ: Regenerated. + + * time/strptime_l.c: #include , `bool' used in last change. + +2004-08-09 Ulrich Drepper + + * time/tzset.c (tzset_internal): If TZ is not set do not compare + old and new tz value since it might be /etc/localtime in both + cases although the file changed. [BZ #154] + Patch by Christian Franke . + + * time/tzfile.c (__tzfile_read): Determine dev/ino of file. + Compare with values of previously opened file. Don't do anything + is they match. + +2004-08-08 Ulrich Drepper + + * elf/dl-load.c (_dl_map_object): If __RTLD_CALLMAP flag is set, + reset loader before the actual loading. + * elf/dl-open.c (dl_open_worker): If file name contains no path + element determine map of caller. Pass caller map in this case to + _dl_map_object. Set __RTLD_CALLMAP in mode. + * include/dlfcn.h (__RTLD_CALLMAP): Define. [BZ #116] + Patch by Greg Wolodkin . + + * misc/syslog.c (openlog_internal): Always try both UDP and TCP. + [BZ #108] Patch mainly by Bjorn Andersson . + + * configure.in: Also recognize i786. [BZ #106] + Patch by . + + * resolv/res_query.c (__libc_res_nsearch): Correctly test whether + name contains any dots. [BZ #95] + + * resolv/res_send.c: Compiling with DEBUG defined works again. + * resolv/gethnamaddr.c (dprintf): Renamed to Dprintf. Adjust all + callers. + + * resolv/tst-leaks.c (TIMEOUT): Define so that if no server is + available the process is not killed. [BZ #41] + + * intl/tst-gettext.c (main): Improve some messages. [BZ #33] + + * time/strptime_l.c (__strptime_internal): Fix handling of %Ey. + [BZ #28] + + * po/sv.po: Update from translation team. + +2004-08-07 Ulrich Drepper + + * inet/netinet/in.h: Add more const to the setipv4soucefilter, + getsourcefilter, and setsourcefilter parameter list. + * sysdeps/generic/setipv4sourcefilter.c: Likewise. + * sysdeps/generic/getsourcefilter.c: Likewise. + * sysdeps/generic/setsourcefilter.c: Likewise. + * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise. + * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise. + * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise. + + * po/tr.po: Update from translation team. + +2004-08-06 Ulrich Drepper + + * iconvdata/jisx0213.h (jisx0213_added_in_2004_p): Fix typo. + Reported by Paolo Bonzini. + +2004-08-06 Jakub Jelinek + + * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add + always_inline. + * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_runtime_setup, + elf_machine_fixup_plt, elf_machine_plt_conflict): Likewise. + + * sysdeps/unix/sysv/linux/netatalk/at.h: Include bits/sockaddr.h + before including linux/atalk.h. + + * resolv/res_libc.c: Include atomic.h. + + * intl/finddomain.c (free_mem): Rename to... + (_nl_finddomain_subfreeres): ... this. Add + __libc_freeres_fn_section. + * intl/loadmsgcat.c (_nl_unload_domain): Add + __libc_freeres_fn_section. + * intl/gettextP.h (_nl_unload_domain): Move into #ifdef _LIBC. + Add attribute_hidden. + (_nl_findomain_subfreeres): New prototype. + * iconv/gconv_db.c (free_mem): Call _nl_findomain_subfreeres. + +2004-07-30 Guido Guenther + + * nss/getent.c (passwd_keys): Use strtoul instead of isdigit to + test if the key is numeric or not. + (group_keys): Likewise. + +2004-08-05 Ulrich Drepper + + * inet/netinet/in.h: Define struct ip_msfilter, IP_MSFILTER_SIZE, + struct group_filter, and GROUP_FILTER_SIZE. + * include/sys/socket.h: Declare __getsockopt. + * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: New file. + * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: New file. + * sysdeps/unix/sysv/linux/setsourcefilter.c: New file. + * sysdeps/unix/sysv/linux/getsourcefilter.c: New file. [BZ #211] + + * po/ko.po: Update from translation team. + +2004-08-04 Jakub Jelinek + + * hesiod/hesiod.c (__hesiod_res_get): Use calloc instead of malloc + + memset. + (__hesiod_res_set): Free nsaddrs. + + * include/resolv.h (__res_maybe_init): Add prototype. + * resolv/resolv.h (struct __res_state): Add _u._ext.initstamp field. + * resolv/Versions (libc): Add __res_maybe_init@@GLIBC_PRIVATE. + * resolv/res_libc.c (__res_initstamp, lock): New variables. + (res_init): Increase __res_initstamp. + (__res_maybe_init): New function. + * resolv/res_init.c (__res_vinit): Initialize _u._ext.initstamp. + * hesiod/hesiod.c (__hesiod_res_get): Use __res_maybe_init instead + of RES_INIT check and {res_ninit,__res_ninit,res_init} call. + * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise. + * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r, + _nss_dns_gethostbyaddr_r): Likewise. + * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r, + _nss_dns_getnetbyaddr_r): Likewise. + * resolv/gethnamaddr.c (gethostbyname, gethostbyname2, + gethostbyaddr): Likewise. + * resolv/res_data.c (fp_nquery, res_mkquery, res_mkupdate, + res_isourserver, res_sendsigned, res_update, res_search, + res_querydomain): Likewise. + * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Likewise. + * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise. + * nss/getnssent_r.c (__nss_setent, __nss_endent, __nss_getent_r): + Likewise. + +2004-08-05 Ulrich Drepper + + * sysdeps/posix/getaddrinfo.c (gaih_inet): Set ai_family for + V4-mapped IPv6 addresses and req->ai_family==AF_INET. + Reported by A. Guru . + + * po/sv.po: Update from translation team. + * po/sk.po: Likewise. + * po/pl.po: Likewise. + +2004-08-04 Jakub Jelinek + Ulrich Drepper + + * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Don't read more input + characters than necessary. + +2004-08-05 Ulrich Drepper + + * wcsmbs/Makefile (tests): Add tst-mbsrtowcs. + * wcsmbs/tst-mbsrtowcs.c: New file. + + * po/fr.po: Update from translation team. + +2004-08-04 Jakub Jelinek + + * resolv/inet_pton.c (inet_pton4): Disallow octal numbers. Reported + by A. Guru . [BZ #295] + +2004-08-05 Ulrich Drepper + + * po/nl.po: Update from translation team. + + * sysdeps/posix/getaddrinfo.c (gaih_inet): Recognize all the IPv4 + numeric address formats inet_addr knows. + (getaddrinfo): Allow AI_NUMERICSERV flag. + If neither IPv4 nor IPv6 interface is present we cannot make any + decision for AI_ADDRCONFIG. Fail if AI_NUMERICSERV is set and the + string is not just a number. Remove useless freeaddrinfo call. + * resolv/netdb.h (AI_NUMERICSERV): Define. + Based on a patch by a.guru@sympatico.ca. + +2004-08-04 Jakub Jelinek + + * stdlib/strfmon_l.c (__vstrfmon_l): Memset whole info structure + instead of trying to initialize some, but not all, fields one by + one. + * stdio-common/printf_size.c (printf_size): Initialize fb_info + structure with *info instead of trying to initialize some, but not + all, fields from it. + + * nscd/connections.c (handle_request): Check if req->type is in + LASTDBREQ .. LASTREQ range instead of req. + + * locale/programs/linereader.c (lr_create): Initialize + lr->return_widestr to 0. + + * elf/dl-close.c (free_slotinfo): Add __libc_freeres_fn_section. + (free_mem): Call free_slotinfo just once. + + * stdio-common/tst-fmemopen.c (main): Check for MAP_FAILED instead + of NULL. + + * locale/localeinfo.h (_nl_locale_subfreeres): New prototype. + * locale/setlocale.c (free_category): Add __libc_freeres_fn_section. + (free_mem): Rename to _nl_locale_subfreeres. + * iconv/gconv_db.c: Include locale/localeinfo.h. + (free_derivation, free_modules_db): Add __libc_freeres_fn_section. + (free_mem): Call _nl_locale_subfreeres. + * iconv/gconv_dl.c (do_release_all): Add __libc_freeres_fn_section. + +2004-08-04 Roland McGrath + + * Makeconfig ($(common-objpfx)config.status): + Fix typo: $(add_ons) -> $(add-ons). + (Makeconfig-add-on): New variable. When doing $(sysdep-makeconfigs) + include, use black magic to get it set to an add-on's name during the + include of the add-on's Makeconfig. + + * configure.in: Use variable name `libc_add_on' when sourcing add-on + configure fragments, so they can refer to this. + * configure: Regenerated. + +2004-08-04 Roland McGrath + + * posix/tst-waitid.c (test_child): Sleep a second before stopping. + (do_test): Bump sleep to three seconds. + (sigchld, check_sigchld): New functions. + (do_test): Handle SIGCHLD and check for getting the right details. + + * posix/tst-waitid.c (do_test): Kill the child process when bailing + out early on some failure. + [WCONTINUED]: Test WCONTINUED functionality. + +2004-08-03 Ulrich Drepper + + * nscd/connections.c (handle_request): Print more descriptive + message for invalid request types. + +2004-08-02 Jakub Jelinek + + * iconvdata/ibm932.c (BODY): Avoid binary search for ch >= 0xffff. + Always treat high as highest number in range + 1. + * iconvdata/ibm943.c (BODY): Likewise. + +2004-07-31 Bruno Haible + + * iconvdata/JISX0213.TXT: Updated to JISX0213 plane 1 version 2004. + * iconvdata/jisx0213.c (__jisx0213_to_ucs_main, + __jisx0213_to_ucs_pagestart, __jisx0213_from_ucs_level1, + __jisx0213_from_ucs_level2): Regenerated. + * iconvdata/jisx0213.h (jisx0213_added_in_2004_p): New function. + * iconvdata/iso-2022-jp-3.c (JISX0213_1_2000_set): Renamed from + JISX0213_1_set. + (JISX0213_1_2004_set): New enum value. + (BODY for FROM_LOOP): Treat ESC $ ( Q like ESC $ ( O. + (BODY for TO_LOOP): For JISX 0213 plane 1 characters, emit ESC $ ( O + when possible, ESC $ ( Q when needed. + * iconvdata/testdata/EUC-JISX0213: Add the 10 new characters. + * iconvdata/testdata/EUC-JISX0213..UTF8: Update. + * iconvdata/testdata/SHIFT_JISX0213: Add the 10 new characters. + * iconvdata/testdata/SHIFT_JISX0213..UTF8: Update. + * iconvdata/testdata/ISO-2022-JP-3: Add the 10 new JISX0213 characters. + * iconvdata/testdata/ISO-2022-JP-3..UTF8: Update. + +2004-07-22 Bruno Haible + + * iconvdata/gconv-modules (ISO-8859-7): Add alias ISO_8859-7:2003. + +2004-07-29 David S. Miller + + * sysdeps/sparc/sparc64/sparcv9b/memcpy.S (memcpy): Optimize + better for smaller than 256 byte copies. Also, use only one + unrolled loop instead of two for the large copy case. + +2004-07-30 Richard Henderson + + * sysdeps/alpha/divq.S: Save t3 before it gets clobbered. + * sysdeps/alpha/remq.S: Likewise. + * sysdeps/alpha/div.S, sysdeps/alpha/ldiv.S: Rewrite with the + new division algorithms in divl.S and divq.S respectively. + +2004-07-28 GOTO Masanori + + * timezone/asia: Update from tzdata2004b. + * timezone/backward: Likewise. * timezone/europe: Likewise. * timezone/iso3166.tab: Likewise. * timezone/leapseconds: Likewise. * timezone/northamerica: Likewise. - * timezone/solar87: Likewise. - * timezone/solar88: Likewise. - * timezone/solar89: Likewise. * timezone/southamerica: Likewise. * timezone/zone.tab: Likewise. -2005-08-05 Roland McGrath + * timezone/private.h: Update from tzcode2004b. + * timezone/zic.c: Likewise. - [BZ #1251] - * mach/shortcut.awk: Ignore `weak_alias' lines. - Reported by Alfred M. Szmidt . +2004-07-27 Ulrich Drepper - [BZ #1250] - * sysdeps/mach/hurd/mig-reply.c (reply_port): Don't use ?: as lvalue. - Reported by Alfred M. Szmidt . + * nscd/grpcache.c (cache_addgr): If necessary, add entry also + under the name the user provided. + * nscd/pwdcache.c (cache_addpw): Likewise. -2005-08-03 Dwayne Grant McConnell +2004-07-26 Roland McGrath - * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): - Use +=, not =, to append. Remove duplicate flags. - * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s): - Likewise. Fix comments. + * sysdeps/posix/waitid.c [WEXITED]: Clear WEXITED bit in OPTIONS for + call to __waitpid. -2005-08-01 Ulrich Drepper +2004-07-26 Ulrich Drepper - * sysdeps/unix/sysv/linux/sigwait.c (do_sigwait): Restart system - call if it returned EINTR. + * nscd/hstcache.c (cache_addhst): Fix two scenarios which lead to + memory leaks. -2005-07-31 Ulrich Drepper + * sysdeps/unix/sysv/linux/ifreq.c (__ifreq): Assign pointer for + new buffer at the right time. + Reported by Jakub Bogusz . - * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Move - helper variable into .data.rel.ro. Simplify the code. Extend - comment to explain prelinking. +2004-07-25 Ulrich Drepper -2005-07-31 Andreas Jaeger + * inet/Versions [libc, GLIBC_2.3.4]: Add getipv4sourcefilter, + getsourcefilter, setipv4sourcefilter, and setsourcefilter. + * inet/Makefile (routines): Likewise. + * inet/netinet/in.h: Add prototypes for getipv4sourcefilter, + getsourcefilter, setipv4sourcefilter, and setsourcefilter. + * sysdeps/generic/getipv4sourcefilter.c: New file. + * sysdeps/generic/setipv4sourcefilter.c: New file. + * sysdeps/generic/getsourcefilter.c: New file. + * sysdeps/generic/setsourcefilter.c: New file. - * include/bits/syslog.h: New file. +2004-07-17 Steven Munroe -2005-07-30 Ulrich Drepper + * sysdeps/powerpc/powerpc64/memcpy.S: Improve instruction scheduling + for POWER4 machines. - * elf/dl-load.c [__WORDSIZE==64] (FILEBUF_SIZE): Adjust the value - up. We have more program header entries now and the note section - was normally not loaded. +2004-07-21 Jakub Jelinek - * nis/nis_subr.c: Some minor code cleanups. + [BZ #274] + * stdlib/strtod_l.c (INTERNAL (__STRTOF)): Fix used >= + BITS_PER_MP_LIMB shifting up. + * stdlib/tst-strtod.c (main): Add new tests. -2005-07-29 Ulrich Drepper +2004-07-23 Jakub Jelinek - * misc/bits/syslog.h: New file. - * misc/sys/syslog.h: Include for fortification. - * misc/Makefile (headers): Add bits/syslog.h. - * include/sys/syslog.h: Add __vsyslog_chk prototype and hidden_proto. - * sysdeps/generic/syslog.c: Change vsyslog function to __vsyslog_chk. - Call __vfprintf_chk if necessary. Make vsyslog a wrapper. Add - __syslog_chk. - * misc/Versions: Export __syslog_chk and __vsyslog_chk. + [BZ #282] + * libio/iopopen.c (_IO_new_popen): Use _IO_init instead of + _IO_no_init. Remove wd from struct locked_FILE. + (_IO_wproc_jumps): Remove. + Reported by Andrew Josey . + * stdio-common/Makefile (tests): Add tst-popen. + * stdio-common/tst-popen.c: New test. -2005-07-28 Thomas Schwinge +2004-07-23 Ulrich Drepper - [BZ #1137] - * misc/error.c [_LIBC]: Include and . + * posix/bits/posix1_lim.h: Fix values for _POSIX_CHILD_MAX and + _POSIX_OPEN_MAX. Add _POSIX_HOST_NAME_MAX, _POSIX_SYMLINK_MAX, + _POSIX_SYMLOOP_MAX, and _POSIX_RE_DUP_MAX. + Reported by Andrew Josey. -2005-07-28 Ulrich Drepper + * include/features.h: Document _POSIX_C_SOURCE == 200112L. - * nis/nis_xdr.c: Help gcc to avoid generating unnecessary wrapper - functions. + * grp/grp.h: Define gid_t if __USE_XOPEN2K is defined. + * pwd/pwd.h: Define uid_t and gid_t if __USE_XOPEN2K is defined. + * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, + off_t, time_t, and uid_t if __USE_XOPEN2K is defined. + * signal/signal.h: Define pid_t if __USE_XOPEN2K is defined. + * posix/unistd.h: Define gid_t, off_t, pid_t, uid_t, and + useconds_t if __USE_XOPEN2K is defined. + * io/utime.h: Define time_t if __USE_XOPEN2K is defined. + * libio/stdio.h: Declare fseeko and ftello if __USE_XOPEN2K is defined. -2005-07-28 Jakub Jelinek +2004-07-19 Thorsten Kukuk - * stdio-common/fxprintf.c (__fxprintf): Add INTUSE to _IO_vfprintf - call. - * gmon/gmon.c (write_gmon): Use __snprintf rather than snprintf. + * nis/nss_compat/compat-initgroups.c (getgrent_next_nss): Don't + allocate memory for large temporary variables with alloca. -2005-07-28 Ulrich Drepper +2004-07-22 Ulrich Drepper - * nis/nis_file.c: Rewrite the two pairs of functions into wrappers - around a pair of new, generalized functions. 22% size reduction. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Compatibility + code must have version GLIBC_2.0. Patch by Dwayne McConnell. -2005-07-27 Ulrich Drepper + * nscd/nscd_getgr_r.c (nscd_getgr_r): Avoid read call with NULL + pointer and zero length. - * nis/nis_xdr.c: Remove unnecessary cast which might hide bugs. - Rearrange code. This reduces the code size 10%. +2004-07-21 Ulrich Drepper -2005-07-26 Jakub Jelinek + * nscd/cache.c (prune_cache): Print correct list when debugging. - * misc/error.c (error_tail): Fix a comment typo. +2004-07-21 Jakub Jelinek -2005-07-25 Ulrich Drepper + * resolv/res_libc.c (res_init): If RES_INIT is set and + _res.nscount > 0, call __res_nclose and free nsaddrs. + * resolv/Makefile: Add rules to build and run tst-leaks2. + * resolv/tst-leaks2.c: New test. - * po/zh_TW.po: Update from translation team. +2004-07-21 Ulrich Drepper - * debug/mbstowcs_chk.c: New file. - * debug/wcstombs_chk.c: New file. - * debug/Makefile (routines): Add mbstowcs_chk and wcstombs_chk. - * debug/Versions: Add __mbstowcs_chk and __wcstombs_chk. - * stdlib/bits/stdlib.h: Add definitions for mbstowcs and wcstombs. + * intl/libintl.h: Don't define macros for C++. + Patch by Goto Masanori. - * wcsmbs/bits/wchar2.h (mbsrtowcs): Pretty printing. +2004-07-22 GOTO Masanori -2005-07-24 Ulrich Drepper + [BZ #276] + * include/arpa/inet.h: Change inet_aton type from in_addr_t to int. + * inet/arpa/inet.h: Likewise. + * resolv/inet_addr.c: Likewise. - * string/test-memset.c (test_main): Use negative byte value in - test. +2004-07-21 Alexandre Oliva - * string/test-memset.c (do_one_test): Compare effect of call, not - only return value. - Add a few casts to avoid warnings. + * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Add semtimedop. -2005-07-24 SUGIOKA Toshinobu +2004-07-20 Roland McGrath - * sysdeps/sh/memset.S (memset): Correct 2nd argument handling. + * configure.in (add_ons): Substitute this. Move $add_ons handling + after AC_CANONICAL_HOST and default setting of $machine et al. + Don't set $subdirs from $add_ons. + Instead, source add-on/configure fragments early on. + (base_machine): If it's already set, don't set it based on $machine. + (libc_config_ok): New variable, set to no. If an add-on fragment sets + it to yes, skip the tuple sanity check as if --enable-hacker-mode. + (sysnames): Try appending add-on names after machine as well. + * config.make.in (add-ons): Set from @add_ons@ instead of @subdirs@. + * Makeconfig ($(common-objpfx)config.status): Also depend on configure + files in $(add_ons) dirs. -2005-07-24 Ulrich Drepper + * sysdeps/unix/sysv/linux/bits/in.h (struct ip_mreq): Remove + definition, now in netinet/in.h proper. - [BZ #1125] - * posix/Makefile (tests): Add tst-execvp4. - * posix/tst-execvp4.c: New file. +2004-07-20 Alexandre Oliva -2005-07-24 Jakub Jelinek + * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h): + Sort by syscalls. Make sure we get headers such as sgidefs.h from + the build tree before just-installed ones. - [BZ #1125] - * posix/execvp.c (execvp): Change path_malloc to - char *, free that pointer on failure. + * sysdeps/mips/atomicity.h: Use standard names for ABI macros, + include sgidefs.h where appropriate. + * sysdeps/mips/dl-machine.h: Likewise. + * sysdeps/mips/machine-gmon.h: Likewise. + * sysdeps/mips/bits/setjmp.h: Likewise. + * sysdeps/mips/fpu/bits/mathdef.h: Likewise. + * sysdeps/mips/mips64/__longjmp.c: Likewise. + * sysdeps/mips/mips64/setjmp_aux.c: Likewise. + * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise. + * sysdeps/unix/sysv/linux/mips/pread.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/ptrace.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/user.h: Likewise. + * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h): + Likewise. + * sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h): + Likewise. -2005-07-24 Ulrich Drepper + * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Update to use + _dl_lookup_symbol_x. + (elf_machine_runtime_link_map): Don't INTUSE _dl_signal_error. - * wcsmbs/bits/wchar2.h: Use __FILE not FILE. - * wcsmbs/Makefile: Add rules to build and run tst-wchar-h. - * wcsmbs/tst-wchar-h.c: New file. +2004-07-20 Ulrich Drepper -2005-07-22 Ulrich Drepper + * inet/netinet/in.h: Define struct ip_mreq and struct + ip_mreq_source. + Define struct group_req and struct group_source_req. + * sysdeps/unix/sysv/linux/bits/in.h: Define IP_UNBLOCK_SOURCE, + IP_BLOCK_SOURCE, IP_ADD_SOURCE_MEMBERSHIP, + IP_DROP_SOURCE_MEMBERSHIP, IP_MSFILTER, MCAST_JOIN_GROUP, + MCAST_BLOCK_SOURCE, MCAST_UNBLOCK_SOURCE, MCAST_LEAVE_GROUP, + MCAST_JOIN_SOURCE_GROUP, MCAST_LEAVE_SOURCE_GROUP, and + MCAST_MSFILTER. + Define MCAST_INCLUDE and MCAST_EXCLUDE. - * stdio-common/fxprintf.c (__fxprintf): Define variable more local. + * iconvdata/gconv-modules: Add alias for IBM874 [BZ #244]. -2005-07-22 Jakub Jelinek +2004-07-19 Jakub Jelinek - * wcsmbs/bits/wchar2.h (__vfwprintf_chk, __vwprintf_chk): Use - __gnuc_va_list rather than _G_va_list. + [BZ #258] + * math/libm-test.inc (max_value, min_value): New variables. + (initialize): Initialize them. + (pow_test): Add a couple of new tests. + * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Don't generate invalid + exception if |y| >= 1U<<31. + * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Don't generate invalid + exception if |y| >= 1L<<63. + * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. + If y*log2(x) overflows to +-inf, return still +inf/+0 instead of NaN. + * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise. -2005-07-22 Roland McGrath +2004-07-18 Ulrich Drepper - [BZ #869] - * Makerules ($(objpfx)stubs): Fix last change. + * nscd/pwdcache.c (cache_addpw): Optimize case of unsuccessful + lookup a bit. + * nscd/grpcache.c (cache_addgr): Likewise. + * nscd/hstcache.c (cache_addhst): Likewise. -2005-07-21 Roland McGrath +2004-07-10 GOTO Masanori - * nscd/Makefile ($(objpfx)nscd): Pass $(nscd-cflags) to $(LINK.o). + * sysdeps/s390/s390-32/elf/start.S: Remove symbol _fp_hw. + * sysdeps/s390/s390-64/elf/start.S: Likewise. - * stdlib/Makefile (headers): Move bits/wchar.h to ... - * wcsmbs/Makefile (headers): ... here. Add bits/wchar2.h too. +2004-04-16 Andreas Schwab -2005-07-21 Jakub Jelinek + * sysdeps/ia64/bits/atomic.h: Cast first argument of + __sync_bool_compare_and_swap_si correct to void*. - * wcsmbs/bits/wchar2.h (swprintf): Remove format argument. - * debug/tst-chk1.c (do_test): Add test for swprintf with format - being the last argument. +2004-07-17 Ulrich Drepper -2005-07-21 Thorsten Kukuk + * iconv/iconv_prog.c (print_known_names): Make machine-readable + output even less cluttered. - * debug/getgroups_chk.c (__getgroups_chk): Fix return value. +2004-07-16 Steven Munroe - * stdio-common/fxprintf.c: Include string.h. + [BZ #269] + * setjmp/Makefile (tests): Add bug269-setjmp. + * setjmp/bug269-setjmp.c: New file. + * sysdeps/powerpc/powerpc64/__longjmp-common.S [SHARED && !IS_IN_rtld]: + Store R2 from jmpbuf in callers TOC save area. + * sysdeps/powerpc/powerpc64/bsd-_setjmp.S [SHARED && !IS_IN_rtld]: + Store R2 in TOC save area. + * sysdeps/powerpc/powerpc64/setjmp-common.S [SHARED && !IS_IN_rtld]: + Copy TOC save area from previous frame as R2 (TOC) in jmpbuf. -2005-07-20 Ulrich Drepper +2004-07-16 Jakub Jelinek - [BZ #1138] - * sysdeps/x86_64/fpu/libm-test-ulps: Adjust expected atan2f results. - * sysdeps/powerpc/fpu/libm-test-ulps: Likewise. + * locale/newlocale.c: Include bits/libc-lock.h. + (__libc_setlocale_lock): Extern decl. + (__newlocale): Use it. + Reported by Ulrich Weigand . + +2004-07-15 Jakub Jelinek + + * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Remove + static inline __attribute ((always_inline)). Don't define if + NO_CANCELLATION. + (__libc_fcntl): Use INLINE_SYSCALL directly instead of + __fcntl_nocancel. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__fcntl_nocancel): + Remove static inline __attribute ((always_inline)). Don't define + if NO_CANCELLATION. + (__libc_fcntl): Use INLINE_SYSCALL directly instead of + __fcntl_nocancel. + * sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Define to + __libc_fcntl if NO_CANCELLATION and __ASSUME_FCNTL64 == 0. + Don't define at all if NO_CANCELLATION and __ASSUME_FCNTL64 > 0. + (__libc_fcntl): Don't define if __fcntl_nocancel is a macro. + + [BZ #262] + * sysdeps/i386/elf/start.S (_start): Use @GOT instead of @GOTOFF + for main. + * elf/Makefile: Add rules to build and run tst-pie1. + * elf/tst-pie1.c: New test. + * elf/tst-piemod1.c: New file. + +2004-07-14 Jakub Jelinek + + [BZ #266] + * manual/string.texi (l64a): Note that the static buffer is 7 bytes + long. Rewrite example code so that it takes into account l64a output + shorter than 6 characters. + Reported by Julian Graham . + +2004-07-14 Kaz Kojima + + * sysdeps/sh/dl-machine.h: Don't reset _dl_starting_up here. + (elf_machine_rela_relative): Remove unused valiable. + +2004-07-12 Paul Eggert + + [BZ #263] + * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Don't store + outside the buffer if the read returns 0. __strtod_l can't set + endp to NULL, so remove a test for that case. + +2004-07-12 Roland McGrath + + * manual/signal.texi (Interrupted Primitives): Make clear that + TEMP_FAILURE_RETRY evaluates its expression as long int and compares + it to -1 to define "failure". + +2004-07-10 Ulrich Drepper + + * elf/ldconfig.c: Define PROCINFO_CLASS as static before including + ldsodefs.h. + * sysdeps/generic/ldsodefs.h: Only define PROCINFO_CLASS if it is not + already defined. + * sysdeps/i386/dl-procinfo.c: Define PROCINFO_CALLS only if not + already defined. + + * elf/rtld.c (print_statistics): Mark with noinline attribute. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Mark with always_inline + attribute. + (elf_machine_rel_relative): Likewise. + + * include/string.h: Add libc_hidden_proto for __strtok_r and + __strsep_g. + * sysdeps/generic/strsep.c: Add libc_hidden_def. + * sysdeps/generic/strtok_r.c: Likewise. + * sysdeps/i386/strtok_r.S: Add alias for internal symbol. + * sysdeps/i386/i686/strtok_r.S: Likewise. + * sysdeps/x86_64/strtok_r.S: Likewise. + +2004-07-09 Alexandre Oliva + + * inet/getnetgrent_r.c (internal_setnetgrent): Make it hidden + instead of internal-linkage, such that we can alias to it. + (internal_endnetgrent, internal_getnetgrent_r): Likewise. + +2004-07-09 Ulrich Drepper + + * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Move attribute + to the front for gcc 3.5+. + * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Likewise. + * include/fcntl.h: Don't declare __fcntl_nocancel here if + NO_CANCELLATION is defined. + +2004-07-07 Jakub Jelinek + + * elf/dl-fini.c (_dl_fini): Add nloaded variable, load + GL(dl_nloaded) into it while still in critical section. + +2004-07-06 Thorsten Kukuk + + * nss/getent.c (print_group, print_passwd): Use %lu format for + `unsigned long int' values. + + * sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Fix syntax + error typos in goto statements. + +2004-07-07 Roland McGrath + + * Makefile (dist-separate): New variable. + (glibc-%.tar rule): Make separate tar files for add-ons listed there. + Depend on their configure files. + (dist-do-separate-dirs): New canned sequence to do that. + (dist-separate-libidn, dist-separate-linuxthreads): New variables. + (dist): Depend on add-on tar files based on $(dist-separate). + (dist-version): New variable, default to $(version). + (tag-for-dist, dist): Use that in place of $(version) in deps. + +2004-07-07 Ulrich Drepper + + * elf/dl-fini.c (_dl_fini): Move the unlock of the ld.so lock + before the loop running the destructors. + +2004-05-18 Andreas Schwab + + * elf/dl-load.c (_dl_map_object_from_fd): Use the end address of + the first segment for mprotect, not l_text_end. + +2004-07-05 Ulrich Drepper + + * elf/dl-profile.c (_dl_start_profile): Compact error handling. + Remove hashfraction variable. Make kcount and kcountsize local + variables. + + * elf/dl-init.c: Don't define and use _dl_starting_up if + HAVE_INLINED_SYSCALLS is defined and the variable is not used. + * elf/dl-support.c: Likewise. + * elf/rtld.c: Likewise. + * elf/dl-misc.c (_dl_debug_vdprintf): Use writev syscall directly + if HAVE_INLINED_SYSCALLS is defined. + * sysdeps/powerpc/powerpc64/dl-machine.h: Don't reset _dl_starting_up + here. + * sysdeps/powerpc/powerpc32/dl-start.S: Likewise. + * sysdeps/unix/sysv/linux/configure.in: Define HAVE_INLINED_SYSCALLS. + * config.h.in: Add entry for HAVE_INLINED_SYSCALLS. + + * sysdeps/posix/profil.c: If compiled for ld.so, omit code which + is needed to stop profiling. + * elf/dl-open.c (dl_open_worker): If a newly opened object is to be + profile make sure it cannot be unloaded. + + * sysdeps/unix/sysv/linux/dl-origin.c: Inline readlink syscall. + + * sysdeps/unix/sysv/linux/fcntl.c: If compiled without cancellation + support, make sure the helper function is inlined. + * sysdeps/unix/sysv/linux/pread.c: Likewise. + * sysdeps/unix/sysv/linux/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Likewise. + +2004-07-05 Jakub Jelinek + + * include/string.h (ffs): Add libc_hidden_builtin_proto. + * sysdeps/rs6000/ffs.c (ffs): Add libc_hidden_builtin_def. + * sysdeps/alpha/alphaev67/ffs.S (ffs): Likewise. + * sysdeps/alpha/ffs.S (ffs): Likewise. + * sysdeps/s390/ffs.c (ffs): Likewise. + * sysdeps/powerpc/ffs.c (ffs): Likewise. + * sysdeps/i386/ffs.c (ffs): Likewise. + * sysdeps/i386/i686/ffs.c (ffs): Likewise. + * sysdeps/m68k/ffs.c (ffs): Likewise. + * sysdeps/generic/ffs.c (ffs): Likewise. + * sysdeps/m88k/ffs.c (ffs): Likewise. + * sysdeps/am29k/ffs.c (ffs): Likewise. + * sysdeps/i960/ffs.c (ffs): Likewise. + * sysdeps/x86_64/ffs.c (ffs): Likewise. + + * Makerules (check-abi): Use diff -p -U 0 instead of diff -pu0. + + * sysdeps/powerpc/novmx-longjmp.c (__libc_longjmp, + __libc_siglongjmp): Remove symbol_version. + * sysdeps/powerpc/longjmp.c (__libc_longjmp, __libc_siglongjmp): + Export @@GLIBC_PRIVATE, not @@GLIBC_2.3.4. + * sysdeps/powerpc/sigjmp.c (__sigjmp_save): Use strong_alias + unconditionally. + * sysdeps/powerpc/novmx-sigjmp.c (__sigjmp_save): Remove. + * sysdeps/powerpc/powerpc32/__longjmp.S (__longjmp): Use + strong_alias instead of default_symbol_version, remove + symbol_version. + * sysdeps/powerpc/powerpc64/__longjmp.S (__longjmp): Likewise. + * sysdeps/powerpc/powerpc32/bsd-setjmp.S (__novmx__setjmp): Change + into strong_alias to __novmxsetjmp. + (__vmx__setjmp): Similarly with __vmxsetjmp. + (__setjmp): Make it strong_alias to __vmx__setjmp, remove + default_symbol_version and symbol_version. + * sysdeps/powerpc/powerpc64/bsd-setjmp.S (__novmx__setjmp): Change + into strong_alias to __novmxsetjmp. + (__vmx__setjmp): Similarly with __vmxsetjmp. + (__setjmp): Make it strong_alias to __vmx__setjmp, remove + default_symbol_version and symbol_version. + + * nscd/nscd_getgr_r.c: Include stdio-common/_itoa.h. + +2004-07-05 Ulrich Drepper + + * elf/rtld.c (dl_main): Mark dyn_temp with attribute_relro. + +2004-07-04 Matthew Reppert + + * sysdeps/unix/sysv/linux/i386/glob64.c (glob64): Use libc_hidden_ver + instead of libc_hidden_def. + +2004-07-01 Roland McGrath + + * aclocal.m4: Add provide for AC_CONFIG_AUX_DIR_DEFAULT. + + * Makeconfig ($(common-objpfx)shlib-versions.v.i): Move top-level + $(..)shlib-versions file to last in deps list. This lets add-ons give + more-specific matches that override defaults in the top-level file. + + * sysdeps/unix/sysv/linux/configure.in: If arch_minimum_kernel was + already set, don't set it or libc_cv_gcc_unwind_find_fde. + * sysdeps/unix/sysv/linux/configure: Regenerated. + +2004-07-01 Martin Schwidefsky + + * sysdeps/s390/fpu/bits/mathinline.h [__LIBC_INTERNAL_MATH_INLINES] + (__ieee754_sqrt): Define as __MATH_INLINE using sqdbr instruction. + (__ieee754_sqrtf): Define as __MATH_INLINE using sqebr instruction. + * sysdeps/s390/fpu/e_sqrt.c: New file. + * sysdeps/s390/fpu/e_sqrtf.c: New file. + * sysdeps/s390/Implies: New file. + * sysdeps/s390/s390-32/Implies: Remove ieee754, move + ieee754/dbl-64 and ieee754/flt-32 to s390/Implies. + * sysdeps/s390/s390-64/Implies: Likewise. + +2004-06-30 Jakub Jelinek + + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Include tls.h. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise. + + * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (thread_start): + DO_CALL (exit, 1) instead of branching to _exit. + * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (thread_start): + Likewise. + + * sysdeps/s390/fpu/bits/mathinline.h: New file. + + * include/glob.h (glob64): Add libc_hidden_proto. + * sysdeps/generic/glob64.c (glob64): Add libc_hidden_def. + * sysdeps/gnu/glob64.c (glob64): Likewise. + * sysdeps/unix/sysv/linux/i386/glob64.c (glob64): Likewise. + +2004-06-11 Jakub Jelinek + + * sysdeps/i386/fpu/libm-test-ulps: Update for GCC 3.4. * sysdeps/s390/fpu/libm-test-ulps: Likewise. -2005-07-20 Bob Wilson - Darin Petkov +2004-06-11 Dwayne Grant McConnell - [BZ #1138] - * sysdeps/ieee754/flt-32/e_atan2f.c (pi_lo): Correct exponent value. + * sysdeps/powerpc/fpu/s_lround.c: Removed. + * sysdeps/powerpc/fpu/s_lroundf.c: Removed. + * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: New file. + * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: New file. + * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: New file. + * sysdeps/powerpc/powerpc32/fpu/s_floor.S: New file. + * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: Removed. + * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: New file. + * sysdeps/powerpc/powerpc32/fpu/s_lroundf.S: New file. + * sysdeps/powerpc/powerpc32/fpu/s_lround.S: New file. + * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: New file. + * sysdeps/powerpc/powerpc32/fpu/s_rint.S: New file. + * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: New file. + * sysdeps/powerpc/powerpc32/fpu/s_round.S: New file. + * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: New file. + * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: New file. -2005-07-20 Jakub Jelinek +2004-06-30 Ulrich Drepper - * include/stdio.h (__fxprintf): Remove wfmt argument. - * stdio-common/fxprintf.c: Include assert.h, ctype.h and wchar.h. - (__fxprintf): Remove wfmt argument, create wfmt format string on - the fly from fmt. - * argp/argp-fmtstream.c: Adjust all __fxprintf callers. - * argp/argp-help.c: Likewise. - * assert/assert-perr.c: Likewise. - * assert/assert.c: Likewise. - * gmon/gmon.c: Likewise. - * inet/rcmd.c: Likewise. - * malloc/obstack.c: Likewise. - * misc/error.c: Likewise. - * misc/getpass.c: Likewise. - * posix/getopt.c: Likewise. - * resolv/res_hconf.c: Likewise. - * stdio-common/perror.c: Likewise. - * stdio-common/psignal.c: Likewise. - * stdlib/fmtmsg.c: Likewise. - * sunrpc/auth_unix.c: Likewise. - * sunrpc/clnt_perr.c: Likewise. - * sunrpc/clnt_tcp.c: Likewise. - * sunrpc/clnt_udp.c: Likewise. - * sunrpc/clnt_unix.c: Likewise. - * sunrpc/svc_simple.c: Likewise. - * sunrpc/svc_tcp.c: Likewise. - * sunrpc/svc_udp.c: Likewise. - * sunrpc/svc_unix.c: Likewise. - * sunrpc/xdr.c: Likewise. - * sunrpc/xdr_array.c: Likewise. - * sunrpc/xdr_rec.c: Likewise. - * sunrpc/xdr_ref.c: Likewise. - * sysdeps/generic/wordexp.c: Likewise. + * include/net/if.h: Handle if_nameindex and if_freenameindex with + libc_proto_hidden. + * sysdeps/unix/sysv/linux/netlinkaccess.h: New file. + * sysdeps/unix/sysv/linux/ifaddrs.c: Export netlink handling functions. + * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Implement using + netlink if possible. Fall back on ioctl method if necessary. + * sysdeps/unix/sysv/linux/Dist: Add netlinkaccess.h. -2005-07-20 Ulrich Drepper + * include/unistd.h: Declare __truncate. + * sysdeps/generic/truncate.c: Also define __truncate. + * sysdeps/mach/hurd/truncate.c: Likewise. + * sysdeps/unix/common/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/truncate64.c: Use __truncate, not truncate. - * wcsmbs/bits/wchar2.h: Add definitions for wcrtomb, mbsrtowcs, - wcsrtombs, mbsnrtowcs, and wcsnrtombs. - * debug/Makefile (routines): Add wcrtomb_chk, mbsrtowcs_chk, - wcsrtombs_chk, mbsnrtowcs_chk, and wcsnrtombs_chk. - * debug/Versions: Add __wcrtomb_chk, __mbsrtowcs_chk, - __wcsrtombs_chk, __mbsnrtowcs_chk, and __wcsnrtombs_chk. - * debug/tst-chk1.c: Add tests for new functions. - * debug/mbsnrtowcs_chk.c: New file. - * debug/mbsrtowcs_chk.c: New file. - * debug/wcrtomb_chk.c: New file. - * debug/wcsnrtombs_chk.c: New file. - * debug/wcsrtombs_chk.c: New file. +2004-06-29 Ulrich Drepper -2005-07-19 Ulrich Drepper + * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize + info.extra. Patch by Marcus Meissner. - * stdio-common/Makefile (aux): Add fxprintf. - * stdio-common/fxprintf.c: New file. - * include/stdio.h: Add declaration for __fxprintf. - * argp/argp-fmtstream.c: Use __fxprintf instead of inline stream - orientation test and two separate function calls. - * argp/argp-help.c: Likewise. - * assert/assert-perr.c: Likewise. - * assert/assert.c: Likewise. - * gmon/gmon.c: Likewise. - * inet/rcmd.c: Likewise. - * malloc/obstack.c: Likewise. - * misc/error.c: Likewise. - * misc/getpass.c: Likewise. - * posix/getopt.c: Likewise. - * resolv/res_hconf.c: Likewise. - * stdio-common/perror.c: Likewise. - * stdio-common/psignal.c: Likewise. - * stdlib/fmtmsg.c: Likewise. - * sunrpc/auth_unix.c: Likewise. - * sunrpc/clnt_perr.c: Likewise. - * sunrpc/clnt_tcp.c: Likewise. - * sunrpc/clnt_udp.c: Likewise. - * sunrpc/clnt_unix.c: Likewise. - * sunrpc/svc_simple.c: Likewise. - * sunrpc/svc_tcp.c: Likewise. - * sunrpc/svc_udp.c: Likewise. - * sunrpc/svc_unix.c: Likewise. - * sunrpc/xdr.c: Likewise. - * sunrpc/xdr_array.c: Likewise. - * sunrpc/xdr_rec.c: Likewise. - * sunrpc/xdr_ref.c: Likewise. - * sysdeps/generic/wordexp.c: Likewise. +2004-06-29 Kaz Kojima - [BZ #1137] - * misc/Makefile: Add rules to build and run tst-error1. - * misc/tst-error1.c: New file. - * misc/error.c: Fix memory leak and possibly endless loop. + * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER): + Fix branch offset for a PLT entry. - * configure.in: Check for -fstack-protector gcc option. - * config.make.in (have-ssp): Add template. - * nscd/Makefile (nscd-cflags): Add -fstack-protector if supported. +2004-06-20 Jim Meyering - * nscd/nscd.c (main): Don't ignore result of chdir call. + * malloc/obstack.h (obstack_base): Cast to `void *', to align with + documentation. -2005-07-18 Roland McGrath +2004-06-28 Ulrich Drepper - [BZ #869] - * Makerules ($(objpfx)stubs): Do cd into $(objdir) to reduce size of - objdump command line. + * inet/bug-if1.c (do_test): Simply use 0 as invalid index. + Workaround for [BZ #232]. -2005-07-18 Ulrich Drepper + * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Use extend_alloca. - * nscd/Makefile (nscd-cflags): Add _FORTIFY_SOURCE. +2004-06-28 GOTO Masanori - * nscd/connections.c: Fix a few wur warnings. + * iconv/gconv_simple.c: Use get16/put16 for user given buffer + in ucs2/ucs2reverse when unaligned memory access is attempted. + * iconv/tst-iconv5.c: New file. + * iconv/Makefile (tests): Add tst-iconv5. - [BZ #1113] - * nscd/grpcache.c (cache_addgr): Use correct maximum for group ID - length. Patch by Ivan Gyurdiev . +2004-06-28 Jakub Jelinek - * debug/confstr_chk.c: New file. - * debug/getdomainname_chk.c: New file. - * debug/getgroups_chk.c: New file. - * debug/gethostname_chk.c: New file. - * debug/getlogin_r_chk.c: New file. - * debug/ttyname_r_chk.c: New file. - * posix/bits/unistd.h: Add definitions for new debug versions. - * debug/tst-chk1.c: Add tests for new functions. - * debug/Versions: Export new functions. - * debug/Makefile (routines): Add new files. + * inet/bug-if1.c: Include . - * stdlib/bits/stdlib.h: Fix typo. +2004-06-19 Roland McGrath -2005-07-13 Thorsten Kukuk + * sysdeps/posix/waitid.c (do_waitid) [DO_WAITID]: Define function + under this macro name instead. + [NO_DO_WAITID]: Don't define it at all. + (do_waitid) [WNOWAIT, WEXITED]: If these POSIX.1 waitid flag bits are + defined, then return ENOTSUP for combinations of selection bits other + than WEXITED and WEXITED|WSTOPPED, which this version cannot support. - * manual/Makefile (libc/index.html): Depend on dir-add.texi. + * posix/tst-waitid.c: New file. + * posix/Makefile (tests): Add it. -2005-07-15 Ulrich Drepper +2004-06-28 Jakub Jelinek - * stdlib/bits/stdlib.h: Use __REDIRECT_NTH instead of __REDIRECT - where necessary. - * wcsmbs/bits/wchar2.h: Likewise. + * sysdeps/unix/alpha/sysdep.h (inline_syscall6): Fix a typo. -2005-07-15 Andreas Jaeger + [BZ #231] + * sysdeps/unix/alpha/sysdep.S (__syscall_error): Avoid !samegp + relocation in librt.so. - * debug/Makefile (tst-lfschk3-ENV): New, set locale. - (tst-lfschk2-ENV): New. - (tst-lfschk1-ENV): New. - (tst-chk3-ENV): New. - (tst-chk2-ENV): New. - (tst-chk1-ENV): New. + [BZ #230] + * sysdeps/alpha/dl-machine.h (_dl_start_user): Use ldah/ldl to load + _dl_skip_args. Patch by Jakub Bogusz . - [BZ #1079] - * include/stdlib.h: Remove malloc attribute from __posix_memalign. - * stdlib/stdlib.h: Likewise. +2004-06-27 Ulrich Drepper -2005-07-15 Ulrich Drepper + * elf/ldconfig.c (add_dir): Take chroot into account. + Based on changes by HJ Lu and Hideki Iwamoto. - * wcsmbs/bits/wchar2.h: New file. - * include/bits/wchar2.h: New file. - * wcsmbs/wchar.h: Include if fortification is - requested. - * wcsmbs/wcsncpy.c: Add __wcsncpy alias. - * string/bits/string3.h: Add fortified stpncpy definitions. - * sysdeps/generic/stpncpy_chk.c: New file. - * libio/vswprintf.c: Move _IO_wstrnfile definition to strfile.h. - Export _IO_wstrn_jumps. - * libio/strfile.h: Define _IO_wstrnfile and declare _IO_wstrn_jumps. - * include/wchar.h: Declare __wcsncpy and __vswprintf_chk. - * debug/fgetws_chk.c: New file. - * debug/fgetws_u_chk.c: New file. - * debug/fwprintf_chk.c: New file. - * debug/swprintf_chk.c: New file. - * debug/vfwprintf_chk.c: New file. - * debug/vswprintf_chk.c: New file. - * debug/vwprintf_chk.c: New file. - * debug/wcpcpy_chk.c: New file. - * debug/wcpncpy_chk.c: New file. - * debug/wcscat_chk.c: New file. - * debug/wcscpy_chk.c: New file. - * debug/wcsncat_chk.c: New file. - * debug/wcsncpy_chk.c: New file. - * debug/wmemcpy_chk.c: New file. - * debug/wmemmove_chk.c: New file. - * debug/wmempcpy_chk.c: New file. - * debug/wmemset_chk.c: New file. - * debug/wprintf_chk.c: New file. - * debug/tst-chk1.c: Add tests for new functions. - * debug/Versions: Export new functions. - * debug/Makefile (routines): Add new functions. + * nscd/connections.c (invalidate_cache): If the host cache has to + be invalidated, re-read resolv.conf. -2005-07-13 Ulrich Drepper + * resolv/resolv.h (RES_NOIP6DOTINT): Define. + * resolv/res_init.c (res_setoptions): Handle no-ip6-dotint option. + * resolv/gethnamaddr.c (gethostbyaddr): Don't lookup with .ip6.int + if RES_NOIP6DOTINT flag is set. + * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise. - * nscd/nscd_helper.c: Add a few __builtin_expect. +2004-06-25 Jakub Jelinek - [BZ #1080] - * nscd/connections.c (send_ro_fd): Make sure BUF is aligned correctly. - * nscd/nscd_helper.c (wait_on_socket): New function. - (get_mapping): Use wait_on_socket instead of poll. The former handles - EINTR of poll correctly. - (__nscd_open_socket): Likewise. - (get_mapping): Make sure BUF is aligned correctly. - (get_mapping): Use munmap on correct pointer. + * sysdeps/unix/sysv/linux/powerpc/fcntl.c: Move to... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: ... here. + * sysdeps/unix/sysv/linux/powerpc/lockf64.c: Move to... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: New file. -2005-07-12 Ulrich Drepper + * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (F_GETLK, F_SETLK, + F_SETLKW): Fix values for -m32 -D_FILE_OFFSET_BITS=64. - * include/libc-symbols.h: Define macros for librt hidden symbols. - * include/time.h: Add librt_hidden_proto definition for clock_gettime. - * sysdeps/generic/clock_gettime.c: Add librt_hidden_def. - * sysdeps/unix/clock_gettime.c: Likewise. +2004-06-21 Jakub Jelinek - * stdlib/bits/stdlib.h: New file. - * stdlib/stdlib.h: Include if fortification is - requested. - * Makefile (headers): Add bits/stdlib.h. - * include/bits/stdlib.h: New file. - * debug/Depend: New file. - * debug/ptsname_r_chk.c: New file. - * debug/realpath_chk.c: New file. - * debug/wctomb_chk.c: New file. - * debug/Makefile (routines): Add ptsname_r_chk, realpath_chk, and - wctomb_chk. - * debug/Versions: Export __ptsname_r_chk, __realpath_chk, and - __wctomb_chk. - * debug/tst-chk1.c: Add tests for __ptsname_r_chk, __realpath_chk, and - __wctomb_chk. + [BZ #231] + * sysdeps/unix/alpha/Makefile: New file. + * sysdeps/unix/alpha/rt-sysdep.S: New file. + Reported by Jakub Bogusz . -2005-07-12 Jakub Jelinek +2004-06-18 Ulrich Drepper - [BZ #1106] - * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Include not-cancel.h. - (has_cpuclock): Use open_not_cancel_2 instead of open, read_not_cancel - instead of read and close_not_cancel_no_status instead of close. + * sysdeps/posix/getaddrinfo.c (gaih_inet): For AI_CANONNAME, + determine the canonical name only for the first returned entry. - [BZ #1106] - * sysdeps/s390/s390-64/bcopy.S (__bcopy): Use - HIDDEN_BUILTIN_JUMPTARGET to jump to memmove. + * inet/bug-if1.c: New file. + * inet/Makefile (tests): Add bug-if1. -2005-06-27 Carlos O'Donell +2004-06-18 Roland McGrath - * posix/regcomp.c (re_compile_internal): Call __libc_lock_init - after init_dfa. + * Makerules (compile-mkdep-flags): Add -MT $@. -2005-07-08 Ulrich Drepper + * Makefile (dist, tag-for-dist): New targets. + (files-for-dist, tag-of-stem): New variables. + (glibc-%.tar glibc-linuxthreads-%.tar): New pattern rule. + Make tar files using cvs export. + (%.bz2, %.gz, tag-%): New pattern rules. + (distribute): Variable removed. + (+subdir_targets): Remove distinfo targets. + (echo_subdirs, echo-distinfo, parent_echo-distinfo): Targets removed. + (rpm/%): Pattern rule removed. + * rpm/Makefile, rpm/rpmrc, rpm/template: Ancient cruft files removed. + * Rules (subdir_echo-headers, subdir_echo-distinfo, subdir_dist): + Targets removed. + * Makerules (dist, subdir_distinfo): Targets removed. + ($(objpfx)distinfo): Depend on $(distribute). + * Make-dist: File removed. - * sysdeps/x86_64/fpu/s_sincosl.S: Use retq not ret. Remove - alignment. - * sysdeps/x86_64/fpu/s_sincos.S: New file. + * NEWS: Fix a typo. Update bug-reporting instructions. - * include/fenv.h: Add libm_hidden_proto for fesetround and - feholdexcept. - * sysdeps/alpha/fpu/feholdexcpt.c: Add libm_hidden_def. - * sysdeps/alpha/fpu/fesetround.c: Likewise. - * sysdeps/generic/feholdexcpt.c: Likewise. - * sysdeps/generic/fesetround.c: Likewise. - * sysdeps/i386/fpu/feholdexcpt.c: Likewise. - * sysdeps/i386/fpu/fesetround.c: Likewise. - * sysdeps/ia64/fpu/feholdexcpt.c: Likewise. - * sysdeps/ia64/fpu/fesetround.c: Likewise. - * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise. - * sysdeps/powerpc/fpu/fesetround.c: Likewise. - * sysdeps/s390/fpu/feholdexcpt.c: Likewise. - * sysdeps/s390/fpu/fesetround.c: Likewise. - * sysdeps/sh/sh4/fpu/feholdexcpt.c: Likewise. - * sysdeps/sh/sh4/fpu/fesetround.c: Likewise. - * sysdeps/sparc/fpu/feholdexcpt.c: Likewise. - * sysdeps/sparc/fpu/fesetround.c: Likewise. - * sysdeps/x86_64/fpu/feholdexcpt.c: Likewise. - * sysdeps/x86_64/fpu/fesetround.c: Likewise. - * sysdeps/generic/s_significand.c (__significand): Use __ilogb not - ilogb. - * sysdeps/generic/s_significandf.c (__significandf): Use __ilogbf - not ilogbf. - * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use __sin and - __cos, not sin and cos. +2004-06-17 Thorsten Kukuk -2005-07-07 Ulrich Drepper + * sysdeps/unix/sysv/linux/sched_setaffinity.c + (__sched_setaffinity_new): Set errno to EINVAL and return -1 if + cpuset is wrongly set. - * resolv/res_send.c (send_dg): Recognize referral results and - treat them as server errors. - Based on a patch by Jason Vas Dias . +2004-06-15 Steven Munroe -2005-07-08 Carlos O'Donell + * sysdeps/powerpc/powerpc64/memcpy.S: Improve instruction scheduling + for POWER4 machines. - * sysdeps/hppa/setjmp.S (__sigsetjmp): Use %r1 not %r19. +2004-06-14 Jakub Jelinek - * sysdeps/hppa/add_n.s (__mpn_add_n): Use sr0 or r0, not 0. - * sysdeps/hppa/lshift.s (__mpn_lshift): Likewise. - * sysdeps/hppa/rshift.s (__mpn_rshift): Likewise. - * sysdeps/hppa/sub_n.s (__mpn_sub_n): Likewise. - * sysdeps/hppa/udiv_qrnnd.s (__udiv_qrnnd): Likewise. - * sysdeps/hppa/hppa1.1/udiv_qrnnd.s (__udiv_qrnnd): Likewise. + [BZ #218] + * sunrpc/pmap_prot2.c (xdr_pmaplist): When freeing, remember pml_next + in a local variable, point rp to that local variable afterwards. -2005-07-07 Ulrich Drepper +2004-06-11 Jakub Jelinek - * sysdeps/generic/s_ctanh.c (__ctanh): Handle case of zero den better. - * sysdeps/generic/s_ctanhf.c (__ctanhf): Likewise. - * sysdeps/generic/s_ctanhl.c (__ctanhl): Likewise. - * sysdeps/generic/s_ctan.c (__ctan): Likewise. - * sysdeps/generic/s_ctanf.c (__ctanf): Likewise. - * sysdeps/generic/s_ctanl.c (__ctanl): Likewise. + * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Handle special + cases properly. -2005-04-13 H.J. Lu +2004-06-17 Ulrich Drepper - [BZ #974] - * csu/elf-init.c (__preinit_array_start): Take int, char **, char **. - (__preinit_array_end): Likewise. - (__init_array_start): Likewise. - (__init_array_end): Likewise. - (__libc_csu_init): Take int argc, char **argv, char **envp. - Call preinit_array and init_array with argc, argv, envp. - * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Remove - INIT_MAIN_ARGS. - * sysdeps/powerpc/elf/libc-start.c (INIT_MAIN_ARGS): Removed. - * elf/Makefile (distribute): Add tst-array5.c, tst-array5-static.c, - tst-array5dep.c, and tst-array5.exp. - (tests): Add tst-array5. - (tests-static): Add tst-array5-static. - ($(objpfx)tst-array5): New target. - ($(objpfx)tst-array5.out): Likewise. - ($(objpfx)tst-array5-static.out): Likewise. - * elf/tst-array5-static.c: New file. - * elf/tst-array5-static.exp: Likewise. - * elf/tst-array5.c: Likewise. - * elf/tst-array5.exp: Likewise. - * elf/tst-array5dep.c: Likewise. + * sysdeps/unix/sysv/linux/if_index.c (if_indextoname): Correct + error value for unknown interface. [BZ #198] -2005-07-07 Ulrich Drepper +2004-06-13 Jakub Jelinek - * sysdeps/unix/sysv/linux/bits/sched.h: Adjust clone prototype. + * sysdeps/i386/bits/string.h (memcpy): Add () around arguments. + (memchr, __memrchr, strlen, strcmp, strncmp, __strchr_g, __strchr_c, + __strchrnul_g, __strchrnul_c, strspn, strcspn, strpbrk): Add memory + the asm uses as its input, either of size __n where __n is known or + 0xfffffff. + (strstr): Add "memory" clobber. -2005-07-05 Jakub Jelinek +2004-06-14 Jakub Jelinek - * elf/stackguard-macros.h (STACK_CHK_GUARD): Fix s390/s390x definition. - Reported by Ulrich Weigand . + [BZ #219] + * nss/nsswitch.c (free_mem): Don't try to close a library handle + if the handle is invalid. Patch by David Kimdon . - * elf/stackguard-macros.h (STACK_CHK_GUARD): Add ia64 definition. +2004-06-11 Dmitry V. Levin -2005-07-06 Ulrich Drepper + [BZ #217] + * debug/xtrace.sh: Fix typo in error diagnostics. - * elf/dl-error.c (_dl_signal_error): When testing for executable - being relocated, take into account that nothing might even be loaded. +2004-06-14 Andreas Schwab - * elf/dl-reloc.c [PROF] (_dl_relocate_object): Define - consider_profiling always to zero. Don't count of compiler to - remove unreached if block. - * sysdeps/x86_64/dl-trampoline.S [PROF] (_dl_runtime_profile): - Don't compile. - * sysdeps/i386/dl-trampoline.S [PROF] (_dl_runtime_profile): Likewise. - * sysdeps/ia64/dl-trampoline.S [PROF] (_dl_runtime_profile): Likewise. - * sysdeps/s390/s390-64/dl-trampoline.S [PROF] (_dl_runtime_profile): + * stdio-common/psignal.c (psignal): Don't use BUF when asprintf + failed. + +2004-06-15 Steven Munroe + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix pasto + that clobbers r19. Fix pasto that overflowed sigcontext.v_reserve. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Fix pasto + that clobbers r19. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Fix pasto + that clobbers r19. Fix pasto that overflowed sigcontext.v_reserve. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: + Fix setting of sigcontext.v_regs. Fix pasto that clobbers r19. + Fix pasto that overflowed sigcontext.v_reserve. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: + Fix pasto that clobbers r19. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Fix setting + of sigcontext.v_regs. Fix pasto that clobbers r19. Fix pasto that + overflowed sigcontext.v_reserve. + +2004-05-04 H.J. Lu + + [BZ #150] + * sysdeps/generic/strtol_l.c (DEF): Use ".gnu.linkonce.r." + instead of ".gnu.linkonce.ro." as the prefix for linkonce + read-only section name. + +2004-06-14 Richard Henderson + + * sysdeps/alpha/div_libc.h (_ITOFS): Use "sp" not "$sp". + (_ITOFT, _FTOIT, _ITOFT2): Likewise. + +2004-06-08 Jakub Jelinek + + * sysdeps/s390/s390-32/backtrace.c (init): Guard with #ifdef SHARED. + (unwind_backtrace, unwind_getip): Define #ifndef SHARED. + (__backtrace): Don't call init #ifndef SHARED. + * sysdeps/s390/s390-64/backtrace.c (init): Guard with #ifdef SHARED. + (unwind_backtrace, unwind_getip): Define #ifndef SHARED. + (__backtrace): Don't call init #ifndef SHARED. + * sysdeps/ia64/backtrace.c (init): Guard with #ifdef SHARED. + (unwind_backtrace, unwind_getip): Define #ifndef SHARED. + (__backtrace): Don't call init #ifndef SHARED. + +2004-06-11 Roland McGrath + + * sysdeps/arm/strlen.S [__ARMEB__]: Compute correctly for big-endian. + From Krzysztof Halasa . + +2004-06-10 Jakub Jelinek + + * elf/tls-macros.h [__s390x__] (TLS_LD, TLS_GD): Clobber also r14. + +2004-06-08 Jakub Jelinek + + [BZ #199] + * crypt/md5-crypt.c (__md5_crypt): Only update buflen if realloc + succeeds. Reported by Miles Ohlrich . + + * elf/chroot_canon.c (chroot_canon): Avoid segfault if first malloc + fails. Avoid memory leak if realloc fails. + +2004-06-09 Jakub Jelinek + + * sysdeps/generic/setenv.c (setenv): Return -1/EINVAL if name is + NULL, "" or contains '=' character in it. Reported by + Michael T Kerrisk . + * stdlib/tst-environ.c: Include errno.h. + (main): Add tests for these arguments to setenv/unsetenv. + +2004-06-07 Roland McGrath + + * NEWS: Update bug reporting instructions. Fix some typos. + +2004-06-05 Ulrich Drepper + + * stdio-common/_itoa.h: Don't expand _itoa inline for libc. + * stdio-common/_itoa.c: Add _itoa implementation. + + * nscd/nscd_gethst_r.c (__nscd_open_socket): Change implementation + to also send request. Add parameter to allow this. + Change callers. + * nscd/nscd_getgr_r.c: Change __nscd_open_socket caller. + * nscd/nscd_getpw_r.c: Likewise. + * nscd/nscd-client.h: Change __nscd_open_socket prototype. + +2004-06-05 Andreas Jaeger + + * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext): + Handle more than 6 args correctly. Based on a patch by Masahide + Washizawa . + +2004-06-04 Ulrich Drepper + + * nscd/nscd_gethst_r.c (nscd_gethst_r): Use __nss_not_use_nscd_hosts + in all places, not __nss_not_use_nscd_group. + Reported by Philippe Gregoire. + +2004-06-03 Ulrich Drepper + + * sysdeps/i386/i486/bits/atomic.h: Optimize a bit. + +2004-05-07 Dmitry V. Levin + + * argp/argp-help.c (__argp_error, __argp_failure): Check result + of __asprintf call and don't use string if it failed. + * stdio-common/psignal.c (psignal): Likewise. + * locale/programs/localedef.c (more_help): Likewise. + * resolv/res_hconf.c (arg_service_list, arg_trimdomain_list, + arg_bool, parse_line): Check result of __asprintf calls and + don't use string if they failed. + * sunrpc/svc_simple.c (registerrpc, universal): Likewise. + * elf/ldconfig.c (parse_conf_include): Check result of __asprintf + call and exit if it failed. + +2004-05-10 Jakub Jelinek + + * sysdeps/posix/sysconf.c (__sysconf) : Return _POSIX_* value instead of 1. + * sysdeps/unix/sysv/linux/sysconf.c (__sysconf) + : Return _POSIX_VERSION instead of 1. + +2004-05-07 Jeroen Dekkers + + * sysdeps/mach/hurd/i386/Makefile (CFLAGS-init-first.c): Add + -momit-leaf-frame-pointer. + + * inet/test-ifaddrs.c (addr_string): Surround AF_PACKET case with + #ifdef AF_PACKET. + + * sysdeps/mach/hurd/getcwd.c + (_hurd_canonicalize_directory_name_intern): Only realloc when + size is <= 0. + + * sysdeps/mach/hurd/mmap.c (__mmap): Fail when addr or offset + isn't page aligned. + + * sysdeps/mach/hurd/spawni.c (EXPAND_DTABLE): Set dtablesize to + new size. + + * sysdeps/mach/hurd/Versions (GLIBC_PRIVATE): Add __libc_read, + __libc_write and __libc_lseek64. + +2004-05-29 Roland McGrath + + * elf/Makefile (shared-only-routines): Add dl-caller. + +2004-05-28 Ulrich Drepper + + * sysdeps/powerpc/configure.in: New file. + +2004-05-28 Steven Munroe + + * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Add .machine + "altivec" to enable VMX instructions. + * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. + * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise. + * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise. + +2004-05-27 Jakub Jelinek + + * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Define using + __builtin_expm1l for GCC 3.5+. + (__expl): Define using __builtin_expl for GCC 3.4+. + (exp, expf, expl): Don't define for GCC 3.4+. + (tan, tanf, tanl): Don't define for GCC 3.5+. + (__atan2l): Define using __builtin_atan2l for GCC 3.4+. + (atan2, atan2f, atan2l): Don't define for GCC 3.4+ or !__FAST_MATH__. + (fmod, fmodf, fmodl): Don't define for GCC 3.5+ or !__FAST_MATH__. + (fabsf, fabsl): Only provide if __USE_MISC or __USE_ISOC99. + (sin, sinf, sinl, cos, cosf, cosl, log, logf, logl): Don't define + for GCC 3.4+. + (log10, log10f, log10l, asin, asinf, asinl, acos, acosf, acosl): + Don't define for GCC 3.5+. + (atan, atanf, atanl): Don't define for GCC 3.4+ or !__FAST_MATH__. + (log1p, log1pf, log1pl, logb, logbf, logbl, log2, log2f, log2l): Don't + define for GCC 3.5+. + (drem, dremf, dreml): Don't define for GCC 3.5+ or !__FAST_MATH__. + * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, sqrtf, sqrtl): Don't + define for GCC 3.2+. + +2004-05-27 Jakub Jelinek + + * string/bits/string2.h (__bzero): Define even for GCC 3.0+. + * sysdeps/alpha/stpcpy.S (stpcpy): Add libc_hidden_builtin_def. + * sysdeps/alpha/alphaev67/stpcpy.S (stpcpy): Likewise. + * sysdeps/powerpc/powerpc32/stpcpy.S (stpcpy): Likewise. + * sysdeps/powerpc/powerpc64/stpcpy.S (stpcpy): Likewise. + * sysdeps/sparc/sparc32/stpcpy.S (stpcpy): Likewise. + * sysdeps/sparc/sparc64/stpcpy.S (stpcpy): Likewise. + * sysdeps/i386/stpcpy.S (stpcpy): Likewise. + * sysdeps/i386/i586/stpcpy.S (stpcpy): Likewise. + * sysdeps/generic/stpcpy.c (stpcpy): Likewise. + * sysdeps/x86_64/stpcpy.S (stpcpy): Likewise. + * sysdeps/i386/i586/memcpy.S (memcpy): Remove + libc_hidden_builtin_def if MEMPCPY_P. + * sysdeps/x86_64/memcpy.S (memcpy): Likewise. + * sysdeps/i386/i686/mempcpy.S (mempcpy): Add libc_hidden_builtin_def. + * sysdeps/i386/i586/mempcpy.S (mempcpy): Likewise. + * sysdeps/generic/mempcpy.c (mempcpy): Likewise. + * sysdeps/x86_64/mempcpy.S (mempcpy): Likewise. + +2004-05-26 Roland McGrath + + * sysdeps/generic/bits/in.h + (IMPLINK_IP, IMPLINK_LOWEXPER, IMPLINK_HIGHEXPER): Macros removed. + These are long obsolete in BSD systems where they originated. + * conform/data/netinet/in.h-data: Remove `allow IMPLINK_*' + +2004-05-26 Jakub Jelinek + + * include/string.h (mempcpy, stpcpy): Add libc_hidden_builtin_proto. + * string/bits/string2.h (memset): Disable macro for GCC 3.0+. + (__mempcpy): Use __builtin_mempcpy for GCC 3.4+. + (strchr): For GCC 3.2+, only use __rawmemchr if second argument is + constant '\0' and first argument is not constant. + (__stpcpy): Use __builtin_stpcpy for GCC 3.4+. + (strncpy): Remove #ifdef _USE_STRING_ARCH_mempcpy variant. + For GCC 3.2+ use __builtin_strncpy. + (strncat): For GCC 3.2+ use __builtin_strncat. + (strcmp): For GCC 3.2+ use __builtin_strcmp if both arguments are + constant. + (strcspn, strspn, strpbrk): For GCC 3.2+, use builtin function + if both arguments are constant. + +2004-05-26 Ulrich Drepper + + * nss/nss_files/files-hosts.c: Fix condition for looking up IPv4 + mapped addresses in gethostbyaddr. + +2004-05-25 Ulrich Drepper + + * nss/digits_dots.c (__nss_hostname_digits_dots): Remove typep and + flags parameter, convert afp to simple int parameter. Adjust code. + typep was never != NULL and flags therefore also unused. *afp is + never modified. + * nss/nsswitch.h: Adjust __nss_hostname_digits_dots prototype. + * nss/getXXbyYY.c: Remove HAVE_TYPE handling. Adjust af parameter + handling for __nss_hostname_digits_dots calls. + * nss/getXXbyYY_r.c: Likewise. + + * elf/dl-load.c (_dl_map_object_from_fd): Map DSOs with MAP_DENYWRITE. + +2004-05-25 Steven Munroe + + * sysdeps/powerpc/fpu/Makefile: Make ld.so a dependency of libm.so. + * sysdeps/powerpc/fpu/bits/mathinline.h [__LIBC_INERNAL_MATH_INLINES] + (__ieee754_sqrt): Define as __MATH_INLINE using fsqrt instruction. + (__ieee754_sqrtf): Define as __MATH_INLINE using fsqrts instruction. + * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Moved + implementation from w_sqrt.c. + * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Moved + implementation from w_sqrtf.c. + * sysdeps/powerpc/fpu/w_sqrt.c (__sqrt): Wrapper implementation + using inline __ieee754_sqrt(). + * sysdeps/powerpc/fpu/w_sqrtf.c (__sqrtf): Wrapper implementation + using inline __ieee754_sqrtf(). + * sysdeps/powerpc/powerpc32/sysdep.h [__ASSEMBLER__]: Include + independent of __ASSEMBLER__. + * sysdeps/powerpc/sysdep.h [__ASSEMBLER__] (PPC_FEATURE_*): Define + PPC_FEATURE_* independent of __ASSEMBLER__. + +2004-05-25 Jakub Jelinek + + * sysdeps/pthread/aio_notify.c: Use <> instead of "" for aio_misc.h + include. + (aio_start_notify_thread): Define if not defined. + (notify_func_wrapper): Use it. + * sysdeps/pthread/aio_misc.c: Use <> instead of "" for aio_misc.h + include. + (aio_create_helper_thread): Define if not defined. + (__aio_create_helper_thread): New function. + (__aio_enqueue_request): Use aio_create_helper_thread. + + * nis/ypclnt.c (ypall_data, ypall_foreach): Remove. + (struct ypresp_all_data): New type. + (__xdr_ypresp_all): Change second argument to + struct ypresp_all_data *. Replace ypall_foreach and + ypall_data with objp->foreach and objp->data. + (yp_all): Remove status variable, add data. Replace + all uses of status with data.status. Initialize data.foreach + and data.data instead of ypall_foreach and ypall_data. + +2004-05-24 Jakub Jelinek + + * elf/dl-lookup.c (add_dependency): Set DF_1_NODELETE bit + in l_flags_1, not in l_flags. + +2004-04-10 Robert Millan + + * sysdeps/unix/sysv/linux/bits/in.h: Cosmetic fixes to get in sync + with sysdeps/generic/bits/in.h. + +2004-05-25 Roland McGrath + + * sysdeps/generic/unwind-dw2-fde-glibc.c: Change copyright terms from + GCC GPL to standard glibc LGPL. + +2004-05-24 Ulrich Drepper + + * manual/string.texi (Copying and Concatenation): Fixed second + concat example. + Reported by Fabian Pietsch . + +2004-05-23 Ulrich Drepper + + * malloc/obstack.c: Don't allow linking with _obstack. + +2004-05-23 Andreas Schwab + + * sysdeps/m68k/m68020/bits/atomic.h: Use "+m" constraint instead + of separate "m" constraints. + +2004-05-15 Chris Demetriou + + * sysdeps/mips/dl-machine.h (ELF_DL_FRAME_SIZE) + (ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS): For the N32 + and 64 ABIs, save and restore regs $10 and $11 (a6 and a7). + +2004-05-20 Paul Eggert + + * malloc/obstack.c (_obstack) [!defined _LIBC]: Remove; not used. + Add comment explaining why libc still defines it. + +2004-05-19 Paul Eggert + + * malloc/obstack.h (_obstack_free, obstack_1grow, obstack_1grow_fast, + obstack_alignment_mask, obstack_alloc, obstack_base, + obstack_blank, obstack_blank_fast, obstack_chunk_size, + obstack_copy, obstack_copy0, obstack_finish, obstack_grow, + obstack_grow0, obstack_init, obstack_int_grow, + obstack_int_grow_fast, obstack_make_room, obstack_memory_used, + obstack_next_free, obstack_object_size, obstack_ptr_grow, + obstack_ptr_grow_fast, obstack_room): Remove declarations of + nonexistent functions. + +2004-05-18 Steven Munroe + + * sysdeps/powerpc/powerpc64/sysdep.h [__ASSEMBLER__]: Include + independent of __ASSEMBLER__. + [PIC]: Redundent for powerpc64, removed. + (ENTRY): Generate size and alignment for opd entry. + (EALIGN): Generate size and alignment for opd entry. + (END): Use DOT_LABEL in ASM_SIZE_DIRECTIVE. + (END_GEN_TB): Use DOT_LABEL in ASM_SIZE_DIRECTIVE. + +2004-05-19 Ulrich Drepper + + * misc/regexp.h: Say the functions have been withdrawn. + + * wcsmbs/tst-wcpncpy.c: Add more tests. + +2004-05-18 Roland McGrath + + * sysdeps/generic/unwind.h: Change copyright terms from GCC GPL to + standard glibc LGPL. + * sysdeps/generic/unwind-dw2.c: Likewise. + * sysdeps/generic/unwind-dw2-fde.c: Likewise. + * sysdeps/generic/unwind-dw2-fde.h: Likewise. + * sysdeps/generic/unwind-pe.h: Likewise. + +2004-05-15 Petter Reinholdtsen + + * locale/iso-3166.def: Remove YUGOSLAVIA and insert "SERBIA AND + MONTENEGRO" which have taken over the code 819. Patch from + Danilo Segan. [BZ #40] + +2004-05-15 Jakub Jelinek + + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h + (SYSCALL_ERROR_HANDLER): Rename __sparc.get_pic.l7 to + __sparc_get_pic_l7. + +2004-05-15 Joseph S. Myers + + * catgets/gencat.c: Update bug reporting instructions. + * csu/version.c: Likewise. + * debug/catchsegv.sh: Likewise. + * debug/pcprofiledump.c: Likewise. + * debug/xtrace.sh: Likewise. + * elf/ldd.bash.in: Likewise. + * iconv/iconv_prog.c: Likewise. + * iconv/iconvconfig.c: Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/localedef.c: Likewise. + * login/programs/pt_chown.c: Likewise. + * malloc/memusage.sh: Likewise. + * malloc/memusagestat.c: Likewise. + * malloc/mtrace.pl: Likewise. + * manual/crypt.texi: Likewise. + * manual/install.texi: Likewise. + * nss/makedb.c: Likewise. + +2004-05-14 Jakub Jelinek + + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Only + CHECK_STATIC_TLS if sym != NULL. + * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise. + * sysdeps/i386/dl-machine.h (elf_machine_rela): Likewise. + +2004-05-12 Andreas Schwab + + * posix/regex_internal.c (build_wcs_buffer): Also set pstr->mbs + when translating. + +2004-05-13 H.J. Lu + + * Rules (xtests): Depend on tests. + +2004-05-13 Jakub Jelinek + + * libio/genops.c (_IO_default_xsputn): Avoid one overflow per char if + count is negative, yet write_ptr < write_end. + (_IO_default_xsgetn): Avoid one underflow per char if count is + negative, yet read_ptr < read_end. + +2004-05-12 Steven Munroe + + * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XTABS): Define XTABS + equal to TAB3. + +2004-05-12 Ulrich Drepper + + * elf/dl-lookup.c (_dl_lookup_symbol_x): Correct _dl_signal_cerror + call. + +2004-05-10 Roland McGrath + + * hurd/hurdlookup.c (__hurd_file_name_split): Return ENOENT for "". + (__hurd_directory_name_split): Likewise. + +2004-05-10 Ulrich Drepper + + * po/fr.po: Update from translation team. + +2004-05-10 Andreas Jaeger + + * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext): + Correctly compute alignment. + Patch by Michael Matz . + +2004-05-09 Ulrich Drepper + + * sysdeps/generic/sigpause.c: Prevent sigpause prototype. + * sysdeps/posix/sigpause.c: Likewise. + * signal/signal.h: Don't define sigpause macro unless needed. + +2004-05-08 Jakub Jelinek + + * configure.in (libc_cv_libgcc_s_suffix): New check. + (libc_cv_as_needed): Use -lgcc_s$libc_cv_libgcc_s_suffix. + * config.make.in (libgcc_s_suffix): Set. + * Makeconfig (libgcc_eh): Use -lgcc_s$(libgcc_s_suffix). + +2004-05-08 Ulrich Drepper + + * signal/signal.h: Use BSD sigpause only if BSD behavior is preferred. + +2004-04-29 Steven Munroe + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (LOADARGS_1, + LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6): + Load argument values into temporary variables. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (LOADARGS_1, + LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6): Likewise. - * sysdeps/s390/s390-32/dl-trampoline.S [PROF] (_dl_runtime_profile): - Likewise. - * sysdeps/powerpc/powerpc64/dl-trampoline.S [PROF] - (_dl_profile_resolve): Likewise. - * sysdeps/powerpc/powerpc32/dl-trampoline.S [PROF] - (_dl_profile_resolve): Likewise. - * gmon/Makefile: Add rules to build and run tst-profile-static. - * gmon/tst-profile-static.c: New file. - * Makeconfig (+link-static): Allow passing program-specific flags. -2005-07-05 Thorsten Kukuk +2004-05-07 Ulrich Drepper - [BZ #1111] - * nis/nss_compat/compat-grp.c (internal_getgrgid_r): Check if NSS - module provides getgrgid_r. - (getgrnam_plusgroup): Preserve original return value. - * nis/nss_compat/compat-pwd.c (getpwnam_plususer): Preserve - original return value. - * nis/nss_compat/compat-spwd.c (getspnam_plususer): Likewise. + * sysdeps/unix/sysv/linux/Makefile: mq_send.c and mq_receive.c + need to be compiled with exceptions. -2005-07-05 Ulrich Drepper +2004-05-06 Ulrich Drepper - [BZ #1101] - * posix/regex_internal.c (build_wcs_buffer): Use MB_LEN_MAX not - MB_CUR_MAX. - (build_wcs_upper_buffer): Likewise. + * sysdeps/unix/sysv/linux/ifreq.c (__ifreq): Fix memory handling. + * sysdeps/generic/ifreq.c (__ifreq): Fix memory handling. - * csu/elf-init.c (__libc_csu_fini): Pretty printing. + * resolv/res_hconf.c (_res_hconf_reorder_addrs): Make clear that + realloc cannot fail. -2005-07-02 Roland McGrath + * nss/nss_files/files-netgrp.c (EXPAND): Free buffer which cannot + be expanded. - * NEWS: Note LinuxThreads removal. - * manual/install.texi (Installation): Don't mention linuxthreads. - (Configuring and compiling): Don't use linuxthreads as example. + * nis/nis_table.c: Clean up memory handling. + * nis/nis_subr.c (nis_getnames): Clean up memory handling. + * nis/nis_removemember.c (nis_removemember): Add comment + explaining use of realloc. - * sysdeps/unix/sysv/linux/configure.in: Check for nptl add-on only, - not linuxthreads. - * sysdeps/unix/sysv/linux/configure: Regenerated. - * resolv/Depend: Add nptl. - * rt/Depend: Likewise. + * math/tgmath.h (fabs): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL. + (carg): Likewise. + Patch by Lev S Bishop . - * linuxthreads, linuxthreads_db: Directories removed (preserved in - ports repository). + * math/bug-tgmath1.c (main): Test fabs and carg as well. -2005-06-27 Jakub Jelinek +2004-05-06 Richard Henderson - [BZ #1037] - * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: -mv8 is deprecated, - use -mcpu=v8. + * elf/elf.h (AT_L1I_CACHESHAPE, AT_L1D_CACHESHAPE, + AT_L2_CACHESHAPE, AT_L3_CACHESHAPE): New. + * sysdeps/unix/sysv/linux/alpha/Versions: Export + __libc_alpha_cache_shape as a private symbol. + * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c: New file. + * sysdeps/unix/sysv/linux/alpha/sysconf.c: New file. -2005-06-16 Jakub Jelinek +2004-05-06 Richard Henderson - [BZ #1016] - * sysdeps/ia64/strlen.S (strlen): Change l2 into a local label. - -2005-06-23 Thorsten Kukuk - - [BZ #1109] - * nscd/nscd_stat.c (receive_print_stats): Replace YESSTR/NOSTR - with own translation. - -2005-06-25 Jakub Jelinek - - [BZ #1097] - * sunrpc/xdr.c (xdr_hyper, xdr_u_hyper): When decoding, cast - t2 to uint32_t instead of ulong. - * sunrpc/Makefile (tests): Add tst-xdrmem. - * sunrpc/tst-xdrmem.c: New test. - - * Versions.def (ld): Add GLIBC_2.4. - * configure.in: Add --enable-stackguard-randomization option. - (ENABLE_STACKGUARD_RANDOMIZE): New define. - * config.h.in (ENABLE_STACKGUARD_RANDOMIZE): Add. - * sysdeps/unix/sysv/linux/dl-osinfo.h: Include stdint.h. - (_dl_setup_stack_chk_guard): New inline function. - * sysdeps/generic/dl-osinfo.h: Include stdint.h. - (_dl_setup_stack_chk_guard): New inline function. - * elf/rtld.c (__stack_chk_guard): New variable. - (dl_main): Remove all traces of TLS_INIT_TP_EXPENSIVE. - Set __stack_chk_guard to _dl_setup_stack_chk_guard (), - use THREAD_SET_STACK_GUARD if defined. - * elf/Versions (ld): Export __stack_chk_guard@@GLIBC_2.4. - * sysdeps/generic/libc-start.c (__stack_chk_guard): New variable. - (__libc_start_main): Set __stack_chk_guard to - _dl_setup_stack_chk_guard (), use THREAD_SET_STACK_GUARD if defined. - * sysdeps/generic/libc-tls.c (__libc_setup_tls): Remove all - traces of TLS_INIT_TP_EXPENSIVE. - * debug/Versions (libc): Export __stack_chk_fail@@GLIBC_2.4. - * debug/Makefile (routines): Add stack_chk_fail. - (static-only-routines): Add stack_chk_fail_local. - * debug/stack_chk_fail_local.c: New file. - * debug/stack_chk_fail.c: New file. - * elf/Makefile: Add rules to build and run tst-stackguard1{,-static} - tests. - * elf/tst-stackguard1.c: New file. - * elf/tst-stackguard1-static.c: New file. - * elf/stackguard-macros.h: New file. - -2005-06-21 Ulrich Drepper - - * resource/Makefile (tests): Add tst-getrlimit. - * resource/tst-getrlimit.c: New file. - - * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTPRIO): Fix typo. - * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise. - -2005-06-20 Ulrich Drepper - - * nscd/nscd.init: Get more in line with lsb3. - * nscd/nscd.c: Adjust some error codes to fit in better with lsb3. - * nscd/connections.c: Likewise. - -2005-06-20 Jakub Jelinek - - [BZ #653] - * sysdeps/unix/sysv/linux/sys/quota.h: Add definitions and types for - _LINUX_QUOTA_VERSION >= 2. - (_LINUX_QUOTA_VERSION): Define if not yet defined. - - * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_NICE, - RLIMIT_RTPRIO): Add. - (RLIMIT_NLIMITS): Adjust. - * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIMIT_NICE, - RLIMIT_RTPRIO): Add. - (RLIMIT_NLIMITS): Adjust. - * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_NICE, - RLIMIT_RTPRIO): Add. - (RLIMIT_NLIMITS): Adjust. - * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIMIT_NICE, - RLIMIT_RTPRIO): Add. - (RLIMIT_NLIMITS): Adjust. - -2005-06-17 Ulrich Drepper - - [BZ #1106] - * time/mktime.c: Always include for prototype of - implicitly used memcpy. - - [BZ #1104] - * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c - (truncate64): Use __truncate, not truncate. - (__have_no_truncate64): Renamed from have_no_truncate64. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c - (__have_no_truncate64): Renamed from have_no_truncate64. - - * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ulps for complex - float functions for gcc 4. - -2005-06-10 Jakub Jelinek - - * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup): - Handle prelinked libraries and binaries with new style PLT. - -2005-06-07 Jakub Jelinek - - * elf/elf.h (R_PPC_REL16, R_PPC_REL16_LO, R_PPC_REL16_HI, - R_PPC_REL16_HA): Define. - -2005-06-14 Alan Modra - - * config.h.in (HAVE_ASM_PPC_REL16): Add. - * elf/elf.h (DT_PPC_GOT, DT_PPC_NUM): Define. - * elf/tls-macros.h (PowerPC32): Include config.h. Add variants of - TLS_IE, TLS_LD and TLS_GD for new PLT/GOT layout. - * sysdeps/powerpc/powerpc32/configure.in: New file, - * sysdeps/powerpc/powerpc32/dl-dtprocnum.h: New file. - * sysdeps/powerpc/powerpc32/dl-machine.h (DT_PPC): Define. - (ppc_got): New inline function. - (elf_machine_dynamic): Use ppc_got. Add attribute const. - (elf_machine_load_address): Add attribute const. Don't use int vars. - Use bcl rather than bl to save trashing branch target stack. Use - elf_machine_dynamic rather than duplicating code here. - (elf_machine_runtime_setup): New inline function replacing define. - Handle new PLT. - (elf_machine_fixup_plt): Handle new PLT. - (elf_machine_rela): Likewise. - * sysdeps/powerpc/powerpc32/sysdep.h: Include config.h. - (CALL_MCOUNT): Don't set up counter vars. - * sysdeps/powerpc/powerpc32/ppc-mcount.S: Correct comment. - * sysdeps/powerpc/powerpc32/elf/start.S (start_addressesp): Don't - define when HAVE_ASM_PPC_REL16. - (_start): Add HAVE_ASM_PPC_REL16 code. - * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Don't bl - into the GOT when HAVE_ASM_PPC_REL16. - * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise. - * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Ditto. - * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_lround.S (__lround): Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise. - * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S (__sigsetjmp): - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S (__brk): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S - (__getcontext): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S - (__setcontext): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S - (__swapcontext): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S (stackblock): - Comment. - (__socket): Bomb if NARGS >= 7. Invoke CGOTSETUP and CGOTRESTORE. - -2005-06-17 Ulrich Drepper - - [BZ #1106] - * sysdeps/posix/sigignore.c: Include to tell the compiler - to use __GI_memset. - * sysdeps/posix/signal.c: Likewise. - * sysdeps/posix/sigset.c: Likewise. - * sysdeps/posix/sysv_signal.c: Likewise. - * sysdeps/unix/sysv/linux/sleep.c: Likewise. - * sysdeps/unix/sysv/linux/sysctl.c: Likewise. - * sysdeps/unix/sysv/linux/system.c: Likewise. - -2005-06-15 Jakub Jelinek - - [BZ #1088] - * hesiod/hesiod.c (hesiod_init): Don't check for ctx->classes[0] == 0 - or both classes equal here. - (parse_config_file): If both classes are equal, clear the second one. - -2005-06-08 Karl Kelley - - [BZ #1088] - * hesiod/hesiod_p.h (struct hesiod_p): Add classes array. - * hesiod/hesiod.c (hesiod_init): Initialize classes. Fail if no - valid classes were given or if both are equal. - (hesiod_resolve): Use ctx->classes instead of hardcoded C_IN - and C_HS order. - (parse_config_file): Handle classes keyword. - * hesiod/README.hesiod: Mention addition of the classes keyword. - -2005-06-14 Ulrich Drepper - - [BZ #1085] - * configure.in: Add test for availability of libaudit. - * config.h.in: Define HAVE_LIBAUDIT. - * config.make.in: Define have-libaudit. - * nscd/Makefile: If libaudit is available, link nscd with it. - * nscd/selinux.c: If HAVE_LIBAUDIT is defined, log using libaudit. - Patch by Steve Grubb . - - * debug/pread64_chk.c: Use __libc_pread64 instead of __pread64. - * sysdeps/posix/posix_fallocate64.c: Likewise. - * include/string.h: Use libc_hidden_proto for strnlen. - * sysdeps/generic/strnlen.c: Add libc_hidden_def. - * include/libintl.h: Use libc_hidden_proto for __dcgettext. - * intl/dcgettext.c: Add libc_hidden_def. - * include/execinfo.h: Add libc_hidden_proto for __backtrace and - __backtrace_symbols_fd. - * sysdeps/generic/backtrace.c: Add libc_hidden_def. - * sysdeps/generic/backtracesymsfd.c: Likewise. - * sysdeps/generic/elf/backtracesymsfd.c: Likewise. - * sysdeps/i386/backtrace.c: Likewise. - * sysdeps/ia64/backtrace.c: Likewise. - * sysdeps/powerpc/powerpc32/backtrace.c: Likewise. - * sysdeps/powerpc/powerpc64/backtrace.c: Likewise. - * sysdeps/s390/s390-32/backtrace.c: Likewise. - * sysdeps/s390/s390-64/backtrace.c: Likewise. - -2005-06-13 Ulrich Drepper - - * sysdeps/unix/clock_gettime.c (clock_gettime): Implement case - where HANDLED_REALTIME is not defined. [BZ #966] - -2005-06-13 Jakub Jelinek - - [BZ #1096] - * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_sendreq, - __netlink_receive): Remove prototypes. - (__netlink_request): New prototype. - * sysdeps/unix/sysv/linux/ifaddrs.c: Include and - . - (__netlink_sendreq): Make static. - (__netlink_receive): Rename to... - (__netlink_request): ... this. Add type argument, call - __netlink_sendreq. If MSG_TRUNC is set after recvmsg, retry - with a bigger buffer. Don't record buffers that contain no - messages we are expecting. - (getifaddrs): Use __netlink_request instead of __netlink_sendreq - and __netlink_receive pairs. Formatting. - * sysdeps/unix/sysv/linux/if_index.c (if_nameindex_netlink): Use - __netlink_request instead of __netlink_sendreq and __netlink_receive - pair. - -2005-06-13 Thorsten Kukuk - - * sysdeps/unix/sysv/linux/netinet/if_tr.h: Don't include kernel - headers, instead copy important structs/defines. - -2005-06-13 Jakub Jelinek - - * elf/rtld.c (dl_main): Move DT_DEBUG setup before first - _dl_debug_state call. - -2005-06-12 Ulrich Drepper - - * elf/dl-error.c (_dl_signal_error): Store information about use of - real malloc in the catch object. - (_dl_catch_error): Forward information about malloc use to caller - in new parameter. - (_dl_out_of_memory): Make static. - * elf/dl-deps.c: Adjust callers of _dl_catch_error. - * elf/dl-libc.c: Likewise. - * elf/dl-open.c: Likewise. - * elf/rtld.c: Likewise. - Add new --audit option. - * sysdeps/generic/ldsodefs.h: Remove _dl_out_of_memory declaration. - (rtld_global_ro._dl_signal_error): Add new parameter. - * include/dlfcn.h (_dl_catch_error): Add new parameter. - * dlfcn/dlfcn.c (_dlerror_run): Pass additional parameter to - _dl_catch_error. Only free if the returned newly value says so. - -2005-06-01 Roland McGrath - - [BZ #959] - * posix/tst-mmap.c (main): Fill the test file with enough data for the - page size. - -2005-05-30 Jakub Jelinek - - * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): If - GLRO(dl_osversion) has been already set to a value smaller than - _dl_discover_osversion (), don't overwrite it here. - -2005-05-24 Thomas Schwinge - - * sysdeps/mach/i386/syscall.S (syscall): Call END. - -2005-05-28 Richard Henderson - - * elf/elf.h (DT_ALPHA_PLTRO, DT_ALPHA_NUM): New. - * sysdeps/alpha/dl-dtprocnum.h: New file. - * sysdeps/alpha/dl-machine.h (DT_ALPHA): New. - (elf_machine_load_address): Simplify to rely on gprel relocations. - (elf_machine_runtime_setup): Handle DT_ALPHA_PLTRO plt format. - Remove thread safety workaround for binutils 2.6. - (elf_machine_fixup_plt): Handle DT_ALPHA_PLTRO plt format. - * sysdeps/alpha/dl-trampoline.S (_dl_runtime_resolve_new): New. - (_dl_runtime_profile_new): New. - (_dl_runtime_resolve_old): Rename from _dl_runtime_resolve. - (_dl_runtime_profile_old): Rename from _dl_runtime_profile. Fix - typo in _dl_call_pltexit argument loading. - - * sysdeps/alpha/div_libc.h (funcnoplt): New. - * sysdeps/alpha/divl.S: Use it. - * sysdeps/alpha/divq.S: Likewise + * sysdeps/alpha/div_libc.h (_ITOFS, _ITOFT, _FTOIT, _ITOFT2): New. + * sysdeps/alpha/divl.S: Use them. + * sysdeps/alpha/divq.S: Likewise. * sysdeps/alpha/divqu.S: Likewise. * sysdeps/alpha/reml.S: Likewise. * sysdeps/alpha/remq.S: Likewise. * sysdeps/alpha/remqu.S: Likewise. -2005-05-26 Andreas Schwab +2004-05-06 Ulrich Drepper - * locale/Makefile (CFLAGS-loadlocale.c): Don't define. + * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG_RET_REAL):Define. + (cimag): Use it. + (creal): Likewise. + * math/Makefile (tests): Add bug-tgmath1. + * math/bug-tgmath1.c: New file. -2005-05-26 Ulrich Drepper +2004-05-05 Jakub Jelinek - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_DIRECT): Fix value. - Reported by Colin Gibbs . [BZ #954] + * sysdeps/alpha/atomicity.h: Remove. + * sysdeps/generic/atomicity.h: Remove. -2005-05-17 Alan Modra +2004-05-05 H.J. Lu - * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Corrent - _dl_hwcap access in PIC && !SHARED case. - * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. + * sysdeps/i386/i486/bits/string.h (strpbrk): Cast return to + char *. -2005-05-25 Dwayne Grant McConnell +2004-04-22 David Mosberger - * gmon/gmon.c: Add space in weak_alias use. - * linuxthreads/sysdeps/unix/sysv/linux/mips/vfork.S: Likewise. - * sysdeps/alpha/htonl.S: Likewise. - * sysdeps/alpha/htons.S: Likewise. - * sysdeps/alpha/elf/start.S: Likewise. - * sysdeps/i386/i386-mcount.S: Likewise. - * sysdeps/ia64/strchr.S: Likewise. - * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise. - * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise. - * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise. - * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise. - * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise. - * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise. - * sysdeps/ia64/fpu/w_lgamma.c: Likewise. - * sysdeps/ia64/fpu/w_lgamma.c: Likewise. - * sysdeps/ia64/fpu/w_lgammaf.c: Likewise. - * sysdeps/ia64/fpu/w_lgammaf.c: Likewise. - * sysdeps/ia64/fpu/w_lgammal.c: Likewise. - * sysdeps/ia64/fpu/w_lgammal.c: Likewise. - * sysdeps/mach/hurd/readdir64_r.c: Likewise. - * sysdeps/mach/hurd/sigaltstack.c: Likewise. - * sysdeps/powerpc/fpu/s_fabs.S: Likewise. - * sysdeps/powerpc/fpu/s_fabs.S: Likewise. - * sysdeps/powerpc/fpu/s_fabs.S: Likewise. - * sysdeps/powerpc/fpu/s_fabs.S: Likewise. - * sysdeps/powerpc/fpu/s_fmax.S: Likewise. - * sysdeps/powerpc/fpu/s_fmax.S: Likewise. - * sysdeps/powerpc/fpu/s_fmax.S: Likewise. - * sysdeps/powerpc/fpu/s_fmax.S: Likewise. - * sysdeps/powerpc/fpu/s_fmin.S: Likewise. - * sysdeps/powerpc/fpu/s_fmin.S: Likewise. - * sysdeps/powerpc/fpu/s_fmin.S: Likewise. - * sysdeps/powerpc/fpu/s_fmin.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise. - * sysdeps/s390/s390-32/s390-mcount.S: Likewise. - * sysdeps/s390/s390-64/s390x-mcount.S: Likewise. - * sysdeps/sparc/sparc32/memset.S: Likewise. - * sysdeps/sparc/sparc32/stpcpy.S: Likewise. - * sysdeps/sparc/sparc32/strchr.S: Likewise. - * sysdeps/sparc/sparc32/strchr.S: Likewise. - * sysdeps/sparc/sparc64/memcmp.S: Likewise. - * sysdeps/sparc/sparc64/memcpy.S: Likewise. - * sysdeps/sparc/sparc64/memcpy.S: Likewise. - * sysdeps/sparc/sparc64/memset.S: Likewise. - * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise. - * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise. - * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise. - * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise. - * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/getcontext.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/setcontext.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/swapcontext.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise. - * sysdeps/unix/sysv/linux/readdir64.c: Likewise. - * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise. - * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise. - * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise. - * sysdeps/unix/sysv/linux/i386/makecontext.S: Likewise. - * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise. - * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise. - * sysdeps/unix/sysv/linux/ia64/getcontext.S: Likewise. - * sysdeps/unix/sysv/linux/ia64/setcontext.S: Likewise. - * sysdeps/unix/sysv/linux/mips/clone.S: Likewise. - * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise. - * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise. - * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise. - * sysdeps/x86_64/_mcount.S: Likewise. + * sysdeps/unix/sysv/linux/ia64/Makefile (librt-routines): Mention + rt-sysdep. + * sysdeps/unix/sysv/linux/ia64/rt-sysdep.S: New file. -2005-05-24 Roland McGrath + * sysdeps/ia64/strcat.c: New file. + * sysdeps/ia64/strcat.S: Delete. - * sysdeps/unix/sysv/linux/i386/sysdep.h - (SETUP_PIC_REG, LOAD_PIC_REG): Move these macros ... - * sysdeps/i386/sysdep.h [PIC]: ... to here. +2004-05-04 Jakub Jelinek -2005-05-23 Roland McGrath + * sysdeps/unix/sysv/linux/ia64/sysdep.S (USE___THREAD): Remove + defined. - * sysdeps/arm, sysdeps/unix/arm, sysdeps/unix/sysv/linux/arm: - Subdirectories moved to ports repository. - * configure.in (base_machine): Remove arm* and thumb* patterns. - * shlib-versions (arm.*-.*-linux.*): Remove this pattern. +2004-04-23 Jakub Jelinek -2005-05-23 Ulrich Drepper + * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Add + libc_hidden_proto. Define to __GI___libm_error_support for + assembly going into libc.so. + * sysdeps/ia64/fpu/libc_libm_error.c (__libm_error_support): Add + libc_hidden_def. - [BZ #1086] - * sunrpc/bindrsvprt.c (LOWPORT): Apparently some mountd - implementations are broken and don't accept ports < 512. + * include/libc-symbols.h (HIDDEN_BUILTIN_JUMPTARGET): Define. + * sysdeps/ia64/bcopy.S (bcopy): Use it for jump to memmove. -2005-05-22 Dmitry V. Levin + * sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Access + gprel errno if RTLD_PRIVATE_ERRNO or __thread __libc_errno/errno + if USE___THREAD. - [BZ #961] - * io/sys/sendfile.h: Remove __nonnull from sendfile and sendfile64 - declarations. +2004-05-03 Jakub Jelinek -2005-05-23 Ulrich Drepper - - [BZ #1086] - * sunrpc/pm_getport.c (__get_socket): New function. - (pmap_getport): Use it to open a non-reserved socket to the portmapper - for TCP. - * include/rpc/pmap_clnt.h (__get_socket): Declare. - * sunrpc/pm_getmaps.c (pmap_getmaps): Use __get_socket to get an - non-reserved socket for the portmapper. - Based on a patch by Steve Dickson . - - [BZ #1086] - * sunrpc/bindrsvprt.c (bindresvport): Try harder to find a port. - If we tried looking at the usual range without success extend the - range to even lower ports. - - * sysdeps/unix/clock_gettime.c (clock_gettime): Revert last patch. - -2005-05-22 Andreas Schwab - - * elf/rtld.c: Include . - -2005-05-17 Alan Modra - - * sysdeps/powerpc/powerpc32/sysdep.h (PSEUDO_RET): Don't use - JUMPTARGET. Instead append @local to __syscall_error. - * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Delete all occurrences - of JUMPTARGET. Instead append @local to labels. - * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. - * sysdeps/powerpc/powerpc32/ppc-mcount.S: Likewise. - * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise. - - * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Use float constants. - * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise. Use one GOT - slot to access both constants. - * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise. - - * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (TWO52.0): Delete. - * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (TWO23.0): Delete. - * sysdeps/powerpc/powerpc32/fpu/s_floor.S (TWO52.0): Delete. - * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (TWO23.0): Delete. - * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Comment typo. - (NEGZERO.0, POINTFIVE.0): Delete. - * sysdeps/powerpc/powerpc32/fpu/s_rint.S (TWO52.0): Delete. - * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (TWO23.0): Delete. - * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Code in .text. - (TWO52.0, POINTFIVE.0): Delete. - * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Code in .text. - (TWO23.0, POINTFIVE.0): Delete. - * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Code in .text. - (TWO52.0): Delete. - * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Code in .text. - (TWO23.0): Delete. - * sysdeps/powerpc/powerpc32/memset.S (memset): Formatting. - -2005-05-19 Richard Henderson - - * sysdeps/unix/clock_gettime.c (clock_gettime): Fix typo around - CLOCK_REALTIME. - - * sysdeps/ia64/bits/atomic.h (__arch_compare_and_exchange_bool_32_acq, - __arch_compare_and_exchange_bool_64_acq, - __arch_compare_and_exchange_val_32_acq, - __arch_compare_and_exchange_val_64_acq, atomic_exchange_and_add): - Use __sync builtin without _si or _di suffix. - -2005-05-19 Jakub Jelinek - - [BZ #955] - * iconvdata/ibm939.c (BODY): Avoid segfaults with input characters - and above. - -2005-05-17 Andreas Schwab - - * sysdeps/unix/sysv/linux/clock_getcpuclockid.c - (clock_getcpuclockid): Always return a defined value. - -2005-05-17 Neal H. Walfield - - [BZ #1350] - * sysdeps/posix/getaddrinfo.c (gaih_local): Check [_HAVE_SA_LEN] - instead of [SALEN]. - (gaih_inet): Likewise. - -2005-05-11 Ulrich Drepper - - * elf/elf.h (Elf32_auxv_t): Make cross-compile safe. - (Elf64_auxv_t): Likewise. - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Adjust for - removal of a_ptr element in ElfXX_auxv_t. - * elf/dl-support.c (_dl_aux_init): Likewise. - -2005-05-09 Daniel Jacobowitz - - * sysdeps/unix/sysv/linux/clock_getres.c: Include . - * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise. - -2005-05-09 Alan Modra - - * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use - .pushsection/.popsection in place of .section/.previous. - -2005-05-08 Ulrich Drepper - - * MakeTAGS: Make xgettext not look into test cases. - - * MakeTAGS: Make sure translations in error calls are marked with - c-format by xgettext. - -2005-05-07 Ulrich Drepper - - * intl/libintl.h: Always use __attribute_format_arg__ for gettext - functions since gcc sometimes forgets the attribute for the - standard functions. - -2005-05-06 Jakub Jelinek - - [BZ #934] - * posix/regex_internal.h: Include bits/libc-lock.h or define dummy - __libc_lock_* macros if not _LIBC. - (struct re_dfa_t): Add lock. - * posix/regcomp.c (re_compile_internal): Add __libc_lock_init. - * posix/regexec.c (regexec, re_search_stub): Add locking. - -2005-05-04 Jakub Jelinek - - * intl/Makefile (tst-gettext[45].out): Pass also $(run-program-prefix) - as argument to the scripts. - * intl/tst-gettext2.sh: Use mkdir -p instead of test -d + mkdir. - * intl/tst-gettext4.sh: Likewise. Use run_program_prefix argument. - * intl/tst-gettext5.sh: Likewise. - - * intl/tst-translit.sh: Add mkdir -p. - - * sysdeps/unix/sysv/linux/i386/sysdep.h (SETUP_PIC_REG): Use - .ifndef/.endif to allow use of this macro more than once per .S - file. - (LOAD_PIC_REG): New macro. - * sysdeps/unix/sysv/linux/i386/makecontext.S: Add call frame - information. - * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise. - * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise. - * sysdeps/i386/fpu/s_asinh.S: Use LOAD_PIC_REG macro. Add call frame - information. - * sysdeps/i386/fpu/e_log10f.S: Likewise. - * sysdeps/i386/fpu/s_expm1.S: Likewise. - * sysdeps/i386/fpu/e_acoshf.S: Likewise. - * sysdeps/i386/fpu/e_log2l.S: Likewise. - * sysdeps/i386/fpu/s_log1pf.S: Likewise. - * sysdeps/i386/fpu/s_lrint.S: Likewise. - * sysdeps/i386/fpu/s_llrint.S: Likewise. - * sysdeps/i386/fpu/s_ilogbf.S: Likewise. - * sysdeps/i386/fpu/s_cbrtl.S: Likewise. - * sysdeps/i386/fpu/s_asinhf.S: Likewise. - * sysdeps/i386/fpu/e_log.S: Likewise. - * sysdeps/i386/fpu/e_atanhf.S: Likewise. - * sysdeps/i386/fpu/s_lrintl.S: Likewise. - * sysdeps/i386/fpu/e_atanhl.S: Likewise. - * sysdeps/i386/fpu/e_scalb.S: Likewise. - * sysdeps/i386/fpu/s_log1p.S: Likewise. - * sysdeps/i386/fpu/s_nearbyintl.S: Likewise. - * sysdeps/i386/fpu/s_frexpl.S: Likewise. - * sysdeps/i386/fpu/s_log1pl.S: Likewise. - * sysdeps/i386/fpu/s_nearbyintf.S: Likewise. - * sysdeps/i386/fpu/s_cbrt.S: Likewise. - * sysdeps/i386/fpu/s_expm1l.S: Likewise. - * sysdeps/i386/fpu/s_lrintf.S: Likewise. - * sysdeps/i386/fpu/e_acosh.S: Likewise. - * sysdeps/i386/fpu/s_cexp.S: Likewise. - * sysdeps/i386/fpu/s_ilogbl.S: Likewise. - * sysdeps/i386/fpu/s_expm1f.S: Likewise. - * sysdeps/i386/fpu/e_powl.S: Likewise. - * sysdeps/i386/fpu/e_powf.S: Likewise. - * sysdeps/i386/fpu/e_scalbf.S: Likewise. - * sysdeps/i386/fpu/e_logl.S: Likewise. - * sysdeps/i386/fpu/e_acoshl.S: Likewise. - * sysdeps/i386/fpu/s_frexp.S: Likewise. - * sysdeps/i386/fpu/e_pow.S: Likewise. - * sysdeps/i386/fpu/e_logf.S: Likewise. - * sysdeps/i386/fpu/e_log2.S: Likewise. - * sysdeps/i386/fpu/s_frexpf.S: Likewise. - * sysdeps/i386/fpu/s_cexpl.S: Likewise. - * sysdeps/i386/fpu/s_llrintf.S: Likewise. - * sysdeps/i386/fpu/s_ilogb.S: Likewise. - * sysdeps/i386/fpu/e_scalbl.S: Likewise. - * sysdeps/i386/fpu/e_atanh.S: Likewise. - * sysdeps/i386/fpu/e_log10.S: Likewise. - * sysdeps/i386/fpu/s_cbrtf.S: Likewise. - * sysdeps/i386/fpu/s_cexpf.S: Likewise. - * sysdeps/i386/fpu/s_llrintl.S: Likewise. - * sysdeps/i386/fpu/e_log10l.S: Likewise. - * sysdeps/i386/fpu/s_nearbyint.S: Likewise. - * sysdeps/i386/fpu/s_asinhl.S: Likewise. - * sysdeps/i386/fpu/e_log2f.S: Likewise. - * sysdeps/i386/addmul_1.S: Various fixes to cfi handling. - * sysdeps/i386/mul_1.S: Likewise. - * sysdeps/i386/strtok.S: Likewise. - * sysdeps/i386/sub_n.S: Likewise. - * sysdeps/i386/submul_1.S: Likewise. - * sysdeps/i386/i586/addmul_1.S: Likewise. - * sysdeps/i386/i586/memcpy.S: Likewise. - * sysdeps/i386/i586/mul_1.S: Likewise. - * sysdeps/i386/i586/rshift.S: Likewise. - * sysdeps/i386/i586/sub_n.S: Likewise. - * sysdeps/i386/i586/submul_1.S: Likewise. - * sysdeps/i386/i686/memcmp.S: Likewise. - * sysdeps/i386/i686/memmove.S: Likewise. - * sysdeps/unix/sysv/linux/i386/clone.S: Likewise. - * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. - * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise. - * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise. - -2005-05-03 Ulrich Drepper - - * sysdeps/i386/add_n.S: Add call frame information. - * sysdeps/i386/addmul_1.S: Likewise. - * sysdeps/i386/bsd-setjmp.S: Likewise. - * sysdeps/i386/lshift.S: Likewise. - * sysdeps/i386/memchr.S: Likewise. - * sysdeps/i386/memcmp.S: Likewise. - * sysdeps/i386/mul_1.S: Likewise. - * sysdeps/i386/rawmemchr.S: Likewise. - * sysdeps/i386/rshift.S: Likewise. - * sysdeps/i386/stpncpy.S: Likewise. - * sysdeps/i386/strchr.S: Likewise. - * sysdeps/i386/strchrnul.S: Likewise. - * sysdeps/i386/strcspn.S: Likewise. - * sysdeps/i386/strpbrk.S: Likewise. - * sysdeps/i386/strrchr.S: Likewise. - * sysdeps/i386/strspn.S: Likewise. - * sysdeps/i386/strtok.S: Likewise. - * sysdeps/i386/sub_n.S: Likewise. - * sysdeps/i386/submul_1.S: Likewise. - * sysdeps/i386/elf/bsd-setjmp.S: Likewise. - * sysdeps/i386/i486/strcat.S: Likewise. - * sysdeps/i386/i586/add_n.S: Likewise. - * sysdeps/i386/i586/addmul_1.S: Likewise. - * sysdeps/i386/i586/lshift.S: Likewise. - * sysdeps/i386/i586/memcpy.S: Likewise. - * sysdeps/i386/i586/memset.S: Likewise. - * sysdeps/i386/i586/mul_1.S: Likewise. - * sysdeps/i386/i586/rshift.S: Likewise. - * sysdeps/i386/i586/strchr.S: Likewise. - * sysdeps/i386/i586/strcpy.S: Likewise. - * sysdeps/i386/i586/sub_n.S: Likewise. - * sysdeps/i386/i586/submul_1.S: Likewise. - * sysdeps/i386/i686/add_n.S: Likewise. - * sysdeps/i386/i686/memcmp.S: Likewise. - * sysdeps/i386/i686/memmove.S: Likewise. - * sysdeps/i386/i686/mempcpy.S: Likewise. - * sysdeps/i386/i686/memset.S: Likewise. - * sysdeps/i386/i686/strtok.S: Likewise. - * sysdeps/unix/sysv/linux/i386/clone.S: Likewise. - * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. - * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise. - * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise. - * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise. - * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise. - - * sysdeps/i386/fpu/libm-test-ulps: Adjust for gcc 4. - - * sysdeps/unix/sysv/linux/kernel-features.h: waitid is available - on ppc in 2.6.12. - -2005-04-29 Jakub Jelinek - - [BZ #1083] - * sysdeps/posix/posix_fallocate.c (posix_fallocate): If len == 0, - call ftruncate if offset is bigger than current size. Make sure - the file is offset + len bytes long if that is more than current size. - Don't overwrite previous content of the file. - * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64): + * sysdeps/unix/bsd/bits/fcntl.h (F_SETOWN, F_GETOWN): Define if + __USE_BSD or __USE_UNIX98. + * sysdeps/unix/bsd/ultrix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. + * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. + * sysdeps/unix/bsd/sun/sunos4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. - -2005-05-02 Roland McGrath - - [BZ #924] - * crypt/md5.c [! HAVE_MEMCPY] (memcpy): Yield proper expression value. - -2005-04-29 Roland McGrath - - * timezone/africa: Update from tzdata2005i. - * timezone/asia: Likewise. - * timezone/northamerica: Likewise. - * timezone/yearistype: Likewise. - - * sysdeps/i386/sysdep.h (CALL_MCOUNT): Fix typo in last change. - -2005-04-29 Ulrich Drepper - - [BZ #1093] - * nis/nis_table.c: Fix realloc handling. - * nis/nis_removemember.c: Likewise. - -2005-04-28 Ulrich Drepper - - [BZ #798] - * nscd/Makefile: Help losers who use --with-headers. - -2005-04-28 Roland McGrath - - [BZ #796] - * sysdeps/unix/sysv/linux/dl-sysdep.h: New file. - Define NEED_DL_SYSINFO_DSO for all platforms. - - * sysdeps/generic/dl-sysdep.h: Remove multiple inclusion protection. - * sysdeps/alpha/dl-sysdep.h: Likewise. - Use #include_next instead of duplicating generic file's contents. - * sysdeps/ia64/dl-sysdep.h: Likewise. - * sysdeps/sparc/dl-sysdep.h: Likewise. - -2005-03-22 Steven Munroe - - * sysdeps/powerpc/powerpc64/memset.S (memset): Make ___memset local. - -2005-03-07 Steven Munroe - - [BZ #781] - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_TGKILL): Define for powerpc32/64 starting with 2.6.1. - (__ASSUME_UTIMES): Define for powerpc32/64 starting with 2.6.1. - (__ASSUME_FADVISE64_64_SYSCALL): Define for powerpc32 only starting - with 2.6.1. - (__ASSUME_WAITID_SYSCALL): Don't define for powerpc32/64. - -2005-04-28 Ulrich Drepper - - * sysdeps/i386/sysdep.h: Add cfi instrumentation to asm fragments. - * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/i386/socket.S: Remove now duplicate - cfi_startproc and cfi_endproc. - - * configure.in: Remove ultrasparc names. - - * sysdeps/i386/i686/memcmp.S: Move misplaced END. - -2005-03-27 Bruno Haible - - Make it possible for multiple threads to use gettext() in different - locales. - * intl/dcigettext.c (HAVE_PER_THREAD_LOCALE): New macro. - (struct known_translation_t): If HAVE_PER_THREAD_LOCALE, add localename - field. - (transcmp): If HAVE_PER_THREAD_LOCALE, compare localename fields. - (DCIGETTEXT): If HAVE_PER_THREAD_LOCALE, fill the localename field in - search and newp. - - * intl/tst-gettext4.c: New file. - * intl/tst-gettext4.sh: New file. - * intl/tst-gettext4-de.po: New file. - * intl/tst-gettext4-fr.po: New file. - * intl/tst-gettext5.c: New file. - * intl/tst-gettext5.sh: New file. - * intl/Makefile (distribute): Add tst-gettext4.sh, tst-gettext4-de.po, - tst-gettext4-fr.po, tst-gettext5.sh. - (multithread-test-srcs): New variable. - (test-srcs): Add its contents. - (tests): Depend on tst-gettext4.out, tst-gettext5.out. - (tst-gettext4.out, tst-gettext5.out): New rules. - (CFLAGS-tst-gettext4.c, CFLAGS-tst-gettext5.c): New variables. - Add rule for linking the multithread-test-srcs with the appropriate - thread-library. - -2005-04-28 Ulrich Drepper - - * po/rw.po: New file. From translation team. - - * scripts/config.guess: Update from upstream. - * scripts/config.sub: Likewise. - -2005-04-27 Ulrich Drepper - - [BZ #1094] - * nscd/connections.c (nscd_run): Use time() value in prune_cache - call, not timeout value, since the latter might be from another clock. - -2005-04-27 Roland McGrath - - [BZ #877] - * posix/unistd.h: Remove __nonnull from acct decl. - - * rt/tst-cpuclock1.c: New file. - * rt/tst-cpuclock2.c: New file. - * rt/tst-cputimer1.c: New file. - * rt/tst-cputimer2.c: New file. - * rt/tst-cputimer3.c: New file. - * rt/Makefile (tests): Add them. - - * sysdeps/unix/sysv/linux/kernel-posix-cpu-timers.h: New file. - * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: New file. - * sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c - (HAS_CPUCLOCK): New macro. - (clock_getcpuclockid): Function removed. - #include the new linux file to define it instead. - * sysdeps/unix/clock_gettime.c [HP_TIMING_AVAIL] (hp_timing_gettime): - New function, broken out of ... - (clock_gettime) [HP_TIMING_AVAIL]: ... here. Call it. - (realtime_gettime): New function, broken out of ... - (clock_gettime) [! HANDLED_REALTIME]: ... here. Call it. - (clock_gettime) [SYSDEP_GETTIME_CPU]: Use new macro in default case. - * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): New macro. - (SYSDEP_GETTIME_CPUTIME): New macro. - (SYSDEP_GETTIME): Use both. - [! __ASSUME_POSIX_TIMERS] (maybe_syscall_gettime): New function, broken - out of ... - (SYSDEP_GETTIME): ... here. Use it. - [__NR_clock_gettime] (HANDLED_CPUTIME): Define it. - (SYSDEP_GETTIME_CPUTIME): New macro. Handle CPU timers by trying - kernel support and falling back to hp-timing code. - * sysdeps/posix/clock_getres.c - [HP_TIMING_AVAIL] (hp_timing_getres): New function, broken out of ... - (clock_getres) [HP_TIMING_AVAIL]: ... here. Call it. - (realtime_getres): New function, broken out of ... - (clock_getres) [! HANDLED_REALTIME]: ... here. Call it. - (clock_getres) [SYSDEP_GETRES_CPU]: Use new macro in default case. - * sysdeps/unix/sysv/linux/clock_getres.c (SYSCALL_GETRES): New macro. - (SYSDEP_GETRES_CPUTIME): New macro. - (SYSDEP_GETRES): Use both. - [! __ASSUME_POSIX_TIMERS] (maybe_syscall_getres): New function, broken - out of ... - (SYSDEP_GETRES): ... here. Use it. - [__NR_clock_getres] (HANDLED_CPUTIME): Define it. - (SYSDEP_GETRES_CPUTIME): New macro. Handle CPU timers by trying - kernel support and falling back to hp-timing code. - * sysdeps/unix/sysv/linux/clock_nanosleep.c: Handle - CLOCK_PROCESS_CPUTIME_ID and CLOCK_PROCESS_THREAD_ID specially, - translating to the kernel clockid_t for our own process/thread clock. - -2005-04-27 Ulrich Drepper - - * stdlib/test-canon.c: Make doesExist a directory and add more tests - for the new error case. - -2004-06-02 Dmitry V. Levin - Ranjani Murthy - - * stdlib/canonicalize.c (__realpath): Change realpath(3) to - return NULL and set errno to ENOTDIR for such pathnames like - "/path/to/existing-non-directory/". - -2005-04-26 Ulrich Drepper - - [BZ #1105] - * time/strptime_l.c (__strptime_internal): Handle 'z' to set - tm_gmtoff. - * time/Makefile (tests): Add tst-strptime2. - * time/tst-strptime2.c: New file. - -2005-04-26 Jakub Jelinek - - [BZ #1081] - * elf/dl-close.c: Include stddef.h. - (_dl_close): If called recursively, just remember GC needs to be rerun - and decrease l_direct_opencount. Avoid GC if l_direct_opencount - decreased to 1. Rerun GC at the end if any destructor unloaded some - additional libraries. - * elf/Makefile: Add rules to build and run unload6 test. - * elf/unload6.c: New test. - * elf/unload6mod1.c: New file. - * elf/unload6mod2.c: New file. - * elf/unload6mod3.c: New file. - - * malloc/hooks.c (mem2chunk_check): Add magic_p argument, set *magic_p - if magic_p is not NULL. - (top_check): Invoke MALLOC_FAILURE_ACTION if MORECORE failed. - (malloc_check): Fail if sz == -1. - (free_check): Adjust mem2chunk_check caller. - (realloc_check): Likewise. Fail if bytes == -1. If bytes == 0 and - oldmem != NULL, call free_check and return NULL. If reallocating - and returning NULL, invert magic byte again to make oldmem valid - region for further checking. - (memalign_check): Fail if bytes == -1. - * malloc/Makefile: Add rules to build and run tst-mcheck. - * malloc/tst-mcheck.c: New test. - -2005-04-26 Ulrich Drepper - - [BZ #1110] - * stdio-common/vfscanf.c: Correctly account for characters of - decimal points right after +-. - -2005-04-26 Roland McGrath - - * elf/rtld-Rules (rtld-all): Test ifndef rtld-modules instead of - ifeq ($(subdir),elf) to distinguish main driver from subdir runs. - -2005-04-25 Roland McGrath - - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h - (INTERNAL_SYSCALL_ERROR_P): Fix typo in last change. - - * sunrpc/xdr.c (xdr_u_int): Use `long' for L and cast where needed. - - * elf/dl-load.c: Revert last change. - -2005-04-24 Ulrich Drepper - - [BZ #1110] - * stdio-common/vfscanf.c: Fix parsing of decimal point after +-. - Patch by Hamed Malek . - -2005-04-21 Roland McGrath - - * elf/dl-load.c (_dl_map_object_from_fd): Don't use MAP_DENYWRITE, - since Linux ignores it in user mmap calls. - -2005-04-17 David S. Miller - - * sysdeps/sparc/sparc32/elf/start.S: Define __data_start. - * sysdeps/sparc/sparc64/elf/start.S: Likewise. - -2005-04-15 Roland McGrath - - * timezone/Makefile (zic-deps): New variable. - ($(testdata)/America/New_York): Use it instead of explicit deps. - ($(testdata)/Etc/UTC, $(testdata)/Australia/Melbourne): Likewise. - ($(testdata)/America/Sao_Paulo, $(testdata)/Asia/Tokyo): Likewise. - (%/UTC %/Universal): New pattern rule, replaces ... - ($(testdata)/UTC, $(testdata)/Universal): ... these removed targets. - ($(testdata)/%/Berlin $(testdata)/%/London): New pattern rule. - ($(testdata)/Europe/London, $(testdata)/Europe/Berlin): Removed. - -2005-04-14 Roland McGrath - - * MakeTAGS ($P/$(domain).pot): Depend on distinfo file as well. - (extract): Filter-out distinfo file name. - - [BZ #253] - * MakeTAGS (text-srcs): Match %.bash.in files too. - - [BZ #253] - * nscd/Makefile (all-nscd-modules): New variable, include selinux - module regardless of configuration. - (distribute): Use that instead of $(nscd-modules). - -2005-04-13 David S. Miller - - Add sparc64 TLS and NPTL support. - * elf/tls-macros.h: Add Sparc64 defines. - * sysdeps/sparc/sparc64/dl-machine.h (sparc64_fixup_plt): Mark as - always_inline. - (elf_machine_fixup_plt): Likewise. - (elf_machine_rela): Handle TLS relocations. - (elf_machine_type_cleaa): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h - (SYSCALL_ERROR_HANDLER_ENTRY): Use sethi/or for GOT reloc. - It does not always fit in R_SPARC_GOT13 when building -fPIC. - Also, add TLS handling. - * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): - Increase it to 2.4.21 for sparc64. - * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: NULL terminate - backtrace by zero'ing out %fp. Store away flags, func_ptr, - and func_arg in global registers not local registers. - * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Handle PTID, TLS, - and CTID arguments properly. Add RESET_PID handling. - * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Rework so that we - do not invoke __sigprocmask(). We can always assume rt signals - are present on sparc64, so just do an inline syscall. - -2005-04-13 Jakub Jelinek - - * sysdeps/sparc/sparc64/dl-machine.h: Add dl_machine_h multiple - inclusion guard for the first half of the header. - (elf_machine_type_class, ELF_MACHINE_JMP_SLOT, ELF_MACHINE_NO_REL, - ELF_MACHINE_PLTREL_OVERLAP, elf_machine_runtime_setup, - elf_machine_relplt, DL_STACK_END, RTLD_START): Move into the - #ifndef dl_machine_h guarded part of the header. - -2005-04-14 Ulrich Drepper - - [BZ #851] - * posix/execvp.c (execvp): Use file name including path when - trying to run it with shell. - * posix/Makefile: Add rules to build and run tst-execvp3. - * posix/tst-execvp3.c: New file. - -2005-04-12 Ulrich Drepper - - [BZ #1090] - * stdlib/random_r.c (__initstate_r): Don't use non-existing state. - * string/tst-strfry.c: New file. - * string/Makefile (tests): Add tst-strfry. - -2005-04-11 James A. Morrison - - * manual/string.texi: Fix typo in wmemcpy decl. - -2005-04-10 David S. Miller - - * sysdeps/sparc/sparc32/dl-trampoline.S: Use std not stx. - -2005-04-08 Carlos O'Donell - - * FAQ.in: Explain why `make' might fail running rpcgen. - * FAQ: Regenerated. - -2005-04-07 Roland McGrath - - * po/libc.pot: Regenerated. - -2005-04-07 Roland McGrath - - * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion) - [(NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO) && SHARED]: Scan - GLRO(dl_sysinfo_map) for PT_NOTE giving Linux kernel version, - we can skip the uname call if it's there. - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Don't use - DL_SYSDEP_OSCHECK here. - * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]: Do it here instead. - - * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): - Add _dl_sysinfo_map. - * elf/rtld.c (dl_main): Don't call _dl_init_paths early in the - rtld_is_main case. Call it unconditionally later. - Move GLRO(dl_sysinfo_dso) handling earlier, before _dl_init_paths call. - Initialize GLRO(dl_sysinfo_map). - * elf/dl-load.c (open_path): Bail out if _dl_init_paths wasn't called. - * sysdeps/generic/dl-sysdep.c (_DL_FIRST_EXTRA): New macro. - (_dl_important_hwcaps) - [(NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO) && SHARED]: Scan - GLRO(dl_sysinfo_map) for PT_NOTE giving synthetic hwcap names - and bit values. - * elf/ldconfig.c (_DL_FIRST_EXTRA): New macro. - (hwcap_extra): New static variable. - (is_hwcap_platform): Check hwcap_extra for a matching name. - Remove tls special case. - (path_hwcap): Likewise. - (parse_conf): Parse "hwcap" directive to define synthetic hwcap bits - and their names, stored in hwcap_extra. - (main) [USE_TLS]: Initialize final synthetic hwcap bit as "tls". - - * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Use uint64_t for - _dl_hwcap and _dl_hwcap_mask. - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Cast a_val for - AT_HWCAP to unsigned long int. - * elf/dl-support.c (_dl_aux_init): Likewise. - (_dl_hwcap): Update defn. - - * elf/cache.c (print_entry): Pad hwcap value with 0s in diagnostic. - * elf/ldconfig.c (search_dir): Likewise. - -2005-04-05 Roland McGrath - - * NEWS: Copy 2.3.5 section from 2.3 branch. - - * intl/tst-codeset.sh: Use mkdir -p. Put msgfmt output in temporary - file and mv it into place. - * intl/tst-gettext3.sh: Likewise. - - * Makefile (glibc-%.tar rule): Use make -q to ensure configure scripts - are up to date in srcdir. Touch all configure scripts after export. - - * iconv/gconv_int.h: Include and . - -2005-04-05 H.J. Lu - - [BZ #592] - * sysdeps/ia64/fpu/e_acosh.S: Update from Intel libm 2005-04-05 - (comment changes only). - * sysdeps/ia64/fpu/e_acoshl.S: Likewise. - * sysdeps/ia64/fpu/e_atanh.S: Likewise. - * sysdeps/ia64/fpu/e_cosh.S: Likewise. - * sysdeps/ia64/fpu/e_coshf.S: Likewise. - * sysdeps/ia64/fpu/e_exp.S: Likewise. - * sysdeps/ia64/fpu/e_exp10.S: Likewise. - * sysdeps/ia64/fpu/e_exp10f.S: Likewise. - * sysdeps/ia64/fpu/e_exp2.S: Likewise. - * sysdeps/ia64/fpu/e_exp2f.S: Likewise. - * sysdeps/ia64/fpu/e_expf.S: Likewise. - * sysdeps/ia64/fpu/e_log.S: Likewise. - * sysdeps/ia64/fpu/e_logf.S: Likewise. - * sysdeps/ia64/fpu/e_pow.S: Likewise. - * sysdeps/ia64/fpu/e_powf.S: Likewise. - * sysdeps/ia64/fpu/e_sinh.S: Likewise. - * sysdeps/ia64/fpu/e_sinhf.S: Likewise. - * sysdeps/ia64/fpu/libm_error.c: Likewise. - * sysdeps/ia64/fpu/libm_lgamma.S: Likewise. - * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise. - * sysdeps/ia64/fpu/libm_lgammal.S: Likewise. - * sysdeps/ia64/fpu/libm_sincos.S: Likewise. - * sysdeps/ia64/fpu/libm_sincosf.S: Likewise. - * sysdeps/ia64/fpu/s_asinh.S: Likewise. - * sysdeps/ia64/fpu/s_atanl.S: Likewise. - * sysdeps/ia64/fpu/s_cos.S: Likewise. - * sysdeps/ia64/fpu/s_cosf.S: Likewise. - * sysdeps/ia64/fpu/s_erf.S: Likewise. - * sysdeps/ia64/fpu/s_erfc.S: Likewise. - * sysdeps/ia64/fpu/s_erfcf.S: Likewise. - * sysdeps/ia64/fpu/s_erfcl.S: Likewise. - * sysdeps/ia64/fpu/s_erff.S: Likewise. - * sysdeps/ia64/fpu/s_expm1.S: Likewise. - * sysdeps/ia64/fpu/s_expm1f.S: Likewise. - * sysdeps/ia64/fpu/s_log1p.S: Likewise. - * sysdeps/ia64/fpu/s_tanf.S: Likewise. - * sysdeps/ia64/fpu/s_tanh.S: Likewise. - * sysdeps/ia64/fpu/s_tanhf.S: Likewise. - * sysdeps/ia64/fpu/w_tgamma.S: Likewise. - * sysdeps/ia64/fpu/w_tgammaf.S: Likewise. - * sysdeps/ia64/fpu/w_tgammal.S: Likewise. - -2005-04-05 Roland McGrath - - * scripts/config.guess: Update from master, timestamp='2005-03-24'. - * scripts/config.sub: Update from master, timestamp='2005-02-10'. - -2005-04-04 David S. Miller - - * sysdeps/sparc/sparc32/dl-trampoline.S: New file. - * sysdeps/sparc/sparc32/dl-machine.h: Move PLT trampolines there. - Use RESOLVE_MAP instead of RESOLVE to protect relocation code. - (elf_machine_runtime_setup): Test for dl_profile non-null. - * sysdeps/sparc/sparc64/dl-trampoline.S: New file. - (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New. - * sysdeps/sparc/sparc64/dl-machine.h: Move PLT trampolines there. - Use RESOLVE_MAP instead of RESOLVE to protect relocation code. - (elf_machine_runtime_setup): Test for dl_profile non-null. - * sysdeps/sparc/bits/link.h: New file. - * sysdeps/generic/ldsodefs.h (La_sparc32_regs, La_sparc32_retval, - La_sparc64_regs, La_sparc64_retval): New. - (struct audit_ifaces): Add sparc entries. - * elf/tst-auditmod1.c: Add sparc entries. - -2005-03-27 Bruno Haible - - * intl/tst-gettext3.c: New file. - * intl/tst-gettext3.sh: New file. - * intl/Makefile (distribute): Add tst-gettext3.sh. - (test-srcs): Add tst-gettext3. - (tests): Depend on tst-gettext3.out. - (tst-gettext3.out): New rule. - (CFLAGS-tst-gettext3.c): New variable. - - Fix bug exposed by tst-gettext3. - * intl/gettextP.h (struct converted_domain): New type. - (struct loaded_domain): Remove the conv, conv_tab fields. Add - conversions, nconversions fields. - (_nl_init_domain_conv): Remove declaration. - (_nl_free_domain_conv): Remove declaration. - (_nl_find_msg): Add convert argument. - * intl/dcigettext.c (DCIGETTEXT): Call _nl_find_msg with convert=1. - (_nl_find_msg): Add convert argument. When a conversion to a different - charset is needed, create a new converted_domain element, instead of - throwing away the old converted translations. - (get_output_charset): New function. - * intl/loadmsgcat.c (_nl_init_domain_conv): Remove function. - (_nl_free_domain_conv): Remove function. - (_nl_load_domain): Initialize the conversions array to empty. Use - _nl_find_msg instead of _nl_init_domain_conv to retrieve the header - entry. - (_nl_unload_domain): Free the conversions array and its contents. - - * intl/gettextP.h (struct loaded_domain): Remove codeset_cntr field. - (struct binding): Likewise. - * intl/bindtextdom.c (set_binding_values): Drop codeset_cntr - modifications. - -2005-04-04 Jakub Jelinek - - [BZ #1082] - * sunrpc/pmap_rmt.c (xdr_rmtcall_args): Use a dummy arglen instead - of trying to encode uninitialized arglen. - -2005-04-04 Ulrich Drepper - - [BZ #825] - * timezone/scheck.c: Update from tzcode2005h. - * timezone/tzfile.h: Likewise. - * timezone/zdump.c: Likewise. - * timezone/zic.c: Likewise. - - [BZ #825] - * timezone/antarctica: Update from tzdata2005h. - * timezone/asia: Likewise. - * timezone/australasia: Likewise. - * timezone/etcetera: Likewise. - * timezone/europe: Likewise. - * timezone/northamerica: Likewise. - * timezone/southamerica: Likewise. - * timezone/leapseconds: Likewise. - * timezone/iso3166.tab: Likewise. - -2005-03-31 H.J. Lu - - [BZ #592] - * sysdeps/ia64/fpu/libm_cpu_defs.h: Update copyright. - -2005-04-01 Ulrich Drepper - - * wcsmbs/btowc.c (__btowc): Optimize parameters in ASCII range. - * wcsmbs/wctob.c (wctob): Likewise. - * wcsmbs/wchar.h (btowc): Add optimized inline function. - (wctob): Likewise. - -2005-03-31 Jakub Jelinek - - * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Use functionally - equivalent, but shorter instructions. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise. - * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise. - * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise. - * sysdeps/unix/x86_64/sysdep.S: Likewise. - * sysdeps/x86_64/strchr.S: Likewise. - * sysdeps/x86_64/memset.S: Likewise. - * sysdeps/x86_64/strcspn.S: Likewise. - * sysdeps/x86_64/strcmp.S: Likewise. - * sysdeps/x86_64/elf/start.S: Likewise. - * sysdeps/x86_64/strspn.S: Likewise. - * sysdeps/x86_64/dl-machine.h: Likewise. - * sysdeps/x86_64/bsd-_setjmp.S: Likewise. - * sysdeps/x86_64/bsd-setjmp.S: Likewise. - * sysdeps/x86_64/strtok.S: Likewise. - -2005-03-30 H.J. Lu - - [BZ #592] - * sysdeps/ia64/fpu/e_acosf.S: Update from Intel libm 2005-03-21. - * sysdeps/ia64/fpu/e_acoshf.S: Likewise. - * sysdeps/ia64/fpu/e_acoshl.S: Likewise. - * sysdeps/ia64/fpu/e_acosh.S: Likewise. - * sysdeps/ia64/fpu/e_acosl.S: Likewise. - * sysdeps/ia64/fpu/e_acos.S: Likewise. - * sysdeps/ia64/fpu/e_asinf.S: Likewise. - * sysdeps/ia64/fpu/e_asinl.S: Likewise. - * sysdeps/ia64/fpu/e_asin.S: Likewise. - * sysdeps/ia64/fpu/e_atan2f.S: Likewise. - * sysdeps/ia64/fpu/e_atan2.S: Likewise. - * sysdeps/ia64/fpu/e_atanhf.S: Likewise. - * sysdeps/ia64/fpu/e_atanhl.S: Likewise. - * sysdeps/ia64/fpu/e_atanh.S: Likewise. - * sysdeps/ia64/fpu/e_coshf.S: Likewise. - * sysdeps/ia64/fpu/e_coshl.S: Likewise. - * sysdeps/ia64/fpu/e_cosh.S: Likewise. - * sysdeps/ia64/fpu/e_exp10f.S: Likewise. - * sysdeps/ia64/fpu/e_exp10l.S: Likewise. - * sysdeps/ia64/fpu/e_exp10.S: Likewise. - * sysdeps/ia64/fpu/e_exp2f.S: Likewise. - * sysdeps/ia64/fpu/e_exp2l.S: Likewise. - * sysdeps/ia64/fpu/e_exp2.S: Likewise. - * sysdeps/ia64/fpu/e_expf.S: Likewise. - * sysdeps/ia64/fpu/e_exp.S: Likewise. - * sysdeps/ia64/fpu/e_fmodf.S: Likewise. - * sysdeps/ia64/fpu/e_fmodl.S: Likewise. - * sysdeps/ia64/fpu/e_fmod.S: Likewise. - * sysdeps/ia64/fpu/e_hypotf.S: Likewise. - * sysdeps/ia64/fpu/e_hypotl.S: Likewise. - * sysdeps/ia64/fpu/e_hypot.S: Likewise. - * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise. - * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise. - * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise. - * sysdeps/ia64/fpu/e_log2f.S: Likewise. - * sysdeps/ia64/fpu/e_log2l.S: Likewise. - * sysdeps/ia64/fpu/e_log2.S: Likewise. - * sysdeps/ia64/fpu/e_logf.S: Likewise. - * sysdeps/ia64/fpu/e_logl.S: Likewise. - * sysdeps/ia64/fpu/e_log.S: Likewise. - * sysdeps/ia64/fpu/e_powf.S: Likewise. - * sysdeps/ia64/fpu/e_powl.S: Likewise. - * sysdeps/ia64/fpu/e_pow.S: Likewise. - * sysdeps/ia64/fpu/e_remainderf.S: Likewise. - * sysdeps/ia64/fpu/e_remainderl.S: Likewise. - * sysdeps/ia64/fpu/e_remainder.S: Likewise. - * sysdeps/ia64/fpu/e_scalbf.S: Likewise. - * sysdeps/ia64/fpu/e_scalbl.S: Likewise. - * sysdeps/ia64/fpu/e_scalb.S: Likewise. - * sysdeps/ia64/fpu/e_sinhf.S: Likewise. - * sysdeps/ia64/fpu/e_sinhl.S: Likewise. - * sysdeps/ia64/fpu/e_sinh.S: Likewise. - * sysdeps/ia64/fpu/e_sqrtf.S: Likewise. - * sysdeps/ia64/fpu/e_sqrtl.S: Likewise. - * sysdeps/ia64/fpu/e_sqrt.S: Likewise. - * sysdeps/ia64/fpu/libm_error.c: Likewise. - * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise. - * sysdeps/ia64/fpu/libm_lgammal.S: Likewise. - * sysdeps/ia64/fpu/libm_lgamma.S: Likewise. - * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise. - * sysdeps/ia64/fpu/libm_sincosf.S: Likewise. - * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise. - * sysdeps/ia64/fpu/libm_sincosl.S: Likewise. - * sysdeps/ia64/fpu/libm_sincos.S: Likewise. - * sysdeps/ia64/fpu/libm_support.h: Likewise. - * sysdeps/ia64/fpu/s_asinhl.S: Likewise. - * sysdeps/ia64/fpu/s_asinh.S: Likewise. - * sysdeps/ia64/fpu/s_atanf.S: Likewise. - * sysdeps/ia64/fpu/s_atanl.S: Likewise. - * sysdeps/ia64/fpu/s_cbrtf.S: Likewise. - * sysdeps/ia64/fpu/s_cbrtl.S: Likewise. - * sysdeps/ia64/fpu/s_cosf.S: Likewise. - * sysdeps/ia64/fpu/s_cosl.S: Likewise. - * sysdeps/ia64/fpu/s_cos.S: Likewise. - * sysdeps/ia64/fpu/s_erfcf.S: Likewise. - * sysdeps/ia64/fpu/s_erfcl.S: Likewise. - * sysdeps/ia64/fpu/s_erfc.S: Likewise. - * sysdeps/ia64/fpu/s_erfl.S: Likewise. - * sysdeps/ia64/fpu/s_erf.S: Likewise. - * sysdeps/ia64/fpu/s_expm1f.S: Likewise. - * sysdeps/ia64/fpu/s_expm1l.S: Likewise. - * sysdeps/ia64/fpu/s_expm1.S: Likewise. - * sysdeps/ia64/fpu/s_fdimf.S: Likewise. - * sysdeps/ia64/fpu/s_fdiml.S: Likewise. - * sysdeps/ia64/fpu/s_fdim.S: Likewise. - * sysdeps/ia64/fpu/s_frexp.c: Likewise. - * sysdeps/ia64/fpu/s_frexpf.c: Likewise. - * sysdeps/ia64/fpu/s_frexpl.c: Likewise. - * sysdeps/ia64/fpu/s_ilogbf.S: Likewise. - * sysdeps/ia64/fpu/s_ilogbl.S: Likewise. - * sysdeps/ia64/fpu/s_ilogb.S: Likewise. - * sysdeps/ia64/fpu/s_ldexp.c: Likewise. - * sysdeps/ia64/fpu/s_ldexpf.c: Likewise. - * sysdeps/ia64/fpu/s_ldexpl.c: Likewise. - * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise. - * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise. - * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise. - * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise. - * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise. - * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise. - * sysdeps/ia64/fpu/s_log1pf.S: Likewise. - * sysdeps/ia64/fpu/s_log1pl.S: Likewise. - * sysdeps/ia64/fpu/s_log1p.S: Likewise. - * sysdeps/ia64/fpu/s_logbf.S: Likewise. - * sysdeps/ia64/fpu/s_logbl.S: Likewise. - * sysdeps/ia64/fpu/s_logb.S: Likewise. - * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise. - * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise. - * sysdeps/ia64/fpu/s_nearbyint.S: Likewise. - * sysdeps/ia64/fpu/s_nextafterf.S: Likewise. - * sysdeps/ia64/fpu/s_nextafterl.S: Likewise. - * sysdeps/ia64/fpu/s_nextafter.S: Likewise. - * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise. - * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise. - * sysdeps/ia64/fpu/s_nexttoward.S: Likewise. - * sysdeps/ia64/fpu/s_roundf.S: Likewise. - * sysdeps/ia64/fpu/s_roundl.S: Likewise. - * sysdeps/ia64/fpu/s_round.S: Likewise. - * sysdeps/ia64/fpu/s_scalblnf.c: Likewise. - * sysdeps/ia64/fpu/s_scalbn.c: Likewise. - * sysdeps/ia64/fpu/s_scalbnf.c: Likewise. - * sysdeps/ia64/fpu/s_scalbnl.c: Likewise. - * sysdeps/ia64/fpu/s_tanf.S: Likewise. - * sysdeps/ia64/fpu/s_tanhl.S: Likewise. - * sysdeps/ia64/fpu/s_tanh.S: Likewise. - * sysdeps/ia64/fpu/s_tanl.S: Likewise. - * sysdeps/ia64/fpu/s_tan.S: Likewise. - * sysdeps/ia64/fpu/w_lgamma.c: Likewise. - * sysdeps/ia64/fpu/w_lgammaf.c: Likewise. - * sysdeps/ia64/fpu/w_lgammal.c: Likewise. - * sysdeps/ia64/fpu/w_tgammaf.S: Likewise. - * sysdeps/ia64/fpu/w_tgammal.S: Likewise. - * sysdeps/ia64/fpu/w_tgamma.S: Likewise. - - [BZ #592] - * sysdeps/ia64/fpu/libm_cpu_defs.h: New file. - * sysdeps/ia64/fpu/libm_error_codes.h: New file. - - [BZ #592] - * sysdeps/ia64/fpu/gen_import_file_list: Updated for Intel libm - 2005-03-21. - * sysdeps/ia64/fpu/import_file.awk: Likewise. - * sysdeps/ia64/fpu/import_intel_libm: Likewise. - * sysdeps/ia64/fpu/Makefile: Likewise. - -2005-03-29 Jakub Jelinek - - [BZ #1087] - * posix/fnmatch.c (fnmatch): For short patterns or strings attempt to - avoid calling mbsrtowcs twice. - -2005-03-29 Roland McGrath - - * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion): New - function, inline broken out of ... - (DL_SYSDEP_OSCHECK): ... here. Use that. - Do the discovery and set GLRO(dl_osversion) if successful, - if __LINUX_KERNEL_VERSION <= 0. - * elf/dl-load.c: Don't include dl-osinfo.h here. - -2005-03-29 Alfred M. Szmidt - - * manual/install.texi (Tools for Compilation): GNU binutils 2.15 - is now needed. - -2005-03-19 Bruno Haible - - * intl/dcigettext.c (struct known_translation_t): Change type of - domainname field to 'const char *'. - (DCIGETTEXT): Remove const-cast. - -2005-03-29 Thorsten Kukuk - - [BZ #661] - * grp/initgroups.c (internal_getgrouplist): Check if we have - enough space before adding the primary group to the list. - - * posix/tst-execle1.c (do_test): Fix execle arguments. - * posix/tst-execle2.c (do_test): Likewise. - -2005-03-28 Roland McGrath - - * sysdeps/generic/w_exp2.c [NO_LONG_DOUBLE]: Fix typos in alias names. - Reported by Mark Mitchell . - * Versions.def (libm): Define GLIBC_2.4 set. - * math/Versions (libm: GLIBC_2.4): Add this set, with exp2l. - * sysdeps/i386/Versions (libm: GLIBC_2.1): Add this set, with exp2l. - * sysdeps/ia64/Versions: Likewise. - * sysdeps/m68k/Versions: Likewise. - * sysdeps/sparc/sparc64/Versions: Likewise. - * sysdeps/x86_64/Versions: New file. - * sysdeps/mips/mips64/Versions: New file. - - * locale/langinfo.h (_NL_LOCALE_NAME): New macro. - [__USE_GNU] (NL_LOCALE_NAME): New macro. - * locale/nl_langinfo.c: Grok special item value for _NL_LOCALE_NAME, - return locale name string for the category. - -2005-03-25 Jakub Jelinek - - [BZ #721] - * sysdeps/generic/wcstoul_l.c: Include "wcstol_l.c" rather than - . - -2005-03-28 Daniel Jacobowitz - - * sysdeps/mips/atomicity.h: Remove unused file. - * sysdeps/mips/dl-machine.h (elf_machine_rel): Add TLS relocations. - * sysdeps/mips/dl-tls.h: New file. - * sysdeps/mips/libc-tls.c: New file. - * sysdeps/mips/tls-macros.h: New file. - * sysdeps/mips/bits/atomic.h: New file. - * sysdeps/mips/bits/setjmp.h: Protect against multiple inclusion. - * sysdeps/mips/elf/configure.in: New file. - * sysdeps/mips/elf/configure: Generated. - * sysdeps/mips/sys/asm.h: New file. - * sysdeps/unix/sysv/linux/mips/vfork.S: New file. - * sysdeps/unix/sysv/linux/mips/clone.S: Add NPTL and five-argument - clone support. - * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h - (INTERNAL_SYSCALL_NCS): New. - (INTERNAL_SYSCALL): Update for non-constant support. - (internal_syscall0): Likewise. - (internal_syscall1): Likewise. - (internal_syscall2): Likewise. - (internal_syscall3): Likewise. - (internal_syscall4): Likewise. - (internal_syscall5): Likewise. - (internal_syscall6): Likewise. - (internal_syscall7): Likewise. - * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (SIGEV_THREAD): - Update to match the kernel. - (SIGEV_CALLBACK): Likewise. - (SIGEV_THREAD_ID): Likewise. - -2005-03-28 Daniel Jacobowitz - - [BZ #783] - * elf/tst-auditmod1.c: Add MIPS support. - * sysdeps/generic/ldsodefs.h (La_mips_32_regs): New. - (La_mips_32_retval): New. - (La_mips_64_regs): New. - (La_mips_64_retval): New. - (struct audit_ifaces): Add MIPS entries. - * sysdeps/mips/dl-machine.h: Check RESOLVE_MAP instead of RESOLVE. - (elf_machine_runtime_link_map, ELF_DL_FRAME_SIZE, - ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS, - ELF_MACHINE_RUNTIME_TRAMPOLINE): Move to dl-trampoline.c. - (RTLD_START): Align the stack before calling _dl_init_internal. - Use .ent for _dl_start_user. - (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): Define. - (elf_machine_rel, elf_machine_rel_relative, elf_machine_lazy_rel) - (elf_machine_runtime_setup): Use "auto inline". - (elf_machine_rela, elf_machine_rela_relative): Provide empty versions. - (elf_machine_got_rel): Likewise. Use RESOLVE_MAP. - * sysdeps/mips/dl-trampoline.c: New file. - * sysdeps/mips/bits/link.h: New file. - * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h - (internal_syscall5): Use register operands instead of non-lvalue - memory operands. - (internal_syscall6): Likewise. - (internal_syscall7): Likewise. - -2005-03-27 Andreas Jaeger - - * debug/warning-nop.c (__builtin___memcpy_chk): Define away to - avoid warnings with older compiler. - (__builtin___memcpy_chk): Likewise. - (__builtin___memmove_chk: Likewise. - (__builtin___mempcpy_chk): Likewise. - (__builtin___memset_chk): Likewise. - (__builtin___stpcpy_chk): Likewise. - (__builtin___strcat_chk): Likewise. - (__builtin___strcpy_chk): Likewise. - (__builtin___strncat_chk): Likewise. - (__builtin___strncpy_chk): Likewise. - (__builtin_object_size): Likewise. - -2005-03-27 Daniel Jacobowitz - - * elf/tls-macros.h: Correct typo. - -2005-03-23 Jakub Jelinek - - [BZ #822] - * nis/ypclnt.c (yp_2_yperr): Revert 2004-11-30 patch. - (ypprot_err): Use yp_2_yperr table also for YP_NODOM .. YP_NOMORE. - -2005-03-22 Roland McGrath - - * locale/setlocale.c: Comment typo. - - * scripts/versions.awk: No errors for GLIBC_PRIVATE. - - * Versions.def (libdl, librt): Add GLIBC_2.3.4 version. - - * scripts/versions.awk: Print all errors and die at the end. - Use library name in versions array keys. - -2005-03-22 Daniel Jacobowitz - - * elf/elf.h (PT_ARM_EXIDX): New macro. - -2005-03-21 Thorsten Kukuk - - [BZ #1098] - * sunrpc/xdr_stdio.c (xdrstdio_getlong, xdrstdio_putlong): - Convert correctly between long/int on 64bit big-endian. - -2005-03-21 David Mosberger - - * sysdeps/ia64/_mcount.S: Newer kernels don't like register-frames - with more than 8 output registers. Fix this by passing original - ar.pfs to _mcount_ret_helper via r3. - -2005-03-15 Jakub Jelinek - - [BZ #786] - * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Handle - GL(dl_tls_static_nelem) == GL(dl_tls_max_dtv_idx). - * elf/Makefile: Add rules to build and run tst-tls15. - * elf/tst-tls15.c: New test. - * elf/tst-tlsmod15a.c: New file. - * elf/tst-tlsmod15b.c: New file. - -2005-03-20 Ulrich Drepper - - * elf/rtld.c (dl_main): Always call init_tls if we have audit modules. - -2005-03-20 Alfred M. Szmidt - - * elf/dl-open.c (dl_open_worker): Fix typo. - -2005-03-20 Ulrich Drepper - - * malloc/malloc.c (public_cALLOc): We cannot skip the memory - clearing if perturb_byte != 0. - -2005-03-20 Jakub Jelinek - - * posix/bits/unistd.h (pread) [__USE_FILE_OFFSET64]: Use __off64_t - instead of __off_t for last argument. - * debug/Makefile (tests): Add tst-lfschk{1,2,3}. - * debug/tst-lfschk1.c: New test. - * debug/tst-lfschk2.c: New test. - * debug/tst-lfschk3.c: New test. - -2005-02-09 Jakub Jelinek - - * sysdeps/unix/sysv/linux/bits/termios.h (CMSPAR): Define. - * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Add __USE_MISC - and __USE_XOPEN guards to match linux/bits/termios.h. - * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise. - (CMSPAR): Define. - * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise. - -2005-02-10 H.J. Lu - - [BZ #1076] - * sysdeps/ia64/elf/initfini.c: Add local _init and _fini labels. - -2005-02-27 Denis Barbier - - [BZ #549] - * locale/iso-4217.def: Add CSD currency. - -2005-03-19 Ulrich Drepper - - * inet/test-ifaddrs.c: Use test-skeleton. - * inet/test_ifindex.c: Likewise. - - [BZ #821] - * elf/dl-lookup.c (add_dependency): Always search l_initfini if - the list exists. - - [BZ #821] - * elf/Makefile: Add rules to build and run order2. - * elf/order2.c: New file. - * elf/order2mod1.c: New file. - * elf/order2mod2.c: New file. - * elf/order2mod3.c: New file. - * elf/order2mod4.c: New file. - -2005-03-19 Jakub Jelinek - - [BZ #821] - * elf/dl-open.c (dl_open_worker): Print exact l_direct_opencount value, - it has been incremented before. - -2005-03-18 Ulrich Drepper - - [BZ #821] - * elf/dl-fini.c (_dl_fini): Split sorting of the maps in separate - function _dl_sort_fini. - (_dl_sort_fini): New function. - * sysdeps/generic/ldsodefs.h: Declare _dl_sort_fini. - * elf/dl-close.c (_dl_close): Call _dl_sort_fini before running - destructors to call them in the right order. - -2005-02-07 Steven Munroe - - * sysdeps/powerpc/bits/link.h (La_ppc64_regs): Add lr_vrsave. - (La_ppc64_retval): Correct size of lrc_fp. - * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_profile_resolve): - Fix up ABI problems and complete function. - -2005-03-10 Jakub Jelinek - - * math/test-misc.c (main): Add some more tests. - -2005-03-17 Jakub Jelinek - - * posix/regcomp.c (re_compile_fastmap_iter): Fix check for failed - __wcrtomb. Check return values of other __wcrtomb calls. - * posix/regex_internal.c (build_wcs_buffer, re_string_skip_chars): - Change mbclen type to size_t. - (build_wcs_upper_buffer): Change mbclen and mbcdlen type to size_t. - Handle mb chars whose upper case doesn't have multibyte representation - in locale's charset. - -2005-03-15 Jakub Jelinek - - * malloc/malloc.c (_int_icalloc, _int_icomalloc, iALLOc, - public_iCALLOc, public_iCALLOc, public_iCOMALLOc): Protect with - #ifndef _LIBC. - - [BZ #779] - * malloc/malloc.c (public_mTRIm): Initialize malloc if not yet - initialized. - -2005-03-10 Jakub Jelinek - - * misc/sys/cdefs.h (__always_inline): Define. - * posix/bits/unistd.h (read, pread, pread64, readlink, getcwd, getwd): - Use __always_inline instead of __inline. - * socket/bits/socket2.h (recv, recvfrom): Likewise. - * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Likewise. - * string/bits/string3.h (__memcpy_ichk, __memmove_ichk, __mempcpy_ichk, - __memset_ichk, __strcpy_ichk, __stpcpy_ichk, __strncpy_ichk, - __strcat_ichk, __strncat_ichk): Use __always_inline instead of - __inline__ __attribute__ ((__always_inline__)). - -2005-03-09 Jakub Jelinek - - * debug/tst-chk1.c: Include sys/socket.h and sys/un.h. - (do_test): Add new tests for recv, recvfrom, getcwd, getwd and - readlink. Add some more tests for read, pread, pread64, fgets and - fgets_unlocked. - - * posix/bits/unistd.h (read, pread, pread64, readlink, - getcwd, getwd): Change macros into extern inline functions. - (__read_alias, __pread_alias, __pread64_alias, __readlink_alias, - __getcwd_alias, __getwd_alias): New prototypes. - * socket/bits/socket2.h (recv, recvfrom): Change macros into - extern inline functions. - (__recv_alias, __recvfrom_alias): New prototypes. - * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Change macros - into extern inline functions. - (__gets_alias, __fgets_alias, __fgets_unlocked_alias): New prototypes. - - * debug/pread_chk.c (__pread_chk): Fix order of arguments passed - to __pread. - * debug/pread64_chk.c (__pread64_chk): Fix order of arguments passed - to __pread64. - -2005-03-18 Daniel Jacobowitz - - * configure.in: Use %function instead of @function. - -2005-03-18 Ulrich Drepper - - [BZ #821] - * include/link.h (struct link_map): Remove l_opencount. Add l_removed. - Change type of l_idx to int. - * elf/dl-close.c: Basically rewrite. Do not use l_opencount to - determine whether a DSO has to be unloaded. Instead compute this - in this function. - * elf/dl-deps.c: No need to manipulate l_opencount anymore. - * elf/dl-lookup.c: Likewise. - * elf/rtld.c: Likewise - * elf/dl-open.c: Likewise. Use l_init_called to determine whether - object was just loaded. - * elf/dl-fini.c: Bump l_direct_opencount instead of l_opencount. - * elf/dl-load.c (_dl_map_object_from_fd): Do not recognize DSO which - is about to be unloaded as a match. - (_dl_map_object): Likewise. - * elf/do-lookup.h (do_lookup_x): Do not look into DSO which is about - to be unloaded. - * elf/circleload1.c: Don't use l_opencount anymore. - * elf/neededtest.c: Likewise. - * elf/neededtest2.c: Likewise. - * elf/neededtest3.c: Likewise. - * elf/neededtest4.c: Likewise. - * elf/unload.c: Likewise. - * elf/unload2.c: Likewise. - * elf/loadtest.c: Likewise. - - [BZ #821] - * elf/rtld.c: Preloading errors are now never fatal. - -2005-03-08 Jakub Jelinek - - [BZ #821] - * elf/Makefile: Add rules to build and run unload5 test. - * elf/unload5.c: New file. - - [BZ #821] - * elf/Makefile: Add rules to build and run unload4 test. - * elf/unload4.c: New file. - * elf/unload4mod1.c: New file. - * elf/unload4mod2.c: New file. - * elf/unload4mod3.c: New file. - * elf/unload4mod4.c: New file. - -2005-03-17 Roland McGrath - - * nscd/aicache.c (addhstaiX): Tweak type to avoid warning. - -2005-03-16 Richard Henderson - - [BZ #721] - * include/libc-symbols.h (__hidden_proto): Remove bogus declaration - of internal. - (__hidden_def1, __hidden_dot_def1): Remove. - (__hidden_def2, __hidden_def3): Remove. - (__hidden_ver1): New. - (hidden_ver, hidden_def, hidden_weak): Use it. - (hidden_data_ver, hidden_data_ver, hidden_data_weak): Use non-data - version of the macro. - - [BZ #721] - * include/wchar.h (__wcscoll): Remove. - * wcsmbs/wcscoll.c: Define wcscoll directly instead of via __wcscoll. - * string/strcoll.c: Don't issue libc_hidden_def STRCOLL redefined. - -2005-03-16 Daniel Jacobowitz - - * elf/elf.h: Define MIPS TLS relocations. - -2005-03-16 Ulrich Drepper - - * elf/circleload1.c (main): Pretty printing. - -2005-03-15 Jakub Jelinek - - * sysdeps/generic/wordexp.c (exec_comm_child): Add inline keyword. - Patch by Dan Kegel . - - [BZ #721] - * elf/dynamic-link.h (elf_machine_rel, elf_machine_rel_relative, - elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel): - Add inline keyword. - * sysdeps/alpha/dl-machine.h (elf_machine_rela, - elf_machine_rela_relative, elf_machine_lazy_rel): Add always_inline - attribute. - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela, - elf_machine_rela_relative, elf_machine_lazy_rel): Likewise. Change - static inline into auto inline. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela, - elf_machine_rela_relative, elf_machine_lazy_rel): Likewise. - * sysdeps/generic/dl-machine.h (elf_machine_rel, elf_machine_rela): + * sysdeps/unix/common/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. + * sysdeps/unix/sysv/aix/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. + * sysdeps/unix/sysv/irix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. - * sysdeps/arm/dl-machine.h (elf_machine_rel, elf_machine_rel_relative, - elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel): + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. + * sysdeps/unix/sysv/linux/cris/bits/fcntl.h (F_SETOWN, F_GETOWN): + Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETOWN, F_GETOWN): + Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_SETOWN, F_GETOWN): + Likewise. + * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN, F_GETOWN): + Likewise. + * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (F_SETOWN, F_GETOWN): + Likewise. + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (F_SETOWN, F_GETOWN): + Likewise. + * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_SETOWN, F_GETOWN): + Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (F_SETOWN, F_GETOWN): + Likewise. + * sysdeps/unix/sysv/linux/arm/bits/fcntl.h (F_SETOWN, F_GETOWN): + Likewise. + * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (F_SETOWN, F_GETOWN): + Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (F_SETOWN, F_GETOWN): + Likewise. + * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. + * sysdeps/mach/hurd/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. + * io/sys/stat.h (S_ISSOCK, S_IFSOCK): Likewise. -2005-03-15 Jakub Jelinek +2004-05-01 Jakub Jelinek - [BZ #789] - * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Fix asm constraints. - Remove memory clobber. + * posix/Versions (libc): Remove __libc_wait, __libc_waitpid, + __libc_pause, __libc_nanosleep, __libc_pread, __libc_pread64, + __libc_pwrite64, __waitid and __pselect @@GLIBC_PRIVATE. + * stdlib/Versions (libc): Remove __on_exit@@GLIBC_PRIVATE. + * sysdeps/unix/sysv/linux/Versions (libc): Remove + __libc_sigaction@@GLIBC_PRIVATE. + * sysdeps/unix/sysv/linux/x86_64/Versions (libc): Remove + __modify_ldt@@GLIBC_PRIVATE. + * socket/Versions (libc): Remove __libc_accept, __libc_send, + __libc_recvfrom, __libc_recvmsg, __libc_sendmsg, __libc_recv, + __libc_sendto and __libc_connect @@GLIBC_PRIVATE. + * stdio-common/Versions (libc): Remove + _itoa_upper_digits@@GLIBC_PRIVATE. + * resolv/Versions (libresolv): Remove __ns_samename@@GLIBC_PRIVATE. + * misc/Versions (libc): Remove __libc_fsync, __libc_msync, + __libc_readv and __libc_writev @@GLIBC_PRIVATE. + * termios/Versions (libc): Remove __libc_tcdrain@@GLIBC_PRIVATE. + * io/Versions (libc): Remove __libc_open, __libc_close, __libc_read, + __libc_write, __libc_lseek, __libc_fcntl, __libc_open64 and + __libc_lseek64 @@GLIBC_PRIVATE. - * sysdeps/x86_64/hp-timing.h (HP_TIMING_ACCUM): Make the addition - thread-safe. Subtract GLRO(dl_hp_timing_overhead) from Diff. +2004-04-30 Jakub Jelinek -2005-03-14 Jakub Jelinek + * elf/dl-load.c (open_verify): Move e_phentsize check after e_type + check. - * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Don't include - asm/types.h. +2004-04-29 Steven Munroe -2005-03-10 GOTO Masanori + * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_floor.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: Removed. + * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Removed. + * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_llround.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_lround.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_rint.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_round.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: New file. - * sysdeps/unix/sysv/linux/sh/bits/mman.h: Define MAP_POPULATE and - MAP_NONBLOCK. - * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise. - Correct MAP_GROWSDOWN value. + * math/test-misc.c [LDBL_MANT_DIG == 106](main): Correct LDBL_MAX + mantissa for AIX long double format. + * misc/qefgcvt.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Define for AIX + long double format. + * misc/qefgcvt_r.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Likewise. + * stdlib/fpioconst.c [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024] + (_fpioconst_pow10): AIX long double format has same exponent range as + double. + * stdlib/fpioconst.h [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024] + (LDBL_MAX_10_EXP_LOG): AIX long double format has same exponent range + as double. -2005-03-13 Roland McGrath +2004-04-23 Art Haas - * elf/tls-macros.h: #include_next to get a sysdeps - version if there is one. Only #error if macros are then undefined. - * sysdeps/generic/tls-macros.h: New file. + * sysdeps/unix/sysv/linux/kernel-features.h: Add 'defined'. -2005-03-10 GOTO Masanori +2004-04-28 Carlos O'Donell - * sysdeps/hppa/configure.in: Remove old Makefile leftovers. - * sysdeps/hppa/configure: Regenerated. + * sysdeps/unix/sysv/linux/mq_getattr.c: Include . + * sysdeps/unix/sysv/linux/mq_notify.c: Likewise. + * sysdeps/unix/sysv/linux/mq_open.c: Likewise. + * sysdeps/unix/sysv/linux/mq_receive.c: Likewise. + * sysdeps/unix/sysv/linux/mq_send.c: Likewise. -2005-03-08 Roland McGrath +2004-04-29 Philip Blundell - * sysdeps/gnu/errlist-compat.awk: Use NERR in all array decls, so - array types match exactly in C alias decls. + * sysdeps/arm/dl-machine.h (RTLD_START): Avoid unnecessary GOT + entries. -2005-03-07 Ulrich Drepper +2004-04-29 Jakub Jelinek - * malloc/arena.c (ptmalloc_init): Recognize MALLOC_PERTURB_ and call - mallopt appropriately. - * malloc/malloc.h: Define M_PERTURB. - * malloc/malloc.c (perturb_byte): New variable. - (alloc_perturb, free_perturb): New macros. - (_int_malloc): Before returning, overwrite the memory if this is - requested. - (_int_free): Overwrite freed memory if requested. - (mALLOPt): Handle M_PERTURB. - * test-skeleton.c: Add call to mallopt with M_PERTURB command. + * manual/resource.texi (sched_setaffinity, sched_getaffinity): Fix + prototypes and description [BZ #131]. - * elf/dl-close.c (_dl_close): Decrement l_opencount before - printing debug message. - * elf/dl-open.c (dl_open_worker): Always print the new opencount - in debug messages. + * string/bits/string2.h (strpbrk): Cast NULL to char * [BZ #130]. + Patch by Ed Catmur . + * string/tst-inlcall.c (main): Add test for strpbrk. -2005-03-06 Ulrich Drepper + [BZ #140] + * sysdeps/unix/sysv/linux/sys/sysctl.h: Remove linux/compiler.h + include. + (_LINUX_KERNEL_H, _LINUX_TYPES_H, _LINUX_LIST_H): Only define if not + yet defined, #undef back after including linux/sysctl.h if defined + here. + (__LINUX_COMPILER_H, __user): Define if not yet defined, #undef + back after including linux/sysctl.h if defined here. - * elf/dl-close.c (_dl_close): Unify debug message format. + * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c (_Qp_qtoi): Use %f31 + for single precision register, add it to __asm clobbers [BZ #139]. + * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c (_Qp_qtoui): Use %f31 + for single precision register, add it to __asm clobbers. + * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c (_Qp_qtoux): Use fqtox + instead of fqtoi in QP_HANDLE_EXCEPTIONS. + * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c (_Qp_qtox): Likewise. + Reported by M. H. VanLeeuwen . - * elf/dl-close.c (_dl_close): Print debug message just before - destroying a link map. +2004-04-23 Andreas Schwab - * elf/do-lookup.h (do_lookup_x): Add namespace info to debug output. - * elf/dl-version.c (match_symbol): Likewise. + * sysdeps/unix/sysv/linux/m68k/register-dump.h: Use + __attribute_used__. - * posix/bits/unistd.h (pread): Fix typo in __USE_FILE_OFFSET64 code. +2004-04-22 Philip Blundell - * debug/recv_chk.c (__recv_chk): Always fail if request could - overflow the buffer. - * debug/recvfrom_chk.c (__recvfrom_chk): Likewise. - * socket/bits/socket2.h (recv): Avoid calls to the _chk variant if - we know the call succeeds. - (recvfrom): Likewise. + * sysdeps/arm/dl-machine.h (elf_machine_rela): Don't use INTUSE + when calling _dl_signal_error. + (elf_machine_rel): Likewise. -2005-03-05 Ulrich Drepper +2004-04-21 Ulrich Drepper - * posix/regexec.c (check_node_accept_bytes): Correct cast to avoid + * sysdeps/unix/sysv/linux/ia64/setjmp.S: Define _GI___sigsetjmp + and use it internally instead of __sigsetjmp. + * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Use _GI___libm_frexp_4f. + * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Use _GI___libm_frexp_4l. + * sysdeps/ia64/fpu/libm_frexp4.S: Define _GI___libm_frexp_4. + * sysdeps/ia64/fpu/libm_frexp4f.S: Define _GI___libm_frexp_4f. + * sysdeps/ia64/fpu/libm_frexp4l.S: Define _GI___libm_frexp_4l. + * sysdeps/ia64/fpu/s_frexp.c (frexp): Use _GI___libm_frexp_4. + * sysdeps/ia64/fpu/libm_support.h: Declare _GI___libm_frexp_4, + _GI___libm_frexp_4f, _GI___libm_frexp_4l. + * sysdeps/ia64/fpu/bits/mathinline.h: New file. + * sysdeps/unix/sysv/linux/ia64/__start_context.S: Use + HIDDEN_JUMPTARGET for exit call. + * sysdeps/unix/sysv/linux/ia64/clone2.S: Use HIDDEN_JUMPTARGET for + _exit call. + * sysdeps/ia64/bcopy.S: Use HIDDEN_JUMPTARGET for memmove call. + * sysdeps/ia64/strcat.S: Use HIDDEN_JUMPTARGET for strlen and + strcpy calls. + +2004-04-21 Jakub Jelinek + + * posix/tst-chmod.c (do_test): Fix a typo. + + * elf/lateglobal.c (main): Fix error checks. + Patch by Stephen Clarke . + + * manual/ctype.texi (isblank, iswblank): Mark as ISO functions, + mention they have been added in ISO C99. + Reported by Ben Pfaff . + +2004-03-31 H.J. Lu + + * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Fix typo. + +2004-04-20 Jakub Jelinek + + * sysdeps/unix/sysv/linux/shm_open.c (shm_unlink): Change EPERM into + EACCES. + +2004-04-20 Jakub Jelinek + + * stdio-common/vfscanf.c (_IO_vfscanf): Revert last %% whitespace + handling change. + * stdio-common/tst-sscanf.c (int_tests): Adjust. + + * nis/nss-nis.c: Include stdlib.h. + + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Shut up a warning. - * posix/regex_internal.c (re_string_reconstruct): Add cast to - avoid warning. - (build_wcs_upper_buffer): Change type of bug to plain char. - * locale/weightwc.h (findidx): Add casts to avoid warnings. - * time/mktime.c (ranged_convert): Initialize tm to make the - compiler happy. - * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Add casts to avoid warnings. - * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Add casts to avoid warnings. - * wcsmbs/mbsnrtowcs.c: Add casts to avoid warnings. - * wcsmbs/wcsrtombs.c (__wcsrtombs): Add casts to avoid warnings. - * wcsmbs/wcrtomb.c (__wcrtomb): Add casts to avoid warnings. - * wcsmbs/mbrtowc.c (__mbrtowc): Use unsigned char for outbuf. - * wcsmbs/wctob.c (wctob): Make buf array of unsigned char. - * sysdeps/generic/strchrnul.c: Add cast to avoid warning. - * libio/iofwide.c: Add casts to avoid warnings. - * stdio-common/printf-prs.c (parse_printf_format): Introduce new - variable f to avoid warnings. - * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext): - Fix a few casts to avoid warnings. - * iconv/gconv_simple.c (internal_utf8_loop): Make start unsigned - to avoid warning. + * sysdeps/sparc/sparc64/memcmp.S (memcmp): Remove BP_SYM () from + libc_hidden_builtin_def. - [BZ #1101] - * posix/regex_internal.c [_LIBC] (build_wcs_buffer): Avoid using - dynamically sized array. - (build_wcs_upper_buffer): Likewise. +2004-04-20 Jim Meyering -2005-03-05 Jakub Jelinek + * misc/error.c (error_tail): Don't leak upon realloc failure. - * include/bits/unistd.h: New file. - * include/bits/socket2.h: New file. +2004-04-20 Martin Schwidefsky -2005-03-05 Ulrich Drepper + * sysdeps/unix/sysv/linux/dl-execstack.c (_dl_make_stack_executable): + Use RETURN_ADDRESS instead of __builtin_return_address. - * sunrpc/key_call.c: Remove doors support. - * sunrpc/Makefile: Remove CPPFLAGS-key_call.c definition. - * configure.in: Remove test for doors support which never existed. - * config.make.in: Remove have_doors entry. +2004-04-19 Ulrich Drepper - * configure.in: Make sure at least gcc 3.4 is used. Undo last change. - * config.make.in: Undo last change. + * sysdeps/unix/sysv/linux/mq_unlink.c: Rewrite to produce more + compact code. - * sysdeps/i386/Makefile (CFLAGS-initfini.s): Unconditionally use - -mtune. +2004-04-20 Jakub Jelinek -2005-03-05 Roland McGrath + * stdio-common/vfscanf.c (_IO_vfscanf): When skipping whitespace, + do input_error () instead of conv_error () and don't look at errno. + Don't eat any whitespace before %% if skip_space == 0. + * stdio-common/tst-sscanf.c (int_tests): New array. + (main): Run int_tests. - * sysdeps/generic/ldsodefs.h (_dl_out_of_memory_internal): Remove decl. - (_dl_out_of_memory): Use rtld_hidden_proto. - * elf/dl-error.c (_dl_out_of_memory): Use rtld_hidden_data_def. - (_dl_signal_error): Don't use INTUSE on _dl_out_of_memory. - * elf/dl-open.c (_dl_open): Likewise. - * elf/dl-deps.c (_dl_map_object_deps): Likewise. - * sunrpc/des_impl.c (des_set_key): Make first argument unsigned char *. - - * elf/dl-addr.c (_dl_addr): Add a cast. - - [BZ #821] - * elf/unload3mod4.c: Declare foo. - * elf/testobj2.c: Include . - - * sysdeps/gnu/errlist.awk: Emit NERR macro for _sys_nerr_internal - value constant, and use it in the defn. - * sysdeps/gnu/errlist-compat.awk: Use NERR in array decl. - Use actual size for compat array decls. - - * config.make.in (cc-mtune): New substituted variable. - * configure.in (libc_cv_cc_mtune): New test for -mtune= switch, - done only if libc_mtune_example is defined. - * sysdeps/i386/configure.in (libc_mtune_example): Set it. - * sysdeps/i386/Makefile (CFLAGS-initfini.s): Use $(cc-mtune). - -2005-03-05 Jakub Jelinek - - [BZ #721] - * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define - unconditionally to (defined RTLD_BOOTSTRAP). - * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Likewise. - -2005-03-05 Jakub Jelinek - - * Makerules ($(inst_libdir)/libc.so): Use $(slibdir) instead of - $(inst_slibdir) in AS_NEEDED directive. - -2005-03-03 Jakub Jelinek - - * posix/bits/unistd.h (pread, pread64): Don't swap function arguments. - -2005-03-01 H.J. Lu - - [BZ #776] - * iconv/iconvconfig.c: Fix comment for the output file. - (write_output): Clear padding in header. - -2005-03-03 Ulrich Drepper - - [BZ #821] - * elf/dl-close.c (_dl_close): Don't try to set up new searchpath if the - loader is closed. Fixes unload3. - * elf/tst-global1.c: New file. - * elf/Makefile (tests): Add tst-global1. - * elf/testobj2.c (p): New function. - -2005-03-03 Jakub Jelinek - - [BZ #821] - * elf/Makefile: Add rules to build and run unload3 test. - * elf/unload3.c: New test. - * elf/unload3mod1.c: New file. - * elf/unload3mod2.c: New file. - * elf/unload3mod3.c: New file. - * elf/unload3mod4.c: New file. - -2005-02-21 Alan Modra - - [BZ #1394] - * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Don't - use __uint128_t. - -2005-03-01 Jakub Jelinek - - * posix/bits/unistd.h (read, pread, pread64): Use __bos0 instead - of __bos. - * socket/bits/socket2.h (recv, recvfrom): Likewise. - -2005-03-01 Roland McGrath - - [BZ #721] - * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside - of [RESOLVE_MAP]. - -2005-03-01 Alfred M. Szmidt - - [BZ #777] - * elf/dl-load.c (__stack_prot) [!PROT_GROWSUP && !PROT_GROWSDOWN]: - Add missing initializer. - - [BZ #777] - * malloc/arena.c: #include outside of [SHARED && - USE_TLS && !USE___THREAD]. - -2005-02-26 GOTO Masanori - - * csu/Makefile: Use printf instead of echo for some shells. - -2005-02-28 Roland McGrath - - * debug/warning-nop.c (__nop): Rename to nop, make it static. - (__warndecl): Use alias attribute directly, instead of strong_alias - macro. Add attribute_hidden. - -2005-02-28 Ulrich Drepper - - * posix/bits/unistd.h: Avoid calling __*_chk variants if we can - determine the call will never trigger a failure. - * debug/read_chk.c (__read_chk): Always fail if the buffer is too - small. - * debug/readlink_chk.c (__readlink_chk): Likewise. - * debug/pread64_chk.c (__pread64_chk): Likewise. - * debug/pread_chk.c (__pread_chk): Likewise. - - * sysdeps/i386/i686/memset_chk.S: Remove alias and warning. - * sysdeps/x86_64/memset_chk.S: Likewise. - -2005-02-24 Roland McGrath - - * debug/Versions (libc: GLIBC_2.4): Remove - __memset_zero_constant_len_parameter. - * sysdeps/generic/memset_chk.c: Remove alias and warning. - * misc/sys/cdefs.h (__warndecl): New macro. - * debug/warning-nop.c: New file. - * string/bits/string3.h (memset): Call __warn_memset_zero_len with no - arguments, instead of calling __memset_zero_constant_len_parameter. - Use __warndecl for __warn_memset_zero_len. - * debug/Makefile (routines): Add $(static-only-routines). - (static-only-routines): New variable. - -2005-02-27 Ulrich Drepper - - * po/tr.po: Update from translation team. - -2005-02-26 Ulrich Drepper - - * elf/dl-addr.c: Cleanups. Move declaration next to first use. - - * dlfcn/dlerror.c (check_free): New function. Extract common code - from fini and free_key_mem. Check whether this is libdl in the - base namespace. - -2005-02-25 Ulrich Drepper - - * elf/dl-lookup.c (_dl_debug_bindings): Add namespace information - to debug output. - -2004-11-11 Richard Sandiford - - [BZ #758] - * sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h): Only - preprocess if it defines ABI-prefixed syscall names - like __NR_N32_open. Just include otherwise. - * sysdeps/unix/sysv/linux/mips/configure: Regenerate. - * sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: Delete - * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (SYS_ify): Use the - standard __NR prefix. - * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (SYS_ify): Likewise. - * sysdeps/unix/sysv/linux/mips/Makefile (syscall-%.h): Rework so that - the output file is compatible with both pre-2.6 and 2.6 kernel headers. - Extract separate syscall lists for each ABI. - -2005-02-23 Ulrich Drepper - - * Makerules (libc.so): Add AS_NEEDED line for dynamic linker. - - [BZ #719] - * elf/Makefile: Run tst-tls9-static again. - -2005-02-22 Ulrich Drepper - - [BZ #719] - * sysdeps/generic/libc-tls.c (static_dtv): Size the same as the - slotinfo array. - (__libc_setup_tls): Initialize length of DTV based on array length. - * elf/dl-load.c: Revert last change. - * sysdeps/generic/dl-tls.c: Revert last change. - - * posix/Makefile (tests): Add tst-execvp1, tst-execvp2, tst-execlp1, - tst-execlp2, tst-execv1, tst-execv2, tst-execl1, tst-execl2, - tst-execve1, tst-execve2, tst-execle1, and tst-execle2. - * posix/tst-execl1.c: New file. - * posix/tst-execl2.c: New file. - * posix/tst-execle1.c: New file. - * posix/tst-execle2.c: New file. - * posix/tst-execlp1.c: New file. - * posix/tst-execlp2.c: New file. - * posix/tst-execv1.c: New file. - * posix/tst-execv2.c: New file. - * posix/tst-execve1.c: New file. - * posix/tst-execve2.c: New file. - * posix/tst-execvp1.c: New file. - * posix/tst-execvp2.c: New file. - -2005-02-22 Roland McGrath - - * include/signal.h: Revert last change. - (__sigemptyset): Use __builtin_memset instead of memset. - -2005-02-22 Ulrich Drepper - - * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Use - non-cancelable I/O functions. - -2005-02-22 Jakub Jelinek - - [BZ #769] - * nscd/nscd-client.h: Include sys/uio.h. - (__readall, __readvall, writeall): New prototypes. - * nscd/connections.c (writeall): New function. - (handle_request): Use it. - * nscd/aicache.c (addhstaiX): Likewise. - * nscd/initgrcache.c (addinitgroupsX): Likewise. - * nscd/hstcache.c (cache_addhst): Likewise. - * nscd/grpcache.c (cache_addgr): Likewise. - * nscd/pwdcache.c (cache_addpw): Likewise. - * nscd/nscd_helper.c (__readall, __readvall): New functions. - * nscd/nscd_getai.c (__nscd_getai): Use them. - * nscd/nscd_getpw_r.c (__nscd_getpw_r): Likewise. - * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise. - * nscd/nscd_gethst_r.c (__nscd_gethst_r): Likewise. - * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise. - -2005-02-22 Roland McGrath - - * include/sys/socket.h: Declare __recv. - * sysdeps/generic/recv.c (recv): Rename to __recv, and add weak alias. - * sysdeps/mach/hurd/recv.c: Likewise. - - * sysdeps/unix/sysv/linux/libc_fatal.c: Include for - __backtrace_* decls. - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h - (INTERNAL_SYSCALL_ERROR_P): Evalute VAL. Parenthesize ERR. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise. - - * include/signal.h: Include for memset decl. - -2005-02-22 Andreas Schwab - - * posix/execvp.c (execvp): Fix invalid free. - -2005-02-22 Jakub Jelinek - - [BZ #1095] - * malloc/Makefile (CFLAGS-mcheck-init.c): Add. - * sunrpc/Makefile: Add $(PIC-ccflag) to CFLAGS-x* for - librpcsvc.a objects. - -2005-02-21 Ulrich Drepper - - [BZ #1107] - * iconvdata/ibm930.h: Correct Yen mapping. - * iconvdata/ibm939.h: Likewise. - * iconvdata/testdata/IBM930..UTF8: Adjust test data. - * iconvdata/testdata/IBM939..UTF8: Likewise. - Patch by Jiro Sekiba . - - * iconvdata/Makefile (modules): Add IBM1025, IBM1122, IBM1137, IBM1153, - IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158. - (distribute): Add ibm1025.c, ibm1025.h, ibm1122.c, ibm1122.h, - ibm1137.c, ibm1137.h, ibm1153.c, ibm1153.h, ibm1154.c, ibm1154.h, - ibm1155.c, ibm1155.h, ibm1156.c, ibm1156.h, ibm1157.c, ibm1157.h, - ibm1158.c, and ibm1158.h. - * iconvdata/TESTS: Add IBM1025, IBM1122, IBM1137, IBM1153, - IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158. - * iconvdata/gconv-modules: Likewise. - * iconvdata/ibm1025.c: New file. - * iconvdata/ibm1025.h: New file. - * iconvdata/ibm1122.c: New file. - * iconvdata/ibm1122.h: New file. - * iconvdata/ibm1137.c: New file. - * iconvdata/ibm1137.h: New file. - * iconvdata/ibm1153.c: New file. - * iconvdata/ibm1153.h: New file. - * iconvdata/ibm1154.c: New file. - * iconvdata/ibm1154.h: New file. - * iconvdata/ibm1155.c: New file. - * iconvdata/ibm1155.h: New file. - * iconvdata/ibm1156.c: New file. - * iconvdata/ibm1156.h: New file. - * iconvdata/ibm1157.c: New file. - * iconvdata/ibm1157.h: New file. - * iconvdata/ibm1158.c: New file. - * iconvdata/ibm1158.h: New file. - * iconvdata/testdata/IBM1025: New file. - * iconvdata/testdata/IBM1025..UTF8: New file. - * iconvdata/testdata/IBM1122: New file. - * iconvdata/testdata/IBM1122..UTF8: New file. - * iconvdata/testdata/IBM1137: New file. - * iconvdata/testdata/IBM1137..UTF8: New file. - * iconvdata/testdata/IBM1153: New file. - * iconvdata/testdata/IBM1153..UTF8: New file. - * iconvdata/testdata/IBM1154: New file. - * iconvdata/testdata/IBM1154..UTF8: New file. - * iconvdata/testdata/IBM1155: New file. - * iconvdata/testdata/IBM1155..UTF8: New file. - * iconvdata/testdata/IBM1156: New file. - * iconvdata/testdata/IBM1156..UTF8: New file. - * iconvdata/testdata/IBM1157: New file. - * iconvdata/testdata/IBM1157..UTF8: New file. - * iconvdata/testdata/IBM1158: New file. - * iconvdata/testdata/IBM1158..UTF8: New file. - Contributed by Jiro Sekiba . - -2005-02-10 Paolo Bonzini - - * posix/regcomp.c (lower_subexp): Do not optimize empty - subexpressions even with REG_NOSUB. - * posix/rxspencer/tests: Add a previously failing testcase. - -2005-02-21 Alan Modra - - [BZ #719] - * elf/dl-reloc.c (_dl_nothread_init_static_tls): Assert that dtv - array index is within bounds. - -2005-02-21 Ulrich Drepper - - [BZ #719] - * elf/dl-load.c: Do not allow PT_TLS in modules loaded in statically - linked code. - * sysdeps/generic/dl-tls.c [!SHARED]: Don't build _dl_next_tls_modid. - * elf/Makefile: Remove rules to build and run tst-tls9-static. - - [BZ #719] - * elf/dl-reloc.c (_dl_nothread_init_static_tls): Avoid using - THREAD_DTV multiple times, this minimally reduces code size on - some archs. - -2005-02-21 Jakub Jelinek - - [BZ #768] - * nscd/nscd_gethst_r.c (nscd_gethst_r): Set *h_errnop to - NETDB_INTERNAL if buffer is too small. - - [BZ #768] - * nscd/hstcache.c (INCR): Remove. - (addhstbyX): Double buflen in each iteration rather than add INCR. - * nscd/grpcache.c: Likewise. - * nscd/pwdcache.c: Likewise. - -2005-02-21 Ulrich Drepper - - * sysdeps/unix/sysv/linux/libc_fatal.c: Print backtrace and memory - map if requested. - * debug/chk_fail.c: Request backtrace and memory map dump. - - * Versions.def: Add GLIBC_2.4 for libc. - * debug/fgets_chk.c: New file. - * debug/fgets_u_chk.c: New file. - * debug/getcwd_chk.c: New file. - * debug/getwd_chk.c: New file. - * debug/readlink_chk.c: New file. - * debug/read_chk.c: New file. - * debug/pread_chk.c: New file. - * debug/pread64_chk.c: New file. - * debug/recv_chk.c: New file. - * debug/recvfrom_chk.c: New file. - * debug/Versions: Add all new functions with version GLIBC_2.4. - * debug/Makefile (routines): Add fgets_chk, fgets_u_chk, read_chk, - pread_chk, pread64_chk, recv_chk, recvfrom_chk, readlink_chk, - getwd_chk, and getcwd_chk. Plus appropriate CFLAGS definitions. - * debug/tst-chk1.c: Add more tests. - * libio/bits/stdio2.h: Add macros for fgets and fgets_unlocked. - * include/stdio.h: Declare __fgets_chk and __fgets_unlocked_chk. - * posix/unistd.h: Include for fortification. - * posix/bits/unistd.h: New file. - * posix/Makefile (headers): Add bits/unistd.h. - * socket/sys/socket.h: Include for fortification. - * socket/bits/socket2.h: New file. - * socket/Makefile (headers): Add bits/socket2.h. - - * string/bits/string3.h: Extend memset macro to check for zero 3rd - parameter and use __memset_zero_constant_len_parameter in that case. - * sysdeps/generic/memset_chk.c: Add - __memset_zero_constant_len_parameter alias and linker warning. - * debug/Versions: Add __memset_zero_constant_len_parameter to libc - with version GLIBC_2.4. - - * sysdeps/generic/bits/types.h: Don't unnecessarily use __extension__ - in __STD_TYPE definition. - -2005-02-21 Jakub Jelinek - - * malloc/malloc.c (malloc_printerr): If MALLOC_CHECK_={5,7}, print - the error message rather than program name. - -2005-02-21 Ulrich Drepper - - [BZ #767] - * posix/unistd.h: symlink and readlink are unconditionally - available in the 2001 spec. - -2005-02-16 Roland McGrath - - * intl/dcigettext.c (_nl_find_msg): Add a cast. - - * nis/nis_clone_dir.c (nis_clone_directory): Use char * for ADDR. - * nis/nis_clone_obj.c (nis_clone_object): Likewise. - * nis/nis_clone_res.c (nis_clone_result): Likewise. - - * resolv/nss_dns/dns-network.c (getanswer_r): Use const unsigned char * - for END_OF_MESSAGE and CP. - - * resolv/res_send.c (send_dg): Add else branch for case impossible - unless `poll' is buggy. - - * crypt/crypt_util.c (__setkey_r): Add a cast. - - * locale/programs/linereader.c (get_toplvl_escape): Use size_t for - NBYTES, and unsigned char * for BYTES. - - * locale/programs/charmap.c (charmap_new_char): Use size_t and - unsighed char * for NBYTES, BYTES parameters. - - * sysdeps/generic/dl-hash.h (_dl_elf_hash): Take const char * argument - and cast it. - * sysdeps/i386/i686/dl-hash.h (_dl_elf_hash): Likewise. - - * sunrpc/create_xid.c (_create_xid): Don't use unsigned long for RES. - - * sunrpc/svcauth_des.c (_svcauth_des): Fix cast type. - - * sunrpc/auth_des.c (authdes_create): Don't use u_char for PKEY_DATA. - (authdes_marshal): Don't use unsigned int for LEN. - * sunrpc/xdr.c (xdr_hyper): Don't use unsigned long for T2. - (xdr_u_hyper): Likewise. - (xdr_u_short): Don't use u_long for L. - * sunrpc/xdr_intXX_t.c (xdr_int64_t): Don't use uint32_t for T2. - - * inet/rexec.c (rexec_af): Use socklen_t. - * sunrpc/key_call.c (getkeyserv_handle): Likewise. - * sunrpc/rtime.c (rtime): Likewise. - * resolv/res_send.c (send_vc, send_dg): Likewise. - * nis/nis_callback.c (__nis_create_callback): Likewise. - - * sysdeps/generic/libc-start.c: Use unsigned int for nthreads ptr. - - * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix type of ADDR local. - - * libio/libio.h (_IO_BE): Add parenthesis around EXPR. - - * intl/dcigettext.c (INTVARDEF, INTUSE): Macros removed. - (_nl_default_dirname): Use libc_hidden_data_def instead of INTVARDEF. - (libc_freeres_fn, DCIGETTEXT): Don't use INTUSE. - * intl/bindtextdom.c (INTUSE): Macro removed. - (_nl_default_dirname): Use libc_hidden_proto. - (set_binding_values): Don't use INTUSE. - * include/libintl.h (_libc_intl_domainname_internal): Decl removed. - (_libc_intl_domainname): Use libc_hidden_proto. - * posix/regex_internal.h (gettext): Remove INTUSE on it. - * locale/SYS_libc.c (_libc_intl_domainname): Use libc_hidden_data_def - rather than INTDEF. - * include/libintl.h (_): Don't use *_internal name. - - * ctype/ctype-extn.c (__ctype_tolower, __ctype_toupper): Use int32_t, - not uint32_t. - * locale/lc-ctype.c (_nl_postload_ctype): Likewise for assignments. - - * iconv/gconv_open.c (__gconv_open): Remove useless cast. - - [BZ #721] - * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside - of [RESOLVE_MAP]. - * sysdeps/sh/dl-machine.h (ELF_MACHINE_NO_REL): Likewise. - * sysdeps/powerpc/powerpc32/dl-machine.h - (elf_machine_rel, elf_machine_rel_relative): Removed. - * sysdeps/powerpc/powerpc64/dl-machine.h - (elf_machine_rel, elf_machine_rel_relative): Removed. - -2005-02-03 Alexandre Oliva - - [BZ #721] - * elf/dynamic-link.h: Don't declare nested auto functions that are - not going to be defined. - -2004-07-23 Jakub Jelinek - - [BZ #284] - * include/features.h (_POSIX_SOURCE, _POSIX_C_SOURCE): Define - if _XOPEN_SOURCE >= 500 even if __STRICT_ANSI__ is defined. - -2005-02-16 Roland McGrath - - * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Move UBP_EV defn - inside [! SHARED] where it's used. - -2005-02-15 Ulrich Drepper - - * sysdeps/generic/bits/byteswap.h: Make sure result of all the - functions and macros is unsigned. - -2005-02-11 Barry deFreese - - [BZ #722] - * sysdeps/mach/hurd/setresgid.c: Use weak_alias. - * sysdeps/mach/hurd/setresuid.c: Likewise. - -2005-02-14 GOTO Masanori - - * misc/sys/syslog.h: Fix typo in comment. - -2005-02-14 Roland McGrath - - [BZ #720] - * sysdeps/unix/sysv/linux/sys/kd.h: Don't leave _LINUX_TYPES_H defined - if it wasn't originally. - -2005-02-14 GOTO Masanori - - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove the duplicated - getpeername entry. - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. - -2005-02-11 Jakub Jelinek - - * scripts/soversions.awk: Only record first WORDSIZE{32,64} - matching line. - -2005-02-14 Alan Modra - - [BZ #721] - * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Define - with auto inline, and attribute always_inline. - (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise. - (elf_machine_rel, elf_machine_rel_relative): Likewise. - * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise. - (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise. - (elf_machine_rel, elf_machine_rel_relative): Likewise. - (elf_machine_tprel): Likewise. - -2005-02-14 Andreas Schwab - - * manual/filesys.texi (Random Access Directory): Fix type of file - position value for telldir and seekdir. - (Attribute Meanings): Fix typo. - -2005-02-14 H.J. Lu - - * csu/elf-init.c (__libc_csu_fini): Enable if LIBC_NONSHARED - isn't defined. - * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Call fini - if SHARED isn't defined. - * elf/Makefile (tests-static): Add tst-array1-static. - ($(objpfx)tst-array1-static.out): New target. - * elf/tst-array1-static.c: New file. - -2005-02-11 Jakub Jelinek - - [BZ #1100] - * debug/chk_fail.c (__chk_fail): Add a while (1) loop around - __libc_message to kill GCC warning about noreturn function returning. - - * elf/rtld.c (dlmain): If LD_TRACE_PRELINKING, clear l_relocated flag - before relocating ld.so again. - - * elf/rtld.c (_dl_start): Set bootstrap_map.l_relocated even - for already prelinked ld.so. - -2005-02-11 Roland McGrath - - [BZ #715] - * Makefile (installed-stubs): New variable. - Set to $(inst_includedir)/gnu/stubs.h if $(biarch) is no, - or to $(inst_includedir)/gnu/stubs-$(biarch).h if otherwise. - [$(biarch) != no] (install-others-nosubdir): Add $(installed-stubs). - ($(inst_includedir)/gnu/stubs.h): Use $(installed-stubs) for this - rule's target. - ($(inst_includedir)/gnu/stubs.h): New target, install from ... - * include/stubs-biarch.h: New file. - - * shlib-versions (i.86-.*-.*): Add WORDSIZE64 line mapping to x86_64. - - * Makeconfig ($(common-objpfx)soversions.mk): Depend on Makeconfig. - Emit defn for variable `biarch'. - - * include/stub-tag.h: Update comment. - - * scripts/soversions.awk: Fix default version set handling. - -2005-02-10 Roland McGrath - - [BZ #157] - * include/libc-symbols.h (stub_warning): Emit a marker section called - .gnu.glibc-stub.NAME. - * Makerules ($(objpfx)stubs): Depend on object files, not dep files. - Use objdump to collect those marker section names. - ($(common-objpfx)shlib.lds): Discard .gnu.glibc-stub.* sections. - - * Rules (subdir_objs, subdir_stubs): New phony targets. - * Makefile (+subdir_targets): Add them. - - * Makerules ($(common-objpfx)Versions.all): Grok new leading column in - soversions.i. - - * scripts/lib-names.awk: Consider [0-9].* a "number", not just [0-9]+. - Reported by H.J. Lu . - - * scripts/lib-names.awk: Always print WORDSIZE32 section first when - doing two. - -2005-02-10 Jakub Jelinek - - * sysdeps/powerpc/powerpc32/bits/link.h: Removed. - * sysdeps/powerpc/powerpc64/bits/link.h: Moved to... - * sysdeps/powerpc/bits/link.h: ... here. New file. - -2005-02-09 Jakub Jelinek - - [BZ #710] - * stdlib/random_r.c (__initstate_r): Save old state. - * stdlib/Makefile (tests): Add tst-random2. - * stdlib/tst-random2.c: New test. - Reported by Peter Bergner . - -2005-01-25 H.J. Lu - - * dlfcn/dlfcn.c (init): Put it in .init_array section. - -2005-02-10 Roland McGrath - - [BZ #632] - * scripts/soversions.awk: Expect cpu, vendor, os as separate variables - from command line. - Grok shlib-versions lines with WORDSIZE* in second column. - Add new leading column to output, DEFAULT for existing output lines. - Also emit lines with WORDSIZE* for alternate configurations. - * Makeconfig ($(common-objpfx)soversions.i): Pass those variables. - ($(common-objpfx)soversions.mk): Grok new column, use only DEFAULT. - ($(common-objpfx)gnu/lib-names.stmp): Depend on soversions.i instead - of soversions.mk; replace inline shell script with use of ... - * scripts/lib-names.awk: New file. If input has non-DEFAULT lines, - emit multiple sets of macros under #if. - * shlib-versions (x86_64-.*-.*): Add WORDSIZE32 line mapping to i686. - (s390x-.*-.*): Likewise for s390. - (powerpc64-.*-.*): Likewise for powerpc. - (sparc64-.*-.*): Likewise for sparc. - (s390-.*-.*, powerpc.*-.*-.*, sparc.*-.*-.*): Add WORDSIZE64 entries - for these mapping back to the above. - -2005-02-08 Jakub Jelinek - - * elf/dl-load.c (_dl_map_object_from_fd): Fix a typo. - -2005-02-08 Andreas Schwab - - * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove use of - RESOLVE. - -2005-02-07 Richard Henderson - - [BZ #721] - * iconvdata/jis0208.h (struct jisx0208_ucs_idx): Move before use. - -2005-02-08 Kaz Kojima - - * sysdeps/sh/dl-machine.h (elf_machine_rela): Remove code using - RESOLVE. - -2005-02-07 Ulrich Drepper - - * elf/dl-load.c (_dl_map_object_from_fd): Make sure registers are - set correctly. - -2005-01-07 Richard Henderson - - [BZ #721] - * math/math_private.h (__copysign): Define as builtin for gcc 4. - (__copysignf, __copysignl): Likewise. - * sysdeps/alpha/fpu/bits/mathinline.h (copysign): Don't define - for gcc 4.0. - (copysignf, copysignl, fabsf, fabs): Likewise. - (__copysign, __copysignf, __copysignl): Remove. - (__fabs, __fabsf): Remove. - -2005-01-07 Jakub Jelinek - - [BZ #738] - * elf/dl-load.c (open_path): If rtld_search_dirs is in RELRO segment, - avoid writing to it if none of the standard search directories exist. - -2005-02-07 Steven Munroe - - [BZ #700] - * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S - (__novec_setcontext, __setcontext): Fix typo so CCR is restored. - Load MSR as a doubleword. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S - (__novec_swapcontext, __swapcontext): Likewise. - -2005-02-07 Ulrich Drepper - - * iconv/iconv_prog.c (main): Provide more help in case on an error. - - * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Define. - -2005-02-07 Jakub Jelinek - - [BZ #741] - * nscd/nscd.c (termination_handler): Avoid segfault if some database - is not enabled. - - [BZ #741] - * nscd/nscd_getai.c (__nscd_getai): If ai_resp->found == -1, set - __nss_not_use_nscd_hosts and return -1. - * nscd/nscd_initgroups.c (__nscd_getgrouplist): If - initgr_resp->found == -1, set __nss_not_use_nscd_group and return -1. - Avoid leaking sockets. - -2005-01-28 Andreas Schwab - H.J. Lu - - [BZ #677] - * elf/dl-runtime.c (fixup): Change return type to - DL_FIXUP_VALUE_TYPE. Use DL_FIXUP_VALUE_TYPE, - DL_FIXUP_MAKE_VALUE and DL_FIXUP_VALUE_CODE_ADDR for relocation - values. Use DL_FIXUP_VALUE_ADDR and DL_FIXUP_ADDR_VALUE to - store and retrieve relocation values. - (profile_fixup): Likewise. - * include/link.h (link_map): Use DL_FIXUP_VALUE_TYPE for - l_reloc_result. - * sysdeps/generic/dl-fptr.h (link_map): Forward declaration. - * sysdeps/generic/dl-lookupcfg.h (DL_FIXUP_VALUE_TYPE): New. - (DL_FIXUP_MAKE_VALUE): Likewise. - (DL_FIXUP_VALUE_CODE_ADDR): Likewise. - (DL_FIXUP_VALUE_ADDR): Likewise. - (DL_FIXUP_ADDR_VALUE): Likewise. - * sysdeps/ia64/dl-lookupcfg.h: Include for "struct fdesc". - (DL_FIXUP_VALUE_TYPE): New. - (DL_FIXUP_MAKE_VALUE): Likewise. - (DL_FIXUP_VALUE_CODE_ADDR): Likewise. - (DL_FIXUP_VALUE_ADDR): Likewise. - (DL_FIXUP_ADDR_VALUE): Likewise. - * sysdeps/ia64/dl-machine.h (elf_machine_profile_fixup_plt): Removed. - (elf_machine_profile_plt): Removed. - (elf_machine_fixup_plt): Change return type and type of value - parameter to struct fdesc. - (elf_machine_plt_value): Likewise. - (elf_machine_rela): Use DL_FIXUP_MAKE_VALUE to construct - argument for elf_machine_fixup_plt. - -2005-02-07 Jakub Jelinek - - [BZ #742] - * nscd/nscd.init (reload): Print Reloading nscd: before and a newline - after the status string printed by killproc. - -2004-11-18 Alexandre Oliva - - * manual/.cvsignore: Add dir-add.texi. - -2005-02-06 Richard Henderson - - * sysdeps/alpha/dl-machine.h (elf_machine_rela): Use RESOLVE_MAP - all the time. - -2004-11-03 Marcus Brinkmann - - * configure.in (sysnames): Append sysdeps/generic for each add-on. - * configure: Regenerated. - -2005-02-02 Alfred M. Szmidt - - * sysdeps/mach/hurd/tls.h: Include - (dtv_t): Change pointer type to be a struct which also contains - information whether the memory pointed to is static TLS or not. - - * sysdeps/generic/syslog.c (send_flags) [!send_flags]: Define it. - - * shadow/sgetspent_r.c (FALSE): Macro renamed to ... - (FALSEP): ... this. Updated all references. - - [BZ #765] - * libio/fmemopen.c: Include . - -2005-01-30 Ulrich Drepper - - [BZ #1103] - * nscd/nscd_helper.c (get_mapping): Use MSG_NOSIGNAL if available. - * nscd/connections.c (send_ro_fd): Likewise. - -2005-01-28 H.J. Lu - - * elf/tst-auditmod1.c: Add ia64 entries. - * sysdeps/generic/ldsodefs.h (La_ia64_regs): New. - (La_ia64_retval): New. - (audit_ifaces): Add ia64 entries. - * sysdeps/ia64/bits/link.h: New file. - * sysdeps/ia64/dl-machine.h (elf_machine_runtime_setup): Test - for dl_profile non-null. - (ARCH_LA_PLTENTER): New. - (ARCH_LA_PLTEXIT): New. - * sysdeps/ia64/dl-trampoline.S (_dl_runtime_resolve): Allocate - only 2 output registers. Allocate stack to save/restore - 8 incoming fp registers. Call _dl_fixup instead of fixup. - (_dl_runtime_profile): Rewrite. - -2005-01-28 Martin Schwidefsky - - * sysdeps/s390/bits/link.h: New file. - * sysdeps/s390/s390-32/dl-trampoline.S: New file. - * sysdeps/s390/s390-64/dl-trampoline.S: New file. - * sysdeps/s390/s390-32/dl-machine.h: Move PLT trampolines to - dl-trampoline.S. Use RESOLVE_MAP instead of RESOLVE to protect - relocation code. - (elf_machine_runtime_setup): Test for dl_profile non-null. - (elf_machine_rela): Remove code using RESOLVE. - (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New. - * sysdeps/s390/s390-64/dl-machine.h: Likewise. - * sysdeps/generic/ldsodefs.h (La_s390_32_regs, La_s390_32_retval, - La_s390_64_regs, La_s390_64_retval): New. - * elf/tst-auditmod1.c: Add s390 entries. - - [BZ #743] - * sysdeps/s390/bits/string.h (strlen, strncpy, strcat, strncat, - strncat, memchr, strcmp): Add missing memory clobber. - -2005-01-27 Ulrich Drepper - - * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_globfree): Also - copy gl_offs. Patch by Sergey Tikhonov . - -2005-01-27 Paolo Bonzini - - [BZ #558] - * posix/regcomp.c (calc_inveclosure): Return reg_errcode_t. - Initialize the node sets in dfa->inveclosures. - (analyze): Initialize inveclosures only if it is needed. - Check errors from calc_inveclosure. - * posix/regex_internal.c (re_dfa_add_node): Do not initialize - the inveclosure node set. - * posix/regexec.c (re_search_internal): If nmatch includes unused - subexpressions, reset them to { rm_so: -1, rm_eo: -1 } here. - - * posix/regcomp.c (parse_bracket_exp) [!RE_ENABLE_I18N]: - Do build a SIMPLE_BRACKET token. - - * posix/regexec.c (transit_state_mb): Do not examine nodes - where ACCEPT_MB is not set. - -2005-01-27 Jakub Jelinek - - * stdlib/tst-fmtmsg.c: Include stdlib.h. - * stdio-common/tst-fmemopen2.c: Include string.h. - * posix/execvp.c: Include stdbool.h. - -2004-12-13 Paolo Bonzini - - Separate parsing and creation of the NFA. Avoided recursion on - the (very unbalanced) parse tree. - [BZ #611] - * posix/regcomp.c (struct subexp_optimize, analyze_tree, calc_epsdest, - re_dfa_add_tree_node, mark_opt_subexp_iter): Removed. - (optimize_subexps, duplicate_tree, calc_first, calc_next, - mark_opt_subexp): Rewritten. - (preorder, postorder, lower_subexps, lower_subexp, link_nfa_nodes, - create_token_tree, free_tree, free_token): New. - (analyze): Accept a regex_t *. Invoke the passes via the preorder and - postorder generic visitors. Do not initialize the fields in the - re_dfa_t that represent the transitions. - (free_dfa_content): Use free_token. - (re_compile_internal): Analyze before UTF-8 optimizations. Do not - include optimization of subexpressions. - (create_initial_state): Fetch the DFA node index from the first node's - bin_tree_t *. - (optimize_utf8): Abort on unexpected nodes, including OP_DUP_QUESTION. - Return on COMPLEX_BRACKET. - (duplicate_node_closure): Fix comment. - (duplicate_node): Do not initialize the fields in the - re_dfa_t that represent the transitions. - (calc_eclosure, calc_inveclosure): Do not handle OP_DELETED_SUBEXP. - (create_tree): Remove final argument. All callers adjusted. Rewritten - to use create_token_tree. - (parse_reg_exp, parse_branch, parse_expression, parse_bracket_exp, - build_charclass_op): Use create_tree or create_token_tree instead - of re_dfa_add_tree_node. - (parse_dup_op): Likewise. Also free the tree using free_tree for - "{0}", and lower OP_DUP_QUESTION to OP_ALT: "a?" is equivalent - to "a|". Adjust invocation of mark_opt_subexp. - (parse_sub_exp): Create a single SUBEXP node. - * posix/regex_internal.c (re_dfa_add_node): Remove last parameter, - always perform as if it was 1. Do not initialize OPT_SUBEXP and - DUPLICATED, and initialize the DFA fields representing the transitions. - * posix/regex_internal.h (re_dfa_add_node): Adjust prototype. - (re_token_type_t): Move OP_DUP_PLUS and OP_DUP_QUESTION to the tokens - section. Add a tree-only code SUBEXP. Remove OP_DELETED_SUBEXP. - (bin_tree_t): Include a full re_token_t for TOKEN. Turn FIRST and - NEXT into pointers to trees. Remove ECLOSURE. - -2004-12-28 Paolo Bonzini - - [BZ #605] - * posix/regcomp.c (parse_bracket_exp): Do not modify DFA nodes - that were already created. - * posix/regex_internal.c (re_dfa_add_node): Set accept_mb field - in the token if needed. - (create_ci_newstate, create_cd_newstate): Set accept_mb field - from the tokens' field. - * posix/regex_internal.h (re_token_t): Add accept_mb field. - (ACCEPT_MB_NODE): Removed. - * posix/regexec.c (proceed_next_node, transit_states_mb, - build_sifted_states, check_arrival_add_next_nodes): Use - accept_mb instead of ACCEPT_MB_NODE. - -2005-01-26 Ulrich Drepper - - [BZ #1100] - * debug/chk_fail.c (__chk_fail): Print program name in final message. - - * sysdeps/unix/sysv/linux/kernel-features.h: Found reference to - MSG_NOSIGNAL being in 2.2 kernels. - -2005-01-26 Jakub Jelinek - - * sysdeps/unix/sysv/linux/i386/sysdep.h - (SYSCALL_ERROR_HANDLER_TLS_STORE): Remove unnecessary 0 imm. - - [BZ #693] - * posix/regex_internal.h (DUMMY_CONSTRAINT): Rename to... - (WORD_DELIM_CONSTRAINT): ...this. - (NOT_WORD_DELIM_CONSTRAINT): Define. - (re_context_type): Add INSIDE_NOTWORD and NOT_WORD_DELIM, - change WORD_DELIM to use WORD_DELIM_CONSTRAINT. - * posix/regcomp.c (peek_token): For \B create NOT_WORD_DELIM - anchor instead of INSIDE_WORD. - (parse_expression): Handle NOT_WORD_DELIM constraint. - * posix/bug-regex19.c (tests): Adjust tests that relied on \B - being inside word instead of not word delim. - * posix/tst-rxspencer.c (mb_frob_pattern): Don't frob escaped - characters. - * posix/rxspencer/tests: Add some new tests. - -2005-01-14 GOTO Masanori - - [BZ #1108] - * sunrpc/rpc_main.c (s_output): Generate #include - irrespective of Cflag. - - * manual/memory.texi (sbrk): Fix definition. - * manual/string.texi (strcasestr): Fix example typo. - -2005-01-25 Roland McGrath - - * sysdeps/generic/syslog.c [NO_SIGPIPE]: Protect sigpipe_handler decl. - -2005-01-23 Roland McGrath - - [BZ #737] - * sysdeps/i386/Makefile (defines): If -mno-tls-direct-seg-refs appears - in $(CFLAGS), add -DNO_TLS_DIRECT_SEG_REFS. - * sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD] - (SYSCALL_ERROR_HANDLER) [NO_TLS_DIRECT_SEG_REFS]: Load thread pointer - from %gs:0 and add to that value, rather that direct %gs:OFFSET access. - * sysdeps/unix/i386/sysdep.S [NO_TLS_DIRECT_SEG_REFS]: Likewise. - -2005-01-25 Jakub Jelinek - - [BZ #731] - * stdlib/fmtmsg.c (addseverity): Remove new_string variable. - (free_mem): Don't free string. - * stdlib/tst-fmtmsg.c: Include string.h. - (main): Add some more tests. - -2005-01-25 Andreas Schwab - - [BZ #736] - * timezone/asia: Update from tzdata2005c. - * timezone/backward: Likewise. - * timezone/europe: Likewise. - * timezone/leapseconds: Likewise. - * timezone/northamerica: Likewise. - * timezone/southamerica: Likewise. - - [BZ #736] - * timezone/private.h: Update from tzcode2005c. - * timezone/tzfile.h: Likewise. - * timezone/zdump.c: Likewise. - * timezone/zic.c: Likewise. - -2005-01-25 Ulrich Drepper - - * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove code using - RESOLVE. - * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Remove code - using RESOLVE. - * elf/rtld.c (_dl_start): Remove RESOLVE definition. - -2005-01-25 Alan Modra - - * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Test - sym_map, not sym, against zero. - -2005-01-24 Ulrich Drepper - - [BZ #671] - * misc/syslog.c: Moved to... - * sysdeps/generic/syslog.c: ...here. - [NO_SIGIPE]: Don't install SIGPIPE handler. - * sysdeps/unix/sysv/linux/syslog.c: New file. - * sysdeps/unix/sysv/linux/kernel-features.h: Define - __ASSUME_MSG_NOSIGNAL. - -2005-01-22 Richard Henderson - - * sysdeps/alpha/dl-trampoline.S: New file. - * sysdeps/alpha/dl-machine.h: Move PLT trampolines there. - Use RESOLVE_MAP instead of RESOLVE to protect relocation code. - (elf_machine_runtime_setup): Test for dl_profile non-null. - (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New. - * sysdeps/alpha/bits/link.h: New file. - * sysdeps/generic/ldsodefs.h (La_alpha_regs, La_alpha_retval): New. - (struct audit_ifaces): Add alpha entries. - * elf/tst-auditmod1.c: Add alpha entries. - -2005-01-22 Ulrich Drepper - - * sysdeps/ia64/dl-machine.h: Remove PLT trampolines here. - * sysdeps/ia64/dl-trampoline.S: New file. - - * sysdeps/x86_64/bits/link.h: Use namespace-safe identifiers in - La_x86_64_xmm definition. - - * posix/Makefile: Use CFLAGS-*.os instead of CFLAGS-*.c for frame - pointer option. - * stdlib/Makefile (CFLAGS-system.os): Use this instead of - CFLAGS-system.c for frame pointer option. - -2005-01-21 Roland McGrath - - * elf/dl-runtime.c (_dl_profile_fixup): Remove const from REGS. - * sysdeps/i386/dl-machine.h: Update decl. - -2005-01-21 Jakub Jelinek - - [BZ #735] - * elf/Makefile: Add rules to build and run tst-align2. - * elf/tst-align2.c: New test. - * elf/tst-alignmod2.c: New file. - * sysdeps/powerpc/tst-stack-align.h: New file. - * sysdeps/i386/dl-machine.h (RTLD_START): Align stack and clear frame - pointer before calling _dl_init. - * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise. - -2005-01-20 Ulrich Drepper - - * posix/execl.c: Do not allocate potentially large buffers on the - stack. - * posix/execle.c: Likewise. - * posix/execlp.c: Likewise. - * posix/execvp.c: Likewise. - (script_execute): Removed. - (allocate_scripts_argv): New function. Called at most once to - allocate memory, not every time a script is run. Adjust caller. - - * sysdeps/generic/wordexp.c (exec_comm): Add a few - TEMP_FAILURE_RETRY. Reorganize code to avoid multiple calls to - exec_comm_child. - (exec_comm_child): Can now be inlined. - - * posix/Makefile: Add -fomit-frame-pointer for a few more files. - * stdlib/Makefile: Likewise. - -2005-01-19 Roland McGrath - - [BZ #681] - * sunrpc/openchild.c (_openchild): Use NULL instead of 0 for trailing - argument to execlp. - Reported by Marcus Meissner . - -2005-01-19 Jakub Jelinek - - * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Fix a typo - in assert. - * iconv/strtab.c (strtabfinalize): Likewise. - - * libio/iofopncook.c (_IO_cookie_seekoff): Add prototype. - -2005-01-17 Roland McGrath - - [BZ #745] - * nscd/Makefile (LDLIBS-nscd): New variable. - ($(objpfx)nscd): Use that instead of selinux-LIBS. - - * Makeconfig (link-extra-libs): Define just as $(LDLIBS-$(@F)). - (link-extra-libs-static): Define to $(link-extra-libs). - (link-extra-libs-bounded): Likewise. - -2005-01-17 Ulrich Drepper - - * include/link.h: Remove stray definition of pltenter. - -2005-01-16 GOTO Masanori - - [BZ #734] - * sysdeps/unix/rewinddir.c: Reset filepos. - * dirent/tst-seekdir.c: Check telldir value after calling rewinddir. - -2005-01-15 Ulrich Drepper - - * elf/tst-auditmod1.c: Reduce duplication. - -2005-01-16 Andreas Schwab - - * sysdeps/m68k/dl-machine.h: Remove trampoline code. Define - ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT. - (elf_machine_runtime_setup): If profile != 0 does not anymore mean - GLRO(dl_profile) != NULL. - * sysdeps/m68k/dl-trampoline.S: New file. - * sysdeps/m68k/bits/link.h: New file. - * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add m68k - variants. - * elf/tst-auditmod1.c: Add m68k support. - -2005-01-14 Ulrich Drepper - - * posix/regcomp.c [!_LIBC] (init_dfa): Fix determining of relevant - LC_* variable. Patch by Aharon Robbins . - - [BZ #731] - * stdlib/fmtmsg.c (internal_addseverity): Remove incorrect free call. - * stdlib/tst-fmtmsg.c (main): Add another addseverity test. - -2005-01-12 Ulrich Drepper - - * elf/dl-load.c (_dl_map_object_from_fd): We don't have to allow - callers from libc anymore. - - * elf/dl-open.c (dl_open_worker): Pass __RTLD_AUDIT flag from caller - to _dl_map_object_deps. - * elf/dl-load.c (_dl_map_object_from_fd): Don't change memory - protections when loading auditing modules. - - * dlfcn/dlopen.c (dlopen_doit): Catch invalid mode arguments and fail. - - * posix/getconf.c: Update copyright year. - * nss/getent.c: Likewise. - * nscd/nscd_nischeck.c: Likewise. - * iconv/iconvconfig.c: Likewise. - * iconv/iconv_prog.c: Likewise. - * elf/ldconfig.c: Likewise. - * catgets/gencat.c: Likewise. - * csu/version.c: Likewise. - * elf/ldd.bash.in: Likewise. - * elf/sprof.c (print_version): Likewise. - * locale/programs/locale.c: Likewise. - * locale/programs/localedef.c: Likewise. - * nscd/nscd.c (print_version): Likewise. - * debug/xtrace.sh: Likewise. - * malloc/memusage.sh: Likewise. - * malloc/mtrace.pl: Likewise. - * debug/catchsegv.sh: Likewise. - -2005-01-11 Thorsten Kukuk - - [BZ #733] - * sunrpc/svc_tcp.c (svctcp_create): Call listen with SOMAXCONN - as backlog. - * sunrpc/svc_unix.c (svcunix_create): Likewise. - - [BZ #1099] - * grp/putgrent.c (putgrent): Don't write 0 as group - ID if groupname starts with + or -. - * pwd/putpwent.c (putpwent): Don't write 0 as user or - group ID if user name starts with + or -. - -2005-01-09 Kaz Kojima - - * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add sh variants. - * sysdeps/elf/tst-auditmod1.c: Add sh support. - * sysdeps/sh/bits/link.h: New. - * sysdeps/sh/dl-machine.h: Remove trampoline code here. Define - ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT. Remove obsolete comments. - (RTLD_START): Define __fpscr_values. - * sysdeps/sh/dl-trampoline.S: New file. - * sysdeps/sh/sh4/dl-trampoline.S: New file. - * sysdeps/sh/sh4/Versions [ld]: Add __fpscr_values. - * sysdeps/sh/sh4/dl-machine.h: Remove. - -2005-01-10 Jakub Jelinek - - [BZ #732] - * time/tst-strptime.c (day_tests): Add 2 new tests. - (test_tm, main): Issue an error instead of segfaulting if - strptime returns NULL. - -2005-01-10 H.J. Lu - - * sysdeps/alpha/libc-tls.c (__tls_get_addr): Updated for dtv_t union. - * sysdeps/ia64/libc-tls.c (__tls_get_addr): Likewise. - -2005-01-11 Ulrich Drepper - - * malloc/malloc.h: Remove no-glibc support. - -2005-01-12 GOTO Masanori - - [BZ #650] - * malloc/malloc.h: Always include features.h. - -2005-01-10 Roland McGrath - - * sysdeps/ia64/fpu/e_logl.c: File removed. - - * dlfcn/dlfcn.c (init): Fix typo in attribute decl. - -2005-01-10 Ulrich Drepper - - * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Fix assertion and - recognition of last entry. - -2005-01-09 Ulrich Drepper - - * elf/dl-runtime.c: Include . - - * elf/Makefile (headers): Add bits/link.h. - -2005-01-09 Andreas Schwab - - * elf/rtld.c (dl_main): Create main_map with __RTLD_OPENEXEC. - -2005-01-09 Andreas Jaeger - - [BZ #732] - * time/strptime_l.c (__strptime_internal): Add braces to avoid - warning. - - * sysdeps/x86_64/bits/link.h: Use vector_size for GCC 4.0. - - * elf/rtld.c (dl_main): Call _dl_add_to_slotinfo only if USE_TLS. - -2005-01-08 Jakub Jelinek - - * elf/Makefile (generated): Add tst-pie1{,.out,.o}. - -2005-01-09 Ulrich Drepper - - * elf/dl-fini.c (_dl_fini): Call destructors of audit DSOs after - those of all the regular objects. - - * elf/dl-debug.c (_dl_debug_initialize): Take extra parameter and - use it to select the r_debug structure for that namespace. - * elf/dl-close.c (_dl_close): Adjust call to _dl_debug_initialize. - * elf/dl-load.c (_dl_map_object_from_fd): Likewise. - * elf/dl-open.c (_dl_open): Likewise. - * elf/rtld.c (dl_main): Likewise. - * sysdeps/generic/ldsodefs.h (struct link_namespaces): Add _ns_debug - member. - (_dl_debug_initialize): Add new parameter in declaration. - - * elf/dl-close.c (_dl_close): Make sure auditing callbacks are not - called for the auditing objects themselves. - * elf/dl-load.c (_dl_map_object_from_fd): Likewise. - -2005-01-07 Ulrich Drepper - - * sysdeps/powerpc/powerpc64/dl-machine.h - (elf_machine_runtime_setup): If profile != 0 does not anymore mean - GLRO(dl_profile) != NULL. - * sysdeps/powerpc/powerpc64/bits/link.h (struct la_ppc64_regs): Add - padding. - * sysdeps/powerpc/powerpc64/dl-trampoline.S: (_dl_profile_resolve): - Extend _dl_prof_resolve to add pass extra parameters to - _dl_profile_fixup and set up structure with register content. - - * sysdeps/powerpc/powerpc32/dl-machine.c (__elf_machine_runtime_setup): - If profile != 0 does not anymore mean GLRO(dl_profile) != NULL. - * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_prof_resolve): - Extend _dl_prof_resolve to add pass extra parameters to - _dl_profile_fixup and set up structure with register content. - * sysdeps/powerpc/powerpc32/bits/link.h: Fix types of some fields in - the register and result structures. - * sysdeps/powerpc/powerpc64/bits/link.h: Fix types of some fields - in the 32-bit register and result structures. - - * sysdeps/powerpc/powerpc64/dl-trampoline.S: Use register names. - - * sysdeps/powerpc/powerpc32/dl-trampoline.S: New file. - * sysdeps/powerpc/powerpc32/dl-machine.h: Remove trampoline code here. - Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT. - * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc32 variants. - * elf/tst-auditmod1.c: Add ppc32 support. - * sysdeps/powerpc/powerpc32/bits/link.h: New file. - * sysdeps/powerpc/powerpc64/bits/link.h: Add ppc32 definitions. - - * malloc/malloc.c (malloc_printerr): Print program name as part of - error message. - - * misc/sys/cdefs.h (__attribute_warn_unused_result__): Define. - * stdlib/stdlib.h: Make realloc with - __attribute_warn_unused_result__ instead of __wur. - * malloc/malloc.h: Add __wur and __attribute_warn_unused_result__ - markers as in . - - * libio/stdio.h: Remove __wur from rename and remove. - * posix/unistd.h: Remove __wur from dup2. - -2005-01-03 Andreas Jaeger - - * elf/Makefile (tests): Revert patch from 2005-01-03. - -2005-01-07 Ulrich Drepper - - * sysdeps/unix/sysv/linux/init-first.c (__libc_init_first): Don't - make __libc_init_first hidden. - - * elf/rtld.c [!DONT_USE_BOOTSTRAP_MAP] (_dl_start_final): Initialize - l_relocated of rtld map. - * sysdeps/powerpc/powerpc64/dl-trampoline.S: New file. - * sysdeps/powerpc/powerpc64/dl-machine.h: Remove trampoline code here. - Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT. - * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc64 variants. - * elf/tst-auditmod1.c: Add ppc64 support. - * sysdeps/powerpc/powerpc64/bits/link.h: New file. - -2005-01-06 Roland McGrath - - [BZ #633] - * sysdeps/unix/sysv/linux/futimes.c (__futimes): Catch errno values - indicating file-name lookup errors, and return ENOSYS or EBADF instead. - -2005-01-06 Ulrich Drepper - - * csu/elf-init.c (__libc_csu_fini): Don't do anything here. - * sysdeps/generic/libc-start.c: Don't register program destructor here. - - * dlfcn/Makefile: Add rules to build dlfcn.c. - (LDFLAGS-dl.so): Removed. - * dlfcn/dlclose.c: _dl_close is now in ld.so, use function pointer - table. - * dlfcn/dlmopen.c: Likewise for _dl_open. - * dlfcn/dlopen.c: Likewise. - * dlfcn/dlopenold.c: Likewise. - * elf/dl-libc.c: Likewise for _dl_open and _dl_close. - * elf/Makefile (routines): Remove dl-open and dl-close. - (dl-routines): Add dl-open, dl-close, and dl-trampoline. - Add rules to build and run tst-audit1. - * elf/tst-audit1.c: New file. - * elf/tst-auditmod1.c: New file. - * elf/Versions [libc]: Remove _dl_open and _dl_close. - * elf/dl-close.c: Change for use inside ld.so instead of libc.so. - * elf/dl-open.c: Likewise. - * elf/dl-debug.c (_dl_debug_initialize): Allow reinitialization, - signaled by nonzero parameter. - * elf/dl-init.c: Fix use of r_state. - * elf/dl-load.c: Likewise. - - * elf/dl-close.c: Add auditing checkpoints. - * elf/dl-open.c: Likewise. - * elf/dl-fini.c: Likewise. - * elf/dl-load.c: Likewise. - * elf/dl-sym.c: Likewise. - * sysdeps/generic/libc-start.c: Likewise. - * elf/dl-object.c: Allocate memory for auditing information. - * elf/dl-reloc.c: Remove RESOLV. We now always need the map. - Correctly initialize slotinfo. - * elf/dynamic-link.h: Adjust after removal of RESOLV. - * sysdeps/hppa/dl-lookupcfg.h: Likewise. - * sysdeps/ia64/dl-lookupcfg.h: Likewise. - * sysdeps/powerpc/powerpc64/dl-lookupcfg.h: Removed. - * elf/dl-runtime.c (_dl_fixup): Little cleanup. - (_dl_profile_fixup): New parameters to point to register struct and - variable for frame size. - Add auditing checkpoints. - (_dl_call_pltexit): New function. - Don't define trampoline code here. - * elf/rtld.c: Recognize LD_AUDIT. Load modules on startup. - Remove all the functions from _rtld_global_ro which only _dl_open - and _dl_close needed. - Add auditing checkpoints. - * elf/link.h: Define symbols for auditing interfaces. - * include/link.h: Likewise. - * include/dlfcn.h: Define __RTLD_AUDIT. - Remove prototypes for _dl_open and _dl_close. - Adjust access to argc and argv in libdl. - * dlfcn/dlfcn.c: New file. - * sysdeps/generic/dl-lookupcfg.h: Remove all content now that RESOLVE - is gone. - * sysdeps/generic/ldsodefs.h: Add definitions for auditing interfaces. - * sysdeps/generic/unsecvars.h: Add LD_AUDIT. - * sysdeps/i386/dl-machine.h: Remove trampoline code here. - Adjust for removal of RESOLVE. - * sysdeps/x86_64/dl-machine.h: Likewise. - * sysdeps/generic/dl-trampoline.c: New file. - * sysdeps/i386/dl-trampoline.c: New file. - * sysdeps/x86_64/dl-trampoline.c: New file. - - * sysdeps/generic/dl-tls.c: Cleanups. Fixup for dtv_t change. - Fix updating of DTV. - * sysdeps/generic/libc-tls.c: Likewise. - - * sysdeps/arm/bits/link.h: Renamed to ... - * sysdeps/arm/bits/linkmap.h: ...this. - * sysdeps/generic/bits/link.h: Renamed to... - * sysdeps/generic/bits/linkmap.h: ...this. - * sysdeps/hppa/bits/link.h: Renamed to... - * sysdeps/hppa/bits/linkmap.h: ...this. - * sysdeps/i386/bits/link.h: Renamed to... - * sysdeps/i386/bits/linkmap.h: ...this. - * sysdeps/ia64/bits/link.h: Renamed to... - * sysdeps/ia64/bits/linkmap.h: ...this. - * sysdeps/s390/bits/link.h: Renamed to... - * sysdeps/s390/bits/linkmap.h: ...this. - * sysdeps/sh/bits/link.h: Renamed to... - * sysdeps/sh/bits/linkmap.h: ...this. - * sysdeps/x86_64/bits/link.h: Renamed to... - * sysdeps/x86_64/bits/linkmap.h: ...this. - - * posix/unistd.h: Declare ftruncate for POSIX 2003. [BZ #640] - -2004-12-22 Steven Munroe - - [BZ #602] - * math/libm-test.inc (rint_test_tonearest): New test. - (rint_test_towardzero): New test. - (rint_test_downward): New test. - (rint_test_upward): New test. - * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Fix -0.0 case. - Remove redundant const values. - * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Fix -0.0 case. - Remove redundant const values. Use float const. - * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Fix -0.0 case. - * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Fix -0.0 case. - Use float const. - * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Fix -0.0 case. - * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Fix -0.0 case. - Use float const. - * sysdeps/powerpc/powerpc32/fpu/s_round.S: Fix -0.0 case. - Remove redundant const values. - * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Fix -0.0 case. - Remove redundant const values. Use float const. - * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Fix -0.0 case. - Remove redundant const values. - * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Fix -0.0 case. - Remove redundant const values. Use float const. - * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Use EALIGN for Quadword - alignment. Fix -0.0 case. Remove redundant const values. - * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Use EALIGN for Quadword - alignment. Fix -0.0 case. Remove redundant const values. - Use float const. - * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Use EALIGN for Quadword - alignment. Fix -0.0 case. - * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Use EALIGN for Quadword - alignment. Fix -0.0 case. Use float const. - * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Use EALIGN for Quadword - alignment. Fix -0.0 case. - * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Use EALIGN for Quadword - alignment. Fix -0.0 case. Use float const. - * sysdeps/powerpc/powerpc64/fpu/s_round.S: Use EALIGN for Quadword - alignment. Fix -0.0 case. Remove redundant const values. - * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Use EALIGN for Quadword - alignment. Fix -0.0 case. Remove redundant const values. - Use float const. - * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Use EALIGN for Quadword - alignment. Fix -0.0 case. - * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Use EALIGN for Quadword - alignment. Fix -0.0 case. Remove redundant const values. - Use float const. - -2005-01-06 Ulrich Drepper - - * misc/sys/cdefs.h: Define __wur. - * libio/stdio.h: Use __wur for a number of interfaces. - * posix/unistd.h: Likewise. - * stdlib/stdlib.h: Likewise. - -2004-12-29 Jakub Jelinek - - [BZ #592] - * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Use - libc_hidden_proto instead of HIDDEN_PROTO. - * sysdeps/ia64/fpu/libm-symbols.h (HIDDEN_PROTO): Remove. - (__libm_error_support): If ASSEMBLER and in libc, define to - HIDDEN_JUMPTARGET(__libm_error_support). - -2004-12-28 David Mosberger - - [BZ #592] - * sysdeps/ia64/fpu/Makefile (duplicated-routines): New macro. - (sysdep_routines): Replace libm_ldexp{,f,l} and libm_scalbn{,f,l} - with $(duplicated-routines). - (libm-sysdep_routines): Likewise, but substitute "s_" prefix for - "m_" prefix. - -2004-12-27 David Mosberger - - [BZ #592] - * sysdeps/ia64/fpu/libm-symbols.h: Add include of and - undefine "ret" macro. Add __libm_error_support hidden definitions. - - [BZ #592] - * sysdeps/ia64/fpu/e_lgamma_r.c: Remove CVS-id comment. Add - missing portion of copyright statement. - * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise. - * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise. - - [BZ #592] - * sysdeps/ia64/fpu/w_lgamma.c: Remove CVS-id comment. Add - missing portion of copyright statement. - (__ieee754_lgamma): Rename from lgamma(). Make lgamma() a weak alias. - (__ieee754_gamma): Likewise. - * sysdeps/ia64/fpu/w_lgammaf.c: Likewise. - * sysdeps/ia64/fpu/w_lgammal.c: Likewise. - -2004-12-09 H.J. Lu - - [BZ #592] - * sysdeps/ia64/fpu/s_nextafterl.c: Remove. - * sysdeps/ia64/fpu/s_nexttoward.c: Likewise. - * sysdeps/ia64/fpu/s_nexttowardf.c: Likewise. - * sysdeps/ia64/fpu/e_atan2l.S: Remove (duplicate of e_atan2l.c). - * sysdeps/ia64/fpu/e_expl.S: Likewise. - * sysdeps/ia64/fpu/e_logl.c: Remove (conflicts with e_logl.S). - -2004-11-18 David Mosberger - - [BZ #592] - * sysdeps/ia64/fpu/README: New file. - * sysdeps/ia64/fpu/gen_import_file_list: New file. - * sysdeps/ia64/fpu/import_check: Likewise. - * sysdeps/ia64/fpu/import_diffs: Likewise. - * sysdeps/ia64/fpu/import_file.awk: Likewise. - * sysdeps/ia64/fpu/import_intel_libm: Likewise. - * sysdeps/ia64/fpu/libm-symbols.h: Likewise. - - [BZ #592] - * sysdeps/ia64/fpu/e_acos.S: Update from Intel libm v2.1+. - * sysdeps/ia64/fpu/e_acosf.S: Likewise. - * sysdeps/ia64/fpu/e_acosl.S: Likewise. - * sysdeps/ia64/fpu/e_asin.S: Likewise. - * sysdeps/ia64/fpu/e_asinf.S: Likewise. - * sysdeps/ia64/fpu/e_asinl.S: Likewise. - * sysdeps/ia64/fpu/e_atan2.S: Likewise. - * sysdeps/ia64/fpu/e_atan2f.S: Likewise. - * sysdeps/ia64/fpu/e_cosh.S: Likewise. - * sysdeps/ia64/fpu/e_coshf.S: Likewise. - * sysdeps/ia64/fpu/e_coshl.S: Likewise. - * sysdeps/ia64/fpu/e_exp.S: Likewise. - * sysdeps/ia64/fpu/e_expf.S: Likewise. - * sysdeps/ia64/fpu/e_fmod.S: Likewise. - * sysdeps/ia64/fpu/e_fmodf.S: Likewise. - * sysdeps/ia64/fpu/e_fmodl.S: Likewise. - * sysdeps/ia64/fpu/e_hypot.S: Likewise. - * sysdeps/ia64/fpu/e_hypotf.S: Likewise. - * sysdeps/ia64/fpu/e_hypotl.S: Likewise. - * sysdeps/ia64/fpu/e_log.S: Likewise. - * sysdeps/ia64/fpu/e_log2.S: Likewise. - * sysdeps/ia64/fpu/e_log2f.S: Likewise. - * sysdeps/ia64/fpu/e_log2l.S: Likewise. - * sysdeps/ia64/fpu/e_logf.S: Likewise. - * sysdeps/ia64/fpu/e_pow.S: Likewise. - * sysdeps/ia64/fpu/e_powf.S: Likewise. - * sysdeps/ia64/fpu/e_powl.S: Likewise. - * sysdeps/ia64/fpu/e_remainder.S: Likewise. - * sysdeps/ia64/fpu/e_remainderf.S: Likewise. - * sysdeps/ia64/fpu/e_remainderl.S: Likewise. - * sysdeps/ia64/fpu/e_scalb.S: Likewise. - * sysdeps/ia64/fpu/e_scalbf.S: Likewise. - * sysdeps/ia64/fpu/e_scalbl.S: Likewise. - * sysdeps/ia64/fpu/e_sinh.S: Likewise. - * sysdeps/ia64/fpu/e_sinhf.S: Likewise. - * sysdeps/ia64/fpu/e_sinhl.S: Likewise. - * sysdeps/ia64/fpu/e_sqrt.S: Likewise. - * sysdeps/ia64/fpu/e_sqrtf.S: Likewise. - * sysdeps/ia64/fpu/e_sqrtl.S: Likewise. - * sysdeps/ia64/fpu/libm_error.c: Likewise. - * sysdeps/ia64/fpu/libm_reduce.c: Likewise. - * sysdeps/ia64/fpu/libm_support.h: Likewise. - * sysdeps/ia64/fpu/s_atan.S: Likewise. - * sysdeps/ia64/fpu/s_atanf.S: Likewise. - * sysdeps/ia64/fpu/s_atanl.S: Likewise. - * sysdeps/ia64/fpu/s_cbrt.S: Likewise. - * sysdeps/ia64/fpu/s_cbrtf.S: Likewise. - * sysdeps/ia64/fpu/s_cbrtl.S: Likewise. - * sysdeps/ia64/fpu/s_ceil.S: Likewise. - * sysdeps/ia64/fpu/s_ceilf.S: Likewise. - * sysdeps/ia64/fpu/s_ceill.S: Likewise. - * sysdeps/ia64/fpu/s_cos.S: Likewise. - * sysdeps/ia64/fpu/s_cosf.S: Likewise. - * sysdeps/ia64/fpu/s_cosl.S: Likewise. - * sysdeps/ia64/fpu/s_expm1.S: Likewise. - * sysdeps/ia64/fpu/s_expm1f.S: Likewise. - * sysdeps/ia64/fpu/s_expm1l.S: Likewise. - * sysdeps/ia64/fpu/s_fabs.S: Likewise. - * sysdeps/ia64/fpu/s_fabsf.S: Likewise. - * sysdeps/ia64/fpu/s_fabsl.S: Likewise. - * sysdeps/ia64/fpu/s_floor.S: Likewise. - * sysdeps/ia64/fpu/s_floorf.S: Likewise. - * sysdeps/ia64/fpu/s_floorl.S: Likewise. - * sysdeps/ia64/fpu/s_frexp.c: Likewise. - * sysdeps/ia64/fpu/s_frexpf.c: Likewise. - * sysdeps/ia64/fpu/s_frexpl.c: Likewise. - * sysdeps/ia64/fpu/s_ilogb.S: Likewise. - * sysdeps/ia64/fpu/s_ilogbf.S: Likewise. - * sysdeps/ia64/fpu/s_ilogbl.S: Likewise. - * sysdeps/ia64/fpu/s_log1p.S: Likewise. - * sysdeps/ia64/fpu/s_log1pf.S: Likewise. - * sysdeps/ia64/fpu/s_log1pl.S: Likewise. - * sysdeps/ia64/fpu/s_logb.S: Likewise. - * sysdeps/ia64/fpu/s_logbf.S: Likewise. - * sysdeps/ia64/fpu/s_logbl.S: Likewise. - * sysdeps/ia64/fpu/s_modf.S: Likewise. - * sysdeps/ia64/fpu/s_modff.S: Likewise. - * sysdeps/ia64/fpu/s_modfl.S: Likewise. - * sysdeps/ia64/fpu/s_nearbyint.S: Likewise. - * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise. - * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise. - * sysdeps/ia64/fpu/s_rint.S: Likewise. - * sysdeps/ia64/fpu/s_rintf.S: Likewise. - * sysdeps/ia64/fpu/s_rintl.S: Likewise. - * sysdeps/ia64/fpu/s_round.S: Likewise. - * sysdeps/ia64/fpu/s_roundf.S: Likewise. - * sysdeps/ia64/fpu/s_roundl.S: Likewise. - * sysdeps/ia64/fpu/s_significand.S: Likewise. - * sysdeps/ia64/fpu/s_significandf.S: Likewise. - * sysdeps/ia64/fpu/s_significandl.S: Likewise. - * sysdeps/ia64/fpu/s_tan.S: Likewise. - * sysdeps/ia64/fpu/s_tanf.S: Likewise. - * sysdeps/ia64/fpu/s_tanl.S: Likewise. - * sysdeps/ia64/fpu/s_trunc.S: Likewise. - * sysdeps/ia64/fpu/s_truncf.S: Likewise. - * sysdeps/ia64/fpu/s_truncl.S: Likewise. - - [BZ #592] - * sysdeps/ia64/fpu/e_acosh.S: New file from Intel libm v2.1+. - * sysdeps/ia64/fpu/e_acoshf.S: Likewise. - * sysdeps/ia64/fpu/e_acoshl.S: Likewise. - * sysdeps/ia64/fpu/e_atanh.S: Likewise. - * sysdeps/ia64/fpu/e_atanhf.S: Likewise. - * sysdeps/ia64/fpu/e_atanhl.S: Likewise. - * sysdeps/ia64/fpu/e_exp10.S: Likewise. - * sysdeps/ia64/fpu/e_exp10f.S: Likewise. - * sysdeps/ia64/fpu/e_exp10l.S: Likewise. - * sysdeps/ia64/fpu/e_exp2.S: Likewise. - * sysdeps/ia64/fpu/e_exp2f.S: Likewise. - * sysdeps/ia64/fpu/e_exp2l.S: Likewise. - * sysdeps/ia64/fpu/e_lgamma_r.S: Likewise. - * sysdeps/ia64/fpu/e_lgammaf_r.S: Likewise. - * sysdeps/ia64/fpu/e_lgammal_r.S: Likewise. - * sysdeps/ia64/fpu/e_logl.S: Likewise. - * sysdeps/ia64/fpu/libm_frexp.S: Likewise. - * sysdeps/ia64/fpu/libm_frexpf.S: Likewise. - * sysdeps/ia64/fpu/libm_frexpl.S: Likewise. - * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise. - * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise. - * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise. - * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise. - * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise. - * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise. - * sysdeps/ia64/fpu/libm_lgamma.S: Likewise. - * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise. - * sysdeps/ia64/fpu/libm_lgammal.S: Likewise. - * sysdeps/ia64/fpu/libm_sincos.S: Likewise. - * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise. - * sysdeps/ia64/fpu/libm_sincosf.S: Likewise. - * sysdeps/ia64/fpu/libm_sincosl.S: Likewise. - * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise. - * sysdeps/ia64/fpu/s_asinh.S: Likewise. - * sysdeps/ia64/fpu/s_asinhf.S: Likewise. - * sysdeps/ia64/fpu/s_asinhl.S: Likewise. - * sysdeps/ia64/fpu/s_erf.S: Likewise. - * sysdeps/ia64/fpu/s_erfc.S: Likewise. - * sysdeps/ia64/fpu/s_erfcf.S: Likewise. - * sysdeps/ia64/fpu/s_erfcl.S: Likewise. - * sysdeps/ia64/fpu/s_erff.S: Likewise. - * sysdeps/ia64/fpu/s_erfl.S: Likewise. - * sysdeps/ia64/fpu/s_fdim.S: Likewise. - * sysdeps/ia64/fpu/s_fdimf.S: Likewise. - * sysdeps/ia64/fpu/s_fdiml.S: Likewise. - * sysdeps/ia64/fpu/s_fma.S: Likewise. - * sysdeps/ia64/fpu/s_fmaf.S: Likewise. - * sysdeps/ia64/fpu/s_fmal.S: Likewise. - * sysdeps/ia64/fpu/s_fmax.S: Likewise. - * sysdeps/ia64/fpu/s_fmaxf.S: Likewise. - * sysdeps/ia64/fpu/s_fmaxl.S: Likewise. - * sysdeps/ia64/fpu/s_ldexp.c: Likewise. - * sysdeps/ia64/fpu/s_ldexpf.c: Likewise. - * sysdeps/ia64/fpu/s_ldexpl.c: Likewise. - * sysdeps/ia64/fpu/s_nextafter.S: Likewise. - * sysdeps/ia64/fpu/s_nextafterf.S: Likewise. - * sysdeps/ia64/fpu/s_nextafterl.S: Likewise. - * sysdeps/ia64/fpu/s_nexttoward.S: Likewise. - * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise. - * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise. - * sysdeps/ia64/fpu/s_tanh.S: Likewise. - * sysdeps/ia64/fpu/s_tanhf.S: Likewise. - * sysdeps/ia64/fpu/s_tanhl.S: Likewise. - * sysdeps/ia64/fpu/s_scalblnf.c: Likewise. - * sysdeps/ia64/fpu/w_lgamma.c: Likewise. - * sysdeps/ia64/fpu/w_lgammaf.c: Likewise. - * sysdeps/ia64/fpu/w_lgammal.c: Likewise. - * sysdeps/ia64/fpu/w_tgamma.S: Likewise. - * sysdeps/ia64/fpu/w_tgammaf.S: Likewise. - * sysdeps/ia64/fpu/w_tgammal.S: Likewise. - - [BZ #592] - * sysdeps/ia64/fpu/e_gamma_r.c: New empty dummy-file. - * sysdeps/ia64/fpu/e_gammaf_r.c: Likewise. - * sysdeps/ia64/fpu/e_gammal_r.c: Likewise. - * sysdeps/ia64/fpu/w_acosh.c: Likewise. - * sysdeps/ia64/fpu/w_acoshf.c: Likewise. - * sysdeps/ia64/fpu/w_acoshl.c: Likewise. - * sysdeps/ia64/fpu/w_atanh.c: Likewise. - * sysdeps/ia64/fpu/w_atanhf.c: Likewise. - * sysdeps/ia64/fpu/w_atanhl.c: Likewise. - * sysdeps/ia64/fpu/w_exp10.c: Likewise. - * sysdeps/ia64/fpu/w_exp10f.c: Likewise. - * sysdeps/ia64/fpu/w_exp10l.c: Likewise. - * sysdeps/ia64/fpu/w_exp2.c: Likewise. - * sysdeps/ia64/fpu/w_exp2f.c: Likewise. - * sysdeps/ia64/fpu/w_exp2l.c: Likewise. - * sysdeps/ia64/fpu/w_expl.c: Likewise. - * sysdeps/ia64/fpu/e_expl.S: Likewise. - * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise. - * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise. - * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise. - * sysdeps/ia64/fpu/w_log2.c: Likewise. - * sysdeps/ia64/fpu/w_log2f.c: Likewise. - * sysdeps/ia64/fpu/w_log2l.c: Likewise. - * sysdeps/ia64/fpu/w_sinh.c: Likewise. - * sysdeps/ia64/fpu/w_sinhf.c: Likewise. - * sysdeps/ia64/fpu/w_sinhl.c: Likewise. - - [BZ #592] - * sysdeps/ia64/fpu/libm_atan2_reg.S: Remove. - * sysdeps/ia64/fpu/s_ldexp.S: Likewise. - * sysdeps/ia64/fpu/s_ldexpf.S: Likewise. - * sysdeps/ia64/fpu/s_ldexpl.S: Likewise. - * sysdeps/ia64/fpu/s_scalbn.S: Likewise. - * sysdeps/ia64/fpu/s_scalbnf.S: Likewise. - * sysdeps/ia64/fpu/s_scalbnl.S: Likewise. - - [BZ #592] - * sysdeps/ia64/fpu/s_sincos.c: Make it an empty dummy-file. - * sysdeps/ia64/fpu/s_sincosf.c: Likewise. - * sysdeps/ia64/fpu/s_sincosl.c: Likewise. - - [BZ #592] - * sysdeps/ia64/fpu/e_atan2l.S: Add "Not needed" comment. - - [BZ #592] - * sysdeps/ia64/fpu/s_copysign.S: Add __libm_copysign{,f,l} - alias for use by libm_error.c - - [BZ #592] - * sysdeps/ia64/fpu/Makefile (libm-sysdep_routines): Remove - libm_atan2_reg, libm_tan, libm_frexp4{f,l}. - Mention s_erfc{,f,l}, libm_frexp{,f,l}, libm_ldexp{,f,l}, - libm_sincos{,f,l}, libm_sincos_large, libm_lgamma{,f,l}, - libm_scalbn{,f,l}, libm_scalblnf. - (sysdep_routines): Remove libm_frexp4{,f,l}. - Mention libm_frexp{,f,l}, libm_ldexp{,f,l}, and libm_scalbn{,f,l}. - (sysdep-CPPFLAGS): Add -include libm-symbols.h, -D__POSIX__, - _D_LIB_VERSIONIMF=_LIB_VERSION, -DSIZE_LONG_INT_64, and - -DSIZE_LONG_LONG_INT_64. - -2005-01-05 Steven Munroe - - [BZ #729] - * elf/rtld.c (dl_main) [NEED_DL_SYSINFO_DSO]: Insure l_map_end and - l_text_end are set for a VDSO with a single PT_LOAD entry. - -2005-01-05 Ulrich Drepper - - [BZ #730] - * libio/iofopncook.c (_IO_cookie_seekoff): Define. Mark offset as - invalid to disable optimizations in fileops which won't work here. - (_IO_cookie_jumps): Use it. - (_IO_old_cookie_jumps): Likewise. - * libio/fmemopen.c (fmemopen_seek): Result must be returned in *P, - not the return value. - * stdio-common/Makefile (tests): Add tst-fmemopen2. - * stdio-common/tst-fmemopen2.c: New file. - - * sysdeps/unix/sysv/linux/bits/waitflags.h: Define __WNOTHREAD. - -2005-01-05 Roland McGrath - - * configure.in (libc_cv_cpp_asm_debuginfo): Checked moved ... - * sysdeps/i386/configure.in: ... here. New file. - -2005-01-03 Ulrich Drepper - - [BZ #727] - * sysdeps/generic/libc-start.c [SHARED] (__libc_start_main): Don't - initialize __environ again. - * stdlib/Makefile: Add rules to build and run tst-putenv. - * stdlib/tst-putenv.c: New file. - * stdlib/tst-putenvmod.c: New file. - - * sysdeps/unix/sysv/linux/init-first.c: Clean file up. Don't - define unnecessary wrappers or aliases of static functions. - -2005-01-03 Andreas Jaeger - - * csu/Makefile (generated): Add start.os and start.ob. - - * elf/Makefile (tests): Change rule for tst-pie1 so that make - clean works. - -2004-12-29 Roland McGrath - - [BZ #626] - * sysdeps/unix/alarm.c (alarm): Round return value to nearest rather - than always up; when nearest is zero, round up to one. - -2004-12-28 Ulrich Drepper - - * po/es.po: Update from translation team. - - [BZ #726] - * sysdeps/generic/dl-tls.c (__tls_get_addr): Fix typo. - -2004-12-27 Ulrich Drepper - - [BZ #744] - * include/signal.h: Define __sigemptyset. - -2004-04-27 Paolo Bonzini - - * posix/regex_internal.h (struct re_dfastate_t): Make - word_trtable a pointer to the 512-item transition table. - * posix/regexec.c (build_trtable): Fill in either state->trtable - or state->word_trtable. Return a boolean indicating success. - (transit_state): Expect state->trtable to be a 256-item - transition table. Reorganize code to have less tests in - the common case, and to save an indentation level. - * posix/regex_internal.c (free_state): Free word_trtable. - -2004-12-21 Jakub Jelinek - - [BZ #723] - * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Make sure %esp when - calling fn is 16 byte aligned. - * sysdeps/i386/tst-stack-align.h: New file. - - [BZ #725] - * misc/efgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define. - (ecvt_r): Special case denormals. - * misc/qefgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define. - * misc/tst-efgcvt.c: Include float.h. - (ecvt_tests): Add 2 new tests. - -2004-12-20 Roland McGrath - - * version.h (RELEASE, VERSION): development, 2.3.90 - * include/features.h (__GLIBC_MINOR__): Now 4. - - -See ChangeLog.15 for earlier changes. +See ChangeLog.14 for earlier changes. diff --git a/ChangeLog.17 b/ChangeLog.17 index 92f9739680..292d3d169a 100644 --- a/ChangeLog.17 +++ b/ChangeLog.17 @@ -1,3471 +1,1457 @@ -2010-05-04 Andreas Schwab +2006-05-03 Ulrich Drepper - * posix/regexec.c (find_collation_sequence_value): Fix skipping - the wide char sequence of the collating element. + * sysdeps/posix/getaddrinfo.c: Implement configuration file + handling. /etc/gai.conf can contain replacements for the label + and precedence table. Fix byte order of default label and + precedence table. + * posix/gai.conf: New file. + * posix/tst-rfc3484.c: Adjust for changes to getaddrinfo.c. + * posix/tst-rfc3484-2.c: Likewise. -2010-05-05 Ulrich Drepper +2006-05-02 Ulrich Drepper - [BZ #11571] - * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle - too small buffers according to the standard. + [BZ #1201] + * posix/regex.h: g++ still cannot handled [restrict]. - * sysdeps/unix/sysv/linux/kernel-features.h: Alpha doesn't have to be - handled here anymore. - Patch mostly by Matt Turner . + [BZ #2509] + * stdio-common/vfprintf.c (process_arg): Fix reading of signed + short and byte values from parameter list. + * stdio-common/tst-printf.c (main): Add more tests. + * stdio-common/tst-printf.sh: Adjust for tst-printf.c change. -2010-05-03 Ulrich Drepper + * iconvdata/testdate/MIK: Fix format to match expected output. - * version.h (VERSION): Bump for 2.12 release. - * include/features.h (__GLIBC_MINOR__): Bump to 12. + [BZ #2632] + * nscd/connections.c (nscd_init): Correct initialization of + in-memory database structure. - [BZ #11149] - * elf/ldconfig.c (search_dir): Fix handling of symlinks in chroot. +2006-05-02 Thorsten Kukuk - * elf/chroot_canon.c (chroot_canon): Use xmalloc and xrealloc. - - * elf/ldconfig.c (parse_conf_include): Don't fall back to - directories named in config file outside the chroot. - -2010-02-02 Andreas Schwab - - * sysdeps/generic/ldsodefs.h (struct rtld_global): Add - _dl_load_write_lock. - * elf/rtld.c (_rtld_global): Initialize it. - * elf/dl-support.c (_dl_load_write_lock): Define . - * elf/dl-close.c (_dl_close_worker): Lock GL(dl_load_write_lock) - when modifying the list of loaded objects. - * elf/dl-load.c (lose): Likewise. - * elf/dl-object.c (_dl_new_object): Likewise. - * elf/dl-iteratephdr.c (__dl_iterate_phdr): Lock - GL(dl_load_write_lock) instead of GL(dl_load_lock). - -2010-05-03 Ulrich Drepper - - * elf/dl-iteratephdr.c (__dl_iterate_phdr): Remove unnecessary - assignment. - -2010-05-02 Ulrich Drepper - - * misc/mntent_r.c (encode_name): The slow loop handles newlines so we - should recognize them as an abort condition. - Patch by Jan Lieskovsky . - -2010-04-25 Bruno Haible - - [BZ #11538] - * sysdeps/unix/bsd/ptsname.c (__ptsname_r): Use __ttyname_r's return - value instead of errno. - * sysdeps/unix/getlogin.c (getlogin): Likewise. - - [BZ #11537] - * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Upon failure, return - errno, not -1. - -2010-04-24 Emilio Pozuelo Monfort - - * hurd/lookup-at.c (__file_name_lookup_at): Fix error return value. - -2010-04-22 Ulrich Drepper - - * po/vi.po: Update from translation team. - -2010-04-21 Ulrich Drepper - - * po/bg.po: Update from translation team. - -2010-04-19 Roland McGrath - - * elf/Makefile ($(objpfx)noload): Depend on libdl.so. - - * Makeconfig (as-needed, no-as-needed): New variables. - (link-libc): Add ld.so inside --as-needed. - - * stdio-common/tst-fmemopen.c (TEST_FILE): Macro removed. - (main): Take arguments. Construct test file name from ARGV[0]. - -2010-04-15 H.J. Lu - - * string/test-strncmp.c (check_result): New function. - (do_one_test): Use it. - (check1): New function. - (test_main): Use it. - * sysdeps/i386/i686/multiarch/strcmp-sse4.S (crosspage): Properly - update source and destination. - * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (gobble_ashr_12): - Properly check and update counter. - -2010-04-14 H.J. Lu - - * sysdeps/x86_64/elf/configure.in: Move AVX test to .... - * sysdeps/i386/configure.in: ...here. - * sysdeps/i386/i686/multiarch/Makefile (libm-sysdep_routines): Define. - (CFLAGS-s_fma-fma.c): Define. - (CFLAGS-s_fmaf-fma.c): Define. - * sysdeps/i386/i686/multiarch/Versions: New file. - * sysdeps/i386/i686/multiarch/s_fma-fma.c: New file. - * sysdeps/i386/i686/multiarch/s_fma.c: New file. - * sysdeps/i386/i686/multiarch/s_fmaf-fma.c: New file. - * sysdeps/i386/i686/multiarch/s_fmaf.c: New file. - - * sysdeps/x86_64/multiarch/memcmp-sse4.S: Check - DATA_CACHE_SIZE_HALF instead of SHARED_CACHE_SIZE_HALF. - -2010-04-14 Andreas Schwab - - * elf/dl-version.c (_dl_check_map_versions): Avoid index overflow - when dependencies are missing. - -2010-04-14 H.J. Lu - - * sysdeps/x86_64/multiarch/memcmp-sse4.S: Optimized for unaligned - data. - -2010-04-12 H.J. Lu - - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add - memcmp-sse4. - * sysdeps/x86_64/multiarch/memcmp-sse4.S: New file. - * sysdeps/x86_64/multiarch/memcmp.S: New file. - * sysdeps/x86_64/multiarch/rtld-memcmp.c: New file. - -2010-04-13 Ulrich Drepper - - * sysdeps/x86_64/multiarch/init-arch.h: Pretty printing. - Add SSE 4.1 macros. - -2010-04-10 Matt Fleming - - * elf/elf.h: Add SH specific ELF header flags. - -2010-04-13 Andreas Schwab - - * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Fix setup of - overflow area. - * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Likewise. - -2010-04-12 Andreas Schwab - - * stdlib/tst-makecontext3.c (main): Initialize ucontext_t objects - only with getcontext. Test for unimplemented makecontext by - checking errno. - -2010-04-09 Ulrich Drepper - - * nscd/aicache.c (addhstaiX): Correct passing memory to address - list to gethostbyname4_r functions. - - * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Optimize - copying of h_name. - -2010-04-09 Roland McGrath - - * Makerules ($(common-objpfx)libc-abis.h): Depend on libc-abis.stamp. - ($(common-objpfx)libc-abis.stamp): New target, rule moved from - libc-abis.h target. Use a stamp file to avoid repeating no-op - move-if-change on every run. - - * posix/Makefile (tst-chmod-ARGS): Pass $(objdir), not `pwd`. - -2010-04-08 Ulrich Drepper - - [BZ #10915] - * nscd/nscd_stat.c (struct statdata): Add reload_count field. - (send_stats): Fill in reload_count. - (receive_print_stats): Print reload_count. - - * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): When - reading the loginuid file use a buffer which is always large enough. - NUL-terminate the string. - - * malloc/malloc.c (_int_malloc): Return NULL if printing error message - returns. - -2010-04-07 Andreas Schwab - - * sysdeps/unix/sysv/linux/i386/fallocate.c: Set errno on error. - * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise. - -2010-04-08 Andreas Jaeger - - [BZ #10401] - * math/s_cprojl.c (__cprojl): Fix implementation to follow C99 - standard. - * math/s_cprojf.c (__cprojf): Likewise. - * math/s_cproj.c (__cproj): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise. - * math/libm-test.inc (cproj_test): Fix test. - -2010-04-08 Roland McGrath - - * Makerules (libc-abis): Variable removed. - ($(common-objpfx)libc-abis.h): Depend on Makerules too. - Use automatic variables in commands. - Depend on first libc-abis from $(sysdirs) or $(..). - -2010-04-07 Ulrich Drepper - - * posix/bug-getopt1.c: New file. - * posix/bug-getopt2.c: New file. - * posix/bug-getopt3.c: New file. - * posix/bug-getopt4.c: New file. - * posix/bug-getopt5.c: New file. - -2009-12-01 Eric Blake - - [BZ #11039] - * posix/getopt.c (_getopt_internal_r): Skip optional - or + before - checking lead byte of optstring for :. - - [BZ #11040] - * posix/getopt.c (_getopt_internal_r): Reject '-;' as short - option, since it conflicts with "W;" optstring extension. - -2009-12-02 Eric Blake - - [BZ #11041] - * posix/getopt.c (_getopt_internal_r): Handle '-Wfoo' identically - to '--foo', with optional argument or non-ambiguous prefix. - -2010-04-07 Ulrich Drepper - - [BZ #11134] - * nis/libnsl.h (NSS_FLAG_ADJUNCT_AS_SHADOW): Define. - * nis/nss: Document new ADJUNCT_AS_SHADOW variable. - * nis/nss-default.c: Handle ADJUNCT_AS_SHADOW variable. - * nis/nss_nis/nis-pwd.c (internal_nis_endpwent): Minor cleanups. - (internal_nis_getpwent_r): Don't fill in password from adjunct table - if NSS_FLAG_ADJUNCT_AS_SHADOW is set. - (_nss_nis_getpwnam_r): Likewise. - (_nss_nis_getpwuid_r): Likewise. - * nis/nss_nis/nis-spwd.c (ent_adjunct_used): New global variable. - (_nss_nis_setspent): Also reset ent_adjunct_used. - (internal_nis_getspent_r): If new_start is set and shadow.byname table - does not exist and NSS_FLAG_ADJUNCT_AS_SHADOW is set, try to get - passwd.adjunct.byname table. If new_start is not set get next entry - from the initially used table. Synthesize shadow.byname table if - necessary by adding two empty fields. - (_nss_nis_getspnam_r): If shadow.byname table does not exist and - NSS_FLAG_ADJUNCT_AS_SHADOW is set, try to get passwd.adjunct.byname - table and synthesize shadow.byname table. - -2010-04-06 H.J. Lu - - * Makerules (libc-abis): Add $(..) to libc-abis. - -2010-04-06 Joseph Myers - - * Makerules (libc-abis): Fix search for libc-abis in add-ons. - -2010-04-05 Thomas Schwinge - - * sysdeps/gnu/unwind-resume.c: New, moved from nptl/sysdeps/pthread/. - * sysdeps/gnu/rt-unwind-resume.c: Likewise. - * sysdeps/gnu/Makefile: Add sections for csu and rt subdirs to - build unwind-resume code, previously in nptl/sysdeps/pthread/Makefile. - -2010-04-05 Roland McGrath - - * elf/dl-cache.c (_dl_load_cache_lookup): Obey dl_hwcap_mask. - - * elf/dl-support.c (_dl_hwcap_mask): New variable. - - * elf/rtld.c (dl_main) [HAVE_AUX_VECTOR]: Add a cast. - -2010-03-30 Paul Pluzhnikov - - * Makeconfig: Propagate -fdebug-prefix-map from CFLAGS to ASFLAGS. - -2010-03-30 Joseph Myers - - * elf/elf.h (ELFOSABI_ARM_AEABI): Define. - -2010-04-05 Ulrich Drepper - - * po/nl.po: Update from translation team. - - [BZ #11010] - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Handle - timeouts from servers. - - [BZ #11149] - * elf/ldconfig.c (main): Respect chroot setting when looking for - the aux cache. - -2010-04-04 Ulrich Drepper - - [BZ #11043] - * posix/getopt.c (_getopt_internal_r): Fix arguments printed in error - messages. - - [BZ #11070] - * resolv/netdb.h: Declare iruserok and iruserok_af. - - * argp/Makefile: Add rules to build and run bug-argp2. - * argp/bug-argp2.c: New file. - -2010-02-05 Sergey Poznyakoff - - [BZ #11254] - * argp/argp-parse.c (convert_options): Fix improper use of `|' - between character values. - -2010-04-04 Ulrich Drepper - - [BZ #11276] - * sysdeps/posix/remove.c (IS_NO_DIRECTORY_ERROR): Define. - (remove): Use IS_NO_DIRECTORY_ERROR to check for file being no - directory. - * sysdeps/unix/sysv/linux/remove.c: New file. - - * conform/data/sys/stat.h-data: Fix testing of S_IS* macros. - - [BZ #11279] - * io/sys/stat.h: Always define S_ISSOCK for XPG6 and up. - - [BZ #11287] - * csu/Makefile ($(objpfx)version-info.h): Handle newer kernel headers - which don't define UTS_RELEASE. - -2010-04-04 H.J. Lu - Ulrich Drepper - - [BZ #11292] - * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Allow - concurrent initialization and use of __cpu_features. - -2010-04-04 Ulrich Drepper - - * sysdeps/x86_64/multiarch/init-arch.h (cpu_features): Add tag to - the enum. - -2010-04-03 Ulrich Drepper - - [BZ #11333] - * sysdeps/unix/readdir_r.c (__READDIR_R): Add support for platforms - which include unnecessary padding in d_reclen. - * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Select work-around for - unnecessary padding. - - [BZ #11387] - * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlin): Don't abort on - unknown interface, return -1. - (getifaddrs_internal): Rename from getifaddrs. Handle errors in - map_newlink be returning -EAGAIN. - (getifaddrs): If -EAGAIN is returned from getifaddrs_internal try - again. - -2010-03-25 Ryan S. Arnold - - * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Remove - redundant and incorrect else block which overwrites current line - with the partial next line. - -2010-04-03 Ulrich Drepper - - [BZ #11438] - * posix/gai.conf: Document problems with IPv4 site-local addresses and - NATs. - - [BZ #11449] - * crypt/crypt_util.c (__init_des_r): Add memory barrier before setting - small_tables_initialized. - - * malloc/malloc.c (_int_free): Add one more sanity check for fastbins. - - * malloc/malloc.c (set_max_fast): Fix computation of the value. - -2010-03-30 David S. Miller - - * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Fix - MMAP2_PAGE_SHIFT test. - -2010-03-29 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/socket.h: Define MSG_WAITFORONE. - -2010-03-28 Thomas Schwinge - - * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Adapt to auxv - changes in the generic code. - * elf/rtld.c (dl_main): Conditionalize the code that dereferences auxv - to [HAVE_AUX_VECTOR]. - -2010-03-27 Ulrich Drepper - - * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): If - __ASSUME_AT_PAGESIZE we can rely on the value being set. - - * include/wchar.h: Undefine __need_mbstate_t and __need_wint_t - unconditionally in the end. - - * posix/glob.c (glob): Initialize oldcount early, too. - -2010-03-26 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/fcntl.c: Define miss_F_GETOWN_EX - only if needed. - Patch mostly by Paul Pluzhnikov . - -2010-03-26 Richard Henderson - - * sysdeps/generic/ldsodefs.h (_dl_random): Mark attribute_relro; - - * stdio-common/psiginfo.c (psiginfo): Fix printf format - warning for si_band. - - * locale/setlocale.c (free_category): Finish renaming - struct locale_data to __locale_data. - - * csu/gmon-start.c (ENTRY_POINT, etext): Declare as char[], not void. - * elf/dl-sysdep.c (_end): Likewise. - * sysdeps/unix/sysv/dl-sysdep.c (frob_brk): Likewise with locally - declared _end, and associated variables. - -2010-03-26 Ulrich Drepper - - * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't assume success always - means aborting the loop over the NSS methods. - -2010-03-25 Andreas Schwab - - [BZ #11001] - * sysdeps/posix/getaddrinfo.c (gaih_inet): Reset no_data before - each action. - -2010-03-26 Ulrich Drepper - - * malloc/malloc.c: Remove stale reference to website. - -2010-03-24 Ulrich Drepper - - [BZ #11389] - * bits/time.h: Define CLOCK_MONOTONIC_RAW, CLOCK_REALTIME_COARSE, and - CLOCK_MONOTONIC_COARSE. - * sysdeps/unix/sysv/linux/clock_getres.c: Handle CLOCK_MONOTONIC_RAW, - CLOCK_REALTIME_COARSE, and CLOCK_MONOTONIC_COARSE. - * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise. - * sysdeps/unix/sysv/linux/clock_settime.c: Likewise. - -2010-03-25 Andreas Schwab - - * sysdeps/posix/cuserid.c: Fix typo. - -2010-03-16 Chris Demetriou - - [BZ #11394] - * locale/programs/simple-hash.c: Include inttypes.h. - (hashval_t): Defined to be uint32_t. - * locale/programs/simple_hash.h: Include inttypes.h. - (compute_hashval): Change return type to uint32_t. - -2010-03-24 Ulrich Drepper - - * sysdeps/unix/sysv/linux/getlogin_r.c: New file. - * sysdeps/unix/sysv/linux/getlogin.c: New file. - * sysdeps/unix/getlogin_r.c: Allow compiling getlogin as static - function. - * sysdeps/unix/getlogin.c: Likewise. Move name variable to toplevel. - * include/unistd.h: Declare __getlogin_r_loginuid. - - [BZ #11397] - * sysdeps/posix/cuserid.c (cuserid): Make sure the returned string - is NUL terminated. - Patch by Jonathan Geisler . - - * sysdeps/unix/sysv/linux/mmap64.c: Allow variable shift values. - -2010-03-24 H.J. Lu - - * sysdeps/x86_64/multiarch/strpbrk-c.c: Define only if SHARED - is defined. - -2010-03-22 H.J. Lu - - * string/test-memcmp.c (check_result): New function. - (do_one_test): Use it. - (check1): New function. - (test_main): Use it. - -2010-03-24 Ulrich Drepper - - * posix/tst-gnuglob.c: Add tests with empty patterns. For this - rewrite the tests to add support for failing glob calls. - Some other minor cleanups. - * posix/bug-glob3.c: New file. - * posix/Makefile (tests): Add bug-glob3. - -2010-03-24 Ulrich Drepper - Andreas Schwab - - * posix/glob.c (glob): Clean up gl_pathc and gl_pathv earlier. - If pattern is "" bail out early - -2010-03-23 Jakub Jelinek - - * elf/dl-lookup.c (do_lookup_x): If tab->entries is NULL, - but tab->size != 0, just unlock and goto success, without - allocating anything or entering anything into the hash table. - (_dl_debug_bindings): Temporarily set tab->entries to NULL - around do_lookup_x in undef_map->l_local_scope[0]. If - undef_map->l_symbolic_in_local_scope, lookup also in - symbolic_searchlist of following libraries in l_local_scope - that have DT_SYMBOLIC set. - * elf/dl-deps.c (_dl_map_object_deps): Compute - l_symbolic_in_local_scope. - * include/link.h (struct link_map): Add l_symbolic_in_local_scope - bitfield. - -2010-03-24 Ulrich Drepper - - [BZ #11410] - * wctype/wctype.h: Use to get the wint_t definition. - - * wcsmbs/wchar.h: Correct preprocessor directive indentation. Move - C++ prototype handling to a better place. - -2010-03-18 Ulrich Drepper - - * elf/dl-load.c (open_verify): Extend expected to the full size of the - e_ident array. When loading, check that the fields in e_ident we don't - know are zero to allow future extensions. - -2010-03-18 H.J. Lu - - * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Update %xmm3 - when exit from loop. - -2010-03-16 Andreas Schwab - - * resolv/res_send.c (__libc_res_nsend): Fix printing of server - address in debug statement. - (send_dg): Pass correct buffer pointer to DprintQ. - -2010-03-17 Ulrich Drepper - - * libc-abis: Add a few more entries. - -2010-03-16 Ulrich Drepper - - * elf/dl-load.c (VALID_ELF_ABIVERSION): Add additional osabi parameter. - Not used here. - (open_verify): Modify for extended VALID_ELF_ABIVERSION macro - interface. - * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_ABIVERSION): Add - additional osabi parameter. Only acceept nonzero ABI versions if osabi - is Linux. - Fix includes. - (expected2): Don't explicitly initialize EI_ABIVERSION byte. - - * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_ABIVERSION): Update - definition to follow generic code. - -2010-03-15 Ulrich Drepper - - * posix/getconf.c: Update copyright year. - * nss/getent.c: Likewise. - * iconv/iconvconfig.c: Likewise. - * iconv/iconv_prog.c: Likewise. - * elf/ldconfig.c: Likewise. - * catgets/gencat.c: Likewise. - * csu/version.c: Likewise. - * elf/ldd.bash.in: Likewise. - * elf/sprof.c (print_version): Likewise. - * locale/programs/locale.c: Likewise. - * locale/programs/localedef.c: Likewise. - * nscd/nscd.c (print_version): Likewise. - * debug/xtrace.sh: Likewise. - * malloc/memusage.sh: Likewise. - * malloc/mtrace.pl: Likewise. - * debug/catchsegv.sh: Likewise. - - * Makerules: Add rule for libc-abis.h. - * csu/version.c: Use LIBC_ABIS_STRING string if available. - * elf/dl-load.c (VALID_ELF_ABIVERSION): Check using LIBC_ABI_MAX. - (open_verify): Only check EI_ABIVERSION bytes using VALID_ELF_HEADER. - Add extra call to VALID_ELF_ABIVERSION. - -2010-03-12 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sys/mount.h (UMOUNT_NOFOLLOW): Define. - -2010-03-12 Andreas Schwab - - * elf/dl-dst.h: Include "trusted-dirs.h". - (DL_DST_REQUIRED): Take $LIB into account. - -2010-03-11 Roland McGrath - - * elf/elf.h (R_X86_64_GOT64, R_X86_64_GOTPCREL64): New macros. - (R_X86_64_GOTPC64, R_X86_64_GOTPLT64, R_X86_64_PLTOFF64): New macros. - -2010-03-10 Luis Machado - - * sysdeps/powerpc/powerpc64/power7/memcpy.S: New file. - * sysdeps/powerpc/powerpc32/power7/memcpy.S: New file. - -2010-03-09 David S. Miller - - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handling - of R_SPARC_TLS_LE_* needs to use 32-bit loads and stores, not - 64-bit ones. - - * sysdeps/sparc/sparc32/memcpy.S: Fix build. - - * sysdeps/sparc/sparc32/strlen.S: Optimize. - * sysdeps/sparc/sparc64/strlen.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/strlen.S (ASI_PNF, ASI_BLK_P, - XCC): Delete definitions, not needed. - -2010-03-07 Ulrich Drepper - - * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags): - Little follow-up patch from last change. - -2010-03-06 Ulrich Drepper - - * sysdeps/unix/sysv/linux/internal_statvfs.c: Handle ext4 and logfs. - * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add entry for logfs. - -2010-02-18 Yann Droneaud - - * resolv/res_send.c: Fixed DEBUG statements. - Moved tmpbuf declaration to block beginning and - updated pointer names used in multiple DprintQ() calls - -2010-02-18 H.J. Lu - - * config.make.in (config-asflags-i686): Define. - * configure.in: Substitute libc_cv_as_i686. - * sysdeps/i386/configure.in: Check if assembler supports -mtune=i686. - * sysdeps/i386/i686/Makefile (CFLAGS-.oX): Add -Wa,-mtune=i686 - if assembler supports -mtune=i686. - (ASFLAGS-.oX): Likewise. - -2010-03-04 Ulrich Drepper - - * elf/elf.h (R_X86_64_SIZE32): Define. - (R_X86_64_SIZE64): Define. - -2010-03-02 Richard Guenther - - * sysdeps/x86_64/dl-machine.h (elf_machine_rela): R_X86_64_PC32 - is sign-extending. - -2010-03-03 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/in.h: Add a few more definitions from - the kernel headers. - -2010-03-04 David S. Miller - - * sysdeps/sparc/sparc64/Implies: Add ieee754/dbl-64/wordsize-64 entry. - - * sysdeps/sparc/sparc32/sparcv8/udiv_qrnnd.S: Delete. - * sysdeps/sparc/sparc32/udiv_qrnnd.S: Delete. - -2010-03-03 David S. Miller - - * math/math_private.h (INSERT_WORDS64): Fix argument order. - -2010-03-03 Aurelien Jarno - - * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: New file. - -2010-03-03 David S. Miller - - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_lazy_rel): Must - pass '1' for 't' argument to sparc_fixup_plt. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_lazy_rel): - Likewise. - * sysdeps/sparc/sparc32/dl-plt.h (OPCODE_BA_PT): Define. - (sparc_fixup_plt): Document 't' argument. Enable branch - optimization and use v9 branches when possible. Explain why we - cannot unconditionally patch the branch into the first PLT - instruction. - * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Document 't' - argument. Use v9 branches when possible. Explain why we can in - fact unconditionally use a branch in the first PLT instruction - here. - -2010-02-28 Roland McGrath - - * elf/elf.h (NT_X86_XSTATE): New macro. - -2010-02-25 David S. Miller - - * sysdeps/sparc/sparc64/Makefile: Add align-cpy rule. - * sysdeps/sparc/sparc64/align-cpy.S: New. - * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_1, __align_cpy_2, - __align_cpy_4, __align_cpy_8, __align_cpy_16): Remove. - * sysdeps/sparc/sparc64/sparcv9b/memcpy.S (__align_cpy_1, - __align_cpy_2, __align_cpy_4, __align_cpy_8, __align_cpy_16): - Remove. - * sysdeps/sparc/sparc64/sparcv9v/memcpy.S (__align_cpy_1, - __align_cpy_2, __align_cpy_4, __align_cpy_8, __align_cpy_16): - Remove. - * sysdeps/sparc/sparc64/sparcv9v2/memcpy.S (__align_cpy_1, - __align_cpy_2, __align_cpy_4, __align_cpy_8, __align_cpy_16): - Remove. - - * sysdeps/sparc/sparc32/bcopy.c: Delete. - * sysdeps/sparc/sparc32/memmove.c: Delete. - * sysdeps/sparc/sparc32/sparcv9/bcopy.c: Delete. - * sysdeps/sparc/sparc32/sparcv9/memmove.c: Delete. - * sysdeps/sparc/sparc64/bcopy.c: Delete. - * sysdeps/sparc/sparc64/memmove.c: Delete. - * sysdeps/sparc/sparc64/memcopy.h: New. - * sysdeps/sparc/sparc32/memcpy.S (bcopy, memmove): Remove. - * sysdeps/sparc/sparc64/memcpy.S (bcopy, memmove): Likewise. - * sysdeps/sparc/sparc64/sparcv9b/memcpy.S (bcopy, memmove): Likewise. - * sysdeps/sparc/sparc64/sparcv9v/memcpy.S (bcopy, memmove): Likewise. - * sysdeps/sparc/sparc64/sparcv9v2/memcpy.S (bcopy, memmove): Likewise. - - * sysdeps/sparc/elf/rtld-global-offsets.sym: New file. - * sysdeps/sparc/Makefile (csu): Add rtld-global-offsets.sym to - gen-as-const-headers. - * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: New file. - * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: New file. - * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: New file. - * sysdeps/sparc/sparc32/sparcv9/sparcv9b/memcpy.S: Move to... - * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra3.S: ...here. - * sysdeps/sparc/sparc32/sparcv9/sparcv9v/memcpy.S: Move to... - * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara1.S: ...here. - * sysdeps/sparc/sparc32/sparcv9/sparcv9v/memset.S: Move to... - * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara1.S: ...here. - * sysdeps/sparc/sparc32/sparcv9/sparcv9v2/memcpy.S: Move to... - * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara2.S: ...here. - * sysdeps/sparc/sparc32/sparcv9/sparcv9v2/memset.S: Removed. - * sysdeps/sparc/sparc64/multiarch/Makefile: New file. - * sysdeps/sparc/sparc64/sparcv9v/memcpy.S: Move to... - * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: ...here. - * sysdeps/sparc/sparc64/sparcv9v2/memcpy.S: Move to... - * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: ...here. - * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Move to... - * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: ...here. - * sysdeps/sparc/sparc64/sparcv9v/memset.S: Move to... - * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: ...here. - * sysdeps/sparc/sparc64/sparcv9v2/memset.S: Removed. - * sysdeps/sparc/sparc64/multiarch/memcpy.S: New file. - * sysdeps/sparc/sparc64/multiarch/memset.S: New file. - -2010-02-20 H.J. Lu - - [BZ #11332] - * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Use cfi_remember_state - and cfi_restore_state only if USE_AS_STRNCMP is defined. - -2010-02-24 Ulrich Drepper - - * sysdeps/x86_64/Implies: Add ieee754/dbl-64/wordsize-64 entry. - -2010-02-24 H.J. Lu - - * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S - (bk_write_less32bytes_2): Renamed to ... - (bk_write_less48bytes): This. - Use unsigned conditional jumps. - Correct unwind info. - Use add/sub instead of lea if possible. - (shl_0_gobble_cache_loop_tail): Removed. - (large_page): Properly adjust ECX. - - * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Use unsigned - conditional jumps. - Correct unwind info. - - * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Remove redundant - punpcklbw. - Use unsigned conditional jumps. - (128bytesormore_nt): Renamed to ... - (128bytesormore_endof_L1): This. - Use add instead of lea if possible. - Correct unwind info. - * sysdeps/i386/i686/multiarch/memset-sse2.S: Remove redundant - punpcklbw. - Use unsigned conditional jumps. - Use add instead of lea if possible. - Correct unwind info. - -2010-02-24 Ulrich Drepper - - [BZ #11319] - * libio/iovdprintf.c (_IO_vdprintf): Explicitly flush stream before - undoing the stream because _IO_FINISH doesn't report failures. - - [BZ #5553] - * malloc/malloc.c (public_vALLOc): Set ar_ptr when trying main_arena. - (public_pVALLOc): Likewise. - Patch by Petr Baudis. - -2010-02-22 Jim Meyering - - * manual/math.texi (BSD Random): Fix a typo: s/are/is/ - - * manual/charset.texi: Adjust grammar. - - * manual/errno.texi (Error Messages): Fix doubled-words and typos. - * manual/charset.texi (Selecting the Conversion): Likewise. - * manual/getopt.texi (Getopt Long Options): Likewise. - * manual/memory.texi (Resizing the Data Segment): Likewise. - * manual/message.texi (GUI program problems): Likewise. - * manual/resource.texi (CPU Affinity): Likewise. - * manual/stdio.texi (Streams and Threads): Likewise. - * manual/time.texi (High Accuracy Clock): Likewise. - -2009-02-20 David S. Miller - - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup): - Adjust rela->r_offset by l->l_addr when rewriting PLT. - - * sysdeps/sparc/sparc64/memchr.S: Use unsigned branch on greater to - test end of buffer. - - * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c - (__makecontext): Adjust arg counter properly when copying arg - stack slots. - -2009-02-20 Joseph Myers - - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup): - Adjust rela->r_offset by l->l_addr when rewriting PLT. - -2010-02-19 Carl Fredrik Hammar - - * hurd/hurdioctl.c (tiocsctty): Call `do_tiocsctty' instead of - non-existent `tiocsctty_port'. - -2010-02-16 H.J. Lu - - * sysdeps/i386/i686/multiarch/memcmp.S (memcmp): Use CPUID_OFFSET - instead of FEATURE_OFFSET. - * sysdeps/i386/i686/multiarch/strcmp.S (strcmp): Likewise. - - * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Add alignnments. - Fix one unwind info problem. - - * sysdeps/i386/i686/multiarch/memcmp-ssse3.S (less1bytes): Add CFI_POP. - - * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Simplify unwind info. - -2010-02-17 H.J. Lu - Ulrich Drepper - - * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Fix typo in unwind info. - Clean up a bit. - -2010-02-17 Carl Fredrik Hammar - - * hurd/hurdioctl.c (tiocsctty): Only get FD ports, do work in... - (tiocsctty_port): ...this new function. - - * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Cast to - `ioctl_handler_t'. - -2010-02-15 Ulrich Drepper - - * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Fix unwind info. - * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise. - * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise. - * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise. - - * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Don't fall through to - undefined code. - -2010-02-12 H.J. Lu - - * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add - strcmp-ssse3, strcmp-sse4, strncmp-c, strncmp-ssse3, strncmp-sse4, - memcmp-c, memcmp-ssse3, and memcmp-sse4. - * sysdeps/i386/i686/multiarch/memcmp-sse4.S: New file. - * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: New file. - * sysdeps/i386/i686/multiarch/memcmp.S: New file. - * sysdeps/i386/i686/multiarch/strcmp-sse4.S: New file. - * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: New file. - * sysdeps/i386/i686/multiarch/strcmp.S: New file. - * sysdeps/i386/i686/multiarch/strncmp-c.c: New file. - * sysdeps/i386/i686/multiarch/strncmp-sse4.S: New file. - * sysdeps/i386/i686/multiarch/strncmp-ssse3.S: New file. - * sysdeps/i386/i686/multiarch/strncmp.S: New file. - -2010-02-12 Luis Machado - - * sysdeps/powerpc/powerpc32/dl-machine.h: Removed old PPC_REL16 check. - * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise. - * sysdeps/powerpc/powerpc32/elf/start.S: Likewise. - * sysdeps/powerpc/powerpc32/memset.S: Likewise. - * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise. - * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise. - * sysdeps/powerpc/powerpc32/configure.in: Fail if R_PPC_REL16 - is not supported. - * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise. - * sysdeps/powerpc/powerpc32/dl-start.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise. - -2010-02-12 Alan Modra - - * elf/tls-macros.h [__powerpc__] (__TLS_CALL_CLOBBERS): Remove r3. - Define and use for __powerpc64__ too. - [__powerpc__] (TLS_LD): Add r3 to clobbers. - [__powerpc__] (TLS_GD): Set asm output. Make __result r3 reg. - [__powerpc64__] (TLS_GD): Make __result r3 reg. - [__powerpc64__] (TLS_IE): Relax output constraint. - -2010-02-11 Andreas Krebbel - - * sysdeps/s390/s390-64/utf8-utf16-z9.c: Disable hardware - instructions cu21 and cu24. Add well-formedness checking - parameter and adjust the software implementation. - * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise. - -2010-02-10 Ulrich Drepper - - [BZ #11271] - * io/ftw.c (ftw_startup): Close descriptor for initial directory - after changing back to it. - -2010-02-05 David S. Miller - - * elf/elf.h (R_SPARC_JMP_IREL, R_SPARC_IRELATIVE): Define. - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle new - ifunc relocs. - (elf_machine_lazy_rel): Likewise. - (sparc_fixup_plt): Pull out to... - * sysdeps/sparc/sparc32/dl-plt.h: ...here. - * sysdeps/sparc/sparc32/dl-irel.h: New file. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle new - ifunc relocs. - (elf_machine_lazy_rel): Likewise. - (sparc64_fixup_plt): Pull out to... - * sysdeps/sparc/sparc64/dl-plt.h: ...here. - * sysdeps/sparc/sparc64/dl-irel.h: New file. - -2010-02-09 Maxim Kuvyrkov - - * elf/elf.h: Define m68k TLS relocations. - -2010-02-10 Luis Machado - - * sysdeps/powerpc/powerpc64/power7/Implies: Removed. - * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Removed. - * sysdeps/powerpc/powerpc32/power7/Implies: Removed. - * sysdeps/powerpc/powerpc32/power7/fpu/Implies: Removed. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Add - 64-bit power7 fpu path. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Add - 32-bit power7 fpu math. - -2010-02-09 Ulrich Drepper - - * sysdeps/i386/rshift.S: More compact unwind information. - - * sysdeps/i386/lshift.S: Fix unwind information. - -2010-02-08 Luis Machado - - * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: New file. - * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: New file. - * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: New file. - * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: New file. - * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: New file. - * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: New file. - * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: New file. - * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: New file. - * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: New file. - * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: New file. - * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: New file. - * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: New file. - -2010-02-08 Andreas Schwab - - * include/fenv.h: Add hidden proto for fegetenv. - * math/fegetenv.c: Add hidden alias. - * sysdeps/i386/fpu/fegetenv.c: Likewise. - * sysdeps/ia64/fpu/fegetenv.c: Likewise. - * sysdeps/powerpc/fpu/fegetenv.c: Likewise. - * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise. - * sysdeps/sparc/fpu/fegetenv.c: Likewise. - * sysdeps/x86_64/fpu/fegetenv.c: Likewise - * sysdeps/s390/fpu/fegetenv.c: Likewise. Remove unused headers. - -2010-02-05 H.J. Lu - - [BZ #11230] - * sysdeps/ia64/memchr.S: Don't read beyond the last byte - during recovery. - -2010-01-26 Andreas Schwab - - * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.c: Use internal - interface. - * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Declare internal - utmpx interface. - - * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat - entry for 2.12. - -2010-02-03 Ulrich Drepper - - [BZ #11235] - * sysdeps/unix/sysv/linux/sys/mount.h: Remove S_WRITE, S_APPEND, - S_IMMUTABLE. Add MS_DIRSYNC, MS_MOVE, MS_SILENT, MS_REC, - MS_POSIXACL, MS_UNBINDABLE, MS_PRIVATE, MS_SLAVE, MS_SHARED, - MS_RELATIME, MS_KERNMOUNT, MS_I_VERSION, MS_STRICTATIME, - MS_ACTIVE, and MS_NOUSER. - (MS_RMT_MASK): Update according to current kernels. - - [BZ #11242] - * misc/getusershell.c (initshells): Allocate one more byte in input - buffer so that fgets doesn't loop undefinitely. - -2010-02-02 Ulrich Drepper - - * stdlib/setenv.c (__add_to_environ): Don't use alloca if - __libc_use_alloca tells us not to. Fix memory leak in an error - situation. Based partially on patch by Jim Meyering. - -2010-01-26 Samuel Thibault - - * sysdeps/mach/getsysstats.c (get_nprocs_conf, get_nprocs, - get_phys_pages, get_avphys_pages): Add weak aliases. - -2010-01-25 Andreas Schwab - - * iconv/iconv_prog.c (write_output): Fix check for open failure. - -2010-01-22 Ulrich Drepper - - [BZ #11200] - * locale/loadlocale.c (_nl_load_locale): Fix recognition of genuine - mmap resource problem. Patch by Joe Landers . - -2010-01-22 Jim Meyering - - [BZ #11193] - * posix/regexec.c (extend_buffers): Avoid overflow in realloc - buffer length computation. - - [BZ #11192] - * posix/regexec.c (re_copy_regs): Don't leak when allocation - of the start buffer succeeds but allocation of the "end" one fails. - - [BZ #11191] - * posix/regexec.c (re_search_2_stub): Check for overflow - when adding the sizes of the two strings. - - [BZ #11190] - * posix/regexec.c (re_search_internal): Avoid overflow - in computing re_malloc buffer size. - - [BZ #11189] - * posix/regexec.c (prune_impossible_nodes): Avoid overflow - in computing re_malloc buffer size. - - [BZ #11188] - * posix/regexec.c (build_trtable): Avoid arithmetic overflow - in size calculation. - - [BZ #11187] - * posix/regexec.c (re_search_2_stub): Use simpler method than - boolean for freeing internal storage. - -2010-01-22 Ulrich Drepper - - * posix/regex_internal.c (re_string_skip_chars): Simplify test for - failed mbrtowc call. - -2010-01-22 Jim Meyering - - [BZ #11186] - * posix/regex_internal.c (re_string_skip_chars): Don't assume WEOF - fits in wchar_t. Problem reported by Eric Blake. - - [BZ #11185] - * posix/regex_internal.c (re_string_reconstruct): Remove declaration - and stores into set-but-not-used local, "q". - - [BZ #11184] - * posix/regex_internal.c (re_dfa_add_node): Extend the overflow - detection test. Patch by Paul Eggert. - - [BZ #11183] - * posix/regex_internal.c (re_string_realloc_buffers): - Detect and handle internal overflow. Patch by Paul Eggert - -2010-01-20 Andreas Schwab - - * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c - (CHECK_SP): Fix check for alternate stack. - * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c - (CHECK_SP): Likewise. - -2010-01-19 H.J. Lu - - * sysdeps/i386/i686/multiarch/memmove.S: Also check - bit_Fast_Rep_String when SHARED isn't defined. - -2010-01-19 Ulrich Drepper - - [BZ #11194] - * misc/bits/syslog.h (syslog, vsyslog): Remove unnecessary return. - -2010-01-17 Samuel Thibault - - * sysdeps/mach/hurd/bits/libc-lock.h - (__rtld_lock_recursive_t): New type. - (__rtld_lock_initialize): New macro. - -2010-01-14 Ryan S. Arnold - - * sysdeps/powerpc/powerpc32/cell/memcpy.S: New file. - * sysdeps/powerpc/powerpc64/cell/memcpy.S: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/fpu/Implies: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: New file. - -2010-01-18 Andreas Schwab - - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Remove duplicate - definitions of O_DSYNC and O_RSYNC. - - * elf/dynamic-link.h (elf_get_dynamic_info): Use correct type when - casting d_tag. - - * elf/dynamic-link.h (elf_get_dynamic_info): Ignore negative - dynamic entry types. - -2010-01-16 Jakub Jelinek - - * sysdeps/ieee754/ldbl-128/s_ceill.c (huge): Add L suffix to the - constant. - * sysdeps/ieee754/ldbl-128/s_floorl.c (huge): Likewise. - * sysdeps/ieee754/ldbl-128/s_expm1l.c (big): Decrease to avoid - overflow. - * sysdeps/ieee754/ldbl-128/s_log1pl.c (big): Remove unused variable. - - * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf): Use - math_opt_barrier and math_force_eval macros. - -2010-01-15 Ulrich Drepper - - * posix/regcomp.c: Fix a few more cases of ignored return values. - * posix/regex_internal.c: Likewise. - * posix/regexec.c: Likewise. - - * include/features.h: _XOPEN_SOURCE_EXTENDED is not defined to be - used without _XOPEN_SOURCE. Don't base any decisions on this macro - if _XOPEN_SOURCE is not defined as well. - -2010-01-15 Andreas Krebbel - - * sysdeps/s390/s390-32/elf/start.S (_start): Added check for the - high gprs kernel facility. - * sysdeps/s390/s390-32/dl-machine.h (elf_machine_matches_host): - Added high gprs check for DSOs. - * elf/elf.h (EF_S390_HIGH_GPRS): Added macro definition for the - new elf header flag. - -2010-01-13 Andreas Krebbel - - * elf/dl-sysdep.c (_dl_sysdep_start): Added the auxv parameter to - dl_main. - * elf/dl-open.c (_dl_sysdep_start): Likewise.. - * sysdeps/generic/ldsodefs.h (_dl_sysdep_start): Likewise. - * elf/rtld.c (dl_main): Added new parameter auxv. Adjust the - AT_PHDR, AT_PHNUM and AT_ENTRY fields if the ld.so is directly - started. - -2010-01-14 Ulrich Drepper - - [BZ #11027] - * sysdeps/generic/netinet/ip.h: Define IPTOS_CLASS_* macros according - to RFC 2474. - Patch by Philip Prindeville . - - [BZ #11141] - * resolv/res_send.c (reopen): Don't use IPv6 sockets for IPv4 - addresses. - - [BZ #11127] - * posix/regcomp.c (alc_eclosure_iter): Do not ignore - re_node_set_insert failure; return REG_ESPACE. - Patch by Paul Eggert. - - [BZ #10864] - * bits/confname.h: Make pre-C99-safe. - -2010-01-14 Ryan S. Arnold - - * Makeconfig (+prector, +postctor, +prectorS, +postctorS): Add - $(sysdep-LDFLAGS) to pre and post ctors so that the proper .o - files are found by GCC. - -2010-01-14 Ulrich Drepper - - * posix/unistd.h: Relax conditions for ualarm, usleep, getwd, vfork, - brk, and sbrk. - - * string/strings.h: Relax condition for bcmp, bcopy, bzero, ffs, - index, and rindex. - - * stdlib/stdlib.h: Relax conditions for *cvt functions and valloc. - - * Versions.def: Add GLIBC_2.12 for libpthread. - - [BZ #11126] - * malloc/malloc.c (malloc_info): Initialize malloc if not already - done. Handle empty bin lists. - - * posix/unistd.h: Change getpagesize and getdtablesize declaration - visibility some more. - - * resolv/netdb.h: Relax condition to elide obsolete resolver constants. - - * posix/unistd.h: Declare getpagesize in _GNU_SOURCE mode. - - [BZ #11120] - * sysdeps/x86_64/strcmp.S: Prevent silent errors should strncmp be - needed outside libc. - -2010-01-13 Ulrich Drepper - - * stdlib/stdlib.h: Parameter of unsetenv must not be NULL. - -2010-01-12 H.J. Lu - - * sysdeps/x86_64/multiarch/strlen.S: Unroll the loop. - -2010-01-13 Ulrich Drepper - - * stdlib/stdlib.h: Be a bit more relaxed about obsoleted mktemp symbol. - -2010-01-12 Ulrich Drepper - - * conform/data/complex.h-data: Test for POSIX2008. - - * conform/data/ctype.h-data: Fix POSIX testing. - - * conform/data/dirent.h-data: ino_t only needed for XSI. - - * grp/grp.h: Declare getgrent and endgrent for XPG7. - - * conform/data/inttypes.h-data: Use same types as the headers. - - * resolv/netdb.h: Don't define old resolver macros for XPG7. - - * conform/data/sys/uio.h-data: Don't exclude POSIX2008. - - * conform/conformtest.pl: Implement tag for allow-header. - Fix newline handling in allow-header implementation. - - * conform/data/time.h-data: Use allow-header instead of duplicating - information. - - * conform/data/time.h-data: Allow sigevent tag. - - * posix/sched.h: Define time_t and pid_t for XPG7. - -2010-01-12 H.J. Lu - - * sysdeps/i386/i686/bcopy.S: New file. - - * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Define. - - * sysdeps/i386/i686/memcpy.S (__memcpy_chk): Use ENTRY_CHK - and END_CHK. - * sysdeps/i386/i686/memmove.S (__memmove_chk): Likewise. - * sysdeps/i386/i686/mempcpy.S (__mempcpy_chk): Likewise. - * sysdeps/i386/i686/memset.S (__memset_chk): Likewise. - - * sysdeps/i386/i686/memmove.S: Support USE_AS_BCOPY. - - * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add - bzero-sse2 memset-sse2 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 - memcpy-ssse3-rep mempcpy-ssse3-rep memmove-ssse3-rep - bcopy-ssse3 bcopy-ssse3-rep memset-sse2-rep bzero-sse2-rep - * sysdeps/i386/i686/multiarch/bcopy-ssse3-rep.S: New file. - * sysdeps/i386/i686/multiarch/bcopy-ssse3.S: New file. - * sysdeps/i386/i686/multiarch/bcopy.S: New file. - * sysdeps/i386/i686/multiarch/bzero-sse2-rep.S: New file. - * sysdeps/i386/i686/multiarch/bzero-sse2.S: New file. - * sysdeps/i386/i686/multiarch/bzero.S: New file. - * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: New file. - * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: New file. - * sysdeps/i386/i686/multiarch/memcpy.S: New file. - * sysdeps/i386/i686/multiarch/memcpy_chk.S: New file. - * sysdeps/i386/i686/multiarch/memmove-ssse3-rep.S: New file. - * sysdeps/i386/i686/multiarch/memmove-ssse3.S: New file. - * sysdeps/i386/i686/multiarch/memmove.S: New file. - * sysdeps/i386/i686/multiarch/memmove_chk.S: New file. - * sysdeps/i386/i686/multiarch/mempcpy-ssse3-rep.S: New file. - * sysdeps/i386/i686/multiarch/mempcpy-ssse3.S: New file. - * sysdeps/i386/i686/multiarch/mempcpy.S: New file. - * sysdeps/i386/i686/multiarch/mempcpy_chk.S: New file. - * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: New file. - * sysdeps/i386/i686/multiarch/memset-sse2.S: New file. - * sysdeps/i386/i686/multiarch/memset.S: New file. - * sysdeps/i386/i686/multiarch/memset_chk.S: New file. - - * sysdeps/i386/sysdep.h (ENTRY_CHK): New. - (END_CHK): Likewise. - - * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Add - FEATURE_OFFSET, FEATURE_SIZE and FEATURE_INDEX_1. - * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise. - - * sysdeps/x86_64/cacheinfo.c (intel_02_cache_info): Add entries - for 0x0e and 0x80. - (__x86_64_data_cache_size): New. - (init_cacheinfo): Set __x86_64_data_cache_size. - - * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Turn - on bit_Fast_Rep_String for Intel Core i7. - - * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Rep_String): New. - (index_Fast_Rep_String): Likewise. - (FEATURE_INDEX_1): Likewise. - (FEATURE_INDEX_MAX): Likewise. - (cpu_features): Add feature. - -2010-01-12 Ulrich Drepper - - * conform/data/sys/select.h-data: Fix up for XPG7. - -2010-01-12 Jakub Jelinek - - * posix/sys/wait.h: Don't define W* macros etc. if - stdlib.h has been included with _POSIX_C_SOURCE >= 200809L. - -2010-01-11 Ulrich Drepper - - * io/sys/stat.h: Declare fchmod for XPG7. - * conform/data/sys/stat.h-data: Fix up for XPG7. - - * termios/termios.h: Define pid_t for XPG7. - - * conform/data/math.h-data: Fix up for XPG6 and XPG7. - * conform/data/tgmath.h-data: Likewise. - - * conform/data/time.h-data: Fix POSIX tests. - - * conform/data/wchar.h-data: Fix up XPG7 tests. - - * include/features.h: Fix __USE_ISOC95 handling. - - * conform/data/wordexp.h-data: Fix typo in last change. - - * conform/data/unistd.h-data: Fix up older POSIX tests. - - * stdlib/stdlib.h: Fix handling symbols removed in XPG7. - * posix/unistd.h: Likewise. - - * posix/unistd.h: Include environments.h also for XPG6 and up. - Define intptr_t for XPG6 and up. - Fix up for XPG7. - * conform/data/unistd.h-data: Fix up for XPG6 and XPG7. - - * conform/data/sys/types.h-data: Fix up for XPG7. - - * sysdeps/unix/bsd/bits/stat.h: Fix double-inclusion problem. - * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise. - * sysdeps/unix/sysv/bits/stat.h: Likewise. - * sysdeps/mach/hurd/bits/stat.h: Likewise. - - * bits/confname.h: Fix typo in last change. - - * conform/data/unistd.h-data: lockf-constants Not needed for POSIX. - -2010-01-10 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/sigaction.h: SA_RESTART, SA_NODEFER, - and SA_RESETHAND now available in Base. - * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise. - * conform/data/signal.h-data: Update for XPG7. - - * posix/sys/types.h: Define id_t, clock_t, blksize_t for XPG7. - - * string/strings.h: Don't declare obsolete functions for XPG7. - Declare ffs only for XSI. - * conform/data/strings.h-data: Update for XPG7. - -2010-01-10 Jakub Jelinek - - [BZ #11125] - * libio/stdio.h: Define va_list, off_t, and ssize_t. - - * posix/glob.h: Define size_t. - - * posix/sys/wait.h: Define idtype_t and declare waitid for XPG7. - - * signal/signal.h: Define size_t, mcontext_t, and ucontext_t for XPG7. - -2010-01-10 Ulrich Drepper - - * conform/conformtest.pl: For XPG7 testing the headers are supposed to - be self-contained. - - * conform/data/stdio.h-data: Expect off_t and ssize_t. - -2010-01-09 Ulrich Drepper - - * libio/stdio.h: Define va_list also for XPG7. - - * conform/conformtest.pl: Update for XPG7 and some bug fixes. - * conform/data/ctype.h-data: Likewise. - * conform/data/dirent.h-data: Likewise. - * conform/data/errno.h-data: Likewise. - * conform/data/fcntl.h-data: Likewise. - * conform/data/fmtmsg.h-data: Likewise. - * conform/data/fnmatch.h-data: Likewise. - * conform/data/ftw.h-data: Likewise. - * conform/data/glob.h-data: Likewise. - * conform/data/grp.h-data: Likewise. - * conform/data/iconv.h-data: Likewise. - * conform/data/langinfo.h-data: Likewise. - * conform/data/libgen.h-data: Likewise. - * conform/data/limits.h-data: Likewise. - * conform/data/locale.h-data: Likewise. - * conform/data/math.h-data: Likewise. - * conform/data/monetary.h-data: Likewise. - * conform/data/mqueue.h-data: Likewise. - * conform/data/ndbm.h-data: Likewise. - * conform/data/netdb.h-data: Likewise. - * conform/data/pthread.h-data: Likewise. - * conform/data/pwd.h-data: Likewise. - * conform/data/regex.h-data: Likewise. - * conform/data/sched.h-data: Likewise. - * conform/data/search.h-data: Likewise. - * conform/data/semaphore.h-data: Likewise. - * conform/data/setjmp.h-data: Likewise. - * conform/data/signal.h-data: Likewise. - * conform/data/spawn.h-data: Likewise. - * conform/data/stdio.h-data: Likewise. - * conform/data/stdlib.h-data: Likewise. - * conform/data/string.h-data: Likewise. - * conform/data/strings.h-data: Likewise. - * conform/data/sys/ipc.h-data: Likewise. - * conform/data/sys/msg.h-data: Likewise. - * conform/data/sys/resource.h-data: Likewise. - * conform/data/sys/sem.h-data: Likewise. - * conform/data/sys/shm.h-data: Likewise. - * conform/data/sys/socket.h-data: Likewise. - * conform/data/sys/stat.h-data: Likewise. - * conform/data/sys/time.h-data: Likewise. - * conform/data/sys/types.h-data: Likewise. - * conform/data/sys/uio.h-data: Likewise. - * conform/data/sys/wait.h-data: Likewise. - * conform/data/syslog.h-data: Likewise. - * conform/data/tar.h-data: Likewise. - * conform/data/termios.h-data: Likewise. - * conform/data/time.h-data: Likewise. - * conform/data/ulimit.h-data: Likewise. - * conform/data/unistd.h-data: Likewise. - * conform/data/utmpx.h-data: Likewise. - * conform/data/wchar.h-data: Likewise. - * conform/data/wctype.h-data: Likewise. - * conform/data/wordexp.h-data: Likewise. - - * io/fcntl.h: Define mode_t macros instead of including sys/stat.h. - * sysdeps/unix/bsd/bits/stat.h: Enable using from fcntl.h. - * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise. - * sysdeps/unix/sysv/bits/stat.h: Likewise. - * sysdeps/mach/hurd/bits/stat.h: Likewise. - - * stdlib/stdlib.h: Define wait-related bits for XPG7. - Don't declare valloc, mktemp, ecvt, fcvt, gcvt for XPG6 and up. - Declare mkstemp and getsubopt for XPG7. - Declare posix_openpt for XPG6 XSI. - - * include/features.h: Define __USE_XOPEN2KXSI for _XOPEN_SOURCE >= 600 - and __USE_XOPEN2K8XSI for _XOPEN_SOURCE >= 700. - - * string/string.h: Declare strdup for XPG7. - -2010-01-08 Ulrich Drepper - - * bits/confname.h: Define _CS_V6_ENV and _CS_V7_ENV. - * posix/confstr.c: Implement _CS_V6_ENV and _CS_V7_ENV. - - * dirent/dirent.h: Really fix feature selection. - - * locale/localeinfo.h: Rename struct locale_data to __locale_data. - Fix all users. - * locale/C-address.c: Fix all users. - * locale/C-collate.c: Likewise. - * locale/C-ctype.c: Likewise. - * locale/C-identification.c: Likewise. - * locale/C-measurement.c: Likewise. - * locale/C-messages.c: Likewise. - * locale/C-monetary.c: Likewise. - * locale/C-name.c: Likewise. - * locale/C-numeric.c: Likewise. - * locale/C-paper.c: Likewise. - * locale/C-telephone.c: Likewise. - * locale/C-time.c: Likewise. - * locale/findlocale.c: Likewise. - * locale/global-locale.c: Likewise. - * locale/loadarchive.c: Likewise. - * locale/loadlocale.c: Likewise. - * locale/nl_langinfo_l.c: Likewise. - * locale/setlocale.c: Likewise. - * locale/xlocale.c: Likewise. - * locale/xlocale.h: Likewise. - * stdio-common/vfscanf.c: Likewise. - * stdlib/strfmon_l.c: Likewise. - * stdlib/strtod_l.c: Likewise. - * stdlib/strtol_l.c: Likewise. - * string/strcoll_l.c: Likewise. - * string/strxfrm_l.c: Likewise. - * time/alt_digit.c: Likewise. - * time/asctime.c: Likewise. - * time/era.c: Likewise. - * time/lc-time-cleanup.c: Likewise. - * time/strftime_l.c: Likewise. - * time/strptime_l.c: Likewise. - * wcsmbs/wcsmbsload.c: Likewise. - * wcsmbs/wcsmbsload.h: Likewise. - - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Define O_DIRECTORY, - O_NOFOLLOW, O_CLOEXEC, F_DUPFD_CLOEXEC, F_SETOWN, and F_GETOWN - for XPG7. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. - -2010-01-07 Roland McGrath - - * elf/elf.h (PN_XNUM): New macro. - - * elf/dl-sysdep.c (_dl_important_hwcaps): Use NT_GNU_HWCAP instead of - literal 2. - -2010-01-06 Ulrich Drepper - - * dirent/dirent.h: Fix typo in feature selection macro use. - -2009-12-15 Maciej W. Rozycki - - [BZ #11115] - * stdlib/tst-makecontext3.c: New file. - * stdlib/Makefile (tests): Add new test. - - * stdlib/tst-setcontext.c (check_called): Fix a typo. - -2009-12-17 H.J. Lu - - * configure.in: Enable multi-arch by default if the assembler - supports gnu_indirect_function symbol type and the architecture - supports it. - -2009-12-23 Ulrich Drepper - - * include/stdlib.h: Exclude some includes and prototypes if _ISOMAC - is defined. - -2009-12-22 Samuel Thibault - - * hurd/hurdioctl.c (_hurd_locked_install_cttyid): Set newctty to - MACH_PORT_NULL when id != cttyid. - -2009-12-20 Samuel Thibault - - * sysdeps/mach/hurd/getcwd.c (cleanup): Do not call - __mach_port_deallocate on rootdevid. - -2009-12-17 Martin Schwidefsky - - * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Handle - R_390_PC32DBL. Remove unneeded R_390_PLT16DBL. - * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Remove - unneeded R_390_PLT16DBL and R_390_PLT32DBL. - -2009-12-21 Ulrich Drepper - - [BZ #10992] - * sysdeps/unix/sysv/linux/futimens.c: Handle AT_FDCWD. - Patch by Eric Blake . - -2009-12-15 Ulrich Drepper - - [BZ #11093] - * bits/poll.h: Define POLLRDNORM, POLLRDBAND, POLLWRNORM, and - POLLWRBAND also for POSIX 2008. - * sysdeps/unix/sysv/linux/bits/poll.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise. - - * include/link.h (struct link_map): Move l_used into its own word. - * elf/dl-lookup.c (_dl_lookup_symbol_x): Only update l_used when it is - still zero. - * elf/dl-object.c (_dl_new_object): Set dl_used if we know it is - never really used. - -2009-12-13 H.J. Lu - - * sysdeps/i386/i686/multiarch/strcspn.S Include - instead of . Use bit_XXX and index_XXX to - check processor feature. - * sysdeps/i386/i686/multiarch/strlen.S: Likewise. - * sysdeps/i386/i686/multiarch/strspn.S: Likewise. - * sysdeps/x86_64/multiarch/init-arch.h (bit_SSE2): New definition. - (index_SSE2): Likewise. - -2009-12-09 H.J. Lu - - * sysdeps/x86_64/multiarch/init-arch.h: Include - if __ASSEMBLER__ is defined. - (bit_SSSE3): New. Defined for __ASSEMBLER__. - (bit_SSE4_2): Likewise. - (index_SSSE3): Likewise. - (index_SSE4_2): Likewise. - * sysdeps/x86_64/multiarch/rawmemchr.S: Include - instead of . Use bit_XXX and index_XXX to - check processor feature. - * sysdeps/x86_64/multiarch/strchr.S: Likewise. - * sysdeps/x86_64/multiarch/strcmp.S: Likewise. - * sysdeps/x86_64/multiarch/strcpy.S: Likewise. - * sysdeps/x86_64/multiarch/strcspn.S: Likewise. - * sysdeps/x86_64/multiarch/strlen.S: Likewise. - * sysdeps/x86_64/multiarch/strrchr.S: Likewise. - * sysdeps/x86_64/multiarch/strspn.S: Likewise. - -2009-12-08 Kaz Kojima - - * sysdeps/sh/elf/initfini.c: Update according to generic/initfini.c. - -2009-12-01 Mike Frysinger - - * sysdeps/sh/sh4/fpu/fpu_control.h (__set_fpscr): New prototype. - -2009-12-11 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Redefine O_SYNC and - O_DSYNC to match 2.6.33+ kernels. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. - -2009-12-10 Ulrich Drepper - - [BZ #11000] - * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname4_r): Always set - *herrnop before returning. - * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r): - Likewise. - * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r): Handle - TRYAGAIN errors separately. - * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix error handling of - *name4_r after functions. - -2009-12-09 Ulrich Drepper - - [BZ #11046] - * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Fix kernel - version check. - -2009-11-05 Bruno Haible - - [BZ #11056] - * posix/unistd.h (execve, fexecve, execv, execvp, execvpe): Mark the - argv argument as non-NULL. - (execle, execl, execlp): Mark the first ARG argument as non-NULL. - -2009-12-08 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/socket.h: Define mmsghdr and declare - recvmmsg. - * sysdeps/unix/sysv/linux/syscalls.list: Add entry for recvmmsg. - * sysdeps/unix/sysv/linux/Versions: Add recvmmsg for GLIBC_2.12. - -2009-12-04 Andreas Krebbel - - * sysdeps/s390/s390-64/dl-trampoline.S: Add CFI for the call saved - registers. - * sysdeps/s390/s390-32/dl-trampoline.S: Likewise. - * sysdeps/s390/s390-32/s390-mcount.S: Add CFI. - * sysdeps/s390/s390-64/s390x-mcount.S: Add CFI. - -2009-11-30 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/sched.h: Define SCHED_IDLE and - SCHED_RESET_ON_FORK. - -2009-11-26 Ulrich Drepper - - * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Avoid code - only used on truly ancient kernel if configuration requires a more - recent kernel. - -2009-11-24 Ulrich Drepper - - [BZ #3662] - * stdlib/random_r.c: Fix comments for __initstate_r and __setstate_r. - Patch by Christopher Neufeld . - - * sysdeps/unix/grantpt.c (pts_name): Take additional parameter, - pass it on to __ptsname_internal. - (grantpt): Pass stat64 pointer to pts_name. Remove stat call here. - * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): New function. - All the code from __ptsname_r but take additional parameter. Use that - instead of pointer to local stat64 variable. - (__ptsname_r): Call __ptsname_internal with pointer to local stat64 - variable. - * include/stdlib.h: Declare __ptsname_internal. - - * sysdeps/unix/grantpt.c (grantpt): Use CLOSE_ALL_FDS is available - before the exec. - * sysdeps/unix/sysv/linux/grantpt.c: New file. - * login/programs/pt_chown.c (main): Don't print message on errors - when doing real work. - - * sysdeps/unix/grantpt.c (grantpt): Only get tty group information - once. - - * csu/elf-init.c (__libc_csu_irel): New function. Code to perform - irel relocations split out from... - (__libc_csu_init): ...here. - * csu/libc-start.c [!SHARED]: Call __libc_csu_irel early. - -2009-11-23 Andreas Schwab - - * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Use struct timespec - for timestamps also if __USE_XOPEN2K8. - * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/bits/stat.h: Likewise. - -2009-11-22 Ulrich Drepper - - * nscd/connections.c (restart): Try harder to re-exec. - - * sunrpc/create_xid.c (_create_xid): Reinitialize state after fork. - - * sysdeps/unix/sysv/linux/ntp_gettimex.c: New file. - * sysdeps/unix/sysv/linux/Makefile: Add rules to build ntp_gettimex. - * sysdeps/unix/sysv/linux/Versions: Export ntp_gettimex for GLIBC_2.12. - * sysdeps/unix/sysv/linux/sys/timex.h (ntptimeval): Add tai member and - some placeholders. Redirect ntp_gettime to ntp_gettimex. - * sysdeps/unix/sysv/linux/ntp_gettime.c: Adjust for header change. - - * sysdeps/unix/sysv/linux/sys/timex.h (MOD_TAI, MOD_MICRO, MOD_NANO): - Define. - (STA_RONLY): Add STA_NANO, STA_MODE, and STA_CLK. - -2009-11-18 H.J. Lu - - [BZ #10162] - * sysdeps/ia64/memchr.S: Don't use a simple loop on data shorter - than software pipeline. Properly recover from shorter read. - -2009-11-19 Ulrich Drepper - - [BZ #10958] - * libio/libio.h (_IO_getwc_unlocked): Check for _wide_data being - initialized before using it. - (_IO_putwc_unlocked): Likewise. - - [BZ #10918] - * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_ISSET_S): Use __const - in cast to not throw away const-ness of parameters. - (__CPU_EQUAL_S): Likewise. - (__CPU_OP_S): Likewise. - - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Introduce new symbol - F_OWNER_PGRP and mark F_OWNER_GID obsolete. The kernel people made - this gratuitous change and we have to keep compatibility. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. - -2009-11-17 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Change misleading names - of parameters of sync_file_range. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. - -2009-11-16 Jakub Jelinek - - * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range): - Implement using sync_file_range2 syscall if __NR_sync_file_range2 - is defined. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c: New - file. - -2009-11-17 Paolo Bonzini - - * posix/bug-regex30.c: New file. - * posix/Makefile: Add rules to build and run bug-regex30. - * posix/regcomp.c (re_compile_fastmap_iter): Add all multibyte - character lead bytes when there is a range in a COMPLEX_BRACKET. - Reported by Oleg Bylatov. - -2009-11-17 Ulrich Drepper - - [BZ #10969] - * locale/duplocale.c (__duplocale): Handle LC_GLOBAL_LOCALE special. - * locale/tst-duplocale.c: New file. - * locale/Makefile (tests): Add tst-duplocale. - - [BZ #10968] - * locale/langinfo.h (_NL_LOCALE_NAME): Correct definition. - Patch by Bruno Haible . - * locale/tst-locname.c: New file. - * locale/Makefile (tests): Add tst-locname. - - [BZ #10972] - * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Add new MADV_* - constants from recent kernels. + * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Fix MADV_REMOVE value. * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise. -2009-11-09 H.J. Lu +2006-05-01 Ulrich Drepper - [BZ #10162] - * sysdeps/ia64/memchr.S: Use a simple loop on data shorter than - software pipeline. + [BZ #2502] + * iconvdata/utf-7.c: Don't require more than one character after + the '+' sign starting Unicode shifted sequences. -2009-11-09 Mike Frysinger + * misc/tsearch.c (__tdelete): Remove unnecessary test + [Coverity CID 75]. - * sysdeps/unix/sysv/linux/i386/fallocate.c: Include errno.h. - (fallocate): Return ENOSYS if __NR_fallocate is not defined. - * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise. + * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Print error + message for invalid DWARF data instead of crashing. -2009-11-06 Mike Frysinger + * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r): Don't try to + free outkey in error case when batch_read is set. - * posix/bug-regex29.c: Include stdio.h. + * nis/nss_nis/nis-grp.c (internal_nis_getgrent_r): Don't try to + free outkey in error case when batch_read is set [Coverity CID 196]. -2009-11-14 Ulrich Drepper + [BZ #2517] + * misc/sys/queue.h: Update to more recent version. - [BZ #10939] - * Versions.def: Define GLIBC_2.12 for libc. - * manual/errno.texi: Add ERFKILL entry. - * sysdeps/unix/sysv/linux/Versions: Add new errlist compat entries - for 2.12. - * sysdeps/unix/sysv/linux/bits/errno.h: Define ERFKILL is not done. - * sysdeps/unix/sysv/linux/sparc/bits/errno.h: Likewise. +2006-05-01 Alexander Shopov - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Update F_SETOWN_EX and - F_GETOWN_EX definitions according to corrected kernel definitions. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. + [BZ #2625] + * iconvdata/Makefile (modules): Added MIK. + (distribute): Added mik.c. + (gen-8bit-gap-modules): Added mik. + * iconvdata/TESTS: Added MIK. + * iconvdata/gconv-modules: Added MIK. + * iconvdata/tst-tables.sh: Added MIK. + * iconvdata/mik.c: New file. + * iconvdata/testdata/MIK: New file. + * iconvdata/testdata/MIK..UTF8: New file. + +2006-04-30 Ulrich Drepper + + * elf/dl-load.c (_dl_map_object_from_fd): Move state change + notification... + (lose): ...to here. + + * posix/Makefile (tests): Add tst-getaddrinfo3. + * posix/tst-getaddrinfo3.c: New file. + + * sysdeps/posix/getaddrinfo.c (gaih_inet): Add parenthesis in test + for better readability. + + * nscd/nscd.h (struct database_dyn): Change filename to an array + to avoid relocations. + + * elf/ldd.bash.in: If --verify loop fails to find a dynamic linker + for the file don't just try the first one listed in RTLDLIST + again. We already have the status. + + * nis/nss_nisplus/nisplus-publickey.c (parse_grp_str): PIDLIST is + supposed to have NGRPS elements. + + * nis/nss_nisplus/nisplus-parser.c: Minor optimizations and + cleanups. Avoid copying data if it can be used in the old place. + +2006-04-29 Ulrich Drepper + + * nis/nss_nisplus/nisplus-ethers.c: Add missing null pointer check. + * nis/nss_nisplus/nisplus-hosts.c: Likewise. + * nis/nss_nisplus/nisplus-network.c: Likewise. + * nis/nss_nisplus/nisplus-proto.c: Likewise. + * nis/nss_nisplus/nisplus-rpc.c: Likewise. + * nis/nss_nisplus/nisplus-service.c: Likewise. + * nis/nss_nisplus/nisplus-spwd.c: Likewise. + + * nis/nisplus-parser.h (_nss_nisplus_parse_pwent): Add entry + parameter. + (_nss_nisplus_parse_pwent_chk): New prototype. + * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent): + Add entry parameter. Use it for column value in all accesses. + Move checks for well-formed reply to... + (_nss_nisplus_parse_pwent_chk): ...here. New function. + * nis/nss_nisplus/nisplus-pwd.c: Support SETENT_BATCH_READ option. + + * nis/nss_nisplus/nisplus-parser.c: Some cleanups. Remove + hidden_def definitions. + * nis/nisplus-parser.h: Add parameter names. Remove hidden_proto + definitions. + +2006-04-28 Ulrich Drepper + + * nis/nss_nis/nis-spwd.c (internal_nis_getspent_r): Remove data + variable. + + * nis/nss-nis.h: Define response_t and intern_t. Declare _nis_saveit. + * nis/nss_nis/nis-pwd.c: Remove response_t and intern_t definition. + (saveit): Renamed to _nis_saveit. Take parameter which is pointer + to the intern_t object. Change all users. + * nis/nss_nis/nis-grp.c: Remove response_t, intern_t, and saveit + definition. Use _nis_saveit instead of saveit. + * nis/nss_nis/nis-service.c: Likewise. + * nis/nss_nis/nis-initgroups.c: Likewise. + (internal_setgrent): Adjust for buffer handling. + (internal_getgrent_r): Likewise. + * nis/nss_nis/nis-rpc.c: Likewise. + + * nis/nss-default.c (vars): Add SETENT_BATCH_READ. + * nis/nss: Document SETENT_BATCH_READ. + * nis/libnsl.h: Define NSS_FLAG_SETENT_BATCH_READ. + * nis/nss_nis/nis-service.c (saveit): Don't add NUL byte if the + string is already NUL terminated. + (internal_nis_endservent): No need to return anything. Change callers. + (internal_nis_setservent): One more initialization. + * nis/nss_nis/nis-pwd.c: Support SETENT_BATCH_READ option. + * nis/nss_nis/nis-grp.c: Likewise. + + * nis/nss-default.c (init): Rewrite parser to get the variables + from a table. + + * nis/nss_nis/nis-service.c: Avoid passing pointer to static + variable around. Reduce number of memory allocations by creating + list of memory pools. + + * nis/ypclnt.c (__xdr_ypresp_all): Minor optimization in string + handling. Fix typo in comment. + +2006-04-27 Ulrich Drepper + + * nscd/connections.c (restart): If we want to switch back to the + old ID use setresuid and setresgid. + (finish_drop_privileges): Likewise. + +2006-04-27 Jakub Jelinek + + * nscd/nscd.conf: Fix a typo. + +2006-04-27 Ulrich Drepper + + [BZ #2611] + * stdio-common/renameat.c (renameat): Fix typo. + +2006-04-26 Roland McGrath + + * Makeconfig (%.v.i rule): Don't use -DASSEMBLER. + The predefined __ASSEMBLER__ is sufficient. + +2006-04-26 Ulrich Drepper + + [BZ #1386] + * iconvdata/ibm932.c: Change mapping to allow round-trips. + * iconvdata/ibm943.c: Likewise. + Patch by Masahide Washizawa . + + * sysdeps/unix/sysv/linux/syscalls.list: Add vmsplice. + * sysdeps/unix/sysv/linux/Versions: Export vmsplice@@GLIBC_2.5. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Declare vmsplice. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. -2009-11-12 Ulrich Drepper + * sysdeps/unix/sysv/linux/bits/uio.h: Fix a typo in a comment. - * version.h: Bump for 2.12 development. + * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo which caused + errors not to be reported. -2009-11-10 Andreas Schwab + * nscd/nscd.h (struct database_dyn): Add propagate field. + * nscd/nscd_conf.c (nscd_parse_file): Parse auto-propagate lines. + * nscd/nscd.conf: Add auto-propagate lines. + * nscd/connections.c (dbs): Initialize .propagate fields. + * nscd/grpcache.c (cache_addgr): Do not add ID entry for name lookups + and vice versa if propagation is disabled for the database. + * nscd/pwdcache.c (cache_addpw): Likewise. - * resolv/mapv4v6hostent.h (map_v4v6_hostent): Return non-zero if - out of buffer space. - * resolv/nss_dns/dns-host.c (getanswer_r): Check for - map_v4v6_hostent running out of space. +2006-04-26 James Antill + Ulrich Drepper -2009-11-10 Ulrich Drepper + * config.make.in: Add have-libcap. + * configure.in: Check for libcap. + * nscd/Makefile (selinux-LIBS): Add -lcap if possible. + * nscd/connections.c (finish_drop_privileges): When libcap is available + call preserve_capabilities and install_real_capabilities. + * nscd/selinux.c: Define preserve_capabilities and + install_real_capabilities. + * nscd/selinux.h: Declare preserve_capabilities and + install_real_capabilities. - * string/bits/string3.h (memset): If the second parameter is constant - and zero there is likely no transposition. - Patch by Caolan McNamara -2009-11-04 Philippe De Muyter + * locale/iso-4217.def: Update. - * sysdeps/powerpc/fpu/e_sqrt.c: Fix spelling of (Newton-)Raphson. - * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise. +2006-04-25 Ulrich Drepper -2009-10-30 Holger Hans Peter Freyther + [BZ #2420] + * stdlib/strfmon_l.c (__vstrfmon_l): Fix handling of ! modifier. + * localedata/Makefile: Add rules to build and run tst-strfmon1. + * localedata/tst-strfmon1.c: New file. - * malloc/memusagestat.c (main): Fix spelling in an error message. + [BZ #2571] + * nscd/nscd_helper.c (__nscd_get_map_ref): Make mapptr argument a + volatile pointer so that the mapptr->mapped value is re-read after + the lock is retrieved. + * nscd/nscd-client.h: Update __nscd_get_map_ref prototype. -2009-11-01 H.J. Lu + * include/features.h [_GNU_SOURCE] (_POSIX_C_SOURCE): Define to + 200112L. - * elf/dl-sym.c (do_sym): Properly handle STT_GNU_IFUNC symbols. - * elf/ifuncmain3.c (main): Test dlopen STT_GNU_IFUNC symbol. + * resolv/res_hconf.c: Minor surgery to 'cmd' and the referenced + functions to avoid relocations. -2009-11-03 Andreas Schwab + [BZ #2389] + * resolv/res_hconf.c: Remove 'order' parsing. Just ignore the line. + * resolv/res_hconf.h: Remove Name_Service definition. + (struct hconf): Replace service related fields with placeholders. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add - readahead. + [BZ #2386] + * sysdeps/unix/sysv/linux/ia64/clone2.S: Check for NULL stack + pointers to match other architectures. + * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (tests): Add + tst-clone. + * sysdeps/unix/sysv/linux/tst-clone.c: New file. -2009-11-03 Jakub Jelinek + [BZ #2072] + * stdio-common/printf_fp.c: Fix potential memory leaks for + malloc'ed wbuffer which isn't freed in error conditions. - * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Don't - relocate opd entry when resolving prelink conflicts. + [BZ #2569] + * iconv/gconv_db.c (__gconv_release_step): Fix condition of assert + call. + * iconvdata/Makefile (tests): Add tst-iconv6. + * iconvdata/tst-iconv6.c: New file. -2009-11-04 Jakub Jelinek +2006-04-24 Ulrich Drepper - * misc/sys/uio.h (preadv, pwritev): Fix type of last argument - when -D_FILE_OFFSET_BITS=64. + * posix/tst-rfc3484.c (do_test): Also initialize source_addr_flags + field. + * posix/tst-rfc3484-2.c (do_test): Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (fallocate): Fix types - of last two arguments when -D_FILE_OFFSET_BITS=64. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (fallocate): Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (fallocate): Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (fallocate): Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (fallocate): Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (fallocate): Likewise. - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (fallocate): Likewise. + * posix/tst-rfc3484.c: Include early. + * posix/tst-rfc3484-2.c: Likewise. -2009-11-03 Andreas Schwab + * version.h (VERSION): Bump to 2.4.90 for the trunk. - [BZ #4457] - * sysdeps/generic/libgcc_s.h: New file. - * sysdeps/generic/framestate.c: Include it and use LIBGCC_S_SO. +2006-04-24 Jakub Jelinek -2009-11-01 Ulrich Drepper + * malloc/arena.c (ptmalloc_init): Don't call __malloc_check_init + if MALLOC_CHECK_ env var contains an empty string. - * malloc/hooks.c (free_check): Restore locking and call _int_free - appropriately. +2006-04-24 Ulrich Drepper -2009-10-30 Ulrich Drepper + * sysdeps/posix/getaddrinfo.c (getaddrinfo): Always initialize in6ai. - * version.h (VERSION): Bump for 2.11 release. - * include/features.h (__GLIBC_MINOR__): Bump to 11. +2006-04-24 Jakub Jelinek - * elf/tst-execstack.c (do_test): Add cast to avoid warning. + * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range): Use + __LONG_LONG_PAIR macro. - * stdio-common/scanf13.c (main): Remove unused variable wbuf. + * posix/bits/unistd.h (__readlinkat_chk): New prototype. + (__readlinkat_alias): New alias. + (readlinkat): New inline function. + * include/unistd.h (readlinkat): Add libc_hidden_proto. + * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Add + libc_hidden_def. + * io/readlinkat.c (readlinkat): Likewise. + * debug/readlinkat_chk.c: New file. + * debug/Makefile (routines): Add readlinkat_chk. + * debug/Versions (libc): Export __readlinkat_chk@@GLIBC_2.5. + * debug/tst-chk1.c (do_test): Add readlinkat tests. - * stdlib/tst-strtol.c (tests): Mark one more constant as unsigned - to avoid warning. - * stdlib/tst-strtoll.c (tests): Likewise. +2006-04-23 Ulrich Drepper - [BZ #9986] - * time/strftime_l.c (__strftime_internal): Allow %OC. + * nis/nss_nisplus/nisplus-netgrp.c: Cleanups. - * misc/mkostemps.c: New file. - * misc/mkostemps64.c: New file. + [BZ #1951] + * sysdeps/posix/sigset.c (sigset): Return correct value reflecting + previous signal state. + * signal/Makefile (tests): Add tst-sigset2. + * signal/tst-sigset2.c: New file. -2009-10-30 Andreas Schwab +2006-04-21 Jakub Jelinek - * locale/programs/locale-spec.c: Include and - . + * argp/argp.h (__option_is_short): Check upper limit of + __key. isprint() requires its argument to have the value + of an unsigned char or EOF. + Patch by Sergey Poznyakoff . - * sysdeps/unix/sysv/linux/readlinkat.c: Fix last change. +2006-04-21 Ulrich Drepper -2009-10-28 Roland McGrath + [BZ #2534, BZ #2535] + * posix/regex.h: Remove obsolete comment and special + handling for VMS. - * Makefile (dist-prepare): New target. - (tag-for-dist): Target removed. - (glibc-%.tar): Pattern rule removed. - (%.tar): New pattern rule, does simple use of git archive. - (dist-version): Remove variable definition. - (dist): Just depend on that. Add .tar.xz dependency. - If dist-version variable not set on command line, depend on - dist-prepare, re-invoke with dist-version set via git describe. + * iconvdata/ibm437.c: Define HAS_HOLES to 0. + * iconvdata/ibm861.c: Likewise. + * iconvdata/ibm862.c: Likewise. + * iconvdata/ibm863.c: Likewise. + * iconvdata/ibm865.c: Likewise. + Reported by . + +2006-04-19 Ulrich Drepper + + * include/ifaddrs.h: Get uint32_t definition. + * posix/tst-rfc3484.c: Update fake __check_pf implementation. + * posix/tst-rfc3484-2.c: Likewise. - * Makerules (%.xz): New pattern rule. - -2009-10-28 Alan Modra - - * elf/ifuncdep2.c: Include ifunc-sel.h. - (global): Delete. - (foo1_ifunc, foo2_ifunc, foo3_ifunc): Use ifunc_sel. - * elf/ifuncmain1.c (global): Delete. - * elf/ifuncmain1vis.c: Likewise. - * elf/ifuncmain2.c: Likewise. - * elf/ifuncmain5.c: Likewise. - * elf/ifuncmod3.c: Likewise. - * elf/ifuncmain6pie.c: Include ifunc-sel.h. - (foo_ifunc): Use ifunc_one. - * elf/ifuncmain7.c: Likewise. - * elf/ifuncmod1.c: Include ifunc-sel.h. - (global): Define protected var. - (foo_ifunc, foo_hidden_ifunc, foo_protected_ifunc): Use ifunc_sel. - * elf/ifuncmod5.c: Likewise. - * sysdeps/generic/elf/ifunc-sel.h: New file. - * sysdeps/powerpc/elf/ifunc-sel.h: New file. - -2009-07-30 Alan Modra - - * elf/elf.h (R_PPC_NUM, R_PPC64_NUM): Delete unused and incorrect. - (R_PPC_REL16*): Correct comments. - (R_PPC_IRELATIVE, R_PPC64_IRELATIVE, R_PPC64_JMP_IREL): Define. - (R_PPC64_REL16, R_PPC64_REL16_LO, R_PPC64_REL16_HI, - R_PPC64_REL16_HA): Define. - * sysdeps/powerpc/powerpc32/dl-irel.h: New file. - * sysdeps/powerpc/powerpc64/dl-irel.h: New file. - * sysdeps/powerpc/powerpc32/dl-machine.c (__elf_machine_fixup_plt): - Delete unused "reloc" param. - (__process_machine_rela): Handle R_PPC_IRELATIVE. - * sysdeps/powerpc/powerpc32/dl-machine.h (__elf_machine_fixup_plt): - Delete "reloc" param. - (elf_machine_rela): Handle STT_GNU_IFUNC functions and - R_PPC_IRELATIVE. - * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): New function. - (elf_machine_rela): Handle STT_GNU_IFUNC functions and new ifunc - relocations. - -d2009-10-30 Ulrich Drepper - - [BZ #10315] - * sysdeps/gnu/netinet/udp.h: Define UDP_CORK, UDP_ENCAP, - UDP_ENCAP_ESPINUDP_NON_IKE, UDP_ENCAP_ESPINUDP, and - UDP_ENCAP_L2TPINUDP. - - [BZ #10349] - * sysdeps/posix/tempname.c (__gen_tempname): Take new second - parameter, specifying length of prefix. - * stdio-common/tempname.c: Likewise. - * include/stdio.h: Adjust prototypes. - * libio/oldtmpfile.c: Adjust caller. - * misc/mkdtemp.c: Likewise. - * misc/mkostemp.c: Likewise. - * misc/mkostemp64.c: Likewise. - * misc/mkstemp.c: Likewise. - * misc/mkstemp64.c: Likewise. - * misc/mktemp.c: Likewise. - * stdio-common/tempnam.c: Likewise. - * stdio-common/tmpfile.c: Likewise. - * stdio-common/tmpnam.c: Likewise. - * stdio-common/tmpnam_r.c: Likewise. - * misc/mkstemps.c: New file. - * misc/mkstemps64.c: New file. - * stdlib/stdlib.h: Add prototypes. - * misc/Makefile (routines): Add mkstemps and mkstemps64. - * misc/Versions: Export mkstemps and mkstemps64 for GLIBC_2.11. - -2009-10-29 Ulrich Drepper - - * locale/iso-639.def: Add sml entry. - - [BZ #10391] - * resolv/res_send.c (send_dg): Initialize resplen. - - [BZ #10446] - * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Match sigevent - definition to the kernel's. - * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise. - -2009-08-18 Anders Johansson - - * nscd/aicache.c: Fix mixing up dataset and dataset->resp - offsets and record sizes in assert()s and response sending. - * nscd/grpcache.c: Likewise. - * nscd/hstcache.c: Likewise. - * nscd/initgrcache.c: Likewise. - * nscd/pwdcache.c: Likewise. - -2009-10-29 Ulrich Drepper - - [BZ #10540] - * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r): If - /etc/hosts does not exist set errnop and herrnop appropriately. - Patch by Steve Langasek . - - [BZ #10553] - * malloc/malloc.c (malloc_info): Fix typos in format strings. - Patch by John Sullivan . - - [BZ #10564] - * login/utmp_file.c (TIMEOUT): Increase to 10. - - [BZ #10609] - * sysdeps/unix/sysv/linux/faccessat.c: Fix handling of empty parameters - for file names in case the syscall is not available. - * sysdeps/unix/sysv/linux/fchmodat.c: Likewise. - * sysdeps/unix/sysv/linux/fchownat.c: Likewise. - * sysdeps/unix/sysv/linux/futimesat.c: Likewise. - * sysdeps/unix/sysv/linux/fxstatat.c: Likewise. - * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise. - * sysdeps/unix/sysv/linux/i386/fchownat.c: Likewise. - * sysdeps/unix/sysv/linux/i386/fxstatat.c: Likewise. - * sysdeps/unix/sysv/linux/linkat.c: Likewise. - * sysdeps/unix/sysv/linux/mkdirat.c: Likewise. - * sysdeps/unix/sysv/linux/openat.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Likewise. - * sysdeps/unix/sysv/linux/readlinkat.c: Likewise. - * sysdeps/unix/sysv/linux/renameat.c: Likewise. - * sysdeps/unix/sysv/linux/symlinkat.c: Likewise. - * sysdeps/unix/sysv/linux/unlinkat.c: Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Likewise. - * sysdeps/unix/sysv/linux/xmknodat.c: Likewise. - - [BZ #10643] - * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): If thread - creation filed, remove the request from the 'requests' list and signal - the caller that the request is finished. - - [BZ #10692] - * nis/nss_nis/nis-grp.c (internal_nis_getgrent_r): Don't free buffer - in error if batch_read. Patch by Joe Landers . - - [BZ #10713] - * nis/nss_nis/nis-grp.c (internal_nis_endgrent): Start freeing blocks - from intern.start. Patch by Joe Landers . - - [BZ #10780] - * libio/ioputs.c (_IO_puts): Make sure to not return a number which - overflows the int return type. - - [BZ #10717] - * malloc/memusagestat.c (main): Fix repairing of trace files. We also - have to compute maxsize_total, we have to update the variables, and - the also_total handling must happen after the repair. - - [BZ #10742] - * nscd/dbg_log.c (dbg_log): Print timestamp before the message text. - Based on patch by Jeffrey Bastian . - -2009-10-27 Andreas Schwab - - * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Make sure - errno is always set when returning unsuccessfully. - -2009-10-29 Andreas Schwab - - * malloc/memusage.c (update_data): Fix index wraparound handling - so that buffer_cnt is actually reset. - -2009-10-29 Ulrich Drepper - - [BZ #10784] - * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Always copy name - of the directory we look at into the static buffer if there is one - at the start of the loop. - - [BZ #10789] - * sysdeps/generic/netinet/ip.h: Define IPTOS_ENC* and IPTOS_DSCP* - macros. Patch by Philip Prindeville . - - [BZ #10840] * sysdeps/unix/sysv/linux/kernel-features.h: Define - __ASSUME_F_GETOWN_EX. - * sysdeps/unix/sysv/linux/fcntl.c: Implement F_GETOWN using F_GETOWN_EX - if possible. - * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise. - - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Define F_OWNER_* - and f_owner_ex. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. - - [BZ #10847] - * sysdeps/gnu/getutmp.c: Allow compatibility code to play around with - getutmpx symbol. - - [BZ #10823] - * resolv/res_send.c (__libc_res_nsend): Fix copying of IPv4 server - addresses. Patch by Petar Bogdanovic . - -2009-10-24 Joseph Myers - - * sysdeps/ieee754/ldbl-128/w_expl.c: Add hidden_def (__expl). - -2009-10-27 Jakub Jelinek - - [BZ #10817] - * math/w_coshl.c (__coshl): Use __finitel instead of __finite. - Reported by Ray Chason. - -2009-10-21 H.J. Lu - - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add - strend-sse4. - * sysdeps/x86_64/multiarch/strchr.S: New file. - * sysdeps/x86_64/multiarch/strend-sse4.S: New file. - * sysdeps/x86_64/multiarch/strrchr.S: New file. - -2009-10-21 Andreas Schwab - - * elf/dl-sym.c (do_sym): Resolve STT_GNU_IFUNC symbols. - -2009-10-19 Andreas Schwab - - * include/math.h: Add hidden protos for __exp/__expf/__expl. - * sysdeps/ieee754/dbl-64/w_exp.c: Add hidden alias. - * sysdeps/ieee754/flt-32/w_expf.c: Likewise. - * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise. - * sysdeps/i386/fpu/s_expm1.S: Call __exp to handle overflow. - * sysdeps/i386/fpu/s_expm1f.S: Call __expf to handle overflow. - * sysdeps/i386/fpu/s_expm1l.S: Call __expl instead of - __ieee751_expl to handle overflow. - -2009-10-14 David S. Miller - - * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: New file. - -2009-10-13 Andreas Schwab - - * csu/elf-init.c (__libc_csu_init): Run preinit array even if - !USE_MULTIARCH. - -2009-10-08 Ulrich Drepper - - [BZ #10730] - * stdlib/random_r.c (__initstate_r): Remove duplicate __set-errno. - Patch in part by Steve Ward . - - [BZ #10731] - * stdlib/rand_r.c: Fix typo. - - * po/cs.po: Update from translation team. - -2009-10-06 Andreas Schwab - - * elf/dl-load.c (_dl_map_object_from_fd): Close fd before - returning if RTLD_NOLOAD. - -2009-10-06 Roland McGrath - - * sysdeps/x86_64/multiarch/strstr-c.c - [! SHARED]: Omit libc_hidden_builtin_def fiddling. - - * sysdeps/x86_64/multiarch/strcasestr-c.c: Remove - libc_hidden_builtin_def fiddling, does not apply to strcasestr at all. - - * sysdeps/x86_64/multiarch/init-arch.h - [NOT_IN_libc] (__get_cpu_features): Define it as a macro. - (HAS_CPU_FEATURE): New macro. - (HAS_SSE2, HAS_POPCOUNT, HAS_SSE4_2, HAS_FMA): Use it. - * sysdeps/x86_64/multiarch/init-arch.c - (__get_cpu_features): #undef it before definition. - -2009-10-05 Andreas Schwab - - * locale/C-time.c: Revert week-1stday back to 19971130 and set - first_weekday to 1 and first_workday to 2. - -2009-10-01 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Define F_SETOWN_EX and - F_GETOWN_EX. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. - -2009-09-28 Andreas Schwab - - * stdio-common/printf_fp.c: Check for and avoid integer overflows. - * stdio-common/vfprintf.c: Likewise. - -2009-09-27 Samuel Thibault - - * sysdeps/mach/hurd/mkdirat.c: Include . - (mkdirat): Call __directory_name_split_at instead of - __directory_name_split. - -2009-09-28 Ulrich Drepper - - * locale/programs/locale-spec.c (locale_special): If nothing matches - fail with an appropriate message. - -2009-09-10 H.J. Lu - - * configure.in: Exclude binutils 2.X. Support binutils 2.100 - and XX. - -2009-09-25 Andreas Schwab - - * elf/dl-reloc.c (RESOLVE_MAP): Always pass - DL_LOOKUP_ADD_DEPENDENCY to _dl_lookup_symbol_x. - -2009-09-28 Samuel Thibault - - * bits/termios.h [__USE_UNIX98] (IXANY): Define macro. - -2009-09-20 Andreas Schwab - - * iconvdata/iso646.c (gconv_init): Correctly initialize the - character size elements in step data. - -2009-09-20 Ulrich Drepper - - * po/hu.po: Update from translation team. - * po/vi.po: Likewise. - -2009-09-19 Roland McGrath - - * libio/wfileops.c (_IO_wfile_seekoff): Remove unused variables. - -2009-09-15 Roland McGrath - - * aclocal.m4 (GLIBC_PROVIDES): Add _AS_ECHO_PREPARE. - * nptl/sysdeps/pthread/configure: Regenerated. - * nptl/sysdeps/x86_64/configure: Regenerated. - * sysdeps/unix/sysv/linux/configure: Regenerated. - * sysdeps/x86_64/elf/configure: Regenerated. - - * Makefile (autoconf-it): Set execute bit only on top-level configure. - - * configure.in: Let add-ons set $libc_add_on_config_subdirs to have - the effect of AC_CONFIG_SUBDIRS relative to the add-on directory. - * aclocal.m4 (GLIBC_PROVIDES): Add AC_CONFIG_SUBDIRS. - * configure: Regenerated. - -2009-09-09 Ulrich Drepper - - * posix/getconf.c (main): Handle -- on command line. - -2009-09-05 H.J. Lu - - * configure.in: Support binutils 2.100 and 3.0. - -2009-09-08 Jakub Jelinek - - * sysdeps/s390/s390-32/____longjmp_chk.c: Removed. - * sysdeps/s390/s390-64/____longjmp_chk.c: Removed. - * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: New file. - -2009-09-07 Ulrich Drepper - - * locale/programs/ld-collate.c (struct locale_collate_t): Add - unnamed_section_defined field. - (collate_read): Test and set unnamed_section_defined. - - * posix/getconf.c (vars): Handle POSIX2_LINE_MAX in addition to - _POSIX2_LINE_MAX. - -2009-09-04 H.J. Lu - - * configure.in: Support binutils 2.20. - -2009-09-03 Ulrich Drepper - - * sysdeps/i386/i686/multiarch/strstr-c.c (__strstr_sse42, - __strstr_ia32): Add attribute_hidden. - -2009-09-01 Andreas Schwab - - * hesiod/nss_hesiod/hesiod-grp.c (internal_gid_from_group): Fix - parsing of group entry. - -2009-09-02 Andreas Schwab - - * libio/wfileops.c (_IO_wfile_seekoff): Account for readahead in - external buffer. Always discard readahead in internal buffer. - * libio/Makefile (tests): Add bug-wsetpos. - * libio/bug-wsetpos.c: New file. - -2009-09-02 Jakub Jelinek - - * sysdeps/x86_64/multiarch/strstr-c.c (__strstr_sse42, __strstr_sse2): - Add attribute_hidden. - * sysdeps/x86_64/multiarch/strcasestr-c.c (__strcasestr_sse42, - __strcasestr_sse2): Likewise. - * sysdeps/x86_64/multiarch/s_fma.c (__fma_sse2): Add attribute_hidden. - (__fma_fma): Make static. - * sysdeps/x86_64/multiarch/s_fmaf.c (__fmaf_sse2): Add attribute_hidden. - (__fmaf_fma): Make static. - -2009-08-31 Andreas Schwab - - * libio/wfileops.c (_IO_wfile_seekoff): Remove dead code and - reformulate in-buffer optimisation check to match code in - _IO_new_file_seekoff. - -2009-08-31 Joshua W. Boyer - - * sysdeps/powerpc/powerpc32/power6/memcpy.S: Change srdi instruction - to srwi in 32-bit memcpy for power6. - -2009-09-01 Andreas Schwab - - * include/stdio.h: Declare hidden proto for fflush. - * libio/iofflush.c: Add hidden weak alias for fflush. - -2009-09-01 Jakub Jelinek - - * sysdeps/x86_64/fpu/bits/mathinline.h: Include bits/wordsize.h. - (__signbitf, __signbit): Only use SSE inline asm for 64-bit. - -2009-08-31 Andreas Schwab - - * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm. - -2009-08-31 Ulrich Drepper - - [BZ #10560] - * malloc/malloc.c: Add local assert definition to avoid problems with - memory allocation in the real one. - -2009-08-27 H.J. Lu - - * sysdeps/i386/i686/multiarch/init-arch.c (ENABLE_SSSE3_ON_ATOM): - Removed. - * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Don't - turn off SSSE3 on Atom. - -2009-08-28 Ulrich Drepper - - * stdlib/tst-strtol.c (tests): More tests. - * stdlib/tst-strtoll.c (tests): Likewise. - -2009-08-26 Ulrich Drepper - - * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: New file. - - * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: New file. - -2009-08-25 Ulrich Drepper - - * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Add llround aliases. - * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: New file. - - * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: New file - - * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: New file. - - * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: New file. - -2009-08-25 Joseph Myers - - * math/s_fdiml.c (__fdiml): Use fpclassify instead of fpclassifyl. - -2009-08-25 Ulrich Drepper - - * sysdeps/x86_64/fpu/s_scalbln.c: New file. - * sysdeps/x86_64/fpu/s_scalbn.c: New file. - - * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file. - - * sysdeps/x86_64/fpu/s_signbit.S: New file. - * sysdeps/x86_64/fpu/s_signbitf.S: New file. - - * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: New file. - * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: New file. - - * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Remove - leftover YMM_SIZE definition. - -2009-08-24 Ulrich Drepper - - * math/math_private.h (ieee_double_shape_type): Add uint64_t word to - union. - (EXTRACT_WORDS64, INSERT_WORDS64): Define. - * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64, INSERT_WORDS64): - Redefine. - * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: New file. - - * sysdeps/x86_64/fpu/math_private.h: Add specialized GET_FLOAT_WORD - and SET_FLOAT_WORD definitions. - -2009-08-24 Roland McGrath - - * sysdeps/unix/syscall-template.S: New file. - * sysdeps/unix/make-syscalls.sh: Generate rules to use it. - * sysdeps/unix/Makefile (omit-deps): Do not omit syscall stubs' deps. - (compile-syscall): Pass mkdep and -g options as normal. - (s-proto.d, s-proto-cancel.d): Don't "-include" these. - (common-generated): Don't add them here. - -2009-08-24 Ulrich Drepper - - * math/s_fdim.c: In case of overflows set errno. - * math/s_fdimf.c: Likewise. - * math/s_fdiml.c: Likewise. - - * math/math.h: Define math_errhandling of __FAST_MATH__ is not defined. - * sysdeps/i386/fpu/bits/mathinline.h: Undefine math_errhandling if we - are using the inline optimizations. - - * sysdeps/x86_64/fpu/bits/mathinline.h (__signbit): Optimize. - (__signbitf): Likewise. - -2009-08-23 Ulrich Drepper - - * posix/regcomp.c (parse_dup_op): Verify the expression is correctly - terminated. - * posix/Makefile (tests): Add bug-regex29. - * posix/bug-regex29.c: New file. - - * posix/unistd.h: Define _POSIX_VERSION and _POSIX2_* correctly if - older POSIX versions are selected. - - * stdio-common/printf_fp.c: ISO C expects to print the sign of NaN - as well. - * stdio-common/printf_fphex.c: Likewise. - * stdio-common/tstdiomisc.c: Add more tests. - - * locale/locale.h: Include xlocale.h and the thread-local locale - declarations for XPG7, not XPG6. - -2009-08-21 Andreas Schwab - - * sysdeps/powerpc/powerpc32/____longjmp_chk.S: Removed. - * sysdeps/powerpc/powerpc64/____longjmp_chk.S: Removed. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S: New file. - * sysdeps/powerpc/powerpc32/__longjmp-common.S: Move CHECK_SP earlier. - * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise. - -2009-08-20 Roland McGrath - - * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols): - Use l_addr instead of l_map_start (dli_fbase). - Print "FILE([+-]OFFSET) [ADDRESS]" with the file-relative - address when there is no proximate symbol. - * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): + __ASSUME_PROC_SELF_FD_SYMLINK. + * sysdeps/unix/sysv/linux/ttyname.c: Cleanups. Avoid compatibility + code is possible. Move compatibility code in .text.compat section. + * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise. + +2006-04-18 Ulrich Drepper + + * sysdeps/posix/getaddrinfo.c (getaddrinfo): Rewrite to avoid loop + over gaih array. There is only one function to call in the moment. + +2006-04-16 Ulrich Drepper + + * include/ifaddrs.h: Define struct in6addrinfo. + Add two more parameters to __check_pf. + * sysdeps/unix/sysv/linux/check_pf.c: When using the netlink + interface, determine whether IPv6 addresses are deprecated or + temporary. Create array of those addresses. + * inet/check_pf.c: Always tell caller there are no depracated + and temporary addresses. + * sysdeps/posix/getaddrinfo.c: Pretty printing. + (struct sort_result): Add source_addr_flags field. + (rfc3484_sort): Implement rule 3 and 7. + (in6aicmp): New function. + (getaddrinfo): Call __check_pf also when we need info about IPv6 + source addresses. When creating array for sorting addresses, + look up deprecated and temporary addresses returned by __check_pf + and add flag if necessary. + +2006-04-15 Ulrich Drepper + + * sysdeps/posix/getaddrinfo.c: Fix precedence for IP V4-to-V6 + mapped addresses. + * posix/Makefile (tests): Add tst-rfc3484-2. + * posix/tst-rfc3484-2.c: New file. + + * nis/nss_nisplus/nisplus-publickey.c: Minor cleanups throughout. + * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_parse_servent): + Significant cleanups. Correct adjustment for pointer array. + * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent): + Likewise. + * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_parse_protoent): + Likewise. + * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_parse_netent): + Likewise. + * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent): Likewise. -2009-08-16 Ulrich Drepper +2006-04-14 Ulrich Drepper - * scripts/gen-as-const.awk: Fix test for 64-bit platform. + * sysdeps/unix/sysv/linux/syscalls.list: Add tee syscall. + * sysdeps/unix/sysv/linux/Versions: Export tee@GLIBC_2.5. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Add prototype for tee. + * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. -2009-08-14 Ulrich Drepper + * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_parse_etherent): + Minor cleanups. NUL terminate name string. - * test-skeleton.c (signal_handler): Renamed from timeout_handler. - Also handle SIGINT. In that case only do the cleanup and then - re-raise the signal. - (main): Install handler for SIGINT. + * nis/Versions: No need to export _nss_nisplus_parse_grent, + _nss_nisplus_parse_pwent, and _nss_nisplus_parse_spent. -2009-08-10 SUGIOKA Toshinobu + * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_parse_aliasent): + Avoid unnecessary allocation. Fix adjustment for pointer value. - * stdlib/longlong.h [__sh__] (udiv_qrnnd, sub_ddmmss): Add "t" to - clobber list. - -2009-08-01 H.J. Lu - - * elf/Makefile (distribute): Add tst-audit6.c tst-auditmod6a.c - tst-auditmod6b.c tst-auditmod6c.c tst-audit7.c tst-auditmod7a.c - tst-auditmod7b.c. - (tests): Add tst-audit6 tst-audit7. - (modules-names): Add st-auditmod6a tst-auditmod6b tst-auditmod6c - tst-auditmod7a tst-auditmod7b. - ($(objpfx)tst-audit6): New. - ($(objpfx)tst-audit6.out): Likewise. - ($(objpfx)tst-audit7): Likewise. - ($(objpfx)tst-audit7.out): Likewise. - (tst-audit6-ENV): Likewise. - (tst-audit7-ENV): Likewise. - (CFLAGS-tst-auditmod6b.c): Likewise. - (CFLAGS-tst-auditmod6c.c): Likewise. - (CFLAGS-tst-auditmod7b.c): Likewise. - * elf/tst-audit6.c: New file. - * elf/tst-audit7.c: New file. - * elf/tst-auditmod6a.c: New file. - * elf/tst-auditmod6b.c: New file. - * elf/tst-auditmod6c.c: New file. - * elf/tst-auditmod7a.c: New file. - * elf/tst-auditmod7b.c: New file. - * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Move - saving and restoring SSE/AVX registers to ... - * sysdeps/x86_64/dl-trampoline.h: This. New file. - -2009-08-07 H.J. Lu - - * sysdeps/i386/i686/multiarch/strcspn.S (STRCSPN): Use PIC - only if SHARED is defined. - * sysdeps/i386/i686/multiarch/strspn.S (strspn): Likewise. - -2009-08-03 Jim Meyering - - * sysdeps/i386/configure.in: Use AC_HEADER_CHECK. - -2009-08-08 Ulrich Drepper - - * sysdeps/x86_64/multiarch/strlen.S: Move SSE4.2 version into the same - section as the other functions for this architecture. - * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise. - -2009-08-07 Ulrich Drepper - - * sysdeps/x86_64/strcmp.S: Add support to compile with - USE_SSSE3. In this case palignr is used. - * sysdeps/x86_64/multiarch/strcmp.S (strcmp): If SSE4.2 is not - available but SSSE3 is, pick __str{,n}cmp_ssse3. - * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines): - Add strcmp-ssse3 and strncmp-ssse3. - * sysdeps/x86_64/multiarch/strcmp-ssse3.S: New file. - * sysdeps/x86_64/multiarch/strncmp-ssse3.S: New file. - - * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE42): Avoid - warning through fake initialization. - -2009-08-07 H.J. Lu - - * sysdeps/i386/i686/multiarch/strlen.S (ENTRY): Add the missing "; \". - -2009-08-07 Andreas Schwab - - * elf/dl-lookup.c (do_lookup_x): Enter correct name into table of - unique symbols. - -2009-08-05 H.J. Lu - - * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Properly use - EBX from EAX = 1. Handle EAX = 11. - -2009-08-07 Andreas Schwab - - * Makefile (TAGS): Use separate sed -e expressions to avoid \ - inside ''. - -2009-08-03 H.J. Lu - - * sysdeps/i386/i686/multiarch/strcspn.S: Add comments for no - hidden IFUNC functions. - * sysdeps/i386/i686/multiarch/strspn.S: Likewise. - - * sysdeps/i386/i686/multiarch/strlen.S: New file. - - * sysdeps/i386/i686/multiarch/Makefile [subdir=string] - (sysdep_routines): Add strcspn-c, strpbrk-c, strspn-c, strstr-c, and - strcasestr-c. - (CFLAGS-strcspn-c.c): Define. - (CFLAGS-strpbrk-c.c): Define. - (CFLAGS-strspn-c.c): Define. - (CFLAGS-strstr.c): Define. - (CFLAGS-strcasestr.c): Define. - * sysdeps/i386/i686/multiarch/strcspn-c.c: New file. - * sysdeps/i386/i686/multiarch/strcspn.S: New file. - * sysdeps/i386/i686/multiarch/strpbrk-c.c: New file. - * sysdeps/i386/i686/multiarch/strpbrk.S: New file. - * sysdeps/i386/i686/multiarch/strspn-c.c: New file. - * sysdeps/i386/i686/multiarch/strspn.S: New file. - * sysdeps/i386/i686/multiarch/strstr-c.c: New file. - * sysdeps/i386/i686/multiarch/strstr.c: New file. - * sysdeps/i386/i686/multiarch/strcasestr-c.c: New file. - * sysdeps/i386/i686/multiarch/strcasestr.c: New file. - * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE42): Use - -16L instead of 0xfffffffffffffff0L. - * sysdeps/x86_64/multiarch/strspn-c.c (__strspn_sse42): Likewise. - -2009-08-02 Ulrich Drepper - - * sysdeps/i386/configure.in: Add test for . - -2009-07-31 Ulrich Drepper - - * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (longjmp_msg): Yet - another rewrite. Much smaller and faster. - * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise. - - * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (longjmp_msg): Get - ss_flags from the correct location. - -2009-07-31 H.J. Lu - - * sysdeps/i386/i686/Makefile (sysdep_routines): Add cacheinfo. - * sysdeps/i386/i686/cacheinfo.c: New file. - * sysdeps/i386/i686/multiarch/Makefile: New file. - * sysdeps/i386/i686/multiarch/ifunc-defines.sym: New file. - * sysdeps/i386/i686/multiarch/init-arch.c: New file. - * sysdeps/i386/i686/multiarch/init-arch.h: New file. - * sysdeps/i386/i686/multiarch/sched_cpucount.c: New file. - * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: New file. - * sysdeps/x86_64/cacheinfo.c: Include . - (__cpuid_count): New. Provide the default. - (__x86_64_prefetchw): Define only if DISABLE_PREFETCHW is not defined. - (__x86_64_preferred_memory_instruction): Define only if - DISABLE_PREFERRED_MEMORY_INSTRUCTION is not defined. - (intel_check_word): Use __cpuid. - (handle_intel): Likewise. - (handle_amd): Likewise. - (__cache_sysconf): Likewise. - (init_cacheinfo): Updated. Use __cpuid and __cpuid_count. - (__cache_sysconf): Likewise. - (init_cacheinfo): Updated. Use __cpuid and __cpuid_count. - * sysdeps/x86_64/multiarch/init-arch.c: Include . - (get_common_indeces): Use __cpuid. - (__init_cpu_features): Likewise. Disable SSSE3 on Atom only - if ENABLE_SSSE3_ON_ATOM is not defined. - * sysdeps/x86_64/multiarch/init-arch.h (HAS_SSE2): Define. - * sysdeps/x86_64/multiarch/sched_cpucount.c (POPCNT): Use - popcnt instead of popcntq. - -2009-07-31 Jakub Jelinek - - * malloc/Makefile (CFLAGS-obstack.c): Add $(uses-callbacks). - -2009-07-30 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: New file. - * sysdeps/i386/____longjmp_chk.S: Remove all code. This is now a file - which always causes a compile error. - - * sysdeps/i386/__longjmp.S: Remove bound-checking pointer support. - - * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: New file. Content - comes from... - * sysdeps/x86_64/____longjmp_chk.S: ...here. This is now a file - which always causes a compile error. - - * debug/Makefile (tests): Add tst-longjmp_chk2. - * debug/tst-longjmp_chk2.c: New file. - - * sysdeps/x86_64/__longjmp.S: Remove CHECK_RSP handling. Fix CFI. - Remove incorrect use of BP_SYM. - * sysdeps/x86_64/____longjmp_chk.S: Rewrite. Complete implementation - here now since it is more complex than just a simple check. - - * sysdeps/ia64/backtrace.c (backtrace_helper): Stop backtrace when - we make no more progress. - -2009-07-29 Ulrich Drepper - - * math/s_fma.c: Don't define alias if __fma is a macro. - * math/s_fmaf.c: Likewise. - * sysdeps/x86_64/multiarch/s_fma.c: New file. - * sysdeps/x86_64/multiarch/s_fmaf.c: New file. - Partially based on a patch by H.J. Lu . - - * sysdeps/x86_64/multiarch/init-arch.h (__get_cpu_features): Declare. - (HAS_POPCOUNT, HAS_SSE4_2): Add variants which work outside libc. - New macro HAS_FMA. - * sysdeps/x86_64/multiarch/init-arch.c (__get_cpu_features): New - function. - * include/libc-symbols.h (libm_ifunc): Define. - * sysdeps/x86_64/multiarch/Versions: New file. - - * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Improve CFI. - -2009-07-28 H.J. Lu - - * sysdeps/x86_64/dl-trampoline.S: Properly restore AVX registers. - -2009-07-29 Ulrich Drepper - - * elf/dl-runtime.c (_dl_fixup): Indicate before _dl_lookup_symbol_x - call that registers used in calling conventions need to be preserved. - * elf/dl-lookup.c (do_lookup_x): Use RTLD_*_FOREIGN_CALL macros - to preserve register content if necessary. - * sysdeps/x86_64/dl-trampoline.S (_dl_x86_64_save_sse): New function. - (_dl_x86_64_restore_sse): New function. - * sysdeps/x86_64/tst-xmmymm.sh: There is now one more function that - is allowed to modify xmm/ymm registers. - - * stdio-common/scanf15.c: Undefine _LIBC. We want to test from an - application's perspective. - * stdio-common/scanf17.c: Likewise. - -2009-07-28 Ulrich Drepper - - * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Don't add TCB - size to memsz. - (init_static_tls) [TLS_TCB_AT_TP]: Add it to GL(dl_tls_static_size) - here. - * elf/dl-reloc.c (_dl_try_allocate_static_tls): Compute freebytes in - two steps to catch bugs. - -2009-07-27 Ulrich Drepper - - * sysdeps/x86_64/tst-xmmymm.sh: Refine testing. The script now - determines which files are used in runtime lookups and only checks - those for SSE use. - * sysdeps/x86_64/rtld-memchr.c: Removed. Not needed with refined - testing. - * sysdeps/x86_64/rtld-rawmemchr.c: Removed. - * sysdeps/x86_64/multiarch/rtld-rawmemchr.c: Removed - * sysdeps/x86_64/Makefile: Emit warning that tst-xmmymm.sh might - take a while. - - * elf/dl-open.c: Move _dl_scope_free to... - * elf/dl-scope.c: ...here. New file. - * elf/Makefile (dl-routines): Add scope. - - * resolv/resolv.h (RES_USE_DNSSEC): Define. - * resolv/res_debug.c (p_option): Handle RES_USE_EDNS0 and - RES_USE_DNSSEC. - * resolv/res_mkquery.c (__res_nopt): Set flags for RES_USE_DNSSEC. - * resolv/res_query.c (__libc_res_nquery): Handle RES_USE_DNSSEC in - all the places we handled RES_USE_EDNS0 only before. - Patch by Adam Tkac . - -2009-07-27 Jakub Jelinek - - * elf/dl-lookup.c (do_lookup_x): Fix check for table more than - 3/4 full. Pass size + 1 rather than size to _dl_higher_prime_number. - Update size when reallocating. - -2009-07-26 Ulrich Drepper - - * sysdeps/x86_64/tst-xmmymm.sh: New file. Check whether any of the - functions used in ld.so modify xmm/ymm registers. - * sysdeps/x86_64/Makefile: Hook new test up. - * sysdeps/x86_64/rtld-memchr.c: New file. - * sysdeps/x86_64/rtld-memcmp.c: New file. - * sysdeps/x86_64/rtld-rawmemchr.c: New file. - * sysdeps/x86_64/rtld-strchr.S: New file. - * sysdeps/x86_64/rtld-strlen.S: New file. - * sysdeps/x86_64/multiarch/rtld-rawmemchr.c: New file. - * sysdeps/x86_64/multiarch/rtld-strlen.S: New file. - -2009-07-26 H.J. Lu - - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove - strncmp-c. - * sysdeps/x86_64/multiarch/strcmp.S (aftertail): Removed. - (exit): Likewise. - (Byte1): Likewise. - (Byte2): Likewise. - (Byte3): Likewise. - (Byte4): Likewise. - (Byte5): Likewise. - (Byte6): Likewise. - (next_8_bytes): Likewise. - (Byte0): Remove commented out codes. - (unaligned_table): Align jump table at 8 bytes. - Add _sse4_2 to all labels. Always include "../strcmp.S". - * sysdeps/x86_64/multiarch/strncmp-c.c: Removed. - * sysdeps/x86_64/strcmp.S: Add SSE2 support. - * sysdeps/x86_64/strncmp.S: New file. - -2009-07-26 Ulrich Drepper - - [BZ #10422] - * sysdeps/unix/sysv/linux/eventfd.c: Add compatibility for old - kernels, dropped when eventfd2 support was added. - * sysdeps/unix/sysv/linux/signalfd.c: Add compatibility for old - kernels, dropped when signalfd4 support was added. - * sysdeps/unix/sysv/linux/kernel-features.h: More CLOEXEC syscalls - added, name them. - - [BZ #10452] - * resolv/res_send.c (send_dg): Pass full SERVFAIL, NOTIMP, REFUSED - replies up. - - * elf/elf.h: Define NT_GNU_GOLD_VERSION. - -2009-07-25 Ulrich Drepper - - * sysdeps/x86_64/multiarch/strcmp.S: Some more optimizations for - modern processor versions. Patch by H.J. Lu . - - [BZ #10448] - * sysdeps/posix/getaddrinfo.c (gaih_inet): If NSS module contains no - callback we must touch the status to avoid using stale value. - - * sysdeps/x86_64/multiarch/strcmp.S: Exclude unused code from being - compiled in. - -2009-07-24 Ulrich Drepper - - * sysdeps/unix/sysv/linux/configure.in: Don't automatically include - /lib/modules/* headers anymore. We have sane headers in the standard - place now. - -2009-06-16 Andreas Krebbel - - * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): "hpage", - "etf3enh" and "highgprs" added. - (_dl_s390_platforms): "z10" added. - * sysdeps/s390/dl-procinfo.h (_DL_HWCAP_COUNT, _DL_PLATFORMS_COUNT): - Increased for the new entries. - (HWCAP enum): HWCAP_S390_HPAGE, HWCAP_S390_ETF3EH and - HWCAP_S390_HIGH_GPRS added. - - * sysdeps/s390/s390-64/Makefile: Adjusted to build the new modules. - * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: New file. - * sysdeps/s390/s390-64/utf16-utf32-z9.c: New file. - * sysdeps/s390/s390-64/utf8-utf16-z9.c: New file. - * sysdeps/s390/s390-64/utf8-utf32-z9.c: New file. - -2009-07-23 Ulrich Drepper - - * sysdeps/x86_64/cacheinfo.c [USE_MULTIARCH]: Rearrange code to - avoid additional cpuid instructions. Most of the information is - stored somewhere. - - * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Add more - cache descriptors. - * sysdeps/x86_64/cacheinfo.c (intel_02_known): Likewise. - - * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Reset - SSSE3 bit for Atoms. - * sysdeps/x86_64/multiarch/strcpy.S: New need to perform Atom test - here anymore. - - * posix/tst-rfc3484.c (do_test): Initialize entire sockaddr_in - structure before copying it to avoid warning. - * posix/tst-rfc3484-2.c (do_test): Likewise. - * posix/tst-rfc3484-3.c (do_test): Likewise. - - [BZ #10416] - * include/unistd.h: Make header file suitable for C++ test cases. - Patch by Duncan Simpson . - - * sysdeps/unix/sysv/linux/i386/makecontext.S: Ensure we preserve the - stack alignment in the exit code. - - * elf/dl-lookup.c (dl_lookup_x): The hashval for unique symbol can - potentially be zero. - - * elf/tst-unique1.c: Extend test to check for unloading DSO with - unique symbol definition. - Patch by Jakub Jelinek. - * elf/dl-lookup.c (do_lookup_x): When entering a new unique symbol, - make sure the object with the definition cannot be unloaded. Adjust - a few types. - * sysdeps/generic/ldsodefs.h (struct rtld_global): The map element in - the unique symbol hash table should not be const. - -2009-07-21 Ulrich Drepper - - * sysdeps/x86_64/multiarch/strstr.c: Minor cleanups. Remove - unnecesary variables. Comment fixes. - -2009-07-20 Ulrich Drepper - - * sysdeps/x86_64/multiarch/strstr.c [USE_AS_STRCASESTR] (STRSTR_SSE42): - Use NONASCII_CASE information provided by the locale to determine - whether optimized string load function can be used. Minor cleanups. + * nis/nss_nisplus/nisplus-parser.c: Cleanups, use NIS_RES_* + macros. Avoid unnecessary allocation. -2009-07-20 H.J. Lu - - * string/strcasestr.c (STRCASESTR): New macro. - (__strcasestr): Renamed to .. - (STRCASESTR): ...this. - * string/strstr.c (STRSTR): New macro. - (strstr): Renamed to .. - (STRSTR): ...this. - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add - strstr-c strcasestr-c - (CFLAGS-strstr.c): New. - (CFLAGS-strcasestr.c): Likewise. - * sysdeps/x86_64/multiarch/strcasestr-c.c: New file. - * sysdeps/x86_64/multiarch/strcasestr.c: New file. - * sysdeps/x86_64/multiarch/strstr-c.c: New file. - * sysdeps/x86_64/multiarch/strstr.c: New file. - -2009-07-20 Ulrich Drepper - - * locale/localeinfo.h (LIMAGIC): Update value for LC_CTYPE. - * locale/langinfo.h: Define _NL_CTYPE_NONASCII_CASE. - * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializer for - _NL_CTYPE_NONASCII_CASE. - * locale/programs/ld-ctype.c (locale_ctype_t): Add nonascii_case - field. - (ctype_finish): Check whether there are any 8-bit characters outside - the range ASCII has or whether the mapping isn't the same as for - ASCII (±0x20). Set nonascii_case appropriately. - (ctype_output): Add output handler for nonascii_case. - -2009-07-17 Ulrich Drepper - - * sysdeps/generic/sysdep.h: Define cfi_personality, cfi_lsda, - CFI_PERSONALITY, CFI_LSDA, and DW_EH_PE_* constants. - -2009-07-16 Ulrich Drepper - - [BZ #10360] - * resolv/res-mkquery.c (__res_nopt): If anslen is > 0xffff store - 0xffff in the EDNS0 record. - -2009-07-16 Ulrich Drepper - - * nscd/cache.c (cache_add): Use atomic_compare_and_exchange_bool_rel - instead of atomic_compare_and_exchange_bool_acq to ensure pointer - is written before the list head update. - Patch by Andreas Schwab . - -2009-07-16 Ulrich Drepper + * sysdeps/unix/sysv/linux/sync_file_range.c: New file. + +2006-04-13 Ulrich Drepper + + * nis/Makefile (libnsl-routimes): Add nss-default. + * nis/Versions (libnsl) [GLIBC_PRIVATE]: Export _nsl_default_nss. + * nis/nss-nis.c: Move /etc/default/nss handling to... + * nis/nss-default.c: ...here. New file. + * nis/libnsl.h: New file. + * nis/nss-nis.h: Remove NSS_FLAG_* definitions and _nis_default_nss + plus auxilary definitions. + * nis/nss_nis/nis-initgroups.c: Use _nsl_default_nss instead of + _nis_default_nss. + * nis/nss_nis/nis-service.c: Likewise. + +2006-04-07 Steven Munroe + + * sysdeps/powerpc/fpu/bits/mathinline.h + [__WORDSIZE == 64 || _ARCH_PWR4]: Define __CPU_HAS_FSQRT. + (__ieee754_sqrt): Fix comment. + (__ieee754_sqrtf): Fix comment. + * sysdeps/powerpc/fpu/e_sqrt.c (__ieee754_sqrt): Fix comment. + Check __CPU_HAS_FSQRT instead of dl_hwcap. + * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Likewise. + +2006-04-08 Ulrich Drepper + + * inet/inet_ntoa.c: Rewrite to use TLS instead of TSD. + + * nis/nss_nis/nis-alias.c: Optimize use of yperr2nss. Avoid calling + it for YPERR_SUCCESS. Minor cleanups. Add __builtin_expect. + * nis/nss_nis/nis-ethers.c: Likewise. + * nis/nss_nis/nis-grp.c: Likewise. + * nis/nss_nis/nis-hosts.c: Likewise. + * nis/nss_nis/nis-initgroups.c: Likewise. + * nis/nss_nis/nis-netgrp.c: Likewise. + * nis/nss_nis/nis-network.c: Likewise. + * nis/nss_nis/nis-proto.c: Likewise. + * nis/nss_nis/nis-publickey.c: Likewise. + * nis/nss_nis/nis-pwd.c: Likewise. + * nis/nss_nis/nis-rpc.c: Likewise. + * nis/nss_nis/nis-service.c: Likewise. + * nis/nss_nis/nis-spwd.c: Likewise. + + * nis/nis_ping.c: Remove unnecessary conditionals before + nis_freeresult calls. + * nis/nis_ismember.c: Likewise. + + * elf/rtld.c (process_envvars): Fix handling of LD_POINTER_GUARD. + Reported by genesh@comcast.net. + + * io/fts.c (fts_build): Call fts_lfree in the two error cases + after the loop [Coverity CID 187]. + + * nis/nis_getservlist.c (nis_getservlist): Also free lookup result + in error case [Coverity CID 189]. + + * nis/nis_getservlist.c (nis_getservlist): One more free call + needed [Coverity CID 190]. + +2006-04-07 Jakub Jelinek + + * sysdeps/generic/unwind-dw2-fde.c (end_fde_sort): Remove + unnecessary test for accu->linear == NULL [Coverity CID 79]. + +2006-04-07 Ulrich Drepper + + * sysdeps/posix/tempname.c (__gen_tempname): Change attempts_min + into a macro. Use preprocessor to decide how to initialize + attempts [Coverity CID 67]. + + * io/fts.c (fts_build): Comment out dead code [Coverity CID 68]. + + * sunrpc/rpc_parse.c (def_union): Comment out dead code + [Coverity CID 70]. + + * locale/programs/linereader.c (lr_token): Remove duplicate + handling of EOF [Coverity CID 71]. + + * locale/programs/ld-numeric.c (numeric_read) [case tok_grouping]: + We bail out early if ignore_content is set, so there is no need to + check it later again [Coverity CID 72]. + + * inet/inet6_option.c (inet6_option_find): Check *tptrp for NULL, + not tptrp [Coverity CID 73]. + + * inet/inet6_option.c (inet6_option_next): Check *tptrp for NULL, + not tptrp [Coverity CID 74]. + + * misc/tsearch.c (__tsearch): Don't rotate tree if memory + allocation failed [Coverity CID 78]. + +2006-04-07 Jakub Jelinek + + * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Fix typo in + the last change. + +2006-04-07 Ulrich Drepper + + * inet/rexec.c (rexec_af): If we have no canonical name don't + proceed further [Coverity CID 86]. + + * iconv/iconv_charmap.c (process_fd): Initialize inptr from inbuf, + not to NULL [Coverity CID 88]. + +2006-04-06 Ulrich Drepper + + * elf/ldconfig.c (main): Use rawmemchr instead of strchr. + * nis/nis_call.c (rec_dirsearch): Likewise. + * nis/nis_local_names.c (nis_local_host): Likewise. + (nis_local_directory): Likewise. + * intl/explodename.c (_nl_explode_name): Likewise. + + * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Don't handle + DW_CFA_GNU_window_save if it obviously cannot work [Coverity CID 102]. + + * locale/programs/ld-address.c (address_finish): Fix conditions + for error messages [Coverity CID 104]. + + * libio/fmemopen.c (fmemopen): Free stream memory in case of + invalid length [Coverity CID 106]. + + * nss/nss_files/files-key.c (search): Close stream before + successful return [Coverity CID 107]. + + * io/fts.c (fts_open): Don't allocate parent if *argv==NULL + [Coverity CID 108]. + + * sunrpc/rpc_cout.c (inline_struct): Free sizestr after use + [Coverity CID 110, 109]. + + * sunrpc/rpc_scan.c (docppline): Free file string if it is not + going to be used [Coverity CID 111]. + + * sysdeps/unix/sysv/linux/getsourcefilter.c (getsourcefilter): Free + memory if socket level value cannot be retrieved [Coverity CID 112]. + + * nis/nis_clone_dir.c (nis_clone_directory): Free all memory in + error case [Coverity CID 114]. + + * nis/nis_clone_res.c (nis_clone_result): Free all memory in the + error cases [Coverity CID 115]. + + * sunrpc/rpc_parse.c (get_definition): Free defp if tok == + TOK_EOF [Coverity CID 116]. + + * sysdeps/unix/sysv/linux/setsourcefilter.c (setsourcefilter): Free + memory if socket level value cannot be retrieved [Coverity CID 117]. + + * elf/cache.c (save_cache): Initialize pad to avoid writing + uninitialized data to disk. + + * elf/cache.c (save_cache): Free file_entries_new [Coverity CID 118]. + + * intl/finddomain.c (_nl_find_domain): Avoid strdup of expand + locale name, use strdupa. Remove free call [Coverity CID 119]. + + * sunrpc/rpc_main.c (generate_guard): Avoid extra allocation and + the resulting leak [Coverity CID 121]. + + * sunrpc/rpc_main.c (mkfile_output): Free all allocated memory + [Coverity CID 122]. + + * sunrpc/rpc_main.c (h_output): Free guard after we are done + [Coverity CID 123]. + + * sunrpc/svc_udp.c (cache_set): Free victim if newbuf allocation + fails [Coverity CID 126]. + + * sunrpc/svc_udp.c (svcudp_enablecache): Free memory in error + cases [Coverity CID 127]. + + * nis/nis_table.c (__create_ib_request): Free ibreq in case strdup + fails [Coverity CID 128]. + + * nis/nis_getservlist.c (nis_getservlist): Free all memory in case + of an error [Coverity CID 130, 129]. + + * nis/nis_print_group_entry.c (nis_print_group_entry): If + nis_lookup call failed, return. Free lookup result in error + cases [Coverity CID 131]. + + * nis/nis_removemember.c (nis_removemember): Free all memory in + error cases [Coverity CID 132]. + + * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r): + Always free lookup result [Coverity CID 134]. + + * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r): + Always free lookup result [Coverity CID 135]. + + * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r): + Always free lookup result [Coverity CID 136]. + + * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r): + Before retrying, free old result [Coverity CID 137]. + + * nis/nss_nisplus/nisplus-publickey.c (_nss_nisplus_netname2user): + Free res in case UID is zero [Coverity CID 138]. + + * nis/ypclnt.c (yp_update): Always free master string + [Coverity CID 140]. + + * nis/nis_creategroup.c (nis_creategroup): Free all memory in + error cases [Coverity CID 143, 142, 141]. + + * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey): Free result + if yp_match call succeeded [Coverity CID 155]. + + * nis/nss_nis/nis-publickey.c (_nss_nis_getsecretkey): Free string + allocated in yp_match at all times [Coverity CID 157, 156]. + + * nscd/nscd.c (write_pid): Close stream also if writing failed + [Coverity CID 165]. + + * nis/nis_table.c (nis_add_entry): Move test for NULL parameter + ahead of first use [Coverity CID 167]. + + * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Move test + for NULL parameter ahead of first use [Coverity CID 168]. + + * intl/finddomain.c (_nl_find_domain): We never return NULL if we + found the locale [Coverity CID 169]. + + * inet/getnameinfo.c (getnameinfo): __getservbyport_r does not set + herrno [Coverity CID 178]. + + * nis/nis_checkpoint.c (nis_checkpoint): Don't access and returned + freed object [Coverity CID 182]. + +2006-04-05 Alan Modra Jakub Jelinek - * malloc/malloc.c [ATOMIC_FASTBINS] (_int_free): Make check for - corruption thread-safe. + * posix/bits/unistd.h (readlink, __readlink_chk, __readlink_alias): + Change return value to ssize_t. -2009-07-13 Jakub Jelinek +2006-04-04 Roland McGrath - * include/atomic.h (catomic_compare_and_exchange_val_rel): If arch - overrides atomic_compare_and_exchange_val_rel, define to - atomic_compare_and_exchange_val_rel by default, otherwise default - to catomic_compare_and_exchange_val_acq. - (catomic_compare_and_exchange_bool_rel): If arch overrides - atomic_compare_and_exchange_bool_rel, define to - atomic_compare_and_exchange_bool_rel by default. - * malloc/malloc.c (_int_free): Revert 2009-07-02 change. - Use catomic_compare_and_exchange_val_rel instead of - catomic_compare_and_exchange_val_acq. + * string/Makefile (CFLAGS-inl-tester.c): New variable. + (CFLAGS-tst-inlcall.c): Likewise. -2009-07-16 Ulrich Drepper + [BZ #2508] + * nscd/Makefile ($(objpfx)nscd_stat.o: sysincludes): Move setting + inside [$(have-selinux) = yes]. + ($(objpfx)selinux.o: sysincludes): Likewise. - * sysdeps/generic/ldsodefs.h: Add prototype for - _dl_higher_prime_number. - * elf/dl-misc.c (_dl_higher_prime_number): Mark with internal_function. + * iconvdata/Makefile (generate-8bit-table): Use LC_ALL=C. + (generate-8bit-gap-table): Likewise. + ($(objpfx)iso8859-7jp.stmp): Likewise. + Reported by S.Çağlar Onur . - * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Optimize - restoring of ymm registers a bit. +2006-03-21 Joseph S. Myers -2009-07-15 H.J. Lu + * soft-fp/adddf3.c: Add libgcc exception. Update FSF address. + * soft-fp/addsf3.c: Likewise. + * soft-fp/addtf3.c: Likewise. + * soft-fp/divdf3.c: Likewise. + * soft-fp/divsf3.c: Likewise. + * soft-fp/divtf3.c: Likewise. + * soft-fp/double.h: Likewise. + * soft-fp/eqdf2.c: Likewise. + * soft-fp/eqsf2.c: Likewise. + * soft-fp/eqtf2.c: Likewise. + * soft-fp/extenddftf2.c: Likewise. + * soft-fp/extended.h: Likewise. + * soft-fp/extendsfdf2.c: Likewise. + * soft-fp/extendsftf2.c: Likewise. + * soft-fp/fixdfdi.c: Likewise. + * soft-fp/fixdfsi.c: Likewise. + * soft-fp/fixsfdi.c: Likewise. + * soft-fp/fixsfsi.c: Likewise. + * soft-fp/fixtfdi.c: Likewise. + * soft-fp/fixtfsi.c: Likewise. + * soft-fp/fixunsdfdi.c: Likewise. + * soft-fp/fixunsdfsi.c: Likewise. + * soft-fp/fixunssfdi.c: Likewise. + * soft-fp/fixunssfsi.c: Likewise. + * soft-fp/fixunstfdi.c: Likewise. + * soft-fp/fixunstfsi.c: Likewise. + * soft-fp/floatdidf.c: Likewise. + * soft-fp/floatdisf.c: Likewise. + * soft-fp/floatditf.c: Likewise. + * soft-fp/floatsidf.c: Likewise. + * soft-fp/floatsisf.c: Likewise. + * soft-fp/floatsitf.c: Likewise. + * soft-fp/floatundidf.c: Likewise. + * soft-fp/floatundisf.c: Likewise. + * soft-fp/floatunditf.c: Likewise. + * soft-fp/floatunsidf.c: Likewise. + * soft-fp/floatunsisf.c: Likewise. + * soft-fp/floatunsitf.c: Likewise. + * soft-fp/gedf2.c: Likewise. + * soft-fp/gesf2.c: Likewise. + * soft-fp/getf2.c: Likewise. + * soft-fp/ledf2.c: Likewise. + * soft-fp/lesf2.c: Likewise. + * soft-fp/letf2.c: Likewise. + * soft-fp/muldf3.c: Likewise. + * soft-fp/mulsf3.c: Likewise. + * soft-fp/multf3.c: Likewise. + * soft-fp/negdf2.c: Likewise. + * soft-fp/negsf2.c: Likewise. + * soft-fp/negtf2.c: Likewise. + * soft-fp/op-1.h: Likewise. + * soft-fp/op-2.h: Likewise. + * soft-fp/op-4.h: Likewise. + * soft-fp/op-8.h: Likewise. + * soft-fp/op-common.h: Likewise. + * soft-fp/quad.h: Likewise. + * soft-fp/single.h: Likewise. + * soft-fp/soft-fp.h: Likewise. + * soft-fp/sqrtdf2.c: Likewise. + * soft-fp/sqrtsf2.c: Likewise. + * soft-fp/sqrttf2.c: Likewise. + * soft-fp/subdf3.c: Likewise. + * soft-fp/subsf3.c: Likewise. + * soft-fp/subtf3.c: Likewise. + * soft-fp/truncdfsf2.c: Likewise. + * soft-fp/trunctfdf2.c: Likewise. + * soft-fp/trunctfsf2.c: Likewise. + * soft-fp/unorddf2.c: Likewise. + * soft-fp/unordsf2.c: Likewise. + * soft-fp/unordtf2.c: Likewise. - * sysdeps/x86_64/memcmp.S: New file. +2006-04-03 Steven Munroe -2009-07-15 Ulrich Drepper + [BZ #2505] + * sysdeps/powerpc/powerpc32/bits/atomic.h [_ARCH_PWR4]: + Define atomic_read_barrier and __ARCH_REL_INSTR using lwsync. - * sysdeps/x86-64/dl-trampoline.h: Remove after integrating code into... - * sysdeps/x86-64/dl-trampoline.S: ...here. Rewrite to avoid function - pointers in writable memory. +2006-04-03 Andreas Schwab -2009-07-07 H.J. Lu + * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Terminate FDE + before syscall. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise. - * config.h.in: Add HAVE_AVX_SUPPORT entry. - * config.make.in: Add config-cflags-avx entry. - * configure.in: Substitute libc_cv_cc_avx. - * elf/Makefile: Add rules to build and run tst-audit4 and tst-audit5. - * elf/tst-audit4.c: New file. - * elf/tst-audit5.c: New file. - * elf/tst-auditmod4a.c: New file. - * elf/tst-auditmod4b.c: New file. - * elf/tst-auditmod5a.c: New file. - * elf/tst-auditmod5b.c: New file. - * sysdeps/x86_64/Makefile (gen-as-const-headers): Add - link-defines.sym. - * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): New. - (La_x86_64_vector): Likewise. - (La_x86_64_regs): Append lr_vector. - (La_x86_64_retval): Append lr_vector0/lrv_vector1. - * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Move - saving and restoring SSE registers to ... - * sysdeps/x86_64/dl-trampoline.h: This. New file. - * sysdeps/x86_64/dl-trampoline.S: Include and - . - (_dl_runtime_profile): Use LR_SIZE to allocate space for - La_x86_64_regs. Allocate extra space and jump to memory at - save_and_restore_vector if HAVE_AVX_SUPPORT is defined. - (save_and_restore_vector_sse): New. - (save_and_restore_vector_avx): Likewise. - (check_avx): Likewise. - (save_and_restore_vector): Likewise. - * sysdeps/x86_64/elf/configure.in: Set libc_cv_cc_avx and - HAVE_AVX_SUPPORT. - * sysdeps/x86_64/link-defines.sym: New file. + * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Test for + with [! _ASM_POWERPC_ELF_H] as well as [!__PPC64_ELF_H]. -2009-07-10 Ulrich Drepper +2006-04-03 Roland McGrath - * elf/do-lookup.h: Removed after folding content into... - * elf/dl-lookup.c: ...here. + [BZ #2507] + * mach/Machrules (.udeps-targets): New variable. + ($(objpfx)%.udeps static pattern rule): Use it to avoid \ inside + quoted string. - * sysdeps/unix/sysv/linux/sys/epoll.h: Fix comment. +2006-04-02 Ulrich Drepper -2009-07-09 Ulrich Drepper + [BZ #2501] + * nscd/nscd_helper.c (get_mapping): Rewrite code to send request + so it uses send and not writev. - * configure.in: Check for gnu_unique_symbol symbol type. - * config.h.in: Add HAVE_ASM_UNIQUE_OBJECT entry. - * elf/do-lookup.h (do_lookup_x): Take new parameter with link map of - the undefined symbol. Handle STB_GNU_UNIQUE binding of found symbol. - * elf/dl-lookup.c (_dl_lookup_symbol_x): Adjust callers for do_lookup_x - change. - * sysdeps/generic/ldsodefs.h (struct rtld_global): Add definitions for - unique symbol table. - * elf/rtld.c (rtld_global): Initialize lock of unique symbol hash table - for first namespace. - * elf/dl-open.c (_dl_open): For new namespace, initialize lock for - unique symbol hash table. - * elf/Makefile: Add rules to build and run tst-unique1 and tst-unique2. - * elf/tst-unique1.c: New file. - * elf/tst-unique1mod1.c: New file. - * elf/tst-unique1mod2.c: New file. - * elf/tst-unique2.c: New file. - * elf/tst-unique2mod1.c: New file. - * elf/tst-unique2mod2.c: New file. + [BZ #2418] + * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Use larger of PATH_MAX + and page size when allocating buffer. -2009-07-07 Ulrich Drepper + * sysdeps/unix/sysv/linux/bits/socket.h (struct msghdr): Document + msg_controllen type issue. + (struct cmsghdr): Same for cmsg_len. - * elf/elf.h (STB_GNU_UNIQUE): Define. +2006-04-01 Ulrich Drepper - * elf/dl-misc.c (_dl_higher_prime_number): New function. Moved here - from... - * include/inline-hashtab.h: ...here. - (htab_expand): Adjust for renamed function. Correct memory handling. + [BZ #2415] + * elf/ldd.bash.in: Create better error messages for invalid input + files. -2009-07-06 Ulrich Drepper + [BZ #2477] + * sysdeps/unix/sysv/linux/i386/sysdep.h: Create correct LOADARGS_* + macros for non-shared position-independent code. - * elf/do-lookup.h (do_lookup_x): Optimize test for valid symbol types. + [BZ #2472] + * bits/siginfo.h: Fix typo in ILL_ILLOPN definition. -2009-07-03 Andreas Schwab + [BZ #2450] + * posix/unistd.h: Match return value of readlink to what POSIX + says these days. + * io/readlink.c: Likewise. + * io/readlinkat.c: Likewise. + * sysdeps/unix/sysv/linux/readlinkat.c: Likewise. - * sysdeps/powerpc/sysdep.h (PPC_FEATURE_ARCH_2_06): Fix value. - (PPC_FEATURE_HAS_VSX): Likewise. + [BZ #2498] + * nscd/connections.c (main_loop_poll): If the connection cannot be + accepted because of user-imposed limits close the descriptor. -2009-07-03 Ulrich Drepper +2006-03-31 Ulrich Drepper - * sysdeps/x86_64/multiarch/strcspn-c.c: Minor cleanups. - * sysdeps/x86_64/multiarch/strspn-c.c: Likewise. + * sysdeps/unix/sysv/linux/Versions: Export sync_file_range with + GLIBC_2.5. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Remove + LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT. + Declare sync_file_range and splice. + * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Add + sync_file_range. + * sysdeps/unix/sysv/linux/i386/sync_file_range.S: New file. + * sysdeps/unix/sysv/linux/syscalls.list: Add splice syscall. + * sysdeps/unix/sysv/linux/Versions: Export splice with GLIBC_2.5 + version. + * Versions.def: Define GLIBC_2.5 for libc. - * sysdeps/x86_64/multiarch/strcmp.S: Make sure functions are all - aligned to 16 byte boundaries. - * sysdeps/x86_64/multiarch/strcpy.S: Likewise. - * sysdeps/x86_64/multiarch/strlen.S: Likewise. - * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise. +2006-03-29 Ulrich Drepper -2009-07-02 H.J. Lu + * sysdeps/posix/getaddrinfo.c (gaih_inet): No need to duplicate + 'name' for 'canon'. The final allocation will happen later. - * config.h.in (HAVE_SSE4_SUPPORT): New macro. - * config.make.in (config-cflags-sse4): New variable. - * configure.in: Substitute libc_cv_cc_sse4. - * sysdeps/i386/configure.in: Set libc_cv_cc_sse4 and - HAVE_SSE4_SUPPORT. - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add - strcspn-c, strpbrk-c, strspn-c for string if gcc supports SSE4. - * sysdeps/x86_64/multiarch/strcspn-c.c: New file. - * sysdeps/x86_64/multiarch/strcspn.S: New file. - * sysdeps/x86_64/multiarch/strpbrk-c.c: New file. - * sysdeps/x86_64/multiarch/strpbrk.S: New file. - * sysdeps/x86_64/multiarch/strspn-c.c: New file. - * sysdeps/x86_64/multiarch/strspn.S: New file. +2006-03-27 Ulrich Drepper -2009-06-30 H.J. Lu + * sysdeps/unix/sysv/linux/kernel-features.h: Remove support for + architectures which moved to ports. - * elf/Makefile (distribute): Remove tst-audit.sh. Add - tst-audit2.c, tst-audit3.c, tst-auditmod3a.c, tst-auditmod3b.c. - (tests): Add tst-audit3 for x86_64. - (modules-names): Add tst-auditmod3a, tst-auditmod3b. - ($(objpfx)tst-audit3): Define. - ($(objpfx)tst-audit3.out): Define. - (tst-audit3-ENV): Define. - * elf/tst-audit3.c: New file. - * elf/tst-auditmod3a.c: New file. - * elf/tst-auditmod3b.c: New file. - * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save - and restore xmm6. + * sysdeps/unix/sysv/linux/kernel-features.h: Add + __ASSUME_SET_ROBUST_LIST. - * string/stpncpy.c (STPNCPY): New. Defined if not defined. - (__stpncpy): Renamed to ... - (STPNCPY): This. - (stpncpy): Create alias only if STPNCPY is not defined. - * string/strncpy.c (STRNCPY): New. Defined to strncpy if not - defined. - (strncpy): Renamed to ... - (STRNCPY): This. - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add - stpncpy-c strncpy-c for string. - * sysdeps/x86_64/multiarch/stpcpy.S: New file. - * sysdeps/x86_64/multiarch/stpncpy-c.c: New file. - * sysdeps/x86_64/multiarch/stpncpy.S: New file. - * sysdeps/x86_64/multiarch/strcpy.S: New file. - * sysdeps/x86_64/multiarch/strncpy-c.c: New file. - * sysdeps/x86_64/multiarch/strncpy.S: New file. +2006-03-27 Jakub Jelinek -2009-07-02 Ulrich Drepper + * wcsmbs/wchar.h (btowc, wctob): Don't optimize in C++. - * malloc/malloc.c [ATOMIC_FASTBINS] (_int_free): Add full barrier when - adding to fast bin list. +2006-03-24 David S. Miller -2009-07-01 Ulrich Drepper - - * nis/nss_nis/nis-network.c (_nss_nis_getnetbyaddr_r): Don't use - inet_makeaddr. This worked only with class-based networks. - * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r): + * sysdeps/sparc/sparc32/bits/atomic.h + (__v9_compare_and_exchange_val_32_acq): Add "memory" clobber. + * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h + (__arch_compare_and_exchange_val_32_acq, atomic_exchange_acq): Likewise. + * sysdeps/sparc/sparc64/bits/atomic.h + (__arch_compare_and_exchange_val_32_acq, + __arch_compare_and_exchange_val_64_acq, atomic_exchange_acq): Likewise. - * nss/nss_files/files-network.c (netbyaddr): If type is AF_UNSPEC, - recognize all types. - * nss/getent.c (networks_keys): Pass AF_UNSPEC instead of AF_UNIX - to getnetbyaddr. Fix network parameter to getnetbyaddr. It must - be in host byte order. +2006-03-24 Jakub Jelinek -2009-06-26 H.J. Lu + * nis/nss_nisplus/nisplus-proto.c (_nss_create_tablename): Check the + return value of malloc rather than the static var again. + * nis/nss_nisplus/nisplus-grp.c (_nss_create_tablename): Likewise. + * nis/nss_nisplus/nisplus-network.c (_nss_create_tablename): Likewise. + * nis/nss_nisplus/nisplus-ethers.c (_nss_create_tablename): Likewise. + * nis/nss_nisplus/nisplus-rpc.c (_nss_create_tablename): Likewise. + * nis/nss_nisplus/nisplus-service.c (_nss_create_tablename): Likewise. + * nis/nss_nisplus/nisplus-hosts.c (_nss_create_tablename): Likewise. + * nis/nss_nisplus/nisplus-alias.c (_nss_create_tablename): Likewise. + * nis/nss_nisplus/nisplus-pwd.c (_nss_pwd_create_tablename): Likewise. - * sysdeps/x86_64/multiarch/ifunc-defines.sym (FAMILIY_OFFSET): Define. - (MODEL_OFFSET): Define. - * sysdeps/x86_64/multiarch/init-arch.h (cpu_features): Add - family and model. - * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Break - out common code into new function get_common_indeces. Determine - extended family and model for Intel processors. +2006-03-25 Ulrich Drepper -2009-06-26 Ulrich Drepper + * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Add POLLMSG, + POLLREMOVE, and POLLRDHUP. + * sysdeps/unix/sysv/linux/bits/poll.h: Add POLLREMOVE and POLLRDHUP. - * resolv/resolv.h: Define RES_SNGLKUPREOP. - * resolv/res_init.c (res_setoptions): Recognize single-request-reopen - option. - * resolv/res_send.c (reopen): New function. Broken out of... - (send_dg): ... here. Recognize RES_SNGLKUPREOP. Implement second - fallback mechanism. If single-request fails switch to - single-request-reopen mode which opens a new socket for the second - request. +2006-03-24 Ulrich Drepper -2009-06-25 Andreas Schwab + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define + LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT. + * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. - * sysdeps/powerpc/powerpc32/____longjmp_chk.S (LOAD_ARG): Define. - (CHECK_SP): Use it. +2006-03-17 Roland McGrath -2009-06-24 Andreas Schwab + * elf/rtld.c (dl_main): Run final self-relocation after setting up TLS. + From Alexandre Oliva . - * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Fix cfa offset - for saved registers. - * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise. - * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise. - * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise. + * elf/tst-audit2.c: New file. + * elf/Makefile (tests): Add it. + ($(objpfx)tst-audit2.out): New target. + (tst-audit2-ENV): New variable. -2009-06-23 Andreas Schwab + * elf/tst-leaks1.c: Include . - * time/tzfile.c (__tzfile_read): Don't use an empty TZ string. +2006-03-16 Roland McGrath -2009-06-22 Ulrich Drepper + * sysdeps/unix/sysv/linux/alpha/getcontext.S (__getcontext_x): + Use .set noat to quiet assembler warning. - * po/id.po: Update from translation team. + * math/gen-libm-test.pl (parse_args): Take function name for pretty + output as an argument. + (generate_testfile): Pass it the name given in the START macro. - * po/bg.po: Update from translation team. + [BZ #2466] + * math/libm-test.inc (llrint_test, llround_test): Fix last change to + protect large-precision cases with [LDBL_MANT_DIG > 100]. + (llrint_test_tonearest, llrint_test_towardzero): Likewise. + (llrint_test_downward, llrint_test_upward): Likewise. -2009-06-22 H.J. Lu +2006-03-15 Steven Munroe + Alan Modra - * string/strncmp.c (STRNCMP): New. Defined to strncmp if not - defined. - (strncmp): Renamed to STRNCMP. - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add - strncmp-c for string. - * sysdeps/x86_64/multiarch/init-arch.h (HAS_SSE4_2): Define. - * sysdeps/x86_64/multiarch/strcmp.S: New file. - * sysdeps/x86_64/multiarch/strncmp.S: New file. - * sysdeps/x86_64/multiarch/strncmp-c.c: New file. + [BZ #2466] + * math/libm-test.inc (llrint_test, llround_test) [TEST_LDOUBLE]: + Add new test values. + (llrint_test_tonearest, llrint_test_towardzero, llrint_test_downward, + llrint_test_upward): New functions. + (main): Call them. -2009-06-19 H.J. Lu + * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Handle + rounding that spans doubles in IBM long double format. + * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_llrintl.S: Removed. + * sysdeps/powerpc/powerpc64/fpu/s_llroundl.S: Removed. + * sysdeps/powerpc/powerpc64/fpu/s_lrintl.S: Removed. + * sysdeps/powerpc/powerpc64/fpu/s_lroundl.S: Removed. - * elf/Makefile (distribute): Add ifuncmain1staticpie.c, - ifuncmain5.c, ifuncmain5pic.c, ifuncmain5picstatic.c, - ifuncmain5pie.c, ifuncmain5static.c, ifuncmain5staticpic.c, - ifuncdep5.c, ifuncdep5pic.c, ifuncmod5.c, ifuncmain7.c, - ifuncmain7pic.c, ifuncmain7picstatic.c, ifuncmain7pie.c, and - ifuncmain7static.c. - (tests-static): Add ifuncmain5static, ifuncmain5picstatic, - ifuncmain7static, and ifuncmain7picstatic. - (tests): Also depend on $(objpfx)ifuncmain1staticpie.out, - $(objpfx)ifuncmain5pie.out, $(objpfx)ifuncmain6pie.out, and - $(objpfx)ifuncmain7pie.out. - (modules-names): Add ifuncmod5 ifuncmod6 - (ifuncmod5.so-no-z-defs): Define. - (ifuncmod6.so-no-z-defs): Define. - (CFLAGS-ifuncmain5pic.c): Define. - (CFLAGS-ifuncmain5picstatic.c): Define. - (CFLAGS-ifuncmain5staticpic.c): Define. - (CFLAGS-ifuncdep5pic.c): Define. - (CFLAGS-ifuncmain7pic.c): Define. - (CFLAGS-ifuncmain7picstatic.c): Define. - (CFLAGS-ifuncmain1staticpie.c): Define. - (CFLAGS-ifuncmain5pie.c): Define. - (CFLAGS-ifuncmain6pie.c): Define. - (CFLAGS-ifuncmain7pie.c): Define. - ($(objpfx)ifuncmain1staticpie.out): Define. - ($(objpfx)ifuncmain1staticpie): Define. - ($(objpfx)ifuncmain5pie.out): Define. - ($(objpfx)ifuncmain5pie): Define. - ($(objpfx)ifuncmain6pie.out): Define. - ($(objpfx)ifuncmain6pie): Define. - ($(objpfx)ifuncmain5): Define. - ($(objpfx)ifuncmain5pic): Define. - ($(objpfx)ifuncmain5static): Define. - ($(objpfx)ifuncmain5staticpic): Define. - ($(objpfx)ifuncmain5picstatic): Define. - (generated): Add ifuncmain1staticpie, ifuncmain1staticpie.out, - ifuncmain5pie, ifuncmain5pie.out, ifuncmain6pie, and - ifuncmain6pie.out. - * elf/b/elf/ifuncmain1staticpie.c: New file. - * elf/ifuncdep5.c: New file. - * elf/ifuncdep5pic.c: New file. - * elf/ifuncmain5.c: New file. - * elf/ifuncmain5pic.c: New file. - * elf/ifuncmain5picstatic.c: New file. - * elf/ifuncmain5pie.c: New file. - * elf/ifuncmain5static.c: New file. - * elf/ifuncmain5staticpic.c: New file. - * elf/ifuncmain6pie.c: New file. - * elf/ifuncmain7.c: New file. - * elf/ifuncmain7pic.c: New file. - * elf/ifuncmain7picstatic.c: New file. - * elf/ifuncmain7pie.c: New file. - * elf/ifuncmain7static.c: New file. - * elf/ifuncmod5.c: New file. - * elf/ifuncmod6.c: New file. +2006-03-16 Roland McGrath -2009-06-20 Ulrich Drepper + * wcsmbs/wchar.h (__wcstol_internal, __wcstoul_internal): Declare these + only when we will use them, under [__OPTIMIZE__ && __GNUC__ >= 2]. + (__wcstoll_internal, __wcstoull_internal_defined): Likewise. - [BZ #10085] - * nis/nss_compat/compat-initgroups.c (nss_setgrent): New variable. - (nss_endgrent): New variable. - (struct ent_t): Add need_endgrent and skip_initgroups_dyn - fields. Change type of files to bool and adjust all users. - (init_nss_interface): Initialize nss_setgrent and nss_endgrent. - (internal_endgrent): Call nss_endgrent if necessary. - (add_group): New function. Broken out of... - (check_and_add_group): ...here. - (getgrent_next_nss): Remove test that any callback is available. - Use skip_initgroups_dyn to determine whether to use initgroups_dyn - callback. If there is no blacklist we can trust the results returned - by the initgroups_dyn callback. In case there is a callback and we - find a group entry for the group ID but it doesn't contain the - correct member, switch to the slow mode and use getgrent_r. - (internal_getgrent_r): When we see a +: entry, determine whether - there is any callback and which we can use the initgroups_dyn - callback. +2006-03-06 Steven Munroe -2009-06-18 Ulrich Drepper + * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Add cfi_offset for spilling + of non-volatile floating-point registers to the stack (fp14-fp31). + * sysdeps/powerpc/powerpc32/gprsave0.S: Add cfi_offset for spilling of + non-volatile general-purpose registers to the stack (gpr13-gpr31). + * sysdeps/powerpc/powerpc64/dl-trampoline.S: Add cfi_offset + for non-volatiles gpr30 - grp31 spilled to the stack. + * sysdeps/powerpc/powerpc64/memcpy.S: Add cfi_offset for non-volatile + gpr31 spill to the stack. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: + Add cfi_offset for non-volatile gpr31 spill to the stack. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Add cfi_offset + for non-volatiles gpr28 - grp31 spilled to the stack. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Add + cfi_adjust_cfa_offset when a frame is stacked. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: + (__novec_setcontext) : Add cfi_offset for non-volatile gpr31 spill + add LR saved to the stack. Add cfi_adjust_cfa_offset when frame is + stacked. + (__setcontext) : Add cfi_offset for non-volatile gpr31 spill to + the stack. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: + (__novec_swapcontext) : Add cfi_offset for non-volatile gpr31 spill + add LR saved to the stack. + (__swapcontext) : Add cfi_offset for non-volatile gpr31 spill add LR + saved to the stack. Add cfi_adjust_cfa_offset when frame is stacked. - * malloc/malloc.c (_int_malloc): Add some consistency checks. - (_int_free): Likewise. +2006-03-07 Jakub Jelinek - * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_IEEE802154 and - AF_IEEE802154. - * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/net/if_arp.h: Define ARPHRD_IEEE802154 - and ARPHRD_IEEE802154_PHY. + [BZ #2423] + * math/libm-test.inc [TEST_LDOUBLE] (ceil_test, floor_test, rint_test, + round_test, trunc_test): Only run some of the new tests if + LDBL_MANT_DIG > 100. - * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Add missing definitions - relative to generic Linux version. +2006-03-03 Steven Munroe + Alan Modra -2009-06-17 H.J. Lu + * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround, __fesetround): + Define inline implementations. + * sysdeps/powerpc/fpu/fegetround.c: Use __fegetround. + * sysdeps/powerpc/fpu/fesetround.c: Use __fesetround. - * elf/Makefile ($(objpfx)ifuncmain1pie): Use $(+link-pie). - ($(objpfx)ifuncmain1vispie): Likewise. + * sysdeps/powerpc/fpu/math_ldbl.h: New file. -2009-06-16 Ulrich Drepper + [BZ #2423] + * math/libm-test.inc [TEST_LDOUBLE] (ceil_test, floor_test, rint_test, + round_test, trunc_test): Add new tests. + * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h + (EXTRACT_IBM_EXTENDED_MANTISSA, INSERT_IBM_EXTENDED_MANTISSA): + Removed, replaced with ... + (ldbl_extract_mantissa, ldbl_insert_mantissa, ldbl_pack, ldbl_unpack, + ldbl_canonicalise, ldbl_nearbyint): New functions. + * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Replace + EXTRACT_IBM_EXTENDED_MANTISSA and INSERT_IBM_EXTENDED_MANTISSA + with ldbl_extract_mantissa and ldbl_insert_mantissa. + * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l): + Replace EXTRACT_IBM_EXTENDED_MANTISSA with ldbl_extract_mantissa. + (ldbl_extract_mantissa, ldbl_insert_mantissa): New inline functions. + * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Handle rounding + that spans doubles in IBM long double format. + * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_rintl.S: File removed. - * login/Makefile: Build pt_chown as PIE. +2004-12-09 Randolph Chung -2009-06-15 Andreas Schwab + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Don't + define for hppa, which doesn't support this syscall. - * debug/xtrace.sh (do_help): Don't treat bug reporting message as - a format string. - * elf/sln.c (usage): Likewise. - * malloc/memusage.sh (do_help): Likewise. - * nss/getent.c (more_help): Likewise. - * posix/getconf.c (main): Likewise. - * sunrpc/rpcinfo.c (usage): Likewise. - * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise. +2006-03-13 Jakub Jelinek -2009-06-16 Ulrich Drepper + [BZ #2451] + * elf/dl-load.c (open_verify): Add free_name argument, if true, free + name before calling lose. + (open_path): Adjust caller. + (_dl_map_object): Adjust callers. Free name_copy before calling + _dl_signal_error. + * elf/Makefile: Add rules to build and run tst-leaks1. + * elf/tst-leaks1.c: New test. - * login/programs/pt_chown.c: Use libcap to drop privileges other than - those needed. - * login/Makefile: If necessary link pt_chown with -lcap. - * sysdeps/generic/pty-private.h: Define FAIL_ENOMEM. - * sysdeps/unix/grantpt.c: Handle FAIL_ENOMEM. +2006-03-06 Roland McGrath -2009-06-16 Jakub Jelinek + * version.h (VERSION): 2.4 + * README.template: Update for 2.4. + * README: Regenerated. + * manual/install.texi (Configuring and compiling): Separate build + directory is mandatory. Use glibc-2.4 in example. + Update --enable-add-ons description. + (Supported Configurations): Remove section. + * INSTALL: Regenerated. - * sysdeps/x86_64/memchr.S (memchr): Use unsigned instead of signed - comparisons. - * string/test-memchr.c (do_random_tests): Test very large lengths - as well. + * sysdeps/unix/sysv/linux/x86_64/sysconf.c + (handle_intel, handle_amd): Add __attribute__ ((noinline)). + * sysdeps/unix/sysv/linux/i386/sysconf.c + (handle_i486, handle_intel, handle_amd): Likewise. -2009-06-02 H.J. Lu + * sysdeps/unix/sysv/linux/i386/sysconf.c (__sysconf): Don't handle + _SC_CPUTIME and _SC_THREAD_CPUTIME here. + * sysdeps/unix/sysv/linux/x86_64/sysconf.c (__sysconf): Likewise. - * Makeconfig (+link-pie): Define. - (+prectorS): Define. - (+postctorS): Define. - * elf/Makefile ($(objpfx)tst-pie1): Use $(+link-pie). - * nscd/Makefile ($(objpfx)nscd): Likewise. +2006-03-05 Roland McGrath -2009-04-22 Ryan S. Arnold + * malloc/malloc.c (MALLOC_ALIGNMENT): Revert to (2 * SIZE_SZ) value. + The correct value differs only on powerpc32, and for now changing it + there is causing more trouble than it's worth. - [BZ #10107] - * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Replace cmpldi - with cmplwi. - * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise. + * malloc/arena.c: Add compile-time sanity check on padding calculation. -2009-06-16 Ulrich Drepper +2006-03-05 Jakub Jelinek - * sysdeps/unix/sysv/linux/grantpt.c: Remove file after folding changes - into ... - * sysdeps/unix/grantpt.c: ...here. + * malloc/arena.c (heap_info): Adjust the padding size if + MALLOC_ALIGNMENT > 2 * SIZE_SZ. -2009-06-15 Ulrich Drepper +2006-03-05 Roland McGrath - * sysdeps/unix/sysv/linux/grantpt.c (grantpt): Only call chown and - chmod if it is necessary. + * sysdeps/mach/hurd/faccessat.c: New file. + * sysdeps/mach/hurd/fchmodat.c: New file. + * sysdeps/mach/hurd/fchownat.c: New file. + * sysdeps/mach/hurd/fxstatat.c: New file. + * sysdeps/mach/hurd/fxstatat64.c: New file. + * sysdeps/mach/hurd/linkat.c: New file. + * sysdeps/mach/hurd/mkdirat.c: New file. + * sysdeps/mach/hurd/openat.c: New file. + * sysdeps/mach/hurd/openat64.c: New file. + * sysdeps/mach/hurd/symlinkat.c: New file. + * sysdeps/mach/hurd/unlinkat.c: New file. + * sysdeps/mach/hurd/xmknod.c (__xmknod): Just call __xmknodat. + Guts move to ... + * sysdeps/mach/hurd/xmknodat.c: ... here, new file. - [BZ #10166] - * sysdeps/unix/sysv/linux/grantpt.c: Remove shortcut which was used - when the slave device is in devpts or devfs. + * hurd/lookup-at.c: New file. + * hurd/Makefile (routines): Add it. + * hurd/hurd/fd.h: Declare __file_name_lookup_at, + __file_name_split_at and __directory_name_split_at. - [BZ #10183] - * posix/tst-cpucount.c: Don't try more than CPU_SETSIZE bits. + * hurd/hurd/lookup.h: Declare {,__}hurd_directory_name_split. - [BZ #10195] - * inet/netinet/icmp6.h (struct nd_opt_home_agent_info): Change type - of nd_opt_home_agent_info_preference to uint16_t. - Patch by Arnaud Ebalard . + * hurd/hurdlookup.c (__hurd_directory_name_split): Use __memrchr + unconditionally. - [BZ #10207] - * nss/getent.c: Add support for printing gshadow data. + * sysdeps/mach/hurd/open.c: Define {,__,__libc_,}open64 as aliases. + * sysdeps/mach/hurd/open64.c: New file. - [BZ #10203] - * nis/nss_nis/nis-pwd.c (internal_nis_endpwent): Free all buffers, - not just the currently used one and those which follow. - Patch by Joe Landers . + * sysdeps/posix/sysconf.c (__sysconf): Use #if _POSIX_FOO > 0 + rather than #ifdef _POSIX_FOO for options. We should return -1 + at runtime for an option defined to 0 at compile time. - [BZ #10196] - * libio/tst-fgetwc.c (do_test): Use de_DE.UTF-8 as locale name. - * libio/Makefile: Run tst-fgetwc with necessary envvar. - Patch by Bruce Dubbs . + * sysdeps/mach/hurd/bits/posix_opt.h: Define many missing options, + many to -1 or 0. - [BZ #10217] - * stdlib/abort.c: Define variable __abort_msg. - * stdlib/Versions: Export __abort_msg with GLIBC_PRIVATE version. - * include/stdlib.h: Declare __abort_msg. - * assert/assert-perr.c: Don't free buffer for message immediately. - Store atomically in __abort_msg and free old buffer if necessary. - * assert/assert.c: Likewise. - * sysdeps/posix/libc_fatal.c: Allocate buffer for message, copy it, - store pointer in __abort_msg, and possibly free old string. - * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise. +2006-03-05 Roland McGrath - * time/tzfile.c (__tzfile_read): Correct computation of tzspec_len. + * sysdeps/unix/sysv/linux/sysconf.c (__sysconf) + [__NR_clock_getres || HP_TIMING_AVAIL]: Handle _SC_CPUTIME, + _SC_THREAD_CPUTIME. - [BZ #10211] - * time/tzfile.c (__tzfile_compute): If we use the envvar format still - handle leap seconds if they are available. - Patch by Akinori Hattori . +2006-03-05 David S. Miller - * timezone/tzselect.ksh: Update from tzcode2009i. - * timezone/zdump.c: Likewise. - * timezone/zic.c: Likewise. + * sysdeps/sparc/sparc32/dl-trampoline.S: Add CFI markings. + * sysdeps/sparc/sparc32/elf/start.S: Likewise. + * sysdeps/sparc/sparc64/dl-trampoline.S: Likewise. + * sysdeps/sparc/sparc64/elf/start.S: Likewise. + * sysdeps/sparc/sparc32/memchr.S: Rearrange code to reside + within ENTRY/END. + * sysdeps/sparc/sparc32/memcpy.S: Likewise. + * sysdeps/sparc/sparc32/stpcpy.S: Likewise. + * sysdeps/sparc/sparc32/strcat.S: Likewise. + * sysdeps/sparc/sparc32/strchr.S: Likewise. + * sysdeps/sparc/sparc32/strcmp.S: Likewise. + * sysdeps/sparc/sparc32/strcpy.S: Likewise. + * sysdeps/sparc/sparc32/strlen.S: Likewise. + * sysdeps/sparc/sparc64/memcpy.S: Likewise. + * sysdeps/sparc/sparc64/sparcv9v/memset.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Add CFI markings + and use __syscall_error. + * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/pipe.S: Use __syscall_error. + * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/syscall.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Rewrite to use + CFI markings and __syscall_error. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S: Rearrange + code to reside within ENTRY/END. + * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sysdep.c: New file. + * sysdeps/unix/sysv/linux/sparc/sysdep.S: File removed. + * sysdeps/unix/sysv/linux/sparc/rt-sysdep.c: New file. + * sysdeps/unix/sysv/linux/sparc/Makefile (librt-routines): Add it. - * timezone/africa: Update from tzdata2009i. + * shlib-versions: Use sparc64.*- for CPU patterns. + +2006-03-05 Roland McGrath + + * bits/resource.h (RLIMIT_SBSIZE, RLIMIT_AS, RLIMIT_VMEM): Define. + + * sysdeps/mach/hurd/fdopendir.c (__fdopendir): Use O_DIRECTORY + to force directory check. + * sysdeps/mach/hurd/opendir.c (__opendir): Likewise. + +2006-03-04 Roland McGrath + + * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Make sure high bits + of SEL are clear after copying %gs to low bits. + (_hurd_tls_fork): Likewise. + +2006-03-03 Roland McGrath + + [BZ #2414] + * stdlib/tst-setcontext.c (f1): Take arguments of type int. + +2006-03-02 Roland McGrath + + * sysdeps/unix/alpha/sysdep.h (PTR_MANGLE): Use __typeof in cast. + +2006-03-02 Daniel Jacobowitz + + * sysdeps/unix/sysv/linux/configure.in: Remove MIPS cases. Allow + libc_cv_slibdir et al. to be overridden. + * sysdeps/unix/sysv/linux/configure: Regenerated. + +2005-12-27 Jakub Jelinek + + * elf/ldconfig.c (search_dir): Skip prelink temporaries. + +2006-03-02 H.J. Lu + + * elf/check-textrel.c: Don't include "config.h". + +2006-03-02 Jakub Jelinek + + * io/ftw.c (process_entry): If dir->streamfd != -1, + use FXSTATAT rather than LXSTAT to find if unstatable + file is a dead symlink. + + * elf/check-textrel.c: Include config.h. + (AB(handle_file)): Don't fail if PF_X | PF_W on architectures known + to have executable writable PLT. + * sysdeps/powerpc/powerpc32/configure.in (HAVE_PPC_SECURE_PLT): New + test. + * config.h.in (HAVE_PPC_SECURE_PLT): Add. + + * malloc/malloc.c (MALLOC_ALIGNMENT): Set to __alignof__ (long double) + if long double is more aligned than 2 * SIZE_SZ. + (misaligned_chunk): Define. + (public_rEALLOc, _int_free, _int_realloc): Use it. + +2006-01-05 H.J. Lu + + [BZ #2013] + * sysdeps/ia64/memccpy.S: Properly handle recovery for + predicated speculative load. + +2006-03-01 Jakub Jelinek + + * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update. + + * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat64): Use + libc_hidden_ver rather than libc_hidden_def. + + * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update. + * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): + Use inline asm to make sure the compiler doesn't optimize insns out. + + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h + (DECLARGS_6): Fix a typo. + +2006-03-01 Roland McGrath + + * version.h (VERSION): 2.3.91 + + * Makeconfig (sysdeps-srcdirs): New variable. + (sysdeps-add-ons-srcdirs): Use it. + * csu/Makefile (all-Banner-files): Use it. + + * Makefile (dist-selector): New variable. + (glibc-%.tar rule): Use it. Make $(dist-separate) tarballs + contain one version-named directory. + + * Makefile (format-me): Use --plaintext --no-number-sections. + + * NOTES, INSTALL: Regenerated. + + * NEWS: Update 2.4 items. + +2006-03-01 David S. Miller + + * configure.in (machine): Match sparcv9v and sparc64v. + * configure: Regenerated. + * sysdeps/sparc/sparc32/sparcv9v/memcpy.S: New file. + * sysdeps/sparc/sparc32/sparcv9v/memset.S: New file. + * sysdeps/sparc/sparc64/sparcv9v/memcpy.S: New file. + * sysdeps/sparc/sparc64/sparcv9v/memset.S: New file. + +2006-03-01 Roland McGrath + + * sysdeps/mach/hurd/Subdirs: Use "first hurd". + +2006-02-28 Roland McGrath + + * sysdeps/rs6000: Directory removed, saved in ports repository. + +2006-03-01 Kaz Kojima + + * sysdeps/unix/sysv/linux/sh/pread.c: Copy in mips pread.c. + * sysdeps/unix/sysv/linux/sh/pwrite.c: Copy in mips pwrite.c. + * sysdeps/unix/sysv/linux/sh/pread64.c: Copy in mips pread64.c. + * sysdeps/unix/sysv/linux/sh/pwrite64.c: Copy in mips pwrite64.c. + +2006-02-28 Roland McGrath + + * elf/tst-tls-dlinfo.c: New file. + * elf/Makefile (tests): Add it. + ($(objpfx)tst-tls-dlinfo): Depend on $(libdl). + ($(objpfx)tst-tls-dlinfo.out): Depend on $(objpfx)tst-tlsmod2.so. + + * dlfcn/dlfcn.h (RTLD_DI_PROFILENAME, RTLD_DI_PROFILEOUT): New enum + values, reserve unsupported requested names used on Solaris. + (RTLD_DI_TLS_MODID, RTLD_DI_TLS_DATA): New enum values. + (RTLD_DI_MAX): Likewise. + * dlfcn/dlinfo.c (dlinfo_doit): Handle RTLD_DI_TLS_MODID and + RTLD_DI_TLS_DATA. + + * elf/dl-tls.c (_dl_tls_get_addr_soft): New function. + * sysdeps/generic/ldsodefs.h: Declare it. + * elf/Versions (ld: GLIBC_PRIVATE): Add it. + * elf/link.h (struct dl_phdr_info): New members dlpi_tls_modid, + dlpi_tls_data. + * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill them in. + + * include/link.h: Don't copy contents from elf/link.h. + Instead, #include it while #define'ing around link_map. + * elf/dl-debug.c (_dl_debug_initialize): Add a cast. + Add bogus extern decl to verify link_map members. + * elf/loadtest.c (MAPS): New macro, cast _r_debug._r_map. + (OUT, main): Use it in place of _r_debug._r_map. + * elf/unload.c: Likewise. + * elf/unload2.c: Likewise. + * elf/neededtest.c (check_loaded_objects): Likewise. + * elf/neededtest2.c (check_loaded_objects): Likewise. + * elf/neededtest3.c (check_loaded_objects): Likewise. + * elf/neededtest4.c (check_loaded_objects): Likewise. + * elf/circleload1.c (check_loaded_objects): Likewise. + + * nscd/nscd_helper.c: Include for `time' declaration. + + * include/fcntl.h: Declare __openat, __open64. Use libc_hidden_proto. + * io/openat.c (__openat): Define instead of openat. + Use libc_hidden_def. Define openat with weak_alias. + * io/openat64.c (__openat64): Define instead of openat64. + Use libc_hidden_def. Define openat64 with weak_alias. + * sysdeps/unix/sysv/linux/openat.c: Likewise. + + * libio/genops.c: Include for __sched_yield decl. + + * Makeconfig (+includes): Add back $(includes) + after $(+sysdep-includes). + + * Makerules ($(common-objpfx)%.make): Use -DASSEMBLER. + +2006-02-28 Jakub Jelinek + + * posix/sys/types.h [!__GNUC_PREREQ (2, 7)] (int64_t, u_int64_t): + typedef to long int resp. unsigned long int on 64-bit arches. + + * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Include x86_64 + umount.c rather than hppa umount.c. + * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Include sh chown.c + rather than m68k chown.c. + * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Include sh + fchownat.c rather than m68k fchownat.c. + * sysdeps/unix/sysv/linux/sh/chown.c: Copy over from m68k chown.c. + * sysdeps/unix/sysv/linux/sh/fchownat.c: Copy over from m68k + fchownat.c. + * sysdeps/unix/sysv/linux/x86_64/brk.c: Copy over from hppa brk.c. + * sysdeps/unix/sysv/linux/x86_64/umount.c: Copy over from hppa + umount.c. + +2006-02-28 Roland McGrath + + * sysdeps/hppa: Directory removed, saved in ports repository. + * sysdeps/mach/hppa: Likewise. + * sysdeps/mach/hurd/hppa: Likewise. + * sysdeps/unix/sysv/linux/hppa: Likewise. + * configure.in (machine): Remove hppa* cases. + * configure: Regenerated. + * shlib-versions: Remove hppa cases. + + * sysdeps/m68k: Directory removed, saved in ports repository. + * sysdeps/unix/bsd/m68k: Likewise. + * sysdeps/unix/sysv/linux/m68k: Likewise. + * configure.in (machine): Remove m68* cases. + * configure: Regenerated. + + * elf/rtld-Rules (subdir-args): New variable. + (rtld-subdir-make): Use it. + +2006-02-22 Martin Schwidefsky + + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h + (DO_CALL): Add support for 6 system call parameters. + (DECLARGS_6, ASMFMT_6): Define. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. + +2006-02-28 Roland McGrath + + * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Copy in i386/bits/fcntl.h. + +2006-02-27 Roland McGrath + + * scripts/config.guess: Update from master, timestamp='2006-02-27'. + * scripts/config.sub: Update from master, timestamp='2006-02-27'. + + * Makefile (subdir-target-args): New variable. + ($(all-subdirs-targets)): Use it in place of -C option. + * Rules: Use $(..) instead of ../ if it's already defined. + * Makeconfig (subdir-srcdirs): New variable. + * csu/Makefile (all-Banner-files): Use it. + + * configure.in (--enable-add-ons): Set to "yes" by default. + Handle absolute add-on directory names when looking for configure + fragments. Also look for sysdeps/*/preconfigure fragments in add-ons. + Require add-on configure to set $libc_add_on_canonical, use + that in $add_ons_sfx. Substitute add_on_subdirs with computed list + of subdir names each add-on configure set in libc_add_on_subdirs. + * configure: Regenerated. + * Makefile (%/preconfigure: %/preconfigure.in): New pattern rule. + * config.make.in (add-on-subdirs): New substituted variable. + * Makeconfig (all-subdirs): Include $(add-on-subdirs). + Remove $(add-ons), $(sysdep-subdirs). + Don't filter out $(sysdep-inhibit-subdirs). + ($(common-objpfx)sysd-dirs): Target removed. Don't include it. + ($(common-objpfx)sysd-sorted): Rewritten to feed Depend and Subdirs + files together to gen-sorted.awk, and $(subdirs) via -v. + (subdirs): Remove magic reordering for mach and hurd. + * scripts/gen-sorted.awk: Use subdirs from command line. + Process Subdirs and Depend files directly. + Let Subdirs files use "first dir" and "inhibit dir". + Always move elf to the end of the list. + * hurd/Depend: New file. + * sysdeps/mach/Subdirs: Use "first mach". + + * Makefile (dist-separate): Remove linuxthreads. + (dist-separate-linuxthreads): Variable removed. + (glibc-%.tar rule): Use $(sysdeps-add-ons). + + * Makerules ($(common-objpfx)Versions.v.i): Use $(subdirs), + not $(all-subdirs). + (sysdep-makefiles): Use $(sysdirs). + (sysdirs): Remove export. + ($(+sysdir_pfx)sysd-rules): Handle absolute directory names in + $(config-sysdirs). + (+sysdir_pfx): Variable removed. + (sysd-rules): Use $(common-objpfx) in place of it. + (sysdirs): Variable moved to ... + * Makeconfig (sysdirs): ... here. + Handle absolute directory names in $(config-sysdirs). + (full_config_sysdirs): Variable removed. + * csu/Makefile: Use $(sysdirs) in vpath directive. + * math/Makefile (ulps-file): Use $(sysdirs). + * sysdeps/gnu/Makefile (errlist-c): Likewise. + ($(objpfx)errlist-compat.c): Likewise. + * Makeconfig (all-Subdirs-files): Likewise. + ($(common-objpfx)config.status): Likewise. + + * configure.in (sysnames): Handle absolute add-on directory names. + (sysdeps_add_ons): New variable, AC_SUBST it. + Compute which add-ons contributed sysdeps directories. + * configure: Regenerated. + * config.make.in (sysdeps-add-ons): New substituted variable. + * Makerules (+sysdep_dirs, +sysdep-includes): Variables moved ... + * Makeconfig: ... to here. + (+sysdep_dirs): Append $(sysdeps-add-ons) here. + (+includes): Remove $(objpfx) include, already in $(+sysdep_dirs). + Remove $(includes). + (sysdep-makeconfigs): Use $(+sysdep_dirs). + ($(common-objpfx)shlib-versions.v.i): Likewise. + + * Makeconfig: Remove hair to set Makeconfig-add-on. + + * sysdeps/unix/Makefile (sysdirs): Remove export. + (asm_CPP): Variable removed. + ($(common-objpfx)sysd-syscalls): Pass them directly for the script. + + * sysdeps/posix/Makefile: New file. + * Makerules (L_tmpnam, TMP_MAX, L_ctermid, L_cuserid): Set non-posix + values here with ?=. + + * stdlib/gen-mpn-copy: File removed. + * stdlib/Makefile (distribute): Remove it. + * configure.in: Don't grok --with-gmp. + * configure: Regenerated. + + * configure.in (libc_cv_idn): Don't check it; libidn/configure does it. + * configure: Regenerated. + +2006-02-27 Ulrich Drepper + + * sysdeps/unix/sysv/linux/linkat.c (linkat): Allow flags to be set + when syscall is used. + * io/fcntl.h (AT_SYMLINK_FOLLOW): Define. + +2006-02-26 Roland McGrath + + * bare: Directory removed, saved in ports repository. + + * sysdeps/unix/common/Makefile: File removed. + * sysdeps/unix/common/glue-ctype.c: File removed. + * sysdeps/unix/common/configure.in: File removed. + * sysdeps/unix/common/configure: File removed. + + * sysdeps/unix/configure.in: File removed. + * sysdeps/unix/configure: File removed. + * sysdeps/unix/make_errlist.c: File removed. + * sysdeps/unix/Makefile ($(objpfx)errlist.c, $(objpfx)make_errlist): + Rules removed. + + * timezone/africa: Update from tzdata2006b (comment changes only). * timezone/antarctica: Likewise. * timezone/asia: Likewise. * timezone/australasia: Likewise. @@ -3482,1916 +1468,2798 @@ d2009-10-30 Ulrich Drepper * timezone/solar89: Likewise. * timezone/southamerica: Likewise. * timezone/systemv: Likewise. - * timezone/yearistype: Likewise. * timezone/zone.tab: Likewise. -2009-06-15 Jakub Jelinek - - * elf/dl-lookup.c (_dl_debug_bindings): When resolving to - STT_GNU_IFUNC symbol or in 8 into type_class. - - * sysdeps/i386/dl-irel.h (elf_irel): Use Elf32_Addr type - instead of Elf64_Addr. - -2009-06-14 Ulrich Drepper - - * po/sv.po: Update from translation team. - - [BZ #10229] - * misc/sys/select.h (__NFDBITS): Expression should have type int. - * sysdeps/x86_64/bits/select.h: Remove asm versions for __FD_SET, - __FD_CLR, and __FD_ISSET. gcc nowadays generates better code from - the C version. - -2009-06-12 Ulrich Drepper - - * Versions.def: Add GLIBC_2.11 for libpthread. - -2009-06-11 Ulrich Drepper - - * resolv/res_send.c (send_dg): Remember we switched to - single-request mode. - -2009-06-09 Ulrich Drepper - - * dlfcn/dlfcn.h: Remove comma at end of enum. - Patch by J.H.M. Dassen . - - * libio/fileops.c (_IO_new_file_fopen): Don't prematurely stop - parsing mode string. - -2009-06-05 Ulrich Drepper - - * sysdeps/x86_64/rawmemchr.S: Minor optimization. - - * sysdeps/x86_64/multiarch/rawmemchr.S: New file. - - * sysdeps/x86_64/multiarch/strlen.S: New file. - * sysdeps/x86_64/multiarch/ifunc-defines.sym: New file. - * sysdeps/x86_64/multiarch/Makefile: Add rule to build ifunc-defines.h. - * sysdeps/x86_64/multiarch/init-arch.h: Name structure with register - content. - - * csu/elf-init.c: Only compile in IFUNC functionality if USE_MULTIARCH - is defined. - -2009-06-04 Ulrich Drepper - - * sysdeps/x86_64/strlen.S: Minor optimizations. - -2009-06-02 H.J. Lu - - * elf/Makefile (distribute): Add ifuncmain1.c, ifuncmain1pic.c, - ifuncmain1vis.c, ifuncmain1vispic.c, ifuncmain1static.c, - ifuncmain1staticpic.c, ifuncmain1picstatic.c, ifuncdep1.c, - ifuncdep1pic.c, ifuncmod1.c, ifuncmain1pie.c, ifuncmain1vispie.c, - ifuncmain2.c, ifuncmain2static.c, ifuncdep2.c, - funcmain2pic.c, ifuncmain2picstatic.c, ifuncdep2pic.c, - ifuncmain3.c, ifuncmod3.c,. - ifuncmain4.c, ifuncmain4static.c, ifuncmain4picstatic.c. - (tests-static): Add ifuncmain1static, ifuncmain1picstatic, - ifuncmain2static, ifuncmain2picstatic, ifuncmain4static, - ifuncmain4picstatic. - (tests): Add ifuncmain1, ifuncmain1pic, ifuncmain1vis, - ifuncmain1vispic, ifuncmain1staticpic, ifuncmain2, ifuncmain2pic, - ifuncmain3, ifuncmain4. - (tests): Depend on $(objpfx)ifuncmain1pie.out and - $(objpfx)ifuncmain1vispie.out. - (modules-names): Add ifuncmod1 ifuncmod3. - (generated): Add ifuncmain1pie ifuncmain1pie.out - ifuncmain1vispie ifuncmain1vispie.out. - Define rules to build and run the tests. - * elf/ifuncdep1.c: New file. - * elf/ifuncdep1pic.c: New file. - * elf/ifuncdep2.c: New file. - * elf/ifuncdep2pic.c: New file. - * elf/ifuncmain1.c: New file. - * elf/ifuncmain1pic.c: New file. - * elf/ifuncmain1picstatic.c: New file. - * elf/ifuncmain1pie.c: New file. - * elf/ifuncmain1static.c: New file. - * elf/ifuncmain1staticpic.c: New file. - * elf/ifuncmain1vis.c: New file.. - * elf/ifuncmain1vispic.c: New file.. - * elf/ifuncmain1vispie.c: New file. - * elf/ifuncmain2.c: New file. - * elf/ifuncmain2pic.c: New file. - * elf/ifuncmain2picstatic.c: New file. - * elf/ifuncmain2static.c: New file. - * elf/ifuncmain3.c: New file. - * elf/ifuncmain4.c: New file. - * elf/ifuncmain4picstatic.c: New file. - * elf/ifuncmain4static.c: New file. - * elf/ifuncmod1.c: New file. - * elf/ifuncmod3.c: New file. - -2009-06-03 Ulrich Drepper - - * elf/dl-sysdep.c (_dl_show_auxv): Terminate correct string. - -2009-06-02 Ulrich Drepper - - [BZ #10221] - * posix/Makefile (routines): Add execvpe. - * posix/Versions: Export execvpe for GLIBC_2.11. - * posix/execvp.c: Now only a wrapper. Move code to... - * posix/execvpe.c: ...here. New file. - * posix/unistd.h: Declare execvpe. - -2009-06-01 Ulrich Drepper - - * sysdeps/i386/dl-machine.h (elf_machine_rel): Reorder conditions - for STT_GNU_IFUNC handling for efficiency. - * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise. - - * sysdeps/i386/dl-irel.h (elf_irel): Use __libc_fatal instead of just - _exit. - * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise. - -2009-05-31 Ulrich Drepper - - * sysdeps/x86_64/multiarch/sched_cpucount.c: Also use optimized code - for !SHARED. - -2009-05-29 H.J. Lu - - * csu/elf-init.c: Include and if LIBC_NONSHARED - is not defined. - (__rela_iplt_start): New declaration. - (__rela_iplt_end): Likewise. - (__rel_iplt_start): Likewise. - (__rel_iplt_end): Likewise. - (__libc_csu_init): Process __rela_iplt_start and __rel_iplt_start. - * elf/elf.h (R_386_IRELATIVE): New macro. - (R_X86_64_IRELATIVE): New macro. - (R_386_NUM): Updated. - (R_X86_64_NUM): Likewise. - * include/libc-symbols.h (libc_ifunc_hidden_def1): New macro. - (libc_ifunc_hidden_def): New macro. - * sysdeps/generic/dl-irel.h: New file. - * sysdeps/i386/dl-irel.h: New file. - * sysdeps/x86_64/dl-irel.h: New file. - * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle R_386_IRELATIVE. - (elf_machine_rela): Check SHN_UNDEF for STT_GNU_IFUNC symbol. - Handle R_386_IRELATIVE. - (elf_machine_lazy_rel): Handle R_386_IRELATIVE. - (elf_machine_lazy_rela): Likewise. - * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle - R_X86_64_IRELATIVE. - (elf_machine_lazy_rel): Handle R_X86_64_IRELATIVE. - -2009-05-31 Ulrich Drepper - - * sysdeps/x86_64/multiarch/init-arch.h: Define COMMON_CPUID_INDEX_1 - instead of INTEL_CPUID_INDEX_1 and AMD_CPUID_INDEX_1. So far there - are no differences. If an architecture has bits in CPUID index 1 - meaning different things the values for the COMMON_CPUID_INDEX_1 - index must not be set. - (INTEL_HAS_POPCOUNT, AMD_HAS_POPCOUNT): Removed in favor of... - (HAS_POPCOUNT): ...this. New macro. - * sysdeps/x86_64/multiarch/init-arch.c: Use COMMON_CPUID_INDEX_1 - instead of INTEL_CPUID_INDEX_1 and AMD_CPUID_INDEX_1. Unify code - to set the value for Intel and AMD architectures. - * sysdeps/x86_64/cacheinfo.c: Use COMMON_CPUID_INDEX_1 instead of - INTEL_CPUID_INDEX_1. - * sysdeps/x86_64/multiarch/sched_cpucount.c: Adjust for HAS_POPCOUNT - change. - -2009-05-30 Andreas Schwab - - * configure.in: Move AC_CANONICAL_HOST before first use of $host - and $build. - -2009-05-29 Jakub Jelinek - - * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include . - (__expm1l): Set errno to ERANGE on overflow. - * sysdeps/ieee754/ldbl-128/s_tanl.c: Include . - (__tanl): Set errno to EDOM for ±Inf. - * sysdeps/ieee754/ldbl-128/s_cosl.c: Include . - (__cosl): Set errno to EDOM for ±Inf. - * sysdeps/ieee754/ldbl-128/s_sinl.c: Include . - (__sinl): Set errno to EDOM for ±Inf. - - * sysdeps/s390/s390-32/__longjmp.c (__longjmp): If CHECK_SP is - defined, use it. - * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise. - * sysdeps/s390/s390-32/____longjmp_chk.c: New file. - * sysdeps/s390/s390-64/____longjmp_chk.c: New file. +2006-02-26 Ulrich Drepper + + * posix/unistd.h: Add fifth parameter to linkat. + * io/linkat.c: Likewise. + * sysdeps/unix/sysv/linux/linkat.c: Likewise. + * io/tst-linkat.c (do_test): Pass new parameter to linkat. + + * elf/do-lookup.h (do_lookup_x): No need to compare SKIP to NULL + before comparison with MAP. + + * elf/dl-sym.c (do_sym): For RTLD_NEXT, pass MATCH to + dl_lookup_symbol_x instead of L. + +2006-02-24 Mike Frysinger + + * sysdeps/gnu/net/if.h (IFF_DYNAMIC): New macro. + +2006-02-24 David S. Miller + + * configure.in: Use sparc/sparc32/sparcv9/sparcv9b in place + of sparc/sparc32/sparcv9b. + * sysdeps/sparc/sparc32/sparcv9b/Implies: File removed. + * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: File removed. + +2006-02-24 Roland McGrath + + * elf/elf.h (HWCAP_SPARC_BLKINIT): New macro. + * sysdeps/sparc/dl-procinfo.h (HWCAP_IMPORTANT): Add it. + (_DL_HWCAP_COUNT): Increase to 7. + * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add "v9v". + From David S. Miller . + + * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.c: Moved to ... + * sysdeps/sparc/dl-procinfo.c: ... here, new file. + * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Moved to ... + * sysdeps/sparc/dl-procinfo.h: ... here, new file. + (HWCAP_IMPORTANT): Include HWCAP_SPARC_V9 when [__WORDSIZE != 64]. + * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.c: File removed. + * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: File removed. + + * elf/sofini.c (__FRAME_END__): Mark as const. + * elf/soinit.c (__EH_FRAME_BEGIN__): Likewise. Add used attribute. + +2006-02-18 Joseph S. Myers + + * soft-fp/single.h (SFtype): Define. + (union _FP_UNION_S): Use it. + * soft-fp/double.h (DFtype): Define. + (union _FP_UNION_D): Use it. + * soft-fp/extended.h (XFtype): Define. + (union _FP_UNION_E): Use it. + * soft-fp/quad.h (TFtype): Define. + (union _FP_UNION_Q): Use it. + * soft-fp/soft-fp.h: Add _LIBC conditionals. + (SI_BITS, DI_BITS): Define. + * soft-fp/op-common.h (_FP_DECL): Add __attribute__((unused)) for + X##_c. + (_FP_CMP_EQ): Use parentheses for && inside ||. + (_FP_TO_INT): Use statement expressions in conditional controlling + constant shift. + (_FP_FROM_INT): Likewise. Take unsigned type as argument. + * soft-fp/op-2.h (_FP_FRAC_SLL_2, _FP_FRAC_SRL_2, _FP_FRAC_SRST_2, + _FP_FRAC_SRS_2, _FP_FRAC_ASSEMBLE_2): Use statement expressions in + conditional controlling possibly constant shift. + (_FP_FRAC_SRST_2, _FP_FRAC_SRS_2): Avoid left shift by exactly + _FP_W_TYPE_SIZE. + (_FP_FRAC_GT_2, _FP_FRAC_GE_2): Use parentheses for && inside ||. + * soft-fp/op-4.h (_FP_FRAC_SRST_4): Avoid left shift by exactly + _FP_W_TYPE_SIZE. + (__FP_FRAC_ADD_3, __FP_FRAC_ADD_4, __FP_FRAC_SUB_3, + __FP_FRAC_SUB_4): Use _FP_W_TYPE for carry flags. + * soft-fp/op-8.h (_FP_FRAC_SRS_8): Avoid left shift by exactly + _FP_W_TYPE_SIZE. + * soft-fp/floatdidf.c: Pass unsigned type and macro for type size. + * soft-fp/floatdisf.c: Likewise. + * soft-fp/floatditf.c: Likewise. + * soft-fp/floatsidf.c: Likewise. + * soft-fp/floatsisf.c: Likewise. + * soft-fp/floatsitf.c: Likewise. + * soft-fp/floatundidf.c: Likewise. + * soft-fp/floatundisf.c: Likewise. + * soft-fp/floatunditf.c: Likewise. + * soft-fp/floatunsidf.c: Likewise. + * soft-fp/floatunsisf.c: Likewise. + * soft-fp/floatunsitf.c: Likewise. + * soft-fp/fixdfdi.c: Pass macro for type size. + * soft-fp/fixdfsi.c: Likewise. + * soft-fp/fixsfdi.c: Likewise. + * soft-fp/fixsfsi.c: Likewise. + * soft-fp/fixtfdi.c: Likewise. + * soft-fp/fixtfsi.c: Likewise. + * soft-fp/fixunsdfdi.c: Likewise. + * soft-fp/fixunsdfsi.c: Likewise. + * soft-fp/fixunssfdi.c: Likewise. + * soft-fp/fixunssfsi.c: Likewise. + * soft-fp/fixunstfdi.c: Likewise. + * soft-fp/fixunstfsi.c: Likewise. + * sysdeps/alpha/soft-fp/ots_cvtqux.c: Pass unsigned type. + * sysdeps/alpha/soft-fp/ots_cvtqx.c: Likewise. + * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise. + * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise. + * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise. + * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Likewise. + * soft-fp/adddf3.c: Use typedefs for argument and return types. + * soft-fp/addsf3.c: Likewise. + * soft-fp/addtf3.c: Likewise. + * soft-fp/divdf3.c: Likewise. + * soft-fp/divsf3.c: Likewise. + * soft-fp/divtf3.c: Likewise. + * soft-fp/eqdf2.c: Likewise. + * soft-fp/eqsf2.c: Likewise. + * soft-fp/eqtf2.c: Likewise. + * soft-fp/extenddftf2.c: Likewise. + * soft-fp/extendsfdf2.c: Likewise. + * soft-fp/extendsftf2.c: Likewise. + * soft-fp/fixdfdi.c: Likewise. + * soft-fp/fixdfsi.c: Likewise. + * soft-fp/fixsfdi.c: Likewise. + * soft-fp/fixsfsi.c: Likewise. + * soft-fp/fixtfdi.c: Likewise. + * soft-fp/fixtfsi.c: Likewise. + * soft-fp/fixunsdfdi.c: Likewise. + * soft-fp/fixunsdfsi.c: Likewise. + * soft-fp/fixunssfdi.c: Likewise. + * soft-fp/fixunssfsi.c: Likewise. + * soft-fp/fixunstfdi.c: Likewise. + * soft-fp/fixunstfsi.c: Likewise. + * soft-fp/floatdidf.c: Likewise. + * soft-fp/floatdisf.c: Likewise. + * soft-fp/floatditf.c: Likewise. + * soft-fp/floatsidf.c: Likewise. + * soft-fp/floatsisf.c: Likewise. + * soft-fp/floatsitf.c: Likewise. + * soft-fp/floatundidf.c: Likewise. + * soft-fp/floatundisf.c: Likewise. + * soft-fp/floatunditf.c: Likewise. + * soft-fp/floatunsidf.c: Likewise. + * soft-fp/floatunsisf.c: Likewise. + * soft-fp/floatunsitf.c: Likewise. + * soft-fp/gedf2.c: Likewise. + * soft-fp/gesf2.c: Likewise. + * soft-fp/getf2.c: Likewise. + * soft-fp/ledf2.c: Likewise. + * soft-fp/lesf2.c: Likewise. + * soft-fp/letf2.c: Likewise. + * soft-fp/muldf3.c: Likewise. + * soft-fp/mulsf3.c: Likewise. + * soft-fp/multf3.c: Likewise. + * soft-fp/negdf2.c: Likewise. + * soft-fp/negsf2.c: Likewise. + * soft-fp/negtf2.c: Likewise. + * soft-fp/sqrtdf2.c: Likewise. + * soft-fp/sqrtsf2.c: Likewise. + * soft-fp/sqrttf2.c: Likewise. + * soft-fp/subdf3.c: Likewise. + * soft-fp/subsf3.c: Likewise. + * soft-fp/subtf3.c: Likewise. + * soft-fp/truncdfsf2.c: Likewise. + * soft-fp/trunctfdf2.c: Likewise. + * soft-fp/trunctfsf2.c: Likewise. + * soft-fp/unorddf2.c: Likewise. + * soft-fp/unordsf2.c: Likewise. + * soft-fp/unordtf2.c: Likewise. + +2006-02-09 Joseph S. Myers + + * soft-fp/op-common.h (_FP_UNPACK_SEMIRAW): Define. + (_FP_OVERFLOW_SEMIRAW): Likewise. + (_FP_CHECK_SIGNAN_SEMIRAW): Likewise. + (_FP_CHOOSENAN_SEMIRAW): Likewise. + (_FP_EXP_NORMAL): Likewise. + (_FP_PACK_SEMIRAW): Likewise. + (_FP_ADD_INTERNAL): Rewrite to operate on semi-raw value. + (_FP_SUB): Likewise. + (_FP_TO_INT): Rewrite to operate on raw values. Don't set INVALID + exception for conversions where most negative representable + integer is correct truncated value, but do set INEXACT for such + conversions where appropriate. Don't always left-shift for + converting to a wider integer. + (_FP_FROM_INT): Rewrite to yield raw value. Correct shift for + integers with one more bits than (mantissa + guard) bits for the + floating point format. Don't use __FP_FRAC_SRS_1 for shifting + integers that may be wider than _FP_W_TYPE_SIZE. + (FP_CONV): Don't define. + (FP_EXTEND): Define. + (FP_TRUNC): Likewise. + * soft-fp/op-1.h (_FP_FRAC_SRST_1, __FP_FRAC_SRST_1): Define. + (_FP_FRAC_CONV_1_1): Don't define. + (_FP_FRAC_COPY_1_1): Define. + * soft-fp/op-2.h (_FP_FRAC_SRST_2): Define. + (_FP_FRAC_CONV_1_2, _FP_FRAC_CONV_2_1): Don't define. + (_FP_FRAC_COPY_1_2, _FP_FRAC_COPY_2_1): Define. + * soft-fp/op-4.h (_FP_FRAC_SRST_4): Define. + (_FP_FRAC_SRS_4): Define based on _FP_FRAC_SRST_4. + (_FP_FRAC_CONV_1_4, _FP_FRAC_CONV_2_4): Don't define. + (_FP_FRAC_COPY_1_4, _FP_FRAC_COPY_2_4): Define. + (_FP_FRAC_CONV_4_1, _FP_FRAC_CONV_4_2): Don't define. + (_FP_FRAC_COPY_4_1, _FP_FRAC_COPY_4_2): Define. + * soft-fp/single.h (_FP_FRACTBITS_S): Define. + (_FP_FRACXBITS_S): Define in terms of _FP_FRACXBITS_S. + (_FP_WFRACXBITS_S): Likewise. + (_FP_QNANBIT_SH_S, _FP_IMPLBIT_SH_S): Define. + (FP_UNPACK_SEMIRAW_S, FP_UNPACK_SEMIRAW_SP): Define. + (FP_PACK_SEMIRAW_S, FP_PACK_SEMIRAW_SP): Define. + * soft-fp/double.h (_FP_QNANBIT_SH_D, _FP_IMPLBIT_SH_D): Define. + (FP_UNPACK_SEMIRAW_D, FP_UNPACK_SEMIRAW_D): Define + (FP_PACK_SEMIRAW_D, FP_PACK_SEMIRAW_DP): Define. + * soft-fp/extended.h (_FP_QNANBIT_SH_E, _FP_IMPLBIT_SH_E): Define. + (FP_UNPACK_EP): Correct typo. + (FP_UNPACK_SEMIRAW_E, FP_UNPACK_SEMIRAW_EP): Define. + (FP_PACK_SEMIRAW_E, FP_PACK_SEMIRAW_EP): Define. + * soft-fp/quad.h (_FP_QNANBIT_SH_Q, _FP_IMPLBIT_SH_Q): Define. + (FP_UNPACK_SEMIRAW_Q, FP_UNPACK_SEMIRAW_QP): Define. + (FP_PACK_SEMIRAW_Q, FP_PACK_SEMIRAW_QP): Define. + * soft-fp/fixdfdi.c: Use unsigned type for result of conversion. + * soft-fp/fixdfsi.c: Likewise. + * soft-fp/fixsfdi.c: Likewise. + * soft-fp/fixsfsi.c: Likewise. + * soft-fp/fixtfdi.c: Likewise. + * soft-fp/fixtfsi.c: Likewise. + * sysdeps/alpha/soft-fp/ots_cvtxq.c: Likewise. + * sysdeps/alpha/soft-fp/ots_nintxq.c: Likewise. + * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise. + * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise. + * soft-fp/adddf3.c: Update for changed soft-fp interfaces. + * soft-fp/addsf3.c: Likewise. + * soft-fp/addtf3.c: Likewise. + * soft-fp/extenddftf2.c: Likewise. + * soft-fp/extendsfdf2.c: Likewise. + * soft-fp/extendsftf2.c: Likewise. + * soft-fp/fixdfdi.c: Likewise. + * soft-fp/fixdfsi.c: Likewise. + * soft-fp/fixsfdi.c: Likewise. + * soft-fp/fixsfsi.c: Likewise. + * soft-fp/fixtfdi.c: Likewise. + * soft-fp/fixtfsi.c: Likewise. + * soft-fp/fixunsdfdi.c: Likewise. + * soft-fp/fixunsdfsi.c: Likewise. + * soft-fp/fixunssfdi.c: Likewise. + * soft-fp/fixunssfsi.c: Likewise. + * soft-fp/fixunstfdi.c: Likewise. + * soft-fp/fixunstfsi.c: Likewise. + * soft-fp/floatdidf.c: Likewise. + * soft-fp/floatdisf.c: Likewise. + * soft-fp/floatditf.c: Likewise. + * soft-fp/floatsidf.c: Likewise. + * soft-fp/floatsisf.c: Likewise. + * soft-fp/floatsitf.c: Likewise. + * soft-fp/floatundidf.c: Likewise. + * soft-fp/floatundisf.c: Likewise. + * soft-fp/floatunditf.c: Likewise. + * soft-fp/floatunsidf.c: Likewise. + * soft-fp/floatunsisf.c: Likewise. + * soft-fp/floatunsitf.c: Likewise. + * soft-fp/subdf3.c: Likewise. + * soft-fp/subsf3.c: Likewise. + * soft-fp/subtf3.c: Likewise. + * soft-fp/truncdfsf2.c: Likewise. + * soft-fp/trunctfdf2.c: Likewise. + * soft-fp/trunctfsf2.c: Likewise. + * sysdeps/alpha/soft-fp/ots_add.c: Likewise. + * sysdeps/alpha/soft-fp/ots_cvtqux.c: Likewise. + * sysdeps/alpha/soft-fp/ots_cvtqx.c: Likewise. + * sysdeps/alpha/soft-fp/ots_cvttx.c: Likewise. + * sysdeps/alpha/soft-fp/ots_cvtxq.c: Likewise. + * sysdeps/alpha/soft-fp/ots_cvtxt.c: Likewise. + * sysdeps/alpha/soft-fp/ots_nintxq.c: Likewise. + * sysdeps/alpha/soft-fp/ots_sub.c: Likewise. + * sysdeps/powerpc/soft-fp/q_add.c: Likewise. + * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise. + * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise. + * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise. + * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise. + * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise. + * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise. + * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise. + * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise. + * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise. + * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise. + * sysdeps/powerpc/soft-fp/q_sub.c: Likewise. + * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise. + * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_add.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Likewise. + +2006-02-23 Roland McGrath + + * include/libc-symbols.h: Fix comment typo. + From Peter Kjellerstedt . + + * sysdeps/unix/sysv/linux/i386/fchownat.c: Diddle code so that "fail" + label is always used. + + [BZ #2172] + * bits/syslog-path.h: New file. + * misc/Makefile (headers): Add it. + * misc/sys/syslog.h: Include it. + (_PATH_LOG): Macro removed. + From Robert Millan . + + * sysdeps/unix/sysv/linux/ftruncate64.c: Find generic implementation + in misc/, not posix/. + Reported by David S. Miller . + +2006-02-23 Jakub Jelinek + + * posix/sched_yield.c (__sched_yield): Add libc_hidden_def. + * sysdeps/mach/sched_yield.c (__sched_yield): Likewise. + +2006-02-22 Roland McGrath + + * po/libc.pot: Regenerated. + +2006-02-22 Jakub Jelinek + + * nis/ypclnt.c (yperr_string, ypbinderr_string): Add N_() + around string literals. + +2005-10-03 Jakub Jelinek + + * nscd/selinux.c (audit_init): Print error string in the failure + message. + +2006-02-21 Roland McGrath + + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_CLONE_THREAD_FLAGS): Consolidate definitions. + + * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Update comment, remove + __THROW from epoll_wait, to match .../linux/sys/epoll.h file. + +2006-02-03 Jakub Jelinek + + * manual/filesys.texi (futimes): Fix prototype. + +2004-08-09 Paul Eggert + + [BZ #315] + * manual/memory.texi (Obstacks Data Alignment): The default + alignment is not 4: it is enough to hold any type of data. + Problem reported by Benno in + . + +2005-11-15 Robert Millan + + [BZ #2161] + * manual/llio.texi (read, write): Document EINVAL on unaligned access. + +2006-02-21 Roland McGrath + + * sysdeps/i386/i686/memset.S: Fix treatment of unaligned pointer. + Reported by John Zulauf . + +2004-11-23 Richard Sandiford + + * configure.in (libc_cv_gcc_dwarf2_unwind_info): Delete. + (HAVE_DWARF2_UNWIND_INFO{,_STATIC}): Remove AC_DEFINEs. + * configure: Regenerate. + * config.h.in (HAVE_DWARF2_UNWIND_INFO{,_STATIC}): Remove undefs. + * elf/soinit.c: Don't include gccframe.h. + (__EH_FRAME_BEGIN__): Define unconditionally. + (__register_frame_info, __deregister_frame_info) + (__register_frame_info_bases, __deregister_frame_info_bases) + (__register_frame, __deregister_frame): Remove declarations. + (__libc_global_ctors, __libc_fini): Don't call registry functions. + * elf/sofini.c (__EH_FRAME_END__): Define unconditionally. + +2006-01-18 Samuel Thibault + + [BZ #2178] + * sysdeps/mach/hurd/getsid.c (getsid): When parameter PID is zero, + use _hurd_pid instead. + +2006-02-20 Richard Henderson + + * sysdeps/alpha/soft-fp/Makefile (CPPFLAGS): Add soft-fp include + to math subdir. + * sysdeps/alpha/soft-fp/e_sqrtl.c: Don't use local-soft-fp.h. + (__ieee754_sqrtl): Add _round local variable. + * sysdeps/unix/sysv/linux/alpha/fpu/Implies: Remove. + + * sysdeps/unix/sysv/linux/alpha/fxstatat.c: Fix hidden defs. -2009-05-29 Ulrich Drepper +2006-02-20 Roland McGrath - * sysdeps/x86_64/cacheinfo.c: Compact intel_02_known array. Adjust - code accessing it. - * sysdeps/unix/sysv/linux/i386/sysconf.c: Likewise. + * sysdeps/mips: Directory removed, saved in ports repository. + * sysdeps/unix/mips: Likewise. + * sysdeps/unix/sysv/linux/mips: Likewise. + * sysdeps/mach/mips: Likewise. + * sysdeps/mach/hurd/mips: Likewise. + * shlib-versions: Remove mips matches, now in ports fragment. + * sysdeps/unix/sysv/linux/kernel-features.h: Likewise. + * configure.in (machine): Likewise. + * configure: Regenerated. + + * hurd/hurd/xattr.h: New file. + * hurd/xattr.c: New file. + * hurd/Makefile (routines): Add it. + * sysdeps/mach/hurd/fgetxattr.c: New file. + * sysdeps/mach/hurd/flistxattr.c: New file. + * sysdeps/mach/hurd/fremovexattr.c: New file. + * sysdeps/mach/hurd/fsetxattr.c: New file. + * sysdeps/mach/hurd/getxattr.c: New file. + * sysdeps/mach/hurd/lgetxattr.c: New file. + * sysdeps/mach/hurd/listxattr.c: New file. + * sysdeps/mach/hurd/lsetxattr.c: New file. + * sysdeps/mach/hurd/removexattr.c: New file. + * sysdeps/mach/hurd/setxattr.c: New file. -2009-05-22 Andreas Schwab - - * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Set errno for ±Inf. - * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Set errno for overflow. - - * sysdeps/powerpc/powerpc32/____longjmp_chk.S: New file. - * sysdeps/powerpc/powerpc64/____longjmp_chk.S: New file. - * sysdeps/powerpc/powerpc32/__longjmp-common.S: Use CHECK_SP if - defined. - * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise. - * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise. - -2009-05-22 Jakub Jelinek - - * sysdeps/unix/sysv/linux/accept4.c: Include kernel-features.h. - (accept4): If __NR_accept4 is not defined, but __NR_socketcall - is, either do nothing at all if __ASSUME_ACCEPT4, or - call __internal_accept4 and handle EINVAL -> ENOSYS translation. - * sysdeps/unix/sysv/linux/internal_accept4.S: New file. - * sysdeps/unix/sysv/linux/i386/accept4.S (SOCKOP_accept4): Don't - define. - * sysdeps/unix/sysv/linux/i386/internal_accept4.S: New file. - * sysdeps/unix/sysv/linux/Makefile (sysdep-routines): Add - internal_accept4 in socket directory. - -2009-05-20 H.J. Lu - - * sysdeps/ia64/configure.in: New file. - -2009-05-21 H.J. Lu - - [BZ #10162] - * sysdeps/ia64/memchr.S: Use speculative load. - - * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S: New file. - * sysdeps/unix/sysv/linux/ia64/__longjmp.S: If CHECK_RSP is defined, - use it. - - * sysdeps/i386/__longjmp.S: Add .text. - * sysdeps/x86_64/__longjmp.S: Likewise. - -2009-05-21 Ulrich Drepper - - * sysdeps/unix/sysv/linux/kernel-features.h: Don't define - __ASSUME_ACCEPT4 for IA-64. - -2009-05-21 Jakub Jelinek - - * sysdeps/unix/sysv/linux/accept4.c (__NR_accept4): Don't define. - - * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_paccept): Remove. - (SOCKOP_accept4): Define. - -2009-05-20 Ulrich Drepper - - * po/da.po: Update from translation team. - -2009-05-18 Kaz Kojima - - * sysdeps/sh/____longjmp_chk.S: New file. - * sysdeps/sh/sh3/__longjmp.S: If CHECK_SP is defined, use it. - * sysdeps/sh/sh4/__longjmp.S: Likewise. - -2009-05-18 Jakub Jelinek - Ulrich Drepper - - * nscd/nscd_helper.c (MINIMUM_HASHENTRY_SIZE): Define. - (__nscd_cache_search): Assume each entry in the - hash chain needs one hashentry and half of datahead. Use - MINIMUM_HASHENTRY_SIZE instead of sizeof(hashentry). - -2009-05-16 Ulrich Drepper - - * posix/sys/wait.h: Fix typos. Pretty printing. - * stdlib/stdlib.h: Likewise. Correct comments. - - [BZ #10159] - * stdlib/stdlib.h (__WAIT_INT): Match the definition in . - - * nscd/nscd_helper.c (__nscd_cache_search): Fix exit condition in last - patch. - -2009-05-15 Ulrich Drepper - - * nscd/nscd_helper.c (__nscd_cache_search): Introduce loop counter. - Use it if we absolutely cannot reach any more correct list elements - because that many do not fit into the currently mapped database. - -2009-05-14 Jakub Jelinek +2006-02-15 Thomas Schwinge - * nscd/nscd_helper.c: Include stddef.h. - (__nscd_cache_search): Add datalen argument. Use atomic_forced_read - in a couple of places. Return NULL if trail is not less than - datasize, don't consider dataheads with length smaller than - offsetof (struct datahead, data) + datalen. - * nscd/nscd_client.h (__nscd_cache_search): Adjust prototype. - * nscd/nscd_gethst_r.c (nscd_gethst_r): Adjust callers. - * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise. - * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. - * nscd/nscd_getai.c (__nscd_getai): Likewise. - * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise. - * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise. - - * sysdeps/unix/sysv/linux/i386/fallocate64.c (__fallocate64_l64): - Rename ... - (fallocate64): ... to this. - * sysdeps/unix/sysv/linux/fallocate64.c (__fallocate64_l64): - Rename ... - (fallocate64): ... to this. - * sysdeps/unix/sysv/linux/Versions (libc): Remove fallocate64. - * sysdeps/unix/sysv/linux/wordsize-64/Versions (libc): Add - fallocate64@@GLIBC_2.10. - * sysdeps/unix/sysv/linux/i386/Versions (libc): Add - fallocate64@@GLIBC_2.11. - * sysdeps/unix/sysv/linux/s390/s390-32/Versions (libc): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions (libc): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (libc): Likewise. - * sysdeps/unix/sysv/linux/sh/Versions (libc): Likewise. + [BZ #2329] + * include/unistd.h (__getresuid, __getresgid, __setresuid) + (__setresgid): Fix argument name order in prototypes. + * posix/unistd.h (getresuid, getresgid, setresuid, setresgid): + Likewise. + * posix/getresuid.c (__getresuid): Fix argument order in definition. + * posix/getresgid.c (__getresgid): Likewise. + * posix/setresuid.c (__setresuid): Likewise. + * posix/setresgid.c (__setresgid): Likewise. + * sysdeps/mach/hurd/getresuid.c (__getresuid): Likewise. + * sysdeps/mach/hurd/getresgid.c (__getresgid): Likewise. + * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise. + * sysdeps/mach/hurd/setresgid.c (__setresgid): Likewise. + Reported by Samuel Thibault . + +2006-02-13 Mike Frysinger + + [BZ #2380] + * string/tester.c (test_strnlen): New function. + (test_strchr): Call it. + (test_strncat): Test lengths where the sign bit is set. + (test_strncmp): Likewise. + +2006-02-17 Jakub Jelinek + + * include/atomic.h (atomic_and, atomic_or): Define. + +2006-02-15 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Define MADV_DONTFORK + and MADV_DOFORK. + * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise. + +2006-02-13 Jakub Jelinek + + * sysdeps/unix/sysv/linux/not-cancel.h (__openat_not_cancel, + __openat64_not_cancel): Remove prototypes. + (__openat_nocancel, __openat64_nocancel): New prototypes or defines. + (openat_not_cancel, openat_not_cancel_3, openat64_not_cancel, + openat64_not_cancel_3): Use them. + +2006-02-12 Ulrich Drepper + + * io/ftw.c: Start using *at functions. + * io/ftw64.c: Likewise. + + * sysdeps/generic/not-cancel.h: Define openat_not_cancel, + openat_not_cancel_3, openat64_not_cancel, and openat64_not_cancel_3. + * sysdeps/unix/sysv/linux/not-cancel.h: Likewise. + + * sysdeps/unix/sysv/linux/openat.c: Create separate _nocancel + functions. + + * io/fxstatat.c: Add __fxstatat alias. + * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Likewise. + * sysdeps/unix/sysv/linux/fxstatat.c: Likewise. Add support for + newfstatat syscall. + * sysdeps/unix/sysv/linux/i386/fxstatat.c: Add __fxstatat alias. + Add support for fstatat64 syscall. + * include/sys/stat.h: Declare __fxstatat. + * io/fxstatat64.c: Add __fxstatat64 alias. + * sysdeps/unix/sysv/linux/fxstatat64.c: Add support for fstatat64 + syscall. + + * dirent/fdopendir.c: Add __fdopendir alias. + * sysdeps/unix/fdopendir.c: Likewise. + * sysdeps/mach/hurd/fdopendir.c: Likewise. + * include/dirent.h: Add __fdopendir declaration. + + [BZ #2226] + * libio/wgenops.c (_IO_wsetb): Use correct size of wide char + buffer in FREE_BUF call. + +2006-02-08 Ulrich Drepper - * nscd/selinux.c (nscd_avc_destroy): Removed. - * nscd/selinux.h (nscd_avc_destroy): Likewise. - * nscd/nscd.c (termination_handler): Don't call - nscd_avc_destroy. + * sysdeps/unix/sysv/linux/bits/sched.h: Declare unshare. + * sysdeps/unix/sysv/linux/Versions [libc, GLIBC_2.4]: Export + unshare. + * sysdeps/unix/sysv/linux/syscalls.list: Add unshare syscall. -2009-05-12 Jakub Jelinek + * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Add some + preprocessor magic so that the compiler won't see the prototypes + for the functions we are defining as stubs. - * include/atomic.h: Formatting. - (catomic_compare_and_exchange_val_acq): Don't define if already - defined by bits/atomic.h. +2006-02-05 Ulrich Drepper -2009-05-15 Ulrich Drepper - - * math/libm-test.inc (expm1_test): Add test for range error. + * io/ftw.c (ftw_startup): Use fchdir to return to original + directory for FTW_CHDIR. - * Versions.def: Add GLIBC_2.11 for libc. - * debug/Makefile (routines): Add longjmp_chk. - Add rules to build and run tst-longjmp_chk. - * debug/Versions: Export __longjmp_chk for GLIBC_2.11. - * debug/longjmp_chk.c: New file. - * debug/tst-longjmp_chk.c: New file. - * include/bits/setjmp2.: New file. - * include/stdio.h: Mark __fortify_fail as internal_function. - * setjmp/Makefile (headers): Add bits/setjmp2.h. - * setjmp/bits/setjmp2.h: New file. - * setjmp/longjmp.c: If __libc_siglongjmp is defined, don't define any - of the aliases. - * setjmp/setjmp.h: Include if _FORTIFY_SOURCE is - defined. - * sysdeps/i386/____longjmp_chk.S: New file. - * sysdeps/x86_64/____longjmp_chk.S: New file. - * sysdeps/i386/__longjmp.S: If CHECK_ESP is defined, use it. - * sysdeps/x86_64/__longjmp.S: Likewise. - - * version.h: Bump for 2.11 development. - - * elf/check-execstack.c: New file. - * elf/Makefile: Add rules to build and run check-execstack. - -2009-05-10 Ulrich Drepper - - * version.h (VERSION): Bump to 2.10.1. - - * nss/getXXbyYY_r.c: If NO_COMPAT_NEEDED is defined don't define any - compatibility functions. - * nss/getXXent_r.c: Likewise. - * gshadow/getsgent_r.c: Define NO_COMPAT_NEEDED. - * gshadow/getsgnam_r.c: Likewise. - * gshadow/Version: Remove duplicate entries. - - * sysdeps/x86_64/cacheinfo.c (intel_02_cache_info): Add missing entries - for recent processor. - * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_cache_info): +2006-02-03 Ulrich Drepper + + * manual/stdio.texi (Formatted Output Functions): Fix make_message + example. Patch by NIIBE Yutaka . + +2006-02-03 Roland McGrath + + [BZ #2268] + * sysdeps/posix/profil.c (__profil): Use __profile_frequency to choose + timer interval, don't assume smallest possible interval is it. + +2006-02-03 Jakub Jelinek + + * sysdeps/powerpc/fpu/bits/fenvinline.h (fegetround): Make asm + volatile. + + * stdlib/bits/stdlib-ldbl.h (qecvt, qfcvt, qgcvt, qecvt_r, qfcvt_r): + Guard with [__USE_SVID || __USE_XOPEN_EXTENDED]. + + * math/math.h [__LDBL_COMPAT && __USE_ISOC99] (nexttowardl): New + prototype. + + * math/math.h (__nldbl_nexttowardf): Put __THROW before + __attribute__ ((__const__)). + (__MATHDECL_2): Use __REDIRECT_NTH instead of __REDIRECT + followed by __THROW. + +2006-02-02 Ulrich Drepper + + * sysdeps/unix/sysv/linux/futimesat.c [__NR_futimesat] + (futimesat): If file is NULL use __futimes. + * include/sys/time.h: Declare __futimes. + +2006-02-02 Roland McGrath + + * sysdeps/unix/sysv/linux/openat.c (__atfct_seterrno): Use the same + fstat check for ENOENT that should be EBADF as for ENOTDIR, and also + check for missing /proc the same way. + + * include/errno.h [__cplusplus]: Avoid extra header magic for C++. + + * manual/install.texi (Tools for Compilation): Require gcc 3.4, + recommend 4.1, advise 4.0 for powerpc64, and note 4.1 required for + powerpc, s390{x,} with new long double. + * INSTALL: Regenerated. + + * timezone/private.h: Update from tzcode2006a. + * timezone/scheck.c: Likewise. + * timezone/asia: Update from tzdata2006a. + * timezone/northamerica: Likewise. + * timezone/zone.tab: Likewise. + + * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): New variable. + (CFLAGS-mcount.c): Use it instead of -msoft-float. + * sysdeps/powerpc/powerpc64/elf/Makefile + (CFLAGS-dl-runtime.os, CFLAGS-dl-lookup.os, CFLAGS-dl-misc.os, + CFLAGS-rtld-mempcpy.os, CFLAGS-rtld-memmove.os, CFLAGS-rtld-memchr.os, + CFLAGS-rtld-strnlen.os): Likewise. + +2006-02-01 Roland McGrath + + * sysdeps/ieee754/ldbl-opt/Makefile (sysdep-CFLAGS): Avoid adding + -mlong-double-128 when it's already there. + +2006-02-01 Roland McGrath + + * mach/Machrules ($(objpfx)%.uh, $(objpfx)%.__h): Use static pattern + rules for these, not implicit rules. + ($(objpfx)%.h): Likewise. + Reported by Thomas Schwinge . + +2006-02-01 Jakub Jelinek + + * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Use long_double_symbol + even for libm. + + * libio/bits/libio-ldbl.h (_IO_vfwscanf, _IO_vfwprintf): Remove + __LDBL_REDIR_DECL. + + * math/bits/mathcalls.h: Guard __END_NAMESPACE_C99 with the + same #if condition as corresponding __BEGIN_NAMESPACE_C99. + (scalb): Don't define only if __USE_ISOC99. + + * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Fix a typo. + * sysdeps/s390/fpu/libm-test-ulps: Remove llrint ulps. + +2006-01-19 Thomas Schwinge + + * libio/genops.c: Include . + +2006-02-01 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Add + some more entries. + * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_02_known): Likewise. + +2006-01-31 Jakub Jelinek + + * sysdeps/unix/sysv/linux/alpha/fpu/Implies: New file. + * sysdeps/alpha/fpu/s_ceil.c: Include math_ldbl_opt.h, add + compat_symbol if LONG_DOUBLE_COMPAT. + * sysdeps/alpha/fpu/s_copysign.c: Likewise. + * sysdeps/alpha/fpu/s_fabs.c: Likewise. + * sysdeps/alpha/fpu/s_floor.c: Likewise. + * sysdeps/alpha/fpu/s_rint.c: Likewise. + * sysdeps/alpha/soft-fp/e_sqrtl.c: New file. + * sysdeps/alpha/Implies: Add ieee754/ldbl-128. + + * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: New file. + * sysdeps/unix/sysv/linux/alpha/Implies: Add ieee754/ldbl-64-128, + ieee754/ldbl-opt. + * sysdeps/alpha/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Remove. + * sysdeps/unix/sysv/linux/alpha/nldbl-abi.h: New file. + * sysdeps/unix/sysv/linux/alpha/Makefile + [$(subdir) = math] (libm-routines): Add multc3, divtc3. + + * math/divtc3.c: New file. + * math/multc3.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile + [$(subdir) = math] (libm-routines): Add multc3, divtc3. + + * sysdeps/unix/sysv/linux/sparc/sparc32/fpu/Implies: New file. + * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include math.h and + math_ldbl_opt.h. + (fabsl): Use long_double_symbol instead of weak_alias. + * sysdeps/sparc/sparc32/fpu/s_fabs.c: Include math.h and + math_ldbl_opt.h. + [LONG_DOUBLE_COMPAT] (fabsl): Add compat_symbol. + +2006-01-31 Martin Schwidefsky + Jakub Jelinek + + * sysdeps/unix/sysv/linux/s390/Implies: New file. + * sysdeps/unix/sysv/linux/s390/fpu/Implies: New file. + * sysdeps/unix/sysv/linux/s390/nldbl-abi.h: New file. + * sysdeps/s390/fpu/bits/mathinline.h (signbitl, sqrtl): New inlines. + * sysdeps/s390/bits/mathdef.h: New file. + * sysdeps/s390/fpu/e_sqrtl.c: New file. + * sysdeps/s390/s390-32/bits/wordsize.h (__LONG_DOUBLE_MATH_OPTIONAL, + __NO_LONG_DOUBLE_MATH): Define. + * sysdeps/s390/s390-64/bits/wordsize.h: Likewise. + * sysdeps/s390/Implies: Add ieee754/ldbl-128. + * sysdeps/s390/ldbl2mpn.c: File removed. + * sysdeps/s390/fpu/libm-test-ulps: Updated. + +2006-01-31 Roland McGrath + + * sysdeps/alpha/fpu/bits/mathdef.h: Moved to ... + * sysdeps/alpha/bits/mathdef.h: ... here. + * sysdeps/i386/fpu/bits/mathdef.h: Moved to ... + * sysdeps/i386/bits/mathdef.h: ... here. + * sysdeps/mips/fpu/bits/mathdef.h: Moved to ... + * sysdeps/mips/bits/mathdef.h: ... here. + * sysdeps/m68k/fpu/bits/mathdef.h: Moved to ... + * sysdeps/m68k/bits/mathdef.h: ... here. + * sysdeps/powerpc/fpu/bits/mathdef.h: Moved to ... + * sysdeps/powerpc/bits/mathdef.h: ... here. + * sysdeps/sparc/fpu/bits/mathdef.h: Moved to ... + * sysdeps/sparc/bits/mathdef.h: ... here. + * sysdeps/ia64/fpu/bits/mathdef.h: Moved to ... + * sysdeps/ia64/bits/mathdef.h: ... here. + * sysdeps/sh/sh4/fpu/bits/mathdef.h: Moved to ... + * sysdeps/sh/sh4/bits/mathdef.h: ... here. + * sysdeps/x86_64/fpu/bits/mathdef.h: Moved to ... + * sysdeps/x86_64/bits/mathdef.h: ... here. + +2006-01-31 Jakub Jelinek + + * sysdeps/unix/sysv/linux/i386/fxstatat.c [XSTAT_IS_STAT64] + (__fxstatat64): Add libc_hidden_ver. + * sysdeps/unix/sysv/linux/fxstatat.c [XSTAT_IS_STAT64] (__fxstatat64): Likewise. -2009-05-09 Ulrich Drepper + * sysdeps/sparc/sparc64/jmpbuf-unwind.h: Remove jmpbuf-offsets.h + include. - * version.h (VERSION): Bump for 2.10 release. - * include/features.h (__GLIBC_MINOR__): Bump to 10. +2006-01-31 Roland McGrath + + * sysdeps/powerpc/fpu/libm-test-ulps: Update by Jakub. - * Makeconfig: Undo last change. Add asflags-cpu to ASFLAGS in the - same place we add ASFLAGS-config. + * inet/rcmd.c (iruserfopen): Remove redundant initialization. + From Bernhard Fischer . + + * posix/regcomp.c (calc_eclosure_iter): Remove dead variables. + Reported by Mike Frysinger . + +2006-01-30 Steven Munroe + + * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Correct index + for __sincosl_table. + * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise. + + * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Correct sign of 0.0. + * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise. + + * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: New file. + +2006-01-29 Daniel Jacobowitz + + * sysdeps/unix/sysv/linux/mips/bits/errno.h (ECANCELED, + EOWNERDEAD, ENOTRECOVERABLE): Define. + + * sysdeps/unix/sysv/linux/mips/bits/mman.h (MADV_REMOVE): Define. + + * sysdeps/mips/dl-machine.h (RTLD_START): Correct offsets for + N64. + + * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct msghdr): Use + size_t for msg_controllen. + (__cmsg_nxthdr): Correct test. + (__SCM_CONNECT): Delete. + +2006-01-30 Alexandre Oliva + Roland McGrath + + * configure.in (fno_unit_at_a_time): Set to + -fno-toplevel-reorder if the compiler supports it. + Otherwise use -fno-unit-at-a-time unconditionally. + * configure: Regenerated. + +2006-01-30 Jakub Jelinek + + * sysdeps/powerpc/fpu/libm-test-ulps: Merge ulps with older + libm-test-ulps rather than overwrite it. Remove excessively high ulps. + +2006-01-29 Joseph S. Myers + + * soft-fp/double.h (FP_CMP_UNORD_D): Also define in + [_FP_W_TYPE_SIZE >= 64] case. + * soft-fp/extended.h (FP_CMP_UNORD_E): Likewise. + * soft-fp/quad.h (FP_CMP_UNORD_Q): Likewise. + +2006-01-27 Dwayne Grant McConnell + Jakub Jelinek + Roland McGrath + Steven Munroe + Alan Modra + + * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Comment fix. + * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise. + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + + * math/libm-test.inc (check_float_internal): Allow ulp <= 0.5. + (erfc_test): Don't run erfcl (27.0L) test if erfcl (27.0L) is + denormal. + [TEST_LDOUBLE] (ceil_test, floor_test, llrint_test, llround_test, + rint_test, round_test, trunc_test): Add new tests. + + * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: New file. + * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: New file. + * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S: New file. + * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: New file. + * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: New file. + * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: New file. + * sysdeps/powerpc/powerpc32/fpu/s_isnan.c: New file. + + * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: New file. + * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_isnan.c: New file. + * sysdeps/powerpc/powerpc64/fpu/s_llrintl.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_llroundl.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_lrintl.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_lroundl.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_rintl.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: New file. + + * sysdeps/unix/sysv/linux/powerpc/Implies: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: New file. + * sysdeps/unix/sysv/linux/powerpc/configure.in: New file. + * sysdeps/unix/sysv/linux/powerpc/configure: New file. + * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h + (__LONG_DOUBLE_MATH_OPTIONAL): Define. + (__NO_LONG_DOUBLE_MATH): Define. + * sysdeps/unix/sysv/linux/powerpc/nldbl-abi.h: New file. + * sysdeps/powerpc/fpu/s_isnan.c: Include math_ldbl_opt.h. + * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include math_ldbl_opt.h. + [LONG_DOUBLE_COMPAT] (ceill): Add compatibility symbols. + * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include math_ldbl_opt.h. + [LONG_DOUBLE_COMPAT] (copysignl): Add compatibility symbols. + * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include math_ldbl_opt.h. + [LONG_DOUBLE_COMPAT] (floorl): Add compatibility symbols. + * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include math_ldbl_opt.h. + [LONG_DOUBLE_COMPAT] (llrintl, lrintl): Add compatibility symbols. + * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include math_ldbl_opt.h. + [LONG_DOUBLE_COMPAT] (llroundl, lroundl): Add compatibility symbols. + * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include math_ldbl_opt.h. + [LONG_DOUBLE_COMPAT] (rintl): Add compatibility symbols. + * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include math_ldbl_opt.h. + [LONG_DOUBLE_COMPAT] (roundl): Add compatibility symbols. + * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include math_ldbl_opt.h. + [LONG_DOUBLE_COMPAT] (truncl): Add compatibility symbols. + * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include math_ldbl_opt.h. + [LONG_DOUBLE_COMPAT] (ceill): Add compatibility symbols. + * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include math_ldbl_opt.h. + [LONG_DOUBLE_COMPAT] (copysignl): Add compatibility symbols. + * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include math_ldbl_opt.h. + [LONG_DOUBLE_COMPAT] (floorl): Add compatibility symbols. + * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include math_ldbl_opt.h. + [LONG_DOUBLE_COMPAT] (lrintl): Add compatibility symbols. + * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include math_ldbl_opt.h. + [LONG_DOUBLE_COMPAT] (llrintl): Add compatibility symbols. + * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include math_ldbl_opt.h. + [LONG_DOUBLE_COMPAT] (lroundl): Add compatibility symbols. + * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include math_ldbl_opt.h. + [LONG_DOUBLE_COMPAT] (rintl): Add compatibility symbols. + * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include math_ldbl_opt.h. + [LONG_DOUBLE_COMPAT] (roundl): Add compatibility symbols. + * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include math_ldbl_opt.h. + [LONG_DOUBLE_COMPAT] (truncl): Add compatibility symbols. + + * misc/qefgcvt_r.c [LDBL_MIN_10_EXP == -291] (FLOAT_MIN_10_NORM): New. + + * sysdeps/powerpc/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Remove. + * sysdeps/powerpc/Implies: Add ieee754/ldbl-128ibm. + * sysdeps/powerpc/powerpc32/Implies: Remove powerpc/soft-fp. + * sysdeps/ieee754/ldbl-128ibm/Makefile: New file. + * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_expl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_logl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_powl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/ieee754.h: New file. + * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: New file. + * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: New file. + * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: New file. + * sysdeps/ieee754/ldbl-128ibm/t_sincosl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/w_expl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: New file. + + * sysdeps/ieee754/ldbl-128/e_powl.c: Fix old comment. + +2006-01-22 Aurelien Jarno + + * sysdeps/gnu/errlist-compat.awk: Reduce required number of symbols in + sanity check. + +2006-01-21 Ulrich Drepper + + * sysdeps/unix/sysv/linux/renameat.c (__atfct_seterrno_2): Correctly + return EBADF for non-existing file descriptors. + * sysdeps/unix/sysv/linux/openat.c (__atfct_seterrno): Likewise. + * io/tst-openat.c (do_test): Add some more tests. + * io/tst-faccessat.c (do_test): Likewise. + * io/tst-renameat.c (do_test): Likewise. + * io/tst-fstatat.c (do_test): Likewise. + * io/tst-fchmodat.c (do_test): Likewise. + * io/tst-fchownat.c (do_test): Likewise. + +2006-01-21 Roland McGrath + + * sysdeps/unix/sysv/linux/faccessat.c: Move RESULT defn inside block. + + * misc/tst-pselect.c: Include . + + * time/time.h [__need_timespec et al]: Include here too. + + * stdlib/fpioconst.c: Fix whitespace typo. + +2006-01-20 Jakub Jelinek + + * sysdeps/ieee754/ldbl-64-128/s_nexttowardfd.c: Moved to... + * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: ... here. New file. + * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (long_double_symbol_1): For + C define again using _weak_alias, for assembler use weak_alias. + + * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: New file. + * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: New file. + * sysdeps/powerpc/fpu/bits/mathinline.h (__CPU_HAS_FSQRT): New macro. + (__ieee754_sqrt, __ieee754_sqrtf): Use it. + +2006-01-21 Ulrich Drepper + + * sysdeps/unix/sysv/linux/pselect.c (__pselect): Allow actual + system call code to be redefined in macro CALL_PSELECT6. + * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc] + (sysdep_routines): Add call_pselect6. + * sysdeps/unix/sysv/linux/i386/call_pselect6.S: New file. + * sysdeps/unix/sysv/linux/i386/pselect.c: New file. + * misc/Makefile (tests): Add tst-pselect. + * misc/tst-pselect.c: New file. + +2006-01-20 Roland McGrath + + * sysdeps/mach/hurd/ppoll.c: New file. + +2006-01-20 Ulrich Drepper + + * sysdeps/unix/sysv/linux/pselect.c: Fix typo in declaration. + + * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Cast k_dev + value to unsigned int to match kernel. + + * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Try using the + syscall in more cases. + + * io/Makefile (tests): Add tst-symlinkat, tst-linkat, tst-readlinkat, + tst-mkdirat, tst-mknodat, and tst-mkfifoat. + * io/tst-symlinkat.c: New file. + * io/tst-linkat.c: New file. + * io/tst-readlinkat.c: New file. + * io/tst-mkdirat.c: New file. + * io/tst-mknodat.c: New file. + * io/tst-mkfifoat.c: New file. + + * dirent/Makefile (tests): Add tst-fdopendir2. + * dirent/tst-fdopendir2.c: New file. + +2006-01-20 Alexandre Oliva -2009-05-05 Aurelien Jarno + * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h + (sigcontext_struct) [__WORDSIZE == 32]: Define. - [BZ #10128] - * resolv/res_query.c (__libc_res_nquery): If one query returns NOTIMP - or FORMERR and the other NOERROR, don't raise an error. +2006-01-20 Kaz Kojima -2009-05-06 Ryan S. Arnold + * sysdeps/sh/sh4/__longjmp.S: Demangle also r14 and r15. + * sysdeps/sh/sh3/__longjmp.S: Likewise. + * sysdeps/sh/sh4/setjmp.S: Mangle also r14 and r15. + * sysdeps/sh/sh3/setjmp.S: Likewise. + * sysdeps/unix/sysv/linux/sh/sysdep.h [__ASSEMBLER__] + (PTR_MANGLE): Add temporary register as the second parameter. + (PTR_DEMANGLE): Likewize. + (PTR_MANGLE2, PTR_DEMANGLE2): Define. - [BZ #10118] - * Makeconfig (+asflags): New variable based upon ASFLAG or - asflags-cpu. - (ASFLAGS): Add override to set ASFLAGS to +asflags. - * config.make.in (asflags-cpu): Add variable based upon - @libc_cv_cc_submachine@ to propagate -mcpu=CPU from --with-cpu=CPU to - the assembler. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/setcontext.S: - Remove unneeded file now that the assembler emits _ARCH_PWR6 and - recognizes power6 instruction set due to passing -mcpu=power6 from - --with-cpu=power6 when compiling .S files. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/swapcontext.S: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/setcontext.S: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/swapcontext.S: - Likewise. +2006-01-19 Ulrich Drepper -2009-05-09 Jakub Jelinek + * include/fcntl.h: Declare __have_atfcts. + * sysdeps/unix/sysv/linux/faccessat.c: Use syscall if available. + * sysdeps/unix/sysv/linux/fchmodat.c: Likewise. + * sysdeps/unix/sysv/linux/fchownat.c: Likewise. + * sysdeps/unix/sysv/linux/futimesat.c: Likewise. + * sysdeps/unix/sysv/linux/linkat.c: Likewise. + * sysdeps/unix/sysv/linux/mkdirat.c: Likewise. + * sysdeps/unix/sysv/linux/openat.c: Likewise. + * sysdeps/unix/sysv/linux/readlinkat.c: Likewise. + * sysdeps/unix/sysv/linux/renameat.c: Likewise. + * sysdeps/unix/sysv/linux/symlinkat.c: Likewise. + * sysdeps/unix/sysv/linux/unlinkat.c: Likewise. + * sysdeps/unix/sysv/linux/xmknodat.c: Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Likewise. + * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PSELECT, + __ASSUME_PPOLL, and __ASSUME_ATFCTS if possible. - * string/stratcliff.c (do_test): Test for zero length - STRNLEN, MEMCHR, STRNCPY, STPNCPY, MEMCPY, MEMPCPY and memccpy - at the end of the page. + * io/ppoll.c: New file. + * io/Makefile (routines): Add ppoll. + (CFLAGS-ppoll.c): Define. + * io/Versions: Export ppoll for GLIBC_2.4. + * io/sys/poll.h: Declare ppoll. + * sysdeps/unix/sysv/linux/ppoll.c: New file. -2009-05-08 Ulrich Drepper + * misc/pselect.c: Make it possible to include this file to define + the generic code as a static function. + * sysdeps/unix/sysv/linux/pselect.c: New file. - * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_AT_RANDOM. +2006-01-19 Jakub Jelinek - * sysdeps/x86_64/memchr.S: Handle invalid buffer pointers when - count is zero. + * misc/pselect.c (__pselect): Remove static. + Include sysdep-cancel.h again. Add LIBC_CANCEL_HANDLED (). - * po/da.po: Update from translation team. +2006-01-18 Roland McGrath -2009-05-05 Jakub Jelinek + * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h [__ASSEMBLER__]: Don't + include problematic headers for assembler. - * io/sys/stat.h (fstatat64): Guard prototype with __USE_LARGEFILE64, - guard __extern_inline wrapper with __USE_ATFILE instead of __USE_GNU. + * Makerules ($(+sysdir_pfx)sysd-rules): Don't emit m_%.c rules, + instead emit m_%.o compilation rules from s_%.? source files. + * math/Makefile ($(objpfx)m_%$o: s_%.c): New rule using o-iterator. -2009-05-05 Ulrich Drepper +2006-01-18 Ulrich Drepper - * sysdeps/unix/sysv/linux/sys/personality.h: Add ADDR_COMPAT_LAYOUT - and READ_IMPLIES_EXEC. + * misc/pselect.c (__pselect): No need to enable async cancellation + here. This is done in select. -2009-05-04 Ulrich Drepper + * sysdeps/unix/sysv/linux/fxstatat.c [STAT_IS_KERNEL_STAT] + (__fxstatat): Correct handling of invalid vers values. - * po/da.po: Update from translation team. + [BZ #2173] + * libio/fileops.c (_IO_new_file_fopen): If ,ccs= is given, also + set vtable to the wide vtable. + * libio/tst-fopenloc2.c: New file. + * libio/Makefile (tests): Add tst-fopenloc2. -2009-04-29 Jakub Jelinek +2006-01-18 Roland McGrath - * sysdeps/unix/sysv/linux/ifaddrs.c: Revert unintended 2008-08-12 - comment change. + * sysdeps/ieee754/ldbl-opt/nldbl-dprintf.c: Restore + attribute_hidden here. -2009-04-27 Jakub Jelinek + * sysdeps/sparc/sparc64/Makefile (long-double-fcts): Move this ... + * sysdeps/sparc/Makefile (long-double-fcts): ... to here. - * locale/programs/locarchive.c (create_archive): Add MAP_PRIVATE - to MAP_ANON in PROT_NONE mmap64 call. - (open_archive): Likewise. - (file_data_available_p): Use mmap64 instead of mremap. - (enlarge_archive): Likewise. Update head if ah->addr changed. - Attempt to reserve address space after mmap64 region. +2006-01-18 Jakub Jelinek -2009-04-26 Ulrich Drepper + * elf/dl-deps.c (_dl_map_object_deps): In case of failure also make a + copy of objname string. - * sysdeps/ieee754/dbl-64/s_expm1.c: Set errno for overflow. - * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise. - * sysdeps/x86_64/fpu/s_expm1l.S: Likewise. +2006-01-16 Roland McGrath - * sysdeps/ieee754/k_standard.c (__kernel_standard): Pole errors in - atanh should set ERANGE. + * Makerules ($(+sysdir_pfx)sysd-rules): Emit pattern rules to install + into $(inst_includedir)/%.h from sysdirs. + [headers]: Change static pattern rule for installing + $(headers) to do only those not matching %.h. + ($(inst_includedir)/%.h: $(objpfx)%.h): Add this pattern rule instead. + ($(inst_includedir)/%.h: %.h): Likewise. + ($(inst_includedir)/%.h: $(..)include/%.h): Likewise. - [BZ #10087] - * elf/dl-runtime.c (_dl_fixup): Use DL_FIXUP_VALUE_ADDR to access - result of lookup to make call to implement STT_GNU_IFUNC. - (_dl_profile_fixup): Likewise. - Patch by H.J. Lu . + * Makefile ($(inst_includedir)/gnu/stubs.h): + Add $(make-target-directory). - * nscd/connections.c (send_ro_fd): Define temporary variable to avoid - warning. + * stdlib/Makefile (headers): Restore headers removed in last change. - * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Remove inline - from definition. +2006-01-16 Jakub Jelinek - * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Don't define - label if it is not used. + * math/e_exp2l.c: Don't include stdio.h, errno.h, stub-tag.h, include + math_private.h. + (__ieee754_exp2l): Compute for now as expl (M_LN2l * x) + instead of failing. + (exp2l): Remove stub_warning. - * elf/dl-profile.c (_dl_start_profile): Define real-type variant - of gmon_hist_hdr and gmon_hdr structures and use them. - * elf/sprof.c: Likewise. +2006-01-15 Jakub Jelinek - * elf/dl-load.c (open_verify): Add temporary variable to avoid - warning. + * io/tst-faccessat.c (do_test): Don't fail if geteuid () == 0. - * nscd/nscd_helper.c (get_mapping): Avoid casts to avoid warnings. - - * sunrpc/clnt_raw.c (clntraw_private_s): Use union in definition - to avoid cast. - - * inet/rexec.c (rexec_af): Make sa2 a union to avoid warnings. - * inet/rcmd.c (rcmd_af): Make from a union of the various needed types - to avoid warnings. - (iruserok_af): Use ss_family instead of casts. - - * gmon/gmon.c (write_hist): Define real-type variant of - gmon_hist_hdr structure and use it. - (write_gmon): Likewise for gmon_hdr. - - * sysdeps/unix/sysv/linux/readv.c: Avoid declaration of replacement - function if we are not going to define it. - * sysdeps/unix/sysv/linux/writev.c: Likewise. - - * inet/inet6_option.c (option_alloc): Add temporary variable to - avoid warning. - - * libio/strfile.h (struct _IO_streambuf): Use correct type and - name of VTable element. - * libio/iovsprintf.c: Avoid casts to avoid warnings. - * libio/iovsscanf.c: Likewise. - * libio/vasprintf.c: Likewise. - * libio/vsnprintf.c: Likewise. - * stdio-common/isoc99_vsscanf.c: Likewise. - * stdlib/strfmon_l.c: Likewise. - * debug/vasprintf_chk.c: Likewise. - * debug/vsnprintf_chk.c: Likewise. - * debug/vsprintf_chk.c: Likewise. - - * nss/nsswitch.c (__nss_lookup_function): En/Decrypt cached - function pointers. - -2009-04-26 Jakub Jelinek - - * sysdeps/ieee754/dbl-64/s_tan.c (tan): Fix -Wsequence-point warnings. - -2009-04-25 Ulrich Drepper - - * posix/bits/posix1_lim.h: Cleanup namespace a bit. - - * sysdeps/i386/fpu/s_tan.S: Set errno for ±Inf. - * sysdeps/i386/fpu/s_tanf.S: Likewise. - * sysdeps/i386/fpu/s_tanl.S: Likewise. - * sysdeps/ieee754/dbl-64/s_tan.c: Likewise. - * sysdeps/ieee754/flt-32/s_tanf.c: Likewise. - * sysdeps/x86_64/fpu/s_tanl.S: Likewise. - * math/libm-test.inc: Add tests for errno after tan calls with - ±Inf. - - * sysdeps/ieee754/k_standard.c (__kernel_standard): Use correct - errno value vor pow(+-0,neg). - * math/libm-test.inc (pow_test): Add tests for errno value for - pole errors. - - * math/w_fmod.c: Also handle x=±Inf as error. - * math/w_fmodf.c: Likewise. - * math/w_fmodl.c: Likewise. - * math/libm-test.inc (fmod_test): Add tests for errno after calls for - x=±Inf or y=0. - - * sysdeps/i386/fpu/s_cos.S: Set errno for ±Inf. - * sysdeps/i386/fpu/s_cosf.S: Likewise. - * sysdeps/i386/fpu/s_cosl.S: Likewise. - * sysdeps/i386/fpu/s_sin.S: Likewise. - * sysdeps/i386/fpu/s_sinf.S: Likewise. - * sysdeps/i386/fpu/s_sinl.S: Likewise. - * sysdeps/ieee754/dbl-64/s_sin.c: Likewise. - * sysdeps/ieee754/flt-32/s_cosf.c: Likewise. - * sysdeps/ieee754/flt-32/s_sinf.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise. - * sysdeps/x86_64/fpu/s_cosl.S: Likewise. - * sysdeps/x86_64/fpu/s_sinl.S: Likewise. - * math/libm-test.inc: Add tests for errno after sin/cos calls with - ±Inf. - - * stdlib/strtod_l.c (round_and_return): We have to set errno to - ERANGE for underflows. - * stdlib/tst-strtod.c (tests): Two tests should set errno to ERANGE. - - * stdio-common/stdio_lim.h.in (L_cuserid): Not part of POSIX since - the 2001 revision. - - * libio/tst-widetext.input: Remove surrogates. - - * include/features.h: _POSIX_C_SOURCE >= 200112L implies C99. - - * sysdeps/ieee754/k_standard.c (__kernel_standard): Pole errors - for lgamma should set errno to ERANGE, not EDOM. - * math/libm-test.inc (lgamma_test): Check errno for pole errors. - -2009-04-24 Ulrich Drepper - - [BZ #10093] - * iconv/gconv_simple.c (BODY for UTF-8 to INTERNAL): Don't accept - UTF-16 surrogates. - - * locale/programs/locarchive.c (enlarge_archive): Conserve address - space when temporarily mapping the whole content of the old file. - - [BZ #10100] - * misc/hsearch_r.c (hsearch_r): Add back ensurance that hval is - not zero. - -2009-04-24 Jakub Jelinek - - * iconvdata/sjis.c (BODY): Don't advance inptr before - STANDARD_FROM_LOOP_ERR_HANDLER (2) for 2 byte invalid input. - Use STANDARD_FROM_LOOP_ERR_HANDLER with 2 instead of 1 for - two byte chars. - -2009-04-24 Ulrich Drepper - - * locale/locarchive.h (struct locarhandle): Rename len field to - mmaped and add new reserved field. - * locale/programs/locarchive.c (RESERVE_MMAP_SIZE): Define. - (create_archive): Reserve address space and then map file into it. - (open_archive): Likewise. - (file_data_available_p): New function. - (compare_from_file): New function. - (close_archive): Adjust to member name changes. - (add_locale): Before comparing locale data, check it is mapped. - Otherwise fall back to reading from the file. - -2009-04-23 H.J. Lu - - * stdio-common/psiginfo.c: Include . - -2009-04-23 Ulrich Drepper - - [BZ #9920] - * stdlib/random_r.c (__srandom_r): Change type of word to int32_t - to get consistency between 32 and 64 bit architectures. - - [BZ #10052] - * sysdeps/unix/make-syscalls.sh: Add rule to create target - directory for dummy syscall rules. - Patch by Chris Steinbroner . - -2009-04-23 Aurelien Jarno - - [BZ #10092] - * sysdeps/unix/sysv/linux/sys/mount.h: Define MNT_DETACH and - MNT_EXPIRE. - -2009-04-23 Ulrich Drepper - - * sysdeps/unix/sysv/linux/preadv.c: The kernel API changed. Adjust. - * sysdeps/unix/sysv/linux/pwritev.c: Likewise. - -2009-04-23 Jakub Jelinek - - * sysdeps/posix/pwritev.c (PWRITEV): Fix up comment. Copy - data from vector to temporary buffer and call PWRITEV after it - instead of vice versa. - * sysdeps/posix/preadv.c: Fix up comment. - * misc/preadv.c: Likewise. - * misc/preadv64.c: Likewise. - * misc/pwritev.c: Likewise. - * misc/pwritev64.c: Likewise. - * misc/sys/uio.h (preadv, pwritev, preadv64, pwritev64): Likewise. - -2009-04-23 Ulrich Drepper - - * shadow/sgetspent_r.c (__sgetspent_r): Recognize too small buffers. - - * shadow/Makefile (tests): Add tst-shadow. - * shadow/tst-shadow.c: New file. - - [BZ #9955] - * gshadow/Makefile: New file. - * gshadow/Versions: New file. - * gshadow/fgetsgent.c: New file. - * gshadow/fgetsgent_r.c: New file. - * gshadow/getsgent.c: New file. - * gshadow/getsgent_r.c: New file. - * gshadow/getsgnam.c: New file. - * gshadow/getsgnam_r.c: New file. - * gshadow/gshadow.h: New file. - * gshadow/putsgent.c: New file. - * gshadow/sgetsgent.c: New file. - * gshadow/sgetsgent_r.c: New file. - * gshadow/tst-gshadow.c: New file. - * include/gshadow.h: New file. - * Makeconfig (all-subdirs): Add gshadow. - * Makefile (installed-headers): Add gshadow/gshadow.h. - * nss/Makefile (databases): Add sgrp. - * nss/Versions: Add gshadow functions as private exports. - * nss/nsswitch.conf: Add gshadow entry. - * nss/sgrp-lookup.c: New file. - * nss/nss_files/files-parse.c: Add STRING_LIST macro. Rewrite - parse_list to handle STRING_LIST and TRAILING_LIST_PARSER. - * nss/nss_files/files-sgrp.c: New file. - * sysdeps/generic/paths.h: Add _PATH_GSHADOW. - * sysdeps/unix/sysv/linux/paths.h: Likewise. - -2009-04-22 Ulrich Drepper - - * stdio-common/printf.h: Add missing const to register_printf_modifier. - * stdio-common/reg-modifier.c: Likewise. - -2009-04-22 Andrew Stubbs - - * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Adjust JB_SIZE when there - is no FPU. - -2009-04-20 Ulrich Drepper - - [BZ #10086] - * sysdeps/unix/sysv/linux/sys/timex.h: Add definitions from kernel - headers up to 2.6.30. - - * po/ca.po: Update from translation team. - -2009-04-19 Ulrich Drepper - - [BZ #10069] - * elf/dl-open.c (dl_open_worker): We cannot guarantee that we can load - an object that uses static TLS if the TLS modid is higher than the - reserve we always allocate. At least for multi-threaded code. - -2009-04-18 Ulrich Drepper - - * stdlib/strfmon_l.c (__vstrfmon_l): Don't wrap when computing width. - Numerically stable check for valid width. - - * locale/programs/locarchive.c (open_archive): Map the entire file - and not just the administrative data. - (add_locale): When we find a hash sum match compare the content - to be sure. - - * malloc/malloc.c (malloc_info): Output address space information. - -2009-04-17 Ulrich Drepper - - * malloc/malloc.c (malloc_info): Also output system memory information. - - * sysdeps/unix/sysv/linux/kernel-features.h: All supported - architectures have preadv/pwritev in 2.6.30. - - * sysdeps/posix/preadv.c: Reading of zero bytes is no error. - * sysdeps/posix/readv.c: Likewise. - Reported by Markus Armbruster . - - * malloc/hooks.c (top_check): Force hook value into register. - -2009-04-16 Samuel Thibault - - * elf/rtld.c (dl_main): Really call _dl_sysdep_start_cleanup after all - calls to _dl_relocate_object. - -2009-04-16 Ulrich Drepper - - [BZ #9957] - * malloc/malloc.c (force_reg): Define. - (sYSMALLOc): Load hook variable into variable - before test and force into register. - (sYSTRIm): Likewise. - (public_mALLOc): Force hook value into register. - (public_fREe): Likewise. - (public_rEALLOc): Likewise. - (public_mEMALIGn): Likewise. - (public_vALLOc): Likewise. - (public_pVALLOc): Likewise. - (public_cALLOc): Likewise. - (__posix_memalign): Likewise. - * malloc/arena.c (ptmalloc_init): Load hook variable into variable - before test and force into register. - * malloc/hooks.c (top_check): Likewise. - (public_sET_STATe): Pretty printing. - - * resolv/res_send.c (send_dg): Don't just ignore the result we got - in case we only receive one reply in single-request mode. - -2009-04-16 Jakub Jelinek - - * elf/dl-open.c (_dl_open): Bump GL(dl_nns) to 1 if no libraries - are dlopened in statically linked program even for __LM_ID_CALLER. - -2009-04-16 Ulrich Drepper - - * resolv/res_send.c (send_dg): Don't switch into single-request - mode if we already are in it. - -2009-04-15 Ulrich Drepper - - * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Make sure there - are always at least 4 bytes in the returned line. - -2009-04-15 Jakub Jelinek - - * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Check - __libc_use_alloca (8192), if the stack is too small use 512 bytes - instead of 8K. Stop searching in /proc/stat after hitting first - line not starting with cpu. - (next_line): Truncate too long - lines at buffer size * 3/4 instead of pretending there were line - breaks inside of large lines. - -2009-04-14 Ulrich Drepper - - * sysdeps/x86_64/mp_clz_tab.c: New file. - -2009-03-17 Ryan S. Arnold - Ulrich Drepper - - * sysdeps/unix/sysv/linux/fallocate.c: Handle old kernel headers. - * sysdeps/unix/sysv/linux/fallocate64.c: Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise. - -2009-03-25 Andrew Stubbs - - * sysdeps/sh/libc-tls.c: New file. - - * sysdeps/sh/bits/setjmp.h (__jmp_buf): Give name to structure type. - -2009-04-14 Roland McGrath - - * elf/elf.h: Add various missing ARM constants, to match binutils. - -2009-04-14 Ulrich Drepper - - Optimizations from GMP. - * sysdeps/x86_64/add_n.S: New file. - * sysdeps/x86_64/addmul_1.S: New file. - * sysdeps/x86_64/lshift.S: New file. - * sysdeps/x86_64/mul_1.S: New file. - * sysdeps/x86_64/rshift.S: New file. - * sysdeps/x86_64/sub_n.S: New file. - * sysdeps/x86_64/submul_1.S: New file. - -2009-04-14 Jakub Jelinek - - * sysdeps/powerpc/powerpc32/elf/start.S: Ensure .data is non-empty. - * sysdeps/powerpc/powerpc64/elf/start.S: Likewise. - * sysdeps/sparc/sparc32/elf/start.S: Likewise. - * sysdeps/sparc/sparc64/elf/start.S: Likewise. - -2009-04-14 Ulrich Drepper - - * sysdeps/unix/sysv/linux/kernel-features.h: SH also has - preadv/pwritev. - -2009-04-13 Ulrich Drepper - - * sysdeps/x86-64/strrchr.S: New file. - -2009-04-10 Ulrich Drepper - - * stdio-common/printf.h (struct printf_info): Add user element. - New types printf_arginfo_size_function, printf_va_arg_function. - Declare register_printf_specifier, register_printf_modifier, - register_printf_type. - * stdio-common/printf-parse.h (struct printf_spec): Add size element. - (union printf_arg): Add pa_user element. - Adjust __printf_arginfo_table type. - Add __printf_va_arg_table, __printf_modifier_table, - __handle_registered_modifier_mb, and __handle_registered_modifier_wc - declarations. - * stdio-common/printf-parsemb.c: Recognize registered modifiers. - If registered arginfo call failed try normal specifier. - * stdio-common/printf-prs.c: Pass additional parameter to arginfo - function. - * stdio-common/Makefile (routines): Add reg-modifier and reg-type. - * stdio-common/Versions: Export register_printf_modifier, - register_printf_type, and register_printf_specifier for GLIBC_2.10. - * stdio-common/reg-modifier.c: New file. - * stdio-common/reg-type.c: New file. - * stdio-common/reg-printf.c (__register_printf_specifier): New - function. Mostly the old __register_printf_function function but - uses locking and type of third parameter changed. - (__register_printf_function): Implement using - __register_printf_specifier. - * stdio-common/vfprintf.c (vfprintf): Collect argument sizes in - calls to arginfo functions. Allocate enough memory for user-defined - types. Call new va_arg functions to get user-defined types. - Try installed handlers even for existing format specifiers first. - -2009-04-09 Ulrich Drepper - - * sysdeps/x86_64/rawmemchr.S: New file. - - * stdio-common/vfprintf.c (vfprintf): Slightly more compact code. - Simplified code and possible copy problem fixed. - - * sysdeps/unix/sysv/linux/preadv.c: Avoid prototype for static - function if it is not defined. Add some necessary casts. - * sysdeps/unix/sysv/linux/pwritev.c: Likewise. - - * sysdeps/unix/sysv/linux/kernel-features.h: SPARC and IA64 also - have preadv/pwritev in 2.6.30. - -2009-04-08 Ulrich Drepper - - * malloc/malloc.c (malloc_info): New function. - * malloc/malloc.h: Declare it. - * malloc/Versions: Export malloc_info for GLIBC_2.10. - - * sysdeps/unix/sysv/linux/preadv64.c (PREAD): Use __libc_pread64 - to avoid PLT slot. - - * malloc/malloc.c (_int_realloc): Add parameter with old block - size. Remove duplicated test. Don't handle mmap'ed blocks here. - Adjust all callers. - * malloc/hooks.c (realloc_check): Adjust _int_realloc call. - -2009-04-07 Ulrich Drepper - - * sysdeps/x86_64/strchrnul.S: New file. - - * crypt/Makefile (LDLIBS-crypt.so): Use this variable instead of - depending libcrypt on -lfreebl3. - - * sysdeps/unix/sysv/linux/kernel-features.h: Power also has - preadv/pwritev in 2.6.30. - - * resolv/nss_dns/dns-host.c (getanswer_r): Use strcasecmp - instead of __strcasecmp. - - * string/stratcliff.c (do_test): Add memchr tests.. - * wcsmbs/wcsatcliff.c (MEMCHR): Define. - * sysdeps/x86_64/memchr.S: Fix handling of end of buffer after - first read quad word. - -2009-04-06 Ulrich Drepper - - * string/strverscmp.c (__strverscmp): Fix last cleanups. - * string/tst-svc.input: Add new test case. - * string/tst-svc.expect: Adjust. - * string/Makefile: Don't ignore tst-svc error. - - * sysdeps/x86_64/memchr.S: New file. - - * resolv/resolv.h (RES_SNGLKUP): Define. - * resolv/res_init.c (res_setoptions): Recognize single-request option. - * resolv/res_send.c (send_dg): If we sent two requests at once and - only get one reply before timeout switch to mode where we send the - second request only after the first answer has been received. - -2009-04-05 Ulrich Drepper - - * sysdeps/x86_64/strlen.S: Optimize by using SSE2 instructions. - * sysdeps/x86_64/strchr.S: Likewise. - -2009-04-03 Ulrich Drepper - - * configure.in: We need to test for the compiler earlier. - - * misc/Makefile (routines): Add preadv, preadv64, pwritev, pwritev64. - * misc/Versions: Export preadv, preadv64, pwritev, pwritev64 for - GLIBC_2.10. - * misc/sys/uio.h: Declare preadv, preadv64, pwritev, pwritev64. - * sysdeps/unix/sysv/linux/kernel-features.h: Add entries for preadv - and pwritev. - * misc/preadv.c: New file. - * misc/preadv64.c: New file. - * misc/pwritev.c: New file. - * misc/pwritev64.c: New file. - * sysdeps/posx/preadv.c: New file. - * sysdeps/posx/preadv64.c: New file. - * sysdeps/posx/pwritev.c: New file. - * sysdeps/posx/pwritev64.c: New file. - * sysdeps/unix/sysv/linux/preadv.c: New file. - * sysdeps/unix/sysv/linux/preadv64.c: New file. - * sysdeps/unix/sysv/linux/pwritev.c: New file. - * sysdeps/unix/sysv/linux/pwritev64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/preadv64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.c: New file. - - * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Fix calling of - compatibility code. - * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise. +2006-01-16 Ulrich Drepper * sysdeps/unix/sysv/linux/kernel-features.h: Define - __ASSUME_COMPLETE_READV_WRITEV. - * sysdeps/unix/sysv/linux/readv.c: No need for userlevel fallback - with modern kernels. - * sysdeps/unix/sysv/linux/writev.c: Likewise. + __ASSUME_TMPFS_NAME. + * sysdeps/unix/sysv/linux/shm_open.c [__ASSUME_TMPFS_NAME] + (where_is_shmfs): Don't test for obsolete shm filesystem name. - * sysdeps/posix/readv.c: Since read is a cancellation point we have - to free a possible malloced buffer in case of cancellation. - * sysdeps/posix/writev.c: Likewise for write. + * sysdeps/unix/sysv/linux/getsysstats.c: Don't search for proc + mount point. We assume procfs is mounted at /proc in many other + places already. -2009-04-02 Ulrich Drepper +2006-01-15 Andreas Jaeger - * sysdeps/unix/sysv/linux/bits/socket.h: Add missing protocol numbers. + [BZ #1950] + * posix/regex_internal.c (re_string_reconstruct): Adjust for + build_wcs_upper_buffer change. + (build_wcs_upper_buffer): Change return type. - * configure.in: Recognize --enable-nss-crypt. - * config.make.in: Add nss-crypt entry. - * crypt/Makefile: If nss-crypt==yes, don't build md5.c, sha256.c, - sha512.c. Don't run md5test, sha256test, sha512test. Pass -DUSE_NSS - and include path for NSS directory to compiler for md5-crypt, - sha256-crypt, sha512-crypt. Link libcrypt.so with -lfreebl3. - * crypt/md5-crypt.c: If USE_NSS is defined, don't use local hash - function implementation, use NSS. Introduce wrappers around the - hash function calls. Little code size optimization. - * crypt/sha256-crypt.c: Likewise. - * crypt/sha512-crypt.c: Likewise. - * scripts/check-local-headers.sh: Ignore nss3 directory. + [BZ #2153] + * math/s_cacosh.c (__cacosh): Do not return a negative + value. Patch by Wes Loewer . + * math/s_cacoshl.c (__cacoshl): Likewise. + * math/s_cacoshf.c (__cacoshf): Likewise. + * math/libm-test.inc (cacosh_test): Adjust for change. - * configure.in: Rename pic_default to libc_cv_pic_default. - * config.make.in: Likewise. + * sysdeps/alpha/fpu/libm-test-ulps: Adopt for cacosh test change. + * sysdeps/hppa/fpu/libm-test-ulps: Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Likewise. + * sysdeps/ia64/fpu/libm-test-ulps: Likewise. + * sysdeps/m68k/fpu/libm-test-ulps: Likewise. + * sysdeps/mips/fpu/libm-test-ulps: Likewise. + * sysdeps/powerpc/fpu/libm-test-ulps: Likewise. + * sysdeps/s390/fpu/libm-test-ulps: Likewise. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise. + * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise. + * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise. -2009-04-01 Roland McGrath + [BZ #2079] + * libio/fputwc_u.c (fputwc_unlocked): Fix return value. + * libio/getwc_u.c (__getwc_unlocked): Likewise. + * libio/wfileops.c (_IO_wdo_write): Likewise. - * elf/elf.h (R_SPARC_GLOB_JMP): New macro. - (R_SPARC_GOTDATA_HIX22, R_SPARC_GOTDATA_LOX10): New macros. - (R_SPARC_GOTDATA_OP_HIX22, R_SPARC_GOTDATA_OP_LOX10): Likewise. - (R_SPARC_GOTDATA_OP, R_SPARC_H34): Likewise. - (R_SPARC_SIZE32, R_SPARC_SIZE64): Likewise. - (R_SPARC_GNU_VTINHERIT, R_SPARC_GNU_VTENTRY, R_SPARC_REV32): Likewise. - (R_SPARC_NUM): Update. - From Dave Miller . + [BZ #2078] + * libio/fputwc.c (fputwc): Use proper type for result. + * libio/ioungetwc.c (ungetwc): Likewise. -2009-04-01 Ulrich Drepper +2006-01-14 Ulrich Drepper - * sysdeps/unix/sysv/linux/sys/eventfd.h (EFD_SEMAPHORE): Define. + * sysdeps/unix/sysv/linux/bits/sched.h: Define SCHED_BATCH. -2009-03-31 Ulrich Drepper +2006-01-14 Roland McGrath - * elf/dl-open.c: Keep track of used name spaces and only iterate over - those which are used. - * elf/dl-addr.c: Likewise. - * elf/dl-caller.c: Likewise. - * elf/dl-fini.c: Likewise. - * elf/dl-iteratephdr.c: Likewise. - * elf/dl-libc.c: Likewise. - * elf/dl-load.c: Likewise. - * elf/dl-support.c: Likewise. - * elf/dl-sym.c: Likewise. - * elf/rtld.c: Likewise. - * sysdeps/generic/ldsodefs.h: Likewise. + * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NLDBL_DECL): Don't try + attribute_hidden here. + * sysdeps/ieee754/ldbl-opt/nldbl-vsyslog.c (vsyslog): Restore + attribute_hidden here. + * sysdeps/ieee754/ldbl-opt/nldbl-asprintf.c (__asprintf): Likewise. + * sysdeps/ieee754/ldbl-opt/nldbl-fprintf.c (fprintf): Likewise. + * sysdeps/ieee754/ldbl-opt/nldbl-qecvt.c (qecvt): Likewise. + * sysdeps/ieee754/ldbl-opt/nldbl-qfcvt.c (qfcvt): Likewise. + * sysdeps/ieee754/ldbl-opt/nldbl-qgcvt.c (qgcvt): Likewise. - * elf/dl-load.c: Remove support for systems without MAP_ANON. - * elf/dl-minimal.c: Likewise. - * elf/dl-misc.c: Likewise. - * elf/rtld.c: Likewise. - * sysdeps/generic/ldsodefs.h: Likewise. + * sysdeps/ieee754/ldbl-opt/configure.in: Use AC_TRY_COMPILE and + verify __LONG_DOUBLE_128__ predefine. + * sysdeps/ieee754/ldbl-opt/configure: Regenerated. -2009-03-30 Ulrich Drepper + * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NLDBL_HIDDEN): Removed. + (NLDBL_DECL): Rewritten. + Remove __THROW from NLDBL_DECL uses. + Use NLDBL_DECL for __vstrfmon_l. + (__nldbl___vsyslog_chk): Restore missing decl. + * sysdeps/ieee754/ldbl-opt/nldbl-asinh.c: Restore attribute_hidden. - * elf/do-lookup.h (do_lookup_x): Minor optimization and cleanup. - Avoid reuse of complex expression. +2006-01-14 Jakub Jelinek - * po/fr.po: Update from translation team. + * misc/sys/cdefs.h (__LDBL_REDIR1_DECL): Define. + (__LDBL_REDIR_DECL): Stringize __nldbl and name. + * stdlib/bits/monetary-ldbl.h: Remove pastos from wchar-ldbl.h. + (strfmon, strfmon_l): Add __LDBL_REDIR_DECL. + * stdlib/bits/stdlib-ldbl.h (strtold, strtold_l, __strtold_internal, + qecvt, qfcvt, qgcvt, qecvt_r, qfcvt_r): Use __LDBL_REDIR1_DECL + instead of __LDBL_REDIR_DECL. + * wcsmbs/bits/wchar-ldbl.h: Remove stale #if. + (__LDBL_REDIR_WCHAR): Remove. + (fwprintf, wprintf, swprintf, vfwprintf, vwprintf, vswprintf, + fwscanf, wscanf, swscanf, vfwscanf, vwscanf, vswscanf): Use + __LDBL_REDIR_DECL instead of __LDBL_REDIR_WCHAR. + (wcstold, wcstold_l, __wcstold_internal): Add __LDBL_REDIR1_DECL. + * wcsmbs/wchar.h: Include bits/wchar-ldbl.h after bits/wchar2.h + instead of before it. + (wcstold inline): Move #ifndef __LDBL_COMPAT before + extern keyword. + * libio/bits/stdio-ldbl.h (__snprintf_chk, __vsnprintf_chk): Add + __LDBL_REDIR_DECL. + * misc/bits/syslog-ldbl.h (vsyslog): Protect with #ifdef __USE_BSD. + (__syslog_chk, __vsyslog_chk): Add __LDBL_REDIR_DECL. -2009-03-16 Ulrich Drepper +2006-01-14 Roland McGrath - * include/dirent.h: Yet more changes to match sort function type - change. - * sysdeps/unix/sysv/linux/i386/alphasort64.c: Likewise. - * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise. - * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise. + * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NLDBL_DECL): Fix typo. + (NLDBL_HIDDEN): New macro. + (NLDBL_DECL): Use it in place of attribute_hidden. -2009-03-16 Thomas Schwinge + * misc/efgcvt.c: Include instead of . + * misc/efgcvt_r.c: Likewise. - * dirent/scandir64.c (scandir64): Adjust declaration to type change. + * sysdeps/unix/sysv/linux/sparc/sparc32/nldbl-abi.h: New file. + * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: #include + to define LONG_DOUBLE_COMPAT_VERSION. Use that in place of + NLDBL_VERSION. + * sysdeps/ieee754/ldbl-opt/Versions: Include . + * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Revert last change. -2009-03-16 Ulrich Drepper +2006-01-14 Jakub Jelinek - * nscd/connections.c (restart): Try to preserve the process name - by reading the /proc/self/exe symlink and using the return name. - Patch by Jeff Bastian . + * math/math.h [__NO_LONG_DOUBLE_MATH] (__nldbl_nexttowardf): New + prototype. + (nexttowardf): Redirect to __nldbl_nexttowardf. + (nexttoward): Redirect to nextafter. + (__MATHDECL_2, __MATHDECL_1): Redirect *l functions to + non-*l versions if __LONG_DOUBLE_MATH_OPTIONAL and + __NO_LONG_DOUBLE_MATH. + * math/complex.h (__MATHDECL_1): Likewise. + * math/bits/mathcalls.h (nexttoward): Don't prototype if + __LDBL_COMPAT. + * misc/sys/cdefs.h: Include . + (__LDBL_COMPAT, __LDBL_REDIR1, __LDBL_REDIR, __LDBL_REDIR1_NTH, + __LDBL_REDIR_NTH, __LDBL_REDIR_DECL): New macros. -2009-03-15 Ulrich Drepper + * libio/bits/stdio-ldbl.h: New file. + * libio/Makefile (headers): Add it. + * libio/stdio.h [__LDBL_COMPAT]: #include it. + * libio/bits/libio-ldbl.h: New file. + * libio/Makefile (headers): Add it. + * libio/libio.h [__LDBL_COMPAT]: #include it. + * libio/libioP.h: Include . + * include/wchar.h (__fwprintf, __vfwprintf): Fix commented out + attribute. + (__vfwprintf_chk): New prototype. Add libc_hidden_proto. + * wcsmbs/bits/wchar-ldbl.h: New file. + * wcsmbs/Makefile (headers): Add it. + * wcsmbs/wchar.h [__LDBL_COMPAT]: #include it. + * wcsmbs/bits/wchar2.h (__vswprintf_alias): Removed. + (vswprintf): Define as a macro rather than inline function. + * stdio-common/bits/printf-ldbl.h: New file. + * stdio-common/Makefile (headers): Add it. + * stdio-common/printf.h [__LDBL_COMPAT]: #include it. + * libio/fwprintf.c: Include libioP.h. + (fwprintf): Use ldbl_weak_alias instead of weak_alias. + * libio/fwscanf.c: Include libioP.h. + (fwscanf): Rename to __fwscanf and add ldbl_strong_alias. + * libio/iovdprintf.c (vdprintf): Use ldbl_weak_alias instead of + weak_alias. + * libio/iovsprintf.c (_IO_vsprintf): Rename to __IO_vsprintf, + add ldbl_strong_alias and use INTDEF2 instead of INTDEF. + (vsprintf): Use ldbl_weak_alias instead of weak_alias. + * libio/iovsscanf.c (__vsscanf, vsscanf): Use ldbl_weak_alias + instead of weak_alias. + * libio/iovswscanf.c (vswscanf): Rename to __vswscanf, + add ldbl_strong_alias and use ldbl_hidden_def instead of + libc_hidden_def. + * libio/obprintf.c (obstack_printf, obstack_vprintf): Use + ldbl_weak_alias instead of weak_alias. + * libio/swprintf.c: Include libioP.h. + (swprintf): Rename to __swprintf and add ldbl_strong_alias. + * libio/swscanf.c: Include libioP.h. + (swscanf): Rename to __swscanf and add ldbl_strong_alias. + * libio/vasprintf.c (vasprintf): Use ldbl_weak_alias instead of + weak_alias. + * libio/vscanf.c (vscanf): Use ldbl_weak_alias instead of + weak_alias. + * libio/vsnprintf.c (__vsnprintf, vsnprintf): Use ldbl_weak_alias + instead of weak_alias. + * libio/vswprintf.c (__vswprintf): Remove alias. + (vswprintf): Use ldbl_weak_alias instead of weak_alias. + * libio/vwprintf.c: Include libioP.h. + (vwprintf): Rename to __vwprintf and add ldbl_strong_alias. + * libio/vwscanf.c (vwscanf): Rename to __vwscanf and add + ldbl_strong_alias. + * libio/wprintf.c: Include libioP.h. + (wprintf): Rename to __wprintf and add ldbl_strong_alias. + * libio/wscanf.c: Include libioP.h. + (wscanf): Rename to __wscanf and add ldbl_strong_alias. + * stdio-common/asprintf.c (__asprintf): Rename to ___asprintf, add + ldbl_strong_alias and use INTDEF2 instead of INTDEF. + (asprintf): Use ldbl_weak_alias instead of weak_alias. + * stdio-common/dprintf.c (dprintf): Rename to __dprintf, add + ldbl_strong_alias and use ldbl_hidden_def instead of + libc_hidden_def. + * stdio-common/fprintf.c: Include libioP.h. + (fprintf): Rename to __fprintf, add ldbl_strong_alias and + use ldbl_hidden_def instead of libc_hidden_def. + (_IO_fprintf): Use ldbl_weak_alias instead of weak_alias. + * stdio-common/fscanf.c: Include libioP.h. + (fscanf): Rename to __fscanf and add ldbl_strong_alias. + * stdio-common/printf.c: Include libioP.h. + (printf): Rename to __printf and add ldbl_strong_alias. + (_IO_printf): Use ldbl_strong_alias instead of strong_alias. + * stdio-common/printf_fp.c (__printf_fp): Rename to __printf_fp, add + ldbl_strong_alias and use ldbl_hidden_def instead of + libc_hidden_def. + * stdio-common/printf_size.c (printf_size): Rename to __printf_size + and add ldbl_strong_alias. + * stdio-common/scanf.c (scanf): Rename to __scanf and add + ldbl_strong_alias. + * stdio-common/snprintf.c (snprintf): Use ldbl_weak_alias instead of + weak_alias. + * stdio-common/sprintf.c (sprintf): Rename to __sprintf, add + ldbl_strong_alias and use ldbl_hidden_def instead of + libc_hidden_def. + (_IO_sprintf): Use ldbl_strong_alias instead of strong_alias. + * stdio-common/sscanf.c: Include libioP.h instead of iolibio.h. + (sscanf): Rename to __sscanf and add ldbl_strong_alias. + * stdio-common/vfprintf.c (vfprintf): Define to + _IO_vfprintf_internal. Use ldbl_strong_alias instead. Use + ldbl_hidden_def instead of libc_hidden_def. + (_IO_vfprintf_internal): Clear is_long_double if __ldbl_is_dbl, + handle the argument as double if it is non-zero. + (vfwprintf): Use ldbl_weak_alias instead of weak_alias. + (_IO_vfprintf): Add ldbl_strong_alias. + * stdio-common/vfscanf.c (_IO_vfscanf): Rename to + _IO_vfscanf_internal, don't use strtold if __ldbl_is_dbl, add + ldbl_strong_alias. + (vfwscanf): Use ldbl_weak_alias instead of weak_alias. + (__vfscanf): Rename to ___vfscanf, add ldbl_strong_alias and + use ldbl_hidden_def instead of libc_hidden_def. + (vfscanf): Use ldbl_weak_alias instead of weak_alias. + * stdio-common/vprintf.c: Include libioP.h. + (vprintf): Rename to __vprintf and add ldbl_strong_alias. + * debug/fprintf_chk.c (__fprintf_chk): Rename to ___fprintf_chk + and add ldbl_strong_alias. + * debug/printf_chk.c (__printf_chk): Rename to ___printf_chk + and add ldbl_strong_alias. + * debug/snprintf_chk.c: Include libioP.h. + (__snprintf_chk): Rename to ___snprintf_chk and add ldbl_strong_alias. + * debug/sprintf_chk.c: Include libioP.h. + (__sprintf_chk): Rename to ___sprintf_chk and add ldbl_strong_alias. + * debug/vfprintf_chk.c (__vfprintf_chk): Rename to ___vfprintf_chk, + add ldbl_strong_alias and use ldbl_hidden_def instead of + libc_hidden_def. + * debug/vfwprintf_chk.c (__vfwprintf_chk): Add libc_hidden_def. + * debug/vprintf_chk.c (__vprintf_chk): Rename to ___vprintf_chk + and add ldbl_strong_alias. + * debug/vsnprintf_chk.c (__vsnprintf_chk): Rename to ___vsnprintf_chk, + add ldbl_strong_alias and use ldbl_hidden_def instead of + libc_hidden_def. + * debug/vsprintf_chk.c (__vsprintf_chk): Rename to ___vsprintf_chk, + add ldbl_strong_alias and use ldbl_hidden_def instead of + libc_hidden_def. - [BZ #9733] - * elf/dl-load.c (_dl_map_object_from_fd): Only call audit hooks - if we are not loading a new audit library. - * elf/dl-reloc (_dl_relocate_object): Third parameter is now a bitmask. - Only use profiling trampoline for auditing if we are not relocating - an audit library. - * elf/dl-open.c (dl_open_worker): Adjust _dl_relocate_object call. - * elf/rtld.c: Likewise. - * sysdeps/generic/ldsodefs.h: Adjust _dl_relocate_object prototype. + * stdlib/stdlib.h (strtold): Don't define inline if [!__LDBL_COMPAT]. + * wcsmbs/wchar.h (wcstold): Likewise. + * stdlib/strtod_l.c: Include math_ldbl_opt.h. + (____STRTOF_INTERNAL): Define. + (INTERNAL (__STRTOF)): Rename to ____STRTOF_INTERNAL. + (__STRTOF): Call ____STRTOF_INTERNAL instead. + [LONG_DOUBLE_COMPAT] (strtold_l, wcstold_l, __strtold_l, __wcstold_l): + Add compatibility symbols. + * stdlib/strtod.c: Include math_ldbl_opt.h. + [LONG_DOUBLE_COMPAT] (strtold, wcstold, __strtold_internal, + __wcstold_internal): Add compatibility symbols. + * stdlib/strtold.c: Include bits/wordsize.h, wchar.h. + (NEW, NEW1): Define. + (__new_strtold, __new_wcstold): New prototypes. + (____new_strtold_internal, ____new_wcstold_internal): Likewise. + Add libc_hidden_proto. + (STRTOF): Define to NEW (*told). + [__LONG_DOUBLE_MATH_OPTIONAL] (wcstold, strtold): Add + long_double_symbol. + [__LONG_DOUBLE_MATH_OPTIONAL] (__wcstold_internal, + __strtold_internal): Likewise. Add libc_hidden_ver. - * elf/rtld.c (dl_main): Extend help message for --audit option. + * stdlib/bits/stdlib-ldbl.h: New file. + * stdlib/Makefile (headers): Add it. + * stdlib/stdlib.h [__LDBL_COMPAT]: #include it. + * include/stdlib.h (ecvt_r, fcvt_r, qecvt_r, qfcvt_r): Remove + libc_hidden_proto. + (__ecvt, __fcvt, __gcvt, __ecvt_r, __fcvt_r, __qecvt, __qfcvt, + __qgcvt, __qecvt_r, __qfcvt_r): New prototypes. + * misc/efgcvt_r.c: Include shlib-compat.h. + (LONG_DOUBLE_CVT): Define. + (__APPEND, __APPEND2): Define. + (*fcvt_r): Use __APPEND instead of APPEND. Remove libc_hidden_def. + (*ecvt_r): Likewise. + (cvt_symbol): Define. Use it on fcvt_r and ecvt_r. + * misc/efgcvt.c: Include shlib-compat.h. + (LONG_DOUBLE_CVT): Define. + (__APPEND, __APPEND2): Define. + (fcvt): Use __APPEND instead of APPEND. Remove libc_hidden_def. + (ecvt, gcvt): Likewise. + (cvt_symbol): Define. Use it on fcvt, ecvt and gcvt. - [BZ #9759] - * dirent/dirent.h: Adjust prototypes of scandir, scandir64, alphasort, - alphasort64, versionsort, and versionsort64 to POSIX 2008. - * dirent/alphasort.c: Adjust implementation to type change. - * dirent/alphasort64.c: Likewise. - * dirent/scandir.c: Likewise. - * dirent/versionsort.c: Likewise. - * dirent/versionsort64.c: Likewise. - * sysdeps/wordsize-64/alphasort.c: Add hack to hide alphasort64 - declaration. - * sysdeps/wordsize-64/versionsort.c: Add hack to hide versionsort64 - declaration. + * stdlib/bits/monetary-ldbl.h: New file. + * stdlib/Makefile (headers): Add it. + * stdlib/monetary.h [__LDBL_COMPAT]: #include it. + * stdlib/strfmon.c: Include math_ldbl_opt.h. + (strfmon): Rename to __strfmon and add ldbl_strong_alias. + * stdlib/strfmon_l.c: Remove all traces of [!USE_IN_LIBIO]. + (__vstrfmon_l): Don't set is_long_double if __ldbl_is_dbl. + (__strfmon_l): Rename to ___strfmon_l and add ldbl_strong_alias. + (strfmon_l): Use ldbl_weak_alias instead of weak_alias. - [BZ #9880] - * inet/inet6_rth.c (inet6_rth_reverse): Compute number of segments - correctly. Set segleft member in output as required. - Patch partly by Yang Hongyang . - * inet/tst-inet6_rth.c (do_test): Add tests for inet6_rth_reverse. + * misc/bits/syslog-ldbl.h: New file. + * misc/Makefile (headers): Add it. + * misc/sys/syslog.h [__LDBL_COMPAT]: #include it. + * misc/syslog.c: Include math_ldbl_opt.h. + (syslog): Rename to __syslog and add ldbl_strong_alias, + use ldbl_hidden_def instead of libc_hidden_def. + (vsyslog): Rename to __vsyslog and add ldbl_strong_alias, + use ldbl_hidden_def instead of libc_hidden_def. - [BZ #9881] - * inet/inet6_rth.c (inet6_rth_add): Add some error checking. - Patch mostly by Yang Hongyang . - * inet/Makefile (tests): Add tst-inet6_rth. - * inet/tst-inet6_rth.c: New file. + * sysdeps/generic/math_ldbl_opt.h: New file. + * math/w_j1l.c (j1l, y1l): Rename to __ prefixed variants. + Add weak_alias. + * math/w_j0l.c (j0l, y0l): Likewise. + * math/w_jnl.c (jnl, ynl): Likewise. + * sysdeps/ieee754/ldbl-96/s_nexttoward.c + (__nexttowardl): Remove strong_alias. + (nexttowardl): Remove weak_alias. + * sysdeps/ieee754/ldbl-96/s_erfl.c + (__erfl, __erfcl): Remove strong_alias. + (erfl, erfcl): Remove weak_alias. - [BZ #5807] - * string/strlen.c (strlen): Fix omission in the expression to test - for NUL bytes. + * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_atanl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_ceill.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_cosl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_erfl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_finitel.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_floorl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_logbl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_modfl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_nexttoward.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_nexttowardf.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_nexttowardfd.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_remquol.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_rintl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_roundl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_sinl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_tanl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_truncl.c: New file. + * sysdeps/ieee754/ldbl-64-128/strtold_l.c: New file. + * sysdeps/ieee754/ldbl-64-128/w_expl.c: New file. + * sysdeps/ieee754/ldbl-opt/configure.in: New file. + * sysdeps/ieee754/ldbl-opt/configure: New file. + * sysdeps/ieee754/ldbl-opt/Makefile: New file. + * sysdeps/ieee754/ldbl-opt/Versions: New file. + * sysdeps/ieee754/ldbl-opt/cabs.c: New file. + * sysdeps/ieee754/ldbl-opt/cabsl.c: New file. + * sysdeps/ieee754/ldbl-opt/carg.c: New file. + * sysdeps/ieee754/ldbl-opt/cargl.c: New file. + * sysdeps/ieee754/ldbl-opt/cimag.c: New file. + * sysdeps/ieee754/ldbl-opt/cimagl.c: New file. + * sysdeps/ieee754/ldbl-opt/conj.c: New file. + * sysdeps/ieee754/ldbl-opt/conjl.c: New file. + * sysdeps/ieee754/ldbl-opt/creal.c: New file. + * sysdeps/ieee754/ldbl-opt/creall.c: New file. + * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: New file. + * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-acos.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-acosh.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-asin.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-asinh.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-asprintf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-atan.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-atan2.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-atanh.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-cabs.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-cacos.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-cacosh.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-carg.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-casin.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-casinh.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-catan.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-catanh.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-cbrt.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-ccos.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-ccosh.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-ceil.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-cexp.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-cimag.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-clog.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-clog10.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-conj.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-cos.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-cosh.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-cpow.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-cproj.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-creal.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-csin.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-csinh.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-csqrt.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-ctan.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-ctanh.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-dprintf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-erf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-erfc.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-exp.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-exp10.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-exp2.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-expm1.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-fabs.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-fdim.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-floor.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-fma.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-fmax.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-fmin.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-fmod.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-fprintf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-fprintf_chk.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-frexp.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-fwprintf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-fwprintf_chk.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-gamma.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-hypot.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-ilogb.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-j0.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-j1.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-jn.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-ldexp.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-lgamma.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-lgamma_r.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-llrint.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-llround.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-log.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-log10.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-log1p.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-log2.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-logb.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-lrint.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-lround.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-modf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-nan.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-nearbyint.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-nextafter.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-nexttoward.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-nexttowardf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-obstack_printf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-obstack_vprintf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-pow.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-printf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-printf_chk.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-printf_fp.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-printf_size.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-qecvt.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-qecvt_r.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-qfcvt.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-qfcvt_r.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-qgcvt.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-remquo.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-rint.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-round.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-scalb.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-scalbln.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-scalbn.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-significand.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-sin.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-sincos.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-sinh.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-snprintf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-snprintf_chk.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-sprintf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-sprintf_chk.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-sqrt.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-strfmon.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-strtold.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-strtoldint.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-swprintf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-swprintf_chk.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-syslog.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-syslog_chk.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-tan.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-tanh.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-tgamma.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-trunc.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vasprintf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vdprintf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vfprintf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vfprintf_chk.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vfwprintf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vfwprintf_chk.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vprintf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vprintf_chk.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vsnprintf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vsnprintf_chk.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vsprintf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vsprintf_chk.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vswprintf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vswprintf_chk.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vsyslog.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vsyslog_chk.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vwprintf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vwprintf_chk.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-wcstold.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-wcstoldint.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-wprintf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-wprintf_chk.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-y0.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-y1.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-yn.c: New file. + * sysdeps/ieee754/ldbl-opt/s_asinh.c: New file. + * sysdeps/ieee754/ldbl-opt/s_atan.c: New file. + * sysdeps/ieee754/ldbl-opt/s_cacos.c: New file. + * sysdeps/ieee754/ldbl-opt/s_cacosh.c: New file. + * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_cacosl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_casin.c: New file. + * sysdeps/ieee754/ldbl-opt/s_casinh.c: New file. + * sysdeps/ieee754/ldbl-opt/s_casinhl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_casinl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_catan.c: New file. + * sysdeps/ieee754/ldbl-opt/s_catanh.c: New file. + * sysdeps/ieee754/ldbl-opt/s_catanhl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_catanl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_cbrt.c: New file. + * sysdeps/ieee754/ldbl-opt/s_ccos.c: New file. + * sysdeps/ieee754/ldbl-opt/s_ccosh.c: New file. + * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_ccosl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_ceil.c: New file. + * sysdeps/ieee754/ldbl-opt/s_cexp.c: New file. + * sysdeps/ieee754/ldbl-opt/s_cexpl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_clog.c: New file. + * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file. + * sysdeps/ieee754/ldbl-opt/s_clog10l.c: New file. + * sysdeps/ieee754/ldbl-opt/s_clogl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_copysign.c: New file. + * sysdeps/ieee754/ldbl-opt/s_cpow.c: New file. + * sysdeps/ieee754/ldbl-opt/s_cpowl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_cproj.c: New file. + * sysdeps/ieee754/ldbl-opt/s_cprojl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_csin.c: New file. + * sysdeps/ieee754/ldbl-opt/s_csinh.c: New file. + * sysdeps/ieee754/ldbl-opt/s_csinhl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_csinl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_csqrt.c: New file. + * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_ctan.c: New file. + * sysdeps/ieee754/ldbl-opt/s_ctanh.c: New file. + * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_ctanl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_erf.c: New file. + * sysdeps/ieee754/ldbl-opt/s_expm1.c: New file. + * sysdeps/ieee754/ldbl-opt/s_fabs.c: New file. + * sysdeps/ieee754/ldbl-opt/s_fdim.c: New file. + * sysdeps/ieee754/ldbl-opt/s_fdiml.c: New file. + * sysdeps/ieee754/ldbl-opt/s_finite.c: New file. + * sysdeps/ieee754/ldbl-opt/s_floor.c: New file. + * sysdeps/ieee754/ldbl-opt/s_fma.c: New file. + * sysdeps/ieee754/ldbl-opt/s_fmal.c: New file. + * sysdeps/ieee754/ldbl-opt/s_fmax.c: New file. + * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_fmin.c: New file. + * sysdeps/ieee754/ldbl-opt/s_fminl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_frexp.c: New file. + * sysdeps/ieee754/ldbl-opt/s_ilogb.c: New file. + * sysdeps/ieee754/ldbl-opt/s_isinf.c: New file. + * sysdeps/ieee754/ldbl-opt/s_isnan.c: New file. + * sysdeps/ieee754/ldbl-opt/s_ldexp.c: New file. + * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_llrint.c: New file. + * sysdeps/ieee754/ldbl-opt/s_llround.c: New file. + * sysdeps/ieee754/ldbl-opt/s_log1p.c: New file. + * sysdeps/ieee754/ldbl-opt/s_logb.c: New file. + * sysdeps/ieee754/ldbl-opt/s_lrint.c: New file. + * sysdeps/ieee754/ldbl-opt/s_lround.c: New file. + * sysdeps/ieee754/ldbl-opt/s_modf.c: New file. + * sysdeps/ieee754/ldbl-opt/s_nan.c: New file. + * sysdeps/ieee754/ldbl-opt/s_nanl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: New file. + * sysdeps/ieee754/ldbl-opt/s_nextafter.c: New file. + * sysdeps/ieee754/ldbl-opt/s_remquo.c: New file. + * sysdeps/ieee754/ldbl-opt/s_rint.c: New file. + * sysdeps/ieee754/ldbl-opt/s_round.c: New file. + * sysdeps/ieee754/ldbl-opt/s_scalbln.c: New file. + * sysdeps/ieee754/ldbl-opt/s_scalbn.c: New file. + * sysdeps/ieee754/ldbl-opt/s_significand.c: New file. + * sysdeps/ieee754/ldbl-opt/s_significandl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_sin.c: New file. + * sysdeps/ieee754/ldbl-opt/s_sincos.c: New file. + * sysdeps/ieee754/ldbl-opt/s_tan.c: New file. + * sysdeps/ieee754/ldbl-opt/s_tanh.c: New file. + * sysdeps/ieee754/ldbl-opt/s_trunc.c: New file. + * sysdeps/ieee754/ldbl-opt/w_acos.c: New file. + * sysdeps/ieee754/ldbl-opt/w_acosh.c: New file. + * sysdeps/ieee754/ldbl-opt/w_acoshl.c: New file. + * sysdeps/ieee754/ldbl-opt/w_acosl.c: New file. + * sysdeps/ieee754/ldbl-opt/w_asin.c: New file. + * sysdeps/ieee754/ldbl-opt/w_asinl.c: New file. + * sysdeps/ieee754/ldbl-opt/w_atan2.c: New file. + * sysdeps/ieee754/ldbl-opt/w_atan2l.c: New file. + * sysdeps/ieee754/ldbl-opt/w_atanh.c: New file. + * sysdeps/ieee754/ldbl-opt/w_atanhl.c: New file. + * sysdeps/ieee754/ldbl-opt/w_cosh.c: New file. + * sysdeps/ieee754/ldbl-opt/w_coshl.c: New file. + * sysdeps/ieee754/ldbl-opt/w_drem.c: New file. + * sysdeps/ieee754/ldbl-opt/w_dreml.c: New file. + * sysdeps/ieee754/ldbl-opt/w_exp.c: New file. + * sysdeps/ieee754/ldbl-opt/w_exp10.c: New file. + * sysdeps/ieee754/ldbl-opt/w_exp10l.c: New file. + * sysdeps/ieee754/ldbl-opt/w_fmod.c: New file. + * sysdeps/ieee754/ldbl-opt/w_fmodl.c: New file. + * sysdeps/ieee754/ldbl-opt/w_hypot.c: New file. + * sysdeps/ieee754/ldbl-opt/w_hypotl.c: New file. + * sysdeps/ieee754/ldbl-opt/w_j0.c: New file. + * sysdeps/ieee754/ldbl-opt/w_j0l.c: New file. + * sysdeps/ieee754/ldbl-opt/w_j1.c: New file. + * sysdeps/ieee754/ldbl-opt/w_j1l.c: New file. + * sysdeps/ieee754/ldbl-opt/w_jn.c: New file. + * sysdeps/ieee754/ldbl-opt/w_jnl.c: New file. + * sysdeps/ieee754/ldbl-opt/w_lgamma.c: New file. + * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: New file. + * sysdeps/ieee754/ldbl-opt/w_lgammal.c: New file. + * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: New file. + * sysdeps/ieee754/ldbl-opt/w_log.c: New file. + * sysdeps/ieee754/ldbl-opt/w_log10.c: New file. + * sysdeps/ieee754/ldbl-opt/w_log10l.c: New file. + * sysdeps/ieee754/ldbl-opt/w_log2.c: New file. + * sysdeps/ieee754/ldbl-opt/w_log2l.c: New file. + * sysdeps/ieee754/ldbl-opt/w_logl.c: New file. + * sysdeps/ieee754/ldbl-opt/w_pow.c: New file. + * sysdeps/ieee754/ldbl-opt/w_powl.c: New file. + * sysdeps/ieee754/ldbl-opt/w_remainder.c: New file. + * sysdeps/ieee754/ldbl-opt/w_remainderl.c: New file. + * sysdeps/ieee754/ldbl-opt/w_scalb.c: New file. + * sysdeps/ieee754/ldbl-opt/w_scalbl.c: New file. + * sysdeps/ieee754/ldbl-opt/w_sinh.c: New file. + * sysdeps/ieee754/ldbl-opt/w_sinhl.c: New file. + * sysdeps/ieee754/ldbl-opt/w_sqrt.c: New file. + * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: New file. + * sysdeps/ieee754/ldbl-opt/w_tgamma.c: New file. + * sysdeps/ieee754/ldbl-opt/w_tgammal.c: New file. -2009-03-14 Ulrich Drepper + * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/Implies: New file. + * sysdeps/sparc/sparc32/Implies: Move ldbl-128 first and flt-32 + after dbl-64. + * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (NLDBL_VERSION): + %define this to to GLIBC_2.4. + * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file. + * sysdeps/sparc/sparc32/fpu/s_fabs.c: New file. + * sysdeps/sparc/sparc32/fpu/s_fabsf.S: New file. + * sysdeps/sparc/sparc32/fpu/s_fabsl.c: New file. + * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: Removed. + * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: Removed. + * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: Removed. + * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: Removed. + * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: Removed. + * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: Removed. + * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: New file. + * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: New file. + * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: New file. + * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: New file. + * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: New file. + * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: New file. + * sysdeps/sparc/sparc32/soft-fp/Versions: New file. + * sysdeps/sparc/fpu/bits/mathinline.h (__unordered_cmp, + __unordered_v9cmp): Define differently depending on + -m32 -mlong-double-{64,128}. + (__signbitl, sqrtl, __ieee754_sqrtl): New inlines. + * sysdeps/sparc/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Remove. + * sysdeps/sparc/sparc32/soft-fp/Makefile (sparc32-quad-routines): + Set. + (sysdep-routines): Add sparc32-quad-routines. + * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Include stdlib.h. + (FP_HANDLE_EXCEPTIONS): Call ___Q_simulate_exceptions as a normal + function. + * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): New + alias to _Q_sqrt. + * sysdeps/sparc/sparc32/soft-fp/q_div.c (_Q_div): Fix a typo. + * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Include stdlib.h. + * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update. - * crypt/sha256test.c (main): Perform 100,000 'a' test in a second way. + * libio/libio.h (_IO_vfscanf, _IO_vfprintf): Remove __THROW. + (_IO_vfwscanf, _IO_vfwprintf): Likewise. + * libio/libioP.h (_IO_vdprintf): Likewise. - * elf/dl-runtime.c (reloc_offset): Define. - (reloc_index): Define. - (_dl_fixup): Rename reloc_offset parameter to reloc_arg. - (_dl_fixup_profile): Likewise. Use reloc_index instead of - computing index from reloc_offset. - (_dl_call_pltexit): Likewise. - * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Just pass - the relocation index to _dl_fixup. - (_dl_runtime_profile): Likewise for _dl_fixup_profile and - _dl_call_pltexit. - * sysdeps/x86_64/dl-runtime.c: New file. +2006-01-13 Richard Henderson - [BZ #9893] - * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix - alignment of La_x86_64_regs. Store xmm parameters. - Patch mostly by Jiri Olsa . + * sysdeps/unix/sysv/linux/alpha/sysdep.h (PTR_MANGLE, PTR_MANGLE2, + PTR_DEMANGLE, PTR_DEMANGLE2): Move ... + * sysdeps/unix/alpha/sysdep.h: ... here. + * sysdeps/unix/sysv/linux/alpha/fxstatat.c: Define __GI___fxstatat64. - [BZ #9913] - * string/strverscmp.c (__strverscmp): Fix case of different digits - in fractional part of string. - Patch by Jingyu Liu . - * string/Makefile (tests): Add tst-svc2. - * string/tst-svc2.c: New file. +2006-01-13 Andreas Jaeger - * string/strverscmp.c (__strverscmp): Optimize size of tables. + * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (ELF_NVRREG): Fix + value for PowerPC64. - * locale/iso-639.def: Add Min Nan. +2006-01-12 Roland McGrath -2009-03-11 Carlos Eduardo Seo + * sysdeps/s390/jmpbuf-offsets.h: New file. + * sysdeps/s390/jmpbuf-unwind.h: Include it. - [BZ #9948] - * elf/dl-sysdep.c (_dl_show_auxv): Add support for AT_BASE_PLATFORM. + * sysdeps/alpha/__longjmp.S: Include + instead of . + * sysdeps/alpha/setjmp.S: Likewise. + * sysdeps/i386/__longjmp.S: Likewise. + * sysdeps/i386/bsd-_setjmp.S: Likewise. + * sysdeps/i386/bsd-setjmp.S: Likewise. + * sysdeps/i386/setjmp.S: Likewise. + * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: + * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise. + * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise. + * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise. + * sysdeps/sh/sh3/setjmp.S: Likewise. + * sysdeps/sh/sh4/setjmp.S: Likewise. + * sysdeps/sparc/sparc32/__longjmp.S: Likewise. + * sysdeps/sparc/sparc32/setjmp.S: Likewise. + * sysdeps/x86_64/__longjmp.S: Likewise. + * sysdeps/x86_64/setjmp.S: Likewise. + * sysdeps/mach/hurd/i386/longjmp-ts.c: Include . + * sysdeps/mach/hurd/powerpc/longjmp-ts.c: Likewise. + * sysdeps/mach/hurd/alpha/longjmp-ts.c: Likewise. + * sysdeps/alpha/jmpbuf-unwind.h: Likewise. + * sysdeps/hppa/jmpbuf-unwind.h: Likewise. + * sysdeps/i386/jmpbuf-unwind.h: Likewise. + * sysdeps/powerpc/jmpbuf-unwind.h: Likewise. + * sysdeps/sparc/sparc32/jmpbuf-unwind.h: Likewise. + * sysdeps/sparc/sparc64/jmpbuf-unwind.h: Likewise. + * sysdeps/x86_64/jmpbuf-unwind.h: Likewise. + * setjmp/jmpbuf-offsets.h: File removed. + * include/bits/setjmp.h: File removed. -2009-03-14 Ulrich Drepper +2006-01-11 Ulrich Drepper - * elf/dl-sysdep.c (auxvars): Compress data structure. + * libio/wmemstream.c: New file. + * libio/stdio.h: Declare open_wmemstream. + * libio/Versions: Export open_wmemstream for GLIBC_2.4. + * libio/Makefile (routines): Add wmemstream. + (tests): Add tst-memstream1, tst-memstream2, tst-wmemstream2, and + tst-wmemstream2. + * libio/tst-memstream1.c: New file. + * libio/tst-memstream2.c: New file. + * libio/tst-wmemstream1.c: New file. + * libio/tst-wmemstream2.c: New file. - * sysdeps/i386/dl-machine.h (elf_machine_rel): Implement - STT_GNU_IFUNC handling. - (elf_machine_rela): Likewise. + * libio/memstream.c (_IO_mem_sync): Remove useless call to + _IO_default_sync. -2009-03-13 Ulrich Drepper + * elf/check-textrel.c: Add missing argument. - * config.h.in (USE_MULTIARCH): Define. - * configure.in: Handle --enable-multi-arch. - * elf/dl-runtime.c (_dl_fixup): Handle STT_GNU_IFUNC. - (_dl_fixup_profile): Likewise. - * elf/do-lookup.c (dl_lookup_x): Likewise. - * sysdeps/x86_64/dl-machine.h: Handle STT_GNU_IFUNC. - * elf/elf.h (STT_GNU_IFUNC): Define. - * include/libc-symbols.h (libc_ifunc): Define. - * sysdeps/x86_64/cacheinfo.c: If USE_MULTIARCH is defined, use the - framework in init-arch.h to get CPUID values. - * sysdeps/x86_64/multiarch/Makefile: New file. - * sysdeps/x86_64/multiarch/init-arch.c: New file. - * sysdeps/x86_64/multiarch/init-arch.h: New file. - * sysdeps/x86_64/multiarch/sched_cpucount.c: New file. + * Makerules: Define build-module-asneeded. + * iconvdata/extra-module.mk: Use build-module-asneeded. + needed. - * config.make.in (experimental-malloc): Define. - * configure.in: Handle --enable-experimental-malloc. - * malloc/Makefile: Handle experimental-malloc flag. - * malloc/malloc.c: Implement PER_THREAD and ATOMIC_FASTBINS features. - * malloc/arena.c: Likewise. - * malloc/hooks.c: Likewise. - * malloc/malloc.h: Define M_ARENA_TEST and M_ARENA_MAX. +2006-01-09 Richard Henderson -2009-03-11 Ulrich Drepper + * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on ld.so. + * sysdeps/alpha/__longjmp.S: Use PTR_DEMANGLE. + * sysdeps/alpha/setjmp.S: Likewise. Avoid __sigjmp_save for rtld; + tailcall in libc.so. + * sysdeps/unix/sysv/linux/alpha/sysdep.h (PTR_MANGLE): Define. + (PTR_MANGLE2): Define. - * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Add branch - prediction. A few size optimizations. +2006-01-11 Ulrich Drepper -2009-03-10 Ulrich Drepper + * elf/check-localplt.c: New file. + * elf/Makefile: Add rules to build and run check-localplt. + * scripts/data/localplt-x86_64-linux-gnu.data: New file. + * scripts/data/localplt-i386-linux-gnu.data: New file. - * time/tzset.c: Optimize a bit for size. + * include/sys/stat.h: Add libc_hidden_proto for __fxstatat64. + * sysdeps/unix/sysv/linux/fxstatat64.c: Add libc_hidden_def for + __fxstatat64. + * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Add + __GI___fxstatat64 alias. -2009-03-10 Jakub Jelinek + * libio/memstream.c (_IO_mem_finish): Fix potential memory leak if + realloc fails. - * include/stdio.h (fmemopen): Add libc_hidden_proto. - * libio/fmemopen.c (fmemopen): Add libc_hidden_def. + * include/sched.h: Add libc_hidden_proto for __sched_yield. - * elf/sprof.c: Avoid warning about multi-line comment. + * libio/genops.c (_IO_unbuffer_write): Give concurrently running + threads the chance to work correctly by trying to lock the stream. + If this does not work, proceed without locking. -2009-03-10 Ulrich Drepper +2006-01-10 Ulrich Drepper - * time/tzset.c (__tzset_parse_tz): Use correct string when parsing - DST name. - * time/tst-posixtz.c: Add tests for quoted timezone names. + * libio/genops.c (_IO_unbuffer_write): Don't always free the + buffer. This is not necessary except in debug mode. If we don't + free the buffer but the FILE structure to a list. + (buffer_free): New function. Free buffers or tell _IO_unbuffer_write + to do so. + * libio/libio.h (struct _IO_FILE): Add new members to keep track + of which buffers have to be freed. -2009-03-10 Jakub Jelinek + * iconv/gconv_cache.c (free_mem): Don't call munmap if gconv_cache + is NULL. - * posix/unistd.h (_POSIX_VERSION, _POSIX2_VERSION, _POSIX2_C_BIND, - _POSIX2_C_DEV, _POSIX2_SW_DEV, _POSIX2_LOCALEDEF): Define to - 200809L instead of 200112L. - (_XOPEN_VERSION): For __USE_XOPEN2K8 define to 700. - * posix/tst-sysconf.c (STDVER): Define to 200809L instead of 200112L. +2005-10-14 Paul Eggert - * stdlib/quick_exit.c (quick_exit): Pass &__quick_exit_funcs - instead of __quick_exit_funcs to __run_exit_handlers. - * stdlib/at_quick_exit.c (at_quick_exit): Add attribute_hidden. - * stdlib/exit.h (__run_exit_handlers): Add noreturn attribute. - (__cxa_at_quick_exit): Remove attribute_hidden. - * stdlib/exit.c (exit): Pass &__exit_funcs instead of __exit_funcs - to __run_exit_handlers. - * stdlib/cxa_at_quick_exit.c (__cxa_at_quick_exit): Remove - attribute_hidden. + * malloc/obstack.c: Fix old comments. Update FSF snail mail address. + * malloc/obstack.h: Likewise. -2009-03-10 Ulrich Drepper + [BZ #321] + Fix portability bugs encountered when porting to Itanium. + * malloc/obstack.h (obstack_empty_p, obstack_finish): Do not + assume that the "contents" member is suitably aligned. It is + not, for some hosts and alignments: e.g., Itanium, long-double. + * malloc/obstack.c (_obstack_begin, _obstack_begin_1, + _obstack_newchunk): Likewise. + * malloc/obstack.c: Include , for size_t. + Include , if needed and available. + (DEFAULT_ALIGNMENT): Now an enum constant, not a macro. + Use C89 offsetof rather than K&R trick. + Use the maximum alignment of uintmax_t, long double, void * + rather than the alignment of double. + (union fooround): Use uintmax_t, long double, void * members + rather than just long and double. - * po/id.po: Update from translation team. + [BZ #321] + Fix portability bugs encountered when porting to the IBM iSeries, + where pointers are 256 bits wide and no integers are that wide. + * malloc/obstack.h (__PTR_TO_INT, __INT_TO_PTR): Remove. + All uses changed to: + (__BPTR_ALIGN, __PTR_ALIGN): New macros. + (struct _obstack_chunk.temp): Change from int to a union + of pointer and int. All uses changed. -2009-02-18 Jakub Jelinek + [BZ #321] + * malloc/obstack.c (print_and_abort) [!_LIBC]: + Call fprintf (stderr, ...), not __fxprintf (NULL, ...). + [_LIBC && USE_IN_LIBIO]: Don't include ; no longer needed. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Use - .machine push; .machine "power6" and .machine pop around mtfsf - insns outside of _ARCH_PWR6 define. +2006-01-10 Derek Price + Paul Eggert + + [BZ #1060] + * posix/glob.c: Assume freestanding C89 compiler. Simplify cruft that + may be replaced with GNULIB modules. Make no attempt to find 64-bit + versions of file access functions directly when [!_LIBC]. + Don't define GLOB_* macros here. + (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK, DIRENT_MIGHT_BE_DIR): New + macros to abstract dirent->d_type access. + (GETPW_R_SIZE_MAX, GET_LOGIN_NAME_MAX): New macros to abstract sysconf + access. + +2006-01-10 Roland McGrath + + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h + (PTR_MANGLE): Fix cast. + + * timezone/test-tz.c: Revert last change, updating to match + tzdata2005r definition of "MST". + +2006-01-10 Ulrich Drepper + + * include/bits/setjmp.h: Don't include jmpbuf-offsets.h if _ISOMAC is + defined. + +2006-01-10 Andreas Jaeger + + * include/time.h: Use normal comments. + +2006-01-10 Thomas Schwinge + + * hurd/sigunwind.c: Include instead of . + * sysdeps/mach/hurd/jmp-unwind.c: Likewise. + +2006-01-10 Jakub Jelinek + + * wcsmbs/bits/wchar2.h (vswprintf): Call __vswprintf_alias rather than + vswprintf recursively. + +2006-01-10 Ulrich Drepper + + * sysdeps/x86_64/bits/setjmp.h: Add back accidently removed #endif. + +2006-01-10 Roland McGrath + + * include/bits/setjmp.h: New file. + * setjmp/jmpbuf-offsets.h: New file. + * sysdeps/alpha/bits/setjmp.h: Move JB_* macros ... + * sysdeps/alpha/jmpbuf-offsets.h: ... here, new file. + * sysdeps/hppa/bits/setjmp.h (JB_SP): Macro moved ... + * sysdeps/hppa/jmpbuf-offsets.h: ... here, new file. + * sysdeps/i386/bits/setjmp.h: Move JB_* macros ... + * sysdeps/i386/jmpbuf-offsets.h: ... here, new file. + * sysdeps/mips/bits/setjmp.h (JB_PC): Macro removed. + * sysdeps/powerpc/bits/setjmp.h: Move JB_* macros ... + * sysdeps/powerpc/jmpbuf-offsets.h: ... here, new file. + * sysdeps/s390/bits/setjmp.h: Remove __JB_* macros. + * sysdeps/sh/bits/setjmp.h (JB_SIZE): Macro moved ... + * sysdeps/sh/jmpbuf-offsets.h: ... here, new file. + * sysdeps/sparc/sparc32/bits/setjmp.h: Move JB_* macros ... + * sysdeps/sparc/sparc32/jmpbuf-offsets.h: ... here, new file. + * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Remove JB_* macros. + * sysdeps/x86_64/bits/setjmp.h: Move JB_* macros ... + * sysdeps/x86_64/jmpbuf-offsets.h: ... here, new file. + + * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... + * sysdeps/powerpc/jmpbuf-unwind.h: ... here. + * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... + * sysdeps/alpha/jmpbuf-unwind.h: ... here. + * sysdeps/sparc/sparc32/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... + * sysdeps/sparc/sparc32/jmpbuf-unwind.h: ... here. + * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... + * sysdeps/i386/jmpbuf-unwind.h: ... here. + * sysdeps/x86_64/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... + * sysdeps/x86_64/jmpbuf-unwind.h: ... here. + * sysdeps/sh/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... + * sysdeps/sh/jmpbuf-unwind.h: ... here. + * sysdeps/hppa/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... + * sysdeps/hppa/jmpbuf-unwind.h: ... here, new file. + * sysdeps/mips/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... + * sysdeps/mips/jmpbuf-unwind.h: ... here. + * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... + * sysdeps/m68k/jmpbuf-unwind.h: ... here, new file. + * sysdeps/s390/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... + * sysdeps/s390/jmpbuf-unwind.h: ... here. + * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h (_JMPBUF_UNWINDS): + Move macro ... + * sysdeps/ia64/jmpbuf-unwind.h: ... here. + * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h (_JMPBUF_UNWINDS): + Move macro ... + * sysdeps/sparc/sparc64/jmpbuf-unwind.h: ... here. + + * sysdeps/alpha/jmpbuf-unwind.h: New file, moved from nptl/. + * sysdeps/i386/jmpbuf-unwind.h: New file, moved from nptl/. + * sysdeps/ia64/jmpbuf-unwind.h: New file, moved from nptl/. + * sysdeps/mips/jmpbuf-unwind.h: New file, moved from nptl/. + * sysdeps/powerpc/jmpbuf-unwind.h: New file, moved from nptl/. + * sysdeps/s390/jmpbuf-unwind.h: New file, moved from nptl/. + * sysdeps/sh/jmpbuf-unwind.h: New file, moved from nptl/. + * sysdeps/sparc/sparc32/jmpbuf-unwind.h: New file, moved from nptl/. + * sysdeps/sparc/sparc64/jmpbuf-unwind.h: New file, moved from nptl/. + * sysdeps/x86_64/jmpbuf-unwind.h: New file, moved from nptl/. + + * sysdeps/linkmap.h: File removed. + +2006-01-07 Carlos O'Donell + + * sysdeps/hppa/elf/start.S (_start): Use PLABEL32 relocations + by using LR and RR. Add %sr0 to iitlbp. + +2006-01-09 Roland McGrath + + * timezone/private.h: Update from tzcode2005r. + * timezone/tzfile.h: Likewise. + * timezone/zdump.c: Likewise. + * timezone/zic.c: Likewise. + * timezone/africa: Update from tzdata2005r. + * timezone/antarctica: Likewise. + * timezone/asia: Likewise. + * timezone/australasia: Likewise. + * timezone/backward: Likewise. + * timezone/europe: Likewise. + * timezone/northamerica: Likewise. + * timezone/southamerica: Likewise. + * timezone/systemv: Likewise. + + * elf/Makefile ($(objpfx)reldep5.out): Fix dependency typo, + so we depend on $(objpfx)reldepmod6.so as intended. + +2006-01-09 Ulrich Drepper + + [BZ #2126] + * sysdeps/i386/i686/strtok.S: Store pointer to NUL byte if NULL is + returned. + * sysdeps/i386/strtok.S: Likewise. + * sysdeps/x86_64/strtok.S: Likewise. + * string/Makefile (tests): Add bug-strtok1. + * string/bug-strtok1.c: New file. + + * elf/check-textrel.c (AB): Also check for writable and executable + segments. + + * sysdeps/ieee754/dbl-64/e_exp2.c: Remove section attribute from + const variables, gas produces garbage. + * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise. + * sysdeps/ieee754/flt-32/e_expf.c: Likewise. + * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise. + +2006-01-09 Jakub Jelinek + + * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h (_JMPBUF_UNWINDS): Add + stack bias to mc_fp field. + + * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h + (struct kernel_stat): Rename st_[amc]time fields to st_[amc]time_sec. + (struct kernel_stat64): New type. + (_HAVE___UNUSED1, _HAVE___UNUSED2, _HAVE_STAT___UNUSED1, + _HAVE_STAT___UNUSED2, _HAVE_STAT___UNUSED3, _HAVE_STAT___UNUSED4, + _HAVE_STAT___UNUSED5, _HAVE_STAT___PAD1, _HAVE_STAT___PAD2, + _HAVE_STAT64___UNUSED1, _HAVE_STAT64___UNUSED2, + _HAVE_STAT64___UNUSED3, _HAVE_STAT64___UNUSED4, + _HAVE_STAT64___UNUSED5, _HAVE_STAT64___PAD1, _HAVE_STAT64___PAD2): + Remove. + * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Use i386/xstat.c. + * sysdeps/unix/sysv/linux/sparc/sparc64/fxstatat.c: + Use i386/fxstatat.c. + * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat.c: Use i386/lxstat.c. + * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: New file. + * sysdeps/unix/sysv/linux/sparc/bits/stat.h (struct stat, + struct stat64): Add nsec resolution for 64-bit code like already done + for 32-bit code. + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL): Don't define + for sparc64. + (__ASSUME_STAT64_SYSCALL): Only define for sparc64 for >= 2.6.12 + kernels. + + * scripts/data/c++-types-sparc-linux-gnu.data: New file. + * scripts/data/c++-types-sparc64-linux-gnu.data: New file. + * scripts/data/c++-types-alpha-linux-gnu.data: Adjust. + +2006-01-08 Roland McGrath + + [BZ #1535] + * sysdeps/unix/get_child_max.c: New file. + * posix/get_child_max.c: New file. + * posix/Makefile (routines): Add it. + * include/sys/sysinfo.h (__get_child_max): Declare it. + * sysdeps/posix/sysconf.c (__sysconf) [! CHILD_MAX]: Use it. + + * sysdeps/unix/sysv/linux/futimes.c [!__NR_fcntl && __NR_fcntl64]: Use + fcntl64 syscall instead. + + * stdio-common/tst-fmemopen2.c (do_test): Add a cast. + * stdio-common/printf-parsemb.c (__find_specmb): Likewise. + + * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use <> instead of "" in + #include for kernel-features.h. + * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/select.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise. + * sysdeps/unix/sysv/linux/check_pf.c: Likewise. + * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise. + * sysdeps/unix/sysv/linux/clock_getres.c: Likewise. + * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise. + * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise. + * sysdeps/unix/sysv/linux/clock_settime.c: Likewise. + * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise. + * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise. + * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise. + * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise. + * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise. + * sysdeps/unix/sysv/linux/futimes.c: Likewise. + * sysdeps/unix/sysv/linux/futimesat.c: Likewise. + * sysdeps/unix/sysv/linux/fxstat64.c: Likewise. + * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise. + * sysdeps/unix/sysv/linux/getcwd.c: Likewise. + * sysdeps/unix/sysv/linux/getdents.c: Likewise. + * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. + * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise. + * sysdeps/unix/sysv/linux/i386/fchownat.c: Likewise. + * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise. + * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise. + * sysdeps/unix/sysv/linux/i386/fxstatat.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise. + * sysdeps/unix/sysv/linux/i386/lockf64.c: Likewise. + * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise. + * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise. + * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise. + * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise. + * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise. + * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise. + * sysdeps/unix/sysv/linux/ifreq.c: Likewise. + * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise. + * sysdeps/unix/sysv/linux/lxstat64.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/fchownat.c: Likewise. + * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise. + * sysdeps/unix/sysv/linux/mmap64.c: Likewise. + * sysdeps/unix/sysv/linux/msgctl.c: Likewise. + * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise. + * sysdeps/unix/sysv/linux/opendir.c: Likewise. + * sysdeps/unix/sysv/linux/poll.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise. + * sysdeps/unix/sysv/linux/pread.c: Likewise. + * sysdeps/unix/sysv/linux/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/prof-freq.c: Likewise. + * sysdeps/unix/sysv/linux/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise. + * sysdeps/unix/sysv/linux/semctl.c: Likewise. + * sysdeps/unix/sysv/linux/setegid.c: Likewise. + * sysdeps/unix/sysv/linux/seteuid.c: Likewise. + * sysdeps/unix/sysv/linux/shmctl.c: Likewise. + * sysdeps/unix/sysv/linux/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/sigpending.c: Likewise. + * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise. + * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Likewise. + * sysdeps/unix/sysv/linux/statvfs64.c: Likewise. + * sysdeps/unix/sysv/linux/syslog.c: Likewise. + * sysdeps/unix/sysv/linux/testrtsig.h: Likewise. + * sysdeps/unix/sysv/linux/truncate64.c: Likewise. + * sysdeps/unix/sysv/linux/utimes.c: Likewise. + * sysdeps/unix/sysv/linux/xstat64.c: Likewise. + * sysdeps/unix/sysv/linux/xstatconv.h: Likewise. + +2006-01-07 Roland McGrath + + * po/libc.pot: Regenerated. + + * po/.cvsignore: List libc.pot.files, and not any .pot names. + + * manual/maint.texi (Porting): Don't mention Dist files. + * sysdeps/alpha/soft-fp/Dist: File removed. + * sysdeps/alpha/Dist: File removed. + * sysdeps/i386/i686/Dist: File removed. + * sysdeps/i386/soft-fp/Dist: File removed. + * sysdeps/i386/Dist: File removed. + * sysdeps/mips/soft-fp/Dist: File removed. + * sysdeps/mips/mips64/soft-fp/Dist: File removed. + * sysdeps/mips/mips64/Dist: File removed. + * sysdeps/mips/Dist: File removed. + * sysdeps/wordsize-32/Dist: File removed. + * sysdeps/m68k/fpu/switch/Dist: File removed. + * sysdeps/m68k/fpu/Dist: File removed. + * sysdeps/powerpc/powerpc64/Dist: File removed. + * sysdeps/powerpc/soft-fp/Dist: File removed. + * sysdeps/powerpc/powerpc32/fpu/Dist: File removed. + * sysdeps/powerpc/powerpc32/Dist: File removed. + * sysdeps/powerpc/fpu/Dist: File removed. + * sysdeps/powerpc/Dist: File removed. + * sysdeps/unix/common/Dist: File removed. + * sysdeps/unix/bsd/bsd4.4/Dist: File removed. + * sysdeps/unix/bsd/Dist: File removed. + * sysdeps/unix/sysv/linux/alpha/Dist: File removed. + * sysdeps/unix/sysv/linux/i386/Dist: File removed. + * sysdeps/unix/sysv/linux/mips/mips64/Dist: File removed. + * sysdeps/unix/sysv/linux/mips/Dist: File removed. + * sysdeps/unix/sysv/linux/m68k/Dist: File removed. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: File removed. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: File removed. + * sysdeps/unix/sysv/linux/powerpc/aix/Dist: File removed. + * sysdeps/unix/sysv/linux/powerpc/Dist: File removed. + * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: File removed. + * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: File removed. + * sysdeps/unix/sysv/linux/sparc/Dist: File removed. + * sysdeps/unix/sysv/linux/ia64/Dist: File removed. + * sysdeps/unix/sysv/linux/s390/s390-64/Dist: File removed. + * sysdeps/unix/sysv/linux/s390/Dist: File removed. + * sysdeps/unix/sysv/linux/s390/s390-32/Dist: File removed. + * sysdeps/unix/sysv/linux/sh/Dist: File removed. + * sysdeps/unix/sysv/linux/x86_64/Dist: File removed. + * sysdeps/unix/sysv/linux/hppa/Dist: File removed. + * sysdeps/unix/sysv/linux/Dist: File removed. + * sysdeps/unix/sysv/Dist: File removed. + * sysdeps/unix/Dist: File removed. + * sysdeps/generic/Dist: File removed. + * sysdeps/sparc/sparc32/soft-fp/Dist: File removed. + * sysdeps/sparc/sparc32/sparcv9/Dist: File removed. + * sysdeps/sparc/sparc32/sparcv8/Dist: File removed. + * sysdeps/sparc/sparc32/Dist: File removed. + * sysdeps/sparc/sparc64/soft-fp/Dist: File removed. + * sysdeps/sparc/sparc64/Dist: File removed. + * sysdeps/sparc/Dist: File removed. + * sysdeps/gnu/Dist: File removed. + * sysdeps/ia64/fpu/Dist: File removed. + * sysdeps/ia64/Dist: File removed. + * sysdeps/mach/mips/Dist: File removed. + * sysdeps/mach/hurd/alpha/Dist: File removed. + * sysdeps/mach/hurd/i386/Dist: File removed. + * sysdeps/mach/hurd/mips/Dist: File removed. + * sysdeps/mach/hurd/powerpc/Dist: File removed. + * sysdeps/mach/hurd/Dist: File removed. + * sysdeps/s390/s390-64/Dist: File removed. + * sysdeps/s390/Dist: File removed. + * sysdeps/s390/s390-32/Dist: File removed. + * sysdeps/sh/Dist: File removed. + * sysdeps/posix/Dist: File removed. + * sysdeps/ieee754/dbl-64/Dist: File removed. + * sysdeps/ieee754/ldbl-128/Dist: File removed. + * sysdeps/ieee754/flt-32/Dist: File removed. + * sysdeps/ieee754/Dist: File removed. + * sysdeps/x86_64/soft-fp/Dist: File removed. + * sysdeps/x86_64/Dist: File removed. + * sysdeps/hppa/Dist: File removed. + + * Makerules (common-clean): Don't remove distinfo file. + ($(objpfx)distinfo): Target removed. + * manual/Makefile (mostlyclean): Don't remove distinfo file. + (glibc-targets): Remove echo-distinfo. + + * scripts/list-sources.sh: New file. + * Makefile (TAGS): New target. + * po/Makefile (libc.pot, libc.pot.files): New targets. + * Makeconfig (XGETTEXT): New variable. + * Makerules ($(..)po/%.pot): Rule removed. + (TAGS): Target removed. + * Rules (subdir_TAGS): Target removed. + * MakeTAGS: File removed. + + * Makefile (iconvdata/% localedata/% po/% manual/%): Depend on FORCE. + * Makeconfig ($(all-Depend-files)): New targets with no-op commands. + +2004-08-03 Marco Gerards + + [BZ #2119] + * sysdeps/mach/hurd/bits/ioctls.h (SIOCGIFHWADDR): New macro. + +2006-01-07 Ulrich Drepper + + * stdio-common/tstdiomisc.c (F): Use NAN to get NaN value. + +2006-01-06 Ulrich Drepper + + * elf/tst-tls8.c (do_test): Use $ORIGIN in module names. + +2006-01-03 Steven Munroe + + * sysdeps/generic/sysdep.h (cfi_same_value): Define macro. + + * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_runtime_resolve, + _dl_profile_resolve): Add CFI directives for stack and LR save. + Save LR in LRSAVE of previous frame per ABI. + * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Add CFI directives + for LR save. + * sysdeps/powerpc/powerpc32/lshift.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S + (__makecontext, __novec_makecontext): Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Add CFI directive + for LR save to register. + * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Add CFI directive + for stack. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise. + * sysdeps/powerpc/powerpc32/ppc-mcount.S: Add CFI directives for stack + and LR save. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: + Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise. - * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_SET_DI_FPSCR): Likewise. - * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_register, - relax_fenv_state): Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise. Don't use + negative stack addressing. -2009-03-08 Ulrich Drepper + * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve, + _dl_profile_resolve): Add CFI directives for stack and LR save. + * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Add CFI directives + for stack. + * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Add CFI + directives for stack and LR save. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Add CFI + directives for stack. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone): Add CFI + directives for stack. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S + (__getcontext, __novec_getcontext): Add CFI directives for stack + and LR save. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S + (__makecontext): Add CFI directives for stack and LR save. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S + (__setcontext, __novec_setcontext): Add CFI directives for stack + and LR save. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S + (__swapcontext, __novec_swapcontext): Add CFI directives for stack + and LR save. - * stdlib/Makefile (routines): Add quick_exit, at_quick_exit, and - cxa_at_quick_exit. - (static-only-routines): Add at_quick_exit. - * stdlib/Versions: Export quick_exit and __cxa_at_quick_exit for - GLIBC_2.10. - * stdlib/quick_exit.c: New file. - * stdlib/at_quick_exit.c: New file. - * stdlib/cxa_at_quick_exit.c: New file. - * stdlib/cxa_atexit.c (__cxa_atexit): Move body to new function. Call - it appropriately. - (__internal_atexit): New function. - (__new_exitfn): Now takes parameter to point to the list to use. - * stdlib/cxa_finalize.c: Remove quick_exit handlers, don't call them. - * stdlib/exit.c (__run_exit_handlers): New function. Split from... - (exit): ...here. Just call __run_exit_handlers appropriately. - * stdlib/exit.h: Declare __quick_exit_funcs, __run_exit_handlers, - __internal_atexit, __cxa_at_quick_exit. Adjust __new_exitfn. - * stdlib/on_exit.c: Adjust call to __new_exitfn. - * stdlib/stdlib.h: Declare at_quick_exit and quick_exit. +2006-01-06 Jakub Jelinek - * po/id.po: Update from translation team. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include tls.h. + (SYSCALL_ERROR_HANDLER_ENTRY): Use %g4 instead of %g2, to avoid + the need of .register directive for it. + * configure.in (libc_cv_asm_cfi_directives): Use CFI rel offset + 2047 instead of 0 in the test on sparc64. -2009-03-07 Ulrich Drepper +2006-01-06 Ulrich Drepper - * po/ru.po: Update from translation team. + * scripts/check-c++-types.sh: Add more pthread types. + * scripts/data//c++-types-i386-linux-gnu.data: Adjust. + * scripts/data//c++-types-ia64-linux-gnu.data: Likewise. + * scripts/data//c++-types-powerpc-linux-gnu.data: Likewise. + * scripts/data//c++-types-powerpc64-linux-gnu.data: Likewise. + * scripts/data//c++-types-s390-linux-gnu.data: Likewise. + * scripts/data//c++-types-s390x-linux-gnu.data: Likewise. + * scripts/data//c++-types-x86_64-linux-gnu.data: Likewise. -2009-03-04 Ulrich Drepper + * sysdeps/unix/sysv/linux/ia64/sysdep.h (DO_INLINE_SYSCALL_NCS): + Adjust for private->__private rename in tcbhead_t. - * po/nl.po: Update from translation team. + [BZ #2114] + * ncsd/aicache.c: Don't use sendfile for records on the stack. + * nscd/grpcache.c: Likewise. + * nscd/hstcache.c: Likewise. + * nscd/initgrcache.c: Likewise. + * nscd/pwdcache.c: Likewise. + Patch by dmueller@suse.com. -2009-03-03 Ulrich Drepper + * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Define MADV_REMOVE. + * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Declare fallocate{,64}. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. +2006-01-06 Roland McGrath - * po/pl.po: Update from translation team. + * Makeconfig (+gnu-stabs): Remove ancient cruft. -2009-03-02 Ulrich Drepper + [BZ #2103] + * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_HWX25): Corrected macro + name (was typo ARPHDR_HWX25). + (ARPHRD_IEEE80211_PRISM, ARPHRD_IEEE80211_RADIOTAP): New macros. + (ARPHRD_VOID, ARPHRD_NONE): New macros. - [BZ #7083] - * sysdeps/unix/sysv/linux/fallocate.c: New file. - * sysdeps/unix/sysv/linux/fallocate64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: New file. - * sysdeps/unix/sysv/linux/i386/fallocate64.c: New file. - * sysdeps/unix/sysv/linux/i386/fallocate.c: New file. - * sysdeps/unix/sysv/linux/Versions: Export fallocate and fallocate64 - for GLIBC_2.10. - * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): - Add fallocate and fallocate64. + * sysdeps/wordsize-32/divdi3.c (__moddi3): Add a cast. - * io/fcntl.h: Pretty printing. + * io/fcntl.h [__USE_ATFILE] (AT_EACCESS): New macro. + * posix/unistd.h [__USE_ATFILE]: Declare faccessat. + * io/faccessat.c: New file. + * sysdeps/unix/sysv/linux/faccessat.c: New file. + * io/Makefile (routines): Add faccessat. + * io/Versions (libc: GLIBC_2.4): Likewise. + * io/tst-faccessat.c: New file. + * io/Makefile (tests): Add it. -2009-03-02 Richard Guenther + * scripts/check-local-headers.sh: Revert last change. - * misc/sys/cdefs.h (__extern_always_inline): Add __artificial__ - attribute also for non-C99 inline semantics variant. + * io/euidaccess.c: Add eaccess as an alias. + * sysdeps/mach/hurd/euidaccess.c: Likewise. + * sysdeps/posix/euidaccess.c: Likewise. + * posix/unistd.h [__USE_GNU]: Declare eaccess. + * io/Versions (libc: GLIBC_2.4): Add eaccess. -2009-02-12 Carlos Eduardo Seo +2005-12-04 Joseph S. Myers - * sysdeps/powerpc/powerpc32/power7/fpu/Implies: New file. - * sysdeps/powerpc/powerpc32/power7/Implies: Likewise. - * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise. - * sysdeps/powerpc/powerpc64/power7/Implies: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: - Likewise. + * soft-fp/Makefile (gcc-single-routines): Add unordsf2, + floatunsisf, floatundisf. + (gcc-double-routines): Add unorddf2, floatunsidf, floatundidf. + (gcc-quad-routines): Add unordtf2, floatunsitf, floatunditf. + * soft-fp/op-common.h (_FP_CMP_UNORD): Define. + * soft-fp/single.h (FP_CMP_UNORD_S): Define. + * soft-fp/double.h (FP_CMP_UNORD_D): Define. + * soft-fp/quad.h (FP_CMP_UNORD_Q): Define. + * soft-fp/extended.h (FP_CMP_UNORD_E): Define. + * soft-fp/unordsf2.c: New file. + * soft-fp/unorddf2.c: New file. + * soft-fp/unordtf2.c: New file. + * soft-fp/floatunsisf.c: New file. + * soft-fp/floatundisf.c: New file. + * soft-fp/floatunsidf.c: New file. + * soft-fp/floatundidf.c: New file. + * soft-fp/floatunsitf.c: New file. + * soft-fp/floatunditf.c: New file. -2009-03-02 Ulrich Drepper + * soft-fp/op-common.h (__FP_CLZ): Define using __builtin_clz, + __builtin_clzl and __builtin_clzll. - * po/cs.po: Update from translation team. +2006-01-05 Mike Frysinger -2009-02-28 Ulrich Drepper + * include/alloca.h (extend_alloca): Fix typoed name 'extern_alloca'. - * po/bg.po: Update from translation team. - * po/sv.po: Likewise. - * po/fi.po: Likewise. - * po/vi.po: Likewise. +2006-01-05 Jakub Jelinek -2009-02-27 Roland McGrath + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_WAITID_SYSCALL): + Only define for 2.6.12+ on s390{,x}. + (__ASSUME_GETDENTS32_D_TYPE): Only define for 2.6.8+ on most arches + and only for 2.6.11+ on s390{,x}. - * Makeconfig (%.v.i): Depend on Makeconfig. - Exclude % lines from initial #-comment removal. +2006-01-05 Ulrich Drepper -2009-02-27 Ulrich Drepper + * sysdeps/pthread/aio_misc.h [!DONT_USE_BOOTSTRAP_MAP] + (struct waitlist): Don't add cond. + * sysdeps/pthread/aio_notify.c [!DONT_USE_BOOTSTRAP_MAP] + (__aio_notify): Use AIO_MISC_NOTIFY instead of pthread_cond_signal. + * sysdeps/pthread/aio_suspend.c [!DONT_USE_BOOTSTRAP_MAP]: Don't + use condvar, use AIO_MISC_WAIT. + * sysdeps/pthread/lio_listio.c: Likewise. + * rt/Makefile (tests): Add tst-aio9 and tst-aio10. + * rt/tst-aio9.c: New file. + * rt/tst-aio10.c: New file. - * po/ko.po: Update from translation team. + * rt/tst-aio3.c: The thread is now supposed to be created. -2009-02-26 Roland McGrath +2006-01-05 Roland McGrath - * shadow/lckpwdf.c (__lckpwdf): Move FLAGS inside block using it, - avoids unused warning. - -2009-02-26 Andrew Stubbs - SUGIOKA Toshinobu - - * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Don't include signal.h, - sys/ucontext.h and asm/elf.h. Include sys/user.h. - * sysdeps/unix/sysv/linux/sh/sys/user.h: Don't include features.h - and asm/user.h. Include asm/ptrace.h. - (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, - PTRACE_SETFPREGS, PTRACE_GETFDPIC, PTRACE_GETFDPIC_EXEC, - PTRACE_GETFDPIC_INTERP, PTRACE_GETDSPREGS, PTRACE_SETDSPREGS): - Undefine. - (start_thread): Don't undefine. - (elf_greg_t, ELF_NGREG, elf_fpregset_t, user_fpu_struct, user): - Define. - -2009-02-26 Ulrich Drepper - - * wctype/wctype.h: The *_l functions are in POSIX 2008. - * wcsmbs/wchar.h: mbsnrtowcs, open_wmemstream, wcpcpy, wcpncpy, - wcscasecmp, wcsdup, wcsncasecmp, wcsnlen, wcsnrtombs, - wcscasecmp_l, wcsncasecmp_l, wcscoll_l, and wcsxfrm_l. - * sysdeps/mach/hurd/bits/posix_opt.h: Reset value of macros from - 200112L to 200809L. - * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise. - * posix/getconf.c (vars): Add _SC_THREAD_ROBUST_PRIO_INHERIT and - _SC_THREAD_ROBUST_PRIO_PROTECT entries. - * bits/confname.h: Add _SC_THREAD_ROBUST_PRIO_INHERIT and - _SC_THREAD_ROBUST_PRIO_PROTECT. - * posix/unistd.h: fexecve is in POSIX 2008. - * time/time.h: strftime_l is in POSIX 2008. - * io/sys/stat.h: futimens is in POSIX 2008. - * string/strings.h: strcasecmp_l and strncasecmp_l are in POSIX 2008. - * string/string.h: stpcpy, stpncpy, strndup, strnlen, strsignal, - strcoll_l, strerror_l, and strxfrm_l are in POSIX 2008. - * stdlib/stdlib.h: mkdtemp is in POSIX 2008. - * libio/stdio.h: dprintf, fmemopen, getdelim, getline, - open_memstream, and vdprintf are in POSIX 2008. - -2009-02-25 Ulrich Drepper - - * include/features.h: Define macros for XPG7/POSIX 2008. - * ctype/ctype.h: The *_l functions are in POSIX 2008. - * dirent/dirent.h: alphasort, dirfd, scandir, and fdopendir are in - POSIX 2008. - * locale/langinfo.h: nl_langinfo_l is in POSIX 2008. - * locale/xlocale.h: Define locale_t type. - * locale/locale.h: duplocale, freelocale, newlocale, uselocale are - in POSIX 2008. Don't define locale_t here. - * stdlib/monetary.h: strfmon_l is in POSIX 2008. - * sysdeps/unix/sysv/linux/bits/stat.h: Protect UTIME_NOW and - UTIME_OMIT only with __USE_ATFILE. - * signal/signal.h: Declare psignal and psiginfo for POSIX 2008. - * stdio-common/psiginfo.c: New file. - * stdio-common/psiginfo-data.h: New file. - * stdio-common/psiginfo-define.h: New file. - * stdio-common/Makefile (routines): Add psiginfo. - * stdio-common/Versions: Export psiginfo for GLIBC_2.10. - * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise. - * io/sys/stat.h: Move mknodat definition into same conditional as - mknod. - * time/sys/time.h: futimesat is not among the functions accepted - into the POSIX standard. - - * include/features.h: If no feature selection given and we select - by default a POSIX mode, also define __USE_POSIX_IMPLICITLY. - * posix/Versions: Export __posix_getopt. - * posix/getopt.c (_getopt_initialize): Take additional parameter. - Use it to alternatively initialize __posixly_correct. - (_getopt_internal_r): Take addition parameter. Pass on to - _getopt_initialize. - (_getopt_internal): Take addition parameter. Pass on to - _getopt_internal_r. - (getopt): Pass additional zero to _getopt_internal. - (__posix_getopt): New function. - * posix/getopt.h: Add redirection for getopt. - * posix/getopt1.c (getopt_long): Pass additional zero to - _getopt_internal. - (getopt_long_only): Likewise. - (_getopt_long_r): Pass additional zero to _getopt_internal_r. - (_getopt_long_only_r): Likewise. - * posix/getopt_int.h: Adjust declarations of _getopt_internal and - _getopt_internal_r. - -2009-02-24 Ulrich Drepper - - * bits/confname.h: Define _SC_TRACE_EVENT_NAME_MAX, _SC_TRACE_NAME_MAX, - _SC_TRACE_SYS_MAX, _SC_TRACE_USER_EVENT_MAX, _SC_XOPEN_STREAMS. - * sysdeps/posix/sysconf.c (__sysconf): Handle - _SC_TRACE_EVENT_NAME_MAX, _SC_TRACE_NAME_MAX, _SC_TRACE_SYS_MAX, - _SC_TRACE_USER_EVENT_MAX, _SC_XOPEN_STREAMS. - -2009-02-24 Roland McGrath - - [BZ #9895] - * README.template: Reworded not to use substituted version number. - Renamed to ... - * README: ... here (no longer generated). - * Makefile (README): Target removed. - -2009-02-24 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): - /proc/sys/kernel/rtsig_max doesn't exist anymore, use getrlimit - instead. - - * io/sys/stat.h: The lstat functions have been mandatory since 2001. - - * time/tzset.c (tzset_internal): Correct parsing of TZ envvar. - -2009-02-22 Ulrich Drepper - - * po/bg.po: Update from translation team. - -2009-02-16 Jakub Jelinek - - * stdlib/monetary.h: Uglify function parameter names. - * sunrpc/rpc/pmap_clnt.h: Likewise. - * sunrpc/rpc/svc.h: Likewise. - * sunrpc/rpc/xdr.h: Likewise. - * sunrpc/rpc/clnt.h: Likewise. - * resolv/netdb.h: Likewise. - * resolv/arpa/nameser.h: Likewise. - * resolv/resolv.h: Likewise. - * argp/argp.h: Likewise. - * locale/langinfo.h: Likewise. + * include/features.h: Grok _ATFILE_SOURCE and define __USE_ATFILE when + it or _GNU_SOURCE is defined. + * io/fcntl.h: Protect *at and AT_* with [__USE_ATFILE] instead of + [__USE_GNU]. + * libio/stdio.h: Likewise. + * posix/unistd.h: Likewise. + * time/sys/time.h: Likewise. * io/sys/stat.h: Likewise. - * posix/spawn.h: Likewise. - * nis/rpcsvc/nislib.h: Likewise. - * malloc/obstack.h: Likewise. - * sysdeps/ia64/bits/link.h: Likewise. - * sysdeps/i386/bits/link.h: Likewise. - * sysdeps/s390/bits/link.h: Likewise. - * sysdeps/powerpc/bits/link.h: Likewise. - * sysdeps/x86_64/bits/link.h: Likewise. - * sysdeps/sparc/bits/link.h: Likewise. - * sysdeps/sh/bits/link.h: Likewise. - * sysdeps/unix/sysv/linux/i386/sys/io.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Likewise. - * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise. -2008-12-01 Fredrik Unger + * io/sys/stat.h [__USE_GNU]: Declare fchmodat. + * io/fchmodat.c: New file. + * io/Makefile (routines): Add fchmodat. + * io/Versions (libc: GLIBC_2.4): Likewise. + * sysdeps/unix/sysv/linux/fchmodat.c: New file. + * io/tst-fchmodat.c: New file. + * io/Makefile (tests): Add it. - * soft-fp/double.h [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D, - FP_UNPACK_SEMIRAW_DP): Use _FP_UNPACK_RAW_1 instead of - _FP_UNPACK_RAW_2, fix up first argument. +2006-01-03 Steven Munroe -2009-02-15 Ulrich Drepper + * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY, EALIGN): Add cfi_startproc + directive to ENTRY macros. + (END): Add cfi_endproc directive to END macro. + * sysdeps/powerpc/powerpc64/sysdep.h (ENTRY, EALIGN): Add cfi_startproc + directive to ENTRY macros. + (END, END_GEN_TB): Add cfi_endproc directive to END macros. + * sysdeps/powerpc/powerpc32/dl-start.S: Remove ENTRY()s for + _dl_start_user and _dl_main_dispatch. + * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Use END macro. + * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Use Likewise. + * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise. + * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise. + * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise. + * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Remove redundant + cfi_startproc and cfi_endproc. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise. - * sysdeps/unix/sysv/linux/getsysstats.c (next_line): New function. - (GET_NPROCS_PARSER): Change parameters and use next_line. - (__get_nprocs): Rewrite to not use stdio routines. - * sysdeps/unix/sysv/linux/sparc/getsysstats.c (GET_NPROCS_PARSER): - Change parameters and use next_line. +2006-01-04 Ulrich Drepper -2009-02-13 Ulrich Drepper + * sysdeps/pthread/aio_misc.h (struct waitlist): Add result member. + * sysdeps/pthread/aio_notify.c (__aio_notify): For synchronous waiters, + failed I/O, and a result pointer, set value to -1. + * sysdeps/pthread/aio_suspend.c: Initialize result pointer to NULL. + * sysdeps/pthread/lio_listio.c: For LIO_WAIT, point result pointer in + wait list to local variable result. If nonzero afterwards, set errno + to EIO. For LIO_NOWAIT set result to NULL. + * rt/Makefile (tests): Add tst-aio8. + * rt/tst-aio8.c: New file. - [BZ #5381] - * nscd/nscd.h: Remove definitions and declarations for mem_in_flight. - Change mempool_alloc prototype. - * nscd/mem.c (gc): Don't handle mem_in_flight. - (mempool_alloc): Third parameter now only indicates whether this is the - first call (to allocate data) or not. If it is, get db rdlock. - Release it on error. Don't handle mem_in_flight. - * nscd/aicache.c (addhstaiX): Mark he parameter as const. - Adjust third parameter of mempool_alloc calls. - Nothing to do here in case mempool_alloc fails. - Avoid local variable shadowing parameter. No need to get db rdlock - before calling cache_add. - * nscd/cache.c (cache_add): Adjust call to mempool_alloc. There is - no mem_in_flight array anymore. - * nscd/connections.c: Remove definition and handling of mem_in_flight. - * nscd/grpcache.c (cache_addgr): Adjust third parameter of - mempool_alloc calls. Mark he parameter as const. Nothing to do here - in case mempool_alloc fails. No need to get db rdlock before calling - cache_add. - * nscd/hstcache.c (cache_addhst): Likewise. - * nscd/initgrcache.c (addinitgroupsX): Likewise. - * nscd/servicescache.c (cache_addserv): Likewise. - * nscd/pwdcache.c (cache_addpw): Likewise. Remove some debugging code. +2005-12-25 Kristian Van Der Vliet -2009-02-11 Ulrich Drepper + * abi-tags (*-.*-syllable.*): New match, with ABI value 5. + * elf/cache.c (print_entry): Match the Syllable ABI tag. - * po/lt.po: Update from translation team. +2006-01-04 Ulrich Drepper -2009-02-10 Ulrich Drepper + * include/stdlib.h: Make even more C++ compliant. - * elf/dl-load.c (open_verify): In case VALID_ELF_HEADER is - defined, allow additional data to be added using the optional - MORE_ELF_HEADER_DATA macro. - * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER, - VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Define. +2006-01-04 Joseph S. Myers -2009-02-08 Ulrich Drepper + * sysdeps/unix/sysv/linux/mips/brk.c (__brk): Use + __SYSCALL_CLOBBERS. - * include/atomic.h: Define catomic_and if not already defined. - * sysdeps/x86_64/bits/atomic.h: Define catomic_and. - * sysdeps/i386/i486/bits/atomic.h: Likewise. +2006-01-03 H.J. Lu -2009-02-07 Ulrich Drepper + * configure.in (HAVE_LIBAUDIT): Check + audit_log_user_avc_message instead of audit_log_avc. - * malloc/malloc.c (_int_free): Second argument is now mchunkptr. - Change all callers. - (_int_realloc): Likewise. Third argument is now padded size - All _int_* functions are now static. +2006-01-04 Joseph S. Myers - * malloc/hooks.c: Change all callers to _int_free and _int_realloc. - * malloc/arena.c: Likewise. - * include/malloc.h: Remove now unnecessary declarations of the _int_* - functions. + * sysdeps/ieee754/bits/nan.h: Fix typo. - * sunrpc/rpc_common.c: We cannot move _null_auth into .rodata that - easily. +2006-01-03 Jakub Jelinek - * malloc/malloc.c: Add branch prediction for use of the hooks. + * sysdeps/unix/sysv/linux/m68k/fchownat.c: Include string.h. - * grp/compat-initgroups.c [NOT_IN_libc] (__libc_use_alloca): Define. + * sysdeps/sparc/sparc32/dl-machine.h (LD_SO_PRELOAD): Remove unused + define. -2009-02-06 Ulrich Drepper + * sysdeps/sparc/sparc32/bits/atomic.h: Include stdint.h, add + {,u}atomic*_t typedefs. + (__sparc32_atomic_do_lock): Add __volatile and memory clobber. + (__sparc32_atomic_do_unlock): Add memory barrier. + (__sparc32_atomic_do_lock24, __sparc32_atomic_do_unlock24): Define. + [!SHARED] (__v9_compare_and_exchange_val_32_acq): Define. + (__v7_compare_and_exchange_val_acq, __v7_compare_and_exchange_bool_acq, + __v7_exchange_acq, __v7_exchange_and_add, __v7_exchange_24_rel, + __v7_compare_and_exchange_val_24_acq, __atomic_is_v9, + atomic_exchange_acq, atomic_compare_and_exchange_val_24_acq, + atomic_exchange_24_rel): Define. + [SHARED] (atomic_exchange_and_add): Define. + [!SHARED] (__ATOMIC_HWCAP_SPARC_V9): Define. + [!SHARED] (_dl_hwcap): New weak decl. + * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_exchange_24_rel, + atomic_compare_and_exchange_val_24_acq): Define. + * sysdeps/sparc/sparc64/bits/atomic.h (atomic_exchange_24_rel, + atomic_compare_and_exchange_val_24_acq): Define. - [BZ #7095] - * bits/confname.h: Add SUSv7 macros for getconf environments. - * bits/environments.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/environments.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/environments.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/environments.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/environments.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Likewise. - * posix/confstr.c: Handle SUSv5 and SUSv7 environments. - * posix/getconf.c: Likewise. - * posix/sysconf.c: Likewise. - * sysdeps/posix/sysconf.c: Likewise. - * posix/Makefile (getconf.speclist): Also collect SUSv5 and SUSv7 - environments. +2006-01-03 Ulrich Drepper -2009-01-16 Petr Baudis + lio_listio should emit an event for each individual request in + addition to the global event. + * sysdeps/pthread/lio_listio.c (lio_listio): Renamed to + lio_listio_internal. Remove mode parameter check. Only set sigevent + type to SIGEV_NONE if LIO_NO_INDIVIDUAL_EVENT is set. + (__lio_listio_21): New function. Compatiblity version which sets + LIO_NO_INDIVIDUAL_EVENT before calling lio_listio_internal. + (__lio_listio_item_notify): New function. + * sysdeps/pthread/lio_listio64.c: Define __lio_listio_21 and + __lio_listio_item_notify macros. + * sysdeps/pthread/Versions: New file. + * rt/tst-aio2.c: Adjust test for new semantics of lio_listio. + * include/aio.h: Define LIO_NO_INDIVIDUAL_EVENT. + * Versions.def: Add GLIBC_2.4 for librt. - [BZ #9753] - * resolv/res_libc.c (__res_maybe_init): Call __res_vinit() - even if we currently have zero nscount. + * rt/Versions: Whitespace fix. + * sysdeps/pthread/aio_misc.c: Likewise. -2009-02-06 Ulrich Drepper + * nscd/connections.c (nscd_init): Remove if block which should + have been removed as part of the -S option removal. - [BZ #9781] - * grp/compat-initgroups.c (compat_call): Switch to use malloc when - the input line is too long. +2006-01-03 Andreas Jaeger - * po/Makefile (libc.pot): Add f_print as function taking c-format - parameter. + * scripts/check-local-headers.sh: Allow $includedir/c++. - * debug/xtrace.sh: Unify translatable messages. - * elf/ldd.bash.in: Likewise. - * elf/sprof.c: Likewise. - * locale/programs/locale.c: Likewise. - * malloc/memusage.sh: Likewise. - * nss/getent.c: Likewise. +2006-01-03 Jakub Jelinek -2009-02-06 Joseph Myers + * posix/unistd.h (ctermid): Remove __nonnull attribute. - * debug/pcprofiledump.c (print_version, - argp_program_version_hook): New function. - * elf/ldconfig.c (more_help): New function. - (argp): Use it. - * elf/sln.c (usage): New function. - (main): Support --help and --version. - * malloc/memusagestat.c (print_version): New function. - (argp_program_version_hook): New variable. - * nscd/nscd.c (more_help): New function. - (argp): Use it. - * posix/getconf.c (main): Send --version output to stdout. - Support --help. - * sunrpc/rpc_main.c (usage, options_usage): Take STREAM and STATUS - arguments. All callers changed. - (print_version): New function. - (parseargs): Support --help and --version. - * sunrpc/rpcinfo.c (usage): Take STREAM argument. All callers - changed. - (print_version): New function. - (main): Use getopt_long. Support --help and --version. - * sysdeps/unix/sysv/linux/lddlibc4.c (main): Support --help and - --version. +2006-01-02 Jakub Jelinek -2009-02-06 Ulrich Drepper + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PTR_MANGLE, + PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Define. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (PTR_MANGLE, + PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Define. + * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h [__WORDSIZE == 64] + (_JMPBUF_UNWINDS): Don't demangle uc_mcontext.mc_fp. + * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Mangle %fp, %sp + and %o7. + * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Demangle %fp, %sp + and %o7. - * malloc/memusage.c (DEFAULT_BUFFER_SIZE): Change to 32768. - (update_data): Fix handling of wrapping back - to the beginning of the buffer. +2006-01-02 Jakub Jelinek - [BZ #9823] - * stdio-common/psignal.c (psignal): Fix test for empty string. - -2009-02-05 Ulrich Drepper - - * include/rpc/auth.h: Use libc_hidden_proto for _null_auth. - * sunrpc/rpc_common.c: Add libc_hidden_def for _null_auth. Also - move _null_auth to .rodata. - - * time/tzset.c (__tzset_parse_tz): DST offset must also allow hour - value of 24. - - * intl/dcigettext.c (DCIGETTEXT): Avoid some code duplication. - - * sysdeps/unix/opendir.c (__alloc_dir): We have a lot more memory - today than when the original code was written. Use larger - buffers. This also makes it unnecessary to have stat information, - if this causes extra efforts. - (__opendir): In case O_DIRECTORY works, don't call fstat just for - __alloc_dir. - -2009-02-03 Andrew Stubbs - - * sysdeps/sh/sh4/dl-trampoline.S: Only set HAVE_FPU if __SH_FPU_ANY__ - is set. - * sysdeps/sh/sh4/setjmp.S: Support SH4-NOFPU. - * sysdeps/sh/sh4/__longjmp.S: Likewise. - * sysdeps/unix/sysv/linux/sh/sh4/getcontext.S: Likewise. - * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S: Likewise. - * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S: Likewise. - * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise. - -2009-02-04 Ulrich Drepper - - * po/ru.po: Update from translation team. - -2008-11-17 Nathan Sidwell - - * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (struct sigevent): - Add _tid slot to maintain consistency with kernel. - -2009-02-04 Ulrich Drepper - - * libio/wfileops.c (_IO_wfile_underflow): Fix handling of - incomplete characters at end of input buffer. - * libio/Makefile (tests): Add tst-fgetwc. - * libio/tst-fgetwc.c: New file. - * libio/tst-fgetwc.input: New file. - -2009-02-02 Andrew Stubbs - - * sysdeps/unix/sysv/linux/sh/Makefile (libm.so-no-z-defs): Define. - -2009-02-02 Ulrich Drepper - - [BZ #9793] - * iconv/gconv_trans.c (__gconv_transliterate): Don't change - *OUTBUFSTART unless the whole output fit into the buffer. - * iconv/Makefile (tests): Add tst-iconv4. - * iconv/tst-iconv4.c: New file. - -2009-02-01 Ulrich Drepper - - * sysdeps/x86_64/cacheinfo.c (intel_02_known): Add new descriptors. - * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise. - -2009-01-29 Andrew Stubbs - - * elf/Makefile (ld.so): Adjust the sed script to insert _begin in to - newer linker scripts. - -2009-01-30 Ulrich Drepper - - [BZ #7040] - * sysdeps/unix/sysv/linux/sys/inotify.h: Second parameter of - inotify_rm_watch should have type int. - -2009-01-06 Steven Munroe - - * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): - Make aligned_restore_vmx a local symbol. - * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PTR_MANGLE2): + Define. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (PTR_MANGLE2): Likewise. + * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Demangle also %r15. + * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise. + * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Mangle also %r15. + * sysdeps/s390/s390-32/elf/setjmp.S (__sigsetjmp): Likewise. + * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp): Likewise. + * sysdeps/s390/s390-64/elf/setjmp.S (__sigsetjmp): Likewise. -2009-01-30 Andreas Jaeger + * sysdeps/s390/bits/setjmp.h (__jmp_buf): Add __s390_jmp_buf + struct tag to make C++ happy. - * sysdeps/unix/sysv/linux/bits/shm.h (SHM_EXEC): Define. - * sysdeps/unix/sysv/linux/ia64/bits/shm.h (SHM_EXEC): Define. - * sysdeps/unix/sysv/linux/powerpc/bits/shm.h (SHM_EXEC): Define. - * sysdeps/unix/sysv/linux/s390/bits/shm.h (SHM_EXEC): Define. - * sysdeps/unix/sysv/linux/sh/bits/shm.h (SHM_EXEC): Define. - * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHM_EXEC): Define. - * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (SHM_EXEC): Define. +2006-01-02 Ulrich Drepper -2009-01-11 Ryan S. Arnold + * posix/Makefile ($(objpfx)annexc.out): Move -I.. to the end of + the include list. - [BZ #9726] - * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_SET_DI_FPSCR, - _SET_SI_FPSCR): Clobber fp0 to prevent erroneous test-case passes. - -2009-01-08 Ryan S. Arnold - - [BZ #9726] - * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S - (__CONTEXT_FUNC_NAME): Fix mtfsf to use fp31 instead of fp0. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S - (__CONTEXT_FUNC_NAME): Fix mtfsf to use fp31 instead of fp0. - -2009-01-11 Thomas Schwinge - - * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Use - memcpy instead of memcmp. - (_dl_setup_pointer_guard): Likewise. - -2009-01-30 Ulrich Drepper - - * malloc/malloc.c (sYSMALLOc): Don't use assert when detecting - manipulated brk, use malloc_printerr. - * misc/sbrk.c (__sbrk): Better error handling for nonsense - requests. - -2009-01-30 Jakub Jelinek - - * string/string.h (memchr, strchr, strrchr, strpbrk, strstr, index, - rindex): For C++ add inlines so that they can be recognized as - builtins. - * string/strings.h: Define correct C++ prototypes for gcc 4.4. - -2009-01-29 Ulrich Drepper - Jakub Jelinek - - * string/string.h: Define correct C++ prototypes for gcc 4.4. - * wcsmbs/wchar.h: Likewise. - -2009-01-29 Ulrich Drepper - - * sysdeps/i386/stackinfo.h (stackinfo_get_sp): Define. - (stackinfo_sub_sp): Define. - -2009-01-28 Ulrich Drepper - - [BZ #9750] - * nscd/mem.c (gc): Use alloca_count to get the real stack usage. - * include/alloca.h (alloca_account): Define. - * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Define. - (stackinfo_sub_sp): Define. - - * nscd/connections.c (nscd_init): If database file access fails - check whether this is due to permission problems and bail in that - case. - - [BZ #9741] - * nscd/mem.c (gc): Fix assignment of he_data in case malloc is used. - Reported by Jun'ichi Nomura . - -2009-01-14 Kaz Kojima - - * sysdeps/unix/sysv/linux/sh/sysdep.h (INTERNAL_SYSCALL): - Add "t" to clobber list. - (INTERNAL_SYSCALL_NCS): Likewise. - -2009-01-28 Ulrich Drepper - - * nss/getent.c (print_networks): Don't print comma between aliases. - -2009-01-23 Ulrich Drepper - - * sysdeps/unix/sysv/linux/tst-clone.c (do_test): Avoid warning. - - * misc/hsearch_r.c (hcreate_r): We need at least three elements in - the hash table. - * misc/Makefile (tests): Add bug-hsearch1. - * misc/bug-hsearch1.c: New file. - -2009-01-22 Roland McGrath - - * Makeconfig (%.v.i): Strip trailing # comments, - not only whole-line comments. - -2009-01-10 Ulrich Drepper - - * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Take - one parameter. If non-NULL use it to initialize return value. - (_dl_setup_pointer_guard): New function. - * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise. - * sysdeps/generic/ldsodefs.h: Declare _dl_random. - * elf/rtld.c (security_init): Pass _dl_random to - _dl_setup_stack_chk_guard. Call _dl_setup_pointer_guard to initialize - pointer_chk_guard. - * elf/dl-sysdep.c (_dl_random): New variable. - (_dl_sysdep_start): Handle AT_RANDOM. - (_dl_show_auxv): Likewise. - * elf/dl-support.c (_dl_random): New variable. - (_dl_aux_init): Handle AT_RANDOM. - * csu/libc-start.c [!SHARED] (libc_start_main): Pass _dl_random - to _dl_setup_stack_chk_guard. - - * elf/elf.h (AT_RANDOM): Define AT_BASE_PLATFORM and AT_RANDOM. - -2009-01-10 Roland McGrath - - * nscd/nscd.c (parse_opt): Use argp_error for bad -i argument. - -2009-01-08 Ulrich Drepper - - * sysdeps/i386/fpu/libm-test-ulps: Adjust expm1 errors. - - [BZ #9706] - * nss/nss_files/files-parse.c (strtou32): New function. - (INT_FIELD): Use strotu32 instead of strtoul to unify behavior - across 32-bit and 64-bit platforms. - (INT_FIELD_MAYBE_NULL): Likewise. - -2009-01-08 Jakub Jelinek - - [BZ #9720] - * sysdeps/unix/sysv/linux/bits/resource.h (enum __rusage_who): Avoid - comma after RUSAGE_CHILDREN if not -D_GNU_SOURCE. - * sysdeps/unix/sysv/linux/sparc/bits/resource.h (enum __rusage_who): - Likewise. - -2009-01-05 Paolo Bonzini - - [BZ #697] - * posix/regexec.c (prune_impossible_nodes): Handle sifted_states[0] - being NULL also if there are no backreferences. - * posix/rxspencer/tests: Add testcases. - -2009-01-04 Paolo Bonzini - - [BZ #9697] - * posix/bug-regex17.c: Add testcases. - * posix/regcomp.c (re_compile_fastmap_iter): Rewrite COMPLEX_BRACKET - handling. - -2009-01-05 Martin Schwidefsky - - * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: New file. - * sysdeps/unix/sysv/linux/s390/gettimeofday.c: New file. - * sysdeps/unix/sysv/linux/s390/init-first.c: New file. - * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines): Add dl-vdso - for elf subdir. - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL, - INTERNAL_VSYSCALL, INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK, - INTERNAL_SYSCALL_NCS, HAVE_CLOCK_GETRES_VSYSCALL and - HAVE_CLOCK_GETTIME_VSYSCALL: Define. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/s390/Versions: New file. - -2008-12-31 Paolo Bonzini - - * posix/regcomp.c (re_compile_fastmap_iter): Use __mbrtowc. - * posix/regex_internal.c (build_wcs_buffer, build_wcs_upper_buffer, - re_string_skip_chars, re_string_reconstruct): Likewise. - * posix/regex_internal.h [!_LIBC] (__mbrtowc): New #define. - -2008-12-31 Rafael Avila de Espindola - - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Check and - adjust the buffer alignment. - -2009-01-07 Samuel Thibault - - * sysdeps/mach/hurd/Makefile (sysdep_headers) [subdir=socket]: - Add net/ethernet.h net/if_arp.h net/if_ether.h net/if_ppp.h - net/route.h. - - * hurd/report-wait.c (describe_number): Use __stpcpy to prepend - flavor to description only when flavor is not NULL. - - * hurd/hurdsig.c (signal_allowed): Unlock _hurd_dtable_lock - mutex after SIGIO/SIGURG lookup loop. - -2009-01-03 Samuel Thibault - - * bits/resource.h (PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Add macros. - -2009-01-03 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/sysdep.h: Describe 6th argument - handling. - -2009-01-02 Ulrich Drepper - - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_FUTEX_CLOCK_REALTIME): Define. - - * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Create temporary state object - if no output is written. - - * version.h: Bump to 2.10 development. +2006-01-01 Ulrich Drepper * posix/getconf.c: Update copyright year. * nss/getent.c: Likewise. @@ -5410,2023 +4278,4919 @@ d2009-10-30 Ulrich Drepper * malloc/mtrace.pl: Likewise. * debug/catchsegv.sh: Likewise. -2008-12-29 Mike Frysinger +2005-12-31 Andreas Jaeger - * iconvdata/Makefile (iconv-rules): Use LC_ALL=C when running awk - script. + [BZ #1395] + * manual/filesys.texi (Symbolic Links): Fix description of + canonicalize_file_name based on patch by Oskar Liljeblad + . -2008-12-29 Ulrich Drepper +2005-12-29 Andreas Jaeger - * sysdeps/posix/getaddrinfo.c (gaih_inet): When the - gethostbyname4_r function call succeeded, just leave the loop. + * resolv/res_debug.c (latlon2ul): Use ISO C function definition. + (precsize_aton): Likewise. + (precsize_ntoa): Likewise. - [BZ #9694] - * wcsmbs/wchar.h: Move undefs for local __need_* constants to the - very end. - * wctype/wctype.h: Get wint_t definition directly from . - * wctype/Makefile (tests): Add bug-wctypeh. - * wctype/bug-wctypeh.c: New file. + * resolv/gethnamaddr.c (_gethtbyname): Remove extra prototype. + (gethostbyname2): Likewise. + (gethostbyaddr): Likewise. + (getanswer): Use ISO C function definition. - * nscd/nscd_gethst_r.c (nscd_gethst_r): Don't use nscd if - LOCALDOMAIN is defined. - * nscd/nscd_getai.c (__nscd_getai): Likewise. +2005-12-29 Kaz Kojima - * sysdeps/x86_64/bits/select.h: New file. + * sysdeps/sh/sysdep.h: Add cfi instrumentation to asm fragments. + * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise. + * sysdeps/sh/_mcount.S: Add cfi instrumentation. + * sysdeps/unix/sh/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/sh/makecontext.S: Adjust cfi_startproc. + * sysdeps/unix/sysv/linux/sh/sh4/getcontext.S: Remove now duplicate + cfi_startproc and cfi_endproc. + * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S: Likewise. + * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise. + * sysdeps/unix/sysv/linux/sh/socket.S: Likewise. + * sysdeps/unix/sysv/linux/sh/sysdep.S: Add cfi_endproc. - * resolv/res_init.c (__res_vinit): Count all servers in statp->nscount. +2005-12-30 Ulrich Drepper -2008-12-21 Bruno Haible + * sysdeps/powerpc/powerpc64/setjmp-common.S: Make sure pointer guard + value doesn't survive in a registers when the function returns. + * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. + * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise. - [BZ #9677] - * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Create temporary state object - if no output is written. +2005-12-30 Jakub Jelinek -2008-12-13 Klaus Dittrich + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define + PTR_MANGLE2. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define + PTR_MANGLE2 and PTR_DEMANGLE2. + * sysdeps/powerpc/powerpc64/__longjmp-common.S: Use PTR_DEMANGLE2. + * sysdeps/powerpc/powerpc64/setjmp-common.S: Use PTR_MANGLE2. + * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. + * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise. - * login/utmp_file.c (pututline_file): Replace call to dup2 with - libc internal symbol __dup2 to avoid access through the PLT. +2005-12-30 Ulrich Drepper -2008-12-08 Ulrich Drepper + * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h (_JMPBUF_UNWINDS): + Don't use _demangle parameter for now. - [BZ #6545] - * sysdeps/unix/sysv/linux/bits/socket.h (SCM_CREDENTIALS): Make - available only for __USE_GNU. + [BZ #2080] + * libio/iogetwline.c (_IO_getwline_info): Move return to correct + location. - * inet/Makefile (tests): Add tst-getni2. - * inet/tst-getni2.c: New file. + * nscd/connections.c: Remove last remnants of -S option support. + * nscd/nscd.c: Likewise. + * nscd/nscd.h: Likewise. - [BZ #7080] - * inet/getnameinfo.c (getnameinfo): Check for output buffers being - NULL when NI_NAMEREQD is set. - Patch mostly by Yang Hongyang . - * inet/Makefile (tests): Add tst-getni1. - * inet/tst-getni1.c: New file. +2005-12-30 Andreas Jaeger -2008-12-03 Petr Baudis + [BZ #1067] + * sysdeps/unix/sysv/linux/mips/bits/socket.h: Fix struct msghdr + for 64-bit mips kernel. - [BZ #7067] - * nscd/connections.c (invalidate_cache): Use prune_run_lock - instead of prune_lock. - (nscd_run_prune): Before calling prune_cache, take prune_run_lock. - * nscd/nscd.h (database_dyn): Add prune_run_cache. +2005-12-08 Steven Munroe + Tom Gall -2008-12-07 Ulrich Drepper + * elf/rtld.c (dl_main): Initialize l_local_scope for sysinfo_map. + * sysdeps/powerpc/elf/libc-start.c: Move this... + * sysdeps/unix/sysv/linux/powerpc/libc-start.c: ...to here. + * sysdeps/powerpc/powerpc32/dl-start.S: Add _dl_main_dispatch label. + * sysdeps/powerpc/powerpc32/hp-timing.h: New file. + * sysdeps/unix/sysv/linux/powerpc/Versions: New file. + * sysdeps/unix/sysv/linux/clock_getres.c: If HAVE_CLOCK_GETRES_VSYSCALL + is not defined, redefine INTERNAL_VSYSCALL and INLINE_VSYSCALL to + INTERNAL_SYSCALL and INLINE_SYSCALL respectively. Otherwise include + . Use INLINE_VSYSCALL and INTERNAL_SYSCALL instead + of the normal versions throughout the code. + * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise if + HAVE_CLOCK_GETTIME_VSYSCALL is defined. + * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: New file. + * sysdeps/unix/sysv/linux/powerpc/dl-vdso.c: New file. + * sysdeps/unix/sysv/linux/powerpc/dl-vdso.h: New file. + * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use vDSO. + * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: New file. + * sysdeps/unix/sysv/linux/powerpc/Makefile: Add dl-vdso to routines. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define + INLINE_VSYSCALL, INTERNAL_VSYSCALL, INTERNAL_SYSCALL_NCS, + INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK, HAVE_CLOCK_GETRES_VSYSCALL, + and HAVE_CLOCK_GETTIME_VSYSCALL. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise. - * resolv/res_send.c (send_dg): Use correct guards for SOCK_CLOEXEC - use. +2005-12-29 Ulrich Drepper - * sysdeps/unix/sysv/linux/kernel-features.h: Fix typo in accept4 - handling. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h [ASSEMBLER]: + Define PTR_DEMANGLE2. + * sysdeps/powerpc/powerpc32/setjmp-common.S [PTR_MANGLE]: Also + mangle r1. + * sysdeps/powerpc/powerpc32/__longjmp-common.S [PTR_DEMANGLE]: Also + demangle r1. + * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [PTR_MANGLE]: Mangle + r0 and r1. + * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [PTR_DEMANGLE]: + Demangle r0 and r1. - * resolv/res_init.c (__res_vinit): Always assign to statp->nscount - after reading name server list. + * sysdeps/powerpc/powerpc64/setjmp-common.S [PTR_MANGLE]: Also + mangle r1. + * sysdeps/powerpc/powerpc64/__longjmp-common.S [PTR_DEMANGLE]: Also + demangle r1. - [BZ #7058] - * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname4_r): Fix memory - handling for host name aliases. +2005-12-26 Steven Munroe -2008-11-24 Arkadiusz Miƛkiewicz - - * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use LOAD_PIC_REG - instead of doing things manually. - -2008-11-26 Chris Steel - - * posix/regex_internal.h (build_wcs_upper_buffer): - Return type is reg_error_t. - -2008-12-05 Ulrich Drepper - - * posix/globtest.sh: Use mktemp to create temporary file and - directory. - - * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S): Handle large - sets correctly. - (__CPU_CLR_S): Likewise. - (__CPU_ISSET_S): Likewise. - -2008-12-05 Joseph Myers - Ulrich Drepper - - * scripts/firstversion.awk: Use custom comparison function to compare - version numbers. - * scripts/versions.awk: Use sort invocation which can handle - multi-digit sub-version numbers. - -2008-12-04 Ulrich Drepper - - * locale/programs/ld-address.c (DEFINE_LANGUAGE_CODE2): Define. - * locale/iso-639.def: Add Chhattisgarhi entry. - -2008-12-02 Ulrich Drepper - - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Recognize - ESRCH return value. - (_nss_dns_gethostbyname4_r): Likewise. - * resolv/res_init.c (__res_vinit): Initialize nscount to zero. - * sysdeps/posix/getaddrinfo.c (gaih_inet): In case we use - gethostbyname4_r, we don't have a separate IPv6 status, so copy - the no_data variable. - - * resolv/res_init.c (__res_vinit): Fill in IPv4 name server - information at the correct index. - - * socket/sys/socket.h: Declare accept4. - * socket/accept4.c: New file. - * sysdeps/unix/sysv/linux/accept4.c: New file. - * sysdeps/unix/sysv/linux/i386/accept4.S: New file. - * socket/Makefile (routines): Add accept4. - * socket/Versions: Export accept4 with version GLIBC_2.10. - * socket/paccept.c: Removed. - * sysdeps/unix/sysv/linux/paccept.c: Removed. - * sysdeps/unix/sysv/linux/i386/paccept.S: Removed. - * Versions.def: Define GLIBC_2.10 for libc. - * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_ACCEPT4. - - * nscd/connections.c: Use accept4. - - * sysdeps/unix/sysv/linux/i386/socket.S: Fix comment. - -2008-12-01 Ulrich Drepper - - * resolv/res_send.c (send_dg): Create sockets with non-blocking - flag already set. - - * stdlib/setenv.c (unsetenv): Don't search environment if it does - not exist. - * stdlib/Makefile (tests): Add tst-unsetenv1. - * stdlib/tst-unsetenv1.c: New file. - -2008-11-29 Ulrich Drepper - - * login/utmp_file.c (file_writable): New variable. - (setutent_file): Don't try to open file for writing. - (pututline_file): Before writing, make descriptor writable if - necessary. - -2008-11-26 Ulrich Drepper - - * sysdeps/posix/getaddrinfo.c (getaddrinfo): Only restrict search - to IPv4 or IPv6 if an interface has been found. - -2008-11-26 Roland McGrath - - * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Renamed to ... - * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: ... here. - - * sysdeps/unix/sysv/linux/alpha/wordexp.c: Renamed to ... - * sysdeps/unix/sysv/linux/ia64/wordexp.c: ... here. - * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: Change #include. - - * elf/elf.h (NT_386_IOPERM): New macro. - (NT_PPC_VSX): New macro. - -2008-11-25 Roland McGrath - - * sysdeps/alpha, sysdeps/unix/bsd/osf/alpha, - sysdeps/unix/bsd/Attic/osf1/alpha, sysdeps/unix/sysv/linux/alpha, - sysdeps/unix/sysv/linux/alpha/alpha, sysdeps/unix/alpha, - sysdeps/mach/alpha, sysdeps/mach/hurd/alpha: - Subdirectories moved to ports repository. - * configure.in (base_machine): Remove alpha case. - -2008-11-25 Thomas Schwinge - - * sysdeps/mach/strerror_l.c: New file. - -2008-11-13 Ryan S. Arnold - - [BZ #6411] - * sysdeps/powerpc/fpu/Makefile: Added test case tst-setcontext-fpscr. - * sysdeps/powerpc/fpu/feholdexcpt.c (_FPU_MASK_ALL): Define to replace - magic numbers. - * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_register): Dynamically - choose mtfsf insn based on PPC_FEATURE_HAS_DFP. - (relax_fenv_state): Same as above. - (FPSCR_29): Reserve bit in ISA 2.05. - (FPSCR_NI): Provide define for compat. - * sysdeps/powerpc/fpu/fesetenv.c (_FPU_MASK_ALL): Define to replace - magic numbers. - * sysdeps/powerpc/fpu/feupdateenv.c (_FPU_MASK_ALL): Define to replace - magic numbers. - * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: New file. Test case to - test setcontext and swapcontext with dynamic 64-bit FPSCR detection. - * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Adjust - access to hwcap to account for hwcap size increase to uint64_t. - * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S (__sigsetjmp ): - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S - (*setcontext): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/setcontext.S: + * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: + Move common function to... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/swapcontext.S: + * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: + Move common function to... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S - (*setcontext): dynamically select mtfsf insn based on - PPC_FEATURE_HAS_DFP. Adjust access to hwcap to account for hwcap size - increase to uint64_t. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S - (*swapcontext): dynamically select mtfsf insn based on - PPC_FEATURE_HAS_DFP. Adjust access to hwcap to account for hwcap size - increase to uint64_t. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/setcontext.S: + * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: + Move common function to... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/swapcontext.S: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S - (*setcontext): dynamically select mtfsf insn based on - PPC_FEATURE_HAS_DFP. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S - (*swapcontext): dynamically select mtfsf insn based on - PPC_FEATURE_HAS_DFP. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.sym + (_FRAME_BACKCHAIN, _FRAME_LR_SAVE, _FRAME_PARM_SAVE1, + _FRAME_PARM_SAVE2, _FRAME_PARM_SAVE3, _FRAME_PARM_SAVE4): + Remove unrelated stack frame defines. -2008-11-13 Ulrich Drepper +2005-12-29 Ulrich Drepper - * version.h: Bump for 2.9 release. - * include/features.h (__GLIBC_MINOR__): Bump to 9. + * stdio-common/tstdiomisc.c [FLT_EVAL_METHOD!=2] (dbl_max): + Defining as macro as before the last change. - [BZ #7029] - * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_ALLOC_SIZE): - Multiply with sizeof of __cpu_mask, not 8 unconditionally after - all the rounding. + * sysdeps/unix/sysv/linux/sigaction.c: If WRAPPER_INCLUDE is defined, + include the named file. + * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise. -2008-11-11 Ulrich Drepper +2005-12-29 Roland McGrath - [BZ #7009] - * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Don't abort for - unknown request types for now. + * sysdeps/mach/hurd/errno.c: New file. -2008-11-11 Roland McGrath + * sysdeps/mach/hurd/ioctl.c (__ioctl): Use a union to avoid a cast. - * sysdeps/x86_64/configure: New file. + * sysdeps/posix/libc_fatal.c (__libc_message): Add a const, a cast. - * configure.in: Add AC_SUBST(libc_cv_cpp_asm_debuginfo). + * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Fix cast. + * hurd/report-wait.c (_S_msg_report_wait): Likewise. + + * include/sys/xattr.h: New file. + +2005-12-28 Roland McGrath + + * hurd/sigunwind.c: Include . + * sysdeps/mach/hurd/jmp-unwind.c: Likewise. + +2005-12-28 Ulrich Drepper + + * nscd/selinux.c (log_callback): Use audit_log_user_avc_message. + Don't do anything if audit_fd is invalid. + (audit_init): Don't complain if kernel support is missing. + Patch by Steve Grubb . + + * sysdeps/i386/__longjmp.S [PTR_DEMANGLE]: Also demangle stack + pointer. Add CFI. + * sysdeps/i386/bsd-_setjmp.S [PTR_MANGLE]: Also mangle stack pointer. + * sysdeps/i386/bsd-setjmp.S: Likewise. + * sysdeps/i386/setjmp.S: Likewise. + + * sysdeps/x86_64/__longjmp.S: No need to make sure return value is + != 0, the caller did that. + +2005-12-27 Roland McGrath + + * sysdeps/x86_64/__longjmp.S: Don't confuse unwinder by loading + mangled values in %rbp and %rsp registers and by wrong cfi. + + * config.make.in (c++-sysincludes): New substituted variable. + * configure.in (CXX_SYSINCLUDES): New substituted variable. * configure: Regenerated. + * Makeconfig (CXXFLAGS): Prepend $(c++-sysincludes) here. -2008-11-03 Martin Schwidefsky + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h + (PTR_MANGLE): Fix cast. - * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_profile): Use the - correct instruction to remove the stack frame. + * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Take third argument + DEMANGLE, and pass SP value through it. + * sysdeps/hppa/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. + * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. + * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. + * sysdeps/mips/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. + * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. + * sysdeps/s390/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. + * sysdeps/sh/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. + * sysdeps/sparc/sparc32/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Likewise. + * sysdeps/x86_64/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. + * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Pass inline + demangler function to _JMPBUF_UNWINDS. + * sysdeps/mach/hurd/jmp-unwind.c (demangle_ptr): New function. + (_longjmp_unwind): Pass it to _JMPBUF_UNWINDS. -2008-11-03 Michael Matz + * posix/tst-execle1.c (do_test): Add a const. + * posix/tst-execle2.c (do_test): Likewise. - * sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_32_acq, - __arch_compare_and_exchange_val_64_acq): Add "memory" clobber. + * posix/transbug.c (run_test): Add some casts. + * posix/bug-regex22.c (main): Likewise. + * posix/bug-regex5.c (main): Likewise. + * wcsmbs/tst-mbsrtowcs.c (main): Likewise. + * string/test-strspn.c (do_test, do_random_tests): Likewise. + * string/test-strrchr.c (do_test, do_random_tests): Likewise. + * string/test-strlen.c (do_random_tests): Likewise. + * string/test-strpbrk.c (do_test, do_random_tests): Likewise. + * string/test-strcmp.c (do_random_tests): Likewise. + * string/test-strchr.c (do_test, do_random_tests): Likewise. + * string/test-strcat.c (do_test, do_random_tests): Likewise. + * string/test-strncpy.c (do_random_tests): Likewise. + * string/test-strcpy.c (do_test, do_random_tests): Likewise. + * string/test-memccpy.c (do_test): Likewise. + * string/test-memmove.c (do_test, do_random_tests): Likewise. + * string/test-memcpy.c (do_test, do_random_tests): Likewise. + * string/test-memcmp.c (do_test, do_random_tests): Likewise. + * string/test-memchr.c (do_test, do_random_tests): Likewise. + * dlfcn/bug-atexit1.c (do_test): Fix up prototype in cast. + * stdio-common/tst-fgets.c (do_test): Add a cast. + * iconvdata/bug-iconv4.c (xiconv): Add a cast. -2008-11-07 Jakub Jelinek + * locale/programs/simple-hash.c (insert_entry_2): Remove useless casts. - * include/stdio.h (__builtin_fwrite, __builtin_fwrite_unlocked): - Remove. + * resolv/herror.c (herror): Remove unused extern decl. - * bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, - __libc_tsd_get, __libc_tsd_set): Add TYPE argument, use it as the type - of the thread variable instead of void *. - * sysdeps/mach/hurd/bits/libc-tsd.h (__libc_tsd_define, - __libc_tsd_address, __libc_tsd_get, __libc_tsd_set): Likewise. - * include/ctype.h (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust - __libc_tsd_define arguments. - (__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): Adjust - __libc_tsd_address arguments. Remove union hack. - * include/rpc/rpc.h (RPC_VARS): Adjust __libc_tsd_define arguments. - * sunrpc/rpc_thread.c (RPC_VARS): Likewise. - (__rpc_thread_destroy, rpc_thread_multi, __rpc_thread_variables): - Adjust __libc_tsd_{set,get} arguments. - * ctype/ctype-info.c (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust - __libc_tsd_define arguments. - * locale/uselocale.c (__uselocale): Adjust __libc_tsd_{set,get} - arguments. - * locale/lc-ctype.c (_nl_postload_ctype): Likewise. - * locale/global-locale.c (__libc_tsd_LOCALE): Adjust type. - (LOCALE): Adjust __libc_tsd_define arguments. - * locale/localeinfo.h (_NL_CURRENT_LOCALE): Adjust __libc_tsd_get - arguments. - (LOCALE): Adjust __libc_tsd_define arguments. - * sysdeps/mach/hurd/malloc-machine.h (MALLOC): Adjust __libc_tsd_define - arguments. - (tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get} - arguments. + * libio/obprintf.c: Include "strfile.h". -2008-11-02 Ulrich Drepper + * elf/order2mod2.c (init): Cast ignored value to void. - * malloc/malloc.c (public_rEALLOc): When new arena is used, copy - really all bytes. Patch by Denys Vlasenko . +2005-12-27 Ulrich Drepper -2008-11-01 Ulrich Drepper + * elf/tst-tls13.c (do_test): Avoid using the library path when + looking for tst-tlsmod13a.so. - [BZ #6966] - * misc/hsearch_r.c (hsearch_r): Fix secondary hash function. + * stdio-common/tstdiomisc.c: If FLT_EVAL_METHOD is 2, use long + double math to generate NaN results. -2008-10-24 Joseph Myers - Ulrich Drepper + * sysdeps/unix/sysv/linux/sparc/bits/errno.h: Define EOWNERDEAD + and ENOTRECOVERABLE if not already defined. + * sysdeps/unix/sysv/linux/alpha/bits/errno.h: Likewise. - * math/tgmath.h (__floating_type): Use __builtin_classify_type in - definition for GCC 3.1 and later. +2005-12-27 Jakub Jelinek -2008-10-31 Jakub Jelinek + * sysdeps/unix/sysv/linux/alpha/Versions: Add new errlist-compat + entry for up to 138 errnos. - * elf/dl-tls.c (__tls_get_addr): After calling _dl_update_slotinfo - refetch dtv, as it might have changed. - * elf/Makefile: Add rules to build and run tst-tls18. - * elf/tst-tls18.c: New test. - * elf/tst-tlsmod18a.c: New file. +2005-12-27 Jakub Jelinek -2008-09-09 Aurelien Jarno + * iconv/gconv_trans.c (__gconv_transliterate): Demangle step __fct + before calling it. - [BZ #6875] - * iconvdata/gconv-modules: Add LATIN9 as an alias to ISO-8859-15. +2005-12-27 David S. Miller -2008-10-31 Ulrich Drepper + * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist-compat + entry for up to 134 errnos. - [BZ #6867] - * sysdeps/powerpc/elf/rtld-global-offsets.sym: Fix typo. +2005-12-26 Ulrich Drepper - [BZ #6919] - * posix/spawnattr_getschedparam.c (posix_spawnattr_getschedparam): - Fix length of copy operation. + * Versions.def: Add GLIBC_2.4 for libpthread. -2008-10-02 Pierre Habouzit +2005-12-25 Ulrich Drepper - * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Use the eventfd2 syscall - and fix its calling convention. + * stdlib/Makefile ($(objpfx)isomac.out): Move -I.. to the end so + that $(..)/bits is not found early. -2008-10-07 Andreas Schwab +2005-12-24 Ulrich Drepper - [BZ #6942] - * resolv/res_send.c (send_vc): Fix last change. - (send_dg): Align here as well. + * manual/errno.texi: Add new Linux errno codes. + * sysdeps/unix/sysv/linux/Versions: Add new errlist-compat entry + for up to 132 errnos. + * sysdeps/unix/sysv/linux/bits/errno.h: Define EOWNERDEAD and + ENOTRECOVERABLE if not already defined. -2008-10-31 Ulrich Drepper +2005-12-23 Ulrich Drepper - * sysdeps/unix/sysv/linux/ulimit.c (__ulimit): Handle UL_GETFSIZE - return value in case rlimit is RLIM_INFINITY. + [BZ #1566] + * sysdeps/i386/i586/memusage.h: New file. + * sysdeps/i386/memusage.h: Don't define GETTIME. - [BZ #6947] - * sysdeps/unix/sysv/linux/ulimit.c (__ulimit): Fix return value - for UL_SETFSIZE. - * resource/Makefile (tests): Add bug-ulimit1. - * resource/bug-ulimit1.c: New file. +2005-12-22 Ulrich Drepper - [BZ #6974] - * sunrpc/rpc_main.c (mkfile_output): Properly handle filename - without dot. Properly terminate the string with a null byte. - Based on a patch by Aurelien Jarno . + [BZ #1499] + * misc/syslog.c (SyslogAddr): Use sockaddr_un instead of sockaddr. + (openlog_internal): Adjust for this change. - [BZ #6980] - * debug/getgroups_chk.c (__getgroups_chk): Return EINVAL error for - negative sizees. - * posix/bits/unistd.h (getgroups): Call __getgroups_chk for - negative __size. + * Makeconfig: Define CXXFLAGS. Split out warnings from +gccwarn which + are not understood by the C++ compiler. + * Makerules: Add rules to build C++ code for test cases. + * include/stdlib.h: Protect for inclusion in C++ code. + * include/time.h: Likewise. - [BZ #6995] - * sysdeps/powerpc/powerpc32/dl-machine.c: Fix typo in message. +2005-12-22 Roland McGrath -2008-10-30 Ulrich Drepper + * Makerules [gen-as-const-headers] (tests): Add one test per .sym + file, not just one. + ($(objpfx)test-as-const.c): Target replaced with ... + ($(objpfx)test-as-const-%.c): ... this pattern rule. + (generated): Add those files. - * grp/initgroups.c (internal_getgrouplist): Don't prematurely - abort if there is no initgroups_dyn function. +2005-12-22 Ulrich Drepper - * resolv/res_send.c (send_dg): On timeout, only return nonzero - result if any of the queries really provided an answer. + * test-skeleton.c (timeout_handler): Rewrite ts initialization for + C++ compatibility. -2008-10-28 Ulrich Drepper + * sysdeps/x86_64/__longjmp.S: Also protect SP and BP. + * sysdeps/x86_64/setjmp.S: Likewise. - * po/lt.po: Update from translation team. +2005-12-21 Roland McGrath -2008-10-26 Ulrich Drepper + * sysdeps/unix/sysv/linux/i386/ucontext_i.h: File removed. + * sysdeps/unix/sysv/linux/i386/ucontext_i.sym: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h: File removed. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.sym: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h: File removed. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym: New file. + * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: File removed. + * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: File removed. + * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: New file. + * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.h: File removed. + * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: New file. + * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.h: File removed. + * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: New file. + * sysdeps/unix/sysv/linux/x86_64/ucontext_i.h: File removed. + * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym: New file. + * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = stdlib]: + (gen-as-const-headers): Add it. + * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise. + * sysdeps/unix/sysv/linux/sh/Makefile: Likewise. + * sysdeps/unix/sysv/linux/s390/Makefile: Likewise. + * sysdeps/unix/sysv/linux/x86_64/Makefile: Likewise. + * stdlib/tst-ucontext-off.c: File removed. + * stdlib/Makefile (tests): Remove it. - * po/id.po: Update from translation team. + * scripts/gen-as-const.awk: Support generating a test program. + * Makerules [gen-as-const-headers] (tests): Add test-as-const. + [gen-as-const-headers] ($(objpfx)test-as-const.c): New target. -2008-10-24 Ulrich Drepper + * sysdeps/generic/bits: Subdirectory and all files moved to ... + * bits: ... here, new subdirectory. + * Makeconfig (+includes): Reordered includes to put build and sysdeps + dirs first after $(..)include, $(sysincludes) last. - * resolv/res_query.c (__libc_res_nquery): Add a few casts. - Fix tests for existence of second reply. + [BZ #2066] + * intl/l10nflist.c (_nl_make_l10nflist): Free ABS_FILENAME when later + malloc fails. -2008-10-23 Ulrich Drepper +2005-12-21 Jakub Jelinek - * po/id.po: New file. - Contributed by the Indonesian translation team. + * sysdeps/powerpc/fpu/libm-test-ulps: Update for GCC 4.1 prerelease. -2008-10-22 Dmitry V. Levin +2005-12-21 Roland McGrath - * misc/syslog.c (openlog_internal): Fix __have_sock_cloexec - initialization. + * sysdeps/mach/hurd/ifreq.c: Add missing #includes. -2008-10-17 Jakub Jelinek + * elf/cache.c: Use <> rather than "" #includes. + * elf/chroot_canon.c: Likewise. + * elf/dl-lookup.c: Likewise. + * elf/ldconfig.c: Likewise. + * elf/readlib.c: Likewise. + * elf/rtld.c: Likewise. + * gmon/mcount.c: Likewise. + * hurd/hurdfault.c: Likewise. + * hurd/hurdsig.c: Likewise. + * hurd/report-wait.c: Likewise. + * hurd/sigunwind.c: Likewise. + * mach/setup-thread.c: Likewise. + * rt/aio_read64.c: Likewise. + * rt/aio_sigqueue.c: Likewise. + * rt/aio_write64.c: Likewise. + * soft-fp/soft-fp.h: Likewise. + * stdio-common/tmpfile64.c: Likewise. + * sysdeps/mach/hurd/fork.c: Likewise. + * sysdeps/mach/hurd/hppa/trampoline.c: Likewise. + * sysdeps/mach/hurd/i386/trampoline.c: Likewise. + * sysdeps/mach/hurd/mips/trampoline.c: Likewise. + * sysdeps/mach/hurd/powerpc/trampoline.c: Likewise. + * sysdeps/posix/sprofil.c: Likewise. + * sysdeps/pthread/aio_cancel.c: Likewise. + * sysdeps/pthread/aio_fsync.c: Likewise. + * sysdeps/pthread/aio_read64.c: Likewise. + * sysdeps/pthread/aio_read.c: Likewise. + * sysdeps/pthread/aio_suspend.c: Likewise. + * sysdeps/pthread/aio_write64.c: Likewise. + * sysdeps/pthread/aio_write.c: Likewise. + * sysdeps/pthread/lio_listio64.c: Likewise. + * sysdeps/pthread/lio_listio.c: Likewise. + * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise. + * sysdeps/unix/sysv/tcflow.c: Likewise. - * elf/Makefile: Add rules to build and run tst-tls17. - * elf/tst-tls17.c: New test. - * elf/tst-tlsmod17a.c: New file. - * elf/tst-tlsmod17b.c: Likewise. + * sysdeps/generic/unwind-dw2.c (extract_cie_info): Add a cast. -2008-10-17 Ulrich Drepper + * elf/dl-error.c (_dl_signal_error): Use .__jmpbuf in __longjmp call. - * stdlib/divmod_1.c: Use correct type for dummy variable. - * stdlib/mod_1.c: Likewise. + * csu/dso_handle.c (__dso_handle): Add const to pointer type too. -2008-10-16 Ulrich Drepper +2005-12-21 Ulrich Drepper - * elf/dl-tls.c (_dl_update_slotinfo): Copy all of the initial DTV. + * iconv/gconv_conf.c: Initialize empty_path_elem. -2008-10-16 Jakub Jelinek + * sysdeps/ieee754/dbl-64/halfulp.c: Mark tab54 as static and const. + * sysdeps/i386/fpu/e_expl.c: Mark c0 and c1 as const. + * sysdeps/ieee754/flt-32/s_expm1f.c: Make sure huge and tiny end + up in .rodata. + * sysdeps/ieee754/flt-32/e_exp2f.c: Make sure TWO127 and TWOM100 + end up in .rodata. + * sysdeps/ieee754/flt-32/e_expf.c: Likewise. + * sysdeps/ieee754/dbl-64/e_exp2.c: Make sure TWO1023 and TWOM1000 + end up in .rodata. - * sysdeps/unix/sysv/linux/sys/signalfd.h (signalfd): Fix __THROW vs. - __nonnull order for C++. - * sysdeps/unix/sysv/linux/alpha/sys/signalfd.h (signalfd): Likewise. - * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h (signalfd): Likewise. +2005-12-21 Thorsten Kukuk -2008-10-01 Daniel Jacobowitz + * elf/readlib.c: Fix include of readelflib.c. + +2005-12-21 Ulrich Drepper + + [BZ #1962] + * io/fts.c (fts_open): Change type of len to size_t. + (fts_build): Remove cast in call to fts_alloc. + (fts_alloc): Change third parameter's type to size_t. + + [BZ #1960] + * io/fts.c (fts_open): Avoid function call in MAX macro use. + +2005-12-20 Ulrich Drepper + + * locale/xlocale.c (_nl_C_locobj): Mark as const. + * include/locale.h: Define _nl_C_locobj_ptr. + * iconv/gconv_charset.h: Use _nl_C_locobj_ptr instead of using pointer + to _nl_C_locobj because we also need a cast. + * iconv/gconv_conf.c: Likewise. + * iconv/gconv_int.h: Likewise. + * iconv/gconv_open.c: Likewise. + * locale/duplocale.c: Likewise. + * locale/freelocale.c: Likewise. + * locale/newlocale.c: Likewise. + * misc/syslog.c: Likewise. + * stdlib/strtod_l.c: Likewise. + * sysdeps/unix/sysv/linux/getloadavg.c: Likewise. + + * csu/dso_handle.c (__dso_handle): Mark as const. + + * intl/plural-exp.c (GERMANIC_PLURAL): Mark as const. + * intl/plural-exp.h: Adjust declaration of + __gettext_germanic_plural. + + * resolv/herror.c (h_errlist): Mark as const. + (h_nerr): Likewise. + +2005-12-15 Thomas Schwinge + + [BZ #2061] + * sysdeps/mach/hurd/xmknod.c (__xmknod): Handle S_IFREG. + +2005-12-20 Roland McGrath + + * sysdeps/unix/sysv/linux/ifreq.h: File removed. + * sysdeps/unix/sysv/linux/ifreq.c: #include "kernel-features.h" here. + + * sysdeps/mach/hurd/ifreq.h: File removed. + (__ifreq): Function moved to ... + * sysdeps/mach/hurd/ifreq.c: ... here, new file. + +2005-12-20 Ulrich Drepper + + * sunrpc/clnt_unix.c (unix_ops): Mark as const. + * sunrpc/auth_des.c (authdes_ops): Likewise. + * sunrpc/svc_raw.c (server_ops): Likewise. + * sunrpc/clnt_udp.c (udp_ops): Likewise. + * sunrpc/clnt_tcp.c (tcp_ops): Likewise. + * sunrpc/clnt_raw.c (client_ops): Likewise. + * sunrpc/auth_unix.c (auth_unix_ops): Likewise. + * sunrpc/auth_none.c (ops): Likewise. + + * nss/nsswitch.c (databases): Mark as const. Change name field + into array. + * nss/databases.def: Add warning. + + * resolv/res_hconf.c (arg_service_list): Reduce size of svcs and + mark const. + (cmd): Mark as const. + (parse_line): Mark c as pointer to const. + + * misc/getusershell.c (initshells): Remove unnecessary tests. + (endusershell): Likewise. + (okshells): Mark as const. + + * sysdeps/posix/gai_strerror.c: Complete rewrite. Avoid relocations. + * sysdeps/posix/gai_strerror-strs.h: New file. + * sysdeps/posix/Dist: New file. + + * sysdeps/posix/getaddrinfo.c (gaih): Mark as const. + * locale/loadlocale.c (_nl_value_types): Likewise. + * iconv/gconv_conf.c (builtin_aliases): Likewise. + * iconv/gconv_open.c (internal_trans_names): Likewise. + +2005-12-19 Kaz Kojima + + * sysdeps/unix/sysv/linux/sh/sysdep.h: Include tls.h. + (PTR_MANGLE, PTR_DEMANGLE): Define. + (SYSCALL_ERROR_HANDLER): Fix typo. + * sysdeps/sh/sh4/__longjmp.S: Use PTR_DEMANGLE if defined. + * sysdeps/sh/sh3/__longjmp.S: Likewise. + * sysdeps/sh/sh4/setjmp.S: Use PTR_MANGLE if defined. + * sysdeps/sh/sh3/setjmp.S: Likewise. + +2005-12-20 Jakub Jelinek + + * sysdeps/ia64/fpu/libm-test-ulps: Update for GCC 4.1 prerelease. + + * sysdeps/unix/sysv/linux/time.c: If __NR_time is not defined, + use sysdeps/unix/time.c implementation. + +2005-12-19 Ulrich Drepper + + [BZ #1955] + * timezone/zic.c (tofile;): Fix typo in symlink creation. + Patch by Phil Estes . + + [BZ #1952] + * sysdeps/unix/sysv/linux/time.c: New file. + * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove time entry. + +2005-12-15 Thomas Schwinge + + * io/xmknodat.c: Include . + * misc/futimesat.c: Remove weak_alias and correct stub_warning. + * stdio-common/renameat.c (renameat): Fix typo. + +2005-12-16 Thorsten Kukuk + + [BZ #1978] + * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags): + Map more filesystem types to a string. + * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add SYSFS_MAGIC. + +2005-12-19 Jakub Jelinek + + * locale/Makefile (programs/%-kw.h): Run $(GPERF) inside of the + programs subdirectory. + + * sysdeps/powerpc/powerpc32/__longjmp-common.S (__longjmp): Use + PTR_DEMANGLE for PC if defined. + * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): + Likewise. + * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Likewise. + * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Xor %r14 with + THREAD_GET_POINTER_GUARD () if PTR_DEMANGLE is defined. + * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise. + * sysdeps/powerpc/powerpc32/setjmp-common.S (__sigsetjmp): Use + PTR_MANGLE for PC if defined. + * sysdeps/powerpc/powerpc64/setjmp-common.S (__sigsetjmp): Likewise. + * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise. + Avoid call to __sigjmp_save if IS_IN_rtld. + * sysdeps/s390/s390-32/elf/setjmp.S (__sigsetjmp): Likewise. + * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp): Likewise. + * sysdeps/s390/s390-64/elf/setjmp.S (__sigsetjmp): Likewise. + * sysdeps/unix/sysv/linux/ia64/setjmp.S (__sigsetjmp): Likewise. + * sysdeps/unix/sysv/linux/ia64/sysdep.h (PTR_MANGLE, PTR_DEMANGLE): + Define. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Include tls.h. + (PTR_MANGLE, PTR_DEMANGLE): Define. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Include tls.h + (PTR_MANGLE, PTR_DEMANGLE): Define. + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Include tls.h. + (PTR_MANGLE, PTR_DEMANGLE): Define. + (SYSCALL_ERROR_HANDLER): Add missing semicolons. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Include tls.h. + (PTR_MANGLE, PTR_DEMANGLE): Define. + * sysdeps/unix/sysv/linux/s390/s390-64/socket.S (__socket): Add + SYSCALL_ERROR_HANDLER. + +2005-12-19 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Handle NO_WEAK_ALIAS. + * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise. + Patch by Clint Adams. + +2005-12-16 Martin Schwidefsky + + * sysdeps/unix/sysv/linux/s390/sys/user.h: Copy struct user and + dependent definitions from the kernel header to sys/user.h and + remove the #include of asm/user.h. + +2005-12-19 Ulrich Drepper + + * sysdeps/gnu/Makefile: Make sure the correct errlist.c file is + used when generating errlist-compat.c. + +2005-12-18 Ulrich Drepper + + * iconv/gconv.c: Demangle pointers before use if necessary. + * iconv/gconv_cache.c: Likewise. + * iconv/skeleton.c: Likewise. + * libio/iofwide.c: Likewise. + * wcsmbs/btowc.c: Likewise. + * wcsmbs/mbrtowc.c: Likewise. + * wcsmbs/mbsnrtowcs.c: Likewise. + * wcsmbs/mbsrtowcs_l.c: Likewise. + * wcsmbs/wcrtomb.c: Likewise. + * wcsmbs/wcsnrtombs.c: Likewise. + * wcsmbs/wcsrtombs.c: Likewise. + * wcsmbs/wctob.c: Likewise. + * iconv_gconv_db.c: Likewise. After init functions returns mangle + btowc pointer if necessary. + * iconv/gconv_dl.c: Mangle function pointers retrieved from dlsym. + + * iconv/gconv_builtin.c (builtin_map): Change type of size + information fields to int8_t. + + * libio/iofwide.c (__libio_codecvt): Mark as const. + (__libio_translit): Likewise. + * libio/libioP.h (__libio_codecvt): Adjust declaraction. + + * wcsmbs/wcsmbsload.c (to_wc): Mark as const. + (to_mb): Likewise. + +2005-12-18 Richard Henderson + + * sysdeps/alpha/libc-tls.c: Fix directory on include of base file. + +2005-12-18 Ulrich Drepper + + * iconv/gconv_builtin.c: Mark map with attribute_relro. + + * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Define C + version for inside ld.so. + + * elf/rtld.c (dl_main): Don't use hp timing code unless it's available. + + * sysdeps/powerpc/powerpc32/setjmp-common.S [IS_IN_rtld]: Avoid + call to __sigjmp_save. + * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise. + + * stdlib/cxa_atexit.c: Use PTR_MANGLE on function pointer. Fill in + flavor field last and protect with memory barrier. + * stdlib/on_exit.c: Likewise. + * stdlib/cxa_finalize.c: Use PTR_DEMANGLE on function pointer before + using it. + * stdlib/exit.c: Likewise. + + * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PTR_MANGLE and + PTR_DEMANGLE for C code in libc. + * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. + +2005-12-17 Ulrich Drepper + + * elf/Versions [GLIBC_PRIVATE]: Export __pointer_chk_guard if defined. + * elf/rtld.c: Define __pointer_chk_guard_local and if necessary + __pointer_chk_guard. + (_rtld_global_ro): Initialize _dl_pointer_guard. + (dl_main): Initialize __pointer_chk_guard_local and either + __pointer_chk_guard or TLS value if necessary. + (process_envvars): Recognize and handle LD_POINTER_GUARD. + * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_pointer_guard. + * sysdeps/i386/__longjmp.S: Use PTR_DEMANGLE for PC if defined. + * sysdeps/x86_64/__longjmp.S: Likewise. + * sysdeps/i386/bsd-_setjmp.S: Use PTR_MANGLE for PC if defined. + * sysdeps/i386/bsd-_setjmp.S: Likewise. + * sysdeps/i386/setjmp.S: Likewise. + [IS_IN_rtld]: Avoid call to __sigjmp_save. + * sysdeps/i386/setjmp.S: Likewise. + * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PTR_MANGLE and + PTR_DEMANGLE. + * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. + + * sysdeps/i386/elf/setjmp.S: Removed. + * sysdeps/i386/elf/bsd-setjmp.S: Removed. + + * elf/dl-error.c (_dl_catch_error): Use __sigsetgjmp instead of + setjmp. + * elf/dl-error.c (_dl_signal_error): Use __longjmp instead of longjmp. + * elf/dl-minimal.c (longjmp): Remove definition. + + * sysdeps/x86_64/bsd-setjmp.S [PIC] (setjmp): Add missing jmp. + +2005-12-14 Thorsten Kukuk + + * nscd/Makefile: Don't build nscd_nischeck. + * nscd/nscd_nischeck.c: Removed. + +2005-12-15 Ulrich Drepper + + * sysdeps/unix/sysv/linux/renameat.c: Move errno setting code in + separate function __atfct_seterrno_2. + * include/fcntl.h: Declare __atfct_seterrno_2. + * posix/unistd.h: Declare linkat, symlinkat, readlinkat. + * io/Makefile (routines): Add linkat, symlinkat, readlinkat. + * io/Versions [GLIBC_2.4]: Export linkat, symlinkat, readlinkat. + * io/linkat.c: New file. + * io/readlinkat.c: New file. + * io/symlinkat.c: New file. + * sysdeps/unix/sysv/linux/linkat.c: New file. + * sysdeps/unix/sysv/linux/readlinkat.c: New file. + * sysdeps/unix/sysv/linux/symlinkat.c: New file. + +2005-12-15 Roland McGrath + + [BZ #1997] + * manual/stdio.texi (String Streams): For open_memstream, elaborate a + little on malloc reference. + + * sysdeps/alpha/fpu/s_cacosf.c: Don't use sysdeps/generic/. + * sysdeps/alpha/fpu/s_cacoshf.c: Likewise. + * sysdeps/alpha/fpu/s_casinf.c: Likewise. + * sysdeps/alpha/fpu/s_casinhf.c: Likewise. + * sysdeps/alpha/fpu/s_catanf.c: Likewise. + * sysdeps/alpha/fpu/s_catanhf.c: Likewise. + * sysdeps/alpha/fpu/s_ccosf.c: Likewise. + * sysdeps/alpha/fpu/s_ccoshf.c: Likewise. + * sysdeps/alpha/fpu/s_cexpf.c: Likewise. + * sysdeps/alpha/fpu/s_clog10f.c: Likewise. + * sysdeps/alpha/fpu/s_clogf.c: Likewise. + * sysdeps/alpha/fpu/s_cpowf.c: Likewise. + * sysdeps/alpha/fpu/s_cprojf.c: Likewise. + * sysdeps/alpha/fpu/s_csinf.c: Likewise. + * sysdeps/alpha/fpu/s_csinhf.c: Likewise. + * sysdeps/alpha/fpu/s_csqrtf.c: Likewise. + * sysdeps/alpha/fpu/s_ctanf.c: Likewise. + * sysdeps/alpha/fpu/s_ctanhf.c: Likewise. + * sysdeps/alpha/libc-tls.c: Likewise. + * sysdeps/gnu/glob64.c: Likewise. + * sysdeps/gnu/updwtmp.c: Likewise. + * sysdeps/gnu/utmp_file.c: Likewise. + * sysdeps/i386/bzero.c: Likewise. + * sysdeps/i386/ffs.c: Likewise. + * sysdeps/i386/i686/ffs.c: Likewise. + * sysdeps/i386/memset.c: Likewise. + * sysdeps/ia64/fpu/printf_fphex.c: Likewise. + * sysdeps/ia64/libc-tls.c: Likewise. + * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise. + * sysdeps/m68k/ffs.c: Likewise. + * sysdeps/mach/hurd/getdents.c: Likewise. + * sysdeps/mach/hurd/init-posix.c: Likewise. + * sysdeps/mach/msync.c: Likewise. + * sysdeps/mips/libc-tls.c: Likewise. + * sysdeps/posix/profil.c: Likewise. + * sysdeps/posix/shm_open.c: Likewise. + * sysdeps/posix/shm_unlink.c: Likewise. + * sysdeps/posix/sprofil.c: Likewise. + * sysdeps/powerpc/ffs.c: Likewise. + * sysdeps/rs6000/ffs.c: Likewise. + * sysdeps/s390/libc-tls.c: Likewise. + * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/wordexp.c: Likewise. + * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise. + * sysdeps/unix/sysv/linux/gai_sigqueue.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise. + * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise. + * sysdeps/unix/sysv/linux/i386/readelflib.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. + * sysdeps/unix/sysv/linux/ia64/readelflib.c: Likewise. + * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/readelflib.c: Likewise. + * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise. + * sysdeps/unix/sysv/linux/mq_close.c: Likewise. + * sysdeps/unix/sysv/linux/mq_getattr.c: Likewise. + * sysdeps/unix/sysv/linux/mq_notify.c: Likewise. + * sysdeps/unix/sysv/linux/mq_open.c: Likewise. + * sysdeps/unix/sysv/linux/mq_receive.c: Likewise. + * sysdeps/unix/sysv/linux/mq_send.c: Likewise. + * sysdeps/unix/sysv/linux/mq_unlink.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/readelflib.c: Likewise. + * sysdeps/unix/sysv/linux/s390/readelflib.c: Likewise. + * sysdeps/unix/sysv/linux/sched_getaffinity.c: Likewise. + * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise. + * sysdeps/unix/sysv/linux/sigqueue.c: Likewise. + * sysdeps/unix/sysv/linux/sigstack.c: Likewise. + * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise. + * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/readelflib.c: Likewise. + * sysdeps/unix/sysv/linux/truncate64.c: Likewise. + * sysdeps/unix/sysv/linux/vfork.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Likewise. + + * sysdeps/unix/sysv/linux/Makefile (inhibit-siglist): Removed. + +2005-12-13 Ulrich Drepper + + * locale/programs/charmap-kw.h: Regenerated with new gperf. + * locale/programs/locfile-kw.h: Likewise. + + * Makeconfig (+includes): Look in current directory late. + * Makerules: Add rules from rules before the rules for the current + directory. + * sysdeps/generic/__longjmp.c: Moved to... + * setjmp/__longjmp.c: ...here. + * sysdeps/generic/_exit.c: Moved to... + * posix/_exit.c: ...here. + * sysdeps/generic/_strerror.c: Moved to... + * string/_strerror.c: ...here. + * sysdeps/generic/abort.c: Moved to... + * stdlib/abort.c: ...here. + * sysdeps/generic/accept.c: Moved to... + * socket/accept.c: ...here. + * sysdeps/generic/access.c: Moved to... + * io/access.c: ...here. + * sysdeps/generic/acct.c: Moved to... + * misc/acct.c: ...here. + * sysdeps/generic/add_n.c: Moved to... + * stdlib/add_n.c: ...here. + * sysdeps/generic/addmul_1.c: Moved to... + * stdlib/addmul_1.c: ...here. + * sysdeps/generic/adjtime.c: Moved to... + * time/adjtime.c: ...here. + * sysdeps/generic/aio_cancel.c: Moved to... + * rt/aio_cancel.c: ...here. + * sysdeps/generic/aio_fsync.c: Moved to... + * rt/aio_fsync.c: ...here. + * sysdeps/generic/aio_misc.c: Moved to... + * rt/aio_misc.c: ...here. + * sysdeps/generic/aio_notify.c: Moved to... + * rt/aio_notify.c: ...here. + * sysdeps/generic/aio_read.c: Moved to... + * rt/aio_read.c: ...here. + * sysdeps/generic/aio_read64.c: Moved to... + * rt/aio_read64.c: ...here. + * sysdeps/generic/aio_sigqueue.c: Moved to... + * rt/aio_sigqueue.c: ...here. + * sysdeps/generic/aio_suspend.c: Moved to... + * rt/aio_suspend.c: ...here. + * sysdeps/generic/aio_write.c: Moved to... + * rt/aio_write.c: ...here. + * sysdeps/generic/aio_write64.c: Moved to... + * rt/aio_write64.c: ...here. + * sysdeps/generic/alarm.c: Moved to... + * posix/alarm.c: ...here. + * sysdeps/generic/allocrtsig.c: Moved to... + * signal/allocrtsig.c: ...here. + * sysdeps/generic/alphasort64.c: Moved to... + * dirent/alphasort64.c: ...here. + * sysdeps/generic/backtrace.c: Moved to... + * debug/backtrace.c: ...here. + * sysdeps/generic/backtracesyms.c: Moved to... + * debug/backtracesyms.c: ...here. + * sysdeps/generic/backtracesymsfd.c: Moved to... + * debug/backtracesymsfd.c: ...here. + * sysdeps/generic/bb_init_func.c: Moved to... + * gmon/bb_init_func.c: ...here. + * sysdeps/generic/bcopy.c: Moved to... + * string/bcopy.c: ...here. + * sysdeps/generic/bind.c: Moved to... + * socket/bind.c: ...here. + * sysdeps/generic/brdinit.c: Moved to... + * bare/brdinit.c: ...here. + * sysdeps/generic/brk.c: Moved to... + * misc/brk.c: ...here. + * sysdeps/generic/bsd-_setjmp.c: Moved to... + * setjmp/bsd-_setjmp.c: ...here. + * sysdeps/generic/bsd-setjmp.c: Moved to... + * setjmp/bsd-setjmp.c: ...here. + * sysdeps/generic/bzero.c: Moved to... + * string/bzero.c: ...here. + * sysdeps/generic/cabsf.c: Moved to... + * math/cabsf.c: ...here. + * sysdeps/generic/cargf.c: Moved to... + * math/cargf.c: ...here. + * sysdeps/generic/chdir.c: Moved to... + * io/chdir.c: ...here. + * sysdeps/generic/check_fds.c: Moved to... + * csu/check_fds.c: ...here. + * sysdeps/generic/check_pf.c: Moved to... + * inet/check_pf.c: ...here. + * sysdeps/generic/chflags.c: Moved to... + * misc/chflags.c: ...here. + * sysdeps/generic/chmod.c: Moved to... + * io/chmod.c: ...here. + * sysdeps/generic/chown.c: Moved to... + * io/chown.c: ...here. + * sysdeps/generic/chroot.c: Moved to... + * misc/chroot.c: ...here. + * sysdeps/generic/cimagf.c: Moved to... + * math/cimagf.c: ...here. + * sysdeps/generic/clock.c: Moved to... + * time/clock.c: ...here. + * sysdeps/generic/clock_getcpuclockid.c: Moved to... + * rt/clock_getcpuclockid.c: ...here. + * sysdeps/generic/clock_getres.c: Moved to... + * rt/clock_getres.c: ...here. + * sysdeps/generic/clock_gettime.c: Moved to... + * rt/clock_gettime.c: ...here. + * sysdeps/generic/clock_nanosleep.c: Moved to... + * rt/clock_nanosleep.c: ...here. + * sysdeps/generic/clock_settime.c: Moved to... + * rt/clock_settime.c: ...here. + * sysdeps/generic/close.c: Moved to... + * io/close.c: ...here. + * sysdeps/generic/closedir.c: Moved to... + * dirent/closedir.c: ...here. + * sysdeps/generic/cmp.c: Moved to... + * stdlib/cmp.c: ...here. + * sysdeps/generic/conjf.c: Moved to... + * math/conjf.c: ...here. + * sysdeps/generic/connect.c: Moved to... + * socket/connect.c: ...here. + * sysdeps/generic/console.c: Moved to... + * bare/console.c: ...here. + * sysdeps/generic/crealf.c: Moved to... + * math/crealf.c: ...here. + * sysdeps/generic/creat.c: Moved to... + * io/creat.c: ...here. + * sysdeps/generic/creat64.c: Moved to... + * io/creat64.c: ...here. + * sysdeps/generic/ctermid.c: Moved to... + * stdio-common/ctermid.c: ...here. + * sysdeps/generic/cuserid.c: Moved to... + * stdio-common/cuserid.c: ...here. + * sysdeps/generic/dbl2mpn.c: Moved to... + * stdlib/dbl2mpn.c: ...here. + * sysdeps/generic/dirfd.c: Moved to... + * dirent/dirfd.c: ...here. + * sysdeps/generic/div.c: Moved to... + * stdlib/div.c: ...here. + * sysdeps/generic/divmod_1.c: Moved to... + * stdlib/divmod_1.c: ...here. + * sysdeps/generic/divrem.c: Moved to... + * stdlib/divrem.c: ...here. + * sysdeps/generic/dl-brk.c: Moved to... + * elf/dl-brk.c: ...here. + * sysdeps/generic/dl-cache.c: Moved to... + * elf/dl-cache.c: ...here. + * sysdeps/generic/dl-environ.c: Moved to... + * elf/dl-environ.c: ...here. + * sysdeps/generic/dl-execstack.c: Moved to... + * elf/dl-execstack.c: ...here. + * sysdeps/generic/dl-fptr.c: Moved to... + * elf/dl-fptr.c: ...here. + * sysdeps/generic/dl-origin.c: Moved to... + * elf/dl-origin.c: ...here. + * sysdeps/generic/dl-sbrk.c: Moved to... + * elf/dl-sbrk.c: ...here. + * sysdeps/generic/dl-symaddr.c: Moved to... + * elf/dl-symaddr.c: ...here. + * sysdeps/generic/dl-sysdep.c: Moved to... + * elf/dl-sysdep.c: ...here. + * sysdeps/generic/dl-tls.c: Moved to... + * elf/dl-tls.c: ...here. + * sysdeps/generic/dl-trampoline.c: Moved to... + * elf/dl-trampoline.c: ...here. + * sysdeps/generic/dup.c: Moved to... + * io/dup.c: ...here. + * sysdeps/generic/dup2.c: Moved to... + * io/dup2.c: ...here. + * sysdeps/generic/e_acoshl.c: Moved to... + * math/e_acoshl.c: ...here. + * sysdeps/generic/e_acosl.c: Moved to... + * math/e_acosl.c: ...here. + * sysdeps/generic/e_asinl.c: Moved to... + * math/e_asinl.c: ...here. + * sysdeps/generic/e_atan2l.c: Moved to... + * math/e_atan2l.c: ...here. + * sysdeps/generic/e_atanhl.c: Moved to... + * math/e_atanhl.c: ...here. + * sysdeps/generic/e_coshl.c: Moved to... + * math/e_coshl.c: ...here. + * sysdeps/generic/e_exp10.c: Moved to... + * math/e_exp10.c: ...here. + * sysdeps/generic/e_exp10f.c: Moved to... + * math/e_exp10f.c: ...here. + * sysdeps/generic/e_exp10l.c: Moved to... + * math/e_exp10l.c: ...here. + * sysdeps/generic/e_exp2l.c: Moved to... + * math/e_exp2l.c: ...here. + * sysdeps/generic/e_expl.c: Moved to... + * math/e_expl.c: ...here. + * sysdeps/generic/e_fmodl.c: Moved to... + * math/e_fmodl.c: ...here. + * sysdeps/generic/e_gammal_r.c: Moved to... + * math/e_gammal_r.c: ...here. + * sysdeps/generic/e_hypotl.c: Moved to... + * math/e_hypotl.c: ...here. + * sysdeps/generic/e_j0l.c: Moved to... + * math/e_j0l.c: ...here. + * sysdeps/generic/e_j1l.c: Moved to... + * math/e_j1l.c: ...here. + * sysdeps/generic/e_jnl.c: Moved to... + * math/e_jnl.c: ...here. + * sysdeps/generic/e_lgammal_r.c: Moved to... + * math/e_lgammal_r.c: ...here. + * sysdeps/generic/e_log10l.c: Moved to... + * math/e_log10l.c: ...here. + * sysdeps/generic/e_log2l.c: Moved to... + * math/e_log2l.c: ...here. + * sysdeps/generic/e_logl.c: Moved to... + * math/e_logl.c: ...here. + * sysdeps/generic/e_powl.c: Moved to... + * math/e_powl.c: ...here. + * sysdeps/generic/e_rem_pio2l.c: Moved to... + * math/e_rem_pio2l.c: ...here. + * sysdeps/generic/e_scalb.c: Moved to... + * math/e_scalb.c: ...here. + * sysdeps/generic/e_scalbf.c: Moved to... + * math/e_scalbf.c: ...here. + * sysdeps/generic/e_scalbl.c: Moved to... + * math/e_scalbl.c: ...here. + * sysdeps/generic/e_sinhl.c: Moved to... + * math/e_sinhl.c: ...here. + * sysdeps/generic/e_sqrtl.c: Moved to... + * math/e_sqrtl.c: ...here. + * sysdeps/generic/enbl-secure.c: Moved to... + * elf/enbl-secure.c: ...here. + * sysdeps/generic/endutxent.c: Moved to... + * login/endutxent.c: ...here. + * sysdeps/generic/environ.c: Moved to... + * posix/environ.c: ...here. + * sysdeps/generic/errlist.c: Moved to... + * stdio-common/errlist.c: ...here. + * sysdeps/generic/errno-loc.c: Moved to... + * csu/errno-loc.c: ...here. + * sysdeps/generic/errno-loc.c: Moved to... + * csu/errno-loc.c: ...here. + * sysdeps/generic/errno.c: Moved to... + * csu/errno.c: ...here. + * sysdeps/generic/euidaccess.c: Moved to... + * io/euidaccess.c: ...here. + * sysdeps/generic/exc2signal.c: Moved to... + * hurd/exc2signal.c: ...here. + * sysdeps/generic/execve.c: Moved to... + * posix/execve.c: ...here. + * sysdeps/generic/fattach.c: Moved to... + * streams/fattach.c: ...here. + * sysdeps/generic/fchdir.c: Moved to... + * io/fchdir.c: ...here. + * sysdeps/generic/fchflags.c: Moved to... + * misc/fchflags.c: ...here. + * sysdeps/generic/fchmod.c: Moved to... + * io/fchmod.c: ...here. + * sysdeps/generic/fchown.c: Moved to... + * io/fchown.c: ...here. + * sysdeps/generic/fchownat.c: Moved to... + * io/fchownat.c: ...here. + * sysdeps/generic/fclrexcpt.c: Moved to... + * math/fclrexcpt.c: ...here. + * sysdeps/generic/fcntl.c: Moved to... + * io/fcntl.c: ...here. + * sysdeps/generic/fdatasync.c: Moved to... + * misc/fdatasync.c: ...here. + * sysdeps/generic/fdetach.c: Moved to... + * streams/fdetach.c: ...here. + * sysdeps/generic/fdopendir.c: Moved to... + * dirent/fdopendir.c: ...here. + * sysdeps/generic/fedisblxcpt.c: Moved to... + * math/fedisblxcpt.c: ...here. + * sysdeps/generic/feenablxcpt.c: Moved to... + * math/feenablxcpt.c: ...here. + * sysdeps/generic/fegetenv.c: Moved to... + * math/fegetenv.c: ...here. + * sysdeps/generic/fegetexcept.c: Moved to... + * math/fegetexcept.c: ...here. + * sysdeps/generic/fegetround.c: Moved to... + * math/fegetround.c: ...here. + * sysdeps/generic/feholdexcpt.c: Moved to... + * math/feholdexcpt.c: ...here. + * sysdeps/generic/fesetenv.c: Moved to... + * math/fesetenv.c: ...here. + * sysdeps/generic/fesetround.c: Moved to... + * math/fesetround.c: ...here. + * sysdeps/generic/feupdateenv.c: Moved to... + * math/feupdateenv.c: ...here. + * sysdeps/generic/fexecve.c: Moved to... + * posix/fexecve.c: ...here. + * sysdeps/generic/ffs.c: Moved to... + * string/ffs.c: ...here. + * sysdeps/generic/ffsll.c: Moved to... + * string/ffsll.c: ...here. + * sysdeps/generic/fgetexcptflg.c: Moved to... + * math/fgetexcptflg.c: ...here. + * sysdeps/generic/fgetxattr.c: Moved to... + * misc/fgetxattr.c: ...here. + * sysdeps/generic/flistxattr.c: Moved to... + * misc/flistxattr.c: ...here. + * sysdeps/generic/flock.c: Moved to... + * io/flock.c: ...here. + * sysdeps/generic/flockfile.c: Moved to... + * stdio-common/flockfile.c: ...here. + * sysdeps/generic/fork.c: Moved to... + * posix/fork.c: ...here. + * sysdeps/generic/fpathconf.c: Moved to... + * posix/fpathconf.c: ...here. + * sysdeps/generic/fpu_control.c: Moved to... + * math/fpu_control.c: ...here. + * sysdeps/generic/fraiseexcpt.c: Moved to... + * math/fraiseexcpt.c: ...here. + * sysdeps/generic/fremovexattr.c: Moved to... + * misc/fremovexattr.c: ...here. + * sysdeps/generic/fsetexcptflg.c: Moved to... + * math/fsetexcptflg.c: ...here. + * sysdeps/generic/fsetxattr.c: Moved to... + * misc/fsetxattr.c: ...here. + * sysdeps/generic/fstatfs.c: Moved to... + * io/fstatfs.c: ...here. + * sysdeps/generic/fstatfs64.c: Moved to... + * io/fstatfs64.c: ...here. + * sysdeps/generic/fstatvfs.c: Moved to... + * io/fstatvfs.c: ...here. + * sysdeps/generic/fstatvfs64.c: Moved to... + * io/fstatvfs64.c: ...here. + * sysdeps/generic/fsync.c: Moved to... + * misc/fsync.c: ...here. + * sysdeps/generic/ftestexcept.c: Moved to... + * math/ftestexcept.c: ...here. + * sysdeps/generic/ftime.c: Moved to... + * time/ftime.c: ...here. + * sysdeps/generic/ftruncate.c: Moved to... + * misc/ftruncate.c: ...here. + * sysdeps/generic/ftruncate64.c: Moved to... + * misc/ftruncate64.c: ...here. + * sysdeps/generic/ftrylockfile.c: Moved to... + * stdio-common/ftrylockfile.c: ...here. + * sysdeps/generic/funlockfile.c: Moved to... + * stdio-common/funlockfile.c: ...here. + * sysdeps/generic/futimes.c: Moved to... + * misc/futimes.c: ...here. + * sysdeps/generic/futimesat.c: Moved to... + * misc/futimesat.c: ...here. + * sysdeps/generic/fxstat.c: Moved to... + * io/fxstat.c: ...here. + * sysdeps/generic/fxstat64.c: Moved to... + * io/fxstat64.c: ...here. + * sysdeps/generic/fxstatat.c: Moved to... + * io/fxstatat.c: ...here. + * sysdeps/generic/fxstatat64.c: Moved to... + * io/fxstatat64.c: ...here. + * sysdeps/generic/gai_sigqueue.c: Moved to... + * resolv/gai_sigqueue.c: ...here. + * sysdeps/generic/gai_strerror.c: Moved to... + * posix/gai_strerror.c: ...here. + * sysdeps/generic/get_clockfreq.c: Moved to... + * rt/get_clockfreq.c: ...here. + * sysdeps/generic/getaddrinfo.c: Moved to... + * posix/getaddrinfo.c: ...here. + * sysdeps/generic/getclktck.c: Moved to... + * misc/getclktck.c: ...here. + * sysdeps/generic/getcontext.c: Moved to... + * stdlib/getcontext.c: ...here. + * sysdeps/generic/getcwd.c: Moved to... + * io/getcwd.c: ...here. + * sysdeps/generic/getdents.c: Moved to... + * dirent/getdents.c: ...here. + * sysdeps/generic/getdents64.c: Moved to... + * dirent/getdents64.c: ...here. + * sysdeps/generic/getdomain.c: Moved to... + * misc/getdomain.c: ...here. + * sysdeps/generic/getdtsz.c: Moved to... + * misc/getdtsz.c: ...here. + * sysdeps/generic/getegid.c: Moved to... + * posix/getegid.c: ...here. + * sysdeps/generic/getenv.c: Moved to... + * stdlib/getenv.c: ...here. + * sysdeps/generic/geteuid.c: Moved to... + * posix/geteuid.c: ...here. + * sysdeps/generic/getgid.c: Moved to... + * posix/getgid.c: ...here. + * sysdeps/generic/getgroups.c: Moved to... + * posix/getgroups.c: ...here. + * sysdeps/generic/gethostid.c: Moved to... + * misc/gethostid.c: ...here. + * sysdeps/generic/gethostname.c: Moved to... + * misc/gethostname.c: ...here. + * sysdeps/generic/getipv4sourcefilter.c: Moved to... + * inet/getipv4sourcefilter.c: ...here. + * sysdeps/generic/getitimer.c: Moved to... + * time/getitimer.c: ...here. + * sysdeps/generic/getloadavg.c: Moved to... + * misc/getloadavg.c: ...here. + * sysdeps/generic/getlogin.c: Moved to... + * posix/getlogin.c: ...here. + * sysdeps/generic/getlogin_r.c: Moved to... + * posix/getlogin_r.c: ...here. + * sysdeps/generic/getmsg.c: Moved to... + * streams/getmsg.c: ...here. + * sysdeps/generic/getpagesize.c: Moved to... + * misc/getpagesize.c: ...here. + * sysdeps/generic/getpeername.c: Moved to... + * socket/getpeername.c: ...here. + * sysdeps/generic/getpgid.c: Moved to... + * posix/getpgid.c: ...here. + * sysdeps/generic/getpgrp.c: Moved to... + * posix/getpgrp.c: ...here. + * sysdeps/generic/getpid.c: Moved to... + * posix/getpid.c: ...here. + * sysdeps/generic/getpmsg.c: Moved to... + * streams/getpmsg.c: ...here. + * sysdeps/generic/getppid.c: Moved to... + * posix/getppid.c: ...here. + * sysdeps/generic/getpriority.c: Moved to... + * resource/getpriority.c: ...here. + * sysdeps/generic/getpt.c: Moved to... + * login/getpt.c: ...here. + * sysdeps/generic/getresgid.c: Moved to... + * posix/getresgid.c: ...here. + * sysdeps/generic/getresuid.c: Moved to... + * posix/getresuid.c: ...here. + * sysdeps/generic/getrlimit.c: Moved to... + * resource/getrlimit.c: ...here. + * sysdeps/generic/getrlimit64.c: Moved to... + * resource/getrlimit64.c: ...here. + * sysdeps/generic/getrusage.c: Moved to... + * resource/getrusage.c: ...here. + * sysdeps/generic/getsid.c: Moved to... + * posix/getsid.c: ...here. + * sysdeps/generic/getsockname.c: Moved to... + * socket/getsockname.c: ...here. + * sysdeps/generic/getsockopt.c: Moved to... + * socket/getsockopt.c: ...here. + * sysdeps/generic/getsourcefilter.c: Moved to... + * inet/getsourcefilter.c: ...here. + * sysdeps/generic/getsysstats.c: Moved to... + * misc/getsysstats.c: ...here. + * sysdeps/generic/gettimeofday.c: Moved to... + * time/gettimeofday.c: ...here. + * sysdeps/generic/getuid.c: Moved to... + * posix/getuid.c: ...here. + * sysdeps/generic/getutmp.c: Moved to... + * login/getutmp.c: ...here. + * sysdeps/generic/getutmpx.c: Moved to... + * login/getutmpx.c: ...here. + * sysdeps/generic/getutxent.c: Moved to... + * login/getutxent.c: ...here. + * sysdeps/generic/getutxid.c: Moved to... + * login/getutxid.c: ...here. + * sysdeps/generic/getutxline.c: Moved to... + * login/getutxline.c: ...here. + * sysdeps/generic/getxattr.c: Moved to... + * misc/getxattr.c: ...here. + * sysdeps/generic/glob.c: Moved to... + * posix/glob.c: ...here. + * sysdeps/generic/glob64.c: Moved to... + * posix/glob64.c: ...here. + * sysdeps/generic/grantpt.c: Moved to... + * login/grantpt.c: ...here. + * sysdeps/generic/group_member.c: Moved to... + * posix/group_member.c: ...here. + * sysdeps/generic/gtty.c: Moved to... + * misc/gtty.c: ...here. + * sysdeps/generic/herrno-loc.c: Moved to... + * inet/herrno-loc.c: ...here. + * sysdeps/generic/htonl.c: Moved to... + * inet/htonl.c: ...here. + * sysdeps/generic/htons.c: Moved to... + * inet/htons.c: ...here. + * sysdeps/generic/if_index.c: Moved to... + * inet/if_index.c: ...here. + * sysdeps/generic/ifaddrs.c: Moved to... + * inet/ifaddrs.c: ...here. + * sysdeps/generic/ifreq.c: Moved to... + * inet/ifreq.c: ...here. + * sysdeps/generic/init-first.c: Moved to... + * csu/init-first.c: ...here. + * sysdeps/generic/init-posix.c: Moved to... + * posix/init-posix.c: ...here. + * sysdeps/generic/inlines.c: Moved to... + * stdlib/inlines.c: ...here. + * sysdeps/generic/ioctl.c: Moved to... + * misc/ioctl.c: ...here. + * sysdeps/generic/isastream.c: Moved to... + * streams/isastream.c: ...here. + * sysdeps/generic/isatty.c: Moved to... + * io/isatty.c: ...here. + * sysdeps/generic/isfdtype.c: Moved to... + * socket/isfdtype.c: ...here. + * sysdeps/generic/jmp-unwind.c: Moved to... + * setjmp/jmp-unwind.c: ...here. + * sysdeps/generic/k_cosl.c: Moved to... + * math/k_cosl.c: ...here. + * sysdeps/generic/k_rem_pio2l.c: Moved to... + * math/k_rem_pio2l.c: ...here. + * sysdeps/generic/k_sincosl.c: Moved to... + * math/k_sincosl.c: ...here. + * sysdeps/generic/k_sinl.c: Moved to... + * math/k_sinl.c: ...here. + * sysdeps/generic/k_tanl.c: Moved to... + * math/k_tanl.c: ...here. + * sysdeps/generic/kill.c: Moved to... + * signal/kill.c: ...here. + * sysdeps/generic/killpg.c: Moved to... + * signal/killpg.c: ...here. + * sysdeps/generic/labs.c: Moved to... + * stdlib/labs.c: ...here. + * sysdeps/generic/lchmod.c: Moved to... + * io/lchmod.c: ...here. + * sysdeps/generic/lchown.c: Moved to... + * io/lchown.c: ...here. + * sysdeps/generic/ldbl2mpn.c: Moved to... + * stdlib/ldbl2mpn.c: ...here. + * sysdeps/generic/ldiv.c: Moved to... + * stdlib/ldiv.c: ...here. + * sysdeps/generic/lgetxattr.c: Moved to... + * misc/lgetxattr.c: ...here. + * sysdeps/generic/libc-start.c: Moved to... + * csu/libc-start.c: ...here. + * sysdeps/generic/libc-tls.c: Moved to... + * csu/libc-tls.c: ...here. + * sysdeps/generic/libc_fatal.c: Moved to... + * libio/libc_fatal.c: ...here. + * sysdeps/generic/link.c: Moved to... + * io/link.c: ...here. + * sysdeps/generic/lio_listio.c: Moved to... + * rt/lio_listio.c: ...here. + * sysdeps/generic/lio_listio64.c: Moved to... + * rt/lio_listio64.c: ...here. + * sysdeps/generic/listen.c: Moved to... + * socket/listen.c: ...here. + * sysdeps/generic/listxattr.c: Moved to... + * misc/listxattr.c: ...here. + * sysdeps/generic/llabs.c: Moved to... + * stdlib/llabs.c: ...here. + * sysdeps/generic/lldiv.c: Moved to... + * stdlib/lldiv.c: ...here. + * sysdeps/generic/llistxattr.c: Moved to... + * misc/llistxattr.c: ...here. + * sysdeps/generic/lockf.c: Moved to... + * io/lockf.c: ...here. + * sysdeps/generic/lockf64.c: Moved to... + * io/lockf64.c: ...here. + * sysdeps/generic/longjmp-ts.c: Moved to... + * hurd/longjmp-ts.c: ...here. + * sysdeps/generic/longjmp.c: Moved to... + * setjmp/longjmp.c: ...here. + * sysdeps/generic/lremovexattr.c: Moved to... + * misc/lremovexattr.c: ...here. + * sysdeps/generic/lseek.c: Moved to... + * misc/lseek.c: ...here. + * sysdeps/generic/lseek64.c: Moved to... + * io/lseek64.c: ...here. + * sysdeps/generic/lsetxattr.c: Moved to... + * misc/lsetxattr.c: ...here. + * sysdeps/generic/lshift.c: Moved to... + * stdlib/lshift.c: ...here. + * sysdeps/generic/lutimes.c: Moved to... + * misc/lutimes.c: ...here. + * sysdeps/generic/lxstat.c: Moved to... + * io/lxstat.c: ...here. + * sysdeps/generic/lxstat64.c: Moved to... + * io/lxstat64.c: ...here. + * sysdeps/generic/madvise.c: Moved to... + * misc/madvise.c: ...here. + * sysdeps/generic/makecontext.c: Moved to... + * stdlib/makecontext.c: ...here. + * sysdeps/generic/memccpy.c: Moved to... + * string/memccpy.c: ...here. + * sysdeps/generic/memchr.c: Moved to... + * string/memchr.c: ...here. + * sysdeps/generic/memcmp.c: Moved to... + * string/memcmp.c: ...here. + * sysdeps/generic/memcpy.c: Moved to... + * string/memcpy.c: ...here. + * sysdeps/generic/memcpy_chk.c: Moved to... + * debug/memcpy_chk.c: ...here. + * sysdeps/generic/memmem.c: Moved to... + * string/memmem.c: ...here. + * sysdeps/generic/memmove.c: Moved to... + * string/memmove.c: ...here. + * sysdeps/generic/memmove_chk.c: Moved to... + * debug/memmove_chk.c: ...here. + * sysdeps/generic/mempcpy.c: Moved to... + * string/mempcpy.c: ...here. + * sysdeps/generic/mempcpy_chk.c: Moved to... + * debug/mempcpy_chk.c: ...here. + * sysdeps/generic/memrchr.c: Moved to... + * string/memrchr.c: ...here. + * sysdeps/generic/memset.c: Moved to... + * string/memset.c: ...here. + * sysdeps/generic/memset_chk.c: Moved to... + * debug/memset_chk.c: ...here. + * sysdeps/generic/mig-reply.c: Moved to... + * mach/mig-reply.c: ...here. + * sysdeps/generic/mincore.c: Moved to... + * misc/mincore.c: ...here. + * sysdeps/generic/mkdir.c: Moved to... + * io/mkdir.c: ...here. + * sysdeps/generic/mkdirat.c: Moved to... + * io/mkdirat.c: ...here. + * sysdeps/generic/mkfifo.c: Moved to... + * io/mkfifo.c: ...here. + * sysdeps/generic/mkfifoat.c: Moved to... + * io/mkfifoat.c: ...here. + * sysdeps/generic/mknod.c: Moved to... + * io/mknod.c: ...here. + * sysdeps/generic/mknodat.c: Moved to... + * io/mknodat.c: ...here. + * sysdeps/generic/mlock.c: Moved to... + * misc/mlock.c: ...here. + * sysdeps/generic/mlockall.c: Moved to... + * misc/mlockall.c: ...here. + * sysdeps/generic/mmap.c: Moved to... + * misc/mmap.c: ...here. + * sysdeps/generic/mmap64.c: Moved to... + * misc/mmap64.c: ...here. + * sysdeps/generic/mod_1.c: Moved to... + * stdlib/mod_1.c: ...here. + * sysdeps/generic/morecore.c: Moved to... + * malloc/morecore.c: ...here. + * sysdeps/generic/mp_clz_tab.c: Moved to... + * stdlib/mp_clz_tab.c: ...here. + * sysdeps/generic/mpn2dbl.c: Moved to... + * stdlib/mpn2dbl.c: ...here. + * sysdeps/generic/mpn2flt.c: Moved to... + * stdlib/mpn2flt.c: ...here. + * sysdeps/generic/mpn2ldbl.c: Moved to... + * stdlib/mpn2ldbl.c: ...here. + * sysdeps/generic/mprotect.c: Moved to... + * misc/mprotect.c: ...here. + * sysdeps/generic/mq_close.c: Moved to... + * rt/mq_close.c: ...here. + * sysdeps/generic/mq_getattr.c: Moved to... + * rt/mq_getattr.c: ...here. + * sysdeps/generic/mq_notify.c: Moved to... + * rt/mq_notify.c: ...here. + * sysdeps/generic/mq_open.c: Moved to... + * rt/mq_open.c: ...here. + * sysdeps/generic/mq_receive.c: Moved to... + * rt/mq_receive.c: ...here. + * sysdeps/generic/mq_send.c: Moved to... + * rt/mq_send.c: ...here. + * sysdeps/generic/mq_setattr.c: Moved to... + * rt/mq_setattr.c: ...here. + * sysdeps/generic/mq_timedreceive.c: Moved to... + * rt/mq_timedreceive.c: ...here. + * sysdeps/generic/mq_timedsend.c: Moved to... + * rt/mq_timedsend.c: ...here. + * sysdeps/generic/mq_unlink.c: Moved to... + * rt/mq_unlink.c: ...here. + * sysdeps/generic/msgctl.c: Moved to... + * sysvipc/msgctl.c: ...here. + * sysdeps/generic/msgget.c: Moved to... + * sysvipc/msgget.c: ...here. + * sysdeps/generic/msgrcv.c: Moved to... + * sysvipc/msgrcv.c: ...here. + * sysdeps/generic/msgsnd.c: Moved to... + * sysvipc/msgsnd.c: ...here. + * sysdeps/generic/msync.c: Moved to... + * misc/msync.c: ...here. + * sysdeps/generic/mul.c: Moved to... + * stdlib/mul.c: ...here. + * sysdeps/generic/mul_1.c: Moved to... + * stdlib/mul_1.c: ...here. + * sysdeps/generic/mul_n.c: Moved to... + * stdlib/mul_n.c: ...here. + * sysdeps/generic/munlock.c: Moved to... + * misc/munlock.c: ...here. + * sysdeps/generic/munlockall.c: Moved to... + * misc/munlockall.c: ...here. + * sysdeps/generic/munmap.c: Moved to... + * misc/munmap.c: ...here. + * sysdeps/generic/nanosleep.c: Moved to... + * posix/nanosleep.c: ...here. + * sysdeps/generic/nice.c: Moved to... + * resource/nice.c: ...here. + * sysdeps/generic/nscd_setup_thread.c: Moved to... + * nscd/nscd_setup_thread.c: ...here. + * sysdeps/generic/open.c: Moved to... + * io/open.c: ...here. + * sysdeps/generic/open64.c: Moved to... + * io/open64.c: ...here. + * sysdeps/generic/openat.c: Moved to... + * io/openat.c: ...here. + * sysdeps/generic/openat64.c: Moved to... + * io/openat64.c: ...here. + * sysdeps/generic/opendir.c: Moved to... + * dirent/opendir.c: ...here. + * sysdeps/generic/opensock.c: Moved to... + * socket/opensock.c: ...here. + * sysdeps/generic/pathconf.c: Moved to... + * posix/pathconf.c: ...here. + * sysdeps/generic/pause.c: Moved to... + * posix/pause.c: ...here. + * sysdeps/generic/pipe.c: Moved to... + * io/pipe.c: ...here. + * sysdeps/generic/poll.c: Moved to... + * io/poll.c: ...here. + * sysdeps/generic/posix_fadvise.c: Moved to... + * io/posix_fadvise.c: ...here. + * sysdeps/generic/posix_fadvise64.c: Moved to... + * io/posix_fadvise64.c: ...here. + * sysdeps/generic/posix_fallocate.c: Moved to... + * io/posix_fallocate.c: ...here. + * sysdeps/generic/posix_fallocate64.c: Moved to... + * io/posix_fallocate64.c: ...here. + * sysdeps/generic/posix_madvise.c: Moved to... + * posix/posix_madvise.c: ...here. + * sysdeps/generic/pread.c: Moved to... + * posix/pread.c: ...here. + * sysdeps/generic/pread64.c: Moved to... + * posix/pread64.c: ...here. + * sysdeps/generic/printf_fphex.c: Moved to... + * stdio-common/printf_fphex.c: ...here. + * sysdeps/generic/prof-freq.c: Moved to... + * gmon/prof-freq.c: ...here. + * sysdeps/generic/profil.c: Moved to... + * gmon/profil.c: ...here. + * sysdeps/generic/pselect.c: Moved to... + * misc/pselect.c: ...here. + * sysdeps/generic/ptrace.c: Moved to... + * misc/ptrace.c: ...here. + * sysdeps/generic/ptsname.c: Moved to... + * login/ptsname.c: ...here. + * sysdeps/generic/putenv.c: Moved to... + * stdlib/putenv.c: ...here. + * sysdeps/generic/putmsg.c: Moved to... + * streams/putmsg.c: ...here. + * sysdeps/generic/putpmsg.c: Moved to... + * streams/putpmsg.c: ...here. + * sysdeps/generic/pututxline.c: Moved to... + * login/pututxline.c: ...here. + * sysdeps/generic/pwrite.c: Moved to... + * posix/pwrite.c: ...here. + * sysdeps/generic/pwrite64.c: Moved to... + * posix/pwrite64.c: ...here. + * sysdeps/generic/raise.c: Moved to... + * signal/raise.c: ...here. + * sysdeps/generic/rawmemchr.c: Moved to... + * string/rawmemchr.c: ...here. + * sysdeps/generic/read.c: Moved to... + * io/read.c: ...here. + * sysdeps/generic/readdir.c: Moved to... + * dirent/readdir.c: ...here. + * sysdeps/generic/readdir64.c: Moved to... + * dirent/readdir64.c: ...here. + * sysdeps/generic/readdir64_r.c: Moved to... + * dirent/readdir64_r.c: ...here. + * sysdeps/generic/readdir_r.c: Moved to... + * dirent/readdir_r.c: ...here. + * sysdeps/generic/readelflib.c: Moved to... + * elf/readelflib.c: ...here. + * sysdeps/generic/readlink.c: Moved to... + * io/readlink.c: ...here. + * sysdeps/generic/readonly-area.c: Moved to... + * debug/readonly-area.c: ...here. + * sysdeps/generic/readv.c: Moved to... + * misc/readv.c: ...here. + * sysdeps/generic/reboot.c: Moved to... + * misc/reboot.c: ...here. + * sysdeps/generic/recv.c: Moved to... + * socket/recv.c: ...here. + * sysdeps/generic/recvfrom.c: Moved to... + * socket/recvfrom.c: ...here. + * sysdeps/generic/recvmsg.c: Moved to... + * socket/recvmsg.c: ...here. + * sysdeps/generic/remap_file_pages.c: Moved to... + * misc/remap_file_pages.c: ...here. + * sysdeps/generic/remove.c: Moved to... + * stdio-common/remove.c: ...here. + * sysdeps/generic/removexattr.c: Moved to... + * misc/removexattr.c: ...here. + * sysdeps/generic/rename.c: Moved to... + * stdio-common/rename.c: ...here. + * sysdeps/generic/renameat.c: Moved to... + * stdio-common/renameat.c: ...here. + * sysdeps/generic/res-state.c: Moved to... + * resolv/res-state.c: ...here. + * sysdeps/generic/revoke.c: Moved to... + * misc/revoke.c: ...here. + * sysdeps/generic/rewinddir.c: Moved to... + * dirent/rewinddir.c: ...here. + * sysdeps/generic/rmdir.c: Moved to... + * io/rmdir.c: ...here. + * sysdeps/generic/rshift.c: Moved to... + * stdlib/rshift.c: ...here. + * sysdeps/generic/s_asinhl.c: Moved to... + * math/s_asinhl.c: ...here. + * sysdeps/generic/s_atanl.c: Moved to... + * math/s_atanl.c: ...here. + * sysdeps/generic/s_cacos.c: Moved to... + * math/s_cacos.c: ...here. + * sysdeps/generic/s_cacosf.c: Moved to... + * math/s_cacosf.c: ...here. + * sysdeps/generic/s_cacosh.c: Moved to... + * math/s_cacosh.c: ...here. + * sysdeps/generic/s_cacoshf.c: Moved to... + * math/s_cacoshf.c: ...here. + * sysdeps/generic/s_cacoshl.c: Moved to... + * math/s_cacoshl.c: ...here. + * sysdeps/generic/s_cacosl.c: Moved to... + * math/s_cacosl.c: ...here. + * sysdeps/generic/s_casin.c: Moved to... + * math/s_casin.c: ...here. + * sysdeps/generic/s_casinf.c: Moved to... + * math/s_casinf.c: ...here. + * sysdeps/generic/s_casinh.c: Moved to... + * math/s_casinh.c: ...here. + * sysdeps/generic/s_casinhf.c: Moved to... + * math/s_casinhf.c: ...here. + * sysdeps/generic/s_casinhl.c: Moved to... + * math/s_casinhl.c: ...here. + * sysdeps/generic/s_casinl.c: Moved to... + * math/s_casinl.c: ...here. + * sysdeps/generic/s_catan.c: Moved to... + * math/s_catan.c: ...here. + * sysdeps/generic/s_catanf.c: Moved to... + * math/s_catanf.c: ...here. + * sysdeps/generic/s_catanh.c: Moved to... + * math/s_catanh.c: ...here. + * sysdeps/generic/s_catanhf.c: Moved to... + * math/s_catanhf.c: ...here. + * sysdeps/generic/s_catanhl.c: Moved to... + * math/s_catanhl.c: ...here. + * sysdeps/generic/s_catanl.c: Moved to... + * math/s_catanl.c: ...here. + * sysdeps/generic/s_cbrtl.c: Moved to... + * math/s_cbrtl.c: ...here. + * sysdeps/generic/s_ccos.c: Moved to... + * math/s_ccos.c: ...here. + * sysdeps/generic/s_ccosf.c: Moved to... + * math/s_ccosf.c: ...here. + * sysdeps/generic/s_ccosh.c: Moved to... + * math/s_ccosh.c: ...here. + * sysdeps/generic/s_ccoshf.c: Moved to... + * math/s_ccoshf.c: ...here. + * sysdeps/generic/s_ccoshl.c: Moved to... + * math/s_ccoshl.c: ...here. + * sysdeps/generic/s_ccosl.c: Moved to... + * math/s_ccosl.c: ...here. + * sysdeps/generic/s_cexp.c: Moved to... + * math/s_cexp.c: ...here. + * sysdeps/generic/s_cexpf.c: Moved to... + * math/s_cexpf.c: ...here. + * sysdeps/generic/s_cexpl.c: Moved to... + * math/s_cexpl.c: ...here. + * sysdeps/generic/s_clog.c: Moved to... + * math/s_clog.c: ...here. + * sysdeps/generic/s_clog10.c: Moved to... + * math/s_clog10.c: ...here. + * sysdeps/generic/s_clog10f.c: Moved to... + * math/s_clog10f.c: ...here. + * sysdeps/generic/s_clog10l.c: Moved to... + * math/s_clog10l.c: ...here. + * sysdeps/generic/s_clogf.c: Moved to... + * math/s_clogf.c: ...here. + * sysdeps/generic/s_clogl.c: Moved to... + * math/s_clogl.c: ...here. + * sysdeps/generic/s_cpow.c: Moved to... + * math/s_cpow.c: ...here. + * sysdeps/generic/s_cpowf.c: Moved to... + * math/s_cpowf.c: ...here. + * sysdeps/generic/s_cpowl.c: Moved to... + * math/s_cpowl.c: ...here. + * sysdeps/generic/s_cproj.c: Moved to... + * math/s_cproj.c: ...here. + * sysdeps/generic/s_cprojf.c: Moved to... + * math/s_cprojf.c: ...here. + * sysdeps/generic/s_cprojl.c: Moved to... + * math/s_cprojl.c: ...here. + * sysdeps/generic/s_csin.c: Moved to... + * math/s_csin.c: ...here. + * sysdeps/generic/s_csinf.c: Moved to... + * math/s_csinf.c: ...here. + * sysdeps/generic/s_csinh.c: Moved to... + * math/s_csinh.c: ...here. + * sysdeps/generic/s_csinhf.c: Moved to... + * math/s_csinhf.c: ...here. + * sysdeps/generic/s_csinhl.c: Moved to... + * math/s_csinhl.c: ...here. + * sysdeps/generic/s_csinl.c: Moved to... + * math/s_csinl.c: ...here. + * sysdeps/generic/s_csqrt.c: Moved to... + * math/s_csqrt.c: ...here. + * sysdeps/generic/s_csqrtf.c: Moved to... + * math/s_csqrtf.c: ...here. + * sysdeps/generic/s_csqrtl.c: Moved to... + * math/s_csqrtl.c: ...here. + * sysdeps/generic/s_ctan.c: Moved to... + * math/s_ctan.c: ...here. + * sysdeps/generic/s_ctanf.c: Moved to... + * math/s_ctanf.c: ...here. + * sysdeps/generic/s_ctanh.c: Moved to... + * math/s_ctanh.c: ...here. + * sysdeps/generic/s_ctanhf.c: Moved to... + * math/s_ctanhf.c: ...here. + * sysdeps/generic/s_ctanhl.c: Moved to... + * math/s_ctanhl.c: ...here. + * sysdeps/generic/s_ctanl.c: Moved to... + * math/s_ctanl.c: ...here. + * sysdeps/generic/s_erfl.c: Moved to... + * math/s_erfl.c: ...here. + * sysdeps/generic/s_expm1l.c: Moved to... + * math/s_expm1l.c: ...here. + * sysdeps/generic/s_fdim.c: Moved to... + * math/s_fdim.c: ...here. + * sysdeps/generic/s_fdimf.c: Moved to... + * math/s_fdimf.c: ...here. + * sysdeps/generic/s_fdiml.c: Moved to... + * math/s_fdiml.c: ...here. + * sysdeps/generic/s_fma.c: Moved to... + * math/s_fma.c: ...here. + * sysdeps/generic/s_fmaf.c: Moved to... + * math/s_fmaf.c: ...here. + * sysdeps/generic/s_fmal.c: Moved to... + * math/s_fmal.c: ...here. + * sysdeps/generic/s_fmax.c: Moved to... + * math/s_fmax.c: ...here. + * sysdeps/generic/s_fmaxf.c: Moved to... + * math/s_fmaxf.c: ...here. + * sysdeps/generic/s_fmaxl.c: Moved to... + * math/s_fmaxl.c: ...here. + * sysdeps/generic/s_fmin.c: Moved to... + * math/s_fmin.c: ...here. + * sysdeps/generic/s_fminf.c: Moved to... + * math/s_fminf.c: ...here. + * sysdeps/generic/s_fminl.c: Moved to... + * math/s_fminl.c: ...here. + * sysdeps/generic/s_ldexp.c: Moved to... + * math/s_ldexp.c: ...here. + * sysdeps/generic/s_ldexpf.c: Moved to... + * math/s_ldexpf.c: ...here. + * sysdeps/generic/s_ldexpl.c: Moved to... + * math/s_ldexpl.c: ...here. + * sysdeps/generic/s_log1pl.c: Moved to... + * math/s_log1pl.c: ...here. + * sysdeps/generic/s_nan.c: Moved to... + * math/s_nan.c: ...here. + * sysdeps/generic/s_nanf.c: Moved to... + * math/s_nanf.c: ...here. + * sysdeps/generic/s_nanl.c: Moved to... + * math/s_nanl.c: ...here. + * sysdeps/generic/s_nextafter.c: Moved to... + * math/s_nextafter.c: ...here. + * sysdeps/generic/s_nexttowardf.c: Moved to... + * math/s_nexttowardf.c: ...here. + * sysdeps/generic/s_nexttowardl.c: Moved to... + * math/s_nexttowardl.c: ...here. + * sysdeps/generic/s_significand.c: Moved to... + * math/s_significand.c: ...here. + * sysdeps/generic/s_significandf.c: Moved to... + * math/s_significandf.c: ...here. + * sysdeps/generic/s_significandl.c: Moved to... + * math/s_significandl.c: ...here. + * sysdeps/generic/s_tanhl.c: Moved to... + * math/s_tanhl.c: ...here. + * sysdeps/generic/sbrk.c: Moved to... + * misc/sbrk.c: ...here. + * sysdeps/generic/scandir64.c: Moved to... + * dirent/scandir64.c: ...here. + * sysdeps/generic/sched_getaffinity.c: Moved to... + * posix/sched_getaffinity.c: ...here. + * sysdeps/generic/sched_getp.c: Moved to... + * posix/sched_getp.c: ...here. + * sysdeps/generic/sched_gets.c: Moved to... + * posix/sched_gets.c: ...here. + * sysdeps/generic/sched_primax.c: Moved to... + * posix/sched_primax.c: ...here. + * sysdeps/generic/sched_primin.c: Moved to... + * posix/sched_primin.c: ...here. + * sysdeps/generic/sched_rr_gi.c: Moved to... + * posix/sched_rr_gi.c: ...here. + * sysdeps/generic/sched_setaffinity.c: Moved to... + * posix/sched_setaffinity.c: ...here. + * sysdeps/generic/sched_setp.c: Moved to... + * posix/sched_setp.c: ...here. + * sysdeps/generic/sched_sets.c: Moved to... + * posix/sched_sets.c: ...here. + * sysdeps/generic/sched_yield.c: Moved to... + * posix/sched_yield.c: ...here. + * sysdeps/generic/seekdir.c: Moved to... + * dirent/seekdir.c: ...here. + * sysdeps/generic/segfault.c: Moved to... + * debug/segfault.c: ...here. + * sysdeps/generic/select.c: Moved to... + * misc/select.c: ...here. + * sysdeps/generic/semctl.c: Moved to... + * sysvipc/semctl.c: ...here. + * sysdeps/generic/semget.c: Moved to... + * sysvipc/semget.c: ...here. + * sysdeps/generic/semop.c: Moved to... + * sysvipc/semop.c: ...here. + * sysdeps/generic/semtimedop.c: Moved to... + * sysvipc/semtimedop.c: ...here. + * sysdeps/generic/send.c: Moved to... + * socket/send.c: ...here. + * sysdeps/generic/sendfile.c: Moved to... + * io/sendfile.c: ...here. + * sysdeps/generic/sendfile64.c: Moved to... + * io/sendfile64.c: ...here. + * sysdeps/generic/sendmsg.c: Moved to... + * socket/sendmsg.c: ...here. + * sysdeps/generic/sendto.c: Moved to... + * socket/sendto.c: ...here. + * sysdeps/generic/setcontext.c: Moved to... + * stdlib/setcontext.c: ...here. + * sysdeps/generic/setdomain.c: Moved to... + * misc/setdomain.c: ...here. + * sysdeps/generic/setegid.c: Moved to... + * misc/setegid.c: ...here. + * sysdeps/generic/setenv.c: Moved to... + * stdlib/setenv.c: ...here. + * sysdeps/generic/seteuid.c: Moved to... + * misc/seteuid.c: ...here. + * sysdeps/generic/setfpucw.c: Moved to... + * math/setfpucw.c: ...here. + * sysdeps/generic/setgid.c: Moved to... + * posix/setgid.c: ...here. + * sysdeps/generic/setgroups.c: Moved to... + * grp/setgroups.c: ...here. + * sysdeps/generic/sethostid.c: Moved to... + * misc/sethostid.c: ...here. + * sysdeps/generic/sethostname.c: Moved to... + * misc/sethostname.c: ...here. + * sysdeps/generic/setipv4sourcefilter.c: Moved to... + * inet/setipv4sourcefilter.c: ...here. + * sysdeps/generic/setitimer.c: Moved to... + * time/setitimer.c: ...here. + * sysdeps/generic/setjmp.c: Moved to... + * setjmp/setjmp.c: ...here. + * sysdeps/generic/setlogin.c: Moved to... + * posix/setlogin.c: ...here. + * sysdeps/generic/setpgid.c: Moved to... + * posix/setpgid.c: ...here. + * sysdeps/generic/setpgrp.c: Moved to... + * posix/setpgrp.c: ...here. + * sysdeps/generic/setpriority.c: Moved to... + * resource/setpriority.c: ...here. + * sysdeps/generic/setregid.c: Moved to... + * misc/setregid.c: ...here. + * sysdeps/generic/setresgid.c: Moved to... + * posix/setresgid.c: ...here. + * sysdeps/generic/setresuid.c: Moved to... + * posix/setresuid.c: ...here. + * sysdeps/generic/setreuid.c: Moved to... + * misc/setreuid.c: ...here. + * sysdeps/generic/setrlimit.c: Moved to... + * resource/setrlimit.c: ...here. + * sysdeps/generic/setrlimit64.c: Moved to... + * resource/setrlimit64.c: ...here. + * sysdeps/generic/setsid.c: Moved to... + * posix/setsid.c: ...here. + * sysdeps/generic/setsockopt.c: Moved to... + * socket/setsockopt.c: ...here. + * sysdeps/generic/setsourcefilter.c: Moved to... + * inet/setsourcefilter.c: ...here. + * sysdeps/generic/settimeofday.c: Moved to... + * time/settimeofday.c: ...here. + * sysdeps/generic/setuid.c: Moved to... + * posix/setuid.c: ...here. + * sysdeps/generic/setutxent.c: Moved to... + * login/setutxent.c: ...here. + * sysdeps/generic/setxattr.c: Moved to... + * misc/setxattr.c: ...here. + * sysdeps/generic/shm_open.c: Moved to... + * rt/shm_open.c: ...here. + * sysdeps/generic/shm_unlink.c: Moved to... + * rt/shm_unlink.c: ...here. + * sysdeps/generic/shmat.c: Moved to... + * sysvipc/shmat.c: ...here. + * sysdeps/generic/shmctl.c: Moved to... + * sysvipc/shmctl.c: ...here. + * sysdeps/generic/shmdt.c: Moved to... + * sysvipc/shmdt.c: ...here. + * sysdeps/generic/shmget.c: Moved to... + * sysvipc/shmget.c: ...here. + * sysdeps/generic/shutdown.c: Moved to... + * socket/shutdown.c: ...here. + * sysdeps/generic/sigaction.c: Moved to... + * signal/sigaction.c: ...here. + * sysdeps/generic/sigaltstack.c: Moved to... + * signal/sigaltstack.c: ...here. + * sysdeps/generic/sigblock.c: Moved to... + * signal/sigblock.c: ...here. + * sysdeps/generic/sigfillset.c: Moved to... + * signal/sigfillset.c: ...here. + * sysdeps/generic/sigignore.c: Moved to... + * signal/sigignore.c: ...here. + * sysdeps/generic/sigintr.c: Moved to... + * signal/sigintr.c: ...here. + * sysdeps/generic/sigjmp.c: Moved to... + * setjmp/sigjmp.c: ...here. + * sysdeps/generic/siglist.c: Moved to... + * stdio-common/siglist.c: ...here. + * sysdeps/generic/signal.c: Moved to... + * signal/signal.c: ...here. + * sysdeps/generic/sigpause.c: Moved to... + * signal/sigpause.c: ...here. + * sysdeps/generic/sigpending.c: Moved to... + * signal/sigpending.c: ...here. + * sysdeps/generic/sigprocmask.c: Moved to... + * signal/sigprocmask.c: ...here. + * sysdeps/generic/sigqueue.c: Moved to... + * signal/sigqueue.c: ...here. + * sysdeps/generic/sigreturn.c: Moved to... + * signal/sigreturn.c: ...here. + * sysdeps/generic/sigset.c: Moved to... + * signal/sigset.c: ...here. + * sysdeps/generic/sigsetmask.c: Moved to... + * signal/sigsetmask.c: ...here. + * sysdeps/generic/sigstack.c: Moved to... + * signal/sigstack.c: ...here. + * sysdeps/generic/sigsuspend.c: Moved to... + * signal/sigsuspend.c: ...here. + * sysdeps/generic/sigtimedwait.c: Moved to... + * signal/sigtimedwait.c: ...here. + * sysdeps/generic/sigvec.c: Moved to... + * signal/sigvec.c: ...here. + * sysdeps/generic/sigwait.c: Moved to... + * signal/sigwait.c: ...here. + * sysdeps/generic/sigwaitinfo.c: Moved to... + * signal/sigwaitinfo.c: ...here. + * sysdeps/generic/sleep.c: Moved to... + * posix/sleep.c: ...here. + * sysdeps/generic/sockatmark.c: Moved to... + * socket/sockatmark.c: ...here. + * sysdeps/generic/socket.c: Moved to... + * socket/socket.c: ...here. + * sysdeps/generic/socketpair.c: Moved to... + * socket/socketpair.c: ...here. + * sysdeps/generic/spawni.c: Moved to... + * posix/spawni.c: ...here. + * sysdeps/generic/speed.c: Moved to... + * termios/speed.c: ...here. + * sysdeps/generic/sprofil.c: Moved to... + * gmon/sprofil.c: ...here. + * sysdeps/generic/sstk.c: Moved to... + * misc/sstk.c: ...here. + * sysdeps/generic/start.c: Moved to... + * csu/start.c: ...here. + * sysdeps/generic/statfs.c: Moved to... + * io/statfs.c: ...here. + * sysdeps/generic/statfs64.c: Moved to... + * io/statfs64.c: ...here. + * sysdeps/generic/statvfs.c: Moved to... + * io/statvfs.c: ...here. + * sysdeps/generic/statvfs64.c: Moved to... + * io/statvfs64.c: ...here. + * sysdeps/generic/stime.c: Moved to... + * time/stime.c: ...here. + * sysdeps/generic/stpcpy.c: Moved to... + * string/stpcpy.c: ...here. + * sysdeps/generic/stpcpy_chk.c: Moved to... + * debug/stpcpy_chk.c: ...here. + * sysdeps/generic/stpncpy.c: Moved to... + * string/stpncpy.c: ...here. + * sysdeps/generic/stpncpy_chk.c: Moved to... + * debug/stpncpy_chk.c: ...here. + * sysdeps/generic/strcasecmp.c: Moved to... + * string/strcasecmp.c: ...here. + * sysdeps/generic/strcasecmp_l.c: Moved to... + * string/strcasecmp_l.c: ...here. + * sysdeps/generic/strcasestr.c: Moved to... + * string/strcasestr.c: ...here. + * sysdeps/generic/strcat.c: Moved to... + * string/strcat.c: ...here. + * sysdeps/generic/strcat_chk.c: Moved to... + * debug/strcat_chk.c: ...here. + * sysdeps/generic/strchr.c: Moved to... + * string/strchr.c: ...here. + * sysdeps/generic/strchrnul.c: Moved to... + * string/strchrnul.c: ...here. + * sysdeps/generic/strcmp.c: Moved to... + * string/strcmp.c: ...here. + * sysdeps/generic/strcpy.c: Moved to... + * string/strcpy.c: ...here. + * sysdeps/generic/strcpy_chk.c: Moved to... + * debug/strcpy_chk.c: ...here. + * sysdeps/generic/strcspn.c: Moved to... + * string/strcspn.c: ...here. + * sysdeps/generic/string-inlines.c: Moved to... + * string/string-inlines.c: ...here. + * sysdeps/generic/strlen.c: Moved to... + * string/strlen.c: ...here. + * sysdeps/generic/strncase.c: Moved to... + * string/strncase.c: ...here. + * sysdeps/generic/strncase_l.c: Moved to... + * string/strncase_l.c: ...here. + * sysdeps/generic/strncat.c: Moved to... + * string/strncat.c: ...here. + * sysdeps/generic/strncat_chk.c: Moved to... + * debug/strncat_chk.c: ...here. + * sysdeps/generic/strncmp.c: Moved to... + * string/strncmp.c: ...here. + * sysdeps/generic/strncpy.c: Moved to... + * string/strncpy.c: ...here. + * sysdeps/generic/strncpy_chk.c: Moved to... + * debug/strncpy_chk.c: ...here. + * sysdeps/generic/strnlen.c: Moved to... + * string/strnlen.c: ...here. + * sysdeps/generic/strpbrk.c: Moved to... + * string/strpbrk.c: ...here. + * sysdeps/generic/strrchr.c: Moved to... + * string/strrchr.c: ...here. + * sysdeps/generic/strsep.c: Moved to... + * string/strsep.c: ...here. + * sysdeps/generic/strspn.c: Moved to... + * string/strspn.c: ...here. + * sysdeps/generic/strstr.c: Moved to... + * string/strstr.c: ...here. + * sysdeps/generic/strtoimax.c: Moved to... + * stdlib/strtoimax.c: ...here. + * sysdeps/generic/strtok.c: Moved to... + * string/strtok.c: ...here. + * sysdeps/generic/strtok_r.c: Moved to... + * string/strtok_r.c: ...here. + * sysdeps/generic/strtol.c: Moved to... + * stdlib/strtol.c: ...here. + * sysdeps/generic/strtol_l.c: Moved to... + * stdlib/strtol_l.c: ...here. + * sysdeps/generic/strtold_l.c: Moved to... + * stdlib/strtold_l.c: ...here. + * sysdeps/generic/strtoll.c: Moved to... + * stdlib/strtoll.c: ...here. + * sysdeps/generic/strtoll_l.c: Moved to... + * stdlib/strtoll_l.c: ...here. + * sysdeps/generic/strtoul.c: Moved to... + * stdlib/strtoul.c: ...here. + * sysdeps/generic/strtoul_l.c: Moved to... + * stdlib/strtoul_l.c: ...here. + * sysdeps/generic/strtoull.c: Moved to... + * stdlib/strtoull.c: ...here. + * sysdeps/generic/strtoull_l.c: Moved to... + * stdlib/strtoull_l.c: ...here. + * sysdeps/generic/strtoumax.c: Moved to... + * stdlib/strtoumax.c: ...here. + * sysdeps/generic/strtsupp.c: Moved to... + * bare/strtsupp.c: ...here. + * sysdeps/generic/stty.c: Moved to... + * misc/stty.c: ...here. + * sysdeps/generic/sub_n.c: Moved to... + * stdlib/sub_n.c: ...here. + * sysdeps/generic/submul_1.c: Moved to... + * stdlib/submul_1.c: ...here. + * sysdeps/generic/swapcontext.c: Moved to... + * stdlib/swapcontext.c: ...here. + * sysdeps/generic/swapoff.c: Moved to... + * misc/swapoff.c: ...here. + * sysdeps/generic/swapon.c: Moved to... + * misc/swapon.c: ...here. + * sysdeps/generic/symlink.c: Moved to... + * io/symlink.c: ...here. + * sysdeps/generic/sync.c: Moved to... + * misc/sync.c: ...here. + * sysdeps/generic/syscall.c: Moved to... + * misc/syscall.c: ...here. + * sysdeps/generic/sysconf.c: Moved to... + * posix/sysconf.c: ...here. + * sysdeps/generic/sysdep.c: Moved to... + * csu/sysdep.c: ...here. + * sysdeps/generic/syslog.c: Moved to... + * misc/syslog.c: ...here. + * sysdeps/generic/system.c: Moved to... + * stdlib/system.c: ...here. + * sysdeps/generic/sysv_signal.c: Moved to... + * signal/sysv_signal.c: ...here. + * sysdeps/generic/t_sincosl.c: Moved to... + * math/t_sincosl.c: ...here. + * sysdeps/generic/tcdrain.c: Moved to... + * termios/tcdrain.c: ...here. + * sysdeps/generic/tcflow.c: Moved to... + * termios/tcflow.c: ...here. + * sysdeps/generic/tcflush.c: Moved to... + * termios/tcflush.c: ...here. + * sysdeps/generic/tcgetattr.c: Moved to... + * termios/tcgetattr.c: ...here. + * sysdeps/generic/tcgetpgrp.c: Moved to... + * termios/tcgetpgrp.c: ...here. + * sysdeps/generic/tcsendbrk.c: Moved to... + * termios/tcsendbrk.c: ...here. + * sysdeps/generic/tcsetattr.c: Moved to... + * termios/tcsetattr.c: ...here. + * sysdeps/generic/tcsetpgrp.c: Moved to... + * termios/tcsetpgrp.c: ...here. + * sysdeps/generic/telldir.c: Moved to... + * dirent/telldir.c: ...here. + * sysdeps/generic/tempname.c: Moved to... + * stdio-common/tempname.c: ...here. + * sysdeps/generic/time.c: Moved to... + * time/time.c: ...here. + * sysdeps/generic/timer_create.c: Moved to... + * rt/timer_create.c: ...here. + * sysdeps/generic/timer_delete.c: Moved to... + * rt/timer_delete.c: ...here. + * sysdeps/generic/timer_getoverr.c: Moved to... + * rt/timer_getoverr.c: ...here. + * sysdeps/generic/timer_gettime.c: Moved to... + * rt/timer_gettime.c: ...here. + * sysdeps/generic/timer_settime.c: Moved to... + * rt/timer_settime.c: ...here. + * sysdeps/generic/times.c: Moved to... + * posix/times.c: ...here. + * sysdeps/generic/tmpfile.c: Moved to... + * stdio-common/tmpfile.c: ...here. + * sysdeps/generic/tmpfile64.c: Moved to... + * stdio-common/tmpfile64.c: ...here. + * sysdeps/generic/trampoline.c: Moved to... + * hurd/trampoline.c: ...here. + * sysdeps/generic/truncate.c: Moved to... + * misc/truncate.c: ...here. + * sysdeps/generic/truncate64.c: Moved to... + * misc/truncate64.c: ...here. + * sysdeps/generic/tst-timer.c: Moved to... + * rt/tst-timer.c: ...here. + * sysdeps/generic/ttyname.c: Moved to... + * io/ttyname.c: ...here. + * sysdeps/generic/ttyname_r.c: Moved to... + * io/ttyname_r.c: ...here. + * sysdeps/generic/ualarm.c: Moved to... + * misc/ualarm.c: ...here. + * sysdeps/generic/udiv_qrnnd.c: Moved to... + * stdlib/udiv_qrnnd.c: ...here. + * sysdeps/generic/ulimit.c: Moved to... + * resource/ulimit.c: ...here. + * sysdeps/generic/umask.c: Moved to... + * io/umask.c: ...here. + * sysdeps/generic/uname.c: Moved to... + * posix/uname.c: ...here. + * sysdeps/generic/unlink.c: Moved to... + * io/unlink.c: ...here. + * sysdeps/generic/unlinkat.c: Moved to... + * io/unlinkat.c: ...here. + * sysdeps/generic/unlockpt.c: Moved to... + * login/unlockpt.c: ...here. + * sysdeps/generic/updwtmp.c: Moved to... + * login/updwtmp.c: ...here. + * sysdeps/generic/updwtmpx.c: Moved to... + * login/updwtmpx.c: ...here. + * sysdeps/generic/usleep.c: Moved to... + * misc/usleep.c: ...here. + * sysdeps/generic/ustat.c: Moved to... + * misc/ustat.c: ...here. + * sysdeps/generic/utime.c: Moved to... + * io/utime.c: ...here. + * sysdeps/generic/utimes.c: Moved to... + * misc/utimes.c: ...here. + * sysdeps/generic/utmp_file.c: Moved to... + * login/utmp_file.c: ...here. + * sysdeps/generic/utmpxname.c: Moved to... + * login/utmpxname.c: ...here. + * sysdeps/generic/versionsort64.c: Moved to... + * dirent/versionsort64.c: ...here. + * sysdeps/generic/vfork.c: Moved to... + * posix/vfork.c: ...here. + * sysdeps/generic/vhangup.c: Moved to... + * misc/vhangup.c: ...here. + * sysdeps/generic/vlimit.c: Moved to... + * resource/vlimit.c: ...here. + * sysdeps/generic/vtimes.c: Moved to... + * resource/vtimes.c: ...here. + * sysdeps/generic/w_acos.c: Moved to... + * math/w_acos.c: ...here. + * sysdeps/generic/w_acosf.c: Moved to... + * math/w_acosf.c: ...here. + * sysdeps/generic/w_acosh.c: Moved to... + * math/w_acosh.c: ...here. + * sysdeps/generic/w_acoshf.c: Moved to... + * math/w_acoshf.c: ...here. + * sysdeps/generic/w_acoshl.c: Moved to... + * math/w_acoshl.c: ...here. + * sysdeps/generic/w_acosl.c: Moved to... + * math/w_acosl.c: ...here. + * sysdeps/generic/w_asin.c: Moved to... + * math/w_asin.c: ...here. + * sysdeps/generic/w_asinf.c: Moved to... + * math/w_asinf.c: ...here. + * sysdeps/generic/w_asinl.c: Moved to... + * math/w_asinl.c: ...here. + * sysdeps/generic/w_atan2.c: Moved to... + * math/w_atan2.c: ...here. + * sysdeps/generic/w_atan2f.c: Moved to... + * math/w_atan2f.c: ...here. + * sysdeps/generic/w_atan2l.c: Moved to... + * math/w_atan2l.c: ...here. + * sysdeps/generic/w_atanh.c: Moved to... + * math/w_atanh.c: ...here. + * sysdeps/generic/w_atanhf.c: Moved to... + * math/w_atanhf.c: ...here. + * sysdeps/generic/w_atanhl.c: Moved to... + * math/w_atanhl.c: ...here. + * sysdeps/generic/w_cosh.c: Moved to... + * math/w_cosh.c: ...here. + * sysdeps/generic/w_coshf.c: Moved to... + * math/w_coshf.c: ...here. + * sysdeps/generic/w_coshl.c: Moved to... + * math/w_coshl.c: ...here. + * sysdeps/generic/w_drem.c: Moved to... + * math/w_drem.c: ...here. + * sysdeps/generic/w_dremf.c: Moved to... + * math/w_dremf.c: ...here. + * sysdeps/generic/w_dreml.c: Moved to... + * math/w_dreml.c: ...here. + * sysdeps/generic/w_exp10.c: Moved to... + * math/w_exp10.c: ...here. + * sysdeps/generic/w_exp10f.c: Moved to... + * math/w_exp10f.c: ...here. + * sysdeps/generic/w_exp10l.c: Moved to... + * math/w_exp10l.c: ...here. + * sysdeps/generic/w_exp2.c: Moved to... + * math/w_exp2.c: ...here. + * sysdeps/generic/w_exp2f.c: Moved to... + * math/w_exp2f.c: ...here. + * sysdeps/generic/w_exp2l.c: Moved to... + * math/w_exp2l.c: ...here. + * sysdeps/generic/w_expl.c: Moved to... + * math/w_expl.c: ...here. + * sysdeps/generic/w_fmod.c: Moved to... + * math/w_fmod.c: ...here. + * sysdeps/generic/w_fmodf.c: Moved to... + * math/w_fmodf.c: ...here. + * sysdeps/generic/w_fmodl.c: Moved to... + * math/w_fmodl.c: ...here. + * sysdeps/generic/w_hypot.c: Moved to... + * math/w_hypot.c: ...here. + * sysdeps/generic/w_hypotf.c: Moved to... + * math/w_hypotf.c: ...here. + * sysdeps/generic/w_hypotl.c: Moved to... + * math/w_hypotl.c: ...here. + * sysdeps/generic/w_j0.c: Moved to... + * math/w_j0.c: ...here. + * sysdeps/generic/w_j0f.c: Moved to... + * math/w_j0f.c: ...here. + * sysdeps/generic/w_j0l.c: Moved to... + * math/w_j0l.c: ...here. + * sysdeps/generic/w_j1.c: Moved to... + * math/w_j1.c: ...here. + * sysdeps/generic/w_j1f.c: Moved to... + * math/w_j1f.c: ...here. + * sysdeps/generic/w_j1l.c: Moved to... + * math/w_j1l.c: ...here. + * sysdeps/generic/w_jn.c: Moved to... + * math/w_jn.c: ...here. + * sysdeps/generic/w_jnf.c: Moved to... + * math/w_jnf.c: ...here. + * sysdeps/generic/w_jnl.c: Moved to... + * math/w_jnl.c: ...here. + * sysdeps/generic/w_lgamma.c: Moved to... + * math/w_lgamma.c: ...here. + * sysdeps/generic/w_lgamma_r.c: Moved to... + * math/w_lgamma_r.c: ...here. + * sysdeps/generic/w_lgammaf.c: Moved to... + * math/w_lgammaf.c: ...here. + * sysdeps/generic/w_lgammaf_r.c: Moved to... + * math/w_lgammaf_r.c: ...here. + * sysdeps/generic/w_lgammal.c: Moved to... + * math/w_lgammal.c: ...here. + * sysdeps/generic/w_lgammal_r.c: Moved to... + * math/w_lgammal_r.c: ...here. + * sysdeps/generic/w_log.c: Moved to... + * math/w_log.c: ...here. + * sysdeps/generic/w_log10.c: Moved to... + * math/w_log10.c: ...here. + * sysdeps/generic/w_log10f.c: Moved to... + * math/w_log10f.c: ...here. + * sysdeps/generic/w_log10l.c: Moved to... + * math/w_log10l.c: ...here. + * sysdeps/generic/w_log2.c: Moved to... + * math/w_log2.c: ...here. + * sysdeps/generic/w_log2f.c: Moved to... + * math/w_log2f.c: ...here. + * sysdeps/generic/w_log2l.c: Moved to... + * math/w_log2l.c: ...here. + * sysdeps/generic/w_logf.c: Moved to... + * math/w_logf.c: ...here. + * sysdeps/generic/w_logl.c: Moved to... + * math/w_logl.c: ...here. + * sysdeps/generic/w_pow.c: Moved to... + * math/w_pow.c: ...here. + * sysdeps/generic/w_powf.c: Moved to... + * math/w_powf.c: ...here. + * sysdeps/generic/w_powl.c: Moved to... + * math/w_powl.c: ...here. + * sysdeps/generic/w_remainder.c: Moved to... + * math/w_remainder.c: ...here. + * sysdeps/generic/w_remainderf.c: Moved to... + * math/w_remainderf.c: ...here. + * sysdeps/generic/w_remainderl.c: Moved to... + * math/w_remainderl.c: ...here. + * sysdeps/generic/w_scalb.c: Moved to... + * math/w_scalb.c: ...here. + * sysdeps/generic/w_scalbf.c: Moved to... + * math/w_scalbf.c: ...here. + * sysdeps/generic/w_scalbl.c: Moved to... + * math/w_scalbl.c: ...here. + * sysdeps/generic/w_sinh.c: Moved to... + * math/w_sinh.c: ...here. + * sysdeps/generic/w_sinhf.c: Moved to... + * math/w_sinhf.c: ...here. + * sysdeps/generic/w_sinhl.c: Moved to... + * math/w_sinhl.c: ...here. + * sysdeps/generic/w_sqrt.c: Moved to... + * math/w_sqrt.c: ...here. + * sysdeps/generic/w_sqrtf.c: Moved to... + * math/w_sqrtf.c: ...here. + * sysdeps/generic/w_sqrtl.c: Moved to... + * math/w_sqrtl.c: ...here. + * sysdeps/generic/w_tgamma.c: Moved to... + * math/w_tgamma.c: ...here. + * sysdeps/generic/w_tgammaf.c: Moved to... + * math/w_tgammaf.c: ...here. + * sysdeps/generic/w_tgammal.c: Moved to... + * math/w_tgammal.c: ...here. + * sysdeps/generic/wait.c: Moved to... + * posix/wait.c: ...here. + * sysdeps/generic/wait3.c: Moved to... + * posix/wait3.c: ...here. + * sysdeps/generic/wait4.c: Moved to... + * posix/wait4.c: ...here. + * sysdeps/generic/waitid.c: Moved to... + * posix/waitid.c: ...here. + * sysdeps/generic/waitpid.c: Moved to... + * posix/waitpid.c: ...here. + * sysdeps/generic/wcstoimax.c: Moved to... + * stdlib/wcstoimax.c: ...here. + * sysdeps/generic/wcstol.c: Moved to... + * wcsmbs/wcstol.c: ...here. + * sysdeps/generic/wcstol_l.c: Moved to... + * wcsmbs/wcstol_l.c: ...here. + * sysdeps/generic/wcstoll.c: Moved to... + * wcsmbs/wcstoll.c: ...here. + * sysdeps/generic/wcstoll_l.c: Moved to... + * wcsmbs/wcstoll_l.c: ...here. + * sysdeps/generic/wcstoul.c: Moved to... + * wcsmbs/wcstoul.c: ...here. + * sysdeps/generic/wcstoul_l.c: Moved to... + * wcsmbs/wcstoul_l.c: ...here. + * sysdeps/generic/wcstoull.c: Moved to... + * wcsmbs/wcstoull.c: ...here. + * sysdeps/generic/wcstoull_l.c: Moved to... + * wcsmbs/wcstoull_l.c: ...here. + * sysdeps/generic/wcstoumax.c: Moved to... + * stdlib/wcstoumax.c: ...here. + * sysdeps/generic/wordcopy.c: Moved to... + * string/wordcopy.c: ...here. + * sysdeps/generic/wordexp.c: Moved to... + * posix/wordexp.c: ...here. + * sysdeps/generic/write.c: Moved to... + * io/write.c: ...here. + * sysdeps/generic/writev.c: Moved to... + * misc/writev.c: ...here. + * sysdeps/generic/xmknod.c: Moved to... + * io/xmknod.c: ...here. + * sysdeps/generic/xmknodat.c: Moved to... + * io/xmknodat.c: ...here. + * sysdeps/generic/xpg-strerror.c: Moved to... + * string/xpg-strerror.c: ...here. + * sysdeps/generic/xstat.c: Moved to... + * io/xstat.c: ...here. + * sysdeps/generic/xstat64.c: Moved to... + * io/xstat64.c: ...here. + * catgets/gencat.c: Use "config.h" to refer to the local config.h file. + * stdlib/stdtod_l.c: Use "..." for gmp-impl.h and longlong.h headers. + * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust for files moving + out of sysdeps/generic. + * sysdeps/ieee754/ldbl-96/strtold_l.c: Likewise. + * sysdeps/powerpc/elf/libc-start.c: Likewise. + * sysdeps/unix/sysv/linux/dl-sbrk.c: Likewise. + * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise. + * sysdeps/unix/sysv/linux/segfault.c: Likewise. + * sysdeps/unix/sysv/linux/sigreturn.c: Likewise. + * sysdeps/unix/sysv/linux/syslog.c: Likewise. + * sysdeps/unix/sysv/linux/updwtmp.c: Likewise. + * sysdeps/unix/sysv/linux/utmp_file.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise. + * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise. + * sysdeps/wordsize-32/llabs.c: Likewise. + * sysdeps/wordsize-32/lldiv.c: Likewise. + * sysdeps/wordsize-64/glob.c: Likewise. + * sysdeps/wordsize-64/labs.c: Likewise. + * sysdeps/wordsize-64/ldiv.c: Likewise. + * sysdeps/wordsize-64/strtol.c: Likewise. + * sysdeps/wordsize-64/strtol_l.c: Likewise. + * sysdeps/wordsize-64/strtoul.c: Likewise. + * sysdeps/wordsize-64/strtoul_l.c: Likewise. + * sysdeps/wordsize-64/wcstol.c: Likewise. + * sysdeps/wordsize-64/wcstol_l.c: Likewise. + * sysdeps/wordsize-64/wcstoul.c: Likewise. + * sysdeps/wordsize-64/wcstoul_l.c: Likewise. + * sysdeps/x86_64/fpu/printf_fphex.c: Likewise. + * wcsmbs/Makefile (strtox-CFLAGS): remove -I../stdlib. + (CPPFLAGS-wcstold_l.c): Add -I../stdlib. + +2005-12-13 Roland McGrath + + * sysdeps/generic/Makefile: Remove remaining bits/endian.h cruft. + +2005-12-13 Ulrich Drepper + + * sysdeps/generic/signame.c: Removed. + * sysdeps/generic/signame.h: Removed. + * sysdeps/generic/configure.in: Removed. + * sysdeps/generic/Dist: Remove these files. + + * sysdeps/generic/det_endian.c: Removed. + * sysdeps/generic/Makefile: Remove rule to build it. + * sysdeps/generic/Dist: Don't distribute it. + +2005-12-13 Roland McGrath + + * sysdeps/powerpc/dl-procinfo.c: New file. + * sysdeps/powerpc/dl-procinfo.h: New file. + +2005-12-12 Ulrich Drepper + + * io/sys/stat.h: Add restrict to fstatat declarations. + +2005-12-10 Ulrich Drepper + + * posix/regex_internal.h: Include if available. + +2005-12-06 Paolo Bonzini + + * posix/regex_internal.h (SIZE_MAX): Provide a default definition. + +2005-12-08 Ulrich Drepper + + * nis/nis_call.c (inetstr2int): Optimize. + +2005-12-08 Jakub Jelinek + + * nis/nis_call.c (__nisbind_create): Remove __nisbind_destroy, + ->clnt cannot be != NULL. + (__do_niscall): No need to use __nisbind_destroy, __nisbind_next + did it. + (__nisbind_connect): use_auth is already TRUE, otherwise we would + not be here. + + * nis/nis_lookup.c (nis_lookup): Remove unnecessary + __nisbind_destroy calls. __nisbind_next does all that. + + * nis/ypclnt.c (yp_update): Before trying default authentication, + free DES descriptor. + +2005-12-07 Jakub Jelinek + + * nis/nis_table.c (nis_list): Fix memory handling in error case. + +2005-12-07 Ulrich Drepper + + * nis/nis_table.c (nis_list): Remove have_tablepath, just use the + pointer value itself. + +2005-12-06 Ulrich Drepper + + * catgets/gencat.c: Use GPL, not LGPL. + * elf/cache.c: Likewise. + * elf/chroot_canon.c: Likewise. + * elf/ldconfig.c: Likewise. + * elf/readlib.c: Likewise. + * iconv/dummy-repertoire.c: Likewise. + * iconv/iconv_charmap.c: Likewise. + * iconv/iconv_prog.c: Likewise. + * iconv/iconvconfig.c: Likewise. + * locale/programs/3level.h: Likewise. + * locale/programs/charmap-dir.c: Likewise. + * locale/programs/charmap-dir.h: Likewise. + * locale/programs/charmap-kw.gperf: Likewise. + * locale/programs/charmap.c: Likewise. + * locale/programs/charmap.h: Likewise. + * locale/programs/config.h: Likewise. + * locale/programs/ld-address.c: Likewise. + * locale/programs/ld-collate.c: Likewise. + * locale/programs/ld-ctype.c: Likewise. + * locale/programs/ld-identification.c: Likewise. + * locale/programs/ld-measurement.c: Likewise. + * locale/programs/ld-messages.c: Likewise. + * locale/programs/ld-monetary.c: Likewise. + * locale/programs/ld-name.c: Likewise. + * locale/programs/ld-numeric.c: Likewise. + * locale/programs/ld-paper.c: Likewise. + * locale/programs/ld-telephone.c: Likewise. + * locale/programs/ld-time.c: Likewise. + * locale/programs/linereader.c: Likewise. + * locale/programs/linereader.h: Likewise. + * locale/programs/locale-spec.c: Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/localedef.c: Likewise. + * locale/programs/localedef.h: Likewise. + * locale/programs/locarchive.c: Likewise. + * locale/programs/locfile-kw.gperf: Likewise. + * locale/programs/locfile-token.h: Likewise. + * locale/programs/locfile.c: Likewise. + * locale/programs/locfile.h: Likewise. + * locale/programs/repertoire.c: Likewise. + * locale/programs/repertoire.h: Likewise. + * locale/programs/simple-hash.c: Likewise. + * locale/programs/simple-hash.h: Likewise. + * locale/programs/xmalloc.c: Likewise. + * locale/programs/xstrdup.c: Likewise. + * malloc/memusagestat.c: Likewise. + * nscd/aicache.c: Likewise. + * nscd/cache.c: Likewise. + * nscd/connections.c: Likewise. + * nscd/dbg_log.c: Likewise. + * nscd/gai.c: Likewise. + * nscd/getgrgid_r.c: Likewise. + * nscd/getgrnam_r.c: Likewise. + * nscd/gethstbyad_r.c: Likewise. + * nscd/gethstbynm2_r.c: Likewise. + * nscd/getpwnam_r.c: Likewise. + * nscd/getpwuid_r.c: Likewise. + * nscd/grpcache.c: Likewise. + * nscd/hstcache.c: Likewise. + * nscd/initgrcache.c: Likewise. + * nscd/mem.c: Likewise. + * nscd/nscd.c: Likewise. + * nscd/nscd_conf.c: Likewise. + * nscd/pwdcache.c: Likewise. + * posix/getconf.c: Likewise. + * sysdeps/generic/nscd_setup_thread.c: Likewise. + * sysdeps/unix/sysv/linux/nscd_setup_thread.c: Likewise. + + * sunrpc/auth_des.c (authdes_pk_create): If conversation key + cannot be created, free memory. + Reported by rprasad@vmware.com. + +2005-11-15 Mike Frysinger + + * sysdeps/hppa/bits/setjmp.h: Add _BITS_SETJMP_H preprocessor + protection and allow pthread.h to include bits/setjmp.h as well as + setjmp.h. + * sysdeps/m68k/bits/setjmp.h: Likewise. + * sysdeps/s390/bits/setjmp.h: Make sure only setjmp.h or pthread.h + are allow to include bits/setjmp.h. + * sysdeps/mips/bits/setjmp.h (_JMPBUF_UNWINDS): Cast rhs to match lhs + cast of address. + * sysdeps/sh/bits/setjmp.h: Likewise. + +2005-11-12 Jim Meyering + + * sysdeps/unix/opendir.c (__alloc_dir): Declare STATP parameter + to be pointer to const. + * include/dirent.h: Update decl. + +2005-12-05 Roland McGrath + + * hurd/hurdmalloc.c: Remove $ tag $ magic. + * mach/err_kern.sub: Likewise. + * mach/err_server.sub: Likewise. + * mach/err_us.sub: Likewise. + * mach/error_compat.c: Likewise. + * mach/errorlib.h: Likewise. + * mach/errstring.c: Likewise. + * mach/mach/error.h: Likewise. + * mach/mach_error.c: Likewise. + * mach/mach_error.h: Likewise. + * mach/msg-destroy.c: Likewise. + * mach/msgserver.c: Likewise. + * sysdeps/mach/sys/reboot.h: Likewise. + + * sysdeps/generic/dwarf2.h: Replace license text with glibc LGPL. + +2005-11-28 Jakub Jelinek + + * malloc/tst-mallocfork.c (do_test): Make sure sa_flags is + initialized. Reported by John Reiser . + +2005-12-05 Daniel Jacobowitz * stdlib/longlong.h: Update from GCC. -2008-10-09 Jakub Jelinek - David S. Miller +2005-12-04 Joseph S. Myers - * sysdeps/sparc/sparc64/sparcv9v/memcpy.S: When not USE_BPR, - make sure any registers used with 64-bit 'branch-on-register' - instructions have their top 32-bits clear. - * sysdeps/sparc/sparc64/sparcv9v/memset.S: Likewise. - * sysdeps/sparc/sparc64/sparcv9v2/memcpy.S: Likewise. + * soft-fp/soft-fp.h: Include . -2008-09-18 Andreas Schwab + * soft-fp/floatdisf.c (__floatdisf): Return float. - [BZ #6942] - * resolv/res_send.c (send_vc): Fix use of unaligned address. - Properly handle partial reads. +2005-12-05 Roland McGrath -2008-10-01 Mark Shinwell + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_POSIX_CPU_TIMERS): New macro, for 2.6.12 and later. - * elf/elf.h (STO_MIPS_PLT): New. - (R_MIPS_COPY): New. - (R_MIPS_JUMP_SLOT): New. - (R_MIPS_NUM): Redefine to 128. - (DT_MIPS_PLTGOT): New. - (DT_MIPS_RWPLT): New. - (DT_MIPS_NUM): Redefine to 0x35. +2005-12-03 Ulrich Drepper -2008-10-01 Ulrich Drepper + * nis/nis_table.c (nis_list): Optimize freeing and reallocation of + result record. - * timezone/africa: Update from tzdata2008f. + * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r): + Better sized buffers. Correct error case handling. + * nis/nis_error.c (nis_sperror_r): Let snprintf determine whether + there is an overflow. + * nis/nss_nisplus/nisplus-service.c: Fix locking to use + _nss_create_tablename. Avoid unnecessary copying, remove + unnecessary variables, general cleanup. + * nis/nss_nisplus/nisplus-rpc.c: Likewise. + * nis/nss_nisplus/nisplus-proto.c: Likewise.. + * nis/nss_nisplus/nisplus-network.c: Fix locking to use + _nss_create_tablename. Avoid unnecessary copying, general cleanup. + * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r): + Removed. + Fix locking to use _nss_create_tablename. Avoid unnecessary copying, + general cleanup. + * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r): + Correctly construct request. + Fix locking to use _nss_create_tablename. Avoid unnecessary copying, + general cleanup. + * nis/nss_nisplus/nisplus-alias.c: Fix locking to use + _nss_create_tablename. Avoid unnecessary copying, general cleanup. + * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_setnetgrent): + Rewrite to use snprintf. + * nis/nss_nisplus/nisplus-publickey.c (_nss_nisplus_netname2user): + Likewise. + +2005-12-02 Ulrich Drepper + + * nis/nss_nisplus/nisplus-pwd.c (_nss_pwd_create_tablename): + Renamed from _nss_create_tablename. Export from file (but not DSO). + (pwd_tablename_val): Renamed from tablename_val, mark hidden. + (pwd_tablename_len): Renamed from tablename_len, mark hidden. + Change all users. + * nis/nss_nisplus/nisplus-spwd.c (_nss_create_tablename): Removed. + Use _nss_pwd_create_tablename now. Use pwd_tablename_val and + pwd_tablename_len. Remove unnecessary variables, general cleanup. + + * nis/nss_nisplus/nisplus-pwd.c: Fix locking to use + _nss_create_tablename. Avoid unnecessary copying, remove + unnecessary variables, general cleanup. + * nis/nss_nisplus/nisplus-grp.c: Likewise. + + * io/Makefile (routines): Add mknodat, xmknodat, mkdirat, mkfifoat. + (static-only-routines): Add mknodat. + * io/Versions [GLIBC_2.4]: Add mkdirat, mkfifoat, __xmknodat. + * io/sys/stat.h: Declare mkditat, mknodat, mkfifoat, __xmknodat. + Define mknodat inline function. + * include/sys/stat.h: Add hidden proto for __xmknodat. + * sysdeps/generic/mkdirat.c: New file. + * sysdeps/generic/mkfifoat.c: New file. + * sysdeps/generic/mknodat.c: New file. + * sysdeps/generic/xmknodat.c: New file. + * sysdeps/unix/mkfifoat.c: New file. + * sysdeps/unix/sysv/linux/mkdirat.c: New file. + * sysdeps/unix/sysv/linux/xmknodat.c: New file. + + * sysdeps/generic/xmknod.c: Add one more parameter check. + +2005-11-28 Andreas Jaeger + + * sysdeps/unix/sysv/linux/mips/bits/mman.h (MREMAP_FIXED): Added, + Patch by RenĂ© Rebe . + +2005-11-27 Ulrich Drepper + + * sysdeps/posix/getaddrinfo.c: Avoid RFC 3484 sorting if there are + multiple return records but only one address. + + * sysdeps/posix/getaddrinfo.c (gaih_inet): Avoid some code duplication. + +2005-11-27 Roland McGrath + + * sysdeps/unix/sysv/linux/fchownat.c: Include alloca.h, sysdep.h. + Reported by RenĂ© Rebe . + +2005-11-27 Ulrich Drepper + + * sysdeps/posix/euidaccess.c [_LIBC] (euidaccess): Don't cache + euid and egid. + + * nis/nis_table.c (nis_list): Add more free calls in error cases. + +2005-11-26 Richard Henderson + + * sysdeps/alpha/strncmp.S: Don't read too much data when pointers + are co-aligned, and count is aligned with the end of the word. + +2005-11-26 Ulrich Drepper + + * nis/nis_lookup.c (nis_lookup): Mark RPCTIMEOUT as const. Pretty + printing. + + * nis/nis_table.c (__create_ib_request): Use strdupa instead of + variable size array. + (RPCTIMEOUT): Mark as const. + + * nis/ypclnt.c (yp_bind_ypbindprog): Initialize clnt_saddr by hand. + (ypdomainname): Renamed from __ypdomainname. No need for initializer. + (ypbindlist): Renamed from __ypbindlist. + (do_ypcall): Check memory allocation suceeded before calling + yp_bind_ypbindprog. + (yperr_string): Reduce size of function by using only one gettext call. + (ypbinderr_string): Likewise. + (yp_match): Free response in case memory for return value cannot be + allocated. + (yp_first): Likewise. + (yp_next): Likewise. + (do_ypcall_tr): New function which translates error codes as well. + (yp_match, yp_next, yp_master, yp_order, yp_maplist): Use it. + (yp_all): Correct test for invalid parameter. + Pretty printing. + (RPCTIMEOUT, UDPTIMEOUT): Mark as const. + +2005-11-25 Richard Henderson + + * sysdeps/unix/sysv/linux/alpha/fxstatat.c (__fxstatat): Fix typo. + (__fxstatat64): Alias from __fxstatat; remove other cnp errors. + * sysdeps/unix/sysv/linux/alpha/sigaction.c: Include sys/cdefs.h + and stddef.h. + * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MREMAP_FIXED): Define. + +2005-11-25 Ulrich Drepper + + * Makeconfig (+cflags): Add -fmerge-all-constants by default. + + [BZ #1912] + * nss/function.def: Add entry to use gethostbyname2 for files. + +2005-11-25 Thorsten Kukuk + + * sysdeps/unix/sysv/linux/fxstatat64.c: Include string.h. + +2005-11-25 Ulrich Drepper + + [BZ #1926] + * nss/nss_files/files-netgrp.c (_nss_files_endnetgrent): Change + return value type to match expected type. + + [BZ #1925] + * nis/ypclnt.c (yp_order): Correct test for invalid parameter. + +2005-11-24 Ulrich Drepper + + * scripts/check-c++-types.sh: Improve comments. + + * scripts/check-local-headers.sh: New file. + * Makefile (tests): Run check-local-headers.sh. + +2005-11-23 Thorsten Kukuk + + * include/sys/sendfile.h: New file. + +2005-11-24 Andreas Schwab + + * time/sys/time.h: Remove nonnull attribute from futimesat. + +2005-11-22 Ulrich Drepper + + * nscd/connections.c (sendfileall): Define. + (handle_request): Use it instead of sendfile call. + * nscd/nscd-client.h: Declare sendfileall. + * nscd/aicache.c: Use sendfileall instead of sendfile. + * nscd/grpcache.c: Likewise. + * nscd/hstcache.c: Likewise. + * nscd/initgrcache.c: Likewise. + * nscd/pwdcache.c: Likewise. + + [BZ #1908] + * manual/install.texi (Tools for Compilation): Require gawk. + +2005-11-22 Jakub Jelinek + + * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove + unused is_static field from slotinfo array. + +2005-11-21 Jakub Jelinek + + * sunrpc/bindrsvprt.c (bindresvport): Wrap around to startport + in the loop if port is bigger than endport, initially set to + ENDPORT. When changing startport, set endport and port + appropriately. + +2005-11-21 Ulrich Drepper + + * Makefile.in: Remove RCS ID line. + * config-name.in: Likewise. + * config.make.in: Likewise. + * malloc/arena.c: Likewise. + * malloc/hooks.c: Likewise. + * malloc/malloc.c: Likewise. + * manual/dir: Likewise. + * math/math_private.h: Likewise. + * resolv/gethnamaddr.c: Likewise. + * scripts/mkinstalldirs: Likewise. + * sunrpc/rpc_clntout.c: Likewise. + * sunrpc/rpc_cout.c: Likewise. + * sunrpc/rpc_hout.c: Likewise. + * sunrpc/rpc_main.c: Likewise. + * sunrpc/rpc_parse.c: Likewise. + * sunrpc/rpc_sample.c: Likewise. + * sunrpc/rpc_scan.c: Likewise. + * sunrpc/rpc_svcout.c: Likewise. + * sunrpc/rpc_tblout.c: Likewise. + * sunrpc/rpc_util.c: Likewise. + * sysdeps/unix/sysv/linux/sys/quote.h: Likewise. + + * nscd/nscd_helper.c: Pretty printing. + +2005-11-19 Roland McGrath + + * elf/elf.h: Revert last change. + +2005-11-19 Jakub Jelinek + + * sysdeps/unix/sysv/linux/ia64/bits/shm.h (shmatt_t): New type. + (struct shmid_ds): Use it for shm_nattch field. + +2005-11-18 Jakub Jelinek + + * sysdeps/unix/sysv/linux/futimesat.c (futimesat): If FILE is NULL, + set access and modification times of the file referenced by FD. + * sysdeps/generic/futimesat.c (futimesat): Don't return EINVAL if + FILE is NULL. Don't check FD if FILE is absolute path. + +2005-11-19 Ulrich Drepper + + * nscd/nscd_gethst_r.c (nscd_gethst_r): Avoid unnecesary read call + if there are no aliases. + + * sysdeps/unix/sysv/linux/Makefile (CFLAGS-connections.c, + CFLAGS-pwdcache.c, CFLAGS-grpcache.c, CFLAGS-hstcache.c, + CFLAGS-aicache.c, CFLAGS-initgrcache.c): Add -DHAVE_SENDFILE. + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE): + Define. + * nscd/pwdcache.c [HAVE_SENDFILE]: Include and + . + [HAVE_SENDFILE] (cache_addpw): Use sendfile to transmit positive + result. + * nscd/grpcache.c: Likewise. + * nscd/hstcache.c: Likewise. + * nscd/aicache.c: Likewise. + * nscd/initgrcache.c: Likewise. + * nscd/connectionc.c: Likewise. + +2005-11-18 Andreas Schwab + + * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove useless alias. + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Handle + NO_WEAK_ALIAS. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise. + +2005-11-18 Paul Brook + + * sysdeps/unix/sysv/linux/m68k/bits/mman.h (MREMAP_FIXED): New macro. + + * nscd/grpcache.c: Include . + * nscd/nscd_stat.c: Likewise. + * nscd/pwdcache.c: Likewise. + * sysdeps/unix/sysv/linux/unlinkat.c: Include , . + +2005-11-17 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Define SHM_NORESERVE. + * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise. + +2005-11-17 Steven Munroe + + [BZ #1877] + * string/test-strncmp.c (do_test_limit): Handle zero length and + non-zero align values. + (test_main): Correct do_test_limit tests for 64-bit. + +2005-11-15 Steven Munroe + + * sysdeps/powerpc/sysdep.h (PPC_FEATURE_HAS_SPE, + PPC_FEATURE_HAS_EFP_SINGLE, PPC_FEATURE_HAS_EFP_DOUBLE, + PPC_FEATURE_NO_TB, PPC_FEATURE_POWER4, PPC_FEATURE_POWER5, + PPC_FEATURE_POWER5_PLUS, PPC_FEATURE_CELL, PPC_FEATURE_970): + Define to match 2.6.15 kernel. + + * sysdeps/powerpc/fpu/e_sqrt.c: Remove dl-procinfo.h include. + * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise. + * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise. + +2005-11-17 Roland McGrath + + * elf/elf.h (R_PPC64_ADDR30): Renamed to R_PPC64_REL30. + +2005-11-17 Jakub Jelinek + + * io/sys/stat.h (fstatat): If __REDIRECT_NTH isn't defined, + define fstatat to fstatat64. + +2005-11-17 Steven Munroe + + [BZ #1877] + * string/test-strncmp.c (do_test_limit): New function. + (do_test) Add cast to eliminate compiler warnings. + (do_random_tests) Add cast to eliminate compiler warnings. + (test_main) Add do_test_limit tests. + * sysdeps/powerpc/powerpc32/strncmp.S: Test length before unaligned + load. + * sysdeps/powerpc/powerpc64/strncmp.S: Likewise. + +2005-11-17 Ulrich Drepper + + * include/resolv.h: Include . + Patch by Paul Brook. + + * io/sys/stat.h: Use __const not const in fstatat prototypes. + +2005-11-08 H.J. Lu + + * sysdeps/wordsize-32/Makefile (CPPFLAGS-divdi3.c): Set to + -Din_divdi3_c. + * sysdeps/wordsize-32/symbol-hacks.h: Skip if in_divdi3_c is defined. + +2005-11-16 Jakub Jelinek + + * sysdeps/unix/sysv/linux/fchownat.c: Include string.h. + * sysdeps/unix/sysv/linux/futimesat.c: Likewise. + * sysdeps/unix/sysv/linux/i386/fchownat.c: Likewise. + * sysdeps/unix/sysv/linux/i386/fxstatat.c: Likewise. + * sysdeps/unix/sysv/linux/renameat.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Likewise. + * sysdeps/unix/sysv/linux/unlinkat.c: Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Likewise. + +2005-11-16 Ulrich Drepper + + * iconvdata/Makefile (modules): Add ISO_11548-1. + (distribute): Add iso_11548-1.c. + * iconvdata/gconv-modules: Add entries for ISO 11548-1. + * iconvdata/TESTS: Add entry for ISO 11548-1. + + [BZ 1872] + * iconvdata/iso_11548-1.c: New file. + * iconvdata/testdata/ISO_11548-1: New file. + * iconvdata/testdata/ISO_11548-1..UTF8: New file. + Patch by Samuel Thibault . + +2005-11-16 Kaz Kojima + + * sysdeps/sh/bits/setjmp.h (_JMPBUF_UNWINDS): Remove incorrect &. + +2005-11-15 Ulrich Drepper + + [BZ 1865] + * inet/netinet/icmp6.h: More updates for RFC3542. + * inet/netinet/ip6.h: Likewise. + * sysdeps/unix/sysv/linux/bits/in.h: Adjust for current kernel sources. + Patch by David L Stevens . + + * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat): + Return -1 on failure. + * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise. + * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.. + * sysdeps/unix/sysv/linux/fxstatat64.c [__ASSUME_STAT64_SYSCALL] + (__fxstatat64): Handle errors. + + * io/sys/poll.h: Add comment explaining poll is a cancellation point. + + * sysdeps/unix/sysv/linux/syscalls.list (epoll_wait): Align with + poll, make cancelable. + * sysdeps/unix/sysv/linux/sys/epoll.h: Add comment explaining + epoll_wait is a cancellation point. + +2005-11-15 Jakub Jelinek + + * io/sys/stat.h (fstatat): Don't use __THROW together with + __REDIRECT_NTH. + +2005-11-14 Ulrich Drepper + + * elf/dl-open.c [!SHARED]: Remove _dl_tls_static_size definition. + * sysdeps/generic/libc-tls.c: Initialize _dl_tls_static_size here. + +2005-11-11 Ulrich Drepper + + * io/Makefile (routines): Add fstatat, fstatat64, fxstatat, fxstatat64, + fchownat, and unlinkat. + (static-only-routines): Add fstatat and fstatat64. + (tests): Add tst-unlinkat, tst-fstatat, tst-futimesat, tst-renameat, + and tst-fchownat. + * io/Versions [GLIBC_2.4]: Add fchownat, __fxstatat, __fxstatat64, + and unlinkat. + * io/fcntl.h: Define AT_FDCWD, AT_SYMLINK_NOFOLLOW, and AT_REMOVEDIR. + * io/fstatat.c: New file. + * io/fstatat64.c: New file. + * io/sys/stat.h: Declare fstatat, fstatat64, __fxstatat, __fxstatat64 + and define fstatat and fstatat64 inline functions. + * libio/stdio.h: Declare renameat. + * misc/Makefile (routines): Add futimesat. + * misc/Versions [GLIBC_2.4]: Add futimesat. + * posix/unistd.h: Declare fchownat and unlinkat. + * stdio-common/Makefile (routines): Add renameat. + * stdio-common/Versions [GLIBC_2.4]: Add renameat. + * sysdeps/generic/fchownat.c: New file. + * sysdeps/generic/futimesat.c: New file. + * sysdeps/generic/fxstatat.c: New file. + * sysdeps/generic/fxstatat64.c: New file. + * sysdeps/generic/renameat.c: New file. + * sysdeps/generic/unlinkat.c: New file. + * sysdeps/unix/sysv/linux/fchownat.c: New file. + * sysdeps/unix/sysv/linux/futimesat.c: New file. + * sysdeps/unix/sysv/linux/fxstatat.c: New file. + * sysdeps/unix/sysv/linux/fxstatat64.c: New file. + * sysdeps/unix/sysv/linux/renameat.c: New file. + * sysdeps/unix/sysv/linux/unlinkat.c: New file. + * sysdeps/unix/sysv/linux/alpha/fxstatat.c: New file. + * sysdeps/unix/sysv/linux/i386/fchownat.c: New file. + * sysdeps/unix/sysv/linux/i386/fxstatat.c: New file. + * sysdeps/unix/sysv/linux/m68k/fchownat.c: New file. + * sysdeps/unix/sysv/linux/m68k/fxstatat.c: New file. + * sysdeps/unix/sysv/linux/powerpc/fchownat.c: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fxstatat.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-32/fxstatat.c: New file. + * sysdeps/unix/sysv/linux/sh/fchownat.c: New file. + * sysdeps/unix/sysv/linux/sh/fxstatat.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/fxstatat.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/fxstatat.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/fxstatat64.c: New file. + * time/sys/time.h: Declare futimesat. + * include/fcntl.h: Declare __atfct_seterrno. + * sysdeps/unix/sysv/linux/openat.c (__atfct_seterrno): New function. + Split out from openat code and called. + (do_test): Allow openat to fail with ENOSYS. Handle AT_FDCWD. + * sysdeps/generic/openat.c: Handle AT_FDCWD. + * sysdeps/generic/openat64.c: Likewise. + * io/tst-unlinkat.c: New file. + * io/tst-fstatat.c: New file. + * io/tst-futimesat.c: New file. + * io/tst-renameat.c: New file. + * io/tst-fchownat.c: New file. + * io/tst-openat.c: Don't fail if openat is not implemented. + + * sysdeps/unix/sysv/linux/powerpc/chown.c: Don't provide backward + compatibility code if new kernel is guaranteed. + + * time/sys/time.h: Add a few nonnull attributes. + +2005-11-09 Ulrich Drepper + + * io/fcntl.h: Declare openat and openat64. + * io/Makefile (routines): Add openat and openat64. + (tests): Add tst-openat. + * io/Versions: Add openat and openat64 for GLIBC_2.4. + * sysdeps/generic/openat.c: New file. + * sysdeps/generic/openat64.c: New file. + * sysdeps/unix/sysv/linux/openat.c: New file. + * sysdeps/unix/sysv/linux/openat64.c: New file. + * io/tst-openat.c: New file. + + * sysdeps/generic/check_fds.c (check_one_fd): For writable + descriptors, use /dev/full. + (__libc_check_standard_fds): Reverse modes so that common operations on + the descriptors fail. + * sysdeps/unix/sysv/linux/device-nrs.h: Add info for /dev/full. + +2005-11-07 Kazuhiro Inaoka + + * elf/elf.h (R_M32R_REL32): New macro. + +2005-11-05 Marcus Brinkmann + + * sysdeps/mach/hurd/bits/stat.h (S_IMMAP0): New macro. + (S_ISPARE): Unset the S_IMMAP0 flag. + +2005-11-07 Roland McGrath + + * configure.in: Grok --with-cpu=CPU option. If given, search for + sysdeps/.../machine/CPU subdirs, and give error if none are found. + * configure: Regenerated. + * config.make.in (with-cpu): New substituted variable. + * Makeconfig (+cflags): Add -mcpu=$(with-cpu) if set. + + * malloc/malloc.c (munmap_chunk): Suppress warnings from last change. + + * sysdeps/unix/bsd/sun: Directory and all subdirectories removed, + saved in ports repository. + * sysdeps/unix/sysv/linux/tcflush.c: Rewritten. + * sysdeps/unix/sysv/linux/tcflow.c: Rewritten. + +2005-11-06 Ulrich Drepper + + * malloc/malloc.c (munmap_chunk): Add sanity checks. + + * sysdeps/pthread/configure: Fix comment. + +2005-11-05 Ulrich Drepper + + * configure.in: Remove gnu_as definition and everything using it. + * config.make.in: Remove gnu-as. + * config.h.in: Remove HAVE_GNU_AS. + + * configure.in: Remove gnu_ld definition and everything using it. + * config.h.in: Remove HAVE_GNU_LD. + * config.make.in: Remove gnu-ld. + * csu/Makefile: Remove use of gnu-ld. + * csu/munch.awk: Removed. + * csu/munch-tmpl.c: Removed. + * include/libc-symbols.h: Remove use of HAVE_GNU_LD. + * posix/execl.c: Likewise. + * posix/execv.c: Likewise. + * stdio-common/psignal.c: Likewise. + * stdlib/exit.c: Likewise. + * string/strsignal.c: Likewise. + * string/tester.c: Likewise. + * sysdeps/generic/errlist.c: Likewise. + * sysdeps/generic/getenv.c: Likewise. + * sysdeps/generic/getgroups.c: Likewise. + * sysdeps/generic/init-posix.c: Likewise. + * sysdeps/posix/gettimeofday.c: Likewise. + * sysdeps/posix/system.c: Likewise. + * sysdeps/unix/bsd/init-posix.c: Likewise. + * sysdeps/unix/bsd/ulimit.c: Likewise. + * sysdeps/unix/bsd/sun/m68k/brk.S: Likewise. + * sysdeps/unix/bsd/sun/m68k/sethostid.S: Likewise. + * sysdeps/unix/bsd/sun/sparc/sethostid.S: Likewise. + * sysdeps/unix/i386/brk.S: Likewise. + * sysdeps/unix/sparc/brk.S: Likewise. + + * configure.in: Remove test for support for subtracting local labels. + * config.h.in: Remove HAVE_SUBTRACT_LOCAL_LABELS. + * stdio-common/vfprintf.c: Remove test of + HAVE_SUBTRACT_LOCAL_LABELS. + + * configure.in: If init_array/fini_array support is not available, + bail out. + * config.h.in: Remove trace of optional init_array/fini_array support. + * config.make.in: Likewise. + * csu/elf-init.c: Likewise. + * dlfcn/dlfcn.c: Likewise. + * elf/soinit.c: Likewise. + * sysdeps/ia64/elf/initfinit.c: Likewise. + +2005-11-04 Roland McGrath + + * sysdeps/i386/configure.in (libc_mtune_example): Variable removed. + * sysdeps/i386/configure: Regenerated. + + [BZ #1089] + * configure.in: Change order of add-on sysdeps directories, + so they are interleaved with main sysdeps directories. + * configure: Regenerated. + +2005-11-03 Roland McGrath + + * NEWS: Synch with 2.3 branch updates. + +2005-11-03 Ulrich Drepper + + * sunrpc/svc.c (svc_getreq_poll): Fix inefficient loop test. + +2005-11-03 Roland McGrath + + [BZ #1548] + * sunrpc/svc.c (svc_getreqset): Use ffsl instead of ffs on fd_mask, + make sure constant is long. + From Jay Lan . + +2005-11-03 Ulrich Drepper + + [BZ #1774] + * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use simple + gethostbyname2 lookup if AI_V4MAPPED|AI_ALL is set. + + * sysdeps/posix/getaddrinfo.c (gaih_inet): Avoid alloca when possible + while looking for scope delimiter. + Some pretty printing. + +2005-10-31 Steven Munroe + + * sysdeps/powerpc/powerpc64/Makefile + (sysdep_routines, elide-routines.os): Add hp-timing. + * sysdeps/powerpc/powerpc64/hp-timing.c: New file. + * sysdeps/powerpc/powerpc64/hp-timing.h: New file. + * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: New file. + +2005-10-31 Ulrich Drepper + + * resolv/res_init.c (__res_iclose): New function. Broken out of + res_nclose. Take addition parameter which determines whether + addresses should be freed. + (res_nclose): Call __res_iclose. + (res_thread_freeres): Likewise. + * resolv/res_data.c (res_close): Call __res_iclose. + * resolv/res_libc.c (res_init): No need to separately free the + addresses. + (__res_maybe_init): Likewise. + * resolv/res_send.c: Use __res_iclose instead of res_nclose. + * resolv/Versions [GLIBC_PRIVATE]: Add __res_iclose. + * include/resolv.h: Declare __res_iclose. + Add libc_hidden_proto for __res_iclose. + * hesiod/hesiod.c (__hesiod_res_set): No need to free name server + addresses here again. + + [BZ #1579] + * debug/execinfo.h: Change backtrace_symbols_fd comment. + +2005-10-24 H.J. Lu + + * sysdeps/ia64/fpu/libm-symbols.h (WEAK_LIBM_ENTRY): Add "__" + prefix to LOCAL_LIBM_ENTRY. + (WEAK_LIBM_END): Add "__" prefix to LOCAL_LIBM_END. + +2005-10-26 Jakub Jelinek + + * elf/dl-conflict.c (_dl_resolve_conflicts): Use _dl_debug_printf + instead of _dl_printf to print conflict processing debug message. + Reported by John Reiser . + +2005-10-30 Ulrich Drepper + + * misc/hsearch_r.c (hsearch_r): Remove duplicate test. + Patch by Chris Caputo . + +2005-10-28 Kaz Kojima + + * sysdeps/unix/sh/sysdep.S: Remove unnecessary weak_alias. + * sysdeps/unix/sysv/linux/sh/socket.S: Honor NO_WEAK_ALIAS. + +2005-10-28 Thorsten Kukuk + + * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey): Fix off + by one error. + +2005-10-24 Roland McGrath + + [BZ #1534] + * include/string.h: Use libc_hidden_proto for strnlen, + not libc_hidden_builtin_proto. + +2005-10-23 Ulrich Drepper + + * rt/mqueue.h: Cleanups. + +2005-10-22 Roland McGrath + + [BZ #1254] + * sysdeps/mach/hurd/getpeername.c (__getpeername): Fix last change. + From Samuel Thibault . + +2005-10-17 Thomas Schwinge + + [BZ #1252] + * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Don't use ?: as lvalue. + * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise. + +2005-10-20 Ulrich Drepper + + * iconvdata/ibm1364.h (__ucs4_to_ibm1364sb): Fix one mapping. + * iconvdata/ibm1388.h (__ucs4_to_ibm1388sb): Likewise. + * iconvdata/testdata/IBM1364: Add missing valid input. + * iconvdata/testdata/IBM1388: Likewise. + * iconvdata/testdata/IBM1364..UTF8: Adjust appropriately. + * iconvdata/testdata/IBM1388..UTF8: Likewise. + Patch by Masahide Washizawa . + +2005-08-23 GOTO Masanori + + [BZ #1498] + * sysdeps/alpha/remqu.S: Return the correct result when the same + dividend and divisor are provided, and they're negative numbers. + * sysdeps/alpha/divqu.S: Likewise. + +2005-10-18 Steven Munroe + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h (TESTS): + Define. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h (TESTS): + Likewise. + +2005-10-19 Ulrich Drepper + + * iconvdata/Makefile (modules): Add IBM1364, IBM1371, IBM1388, IBM1390, + and IBM1399. + (distribute): Add ibm1364.c, ibm1364.h, ibm1371.c, ibm1371.h, + ibm1388.c, ibm1388.h, ibm1390.c, ibm1390.h, ibm1399.c, and ibm1399.h. + * iconvdata/TESTS: Add entries for IBM1364, IBM1371, IBM1388, IBM1390, + and IBM1399. + * iconvdata/gconv-modules: Likewise. + * iconvdata/ibm1364.c: New file. + * iconvdata/ibm1364.h: New file. + * iconvdata/ibm1371.c: New file. + * iconvdata/ibm1371.h: New file. + * iconvdata/ibm1388.c: New file. + * iconvdata/ibm1388.h: New file. + * iconvdata/ibm1390.c: New file. + * iconvdata/ibm1390.h: New file. + * iconvdata/ibm1399.c: New file. + * iconvdata/ibm1399.h: New file. + * iconvdata/testdata/IBM1364: New file. + * iconvdata/testdata/IBM1364..UTF8: New file. + * iconvdata/testdata/IBM1371: New file. + * iconvdata/testdata/IBM1371..UTF8: New file. + * iconvdata/testdata/IBM1388: New file. + * iconvdata/testdata/IBM1388..UTF8: New file + * iconvdata/testdata/IBM1390: New file. + * iconvdata/testdata/IBM1390..UTF8: New file. + * iconvdata/testdata/IBM1399: New file. + * iconvdata/testdata/IBM1399..UTF8: New file. + Original patch by Masahide Washizawa . + +2005-10-17 Roland McGrath + + * elf/dl-load.c (MAP_COPY): When undefined, define to + MAP_PRIVATE|MAP_DENYWRITE instead of just MAP_PRIVATE. + (_dl_map_object_from_fd): Don't use MAP_DENYWRITE explicitly. + +2005-10-17 Martin Schwidefsky + + * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h (SC_STSZ, TESTS): + Define. + * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h (SC_STSZ, TESTS): + Likewise. + +2005-10-17 Ulrich Drepper + + * libio/oldfileops.c (_IO_old_file_xsputn): Fix last patch. + Return EOF not 0. + + * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Also + allow EACCES errors when opening /proc for now. + + * wctype/wcfuncs.c: Don't use expensive wide char lookups in isw* + functions if character is in ASCII range. + * wctype/wcfuncs_l.c: Likewise. + +2005-05-03 Robert Millan + + * abi-tags (.*-.*-knetbsd.*-gnu.*): New match, with ABI value 4. + * elf/cache.c (print_entry): Match the kNetBSD ABI tag. + +2005-10-16 Alfred M. Szmidt + + * sysdeps/generic/bits/mman.h + [__USE_GNU] (MREMAP_MAYMOVE, REMAP_FIXED): New macros. + +2005-10-16 Kaz Kojima + + * sysdeps/unix/sysv/linux/sh/makecontext.S: New file. + * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: New file. + * sysdeps/unix/sysv/linux/sh/sh4/getcontext.S: New file. + * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: New file. + * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S: New file. + * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: New file. + * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S: New file. + * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.h: New file. + * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.h: New file. + * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Removed. + * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: New file. + * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: New file. + +2005-09-13 Jakub Jelinek + + [BZ #1228] + * include/limits.h (LLONG_MIN, LLONG_MAX, ULLONG_MAX): Make sure these + are defined for -D_GNU_SOURCE or -D_ISOC99_SOURCE even when not + -std=c99. + +2005-10-16 Kaz Kojima + + * sysdeps/unix/sysv/linux/sh/bits/mman.h: Define MREMAP_FIXED. + +2005-08-05 Alfred M. Szmidt + + [BZ #1252] + * sysdeps/mach/hurd/setitimer.c (restart_itimer): Move static fn + forward decl out of function body. + * sysdeps/mach/hurd/profil.c: Likewise. + +2005-10-16 Roland McGrath + + [BZ #1254] + * sysdeps/mach/hurd/getpeername.c (__getpeername): Respect *LEN + byte limit when setting ADDR->sa_family. + Reported by Samuel Thibault . + + [BZ #1253] + * sysdeps/mach/hurd/dl-sysdep.h + [SHARED] (DL_ARGV_NOT_RELRO): New macro. + + [BZ #1253] + * sysdeps/mach/hurd/i386/init-first.c (init): Make cast kosher. + (_hurd_stack_setup): Don't declare with arguments and ellipsis. + Use __builtin_frame_address and __builtin_return_address. + (_dl_init_first): Likewise. + + [BZ #1249] + * sysdeps/mach/hurd/i386/init-first.c (_cthread_init_routine): Declare + as weak extern. + (init): Check for it being undefined. + +2005-10-16 Daniel Jacobowitz + Roland McGrath + + * Makerules [module-names] (extra-modules-build): New variable. + ($(extra-modules-build:%=$(objpfx)%.so)): New static pattern rule. + Depend on libc.so and libc_nonshared.a. + * dlfcn/Makefile ($(test-modules)): Remove static pattern rule. + * elf/Makefile (modules-names-nobuild): New variable, add filtmod1. + ($(test-modules)): Remove static pattern rule. + +2005-10-15 Thomas Schwinge + + * include/dirent.h: Include . + * sysdeps/mach/hurd/fdopendir.c: Include . + (fdopendir): Correct argument to _hurd_fd_get(). + * sysdeps/mach/hurd/opendir.c (__opendir): Remove stray `}'. + +2005-08-20 Paul Eggert + + [BZ #1224] + * posix/regcomp.c (init_word_char, duplicate_node_closure, + fetch_token, peek_token_bracket, build_range_exp, + build_collating_symbol): Remove forward decls; no longer needed + now that we use prototypes. + +2005-10-15 Ulrich Drepper + + [BZ #1221] + * posix/regex_internal.h: Remove last traces of + RE_NO_INTERNAL_PROTOTYPES. + + [BZ #968] + * string/strxfrm_l.c (STRXFRM): Fix exit conditions of two loops. + + * sysdeps/unix/fdopendir.c (fdopendir): Make sure descriptor + allows reading. + + * wcsmbs/tst-mbrtowc2.c: Use de_DE.UTF-8 instead of en_US.UTF-8. + * wcsmbs/Makefile: Define tst-mbrtowc2-ENV. + + * posix/regexec.c: Finish prototyping of static functions. + * posix/regex_internal.c: Likewise. + +2005-10-14 Roland McGrath + + * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): New function, broken + out of ... + (__opendir): ... here. Call it. + * sysdeps/mach/hurd/fdopendir.c: New file. + +2005-10-14 Ulrich Drepper + + [BZ #865] + * math/tgmath.h: Correctly determine result type for + __TGMATH_BINARY_REAL_ONLY, + __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY, + __TGMATH_TERNARY_REAL_ONLY, and __TGMATH_BINARY_REAL_IMAG. + +2005-09-17 Andreas Jaeger + + [BZ #865] + * math/test-tgmath-int.c: New file. + * math/Makefile (tests): Add test-tgmath-int. + +2005-10-14 Ulrich Drepper + + [BZ #804] + * malloc/tst-mtrace.sh: Work around for bootstraping. + + * locale/programs/ld-collate.c (collate_output): Fix counting of + elements. Don't limit table size. Use correct secondary hash + function. + * locale/localeinfo.h (LIMAGIC): Change value returned for LC_COLLATE. + * posix/fnmatch_loop.c: Adjust for changed secondary hash function. + * posix/regcomp.c: Likewise. + + * time/asctime.c (asctime_internal): Use __snprintf instead of + snprintf to avoid PLT entry. + + * sysdeps/unix/opendir.c (__opendir): Pass extra argument to + __alloc_dir. + (__alloc_dir): Only close descriptor on error if new parameter is true. + * sysdeps/unix/fdopendir.c (fdopendir): Pass extra argument to + __alloc_dir. Don't close fd on error. + * include/dirent.h (__alloc_dir): Adjust prototype. + + * stdlib/Makefile (tests): Add tst-ucontext-off. + * stdlib/tst-ucontext-off.c: New file. + * sysdeps/unix/sysv/linux/x86_64/ucontext_i.h (TESTS): Define. + * sysdeps/unix/sysv/linux/i386/ucontext_i.h (TESTS): Likewise. + + [BZ #1468] + * sysdeps/unix/sysv/linux/x86_64/ucontext_i.h: Fix values for + oFPREGS, oSIGMASK, oFPREGSMEM, and oMXCSR. + Patch by Nicholas Miell . + + [BZ #1460] + * time/asctime.c (asctime_internal): New function, derived from + asctime_r. Takes additional parameter which is the buffer length. + Use snprintf instead sprintf, if it overflows, fail. + (asctime_r): Call asctime_internal with 26 as buffer length. + (asctime): Call asctime_internal with length of internal buffer. + * time/Makefile (tests): Add bug-asctime_r. + * time/bug-asctime_r.c: New file. + + [BZ #1459] + * time/asctime.c (__asctime_r): Check for tm_year computation to + overflow and fail in this case. + * time/Makefile (tests): Add bug-asctime. + * time/bug-asctime.c: New file. + + [BZ #1458] + * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MREMAP_FIXED. + * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise. + * misc/sys/mman.h: Add ellipsis after last parameter of mremap and + adjust leading comment. + * sysdeps/unix/sysv/linux/syscalls.list: Add pointer parameter to + mremap syscall. + * include/sys/mman.h (__mremap): Add ellipsis. + * malloc/memusage.c: Adjust mremap wrapper for optional additional + parameter. + +2005-10-13 Ulrich Drepper + + [BZ #1405] + * libio/iogetdelim.c (_IO_getdelim): Fix truncation of return + value. Avoid overflow in computation. + + [BZ #1373] + * argp/argp.h: Remove __NTH for __argp_usage inline function. + +2005-08-26 Paul Eggert + + [BZ #1248] + * posix/regex_internal.h (bitset_not, bitset_merge, bitset_not_merge, + bitset_mask, re_string_allocate, re_string_construct, + re_string_reconstruct, re_string_destruct, re_string_elem_size_at, + re_string_char_size_at, re_string_wchar_at, re_string_peek_byte_case, + re_string_fetch_byte_case, re_node_set_alloc, re_node_set_init_1, + re_node_set_init_2, re_node_set_init_copy, re_node_set_add_intersect, + re_node_set_init_union, re_node_set_merge, re_node_set_insert, + re_node_set_insert_last, re_node_set_compare, re_node_set_contains, + re_node_set_remove_at, re_dfa_add_node, re_acquire_state, + re_acquire_state_context): Remove unnecessary forward decls. + (re_string_char_size_at, re_string_wchar_at, re_string_elem_size_at): + Put __attribute at function definition, now that the function decl + has been removed. + * posix/regex_internal.c (re_string_peek_byte_case, + re_string_fetch_byte_case, re_node_set_compare, re_node_set_contains): + Likewise. + +2005-08-23 Paul Eggert + + [BZ #1231] + * posix/regex_internal.c (re_string_skip_chars, register_state, + calc_state_hash): Remove forward decls. + * posix/regexec.c (acquire_init_state_context, check_halt_node_context, + proceed_next_node, pop_fail_stack, sub_epsilon_src_nodes, + clean_state_log_if_needed): Likewise. + +2005-10-13 Ulrich Drepper + + * posix/regex.c: No need to use K&R definitions for static functions. + * posix/regex_internal.c: Likewise. + * posix/regcomp.c: Likewise. + + [BZ #1466] + * sysdeps/generic/s_csqrt.c (__csqrt): For zero real part, return + principal square root. + * sysdeps/generic/s_csqrtf.c (__csqrtf): Likewise. + * sysdeps/generic/s_csqrtl.c (__csqrtl): Likewise. + * math/libm-test.inc (csqrt_test): Add test for returning + principal value. + + * include/features.h: Define _POSIX_C_SOURCE to 200112 for + _XOPEN_SOURCE == 600. + +2005-10-12 Ulrich Drepper + + * malloc/malloc.c (_int_free): Fail if block size is obviously wrong. + + * include/malloc.h: Remove _int_new_arena prototype. + * malloc/arena.c (_int_new_arena): Move definition ahead of + arena_get2 and make static. + + Correctly implement M_MXFAST. + * malloc/malloc.c (struct malloc_state): Replace max_fast with flags + fields. + (global_max_fast): New variable. + (set_max_fast): Change to not require arena parameter and to modify + global_max_fast. Change all callers. + (get_max_fast): New macro. Use this instead of directly accessing + now removed max_fast arena member. + (have_fastchunks): Use flags instead of max_fast. + (clear_fastchunks): Likewise. + (set_fastchunks): Likewise. + (contiguous): Likewise. + (noncontiguous): Likewise. + (set_noncontiguous): Likewise. + (set_contiguous): Likewise. + (malloc_init_state): Explicitly set FASTCHUNKS_BIT. Call set_max_fast + only for main arena. + * malloc/hooks.c (public_sET_STATe): Adjust set_max_fast use. + +2005-10-10 Daniel Jacobowitz + + * sysdeps/generic/bits/byteswap.h (__bswap_constant_16): New macro. + (__bswap_16): Use it. + (__bswap_constant_32): New macro. + (__bswap_32): Use it. + +2005-10-10 Ulrich Drepper + + * malloc/arena.c (ptmalloc_unlock_all2): Reset atfork_recursive_cntr. + +2005-10-08 Jakub Jelinek + + * nss/getent.c (hosts_keys): Pass INADDRSZ as size rather + than IN6ADDRSZ to AF_INET gethostbyaddr. + +2005-10-07 Roland McGrath + + [BZ #1438] + * include/features.h: Make tests on _FORTIFY_SOURCE and __OPTIMIZE__ + friendly to -Wundef. + (__USE_FORTIFY_LEVEL): Always define it, to 0 if nothing else. + +2005-10-06 Ulrich Drepper + + * sysdeps/unix/sysv/linux/readonly-area.c: Allow fopen to fail because + the file does not exist. + +2005-10-05 Simon Josefsson + + [BZ #1423] + * crypt/md5.h (MD5_DIGEST_SIZE, MD5_BLOCK_SIZE): New macros. + +2005-10-05 Roland McGrath + + * crypt/Makefile (distribute): Remove duplicate defn. + + * sysdeps/generic/ldsodefs.h (struct audit_ifaces): + Use ARCH_PLTENTER_MEMBERS and ARCH_PLTEXIT_MEMBERS macros if defined. + * elf/tst-auditmod1.c: Include to define more + architecture-specific code. + * sysdeps/generic/tst-audit.h: New file. + * elf/Makefile (distribute): Add it. + +2005-10-05 Daniel Jacobowitz + + * elf/elf.h (R_ARM_TLS_DTPMOD32, R_ARM_TLS_DTPOFF32, + R_ARM_TLS_TPOFF32, R_ARM_TLS_GD32, R_ARM_TLS_LDM32, + R_ARM_TLS_LDO32, R_ARM_TLS_IE32, R_ARM_TLS_LE32): New macros. + +2005-10-03 Roland McGrath + + * sysdeps/powerpc/nofpu: Directory removed, saved in ports repository. + +2005-09-30 Ulrich Drepper + + * posix/regex.h: Pretty printing. + Clean up namespace a bit. + +2005-09-30 Jakub Jelinek + + * posix/regexec.c (update_cur_sifted_state, check_arrival, + check_arrival_add_next_nodes): Avoid using uninitialized variable. + + * malloc/memusage.c (dest): Fix a bunch of warnings on 32-bit arches. + + * sysdeps/i386/fpu/libm-test-ulps: Update for GCC 4.0.x. + +2005-09-29 Ulrich Drepper + + * iconvdata/Makefile (modules): Add IBM803, IBM901, IBM902, IBM921, + IBM1008, IBM1008_420, IBM1097, IBM1112, IBM1123, IBM1130, IBM1140, + IBM1141, IBM1142, IBM1143, IBM1144, IBM1145, IBM1146, IBM1147, IBM1148, + IBM1149, IBM1166, IBM1167, IBM4517, IBM4899, IBM4909, IBM4971, + IBM5347, IBM9030, IBM9066, IBM9448, IBM12712, IBM16804. + (distribute): Add ibm803.c, ibm803.h, ibm901.c, ibm901.h, ibm902.c, + ibm902.h, ibm921.c, ibm921.h, ibm1008.c, ibm1008.h, ibm1008_420.c, + ibm1097.c, ibm1097.h, ibm1112.c, ibm1112.h, ibm1123.c, ibm1123.h, + ibm1130.c, ibm1130.h, ibm1140.c, ibm1140.h, ibm1141.c, ibm1141.h, + ibm1142.c, ibm1142.h, ibm1143.c, ibm1143.h, ibm1144.c, ibm1144.h, + ibm1145.c, ibm1145.h, ibm1146.c, ibm1146.h, ibm1147.c, ibm1147.h, + ibm1148.c, ibm1148.h, ibm1149.c, ibm1149.h, ibm1166.c, ibm1166.h, + ibm1167.c, ibm1167.h, ibm4517.c, ibm4517.h, ibm4899.c, ibm4899.h, + ibm4909.c, ibm4909.h, ibm4971.c, ibm4971.h, ibm5347.c, ibm5347.h, + ibm9030.c, ibm9030.h, ibm9066.c, ibm9066.h, ibm9448.c, ibm9448.h, + ibm12712.c, ibm12712.h, ibm16804.c, ibm16804.h. + * iconvdata/TESTS: Add entries for new modules. + * iconvdata/gconv-modules: Likewise. + * iconvdata/ibm803.c: New file. + * iconvdata/ibm803.h: New file. + * iconvdata/ibm901.c: New file. + * iconvdata/ibm901.h: New file. + * iconvdata/ibm902.c: New file. + * iconvdata/ibm902.h: New file. + * iconvdata/ibm921.c: New file. + * iconvdata/ibm921.h: New file. + * iconvdata/ibm1008.c: New file. + * iconvdata/ibm1008.h: New file. + * iconvdata/ibm1008_420.c: New file. + * iconvdata/ibm1097.c: New file. + * iconvdata/ibm1097.h: New file. + * iconvdata/ibm1112.c: New file. + * iconvdata/ibm1112.h: New file. + * iconvdata/ibm1123.c: New file. + * iconvdata/ibm1123.h: New file. + * iconvdata/ibm1130.c: New file. + * iconvdata/ibm1130.h: New file. + * iconvdata/ibm1140.c: New file. + * iconvdata/ibm1140.h: New file. + * iconvdata/ibm1141.c: New file. + * iconvdata/ibm1141.h: New file. + * iconvdata/ibm1142.c: New file. + * iconvdata/ibm1142.h: New file. + * iconvdata/ibm1143.c: New file. + * iconvdata/ibm1143.h: New file. + * iconvdata/ibm1144.c: New file. + * iconvdata/ibm1144.h: New file. + * iconvdata/ibm1145.c: New file. + * iconvdata/ibm1145.h: New file. + * iconvdata/ibm1146.c: New file. + * iconvdata/ibm1146.h: New file. + * iconvdata/ibm1147.c: New file. + * iconvdata/ibm1147.h: New file. + * iconvdata/ibm1148.c: New file. + * iconvdata/ibm1148.h: New file. + * iconvdata/ibm1149.c: New file. + * iconvdata/ibm1149.h: New file. + * iconvdata/ibm1166.c: New file. + * iconvdata/ibm1166.h: New file. + * iconvdata/ibm1167.c: New file. + * iconvdata/ibm1167.h: New file. + * iconvdata/ibm4517.c: New file. + * iconvdata/ibm4517.h: New file. + * iconvdata/ibm4899.c: New file. + * iconvdata/ibm4899.h: New file. + * iconvdata/ibm4909.c: New file. + * iconvdata/ibm4909.h: New file. + * iconvdata/ibm4971.c: New file. + * iconvdata/ibm4971.h: New file. + * iconvdata/ibm5347.c: New file. + * iconvdata/ibm5347.h: New file. + * iconvdata/ibm9030.c: New file. + * iconvdata/ibm9030.h: New file. + * iconvdata/ibm9066.c: New file. + * iconvdata/ibm9066.h: New file. + * iconvdata/ibm9448.c: New file. + * iconvdata/ibm9448.h: New file. + * iconvdata/ibm12712.c: New file. + * iconvdata/ibm12712.h: New file. + * iconvdata/ibm16804.c: New file. + * iconvdata/ibm16804.h: New file. + * iconvdata/testdata/IBM803: New file. + * iconvdata/testdata/IBM803..UTF8: New file. + * iconvdata/testdata/IBM901: New file. + * iconvdata/testdata/IBM901..UTF8: New file. + * iconvdata/testdata/IBM902: New file. + * iconvdata/testdata/IBM902..UTF8: New file. + * iconvdata/testdata/IBM921: New file. + * iconvdata/testdata/IBM921..UTF8: New file. + * iconvdata/testdata/IBM1008: New file. + * iconvdata/testdata/IBM1008..UTF8: New file. + * iconvdata/testdata/IBM1097: New file. + * iconvdata/testdata/IBM1097..UTF8: New file. + * iconvdata/testdata/IBM1112: New file. + * iconvdata/testdata/IBM1112..UTF8: New file. + * iconvdata/testdata/IBM1123: New file. + * iconvdata/testdata/IBM1123..UTF8: New file. + * iconvdata/testdata/IBM1130: New file. + * iconvdata/testdata/IBM1130..UTF8: New file. + * iconvdata/testdata/IBM1140: New file. + * iconvdata/testdata/IBM1140..UTF8: New file. + * iconvdata/testdata/IBM1141: New file. + * iconvdata/testdata/IBM1141..UTF8: New file. + * iconvdata/testdata/IBM1142: New file. + * iconvdata/testdata/IBM1142..UTF8: New file. + * iconvdata/testdata/IBM1143: New file. + * iconvdata/testdata/IBM1143..UTF8: New file. + * iconvdata/testdata/IBM1144: New file. + * iconvdata/testdata/IBM1144..UTF8: New file. + * iconvdata/testdata/IBM1145: New file. + * iconvdata/testdata/IBM1145..UTF8: New file. + * iconvdata/testdata/IBM1146: New file. + * iconvdata/testdata/IBM1146..UTF8: New file. + * iconvdata/testdata/IBM1147: New file. + * iconvdata/testdata/IBM1147..UTF8: New file. + * iconvdata/testdata/IBM1148: New file. + * iconvdata/testdata/IBM1148..UTF8: New file. + * iconvdata/testdata/IBM1149: New file. + * iconvdata/testdata/IBM1149..UTF8: New file. + * iconvdata/testdata/IBM1166: New file. + * iconvdata/testdata/IBM1166..UTF8: New file. + * iconvdata/testdata/IBM1167: New file. + * iconvdata/testdata/IBM1167..UTF8: New file. + * iconvdata/testdata/IBM4517: New file. + * iconvdata/testdata/IBM4517..UTF8: New file. + * iconvdata/testdata/IBM4899: New file. + * iconvdata/testdata/IBM4899..UTF8: New file. + * iconvdata/testdata/IBM4909: New file. + * iconvdata/testdata/IBM4909..UTF8: New file. + * iconvdata/testdata/IBM4971: New file. + * iconvdata/testdata/IBM4971..UTF8: New file. + * iconvdata/testdata/IBM5347: New file. + * iconvdata/testdata/IBM5347..UTF8: New file. + * iconvdata/testdata/IBM9030: New file. + * iconvdata/testdata/IBM9030..UTF8: New file. + * iconvdata/testdata/IBM9066: New file. + * iconvdata/testdata/IBM9066..UTF8: New file. + * iconvdata/testdata/IBM9448: New file. + * iconvdata/testdata/IBM9448..UTF8: New file. + * iconvdata/testdata/IBM12712: New file. + * iconvdata/testdata/IBM12712..UTF8: New file. + * iconvdata/testdata/IBM16804: New file. + * iconvdata/testdata/IBM16804..UTF8: New file. + Patch by Masahide WASHIZAWA . + + * iconvdata/run-iconv-test.sh: Run ASCII->encoding->ASCII suntzus + test only if $subset is N. + +2005-09-29 Roland McGrath + + [BZ #1392] + * posix/sys/wait.h [!__GNUC__ || __cplusplus] (__WAIT_INT): Use const. + +2005-09-29 Alfred M. Szmidt + + * elf/rtld.c [DL_ARGV_NOT_RELRO] (_dl_argc, _dl_skip_args): + Don't use attribute_relro. + +2005-09-29 Roland McGrath + + [BZ #1392] + * posix/sys/wait.h (__WAIT_INT): Rewrite using an initializer, + in case __typeof yields a const-qualified type. + +2005-09-28 Ulrich Drepper + + * dirent/dirent.h: Declare fdopendir. + * dirent/Versions: Export fdopendir for GLIBC_2.4. + * dirent/Makefile (routines): Add fdopendir. + (tests): Add tst-fdopendir. + * dirent/tst-fdopendir.c: New file. + * include/dirent.h: Declare __alloc_dir. + * sysdeps/generic/fdopendir.c: New file. + * sysdeps/unix/fdopendir.c: New file. + * sysdeps/unix/opendir.c: Split off back part of opendir into new + function __alloc_dir. + +2005-09-26 Steven Munroe + + [BZ #1384] + * sysdeps/powerpc/fpu/libm-test-ulps: Adjust expected y1, y1f, yn, + ynf results. + +2005-09-06 Paul Eggert + Ulrich Drepper + + [BZ #1302] + Change bitset word type from unsigned int to unsigned long int, + as this has better performance on typical 64-bit hosts. Change + bitset type name to bitset_t. + * posix/regcomp.c (build_equiv_class, build_charclass): + (build_range_exp, build_collating_symbol): + Prefer bitset_t to re_bitset_ptr_t in prototypes, when the actual + argument is a bitset. This is merely a style issue, but it makes + it clearer that an entire array is expected. + (re_compile_fastmap_iter, init_dfa, init_word_char, optimize_subexps, + lower_subexp): Adjust for new bitset_t definition. + (lower_subexp, parse_bracket_exp, built_charclass_op): Likewise. + * posix/regex_internal.h (bitset_set, bitset_clear, bitset_contain, + bitset_not, bitset_merge, bitset_set_all, bitset_mask): Likewise. + * posix/regexec.c (check_dst_limits_calc_pos_1, + check_subexp_matching_top, build_trtable, group_nodes_into_DFAstates): + Likewise. + * posix/regcomp.c (utf8_sb_map): Don't assume initializer + == 0xffffffff. + * posix/regex_internal.h (BITSET_WORD_BITS): Renamed from UINT_BITS. + All uses changed. + (BITSET_WORDS): Renamed from BITSET_UINTS. All uses changed. + (bitset_word_t): New type, replacing 'unsigned int' for bitset uses. + All uses changed. + (BITSET_WORD_MAX): New macro. + (bitset_set, bitset_clear, bitset_contain, bitset_empty, + (bitset_set_all, bitset_copy): Adjust for bitset_t change. + (bitset_empty, bitset_copy): + Prefer sizeof (bitset_t) to multiplying it out ourselves. + (bitset_not_merge): Remove; unused. + (bitset_contain): Return bool, not unsigned int with one bit on. + All callers changed. + * posix/regexec.c (build_trtable): Don't assume bitset_t has no + stricter alignment than re_node_set; do this by defining a new + internal type struct dests_alloc and using it to allocate memory. + +2005-09-27 Ulrich Drepper + + [BZ #1230] + * stdlib/strtod_l.c (STRNCASECMP): Always use C locale object. + (TOLOWER_C): Define. Use it when recognizing inf and nan. + * stdlib/Makefile (tests): Add bug-strtod2. + * stdlib/bug-strtod2.c: New file. + +2005-09-21 Ralf Wildenhues + + [BZ #1361] + * argp/argp-fmtstream.h [HAVE_CONFIG_H]: Do not #include . + * argp/argp-eexst.c, argp/argp-fmtstream.c, argp/argp-fs-xinl.c, + argp/argp-xinl.c: Fix up whitespace. + +2005-09-27 Ulrich Drepper + + [BZ #1158] + * stdlib/cxa_atexit.c (__new_exitfn): Rewrite to preserve order in + which the functions were registered. + * dlfcn/Makefile: Add rules to build and run bug-atexit1 and + bug-atexit2. + * dlfcn/bug-atexit1.c: New file. + * dlfcn/bug-atexit1-lib.c: New file. + * dlfcn/bug-atexit2.c: New file. + * dlfcn/bug-atexit2-lib.c: New file. + + [BZ #1078] + * libio/fileops.c (_IO_new_file_xsputn): Determine amount of + available space in non-line-buffered buffer correctly. + * libio/oldfileops.c (_IO_old_file_xsputn): Likewise. + * stdio-common/Makefile (tests): Add tst-fwrite. + * stdio-common/tst-fwrite.c: New file. + +2005-09-26 Ulrich Drepper + + [BZ #838] + * malloc/arena.c (ptmalloc_lock_all): If global lock already taken + by the same thread, just bump the counter. + (ptmalloc_unlock_all): If counter for recursive locks hasn't reached + zero, don't do anything else. + * malloc/Makefile (tests): Add tst-mallocfork. + * malloc/tst-mallocfork.c: New file. + + [BZ #808] + * malloc/malloc.c (_int_realloc): Make error message clearer. + + [BZ #713] + * libio/iofgets.c: Treat N==1 correctly. + * libio/iofgets_u.c: Likewise. + * libio/iofgetws.c: Likewise. + * libio/iofgetws_u.c: Likewise. + * stdio-common/Makefile (tests): Add tst-fgets. + * stdio-common/tst-fgets.c: New file. + +2005-01-11 Thorsten Kukuk + + [BZ #652] + * posix/getconf.c: Add new option -a to print the names of + the current system configuration variables to stdout. + Based on patch from Josh Aas . + +2005-09-26 Ulrich Drepper + + [BZ #644] + * sysdeps/posix/getaddrinfo.c (fls): New function. + (gaih_inet): Don't use ffs, use fls. Convert address to native byte + order first. + * posix/Makefile (tests): Add tst-rfc3484. + * posix/tst-rfc3484.c: New file. + + [BZ #627] + * libio/iofclose.c (_IO_new_fclose): Unlock the internal lock + before destroying it as part of the _IO_FINISH call. + * libio/oldiofclose.c (_IO_old_fclose): Likewise. + + [BZ #524] + * sysdeps/posix/getaddrinfo.c (match_prefix): Fix matching loop if + number of bits is multiple of 8. + Patch by Fredrik Tolf . + + [BZ #516] + * elf/dl-load.c: Report failed loading due to ELF class mismatch + with better words. + + [BZ #162] + * manual/llio.texi (Waiting for I/O): Correct description of read + conditions reported by select. + +2005-09-24 Jakub Jelinek + + * inet/getnetgrent_r.c (innetgr): Call endfct even if result != 0. + Return 1 only if result == 1. Patch by Benoit Capelle. + +2005-09-25 Ulrich Drepper + + [BZ #278] + * manual/stdio.texi (Hook Functions): Correct type of position + parameter of seeker and fix fallout of the change in the text. + + [BZ #714] + * iconv/loop.c [!STORE_REST] (SINGLE): Correctly record number of + left-over bytes and store them correctly. + * wcsmbs/tst-mbrtowc2.c: New file. + * wcsmbs/Makefile (tests): Add tst-mbrtowc2. + +2005-09-24 Roland McGrath + + * sysdeps/unix/sysv/i386/signal.S: Removed, saved in ports repository. + * sysdeps/unix/sysv/i386/sigreturn.S: Likewise. + +2005-09-24 Ulrich Drepper + + [BZ #545] + * locale/iso-639.def: More updates from the current spec. + + * locale/programs/ld-address.c (address_finish): Produce better + error messages for invalid lang_ab use. + + * locale/iso-639.def: Add a few updates from current spec. + +2005-09-23 Ulrich Drepper + + [BZ #704] + * locale/iso-4217.def: Replace MGF with MGA. + + * iconvdata/jis0208.c (__jisx0208_from_ucs4_lat1): Reduce size of + array. + * iconvdata/jis0208.h (ucs4_to_jisx0208): Adjust access. + +2004-08-13 GOTO Masanori + + [BZ #395] + * iconvdata/jis0208.c: Remove 0x005C mapping from + __jisx0208_from_ucs4_lat1. + Reported by Fumitoshi UKAI + +2005-09-23 Ulrich Drepper + + [BZ #394] + * libio/fmemopen.c (fmemopen_write): Return 0 instead of -1 if + nothing can be written. + * libio/iofopncook.c (_IO_cookie_write): If something went wrong, + set error bit. + +2005-09-22 Ulrich Drepper + + [BZ #281] + * posix/regex.h: Define RE_TRANSLATE_TYPE as unsigned char *. + * posix/regcomp.c: Remove unnecessary uses of + unsigned RE_TRANSLATE_TYPE. + * posix/regex_internal.h: Likewise. + * posix/regex_internal.c: Likewise. + * posix/regexexec.c: Likewise. + Based on a patch by Stepan Kasal . + + [BZ #1035] + * locale/iso-4217.def: Replace TRL entry with TRY for new Turkish Lira. + + [BZ #1363] + * nscd/nscd_getpw_r.c (nscd_getpw_r): Remove incorrectly C&Ped + free call in code handling detection of GC runs. + +2005-09-22 Roland McGrath + + * elf/dl-tsd.c (__libc_dl_error_tsd): Use attribute_tls_model_ie for + static __thread variable. + From Alexandre Oliva + + * Makefile ($(objpfx)c++-types-check.out): Use $<, not $^, in command. + Reported by Alexandre Oliva . + +2005-09-20 Jakub Jelinek + + * nscd/dbg_log.c (init_logfile): Use fopen64 rather than fopen. + +2005-09-20 Roland McGrath + + * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use execv, not execl. + + [BZ #1346] + * elf/dl-load.c (_dl_map_object_from_fd) [HAVE_Z_RELRO]: Do relro + magic on __stack_prot only if [SHARED]. Skip mprotect if __stack_prot + lies outside the page-rounded-down relro region. + +2005-09-19 Richard Henderson + + [BZ #1358] + * sysdeps/unix/alpha/sysdep.h (inline_syscall1): Copy argument(s) + to a temporary first. + (inline_syscall2, inline_syscall3, inline_syscall4): Likewise. + (inline_syscall5, inline_syscall6): Likewise. + + * sysdeps/alpha/ldiv.S (lldiv): Add alias. + +2005-09-17 Ulrich Drepper + + [BZ #1010] + * sysdeps/unix/sockatmark.c (sockatmark): Use SIOCATMARK correctly. + + [BZ #1053] + * debug/xtrace.sh: Add missing escape character in -? match. + Patch by Peter Breitenlohner . + + [BZ #1051] + * wctype/wctype.h: Remove stray __END_NAMESPACE_C99. + * stdlib/stdlib.h: Use __END_NAMESPACE_STD instead of + __END_NAMESPACE_C99 in one place. + * scripts/begin-end-check.pl: New file. + Patch by Ralph Loader . + * Makefile: Add rules to run scripts/begin-end-check.pl. + +2005-09-17 Andreas Jaeger + + * timezone/zdump.c: Include ctype.h. + +2005-09-16 Andreas Jaeger + + [BZ #1047] + * sysdeps/unix/sysv/linux/mips/getpagesize.c: New file. + +2005-09-16 Maciej W. Rozycki + + [BZ #933] + * sysdeps/unix/sysv/linux/mips/brk.c (__brk): Load the number of + the syscall immediately before invocation. + * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall): Likewise. + + * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Use + macros to handle GP. + * sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall): + Likewise. Update inaccurate comments. + +2005-09-13 Ulrich Drepper + + * sysdeps/posix/spawni.c (__spawni): Automatically recognize some + more cases when we can use vfork. + +2005-08-29 Thomas Schwinge + + [BZ #1261] + * manual/memory.texi (Hooks for Malloc): Correct prototype of + my_init_hook and definition of my_free_hook. + +2005-09-12 Roland McGrath + + [BZ #1331] + * malloc/obstack.h [!__STDC__] (obstack_int_grow_fast): Fix misnamed + macro argument. + Reported by Matej Vela . + +2005-09-12 Jakub Jelinek + + * malloc/malloc.c (struct malloc_chunk): Fix comment typo. + (public_cALLOc): For mmapped chunks and perturb_byte != 0, + don't clear SIZE_SZ bytes more than should be cleared. + +2005-09-09 Jakub Jelinek + + * inet/getnetgrent_r.c: Include assert. + (setup): Remove FUNC_NAME and ALL arguments, assume they are always + "setnetgrent" and 1. + (endnetgrent_hook): New function. + (internal_endnetgrent): Use it. + (__internal_setnetgrent_reuse): Use it. Adjust setup caller. + If status is NSS_STATUS_SUCCESS, yet action is continue, call + endnetgrent hook. + (internal_getnetgrent_r): Use __nss_lookup_function rather than + setup. Recompute getfct pointer after successful + __internal_setnetgrent_reuse. Don't use __nss_next. + (innetgr): Use __nss_lookup_function instead of __nss_lookup. + Adjust setup caller. + * nss/nss_files/files-netgrp.c (_nss_files_endnetgrent): Always clear + data_size and cursor. Add libnss_files_hidden_proto and + libnss_files_hidden_def. + (_nss_files_setnetgrent): Call _nss_files_endnetgrent on failure. + * nis/nss_nis/nis-netgrp.c (internal_endnetgrent): Always clear + data_size and cursor. + (_nss_nis_setnetgrent): Don't call internal_endnetgrent. + (_nss_nis_getnetgrent_r): Remove result->cursor == NULL handling. + * nis/nss_nisplus/nisplus-netgrp.c (internal_endnetgrent): Always clear + data_size and position. + (_nss_nisplus_setnetgrent): Don't call internal_endnetgrent. + +2005-09-09 Ulrich Drepper + + * nss/getent.c (netgroup_keys): Call endnetgrent. + (main): Call mtrace. + + * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): We don't + need locking for the stream. Use feof_unlocked. + +2005-09-09 Jakub Jelinek + + [BZ #1318] + * locale/loadarchive.c (_nl_load_locale_from_archive): Free + normalized_codeset even if p was already normalized. + Reported by Jaroslav Snajdr . + +2005-09-08 Roland McGrath + + * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Decode DSOCAPS + properly, first byte is bit number in mask. Skip disabled caps. + +2005-07-11 Derek R. Price + + [BZ #1061] + * sysdeps/generic/glob.c (glob): Only a 0 return from + getlogin_r means success, according to POSIX 1003.2. + +2005-06-23 Paul Eggert + + [BZ #1033] + * time/mktime.c: Import from gnulib. + The following macros are now consistent with other gnulib code. + This does not change mktime's behavior. + (TYPE_IS_INTEGER): New macro. + (time_t_is_integer): Use it. + (TYPE_TWOS_COMPLEMENT): New macro. + (twos_complement_arithmetic): Use it. + (TYPE_ONES_COMPLEMENT): New macro. + (TYPE_MINIMUM, TYPE_MAXIMUM): Now supports signed-magnitude. + mktime doesn't use this, but the code now matches other gnulib code. + (ranged_convert): Pacify GCC 4.0 in a different way, which + generates a few bytes less code. + (ranged_convert, __mktime_internal): When calling a function via a + pointer P, use P () rather than (*P) (), as we now assume C89 or + better. + +2005-09-07 Alexandre Oliva + + * timezone/test-tz.c: Update to match tzdata2005m. + * timezone/tst-timezone.c: Likewise. + +2005-09-07 Ulrich Drepper + + * posix/regexec.c (find_recover_state): Remove unnecessary + initialization. + (transit_state_bkref): Make DFA a const pointer. + (get_subexp): Likewise. + (check_arrival): Likewise. + (update_cur_sifted_state): Likewise. + (re_search_internal): Likewise. + (prune_impossible_nodes): Likewise. + (acquire_init_state_context): Likewise. + (proceed_next_node): Likewise. + (set_regs): Likewise. + (free_fail_stack_return): Likewise. + (check_arrival_expand_ecl): Mark DFA parameter as const. + (check_arrival_expand_ecl_sub): Likewise. + (check_subexp_limits): Likewise. + (sub_epsilon_src_nodes): Likewise. + (add_epsilon_src_nodes): Likewise. + (merge_state_array): Likewise. + (update_regs): Likewise. + (build_trtable): Likewise. + (sift_states_backward): Mark MCTX parameter as const. + (build_sifted_states): Likewise. + (update_cur_sifted_state): Likewise. + (sift_states_mkref): Likewise. + (check_arrival_expand_ecl): Mark eclosure as const. + (check_dst_limits_calc_pos_1): Likewise. + * posix/regex_internal.h (re_match_context_t): Make dfa a const + pointer. + +2005-09-06 Ulrich Drepper + + * timezone/africa: Update from tzdata2005m. * timezone/asia: Likewise. * timezone/australasia: Likewise. - * timezone/europe: Likewise. - * timezone/leapseconds: Likewise. - * timezone/northamerica: Likewise. - * timezone/southamerica: Likewise. - * timezone/zone.tab: Likewise. - -2008-09-30 Ulrich Drepper - - * nscd/connections.c: Disable use of paccept for now. - -2008-09-29 Ulrich Drepper - - * socket/Versions: Remove paccept export for GLIBC_2.9. - * socket/Makefile (routines): Remove paccept. - * socket/sys/socket.h: Remove paccept declaration. - - * po/sv.po: Update from translation team. - -2008-09-22 Deborah S. Townsend - - * sysdeps/s390/s390-64/s390x-mcount.S: Replace ahi with aghi. - * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise. - -2008-09-16 Ulrich Drepper - - * dlfcn/dlopen.c (dlopen_doit): Allow __RTLD_SPROF flag. - Patch by Olivier Fourdan . - -2008-09-15 Ulrich Drepper - - * sunrpc/rpc/svc.h: Declare svcfd_create. - Patch by Michael Solberg . - -2008-09-12 Flavio Leitner - Ulrich Drepper - - * malloc/malloc.c (public_vALLOc): Try other arenas in case - _int_valloc fails. - (public_pVALLOc): Likewise. - -2008-09-02 Andreas Jaeger - - * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Fix last - commit. - -2008-08-26 Aurelien Jarno - - [BZ #6860] - * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Fix a typo. - -2008-07-18 Daniel Jacobowitz - - * Makefile (check-data): Check data directory in add-ons. - * elf/Makefile (check-data): Likewise. - -2008-08-18 Roland McGrath - - * configure.in (--with-cpu): Check compiler support for -march/-mcpu. - * configure: Regenerated. - * config.make.in (cflags-cpu): New substituted variable. - (with-cpu): Variable removed. - * Makeconfig (+cflags): Use $(cflags-cpu), not $(with-cpu). - -2008-08-14 Ryan S. Arnold - - [BZ #6845] - * sysdeps/powerpc/fpu/bits/mathinline.h (__signbitl): Copy new - __signbitl definition and __LONG_DOUBLE_128__ guard from: - * sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h: Remove as - redundant. Functions which call floating point assembler operations - should go into a sysdeps powerpc/fpu directory. - -2008-08-15 Ulrich Drepper - - * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Define MAP_STACK. - * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. - -2008-08-14 Ulrich Drepper - - * sysdeps/x86_64/memset.S: Reduce size of tables for PIC. - - * sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): Undo all - change related to AT_EXECFN. We cannot use that string. - * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove - _dl_execfn member. - * elf/dl-support.c: Remove _dl_execfn variable. - (_dl_aux_init): Remove handling of AT_EXECFN. - * elf/dl-sysdep.c (_dl_sysdep_start): Remove handling of AT_EXECFN. - * elf/rtld.c (process_envvars): Remove use of __ASSUME_AT_EXECFN. - -2008-08-13 Ulrich Drepper - - [BZ #6544] - * libio/fmemopen.c: Implement binary mode. In this mode no NUL - byte gets added to writes and seeks from the end use the length of - the buffer and not the currently terminating NUL byte. - - [BZ #6634] - * login/utmp_file.c (getutent_r_file): Take additional parameter. - Set to true if locking failed. - (getutid_r_file): Adjust caller. - (pututline_file): Likewise. Return NULL in this case. - Patch mostly by halesh.s@gmail.com. - -2008-08-12 Ulrich Drepper - - [BZ #6589] - * sysdeps/unix/sysv/linux/ifaddrs.c (struct sockaddr_ll_max): - Define. - (struct ifaddrs_storage): Use it instead of sockaddr_ll. - -2008-08-12 Ryan S. Arnold - - [BZ #6839] - * sysdeps/powerpc/powerpc32/dl-machine.c (CHECK_STATIC_TLS): Remove - macro since it is now available in elf/dynamic-link.h. - -2008-08-12 Roland McGrath - - * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Avoid -Wparenthesis triggers, - in case used outside of libc. - Reported by Samuel Thibault - -2008-08-11 Ulrich Drepper - - * resolv/res_mkquery.c (res_nmkquery): Call ns_name_compress - directly instead of going through dn_comp. - -2008-08-11 Aurelien Jarno - - * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock): - Fix asm constraints. - -2008-08-07 Ulrich Drepper - - [BZ #6790] - * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_PROBE): Define. - (IPV6_PMTUDISC_PROBE): Likewise. - -2008-08-07 Pete Eberlein - - [BZ #6791] - * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (PROT_SAO): Define. - -2008-08-01 Steven Munroe - Carlos Eduardo Seo - - [BZ #6817] - * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): - Added the members 'vsx' and 'arch_2_06'. - (_dl_powerpc_platforms): Add the member 'power7'. - * sysdeps/powerpc/dl-procinfo.h: Modify _DL_HWCAP_FIRST - to reflect the changes required by VSX and ISA 2.06. - Modify _DL_PLATFORMS_COUNT to reflect the addition of - 'power7'. - Defined PPC_PLATFORM_POWER7. - (_dl_string_platform): Add support for POWER7. - * sysdeps/powerpc/sysdep.h: Define bit masks for VSX - capability and ISA 2.06. - -2008-08-07 Ulrich Drepper - - [BZ #6824] - * sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h: Use correct - macro to detect use of 128 bit long double. - Patch by Ryan S. Arnold . - -2008-08-05 Ulrich Drepper - - * scripts/gen-as-const.awk: Use 32-bit values on 32-bit platforms. - - [BZ #5794] - * sysdeps/i386/fpu/s_expm1l.S: Simply use exp implementation for large - parameters. - * sysdeps/x86_64/fpu/s_expm1l.S: Likewise. - Patch by Denys Vlasenko . - -2008-08-03 Ulrich Drepper - - * nscd/connections.c (main_loop_poll): Pass a buffer which is - guaranteed to be large enough to read inotify event. Ignore - EAGAIN error. Better error message. Add branch predicition. - (main_loop_epoll): Likewise. - -2008-08-02 Roland McGrath - - * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock): - Add memory clobbers. - -2008-08-02 Ulrich Drepper - - * manual/arith.texi: Avoid @strong{Note:}. - * manual/creature.texi: Likewise. - * manual/filesys.texi: Likewise. - * manual/math.texi: Likewise. - * manual/memory.texi: Likewise. - * manual/resource.texi: Likewise. - * manual/syslog.texi: Likewise. - * manual/time.texi: Likewise. - - * sysdeps/posix/clock_getres.c (hp_timing_getres): Remove inline - to prevent warning. - -2008-08-01 Ulrich Drepper - - * sysdeps/unix/sysv/linux/Versions: Fix changes due to old patch for - new epoll_create1 interface. - * sysdeps/unix/sysv/linux/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise. - - * include/arpa/nameser.h (NS_GET16): Use const pointer. - (NS_GET32): Likewise. - - * sysdeps/unix/sysv/linux/kernel-features.h: s390 has the new - syscalls, too. - - * sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): We cannot - use the AT_EXECFN value if it is no absolute path. - * sysdeps/unix/sysv/linux/kernel-features.h: Never define - __ASSUME_AT_EXECFN. - - * Versions.def: Add GLIBC_2.9 to libresolv. - * include/resolv.h: Remove hidden proto declarations for __ns_* - functions. Add them for __dn_count_labels and __p_secstodate. - * include/arpa/nameser.h: Add a number of hidden proto declarations. - Define ns_msg_getflags macro here. - * resolv/res_debug.c: Add hidden definition for __dn_count_labels - and __p_secstodate. - * resolv/Versions: Export functions from from - libresolv in version GLIBC_2.9. - * resolv/ns_name.c: Integrate changes from bind 9.5.0. Add necessary - hidden definitions. - * resolv/ns_netint.c: Likewise. - * resolv/ns_parse.c: Likewise. - * resolv/ns_print.c: Likewise. - * resolv/ns_samedomain.c: Likewise. - * resolv/ns_ttl.c: Likewise. - * resolv/arpa/nameser_compat.h: Likewise. - * resolv/arpa/nameser.h: Likewise. Remove macros which redirect - function calls. - * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Use __ns_get16 - instead of ns_get16. - * resolv/nss_dns/dns-host.c (getanswer_r): Use __ns_get16 and - __ns_get32 instead of ns_get16 and ns_get32 respectively. - (gaih_getanswer_slice): Likewise. - * resolv/Makefile (libresolv-routines): Add ns_date. - * resolv/ns_date.c: New file. - - * elf/Makefile (check-localplt.out): Also check libresolv and - libcrypt. - -2008-07-31 Ulrich Drepper - - * sysdeps/unix/sysv/linux/kernel-features.h: Define - __ASSUME_O_CLOEXEC. - -2008-07-30 Ulrich Drepper - - * sysdeps/posix/getaddrinfo.c (gaih_inet): Raise size of initial - buffer passed to NSS functions. - - * nscd/connections.c (nscd_init): Typo in preprocessor directive. - - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PACCEPT): - Define. - - * misc/syslog.c (openlog_internal): Fix compile problem. - -2008-07-28 Roland McGrath - - * elf/dl-sysdep.c (_dl_show_auxv): Add AT_EXECFN to the table. - -2008-07-28 Ulrich Drepper - - * io/ftw.c (add_object): Remove inline to avoid warning. - - * sysdeps/unix/sysv/linux/paccept.c: Fix compile problem. - - * resolv/res_send.c (__libc_res_nsend): Take additional parameter. - Use it instead of locally defined resplen2 variable. - (res_nsend): Adjust for __libc_res_nsend interface change. - (send_vc): Initialize *resplen2 if necessary. Read length of - package into an appropriately aligned variable. Store converted length - in new variable and use it appropriately. - Add branch prediction help. - * resolv/res_query.c (__libc_res_nquery): Take additional parameter - and pass it on to __libc_res_nsend. Adjust all callers. - (__libc_res_nsearch): Likewise. - (__libc_res_nqeurydomain): Likewise. - * resolv/nss_dns/dns-host.c: Adjust for __libc_res_nsearch interface - change. - (_nss_dns_gethostbyname4): Don't unconditionally allocate tmp array. - Define resplen2 variable and pass it to __libc_res_nsearch and then - to gaih_getanswer. - (getanswer_r): In case of incorrect DNS data don't overread buffer. - Add branch prediction. - (gaih_getanswer_slice): Likewise. Check for invalid data types. - (gaih_getanswer): Don't decode second slice if first one failed due - to a too small buffer. Don't let not found status of second - decoder shadow results of the first. - * resolv/gethnamaddr.c (gethostbyname2): Adjust for __libc_res_nsearch - and __libc_res_nquery interface changes - (gethostbyaddr): Adjust for __libc_res_nquery interface change. - * include/resolv.h: Adjust prototypes for __libc_res_nquery, - __libc_res_nsearch, and __libc_res_nsend. - * resolv/nss_dns/dns-canon.c: Adjust for __libc_res_nquery interface - change. - * resolv/nss_dns/dns-network.c: Adjust for __libc_res_nquery and - __libc_res_nsearch interface changes. - -2008-07-27 Ulrich Drepper - - * libio/iopopen.c (_IO_new_proc_open): Remove unnecessary volatile. - - * posix/wordexp.c (exec_comm): Use pipe2 if possible to create - file descriptors with close-on-exec set. - (exec_comm_child): Fix the case where the write end of the pipe is - STDOUT_FILENO already. In case it is, clear close-on-exec. - - * sysdeps/unix/sysv/linux/syscalls.list: Add __pipe2 alias. - * io/pipe2.c: Likewise. - * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PIPE2 - instead of __ASSUME_PACCEPT. - * include/unistd.h: Declare __have_pipe2. - * libio/iopopen.c: Implement "e" flag. - * libio/Makefile (tests): Add tst-popen1. - * libio/tst-popen1.c: New file. - - * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_ISDN and AF_ISDN. - * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise. - -2008-07-26 Ulrich Drepper - - [BZ #6771] - * libio/fileops.c (_IO_new_file_attach): Preserve errno around - success call of _IO_SEEKOFF or calls which failed because the - descriptor is for a pipe. - - * sunrpc/key_call.c (getkeyserv_handle): Use FD_CLOEXEC instead of - magic number. - - * misc/syslog.c (openlog_internal): Use SOCK_CLOEXEC if possible. - - * malloc/mtrace.c (mtrace): Use 'e' flag in fopen call. Drop - F_SETFD use if we know fopen set the flag. - - * login/utmp_file.c (setutent_file): Minor optimization in case - O_CLOEXEC is available. - -2008-07-24 Tom "spot" Callaway - - * Makeconfig: Define pie-ccflag and PIE-ccflag variables. - * elf/Makefile: Use pie-ccflag variable. - * nscd/Makefile: Likewise. - * sysdeps/sparc/Makefile: Set $(pie-ccflag) to -fPIE. - -2008-07-21 Andreas Krebbel - - [BZ #6724] - * Versions.def: Add GLIBC_2.9 version tag for libutil. - * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Copy of - gnu/bits/utmp.h. Check for __WORDSIZE_COMPAT32 removed. - * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Copy of - gnu/bits/utmpx.h. Check for __WORDSIZE_COMPAT32 removed. - * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add new files - utmp32, utmpx32 and login32. - * sysdeps/unix/sysv/linux/s390/s390-32/Versions: Add 2.9 - versions of struct utmp functions to libc and libutil. - * sysdeps/unix/sysv/linux/s390/s390-32/utmp-compat.h: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/getutmp.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/getutxent.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/getutxid.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/getutxline.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/login.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/login32.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/pututxline.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/updwtmpx.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/utmpx-convert.h: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: New file. - -2008-07-26 Ulrich Drepper - - * scripts/gen-as-const.awk: Generate more widely usable code by - using 64-bit arithmetic. - - * stdio-common/printf_fp.c (___printf_fp): Give wide outout code - the same treatment as narrow output code in last patch. - - * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Namespace cleanup. - - [BZ #6763] - * elf/dl-load.c (local_strdup): Remove inline. - (_dl_map_object_from_fd): Don't allocate l_symbolic_searchlist.r_list. - * elf/dl-object.c (_dl_new_object): Allocate symbolic searchlist as - part of the object. - - * sysdeps/unix/sysv/linux/dl-origin.c: Add const to avoid warning. - -2008-07-25 Ulrich Drepper - - * sysdeps/unix/sysv/linux/kernel-features.h: IA-64 and SPARC have - the new syscalls, too. - - * sysdeps/i386/i686/memcmp.S: Fix unwind information. - Reported by Paul Pluzhnikov . - - [BZ #6698] - * stdio-common/_i18n_number.h (_i18n_number_rewrite): Take additional - parameter for end of buffer. If temporary copy is too large use - malloc. - * stdio-common/vfprintf.c: Adjust for _i18n_number_rewrite - interface change. - * stdio-common/printf_fp.c (__printf_fp): Likewise.. Account for - string rewrite when allocating buffer. - - * sysdeps/unix/sysv/linux/kernel-features.h: PPC has the new - syscalls, too. - - * nscd/connections.c (nscd_init): Clean up fcntl call. - - * nscd/nscd_helper.c (open_socket): Use SOCK_CLOEXEC and - SOCK_NONBLOCK if possible. - - * sysdeps/unix/sysv/linux/opensock.c (__opensock): Use - SOCK_CLOEXEC if available. - - * include/rpc/clnt.h: Declare __libc_clntudp_bufcreate and - __libc_clntudp_bufcreate_internal. - * include/sys/socket.h: Declare __have_sock_cloexec. - * socket/Makefile (aux): Add have_sock_cloexec. - * socket/have_sock_cloexec.c: New file. - * sunrpc/clnt_udp.h (clntudp_bufcreate): Now a wrapper around - __libc_clntudp_bufcreate. - (__libc_clntudp_bufcreate): Former implementation of clntudp_bufcreate - which takes an additional parameter. Create socket with non-blocking - mode and close-on-exec flag set, if wanted. - * sunrpc/Versions: Export __libc_clntudp_bufcreate@GLIBC_PRIVATE. - * nis/ypclnt.c (yp_bind_client_create): Use __libc_clntpudp_bufcreate - instead of clntudp_create. The socket has already the close-on-exec - flag set if SOCK_CLOEXEC is defined. - -2008-07-24 Ulrich Drepper - - * sysdeps/unix/sysv/linux/kernel-features.h: Define - __ASSUME_PACCEPT, __ASSUME_IN_NONBLOCK, and __ASSUME_PACCEPT if - appropriate. - * nscd/connections.c: Avoid fcntl calls to set close-on-exec flag and - non-blocking mode by using socket, paccept, and inotify_init1. - - * Versions.def (glibc): Add GLIBC_2.9. - * io/Makefile (routines): Add dup3 and pipe2. - * io/Versions [glibc] (GLIBC_2.9): Add dup3 and pipe2. - * io/dup3.c: New file. - * io/pipe2.c: New file. - * posix/unistd.h: Declare dup3 and pipe2. - * socket/Makefile (routines): Add paccept. - * socket/Versions [glibc] (GLIBC_2.9): Add paccept. - * socket/paccept.c: New file. - * socket/sys/socket.h: Declare paccept. - * sysdeps/unix/syscalls.list: Add entry for dup3. - * sysdeps/unix/sysv/linux/Versions [glibc] (GLIBC_2.9): Add - epoll_create2 and inotify_init1. - * sysdeps/unix/sysv/linux/eventfd.c: Use eventfd1 syscall if possible. - * sysdeps/unix/sysv/linux/paccept.c: New file. - * sysdeps/unix/sysv/linux/signalfd.c: Use signalfd4 syscall if - possible. - * sysdeps/unix/sysv/linux/socketcall.h: Add SOCKOP_paccept. - * sysdeps/unix/sysv/linux/syscalls.list: Add epoll_create2, - inotify_init1, and pipe2 entries. - * sysdeps/unix/sysv/linux/alpha/sys/epoll.h: New file. - * sysdeps/unix/sysv/linux/alpha/sys/eventfd.h: New file. - * sysdeps/unix/sysv/linux/alpha/sys/inotify.h: New file. - * sysdeps/unix/sysv/linux/alpha/sys/signalfd.h: New file. - * sysdeps/unix/sysv/linux/alpha/sys/timerfd.h: New file. - * sysdeps/unix/sysv/linux/bits/socket.h: Define SOCK_CLOEXEC and - SOCK_NONBLOCK. - * sysdeps/unix/sysv/linux/i386/paccept.S: New file. - * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: New file. - * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: New file. - * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: New file. - * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: New file. - * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: New file. - * sysdeps/unix/sysv/linux/sparc/bits/socket.h: New file. - * sysdeps/unix/sysv/linux/sys/epoll.h: Define EPOLL_CLOEXEC and - EPOLL_NONBLOCK. Declare epoll_create2. - * sysdeps/unix/sysv/linux/sys/eventfd.h: Define EFD_CLOEXEC and - EFD_NONBLOCK. - * sysdeps/unix/sysv/linux/sys/inotify.h: Define IN_CLOEXEC and - IN_NONBLOCK. Declare inotify_init1. - * sysdeps/unix/sysv/linux/sys/signalfd.h: Define SFD_CLOEXEC and - SFD_NONBLOCK. - * sysdeps/unix/sysv/linux/sys/timerfd.h: Define TFD_CLOEXEC and - TFD_NONBLOCK. - - * elf/elf.h: Define AT_EXECFN. - * elf/rtld.c [!__ASSUME_AT_EXECFN] (process_envvars): Don't handle - LD_ORIGIN_PATH. - * elf/dl-sysdep.c (_dl_sysdep_start): Handle AT_EXECFN. - * elf/dl-support.c: Define _dl_execfn. Don't define _dl_origin_path - if __ASSUME_AT_EXECFN is defined. - (_dl_aux_init): Handle AT_EXECFN. - * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_AT_EXECFN - for 2.6.27 and up. - * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_execfn. - Don't define _dl_origin_path if __ASSUME_AT_EXECFN is defined. - * sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): Use - _dl_execfn if available and avoid compatibility code if - __ASSUME_AT_EXECFN is defined. - - * sysdeps/unix/sysv/linux/dl-sysdep.h: Don't declare - _dl_discover_osversion only for older kernels. - -2008-07-22 Roland McGrath - - * hurd/fd-read.c (_hurd_fd_read): Fix last change. - -2008-07-21 Roland McGrath - - * hurd/fd-read.c (_hurd_fd_read): Return EGRATUITOUS if the server - returned too much data out of line. - -2008-07-20 Ulrich Drepper - - * locale/setlocale.c (setname): Remove inline to avoid compiler - warning. - - [BZ #6712] - * locale/setlocale.c (setlocale): Take the setlocale lock earlier. - -2008-07-15 Ulrich Drepper - - * stdio-common/vfprintf.c (_IO_helper_overflow): In case _IO_sputn - doesn't manage to write anything, fail. - - * malloc/hooks.c (__malloc_check_init): Remove printf. - -2008-07-14 Samuel Thibault - - * sysdeps/mach/hurd/bits/fcntl.h: Include . - -2008-07-12 Ulrich Drepper - - * nscd/connections.c (main_loop_poll): Fix handling of read errors - from inotify. - (main_loop_epoll): Likewise. - -2008-07-09 Ulrich Drepper - - * resolv/res_send.c: Remove unnecessary res_pquery prototype. - - * resolv/res_query.c (__libc_res_nquery): Issue debug message only - if DEBUG is defined. - - * resolv/res_query.c (__libc_res_nquery): Align buffer for T_AAAA - query. Adjust buffer size computation for padding. - -2008-07-08 Ulrich Drepper - - * stdio-common/Makefile: Add rules to build and run tst-setvbuf1. - * stdio-common/tst-setvbuf1.c: New file. - * stdio-common/tst-setvbuf1.expect: New file. - - [BZ #6719] - * libio/iosetvbuf.c (_IO_setvbuf): Correctly clear buffering flags - when selecting fully-buffered stream. - Patch by Wang Xin . - -2008-07-06 Samuel Thibault - - * sysdeps/mach/hurd/open.c: Include . - (__open_2): New function. - (__open64_2): New alias to __open_2. - * sysdeps/mach/hurd/openat.c: Include . - (__openat_2): New function. - (__openat64_2): New alias to __openat_2. - -2008-07-06 Ulrich Drepper - - [BZ #6723] - * time/mktime.c (__mktime_internal): Normalize tp->tm_isdst value. - -2008-07-01 Samuel Thibault - - * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Define MSG_NOSIGNAL. - * hurd/hurd/fd.h (__hurd_sockfail): Add extern inline function. - * sysdeps/mach/hurd/recv.c (__recv): Use __hurd_sockfail instead of - __hurd_dfail. - * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise. - * sysdeps/mach/hurd/recvmsg.c (__recvmsg): Likewise. - * sysdeps/mach/hurd/send.c (__send): Likewise. - * sysdeps/mach/hurd/sendto.c (__sendfrom): Likewise. - * sysdeps/mach/hurd/sendmsg.c (__sendmsg): Likewise. - -2008-03-04 Samuel Thibault - - * sysdeps/mach/hurd/recv.c (__recv): Initialize NPORTS. - * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise. - * sysdeps/mach/hurd/recvmsg.c (__recvmsg): Likewise. - * hurd/fd-read.c (_hurd_fd_read): Initialize NREAD. - * hurd/get-host.c (_hurd_get_host_config): Likewise. - * sysdeps/mach/hurd/dl-sysdep.c (__libc_read): Likewise. - -2008-06-27 Ulrich Drepper - - [BZ #6657] - * time/strptime_l.c: Don't clear s.era_cnt after successful match - of %EY. - Patch by Petr Baudis. - -2008-06-26 Ulrich Drepper - - * resolv/res_debug.c (__p_type_syms): Add ns_t_dname entry. - Patch by Peter Jones . - -2008-06-25 Ulrich Drepper - - [BZ #6654] - * stdlib/canonicalize.c (__realpath): readlink can write too much - into the buffer on platforms without PATH_MAX. - -2008-06-17 Carlos O'Donell - - [BZ #6653] - * posix/tst-regex.c (main): Rename to... - (do_test): ... this. Remove cmdline option processing. - (TIMEOUT): Define. - (TEST_FUNCTION): Define. - (CMDLINE_OPTIONS): Define. - -2008-06-25 Ulrich Drepper - - [BZ #5210] - * configure.in: Add -Werror to -fstack-protector test to catch - unsupported architectures. - Patch by Gilles Esponasse . - -2008-06-17 Joseph Myers - - * stdlib/tst-setcontext.c: Set back_in_main before exit if - getcontext returns ENOSYS. - -2008-06-18 Ulrich Drepper - - * nscd/connections.c (main_loop_poll): Fix test for read error. - (main_loop_epoll): Likewise. - -2008-06-13 Ulrich Drepper - - * sysdeps/posix/getaddrinfo.c: Move _res_hconf_init call to a - better place so it is not called when nscd is used. - - * nscd/connections.c: Also recognize and handle changes to the - resolver configuration file. - -2008-06-12 Ulrich Drepper - - * time/strftime.c: Pass reference to tzset_called around to handle - recursive calls. - - [BZ #6612] - * time/strftime.c (__strftime_internal): Call tzset() only - when printing timezone-dependent values. - Based on a patch by Petr Baudis . - - * resolv/nss_dns/dns-host.c (gaih_getanswer): Don't - unconditionally use second gaih_getanswer_slice result. - - * sysdeps/posix/getaddrinfo.c (gai_inet): Remove unnecessary test. - (getaddrinfo): RES must always be non-NULL. - -2008-06-12 Jakub Jelinek - - * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Avoid using - cr[34] registers. - * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf): Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround): - Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_lround.S (__lround): Avoid using cr3 - register. - -2008-06-12 Ulrich Drepper - - * nscd/nscd.h (struct database_dyn): Add inotify_descr and clear_cache - fields. - * nscd/connections.c (inotify_fd): New variable. - (nscd_init): Try to open an inotify descriptor. - If successful, watch files for databases using inotify instead of - having prune threads stat the files. - (nscd_run_prune): Recognize clear_cache flag being set and call - prune_cache appropriately. - (main_loop_poll): Add inotify descriptor to wait set and handle the - reported changes. - (main_loop_epoll): Likewise. - * nscd/cache.c (prune_cache): Don't stat files for databases if - inotify is used. - * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] - (CFLAGS-connections.c): Add -DHAVE_INOTIFY. - - * nscd/grpcache.c (cache_addgr): Correctly compute size of - fixed-size portion of the record. - * nscd/servicescache.c (cache_addserv): Likewise. - * nscd/pwdcache.c (cache_addpw): Likewise. - * nscd/initgrcache.c (addinitgroupsX): Likewise. - -2008-06-11 Ulrich Drepper - - * nscd/mem.c (gc): Initialize obstack earlier so that if we jump - out we don't use uninitialized memory. - - * nscd/hstcache.c (cache_addhst): Send correct number of bytes to - the client. - -2008-06-10 Ulrich Drepper - - * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Also log and - ignore T_DNAME messages. - * resolv/arpa/nameser_compat.h (T_DNAME): Define. - -2008-06-05 Jakub Jelinek - - * misc/regexp.h (compile): Use __REPB_PREFIX macro. - Avoid segfault if first GETC returns eof/'\0'/'\n'. - -2008-06-03 Jakub Jelinek - - * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Pass cp - instead of portstr to nscd_getserv_r. Patch by - Roman Kagan . - -2008-05-26 Jim Meyering - - Remove more useless "if" tests before "free". - * include/inline-hashtab.h (htab_delete): Likewise. - * libio/freopen.c (freopen): Likewise. - * libio/freopen64.c (freopen64): Likewise. - * locale/programs/ld-collate.c (collate_read): Likewise. - * misc/fstab.c (libc_freeres_fn): Likewise. - * posix/glob.c (globfree): Likewise. - -2008-05-24 Ulrich Drepper - - * string/Makefile (strop-tests): Add memmem. - * string/test-memmem.c: New file. - * string/test-string.h (BUF1PAGES): Define to 1 if undefined. - (test_init): Size buf1 according to BUF1PAGES. - -2008-05-24 Jakub Jelinek - - * libio/stdio.h (vscanf): Fix -std=c99 redirect. - * stdio-common/Makefile (tests): Add scanf16 and scanf17. - (CFLAGS-scanf17.c): New. - * stdio-common/scanf14.c (main): Add fscanf and scanf tests. - * stdio-common/scanf15.c (main): Likewise. - * stdio-common/scanf16.c: New file. - * stdio-common/scanf17.c: New file. - -2008-05-24 Ulrich Drepper - - * resolv/res_send.c (send_dg): If we already have one of two - answers and the server reports SERVFAIL, NOTIMP, or REFUSED, then - use the one answer insted of failing. - -2008-02-20 Ryan S. Arnold - - * math/libm-test.inc (exp_test): Exclude expl(1000.0L) from - being executed on PowerPC as the expected result exceeds IBM - long double 128 __LDBL_MAX__. - -2008-05-21 Roland McGrath - - * shlib-versions (sparc.*-.*-.*, sparc64.*-.*-.*): Add ABI lines. - - * Makefile (check-data): Use $(abi-name) before other guesses. - Look in $(add-ons) dirs before scripts/data/. - * elf/Makefile (check-data): Likewise. - - * scripts/soversions.awk: Grok ABI line. - * Makeconfig ($(common-objpfx)soversions.mk): Likewise. - Emit definition for abi-name variable. - -2008-05-21 Ulrich Drepper - - * string/endian.h: Define new fixed-size hto* and *toh macros only - if [__USE_BSD]. - - * iconvdata/Depend: Add localedata. - -2008-05-21 Samuel Thibault - - * bits/termios.h (ONLCR): Define under [__USE_XOPEN] too. - -2008-05-08 David S. Miller - - * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S: Use - HIDDEN_JUMPTARGET. - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h - (__SYSCALL_CLOBBERS): Remove %g* registers. - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h - (__SYSCALL_CLOBBERS): Likewise. - * scripts/data/localplt-sparc-linux-gnu.data: New file. - * scripts/data/localplt-sparc64-linux-gnu.data: New file. - -2008-05-21 Jakub Jelinek - - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h - (CALL_ERRNO_LOCATION): Define. - (__SYSCALL_STRING, __CLONE_SYSCALL_STRING): Use it. - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h - (CALL_ERRNO_LOCATION): Define. - (__SYSCALL_STRING, __CLONE_SYSCALL_STRING): Use it. - * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S (__brk): Use - HIDDEN_JUMPTARGET for __errno_location call in libc.so. - -2008-05-20 Ulrich Drepper - - * include/inline-hashtab.h (higher_prime_number): Fix type of mid - variable. - -2008-05-20 Jakub Jelinek - - * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h - (FIRST_FRAME_POINTER): Define. - -2008-05-09 David S. Miller - - * sysdeps/sparc/sparc64/backtrace.c: New file. - -2008-05-14 David S. Miller - - * sysdeps/sparc/machine-gmon.h: New file. - * sysdeps/sparc/sparc-mcount.S: Likewise. - * sysdeps/sparc/Makefile: Add sparc-mcount target to - sysdep_routines in gmon directory. - -2008-05-19 Jakub Jelinek - - * elf/soinit.c (__EH_FRAME_BEGIN__): Remove. - -2008-05-19 Ulrich Drepper - - * resolv/res_query.c (__libc_res_nquery): In case one of two - answer was too short don't try to read that answer's header. - - * resolv/res_send.c (send_dg): In case of timeout and there are - two queries and one has been answered, return value indicating - success. - -2008-05-18 Ulrich Drepper - - * nscd/cache.c (cache_add): Take additional parameter specifying - whether this is in response of a cache refill. Check alignment - of package data. Revamp waking of pruning thread. - (prune_cache): Small optimization. - * nscd/nscd.h: Adjust cache_add prototypes. - * nscd/aicache.c: Adjust cache_add calls. - * nscd/grpcache.c: Likewise. - * nscd/hstcache.c: Likewise. - * nscd/initgrcache.c: Likewise. - * nscd/pwdcache.c: Likewise. - * nscd/servicescache.c: Likewise. - * nscd/connections.c (restart): Really disable cache use before - exec attempt. If it fails, reenable cache. - (nscd_run_prune): Initialize wakeup_time. After wakeup, set wakeup - time to max to be able to notice concurrent cache additions. Unlock - prune_lock while performing gc. Afterwards compute wakeup time with - current wakeup_time value in mind. - -2008-05-17 Ulrich Drepper - - * nscd/mem.c (gc): Avoid stack overflow when allocating move list. - - * nscd/mem.c (gc): Correctly determine highest used array element - in mark. - - * nscd/mem.c (markrange): Add assert to check entries are all - aligned. Small cleanup in bitmap use. - - * nscd/nscd.h (mem_in_flight): Replace blockaddr field with - blockoff of type nscd_ssize_t. - * nscd/mem.c (gc): Simplify markrange call for on-flight blocks. - (mempoll_alloc): Record block offset and not address. - - * nscd/mem.c (gc): Fix test for stack overuse. - - * nscd/aicache.c (addhstaiX): Fix a few small problems, cleanups, - more asserts. - - * sysdeps/posix/getaddrinfo.c (gaih_inet): If nscd reports no - entry is available, believe it. - - * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): If there are - no answers return NSS_STATUS_NOTFOUND. - (gaih_getanswer): Don't call gaih_getanswer_slice if the answer - buffer does not have any content. - -2008-05-16 Ulrich Drepper - - * string/strcasestr.c (CMP_FUNC): Use __strncasecmp, not strncasecmp. - - * sysdeps/posix/getaddrinfo.c (gaih_inet): After gethostbyname4_r - lookup, don't assign canon unconditionally. - -2008-05-14 Ulrich Drepper - - * string/Makefile (distribute): Add str-two-way.h. - -2008-03-29 Eric Blake - - Rewrite string searches to O(n) rather than O(n^2). - * string/str-two-way.h: New file. For linear fixed-allocation - string searching. - * string/memmem.c: New implementation. - * string/strstr.c: New implementation. - * string/strcasestr.c: New implementation. - -2008-04-11 Paolo Bonzini - - * posix/regcomp.c (optimize_utf8): Add a note on why we test - opr.ctx_type. - (calc_first): Initialize constraint field. - (duplicate_node_closure): Use it instead of special casing ANCHORS. - Use search_duplicated_node to avoid loops. Fix grammar. - (duplicate_node): Merge constraint field for all node types. - (calc_eclosure_iter): Look at constraint field for all node types. - * posix/regex_internal.c (create_cd_newstate): Don't look at - create_cd_newstate. - -2008-05-14 Ulrich Drepper - - [BZ #6428] - * configure.in: Don't use $CFLAGS when assembling, use $ASFLAGS. - - [BZ #6442] - * string/endian.h: Add macros for fixed-size endian conversion. - * bits/byteswap.h: Allow inclusion from . - * sysdeps/i386/bits/byteswap.h: Likewise. - * sysdeps/ia64/bits/byteswap.h: Likewise. - * sysdeps/s390/bits/byteswap.h: Likewise. - * sysdeps/x86_64/bits/byteswap.h: Likewise. - * string/Makefile (tests): Add tst-endian. - * string/tst-endian.c: New file. - - * iconvdata/run-iconv-test.sh: Use = instead of == in test. - Patch by Reuben Thomas. - -2008-05-14 Joseph Myers - - * iconvdata/Makefile (bug-iconv6-ENV, tst-iconv7-ENV): Define. - -2008-05-14 Ulrich Drepper - - * iconvdata/bug-iconv6.c (do_test): Use de_DE.UTF-8 locale. - - [BZ #6461] - * iconv/gconv_simple.c (BODY for __gconv_transform_ascii_internal): - Add missing braces. - (BODY for __gconv_transform_internal_ascii): Likewise. - - [BZ #6472] - * sysdeps/posix/getaddrinfo.c (get_scope): Loopback addresses have - to be treated like link-local addresses. - (match_prefix): Don't treat IPv4 loopback address special when - converting to v4 mapped addressed. - - * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call _res_hconf_init - if necessary. - * posix/tst-rfc3484.c: Add dummy definition of _res_hconf_init. - * posix/tst-rfc3484-2.c: Likewise. - * posix/tst-rfc3484-3.c: Likewise. - - * sysdeps/posix/getaddrinfo.c: Implement handling of DCCP, UDPlite, - and SCTP. - - * nss/getent.c (ahosts_keys_int): Handle all known socket types. - - * inet/netinet/in.h (IPPIPPROTO_DCCP, IPPROTO_UDPLITE): Define. - - * sysdeps/unix/sysv/linux/bits/socket.h (SOCK_DCCP): Define. - -2008-05-13 Ulrich Drepper - - * po/lt.po: New file. From Lituanian translation team. - -2008-01-30 Alexandre Oliva - - Introduce TLS descriptors for i386 and x86_64. - * include/inline-hashtab.h: New file, copied from 2005's - libiberty, with fix for memory leak imported afterwards by - Glauber de Oliveira Costa. - * elf/tlsdeschtab.h: New file. - * elf/dl-reloc.c (_dl_try_allocate_static_tls): Extract from... - (_dl_allocate_static_tls): ... here. Rearrange failure path. - (CHECK_STATIC_TLS): Move to... - * elf/dynamic-link.h: ... this file. - (TRY_STATIC_TLS): New macro. - * elf/dl-conflict.c (CHECK_STATIC_TLS, TRY_STATIC_TLS): Override. - * elf/elf.h (R_386_TLS_GOTDESC, R_386_TLS_DESC_CALL, - R_386_TLS_DESC): Define. - (R_X86_64_PC64, R_X86_GOTOFF64, R_X86_64_GOTPC32): Merge from - binutils. - (R_X86_64_GOTPC32_TLSDESC, R_X86_64_TLSDESC_CALL, - R_X86_64_TLSDESC): Define. - (R_386_NUM, R_X86_64_NUM): Adjust. - * sysdeps/i386/Makefile (sysdep-dl-routines, sysdep_routines, - sysdep-rtld-routines): Add tlsdesc and dl-tlsdesc for elf subdir. - (gen-as-const-headers): Add tlsdesc.sym to csu subdir. - * sysdeps/i386/dl-lookupcfg.h: New file. Introduce _dl_unmap to - release tlsdesc_table. - * sysdeps/i386/dl-machine.h: Include dl-tlsdesc.h. - (elf_machine_type_class): Mark R_386_TLS_DESC as PLT class. - (elf_machine_rel): Handle R_386_TLS_DESC. - (elf_machine_rela): Likewise. - (elf_machine_lazy_rel): Likewise. - (elf_machine_lazy_rela): Likewise. - * sysdeps/i386/dl-tls.h (struct dl_tls_index): Name it. - * sysdeps/i386/dl-tlsdesc.S: New file. - * sysdeps/i386/dl-tlsdesc.h: New file. - * sysdeps/i386/tlsdesc.c: New file. - * sysdeps/i386/tlsdesc.sym: New file. - * sysdeps/i386/bits/linkmap.h (struct link_map_machine): Add - tlsdesc_table. - * sysdeps/x86_64/Makefile (sysdep-dl-routines, sysdep_routines, - sysdep-rtld-routines): Add tlsdesc and dl-tlsdesc for elf subdir. - (gen-as-const-headers): Add tlsdesc.sym to csu subdir. - * sysdeps/x86_64/dl-lookupcfg.h: New file. Introduce _dl_unmap to - release tlsdesc_table. - * sysdeps/x86_64/dl-machine.h: Include dl-tlsdesc.h. - (elf_machine_runtime_setup): Set up lazy TLSDESC GOT entry. - (elf_machine_type_class): Mark R_X86_64_TLSDESC as PLT class. - (elf_machine_rel): Handle R_X86_64_TLSDESC. - (elf_machine_rela): Likewise. - (elf_machine_lazy_rel): Likewise. - * sysdeps/x86_64/dl-tls.h (struct dl_tls_index): Name it. - (__tls_get_addr): Do not declare for non-shared compiles. - * sysdeps/x86_64/dl-tlsdesc.S: New file. - * sysdeps/x86_64/dl-tlsdesc.h: New file. - * sysdeps/x86_64/tlsdesc.c: New file. - * sysdeps/x86_64/tlsdesc.sym: New file. - * sysdeps/x86_64/bits/linkmap.h (struct link_map_machine): Add - tlsdesc_table for both 32- and 64-bit structs. - -2008-05-11 Ulrich Drepper - - * elf/dl-tls.c (__tls_get_addr): Optimize by moving slow path in - its own function. This reduces the frame setup costs and more. - -2008-02-11 Joseph Myers - - [BZ #3406] - * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Correct value. - * math/libm-test.inc (exp_test): Test 88.72269439697265625. - -2008-05-11 Ulrich Drepper - - * io/openat.c (__openat_2): Also pass fd to __openat. - * io/openat64.c (__openat64_2): Also pass fd to __openat64. - Patch by Kristian Van Der Vliet . - - * string/tester.c (test_memcmp): Add a few more tests. - Patch by Mats Erik Andersson . - -2008-05-10 Ulrich Drepper - - * nscd/cache.c (cache_add): Before returning with failure and this - is the first use of the record, mark it as unusable. - * nscd/aicache.c: Don't touch the dataset after cache_add returns - reporting a failure. - * nscd/grpcache.c: Likewise - * nscd/hstcache.c: Likewise. - * nscd/initgrcache.c: Likewise. - * nscd/pwdcache.c: Likewise. - * nscd/servicescache.c: Likewise. - -2008-05-10 Roland McGrath - - [BZ #6505] - * sysdeps/unix/sysv/linux/sys/user.h: Replace with #error stub. - -2008-05-08 David S. Miller - - * misc/truncate64.c (truncate64): Use __truncate not truncate. - - * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee751_j0l): Use __finitel. - (__ieee754_y0l): Likewise. - * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise. - (__ieee754_y1l): Likewise. - * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use __ldexpl. - * sysdeps/ieee754/ldbl-128/s_log1pl.c: Kill bogus prototypes for - frexpl and ldexpl. math_private.h provides them and the latter - is not even used. - (__log1pl): Use __frexpl. - -2008-05-10 Ulrich Drepper - - * include/resolv.h: Adjust __libc_res_nquery and __libc_res_nsend - prototypes. - * include/arpa/nameser_compat.h: Define T_UNSPEC. - * nis/Versions (libnss_nis): Export _nss_nis_gethostbyname4_r. - (libnss_nisplus): Export _nss_nisplus_gethostbyname4_r. - * nis/nss_nis/nis-hosts.c (LINE_PARSER): Change to also handle - af==AF_UNSPEC. - (_nss_nis_gethostbyname4_r): New function. - * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent): - Change to also handle af==AF_UNSPEC. - (get_tablename): New function. Use it to avoid duplication. - (_nss_nisplus_gethostbyname4_r): New function. - * nscd/aicache.c (addhstaiX): Use gethostbyname4_r function is - available. - * nss/Versions (libnss_files): Export _nss_files_gethostbyname4_r. - * nss/nss.h: Define struct gaih_addrtuple. - * nss/nss_files/files-hosts.c (LINE_PARSER): Change to also handle - af==AF_UNSPEC. - (_nss_files_gethostbyname4_r): New function. - * resolv/Versions (libnss_dns): Export _nss_dns_gethostbyname4_r. - * resolv/gethnmaddr.c: Adjust __libc_res_nsearch and __libc_res_nquery - calls. - * resolv/res_query.c (__libc_res_nquery): Take two additional - parameters for second answer buffer. Handle type=T_UNSPEC to mean - look up IPv4 and IPv6. - Change all callers. - * resolv/res_send.c (__libc_res_nsend): Take five aditional parameters - for an additional query and answer buffer. Pass to send_vc and - send_dg. - (send_vc): Send possibly two requests and receive two answers. - (send_dg): Likewise. - * resolv/nss_dns/dns-host.c: Adjust calls to __libc_res_nsearch and - __libc_res_nquery. - (_nss_dns_gethostbyname4_r): New function. - (gaih_getanswer_slice): Likewise. - (gaih_getanswer): Likewise. - * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Adjust - __libc_res_nquery call. - * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r): Likewise. - (_nss_dns_getnetbyname_r): Adjust __libc_res_nsearch call. - * sysdeps/posix/getaddrinfo.c: Use gethostbyname4_r function is - available. - -2008-05-05 David S. Miller - - * sysdeps/sparc/sparc32/Makefile: Use -mcpu=v7 for initfini.s build. - * sysdeps/sparc/sparc64/Makefile: Use -mcpu=v9 for initfini.s build. - -2007-09-14 Samuel Thibault - - Fix termios bit macros. - Move *DLY definitions where they belong, in termios.h. - Add *[0-3] definitions. - Fixes confusion between VT and FF. - * sysdeps/mach/hurd/bits/ioctls.h (NL0, NL1, TAB0, TAB1, TAB2, CR0, - CR1, CR2, CR3, FF0, FF1, BS0, BS1): Undefine these at start if they - are already defined to avoid collision with termios.h. - (NLDLY, TABDLY, TAB3, CRDLY, VTDLY, BSDLY): Remove macros. - * bits/termios.h [__USE_MISC || __USE_XOPEN] (NL0, NL1, TAB0, - TAB1, TAB2, CR0, CR1, CR2, CR3, FF0, FF1, BS0, BS1): Likewise. - [__USE_BSD || __USE_XOPEN] (OCRNL, ONOCR, ONLRET): New macros. - [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, TABDLY, TAB0, TAB1, TAB2, - TAB3, CRDLY, CR0, CR1, CR2, CR3, FFDLY, FF0, FF1, BSDLY, BS0, BS1, - VTDLY, VT0, VT1): New macros. - [__USE_GNU] (OLCUC): Change value of macro. - [__USE_XOPEN] (OFILL): New macro. - [__USE_BSD] (CRTSCTS): Change value. - (CRTS_IFLOW, CCTS_OFLOW): Change into compatibility macros. - [__USE_BSD] (CDTRCTS, CHWFLOW): New macros. - (B7200, B14400, B28800, B76800): New macros. - -2008-05-01 David S. Miller - - * sysdeps/unix/sysv/linux/sparc/sparc32/ucontext_i.sym: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile [$(subdir) = stdlib]: - (gen-as-const-headers): Add it. - * sysdeps/unix/sysv/linux/sparc/sparc32/getcontext.S: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/swapcontext.S: Likewise. - - * sysdeps/unix/sysv/linux/sparc/sparc32/syscall.S: Add support for - six system call parameters. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise. - -2008-04-30 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/resource.h: Define RUSAGE_THREAD and - RUSAGE_LWP. - * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise. - -2008-04-30 Jakub Jelinek - - * stdlib/tst-setcontext.c: Include unistd.h. - -2008-04-25 David S. Miller - - * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c (semctl): - Pass "union semun" properly in to sys_ipc, it must be passed - by value, not by reference. - -2008-04-22 Jakub Jelinek - - * nscd/Makefile (nscd-cflags): Set back to -fpie. - * nscd/nscd.h (mem_in_flight): Add attribute_tls_model_ie. - * nscd/connections.c (mem_in_flight): Likewise. - - * nscd/nscd.h (dbs): Make hidden. - - * sysdeps/unix/sysv/linux/times.c (__times): Fix check for EFAULT. - Avoid returning -1, return 0 instead. - -2008-04-19 Ulrich Drepper - - * resolv/res_mkquery.c (__res_nopt): Use NS_PUT16 instead of ns_put16. - -2008-04-15 Ulrich Drepper - - [BZ #5209] - * sysdeps/unix/sysv/linux/times.c: New file. - - [BZ #5381] - * nscd/nscd.h: Define enum in_flight, mem_in_flight, and - mem_in_flight_list variables. Add new parameter to mempool_alloc - prototype. - * nscd/mem.c (mempool_alloc): Take additional parameter. Initialize - appropriate mem_in_flight element. - (gc): Take allocations which have not yet been committed to the - database into account. - * nscd/cache.c (cache_add): Add new parameter to mempool_alloc call. - Reset mem_in_flight before returning. - * nscd/connections.c (nscd_run_worker): Initialize mem_in_flight and - cue it up in mem_in_flight_list. - * nscd/aicache.c: Adjust mempool_alloc call. - * nscd/grpcache.c: Likewise. - * nscd/hstcache.c: Likewise. - * nscd/initgrcache.c: Likewise. - * nscd/pwdcache.c: Likewise. - * nscd/servicescache.c: Likewise. - * nscd/Makefile (nscd-flags): Until ld is fixed, use -fpic instead - of -fpie. - - * nscd/connections.c (handle_request): Provide better error message - in case SELinux forbids the service. - - * version.h (VERSION): Bump to 2.8.90. - -2008-04-17 Jakub Jelinek - - * sysdeps/unix/sysv/linux/dl-osinfo.h: Include fcntl.h. - -2008-04-11 Ulrich Drepper - - * sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h (__signbitl): - Also use for 32-bit. - * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Use - __nextafter instead of nextafter to avoid local PLT. - * sysdeps/powerpc/fpu/e_sqrt.c: Avoid call to fetestexcept. - * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise. - - * scripts/data/localplt-powerpc64-linux-gnu.data: New file. - - * sysdeps/powerpc/fpu/fenv_libc.h: Add libm_hidden_proto for - __fe_nomask_env. - * sysdeps/powerpc/fpu/fe_nomask.c: Add libm_hidden_def. Include - instead of . - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise. - - * sysdeps/powerpc/bits/fenv.h: Make safe for C++. - - * sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h: New file. - * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Rename - function from fegetexcept and make old name weak alias. - * include/fenv.h: Declare __fegetexcept. - * sysdeps/powerpc/fpu/fedisblxcpt.c: Use __fegetexcept instead of - fegetexcept. - * sysdeps/powerpc/fpu/feenablxcpt.c: Likewise. - * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Avoid call - to fetestexcept. - * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Use __frexpl - instead of frexpl to avoid local PLT. - * math/s_significandl.c (__significandl): Use __ilogbl instead of - ilogbl to avoid local PLT. - * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __ldexpl - instead of ldexpl to avoid local PLT. - * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use - __roundl not roundl to avoid local PLT. - * sysdeps/ieee754/ldbl-128/e_j0l.c: Use function names which avoid - local PLTs. Use __sincosl instead of separate sinl and cosl - calls. - * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise. - - * sysdeps/unix/sysv/linux/configure.in: Bump minimal kernel - version for ppc64 to 2.4.21 since without it makecontext will fail. - - * elf/tls-macros.h [__powerpc64__] (__TLS_GET_ADDR): Define according - to the ABI in use. - [__powerpc64__] (TLS_LD): Use __TLS_GET_ADDR instead of - .__tls_get_addr. - [__powerpc64__] (TLS_GD): Likewise. - -2007-11-20 Ryan S. Arnold - - [BZ #4997] - * sysdeps/powerpc/powerpc32/fpu/s_lround.S (__lround): Fixed erroneous - result when x is +/-nextafter(+/-0.5,-/+1) i.e. all 1's in the - mantissa. - * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround): - Likewise. Also account for when x is an odd number between 2^52 - and 2^53-1. - * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf): Likewise. - * math/libm-test.inc (lround_test, llround_test): Added test cases to - detect aforementioned erroneous conditions. - -2008-04-11 Jakub Jelinek - - * configure.in: Check for -fno-section-anchors in addition to - -fno-toplevel-reorder. - -2008-04-11 Ulrich Drepper - - * include/features.h (__GLIBC_MINOR__): Bump to 8. - - * sysdeps/powerpc/powerpc32/fpu/s_lroundf.S: Remove duplicate comment. - * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise. - * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise. - -2008-04-11 Jakub Jelinek - - [BZ #5443] - * time/era.c: Transform __libc_setlocale_lock into rwlock. - * time/alt_digit.c: Likewise. - * wcsmbs/wcsmbsload.c: Likewise. - -2008-04-10 Ulrich Drepper - - * version.h (VERSION): Bump to 2.8. - - * timzeone/asia: Update from tzdata2008b. * timezone/backward: Likewise. * timezone/europe: Likewise. * timezone/northamerica: Likewise. * timezone/southamerica: Likewise. - * timezone/iso3166.tab: Likewise. - * timezone/leapseconds: Likewise. * timezone/zone.tab: Likewise. - * timezone/private.h: Update from tzcode2008a. + * timezone/zdump.c: Update from tzcode2005m. + + * posix/regexec.c (merge_state_with_log): Define dfa as const pointer. + (transit_state_sb): Likewise. + (transit_state_mb): Likewise. + (sift_states_iter_mb): Likewise. + (check_arrival_add_next_nodes): Likewise. + (check_node_accept_bytes): Change first parameter to pointer-to-const. + [_LIBC] (re_search_2_stub): Use mempcpy. + + * posix/regex_internal.c (re_string_reconstruct): Avoid calling + mbrtowc for very simple UTF-8 case. + +2005-09-01 Paul Eggert + + * posix/regex_internal.c (build_wcs_upper_buffer): Fix portability + bugs in int versus size_t comparisons. + +2005-09-06 Ulrich Drepper + + * posix/regex_internal.c (re_acquire_state): Make DFA pointer arg + a pointer-to-const. + (re_acquire_state_context): Likewise. + * posix/regex_internal.h: Adjust prototypes. + +2005-08-31 Jim Meyering + + * posix/regcomp.c (search_duplicated_node): Make first pointer arg + a pointer-to-const. + * posix/regex_internal.c (create_ci_newstate, create_cd_newstate, + register_state): Likewise. + * posix/regexec.c (search_cur_bkref_entry, check_dst_limits): + (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos): + (group_nodes_into_DFAstates): Likewise. + +2005-08-31 Paul Eggert + + * posix/regexec.c (re_search_internal): Simplify update of + rm_so and rm_eo by replacing "if (A == B) A += C - B;" + with the equivalent of "if (A == B) A = C;". + +2005-09-06 Ulrich Drepper + + * posix/regcomp.c (re_compile_internal): Change third parameter type + to size_t. + (init_dfa): Likewise. Make sure that arithmetic on pat_len doesn't + overflow. + * posix/regex_internal.h (struct re_dfa_t): Change type of nodes_alloc + and nodes_len to size_t. + * posix/regex_internal.c (re_dfa_add_node): Use size_t as type for + new_nodes_alloc. Check for overflow. + +2005-08-31 Paul Eggert + + * posix/regcomp.c (re_compile_fastmap_iter, init_dfa, init_word_char): + (optimize_subexps, lower_subexp): + Don't assume 1<<31 has defined behavior on hosts with 32-bit int, + since the signed shift might overflow. Use 1u<<31 instead. + * posix/regex_internal.h (bitset_set, bitset_clear, bitset_contain): + Likewise. + * posix/regexec.c (check_dst_limits_calc_pos_1): Likewise. + (check_subexp_matching_top): Likewise. + * posix/regcomp.c (optimize_subexps, lower_subexp): + Use CHAR_BIT rather than 8, for clarity. + * posix/regexec.c (check_dst_limits_calc_pos_1): + (check_subexp_matching_top): Likewise. + * posix/regcomp.c (init_dfa): Make table_size unsigned, so that we + don't have to worry about portability issues when shifting it left. + Remove no-longer-needed test for table_size > 0. + * posix/regcomp.c (parse_sub_exp): Do not shift more bits than there + are in a word, as the resulting behavior is undefined. + * posix/regexec.c (check_dst_limits_calc_pos_1): Likewise; + in one case, a <= should have been an <, and in another case the + whole test was missing. + * posix/regex_internal.h (BYTE_BITS): Remove. All uses changed to + the standard name CHAR_BIT. + + * posix/regex_internal.h (re_sub_match_top_t): Remove unused member + next_last_offset. + (struct re_dfa_t): Remove unused member states_alloc. + * posix/regcomp.c (init_dfa): Don't initialize unused members. + +2005-08-25 Paul Eggert + + * posix/regexec.c (set_regs): Don't alloca with an unbounded size. + + alloca modernization/simplification for regex. + * posix/regex.c: Remove portability cruft for alloca. This no longer + needs to be at the start of the file, and can be moved into + regex_internal.h and simplified. + * posix/regex_internal.h: Include . + (__libc_use_alloca) [!defined _LIBC]: New macro. + * posix/regexec.c (build_trtable): Remove "#ifdef _LIBC", + since the code now works outside glibc. + +2005-09-06 Ulrich Drepper + + * include/regex.h: Remove use of _RE_ARGS. + +2005-08-25 Paul Eggert + + * posix/regexec.c (find_recover_state): Change "err" to "*err". + +2005-08-24 Paul Eggert + + * posix/regcomp.c (regerror): Pointer args are 'restrict', + as per POSIX. + * posix/regex.h (regerror): Likewise. + * manual/pattern.texi (POSIX Regexp Compilation): Likewise. + Similarly for regcomp and regexec. Also, first 2 args of regexec + and 2nd arg of regerror are const. + + * posix/regex.c: Do not include , as POSIX no longer + requires this. (The code never needed it.) + +2005-08-20 Paul Eggert + + * posix/regexec.c (sift_states_bkref): re_node_set_insert returns + int, not reg_errcode_t. + + * posix/regex_internal.c (calc_state_hash): Put 'inline' before type, + since some broken compilers warn about it otherwise. + + * posix/regcomp.c (create_initial_state): Remove duplicate decl. + +2005-08-20 Paul Eggert + + * posix/regex.h (_RE_ARGS): Remove. No longer needed, since we assume + C89 or better. All uses removed. + +2005-09-06 Ulrich Drepper + + * posix/regex.c: Prevent using C++ compilers. + +2005-08-19 Paul Eggert + + * posix/regcomp.c (duplicate_node): Return new index, not an error + code, and let the caller return REG_ESPACE if out of space. This + removes an uninitialied-variable warning with GCC 4.0.1, and also + avoids taking the address of a local variable. All callers + changed. + +2005-09-06 Ulrich Drepper + + * include/time.h (__strptime_internal): Rename parameter to avoid + bogus compiler warning. + +2005-08-19 Jim Meyering + + * posix/regexec.c (proceed_next_node): Redo local variables to + avoid GCC shadowing warnings. + +2005-09-06 Ulrich Drepper + + * posix/regex_internal.c (re_acquire_state): Minor code rearrangement. + (re_acquire_state_context): Likewise. + +2005-08-19 Paul Eggert + + * posix/regex_internal.c (re_string_realloc_buffers): + (re_node_set_insert, re_node_set_insert_last, re_dfa_add_node): + Rename local variables to avoid GCC shadowing warnings. + +2005-07-08 Eric Blake + Paul Eggert + + * posix/regcomp.c (init_dfa): Store __btowc value in wint_t, not + wchar_t. Remove now-unnecessary cast. + (build_range_exp): Likewise. + +2005-08-31 Bob Wilson + + * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Remove the + exponent bias from the increment value for scaling by 2^60. + +2005-09-05 Alexandre Oliva + + * configure.in: Compile source test file with -fPIC for -shared. + +2005-09-04 Ulrich Drepper + + * iconv/skeleton.c: Eliminate DEFINE_DIRECTION_OBJECTS macro use, + it wasn't used. Remove use of from_object and to_object variable, + replace with some constants. Adjust users. + + * sysdeps/i386/bits/string.h: Removed. + + * stdio-common/Makefile (tests): Add tst-put-error. + * stdio-common/tst-put-error.c: New file. + * libio/fileops.c (_IO_new_file_xsputn): If overflow fails and no more + data would have to be written signal error. + * libio/oldfileops.c (_IO_old_file_xsputn): Likewise. + + * libio/fileops.c (_IO_new_file_overflow): Use NULL not 0. + +2005-09-02 Ulrich Drepper + + * elf/dl-load.c (_dl_map_object_from_fd): No need to change + protection of memory used for the last segment. + +2005-08-22 Robert Millan + + * sysdeps/mach/hurd/nfs/nfs.h: Move to ... + * sysdeps/generic/nfs/nfs.h: ... here. + +2005-09-01 Ulrich Drepper + + * libio/stdio.h: Remove __wur from ungetc, sscanf, and vsscanf. + Add __wur to feof{,_unlocked}, ferror{,_unlocked}, + fileno{,_unlocked}, and popen. + +2005-08-30 Ulrich Drepper + + * sysdeps/ieee754/flt-32/e_hypotf.c [!__STDC__]: Fix function name. + +2005-08-01 Bob Wilson + Richard Sandiford + + * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Add missing + exponent bias to the value for 2^126. + +2005-08-30 Jakub Jelinek + Alan Modra + + * elf/dl-addr.c (_dl_addr): Use DL_ADDR_SYM_MATCH macro. + * sysdeps/generic/ldsodefs.h (DL_ADDR_SYM_MATCH): Define. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h: New file. + +2005-08-23 Ulrich Drepper + + * nscd/nscd.c (main): Use error while process isn't running in the + background, not dbg_log. + * nscd/nscd_conf.c (nscd_parse_file): Likewise. + Mark messages with _(). Unify testing for database name. + + * nscd/connection.c (DEFAULT_DATASIZE_PER_BUCKET): Move to nscd.h. + (dbs): Initialize max_db_size fields. + (nscd_init): When mapping the database, use max_db_size as the + mapping size even if it is bigger than the file size. + * nscd/mem.c (mempool_alloc): When resizing the file make sure the + limit in max_db_size is not exceeded. Don't use mremap, just + posix_fallocate is enough (according to Linus). Use posix_fallocate + correctly. + * nscd/nscd.conf: Add max-db-size parameters. + * nscd/nscd.h (struct database_dyn): Add max_db_size field. + Define DEFAULT_MAX_DB_SIZE and DEFAULT_DATASIZE_PER_BUCKET. + Temporarily define TEMP_FAILURE_RETRY_VAL here. + * nscd/nscd_conf.c (nscd_parse_file): Parse max-db-size parameter + and add sanity checks for it. + + * nscd/aicache.c (addhstaiX): Use send with MSG_NOSIGNAL not write to + send reply. + * nscd/connection.c (writeall): Likewise. + (handle_request): Likewise. + * nscd/grpcache.c (cache_addgr): Likewise. + * nscd/hstcache.c (cache_addhst): Likewise. + * nscd/initgrcache.c (addinitgroupsX): Likewise. + * nscd/nscd.c (parse_opt): Likewise. + * nscd/nscd_stat.c (send_stats): Likewise. + (receive_print_stats): Likewise. + * nscd/pwdcache.c (cache_addpw): Likewise. + + * sysdeps/unix/sysv/linux/Versions: Export inotify_* syscalls. + +2005-08-22 Jakub Jelinek + + * stdlib/bits/stdlib.h (mbstowcs): Divide __bos (__dst) by + sizeof (wchar_t) rather than multiplying __len by sizeof (wchar_t). + Pass __bos (__dst) / sizeof (wchar_t) to the *_chk routine. + * wcsmbs/bits/wchar2.h (mbsrtowcs, mbsnrtowcs): Likewise. + * debug/mbsnrtowcs_chk.c (__mbsnrtowcs_chk): Don't multiply + len by sizeof (wchar_t). + * debug/mbsrtowcs_chk.c (__mbsrtowcs_chk): Likewise. + * debug/mbstowcs_chk.c (__mbstowcs_chk): Likewise. + Fix type of SRC argument. Pass &SRC rather than SRC to + __mbsrtowcs. + * debug/wcstombs_chk.c (__wcstombs_chk): Pass &SRC rather than SRC + to __wcsrtombs. + * debug/tst-chk1.c: Include assert.h. + (do_test): Change enough array from VLA into a fixed size array. + Assert that MB_CUR_MAX is <= sizeof (enough). Use FAIL () macro + instead of print error details. Add several new tests. + Kill some unused variable warnings. + +2005-08-21 Ulrich Drepper + + * resolv/res_send.c (Aerror): Fix printing IP address. + + * resolv/res_send.c (send_vc): Pass correct sockaddr size to connect. + +2005-08-19 H.J. Lu + + * sysdeps/ia64/fpu/libm_error.c (__libm_error_support): Don't abort. + +2005-08-17 Robert Love + + * sysdeps/unix/sysv/linux/sys/inotify.h: Add IN_MOVE_SELF event. + +2005-08-19 Bruno Haible + + * intl/localealias.c (read_alias_file): In case of failure, close the + file descriptor and sort the array before returning. + +2005-08-19 Ulrich Drepper + + * malloc/Makefile: Link libmemusage.so with ld.so. + * malloc/memusage.c: Use atomic operations for all counter and size + computations. Handle thread stacks. + * sysdeps/generic/memusage.h: Define memusage_cntr_t and + memusage_size_t. + * sysdeps/i386/i686/memusage.h: New file. + * include/atomic.h: Define atomic_max and atomic_min. + + * debug/tst-chk1.c: Add tests for mbstowcs and wcstombs. + +2005-08-17 Paul Eggert + + [BZ #1207] + * posix/regex.h: Remove spurious space-before-tab. From gnulib. + +2005-08-16 Ulrich Drepper + + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add + sys/inotify.h. + * sysdeps/unix/sysv/linux/sys/inotify.h: New file. + * sysdeps/unix/sysv/linux/syscalls.list: Add inotify syscalls. + + * nscd/cache.c (prune_cache): Add more debug output. Only for + debug level 3 and higher and very verbose. + + * nscd/cache.c (prune_cache): Use stat64 not stat. + * nscd/connections.c (nscd_init): Likewise. + +2005-08-10 Sergio Gelato + + [BZ #1188] + * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Change assert check + from (len > 0) to (len >= 0). + +2005-08-16 Ulrich Drepper + + * nis/nis_xdr.c (_xdr_nis_result): Fix type of res variable. + Reported by Thomas Schwinge. + +2005-08-15 Jakub Jelinek + + * nis/nis_subr.c (nis_leaf_of_r): Handle buflen == 0 correctly. + +2005-08-16 Ulrich Drepper + + * nss/getent.c (more_help): Use open_memstream instead of handling + memory allocation ourselves. + +2005-08-16 Jay Fenlason + + * nss/getent.c (parse_options): change the -s option to support + {database}:{search} to override /etc/resolv.conf for only the + specified database. + +2005-08-08 Ulrich Drepper + + * nscd/connections.c (main_loop_epoll): Pass NULL as event + argument for epoll_ctl(EPOLL_CTL_DEL) calls. + + * nscd/nscd_stat.c (receive_print_stats): Really print values of + thread number, paranoia, and restart interval the server is using. + + * argp/argp-help.c: Use _IO_vasprintf instead of vasprintf. + * include/stdio.h: Add libc_hidden_proto for __vfprintf_chk. + * debug/vfprintf_chk.c: Add libc_hidden_def. + +2005-08-08 Roland McGrath + + * argp/argp-help.c (__argp_error): __asprintf -> vasprintf. + (__argp_failure): Likewise. + +2005-08-08 Ulrich Drepper + + * nscd/cache.c (cache_add): Commit hash table and header to disk. + + * nscd/mem.c (mempool_alloc): Use posix_fallocate instead of ftruncate. + * nscd/connections.c (nscd_init): Likewise. + +2005-08-08 Jakub Jelinek + + * stdio-common/fxprintf.c: Include libioP.h. + + * posix/bits/unistd.h (confstr, getgroups, ttyname_r, gethostname, + getdomainname): Add __NTH. + * stdlib/bits/stdlib.h (ptsname_r, wctomb, mbstowcs, wcstombs): + Likewise. + (realpath): Likewise. Use __const instead of const. Add __restrict + keywords. + * socket/bits/socket2.h (recvfrom): Add __restrict keyword to __buf. + * wcsmbs/bits/wchar2.h (wmemcpy, wmemmove, wmempcpy, wmemset, + wcscpy, wcpcpy, wcsncpy, wcpncpy, wcscat, wcsncat, vswprintf, wcrtomb, + mbsrtowcs, wcsrtombs, mbsnrtowcs, wcsnrtombs): Add __NTH. + * string/bits/string3.h (__memset_ichk): Likewise. + (__memcpy_ichk, __memmove_ichk, __mempcpy_ichk, __strcpy_ichk, + __stpcpy_ichk, __strncpy_ichk, stpncpy, __strcat_ichk, + __strncat_ichk): Likewise. Use __const instead of const. + (__stpncpy_chk): Use __const instead of const. + (__stpncpy_alias): Use __REDIRECT_NTH instead of __REDIRECT. + +2005-08-08 Ulrich Drepper + Jakub Jelinek + + * nscd/mem.c (BLOCK_ALIGN_LOG, BLOCK_ALIGN, BLOCK_ALIGN_M1): Move + definitions to... + * nscd/nscd.h (BLOCK_ALIGN_LOG, BLOCK_ALIGN, BLOCK_ALIGN_M1): ...here. + * nscd/connections.c (usekey): New enum. + (check_use, verify_persistent_db): New functions. + (nscd_init): If persistent database is corrupted, unlink it and + recreate rather than falling back to non-persistent database. + Call verify_persistent_db. Avoid overflows in total computation. + +2005-08-08 Ulrich Drepper + + * iconvdata/utf-16.c (PREPARE_LOOP): Minor cleanups to make code + better readable. Avoid passing var to loop function, it's not + necessary at all. + +2005-08-07 Ulrich Drepper + + * elf/elf.h (DT_ALPHA_PLTRO): Use symbolic name in DT_ALPHA_PLTRO + definition. + +2005-08-05 Ulrich Drepper + + * timezone/checktab.awk: Update from tzcode2005k. + * timezone/private.h: Likewise. + * timezone/scheck.c: Likewise. + * timezone/tzselect.ksh: Likewise. * timezone/zdump.c: Likewise. * timezone/zic.c: Likewise. + * timezone/africa: Update from tzdata2005k. + * timezone/antarctica: Likewise. + * timezone/asia: Likewise. + * timezone/australasia: Likewise. + * timezone/europe: Likewise. + * timezone/iso3166.tab: Likewise. + * timezone/leapseconds: Likewise. + * timezone/northamerica: Likewise. + * timezone/solar87: Likewise. + * timezone/solar88: Likewise. + * timezone/solar89: Likewise. + * timezone/southamerica: Likewise. + * timezone/zone.tab: Likewise. -2008-01-24 Steven Munroe +2005-08-05 Roland McGrath - [BZ #5741] - * sysdeps/powerpc/powerpc64/dl-machine.h (PPC_DCBT, PPC_DCBF): - Define additonal Data Cache Block instruction macros. - (elf_machine_fixup_plt): Add dcbt for opd and plt entries. - Replace dcbst with dcbf and sync with sync/isync. + [BZ #1251] + * mach/shortcut.awk: Ignore `weak_alias' lines. + Reported by Alfred M. Szmidt . -2008-02-21 Alan Modra + [BZ #1250] + * sysdeps/mach/hurd/mig-reply.c (reply_port): Don't use ?: as lvalue. + Reported by Alfred M. Szmidt . - * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class): - Always set ELF_RTYPE_CLASS_PLT. - (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p): Delete. +2005-08-03 Dwayne Grant McConnell -2008-04-03 Steven Munroe + * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): + Use +=, not =, to append. Remove duplicate flags. + * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s): + Likewise. Fix comments. - * sysdeps/powerpc/powerpc32/power4/hp-timing.c: New file. - * sysdeps/powerpc/powerpc32/power4/hp-timing.h: New file. - * sysdeps/powerpc/powerpc64/hp-timing.h [_ARCH_PWR4] (HP_TIMING_NOW): - For ISA 2.01 and later replace mftb with mfspr 268. +2005-08-01 Ulrich Drepper -2008-02-19 Steven Munroe + * sysdeps/unix/sysv/linux/sigwait.c (do_sigwait): Restart system + call if it returned EINTR. - [BZ #5768] - * sysdeps/powerpc/fpu/Makefile (libm-tests): Add test-powerpc-snan. - * sysdeps/powerpc/fpu/test-powerpc-snan.c: New file. +2005-07-31 Ulrich Drepper -2008-02-18 Steven Munroe + * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Move + helper variable into .data.rel.ro. Simplify the code. Extend + comment to explain prelinking. - [BZ #5768] - * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: New file. - * sysdeps/powerpc/powerpc32/fpu/s_isnan.c: Removed. - * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: New file. - * sysdeps/powerpc/powerpc64/fpu/s_isnan.c: Removed. +2005-07-31 Andreas Jaeger -2008-04-10 Jakub Jelinek + * include/bits/syslog.h: New file. - * stdlib/tst-makecontext.c (othervar): New variable. - (cf): Test sign extending the argument to long. +2005-07-30 Ulrich Drepper -2008-03-03 Steven Munroe + * elf/dl-load.c [__WORDSIZE==64] (FILEBUF_SIZE): Adjust the value + up. We have more program header entries now and the note section + was normally not loaded. - * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: New file. - * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: New file. - * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: New file. - * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: New file. - * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: New file. - * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: New file. - * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: New file. + * nis/nis_subr.c: Some minor code cleanups. -2008-02-22 Alan Modra +2005-07-29 Ulrich Drepper - * elf/Makefile (tests): Substitute tests-vis-yes here. - (tests-vis-yes): Delete. - (modules-name, modules-vis-yes): Similarly. + * misc/bits/syslog.h: New file. + * misc/sys/syslog.h: Include for fortification. + * misc/Makefile (headers): Add bits/syslog.h. + * include/sys/syslog.h: Add __vsyslog_chk prototype and hidden_proto. + * sysdeps/generic/syslog.c: Change vsyslog function to __vsyslog_chk. + Call __vfprintf_chk if necessary. Make vsyslog a wrapper. Add + __syslog_chk. + * misc/Versions: Export __syslog_chk and __vsyslog_chk. -2008-02-12 Pete Eberlein +2005-07-28 Thomas Schwinge - [BZ #4407] - * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): - Preserve sign in signgamp when x is zero. + [BZ #1137] + * misc/error.c [_LIBC]: Include and . -2007-10-26 Steven Munroe +2005-07-28 Ulrich Drepper - * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: New File. - * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.c: Removed. - * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: New File. - * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.c: Removed. - * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: New File. - * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: New File. + * nis/nis_xdr.c: Help gcc to avoid generating unnecessary wrapper + functions. -2008-04-09 Ulrich Drepper +2005-07-28 Jakub Jelinek - [BZ #4314] - * sysdeps/i386/i686/memcpy.S: Optimize copying of equally aligned - buffers. + * stdio-common/fxprintf.c (__fxprintf): Add INTUSE to _IO_vfprintf + call. + * gmon/gmon.c (write_gmon): Use __snprintf rather than snprintf. - [BZ #5209] - * sysdeps/unix/sysv/syscalls.list: The times syscall doesn't have - a reserved error value. +2005-07-28 Ulrich Drepper - * stdlib/tst-makecontext.c: Change parameter to cf to negative - value to check for correct sign extension. + * nis/nis_file.c: Rewrite the two pairs of functions into wrappers + around a pair of new, generalized functions. 22% size reduction. - [BZ #5436] - * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext): - Copy 64-bit parameter values even though this is not required in - the standard. +2005-07-27 Ulrich Drepper - * sysdeps/unix/sysv/linux/x86_64/vfork.S (__vfork): Record return - PC save. + * nis/nis_xdr.c: Remove unnecessary cast which might hide bugs. + Rearrange code. This reduces the code size 10%. -2008-02-14 Daniel Jacobowitz +2005-07-26 Jakub Jelinek - * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork): Record return - PC save. + * misc/error.c (error_tail): Fix a comment typo. -2008-04-09 Jakub Jelinek +2005-07-25 Ulrich Drepper - * nss_files/files-XXX.c (_nss_files_getXXent_r): Restore saved errno. + * po/zh_TW.po: Update from translation team. -2008-04-09 Ulrich Drepper + * debug/mbstowcs_chk.c: New file. + * debug/wcstombs_chk.c: New file. + * debug/Makefile (routines): Add mbstowcs_chk and wcstombs_chk. + * debug/Versions: Add __mbstowcs_chk and __wcstombs_chk. + * stdlib/bits/stdlib.h: Add definitions for mbstowcs and wcstombs. - [BZ #5998] - * libio/iofwrite.c (_IO_fwrite): Return correct count if flushing - in line-buffered stream failed. - * libio/iofwrite_u.c (fwrite_unlocked): Likewise. + * wcsmbs/bits/wchar2.h (mbsrtowcs): Pretty printing. -2008-04-08 Ulrich Drepper +2005-07-24 Ulrich Drepper - [BZ #6024] - * scripts/abi-versions.awk: If the version specified by - --enable-oldest-abi is older than the first version for this - architecture, use the default version. + * string/test-memset.c (test_main): Use negative byte value in + test. - * locale/programs/ld-collate.c (collate_read): Ignore script lines - as well when ignoring the whole category. + * string/test-memset.c (do_one_test): Compare effect of call, not + only return value. + Add a few casts to avoid warnings. -2008-04-07 Ulrich Drepper +2005-07-24 SUGIOKA Toshinobu - [BZ #6042] - * sysdeps/unix/sysv/linux/net/ethernet.h: Add a few more - ETHERTYPE_* definitions. - Patch partly by Aurelien Jarno . + * sysdeps/sh/memset.S (memset): Correct 2nd argument handling. -2008-04-07 Jakub Jelinek +2005-07-24 Ulrich Drepper - * stdlib/mbtowc.c (__no_r_state): Remove. - (mbtowc): New static state variable. Use it instead of - __no_r_state. - * stdlib/wctomb.c (__no_r_state): Remove extern decl. - (__wctomb_state): New hidden variable. - (wctomb): Use __wctomb_state instead of __no_r_state. - * debug/wctomb_chk.c (__no_r_state): Remove extern decl. - (__wctomb_state): New extern decl. - (__wctomb_chk): Use __wctomb_state instead of __no_r_state. + [BZ #1125] + * posix/Makefile (tests): Add tst-execvp4. + * posix/tst-execvp4.c: New file. -2008-04-07 Ulrich Drepper +2005-07-24 Jakub Jelinek - [BZ #5475] - * resolv/res_init.c: Handle scope IDs in resolv.conf. + [BZ #1125] + * posix/execvp.c (execvp): Change path_malloc to + char *, free that pointer on failure. -2008-04-07 Jakub Jelinek +2005-07-24 Ulrich Drepper - * malloc/mtrace.pl: Use $@ instead of $* to keep perl 5.10 quiet. + * wcsmbs/bits/wchar2.h: Use __FILE not FILE. + * wcsmbs/Makefile: Add rules to build and run tst-wchar-h. + * wcsmbs/tst-wchar-h.c: New file. -2008-04-06 Ulrich Drepper +2005-07-22 Ulrich Drepper - * po/nl.po: Update from translation team. + * stdio-common/fxprintf.c (__fxprintf): Define variable more local. -2008-03-31 Ulrich Drepper +2005-07-22 Jakub Jelinek - [BZ #6007] - * string/strfry.c: Handle empty strings again. + * wcsmbs/bits/wchar2.h (__vfwprintf_chk, __vwprintf_chk): Use + __gnuc_va_list rather than _G_va_list. -2008-03-30 Ulrich Drepper +2005-07-22 Roland McGrath - [BZ #5443] - * intl/dcigettext.c (__dcigettext): Get reader lock for locale data - before looking for translation. - * locale/duplocale.c: Transform __libc_setlocale_lock into rwlock. - * locale/freelocale.c: Likewise. - * locale/newlocale.c: Likewise. - * locale/setlocale.c: Likewise. - Based partially on a patch by ryo@np.css.fujitsu.com. + [BZ #869] + * Makerules ($(objpfx)stubs): Fix last change. -2008-03-30 Jakub Jelinek +2005-07-21 Roland McGrath - * intl/dcigettext.c (_nl_find_msg): Reread nconversions after - acquiring wrlock. Do conv_tab allocation while holding lock. - * intl/Makefile: Add rules to build and run tst-gettext6. - * intl/tst-gettext6.c: New test. - * intl/tst-gettext6.sh: New file. + * nscd/Makefile ($(objpfx)nscd): Pass $(nscd-cflags) to $(LINK.o). -2008-03-30 Ulrich Drepper + * stdlib/Makefile (headers): Move bits/wchar.h to ... + * wcsmbs/Makefile (headers): ... here. Add bits/wchar2.h too. - * po/nl.po: Update from translation team. +2005-07-21 Jakub Jelinek - * sysdeps/unix/opendir.c (__alloc_dir): If allocation fails for size - provided through st_blksize, try the default size before giving up. + * wcsmbs/bits/wchar2.h (swprintf): Remove format argument. + * debug/tst-chk1.c (do_test): Add test for swprintf with format + being the last argument. -2008-03-29 Ulrich Drepper +2005-07-21 Thorsten Kukuk - * stdio-common/vfprintf.c (vfprintf): Correct overflow test. + * debug/getgroups_chk.c (__getgroups_chk): Fix return value. - [BZ #5939] - * sysdeps/posix/tempname.c (__gen_tempname): Correct flag selection. + * stdio-common/fxprintf.c: Include string.h. - * posix/getopt.c (_getopt_internal_r): Remove old POSIX-demanded - error message. POSIX today does not require the messages to be in - a specific form. Suggested by Jim Meyering . +2005-07-20 Ulrich Drepper - [BZ #5979] - * sunrpc/auth_unix.c: Unify printed strings. + [BZ #1138] + * sysdeps/x86_64/fpu/libm-test-ulps: Adjust expected atan2f results. + * sysdeps/powerpc/fpu/libm-test-ulps: Likewise. + * sysdeps/s390/fpu/libm-test-ulps: Likewise. + +2005-07-20 Bob Wilson + Darin Petkov + + [BZ #1138] + * sysdeps/ieee754/flt-32/e_atan2f.c (pi_lo): Correct exponent value. + +2005-07-20 Jakub Jelinek + + * include/stdio.h (__fxprintf): Remove wfmt argument. + * stdio-common/fxprintf.c: Include assert.h, ctype.h and wchar.h. + (__fxprintf): Remove wfmt argument, create wfmt format string on + the fly from fmt. + * argp/argp-fmtstream.c: Adjust all __fxprintf callers. + * argp/argp-help.c: Likewise. + * assert/assert-perr.c: Likewise. + * assert/assert.c: Likewise. + * gmon/gmon.c: Likewise. + * inet/rcmd.c: Likewise. + * malloc/obstack.c: Likewise. + * misc/error.c: Likewise. + * misc/getpass.c: Likewise. + * posix/getopt.c: Likewise. + * resolv/res_hconf.c: Likewise. + * stdio-common/perror.c: Likewise. + * stdio-common/psignal.c: Likewise. + * stdlib/fmtmsg.c: Likewise. + * sunrpc/auth_unix.c: Likewise. + * sunrpc/clnt_perr.c: Likewise. * sunrpc/clnt_tcp.c: Likewise. * sunrpc/clnt_udp.c: Likewise. * sunrpc/clnt_unix.c: Likewise. + * sunrpc/svc_simple.c: Likewise. * sunrpc/svc_tcp.c: Likewise. * sunrpc/svc_udp.c: Likewise. * sunrpc/svc_unix.c: Likewise. @@ -7434,5512 +9198,3471 @@ d2009-10-30 Ulrich Drepper * sunrpc/xdr_array.c: Likewise. * sunrpc/xdr_rec.c: Likewise. * sunrpc/xdr_ref.c: Likewise. - * locale/programs/ld-time.c (time_finish): Unify messages. - * locale/programs/locfile.c (handle_copy): Fix typo. - * nscd/nscd.c (options): Fix typo. - - [BZ #5995] - * stdlib/strtod_l.c: Use correct sign for result in one more - underflow case. - Patch by Eric Blake . - -2008-03-27 Jakub Jelinek - - * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Add open - and creat system calls. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove open system - call. - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Remove open and creat - system calls. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. - -2008-03-27 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefined ARG_MAX if - has defined it. - * sysdeps/unix/sysv/linux/sys/param.h: Define NCARGS to the legacy - ARG_MAX value and prevent ARG_MAX from being defined by the kernel - headers. - * sysdeps/unix/sysv/linux/sysconf.c: Define legacy_ARG_MAX and use - it instead of ARG_MAX. - -2008-03-25 Jakub Jelinek - - * posix/gai.conf: Fix comment for scope nullbits. - * sysdeps/posix/getaddrinfo.c (gaiconf_init): If /bits is not present, - default to 128 bits for v4 mapped addresses. - -2008-03-07 Martin Schwidefsky - - * sysdeps/s390/fpu/fegetenv.c (fegetenv): Remove PTRACE_PEEKUSER - ptrace call to get the ieee_instruction_pointer from the kernel. - * sysdeps/s390/fpu/fesetenv.c (fesetenv): Remove PTRACE_POKEUSER - ptrace call to set the ieee_instructtion_pointer. - * sysdeps/unix/sysv/linux/s390/sys/user.h (struct _user_regs_struct): - Add comment that ieee_instruction_pointer is always 0. - -2008-03-09 Andreas Jaeger - - [BZ #5857] - * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Handle j0==18. - * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Likewise. - Patch by Mark Elliott . - - * math/libm-test.inc (nearbyint_test): Add new test cases from #5857. - (rint_test): Likewise. - -2008-03-24 Ulrich Drepper - - * nis/nis_call.c (nis_server_cache_search): Save errno around stat - call. - (__nisfind_server): Similar for open readColdStartFile call. - Patch partially by Jim Meyering. - * nss/nss_files/files-XXX.c (_nss_files_getXXent_r): Save errno - around internal_setent call. - - * po/vi.po: New Vietnamese translation. - - * sysdeps/unix/sysv/linux/adjtime.c: Correctly use - ADJ_OFFSET_SS_READ. - - * sysdeps/unix/sysv/linux/bits/sched.h: Add new CLONE_* flags, - remove CLONE_STOPPED. - -2008-02-10 Jim Meyering - - Remove useless "if" before "free": - * elf/ldconfig.c (parse_conf_include): Likewise. - * gmon/gmon.c (weak_alias): Likewise. - * iconv/gconv_conf.c (__gconv_get_path): Likewise. - * inet/rcmd.c (__validuser2_sa): Likewise. - * intl/bindtextdom.c (set_binding_values): Likewise. - * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Likewise. - * libio/genops.c (save_for_backup): Likewise. - * libio/wgenops.c (save_for_wbackup): Likewise. - * locale/programs/ld-collate.c (collate_read): Likewise. - * locale/programs/linereader.c (get_string): Likewise. - * nis/nss_compat/compat-pwd.c (give_pwd_free): Likewise. - * nis/nss_compat/compat-spwd.c (give_spwd_free): Likewise. - * resolv/res_debug.c (do_section): Likewise. - * sunrpc/xdr_sizeof.c (x_inline, xdr_sizeof): Likewise. - * sysdeps/mach/hurd/if_index.c (libc_hidden_def): Likewise. - * sysdeps/posix/sprofil.c (__sprofil): Likewise. - * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise. - * time/tzset.c (tzset_internal): Likewise. - -2008-03-18 Jakub Jelinek - - * sysdeps/unix/sysv/linux/dl-sysdep.h: Use __ASSEMBLER__ instead - of ASSEMBLER. - -2008-03-11 Ulrich Drepper - - [BZ #5903] - * iconv/iconv_charmap.c (charmap_conversion): Pass name of output file - not stream for output file. Open output file here. - * iconv/iconv_prog.c (process_lock): Take pointer to output stream - and output file name. - (process_fd): Likewise. - (process_file): Likewise. - (main): Adjust callers of changed functions. - * iconv/iconv_prog.h: Adjust prototype. - -2008-03-09 Andreas Jaeger - - [BZ #5753] - * sysdeps/ia64/ieee754.h: Use protected namespace - __BIG_ENDIAN/__LITTLE_ENDIAN. - * sysdeps/ieee754/ieee754.h: Likewise. - Patch by Aurelien Jarno . - -2008-03-08 Roland McGrath - - * hurd/hurdsig.c (_hurd_internal_post_signal): When normal rules would - ignore a signal that came from a machine exception, treat it as a - fatal core-dump signal instead. - Reported by Samuel Thibault . - - * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): - Clear DF bit in thread state's eflags. - Reported by Samuel Thibault . - -2008-03-08 Ulrich Drepper - - [BZ #5774] - * stdlib/strtod_l.c (____STRTOF_INTERNAL): Consume closing brace - of NAN(...) sequence. - * stdlib/Makefile (tests): Add tst-strtod6. - * stdlib/tst-strtod6.c: New file. - - * inet/inet6_opt.c (inet6_opt_init): Check extlen for overflow. - - [BZ #5762] - * posix/getopt.c (_getopt_internal_r): Clarify error message by - putting offending option character in quotes. Clean up error - messages. - * po/be.po: Adjust msgstr in translation file. - * po/bg.po: Likewise. - * po/ca.po: Likewise. - * po/cs.po: Likewise. - * po/da.po: Likewise. - * po/de.po: Likewise. - * po/es.po: Likewise. - * po/fr.po: Likewise. - * po/hr.po: Likewise. - * po/ko.po: Likewise. - * po/nl.po: Likewise. - * po/rw.po: Likewise. - * po/sk.po: Likewise. - * po/sv.po: Likewise. - * po/tr.po: Likewise. - * po/zh_CN.po: Likewise. - * po/zh_TW.po: Likewise. - - [BZ #5760] - * inet/inet6_opt.c (inet6_opt_init): Fix ip6h_len computation. - Patch by Roland Bless . - - * sysdeps/unix/sysv/linux/dl-sysdep.c: Avoid unnecessary code for - .o file. - * elf/Makefile (routines): Add dl-sysdep. - (elide-routines.os): Likewise. - -2008-03-07 Ulrich Drepper - - [BZ #5786] - * elf/dl-sysdep.c: Undefine ROUND after use. - * sysdeps/generic/ldsodefs.h [HAVE_DL_DISCOVER_OSVERSION] - (struct rtld_global_ro): Add _dl_tls_get_addr_soft element. - * elf/rtld.c (rtld_global_ro): Initialize _dl_discover_osversion. - * sysdeps/unix/sysv/linux/dl-osinfo.h: Move _dl_discover_osversion - to ... - * sysdeps/unix/sysv/linux/dl-sysdep.c: ...here. - * sysdeps/unix/sysv/linux/dl-sysdep.h: Declare _dl_discover_osversion - if necessary. - * sysdeps/unix/sysv/linux/sysconf.c: Handle _SC_ARG_MAX here. - - * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add - _dl_tls_get_addr_soft element. - * elf/rtld.c (rtld_global_ro): Initialize _dl_tls_get_addr_soft. - * elf/Versions (ld): Don't export _dl_tls_get_addr_soft. - * dlfcn/dlinfo.c (dlinfo_doit): Access dl_tls_get_addr_soft through - GLRO. - * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise. - * elf/dl-tls.c (_dl_tls_get_addr_soft): Use attribute_hidden instead - of internal_function. - - * stdlib/Makefile (aux): Add tens_in_limb. - * stdlib/strtod_l.c: Move _tens_in_limb definition to... - * stdlib/tens_in_limb.c: ...here. New file. - - [BZ #5778] - * sysdeps/unix/sysv/linux/pathconf.h: Declare - __statfs_chown_restricted. - * sysdeps/unix/sysv/linux/fpathconf.c: Call __statfs_chown_restricted - for _PC_CHOWN_RESTRICTED. - * sysdeps/unix/sysv/linux/pathconf.c: Likewise. - Implement __statfs_chown_restricted. - * sysdeps/unix/sysv/linux/bits/posix_opt.h: Change - _POSIX_CHOWN_RESTRICTED value to zero. - * io/tst-fchownat.c: Correctly handle _POSIX_CHOWN_RESTRICTED - defined to zero. - - * sysdeps/x86_64/rtld-memset.c: New file. - -2008-02-26 Harsha Jagasia - - * sysdeps/x86_64/cacheinfo.c (NOT_USED_RIGHT_NOW): Remove ifdef guards. - - * sysdeps/x86_64/memset.S: Rewrite non-SSE code path as tuned for AMD - Barcelona machine. Make default fall through branch of - __x86_64_preferred_memory_instruction check as the integer code path. - -2007-10-15 H.J. Lu - - * sysdeps/x86_64/cacheinfo.c - (__x86_64_preferred_memory_instruction): New variable. - (init_cacheinfo): Initialize __x86_64_preferred_memory_instruction. - - * sysdeps/x86_64/memset.S: Rewrite. - -2008-03-04 Jakub Jelinek - - * include/stdio.h (__asprintf_chk, __dprintf_chk, - __obstack_printf_chk): New prototypes. - (__vasprintf_chk, __vdprintf_chk, - __obstack_vprintf_chk): Likewise. - Add libc_hidden_proto. - * libio/obprintf.c - (_IO_obstack_jumps): No longer static, add attribute_hidden. - * libio/bits/stdio-ldbl.h (__asprintf_chk, __dprintf_chk, - __obstack_printf_chk, __vasprintf_chk, __vdprintf_chk, - __obstack_vprintf_chk): Add __LDBL_REDIR_DECL. - * libio/bits/stdio2.h (__asprintf_chk, __dprintf_chk, - __obstack_printf_chk, __vasprintf_chk, __vdprintf_chk, - __obstack_vprintf_chk): New prototypes. - (asprintf, __asprintf, dprintf, obstack_printf, vasprintf, vdprintf, - obstack_vprintf): New inlines. - * debug/dprintf_chk.c: New file. - * debug/vdprintf_chk.c: New file. - * debug/asprintf_chk.c: New file. - * debug/vasprintf_chk.c: New file. - * debug/obprintf_chk.c: New file. - * debug/tst-chk1.c (do_test): Add asprintf and obstack_printf tests. - * debug/Versions (__asprintf_chk, __dprintf_chk, __obstack_printf_chk, - __vasprintf_chk, __vdprintf_chk, __obstack_vprintf_chk): Export - @@GLIBC_2.8. - * debug/Makefile: Build asprintf_chk, vasprintf_chk, dprintf_chk, - vdprintf_chk and obprintf_chk, set CFLAGS for them. - * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vasprintf_chk, - __nldbl___vdprintf_chk, __nldbl___obstack_vprintf_chk): Add - libc_hidden_proto. - * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl___vasprintf_chk, - __nldbl___vdprintf_chk, __nldbl___obstack_vprintf_chk): New prototypes. - * sysdeps/ieee754/ldbl-opt/Versions (__nldbl___asprintf_chk, - __nldbl___vasprintf_chk, __nldbl___dprintf_chk, __nldbl___vdprintf_chk, - __nldbl___obstack_printf_chk, __nldbl___obstack_vprintf_chk): Export - @@GLIBC_2.8. - * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add asprintf_chk, - vasprintf_chk, dprintf_chk, vdprintf_chk, obstack_printf_chk and - obstack_vprintf_chk. - * sysdeps/ieee754/ldbl-opt/nldbl-obstack_vprintf_chk.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-dprintf_chk.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-obstack_printf_chk.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-asprintf_chk.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-vdprintf_chk.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-vasprintf_chk.c: New file. - -2008-03-04 Ulrich Drepper - - [BZ #5779] - * misc/sys/queue.h: Add STAILQ_CONCAT and TAILQ_CONCAT definitions. - Patch by Roy Marples . - - [BZ #5736] - * malloc/malloc.c: Fix typo in comment. - - [BZ #5627] - * locale/iso-639.def: Add Shuswap. - -2008-02-25 Jakub Jelinek - - [BZ #5790] - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Don't - overwrite *h_errnop/*errnop values from getanswer_r in case of - failure. - -2008-03-03 Ulrich Drepper - - [BZ #5818] - * nscd/connections.c (dbs): Add initializers for .suggested_module. - (verify_persistent_db): Remove one unnecessary test and add a new one - for bad configuration. - (nscd_init): Improve error reported when persistent database cannot - be reused. - * nscd/nscd.h (DEFAULT_SUGGESTED_MODULE): Define. - * nscd/nscd_conf.c (nscd_parse_file): Provide default values for - .suggested_module and .max_db_size and case config file says the - values are zero. - * nscd/nscd_helper.c (get_mapping): Fail if hash table module is zero. - - [BZ #5854] - * nis/ypclnt.c (yp_order): Fix handling of return value of - do_ypcall_tr call. - Patch by Jeff Moyer . - - * po/fr.po: Update from translation team. - -2008-02-22 Andreas Jaeger , - Carlos O'Donell - - [BZ #5012] - * FAQ.in: Describe why glibc needs to be compiled with - optimization. - -2008-02-19 Roland McGrath - - * elf/elf.h (SHT_GNU_ATTRIBUTES): New macro. - -2008-02-15 Ulrich Drepper - - [BZ #5737] - * resolv/netdb.h: Make NI_MAXHOST and NI_MAXSERV available when - __USE_MISC is defined. - -2008-02-10 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sys/timerfd.h: New file. - * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers): Add - sys/timerfd.h. - * sysdeps/unix/sysv/linux/syscalls.list: Add timerfd_create, - timerfd_gettime, timerfd_settime. - * sysdeps/unix/sysv/linux/Versions: Add timerfd_create, - timerfd_gettime, timerfd_settime for GLIBC_2.8. - -2008-02-08 Roland McGrath - - * elf/elf.h (NT_PPC_SPE): New macro. - -2008-02-06 Roland McGrath - - * Makerules ($(common-objpfx)sysd-rules): - Depend on $(sysdep-makeconfigs). - -2008-01-31 Roland McGrath - - [BZ #5442] - * configure.in: Use -print-file-name if it yields a directory, - for each of include and include-fixed. - * configure: Regenerated. - - * Makeconfig (sysd-rules-targets): New variable. - * sysdeps/unix/make-syscalls.sh: Use it in the rules emitted. - * sysdeps/unix/Makefile (omit-deps): Append variants for each target. - -2008-01-30 Roland McGrath - - * manual/libc.texinfo: Update back-cover text. - - * elf/elf.h (NT_386_TLS): New macro. - -2008-01-29 Roland McGrath - - * Makeconfig (sysd-rules-patterns): New variable. - * Makerules ($(common-objpfx)sysd-rules): Drive the loop from that. - (check-inhibit-asm): New canned sequence, replaces ... - (open-check-inhibit-asm, close-check-inhibit-asm): ... these, removed. - * elf/rtld-Rules ($(objpfx)rtld-%.os): Use $(rtld-CPPFLAGS) in commands. - (rtld-CPPFLAGS): Renamed from CPPFLAGS-rtld. - (CFLAGS-rtld): Variable removed. - -2008-01-24 Roland McGrath - - * configure.in: Let configure fragments set base_os. - * configure: Regenerated. - -2008-01-22 Ulrich Drepper - - * po/ko.po: Update from translation team. - -2008-01-12 H.J. Lu - - * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Use short for fnstsw. - -2008-01-12 Andreas Jaeger - - [BZ #5040] - * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h (enum EPOLL_EVENTS): - Add EPOLLRDHUP. - -2008-01-20 Samuel Thibault - - * hurd/hurdsock.c (_hurd_socket_server): Return the standard - error EAFNOSUPPORT rather than non-standard EPFNOSUPPORT. - * sunrpc/bindrsvprt.c (bindresvport): Likewise. - -2007-10-23 Alexandre Oliva - - * include/link.h (FORCED_DYNAMIC_TLS_OFFSET): Define. - * elf/dl-close.c (_dl_close): Check for it. - * elf/dl-reloc.c (CHECK_STATIC_TLS): Likewise. - (_dl_allocate_static_tls): Likewise. - * elf/dl-tls.c (_dl_allocate_tls_init): Likewise. - (__tls_get_addr): Protect from race conditions in setting l_tls_offset - to it. - * elf/tst-tls16.c: New file. - * elf/tst-tlsmod16a.c: New file. - * elf/tst-tlsmod16b.c: New file. - * elf/Makefile: Add rules to build and run tst-tls16. - -2008-01-16 Ulrich Drepper - - [BZ #5628] - * bits/shm.h: Fix comment describing shmid_ds. - * sysdeps/gnu/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise. - Patch by Hareesh Nagarajan . - - [BZ #5607] - * conform/data/fcntl.h-data: Fix posix_fadvise and posix_fallocate - prototypes. - * conform/data/limits.h-data: Adjust limits changed in v6 and add - additional suffixes. - * conform/data/mqueue.h-data: Fix typo in mq_curmsgs entry. - Add optional functions mq_timedreceive and mq_timedsend. - * conform/data/netdb.h-data: Add more AI_* and EAI_* constants. - * conform/data/pthread.h-data: Fix prototype of - pthread_condattr_setclock. pthread_sigmask is not required in v6. - * conform/data/semaphore.h-data: Allow time.h definitions. - * conform/data/signal.h-data: Likewise. - * conform/data/stdio.h-data: getw and putw are not required in v6. - * conform/data/stdlib.h-data: Change setstate prototype. - * conform/data/string.h-data: Fix strerror_r prototype. - * conform/data/time.h-data: Fix typo in TIMER_ABSTIME definition. - * conform/data/unistd.h-data: pthread_atfork not required in v6. - Fix readlink prototype. - * conform/data/netinet/in.h-data: Add const to in6addr_any and - in6addr_loopback. - * inet/netinet/in.h: Cleanup namespace. - * posix/regex.h: Likewise. - * resolv/netdb.h: Likewise. - * sysdeps/unix/sysv/linux/bits/in.h: Likewise. - * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise. - * sysdeps/posix/getaddrinfo.c (default_labels): Adjust for change - of names of in in6_addr. - (default_precedence): Likewise. - * sysdeps/unix/sysv/linux/cmsg_nxthdr.c: Include for - NULL definition. - -2008-01-15 Ulrich Drepper - - * conform/data/fmtmsg.h-data: Add missing allows. - * conform/data/ftw.h-data: Likewise. - * conform/data/inttypes.h-data: Likewise. - * conform/data/math.h-data: Likewise. - * conform/data/signal.h-data: Likewise. - * conform/data/net/if.h-data: Likewise. - * conform/data/netinet/in.h-data: Likewise. - * conform/data/sys/socket.h-data: Likewise. - - [BZ #5614] - * string/bits/string2.h (__strtok_r_1c): Always update *__NEXTP. - (__strtok_r): Simplify. - * string/tester.c (test_strtok_r): Add test case for futile search - with single-character seach string. - -2008-01-12 Ulrich Drepper - - * po/ko.po: Update from translation team. - -2008-01-11 Andreas Jaeger - - [BZ #5600] - * sysdeps/unix/sysv/linux/sys/signalfd.h (struct - signalfd_siginfo): Use 64-bit type for ssi_ptr to sync with Linux - kernel header. - -2008-01-10 Ulrich Drepper - - * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Store result of - native interface lookup in all the relevant places. - -2008-01-10 Jakub Jelinek - Ulrich Drepper - - * sysdeps/posix/getaddrinfo.c (sort_results): Remove service_order - field. Use sockaddr_in6 for source_addr. - (get_scope): Change type of parameter to sockaddr_in6. Adjust. - (match_prefix): Likewise. - (get_label): Likewise. - (get_precedence): Likewise. - (rfc3484_sort): Change to use indirect access to results array. - Adjust to use of sockaddr_in6. Replace service_order test with - simple index comparison. - (getaddrinfo): Define order array. Initialize it. Don't initialize - service_order field. Adjust qsort_t calls. Access sorted result - array indirectly through order array. - * posix/tst-rfc3484.c: Adjust for change of rfc3484_sort. - * posix/tst-rfc3484-2.c: Likewise. - * posix/tst-rfc3484-3.c: Likewise. - -2008-01-09 Ulrich Drepper - - [BZ #5541] - * sunrpc/rpc_thread.c (__rpc_thread_destroy): Also free xports and - pollfd structures. - Patch by AndrĂ© Cruz. - - [BZ #5545] - * sunrpc/clnt_perr.c (clnt_sperror): Don't use fixed size buffer. - (clnt_spcreateerror): Likewise. - - [BZ #5553] - * malloc/malloc.c (public_mALLOc): Set ar_ptr when trying main_arena. - (public_mEMALIGn): Likewise. - Patch mostly by Daniel Jacobowitz. - -2008-01-09 Jakub Jelinek - - * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext): Avoid - clobbering memory at or above uc_stack.ss_sp + uc_stack.ss_size. - * stdlib/Makefile: Add rules to build and run tst-makecontext2. - * stdlib/tst-makecontext2.c: New test. - -2008-01-08 Jakub Jelinek - - * iconv/loop.c (UPDATE_PARAMS): Define to empty statement if not - defined. - (REINIT_PARAMS): Likewise. Undefine before end of file. - (STANDARD_TO_LOOP_ERR_HANDLER): Use UPDATE_PARAMS before calling - transliteration hooks and REINIT_PARAMS afterwards. - * iconvdata/iso-2022-jp.c (BODY): Use a separate variable for - status. - (REINIT_PARAMS): Define. - * iconvdata/ibm1364.c (REINIT_PARAMS): Likewise. - * iconvdata/ibm930.c (REINIT_PARAMS): Likewise. - * iconvdata/ibm933.c (REINIT_PARAMS): Likewise. - * iconvdata/ibm935.c (REINIT_PARAMS): Likewise. - * iconvdata/ibm937.c (REINIT_PARAMS): Likewise. - * iconvdata/ibm939.c (REINIT_PARAMS): Likewise. - * iconvdata/iso-2022-cn.c (REINIT_PARAMS): Likewise. - * iconvdata/iso-2022-cn-ext.c (REINIT_PARAMS): Likewise. - * iconvdata/iso-2022-jp-3.c (REINIT_PARAMS): Likewise. - * iconvdata/iso-2022-kr.c (REINIT_PARAMS): Likewise. - * iconvdata/Makefile: Add rules to build and run tst-iconv7.c. - * iconvdata/tst-iconv7.c: New test. - -2008-01-07 Ulrich Drepper - - * libio/stdio.h (vscanf): Fix definition for loser compilers. - -2008-01-05 Jakub Jelinek - - [BZ #5112] - * nscd/connections.c (restart): Fix condition. - -2008-01-03 Jakub Jelinek - - * ctype/ctype.h (__ctype_b_loc, __ctype_tolower_loc, - __ctype_toupper_loc): Add __THROW. - -2008-01-02 Ulrich Drepper - - * sysdeps/unix/sysv/linux/check_pf.c (make_request): Fix - recognition of interface family. - - * posix/getconf.c: Update copyright year. - * nss/getent.c: Likewise. - * iconv/iconvconfig.c: Likewise. - * iconv/iconv_prog.c: Likewise. - * elf/ldconfig.c: Likewise. - * catgets/gencat.c: Likewise. - * csu/version.c: Likewise. - * elf/ldd.bash.in: Likewise. - * elf/sprof.c (print_version): Likewise. - * locale/programs/locale.c: Likewise. - * locale/programs/localedef.c: Likewise. - * nscd/nscd.c (print_version): Likewise. - * debug/xtrace.sh: Likewise. - * malloc/memusage.sh: Likewise. - * malloc/mtrace.pl: Likewise. - * debug/catchsegv.sh: Likewise. - -2007-12-26 Ulrich Drepper - - * nss/nsswitch.c (__nss_lookup): Actually use alternative name in - second lookup. - -2007-12-23 Ulrich Drepper - - * sysdeps/x86_64/cacheinfo.c (intel_02_known): New entry 0x3f. - * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise. - -2007-12-17 Roland McGrath - - * inet/ether_line.c (ether_line): Remove unused variable. - -2007-12-17 Samuel Thibault - - * login/forkpty.c (forkpty): Add const qualifier to parameters termp - and winp. - * login/openpty.c (openpty): Likewise. - * login/pty.h (openpty, forkpty): Likewise. - * manual/terminal.texi (openpty, forkpty): Likewise. - -2007-12-17 Ulrich Drepper - - * malloc/malloc.c (public_cALLOc): For arenas other than - main_arena, count all bytes inside the mprotect_size range of the - heap as uninitialized. - -2007-12-16 Ulrich Drepper - - * elf/tst-execstack.c (do_test): Don't fail if SELinux forbids - executable stacks. - - * malloc/malloc.c (public_mTRIm): Iterate over all arenas and call - mTRIm for all of them. - (mTRIm): Additionally iterate over all free blocks and use madvise - to free memory for all those blocks which contain at least one - memory page. - * malloc/tst-trim1.c: New file. - * malloc/Makefile (tests): Add tst-trim1. - - * malloc/malloc.c (do_check_malloc_state): Minimal cleanups. - -2007-12-14 Ulrich Drepper - - * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INTERNAL_SYSCALL_ERROR_P): - First cast argument to long - * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_gettimeofday): - Return long. - (__vdso_clock_gettime): Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Functions - return long. - -2007-12-13 Ulrich Drepper - - * locale/nl_langinfo.c (nl_langinfo): Just call __nl_langinfo_l. - * locale/nl_langinfo_l.c: Real implementation, copied from - nl_langinfo.c. - * include/langinfo.h: Add libc_hidden_proto for __nl_langinfo_l. - -2007-12-01 Jim Meyering - - * posix/regcomp.c (optimize_utf8): Fix a typo, s/idx/ctx_type/, - that would inhibit utf8-optimization of a regexp containing line- - or buffer-anchors, e.g., `^', `$'. - -2007-12-12 Ulrich Drepper - - * time/bug-getdate1.c (do_test): Don't use century values which - aren't valid on 32-bit systems. - -2007-12-12 Jakub Jelinek - - * sysdeps/i386/i486/bits/string.h (memmove): Define as macro. - (memmove): Rename to __memmove_g, with __asm__ ("memmove"). - * sysdeps/s390/bits/string.h (__strlen_g, __strcpy_g, __strncpy_g, - __strcat_g, __strncat_g): Add __asm__. - -2007-12-12 Ulrich Drepper - - [BZ #5477] - * io/fchmodat.c: Fix typo in stub_warning use. - Patch by Petr Salinger. - -2007-12-11 Ulrich Drepper - - * iconvdata/hp-thai8.c: New file. - * iconvdata/Makefile: Add rules for hp-thai8.c. - * iconvdata/tst-tables.sh: Add entry for HP-THAI8. - * iconvdata/gconv-modules: Likewise. - - [BZ #5464] - * iconvdata/hp-greek8.c: New file. - * iconvdata/Makefile: Add rules for hp-greek8.c. - * iconvdata/tst-tables.sh: Add entry for HP-GREEK8. - * iconvdata/gconv-modules: Likewise. - - [BZ #5463] - * iconvdata/hp-turkish8.c: New file. - * iconvdata/Makefile: Add rules for hp-turkish8.c. - * iconvdata/tst-tables.sh: Add entry for HP-TURKISH8. - * iconvdata/gconv-modules: Likewise. - - * malloc/arena.c (grow_heap): Split out code to shrink heap into... - (shrink_heap): ... this new function. - (heap_trim): Call shrink_heap instead of grow_heap. - - * malloc/malloc.c (_int_malloc): sYSMALLOc might fail, in this - case don't call alloc_perturb. - -2007-12-10 Ulrich Drepper - - * sysdeps/unix/sysv/linux/adjtime.c: Use ADJ_OFFSET_SS_READ if - possible. + * sysdeps/generic/wordexp.c: Likewise. + +2005-07-20 Ulrich Drepper + + * wcsmbs/bits/wchar2.h: Add definitions for wcrtomb, mbsrtowcs, + wcsrtombs, mbsnrtowcs, and wcsnrtombs. + * debug/Makefile (routines): Add wcrtomb_chk, mbsrtowcs_chk, + wcsrtombs_chk, mbsnrtowcs_chk, and wcsnrtombs_chk. + * debug/Versions: Add __wcrtomb_chk, __mbsrtowcs_chk, + __wcsrtombs_chk, __mbsnrtowcs_chk, and __wcsnrtombs_chk. + * debug/tst-chk1.c: Add tests for new functions. + * debug/mbsnrtowcs_chk.c: New file. + * debug/mbsrtowcs_chk.c: New file. + * debug/wcrtomb_chk.c: New file. + * debug/wcsnrtombs_chk.c: New file. + * debug/wcsrtombs_chk.c: New file. + +2005-07-19 Ulrich Drepper + + * stdio-common/Makefile (aux): Add fxprintf. + * stdio-common/fxprintf.c: New file. + * include/stdio.h: Add declaration for __fxprintf. + * argp/argp-fmtstream.c: Use __fxprintf instead of inline stream + orientation test and two separate function calls. + * argp/argp-help.c: Likewise. + * assert/assert-perr.c: Likewise. + * assert/assert.c: Likewise. + * gmon/gmon.c: Likewise. + * inet/rcmd.c: Likewise. + * malloc/obstack.c: Likewise. + * misc/error.c: Likewise. + * misc/getpass.c: Likewise. + * posix/getopt.c: Likewise. + * resolv/res_hconf.c: Likewise. + * stdio-common/perror.c: Likewise. + * stdio-common/psignal.c: Likewise. + * stdlib/fmtmsg.c: Likewise. + * sunrpc/auth_unix.c: Likewise. + * sunrpc/clnt_perr.c: Likewise. + * sunrpc/clnt_tcp.c: Likewise. + * sunrpc/clnt_udp.c: Likewise. + * sunrpc/clnt_unix.c: Likewise. + * sunrpc/svc_simple.c: Likewise. + * sunrpc/svc_tcp.c: Likewise. + * sunrpc/svc_udp.c: Likewise. + * sunrpc/svc_unix.c: Likewise. + * sunrpc/xdr.c: Likewise. + * sunrpc/xdr_array.c: Likewise. + * sunrpc/xdr_rec.c: Likewise. + * sunrpc/xdr_ref.c: Likewise. + * sysdeps/generic/wordexp.c: Likewise. + + [BZ #1137] + * misc/Makefile: Add rules to build and run tst-error1. + * misc/tst-error1.c: New file. + * misc/error.c: Fix memory leak and possibly endless loop. + + * configure.in: Check for -fstack-protector gcc option. + * config.make.in (have-ssp): Add template. + * nscd/Makefile (nscd-cflags): Add -fstack-protector if supported. + + * nscd/nscd.c (main): Don't ignore result of chdir call. + +2005-07-18 Roland McGrath + + [BZ #869] + * Makerules ($(objpfx)stubs): Do cd into $(objdir) to reduce size of + objdump command line. + +2005-07-18 Ulrich Drepper + + * nscd/Makefile (nscd-cflags): Add _FORTIFY_SOURCE. + + * nscd/connections.c: Fix a few wur warnings. + + [BZ #1113] + * nscd/grpcache.c (cache_addgr): Use correct maximum for group ID + length. Patch by Ivan Gyurdiev . + + * debug/confstr_chk.c: New file. + * debug/getdomainname_chk.c: New file. + * debug/getgroups_chk.c: New file. + * debug/gethostname_chk.c: New file. + * debug/getlogin_r_chk.c: New file. + * debug/ttyname_r_chk.c: New file. + * posix/bits/unistd.h: Add definitions for new debug versions. + * debug/tst-chk1.c: Add tests for new functions. + * debug/Versions: Export new functions. + * debug/Makefile (routines): Add new files. + + * stdlib/bits/stdlib.h: Fix typo. + +2005-07-13 Thorsten Kukuk + + * manual/Makefile (libc/index.html): Depend on dir-add.texi. + +2005-07-15 Ulrich Drepper + + * stdlib/bits/stdlib.h: Use __REDIRECT_NTH instead of __REDIRECT + where necessary. + * wcsmbs/bits/wchar2.h: Likewise. + +2005-07-15 Andreas Jaeger + + * debug/Makefile (tst-lfschk3-ENV): New, set locale. + (tst-lfschk2-ENV): New. + (tst-lfschk1-ENV): New. + (tst-chk3-ENV): New. + (tst-chk2-ENV): New. + (tst-chk1-ENV): New. + + [BZ #1079] + * include/stdlib.h: Remove malloc attribute from __posix_memalign. + * stdlib/stdlib.h: Likewise. + +2005-07-15 Ulrich Drepper + + * wcsmbs/bits/wchar2.h: New file. + * include/bits/wchar2.h: New file. + * wcsmbs/wchar.h: Include if fortification is + requested. + * wcsmbs/wcsncpy.c: Add __wcsncpy alias. + * string/bits/string3.h: Add fortified stpncpy definitions. + * sysdeps/generic/stpncpy_chk.c: New file. + * libio/vswprintf.c: Move _IO_wstrnfile definition to strfile.h. + Export _IO_wstrn_jumps. + * libio/strfile.h: Define _IO_wstrnfile and declare _IO_wstrn_jumps. + * include/wchar.h: Declare __wcsncpy and __vswprintf_chk. + * debug/fgetws_chk.c: New file. + * debug/fgetws_u_chk.c: New file. + * debug/fwprintf_chk.c: New file. + * debug/swprintf_chk.c: New file. + * debug/vfwprintf_chk.c: New file. + * debug/vswprintf_chk.c: New file. + * debug/vwprintf_chk.c: New file. + * debug/wcpcpy_chk.c: New file. + * debug/wcpncpy_chk.c: New file. + * debug/wcscat_chk.c: New file. + * debug/wcscpy_chk.c: New file. + * debug/wcsncat_chk.c: New file. + * debug/wcsncpy_chk.c: New file. + * debug/wmemcpy_chk.c: New file. + * debug/wmemmove_chk.c: New file. + * debug/wmempcpy_chk.c: New file. + * debug/wmemset_chk.c: New file. + * debug/wprintf_chk.c: New file. + * debug/tst-chk1.c: Add tests for new functions. + * debug/Versions: Export new functions. + * debug/Makefile (routines): Add new functions. + +2005-07-13 Ulrich Drepper + + * nscd/nscd_helper.c: Add a few __builtin_expect. + + [BZ #1080] + * nscd/connections.c (send_ro_fd): Make sure BUF is aligned correctly. + * nscd/nscd_helper.c (wait_on_socket): New function. + (get_mapping): Use wait_on_socket instead of poll. The former handles + EINTR of poll correctly. + (__nscd_open_socket): Likewise. + (get_mapping): Make sure BUF is aligned correctly. + (get_mapping): Use munmap on correct pointer. + +2005-07-12 Ulrich Drepper + + * include/libc-symbols.h: Define macros for librt hidden symbols. + * include/time.h: Add librt_hidden_proto definition for clock_gettime. + * sysdeps/generic/clock_gettime.c: Add librt_hidden_def. + * sysdeps/unix/clock_gettime.c: Likewise. + + * stdlib/bits/stdlib.h: New file. + * stdlib/stdlib.h: Include if fortification is + requested. + * Makefile (headers): Add bits/stdlib.h. + * include/bits/stdlib.h: New file. + * debug/Depend: New file. + * debug/ptsname_r_chk.c: New file. + * debug/realpath_chk.c: New file. + * debug/wctomb_chk.c: New file. + * debug/Makefile (routines): Add ptsname_r_chk, realpath_chk, and + wctomb_chk. + * debug/Versions: Export __ptsname_r_chk, __realpath_chk, and + __wctomb_chk. + * debug/tst-chk1.c: Add tests for __ptsname_r_chk, __realpath_chk, and + __wctomb_chk. + +2005-07-12 Jakub Jelinek + + [BZ #1106] + * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Include not-cancel.h. + (has_cpuclock): Use open_not_cancel_2 instead of open, read_not_cancel + instead of read and close_not_cancel_no_status instead of close. + + [BZ #1106] + * sysdeps/s390/s390-64/bcopy.S (__bcopy): Use + HIDDEN_BUILTIN_JUMPTARGET to jump to memmove. + +2005-06-27 Carlos O'Donell + + * posix/regcomp.c (re_compile_internal): Call __libc_lock_init + after init_dfa. + +2005-07-08 Ulrich Drepper + + * sysdeps/x86_64/fpu/s_sincosl.S: Use retq not ret. Remove + alignment. + * sysdeps/x86_64/fpu/s_sincos.S: New file. + + * include/fenv.h: Add libm_hidden_proto for fesetround and + feholdexcept. + * sysdeps/alpha/fpu/feholdexcpt.c: Add libm_hidden_def. + * sysdeps/alpha/fpu/fesetround.c: Likewise. + * sysdeps/generic/feholdexcpt.c: Likewise. + * sysdeps/generic/fesetround.c: Likewise. + * sysdeps/i386/fpu/feholdexcpt.c: Likewise. + * sysdeps/i386/fpu/fesetround.c: Likewise. + * sysdeps/ia64/fpu/feholdexcpt.c: Likewise. + * sysdeps/ia64/fpu/fesetround.c: Likewise. + * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise. + * sysdeps/powerpc/fpu/fesetround.c: Likewise. + * sysdeps/s390/fpu/feholdexcpt.c: Likewise. + * sysdeps/s390/fpu/fesetround.c: Likewise. + * sysdeps/sh/sh4/fpu/feholdexcpt.c: Likewise. + * sysdeps/sh/sh4/fpu/fesetround.c: Likewise. + * sysdeps/sparc/fpu/feholdexcpt.c: Likewise. + * sysdeps/sparc/fpu/fesetround.c: Likewise. + * sysdeps/x86_64/fpu/feholdexcpt.c: Likewise. + * sysdeps/x86_64/fpu/fesetround.c: Likewise. + * sysdeps/generic/s_significand.c (__significand): Use __ilogb not + ilogb. + * sysdeps/generic/s_significandf.c (__significandf): Use __ilogbf + not ilogbf. + * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use __sin and + __cos, not sin and cos. + +2005-07-07 Ulrich Drepper + + * resolv/res_send.c (send_dg): Recognize referral results and + treat them as server errors. + Based on a patch by Jason Vas Dias . + +2005-07-08 Carlos O'Donell + + * sysdeps/hppa/setjmp.S (__sigsetjmp): Use %r1 not %r19. + + * sysdeps/hppa/add_n.s (__mpn_add_n): Use sr0 or r0, not 0. + * sysdeps/hppa/lshift.s (__mpn_lshift): Likewise. + * sysdeps/hppa/rshift.s (__mpn_rshift): Likewise. + * sysdeps/hppa/sub_n.s (__mpn_sub_n): Likewise. + * sysdeps/hppa/udiv_qrnnd.s (__udiv_qrnnd): Likewise. + * sysdeps/hppa/hppa1.1/udiv_qrnnd.s (__udiv_qrnnd): Likewise. + +2005-07-07 Ulrich Drepper + + * sysdeps/generic/s_ctanh.c (__ctanh): Handle case of zero den better. + * sysdeps/generic/s_ctanhf.c (__ctanhf): Likewise. + * sysdeps/generic/s_ctanhl.c (__ctanhl): Likewise. + * sysdeps/generic/s_ctan.c (__ctan): Likewise. + * sysdeps/generic/s_ctanf.c (__ctanf): Likewise. + * sysdeps/generic/s_ctanl.c (__ctanl): Likewise. + +2005-04-13 H.J. Lu + + [BZ #974] + * csu/elf-init.c (__preinit_array_start): Take int, char **, char **. + (__preinit_array_end): Likewise. + (__init_array_start): Likewise. + (__init_array_end): Likewise. + (__libc_csu_init): Take int argc, char **argv, char **envp. + Call preinit_array and init_array with argc, argv, envp. + * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Remove + INIT_MAIN_ARGS. + * sysdeps/powerpc/elf/libc-start.c (INIT_MAIN_ARGS): Removed. + * elf/Makefile (distribute): Add tst-array5.c, tst-array5-static.c, + tst-array5dep.c, and tst-array5.exp. + (tests): Add tst-array5. + (tests-static): Add tst-array5-static. + ($(objpfx)tst-array5): New target. + ($(objpfx)tst-array5.out): Likewise. + ($(objpfx)tst-array5-static.out): Likewise. + * elf/tst-array5-static.c: New file. + * elf/tst-array5-static.exp: Likewise. + * elf/tst-array5.c: Likewise. + * elf/tst-array5.exp: Likewise. + * elf/tst-array5dep.c: Likewise. + +2005-07-07 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/sched.h: Adjust clone prototype. + +2005-07-05 Jakub Jelinek + + * elf/stackguard-macros.h (STACK_CHK_GUARD): Fix s390/s390x definition. + Reported by Ulrich Weigand . + + * elf/stackguard-macros.h (STACK_CHK_GUARD): Add ia64 definition. + +2005-07-06 Ulrich Drepper + + * elf/dl-error.c (_dl_signal_error): When testing for executable + being relocated, take into account that nothing might even be loaded. + + * elf/dl-reloc.c [PROF] (_dl_relocate_object): Define + consider_profiling always to zero. Don't count of compiler to + remove unreached if block. + * sysdeps/x86_64/dl-trampoline.S [PROF] (_dl_runtime_profile): + Don't compile. + * sysdeps/i386/dl-trampoline.S [PROF] (_dl_runtime_profile): Likewise. + * sysdeps/ia64/dl-trampoline.S [PROF] (_dl_runtime_profile): Likewise. + * sysdeps/s390/s390-64/dl-trampoline.S [PROF] (_dl_runtime_profile): + Likewise. + * sysdeps/s390/s390-32/dl-trampoline.S [PROF] (_dl_runtime_profile): + Likewise. + * sysdeps/powerpc/powerpc64/dl-trampoline.S [PROF] + (_dl_profile_resolve): Likewise. + * sysdeps/powerpc/powerpc32/dl-trampoline.S [PROF] + (_dl_profile_resolve): Likewise. + * gmon/Makefile: Add rules to build and run tst-profile-static. + * gmon/tst-profile-static.c: New file. + * Makeconfig (+link-static): Allow passing program-specific flags. + +2005-07-05 Thorsten Kukuk + + [BZ #1111] + * nis/nss_compat/compat-grp.c (internal_getgrgid_r): Check if NSS + module provides getgrgid_r. + (getgrnam_plusgroup): Preserve original return value. + * nis/nss_compat/compat-pwd.c (getpwnam_plususer): Preserve + original return value. + * nis/nss_compat/compat-spwd.c (getspnam_plususer): Likewise. + +2005-07-05 Ulrich Drepper + + [BZ #1101] + * posix/regex_internal.c (build_wcs_buffer): Use MB_LEN_MAX not + MB_CUR_MAX. + (build_wcs_upper_buffer): Likewise. + + * csu/elf-init.c (__libc_csu_fini): Pretty printing. + +2005-07-02 Roland McGrath + + * NEWS: Note LinuxThreads removal. + * manual/install.texi (Installation): Don't mention linuxthreads. + (Configuring and compiling): Don't use linuxthreads as example. + + * sysdeps/unix/sysv/linux/configure.in: Check for nptl add-on only, + not linuxthreads. + * sysdeps/unix/sysv/linux/configure: Regenerated. + * resolv/Depend: Add nptl. + * rt/Depend: Likewise. + + * linuxthreads, linuxthreads_db: Directories removed (preserved in + ports repository). + +2005-06-27 Jakub Jelinek + + [BZ #1037] + * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: -mv8 is deprecated, + use -mcpu=v8. + +2005-06-16 Jakub Jelinek + + [BZ #1016] + * sysdeps/ia64/strlen.S (strlen): Change l2 into a local label. + +2005-06-23 Thorsten Kukuk + + [BZ #1109] + * nscd/nscd_stat.c (receive_print_stats): Replace YESSTR/NOSTR + with own translation. + +2005-06-25 Jakub Jelinek + + [BZ #1097] + * sunrpc/xdr.c (xdr_hyper, xdr_u_hyper): When decoding, cast + t2 to uint32_t instead of ulong. + * sunrpc/Makefile (tests): Add tst-xdrmem. + * sunrpc/tst-xdrmem.c: New test. + + * Versions.def (ld): Add GLIBC_2.4. + * configure.in: Add --enable-stackguard-randomization option. + (ENABLE_STACKGUARD_RANDOMIZE): New define. + * config.h.in (ENABLE_STACKGUARD_RANDOMIZE): Add. + * sysdeps/unix/sysv/linux/dl-osinfo.h: Include stdint.h. + (_dl_setup_stack_chk_guard): New inline function. + * sysdeps/generic/dl-osinfo.h: Include stdint.h. + (_dl_setup_stack_chk_guard): New inline function. + * elf/rtld.c (__stack_chk_guard): New variable. + (dl_main): Remove all traces of TLS_INIT_TP_EXPENSIVE. + Set __stack_chk_guard to _dl_setup_stack_chk_guard (), + use THREAD_SET_STACK_GUARD if defined. + * elf/Versions (ld): Export __stack_chk_guard@@GLIBC_2.4. + * sysdeps/generic/libc-start.c (__stack_chk_guard): New variable. + (__libc_start_main): Set __stack_chk_guard to + _dl_setup_stack_chk_guard (), use THREAD_SET_STACK_GUARD if defined. + * sysdeps/generic/libc-tls.c (__libc_setup_tls): Remove all + traces of TLS_INIT_TP_EXPENSIVE. + * debug/Versions (libc): Export __stack_chk_fail@@GLIBC_2.4. + * debug/Makefile (routines): Add stack_chk_fail. + (static-only-routines): Add stack_chk_fail_local. + * debug/stack_chk_fail_local.c: New file. + * debug/stack_chk_fail.c: New file. + * elf/Makefile: Add rules to build and run tst-stackguard1{,-static} + tests. + * elf/tst-stackguard1.c: New file. + * elf/tst-stackguard1-static.c: New file. + * elf/stackguard-macros.h: New file. + +2005-06-21 Ulrich Drepper + + * resource/Makefile (tests): Add tst-getrlimit. + * resource/tst-getrlimit.c: New file. + + * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTPRIO): Fix typo. + * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise. + +2005-06-20 Ulrich Drepper + + * nscd/nscd.init: Get more in line with lsb3. + * nscd/nscd.c: Adjust some error codes to fit in better with lsb3. + * nscd/connections.c: Likewise. + +2005-06-20 Jakub Jelinek + + [BZ #653] + * sysdeps/unix/sysv/linux/sys/quota.h: Add definitions and types for + _LINUX_QUOTA_VERSION >= 2. + (_LINUX_QUOTA_VERSION): Define if not yet defined. + + * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_NICE, + RLIMIT_RTPRIO): Add. + (RLIMIT_NLIMITS): Adjust. + * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIMIT_NICE, + RLIMIT_RTPRIO): Add. + (RLIMIT_NLIMITS): Adjust. + * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_NICE, + RLIMIT_RTPRIO): Add. + (RLIMIT_NLIMITS): Adjust. + * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIMIT_NICE, + RLIMIT_RTPRIO): Add. + (RLIMIT_NLIMITS): Adjust. + +2005-06-17 Ulrich Drepper + + [BZ #1106] + * time/mktime.c: Always include for prototype of + implicitly used memcpy. + + [BZ #1104] + * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c + (truncate64): Use __truncate, not truncate. + (__have_no_truncate64): Renamed from have_no_truncate64. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c + (__have_no_truncate64): Renamed from have_no_truncate64. + + * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ulps for complex + float functions for gcc 4. + +2005-06-10 Jakub Jelinek + + * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup): + Handle prelinked libraries and binaries with new style PLT. + +2005-06-07 Jakub Jelinek + + * elf/elf.h (R_PPC_REL16, R_PPC_REL16_LO, R_PPC_REL16_HI, + R_PPC_REL16_HA): Define. + +2005-06-14 Alan Modra + + * config.h.in (HAVE_ASM_PPC_REL16): Add. + * elf/elf.h (DT_PPC_GOT, DT_PPC_NUM): Define. + * elf/tls-macros.h (PowerPC32): Include config.h. Add variants of + TLS_IE, TLS_LD and TLS_GD for new PLT/GOT layout. + * sysdeps/powerpc/powerpc32/configure.in: New file, + * sysdeps/powerpc/powerpc32/dl-dtprocnum.h: New file. + * sysdeps/powerpc/powerpc32/dl-machine.h (DT_PPC): Define. + (ppc_got): New inline function. + (elf_machine_dynamic): Use ppc_got. Add attribute const. + (elf_machine_load_address): Add attribute const. Don't use int vars. + Use bcl rather than bl to save trashing branch target stack. Use + elf_machine_dynamic rather than duplicating code here. + (elf_machine_runtime_setup): New inline function replacing define. + Handle new PLT. + (elf_machine_fixup_plt): Handle new PLT. + (elf_machine_rela): Likewise. + * sysdeps/powerpc/powerpc32/sysdep.h: Include config.h. + (CALL_MCOUNT): Don't set up counter vars. + * sysdeps/powerpc/powerpc32/ppc-mcount.S: Correct comment. + * sysdeps/powerpc/powerpc32/elf/start.S (start_addressesp): Don't + define when HAVE_ASM_PPC_REL16. + (_start): Add HAVE_ASM_PPC_REL16 code. + * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Don't bl + into the GOT when HAVE_ASM_PPC_REL16. + * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise. + * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Ditto. + * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_lround.S (__lround): Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise. + * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S (__sigsetjmp): + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S (__brk): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S + (__getcontext): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S + (__setcontext): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S + (__swapcontext): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S (stackblock): + Comment. + (__socket): Bomb if NARGS >= 7. Invoke CGOTSETUP and CGOTRESTORE. + +2005-06-17 Ulrich Drepper + + [BZ #1106] + * sysdeps/posix/sigignore.c: Include to tell the compiler + to use __GI_memset. + * sysdeps/posix/signal.c: Likewise. + * sysdeps/posix/sigset.c: Likewise. + * sysdeps/posix/sysv_signal.c: Likewise. + * sysdeps/unix/sysv/linux/sleep.c: Likewise. + * sysdeps/unix/sysv/linux/sysctl.c: Likewise. + * sysdeps/unix/sysv/linux/system.c: Likewise. + +2005-06-15 Jakub Jelinek + + [BZ #1088] + * hesiod/hesiod.c (hesiod_init): Don't check for ctx->classes[0] == 0 + or both classes equal here. + (parse_config_file): If both classes are equal, clear the second one. + +2005-06-08 Karl Kelley + + [BZ #1088] + * hesiod/hesiod_p.h (struct hesiod_p): Add classes array. + * hesiod/hesiod.c (hesiod_init): Initialize classes. Fail if no + valid classes were given or if both are equal. + (hesiod_resolve): Use ctx->classes instead of hardcoded C_IN + and C_HS order. + (parse_config_file): Handle classes keyword. + * hesiod/README.hesiod: Mention addition of the classes keyword. + +2005-06-14 Ulrich Drepper + + [BZ #1085] + * configure.in: Add test for availability of libaudit. + * config.h.in: Define HAVE_LIBAUDIT. + * config.make.in: Define have-libaudit. + * nscd/Makefile: If libaudit is available, link nscd with it. + * nscd/selinux.c: If HAVE_LIBAUDIT is defined, log using libaudit. + Patch by Steve Grubb . + + * debug/pread64_chk.c: Use __libc_pread64 instead of __pread64. + * sysdeps/posix/posix_fallocate64.c: Likewise. + * include/string.h: Use libc_hidden_proto for strnlen. + * sysdeps/generic/strnlen.c: Add libc_hidden_def. + * include/libintl.h: Use libc_hidden_proto for __dcgettext. + * intl/dcgettext.c: Add libc_hidden_def. + * include/execinfo.h: Add libc_hidden_proto for __backtrace and + __backtrace_symbols_fd. + * sysdeps/generic/backtrace.c: Add libc_hidden_def. + * sysdeps/generic/backtracesymsfd.c: Likewise. + * sysdeps/generic/elf/backtracesymsfd.c: Likewise. + * sysdeps/i386/backtrace.c: Likewise. + * sysdeps/ia64/backtrace.c: Likewise. + * sysdeps/powerpc/powerpc32/backtrace.c: Likewise. + * sysdeps/powerpc/powerpc64/backtrace.c: Likewise. + * sysdeps/s390/s390-32/backtrace.c: Likewise. + * sysdeps/s390/s390-64/backtrace.c: Likewise. + +2005-06-13 Ulrich Drepper + + * sysdeps/unix/clock_gettime.c (clock_gettime): Implement case + where HANDLED_REALTIME is not defined. [BZ #966] + +2005-06-13 Jakub Jelinek + + [BZ #1096] + * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_sendreq, + __netlink_receive): Remove prototypes. + (__netlink_request): New prototype. + * sysdeps/unix/sysv/linux/ifaddrs.c: Include and + . + (__netlink_sendreq): Make static. + (__netlink_receive): Rename to... + (__netlink_request): ... this. Add type argument, call + __netlink_sendreq. If MSG_TRUNC is set after recvmsg, retry + with a bigger buffer. Don't record buffers that contain no + messages we are expecting. + (getifaddrs): Use __netlink_request instead of __netlink_sendreq + and __netlink_receive pairs. Formatting. + * sysdeps/unix/sysv/linux/if_index.c (if_nameindex_netlink): Use + __netlink_request instead of __netlink_sendreq and __netlink_receive + pair. + +2005-06-13 Thorsten Kukuk + + * sysdeps/unix/sysv/linux/netinet/if_tr.h: Don't include kernel + headers, instead copy important structs/defines. + +2005-06-13 Jakub Jelinek + + * elf/rtld.c (dl_main): Move DT_DEBUG setup before first + _dl_debug_state call. + +2005-06-12 Ulrich Drepper + + * elf/dl-error.c (_dl_signal_error): Store information about use of + real malloc in the catch object. + (_dl_catch_error): Forward information about malloc use to caller + in new parameter. + (_dl_out_of_memory): Make static. + * elf/dl-deps.c: Adjust callers of _dl_catch_error. + * elf/dl-libc.c: Likewise. + * elf/dl-open.c: Likewise. + * elf/rtld.c: Likewise. + Add new --audit option. + * sysdeps/generic/ldsodefs.h: Remove _dl_out_of_memory declaration. + (rtld_global_ro._dl_signal_error): Add new parameter. + * include/dlfcn.h (_dl_catch_error): Add new parameter. + * dlfcn/dlfcn.c (_dlerror_run): Pass additional parameter to + _dl_catch_error. Only free if the returned newly value says so. + +2005-06-01 Roland McGrath + + [BZ #959] + * posix/tst-mmap.c (main): Fill the test file with enough data for the + page size. + +2005-05-30 Jakub Jelinek + + * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): If + GLRO(dl_osversion) has been already set to a value smaller than + _dl_discover_osversion (), don't overwrite it here. + +2005-05-24 Thomas Schwinge + + * sysdeps/mach/i386/syscall.S (syscall): Call END. + +2005-05-28 Richard Henderson + + * elf/elf.h (DT_ALPHA_PLTRO, DT_ALPHA_NUM): New. + * sysdeps/alpha/dl-dtprocnum.h: New file. + * sysdeps/alpha/dl-machine.h (DT_ALPHA): New. + (elf_machine_load_address): Simplify to rely on gprel relocations. + (elf_machine_runtime_setup): Handle DT_ALPHA_PLTRO plt format. + Remove thread safety workaround for binutils 2.6. + (elf_machine_fixup_plt): Handle DT_ALPHA_PLTRO plt format. + * sysdeps/alpha/dl-trampoline.S (_dl_runtime_resolve_new): New. + (_dl_runtime_profile_new): New. + (_dl_runtime_resolve_old): Rename from _dl_runtime_resolve. + (_dl_runtime_profile_old): Rename from _dl_runtime_profile. Fix + typo in _dl_call_pltexit argument loading. + + * sysdeps/alpha/div_libc.h (funcnoplt): New. + * sysdeps/alpha/divl.S: Use it. + * sysdeps/alpha/divq.S: Likewise + * sysdeps/alpha/divqu.S: Likewise. + * sysdeps/alpha/reml.S: Likewise. + * sysdeps/alpha/remq.S: Likewise. + * sysdeps/alpha/remqu.S: Likewise. + +2005-05-26 Andreas Schwab + + * locale/Makefile (CFLAGS-loadlocale.c): Don't define. + +2005-05-26 Ulrich Drepper + + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_DIRECT): Fix value. + Reported by Colin Gibbs . [BZ #954] + +2005-05-17 Alan Modra + + * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Corrent + _dl_hwcap access in PIC && !SHARED case. + * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. + +2005-05-25 Dwayne Grant McConnell + + * gmon/gmon.c: Add space in weak_alias use. + * linuxthreads/sysdeps/unix/sysv/linux/mips/vfork.S: Likewise. + * sysdeps/alpha/htonl.S: Likewise. + * sysdeps/alpha/htons.S: Likewise. + * sysdeps/alpha/elf/start.S: Likewise. + * sysdeps/i386/i386-mcount.S: Likewise. + * sysdeps/ia64/strchr.S: Likewise. + * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise. + * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise. + * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise. + * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise. + * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise. + * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise. + * sysdeps/ia64/fpu/w_lgamma.c: Likewise. + * sysdeps/ia64/fpu/w_lgamma.c: Likewise. + * sysdeps/ia64/fpu/w_lgammaf.c: Likewise. + * sysdeps/ia64/fpu/w_lgammaf.c: Likewise. + * sysdeps/ia64/fpu/w_lgammal.c: Likewise. + * sysdeps/ia64/fpu/w_lgammal.c: Likewise. + * sysdeps/mach/hurd/readdir64_r.c: Likewise. + * sysdeps/mach/hurd/sigaltstack.c: Likewise. + * sysdeps/powerpc/fpu/s_fabs.S: Likewise. + * sysdeps/powerpc/fpu/s_fabs.S: Likewise. + * sysdeps/powerpc/fpu/s_fabs.S: Likewise. + * sysdeps/powerpc/fpu/s_fabs.S: Likewise. + * sysdeps/powerpc/fpu/s_fmax.S: Likewise. + * sysdeps/powerpc/fpu/s_fmax.S: Likewise. + * sysdeps/powerpc/fpu/s_fmax.S: Likewise. + * sysdeps/powerpc/fpu/s_fmax.S: Likewise. + * sysdeps/powerpc/fpu/s_fmin.S: Likewise. + * sysdeps/powerpc/fpu/s_fmin.S: Likewise. + * sysdeps/powerpc/fpu/s_fmin.S: Likewise. + * sysdeps/powerpc/fpu/s_fmin.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise. + * sysdeps/s390/s390-32/s390-mcount.S: Likewise. + * sysdeps/s390/s390-64/s390x-mcount.S: Likewise. + * sysdeps/sparc/sparc32/memset.S: Likewise. + * sysdeps/sparc/sparc32/stpcpy.S: Likewise. + * sysdeps/sparc/sparc32/strchr.S: Likewise. + * sysdeps/sparc/sparc32/strchr.S: Likewise. + * sysdeps/sparc/sparc64/memcmp.S: Likewise. + * sysdeps/sparc/sparc64/memcpy.S: Likewise. + * sysdeps/sparc/sparc64/memcpy.S: Likewise. + * sysdeps/sparc/sparc64/memset.S: Likewise. + * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise. + * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise. + * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise. + * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise. + * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/swapcontext.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise. + * sysdeps/unix/sysv/linux/readdir64.c: Likewise. + * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise. + * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise. + * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/i386/makecontext.S: Likewise. + * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise. + * sysdeps/unix/sysv/linux/ia64/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/ia64/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/mips/clone.S: Likewise. + * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise. + * sysdeps/x86_64/_mcount.S: Likewise. + +2005-05-24 Roland McGrath + + * sysdeps/unix/sysv/linux/i386/sysdep.h + (SETUP_PIC_REG, LOAD_PIC_REG): Move these macros ... + * sysdeps/i386/sysdep.h [PIC]: ... to here. + +2005-05-23 Roland McGrath + + * sysdeps/arm, sysdeps/unix/arm, sysdeps/unix/sysv/linux/arm: + Subdirectories moved to ports repository. + * configure.in (base_machine): Remove arm* and thumb* patterns. + * shlib-versions (arm.*-.*-linux.*): Remove this pattern. + +2005-05-23 Ulrich Drepper + + [BZ #1086] + * sunrpc/bindrsvprt.c (LOWPORT): Apparently some mountd + implementations are broken and don't accept ports < 512. + +2005-05-22 Dmitry V. Levin + + [BZ #961] + * io/sys/sendfile.h: Remove __nonnull from sendfile and sendfile64 + declarations. + +2005-05-23 Ulrich Drepper + + [BZ #1086] + * sunrpc/pm_getport.c (__get_socket): New function. + (pmap_getport): Use it to open a non-reserved socket to the portmapper + for TCP. + * include/rpc/pmap_clnt.h (__get_socket): Declare. + * sunrpc/pm_getmaps.c (pmap_getmaps): Use __get_socket to get an + non-reserved socket for the portmapper. + Based on a patch by Steve Dickson . + + [BZ #1086] + * sunrpc/bindrsvprt.c (bindresvport): Try harder to find a port. + If we tried looking at the usual range without success extend the + range to even lower ports. + + * sysdeps/unix/clock_gettime.c (clock_gettime): Revert last patch. + +2005-05-22 Andreas Schwab + + * elf/rtld.c: Include . + +2005-05-17 Alan Modra + + * sysdeps/powerpc/powerpc32/sysdep.h (PSEUDO_RET): Don't use + JUMPTARGET. Instead append @local to __syscall_error. + * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Delete all occurrences + of JUMPTARGET. Instead append @local to labels. + * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. + * sysdeps/powerpc/powerpc32/ppc-mcount.S: Likewise. + * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise. + + * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Use float constants. + * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise. Use one GOT + slot to access both constants. + * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise. + + * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (TWO52.0): Delete. + * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (TWO23.0): Delete. + * sysdeps/powerpc/powerpc32/fpu/s_floor.S (TWO52.0): Delete. + * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (TWO23.0): Delete. + * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Comment typo. + (NEGZERO.0, POINTFIVE.0): Delete. + * sysdeps/powerpc/powerpc32/fpu/s_rint.S (TWO52.0): Delete. + * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (TWO23.0): Delete. + * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Code in .text. + (TWO52.0, POINTFIVE.0): Delete. + * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Code in .text. + (TWO23.0, POINTFIVE.0): Delete. + * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Code in .text. + (TWO52.0): Delete. + * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Code in .text. + (TWO23.0): Delete. + * sysdeps/powerpc/powerpc32/memset.S (memset): Formatting. + +2005-05-19 Richard Henderson + + * sysdeps/unix/clock_gettime.c (clock_gettime): Fix typo around + CLOCK_REALTIME. + + * sysdeps/ia64/bits/atomic.h (__arch_compare_and_exchange_bool_32_acq, + __arch_compare_and_exchange_bool_64_acq, + __arch_compare_and_exchange_val_32_acq, + __arch_compare_and_exchange_val_64_acq, atomic_exchange_and_add): + Use __sync builtin without _si or _di suffix. + +2005-05-19 Jakub Jelinek + + [BZ #955] + * iconvdata/ibm939.c (BODY): Avoid segfaults with input characters + and above. + +2005-05-17 Andreas Schwab + + * sysdeps/unix/sysv/linux/clock_getcpuclockid.c + (clock_getcpuclockid): Always return a defined value. + +2005-05-17 Neal H. Walfield + + [BZ #1350] + * sysdeps/posix/getaddrinfo.c (gaih_local): Check [_HAVE_SA_LEN] + instead of [SALEN]. + (gaih_inet): Likewise. + +2005-05-11 Ulrich Drepper + + * elf/elf.h (Elf32_auxv_t): Make cross-compile safe. + (Elf64_auxv_t): Likewise. + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Adjust for + removal of a_ptr element in ElfXX_auxv_t. + * elf/dl-support.c (_dl_aux_init): Likewise. + +2005-05-09 Daniel Jacobowitz + + * sysdeps/unix/sysv/linux/clock_getres.c: Include . + * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise. + +2005-05-09 Alan Modra + + * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use + .pushsection/.popsection in place of .section/.previous. + +2005-05-08 Ulrich Drepper + + * MakeTAGS: Make xgettext not look into test cases. + + * MakeTAGS: Make sure translations in error calls are marked with + c-format by xgettext. + +2005-05-07 Ulrich Drepper + + * intl/libintl.h: Always use __attribute_format_arg__ for gettext + functions since gcc sometimes forgets the attribute for the + standard functions. + +2005-05-06 Jakub Jelinek + + [BZ #934] + * posix/regex_internal.h: Include bits/libc-lock.h or define dummy + __libc_lock_* macros if not _LIBC. + (struct re_dfa_t): Add lock. + * posix/regcomp.c (re_compile_internal): Add __libc_lock_init. + * posix/regexec.c (regexec, re_search_stub): Add locking. + +2005-05-04 Jakub Jelinek + + * intl/Makefile (tst-gettext[45].out): Pass also $(run-program-prefix) + as argument to the scripts. + * intl/tst-gettext2.sh: Use mkdir -p instead of test -d + mkdir. + * intl/tst-gettext4.sh: Likewise. Use run_program_prefix argument. + * intl/tst-gettext5.sh: Likewise. + + * intl/tst-translit.sh: Add mkdir -p. + + * sysdeps/unix/sysv/linux/i386/sysdep.h (SETUP_PIC_REG): Use + .ifndef/.endif to allow use of this macro more than once per .S + file. + (LOAD_PIC_REG): New macro. + * sysdeps/unix/sysv/linux/i386/makecontext.S: Add call frame + information. + * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise. + * sysdeps/i386/fpu/s_asinh.S: Use LOAD_PIC_REG macro. Add call frame + information. + * sysdeps/i386/fpu/e_log10f.S: Likewise. + * sysdeps/i386/fpu/s_expm1.S: Likewise. + * sysdeps/i386/fpu/e_acoshf.S: Likewise. + * sysdeps/i386/fpu/e_log2l.S: Likewise. + * sysdeps/i386/fpu/s_log1pf.S: Likewise. + * sysdeps/i386/fpu/s_lrint.S: Likewise. + * sysdeps/i386/fpu/s_llrint.S: Likewise. + * sysdeps/i386/fpu/s_ilogbf.S: Likewise. + * sysdeps/i386/fpu/s_cbrtl.S: Likewise. + * sysdeps/i386/fpu/s_asinhf.S: Likewise. + * sysdeps/i386/fpu/e_log.S: Likewise. + * sysdeps/i386/fpu/e_atanhf.S: Likewise. + * sysdeps/i386/fpu/s_lrintl.S: Likewise. + * sysdeps/i386/fpu/e_atanhl.S: Likewise. + * sysdeps/i386/fpu/e_scalb.S: Likewise. + * sysdeps/i386/fpu/s_log1p.S: Likewise. + * sysdeps/i386/fpu/s_nearbyintl.S: Likewise. + * sysdeps/i386/fpu/s_frexpl.S: Likewise. + * sysdeps/i386/fpu/s_log1pl.S: Likewise. + * sysdeps/i386/fpu/s_nearbyintf.S: Likewise. + * sysdeps/i386/fpu/s_cbrt.S: Likewise. + * sysdeps/i386/fpu/s_expm1l.S: Likewise. + * sysdeps/i386/fpu/s_lrintf.S: Likewise. + * sysdeps/i386/fpu/e_acosh.S: Likewise. + * sysdeps/i386/fpu/s_cexp.S: Likewise. + * sysdeps/i386/fpu/s_ilogbl.S: Likewise. + * sysdeps/i386/fpu/s_expm1f.S: Likewise. + * sysdeps/i386/fpu/e_powl.S: Likewise. + * sysdeps/i386/fpu/e_powf.S: Likewise. + * sysdeps/i386/fpu/e_scalbf.S: Likewise. + * sysdeps/i386/fpu/e_logl.S: Likewise. + * sysdeps/i386/fpu/e_acoshl.S: Likewise. + * sysdeps/i386/fpu/s_frexp.S: Likewise. + * sysdeps/i386/fpu/e_pow.S: Likewise. + * sysdeps/i386/fpu/e_logf.S: Likewise. + * sysdeps/i386/fpu/e_log2.S: Likewise. + * sysdeps/i386/fpu/s_frexpf.S: Likewise. + * sysdeps/i386/fpu/s_cexpl.S: Likewise. + * sysdeps/i386/fpu/s_llrintf.S: Likewise. + * sysdeps/i386/fpu/s_ilogb.S: Likewise. + * sysdeps/i386/fpu/e_scalbl.S: Likewise. + * sysdeps/i386/fpu/e_atanh.S: Likewise. + * sysdeps/i386/fpu/e_log10.S: Likewise. + * sysdeps/i386/fpu/s_cbrtf.S: Likewise. + * sysdeps/i386/fpu/s_cexpf.S: Likewise. + * sysdeps/i386/fpu/s_llrintl.S: Likewise. + * sysdeps/i386/fpu/e_log10l.S: Likewise. + * sysdeps/i386/fpu/s_nearbyint.S: Likewise. + * sysdeps/i386/fpu/s_asinhl.S: Likewise. + * sysdeps/i386/fpu/e_log2f.S: Likewise. + * sysdeps/i386/addmul_1.S: Various fixes to cfi handling. + * sysdeps/i386/mul_1.S: Likewise. + * sysdeps/i386/strtok.S: Likewise. + * sysdeps/i386/sub_n.S: Likewise. + * sysdeps/i386/submul_1.S: Likewise. + * sysdeps/i386/i586/addmul_1.S: Likewise. + * sysdeps/i386/i586/memcpy.S: Likewise. + * sysdeps/i386/i586/mul_1.S: Likewise. + * sysdeps/i386/i586/rshift.S: Likewise. + * sysdeps/i386/i586/sub_n.S: Likewise. + * sysdeps/i386/i586/submul_1.S: Likewise. + * sysdeps/i386/i686/memcmp.S: Likewise. + * sysdeps/i386/i686/memmove.S: Likewise. + * sysdeps/unix/sysv/linux/i386/clone.S: Likewise. + * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise. + * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise. + +2005-05-03 Ulrich Drepper + + * sysdeps/i386/add_n.S: Add call frame information. + * sysdeps/i386/addmul_1.S: Likewise. + * sysdeps/i386/bsd-setjmp.S: Likewise. + * sysdeps/i386/lshift.S: Likewise. + * sysdeps/i386/memchr.S: Likewise. + * sysdeps/i386/memcmp.S: Likewise. + * sysdeps/i386/mul_1.S: Likewise. + * sysdeps/i386/rawmemchr.S: Likewise. + * sysdeps/i386/rshift.S: Likewise. + * sysdeps/i386/stpncpy.S: Likewise. + * sysdeps/i386/strchr.S: Likewise. + * sysdeps/i386/strchrnul.S: Likewise. + * sysdeps/i386/strcspn.S: Likewise. + * sysdeps/i386/strpbrk.S: Likewise. + * sysdeps/i386/strrchr.S: Likewise. + * sysdeps/i386/strspn.S: Likewise. + * sysdeps/i386/strtok.S: Likewise. + * sysdeps/i386/sub_n.S: Likewise. + * sysdeps/i386/submul_1.S: Likewise. + * sysdeps/i386/elf/bsd-setjmp.S: Likewise. + * sysdeps/i386/i486/strcat.S: Likewise. + * sysdeps/i386/i586/add_n.S: Likewise. + * sysdeps/i386/i586/addmul_1.S: Likewise. + * sysdeps/i386/i586/lshift.S: Likewise. + * sysdeps/i386/i586/memcpy.S: Likewise. + * sysdeps/i386/i586/memset.S: Likewise. + * sysdeps/i386/i586/mul_1.S: Likewise. + * sysdeps/i386/i586/rshift.S: Likewise. + * sysdeps/i386/i586/strchr.S: Likewise. + * sysdeps/i386/i586/strcpy.S: Likewise. + * sysdeps/i386/i586/sub_n.S: Likewise. + * sysdeps/i386/i586/submul_1.S: Likewise. + * sysdeps/i386/i686/add_n.S: Likewise. + * sysdeps/i386/i686/memcmp.S: Likewise. + * sysdeps/i386/i686/memmove.S: Likewise. + * sysdeps/i386/i686/mempcpy.S: Likewise. + * sysdeps/i386/i686/memset.S: Likewise. + * sysdeps/i386/i686/strtok.S: Likewise. + * sysdeps/unix/sysv/linux/i386/clone.S: Likewise. + * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise. + * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise. + * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise. + * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise. + + * sysdeps/i386/fpu/libm-test-ulps: Adjust for gcc 4. + + * sysdeps/unix/sysv/linux/kernel-features.h: waitid is available + on ppc in 2.6.12. + +2005-04-29 Jakub Jelinek + + [BZ #1083] + * sysdeps/posix/posix_fallocate.c (posix_fallocate): If len == 0, + call ftruncate if offset is bigger than current size. Make sure + the file is offset + len bytes long if that is more than current size. + Don't overwrite previous content of the file. + * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64): + Likewise. + +2005-05-02 Roland McGrath + + [BZ #924] + * crypt/md5.c [! HAVE_MEMCPY] (memcpy): Yield proper expression value. + +2005-04-29 Roland McGrath + + * timezone/africa: Update from tzdata2005i. + * timezone/asia: Likewise. + * timezone/northamerica: Likewise. + * timezone/yearistype: Likewise. + + * sysdeps/i386/sysdep.h (CALL_MCOUNT): Fix typo in last change. + +2005-04-29 Ulrich Drepper + + [BZ #1093] + * nis/nis_table.c: Fix realloc handling. + * nis/nis_removemember.c: Likewise. + +2005-04-28 Ulrich Drepper + + [BZ #798] + * nscd/Makefile: Help losers who use --with-headers. + +2005-04-28 Roland McGrath + + [BZ #796] + * sysdeps/unix/sysv/linux/dl-sysdep.h: New file. + Define NEED_DL_SYSINFO_DSO for all platforms. + + * sysdeps/generic/dl-sysdep.h: Remove multiple inclusion protection. + * sysdeps/alpha/dl-sysdep.h: Likewise. + Use #include_next instead of duplicating generic file's contents. + * sysdeps/ia64/dl-sysdep.h: Likewise. + * sysdeps/sparc/dl-sysdep.h: Likewise. + +2005-03-22 Steven Munroe + + * sysdeps/powerpc/powerpc64/memset.S (memset): Make ___memset local. + +2005-03-07 Steven Munroe + + [BZ #781] * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_ADJ_OFFSET_SS_READ): Define for 2.6.24. - * sysdeps/unix/sysv/linux/sys/timex.h (ADJ_OFFSET_SS_READ): Define. + (__ASSUME_TGKILL): Define for powerpc32/64 starting with 2.6.1. + (__ASSUME_UTIMES): Define for powerpc32/64 starting with 2.6.1. + (__ASSUME_FADVISE64_64_SYSCALL): Define for powerpc32 only starting + with 2.6.1. + (__ASSUME_WAITID_SYSCALL): Don't define for powerpc32/64. -2007-12-08 Ulrich Drepper +2005-04-28 Ulrich Drepper - [BZ #5424] - * stdio-common/vfprintf.c: Do not overflow when adding to done. - * stdio-common/Makefile (tests): Add bug22. - * stdio-common/bug22.c: New file. + * sysdeps/i386/sysdep.h: Add cfi instrumentation to asm fragments. + * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/i386/socket.S: Remove now duplicate + cfi_startproc and cfi_endproc. - [BZ #5451] - * time/getdate.c: Fix filling in default values. - * time/bug-getdate1.c: New file. - * time/Makefile: Add rules to build and run bug-getdate1. + * configure.in: Remove ultrasparc names. - * iconvdata/ebcdic-is-friss.c: Use 8bit-gap instead of 8bit-generic. - * iconvdata/ebcdic-es.c: Likewise. - * iconvdata/ebcdic-es-a.c: Likewise. - * iconvdata/ebcdic-uk.c: Likewise. - * iconvdata/iso8859-16.c: Likewise. - * iconvdata/viscii.c: Likewise. - * iconvdata/iso8859-9e.c: Likewise. - * iconvdata/Makefile: Adjust appropriately. + * sysdeps/i386/i686/memcmp.S: Move misplaced END. - [BZ #5428] - * wcsmbs/wchar.h: Unconditionally undefine __need_mbstate and - __need_wint_t. +2005-03-27 Bruno Haible -2007-12-07 Ulrich Drepper + Make it possible for multiple threads to use gettext() in different + locales. + * intl/dcigettext.c (HAVE_PER_THREAD_LOCALE): New macro. + (struct known_translation_t): If HAVE_PER_THREAD_LOCALE, add localename + field. + (transcmp): If HAVE_PER_THREAD_LOCALE, compare localename fields. + (DCIGETTEXT): If HAVE_PER_THREAD_LOCALE, fill the localename field in + search and newp. - [BZ #5427] - * iconvdata/hp-roman9.c: New file. - * iconvdata/Makefile: Add rules for hp-roman9.c. - * iconvdata/tst-tables.sh: Add HP-ROMAN9. - * iconvdata/gconv-modules: Likewise. + * intl/tst-gettext4.c: New file. + * intl/tst-gettext4.sh: New file. + * intl/tst-gettext4-de.po: New file. + * intl/tst-gettext4-fr.po: New file. + * intl/tst-gettext5.c: New file. + * intl/tst-gettext5.sh: New file. + * intl/Makefile (distribute): Add tst-gettext4.sh, tst-gettext4-de.po, + tst-gettext4-fr.po, tst-gettext5.sh. + (multithread-test-srcs): New variable. + (test-srcs): Add its contents. + (tests): Depend on tst-gettext4.out, tst-gettext5.out. + (tst-gettext4.out, tst-gettext5.out): New rules. + (CFLAGS-tst-gettext4.c, CFLAGS-tst-gettext5.c): New variables. + Add rule for linking the multithread-test-srcs with the appropriate + thread-library. - * iconvdata/hp-roman8.c: Use 8bit-gap instead of 8bit-generic. - * iconvdata/Makefile: Adjust appropriately. +2005-04-28 Ulrich Drepper - [BZ #5441] - * stdio-common/vfscanf.c (_IO_vfwscanf): Don't free ptrs_to_free - structure, it's allocated with alloca. - * stdio-common/Makefile (tests): Add bug21. - * stdio-common/bug21.c: New file. + * po/rw.po: New file. From translation team. -2007-12-06 Aurelien Jarno + * scripts/config.guess: Update from upstream. + * scripts/config.sub: Likewise. - [BZ #5452] - * sysdeps/unix/sysv/linux/bits/sched.h: Use __extension__ - keyword for gcc's braced-groups. +2005-04-27 Ulrich Drepper -2007-12-07 Ulrich Drepper + [BZ #1094] + * nscd/connections.c (nscd_run): Use time() value in prune_cache + call, not timeout value, since the latter might be from another clock. - [BZ #5454] - * inet/ether_line.c: Strip hostname of whitespaces. - * inet/Makefile (tests): Add tst-ether_line. - * inet/tst-ether_line.c: New file. +2005-04-27 Roland McGrath -2007-12-03 Ulrich Drepper + [BZ #877] + * posix/unistd.h: Remove __nonnull from acct decl. - [BZ #5439] - * sysdeps/unix/sysv/linux/sys/signalfd.h: Fix use of __nonnull. + * rt/tst-cpuclock1.c: New file. + * rt/tst-cpuclock2.c: New file. + * rt/tst-cputimer1.c: New file. + * rt/tst-cputimer2.c: New file. + * rt/tst-cputimer3.c: New file. + * rt/Makefile (tests): Add them. - [BZ #5435] - * sysdeps/unix/sysv/linux/i386/makecontext.S: Align stack. + * sysdeps/unix/sysv/linux/kernel-posix-cpu-timers.h: New file. + * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: New file. + * sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c + (HAS_CPUCLOCK): New macro. + (clock_getcpuclockid): Function removed. + #include the new linux file to define it instead. + * sysdeps/unix/clock_gettime.c [HP_TIMING_AVAIL] (hp_timing_gettime): + New function, broken out of ... + (clock_gettime) [HP_TIMING_AVAIL]: ... here. Call it. + (realtime_gettime): New function, broken out of ... + (clock_gettime) [! HANDLED_REALTIME]: ... here. Call it. + (clock_gettime) [SYSDEP_GETTIME_CPU]: Use new macro in default case. + * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): New macro. + (SYSDEP_GETTIME_CPUTIME): New macro. + (SYSDEP_GETTIME): Use both. + [! __ASSUME_POSIX_TIMERS] (maybe_syscall_gettime): New function, broken + out of ... + (SYSDEP_GETTIME): ... here. Use it. + [__NR_clock_gettime] (HANDLED_CPUTIME): Define it. + (SYSDEP_GETTIME_CPUTIME): New macro. Handle CPU timers by trying + kernel support and falling back to hp-timing code. + * sysdeps/posix/clock_getres.c + [HP_TIMING_AVAIL] (hp_timing_getres): New function, broken out of ... + (clock_getres) [HP_TIMING_AVAIL]: ... here. Call it. + (realtime_getres): New function, broken out of ... + (clock_getres) [! HANDLED_REALTIME]: ... here. Call it. + (clock_getres) [SYSDEP_GETRES_CPU]: Use new macro in default case. + * sysdeps/unix/sysv/linux/clock_getres.c (SYSCALL_GETRES): New macro. + (SYSDEP_GETRES_CPUTIME): New macro. + (SYSDEP_GETRES): Use both. + [! __ASSUME_POSIX_TIMERS] (maybe_syscall_getres): New function, broken + out of ... + (SYSDEP_GETRES): ... here. Use it. + [__NR_clock_getres] (HANDLED_CPUTIME): Define it. + (SYSDEP_GETRES_CPUTIME): New macro. Handle CPU timers by trying + kernel support and falling back to hp-timing code. + * sysdeps/unix/sysv/linux/clock_nanosleep.c: Handle + CLOCK_PROCESS_CPUTIME_ID and CLOCK_PROCESS_THREAD_ID specially, + translating to the kernel clockid_t for our own process/thread clock. - * stdlib/tst-setcontext.c: Catch the case where the links gets - messed up and we do not reach main again. +2005-04-27 Ulrich Drepper - * po/ca.po: Update from translation team. + * stdlib/test-canon.c: Make doesExist a directory and add more tests + for the new error case. -2007-11-26 Ulrich Drepper +2004-06-02 Dmitry V. Levin + Ranjani Murthy - * posix/unistd.h: Declare fsync also for __USE_XOPEN2K. - * posix/regex.h (REG_ENOSYS): Likewise. - * wcsmbs/wchar.h: Define __need_file also for __USE_XOPEN2K. + * stdlib/canonicalize.c (__realpath): Change realpath(3) to + return NULL and set errno to ENOTDIR for such pathnames like + "/path/to/existing-non-directory/". -2007-11-25 Ulrich Drepper +2005-04-26 Ulrich Drepper - * nscd/nscd.h (MAX_STACK_USE): Define. - * nscd/mem.c (MAX_STACK_USE): Remove definition here. - (gc): Initialize stack_used based on allocation in prune_cache. - * nscd/cache.c (prune_cache): Use heap for mark array if necessary. - Clear array before use. + [BZ #1105] + * time/strptime_l.c (__strptime_internal): Handle 'z' to set + tm_gmtoff. + * time/Makefile (tests): Add tst-strptime2. + * time/tst-strptime2.c: New file. - * nscd/aicache.c (addhstaiX): Update statistics counter in case - memory allocation failed. +2005-04-26 Jakub Jelinek + + [BZ #1081] + * elf/dl-close.c: Include stddef.h. + (_dl_close): If called recursively, just remember GC needs to be rerun + and decrease l_direct_opencount. Avoid GC if l_direct_opencount + decreased to 1. Rerun GC at the end if any destructor unloaded some + additional libraries. + * elf/Makefile: Add rules to build and run unload6 test. + * elf/unload6.c: New test. + * elf/unload6mod1.c: New file. + * elf/unload6mod2.c: New file. + * elf/unload6mod3.c: New file. + + * malloc/hooks.c (mem2chunk_check): Add magic_p argument, set *magic_p + if magic_p is not NULL. + (top_check): Invoke MALLOC_FAILURE_ACTION if MORECORE failed. + (malloc_check): Fail if sz == -1. + (free_check): Adjust mem2chunk_check caller. + (realloc_check): Likewise. Fail if bytes == -1. If bytes == 0 and + oldmem != NULL, call free_check and return NULL. If reallocating + and returning NULL, invert magic byte again to make oldmem valid + region for further checking. + (memalign_check): Fail if bytes == -1. + * malloc/Makefile: Add rules to build and run tst-mcheck. + * malloc/tst-mcheck.c: New test. + +2005-04-26 Ulrich Drepper + + [BZ #1110] + * stdio-common/vfscanf.c: Correctly account for characters of + decimal points right after +-. + +2005-04-26 Roland McGrath + + * elf/rtld-Rules (rtld-all): Test ifndef rtld-modules instead of + ifeq ($(subdir),elf) to distinguish main driver from subdir runs. + +2005-04-25 Roland McGrath + + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h + (INTERNAL_SYSCALL_ERROR_P): Fix typo in last change. + + * sunrpc/xdr.c (xdr_u_int): Use `long' for L and cast where needed. + + * elf/dl-load.c: Revert last change. + +2005-04-24 Ulrich Drepper + + [BZ #1110] + * stdio-common/vfscanf.c: Fix parsing of decimal point after +-. + Patch by Hamed Malek . + +2005-04-21 Roland McGrath + + * elf/dl-load.c (_dl_map_object_from_fd): Don't use MAP_DENYWRITE, + since Linux ignores it in user mmap calls. + +2005-04-17 David S. Miller + + * sysdeps/sparc/sparc32/elf/start.S: Define __data_start. + * sysdeps/sparc/sparc64/elf/start.S: Likewise. + +2005-04-15 Roland McGrath + + * timezone/Makefile (zic-deps): New variable. + ($(testdata)/America/New_York): Use it instead of explicit deps. + ($(testdata)/Etc/UTC, $(testdata)/Australia/Melbourne): Likewise. + ($(testdata)/America/Sao_Paulo, $(testdata)/Asia/Tokyo): Likewise. + (%/UTC %/Universal): New pattern rule, replaces ... + ($(testdata)/UTC, $(testdata)/Universal): ... these removed targets. + ($(testdata)/%/Berlin $(testdata)/%/London): New pattern rule. + ($(testdata)/Europe/London, $(testdata)/Europe/Berlin): Removed. + +2005-04-14 Roland McGrath + + * MakeTAGS ($P/$(domain).pot): Depend on distinfo file as well. + (extract): Filter-out distinfo file name. + + [BZ #253] + * MakeTAGS (text-srcs): Match %.bash.in files too. + + [BZ #253] + * nscd/Makefile (all-nscd-modules): New variable, include selinux + module regardless of configuration. + (distribute): Use that instead of $(nscd-modules). + +2005-04-13 David S. Miller + + Add sparc64 TLS and NPTL support. + * elf/tls-macros.h: Add Sparc64 defines. + * sysdeps/sparc/sparc64/dl-machine.h (sparc64_fixup_plt): Mark as + always_inline. + (elf_machine_fixup_plt): Likewise. + (elf_machine_rela): Handle TLS relocations. + (elf_machine_type_cleaa): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h + (SYSCALL_ERROR_HANDLER_ENTRY): Use sethi/or for GOT reloc. + It does not always fit in R_SPARC_GOT13 when building -fPIC. + Also, add TLS handling. + * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): + Increase it to 2.4.21 for sparc64. + * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: NULL terminate + backtrace by zero'ing out %fp. Store away flags, func_ptr, + and func_arg in global registers not local registers. + * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Handle PTID, TLS, + and CTID arguments properly. Add RESET_PID handling. + * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Rework so that we + do not invoke __sigprocmask(). We can always assume rt signals + are present on sparc64, so just do an inline syscall. + +2005-04-13 Jakub Jelinek + + * sysdeps/sparc/sparc64/dl-machine.h: Add dl_machine_h multiple + inclusion guard for the first half of the header. + (elf_machine_type_class, ELF_MACHINE_JMP_SLOT, ELF_MACHINE_NO_REL, + ELF_MACHINE_PLTREL_OVERLAP, elf_machine_runtime_setup, + elf_machine_relplt, DL_STACK_END, RTLD_START): Move into the + #ifndef dl_machine_h guarded part of the header. + +2005-04-14 Ulrich Drepper + + [BZ #851] + * posix/execvp.c (execvp): Use file name including path when + trying to run it with shell. + * posix/Makefile: Add rules to build and run tst-execvp3. + * posix/tst-execvp3.c: New file. + +2005-04-12 Ulrich Drepper + + [BZ #1090] + * stdlib/random_r.c (__initstate_r): Don't use non-existing state. + * string/tst-strfry.c: New file. + * string/Makefile (tests): Add tst-strfry. + +2005-04-11 James A. Morrison + + * manual/string.texi: Fix typo in wmemcpy decl. + +2005-04-10 David S. Miller + + * sysdeps/sparc/sparc32/dl-trampoline.S: Use std not stx. + +2005-04-08 Carlos O'Donell + + * FAQ.in: Explain why `make' might fail running rpcgen. + * FAQ: Regenerated. + +2005-04-07 Roland McGrath + + * po/libc.pot: Regenerated. + +2005-04-07 Roland McGrath + + * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion) + [(NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO) && SHARED]: Scan + GLRO(dl_sysinfo_map) for PT_NOTE giving Linux kernel version, + we can skip the uname call if it's there. + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Don't use + DL_SYSDEP_OSCHECK here. + * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]: Do it here instead. + + * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): + Add _dl_sysinfo_map. + * elf/rtld.c (dl_main): Don't call _dl_init_paths early in the + rtld_is_main case. Call it unconditionally later. + Move GLRO(dl_sysinfo_dso) handling earlier, before _dl_init_paths call. + Initialize GLRO(dl_sysinfo_map). + * elf/dl-load.c (open_path): Bail out if _dl_init_paths wasn't called. + * sysdeps/generic/dl-sysdep.c (_DL_FIRST_EXTRA): New macro. + (_dl_important_hwcaps) + [(NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO) && SHARED]: Scan + GLRO(dl_sysinfo_map) for PT_NOTE giving synthetic hwcap names + and bit values. + * elf/ldconfig.c (_DL_FIRST_EXTRA): New macro. + (hwcap_extra): New static variable. + (is_hwcap_platform): Check hwcap_extra for a matching name. + Remove tls special case. + (path_hwcap): Likewise. + (parse_conf): Parse "hwcap" directive to define synthetic hwcap bits + and their names, stored in hwcap_extra. + (main) [USE_TLS]: Initialize final synthetic hwcap bit as "tls". + + * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Use uint64_t for + _dl_hwcap and _dl_hwcap_mask. + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Cast a_val for + AT_HWCAP to unsigned long int. + * elf/dl-support.c (_dl_aux_init): Likewise. + (_dl_hwcap): Update defn. + + * elf/cache.c (print_entry): Pad hwcap value with 0s in diagnostic. + * elf/ldconfig.c (search_dir): Likewise. + +2005-04-05 Roland McGrath + + * NEWS: Copy 2.3.5 section from 2.3 branch. + + * intl/tst-codeset.sh: Use mkdir -p. Put msgfmt output in temporary + file and mv it into place. + * intl/tst-gettext3.sh: Likewise. + + * Makefile (glibc-%.tar rule): Use make -q to ensure configure scripts + are up to date in srcdir. Touch all configure scripts after export. + + * iconv/gconv_int.h: Include and . + +2005-04-05 H.J. Lu + + [BZ #592] + * sysdeps/ia64/fpu/e_acosh.S: Update from Intel libm 2005-04-05 + (comment changes only). + * sysdeps/ia64/fpu/e_acoshl.S: Likewise. + * sysdeps/ia64/fpu/e_atanh.S: Likewise. + * sysdeps/ia64/fpu/e_cosh.S: Likewise. + * sysdeps/ia64/fpu/e_coshf.S: Likewise. + * sysdeps/ia64/fpu/e_exp.S: Likewise. + * sysdeps/ia64/fpu/e_exp10.S: Likewise. + * sysdeps/ia64/fpu/e_exp10f.S: Likewise. + * sysdeps/ia64/fpu/e_exp2.S: Likewise. + * sysdeps/ia64/fpu/e_exp2f.S: Likewise. + * sysdeps/ia64/fpu/e_expf.S: Likewise. + * sysdeps/ia64/fpu/e_log.S: Likewise. + * sysdeps/ia64/fpu/e_logf.S: Likewise. + * sysdeps/ia64/fpu/e_pow.S: Likewise. + * sysdeps/ia64/fpu/e_powf.S: Likewise. + * sysdeps/ia64/fpu/e_sinh.S: Likewise. + * sysdeps/ia64/fpu/e_sinhf.S: Likewise. + * sysdeps/ia64/fpu/libm_error.c: Likewise. + * sysdeps/ia64/fpu/libm_lgamma.S: Likewise. + * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise. + * sysdeps/ia64/fpu/libm_lgammal.S: Likewise. + * sysdeps/ia64/fpu/libm_sincos.S: Likewise. + * sysdeps/ia64/fpu/libm_sincosf.S: Likewise. + * sysdeps/ia64/fpu/s_asinh.S: Likewise. + * sysdeps/ia64/fpu/s_atanl.S: Likewise. + * sysdeps/ia64/fpu/s_cos.S: Likewise. + * sysdeps/ia64/fpu/s_cosf.S: Likewise. + * sysdeps/ia64/fpu/s_erf.S: Likewise. + * sysdeps/ia64/fpu/s_erfc.S: Likewise. + * sysdeps/ia64/fpu/s_erfcf.S: Likewise. + * sysdeps/ia64/fpu/s_erfcl.S: Likewise. + * sysdeps/ia64/fpu/s_erff.S: Likewise. + * sysdeps/ia64/fpu/s_expm1.S: Likewise. + * sysdeps/ia64/fpu/s_expm1f.S: Likewise. + * sysdeps/ia64/fpu/s_log1p.S: Likewise. + * sysdeps/ia64/fpu/s_tanf.S: Likewise. + * sysdeps/ia64/fpu/s_tanh.S: Likewise. + * sysdeps/ia64/fpu/s_tanhf.S: Likewise. + * sysdeps/ia64/fpu/w_tgamma.S: Likewise. + * sysdeps/ia64/fpu/w_tgammaf.S: Likewise. + * sysdeps/ia64/fpu/w_tgammal.S: Likewise. + +2005-04-05 Roland McGrath + + * scripts/config.guess: Update from master, timestamp='2005-03-24'. + * scripts/config.sub: Update from master, timestamp='2005-02-10'. + +2005-04-04 David S. Miller + + * sysdeps/sparc/sparc32/dl-trampoline.S: New file. + * sysdeps/sparc/sparc32/dl-machine.h: Move PLT trampolines there. + Use RESOLVE_MAP instead of RESOLVE to protect relocation code. + (elf_machine_runtime_setup): Test for dl_profile non-null. + * sysdeps/sparc/sparc64/dl-trampoline.S: New file. + (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New. + * sysdeps/sparc/sparc64/dl-machine.h: Move PLT trampolines there. + Use RESOLVE_MAP instead of RESOLVE to protect relocation code. + (elf_machine_runtime_setup): Test for dl_profile non-null. + * sysdeps/sparc/bits/link.h: New file. + * sysdeps/generic/ldsodefs.h (La_sparc32_regs, La_sparc32_retval, + La_sparc64_regs, La_sparc64_retval): New. + (struct audit_ifaces): Add sparc entries. + * elf/tst-auditmod1.c: Add sparc entries. + +2005-03-27 Bruno Haible + + * intl/tst-gettext3.c: New file. + * intl/tst-gettext3.sh: New file. + * intl/Makefile (distribute): Add tst-gettext3.sh. + (test-srcs): Add tst-gettext3. + (tests): Depend on tst-gettext3.out. + (tst-gettext3.out): New rule. + (CFLAGS-tst-gettext3.c): New variable. + + Fix bug exposed by tst-gettext3. + * intl/gettextP.h (struct converted_domain): New type. + (struct loaded_domain): Remove the conv, conv_tab fields. Add + conversions, nconversions fields. + (_nl_init_domain_conv): Remove declaration. + (_nl_free_domain_conv): Remove declaration. + (_nl_find_msg): Add convert argument. + * intl/dcigettext.c (DCIGETTEXT): Call _nl_find_msg with convert=1. + (_nl_find_msg): Add convert argument. When a conversion to a different + charset is needed, create a new converted_domain element, instead of + throwing away the old converted translations. + (get_output_charset): New function. + * intl/loadmsgcat.c (_nl_init_domain_conv): Remove function. + (_nl_free_domain_conv): Remove function. + (_nl_load_domain): Initialize the conversions array to empty. Use + _nl_find_msg instead of _nl_init_domain_conv to retrieve the header + entry. + (_nl_unload_domain): Free the conversions array and its contents. + + * intl/gettextP.h (struct loaded_domain): Remove codeset_cntr field. + (struct binding): Likewise. + * intl/bindtextdom.c (set_binding_values): Drop codeset_cntr + modifications. + +2005-04-04 Jakub Jelinek + + [BZ #1082] + * sunrpc/pmap_rmt.c (xdr_rmtcall_args): Use a dummy arglen instead + of trying to encode uninitialized arglen. + +2005-04-04 Ulrich Drepper + + [BZ #825] + * timezone/scheck.c: Update from tzcode2005h. + * timezone/tzfile.h: Likewise. + * timezone/zdump.c: Likewise. + * timezone/zic.c: Likewise. + + [BZ #825] + * timezone/antarctica: Update from tzdata2005h. + * timezone/asia: Likewise. + * timezone/australasia: Likewise. + * timezone/etcetera: Likewise. + * timezone/europe: Likewise. + * timezone/northamerica: Likewise. + * timezone/southamerica: Likewise. + * timezone/leapseconds: Likewise. + * timezone/iso3166.tab: Likewise. + +2005-03-31 H.J. Lu + + [BZ #592] + * sysdeps/ia64/fpu/libm_cpu_defs.h: Update copyright. + +2005-04-01 Ulrich Drepper + + * wcsmbs/btowc.c (__btowc): Optimize parameters in ASCII range. + * wcsmbs/wctob.c (wctob): Likewise. + * wcsmbs/wchar.h (btowc): Add optimized inline function. + (wctob): Likewise. + +2005-03-31 Jakub Jelinek + + * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Use functionally + equivalent, but shorter instructions. + * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise. + * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise. + * sysdeps/unix/x86_64/sysdep.S: Likewise. + * sysdeps/x86_64/strchr.S: Likewise. + * sysdeps/x86_64/memset.S: Likewise. + * sysdeps/x86_64/strcspn.S: Likewise. + * sysdeps/x86_64/strcmp.S: Likewise. + * sysdeps/x86_64/elf/start.S: Likewise. + * sysdeps/x86_64/strspn.S: Likewise. + * sysdeps/x86_64/dl-machine.h: Likewise. + * sysdeps/x86_64/bsd-_setjmp.S: Likewise. + * sysdeps/x86_64/bsd-setjmp.S: Likewise. + * sysdeps/x86_64/strtok.S: Likewise. + +2005-03-30 H.J. Lu + + [BZ #592] + * sysdeps/ia64/fpu/e_acosf.S: Update from Intel libm 2005-03-21. + * sysdeps/ia64/fpu/e_acoshf.S: Likewise. + * sysdeps/ia64/fpu/e_acoshl.S: Likewise. + * sysdeps/ia64/fpu/e_acosh.S: Likewise. + * sysdeps/ia64/fpu/e_acosl.S: Likewise. + * sysdeps/ia64/fpu/e_acos.S: Likewise. + * sysdeps/ia64/fpu/e_asinf.S: Likewise. + * sysdeps/ia64/fpu/e_asinl.S: Likewise. + * sysdeps/ia64/fpu/e_asin.S: Likewise. + * sysdeps/ia64/fpu/e_atan2f.S: Likewise. + * sysdeps/ia64/fpu/e_atan2.S: Likewise. + * sysdeps/ia64/fpu/e_atanhf.S: Likewise. + * sysdeps/ia64/fpu/e_atanhl.S: Likewise. + * sysdeps/ia64/fpu/e_atanh.S: Likewise. + * sysdeps/ia64/fpu/e_coshf.S: Likewise. + * sysdeps/ia64/fpu/e_coshl.S: Likewise. + * sysdeps/ia64/fpu/e_cosh.S: Likewise. + * sysdeps/ia64/fpu/e_exp10f.S: Likewise. + * sysdeps/ia64/fpu/e_exp10l.S: Likewise. + * sysdeps/ia64/fpu/e_exp10.S: Likewise. + * sysdeps/ia64/fpu/e_exp2f.S: Likewise. + * sysdeps/ia64/fpu/e_exp2l.S: Likewise. + * sysdeps/ia64/fpu/e_exp2.S: Likewise. + * sysdeps/ia64/fpu/e_expf.S: Likewise. + * sysdeps/ia64/fpu/e_exp.S: Likewise. + * sysdeps/ia64/fpu/e_fmodf.S: Likewise. + * sysdeps/ia64/fpu/e_fmodl.S: Likewise. + * sysdeps/ia64/fpu/e_fmod.S: Likewise. + * sysdeps/ia64/fpu/e_hypotf.S: Likewise. + * sysdeps/ia64/fpu/e_hypotl.S: Likewise. + * sysdeps/ia64/fpu/e_hypot.S: Likewise. + * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise. + * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise. + * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise. + * sysdeps/ia64/fpu/e_log2f.S: Likewise. + * sysdeps/ia64/fpu/e_log2l.S: Likewise. + * sysdeps/ia64/fpu/e_log2.S: Likewise. + * sysdeps/ia64/fpu/e_logf.S: Likewise. + * sysdeps/ia64/fpu/e_logl.S: Likewise. + * sysdeps/ia64/fpu/e_log.S: Likewise. + * sysdeps/ia64/fpu/e_powf.S: Likewise. + * sysdeps/ia64/fpu/e_powl.S: Likewise. + * sysdeps/ia64/fpu/e_pow.S: Likewise. + * sysdeps/ia64/fpu/e_remainderf.S: Likewise. + * sysdeps/ia64/fpu/e_remainderl.S: Likewise. + * sysdeps/ia64/fpu/e_remainder.S: Likewise. + * sysdeps/ia64/fpu/e_scalbf.S: Likewise. + * sysdeps/ia64/fpu/e_scalbl.S: Likewise. + * sysdeps/ia64/fpu/e_scalb.S: Likewise. + * sysdeps/ia64/fpu/e_sinhf.S: Likewise. + * sysdeps/ia64/fpu/e_sinhl.S: Likewise. + * sysdeps/ia64/fpu/e_sinh.S: Likewise. + * sysdeps/ia64/fpu/e_sqrtf.S: Likewise. + * sysdeps/ia64/fpu/e_sqrtl.S: Likewise. + * sysdeps/ia64/fpu/e_sqrt.S: Likewise. + * sysdeps/ia64/fpu/libm_error.c: Likewise. + * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise. + * sysdeps/ia64/fpu/libm_lgammal.S: Likewise. + * sysdeps/ia64/fpu/libm_lgamma.S: Likewise. + * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise. + * sysdeps/ia64/fpu/libm_sincosf.S: Likewise. + * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise. + * sysdeps/ia64/fpu/libm_sincosl.S: Likewise. + * sysdeps/ia64/fpu/libm_sincos.S: Likewise. + * sysdeps/ia64/fpu/libm_support.h: Likewise. + * sysdeps/ia64/fpu/s_asinhl.S: Likewise. + * sysdeps/ia64/fpu/s_asinh.S: Likewise. + * sysdeps/ia64/fpu/s_atanf.S: Likewise. + * sysdeps/ia64/fpu/s_atanl.S: Likewise. + * sysdeps/ia64/fpu/s_cbrtf.S: Likewise. + * sysdeps/ia64/fpu/s_cbrtl.S: Likewise. + * sysdeps/ia64/fpu/s_cosf.S: Likewise. + * sysdeps/ia64/fpu/s_cosl.S: Likewise. + * sysdeps/ia64/fpu/s_cos.S: Likewise. + * sysdeps/ia64/fpu/s_erfcf.S: Likewise. + * sysdeps/ia64/fpu/s_erfcl.S: Likewise. + * sysdeps/ia64/fpu/s_erfc.S: Likewise. + * sysdeps/ia64/fpu/s_erfl.S: Likewise. + * sysdeps/ia64/fpu/s_erf.S: Likewise. + * sysdeps/ia64/fpu/s_expm1f.S: Likewise. + * sysdeps/ia64/fpu/s_expm1l.S: Likewise. + * sysdeps/ia64/fpu/s_expm1.S: Likewise. + * sysdeps/ia64/fpu/s_fdimf.S: Likewise. + * sysdeps/ia64/fpu/s_fdiml.S: Likewise. + * sysdeps/ia64/fpu/s_fdim.S: Likewise. + * sysdeps/ia64/fpu/s_frexp.c: Likewise. + * sysdeps/ia64/fpu/s_frexpf.c: Likewise. + * sysdeps/ia64/fpu/s_frexpl.c: Likewise. + * sysdeps/ia64/fpu/s_ilogbf.S: Likewise. + * sysdeps/ia64/fpu/s_ilogbl.S: Likewise. + * sysdeps/ia64/fpu/s_ilogb.S: Likewise. + * sysdeps/ia64/fpu/s_ldexp.c: Likewise. + * sysdeps/ia64/fpu/s_ldexpf.c: Likewise. + * sysdeps/ia64/fpu/s_ldexpl.c: Likewise. + * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise. + * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise. + * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise. + * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise. + * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise. + * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise. + * sysdeps/ia64/fpu/s_log1pf.S: Likewise. + * sysdeps/ia64/fpu/s_log1pl.S: Likewise. + * sysdeps/ia64/fpu/s_log1p.S: Likewise. + * sysdeps/ia64/fpu/s_logbf.S: Likewise. + * sysdeps/ia64/fpu/s_logbl.S: Likewise. + * sysdeps/ia64/fpu/s_logb.S: Likewise. + * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise. + * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise. + * sysdeps/ia64/fpu/s_nearbyint.S: Likewise. + * sysdeps/ia64/fpu/s_nextafterf.S: Likewise. + * sysdeps/ia64/fpu/s_nextafterl.S: Likewise. + * sysdeps/ia64/fpu/s_nextafter.S: Likewise. + * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise. + * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise. + * sysdeps/ia64/fpu/s_nexttoward.S: Likewise. + * sysdeps/ia64/fpu/s_roundf.S: Likewise. + * sysdeps/ia64/fpu/s_roundl.S: Likewise. + * sysdeps/ia64/fpu/s_round.S: Likewise. + * sysdeps/ia64/fpu/s_scalblnf.c: Likewise. + * sysdeps/ia64/fpu/s_scalbn.c: Likewise. + * sysdeps/ia64/fpu/s_scalbnf.c: Likewise. + * sysdeps/ia64/fpu/s_scalbnl.c: Likewise. + * sysdeps/ia64/fpu/s_tanf.S: Likewise. + * sysdeps/ia64/fpu/s_tanhl.S: Likewise. + * sysdeps/ia64/fpu/s_tanh.S: Likewise. + * sysdeps/ia64/fpu/s_tanl.S: Likewise. + * sysdeps/ia64/fpu/s_tan.S: Likewise. + * sysdeps/ia64/fpu/w_lgamma.c: Likewise. + * sysdeps/ia64/fpu/w_lgammaf.c: Likewise. + * sysdeps/ia64/fpu/w_lgammal.c: Likewise. + * sysdeps/ia64/fpu/w_tgammaf.S: Likewise. + * sysdeps/ia64/fpu/w_tgammal.S: Likewise. + * sysdeps/ia64/fpu/w_tgamma.S: Likewise. + + [BZ #592] + * sysdeps/ia64/fpu/libm_cpu_defs.h: New file. + * sysdeps/ia64/fpu/libm_error_codes.h: New file. + + [BZ #592] + * sysdeps/ia64/fpu/gen_import_file_list: Updated for Intel libm + 2005-03-21. + * sysdeps/ia64/fpu/import_file.awk: Likewise. + * sysdeps/ia64/fpu/import_intel_libm: Likewise. + * sysdeps/ia64/fpu/Makefile: Likewise. + +2005-03-29 Jakub Jelinek + + [BZ #1087] + * posix/fnmatch.c (fnmatch): For short patterns or strings attempt to + avoid calling mbsrtowcs twice. + +2005-03-29 Roland McGrath + + * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion): New + function, inline broken out of ... + (DL_SYSDEP_OSCHECK): ... here. Use that. + Do the discovery and set GLRO(dl_osversion) if successful, + if __LINUX_KERNEL_VERSION <= 0. + * elf/dl-load.c: Don't include dl-osinfo.h here. + +2005-03-29 Alfred M. Szmidt + + * manual/install.texi (Tools for Compilation): GNU binutils 2.15 + is now needed. + +2005-03-19 Bruno Haible + + * intl/dcigettext.c (struct known_translation_t): Change type of + domainname field to 'const char *'. + (DCIGETTEXT): Remove const-cast. + +2005-03-29 Thorsten Kukuk + + [BZ #661] + * grp/initgroups.c (internal_getgrouplist): Check if we have + enough space before adding the primary group to the list. + + * posix/tst-execle1.c (do_test): Fix execle arguments. + * posix/tst-execle2.c (do_test): Likewise. + +2005-03-28 Roland McGrath + + * sysdeps/generic/w_exp2.c [NO_LONG_DOUBLE]: Fix typos in alias names. + Reported by Mark Mitchell . + * Versions.def (libm): Define GLIBC_2.4 set. + * math/Versions (libm: GLIBC_2.4): Add this set, with exp2l. + * sysdeps/i386/Versions (libm: GLIBC_2.1): Add this set, with exp2l. + * sysdeps/ia64/Versions: Likewise. + * sysdeps/m68k/Versions: Likewise. + * sysdeps/sparc/sparc64/Versions: Likewise. + * sysdeps/x86_64/Versions: New file. + * sysdeps/mips/mips64/Versions: New file. + + * locale/langinfo.h (_NL_LOCALE_NAME): New macro. + [__USE_GNU] (NL_LOCALE_NAME): New macro. + * locale/nl_langinfo.c: Grok special item value for _NL_LOCALE_NAME, + return locale name string for the category. + +2005-03-25 Jakub Jelinek + + [BZ #721] + * sysdeps/generic/wcstoul_l.c: Include "wcstol_l.c" rather than + . + +2005-03-28 Daniel Jacobowitz + + * sysdeps/mips/atomicity.h: Remove unused file. + * sysdeps/mips/dl-machine.h (elf_machine_rel): Add TLS relocations. + * sysdeps/mips/dl-tls.h: New file. + * sysdeps/mips/libc-tls.c: New file. + * sysdeps/mips/tls-macros.h: New file. + * sysdeps/mips/bits/atomic.h: New file. + * sysdeps/mips/bits/setjmp.h: Protect against multiple inclusion. + * sysdeps/mips/elf/configure.in: New file. + * sysdeps/mips/elf/configure: Generated. + * sysdeps/mips/sys/asm.h: New file. + * sysdeps/unix/sysv/linux/mips/vfork.S: New file. + * sysdeps/unix/sysv/linux/mips/clone.S: Add NPTL and five-argument + clone support. + * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h + (INTERNAL_SYSCALL_NCS): New. + (INTERNAL_SYSCALL): Update for non-constant support. + (internal_syscall0): Likewise. + (internal_syscall1): Likewise. + (internal_syscall2): Likewise. + (internal_syscall3): Likewise. + (internal_syscall4): Likewise. + (internal_syscall5): Likewise. + (internal_syscall6): Likewise. + (internal_syscall7): Likewise. + * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (SIGEV_THREAD): + Update to match the kernel. + (SIGEV_CALLBACK): Likewise. + (SIGEV_THREAD_ID): Likewise. + +2005-03-28 Daniel Jacobowitz + + [BZ #783] + * elf/tst-auditmod1.c: Add MIPS support. + * sysdeps/generic/ldsodefs.h (La_mips_32_regs): New. + (La_mips_32_retval): New. + (La_mips_64_regs): New. + (La_mips_64_retval): New. + (struct audit_ifaces): Add MIPS entries. + * sysdeps/mips/dl-machine.h: Check RESOLVE_MAP instead of RESOLVE. + (elf_machine_runtime_link_map, ELF_DL_FRAME_SIZE, + ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS, + ELF_MACHINE_RUNTIME_TRAMPOLINE): Move to dl-trampoline.c. + (RTLD_START): Align the stack before calling _dl_init_internal. + Use .ent for _dl_start_user. + (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): Define. + (elf_machine_rel, elf_machine_rel_relative, elf_machine_lazy_rel) + (elf_machine_runtime_setup): Use "auto inline". + (elf_machine_rela, elf_machine_rela_relative): Provide empty versions. + (elf_machine_got_rel): Likewise. Use RESOLVE_MAP. + * sysdeps/mips/dl-trampoline.c: New file. + * sysdeps/mips/bits/link.h: New file. + * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h + (internal_syscall5): Use register operands instead of non-lvalue + memory operands. + (internal_syscall6): Likewise. + (internal_syscall7): Likewise. + +2005-03-27 Andreas Jaeger + + * debug/warning-nop.c (__builtin___memcpy_chk): Define away to + avoid warnings with older compiler. + (__builtin___memcpy_chk): Likewise. + (__builtin___memmove_chk: Likewise. + (__builtin___mempcpy_chk): Likewise. + (__builtin___memset_chk): Likewise. + (__builtin___stpcpy_chk): Likewise. + (__builtin___strcat_chk): Likewise. + (__builtin___strcpy_chk): Likewise. + (__builtin___strncat_chk): Likewise. + (__builtin___strncpy_chk): Likewise. + (__builtin_object_size): Likewise. + +2005-03-27 Daniel Jacobowitz + + * elf/tls-macros.h: Correct typo. + +2005-03-23 Jakub Jelinek + + [BZ #822] + * nis/ypclnt.c (yp_2_yperr): Revert 2004-11-30 patch. + (ypprot_err): Use yp_2_yperr table also for YP_NODOM .. YP_NOMORE. + +2005-03-22 Roland McGrath + + * locale/setlocale.c: Comment typo. + + * scripts/versions.awk: No errors for GLIBC_PRIVATE. + + * Versions.def (libdl, librt): Add GLIBC_2.3.4 version. + + * scripts/versions.awk: Print all errors and die at the end. + Use library name in versions array keys. + +2005-03-22 Daniel Jacobowitz + + * elf/elf.h (PT_ARM_EXIDX): New macro. + +2005-03-21 Thorsten Kukuk + + [BZ #1098] + * sunrpc/xdr_stdio.c (xdrstdio_getlong, xdrstdio_putlong): + Convert correctly between long/int on 64bit big-endian. + +2005-03-21 David Mosberger + + * sysdeps/ia64/_mcount.S: Newer kernels don't like register-frames + with more than 8 output registers. Fix this by passing original + ar.pfs to _mcount_ret_helper via r3. + +2005-03-15 Jakub Jelinek + + [BZ #786] + * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Handle + GL(dl_tls_static_nelem) == GL(dl_tls_max_dtv_idx). + * elf/Makefile: Add rules to build and run tst-tls15. + * elf/tst-tls15.c: New test. + * elf/tst-tlsmod15a.c: New file. + * elf/tst-tlsmod15b.c: New file. + +2005-03-20 Ulrich Drepper + + * elf/rtld.c (dl_main): Always call init_tls if we have audit modules. + +2005-03-20 Alfred M. Szmidt + + * elf/dl-open.c (dl_open_worker): Fix typo. + +2005-03-20 Ulrich Drepper + + * malloc/malloc.c (public_cALLOc): We cannot skip the memory + clearing if perturb_byte != 0. + +2005-03-20 Jakub Jelinek + + * posix/bits/unistd.h (pread) [__USE_FILE_OFFSET64]: Use __off64_t + instead of __off_t for last argument. + * debug/Makefile (tests): Add tst-lfschk{1,2,3}. + * debug/tst-lfschk1.c: New test. + * debug/tst-lfschk2.c: New test. + * debug/tst-lfschk3.c: New test. + +2005-02-09 Jakub Jelinek + + * sysdeps/unix/sysv/linux/bits/termios.h (CMSPAR): Define. + * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Add __USE_MISC + and __USE_XOPEN guards to match linux/bits/termios.h. + * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise. + (CMSPAR): Define. + * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise. + +2005-02-10 H.J. Lu + + [BZ #1076] + * sysdeps/ia64/elf/initfini.c: Add local _init and _fini labels. + +2005-02-27 Denis Barbier + + [BZ #549] + * locale/iso-4217.def: Add CSD currency. + +2005-03-19 Ulrich Drepper + + * inet/test-ifaddrs.c: Use test-skeleton. + * inet/test_ifindex.c: Likewise. + + [BZ #821] + * elf/dl-lookup.c (add_dependency): Always search l_initfini if + the list exists. + + [BZ #821] + * elf/Makefile: Add rules to build and run order2. + * elf/order2.c: New file. + * elf/order2mod1.c: New file. + * elf/order2mod2.c: New file. + * elf/order2mod3.c: New file. + * elf/order2mod4.c: New file. + +2005-03-19 Jakub Jelinek + + [BZ #821] + * elf/dl-open.c (dl_open_worker): Print exact l_direct_opencount value, + it has been incremented before. + +2005-03-18 Ulrich Drepper + + [BZ #821] + * elf/dl-fini.c (_dl_fini): Split sorting of the maps in separate + function _dl_sort_fini. + (_dl_sort_fini): New function. + * sysdeps/generic/ldsodefs.h: Declare _dl_sort_fini. + * elf/dl-close.c (_dl_close): Call _dl_sort_fini before running + destructors to call them in the right order. + +2005-02-07 Steven Munroe + + * sysdeps/powerpc/bits/link.h (La_ppc64_regs): Add lr_vrsave. + (La_ppc64_retval): Correct size of lrc_fp. + * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_profile_resolve): + Fix up ABI problems and complete function. + +2005-03-10 Jakub Jelinek + + * math/test-misc.c (main): Add some more tests. + +2005-03-17 Jakub Jelinek + + * posix/regcomp.c (re_compile_fastmap_iter): Fix check for failed + __wcrtomb. Check return values of other __wcrtomb calls. + * posix/regex_internal.c (build_wcs_buffer, re_string_skip_chars): + Change mbclen type to size_t. + (build_wcs_upper_buffer): Change mbclen and mbcdlen type to size_t. + Handle mb chars whose upper case doesn't have multibyte representation + in locale's charset. + +2005-03-15 Jakub Jelinek + + * malloc/malloc.c (_int_icalloc, _int_icomalloc, iALLOc, + public_iCALLOc, public_iCALLOc, public_iCOMALLOc): Protect with + #ifndef _LIBC. + + [BZ #779] + * malloc/malloc.c (public_mTRIm): Initialize malloc if not yet + initialized. + +2005-03-10 Jakub Jelinek + + * misc/sys/cdefs.h (__always_inline): Define. + * posix/bits/unistd.h (read, pread, pread64, readlink, getcwd, getwd): + Use __always_inline instead of __inline. + * socket/bits/socket2.h (recv, recvfrom): Likewise. + * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Likewise. + * string/bits/string3.h (__memcpy_ichk, __memmove_ichk, __mempcpy_ichk, + __memset_ichk, __strcpy_ichk, __stpcpy_ichk, __strncpy_ichk, + __strcat_ichk, __strncat_ichk): Use __always_inline instead of + __inline__ __attribute__ ((__always_inline__)). + +2005-03-09 Jakub Jelinek + + * debug/tst-chk1.c: Include sys/socket.h and sys/un.h. + (do_test): Add new tests for recv, recvfrom, getcwd, getwd and + readlink. Add some more tests for read, pread, pread64, fgets and + fgets_unlocked. + + * posix/bits/unistd.h (read, pread, pread64, readlink, + getcwd, getwd): Change macros into extern inline functions. + (__read_alias, __pread_alias, __pread64_alias, __readlink_alias, + __getcwd_alias, __getwd_alias): New prototypes. + * socket/bits/socket2.h (recv, recvfrom): Change macros into + extern inline functions. + (__recv_alias, __recvfrom_alias): New prototypes. + * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Change macros + into extern inline functions. + (__gets_alias, __fgets_alias, __fgets_unlocked_alias): New prototypes. + + * debug/pread_chk.c (__pread_chk): Fix order of arguments passed + to __pread. + * debug/pread64_chk.c (__pread64_chk): Fix order of arguments passed + to __pread64. + +2005-03-18 Daniel Jacobowitz + + * configure.in: Use %function instead of @function. + +2005-03-18 Ulrich Drepper + + [BZ #821] + * include/link.h (struct link_map): Remove l_opencount. Add l_removed. + Change type of l_idx to int. + * elf/dl-close.c: Basically rewrite. Do not use l_opencount to + determine whether a DSO has to be unloaded. Instead compute this + in this function. + * elf/dl-deps.c: No need to manipulate l_opencount anymore. + * elf/dl-lookup.c: Likewise. + * elf/rtld.c: Likewise + * elf/dl-open.c: Likewise. Use l_init_called to determine whether + object was just loaded. + * elf/dl-fini.c: Bump l_direct_opencount instead of l_opencount. + * elf/dl-load.c (_dl_map_object_from_fd): Do not recognize DSO which + is about to be unloaded as a match. + (_dl_map_object): Likewise. + * elf/do-lookup.h (do_lookup_x): Do not look into DSO which is about + to be unloaded. + * elf/circleload1.c: Don't use l_opencount anymore. + * elf/neededtest.c: Likewise. + * elf/neededtest2.c: Likewise. + * elf/neededtest3.c: Likewise. + * elf/neededtest4.c: Likewise. + * elf/unload.c: Likewise. + * elf/unload2.c: Likewise. + * elf/loadtest.c: Likewise. + + [BZ #821] + * elf/rtld.c: Preloading errors are now never fatal. + +2005-03-08 Jakub Jelinek + + [BZ #821] + * elf/Makefile: Add rules to build and run unload5 test. + * elf/unload5.c: New file. + + [BZ #821] + * elf/Makefile: Add rules to build and run unload4 test. + * elf/unload4.c: New file. + * elf/unload4mod1.c: New file. + * elf/unload4mod2.c: New file. + * elf/unload4mod3.c: New file. + * elf/unload4mod4.c: New file. + +2005-03-17 Roland McGrath + + * nscd/aicache.c (addhstaiX): Tweak type to avoid warning. + +2005-03-16 Richard Henderson + + [BZ #721] + * include/libc-symbols.h (__hidden_proto): Remove bogus declaration + of internal. + (__hidden_def1, __hidden_dot_def1): Remove. + (__hidden_def2, __hidden_def3): Remove. + (__hidden_ver1): New. + (hidden_ver, hidden_def, hidden_weak): Use it. + (hidden_data_ver, hidden_data_ver, hidden_data_weak): Use non-data + version of the macro. + + [BZ #721] + * include/wchar.h (__wcscoll): Remove. + * wcsmbs/wcscoll.c: Define wcscoll directly instead of via __wcscoll. + * string/strcoll.c: Don't issue libc_hidden_def STRCOLL redefined. + +2005-03-16 Daniel Jacobowitz + + * elf/elf.h: Define MIPS TLS relocations. + +2005-03-16 Ulrich Drepper + + * elf/circleload1.c (main): Pretty printing. + +2005-03-15 Jakub Jelinek + + * sysdeps/generic/wordexp.c (exec_comm_child): Add inline keyword. + Patch by Dan Kegel . + + [BZ #721] + * elf/dynamic-link.h (elf_machine_rel, elf_machine_rel_relative, + elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel): + Add inline keyword. + * sysdeps/alpha/dl-machine.h (elf_machine_rela, + elf_machine_rela_relative, elf_machine_lazy_rel): Add always_inline + attribute. + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela, + elf_machine_rela_relative, elf_machine_lazy_rel): Likewise. Change + static inline into auto inline. + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela, + elf_machine_rela_relative, elf_machine_lazy_rel): Likewise. + * sysdeps/generic/dl-machine.h (elf_machine_rel, elf_machine_rela): + Likewise. + * sysdeps/arm/dl-machine.h (elf_machine_rel, elf_machine_rel_relative, + elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel): + Likewise. + +2005-03-15 Jakub Jelinek + + [BZ #789] + * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Fix asm constraints. + Remove memory clobber. + + * sysdeps/x86_64/hp-timing.h (HP_TIMING_ACCUM): Make the addition + thread-safe. Subtract GLRO(dl_hp_timing_overhead) from Diff. + +2005-03-14 Jakub Jelinek + + * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Don't include + asm/types.h. + +2005-03-10 GOTO Masanori + + * sysdeps/unix/sysv/linux/sh/bits/mman.h: Define MAP_POPULATE and + MAP_NONBLOCK. + * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise. + Correct MAP_GROWSDOWN value. + +2005-03-13 Roland McGrath + + * elf/tls-macros.h: #include_next to get a sysdeps + version if there is one. Only #error if macros are then undefined. + * sysdeps/generic/tls-macros.h: New file. + +2005-03-10 GOTO Masanori + + * sysdeps/hppa/configure.in: Remove old Makefile leftovers. + * sysdeps/hppa/configure: Regenerated. + +2005-03-08 Roland McGrath + + * sysdeps/gnu/errlist-compat.awk: Use NERR in all array decls, so + array types match exactly in C alias decls. + +2005-03-07 Ulrich Drepper + + * malloc/arena.c (ptmalloc_init): Recognize MALLOC_PERTURB_ and call + mallopt appropriately. + * malloc/malloc.h: Define M_PERTURB. + * malloc/malloc.c (perturb_byte): New variable. + (alloc_perturb, free_perturb): New macros. + (_int_malloc): Before returning, overwrite the memory if this is + requested. + (_int_free): Overwrite freed memory if requested. + (mALLOPt): Handle M_PERTURB. + * test-skeleton.c: Add call to mallopt with M_PERTURB command. + + * elf/dl-close.c (_dl_close): Decrement l_opencount before + printing debug message. + * elf/dl-open.c (dl_open_worker): Always print the new opencount + in debug messages. + +2005-03-06 Ulrich Drepper + + * elf/dl-close.c (_dl_close): Unify debug message format. + + * elf/dl-close.c (_dl_close): Print debug message just before + destroying a link map. + + * elf/do-lookup.h (do_lookup_x): Add namespace info to debug output. + * elf/dl-version.c (match_symbol): Likewise. + + * posix/bits/unistd.h (pread): Fix typo in __USE_FILE_OFFSET64 code. + + * debug/recv_chk.c (__recv_chk): Always fail if request could + overflow the buffer. + * debug/recvfrom_chk.c (__recvfrom_chk): Likewise. + * socket/bits/socket2.h (recv): Avoid calls to the _chk variant if + we know the call succeeds. + (recvfrom): Likewise. + +2005-03-05 Ulrich Drepper + + * posix/regexec.c (check_node_accept_bytes): Correct cast to avoid + warning. + * posix/regex_internal.c (re_string_reconstruct): Add cast to + avoid warning. + (build_wcs_upper_buffer): Change type of bug to plain char. + * locale/weightwc.h (findidx): Add casts to avoid warnings. + * time/mktime.c (ranged_convert): Initialize tm to make the + compiler happy. + * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Add casts to avoid warnings. + * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Add casts to avoid warnings. + * wcsmbs/mbsnrtowcs.c: Add casts to avoid warnings. + * wcsmbs/wcsrtombs.c (__wcsrtombs): Add casts to avoid warnings. + * wcsmbs/wcrtomb.c (__wcrtomb): Add casts to avoid warnings. + * wcsmbs/mbrtowc.c (__mbrtowc): Use unsigned char for outbuf. + * wcsmbs/wctob.c (wctob): Make buf array of unsigned char. + * sysdeps/generic/strchrnul.c: Add cast to avoid warning. + * libio/iofwide.c: Add casts to avoid warnings. + * stdio-common/printf-prs.c (parse_printf_format): Introduce new + variable f to avoid warnings. + * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext): + Fix a few casts to avoid warnings. + * iconv/gconv_simple.c (internal_utf8_loop): Make start unsigned + to avoid warning. + + [BZ #1101] + * posix/regex_internal.c [_LIBC] (build_wcs_buffer): Avoid using + dynamically sized array. + (build_wcs_upper_buffer): Likewise. + +2005-03-05 Jakub Jelinek + + * include/bits/unistd.h: New file. + * include/bits/socket2.h: New file. + +2005-03-05 Ulrich Drepper + + * sunrpc/key_call.c: Remove doors support. + * sunrpc/Makefile: Remove CPPFLAGS-key_call.c definition. + * configure.in: Remove test for doors support which never existed. + * config.make.in: Remove have_doors entry. + + * configure.in: Make sure at least gcc 3.4 is used. Undo last change. + * config.make.in: Undo last change. + + * sysdeps/i386/Makefile (CFLAGS-initfini.s): Unconditionally use + -mtune. + +2005-03-05 Roland McGrath + + * sysdeps/generic/ldsodefs.h (_dl_out_of_memory_internal): Remove decl. + (_dl_out_of_memory): Use rtld_hidden_proto. + * elf/dl-error.c (_dl_out_of_memory): Use rtld_hidden_data_def. + (_dl_signal_error): Don't use INTUSE on _dl_out_of_memory. + * elf/dl-open.c (_dl_open): Likewise. + * elf/dl-deps.c (_dl_map_object_deps): Likewise. + + * sunrpc/des_impl.c (des_set_key): Make first argument unsigned char *. + + * elf/dl-addr.c (_dl_addr): Add a cast. + + [BZ #821] + * elf/unload3mod4.c: Declare foo. + * elf/testobj2.c: Include . + + * sysdeps/gnu/errlist.awk: Emit NERR macro for _sys_nerr_internal + value constant, and use it in the defn. + * sysdeps/gnu/errlist-compat.awk: Use NERR in array decl. + Use actual size for compat array decls. + + * config.make.in (cc-mtune): New substituted variable. + * configure.in (libc_cv_cc_mtune): New test for -mtune= switch, + done only if libc_mtune_example is defined. + * sysdeps/i386/configure.in (libc_mtune_example): Set it. + * sysdeps/i386/Makefile (CFLAGS-initfini.s): Use $(cc-mtune). + +2005-03-05 Jakub Jelinek + + [BZ #721] + * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define + unconditionally to (defined RTLD_BOOTSTRAP). + * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Likewise. + +2005-03-05 Jakub Jelinek + + * Makerules ($(inst_libdir)/libc.so): Use $(slibdir) instead of + $(inst_slibdir) in AS_NEEDED directive. + +2005-03-03 Jakub Jelinek + + * posix/bits/unistd.h (pread, pread64): Don't swap function arguments. + +2005-03-01 H.J. Lu + + [BZ #776] + * iconv/iconvconfig.c: Fix comment for the output file. + (write_output): Clear padding in header. + +2005-03-03 Ulrich Drepper + + [BZ #821] + * elf/dl-close.c (_dl_close): Don't try to set up new searchpath if the + loader is closed. Fixes unload3. + * elf/tst-global1.c: New file. + * elf/Makefile (tests): Add tst-global1. + * elf/testobj2.c (p): New function. + +2005-03-03 Jakub Jelinek + + [BZ #821] + * elf/Makefile: Add rules to build and run unload3 test. + * elf/unload3.c: New test. + * elf/unload3mod1.c: New file. + * elf/unload3mod2.c: New file. + * elf/unload3mod3.c: New file. + * elf/unload3mod4.c: New file. + +2005-02-21 Alan Modra + + [BZ #1394] + * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Don't + use __uint128_t. + +2005-03-01 Jakub Jelinek + + * posix/bits/unistd.h (read, pread, pread64): Use __bos0 instead + of __bos. + * socket/bits/socket2.h (recv, recvfrom): Likewise. + +2005-03-01 Roland McGrath + + [BZ #721] + * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside + of [RESOLVE_MAP]. + +2005-03-01 Alfred M. Szmidt + + [BZ #777] + * elf/dl-load.c (__stack_prot) [!PROT_GROWSUP && !PROT_GROWSDOWN]: + Add missing initializer. + + [BZ #777] + * malloc/arena.c: #include outside of [SHARED && + USE_TLS && !USE___THREAD]. + +2005-02-26 GOTO Masanori + + * csu/Makefile: Use printf instead of echo for some shells. + +2005-02-28 Roland McGrath + + * debug/warning-nop.c (__nop): Rename to nop, make it static. + (__warndecl): Use alias attribute directly, instead of strong_alias + macro. Add attribute_hidden. + +2005-02-28 Ulrich Drepper + + * posix/bits/unistd.h: Avoid calling __*_chk variants if we can + determine the call will never trigger a failure. + * debug/read_chk.c (__read_chk): Always fail if the buffer is too + small. + * debug/readlink_chk.c (__readlink_chk): Likewise. + * debug/pread64_chk.c (__pread64_chk): Likewise. + * debug/pread_chk.c (__pread_chk): Likewise. + + * sysdeps/i386/i686/memset_chk.S: Remove alias and warning. + * sysdeps/x86_64/memset_chk.S: Likewise. + +2005-02-24 Roland McGrath + + * debug/Versions (libc: GLIBC_2.4): Remove + __memset_zero_constant_len_parameter. + * sysdeps/generic/memset_chk.c: Remove alias and warning. + * misc/sys/cdefs.h (__warndecl): New macro. + * debug/warning-nop.c: New file. + * string/bits/string3.h (memset): Call __warn_memset_zero_len with no + arguments, instead of calling __memset_zero_constant_len_parameter. + Use __warndecl for __warn_memset_zero_len. + * debug/Makefile (routines): Add $(static-only-routines). + (static-only-routines): New variable. + +2005-02-27 Ulrich Drepper + + * po/tr.po: Update from translation team. + +2005-02-26 Ulrich Drepper + + * elf/dl-addr.c: Cleanups. Move declaration next to first use. + + * dlfcn/dlerror.c (check_free): New function. Extract common code + from fini and free_key_mem. Check whether this is libdl in the + base namespace. + +2005-02-25 Ulrich Drepper + + * elf/dl-lookup.c (_dl_debug_bindings): Add namespace information + to debug output. + +2004-11-11 Richard Sandiford + + [BZ #758] + * sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h): Only + preprocess if it defines ABI-prefixed syscall names + like __NR_N32_open. Just include otherwise. + * sysdeps/unix/sysv/linux/mips/configure: Regenerate. + * sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: Delete + * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (SYS_ify): Use the + standard __NR prefix. + * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (SYS_ify): Likewise. + * sysdeps/unix/sysv/linux/mips/Makefile (syscall-%.h): Rework so that + the output file is compatible with both pre-2.6 and 2.6 kernel headers. + Extract separate syscall lists for each ABI. + +2005-02-23 Ulrich Drepper + + * Makerules (libc.so): Add AS_NEEDED line for dynamic linker. + + [BZ #719] + * elf/Makefile: Run tst-tls9-static again. + +2005-02-22 Ulrich Drepper + + [BZ #719] + * sysdeps/generic/libc-tls.c (static_dtv): Size the same as the + slotinfo array. + (__libc_setup_tls): Initialize length of DTV based on array length. + * elf/dl-load.c: Revert last change. + * sysdeps/generic/dl-tls.c: Revert last change. + + * posix/Makefile (tests): Add tst-execvp1, tst-execvp2, tst-execlp1, + tst-execlp2, tst-execv1, tst-execv2, tst-execl1, tst-execl2, + tst-execve1, tst-execve2, tst-execle1, and tst-execle2. + * posix/tst-execl1.c: New file. + * posix/tst-execl2.c: New file. + * posix/tst-execle1.c: New file. + * posix/tst-execle2.c: New file. + * posix/tst-execlp1.c: New file. + * posix/tst-execlp2.c: New file. + * posix/tst-execv1.c: New file. + * posix/tst-execv2.c: New file. + * posix/tst-execve1.c: New file. + * posix/tst-execve2.c: New file. + * posix/tst-execvp1.c: New file. + * posix/tst-execvp2.c: New file. + +2005-02-22 Roland McGrath + + * include/signal.h: Revert last change. + (__sigemptyset): Use __builtin_memset instead of memset. + +2005-02-22 Ulrich Drepper + + * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Use + non-cancelable I/O functions. + +2005-02-22 Jakub Jelinek + + [BZ #769] + * nscd/nscd-client.h: Include sys/uio.h. + (__readall, __readvall, writeall): New prototypes. + * nscd/connections.c (writeall): New function. + (handle_request): Use it. + * nscd/aicache.c (addhstaiX): Likewise. + * nscd/initgrcache.c (addinitgroupsX): Likewise. * nscd/hstcache.c (cache_addhst): Likewise. * nscd/grpcache.c (cache_addgr): Likewise. - * nscd/servicescache.c (cache_addserv): Likewise. * nscd/pwdcache.c (cache_addpw): Likewise. - * nscd/initgrcache.c (addinitgroupsX): Likewise. - -2007-11-23 Ulrich Drepper - - * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Add open - and creat system calls. - - * sysdeps/unix/sysv/linux/check_native.c: Include . - -2007-11-23 Martin Schwidefsky - - * sysdeps/unix/sysv/linux/Makefile [subdir=inet] (sysdep_headers): - Add netiucv/iucv.h. - * sysdeps/unix/sysv/linux/netiucv/iucv.h: New file. - * sysdeps/unix/sysv/linux/opensock.c (__opensock): Add AF_IUCV - protocol. - * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Likewise. - * sysdeps/unix/sysv/linux/s390/opensock.c: New file. - * sysdeps/unix/sysv/linux/s390/sa_len.c: New file. - -2007-11-22 Martin Schwidefsky - - * sysdeps/s390/bits/string.h (strlen, strcpy, strncpy, strcat, - strncat): Define as macros to avoid compile errors. - - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Add open and - creat entries. - -2007-11-22 Ulrich Drepper - - [BZ #5382] - * nscd/nscd.h (NSCD_THREAD_STACKSIZE): Define. - * nscd/connections.c (start_threads): Use NSCD_THREAD_STACKSIZE. - * nscd/mem.c (gc): Don't allocate arrays on the stack if they can - overflow it. - Partially based on a patch by Petr Baudis . - - * sysdeps/unix/sysv/linux/nscd_setup_thread.c (setup_thread): - Return zero in case the thread library is not NPTL. - - [BZ #5375] - * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix locking when - initializing interface list. - - [BZ #5378] - * nis/nss_compat/compat-initgroups.c (getgrent_next_nss): Don't - use result of nss_getgrgid_r if nothing was found. For other - error return with a failure. - Partially based on a patch by Petr Baudis . - - * locale/programs/ld-collate.c (collate_read): Fix loop to match - macro name. - -2007-11-19 Ulrich Drepper - - * sysdeps/posix/getaddrinfo.c (defaults_scopes, scopes): New variables. - (get_scope): For IPv4 scope, use scopes table. - (fini): Free scopes table if necessary. - (free_scopelist): New function. - (scopecmp): New function. - (gaiconf_init): Also handle scopev4 entries. - * posix/tst-rfc3484.c (do_test): Initialize scopes. - * posix/tst-rfc3484-2.c (do_test): Likewise. - * posix/gai.conf: Document scopev4 defaults. - * posix/Makefile (tests): Add tst-rfc3484-3. - * posix/tst-rfc3484-3.c: New file. - - * sysdeps/posix/getaddrinfo.c (default_labels): Describe entry for - Teredo tunnels. - * posix/gai.conf: Update for current default tables. - -2007-11-19 Ulrich Drepper - - * po/tr.po: Update from translation team. - -2007-11-18 Roland McGrath - - * manual/arith.texi (Remainder Functions): Spelling fix. - From Shaun Silk . - - * sysdeps/mach/hurd/bits/fcntl.h (O_CLOEXEC): Fix value. - -2007-11-17 Ulrich Drepper - - * po/zh_CN.po: Update from translation team. - - * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers): - Add sys/signalfd.h and sys/eventfd.h. - -2007-11-15 Bruno Haible - - [BZ #5346] - * intl/dcigettext.c (struct known_translation_t): Turn msgid into a - union. - (transcmp): Use the appropriate part of s1->msgid and s2->msgid. - (DCIGETTEXT): Change the allocation of the 'search' variable so that - it needs only fixed stack space. Delay the initialization of - msgid_len until it is needed. - -2007-11-15 Andreas Jaeger - - * sysdeps/ieee754/dbl-64/sincos.tbl: Fix size of union. - Reported by Christoph Quirin Lauter . - -2007-11-15 Ulrich Drepper - - * po/ko.po: Update from translation team. - -2007-11-14 Ulrich Drepper - - * sysdeps/unix/sysv/linux/check_native.c (__check_native): Simplify - significantly. The device type is also part of the ifinfomsg data. - - * po/sv.po: Update from translation team. - * po/nl.po: Likewise. - - * nscd/cache.c (prune_cache): If cache is empty, instruct caller - to wake up in 24 hours. - - * nscd/gai.c (__ioctl): Define. Include check_native.c. - -2007-11-13 Ulrich Drepper - - * po/cs.po: Update from translation team. - * po/pl.po: Likewise. - - * include/ifaddrs.h: Remove in6ai_temporary. - (struct in6addrinfo): Add index element. - Declare __check_native. - * inet/Makefile (aux): Add check_native. - * sysdeps/unix/sysv/linux/check_native.c: New file. - * sysdeps/unix/sysv/linux/check_pf.c: No need to recognize - IFA_F_TEMPORARY. Pass back ifa_index. - * sysdeps/posix/getaddrinfo.c: Remove netlink compatibility code. - (rfc3484_sort): Add new parameter. Implement rule 7 correctly: - call __check_native if necessary. - (getaddrinfo): Fill in index field. Use qsort_r instead of qsort - to sort addresses. Pass information about the results. - * posix/tst-rfc3484.c: Adjust for addition of index field and change - of rfc3484_sort interface. - * posix/tst-rfc3484-2.c: Likewise. - - * stdlib/stdlib.h: Define __compar_d_fn_t. Declare qsort_r. - * include/stdlib.h: Add hidden_proto for qsort_t and adjust protoype - for _quicksort. - * stdlib/msort.c (qsort): Now a wrapper around qsort_r. - (qsort_r): Renamed from qsort. Take additional parameter and pass it - on as third parameter to compare function and _quicksort. - * stdlib/qsort.c (_quicksort): Take additional parameter and pass on - to the compare function. - * stdlib/Versions [libc] (GLIBC_2.8): Add qsort_r. - * Versions.def: Add GLIBC_2.8 for libc. - - * posix/tst-rfc3484.c: Adjust for addition of prefixlen field. - * posix/tst-rfc3484-2.c: Likewise. - - * include/kernel-features.h: Moved to... - * sysdeps/mach/hurd/kernel-features.h: ...here. - -2007-09-13 H.J. Lu - - * sysdeps/i386/i586/memcpy_chk.S: New file. - * sysdeps/i386/i586/mempcpy_chk.S: Likewise. - * sysdeps/i386/i586/memset_chk.S: Likewise. - -2007-11-12 Ulrich Drepper - - * include/ifaddrs.c (struct in6addrinfo): Add prefixlen field. - * sysdeps/unix/sysv/linux/check_pf.c (make_request): Always return - list of interfaces. Also store prefix length. - * sysdeps/posix/getaddrinfo.c (sort_result): Add prefixlen element. - (rfc3484_sort): In rule 9, for IPv4 addresses count only matching - prefix if source and destination address are in the same subnet. - (getaddrinfo): Always call __check_pf. Fill in prefixlen field. - Always look for matching record in in6ai list. - Correct source_addr_len value for IPv6->IPv4 converted records. - -2007-11-11 Roland McGrath - - * include/kernel-features.h: New file. - -2007-11-10 Ulrich Drepper - - * sysdeps/pthread/aio_misc.c (handle_fildes_io): Avoid unnecessary - complications for 64-bit platforms. - - * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to.. - * sysdeps/unix/sysv/linux/open64_2.c: ...here. New file. - * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): Add - open64_2. - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add open and creat - entries. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. - * sysdeps/wordsize-64/alphasort.c: New file. - * sysdeps/wordsize-64/alphasort64.c: New file. - * sysdeps/wordsize-64/fseeko.c: New file. - * sysdeps/wordsize-64/fseeko64.c: New file. - * sysdeps/wordsize-64/ftello.c: New file. - * sysdeps/wordsize-64/ftello64.c: New file. - * sysdeps/wordsize-64/ftw.c: New file. - * sysdeps/wordsize-64/ftw64.c: New file. - * sysdeps/wordsize-64/iofgetpos.c: New file. - * sysdeps/wordsize-64/iofgetpos64.c: New file. - * sysdeps/wordsize-64/iofopen.c: New file. - * sysdeps/wordsize-64/iofopen64.c: New file. - * sysdeps/wordsize-64/iofsetpos.c: New file. - * sysdeps/wordsize-64/iofsetpos64.c: New file. - * sysdeps/wordsize-64/lockf.c: New file. - * sysdeps/wordsize-64/lockf64.c: New file. - * sysdeps/wordsize-64/mkostemp.c: New file. - * sysdeps/wordsize-64/mkostemp64.c: New file. - * sysdeps/wordsize-64/mkstemp.c: New file. - * sysdeps/wordsize-64/mkstemp64.c: New file. - * sysdeps/wordsize-64/scandir.c: New file. - * sysdeps/wordsize-64/scandir64.c: New file. - * sysdeps/wordsize-64/tmpfile.c: New file. - * sysdeps/wordsize-64/tmpfile64.c: New file. - * sysdeps/wordsize-64/versionsort.c: New file. - * sysdeps/wordsize-64/versionsort64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/aio_read.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/aio_read64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/aio_write.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/aio_write64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/lio_listio.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/lio_listio64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/open64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/openat.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: New file. - - * crypt/sha256-crypt.c: Fix a comment. - * crypt/sha512-crypt.c: Likewise. - -2007-11-07 H.J. Lu - - * sysdeps/x86_64/memset.S: Add sfence after movnti. - -2007-11-07 Ulrich Drepper - - [BZ #5277] - * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): If conversion failed - because output buffer is too small break, don't loop. - * iconvdata/Makefile (tests): Add bug-iconv6. - * iconvdata/bug-iconv6.c: New file. - -2007-11-06 Ulrich Drepper - - * stdio-common/vfprintf.c (vfprintf): Compute necessary buffer size - with size_t type. - * stdio-common/printf_fp.c (__print_fp): Change chars_needed type to - size_t. Add casts where needed. - - * nscd/selinux.c (nscd_request_avc_has_perm): When compiled with - old headers, don't call avc_has_perm if we don't have the - permission information. - -2007-11-05 Daniel Jacobowitz - - * elf/rtld.c (dl_main): Use the page size to find the map start. - -2007-11-05 Ulrich Drepper - - * time/tzfile.c (__tzfile_read): Fix check for version 0 data files. - Patch by Szymon Siwek . - - * nscd/aicache.c (addhstaiX): Check herrno after IPv4 lookup only - when the lookup call failed. - - * nscd/nscd.h (struct database_dyn): Rename prunelock to prune_lock. - Add prune_cond and wakeup_time. - (CACHE_PRUNE_INTERNAL): Define. - Update declarations of prune_cache and setup_thread. - * nscd/connections.c (dbs): Update initializers. - (CACHE_PRUNE_INTERNAL): Moved to nscd.h. - (nscd_init): Default number of threads is now 4. - (invalidate_cache): Take lock before calling prune_cache. - (handle_request): If SELinux forbids the request, say so. - (readylist_cond): Use static initializer. - (nscd_run_prune): New function. Used only by pruning threads. - (nscd_run_worder): Renamed from nscd_run. Remove support for pruning - here. - (fd_ready): Update nscd_run reference. - (start_threads): No need to initialize readylist_cond. - Start pruning threads separately. - * nscd/nscd_setup_thread.c: Change return value type to int and always - return 0. - * sysdeps/unix/sysv/linux/nscd_setup_thread.c: Change return value type - to int and return nonzero value if we can use the TID address hack. - * nscd/cache.c (cache_add): If next wakeup time of cleanup thread for - the database is later than the new entry's timeout, update the - wakeup time and wake the cleanup thread. - (prune_cache): Return seconds the next entry in the database is still - valid. Remove locking for pruning here. - * nscd/nscd.conf: Document default number of threads. - -2007-10-31 Ulrich Drepper - - * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Make sure - stack is properly aligned for the target function. - Correct unwind info. - - * elf/rtld.c (dl_main): Initialize stack and pointer guard early - when using auditing libraries. - -2007-10-29 Ulrich Drepper - - * resolv/Versions [libresolv] (GLIBC_PRIVATE): Add - _nss_dns_getnetbyaddr2_r. - * resolv/nss_dns/dns-host.c: Define _nss_dns_getnetbyaddr2_r. Pass - extra parameter to getanswer_r. - (_nss_dns_getnetbyaddr_r): Now a wrapper around - _nss_dns_getnetbyaddr2_r. - - * nscd/Makefile (nscd-modules): Replace gethstbynm2_r with - gethstbynm3_r. - * nscd/gethstbynm2_r.c: Remove. - * nscd/gethstbynm3_r.c: New file. - * nscd/aicache.c (addhstaiX): Use __gethostbyaddr2_r instead of - __gethostbyaddr_r. - * nscd/gethstbyad_r.c: Generate __gethostbyaddr2_r function. Define - __gethostbyaddr_r compatibility wrapper. - * nscd/hstcache.c (cache_addhst): Add ttl parameter. Use it when - determining timeout of entry. - (lookup): Take new parameter and pass it to __gethostbyname3_r and - __gethostbyaddr2_r. - (addhstbyX): Pass reference to variable for TTL to lookup and - cache_addhst. - * nss/Versions [glibc] (GLIBC_PRIVATE): Export __nss_passwd_lookup2, - __nss_group_lookup2, __nss_hosts_lookup2, __nss_services_lookup2, - and __nss_next2. Remove __nss_services_lookup. - * nss/XXX-lookup.c: Name function now *_lookup2. Add new parameter. - Add compat wrapper. - * nss/getXXbyYY_r.c: Changes to call new *_lookup2 functions and - __nss_next2. - * nss/getXXent_r.c: Likewise. - * nss/getnssent_r.c: Likewise. - * nss/nsswitch.c (__nss_lookup): Add new parameter. If first function - does not exist in module, try the optional second name. - (__nss_next2): New function. - (__nss_next): Now wrapper around __nss_next2. - * nss/nsswitch.h: Adjust __nss_lookup prototype. - Declare __nss_next2. - Adjust definition of db_lookup_function type. - * nss/service-lookup.c: Define NO_COMPAT. - * include/netdb.h: Declare __gethostbyaddr2_r and __gethostbyname3_r. - * inet/ether_hton.c: Use __nss_next2 instead of __nss_next. - * inet/ether_ntoh.c: Likewise. - * sunrpc/netname.c: Likewise. - * sunrpc/publickey.c: Likewise. - * inet/getnetgrent.c: Likewise. Adjust calls to __nss_lookup. - * inet/gethstbyad_r.c (DB_LOOKUP_FCT): Change to __nss_hosts_lookup2. - * inet/gethstbynm2_r.c (DB_LOOKUP_FCT): Likewise. - * inet/gethstbynm_r.c (DB_LOOKUP_FCT): Likewise. - * inet/gethstent_r.c (DB_LOOKUP_FCT): Likewise. - - * nscd/aicache.c (addhstaiX): Fix default TTL handling. - - * inet/getnetgrent_r.c (setup): Encrypt static pointer. - -2007-10-28 Ulrich Drepper - - [BZ #5204] - * crypt/sha256c-test.c: Define TIMEOUT to 6 for ancient hardware. - * crypt/sha512c-test.c: Likewise. - - [BZ #5225] - * stdio-common/vfscanf.c (_IO_vfwscanf): Don't misuse wp pointer - to keep track of end of %[ format string element. - * stdio-common/Makefile (tests): Add bug20. - * stdio-common/bug20.c: New file. - - [BZ #5222] - * elf/dl-load.c (_dl_rtld_di_serinfo): Correct handling of short - path elements in counting mode. - -2007-10-27 Andreas Jaeger - - [BZ #5040] - * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLRDHUP): Add value. - - [BZ #3112] - * sysdeps/ia64/backtrace.c (init): Free shared library if incorrect. - (__cleanup): Free shared library when exiting. - * sysdeps/i386/backtrace.c (init): Free shared library if incorrect. - (__cleanup): Free shared library when exiting. - -2006-04-14 H.J. Lu - - [BZ #2549] - * math/libm-test.inc (check_float_internal): Support - denormalized return. - -2007-10-23 Andreas Jaeger - - [BZ #5208] - * sysdeps/unix/sysv/linux/readahead.c (__readahead): Use - __LONG_LONG_PAIR to handle little endian byte order. - Suggested by abhishekrai@google.com - -2007-10-27 Ulrich Drepper - - * malloc/arena.c [!NO_THREADS]: Use ATFORK_MEM if defined. - -2007-10-26 Ulrich Drepper - - * nscd/cache.c (prune_cache): Move test for modified file outside - of locking. - -2007-10-21 Andreas Jaeger - - * manual/texinfo.tex: Update to latest version. - - * manual/sysinfo.texi (System Parameters): Fix Formatting. - - * manual/arith.texi (Status bit operations): Fix formatting. - - * manual/errno.texi (Error Messages): Fix formatting. - - * manual/sysinfo.texi (System Parameters): Fix formatting. - - * manual/libc.texinfo: Update VERSION and UPDATED. - -2007-10-19 Roland McGrath - - * elf/Makefile ($(objpfx)ld.so): Use $(AWK). - -2007-10-06 David S. Miller - - * configure.in: Add sparcv9v2 and sparc64v2. - * scripts/config.sub: Likewise. - * configure: Regenerate. - * elf/elf.h (HWCAP_SPARC_N2): New. - * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Bump to 8. - * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add 'v9v2'. - (HWCAP_IMPORTANT): Add HWCAP_SPARC_N2. - * sysdeps/sparc/sparc32/sparcv9/sparcv9v2/memcpy.S: New file. - * sysdeps/sparc/sparc32/sparcv9/sparcv9v2/memset.S: New file. - * sysdeps/sparc/sparc64/sparcv9v2/memcpy.S: New file. - * sysdeps/sparc/sparc64/sparcv9v2/memset.S: New file. - -2007-10-18 Ulrich Drepper - - * sunrpc/clnt_udp.c (clntudp_call): Don't block in recvfrom call - even if the poll result indicates there is data to read. - Patch by Jeff Moyer . - -2007-10-18 Roland McGrath - - * elf/elf.h (NT_PPC_VMX): New macro. - -2007-10-17 Ulrich Drepper - - * version.h (VERSION): Set to 2.7.90. - -2007-10-17 Jakub Jelinek - - * sysdeps/x86_64/memset.S (bzero): Renamed to __bzero. Add - weak_alias. - -2007-10-17 Roland McGrath - - * sysdeps/mach/hurd/bits/fcntl.h [__USE_GNU__] (F_DUPFD_CLOEXEC): New. - * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Implement it. - -2007-10-17 Ulrich Drepper - - * version.h (VERSION): Bump to 2.7. - * include/features.h (__GLIBC_MINOR__): Bump to 7. - - [BZ #5186] - * time/tzset.c (__tz_convert): Don't force testing for a change of - TZ if not called from localtime. But then also see whether the - file changed, in case __use_tzfile is set. - - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define F_DUPFD_CLOEXEC. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. - -2007-10-17 Jakub Jelinek - - * sysdeps/posix/getaddrinfo.c (getaddrinfo): When sorting addresses - and admin selects to be able to replace the gai.conf file, lock - data structures around the qsort call. - -2007-10-17 Ulrich Drepper - - * sysdeps/x86_64/cacheinfo.c: Comment out code added in support of - new memset. - * sysdeps/x86_64/memset.S: Revert to old version for now. The cost is - too high for the improvements. Implement bzero unconditionally for - use in libc. - -2007-10-17 Ulrich Drepper - Jakub Jelinek - - * time/tzfile.c (__tzfile_read): Read POSIX TZ string if available - even when time_t is 32-bit. - (__tzfile_compute): Override POSIX TZ string STD/DST zone names if - timezone data read by __tzfile_default. Ensure __tzname[0] is - always set after the search. - -2007-10-16 Ulrich Drepper - - * time/tzfile.c (__tzfile_read): Help the compiler recognize - unreachable code on 32-bit machines. - -2007-10-16 Jakub Jelinek - - [BZ #5184] - * time/strftime_l.c: Include stdbool.h. - (my_strftime): New wrapper, old function renamed to... - (__strftime_internal): ... new function. Add tzset_called - argument, pass it down to recursive calls, don't call tzset () - if already true, set to true after call to tzset (). - -2007-10-16 Ulrich Drepper - - * time/tzfile.c (__tzfile_read): Take extra memory requested by caller - into account when copying TZ string. - -2007-10-16 Jakub Jelinek - - * time/tzfile.c (__tzfile_compute): For use_last case set i to - num_transition rather than num_transitions - 1. - -2007-10-16 Jakub Jelinek - - * sysdeps/x86_64/memset.S (memset): Fix sse2_nt_move - PIC indirect jump. - - * sysdeps/x86_64/memset.S: Jump from bzero to memset using - a local label rather than HIDDEN_JUMPTARGET. - -2007-10-15 Ulrich Drepper - - * sysdeps/x86_64/cacheinfo.c (__x86_64_shared_cache_size): Define. - (init_cacheinfo): Initialize it. - * sysdeps/x86_64/memset.S: Use __x86_64_shared_cache_size. - Always define bzero. - Remove non-glibc code. - * sysdeps/x86_64/bzero.S: Make an empty file. - -2007-10-15 H.J. Lu - - * sysdeps/x86_64/cacheinfo.c - (__x86_64_preferred_memory_instruction): New. - (init_cacheinfo): Initialize __x86_64_preferred_memory_instruction. - - * sysdeps/x86_64/memset.S: Rewrite. - -2007-10-15 Roland McGrath - - * po/libc.pot: Regenerated. - -2007-10-15 Ulrich Drepper - - * nss/getXXbyYY_r.c (REENTRANT_NAME): Mangle startp and start_fct - pointers. - - [BZ #3425] - * resolv/nss_dns/dns-host.c (getanswer_r): Fail with - NSS_STATUS_NOTFOUND if the server replied with only a CNAME and no - address record to T_A/T_AAAA requests. - -2007-10-14 Ulrich Drepper - - * posix/glob.c: Reimplement link_exists_p to use fstatat64. - - * posix/glob.c: Add some branch prediction throughout. - - * nscd/nscd_getgr_r.c (nscd_getgr_r): Store result of successful - read from nscd. - - * sysdeps/posix/getaddrinfo.c (struct sort_result): Add - service_order. - (rfc3484_sort): Make sure that even if qsort doesn't support - stable sorting out sorting here is stable by comparing service_order. - (getaddrinfo): Initialize service_order. - * posix/tst-rfc3484.c (do_test): Adjust for addition of - service_order field to sorting structure. - * posix/tst-rfc3484-2.c (do_test): Likewise. - - * include/time.h: Declare __tzset_parse_tz and __tzset_compute. - * time/tzset.c (tzset_internal): Break TZ string parsing out into - __tzset_parse_tz and updating of daylight, timezone, tzname into - update_vars. - (__tz_compute): Renamed from tz_compute. Take additional parameters. - (__tz_convert): Updating of tm_isdst, tm_zone, and tm_gmtoff now - happens in __tz_compute. - * time/tzfile.c (__tzfile_read): Also read TZ string. - (find_transition): Fold into __tzfile_compute. - (__tzfile_compute): For times beyond the last transition try to - use the TZ string. - * timezone/tst-timezone.c: Information in daylight and tzname does - change for Asia/Tokyo timezone with more concrete information. - Remove the test. - - * include/stdio.h: Add libc_hidden_proto for ftello. - * libio/ftello.c: Add libc_hidden_def. - - [BZ #1140] - * time/tzfile.c (__tzfile_compute): Compute tzname[] values based - on the specified time and not the last entries in the file. Move - code to determine tzname[] to... - (find_transition): ...here. Add ugly guess for times before the - first transition. - -2007-10-13 Ulrich Drepper - - [BZ #3195] - * nscd/nscd_getai.c (__nscd_getai): Set errno to 0 in case we found - no entry. - * nscd/nscd_getgr.c (nscd_getgr_r): Likewise. - * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise. - * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise. - * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise. - - * nscd/nscd_getgr_r.c (nscd_getgr_r): Optimize a bit: use simpler - read mechanism when there are no group members and avoid no-op - read syscall in this case. - - [BZ #3242] - * nscd/nscd_helper.c (wait_on_socket): Take timeout as parameter. - (__readall): If reading failed due to EAGAIN error wait a bit - and possibly try again. - (__readvall): Likewise. - -2007-10-13 Bruno Haible - - * intl/dcigettext.c (_nl_find_msg): Unlock the conversions_lock - when we cannot recode the message. - -2007-10-13 Ulrich Drepper - - [BZ #4359] - * libio/__freading.c (__freading): Don't return true for - write-only streams. For read/write streams, check whether we - performed a read operation already. - * libio/Makefile (tests): Add tst-ext2. - * libio/tst-ext2.c: New file. - -2007-10-12 Ulrich Drepper - - * locale/programs/repertoire.c (repertoire_read): Always free - memory for repertoire file name [Coverity CID 270]. - - * elf/cache.c (save_aux_cache): Free memory allocated for - temporary file name [Coverity CID 267]. - -2007-10-12 Jakub Jelinek - - * misc/Makefile (headers): Add bits/error.h. - -2007-10-12 Ulrich Drepper - - * posix/fnmatch_loop.c: Take rule index returned as part of - findidx return value into account when accessing weights. - * posix/regcomp.c: Likewise. - * posix/regexec.c: Likewise. - - * locale/programs/ld-collate.c (collate_read): Optimize a bit. - (skip_to): Fix problems with parameter of elifdef/elifndef. - -2007-10-11 Ulrich Drepper - - * iconv/gconv_simple.c: Add some branch prediction. - -2007-10-12 Jakub Jelinek - - * locale/programs/ld-collate.c (collate_read): If ignore_content - and nowtok is tok_define, eat any tok_eol tokens. - -2007-10-11 Jakub Jelinek - - * sysdeps/gnu/netinet/tcp.h: Include sys/socket.h if __USE_MISC. - (struct tcp_md5sig): Change tcpm_addr type to struct sockaddr_storage. - - * inet/netinet/in.h: Don't include bits/socket.h. - * sysdeps/unix/sysv/linux/bits/socket.h: Only check _SYS_SOCKET_H - macro. - * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Likewise. - -2007-10-10 Ulrich Drepper - - * locale/programs/locfile-token.h: Remove tok_elif, add tok_elifdef - and tok_elifndef. - * locale/programs/locfile-kw.gperf: Likewise. - * locale/programs/ld-collate.c: Implement primitive preprocessor. - -2007-10-10 Jakub Jelinek - - * stdio-common/printf-parse.h: Include string.h and wchar.h. - (__find_specwc): Change into __extern_always_inline function. - (__find_specmb): Likewise. Remove ps argument. Use __strchrnul. - (__parse_one_specmb): Remove ps argument. - * stdio-common/vfprintf.c (vfprintf): Remove mbstate variable. - Adjust __find_specmb and __parse_one_specmb callers. - * stdio-common/printf-prs.c (parse_printf_format): Likewise. - * stdio-common/printf-parsemb.c (__find_specwc, __find_specmb): - Removed. - (__parse_one_specmb): Remove ps argument, adjust __find_specmb - caller. - -2007-10-09 Ulrich Drepper - - * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Work around problem - with some Pentium Ds. - -2007-10-08 Ulrich Drepper - - * sysdeps/unix/sysv/linux/eventfd_read.c (eventfd_read): Use - __read not read. - * sysdeps/unix/sysv/linux/eventfd_write.c (eventfd_write): Use - __write not write. - -2007-10-07 Ulrich Drepper - - [BZ #181] - * locale/C-time.c: Set week_1stday data to 19971201. - * locale/programs/ld-time.c (time_finish): Default for - first_workday is Monday. - - [BZ #2633] - * wcsmbs/wchar.h: Move many C99 functions into std namespace. - - [BZ #5103] - * posix/glob.c (glob): Recognize patterns starting \/. - * posix/tst-gnuglob.c (find_file): Handle absolute path names. - (main): Add test for pattern starting \/. - - * misc/error.h: Use __const instead of const. - * misc/bits/error.h: Likewise. - -2007-10-07 Andreas Jaeger - - * include/bits/error.h: New file. - - * misc/bits/error.h (error_at_line): Fix prototype. - -2007-10-06 Ulrich Drepper - - [BZ #3924] - * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix a few - more little bugs in creating the stack frame when pltexit has to - be called. - - * nscd/nscd_helper.c (__nscd_cache_search): Prevent endless loops. - * nscd/connections.c (verify_persistent_db): Recognize circular lists. - - [BZ #4407] - * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Fix *signgamp for -0.0. - * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise. - * math/libm-test.inc: Add test for this case. - - [BZ #5010] - * sunrpc/svc.c (struct svc_callout): Add sc_mapped element. - (svc_register): Initialize sc_mapped. Set to TRUE if call to - map service succeeded. - (svc_is_mapped): New function. - (svc_unregister): Use it before trying to unmap service. - -2007-10-05 Ulrich Drepper - - * timezone/zic.c: Update from tzcode2007h. - - [BZ #5063] - * timezone/africa: Update from tzdata2007h. - * timezone/antarctica: Likewise. - * timezone/asia: Likewise. - * timezone/australasia: Likewise. - * timezone/europe: Likewise. - * timezone/leapseconds: Likewise. - * timezone/northamerica: Likewise. - * timezone/southamerica: Likewise. - * timzeone/zone.tab: Likewise. - - [BZ #5104] - * elf/do-lookup.h (do_lookup_x): Don't ignore STT_COMMON symbols. - - [BZ #5113] - * string/bits/string2.h (__strdup): Cast parameters to calloc to - avoid warning with -Wconversion. - (__strndup): Likewise. - Half the patch by Christian Iseli . - - [BZ #5112] - * nscd/connections.c (restart): Don't resync if database is - disabled. Patch mostly by Brian De Wolf . - - * sysdeps/gnu/netinet/tcp.h: Define TCP_MD5SIG, TCP_MD5SIG_MAXKEYLEN, - struct tcp_md5sig. Extend struct tcp_info according to recent kernels. - - * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add eventfd, - evetnfd_read, eventfd_write. - * sysdeps/unix/sysv/linux/eventfd.c: New file. - * sysdeps/unix/sysv/linux/eventfd_read.c: New file. - * sysdeps/unix/sysv/linux/eventfd_write.c: New file. - * sysdeps/unix/sysv/linux/sys/eventfd.h: New file. - * sysdeps/unix/sysv/linux/Versions: Export eventfd, eventfd_read, - eventfd_write for GLIBC_2.7. - - * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add signalfd. - * sysdeps/unix/sysv/linux/signalfd.c: New file. - * sysdeps/unix/sysv/linux/sys/signalfd.h: New file. - * sysdeps/unix/sysv/linux/Versions: Export signalfd for GLIBC_2.7. - -2007-10-04 Jakub Jelinek - - * stdlib/msort.c: Include stdint.h. - (struct msort_param): New type. - (msort_with_tmp): Use struct msort_param pointer for unchanging - parameters. Add optimized handling for several common sizes - and indirect sorting mode. - (qsort): Adjust msort_with_tmp callers. For big S use indirect - sorting. - Suggested by Belazougui Djamel . - - * stdlib/Makefile (tests): Add tst-qsort2. - * stdlib/tst-qsort2.c: New test. - -2007-10-04 Ulrich Drepper - - * login/login_tty.c (login_tty): The Linux kernel can return EBUSY - for dup2 in case another thread races with the current one. Retry - in this case. - - * misc/error.h: Remove support for use outside of libc. We have to - include now. Include if possible. - * misc/bits/error.h: New file. - -2007-10-03 Jakub Jelinek - - * string/bits/string3.h (memcpy, memmove, mempcpy, memset, bcopy, - bzero, strcpy, stpcpy, strncpy, strcat, strncat): Use - __extern_always_inline functions unconditionally, drop macros. - - * misc/sys/cdefs.h (__REDIRECT_LDBL, __REDIRECT_NTH_LDBL): New macros. - * wcsmbs/bits/wchar2.h (__swprintf_alias, __vswprintf_alias): Use - __REDIRECT_NTH_LDBL macro rather than __REDIRECT_NTH. - - * misc/sys/cdefs.h (__extern_always_inline): For GCC 4.3+ - add __artificial__ attribute. - -2007-10-02 Ulrich Drepper - - * string/strcoll_l.c (STRCOLL): Correct handling of switching from - backward to forward direction. - - * string/strcoll_l.c (STRCOLL): Correct test for alloca use. - - [BZ #645] - * locale/programs/ld-collate.c (collate_finish): Compare against last - used section which is known to have rules defined. - (collate_read): After order_start, correctly record order of sections - and queue sections up. - -2007-10-01 Ulrich Drepper - - [BZ #5071] - * malloc/malloc.c (mremap_chunk): Avoid resizing of new block has - the same number of pages. - Patch by Tomash Brechko . - - * locale/programs/ld-collate.c (collate_read): After initial copy - statement, continue in state 0. - - * include/stdio_ext.h (__fsetlocking): Define as macro. - -2007-09-30 Ulrich Drepper - - * locale/programs/ld-collate.c (collate_finish): Compare all bytes - of section order. - - * po/pt_BR.po: Fix typo. - -2007-09-29 Ulrich Drepper - - * iconvdata/Makefile (modules): Add ISO8859-9E. - (distribute): Add iso8859-9e.c. - (gen-8bit-gap-modules): Add iso8859-9e. - * iconvdata/iso8859-9e.c: New file. - * iconvdata/gconv-modules: Add entries for ISO-8859-9E. - * iconvdata/TESTS: Likewise. - * iconvdata/tst-tables.sh: Likewise. - - * iconvdata/koi8-r.c (HAS_HOLES): Define to 0. - - * locale/iso-639.def: Add several new entries. - -2007-09-24 Jakub Jelinek - - * sysdeps/generic/ldsodefs.h (struct dl_scope_free_list): Store - void * pointers instead of struct link_map **. - (_dl_scope_free): Change argument type to void *. - * include/link.h (struct link_map): Change type of l_reldeps - to struct link_map_reldeps, move l_reldepsact into that - struct too. - * elf/dl-deps.c: Include atomic.h. - (_dl_map_object_deps): Only change l->l_initfini when it is - fully populated, use _dl_scope_free for freeing it. Optimize - removal of libs from reldeps by using l_reserved flag, when - some removal is needed, allocate a new list instead of - reallocating and free the old with _dl_scope_free. Adjust - for l_reldeps and l_reldepsact changes. - * elf/dl-lookup.c (add_dependency): Likewise. Reorganize to allow - searching in l_initfini and l_reldeps without holding dl_load_lock. - * elf/dl-fini.c (_dl_sort_fini): Adjust for l_reldeps and - l_reldepsact changes. - * elf/dl-close.c (_dl_close_worker): Likewise. - * elf/dl-open.c (_dl_scope_free): Change argument type to void *. - -2007-09-28 Ulrich Drepper - - * iconvdata/Makefile (modules): Add KOI8-RU. - (distribute): Add koi8-ru.c. - (gen-8bit-gap-modules): Add koi8-ru. - * iconvdata/koi8-ru.c: New file. - * iconvdata/gconv-modules: Add entries for KOI8-RU. - * iconvdata/TESTS: Likewise. - * iconvdata/tst-tables.sh: Likewise. - - * iconvdata/koi8-r.c (HAS_HOLES): Define to 0. - -2007-09-26 Jakub Jelinek - - * misc/sys/cdefs.h (__warndecl, __errordecl): For GCC 4.3+ define - with __warning__/__error__ attributes. - (__warnattr): Define. - * stdlib/bits/stdlib.h (__realpath_chk_warn, __ptsname_r_chk_warn, - __mbstowcs_chk_warn, __wcstombs_chk_warn): New aliases with - __warnattr. - (realpath, ptsname_r, mbstowcs, wcstombs): Call __*_chk_warn instead - of __*_chk if compile time detectable overflow is found. - * libio/bits/stdio2.h (__fgets_chk_warn, __fread_chk_warn, - __fgets_unlocked_chk_warn, __fread_unlocked_chk_warn): New aliases - with __warnattr. - (fgets, fread, fgets_unlocked, fread_unlocked): Call __*_chk_warn - instead of __*_chk if compile time detectable overflow is found. - (__gets_alias): Rename to... - (__gets_warn): ... this. Add __warnattr. - (gets): Call __gets_warn instead of __gets_alias. - * socket/bits/socket2.h (__recv_chk_warn, __recvfrom_chk_warn): New - aliases with __warnattr. - (recv, recvfrom): Call __*_chk_warn instead of __*_chk if compile - time detectable overflow is found. - * posix/bits/unistd.h (__read_chk_warn, __pread_chk_warn, - __pread64_chk_warn, __readlink_chk_warn, __readlinkat_chk_warn, - __getcwd_chk_warn, __confstr_chk_warn, __getgroups_chk_warn, - __ttyname_r_chk_warn, __getlogin_r_chk_warn, __gethostname_chk_warn, - __getdomainname_chk_warn): New aliases with __warnattr. - (read, pread, pread64, readlink, readlinkat, getcwd, confstr, - getgroups, ttyname_r, getlogin_r, gethostname, getdomainname): Call - __*_chk_warn instead of __*_chk if compile time detectable overflow - is found. - (__getgroups_chk): Rename argument to __listlen from listlen. - (__getwd_alias): Rename to... - (__getwd_warn): ... this. Add __warnattr. - (getwd): Call __getwd_warn instead of __getwd_alias. - * wcsmbs/bits/wchar2.h (__wmemcpy_chk_warn, __wmemmove_chk_warn, - __wmempcpy_chk_warn, __wmemset_chk_warn, __wcsncpy_chk_warn, - __wcpncpy_chk_warn, __fgetws_chk_warn, __fgetws_unlocked_chk_warn, - __mbsrtowcs_chk_warn, __wcsrtombs_chk_warn, __mbsnrtowcs_chk_warn, - __wcsnrtombs_chk_warn): New aliases with __warnattr. - (wmemcpy, wmemmove, wmempcpy, wmemset, mbsrtowcs, wcsrtombs, - mbsnrtowcs, wcsnrtombs): Call __*_chk_warn instead of __*_chk if - compile time detectable overflow is found. - (wcsncpy, wcpncpy): Likewise. For constant __n fix check whether - to use __*_chk or not. - (fgetws, fgetws_unlocked): Divide __bos by sizeof (wchar_t), both - in comparisons which function should be called and in __*_chk* - arguments. Call __*_chk_warn instead of __*_chk if compile time - detectable overflow is found. - (swprintf, vswprintf): Divide __bos by sizeof (wchar_t) in - __*_chk argument. - * debug/tst-chk1.c (do_test): Add a few more tests. - -2007-09-24 Ulrich Drepper - - [BZ #5058] - * intl/gettextP.h (struct loaded_domain): Add conversions_lock member. - * intl/loadmsgcat.c (_nl_load_domain): Initialize conversions_lock. - (_nl_unload_domain): Finalize conversions_lock. - * intl/dcigettext.c (_nl_find_msg): Take conversions_lock before - handling table of known conversions. - -2007-09-24 Jakub Jelinek - - * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use - close_not_cancel_no_status instead of close. - -2007-09-13 Aurelien Jarno - - [BZ #5028] - * posix/regcomp.c (lookup_collation_sequence_value): Check that - nrules != 0 for multibyte chars. - -2007-09-23 Ulrich Drepper - - * resolv/ns_print.c (ns_sprintrrf): Handle ns_t_a6 and ns_t_opt. - Provide better error message in case the type is unknown. - - [BZ #4963] - * wcsmbs/wcsnlen.c: Don't reference before checking the length. - * string/stratcliff.c: Make usable to test wide char functions. - * wcsmbs/wcsatcliff.c: New file. - * wcsmbs/Makefiel (tests): Add wcsatcliff. - - [BZ #4972] - * iconvdata/Makefile (modules): Add MAC-CENTRALEUROPE. - (distribute): Add mac-centraleurope.c. - (gen-8bit-gap-modules): Add mac-centraleurope. - * iconvdata/mac-centraleurope.c: New file. - * iconvdata/gconv-modules: Add entries for MAC-CENTRALEUROPE. - * iconvdata/TESTS: Likewise. - * iconvdata/tst-tables.sh: Likewise. - - [BZ #5043] - * iconv/iconv_open.c (iconv_open): For large codeset names use malloc. - -2007-09-21 Ulrich Drepper - - * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size_half): Renamed - from __x86_64_core_cache_size_half. - (init_cacheinfo): Compute shared cache size for AMD processors with - shared L3 correctly. - * sysdeps/x86_64/memcpy.S: Adjust for __x86_64_data_cache_size_half - name change. - Patch in large parts by Evandro Menezes. - -2007-09-19 Ulrich Drepper - - * elf/dl-lookup.c (add_dependency): Handle failing memory - allocation for dependency list. Remove unnecessary check. - - * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid unnecessary - open/close when determining source addresses. - - * crypt/Makefile (libcrypt-routines): Add sha256-crypt, sha256, - sha512-crypt, and sha512. - (tests): Add sha256test, sha256c-test, sha512test, and sha512c-test. - (distribute): Add sha256.h and sha512.h. - * crypt/crypt-entry.c (crypt): Recognize the new $5$ and $6$ prefixes - and call the appropriate code. - * crypt/sha256-crypt.c: New file. - * crypt/sha256.c: New file. - * crypt/sha256.h: New file. - * crypt/sha256c-test.c: New file. - * crypt/sha256test.c: New file. - * crypt/sha512-crypt.c: New file. - * crypt/sha512.c: New file. - * crypt/sha512.h: New file. - * crypt/sha512c-test.c: New file. - * crypt/sha512test.c: New file. - -2007-09-19 Jakub Jelinek - - * misc/bits/syslog.h (syslog): Remove extraneous argument from - the inline, pass __USE_FORTIFY_LEVEL - 1 as second argument to - __syslog_chk. - -2007-09-18 Jakub Jelinek - - * locale/programs/charmap-dir.c (charmap_aliases): Use %ms instead of - %as in fscanf format strings. - - * sysdeps/sparc/sparc32/elf/start.S: Remove cfi_* markup. - * sysdeps/sparc/sparc64/elf/start.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start): - Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start): - Likewise. - - * sysdeps/generic/ldsodefs.h (DL_LOOKUP_GSCOPE_LOCK): New definition. - * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Or in - DL_LOOKUP_GSCOPE_LOCK into flags after THREAD_GSCOPE_SET_FLAG (). - * elf/dl-sym.c (do_sym): Likewise. - * include/link.h (struct link_map): Add l_serial field. - * elf/dl-object.c (_dl_new_object): Initialize l_serial. - * elf/dl-lookup.c (add_dependency): Add flags argument. - Remember map->l_serial, if DL_LOOKUP_GSCOPE_LOCK is among - flags, use THREAD_GSCOPE_RESET_FLAG before and - THREAD_GSCOPE_SET_FLAG after - __rtld_lock_lock_recursive (GL(dl_load_lock)) to avoid deadlock. - Don't dereference map until it has been found on some list. - If map->l_serial changed, return -1. - -2007-09-17 Jakub Jelinek - - * include/stdio.h (__isoc99_fscanf, __isoc99_scanf, - __isoc99_sscanf, __isoc99_vscanf): New prototypes. - (__isoc99_vsscanf, __isoc99_vfscanf): New prototypes, add - libc_hidden_proto. - * include/wchar.h (__isoc99_fwscanf, __isoc99_wscanf, - __isoc99_swscanf, __isoc99_vwscanf): New prototypes. - (__isoc99_vswscanf, __isoc99_vfwscanf): New prototypes, - add libc_hidden_proto. - * libio/stdio.h (fscanf, scanf, sscanf, vfscanf, vscanf, - vsscanf): Redirect to __isoc99_* if strict ISO C99 or POSIX - conformance requested. - * wcsmbs/wchar.h (fwscanf, wscanf, swscanf, vfwscanf, vwscanf, - vswscanf): Redirect to __isoc99_* if strict ISO C99 or POSIX - conformance requested. - * libio/bits/stdio-ldbl.h (fscanf, scanf, sscanf, vfscanf, vscanf, - vsscanf): Redirect to __nldbl___isoc99_* if strict ISO C99 or POSIX - conformance requested. - * wcsmbs/bits/wchar-ldbl.h (fwscanf, wscanf, swscanf, vfwscanf, - vwscanf, vswscanf): Redirect to __nldbl___isoc99_* if strict - ISO C99 or POSIX conformance requested. - * stdio-common/Versions (libc): Export __isoc99_scanf@@GLIBC_2.7, - __isoc99_vscanf@@GLIBC_2.7, __isoc99_fscanf@@GLIBC_2.7, - __isoc99_vfscanf@@GLIBC_2.7, __isoc99_sscanf@@GLIBC_2.7 - and __isoc99_vsscanf@@GLIBC_2.7. - * stdio-common/Makefile (routines): Add isoc99_scanf, isoc99_vscanf, - isoc99_fscanf, isoc99_vfscanf, isoc99_sscanf and isoc99_vsscanf. - (tests): Add scanf14. - (CFLAGS-vfprintf.c, CFLAGS-fprintf.c, CFLAGS-printf.c, - CFLAGS-vfwprintf.c, CFLAGS-vfscanf.c, CFLAGS-vfwscanf.c, - CFLAGS-fscanf.c, CFLAGS-scanf.c, CFLAGS-isoc99_vfscanf.c, - CFLAGS-isoc99_vscanf.c, CFLAGS-isoc99_fscanf.c, - CFLAGS-isoc99_scanf.c): Add $(exceptions). - (CFLAGS-scanf15.c): Add various -I paths to prevent the compiler - from using internal headers. - * wcsmbs/Versions (libc): Export __isoc99_wscanf@@GLIBC_2.7, - __isoc99_vwscanf@@GLIBC_2.7, __isoc99_fwscanf@@GLIBC_2.7, - __isoc99_vfwscanf@@GLIBC_2.7, __isoc99_swscanf@@GLIBC_2.7 - and __isoc99_vswscanf@@GLIBC_2.7. - * wcsmbs/Makefile (routines): Add isoc99_wscanf, isoc99_vwscanf, - isoc99_fwscanf, isoc99_vfwscanf, isoc99_swscanf and isoc99_vswscanf. - (CFLAGS-isoc99_wscanf.c, CFLAGS-isoc99_fwscanf.c, - CFLAGS-isoc99_vwscanf.c, CFLAGS-isoc99_vfwscanf.c): Add $(exceptions). - (CPPFLAGS): Add -D_IO_MTSAFE_IO if needed. - * stdio-common/isoc99_scanf.c: New file. - * stdio-common/isoc99_vsscanf.c: New file. - * stdio-common/isoc99_vscanf.c: New file. - * stdio-common/isoc99_vfscanf.c: New file. - * stdio-common/isoc99_fscanf.c: New file. - * stdio-common/isoc99_sscanf.c: New file. - * wcsmbs/isoc99_fwscanf.c: New file. - * wcsmbs/isoc99_vswscanf.c: New file. - * wcsmbs/isoc99_swscanf.c: New file. - * wcsmbs/isoc99_wscanf.c: New file. - * wcsmbs/isoc99_vwscanf.c: New file. - * wcsmbs/isoc99_vfwscanf.c: New file. - * libio/libio.h (_IO_FLAGS2_SCANF_STD): Define. - * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct): Also - clear _IO_FLAGS2_SCANF_STD bit from _flags2. - * stdio-common/vfscanf.c (_IO_vfscanf_internal): Don't - handle %as, %aS and %a[ if _IO_FLAGS2_SCANF_STD is set in _flags2. - * stdio-common/scanf14.c: New test. - * stdio-common/scanf15.c: New test. - * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add - isoc99_scanf, isoc99_fscanf, isoc99_sscanf, - isoc99_vscanf, isoc99_vfscanf, isoc99_vsscanf, - isoc99_wscanf, isoc99_fwscanf, isoc99_swscanf, - isoc99_vwscanf, isoc99_vfwscanf and isoc99_vswscanf. - * sysdeps/ieee754/ldbl-opt/Versions (libc): Export - __nldbl___isoc99_scanf@@GLIBC_2.7, - __nldbl___isoc99_fscanf@@GLIBC_2.7, - __nldbl___isoc99_sscanf@@GLIBC_2.7, - __nldbl___isoc99_vscanf@@GLIBC_2.7, - __nldbl___isoc99_vfscanf@@GLIBC_2.7, - __nldbl___isoc99_vsscanf@@GLIBC_2.7, - __nldbl___isoc99_wscanf@@GLIBC_2.7, - __nldbl___isoc99_fwscanf@@GLIBC_2.7, - __nldbl___isoc99_swscanf@@GLIBC_2.7, - __nldbl___isoc99_vwscanf@@GLIBC_2.7, - __nldbl___isoc99_vfwscanf@@GLIBC_2.7 - and __nldbl___isoc99_vswscanf@@GLIBC_2.7. - * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__isoc99_scanf, - __isoc99_fscanf, __isoc99_sscanf, __isoc99_vscanf, - __isoc99_vfscanf, __isoc99_vsscanf, __isoc99_wscanf, - __isoc99_fwscanf, __isoc99_swscanf, __isoc99_vwscanf, - __isoc99_vfwscanf, __isoc99_vswscanf): Add NLDBL_DECL. - * sysdeps/ieee754/ldbl-opt/nldbl-compat.c - (__nldbl___isoc99_scanf, __nldbl___isoc99_fscanf, - __nldbl___isoc99_sscanf, __nldbl___isoc99_vscanf, - __nldbl___isoc99_vfscanf, __nldbl___isoc99_vsscanf, - __nldbl___isoc99_wscanf, __nldbl___isoc99_fwscanf, - __nldbl___isoc99_swscanf, __nldbl___isoc99_vwscanf, - __nldbl___isoc99_vfwscanf, __nldbl___isoc99_vswscanf): New - functions. - * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vfscanf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_swscanf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vwscanf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_wscanf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_scanf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_sscanf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vsscanf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_fwscanf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vfwscanf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vswscanf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vscanf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_fscanf.c: New file. - - * stdio-common/Makefile (tests): Add scanf13. - (scanf13-ENV): New. - * stdio-common/vfscanf.c (_IO_vfscanf_internal): Handle - m modifier followed by l. - (STRING_ARG): Add width argument. - (_IO_vfscanf_internal) : Handle %mc. - : Handle %mlc and %mC. - : Adjust STRING_ARG - arguments. - * stdio-common/scanf13.c: New test. - - * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct): Clear - the _IO_FLAGS2_FORTIFY bit from _flags2 rather than _flags. - -2007-09-18 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Correct return value - type and __THROW marker of splice, vmsplice, and tee. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/syscalls.list: Mark splice, vmsplice, and tee - as cancellation points. - -2003-11-01 Daniel Jacobowitz - - * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion): Don't - parse more than three parts of the version number. - -2007-09-15 Ulrich Drepper - - * stdio-common/vfscanf.c (_IO_vfwscanf): Add support for 'm' - modifier. Patch by Jakub Jelinek. - -2007-08-26 Jakub Jelinek - - * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_routines): Add - call_fallocate in misc subdir. - * sysdeps/unix/sysv/linux/i386/call_fallocate.S: New file. - * sysdeps/unix/sysv/linux/i386/syscalls.list (fallocate64): Remove. - * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Use __call_fallocate - instead of __fallocate64. - * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise. - -2007-09-15 Jakub Jelinek - - * rt/Versions (librt): Export __mq_open_2@@GLIBC_2.7. - * rt/Makefile (headers): Add bits/mqueue2.h. - * rt/mqueue.h: Include bits/mqueue2.h if -D_FORTIFY_SOURCE=2, - optimizing with GCC and __va_arg_pack_len is defined. - * rt/bits/mqueue2.h: New file. - * rt/mq_open.c (__mq_open): Renamed from mq_open. - (mq_open): New strong_alias. - (__mq_open_2): New function. - * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Renamed from mq_open. - (mq_open): New strong_alias. - (__mq_open_2): New function. - * debug/Versions (libc): Export __fortify_fail@@GLIBC_PRIVATE. - * Versions.def (librt): Add GLIBC_2.7 version. - * debug/fortify_fail.c (__fortify_fail): Add libc_hidden_def. - * include/stdio.h (__fortify_fail): Add libc_hidden_proto. - - * misc/sys/cdefs.h (__errordecl, __va_arg_pack_len): Define. - * io/fcntl.h: Include bits/fcntl2.h when __va_arg_pack_len - is defined rather than when not C++. - * io/bits/fcntl2.h (__open_alias, __open64_alias, __openat_alias, - __openat64_alias): New redirects. - (__open_too_many_args, __open_missing_mode, __open64_too_many_args, - __open64_missing_mode, __openat_too_many_args, __openat_missing_mode, - __openat64_too_many_args, __openat64_missing_mode): New __errordecls. - (open, open64, openat, openat64): Rewrite as __extern_always_inline - functions instead of function-like macros. - -2007-09-14 H.J. Lu - - * sysdeps/i386/i586/memcpy.S (__memcpy_chk): New definition. - * sysdeps/i386/i586/mempcpy.S (__memcpy_chk): New definition. - * sysdeps/i386/i586/memset.S (__memset_chk): New definition. - -2007-09-15 Mike Frysinger - - * inet/inet_net.c: Reset digit to 0 for inputs starting with "0x". - * inet/tst-network.c (tests): Add edge case tests for "0", "0x", "0x0". - -2007-09-14 Mike Frysinger - - * inet/tst-network.c: Increment ERRORS for failing tests. - -2007-09-07 Jakub Jelinek - - * misc/sys/cdefs.h (__va_arg_pack): Define for GCC 4.3+. - * misc/bits/syslog.h (syslog): When __va_arg_pack is defined, - implement as __extern_always_inline function. - (vsyslog): Define as __extern_always_inline function unconditionally. - * libio/bits/stdio2.h (sprintf, snprintf, printf, fprintf): - When __va_arg_pack is defined, implement as __extern_always_inline - functions. - (vsprintf, vsnprintf, vprintf, vfprintf): Define as - __extern_always_inline functions unconditionally. - * libio/bits/stdio.h (vprintf): Ifdef out the inline when - bits/stdio2.h will be included. - * wcsmbs/bits/wchar2.h (__swprintf_alias): New redirect. - (swprintf, wprintf, fwprintf): When __va_arg_pack is defined, - implement as __extern_always_inline functions. - (vswprintf, vwprintf, vfwprintf): Define as - __extern_always_inline functions unconditionally. - * debug/tst-chk1.c (do_test): Enable remaining tests for C++. - -2007-09-03 Jakub Jelinek - - * misc/sys/cdefs.h (__extern_inline, __extern_always_inline): Only - define in C++ for GCC 4.3+, in C++ always use __gnu_inline__ - attribute. - * include/features.h (__USE_EXTERN_INLINES): Define only when - __extern_inline is defined. - * stdlib/stdlib.h: Include bits/stdlib.h when __extern_always_inline - is defined instead of when not __cplusplus. - * misc/sys/syslog.h: Include bits/syslog.h when __extern_always_inline - is defined instead of when not __cplusplus. - * socket/sys/socket.h: Include bits/socket2.h when - __extern_always_inline is defined instead of when not __cplusplus. - * libio/stdio.h: Include bits/stdio2.h when __extern_always_inline - is defined instead of when not __cplusplus. - * posix/unistd.h: Include bits/unistd.h when __extern_always_inline - is defined instead of when not __cplusplus. - * string/string.h: Include bits/string3.h when __extern_always_inline - is defined instead of when not __cplusplus. - * wcsmbs/wchar.h: Include bits/wchar2.h when __extern_always_inline - is defined instead of when not __cplusplus. - (btowc, wctob): Don't guard the inlines with ifndef __cplusplus. - * io/fcntl.h: Don't include bits/fcntl2.h if __extern_always_inline - is not defined. - * misc/bits/syslog-ldbl.h: Guard *_chk stuff with - defined __extern_always_inline instead of !defined __cplusplus. - * libio/bits/stdio-ldbl.h: Likewise. - * wcsmbs/bits/wchar-ldbl.h: Likewise. - * misc/bits/syslog.h (syslog): Don't define for C++. - (vsyslog): Use __extern_always_inline function for C++ instead of - a macro. - * libio/bits/stdio.h (__STDIO_INLINE): Define to __extern_inline - whenever that macro is defined. - (vprintf): Don't provide the inline for C++. - (fread_unlocked, fwrite_unlocked): Don't define the macros for C++. - * libio/bits/stdio2.h (sprintf, snprintf, printf, fprintf): Don't - define the macros for C++. - (vsprintf, vsnprintf, vprintf, vfprintf): Define as - __extern_always_inline functions for C++. - * io/sys/stat.h (stat, lstat, fstat, fstatat, mknod, mknodat, - stat64, lstat64, fstat64, fstatat64): Don't define if not - __USE_EXTERN_INLINES. - * wcsmbs/bits/wchar2.h: Fix #error message. - (swprintf, wprintf, fwprintf): Don't define the macros for C++. - (vswprintf, vwprintf, vfwprintf): Define using - __extern_always_inline functions for C++. - * string/bits/string3.h: Don't #undef macros if __cplusplus. - (memcpy, memmove, mempcpy, memset, bcopy, bzero, strcpy, stpcpy, - strncpy, strcat, strncat): Define as __extern_always_inline - functions instead of macros for C++. - * math/bits/cmathcalls.h: Guard __extern_inline routines with - defined __extern_inline. - * sysdeps/alpha/fpu/bits/mathinline.h (__MATH_INLINE): Define - to __extern_inline whenever that macro is defined. - * sysdeps/ia64/fpu/bits/mathinline.h (__MATH_INLINE): Likewise. - * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Likewise. - * sysdeps/i386/i486/bits/string.h (__STRING_INLINE): Likewise. - * sysdeps/s390/bits/string.h (__STRING_INLINE): Likewise. - * sysdeps/s390/fpu/bits/mathinline.h (__MATH_INLINE): Likewise. - * sysdeps/powerpc/fpu/bits/mathinline.h (__MATH_INLINE): Likewise. - * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Likewise. - * sysdeps/sparc/fpu/bits/mathinline.h (__MATH_INLINE): Likewise. - * sysdeps/unix/sysv/linux/sys/sysmacros.h (gnu_dev_major, - gnu_dev_minor, gnu_dev_makedev): Remove __extern_inline from - prototypes. Only provide __extern_inline routines if - __USE_EXTERN_INLINES. - * debug/Makefile: Add rules to build and run tst-{,lfs}chk{4,5,6} - tests. - * debug/tst-chk1.c (do_prepare, do_test): Allow compilation as C++. - For now avoid some *printf tests in C++. Skip all testing - if __USE_FORTIFY_LEVEL is defined, but __extern_always_inline macro - is not. - * debug/tst-chk4.cc: New file. - * debug/tst-chk5.cc: New file. - * debug/tst-chk6.cc: New file. - * debug/tst-lfschk4.cc: New file. - * debug/tst-lfschk5.cc: New file. - * debug/tst-lfschk6.cc: New file. - * include/wchar.h (__vfwprintf_chk, __vswprintf_chk): Avoid - prototypes in C++. - * include/stdio.h (__sprintf_chk, __snprintf_chk, __vsprintf_chk, - __vsnprintf_chk, __printf_chk, __fprintf_chk, __vprintf_chk, - __vfprintf_chk, __fgets_unlocked_chk, __fgets_chk): Likewise. - -2007-09-13 Ulrich Drepper - - * po/cs.po: Update from translation team. - -2007-09-11 Roland McGrath - - * posix/Makefile ($(objpfx)getconf.speclist): Make it empty if cross - compiling. - -2007-09-07 Samuel Thibault - - * sysdeps/mach/hurd/bits/ioctls.h (TAB3): New macro. - -2007-09-05 Roland McGrath - - * manual/signal.texi (Signaling Another Process): Typo fix. - From Karl Berry . - -2007-08-29 Ulrich Drepper - - * sysdeps/unix/sysv/linux/check_pf.c (IFA_F_OPTIMISTIC): Define to - zero if not defined. - (make_request): Recognize optimistic addresses and treat them like - deprecated addresses. - Reported by Neil Horman . - -2007-08-28 Ulrich Drepper - - * nscd/connections.c (send_ro_fd): Also transfer file size. - * nscd/nscd_helper.c (get_mapping): If nscd also transfers the - file size don't call fstat. - - * nscd/nscd_helper.c (get_mapping): Avoid the pread call, just go - ahead and map the file. This should always be correct and we can - catch problems later. - -2007-08-28 Jakub Jelinek - - * libio/bits/stdio2.h (__fread_chk, __fread_unlocked_chk): New - prototypes. - (__fread_alias, __fread_unlocked_alias): New aliases. - (fread): New extern inline. - (fread_unlocked): Likewise. Undef macro before definition of - the inline function. - * debug/Makefile (routines): Add fread_chk and fread_u_chk. - (CFLAGS-fread_chk.c, CFLAGS-fread_u_chk.c): Add. - * debug/Versions (libc): Export __fread_chk@@GLIBC_2.7 - and __fread_unlocked_chk@@GLIBC_2.7. - * debug/fread_chk.c: New file. - * debug/fread_u_chk.c: New file. - * debug/tst-chk1.c (do_test): Add fread and fread_unlocked tests. - -2007-08-27 Jakub Jelinek - - * sysdeps/unix/sysv/linux/syscalls.list - (personality): Change caller to EXTRA. - -2007-08-25 Ulrich Drepper - - * iconvdata/iso-2022-kr.c (BODY): Fake initialization of array buf - to keep gcc quiet. - * iconvdata/iso-2022-cn.c (BODY): Likewise. - - * locale/programs/ld-collate.c (collate_output): Avoid warning if - NDEBUG is defined. - - * Makerules: Use -p option with mkdir. - - * sunrpc/key_prot.c (xdr_unixcred): Work around gcc alias warning. - * nis/nis_xdr.c (_xdr_nis_server): Likewise. - (_xdr_directory_obj): Likewise. - (xdr_entry_obj): Likewise. - (xdr_group_obj): Likewise. - (xdr_link_obj): Likewise. - (xdr_table_obj): Likewise. - (_xdr_nis_result): Likewise. - (_xdr_ns_request): Likewise. - (_xdr_ib_request): Likewise. - (_xdr_nis_taglist): Likewise. - (xdr_cback_data): Likewise. - * nis/yp_xdr.c (xdr_ypmaplist): Likewise. - (xdr_ypresp_maplist): Likewise. - - * stdio-common/Makefile: Avoid format string warning for tst-sprint. - - * posix/regex_internal.h: Prevent some declarations and definitions - to be seen when used in tests. - - * posix/tst-rfc3484.c (__idna_to_unicode_lzlz): Initialize *OUTPUT. - * posix/tst-rfc3484-2.c (__idna_to_unicode_lzlz): Likewise. - - * debug/Makefile: Disable format checking when compiling tst-chk?.c. - - * config.make.in (datarootdir): Add to shut up configure. - - * sysdeps/x86_64/cacheinfo.c (handle_amd): Fix computation of - associativity for fully-associative caches. - - * sysdeps/x86_64/cacheinfo.c (handle_amd): Handle L3 cache - requests. Fill on more associativity values for L2. - Patch mostly by Evandro Menezes. - -2007-08-24 Ulrich Drepper - - * sysdeps/unix/sysv/linux/x86_64/init-first.c - (_libc_vdso_platform_setup): Avoid using exported variable by using - alias. - - * resolv/arpa/nameser.h (NS_OPT_DNSSEC_OK): Define. - - * sysdeps/unix/sysv/linux/i386/syscalls.list: No reason to mark - fallocate64 as EXTRA. It is not referenced if the symbol isn't - defined. - -2007-08-23 Ulrich Drepper - - * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Correctly - align stack for call if pltexit is to be used. - - [BZ #3924] - * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Correctly - align for function call in case pltexit has to be called later. - - * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Avoid - implicit atomic operation when storing function pointer. - (_dl_runtime_profile): Likewise. - -2007-08-17 Jakub Jelinek - - * nis/nis_table.c (nis_list): Don't fail if __follow_path returned - NIS_NOTFOUND. - -2007-08-21 Ulrich Drepper - - [BZ #4566] - * string/strtok.c: Fix typo in comment. - - [BZ #4582] - * debug/segfault.c: Fix typos in comments. - - [BZ #4588] - * stdio-common/tempnam.c: Fix comment, it is not checked that - TMPDIR points to a writable directory. - - [BZ #4726] - * resolv/res_send.c (__libc_res_nsend): Initialize all of the - memory allocated for the name server address. - - [BZ #4946] - * nscd/connections.c (handle_request): Using sendfile always - requires that mmap is used for the database. - Patch by Petr Baudis . - - [BZ #4905] - * nscd/hstcache.c (cache_addhst): When reloading an entry which - suddenly has two or more addresses, ignore it and remove the old - entry. - - [BZ #4814] - * resolv/res_hconf.c: Prepare for compiling outside libc. - * nscd/res_hconf.c: New file. - * nscd/Makefile (nscd-modules): Add res_hconf. Add rules to build - the new file. - * nscd/gethstbynm2_r.c (NEED__RES_HCONF): Define. - * nscd/gethstbyad_r.c (NEED__RES_HCONF): Likewise. - - * nscd/hstcache.c (cache_addhst): Minimal optimization. - - [BZ #4925] - * debug/pcprofiledump.c: Turn on internationalization by calling - setlocale. Patch mostly by Benno Schulenberg. - - [BZ #4936] - * iconv/gconv.c (__gconv): If flush was successful, clear rest of - the state. - * iconvdata/Makefile: Add rules to build and run bug-iconv5. - * iconvdata/bug-iconv5.c: New file. - -2007-08-04 Carlos O'Donell - - [BZ #4896] - * elf/elf.h: Define R_PARISC_PLABEL21L, R_PARISC_PLABEL14R, - R_PARISC_GNU_VTENTRY, R_PARISC_GNU_VTINHERIT, R_PARISC_TLS_GD21L, - R_PARISC_TLS_GD14R, R_PARISC_TLS_GDCALL, R_PARISC_TLS_LDM21L, - R_PARISC_TLS_LDM14R, R_PARISC_TLS_LDMCALL, R_PARISC_TLS_LDO21L, - R_PARISC_TLS_LDO14R, R_PARISC_TLS_DTPMOD32, R_PARISC_TLS_DTPMOD64, - R_PARISC_TLS_DTPOFF32, R_PARISC_TLS_DTPOFF64, R_PARISC_TLS_LE21L, - R_PARISC_TLS_LE14R, R_PARISC_TLS_IE21L, R_PARISC_TLS_IE14R, - R_PARISC_TLS_TPREL32, R_PARISC_TLS_TPREL64. - -2007-08-21 Ulrich Drepper - - [BZ #4937] - * elf/do-lookup.h (do_lookup_x): Minimal improvement in hash - lookup loop. Suggested by John Reiser. - -2007-08-21 Jakub Jelinek - - * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include tls.h. - -2007-08-20 Ulrich Drepper - - * csu/libc-start.c: Don't handle VDSO_SETUP here. - * sysdeps/unix/sysv/linux/init-first.c: Handle it here instead. - * sysdeps/unix/sysv/linux/x86_64/libc-start.c: Renamed to... - * sysdeps/unix/sysv/linux/x86_64/init-first.c: ...this. New file. - * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Move VDSO_SETUP code - to... - * sysdeps/unix/sysv/linux/x86_64/init-first.c: ...here. New file. - -2007-08-18 Ulrich Drepper - - * po/nl.po: Update from translation team. - -2007-08-16 Andreas Jaeger - - * locale/localeinfo.h: Make _nl_category_name_idxs extern. - Reported by Peter Festner . - -2007-08-17 Jakub Jelinek - - * login/tst-grantpt.c (test_einval): Add 3rd argument to open. - -2007-08-16 Jakub Jelinek - - * elf/Makefile ($(objpfx)ld.so): Use readelf -s and awk instead of nm -u - to check for undefined symbols. - - * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): - If the syscall fails, set errno to the actual returned error number - rather than EINVAL. - * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): If - arguments are incorrect, set errno to EINVAL, if the syscall - fails, set errno to the actual returned error number. - - * stdlib/bits/stdlib-ldbl.h (__strtold_internal): Remove. - * wcsmbs/bits/wchar-ldbl.h (__wcstold_internal): Remove. - - * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: Moved to... - * sysdeps/sparc/sparc32/sparcv9/sparcv9b/memcpy.S: ... here. New - file. - (ASI_PNF, ASI_BLK_P): Don't define. - * sysdeps/sparc/sparc32/sparcv9v/memcpy.S: Moved to... - * sysdeps/sparc/sparc32/sparcv9/sparcv9v/memcpy.S: ... here. New - file. - * sysdeps/sparc/sparc32/sparcv9v/memset.S: Moved to... - * sysdeps/sparc/sparc32/sparcv9/sparcv9v/memset.S: ... here. New - file. - -2007-08-15 Jakub Jelinek - - * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Fix raising - FE_UNDERFLOW on Niagara CPUs. - - * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear all - exceptions. - -2007-08-14 Jakub Jelinek - - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup): No - need to check GLRO(dl_hwcap) & HWCAP_SPARC_FLUSH on sparcv9. - (sparc_fixup_plt): Add do_flush argument instead of figuring whether - flush should be used or not inside of the function. - (elf_machine_fixup_plt, elf_machine_rela): Adjust caller. - - * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone, - __thread_start): Use HIDDEN_JUMPTARGET. - * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone, - __thread_start): Likewise. - * sysdeps/unix/sysv/linux/sparc/sysdep.h (JUMPTARGET): Define. - - * sysdeps/ieee754/ldbl-64-128/strtold_l.c (__STRTOF): Declare. - Add libc_hidden_proto. - (STRTOF): Add libc_hidden_proto. - (___new_strtold_l, ___new_wcstold_l): New weak aliases. - (strtold_l, wcstold_l): Use them as second argument for - long_double_symbol. - -2007-08-14 Ulrich Drepper - - * elf/dl-misc.c: Undo last change. The kernel won't allow it. - -2007-08-13 Kaz Kojima - - * stdlib/strtold_l.c: Include wchar.h if needed. Add libc_hidden_def. - -2007-08-14 Ulrich Drepper - - * po/bg.po: New file. From the translation team. - -2007-08-13 Jakub Jelinek - - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PSELECT, - __ASSUME_PPOLL, __ASSUME_ATFCTS, __ASSUME_SET_ROBUST_LIST, - __ASSUME_UTIMENSAT, __ASSUME_FALLOCATE): Update per-arch conditions - when each feature was introduced. - - * sysdeps/unix/sysv/linux/dl-vdso.c: Don't include dl-hash.h. - * sysdeps/unix/sysv/linux/dl-vdso.h: Don't include dl-hash.h if NDEBUG. - (CHECK_HASH): New macro. - (PREPARE_VERSION): Use it. - - * sysdeps/unix/sysv/linux/pselect.c (__generic_pselect): Only provide - prototype if not __ASSUME_PSELECT. - * sysdeps/unix/sysv/linux/ppoll.c (__generic_ppoll): Only provide - prototype if not __ASSUME_PPOLL. - - * sysdeps/unix/sysv/linux/dl-osinfo.h (ROUND): #undef after use. - - * sysdeps/unix/clock_settime.c (freq, __pthread_clock_settime, - hp_timing_settime): Don't define or declare if HANDLED_CPUTIME - is defined. - -2007-08-13 Ulrich Drepper - - * sysdeps/unix/sysv/linux/x86_64/libc-start.c - (_libc_vdso_platform_setup): If vDSO is not available point - __vdso_gettimeofday to the vsyscall. - * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S [SHARED]: Use - __vdso_gettimeofday instead of vsyscall. - -2007-08-13 Jakub Jelinek - - * nscd/servicescache.c: Include kernel-features.h. - * nscd/gai.c: Likewise. - * sysdeps/unix/sysv/linux/statfs64.c: Likewise. - * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise. - * sysdeps/unix/sysv/linux/fxstatat.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise. - * sysdeps/unix/sysv/linux/xstatconv.c: Likewise. - * sysdeps/unix/sysv/linux/if_index.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Likewise. - * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise. - -2007-08-12 Ulrich Drepper - - * elf/dl-dst.h: No need for _dl_dst_count, _dl_dst_substitute, - and _dl_get_origin defines anymore. - - * sysdeps/unix/sysv/linux/clock_gettime.c (maybe_syscall_gettime_cpu): - Build fix for systems which might lack POSIX timer support. - - * sysdeps/unix/sysv/linux/x86_64/libc-start.c - (_libc_vdso_platform_setup): Mangle function pointers before storing - them. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL): - Demangle vdso pointer before use. - (INTERNAL_VSYSCALL): Likewise. - - * elf/cache.c (primes): Mark as const. - Noted by Roland McGrath. - -2007-08-01 Andreas Jaeger - Jakub Jelinek - - * elf/ldconfig.c (opt_ignore_aux_cache): Add new option. - (options): Add option. - (parse_opt): Handle option. - (manual_link): Adjust process_file caller. Call implicit_soname. - (search_dir): Formatting. Use and populate auxiliary cache. - (main): Load and save auxiliary cache. - * elf/readlib.c (process_file): Add stat_buf argument. Pass struct - stat64 from fstat64 to caller. - (implicit_soname): New function. - * elf/readelflib.c (process_elf_file): If DT_SONAME is not present, - leave *soname as NULL. - * elf/cache.c: Include libgen.h. - (print_entry, print_cache, compare, save_cache, add_to_cache): - Formatting and cleanups. - (aux_cache_entry_id, aux_cache_entry, aux_cache_file_entry, - aux_cache_file): New structures. - (AUX_CACHEMAGIC): Define. - (primes): New array. - (aux_hash_size, aux_hash): New variables. - (aux_cache_entry_id_hash, nextprime, init_aux_cache, - search_aux_cache, insert_to_aux_cache, add_to_aux_cache, - load_aux_cache, save_aux_cache): New functions. - * sysdeps/generic/ldconfig.h (_PATH_LDCONFIG_AUX_CACHE): Define. - (init_aux_cache, search_aux_cache, add_to_aux_cache, - load_aux_cache, save_aux_cache, implicit_soname): New prototypes. - (process_file): Adjust prototype. - -2007-08-12 Jakub Jelinek - - * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Include stddef.h - with __need_size_t. - -2007-08-12 Ulrich Drepper - - * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Expect - r_found_version structure as second parameter. - * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Define. - (_dl_vdso_vsym): Change type of second parameter accordingly. - * sysdeps/unix/sysv/linux/x86-64/libc-start.c - (_libc_vdso_platform_setup): Adjust. - * sysdeps/unix/sysv/linux/powerpc/libc-start.c - (_libc_vdso_platform_setup): Likewise. - - * sysdeps/unix/sysv/linux/powerpc/dl-vdso.c: Move to... - * sysdeps/unix/sysv/linux/dl-vdso.c: ...here. - * sysdeps/unix/sysv/linux/powerpc/dl-vdso.h: Move to... - * sysdeps/unix/sysv/linux/dl-vdso.h: ...here. - * csu/libc-start.c: Pretty printing. - Use VDSO_SETUP if defined. - * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Define VDSO_SETUP - and let generic code call into _libc_vdso_platform_setup. - * sysdeps/unix/sysv/linux/x86_64/libc-start.c: New file. - * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: New file. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Pretty printing. - Define INLINE_VSYSCALL and INTERNAL_VSYSCALL. - * sysdeps/unix/sysv/linux/x86_64/Versions: Export __vdso_clock_gettime - for GLIBC_PRIVATE. - * sysdeps/unix/sysv/linux/x86_64/Makefile [subdir=elf] - (sysdep_rountines): Add dl-vdso. - - * sysdeps/unix/sysv/linux/powerpc/Makefile: Use sysdep_routines instead - of routines. - - * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add - attribute_hidden to __vdso_gettimeofday prototype. - -2007-08-12 Roland McGrath - - * manual/stdio.texi (Variable Arguments Output): Fix xref to gcc manual. - From: Karl Berry . - -2007-08-11 Ulrich Drepper - - * elf/dl-misc.c (_dl_sysdep_read_whole_file): We really don't need - an atime update for the files we read. - -2007-08-10 Ulrich Drepper - - * shadow/lckpwdf.c (__lckpwdf): Use O_CLOEXEC if possible. - - * nscd/connections.c: Use O_CLOEXEC if possible. Use mkostemp - instead of mkstemp. - - * misc/Makefile (routines): Add mkostemp and mkostemp64. - * misc/Versions: Export mkostemp and mkostemp64 for GLIBC_2.7. - * misc/mkostemp.c: New file. - * misc/mkostemp64.c: New file. - * stdlib/stdlib.h: Declare the new functions. - * sysdeps/posix/tempname.c: Add new parameter which is added to - the flags for open. Remove __GT_BIGFILE handling. - * stdio-common/tempname.c: Likewise. - * include/stdio.h: Adjust __gen_tempname prototype. - Renumber __GT_* constants. - * libio/oldtmpfile.c: Adjust for __gen_tempname interface change. - * misc/mkdtemp.c: Likewise. - * misc/mkstemp.c: Likewise. - * misc/mkstemp64.c: Likewise. - * misc/mktemp.c: Likewise. - * stdio-common/tempnam.c: Likewise. - * stdio-common/tmpfile.c: Likewise. - * stdio-common/tmpfile64.c: Likewise. - * stdio-common/tmpnam.c: Likewise. - * stdio-common/tmpnam_r.c: Likewise. - -2007-08-10 Roland McGrath - - * sysdeps/mach/hurd/bits/ioctls.h (NLDLY, TABDLY, BSDLY, VTDLY): - New macros. - (NLDELAY, CRDELAY, TBDELAY, BSDELAY, VTDELAY): Define to those. - Reported by Samuel Thibault . - -2007-08-10 Ulrich Drepper - - * nss/nss_files/files-XXX.c (internal_setent): Use O_CLOEXEC if - possible. - * nss/nss_files/files-alias.c (internal_setent): Likewise. - * nss/Makefile (libnss_files-routines): Add files-have_o_cloexec. - * nss/nss_files/files-have_o_cloexec.c: New file. - - * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Use O_CLOEXEC if - available. - -2007-08-10 Jakub Jelinek - - * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (___new_strtold_l, - ___new_wcstold_l): New weak aliases. - (strtold_l, wcstold_l): Use them as second argument for - long_double_symbol. - -2007-08-09 Ulrich Drepper - - * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Use correct - register in test for error. - - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_CLOEXEC): Define. - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_CLOEXEC): Likewise. - - * po/sv.po: Update from translation team. - -2007-08-06 Roland McGrath - - * include/stdlib.h: Add libc_hidden_proto for strto*, __strto*_l. - Remove __strto*_l inlines. - * include/wchar.h: Add libc_hidden_proto for wcsto*, __wcsto*_l. - * stdlib/strtod.c: Add libc_hidden_def. - * stdlib/strtod_l.c: Likewise. - * stdlib/strtold.c [__LONG_DOUBLE_MATH_OPTIONAL]: Add libc_hidden_proto - for __new_strtold and __new_wcstold. - * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Add libc_hidden_proto for - __STRTOF, STRTOF. - * stdlib/strtol.c: Add libc_hidden_def. - * stdlib/strtol_l.c: Likewise. - * sysdeps/wordsize-64/strtol.c: Add libc_hidden_ver for strtoll and - strtoq. - - * scripts/data/localplt-powerpc-linux-gnu.data: New file. - - * scripts/data/localplt-x86_64-linux-gnu.data: File renamed to ... - * scripts/data/localplt-generic.data: ... here. - * elf/Makefile (check-data): Get generic file if no other. - ($(objpfx)check-localplt.out): Make target unconditional. - - * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion): - Use ElfW(Nhdr). - -2007-08-05 Ulrich Drepper - - * po/zh_CN.po: Updated translation from translation team. - -2007-08-05 Jakub Jelinek - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S (__socket): - Don't use CGOTSETUP and CGOTRESTORE macros. - -2007-08-04 Roland McGrath - - * posix/Makefile ($(objpfx)getconf.speclist): Fix typo. - -2007-08-04 Jakub Jelinek - - * io/bits/fcntl2.h (open, open64, openat, openat64): Add - __extension__ around the whole statement expression. - -2007-08-04 Ulrich Drepper - - * sysdeps/unix/opendir.c (__alloc_dir): Correct order of DIR - elements during initialization. - - * po/pl.po: Updated translation from translation team. - * po/tr.po: Likewise. - * po/nl.po: Likewise. - -2007-08-03 Ulrich Drepper - - * rt/aio.h: Add __nonnull attributes. - -2007-08-03 Jakub Jelinek - - * stdlib/strtod_l.c (____STRTOF_INTERNAL): Properly handle -0. - * stdlib/Makefile (tests): Add tst-strtod5. - (tst-strtod5-ENV): New. - * stdlib/tst-strtod5.c: New file. - - * intl/dcigettext.c (_nl_find_msg): Free encoding if __gconv_open - failed. - * intl/finddomain.c (_nl_find_domain): Free normalized_codeset - on failure. - - * elf/dl-load.c (decompose_rpath): Free copy if result couldn't be - allocated. - -2007-08-03 Jakub Jelinek - - * rt/mqueue.h (mq_timedreceive, mq_timedsend): Fix nonnull argument - numbers. - -2007-08-02 Ulrich Drepper - - * io/Makefile (aux): Add have_o_cloexec. - * include/fcntl.h: Declare __have_o_cloexec. - * io/have_o_cloexec.c: New file. - * sysdeps/unix/opendir.c (__opendir): Use O_CLOEXEC is available. - (__alloc_dir): If O_CLOEXEC has been used, don't duplicate the - fcntl call if not necessary. - * login/utmp_file.c (setutent_file): Use __have_o_cloexec instead - of local variable. - - * sysdeps/unix/opendir.c (__alloc_dir): Don't initialize ->data. - Avoid memset, add explicit initialization. - * sysdeps/unix/dirstream.h (struct __dirstream): Move data elemtn - to the end and change into zero-sized array. - Move lock member to fill a hole on 64-bit platforms. - - * stdlib/stdlib.h: Remove __strto*_internal prototypes and strto* - inline functions. - * include/stdlib.h: Add __strto*_internal prototypes here. - * wcsmbs/wchar.h: Remove __wcsto*_internal prototypes and wcsto* - inline functions. - * include/wchar.h: Add __wcsto*_internal prototypes. - * sysdeps/generic/inttypes.h: No need to protect the declaration - of the __strto*_internal and __wcsto*_internal members here. - - * rt/mqueue.h: Change const to __const and add nonnull attributes. - -2007-08-02 Roland McGrath - - * posix/Makefile ($(inst_libexecdir)/getconf): Make hard links to - $(inst_bindir)/getconf if possible. - - * posix/Makefile ($(objpfx)getconf.speclist): New target. - (generated): Add it. - ($(inst_libexecdir)/getconf): Use it. - -2007-08-01 Ulrich Drepper - - * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Using - /proc is faster and sufficient. /sys is still needed for - __get_nprocs_conf. - -2007-08-01 Jakub Jelinek - - * sysdeps/unix/sysv/linux/i386/syscalls.list (fallocate): Add fallocate - syscall as __fallocate64. - * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: New file. - * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: New file. - -2007-07-30 Jakub Jelinek - - * stdlib/tst-strtod2.c (do_test): Use %tu in fmt string for ptrdiff_t - value. - - * stdio-common/tst-fmemopen2.c (do_test): Avoid fmt string warning - if off_t is different rank from size_t. - - * sysdeps/generic/unwind-dw2.c (extract_cie_info, execute_cfa_program, - uw_frame_state_for): Avoid type punning warnings. - * sysdeps/generic/unwind-dw2-fde-glibc.c - (_Unwind_IteratePhdrCallback): Likewise. - * sysdeps/generic/unwind-dw2-fde.c (_Unwind_Find_FDE): Likewise. - (binary_search_single_encoding_fdes, binary_search_mixed_encoding_fdes, - get_cie_encoding, linear_search_fdes): Don't mix char and unsigned char - pointers. - -2007-07-31 Ulrich Drepper - - * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs_conf): Count - total processors using sysfs. - (__get_nprocs): Use sysfs to determine which processors are online. - -2007-07-31 Jakub Jelinek - - * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Fix - syscall arguments count. - - * stdio-common/tfformat.c (sprint_doubles): Add 12 new tests. - -2007-07-30 Roland McGrath - - * manual/libc.texinfo: Update copyrights, formatting magic, and - @dircategory. From Karl Berry . - -2007-07-29 Ulrich Drepper - - [BZ #4860] - * io/Makefile (headers): Add bits/fcntl2.h. - - * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_ZERO_S): Optimize - using gcc builtin. - (__CPU_EQUAL_S): Likewise. - - * posix/Makefile (routines): Add sched_cpualloc and sched_cpufree. - (tests): Add tst-cpuset. - * posix/sched_cpualloc.c: New file. - * posix/sched_cpufree.c: New file. - * posix/tst-cpuset.c: New file. - * posix/Versions: Export __sched_cpualloc and __sched_cpufree for - GLIBC_2.7. - * sysdeps/unix/sysv/linux/bits/sched.h: Define __CPU_*_S macros. - * posix/sched.h: Define old CPU_* macros in temers of __CPU_*_S - macros. Define CPU_*_S macros. - -2007-07-28 Ulrich Drepper - - * posix/getconf.c (vars): Add missing _SC_LEVEL4_CACHE_LINESIZE - entry. - - [BZ #4858] - * stdio-common/printf_fp.c (___printf_fp): Fix special case of - #.0g and value rounded to 1.0. - * stdio-common/tfformat.c (sprint_doubles): Add two new tests. - -2007-07-26 Jakub Jelinek - - * locale/programs/ld-monetary.c (monetary_finish): Avoid range check - for int_frac_digits and frac_digits. - - * login/logout.c (logout): Avoid aliasing violation. - * login/logwtmp.c (logwtmp): Likewise. - - * libio/genops.c (_IO_un_link): Avoid aliasing violation. - - * nscd/selinux.c (preserve_capabilities): Initialize new_caps - to avoid warning. - * iconv/gconv_open.c (__gconv_open): Initialize ptr to avoid - warning. - * nis/nis_subr.c (nis_getnames): Initialize saveptr to avoid - warning. - * resolv/inet_ntop.c (inet_ntop6): Initialize best.len and cur.len - to avoid warnings. - - * nss/nsswitch.c (__nss_lookup_function): Don't cast &ni->known to - void **. - * nss/nsswitch.h (service_user): Use void * type for KNOWN field. - - * nss/nss_files/files-hosts.c (LINE_PARSER): Cast host_addr to - char * to avoid warning. - * nis/nss_nis/nis-hosts.c (LINE_PARSER): Likewise. - - * timezone/Makefile (CFLAGS-zdump.c): Add -fwrapv. - - * locale/programs/ld-ctype.c (ctype_finish, set_class_defaults, - allocate_arrays): Cast second argument to charmap_find_symbol - to char * to avoid warnings. - - * locale/programs/repertoire.c (repertoire_new_char): Change - from_nr, to_nr and cnt to unsigned long, adjust printf format - string. - - * locale/programs/ld-collate.c (insert_value, handle_ellipsis): - Cast second argument to new_element to char * to avoid warnings. - - * locale/weightwc.h (findidx): Cast &extra[-i] to const int32_t *. - - * intl/gettextP.h (struct loaded_domain): Change plural to const - struct expression *. - * intl/plural-eval.c (plural_eval): Change first argument to - const struct expression *. - * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Change first - argument to const struct expression **. - * intl/plural-exp.h (EXTRACT_PLURAL_EXPRESSION, plural_eval): Adjust - prototypes. - * intl/loadmsgcat (_nl_unload_domain): Cast away const - in call to __gettext_free_exp. - - * posix/fnmatch.c (fnmatch): Rearrange code to avoid maybe - unitialized wstring/wpattern var warnings. - - * posix/runtests.c (struct a_test): Make data field const char *. - - * stdio-common/tst-sprintf2.c (main): Don't declere u, v and buf - vars if not LDBL_MANT_DIG >= 106. - - * stdio-common/Makefile (CFLAGS-vfwprintf.c): Add -Wno-unitialized. - - * stdio-common/vfprintf.c (vfprintf): Cast first arugment to - __find_specmb to avoid warning. - - * rt/tst-mqueue1.c (do_one_test): Add casts to avoid warnings. - - * debug/test-strcpy_chk.c (do_tests, do_random_tests): Add casts - to avoid warnings. - - * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Add L suffix to - initializer. - - * sysdeps/unix/clock_gettime.c (clock_gettime): Only define - tv var when it will be actually used. - - * sunrpc/rpc_cmsg.c (xdr_callmsg): Cast IXDR_PUT_* to void - to avoid warnings. - - * iconvdata/gbk.c (BODY): Make buf and cp char instead of unsigned - char array resp. pointer. - * iconvdata/iso-2022-kr.c (BODY): Make buf unsigned char instead of - char array. - * iconvdata/cns11643.h (cns11643_to_ucs4): Change first argument - to const unsigned char **. - (ucs4_to_cns11643): Change second argument to unsigned char *. - * iconvdata/euc-tw.c (BODY): Change endp type to - const unsigned char *. - * iconvdata/iso-ir-165.h (ucs4_to_isoir165): Change second argument - to unsigned char *. - * iconvdata/ibm1008_420.c (LOOP_NEED_FLAGS): Don't define. - * iconvdata/iso-2022-cn.c (BODY): Change buf to unsigned char array. - * iconvdata/iso-2022-cn-ext.c (BODY): Change buf, tmpbuf, tmp - types to unsigned char pointers/arrays instead of char. - * iconvdata/jis0201.h (ucs4_to_jisx0201): Change second argument - to unsigned char *. - * iconvdata/jis0208.h (ucs4_to_jisx0208): Likewise. - * iconvdata/jis0212.h: Include assert.h. - (ucs4_to_jisx0212): Change second argument to unsigned char *. - assert that if cp[0] is not '\0', cp[1] is not '\0' either instead - of trying to handle that. - * iconvdata/euc-kr.c (euckr_from_ucs4): Initialize also cp[1] to - shut up a warning. - * iconvdata/euc-jp-ms.c (from_ucs4_lat1, from_ucs4_greek, - from_ucs4_cjk, from_ucs4_cjkcpt, from_ucs4_extra): Change type to - two dimensional const unsigned char arrays. - (BODY): Cast "" to (const unsigned char *) for assignment to cp. - Initialize endp to inptr to shut up a warning. - -2007-07-20 Jakub Jelinek - - [BZ #4772] - * time/strptime_l.c (__strptime_internal): Silently ignore - strftime modifiers and field width in recursive calls. - - * include/time.h (enum ptime_locale_status): Remove. - (__strptime_internal): Remove decided and era_cnt arguments, - add statep argument. - * time/strptime_l.c (__strptime_internal): Remove decided - and era_cnt arguments, add statep argument. Don't recompute - any fields in recursive calls, only update caller's tm - and state, if recursive call fails, don't change tm nor - any state. - (get_alt_number): Adjust. - (recursive): Adjust caller. - (strptime): Likewise. - * time/strptime.c (strptime): Likewise. - -2007-07-19 Jakub Jelinek - - * iconv/gconv_int.h (__GCONV_NULCONV): New internal only error code. - * iconv/gconv_cache.c (__gconv_lookup_cache): Return __GCONV_NULCONV - if from and to charsets are the same. - * iconv/gconv_db.c (__gconv_find_transform): Likewise. - * intl/dcigettext.c (_nl_find_msg): Return NULL even if __gconv_open - returns __GCONV_NOCONV, but not for __GCONV_NULCONV. - -2007-07-17 Jakub Jelinek - - * wcsmbs/wchar.h: Only define wint_t if __need_wint_t. - Don't define wint_t when __need_mbstate_t unless it - is necessary. - (__mbstate_t): Use __WINT_TYPE__ rather than wint_t - in the typedef if possible. - * wctype/wctype.h (wint_t): Define by including - wchar.h with __need_wint_t instead of including stddef.h - with __need_wint_t and as fallback definining it ourselves. - * iconv/gconv.h (__need_wint_t): Define before including - wchar.h. - * sysdeps/gnu/_G_config.h: Don't include gconv.h if not _LIBC - or _GLIBCPP_USE_WCHAR_T. - (__need_wchar_t): Don't define - if not _LIBC or _GLIBCPP_USE_WCHAR_T. - (__need_wint_t): Don't define before including stddef.h, - define before including wchar.h only if _LIBC or - _GLIBCPP_USE_WCHAR_T. - (_G_iconv_t): Don't define if not _LIBC or _GLIBCPP_USE_WCHAR_T. - * sysdeps/mach/hurd/_G_config.h: Likewise. - * sysdeps/generic/_G_config.h: Likewise. - * libio/libio.h (__wunderflow, __wuflow, __woverflow): Only - prototype if _LIBC or _GLIBCPP_USE_WCHAR_T. - (_IO_getwc_unlocked, _IO_putwc_unlocked): Only define - if _LIBC or _GLIBCPP_USE_WCHAR_T. - -2007-07-28 Ulrich Drepper - - * sysdeps/posix/posix_fallocate64.c: Undefine - __posix_fallocate64_l64 before alias handling. - * sysdeps/unix/sysv/linux/posix_fallocate.c: New file. - * sysdeps/unix/sysv/linux/posix_fallocate64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: New file. - - * io/tst-posix_fallocate.c: Include . - -2007-07-23 Jakub Jelinek - - * locale/programs/ld-collate.c (atwc): New variable. - (add_to_tablewc): New toplevel function, moved from collate_output. - (collate_output): Remove add_to_tablewc nested function. - - * iconv/iconvconfig.c (hash_table, hash_size): New toplevel vars. - (name_insert): New function. - (write_output): Remove hash_table and hash_size vars and name_insert - nested function. - -2007-07-24 Roland McGrath - - * Makerules (install-others-programs-nosubdir): New target. - (install-no-libc.a-nosubdir): Depend on it. - - * iconv/Makefile (install-others-programs): Set this instead of - install-others. - * login/Makefile (install-others-programs): Likewise. - * posix/Makefile (install-others-programs): Likewise. - - * Makerules (install-no-libc.a-nosubdir): Clean up conditional - dependencies. - -2007-07-23 Ulrich Drepper - - * io/Makefile (tests): Add tst-posix_fallocate. - * io/tst-posix_fallocate.c: New file. - - * sysdeps/unix/sysv/linux/kernel-features.h: Define - __ASSUME_FALLOCATE. - -2007-07-22 Roland McGrath - - * hurd/getdport.c: Add missing copyright year update. - - * sysdeps/mach/hurd/bits/fcntl.h [__USE_GNU] (O_CLOEXEC): New macro. - * hurd/port2fd.c (_hurd_port2fd): Implement O_CLOEXEC. - -2007-07-22 Ulrich Drepper - - * login/utmp_file.c (setutent_file): Use O_CLOEXEC if possible. - - * libio/fileops.c (_IO_new_file_fopen): Recognize 'e' flag and set - O_CLOEXEC is needed. - * nis/nss_compat/compat-grp.c: Use 'e' flag when opening file. - Avoid additional fcntl to set O_CLOEXEC if not needed. - * nis/nss_compat/compat-initgroups.c: Likewise. - * nis/nss_compat/compat-pwd.c: Likewise. - * nis/nss_compat/compat-spwd.c: Likewise. - -2007-07-21 Samuel Thibault - - [BZ #3665] - * manual/errno.texi: Change ECANCELED value to 119. - - [BZ #4610] - * mach/lock-intern.h: Include . - - [BZ #4178] - * sysdeps/mach/hurd/sigaction.c (__sigaction): Check ACT != NULL before - reading A. - - [BZ #4126] - * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Define alias - to __sigsuspend. - - * sysdeps/mach/i386/sysdep.h: Include and . - -2006-06-13 Thomas Schwinge - - * sysdeps/mach/hurd/tls.h: Change `ASSEMBLER' conditional to - `__ASSEMBLER__'. - * sysdeps/mach/hurd/i386/tls.h: Likewise. - -2007-07-21 Ulrich Drepper - - * nscd/nscd_helper.c (get_mapping): Use MSG_CMSG_CLOEXEC for - descriptor received from nscd. - - * sysdeps/unix/sysv/linux/bits/socket.h: Define MSG_CMSG_CLOEXEC. - - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_CLOEXEC. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. - -2007-07-20 Jakub Jelinek - - [BZ #4816] - * manual/signal.texi (Non-atomic Example): Make memory var volatile. - - [BZ #4813] - * login/forkpty.c (forkpty): Close master and slave fds on - fork failure. Patch by - Mikulas Patocka . - -2007-07-18 Jakub Jelinek - - * include/features.h (__USE_ISOC95): New define. - * wcsmbs/wchar.h (fwprintf, fwscanf, wprintf, wscanf, swprintf, - swscanf, vfwprintf, vwprintf, vswprintf, fwide): Define even - for -std=iso9899:199409. - * CONFORMANCE: Remove comments about unsupported AMD1. - -2007-07-17 Jakub Jelinek - - * sysdeps/ia64/sched_cpucount.c: New file. - * sysdeps/powerpc/sched_cpucount.c: New file. - - * sysdeps/unix/sysv/linux/bits/sched.h (__sched_cpucount): Add - __BEGIN_DECLS/__END_DECLS around the prototype. - * bits/sched.h (__sched_cpucount): Likewise. Make second argument - pointer to const cpu_set_t. - - * bits/types.h: Don't include stddef.h, don't define __need_size_t. - * signal/signal.h <__USE_BSD || __USE_XOPEN_EXTENDED>: Define - __need_size_t and include stddef.h. - * sysvipc/sys/msg.h: Likewise. - * posix/sched.h: Likewise. - * hurd/hurd/signal.h (__need_size_t): Define. - - * CONFORMANCE: ctype.h and wctype.h no longer define size_t, - neither does signal.h in pedantic ISO C namespaces. stdio.h - no longer defines wint_t or wchar_t. - - * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct): New function. - * debug/vfwprintf_chk.c (__vfwprintf_chk): Use - _IO_acquire_lock_clear_flags2 instead of _IO_acquire_lock. - * debug/vprintf_chk.c (__vprintf_chk): Likewise. - * debug/vwprintf_chk.c (__vwprintf_chk): Likewise. - * debug/vfprintf_chk.c (__vfprintf_chk): Likewise. - * debug/fwprintf_chk.c (__fwprintf_chk): Likewise. - * debug/printf_chk.c (__printf_chk): Likewise. - * debug/fprintf_chk.c (__fprintf_chk): Likewise. - * debug/wprintf_chk.c (__wprintf_chk): Likewise. - - * sysdeps/pthread/bits/stdio-lock.h (_IO_acquire_lock_clear_flags2): - Define. - - * bits/confname.h (_CS_POSIX_V6_WIDTH_RESTRICTED_ENVS): Define. - * posix/getconf.c (vars): Add POSIX_V6_WIDTH_RESTRICTED_ENVS. - -2007-07-16 Jakub Jelinek - - [BZ #4792] - * stdlib/stdlib.h (realloc): Remove __attribute_malloc__. - * malloc/malloc.h (realloc): Likewise. - - * libio/iopopen.c (_IO_new_proc_open): Don't close child_std_end - if one of proc_file_chain streams has that fileno. - * stdio-common/Makefile (tests): Add tst-popen2. - * stdio-common/tst-popen2.c: New test. - -2007-07-14 Jakub Jelinek - - * elf/ldconfig.c: Allow GPLv2 or any later version. - * elf/readlib.c: Likewise. - * elf/chroot_canon.c: Likewise. - * elf/cache.c: Likewise. - * nscd/mem.c: Likewise. - * nscd/getpwuid_r.c: Likewise. + * nscd/nscd_helper.c (__readall, __readvall): New functions. + * nscd/nscd_getai.c (__nscd_getai): Use them. + * nscd/nscd_getpw_r.c (__nscd_getpw_r): Likewise. + * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise. + * nscd/nscd_gethst_r.c (__nscd_gethst_r): Likewise. + * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise. + +2005-02-22 Roland McGrath + + * include/sys/socket.h: Declare __recv. + * sysdeps/generic/recv.c (recv): Rename to __recv, and add weak alias. + * sysdeps/mach/hurd/recv.c: Likewise. + + * sysdeps/unix/sysv/linux/libc_fatal.c: Include for + __backtrace_* decls. + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h + (INTERNAL_SYSCALL_ERROR_P): Evalute VAL. Parenthesize ERR. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise. + + * include/signal.h: Include for memset decl. + +2005-02-22 Andreas Schwab + + * posix/execvp.c (execvp): Fix invalid free. + +2005-02-22 Jakub Jelinek + + [BZ #1095] + * malloc/Makefile (CFLAGS-mcheck-init.c): Add. + * sunrpc/Makefile: Add $(PIC-ccflag) to CFLAGS-x* for + librpcsvc.a objects. + +2005-02-21 Ulrich Drepper + + [BZ #1107] + * iconvdata/ibm930.h: Correct Yen mapping. + * iconvdata/ibm939.h: Likewise. + * iconvdata/testdata/IBM930..UTF8: Adjust test data. + * iconvdata/testdata/IBM939..UTF8: Likewise. + Patch by Jiro Sekiba . + + * iconvdata/Makefile (modules): Add IBM1025, IBM1122, IBM1137, IBM1153, + IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158. + (distribute): Add ibm1025.c, ibm1025.h, ibm1122.c, ibm1122.h, + ibm1137.c, ibm1137.h, ibm1153.c, ibm1153.h, ibm1154.c, ibm1154.h, + ibm1155.c, ibm1155.h, ibm1156.c, ibm1156.h, ibm1157.c, ibm1157.h, + ibm1158.c, and ibm1158.h. + * iconvdata/TESTS: Add IBM1025, IBM1122, IBM1137, IBM1153, + IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158. + * iconvdata/gconv-modules: Likewise. + * iconvdata/ibm1025.c: New file. + * iconvdata/ibm1025.h: New file. + * iconvdata/ibm1122.c: New file. + * iconvdata/ibm1122.h: New file. + * iconvdata/ibm1137.c: New file. + * iconvdata/ibm1137.h: New file. + * iconvdata/ibm1153.c: New file. + * iconvdata/ibm1153.h: New file. + * iconvdata/ibm1154.c: New file. + * iconvdata/ibm1154.h: New file. + * iconvdata/ibm1155.c: New file. + * iconvdata/ibm1155.h: New file. + * iconvdata/ibm1156.c: New file. + * iconvdata/ibm1156.h: New file. + * iconvdata/ibm1157.c: New file. + * iconvdata/ibm1157.h: New file. + * iconvdata/ibm1158.c: New file. + * iconvdata/ibm1158.h: New file. + * iconvdata/testdata/IBM1025: New file. + * iconvdata/testdata/IBM1025..UTF8: New file. + * iconvdata/testdata/IBM1122: New file. + * iconvdata/testdata/IBM1122..UTF8: New file. + * iconvdata/testdata/IBM1137: New file. + * iconvdata/testdata/IBM1137..UTF8: New file. + * iconvdata/testdata/IBM1153: New file. + * iconvdata/testdata/IBM1153..UTF8: New file. + * iconvdata/testdata/IBM1154: New file. + * iconvdata/testdata/IBM1154..UTF8: New file. + * iconvdata/testdata/IBM1155: New file. + * iconvdata/testdata/IBM1155..UTF8: New file. + * iconvdata/testdata/IBM1156: New file. + * iconvdata/testdata/IBM1156..UTF8: New file. + * iconvdata/testdata/IBM1157: New file. + * iconvdata/testdata/IBM1157..UTF8: New file. + * iconvdata/testdata/IBM1158: New file. + * iconvdata/testdata/IBM1158..UTF8: New file. + Contributed by Jiro Sekiba . + +2005-02-10 Paolo Bonzini + + * posix/regcomp.c (lower_subexp): Do not optimize empty + subexpressions even with REG_NOSUB. + * posix/rxspencer/tests: Add a previously failing testcase. + +2005-02-21 Alan Modra + + [BZ #719] + * elf/dl-reloc.c (_dl_nothread_init_static_tls): Assert that dtv + array index is within bounds. + +2005-02-21 Ulrich Drepper + + [BZ #719] + * elf/dl-load.c: Do not allow PT_TLS in modules loaded in statically + linked code. + * sysdeps/generic/dl-tls.c [!SHARED]: Don't build _dl_next_tls_modid. + * elf/Makefile: Remove rules to build and run tst-tls9-static. + + [BZ #719] + * elf/dl-reloc.c (_dl_nothread_init_static_tls): Avoid using + THREAD_DTV multiple times, this minimally reduces code size on + some archs. + +2005-02-21 Jakub Jelinek + + [BZ #768] + * nscd/nscd_gethst_r.c (nscd_gethst_r): Set *h_errnop to + NETDB_INTERNAL if buffer is too small. + + [BZ #768] + * nscd/hstcache.c (INCR): Remove. + (addhstbyX): Double buflen in each iteration rather than add INCR. * nscd/grpcache.c: Likewise. - * nscd/aicache.c: Likewise. - * nscd/getsrvbynm_r.c: Likewise. - * nscd/nscd.c: Likewise. - * nscd/servicescache.c: Likewise. - * nscd/getsrvbypt_r.c: Likewise. - * nscd/initgrcache.c: Likewise. - * nscd/gethstbyad_r.c: Likewise. - * nscd/gethstbynm2_r.c: Likewise. - * nscd/getgrnam_r.c: Likewise. - * nscd/nscd_setup_thread.c: Likewise. - * nscd/getpwnam_r.c: Likewise. - * nscd/gai.c: Likewise. - * nscd/connections.c: Likewise. - * nscd/dbg_log.c: Likewise. - * nscd/cache.c: Likewise. - * nscd/hstcache.c: Likewise. - * nscd/nscd_conf.c: Likewise. - * nscd/getgrgid_r.c: Likewise. * nscd/pwdcache.c: Likewise. - * catgets/gencat.c: Likewise. - * locale/programs/linereader.h: Likewise. - * locale/programs/locarchive.c: Likewise. - * locale/programs/ld-paper.c: Likewise. - * locale/programs/locfile-kw.h: Likewise. - * locale/programs/ld-address.c: Likewise. - * locale/programs/xmalloc.c: Likewise. - * locale/programs/ld-time.c: Likewise. - * locale/programs/localedef.c: Likewise. - * locale/programs/simple-hash.c: Likewise. - * locale/programs/xstrdup.c: Likewise. - * locale/programs/ld-numeric.c: Likewise. - * locale/programs/locfile-kw.gperf: Likewise. - * locale/programs/ld-collate.c: Likewise. - * locale/programs/charmap-kw.gperf: Likewise. - * locale/programs/charmap.h: Likewise. - * locale/programs/charmap-kw.h: Likewise. - * locale/programs/config.h: Likewise. - * locale/programs/locfile.c: Likewise. - * locale/programs/ld-ctype.c: Likewise. - * locale/programs/charmap.c: Likewise. - * locale/programs/ld-messages.c: Likewise. - * locale/programs/repertoire.h: Likewise. - * locale/programs/locale.c: Likewise. - * locale/programs/ld-name.c: Likewise. - * locale/programs/linereader.c: Likewise. - * locale/programs/locfile.h: Likewise. - * locale/programs/3level.h: Likewise. - * locale/programs/ld-monetary.c: Likewise. - * locale/programs/ld-measurement.c: Likewise. - * locale/programs/charmap-dir.c: Likewise. - * locale/programs/ld-identification.c: Likewise. - * locale/programs/localedef.h: Likewise. - * locale/programs/charmap-dir.h: Likewise. - * locale/programs/repertoire.c: Likewise. - * locale/programs/simple-hash.h: Likewise. - * locale/programs/ld-telephone.c: Likewise. - * locale/programs/locale-spec.c: Likewise. - * locale/programs/locfile-token.h: Likewise. - * posix/getconf.c: Likewise. - * iconv/dummy-repertoire.c: Likewise. - * iconv/iconv_charmap.c: Likewise. - * iconv/iconvconfig.c: Likewise. - * iconv/iconv_prog.c: Likewise. - * malloc/memusagestat.c: Likewise. - * sysdeps/unix/sysv/linux/nscd_setup_thread.c: Likewise. - -2007-07-06 Kaz Kojima - - * sysdeps/sh/bsd-setjmp.S (setjmp): Use correct argument registers. - * sysdeps/sh/bsd-_setjmp.S (_setjmp): Likewise. - * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Do correct sanity - check for the first argument. - -2007-07-12 Jakub Jelinek - - [BZ #4775] - * math/tgmath.h (__tgmath_real_type_sub): Formatting. - (__tgmath_real_type): Fix if expr is const int or other const - qualified integral type. - (__TGMATH_UNARY_REAL_ONLY): Rewritten to avoid using statement - expressions and handle const qualified arguments. - (__TGMATH_BINARY_FIRST_REAL_ONLY, __TGMATH_UNARY_REAL_IMAG, - __TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise. - (__TGMATH_UNARY_REAL_RET_ONLY): Rewritten to avoid using - statement expressions. - (__TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY, - __TGMATH_TERNARY_REAL_ONLY, __TGMATH_BINARY_REAL_IMAG): Likewise. - (__TGMATH_UNARY_IMAG): Define. - (conj, cproj): Use __TGMATH_UNARY_IMAG macro. - * math/Makefile (tests): Add test-tgmath2. - (CFLAGS-test-tgmath2.c): Add. - * math/test-tgmath.c (fy, dy, ly, fz, dz, lz, count_cdouble, - count_cfloat, count_cldouble): New variables. - (NCCALLS): Define. - (main): Check number of complex calls as well. - (F(compile_test)): Add complex tests and tests with const qualified - arguments. - (y, z, ccount): Define. - (F(cacos), F(casin), F(catan), F(ccos), F(csin), F(ctan), F(cacosh), - F(casinh), F(catanh), F(ccosh), F(csinh), F(ctanh), F(cexp), F(clog), - F(csqrt), F(cpow), F(cabs), F(carg), F(creal), F(cimag), F(conj), - F(cproj)): New functions. - * math/test-tgmath2.c: New test. - -2007-07-11 Jakub Jelinek - - [BZ #4776] - * elf/dl-load.c (_dl_rtld_di_serinfo): Output / in LD_LIBRARY_PATH, - RPATH etc. as "/" rather than "", don't segfault on empty paths, - instead output ".". - * dlfcn/Makefile (distribute): Add glreflib3.c. - (module-names): Add glreflib3. - ($(objpfx)tst-dlinfo.out): Depend on glreflib3.so rather than - glreflib1.so. - (LDFLAGS_glreflib3.so): New. - * dlfcn/tst-dlinfo.c (do_test): Load glreflib3.so instead of - glreflib1.so. - * dlfcn/glreflib3.c: New file. - - * intl/finddomain.c (_nl_find_domain): If _nl_explode_name - returned -1, return NULL. - * intl/explodename.c (_nl_explode_name): Return -1 if - _nl_normalize_codeset failed. - -2007-07-07 Steven Munroe - - * sysdeps/powerpc/powerpc32/power6/memset.S: Update comments. - Specify .machine power6 to get ISA-V2.0 branch hints. Unroll loops - and avoid branch misspredicts for > 31 bytes memset case. - * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise. - Remove toc ref to __cache_line_size. - - * sysdeps/powerpc/powerpc32/power4/memcmp.S: Specify .machine power4 - to get ISA-V2.0 branch hints. - * sysdeps/powerpc/powerpc32/power4/memcpy.S: Likewise - * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise - * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise. - * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise. - * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise. - * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise. - Remove toc ref to __cache_line_size. - - * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: - Include math_ldbl_opt.h. - -2007-07-10 Ulrich Drepper - - [BZ #4773] - * time/strptime_l.c (__strptime_internal): Implement greedy - matching of weekday and month names. - -2007-07-09 Roland McGrath - - * elf/elf.h (NT_GNU_ABI_TAG): New macro. - (ELF_NOTE_ABI): Use it. - (NT_GNU_HWCAP, NT_GNU_BUILD_ID): New macros. - -2007-07-09 Ulrich Drepper - - * sysdeps/x86_64/cacheinfo.c (intel_02_known): Add new entries. - * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise. - -2007-07-07 Ulrich Drepper - - [BZ #4745] - * stdio-common/vfscanf.c (_IO_vfscanf): Add additional test for EOF - in loop to look for conversion specifier to avoid testing of - wrong errno value. - * stdio-common/Makefile (tests): Add bug18, bug18a, bug19, bug19a. - * stdio-common/bug18.c: New file. - * stdio-common/bug18a.c: New file. - * stdio-common/bug19.c: New file. - * stdio-common/bug19a.c: New file. - -2007-07-05 Mike Frysinger - - * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use LC_ALL=C when - running awk script. - -2007-07-01 Jakub Jelinek - - * elf/dl-sysdep.c (_dl_important_hwcaps): Add integer overflow check. - * elf/dl-minimal.c (__libc_memalign): Likewise. Handle malloc (0). - Return NULL if mmap failed instead of asserting it does not. - (calloc): Check for integer overflow. - - * elf/dl-minimal.c (__strtoul_internal): Fix parsing of numbers bigger - than LONG_MAX / 10. - -2007-07-03 Jakub Jelinek - - [BZ #4702] - * nis/nss-default.c: Include errno.h. - (init): Preserve errno. - -2007-07-02 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/socket.h (PF_UNIX): Update comment. - -2007-06-30 Ulrich Drepper - * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_RXRPC and AF_RXRPC. +2005-02-21 Ulrich Drepper -2007-06-29 Martin Schwidefsky - - * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_IUCV and AF_IUCV. - -2007-06-29 Martin Schwidefsky - - * sysdeps/s390/dl-procinfo.c: New file. - * sysdeps/s390/dl-procinfo.h: New file. - * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: New file. - -2007-06-29 Jakub Jelinek - - * elf/dl-load.c (open_verify): Find .note.ABI-tag notes even - in PT_NOTE segments with multiple notes. - * elf/readelflib.c (process_elf_file): Likewise. + * sysdeps/unix/sysv/linux/libc_fatal.c: Print backtrace and memory + map if requested. + * debug/chk_fail.c: Request backtrace and memory map dump. -2007-06-22 Ulrich Drepper + * Versions.def: Add GLIBC_2.4 for libc. + * debug/fgets_chk.c: New file. + * debug/fgets_u_chk.c: New file. + * debug/getcwd_chk.c: New file. + * debug/getwd_chk.c: New file. + * debug/readlink_chk.c: New file. + * debug/read_chk.c: New file. + * debug/pread_chk.c: New file. + * debug/pread64_chk.c: New file. + * debug/recv_chk.c: New file. + * debug/recvfrom_chk.c: New file. + * debug/Versions: Add all new functions with version GLIBC_2.4. + * debug/Makefile (routines): Add fgets_chk, fgets_u_chk, read_chk, + pread_chk, pread64_chk, recv_chk, recvfrom_chk, readlink_chk, + getwd_chk, and getcwd_chk. Plus appropriate CFLAGS definitions. + * debug/tst-chk1.c: Add more tests. + * libio/bits/stdio2.h: Add macros for fgets and fgets_unlocked. + * include/stdio.h: Declare __fgets_chk and __fgets_unlocked_chk. + * posix/unistd.h: Include for fortification. + * posix/bits/unistd.h: New file. + * posix/Makefile (headers): Add bits/unistd.h. + * socket/sys/socket.h: Include for fortification. + * socket/bits/socket2.h: New file. + * socket/Makefile (headers): Add bits/socket2.h. + + * string/bits/string3.h: Extend memset macro to check for zero 3rd + parameter and use __memset_zero_constant_len_parameter in that case. + * sysdeps/generic/memset_chk.c: Add + __memset_zero_constant_len_parameter alias and linker warning. + * debug/Versions: Add __memset_zero_constant_len_parameter to libc + with version GLIBC_2.4. + + * sysdeps/generic/bits/types.h: Don't unnecessarily use __extension__ + in __STD_TYPE definition. + +2005-02-21 Jakub Jelinek + + * malloc/malloc.c (malloc_printerr): If MALLOC_CHECK_={5,7}, print + the error message rather than program name. - * nis/nis_domain_of.c (__nis_domain_of): Make the code a bit more - ISO C compliant. +2005-02-21 Ulrich Drepper -2007-06-19 Ulrich Drepper + [BZ #767] + * posix/unistd.h: symlink and readlink are unconditionally + available in the 2001 spec. - * elf/dl-close.c (free_mem): Free _dl_scope_free_list. - -2007-06-13 Jakub Jelinek - - * include/link.h: Don't include rtld-lowlevel.h. - (struct link_map): Remove l_scope_lock. - * sysdeps/generic/ldsodefs.h: Don't include rtld-lowlevel.h. - (_dl_scope_free_list): New field (variable) in _rtld_global. - (DL_LOOKUP_SCOPE_LOCK): Remove. - (_dl_scope_free): New prototype. - * elf/dl-runtime.c (_dl_fixup): Don't use __rtld_mrlock_*lock. - Don't pass DL_LOOKUP_SCOPE_LOCK to _dl_lookup_symbol_x. - (_dl_profile_fixup): Likewise. - * elf/dl-sym.c (do_sym): Likewise. Use wrapped _dl_lookup_symbol_x - whenever !RTLD_SINGLE_THREAD_P, use THREAD_GSCOPE_SET_FLAG and - THREAD_GSCOPE_RESET_FLAG around it. - * elf/dl-close.c (_dl_close_worker): Don't use - __rtld_mrlock_{change,done}. Call _dl_scope_free on the old - scope. Make sure THREAD_GSCOPE_WAIT () happens if any old - scopes were queued or if l_scope_mem has been abandoned. - * elf/dl-open.c (_dl_scope_free): New function. - (dl_open_worker): Use it. Don't use __rtld_mrlock_{change,done}. - * elf/dl-support.c (_dl_scope_free_list): New variable. - * elf/dl-lookup.c (add_dependency): Remove flags argument. - Remove DL_LOOKUP_SCOPE_LOCK handling. - (_dl_lookup_symbol_x): Adjust caller. Remove DL_LOOKUP_SCOPE_LOCK - handling. - * elf/dl-object.c (_dl_new_object): Don't use - __rtld_mrlock_initialize. +2005-02-16 Roland McGrath -2007-06-19 Ulrich Drepper + * intl/dcigettext.c (_nl_find_msg): Add a cast. - * sysdeps/generic/ldsodefs.h (rtld_global): Reorder some elements - to fill in holes - (rtld_global_ro): Likewise. + * nis/nis_clone_dir.c (nis_clone_directory): Use char * for ADDR. + * nis/nis_clone_obj.c (nis_clone_object): Likewise. + * nis/nis_clone_res.c (nis_clone_result): Likewise. -2007-06-18 Jakub Jelinek + * resolv/nss_dns/dns-network.c (getanswer_r): Use const unsigned char * + for END_OF_MESSAGE and CP. - * elf/dl-addr.c (_dl_addr): Skip PT_LOAD checking if l_contiguous. - Move PT_LOAD checking to... - (_dl_addr_inside_object): ... here, new function. - * elf/dl-sym.c (do_sym): If not l_contiguous, - call _dl_addr_inside_object. - * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise. - * dlfcn/dlinfo.c (dlinfo_doit): Likewise. - * elf/dl-open.c (dl_open_worker): Likewise. - (_dl_addr_inside_object): New function if IS_IN_rtld. - * elf/dl-load.c (_dl_map_object_from_fd): Set l_contiguous if no - holes are present or are PROT_NONE protected. - * include/link.h (struct link_map): Add l_contiguous field. - * sysdeps/generic/ldsodefs.h (_dl_addr_inside_object): New prototype. + * resolv/res_send.c (send_dg): Add else branch for case impossible + unless `poll' is buggy. -2007-06-18 Jakub Jelinek - Tomas Janousek - Ulrich Drepper + * crypt/crypt_util.c (__setkey_r): Add a cast. - [BZ #4647] - * resolv/res_send.c (send_dg): Remove socket_pf. Use ipv6_unavail - member in __res_state, only convaddr4to6 if nssocks[ns] is a PF_INET6 - socket. - * resolv/resolv.h (__res_state): Add ipv6_unavail member. Make - unused member a bitmap. - * resolv/res_init.c (__res_vinit): Reset ipv6_unavail if IPv6 - servers are configured. + * locale/programs/linereader.c (get_toplvl_escape): Use size_t for + NBYTES, and unsigned char * for BYTES. -2007-06-18 Jakub Jelinek + * locale/programs/charmap.c (charmap_new_char): Use size_t and + unsighed char * for NBYTES, BYTES parameters. - * elf/rtld.c (dl_main): Don't call init_tls more than once. + * sysdeps/generic/dl-hash.h (_dl_elf_hash): Take const char * argument + and cast it. + * sysdeps/i386/i686/dl-hash.h (_dl_elf_hash): Likewise. -2007-06-17 Andreas Schwab + * sunrpc/create_xid.c (_create_xid): Don't use unsigned long for RES. - * sysdeps/generic/initfini.c: Tell gcc about the nonstandard sections. - -2007-06-16 Andreas Jaeger - - [BZ #4125] - * sysdeps/unix/sysv/linux/sys/ptrace.h - (PTRACE_O_TRACESYSGOOD, PTRACE_O_TRACEFORK, - PTRACE_O_TRACEVFORK, PTRACE_O_TRACECLONE, PTRACE_O_TRACEEXEC, - PTRACE_O_TRACEVFORKDONE, PTRACE_O_TRACEEXIT, PTRACE_O_MASK, - PTRACE_EVENT_FORK, PTRACE_EVENT_VFORK, PTRACE_EVENT_CLONE, - PTRACE_EVENT_EXEC, PTRACE_EVENT_VFORK_DONE, PTRACE_EVENT_EXIT): - Define. - * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise. - * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise. - -2007-06-16 Ulrich Drepper - - [BZ #4599] - * sysdeps/unix/sysv/linux/check_pf.c (make_request): When - determining whether there are IPv4/IPv6 addresses, ignore loopback - addresses. - -2007-06-14 Uros Bizjak - - * soft-fp/soft-fp.h (CMPtype): Define to "int" if undefined. - * soft-fp/eqdf2.c (__eqdf2): Use CMPtype instead of int - as the return type. Change type of "r" variable to CMPtype. - * soft-fp/eqsf2.c (__eqsf2): Likewise. - * soft-fp/eqtf2.c (__eqtf2): Likewise. - * soft-fp/gedf2.c (__gedf2): Likewise. - * soft-fp/gesf2.c (__gesf2): Likewise. - * soft-fp/getf2.c (__getf2): Likewise. - * soft-fp/ledf2.c (__ledf2): Likewise. - * soft-fp/lesf2.c (__lesf2): Likewise. - * soft-fp/letf2.c (__letf2): Likewise. - * soft-fp/unorddf2 (__unorddf2): Likewise. - * soft-fp/unordsf2 (__unordsf2): Likewise. - * soft-fp/unordtf2 (__unordtf2): Likewise. - -2007-06-09 Ulrich Drepper - - * elf/do-lookup.h (do_lookup_x): Read r_nlist before r_list and - make sure gcc doesn't mess around with this. - -2007-06-08 Ulrich Drepper - - * elf/dl-lookup.c (_dl_lookup_symbol_x): Remove use of r_nlist. - -2007-06-08 Jakub Jelinek - - * elf/dl-close.c (_dl_close_worker): Remove all to be removed - libraries from the global scope at once and call THREAD_GSCOPE_WAIT - at most once per _dl_close_worker. - -2007-06-08 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/sched.h: Make second parameter of - __sched_cpucount as const. - * posix/sched_cpucount.c: Adjust. - - * posix/sched_cpucount.c (__sched_cpucount): Allow using special - instruction for counting bits. - * sysdeps/x86_64/sched_cpucount.c: New file. - -2007-06-07 Ulrich Drepper - - * configure.in: Avoid variable named BASH. - * config.make.in: Likewise. - Patch in part by Mike Frysinger. - -2007-06-06 Jakub Jelinek - - [BZ #4586] - * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Treat - pseudo-zeros as zero. - * sysdeps/x86_64/ldbl2mpn.c: New file. - * sysdeps/ia64/ldbl2mpn.c: New file. - -2007-06-04 Jakub Jelinek - - * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (nextafterl): Remove - unused ily variable. Fix nextafterl on +-__LDBL_MAX__ and +-Inf. - Remove unreachable code at the end. - -2007-06-01 Steven Munroe - - * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Correct description of - ldbl-128ibm in comment. - (fpclassifyl): Correct classification of denormals. - * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (nextafterl): Correct - return value for MIN denormal. Rewrite using long double math too - correctly handle denormals and canonicalize the results. - -2007-06-05 Jakub Jelinek - - * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c - (__mpn_construct_long_double): Fix conversion where result ought - to be smaller than __LDBL_MIN__, or the low double should be - denormal. Fix decision where to negate low double - honor round - to even rules. - * stdio-common/tst-sprintf2.c: Include string.h. - (COMPARE_LDBL): Define. - (TEST): Also test whether a string hexadecimal float representation - can be parsed back to the number. - (main): Add a couple of further tests. - -2007-06-04 Jakub Jelinek - - * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c - (PRINT_FPHEX_LONG_DOUBLE): Fix printing numbers where lower double - is non-zero, but smaller than 2 * __DBL_MIN__. - * stdio-common/tst-sprintf2.c: New test. - * stdio-common/Makefile (tests): Add tst-sprintf2. - - * math/test-misc.c (main): Don't run last batch of tests with - IBM long double format. - -2007-05-31 Steven Munroe - - * sysdeps/powerpc/powerpc32/970/fpu/Implies: New file. - * sysdeps/powerpc/powerpc32/power5/fpu/Implies: New file. - * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: New file. - * sysdeps/powerpc/powerpc32/power6/fpu/Implies: New file. - * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file. - * sysdeps/powerpc/powerpc64/970/fpu/Implies: New file. - * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New file. - * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New file. - * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New file. - * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: - New file. - -2007-05-31 Steven Munroe - - * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrint.S: Move. - * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: To here. - * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrintf.S: Move. - * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: To here. - * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llround.S: Move. - * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: To here. - * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llroundf.S: Move. - * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: To here. - -2007-05-22 Steven Munroe - - * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S - (LONG_DOUBLE_COMPAT): Specify correct version, GLIBC_2_1. - * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S - (LONG_DOUBLE_COMPAT): Specify correct version, GLIBC_2_1. - * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S - (LONG_DOUBLE_COMPAT): Specify correct version, GLIBC_2_1. - * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S - (LONG_DOUBLE_COMPAT): Specify correct version, GLIBC_2_1. - -2007-05-21 Steven Munroe - - * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: New file. - * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.c: New file. - * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: New file. - * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: New file. - -2007-03-15 Steven Munroe - - * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrint.S - [LONG_DOUBLE_COMPAT]: Add compat_symbol for llrintl@@GLIBC_2_1. - -2006-02-13 Steven Munroe - - * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: New File - * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: New File - * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: New File - * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: New File - -2006-10-20 Steven Munroe - - * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: New file. - * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: New file. - -2006-10-03 Steven Munroe - - * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llround.S: New file. - * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llroundf.S: New file. - - * sysdeps/powerpc/powerpc32/powerpc64/fpu/Makefile: Moved. - * sysdeps/powerpc/powerpc32/powerpc64/fpu/mpa.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: To here. - * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise. - -2006-09-29 Steven Munroe - - * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: New file. - * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: New file. - * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: New file. - * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: New file. - -2006-09-28 Steven Munroe - - * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: New file. - * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: New file. - * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: New file. - * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file. - * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: New file. - * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: New file. - -2006-08-31 Steven Munroe - - * sysdeps/powerpc/powerpc32/powerpc64/fpu/Makefile: New file. - * sysdeps/powerpc/powerpc32/powerpc64/fpu/mpa.c: New file. - * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: New file. - * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: New file. - -2006-06-15 Steven Munroe - - * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: New file. - * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: New file. - * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: New file. - * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: New file. - * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: New file. - * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: New file. - * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: New file. - * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: New file. - * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: New file. - * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: New file. - * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: New file. - * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: New file. - * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: New file. - * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: New file. - * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: New file. - * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: New file. + * sunrpc/svcauth_des.c (_svcauth_des): Fix cast type. -2006-03-20 Steven Munroe + * sunrpc/auth_des.c (authdes_create): Don't use u_char for PKEY_DATA. + (authdes_marshal): Don't use unsigned int for LEN. + * sunrpc/xdr.c (xdr_hyper): Don't use unsigned long for T2. + (xdr_u_hyper): Likewise. + (xdr_u_short): Don't use u_long for L. + * sunrpc/xdr_intXX_t.c (xdr_int64_t): Don't use uint32_t for T2. - * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrint.S: New file. - * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrintf.S: New file. + * inet/rexec.c (rexec_af): Use socklen_t. + * sunrpc/key_call.c (getkeyserv_handle): Likewise. + * sunrpc/rtime.c (rtime): Likewise. + * resolv/res_send.c (send_vc, send_dg): Likewise. + * nis/nis_callback.c (__nis_create_callback): Likewise. -2007-06-01 Steven Munroe + * sysdeps/generic/libc-start.c: Use unsigned int for nthreads ptr. - * sysdeps/powerpc/powerpc32/power6/memset.S: New file. - * sysdeps/powerpc/powerpc64/power6/memset.S: New file. + * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix type of ADDR local. -2007-05-31 Steven Munroe + * libio/libio.h (_IO_BE): Add parenthesis around EXPR. - * sysdeps/powerpc/powerpc32/970/Implies: New file. - * sysdeps/powerpc/powerpc32/power5/Implies: New file. - * sysdeps/powerpc/powerpc32/power5+/Implies: New file. - * sysdeps/powerpc/powerpc32/power6/Implies: New file. - * sysdeps/powerpc/powerpc32/power6x/Implies: New file. - * sysdeps/powerpc/powerpc64/970/Implies: New file. - * sysdeps/powerpc/powerpc64/power5/Implies: New file. - * sysdeps/powerpc/powerpc64/power5+/Implies: New file. - * sysdeps/powerpc/powerpc64/power6/Implies: New file. - * sysdeps/powerpc/powerpc64/power6x/Implies: New file. + * intl/dcigettext.c (INTVARDEF, INTUSE): Macros removed. + (_nl_default_dirname): Use libc_hidden_data_def instead of INTVARDEF. + (libc_freeres_fn, DCIGETTEXT): Don't use INTUSE. + * intl/bindtextdom.c (INTUSE): Macro removed. + (_nl_default_dirname): Use libc_hidden_proto. + (set_binding_values): Don't use INTUSE. + * include/libintl.h (_libc_intl_domainname_internal): Decl removed. + (_libc_intl_domainname): Use libc_hidden_proto. + * posix/regex_internal.h (gettext): Remove INTUSE on it. + * locale/SYS_libc.c (_libc_intl_domainname): Use libc_hidden_data_def + rather than INTDEF. + * include/libintl.h (_): Don't use *_internal name. -2007-05-21 Steven Munroe + * ctype/ctype-extn.c (__ctype_tolower, __ctype_toupper): Use int32_t, + not uint32_t. + * locale/lc-ctype.c (_nl_postload_ctype): Likewise for assignments. - * sysdeps/powerpc/powerpc32/power4/memset.S: New file + * iconv/gconv_open.c (__gconv_open): Remove useless cast. -2007-03-13 Steven Munroe + [BZ #721] + * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside + of [RESOLVE_MAP]. + * sysdeps/sh/dl-machine.h (ELF_MACHINE_NO_REL): Likewise. + * sysdeps/powerpc/powerpc32/dl-machine.h + (elf_machine_rel, elf_machine_rel_relative): Removed. + * sysdeps/powerpc/powerpc64/dl-machine.h + (elf_machine_rel, elf_machine_rel_relative): Removed. - * sysdeps/powerpc/powerpc64/memcpy.S: Improve aligned loop to minimize - branch miss-predicts. Ensure that cache line crossing does not impact - dispatch grouping. +2005-02-03 Alexandre Oliva -2006-12-13 Steven Munroe + [BZ #721] + * elf/dynamic-link.h: Don't declare nested auto functions that are + not going to be defined. - * sysdeps/powerpc/powerpc64/power4/memcopy.h: Replace with include - "../../powerpc32/power4/memcopy.h". - * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Replace with include - "../../powerpc32/power4/wordcopy.c". - -2006-10-03 Steven Munroe - - * sysdeps/powerpc/powerpc32/powerpc64/Makefile: Moved. - * sysdeps/powerpc/powerpc32/powerpc64/memcopy.h: Likewise. - * sysdeps/powerpc/powerpc32/powerpc64/wordcopy.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/Makefile: To here. - * sysdeps/powerpc/powerpc32/power4/memcopy.h: Likewise. - * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise. - -2006-09-10 Steven Munroe - - * sysdeps/powerpc/powerpc32/power6/memcpy.S: New file. - -2006-08-31 Steven Munroe - - * sysdeps/powerpc/powerpc32/power6/wordcopy.c: New file. - * sysdeps/powerpc/powerpc32/powerpc64/Makefile: New file. - * sysdeps/powerpc/powerpc32/powerpc64/memcopy.h: New file. - * sysdeps/powerpc/powerpc32/powerpc64/wordcopy.c: New file. - * sysdeps/powerpc/powerpc64/power4/Makefile: New file. - * sysdeps/powerpc/powerpc64/power4/memcopy.h: New file. - * sysdeps/powerpc/powerpc64/power4/wordcopy.c: New file. - * sysdeps/powerpc/powerpc64/power6/wordcopy.c: New file. - -2006-07-06 Steven Munroe - - * sysdeps/powerpc/powerpc64/power6/memcpy.S: New file. - -2006-03-20 Steven Munroe - - * sysdeps/powerpc/powerpc32/power4/memcmp.S: New file. - * sysdeps/powerpc/powerpc32/power4/memcpy.S: New file. - * sysdeps/powerpc/powerpc32/power4/memset.S: New file. - * sysdeps/powerpc/powerpc32/power4/strncmp.S: New file. - * sysdeps/powerpc/powerpc64/power4/memcmp.S: New file. - * sysdeps/powerpc/powerpc64/power4/memcpy.S: New file. - * sysdeps/powerpc/powerpc64/power4/strncmp.S: New file. - -2007-05-29 Roland McGrath - - * po/Makefile (po-sed-cmd): New variable. - (libc.pot.files): Move sed command text in there, avoid \ inside ''. - -2007-05-29 Ulrich Drepper - - * crypt/md5-crypt.c: Fix comment. - - * nscd/nscd_helper.c (get_mapping): Handle short replies instead - of crashing. When this is the case or if the reply is malformed, - don't try to close the new file descriptor since it does not - exist. - Patch in part by Guillaume Chazarain . - -2007-05-28 Jakub Jelinek - - * sysdeps/unix/sysv/linux/futimes.c (miss_utimensat): Don't define - if __NR_utimensat is not defined. - -2007-05-26 Ulrich Drepper - - * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Include . - -2007-05-25 Jakub Jelinek - - * io/bits/fcntl2.h (__open_2): Add nonnull attribute. - (open): Fix comment typos. Don't call __open_2 if flags - is a compile time constant without O_CREAT. - (__open64_2): Add nonnull attribute. - (open64): Fix comment typos. Don't call __open64_2 if flags - is a compile time constant without O_CREAT. - (__openat_2): Add nonnull attribute, fix nonnull attribute - on redirect. - (openat): Fix comment typos. Don't call __openat_2 if flags - is a compile time constant without O_CREAT. - (__openat64_2): Add nonnull attribute, fix nonnull attribute - on redirect. - (openat64): Fix comment typos. Don't call __openat64_2 if flags - is a compile time constant without O_CREAT. - -2007-05-24 Ulrich Drepper - - * Makerules (sysd-rules): Define PTW for ptw-* files. - * Versions: Define GLIBC_2.7 for libc. - * include/stdio.h: Declare __fortify_fail. - * debug/fortify_fail.c: New file. - * debug/Makefile (routines): Add fortify_fail. - * debug/chk_fail.c: Use __fortify_fail. - * debug/stack_chk_fail.c: Likewise. - * io/Versions: Export __open_2, __open64_2, __openat_2, and - __openat64_2 for GLIBC_2.7. - * io/fcntl.h: When compiling with fortification, include bits/fcntl2.h. - * io/open.c: Define *_2 variant of function which checks for O_CREAT - and fails if necessary. - * io/open64.c: Likewise. - * io/openat.c: Likewise. - * io/openat64.c: Likewise. - * sysdeps/unix/sysv/linux/open64.c: Likewise. - * sysdeps/unix/sysv/linux/openat.c: Likewise. - * sysdeps/unix/sysv/linux/openat64.c: Likewise. - * io/bits/fcntl2.h: New file. - * include/fcntl.h: Declare __open_2, __open64_2, __openat_2, and - __openat64_2. - * include/bits/fcntl2.h: New file. - * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): - Add open_2. - * sysdeps/unix/sysv/linux/open_2.c: New file. +2004-07-23 Jakub Jelinek -2007-05-21 Ulrich Drepper + [BZ #284] + * include/features.h (_POSIX_SOURCE, _POSIX_C_SOURCE): Define + if _XOPEN_SOURCE >= 500 even if __STRICT_ANSI__ is defined. - * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Pass correct value - as second parameter to handle_intel. - - * nscd/aicache.c (addhstaiX): If reported TTL is zero don't cache - the entry. - - * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Move cache information - handling to ... - * sysdeps/x86_64/cacheinfo.c: ... here. New file. - * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add - cacheinfo. - * sysdeps/x86_64/memcpy.S: Complete rewrite. - * sysdeps/x86_64/mempcpy.S: Adjust appropriately. - Patch by Evandro Menezes . +2005-02-16 Roland McGrath - * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: New file. + * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Move UBP_EV defn + inside [! SHARED] where it's used. -2007-05-21 Jakub Jelinek +2005-02-15 Ulrich Drepper - [BZ #4525] - * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add epoll_pwait. - * sysdeps/unix/sysv/linux/epoll_pwait.c: New file. - * sysdeps/unix/sysv/linux/syscalls.list (epoll_pwait): Remove. + * sysdeps/generic/bits/byteswap.h: Make sure result of all the + functions and macros is unsigned. - * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h (epoll_pwait): Declare. +2005-02-11 Barry deFreese - [BZ #4514] - * stdio-common/vfprintf.c (vfprintf): Don't shadow workstart variable, - reinitialize workend at the start of each do_positional format spec - loop, free workstart before do_positional loops. - (printf_unknown): Fix size of work_buffer. - * stdio-common/tst-sprintf.c (main): Add 3 new testcases. + [BZ #722] + * sysdeps/mach/hurd/setresgid.c: Use weak_alias. + * sysdeps/mach/hurd/setresuid.c: Likewise. - * malloc/hooks.c (MALLOC_STATE_VERSION): Bump. - (public_sET_STATe): If ms->version < 3, put all chunks into - unsorted chunks and clear {fd,bk}_nextsize fields of largebin - chunks. +2005-02-14 GOTO Masanori - * malloc/malloc.c [MALLOC_DEBUG]: Revert 2007-05-13 changes. - * malloc/hooks.c: Likewise. - * malloc/arena.c: Likewise. - * malloc/malloc.c (do_check_malloc_state): Don't assert - n_mmaps is not greater than n_mmaps_max. This removes the need - for the previous change. - - * malloc/Makefile (CFLAGS-malloc.c): Revert accidental - 2007-05-07 commit. - -2007-05-19 Ulrich Drepper - - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRIVATE_FUTEX): - Define for kernel >= 2.6.22. - -2007-05-18 Ulrich Drepper - - * elf/dl-close.c (_dl_close_worker): When removing object from - global scope, wait for all lookups to finish afterwards. - * elf/dl-open.c (add_to_global): When global scope array must - grow, allocate a new one and free old array only after all - lookups finish. - * elf/dl-runtime.c (_dl_fixup): Protect using global scope. - (_dl_lookup_symbol_x): Likewise. - * elf/dl-support.c: Define _dl_wait_lookup_done. - * sysdeps/generic/ldsodefs.h (struct rtld_global): Add - _dl_wait_lookup_done. - - * malloc/malloc.c (do_check_chunk): Correct check for mmaped block - not overlapping with arena. - - * malloc/mcheck.c (reallochook): If size==0, free the block. - - * rt/tst-shm.c: Use fstat64 instead of fstat. - - * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Fix case where - __NR_sync_file_range is not defined. - -2007-05-17 Ulrich Drepper - - Dummy files to prevent stub versions from being used. - * sysdeps/x86_64/fpu/k_cosl.c: New file. - * sysdeps/x86_64/fpu/k_rem_pio2l.c: New file. - * sysdeps/x86_64/fpu/k_sinl.c: New file. - * sysdeps/x86_64/fpu/k_tanl.c: New file. + * misc/sys/syslog.h: Fix typo in comment. - * version.h (VERSION): Set to 2.6.90. +2005-02-14 Roland McGrath -2007-05-14 Ulrich Drepper + [BZ #720] + * sysdeps/unix/sysv/linux/sys/kd.h: Don't leave _LINUX_TYPES_H defined + if it wasn't originally. - * version.h (VERSION): Define to 2.6. - * include/features.h (__GLIBC_MINOR__): Define to 6. +2005-02-14 GOTO Masanori - * malloc/malloc.c: Use all small bin slots on 64-bit archs. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove the duplicated + getpeername entry. + * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. - * malloc/malloc.c (largebin_index): Really have 32 buckets with 64 - sizes. +2005-02-11 Jakub Jelinek -2007-05-13 Ulrich Drepper + * scripts/soversions.awk: Only record first WORDSIZE{32,64} + matching line. - * malloc/malloc.c [MALLOC_DEBUG]: Keep track of current maximum - number of mmaps. n_mmaps_max is the target. - * malloc/hooks.c: Likewise. - * malloc/arena.c: Likewise. +2005-02-14 Alan Modra -2007-05-12 Andreas Jaeger + [BZ #721] + * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Define + with auto inline, and attribute always_inline. + (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise. + (elf_machine_rel, elf_machine_rel_relative): Likewise. + * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise. + (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise. + (elf_machine_rel, elf_machine_rel_relative): Likewise. + (elf_machine_tprel): Likewise. - * sysdeps/unix/sysv/linux/tst-getcpu.c: Include for - getpid. +2005-02-14 Andreas Schwab -2007-05-11 Ulrich Drepper + * manual/filesys.texi (Random Access Directory): Fix type of file + position value for telldir and seekdir. + (Attribute Meanings): Fix typo. - * elf/dl-close.c (_dl_close_worker): Help gcc to optimize by - adding new variables. +2005-02-14 H.J. Lu - * elf/dl-open.c (add_to_global): Introduce variable ns to help gcc - optimize. Completely extend global scope array before making the - new entries visible. + * csu/elf-init.c (__libc_csu_fini): Enable if LIBC_NONSHARED + isn't defined. + * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Call fini + if SHARED isn't defined. + * elf/Makefile (tests-static): Add tst-array1-static. + ($(objpfx)tst-array1-static.out): New target. + * elf/tst-array1-static.c: New file. -2007-05-10 Ulrich Drepper - - * sysdeps/unix/sysv/linux/tst-getcpu.c: New file. - * sysdeps/unix/sysv/linux/Makefile [subdir=posix] (tests): Add - tst-getcpu. - - * include/link.h: Move l_version and l_nversion members around to - fill gaps. - - * scripts/check-c++-types.sh: Don't use -fnu89-inline option. - - * sysdeps/unix/sysv/linux/sched_setaffinity.c - (__sched_setaffinity_new): If syscall was successful and - RESET_VGETCPU_CACHE is defined, use it before returning. - * sysdeps/unix/sysv/linux/x86_64/sched_setaffinity.c: New file. - - * io/sys/stat.h: Make sure struct timespec is defined for - __USE_ATFILE. - - * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Define UTIME_NOW and - UTIME_OMIT. - * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_UTIMENSAT. - * io/sys/stat.h: Declare utimensat, futimens. - * io/utimensat.c: New file. - * io/futimens.c: New file. - * sysdeps/unix/sysv/linux/utimensat.c: New file. - * sysdeps/unix/sysv/linux/futimens.c: New file. - * io/Makefile (routines): Add utimensat, futimens. - * io/Versions: Add utimensat, futimens to GLIBC_2.6. - * sysdeps/unix/sysv/linux/lutimes.c: New file. - * sysdeps/unix/sysv/linux/futimes.c: Use utimensat syscall if - available. - - * include/sys/cdefs.h: Redefine __nonnull so that test for - incorrect parameters in the libc code itself are not omitted. - -2007-05-09 Jakub Jelinek +2005-02-11 Jakub Jelinek - * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Don't raise overflow - exception in addition to inexact when asked to raise only FE_INEXACT. + [BZ #1100] + * debug/chk_fail.c (__chk_fail): Add a while (1) loop around + __libc_message to kill GCC warning about noreturn function returning. - [BZ #3427] - * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Don't clear exceptions - in *envp. + * elf/rtld.c (dlmain): If LD_TRACE_PRELINKING, clear l_relocated flag + before relocating ld.so again. -2007-05-07 Ulrich Drepper + * elf/rtld.c (_dl_start): Set bootstrap_map.l_relocated even + for already prelinked ld.so. - [BZ #4403] - * string/strfry.c (strfry): Make result more random. +2005-02-11 Roland McGrath -2007-05-07 Richard Henderson - - * sysdeps/alpha/fpu/bits/mathinline.h (__isnanl): Don't define - if __NO_LONG_DOUBLE_MATH. - * sysdeps/unix/sysv/linux/alpha/ioperm.c: If BWX insns not - available in the compiler, add .arch directive to the assembly. - -2007-05-07 Jakub Jelinek - - * sysdeps/alpha/fpu/s_nearbyint.c (nearbyintl): Fix version on - compat_symbol to GLIBC_2_1. - * sysdeps/alpha/fpu/s_fmin.S (fminl): Likewise. - * sysdeps/alpha/fpu/s_trunc.c (truncl): Likewise. - * sysdeps/alpha/fpu/s_fmax.S (fmaxl): Likewise. - * sysdeps/alpha/fpu/s_lrint.c (lrintl, llrintl): Likewise. - * sysdeps/alpha/fpu/s_lround.c (lroundl, llroundl): Likewise. - * sysdeps/alpha/fpu/s_round.c (roundl): Likewise. - * sysdeps/alpha/fpu/s_isnan.c (isnanl): Provide compat_symbol in - libc, not libm. - (__isnanl): New compat_symbol. - -2007-05-07 Ulrich Drepper - Jakub Jelinek - - * malloc/arena.c (heap_info): Add mprotect_size field, adjust pad. - (new_heap): Initialize mprotect_size. - (grow_heap): When growing, only mprotect from mprotect_size till - new_size if mprotect_size is smaller. When shrinking, use PROT_NONE - MMAP for __libc_enable_secure only, otherwise use MADV_DONTNEED. - -2007-04-30 Steven Munroe - Peter Bergner - - * sysdeps/powerpc/bits/fenv.h: Declare __fe_mask_env extern. - Define FE_NOMASK_ENV as FE_EANBLED_ENV. Define FE_MASK_ENV. - * sysdeps/powerpc/fpu/Makefile: Add fe_mask to libm-support. - * sysdeps/powerpc/fpu/fe_mask.c: New file. - * sysdeps/powerpc/fpu/fe_nomask.c: Correct comment. - * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): - Call __fe_mask_env() if all FP exceptions disabled. - * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Copy high 32-bits - from old FPSCR to new fenv to propagate DFP rounding modes. - Call __fe_mask_env() if FP exceptions previously enabled. - * sysdeps/powerpc/fpu/fesetenv.c (fesetenv): Change mask to merge - exceptions from env. Use __fe_nomask_env() or __fe_mask_env() when - transitioning from all exceptions disabled to any exception enabled - or visa versa. - * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Change mask to - merge exceptions from env. Call __fe_nomask_env or __fe_mask_env - when transitioning from all exceptions disabled to any exception - enabled or visa versa. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Moved to... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: ...here. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: Moved to... - * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: ...here. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: New file. - -2007-05-06 Ulrich Drepper - - [BZ #4465] - * posix/unistd.h: Remove __THROW from fdatasync. - -2007-05-06 Mike Frysinger - - [BZ #4465] - * sysdeps/unix/sysv/linux/syscalls.list (fdatasync): Add "C" to args. - -2007-05-06 Ulrich Drepper - - * stdio-common/vfprintf.c (process_string_arg): Optimize - ridiculous precision in wide char code printing multi-byte string. - Reported by Jim Meyering . - - [BZ #4131] - * elf/dl-addr.c (_dl_addr): Compare address with actual segment - boundaries to work around systems with overlapping binary loading. - Based on a patch by Suzuki . - -2007-05-04 Ulrich Drepper - - * stdio-common/vfprintf.c (process_string_arg): Adjust call to - __mbsnrtowcs after last change. - - * locale/programs/linereader.c (get_symname): Fix adding final NUL. - (get_ident): Likewise. - -2007-05-03 Jakub Jelinek - - * soft-fp/op-common.h (FP_TRUNC): Replace raising of FP_EX_INEXACT - with setting the sticky bit. - * math/test-misc.c (main): Add more truncation tests. - -2007-04-14 Uros Bizjak - - * soft-fp/floatunsidf.c (__floatunsidf): Use DFtype instead of - double in the function declaration. - * soft-fp/floatundidf.c (__floatundidf): Use DFtype instead of - double in the function declaration. - * soft-fp/floatunsisf.c (__floatunsisf): Use SFtype instead of - float in the function declaration. - * soft-fp/floatunsisf.c (__floatunsisf): Use SFtype instead of - float in the function declaration. - - * soft-fp/extended.h (FP_UNPACK_RAW_E): Do not increase X##_e for - denormal operands. Do not generate FP_EX_DENORM exception. - (FP_UNPACK_RAW_EP): Ditto. - (FP_UNPACK_SEMIRAW_E): Use FP_UNPACK_RAW_E instead of - undefined _FP_UNPACK_RAW_E. - (FP_UNPACK_SEMIRAW_EP): Use FP_UNPACK_RAW_EP instead of - undefined _FP_UNPACK_RAW_EP. - (FP_PACK_SEMIRAW_E): Use FP_PACK_RAW_E instead of - undefined _FP_PACK_RAW_E. - (FP_PACK_SEMIRAW_EP): Use FP_PACK_RAW_EP instead of - undefined _FP_PACK_RAW_EP. - - * soft-fp/op-2.h (_FP_FRAC_COPY_2_2): Define as alias to - _FP_FRAC_COPY_2. - * soft-fp/op-4.h (_FP_FRAC_COPY_2_2): Define as alias to - _FP_FRAC_COPY_4. + [BZ #715] + * Makefile (installed-stubs): New variable. + Set to $(inst_includedir)/gnu/stubs.h if $(biarch) is no, + or to $(inst_includedir)/gnu/stubs-$(biarch).h if otherwise. + [$(biarch) != no] (install-others-nosubdir): Add $(installed-stubs). + ($(inst_includedir)/gnu/stubs.h): Use $(installed-stubs) for this + rule's target. + ($(inst_includedir)/gnu/stubs.h): New target, install from ... + * include/stubs-biarch.h: New file. -2007-04-16 Uros Bizjak - Jakub Jelinek + * shlib-versions (i.86-.*-.*): Add WORDSIZE64 line mapping to x86_64. - * soft-fp/op-common.h (FP_EXTEND): Do not abort when - _FP_EXPBIAS_##dfs == _FP_EXPBIAS_##sfs. Handle denormals for - this case. - * soft-fp/op-common.h (FP_TRUNC): Ditto. + * Makeconfig ($(common-objpfx)soversions.mk): Depend on Makeconfig. + Emit defn for variable `biarch'. -2007-05-03 Jakub Jelinek - - * math/test-misc.c (main): Add tests for rounding long double - values close to smallest double denormalized value to double. - -2007-04-30 Joseph Myers - - * soft-fp/op-common.h (FP_TRUNC): Correct off-by-one error in - condition for truncating to 0. Set sticky bit for such - truncation. + * include/stub-tag.h: Update comment. -2007-05-02 Jakub Jelinek + * scripts/soversions.awk: Fix default version set handling. - * stdio-common/vfprintf.c (process_string_arg): Use a VLA rather than - fixed length array for ignore. +2005-02-10 Roland McGrath -2007-04-30 Ulrich Drepper + [BZ #157] + * include/libc-symbols.h (stub_warning): Emit a marker section called + .gnu.glibc-stub.NAME. + * Makerules ($(objpfx)stubs): Depend on object files, not dep files. + Use objdump to collect those marker section names. + ($(common-objpfx)shlib.lds): Discard .gnu.glibc-stub.* sections. - [BZ #4438] - * stdio-common/vfprintf.c (process_string_arg): Don't overflow the - stack for large precisions. - * stdio-common/test-vfprintf.c (main): Add test for large - precision. + * Rules (subdir_objs, subdir_stubs): New phony targets. + * Makefile (+subdir_targets): Add them. -2007-04-30 Jakub Jelinek + * Makerules ($(common-objpfx)Versions.all): Grok new leading column in + soversions.i. - * stdio-common/printf_fp.c (___printf_fp): Don't print negative sign - for exponent 0. - * stdio-common/tfformat.c (sprint_doubles): Add a new test. + * scripts/lib-names.awk: Consider [0-9].* a "number", not just [0-9]+. + Reported by H.J. Lu . - [BZ #4439] - * resolv/inet_ntop.c (inet_ntop4): Take terminating '\0' into - account in the size check. - * resolv/tst-inet_ntop.c: New test. - * resolv/Makefile (tests): Add tst-inet_ntop. + * scripts/lib-names.awk: Always print WORDSIZE32 section first when + doing two. -2007-04-30 Ulrich Drepper - Jakub Jelinek +2005-02-10 Jakub Jelinek - [BZ #4349] - * malloc/malloc.c: Keep separate list for first blocks on the bin - lists with a given size. This helps skipping over list elements - we know won't fit in two places. - Inspired by a patch by Tomash Brechko . + * sysdeps/powerpc/powerpc32/bits/link.h: Removed. + * sysdeps/powerpc/powerpc64/bits/link.h: Moved to... + * sysdeps/powerpc/bits/link.h: ... here. New file. -2007-04-28 Ulrich Drepper +2005-02-09 Jakub Jelinek - [BZ #4102] - * sysdeps/posix/getaddrinfo.c (default_labels): Assign separate - label to Teredo tunnel addresses 2001://32. + [BZ #710] + * stdlib/random_r.c (__initstate_r): Save old state. + * stdlib/Makefile (tests): Add tst-random2. + * stdlib/tst-random2.c: New test. + Reported by Peter Bergner . -2007-04-27 Ulrich Drepper +2005-01-25 H.J. Lu - * locale/programs/ld-collate.c (collate_read): Allow order_start - after copy. + * dlfcn/dlfcn.c (init): Put it in .init_array section. - * locale/programs/ld-collate.c (collate_read): Fix printing of - error message. +2005-02-10 Roland McGrath - [BZ #3213] - * locale/C-translit.h.in: Add entry for U2044. + [BZ #632] + * scripts/soversions.awk: Expect cpu, vendor, os as separate variables + from command line. + Grok shlib-versions lines with WORDSIZE* in second column. + Add new leading column to output, DEFAULT for existing output lines. + Also emit lines with WORDSIZE* for alternate configurations. + * Makeconfig ($(common-objpfx)soversions.i): Pass those variables. + ($(common-objpfx)soversions.mk): Grok new column, use only DEFAULT. + ($(common-objpfx)gnu/lib-names.stmp): Depend on soversions.i instead + of soversions.mk; replace inline shell script with use of ... + * scripts/lib-names.awk: New file. If input has non-DEFAULT lines, + emit multiple sets of macros under #if. + * shlib-versions (x86_64-.*-.*): Add WORDSIZE32 line mapping to i686. + (s390x-.*-.*): Likewise for s390. + (powerpc64-.*-.*): Likewise for powerpc. + (sparc64-.*-.*): Likewise for sparc. + (s390-.*-.*, powerpc.*-.*-.*, sparc.*-.*-.*): Add WORDSIZE64 entries + for these mapping back to the above. + +2005-02-08 Jakub Jelinek + + * elf/dl-load.c (_dl_map_object_from_fd): Fix a typo. - [BZ #4342] - * stdio-common/vfscanf.c (_IO_vfscanf_internal): Allow - hexa-decimal floats without exponent. - * stdio-common/tstscanf.c (main): Adjust Test 8 test for success. +2005-02-08 Andreas Schwab -2007-04-25 Ulrich Drepper + * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove use of + RESOLVE. - * sysdeps/unix/sysv/linux/bits/sched.h: Declare sched_getcpu. - * sysdeps/unix/sysv/linux/sched_getcpu.c: New file. - * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: New file. - * sysdeps/unix/sysv/linux/Versions: Export sched_getcpu for - GLIBC_2.6. - * sysdeps/unix/sysv/linux/Makefile [subdir=posix] (sysdep_routines): - Add sched_getcpu. +2005-02-07 Richard Henderson -2007-04-25 Jakub Jelinek + [BZ #721] + * iconvdata/jis0208.h (struct jisx0208_ucs_idx): Move before use. - * sysdeps/unix/sysv/linux/check_pf.c (make_request): Return -1 instead - of 0 after the out_fail label. +2005-02-08 Kaz Kojima -2007-04-25 Ulrich Drepper + * sysdeps/sh/dl-machine.h (elf_machine_rela): Remove code using + RESOLVE. - [BZ #4406] - * iconv/gconv_charset.h (strip): Allow ':'. - * iconv/iconv_open.c (iconv_open): Adjust comment. +2005-02-07 Ulrich Drepper -2007-04-25 Jakub Jelinek + * elf/dl-load.c (_dl_map_object_from_fd): Make sure registers are + set correctly. - * libio/bits/stdio.h (fgetc_unlocked): Add extern inline optimized - version. +2005-01-07 Richard Henderson -2007-04-23 Jakub Jelinek + [BZ #721] + * math/math_private.h (__copysign): Define as builtin for gcc 4. + (__copysignf, __copysignl): Likewise. + * sysdeps/alpha/fpu/bits/mathinline.h (copysign): Don't define + for gcc 4.0. + (copysignf, copysignl, fabsf, fabs): Likewise. + (__copysign, __copysignf, __copysignl): Remove. + (__fabs, __fabsf): Remove. - [BZ #4381] - * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Ensure sufficient - alignment of buffer and tmp_buffer. - * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r, - internal_gethostbyname2_r, _nss_nis_gethostbyaddr_r): Ensure sufficient - alignment of buffer. - * resolv/nss_dns/dns-hosts.c (getanswer_r): Likewise. Handle buflen - bigger than INT_MAX. - * resolv/nss_dns/dns-network.c (getanswer_r): Likewise. Add errnop and - h_errnop arguments. Fail if buflen is too small. - (_nss_dns_getnetbyname_r, _nss_dns_getnetbyaddr_r): Adjust callers. +2005-01-07 Jakub Jelinek -2007-04-23 Jakub Jelinek - - [BZ #4405] - * iconvdata/gconv-modules (E13B): Add a missing slash to the alias - name. Patch by Aurelien Jarno . - -2007-04-22 Roland McGrath - - * elf/elf.h (NT_PRXFPREG): New macro. - -2007-04-19 Andreas Jaeger - - [BZ #3905] - * bits/in.h (IPV6_ROUTER_ALERT, IPV6_MTU_DISCOVER, IPV6_MTU, - IPV6_RECVERR, IPV6_V6ONLY, IPV6_JOIN_ANYCAST, IPV6_LEAVE_ANYCAST): - Added. - -2007-04-19 Ulrich Drepper - - * include/sys/mman.h: Mark madvise hidden. - * misc/madvise.c: Add libc_hidden_def. - -2007-04-06 Jakub Jelinek - - * nis/nis_domain_of.c (__nis_domain_of): New function. - * include/rpcsvc/nislib.h (__nis_domain_of): New prototype. - * nis/nis_lookup.c (nis_lookup): Use __nis_domain_of. - * nis/nis_call.c (rec_dirsearch): Likewise. - (first_shoot): Likewise. Remove search_parent_first argument. - (struct nis_server_cache): Rename search_parent_first field - to search_parent. - (nis_server_cache_search, nis_server_cache_add): Rename - search_parent_first argument to search_parent. - (__nisfind_server): Likewise. If search_parent, call - __nis_domain_of. - -2007-04-18 Ulrich Drepper - - * sysdeps/posix/getaddrinfo.c: Remove commented-out code. - -2007-04-17 Ulrich Drepper - - [BZ #4368] - * stdlib/stdlib.h: Remove obsolete part of comment for realpath. - -2007-04-16 Ulrich Drepper - - [BZ #4364] - * posix/unistd.h (_XOPEN_VERSION): Define appropriately for SUSv3. - -2007-04-15 Jakub Jelinek - - * locale/programs/locarchive.c (INITIAL_NUM_NAMES, - INITIAL_SIZE_STRINGS, INITIAL_NUM_LOCREC): Update to accomodate - current number of locales in SUPPORTED. - (create_archive): Initialize serial. - (enlarge_archive): Preserve aliases rather than duplicating - their locrecs. - -2007-04-13 Jakub Jelinek - - * libio/genops.c (_IO_default_finish): Call _IO_lock_fini - after _IO_un_link, not before it. - - * stdio-common/printf_fp.c (___printf_fp): Fix exponent -4 - special case handling when wcp == wstartp + 1. Fix a comment typo. - * stdio-common/tfformat.c (sprint_doubles): Add a new testcase. - -2007-03-30 Jakub Jelinek - - * libio/libio.h (__underflow, __uflow, __overflow, __wunderflow, - __wuflow, __woverflow, _IO_getc, _IO_putc, _IO_peekc_locked, _IO_padn, - _IO_sgetn, _IO_seekoff, _IO_seekpos, _IO_getwc, _IO_putwc, _IO_wpadn): - Remove __THROW. - * libio/fileops.c (new_do_write, _IO_file_xsgetn_mmap, - _IO_file_xsgetn_maybe_mmap): Likewise. - * libio/oldfileops.c (old_do_write): Likewise. - * libio/libioP.h (_IO_switch_to_get_mode, _IO_switch_to_wget_mode, - _IO_init_marker, _IO_init_wmarker, _IO_default_uflow, - _IO_wdefault_uflow, _IO_default_setbuf, _IO_default_seekpos, - _IO_do_write, _IO_new_do_write, _IO_old_do_write, _IO_wdo_write, - _IO_flush_all_lockp, _IO_flush_all, _IO_cleanup, - _IO_flush_all_linebuffered, _IO_new_fgetpos, _IO_old_fgetpos, - _IO_new_fsetpos, _IO_old_fsetpos, _IO_new_fgetpos64, - _IO_old_fgetpos64, _IO_new_fsetpos64, _IO_old_fsetpos64, - _IO_file_setbuf, _IO_file_seekoff, _IO_file_xsputn, _IO_file_xsgetn, - _IO_file_underflow, _IO_file_underflow_mmap, - _IO_file_underflow_maybe_mmap, _IO_file_overflow, _IO_file_attach, - _IO_file_open, _IO_file_fopen, _IO_file_write, _IO_file_read, - _IO_file_sync, _IO_file_close_it, _IO_file_finish, - _IO_new_file_attach, _IO_new_file_close_it, _IO_new_file_finish, - _IO_new_file_fopen, _IO_new_file_setbuf, _IO_file_setbuf_mmap, - _IO_new_file_sync, _IO_new_file_underflow, _IO_new_file_overflow, - _IO_new_file_seekoff, _IO_new_file_write, _IO_new_file_xsputn, - _IO_old_file_setbuf, _IO_old_file_seekoff, _IO_old_file_xsputn, - _IO_old_file_underflow, _IO_old_file_overflow, _IO_old_file_attach, - _IO_old_file_fopen, _IO_old_file_write, _IO_old_file_sync, - _IO_old_file_close_it, _IO_old_file_finish, _IO_wfile_xsputn, - _IO_wfile_setbuf, _IO_wfile_sync, _IO_wfile_underflow, - _IO_wfile_overflow, _IO_wfile_seekoff, _IO_old_proc_open, - _IO_old_proc_close, _IO_getdelim, _IO_flush_all_internal, - _IO_adjust_column_internal, _IO_default_uflow_internal, - _IO_default_xsgetn_internal, _IO_wdefault_xsputn_internal, - _IO_wdefault_xsgetn_internal, _IO_wdefault_uflow_internal, - _IO_file_setbuf_internal, _IO_file_seekoff_internal, - _IO_file_xsputn_internal, _IO_file_xsgetn_internal, - _IO_file_close_it_internal, _IO_file_underflow_internal, - _IO_file_overflow_internal, _IO_file_attach_internal, - _IO_file_fopen_internal, _IO_file_sync_internal, - _IO_file_finish_internal, _IO_wfile_xsputn_internal, - _IO_wfile_seekoff_internal, _IO_wfile_sync_internal, - _IO_switch_to_wget_mode_internal, _IO_padn_internal, - _IO_switch_to_get_mode_internal, _IO_seekoff_unlocked, - _IO_seekpos_unlocked): Likewise. - (_IO_strtod, _IO_dtoa, _IO_outfloat, _IO_read, _IO_write, - _IO_lseek, _IO_close, _IO_fstat): Remove unused prototypes. - -2007-04-16 Jakub Jelinek - - * locale/programs/locarchive.c (show_archive_content): Fix sizeof - argument in xmalloc size computation. - -2007-04-01 Jakub Jelinek - - * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Use - math_opt_barrier and math_force_eval macros. - -2007-03-27 Jakub Jelinek - - [BZ #3306] - * math/math_private.h (math_opt_barrier, math_force_eval): Define. - * sysdeps/i386/fpu/math_private.h: New file. - * sysdeps/x86_64/fpu/math_private.h: New file. - * math/s_nexttowardf.c (__nexttowardf): Use math_opt_barrier and - math_force_eval macros. Use "+m" constraint on asm rather than - "=m" and "m". - * math/s_nextafter.c (__nextafter): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): - Likewise. - * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise. - * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Likewise. - * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise. - * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Use - math_opt_barrier and math_force_eval macros. - * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl): Likewise. - * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Likewise. - * sysdeps/i386/fpu/s_nexttoward.c: Include float.h. - (__nexttoward): Use math_opt_barrier and - math_force_eval macros. Use "+m" constraint on asm rather than - "=m" and "m". Only use asm to force double result if - FLT_EVAL_METHOD is 2. - * sysdeps/i386/fpu/s_nexttowardf.c: Include float.h. - (__nexttowardf): Use math_opt_barrier and - math_force_eval macros. Use "+m" constraint on asm rather than - "=m" and "m". Only use asm to force double result if - FLT_EVAL_METHOD is not 0. - * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include float.h. - (__nexttowardf): Use math_opt_barrier and - math_force_eval macros. If FLT_EVAL_METHOD is not 0, force - x to float using asm. - * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include float.h. - (__nldbl_nexttowardf): Use math_opt_barrier and - math_force_eval macros. If FLT_EVAL_METHOD is not 0, force - x to float using asm. - * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include float.h. - (__nexttowardf): Use math_opt_barrier and math_force_eval - macros. If FLT_EVAL_METHOD is not 0, force x to float using asm. - * math/bug-nextafter.c (zero, inf): New variables. - (main): Add new tests. - * math/bug-nexttoward.c (zero, inf): New variables. - (main): Add new tests. - -2007-03-22 Jakub Jelinek - - [BZ #3427] - * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Clear all - exceptions both in SW and MXCSR. - * sysdeps/x86_64/fpu/feupdateenv.c: New file. - * sysdeps/x86_64/fpu/feenablxcpt.c (feenableexcept): Remove dead code. - * sysdeps/x86_64/fpu/fedisblxcpt.c (fedisableexcept): Likewise. - * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions - in MXCSR if SSE is available. - * sysdeps/i386/fpu/feupdateenv.c: Include unistd.h, dl-procinfo.h - and ldsodefs.h. - (__feupdateenv): Query exceptions also from MXCSR if SSE is available. - Fix comment typo. - * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions. - Return 0 rather than 1. - * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Fix comment typo. - Remove incorrect part of a comment. Fix argument to feraiseexcept. - * math/test-fenv.c (feholdexcept_tests): New function. - (main): Call it. - -2007-01-05 Richard B. Kreckel - - [BZ #3427] - * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions - in SW. - -2007-04-13 Jakub Jelinek - - [BZ #4344] - * elf/ldconfig.c (search_dir): Fix 2 off-by-2 errors. - Reported by David Anderson . - -2007-04-07 Ulrich Drepper - - * posix/sys/wait.h: Remove unnecessary forward declaration. - -2007-04-05 Jakub Jelinek - - * nis/nis_call.c (__nisfind_server): Replace (*dir)->do_servers - with obj->do_servers after first_shoot. - -2007-04-03 Ulrich Drepper - - * posix/Makefile (routines): Add sched_cpucount. - (tests): Add tst-cpucount. - * posix/sched_cpucount.c: New file. - * posix/tst-cpucount.c: New file. - * posix/Versions: Export __sched_cpucount with version GLIBC_2.6. - * bits/sched.h: Define __CPU_COUNT. Declare __sched_cpucount. - * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. - * posix/sched.h: Define CPU_COUNT. - -2007-03-27 Jakub Jelinek - - * posix/fnmatch.c (STRUCT): Define. - (fnmatch): Pass NULL as last argument to internal_fn{,w}match. - * posix/fnmatch_loop.c (struct STRUCT): New type. - (FCT): Add ends argument. If ends != NULL and normal * is - seen in the pattern, store current pattern and string pointers - and return. Adjust recursive calls. - (EXT): Adjust FCT callers. - (STRUCT): Undef at the end of the file. - * posix/Makefile (tests): Add tst-fnmatch2. - * posix/tst-fnmatch2.c: New test. - -2007-04-01 Jakub Jelinek - - * sysdeps/ia64/fpu/fesetround.c (fesetround): Return 0 on success - and 1 on failure. - - * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range): - Change last argument to unsigned int. - -2007-03-23 Jakub Jelinek - - * scripts/check-local-headers.sh: Filter out sys/capability.h. - -2007-03-22 Jakub Jelinek - - * config.h.in (HAVE_LIBCAP): Add. - * nscd/selinux.h: Include sys/capability.h rather than non-existent - sys/capabilities.h. - * nscd/selinux.c (preserve_capabilities): Use cap_free instead of - free_caps. Cast away const from 4th cap_set_flag argument. - -2007-03-26 Ulrich Drepper - - * sysdeps/unix/sysv/linux/Versions: Move sync_file_range to - GLIBC_2.6. - * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): - Add sync_file_range. - Reported by Atsushi Nemoto . - -2007-03-19 Steven Munroe - - * sysdeps/powerpc/bits/atomic.h - [!MUTEX_HINT_ACQ]: Define MUTEX_HINT_ACQ. - [!MUTEX_HINT_REL]: Define MUTEX_HINT_REL. - (__arch_compare_and_exchange_val_32_acq): Add MUTEX_HINT_ACQ to lwarx. - (__arch_compare_and_exchange_val_32_rel): Add MUTEX_HINT_REL to lwarx. - (__arch_atomic_exchange_val_32_acq): Add MUTEX_HINT_ACQ to lwarx. - (__arch_atomic_exchange_rel_32_rel): Add MUTEX_HINT_REL to lwarx. - * sysdeps/powerpc/powerpc32/bits/atomic.h [_ARCH_PWR6 || _ARCH_PWR6X]: - Define MUTEX_HINT_ACQ as ",1" and MUTEX_HINT_REL as ",0". - (__arch_compare_and_exchange_bool_32_acq): Add MUTEX_HINT_ACQ to lwarx. - (__arch_compare_and_exchange_bool_32_rel): Add MUTEX_HINT_REL to lwarx. - * sysdeps/powerpc/powerpc64/bits/atomic.h [_ARCH_PWR6 || _ARCH_PWR6D]: - Define MUTEX_HINT_ACQ as ",1" and MUTEX_HINT_REL as ",0". - (__arch_compare_and_exchange_bool_32_acq): Add MUTEX_HINT_ACQ to lwarx. - (__arch_compare_and_exchange_bool_32_rel): Add MUTEX_HINT_REL to lwarx. - (__arch_compare_and_exchange_bool_64_acq): Add MUTEX_HINT_ACQ to lwarx. - (__arch_compare_and_exchange_bool_64_rel): Add MUTEX_HINT_REL to lwarx. - (__arch_compare_and_exchange_val_64_acq): Add MUTEX_HINT_ACQ to lwarx. - (__arch_compare_and_exchange_val_64_rel): Add MUTEX_HINT_REL to lwarx. - (__arch_atomic_exchange_val_64_acq): Add MUTEX_HINT_ACQ to lwarx. - (__arch_atomic_exchange_rel_64_rel): Add MUTEX_HINT_REL to lwarx. - -2007-03-20 Jakub Jelinek - - * sysdeps/unix/sysv/linux/powerpc/libc-start.c - (__cache_line_size): Define the variable here. Add - attribute_hidden, remove weak_extern. - (__libc_start_main): Set __cache_line_size - unconditionally. - * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c - (__cache_line_size): Define the variable here. Add - attribute_hidden, remove weak_extern. - (DL_PLATFORM_AUXV): Set __cache_line_size - unconditionally. - * sysdeps/powerpc/powerpc32/dl-machine.c (__cache_line_size): Remove - weak_extern, add attribute_hidden. - (__elf_machine_runtime_setup): Assume __cache_line_size is always - defined in ld.so. - * sysdeps/powerpc/powerpc32/memset.S (__cache_line_size): Remove - definition. - * sysdeps/powerpc/powerpc64/memset.S (__cache_line_size): Likewise. - -2007-03-26 Jakub Jelinek - - [BZ #4276] - * timezone/africa: Update from tzdata2007d. - * timezone/asia: Likewise. - * timezone/australasia: Likewise. + [BZ #738] + * elf/dl-load.c (open_path): If rtld_search_dirs is in RELRO segment, + avoid writing to it if none of the standard search directories exist. + +2005-02-07 Steven Munroe + + [BZ #700] + * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S + (__novec_setcontext, __setcontext): Fix typo so CCR is restored. + Load MSR as a doubleword. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S + (__novec_swapcontext, __swapcontext): Likewise. + +2005-02-07 Ulrich Drepper + + * iconv/iconv_prog.c (main): Provide more help in case on an error. + + * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Define. + +2005-02-07 Jakub Jelinek + + [BZ #741] + * nscd/nscd.c (termination_handler): Avoid segfault if some database + is not enabled. + + [BZ #741] + * nscd/nscd_getai.c (__nscd_getai): If ai_resp->found == -1, set + __nss_not_use_nscd_hosts and return -1. + * nscd/nscd_initgroups.c (__nscd_getgrouplist): If + initgr_resp->found == -1, set __nss_not_use_nscd_group and return -1. + Avoid leaking sockets. + +2005-01-28 Andreas Schwab + H.J. Lu + + [BZ #677] + * elf/dl-runtime.c (fixup): Change return type to + DL_FIXUP_VALUE_TYPE. Use DL_FIXUP_VALUE_TYPE, + DL_FIXUP_MAKE_VALUE and DL_FIXUP_VALUE_CODE_ADDR for relocation + values. Use DL_FIXUP_VALUE_ADDR and DL_FIXUP_ADDR_VALUE to + store and retrieve relocation values. + (profile_fixup): Likewise. + * include/link.h (link_map): Use DL_FIXUP_VALUE_TYPE for + l_reloc_result. + * sysdeps/generic/dl-fptr.h (link_map): Forward declaration. + * sysdeps/generic/dl-lookupcfg.h (DL_FIXUP_VALUE_TYPE): New. + (DL_FIXUP_MAKE_VALUE): Likewise. + (DL_FIXUP_VALUE_CODE_ADDR): Likewise. + (DL_FIXUP_VALUE_ADDR): Likewise. + (DL_FIXUP_ADDR_VALUE): Likewise. + * sysdeps/ia64/dl-lookupcfg.h: Include for "struct fdesc". + (DL_FIXUP_VALUE_TYPE): New. + (DL_FIXUP_MAKE_VALUE): Likewise. + (DL_FIXUP_VALUE_CODE_ADDR): Likewise. + (DL_FIXUP_VALUE_ADDR): Likewise. + (DL_FIXUP_ADDR_VALUE): Likewise. + * sysdeps/ia64/dl-machine.h (elf_machine_profile_fixup_plt): Removed. + (elf_machine_profile_plt): Removed. + (elf_machine_fixup_plt): Change return type and type of value + parameter to struct fdesc. + (elf_machine_plt_value): Likewise. + (elf_machine_rela): Use DL_FIXUP_MAKE_VALUE to construct + argument for elf_machine_fixup_plt. + +2005-02-07 Jakub Jelinek + + [BZ #742] + * nscd/nscd.init (reload): Print Reloading nscd: before and a newline + after the status string printed by killproc. + +2004-11-18 Alexandre Oliva + + * manual/.cvsignore: Add dir-add.texi. + +2005-02-06 Richard Henderson + + * sysdeps/alpha/dl-machine.h (elf_machine_rela): Use RESOLVE_MAP + all the time. + +2004-11-03 Marcus Brinkmann + + * configure.in (sysnames): Append sysdeps/generic for each add-on. + * configure: Regenerated. + +2005-02-02 Alfred M. Szmidt + + * sysdeps/mach/hurd/tls.h: Include + (dtv_t): Change pointer type to be a struct which also contains + information whether the memory pointed to is static TLS or not. + + * sysdeps/generic/syslog.c (send_flags) [!send_flags]: Define it. + + * shadow/sgetspent_r.c (FALSE): Macro renamed to ... + (FALSEP): ... this. Updated all references. + + [BZ #765] + * libio/fmemopen.c: Include . + +2005-01-30 Ulrich Drepper + + [BZ #1103] + * nscd/nscd_helper.c (get_mapping): Use MSG_NOSIGNAL if available. + * nscd/connections.c (send_ro_fd): Likewise. + +2005-01-28 H.J. Lu + + * elf/tst-auditmod1.c: Add ia64 entries. + * sysdeps/generic/ldsodefs.h (La_ia64_regs): New. + (La_ia64_retval): New. + (audit_ifaces): Add ia64 entries. + * sysdeps/ia64/bits/link.h: New file. + * sysdeps/ia64/dl-machine.h (elf_machine_runtime_setup): Test + for dl_profile non-null. + (ARCH_LA_PLTENTER): New. + (ARCH_LA_PLTEXIT): New. + * sysdeps/ia64/dl-trampoline.S (_dl_runtime_resolve): Allocate + only 2 output registers. Allocate stack to save/restore + 8 incoming fp registers. Call _dl_fixup instead of fixup. + (_dl_runtime_profile): Rewrite. + +2005-01-28 Martin Schwidefsky + + * sysdeps/s390/bits/link.h: New file. + * sysdeps/s390/s390-32/dl-trampoline.S: New file. + * sysdeps/s390/s390-64/dl-trampoline.S: New file. + * sysdeps/s390/s390-32/dl-machine.h: Move PLT trampolines to + dl-trampoline.S. Use RESOLVE_MAP instead of RESOLVE to protect + relocation code. + (elf_machine_runtime_setup): Test for dl_profile non-null. + (elf_machine_rela): Remove code using RESOLVE. + (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New. + * sysdeps/s390/s390-64/dl-machine.h: Likewise. + * sysdeps/generic/ldsodefs.h (La_s390_32_regs, La_s390_32_retval, + La_s390_64_regs, La_s390_64_retval): New. + * elf/tst-auditmod1.c: Add s390 entries. + + [BZ #743] + * sysdeps/s390/bits/string.h (strlen, strncpy, strcat, strncat, + strncat, memchr, strcmp): Add missing memory clobber. + +2005-01-27 Ulrich Drepper + + * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_globfree): Also + copy gl_offs. Patch by Sergey Tikhonov . + +2005-01-27 Paolo Bonzini + + [BZ #558] + * posix/regcomp.c (calc_inveclosure): Return reg_errcode_t. + Initialize the node sets in dfa->inveclosures. + (analyze): Initialize inveclosures only if it is needed. + Check errors from calc_inveclosure. + * posix/regex_internal.c (re_dfa_add_node): Do not initialize + the inveclosure node set. + * posix/regexec.c (re_search_internal): If nmatch includes unused + subexpressions, reset them to { rm_so: -1, rm_eo: -1 } here. + + * posix/regcomp.c (parse_bracket_exp) [!RE_ENABLE_I18N]: + Do build a SIMPLE_BRACKET token. + + * posix/regexec.c (transit_state_mb): Do not examine nodes + where ACCEPT_MB is not set. + +2005-01-27 Jakub Jelinek + + * stdlib/tst-fmtmsg.c: Include stdlib.h. + * stdio-common/tst-fmemopen2.c: Include string.h. + * posix/execvp.c: Include stdbool.h. + +2004-12-13 Paolo Bonzini + + Separate parsing and creation of the NFA. Avoided recursion on + the (very unbalanced) parse tree. + [BZ #611] + * posix/regcomp.c (struct subexp_optimize, analyze_tree, calc_epsdest, + re_dfa_add_tree_node, mark_opt_subexp_iter): Removed. + (optimize_subexps, duplicate_tree, calc_first, calc_next, + mark_opt_subexp): Rewritten. + (preorder, postorder, lower_subexps, lower_subexp, link_nfa_nodes, + create_token_tree, free_tree, free_token): New. + (analyze): Accept a regex_t *. Invoke the passes via the preorder and + postorder generic visitors. Do not initialize the fields in the + re_dfa_t that represent the transitions. + (free_dfa_content): Use free_token. + (re_compile_internal): Analyze before UTF-8 optimizations. Do not + include optimization of subexpressions. + (create_initial_state): Fetch the DFA node index from the first node's + bin_tree_t *. + (optimize_utf8): Abort on unexpected nodes, including OP_DUP_QUESTION. + Return on COMPLEX_BRACKET. + (duplicate_node_closure): Fix comment. + (duplicate_node): Do not initialize the fields in the + re_dfa_t that represent the transitions. + (calc_eclosure, calc_inveclosure): Do not handle OP_DELETED_SUBEXP. + (create_tree): Remove final argument. All callers adjusted. Rewritten + to use create_token_tree. + (parse_reg_exp, parse_branch, parse_expression, parse_bracket_exp, + build_charclass_op): Use create_tree or create_token_tree instead + of re_dfa_add_tree_node. + (parse_dup_op): Likewise. Also free the tree using free_tree for + "{0}", and lower OP_DUP_QUESTION to OP_ALT: "a?" is equivalent + to "a|". Adjust invocation of mark_opt_subexp. + (parse_sub_exp): Create a single SUBEXP node. + * posix/regex_internal.c (re_dfa_add_node): Remove last parameter, + always perform as if it was 1. Do not initialize OPT_SUBEXP and + DUPLICATED, and initialize the DFA fields representing the transitions. + * posix/regex_internal.h (re_dfa_add_node): Adjust prototype. + (re_token_type_t): Move OP_DUP_PLUS and OP_DUP_QUESTION to the tokens + section. Add a tree-only code SUBEXP. Remove OP_DELETED_SUBEXP. + (bin_tree_t): Include a full re_token_t for TOKEN. Turn FIRST and + NEXT into pointers to trees. Remove ECLOSURE. + +2004-12-28 Paolo Bonzini + + [BZ #605] + * posix/regcomp.c (parse_bracket_exp): Do not modify DFA nodes + that were already created. + * posix/regex_internal.c (re_dfa_add_node): Set accept_mb field + in the token if needed. + (create_ci_newstate, create_cd_newstate): Set accept_mb field + from the tokens' field. + * posix/regex_internal.h (re_token_t): Add accept_mb field. + (ACCEPT_MB_NODE): Removed. + * posix/regexec.c (proceed_next_node, transit_states_mb, + build_sifted_states, check_arrival_add_next_nodes): Use + accept_mb instead of ACCEPT_MB_NODE. + +2005-01-26 Ulrich Drepper + + [BZ #1100] + * debug/chk_fail.c (__chk_fail): Print program name in final message. + + * sysdeps/unix/sysv/linux/kernel-features.h: Found reference to + MSG_NOSIGNAL being in 2.2 kernels. + +2005-01-26 Jakub Jelinek + + * sysdeps/unix/sysv/linux/i386/sysdep.h + (SYSCALL_ERROR_HANDLER_TLS_STORE): Remove unnecessary 0 imm. + + [BZ #693] + * posix/regex_internal.h (DUMMY_CONSTRAINT): Rename to... + (WORD_DELIM_CONSTRAINT): ...this. + (NOT_WORD_DELIM_CONSTRAINT): Define. + (re_context_type): Add INSIDE_NOTWORD and NOT_WORD_DELIM, + change WORD_DELIM to use WORD_DELIM_CONSTRAINT. + * posix/regcomp.c (peek_token): For \B create NOT_WORD_DELIM + anchor instead of INSIDE_WORD. + (parse_expression): Handle NOT_WORD_DELIM constraint. + * posix/bug-regex19.c (tests): Adjust tests that relied on \B + being inside word instead of not word delim. + * posix/tst-rxspencer.c (mb_frob_pattern): Don't frob escaped + characters. + * posix/rxspencer/tests: Add some new tests. + +2005-01-14 GOTO Masanori + + [BZ #1108] + * sunrpc/rpc_main.c (s_output): Generate #include + irrespective of Cflag. + + * manual/memory.texi (sbrk): Fix definition. + * manual/string.texi (strcasestr): Fix example typo. + +2005-01-25 Roland McGrath + + * sysdeps/generic/syslog.c [NO_SIGPIPE]: Protect sigpipe_handler decl. + +2005-01-23 Roland McGrath + + [BZ #737] + * sysdeps/i386/Makefile (defines): If -mno-tls-direct-seg-refs appears + in $(CFLAGS), add -DNO_TLS_DIRECT_SEG_REFS. + * sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD] + (SYSCALL_ERROR_HANDLER) [NO_TLS_DIRECT_SEG_REFS]: Load thread pointer + from %gs:0 and add to that value, rather that direct %gs:OFFSET access. + * sysdeps/unix/i386/sysdep.S [NO_TLS_DIRECT_SEG_REFS]: Likewise. + +2005-01-25 Jakub Jelinek + + [BZ #731] + * stdlib/fmtmsg.c (addseverity): Remove new_string variable. + (free_mem): Don't free string. + * stdlib/tst-fmtmsg.c: Include string.h. + (main): Add some more tests. + +2005-01-25 Andreas Schwab + + [BZ #736] + * timezone/asia: Update from tzdata2005c. * timezone/backward: Likewise. * timezone/europe: Likewise. - * timezone/iso3166.tab: Likewise. * timezone/leapseconds: Likewise. * timezone/northamerica: Likewise. * timezone/southamerica: Likewise. - * timezone/zone.tab: Likewise. - * timezone/private.h: Update from tzcode2007d. + [BZ #736] + * timezone/private.h: Update from tzcode2005c. + * timezone/tzfile.h: Likewise. * timezone/zdump.c: Likewise. * timezone/zic.c: Likewise. -2007-03-21 Jakub Jelinek - - * nis/nis_call.c: Include bits/libc-lock.h, sys/stat.h, unistd.h. - (nis_server_cache, nis_server_cache_lock, nis_cold_start_mtime): New - variables. - (nis_server_cache_search, nis_server_cache_add): New functions. - (__nisfind_server): Use them. Add dbp and flags argument, if - call __nisbind_create. - (__nisbind_create): Add server_used and current_ep arguments, - only call __nis_findfastest if server_used is ~0. - (__do_niscall2, __prepare_niscall): Adjust callers. - (ckey_cache, ckey_cache_size, ckey_cache_allocated, ckey_cache_pid, - ckey_cache_euid, ckey_cache_lock): New variables. - (get_ckey): New function. - (__nisbind_connect): If not dbp->use_udp, pass IPPROTO_TCP to - __pmap_getnisport. Save __pmap_getnisport result in - dbp->addr.sin_port if non-zero. Use get_ckey to create conversation - key. - * nis/nis_lookup.c (nis_lookup): Likewise. - * nis/nis_table.c (nis_list): Likewise. - * nis/rpcsvc/nislib.h (__nisbind_create, __nisfind_server): Adjust - prototypes. - - * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_getpwnam_r, - _nss_nisplus_getpwuid_r): Pass USE_DGRAM flag to nis_list. - * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_getservbyname_r, - _nss_nisplus_getservbyport_r): Likewise. - * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r, - _nss_nisplus_getnetbyaddr_r): Likewise. - * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_getspnam_r): Likewise. - * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r, - _nss_nisplus_getntohost_r): Likewise. - * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r, - _nss_nisplus_getrpcbynumber_r): Likewise. - -2007-03-20 Jakub Jelinek - - * configure.in (libc_cv_gnu89_inline): Only do compile test. - * configure: Rebuilt. - - * soft-fp/double.h (_FP_UNION_D): Use _FP_W_TYPE for frac - bit-fields. - * soft-fp/extended.h (_FP_UNION_E): Likewise. - -2006-06-07 Joseph Myers - - [BZ #2831] - * soft-fp/quad.h (_FP_UNION_Q): Use _FP_W_TYPE for frac - bit-fields. - -2007-03-18 Jakub Jelinek - - * nscd/gai.c: Include alloca.h. - (__libc_use_alloca): Define. - -2007-03-16 Jakub Jelinek - - * elf/dl-open.c (dl_open_worker): Declare l in 2 different - smaller scopes. - * elf/dl-dst.h (DL_DST_REQ_STATIC): Add l as macro argument. - (DL_DST_REQUIRED): Adjust user. - - * include/dlfcn.h (struct link_map): New forward decl. - - * inet/getnameinfo.c: Include stddef.h. - (getnameinfo): Use offsetof. - - * time/tst-mktime2.c (do_test): Don't rely on signed wrap. - - * stdio-common/vfprintf.c (_itoa): Undef before redefining. - - * string/strerror_l.c: Include stdlib.h. - - * configure.in (libc_cv_gnu89_inline): Test for -fgnu89-inline. - * config.make.in (gnu89-inline-CFLAGS): New variable. - * Makeconfig (CFLAGS): Use $(gnu89-inline-CFLAGS) together with - -std=gnu99. - * misc/sys/cdefs.h (__extern_inline, __extern_always_inline): Define. - * argp/argp.h: Use it. - * bits/mathinline.h: Likewise. - * bits/sigset.h: Likewise. - * bits/string.h: Likewise. - * ctype/ctype.h: Likewise. - * hurd/hurd.h: Likewise. - * hurd/hurd/fd.h: Likewise. - * hurd/hurd/port.h: Likewise. - * hurd/hurd/signal.h: Likewise. - * hurd/hurd/threadvar.h: Likewise. - * hurd/hurd/userlink.h: Likewise. - * io/sys/stat.h: Likewise. - * libio/bits/stdio.h: Likewise. - * libio/bits/stdio2.h: Likewise. - * mach/lock-intern.h: Likewise. - * mach/mach/mig_support.h: Likewise. - * math/bits/cmathcalls.h: Likewise. - * posix/bits/unistd.h: Likewise. - * socket/bits/socket2.h: Likewise. - * stdlib/bits/stdlib.h: Likewise. - * stdlib/stdlib.h: Likewise. - * string/argz.h: Likewise. - * string/bits/string2.h: Likewise. - * string/bits/string3.h: Likewise. - * sysdeps/alpha/fpu/bits/mathinline.h: Likewise. - * sysdeps/generic/inttypes.h: Likewise. - * sysdeps/generic/machine-lock.h: Likewise. - * sysdeps/generic/machine-sp.h: Likewise. - * sysdeps/i386/fpu/bits/mathinline.h: Likewise. - * sysdeps/i386/i486/bits/string.h: Likewise. - * sysdeps/ia64/fpu/bits/mathinline.h: Likewise. - * sysdeps/mach/alpha/machine-lock.h: Likewise. - * sysdeps/mach/alpha/machine-sp.h: Likewise. - * sysdeps/mach/i386/machine-lock.h: Likewise. - * sysdeps/mach/powerpc/machine-lock.h: Likewise. - * sysdeps/mach/powerpc/machine-sp.h: Likewise. - * sysdeps/powerpc/fpu/bits/mathinline.h: Likewise. - * sysdeps/s390/bits/string.h: Likewise. - * sysdeps/s390/fpu/bits/mathinline.h: Likewise. - * sysdeps/sparc/fpu/bits/mathinline.h: Likewise. - * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise. - * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/sys/sysmacros.h: Likewise. - * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise. - * wcsmbs/bits/wchar2.h: Likewise. - * wcsmbs/wchar.h: Likewise. - * stdlib/gmp.h: Likewise. Include to get - __extern_inline definition. - -2007-03-15 Jakub Jelinek - - * locale/programs/ld-ctype.c (find_translit): Return NULL if ctype is - NULL. - - [BZ #3919] - * math/libm-test.inc (log_test): Test -Inf and NaN. - (log10_test, log1p_test, log2_test): Test -Inf. - * sysdeps/i386/fpu/e_log.S (__ieee754_log): Don't raise - FE_INVALID when argument is qNaN. - * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise. - * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise. - * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise. - * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Replace - andb $1, %ah with testb $1, %ah, don't test for parity, instead - testb $4, %ah and jump if non-zero. - * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise. - * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise. - - [BZ #4101] - * argp/argp-help.c (hol_cluster_cmp): Fix comparisons used to find - ancestors with the same depths. - Patch by Niels Moeller . - (filter_doc): Don't crash if argp is NULL. - * argp/Makefile (tests): Add tst-argp2. - * argp/tst-argp2.c: New test. - - [BZ #4130] - * login/utmp_file.c (setutent_file): Use O_LARGEFILE for - open_not_cancel_2. - (updwtmp_file): Likewise. - - [BZ #4181] - * inet/inet6_opt.c (add_padding): Only insert padding if npad > 0. - (inet6_opt_append): Don't check extlen is big enough if extbuf - is NULL. - (inet6_opt_finish): Likewise. - * inet/Makefile (tests): Add test-inet6_opt. - * inet/test-inet6_opt.c: New test. - - * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Never - reallocate the buffer, instead fail for MSG_TRUNC or for EBUSY - NLMSG_ERR. Instead use a page sized buffer. - * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use page sized - buffer. - -2007-03-14 Richard Henderson - - * sysdeps/alpha/fpu/s_llround.c: New file. - * sysdeps/alpha/fpu/s_llroundf.c: New file. - * sysdeps/alpha/fpu/s_lround.c: New file. - * sysdeps/alpha/fpu/s_lroundf.c: New file. - * sysdeps/alpha/fpu/s_round.c: New file. - * sysdeps/alpha/fpu/s_roundf.c: New file. - * sysdeps/alpha/fpu/s_trunc.c: New file. - * sysdeps/alpha/fpu/s_truncf.c: New file. - - * sysdeps/alpha/fpu/s_ceil.c: Rewrite without branches. - * sysdeps/alpha/fpu/s_ceilf.c: Likewise. - * sysdeps/alpha/fpu/s_floor.c: Likewise. - * sysdeps/alpha/fpu/s_floorf.c: Likewise. - * sysdeps/alpha/fpu/s_rint.c: Likewise. - * sysdeps/alpha/fpu/s_rintf.c: Likewise. - - * sysdeps/alpha/fpu/s_fmax.S: New file. - * sysdeps/alpha/fpu/s_fmaxf.S: New file. - * sysdeps/alpha/fpu/s_fmin.S: New file. - * sysdeps/alpha/fpu/s_fminf.S: New file. - * sysdeps/alpha/fpu/s_isnan.c: New file. - * sysdeps/alpha/fpu/s_isnanf.c: New file. - * sysdeps/alpha/fpu/s_llrint.c: New file. - * sysdeps/alpha/fpu/s_llrintf.c: New file. - * sysdeps/alpha/fpu/s_lrint.c: New file. - * sysdeps/alpha/fpu/s_lrintf.c: New file. - * sysdeps/alpha/fpu/s_nearbyint.c: New file. - * sysdeps/alpha/fpu/s_nearbyintf.c: New file. - - * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor): Remove. - (__fdimf, fdimf, __fdim, fdim): Remove. - (__signbitf, __signbit, __signbitl): Use gcc builtin if available. - (__isnanf, __isnan, __isnanl): New. - -2007-03-13 Richard Henderson - - * sysdeps/ieee754/ldbl-128/Makefile: New file. - -2007-03-13 Richard Henderson - - * sysdeps/alpha/Makefile (sysdep-CFLAGS): Force dynamic rounding. - * sysdeps/alpha/fpu/bits/mathinline.h (__signbitl): New. - * sysdeps/alpha/fpu/libm-test-ulps: Regenerate. - * sysdeps/unix/sysv/linux/alpha/alphaev6/fpu/Implies: New file. - * sysdeps/unix/sysv/linux/alpha/alphaev67/fpu/Implies: New file. - * sysdeps/unix/sysv/linux/alpha/fpu/Implies: New file. - -2007-03-13 Richard Henderson - - * elf/dl-support.c (_dl_aux_init): Honor DL_PLATFORM_AUXV. - * sysdeps/unix/sysv/linux/alpha/dl-auxv.h: New file. - * sysdeps/unix/sysv/linux/alpha/dl-support.c: New file. - * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c (__libc_alpha_cache_shape): - Move to dl-auxv.h; initialize instead of extern weak. - (DL_PLATFORM_AUXV): Move to dl-auxv.h; don't test for undef - weak symbol. - * sysdeps/unix/sysv/linux/alpha/sysconf.c (__libc_alpha_cache_shape): - Extern instead of initialized. - -2007-03-13 Richard Henderson - - * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Add support for - __sigsuspend_nocancel. - -2007-03-06 Ulrich Drepper - - * sysdeps/posix/getaddrinfo.c (get_scope): Correct test for - 172.16/12 address range. - -2007-03-02 Jakub Jelinek - - * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Retry with - a new netlink socket if NLMSG_ERR -EBUSY is seen after some MSG_TRUNC - message. - -2007-03-01 Jakub Jelinek - - [BZ #4069] - * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Check for NaN - earlier. - * math/libm-test.inc (pow_test): Add more tests involving NaNs. - - * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Avoid invalid exception - for x qNaN and y either +-inf or non-integer value. - * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Likewise. - * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. - * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise. - -2007-02-10 Mike Frysinger +2005-01-25 Ulrich Drepper - * sysdeps/unix/sysv/linux/sh/Makefile: Remove sys/io.h - from sysdep_headers. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove code using + RESOLVE. + * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Remove code + using RESOLVE. + * elf/rtld.c (_dl_start): Remove RESOLVE definition. -2007-02-28 Jakub Jelinek +2005-01-25 Alan Modra - * time/tzfile.c (find_transition): Instead of a linear search try to - guess the transition index, use a linear search if the result is at - most 10 transitions away from the guess or binary search otherwise. + * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Test + sym_map, not sym, against zero. -2007-02-27 Jakub Jelinek +2005-01-24 Ulrich Drepper - * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Fix - memory reallocation. + [BZ #671] + * misc/syslog.c: Moved to... + * sysdeps/generic/syslog.c: ...here. + [NO_SIGIPE]: Don't install SIGPIPE handler. + * sysdeps/unix/sysv/linux/syslog.c: New file. + * sysdeps/unix/sysv/linux/kernel-features.h: Define + __ASSUME_MSG_NOSIGNAL. -2007-02-21 Ulrich Drepper +2005-01-22 Richard Henderson - * stdlib/strtod_l.c (____STRTOF_INTERNAL): Add branch predictions - and fix some typos. - Optimize use of TOLOWER. + * sysdeps/alpha/dl-trampoline.S: New file. + * sysdeps/alpha/dl-machine.h: Move PLT trampolines there. + Use RESOLVE_MAP instead of RESOLVE to protect relocation code. + (elf_machine_runtime_setup): Test for dl_profile non-null. + (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New. + * sysdeps/alpha/bits/link.h: New file. + * sysdeps/generic/ldsodefs.h (La_alpha_regs, La_alpha_retval): New. + (struct audit_ifaces): Add alpha entries. + * elf/tst-auditmod1.c: Add alpha entries. - [BZ #3325] - * sysdeps/i386/fpu/e_fmodf.S: Revert last changes, keep using fprem. - * sysdeps/i386/fpu/e_fmodl.c: Likewise. - * sysdeps/i386/fpu/e_fmod.S: Likewise. +2005-01-22 Ulrich Drepper - [BZ #3458] - * sysdeps/unix/sysv/linux/posix_madvise.c: New file. - * sysdeps/unix/sysv/linux/syscalls.list: Remove posix_madvise entry. + * sysdeps/ia64/dl-machine.h: Remove PLT trampolines here. + * sysdeps/ia64/dl-trampoline.S: New file. - [BZ #4076] - * io/ftw.c (ftw_startup): Handle special case of FTW_CHDIR in /. - (open_dir_stream): Likewise. - * io/Makefile (tests): Add bug-ftw5. - * io/bug-ftw5.c: New file. + * sysdeps/x86_64/bits/link.h: Use namespace-safe identifiers in + La_x86_64_xmm definition. - * nscd/hstcache.c (cache_addhst): Remove unnecessary conditional. - * nscd/servicescache.c (cache_addserv): Likewise. + * posix/Makefile: Use CFLAGS-*.os instead of CFLAGS-*.c for frame + pointer option. + * stdlib/Makefile (CFLAGS-system.os): Use this instead of + CFLAGS-system.c for frame pointer option. - * nscd/grpcache.c (cache_addgr): In case a record changed on - refresh, adjust key_copy. +2005-01-21 Roland McGrath - [BZ #4074] - * nscd/pwdcache.c (cache_addpw): In case a record changed on - refresh, adjust key_copy. + * elf/dl-runtime.c (_dl_profile_fixup): Remove const from REGS. + * sysdeps/i386/dl-machine.h: Update decl. - [BZ #4070] - * stdio-common/printf_fp.c (___printf_fp): Handle a few more - special cases. - * stdio-common/tfformat.c (sprint_doubles): Some more tests. +2005-01-21 Jakub Jelinek -2007-02-19 Ulrich Drepper + [BZ #735] + * elf/Makefile: Add rules to build and run tst-align2. + * elf/tst-align2.c: New test. + * elf/tst-alignmod2.c: New file. + * sysdeps/powerpc/tst-stack-align.h: New file. + * sysdeps/i386/dl-machine.h (RTLD_START): Align stack and clear frame + pointer before calling _dl_init. + * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise. - * stdio-common/printf_fp.c (___printf_fp): Cleanups and minor - optimization. +2005-01-20 Ulrich Drepper - * stdio-common/vfscanf.c: Small cleanups throughout. + * posix/execl.c: Do not allocate potentially large buffers on the + stack. + * posix/execle.c: Likewise. + * posix/execlp.c: Likewise. + * posix/execvp.c: Likewise. + (script_execute): Removed. + (allocate_scripts_argv): New function. Called at most once to + allocate memory, not every time a script is run. Adjust caller. -2007-02-18 Ulrich Drepper + * sysdeps/generic/wordexp.c (exec_comm): Add a few + TEMP_FAILURE_RETRY. Reorganize code to avoid multiple calls to + exec_comm_child. + (exec_comm_child): Can now be inlined. - [BZ #3325] - * sysdeps/i386/fpu/e_fmodf.S: Use fprem1 instead of fprem. - * sysdeps/i386/fpu/e_fmodl.c: Likewise. - * sysdeps/i386/fpu/e_fmod.S: Likewise. - Patch by Jared Casper . + * posix/Makefile: Add -fomit-frame-pointer for a few more files. + * stdlib/Makefile: Likewise. - * sysdeps/unix/closedir.c: Outside libc don't use locking. - * sysdeps/unix/opendir.c: Likewise. - * sysdeps/unix/readdir.c: Likewise. +2005-01-19 Roland McGrath - [BZ #2211] - * stdio-common/vfscanf.c: Handle localized digits etc for floating - point numbers. - Patch mostly by Hamed Malek . + [BZ #681] + * sunrpc/openchild.c (_openchild): Use NULL instead of 0 for trailing + argument to execlp. + Reported by Marcus Meissner . - * stdio-common/vfscanf.c: Fix problems in width accounting. - * stdio-common/tst-sscanf.c (double_tests): New tests. - (main): Hook them up. +2005-01-19 Jakub Jelinek - * stdio-common/vfscanf.c: Remove unused WIDTH handling. - More simplifications of floating-point reader. + * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Fix a typo + in assert. + * iconv/strtab.c (strtabfinalize): Likewise. - * stdio-common/Makefile (tests): Add tst-swscanf. - * stdio-common/tst-sscanf.c: Make tests usable for swscanf - testing. - * stdio-common/tst-swscanf.c: New file. + * libio/iofopncook.c (_IO_cookie_seekoff): Add prototype. -2007-02-17 Ulrich Drepper +2005-01-17 Roland McGrath - [BZ #2633] - * libio/stdio.h: Define struct _IO_FILE in global namespace. - * setjmp/setjmp.h: Define __jmp_buf_tag in global namespace. - Remove using for __jmp_buf_tag. - * locale/locale.h (struct lconv): Also define in std namespace. - * wcsmbs/wchar.h: Move using declaration for tm out of namespace. + [BZ #745] + * nscd/Makefile (LDLIBS-nscd): New variable. + ($(objpfx)nscd): Use that instead of selinux-LIBS. - [BZ #3842] - * sysdeps/posix/euidaccess.c [_LIBC] (euidaccess): Remove shortcut - using __libc_enable_secure. + * Makeconfig (link-extra-libs): Define just as $(LDLIBS-$(@F)). + (link-extra-libs-static): Define to $(link-extra-libs). + (link-extra-libs-bounded): Likewise. - [BZ #3818] - * sysdeps/unix/sysv/linux/sys/acct.h (struct acct_v3): Define. +2005-01-17 Ulrich Drepper - [BZ #3745] - * locale/programs/ld-collate.c (handle_ellipsis): Fix generation - of names for ellipsises. + * include/link.h: Remove stray definition of pltenter. - [BZ #3348] - * malloc/memusage.sh: Cleanups. - * debug/xtrace.sh: Quoting and trap changes. +2005-01-16 GOTO Masanori -2007-02-16 Ulrich Drepper + [BZ #734] + * sysdeps/unix/rewinddir.c: Reset filepos. + * dirent/tst-seekdir.c: Check telldir value after calling rewinddir. - * locale/iso-3166.def: Add Jersey, Guernsey, and Isle Of Man entries. +2005-01-15 Ulrich Drepper - * locale/iso-3166.def: Update entry for Serbia. - * locale/iso-4217.def: Define RSD, remove CSD. + * elf/tst-auditmod1.c: Reduce duplication. - * sysdeps/x86_64/bits/atomic.h: One more change, this time for 16- - and 64-bit operations. +2005-01-16 Andreas Schwab - [BZ #4040] - * sysdeps/i386/i486/bits/atomic.h: One more change, this time for - 16-bit operations. + * sysdeps/m68k/dl-machine.h: Remove trampoline code. Define + ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT. + (elf_machine_runtime_setup): If profile != 0 does not anymore mean + GLRO(dl_profile) != NULL. + * sysdeps/m68k/dl-trampoline.S: New file. + * sysdeps/m68k/bits/link.h: New file. + * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add m68k + variants. + * elf/tst-auditmod1.c: Add m68k support. - * nscd/nscd.c (parse_opt): One more conversion to use send instead - of writev. +2005-01-14 Ulrich Drepper -2007-02-15 Ulrich Drepper + * posix/regcomp.c [!_LIBC] (init_dfa): Fix determining of relevant + LC_* variable. Patch by Aharon Robbins . - [BZ #3991] - * assert/assert.h (assert): Simplify. - (assert_perror): Likewise. - Patch by Israel G. Lugo . + [BZ #731] + * stdlib/fmtmsg.c (internal_addseverity): Remove incorrect free call. + * stdlib/tst-fmtmsg.c (main): Add another addseverity test. - * nscd/nscd_helper.c (open_socket): Don't send padding bytes from - reqdata. +2005-01-12 Ulrich Drepper - * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Cosmetic - change: don't pass NULL in place of an integer. + * elf/dl-load.c (_dl_map_object_from_fd): We don't have to allow + callers from libc anymore. -2007-02-02 Bruno Haible + * elf/dl-open.c (dl_open_worker): Pass __RTLD_AUDIT flag from caller + to _dl_map_object_deps. + * elf/dl-load.c (_dl_map_object_from_fd): Don't change memory + protections when loading auditing modules. - [BZ #3954] - * iconvdata/ksc5601.c (__ksc5601_sym_to_ucs, __ksc5601_sym_from_ucs): - Add mapping for U+327E. - * iconvdata/ksc5601.h (KSC5601_SYMBOL): Increment. - * iconvdata/johab.c (BODY for FROM_LOOP, BODY for TO_LOOP): Enable - mapping of 0xD9 0xE8. - * iconvdata/uhc.c (BODY for FROM_LOOP, BODY for TO_LOOP): Disable - mapping of U+327E. - Reported by Jungshik Shin . - - [BZ #3955] - * iconvdata/johab.c (BODY for FROM_LOOP, BODY for TO_LOOP): Enable - mapping of 0xD9 0xE6 and of 0xD9 0xE7. - Reported by Jungshik Shin . - -2007-02-14 Ulrich Drepper - - * sysdeps/x86_64/bits/atomic;h: Fix asm parameters for some - byte variants. - - [BZ #4040] - * sysdeps/i386/i486/bits/atomic.h: Fix asm parameters for some - byte variants. Patch mostly be tom@tommay.net. - -2007-02-14 Jakub Jelinek - - [BZ #3996] - * posix/glob.c (attribute_hidden): Define if not defined. - (glob): Unescape dirname, filename or username when needed and not - GLOB_NOESCAPE. Handle \/ correctly. Handle GLOB_MARK if filename - is NULL. Handle unescaped [ in pattern without closing ]. - Don't pass GLOB_CHECK down to recursive glob for directories. - (__glob_pattern_type): New function. - (__glob_pattern_p): Implement using __glob_pattern_type. - (glob_in_dir): Handle GLOB_NOCHECK patterns containing no meta - characters and backslashes if not GLOB_NOESCAPE or unterminated [. - Remove unreachable code. - * posix/globtest.sh: Add a couple of new tests. - -2007-02-13 Ulrich Drepper - - * po/ru.po: Update from translation team. - -2007-02-12 Jakub Jelinek - - * sysdeps/i386/bits/byteswap.h (__bswap_32): Add __amdfam10__ - to the list of i486+ CPUs. - * sysdeps/x86_64/bits/byteswap.h (__bswap_32): Likewise. - -2007-02-12 Ulrich Drepper - - * elf/rtld.c (RESOLVE_MAP): Always return bootstrap_map reference. - * elf/Makefile ($(objpfx)ld.so): Check that ld.so has no undefined - references. - -2007-02-09 Ulrich Drepper - - * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Remove incorrect comment. - - * resolv/res_init.c (res_setoptions): Recognize edns0 option. - * resolv/res_mkquery.c: Define __res_nopt. - * resolv/res_query.c (__libc_res_nquery): If RES_USE_EDNS0 is set - try adding EDNS0 record. - * resolv/res_send.c (send_dg): If request failed with FORMERR and - EDNS0 record was send make sure we don't try it again. - * resolv/resolv.h: Define RES_F_EDNS0ERR and RES_USE_EDNS0. - * include/resolv.h: Declare __res_nopt. - -2007-02-08 Jakub Jelinek - - [BZ #3944] - * time/strptime_l.c (__strptime_internal): Set have_mon for - %b/%B/%h. Set have_mon and have_mday if tm_mon and tm_mday - have been computed from tm_yday and tm_year. Don't crash - in day_of_the_week or day_of_the_year if not have_mon - and tm_mon contains bogus value. - * time/Makefile (tests): Add tst-strptime3. - * time/tst-strptime3.c: New test. - -2007-02-05 Jakub Jelinek - - [BZ #3957] - * posix/regcomp.c (parse_bracket_exp): Set '\n' bit rather than '\0' - bit for RE_HAT_LISTS_NOT_NEWLINE. - (build_charclass_op): Remove bogus comment. - * posix/Makefile (tests): Add bug-regex27 and bug-regex28. - * posix/bug-regex27.c: New test. - * posix/bug-regex28.c: New test. - -2007-02-03 Ulrich Drepper - - * po/sv.po: Update from translation team. - -2007-02-02 Ulrich Drepper - - * nscd/nscd_helper.c (open_socket): Minor size optimization. - -2007-02-02 Jakub Jelinek - - * include/locale.h (__uselocale): Add libc_hidden_proto. - * locale/uselocale.c (__uselocale): Add libc_hidden_def. - - * nscd/nscd_helper.c (open_socket): Use __gettimeofday instead of - gettimeofday. - -2007-02-01 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/sysdep.h (PTR_MANGLE): Roll value before - returning. - (PTR_DEMANGLE): Real definition now that it's not the same as - PRT_MANGLE anymore. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. - - * string/strerror_l.c: New file. - * string/Makefile (routines): Add strerror_l. - * string/string.h: Declare strerror_l. - * string/Versions: Export strerror_l for GLIBC_2.6. - -2007-01-31 Ulrich Drepper - - * nscd/nscd_helper.c (open_socket): Now takes request type and key - as parameter. Construct request record. Try sending request - before the first poll use, it usually succeeds. Adjust all - callers. - * nscd/nscd-client.h: Define MAXKEYLEN. - * nscd/connections.c (nscd_run): Don't define MAXKEYLEN here. - -2007-01-31 Jakub Jelinek - - * nscd/nscd-client.h (__nscd_cache_search): Remove const qualifier - from return value. - * nscd/nscd_helper.c: Include string.h. - (__nscd_cache_search): Remove const qualifier from return value. - On strict alignment architectures check hash entry and data head - alignment. - * nscd/nscd_getpw_r.c (nscd_getpw_r): Don't crash or fail because - mmapped data during GC cycle contains garbage. If - __nscd_drop_map_ref fails, decrement mapped->counter when returning - error or if retrying with NO_MAPPING, only __nscd_unmap if counter - dropped to 0. - * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. - * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise. - * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise. - * nscd/nscd_getai.c (__nscd_getai): Likewise. - * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise. - -2007-01-30 Ulrich Drepper - - * misc/hsearch_r.c (hdestroy_r): Remove unnecessary test. - -2007-01-26 Ulrich Drepper - - * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Use register - names not numbers in cfi_*. - -2007-01-26 Andreas Jaeger - - * sysdeps/unix/sysv/linux/sys/personality.h (ADDR_NO_RANDOMIZE, - ADDR_LIMIT_3GB, PER_LINUX_32BIT, PER_LINUX32_3GB): Add. - Correct values of PER_HPUX and PER_OSF4. - -2007-01-24 Ulrich Drepper - - * elf/dl-minimal.c: Undefine _itoa first. - * stdio-common/_itoa.h: Define _itoa and _fitoa for 64-bit platforms. - * malloc/mtrace.c: Revert last change. - * posix/wordexp.c: Likewise. - -2007-01-24 Jakub Jelinek - - * sysdeps/i386/bits/byteswap.h (__bswap_32): Add __nocona__, __core2__ - and __geode__ to the list of i486+ CPUs. - * sysdeps/x86_64/bits/byteswap.h (__bswap_32): Likewise. - -2007-01-23 Ulrich Drepper - - * stdio-common/_itoa.c: Include . - * stdio-common/_itowa.c: Likewise. - -2007-01-22 Ulrich Drepper - - * stdio-common/_itowa.c: Don't compile _itowa for 64-bit - platforms. - * stdio-common/_itoa.c: Don't compile in _itoa and _fitoa for - 64-bit platforms. - * malloc/mtrace.c (tr_where): Use _fitoa_word instead of _fitoa if - possible. - * posix/wordexp.c (parse_arith): Use _itoa_word instead of _itoa - if possible. - - [BZ #3902] - * stdio-common/_itoa.c (_itoa): Make sure at least a zero is emitted. - * stdio-common/Makefile (tests): Add bug17. - * stdio-common/bug17.c: New file. - -2007-01-19 Ulrich Drepper - - * iconvdata/brf.c: New file. - * iconvdata/testdata/BRF: New file. - * iconvdata/testdata/BRF..UTF8: New file. - Contributed by Samuel Thibault . - * iconvdata/Makefile: Add rules to build BRF. - * iconvdata/TESTS: Add BRF entry. - * iconvdata/gconv-modules: Likewise. - * iconvdata/tst-tables.sh: Likewise. - -2007-01-18 Anton Nikishaev - - * wcsmbs/wchar.h (wcstoll): Fix comment, function returns value of - type `long long int', not `long int'. - (wcstoq): Likewise. - -2007-01-18 Ulrich Drepper - - * scripts/gen-as-const.awk: Add cast to long to avoid int promotion - of values on 64-bit platforms which are too large. - -2007-01-12 Steven Munroe - Joe Kerian - - [BZ #2749] - * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Include - . Remove weak_alias. Use long_double_symbol macro. - (__copysignl): Use signbit() for comparison. - * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Correct parms for - SET_LDOUBLE_WORDS64. - - [BZ #2423, #2749] - * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Don't include . - (__ceill): Remove calls to fegetround(), fesetround(). - * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise. - -2007-01-17 Jakub Jelinek - - * nscd/nscd_getserv_r.c (nscd_getserv_r): Fix pastos. - - * sysdeps/unix/sysv/linux/getdents.c (offsetof): Remove. - -2007-01-17 Ulrich Drepper - - * sysdeps/unix/sysv/linux/fatal-prepare.h: Use PTHFCT_CALL to - demangle pointer. - * csu/libc-start.c: Likewise. - -2007-01-16 Ulrich Drepper - - * sysdeps/posix/system.c: Remove NO_WAITPID support, it cannot - really work anyway. - -2007-01-15 Ulrich Drepper - - * nscd/connections.c (servinfo): Renamed to reqinfo. Change all - users. - (handle_request): Remove unnecessary tests. - - * nscd/cache.c (cache_add): Record the failure to add to the cache. - -2007-01-15 Jakub Jelinek - - * soft-fp/op-common.h (FP_TRUNC): When truncating a NaN, clear - workbits in semi-raw fraction. - - * math/test-misc.c: Add new tests. - -2007-01-14 Steven Munroe - - * math/basic-test.c: Include test-skeleton.c. - (TEST_TRUNC): Define. - (truncdfsf_test, trunctfsf_test, trunctfdf_test): New. - (main): Rename to ... - (do_test): ...this. Run new tests. - (TEST_FUNCTION): Define. - -2006-10-05 Steven Munroe - Joe Kerian - - [BZ #2749] - * soft-fp/op-4.h (__FP_FRAC_SUB_3, __FP_FRAC_SUB_4): Correct borrow - handling for high words. - * soft-fp/op-common.h (_FP_OVERFLOW_SEMIRAW): Always set inexact - and overflow for infinity. - -2007-01-15 Ulrich Drepper - - * nscd/connections.c (handle_request): Add a __builtin_expect. - - * nscd/connections.c (serv2db): Change type into structure which - also says whether this is a request for data. Renamed to - servinfo. All users changed. - (handle_request): Much simpler test whether we should search the cache. - - * nscd/connections.c (handle_request): Fix thinko in selinux test - invocation. - - * sysdeps/generic/ldsodefs.h: Define DL_LOOKUP_SCOPE_LOCK. - * elf/dl-lookup.c (add_dependency): If scope map is locked, unlock - it before getting dl_load_lock and then relock. - (_dl_lookup_symbol_x): Pass flags to add_dependency. - When rerunning _dl_lookup_symbol_x, compute symbol_scope again in - case we unlocked the scope. - * elf/dl-runtime.c (_dl_fixup): Pass DL_LOOKUP_SCOPE_LOCK to - _dl_lookup_symbol_x in case we locked the scope. - (_dl_profile_fixup): Likewise. - * elf/dl-sym.c (do_sym): In flags passed to call_dl_lookup, also - set DL_LOOKUP_SCOPE_LOCK. - -2007-01-13 Ulrich Drepper - - * inet/Makefile: Define CFLAGS-getsrvbynm_r.c and - CFLAGS-getsrvbynpt_r.c. - * nscd/getsrvbynm_r.c: New file. - * nscd/getsrvbypt_r.c: New file. - * nscd/nscd_getserv_r.c: New file. - * nscd/servicescache.c: New file. - * nscd/Makefile (routines): Add nscd_getserv_r. - (nscd-modules): Add getsrvbynm_r, getsrvbypt_r, and servicescache. - Define CFLAGS-servicescache.c, CFLAGS-getsrvbynm_r.c, and - CFLAGS-getsrvbypt_r.c. - * nscd/cache.c (prune_cache): Rewrite to get re-add function from - table. Add entries for services database. - * nscd/connections.c (serv2str): Mark as const. Add entries for - services database. - (dbs): Add .reset_res and servdb initialization. - (serv2db): Add entries for services database. - (verify_persistent_db): Accept dbnr == servdb. - (invalidate_cache): Rewrite database name recognition to use a table. - Call res_init() if .reset_res is set for database. - (handle_request): Add code to handle services database. - * nscd/gai.c: Don't define __getservbyname_r. - * nscd/nscd-client.h (request_type): Remove LASTDBREQ, add - GETSERVBYNAME, GETSERVBYPORT, GETFDSERV. - (serv_response_header): Define. - (struct datahead): Add serv_response_header member. - * nscd/nscd.c (parse_opt): Rewrite parsing of -i parameter value - using table. - * nscd/nscd.conf: Add entries for services database. - * nscd/nscd.h: Adjust declaration of dbnames and serv2str. - Declare serv_iov_disabled. - Declare addservbyname, readdservbyname, addservbyport, and - readdservbyport. - * nscd/nscd_conf.c (dbnames): Mark as const. Add services entry. - (find_db): Fix error message. - * nscd/nscd_proto.h: Declare __nss_not_use_nscd_services, - __nscd_getservbyname_r, and __nscd_getservbyport_r. - * nscd/selinux.c (perms): Add entries for services database. - * nss/Versions: Export __nss_services_lookup with GLIBC_PRIVATE. - * nss/nsswitch.c (__nss_disable_nscd): Also disable services database. - - * nscd/grpcache.c: Remove obsolete code. Cleanups. - * nscd/hstcache.c: Likewise. - * nscd/pwdcache.c: Likewise. - - * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Correct - computation of keylen. - - * include/string.h: Only redefine strndupa if this is really for - libc code. - -2007-01-12 Ulrich Drepper - - * nscd/nscd_gethst_r.c: Minor cleanups. - - * nscd/connections.c (handle_request): Check selinux permissions - for all non-admin commands. - - * sysdeps/i386/i486/bits/atomic.h: Define - atomic_compare_and_exchange_val_acq, - atomic_compare_and_exchange_bool_acq, and atomic_exchange_and_add - using __sync_* built-ins for gcc >= 4.1. - * sysdeps/x86_64/bits/atomic.h: Likewise. - - [BZ #3840] - * scripts/check-local-headers.sh: Restrict to testing .o.d, .os.d, - and .oS.d files. - -2007-01-05 Steven Munroe - - * stdlib/tst-makecontext.c: Include errno.h. Change main() - to do_test(). Define TEST_FUNCTION. Include test-skeleton.c. - (do_test): Check errno and exit(0) if ENOSYS. - -2007-01-11 Jakub Jelinek - - * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix handling of multi-byte - thousands separators. - * stdlib/Makefile: Add rules to build and run tst-strtod4. - * stdlib/tst-strtod4.c: New test. - - [BZ #3855] - * stdlib/strtod_l.c (____STRTOF_INTERNAL): 0x. not followed by - hexadecimal digit should accept just the initial 0. - * stdlib/tst-strtod2.c (tests): New variable. - (do_test): Run several tests rather than just one. - -2007-01-11 Jakub Jelinek - - * sysdeps/i386/soft-fp/sfp-machine.h: Remove. - * sysdeps/x86_64/soft-fp/sfp-machine.h: Likewise. - -2007-01-10 Ulrich Drepper - - * io/fts.c: Make sure fts_cur is always valid after return from - fts_read. - Patch by Miloslav Trmac . - -2006-10-27 Richard Sandiford - - * elf/elf.h (R_MIPS_GLOB_DAT): Define. - (R_MIPS_NUM): Bump by 1. - -2007-01-03 Jakub Jelinek - - * posix/execvp.c: Include alloca.h. - (allocate_scripts_argv): Renamed to... - (scripts_argv): ... this. Don't allocate buffer here nor count - arguments. - (execvp): Use alloca if possible. - * posix/Makefile: Add rules to build and run tst-vfork3 test. - * posix/tst-vfork3.c: New test. - -2007-01-03 Ulrich Drepper - - * string/Makefile (tst-strxfrm2-ENV): Define. - * stdlib/Makefile (tst-strtod3-ENV): Define. - -2007-01-02 Ulrich Drepper + * dlfcn/dlopen.c (dlopen_doit): Catch invalid mode arguments and fail. * posix/getconf.c: Update copyright year. * nss/getent.c: Likewise. + * nscd/nscd_nischeck.c: Likewise. * iconv/iconvconfig.c: Likewise. * iconv/iconv_prog.c: Likewise. * elf/ldconfig.c: Likewise. @@ -12955,2274 +12678,700 @@ d2009-10-30 Ulrich Drepper * malloc/mtrace.pl: Likewise. * debug/catchsegv.sh: Likewise. -2006-12-24 Ulrich Drepper +2005-01-11 Thorsten Kukuk - * malloc/malloc.c (sYSMALLOc): Remove some unnecessary alignment - attempts. + [BZ #733] + * sunrpc/svc_tcp.c (svctcp_create): Call listen with SOMAXCONN + as backlog. + * sunrpc/svc_unix.c (svcunix_create): Likewise. -2006-12-23 Ulrich Drepper + [BZ #1099] + * grp/putgrent.c (putgrent): Don't write 0 as group + ID if groupname starts with + or -. + * pwd/putpwent.c (putpwent): Don't write 0 as user or + group ID if user name starts with + or -. - * posix/wordexp.c: Remove some unnecessary tests. +2005-01-09 Kaz Kojima -2006-12-22 Gavin Romig-Koch + * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add sh variants. + * sysdeps/elf/tst-auditmod1.c: Add sh support. + * sysdeps/sh/bits/link.h: New. + * sysdeps/sh/dl-machine.h: Remove trampoline code here. Define + ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT. Remove obsolete comments. + (RTLD_START): Define __fpscr_values. + * sysdeps/sh/dl-trampoline.S: New file. + * sysdeps/sh/sh4/dl-trampoline.S: New file. + * sysdeps/sh/sh4/Versions [ld]: Add __fpscr_values. + * sysdeps/sh/sh4/dl-machine.h: Remove. - * nis/nss_compat/compat-grp.c (internal_getgrgid_r): Don't - blacklist the group till after we look it up. +2005-01-10 Jakub Jelinek -2006-12-21 Ulrich Drepper + [BZ #732] + * time/tst-strptime.c (day_tests): Add 2 new tests. + (test_tm, main): Issue an error instead of segfaulting if + strptime returns NULL. - * include/atomic.h (atomic_forced_read): New macro. +2005-01-10 H.J. Lu -2006-12-20 SUGIOKA Toshinobu + * sysdeps/alpha/libc-tls.c (__tls_get_addr): Updated for dtv_t union. + * sysdeps/ia64/libc-tls.c (__tls_get_addr): Likewise. - * sysdeps/unix/sysv/linux/sh/bits/shm.h: New file. +2005-01-11 Ulrich Drepper -2006-12-19 Jakub Jelinek + * malloc/malloc.h: Remove no-glibc support. - * nss/getXXbyYY_r.c: Include atomic.h. - (INTERNAL (REENTRANT_NAME)): Write startp after start_fct, - add atomic_write_barrier () in between. +2005-01-12 GOTO Masanori - * stdlib/Makefile (tests): Add tst-makecontext. - * stdlib/tst-makecontext.c: New test. + [BZ #650] + * malloc/malloc.h: Always include features.h. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S - (__makecontext): Don't realign uc_mcontext.uc_regs. +2005-01-10 Roland McGrath -2006-11-28 Jakub Jelinek + * sysdeps/ia64/fpu/e_logl.c: File removed. - * elf/dl-support.c: Include dl-procinfo.h. - * sysdeps/powerpc/dl-procinfo.h (PPC_PLATFORM_POWER4, - PPC_PLATFORM_PPC970, PPC_PLATFORM_POWER5, PPC_PLATFORM_POWER5_PLUS, - PPC_PLATFORM_POWER6, PPC_PLATFORM_CELL_BE, PPC_PLATFORM_POWER6X): - Define. - (_dl_string_platform): Use PPC_PLATFORM_* macros instead of - hardcoded constants. - * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platform): Use - PPC_PLATFORM_* macros for array designators. + * dlfcn/dlfcn.c (init): Fix typo in attribute decl. -2006-11-11 Steven Munroe +2005-01-10 Ulrich Drepper - * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add 3 new cap - names to the beginning. - (_dl_powerpc_platforms): Add "power6x". - * sysdeps/powerpc/dl-procinfo.h (_DL_HWCAP_FIRST): Decrease. - (HWCAP_IMPORTANT): Add PPC_FEATURE_HAS_DFP. - (_DL_PLATFORMS_COUNT): Increase. - (_dl_string_platform): Handle power6x case. - * sysdeps/powerpc/sysdep.h (PPC_FEATURE_PA6T, PPC_FEATURE_HAS_DFP, - PPC_FEATURE_POWER6_EXT): Define. - (PPC_FEATURE_POWER5, PPC_FEATURE_POWER5_PLUS): Correct Comment. + * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Fix assertion and + recognition of last entry. -2006-12-18 Jakub Jelinek +2005-01-09 Ulrich Drepper - [BZ #3747] - * stdlib/jrand48_r.c (__jrand48_r): Make sure result is in the - [-2^31 .. 2^31) range. - * stdlib/tst-rand48.c (main): Fix expected values for 64-bit - targets. - * stdlib/tst-rand48-2.c: New test. - * stdlib/Makefile (tests): Add tst-rand48-2. + * elf/dl-runtime.c: Include . -2006-12-14 Jakub Jelinek + * elf/Makefile (headers): Add bits/link.h. - * misc/tst-pselect.c (do_test): Fix sigblock argument. +2005-01-09 Andreas Schwab -2006-12-14 Ulrich Drepper + * elf/rtld.c (dl_main): Create main_map with __RTLD_OPENEXEC. - * misc/tst-pselect.c (do_test): Make sure the helper process is - terminating when the test is aborted. +2005-01-09 Andreas Jaeger -2006-12-13 Ulrich Drepper + [BZ #732] + * time/strptime_l.c (__strptime_internal): Add braces to avoid + warning. - * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_RELATIME. - * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags): - Handle relatime mount option. + * sysdeps/x86_64/bits/link.h: Use vector_size for GCC 4.0. - [BZ #2337] - * libio/Makefile (tests): Add tst-setvbuf1. - * libio/tst-setvbuf1.c: New file. + * elf/rtld.c (dl_main): Call _dl_add_to_slotinfo only if USE_TLS. -2006-12-08 Jakub Jelinek +2005-01-08 Jakub Jelinek - [BZ #2337] - * libio/genops.c (__uflow): Fix a typo. - * libio/wfiledoalloc.c (_IO_wfile_doallocate): Don't stat - nor set _IO_LINE_BUF bit here. Size the wide buffer based on - the narrow buffer size. + * elf/Makefile (generated): Add tst-pie1{,.out,.o}. -2006-11-24 Jakub Jelinek +2005-01-09 Ulrich Drepper - [BZ #2337] - * libio/libio.h (_IO_FLAGS2_USER_WBUF): Define. - * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Test and set - _IO_FLAGS2_USER_WBUF bit in _flags2 instead of _IO_USER_BUF bit - in _flags. - * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf, - _IO_wstr_finish): Likewise. - * libio/wmemstream.c (open_wmemstream): Likewise. - * libio/fileops.c (_IO_new_file_close_it): Call _IO_set[bgp] - even for wide streams. + * elf/dl-fini.c (_dl_fini): Call destructors of audit DSOs after + those of all the regular objects. -2006-12-13 Jakub Jelinek + * elf/dl-debug.c (_dl_debug_initialize): Take extra parameter and + use it to select the r_debug structure for that namespace. + * elf/dl-close.c (_dl_close): Adjust call to _dl_debug_initialize. + * elf/dl-load.c (_dl_map_object_from_fd): Likewise. + * elf/dl-open.c (_dl_open): Likewise. + * elf/rtld.c (dl_main): Likewise. + * sysdeps/generic/ldsodefs.h (struct link_namespaces): Add _ns_debug + member. + (_dl_debug_initialize): Add new parameter in declaration. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Include - kernel-features.h. + * elf/dl-close.c (_dl_close): Make sure auditing callbacks are not + called for the auditing objects themselves. + * elf/dl-load.c (_dl_map_object_from_fd): Likewise. -2006-12-11 Ulrich Drepper +2005-01-07 Ulrich Drepper - * stdlib/strtod_l.c (____STRTOF_INTERNAL): Parse thousand - separators also if no non-zero digits found. - * stdlib/Makefile (tests): Add tst-strtod3. + * sysdeps/powerpc/powerpc64/dl-machine.h + (elf_machine_runtime_setup): If profile != 0 does not anymore mean + GLRO(dl_profile) != NULL. + * sysdeps/powerpc/powerpc64/bits/link.h (struct la_ppc64_regs): Add + padding. + * sysdeps/powerpc/powerpc64/dl-trampoline.S: (_dl_profile_resolve): + Extend _dl_prof_resolve to add pass extra parameters to + _dl_profile_fixup and set up structure with register content. -2006-12-09 Ulrich Drepper + * sysdeps/powerpc/powerpc32/dl-machine.c (__elf_machine_runtime_setup): + If profile != 0 does not anymore mean GLRO(dl_profile) != NULL. + * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_prof_resolve): + Extend _dl_prof_resolve to add pass extra parameters to + _dl_profile_fixup and set up structure with register content. + * sysdeps/powerpc/powerpc32/bits/link.h: Fix types of some fields in + the register and result structures. + * sysdeps/powerpc/powerpc64/bits/link.h: Fix types of some fields + in the 32-bit register and result structures. - [BZ #3632] - * include/features.h: Fix comment about default value for - _POSIX_C_SOURCE. + * sysdeps/powerpc/powerpc64/dl-trampoline.S: Use register names. - [BZ #3664] - * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix test to recognize - empty parsed strings. - * stdlib/Makefile (tests): Add tst-strtod2. - * stdlib/tst-strtod2.c: New file. + * sysdeps/powerpc/powerpc32/dl-trampoline.S: New file. + * sysdeps/powerpc/powerpc32/dl-machine.h: Remove trampoline code here. + Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT. + * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc32 variants. + * elf/tst-auditmod1.c: Add ppc32 support. + * sysdeps/powerpc/powerpc32/bits/link.h: New file. + * sysdeps/powerpc/powerpc64/bits/link.h: Add ppc32 definitions. - [BZ #3673] - * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix exp_limit - computation. - * stdlib/Makefile (tests): Add tst-atof2. - * stdlib/tst-atof2.c: New file. + * malloc/malloc.c (malloc_printerr): Print program name as part of + error message. - [BZ #3674] - * stdlib/strtod_l.c (____STRTOF_INTERNAL): Adjust exponent value - correctly if removing trailing zero of hex-float. - * stdlib/Makefile (tests): Add tst-atof1. - * stdlib/tst-atof1.c: New file. + * misc/sys/cdefs.h (__attribute_warn_unused_result__): Define. + * stdlib/stdlib.h: Make realloc with + __attribute_warn_unused_result__ instead of __wur. + * malloc/malloc.h: Add __wur and __attribute_warn_unused_result__ + markers as in . -2006-12-09 Jakub Jelinek + * libio/stdio.h: Remove __wur from rename and remove. + * posix/unistd.h: Remove __wur from dup2. - * misc/mntent_r.c (__hasmntopt): Check p[optlen] even when p == rest. - Start searching for next comma at p rather than rest. - * misc/Makefile (tests): Add tst-mntent2. - * misc/tst-mntent2.c: New test. +2005-01-03 Andreas Jaeger - * misc/getusershell.c (initshells): Check for integer overflows. - Make strings buffer one bigger as fgets always succeeds when second - argument is 1. Don't use calloc for shells array. Disallow - / as shell. + * elf/Makefile (tests): Revert patch from 2005-01-03. -2006-12-08 Ulrich Drepper +2005-01-07 Ulrich Drepper - * malloc/memusage.c: Handle realloc with new size of zero and - non-NULL pointer correctly. - (me): Really write first record twice. - (struct entry): Make format bi-arch safe. - (dest): Write out more realloc statistics. - * malloc/memusagestat.c (struct entry): Make format bi-arch safe. + * sysdeps/unix/sysv/linux/init-first.c (__libc_init_first): Don't + make __libc_init_first hidden. -2006-12-05 Jakub Jelinek + * elf/rtld.c [!DONT_USE_BOOTSTRAP_MAP] (_dl_start_final): Initialize + l_relocated of rtld map. + * sysdeps/powerpc/powerpc64/dl-trampoline.S: New file. + * sysdeps/powerpc/powerpc64/dl-machine.h: Remove trampoline code here. + Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT. + * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc64 variants. + * elf/tst-auditmod1.c: Add ppc64 support. + * sysdeps/powerpc/powerpc64/bits/link.h: New file. - * nis/nis_subr.c (nis_getnames): Revert last change. - -2006-12-04 Jakub Jelinek - - * sysdeps/unix/sysv/linux/ttyname.c: Include termios.h. - (ttyname): Use tcgetattr instead of isatty, don't set errno to ENOTTY. - * sysdeps/unix/sysv/linux/ttyname_r.c: Include termios.h. - (__ttyname_r): Use tcgetattr instead of isatty, don't set errno to - ENOTTY. - * io/Makefile: Add rules to build and run tst-ttyname_r test. - * io/tst-ttyname_r.c: New test. - -2006-12-03 Kaz Kojima - - * sysdeps/unix/sysv/linux/sh/sys/io.h: Removed. - -2006-11-30 H.J. Lu - - * sysdeps/i386/i686/memcmp.S: Use jump table as the base of - jump table entries. - -2006-11-30 Jan Kratochvil - - * sysdeps/unix/sysv/linux/i386/clone.S: Provide CFI for the outermost - `clone' function to ensure proper unwinding stop of gdb. - * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise. - -2006-12-01 Ulrich Drepper - - * nscd/nscd.init: Remove obsolete and commented-out -S option - handling. - -2006-11-23 Jakub Jelinek - - [BZ #3514] - * manual/string.texi (strncmp): Fix pastos from wcscmp description. - - [BZ #3515] - * manual/string.texi (strtok): Remove duplicate paragraph. - -2006-12-01 Jan Kratochvil - - * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Fix compatibility with - libgcc not supporting `rflags' unwinding (register # >= 17). - -2006-11-30 Jakub Jelinek - - * sunrpc/svc_run.c (svc_run): Set my_pollfd to new_pollfd if realloc - succeeded. - -2006-11-29 Daniel Jacobowitz - Jakub Jelinek - Jan Kratochvil - - * sysdeps/unix/sysv/linux/x86_64/sigaction.c (restore_rt): Add correct - unwind information. - * sysdeps/unix/sysv/linux/x86_64/Makefile: Provide symbols for - 'restore_rt' even in the 'signal' directory. - * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym: Extend the regs list. - -2006-11-27 Jakub Jelinek - - [BZ #3559] - * sunrpc/svc_run.c (svc_run): Fail instead of segfaulting if - malloc crashed. Don't allocate memory unnecessarily in each - loop. - -2006-10-21 Jakub Jelinek - - * resolv/mapv4v6addr.h (map_v4v6_address): Fix last change. - -2006-11-20 Ulrich Drepper - - * resolv/mapv4v6addr.h (map_v4v6_address): Optimize a bit. - -2006-11-18 Bruno Haible - - * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Invoke - __sysconf only after having tried to call getgroups32. - -2006-11-19 Ulrich Drepper - - * nss/nss_files/files-hosts.c (LINE_PARSER): Support IPv6-style - addresses for IPv4 queries if they can be mapped. - -2006-11-16 Jakub Jelinek - - * sysdeps/x86_64/fpu/s_copysignf.S (__copysignf): Switch to .text. - * sysdeps/x86_64/fpu/s_copysign.S (__copysign): Likewise. - (signmask): Add .size directive. - (othermask): Add .type directive. - -2006-11-14 Ulrich Drepper - - * po/nl.po: Update from translation team. - - * timezone/zdump.c: Redo fix for BZ #3137. - -2006-11-14 Jakub Jelinek - - * nss/nss_files/files-alias.c (get_next_alias): Set line back - to first_unused after parsing :include: file. - -2006-11-10 Ulrich Drepper - - * timezone/africa: Update from tzdata2006o. - * timezone/antarctica: Likewise. - * timezone/asia: Likewise. - * timezone/australasia: Likewise. - * timezone/backward: Likewise. - * timezone/europe: Likewise. - * timezone/iso3166.tab: Likewise. - * timezone/northamerica: Likewise. - * timezone/southamerica: Likewise. - * timezone/zone.tab: Likewise. - - * time/tzfile.c (__tzfile_read): Extend to handle new file format - on machines with 64-bit time_t. - - * timezone/checktab.awk: Update from tzcode2006o. - * timezone/ialloc.c: Likewise. - * timezone/private.h: Likewise. - * timezone/scheck.c: Likewise. - * timezone/tzfile.h: Likewise. - * timezone/tzselect.ksh: Likewise. - * timezone/zdump.c: Likewise. - * timezone/zic.c: Likewise. - - [BZ #3483] - * elf/ldconfig.c (main): Call setlocale and textdomain. - Patch mostly by Benno Schulenberg . - - [BZ #3480] - * manual/argp.texi: Fix typos. - * manual/charset.texi: Likewise. - * manual/errno.texi: Likewise. - * manual/filesys.texi: Likewise. - * manual/lang.texi: Likewise. - * manual/maint.texi: Likewise. - * manual/memory.texi: Likewise. - * manual/message.texi: Likewise. - * manual/resource.texi: Likewise. - * manual/search.texi: Likewise. - * manual/signal.texi: Likewise. - * manual/startup.texi: Likewise. - * manual/stdio.texi: Likewise. - * manual/sysinfo.texi: Likewise. - * manual/syslog.texi: Likewise. - * manual/time.texi: Likewise. - Patch by Ralf Wildenhues . - - [BZ #3465] - * sunrpc/clnt_raw.c: Minimal message improvements. - * sunrpc/pm_getmaps.c: Likewise. - * nis/nss_nisplus/nisplus-publickey.c: Likewise. - * nis/nis_print_group_entry.c: Likewise. - * locale/programs/repertoire.c: Likewise. - * locale/programs/charmap.c: Likewise. - * malloc/memusage.sh: Likewise. - * elf/dl-deps.c: Likewise. - * locale/programs/ld-collate.c: Likewise. - * libio/vswprintf.c: Likewise. - * malloc/memusagestat.c: Likewise. - * sunrpc/auth_unix.c: Likewise. - * sunrpc/rpc_main.c: Likewise. - * nscd/cache.c: Likewise. - * locale/programs/repertoire.c: Unify output messages. - * locale/programs/charmap.c: Likewise. - * locale/programs/ld-ctype.c: Likewise. - * locale/programs/ld-monetary.c: Likewise. - * locale/programs/ld-numeric.c: Likewise. - * locale/programs/ld-time.c: Likewise. - * elf/ldconfig.c: Likewise. - * nscd/selinux.c: Likewise. - * elf/cache.c: Likewise. - Patch mostly by Benno Schulenberg . - - [BZ #3451] - * sysdeps/i386/fpu/bits/mathinline.h (floor): Make rounding mode - change atomic. - (ceil): Likewise. - -2006-11-10 Jakub Jelinek - - * string/strxfrm_l.c (STRXFRM): Fix trailing \1 optimization - if N is one bigger than return value. - * string/tst-strxfrm2.c (do_test): Also test strxfrm with l1 + 1 - and l1 last arguments, if buf is defined, verify the return value - equals to strlen (buf) and verify no byte beyond passed length - is modified. - -2006-11-10 Ulrich Drepper - - * po/sv.po: Update from translation team. - -2006-11-09 Ulrich Drepper - - * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_check_word): Add - noinline attribute. - -2006-11-10 Jakub Jelinek - - * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Add - noinline attribute. - - * sysdeps/gnu/siglist.c (__old_sys_siglist, __old_sys_sigabbrev): - Use __new_sys_siglist instead of _sys_siglist_internal as - second macro argument. - (_old_sys_siglist): Use declare_symbol_alias macro instead of - strong_alias. - -2006-11-09 Ulrich Drepper - - [BZ #3493] - * posix/unistd.h (sysconf): Remove const attribute. - - * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix test for - temporary or deprecated addresses. - Patch by Sridhar Samudrala . - - * string/Makefile (tests): Add tst-strxfrm2. - * string/tst-strxfrm2.c: New file. - -2006-10-09 Jakub Jelinek - - * elf/dl-debug.c (_dl_debug_initialize): Check r->r_map for 0 - rather than r->r_brk. - -2006-11-08 Jakub Jelinek - - * string/strxfrm_l.c (STRXFRM): Do the trailing \1 removal - optimization even if needed > n. - - * elf/dl-load.c (decompose_rpath): Return bool rather than void. - If l->l_name is on inhibit_rpath list, set sps->dirs to -1 and - return false, otherwise return true. - (cache_rpath): Return decompose_rpath return value. - -2006-11-07 Jakub Jelinek - - * include/libc-symbols.h (declare_symbol): Rename to... - (declare_symbol_alias): ... this. Add ORIGINAL argument, imply - strong_alias (ORIGINAL, SYMBOL) in asm to make sure it preceedes - .size directive. - * sysdeps/gnu/errlist-compat.awk: Adjust for declare_symbol_alias - changes. - * sysdeps/gnu/siglist.c: Likewise. - -2006-11-03 Steven Munroe - - * sysdeps/powerpc/fpu/bits/mathinline.h - [__LIBC_INTERNAL_MATH_INLINES]: Moved to ... - * sysdeps/powerpc/fpu/math_private.h: ...here. New file. - -2006-11-05 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): - Update handling of cache descriptor 0x49 for new models. - * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_check_word): - Likewise. - -2006-11-02 Jakub Jelinek - - * malloc/memusage.c (dest): Reset not_me back to false after - printing statistics. - -2006-11-02 Ulrich Drepper - - * configure.in: Work around ld --help change and avoid -z relro - test completely if the architecture doesn't care about security. - -2006-11-01 Ulrich Drepper - - * po/sv.po: Update from translation team. - -2006-10-31 Ulrich Drepper - - * stdlib/atexit.c (atexit): Don't mark as hidden when used to - generate compatibility version. - -2006-10-29 Ulrich Drepper - - * configure.in: Relax -z relro requirement a bit. - - * po/sv.po: Update from translation team. - -2006-10-29 Jakub Jelinek - - * elf/dl-sym.c (do_sym): Use RTLD_SINGLE_THREAD_P. - * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise. - * elf/dl-close.c (_dl_close_worker): Likewise. - * elf/dl-open.c (_dl_open_worker): Likewise. - * sysdeps/generic/sysdep-cancel.h (RTLD_SINGLE_THREAD_P): Define. - -2006-10-27 Ulrich Drepper - - * configure.in: Require assembler support for visibility, compiler - support for visibility and aliases, linker support for various -z - options. - * Makeconfig: Remove conditional code which now is unnecessary. - * config.h.in: Likewise. - * config.make.in: Likewise. - * dlfcn/Makefile: Likewise. - * elf/Makefile: Likewise. - * elf/dl-load.c: Likewise. - * elf/rtld.c: Likewise. - * include/libc-symbols.h: Likewise. - * include/stdio.h: Likewise. - * io/Makefile: Likewise. - * io/fstat.c: Likewise. - * io/fstat64.c: Likewise. - * io/fstatat.c: Likewise. - * io/fstatat64.c: Likewise. - * io/lstat.c: Likewise. - * io/lstat64.c: Likewise. - * io/mknod.c: Likewise. - * io/mknodat.c: Likewise. - * io/stat.c: Likewise. - * io/stat64.c: Likewise. - * libio/stdio.c: Likewise. - * nscd/Makefile: Likewise. - * stdlib/Makefile: Likewise. - * stdlib/atexit.c: Likewise. - * sysdeps/generic/ldsodefs.h: Likewise. - * sysdeps/i386/dl-machine.h: Likewise. - * sysdeps/i386/sysdep.h: Likewise. - * sysdeps/i386/i686/memcmp.S: Likewise. - * sysdeps/powerpc/powerpc32/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise. - - * Makerules: USE_TLS support is now default. - * tls.make.c: Likewise. - * csu/Versions: Likewise. - * csu/libc-start.c: Likewise. - * csu/libc-tls.c: Likewise. - * csu/version.c: Likewise. - * dlfcn/dlinfo.c: Likewise. - * elf/dl-addr.c: Likewise. - * elf/dl-cache.c: Likewise. - * elf/dl-close.c: Likewise. - * elf/dl-iteratephdr.c: Likewise. - * elf/dl-load.c: Likewise. - * elf/dl-lookup.c: Likewise. - * elf/dl-object.c: Likewise. +2005-01-06 Roland McGrath + + [BZ #633] + * sysdeps/unix/sysv/linux/futimes.c (__futimes): Catch errno values + indicating file-name lookup errors, and return ENOSYS or EBADF instead. + +2005-01-06 Ulrich Drepper + + * csu/elf-init.c (__libc_csu_fini): Don't do anything here. + * sysdeps/generic/libc-start.c: Don't register program destructor here. + + * dlfcn/Makefile: Add rules to build dlfcn.c. + (LDFLAGS-dl.so): Removed. + * dlfcn/dlclose.c: _dl_close is now in ld.so, use function pointer + table. + * dlfcn/dlmopen.c: Likewise for _dl_open. + * dlfcn/dlopen.c: Likewise. + * dlfcn/dlopenold.c: Likewise. + * elf/dl-libc.c: Likewise for _dl_open and _dl_close. + * elf/Makefile (routines): Remove dl-open and dl-close. + (dl-routines): Add dl-open, dl-close, and dl-trampoline. + Add rules to build and run tst-audit1. + * elf/tst-audit1.c: New file. + * elf/tst-auditmod1.c: New file. + * elf/Versions [libc]: Remove _dl_open and _dl_close. + * elf/dl-close.c: Change for use inside ld.so instead of libc.so. * elf/dl-open.c: Likewise. - * elf/dl-reloc.c: Likewise. - * elf/dl-support.c: Likewise. + * elf/dl-debug.c (_dl_debug_initialize): Allow reinitialization, + signaled by nonzero parameter. + * elf/dl-init.c: Fix use of r_state. + * elf/dl-load.c: Likewise. + + * elf/dl-close.c: Add auditing checkpoints. + * elf/dl-open.c: Likewise. + * elf/dl-fini.c: Likewise. + * elf/dl-load.c: Likewise. * elf/dl-sym.c: Likewise. - * elf/dl-sysdep.c: Likewise. - * elf/dl-tls.c: Likewise. - * elf/ldconfig.c: Likewise. - * elf/rtld.c: Likewise. - * elf/tst-tls-dlinfo.c: Likewise. - * elf/tst-tls1.c: Likewise. - * elf/tst-tls10.h: Likewise. - * elf/tst-tls14.c: Likewise. - * elf/tst-tls2.c: Likewise. - * elf/tst-tls3.c: Likewise. - * elf/tst-tls4.c: Likewise. - * elf/tst-tls5.c: Likewise. - * elf/tst-tls6.c: Likewise. - * elf/tst-tls7.c: Likewise. - * elf/tst-tls8.c: Likewise. - * elf/tst-tls9.c: Likewise. - * elf/tst-tlsmod1.c: Likewise. - * elf/tst-tlsmod13.c: Likewise. - * elf/tst-tlsmod13a.c: Likewise. - * elf/tst-tlsmod14a.c: Likewise. - * elf/tst-tlsmod2.c: Likewise. - * elf/tst-tlsmod3.c: Likewise. - * elf/tst-tlsmod4.c: Likewise. - * elf/tst-tlsmod5.c: Likewise. - * elf/tst-tlsmod6.c: Likewise. - * include/errno.h: Likewise. + * sysdeps/generic/libc-start.c: Likewise. + * elf/dl-object.c: Allocate memory for auditing information. + * elf/dl-reloc.c: Remove RESOLV. We now always need the map. + Correctly initialize slotinfo. + * elf/dynamic-link.h: Adjust after removal of RESOLV. + * sysdeps/hppa/dl-lookupcfg.h: Likewise. + * sysdeps/ia64/dl-lookupcfg.h: Likewise. + * sysdeps/powerpc/powerpc64/dl-lookupcfg.h: Removed. + * elf/dl-runtime.c (_dl_fixup): Little cleanup. + (_dl_profile_fixup): New parameters to point to register struct and + variable for frame size. + Add auditing checkpoints. + (_dl_call_pltexit): New function. + Don't define trampoline code here. + * elf/rtld.c: Recognize LD_AUDIT. Load modules on startup. + Remove all the functions from _rtld_global_ro which only _dl_open + and _dl_close needed. + Add auditing checkpoints. + * elf/link.h: Define symbols for auditing interfaces. * include/link.h: Likewise. - * include/tls.h: Likewise. - * locale/global-locale.c: Likewise. - * locale/localeinfo.h: Likewise. - * malloc/arena.c: Likewise. - * malloc/hooks.c: Likewise. - * malloc/malloc.c: Likewise. - * resolv/Versions: Likewise. - * sysdeps/alpha/dl-machine.h: Likewise. - * sysdeps/alpha/libc-tls.c: Likewise. - * sysdeps/generic/ldsodefs.h: Likewise. - * sysdeps/generic/tls.h: Likewise. - * sysdeps/i386/dl-machine.h: Likewise. - * sysdeps/ia64/dl-machine.h: Likewise. - * sysdeps/ia64/libc-tls.c: Likewise. - * sysdeps/mach/hurd/fork.c: Likewise. - * sysdeps/mach/hurd/i386/tls.h: Likewise. - * sysdeps/powerpc/powerpc32/dl-machine.c: Likwise. - * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise. - * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise. - * sysdeps/s390/libc-tls.c: Likewise. - * sysdeps/s390/s390-32/dl-machine.h: Likewise. - * sysdeps/s390/s390-64/dl-machine.h: Likewise. - * sysdeps/sh/dl-machine.h: Likewise. - * sysdeps/sparc/sparc32/dl-machine.h: Likewise. - * sysdeps/sparc/sparc64/dl-machine.h: Likewise. + * include/dlfcn.h: Define __RTLD_AUDIT. + Remove prototypes for _dl_open and _dl_close. + Adjust access to argc and argv in libdl. + * dlfcn/dlfcn.c: New file. + * sysdeps/generic/dl-lookupcfg.h: Remove all content now that RESOLVE + is gone. + * sysdeps/generic/ldsodefs.h: Add definitions for auditing interfaces. + * sysdeps/generic/unsecvars.h: Add LD_AUDIT. + * sysdeps/i386/dl-machine.h: Remove trampoline code here. + Adjust for removal of RESOLVE. * sysdeps/x86_64/dl-machine.h: Likewise. + * sysdeps/generic/dl-trampoline.c: New file. + * sysdeps/i386/dl-trampoline.c: New file. + * sysdeps/x86_64/dl-trampoline.c: New file. + + * sysdeps/generic/dl-tls.c: Cleanups. Fixup for dtv_t change. + Fix updating of DTV. + * sysdeps/generic/libc-tls.c: Likewise. + + * sysdeps/arm/bits/link.h: Renamed to ... + * sysdeps/arm/bits/linkmap.h: ...this. + * sysdeps/generic/bits/link.h: Renamed to... + * sysdeps/generic/bits/linkmap.h: ...this. + * sysdeps/hppa/bits/link.h: Renamed to... + * sysdeps/hppa/bits/linkmap.h: ...this. + * sysdeps/i386/bits/link.h: Renamed to... + * sysdeps/i386/bits/linkmap.h: ...this. + * sysdeps/ia64/bits/link.h: Renamed to... + * sysdeps/ia64/bits/linkmap.h: ...this. + * sysdeps/s390/bits/link.h: Renamed to... + * sysdeps/s390/bits/linkmap.h: ...this. + * sysdeps/sh/bits/link.h: Renamed to... + * sysdeps/sh/bits/linkmap.h: ...this. + * sysdeps/x86_64/bits/link.h: Renamed to... + * sysdeps/x86_64/bits/linkmap.h: ...this. + + * posix/unistd.h: Declare ftruncate for POSIX 2003. [BZ #640] + +2004-12-22 Steven Munroe + + [BZ #602] + * math/libm-test.inc (rint_test_tonearest): New test. + (rint_test_towardzero): New test. + (rint_test_downward): New test. + (rint_test_upward): New test. + * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Fix -0.0 case. + Remove redundant const values. + * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Fix -0.0 case. + Remove redundant const values. Use float const. + * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Fix -0.0 case. + * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Fix -0.0 case. + Use float const. + * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Fix -0.0 case. + * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Fix -0.0 case. + Use float const. + * sysdeps/powerpc/powerpc32/fpu/s_round.S: Fix -0.0 case. + Remove redundant const values. + * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Fix -0.0 case. + Remove redundant const values. Use float const. + * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Fix -0.0 case. + Remove redundant const values. + * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Fix -0.0 case. + Remove redundant const values. Use float const. + * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Use EALIGN for Quadword + alignment. Fix -0.0 case. Remove redundant const values. + * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Use EALIGN for Quadword + alignment. Fix -0.0 case. Remove redundant const values. + Use float const. + * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Use EALIGN for Quadword + alignment. Fix -0.0 case. + * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Use EALIGN for Quadword + alignment. Fix -0.0 case. Use float const. + * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Use EALIGN for Quadword + alignment. Fix -0.0 case. + * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Use EALIGN for Quadword + alignment. Fix -0.0 case. Use float const. + * sysdeps/powerpc/powerpc64/fpu/s_round.S: Use EALIGN for Quadword + alignment. Fix -0.0 case. Remove redundant const values. + * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Use EALIGN for Quadword + alignment. Fix -0.0 case. Remove redundant const values. + Use float const. + * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Use EALIGN for Quadword + alignment. Fix -0.0 case. + * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Use EALIGN for Quadword + alignment. Fix -0.0 case. Remove redundant const values. + Use float const. + +2005-01-06 Ulrich Drepper + + * misc/sys/cdefs.h: Define __wur. + * libio/stdio.h: Use __wur for a number of interfaces. + * posix/unistd.h: Likewise. + * stdlib/stdlib.h: Likewise. + +2004-12-29 Jakub Jelinek + + [BZ #592] + * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Use + libc_hidden_proto instead of HIDDEN_PROTO. + * sysdeps/ia64/fpu/libm-symbols.h (HIDDEN_PROTO): Remove. + (__libm_error_support): If ASSEMBLER and in libc, define to + HIDDEN_JUMPTARGET(__libm_error_support). + +2004-12-28 David Mosberger + + [BZ #592] + * sysdeps/ia64/fpu/Makefile (duplicated-routines): New macro. + (sysdep_routines): Replace libm_ldexp{,f,l} and libm_scalbn{,f,l} + with $(duplicated-routines). + (libm-sysdep_routines): Likewise, but substitute "s_" prefix for + "m_" prefix. + +2004-12-27 David Mosberger + + [BZ #592] + * sysdeps/ia64/fpu/libm-symbols.h: Add include of and + undefine "ret" macro. Add __libm_error_support hidden definitions. + + [BZ #592] + * sysdeps/ia64/fpu/e_lgamma_r.c: Remove CVS-id comment. Add + missing portion of copyright statement. + * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise. + * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise. + + [BZ #592] + * sysdeps/ia64/fpu/w_lgamma.c: Remove CVS-id comment. Add + missing portion of copyright statement. + (__ieee754_lgamma): Rename from lgamma(). Make lgamma() a weak alias. + (__ieee754_gamma): Likewise. + * sysdeps/ia64/fpu/w_lgammaf.c: Likewise. + * sysdeps/ia64/fpu/w_lgammal.c: Likewise. + +2004-12-09 H.J. Lu + + [BZ #592] + * sysdeps/ia64/fpu/s_nextafterl.c: Remove. + * sysdeps/ia64/fpu/s_nexttoward.c: Likewise. + * sysdeps/ia64/fpu/s_nexttowardf.c: Likewise. + * sysdeps/ia64/fpu/e_atan2l.S: Remove (duplicate of e_atan2l.c). + * sysdeps/ia64/fpu/e_expl.S: Likewise. + * sysdeps/ia64/fpu/e_logl.c: Remove (conflicts with e_logl.S). + +2004-11-18 David Mosberger + + [BZ #592] + * sysdeps/ia64/fpu/README: New file. + * sysdeps/ia64/fpu/gen_import_file_list: New file. + * sysdeps/ia64/fpu/import_check: Likewise. + * sysdeps/ia64/fpu/import_diffs: Likewise. + * sysdeps/ia64/fpu/import_file.awk: Likewise. + * sysdeps/ia64/fpu/import_intel_libm: Likewise. + * sysdeps/ia64/fpu/libm-symbols.h: Likewise. + + [BZ #592] + * sysdeps/ia64/fpu/e_acos.S: Update from Intel libm v2.1+. + * sysdeps/ia64/fpu/e_acosf.S: Likewise. + * sysdeps/ia64/fpu/e_acosl.S: Likewise. + * sysdeps/ia64/fpu/e_asin.S: Likewise. + * sysdeps/ia64/fpu/e_asinf.S: Likewise. + * sysdeps/ia64/fpu/e_asinl.S: Likewise. + * sysdeps/ia64/fpu/e_atan2.S: Likewise. + * sysdeps/ia64/fpu/e_atan2f.S: Likewise. + * sysdeps/ia64/fpu/e_cosh.S: Likewise. + * sysdeps/ia64/fpu/e_coshf.S: Likewise. + * sysdeps/ia64/fpu/e_coshl.S: Likewise. + * sysdeps/ia64/fpu/e_exp.S: Likewise. + * sysdeps/ia64/fpu/e_expf.S: Likewise. + * sysdeps/ia64/fpu/e_fmod.S: Likewise. + * sysdeps/ia64/fpu/e_fmodf.S: Likewise. + * sysdeps/ia64/fpu/e_fmodl.S: Likewise. + * sysdeps/ia64/fpu/e_hypot.S: Likewise. + * sysdeps/ia64/fpu/e_hypotf.S: Likewise. + * sysdeps/ia64/fpu/e_hypotl.S: Likewise. + * sysdeps/ia64/fpu/e_log.S: Likewise. + * sysdeps/ia64/fpu/e_log2.S: Likewise. + * sysdeps/ia64/fpu/e_log2f.S: Likewise. + * sysdeps/ia64/fpu/e_log2l.S: Likewise. + * sysdeps/ia64/fpu/e_logf.S: Likewise. + * sysdeps/ia64/fpu/e_pow.S: Likewise. + * sysdeps/ia64/fpu/e_powf.S: Likewise. + * sysdeps/ia64/fpu/e_powl.S: Likewise. + * sysdeps/ia64/fpu/e_remainder.S: Likewise. + * sysdeps/ia64/fpu/e_remainderf.S: Likewise. + * sysdeps/ia64/fpu/e_remainderl.S: Likewise. + * sysdeps/ia64/fpu/e_scalb.S: Likewise. + * sysdeps/ia64/fpu/e_scalbf.S: Likewise. + * sysdeps/ia64/fpu/e_scalbl.S: Likewise. + * sysdeps/ia64/fpu/e_sinh.S: Likewise. + * sysdeps/ia64/fpu/e_sinhf.S: Likewise. + * sysdeps/ia64/fpu/e_sinhl.S: Likewise. + * sysdeps/ia64/fpu/e_sqrt.S: Likewise. + * sysdeps/ia64/fpu/e_sqrtf.S: Likewise. + * sysdeps/ia64/fpu/e_sqrtl.S: Likewise. + * sysdeps/ia64/fpu/libm_error.c: Likewise. + * sysdeps/ia64/fpu/libm_reduce.c: Likewise. + * sysdeps/ia64/fpu/libm_support.h: Likewise. + * sysdeps/ia64/fpu/s_atan.S: Likewise. + * sysdeps/ia64/fpu/s_atanf.S: Likewise. + * sysdeps/ia64/fpu/s_atanl.S: Likewise. + * sysdeps/ia64/fpu/s_cbrt.S: Likewise. + * sysdeps/ia64/fpu/s_cbrtf.S: Likewise. + * sysdeps/ia64/fpu/s_cbrtl.S: Likewise. + * sysdeps/ia64/fpu/s_ceil.S: Likewise. + * sysdeps/ia64/fpu/s_ceilf.S: Likewise. + * sysdeps/ia64/fpu/s_ceill.S: Likewise. + * sysdeps/ia64/fpu/s_cos.S: Likewise. + * sysdeps/ia64/fpu/s_cosf.S: Likewise. + * sysdeps/ia64/fpu/s_cosl.S: Likewise. + * sysdeps/ia64/fpu/s_expm1.S: Likewise. + * sysdeps/ia64/fpu/s_expm1f.S: Likewise. + * sysdeps/ia64/fpu/s_expm1l.S: Likewise. + * sysdeps/ia64/fpu/s_fabs.S: Likewise. + * sysdeps/ia64/fpu/s_fabsf.S: Likewise. + * sysdeps/ia64/fpu/s_fabsl.S: Likewise. + * sysdeps/ia64/fpu/s_floor.S: Likewise. + * sysdeps/ia64/fpu/s_floorf.S: Likewise. + * sysdeps/ia64/fpu/s_floorl.S: Likewise. + * sysdeps/ia64/fpu/s_frexp.c: Likewise. + * sysdeps/ia64/fpu/s_frexpf.c: Likewise. + * sysdeps/ia64/fpu/s_frexpl.c: Likewise. + * sysdeps/ia64/fpu/s_ilogb.S: Likewise. + * sysdeps/ia64/fpu/s_ilogbf.S: Likewise. + * sysdeps/ia64/fpu/s_ilogbl.S: Likewise. + * sysdeps/ia64/fpu/s_log1p.S: Likewise. + * sysdeps/ia64/fpu/s_log1pf.S: Likewise. + * sysdeps/ia64/fpu/s_log1pl.S: Likewise. + * sysdeps/ia64/fpu/s_logb.S: Likewise. + * sysdeps/ia64/fpu/s_logbf.S: Likewise. + * sysdeps/ia64/fpu/s_logbl.S: Likewise. + * sysdeps/ia64/fpu/s_modf.S: Likewise. + * sysdeps/ia64/fpu/s_modff.S: Likewise. + * sysdeps/ia64/fpu/s_modfl.S: Likewise. + * sysdeps/ia64/fpu/s_nearbyint.S: Likewise. + * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise. + * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise. + * sysdeps/ia64/fpu/s_rint.S: Likewise. + * sysdeps/ia64/fpu/s_rintf.S: Likewise. + * sysdeps/ia64/fpu/s_rintl.S: Likewise. + * sysdeps/ia64/fpu/s_round.S: Likewise. + * sysdeps/ia64/fpu/s_roundf.S: Likewise. + * sysdeps/ia64/fpu/s_roundl.S: Likewise. + * sysdeps/ia64/fpu/s_significand.S: Likewise. + * sysdeps/ia64/fpu/s_significandf.S: Likewise. + * sysdeps/ia64/fpu/s_significandl.S: Likewise. + * sysdeps/ia64/fpu/s_tan.S: Likewise. + * sysdeps/ia64/fpu/s_tanf.S: Likewise. + * sysdeps/ia64/fpu/s_tanl.S: Likewise. + * sysdeps/ia64/fpu/s_trunc.S: Likewise. + * sysdeps/ia64/fpu/s_truncf.S: Likewise. + * sysdeps/ia64/fpu/s_truncl.S: Likewise. + + [BZ #592] + * sysdeps/ia64/fpu/e_acosh.S: New file from Intel libm v2.1+. + * sysdeps/ia64/fpu/e_acoshf.S: Likewise. + * sysdeps/ia64/fpu/e_acoshl.S: Likewise. + * sysdeps/ia64/fpu/e_atanh.S: Likewise. + * sysdeps/ia64/fpu/e_atanhf.S: Likewise. + * sysdeps/ia64/fpu/e_atanhl.S: Likewise. + * sysdeps/ia64/fpu/e_exp10.S: Likewise. + * sysdeps/ia64/fpu/e_exp10f.S: Likewise. + * sysdeps/ia64/fpu/e_exp10l.S: Likewise. + * sysdeps/ia64/fpu/e_exp2.S: Likewise. + * sysdeps/ia64/fpu/e_exp2f.S: Likewise. + * sysdeps/ia64/fpu/e_exp2l.S: Likewise. + * sysdeps/ia64/fpu/e_lgamma_r.S: Likewise. + * sysdeps/ia64/fpu/e_lgammaf_r.S: Likewise. + * sysdeps/ia64/fpu/e_lgammal_r.S: Likewise. + * sysdeps/ia64/fpu/e_logl.S: Likewise. + * sysdeps/ia64/fpu/libm_frexp.S: Likewise. + * sysdeps/ia64/fpu/libm_frexpf.S: Likewise. + * sysdeps/ia64/fpu/libm_frexpl.S: Likewise. + * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise. + * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise. + * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise. + * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise. + * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise. + * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise. + * sysdeps/ia64/fpu/libm_lgamma.S: Likewise. + * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise. + * sysdeps/ia64/fpu/libm_lgammal.S: Likewise. + * sysdeps/ia64/fpu/libm_sincos.S: Likewise. + * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise. + * sysdeps/ia64/fpu/libm_sincosf.S: Likewise. + * sysdeps/ia64/fpu/libm_sincosl.S: Likewise. + * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise. + * sysdeps/ia64/fpu/s_asinh.S: Likewise. + * sysdeps/ia64/fpu/s_asinhf.S: Likewise. + * sysdeps/ia64/fpu/s_asinhl.S: Likewise. + * sysdeps/ia64/fpu/s_erf.S: Likewise. + * sysdeps/ia64/fpu/s_erfc.S: Likewise. + * sysdeps/ia64/fpu/s_erfcf.S: Likewise. + * sysdeps/ia64/fpu/s_erfcl.S: Likewise. + * sysdeps/ia64/fpu/s_erff.S: Likewise. + * sysdeps/ia64/fpu/s_erfl.S: Likewise. + * sysdeps/ia64/fpu/s_fdim.S: Likewise. + * sysdeps/ia64/fpu/s_fdimf.S: Likewise. + * sysdeps/ia64/fpu/s_fdiml.S: Likewise. + * sysdeps/ia64/fpu/s_fma.S: Likewise. + * sysdeps/ia64/fpu/s_fmaf.S: Likewise. + * sysdeps/ia64/fpu/s_fmal.S: Likewise. + * sysdeps/ia64/fpu/s_fmax.S: Likewise. + * sysdeps/ia64/fpu/s_fmaxf.S: Likewise. + * sysdeps/ia64/fpu/s_fmaxl.S: Likewise. + * sysdeps/ia64/fpu/s_ldexp.c: Likewise. + * sysdeps/ia64/fpu/s_ldexpf.c: Likewise. + * sysdeps/ia64/fpu/s_ldexpl.c: Likewise. + * sysdeps/ia64/fpu/s_nextafter.S: Likewise. + * sysdeps/ia64/fpu/s_nextafterf.S: Likewise. + * sysdeps/ia64/fpu/s_nextafterl.S: Likewise. + * sysdeps/ia64/fpu/s_nexttoward.S: Likewise. + * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise. + * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise. + * sysdeps/ia64/fpu/s_tanh.S: Likewise. + * sysdeps/ia64/fpu/s_tanhf.S: Likewise. + * sysdeps/ia64/fpu/s_tanhl.S: Likewise. + * sysdeps/ia64/fpu/s_scalblnf.c: Likewise. + * sysdeps/ia64/fpu/w_lgamma.c: Likewise. + * sysdeps/ia64/fpu/w_lgammaf.c: Likewise. + * sysdeps/ia64/fpu/w_lgammal.c: Likewise. + * sysdeps/ia64/fpu/w_tgamma.S: Likewise. + * sysdeps/ia64/fpu/w_tgammaf.S: Likewise. + * sysdeps/ia64/fpu/w_tgammal.S: Likewise. + + [BZ #592] + * sysdeps/ia64/fpu/e_gamma_r.c: New empty dummy-file. + * sysdeps/ia64/fpu/e_gammaf_r.c: Likewise. + * sysdeps/ia64/fpu/e_gammal_r.c: Likewise. + * sysdeps/ia64/fpu/w_acosh.c: Likewise. + * sysdeps/ia64/fpu/w_acoshf.c: Likewise. + * sysdeps/ia64/fpu/w_acoshl.c: Likewise. + * sysdeps/ia64/fpu/w_atanh.c: Likewise. + * sysdeps/ia64/fpu/w_atanhf.c: Likewise. + * sysdeps/ia64/fpu/w_atanhl.c: Likewise. + * sysdeps/ia64/fpu/w_exp10.c: Likewise. + * sysdeps/ia64/fpu/w_exp10f.c: Likewise. + * sysdeps/ia64/fpu/w_exp10l.c: Likewise. + * sysdeps/ia64/fpu/w_exp2.c: Likewise. + * sysdeps/ia64/fpu/w_exp2f.c: Likewise. + * sysdeps/ia64/fpu/w_exp2l.c: Likewise. + * sysdeps/ia64/fpu/w_expl.c: Likewise. + * sysdeps/ia64/fpu/e_expl.S: Likewise. + * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise. + * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise. + * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise. + * sysdeps/ia64/fpu/w_log2.c: Likewise. + * sysdeps/ia64/fpu/w_log2f.c: Likewise. + * sysdeps/ia64/fpu/w_log2l.c: Likewise. + * sysdeps/ia64/fpu/w_sinh.c: Likewise. + * sysdeps/ia64/fpu/w_sinhf.c: Likewise. + * sysdeps/ia64/fpu/w_sinhl.c: Likewise. + + [BZ #592] + * sysdeps/ia64/fpu/libm_atan2_reg.S: Remove. + * sysdeps/ia64/fpu/s_ldexp.S: Likewise. + * sysdeps/ia64/fpu/s_ldexpf.S: Likewise. + * sysdeps/ia64/fpu/s_ldexpl.S: Likewise. + * sysdeps/ia64/fpu/s_scalbn.S: Likewise. + * sysdeps/ia64/fpu/s_scalbnf.S: Likewise. + * sysdeps/ia64/fpu/s_scalbnl.S: Likewise. + + [BZ #592] + * sysdeps/ia64/fpu/s_sincos.c: Make it an empty dummy-file. + * sysdeps/ia64/fpu/s_sincosf.c: Likewise. + * sysdeps/ia64/fpu/s_sincosl.c: Likewise. + + [BZ #592] + * sysdeps/ia64/fpu/e_atan2l.S: Add "Not needed" comment. + + [BZ #592] + * sysdeps/ia64/fpu/s_copysign.S: Add __libm_copysign{,f,l} + alias for use by libm_error.c + + [BZ #592] + * sysdeps/ia64/fpu/Makefile (libm-sysdep_routines): Remove + libm_atan2_reg, libm_tan, libm_frexp4{f,l}. + Mention s_erfc{,f,l}, libm_frexp{,f,l}, libm_ldexp{,f,l}, + libm_sincos{,f,l}, libm_sincos_large, libm_lgamma{,f,l}, + libm_scalbn{,f,l}, libm_scalblnf. + (sysdep_routines): Remove libm_frexp4{,f,l}. + Mention libm_frexp{,f,l}, libm_ldexp{,f,l}, and libm_scalbn{,f,l}. + (sysdep-CPPFLAGS): Add -include libm-symbols.h, -D__POSIX__, + _D_LIB_VERSIONIMF=_LIB_VERSION, -DSIZE_LONG_INT_64, and + -DSIZE_LONG_LONG_INT_64. + +2005-01-05 Steven Munroe + + [BZ #729] + * elf/rtld.c (dl_main) [NEED_DL_SYSINFO_DSO]: Insure l_map_end and + l_text_end are set for a VDSO with a single PT_LOAD entry. + +2005-01-05 Ulrich Drepper + + [BZ #730] + * libio/iofopncook.c (_IO_cookie_seekoff): Define. Mark offset as + invalid to disable optimizations in fileops which won't work here. + (_IO_cookie_jumps): Use it. + (_IO_old_cookie_jumps): Likewise. + * libio/fmemopen.c (fmemopen_seek): Result must be returned in *P, + not the return value. + * stdio-common/Makefile (tests): Add tst-fmemopen2. + * stdio-common/tst-fmemopen2.c: New file. + + * sysdeps/unix/sysv/linux/bits/waitflags.h: Define __WNOTHREAD. + +2005-01-05 Roland McGrath + + * configure.in (libc_cv_cpp_asm_debuginfo): Checked moved ... + * sysdeps/i386/configure.in: ... here. New file. + +2005-01-03 Ulrich Drepper + + [BZ #727] + * sysdeps/generic/libc-start.c [SHARED] (__libc_start_main): Don't + initialize __environ again. + * stdlib/Makefile: Add rules to build and run tst-putenv. + * stdlib/tst-putenv.c: New file. + * stdlib/tst-putenvmod.c: New file. + + * sysdeps/unix/sysv/linux/init-first.c: Clean file up. Don't + define unnecessary wrappers or aliases of static functions. + +2005-01-03 Andreas Jaeger + + * csu/Makefile (generated): Add start.os and start.ob. + + * elf/Makefile (tests): Change rule for tst-pie1 so that make + clean works. + +2004-12-29 Roland McGrath + + [BZ #626] + * sysdeps/unix/alarm.c (alarm): Round return value to nearest rather + than always up; when nearest is zero, round up to one. + +2004-12-28 Ulrich Drepper + + * po/es.po: Update from translation team. + + [BZ #726] + * sysdeps/generic/dl-tls.c (__tls_get_addr): Fix typo. - * elf/dl-close.c (_dl_close_worker): Renamed from _dl_close and - split out locking and parameter checking. - (_dl_close): Call _dl_close_worker after locking and checking. - * elf/dl-open.c (_dl_open): Call _dl_close_worker instead of - _dl_close. - * elf/Makefile: Add rules to build and run tst-thrlock. - * elf/tst-thrlock.c: New file. +2004-12-27 Ulrich Drepper - [BZ #3426] - * stdlib/stdlib.h: Adjust comment for canonicalize_file_name to - reality. + [BZ #744] + * include/signal.h: Define __sigemptyset. - [BZ #3429] - * elf/dl-open.c (dl_open_worker): Keep holding dl_load_lock until - we are sure we do not need it anymore for _dl_close. Also move - the asserts inside the lock region. - Patch mostly by Suzuki . +2004-04-27 Paolo Bonzini -2006-10-27 Jakub Jelinek + * posix/regex_internal.h (struct re_dfastate_t): Make + word_trtable a pointer to the 512-item transition table. + * posix/regexec.c (build_trtable): Fill in either state->trtable + or state->word_trtable. Return a boolean indicating success. + (transit_state): Expect state->trtable to be a 256-item + transition table. Reorganize code to have less tests in + the common case, and to save an indentation level. + * posix/regex_internal.c (free_state): Free word_trtable. - * elf/dl-lookup.c (_dl_debug_bindings): Remove unused symbol_scope - argument. - (_dl_lookup_symbol_x): Adjust caller. +2004-12-21 Jakub Jelinek - * sysdeps/generic/ldsodefs.h (struct link_namespaces): Remove - _ns_global_scope. - * elf/rtld.c (dl_main): Don't initialize _ns_global_scope. + [BZ #723] + * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Make sure %esp when + calling fn is 16 byte aligned. + * sysdeps/i386/tst-stack-align.h: New file. - * elf/dl-libc.c: Revert l_scope name changes. - * elf/dl-load.c: Likewise. - * elf/dl-object.c: Likewise. - * elf/rtld.c: Likewise. - * elf/dl-close.c (_dl_close): Likewise. - * elf/dl-open.c (dl_open_worker): Likewise. If not SINGLE_THREAD_P, - always use __rtld_mrlock_{change,done}. Always free old scope list - here if not l_scope_mem. - * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Revert l_scope name - change. Never free scope list here. Just __rtld_mrlock_lock before - the lookup and __rtld_mrlock_unlock it after the lookup. - * elf/dl-sym.c: Likewise. - * include/link.h (struct r_scoperec): Remove. - (struct link_map): Replace l_scoperec with l_scope, l_scoperec_mem - with l_scope_mem and l_scoperec_lock with l_scope_lock. + [BZ #725] + * misc/efgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define. + (ecvt_r): Special case denormals. + * misc/qefgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define. + * misc/tst-efgcvt.c: Include float.h. + (ecvt_tests): Add 2 new tests. -2006-10-25 Ulrich Drepper +2004-12-20 Roland McGrath - * sysdeps/gnu/netinet/tcp.h: Define TCP_CONGESTION. + * version.h (RELEASE, VERSION): development, 2.3.90 + * include/features.h (__GLIBC_MINOR__): Now 4. -2006-10-18 Ulrich Drepper - * configure.in: Disable building profile libraries by default. - -2006-10-17 Jakub Jelinek - - * sunrpc/xdr_mem.c (xdrmem_setpos): Don't compare addresses - as signed longs, check for x_base + pos overflow. - * sunrpc/Makefile (tests): Add tst-xdrmem2. - * sunrpc/tst-xdrmem2.c: New test. - -2006-10-18 Ulrich Drepper - - * elf/dl-lookup.c (_dl_lookup_symbol_x): Add warning to - _dl_lookup_symbol_x code. - -2006-10-17 Jakub Jelinek - - * elf/dl-runtime.c: Include sysdep-cancel.h. - (_dl_fixup, _dl_profile_fixup): Use __rtld_mrlock_* and - scoperec->nusers only if !SINGLE_THREAD_P. Use atomic_* - instead of catomic_* macros. - * elf/dl-sym.c: Include sysdep-cancel.h. - (do_sym): Use __rtld_mrlock_* and scoperec->nusers only - if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros. - * elf/dl-close.c: Include sysdep-cancel.h. - (_dl_close): Use __rtld_mrlock_* and scoperec->nusers only - if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros. - * elf/dl-open.c: Include sysdep-cancel.h. - (dl_open_worker): Use __rtld_mrlock_* and scoperec->nusers only - if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros. - -2006-10-17 Jakub Jelinek - - [BZ #3313] - * malloc/malloc.c (malloc_consolidate): Set maxfb to address of last - fastbin rather than end of fastbin array. - -2006-10-18 Ulrich Drepper - - * sysdeps/i386/i486/bits/atomic.h (catomic_decrement): Use correct - body macro. - * sysdeps/x86_64/bits/atomic.h - (__arch_c_compare_and_exchange_val_64_acq): Add missing casts. - (catomic_decrement): Use correct body macro. - -2006-10-17 Jakub Jelinek - - * include/atomic.h: Add a unique prefix to all local variables - in macros. - * csu/tst-atomic.c (do_test): Test also catomic_* macros. - -2006-10-16 Ulrich Drepper - - [BZ #3369] - * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Fix typos in rules 4 - and 7. - -2006-10-14 Ulrich Drepper - - * resolv/arpa/nameser.h: Document that ns_t_a6 is deprecated. - -2006-10-13 Ulrich Drepper - - [BZ #3313] - * malloc/malloc.c (malloc_consolidate): Don't use get_fast_max to - determine highest fast bin to consolidate, always look into all of - them. - (do_check_malloc_state): Only require for empty bins for large - sizes in main arena. - - * libio/stdio.h: Add more __wur attributes. - - * elf/dl-minimal.c (realloc): Optimize last patch. - -2006-10-12 Richard Sandiford - - [BZ #3352] - * elf/dl-minimal.c (realloc): Let malloc() return a new pointer, - and use memcpy() if it does. - -2006-11-12 Andreas Jaeger - - [BZ #2510] - * manual/search.texi (Hash Search Function): Clarify. - (Array Search Function): Clarify. - -2006-11-12 Joseph Myers - - [BZ #2830] - * math/atest-exp.c (main): Cast hex value to mp_limb_t before - shifting. - * math/atest-exp2.c (read_mpn_hex): Likewise. - * math/atest-sincos.c (main): Likewise. - -2006-10-11 Ulrich Drepper - - * sysdeps/unix/sysv/linux/syscalls.list: Add epoll_pwait. - * sysdeps/unix/sysv/linux/sys/epoll.h: Declare epoll_pwait. - * sysdeps/unix/sysv/linux/Versions (libc): Add epoll_pwait for - version GLIBC_2.6. - * Versions.def: Add GLIBC_2.6 for libc. - - * sysdeps/unix/sysv/linux/i386/sysdep.h (DOARGS_6): Fix offset. - - * sysdeps/i386/i486/bits/atomic.h: Add catomic_* support. - -2006-10-11 Jakub Jelinek - - * malloc/malloc.c (_int_malloc): Remove unused any_larger variable. - - * nis/nis_defaults.c (__nis_default_access): Don't call getenv twice. - - * nis/nis_subr.c (nis_getnames): Use __secure_getenv instead of getenv. - * sysdeps/generic/unsecvars.h: Add NIS_PATH. - -2006-10-11 Ulrich Drepper - - * include/atomic.c: Define catomic_* operations. - * sysdeps/x86_64/bits/atomic.h: Likewise. Fix a few minor problems. - * stdlib/cxa_finalize.c: Use catomic_* operations instead of atomic_*. - * malloc/memusage.c: Likewise. - * gmon/mcount.c: Likewise. - * elf/dl-close.c: Likewise. - * elf/dl-open.c: Likewise. - * elf/dl-profile.c: Likewise. - * elf/dl-sym.c: Likewise. - * elf/dl-runtime.c: Likewise. - * elf/dl-fptr.c: Likewise. - * resolv/res_libc.c: Likewise. - -2006-10-10 Ulrich Drepper - - * nis/nis_subr.c (nis_getnames): Add trailing dot to NIS_PATH - components which lack them. - - * nis/nis_subr.c (nis_getnames): Make sure that we always return - at least one entry consisting of the parameter concatenated with - the domain. - -2006-10-10 Roland McGrath - - * sysdeps/mach/hurd/utimes.c: Use a union to avoid an improper cast. - * sysdeps/mach/hurd/futimes.c: Likewise. - * sysdeps/mach/hurd/lutimes.c: Likewise. - -2006-10-09 Ulrich Drepper - Jakub Jelinek - - Implement reference counting of scope records. - * elf/dl-close.c (_dl_close): Remove all scopes from removed objects - from the list in objects which remain. Always allocate new scope - record. - * elf/dl-open.c (dl_open_worker): When growing array for scopes, - don't resize, allocate a new one. - * elf/dl-runtime.c: Update reference counters before using a scope - array. - * elf/dl-sym.c: Likewise. - * elf/dl-libc.c: Adjust for l_scope name change. - * elf/dl-load.c: Likewise. - * elf/dl-object.c: Likewise. - * elf/rtld.c: Likewise. - * include/link.h: Include . Define struct - r_scoperec. Replace r_scope with pointer to r_scoperec structure. - Add l_scoperec_lock. - * sysdeps/generic/ldsodefs.h: Include . - * sysdeps/generic/rtld-lowlevel.h: New file. - - * include/atomic.h: Rename atomic_and to atomic_and_val and - atomic_or to atomic_or_val. Define new macros atomic_and and - atomic_or which do not return values. - * sysdeps/x86_64/bits/atomic.h: Define atomic_and and atomic_or. - Various cleanups. - * sysdeps/i386/i486/bits/atomic.h: Likewise. - - * po/sv.po: Update from translation team. - -2006-10-07 Ulrich Drepper - - * Versions.def: Add GLIBC_2.6 to libpthread. - - * include/shlib-compat.h (SHLIB_COMPAT): Expand parameters before use. - (versioned_symbol): Likewise. - (compat_symbol): Likewise. - - * po/tr.po: Update from translation team. - -2006-10-06 Ulrich Drepper - - * nis/Banner: Removed. It's been integral part forever and the - author info is incomplete anyway. - * libio/Banner: Likewise. - - * nis/nis_table.c (nis_list): If __follow_path fails in the new - code, make sure the nis_freeresult call doesn't crash and that the - result is reported correctly. - -2006-09-27 Jakub Jelinek - - * nis/nis_table.c (nis_list): Handle FOLLOW_PATH | ALL_RESULTS - when callback is NULL. - - * nis/Versions (libnss_nisplus): Add - _nss_nisplus_initgroups_dyn@@GLIBC_PRIVATE. - * nis/Makefile (libnss_nisplus-routines): Add nisplus-initgroups. - * nis/nss_nisplus/nisplus-grp.c (tablename_val, tablename_len, - _nss_create_tablename): Rename to... - (grp_tablename_val, grp_tablename_len, _nss_grp_create_tablename): - ... these. No longer static. - (internal_setgrent): Adjust users. - (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise. - Don't use locking around _nss_grp_create_tablename call. - * nis/nss_nisplus/nisplus-initgroups.c: New file. - -2006-10-06 Ulrich Drepper - - * version.h (VERSION): Bump to 2.5.90 for new development tree. - -2006-10-06 Andreas Jaeger - - * include/features.h (__GLIBC_MINOR__): It's glibc 2.5 now. - -2006-10-06 Ulrich Drepper - - * po/pl.po: Update from translation team. - - * nscd/nscd.c (main): Fix typo in message. - Patch by Jakub Bogsz . - -2006-10-02 Jakub Jelinek - - [BZ #3291] - * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Include - errno.h, signal.h, unistd.h and sysdep-cancel.h. - (__sigprocmask): Define. - -2006-10-02 Ulrich Drepper - - * elf/rtld.c (dl_main): Don't use prelinking if LD_DYNAMIC_WEAK is - used. - -2006-10-02 Jakub Jelinek - - * nscd/mem.c (mempool_alloc): Round array size to 16 bytes - in oldtotal and newtotal calculation. - * nscd/nscd-client.h (struct mapped_database): Add datasize - field. - * nscd/nscd_helper.c (get_mapping): Initialize datasize field. - (__nscd_get_map_ref): Get a new mapping even if mapping's data_size - increased. - (__nscd_cache_search): Add checks to make sure we never reference - data beyond the current mapping. - -2006-10-02 Dmitry V. Levin - - * sysdeps/posix/getaddrinfo.c (match_prefix): Make mask and val - variables const to avoid compiler warnings. - - * io/fts.c (fts_close): Remove redundant checks. - (fts_build): Likewise. - (fts_palloc): Likewise. - - * manual/message.texi (Advanced gettext functions, - Using gettextized software): Fix typos. - -2006-09-30 Ulrich Drepper - - * posix/glob.c (glob_in_dir): Add some comments and asserts to - explain why there are no leaks. - -2006-09-29 Ulrich Drepper - - * libio/wmemstream.c: Include . - * libio/bug-wmemstream1.c: Likewise. - * libio/tst-wmemstream1.c: Likewise. - * libio/tst-wmemstream2.c: Likewise. - - * version.h (RELEASE): Bump to 2.5. - * README: Regenerated. - - * locale/iso-3166.def: Add Aaland Islands and Montenegro. - - [BZ #3273] - * nscd/nscd_initgroups.c (__nscd_getgrouplist): It is OK to have - found no group members. - Patch by Petr Baudis. - -2006-09-29 Jakub Jelinek - - * elf/rtld.c (_dl_start_final): If not USE___THREAD, don't - assert bootstrap_map.l_tls_modid is zero. - (_dl_start): Initialize bootstrap_map.l_tls_modid to 0 - if USE___THREAD. - -2006-09-27 Ulrich Drepper - - * libio/stdio.h: Move open_wmemstream prototype to ... - * wcsmbs/wchar.h: ... here. - -2006-09-25 Jakub Jelinek - - [BZ #3252] - * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Handle only - fchownat syscall and __ASSUME_LCHOWN_SYSCALL case inline, call - __{,l}chown to handle the rest. - * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Handle only - fchownat syscall and __ASSUME_32BITUIDS case inline, call - __{,l}chown to handle the rest. - * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Include - i386/fchownat.c. - * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Likewise. - * sysdeps/unix/sysv/linux/sh/fchownat.c: Likewise. - - [BZ #3253] - * posix/glob.c (glob_in_dir): Don't alloca one struct globlink at a - time, rather allocate increasingly bigger arrays of pointers, if - possible with alloca, if too large with malloc. - -2006-09-24 Jakub Jelinek - - * sysdeps/powerpc/fpu/libm-test-ulps: Updated. - - * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Fix 2 typos. - -2006-09-24 Ulrich Drepper - - * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Implement rule 4, - home addresses. - * sysdeps/unix/sysv/linux/check_pf.c (make_request): Recognize - IFA_F_HOMEADDRESS flag for interfaces. - * include/ifaddrs.h (struct in6addrinfo): Define - in6ai_homeaddress. - -2006-09-21 Jakub Jelinek - - [BZ #3225] - * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (PTR_MANGLE3, - PTR_DEMANGLE3): Define. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (PTR_MANGLE3, - PTR_DEMANGLE3): Likewise. - * sysdeps/powerpc/powerpc32/__longjmp-common.S (__longjmp): Use them. - * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): - Likewise. - * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise. - -2006-09-20 Jakub Jelinek - - * po/libc.pot: Regenerated. - * po/be.po: Updated. - * po/ca.po: Likewise. - * po/cs.po: Likewise. - * po/da.po: Likewise. - * po/de.po: Likewise. - * po/el.po: Likewise. - * po/en_GB.po: Likewise. - * po/es.po: Likewise. - * po/fi.po: Likewise. - * po/fr.po: Likewise. - * po/gl.po: Likewise. - * po/hr.po: Likewise. - * po/hu.po: Likewise. - * po/ja.po: Likewise. - * po/ko.po: Likewise. - * po/nb.po: Likewise. - * po/nl.po: Likewise. - * po/pl.po: Likewise. - * po/pt_BR.po: Likewise. - * po/ru.po: Likewise. - * po/rw.po: Likewise. - * po/sk.po: Likewise. - * po/sv.po: Likewise. - * po/tr.po: Likewise. - * po/zh_CN.po: Likewise. - * po/zh_TW.po: Likewise. - - [BZ #3137] - * iconv/iconv_prog.c (main): Fix spelling in error message. - * iconv/iconvconfig.c (main): Likewise. - * locale/programs/ld-collate.c (handle_ellipsis): Likewise. - * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Likewise. - * locale/programs/localedef.c (main): Likewise. - * locale/programs/repertoire.c (repertoire_read): Likewise. - * timezone/zdump.c (main): Likewise. - * nscd/connections.c (handle_request): Fix spelling in log message. - Patch by Malcolm Parsons . - -2006-09-20 Ulrich Drepper - - * inet/inet6_option.c: Also emit linker warnings for the RFC 2292 - interfaces. - -2006-09-20 Andreas Jaeger - - * math/libm-test.inc (lrint_test_upward): Fix typo. - -2006-06-17 Joseph S. Myers - - [BZ #2592] - * math/libm-test.inc (lrint_test_tonearest): New function. - (lrint_test_towardzero): New function. - (lrint_test_downward): New function. - (lrint_test_upward): New function. - (main): Run these new tests. - * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Correct rounding - of values near to 0. - (two52): Use double not long double. - * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise. - * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise. - (two23): Use float not double. - * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise. - (two23): Use float not double. - * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise. - * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise. - * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise. - * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise. - -2006-09-20 Martin Schwidefsky - - * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c (__makecontext): - Cast sp to unsigned long to avoid compiler warning. - Use __makecontext_ret function instead of a trampoline on the stack. - (__makecontext_ret): New function. - * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Likewise. - -2006-09-19 Jakub Jelinek - - * elf/dl-cache.c (HWCAP_CHECK): If _DL_PLATFORMS_COUNT, but - platform == -1, reject any libs with non-zero _DL_HWCAP_PLATFORM - bits. - -2006-09-19 Ulrich Drepper - - * elf/dl-close.c (_dl_close): If dependency is not unloaded make - sure no reference to the unloaded map's search list remains in the - dependency's scope. - -2006-09-16 Jakub Jelinek - - * elf/Makefile: Add rules to build and run unload7 test. - * elf/unload7.c: New test. - * elf/unload7mod1.c: New file. - * elf/unload7mod2.c: New file. - -2006-09-18 Jakub Jelinek - - * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_GETEVENTMSG): Fix pasto. - * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_SETOPTIONS, - PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define. - * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_SETOPTIONS, - PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Likewise. - * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_SETOPTIONS, - PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Likewise. - * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_SETOPTIONS, - PTRACE_GETEVENTMSG): Likewise. - (PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Change to the arch independent - values. - -2006-09-17 Mike Frysinger - - * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SETOPTIONS, - PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define. - * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Check PTRACE_SETOPTIONS, - PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO and PTRACE_SETSIGINFO. - -2006-09-16 Jakub Jelinek - - * sysdeps/powerpc/powerpc32/register-dump.h (register_dump): Don't - write '\0' to the fd. - * sysdeps/mach/hurd/powerpc/register-dump.h (register_dump): Likewise. - * sysdeps/powerpc/powerpc64/register-dump.h (register_dump): Likewise. - Change regs to unsigned long pointer from unsigned int, fix fscr - offset. - -2006-09-14 Jakub Jelinek - - * io/Makefile (CFLAGS-fstatat.c): Set. - (CFLAGS-fstatat64.c): Likewise. - (CFLAGS-mknodat.c): Likewise. - - * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Comment fixes. - * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Rewritten. - * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Rewritten. - -2006-09-14 Jakub Jelinek - Steven Munroe - - * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add 4 new cap - names to the beginning. Rename "cell" to "cellbe". - (_dl_powerpc_platforms): New. - * sysdeps/powerpc/dl-procinfo.h (_DL_HWCAP_FIRST): Decrease. - (HWCAP_IMPORTANT): Remove power{4,5,5+} and cell. - (_DL_PLATFORMS_COUNT, _DL_FIRST_PLATFORM): Define. - (_DL_HWCAP_PLATFORM): Define to new mask. - (_dl_platform_string, _dl_string_platform): New functions. - * sysdeps/powerpc/sysdep.h (PPC_FEATURE_BOOKE, PPC_FEATURE_SMT, - PPC_FEATURE_ICACHE_SNOOP, PPC_FEATURE_ARCH_2_05): Define. - -2006-09-12 Jakub Jelinek - - [BZ #2526] - * README.libm: Fix a thinko in sqrt algorithm description. - - [BZ #3143] - * manual/string.texi (argz_delete): Fix prototype. - Patch by . - -2006-08-26 Joseph Myers - - [BZ #3138] - * io/test-lfs.c (do_prepare): Give name_len type size_t. - * io/tst-fcntl.c (do_prepare): Likewise. - * posix/tst-exec.c (do_prepare): Likewise. - * posix/tst-preadwrite.c (do_prepare): Likewise. - * posix/tst-spawn.c (do_prepare): Likewise. - * posix/tst-truncate.c (do_prepare): Likewise. - * rt/tst-aio.c (do_prepare): Likewise. - * rt/tst-aio64.c (do_prepare): Likewise. - * stdlib/test-canon2.c (do_prepare): Give test_dir_len type - size_t. - -2006-09-09 Ulrich Drepper - - [BZ #2821] - * time/mktime.c (guess_time_tm): Fix overflow detection. - * time/Makefile (tests): Add bug-mktime1. - * time/bug-mktime1.c: New file. - - [BZ #3189, #3188] - * misc/sys/mman.h (remap_file_pages): Make available for _GNU_SOURCE. - (mremap): Likewise. - -2006-09-07 Jakub Jelinek - - [BZ #1006] - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): - Ensure relocation doesn't clobber any bits outside of the - immediate field for R_SPARC_TLS_LE_HIX22, R_SPARC_WDISP30, - R_SPARC_HI22 and R_SPARC_H44. - - [BZ #2775] - * malloc/malloc.c (sYSMALLOc): Only call grow_heap if - (long) (MINSIZE + nb - old_size) is positive. - - * malloc/arena.c (grow_heap): When growing bail even if new_size - is negative. - - [BZ #3155] - * sysdeps/powerpc/powerpc32/fpu/s_lrint.S (__lrint): Don't access - stack below r1. - -2006-09-06 Jakub Jelinek - - * posix/regex_internal.c (re_string_reconstruct): Handle - offset < pstr->valid_raw_len && pstr->offsets_needed case. - Ensure no bytes read before raw_mbs array. Pass a saved copy of - pstr->valid_len - 1 rather than pstr->valid_raw_len - 1 to - re_string_context_at. - * posix/Makefile: Add rules to build and run bug-regex26 test. - * posix/bug-regex26.c: New test. - - * locale/programs/ld-collate.c (collate_read): Goto sym_equiv_free - rather than col_sym_free. Move seqp declaration earlier. - - * resolv/gai_suspend.c (gai_suspend): Make sure result is initialized. - -2006-09-05 Jakub Jelinek - - * nscd/initgrcache.c (addinitgroupsX): Move any_success - decl before first goto out. - -2006-09-04 Jakub Jelinek - - * Makerules (shlib.lds): If have-hash-style, put .hash section - at the end of the RO segment. - -2006-09-04 Ulrich Drepper - - * elf/do-lookup.h (do_lookup_x): Initialize symidx in case the new - style hash table format is used. - -2006-09-04 Jakub Jelinek - - * resolv/res_mkquery.c (res_nmkquery): Set hp->id to statp->id after - randomization rather than before. - * resolv/res_init.c (res_randomid): Don't call gettimeofday here. - -2006-08-31 Jakub Jelinek - - * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Add ld.so. - - * malloc/malloc.c (_int_malloc): Use full list insert and not - shortcut which assumes the list is empty for large requests - too. - - * elf/tst-addr1.c (do_test): Allow i.dli_sname "_IO_printf". - -2006-08-30 Jakub Jelinek - - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (splice): Add offin - and offout arguments to the prototype. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (splice): Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (splice): Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (splice): Likewise. - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (splice): Likewise. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (splice): Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (splice): Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (splice): Likewise. - * sysdeps/unix/sysv/linux/syscalls.list (splice): Adjust args string. - -2006-08-28 Ulrich Drepper - - * elf/dl-load.c (_dl_init_paths): Expand DSTs. - - * elf/dl-open.c (dl_open_worker): Allow $LIB and $PLATFORM in - dlopen parameters. - -2006-08-28 Jakub Jelinek - - * inet/getnameinfo.c (getnameinfo): For AF_INET, check errno - only if herrno is NETDB_INTERNAL. Handle errors other than - ERANGE outside of the loops, handle TRY_AGAIN. - - * locale/programs/ld-ctype.c (translit_flatten): Issue error - if other's ctype category was missing. - * locale/programs/ld-collate.c (collate_read): Return if - copy_locale's collate category is missing. - -2006-08-27 Ulrich Drepper - - [BZ #2684] - * malloc/malloc.c (public_rEALLOc): Try harder by using other - arenas if allocation failed. - Patch mostly by Jan Edler . - -2006-08-26 Ulrich Drepper - - * malloc/malloc.c (bin_at): Rewrite to be more clear and to not - waste bins[0..1]. - (malloc_state): Reduce bins size by 2. - (_int_malloc): Fix test for large enough buffer for early termination. - When no unsorted block matches perfectly and an exiting block has - to be split, use full list insert and not shortcut which assumes - the list is empty. - - * locale/programs/ld-ctype.c (ctype_read): Better patch for read - failure. - -2006-08-24 Ulrich Drepper - - * locale/programs/ld-ctype.c (ctype_read): If CTYPE is NULL, don't - do anything. - - * sysdeps/generic/ldsodefs.h (DL_ADDR_SYM_MATCH): For undefined - symbol require exact match (these are PLTs). - * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h - (_dl_ppc64_addr_sym_match): Likewise. - - [BZ #2683] - * elf/dl-addr.c (_dl_addr): Don't ignore all undefined symbols. - If symbol has a value use it. - * elf/tst-dladdr1.c: New file. - * elf/Makefile: Add rules to build and run tst-addr1. - -2006-08-24 Jakub Jelinek - - * malloc/malloc.c (sYSMALLOc): Avoid infinite loop if MMAP - keeps failing and heap growth or new heap creation isn't - successful either. - * malloc/tst-malloc.c (main): Add new tests. - -2006-08-24 Ulrich Drepper - - [BZ #2734] - * sysdeps/i386/bits/byteswap.h (__bswap_32): Use same conditions - as in the x86-64 code to use bswap. - -2006-05-21 Joseph S. Myers - - [BZ #2680] - * posix/unistd.h (getlogin_r): Condition on __USE_POSIX199506, not - __USE_UNIX98. - * posix/bits/unistd.h: Likewise. - -2006-05-15 Mike Frysinger - - [BZ #2751] - * string/strchr.c: Add cast to avoid warning. - -2006-08-21 Ulrich Drepper - - * malloc/malloc.c (DEFAULT_MMAP_THRESHOLD_MAX): For 32-bit - platforms define as 512K. For 64-bit platforms as 32MB. The lower - limit is needed to avoid the exploding of the address space - requirement for secondary heaps. - * malloc/arena.c (HEAP_MAX_SIZE): Define using - DEFAULT_MMAP_THRESHOLD_MAX if it is defined. - -2006-07-30 Joseph S. Myers - - [BZ #3018] - * Makerules (depfiles): Handle extra-test-objs the same as - extra-objs. - (common-mostlyclean): Likewise. - * dlfcn/Makefile (extra-objs): Add modules to extra-test-objs - instead. - * elf/Makefile (extra-objs): Likewise. - * stdlib/Makefile (extra-objs): Likewise. - -2006-08-14 Eric Blake - - [BZ #3044] - * misc/error.h: Assume C89 or better. - * misc/error.c: Likewise. - -2006-08-21 Ulrich Drepper - - [BZ #3040] - * sysdeps/unix/sysv/linux/openat.c: Fix compilation if - __ASSUME_ATFCTS is defined. - -2006-08-19 Ulrich Drepper - - * malloc/malloc.c (_int_malloc): Limit number of unsorted blocks - to sort in each call. - - * nis/nss_nis/nis-service.c (internal_nis_getservent_r): . If map - is empty simply return and use next service. - * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise. - - * locale/programs/charmap.c (charmap_read): Add new parameter. It - tells us when not finding a charmap file is an error. - * locale/programs/charmap.h: Adjust charmap_read prototype. - * iconv/iconv_prog.c (main): Tell charmap_read it's no error if we - cannot find a charmap. - * locale/programs/localedef.c (main): Adjust charmap_read call. - -2006-08-15 Jakub Jelinek - - * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Use - sysdeps/posix/pause.c implementation instead. - -2006-08-09 Jakub Jelinek - - * sysdeps/unix/nice.c (nice): Transform EACCES errno from setpriority - to EPERM. - -2006-08-13 Andreas Schwab - - * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_runtime_resolve): - Don't clobber caller's LRSAVE. - (_dl_prof_resolve): Likewise. - -2006-08-14 Ulrich Drepper - - [BZ #1996] - * libio/memstream.c (open_memstream): Allocate initial buffer with - calloc. - * libio/wmemstream.c (open_wmemstream): Likewise. - * libio/strops.c: Pretty printing. - (_IO_str_overflow): Clear uninitialized part of the new buffer. - (enlarge_userbuf): New function. - (_IO_str_seekoff): Call it if seek position is larger than current - buffer. - * libio/wstrops.c: Likewise. - * libio/vasprintf.c: Add comment as to why we do not have to use - calloc instead of malloc to allocate initial buffer. - * libio/Makefile (tests): Add bug-memstream1 and bug-wmemstream1. - * libio/bug-memstream1.c: New file. - * libio/bug-wmemstream1.c: New file. - -2006-08-13 Ulrich Drepper - - * libio/wstrops.c: Remove dead macro definitions and comments. - * libio/strops.c: Likewise. - - [BZ #2764] - * login/utmpname.c (__utmpname): Remove unnecessary test. - -2006-06-08 Joseph Myers - - [BZ #2832] - * math/gen-libm-test.pl (clean_up_number): Do not remove trailing - 0s from integers. - -2006-08-13 Ulrich Drepper - - [BZ #2987] - * sysdeps/unix/sysv/linux/clock_settime.c: Add code to use syscall - for CPU clocks. - * sysdeps/unix/clock_settime.c: Add support for platform-specific - setting of CPU clocks. - -2006-06-23 Paul Eggert - - [BZ #2841] - * sysdeps/generic/stdint.h (UINT8_C, UINT16_C): Don't append 'U', - since C99 requires the result to promote to 'int' when uint_least8_t - and uint_least16_t promote to 'int'. - -2006-08-12 Ulrich Drepper - - [BZ #3013] - * locale/programs/ld-ctype.c (ctype_output): Adjust alignments, fix - lenght of one output field, correct bitmask creation. - * locale/programs/ld-time.c: Add alignment. - - [BZ #2997] - * misc/error.c: Add space between program name and message if file - name is missing. - -2006-08-03 Eric Blake - - [BZ #2998] - * misc/error.c (error_tail) [_LIBC]: Avoid invalid free. - -2006-08-09 Ulrich Drepper - - * malloc/memusagestat.c: Silence warnings. - - * malloc/malloc.c: Dynamically size mmap treshold if the program - frees mmaped blocks. - Patch by Valerie Henson and Arjan van de Ven. - -2006-08-08 Jakub Jelinek - - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (O_DIRECT): Protect with - __USE_GNU. - - * stdlib/strtol_l.c (__strtol_ul_max_tab, __strtol_ul_rem_tab, - __strtol_ull_max_tab, __strtol_ull_rem_tab): Declare. - (DEF): Don't put the var into .gnu.linkonce.r.* section. - Only provide var definitions in strtol_l (or for *ull* - in strtoll_l). - - * stdio-common/bug16.c (tests): New array. - (do_tests): Allow the first hexadecimal digit - to be 1, 2, 4 or 8. Do 3 additional tests. - - * sysdeps/s390/fpu/libm-test-ulps: Update. - - * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c (fchownat): Use - fchownat syscall if available. - * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise. - * sysdeps/unix/sysv/linux/sh/fchownat.c (fchownat): Likewise. - * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise. - -2006-08-07 Ulrich Drepper - - * nis/nis_xdr.c: Avoid some function calls. - -2006-08-07 Jakub Jelinek - Ulrich Drepper - - * nis/nis_call.c (rec_dirsearch) [case LOWER_NAME]: Don't take - short cut if only one name component is stripped away. - -2006-08-07 Ulrich Drepper - - * nis/nis_call.c: Minor cleanups throughout. - (rec_dirsearch) [case HIGHER_NAME]: Correctly size ndomain array. - (first_shoot): Add search_parent_first parameter. Only if it is set - search parent server first. - If directory for table found through cold start cache is not the same - as referenced in the cache, don't use it. - (__nisfind_server): Take additional parameter. Pass it on to - first_shoot. - (__prepare_niscall): Adjust __nisfind_server call. - * nis/rpcsvc/nislib.h: Adjust __nisfind_server prototype. - * nis/nis_table.c: Adjust __nisfind_server call. - * nis/nis_lookup.c: Likewise. - (nis_lookup): Don't loop endlessly if name is reduced to ".". - -2006-08-03 Ulrich Drepper - - [BZ #2182] - * math/s_cacosh.c: Return values from positive branch. - * math/s_cacoshf.c: Likewise. - * math/s_cacoshl.c: Likewise. - - [BZ #2883] - * sysvipc/sys/msg.h: Change return value to ssize_t. - * sysdeps/unix/sysv/linux/msgrcv.c: Likewise. - * sysvipc/msgrcv.c: Likewise. - * include/sys/msg.h: Likewise. - - * grp/initgroups.c (internal_getgrouplist): Remove unnecessary - test introduced in patch for bz #661. - (getgrouplist): Simplify code a bit. Don't allocate one additional - element for NEWGROUPS. - - [BZ #2908] - * stdio-common/printf_fphex.c (__printf_fphex): When rounding up - 'f', use '1' as leading digit not '\1'. - * stdio-common/Makefile (tests): Add bug16. - * stdio-common/bug16.c: New file. - - [BZ #2914] - * sysdeps/unix/sysv/linux/gethostid.c: Don't define OLD_HOSTIDFILE - and don't try to open it. The patch introducing the macro - contained a bug and used the same file name as the new file - instead of using /var/adm/hostid. Nobody complaint so I'm taking - this out completely. - - [BZ #2926] - * assert/assert.h: Move cast to void inside ?: to quiet gcc. - Patch by Jerry James . - - * rt/Makefile (tests): Add tst-clock2. - * rt/tst-clock2.c: New file. - - [BZ #2978] - * resolv/gai_notify.c (__gai_notify_only): Copy memory for thread - function and its parameters and pass it to new thread. - (__gai_notify): Add support for alternative waiting for completion. - * resolv/gai_suspend.c (gai_suspend): Add support for alternative - waiting for completion. - * resolv/getaddrinfo_a.c: Likewise. - * resolv/gai_misc.h (struct waitlist): Don't add cond if alternative - waiting for completion is used. - * resolv/gai_misc.c: Allow overwriting code to start helper thread. - * resolv/gai_cancel.c: Include not "gai_misc.h". - * resolv/gai_error.c: Likewise. - * resolv/gai_sigqueue.c: Likewise. - -2006-08-02 Thomas Schwinge - - * hurd/getdport.c (__getdport): Don't return EBADF; instead set - errno to EBADF and return MACH_PORT_NULL. - -2006-06-23 Joseph Myers - - [BZ #2980] - * posix/Makefile (CFLAGS-waitid.c): Add -fasynchronous-unwind-tables. - -2006-08-02 Ulrich Drepper - - * elf/dl-addr.c (_dl_addr): If GNU-style hash tables are present, - walk them instead of the symbol table. - -2006-08-01 Ulrich Drepper - - [BZ #2098] - * nscd/initgrcache.c (addinitgroupsX): Judge successful lookups by - status of NSS calls, not the number of returned entries. - - * sysdeps/unix/sysv/linux/syscalls.list: Remove add_key, - request_key, keyctl. - -2006-07-31 Ulrich Drepper - - * sysdeps/unix/sysv/linux/dl-osinfo.h: Remove unnecessary include. - -2006-07-16 Jeff Bailey - - * elf/tst-auditmod1.c: Fix typo in #error. - -2006-07-31 Ulrich Drepper - - * elf/tst-auditmod1.c: Remove code for unsupported architectures. - - * iconvdata/run-iconv-test.sh: Run cmp in C locale. - -2006-07-20 Adam Nemet - - * stdlib/test-canon.c (do_test): Close fd before unlinking file so - that the directory is empty even on non-POSIX filesystems. - -2006-07-31 Ulrich Drepper - - * elf/dl-open.c (dl_open_worker): Add branch prediction. - - * nis/nss_compat/compat-grp.c: Avoid unnecessary setgrent calls into - the backend NSS module. If backend setgrent call failed, don't have - internal_setgrent fail. Just remember this until it is needed. - * nis/nss_compat/compat-pwd.c: Likewise. - * nis/nss_compat/compat-spwd.c: Likewise. - -2006-07-30 Roland McGrath - - * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: File removed. - * sysdeps/unix/sysv/linux/x86_64/sigsuspend.c: File removed. - * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: File removed. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: File removed. - - * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): New macro. - (nanosleep_not_cancel): New macro. - (sigsuspend_not_cancel): new macro. - * sysdeps/unix/sysv/linux/sigsuspend.c [__ASSUME_REALTIME_SIGNALS] - (do_sigsuspend): Define as inline. - (__sigsuspend): Always use do_sigsuspend. - [! NO_CANCELLATION] (__sigsuspend_nocancel): New function. - * include/signal.h: Declare __sigsuspend_nocancel. - * sysdeps/posix/pause.c - [! NO_CANCELLATION] (__pause_nocancel): New function. - - * include/unistd.h (__pause_nocancel): Add attribute_hidden. - * include/time.h (__nanosleep_nocancel): Likewise. - -2006-07-30 Ulrich Drepper - - * locale/programs/localedef.c (add_to_readlist): Rename local - variables to avoid confusion. - - * locale/programs/charmap.c (charmap_read): Emit error message if - charmap couldn't be found or read. - -2006-07-28 Ulrich Drepper - - * sysdeps/unix/sysv/linux/kernel-features.h: Define - __ASSUME_FUTEX_LOCK_PI. - * include/time.h: Declare __nanosleep_nocancel. - * include/unistd.h: Declare __pause_nocancel. - - * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Use this instead of - LDFLAGS. Add -lgcc_eh and libc_nonshared (again) to make sure we - get the __stack_chk_fail_local definition when it's needed. - -2006-07-26 Ulrich Drepper - - * dlfcn/Makefile: Add rules to build and run bug-atexit3. - * dlfcn/bug-atexit3.c: New file. - * dlfcn/bug-atexit3-lib.cc: New file. - - * dlfcn/dlmopen.c (dlmopen_doit): Don't allow RTLD_GLOBAL to be - used when the namespace is not the base namespace. - -2006-07-26 Gavin Romig-Koch - - * stdlib/cxa_atexit.c (__new_exitfn_called): New variable. - (__new_exitfn): Bump it in every successful call. - * stdlib/cxa_finalize.c (__cxa_finalize): If destructor registered - more exit handlers, call them right away. - * stdlib/exit.h: Declare __new_exitfn_called. - -2006-07-25 Ulrich Drepper - - * stdlib/cxa_finalize.c (__cxa_finalize): Fix race condition when - calling registered handler. - - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fix comment. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. - -2006-07-10 Ulrich Drepper - - * elf/dl-lookup.c (dl_new_hash): New functions. - (_dl_lookup_symbol_x): Rename hash to old_hash and don't compute - value here. Compute new-style hash value. Pass new hash value - and reference to variable with the old value to do_lookup_x. - (_dl_setup_hash): If DT_GNU_HASH is defined, use it and not - old-style hash table. - (_dl_debug_bindings): Pass new hash value and reference to variable - with the old value to do_lookup_x. - * elf/do-lookup.h (do_lookup_x): Accept additional parameter with - new-style hash value and change old-style hash value parameter to - be a reference. Reoganize functions to determine whether - new-style hash table is available. Only fall back on old-style - table. If old-style hash value is needed, compute it here. - * elf/dynamic-link.h (elf_get_dynamic_info): Relocate DT_GNU_HASH - entry. - * elf/elf.h: Define SHT_GNU_HASH, DT_GNU_HASH, DT_TLSDEC_PLT, - DT_TLSDEC_GOT. Adjust DT_ADDRNUM. - * include/link.h (struct link_map): Add l_gnu_bitmask_idxbits, - l_gnu_shift, l_gnu_bitmask, l_gnu_buckets and l_gnu_chain_zero. - * Makeconfig: If linker supports --hash-style option add it to all - linker command lines to build DSOs. - * config.make.in: Define have-hash-style. - * configure.in: Test whether linker supports --hash-style option. - - * elf/dl-misc.c (_dl_name_match_p): Make MAP parameter const. - * sysdeps/generic/ldsodefs.h: Adjust prototype. - -2006-06-27 Ulrich Drepper - - * elf/dl-load.c (open_path): Fix test to determine whether DSO is - auditing. - - * elf/dl-load.c (_dl_map_object): Try harder to avoid looking at - RPATH of main map twice. - -2006-06-22 Ulrich Drepper - - * intl/dcigettext.c (DCIGETTEXT): If _nl_find_msg returns -1 don't - look further, return original strings. - (_nl_find_msg): Do not return found translation if the conversion - failed. Either signal the string is unusable or that something went - wrong and the original should be used. - -2006-06-21 Ulrich Drepper - - * string/_strerror.c (__strerror_r): Add __builtin_expect. - -2006-06-14 Jakub Jelinek - - [BZ #2766] - * misc/insremque.c (insque): Handle prev == NULL. - * misc/Makefile (tests): Add tst-insremque. - * misc/tst-insremque.c: New test. - -2006-06-17 Ulrich Drepper - - [BZ #2792] - * elf/dl-deps.c (expand_dst): Rename __cnt variable to not - conflict with DL_DST_REQUIRED. - -2006-06-16 Ulrich Drepper - - * nis/nis_subr.c (nis_getnames): Fix the implementation to better - match what Solaris does. - -2006-06-04 Ulrich Drepper - - * sysdeps/posix/spawni.c (__spawni): Use local_seteuid and - local_setegid instead of seteuid and setegid. - * sysdeps/generic/local-setxid.h: New file. - * sysdeps/unix/sysv/linux/local-setxid.h: New file. - - * sysdeps/posix/spawni.c (__spawni): Use non-cancelable interfaces. - - * string/Makefile (tests): Add bug-envz1. - * string/bug-envz1.c: New file. - -2006-06-02 Jakub Jelinek - - * posix/regex_internal.c (re_string_skip_chars): If no character has - been converted at all, set *last_wc to WEOF. If mbrtowc failed, set wc - to the byte which couldn't be converted. - (re_string_reconstruct): Don't clear valid_raw_len before calling - re_string_skip_chars. If wc is WEOF after re_string_skip_chars, set - tip_context using re_string_context_at. - * posix/Makefile: Add rules to build and run bug-regex25 test. - * posix/bug-regex25.c: New test. - -2006-06-02 Ryan S. Arnold - - [BZ #2703] - * string/envz.c (envz_strip): Correct erroneously reversed src - and dest parameters to memmove() invocation. - -2006-05-30 Jakub Jelinek - - * nscd/nscd.h (prune_cache): Add fd argument to prototype. - * nscd/nscd.c (parse_opt): Read response from INVALIDATE request - to make sure the database has been already invalidated. - * nscd/cache.c (prune_cache): Add fd argument. Write response to fd - after the cache has been invalidated. Use pthread_mutex_lock rather - than pthread_mutex_trylock if fd != -1. - * nscd/connections.c (invalidate_cache): Add fd argument, write - response to fd if not calling prune_cache, pass fd to prune_cache. - (handle_request): Adjust invalidate_cache caller. - (nscd_run): Pass -1 as fd to prune_cache. - -2006-05-30 Ulrich Drepper - - * sysdeps/posix/getaddrinfo.c (gaiconf_init): Initialize bits in - the correct place. - -2006-05-29 Ulrich Drepper - - * nscd/nscd.h (struct database_dyn): Add prunelock field. - * nscd/cache.c (prune_cache): Take prunelock before starting the - work. Just return in case it is already taken. - * nscd/connections.c (dbs): Initialize .prunelock. - -2006-05-25 Ulrich Drepper - - * nis/nis_removemember.c (nis_removemember): Avoid unnecessary - copying. No need to allocate new array for group members. Just - move the pointers and update the size. - - * nis/nis_addmember.c (nis_addmember): Avoid unnecessary copying. - Avoid memory leak in case realloc fails. Simplification for - better code generation. - - Avoid deprecation warning because of libc_hidden_proto for - inet6_option_alloc. - * inet/inet6_option.c (option_alloc): Renamed from - inet6_option_alloc. Made static. - (inet6_option_alloc): Now a simple wrapper around option_alloc. - (inet6_option_append): Call option_alloc. - * include/netinet/in.h: Remove libc_hidden_proto for - inet6_option_alloc. - - * nis/nis_callback.c (__nis_create_callback): Always call xdr_free - for cleanup when cb!=NULL [Coverity CID 233]. - -2006-05-24 Ulrich Drepper - - [BZ #2693] - * inet/Makefile (routines): Add inet6_opt and inet6_rth. - * inet/Versions (libc, GLIBC_2.5): Add inet6_opt_init, - inet6_opt_append, inet6_opt_finish, inet6_opt_set_val, inet6_opt_next, - inet6_opt_find, inet6_opt_get_val, inet6_rth_space, inet6_rth_init, - inet6_rth_add, inet6_rth_reverse, inet6_rth_segments, - and inet6_rth_getaddr. - * inet/netinet/ip6.h (struct ip6_rthdr0): Make ip6r0_addr a flexible - array. - * inet/netinet/in.h (struct ip6_mtuinfo): Define. - Mark inet6_option_* interfaces as deprecated. - Declare inet6_opt_init, inet6_opt_append, inet6_opt_finish, - inet6_opt_set_val, inet6_opt_next, inet6_opt_find, inet6_opt_get_val, - inet6_rth_space, inet6_rth_init, inet6_rth_add, inet6_rth_reverse, - inet6_rth_segments, and inet6_rth_getaddr. - * inet/inet6_opt.c: New file. - * inet/inet6_rth.c: New file. - - * inet/netinet/icmp6.h: Pretty printing. - - [BZ #2683] - * elf/dl-addr.c (_dl_addr): Don't match undefined references. - -2006-05-23 Ulrich Drepper - - * nis/nis_lookup.c (nis_lookup): Use __prepare_niscall instead of - doing it all here. When server does not know the answer do not - fail immediate, try parent first. - - * nis/nis_domain_of_r.c (nis_domain_of_r): Add missing buffer - overflow test. - -2006-05-20 Ulrich Drepper - - * nis/nis_call.c (__prepare_niscall): New function. Split out - from __do_niscall. - * nis/nis_table.c (__create_ib_request): Renamed from create_ib_request - and exported. - (__follow_path): New function. Split out from nis_list. - * nis/nis_xdr.h: Add libnsl_hidden_proto for _xdr_ib_request and - _xdr_nis_result. - * nis/nis_xdr.c: Add libnsl_hidden_def for _xdr_ib_request and - _xdr_nis_result. - * nis/libnsl.h: Declare __prepare_niscall, __create_ib_request, - and __follow_path. - * nis/Versions: Export __prepare_niscall, __create_ib_request, - __follow_path, __do_niscall3, _xdr_ib_request, and _xdr_nis_result - from libnsl for version GLIBC_PRIVATE. - * nis/nisplus-parser.h: Remove _nss_nisplus_parse_pwent_chk. - Remove entry parameter from _nss_nisplus_parse_pwent and - _nss_nisplus_parse_grent. - * nis/nss_nisplus/nisplus-parser.c: Likewise. - * nis/nss_nisplus/nisplus-pwd.c: Remove support for SETENT_BATCH_READ - again. Rewrite getpwent handling to not use nis_first_entry and - nis_next_entry. Roll out own niscall handling. - * nis/nss_nisplus/nisplus-grp.c: Likewise. - - * sunrpc/xdr_rec.c: Fix typo in comment. - -2006-05-19 Ulrich Drepper - - * nis/nis_call.c (__do_niscall3): Avoid code duplication in error - handling. - - * nis/nis_callback.c (internal_nis_do_callback): Don't use malloc - to allocate memory for my_pollfd. Better initialization of - cb_is_running. Use TEMP_FAILURE_RETRY. - - * malloc/memusage.sh (memusageso): Add quotes. - (memusagestat): Likewise. - * debug/xtrace.sh (pcprofileso): Likewise. - (pcprofiledump): Likewise. - * debug/Makefile ($(objpfx)xtrace): Use $LIB in SLIBDIR - replacement. - * malloc/Makefile ($(objpfx)memusage): Likewise. - - * nis/nis_callback.c (__nis_create_callback): Calls to - svcudp_bufcreate and svctcp_create can fail. Free ->xprt if - asprintf call fails. - - * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_sendreq): Make sure - no uninitialized memory is passed to sendto. - -2006-05-18 Ulrich Drepper - - * nis/nis_callback.c (__nis_create_callback): Use asprinf instead - of snprintf+strdup. Handle OOM. - * nis/nis_callback.c (__nis_create_callback): Allocate cb and - cb->serv together. Remove now obsolete free calls. - (__nis_destroy_callback): Remove now obsolete free call. - -2006-05-18 David Woodhouse - - * sysdeps/posix/getaddrinfo.c: Add unique labels to the default - RFC3484 precedence table for fec0::/10 and fc00::/7 (site-local - and ULA respectively). Set precedence for IPv4 address to 10 as - defined in RFC3484 for preferring IPv6. - * posix/gai.conf: Update to match the new default tables. - -2006-05-18 Jakub Jelinek - - * nis/nss_compat/compat-pwd.c (internal_setpwent): If nss_set*ent - returned NSS_STATUS_UNAVAIL, still return NSS_STATUS_SUCCESS. - * nis/nss_compat/compat-spwd.c (internal_setspent): Likewise. - * nis/nss_compat/compat-grp.c (internal_setgrent): Likewise. - - * nis/nss_compat/compat-initgroups.c (nss_setgrent, nss_endgrent): - Removed. - (init_nss_interface): Remove initialization of these variables. - -2006-05-18 Ulrich Drepper - - * nis/nis_call.c (rec_dirsearch): Little optimization: pull - nis_free_directory forward to avoid duplication. - -2006-05-17 Ulrich Drepper - - * nis/nis_call.c (rec_dirsearch): Handle __nis_finddirectory and - rec_dirsearch returning NULL. - (first_shoot): Handle __nis_finddirectory returning NULL. - (__nisfind_server): Fix leak when rec_dirsearch returns NULL. - - * sysdeps/unix/sysv/linux/sys/inotify.h: Define IN_CLOSE, IN_MOVE, - IN_ONLYDIR, IN_DONT_FOLLOW, and IN_MASK_ADD. - -2006-05-17 Jakub Jelinek - - * sunrpc/key_call.c (getkeyserv_handle): Call auth_destroy if - pid changed. - -2006-05-15 Ulrich Drepper - - * include/rpc/pmap_prot.h: Mark all functions as hidden. - - * nscd/nscd_initgroups.c: Mark __gr_map_handle as hidden. - * nscd/nscd_getgr_r.c: Likewise. - - * include/rpc/pmap_rmt.h: Mark all functions as hidden. - - * nscd/nscd_getai.c (__hst_map_handle): Mark as hidden. - * nscd/nscd_gethst_r.c (__hst_map_handle): Likewise. - - * stdlib/longlong.h (__clz_tab): Mark as hidden. - - * iconv/gconv_int.h: Mark __gconv_lock as hidden. - - * include/rpc/key_prot.h: Mark all _internal functions as hidden. - - * include/rpc/auth.h: Mark xdr_des_block_internal and - xdr_opaque_auth_internal as hidden. - - * sysdeps/unix/sysv/linux/getdents.c: Mark __have_no_getdents64 as - hidden. - - * include/rpc/xdr.h: Mark all _internal functions as hidden. - - * misc/getusershell.c (okshells): Don't use static initializers, - do it dynamically. - - * stdlib/fmtmsg.c (keywords): Change type of len element to - uint32_t to not waste space on 64bit machines. - - * locale/setlocale.c: Change _nl_category_names into a string. - Add new _nl_category_name_idxs. Change all users. - * locale/localeinfo.h: Adjust declaration of _nl_category_names. - Declare _nl_category_name_idxs. - * locale/findlocale.c: Adjust for _nl_category_names change. - * locale/loadlocale.c: Likewise. - * locale/newlocale.c: Likewise. - * intl/dcigettext.c: Likewise. - - * iconv/gconv_conf.c (add_alias): Move actual alias handling to... - (add_alias2): ...here. New function. - (__gconv_read_conf): Simplify builtin alias handling. - (builtin_aliases): Convert to string to avoid relocations. - * iconv/gconv_builtin.h: Add comment about correct formatting. - -2006-05-15 Jakub Jelinek - - * resolv/res_debug.c (loc_ntoa): Make error const. - -2006-05-14 Andreas Schwab - - * math/complex.h [__LDBL_COMPAT]: Use __REDIRECT_NTH. - -2006-05-12 Jakub Jelinek - - * sysdeps/unix/sysv/linux/sched_getaffinity.c: Include sys/param.h. - (__sched_getaffinity_new): Don't crash if cpusetsize is smaller than - sizeof (cpu_set_t). - -2006-05-11 Ulrich Drepper - - * resolv/res_debug.c (loc_ntoa): Define error as array, not pointer. - - * include/arpa/nameser.h: Declare _ns_flagdata as hidden. - - * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_master. - * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_master. - - * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypbind_resp. - * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypbind_resp. - - * nis/nis_xdr.c: Add libnsl_hidden_def for xdr_cback_data. - * include/rpcsvc/nis_callback.h: Add libnsl_hidden_proto for - xdr_cback_data. - - * nis/ypupdate_xdr.c: Add libnsl_hidden_def for xdr_ypupdate_args. - * include/rpcsvc/ypupd.h: Add libnsl_hidden_proto for - xdr_ypupdate_args. - - * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_order. - * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_order. - - * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_maplist. - * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_maplist. - - * nis/nis_xdr.c: Add libnsl_hidden_def for xdr_obj_p. - * include/rpcsvc/nis_callback.h: New file. - - * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_val. - * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_val. - - * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypreq_nokey. - * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypreq_nokey. - - * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypmaplist. - * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypmaplist. - - * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypreq_nokey. - * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypreq_nokey. - - * nis/ypupdate_xdr.c: Add libnsl_hidden_def for xdr_ypdelete_args. - * include/rpcsvc/ypupd.h: Add libnsl_hidden_proto for - xdr_ypdelete_args. - - * nis/nis_xdr.h: Mark all functions as hidden. Remove - __BEGIN_DECLS and __END_DECLS, the header is not installed. - - * nis/nis_error.c: Remove table of strings. Use position - independent mechanism. - * nis/nis_error.h: New file. - -2006-05-11 Jakub Jelinek - - * locale/programs/ld-time.c (time_finish): If wide era name or - format aren't provided, set both wname and wformat to L"". - -2006-05-10 Ulrich Drepper - - * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Only store - results if the call was succesful. - - * nis/nss-nis.h: Mark __yperr2nss_tab and __yperr2nss_count as hidden. - - * nis/nss-nisplus.h: Mark __niserr2nss_tab and __niserr2nss_count - as hidden. - -2006-05-10 Jakub Jelinek - - * misc/sys/queue.h: Remove uses of all QUEUEDEBUG_* macros. - -2006-05-10 Ulrich Drepper - - * posix/wordexp.c (parse_glob): No need to check ifs for NULL, the - caller makes sure this is not the case. - (wordexp): Simplify ifs_white creation. [Coverity CID 231] - -2006-05-09 Ulrich Drepper - - * posix/wordexp.c: Remove numerous NULL pointer tests before FREE - calls. - - * io/ftw.c (open_dir_stream): Return right away if REALLOC fails. - [Coverity CID 229, 230] - - * argp/argp-help.c (hol_entry_help): Handle STATE==NULL in ARG and - DGETTEXT calls. - (hol_help): Likewise. [Coverity CID 226, 227] - - * string/argz-replace.c (__argz_replace): Unconditionally call - free on SRC. [Coverity CID 225] - - * nis/nis_creategroup.c (nis_creategroup): No need to duplicate - the return value of __nis_default_owner and __nis_default_group, - it has been especially allocated. [Coverity CID 224] - - * nis/nis_defaults.c (searchXYX): New functions. Used by both - searchgroup and searchowner. Significantly simplified. - (__nis_default_owner): Remove duplication. Do not locally copy the - string before duplicating it. - (__nis_default_group): Likewise. - - * nis/nis_lookup.c (nis_lookup): After calling nis_free_directory, - we must clear the variable before calling __nisfind_server. - - * nis/nis_lookup.c (nis_lookup): Always free memory allocated with - nis_getnames. [Coverity CID 223] - - * locale/programs/locfile.c (locfile_read): Use alloca instead of - xmalloc to allocate local repertoire name. [Coverity CID 222] - - * iconv/iconv_charmap.c (use_to_charmap): No need to dynamically - allocate memory for the input to add_bytes. [Coverity CID 221] - - * posix/wordexp.c (w_addword): Free word if realloc fails and it - was allocated here. [Coverity CID 219, 220] - - * posix/getconf.c (print_all): Free confstr data after printing. - [Coverity CID 218] - - * sysdeps/posix/getaddrinfo.c (gaih_inet): Free canon string if - list allocation fails. [Coverity CID 215] - - * nss/nsswitch.c (__nss_configure_lookup): Fix loop end condition. - [Coverity CID 213] - - * argp/argp-help.c (hol_entry_cmp): Don't call canon_doc_option if - string is NULL. [Coverity CID 212] - * argp/Makefile: Add rules to build and run bug-argp1. - * argp/bug-argp1.c: New file. - - * io/ftw.c (ftw_dir): Use __rawmemchr instead of strchr to find - end of string. - * stdlib/canonicalize.c (__realpath): Likewise. - - * locale/programs/ld-time.c (time_finish): Don't dereference NULL - pointer. [Coverity CID 206] - - * elf/dl-dst.h (DL_DST_REQUIRED): Be prepared for missing link map - in statically linked code. - * elf/dl-load.c (_dl_dst_substitute): When replacing ORIGIN in - statically built code, be prepared to have no link map. - [Coverity CID 205] - - * argp/argp-help.c (fill_in_uparams): Handle STATE==NULL in - dgettext calls. [Coverity CID 204] - - * argp/argp-help.c (struct uparams): Remove valid member. Change - the one user. - (uparam_names): Reduce size. Avoid relative relocations. - Moved to read-only segment. - (fill_in_uparams): Update for new layout. - - * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Parameter can be - assumed to always be != NULL. [Coverity CID 202] - - * argp/argp-help.c (hol_entry_help): Remove some dead code - [Coverity CID 200]. - - * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Optimize - away a few more unconditional yperr2nss calls. - (_nss_nis_getservbyname_r): Likewise. - -2006-05-06 Ulrich Drepper - - * sysdeps/generic/ldsodefs.h: Remove support for non-core - architectures. - - * sysdeps/unix/sysv/linux/check_pf.c (make_request): Make sure - that unused memory passed to sendto is nevertheless initialized. - - [BZ #2499] - * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Avoid - possibly unaligned memory accesses. - - * include/arpa/nameser.h: Also optimize NS_PUT16 and NS_PUT32. - * resolv/res_mkquery.c: Use NS_PUT16 and NS_PUT32 instead of __putshort - and __putlong respectively. Correct buffer overflow check for - NS_NOTIFY_OP. - - * resolv/res_send.c (send_vc): Use ns_put16 instead of putshort. - - * resolv/res_send.c (res_queriesmatch): Fix typo in comment. - (send_dg): Rewrite error handling to be more compact and avoid - double recomputation of timeouts. Pass MSG_NOSIGNAL to send. - - * include/arpa/nameser.h: Add optimizations for NS_GET16 and NS_GET32. - - * resolv/res_send.c (res_nameinquery): Use NS_GET16 directly - instead of ns_get16. - (res_queriesmatch): Likewise. Minor optimization. - - [BZ #2499] - * resolv/res_query.c (__libc_res_nquery): If answerp != NULL, - __libc_res_nsend might reallocate the buffer for the answer. In - this case we have to reload the HP pointer. - -2006-05-05 Ulrich Drepper - - * stdio-common/vfscanf.c (memory_error): Remove definition. Add - some branch prediction hints. - - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define SPLICE_F_*. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. - -2006-05-05 Martin Schwidefsky - - * sysdeps/s390/s390-32/elf/start.S: Replace pc relative relocation - by a GOT relocation to make Scrt1.o position independent. - * sysdeps/s390/s390-64/elf/start.S: Likewise. - - * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: Add support for - six system call parameters. - * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise. - -2006-05-05 Ulrich Drepper - - * sunrpc/svcauth_des.c (cache_init): Use calloc instead of - malloc&bzero. - - * sunrpc/svc_udp.c (BZERO): Remove definition. - (CALLOC): Define. - (svc_enablecache): Use CALLOC instead of ALLOC&BZERO. - - * sunrpc/des_impl.c: Remove ALT_ECB support. We never used it. - (des_SPtrans): Use uint32_t type. - (des_skb): Likewise. - - * sunrpc/xdr_ref.c (xdr_reference): Use calloc instead of malloc&bzero. - -2006-05-05 Jakub Jelinek - - [BZ #2509] - * stdio-common/tst-printf.sh: Adjust for tst-printf.c change even - on 32-bit arches. - -2006-05-05 Ulrich Drepper - - * locale/programs/ld-address.c (address_finish): Fix one more - place where the iso639 array might be accessed beyond the limits. - -2006-05-04 Ulrich Drepper - - * nis/nis_table.c (nis_list): Avoid clearing res twice before - filling it for the first time. - - * nis/nis_table.c (get_tablepath): Renamed from __get_tablepath. - Adjust all callers. - Free res object content before returning. - - * sunrpc/xdr_array.c (xdr_array): Use calloc instead of malloc&bzero. - - * sunrpc/key_call.c (__rpc_thread_key_cleanup): Also free - client->cl_auth. - - * sunrpc/rpc_thread.c (__rpc_thread_destroy): Don't skip entire - cleanup for initial thread, just the free call on TVP. - - * nscd/gai.c (__getline): Define. - - -See ChangeLog.16 for earlier changes. +See ChangeLog.15 for earlier changes. diff --git a/ChangeLog.18 b/ChangeLog.18 new file mode 100644 index 0000000000..92f9739680 --- /dev/null +++ b/ChangeLog.18 @@ -0,0 +1,15228 @@ +2010-05-04 Andreas Schwab + + * posix/regexec.c (find_collation_sequence_value): Fix skipping + the wide char sequence of the collating element. + +2010-05-05 Ulrich Drepper + + [BZ #11571] + * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle + too small buffers according to the standard. + + * sysdeps/unix/sysv/linux/kernel-features.h: Alpha doesn't have to be + handled here anymore. + Patch mostly by Matt Turner . + +2010-05-03 Ulrich Drepper + + * version.h (VERSION): Bump for 2.12 release. + * include/features.h (__GLIBC_MINOR__): Bump to 12. + + [BZ #11149] + * elf/ldconfig.c (search_dir): Fix handling of symlinks in chroot. + + * elf/chroot_canon.c (chroot_canon): Use xmalloc and xrealloc. + + * elf/ldconfig.c (parse_conf_include): Don't fall back to + directories named in config file outside the chroot. + +2010-02-02 Andreas Schwab + + * sysdeps/generic/ldsodefs.h (struct rtld_global): Add + _dl_load_write_lock. + * elf/rtld.c (_rtld_global): Initialize it. + * elf/dl-support.c (_dl_load_write_lock): Define . + * elf/dl-close.c (_dl_close_worker): Lock GL(dl_load_write_lock) + when modifying the list of loaded objects. + * elf/dl-load.c (lose): Likewise. + * elf/dl-object.c (_dl_new_object): Likewise. + * elf/dl-iteratephdr.c (__dl_iterate_phdr): Lock + GL(dl_load_write_lock) instead of GL(dl_load_lock). + +2010-05-03 Ulrich Drepper + + * elf/dl-iteratephdr.c (__dl_iterate_phdr): Remove unnecessary + assignment. + +2010-05-02 Ulrich Drepper + + * misc/mntent_r.c (encode_name): The slow loop handles newlines so we + should recognize them as an abort condition. + Patch by Jan Lieskovsky . + +2010-04-25 Bruno Haible + + [BZ #11538] + * sysdeps/unix/bsd/ptsname.c (__ptsname_r): Use __ttyname_r's return + value instead of errno. + * sysdeps/unix/getlogin.c (getlogin): Likewise. + + [BZ #11537] + * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Upon failure, return + errno, not -1. + +2010-04-24 Emilio Pozuelo Monfort + + * hurd/lookup-at.c (__file_name_lookup_at): Fix error return value. + +2010-04-22 Ulrich Drepper + + * po/vi.po: Update from translation team. + +2010-04-21 Ulrich Drepper + + * po/bg.po: Update from translation team. + +2010-04-19 Roland McGrath + + * elf/Makefile ($(objpfx)noload): Depend on libdl.so. + + * Makeconfig (as-needed, no-as-needed): New variables. + (link-libc): Add ld.so inside --as-needed. + + * stdio-common/tst-fmemopen.c (TEST_FILE): Macro removed. + (main): Take arguments. Construct test file name from ARGV[0]. + +2010-04-15 H.J. Lu + + * string/test-strncmp.c (check_result): New function. + (do_one_test): Use it. + (check1): New function. + (test_main): Use it. + * sysdeps/i386/i686/multiarch/strcmp-sse4.S (crosspage): Properly + update source and destination. + * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (gobble_ashr_12): + Properly check and update counter. + +2010-04-14 H.J. Lu + + * sysdeps/x86_64/elf/configure.in: Move AVX test to .... + * sysdeps/i386/configure.in: ...here. + * sysdeps/i386/i686/multiarch/Makefile (libm-sysdep_routines): Define. + (CFLAGS-s_fma-fma.c): Define. + (CFLAGS-s_fmaf-fma.c): Define. + * sysdeps/i386/i686/multiarch/Versions: New file. + * sysdeps/i386/i686/multiarch/s_fma-fma.c: New file. + * sysdeps/i386/i686/multiarch/s_fma.c: New file. + * sysdeps/i386/i686/multiarch/s_fmaf-fma.c: New file. + * sysdeps/i386/i686/multiarch/s_fmaf.c: New file. + + * sysdeps/x86_64/multiarch/memcmp-sse4.S: Check + DATA_CACHE_SIZE_HALF instead of SHARED_CACHE_SIZE_HALF. + +2010-04-14 Andreas Schwab + + * elf/dl-version.c (_dl_check_map_versions): Avoid index overflow + when dependencies are missing. + +2010-04-14 H.J. Lu + + * sysdeps/x86_64/multiarch/memcmp-sse4.S: Optimized for unaligned + data. + +2010-04-12 H.J. Lu + + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add + memcmp-sse4. + * sysdeps/x86_64/multiarch/memcmp-sse4.S: New file. + * sysdeps/x86_64/multiarch/memcmp.S: New file. + * sysdeps/x86_64/multiarch/rtld-memcmp.c: New file. + +2010-04-13 Ulrich Drepper + + * sysdeps/x86_64/multiarch/init-arch.h: Pretty printing. + Add SSE 4.1 macros. + +2010-04-10 Matt Fleming + + * elf/elf.h: Add SH specific ELF header flags. + +2010-04-13 Andreas Schwab + + * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Fix setup of + overflow area. + * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Likewise. + +2010-04-12 Andreas Schwab + + * stdlib/tst-makecontext3.c (main): Initialize ucontext_t objects + only with getcontext. Test for unimplemented makecontext by + checking errno. + +2010-04-09 Ulrich Drepper + + * nscd/aicache.c (addhstaiX): Correct passing memory to address + list to gethostbyname4_r functions. + + * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Optimize + copying of h_name. + +2010-04-09 Roland McGrath + + * Makerules ($(common-objpfx)libc-abis.h): Depend on libc-abis.stamp. + ($(common-objpfx)libc-abis.stamp): New target, rule moved from + libc-abis.h target. Use a stamp file to avoid repeating no-op + move-if-change on every run. + + * posix/Makefile (tst-chmod-ARGS): Pass $(objdir), not `pwd`. + +2010-04-08 Ulrich Drepper + + [BZ #10915] + * nscd/nscd_stat.c (struct statdata): Add reload_count field. + (send_stats): Fill in reload_count. + (receive_print_stats): Print reload_count. + + * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): When + reading the loginuid file use a buffer which is always large enough. + NUL-terminate the string. + + * malloc/malloc.c (_int_malloc): Return NULL if printing error message + returns. + +2010-04-07 Andreas Schwab + + * sysdeps/unix/sysv/linux/i386/fallocate.c: Set errno on error. + * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise. + +2010-04-08 Andreas Jaeger + + [BZ #10401] + * math/s_cprojl.c (__cprojl): Fix implementation to follow C99 + standard. + * math/s_cprojf.c (__cprojf): Likewise. + * math/s_cproj.c (__cproj): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise. + * math/libm-test.inc (cproj_test): Fix test. + +2010-04-08 Roland McGrath + + * Makerules (libc-abis): Variable removed. + ($(common-objpfx)libc-abis.h): Depend on Makerules too. + Use automatic variables in commands. + Depend on first libc-abis from $(sysdirs) or $(..). + +2010-04-07 Ulrich Drepper + + * posix/bug-getopt1.c: New file. + * posix/bug-getopt2.c: New file. + * posix/bug-getopt3.c: New file. + * posix/bug-getopt4.c: New file. + * posix/bug-getopt5.c: New file. + +2009-12-01 Eric Blake + + [BZ #11039] + * posix/getopt.c (_getopt_internal_r): Skip optional - or + before + checking lead byte of optstring for :. + + [BZ #11040] + * posix/getopt.c (_getopt_internal_r): Reject '-;' as short + option, since it conflicts with "W;" optstring extension. + +2009-12-02 Eric Blake + + [BZ #11041] + * posix/getopt.c (_getopt_internal_r): Handle '-Wfoo' identically + to '--foo', with optional argument or non-ambiguous prefix. + +2010-04-07 Ulrich Drepper + + [BZ #11134] + * nis/libnsl.h (NSS_FLAG_ADJUNCT_AS_SHADOW): Define. + * nis/nss: Document new ADJUNCT_AS_SHADOW variable. + * nis/nss-default.c: Handle ADJUNCT_AS_SHADOW variable. + * nis/nss_nis/nis-pwd.c (internal_nis_endpwent): Minor cleanups. + (internal_nis_getpwent_r): Don't fill in password from adjunct table + if NSS_FLAG_ADJUNCT_AS_SHADOW is set. + (_nss_nis_getpwnam_r): Likewise. + (_nss_nis_getpwuid_r): Likewise. + * nis/nss_nis/nis-spwd.c (ent_adjunct_used): New global variable. + (_nss_nis_setspent): Also reset ent_adjunct_used. + (internal_nis_getspent_r): If new_start is set and shadow.byname table + does not exist and NSS_FLAG_ADJUNCT_AS_SHADOW is set, try to get + passwd.adjunct.byname table. If new_start is not set get next entry + from the initially used table. Synthesize shadow.byname table if + necessary by adding two empty fields. + (_nss_nis_getspnam_r): If shadow.byname table does not exist and + NSS_FLAG_ADJUNCT_AS_SHADOW is set, try to get passwd.adjunct.byname + table and synthesize shadow.byname table. + +2010-04-06 H.J. Lu + + * Makerules (libc-abis): Add $(..) to libc-abis. + +2010-04-06 Joseph Myers + + * Makerules (libc-abis): Fix search for libc-abis in add-ons. + +2010-04-05 Thomas Schwinge + + * sysdeps/gnu/unwind-resume.c: New, moved from nptl/sysdeps/pthread/. + * sysdeps/gnu/rt-unwind-resume.c: Likewise. + * sysdeps/gnu/Makefile: Add sections for csu and rt subdirs to + build unwind-resume code, previously in nptl/sysdeps/pthread/Makefile. + +2010-04-05 Roland McGrath + + * elf/dl-cache.c (_dl_load_cache_lookup): Obey dl_hwcap_mask. + + * elf/dl-support.c (_dl_hwcap_mask): New variable. + + * elf/rtld.c (dl_main) [HAVE_AUX_VECTOR]: Add a cast. + +2010-03-30 Paul Pluzhnikov + + * Makeconfig: Propagate -fdebug-prefix-map from CFLAGS to ASFLAGS. + +2010-03-30 Joseph Myers + + * elf/elf.h (ELFOSABI_ARM_AEABI): Define. + +2010-04-05 Ulrich Drepper + + * po/nl.po: Update from translation team. + + [BZ #11010] + * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Handle + timeouts from servers. + + [BZ #11149] + * elf/ldconfig.c (main): Respect chroot setting when looking for + the aux cache. + +2010-04-04 Ulrich Drepper + + [BZ #11043] + * posix/getopt.c (_getopt_internal_r): Fix arguments printed in error + messages. + + [BZ #11070] + * resolv/netdb.h: Declare iruserok and iruserok_af. + + * argp/Makefile: Add rules to build and run bug-argp2. + * argp/bug-argp2.c: New file. + +2010-02-05 Sergey Poznyakoff + + [BZ #11254] + * argp/argp-parse.c (convert_options): Fix improper use of `|' + between character values. + +2010-04-04 Ulrich Drepper + + [BZ #11276] + * sysdeps/posix/remove.c (IS_NO_DIRECTORY_ERROR): Define. + (remove): Use IS_NO_DIRECTORY_ERROR to check for file being no + directory. + * sysdeps/unix/sysv/linux/remove.c: New file. + + * conform/data/sys/stat.h-data: Fix testing of S_IS* macros. + + [BZ #11279] + * io/sys/stat.h: Always define S_ISSOCK for XPG6 and up. + + [BZ #11287] + * csu/Makefile ($(objpfx)version-info.h): Handle newer kernel headers + which don't define UTS_RELEASE. + +2010-04-04 H.J. Lu + Ulrich Drepper + + [BZ #11292] + * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Allow + concurrent initialization and use of __cpu_features. + +2010-04-04 Ulrich Drepper + + * sysdeps/x86_64/multiarch/init-arch.h (cpu_features): Add tag to + the enum. + +2010-04-03 Ulrich Drepper + + [BZ #11333] + * sysdeps/unix/readdir_r.c (__READDIR_R): Add support for platforms + which include unnecessary padding in d_reclen. + * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Select work-around for + unnecessary padding. + + [BZ #11387] + * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlin): Don't abort on + unknown interface, return -1. + (getifaddrs_internal): Rename from getifaddrs. Handle errors in + map_newlink be returning -EAGAIN. + (getifaddrs): If -EAGAIN is returned from getifaddrs_internal try + again. + +2010-03-25 Ryan S. Arnold + + * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Remove + redundant and incorrect else block which overwrites current line + with the partial next line. + +2010-04-03 Ulrich Drepper + + [BZ #11438] + * posix/gai.conf: Document problems with IPv4 site-local addresses and + NATs. + + [BZ #11449] + * crypt/crypt_util.c (__init_des_r): Add memory barrier before setting + small_tables_initialized. + + * malloc/malloc.c (_int_free): Add one more sanity check for fastbins. + + * malloc/malloc.c (set_max_fast): Fix computation of the value. + +2010-03-30 David S. Miller + + * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Fix + MMAP2_PAGE_SHIFT test. + +2010-03-29 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/socket.h: Define MSG_WAITFORONE. + +2010-03-28 Thomas Schwinge + + * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Adapt to auxv + changes in the generic code. + * elf/rtld.c (dl_main): Conditionalize the code that dereferences auxv + to [HAVE_AUX_VECTOR]. + +2010-03-27 Ulrich Drepper + + * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): If + __ASSUME_AT_PAGESIZE we can rely on the value being set. + + * include/wchar.h: Undefine __need_mbstate_t and __need_wint_t + unconditionally in the end. + + * posix/glob.c (glob): Initialize oldcount early, too. + +2010-03-26 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/fcntl.c: Define miss_F_GETOWN_EX + only if needed. + Patch mostly by Paul Pluzhnikov . + +2010-03-26 Richard Henderson + + * sysdeps/generic/ldsodefs.h (_dl_random): Mark attribute_relro; + + * stdio-common/psiginfo.c (psiginfo): Fix printf format + warning for si_band. + + * locale/setlocale.c (free_category): Finish renaming + struct locale_data to __locale_data. + + * csu/gmon-start.c (ENTRY_POINT, etext): Declare as char[], not void. + * elf/dl-sysdep.c (_end): Likewise. + * sysdeps/unix/sysv/dl-sysdep.c (frob_brk): Likewise with locally + declared _end, and associated variables. + +2010-03-26 Ulrich Drepper + + * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't assume success always + means aborting the loop over the NSS methods. + +2010-03-25 Andreas Schwab + + [BZ #11001] + * sysdeps/posix/getaddrinfo.c (gaih_inet): Reset no_data before + each action. + +2010-03-26 Ulrich Drepper + + * malloc/malloc.c: Remove stale reference to website. + +2010-03-24 Ulrich Drepper + + [BZ #11389] + * bits/time.h: Define CLOCK_MONOTONIC_RAW, CLOCK_REALTIME_COARSE, and + CLOCK_MONOTONIC_COARSE. + * sysdeps/unix/sysv/linux/clock_getres.c: Handle CLOCK_MONOTONIC_RAW, + CLOCK_REALTIME_COARSE, and CLOCK_MONOTONIC_COARSE. + * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise. + * sysdeps/unix/sysv/linux/clock_settime.c: Likewise. + +2010-03-25 Andreas Schwab + + * sysdeps/posix/cuserid.c: Fix typo. + +2010-03-16 Chris Demetriou + + [BZ #11394] + * locale/programs/simple-hash.c: Include inttypes.h. + (hashval_t): Defined to be uint32_t. + * locale/programs/simple_hash.h: Include inttypes.h. + (compute_hashval): Change return type to uint32_t. + +2010-03-24 Ulrich Drepper + + * sysdeps/unix/sysv/linux/getlogin_r.c: New file. + * sysdeps/unix/sysv/linux/getlogin.c: New file. + * sysdeps/unix/getlogin_r.c: Allow compiling getlogin as static + function. + * sysdeps/unix/getlogin.c: Likewise. Move name variable to toplevel. + * include/unistd.h: Declare __getlogin_r_loginuid. + + [BZ #11397] + * sysdeps/posix/cuserid.c (cuserid): Make sure the returned string + is NUL terminated. + Patch by Jonathan Geisler . + + * sysdeps/unix/sysv/linux/mmap64.c: Allow variable shift values. + +2010-03-24 H.J. Lu + + * sysdeps/x86_64/multiarch/strpbrk-c.c: Define only if SHARED + is defined. + +2010-03-22 H.J. Lu + + * string/test-memcmp.c (check_result): New function. + (do_one_test): Use it. + (check1): New function. + (test_main): Use it. + +2010-03-24 Ulrich Drepper + + * posix/tst-gnuglob.c: Add tests with empty patterns. For this + rewrite the tests to add support for failing glob calls. + Some other minor cleanups. + * posix/bug-glob3.c: New file. + * posix/Makefile (tests): Add bug-glob3. + +2010-03-24 Ulrich Drepper + Andreas Schwab + + * posix/glob.c (glob): Clean up gl_pathc and gl_pathv earlier. + If pattern is "" bail out early + +2010-03-23 Jakub Jelinek + + * elf/dl-lookup.c (do_lookup_x): If tab->entries is NULL, + but tab->size != 0, just unlock and goto success, without + allocating anything or entering anything into the hash table. + (_dl_debug_bindings): Temporarily set tab->entries to NULL + around do_lookup_x in undef_map->l_local_scope[0]. If + undef_map->l_symbolic_in_local_scope, lookup also in + symbolic_searchlist of following libraries in l_local_scope + that have DT_SYMBOLIC set. + * elf/dl-deps.c (_dl_map_object_deps): Compute + l_symbolic_in_local_scope. + * include/link.h (struct link_map): Add l_symbolic_in_local_scope + bitfield. + +2010-03-24 Ulrich Drepper + + [BZ #11410] + * wctype/wctype.h: Use to get the wint_t definition. + + * wcsmbs/wchar.h: Correct preprocessor directive indentation. Move + C++ prototype handling to a better place. + +2010-03-18 Ulrich Drepper + + * elf/dl-load.c (open_verify): Extend expected to the full size of the + e_ident array. When loading, check that the fields in e_ident we don't + know are zero to allow future extensions. + +2010-03-18 H.J. Lu + + * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Update %xmm3 + when exit from loop. + +2010-03-16 Andreas Schwab + + * resolv/res_send.c (__libc_res_nsend): Fix printing of server + address in debug statement. + (send_dg): Pass correct buffer pointer to DprintQ. + +2010-03-17 Ulrich Drepper + + * libc-abis: Add a few more entries. + +2010-03-16 Ulrich Drepper + + * elf/dl-load.c (VALID_ELF_ABIVERSION): Add additional osabi parameter. + Not used here. + (open_verify): Modify for extended VALID_ELF_ABIVERSION macro + interface. + * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_ABIVERSION): Add + additional osabi parameter. Only acceept nonzero ABI versions if osabi + is Linux. + Fix includes. + (expected2): Don't explicitly initialize EI_ABIVERSION byte. + + * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_ABIVERSION): Update + definition to follow generic code. + +2010-03-15 Ulrich Drepper + + * posix/getconf.c: Update copyright year. + * nss/getent.c: Likewise. + * iconv/iconvconfig.c: Likewise. + * iconv/iconv_prog.c: Likewise. + * elf/ldconfig.c: Likewise. + * catgets/gencat.c: Likewise. + * csu/version.c: Likewise. + * elf/ldd.bash.in: Likewise. + * elf/sprof.c (print_version): Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/localedef.c: Likewise. + * nscd/nscd.c (print_version): Likewise. + * debug/xtrace.sh: Likewise. + * malloc/memusage.sh: Likewise. + * malloc/mtrace.pl: Likewise. + * debug/catchsegv.sh: Likewise. + + * Makerules: Add rule for libc-abis.h. + * csu/version.c: Use LIBC_ABIS_STRING string if available. + * elf/dl-load.c (VALID_ELF_ABIVERSION): Check using LIBC_ABI_MAX. + (open_verify): Only check EI_ABIVERSION bytes using VALID_ELF_HEADER. + Add extra call to VALID_ELF_ABIVERSION. + +2010-03-12 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sys/mount.h (UMOUNT_NOFOLLOW): Define. + +2010-03-12 Andreas Schwab + + * elf/dl-dst.h: Include "trusted-dirs.h". + (DL_DST_REQUIRED): Take $LIB into account. + +2010-03-11 Roland McGrath + + * elf/elf.h (R_X86_64_GOT64, R_X86_64_GOTPCREL64): New macros. + (R_X86_64_GOTPC64, R_X86_64_GOTPLT64, R_X86_64_PLTOFF64): New macros. + +2010-03-10 Luis Machado + + * sysdeps/powerpc/powerpc64/power7/memcpy.S: New file. + * sysdeps/powerpc/powerpc32/power7/memcpy.S: New file. + +2010-03-09 David S. Miller + + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handling + of R_SPARC_TLS_LE_* needs to use 32-bit loads and stores, not + 64-bit ones. + + * sysdeps/sparc/sparc32/memcpy.S: Fix build. + + * sysdeps/sparc/sparc32/strlen.S: Optimize. + * sysdeps/sparc/sparc64/strlen.S: Likewise. + * sysdeps/sparc/sparc32/sparcv9/strlen.S (ASI_PNF, ASI_BLK_P, + XCC): Delete definitions, not needed. + +2010-03-07 Ulrich Drepper + + * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags): + Little follow-up patch from last change. + +2010-03-06 Ulrich Drepper + + * sysdeps/unix/sysv/linux/internal_statvfs.c: Handle ext4 and logfs. + * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add entry for logfs. + +2010-02-18 Yann Droneaud + + * resolv/res_send.c: Fixed DEBUG statements. + Moved tmpbuf declaration to block beginning and + updated pointer names used in multiple DprintQ() calls + +2010-02-18 H.J. Lu + + * config.make.in (config-asflags-i686): Define. + * configure.in: Substitute libc_cv_as_i686. + * sysdeps/i386/configure.in: Check if assembler supports -mtune=i686. + * sysdeps/i386/i686/Makefile (CFLAGS-.oX): Add -Wa,-mtune=i686 + if assembler supports -mtune=i686. + (ASFLAGS-.oX): Likewise. + +2010-03-04 Ulrich Drepper + + * elf/elf.h (R_X86_64_SIZE32): Define. + (R_X86_64_SIZE64): Define. + +2010-03-02 Richard Guenther + + * sysdeps/x86_64/dl-machine.h (elf_machine_rela): R_X86_64_PC32 + is sign-extending. + +2010-03-03 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/in.h: Add a few more definitions from + the kernel headers. + +2010-03-04 David S. Miller + + * sysdeps/sparc/sparc64/Implies: Add ieee754/dbl-64/wordsize-64 entry. + + * sysdeps/sparc/sparc32/sparcv8/udiv_qrnnd.S: Delete. + * sysdeps/sparc/sparc32/udiv_qrnnd.S: Delete. + +2010-03-03 David S. Miller + + * math/math_private.h (INSERT_WORDS64): Fix argument order. + +2010-03-03 Aurelien Jarno + + * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: New file. + +2010-03-03 David S. Miller + + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_lazy_rel): Must + pass '1' for 't' argument to sparc_fixup_plt. + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_lazy_rel): + Likewise. + * sysdeps/sparc/sparc32/dl-plt.h (OPCODE_BA_PT): Define. + (sparc_fixup_plt): Document 't' argument. Enable branch + optimization and use v9 branches when possible. Explain why we + cannot unconditionally patch the branch into the first PLT + instruction. + * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Document 't' + argument. Use v9 branches when possible. Explain why we can in + fact unconditionally use a branch in the first PLT instruction + here. + +2010-02-28 Roland McGrath + + * elf/elf.h (NT_X86_XSTATE): New macro. + +2010-02-25 David S. Miller + + * sysdeps/sparc/sparc64/Makefile: Add align-cpy rule. + * sysdeps/sparc/sparc64/align-cpy.S: New. + * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_1, __align_cpy_2, + __align_cpy_4, __align_cpy_8, __align_cpy_16): Remove. + * sysdeps/sparc/sparc64/sparcv9b/memcpy.S (__align_cpy_1, + __align_cpy_2, __align_cpy_4, __align_cpy_8, __align_cpy_16): + Remove. + * sysdeps/sparc/sparc64/sparcv9v/memcpy.S (__align_cpy_1, + __align_cpy_2, __align_cpy_4, __align_cpy_8, __align_cpy_16): + Remove. + * sysdeps/sparc/sparc64/sparcv9v2/memcpy.S (__align_cpy_1, + __align_cpy_2, __align_cpy_4, __align_cpy_8, __align_cpy_16): + Remove. + + * sysdeps/sparc/sparc32/bcopy.c: Delete. + * sysdeps/sparc/sparc32/memmove.c: Delete. + * sysdeps/sparc/sparc32/sparcv9/bcopy.c: Delete. + * sysdeps/sparc/sparc32/sparcv9/memmove.c: Delete. + * sysdeps/sparc/sparc64/bcopy.c: Delete. + * sysdeps/sparc/sparc64/memmove.c: Delete. + * sysdeps/sparc/sparc64/memcopy.h: New. + * sysdeps/sparc/sparc32/memcpy.S (bcopy, memmove): Remove. + * sysdeps/sparc/sparc64/memcpy.S (bcopy, memmove): Likewise. + * sysdeps/sparc/sparc64/sparcv9b/memcpy.S (bcopy, memmove): Likewise. + * sysdeps/sparc/sparc64/sparcv9v/memcpy.S (bcopy, memmove): Likewise. + * sysdeps/sparc/sparc64/sparcv9v2/memcpy.S (bcopy, memmove): Likewise. + + * sysdeps/sparc/elf/rtld-global-offsets.sym: New file. + * sysdeps/sparc/Makefile (csu): Add rtld-global-offsets.sym to + gen-as-const-headers. + * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: New file. + * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: New file. + * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: New file. + * sysdeps/sparc/sparc32/sparcv9/sparcv9b/memcpy.S: Move to... + * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra3.S: ...here. + * sysdeps/sparc/sparc32/sparcv9/sparcv9v/memcpy.S: Move to... + * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara1.S: ...here. + * sysdeps/sparc/sparc32/sparcv9/sparcv9v/memset.S: Move to... + * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara1.S: ...here. + * sysdeps/sparc/sparc32/sparcv9/sparcv9v2/memcpy.S: Move to... + * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara2.S: ...here. + * sysdeps/sparc/sparc32/sparcv9/sparcv9v2/memset.S: Removed. + * sysdeps/sparc/sparc64/multiarch/Makefile: New file. + * sysdeps/sparc/sparc64/sparcv9v/memcpy.S: Move to... + * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: ...here. + * sysdeps/sparc/sparc64/sparcv9v2/memcpy.S: Move to... + * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: ...here. + * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Move to... + * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: ...here. + * sysdeps/sparc/sparc64/sparcv9v/memset.S: Move to... + * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: ...here. + * sysdeps/sparc/sparc64/sparcv9v2/memset.S: Removed. + * sysdeps/sparc/sparc64/multiarch/memcpy.S: New file. + * sysdeps/sparc/sparc64/multiarch/memset.S: New file. + +2010-02-20 H.J. Lu + + [BZ #11332] + * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Use cfi_remember_state + and cfi_restore_state only if USE_AS_STRNCMP is defined. + +2010-02-24 Ulrich Drepper + + * sysdeps/x86_64/Implies: Add ieee754/dbl-64/wordsize-64 entry. + +2010-02-24 H.J. Lu + + * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S + (bk_write_less32bytes_2): Renamed to ... + (bk_write_less48bytes): This. + Use unsigned conditional jumps. + Correct unwind info. + Use add/sub instead of lea if possible. + (shl_0_gobble_cache_loop_tail): Removed. + (large_page): Properly adjust ECX. + + * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Use unsigned + conditional jumps. + Correct unwind info. + + * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Remove redundant + punpcklbw. + Use unsigned conditional jumps. + (128bytesormore_nt): Renamed to ... + (128bytesormore_endof_L1): This. + Use add instead of lea if possible. + Correct unwind info. + * sysdeps/i386/i686/multiarch/memset-sse2.S: Remove redundant + punpcklbw. + Use unsigned conditional jumps. + Use add instead of lea if possible. + Correct unwind info. + +2010-02-24 Ulrich Drepper + + [BZ #11319] + * libio/iovdprintf.c (_IO_vdprintf): Explicitly flush stream before + undoing the stream because _IO_FINISH doesn't report failures. + + [BZ #5553] + * malloc/malloc.c (public_vALLOc): Set ar_ptr when trying main_arena. + (public_pVALLOc): Likewise. + Patch by Petr Baudis. + +2010-02-22 Jim Meyering + + * manual/math.texi (BSD Random): Fix a typo: s/are/is/ + + * manual/charset.texi: Adjust grammar. + + * manual/errno.texi (Error Messages): Fix doubled-words and typos. + * manual/charset.texi (Selecting the Conversion): Likewise. + * manual/getopt.texi (Getopt Long Options): Likewise. + * manual/memory.texi (Resizing the Data Segment): Likewise. + * manual/message.texi (GUI program problems): Likewise. + * manual/resource.texi (CPU Affinity): Likewise. + * manual/stdio.texi (Streams and Threads): Likewise. + * manual/time.texi (High Accuracy Clock): Likewise. + +2009-02-20 David S. Miller + + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup): + Adjust rela->r_offset by l->l_addr when rewriting PLT. + + * sysdeps/sparc/sparc64/memchr.S: Use unsigned branch on greater to + test end of buffer. + + * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c + (__makecontext): Adjust arg counter properly when copying arg + stack slots. + +2009-02-20 Joseph Myers + + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup): + Adjust rela->r_offset by l->l_addr when rewriting PLT. + +2010-02-19 Carl Fredrik Hammar + + * hurd/hurdioctl.c (tiocsctty): Call `do_tiocsctty' instead of + non-existent `tiocsctty_port'. + +2010-02-16 H.J. Lu + + * sysdeps/i386/i686/multiarch/memcmp.S (memcmp): Use CPUID_OFFSET + instead of FEATURE_OFFSET. + * sysdeps/i386/i686/multiarch/strcmp.S (strcmp): Likewise. + + * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Add alignnments. + Fix one unwind info problem. + + * sysdeps/i386/i686/multiarch/memcmp-ssse3.S (less1bytes): Add CFI_POP. + + * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Simplify unwind info. + +2010-02-17 H.J. Lu + Ulrich Drepper + + * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Fix typo in unwind info. + Clean up a bit. + +2010-02-17 Carl Fredrik Hammar + + * hurd/hurdioctl.c (tiocsctty): Only get FD ports, do work in... + (tiocsctty_port): ...this new function. + + * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Cast to + `ioctl_handler_t'. + +2010-02-15 Ulrich Drepper + + * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Fix unwind info. + * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise. + * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise. + * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise. + + * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Don't fall through to + undefined code. + +2010-02-12 H.J. Lu + + * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add + strcmp-ssse3, strcmp-sse4, strncmp-c, strncmp-ssse3, strncmp-sse4, + memcmp-c, memcmp-ssse3, and memcmp-sse4. + * sysdeps/i386/i686/multiarch/memcmp-sse4.S: New file. + * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: New file. + * sysdeps/i386/i686/multiarch/memcmp.S: New file. + * sysdeps/i386/i686/multiarch/strcmp-sse4.S: New file. + * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: New file. + * sysdeps/i386/i686/multiarch/strcmp.S: New file. + * sysdeps/i386/i686/multiarch/strncmp-c.c: New file. + * sysdeps/i386/i686/multiarch/strncmp-sse4.S: New file. + * sysdeps/i386/i686/multiarch/strncmp-ssse3.S: New file. + * sysdeps/i386/i686/multiarch/strncmp.S: New file. + +2010-02-12 Luis Machado + + * sysdeps/powerpc/powerpc32/dl-machine.h: Removed old PPC_REL16 check. + * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise. + * sysdeps/powerpc/powerpc32/elf/start.S: Likewise. + * sysdeps/powerpc/powerpc32/memset.S: Likewise. + * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise. + * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise. + * sysdeps/powerpc/powerpc32/configure.in: Fail if R_PPC_REL16 + is not supported. + * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise. + * sysdeps/powerpc/powerpc32/dl-start.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise. + +2010-02-12 Alan Modra + + * elf/tls-macros.h [__powerpc__] (__TLS_CALL_CLOBBERS): Remove r3. + Define and use for __powerpc64__ too. + [__powerpc__] (TLS_LD): Add r3 to clobbers. + [__powerpc__] (TLS_GD): Set asm output. Make __result r3 reg. + [__powerpc64__] (TLS_GD): Make __result r3 reg. + [__powerpc64__] (TLS_IE): Relax output constraint. + +2010-02-11 Andreas Krebbel + + * sysdeps/s390/s390-64/utf8-utf16-z9.c: Disable hardware + instructions cu21 and cu24. Add well-formedness checking + parameter and adjust the software implementation. + * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise. + +2010-02-10 Ulrich Drepper + + [BZ #11271] + * io/ftw.c (ftw_startup): Close descriptor for initial directory + after changing back to it. + +2010-02-05 David S. Miller + + * elf/elf.h (R_SPARC_JMP_IREL, R_SPARC_IRELATIVE): Define. + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle new + ifunc relocs. + (elf_machine_lazy_rel): Likewise. + (sparc_fixup_plt): Pull out to... + * sysdeps/sparc/sparc32/dl-plt.h: ...here. + * sysdeps/sparc/sparc32/dl-irel.h: New file. + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle new + ifunc relocs. + (elf_machine_lazy_rel): Likewise. + (sparc64_fixup_plt): Pull out to... + * sysdeps/sparc/sparc64/dl-plt.h: ...here. + * sysdeps/sparc/sparc64/dl-irel.h: New file. + +2010-02-09 Maxim Kuvyrkov + + * elf/elf.h: Define m68k TLS relocations. + +2010-02-10 Luis Machado + + * sysdeps/powerpc/powerpc64/power7/Implies: Removed. + * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Removed. + * sysdeps/powerpc/powerpc32/power7/Implies: Removed. + * sysdeps/powerpc/powerpc32/power7/fpu/Implies: Removed. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Add + 64-bit power7 fpu path. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Add + 32-bit power7 fpu math. + +2010-02-09 Ulrich Drepper + + * sysdeps/i386/rshift.S: More compact unwind information. + + * sysdeps/i386/lshift.S: Fix unwind information. + +2010-02-08 Luis Machado + + * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: New file. + * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: New file. + * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: New file. + * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: New file. + * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: New file. + * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: New file. + * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: New file. + * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: New file. + * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: New file. + * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: New file. + * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: New file. + * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: New file. + +2010-02-08 Andreas Schwab + + * include/fenv.h: Add hidden proto for fegetenv. + * math/fegetenv.c: Add hidden alias. + * sysdeps/i386/fpu/fegetenv.c: Likewise. + * sysdeps/ia64/fpu/fegetenv.c: Likewise. + * sysdeps/powerpc/fpu/fegetenv.c: Likewise. + * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise. + * sysdeps/sparc/fpu/fegetenv.c: Likewise. + * sysdeps/x86_64/fpu/fegetenv.c: Likewise + * sysdeps/s390/fpu/fegetenv.c: Likewise. Remove unused headers. + +2010-02-05 H.J. Lu + + [BZ #11230] + * sysdeps/ia64/memchr.S: Don't read beyond the last byte + during recovery. + +2010-01-26 Andreas Schwab + + * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.c: Use internal + interface. + * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Declare internal + utmpx interface. + + * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat + entry for 2.12. + +2010-02-03 Ulrich Drepper + + [BZ #11235] + * sysdeps/unix/sysv/linux/sys/mount.h: Remove S_WRITE, S_APPEND, + S_IMMUTABLE. Add MS_DIRSYNC, MS_MOVE, MS_SILENT, MS_REC, + MS_POSIXACL, MS_UNBINDABLE, MS_PRIVATE, MS_SLAVE, MS_SHARED, + MS_RELATIME, MS_KERNMOUNT, MS_I_VERSION, MS_STRICTATIME, + MS_ACTIVE, and MS_NOUSER. + (MS_RMT_MASK): Update according to current kernels. + + [BZ #11242] + * misc/getusershell.c (initshells): Allocate one more byte in input + buffer so that fgets doesn't loop undefinitely. + +2010-02-02 Ulrich Drepper + + * stdlib/setenv.c (__add_to_environ): Don't use alloca if + __libc_use_alloca tells us not to. Fix memory leak in an error + situation. Based partially on patch by Jim Meyering. + +2010-01-26 Samuel Thibault + + * sysdeps/mach/getsysstats.c (get_nprocs_conf, get_nprocs, + get_phys_pages, get_avphys_pages): Add weak aliases. + +2010-01-25 Andreas Schwab + + * iconv/iconv_prog.c (write_output): Fix check for open failure. + +2010-01-22 Ulrich Drepper + + [BZ #11200] + * locale/loadlocale.c (_nl_load_locale): Fix recognition of genuine + mmap resource problem. Patch by Joe Landers . + +2010-01-22 Jim Meyering + + [BZ #11193] + * posix/regexec.c (extend_buffers): Avoid overflow in realloc + buffer length computation. + + [BZ #11192] + * posix/regexec.c (re_copy_regs): Don't leak when allocation + of the start buffer succeeds but allocation of the "end" one fails. + + [BZ #11191] + * posix/regexec.c (re_search_2_stub): Check for overflow + when adding the sizes of the two strings. + + [BZ #11190] + * posix/regexec.c (re_search_internal): Avoid overflow + in computing re_malloc buffer size. + + [BZ #11189] + * posix/regexec.c (prune_impossible_nodes): Avoid overflow + in computing re_malloc buffer size. + + [BZ #11188] + * posix/regexec.c (build_trtable): Avoid arithmetic overflow + in size calculation. + + [BZ #11187] + * posix/regexec.c (re_search_2_stub): Use simpler method than + boolean for freeing internal storage. + +2010-01-22 Ulrich Drepper + + * posix/regex_internal.c (re_string_skip_chars): Simplify test for + failed mbrtowc call. + +2010-01-22 Jim Meyering + + [BZ #11186] + * posix/regex_internal.c (re_string_skip_chars): Don't assume WEOF + fits in wchar_t. Problem reported by Eric Blake. + + [BZ #11185] + * posix/regex_internal.c (re_string_reconstruct): Remove declaration + and stores into set-but-not-used local, "q". + + [BZ #11184] + * posix/regex_internal.c (re_dfa_add_node): Extend the overflow + detection test. Patch by Paul Eggert. + + [BZ #11183] + * posix/regex_internal.c (re_string_realloc_buffers): + Detect and handle internal overflow. Patch by Paul Eggert + +2010-01-20 Andreas Schwab + + * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c + (CHECK_SP): Fix check for alternate stack. + * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c + (CHECK_SP): Likewise. + +2010-01-19 H.J. Lu + + * sysdeps/i386/i686/multiarch/memmove.S: Also check + bit_Fast_Rep_String when SHARED isn't defined. + +2010-01-19 Ulrich Drepper + + [BZ #11194] + * misc/bits/syslog.h (syslog, vsyslog): Remove unnecessary return. + +2010-01-17 Samuel Thibault + + * sysdeps/mach/hurd/bits/libc-lock.h + (__rtld_lock_recursive_t): New type. + (__rtld_lock_initialize): New macro. + +2010-01-14 Ryan S. Arnold + + * sysdeps/powerpc/powerpc32/cell/memcpy.S: New file. + * sysdeps/powerpc/powerpc64/cell/memcpy.S: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/fpu/Implies: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: New file. + +2010-01-18 Andreas Schwab + + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Remove duplicate + definitions of O_DSYNC and O_RSYNC. + + * elf/dynamic-link.h (elf_get_dynamic_info): Use correct type when + casting d_tag. + + * elf/dynamic-link.h (elf_get_dynamic_info): Ignore negative + dynamic entry types. + +2010-01-16 Jakub Jelinek + + * sysdeps/ieee754/ldbl-128/s_ceill.c (huge): Add L suffix to the + constant. + * sysdeps/ieee754/ldbl-128/s_floorl.c (huge): Likewise. + * sysdeps/ieee754/ldbl-128/s_expm1l.c (big): Decrease to avoid + overflow. + * sysdeps/ieee754/ldbl-128/s_log1pl.c (big): Remove unused variable. + + * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf): Use + math_opt_barrier and math_force_eval macros. + +2010-01-15 Ulrich Drepper + + * posix/regcomp.c: Fix a few more cases of ignored return values. + * posix/regex_internal.c: Likewise. + * posix/regexec.c: Likewise. + + * include/features.h: _XOPEN_SOURCE_EXTENDED is not defined to be + used without _XOPEN_SOURCE. Don't base any decisions on this macro + if _XOPEN_SOURCE is not defined as well. + +2010-01-15 Andreas Krebbel + + * sysdeps/s390/s390-32/elf/start.S (_start): Added check for the + high gprs kernel facility. + * sysdeps/s390/s390-32/dl-machine.h (elf_machine_matches_host): + Added high gprs check for DSOs. + * elf/elf.h (EF_S390_HIGH_GPRS): Added macro definition for the + new elf header flag. + +2010-01-13 Andreas Krebbel + + * elf/dl-sysdep.c (_dl_sysdep_start): Added the auxv parameter to + dl_main. + * elf/dl-open.c (_dl_sysdep_start): Likewise.. + * sysdeps/generic/ldsodefs.h (_dl_sysdep_start): Likewise. + * elf/rtld.c (dl_main): Added new parameter auxv. Adjust the + AT_PHDR, AT_PHNUM and AT_ENTRY fields if the ld.so is directly + started. + +2010-01-14 Ulrich Drepper + + [BZ #11027] + * sysdeps/generic/netinet/ip.h: Define IPTOS_CLASS_* macros according + to RFC 2474. + Patch by Philip Prindeville . + + [BZ #11141] + * resolv/res_send.c (reopen): Don't use IPv6 sockets for IPv4 + addresses. + + [BZ #11127] + * posix/regcomp.c (alc_eclosure_iter): Do not ignore + re_node_set_insert failure; return REG_ESPACE. + Patch by Paul Eggert. + + [BZ #10864] + * bits/confname.h: Make pre-C99-safe. + +2010-01-14 Ryan S. Arnold + + * Makeconfig (+prector, +postctor, +prectorS, +postctorS): Add + $(sysdep-LDFLAGS) to pre and post ctors so that the proper .o + files are found by GCC. + +2010-01-14 Ulrich Drepper + + * posix/unistd.h: Relax conditions for ualarm, usleep, getwd, vfork, + brk, and sbrk. + + * string/strings.h: Relax condition for bcmp, bcopy, bzero, ffs, + index, and rindex. + + * stdlib/stdlib.h: Relax conditions for *cvt functions and valloc. + + * Versions.def: Add GLIBC_2.12 for libpthread. + + [BZ #11126] + * malloc/malloc.c (malloc_info): Initialize malloc if not already + done. Handle empty bin lists. + + * posix/unistd.h: Change getpagesize and getdtablesize declaration + visibility some more. + + * resolv/netdb.h: Relax condition to elide obsolete resolver constants. + + * posix/unistd.h: Declare getpagesize in _GNU_SOURCE mode. + + [BZ #11120] + * sysdeps/x86_64/strcmp.S: Prevent silent errors should strncmp be + needed outside libc. + +2010-01-13 Ulrich Drepper + + * stdlib/stdlib.h: Parameter of unsetenv must not be NULL. + +2010-01-12 H.J. Lu + + * sysdeps/x86_64/multiarch/strlen.S: Unroll the loop. + +2010-01-13 Ulrich Drepper + + * stdlib/stdlib.h: Be a bit more relaxed about obsoleted mktemp symbol. + +2010-01-12 Ulrich Drepper + + * conform/data/complex.h-data: Test for POSIX2008. + + * conform/data/ctype.h-data: Fix POSIX testing. + + * conform/data/dirent.h-data: ino_t only needed for XSI. + + * grp/grp.h: Declare getgrent and endgrent for XPG7. + + * conform/data/inttypes.h-data: Use same types as the headers. + + * resolv/netdb.h: Don't define old resolver macros for XPG7. + + * conform/data/sys/uio.h-data: Don't exclude POSIX2008. + + * conform/conformtest.pl: Implement tag for allow-header. + Fix newline handling in allow-header implementation. + + * conform/data/time.h-data: Use allow-header instead of duplicating + information. + + * conform/data/time.h-data: Allow sigevent tag. + + * posix/sched.h: Define time_t and pid_t for XPG7. + +2010-01-12 H.J. Lu + + * sysdeps/i386/i686/bcopy.S: New file. + + * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Define. + + * sysdeps/i386/i686/memcpy.S (__memcpy_chk): Use ENTRY_CHK + and END_CHK. + * sysdeps/i386/i686/memmove.S (__memmove_chk): Likewise. + * sysdeps/i386/i686/mempcpy.S (__mempcpy_chk): Likewise. + * sysdeps/i386/i686/memset.S (__memset_chk): Likewise. + + * sysdeps/i386/i686/memmove.S: Support USE_AS_BCOPY. + + * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add + bzero-sse2 memset-sse2 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 + memcpy-ssse3-rep mempcpy-ssse3-rep memmove-ssse3-rep + bcopy-ssse3 bcopy-ssse3-rep memset-sse2-rep bzero-sse2-rep + * sysdeps/i386/i686/multiarch/bcopy-ssse3-rep.S: New file. + * sysdeps/i386/i686/multiarch/bcopy-ssse3.S: New file. + * sysdeps/i386/i686/multiarch/bcopy.S: New file. + * sysdeps/i386/i686/multiarch/bzero-sse2-rep.S: New file. + * sysdeps/i386/i686/multiarch/bzero-sse2.S: New file. + * sysdeps/i386/i686/multiarch/bzero.S: New file. + * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: New file. + * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: New file. + * sysdeps/i386/i686/multiarch/memcpy.S: New file. + * sysdeps/i386/i686/multiarch/memcpy_chk.S: New file. + * sysdeps/i386/i686/multiarch/memmove-ssse3-rep.S: New file. + * sysdeps/i386/i686/multiarch/memmove-ssse3.S: New file. + * sysdeps/i386/i686/multiarch/memmove.S: New file. + * sysdeps/i386/i686/multiarch/memmove_chk.S: New file. + * sysdeps/i386/i686/multiarch/mempcpy-ssse3-rep.S: New file. + * sysdeps/i386/i686/multiarch/mempcpy-ssse3.S: New file. + * sysdeps/i386/i686/multiarch/mempcpy.S: New file. + * sysdeps/i386/i686/multiarch/mempcpy_chk.S: New file. + * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: New file. + * sysdeps/i386/i686/multiarch/memset-sse2.S: New file. + * sysdeps/i386/i686/multiarch/memset.S: New file. + * sysdeps/i386/i686/multiarch/memset_chk.S: New file. + + * sysdeps/i386/sysdep.h (ENTRY_CHK): New. + (END_CHK): Likewise. + + * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Add + FEATURE_OFFSET, FEATURE_SIZE and FEATURE_INDEX_1. + * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise. + + * sysdeps/x86_64/cacheinfo.c (intel_02_cache_info): Add entries + for 0x0e and 0x80. + (__x86_64_data_cache_size): New. + (init_cacheinfo): Set __x86_64_data_cache_size. + + * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Turn + on bit_Fast_Rep_String for Intel Core i7. + + * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Rep_String): New. + (index_Fast_Rep_String): Likewise. + (FEATURE_INDEX_1): Likewise. + (FEATURE_INDEX_MAX): Likewise. + (cpu_features): Add feature. + +2010-01-12 Ulrich Drepper + + * conform/data/sys/select.h-data: Fix up for XPG7. + +2010-01-12 Jakub Jelinek + + * posix/sys/wait.h: Don't define W* macros etc. if + stdlib.h has been included with _POSIX_C_SOURCE >= 200809L. + +2010-01-11 Ulrich Drepper + + * io/sys/stat.h: Declare fchmod for XPG7. + * conform/data/sys/stat.h-data: Fix up for XPG7. + + * termios/termios.h: Define pid_t for XPG7. + + * conform/data/math.h-data: Fix up for XPG6 and XPG7. + * conform/data/tgmath.h-data: Likewise. + + * conform/data/time.h-data: Fix POSIX tests. + + * conform/data/wchar.h-data: Fix up XPG7 tests. + + * include/features.h: Fix __USE_ISOC95 handling. + + * conform/data/wordexp.h-data: Fix typo in last change. + + * conform/data/unistd.h-data: Fix up older POSIX tests. + + * stdlib/stdlib.h: Fix handling symbols removed in XPG7. + * posix/unistd.h: Likewise. + + * posix/unistd.h: Include environments.h also for XPG6 and up. + Define intptr_t for XPG6 and up. + Fix up for XPG7. + * conform/data/unistd.h-data: Fix up for XPG6 and XPG7. + + * conform/data/sys/types.h-data: Fix up for XPG7. + + * sysdeps/unix/bsd/bits/stat.h: Fix double-inclusion problem. + * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise. + * sysdeps/unix/sysv/bits/stat.h: Likewise. + * sysdeps/mach/hurd/bits/stat.h: Likewise. + + * bits/confname.h: Fix typo in last change. + + * conform/data/unistd.h-data: lockf-constants Not needed for POSIX. + +2010-01-10 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/sigaction.h: SA_RESTART, SA_NODEFER, + and SA_RESETHAND now available in Base. + * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise. + * conform/data/signal.h-data: Update for XPG7. + + * posix/sys/types.h: Define id_t, clock_t, blksize_t for XPG7. + + * string/strings.h: Don't declare obsolete functions for XPG7. + Declare ffs only for XSI. + * conform/data/strings.h-data: Update for XPG7. + +2010-01-10 Jakub Jelinek + + [BZ #11125] + * libio/stdio.h: Define va_list, off_t, and ssize_t. + + * posix/glob.h: Define size_t. + + * posix/sys/wait.h: Define idtype_t and declare waitid for XPG7. + + * signal/signal.h: Define size_t, mcontext_t, and ucontext_t for XPG7. + +2010-01-10 Ulrich Drepper + + * conform/conformtest.pl: For XPG7 testing the headers are supposed to + be self-contained. + + * conform/data/stdio.h-data: Expect off_t and ssize_t. + +2010-01-09 Ulrich Drepper + + * libio/stdio.h: Define va_list also for XPG7. + + * conform/conformtest.pl: Update for XPG7 and some bug fixes. + * conform/data/ctype.h-data: Likewise. + * conform/data/dirent.h-data: Likewise. + * conform/data/errno.h-data: Likewise. + * conform/data/fcntl.h-data: Likewise. + * conform/data/fmtmsg.h-data: Likewise. + * conform/data/fnmatch.h-data: Likewise. + * conform/data/ftw.h-data: Likewise. + * conform/data/glob.h-data: Likewise. + * conform/data/grp.h-data: Likewise. + * conform/data/iconv.h-data: Likewise. + * conform/data/langinfo.h-data: Likewise. + * conform/data/libgen.h-data: Likewise. + * conform/data/limits.h-data: Likewise. + * conform/data/locale.h-data: Likewise. + * conform/data/math.h-data: Likewise. + * conform/data/monetary.h-data: Likewise. + * conform/data/mqueue.h-data: Likewise. + * conform/data/ndbm.h-data: Likewise. + * conform/data/netdb.h-data: Likewise. + * conform/data/pthread.h-data: Likewise. + * conform/data/pwd.h-data: Likewise. + * conform/data/regex.h-data: Likewise. + * conform/data/sched.h-data: Likewise. + * conform/data/search.h-data: Likewise. + * conform/data/semaphore.h-data: Likewise. + * conform/data/setjmp.h-data: Likewise. + * conform/data/signal.h-data: Likewise. + * conform/data/spawn.h-data: Likewise. + * conform/data/stdio.h-data: Likewise. + * conform/data/stdlib.h-data: Likewise. + * conform/data/string.h-data: Likewise. + * conform/data/strings.h-data: Likewise. + * conform/data/sys/ipc.h-data: Likewise. + * conform/data/sys/msg.h-data: Likewise. + * conform/data/sys/resource.h-data: Likewise. + * conform/data/sys/sem.h-data: Likewise. + * conform/data/sys/shm.h-data: Likewise. + * conform/data/sys/socket.h-data: Likewise. + * conform/data/sys/stat.h-data: Likewise. + * conform/data/sys/time.h-data: Likewise. + * conform/data/sys/types.h-data: Likewise. + * conform/data/sys/uio.h-data: Likewise. + * conform/data/sys/wait.h-data: Likewise. + * conform/data/syslog.h-data: Likewise. + * conform/data/tar.h-data: Likewise. + * conform/data/termios.h-data: Likewise. + * conform/data/time.h-data: Likewise. + * conform/data/ulimit.h-data: Likewise. + * conform/data/unistd.h-data: Likewise. + * conform/data/utmpx.h-data: Likewise. + * conform/data/wchar.h-data: Likewise. + * conform/data/wctype.h-data: Likewise. + * conform/data/wordexp.h-data: Likewise. + + * io/fcntl.h: Define mode_t macros instead of including sys/stat.h. + * sysdeps/unix/bsd/bits/stat.h: Enable using from fcntl.h. + * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise. + * sysdeps/unix/sysv/bits/stat.h: Likewise. + * sysdeps/mach/hurd/bits/stat.h: Likewise. + + * stdlib/stdlib.h: Define wait-related bits for XPG7. + Don't declare valloc, mktemp, ecvt, fcvt, gcvt for XPG6 and up. + Declare mkstemp and getsubopt for XPG7. + Declare posix_openpt for XPG6 XSI. + + * include/features.h: Define __USE_XOPEN2KXSI for _XOPEN_SOURCE >= 600 + and __USE_XOPEN2K8XSI for _XOPEN_SOURCE >= 700. + + * string/string.h: Declare strdup for XPG7. + +2010-01-08 Ulrich Drepper + + * bits/confname.h: Define _CS_V6_ENV and _CS_V7_ENV. + * posix/confstr.c: Implement _CS_V6_ENV and _CS_V7_ENV. + + * dirent/dirent.h: Really fix feature selection. + + * locale/localeinfo.h: Rename struct locale_data to __locale_data. + Fix all users. + * locale/C-address.c: Fix all users. + * locale/C-collate.c: Likewise. + * locale/C-ctype.c: Likewise. + * locale/C-identification.c: Likewise. + * locale/C-measurement.c: Likewise. + * locale/C-messages.c: Likewise. + * locale/C-monetary.c: Likewise. + * locale/C-name.c: Likewise. + * locale/C-numeric.c: Likewise. + * locale/C-paper.c: Likewise. + * locale/C-telephone.c: Likewise. + * locale/C-time.c: Likewise. + * locale/findlocale.c: Likewise. + * locale/global-locale.c: Likewise. + * locale/loadarchive.c: Likewise. + * locale/loadlocale.c: Likewise. + * locale/nl_langinfo_l.c: Likewise. + * locale/setlocale.c: Likewise. + * locale/xlocale.c: Likewise. + * locale/xlocale.h: Likewise. + * stdio-common/vfscanf.c: Likewise. + * stdlib/strfmon_l.c: Likewise. + * stdlib/strtod_l.c: Likewise. + * stdlib/strtol_l.c: Likewise. + * string/strcoll_l.c: Likewise. + * string/strxfrm_l.c: Likewise. + * time/alt_digit.c: Likewise. + * time/asctime.c: Likewise. + * time/era.c: Likewise. + * time/lc-time-cleanup.c: Likewise. + * time/strftime_l.c: Likewise. + * time/strptime_l.c: Likewise. + * wcsmbs/wcsmbsload.c: Likewise. + * wcsmbs/wcsmbsload.h: Likewise. + + * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Define O_DIRECTORY, + O_NOFOLLOW, O_CLOEXEC, F_DUPFD_CLOEXEC, F_SETOWN, and F_GETOWN + for XPG7. + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. + +2010-01-07 Roland McGrath + + * elf/elf.h (PN_XNUM): New macro. + + * elf/dl-sysdep.c (_dl_important_hwcaps): Use NT_GNU_HWCAP instead of + literal 2. + +2010-01-06 Ulrich Drepper + + * dirent/dirent.h: Fix typo in feature selection macro use. + +2009-12-15 Maciej W. Rozycki + + [BZ #11115] + * stdlib/tst-makecontext3.c: New file. + * stdlib/Makefile (tests): Add new test. + + * stdlib/tst-setcontext.c (check_called): Fix a typo. + +2009-12-17 H.J. Lu + + * configure.in: Enable multi-arch by default if the assembler + supports gnu_indirect_function symbol type and the architecture + supports it. + +2009-12-23 Ulrich Drepper + + * include/stdlib.h: Exclude some includes and prototypes if _ISOMAC + is defined. + +2009-12-22 Samuel Thibault + + * hurd/hurdioctl.c (_hurd_locked_install_cttyid): Set newctty to + MACH_PORT_NULL when id != cttyid. + +2009-12-20 Samuel Thibault + + * sysdeps/mach/hurd/getcwd.c (cleanup): Do not call + __mach_port_deallocate on rootdevid. + +2009-12-17 Martin Schwidefsky + + * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Handle + R_390_PC32DBL. Remove unneeded R_390_PLT16DBL. + * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Remove + unneeded R_390_PLT16DBL and R_390_PLT32DBL. + +2009-12-21 Ulrich Drepper + + [BZ #10992] + * sysdeps/unix/sysv/linux/futimens.c: Handle AT_FDCWD. + Patch by Eric Blake . + +2009-12-15 Ulrich Drepper + + [BZ #11093] + * bits/poll.h: Define POLLRDNORM, POLLRDBAND, POLLWRNORM, and + POLLWRBAND also for POSIX 2008. + * sysdeps/unix/sysv/linux/bits/poll.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise. + + * include/link.h (struct link_map): Move l_used into its own word. + * elf/dl-lookup.c (_dl_lookup_symbol_x): Only update l_used when it is + still zero. + * elf/dl-object.c (_dl_new_object): Set dl_used if we know it is + never really used. + +2009-12-13 H.J. Lu + + * sysdeps/i386/i686/multiarch/strcspn.S Include + instead of . Use bit_XXX and index_XXX to + check processor feature. + * sysdeps/i386/i686/multiarch/strlen.S: Likewise. + * sysdeps/i386/i686/multiarch/strspn.S: Likewise. + * sysdeps/x86_64/multiarch/init-arch.h (bit_SSE2): New definition. + (index_SSE2): Likewise. + +2009-12-09 H.J. Lu + + * sysdeps/x86_64/multiarch/init-arch.h: Include + if __ASSEMBLER__ is defined. + (bit_SSSE3): New. Defined for __ASSEMBLER__. + (bit_SSE4_2): Likewise. + (index_SSSE3): Likewise. + (index_SSE4_2): Likewise. + * sysdeps/x86_64/multiarch/rawmemchr.S: Include + instead of . Use bit_XXX and index_XXX to + check processor feature. + * sysdeps/x86_64/multiarch/strchr.S: Likewise. + * sysdeps/x86_64/multiarch/strcmp.S: Likewise. + * sysdeps/x86_64/multiarch/strcpy.S: Likewise. + * sysdeps/x86_64/multiarch/strcspn.S: Likewise. + * sysdeps/x86_64/multiarch/strlen.S: Likewise. + * sysdeps/x86_64/multiarch/strrchr.S: Likewise. + * sysdeps/x86_64/multiarch/strspn.S: Likewise. + +2009-12-08 Kaz Kojima + + * sysdeps/sh/elf/initfini.c: Update according to generic/initfini.c. + +2009-12-01 Mike Frysinger + + * sysdeps/sh/sh4/fpu/fpu_control.h (__set_fpscr): New prototype. + +2009-12-11 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Redefine O_SYNC and + O_DSYNC to match 2.6.33+ kernels. + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. + +2009-12-10 Ulrich Drepper + + [BZ #11000] + * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname4_r): Always set + *herrnop before returning. + * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r): + Likewise. + * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r): Handle + TRYAGAIN errors separately. + * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix error handling of + *name4_r after functions. + +2009-12-09 Ulrich Drepper + + [BZ #11046] + * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Fix kernel + version check. + +2009-11-05 Bruno Haible + + [BZ #11056] + * posix/unistd.h (execve, fexecve, execv, execvp, execvpe): Mark the + argv argument as non-NULL. + (execle, execl, execlp): Mark the first ARG argument as non-NULL. + +2009-12-08 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/socket.h: Define mmsghdr and declare + recvmmsg. + * sysdeps/unix/sysv/linux/syscalls.list: Add entry for recvmmsg. + * sysdeps/unix/sysv/linux/Versions: Add recvmmsg for GLIBC_2.12. + +2009-12-04 Andreas Krebbel + + * sysdeps/s390/s390-64/dl-trampoline.S: Add CFI for the call saved + registers. + * sysdeps/s390/s390-32/dl-trampoline.S: Likewise. + * sysdeps/s390/s390-32/s390-mcount.S: Add CFI. + * sysdeps/s390/s390-64/s390x-mcount.S: Add CFI. + +2009-11-30 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/sched.h: Define SCHED_IDLE and + SCHED_RESET_ON_FORK. + +2009-11-26 Ulrich Drepper + + * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Avoid code + only used on truly ancient kernel if configuration requires a more + recent kernel. + +2009-11-24 Ulrich Drepper + + [BZ #3662] + * stdlib/random_r.c: Fix comments for __initstate_r and __setstate_r. + Patch by Christopher Neufeld . + + * sysdeps/unix/grantpt.c (pts_name): Take additional parameter, + pass it on to __ptsname_internal. + (grantpt): Pass stat64 pointer to pts_name. Remove stat call here. + * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): New function. + All the code from __ptsname_r but take additional parameter. Use that + instead of pointer to local stat64 variable. + (__ptsname_r): Call __ptsname_internal with pointer to local stat64 + variable. + * include/stdlib.h: Declare __ptsname_internal. + + * sysdeps/unix/grantpt.c (grantpt): Use CLOSE_ALL_FDS is available + before the exec. + * sysdeps/unix/sysv/linux/grantpt.c: New file. + * login/programs/pt_chown.c (main): Don't print message on errors + when doing real work. + + * sysdeps/unix/grantpt.c (grantpt): Only get tty group information + once. + + * csu/elf-init.c (__libc_csu_irel): New function. Code to perform + irel relocations split out from... + (__libc_csu_init): ...here. + * csu/libc-start.c [!SHARED]: Call __libc_csu_irel early. + +2009-11-23 Andreas Schwab + + * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Use struct timespec + for timestamps also if __USE_XOPEN2K8. + * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/bits/stat.h: Likewise. + +2009-11-22 Ulrich Drepper + + * nscd/connections.c (restart): Try harder to re-exec. + + * sunrpc/create_xid.c (_create_xid): Reinitialize state after fork. + + * sysdeps/unix/sysv/linux/ntp_gettimex.c: New file. + * sysdeps/unix/sysv/linux/Makefile: Add rules to build ntp_gettimex. + * sysdeps/unix/sysv/linux/Versions: Export ntp_gettimex for GLIBC_2.12. + * sysdeps/unix/sysv/linux/sys/timex.h (ntptimeval): Add tai member and + some placeholders. Redirect ntp_gettime to ntp_gettimex. + * sysdeps/unix/sysv/linux/ntp_gettime.c: Adjust for header change. + + * sysdeps/unix/sysv/linux/sys/timex.h (MOD_TAI, MOD_MICRO, MOD_NANO): + Define. + (STA_RONLY): Add STA_NANO, STA_MODE, and STA_CLK. + +2009-11-18 H.J. Lu + + [BZ #10162] + * sysdeps/ia64/memchr.S: Don't use a simple loop on data shorter + than software pipeline. Properly recover from shorter read. + +2009-11-19 Ulrich Drepper + + [BZ #10958] + * libio/libio.h (_IO_getwc_unlocked): Check for _wide_data being + initialized before using it. + (_IO_putwc_unlocked): Likewise. + + [BZ #10918] + * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_ISSET_S): Use __const + in cast to not throw away const-ness of parameters. + (__CPU_EQUAL_S): Likewise. + (__CPU_OP_S): Likewise. + + * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Introduce new symbol + F_OWNER_PGRP and mark F_OWNER_GID obsolete. The kernel people made + this gratuitous change and we have to keep compatibility. + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. + +2009-11-17 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Change misleading names + of parameters of sync_file_range. + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. + +2009-11-16 Jakub Jelinek + + * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range): + Implement using sync_file_range2 syscall if __NR_sync_file_range2 + is defined. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c: New + file. + +2009-11-17 Paolo Bonzini + + * posix/bug-regex30.c: New file. + * posix/Makefile: Add rules to build and run bug-regex30. + * posix/regcomp.c (re_compile_fastmap_iter): Add all multibyte + character lead bytes when there is a range in a COMPLEX_BRACKET. + Reported by Oleg Bylatov. + +2009-11-17 Ulrich Drepper + + [BZ #10969] + * locale/duplocale.c (__duplocale): Handle LC_GLOBAL_LOCALE special. + * locale/tst-duplocale.c: New file. + * locale/Makefile (tests): Add tst-duplocale. + + [BZ #10968] + * locale/langinfo.h (_NL_LOCALE_NAME): Correct definition. + Patch by Bruno Haible . + * locale/tst-locname.c: New file. + * locale/Makefile (tests): Add tst-locname. + + [BZ #10972] + * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Add new MADV_* + constants from recent kernels. + * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise. + +2009-11-09 H.J. Lu + + [BZ #10162] + * sysdeps/ia64/memchr.S: Use a simple loop on data shorter than + software pipeline. + +2009-11-09 Mike Frysinger + + * sysdeps/unix/sysv/linux/i386/fallocate.c: Include errno.h. + (fallocate): Return ENOSYS if __NR_fallocate is not defined. + * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise. + +2009-11-06 Mike Frysinger + + * posix/bug-regex29.c: Include stdio.h. + +2009-11-14 Ulrich Drepper + + [BZ #10939] + * Versions.def: Define GLIBC_2.12 for libc. + * manual/errno.texi: Add ERFKILL entry. + * sysdeps/unix/sysv/linux/Versions: Add new errlist compat entries + for 2.12. + * sysdeps/unix/sysv/linux/bits/errno.h: Define ERFKILL is not done. + * sysdeps/unix/sysv/linux/sparc/bits/errno.h: Likewise. + + * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Update F_SETOWN_EX and + F_GETOWN_EX definitions according to corrected kernel definitions. + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. + +2009-11-12 Ulrich Drepper + + * version.h: Bump for 2.12 development. + +2009-11-10 Andreas Schwab + + * resolv/mapv4v6hostent.h (map_v4v6_hostent): Return non-zero if + out of buffer space. + * resolv/nss_dns/dns-host.c (getanswer_r): Check for + map_v4v6_hostent running out of space. + +2009-11-10 Ulrich Drepper + + * string/bits/string3.h (memset): If the second parameter is constant + and zero there is likely no transposition. + Patch by Caolan McNamara + + * sysdeps/powerpc/fpu/e_sqrt.c: Fix spelling of (Newton-)Raphson. + * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise. + +2009-10-30 Holger Hans Peter Freyther + + * malloc/memusagestat.c (main): Fix spelling in an error message. + +2009-11-01 H.J. Lu + + * elf/dl-sym.c (do_sym): Properly handle STT_GNU_IFUNC symbols. + * elf/ifuncmain3.c (main): Test dlopen STT_GNU_IFUNC symbol. + +2009-11-03 Andreas Schwab + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add + readahead. + +2009-11-03 Jakub Jelinek + + * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Don't + relocate opd entry when resolving prelink conflicts. + +2009-11-04 Jakub Jelinek + + * misc/sys/uio.h (preadv, pwritev): Fix type of last argument + when -D_FILE_OFFSET_BITS=64. + + * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (fallocate): Fix types + of last two arguments when -D_FILE_OFFSET_BITS=64. + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (fallocate): Likewise. + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (fallocate): Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (fallocate): Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (fallocate): Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (fallocate): Likewise. + * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (fallocate): Likewise. + +2009-11-03 Andreas Schwab + + [BZ #4457] + * sysdeps/generic/libgcc_s.h: New file. + * sysdeps/generic/framestate.c: Include it and use LIBGCC_S_SO. + +2009-11-01 Ulrich Drepper + + * malloc/hooks.c (free_check): Restore locking and call _int_free + appropriately. + +2009-10-30 Ulrich Drepper + + * version.h (VERSION): Bump for 2.11 release. + * include/features.h (__GLIBC_MINOR__): Bump to 11. + + * elf/tst-execstack.c (do_test): Add cast to avoid warning. + + * stdio-common/scanf13.c (main): Remove unused variable wbuf. + + * stdlib/tst-strtol.c (tests): Mark one more constant as unsigned + to avoid warning. + * stdlib/tst-strtoll.c (tests): Likewise. + + [BZ #9986] + * time/strftime_l.c (__strftime_internal): Allow %OC. + + * misc/mkostemps.c: New file. + * misc/mkostemps64.c: New file. + +2009-10-30 Andreas Schwab + + * locale/programs/locale-spec.c: Include and + . + + * sysdeps/unix/sysv/linux/readlinkat.c: Fix last change. + +2009-10-28 Roland McGrath + + * Makefile (dist-prepare): New target. + (tag-for-dist): Target removed. + (glibc-%.tar): Pattern rule removed. + (%.tar): New pattern rule, does simple use of git archive. + (dist-version): Remove variable definition. + (dist): Just depend on that. Add .tar.xz dependency. + If dist-version variable not set on command line, depend on + dist-prepare, re-invoke with dist-version set via git describe. + + * Makerules (%.xz): New pattern rule. + +2009-10-28 Alan Modra + + * elf/ifuncdep2.c: Include ifunc-sel.h. + (global): Delete. + (foo1_ifunc, foo2_ifunc, foo3_ifunc): Use ifunc_sel. + * elf/ifuncmain1.c (global): Delete. + * elf/ifuncmain1vis.c: Likewise. + * elf/ifuncmain2.c: Likewise. + * elf/ifuncmain5.c: Likewise. + * elf/ifuncmod3.c: Likewise. + * elf/ifuncmain6pie.c: Include ifunc-sel.h. + (foo_ifunc): Use ifunc_one. + * elf/ifuncmain7.c: Likewise. + * elf/ifuncmod1.c: Include ifunc-sel.h. + (global): Define protected var. + (foo_ifunc, foo_hidden_ifunc, foo_protected_ifunc): Use ifunc_sel. + * elf/ifuncmod5.c: Likewise. + * sysdeps/generic/elf/ifunc-sel.h: New file. + * sysdeps/powerpc/elf/ifunc-sel.h: New file. + +2009-07-30 Alan Modra + + * elf/elf.h (R_PPC_NUM, R_PPC64_NUM): Delete unused and incorrect. + (R_PPC_REL16*): Correct comments. + (R_PPC_IRELATIVE, R_PPC64_IRELATIVE, R_PPC64_JMP_IREL): Define. + (R_PPC64_REL16, R_PPC64_REL16_LO, R_PPC64_REL16_HI, + R_PPC64_REL16_HA): Define. + * sysdeps/powerpc/powerpc32/dl-irel.h: New file. + * sysdeps/powerpc/powerpc64/dl-irel.h: New file. + * sysdeps/powerpc/powerpc32/dl-machine.c (__elf_machine_fixup_plt): + Delete unused "reloc" param. + (__process_machine_rela): Handle R_PPC_IRELATIVE. + * sysdeps/powerpc/powerpc32/dl-machine.h (__elf_machine_fixup_plt): + Delete "reloc" param. + (elf_machine_rela): Handle STT_GNU_IFUNC functions and + R_PPC_IRELATIVE. + * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): New function. + (elf_machine_rela): Handle STT_GNU_IFUNC functions and new ifunc + relocations. + +d2009-10-30 Ulrich Drepper + + [BZ #10315] + * sysdeps/gnu/netinet/udp.h: Define UDP_CORK, UDP_ENCAP, + UDP_ENCAP_ESPINUDP_NON_IKE, UDP_ENCAP_ESPINUDP, and + UDP_ENCAP_L2TPINUDP. + + [BZ #10349] + * sysdeps/posix/tempname.c (__gen_tempname): Take new second + parameter, specifying length of prefix. + * stdio-common/tempname.c: Likewise. + * include/stdio.h: Adjust prototypes. + * libio/oldtmpfile.c: Adjust caller. + * misc/mkdtemp.c: Likewise. + * misc/mkostemp.c: Likewise. + * misc/mkostemp64.c: Likewise. + * misc/mkstemp.c: Likewise. + * misc/mkstemp64.c: Likewise. + * misc/mktemp.c: Likewise. + * stdio-common/tempnam.c: Likewise. + * stdio-common/tmpfile.c: Likewise. + * stdio-common/tmpnam.c: Likewise. + * stdio-common/tmpnam_r.c: Likewise. + * misc/mkstemps.c: New file. + * misc/mkstemps64.c: New file. + * stdlib/stdlib.h: Add prototypes. + * misc/Makefile (routines): Add mkstemps and mkstemps64. + * misc/Versions: Export mkstemps and mkstemps64 for GLIBC_2.11. + +2009-10-29 Ulrich Drepper + + * locale/iso-639.def: Add sml entry. + + [BZ #10391] + * resolv/res_send.c (send_dg): Initialize resplen. + + [BZ #10446] + * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Match sigevent + definition to the kernel's. + * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise. + +2009-08-18 Anders Johansson + + * nscd/aicache.c: Fix mixing up dataset and dataset->resp + offsets and record sizes in assert()s and response sending. + * nscd/grpcache.c: Likewise. + * nscd/hstcache.c: Likewise. + * nscd/initgrcache.c: Likewise. + * nscd/pwdcache.c: Likewise. + +2009-10-29 Ulrich Drepper + + [BZ #10540] + * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r): If + /etc/hosts does not exist set errnop and herrnop appropriately. + Patch by Steve Langasek . + + [BZ #10553] + * malloc/malloc.c (malloc_info): Fix typos in format strings. + Patch by John Sullivan . + + [BZ #10564] + * login/utmp_file.c (TIMEOUT): Increase to 10. + + [BZ #10609] + * sysdeps/unix/sysv/linux/faccessat.c: Fix handling of empty parameters + for file names in case the syscall is not available. + * sysdeps/unix/sysv/linux/fchmodat.c: Likewise. + * sysdeps/unix/sysv/linux/fchownat.c: Likewise. + * sysdeps/unix/sysv/linux/futimesat.c: Likewise. + * sysdeps/unix/sysv/linux/fxstatat.c: Likewise. + * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise. + * sysdeps/unix/sysv/linux/i386/fchownat.c: Likewise. + * sysdeps/unix/sysv/linux/i386/fxstatat.c: Likewise. + * sysdeps/unix/sysv/linux/linkat.c: Likewise. + * sysdeps/unix/sysv/linux/mkdirat.c: Likewise. + * sysdeps/unix/sysv/linux/openat.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Likewise. + * sysdeps/unix/sysv/linux/readlinkat.c: Likewise. + * sysdeps/unix/sysv/linux/renameat.c: Likewise. + * sysdeps/unix/sysv/linux/symlinkat.c: Likewise. + * sysdeps/unix/sysv/linux/unlinkat.c: Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Likewise. + * sysdeps/unix/sysv/linux/xmknodat.c: Likewise. + + [BZ #10643] + * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): If thread + creation filed, remove the request from the 'requests' list and signal + the caller that the request is finished. + + [BZ #10692] + * nis/nss_nis/nis-grp.c (internal_nis_getgrent_r): Don't free buffer + in error if batch_read. Patch by Joe Landers . + + [BZ #10713] + * nis/nss_nis/nis-grp.c (internal_nis_endgrent): Start freeing blocks + from intern.start. Patch by Joe Landers . + + [BZ #10780] + * libio/ioputs.c (_IO_puts): Make sure to not return a number which + overflows the int return type. + + [BZ #10717] + * malloc/memusagestat.c (main): Fix repairing of trace files. We also + have to compute maxsize_total, we have to update the variables, and + the also_total handling must happen after the repair. + + [BZ #10742] + * nscd/dbg_log.c (dbg_log): Print timestamp before the message text. + Based on patch by Jeffrey Bastian . + +2009-10-27 Andreas Schwab + + * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Make sure + errno is always set when returning unsuccessfully. + +2009-10-29 Andreas Schwab + + * malloc/memusage.c (update_data): Fix index wraparound handling + so that buffer_cnt is actually reset. + +2009-10-29 Ulrich Drepper + + [BZ #10784] + * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Always copy name + of the directory we look at into the static buffer if there is one + at the start of the loop. + + [BZ #10789] + * sysdeps/generic/netinet/ip.h: Define IPTOS_ENC* and IPTOS_DSCP* + macros. Patch by Philip Prindeville . + + [BZ #10840] + * sysdeps/unix/sysv/linux/kernel-features.h: Define + __ASSUME_F_GETOWN_EX. + * sysdeps/unix/sysv/linux/fcntl.c: Implement F_GETOWN using F_GETOWN_EX + if possible. + * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise. + + * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Define F_OWNER_* + and f_owner_ex. + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. + + [BZ #10847] + * sysdeps/gnu/getutmp.c: Allow compatibility code to play around with + getutmpx symbol. + + [BZ #10823] + * resolv/res_send.c (__libc_res_nsend): Fix copying of IPv4 server + addresses. Patch by Petar Bogdanovic . + +2009-10-24 Joseph Myers + + * sysdeps/ieee754/ldbl-128/w_expl.c: Add hidden_def (__expl). + +2009-10-27 Jakub Jelinek + + [BZ #10817] + * math/w_coshl.c (__coshl): Use __finitel instead of __finite. + Reported by Ray Chason. + +2009-10-21 H.J. Lu + + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add + strend-sse4. + * sysdeps/x86_64/multiarch/strchr.S: New file. + * sysdeps/x86_64/multiarch/strend-sse4.S: New file. + * sysdeps/x86_64/multiarch/strrchr.S: New file. + +2009-10-21 Andreas Schwab + + * elf/dl-sym.c (do_sym): Resolve STT_GNU_IFUNC symbols. + +2009-10-19 Andreas Schwab + + * include/math.h: Add hidden protos for __exp/__expf/__expl. + * sysdeps/ieee754/dbl-64/w_exp.c: Add hidden alias. + * sysdeps/ieee754/flt-32/w_expf.c: Likewise. + * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise. + * sysdeps/i386/fpu/s_expm1.S: Call __exp to handle overflow. + * sysdeps/i386/fpu/s_expm1f.S: Call __expf to handle overflow. + * sysdeps/i386/fpu/s_expm1l.S: Call __expl instead of + __ieee751_expl to handle overflow. + +2009-10-14 David S. Miller + + * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: New file. + +2009-10-13 Andreas Schwab + + * csu/elf-init.c (__libc_csu_init): Run preinit array even if + !USE_MULTIARCH. + +2009-10-08 Ulrich Drepper + + [BZ #10730] + * stdlib/random_r.c (__initstate_r): Remove duplicate __set-errno. + Patch in part by Steve Ward . + + [BZ #10731] + * stdlib/rand_r.c: Fix typo. + + * po/cs.po: Update from translation team. + +2009-10-06 Andreas Schwab + + * elf/dl-load.c (_dl_map_object_from_fd): Close fd before + returning if RTLD_NOLOAD. + +2009-10-06 Roland McGrath + + * sysdeps/x86_64/multiarch/strstr-c.c + [! SHARED]: Omit libc_hidden_builtin_def fiddling. + + * sysdeps/x86_64/multiarch/strcasestr-c.c: Remove + libc_hidden_builtin_def fiddling, does not apply to strcasestr at all. + + * sysdeps/x86_64/multiarch/init-arch.h + [NOT_IN_libc] (__get_cpu_features): Define it as a macro. + (HAS_CPU_FEATURE): New macro. + (HAS_SSE2, HAS_POPCOUNT, HAS_SSE4_2, HAS_FMA): Use it. + * sysdeps/x86_64/multiarch/init-arch.c + (__get_cpu_features): #undef it before definition. + +2009-10-05 Andreas Schwab + + * locale/C-time.c: Revert week-1stday back to 19971130 and set + first_weekday to 1 and first_workday to 2. + +2009-10-01 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Define F_SETOWN_EX and + F_GETOWN_EX. + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. + +2009-09-28 Andreas Schwab + + * stdio-common/printf_fp.c: Check for and avoid integer overflows. + * stdio-common/vfprintf.c: Likewise. + +2009-09-27 Samuel Thibault + + * sysdeps/mach/hurd/mkdirat.c: Include . + (mkdirat): Call __directory_name_split_at instead of + __directory_name_split. + +2009-09-28 Ulrich Drepper + + * locale/programs/locale-spec.c (locale_special): If nothing matches + fail with an appropriate message. + +2009-09-10 H.J. Lu + + * configure.in: Exclude binutils 2.X. Support binutils 2.100 + and XX. + +2009-09-25 Andreas Schwab + + * elf/dl-reloc.c (RESOLVE_MAP): Always pass + DL_LOOKUP_ADD_DEPENDENCY to _dl_lookup_symbol_x. + +2009-09-28 Samuel Thibault + + * bits/termios.h [__USE_UNIX98] (IXANY): Define macro. + +2009-09-20 Andreas Schwab + + * iconvdata/iso646.c (gconv_init): Correctly initialize the + character size elements in step data. + +2009-09-20 Ulrich Drepper + + * po/hu.po: Update from translation team. + * po/vi.po: Likewise. + +2009-09-19 Roland McGrath + + * libio/wfileops.c (_IO_wfile_seekoff): Remove unused variables. + +2009-09-15 Roland McGrath + + * aclocal.m4 (GLIBC_PROVIDES): Add _AS_ECHO_PREPARE. + * nptl/sysdeps/pthread/configure: Regenerated. + * nptl/sysdeps/x86_64/configure: Regenerated. + * sysdeps/unix/sysv/linux/configure: Regenerated. + * sysdeps/x86_64/elf/configure: Regenerated. + + * Makefile (autoconf-it): Set execute bit only on top-level configure. + + * configure.in: Let add-ons set $libc_add_on_config_subdirs to have + the effect of AC_CONFIG_SUBDIRS relative to the add-on directory. + * aclocal.m4 (GLIBC_PROVIDES): Add AC_CONFIG_SUBDIRS. + * configure: Regenerated. + +2009-09-09 Ulrich Drepper + + * posix/getconf.c (main): Handle -- on command line. + +2009-09-05 H.J. Lu + + * configure.in: Support binutils 2.100 and 3.0. + +2009-09-08 Jakub Jelinek + + * sysdeps/s390/s390-32/____longjmp_chk.c: Removed. + * sysdeps/s390/s390-64/____longjmp_chk.c: Removed. + * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: New file. + +2009-09-07 Ulrich Drepper + + * locale/programs/ld-collate.c (struct locale_collate_t): Add + unnamed_section_defined field. + (collate_read): Test and set unnamed_section_defined. + + * posix/getconf.c (vars): Handle POSIX2_LINE_MAX in addition to + _POSIX2_LINE_MAX. + +2009-09-04 H.J. Lu + + * configure.in: Support binutils 2.20. + +2009-09-03 Ulrich Drepper + + * sysdeps/i386/i686/multiarch/strstr-c.c (__strstr_sse42, + __strstr_ia32): Add attribute_hidden. + +2009-09-01 Andreas Schwab + + * hesiod/nss_hesiod/hesiod-grp.c (internal_gid_from_group): Fix + parsing of group entry. + +2009-09-02 Andreas Schwab + + * libio/wfileops.c (_IO_wfile_seekoff): Account for readahead in + external buffer. Always discard readahead in internal buffer. + * libio/Makefile (tests): Add bug-wsetpos. + * libio/bug-wsetpos.c: New file. + +2009-09-02 Jakub Jelinek + + * sysdeps/x86_64/multiarch/strstr-c.c (__strstr_sse42, __strstr_sse2): + Add attribute_hidden. + * sysdeps/x86_64/multiarch/strcasestr-c.c (__strcasestr_sse42, + __strcasestr_sse2): Likewise. + * sysdeps/x86_64/multiarch/s_fma.c (__fma_sse2): Add attribute_hidden. + (__fma_fma): Make static. + * sysdeps/x86_64/multiarch/s_fmaf.c (__fmaf_sse2): Add attribute_hidden. + (__fmaf_fma): Make static. + +2009-08-31 Andreas Schwab + + * libio/wfileops.c (_IO_wfile_seekoff): Remove dead code and + reformulate in-buffer optimisation check to match code in + _IO_new_file_seekoff. + +2009-08-31 Joshua W. Boyer + + * sysdeps/powerpc/powerpc32/power6/memcpy.S: Change srdi instruction + to srwi in 32-bit memcpy for power6. + +2009-09-01 Andreas Schwab + + * include/stdio.h: Declare hidden proto for fflush. + * libio/iofflush.c: Add hidden weak alias for fflush. + +2009-09-01 Jakub Jelinek + + * sysdeps/x86_64/fpu/bits/mathinline.h: Include bits/wordsize.h. + (__signbitf, __signbit): Only use SSE inline asm for 64-bit. + +2009-08-31 Andreas Schwab + + * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm. + +2009-08-31 Ulrich Drepper + + [BZ #10560] + * malloc/malloc.c: Add local assert definition to avoid problems with + memory allocation in the real one. + +2009-08-27 H.J. Lu + + * sysdeps/i386/i686/multiarch/init-arch.c (ENABLE_SSSE3_ON_ATOM): + Removed. + * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Don't + turn off SSSE3 on Atom. + +2009-08-28 Ulrich Drepper + + * stdlib/tst-strtol.c (tests): More tests. + * stdlib/tst-strtoll.c (tests): Likewise. + +2009-08-26 Ulrich Drepper + + * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: New file. + + * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: New file. + +2009-08-25 Ulrich Drepper + + * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Add llround aliases. + * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: New file. + + * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: New file + + * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: New file. + + * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: New file. + +2009-08-25 Joseph Myers + + * math/s_fdiml.c (__fdiml): Use fpclassify instead of fpclassifyl. + +2009-08-25 Ulrich Drepper + + * sysdeps/x86_64/fpu/s_scalbln.c: New file. + * sysdeps/x86_64/fpu/s_scalbn.c: New file. + + * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file. + + * sysdeps/x86_64/fpu/s_signbit.S: New file. + * sysdeps/x86_64/fpu/s_signbitf.S: New file. + + * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: New file. + * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: New file. + + * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Remove + leftover YMM_SIZE definition. + +2009-08-24 Ulrich Drepper + + * math/math_private.h (ieee_double_shape_type): Add uint64_t word to + union. + (EXTRACT_WORDS64, INSERT_WORDS64): Define. + * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64, INSERT_WORDS64): + Redefine. + * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: New file. + + * sysdeps/x86_64/fpu/math_private.h: Add specialized GET_FLOAT_WORD + and SET_FLOAT_WORD definitions. + +2009-08-24 Roland McGrath + + * sysdeps/unix/syscall-template.S: New file. + * sysdeps/unix/make-syscalls.sh: Generate rules to use it. + * sysdeps/unix/Makefile (omit-deps): Do not omit syscall stubs' deps. + (compile-syscall): Pass mkdep and -g options as normal. + (s-proto.d, s-proto-cancel.d): Don't "-include" these. + (common-generated): Don't add them here. + +2009-08-24 Ulrich Drepper + + * math/s_fdim.c: In case of overflows set errno. + * math/s_fdimf.c: Likewise. + * math/s_fdiml.c: Likewise. + + * math/math.h: Define math_errhandling of __FAST_MATH__ is not defined. + * sysdeps/i386/fpu/bits/mathinline.h: Undefine math_errhandling if we + are using the inline optimizations. + + * sysdeps/x86_64/fpu/bits/mathinline.h (__signbit): Optimize. + (__signbitf): Likewise. + +2009-08-23 Ulrich Drepper + + * posix/regcomp.c (parse_dup_op): Verify the expression is correctly + terminated. + * posix/Makefile (tests): Add bug-regex29. + * posix/bug-regex29.c: New file. + + * posix/unistd.h: Define _POSIX_VERSION and _POSIX2_* correctly if + older POSIX versions are selected. + + * stdio-common/printf_fp.c: ISO C expects to print the sign of NaN + as well. + * stdio-common/printf_fphex.c: Likewise. + * stdio-common/tstdiomisc.c: Add more tests. + + * locale/locale.h: Include xlocale.h and the thread-local locale + declarations for XPG7, not XPG6. + +2009-08-21 Andreas Schwab + + * sysdeps/powerpc/powerpc32/____longjmp_chk.S: Removed. + * sysdeps/powerpc/powerpc64/____longjmp_chk.S: Removed. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S: New file. + * sysdeps/powerpc/powerpc32/__longjmp-common.S: Move CHECK_SP earlier. + * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise. + +2009-08-20 Roland McGrath + + * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols): + Use l_addr instead of l_map_start (dli_fbase). + Print "FILE([+-]OFFSET) [ADDRESS]" with the file-relative + address when there is no proximate symbol. + * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): + Likewise. + +2009-08-16 Ulrich Drepper + + * scripts/gen-as-const.awk: Fix test for 64-bit platform. + +2009-08-14 Ulrich Drepper + + * test-skeleton.c (signal_handler): Renamed from timeout_handler. + Also handle SIGINT. In that case only do the cleanup and then + re-raise the signal. + (main): Install handler for SIGINT. + +2009-08-10 SUGIOKA Toshinobu + + * stdlib/longlong.h [__sh__] (udiv_qrnnd, sub_ddmmss): Add "t" to + clobber list. + +2009-08-01 H.J. Lu + + * elf/Makefile (distribute): Add tst-audit6.c tst-auditmod6a.c + tst-auditmod6b.c tst-auditmod6c.c tst-audit7.c tst-auditmod7a.c + tst-auditmod7b.c. + (tests): Add tst-audit6 tst-audit7. + (modules-names): Add st-auditmod6a tst-auditmod6b tst-auditmod6c + tst-auditmod7a tst-auditmod7b. + ($(objpfx)tst-audit6): New. + ($(objpfx)tst-audit6.out): Likewise. + ($(objpfx)tst-audit7): Likewise. + ($(objpfx)tst-audit7.out): Likewise. + (tst-audit6-ENV): Likewise. + (tst-audit7-ENV): Likewise. + (CFLAGS-tst-auditmod6b.c): Likewise. + (CFLAGS-tst-auditmod6c.c): Likewise. + (CFLAGS-tst-auditmod7b.c): Likewise. + * elf/tst-audit6.c: New file. + * elf/tst-audit7.c: New file. + * elf/tst-auditmod6a.c: New file. + * elf/tst-auditmod6b.c: New file. + * elf/tst-auditmod6c.c: New file. + * elf/tst-auditmod7a.c: New file. + * elf/tst-auditmod7b.c: New file. + * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Move + saving and restoring SSE/AVX registers to ... + * sysdeps/x86_64/dl-trampoline.h: This. New file. + +2009-08-07 H.J. Lu + + * sysdeps/i386/i686/multiarch/strcspn.S (STRCSPN): Use PIC + only if SHARED is defined. + * sysdeps/i386/i686/multiarch/strspn.S (strspn): Likewise. + +2009-08-03 Jim Meyering + + * sysdeps/i386/configure.in: Use AC_HEADER_CHECK. + +2009-08-08 Ulrich Drepper + + * sysdeps/x86_64/multiarch/strlen.S: Move SSE4.2 version into the same + section as the other functions for this architecture. + * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise. + +2009-08-07 Ulrich Drepper + + * sysdeps/x86_64/strcmp.S: Add support to compile with + USE_SSSE3. In this case palignr is used. + * sysdeps/x86_64/multiarch/strcmp.S (strcmp): If SSE4.2 is not + available but SSSE3 is, pick __str{,n}cmp_ssse3. + * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines): + Add strcmp-ssse3 and strncmp-ssse3. + * sysdeps/x86_64/multiarch/strcmp-ssse3.S: New file. + * sysdeps/x86_64/multiarch/strncmp-ssse3.S: New file. + + * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE42): Avoid + warning through fake initialization. + +2009-08-07 H.J. Lu + + * sysdeps/i386/i686/multiarch/strlen.S (ENTRY): Add the missing "; \". + +2009-08-07 Andreas Schwab + + * elf/dl-lookup.c (do_lookup_x): Enter correct name into table of + unique symbols. + +2009-08-05 H.J. Lu + + * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Properly use + EBX from EAX = 1. Handle EAX = 11. + +2009-08-07 Andreas Schwab + + * Makefile (TAGS): Use separate sed -e expressions to avoid \ + inside ''. + +2009-08-03 H.J. Lu + + * sysdeps/i386/i686/multiarch/strcspn.S: Add comments for no + hidden IFUNC functions. + * sysdeps/i386/i686/multiarch/strspn.S: Likewise. + + * sysdeps/i386/i686/multiarch/strlen.S: New file. + + * sysdeps/i386/i686/multiarch/Makefile [subdir=string] + (sysdep_routines): Add strcspn-c, strpbrk-c, strspn-c, strstr-c, and + strcasestr-c. + (CFLAGS-strcspn-c.c): Define. + (CFLAGS-strpbrk-c.c): Define. + (CFLAGS-strspn-c.c): Define. + (CFLAGS-strstr.c): Define. + (CFLAGS-strcasestr.c): Define. + * sysdeps/i386/i686/multiarch/strcspn-c.c: New file. + * sysdeps/i386/i686/multiarch/strcspn.S: New file. + * sysdeps/i386/i686/multiarch/strpbrk-c.c: New file. + * sysdeps/i386/i686/multiarch/strpbrk.S: New file. + * sysdeps/i386/i686/multiarch/strspn-c.c: New file. + * sysdeps/i386/i686/multiarch/strspn.S: New file. + * sysdeps/i386/i686/multiarch/strstr-c.c: New file. + * sysdeps/i386/i686/multiarch/strstr.c: New file. + * sysdeps/i386/i686/multiarch/strcasestr-c.c: New file. + * sysdeps/i386/i686/multiarch/strcasestr.c: New file. + * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE42): Use + -16L instead of 0xfffffffffffffff0L. + * sysdeps/x86_64/multiarch/strspn-c.c (__strspn_sse42): Likewise. + +2009-08-02 Ulrich Drepper + + * sysdeps/i386/configure.in: Add test for . + +2009-07-31 Ulrich Drepper + + * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (longjmp_msg): Yet + another rewrite. Much smaller and faster. + * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise. + + * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (longjmp_msg): Get + ss_flags from the correct location. + +2009-07-31 H.J. Lu + + * sysdeps/i386/i686/Makefile (sysdep_routines): Add cacheinfo. + * sysdeps/i386/i686/cacheinfo.c: New file. + * sysdeps/i386/i686/multiarch/Makefile: New file. + * sysdeps/i386/i686/multiarch/ifunc-defines.sym: New file. + * sysdeps/i386/i686/multiarch/init-arch.c: New file. + * sysdeps/i386/i686/multiarch/init-arch.h: New file. + * sysdeps/i386/i686/multiarch/sched_cpucount.c: New file. + * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: New file. + * sysdeps/x86_64/cacheinfo.c: Include . + (__cpuid_count): New. Provide the default. + (__x86_64_prefetchw): Define only if DISABLE_PREFETCHW is not defined. + (__x86_64_preferred_memory_instruction): Define only if + DISABLE_PREFERRED_MEMORY_INSTRUCTION is not defined. + (intel_check_word): Use __cpuid. + (handle_intel): Likewise. + (handle_amd): Likewise. + (__cache_sysconf): Likewise. + (init_cacheinfo): Updated. Use __cpuid and __cpuid_count. + (__cache_sysconf): Likewise. + (init_cacheinfo): Updated. Use __cpuid and __cpuid_count. + * sysdeps/x86_64/multiarch/init-arch.c: Include . + (get_common_indeces): Use __cpuid. + (__init_cpu_features): Likewise. Disable SSSE3 on Atom only + if ENABLE_SSSE3_ON_ATOM is not defined. + * sysdeps/x86_64/multiarch/init-arch.h (HAS_SSE2): Define. + * sysdeps/x86_64/multiarch/sched_cpucount.c (POPCNT): Use + popcnt instead of popcntq. + +2009-07-31 Jakub Jelinek + + * malloc/Makefile (CFLAGS-obstack.c): Add $(uses-callbacks). + +2009-07-30 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: New file. + * sysdeps/i386/____longjmp_chk.S: Remove all code. This is now a file + which always causes a compile error. + + * sysdeps/i386/__longjmp.S: Remove bound-checking pointer support. + + * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: New file. Content + comes from... + * sysdeps/x86_64/____longjmp_chk.S: ...here. This is now a file + which always causes a compile error. + + * debug/Makefile (tests): Add tst-longjmp_chk2. + * debug/tst-longjmp_chk2.c: New file. + + * sysdeps/x86_64/__longjmp.S: Remove CHECK_RSP handling. Fix CFI. + Remove incorrect use of BP_SYM. + * sysdeps/x86_64/____longjmp_chk.S: Rewrite. Complete implementation + here now since it is more complex than just a simple check. + + * sysdeps/ia64/backtrace.c (backtrace_helper): Stop backtrace when + we make no more progress. + +2009-07-29 Ulrich Drepper + + * math/s_fma.c: Don't define alias if __fma is a macro. + * math/s_fmaf.c: Likewise. + * sysdeps/x86_64/multiarch/s_fma.c: New file. + * sysdeps/x86_64/multiarch/s_fmaf.c: New file. + Partially based on a patch by H.J. Lu . + + * sysdeps/x86_64/multiarch/init-arch.h (__get_cpu_features): Declare. + (HAS_POPCOUNT, HAS_SSE4_2): Add variants which work outside libc. + New macro HAS_FMA. + * sysdeps/x86_64/multiarch/init-arch.c (__get_cpu_features): New + function. + * include/libc-symbols.h (libm_ifunc): Define. + * sysdeps/x86_64/multiarch/Versions: New file. + + * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Improve CFI. + +2009-07-28 H.J. Lu + + * sysdeps/x86_64/dl-trampoline.S: Properly restore AVX registers. + +2009-07-29 Ulrich Drepper + + * elf/dl-runtime.c (_dl_fixup): Indicate before _dl_lookup_symbol_x + call that registers used in calling conventions need to be preserved. + * elf/dl-lookup.c (do_lookup_x): Use RTLD_*_FOREIGN_CALL macros + to preserve register content if necessary. + * sysdeps/x86_64/dl-trampoline.S (_dl_x86_64_save_sse): New function. + (_dl_x86_64_restore_sse): New function. + * sysdeps/x86_64/tst-xmmymm.sh: There is now one more function that + is allowed to modify xmm/ymm registers. + + * stdio-common/scanf15.c: Undefine _LIBC. We want to test from an + application's perspective. + * stdio-common/scanf17.c: Likewise. + +2009-07-28 Ulrich Drepper + + * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Don't add TCB + size to memsz. + (init_static_tls) [TLS_TCB_AT_TP]: Add it to GL(dl_tls_static_size) + here. + * elf/dl-reloc.c (_dl_try_allocate_static_tls): Compute freebytes in + two steps to catch bugs. + +2009-07-27 Ulrich Drepper + + * sysdeps/x86_64/tst-xmmymm.sh: Refine testing. The script now + determines which files are used in runtime lookups and only checks + those for SSE use. + * sysdeps/x86_64/rtld-memchr.c: Removed. Not needed with refined + testing. + * sysdeps/x86_64/rtld-rawmemchr.c: Removed. + * sysdeps/x86_64/multiarch/rtld-rawmemchr.c: Removed + * sysdeps/x86_64/Makefile: Emit warning that tst-xmmymm.sh might + take a while. + + * elf/dl-open.c: Move _dl_scope_free to... + * elf/dl-scope.c: ...here. New file. + * elf/Makefile (dl-routines): Add scope. + + * resolv/resolv.h (RES_USE_DNSSEC): Define. + * resolv/res_debug.c (p_option): Handle RES_USE_EDNS0 and + RES_USE_DNSSEC. + * resolv/res_mkquery.c (__res_nopt): Set flags for RES_USE_DNSSEC. + * resolv/res_query.c (__libc_res_nquery): Handle RES_USE_DNSSEC in + all the places we handled RES_USE_EDNS0 only before. + Patch by Adam Tkac . + +2009-07-27 Jakub Jelinek + + * elf/dl-lookup.c (do_lookup_x): Fix check for table more than + 3/4 full. Pass size + 1 rather than size to _dl_higher_prime_number. + Update size when reallocating. + +2009-07-26 Ulrich Drepper + + * sysdeps/x86_64/tst-xmmymm.sh: New file. Check whether any of the + functions used in ld.so modify xmm/ymm registers. + * sysdeps/x86_64/Makefile: Hook new test up. + * sysdeps/x86_64/rtld-memchr.c: New file. + * sysdeps/x86_64/rtld-memcmp.c: New file. + * sysdeps/x86_64/rtld-rawmemchr.c: New file. + * sysdeps/x86_64/rtld-strchr.S: New file. + * sysdeps/x86_64/rtld-strlen.S: New file. + * sysdeps/x86_64/multiarch/rtld-rawmemchr.c: New file. + * sysdeps/x86_64/multiarch/rtld-strlen.S: New file. + +2009-07-26 H.J. Lu + + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove + strncmp-c. + * sysdeps/x86_64/multiarch/strcmp.S (aftertail): Removed. + (exit): Likewise. + (Byte1): Likewise. + (Byte2): Likewise. + (Byte3): Likewise. + (Byte4): Likewise. + (Byte5): Likewise. + (Byte6): Likewise. + (next_8_bytes): Likewise. + (Byte0): Remove commented out codes. + (unaligned_table): Align jump table at 8 bytes. + Add _sse4_2 to all labels. Always include "../strcmp.S". + * sysdeps/x86_64/multiarch/strncmp-c.c: Removed. + * sysdeps/x86_64/strcmp.S: Add SSE2 support. + * sysdeps/x86_64/strncmp.S: New file. + +2009-07-26 Ulrich Drepper + + [BZ #10422] + * sysdeps/unix/sysv/linux/eventfd.c: Add compatibility for old + kernels, dropped when eventfd2 support was added. + * sysdeps/unix/sysv/linux/signalfd.c: Add compatibility for old + kernels, dropped when signalfd4 support was added. + * sysdeps/unix/sysv/linux/kernel-features.h: More CLOEXEC syscalls + added, name them. + + [BZ #10452] + * resolv/res_send.c (send_dg): Pass full SERVFAIL, NOTIMP, REFUSED + replies up. + + * elf/elf.h: Define NT_GNU_GOLD_VERSION. + +2009-07-25 Ulrich Drepper + + * sysdeps/x86_64/multiarch/strcmp.S: Some more optimizations for + modern processor versions. Patch by H.J. Lu . + + [BZ #10448] + * sysdeps/posix/getaddrinfo.c (gaih_inet): If NSS module contains no + callback we must touch the status to avoid using stale value. + + * sysdeps/x86_64/multiarch/strcmp.S: Exclude unused code from being + compiled in. + +2009-07-24 Ulrich Drepper + + * sysdeps/unix/sysv/linux/configure.in: Don't automatically include + /lib/modules/* headers anymore. We have sane headers in the standard + place now. + +2009-06-16 Andreas Krebbel + + * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): "hpage", + "etf3enh" and "highgprs" added. + (_dl_s390_platforms): "z10" added. + * sysdeps/s390/dl-procinfo.h (_DL_HWCAP_COUNT, _DL_PLATFORMS_COUNT): + Increased for the new entries. + (HWCAP enum): HWCAP_S390_HPAGE, HWCAP_S390_ETF3EH and + HWCAP_S390_HIGH_GPRS added. + + * sysdeps/s390/s390-64/Makefile: Adjusted to build the new modules. + * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: New file. + * sysdeps/s390/s390-64/utf16-utf32-z9.c: New file. + * sysdeps/s390/s390-64/utf8-utf16-z9.c: New file. + * sysdeps/s390/s390-64/utf8-utf32-z9.c: New file. + +2009-07-23 Ulrich Drepper + + * sysdeps/x86_64/cacheinfo.c [USE_MULTIARCH]: Rearrange code to + avoid additional cpuid instructions. Most of the information is + stored somewhere. + + * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Add more + cache descriptors. + * sysdeps/x86_64/cacheinfo.c (intel_02_known): Likewise. + + * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Reset + SSSE3 bit for Atoms. + * sysdeps/x86_64/multiarch/strcpy.S: New need to perform Atom test + here anymore. + + * posix/tst-rfc3484.c (do_test): Initialize entire sockaddr_in + structure before copying it to avoid warning. + * posix/tst-rfc3484-2.c (do_test): Likewise. + * posix/tst-rfc3484-3.c (do_test): Likewise. + + [BZ #10416] + * include/unistd.h: Make header file suitable for C++ test cases. + Patch by Duncan Simpson . + + * sysdeps/unix/sysv/linux/i386/makecontext.S: Ensure we preserve the + stack alignment in the exit code. + + * elf/dl-lookup.c (dl_lookup_x): The hashval for unique symbol can + potentially be zero. + + * elf/tst-unique1.c: Extend test to check for unloading DSO with + unique symbol definition. + Patch by Jakub Jelinek. + * elf/dl-lookup.c (do_lookup_x): When entering a new unique symbol, + make sure the object with the definition cannot be unloaded. Adjust + a few types. + * sysdeps/generic/ldsodefs.h (struct rtld_global): The map element in + the unique symbol hash table should not be const. + +2009-07-21 Ulrich Drepper + + * sysdeps/x86_64/multiarch/strstr.c: Minor cleanups. Remove + unnecesary variables. Comment fixes. + +2009-07-20 Ulrich Drepper + + * sysdeps/x86_64/multiarch/strstr.c [USE_AS_STRCASESTR] (STRSTR_SSE42): + Use NONASCII_CASE information provided by the locale to determine + whether optimized string load function can be used. Minor cleanups. + +2009-07-20 H.J. Lu + + * string/strcasestr.c (STRCASESTR): New macro. + (__strcasestr): Renamed to .. + (STRCASESTR): ...this. + * string/strstr.c (STRSTR): New macro. + (strstr): Renamed to .. + (STRSTR): ...this. + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add + strstr-c strcasestr-c + (CFLAGS-strstr.c): New. + (CFLAGS-strcasestr.c): Likewise. + * sysdeps/x86_64/multiarch/strcasestr-c.c: New file. + * sysdeps/x86_64/multiarch/strcasestr.c: New file. + * sysdeps/x86_64/multiarch/strstr-c.c: New file. + * sysdeps/x86_64/multiarch/strstr.c: New file. + +2009-07-20 Ulrich Drepper + + * locale/localeinfo.h (LIMAGIC): Update value for LC_CTYPE. + * locale/langinfo.h: Define _NL_CTYPE_NONASCII_CASE. + * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializer for + _NL_CTYPE_NONASCII_CASE. + * locale/programs/ld-ctype.c (locale_ctype_t): Add nonascii_case + field. + (ctype_finish): Check whether there are any 8-bit characters outside + the range ASCII has or whether the mapping isn't the same as for + ASCII (±0x20). Set nonascii_case appropriately. + (ctype_output): Add output handler for nonascii_case. + +2009-07-17 Ulrich Drepper + + * sysdeps/generic/sysdep.h: Define cfi_personality, cfi_lsda, + CFI_PERSONALITY, CFI_LSDA, and DW_EH_PE_* constants. + +2009-07-16 Ulrich Drepper + + [BZ #10360] + * resolv/res-mkquery.c (__res_nopt): If anslen is > 0xffff store + 0xffff in the EDNS0 record. + +2009-07-16 Ulrich Drepper + + * nscd/cache.c (cache_add): Use atomic_compare_and_exchange_bool_rel + instead of atomic_compare_and_exchange_bool_acq to ensure pointer + is written before the list head update. + Patch by Andreas Schwab . + +2009-07-16 Ulrich Drepper + Jakub Jelinek + + * malloc/malloc.c [ATOMIC_FASTBINS] (_int_free): Make check for + corruption thread-safe. + +2009-07-13 Jakub Jelinek + + * include/atomic.h (catomic_compare_and_exchange_val_rel): If arch + overrides atomic_compare_and_exchange_val_rel, define to + atomic_compare_and_exchange_val_rel by default, otherwise default + to catomic_compare_and_exchange_val_acq. + (catomic_compare_and_exchange_bool_rel): If arch overrides + atomic_compare_and_exchange_bool_rel, define to + atomic_compare_and_exchange_bool_rel by default. + * malloc/malloc.c (_int_free): Revert 2009-07-02 change. + Use catomic_compare_and_exchange_val_rel instead of + catomic_compare_and_exchange_val_acq. + +2009-07-16 Ulrich Drepper + + * sysdeps/generic/ldsodefs.h: Add prototype for + _dl_higher_prime_number. + * elf/dl-misc.c (_dl_higher_prime_number): Mark with internal_function. + + * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Optimize + restoring of ymm registers a bit. + +2009-07-15 H.J. Lu + + * sysdeps/x86_64/memcmp.S: New file. + +2009-07-15 Ulrich Drepper + + * sysdeps/x86-64/dl-trampoline.h: Remove after integrating code into... + * sysdeps/x86-64/dl-trampoline.S: ...here. Rewrite to avoid function + pointers in writable memory. + +2009-07-07 H.J. Lu + + * config.h.in: Add HAVE_AVX_SUPPORT entry. + * config.make.in: Add config-cflags-avx entry. + * configure.in: Substitute libc_cv_cc_avx. + * elf/Makefile: Add rules to build and run tst-audit4 and tst-audit5. + * elf/tst-audit4.c: New file. + * elf/tst-audit5.c: New file. + * elf/tst-auditmod4a.c: New file. + * elf/tst-auditmod4b.c: New file. + * elf/tst-auditmod5a.c: New file. + * elf/tst-auditmod5b.c: New file. + * sysdeps/x86_64/Makefile (gen-as-const-headers): Add + link-defines.sym. + * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): New. + (La_x86_64_vector): Likewise. + (La_x86_64_regs): Append lr_vector. + (La_x86_64_retval): Append lr_vector0/lrv_vector1. + * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Move + saving and restoring SSE registers to ... + * sysdeps/x86_64/dl-trampoline.h: This. New file. + * sysdeps/x86_64/dl-trampoline.S: Include and + . + (_dl_runtime_profile): Use LR_SIZE to allocate space for + La_x86_64_regs. Allocate extra space and jump to memory at + save_and_restore_vector if HAVE_AVX_SUPPORT is defined. + (save_and_restore_vector_sse): New. + (save_and_restore_vector_avx): Likewise. + (check_avx): Likewise. + (save_and_restore_vector): Likewise. + * sysdeps/x86_64/elf/configure.in: Set libc_cv_cc_avx and + HAVE_AVX_SUPPORT. + * sysdeps/x86_64/link-defines.sym: New file. + +2009-07-10 Ulrich Drepper + + * elf/do-lookup.h: Removed after folding content into... + * elf/dl-lookup.c: ...here. + + * sysdeps/unix/sysv/linux/sys/epoll.h: Fix comment. + +2009-07-09 Ulrich Drepper + + * configure.in: Check for gnu_unique_symbol symbol type. + * config.h.in: Add HAVE_ASM_UNIQUE_OBJECT entry. + * elf/do-lookup.h (do_lookup_x): Take new parameter with link map of + the undefined symbol. Handle STB_GNU_UNIQUE binding of found symbol. + * elf/dl-lookup.c (_dl_lookup_symbol_x): Adjust callers for do_lookup_x + change. + * sysdeps/generic/ldsodefs.h (struct rtld_global): Add definitions for + unique symbol table. + * elf/rtld.c (rtld_global): Initialize lock of unique symbol hash table + for first namespace. + * elf/dl-open.c (_dl_open): For new namespace, initialize lock for + unique symbol hash table. + * elf/Makefile: Add rules to build and run tst-unique1 and tst-unique2. + * elf/tst-unique1.c: New file. + * elf/tst-unique1mod1.c: New file. + * elf/tst-unique1mod2.c: New file. + * elf/tst-unique2.c: New file. + * elf/tst-unique2mod1.c: New file. + * elf/tst-unique2mod2.c: New file. + +2009-07-07 Ulrich Drepper + + * elf/elf.h (STB_GNU_UNIQUE): Define. + + * elf/dl-misc.c (_dl_higher_prime_number): New function. Moved here + from... + * include/inline-hashtab.h: ...here. + (htab_expand): Adjust for renamed function. Correct memory handling. + +2009-07-06 Ulrich Drepper + + * elf/do-lookup.h (do_lookup_x): Optimize test for valid symbol types. + +2009-07-03 Andreas Schwab + + * sysdeps/powerpc/sysdep.h (PPC_FEATURE_ARCH_2_06): Fix value. + (PPC_FEATURE_HAS_VSX): Likewise. + +2009-07-03 Ulrich Drepper + + * sysdeps/x86_64/multiarch/strcspn-c.c: Minor cleanups. + * sysdeps/x86_64/multiarch/strspn-c.c: Likewise. + + * sysdeps/x86_64/multiarch/strcmp.S: Make sure functions are all + aligned to 16 byte boundaries. + * sysdeps/x86_64/multiarch/strcpy.S: Likewise. + * sysdeps/x86_64/multiarch/strlen.S: Likewise. + * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise. + +2009-07-02 H.J. Lu + + * config.h.in (HAVE_SSE4_SUPPORT): New macro. + * config.make.in (config-cflags-sse4): New variable. + * configure.in: Substitute libc_cv_cc_sse4. + * sysdeps/i386/configure.in: Set libc_cv_cc_sse4 and + HAVE_SSE4_SUPPORT. + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add + strcspn-c, strpbrk-c, strspn-c for string if gcc supports SSE4. + * sysdeps/x86_64/multiarch/strcspn-c.c: New file. + * sysdeps/x86_64/multiarch/strcspn.S: New file. + * sysdeps/x86_64/multiarch/strpbrk-c.c: New file. + * sysdeps/x86_64/multiarch/strpbrk.S: New file. + * sysdeps/x86_64/multiarch/strspn-c.c: New file. + * sysdeps/x86_64/multiarch/strspn.S: New file. + +2009-06-30 H.J. Lu + + * elf/Makefile (distribute): Remove tst-audit.sh. Add + tst-audit2.c, tst-audit3.c, tst-auditmod3a.c, tst-auditmod3b.c. + (tests): Add tst-audit3 for x86_64. + (modules-names): Add tst-auditmod3a, tst-auditmod3b. + ($(objpfx)tst-audit3): Define. + ($(objpfx)tst-audit3.out): Define. + (tst-audit3-ENV): Define. + * elf/tst-audit3.c: New file. + * elf/tst-auditmod3a.c: New file. + * elf/tst-auditmod3b.c: New file. + * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save + and restore xmm6. + + * string/stpncpy.c (STPNCPY): New. Defined if not defined. + (__stpncpy): Renamed to ... + (STPNCPY): This. + (stpncpy): Create alias only if STPNCPY is not defined. + * string/strncpy.c (STRNCPY): New. Defined to strncpy if not + defined. + (strncpy): Renamed to ... + (STRNCPY): This. + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add + stpncpy-c strncpy-c for string. + * sysdeps/x86_64/multiarch/stpcpy.S: New file. + * sysdeps/x86_64/multiarch/stpncpy-c.c: New file. + * sysdeps/x86_64/multiarch/stpncpy.S: New file. + * sysdeps/x86_64/multiarch/strcpy.S: New file. + * sysdeps/x86_64/multiarch/strncpy-c.c: New file. + * sysdeps/x86_64/multiarch/strncpy.S: New file. + +2009-07-02 Ulrich Drepper + + * malloc/malloc.c [ATOMIC_FASTBINS] (_int_free): Add full barrier when + adding to fast bin list. + +2009-07-01 Ulrich Drepper + + * nis/nss_nis/nis-network.c (_nss_nis_getnetbyaddr_r): Don't use + inet_makeaddr. This worked only with class-based networks. + * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r): + Likewise. + + * nss/nss_files/files-network.c (netbyaddr): If type is AF_UNSPEC, + recognize all types. + * nss/getent.c (networks_keys): Pass AF_UNSPEC instead of AF_UNIX + to getnetbyaddr. Fix network parameter to getnetbyaddr. It must + be in host byte order. + +2009-06-26 H.J. Lu + + * sysdeps/x86_64/multiarch/ifunc-defines.sym (FAMILIY_OFFSET): Define. + (MODEL_OFFSET): Define. + * sysdeps/x86_64/multiarch/init-arch.h (cpu_features): Add + family and model. + * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Break + out common code into new function get_common_indeces. Determine + extended family and model for Intel processors. + +2009-06-26 Ulrich Drepper + + * resolv/resolv.h: Define RES_SNGLKUPREOP. + * resolv/res_init.c (res_setoptions): Recognize single-request-reopen + option. + * resolv/res_send.c (reopen): New function. Broken out of... + (send_dg): ... here. Recognize RES_SNGLKUPREOP. Implement second + fallback mechanism. If single-request fails switch to + single-request-reopen mode which opens a new socket for the second + request. + +2009-06-25 Andreas Schwab + + * sysdeps/powerpc/powerpc32/____longjmp_chk.S (LOAD_ARG): Define. + (CHECK_SP): Use it. + +2009-06-24 Andreas Schwab + + * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Fix cfa offset + for saved registers. + * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise. + * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise. + * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise. + +2009-06-23 Andreas Schwab + + * time/tzfile.c (__tzfile_read): Don't use an empty TZ string. + +2009-06-22 Ulrich Drepper + + * po/id.po: Update from translation team. + + * po/bg.po: Update from translation team. + +2009-06-22 H.J. Lu + + * string/strncmp.c (STRNCMP): New. Defined to strncmp if not + defined. + (strncmp): Renamed to STRNCMP. + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add + strncmp-c for string. + * sysdeps/x86_64/multiarch/init-arch.h (HAS_SSE4_2): Define. + * sysdeps/x86_64/multiarch/strcmp.S: New file. + * sysdeps/x86_64/multiarch/strncmp.S: New file. + * sysdeps/x86_64/multiarch/strncmp-c.c: New file. + +2009-06-19 H.J. Lu + + * elf/Makefile (distribute): Add ifuncmain1staticpie.c, + ifuncmain5.c, ifuncmain5pic.c, ifuncmain5picstatic.c, + ifuncmain5pie.c, ifuncmain5static.c, ifuncmain5staticpic.c, + ifuncdep5.c, ifuncdep5pic.c, ifuncmod5.c, ifuncmain7.c, + ifuncmain7pic.c, ifuncmain7picstatic.c, ifuncmain7pie.c, and + ifuncmain7static.c. + (tests-static): Add ifuncmain5static, ifuncmain5picstatic, + ifuncmain7static, and ifuncmain7picstatic. + (tests): Also depend on $(objpfx)ifuncmain1staticpie.out, + $(objpfx)ifuncmain5pie.out, $(objpfx)ifuncmain6pie.out, and + $(objpfx)ifuncmain7pie.out. + (modules-names): Add ifuncmod5 ifuncmod6 + (ifuncmod5.so-no-z-defs): Define. + (ifuncmod6.so-no-z-defs): Define. + (CFLAGS-ifuncmain5pic.c): Define. + (CFLAGS-ifuncmain5picstatic.c): Define. + (CFLAGS-ifuncmain5staticpic.c): Define. + (CFLAGS-ifuncdep5pic.c): Define. + (CFLAGS-ifuncmain7pic.c): Define. + (CFLAGS-ifuncmain7picstatic.c): Define. + (CFLAGS-ifuncmain1staticpie.c): Define. + (CFLAGS-ifuncmain5pie.c): Define. + (CFLAGS-ifuncmain6pie.c): Define. + (CFLAGS-ifuncmain7pie.c): Define. + ($(objpfx)ifuncmain1staticpie.out): Define. + ($(objpfx)ifuncmain1staticpie): Define. + ($(objpfx)ifuncmain5pie.out): Define. + ($(objpfx)ifuncmain5pie): Define. + ($(objpfx)ifuncmain6pie.out): Define. + ($(objpfx)ifuncmain6pie): Define. + ($(objpfx)ifuncmain5): Define. + ($(objpfx)ifuncmain5pic): Define. + ($(objpfx)ifuncmain5static): Define. + ($(objpfx)ifuncmain5staticpic): Define. + ($(objpfx)ifuncmain5picstatic): Define. + (generated): Add ifuncmain1staticpie, ifuncmain1staticpie.out, + ifuncmain5pie, ifuncmain5pie.out, ifuncmain6pie, and + ifuncmain6pie.out. + * elf/b/elf/ifuncmain1staticpie.c: New file. + * elf/ifuncdep5.c: New file. + * elf/ifuncdep5pic.c: New file. + * elf/ifuncmain5.c: New file. + * elf/ifuncmain5pic.c: New file. + * elf/ifuncmain5picstatic.c: New file. + * elf/ifuncmain5pie.c: New file. + * elf/ifuncmain5static.c: New file. + * elf/ifuncmain5staticpic.c: New file. + * elf/ifuncmain6pie.c: New file. + * elf/ifuncmain7.c: New file. + * elf/ifuncmain7pic.c: New file. + * elf/ifuncmain7picstatic.c: New file. + * elf/ifuncmain7pie.c: New file. + * elf/ifuncmain7static.c: New file. + * elf/ifuncmod5.c: New file. + * elf/ifuncmod6.c: New file. + +2009-06-20 Ulrich Drepper + + [BZ #10085] + * nis/nss_compat/compat-initgroups.c (nss_setgrent): New variable. + (nss_endgrent): New variable. + (struct ent_t): Add need_endgrent and skip_initgroups_dyn + fields. Change type of files to bool and adjust all users. + (init_nss_interface): Initialize nss_setgrent and nss_endgrent. + (internal_endgrent): Call nss_endgrent if necessary. + (add_group): New function. Broken out of... + (check_and_add_group): ...here. + (getgrent_next_nss): Remove test that any callback is available. + Use skip_initgroups_dyn to determine whether to use initgroups_dyn + callback. If there is no blacklist we can trust the results returned + by the initgroups_dyn callback. In case there is a callback and we + find a group entry for the group ID but it doesn't contain the + correct member, switch to the slow mode and use getgrent_r. + (internal_getgrent_r): When we see a +: entry, determine whether + there is any callback and which we can use the initgroups_dyn + callback. + +2009-06-18 Ulrich Drepper + + * malloc/malloc.c (_int_malloc): Add some consistency checks. + (_int_free): Likewise. + + * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_IEEE802154 and + AF_IEEE802154. + * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise. + * sysdeps/unix/sysv/linux/net/if_arp.h: Define ARPHRD_IEEE802154 + and ARPHRD_IEEE802154_PHY. + + * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Add missing definitions + relative to generic Linux version. + +2009-06-17 H.J. Lu + + * elf/Makefile ($(objpfx)ifuncmain1pie): Use $(+link-pie). + ($(objpfx)ifuncmain1vispie): Likewise. + +2009-06-16 Ulrich Drepper + + * login/Makefile: Build pt_chown as PIE. + +2009-06-15 Andreas Schwab + + * debug/xtrace.sh (do_help): Don't treat bug reporting message as + a format string. + * elf/sln.c (usage): Likewise. + * malloc/memusage.sh (do_help): Likewise. + * nss/getent.c (more_help): Likewise. + * posix/getconf.c (main): Likewise. + * sunrpc/rpcinfo.c (usage): Likewise. + * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise. + +2009-06-16 Ulrich Drepper + + * login/programs/pt_chown.c: Use libcap to drop privileges other than + those needed. + * login/Makefile: If necessary link pt_chown with -lcap. + * sysdeps/generic/pty-private.h: Define FAIL_ENOMEM. + * sysdeps/unix/grantpt.c: Handle FAIL_ENOMEM. + +2009-06-16 Jakub Jelinek + + * sysdeps/x86_64/memchr.S (memchr): Use unsigned instead of signed + comparisons. + * string/test-memchr.c (do_random_tests): Test very large lengths + as well. + +2009-06-02 H.J. Lu + + * Makeconfig (+link-pie): Define. + (+prectorS): Define. + (+postctorS): Define. + * elf/Makefile ($(objpfx)tst-pie1): Use $(+link-pie). + * nscd/Makefile ($(objpfx)nscd): Likewise. + +2009-04-22 Ryan S. Arnold + + [BZ #10107] + * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Replace cmpldi + with cmplwi. + * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise. + +2009-06-16 Ulrich Drepper + + * sysdeps/unix/sysv/linux/grantpt.c: Remove file after folding changes + into ... + * sysdeps/unix/grantpt.c: ...here. + +2009-06-15 Ulrich Drepper + + * sysdeps/unix/sysv/linux/grantpt.c (grantpt): Only call chown and + chmod if it is necessary. + + [BZ #10166] + * sysdeps/unix/sysv/linux/grantpt.c: Remove shortcut which was used + when the slave device is in devpts or devfs. + + [BZ #10183] + * posix/tst-cpucount.c: Don't try more than CPU_SETSIZE bits. + + [BZ #10195] + * inet/netinet/icmp6.h (struct nd_opt_home_agent_info): Change type + of nd_opt_home_agent_info_preference to uint16_t. + Patch by Arnaud Ebalard . + + [BZ #10207] + * nss/getent.c: Add support for printing gshadow data. + + [BZ #10203] + * nis/nss_nis/nis-pwd.c (internal_nis_endpwent): Free all buffers, + not just the currently used one and those which follow. + Patch by Joe Landers . + + [BZ #10196] + * libio/tst-fgetwc.c (do_test): Use de_DE.UTF-8 as locale name. + * libio/Makefile: Run tst-fgetwc with necessary envvar. + Patch by Bruce Dubbs . + + [BZ #10217] + * stdlib/abort.c: Define variable __abort_msg. + * stdlib/Versions: Export __abort_msg with GLIBC_PRIVATE version. + * include/stdlib.h: Declare __abort_msg. + * assert/assert-perr.c: Don't free buffer for message immediately. + Store atomically in __abort_msg and free old buffer if necessary. + * assert/assert.c: Likewise. + * sysdeps/posix/libc_fatal.c: Allocate buffer for message, copy it, + store pointer in __abort_msg, and possibly free old string. + * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise. + + * time/tzfile.c (__tzfile_read): Correct computation of tzspec_len. + + [BZ #10211] + * time/tzfile.c (__tzfile_compute): If we use the envvar format still + handle leap seconds if they are available. + Patch by Akinori Hattori . + + * timezone/tzselect.ksh: Update from tzcode2009i. + * timezone/zdump.c: Likewise. + * timezone/zic.c: Likewise. + + * timezone/africa: Update from tzdata2009i. + * timezone/antarctica: Likewise. + * timezone/asia: Likewise. + * timezone/australasia: Likewise. + * timezone/backward: Likewise. + * timezone/etcetera: Likewise. + * timezone/europe: Likewise. + * timezone/factory: Likewise. + * timezone/iso3166.tab: Likewise. + * timezone/leapseconds: Likewise. + * timezone/northamerica: Likewise. + * timezone/pacificnew: Likewise. + * timezone/solar87: Likewise. + * timezone/solar88: Likewise. + * timezone/solar89: Likewise. + * timezone/southamerica: Likewise. + * timezone/systemv: Likewise. + * timezone/yearistype: Likewise. + * timezone/zone.tab: Likewise. + +2009-06-15 Jakub Jelinek + + * elf/dl-lookup.c (_dl_debug_bindings): When resolving to + STT_GNU_IFUNC symbol or in 8 into type_class. + + * sysdeps/i386/dl-irel.h (elf_irel): Use Elf32_Addr type + instead of Elf64_Addr. + +2009-06-14 Ulrich Drepper + + * po/sv.po: Update from translation team. + + [BZ #10229] + * misc/sys/select.h (__NFDBITS): Expression should have type int. + * sysdeps/x86_64/bits/select.h: Remove asm versions for __FD_SET, + __FD_CLR, and __FD_ISSET. gcc nowadays generates better code from + the C version. + +2009-06-12 Ulrich Drepper + + * Versions.def: Add GLIBC_2.11 for libpthread. + +2009-06-11 Ulrich Drepper + + * resolv/res_send.c (send_dg): Remember we switched to + single-request mode. + +2009-06-09 Ulrich Drepper + + * dlfcn/dlfcn.h: Remove comma at end of enum. + Patch by J.H.M. Dassen . + + * libio/fileops.c (_IO_new_file_fopen): Don't prematurely stop + parsing mode string. + +2009-06-05 Ulrich Drepper + + * sysdeps/x86_64/rawmemchr.S: Minor optimization. + + * sysdeps/x86_64/multiarch/rawmemchr.S: New file. + + * sysdeps/x86_64/multiarch/strlen.S: New file. + * sysdeps/x86_64/multiarch/ifunc-defines.sym: New file. + * sysdeps/x86_64/multiarch/Makefile: Add rule to build ifunc-defines.h. + * sysdeps/x86_64/multiarch/init-arch.h: Name structure with register + content. + + * csu/elf-init.c: Only compile in IFUNC functionality if USE_MULTIARCH + is defined. + +2009-06-04 Ulrich Drepper + + * sysdeps/x86_64/strlen.S: Minor optimizations. + +2009-06-02 H.J. Lu + + * elf/Makefile (distribute): Add ifuncmain1.c, ifuncmain1pic.c, + ifuncmain1vis.c, ifuncmain1vispic.c, ifuncmain1static.c, + ifuncmain1staticpic.c, ifuncmain1picstatic.c, ifuncdep1.c, + ifuncdep1pic.c, ifuncmod1.c, ifuncmain1pie.c, ifuncmain1vispie.c, + ifuncmain2.c, ifuncmain2static.c, ifuncdep2.c, + funcmain2pic.c, ifuncmain2picstatic.c, ifuncdep2pic.c, + ifuncmain3.c, ifuncmod3.c,. + ifuncmain4.c, ifuncmain4static.c, ifuncmain4picstatic.c. + (tests-static): Add ifuncmain1static, ifuncmain1picstatic, + ifuncmain2static, ifuncmain2picstatic, ifuncmain4static, + ifuncmain4picstatic. + (tests): Add ifuncmain1, ifuncmain1pic, ifuncmain1vis, + ifuncmain1vispic, ifuncmain1staticpic, ifuncmain2, ifuncmain2pic, + ifuncmain3, ifuncmain4. + (tests): Depend on $(objpfx)ifuncmain1pie.out and + $(objpfx)ifuncmain1vispie.out. + (modules-names): Add ifuncmod1 ifuncmod3. + (generated): Add ifuncmain1pie ifuncmain1pie.out + ifuncmain1vispie ifuncmain1vispie.out. + Define rules to build and run the tests. + * elf/ifuncdep1.c: New file. + * elf/ifuncdep1pic.c: New file. + * elf/ifuncdep2.c: New file. + * elf/ifuncdep2pic.c: New file. + * elf/ifuncmain1.c: New file. + * elf/ifuncmain1pic.c: New file. + * elf/ifuncmain1picstatic.c: New file. + * elf/ifuncmain1pie.c: New file. + * elf/ifuncmain1static.c: New file. + * elf/ifuncmain1staticpic.c: New file. + * elf/ifuncmain1vis.c: New file.. + * elf/ifuncmain1vispic.c: New file.. + * elf/ifuncmain1vispie.c: New file. + * elf/ifuncmain2.c: New file. + * elf/ifuncmain2pic.c: New file. + * elf/ifuncmain2picstatic.c: New file. + * elf/ifuncmain2static.c: New file. + * elf/ifuncmain3.c: New file. + * elf/ifuncmain4.c: New file. + * elf/ifuncmain4picstatic.c: New file. + * elf/ifuncmain4static.c: New file. + * elf/ifuncmod1.c: New file. + * elf/ifuncmod3.c: New file. + +2009-06-03 Ulrich Drepper + + * elf/dl-sysdep.c (_dl_show_auxv): Terminate correct string. + +2009-06-02 Ulrich Drepper + + [BZ #10221] + * posix/Makefile (routines): Add execvpe. + * posix/Versions: Export execvpe for GLIBC_2.11. + * posix/execvp.c: Now only a wrapper. Move code to... + * posix/execvpe.c: ...here. New file. + * posix/unistd.h: Declare execvpe. + +2009-06-01 Ulrich Drepper + + * sysdeps/i386/dl-machine.h (elf_machine_rel): Reorder conditions + for STT_GNU_IFUNC handling for efficiency. + * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise. + + * sysdeps/i386/dl-irel.h (elf_irel): Use __libc_fatal instead of just + _exit. + * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise. + +2009-05-31 Ulrich Drepper + + * sysdeps/x86_64/multiarch/sched_cpucount.c: Also use optimized code + for !SHARED. + +2009-05-29 H.J. Lu + + * csu/elf-init.c: Include and if LIBC_NONSHARED + is not defined. + (__rela_iplt_start): New declaration. + (__rela_iplt_end): Likewise. + (__rel_iplt_start): Likewise. + (__rel_iplt_end): Likewise. + (__libc_csu_init): Process __rela_iplt_start and __rel_iplt_start. + * elf/elf.h (R_386_IRELATIVE): New macro. + (R_X86_64_IRELATIVE): New macro. + (R_386_NUM): Updated. + (R_X86_64_NUM): Likewise. + * include/libc-symbols.h (libc_ifunc_hidden_def1): New macro. + (libc_ifunc_hidden_def): New macro. + * sysdeps/generic/dl-irel.h: New file. + * sysdeps/i386/dl-irel.h: New file. + * sysdeps/x86_64/dl-irel.h: New file. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle R_386_IRELATIVE. + (elf_machine_rela): Check SHN_UNDEF for STT_GNU_IFUNC symbol. + Handle R_386_IRELATIVE. + (elf_machine_lazy_rel): Handle R_386_IRELATIVE. + (elf_machine_lazy_rela): Likewise. + * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle + R_X86_64_IRELATIVE. + (elf_machine_lazy_rel): Handle R_X86_64_IRELATIVE. + +2009-05-31 Ulrich Drepper + + * sysdeps/x86_64/multiarch/init-arch.h: Define COMMON_CPUID_INDEX_1 + instead of INTEL_CPUID_INDEX_1 and AMD_CPUID_INDEX_1. So far there + are no differences. If an architecture has bits in CPUID index 1 + meaning different things the values for the COMMON_CPUID_INDEX_1 + index must not be set. + (INTEL_HAS_POPCOUNT, AMD_HAS_POPCOUNT): Removed in favor of... + (HAS_POPCOUNT): ...this. New macro. + * sysdeps/x86_64/multiarch/init-arch.c: Use COMMON_CPUID_INDEX_1 + instead of INTEL_CPUID_INDEX_1 and AMD_CPUID_INDEX_1. Unify code + to set the value for Intel and AMD architectures. + * sysdeps/x86_64/cacheinfo.c: Use COMMON_CPUID_INDEX_1 instead of + INTEL_CPUID_INDEX_1. + * sysdeps/x86_64/multiarch/sched_cpucount.c: Adjust for HAS_POPCOUNT + change. + +2009-05-30 Andreas Schwab + + * configure.in: Move AC_CANONICAL_HOST before first use of $host + and $build. + +2009-05-29 Jakub Jelinek + + * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include . + (__expm1l): Set errno to ERANGE on overflow. + * sysdeps/ieee754/ldbl-128/s_tanl.c: Include . + (__tanl): Set errno to EDOM for ±Inf. + * sysdeps/ieee754/ldbl-128/s_cosl.c: Include . + (__cosl): Set errno to EDOM for ±Inf. + * sysdeps/ieee754/ldbl-128/s_sinl.c: Include . + (__sinl): Set errno to EDOM for ±Inf. + + * sysdeps/s390/s390-32/__longjmp.c (__longjmp): If CHECK_SP is + defined, use it. + * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise. + * sysdeps/s390/s390-32/____longjmp_chk.c: New file. + * sysdeps/s390/s390-64/____longjmp_chk.c: New file. + +2009-05-29 Ulrich Drepper + + * sysdeps/x86_64/cacheinfo.c: Compact intel_02_known array. Adjust + code accessing it. + * sysdeps/unix/sysv/linux/i386/sysconf.c: Likewise. + +2009-05-22 Andreas Schwab + + * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Set errno for ±Inf. + * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Set errno for overflow. + + * sysdeps/powerpc/powerpc32/____longjmp_chk.S: New file. + * sysdeps/powerpc/powerpc64/____longjmp_chk.S: New file. + * sysdeps/powerpc/powerpc32/__longjmp-common.S: Use CHECK_SP if + defined. + * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise. + * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise. + +2009-05-22 Jakub Jelinek + + * sysdeps/unix/sysv/linux/accept4.c: Include kernel-features.h. + (accept4): If __NR_accept4 is not defined, but __NR_socketcall + is, either do nothing at all if __ASSUME_ACCEPT4, or + call __internal_accept4 and handle EINVAL -> ENOSYS translation. + * sysdeps/unix/sysv/linux/internal_accept4.S: New file. + * sysdeps/unix/sysv/linux/i386/accept4.S (SOCKOP_accept4): Don't + define. + * sysdeps/unix/sysv/linux/i386/internal_accept4.S: New file. + * sysdeps/unix/sysv/linux/Makefile (sysdep-routines): Add + internal_accept4 in socket directory. + +2009-05-20 H.J. Lu + + * sysdeps/ia64/configure.in: New file. + +2009-05-21 H.J. Lu + + [BZ #10162] + * sysdeps/ia64/memchr.S: Use speculative load. + + * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S: New file. + * sysdeps/unix/sysv/linux/ia64/__longjmp.S: If CHECK_RSP is defined, + use it. + + * sysdeps/i386/__longjmp.S: Add .text. + * sysdeps/x86_64/__longjmp.S: Likewise. + +2009-05-21 Ulrich Drepper + + * sysdeps/unix/sysv/linux/kernel-features.h: Don't define + __ASSUME_ACCEPT4 for IA-64. + +2009-05-21 Jakub Jelinek + + * sysdeps/unix/sysv/linux/accept4.c (__NR_accept4): Don't define. + + * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_paccept): Remove. + (SOCKOP_accept4): Define. + +2009-05-20 Ulrich Drepper + + * po/da.po: Update from translation team. + +2009-05-18 Kaz Kojima + + * sysdeps/sh/____longjmp_chk.S: New file. + * sysdeps/sh/sh3/__longjmp.S: If CHECK_SP is defined, use it. + * sysdeps/sh/sh4/__longjmp.S: Likewise. + +2009-05-18 Jakub Jelinek + Ulrich Drepper + + * nscd/nscd_helper.c (MINIMUM_HASHENTRY_SIZE): Define. + (__nscd_cache_search): Assume each entry in the + hash chain needs one hashentry and half of datahead. Use + MINIMUM_HASHENTRY_SIZE instead of sizeof(hashentry). + +2009-05-16 Ulrich Drepper + + * posix/sys/wait.h: Fix typos. Pretty printing. + * stdlib/stdlib.h: Likewise. Correct comments. + + [BZ #10159] + * stdlib/stdlib.h (__WAIT_INT): Match the definition in . + + * nscd/nscd_helper.c (__nscd_cache_search): Fix exit condition in last + patch. + +2009-05-15 Ulrich Drepper + + * nscd/nscd_helper.c (__nscd_cache_search): Introduce loop counter. + Use it if we absolutely cannot reach any more correct list elements + because that many do not fit into the currently mapped database. + +2009-05-14 Jakub Jelinek + + * nscd/nscd_helper.c: Include stddef.h. + (__nscd_cache_search): Add datalen argument. Use atomic_forced_read + in a couple of places. Return NULL if trail is not less than + datasize, don't consider dataheads with length smaller than + offsetof (struct datahead, data) + datalen. + * nscd/nscd_client.h (__nscd_cache_search): Adjust prototype. + * nscd/nscd_gethst_r.c (nscd_gethst_r): Adjust callers. + * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise. + * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. + * nscd/nscd_getai.c (__nscd_getai): Likewise. + * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise. + * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise. + + * sysdeps/unix/sysv/linux/i386/fallocate64.c (__fallocate64_l64): + Rename ... + (fallocate64): ... to this. + * sysdeps/unix/sysv/linux/fallocate64.c (__fallocate64_l64): + Rename ... + (fallocate64): ... to this. + * sysdeps/unix/sysv/linux/Versions (libc): Remove fallocate64. + * sysdeps/unix/sysv/linux/wordsize-64/Versions (libc): Add + fallocate64@@GLIBC_2.10. + * sysdeps/unix/sysv/linux/i386/Versions (libc): Add + fallocate64@@GLIBC_2.11. + * sysdeps/unix/sysv/linux/s390/s390-32/Versions (libc): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions (libc): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (libc): Likewise. + * sysdeps/unix/sysv/linux/sh/Versions (libc): Likewise. + + * nscd/selinux.c (nscd_avc_destroy): Removed. + * nscd/selinux.h (nscd_avc_destroy): Likewise. + * nscd/nscd.c (termination_handler): Don't call + nscd_avc_destroy. + +2009-05-12 Jakub Jelinek + + * include/atomic.h: Formatting. + (catomic_compare_and_exchange_val_acq): Don't define if already + defined by bits/atomic.h. + +2009-05-15 Ulrich Drepper + + * math/libm-test.inc (expm1_test): Add test for range error. + + * Versions.def: Add GLIBC_2.11 for libc. + * debug/Makefile (routines): Add longjmp_chk. + Add rules to build and run tst-longjmp_chk. + * debug/Versions: Export __longjmp_chk for GLIBC_2.11. + * debug/longjmp_chk.c: New file. + * debug/tst-longjmp_chk.c: New file. + * include/bits/setjmp2.: New file. + * include/stdio.h: Mark __fortify_fail as internal_function. + * setjmp/Makefile (headers): Add bits/setjmp2.h. + * setjmp/bits/setjmp2.h: New file. + * setjmp/longjmp.c: If __libc_siglongjmp is defined, don't define any + of the aliases. + * setjmp/setjmp.h: Include if _FORTIFY_SOURCE is + defined. + * sysdeps/i386/____longjmp_chk.S: New file. + * sysdeps/x86_64/____longjmp_chk.S: New file. + * sysdeps/i386/__longjmp.S: If CHECK_ESP is defined, use it. + * sysdeps/x86_64/__longjmp.S: Likewise. + + * version.h: Bump for 2.11 development. + + * elf/check-execstack.c: New file. + * elf/Makefile: Add rules to build and run check-execstack. + +2009-05-10 Ulrich Drepper + + * version.h (VERSION): Bump to 2.10.1. + + * nss/getXXbyYY_r.c: If NO_COMPAT_NEEDED is defined don't define any + compatibility functions. + * nss/getXXent_r.c: Likewise. + * gshadow/getsgent_r.c: Define NO_COMPAT_NEEDED. + * gshadow/getsgnam_r.c: Likewise. + * gshadow/Version: Remove duplicate entries. + + * sysdeps/x86_64/cacheinfo.c (intel_02_cache_info): Add missing entries + for recent processor. + * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_cache_info): + Likewise. + +2009-05-09 Ulrich Drepper + + * version.h (VERSION): Bump for 2.10 release. + * include/features.h (__GLIBC_MINOR__): Bump to 10. + + * Makeconfig: Undo last change. Add asflags-cpu to ASFLAGS in the + same place we add ASFLAGS-config. + +2009-05-05 Aurelien Jarno + + [BZ #10128] + * resolv/res_query.c (__libc_res_nquery): If one query returns NOTIMP + or FORMERR and the other NOERROR, don't raise an error. + +2009-05-06 Ryan S. Arnold + + [BZ #10118] + * Makeconfig (+asflags): New variable based upon ASFLAG or + asflags-cpu. + (ASFLAGS): Add override to set ASFLAGS to +asflags. + * config.make.in (asflags-cpu): Add variable based upon + @libc_cv_cc_submachine@ to propagate -mcpu=CPU from --with-cpu=CPU to + the assembler. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/setcontext.S: + Remove unneeded file now that the assembler emits _ARCH_PWR6 and + recognizes power6 instruction set due to passing -mcpu=power6 from + --with-cpu=power6 when compiling .S files. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/swapcontext.S: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/setcontext.S: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/swapcontext.S: + Likewise. + +2009-05-09 Jakub Jelinek + + * string/stratcliff.c (do_test): Test for zero length + STRNLEN, MEMCHR, STRNCPY, STPNCPY, MEMCPY, MEMPCPY and memccpy + at the end of the page. + +2009-05-08 Ulrich Drepper + + * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_AT_RANDOM. + + * sysdeps/x86_64/memchr.S: Handle invalid buffer pointers when + count is zero. + + * po/da.po: Update from translation team. + +2009-05-05 Jakub Jelinek + + * io/sys/stat.h (fstatat64): Guard prototype with __USE_LARGEFILE64, + guard __extern_inline wrapper with __USE_ATFILE instead of __USE_GNU. + +2009-05-05 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sys/personality.h: Add ADDR_COMPAT_LAYOUT + and READ_IMPLIES_EXEC. + +2009-05-04 Ulrich Drepper + + * po/da.po: Update from translation team. + +2009-04-29 Jakub Jelinek + + * sysdeps/unix/sysv/linux/ifaddrs.c: Revert unintended 2008-08-12 + comment change. + +2009-04-27 Jakub Jelinek + + * locale/programs/locarchive.c (create_archive): Add MAP_PRIVATE + to MAP_ANON in PROT_NONE mmap64 call. + (open_archive): Likewise. + (file_data_available_p): Use mmap64 instead of mremap. + (enlarge_archive): Likewise. Update head if ah->addr changed. + Attempt to reserve address space after mmap64 region. + +2009-04-26 Ulrich Drepper + + * sysdeps/ieee754/dbl-64/s_expm1.c: Set errno for overflow. + * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise. + * sysdeps/x86_64/fpu/s_expm1l.S: Likewise. + + * sysdeps/ieee754/k_standard.c (__kernel_standard): Pole errors in + atanh should set ERANGE. + + [BZ #10087] + * elf/dl-runtime.c (_dl_fixup): Use DL_FIXUP_VALUE_ADDR to access + result of lookup to make call to implement STT_GNU_IFUNC. + (_dl_profile_fixup): Likewise. + Patch by H.J. Lu . + + * nscd/connections.c (send_ro_fd): Define temporary variable to avoid + warning. + + * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Remove inline + from definition. + + * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Don't define + label if it is not used. + + * elf/dl-profile.c (_dl_start_profile): Define real-type variant + of gmon_hist_hdr and gmon_hdr structures and use them. + * elf/sprof.c: Likewise. + + * elf/dl-load.c (open_verify): Add temporary variable to avoid + warning. + + * nscd/nscd_helper.c (get_mapping): Avoid casts to avoid warnings. + + * sunrpc/clnt_raw.c (clntraw_private_s): Use union in definition + to avoid cast. + + * inet/rexec.c (rexec_af): Make sa2 a union to avoid warnings. + * inet/rcmd.c (rcmd_af): Make from a union of the various needed types + to avoid warnings. + (iruserok_af): Use ss_family instead of casts. + + * gmon/gmon.c (write_hist): Define real-type variant of + gmon_hist_hdr structure and use it. + (write_gmon): Likewise for gmon_hdr. + + * sysdeps/unix/sysv/linux/readv.c: Avoid declaration of replacement + function if we are not going to define it. + * sysdeps/unix/sysv/linux/writev.c: Likewise. + + * inet/inet6_option.c (option_alloc): Add temporary variable to + avoid warning. + + * libio/strfile.h (struct _IO_streambuf): Use correct type and + name of VTable element. + * libio/iovsprintf.c: Avoid casts to avoid warnings. + * libio/iovsscanf.c: Likewise. + * libio/vasprintf.c: Likewise. + * libio/vsnprintf.c: Likewise. + * stdio-common/isoc99_vsscanf.c: Likewise. + * stdlib/strfmon_l.c: Likewise. + * debug/vasprintf_chk.c: Likewise. + * debug/vsnprintf_chk.c: Likewise. + * debug/vsprintf_chk.c: Likewise. + + * nss/nsswitch.c (__nss_lookup_function): En/Decrypt cached + function pointers. + +2009-04-26 Jakub Jelinek + + * sysdeps/ieee754/dbl-64/s_tan.c (tan): Fix -Wsequence-point warnings. + +2009-04-25 Ulrich Drepper + + * posix/bits/posix1_lim.h: Cleanup namespace a bit. + + * sysdeps/i386/fpu/s_tan.S: Set errno for ±Inf. + * sysdeps/i386/fpu/s_tanf.S: Likewise. + * sysdeps/i386/fpu/s_tanl.S: Likewise. + * sysdeps/ieee754/dbl-64/s_tan.c: Likewise. + * sysdeps/ieee754/flt-32/s_tanf.c: Likewise. + * sysdeps/x86_64/fpu/s_tanl.S: Likewise. + * math/libm-test.inc: Add tests for errno after tan calls with + ±Inf. + + * sysdeps/ieee754/k_standard.c (__kernel_standard): Use correct + errno value vor pow(+-0,neg). + * math/libm-test.inc (pow_test): Add tests for errno value for + pole errors. + + * math/w_fmod.c: Also handle x=±Inf as error. + * math/w_fmodf.c: Likewise. + * math/w_fmodl.c: Likewise. + * math/libm-test.inc (fmod_test): Add tests for errno after calls for + x=±Inf or y=0. + + * sysdeps/i386/fpu/s_cos.S: Set errno for ±Inf. + * sysdeps/i386/fpu/s_cosf.S: Likewise. + * sysdeps/i386/fpu/s_cosl.S: Likewise. + * sysdeps/i386/fpu/s_sin.S: Likewise. + * sysdeps/i386/fpu/s_sinf.S: Likewise. + * sysdeps/i386/fpu/s_sinl.S: Likewise. + * sysdeps/ieee754/dbl-64/s_sin.c: Likewise. + * sysdeps/ieee754/flt-32/s_cosf.c: Likewise. + * sysdeps/ieee754/flt-32/s_sinf.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise. + * sysdeps/x86_64/fpu/s_cosl.S: Likewise. + * sysdeps/x86_64/fpu/s_sinl.S: Likewise. + * math/libm-test.inc: Add tests for errno after sin/cos calls with + ±Inf. + + * stdlib/strtod_l.c (round_and_return): We have to set errno to + ERANGE for underflows. + * stdlib/tst-strtod.c (tests): Two tests should set errno to ERANGE. + + * stdio-common/stdio_lim.h.in (L_cuserid): Not part of POSIX since + the 2001 revision. + + * libio/tst-widetext.input: Remove surrogates. + + * include/features.h: _POSIX_C_SOURCE >= 200112L implies C99. + + * sysdeps/ieee754/k_standard.c (__kernel_standard): Pole errors + for lgamma should set errno to ERANGE, not EDOM. + * math/libm-test.inc (lgamma_test): Check errno for pole errors. + +2009-04-24 Ulrich Drepper + + [BZ #10093] + * iconv/gconv_simple.c (BODY for UTF-8 to INTERNAL): Don't accept + UTF-16 surrogates. + + * locale/programs/locarchive.c (enlarge_archive): Conserve address + space when temporarily mapping the whole content of the old file. + + [BZ #10100] + * misc/hsearch_r.c (hsearch_r): Add back ensurance that hval is + not zero. + +2009-04-24 Jakub Jelinek + + * iconvdata/sjis.c (BODY): Don't advance inptr before + STANDARD_FROM_LOOP_ERR_HANDLER (2) for 2 byte invalid input. + Use STANDARD_FROM_LOOP_ERR_HANDLER with 2 instead of 1 for + two byte chars. + +2009-04-24 Ulrich Drepper + + * locale/locarchive.h (struct locarhandle): Rename len field to + mmaped and add new reserved field. + * locale/programs/locarchive.c (RESERVE_MMAP_SIZE): Define. + (create_archive): Reserve address space and then map file into it. + (open_archive): Likewise. + (file_data_available_p): New function. + (compare_from_file): New function. + (close_archive): Adjust to member name changes. + (add_locale): Before comparing locale data, check it is mapped. + Otherwise fall back to reading from the file. + +2009-04-23 H.J. Lu + + * stdio-common/psiginfo.c: Include . + +2009-04-23 Ulrich Drepper + + [BZ #9920] + * stdlib/random_r.c (__srandom_r): Change type of word to int32_t + to get consistency between 32 and 64 bit architectures. + + [BZ #10052] + * sysdeps/unix/make-syscalls.sh: Add rule to create target + directory for dummy syscall rules. + Patch by Chris Steinbroner . + +2009-04-23 Aurelien Jarno + + [BZ #10092] + * sysdeps/unix/sysv/linux/sys/mount.h: Define MNT_DETACH and + MNT_EXPIRE. + +2009-04-23 Ulrich Drepper + + * sysdeps/unix/sysv/linux/preadv.c: The kernel API changed. Adjust. + * sysdeps/unix/sysv/linux/pwritev.c: Likewise. + +2009-04-23 Jakub Jelinek + + * sysdeps/posix/pwritev.c (PWRITEV): Fix up comment. Copy + data from vector to temporary buffer and call PWRITEV after it + instead of vice versa. + * sysdeps/posix/preadv.c: Fix up comment. + * misc/preadv.c: Likewise. + * misc/preadv64.c: Likewise. + * misc/pwritev.c: Likewise. + * misc/pwritev64.c: Likewise. + * misc/sys/uio.h (preadv, pwritev, preadv64, pwritev64): Likewise. + +2009-04-23 Ulrich Drepper + + * shadow/sgetspent_r.c (__sgetspent_r): Recognize too small buffers. + + * shadow/Makefile (tests): Add tst-shadow. + * shadow/tst-shadow.c: New file. + + [BZ #9955] + * gshadow/Makefile: New file. + * gshadow/Versions: New file. + * gshadow/fgetsgent.c: New file. + * gshadow/fgetsgent_r.c: New file. + * gshadow/getsgent.c: New file. + * gshadow/getsgent_r.c: New file. + * gshadow/getsgnam.c: New file. + * gshadow/getsgnam_r.c: New file. + * gshadow/gshadow.h: New file. + * gshadow/putsgent.c: New file. + * gshadow/sgetsgent.c: New file. + * gshadow/sgetsgent_r.c: New file. + * gshadow/tst-gshadow.c: New file. + * include/gshadow.h: New file. + * Makeconfig (all-subdirs): Add gshadow. + * Makefile (installed-headers): Add gshadow/gshadow.h. + * nss/Makefile (databases): Add sgrp. + * nss/Versions: Add gshadow functions as private exports. + * nss/nsswitch.conf: Add gshadow entry. + * nss/sgrp-lookup.c: New file. + * nss/nss_files/files-parse.c: Add STRING_LIST macro. Rewrite + parse_list to handle STRING_LIST and TRAILING_LIST_PARSER. + * nss/nss_files/files-sgrp.c: New file. + * sysdeps/generic/paths.h: Add _PATH_GSHADOW. + * sysdeps/unix/sysv/linux/paths.h: Likewise. + +2009-04-22 Ulrich Drepper + + * stdio-common/printf.h: Add missing const to register_printf_modifier. + * stdio-common/reg-modifier.c: Likewise. + +2009-04-22 Andrew Stubbs + + * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Adjust JB_SIZE when there + is no FPU. + +2009-04-20 Ulrich Drepper + + [BZ #10086] + * sysdeps/unix/sysv/linux/sys/timex.h: Add definitions from kernel + headers up to 2.6.30. + + * po/ca.po: Update from translation team. + +2009-04-19 Ulrich Drepper + + [BZ #10069] + * elf/dl-open.c (dl_open_worker): We cannot guarantee that we can load + an object that uses static TLS if the TLS modid is higher than the + reserve we always allocate. At least for multi-threaded code. + +2009-04-18 Ulrich Drepper + + * stdlib/strfmon_l.c (__vstrfmon_l): Don't wrap when computing width. + Numerically stable check for valid width. + + * locale/programs/locarchive.c (open_archive): Map the entire file + and not just the administrative data. + (add_locale): When we find a hash sum match compare the content + to be sure. + + * malloc/malloc.c (malloc_info): Output address space information. + +2009-04-17 Ulrich Drepper + + * malloc/malloc.c (malloc_info): Also output system memory information. + + * sysdeps/unix/sysv/linux/kernel-features.h: All supported + architectures have preadv/pwritev in 2.6.30. + + * sysdeps/posix/preadv.c: Reading of zero bytes is no error. + * sysdeps/posix/readv.c: Likewise. + Reported by Markus Armbruster . + + * malloc/hooks.c (top_check): Force hook value into register. + +2009-04-16 Samuel Thibault + + * elf/rtld.c (dl_main): Really call _dl_sysdep_start_cleanup after all + calls to _dl_relocate_object. + +2009-04-16 Ulrich Drepper + + [BZ #9957] + * malloc/malloc.c (force_reg): Define. + (sYSMALLOc): Load hook variable into variable + before test and force into register. + (sYSTRIm): Likewise. + (public_mALLOc): Force hook value into register. + (public_fREe): Likewise. + (public_rEALLOc): Likewise. + (public_mEMALIGn): Likewise. + (public_vALLOc): Likewise. + (public_pVALLOc): Likewise. + (public_cALLOc): Likewise. + (__posix_memalign): Likewise. + * malloc/arena.c (ptmalloc_init): Load hook variable into variable + before test and force into register. + * malloc/hooks.c (top_check): Likewise. + (public_sET_STATe): Pretty printing. + + * resolv/res_send.c (send_dg): Don't just ignore the result we got + in case we only receive one reply in single-request mode. + +2009-04-16 Jakub Jelinek + + * elf/dl-open.c (_dl_open): Bump GL(dl_nns) to 1 if no libraries + are dlopened in statically linked program even for __LM_ID_CALLER. + +2009-04-16 Ulrich Drepper + + * resolv/res_send.c (send_dg): Don't switch into single-request + mode if we already are in it. + +2009-04-15 Ulrich Drepper + + * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Make sure there + are always at least 4 bytes in the returned line. + +2009-04-15 Jakub Jelinek + + * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Check + __libc_use_alloca (8192), if the stack is too small use 512 bytes + instead of 8K. Stop searching in /proc/stat after hitting first + line not starting with cpu. + (next_line): Truncate too long + lines at buffer size * 3/4 instead of pretending there were line + breaks inside of large lines. + +2009-04-14 Ulrich Drepper + + * sysdeps/x86_64/mp_clz_tab.c: New file. + +2009-03-17 Ryan S. Arnold + Ulrich Drepper + + * sysdeps/unix/sysv/linux/fallocate.c: Handle old kernel headers. + * sysdeps/unix/sysv/linux/fallocate64.c: Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise. + +2009-03-25 Andrew Stubbs + + * sysdeps/sh/libc-tls.c: New file. + + * sysdeps/sh/bits/setjmp.h (__jmp_buf): Give name to structure type. + +2009-04-14 Roland McGrath + + * elf/elf.h: Add various missing ARM constants, to match binutils. + +2009-04-14 Ulrich Drepper + + Optimizations from GMP. + * sysdeps/x86_64/add_n.S: New file. + * sysdeps/x86_64/addmul_1.S: New file. + * sysdeps/x86_64/lshift.S: New file. + * sysdeps/x86_64/mul_1.S: New file. + * sysdeps/x86_64/rshift.S: New file. + * sysdeps/x86_64/sub_n.S: New file. + * sysdeps/x86_64/submul_1.S: New file. + +2009-04-14 Jakub Jelinek + + * sysdeps/powerpc/powerpc32/elf/start.S: Ensure .data is non-empty. + * sysdeps/powerpc/powerpc64/elf/start.S: Likewise. + * sysdeps/sparc/sparc32/elf/start.S: Likewise. + * sysdeps/sparc/sparc64/elf/start.S: Likewise. + +2009-04-14 Ulrich Drepper + + * sysdeps/unix/sysv/linux/kernel-features.h: SH also has + preadv/pwritev. + +2009-04-13 Ulrich Drepper + + * sysdeps/x86-64/strrchr.S: New file. + +2009-04-10 Ulrich Drepper + + * stdio-common/printf.h (struct printf_info): Add user element. + New types printf_arginfo_size_function, printf_va_arg_function. + Declare register_printf_specifier, register_printf_modifier, + register_printf_type. + * stdio-common/printf-parse.h (struct printf_spec): Add size element. + (union printf_arg): Add pa_user element. + Adjust __printf_arginfo_table type. + Add __printf_va_arg_table, __printf_modifier_table, + __handle_registered_modifier_mb, and __handle_registered_modifier_wc + declarations. + * stdio-common/printf-parsemb.c: Recognize registered modifiers. + If registered arginfo call failed try normal specifier. + * stdio-common/printf-prs.c: Pass additional parameter to arginfo + function. + * stdio-common/Makefile (routines): Add reg-modifier and reg-type. + * stdio-common/Versions: Export register_printf_modifier, + register_printf_type, and register_printf_specifier for GLIBC_2.10. + * stdio-common/reg-modifier.c: New file. + * stdio-common/reg-type.c: New file. + * stdio-common/reg-printf.c (__register_printf_specifier): New + function. Mostly the old __register_printf_function function but + uses locking and type of third parameter changed. + (__register_printf_function): Implement using + __register_printf_specifier. + * stdio-common/vfprintf.c (vfprintf): Collect argument sizes in + calls to arginfo functions. Allocate enough memory for user-defined + types. Call new va_arg functions to get user-defined types. + Try installed handlers even for existing format specifiers first. + +2009-04-09 Ulrich Drepper + + * sysdeps/x86_64/rawmemchr.S: New file. + + * stdio-common/vfprintf.c (vfprintf): Slightly more compact code. + Simplified code and possible copy problem fixed. + + * sysdeps/unix/sysv/linux/preadv.c: Avoid prototype for static + function if it is not defined. Add some necessary casts. + * sysdeps/unix/sysv/linux/pwritev.c: Likewise. + + * sysdeps/unix/sysv/linux/kernel-features.h: SPARC and IA64 also + have preadv/pwritev in 2.6.30. + +2009-04-08 Ulrich Drepper + + * malloc/malloc.c (malloc_info): New function. + * malloc/malloc.h: Declare it. + * malloc/Versions: Export malloc_info for GLIBC_2.10. + + * sysdeps/unix/sysv/linux/preadv64.c (PREAD): Use __libc_pread64 + to avoid PLT slot. + + * malloc/malloc.c (_int_realloc): Add parameter with old block + size. Remove duplicated test. Don't handle mmap'ed blocks here. + Adjust all callers. + * malloc/hooks.c (realloc_check): Adjust _int_realloc call. + +2009-04-07 Ulrich Drepper + + * sysdeps/x86_64/strchrnul.S: New file. + + * crypt/Makefile (LDLIBS-crypt.so): Use this variable instead of + depending libcrypt on -lfreebl3. + + * sysdeps/unix/sysv/linux/kernel-features.h: Power also has + preadv/pwritev in 2.6.30. + + * resolv/nss_dns/dns-host.c (getanswer_r): Use strcasecmp + instead of __strcasecmp. + + * string/stratcliff.c (do_test): Add memchr tests.. + * wcsmbs/wcsatcliff.c (MEMCHR): Define. + * sysdeps/x86_64/memchr.S: Fix handling of end of buffer after + first read quad word. + +2009-04-06 Ulrich Drepper + + * string/strverscmp.c (__strverscmp): Fix last cleanups. + * string/tst-svc.input: Add new test case. + * string/tst-svc.expect: Adjust. + * string/Makefile: Don't ignore tst-svc error. + + * sysdeps/x86_64/memchr.S: New file. + + * resolv/resolv.h (RES_SNGLKUP): Define. + * resolv/res_init.c (res_setoptions): Recognize single-request option. + * resolv/res_send.c (send_dg): If we sent two requests at once and + only get one reply before timeout switch to mode where we send the + second request only after the first answer has been received. + +2009-04-05 Ulrich Drepper + + * sysdeps/x86_64/strlen.S: Optimize by using SSE2 instructions. + * sysdeps/x86_64/strchr.S: Likewise. + +2009-04-03 Ulrich Drepper + + * configure.in: We need to test for the compiler earlier. + + * misc/Makefile (routines): Add preadv, preadv64, pwritev, pwritev64. + * misc/Versions: Export preadv, preadv64, pwritev, pwritev64 for + GLIBC_2.10. + * misc/sys/uio.h: Declare preadv, preadv64, pwritev, pwritev64. + * sysdeps/unix/sysv/linux/kernel-features.h: Add entries for preadv + and pwritev. + * misc/preadv.c: New file. + * misc/preadv64.c: New file. + * misc/pwritev.c: New file. + * misc/pwritev64.c: New file. + * sysdeps/posx/preadv.c: New file. + * sysdeps/posx/preadv64.c: New file. + * sysdeps/posx/pwritev.c: New file. + * sysdeps/posx/pwritev64.c: New file. + * sysdeps/unix/sysv/linux/preadv.c: New file. + * sysdeps/unix/sysv/linux/preadv64.c: New file. + * sysdeps/unix/sysv/linux/pwritev.c: New file. + * sysdeps/unix/sysv/linux/pwritev64.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/preadv64.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.c: New file. + + * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Fix calling of + compatibility code. + * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise. + + * sysdeps/unix/sysv/linux/kernel-features.h: Define + __ASSUME_COMPLETE_READV_WRITEV. + * sysdeps/unix/sysv/linux/readv.c: No need for userlevel fallback + with modern kernels. + * sysdeps/unix/sysv/linux/writev.c: Likewise. + + * sysdeps/posix/readv.c: Since read is a cancellation point we have + to free a possible malloced buffer in case of cancellation. + * sysdeps/posix/writev.c: Likewise for write. + +2009-04-02 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/socket.h: Add missing protocol numbers. + + * configure.in: Recognize --enable-nss-crypt. + * config.make.in: Add nss-crypt entry. + * crypt/Makefile: If nss-crypt==yes, don't build md5.c, sha256.c, + sha512.c. Don't run md5test, sha256test, sha512test. Pass -DUSE_NSS + and include path for NSS directory to compiler for md5-crypt, + sha256-crypt, sha512-crypt. Link libcrypt.so with -lfreebl3. + * crypt/md5-crypt.c: If USE_NSS is defined, don't use local hash + function implementation, use NSS. Introduce wrappers around the + hash function calls. Little code size optimization. + * crypt/sha256-crypt.c: Likewise. + * crypt/sha512-crypt.c: Likewise. + * scripts/check-local-headers.sh: Ignore nss3 directory. + + * configure.in: Rename pic_default to libc_cv_pic_default. + * config.make.in: Likewise. + +2009-04-01 Roland McGrath + + * elf/elf.h (R_SPARC_GLOB_JMP): New macro. + (R_SPARC_GOTDATA_HIX22, R_SPARC_GOTDATA_LOX10): New macros. + (R_SPARC_GOTDATA_OP_HIX22, R_SPARC_GOTDATA_OP_LOX10): Likewise. + (R_SPARC_GOTDATA_OP, R_SPARC_H34): Likewise. + (R_SPARC_SIZE32, R_SPARC_SIZE64): Likewise. + (R_SPARC_GNU_VTINHERIT, R_SPARC_GNU_VTENTRY, R_SPARC_REV32): Likewise. + (R_SPARC_NUM): Update. + From Dave Miller . + +2009-04-01 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sys/eventfd.h (EFD_SEMAPHORE): Define. + +2009-03-31 Ulrich Drepper + + * elf/dl-open.c: Keep track of used name spaces and only iterate over + those which are used. + * elf/dl-addr.c: Likewise. + * elf/dl-caller.c: Likewise. + * elf/dl-fini.c: Likewise. + * elf/dl-iteratephdr.c: Likewise. + * elf/dl-libc.c: Likewise. + * elf/dl-load.c: Likewise. + * elf/dl-support.c: Likewise. + * elf/dl-sym.c: Likewise. + * elf/rtld.c: Likewise. + * sysdeps/generic/ldsodefs.h: Likewise. + + * elf/dl-load.c: Remove support for systems without MAP_ANON. + * elf/dl-minimal.c: Likewise. + * elf/dl-misc.c: Likewise. + * elf/rtld.c: Likewise. + * sysdeps/generic/ldsodefs.h: Likewise. + +2009-03-30 Ulrich Drepper + + * elf/do-lookup.h (do_lookup_x): Minor optimization and cleanup. + Avoid reuse of complex expression. + + * po/fr.po: Update from translation team. + +2009-03-16 Ulrich Drepper + + * include/dirent.h: Yet more changes to match sort function type + change. + * sysdeps/unix/sysv/linux/i386/alphasort64.c: Likewise. + * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise. + * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise. + +2009-03-16 Thomas Schwinge + + * dirent/scandir64.c (scandir64): Adjust declaration to type change. + +2009-03-16 Ulrich Drepper + + * nscd/connections.c (restart): Try to preserve the process name + by reading the /proc/self/exe symlink and using the return name. + Patch by Jeff Bastian . + +2009-03-15 Ulrich Drepper + + [BZ #9733] + * elf/dl-load.c (_dl_map_object_from_fd): Only call audit hooks + if we are not loading a new audit library. + * elf/dl-reloc (_dl_relocate_object): Third parameter is now a bitmask. + Only use profiling trampoline for auditing if we are not relocating + an audit library. + * elf/dl-open.c (dl_open_worker): Adjust _dl_relocate_object call. + * elf/rtld.c: Likewise. + * sysdeps/generic/ldsodefs.h: Adjust _dl_relocate_object prototype. + + * elf/rtld.c (dl_main): Extend help message for --audit option. + + [BZ #9759] + * dirent/dirent.h: Adjust prototypes of scandir, scandir64, alphasort, + alphasort64, versionsort, and versionsort64 to POSIX 2008. + * dirent/alphasort.c: Adjust implementation to type change. + * dirent/alphasort64.c: Likewise. + * dirent/scandir.c: Likewise. + * dirent/versionsort.c: Likewise. + * dirent/versionsort64.c: Likewise. + * sysdeps/wordsize-64/alphasort.c: Add hack to hide alphasort64 + declaration. + * sysdeps/wordsize-64/versionsort.c: Add hack to hide versionsort64 + declaration. + + [BZ #9880] + * inet/inet6_rth.c (inet6_rth_reverse): Compute number of segments + correctly. Set segleft member in output as required. + Patch partly by Yang Hongyang . + * inet/tst-inet6_rth.c (do_test): Add tests for inet6_rth_reverse. + + [BZ #9881] + * inet/inet6_rth.c (inet6_rth_add): Add some error checking. + Patch mostly by Yang Hongyang . + * inet/Makefile (tests): Add tst-inet6_rth. + * inet/tst-inet6_rth.c: New file. + + [BZ #5807] + * string/strlen.c (strlen): Fix omission in the expression to test + for NUL bytes. + +2009-03-14 Ulrich Drepper + + * crypt/sha256test.c (main): Perform 100,000 'a' test in a second way. + + * elf/dl-runtime.c (reloc_offset): Define. + (reloc_index): Define. + (_dl_fixup): Rename reloc_offset parameter to reloc_arg. + (_dl_fixup_profile): Likewise. Use reloc_index instead of + computing index from reloc_offset. + (_dl_call_pltexit): Likewise. + * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Just pass + the relocation index to _dl_fixup. + (_dl_runtime_profile): Likewise for _dl_fixup_profile and + _dl_call_pltexit. + * sysdeps/x86_64/dl-runtime.c: New file. + + [BZ #9893] + * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix + alignment of La_x86_64_regs. Store xmm parameters. + Patch mostly by Jiri Olsa . + + [BZ #9913] + * string/strverscmp.c (__strverscmp): Fix case of different digits + in fractional part of string. + Patch by Jingyu Liu . + * string/Makefile (tests): Add tst-svc2. + * string/tst-svc2.c: New file. + + * string/strverscmp.c (__strverscmp): Optimize size of tables. + + * locale/iso-639.def: Add Min Nan. + +2009-03-11 Carlos Eduardo Seo + + [BZ #9948] + * elf/dl-sysdep.c (_dl_show_auxv): Add support for AT_BASE_PLATFORM. + +2009-03-14 Ulrich Drepper + + * elf/dl-sysdep.c (auxvars): Compress data structure. + + * sysdeps/i386/dl-machine.h (elf_machine_rel): Implement + STT_GNU_IFUNC handling. + (elf_machine_rela): Likewise. + +2009-03-13 Ulrich Drepper + + * config.h.in (USE_MULTIARCH): Define. + * configure.in: Handle --enable-multi-arch. + * elf/dl-runtime.c (_dl_fixup): Handle STT_GNU_IFUNC. + (_dl_fixup_profile): Likewise. + * elf/do-lookup.c (dl_lookup_x): Likewise. + * sysdeps/x86_64/dl-machine.h: Handle STT_GNU_IFUNC. + * elf/elf.h (STT_GNU_IFUNC): Define. + * include/libc-symbols.h (libc_ifunc): Define. + * sysdeps/x86_64/cacheinfo.c: If USE_MULTIARCH is defined, use the + framework in init-arch.h to get CPUID values. + * sysdeps/x86_64/multiarch/Makefile: New file. + * sysdeps/x86_64/multiarch/init-arch.c: New file. + * sysdeps/x86_64/multiarch/init-arch.h: New file. + * sysdeps/x86_64/multiarch/sched_cpucount.c: New file. + + * config.make.in (experimental-malloc): Define. + * configure.in: Handle --enable-experimental-malloc. + * malloc/Makefile: Handle experimental-malloc flag. + * malloc/malloc.c: Implement PER_THREAD and ATOMIC_FASTBINS features. + * malloc/arena.c: Likewise. + * malloc/hooks.c: Likewise. + * malloc/malloc.h: Define M_ARENA_TEST and M_ARENA_MAX. + +2009-03-11 Ulrich Drepper + + * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Add branch + prediction. A few size optimizations. + +2009-03-10 Ulrich Drepper + + * time/tzset.c: Optimize a bit for size. + +2009-03-10 Jakub Jelinek + + * include/stdio.h (fmemopen): Add libc_hidden_proto. + * libio/fmemopen.c (fmemopen): Add libc_hidden_def. + + * elf/sprof.c: Avoid warning about multi-line comment. + +2009-03-10 Ulrich Drepper + + * time/tzset.c (__tzset_parse_tz): Use correct string when parsing + DST name. + * time/tst-posixtz.c: Add tests for quoted timezone names. + +2009-03-10 Jakub Jelinek + + * posix/unistd.h (_POSIX_VERSION, _POSIX2_VERSION, _POSIX2_C_BIND, + _POSIX2_C_DEV, _POSIX2_SW_DEV, _POSIX2_LOCALEDEF): Define to + 200809L instead of 200112L. + (_XOPEN_VERSION): For __USE_XOPEN2K8 define to 700. + * posix/tst-sysconf.c (STDVER): Define to 200809L instead of 200112L. + + * stdlib/quick_exit.c (quick_exit): Pass &__quick_exit_funcs + instead of __quick_exit_funcs to __run_exit_handlers. + * stdlib/at_quick_exit.c (at_quick_exit): Add attribute_hidden. + * stdlib/exit.h (__run_exit_handlers): Add noreturn attribute. + (__cxa_at_quick_exit): Remove attribute_hidden. + * stdlib/exit.c (exit): Pass &__exit_funcs instead of __exit_funcs + to __run_exit_handlers. + * stdlib/cxa_at_quick_exit.c (__cxa_at_quick_exit): Remove + attribute_hidden. + +2009-03-10 Ulrich Drepper + + * po/id.po: Update from translation team. + +2009-02-18 Jakub Jelinek + + * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Use + .machine push; .machine "power6" and .machine pop around mtfsf + insns outside of _ARCH_PWR6 define. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: + Likewise. + * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_SET_DI_FPSCR): Likewise. + * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_register, + relax_fenv_state): Likewise. + +2009-03-08 Ulrich Drepper + + * stdlib/Makefile (routines): Add quick_exit, at_quick_exit, and + cxa_at_quick_exit. + (static-only-routines): Add at_quick_exit. + * stdlib/Versions: Export quick_exit and __cxa_at_quick_exit for + GLIBC_2.10. + * stdlib/quick_exit.c: New file. + * stdlib/at_quick_exit.c: New file. + * stdlib/cxa_at_quick_exit.c: New file. + * stdlib/cxa_atexit.c (__cxa_atexit): Move body to new function. Call + it appropriately. + (__internal_atexit): New function. + (__new_exitfn): Now takes parameter to point to the list to use. + * stdlib/cxa_finalize.c: Remove quick_exit handlers, don't call them. + * stdlib/exit.c (__run_exit_handlers): New function. Split from... + (exit): ...here. Just call __run_exit_handlers appropriately. + * stdlib/exit.h: Declare __quick_exit_funcs, __run_exit_handlers, + __internal_atexit, __cxa_at_quick_exit. Adjust __new_exitfn. + * stdlib/on_exit.c: Adjust call to __new_exitfn. + * stdlib/stdlib.h: Declare at_quick_exit and quick_exit. + + * po/id.po: Update from translation team. + +2009-03-07 Ulrich Drepper + + * po/ru.po: Update from translation team. + +2009-03-04 Ulrich Drepper + + * po/nl.po: Update from translation team. + +2009-03-03 Ulrich Drepper + + * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Declare fallocate{,64}. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. + + * po/pl.po: Update from translation team. + +2009-03-02 Ulrich Drepper + + [BZ #7083] + * sysdeps/unix/sysv/linux/fallocate.c: New file. + * sysdeps/unix/sysv/linux/fallocate64.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: New file. + * sysdeps/unix/sysv/linux/i386/fallocate64.c: New file. + * sysdeps/unix/sysv/linux/i386/fallocate.c: New file. + * sysdeps/unix/sysv/linux/Versions: Export fallocate and fallocate64 + for GLIBC_2.10. + * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): + Add fallocate and fallocate64. + + * io/fcntl.h: Pretty printing. + +2009-03-02 Richard Guenther + + * misc/sys/cdefs.h (__extern_always_inline): Add __artificial__ + attribute also for non-C99 inline semantics variant. + +2009-02-12 Carlos Eduardo Seo + + * sysdeps/powerpc/powerpc32/power7/fpu/Implies: New file. + * sysdeps/powerpc/powerpc32/power7/Implies: Likewise. + * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise. + * sysdeps/powerpc/powerpc64/power7/Implies: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: + Likewise. + +2009-03-02 Ulrich Drepper + + * po/cs.po: Update from translation team. + +2009-02-28 Ulrich Drepper + + * po/bg.po: Update from translation team. + * po/sv.po: Likewise. + * po/fi.po: Likewise. + * po/vi.po: Likewise. + +2009-02-27 Roland McGrath + + * Makeconfig (%.v.i): Depend on Makeconfig. + Exclude % lines from initial #-comment removal. + +2009-02-27 Ulrich Drepper + + * po/ko.po: Update from translation team. + +2009-02-26 Roland McGrath + + * shadow/lckpwdf.c (__lckpwdf): Move FLAGS inside block using it, + avoids unused warning. + +2009-02-26 Andrew Stubbs + SUGIOKA Toshinobu + + * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Don't include signal.h, + sys/ucontext.h and asm/elf.h. Include sys/user.h. + * sysdeps/unix/sysv/linux/sh/sys/user.h: Don't include features.h + and asm/user.h. Include asm/ptrace.h. + (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, + PTRACE_SETFPREGS, PTRACE_GETFDPIC, PTRACE_GETFDPIC_EXEC, + PTRACE_GETFDPIC_INTERP, PTRACE_GETDSPREGS, PTRACE_SETDSPREGS): + Undefine. + (start_thread): Don't undefine. + (elf_greg_t, ELF_NGREG, elf_fpregset_t, user_fpu_struct, user): + Define. + +2009-02-26 Ulrich Drepper + + * wctype/wctype.h: The *_l functions are in POSIX 2008. + * wcsmbs/wchar.h: mbsnrtowcs, open_wmemstream, wcpcpy, wcpncpy, + wcscasecmp, wcsdup, wcsncasecmp, wcsnlen, wcsnrtombs, + wcscasecmp_l, wcsncasecmp_l, wcscoll_l, and wcsxfrm_l. + * sysdeps/mach/hurd/bits/posix_opt.h: Reset value of macros from + 200112L to 200809L. + * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise. + * posix/getconf.c (vars): Add _SC_THREAD_ROBUST_PRIO_INHERIT and + _SC_THREAD_ROBUST_PRIO_PROTECT entries. + * bits/confname.h: Add _SC_THREAD_ROBUST_PRIO_INHERIT and + _SC_THREAD_ROBUST_PRIO_PROTECT. + * posix/unistd.h: fexecve is in POSIX 2008. + * time/time.h: strftime_l is in POSIX 2008. + * io/sys/stat.h: futimens is in POSIX 2008. + * string/strings.h: strcasecmp_l and strncasecmp_l are in POSIX 2008. + * string/string.h: stpcpy, stpncpy, strndup, strnlen, strsignal, + strcoll_l, strerror_l, and strxfrm_l are in POSIX 2008. + * stdlib/stdlib.h: mkdtemp is in POSIX 2008. + * libio/stdio.h: dprintf, fmemopen, getdelim, getline, + open_memstream, and vdprintf are in POSIX 2008. + +2009-02-25 Ulrich Drepper + + * include/features.h: Define macros for XPG7/POSIX 2008. + * ctype/ctype.h: The *_l functions are in POSIX 2008. + * dirent/dirent.h: alphasort, dirfd, scandir, and fdopendir are in + POSIX 2008. + * locale/langinfo.h: nl_langinfo_l is in POSIX 2008. + * locale/xlocale.h: Define locale_t type. + * locale/locale.h: duplocale, freelocale, newlocale, uselocale are + in POSIX 2008. Don't define locale_t here. + * stdlib/monetary.h: strfmon_l is in POSIX 2008. + * sysdeps/unix/sysv/linux/bits/stat.h: Protect UTIME_NOW and + UTIME_OMIT only with __USE_ATFILE. + * signal/signal.h: Declare psignal and psiginfo for POSIX 2008. + * stdio-common/psiginfo.c: New file. + * stdio-common/psiginfo-data.h: New file. + * stdio-common/psiginfo-define.h: New file. + * stdio-common/Makefile (routines): Add psiginfo. + * stdio-common/Versions: Export psiginfo for GLIBC_2.10. + * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise. + * io/sys/stat.h: Move mknodat definition into same conditional as + mknod. + * time/sys/time.h: futimesat is not among the functions accepted + into the POSIX standard. + + * include/features.h: If no feature selection given and we select + by default a POSIX mode, also define __USE_POSIX_IMPLICITLY. + * posix/Versions: Export __posix_getopt. + * posix/getopt.c (_getopt_initialize): Take additional parameter. + Use it to alternatively initialize __posixly_correct. + (_getopt_internal_r): Take addition parameter. Pass on to + _getopt_initialize. + (_getopt_internal): Take addition parameter. Pass on to + _getopt_internal_r. + (getopt): Pass additional zero to _getopt_internal. + (__posix_getopt): New function. + * posix/getopt.h: Add redirection for getopt. + * posix/getopt1.c (getopt_long): Pass additional zero to + _getopt_internal. + (getopt_long_only): Likewise. + (_getopt_long_r): Pass additional zero to _getopt_internal_r. + (_getopt_long_only_r): Likewise. + * posix/getopt_int.h: Adjust declarations of _getopt_internal and + _getopt_internal_r. + +2009-02-24 Ulrich Drepper + + * bits/confname.h: Define _SC_TRACE_EVENT_NAME_MAX, _SC_TRACE_NAME_MAX, + _SC_TRACE_SYS_MAX, _SC_TRACE_USER_EVENT_MAX, _SC_XOPEN_STREAMS. + * sysdeps/posix/sysconf.c (__sysconf): Handle + _SC_TRACE_EVENT_NAME_MAX, _SC_TRACE_NAME_MAX, _SC_TRACE_SYS_MAX, + _SC_TRACE_USER_EVENT_MAX, _SC_XOPEN_STREAMS. + +2009-02-24 Roland McGrath + + [BZ #9895] + * README.template: Reworded not to use substituted version number. + Renamed to ... + * README: ... here (no longer generated). + * Makefile (README): Target removed. + +2009-02-24 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): + /proc/sys/kernel/rtsig_max doesn't exist anymore, use getrlimit + instead. + + * io/sys/stat.h: The lstat functions have been mandatory since 2001. + + * time/tzset.c (tzset_internal): Correct parsing of TZ envvar. + +2009-02-22 Ulrich Drepper + + * po/bg.po: Update from translation team. + +2009-02-16 Jakub Jelinek + + * stdlib/monetary.h: Uglify function parameter names. + * sunrpc/rpc/pmap_clnt.h: Likewise. + * sunrpc/rpc/svc.h: Likewise. + * sunrpc/rpc/xdr.h: Likewise. + * sunrpc/rpc/clnt.h: Likewise. + * resolv/netdb.h: Likewise. + * resolv/arpa/nameser.h: Likewise. + * resolv/resolv.h: Likewise. + * argp/argp.h: Likewise. + * locale/langinfo.h: Likewise. + * io/sys/stat.h: Likewise. + * posix/spawn.h: Likewise. + * nis/rpcsvc/nislib.h: Likewise. + * malloc/obstack.h: Likewise. + * sysdeps/ia64/bits/link.h: Likewise. + * sysdeps/i386/bits/link.h: Likewise. + * sysdeps/s390/bits/link.h: Likewise. + * sysdeps/powerpc/bits/link.h: Likewise. + * sysdeps/x86_64/bits/link.h: Likewise. + * sysdeps/sparc/bits/link.h: Likewise. + * sysdeps/sh/bits/link.h: Likewise. + * sysdeps/unix/sysv/linux/i386/sys/io.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Likewise. + * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise. + +2008-12-01 Fredrik Unger + + * soft-fp/double.h [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D, + FP_UNPACK_SEMIRAW_DP): Use _FP_UNPACK_RAW_1 instead of + _FP_UNPACK_RAW_2, fix up first argument. + +2009-02-15 Ulrich Drepper + + * sysdeps/unix/sysv/linux/getsysstats.c (next_line): New function. + (GET_NPROCS_PARSER): Change parameters and use next_line. + (__get_nprocs): Rewrite to not use stdio routines. + * sysdeps/unix/sysv/linux/sparc/getsysstats.c (GET_NPROCS_PARSER): + Change parameters and use next_line. + +2009-02-13 Ulrich Drepper + + [BZ #5381] + * nscd/nscd.h: Remove definitions and declarations for mem_in_flight. + Change mempool_alloc prototype. + * nscd/mem.c (gc): Don't handle mem_in_flight. + (mempool_alloc): Third parameter now only indicates whether this is the + first call (to allocate data) or not. If it is, get db rdlock. + Release it on error. Don't handle mem_in_flight. + * nscd/aicache.c (addhstaiX): Mark he parameter as const. + Adjust third parameter of mempool_alloc calls. + Nothing to do here in case mempool_alloc fails. + Avoid local variable shadowing parameter. No need to get db rdlock + before calling cache_add. + * nscd/cache.c (cache_add): Adjust call to mempool_alloc. There is + no mem_in_flight array anymore. + * nscd/connections.c: Remove definition and handling of mem_in_flight. + * nscd/grpcache.c (cache_addgr): Adjust third parameter of + mempool_alloc calls. Mark he parameter as const. Nothing to do here + in case mempool_alloc fails. No need to get db rdlock before calling + cache_add. + * nscd/hstcache.c (cache_addhst): Likewise. + * nscd/initgrcache.c (addinitgroupsX): Likewise. + * nscd/servicescache.c (cache_addserv): Likewise. + * nscd/pwdcache.c (cache_addpw): Likewise. Remove some debugging code. + +2009-02-11 Ulrich Drepper + + * po/lt.po: Update from translation team. + +2009-02-10 Ulrich Drepper + + * elf/dl-load.c (open_verify): In case VALID_ELF_HEADER is + defined, allow additional data to be added using the optional + MORE_ELF_HEADER_DATA macro. + * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER, + VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Define. + +2009-02-08 Ulrich Drepper + + * include/atomic.h: Define catomic_and if not already defined. + * sysdeps/x86_64/bits/atomic.h: Define catomic_and. + * sysdeps/i386/i486/bits/atomic.h: Likewise. + +2009-02-07 Ulrich Drepper + + * malloc/malloc.c (_int_free): Second argument is now mchunkptr. + Change all callers. + (_int_realloc): Likewise. Third argument is now padded size + All _int_* functions are now static. + + * malloc/hooks.c: Change all callers to _int_free and _int_realloc. + * malloc/arena.c: Likewise. + * include/malloc.h: Remove now unnecessary declarations of the _int_* + functions. + + * sunrpc/rpc_common.c: We cannot move _null_auth into .rodata that + easily. + + * malloc/malloc.c: Add branch prediction for use of the hooks. + + * grp/compat-initgroups.c [NOT_IN_libc] (__libc_use_alloca): Define. + +2009-02-06 Ulrich Drepper + + [BZ #7095] + * bits/confname.h: Add SUSv7 macros for getconf environments. + * bits/environments.h: Likewise. + * sysdeps/unix/sysv/linux/i386/bits/environments.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/environments.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/environments.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/environments.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Likewise. + * posix/confstr.c: Handle SUSv5 and SUSv7 environments. + * posix/getconf.c: Likewise. + * posix/sysconf.c: Likewise. + * sysdeps/posix/sysconf.c: Likewise. + * posix/Makefile (getconf.speclist): Also collect SUSv5 and SUSv7 + environments. + +2009-01-16 Petr Baudis + + [BZ #9753] + * resolv/res_libc.c (__res_maybe_init): Call __res_vinit() + even if we currently have zero nscount. + +2009-02-06 Ulrich Drepper + + [BZ #9781] + * grp/compat-initgroups.c (compat_call): Switch to use malloc when + the input line is too long. + + * po/Makefile (libc.pot): Add f_print as function taking c-format + parameter. + + * debug/xtrace.sh: Unify translatable messages. + * elf/ldd.bash.in: Likewise. + * elf/sprof.c: Likewise. + * locale/programs/locale.c: Likewise. + * malloc/memusage.sh: Likewise. + * nss/getent.c: Likewise. + +2009-02-06 Joseph Myers + + * debug/pcprofiledump.c (print_version, + argp_program_version_hook): New function. + * elf/ldconfig.c (more_help): New function. + (argp): Use it. + * elf/sln.c (usage): New function. + (main): Support --help and --version. + * malloc/memusagestat.c (print_version): New function. + (argp_program_version_hook): New variable. + * nscd/nscd.c (more_help): New function. + (argp): Use it. + * posix/getconf.c (main): Send --version output to stdout. + Support --help. + * sunrpc/rpc_main.c (usage, options_usage): Take STREAM and STATUS + arguments. All callers changed. + (print_version): New function. + (parseargs): Support --help and --version. + * sunrpc/rpcinfo.c (usage): Take STREAM argument. All callers + changed. + (print_version): New function. + (main): Use getopt_long. Support --help and --version. + * sysdeps/unix/sysv/linux/lddlibc4.c (main): Support --help and + --version. + +2009-02-06 Ulrich Drepper + + * malloc/memusage.c (DEFAULT_BUFFER_SIZE): Change to 32768. + (update_data): Fix handling of wrapping back + to the beginning of the buffer. + + [BZ #9823] + * stdio-common/psignal.c (psignal): Fix test for empty string. + +2009-02-05 Ulrich Drepper + + * include/rpc/auth.h: Use libc_hidden_proto for _null_auth. + * sunrpc/rpc_common.c: Add libc_hidden_def for _null_auth. Also + move _null_auth to .rodata. + + * time/tzset.c (__tzset_parse_tz): DST offset must also allow hour + value of 24. + + * intl/dcigettext.c (DCIGETTEXT): Avoid some code duplication. + + * sysdeps/unix/opendir.c (__alloc_dir): We have a lot more memory + today than when the original code was written. Use larger + buffers. This also makes it unnecessary to have stat information, + if this causes extra efforts. + (__opendir): In case O_DIRECTORY works, don't call fstat just for + __alloc_dir. + +2009-02-03 Andrew Stubbs + + * sysdeps/sh/sh4/dl-trampoline.S: Only set HAVE_FPU if __SH_FPU_ANY__ + is set. + * sysdeps/sh/sh4/setjmp.S: Support SH4-NOFPU. + * sysdeps/sh/sh4/__longjmp.S: Likewise. + * sysdeps/unix/sysv/linux/sh/sh4/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S: Likewise. + * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise. + +2009-02-04 Ulrich Drepper + + * po/ru.po: Update from translation team. + +2008-11-17 Nathan Sidwell + + * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (struct sigevent): + Add _tid slot to maintain consistency with kernel. + +2009-02-04 Ulrich Drepper + + * libio/wfileops.c (_IO_wfile_underflow): Fix handling of + incomplete characters at end of input buffer. + * libio/Makefile (tests): Add tst-fgetwc. + * libio/tst-fgetwc.c: New file. + * libio/tst-fgetwc.input: New file. + +2009-02-02 Andrew Stubbs + + * sysdeps/unix/sysv/linux/sh/Makefile (libm.so-no-z-defs): Define. + +2009-02-02 Ulrich Drepper + + [BZ #9793] + * iconv/gconv_trans.c (__gconv_transliterate): Don't change + *OUTBUFSTART unless the whole output fit into the buffer. + * iconv/Makefile (tests): Add tst-iconv4. + * iconv/tst-iconv4.c: New file. + +2009-02-01 Ulrich Drepper + + * sysdeps/x86_64/cacheinfo.c (intel_02_known): Add new descriptors. + * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise. + +2009-01-29 Andrew Stubbs + + * elf/Makefile (ld.so): Adjust the sed script to insert _begin in to + newer linker scripts. + +2009-01-30 Ulrich Drepper + + [BZ #7040] + * sysdeps/unix/sysv/linux/sys/inotify.h: Second parameter of + inotify_rm_watch should have type int. + +2009-01-06 Steven Munroe + + * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): + Make aligned_restore_vmx a local symbol. + * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): + Likewise. + +2009-01-30 Andreas Jaeger + + * sysdeps/unix/sysv/linux/bits/shm.h (SHM_EXEC): Define. + * sysdeps/unix/sysv/linux/ia64/bits/shm.h (SHM_EXEC): Define. + * sysdeps/unix/sysv/linux/powerpc/bits/shm.h (SHM_EXEC): Define. + * sysdeps/unix/sysv/linux/s390/bits/shm.h (SHM_EXEC): Define. + * sysdeps/unix/sysv/linux/sh/bits/shm.h (SHM_EXEC): Define. + * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHM_EXEC): Define. + * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (SHM_EXEC): Define. + +2009-01-11 Ryan S. Arnold + + [BZ #9726] + * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_SET_DI_FPSCR, + _SET_SI_FPSCR): Clobber fp0 to prevent erroneous test-case passes. + +2009-01-08 Ryan S. Arnold + + [BZ #9726] + * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S + (__CONTEXT_FUNC_NAME): Fix mtfsf to use fp31 instead of fp0. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S + (__CONTEXT_FUNC_NAME): Fix mtfsf to use fp31 instead of fp0. + +2009-01-11 Thomas Schwinge + + * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Use + memcpy instead of memcmp. + (_dl_setup_pointer_guard): Likewise. + +2009-01-30 Ulrich Drepper + + * malloc/malloc.c (sYSMALLOc): Don't use assert when detecting + manipulated brk, use malloc_printerr. + * misc/sbrk.c (__sbrk): Better error handling for nonsense + requests. + +2009-01-30 Jakub Jelinek + + * string/string.h (memchr, strchr, strrchr, strpbrk, strstr, index, + rindex): For C++ add inlines so that they can be recognized as + builtins. + * string/strings.h: Define correct C++ prototypes for gcc 4.4. + +2009-01-29 Ulrich Drepper + Jakub Jelinek + + * string/string.h: Define correct C++ prototypes for gcc 4.4. + * wcsmbs/wchar.h: Likewise. + +2009-01-29 Ulrich Drepper + + * sysdeps/i386/stackinfo.h (stackinfo_get_sp): Define. + (stackinfo_sub_sp): Define. + +2009-01-28 Ulrich Drepper + + [BZ #9750] + * nscd/mem.c (gc): Use alloca_count to get the real stack usage. + * include/alloca.h (alloca_account): Define. + * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Define. + (stackinfo_sub_sp): Define. + + * nscd/connections.c (nscd_init): If database file access fails + check whether this is due to permission problems and bail in that + case. + + [BZ #9741] + * nscd/mem.c (gc): Fix assignment of he_data in case malloc is used. + Reported by Jun'ichi Nomura . + +2009-01-14 Kaz Kojima + + * sysdeps/unix/sysv/linux/sh/sysdep.h (INTERNAL_SYSCALL): + Add "t" to clobber list. + (INTERNAL_SYSCALL_NCS): Likewise. + +2009-01-28 Ulrich Drepper + + * nss/getent.c (print_networks): Don't print comma between aliases. + +2009-01-23 Ulrich Drepper + + * sysdeps/unix/sysv/linux/tst-clone.c (do_test): Avoid warning. + + * misc/hsearch_r.c (hcreate_r): We need at least three elements in + the hash table. + * misc/Makefile (tests): Add bug-hsearch1. + * misc/bug-hsearch1.c: New file. + +2009-01-22 Roland McGrath + + * Makeconfig (%.v.i): Strip trailing # comments, + not only whole-line comments. + +2009-01-10 Ulrich Drepper + + * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Take + one parameter. If non-NULL use it to initialize return value. + (_dl_setup_pointer_guard): New function. + * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise. + * sysdeps/generic/ldsodefs.h: Declare _dl_random. + * elf/rtld.c (security_init): Pass _dl_random to + _dl_setup_stack_chk_guard. Call _dl_setup_pointer_guard to initialize + pointer_chk_guard. + * elf/dl-sysdep.c (_dl_random): New variable. + (_dl_sysdep_start): Handle AT_RANDOM. + (_dl_show_auxv): Likewise. + * elf/dl-support.c (_dl_random): New variable. + (_dl_aux_init): Handle AT_RANDOM. + * csu/libc-start.c [!SHARED] (libc_start_main): Pass _dl_random + to _dl_setup_stack_chk_guard. + + * elf/elf.h (AT_RANDOM): Define AT_BASE_PLATFORM and AT_RANDOM. + +2009-01-10 Roland McGrath + + * nscd/nscd.c (parse_opt): Use argp_error for bad -i argument. + +2009-01-08 Ulrich Drepper + + * sysdeps/i386/fpu/libm-test-ulps: Adjust expm1 errors. + + [BZ #9706] + * nss/nss_files/files-parse.c (strtou32): New function. + (INT_FIELD): Use strotu32 instead of strtoul to unify behavior + across 32-bit and 64-bit platforms. + (INT_FIELD_MAYBE_NULL): Likewise. + +2009-01-08 Jakub Jelinek + + [BZ #9720] + * sysdeps/unix/sysv/linux/bits/resource.h (enum __rusage_who): Avoid + comma after RUSAGE_CHILDREN if not -D_GNU_SOURCE. + * sysdeps/unix/sysv/linux/sparc/bits/resource.h (enum __rusage_who): + Likewise. + +2009-01-05 Paolo Bonzini + + [BZ #697] + * posix/regexec.c (prune_impossible_nodes): Handle sifted_states[0] + being NULL also if there are no backreferences. + * posix/rxspencer/tests: Add testcases. + +2009-01-04 Paolo Bonzini + + [BZ #9697] + * posix/bug-regex17.c: Add testcases. + * posix/regcomp.c (re_compile_fastmap_iter): Rewrite COMPLEX_BRACKET + handling. + +2009-01-05 Martin Schwidefsky + + * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: New file. + * sysdeps/unix/sysv/linux/s390/gettimeofday.c: New file. + * sysdeps/unix/sysv/linux/s390/init-first.c: New file. + * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines): Add dl-vdso + for elf subdir. + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL, + INTERNAL_VSYSCALL, INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK, + INTERNAL_SYSCALL_NCS, HAVE_CLOCK_GETRES_VSYSCALL and + HAVE_CLOCK_GETTIME_VSYSCALL: Define. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/s390/Versions: New file. + +2008-12-31 Paolo Bonzini + + * posix/regcomp.c (re_compile_fastmap_iter): Use __mbrtowc. + * posix/regex_internal.c (build_wcs_buffer, build_wcs_upper_buffer, + re_string_skip_chars, re_string_reconstruct): Likewise. + * posix/regex_internal.h [!_LIBC] (__mbrtowc): New #define. + +2008-12-31 Rafael Avila de Espindola + + * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Check and + adjust the buffer alignment. + +2009-01-07 Samuel Thibault + + * sysdeps/mach/hurd/Makefile (sysdep_headers) [subdir=socket]: + Add net/ethernet.h net/if_arp.h net/if_ether.h net/if_ppp.h + net/route.h. + + * hurd/report-wait.c (describe_number): Use __stpcpy to prepend + flavor to description only when flavor is not NULL. + + * hurd/hurdsig.c (signal_allowed): Unlock _hurd_dtable_lock + mutex after SIGIO/SIGURG lookup loop. + +2009-01-03 Samuel Thibault + + * bits/resource.h (PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Add macros. + +2009-01-03 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/sysdep.h: Describe 6th argument + handling. + +2009-01-02 Ulrich Drepper + + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_FUTEX_CLOCK_REALTIME): Define. + + * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Create temporary state object + if no output is written. + + * version.h: Bump to 2.10 development. + + * posix/getconf.c: Update copyright year. + * nss/getent.c: Likewise. + * iconv/iconvconfig.c: Likewise. + * iconv/iconv_prog.c: Likewise. + * elf/ldconfig.c: Likewise. + * catgets/gencat.c: Likewise. + * csu/version.c: Likewise. + * elf/ldd.bash.in: Likewise. + * elf/sprof.c (print_version): Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/localedef.c: Likewise. + * nscd/nscd.c (print_version): Likewise. + * debug/xtrace.sh: Likewise. + * malloc/memusage.sh: Likewise. + * malloc/mtrace.pl: Likewise. + * debug/catchsegv.sh: Likewise. + +2008-12-29 Mike Frysinger + + * iconvdata/Makefile (iconv-rules): Use LC_ALL=C when running awk + script. + +2008-12-29 Ulrich Drepper + + * sysdeps/posix/getaddrinfo.c (gaih_inet): When the + gethostbyname4_r function call succeeded, just leave the loop. + + [BZ #9694] + * wcsmbs/wchar.h: Move undefs for local __need_* constants to the + very end. + * wctype/wctype.h: Get wint_t definition directly from . + * wctype/Makefile (tests): Add bug-wctypeh. + * wctype/bug-wctypeh.c: New file. + + * nscd/nscd_gethst_r.c (nscd_gethst_r): Don't use nscd if + LOCALDOMAIN is defined. + * nscd/nscd_getai.c (__nscd_getai): Likewise. + + * sysdeps/x86_64/bits/select.h: New file. + + * resolv/res_init.c (__res_vinit): Count all servers in statp->nscount. + +2008-12-21 Bruno Haible + + [BZ #9677] + * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Create temporary state object + if no output is written. + +2008-12-13 Klaus Dittrich + + * login/utmp_file.c (pututline_file): Replace call to dup2 with + libc internal symbol __dup2 to avoid access through the PLT. + +2008-12-08 Ulrich Drepper + + [BZ #6545] + * sysdeps/unix/sysv/linux/bits/socket.h (SCM_CREDENTIALS): Make + available only for __USE_GNU. + + * inet/Makefile (tests): Add tst-getni2. + * inet/tst-getni2.c: New file. + + [BZ #7080] + * inet/getnameinfo.c (getnameinfo): Check for output buffers being + NULL when NI_NAMEREQD is set. + Patch mostly by Yang Hongyang . + * inet/Makefile (tests): Add tst-getni1. + * inet/tst-getni1.c: New file. + +2008-12-03 Petr Baudis + + [BZ #7067] + * nscd/connections.c (invalidate_cache): Use prune_run_lock + instead of prune_lock. + (nscd_run_prune): Before calling prune_cache, take prune_run_lock. + * nscd/nscd.h (database_dyn): Add prune_run_cache. + +2008-12-07 Ulrich Drepper + + * resolv/res_send.c (send_dg): Use correct guards for SOCK_CLOEXEC + use. + + * sysdeps/unix/sysv/linux/kernel-features.h: Fix typo in accept4 + handling. + + * resolv/res_init.c (__res_vinit): Always assign to statp->nscount + after reading name server list. + + [BZ #7058] + * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname4_r): Fix memory + handling for host name aliases. + +2008-11-24 Arkadiusz Miƛkiewicz + + * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use LOAD_PIC_REG + instead of doing things manually. + +2008-11-26 Chris Steel + + * posix/regex_internal.h (build_wcs_upper_buffer): + Return type is reg_error_t. + +2008-12-05 Ulrich Drepper + + * posix/globtest.sh: Use mktemp to create temporary file and + directory. + + * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S): Handle large + sets correctly. + (__CPU_CLR_S): Likewise. + (__CPU_ISSET_S): Likewise. + +2008-12-05 Joseph Myers + Ulrich Drepper + + * scripts/firstversion.awk: Use custom comparison function to compare + version numbers. + * scripts/versions.awk: Use sort invocation which can handle + multi-digit sub-version numbers. + +2008-12-04 Ulrich Drepper + + * locale/programs/ld-address.c (DEFINE_LANGUAGE_CODE2): Define. + * locale/iso-639.def: Add Chhattisgarhi entry. + +2008-12-02 Ulrich Drepper + + * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Recognize + ESRCH return value. + (_nss_dns_gethostbyname4_r): Likewise. + * resolv/res_init.c (__res_vinit): Initialize nscount to zero. + * sysdeps/posix/getaddrinfo.c (gaih_inet): In case we use + gethostbyname4_r, we don't have a separate IPv6 status, so copy + the no_data variable. + + * resolv/res_init.c (__res_vinit): Fill in IPv4 name server + information at the correct index. + + * socket/sys/socket.h: Declare accept4. + * socket/accept4.c: New file. + * sysdeps/unix/sysv/linux/accept4.c: New file. + * sysdeps/unix/sysv/linux/i386/accept4.S: New file. + * socket/Makefile (routines): Add accept4. + * socket/Versions: Export accept4 with version GLIBC_2.10. + * socket/paccept.c: Removed. + * sysdeps/unix/sysv/linux/paccept.c: Removed. + * sysdeps/unix/sysv/linux/i386/paccept.S: Removed. + * Versions.def: Define GLIBC_2.10 for libc. + * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_ACCEPT4. + + * nscd/connections.c: Use accept4. + + * sysdeps/unix/sysv/linux/i386/socket.S: Fix comment. + +2008-12-01 Ulrich Drepper + + * resolv/res_send.c (send_dg): Create sockets with non-blocking + flag already set. + + * stdlib/setenv.c (unsetenv): Don't search environment if it does + not exist. + * stdlib/Makefile (tests): Add tst-unsetenv1. + * stdlib/tst-unsetenv1.c: New file. + +2008-11-29 Ulrich Drepper + + * login/utmp_file.c (file_writable): New variable. + (setutent_file): Don't try to open file for writing. + (pututline_file): Before writing, make descriptor writable if + necessary. + +2008-11-26 Ulrich Drepper + + * sysdeps/posix/getaddrinfo.c (getaddrinfo): Only restrict search + to IPv4 or IPv6 if an interface has been found. + +2008-11-26 Roland McGrath + + * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Renamed to ... + * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: ... here. + + * sysdeps/unix/sysv/linux/alpha/wordexp.c: Renamed to ... + * sysdeps/unix/sysv/linux/ia64/wordexp.c: ... here. + * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: Change #include. + + * elf/elf.h (NT_386_IOPERM): New macro. + (NT_PPC_VSX): New macro. + +2008-11-25 Roland McGrath + + * sysdeps/alpha, sysdeps/unix/bsd/osf/alpha, + sysdeps/unix/bsd/Attic/osf1/alpha, sysdeps/unix/sysv/linux/alpha, + sysdeps/unix/sysv/linux/alpha/alpha, sysdeps/unix/alpha, + sysdeps/mach/alpha, sysdeps/mach/hurd/alpha: + Subdirectories moved to ports repository. + * configure.in (base_machine): Remove alpha case. + +2008-11-25 Thomas Schwinge + + * sysdeps/mach/strerror_l.c: New file. + +2008-11-13 Ryan S. Arnold + + [BZ #6411] + * sysdeps/powerpc/fpu/Makefile: Added test case tst-setcontext-fpscr. + * sysdeps/powerpc/fpu/feholdexcpt.c (_FPU_MASK_ALL): Define to replace + magic numbers. + * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_register): Dynamically + choose mtfsf insn based on PPC_FEATURE_HAS_DFP. + (relax_fenv_state): Same as above. + (FPSCR_29): Reserve bit in ISA 2.05. + (FPSCR_NI): Provide define for compat. + * sysdeps/powerpc/fpu/fesetenv.c (_FPU_MASK_ALL): Define to replace + magic numbers. + * sysdeps/powerpc/fpu/feupdateenv.c (_FPU_MASK_ALL): Define to replace + magic numbers. + * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: New file. Test case to + test setcontext and swapcontext with dynamic 64-bit FPSCR detection. + * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Adjust + access to hwcap to account for hwcap size increase to uint64_t. + * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S (__sigsetjmp ): + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S + (*setcontext): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/setcontext.S: + New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/swapcontext.S: + New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S + (*setcontext): dynamically select mtfsf insn based on + PPC_FEATURE_HAS_DFP. Adjust access to hwcap to account for hwcap size + increase to uint64_t. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S + (*swapcontext): dynamically select mtfsf insn based on + PPC_FEATURE_HAS_DFP. Adjust access to hwcap to account for hwcap size + increase to uint64_t. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/setcontext.S: + New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/swapcontext.S: + New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S + (*setcontext): dynamically select mtfsf insn based on + PPC_FEATURE_HAS_DFP. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S + (*swapcontext): dynamically select mtfsf insn based on + PPC_FEATURE_HAS_DFP. + +2008-11-13 Ulrich Drepper + + * version.h: Bump for 2.9 release. + * include/features.h (__GLIBC_MINOR__): Bump to 9. + + [BZ #7029] + * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_ALLOC_SIZE): + Multiply with sizeof of __cpu_mask, not 8 unconditionally after + all the rounding. + +2008-11-11 Ulrich Drepper + + [BZ #7009] + * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Don't abort for + unknown request types for now. + +2008-11-11 Roland McGrath + + * sysdeps/x86_64/configure: New file. + + * configure.in: Add AC_SUBST(libc_cv_cpp_asm_debuginfo). + * configure: Regenerated. + +2008-11-03 Martin Schwidefsky + + * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_profile): Use the + correct instruction to remove the stack frame. + +2008-11-03 Michael Matz + + * sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_32_acq, + __arch_compare_and_exchange_val_64_acq): Add "memory" clobber. + +2008-11-07 Jakub Jelinek + + * include/stdio.h (__builtin_fwrite, __builtin_fwrite_unlocked): + Remove. + + * bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, + __libc_tsd_get, __libc_tsd_set): Add TYPE argument, use it as the type + of the thread variable instead of void *. + * sysdeps/mach/hurd/bits/libc-tsd.h (__libc_tsd_define, + __libc_tsd_address, __libc_tsd_get, __libc_tsd_set): Likewise. + * include/ctype.h (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust + __libc_tsd_define arguments. + (__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): Adjust + __libc_tsd_address arguments. Remove union hack. + * include/rpc/rpc.h (RPC_VARS): Adjust __libc_tsd_define arguments. + * sunrpc/rpc_thread.c (RPC_VARS): Likewise. + (__rpc_thread_destroy, rpc_thread_multi, __rpc_thread_variables): + Adjust __libc_tsd_{set,get} arguments. + * ctype/ctype-info.c (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust + __libc_tsd_define arguments. + * locale/uselocale.c (__uselocale): Adjust __libc_tsd_{set,get} + arguments. + * locale/lc-ctype.c (_nl_postload_ctype): Likewise. + * locale/global-locale.c (__libc_tsd_LOCALE): Adjust type. + (LOCALE): Adjust __libc_tsd_define arguments. + * locale/localeinfo.h (_NL_CURRENT_LOCALE): Adjust __libc_tsd_get + arguments. + (LOCALE): Adjust __libc_tsd_define arguments. + * sysdeps/mach/hurd/malloc-machine.h (MALLOC): Adjust __libc_tsd_define + arguments. + (tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get} + arguments. + +2008-11-02 Ulrich Drepper + + * malloc/malloc.c (public_rEALLOc): When new arena is used, copy + really all bytes. Patch by Denys Vlasenko . + +2008-11-01 Ulrich Drepper + + [BZ #6966] + * misc/hsearch_r.c (hsearch_r): Fix secondary hash function. + +2008-10-24 Joseph Myers + Ulrich Drepper + + * math/tgmath.h (__floating_type): Use __builtin_classify_type in + definition for GCC 3.1 and later. + +2008-10-31 Jakub Jelinek + + * elf/dl-tls.c (__tls_get_addr): After calling _dl_update_slotinfo + refetch dtv, as it might have changed. + * elf/Makefile: Add rules to build and run tst-tls18. + * elf/tst-tls18.c: New test. + * elf/tst-tlsmod18a.c: New file. + +2008-09-09 Aurelien Jarno + + [BZ #6875] + * iconvdata/gconv-modules: Add LATIN9 as an alias to ISO-8859-15. + +2008-10-31 Ulrich Drepper + + [BZ #6867] + * sysdeps/powerpc/elf/rtld-global-offsets.sym: Fix typo. + + [BZ #6919] + * posix/spawnattr_getschedparam.c (posix_spawnattr_getschedparam): + Fix length of copy operation. + +2008-10-02 Pierre Habouzit + + * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Use the eventfd2 syscall + and fix its calling convention. + +2008-10-07 Andreas Schwab + + [BZ #6942] + * resolv/res_send.c (send_vc): Fix last change. + (send_dg): Align here as well. + +2008-10-31 Ulrich Drepper + + * sysdeps/unix/sysv/linux/ulimit.c (__ulimit): Handle UL_GETFSIZE + return value in case rlimit is RLIM_INFINITY. + + [BZ #6947] + * sysdeps/unix/sysv/linux/ulimit.c (__ulimit): Fix return value + for UL_SETFSIZE. + * resource/Makefile (tests): Add bug-ulimit1. + * resource/bug-ulimit1.c: New file. + + [BZ #6974] + * sunrpc/rpc_main.c (mkfile_output): Properly handle filename + without dot. Properly terminate the string with a null byte. + Based on a patch by Aurelien Jarno . + + [BZ #6980] + * debug/getgroups_chk.c (__getgroups_chk): Return EINVAL error for + negative sizees. + * posix/bits/unistd.h (getgroups): Call __getgroups_chk for + negative __size. + + [BZ #6995] + * sysdeps/powerpc/powerpc32/dl-machine.c: Fix typo in message. + +2008-10-30 Ulrich Drepper + + * grp/initgroups.c (internal_getgrouplist): Don't prematurely + abort if there is no initgroups_dyn function. + + * resolv/res_send.c (send_dg): On timeout, only return nonzero + result if any of the queries really provided an answer. + +2008-10-28 Ulrich Drepper + + * po/lt.po: Update from translation team. + +2008-10-26 Ulrich Drepper + + * po/id.po: Update from translation team. + +2008-10-24 Ulrich Drepper + + * resolv/res_query.c (__libc_res_nquery): Add a few casts. + Fix tests for existence of second reply. + +2008-10-23 Ulrich Drepper + + * po/id.po: New file. + Contributed by the Indonesian translation team. + +2008-10-22 Dmitry V. Levin + + * misc/syslog.c (openlog_internal): Fix __have_sock_cloexec + initialization. + +2008-10-17 Jakub Jelinek + + * elf/Makefile: Add rules to build and run tst-tls17. + * elf/tst-tls17.c: New test. + * elf/tst-tlsmod17a.c: New file. + * elf/tst-tlsmod17b.c: Likewise. + +2008-10-17 Ulrich Drepper + + * stdlib/divmod_1.c: Use correct type for dummy variable. + * stdlib/mod_1.c: Likewise. + +2008-10-16 Ulrich Drepper + + * elf/dl-tls.c (_dl_update_slotinfo): Copy all of the initial DTV. + +2008-10-16 Jakub Jelinek + + * sysdeps/unix/sysv/linux/sys/signalfd.h (signalfd): Fix __THROW vs. + __nonnull order for C++. + * sysdeps/unix/sysv/linux/alpha/sys/signalfd.h (signalfd): Likewise. + * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h (signalfd): Likewise. + +2008-10-01 Daniel Jacobowitz + + * stdlib/longlong.h: Update from GCC. + +2008-10-09 Jakub Jelinek + David S. Miller + + * sysdeps/sparc/sparc64/sparcv9v/memcpy.S: When not USE_BPR, + make sure any registers used with 64-bit 'branch-on-register' + instructions have their top 32-bits clear. + * sysdeps/sparc/sparc64/sparcv9v/memset.S: Likewise. + * sysdeps/sparc/sparc64/sparcv9v2/memcpy.S: Likewise. + +2008-09-18 Andreas Schwab + + [BZ #6942] + * resolv/res_send.c (send_vc): Fix use of unaligned address. + Properly handle partial reads. + +2008-10-01 Mark Shinwell + + * elf/elf.h (STO_MIPS_PLT): New. + (R_MIPS_COPY): New. + (R_MIPS_JUMP_SLOT): New. + (R_MIPS_NUM): Redefine to 128. + (DT_MIPS_PLTGOT): New. + (DT_MIPS_RWPLT): New. + (DT_MIPS_NUM): Redefine to 0x35. + +2008-10-01 Ulrich Drepper + + * timezone/africa: Update from tzdata2008f. + * timezone/asia: Likewise. + * timezone/australasia: Likewise. + * timezone/europe: Likewise. + * timezone/leapseconds: Likewise. + * timezone/northamerica: Likewise. + * timezone/southamerica: Likewise. + * timezone/zone.tab: Likewise. + +2008-09-30 Ulrich Drepper + + * nscd/connections.c: Disable use of paccept for now. + +2008-09-29 Ulrich Drepper + + * socket/Versions: Remove paccept export for GLIBC_2.9. + * socket/Makefile (routines): Remove paccept. + * socket/sys/socket.h: Remove paccept declaration. + + * po/sv.po: Update from translation team. + +2008-09-22 Deborah S. Townsend + + * sysdeps/s390/s390-64/s390x-mcount.S: Replace ahi with aghi. + * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise. + +2008-09-16 Ulrich Drepper + + * dlfcn/dlopen.c (dlopen_doit): Allow __RTLD_SPROF flag. + Patch by Olivier Fourdan . + +2008-09-15 Ulrich Drepper + + * sunrpc/rpc/svc.h: Declare svcfd_create. + Patch by Michael Solberg . + +2008-09-12 Flavio Leitner + Ulrich Drepper + + * malloc/malloc.c (public_vALLOc): Try other arenas in case + _int_valloc fails. + (public_pVALLOc): Likewise. + +2008-09-02 Andreas Jaeger + + * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Fix last + commit. + +2008-08-26 Aurelien Jarno + + [BZ #6860] + * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Fix a typo. + +2008-07-18 Daniel Jacobowitz + + * Makefile (check-data): Check data directory in add-ons. + * elf/Makefile (check-data): Likewise. + +2008-08-18 Roland McGrath + + * configure.in (--with-cpu): Check compiler support for -march/-mcpu. + * configure: Regenerated. + * config.make.in (cflags-cpu): New substituted variable. + (with-cpu): Variable removed. + * Makeconfig (+cflags): Use $(cflags-cpu), not $(with-cpu). + +2008-08-14 Ryan S. Arnold + + [BZ #6845] + * sysdeps/powerpc/fpu/bits/mathinline.h (__signbitl): Copy new + __signbitl definition and __LONG_DOUBLE_128__ guard from: + * sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h: Remove as + redundant. Functions which call floating point assembler operations + should go into a sysdeps powerpc/fpu directory. + +2008-08-15 Ulrich Drepper + + * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Define MAP_STACK. + * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. + +2008-08-14 Ulrich Drepper + + * sysdeps/x86_64/memset.S: Reduce size of tables for PIC. + + * sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): Undo all + change related to AT_EXECFN. We cannot use that string. + * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove + _dl_execfn member. + * elf/dl-support.c: Remove _dl_execfn variable. + (_dl_aux_init): Remove handling of AT_EXECFN. + * elf/dl-sysdep.c (_dl_sysdep_start): Remove handling of AT_EXECFN. + * elf/rtld.c (process_envvars): Remove use of __ASSUME_AT_EXECFN. + +2008-08-13 Ulrich Drepper + + [BZ #6544] + * libio/fmemopen.c: Implement binary mode. In this mode no NUL + byte gets added to writes and seeks from the end use the length of + the buffer and not the currently terminating NUL byte. + + [BZ #6634] + * login/utmp_file.c (getutent_r_file): Take additional parameter. + Set to true if locking failed. + (getutid_r_file): Adjust caller. + (pututline_file): Likewise. Return NULL in this case. + Patch mostly by halesh.s@gmail.com. + +2008-08-12 Ulrich Drepper + + [BZ #6589] + * sysdeps/unix/sysv/linux/ifaddrs.c (struct sockaddr_ll_max): + Define. + (struct ifaddrs_storage): Use it instead of sockaddr_ll. + +2008-08-12 Ryan S. Arnold + + [BZ #6839] + * sysdeps/powerpc/powerpc32/dl-machine.c (CHECK_STATIC_TLS): Remove + macro since it is now available in elf/dynamic-link.h. + +2008-08-12 Roland McGrath + + * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Avoid -Wparenthesis triggers, + in case used outside of libc. + Reported by Samuel Thibault + +2008-08-11 Ulrich Drepper + + * resolv/res_mkquery.c (res_nmkquery): Call ns_name_compress + directly instead of going through dn_comp. + +2008-08-11 Aurelien Jarno + + * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock): + Fix asm constraints. + +2008-08-07 Ulrich Drepper + + [BZ #6790] + * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_PROBE): Define. + (IPV6_PMTUDISC_PROBE): Likewise. + +2008-08-07 Pete Eberlein + + [BZ #6791] + * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (PROT_SAO): Define. + +2008-08-01 Steven Munroe + Carlos Eduardo Seo + + [BZ #6817] + * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): + Added the members 'vsx' and 'arch_2_06'. + (_dl_powerpc_platforms): Add the member 'power7'. + * sysdeps/powerpc/dl-procinfo.h: Modify _DL_HWCAP_FIRST + to reflect the changes required by VSX and ISA 2.06. + Modify _DL_PLATFORMS_COUNT to reflect the addition of + 'power7'. + Defined PPC_PLATFORM_POWER7. + (_dl_string_platform): Add support for POWER7. + * sysdeps/powerpc/sysdep.h: Define bit masks for VSX + capability and ISA 2.06. + +2008-08-07 Ulrich Drepper + + [BZ #6824] + * sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h: Use correct + macro to detect use of 128 bit long double. + Patch by Ryan S. Arnold . + +2008-08-05 Ulrich Drepper + + * scripts/gen-as-const.awk: Use 32-bit values on 32-bit platforms. + + [BZ #5794] + * sysdeps/i386/fpu/s_expm1l.S: Simply use exp implementation for large + parameters. + * sysdeps/x86_64/fpu/s_expm1l.S: Likewise. + Patch by Denys Vlasenko . + +2008-08-03 Ulrich Drepper + + * nscd/connections.c (main_loop_poll): Pass a buffer which is + guaranteed to be large enough to read inotify event. Ignore + EAGAIN error. Better error message. Add branch predicition. + (main_loop_epoll): Likewise. + +2008-08-02 Roland McGrath + + * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock): + Add memory clobbers. + +2008-08-02 Ulrich Drepper + + * manual/arith.texi: Avoid @strong{Note:}. + * manual/creature.texi: Likewise. + * manual/filesys.texi: Likewise. + * manual/math.texi: Likewise. + * manual/memory.texi: Likewise. + * manual/resource.texi: Likewise. + * manual/syslog.texi: Likewise. + * manual/time.texi: Likewise. + + * sysdeps/posix/clock_getres.c (hp_timing_getres): Remove inline + to prevent warning. + +2008-08-01 Ulrich Drepper + + * sysdeps/unix/sysv/linux/Versions: Fix changes due to old patch for + new epoll_create1 interface. + * sysdeps/unix/sysv/linux/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise. + + * include/arpa/nameser.h (NS_GET16): Use const pointer. + (NS_GET32): Likewise. + + * sysdeps/unix/sysv/linux/kernel-features.h: s390 has the new + syscalls, too. + + * sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): We cannot + use the AT_EXECFN value if it is no absolute path. + * sysdeps/unix/sysv/linux/kernel-features.h: Never define + __ASSUME_AT_EXECFN. + + * Versions.def: Add GLIBC_2.9 to libresolv. + * include/resolv.h: Remove hidden proto declarations for __ns_* + functions. Add them for __dn_count_labels and __p_secstodate. + * include/arpa/nameser.h: Add a number of hidden proto declarations. + Define ns_msg_getflags macro here. + * resolv/res_debug.c: Add hidden definition for __dn_count_labels + and __p_secstodate. + * resolv/Versions: Export functions from from + libresolv in version GLIBC_2.9. + * resolv/ns_name.c: Integrate changes from bind 9.5.0. Add necessary + hidden definitions. + * resolv/ns_netint.c: Likewise. + * resolv/ns_parse.c: Likewise. + * resolv/ns_print.c: Likewise. + * resolv/ns_samedomain.c: Likewise. + * resolv/ns_ttl.c: Likewise. + * resolv/arpa/nameser_compat.h: Likewise. + * resolv/arpa/nameser.h: Likewise. Remove macros which redirect + function calls. + * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Use __ns_get16 + instead of ns_get16. + * resolv/nss_dns/dns-host.c (getanswer_r): Use __ns_get16 and + __ns_get32 instead of ns_get16 and ns_get32 respectively. + (gaih_getanswer_slice): Likewise. + * resolv/Makefile (libresolv-routines): Add ns_date. + * resolv/ns_date.c: New file. + + * elf/Makefile (check-localplt.out): Also check libresolv and + libcrypt. + +2008-07-31 Ulrich Drepper + + * sysdeps/unix/sysv/linux/kernel-features.h: Define + __ASSUME_O_CLOEXEC. + +2008-07-30 Ulrich Drepper + + * sysdeps/posix/getaddrinfo.c (gaih_inet): Raise size of initial + buffer passed to NSS functions. + + * nscd/connections.c (nscd_init): Typo in preprocessor directive. + + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PACCEPT): + Define. + + * misc/syslog.c (openlog_internal): Fix compile problem. + +2008-07-28 Roland McGrath + + * elf/dl-sysdep.c (_dl_show_auxv): Add AT_EXECFN to the table. + +2008-07-28 Ulrich Drepper + + * io/ftw.c (add_object): Remove inline to avoid warning. + + * sysdeps/unix/sysv/linux/paccept.c: Fix compile problem. + + * resolv/res_send.c (__libc_res_nsend): Take additional parameter. + Use it instead of locally defined resplen2 variable. + (res_nsend): Adjust for __libc_res_nsend interface change. + (send_vc): Initialize *resplen2 if necessary. Read length of + package into an appropriately aligned variable. Store converted length + in new variable and use it appropriately. + Add branch prediction help. + * resolv/res_query.c (__libc_res_nquery): Take additional parameter + and pass it on to __libc_res_nsend. Adjust all callers. + (__libc_res_nsearch): Likewise. + (__libc_res_nqeurydomain): Likewise. + * resolv/nss_dns/dns-host.c: Adjust for __libc_res_nsearch interface + change. + (_nss_dns_gethostbyname4): Don't unconditionally allocate tmp array. + Define resplen2 variable and pass it to __libc_res_nsearch and then + to gaih_getanswer. + (getanswer_r): In case of incorrect DNS data don't overread buffer. + Add branch prediction. + (gaih_getanswer_slice): Likewise. Check for invalid data types. + (gaih_getanswer): Don't decode second slice if first one failed due + to a too small buffer. Don't let not found status of second + decoder shadow results of the first. + * resolv/gethnamaddr.c (gethostbyname2): Adjust for __libc_res_nsearch + and __libc_res_nquery interface changes + (gethostbyaddr): Adjust for __libc_res_nquery interface change. + * include/resolv.h: Adjust prototypes for __libc_res_nquery, + __libc_res_nsearch, and __libc_res_nsend. + * resolv/nss_dns/dns-canon.c: Adjust for __libc_res_nquery interface + change. + * resolv/nss_dns/dns-network.c: Adjust for __libc_res_nquery and + __libc_res_nsearch interface changes. + +2008-07-27 Ulrich Drepper + + * libio/iopopen.c (_IO_new_proc_open): Remove unnecessary volatile. + + * posix/wordexp.c (exec_comm): Use pipe2 if possible to create + file descriptors with close-on-exec set. + (exec_comm_child): Fix the case where the write end of the pipe is + STDOUT_FILENO already. In case it is, clear close-on-exec. + + * sysdeps/unix/sysv/linux/syscalls.list: Add __pipe2 alias. + * io/pipe2.c: Likewise. + * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PIPE2 + instead of __ASSUME_PACCEPT. + * include/unistd.h: Declare __have_pipe2. + * libio/iopopen.c: Implement "e" flag. + * libio/Makefile (tests): Add tst-popen1. + * libio/tst-popen1.c: New file. + + * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_ISDN and AF_ISDN. + * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise. + +2008-07-26 Ulrich Drepper + + [BZ #6771] + * libio/fileops.c (_IO_new_file_attach): Preserve errno around + success call of _IO_SEEKOFF or calls which failed because the + descriptor is for a pipe. + + * sunrpc/key_call.c (getkeyserv_handle): Use FD_CLOEXEC instead of + magic number. + + * misc/syslog.c (openlog_internal): Use SOCK_CLOEXEC if possible. + + * malloc/mtrace.c (mtrace): Use 'e' flag in fopen call. Drop + F_SETFD use if we know fopen set the flag. + + * login/utmp_file.c (setutent_file): Minor optimization in case + O_CLOEXEC is available. + +2008-07-24 Tom "spot" Callaway + + * Makeconfig: Define pie-ccflag and PIE-ccflag variables. + * elf/Makefile: Use pie-ccflag variable. + * nscd/Makefile: Likewise. + * sysdeps/sparc/Makefile: Set $(pie-ccflag) to -fPIE. + +2008-07-21 Andreas Krebbel + + [BZ #6724] + * Versions.def: Add GLIBC_2.9 version tag for libutil. + * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Copy of + gnu/bits/utmp.h. Check for __WORDSIZE_COMPAT32 removed. + * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Copy of + gnu/bits/utmpx.h. Check for __WORDSIZE_COMPAT32 removed. + * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add new files + utmp32, utmpx32 and login32. + * sysdeps/unix/sysv/linux/s390/s390-32/Versions: Add 2.9 + versions of struct utmp functions to libc and libutil. + * sysdeps/unix/sysv/linux/s390/s390-32/utmp-compat.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-32/getutmp.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-32/getutxent.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-32/getutxid.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-32/getutxline.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-32/login.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-32/login32.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-32/pututxline.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-32/updwtmpx.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-32/utmpx-convert.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: New file. + +2008-07-26 Ulrich Drepper + + * scripts/gen-as-const.awk: Generate more widely usable code by + using 64-bit arithmetic. + + * stdio-common/printf_fp.c (___printf_fp): Give wide outout code + the same treatment as narrow output code in last patch. + + * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Namespace cleanup. + + [BZ #6763] + * elf/dl-load.c (local_strdup): Remove inline. + (_dl_map_object_from_fd): Don't allocate l_symbolic_searchlist.r_list. + * elf/dl-object.c (_dl_new_object): Allocate symbolic searchlist as + part of the object. + + * sysdeps/unix/sysv/linux/dl-origin.c: Add const to avoid warning. + +2008-07-25 Ulrich Drepper + + * sysdeps/unix/sysv/linux/kernel-features.h: IA-64 and SPARC have + the new syscalls, too. + + * sysdeps/i386/i686/memcmp.S: Fix unwind information. + Reported by Paul Pluzhnikov . + + [BZ #6698] + * stdio-common/_i18n_number.h (_i18n_number_rewrite): Take additional + parameter for end of buffer. If temporary copy is too large use + malloc. + * stdio-common/vfprintf.c: Adjust for _i18n_number_rewrite + interface change. + * stdio-common/printf_fp.c (__printf_fp): Likewise.. Account for + string rewrite when allocating buffer. + + * sysdeps/unix/sysv/linux/kernel-features.h: PPC has the new + syscalls, too. + + * nscd/connections.c (nscd_init): Clean up fcntl call. + + * nscd/nscd_helper.c (open_socket): Use SOCK_CLOEXEC and + SOCK_NONBLOCK if possible. + + * sysdeps/unix/sysv/linux/opensock.c (__opensock): Use + SOCK_CLOEXEC if available. + + * include/rpc/clnt.h: Declare __libc_clntudp_bufcreate and + __libc_clntudp_bufcreate_internal. + * include/sys/socket.h: Declare __have_sock_cloexec. + * socket/Makefile (aux): Add have_sock_cloexec. + * socket/have_sock_cloexec.c: New file. + * sunrpc/clnt_udp.h (clntudp_bufcreate): Now a wrapper around + __libc_clntudp_bufcreate. + (__libc_clntudp_bufcreate): Former implementation of clntudp_bufcreate + which takes an additional parameter. Create socket with non-blocking + mode and close-on-exec flag set, if wanted. + * sunrpc/Versions: Export __libc_clntudp_bufcreate@GLIBC_PRIVATE. + * nis/ypclnt.c (yp_bind_client_create): Use __libc_clntpudp_bufcreate + instead of clntudp_create. The socket has already the close-on-exec + flag set if SOCK_CLOEXEC is defined. + +2008-07-24 Ulrich Drepper + + * sysdeps/unix/sysv/linux/kernel-features.h: Define + __ASSUME_PACCEPT, __ASSUME_IN_NONBLOCK, and __ASSUME_PACCEPT if + appropriate. + * nscd/connections.c: Avoid fcntl calls to set close-on-exec flag and + non-blocking mode by using socket, paccept, and inotify_init1. + + * Versions.def (glibc): Add GLIBC_2.9. + * io/Makefile (routines): Add dup3 and pipe2. + * io/Versions [glibc] (GLIBC_2.9): Add dup3 and pipe2. + * io/dup3.c: New file. + * io/pipe2.c: New file. + * posix/unistd.h: Declare dup3 and pipe2. + * socket/Makefile (routines): Add paccept. + * socket/Versions [glibc] (GLIBC_2.9): Add paccept. + * socket/paccept.c: New file. + * socket/sys/socket.h: Declare paccept. + * sysdeps/unix/syscalls.list: Add entry for dup3. + * sysdeps/unix/sysv/linux/Versions [glibc] (GLIBC_2.9): Add + epoll_create2 and inotify_init1. + * sysdeps/unix/sysv/linux/eventfd.c: Use eventfd1 syscall if possible. + * sysdeps/unix/sysv/linux/paccept.c: New file. + * sysdeps/unix/sysv/linux/signalfd.c: Use signalfd4 syscall if + possible. + * sysdeps/unix/sysv/linux/socketcall.h: Add SOCKOP_paccept. + * sysdeps/unix/sysv/linux/syscalls.list: Add epoll_create2, + inotify_init1, and pipe2 entries. + * sysdeps/unix/sysv/linux/alpha/sys/epoll.h: New file. + * sysdeps/unix/sysv/linux/alpha/sys/eventfd.h: New file. + * sysdeps/unix/sysv/linux/alpha/sys/inotify.h: New file. + * sysdeps/unix/sysv/linux/alpha/sys/signalfd.h: New file. + * sysdeps/unix/sysv/linux/alpha/sys/timerfd.h: New file. + * sysdeps/unix/sysv/linux/bits/socket.h: Define SOCK_CLOEXEC and + SOCK_NONBLOCK. + * sysdeps/unix/sysv/linux/i386/paccept.S: New file. + * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: New file. + * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: New file. + * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: New file. + * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: New file. + * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: New file. + * sysdeps/unix/sysv/linux/sparc/bits/socket.h: New file. + * sysdeps/unix/sysv/linux/sys/epoll.h: Define EPOLL_CLOEXEC and + EPOLL_NONBLOCK. Declare epoll_create2. + * sysdeps/unix/sysv/linux/sys/eventfd.h: Define EFD_CLOEXEC and + EFD_NONBLOCK. + * sysdeps/unix/sysv/linux/sys/inotify.h: Define IN_CLOEXEC and + IN_NONBLOCK. Declare inotify_init1. + * sysdeps/unix/sysv/linux/sys/signalfd.h: Define SFD_CLOEXEC and + SFD_NONBLOCK. + * sysdeps/unix/sysv/linux/sys/timerfd.h: Define TFD_CLOEXEC and + TFD_NONBLOCK. + + * elf/elf.h: Define AT_EXECFN. + * elf/rtld.c [!__ASSUME_AT_EXECFN] (process_envvars): Don't handle + LD_ORIGIN_PATH. + * elf/dl-sysdep.c (_dl_sysdep_start): Handle AT_EXECFN. + * elf/dl-support.c: Define _dl_execfn. Don't define _dl_origin_path + if __ASSUME_AT_EXECFN is defined. + (_dl_aux_init): Handle AT_EXECFN. + * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_AT_EXECFN + for 2.6.27 and up. + * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_execfn. + Don't define _dl_origin_path if __ASSUME_AT_EXECFN is defined. + * sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): Use + _dl_execfn if available and avoid compatibility code if + __ASSUME_AT_EXECFN is defined. + + * sysdeps/unix/sysv/linux/dl-sysdep.h: Don't declare + _dl_discover_osversion only for older kernels. + +2008-07-22 Roland McGrath + + * hurd/fd-read.c (_hurd_fd_read): Fix last change. + +2008-07-21 Roland McGrath + + * hurd/fd-read.c (_hurd_fd_read): Return EGRATUITOUS if the server + returned too much data out of line. + +2008-07-20 Ulrich Drepper + + * locale/setlocale.c (setname): Remove inline to avoid compiler + warning. + + [BZ #6712] + * locale/setlocale.c (setlocale): Take the setlocale lock earlier. + +2008-07-15 Ulrich Drepper + + * stdio-common/vfprintf.c (_IO_helper_overflow): In case _IO_sputn + doesn't manage to write anything, fail. + + * malloc/hooks.c (__malloc_check_init): Remove printf. + +2008-07-14 Samuel Thibault + + * sysdeps/mach/hurd/bits/fcntl.h: Include . + +2008-07-12 Ulrich Drepper + + * nscd/connections.c (main_loop_poll): Fix handling of read errors + from inotify. + (main_loop_epoll): Likewise. + +2008-07-09 Ulrich Drepper + + * resolv/res_send.c: Remove unnecessary res_pquery prototype. + + * resolv/res_query.c (__libc_res_nquery): Issue debug message only + if DEBUG is defined. + + * resolv/res_query.c (__libc_res_nquery): Align buffer for T_AAAA + query. Adjust buffer size computation for padding. + +2008-07-08 Ulrich Drepper + + * stdio-common/Makefile: Add rules to build and run tst-setvbuf1. + * stdio-common/tst-setvbuf1.c: New file. + * stdio-common/tst-setvbuf1.expect: New file. + + [BZ #6719] + * libio/iosetvbuf.c (_IO_setvbuf): Correctly clear buffering flags + when selecting fully-buffered stream. + Patch by Wang Xin . + +2008-07-06 Samuel Thibault + + * sysdeps/mach/hurd/open.c: Include . + (__open_2): New function. + (__open64_2): New alias to __open_2. + * sysdeps/mach/hurd/openat.c: Include . + (__openat_2): New function. + (__openat64_2): New alias to __openat_2. + +2008-07-06 Ulrich Drepper + + [BZ #6723] + * time/mktime.c (__mktime_internal): Normalize tp->tm_isdst value. + +2008-07-01 Samuel Thibault + + * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Define MSG_NOSIGNAL. + * hurd/hurd/fd.h (__hurd_sockfail): Add extern inline function. + * sysdeps/mach/hurd/recv.c (__recv): Use __hurd_sockfail instead of + __hurd_dfail. + * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise. + * sysdeps/mach/hurd/recvmsg.c (__recvmsg): Likewise. + * sysdeps/mach/hurd/send.c (__send): Likewise. + * sysdeps/mach/hurd/sendto.c (__sendfrom): Likewise. + * sysdeps/mach/hurd/sendmsg.c (__sendmsg): Likewise. + +2008-03-04 Samuel Thibault + + * sysdeps/mach/hurd/recv.c (__recv): Initialize NPORTS. + * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise. + * sysdeps/mach/hurd/recvmsg.c (__recvmsg): Likewise. + * hurd/fd-read.c (_hurd_fd_read): Initialize NREAD. + * hurd/get-host.c (_hurd_get_host_config): Likewise. + * sysdeps/mach/hurd/dl-sysdep.c (__libc_read): Likewise. + +2008-06-27 Ulrich Drepper + + [BZ #6657] + * time/strptime_l.c: Don't clear s.era_cnt after successful match + of %EY. + Patch by Petr Baudis. + +2008-06-26 Ulrich Drepper + + * resolv/res_debug.c (__p_type_syms): Add ns_t_dname entry. + Patch by Peter Jones . + +2008-06-25 Ulrich Drepper + + [BZ #6654] + * stdlib/canonicalize.c (__realpath): readlink can write too much + into the buffer on platforms without PATH_MAX. + +2008-06-17 Carlos O'Donell + + [BZ #6653] + * posix/tst-regex.c (main): Rename to... + (do_test): ... this. Remove cmdline option processing. + (TIMEOUT): Define. + (TEST_FUNCTION): Define. + (CMDLINE_OPTIONS): Define. + +2008-06-25 Ulrich Drepper + + [BZ #5210] + * configure.in: Add -Werror to -fstack-protector test to catch + unsupported architectures. + Patch by Gilles Esponasse . + +2008-06-17 Joseph Myers + + * stdlib/tst-setcontext.c: Set back_in_main before exit if + getcontext returns ENOSYS. + +2008-06-18 Ulrich Drepper + + * nscd/connections.c (main_loop_poll): Fix test for read error. + (main_loop_epoll): Likewise. + +2008-06-13 Ulrich Drepper + + * sysdeps/posix/getaddrinfo.c: Move _res_hconf_init call to a + better place so it is not called when nscd is used. + + * nscd/connections.c: Also recognize and handle changes to the + resolver configuration file. + +2008-06-12 Ulrich Drepper + + * time/strftime.c: Pass reference to tzset_called around to handle + recursive calls. + + [BZ #6612] + * time/strftime.c (__strftime_internal): Call tzset() only + when printing timezone-dependent values. + Based on a patch by Petr Baudis . + + * resolv/nss_dns/dns-host.c (gaih_getanswer): Don't + unconditionally use second gaih_getanswer_slice result. + + * sysdeps/posix/getaddrinfo.c (gai_inet): Remove unnecessary test. + (getaddrinfo): RES must always be non-NULL. + +2008-06-12 Jakub Jelinek + + * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Avoid using + cr[34] registers. + * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf): Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround): + Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_lround.S (__lround): Avoid using cr3 + register. + +2008-06-12 Ulrich Drepper + + * nscd/nscd.h (struct database_dyn): Add inotify_descr and clear_cache + fields. + * nscd/connections.c (inotify_fd): New variable. + (nscd_init): Try to open an inotify descriptor. + If successful, watch files for databases using inotify instead of + having prune threads stat the files. + (nscd_run_prune): Recognize clear_cache flag being set and call + prune_cache appropriately. + (main_loop_poll): Add inotify descriptor to wait set and handle the + reported changes. + (main_loop_epoll): Likewise. + * nscd/cache.c (prune_cache): Don't stat files for databases if + inotify is used. + * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] + (CFLAGS-connections.c): Add -DHAVE_INOTIFY. + + * nscd/grpcache.c (cache_addgr): Correctly compute size of + fixed-size portion of the record. + * nscd/servicescache.c (cache_addserv): Likewise. + * nscd/pwdcache.c (cache_addpw): Likewise. + * nscd/initgrcache.c (addinitgroupsX): Likewise. + +2008-06-11 Ulrich Drepper + + * nscd/mem.c (gc): Initialize obstack earlier so that if we jump + out we don't use uninitialized memory. + + * nscd/hstcache.c (cache_addhst): Send correct number of bytes to + the client. + +2008-06-10 Ulrich Drepper + + * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Also log and + ignore T_DNAME messages. + * resolv/arpa/nameser_compat.h (T_DNAME): Define. + +2008-06-05 Jakub Jelinek + + * misc/regexp.h (compile): Use __REPB_PREFIX macro. + Avoid segfault if first GETC returns eof/'\0'/'\n'. + +2008-06-03 Jakub Jelinek + + * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Pass cp + instead of portstr to nscd_getserv_r. Patch by + Roman Kagan . + +2008-05-26 Jim Meyering + + Remove more useless "if" tests before "free". + * include/inline-hashtab.h (htab_delete): Likewise. + * libio/freopen.c (freopen): Likewise. + * libio/freopen64.c (freopen64): Likewise. + * locale/programs/ld-collate.c (collate_read): Likewise. + * misc/fstab.c (libc_freeres_fn): Likewise. + * posix/glob.c (globfree): Likewise. + +2008-05-24 Ulrich Drepper + + * string/Makefile (strop-tests): Add memmem. + * string/test-memmem.c: New file. + * string/test-string.h (BUF1PAGES): Define to 1 if undefined. + (test_init): Size buf1 according to BUF1PAGES. + +2008-05-24 Jakub Jelinek + + * libio/stdio.h (vscanf): Fix -std=c99 redirect. + * stdio-common/Makefile (tests): Add scanf16 and scanf17. + (CFLAGS-scanf17.c): New. + * stdio-common/scanf14.c (main): Add fscanf and scanf tests. + * stdio-common/scanf15.c (main): Likewise. + * stdio-common/scanf16.c: New file. + * stdio-common/scanf17.c: New file. + +2008-05-24 Ulrich Drepper + + * resolv/res_send.c (send_dg): If we already have one of two + answers and the server reports SERVFAIL, NOTIMP, or REFUSED, then + use the one answer insted of failing. + +2008-02-20 Ryan S. Arnold + + * math/libm-test.inc (exp_test): Exclude expl(1000.0L) from + being executed on PowerPC as the expected result exceeds IBM + long double 128 __LDBL_MAX__. + +2008-05-21 Roland McGrath + + * shlib-versions (sparc.*-.*-.*, sparc64.*-.*-.*): Add ABI lines. + + * Makefile (check-data): Use $(abi-name) before other guesses. + Look in $(add-ons) dirs before scripts/data/. + * elf/Makefile (check-data): Likewise. + + * scripts/soversions.awk: Grok ABI line. + * Makeconfig ($(common-objpfx)soversions.mk): Likewise. + Emit definition for abi-name variable. + +2008-05-21 Ulrich Drepper + + * string/endian.h: Define new fixed-size hto* and *toh macros only + if [__USE_BSD]. + + * iconvdata/Depend: Add localedata. + +2008-05-21 Samuel Thibault + + * bits/termios.h (ONLCR): Define under [__USE_XOPEN] too. + +2008-05-08 David S. Miller + + * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S: Use + HIDDEN_JUMPTARGET. + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h + (__SYSCALL_CLOBBERS): Remove %g* registers. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h + (__SYSCALL_CLOBBERS): Likewise. + * scripts/data/localplt-sparc-linux-gnu.data: New file. + * scripts/data/localplt-sparc64-linux-gnu.data: New file. + +2008-05-21 Jakub Jelinek + + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h + (CALL_ERRNO_LOCATION): Define. + (__SYSCALL_STRING, __CLONE_SYSCALL_STRING): Use it. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h + (CALL_ERRNO_LOCATION): Define. + (__SYSCALL_STRING, __CLONE_SYSCALL_STRING): Use it. + * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S (__brk): Use + HIDDEN_JUMPTARGET for __errno_location call in libc.so. + +2008-05-20 Ulrich Drepper + + * include/inline-hashtab.h (higher_prime_number): Fix type of mid + variable. + +2008-05-20 Jakub Jelinek + + * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h + (FIRST_FRAME_POINTER): Define. + +2008-05-09 David S. Miller + + * sysdeps/sparc/sparc64/backtrace.c: New file. + +2008-05-14 David S. Miller + + * sysdeps/sparc/machine-gmon.h: New file. + * sysdeps/sparc/sparc-mcount.S: Likewise. + * sysdeps/sparc/Makefile: Add sparc-mcount target to + sysdep_routines in gmon directory. + +2008-05-19 Jakub Jelinek + + * elf/soinit.c (__EH_FRAME_BEGIN__): Remove. + +2008-05-19 Ulrich Drepper + + * resolv/res_query.c (__libc_res_nquery): In case one of two + answer was too short don't try to read that answer's header. + + * resolv/res_send.c (send_dg): In case of timeout and there are + two queries and one has been answered, return value indicating + success. + +2008-05-18 Ulrich Drepper + + * nscd/cache.c (cache_add): Take additional parameter specifying + whether this is in response of a cache refill. Check alignment + of package data. Revamp waking of pruning thread. + (prune_cache): Small optimization. + * nscd/nscd.h: Adjust cache_add prototypes. + * nscd/aicache.c: Adjust cache_add calls. + * nscd/grpcache.c: Likewise. + * nscd/hstcache.c: Likewise. + * nscd/initgrcache.c: Likewise. + * nscd/pwdcache.c: Likewise. + * nscd/servicescache.c: Likewise. + * nscd/connections.c (restart): Really disable cache use before + exec attempt. If it fails, reenable cache. + (nscd_run_prune): Initialize wakeup_time. After wakeup, set wakeup + time to max to be able to notice concurrent cache additions. Unlock + prune_lock while performing gc. Afterwards compute wakeup time with + current wakeup_time value in mind. + +2008-05-17 Ulrich Drepper + + * nscd/mem.c (gc): Avoid stack overflow when allocating move list. + + * nscd/mem.c (gc): Correctly determine highest used array element + in mark. + + * nscd/mem.c (markrange): Add assert to check entries are all + aligned. Small cleanup in bitmap use. + + * nscd/nscd.h (mem_in_flight): Replace blockaddr field with + blockoff of type nscd_ssize_t. + * nscd/mem.c (gc): Simplify markrange call for on-flight blocks. + (mempoll_alloc): Record block offset and not address. + + * nscd/mem.c (gc): Fix test for stack overuse. + + * nscd/aicache.c (addhstaiX): Fix a few small problems, cleanups, + more asserts. + + * sysdeps/posix/getaddrinfo.c (gaih_inet): If nscd reports no + entry is available, believe it. + + * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): If there are + no answers return NSS_STATUS_NOTFOUND. + (gaih_getanswer): Don't call gaih_getanswer_slice if the answer + buffer does not have any content. + +2008-05-16 Ulrich Drepper + + * string/strcasestr.c (CMP_FUNC): Use __strncasecmp, not strncasecmp. + + * sysdeps/posix/getaddrinfo.c (gaih_inet): After gethostbyname4_r + lookup, don't assign canon unconditionally. + +2008-05-14 Ulrich Drepper + + * string/Makefile (distribute): Add str-two-way.h. + +2008-03-29 Eric Blake + + Rewrite string searches to O(n) rather than O(n^2). + * string/str-two-way.h: New file. For linear fixed-allocation + string searching. + * string/memmem.c: New implementation. + * string/strstr.c: New implementation. + * string/strcasestr.c: New implementation. + +2008-04-11 Paolo Bonzini + + * posix/regcomp.c (optimize_utf8): Add a note on why we test + opr.ctx_type. + (calc_first): Initialize constraint field. + (duplicate_node_closure): Use it instead of special casing ANCHORS. + Use search_duplicated_node to avoid loops. Fix grammar. + (duplicate_node): Merge constraint field for all node types. + (calc_eclosure_iter): Look at constraint field for all node types. + * posix/regex_internal.c (create_cd_newstate): Don't look at + create_cd_newstate. + +2008-05-14 Ulrich Drepper + + [BZ #6428] + * configure.in: Don't use $CFLAGS when assembling, use $ASFLAGS. + + [BZ #6442] + * string/endian.h: Add macros for fixed-size endian conversion. + * bits/byteswap.h: Allow inclusion from . + * sysdeps/i386/bits/byteswap.h: Likewise. + * sysdeps/ia64/bits/byteswap.h: Likewise. + * sysdeps/s390/bits/byteswap.h: Likewise. + * sysdeps/x86_64/bits/byteswap.h: Likewise. + * string/Makefile (tests): Add tst-endian. + * string/tst-endian.c: New file. + + * iconvdata/run-iconv-test.sh: Use = instead of == in test. + Patch by Reuben Thomas. + +2008-05-14 Joseph Myers + + * iconvdata/Makefile (bug-iconv6-ENV, tst-iconv7-ENV): Define. + +2008-05-14 Ulrich Drepper + + * iconvdata/bug-iconv6.c (do_test): Use de_DE.UTF-8 locale. + + [BZ #6461] + * iconv/gconv_simple.c (BODY for __gconv_transform_ascii_internal): + Add missing braces. + (BODY for __gconv_transform_internal_ascii): Likewise. + + [BZ #6472] + * sysdeps/posix/getaddrinfo.c (get_scope): Loopback addresses have + to be treated like link-local addresses. + (match_prefix): Don't treat IPv4 loopback address special when + converting to v4 mapped addressed. + + * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call _res_hconf_init + if necessary. + * posix/tst-rfc3484.c: Add dummy definition of _res_hconf_init. + * posix/tst-rfc3484-2.c: Likewise. + * posix/tst-rfc3484-3.c: Likewise. + + * sysdeps/posix/getaddrinfo.c: Implement handling of DCCP, UDPlite, + and SCTP. + + * nss/getent.c (ahosts_keys_int): Handle all known socket types. + + * inet/netinet/in.h (IPPIPPROTO_DCCP, IPPROTO_UDPLITE): Define. + + * sysdeps/unix/sysv/linux/bits/socket.h (SOCK_DCCP): Define. + +2008-05-13 Ulrich Drepper + + * po/lt.po: New file. From Lituanian translation team. + +2008-01-30 Alexandre Oliva + + Introduce TLS descriptors for i386 and x86_64. + * include/inline-hashtab.h: New file, copied from 2005's + libiberty, with fix for memory leak imported afterwards by + Glauber de Oliveira Costa. + * elf/tlsdeschtab.h: New file. + * elf/dl-reloc.c (_dl_try_allocate_static_tls): Extract from... + (_dl_allocate_static_tls): ... here. Rearrange failure path. + (CHECK_STATIC_TLS): Move to... + * elf/dynamic-link.h: ... this file. + (TRY_STATIC_TLS): New macro. + * elf/dl-conflict.c (CHECK_STATIC_TLS, TRY_STATIC_TLS): Override. + * elf/elf.h (R_386_TLS_GOTDESC, R_386_TLS_DESC_CALL, + R_386_TLS_DESC): Define. + (R_X86_64_PC64, R_X86_GOTOFF64, R_X86_64_GOTPC32): Merge from + binutils. + (R_X86_64_GOTPC32_TLSDESC, R_X86_64_TLSDESC_CALL, + R_X86_64_TLSDESC): Define. + (R_386_NUM, R_X86_64_NUM): Adjust. + * sysdeps/i386/Makefile (sysdep-dl-routines, sysdep_routines, + sysdep-rtld-routines): Add tlsdesc and dl-tlsdesc for elf subdir. + (gen-as-const-headers): Add tlsdesc.sym to csu subdir. + * sysdeps/i386/dl-lookupcfg.h: New file. Introduce _dl_unmap to + release tlsdesc_table. + * sysdeps/i386/dl-machine.h: Include dl-tlsdesc.h. + (elf_machine_type_class): Mark R_386_TLS_DESC as PLT class. + (elf_machine_rel): Handle R_386_TLS_DESC. + (elf_machine_rela): Likewise. + (elf_machine_lazy_rel): Likewise. + (elf_machine_lazy_rela): Likewise. + * sysdeps/i386/dl-tls.h (struct dl_tls_index): Name it. + * sysdeps/i386/dl-tlsdesc.S: New file. + * sysdeps/i386/dl-tlsdesc.h: New file. + * sysdeps/i386/tlsdesc.c: New file. + * sysdeps/i386/tlsdesc.sym: New file. + * sysdeps/i386/bits/linkmap.h (struct link_map_machine): Add + tlsdesc_table. + * sysdeps/x86_64/Makefile (sysdep-dl-routines, sysdep_routines, + sysdep-rtld-routines): Add tlsdesc and dl-tlsdesc for elf subdir. + (gen-as-const-headers): Add tlsdesc.sym to csu subdir. + * sysdeps/x86_64/dl-lookupcfg.h: New file. Introduce _dl_unmap to + release tlsdesc_table. + * sysdeps/x86_64/dl-machine.h: Include dl-tlsdesc.h. + (elf_machine_runtime_setup): Set up lazy TLSDESC GOT entry. + (elf_machine_type_class): Mark R_X86_64_TLSDESC as PLT class. + (elf_machine_rel): Handle R_X86_64_TLSDESC. + (elf_machine_rela): Likewise. + (elf_machine_lazy_rel): Likewise. + * sysdeps/x86_64/dl-tls.h (struct dl_tls_index): Name it. + (__tls_get_addr): Do not declare for non-shared compiles. + * sysdeps/x86_64/dl-tlsdesc.S: New file. + * sysdeps/x86_64/dl-tlsdesc.h: New file. + * sysdeps/x86_64/tlsdesc.c: New file. + * sysdeps/x86_64/tlsdesc.sym: New file. + * sysdeps/x86_64/bits/linkmap.h (struct link_map_machine): Add + tlsdesc_table for both 32- and 64-bit structs. + +2008-05-11 Ulrich Drepper + + * elf/dl-tls.c (__tls_get_addr): Optimize by moving slow path in + its own function. This reduces the frame setup costs and more. + +2008-02-11 Joseph Myers + + [BZ #3406] + * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Correct value. + * math/libm-test.inc (exp_test): Test 88.72269439697265625. + +2008-05-11 Ulrich Drepper + + * io/openat.c (__openat_2): Also pass fd to __openat. + * io/openat64.c (__openat64_2): Also pass fd to __openat64. + Patch by Kristian Van Der Vliet . + + * string/tester.c (test_memcmp): Add a few more tests. + Patch by Mats Erik Andersson . + +2008-05-10 Ulrich Drepper + + * nscd/cache.c (cache_add): Before returning with failure and this + is the first use of the record, mark it as unusable. + * nscd/aicache.c: Don't touch the dataset after cache_add returns + reporting a failure. + * nscd/grpcache.c: Likewise + * nscd/hstcache.c: Likewise. + * nscd/initgrcache.c: Likewise. + * nscd/pwdcache.c: Likewise. + * nscd/servicescache.c: Likewise. + +2008-05-10 Roland McGrath + + [BZ #6505] + * sysdeps/unix/sysv/linux/sys/user.h: Replace with #error stub. + +2008-05-08 David S. Miller + + * misc/truncate64.c (truncate64): Use __truncate not truncate. + + * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee751_j0l): Use __finitel. + (__ieee754_y0l): Likewise. + * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise. + (__ieee754_y1l): Likewise. + * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use __ldexpl. + * sysdeps/ieee754/ldbl-128/s_log1pl.c: Kill bogus prototypes for + frexpl and ldexpl. math_private.h provides them and the latter + is not even used. + (__log1pl): Use __frexpl. + +2008-05-10 Ulrich Drepper + + * include/resolv.h: Adjust __libc_res_nquery and __libc_res_nsend + prototypes. + * include/arpa/nameser_compat.h: Define T_UNSPEC. + * nis/Versions (libnss_nis): Export _nss_nis_gethostbyname4_r. + (libnss_nisplus): Export _nss_nisplus_gethostbyname4_r. + * nis/nss_nis/nis-hosts.c (LINE_PARSER): Change to also handle + af==AF_UNSPEC. + (_nss_nis_gethostbyname4_r): New function. + * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent): + Change to also handle af==AF_UNSPEC. + (get_tablename): New function. Use it to avoid duplication. + (_nss_nisplus_gethostbyname4_r): New function. + * nscd/aicache.c (addhstaiX): Use gethostbyname4_r function is + available. + * nss/Versions (libnss_files): Export _nss_files_gethostbyname4_r. + * nss/nss.h: Define struct gaih_addrtuple. + * nss/nss_files/files-hosts.c (LINE_PARSER): Change to also handle + af==AF_UNSPEC. + (_nss_files_gethostbyname4_r): New function. + * resolv/Versions (libnss_dns): Export _nss_dns_gethostbyname4_r. + * resolv/gethnmaddr.c: Adjust __libc_res_nsearch and __libc_res_nquery + calls. + * resolv/res_query.c (__libc_res_nquery): Take two additional + parameters for second answer buffer. Handle type=T_UNSPEC to mean + look up IPv4 and IPv6. + Change all callers. + * resolv/res_send.c (__libc_res_nsend): Take five aditional parameters + for an additional query and answer buffer. Pass to send_vc and + send_dg. + (send_vc): Send possibly two requests and receive two answers. + (send_dg): Likewise. + * resolv/nss_dns/dns-host.c: Adjust calls to __libc_res_nsearch and + __libc_res_nquery. + (_nss_dns_gethostbyname4_r): New function. + (gaih_getanswer_slice): Likewise. + (gaih_getanswer): Likewise. + * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Adjust + __libc_res_nquery call. + * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r): Likewise. + (_nss_dns_getnetbyname_r): Adjust __libc_res_nsearch call. + * sysdeps/posix/getaddrinfo.c: Use gethostbyname4_r function is + available. + +2008-05-05 David S. Miller + + * sysdeps/sparc/sparc32/Makefile: Use -mcpu=v7 for initfini.s build. + * sysdeps/sparc/sparc64/Makefile: Use -mcpu=v9 for initfini.s build. + +2007-09-14 Samuel Thibault + + Fix termios bit macros. + Move *DLY definitions where they belong, in termios.h. + Add *[0-3] definitions. + Fixes confusion between VT and FF. + * sysdeps/mach/hurd/bits/ioctls.h (NL0, NL1, TAB0, TAB1, TAB2, CR0, + CR1, CR2, CR3, FF0, FF1, BS0, BS1): Undefine these at start if they + are already defined to avoid collision with termios.h. + (NLDLY, TABDLY, TAB3, CRDLY, VTDLY, BSDLY): Remove macros. + * bits/termios.h [__USE_MISC || __USE_XOPEN] (NL0, NL1, TAB0, + TAB1, TAB2, CR0, CR1, CR2, CR3, FF0, FF1, BS0, BS1): Likewise. + [__USE_BSD || __USE_XOPEN] (OCRNL, ONOCR, ONLRET): New macros. + [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, TABDLY, TAB0, TAB1, TAB2, + TAB3, CRDLY, CR0, CR1, CR2, CR3, FFDLY, FF0, FF1, BSDLY, BS0, BS1, + VTDLY, VT0, VT1): New macros. + [__USE_GNU] (OLCUC): Change value of macro. + [__USE_XOPEN] (OFILL): New macro. + [__USE_BSD] (CRTSCTS): Change value. + (CRTS_IFLOW, CCTS_OFLOW): Change into compatibility macros. + [__USE_BSD] (CDTRCTS, CHWFLOW): New macros. + (B7200, B14400, B28800, B76800): New macros. + +2008-05-01 David S. Miller + + * sysdeps/unix/sysv/linux/sparc/sparc32/ucontext_i.sym: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile [$(subdir) = stdlib]: + (gen-as-const-headers): Add it. + * sysdeps/unix/sysv/linux/sparc/sparc32/getcontext.S: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/swapcontext.S: Likewise. + + * sysdeps/unix/sysv/linux/sparc/sparc32/syscall.S: Add support for + six system call parameters. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise. + +2008-04-30 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/resource.h: Define RUSAGE_THREAD and + RUSAGE_LWP. + * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise. + +2008-04-30 Jakub Jelinek + + * stdlib/tst-setcontext.c: Include unistd.h. + +2008-04-25 David S. Miller + + * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c (semctl): + Pass "union semun" properly in to sys_ipc, it must be passed + by value, not by reference. + +2008-04-22 Jakub Jelinek + + * nscd/Makefile (nscd-cflags): Set back to -fpie. + * nscd/nscd.h (mem_in_flight): Add attribute_tls_model_ie. + * nscd/connections.c (mem_in_flight): Likewise. + + * nscd/nscd.h (dbs): Make hidden. + + * sysdeps/unix/sysv/linux/times.c (__times): Fix check for EFAULT. + Avoid returning -1, return 0 instead. + +2008-04-19 Ulrich Drepper + + * resolv/res_mkquery.c (__res_nopt): Use NS_PUT16 instead of ns_put16. + +2008-04-15 Ulrich Drepper + + [BZ #5209] + * sysdeps/unix/sysv/linux/times.c: New file. + + [BZ #5381] + * nscd/nscd.h: Define enum in_flight, mem_in_flight, and + mem_in_flight_list variables. Add new parameter to mempool_alloc + prototype. + * nscd/mem.c (mempool_alloc): Take additional parameter. Initialize + appropriate mem_in_flight element. + (gc): Take allocations which have not yet been committed to the + database into account. + * nscd/cache.c (cache_add): Add new parameter to mempool_alloc call. + Reset mem_in_flight before returning. + * nscd/connections.c (nscd_run_worker): Initialize mem_in_flight and + cue it up in mem_in_flight_list. + * nscd/aicache.c: Adjust mempool_alloc call. + * nscd/grpcache.c: Likewise. + * nscd/hstcache.c: Likewise. + * nscd/initgrcache.c: Likewise. + * nscd/pwdcache.c: Likewise. + * nscd/servicescache.c: Likewise. + * nscd/Makefile (nscd-flags): Until ld is fixed, use -fpic instead + of -fpie. + + * nscd/connections.c (handle_request): Provide better error message + in case SELinux forbids the service. + + * version.h (VERSION): Bump to 2.8.90. + +2008-04-17 Jakub Jelinek + + * sysdeps/unix/sysv/linux/dl-osinfo.h: Include fcntl.h. + +2008-04-11 Ulrich Drepper + + * sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h (__signbitl): + Also use for 32-bit. + * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Use + __nextafter instead of nextafter to avoid local PLT. + * sysdeps/powerpc/fpu/e_sqrt.c: Avoid call to fetestexcept. + * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise. + + * scripts/data/localplt-powerpc64-linux-gnu.data: New file. + + * sysdeps/powerpc/fpu/fenv_libc.h: Add libm_hidden_proto for + __fe_nomask_env. + * sysdeps/powerpc/fpu/fe_nomask.c: Add libm_hidden_def. Include + instead of . + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise. + + * sysdeps/powerpc/bits/fenv.h: Make safe for C++. + + * sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h: New file. + * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Rename + function from fegetexcept and make old name weak alias. + * include/fenv.h: Declare __fegetexcept. + * sysdeps/powerpc/fpu/fedisblxcpt.c: Use __fegetexcept instead of + fegetexcept. + * sysdeps/powerpc/fpu/feenablxcpt.c: Likewise. + * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Avoid call + to fetestexcept. + * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Use __frexpl + instead of frexpl to avoid local PLT. + * math/s_significandl.c (__significandl): Use __ilogbl instead of + ilogbl to avoid local PLT. + * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __ldexpl + instead of ldexpl to avoid local PLT. + * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use + __roundl not roundl to avoid local PLT. + * sysdeps/ieee754/ldbl-128/e_j0l.c: Use function names which avoid + local PLTs. Use __sincosl instead of separate sinl and cosl + calls. + * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise. + + * sysdeps/unix/sysv/linux/configure.in: Bump minimal kernel + version for ppc64 to 2.4.21 since without it makecontext will fail. + + * elf/tls-macros.h [__powerpc64__] (__TLS_GET_ADDR): Define according + to the ABI in use. + [__powerpc64__] (TLS_LD): Use __TLS_GET_ADDR instead of + .__tls_get_addr. + [__powerpc64__] (TLS_GD): Likewise. + +2007-11-20 Ryan S. Arnold + + [BZ #4997] + * sysdeps/powerpc/powerpc32/fpu/s_lround.S (__lround): Fixed erroneous + result when x is +/-nextafter(+/-0.5,-/+1) i.e. all 1's in the + mantissa. + * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround): + Likewise. Also account for when x is an odd number between 2^52 + and 2^53-1. + * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf): Likewise. + * math/libm-test.inc (lround_test, llround_test): Added test cases to + detect aforementioned erroneous conditions. + +2008-04-11 Jakub Jelinek + + * configure.in: Check for -fno-section-anchors in addition to + -fno-toplevel-reorder. + +2008-04-11 Ulrich Drepper + + * include/features.h (__GLIBC_MINOR__): Bump to 8. + + * sysdeps/powerpc/powerpc32/fpu/s_lroundf.S: Remove duplicate comment. + * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise. + * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise. + +2008-04-11 Jakub Jelinek + + [BZ #5443] + * time/era.c: Transform __libc_setlocale_lock into rwlock. + * time/alt_digit.c: Likewise. + * wcsmbs/wcsmbsload.c: Likewise. + +2008-04-10 Ulrich Drepper + + * version.h (VERSION): Bump to 2.8. + + * timzeone/asia: Update from tzdata2008b. + * timezone/backward: Likewise. + * timezone/europe: Likewise. + * timezone/northamerica: Likewise. + * timezone/southamerica: Likewise. + * timezone/iso3166.tab: Likewise. + * timezone/leapseconds: Likewise. + * timezone/zone.tab: Likewise. + * timezone/private.h: Update from tzcode2008a. + * timezone/zdump.c: Likewise. + * timezone/zic.c: Likewise. + +2008-01-24 Steven Munroe + + [BZ #5741] + * sysdeps/powerpc/powerpc64/dl-machine.h (PPC_DCBT, PPC_DCBF): + Define additonal Data Cache Block instruction macros. + (elf_machine_fixup_plt): Add dcbt for opd and plt entries. + Replace dcbst with dcbf and sync with sync/isync. + +2008-02-21 Alan Modra + + * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class): + Always set ELF_RTYPE_CLASS_PLT. + (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p): Delete. + +2008-04-03 Steven Munroe + + * sysdeps/powerpc/powerpc32/power4/hp-timing.c: New file. + * sysdeps/powerpc/powerpc32/power4/hp-timing.h: New file. + * sysdeps/powerpc/powerpc64/hp-timing.h [_ARCH_PWR4] (HP_TIMING_NOW): + For ISA 2.01 and later replace mftb with mfspr 268. + +2008-02-19 Steven Munroe + + [BZ #5768] + * sysdeps/powerpc/fpu/Makefile (libm-tests): Add test-powerpc-snan. + * sysdeps/powerpc/fpu/test-powerpc-snan.c: New file. + +2008-02-18 Steven Munroe + + [BZ #5768] + * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: New file. + * sysdeps/powerpc/powerpc32/fpu/s_isnan.c: Removed. + * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_isnan.c: Removed. + +2008-04-10 Jakub Jelinek + + * stdlib/tst-makecontext.c (othervar): New variable. + (cf): Test sign extending the argument to long. + +2008-03-03 Steven Munroe + + * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: New file. + * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: New file. + * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: New file. + * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: New file. + * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: New file. + * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: New file. + * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: New file. + +2008-02-22 Alan Modra + + * elf/Makefile (tests): Substitute tests-vis-yes here. + (tests-vis-yes): Delete. + (modules-name, modules-vis-yes): Similarly. + +2008-02-12 Pete Eberlein + + [BZ #4407] + * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): + Preserve sign in signgamp when x is zero. + +2007-10-26 Steven Munroe + + * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: New File. + * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.c: Removed. + * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: New File. + * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.c: Removed. + * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: New File. + * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: New File. + +2008-04-09 Ulrich Drepper + + [BZ #4314] + * sysdeps/i386/i686/memcpy.S: Optimize copying of equally aligned + buffers. + + [BZ #5209] + * sysdeps/unix/sysv/syscalls.list: The times syscall doesn't have + a reserved error value. + + * stdlib/tst-makecontext.c: Change parameter to cf to negative + value to check for correct sign extension. + + [BZ #5436] + * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext): + Copy 64-bit parameter values even though this is not required in + the standard. + + * sysdeps/unix/sysv/linux/x86_64/vfork.S (__vfork): Record return + PC save. + +2008-02-14 Daniel Jacobowitz + + * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork): Record return + PC save. + +2008-04-09 Jakub Jelinek + + * nss_files/files-XXX.c (_nss_files_getXXent_r): Restore saved errno. + +2008-04-09 Ulrich Drepper + + [BZ #5998] + * libio/iofwrite.c (_IO_fwrite): Return correct count if flushing + in line-buffered stream failed. + * libio/iofwrite_u.c (fwrite_unlocked): Likewise. + +2008-04-08 Ulrich Drepper + + [BZ #6024] + * scripts/abi-versions.awk: If the version specified by + --enable-oldest-abi is older than the first version for this + architecture, use the default version. + + * locale/programs/ld-collate.c (collate_read): Ignore script lines + as well when ignoring the whole category. + +2008-04-07 Ulrich Drepper + + [BZ #6042] + * sysdeps/unix/sysv/linux/net/ethernet.h: Add a few more + ETHERTYPE_* definitions. + Patch partly by Aurelien Jarno . + +2008-04-07 Jakub Jelinek + + * stdlib/mbtowc.c (__no_r_state): Remove. + (mbtowc): New static state variable. Use it instead of + __no_r_state. + * stdlib/wctomb.c (__no_r_state): Remove extern decl. + (__wctomb_state): New hidden variable. + (wctomb): Use __wctomb_state instead of __no_r_state. + * debug/wctomb_chk.c (__no_r_state): Remove extern decl. + (__wctomb_state): New extern decl. + (__wctomb_chk): Use __wctomb_state instead of __no_r_state. + +2008-04-07 Ulrich Drepper + + [BZ #5475] + * resolv/res_init.c: Handle scope IDs in resolv.conf. + +2008-04-07 Jakub Jelinek + + * malloc/mtrace.pl: Use $@ instead of $* to keep perl 5.10 quiet. + +2008-04-06 Ulrich Drepper + + * po/nl.po: Update from translation team. + +2008-03-31 Ulrich Drepper + + [BZ #6007] + * string/strfry.c: Handle empty strings again. + +2008-03-30 Ulrich Drepper + + [BZ #5443] + * intl/dcigettext.c (__dcigettext): Get reader lock for locale data + before looking for translation. + * locale/duplocale.c: Transform __libc_setlocale_lock into rwlock. + * locale/freelocale.c: Likewise. + * locale/newlocale.c: Likewise. + * locale/setlocale.c: Likewise. + Based partially on a patch by ryo@np.css.fujitsu.com. + +2008-03-30 Jakub Jelinek + + * intl/dcigettext.c (_nl_find_msg): Reread nconversions after + acquiring wrlock. Do conv_tab allocation while holding lock. + * intl/Makefile: Add rules to build and run tst-gettext6. + * intl/tst-gettext6.c: New test. + * intl/tst-gettext6.sh: New file. + +2008-03-30 Ulrich Drepper + + * po/nl.po: Update from translation team. + + * sysdeps/unix/opendir.c (__alloc_dir): If allocation fails for size + provided through st_blksize, try the default size before giving up. + +2008-03-29 Ulrich Drepper + + * stdio-common/vfprintf.c (vfprintf): Correct overflow test. + + [BZ #5939] + * sysdeps/posix/tempname.c (__gen_tempname): Correct flag selection. + + * posix/getopt.c (_getopt_internal_r): Remove old POSIX-demanded + error message. POSIX today does not require the messages to be in + a specific form. Suggested by Jim Meyering . + + [BZ #5979] + * sunrpc/auth_unix.c: Unify printed strings. + * sunrpc/clnt_tcp.c: Likewise. + * sunrpc/clnt_udp.c: Likewise. + * sunrpc/clnt_unix.c: Likewise. + * sunrpc/svc_tcp.c: Likewise. + * sunrpc/svc_udp.c: Likewise. + * sunrpc/svc_unix.c: Likewise. + * sunrpc/xdr.c: Likewise. + * sunrpc/xdr_array.c: Likewise. + * sunrpc/xdr_rec.c: Likewise. + * sunrpc/xdr_ref.c: Likewise. + * locale/programs/ld-time.c (time_finish): Unify messages. + * locale/programs/locfile.c (handle_copy): Fix typo. + * nscd/nscd.c (options): Fix typo. + + [BZ #5995] + * stdlib/strtod_l.c: Use correct sign for result in one more + underflow case. + Patch by Eric Blake . + +2008-03-27 Jakub Jelinek + + * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Add open + and creat system calls. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove open system + call. + * sysdeps/unix/sysv/linux/ia64/syscalls.list: Remove open and creat + system calls. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. + +2008-03-27 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefined ARG_MAX if + has defined it. + * sysdeps/unix/sysv/linux/sys/param.h: Define NCARGS to the legacy + ARG_MAX value and prevent ARG_MAX from being defined by the kernel + headers. + * sysdeps/unix/sysv/linux/sysconf.c: Define legacy_ARG_MAX and use + it instead of ARG_MAX. + +2008-03-25 Jakub Jelinek + + * posix/gai.conf: Fix comment for scope nullbits. + * sysdeps/posix/getaddrinfo.c (gaiconf_init): If /bits is not present, + default to 128 bits for v4 mapped addresses. + +2008-03-07 Martin Schwidefsky + + * sysdeps/s390/fpu/fegetenv.c (fegetenv): Remove PTRACE_PEEKUSER + ptrace call to get the ieee_instruction_pointer from the kernel. + * sysdeps/s390/fpu/fesetenv.c (fesetenv): Remove PTRACE_POKEUSER + ptrace call to set the ieee_instructtion_pointer. + * sysdeps/unix/sysv/linux/s390/sys/user.h (struct _user_regs_struct): + Add comment that ieee_instruction_pointer is always 0. + +2008-03-09 Andreas Jaeger + + [BZ #5857] + * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Handle j0==18. + * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Likewise. + Patch by Mark Elliott . + + * math/libm-test.inc (nearbyint_test): Add new test cases from #5857. + (rint_test): Likewise. + +2008-03-24 Ulrich Drepper + + * nis/nis_call.c (nis_server_cache_search): Save errno around stat + call. + (__nisfind_server): Similar for open readColdStartFile call. + Patch partially by Jim Meyering. + * nss/nss_files/files-XXX.c (_nss_files_getXXent_r): Save errno + around internal_setent call. + + * po/vi.po: New Vietnamese translation. + + * sysdeps/unix/sysv/linux/adjtime.c: Correctly use + ADJ_OFFSET_SS_READ. + + * sysdeps/unix/sysv/linux/bits/sched.h: Add new CLONE_* flags, + remove CLONE_STOPPED. + +2008-02-10 Jim Meyering + + Remove useless "if" before "free": + * elf/ldconfig.c (parse_conf_include): Likewise. + * gmon/gmon.c (weak_alias): Likewise. + * iconv/gconv_conf.c (__gconv_get_path): Likewise. + * inet/rcmd.c (__validuser2_sa): Likewise. + * intl/bindtextdom.c (set_binding_values): Likewise. + * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Likewise. + * libio/genops.c (save_for_backup): Likewise. + * libio/wgenops.c (save_for_wbackup): Likewise. + * locale/programs/ld-collate.c (collate_read): Likewise. + * locale/programs/linereader.c (get_string): Likewise. + * nis/nss_compat/compat-pwd.c (give_pwd_free): Likewise. + * nis/nss_compat/compat-spwd.c (give_spwd_free): Likewise. + * resolv/res_debug.c (do_section): Likewise. + * sunrpc/xdr_sizeof.c (x_inline, xdr_sizeof): Likewise. + * sysdeps/mach/hurd/if_index.c (libc_hidden_def): Likewise. + * sysdeps/posix/sprofil.c (__sprofil): Likewise. + * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise. + * time/tzset.c (tzset_internal): Likewise. + +2008-03-18 Jakub Jelinek + + * sysdeps/unix/sysv/linux/dl-sysdep.h: Use __ASSEMBLER__ instead + of ASSEMBLER. + +2008-03-11 Ulrich Drepper + + [BZ #5903] + * iconv/iconv_charmap.c (charmap_conversion): Pass name of output file + not stream for output file. Open output file here. + * iconv/iconv_prog.c (process_lock): Take pointer to output stream + and output file name. + (process_fd): Likewise. + (process_file): Likewise. + (main): Adjust callers of changed functions. + * iconv/iconv_prog.h: Adjust prototype. + +2008-03-09 Andreas Jaeger + + [BZ #5753] + * sysdeps/ia64/ieee754.h: Use protected namespace + __BIG_ENDIAN/__LITTLE_ENDIAN. + * sysdeps/ieee754/ieee754.h: Likewise. + Patch by Aurelien Jarno . + +2008-03-08 Roland McGrath + + * hurd/hurdsig.c (_hurd_internal_post_signal): When normal rules would + ignore a signal that came from a machine exception, treat it as a + fatal core-dump signal instead. + Reported by Samuel Thibault . + + * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): + Clear DF bit in thread state's eflags. + Reported by Samuel Thibault . + +2008-03-08 Ulrich Drepper + + [BZ #5774] + * stdlib/strtod_l.c (____STRTOF_INTERNAL): Consume closing brace + of NAN(...) sequence. + * stdlib/Makefile (tests): Add tst-strtod6. + * stdlib/tst-strtod6.c: New file. + + * inet/inet6_opt.c (inet6_opt_init): Check extlen for overflow. + + [BZ #5762] + * posix/getopt.c (_getopt_internal_r): Clarify error message by + putting offending option character in quotes. Clean up error + messages. + * po/be.po: Adjust msgstr in translation file. + * po/bg.po: Likewise. + * po/ca.po: Likewise. + * po/cs.po: Likewise. + * po/da.po: Likewise. + * po/de.po: Likewise. + * po/es.po: Likewise. + * po/fr.po: Likewise. + * po/hr.po: Likewise. + * po/ko.po: Likewise. + * po/nl.po: Likewise. + * po/rw.po: Likewise. + * po/sk.po: Likewise. + * po/sv.po: Likewise. + * po/tr.po: Likewise. + * po/zh_CN.po: Likewise. + * po/zh_TW.po: Likewise. + + [BZ #5760] + * inet/inet6_opt.c (inet6_opt_init): Fix ip6h_len computation. + Patch by Roland Bless . + + * sysdeps/unix/sysv/linux/dl-sysdep.c: Avoid unnecessary code for + .o file. + * elf/Makefile (routines): Add dl-sysdep. + (elide-routines.os): Likewise. + +2008-03-07 Ulrich Drepper + + [BZ #5786] + * elf/dl-sysdep.c: Undefine ROUND after use. + * sysdeps/generic/ldsodefs.h [HAVE_DL_DISCOVER_OSVERSION] + (struct rtld_global_ro): Add _dl_tls_get_addr_soft element. + * elf/rtld.c (rtld_global_ro): Initialize _dl_discover_osversion. + * sysdeps/unix/sysv/linux/dl-osinfo.h: Move _dl_discover_osversion + to ... + * sysdeps/unix/sysv/linux/dl-sysdep.c: ...here. + * sysdeps/unix/sysv/linux/dl-sysdep.h: Declare _dl_discover_osversion + if necessary. + * sysdeps/unix/sysv/linux/sysconf.c: Handle _SC_ARG_MAX here. + + * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add + _dl_tls_get_addr_soft element. + * elf/rtld.c (rtld_global_ro): Initialize _dl_tls_get_addr_soft. + * elf/Versions (ld): Don't export _dl_tls_get_addr_soft. + * dlfcn/dlinfo.c (dlinfo_doit): Access dl_tls_get_addr_soft through + GLRO. + * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise. + * elf/dl-tls.c (_dl_tls_get_addr_soft): Use attribute_hidden instead + of internal_function. + + * stdlib/Makefile (aux): Add tens_in_limb. + * stdlib/strtod_l.c: Move _tens_in_limb definition to... + * stdlib/tens_in_limb.c: ...here. New file. + + [BZ #5778] + * sysdeps/unix/sysv/linux/pathconf.h: Declare + __statfs_chown_restricted. + * sysdeps/unix/sysv/linux/fpathconf.c: Call __statfs_chown_restricted + for _PC_CHOWN_RESTRICTED. + * sysdeps/unix/sysv/linux/pathconf.c: Likewise. + Implement __statfs_chown_restricted. + * sysdeps/unix/sysv/linux/bits/posix_opt.h: Change + _POSIX_CHOWN_RESTRICTED value to zero. + * io/tst-fchownat.c: Correctly handle _POSIX_CHOWN_RESTRICTED + defined to zero. + + * sysdeps/x86_64/rtld-memset.c: New file. + +2008-02-26 Harsha Jagasia + + * sysdeps/x86_64/cacheinfo.c (NOT_USED_RIGHT_NOW): Remove ifdef guards. + + * sysdeps/x86_64/memset.S: Rewrite non-SSE code path as tuned for AMD + Barcelona machine. Make default fall through branch of + __x86_64_preferred_memory_instruction check as the integer code path. + +2007-10-15 H.J. Lu + + * sysdeps/x86_64/cacheinfo.c + (__x86_64_preferred_memory_instruction): New variable. + (init_cacheinfo): Initialize __x86_64_preferred_memory_instruction. + + * sysdeps/x86_64/memset.S: Rewrite. + +2008-03-04 Jakub Jelinek + + * include/stdio.h (__asprintf_chk, __dprintf_chk, + __obstack_printf_chk): New prototypes. + (__vasprintf_chk, __vdprintf_chk, + __obstack_vprintf_chk): Likewise. + Add libc_hidden_proto. + * libio/obprintf.c + (_IO_obstack_jumps): No longer static, add attribute_hidden. + * libio/bits/stdio-ldbl.h (__asprintf_chk, __dprintf_chk, + __obstack_printf_chk, __vasprintf_chk, __vdprintf_chk, + __obstack_vprintf_chk): Add __LDBL_REDIR_DECL. + * libio/bits/stdio2.h (__asprintf_chk, __dprintf_chk, + __obstack_printf_chk, __vasprintf_chk, __vdprintf_chk, + __obstack_vprintf_chk): New prototypes. + (asprintf, __asprintf, dprintf, obstack_printf, vasprintf, vdprintf, + obstack_vprintf): New inlines. + * debug/dprintf_chk.c: New file. + * debug/vdprintf_chk.c: New file. + * debug/asprintf_chk.c: New file. + * debug/vasprintf_chk.c: New file. + * debug/obprintf_chk.c: New file. + * debug/tst-chk1.c (do_test): Add asprintf and obstack_printf tests. + * debug/Versions (__asprintf_chk, __dprintf_chk, __obstack_printf_chk, + __vasprintf_chk, __vdprintf_chk, __obstack_vprintf_chk): Export + @@GLIBC_2.8. + * debug/Makefile: Build asprintf_chk, vasprintf_chk, dprintf_chk, + vdprintf_chk and obprintf_chk, set CFLAGS for them. + * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vasprintf_chk, + __nldbl___vdprintf_chk, __nldbl___obstack_vprintf_chk): Add + libc_hidden_proto. + * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl___vasprintf_chk, + __nldbl___vdprintf_chk, __nldbl___obstack_vprintf_chk): New prototypes. + * sysdeps/ieee754/ldbl-opt/Versions (__nldbl___asprintf_chk, + __nldbl___vasprintf_chk, __nldbl___dprintf_chk, __nldbl___vdprintf_chk, + __nldbl___obstack_printf_chk, __nldbl___obstack_vprintf_chk): Export + @@GLIBC_2.8. + * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add asprintf_chk, + vasprintf_chk, dprintf_chk, vdprintf_chk, obstack_printf_chk and + obstack_vprintf_chk. + * sysdeps/ieee754/ldbl-opt/nldbl-obstack_vprintf_chk.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-dprintf_chk.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-obstack_printf_chk.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-asprintf_chk.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vdprintf_chk.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vasprintf_chk.c: New file. + +2008-03-04 Ulrich Drepper + + [BZ #5779] + * misc/sys/queue.h: Add STAILQ_CONCAT and TAILQ_CONCAT definitions. + Patch by Roy Marples . + + [BZ #5736] + * malloc/malloc.c: Fix typo in comment. + + [BZ #5627] + * locale/iso-639.def: Add Shuswap. + +2008-02-25 Jakub Jelinek + + [BZ #5790] + * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Don't + overwrite *h_errnop/*errnop values from getanswer_r in case of + failure. + +2008-03-03 Ulrich Drepper + + [BZ #5818] + * nscd/connections.c (dbs): Add initializers for .suggested_module. + (verify_persistent_db): Remove one unnecessary test and add a new one + for bad configuration. + (nscd_init): Improve error reported when persistent database cannot + be reused. + * nscd/nscd.h (DEFAULT_SUGGESTED_MODULE): Define. + * nscd/nscd_conf.c (nscd_parse_file): Provide default values for + .suggested_module and .max_db_size and case config file says the + values are zero. + * nscd/nscd_helper.c (get_mapping): Fail if hash table module is zero. + + [BZ #5854] + * nis/ypclnt.c (yp_order): Fix handling of return value of + do_ypcall_tr call. + Patch by Jeff Moyer . + + * po/fr.po: Update from translation team. + +2008-02-22 Andreas Jaeger , + Carlos O'Donell + + [BZ #5012] + * FAQ.in: Describe why glibc needs to be compiled with + optimization. + +2008-02-19 Roland McGrath + + * elf/elf.h (SHT_GNU_ATTRIBUTES): New macro. + +2008-02-15 Ulrich Drepper + + [BZ #5737] + * resolv/netdb.h: Make NI_MAXHOST and NI_MAXSERV available when + __USE_MISC is defined. + +2008-02-10 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sys/timerfd.h: New file. + * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers): Add + sys/timerfd.h. + * sysdeps/unix/sysv/linux/syscalls.list: Add timerfd_create, + timerfd_gettime, timerfd_settime. + * sysdeps/unix/sysv/linux/Versions: Add timerfd_create, + timerfd_gettime, timerfd_settime for GLIBC_2.8. + +2008-02-08 Roland McGrath + + * elf/elf.h (NT_PPC_SPE): New macro. + +2008-02-06 Roland McGrath + + * Makerules ($(common-objpfx)sysd-rules): + Depend on $(sysdep-makeconfigs). + +2008-01-31 Roland McGrath + + [BZ #5442] + * configure.in: Use -print-file-name if it yields a directory, + for each of include and include-fixed. + * configure: Regenerated. + + * Makeconfig (sysd-rules-targets): New variable. + * sysdeps/unix/make-syscalls.sh: Use it in the rules emitted. + * sysdeps/unix/Makefile (omit-deps): Append variants for each target. + +2008-01-30 Roland McGrath + + * manual/libc.texinfo: Update back-cover text. + + * elf/elf.h (NT_386_TLS): New macro. + +2008-01-29 Roland McGrath + + * Makeconfig (sysd-rules-patterns): New variable. + * Makerules ($(common-objpfx)sysd-rules): Drive the loop from that. + (check-inhibit-asm): New canned sequence, replaces ... + (open-check-inhibit-asm, close-check-inhibit-asm): ... these, removed. + * elf/rtld-Rules ($(objpfx)rtld-%.os): Use $(rtld-CPPFLAGS) in commands. + (rtld-CPPFLAGS): Renamed from CPPFLAGS-rtld. + (CFLAGS-rtld): Variable removed. + +2008-01-24 Roland McGrath + + * configure.in: Let configure fragments set base_os. + * configure: Regenerated. + +2008-01-22 Ulrich Drepper + + * po/ko.po: Update from translation team. + +2008-01-12 H.J. Lu + + * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Use short for fnstsw. + +2008-01-12 Andreas Jaeger + + [BZ #5040] + * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h (enum EPOLL_EVENTS): + Add EPOLLRDHUP. + +2008-01-20 Samuel Thibault + + * hurd/hurdsock.c (_hurd_socket_server): Return the standard + error EAFNOSUPPORT rather than non-standard EPFNOSUPPORT. + * sunrpc/bindrsvprt.c (bindresvport): Likewise. + +2007-10-23 Alexandre Oliva + + * include/link.h (FORCED_DYNAMIC_TLS_OFFSET): Define. + * elf/dl-close.c (_dl_close): Check for it. + * elf/dl-reloc.c (CHECK_STATIC_TLS): Likewise. + (_dl_allocate_static_tls): Likewise. + * elf/dl-tls.c (_dl_allocate_tls_init): Likewise. + (__tls_get_addr): Protect from race conditions in setting l_tls_offset + to it. + * elf/tst-tls16.c: New file. + * elf/tst-tlsmod16a.c: New file. + * elf/tst-tlsmod16b.c: New file. + * elf/Makefile: Add rules to build and run tst-tls16. + +2008-01-16 Ulrich Drepper + + [BZ #5628] + * bits/shm.h: Fix comment describing shmid_ds. + * sysdeps/gnu/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise. + Patch by Hareesh Nagarajan . + + [BZ #5607] + * conform/data/fcntl.h-data: Fix posix_fadvise and posix_fallocate + prototypes. + * conform/data/limits.h-data: Adjust limits changed in v6 and add + additional suffixes. + * conform/data/mqueue.h-data: Fix typo in mq_curmsgs entry. + Add optional functions mq_timedreceive and mq_timedsend. + * conform/data/netdb.h-data: Add more AI_* and EAI_* constants. + * conform/data/pthread.h-data: Fix prototype of + pthread_condattr_setclock. pthread_sigmask is not required in v6. + * conform/data/semaphore.h-data: Allow time.h definitions. + * conform/data/signal.h-data: Likewise. + * conform/data/stdio.h-data: getw and putw are not required in v6. + * conform/data/stdlib.h-data: Change setstate prototype. + * conform/data/string.h-data: Fix strerror_r prototype. + * conform/data/time.h-data: Fix typo in TIMER_ABSTIME definition. + * conform/data/unistd.h-data: pthread_atfork not required in v6. + Fix readlink prototype. + * conform/data/netinet/in.h-data: Add const to in6addr_any and + in6addr_loopback. + * inet/netinet/in.h: Cleanup namespace. + * posix/regex.h: Likewise. + * resolv/netdb.h: Likewise. + * sysdeps/unix/sysv/linux/bits/in.h: Likewise. + * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise. + * sysdeps/posix/getaddrinfo.c (default_labels): Adjust for change + of names of in in6_addr. + (default_precedence): Likewise. + * sysdeps/unix/sysv/linux/cmsg_nxthdr.c: Include for + NULL definition. + +2008-01-15 Ulrich Drepper + + * conform/data/fmtmsg.h-data: Add missing allows. + * conform/data/ftw.h-data: Likewise. + * conform/data/inttypes.h-data: Likewise. + * conform/data/math.h-data: Likewise. + * conform/data/signal.h-data: Likewise. + * conform/data/net/if.h-data: Likewise. + * conform/data/netinet/in.h-data: Likewise. + * conform/data/sys/socket.h-data: Likewise. + + [BZ #5614] + * string/bits/string2.h (__strtok_r_1c): Always update *__NEXTP. + (__strtok_r): Simplify. + * string/tester.c (test_strtok_r): Add test case for futile search + with single-character seach string. + +2008-01-12 Ulrich Drepper + + * po/ko.po: Update from translation team. + +2008-01-11 Andreas Jaeger + + [BZ #5600] + * sysdeps/unix/sysv/linux/sys/signalfd.h (struct + signalfd_siginfo): Use 64-bit type for ssi_ptr to sync with Linux + kernel header. + +2008-01-10 Ulrich Drepper + + * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Store result of + native interface lookup in all the relevant places. + +2008-01-10 Jakub Jelinek + Ulrich Drepper + + * sysdeps/posix/getaddrinfo.c (sort_results): Remove service_order + field. Use sockaddr_in6 for source_addr. + (get_scope): Change type of parameter to sockaddr_in6. Adjust. + (match_prefix): Likewise. + (get_label): Likewise. + (get_precedence): Likewise. + (rfc3484_sort): Change to use indirect access to results array. + Adjust to use of sockaddr_in6. Replace service_order test with + simple index comparison. + (getaddrinfo): Define order array. Initialize it. Don't initialize + service_order field. Adjust qsort_t calls. Access sorted result + array indirectly through order array. + * posix/tst-rfc3484.c: Adjust for change of rfc3484_sort. + * posix/tst-rfc3484-2.c: Likewise. + * posix/tst-rfc3484-3.c: Likewise. + +2008-01-09 Ulrich Drepper + + [BZ #5541] + * sunrpc/rpc_thread.c (__rpc_thread_destroy): Also free xports and + pollfd structures. + Patch by AndrĂ© Cruz. + + [BZ #5545] + * sunrpc/clnt_perr.c (clnt_sperror): Don't use fixed size buffer. + (clnt_spcreateerror): Likewise. + + [BZ #5553] + * malloc/malloc.c (public_mALLOc): Set ar_ptr when trying main_arena. + (public_mEMALIGn): Likewise. + Patch mostly by Daniel Jacobowitz. + +2008-01-09 Jakub Jelinek + + * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext): Avoid + clobbering memory at or above uc_stack.ss_sp + uc_stack.ss_size. + * stdlib/Makefile: Add rules to build and run tst-makecontext2. + * stdlib/tst-makecontext2.c: New test. + +2008-01-08 Jakub Jelinek + + * iconv/loop.c (UPDATE_PARAMS): Define to empty statement if not + defined. + (REINIT_PARAMS): Likewise. Undefine before end of file. + (STANDARD_TO_LOOP_ERR_HANDLER): Use UPDATE_PARAMS before calling + transliteration hooks and REINIT_PARAMS afterwards. + * iconvdata/iso-2022-jp.c (BODY): Use a separate variable for + status. + (REINIT_PARAMS): Define. + * iconvdata/ibm1364.c (REINIT_PARAMS): Likewise. + * iconvdata/ibm930.c (REINIT_PARAMS): Likewise. + * iconvdata/ibm933.c (REINIT_PARAMS): Likewise. + * iconvdata/ibm935.c (REINIT_PARAMS): Likewise. + * iconvdata/ibm937.c (REINIT_PARAMS): Likewise. + * iconvdata/ibm939.c (REINIT_PARAMS): Likewise. + * iconvdata/iso-2022-cn.c (REINIT_PARAMS): Likewise. + * iconvdata/iso-2022-cn-ext.c (REINIT_PARAMS): Likewise. + * iconvdata/iso-2022-jp-3.c (REINIT_PARAMS): Likewise. + * iconvdata/iso-2022-kr.c (REINIT_PARAMS): Likewise. + * iconvdata/Makefile: Add rules to build and run tst-iconv7.c. + * iconvdata/tst-iconv7.c: New test. + +2008-01-07 Ulrich Drepper + + * libio/stdio.h (vscanf): Fix definition for loser compilers. + +2008-01-05 Jakub Jelinek + + [BZ #5112] + * nscd/connections.c (restart): Fix condition. + +2008-01-03 Jakub Jelinek + + * ctype/ctype.h (__ctype_b_loc, __ctype_tolower_loc, + __ctype_toupper_loc): Add __THROW. + +2008-01-02 Ulrich Drepper + + * sysdeps/unix/sysv/linux/check_pf.c (make_request): Fix + recognition of interface family. + + * posix/getconf.c: Update copyright year. + * nss/getent.c: Likewise. + * iconv/iconvconfig.c: Likewise. + * iconv/iconv_prog.c: Likewise. + * elf/ldconfig.c: Likewise. + * catgets/gencat.c: Likewise. + * csu/version.c: Likewise. + * elf/ldd.bash.in: Likewise. + * elf/sprof.c (print_version): Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/localedef.c: Likewise. + * nscd/nscd.c (print_version): Likewise. + * debug/xtrace.sh: Likewise. + * malloc/memusage.sh: Likewise. + * malloc/mtrace.pl: Likewise. + * debug/catchsegv.sh: Likewise. + +2007-12-26 Ulrich Drepper + + * nss/nsswitch.c (__nss_lookup): Actually use alternative name in + second lookup. + +2007-12-23 Ulrich Drepper + + * sysdeps/x86_64/cacheinfo.c (intel_02_known): New entry 0x3f. + * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise. + +2007-12-17 Roland McGrath + + * inet/ether_line.c (ether_line): Remove unused variable. + +2007-12-17 Samuel Thibault + + * login/forkpty.c (forkpty): Add const qualifier to parameters termp + and winp. + * login/openpty.c (openpty): Likewise. + * login/pty.h (openpty, forkpty): Likewise. + * manual/terminal.texi (openpty, forkpty): Likewise. + +2007-12-17 Ulrich Drepper + + * malloc/malloc.c (public_cALLOc): For arenas other than + main_arena, count all bytes inside the mprotect_size range of the + heap as uninitialized. + +2007-12-16 Ulrich Drepper + + * elf/tst-execstack.c (do_test): Don't fail if SELinux forbids + executable stacks. + + * malloc/malloc.c (public_mTRIm): Iterate over all arenas and call + mTRIm for all of them. + (mTRIm): Additionally iterate over all free blocks and use madvise + to free memory for all those blocks which contain at least one + memory page. + * malloc/tst-trim1.c: New file. + * malloc/Makefile (tests): Add tst-trim1. + + * malloc/malloc.c (do_check_malloc_state): Minimal cleanups. + +2007-12-14 Ulrich Drepper + + * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INTERNAL_SYSCALL_ERROR_P): + First cast argument to long + * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_gettimeofday): + Return long. + (__vdso_clock_gettime): Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Functions + return long. + +2007-12-13 Ulrich Drepper + + * locale/nl_langinfo.c (nl_langinfo): Just call __nl_langinfo_l. + * locale/nl_langinfo_l.c: Real implementation, copied from + nl_langinfo.c. + * include/langinfo.h: Add libc_hidden_proto for __nl_langinfo_l. + +2007-12-01 Jim Meyering + + * posix/regcomp.c (optimize_utf8): Fix a typo, s/idx/ctx_type/, + that would inhibit utf8-optimization of a regexp containing line- + or buffer-anchors, e.g., `^', `$'. + +2007-12-12 Ulrich Drepper + + * time/bug-getdate1.c (do_test): Don't use century values which + aren't valid on 32-bit systems. + +2007-12-12 Jakub Jelinek + + * sysdeps/i386/i486/bits/string.h (memmove): Define as macro. + (memmove): Rename to __memmove_g, with __asm__ ("memmove"). + * sysdeps/s390/bits/string.h (__strlen_g, __strcpy_g, __strncpy_g, + __strcat_g, __strncat_g): Add __asm__. + +2007-12-12 Ulrich Drepper + + [BZ #5477] + * io/fchmodat.c: Fix typo in stub_warning use. + Patch by Petr Salinger. + +2007-12-11 Ulrich Drepper + + * iconvdata/hp-thai8.c: New file. + * iconvdata/Makefile: Add rules for hp-thai8.c. + * iconvdata/tst-tables.sh: Add entry for HP-THAI8. + * iconvdata/gconv-modules: Likewise. + + [BZ #5464] + * iconvdata/hp-greek8.c: New file. + * iconvdata/Makefile: Add rules for hp-greek8.c. + * iconvdata/tst-tables.sh: Add entry for HP-GREEK8. + * iconvdata/gconv-modules: Likewise. + + [BZ #5463] + * iconvdata/hp-turkish8.c: New file. + * iconvdata/Makefile: Add rules for hp-turkish8.c. + * iconvdata/tst-tables.sh: Add entry for HP-TURKISH8. + * iconvdata/gconv-modules: Likewise. + + * malloc/arena.c (grow_heap): Split out code to shrink heap into... + (shrink_heap): ... this new function. + (heap_trim): Call shrink_heap instead of grow_heap. + + * malloc/malloc.c (_int_malloc): sYSMALLOc might fail, in this + case don't call alloc_perturb. + +2007-12-10 Ulrich Drepper + + * sysdeps/unix/sysv/linux/adjtime.c: Use ADJ_OFFSET_SS_READ if + possible. + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_ADJ_OFFSET_SS_READ): Define for 2.6.24. + * sysdeps/unix/sysv/linux/sys/timex.h (ADJ_OFFSET_SS_READ): Define. + +2007-12-08 Ulrich Drepper + + [BZ #5424] + * stdio-common/vfprintf.c: Do not overflow when adding to done. + * stdio-common/Makefile (tests): Add bug22. + * stdio-common/bug22.c: New file. + + [BZ #5451] + * time/getdate.c: Fix filling in default values. + * time/bug-getdate1.c: New file. + * time/Makefile: Add rules to build and run bug-getdate1. + + * iconvdata/ebcdic-is-friss.c: Use 8bit-gap instead of 8bit-generic. + * iconvdata/ebcdic-es.c: Likewise. + * iconvdata/ebcdic-es-a.c: Likewise. + * iconvdata/ebcdic-uk.c: Likewise. + * iconvdata/iso8859-16.c: Likewise. + * iconvdata/viscii.c: Likewise. + * iconvdata/iso8859-9e.c: Likewise. + * iconvdata/Makefile: Adjust appropriately. + + [BZ #5428] + * wcsmbs/wchar.h: Unconditionally undefine __need_mbstate and + __need_wint_t. + +2007-12-07 Ulrich Drepper + + [BZ #5427] + * iconvdata/hp-roman9.c: New file. + * iconvdata/Makefile: Add rules for hp-roman9.c. + * iconvdata/tst-tables.sh: Add HP-ROMAN9. + * iconvdata/gconv-modules: Likewise. + + * iconvdata/hp-roman8.c: Use 8bit-gap instead of 8bit-generic. + * iconvdata/Makefile: Adjust appropriately. + + [BZ #5441] + * stdio-common/vfscanf.c (_IO_vfwscanf): Don't free ptrs_to_free + structure, it's allocated with alloca. + * stdio-common/Makefile (tests): Add bug21. + * stdio-common/bug21.c: New file. + +2007-12-06 Aurelien Jarno + + [BZ #5452] + * sysdeps/unix/sysv/linux/bits/sched.h: Use __extension__ + keyword for gcc's braced-groups. + +2007-12-07 Ulrich Drepper + + [BZ #5454] + * inet/ether_line.c: Strip hostname of whitespaces. + * inet/Makefile (tests): Add tst-ether_line. + * inet/tst-ether_line.c: New file. + +2007-12-03 Ulrich Drepper + + [BZ #5439] + * sysdeps/unix/sysv/linux/sys/signalfd.h: Fix use of __nonnull. + + [BZ #5435] + * sysdeps/unix/sysv/linux/i386/makecontext.S: Align stack. + + * stdlib/tst-setcontext.c: Catch the case where the links gets + messed up and we do not reach main again. + + * po/ca.po: Update from translation team. + +2007-11-26 Ulrich Drepper + + * posix/unistd.h: Declare fsync also for __USE_XOPEN2K. + * posix/regex.h (REG_ENOSYS): Likewise. + * wcsmbs/wchar.h: Define __need_file also for __USE_XOPEN2K. + +2007-11-25 Ulrich Drepper + + * nscd/nscd.h (MAX_STACK_USE): Define. + * nscd/mem.c (MAX_STACK_USE): Remove definition here. + (gc): Initialize stack_used based on allocation in prune_cache. + * nscd/cache.c (prune_cache): Use heap for mark array if necessary. + Clear array before use. + + * nscd/aicache.c (addhstaiX): Update statistics counter in case + memory allocation failed. + * nscd/hstcache.c (cache_addhst): Likewise. + * nscd/grpcache.c (cache_addgr): Likewise. + * nscd/servicescache.c (cache_addserv): Likewise. + * nscd/pwdcache.c (cache_addpw): Likewise. + * nscd/initgrcache.c (addinitgroupsX): Likewise. + +2007-11-23 Ulrich Drepper + + * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Add open + and creat system calls. + + * sysdeps/unix/sysv/linux/check_native.c: Include . + +2007-11-23 Martin Schwidefsky + + * sysdeps/unix/sysv/linux/Makefile [subdir=inet] (sysdep_headers): + Add netiucv/iucv.h. + * sysdeps/unix/sysv/linux/netiucv/iucv.h: New file. + * sysdeps/unix/sysv/linux/opensock.c (__opensock): Add AF_IUCV + protocol. + * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Likewise. + * sysdeps/unix/sysv/linux/s390/opensock.c: New file. + * sysdeps/unix/sysv/linux/s390/sa_len.c: New file. + +2007-11-22 Martin Schwidefsky + + * sysdeps/s390/bits/string.h (strlen, strcpy, strncpy, strcat, + strncat): Define as macros to avoid compile errors. + + * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Add open and + creat entries. + +2007-11-22 Ulrich Drepper + + [BZ #5382] + * nscd/nscd.h (NSCD_THREAD_STACKSIZE): Define. + * nscd/connections.c (start_threads): Use NSCD_THREAD_STACKSIZE. + * nscd/mem.c (gc): Don't allocate arrays on the stack if they can + overflow it. + Partially based on a patch by Petr Baudis . + + * sysdeps/unix/sysv/linux/nscd_setup_thread.c (setup_thread): + Return zero in case the thread library is not NPTL. + + [BZ #5375] + * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix locking when + initializing interface list. + + [BZ #5378] + * nis/nss_compat/compat-initgroups.c (getgrent_next_nss): Don't + use result of nss_getgrgid_r if nothing was found. For other + error return with a failure. + Partially based on a patch by Petr Baudis . + + * locale/programs/ld-collate.c (collate_read): Fix loop to match + macro name. + +2007-11-19 Ulrich Drepper + + * sysdeps/posix/getaddrinfo.c (defaults_scopes, scopes): New variables. + (get_scope): For IPv4 scope, use scopes table. + (fini): Free scopes table if necessary. + (free_scopelist): New function. + (scopecmp): New function. + (gaiconf_init): Also handle scopev4 entries. + * posix/tst-rfc3484.c (do_test): Initialize scopes. + * posix/tst-rfc3484-2.c (do_test): Likewise. + * posix/gai.conf: Document scopev4 defaults. + * posix/Makefile (tests): Add tst-rfc3484-3. + * posix/tst-rfc3484-3.c: New file. + + * sysdeps/posix/getaddrinfo.c (default_labels): Describe entry for + Teredo tunnels. + * posix/gai.conf: Update for current default tables. + +2007-11-19 Ulrich Drepper + + * po/tr.po: Update from translation team. + +2007-11-18 Roland McGrath + + * manual/arith.texi (Remainder Functions): Spelling fix. + From Shaun Silk . + + * sysdeps/mach/hurd/bits/fcntl.h (O_CLOEXEC): Fix value. + +2007-11-17 Ulrich Drepper + + * po/zh_CN.po: Update from translation team. + + * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers): + Add sys/signalfd.h and sys/eventfd.h. + +2007-11-15 Bruno Haible + + [BZ #5346] + * intl/dcigettext.c (struct known_translation_t): Turn msgid into a + union. + (transcmp): Use the appropriate part of s1->msgid and s2->msgid. + (DCIGETTEXT): Change the allocation of the 'search' variable so that + it needs only fixed stack space. Delay the initialization of + msgid_len until it is needed. + +2007-11-15 Andreas Jaeger + + * sysdeps/ieee754/dbl-64/sincos.tbl: Fix size of union. + Reported by Christoph Quirin Lauter . + +2007-11-15 Ulrich Drepper + + * po/ko.po: Update from translation team. + +2007-11-14 Ulrich Drepper + + * sysdeps/unix/sysv/linux/check_native.c (__check_native): Simplify + significantly. The device type is also part of the ifinfomsg data. + + * po/sv.po: Update from translation team. + * po/nl.po: Likewise. + + * nscd/cache.c (prune_cache): If cache is empty, instruct caller + to wake up in 24 hours. + + * nscd/gai.c (__ioctl): Define. Include check_native.c. + +2007-11-13 Ulrich Drepper + + * po/cs.po: Update from translation team. + * po/pl.po: Likewise. + + * include/ifaddrs.h: Remove in6ai_temporary. + (struct in6addrinfo): Add index element. + Declare __check_native. + * inet/Makefile (aux): Add check_native. + * sysdeps/unix/sysv/linux/check_native.c: New file. + * sysdeps/unix/sysv/linux/check_pf.c: No need to recognize + IFA_F_TEMPORARY. Pass back ifa_index. + * sysdeps/posix/getaddrinfo.c: Remove netlink compatibility code. + (rfc3484_sort): Add new parameter. Implement rule 7 correctly: + call __check_native if necessary. + (getaddrinfo): Fill in index field. Use qsort_r instead of qsort + to sort addresses. Pass information about the results. + * posix/tst-rfc3484.c: Adjust for addition of index field and change + of rfc3484_sort interface. + * posix/tst-rfc3484-2.c: Likewise. + + * stdlib/stdlib.h: Define __compar_d_fn_t. Declare qsort_r. + * include/stdlib.h: Add hidden_proto for qsort_t and adjust protoype + for _quicksort. + * stdlib/msort.c (qsort): Now a wrapper around qsort_r. + (qsort_r): Renamed from qsort. Take additional parameter and pass it + on as third parameter to compare function and _quicksort. + * stdlib/qsort.c (_quicksort): Take additional parameter and pass on + to the compare function. + * stdlib/Versions [libc] (GLIBC_2.8): Add qsort_r. + * Versions.def: Add GLIBC_2.8 for libc. + + * posix/tst-rfc3484.c: Adjust for addition of prefixlen field. + * posix/tst-rfc3484-2.c: Likewise. + + * include/kernel-features.h: Moved to... + * sysdeps/mach/hurd/kernel-features.h: ...here. + +2007-09-13 H.J. Lu + + * sysdeps/i386/i586/memcpy_chk.S: New file. + * sysdeps/i386/i586/mempcpy_chk.S: Likewise. + * sysdeps/i386/i586/memset_chk.S: Likewise. + +2007-11-12 Ulrich Drepper + + * include/ifaddrs.c (struct in6addrinfo): Add prefixlen field. + * sysdeps/unix/sysv/linux/check_pf.c (make_request): Always return + list of interfaces. Also store prefix length. + * sysdeps/posix/getaddrinfo.c (sort_result): Add prefixlen element. + (rfc3484_sort): In rule 9, for IPv4 addresses count only matching + prefix if source and destination address are in the same subnet. + (getaddrinfo): Always call __check_pf. Fill in prefixlen field. + Always look for matching record in in6ai list. + Correct source_addr_len value for IPv6->IPv4 converted records. + +2007-11-11 Roland McGrath + + * include/kernel-features.h: New file. + +2007-11-10 Ulrich Drepper + + * sysdeps/pthread/aio_misc.c (handle_fildes_io): Avoid unnecessary + complications for 64-bit platforms. + + * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to.. + * sysdeps/unix/sysv/linux/open64_2.c: ...here. New file. + * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): Add + open64_2. + * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add open and creat + entries. + * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. + * sysdeps/wordsize-64/alphasort.c: New file. + * sysdeps/wordsize-64/alphasort64.c: New file. + * sysdeps/wordsize-64/fseeko.c: New file. + * sysdeps/wordsize-64/fseeko64.c: New file. + * sysdeps/wordsize-64/ftello.c: New file. + * sysdeps/wordsize-64/ftello64.c: New file. + * sysdeps/wordsize-64/ftw.c: New file. + * sysdeps/wordsize-64/ftw64.c: New file. + * sysdeps/wordsize-64/iofgetpos.c: New file. + * sysdeps/wordsize-64/iofgetpos64.c: New file. + * sysdeps/wordsize-64/iofopen.c: New file. + * sysdeps/wordsize-64/iofopen64.c: New file. + * sysdeps/wordsize-64/iofsetpos.c: New file. + * sysdeps/wordsize-64/iofsetpos64.c: New file. + * sysdeps/wordsize-64/lockf.c: New file. + * sysdeps/wordsize-64/lockf64.c: New file. + * sysdeps/wordsize-64/mkostemp.c: New file. + * sysdeps/wordsize-64/mkostemp64.c: New file. + * sysdeps/wordsize-64/mkstemp.c: New file. + * sysdeps/wordsize-64/mkstemp64.c: New file. + * sysdeps/wordsize-64/scandir.c: New file. + * sysdeps/wordsize-64/scandir64.c: New file. + * sysdeps/wordsize-64/tmpfile.c: New file. + * sysdeps/wordsize-64/tmpfile64.c: New file. + * sysdeps/wordsize-64/versionsort.c: New file. + * sysdeps/wordsize-64/versionsort64.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/aio_read.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/aio_read64.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/aio_write.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/aio_write64.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/lio_listio.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/lio_listio64.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/open64.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/openat.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: New file. + + * crypt/sha256-crypt.c: Fix a comment. + * crypt/sha512-crypt.c: Likewise. + +2007-11-07 H.J. Lu + + * sysdeps/x86_64/memset.S: Add sfence after movnti. + +2007-11-07 Ulrich Drepper + + [BZ #5277] + * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): If conversion failed + because output buffer is too small break, don't loop. + * iconvdata/Makefile (tests): Add bug-iconv6. + * iconvdata/bug-iconv6.c: New file. + +2007-11-06 Ulrich Drepper + + * stdio-common/vfprintf.c (vfprintf): Compute necessary buffer size + with size_t type. + * stdio-common/printf_fp.c (__print_fp): Change chars_needed type to + size_t. Add casts where needed. + + * nscd/selinux.c (nscd_request_avc_has_perm): When compiled with + old headers, don't call avc_has_perm if we don't have the + permission information. + +2007-11-05 Daniel Jacobowitz + + * elf/rtld.c (dl_main): Use the page size to find the map start. + +2007-11-05 Ulrich Drepper + + * time/tzfile.c (__tzfile_read): Fix check for version 0 data files. + Patch by Szymon Siwek . + + * nscd/aicache.c (addhstaiX): Check herrno after IPv4 lookup only + when the lookup call failed. + + * nscd/nscd.h (struct database_dyn): Rename prunelock to prune_lock. + Add prune_cond and wakeup_time. + (CACHE_PRUNE_INTERNAL): Define. + Update declarations of prune_cache and setup_thread. + * nscd/connections.c (dbs): Update initializers. + (CACHE_PRUNE_INTERNAL): Moved to nscd.h. + (nscd_init): Default number of threads is now 4. + (invalidate_cache): Take lock before calling prune_cache. + (handle_request): If SELinux forbids the request, say so. + (readylist_cond): Use static initializer. + (nscd_run_prune): New function. Used only by pruning threads. + (nscd_run_worder): Renamed from nscd_run. Remove support for pruning + here. + (fd_ready): Update nscd_run reference. + (start_threads): No need to initialize readylist_cond. + Start pruning threads separately. + * nscd/nscd_setup_thread.c: Change return value type to int and always + return 0. + * sysdeps/unix/sysv/linux/nscd_setup_thread.c: Change return value type + to int and return nonzero value if we can use the TID address hack. + * nscd/cache.c (cache_add): If next wakeup time of cleanup thread for + the database is later than the new entry's timeout, update the + wakeup time and wake the cleanup thread. + (prune_cache): Return seconds the next entry in the database is still + valid. Remove locking for pruning here. + * nscd/nscd.conf: Document default number of threads. + +2007-10-31 Ulrich Drepper + + * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Make sure + stack is properly aligned for the target function. + Correct unwind info. + + * elf/rtld.c (dl_main): Initialize stack and pointer guard early + when using auditing libraries. + +2007-10-29 Ulrich Drepper + + * resolv/Versions [libresolv] (GLIBC_PRIVATE): Add + _nss_dns_getnetbyaddr2_r. + * resolv/nss_dns/dns-host.c: Define _nss_dns_getnetbyaddr2_r. Pass + extra parameter to getanswer_r. + (_nss_dns_getnetbyaddr_r): Now a wrapper around + _nss_dns_getnetbyaddr2_r. + + * nscd/Makefile (nscd-modules): Replace gethstbynm2_r with + gethstbynm3_r. + * nscd/gethstbynm2_r.c: Remove. + * nscd/gethstbynm3_r.c: New file. + * nscd/aicache.c (addhstaiX): Use __gethostbyaddr2_r instead of + __gethostbyaddr_r. + * nscd/gethstbyad_r.c: Generate __gethostbyaddr2_r function. Define + __gethostbyaddr_r compatibility wrapper. + * nscd/hstcache.c (cache_addhst): Add ttl parameter. Use it when + determining timeout of entry. + (lookup): Take new parameter and pass it to __gethostbyname3_r and + __gethostbyaddr2_r. + (addhstbyX): Pass reference to variable for TTL to lookup and + cache_addhst. + * nss/Versions [glibc] (GLIBC_PRIVATE): Export __nss_passwd_lookup2, + __nss_group_lookup2, __nss_hosts_lookup2, __nss_services_lookup2, + and __nss_next2. Remove __nss_services_lookup. + * nss/XXX-lookup.c: Name function now *_lookup2. Add new parameter. + Add compat wrapper. + * nss/getXXbyYY_r.c: Changes to call new *_lookup2 functions and + __nss_next2. + * nss/getXXent_r.c: Likewise. + * nss/getnssent_r.c: Likewise. + * nss/nsswitch.c (__nss_lookup): Add new parameter. If first function + does not exist in module, try the optional second name. + (__nss_next2): New function. + (__nss_next): Now wrapper around __nss_next2. + * nss/nsswitch.h: Adjust __nss_lookup prototype. + Declare __nss_next2. + Adjust definition of db_lookup_function type. + * nss/service-lookup.c: Define NO_COMPAT. + * include/netdb.h: Declare __gethostbyaddr2_r and __gethostbyname3_r. + * inet/ether_hton.c: Use __nss_next2 instead of __nss_next. + * inet/ether_ntoh.c: Likewise. + * sunrpc/netname.c: Likewise. + * sunrpc/publickey.c: Likewise. + * inet/getnetgrent.c: Likewise. Adjust calls to __nss_lookup. + * inet/gethstbyad_r.c (DB_LOOKUP_FCT): Change to __nss_hosts_lookup2. + * inet/gethstbynm2_r.c (DB_LOOKUP_FCT): Likewise. + * inet/gethstbynm_r.c (DB_LOOKUP_FCT): Likewise. + * inet/gethstent_r.c (DB_LOOKUP_FCT): Likewise. + + * nscd/aicache.c (addhstaiX): Fix default TTL handling. + + * inet/getnetgrent_r.c (setup): Encrypt static pointer. + +2007-10-28 Ulrich Drepper + + [BZ #5204] + * crypt/sha256c-test.c: Define TIMEOUT to 6 for ancient hardware. + * crypt/sha512c-test.c: Likewise. + + [BZ #5225] + * stdio-common/vfscanf.c (_IO_vfwscanf): Don't misuse wp pointer + to keep track of end of %[ format string element. + * stdio-common/Makefile (tests): Add bug20. + * stdio-common/bug20.c: New file. + + [BZ #5222] + * elf/dl-load.c (_dl_rtld_di_serinfo): Correct handling of short + path elements in counting mode. + +2007-10-27 Andreas Jaeger + + [BZ #5040] + * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLRDHUP): Add value. + + [BZ #3112] + * sysdeps/ia64/backtrace.c (init): Free shared library if incorrect. + (__cleanup): Free shared library when exiting. + * sysdeps/i386/backtrace.c (init): Free shared library if incorrect. + (__cleanup): Free shared library when exiting. + +2006-04-14 H.J. Lu + + [BZ #2549] + * math/libm-test.inc (check_float_internal): Support + denormalized return. + +2007-10-23 Andreas Jaeger + + [BZ #5208] + * sysdeps/unix/sysv/linux/readahead.c (__readahead): Use + __LONG_LONG_PAIR to handle little endian byte order. + Suggested by abhishekrai@google.com + +2007-10-27 Ulrich Drepper + + * malloc/arena.c [!NO_THREADS]: Use ATFORK_MEM if defined. + +2007-10-26 Ulrich Drepper + + * nscd/cache.c (prune_cache): Move test for modified file outside + of locking. + +2007-10-21 Andreas Jaeger + + * manual/texinfo.tex: Update to latest version. + + * manual/sysinfo.texi (System Parameters): Fix Formatting. + + * manual/arith.texi (Status bit operations): Fix formatting. + + * manual/errno.texi (Error Messages): Fix formatting. + + * manual/sysinfo.texi (System Parameters): Fix formatting. + + * manual/libc.texinfo: Update VERSION and UPDATED. + +2007-10-19 Roland McGrath + + * elf/Makefile ($(objpfx)ld.so): Use $(AWK). + +2007-10-06 David S. Miller + + * configure.in: Add sparcv9v2 and sparc64v2. + * scripts/config.sub: Likewise. + * configure: Regenerate. + * elf/elf.h (HWCAP_SPARC_N2): New. + * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Bump to 8. + * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add 'v9v2'. + (HWCAP_IMPORTANT): Add HWCAP_SPARC_N2. + * sysdeps/sparc/sparc32/sparcv9/sparcv9v2/memcpy.S: New file. + * sysdeps/sparc/sparc32/sparcv9/sparcv9v2/memset.S: New file. + * sysdeps/sparc/sparc64/sparcv9v2/memcpy.S: New file. + * sysdeps/sparc/sparc64/sparcv9v2/memset.S: New file. + +2007-10-18 Ulrich Drepper + + * sunrpc/clnt_udp.c (clntudp_call): Don't block in recvfrom call + even if the poll result indicates there is data to read. + Patch by Jeff Moyer . + +2007-10-18 Roland McGrath + + * elf/elf.h (NT_PPC_VMX): New macro. + +2007-10-17 Ulrich Drepper + + * version.h (VERSION): Set to 2.7.90. + +2007-10-17 Jakub Jelinek + + * sysdeps/x86_64/memset.S (bzero): Renamed to __bzero. Add + weak_alias. + +2007-10-17 Roland McGrath + + * sysdeps/mach/hurd/bits/fcntl.h [__USE_GNU__] (F_DUPFD_CLOEXEC): New. + * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Implement it. + +2007-10-17 Ulrich Drepper + + * version.h (VERSION): Bump to 2.7. + * include/features.h (__GLIBC_MINOR__): Bump to 7. + + [BZ #5186] + * time/tzset.c (__tz_convert): Don't force testing for a change of + TZ if not called from localtime. But then also see whether the + file changed, in case __use_tzfile is set. + + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define F_DUPFD_CLOEXEC. + * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. + +2007-10-17 Jakub Jelinek + + * sysdeps/posix/getaddrinfo.c (getaddrinfo): When sorting addresses + and admin selects to be able to replace the gai.conf file, lock + data structures around the qsort call. + +2007-10-17 Ulrich Drepper + + * sysdeps/x86_64/cacheinfo.c: Comment out code added in support of + new memset. + * sysdeps/x86_64/memset.S: Revert to old version for now. The cost is + too high for the improvements. Implement bzero unconditionally for + use in libc. + +2007-10-17 Ulrich Drepper + Jakub Jelinek + + * time/tzfile.c (__tzfile_read): Read POSIX TZ string if available + even when time_t is 32-bit. + (__tzfile_compute): Override POSIX TZ string STD/DST zone names if + timezone data read by __tzfile_default. Ensure __tzname[0] is + always set after the search. + +2007-10-16 Ulrich Drepper + + * time/tzfile.c (__tzfile_read): Help the compiler recognize + unreachable code on 32-bit machines. + +2007-10-16 Jakub Jelinek + + [BZ #5184] + * time/strftime_l.c: Include stdbool.h. + (my_strftime): New wrapper, old function renamed to... + (__strftime_internal): ... new function. Add tzset_called + argument, pass it down to recursive calls, don't call tzset () + if already true, set to true after call to tzset (). + +2007-10-16 Ulrich Drepper + + * time/tzfile.c (__tzfile_read): Take extra memory requested by caller + into account when copying TZ string. + +2007-10-16 Jakub Jelinek + + * time/tzfile.c (__tzfile_compute): For use_last case set i to + num_transition rather than num_transitions - 1. + +2007-10-16 Jakub Jelinek + + * sysdeps/x86_64/memset.S (memset): Fix sse2_nt_move + PIC indirect jump. + + * sysdeps/x86_64/memset.S: Jump from bzero to memset using + a local label rather than HIDDEN_JUMPTARGET. + +2007-10-15 Ulrich Drepper + + * sysdeps/x86_64/cacheinfo.c (__x86_64_shared_cache_size): Define. + (init_cacheinfo): Initialize it. + * sysdeps/x86_64/memset.S: Use __x86_64_shared_cache_size. + Always define bzero. + Remove non-glibc code. + * sysdeps/x86_64/bzero.S: Make an empty file. + +2007-10-15 H.J. Lu + + * sysdeps/x86_64/cacheinfo.c + (__x86_64_preferred_memory_instruction): New. + (init_cacheinfo): Initialize __x86_64_preferred_memory_instruction. + + * sysdeps/x86_64/memset.S: Rewrite. + +2007-10-15 Roland McGrath + + * po/libc.pot: Regenerated. + +2007-10-15 Ulrich Drepper + + * nss/getXXbyYY_r.c (REENTRANT_NAME): Mangle startp and start_fct + pointers. + + [BZ #3425] + * resolv/nss_dns/dns-host.c (getanswer_r): Fail with + NSS_STATUS_NOTFOUND if the server replied with only a CNAME and no + address record to T_A/T_AAAA requests. + +2007-10-14 Ulrich Drepper + + * posix/glob.c: Reimplement link_exists_p to use fstatat64. + + * posix/glob.c: Add some branch prediction throughout. + + * nscd/nscd_getgr_r.c (nscd_getgr_r): Store result of successful + read from nscd. + + * sysdeps/posix/getaddrinfo.c (struct sort_result): Add + service_order. + (rfc3484_sort): Make sure that even if qsort doesn't support + stable sorting out sorting here is stable by comparing service_order. + (getaddrinfo): Initialize service_order. + * posix/tst-rfc3484.c (do_test): Adjust for addition of + service_order field to sorting structure. + * posix/tst-rfc3484-2.c (do_test): Likewise. + + * include/time.h: Declare __tzset_parse_tz and __tzset_compute. + * time/tzset.c (tzset_internal): Break TZ string parsing out into + __tzset_parse_tz and updating of daylight, timezone, tzname into + update_vars. + (__tz_compute): Renamed from tz_compute. Take additional parameters. + (__tz_convert): Updating of tm_isdst, tm_zone, and tm_gmtoff now + happens in __tz_compute. + * time/tzfile.c (__tzfile_read): Also read TZ string. + (find_transition): Fold into __tzfile_compute. + (__tzfile_compute): For times beyond the last transition try to + use the TZ string. + * timezone/tst-timezone.c: Information in daylight and tzname does + change for Asia/Tokyo timezone with more concrete information. + Remove the test. + + * include/stdio.h: Add libc_hidden_proto for ftello. + * libio/ftello.c: Add libc_hidden_def. + + [BZ #1140] + * time/tzfile.c (__tzfile_compute): Compute tzname[] values based + on the specified time and not the last entries in the file. Move + code to determine tzname[] to... + (find_transition): ...here. Add ugly guess for times before the + first transition. + +2007-10-13 Ulrich Drepper + + [BZ #3195] + * nscd/nscd_getai.c (__nscd_getai): Set errno to 0 in case we found + no entry. + * nscd/nscd_getgr.c (nscd_getgr_r): Likewise. + * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise. + * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise. + * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise. + + * nscd/nscd_getgr_r.c (nscd_getgr_r): Optimize a bit: use simpler + read mechanism when there are no group members and avoid no-op + read syscall in this case. + + [BZ #3242] + * nscd/nscd_helper.c (wait_on_socket): Take timeout as parameter. + (__readall): If reading failed due to EAGAIN error wait a bit + and possibly try again. + (__readvall): Likewise. + +2007-10-13 Bruno Haible + + * intl/dcigettext.c (_nl_find_msg): Unlock the conversions_lock + when we cannot recode the message. + +2007-10-13 Ulrich Drepper + + [BZ #4359] + * libio/__freading.c (__freading): Don't return true for + write-only streams. For read/write streams, check whether we + performed a read operation already. + * libio/Makefile (tests): Add tst-ext2. + * libio/tst-ext2.c: New file. + +2007-10-12 Ulrich Drepper + + * locale/programs/repertoire.c (repertoire_read): Always free + memory for repertoire file name [Coverity CID 270]. + + * elf/cache.c (save_aux_cache): Free memory allocated for + temporary file name [Coverity CID 267]. + +2007-10-12 Jakub Jelinek + + * misc/Makefile (headers): Add bits/error.h. + +2007-10-12 Ulrich Drepper + + * posix/fnmatch_loop.c: Take rule index returned as part of + findidx return value into account when accessing weights. + * posix/regcomp.c: Likewise. + * posix/regexec.c: Likewise. + + * locale/programs/ld-collate.c (collate_read): Optimize a bit. + (skip_to): Fix problems with parameter of elifdef/elifndef. + +2007-10-11 Ulrich Drepper + + * iconv/gconv_simple.c: Add some branch prediction. + +2007-10-12 Jakub Jelinek + + * locale/programs/ld-collate.c (collate_read): If ignore_content + and nowtok is tok_define, eat any tok_eol tokens. + +2007-10-11 Jakub Jelinek + + * sysdeps/gnu/netinet/tcp.h: Include sys/socket.h if __USE_MISC. + (struct tcp_md5sig): Change tcpm_addr type to struct sockaddr_storage. + + * inet/netinet/in.h: Don't include bits/socket.h. + * sysdeps/unix/sysv/linux/bits/socket.h: Only check _SYS_SOCKET_H + macro. + * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Likewise. + +2007-10-10 Ulrich Drepper + + * locale/programs/locfile-token.h: Remove tok_elif, add tok_elifdef + and tok_elifndef. + * locale/programs/locfile-kw.gperf: Likewise. + * locale/programs/ld-collate.c: Implement primitive preprocessor. + +2007-10-10 Jakub Jelinek + + * stdio-common/printf-parse.h: Include string.h and wchar.h. + (__find_specwc): Change into __extern_always_inline function. + (__find_specmb): Likewise. Remove ps argument. Use __strchrnul. + (__parse_one_specmb): Remove ps argument. + * stdio-common/vfprintf.c (vfprintf): Remove mbstate variable. + Adjust __find_specmb and __parse_one_specmb callers. + * stdio-common/printf-prs.c (parse_printf_format): Likewise. + * stdio-common/printf-parsemb.c (__find_specwc, __find_specmb): + Removed. + (__parse_one_specmb): Remove ps argument, adjust __find_specmb + caller. + +2007-10-09 Ulrich Drepper + + * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Work around problem + with some Pentium Ds. + +2007-10-08 Ulrich Drepper + + * sysdeps/unix/sysv/linux/eventfd_read.c (eventfd_read): Use + __read not read. + * sysdeps/unix/sysv/linux/eventfd_write.c (eventfd_write): Use + __write not write. + +2007-10-07 Ulrich Drepper + + [BZ #181] + * locale/C-time.c: Set week_1stday data to 19971201. + * locale/programs/ld-time.c (time_finish): Default for + first_workday is Monday. + + [BZ #2633] + * wcsmbs/wchar.h: Move many C99 functions into std namespace. + + [BZ #5103] + * posix/glob.c (glob): Recognize patterns starting \/. + * posix/tst-gnuglob.c (find_file): Handle absolute path names. + (main): Add test for pattern starting \/. + + * misc/error.h: Use __const instead of const. + * misc/bits/error.h: Likewise. + +2007-10-07 Andreas Jaeger + + * include/bits/error.h: New file. + + * misc/bits/error.h (error_at_line): Fix prototype. + +2007-10-06 Ulrich Drepper + + [BZ #3924] + * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix a few + more little bugs in creating the stack frame when pltexit has to + be called. + + * nscd/nscd_helper.c (__nscd_cache_search): Prevent endless loops. + * nscd/connections.c (verify_persistent_db): Recognize circular lists. + + [BZ #4407] + * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Fix *signgamp for -0.0. + * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise. + * math/libm-test.inc: Add test for this case. + + [BZ #5010] + * sunrpc/svc.c (struct svc_callout): Add sc_mapped element. + (svc_register): Initialize sc_mapped. Set to TRUE if call to + map service succeeded. + (svc_is_mapped): New function. + (svc_unregister): Use it before trying to unmap service. + +2007-10-05 Ulrich Drepper + + * timezone/zic.c: Update from tzcode2007h. + + [BZ #5063] + * timezone/africa: Update from tzdata2007h. + * timezone/antarctica: Likewise. + * timezone/asia: Likewise. + * timezone/australasia: Likewise. + * timezone/europe: Likewise. + * timezone/leapseconds: Likewise. + * timezone/northamerica: Likewise. + * timezone/southamerica: Likewise. + * timzeone/zone.tab: Likewise. + + [BZ #5104] + * elf/do-lookup.h (do_lookup_x): Don't ignore STT_COMMON symbols. + + [BZ #5113] + * string/bits/string2.h (__strdup): Cast parameters to calloc to + avoid warning with -Wconversion. + (__strndup): Likewise. + Half the patch by Christian Iseli . + + [BZ #5112] + * nscd/connections.c (restart): Don't resync if database is + disabled. Patch mostly by Brian De Wolf . + + * sysdeps/gnu/netinet/tcp.h: Define TCP_MD5SIG, TCP_MD5SIG_MAXKEYLEN, + struct tcp_md5sig. Extend struct tcp_info according to recent kernels. + + * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add eventfd, + evetnfd_read, eventfd_write. + * sysdeps/unix/sysv/linux/eventfd.c: New file. + * sysdeps/unix/sysv/linux/eventfd_read.c: New file. + * sysdeps/unix/sysv/linux/eventfd_write.c: New file. + * sysdeps/unix/sysv/linux/sys/eventfd.h: New file. + * sysdeps/unix/sysv/linux/Versions: Export eventfd, eventfd_read, + eventfd_write for GLIBC_2.7. + + * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add signalfd. + * sysdeps/unix/sysv/linux/signalfd.c: New file. + * sysdeps/unix/sysv/linux/sys/signalfd.h: New file. + * sysdeps/unix/sysv/linux/Versions: Export signalfd for GLIBC_2.7. + +2007-10-04 Jakub Jelinek + + * stdlib/msort.c: Include stdint.h. + (struct msort_param): New type. + (msort_with_tmp): Use struct msort_param pointer for unchanging + parameters. Add optimized handling for several common sizes + and indirect sorting mode. + (qsort): Adjust msort_with_tmp callers. For big S use indirect + sorting. + Suggested by Belazougui Djamel . + + * stdlib/Makefile (tests): Add tst-qsort2. + * stdlib/tst-qsort2.c: New test. + +2007-10-04 Ulrich Drepper + + * login/login_tty.c (login_tty): The Linux kernel can return EBUSY + for dup2 in case another thread races with the current one. Retry + in this case. + + * misc/error.h: Remove support for use outside of libc. We have to + include now. Include if possible. + * misc/bits/error.h: New file. + +2007-10-03 Jakub Jelinek + + * string/bits/string3.h (memcpy, memmove, mempcpy, memset, bcopy, + bzero, strcpy, stpcpy, strncpy, strcat, strncat): Use + __extern_always_inline functions unconditionally, drop macros. + + * misc/sys/cdefs.h (__REDIRECT_LDBL, __REDIRECT_NTH_LDBL): New macros. + * wcsmbs/bits/wchar2.h (__swprintf_alias, __vswprintf_alias): Use + __REDIRECT_NTH_LDBL macro rather than __REDIRECT_NTH. + + * misc/sys/cdefs.h (__extern_always_inline): For GCC 4.3+ + add __artificial__ attribute. + +2007-10-02 Ulrich Drepper + + * string/strcoll_l.c (STRCOLL): Correct handling of switching from + backward to forward direction. + + * string/strcoll_l.c (STRCOLL): Correct test for alloca use. + + [BZ #645] + * locale/programs/ld-collate.c (collate_finish): Compare against last + used section which is known to have rules defined. + (collate_read): After order_start, correctly record order of sections + and queue sections up. + +2007-10-01 Ulrich Drepper + + [BZ #5071] + * malloc/malloc.c (mremap_chunk): Avoid resizing of new block has + the same number of pages. + Patch by Tomash Brechko . + + * locale/programs/ld-collate.c (collate_read): After initial copy + statement, continue in state 0. + + * include/stdio_ext.h (__fsetlocking): Define as macro. + +2007-09-30 Ulrich Drepper + + * locale/programs/ld-collate.c (collate_finish): Compare all bytes + of section order. + + * po/pt_BR.po: Fix typo. + +2007-09-29 Ulrich Drepper + + * iconvdata/Makefile (modules): Add ISO8859-9E. + (distribute): Add iso8859-9e.c. + (gen-8bit-gap-modules): Add iso8859-9e. + * iconvdata/iso8859-9e.c: New file. + * iconvdata/gconv-modules: Add entries for ISO-8859-9E. + * iconvdata/TESTS: Likewise. + * iconvdata/tst-tables.sh: Likewise. + + * iconvdata/koi8-r.c (HAS_HOLES): Define to 0. + + * locale/iso-639.def: Add several new entries. + +2007-09-24 Jakub Jelinek + + * sysdeps/generic/ldsodefs.h (struct dl_scope_free_list): Store + void * pointers instead of struct link_map **. + (_dl_scope_free): Change argument type to void *. + * include/link.h (struct link_map): Change type of l_reldeps + to struct link_map_reldeps, move l_reldepsact into that + struct too. + * elf/dl-deps.c: Include atomic.h. + (_dl_map_object_deps): Only change l->l_initfini when it is + fully populated, use _dl_scope_free for freeing it. Optimize + removal of libs from reldeps by using l_reserved flag, when + some removal is needed, allocate a new list instead of + reallocating and free the old with _dl_scope_free. Adjust + for l_reldeps and l_reldepsact changes. + * elf/dl-lookup.c (add_dependency): Likewise. Reorganize to allow + searching in l_initfini and l_reldeps without holding dl_load_lock. + * elf/dl-fini.c (_dl_sort_fini): Adjust for l_reldeps and + l_reldepsact changes. + * elf/dl-close.c (_dl_close_worker): Likewise. + * elf/dl-open.c (_dl_scope_free): Change argument type to void *. + +2007-09-28 Ulrich Drepper + + * iconvdata/Makefile (modules): Add KOI8-RU. + (distribute): Add koi8-ru.c. + (gen-8bit-gap-modules): Add koi8-ru. + * iconvdata/koi8-ru.c: New file. + * iconvdata/gconv-modules: Add entries for KOI8-RU. + * iconvdata/TESTS: Likewise. + * iconvdata/tst-tables.sh: Likewise. + + * iconvdata/koi8-r.c (HAS_HOLES): Define to 0. + +2007-09-26 Jakub Jelinek + + * misc/sys/cdefs.h (__warndecl, __errordecl): For GCC 4.3+ define + with __warning__/__error__ attributes. + (__warnattr): Define. + * stdlib/bits/stdlib.h (__realpath_chk_warn, __ptsname_r_chk_warn, + __mbstowcs_chk_warn, __wcstombs_chk_warn): New aliases with + __warnattr. + (realpath, ptsname_r, mbstowcs, wcstombs): Call __*_chk_warn instead + of __*_chk if compile time detectable overflow is found. + * libio/bits/stdio2.h (__fgets_chk_warn, __fread_chk_warn, + __fgets_unlocked_chk_warn, __fread_unlocked_chk_warn): New aliases + with __warnattr. + (fgets, fread, fgets_unlocked, fread_unlocked): Call __*_chk_warn + instead of __*_chk if compile time detectable overflow is found. + (__gets_alias): Rename to... + (__gets_warn): ... this. Add __warnattr. + (gets): Call __gets_warn instead of __gets_alias. + * socket/bits/socket2.h (__recv_chk_warn, __recvfrom_chk_warn): New + aliases with __warnattr. + (recv, recvfrom): Call __*_chk_warn instead of __*_chk if compile + time detectable overflow is found. + * posix/bits/unistd.h (__read_chk_warn, __pread_chk_warn, + __pread64_chk_warn, __readlink_chk_warn, __readlinkat_chk_warn, + __getcwd_chk_warn, __confstr_chk_warn, __getgroups_chk_warn, + __ttyname_r_chk_warn, __getlogin_r_chk_warn, __gethostname_chk_warn, + __getdomainname_chk_warn): New aliases with __warnattr. + (read, pread, pread64, readlink, readlinkat, getcwd, confstr, + getgroups, ttyname_r, getlogin_r, gethostname, getdomainname): Call + __*_chk_warn instead of __*_chk if compile time detectable overflow + is found. + (__getgroups_chk): Rename argument to __listlen from listlen. + (__getwd_alias): Rename to... + (__getwd_warn): ... this. Add __warnattr. + (getwd): Call __getwd_warn instead of __getwd_alias. + * wcsmbs/bits/wchar2.h (__wmemcpy_chk_warn, __wmemmove_chk_warn, + __wmempcpy_chk_warn, __wmemset_chk_warn, __wcsncpy_chk_warn, + __wcpncpy_chk_warn, __fgetws_chk_warn, __fgetws_unlocked_chk_warn, + __mbsrtowcs_chk_warn, __wcsrtombs_chk_warn, __mbsnrtowcs_chk_warn, + __wcsnrtombs_chk_warn): New aliases with __warnattr. + (wmemcpy, wmemmove, wmempcpy, wmemset, mbsrtowcs, wcsrtombs, + mbsnrtowcs, wcsnrtombs): Call __*_chk_warn instead of __*_chk if + compile time detectable overflow is found. + (wcsncpy, wcpncpy): Likewise. For constant __n fix check whether + to use __*_chk or not. + (fgetws, fgetws_unlocked): Divide __bos by sizeof (wchar_t), both + in comparisons which function should be called and in __*_chk* + arguments. Call __*_chk_warn instead of __*_chk if compile time + detectable overflow is found. + (swprintf, vswprintf): Divide __bos by sizeof (wchar_t) in + __*_chk argument. + * debug/tst-chk1.c (do_test): Add a few more tests. + +2007-09-24 Ulrich Drepper + + [BZ #5058] + * intl/gettextP.h (struct loaded_domain): Add conversions_lock member. + * intl/loadmsgcat.c (_nl_load_domain): Initialize conversions_lock. + (_nl_unload_domain): Finalize conversions_lock. + * intl/dcigettext.c (_nl_find_msg): Take conversions_lock before + handling table of known conversions. + +2007-09-24 Jakub Jelinek + + * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use + close_not_cancel_no_status instead of close. + +2007-09-13 Aurelien Jarno + + [BZ #5028] + * posix/regcomp.c (lookup_collation_sequence_value): Check that + nrules != 0 for multibyte chars. + +2007-09-23 Ulrich Drepper + + * resolv/ns_print.c (ns_sprintrrf): Handle ns_t_a6 and ns_t_opt. + Provide better error message in case the type is unknown. + + [BZ #4963] + * wcsmbs/wcsnlen.c: Don't reference before checking the length. + * string/stratcliff.c: Make usable to test wide char functions. + * wcsmbs/wcsatcliff.c: New file. + * wcsmbs/Makefiel (tests): Add wcsatcliff. + + [BZ #4972] + * iconvdata/Makefile (modules): Add MAC-CENTRALEUROPE. + (distribute): Add mac-centraleurope.c. + (gen-8bit-gap-modules): Add mac-centraleurope. + * iconvdata/mac-centraleurope.c: New file. + * iconvdata/gconv-modules: Add entries for MAC-CENTRALEUROPE. + * iconvdata/TESTS: Likewise. + * iconvdata/tst-tables.sh: Likewise. + + [BZ #5043] + * iconv/iconv_open.c (iconv_open): For large codeset names use malloc. + +2007-09-21 Ulrich Drepper + + * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size_half): Renamed + from __x86_64_core_cache_size_half. + (init_cacheinfo): Compute shared cache size for AMD processors with + shared L3 correctly. + * sysdeps/x86_64/memcpy.S: Adjust for __x86_64_data_cache_size_half + name change. + Patch in large parts by Evandro Menezes. + +2007-09-19 Ulrich Drepper + + * elf/dl-lookup.c (add_dependency): Handle failing memory + allocation for dependency list. Remove unnecessary check. + + * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid unnecessary + open/close when determining source addresses. + + * crypt/Makefile (libcrypt-routines): Add sha256-crypt, sha256, + sha512-crypt, and sha512. + (tests): Add sha256test, sha256c-test, sha512test, and sha512c-test. + (distribute): Add sha256.h and sha512.h. + * crypt/crypt-entry.c (crypt): Recognize the new $5$ and $6$ prefixes + and call the appropriate code. + * crypt/sha256-crypt.c: New file. + * crypt/sha256.c: New file. + * crypt/sha256.h: New file. + * crypt/sha256c-test.c: New file. + * crypt/sha256test.c: New file. + * crypt/sha512-crypt.c: New file. + * crypt/sha512.c: New file. + * crypt/sha512.h: New file. + * crypt/sha512c-test.c: New file. + * crypt/sha512test.c: New file. + +2007-09-19 Jakub Jelinek + + * misc/bits/syslog.h (syslog): Remove extraneous argument from + the inline, pass __USE_FORTIFY_LEVEL - 1 as second argument to + __syslog_chk. + +2007-09-18 Jakub Jelinek + + * locale/programs/charmap-dir.c (charmap_aliases): Use %ms instead of + %as in fscanf format strings. + + * sysdeps/sparc/sparc32/elf/start.S: Remove cfi_* markup. + * sysdeps/sparc/sparc64/elf/start.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start): + Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start): + Likewise. + + * sysdeps/generic/ldsodefs.h (DL_LOOKUP_GSCOPE_LOCK): New definition. + * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Or in + DL_LOOKUP_GSCOPE_LOCK into flags after THREAD_GSCOPE_SET_FLAG (). + * elf/dl-sym.c (do_sym): Likewise. + * include/link.h (struct link_map): Add l_serial field. + * elf/dl-object.c (_dl_new_object): Initialize l_serial. + * elf/dl-lookup.c (add_dependency): Add flags argument. + Remember map->l_serial, if DL_LOOKUP_GSCOPE_LOCK is among + flags, use THREAD_GSCOPE_RESET_FLAG before and + THREAD_GSCOPE_SET_FLAG after + __rtld_lock_lock_recursive (GL(dl_load_lock)) to avoid deadlock. + Don't dereference map until it has been found on some list. + If map->l_serial changed, return -1. + +2007-09-17 Jakub Jelinek + + * include/stdio.h (__isoc99_fscanf, __isoc99_scanf, + __isoc99_sscanf, __isoc99_vscanf): New prototypes. + (__isoc99_vsscanf, __isoc99_vfscanf): New prototypes, add + libc_hidden_proto. + * include/wchar.h (__isoc99_fwscanf, __isoc99_wscanf, + __isoc99_swscanf, __isoc99_vwscanf): New prototypes. + (__isoc99_vswscanf, __isoc99_vfwscanf): New prototypes, + add libc_hidden_proto. + * libio/stdio.h (fscanf, scanf, sscanf, vfscanf, vscanf, + vsscanf): Redirect to __isoc99_* if strict ISO C99 or POSIX + conformance requested. + * wcsmbs/wchar.h (fwscanf, wscanf, swscanf, vfwscanf, vwscanf, + vswscanf): Redirect to __isoc99_* if strict ISO C99 or POSIX + conformance requested. + * libio/bits/stdio-ldbl.h (fscanf, scanf, sscanf, vfscanf, vscanf, + vsscanf): Redirect to __nldbl___isoc99_* if strict ISO C99 or POSIX + conformance requested. + * wcsmbs/bits/wchar-ldbl.h (fwscanf, wscanf, swscanf, vfwscanf, + vwscanf, vswscanf): Redirect to __nldbl___isoc99_* if strict + ISO C99 or POSIX conformance requested. + * stdio-common/Versions (libc): Export __isoc99_scanf@@GLIBC_2.7, + __isoc99_vscanf@@GLIBC_2.7, __isoc99_fscanf@@GLIBC_2.7, + __isoc99_vfscanf@@GLIBC_2.7, __isoc99_sscanf@@GLIBC_2.7 + and __isoc99_vsscanf@@GLIBC_2.7. + * stdio-common/Makefile (routines): Add isoc99_scanf, isoc99_vscanf, + isoc99_fscanf, isoc99_vfscanf, isoc99_sscanf and isoc99_vsscanf. + (tests): Add scanf14. + (CFLAGS-vfprintf.c, CFLAGS-fprintf.c, CFLAGS-printf.c, + CFLAGS-vfwprintf.c, CFLAGS-vfscanf.c, CFLAGS-vfwscanf.c, + CFLAGS-fscanf.c, CFLAGS-scanf.c, CFLAGS-isoc99_vfscanf.c, + CFLAGS-isoc99_vscanf.c, CFLAGS-isoc99_fscanf.c, + CFLAGS-isoc99_scanf.c): Add $(exceptions). + (CFLAGS-scanf15.c): Add various -I paths to prevent the compiler + from using internal headers. + * wcsmbs/Versions (libc): Export __isoc99_wscanf@@GLIBC_2.7, + __isoc99_vwscanf@@GLIBC_2.7, __isoc99_fwscanf@@GLIBC_2.7, + __isoc99_vfwscanf@@GLIBC_2.7, __isoc99_swscanf@@GLIBC_2.7 + and __isoc99_vswscanf@@GLIBC_2.7. + * wcsmbs/Makefile (routines): Add isoc99_wscanf, isoc99_vwscanf, + isoc99_fwscanf, isoc99_vfwscanf, isoc99_swscanf and isoc99_vswscanf. + (CFLAGS-isoc99_wscanf.c, CFLAGS-isoc99_fwscanf.c, + CFLAGS-isoc99_vwscanf.c, CFLAGS-isoc99_vfwscanf.c): Add $(exceptions). + (CPPFLAGS): Add -D_IO_MTSAFE_IO if needed. + * stdio-common/isoc99_scanf.c: New file. + * stdio-common/isoc99_vsscanf.c: New file. + * stdio-common/isoc99_vscanf.c: New file. + * stdio-common/isoc99_vfscanf.c: New file. + * stdio-common/isoc99_fscanf.c: New file. + * stdio-common/isoc99_sscanf.c: New file. + * wcsmbs/isoc99_fwscanf.c: New file. + * wcsmbs/isoc99_vswscanf.c: New file. + * wcsmbs/isoc99_swscanf.c: New file. + * wcsmbs/isoc99_wscanf.c: New file. + * wcsmbs/isoc99_vwscanf.c: New file. + * wcsmbs/isoc99_vfwscanf.c: New file. + * libio/libio.h (_IO_FLAGS2_SCANF_STD): Define. + * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct): Also + clear _IO_FLAGS2_SCANF_STD bit from _flags2. + * stdio-common/vfscanf.c (_IO_vfscanf_internal): Don't + handle %as, %aS and %a[ if _IO_FLAGS2_SCANF_STD is set in _flags2. + * stdio-common/scanf14.c: New test. + * stdio-common/scanf15.c: New test. + * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add + isoc99_scanf, isoc99_fscanf, isoc99_sscanf, + isoc99_vscanf, isoc99_vfscanf, isoc99_vsscanf, + isoc99_wscanf, isoc99_fwscanf, isoc99_swscanf, + isoc99_vwscanf, isoc99_vfwscanf and isoc99_vswscanf. + * sysdeps/ieee754/ldbl-opt/Versions (libc): Export + __nldbl___isoc99_scanf@@GLIBC_2.7, + __nldbl___isoc99_fscanf@@GLIBC_2.7, + __nldbl___isoc99_sscanf@@GLIBC_2.7, + __nldbl___isoc99_vscanf@@GLIBC_2.7, + __nldbl___isoc99_vfscanf@@GLIBC_2.7, + __nldbl___isoc99_vsscanf@@GLIBC_2.7, + __nldbl___isoc99_wscanf@@GLIBC_2.7, + __nldbl___isoc99_fwscanf@@GLIBC_2.7, + __nldbl___isoc99_swscanf@@GLIBC_2.7, + __nldbl___isoc99_vwscanf@@GLIBC_2.7, + __nldbl___isoc99_vfwscanf@@GLIBC_2.7 + and __nldbl___isoc99_vswscanf@@GLIBC_2.7. + * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__isoc99_scanf, + __isoc99_fscanf, __isoc99_sscanf, __isoc99_vscanf, + __isoc99_vfscanf, __isoc99_vsscanf, __isoc99_wscanf, + __isoc99_fwscanf, __isoc99_swscanf, __isoc99_vwscanf, + __isoc99_vfwscanf, __isoc99_vswscanf): Add NLDBL_DECL. + * sysdeps/ieee754/ldbl-opt/nldbl-compat.c + (__nldbl___isoc99_scanf, __nldbl___isoc99_fscanf, + __nldbl___isoc99_sscanf, __nldbl___isoc99_vscanf, + __nldbl___isoc99_vfscanf, __nldbl___isoc99_vsscanf, + __nldbl___isoc99_wscanf, __nldbl___isoc99_fwscanf, + __nldbl___isoc99_swscanf, __nldbl___isoc99_vwscanf, + __nldbl___isoc99_vfwscanf, __nldbl___isoc99_vswscanf): New + functions. + * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vfscanf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_swscanf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vwscanf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_wscanf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_scanf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_sscanf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vsscanf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_fwscanf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vfwscanf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vswscanf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vscanf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_fscanf.c: New file. + + * stdio-common/Makefile (tests): Add scanf13. + (scanf13-ENV): New. + * stdio-common/vfscanf.c (_IO_vfscanf_internal): Handle + m modifier followed by l. + (STRING_ARG): Add width argument. + (_IO_vfscanf_internal) : Handle %mc. + : Handle %mlc and %mC. + : Adjust STRING_ARG + arguments. + * stdio-common/scanf13.c: New test. + + * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct): Clear + the _IO_FLAGS2_FORTIFY bit from _flags2 rather than _flags. + +2007-09-18 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Correct return value + type and __THROW marker of splice, vmsplice, and tee. + * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/syscalls.list: Mark splice, vmsplice, and tee + as cancellation points. + +2003-11-01 Daniel Jacobowitz + + * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion): Don't + parse more than three parts of the version number. + +2007-09-15 Ulrich Drepper + + * stdio-common/vfscanf.c (_IO_vfwscanf): Add support for 'm' + modifier. Patch by Jakub Jelinek. + +2007-08-26 Jakub Jelinek + + * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_routines): Add + call_fallocate in misc subdir. + * sysdeps/unix/sysv/linux/i386/call_fallocate.S: New file. + * sysdeps/unix/sysv/linux/i386/syscalls.list (fallocate64): Remove. + * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Use __call_fallocate + instead of __fallocate64. + * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise. + +2007-09-15 Jakub Jelinek + + * rt/Versions (librt): Export __mq_open_2@@GLIBC_2.7. + * rt/Makefile (headers): Add bits/mqueue2.h. + * rt/mqueue.h: Include bits/mqueue2.h if -D_FORTIFY_SOURCE=2, + optimizing with GCC and __va_arg_pack_len is defined. + * rt/bits/mqueue2.h: New file. + * rt/mq_open.c (__mq_open): Renamed from mq_open. + (mq_open): New strong_alias. + (__mq_open_2): New function. + * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Renamed from mq_open. + (mq_open): New strong_alias. + (__mq_open_2): New function. + * debug/Versions (libc): Export __fortify_fail@@GLIBC_PRIVATE. + * Versions.def (librt): Add GLIBC_2.7 version. + * debug/fortify_fail.c (__fortify_fail): Add libc_hidden_def. + * include/stdio.h (__fortify_fail): Add libc_hidden_proto. + + * misc/sys/cdefs.h (__errordecl, __va_arg_pack_len): Define. + * io/fcntl.h: Include bits/fcntl2.h when __va_arg_pack_len + is defined rather than when not C++. + * io/bits/fcntl2.h (__open_alias, __open64_alias, __openat_alias, + __openat64_alias): New redirects. + (__open_too_many_args, __open_missing_mode, __open64_too_many_args, + __open64_missing_mode, __openat_too_many_args, __openat_missing_mode, + __openat64_too_many_args, __openat64_missing_mode): New __errordecls. + (open, open64, openat, openat64): Rewrite as __extern_always_inline + functions instead of function-like macros. + +2007-09-14 H.J. Lu + + * sysdeps/i386/i586/memcpy.S (__memcpy_chk): New definition. + * sysdeps/i386/i586/mempcpy.S (__memcpy_chk): New definition. + * sysdeps/i386/i586/memset.S (__memset_chk): New definition. + +2007-09-15 Mike Frysinger + + * inet/inet_net.c: Reset digit to 0 for inputs starting with "0x". + * inet/tst-network.c (tests): Add edge case tests for "0", "0x", "0x0". + +2007-09-14 Mike Frysinger + + * inet/tst-network.c: Increment ERRORS for failing tests. + +2007-09-07 Jakub Jelinek + + * misc/sys/cdefs.h (__va_arg_pack): Define for GCC 4.3+. + * misc/bits/syslog.h (syslog): When __va_arg_pack is defined, + implement as __extern_always_inline function. + (vsyslog): Define as __extern_always_inline function unconditionally. + * libio/bits/stdio2.h (sprintf, snprintf, printf, fprintf): + When __va_arg_pack is defined, implement as __extern_always_inline + functions. + (vsprintf, vsnprintf, vprintf, vfprintf): Define as + __extern_always_inline functions unconditionally. + * libio/bits/stdio.h (vprintf): Ifdef out the inline when + bits/stdio2.h will be included. + * wcsmbs/bits/wchar2.h (__swprintf_alias): New redirect. + (swprintf, wprintf, fwprintf): When __va_arg_pack is defined, + implement as __extern_always_inline functions. + (vswprintf, vwprintf, vfwprintf): Define as + __extern_always_inline functions unconditionally. + * debug/tst-chk1.c (do_test): Enable remaining tests for C++. + +2007-09-03 Jakub Jelinek + + * misc/sys/cdefs.h (__extern_inline, __extern_always_inline): Only + define in C++ for GCC 4.3+, in C++ always use __gnu_inline__ + attribute. + * include/features.h (__USE_EXTERN_INLINES): Define only when + __extern_inline is defined. + * stdlib/stdlib.h: Include bits/stdlib.h when __extern_always_inline + is defined instead of when not __cplusplus. + * misc/sys/syslog.h: Include bits/syslog.h when __extern_always_inline + is defined instead of when not __cplusplus. + * socket/sys/socket.h: Include bits/socket2.h when + __extern_always_inline is defined instead of when not __cplusplus. + * libio/stdio.h: Include bits/stdio2.h when __extern_always_inline + is defined instead of when not __cplusplus. + * posix/unistd.h: Include bits/unistd.h when __extern_always_inline + is defined instead of when not __cplusplus. + * string/string.h: Include bits/string3.h when __extern_always_inline + is defined instead of when not __cplusplus. + * wcsmbs/wchar.h: Include bits/wchar2.h when __extern_always_inline + is defined instead of when not __cplusplus. + (btowc, wctob): Don't guard the inlines with ifndef __cplusplus. + * io/fcntl.h: Don't include bits/fcntl2.h if __extern_always_inline + is not defined. + * misc/bits/syslog-ldbl.h: Guard *_chk stuff with + defined __extern_always_inline instead of !defined __cplusplus. + * libio/bits/stdio-ldbl.h: Likewise. + * wcsmbs/bits/wchar-ldbl.h: Likewise. + * misc/bits/syslog.h (syslog): Don't define for C++. + (vsyslog): Use __extern_always_inline function for C++ instead of + a macro. + * libio/bits/stdio.h (__STDIO_INLINE): Define to __extern_inline + whenever that macro is defined. + (vprintf): Don't provide the inline for C++. + (fread_unlocked, fwrite_unlocked): Don't define the macros for C++. + * libio/bits/stdio2.h (sprintf, snprintf, printf, fprintf): Don't + define the macros for C++. + (vsprintf, vsnprintf, vprintf, vfprintf): Define as + __extern_always_inline functions for C++. + * io/sys/stat.h (stat, lstat, fstat, fstatat, mknod, mknodat, + stat64, lstat64, fstat64, fstatat64): Don't define if not + __USE_EXTERN_INLINES. + * wcsmbs/bits/wchar2.h: Fix #error message. + (swprintf, wprintf, fwprintf): Don't define the macros for C++. + (vswprintf, vwprintf, vfwprintf): Define using + __extern_always_inline functions for C++. + * string/bits/string3.h: Don't #undef macros if __cplusplus. + (memcpy, memmove, mempcpy, memset, bcopy, bzero, strcpy, stpcpy, + strncpy, strcat, strncat): Define as __extern_always_inline + functions instead of macros for C++. + * math/bits/cmathcalls.h: Guard __extern_inline routines with + defined __extern_inline. + * sysdeps/alpha/fpu/bits/mathinline.h (__MATH_INLINE): Define + to __extern_inline whenever that macro is defined. + * sysdeps/ia64/fpu/bits/mathinline.h (__MATH_INLINE): Likewise. + * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Likewise. + * sysdeps/i386/i486/bits/string.h (__STRING_INLINE): Likewise. + * sysdeps/s390/bits/string.h (__STRING_INLINE): Likewise. + * sysdeps/s390/fpu/bits/mathinline.h (__MATH_INLINE): Likewise. + * sysdeps/powerpc/fpu/bits/mathinline.h (__MATH_INLINE): Likewise. + * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Likewise. + * sysdeps/sparc/fpu/bits/mathinline.h (__MATH_INLINE): Likewise. + * sysdeps/unix/sysv/linux/sys/sysmacros.h (gnu_dev_major, + gnu_dev_minor, gnu_dev_makedev): Remove __extern_inline from + prototypes. Only provide __extern_inline routines if + __USE_EXTERN_INLINES. + * debug/Makefile: Add rules to build and run tst-{,lfs}chk{4,5,6} + tests. + * debug/tst-chk1.c (do_prepare, do_test): Allow compilation as C++. + For now avoid some *printf tests in C++. Skip all testing + if __USE_FORTIFY_LEVEL is defined, but __extern_always_inline macro + is not. + * debug/tst-chk4.cc: New file. + * debug/tst-chk5.cc: New file. + * debug/tst-chk6.cc: New file. + * debug/tst-lfschk4.cc: New file. + * debug/tst-lfschk5.cc: New file. + * debug/tst-lfschk6.cc: New file. + * include/wchar.h (__vfwprintf_chk, __vswprintf_chk): Avoid + prototypes in C++. + * include/stdio.h (__sprintf_chk, __snprintf_chk, __vsprintf_chk, + __vsnprintf_chk, __printf_chk, __fprintf_chk, __vprintf_chk, + __vfprintf_chk, __fgets_unlocked_chk, __fgets_chk): Likewise. + +2007-09-13 Ulrich Drepper + + * po/cs.po: Update from translation team. + +2007-09-11 Roland McGrath + + * posix/Makefile ($(objpfx)getconf.speclist): Make it empty if cross + compiling. + +2007-09-07 Samuel Thibault + + * sysdeps/mach/hurd/bits/ioctls.h (TAB3): New macro. + +2007-09-05 Roland McGrath + + * manual/signal.texi (Signaling Another Process): Typo fix. + From Karl Berry . + +2007-08-29 Ulrich Drepper + + * sysdeps/unix/sysv/linux/check_pf.c (IFA_F_OPTIMISTIC): Define to + zero if not defined. + (make_request): Recognize optimistic addresses and treat them like + deprecated addresses. + Reported by Neil Horman . + +2007-08-28 Ulrich Drepper + + * nscd/connections.c (send_ro_fd): Also transfer file size. + * nscd/nscd_helper.c (get_mapping): If nscd also transfers the + file size don't call fstat. + + * nscd/nscd_helper.c (get_mapping): Avoid the pread call, just go + ahead and map the file. This should always be correct and we can + catch problems later. + +2007-08-28 Jakub Jelinek + + * libio/bits/stdio2.h (__fread_chk, __fread_unlocked_chk): New + prototypes. + (__fread_alias, __fread_unlocked_alias): New aliases. + (fread): New extern inline. + (fread_unlocked): Likewise. Undef macro before definition of + the inline function. + * debug/Makefile (routines): Add fread_chk and fread_u_chk. + (CFLAGS-fread_chk.c, CFLAGS-fread_u_chk.c): Add. + * debug/Versions (libc): Export __fread_chk@@GLIBC_2.7 + and __fread_unlocked_chk@@GLIBC_2.7. + * debug/fread_chk.c: New file. + * debug/fread_u_chk.c: New file. + * debug/tst-chk1.c (do_test): Add fread and fread_unlocked tests. + +2007-08-27 Jakub Jelinek + + * sysdeps/unix/sysv/linux/syscalls.list + (personality): Change caller to EXTRA. + +2007-08-25 Ulrich Drepper + + * iconvdata/iso-2022-kr.c (BODY): Fake initialization of array buf + to keep gcc quiet. + * iconvdata/iso-2022-cn.c (BODY): Likewise. + + * locale/programs/ld-collate.c (collate_output): Avoid warning if + NDEBUG is defined. + + * Makerules: Use -p option with mkdir. + + * sunrpc/key_prot.c (xdr_unixcred): Work around gcc alias warning. + * nis/nis_xdr.c (_xdr_nis_server): Likewise. + (_xdr_directory_obj): Likewise. + (xdr_entry_obj): Likewise. + (xdr_group_obj): Likewise. + (xdr_link_obj): Likewise. + (xdr_table_obj): Likewise. + (_xdr_nis_result): Likewise. + (_xdr_ns_request): Likewise. + (_xdr_ib_request): Likewise. + (_xdr_nis_taglist): Likewise. + (xdr_cback_data): Likewise. + * nis/yp_xdr.c (xdr_ypmaplist): Likewise. + (xdr_ypresp_maplist): Likewise. + + * stdio-common/Makefile: Avoid format string warning for tst-sprint. + + * posix/regex_internal.h: Prevent some declarations and definitions + to be seen when used in tests. + + * posix/tst-rfc3484.c (__idna_to_unicode_lzlz): Initialize *OUTPUT. + * posix/tst-rfc3484-2.c (__idna_to_unicode_lzlz): Likewise. + + * debug/Makefile: Disable format checking when compiling tst-chk?.c. + + * config.make.in (datarootdir): Add to shut up configure. + + * sysdeps/x86_64/cacheinfo.c (handle_amd): Fix computation of + associativity for fully-associative caches. + + * sysdeps/x86_64/cacheinfo.c (handle_amd): Handle L3 cache + requests. Fill on more associativity values for L2. + Patch mostly by Evandro Menezes. + +2007-08-24 Ulrich Drepper + + * sysdeps/unix/sysv/linux/x86_64/init-first.c + (_libc_vdso_platform_setup): Avoid using exported variable by using + alias. + + * resolv/arpa/nameser.h (NS_OPT_DNSSEC_OK): Define. + + * sysdeps/unix/sysv/linux/i386/syscalls.list: No reason to mark + fallocate64 as EXTRA. It is not referenced if the symbol isn't + defined. + +2007-08-23 Ulrich Drepper + + * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Correctly + align stack for call if pltexit is to be used. + + [BZ #3924] + * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Correctly + align for function call in case pltexit has to be called later. + + * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Avoid + implicit atomic operation when storing function pointer. + (_dl_runtime_profile): Likewise. + +2007-08-17 Jakub Jelinek + + * nis/nis_table.c (nis_list): Don't fail if __follow_path returned + NIS_NOTFOUND. + +2007-08-21 Ulrich Drepper + + [BZ #4566] + * string/strtok.c: Fix typo in comment. + + [BZ #4582] + * debug/segfault.c: Fix typos in comments. + + [BZ #4588] + * stdio-common/tempnam.c: Fix comment, it is not checked that + TMPDIR points to a writable directory. + + [BZ #4726] + * resolv/res_send.c (__libc_res_nsend): Initialize all of the + memory allocated for the name server address. + + [BZ #4946] + * nscd/connections.c (handle_request): Using sendfile always + requires that mmap is used for the database. + Patch by Petr Baudis . + + [BZ #4905] + * nscd/hstcache.c (cache_addhst): When reloading an entry which + suddenly has two or more addresses, ignore it and remove the old + entry. + + [BZ #4814] + * resolv/res_hconf.c: Prepare for compiling outside libc. + * nscd/res_hconf.c: New file. + * nscd/Makefile (nscd-modules): Add res_hconf. Add rules to build + the new file. + * nscd/gethstbynm2_r.c (NEED__RES_HCONF): Define. + * nscd/gethstbyad_r.c (NEED__RES_HCONF): Likewise. + + * nscd/hstcache.c (cache_addhst): Minimal optimization. + + [BZ #4925] + * debug/pcprofiledump.c: Turn on internationalization by calling + setlocale. Patch mostly by Benno Schulenberg. + + [BZ #4936] + * iconv/gconv.c (__gconv): If flush was successful, clear rest of + the state. + * iconvdata/Makefile: Add rules to build and run bug-iconv5. + * iconvdata/bug-iconv5.c: New file. + +2007-08-04 Carlos O'Donell + + [BZ #4896] + * elf/elf.h: Define R_PARISC_PLABEL21L, R_PARISC_PLABEL14R, + R_PARISC_GNU_VTENTRY, R_PARISC_GNU_VTINHERIT, R_PARISC_TLS_GD21L, + R_PARISC_TLS_GD14R, R_PARISC_TLS_GDCALL, R_PARISC_TLS_LDM21L, + R_PARISC_TLS_LDM14R, R_PARISC_TLS_LDMCALL, R_PARISC_TLS_LDO21L, + R_PARISC_TLS_LDO14R, R_PARISC_TLS_DTPMOD32, R_PARISC_TLS_DTPMOD64, + R_PARISC_TLS_DTPOFF32, R_PARISC_TLS_DTPOFF64, R_PARISC_TLS_LE21L, + R_PARISC_TLS_LE14R, R_PARISC_TLS_IE21L, R_PARISC_TLS_IE14R, + R_PARISC_TLS_TPREL32, R_PARISC_TLS_TPREL64. + +2007-08-21 Ulrich Drepper + + [BZ #4937] + * elf/do-lookup.h (do_lookup_x): Minimal improvement in hash + lookup loop. Suggested by John Reiser. + +2007-08-21 Jakub Jelinek + + * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include tls.h. + +2007-08-20 Ulrich Drepper + + * csu/libc-start.c: Don't handle VDSO_SETUP here. + * sysdeps/unix/sysv/linux/init-first.c: Handle it here instead. + * sysdeps/unix/sysv/linux/x86_64/libc-start.c: Renamed to... + * sysdeps/unix/sysv/linux/x86_64/init-first.c: ...this. New file. + * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Move VDSO_SETUP code + to... + * sysdeps/unix/sysv/linux/x86_64/init-first.c: ...here. New file. + +2007-08-18 Ulrich Drepper + + * po/nl.po: Update from translation team. + +2007-08-16 Andreas Jaeger + + * locale/localeinfo.h: Make _nl_category_name_idxs extern. + Reported by Peter Festner . + +2007-08-17 Jakub Jelinek + + * login/tst-grantpt.c (test_einval): Add 3rd argument to open. + +2007-08-16 Jakub Jelinek + + * elf/Makefile ($(objpfx)ld.so): Use readelf -s and awk instead of nm -u + to check for undefined symbols. + + * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): + If the syscall fails, set errno to the actual returned error number + rather than EINVAL. + * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): If + arguments are incorrect, set errno to EINVAL, if the syscall + fails, set errno to the actual returned error number. + + * stdlib/bits/stdlib-ldbl.h (__strtold_internal): Remove. + * wcsmbs/bits/wchar-ldbl.h (__wcstold_internal): Remove. + + * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: Moved to... + * sysdeps/sparc/sparc32/sparcv9/sparcv9b/memcpy.S: ... here. New + file. + (ASI_PNF, ASI_BLK_P): Don't define. + * sysdeps/sparc/sparc32/sparcv9v/memcpy.S: Moved to... + * sysdeps/sparc/sparc32/sparcv9/sparcv9v/memcpy.S: ... here. New + file. + * sysdeps/sparc/sparc32/sparcv9v/memset.S: Moved to... + * sysdeps/sparc/sparc32/sparcv9/sparcv9v/memset.S: ... here. New + file. + +2007-08-15 Jakub Jelinek + + * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Fix raising + FE_UNDERFLOW on Niagara CPUs. + + * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear all + exceptions. + +2007-08-14 Jakub Jelinek + + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup): No + need to check GLRO(dl_hwcap) & HWCAP_SPARC_FLUSH on sparcv9. + (sparc_fixup_plt): Add do_flush argument instead of figuring whether + flush should be used or not inside of the function. + (elf_machine_fixup_plt, elf_machine_rela): Adjust caller. + + * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone, + __thread_start): Use HIDDEN_JUMPTARGET. + * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone, + __thread_start): Likewise. + * sysdeps/unix/sysv/linux/sparc/sysdep.h (JUMPTARGET): Define. + + * sysdeps/ieee754/ldbl-64-128/strtold_l.c (__STRTOF): Declare. + Add libc_hidden_proto. + (STRTOF): Add libc_hidden_proto. + (___new_strtold_l, ___new_wcstold_l): New weak aliases. + (strtold_l, wcstold_l): Use them as second argument for + long_double_symbol. + +2007-08-14 Ulrich Drepper + + * elf/dl-misc.c: Undo last change. The kernel won't allow it. + +2007-08-13 Kaz Kojima + + * stdlib/strtold_l.c: Include wchar.h if needed. Add libc_hidden_def. + +2007-08-14 Ulrich Drepper + + * po/bg.po: New file. From the translation team. + +2007-08-13 Jakub Jelinek + + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PSELECT, + __ASSUME_PPOLL, __ASSUME_ATFCTS, __ASSUME_SET_ROBUST_LIST, + __ASSUME_UTIMENSAT, __ASSUME_FALLOCATE): Update per-arch conditions + when each feature was introduced. + + * sysdeps/unix/sysv/linux/dl-vdso.c: Don't include dl-hash.h. + * sysdeps/unix/sysv/linux/dl-vdso.h: Don't include dl-hash.h if NDEBUG. + (CHECK_HASH): New macro. + (PREPARE_VERSION): Use it. + + * sysdeps/unix/sysv/linux/pselect.c (__generic_pselect): Only provide + prototype if not __ASSUME_PSELECT. + * sysdeps/unix/sysv/linux/ppoll.c (__generic_ppoll): Only provide + prototype if not __ASSUME_PPOLL. + + * sysdeps/unix/sysv/linux/dl-osinfo.h (ROUND): #undef after use. + + * sysdeps/unix/clock_settime.c (freq, __pthread_clock_settime, + hp_timing_settime): Don't define or declare if HANDLED_CPUTIME + is defined. + +2007-08-13 Ulrich Drepper + + * sysdeps/unix/sysv/linux/x86_64/libc-start.c + (_libc_vdso_platform_setup): If vDSO is not available point + __vdso_gettimeofday to the vsyscall. + * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S [SHARED]: Use + __vdso_gettimeofday instead of vsyscall. + +2007-08-13 Jakub Jelinek + + * nscd/servicescache.c: Include kernel-features.h. + * nscd/gai.c: Likewise. + * sysdeps/unix/sysv/linux/statfs64.c: Likewise. + * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise. + * sysdeps/unix/sysv/linux/fxstatat.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise. + * sysdeps/unix/sysv/linux/xstatconv.c: Likewise. + * sysdeps/unix/sysv/linux/if_index.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Likewise. + * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise. + +2007-08-12 Ulrich Drepper + + * elf/dl-dst.h: No need for _dl_dst_count, _dl_dst_substitute, + and _dl_get_origin defines anymore. + + * sysdeps/unix/sysv/linux/clock_gettime.c (maybe_syscall_gettime_cpu): + Build fix for systems which might lack POSIX timer support. + + * sysdeps/unix/sysv/linux/x86_64/libc-start.c + (_libc_vdso_platform_setup): Mangle function pointers before storing + them. + * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL): + Demangle vdso pointer before use. + (INTERNAL_VSYSCALL): Likewise. + + * elf/cache.c (primes): Mark as const. + Noted by Roland McGrath. + +2007-08-01 Andreas Jaeger + Jakub Jelinek + + * elf/ldconfig.c (opt_ignore_aux_cache): Add new option. + (options): Add option. + (parse_opt): Handle option. + (manual_link): Adjust process_file caller. Call implicit_soname. + (search_dir): Formatting. Use and populate auxiliary cache. + (main): Load and save auxiliary cache. + * elf/readlib.c (process_file): Add stat_buf argument. Pass struct + stat64 from fstat64 to caller. + (implicit_soname): New function. + * elf/readelflib.c (process_elf_file): If DT_SONAME is not present, + leave *soname as NULL. + * elf/cache.c: Include libgen.h. + (print_entry, print_cache, compare, save_cache, add_to_cache): + Formatting and cleanups. + (aux_cache_entry_id, aux_cache_entry, aux_cache_file_entry, + aux_cache_file): New structures. + (AUX_CACHEMAGIC): Define. + (primes): New array. + (aux_hash_size, aux_hash): New variables. + (aux_cache_entry_id_hash, nextprime, init_aux_cache, + search_aux_cache, insert_to_aux_cache, add_to_aux_cache, + load_aux_cache, save_aux_cache): New functions. + * sysdeps/generic/ldconfig.h (_PATH_LDCONFIG_AUX_CACHE): Define. + (init_aux_cache, search_aux_cache, add_to_aux_cache, + load_aux_cache, save_aux_cache, implicit_soname): New prototypes. + (process_file): Adjust prototype. + +2007-08-12 Jakub Jelinek + + * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Include stddef.h + with __need_size_t. + +2007-08-12 Ulrich Drepper + + * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Expect + r_found_version structure as second parameter. + * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Define. + (_dl_vdso_vsym): Change type of second parameter accordingly. + * sysdeps/unix/sysv/linux/x86-64/libc-start.c + (_libc_vdso_platform_setup): Adjust. + * sysdeps/unix/sysv/linux/powerpc/libc-start.c + (_libc_vdso_platform_setup): Likewise. + + * sysdeps/unix/sysv/linux/powerpc/dl-vdso.c: Move to... + * sysdeps/unix/sysv/linux/dl-vdso.c: ...here. + * sysdeps/unix/sysv/linux/powerpc/dl-vdso.h: Move to... + * sysdeps/unix/sysv/linux/dl-vdso.h: ...here. + * csu/libc-start.c: Pretty printing. + Use VDSO_SETUP if defined. + * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Define VDSO_SETUP + and let generic code call into _libc_vdso_platform_setup. + * sysdeps/unix/sysv/linux/x86_64/libc-start.c: New file. + * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: New file. + * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Pretty printing. + Define INLINE_VSYSCALL and INTERNAL_VSYSCALL. + * sysdeps/unix/sysv/linux/x86_64/Versions: Export __vdso_clock_gettime + for GLIBC_PRIVATE. + * sysdeps/unix/sysv/linux/x86_64/Makefile [subdir=elf] + (sysdep_rountines): Add dl-vdso. + + * sysdeps/unix/sysv/linux/powerpc/Makefile: Use sysdep_routines instead + of routines. + + * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add + attribute_hidden to __vdso_gettimeofday prototype. + +2007-08-12 Roland McGrath + + * manual/stdio.texi (Variable Arguments Output): Fix xref to gcc manual. + From: Karl Berry . + +2007-08-11 Ulrich Drepper + + * elf/dl-misc.c (_dl_sysdep_read_whole_file): We really don't need + an atime update for the files we read. + +2007-08-10 Ulrich Drepper + + * shadow/lckpwdf.c (__lckpwdf): Use O_CLOEXEC if possible. + + * nscd/connections.c: Use O_CLOEXEC if possible. Use mkostemp + instead of mkstemp. + + * misc/Makefile (routines): Add mkostemp and mkostemp64. + * misc/Versions: Export mkostemp and mkostemp64 for GLIBC_2.7. + * misc/mkostemp.c: New file. + * misc/mkostemp64.c: New file. + * stdlib/stdlib.h: Declare the new functions. + * sysdeps/posix/tempname.c: Add new parameter which is added to + the flags for open. Remove __GT_BIGFILE handling. + * stdio-common/tempname.c: Likewise. + * include/stdio.h: Adjust __gen_tempname prototype. + Renumber __GT_* constants. + * libio/oldtmpfile.c: Adjust for __gen_tempname interface change. + * misc/mkdtemp.c: Likewise. + * misc/mkstemp.c: Likewise. + * misc/mkstemp64.c: Likewise. + * misc/mktemp.c: Likewise. + * stdio-common/tempnam.c: Likewise. + * stdio-common/tmpfile.c: Likewise. + * stdio-common/tmpfile64.c: Likewise. + * stdio-common/tmpnam.c: Likewise. + * stdio-common/tmpnam_r.c: Likewise. + +2007-08-10 Roland McGrath + + * sysdeps/mach/hurd/bits/ioctls.h (NLDLY, TABDLY, BSDLY, VTDLY): + New macros. + (NLDELAY, CRDELAY, TBDELAY, BSDELAY, VTDELAY): Define to those. + Reported by Samuel Thibault . + +2007-08-10 Ulrich Drepper + + * nss/nss_files/files-XXX.c (internal_setent): Use O_CLOEXEC if + possible. + * nss/nss_files/files-alias.c (internal_setent): Likewise. + * nss/Makefile (libnss_files-routines): Add files-have_o_cloexec. + * nss/nss_files/files-have_o_cloexec.c: New file. + + * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Use O_CLOEXEC if + available. + +2007-08-10 Jakub Jelinek + + * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (___new_strtold_l, + ___new_wcstold_l): New weak aliases. + (strtold_l, wcstold_l): Use them as second argument for + long_double_symbol. + +2007-08-09 Ulrich Drepper + + * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Use correct + register in test for error. + + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_CLOEXEC): Define. + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_CLOEXEC): Likewise. + + * po/sv.po: Update from translation team. + +2007-08-06 Roland McGrath + + * include/stdlib.h: Add libc_hidden_proto for strto*, __strto*_l. + Remove __strto*_l inlines. + * include/wchar.h: Add libc_hidden_proto for wcsto*, __wcsto*_l. + * stdlib/strtod.c: Add libc_hidden_def. + * stdlib/strtod_l.c: Likewise. + * stdlib/strtold.c [__LONG_DOUBLE_MATH_OPTIONAL]: Add libc_hidden_proto + for __new_strtold and __new_wcstold. + * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Add libc_hidden_proto for + __STRTOF, STRTOF. + * stdlib/strtol.c: Add libc_hidden_def. + * stdlib/strtol_l.c: Likewise. + * sysdeps/wordsize-64/strtol.c: Add libc_hidden_ver for strtoll and + strtoq. + + * scripts/data/localplt-powerpc-linux-gnu.data: New file. + + * scripts/data/localplt-x86_64-linux-gnu.data: File renamed to ... + * scripts/data/localplt-generic.data: ... here. + * elf/Makefile (check-data): Get generic file if no other. + ($(objpfx)check-localplt.out): Make target unconditional. + + * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion): + Use ElfW(Nhdr). + +2007-08-05 Ulrich Drepper + + * po/zh_CN.po: Updated translation from translation team. + +2007-08-05 Jakub Jelinek + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S (__socket): + Don't use CGOTSETUP and CGOTRESTORE macros. + +2007-08-04 Roland McGrath + + * posix/Makefile ($(objpfx)getconf.speclist): Fix typo. + +2007-08-04 Jakub Jelinek + + * io/bits/fcntl2.h (open, open64, openat, openat64): Add + __extension__ around the whole statement expression. + +2007-08-04 Ulrich Drepper + + * sysdeps/unix/opendir.c (__alloc_dir): Correct order of DIR + elements during initialization. + + * po/pl.po: Updated translation from translation team. + * po/tr.po: Likewise. + * po/nl.po: Likewise. + +2007-08-03 Ulrich Drepper + + * rt/aio.h: Add __nonnull attributes. + +2007-08-03 Jakub Jelinek + + * stdlib/strtod_l.c (____STRTOF_INTERNAL): Properly handle -0. + * stdlib/Makefile (tests): Add tst-strtod5. + (tst-strtod5-ENV): New. + * stdlib/tst-strtod5.c: New file. + + * intl/dcigettext.c (_nl_find_msg): Free encoding if __gconv_open + failed. + * intl/finddomain.c (_nl_find_domain): Free normalized_codeset + on failure. + + * elf/dl-load.c (decompose_rpath): Free copy if result couldn't be + allocated. + +2007-08-03 Jakub Jelinek + + * rt/mqueue.h (mq_timedreceive, mq_timedsend): Fix nonnull argument + numbers. + +2007-08-02 Ulrich Drepper + + * io/Makefile (aux): Add have_o_cloexec. + * include/fcntl.h: Declare __have_o_cloexec. + * io/have_o_cloexec.c: New file. + * sysdeps/unix/opendir.c (__opendir): Use O_CLOEXEC is available. + (__alloc_dir): If O_CLOEXEC has been used, don't duplicate the + fcntl call if not necessary. + * login/utmp_file.c (setutent_file): Use __have_o_cloexec instead + of local variable. + + * sysdeps/unix/opendir.c (__alloc_dir): Don't initialize ->data. + Avoid memset, add explicit initialization. + * sysdeps/unix/dirstream.h (struct __dirstream): Move data elemtn + to the end and change into zero-sized array. + Move lock member to fill a hole on 64-bit platforms. + + * stdlib/stdlib.h: Remove __strto*_internal prototypes and strto* + inline functions. + * include/stdlib.h: Add __strto*_internal prototypes here. + * wcsmbs/wchar.h: Remove __wcsto*_internal prototypes and wcsto* + inline functions. + * include/wchar.h: Add __wcsto*_internal prototypes. + * sysdeps/generic/inttypes.h: No need to protect the declaration + of the __strto*_internal and __wcsto*_internal members here. + + * rt/mqueue.h: Change const to __const and add nonnull attributes. + +2007-08-02 Roland McGrath + + * posix/Makefile ($(inst_libexecdir)/getconf): Make hard links to + $(inst_bindir)/getconf if possible. + + * posix/Makefile ($(objpfx)getconf.speclist): New target. + (generated): Add it. + ($(inst_libexecdir)/getconf): Use it. + +2007-08-01 Ulrich Drepper + + * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Using + /proc is faster and sufficient. /sys is still needed for + __get_nprocs_conf. + +2007-08-01 Jakub Jelinek + + * sysdeps/unix/sysv/linux/i386/syscalls.list (fallocate): Add fallocate + syscall as __fallocate64. + * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: New file. + * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: New file. + +2007-07-30 Jakub Jelinek + + * stdlib/tst-strtod2.c (do_test): Use %tu in fmt string for ptrdiff_t + value. + + * stdio-common/tst-fmemopen2.c (do_test): Avoid fmt string warning + if off_t is different rank from size_t. + + * sysdeps/generic/unwind-dw2.c (extract_cie_info, execute_cfa_program, + uw_frame_state_for): Avoid type punning warnings. + * sysdeps/generic/unwind-dw2-fde-glibc.c + (_Unwind_IteratePhdrCallback): Likewise. + * sysdeps/generic/unwind-dw2-fde.c (_Unwind_Find_FDE): Likewise. + (binary_search_single_encoding_fdes, binary_search_mixed_encoding_fdes, + get_cie_encoding, linear_search_fdes): Don't mix char and unsigned char + pointers. + +2007-07-31 Ulrich Drepper + + * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs_conf): Count + total processors using sysfs. + (__get_nprocs): Use sysfs to determine which processors are online. + +2007-07-31 Jakub Jelinek + + * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Fix + syscall arguments count. + + * stdio-common/tfformat.c (sprint_doubles): Add 12 new tests. + +2007-07-30 Roland McGrath + + * manual/libc.texinfo: Update copyrights, formatting magic, and + @dircategory. From Karl Berry . + +2007-07-29 Ulrich Drepper + + [BZ #4860] + * io/Makefile (headers): Add bits/fcntl2.h. + + * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_ZERO_S): Optimize + using gcc builtin. + (__CPU_EQUAL_S): Likewise. + + * posix/Makefile (routines): Add sched_cpualloc and sched_cpufree. + (tests): Add tst-cpuset. + * posix/sched_cpualloc.c: New file. + * posix/sched_cpufree.c: New file. + * posix/tst-cpuset.c: New file. + * posix/Versions: Export __sched_cpualloc and __sched_cpufree for + GLIBC_2.7. + * sysdeps/unix/sysv/linux/bits/sched.h: Define __CPU_*_S macros. + * posix/sched.h: Define old CPU_* macros in temers of __CPU_*_S + macros. Define CPU_*_S macros. + +2007-07-28 Ulrich Drepper + + * posix/getconf.c (vars): Add missing _SC_LEVEL4_CACHE_LINESIZE + entry. + + [BZ #4858] + * stdio-common/printf_fp.c (___printf_fp): Fix special case of + #.0g and value rounded to 1.0. + * stdio-common/tfformat.c (sprint_doubles): Add two new tests. + +2007-07-26 Jakub Jelinek + + * locale/programs/ld-monetary.c (monetary_finish): Avoid range check + for int_frac_digits and frac_digits. + + * login/logout.c (logout): Avoid aliasing violation. + * login/logwtmp.c (logwtmp): Likewise. + + * libio/genops.c (_IO_un_link): Avoid aliasing violation. + + * nscd/selinux.c (preserve_capabilities): Initialize new_caps + to avoid warning. + * iconv/gconv_open.c (__gconv_open): Initialize ptr to avoid + warning. + * nis/nis_subr.c (nis_getnames): Initialize saveptr to avoid + warning. + * resolv/inet_ntop.c (inet_ntop6): Initialize best.len and cur.len + to avoid warnings. + + * nss/nsswitch.c (__nss_lookup_function): Don't cast &ni->known to + void **. + * nss/nsswitch.h (service_user): Use void * type for KNOWN field. + + * nss/nss_files/files-hosts.c (LINE_PARSER): Cast host_addr to + char * to avoid warning. + * nis/nss_nis/nis-hosts.c (LINE_PARSER): Likewise. + + * timezone/Makefile (CFLAGS-zdump.c): Add -fwrapv. + + * locale/programs/ld-ctype.c (ctype_finish, set_class_defaults, + allocate_arrays): Cast second argument to charmap_find_symbol + to char * to avoid warnings. + + * locale/programs/repertoire.c (repertoire_new_char): Change + from_nr, to_nr and cnt to unsigned long, adjust printf format + string. + + * locale/programs/ld-collate.c (insert_value, handle_ellipsis): + Cast second argument to new_element to char * to avoid warnings. + + * locale/weightwc.h (findidx): Cast &extra[-i] to const int32_t *. + + * intl/gettextP.h (struct loaded_domain): Change plural to const + struct expression *. + * intl/plural-eval.c (plural_eval): Change first argument to + const struct expression *. + * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Change first + argument to const struct expression **. + * intl/plural-exp.h (EXTRACT_PLURAL_EXPRESSION, plural_eval): Adjust + prototypes. + * intl/loadmsgcat (_nl_unload_domain): Cast away const + in call to __gettext_free_exp. + + * posix/fnmatch.c (fnmatch): Rearrange code to avoid maybe + unitialized wstring/wpattern var warnings. + + * posix/runtests.c (struct a_test): Make data field const char *. + + * stdio-common/tst-sprintf2.c (main): Don't declere u, v and buf + vars if not LDBL_MANT_DIG >= 106. + + * stdio-common/Makefile (CFLAGS-vfwprintf.c): Add -Wno-unitialized. + + * stdio-common/vfprintf.c (vfprintf): Cast first arugment to + __find_specmb to avoid warning. + + * rt/tst-mqueue1.c (do_one_test): Add casts to avoid warnings. + + * debug/test-strcpy_chk.c (do_tests, do_random_tests): Add casts + to avoid warnings. + + * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Add L suffix to + initializer. + + * sysdeps/unix/clock_gettime.c (clock_gettime): Only define + tv var when it will be actually used. + + * sunrpc/rpc_cmsg.c (xdr_callmsg): Cast IXDR_PUT_* to void + to avoid warnings. + + * iconvdata/gbk.c (BODY): Make buf and cp char instead of unsigned + char array resp. pointer. + * iconvdata/iso-2022-kr.c (BODY): Make buf unsigned char instead of + char array. + * iconvdata/cns11643.h (cns11643_to_ucs4): Change first argument + to const unsigned char **. + (ucs4_to_cns11643): Change second argument to unsigned char *. + * iconvdata/euc-tw.c (BODY): Change endp type to + const unsigned char *. + * iconvdata/iso-ir-165.h (ucs4_to_isoir165): Change second argument + to unsigned char *. + * iconvdata/ibm1008_420.c (LOOP_NEED_FLAGS): Don't define. + * iconvdata/iso-2022-cn.c (BODY): Change buf to unsigned char array. + * iconvdata/iso-2022-cn-ext.c (BODY): Change buf, tmpbuf, tmp + types to unsigned char pointers/arrays instead of char. + * iconvdata/jis0201.h (ucs4_to_jisx0201): Change second argument + to unsigned char *. + * iconvdata/jis0208.h (ucs4_to_jisx0208): Likewise. + * iconvdata/jis0212.h: Include assert.h. + (ucs4_to_jisx0212): Change second argument to unsigned char *. + assert that if cp[0] is not '\0', cp[1] is not '\0' either instead + of trying to handle that. + * iconvdata/euc-kr.c (euckr_from_ucs4): Initialize also cp[1] to + shut up a warning. + * iconvdata/euc-jp-ms.c (from_ucs4_lat1, from_ucs4_greek, + from_ucs4_cjk, from_ucs4_cjkcpt, from_ucs4_extra): Change type to + two dimensional const unsigned char arrays. + (BODY): Cast "" to (const unsigned char *) for assignment to cp. + Initialize endp to inptr to shut up a warning. + +2007-07-20 Jakub Jelinek + + [BZ #4772] + * time/strptime_l.c (__strptime_internal): Silently ignore + strftime modifiers and field width in recursive calls. + + * include/time.h (enum ptime_locale_status): Remove. + (__strptime_internal): Remove decided and era_cnt arguments, + add statep argument. + * time/strptime_l.c (__strptime_internal): Remove decided + and era_cnt arguments, add statep argument. Don't recompute + any fields in recursive calls, only update caller's tm + and state, if recursive call fails, don't change tm nor + any state. + (get_alt_number): Adjust. + (recursive): Adjust caller. + (strptime): Likewise. + * time/strptime.c (strptime): Likewise. + +2007-07-19 Jakub Jelinek + + * iconv/gconv_int.h (__GCONV_NULCONV): New internal only error code. + * iconv/gconv_cache.c (__gconv_lookup_cache): Return __GCONV_NULCONV + if from and to charsets are the same. + * iconv/gconv_db.c (__gconv_find_transform): Likewise. + * intl/dcigettext.c (_nl_find_msg): Return NULL even if __gconv_open + returns __GCONV_NOCONV, but not for __GCONV_NULCONV. + +2007-07-17 Jakub Jelinek + + * wcsmbs/wchar.h: Only define wint_t if __need_wint_t. + Don't define wint_t when __need_mbstate_t unless it + is necessary. + (__mbstate_t): Use __WINT_TYPE__ rather than wint_t + in the typedef if possible. + * wctype/wctype.h (wint_t): Define by including + wchar.h with __need_wint_t instead of including stddef.h + with __need_wint_t and as fallback definining it ourselves. + * iconv/gconv.h (__need_wint_t): Define before including + wchar.h. + * sysdeps/gnu/_G_config.h: Don't include gconv.h if not _LIBC + or _GLIBCPP_USE_WCHAR_T. + (__need_wchar_t): Don't define + if not _LIBC or _GLIBCPP_USE_WCHAR_T. + (__need_wint_t): Don't define before including stddef.h, + define before including wchar.h only if _LIBC or + _GLIBCPP_USE_WCHAR_T. + (_G_iconv_t): Don't define if not _LIBC or _GLIBCPP_USE_WCHAR_T. + * sysdeps/mach/hurd/_G_config.h: Likewise. + * sysdeps/generic/_G_config.h: Likewise. + * libio/libio.h (__wunderflow, __wuflow, __woverflow): Only + prototype if _LIBC or _GLIBCPP_USE_WCHAR_T. + (_IO_getwc_unlocked, _IO_putwc_unlocked): Only define + if _LIBC or _GLIBCPP_USE_WCHAR_T. + +2007-07-28 Ulrich Drepper + + * sysdeps/posix/posix_fallocate64.c: Undefine + __posix_fallocate64_l64 before alias handling. + * sysdeps/unix/sysv/linux/posix_fallocate.c: New file. + * sysdeps/unix/sysv/linux/posix_fallocate64.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: New file. + + * io/tst-posix_fallocate.c: Include . + +2007-07-23 Jakub Jelinek + + * locale/programs/ld-collate.c (atwc): New variable. + (add_to_tablewc): New toplevel function, moved from collate_output. + (collate_output): Remove add_to_tablewc nested function. + + * iconv/iconvconfig.c (hash_table, hash_size): New toplevel vars. + (name_insert): New function. + (write_output): Remove hash_table and hash_size vars and name_insert + nested function. + +2007-07-24 Roland McGrath + + * Makerules (install-others-programs-nosubdir): New target. + (install-no-libc.a-nosubdir): Depend on it. + + * iconv/Makefile (install-others-programs): Set this instead of + install-others. + * login/Makefile (install-others-programs): Likewise. + * posix/Makefile (install-others-programs): Likewise. + + * Makerules (install-no-libc.a-nosubdir): Clean up conditional + dependencies. + +2007-07-23 Ulrich Drepper + + * io/Makefile (tests): Add tst-posix_fallocate. + * io/tst-posix_fallocate.c: New file. + + * sysdeps/unix/sysv/linux/kernel-features.h: Define + __ASSUME_FALLOCATE. + +2007-07-22 Roland McGrath + + * hurd/getdport.c: Add missing copyright year update. + + * sysdeps/mach/hurd/bits/fcntl.h [__USE_GNU] (O_CLOEXEC): New macro. + * hurd/port2fd.c (_hurd_port2fd): Implement O_CLOEXEC. + +2007-07-22 Ulrich Drepper + + * login/utmp_file.c (setutent_file): Use O_CLOEXEC if possible. + + * libio/fileops.c (_IO_new_file_fopen): Recognize 'e' flag and set + O_CLOEXEC is needed. + * nis/nss_compat/compat-grp.c: Use 'e' flag when opening file. + Avoid additional fcntl to set O_CLOEXEC if not needed. + * nis/nss_compat/compat-initgroups.c: Likewise. + * nis/nss_compat/compat-pwd.c: Likewise. + * nis/nss_compat/compat-spwd.c: Likewise. + +2007-07-21 Samuel Thibault + + [BZ #3665] + * manual/errno.texi: Change ECANCELED value to 119. + + [BZ #4610] + * mach/lock-intern.h: Include . + + [BZ #4178] + * sysdeps/mach/hurd/sigaction.c (__sigaction): Check ACT != NULL before + reading A. + + [BZ #4126] + * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Define alias + to __sigsuspend. + + * sysdeps/mach/i386/sysdep.h: Include and . + +2006-06-13 Thomas Schwinge + + * sysdeps/mach/hurd/tls.h: Change `ASSEMBLER' conditional to + `__ASSEMBLER__'. + * sysdeps/mach/hurd/i386/tls.h: Likewise. + +2007-07-21 Ulrich Drepper + + * nscd/nscd_helper.c (get_mapping): Use MSG_CMSG_CLOEXEC for + descriptor received from nscd. + + * sysdeps/unix/sysv/linux/bits/socket.h: Define MSG_CMSG_CLOEXEC. + + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_CLOEXEC. + * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. + +2007-07-20 Jakub Jelinek + + [BZ #4816] + * manual/signal.texi (Non-atomic Example): Make memory var volatile. + + [BZ #4813] + * login/forkpty.c (forkpty): Close master and slave fds on + fork failure. Patch by + Mikulas Patocka . + +2007-07-18 Jakub Jelinek + + * include/features.h (__USE_ISOC95): New define. + * wcsmbs/wchar.h (fwprintf, fwscanf, wprintf, wscanf, swprintf, + swscanf, vfwprintf, vwprintf, vswprintf, fwide): Define even + for -std=iso9899:199409. + * CONFORMANCE: Remove comments about unsupported AMD1. + +2007-07-17 Jakub Jelinek + + * sysdeps/ia64/sched_cpucount.c: New file. + * sysdeps/powerpc/sched_cpucount.c: New file. + + * sysdeps/unix/sysv/linux/bits/sched.h (__sched_cpucount): Add + __BEGIN_DECLS/__END_DECLS around the prototype. + * bits/sched.h (__sched_cpucount): Likewise. Make second argument + pointer to const cpu_set_t. + + * bits/types.h: Don't include stddef.h, don't define __need_size_t. + * signal/signal.h <__USE_BSD || __USE_XOPEN_EXTENDED>: Define + __need_size_t and include stddef.h. + * sysvipc/sys/msg.h: Likewise. + * posix/sched.h: Likewise. + * hurd/hurd/signal.h (__need_size_t): Define. + + * CONFORMANCE: ctype.h and wctype.h no longer define size_t, + neither does signal.h in pedantic ISO C namespaces. stdio.h + no longer defines wint_t or wchar_t. + + * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct): New function. + * debug/vfwprintf_chk.c (__vfwprintf_chk): Use + _IO_acquire_lock_clear_flags2 instead of _IO_acquire_lock. + * debug/vprintf_chk.c (__vprintf_chk): Likewise. + * debug/vwprintf_chk.c (__vwprintf_chk): Likewise. + * debug/vfprintf_chk.c (__vfprintf_chk): Likewise. + * debug/fwprintf_chk.c (__fwprintf_chk): Likewise. + * debug/printf_chk.c (__printf_chk): Likewise. + * debug/fprintf_chk.c (__fprintf_chk): Likewise. + * debug/wprintf_chk.c (__wprintf_chk): Likewise. + + * sysdeps/pthread/bits/stdio-lock.h (_IO_acquire_lock_clear_flags2): + Define. + + * bits/confname.h (_CS_POSIX_V6_WIDTH_RESTRICTED_ENVS): Define. + * posix/getconf.c (vars): Add POSIX_V6_WIDTH_RESTRICTED_ENVS. + +2007-07-16 Jakub Jelinek + + [BZ #4792] + * stdlib/stdlib.h (realloc): Remove __attribute_malloc__. + * malloc/malloc.h (realloc): Likewise. + + * libio/iopopen.c (_IO_new_proc_open): Don't close child_std_end + if one of proc_file_chain streams has that fileno. + * stdio-common/Makefile (tests): Add tst-popen2. + * stdio-common/tst-popen2.c: New test. + +2007-07-14 Jakub Jelinek + + * elf/ldconfig.c: Allow GPLv2 or any later version. + * elf/readlib.c: Likewise. + * elf/chroot_canon.c: Likewise. + * elf/cache.c: Likewise. + * nscd/mem.c: Likewise. + * nscd/getpwuid_r.c: Likewise. + * nscd/grpcache.c: Likewise. + * nscd/aicache.c: Likewise. + * nscd/getsrvbynm_r.c: Likewise. + * nscd/nscd.c: Likewise. + * nscd/servicescache.c: Likewise. + * nscd/getsrvbypt_r.c: Likewise. + * nscd/initgrcache.c: Likewise. + * nscd/gethstbyad_r.c: Likewise. + * nscd/gethstbynm2_r.c: Likewise. + * nscd/getgrnam_r.c: Likewise. + * nscd/nscd_setup_thread.c: Likewise. + * nscd/getpwnam_r.c: Likewise. + * nscd/gai.c: Likewise. + * nscd/connections.c: Likewise. + * nscd/dbg_log.c: Likewise. + * nscd/cache.c: Likewise. + * nscd/hstcache.c: Likewise. + * nscd/nscd_conf.c: Likewise. + * nscd/getgrgid_r.c: Likewise. + * nscd/pwdcache.c: Likewise. + * catgets/gencat.c: Likewise. + * locale/programs/linereader.h: Likewise. + * locale/programs/locarchive.c: Likewise. + * locale/programs/ld-paper.c: Likewise. + * locale/programs/locfile-kw.h: Likewise. + * locale/programs/ld-address.c: Likewise. + * locale/programs/xmalloc.c: Likewise. + * locale/programs/ld-time.c: Likewise. + * locale/programs/localedef.c: Likewise. + * locale/programs/simple-hash.c: Likewise. + * locale/programs/xstrdup.c: Likewise. + * locale/programs/ld-numeric.c: Likewise. + * locale/programs/locfile-kw.gperf: Likewise. + * locale/programs/ld-collate.c: Likewise. + * locale/programs/charmap-kw.gperf: Likewise. + * locale/programs/charmap.h: Likewise. + * locale/programs/charmap-kw.h: Likewise. + * locale/programs/config.h: Likewise. + * locale/programs/locfile.c: Likewise. + * locale/programs/ld-ctype.c: Likewise. + * locale/programs/charmap.c: Likewise. + * locale/programs/ld-messages.c: Likewise. + * locale/programs/repertoire.h: Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/ld-name.c: Likewise. + * locale/programs/linereader.c: Likewise. + * locale/programs/locfile.h: Likewise. + * locale/programs/3level.h: Likewise. + * locale/programs/ld-monetary.c: Likewise. + * locale/programs/ld-measurement.c: Likewise. + * locale/programs/charmap-dir.c: Likewise. + * locale/programs/ld-identification.c: Likewise. + * locale/programs/localedef.h: Likewise. + * locale/programs/charmap-dir.h: Likewise. + * locale/programs/repertoire.c: Likewise. + * locale/programs/simple-hash.h: Likewise. + * locale/programs/ld-telephone.c: Likewise. + * locale/programs/locale-spec.c: Likewise. + * locale/programs/locfile-token.h: Likewise. + * posix/getconf.c: Likewise. + * iconv/dummy-repertoire.c: Likewise. + * iconv/iconv_charmap.c: Likewise. + * iconv/iconvconfig.c: Likewise. + * iconv/iconv_prog.c: Likewise. + * malloc/memusagestat.c: Likewise. + * sysdeps/unix/sysv/linux/nscd_setup_thread.c: Likewise. + +2007-07-06 Kaz Kojima + + * sysdeps/sh/bsd-setjmp.S (setjmp): Use correct argument registers. + * sysdeps/sh/bsd-_setjmp.S (_setjmp): Likewise. + * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Do correct sanity + check for the first argument. + +2007-07-12 Jakub Jelinek + + [BZ #4775] + * math/tgmath.h (__tgmath_real_type_sub): Formatting. + (__tgmath_real_type): Fix if expr is const int or other const + qualified integral type. + (__TGMATH_UNARY_REAL_ONLY): Rewritten to avoid using statement + expressions and handle const qualified arguments. + (__TGMATH_BINARY_FIRST_REAL_ONLY, __TGMATH_UNARY_REAL_IMAG, + __TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise. + (__TGMATH_UNARY_REAL_RET_ONLY): Rewritten to avoid using + statement expressions. + (__TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY, + __TGMATH_TERNARY_REAL_ONLY, __TGMATH_BINARY_REAL_IMAG): Likewise. + (__TGMATH_UNARY_IMAG): Define. + (conj, cproj): Use __TGMATH_UNARY_IMAG macro. + * math/Makefile (tests): Add test-tgmath2. + (CFLAGS-test-tgmath2.c): Add. + * math/test-tgmath.c (fy, dy, ly, fz, dz, lz, count_cdouble, + count_cfloat, count_cldouble): New variables. + (NCCALLS): Define. + (main): Check number of complex calls as well. + (F(compile_test)): Add complex tests and tests with const qualified + arguments. + (y, z, ccount): Define. + (F(cacos), F(casin), F(catan), F(ccos), F(csin), F(ctan), F(cacosh), + F(casinh), F(catanh), F(ccosh), F(csinh), F(ctanh), F(cexp), F(clog), + F(csqrt), F(cpow), F(cabs), F(carg), F(creal), F(cimag), F(conj), + F(cproj)): New functions. + * math/test-tgmath2.c: New test. + +2007-07-11 Jakub Jelinek + + [BZ #4776] + * elf/dl-load.c (_dl_rtld_di_serinfo): Output / in LD_LIBRARY_PATH, + RPATH etc. as "/" rather than "", don't segfault on empty paths, + instead output ".". + * dlfcn/Makefile (distribute): Add glreflib3.c. + (module-names): Add glreflib3. + ($(objpfx)tst-dlinfo.out): Depend on glreflib3.so rather than + glreflib1.so. + (LDFLAGS_glreflib3.so): New. + * dlfcn/tst-dlinfo.c (do_test): Load glreflib3.so instead of + glreflib1.so. + * dlfcn/glreflib3.c: New file. + + * intl/finddomain.c (_nl_find_domain): If _nl_explode_name + returned -1, return NULL. + * intl/explodename.c (_nl_explode_name): Return -1 if + _nl_normalize_codeset failed. + +2007-07-07 Steven Munroe + + * sysdeps/powerpc/powerpc32/power6/memset.S: Update comments. + Specify .machine power6 to get ISA-V2.0 branch hints. Unroll loops + and avoid branch misspredicts for > 31 bytes memset case. + * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise. + Remove toc ref to __cache_line_size. + + * sysdeps/powerpc/powerpc32/power4/memcmp.S: Specify .machine power4 + to get ISA-V2.0 branch hints. + * sysdeps/powerpc/powerpc32/power4/memcpy.S: Likewise + * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise + * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise. + * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise. + * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise. + * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise. + Remove toc ref to __cache_line_size. + + * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: + Include math_ldbl_opt.h. + +2007-07-10 Ulrich Drepper + + [BZ #4773] + * time/strptime_l.c (__strptime_internal): Implement greedy + matching of weekday and month names. + +2007-07-09 Roland McGrath + + * elf/elf.h (NT_GNU_ABI_TAG): New macro. + (ELF_NOTE_ABI): Use it. + (NT_GNU_HWCAP, NT_GNU_BUILD_ID): New macros. + +2007-07-09 Ulrich Drepper + + * sysdeps/x86_64/cacheinfo.c (intel_02_known): Add new entries. + * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise. + +2007-07-07 Ulrich Drepper + + [BZ #4745] + * stdio-common/vfscanf.c (_IO_vfscanf): Add additional test for EOF + in loop to look for conversion specifier to avoid testing of + wrong errno value. + * stdio-common/Makefile (tests): Add bug18, bug18a, bug19, bug19a. + * stdio-common/bug18.c: New file. + * stdio-common/bug18a.c: New file. + * stdio-common/bug19.c: New file. + * stdio-common/bug19a.c: New file. + +2007-07-05 Mike Frysinger + + * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use LC_ALL=C when + running awk script. + +2007-07-01 Jakub Jelinek + + * elf/dl-sysdep.c (_dl_important_hwcaps): Add integer overflow check. + * elf/dl-minimal.c (__libc_memalign): Likewise. Handle malloc (0). + Return NULL if mmap failed instead of asserting it does not. + (calloc): Check for integer overflow. + + * elf/dl-minimal.c (__strtoul_internal): Fix parsing of numbers bigger + than LONG_MAX / 10. + +2007-07-03 Jakub Jelinek + + [BZ #4702] + * nis/nss-default.c: Include errno.h. + (init): Preserve errno. + +2007-07-02 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/socket.h (PF_UNIX): Update comment. + +2007-06-30 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_RXRPC and AF_RXRPC. + +2007-06-29 Martin Schwidefsky + + * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_IUCV and AF_IUCV. + +2007-06-29 Martin Schwidefsky + + * sysdeps/s390/dl-procinfo.c: New file. + * sysdeps/s390/dl-procinfo.h: New file. + * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: New file. + +2007-06-29 Jakub Jelinek + + * elf/dl-load.c (open_verify): Find .note.ABI-tag notes even + in PT_NOTE segments with multiple notes. + * elf/readelflib.c (process_elf_file): Likewise. + +2007-06-22 Ulrich Drepper + + * nis/nis_domain_of.c (__nis_domain_of): Make the code a bit more + ISO C compliant. + +2007-06-19 Ulrich Drepper + + * elf/dl-close.c (free_mem): Free _dl_scope_free_list. + +2007-06-13 Jakub Jelinek + + * include/link.h: Don't include rtld-lowlevel.h. + (struct link_map): Remove l_scope_lock. + * sysdeps/generic/ldsodefs.h: Don't include rtld-lowlevel.h. + (_dl_scope_free_list): New field (variable) in _rtld_global. + (DL_LOOKUP_SCOPE_LOCK): Remove. + (_dl_scope_free): New prototype. + * elf/dl-runtime.c (_dl_fixup): Don't use __rtld_mrlock_*lock. + Don't pass DL_LOOKUP_SCOPE_LOCK to _dl_lookup_symbol_x. + (_dl_profile_fixup): Likewise. + * elf/dl-sym.c (do_sym): Likewise. Use wrapped _dl_lookup_symbol_x + whenever !RTLD_SINGLE_THREAD_P, use THREAD_GSCOPE_SET_FLAG and + THREAD_GSCOPE_RESET_FLAG around it. + * elf/dl-close.c (_dl_close_worker): Don't use + __rtld_mrlock_{change,done}. Call _dl_scope_free on the old + scope. Make sure THREAD_GSCOPE_WAIT () happens if any old + scopes were queued or if l_scope_mem has been abandoned. + * elf/dl-open.c (_dl_scope_free): New function. + (dl_open_worker): Use it. Don't use __rtld_mrlock_{change,done}. + * elf/dl-support.c (_dl_scope_free_list): New variable. + * elf/dl-lookup.c (add_dependency): Remove flags argument. + Remove DL_LOOKUP_SCOPE_LOCK handling. + (_dl_lookup_symbol_x): Adjust caller. Remove DL_LOOKUP_SCOPE_LOCK + handling. + * elf/dl-object.c (_dl_new_object): Don't use + __rtld_mrlock_initialize. + +2007-06-19 Ulrich Drepper + + * sysdeps/generic/ldsodefs.h (rtld_global): Reorder some elements + to fill in holes + (rtld_global_ro): Likewise. + +2007-06-18 Jakub Jelinek + + * elf/dl-addr.c (_dl_addr): Skip PT_LOAD checking if l_contiguous. + Move PT_LOAD checking to... + (_dl_addr_inside_object): ... here, new function. + * elf/dl-sym.c (do_sym): If not l_contiguous, + call _dl_addr_inside_object. + * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise. + * dlfcn/dlinfo.c (dlinfo_doit): Likewise. + * elf/dl-open.c (dl_open_worker): Likewise. + (_dl_addr_inside_object): New function if IS_IN_rtld. + * elf/dl-load.c (_dl_map_object_from_fd): Set l_contiguous if no + holes are present or are PROT_NONE protected. + * include/link.h (struct link_map): Add l_contiguous field. + * sysdeps/generic/ldsodefs.h (_dl_addr_inside_object): New prototype. + +2007-06-18 Jakub Jelinek + Tomas Janousek + Ulrich Drepper + + [BZ #4647] + * resolv/res_send.c (send_dg): Remove socket_pf. Use ipv6_unavail + member in __res_state, only convaddr4to6 if nssocks[ns] is a PF_INET6 + socket. + * resolv/resolv.h (__res_state): Add ipv6_unavail member. Make + unused member a bitmap. + * resolv/res_init.c (__res_vinit): Reset ipv6_unavail if IPv6 + servers are configured. + +2007-06-18 Jakub Jelinek + + * elf/rtld.c (dl_main): Don't call init_tls more than once. + +2007-06-17 Andreas Schwab + + * sysdeps/generic/initfini.c: Tell gcc about the nonstandard sections. + +2007-06-16 Andreas Jaeger + + [BZ #4125] + * sysdeps/unix/sysv/linux/sys/ptrace.h + (PTRACE_O_TRACESYSGOOD, PTRACE_O_TRACEFORK, + PTRACE_O_TRACEVFORK, PTRACE_O_TRACECLONE, PTRACE_O_TRACEEXEC, + PTRACE_O_TRACEVFORKDONE, PTRACE_O_TRACEEXIT, PTRACE_O_MASK, + PTRACE_EVENT_FORK, PTRACE_EVENT_VFORK, PTRACE_EVENT_CLONE, + PTRACE_EVENT_EXEC, PTRACE_EVENT_VFORK_DONE, PTRACE_EVENT_EXIT): + Define. + * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise. + * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise. + +2007-06-16 Ulrich Drepper + + [BZ #4599] + * sysdeps/unix/sysv/linux/check_pf.c (make_request): When + determining whether there are IPv4/IPv6 addresses, ignore loopback + addresses. + +2007-06-14 Uros Bizjak + + * soft-fp/soft-fp.h (CMPtype): Define to "int" if undefined. + * soft-fp/eqdf2.c (__eqdf2): Use CMPtype instead of int + as the return type. Change type of "r" variable to CMPtype. + * soft-fp/eqsf2.c (__eqsf2): Likewise. + * soft-fp/eqtf2.c (__eqtf2): Likewise. + * soft-fp/gedf2.c (__gedf2): Likewise. + * soft-fp/gesf2.c (__gesf2): Likewise. + * soft-fp/getf2.c (__getf2): Likewise. + * soft-fp/ledf2.c (__ledf2): Likewise. + * soft-fp/lesf2.c (__lesf2): Likewise. + * soft-fp/letf2.c (__letf2): Likewise. + * soft-fp/unorddf2 (__unorddf2): Likewise. + * soft-fp/unordsf2 (__unordsf2): Likewise. + * soft-fp/unordtf2 (__unordtf2): Likewise. + +2007-06-09 Ulrich Drepper + + * elf/do-lookup.h (do_lookup_x): Read r_nlist before r_list and + make sure gcc doesn't mess around with this. + +2007-06-08 Ulrich Drepper + + * elf/dl-lookup.c (_dl_lookup_symbol_x): Remove use of r_nlist. + +2007-06-08 Jakub Jelinek + + * elf/dl-close.c (_dl_close_worker): Remove all to be removed + libraries from the global scope at once and call THREAD_GSCOPE_WAIT + at most once per _dl_close_worker. + +2007-06-08 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/sched.h: Make second parameter of + __sched_cpucount as const. + * posix/sched_cpucount.c: Adjust. + + * posix/sched_cpucount.c (__sched_cpucount): Allow using special + instruction for counting bits. + * sysdeps/x86_64/sched_cpucount.c: New file. + +2007-06-07 Ulrich Drepper + + * configure.in: Avoid variable named BASH. + * config.make.in: Likewise. + Patch in part by Mike Frysinger. + +2007-06-06 Jakub Jelinek + + [BZ #4586] + * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Treat + pseudo-zeros as zero. + * sysdeps/x86_64/ldbl2mpn.c: New file. + * sysdeps/ia64/ldbl2mpn.c: New file. + +2007-06-04 Jakub Jelinek + + * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (nextafterl): Remove + unused ily variable. Fix nextafterl on +-__LDBL_MAX__ and +-Inf. + Remove unreachable code at the end. + +2007-06-01 Steven Munroe + + * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Correct description of + ldbl-128ibm in comment. + (fpclassifyl): Correct classification of denormals. + * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (nextafterl): Correct + return value for MIN denormal. Rewrite using long double math too + correctly handle denormals and canonicalize the results. + +2007-06-05 Jakub Jelinek + + * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c + (__mpn_construct_long_double): Fix conversion where result ought + to be smaller than __LDBL_MIN__, or the low double should be + denormal. Fix decision where to negate low double - honor round + to even rules. + * stdio-common/tst-sprintf2.c: Include string.h. + (COMPARE_LDBL): Define. + (TEST): Also test whether a string hexadecimal float representation + can be parsed back to the number. + (main): Add a couple of further tests. + +2007-06-04 Jakub Jelinek + + * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c + (PRINT_FPHEX_LONG_DOUBLE): Fix printing numbers where lower double + is non-zero, but smaller than 2 * __DBL_MIN__. + * stdio-common/tst-sprintf2.c: New test. + * stdio-common/Makefile (tests): Add tst-sprintf2. + + * math/test-misc.c (main): Don't run last batch of tests with + IBM long double format. + +2007-05-31 Steven Munroe + + * sysdeps/powerpc/powerpc32/970/fpu/Implies: New file. + * sysdeps/powerpc/powerpc32/power5/fpu/Implies: New file. + * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: New file. + * sysdeps/powerpc/powerpc32/power6/fpu/Implies: New file. + * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file. + * sysdeps/powerpc/powerpc64/970/fpu/Implies: New file. + * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New file. + * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New file. + * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New file. + * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: + New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: + New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: + New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: + New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: + New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: + New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: + New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: + New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: + New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: + New file. + +2007-05-31 Steven Munroe + + * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrint.S: Move. + * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: To here. + * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrintf.S: Move. + * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: To here. + * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llround.S: Move. + * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: To here. + * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llroundf.S: Move. + * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: To here. + +2007-05-22 Steven Munroe + + * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S + (LONG_DOUBLE_COMPAT): Specify correct version, GLIBC_2_1. + * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S + (LONG_DOUBLE_COMPAT): Specify correct version, GLIBC_2_1. + * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S + (LONG_DOUBLE_COMPAT): Specify correct version, GLIBC_2_1. + * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S + (LONG_DOUBLE_COMPAT): Specify correct version, GLIBC_2_1. + +2007-05-21 Steven Munroe + + * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: New file. + * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.c: New file. + * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: New file. + * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: New file. + +2007-03-15 Steven Munroe + + * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrint.S + [LONG_DOUBLE_COMPAT]: Add compat_symbol for llrintl@@GLIBC_2_1. + +2006-02-13 Steven Munroe + + * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: New File + * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: New File + * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: New File + * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: New File + +2006-10-20 Steven Munroe + + * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: New file. + * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: New file. + +2006-10-03 Steven Munroe + + * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llround.S: New file. + * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llroundf.S: New file. + + * sysdeps/powerpc/powerpc32/powerpc64/fpu/Makefile: Moved. + * sysdeps/powerpc/powerpc32/powerpc64/fpu/mpa.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: To here. + * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise. + +2006-09-29 Steven Munroe + + * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: New file. + * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: New file. + * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: New file. + * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: New file. + +2006-09-28 Steven Munroe + + * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: New file. + * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: New file. + * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: New file. + * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file. + * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: New file. + * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: New file. + +2006-08-31 Steven Munroe + + * sysdeps/powerpc/powerpc32/powerpc64/fpu/Makefile: New file. + * sysdeps/powerpc/powerpc32/powerpc64/fpu/mpa.c: New file. + * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: New file. + * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: New file. + +2006-06-15 Steven Munroe + + * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: New file. + * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: New file. + * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: New file. + * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: New file. + * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: New file. + * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: New file. + * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: New file. + * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: New file. + * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: New file. + * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: New file. + * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: New file. + * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: New file. + * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: New file. + * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: New file. + * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: New file. + * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: New file. + +2006-03-20 Steven Munroe + + * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrint.S: New file. + * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrintf.S: New file. + +2007-06-01 Steven Munroe + + * sysdeps/powerpc/powerpc32/power6/memset.S: New file. + * sysdeps/powerpc/powerpc64/power6/memset.S: New file. + +2007-05-31 Steven Munroe + + * sysdeps/powerpc/powerpc32/970/Implies: New file. + * sysdeps/powerpc/powerpc32/power5/Implies: New file. + * sysdeps/powerpc/powerpc32/power5+/Implies: New file. + * sysdeps/powerpc/powerpc32/power6/Implies: New file. + * sysdeps/powerpc/powerpc32/power6x/Implies: New file. + * sysdeps/powerpc/powerpc64/970/Implies: New file. + * sysdeps/powerpc/powerpc64/power5/Implies: New file. + * sysdeps/powerpc/powerpc64/power5+/Implies: New file. + * sysdeps/powerpc/powerpc64/power6/Implies: New file. + * sysdeps/powerpc/powerpc64/power6x/Implies: New file. + +2007-05-21 Steven Munroe + + * sysdeps/powerpc/powerpc32/power4/memset.S: New file + +2007-03-13 Steven Munroe + + * sysdeps/powerpc/powerpc64/memcpy.S: Improve aligned loop to minimize + branch miss-predicts. Ensure that cache line crossing does not impact + dispatch grouping. + +2006-12-13 Steven Munroe + + * sysdeps/powerpc/powerpc64/power4/memcopy.h: Replace with include + "../../powerpc32/power4/memcopy.h". + * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Replace with include + "../../powerpc32/power4/wordcopy.c". + +2006-10-03 Steven Munroe + + * sysdeps/powerpc/powerpc32/powerpc64/Makefile: Moved. + * sysdeps/powerpc/powerpc32/powerpc64/memcopy.h: Likewise. + * sysdeps/powerpc/powerpc32/powerpc64/wordcopy.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/Makefile: To here. + * sysdeps/powerpc/powerpc32/power4/memcopy.h: Likewise. + * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise. + +2006-09-10 Steven Munroe + + * sysdeps/powerpc/powerpc32/power6/memcpy.S: New file. + +2006-08-31 Steven Munroe + + * sysdeps/powerpc/powerpc32/power6/wordcopy.c: New file. + * sysdeps/powerpc/powerpc32/powerpc64/Makefile: New file. + * sysdeps/powerpc/powerpc32/powerpc64/memcopy.h: New file. + * sysdeps/powerpc/powerpc32/powerpc64/wordcopy.c: New file. + * sysdeps/powerpc/powerpc64/power4/Makefile: New file. + * sysdeps/powerpc/powerpc64/power4/memcopy.h: New file. + * sysdeps/powerpc/powerpc64/power4/wordcopy.c: New file. + * sysdeps/powerpc/powerpc64/power6/wordcopy.c: New file. + +2006-07-06 Steven Munroe + + * sysdeps/powerpc/powerpc64/power6/memcpy.S: New file. + +2006-03-20 Steven Munroe + + * sysdeps/powerpc/powerpc32/power4/memcmp.S: New file. + * sysdeps/powerpc/powerpc32/power4/memcpy.S: New file. + * sysdeps/powerpc/powerpc32/power4/memset.S: New file. + * sysdeps/powerpc/powerpc32/power4/strncmp.S: New file. + * sysdeps/powerpc/powerpc64/power4/memcmp.S: New file. + * sysdeps/powerpc/powerpc64/power4/memcpy.S: New file. + * sysdeps/powerpc/powerpc64/power4/strncmp.S: New file. + +2007-05-29 Roland McGrath + + * po/Makefile (po-sed-cmd): New variable. + (libc.pot.files): Move sed command text in there, avoid \ inside ''. + +2007-05-29 Ulrich Drepper + + * crypt/md5-crypt.c: Fix comment. + + * nscd/nscd_helper.c (get_mapping): Handle short replies instead + of crashing. When this is the case or if the reply is malformed, + don't try to close the new file descriptor since it does not + exist. + Patch in part by Guillaume Chazarain . + +2007-05-28 Jakub Jelinek + + * sysdeps/unix/sysv/linux/futimes.c (miss_utimensat): Don't define + if __NR_utimensat is not defined. + +2007-05-26 Ulrich Drepper + + * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Include . + +2007-05-25 Jakub Jelinek + + * io/bits/fcntl2.h (__open_2): Add nonnull attribute. + (open): Fix comment typos. Don't call __open_2 if flags + is a compile time constant without O_CREAT. + (__open64_2): Add nonnull attribute. + (open64): Fix comment typos. Don't call __open64_2 if flags + is a compile time constant without O_CREAT. + (__openat_2): Add nonnull attribute, fix nonnull attribute + on redirect. + (openat): Fix comment typos. Don't call __openat_2 if flags + is a compile time constant without O_CREAT. + (__openat64_2): Add nonnull attribute, fix nonnull attribute + on redirect. + (openat64): Fix comment typos. Don't call __openat64_2 if flags + is a compile time constant without O_CREAT. + +2007-05-24 Ulrich Drepper + + * Makerules (sysd-rules): Define PTW for ptw-* files. + * Versions: Define GLIBC_2.7 for libc. + * include/stdio.h: Declare __fortify_fail. + * debug/fortify_fail.c: New file. + * debug/Makefile (routines): Add fortify_fail. + * debug/chk_fail.c: Use __fortify_fail. + * debug/stack_chk_fail.c: Likewise. + * io/Versions: Export __open_2, __open64_2, __openat_2, and + __openat64_2 for GLIBC_2.7. + * io/fcntl.h: When compiling with fortification, include bits/fcntl2.h. + * io/open.c: Define *_2 variant of function which checks for O_CREAT + and fails if necessary. + * io/open64.c: Likewise. + * io/openat.c: Likewise. + * io/openat64.c: Likewise. + * sysdeps/unix/sysv/linux/open64.c: Likewise. + * sysdeps/unix/sysv/linux/openat.c: Likewise. + * sysdeps/unix/sysv/linux/openat64.c: Likewise. + * io/bits/fcntl2.h: New file. + * include/fcntl.h: Declare __open_2, __open64_2, __openat_2, and + __openat64_2. + * include/bits/fcntl2.h: New file. + * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): + Add open_2. + * sysdeps/unix/sysv/linux/open_2.c: New file. + +2007-05-21 Ulrich Drepper + + * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Pass correct value + as second parameter to handle_intel. + + * nscd/aicache.c (addhstaiX): If reported TTL is zero don't cache + the entry. + + * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Move cache information + handling to ... + * sysdeps/x86_64/cacheinfo.c: ... here. New file. + * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add + cacheinfo. + * sysdeps/x86_64/memcpy.S: Complete rewrite. + * sysdeps/x86_64/mempcpy.S: Adjust appropriately. + Patch by Evandro Menezes . + + * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: New file. + +2007-05-21 Jakub Jelinek + + [BZ #4525] + * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add epoll_pwait. + * sysdeps/unix/sysv/linux/epoll_pwait.c: New file. + * sysdeps/unix/sysv/linux/syscalls.list (epoll_pwait): Remove. + + * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h (epoll_pwait): Declare. + + [BZ #4514] + * stdio-common/vfprintf.c (vfprintf): Don't shadow workstart variable, + reinitialize workend at the start of each do_positional format spec + loop, free workstart before do_positional loops. + (printf_unknown): Fix size of work_buffer. + * stdio-common/tst-sprintf.c (main): Add 3 new testcases. + + * malloc/hooks.c (MALLOC_STATE_VERSION): Bump. + (public_sET_STATe): If ms->version < 3, put all chunks into + unsorted chunks and clear {fd,bk}_nextsize fields of largebin + chunks. + + * malloc/malloc.c [MALLOC_DEBUG]: Revert 2007-05-13 changes. + * malloc/hooks.c: Likewise. + * malloc/arena.c: Likewise. + * malloc/malloc.c (do_check_malloc_state): Don't assert + n_mmaps is not greater than n_mmaps_max. This removes the need + for the previous change. + + * malloc/Makefile (CFLAGS-malloc.c): Revert accidental + 2007-05-07 commit. + +2007-05-19 Ulrich Drepper + + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRIVATE_FUTEX): + Define for kernel >= 2.6.22. + +2007-05-18 Ulrich Drepper + + * elf/dl-close.c (_dl_close_worker): When removing object from + global scope, wait for all lookups to finish afterwards. + * elf/dl-open.c (add_to_global): When global scope array must + grow, allocate a new one and free old array only after all + lookups finish. + * elf/dl-runtime.c (_dl_fixup): Protect using global scope. + (_dl_lookup_symbol_x): Likewise. + * elf/dl-support.c: Define _dl_wait_lookup_done. + * sysdeps/generic/ldsodefs.h (struct rtld_global): Add + _dl_wait_lookup_done. + + * malloc/malloc.c (do_check_chunk): Correct check for mmaped block + not overlapping with arena. + + * malloc/mcheck.c (reallochook): If size==0, free the block. + + * rt/tst-shm.c: Use fstat64 instead of fstat. + + * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Fix case where + __NR_sync_file_range is not defined. + +2007-05-17 Ulrich Drepper + + Dummy files to prevent stub versions from being used. + * sysdeps/x86_64/fpu/k_cosl.c: New file. + * sysdeps/x86_64/fpu/k_rem_pio2l.c: New file. + * sysdeps/x86_64/fpu/k_sinl.c: New file. + * sysdeps/x86_64/fpu/k_tanl.c: New file. + + * version.h (VERSION): Set to 2.6.90. + +2007-05-14 Ulrich Drepper + + * version.h (VERSION): Define to 2.6. + * include/features.h (__GLIBC_MINOR__): Define to 6. + + * malloc/malloc.c: Use all small bin slots on 64-bit archs. + + * malloc/malloc.c (largebin_index): Really have 32 buckets with 64 + sizes. + +2007-05-13 Ulrich Drepper + + * malloc/malloc.c [MALLOC_DEBUG]: Keep track of current maximum + number of mmaps. n_mmaps_max is the target. + * malloc/hooks.c: Likewise. + * malloc/arena.c: Likewise. + +2007-05-12 Andreas Jaeger + + * sysdeps/unix/sysv/linux/tst-getcpu.c: Include for + getpid. + +2007-05-11 Ulrich Drepper + + * elf/dl-close.c (_dl_close_worker): Help gcc to optimize by + adding new variables. + + * elf/dl-open.c (add_to_global): Introduce variable ns to help gcc + optimize. Completely extend global scope array before making the + new entries visible. + +2007-05-10 Ulrich Drepper + + * sysdeps/unix/sysv/linux/tst-getcpu.c: New file. + * sysdeps/unix/sysv/linux/Makefile [subdir=posix] (tests): Add + tst-getcpu. + + * include/link.h: Move l_version and l_nversion members around to + fill gaps. + + * scripts/check-c++-types.sh: Don't use -fnu89-inline option. + + * sysdeps/unix/sysv/linux/sched_setaffinity.c + (__sched_setaffinity_new): If syscall was successful and + RESET_VGETCPU_CACHE is defined, use it before returning. + * sysdeps/unix/sysv/linux/x86_64/sched_setaffinity.c: New file. + + * io/sys/stat.h: Make sure struct timespec is defined for + __USE_ATFILE. + + * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Define UTIME_NOW and + UTIME_OMIT. + * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_UTIMENSAT. + * io/sys/stat.h: Declare utimensat, futimens. + * io/utimensat.c: New file. + * io/futimens.c: New file. + * sysdeps/unix/sysv/linux/utimensat.c: New file. + * sysdeps/unix/sysv/linux/futimens.c: New file. + * io/Makefile (routines): Add utimensat, futimens. + * io/Versions: Add utimensat, futimens to GLIBC_2.6. + * sysdeps/unix/sysv/linux/lutimes.c: New file. + * sysdeps/unix/sysv/linux/futimes.c: Use utimensat syscall if + available. + + * include/sys/cdefs.h: Redefine __nonnull so that test for + incorrect parameters in the libc code itself are not omitted. + +2007-05-09 Jakub Jelinek + + * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Don't raise overflow + exception in addition to inexact when asked to raise only FE_INEXACT. + + [BZ #3427] + * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Don't clear exceptions + in *envp. + +2007-05-07 Ulrich Drepper + + [BZ #4403] + * string/strfry.c (strfry): Make result more random. + +2007-05-07 Richard Henderson + + * sysdeps/alpha/fpu/bits/mathinline.h (__isnanl): Don't define + if __NO_LONG_DOUBLE_MATH. + * sysdeps/unix/sysv/linux/alpha/ioperm.c: If BWX insns not + available in the compiler, add .arch directive to the assembly. + +2007-05-07 Jakub Jelinek + + * sysdeps/alpha/fpu/s_nearbyint.c (nearbyintl): Fix version on + compat_symbol to GLIBC_2_1. + * sysdeps/alpha/fpu/s_fmin.S (fminl): Likewise. + * sysdeps/alpha/fpu/s_trunc.c (truncl): Likewise. + * sysdeps/alpha/fpu/s_fmax.S (fmaxl): Likewise. + * sysdeps/alpha/fpu/s_lrint.c (lrintl, llrintl): Likewise. + * sysdeps/alpha/fpu/s_lround.c (lroundl, llroundl): Likewise. + * sysdeps/alpha/fpu/s_round.c (roundl): Likewise. + * sysdeps/alpha/fpu/s_isnan.c (isnanl): Provide compat_symbol in + libc, not libm. + (__isnanl): New compat_symbol. + +2007-05-07 Ulrich Drepper + Jakub Jelinek + + * malloc/arena.c (heap_info): Add mprotect_size field, adjust pad. + (new_heap): Initialize mprotect_size. + (grow_heap): When growing, only mprotect from mprotect_size till + new_size if mprotect_size is smaller. When shrinking, use PROT_NONE + MMAP for __libc_enable_secure only, otherwise use MADV_DONTNEED. + +2007-04-30 Steven Munroe + Peter Bergner + + * sysdeps/powerpc/bits/fenv.h: Declare __fe_mask_env extern. + Define FE_NOMASK_ENV as FE_EANBLED_ENV. Define FE_MASK_ENV. + * sysdeps/powerpc/fpu/Makefile: Add fe_mask to libm-support. + * sysdeps/powerpc/fpu/fe_mask.c: New file. + * sysdeps/powerpc/fpu/fe_nomask.c: Correct comment. + * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): + Call __fe_mask_env() if all FP exceptions disabled. + * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Copy high 32-bits + from old FPSCR to new fenv to propagate DFP rounding modes. + Call __fe_mask_env() if FP exceptions previously enabled. + * sysdeps/powerpc/fpu/fesetenv.c (fesetenv): Change mask to merge + exceptions from env. Use __fe_nomask_env() or __fe_mask_env() when + transitioning from all exceptions disabled to any exception enabled + or visa versa. + * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Change mask to + merge exceptions from env. Call __fe_nomask_env or __fe_mask_env + when transitioning from all exceptions disabled to any exception + enabled or visa versa. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Moved to... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: ...here. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: Moved to... + * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: ...here. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: New file. + +2007-05-06 Ulrich Drepper + + [BZ #4465] + * posix/unistd.h: Remove __THROW from fdatasync. + +2007-05-06 Mike Frysinger + + [BZ #4465] + * sysdeps/unix/sysv/linux/syscalls.list (fdatasync): Add "C" to args. + +2007-05-06 Ulrich Drepper + + * stdio-common/vfprintf.c (process_string_arg): Optimize + ridiculous precision in wide char code printing multi-byte string. + Reported by Jim Meyering . + + [BZ #4131] + * elf/dl-addr.c (_dl_addr): Compare address with actual segment + boundaries to work around systems with overlapping binary loading. + Based on a patch by Suzuki . + +2007-05-04 Ulrich Drepper + + * stdio-common/vfprintf.c (process_string_arg): Adjust call to + __mbsnrtowcs after last change. + + * locale/programs/linereader.c (get_symname): Fix adding final NUL. + (get_ident): Likewise. + +2007-05-03 Jakub Jelinek + + * soft-fp/op-common.h (FP_TRUNC): Replace raising of FP_EX_INEXACT + with setting the sticky bit. + * math/test-misc.c (main): Add more truncation tests. + +2007-04-14 Uros Bizjak + + * soft-fp/floatunsidf.c (__floatunsidf): Use DFtype instead of + double in the function declaration. + * soft-fp/floatundidf.c (__floatundidf): Use DFtype instead of + double in the function declaration. + * soft-fp/floatunsisf.c (__floatunsisf): Use SFtype instead of + float in the function declaration. + * soft-fp/floatunsisf.c (__floatunsisf): Use SFtype instead of + float in the function declaration. + + * soft-fp/extended.h (FP_UNPACK_RAW_E): Do not increase X##_e for + denormal operands. Do not generate FP_EX_DENORM exception. + (FP_UNPACK_RAW_EP): Ditto. + (FP_UNPACK_SEMIRAW_E): Use FP_UNPACK_RAW_E instead of + undefined _FP_UNPACK_RAW_E. + (FP_UNPACK_SEMIRAW_EP): Use FP_UNPACK_RAW_EP instead of + undefined _FP_UNPACK_RAW_EP. + (FP_PACK_SEMIRAW_E): Use FP_PACK_RAW_E instead of + undefined _FP_PACK_RAW_E. + (FP_PACK_SEMIRAW_EP): Use FP_PACK_RAW_EP instead of + undefined _FP_PACK_RAW_EP. + + * soft-fp/op-2.h (_FP_FRAC_COPY_2_2): Define as alias to + _FP_FRAC_COPY_2. + * soft-fp/op-4.h (_FP_FRAC_COPY_2_2): Define as alias to + _FP_FRAC_COPY_4. + +2007-04-16 Uros Bizjak + Jakub Jelinek + + * soft-fp/op-common.h (FP_EXTEND): Do not abort when + _FP_EXPBIAS_##dfs == _FP_EXPBIAS_##sfs. Handle denormals for + this case. + * soft-fp/op-common.h (FP_TRUNC): Ditto. + +2007-05-03 Jakub Jelinek + + * math/test-misc.c (main): Add tests for rounding long double + values close to smallest double denormalized value to double. + +2007-04-30 Joseph Myers + + * soft-fp/op-common.h (FP_TRUNC): Correct off-by-one error in + condition for truncating to 0. Set sticky bit for such + truncation. + +2007-05-02 Jakub Jelinek + + * stdio-common/vfprintf.c (process_string_arg): Use a VLA rather than + fixed length array for ignore. + +2007-04-30 Ulrich Drepper + + [BZ #4438] + * stdio-common/vfprintf.c (process_string_arg): Don't overflow the + stack for large precisions. + * stdio-common/test-vfprintf.c (main): Add test for large + precision. + +2007-04-30 Jakub Jelinek + + * stdio-common/printf_fp.c (___printf_fp): Don't print negative sign + for exponent 0. + * stdio-common/tfformat.c (sprint_doubles): Add a new test. + + [BZ #4439] + * resolv/inet_ntop.c (inet_ntop4): Take terminating '\0' into + account in the size check. + * resolv/tst-inet_ntop.c: New test. + * resolv/Makefile (tests): Add tst-inet_ntop. + +2007-04-30 Ulrich Drepper + Jakub Jelinek + + [BZ #4349] + * malloc/malloc.c: Keep separate list for first blocks on the bin + lists with a given size. This helps skipping over list elements + we know won't fit in two places. + Inspired by a patch by Tomash Brechko . + +2007-04-28 Ulrich Drepper + + [BZ #4102] + * sysdeps/posix/getaddrinfo.c (default_labels): Assign separate + label to Teredo tunnel addresses 2001://32. + +2007-04-27 Ulrich Drepper + + * locale/programs/ld-collate.c (collate_read): Allow order_start + after copy. + + * locale/programs/ld-collate.c (collate_read): Fix printing of + error message. + + [BZ #3213] + * locale/C-translit.h.in: Add entry for U2044. + + [BZ #4342] + * stdio-common/vfscanf.c (_IO_vfscanf_internal): Allow + hexa-decimal floats without exponent. + * stdio-common/tstscanf.c (main): Adjust Test 8 test for success. + +2007-04-25 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/sched.h: Declare sched_getcpu. + * sysdeps/unix/sysv/linux/sched_getcpu.c: New file. + * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: New file. + * sysdeps/unix/sysv/linux/Versions: Export sched_getcpu for + GLIBC_2.6. + * sysdeps/unix/sysv/linux/Makefile [subdir=posix] (sysdep_routines): + Add sched_getcpu. + +2007-04-25 Jakub Jelinek + + * sysdeps/unix/sysv/linux/check_pf.c (make_request): Return -1 instead + of 0 after the out_fail label. + +2007-04-25 Ulrich Drepper + + [BZ #4406] + * iconv/gconv_charset.h (strip): Allow ':'. + * iconv/iconv_open.c (iconv_open): Adjust comment. + +2007-04-25 Jakub Jelinek + + * libio/bits/stdio.h (fgetc_unlocked): Add extern inline optimized + version. + +2007-04-23 Jakub Jelinek + + [BZ #4381] + * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Ensure sufficient + alignment of buffer and tmp_buffer. + * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r, + internal_gethostbyname2_r, _nss_nis_gethostbyaddr_r): Ensure sufficient + alignment of buffer. + * resolv/nss_dns/dns-hosts.c (getanswer_r): Likewise. Handle buflen + bigger than INT_MAX. + * resolv/nss_dns/dns-network.c (getanswer_r): Likewise. Add errnop and + h_errnop arguments. Fail if buflen is too small. + (_nss_dns_getnetbyname_r, _nss_dns_getnetbyaddr_r): Adjust callers. + +2007-04-23 Jakub Jelinek + + [BZ #4405] + * iconvdata/gconv-modules (E13B): Add a missing slash to the alias + name. Patch by Aurelien Jarno . + +2007-04-22 Roland McGrath + + * elf/elf.h (NT_PRXFPREG): New macro. + +2007-04-19 Andreas Jaeger + + [BZ #3905] + * bits/in.h (IPV6_ROUTER_ALERT, IPV6_MTU_DISCOVER, IPV6_MTU, + IPV6_RECVERR, IPV6_V6ONLY, IPV6_JOIN_ANYCAST, IPV6_LEAVE_ANYCAST): + Added. + +2007-04-19 Ulrich Drepper + + * include/sys/mman.h: Mark madvise hidden. + * misc/madvise.c: Add libc_hidden_def. + +2007-04-06 Jakub Jelinek + + * nis/nis_domain_of.c (__nis_domain_of): New function. + * include/rpcsvc/nislib.h (__nis_domain_of): New prototype. + * nis/nis_lookup.c (nis_lookup): Use __nis_domain_of. + * nis/nis_call.c (rec_dirsearch): Likewise. + (first_shoot): Likewise. Remove search_parent_first argument. + (struct nis_server_cache): Rename search_parent_first field + to search_parent. + (nis_server_cache_search, nis_server_cache_add): Rename + search_parent_first argument to search_parent. + (__nisfind_server): Likewise. If search_parent, call + __nis_domain_of. + +2007-04-18 Ulrich Drepper + + * sysdeps/posix/getaddrinfo.c: Remove commented-out code. + +2007-04-17 Ulrich Drepper + + [BZ #4368] + * stdlib/stdlib.h: Remove obsolete part of comment for realpath. + +2007-04-16 Ulrich Drepper + + [BZ #4364] + * posix/unistd.h (_XOPEN_VERSION): Define appropriately for SUSv3. + +2007-04-15 Jakub Jelinek + + * locale/programs/locarchive.c (INITIAL_NUM_NAMES, + INITIAL_SIZE_STRINGS, INITIAL_NUM_LOCREC): Update to accomodate + current number of locales in SUPPORTED. + (create_archive): Initialize serial. + (enlarge_archive): Preserve aliases rather than duplicating + their locrecs. + +2007-04-13 Jakub Jelinek + + * libio/genops.c (_IO_default_finish): Call _IO_lock_fini + after _IO_un_link, not before it. + + * stdio-common/printf_fp.c (___printf_fp): Fix exponent -4 + special case handling when wcp == wstartp + 1. Fix a comment typo. + * stdio-common/tfformat.c (sprint_doubles): Add a new testcase. + +2007-03-30 Jakub Jelinek + + * libio/libio.h (__underflow, __uflow, __overflow, __wunderflow, + __wuflow, __woverflow, _IO_getc, _IO_putc, _IO_peekc_locked, _IO_padn, + _IO_sgetn, _IO_seekoff, _IO_seekpos, _IO_getwc, _IO_putwc, _IO_wpadn): + Remove __THROW. + * libio/fileops.c (new_do_write, _IO_file_xsgetn_mmap, + _IO_file_xsgetn_maybe_mmap): Likewise. + * libio/oldfileops.c (old_do_write): Likewise. + * libio/libioP.h (_IO_switch_to_get_mode, _IO_switch_to_wget_mode, + _IO_init_marker, _IO_init_wmarker, _IO_default_uflow, + _IO_wdefault_uflow, _IO_default_setbuf, _IO_default_seekpos, + _IO_do_write, _IO_new_do_write, _IO_old_do_write, _IO_wdo_write, + _IO_flush_all_lockp, _IO_flush_all, _IO_cleanup, + _IO_flush_all_linebuffered, _IO_new_fgetpos, _IO_old_fgetpos, + _IO_new_fsetpos, _IO_old_fsetpos, _IO_new_fgetpos64, + _IO_old_fgetpos64, _IO_new_fsetpos64, _IO_old_fsetpos64, + _IO_file_setbuf, _IO_file_seekoff, _IO_file_xsputn, _IO_file_xsgetn, + _IO_file_underflow, _IO_file_underflow_mmap, + _IO_file_underflow_maybe_mmap, _IO_file_overflow, _IO_file_attach, + _IO_file_open, _IO_file_fopen, _IO_file_write, _IO_file_read, + _IO_file_sync, _IO_file_close_it, _IO_file_finish, + _IO_new_file_attach, _IO_new_file_close_it, _IO_new_file_finish, + _IO_new_file_fopen, _IO_new_file_setbuf, _IO_file_setbuf_mmap, + _IO_new_file_sync, _IO_new_file_underflow, _IO_new_file_overflow, + _IO_new_file_seekoff, _IO_new_file_write, _IO_new_file_xsputn, + _IO_old_file_setbuf, _IO_old_file_seekoff, _IO_old_file_xsputn, + _IO_old_file_underflow, _IO_old_file_overflow, _IO_old_file_attach, + _IO_old_file_fopen, _IO_old_file_write, _IO_old_file_sync, + _IO_old_file_close_it, _IO_old_file_finish, _IO_wfile_xsputn, + _IO_wfile_setbuf, _IO_wfile_sync, _IO_wfile_underflow, + _IO_wfile_overflow, _IO_wfile_seekoff, _IO_old_proc_open, + _IO_old_proc_close, _IO_getdelim, _IO_flush_all_internal, + _IO_adjust_column_internal, _IO_default_uflow_internal, + _IO_default_xsgetn_internal, _IO_wdefault_xsputn_internal, + _IO_wdefault_xsgetn_internal, _IO_wdefault_uflow_internal, + _IO_file_setbuf_internal, _IO_file_seekoff_internal, + _IO_file_xsputn_internal, _IO_file_xsgetn_internal, + _IO_file_close_it_internal, _IO_file_underflow_internal, + _IO_file_overflow_internal, _IO_file_attach_internal, + _IO_file_fopen_internal, _IO_file_sync_internal, + _IO_file_finish_internal, _IO_wfile_xsputn_internal, + _IO_wfile_seekoff_internal, _IO_wfile_sync_internal, + _IO_switch_to_wget_mode_internal, _IO_padn_internal, + _IO_switch_to_get_mode_internal, _IO_seekoff_unlocked, + _IO_seekpos_unlocked): Likewise. + (_IO_strtod, _IO_dtoa, _IO_outfloat, _IO_read, _IO_write, + _IO_lseek, _IO_close, _IO_fstat): Remove unused prototypes. + +2007-04-16 Jakub Jelinek + + * locale/programs/locarchive.c (show_archive_content): Fix sizeof + argument in xmalloc size computation. + +2007-04-01 Jakub Jelinek + + * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Use + math_opt_barrier and math_force_eval macros. + +2007-03-27 Jakub Jelinek + + [BZ #3306] + * math/math_private.h (math_opt_barrier, math_force_eval): Define. + * sysdeps/i386/fpu/math_private.h: New file. + * sysdeps/x86_64/fpu/math_private.h: New file. + * math/s_nexttowardf.c (__nexttowardf): Use math_opt_barrier and + math_force_eval macros. Use "+m" constraint on asm rather than + "=m" and "m". + * math/s_nextafter.c (__nextafter): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): + Likewise. + * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise. + * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Likewise. + * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise. + * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Use + math_opt_barrier and math_force_eval macros. + * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl): Likewise. + * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Likewise. + * sysdeps/i386/fpu/s_nexttoward.c: Include float.h. + (__nexttoward): Use math_opt_barrier and + math_force_eval macros. Use "+m" constraint on asm rather than + "=m" and "m". Only use asm to force double result if + FLT_EVAL_METHOD is 2. + * sysdeps/i386/fpu/s_nexttowardf.c: Include float.h. + (__nexttowardf): Use math_opt_barrier and + math_force_eval macros. Use "+m" constraint on asm rather than + "=m" and "m". Only use asm to force double result if + FLT_EVAL_METHOD is not 0. + * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include float.h. + (__nexttowardf): Use math_opt_barrier and + math_force_eval macros. If FLT_EVAL_METHOD is not 0, force + x to float using asm. + * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include float.h. + (__nldbl_nexttowardf): Use math_opt_barrier and + math_force_eval macros. If FLT_EVAL_METHOD is not 0, force + x to float using asm. + * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include float.h. + (__nexttowardf): Use math_opt_barrier and math_force_eval + macros. If FLT_EVAL_METHOD is not 0, force x to float using asm. + * math/bug-nextafter.c (zero, inf): New variables. + (main): Add new tests. + * math/bug-nexttoward.c (zero, inf): New variables. + (main): Add new tests. + +2007-03-22 Jakub Jelinek + + [BZ #3427] + * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Clear all + exceptions both in SW and MXCSR. + * sysdeps/x86_64/fpu/feupdateenv.c: New file. + * sysdeps/x86_64/fpu/feenablxcpt.c (feenableexcept): Remove dead code. + * sysdeps/x86_64/fpu/fedisblxcpt.c (fedisableexcept): Likewise. + * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions + in MXCSR if SSE is available. + * sysdeps/i386/fpu/feupdateenv.c: Include unistd.h, dl-procinfo.h + and ldsodefs.h. + (__feupdateenv): Query exceptions also from MXCSR if SSE is available. + Fix comment typo. + * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions. + Return 0 rather than 1. + * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Fix comment typo. + Remove incorrect part of a comment. Fix argument to feraiseexcept. + * math/test-fenv.c (feholdexcept_tests): New function. + (main): Call it. + +2007-01-05 Richard B. Kreckel + + [BZ #3427] + * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions + in SW. + +2007-04-13 Jakub Jelinek + + [BZ #4344] + * elf/ldconfig.c (search_dir): Fix 2 off-by-2 errors. + Reported by David Anderson . + +2007-04-07 Ulrich Drepper + + * posix/sys/wait.h: Remove unnecessary forward declaration. + +2007-04-05 Jakub Jelinek + + * nis/nis_call.c (__nisfind_server): Replace (*dir)->do_servers + with obj->do_servers after first_shoot. + +2007-04-03 Ulrich Drepper + + * posix/Makefile (routines): Add sched_cpucount. + (tests): Add tst-cpucount. + * posix/sched_cpucount.c: New file. + * posix/tst-cpucount.c: New file. + * posix/Versions: Export __sched_cpucount with version GLIBC_2.6. + * bits/sched.h: Define __CPU_COUNT. Declare __sched_cpucount. + * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. + * posix/sched.h: Define CPU_COUNT. + +2007-03-27 Jakub Jelinek + + * posix/fnmatch.c (STRUCT): Define. + (fnmatch): Pass NULL as last argument to internal_fn{,w}match. + * posix/fnmatch_loop.c (struct STRUCT): New type. + (FCT): Add ends argument. If ends != NULL and normal * is + seen in the pattern, store current pattern and string pointers + and return. Adjust recursive calls. + (EXT): Adjust FCT callers. + (STRUCT): Undef at the end of the file. + * posix/Makefile (tests): Add tst-fnmatch2. + * posix/tst-fnmatch2.c: New test. + +2007-04-01 Jakub Jelinek + + * sysdeps/ia64/fpu/fesetround.c (fesetround): Return 0 on success + and 1 on failure. + + * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range): + Change last argument to unsigned int. + +2007-03-23 Jakub Jelinek + + * scripts/check-local-headers.sh: Filter out sys/capability.h. + +2007-03-22 Jakub Jelinek + + * config.h.in (HAVE_LIBCAP): Add. + * nscd/selinux.h: Include sys/capability.h rather than non-existent + sys/capabilities.h. + * nscd/selinux.c (preserve_capabilities): Use cap_free instead of + free_caps. Cast away const from 4th cap_set_flag argument. + +2007-03-26 Ulrich Drepper + + * sysdeps/unix/sysv/linux/Versions: Move sync_file_range to + GLIBC_2.6. + * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): + Add sync_file_range. + Reported by Atsushi Nemoto . + +2007-03-19 Steven Munroe + + * sysdeps/powerpc/bits/atomic.h + [!MUTEX_HINT_ACQ]: Define MUTEX_HINT_ACQ. + [!MUTEX_HINT_REL]: Define MUTEX_HINT_REL. + (__arch_compare_and_exchange_val_32_acq): Add MUTEX_HINT_ACQ to lwarx. + (__arch_compare_and_exchange_val_32_rel): Add MUTEX_HINT_REL to lwarx. + (__arch_atomic_exchange_val_32_acq): Add MUTEX_HINT_ACQ to lwarx. + (__arch_atomic_exchange_rel_32_rel): Add MUTEX_HINT_REL to lwarx. + * sysdeps/powerpc/powerpc32/bits/atomic.h [_ARCH_PWR6 || _ARCH_PWR6X]: + Define MUTEX_HINT_ACQ as ",1" and MUTEX_HINT_REL as ",0". + (__arch_compare_and_exchange_bool_32_acq): Add MUTEX_HINT_ACQ to lwarx. + (__arch_compare_and_exchange_bool_32_rel): Add MUTEX_HINT_REL to lwarx. + * sysdeps/powerpc/powerpc64/bits/atomic.h [_ARCH_PWR6 || _ARCH_PWR6D]: + Define MUTEX_HINT_ACQ as ",1" and MUTEX_HINT_REL as ",0". + (__arch_compare_and_exchange_bool_32_acq): Add MUTEX_HINT_ACQ to lwarx. + (__arch_compare_and_exchange_bool_32_rel): Add MUTEX_HINT_REL to lwarx. + (__arch_compare_and_exchange_bool_64_acq): Add MUTEX_HINT_ACQ to lwarx. + (__arch_compare_and_exchange_bool_64_rel): Add MUTEX_HINT_REL to lwarx. + (__arch_compare_and_exchange_val_64_acq): Add MUTEX_HINT_ACQ to lwarx. + (__arch_compare_and_exchange_val_64_rel): Add MUTEX_HINT_REL to lwarx. + (__arch_atomic_exchange_val_64_acq): Add MUTEX_HINT_ACQ to lwarx. + (__arch_atomic_exchange_rel_64_rel): Add MUTEX_HINT_REL to lwarx. + +2007-03-20 Jakub Jelinek + + * sysdeps/unix/sysv/linux/powerpc/libc-start.c + (__cache_line_size): Define the variable here. Add + attribute_hidden, remove weak_extern. + (__libc_start_main): Set __cache_line_size + unconditionally. + * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c + (__cache_line_size): Define the variable here. Add + attribute_hidden, remove weak_extern. + (DL_PLATFORM_AUXV): Set __cache_line_size + unconditionally. + * sysdeps/powerpc/powerpc32/dl-machine.c (__cache_line_size): Remove + weak_extern, add attribute_hidden. + (__elf_machine_runtime_setup): Assume __cache_line_size is always + defined in ld.so. + * sysdeps/powerpc/powerpc32/memset.S (__cache_line_size): Remove + definition. + * sysdeps/powerpc/powerpc64/memset.S (__cache_line_size): Likewise. + +2007-03-26 Jakub Jelinek + + [BZ #4276] + * timezone/africa: Update from tzdata2007d. + * timezone/asia: Likewise. + * timezone/australasia: Likewise. + * timezone/backward: Likewise. + * timezone/europe: Likewise. + * timezone/iso3166.tab: Likewise. + * timezone/leapseconds: Likewise. + * timezone/northamerica: Likewise. + * timezone/southamerica: Likewise. + * timezone/zone.tab: Likewise. + + * timezone/private.h: Update from tzcode2007d. + * timezone/zdump.c: Likewise. + * timezone/zic.c: Likewise. + +2007-03-21 Jakub Jelinek + + * nis/nis_call.c: Include bits/libc-lock.h, sys/stat.h, unistd.h. + (nis_server_cache, nis_server_cache_lock, nis_cold_start_mtime): New + variables. + (nis_server_cache_search, nis_server_cache_add): New functions. + (__nisfind_server): Use them. Add dbp and flags argument, if + call __nisbind_create. + (__nisbind_create): Add server_used and current_ep arguments, + only call __nis_findfastest if server_used is ~0. + (__do_niscall2, __prepare_niscall): Adjust callers. + (ckey_cache, ckey_cache_size, ckey_cache_allocated, ckey_cache_pid, + ckey_cache_euid, ckey_cache_lock): New variables. + (get_ckey): New function. + (__nisbind_connect): If not dbp->use_udp, pass IPPROTO_TCP to + __pmap_getnisport. Save __pmap_getnisport result in + dbp->addr.sin_port if non-zero. Use get_ckey to create conversation + key. + * nis/nis_lookup.c (nis_lookup): Likewise. + * nis/nis_table.c (nis_list): Likewise. + * nis/rpcsvc/nislib.h (__nisbind_create, __nisfind_server): Adjust + prototypes. + + * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_getpwnam_r, + _nss_nisplus_getpwuid_r): Pass USE_DGRAM flag to nis_list. + * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_getservbyname_r, + _nss_nisplus_getservbyport_r): Likewise. + * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r, + _nss_nisplus_getnetbyaddr_r): Likewise. + * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_getspnam_r): Likewise. + * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r, + _nss_nisplus_getntohost_r): Likewise. + * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r, + _nss_nisplus_getrpcbynumber_r): Likewise. + +2007-03-20 Jakub Jelinek + + * configure.in (libc_cv_gnu89_inline): Only do compile test. + * configure: Rebuilt. + + * soft-fp/double.h (_FP_UNION_D): Use _FP_W_TYPE for frac + bit-fields. + * soft-fp/extended.h (_FP_UNION_E): Likewise. + +2006-06-07 Joseph Myers + + [BZ #2831] + * soft-fp/quad.h (_FP_UNION_Q): Use _FP_W_TYPE for frac + bit-fields. + +2007-03-18 Jakub Jelinek + + * nscd/gai.c: Include alloca.h. + (__libc_use_alloca): Define. + +2007-03-16 Jakub Jelinek + + * elf/dl-open.c (dl_open_worker): Declare l in 2 different + smaller scopes. + * elf/dl-dst.h (DL_DST_REQ_STATIC): Add l as macro argument. + (DL_DST_REQUIRED): Adjust user. + + * include/dlfcn.h (struct link_map): New forward decl. + + * inet/getnameinfo.c: Include stddef.h. + (getnameinfo): Use offsetof. + + * time/tst-mktime2.c (do_test): Don't rely on signed wrap. + + * stdio-common/vfprintf.c (_itoa): Undef before redefining. + + * string/strerror_l.c: Include stdlib.h. + + * configure.in (libc_cv_gnu89_inline): Test for -fgnu89-inline. + * config.make.in (gnu89-inline-CFLAGS): New variable. + * Makeconfig (CFLAGS): Use $(gnu89-inline-CFLAGS) together with + -std=gnu99. + * misc/sys/cdefs.h (__extern_inline, __extern_always_inline): Define. + * argp/argp.h: Use it. + * bits/mathinline.h: Likewise. + * bits/sigset.h: Likewise. + * bits/string.h: Likewise. + * ctype/ctype.h: Likewise. + * hurd/hurd.h: Likewise. + * hurd/hurd/fd.h: Likewise. + * hurd/hurd/port.h: Likewise. + * hurd/hurd/signal.h: Likewise. + * hurd/hurd/threadvar.h: Likewise. + * hurd/hurd/userlink.h: Likewise. + * io/sys/stat.h: Likewise. + * libio/bits/stdio.h: Likewise. + * libio/bits/stdio2.h: Likewise. + * mach/lock-intern.h: Likewise. + * mach/mach/mig_support.h: Likewise. + * math/bits/cmathcalls.h: Likewise. + * posix/bits/unistd.h: Likewise. + * socket/bits/socket2.h: Likewise. + * stdlib/bits/stdlib.h: Likewise. + * stdlib/stdlib.h: Likewise. + * string/argz.h: Likewise. + * string/bits/string2.h: Likewise. + * string/bits/string3.h: Likewise. + * sysdeps/alpha/fpu/bits/mathinline.h: Likewise. + * sysdeps/generic/inttypes.h: Likewise. + * sysdeps/generic/machine-lock.h: Likewise. + * sysdeps/generic/machine-sp.h: Likewise. + * sysdeps/i386/fpu/bits/mathinline.h: Likewise. + * sysdeps/i386/i486/bits/string.h: Likewise. + * sysdeps/ia64/fpu/bits/mathinline.h: Likewise. + * sysdeps/mach/alpha/machine-lock.h: Likewise. + * sysdeps/mach/alpha/machine-sp.h: Likewise. + * sysdeps/mach/i386/machine-lock.h: Likewise. + * sysdeps/mach/powerpc/machine-lock.h: Likewise. + * sysdeps/mach/powerpc/machine-sp.h: Likewise. + * sysdeps/powerpc/fpu/bits/mathinline.h: Likewise. + * sysdeps/s390/bits/string.h: Likewise. + * sysdeps/s390/fpu/bits/mathinline.h: Likewise. + * sysdeps/sparc/fpu/bits/mathinline.h: Likewise. + * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Likewise. + * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise. + * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. + * sysdeps/unix/sysv/linux/sys/sysmacros.h: Likewise. + * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise. + * wcsmbs/bits/wchar2.h: Likewise. + * wcsmbs/wchar.h: Likewise. + * stdlib/gmp.h: Likewise. Include to get + __extern_inline definition. + +2007-03-15 Jakub Jelinek + + * locale/programs/ld-ctype.c (find_translit): Return NULL if ctype is + NULL. + + [BZ #3919] + * math/libm-test.inc (log_test): Test -Inf and NaN. + (log10_test, log1p_test, log2_test): Test -Inf. + * sysdeps/i386/fpu/e_log.S (__ieee754_log): Don't raise + FE_INVALID when argument is qNaN. + * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise. + * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise. + * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise. + * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Replace + andb $1, %ah with testb $1, %ah, don't test for parity, instead + testb $4, %ah and jump if non-zero. + * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise. + * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise. + + [BZ #4101] + * argp/argp-help.c (hol_cluster_cmp): Fix comparisons used to find + ancestors with the same depths. + Patch by Niels Moeller . + (filter_doc): Don't crash if argp is NULL. + * argp/Makefile (tests): Add tst-argp2. + * argp/tst-argp2.c: New test. + + [BZ #4130] + * login/utmp_file.c (setutent_file): Use O_LARGEFILE for + open_not_cancel_2. + (updwtmp_file): Likewise. + + [BZ #4181] + * inet/inet6_opt.c (add_padding): Only insert padding if npad > 0. + (inet6_opt_append): Don't check extlen is big enough if extbuf + is NULL. + (inet6_opt_finish): Likewise. + * inet/Makefile (tests): Add test-inet6_opt. + * inet/test-inet6_opt.c: New test. + + * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Never + reallocate the buffer, instead fail for MSG_TRUNC or for EBUSY + NLMSG_ERR. Instead use a page sized buffer. + * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use page sized + buffer. + +2007-03-14 Richard Henderson + + * sysdeps/alpha/fpu/s_llround.c: New file. + * sysdeps/alpha/fpu/s_llroundf.c: New file. + * sysdeps/alpha/fpu/s_lround.c: New file. + * sysdeps/alpha/fpu/s_lroundf.c: New file. + * sysdeps/alpha/fpu/s_round.c: New file. + * sysdeps/alpha/fpu/s_roundf.c: New file. + * sysdeps/alpha/fpu/s_trunc.c: New file. + * sysdeps/alpha/fpu/s_truncf.c: New file. + + * sysdeps/alpha/fpu/s_ceil.c: Rewrite without branches. + * sysdeps/alpha/fpu/s_ceilf.c: Likewise. + * sysdeps/alpha/fpu/s_floor.c: Likewise. + * sysdeps/alpha/fpu/s_floorf.c: Likewise. + * sysdeps/alpha/fpu/s_rint.c: Likewise. + * sysdeps/alpha/fpu/s_rintf.c: Likewise. + + * sysdeps/alpha/fpu/s_fmax.S: New file. + * sysdeps/alpha/fpu/s_fmaxf.S: New file. + * sysdeps/alpha/fpu/s_fmin.S: New file. + * sysdeps/alpha/fpu/s_fminf.S: New file. + * sysdeps/alpha/fpu/s_isnan.c: New file. + * sysdeps/alpha/fpu/s_isnanf.c: New file. + * sysdeps/alpha/fpu/s_llrint.c: New file. + * sysdeps/alpha/fpu/s_llrintf.c: New file. + * sysdeps/alpha/fpu/s_lrint.c: New file. + * sysdeps/alpha/fpu/s_lrintf.c: New file. + * sysdeps/alpha/fpu/s_nearbyint.c: New file. + * sysdeps/alpha/fpu/s_nearbyintf.c: New file. + + * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor): Remove. + (__fdimf, fdimf, __fdim, fdim): Remove. + (__signbitf, __signbit, __signbitl): Use gcc builtin if available. + (__isnanf, __isnan, __isnanl): New. + +2007-03-13 Richard Henderson + + * sysdeps/ieee754/ldbl-128/Makefile: New file. + +2007-03-13 Richard Henderson + + * sysdeps/alpha/Makefile (sysdep-CFLAGS): Force dynamic rounding. + * sysdeps/alpha/fpu/bits/mathinline.h (__signbitl): New. + * sysdeps/alpha/fpu/libm-test-ulps: Regenerate. + * sysdeps/unix/sysv/linux/alpha/alphaev6/fpu/Implies: New file. + * sysdeps/unix/sysv/linux/alpha/alphaev67/fpu/Implies: New file. + * sysdeps/unix/sysv/linux/alpha/fpu/Implies: New file. + +2007-03-13 Richard Henderson + + * elf/dl-support.c (_dl_aux_init): Honor DL_PLATFORM_AUXV. + * sysdeps/unix/sysv/linux/alpha/dl-auxv.h: New file. + * sysdeps/unix/sysv/linux/alpha/dl-support.c: New file. + * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c (__libc_alpha_cache_shape): + Move to dl-auxv.h; initialize instead of extern weak. + (DL_PLATFORM_AUXV): Move to dl-auxv.h; don't test for undef + weak symbol. + * sysdeps/unix/sysv/linux/alpha/sysconf.c (__libc_alpha_cache_shape): + Extern instead of initialized. + +2007-03-13 Richard Henderson + + * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Add support for + __sigsuspend_nocancel. + +2007-03-06 Ulrich Drepper + + * sysdeps/posix/getaddrinfo.c (get_scope): Correct test for + 172.16/12 address range. + +2007-03-02 Jakub Jelinek + + * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Retry with + a new netlink socket if NLMSG_ERR -EBUSY is seen after some MSG_TRUNC + message. + +2007-03-01 Jakub Jelinek + + [BZ #4069] + * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Check for NaN + earlier. + * math/libm-test.inc (pow_test): Add more tests involving NaNs. + + * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Avoid invalid exception + for x qNaN and y either +-inf or non-integer value. + * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Likewise. + * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. + * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise. + +2007-02-10 Mike Frysinger + + * sysdeps/unix/sysv/linux/sh/Makefile: Remove sys/io.h + from sysdep_headers. + +2007-02-28 Jakub Jelinek + + * time/tzfile.c (find_transition): Instead of a linear search try to + guess the transition index, use a linear search if the result is at + most 10 transitions away from the guess or binary search otherwise. + +2007-02-27 Jakub Jelinek + + * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Fix + memory reallocation. + +2007-02-21 Ulrich Drepper + + * stdlib/strtod_l.c (____STRTOF_INTERNAL): Add branch predictions + and fix some typos. + Optimize use of TOLOWER. + + [BZ #3325] + * sysdeps/i386/fpu/e_fmodf.S: Revert last changes, keep using fprem. + * sysdeps/i386/fpu/e_fmodl.c: Likewise. + * sysdeps/i386/fpu/e_fmod.S: Likewise. + + [BZ #3458] + * sysdeps/unix/sysv/linux/posix_madvise.c: New file. + * sysdeps/unix/sysv/linux/syscalls.list: Remove posix_madvise entry. + + [BZ #4076] + * io/ftw.c (ftw_startup): Handle special case of FTW_CHDIR in /. + (open_dir_stream): Likewise. + * io/Makefile (tests): Add bug-ftw5. + * io/bug-ftw5.c: New file. + + * nscd/hstcache.c (cache_addhst): Remove unnecessary conditional. + * nscd/servicescache.c (cache_addserv): Likewise. + + * nscd/grpcache.c (cache_addgr): In case a record changed on + refresh, adjust key_copy. + + [BZ #4074] + * nscd/pwdcache.c (cache_addpw): In case a record changed on + refresh, adjust key_copy. + + [BZ #4070] + * stdio-common/printf_fp.c (___printf_fp): Handle a few more + special cases. + * stdio-common/tfformat.c (sprint_doubles): Some more tests. + +2007-02-19 Ulrich Drepper + + * stdio-common/printf_fp.c (___printf_fp): Cleanups and minor + optimization. + + * stdio-common/vfscanf.c: Small cleanups throughout. + +2007-02-18 Ulrich Drepper + + [BZ #3325] + * sysdeps/i386/fpu/e_fmodf.S: Use fprem1 instead of fprem. + * sysdeps/i386/fpu/e_fmodl.c: Likewise. + * sysdeps/i386/fpu/e_fmod.S: Likewise. + Patch by Jared Casper . + + * sysdeps/unix/closedir.c: Outside libc don't use locking. + * sysdeps/unix/opendir.c: Likewise. + * sysdeps/unix/readdir.c: Likewise. + + [BZ #2211] + * stdio-common/vfscanf.c: Handle localized digits etc for floating + point numbers. + Patch mostly by Hamed Malek . + + * stdio-common/vfscanf.c: Fix problems in width accounting. + * stdio-common/tst-sscanf.c (double_tests): New tests. + (main): Hook them up. + + * stdio-common/vfscanf.c: Remove unused WIDTH handling. + More simplifications of floating-point reader. + + * stdio-common/Makefile (tests): Add tst-swscanf. + * stdio-common/tst-sscanf.c: Make tests usable for swscanf + testing. + * stdio-common/tst-swscanf.c: New file. + +2007-02-17 Ulrich Drepper + + [BZ #2633] + * libio/stdio.h: Define struct _IO_FILE in global namespace. + * setjmp/setjmp.h: Define __jmp_buf_tag in global namespace. + Remove using for __jmp_buf_tag. + * locale/locale.h (struct lconv): Also define in std namespace. + * wcsmbs/wchar.h: Move using declaration for tm out of namespace. + + [BZ #3842] + * sysdeps/posix/euidaccess.c [_LIBC] (euidaccess): Remove shortcut + using __libc_enable_secure. + + [BZ #3818] + * sysdeps/unix/sysv/linux/sys/acct.h (struct acct_v3): Define. + + [BZ #3745] + * locale/programs/ld-collate.c (handle_ellipsis): Fix generation + of names for ellipsises. + + [BZ #3348] + * malloc/memusage.sh: Cleanups. + * debug/xtrace.sh: Quoting and trap changes. + +2007-02-16 Ulrich Drepper + + * locale/iso-3166.def: Add Jersey, Guernsey, and Isle Of Man entries. + + * locale/iso-3166.def: Update entry for Serbia. + * locale/iso-4217.def: Define RSD, remove CSD. + + * sysdeps/x86_64/bits/atomic.h: One more change, this time for 16- + and 64-bit operations. + + [BZ #4040] + * sysdeps/i386/i486/bits/atomic.h: One more change, this time for + 16-bit operations. + + * nscd/nscd.c (parse_opt): One more conversion to use send instead + of writev. + +2007-02-15 Ulrich Drepper + + [BZ #3991] + * assert/assert.h (assert): Simplify. + (assert_perror): Likewise. + Patch by Israel G. Lugo . + + * nscd/nscd_helper.c (open_socket): Don't send padding bytes from + reqdata. + + * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Cosmetic + change: don't pass NULL in place of an integer. + +2007-02-02 Bruno Haible + + [BZ #3954] + * iconvdata/ksc5601.c (__ksc5601_sym_to_ucs, __ksc5601_sym_from_ucs): + Add mapping for U+327E. + * iconvdata/ksc5601.h (KSC5601_SYMBOL): Increment. + * iconvdata/johab.c (BODY for FROM_LOOP, BODY for TO_LOOP): Enable + mapping of 0xD9 0xE8. + * iconvdata/uhc.c (BODY for FROM_LOOP, BODY for TO_LOOP): Disable + mapping of U+327E. + Reported by Jungshik Shin . + + [BZ #3955] + * iconvdata/johab.c (BODY for FROM_LOOP, BODY for TO_LOOP): Enable + mapping of 0xD9 0xE6 and of 0xD9 0xE7. + Reported by Jungshik Shin . + +2007-02-14 Ulrich Drepper + + * sysdeps/x86_64/bits/atomic;h: Fix asm parameters for some + byte variants. + + [BZ #4040] + * sysdeps/i386/i486/bits/atomic.h: Fix asm parameters for some + byte variants. Patch mostly be tom@tommay.net. + +2007-02-14 Jakub Jelinek + + [BZ #3996] + * posix/glob.c (attribute_hidden): Define if not defined. + (glob): Unescape dirname, filename or username when needed and not + GLOB_NOESCAPE. Handle \/ correctly. Handle GLOB_MARK if filename + is NULL. Handle unescaped [ in pattern without closing ]. + Don't pass GLOB_CHECK down to recursive glob for directories. + (__glob_pattern_type): New function. + (__glob_pattern_p): Implement using __glob_pattern_type. + (glob_in_dir): Handle GLOB_NOCHECK patterns containing no meta + characters and backslashes if not GLOB_NOESCAPE or unterminated [. + Remove unreachable code. + * posix/globtest.sh: Add a couple of new tests. + +2007-02-13 Ulrich Drepper + + * po/ru.po: Update from translation team. + +2007-02-12 Jakub Jelinek + + * sysdeps/i386/bits/byteswap.h (__bswap_32): Add __amdfam10__ + to the list of i486+ CPUs. + * sysdeps/x86_64/bits/byteswap.h (__bswap_32): Likewise. + +2007-02-12 Ulrich Drepper + + * elf/rtld.c (RESOLVE_MAP): Always return bootstrap_map reference. + * elf/Makefile ($(objpfx)ld.so): Check that ld.so has no undefined + references. + +2007-02-09 Ulrich Drepper + + * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Remove incorrect comment. + + * resolv/res_init.c (res_setoptions): Recognize edns0 option. + * resolv/res_mkquery.c: Define __res_nopt. + * resolv/res_query.c (__libc_res_nquery): If RES_USE_EDNS0 is set + try adding EDNS0 record. + * resolv/res_send.c (send_dg): If request failed with FORMERR and + EDNS0 record was send make sure we don't try it again. + * resolv/resolv.h: Define RES_F_EDNS0ERR and RES_USE_EDNS0. + * include/resolv.h: Declare __res_nopt. + +2007-02-08 Jakub Jelinek + + [BZ #3944] + * time/strptime_l.c (__strptime_internal): Set have_mon for + %b/%B/%h. Set have_mon and have_mday if tm_mon and tm_mday + have been computed from tm_yday and tm_year. Don't crash + in day_of_the_week or day_of_the_year if not have_mon + and tm_mon contains bogus value. + * time/Makefile (tests): Add tst-strptime3. + * time/tst-strptime3.c: New test. + +2007-02-05 Jakub Jelinek + + [BZ #3957] + * posix/regcomp.c (parse_bracket_exp): Set '\n' bit rather than '\0' + bit for RE_HAT_LISTS_NOT_NEWLINE. + (build_charclass_op): Remove bogus comment. + * posix/Makefile (tests): Add bug-regex27 and bug-regex28. + * posix/bug-regex27.c: New test. + * posix/bug-regex28.c: New test. + +2007-02-03 Ulrich Drepper + + * po/sv.po: Update from translation team. + +2007-02-02 Ulrich Drepper + + * nscd/nscd_helper.c (open_socket): Minor size optimization. + +2007-02-02 Jakub Jelinek + + * include/locale.h (__uselocale): Add libc_hidden_proto. + * locale/uselocale.c (__uselocale): Add libc_hidden_def. + + * nscd/nscd_helper.c (open_socket): Use __gettimeofday instead of + gettimeofday. + +2007-02-01 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/sysdep.h (PTR_MANGLE): Roll value before + returning. + (PTR_DEMANGLE): Real definition now that it's not the same as + PRT_MANGLE anymore. + * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. + + * string/strerror_l.c: New file. + * string/Makefile (routines): Add strerror_l. + * string/string.h: Declare strerror_l. + * string/Versions: Export strerror_l for GLIBC_2.6. + +2007-01-31 Ulrich Drepper + + * nscd/nscd_helper.c (open_socket): Now takes request type and key + as parameter. Construct request record. Try sending request + before the first poll use, it usually succeeds. Adjust all + callers. + * nscd/nscd-client.h: Define MAXKEYLEN. + * nscd/connections.c (nscd_run): Don't define MAXKEYLEN here. + +2007-01-31 Jakub Jelinek + + * nscd/nscd-client.h (__nscd_cache_search): Remove const qualifier + from return value. + * nscd/nscd_helper.c: Include string.h. + (__nscd_cache_search): Remove const qualifier from return value. + On strict alignment architectures check hash entry and data head + alignment. + * nscd/nscd_getpw_r.c (nscd_getpw_r): Don't crash or fail because + mmapped data during GC cycle contains garbage. If + __nscd_drop_map_ref fails, decrement mapped->counter when returning + error or if retrying with NO_MAPPING, only __nscd_unmap if counter + dropped to 0. + * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. + * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise. + * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise. + * nscd/nscd_getai.c (__nscd_getai): Likewise. + * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise. + +2007-01-30 Ulrich Drepper + + * misc/hsearch_r.c (hdestroy_r): Remove unnecessary test. + +2007-01-26 Ulrich Drepper + + * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Use register + names not numbers in cfi_*. + +2007-01-26 Andreas Jaeger + + * sysdeps/unix/sysv/linux/sys/personality.h (ADDR_NO_RANDOMIZE, + ADDR_LIMIT_3GB, PER_LINUX_32BIT, PER_LINUX32_3GB): Add. + Correct values of PER_HPUX and PER_OSF4. + +2007-01-24 Ulrich Drepper + + * elf/dl-minimal.c: Undefine _itoa first. + * stdio-common/_itoa.h: Define _itoa and _fitoa for 64-bit platforms. + * malloc/mtrace.c: Revert last change. + * posix/wordexp.c: Likewise. + +2007-01-24 Jakub Jelinek + + * sysdeps/i386/bits/byteswap.h (__bswap_32): Add __nocona__, __core2__ + and __geode__ to the list of i486+ CPUs. + * sysdeps/x86_64/bits/byteswap.h (__bswap_32): Likewise. + +2007-01-23 Ulrich Drepper + + * stdio-common/_itoa.c: Include . + * stdio-common/_itowa.c: Likewise. + +2007-01-22 Ulrich Drepper + + * stdio-common/_itowa.c: Don't compile _itowa for 64-bit + platforms. + * stdio-common/_itoa.c: Don't compile in _itoa and _fitoa for + 64-bit platforms. + * malloc/mtrace.c (tr_where): Use _fitoa_word instead of _fitoa if + possible. + * posix/wordexp.c (parse_arith): Use _itoa_word instead of _itoa + if possible. + + [BZ #3902] + * stdio-common/_itoa.c (_itoa): Make sure at least a zero is emitted. + * stdio-common/Makefile (tests): Add bug17. + * stdio-common/bug17.c: New file. + +2007-01-19 Ulrich Drepper + + * iconvdata/brf.c: New file. + * iconvdata/testdata/BRF: New file. + * iconvdata/testdata/BRF..UTF8: New file. + Contributed by Samuel Thibault . + * iconvdata/Makefile: Add rules to build BRF. + * iconvdata/TESTS: Add BRF entry. + * iconvdata/gconv-modules: Likewise. + * iconvdata/tst-tables.sh: Likewise. + +2007-01-18 Anton Nikishaev + + * wcsmbs/wchar.h (wcstoll): Fix comment, function returns value of + type `long long int', not `long int'. + (wcstoq): Likewise. + +2007-01-18 Ulrich Drepper + + * scripts/gen-as-const.awk: Add cast to long to avoid int promotion + of values on 64-bit platforms which are too large. + +2007-01-12 Steven Munroe + Joe Kerian + + [BZ #2749] + * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Include + . Remove weak_alias. Use long_double_symbol macro. + (__copysignl): Use signbit() for comparison. + * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Correct parms for + SET_LDOUBLE_WORDS64. + + [BZ #2423, #2749] + * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Don't include . + (__ceill): Remove calls to fegetround(), fesetround(). + * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise. + +2007-01-17 Jakub Jelinek + + * nscd/nscd_getserv_r.c (nscd_getserv_r): Fix pastos. + + * sysdeps/unix/sysv/linux/getdents.c (offsetof): Remove. + +2007-01-17 Ulrich Drepper + + * sysdeps/unix/sysv/linux/fatal-prepare.h: Use PTHFCT_CALL to + demangle pointer. + * csu/libc-start.c: Likewise. + +2007-01-16 Ulrich Drepper + + * sysdeps/posix/system.c: Remove NO_WAITPID support, it cannot + really work anyway. + +2007-01-15 Ulrich Drepper + + * nscd/connections.c (servinfo): Renamed to reqinfo. Change all + users. + (handle_request): Remove unnecessary tests. + + * nscd/cache.c (cache_add): Record the failure to add to the cache. + +2007-01-15 Jakub Jelinek + + * soft-fp/op-common.h (FP_TRUNC): When truncating a NaN, clear + workbits in semi-raw fraction. + + * math/test-misc.c: Add new tests. + +2007-01-14 Steven Munroe + + * math/basic-test.c: Include test-skeleton.c. + (TEST_TRUNC): Define. + (truncdfsf_test, trunctfsf_test, trunctfdf_test): New. + (main): Rename to ... + (do_test): ...this. Run new tests. + (TEST_FUNCTION): Define. + +2006-10-05 Steven Munroe + Joe Kerian + + [BZ #2749] + * soft-fp/op-4.h (__FP_FRAC_SUB_3, __FP_FRAC_SUB_4): Correct borrow + handling for high words. + * soft-fp/op-common.h (_FP_OVERFLOW_SEMIRAW): Always set inexact + and overflow for infinity. + +2007-01-15 Ulrich Drepper + + * nscd/connections.c (handle_request): Add a __builtin_expect. + + * nscd/connections.c (serv2db): Change type into structure which + also says whether this is a request for data. Renamed to + servinfo. All users changed. + (handle_request): Much simpler test whether we should search the cache. + + * nscd/connections.c (handle_request): Fix thinko in selinux test + invocation. + + * sysdeps/generic/ldsodefs.h: Define DL_LOOKUP_SCOPE_LOCK. + * elf/dl-lookup.c (add_dependency): If scope map is locked, unlock + it before getting dl_load_lock and then relock. + (_dl_lookup_symbol_x): Pass flags to add_dependency. + When rerunning _dl_lookup_symbol_x, compute symbol_scope again in + case we unlocked the scope. + * elf/dl-runtime.c (_dl_fixup): Pass DL_LOOKUP_SCOPE_LOCK to + _dl_lookup_symbol_x in case we locked the scope. + (_dl_profile_fixup): Likewise. + * elf/dl-sym.c (do_sym): In flags passed to call_dl_lookup, also + set DL_LOOKUP_SCOPE_LOCK. + +2007-01-13 Ulrich Drepper + + * inet/Makefile: Define CFLAGS-getsrvbynm_r.c and + CFLAGS-getsrvbynpt_r.c. + * nscd/getsrvbynm_r.c: New file. + * nscd/getsrvbypt_r.c: New file. + * nscd/nscd_getserv_r.c: New file. + * nscd/servicescache.c: New file. + * nscd/Makefile (routines): Add nscd_getserv_r. + (nscd-modules): Add getsrvbynm_r, getsrvbypt_r, and servicescache. + Define CFLAGS-servicescache.c, CFLAGS-getsrvbynm_r.c, and + CFLAGS-getsrvbypt_r.c. + * nscd/cache.c (prune_cache): Rewrite to get re-add function from + table. Add entries for services database. + * nscd/connections.c (serv2str): Mark as const. Add entries for + services database. + (dbs): Add .reset_res and servdb initialization. + (serv2db): Add entries for services database. + (verify_persistent_db): Accept dbnr == servdb. + (invalidate_cache): Rewrite database name recognition to use a table. + Call res_init() if .reset_res is set for database. + (handle_request): Add code to handle services database. + * nscd/gai.c: Don't define __getservbyname_r. + * nscd/nscd-client.h (request_type): Remove LASTDBREQ, add + GETSERVBYNAME, GETSERVBYPORT, GETFDSERV. + (serv_response_header): Define. + (struct datahead): Add serv_response_header member. + * nscd/nscd.c (parse_opt): Rewrite parsing of -i parameter value + using table. + * nscd/nscd.conf: Add entries for services database. + * nscd/nscd.h: Adjust declaration of dbnames and serv2str. + Declare serv_iov_disabled. + Declare addservbyname, readdservbyname, addservbyport, and + readdservbyport. + * nscd/nscd_conf.c (dbnames): Mark as const. Add services entry. + (find_db): Fix error message. + * nscd/nscd_proto.h: Declare __nss_not_use_nscd_services, + __nscd_getservbyname_r, and __nscd_getservbyport_r. + * nscd/selinux.c (perms): Add entries for services database. + * nss/Versions: Export __nss_services_lookup with GLIBC_PRIVATE. + * nss/nsswitch.c (__nss_disable_nscd): Also disable services database. + + * nscd/grpcache.c: Remove obsolete code. Cleanups. + * nscd/hstcache.c: Likewise. + * nscd/pwdcache.c: Likewise. + + * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Correct + computation of keylen. + + * include/string.h: Only redefine strndupa if this is really for + libc code. + +2007-01-12 Ulrich Drepper + + * nscd/nscd_gethst_r.c: Minor cleanups. + + * nscd/connections.c (handle_request): Check selinux permissions + for all non-admin commands. + + * sysdeps/i386/i486/bits/atomic.h: Define + atomic_compare_and_exchange_val_acq, + atomic_compare_and_exchange_bool_acq, and atomic_exchange_and_add + using __sync_* built-ins for gcc >= 4.1. + * sysdeps/x86_64/bits/atomic.h: Likewise. + + [BZ #3840] + * scripts/check-local-headers.sh: Restrict to testing .o.d, .os.d, + and .oS.d files. + +2007-01-05 Steven Munroe + + * stdlib/tst-makecontext.c: Include errno.h. Change main() + to do_test(). Define TEST_FUNCTION. Include test-skeleton.c. + (do_test): Check errno and exit(0) if ENOSYS. + +2007-01-11 Jakub Jelinek + + * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix handling of multi-byte + thousands separators. + * stdlib/Makefile: Add rules to build and run tst-strtod4. + * stdlib/tst-strtod4.c: New test. + + [BZ #3855] + * stdlib/strtod_l.c (____STRTOF_INTERNAL): 0x. not followed by + hexadecimal digit should accept just the initial 0. + * stdlib/tst-strtod2.c (tests): New variable. + (do_test): Run several tests rather than just one. + +2007-01-11 Jakub Jelinek + + * sysdeps/i386/soft-fp/sfp-machine.h: Remove. + * sysdeps/x86_64/soft-fp/sfp-machine.h: Likewise. + +2007-01-10 Ulrich Drepper + + * io/fts.c: Make sure fts_cur is always valid after return from + fts_read. + Patch by Miloslav Trmac . + +2006-10-27 Richard Sandiford + + * elf/elf.h (R_MIPS_GLOB_DAT): Define. + (R_MIPS_NUM): Bump by 1. + +2007-01-03 Jakub Jelinek + + * posix/execvp.c: Include alloca.h. + (allocate_scripts_argv): Renamed to... + (scripts_argv): ... this. Don't allocate buffer here nor count + arguments. + (execvp): Use alloca if possible. + * posix/Makefile: Add rules to build and run tst-vfork3 test. + * posix/tst-vfork3.c: New test. + +2007-01-03 Ulrich Drepper + + * string/Makefile (tst-strxfrm2-ENV): Define. + * stdlib/Makefile (tst-strtod3-ENV): Define. + +2007-01-02 Ulrich Drepper + + * posix/getconf.c: Update copyright year. + * nss/getent.c: Likewise. + * iconv/iconvconfig.c: Likewise. + * iconv/iconv_prog.c: Likewise. + * elf/ldconfig.c: Likewise. + * catgets/gencat.c: Likewise. + * csu/version.c: Likewise. + * elf/ldd.bash.in: Likewise. + * elf/sprof.c (print_version): Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/localedef.c: Likewise. + * nscd/nscd.c (print_version): Likewise. + * debug/xtrace.sh: Likewise. + * malloc/memusage.sh: Likewise. + * malloc/mtrace.pl: Likewise. + * debug/catchsegv.sh: Likewise. + +2006-12-24 Ulrich Drepper + + * malloc/malloc.c (sYSMALLOc): Remove some unnecessary alignment + attempts. + +2006-12-23 Ulrich Drepper + + * posix/wordexp.c: Remove some unnecessary tests. + +2006-12-22 Gavin Romig-Koch + + * nis/nss_compat/compat-grp.c (internal_getgrgid_r): Don't + blacklist the group till after we look it up. + +2006-12-21 Ulrich Drepper + + * include/atomic.h (atomic_forced_read): New macro. + +2006-12-20 SUGIOKA Toshinobu + + * sysdeps/unix/sysv/linux/sh/bits/shm.h: New file. + +2006-12-19 Jakub Jelinek + + * nss/getXXbyYY_r.c: Include atomic.h. + (INTERNAL (REENTRANT_NAME)): Write startp after start_fct, + add atomic_write_barrier () in between. + + * stdlib/Makefile (tests): Add tst-makecontext. + * stdlib/tst-makecontext.c: New test. + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S + (__makecontext): Don't realign uc_mcontext.uc_regs. + +2006-11-28 Jakub Jelinek + + * elf/dl-support.c: Include dl-procinfo.h. + * sysdeps/powerpc/dl-procinfo.h (PPC_PLATFORM_POWER4, + PPC_PLATFORM_PPC970, PPC_PLATFORM_POWER5, PPC_PLATFORM_POWER5_PLUS, + PPC_PLATFORM_POWER6, PPC_PLATFORM_CELL_BE, PPC_PLATFORM_POWER6X): + Define. + (_dl_string_platform): Use PPC_PLATFORM_* macros instead of + hardcoded constants. + * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platform): Use + PPC_PLATFORM_* macros for array designators. + +2006-11-11 Steven Munroe + + * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add 3 new cap + names to the beginning. + (_dl_powerpc_platforms): Add "power6x". + * sysdeps/powerpc/dl-procinfo.h (_DL_HWCAP_FIRST): Decrease. + (HWCAP_IMPORTANT): Add PPC_FEATURE_HAS_DFP. + (_DL_PLATFORMS_COUNT): Increase. + (_dl_string_platform): Handle power6x case. + * sysdeps/powerpc/sysdep.h (PPC_FEATURE_PA6T, PPC_FEATURE_HAS_DFP, + PPC_FEATURE_POWER6_EXT): Define. + (PPC_FEATURE_POWER5, PPC_FEATURE_POWER5_PLUS): Correct Comment. + +2006-12-18 Jakub Jelinek + + [BZ #3747] + * stdlib/jrand48_r.c (__jrand48_r): Make sure result is in the + [-2^31 .. 2^31) range. + * stdlib/tst-rand48.c (main): Fix expected values for 64-bit + targets. + * stdlib/tst-rand48-2.c: New test. + * stdlib/Makefile (tests): Add tst-rand48-2. + +2006-12-14 Jakub Jelinek + + * misc/tst-pselect.c (do_test): Fix sigblock argument. + +2006-12-14 Ulrich Drepper + + * misc/tst-pselect.c (do_test): Make sure the helper process is + terminating when the test is aborted. + +2006-12-13 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_RELATIME. + * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags): + Handle relatime mount option. + + [BZ #2337] + * libio/Makefile (tests): Add tst-setvbuf1. + * libio/tst-setvbuf1.c: New file. + +2006-12-08 Jakub Jelinek + + [BZ #2337] + * libio/genops.c (__uflow): Fix a typo. + * libio/wfiledoalloc.c (_IO_wfile_doallocate): Don't stat + nor set _IO_LINE_BUF bit here. Size the wide buffer based on + the narrow buffer size. + +2006-11-24 Jakub Jelinek + + [BZ #2337] + * libio/libio.h (_IO_FLAGS2_USER_WBUF): Define. + * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Test and set + _IO_FLAGS2_USER_WBUF bit in _flags2 instead of _IO_USER_BUF bit + in _flags. + * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf, + _IO_wstr_finish): Likewise. + * libio/wmemstream.c (open_wmemstream): Likewise. + * libio/fileops.c (_IO_new_file_close_it): Call _IO_set[bgp] + even for wide streams. + +2006-12-13 Jakub Jelinek + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Include + kernel-features.h. + +2006-12-11 Ulrich Drepper + + * stdlib/strtod_l.c (____STRTOF_INTERNAL): Parse thousand + separators also if no non-zero digits found. + * stdlib/Makefile (tests): Add tst-strtod3. + +2006-12-09 Ulrich Drepper + + [BZ #3632] + * include/features.h: Fix comment about default value for + _POSIX_C_SOURCE. + + [BZ #3664] + * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix test to recognize + empty parsed strings. + * stdlib/Makefile (tests): Add tst-strtod2. + * stdlib/tst-strtod2.c: New file. + + [BZ #3673] + * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix exp_limit + computation. + * stdlib/Makefile (tests): Add tst-atof2. + * stdlib/tst-atof2.c: New file. + + [BZ #3674] + * stdlib/strtod_l.c (____STRTOF_INTERNAL): Adjust exponent value + correctly if removing trailing zero of hex-float. + * stdlib/Makefile (tests): Add tst-atof1. + * stdlib/tst-atof1.c: New file. + +2006-12-09 Jakub Jelinek + + * misc/mntent_r.c (__hasmntopt): Check p[optlen] even when p == rest. + Start searching for next comma at p rather than rest. + * misc/Makefile (tests): Add tst-mntent2. + * misc/tst-mntent2.c: New test. + + * misc/getusershell.c (initshells): Check for integer overflows. + Make strings buffer one bigger as fgets always succeeds when second + argument is 1. Don't use calloc for shells array. Disallow + / as shell. + +2006-12-08 Ulrich Drepper + + * malloc/memusage.c: Handle realloc with new size of zero and + non-NULL pointer correctly. + (me): Really write first record twice. + (struct entry): Make format bi-arch safe. + (dest): Write out more realloc statistics. + * malloc/memusagestat.c (struct entry): Make format bi-arch safe. + +2006-12-05 Jakub Jelinek + + * nis/nis_subr.c (nis_getnames): Revert last change. + +2006-12-04 Jakub Jelinek + + * sysdeps/unix/sysv/linux/ttyname.c: Include termios.h. + (ttyname): Use tcgetattr instead of isatty, don't set errno to ENOTTY. + * sysdeps/unix/sysv/linux/ttyname_r.c: Include termios.h. + (__ttyname_r): Use tcgetattr instead of isatty, don't set errno to + ENOTTY. + * io/Makefile: Add rules to build and run tst-ttyname_r test. + * io/tst-ttyname_r.c: New test. + +2006-12-03 Kaz Kojima + + * sysdeps/unix/sysv/linux/sh/sys/io.h: Removed. + +2006-11-30 H.J. Lu + + * sysdeps/i386/i686/memcmp.S: Use jump table as the base of + jump table entries. + +2006-11-30 Jan Kratochvil + + * sysdeps/unix/sysv/linux/i386/clone.S: Provide CFI for the outermost + `clone' function to ensure proper unwinding stop of gdb. + * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise. + +2006-12-01 Ulrich Drepper + + * nscd/nscd.init: Remove obsolete and commented-out -S option + handling. + +2006-11-23 Jakub Jelinek + + [BZ #3514] + * manual/string.texi (strncmp): Fix pastos from wcscmp description. + + [BZ #3515] + * manual/string.texi (strtok): Remove duplicate paragraph. + +2006-12-01 Jan Kratochvil + + * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Fix compatibility with + libgcc not supporting `rflags' unwinding (register # >= 17). + +2006-11-30 Jakub Jelinek + + * sunrpc/svc_run.c (svc_run): Set my_pollfd to new_pollfd if realloc + succeeded. + +2006-11-29 Daniel Jacobowitz + Jakub Jelinek + Jan Kratochvil + + * sysdeps/unix/sysv/linux/x86_64/sigaction.c (restore_rt): Add correct + unwind information. + * sysdeps/unix/sysv/linux/x86_64/Makefile: Provide symbols for + 'restore_rt' even in the 'signal' directory. + * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym: Extend the regs list. + +2006-11-27 Jakub Jelinek + + [BZ #3559] + * sunrpc/svc_run.c (svc_run): Fail instead of segfaulting if + malloc crashed. Don't allocate memory unnecessarily in each + loop. + +2006-10-21 Jakub Jelinek + + * resolv/mapv4v6addr.h (map_v4v6_address): Fix last change. + +2006-11-20 Ulrich Drepper + + * resolv/mapv4v6addr.h (map_v4v6_address): Optimize a bit. + +2006-11-18 Bruno Haible + + * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Invoke + __sysconf only after having tried to call getgroups32. + +2006-11-19 Ulrich Drepper + + * nss/nss_files/files-hosts.c (LINE_PARSER): Support IPv6-style + addresses for IPv4 queries if they can be mapped. + +2006-11-16 Jakub Jelinek + + * sysdeps/x86_64/fpu/s_copysignf.S (__copysignf): Switch to .text. + * sysdeps/x86_64/fpu/s_copysign.S (__copysign): Likewise. + (signmask): Add .size directive. + (othermask): Add .type directive. + +2006-11-14 Ulrich Drepper + + * po/nl.po: Update from translation team. + + * timezone/zdump.c: Redo fix for BZ #3137. + +2006-11-14 Jakub Jelinek + + * nss/nss_files/files-alias.c (get_next_alias): Set line back + to first_unused after parsing :include: file. + +2006-11-10 Ulrich Drepper + + * timezone/africa: Update from tzdata2006o. + * timezone/antarctica: Likewise. + * timezone/asia: Likewise. + * timezone/australasia: Likewise. + * timezone/backward: Likewise. + * timezone/europe: Likewise. + * timezone/iso3166.tab: Likewise. + * timezone/northamerica: Likewise. + * timezone/southamerica: Likewise. + * timezone/zone.tab: Likewise. + + * time/tzfile.c (__tzfile_read): Extend to handle new file format + on machines with 64-bit time_t. + + * timezone/checktab.awk: Update from tzcode2006o. + * timezone/ialloc.c: Likewise. + * timezone/private.h: Likewise. + * timezone/scheck.c: Likewise. + * timezone/tzfile.h: Likewise. + * timezone/tzselect.ksh: Likewise. + * timezone/zdump.c: Likewise. + * timezone/zic.c: Likewise. + + [BZ #3483] + * elf/ldconfig.c (main): Call setlocale and textdomain. + Patch mostly by Benno Schulenberg . + + [BZ #3480] + * manual/argp.texi: Fix typos. + * manual/charset.texi: Likewise. + * manual/errno.texi: Likewise. + * manual/filesys.texi: Likewise. + * manual/lang.texi: Likewise. + * manual/maint.texi: Likewise. + * manual/memory.texi: Likewise. + * manual/message.texi: Likewise. + * manual/resource.texi: Likewise. + * manual/search.texi: Likewise. + * manual/signal.texi: Likewise. + * manual/startup.texi: Likewise. + * manual/stdio.texi: Likewise. + * manual/sysinfo.texi: Likewise. + * manual/syslog.texi: Likewise. + * manual/time.texi: Likewise. + Patch by Ralf Wildenhues . + + [BZ #3465] + * sunrpc/clnt_raw.c: Minimal message improvements. + * sunrpc/pm_getmaps.c: Likewise. + * nis/nss_nisplus/nisplus-publickey.c: Likewise. + * nis/nis_print_group_entry.c: Likewise. + * locale/programs/repertoire.c: Likewise. + * locale/programs/charmap.c: Likewise. + * malloc/memusage.sh: Likewise. + * elf/dl-deps.c: Likewise. + * locale/programs/ld-collate.c: Likewise. + * libio/vswprintf.c: Likewise. + * malloc/memusagestat.c: Likewise. + * sunrpc/auth_unix.c: Likewise. + * sunrpc/rpc_main.c: Likewise. + * nscd/cache.c: Likewise. + * locale/programs/repertoire.c: Unify output messages. + * locale/programs/charmap.c: Likewise. + * locale/programs/ld-ctype.c: Likewise. + * locale/programs/ld-monetary.c: Likewise. + * locale/programs/ld-numeric.c: Likewise. + * locale/programs/ld-time.c: Likewise. + * elf/ldconfig.c: Likewise. + * nscd/selinux.c: Likewise. + * elf/cache.c: Likewise. + Patch mostly by Benno Schulenberg . + + [BZ #3451] + * sysdeps/i386/fpu/bits/mathinline.h (floor): Make rounding mode + change atomic. + (ceil): Likewise. + +2006-11-10 Jakub Jelinek + + * string/strxfrm_l.c (STRXFRM): Fix trailing \1 optimization + if N is one bigger than return value. + * string/tst-strxfrm2.c (do_test): Also test strxfrm with l1 + 1 + and l1 last arguments, if buf is defined, verify the return value + equals to strlen (buf) and verify no byte beyond passed length + is modified. + +2006-11-10 Ulrich Drepper + + * po/sv.po: Update from translation team. + +2006-11-09 Ulrich Drepper + + * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_check_word): Add + noinline attribute. + +2006-11-10 Jakub Jelinek + + * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Add + noinline attribute. + + * sysdeps/gnu/siglist.c (__old_sys_siglist, __old_sys_sigabbrev): + Use __new_sys_siglist instead of _sys_siglist_internal as + second macro argument. + (_old_sys_siglist): Use declare_symbol_alias macro instead of + strong_alias. + +2006-11-09 Ulrich Drepper + + [BZ #3493] + * posix/unistd.h (sysconf): Remove const attribute. + + * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix test for + temporary or deprecated addresses. + Patch by Sridhar Samudrala . + + * string/Makefile (tests): Add tst-strxfrm2. + * string/tst-strxfrm2.c: New file. + +2006-10-09 Jakub Jelinek + + * elf/dl-debug.c (_dl_debug_initialize): Check r->r_map for 0 + rather than r->r_brk. + +2006-11-08 Jakub Jelinek + + * string/strxfrm_l.c (STRXFRM): Do the trailing \1 removal + optimization even if needed > n. + + * elf/dl-load.c (decompose_rpath): Return bool rather than void. + If l->l_name is on inhibit_rpath list, set sps->dirs to -1 and + return false, otherwise return true. + (cache_rpath): Return decompose_rpath return value. + +2006-11-07 Jakub Jelinek + + * include/libc-symbols.h (declare_symbol): Rename to... + (declare_symbol_alias): ... this. Add ORIGINAL argument, imply + strong_alias (ORIGINAL, SYMBOL) in asm to make sure it preceedes + .size directive. + * sysdeps/gnu/errlist-compat.awk: Adjust for declare_symbol_alias + changes. + * sysdeps/gnu/siglist.c: Likewise. + +2006-11-03 Steven Munroe + + * sysdeps/powerpc/fpu/bits/mathinline.h + [__LIBC_INTERNAL_MATH_INLINES]: Moved to ... + * sysdeps/powerpc/fpu/math_private.h: ...here. New file. + +2006-11-05 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): + Update handling of cache descriptor 0x49 for new models. + * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_check_word): + Likewise. + +2006-11-02 Jakub Jelinek + + * malloc/memusage.c (dest): Reset not_me back to false after + printing statistics. + +2006-11-02 Ulrich Drepper + + * configure.in: Work around ld --help change and avoid -z relro + test completely if the architecture doesn't care about security. + +2006-11-01 Ulrich Drepper + + * po/sv.po: Update from translation team. + +2006-10-31 Ulrich Drepper + + * stdlib/atexit.c (atexit): Don't mark as hidden when used to + generate compatibility version. + +2006-10-29 Ulrich Drepper + + * configure.in: Relax -z relro requirement a bit. + + * po/sv.po: Update from translation team. + +2006-10-29 Jakub Jelinek + + * elf/dl-sym.c (do_sym): Use RTLD_SINGLE_THREAD_P. + * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise. + * elf/dl-close.c (_dl_close_worker): Likewise. + * elf/dl-open.c (_dl_open_worker): Likewise. + * sysdeps/generic/sysdep-cancel.h (RTLD_SINGLE_THREAD_P): Define. + +2006-10-27 Ulrich Drepper + + * configure.in: Require assembler support for visibility, compiler + support for visibility and aliases, linker support for various -z + options. + * Makeconfig: Remove conditional code which now is unnecessary. + * config.h.in: Likewise. + * config.make.in: Likewise. + * dlfcn/Makefile: Likewise. + * elf/Makefile: Likewise. + * elf/dl-load.c: Likewise. + * elf/rtld.c: Likewise. + * include/libc-symbols.h: Likewise. + * include/stdio.h: Likewise. + * io/Makefile: Likewise. + * io/fstat.c: Likewise. + * io/fstat64.c: Likewise. + * io/fstatat.c: Likewise. + * io/fstatat64.c: Likewise. + * io/lstat.c: Likewise. + * io/lstat64.c: Likewise. + * io/mknod.c: Likewise. + * io/mknodat.c: Likewise. + * io/stat.c: Likewise. + * io/stat64.c: Likewise. + * libio/stdio.c: Likewise. + * nscd/Makefile: Likewise. + * stdlib/Makefile: Likewise. + * stdlib/atexit.c: Likewise. + * sysdeps/generic/ldsodefs.h: Likewise. + * sysdeps/i386/dl-machine.h: Likewise. + * sysdeps/i386/sysdep.h: Likewise. + * sysdeps/i386/i686/memcmp.S: Likewise. + * sysdeps/powerpc/powerpc32/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise. + + * Makerules: USE_TLS support is now default. + * tls.make.c: Likewise. + * csu/Versions: Likewise. + * csu/libc-start.c: Likewise. + * csu/libc-tls.c: Likewise. + * csu/version.c: Likewise. + * dlfcn/dlinfo.c: Likewise. + * elf/dl-addr.c: Likewise. + * elf/dl-cache.c: Likewise. + * elf/dl-close.c: Likewise. + * elf/dl-iteratephdr.c: Likewise. + * elf/dl-load.c: Likewise. + * elf/dl-lookup.c: Likewise. + * elf/dl-object.c: Likewise. + * elf/dl-open.c: Likewise. + * elf/dl-reloc.c: Likewise. + * elf/dl-support.c: Likewise. + * elf/dl-sym.c: Likewise. + * elf/dl-sysdep.c: Likewise. + * elf/dl-tls.c: Likewise. + * elf/ldconfig.c: Likewise. + * elf/rtld.c: Likewise. + * elf/tst-tls-dlinfo.c: Likewise. + * elf/tst-tls1.c: Likewise. + * elf/tst-tls10.h: Likewise. + * elf/tst-tls14.c: Likewise. + * elf/tst-tls2.c: Likewise. + * elf/tst-tls3.c: Likewise. + * elf/tst-tls4.c: Likewise. + * elf/tst-tls5.c: Likewise. + * elf/tst-tls6.c: Likewise. + * elf/tst-tls7.c: Likewise. + * elf/tst-tls8.c: Likewise. + * elf/tst-tls9.c: Likewise. + * elf/tst-tlsmod1.c: Likewise. + * elf/tst-tlsmod13.c: Likewise. + * elf/tst-tlsmod13a.c: Likewise. + * elf/tst-tlsmod14a.c: Likewise. + * elf/tst-tlsmod2.c: Likewise. + * elf/tst-tlsmod3.c: Likewise. + * elf/tst-tlsmod4.c: Likewise. + * elf/tst-tlsmod5.c: Likewise. + * elf/tst-tlsmod6.c: Likewise. + * include/errno.h: Likewise. + * include/link.h: Likewise. + * include/tls.h: Likewise. + * locale/global-locale.c: Likewise. + * locale/localeinfo.h: Likewise. + * malloc/arena.c: Likewise. + * malloc/hooks.c: Likewise. + * malloc/malloc.c: Likewise. + * resolv/Versions: Likewise. + * sysdeps/alpha/dl-machine.h: Likewise. + * sysdeps/alpha/libc-tls.c: Likewise. + * sysdeps/generic/ldsodefs.h: Likewise. + * sysdeps/generic/tls.h: Likewise. + * sysdeps/i386/dl-machine.h: Likewise. + * sysdeps/ia64/dl-machine.h: Likewise. + * sysdeps/ia64/libc-tls.c: Likewise. + * sysdeps/mach/hurd/fork.c: Likewise. + * sysdeps/mach/hurd/i386/tls.h: Likewise. + * sysdeps/powerpc/powerpc32/dl-machine.c: Likwise. + * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise. + * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise. + * sysdeps/s390/libc-tls.c: Likewise. + * sysdeps/s390/s390-32/dl-machine.h: Likewise. + * sysdeps/s390/s390-64/dl-machine.h: Likewise. + * sysdeps/sh/dl-machine.h: Likewise. + * sysdeps/sparc/sparc32/dl-machine.h: Likewise. + * sysdeps/sparc/sparc64/dl-machine.h: Likewise. + * sysdeps/x86_64/dl-machine.h: Likewise. + + * elf/dl-close.c (_dl_close_worker): Renamed from _dl_close and + split out locking and parameter checking. + (_dl_close): Call _dl_close_worker after locking and checking. + * elf/dl-open.c (_dl_open): Call _dl_close_worker instead of + _dl_close. + * elf/Makefile: Add rules to build and run tst-thrlock. + * elf/tst-thrlock.c: New file. + + [BZ #3426] + * stdlib/stdlib.h: Adjust comment for canonicalize_file_name to + reality. + + [BZ #3429] + * elf/dl-open.c (dl_open_worker): Keep holding dl_load_lock until + we are sure we do not need it anymore for _dl_close. Also move + the asserts inside the lock region. + Patch mostly by Suzuki . + +2006-10-27 Jakub Jelinek + + * elf/dl-lookup.c (_dl_debug_bindings): Remove unused symbol_scope + argument. + (_dl_lookup_symbol_x): Adjust caller. + + * sysdeps/generic/ldsodefs.h (struct link_namespaces): Remove + _ns_global_scope. + * elf/rtld.c (dl_main): Don't initialize _ns_global_scope. + + * elf/dl-libc.c: Revert l_scope name changes. + * elf/dl-load.c: Likewise. + * elf/dl-object.c: Likewise. + * elf/rtld.c: Likewise. + * elf/dl-close.c (_dl_close): Likewise. + * elf/dl-open.c (dl_open_worker): Likewise. If not SINGLE_THREAD_P, + always use __rtld_mrlock_{change,done}. Always free old scope list + here if not l_scope_mem. + * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Revert l_scope name + change. Never free scope list here. Just __rtld_mrlock_lock before + the lookup and __rtld_mrlock_unlock it after the lookup. + * elf/dl-sym.c: Likewise. + * include/link.h (struct r_scoperec): Remove. + (struct link_map): Replace l_scoperec with l_scope, l_scoperec_mem + with l_scope_mem and l_scoperec_lock with l_scope_lock. + +2006-10-25 Ulrich Drepper + + * sysdeps/gnu/netinet/tcp.h: Define TCP_CONGESTION. + +2006-10-18 Ulrich Drepper + + * configure.in: Disable building profile libraries by default. + +2006-10-17 Jakub Jelinek + + * sunrpc/xdr_mem.c (xdrmem_setpos): Don't compare addresses + as signed longs, check for x_base + pos overflow. + * sunrpc/Makefile (tests): Add tst-xdrmem2. + * sunrpc/tst-xdrmem2.c: New test. + +2006-10-18 Ulrich Drepper + + * elf/dl-lookup.c (_dl_lookup_symbol_x): Add warning to + _dl_lookup_symbol_x code. + +2006-10-17 Jakub Jelinek + + * elf/dl-runtime.c: Include sysdep-cancel.h. + (_dl_fixup, _dl_profile_fixup): Use __rtld_mrlock_* and + scoperec->nusers only if !SINGLE_THREAD_P. Use atomic_* + instead of catomic_* macros. + * elf/dl-sym.c: Include sysdep-cancel.h. + (do_sym): Use __rtld_mrlock_* and scoperec->nusers only + if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros. + * elf/dl-close.c: Include sysdep-cancel.h. + (_dl_close): Use __rtld_mrlock_* and scoperec->nusers only + if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros. + * elf/dl-open.c: Include sysdep-cancel.h. + (dl_open_worker): Use __rtld_mrlock_* and scoperec->nusers only + if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros. + +2006-10-17 Jakub Jelinek + + [BZ #3313] + * malloc/malloc.c (malloc_consolidate): Set maxfb to address of last + fastbin rather than end of fastbin array. + +2006-10-18 Ulrich Drepper + + * sysdeps/i386/i486/bits/atomic.h (catomic_decrement): Use correct + body macro. + * sysdeps/x86_64/bits/atomic.h + (__arch_c_compare_and_exchange_val_64_acq): Add missing casts. + (catomic_decrement): Use correct body macro. + +2006-10-17 Jakub Jelinek + + * include/atomic.h: Add a unique prefix to all local variables + in macros. + * csu/tst-atomic.c (do_test): Test also catomic_* macros. + +2006-10-16 Ulrich Drepper + + [BZ #3369] + * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Fix typos in rules 4 + and 7. + +2006-10-14 Ulrich Drepper + + * resolv/arpa/nameser.h: Document that ns_t_a6 is deprecated. + +2006-10-13 Ulrich Drepper + + [BZ #3313] + * malloc/malloc.c (malloc_consolidate): Don't use get_fast_max to + determine highest fast bin to consolidate, always look into all of + them. + (do_check_malloc_state): Only require for empty bins for large + sizes in main arena. + + * libio/stdio.h: Add more __wur attributes. + + * elf/dl-minimal.c (realloc): Optimize last patch. + +2006-10-12 Richard Sandiford + + [BZ #3352] + * elf/dl-minimal.c (realloc): Let malloc() return a new pointer, + and use memcpy() if it does. + +2006-11-12 Andreas Jaeger + + [BZ #2510] + * manual/search.texi (Hash Search Function): Clarify. + (Array Search Function): Clarify. + +2006-11-12 Joseph Myers + + [BZ #2830] + * math/atest-exp.c (main): Cast hex value to mp_limb_t before + shifting. + * math/atest-exp2.c (read_mpn_hex): Likewise. + * math/atest-sincos.c (main): Likewise. + +2006-10-11 Ulrich Drepper + + * sysdeps/unix/sysv/linux/syscalls.list: Add epoll_pwait. + * sysdeps/unix/sysv/linux/sys/epoll.h: Declare epoll_pwait. + * sysdeps/unix/sysv/linux/Versions (libc): Add epoll_pwait for + version GLIBC_2.6. + * Versions.def: Add GLIBC_2.6 for libc. + + * sysdeps/unix/sysv/linux/i386/sysdep.h (DOARGS_6): Fix offset. + + * sysdeps/i386/i486/bits/atomic.h: Add catomic_* support. + +2006-10-11 Jakub Jelinek + + * malloc/malloc.c (_int_malloc): Remove unused any_larger variable. + + * nis/nis_defaults.c (__nis_default_access): Don't call getenv twice. + + * nis/nis_subr.c (nis_getnames): Use __secure_getenv instead of getenv. + * sysdeps/generic/unsecvars.h: Add NIS_PATH. + +2006-10-11 Ulrich Drepper + + * include/atomic.c: Define catomic_* operations. + * sysdeps/x86_64/bits/atomic.h: Likewise. Fix a few minor problems. + * stdlib/cxa_finalize.c: Use catomic_* operations instead of atomic_*. + * malloc/memusage.c: Likewise. + * gmon/mcount.c: Likewise. + * elf/dl-close.c: Likewise. + * elf/dl-open.c: Likewise. + * elf/dl-profile.c: Likewise. + * elf/dl-sym.c: Likewise. + * elf/dl-runtime.c: Likewise. + * elf/dl-fptr.c: Likewise. + * resolv/res_libc.c: Likewise. + +2006-10-10 Ulrich Drepper + + * nis/nis_subr.c (nis_getnames): Add trailing dot to NIS_PATH + components which lack them. + + * nis/nis_subr.c (nis_getnames): Make sure that we always return + at least one entry consisting of the parameter concatenated with + the domain. + +2006-10-10 Roland McGrath + + * sysdeps/mach/hurd/utimes.c: Use a union to avoid an improper cast. + * sysdeps/mach/hurd/futimes.c: Likewise. + * sysdeps/mach/hurd/lutimes.c: Likewise. + +2006-10-09 Ulrich Drepper + Jakub Jelinek + + Implement reference counting of scope records. + * elf/dl-close.c (_dl_close): Remove all scopes from removed objects + from the list in objects which remain. Always allocate new scope + record. + * elf/dl-open.c (dl_open_worker): When growing array for scopes, + don't resize, allocate a new one. + * elf/dl-runtime.c: Update reference counters before using a scope + array. + * elf/dl-sym.c: Likewise. + * elf/dl-libc.c: Adjust for l_scope name change. + * elf/dl-load.c: Likewise. + * elf/dl-object.c: Likewise. + * elf/rtld.c: Likewise. + * include/link.h: Include . Define struct + r_scoperec. Replace r_scope with pointer to r_scoperec structure. + Add l_scoperec_lock. + * sysdeps/generic/ldsodefs.h: Include . + * sysdeps/generic/rtld-lowlevel.h: New file. + + * include/atomic.h: Rename atomic_and to atomic_and_val and + atomic_or to atomic_or_val. Define new macros atomic_and and + atomic_or which do not return values. + * sysdeps/x86_64/bits/atomic.h: Define atomic_and and atomic_or. + Various cleanups. + * sysdeps/i386/i486/bits/atomic.h: Likewise. + + * po/sv.po: Update from translation team. + +2006-10-07 Ulrich Drepper + + * Versions.def: Add GLIBC_2.6 to libpthread. + + * include/shlib-compat.h (SHLIB_COMPAT): Expand parameters before use. + (versioned_symbol): Likewise. + (compat_symbol): Likewise. + + * po/tr.po: Update from translation team. + +2006-10-06 Ulrich Drepper + + * nis/Banner: Removed. It's been integral part forever and the + author info is incomplete anyway. + * libio/Banner: Likewise. + + * nis/nis_table.c (nis_list): If __follow_path fails in the new + code, make sure the nis_freeresult call doesn't crash and that the + result is reported correctly. + +2006-09-27 Jakub Jelinek + + * nis/nis_table.c (nis_list): Handle FOLLOW_PATH | ALL_RESULTS + when callback is NULL. + + * nis/Versions (libnss_nisplus): Add + _nss_nisplus_initgroups_dyn@@GLIBC_PRIVATE. + * nis/Makefile (libnss_nisplus-routines): Add nisplus-initgroups. + * nis/nss_nisplus/nisplus-grp.c (tablename_val, tablename_len, + _nss_create_tablename): Rename to... + (grp_tablename_val, grp_tablename_len, _nss_grp_create_tablename): + ... these. No longer static. + (internal_setgrent): Adjust users. + (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise. + Don't use locking around _nss_grp_create_tablename call. + * nis/nss_nisplus/nisplus-initgroups.c: New file. + +2006-10-06 Ulrich Drepper + + * version.h (VERSION): Bump to 2.5.90 for new development tree. + +2006-10-06 Andreas Jaeger + + * include/features.h (__GLIBC_MINOR__): It's glibc 2.5 now. + +2006-10-06 Ulrich Drepper + + * po/pl.po: Update from translation team. + + * nscd/nscd.c (main): Fix typo in message. + Patch by Jakub Bogsz . + +2006-10-02 Jakub Jelinek + + [BZ #3291] + * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Include + errno.h, signal.h, unistd.h and sysdep-cancel.h. + (__sigprocmask): Define. + +2006-10-02 Ulrich Drepper + + * elf/rtld.c (dl_main): Don't use prelinking if LD_DYNAMIC_WEAK is + used. + +2006-10-02 Jakub Jelinek + + * nscd/mem.c (mempool_alloc): Round array size to 16 bytes + in oldtotal and newtotal calculation. + * nscd/nscd-client.h (struct mapped_database): Add datasize + field. + * nscd/nscd_helper.c (get_mapping): Initialize datasize field. + (__nscd_get_map_ref): Get a new mapping even if mapping's data_size + increased. + (__nscd_cache_search): Add checks to make sure we never reference + data beyond the current mapping. + +2006-10-02 Dmitry V. Levin + + * sysdeps/posix/getaddrinfo.c (match_prefix): Make mask and val + variables const to avoid compiler warnings. + + * io/fts.c (fts_close): Remove redundant checks. + (fts_build): Likewise. + (fts_palloc): Likewise. + + * manual/message.texi (Advanced gettext functions, + Using gettextized software): Fix typos. + +2006-09-30 Ulrich Drepper + + * posix/glob.c (glob_in_dir): Add some comments and asserts to + explain why there are no leaks. + +2006-09-29 Ulrich Drepper + + * libio/wmemstream.c: Include . + * libio/bug-wmemstream1.c: Likewise. + * libio/tst-wmemstream1.c: Likewise. + * libio/tst-wmemstream2.c: Likewise. + + * version.h (RELEASE): Bump to 2.5. + * README: Regenerated. + + * locale/iso-3166.def: Add Aaland Islands and Montenegro. + + [BZ #3273] + * nscd/nscd_initgroups.c (__nscd_getgrouplist): It is OK to have + found no group members. + Patch by Petr Baudis. + +2006-09-29 Jakub Jelinek + + * elf/rtld.c (_dl_start_final): If not USE___THREAD, don't + assert bootstrap_map.l_tls_modid is zero. + (_dl_start): Initialize bootstrap_map.l_tls_modid to 0 + if USE___THREAD. + +2006-09-27 Ulrich Drepper + + * libio/stdio.h: Move open_wmemstream prototype to ... + * wcsmbs/wchar.h: ... here. + +2006-09-25 Jakub Jelinek + + [BZ #3252] + * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Handle only + fchownat syscall and __ASSUME_LCHOWN_SYSCALL case inline, call + __{,l}chown to handle the rest. + * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Handle only + fchownat syscall and __ASSUME_32BITUIDS case inline, call + __{,l}chown to handle the rest. + * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Include + i386/fchownat.c. + * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Likewise. + * sysdeps/unix/sysv/linux/sh/fchownat.c: Likewise. + + [BZ #3253] + * posix/glob.c (glob_in_dir): Don't alloca one struct globlink at a + time, rather allocate increasingly bigger arrays of pointers, if + possible with alloca, if too large with malloc. + +2006-09-24 Jakub Jelinek + + * sysdeps/powerpc/fpu/libm-test-ulps: Updated. + + * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Fix 2 typos. + +2006-09-24 Ulrich Drepper + + * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Implement rule 4, + home addresses. + * sysdeps/unix/sysv/linux/check_pf.c (make_request): Recognize + IFA_F_HOMEADDRESS flag for interfaces. + * include/ifaddrs.h (struct in6addrinfo): Define + in6ai_homeaddress. + +2006-09-21 Jakub Jelinek + + [BZ #3225] + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (PTR_MANGLE3, + PTR_DEMANGLE3): Define. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (PTR_MANGLE3, + PTR_DEMANGLE3): Likewise. + * sysdeps/powerpc/powerpc32/__longjmp-common.S (__longjmp): Use them. + * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): + Likewise. + * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise. + +2006-09-20 Jakub Jelinek + + * po/libc.pot: Regenerated. + * po/be.po: Updated. + * po/ca.po: Likewise. + * po/cs.po: Likewise. + * po/da.po: Likewise. + * po/de.po: Likewise. + * po/el.po: Likewise. + * po/en_GB.po: Likewise. + * po/es.po: Likewise. + * po/fi.po: Likewise. + * po/fr.po: Likewise. + * po/gl.po: Likewise. + * po/hr.po: Likewise. + * po/hu.po: Likewise. + * po/ja.po: Likewise. + * po/ko.po: Likewise. + * po/nb.po: Likewise. + * po/nl.po: Likewise. + * po/pl.po: Likewise. + * po/pt_BR.po: Likewise. + * po/ru.po: Likewise. + * po/rw.po: Likewise. + * po/sk.po: Likewise. + * po/sv.po: Likewise. + * po/tr.po: Likewise. + * po/zh_CN.po: Likewise. + * po/zh_TW.po: Likewise. + + [BZ #3137] + * iconv/iconv_prog.c (main): Fix spelling in error message. + * iconv/iconvconfig.c (main): Likewise. + * locale/programs/ld-collate.c (handle_ellipsis): Likewise. + * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Likewise. + * locale/programs/localedef.c (main): Likewise. + * locale/programs/repertoire.c (repertoire_read): Likewise. + * timezone/zdump.c (main): Likewise. + * nscd/connections.c (handle_request): Fix spelling in log message. + Patch by Malcolm Parsons . + +2006-09-20 Ulrich Drepper + + * inet/inet6_option.c: Also emit linker warnings for the RFC 2292 + interfaces. + +2006-09-20 Andreas Jaeger + + * math/libm-test.inc (lrint_test_upward): Fix typo. + +2006-06-17 Joseph S. Myers + + [BZ #2592] + * math/libm-test.inc (lrint_test_tonearest): New function. + (lrint_test_towardzero): New function. + (lrint_test_downward): New function. + (lrint_test_upward): New function. + (main): Run these new tests. + * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Correct rounding + of values near to 0. + (two52): Use double not long double. + * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise. + * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise. + (two23): Use float not double. + * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise. + (two23): Use float not double. + * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise. + * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise. + * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise. + * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise. + +2006-09-20 Martin Schwidefsky + + * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c (__makecontext): + Cast sp to unsigned long to avoid compiler warning. + Use __makecontext_ret function instead of a trampoline on the stack. + (__makecontext_ret): New function. + * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Likewise. + +2006-09-19 Jakub Jelinek + + * elf/dl-cache.c (HWCAP_CHECK): If _DL_PLATFORMS_COUNT, but + platform == -1, reject any libs with non-zero _DL_HWCAP_PLATFORM + bits. + +2006-09-19 Ulrich Drepper + + * elf/dl-close.c (_dl_close): If dependency is not unloaded make + sure no reference to the unloaded map's search list remains in the + dependency's scope. + +2006-09-16 Jakub Jelinek + + * elf/Makefile: Add rules to build and run unload7 test. + * elf/unload7.c: New test. + * elf/unload7mod1.c: New file. + * elf/unload7mod2.c: New file. + +2006-09-18 Jakub Jelinek + + * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_GETEVENTMSG): Fix pasto. + * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_SETOPTIONS, + PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define. + * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_SETOPTIONS, + PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Likewise. + * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_SETOPTIONS, + PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Likewise. + * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_SETOPTIONS, + PTRACE_GETEVENTMSG): Likewise. + (PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Change to the arch independent + values. + +2006-09-17 Mike Frysinger + + * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SETOPTIONS, + PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define. + * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Check PTRACE_SETOPTIONS, + PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO and PTRACE_SETSIGINFO. + +2006-09-16 Jakub Jelinek + + * sysdeps/powerpc/powerpc32/register-dump.h (register_dump): Don't + write '\0' to the fd. + * sysdeps/mach/hurd/powerpc/register-dump.h (register_dump): Likewise. + * sysdeps/powerpc/powerpc64/register-dump.h (register_dump): Likewise. + Change regs to unsigned long pointer from unsigned int, fix fscr + offset. + +2006-09-14 Jakub Jelinek + + * io/Makefile (CFLAGS-fstatat.c): Set. + (CFLAGS-fstatat64.c): Likewise. + (CFLAGS-mknodat.c): Likewise. + + * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Comment fixes. + * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Rewritten. + * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Rewritten. + +2006-09-14 Jakub Jelinek + Steven Munroe + + * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add 4 new cap + names to the beginning. Rename "cell" to "cellbe". + (_dl_powerpc_platforms): New. + * sysdeps/powerpc/dl-procinfo.h (_DL_HWCAP_FIRST): Decrease. + (HWCAP_IMPORTANT): Remove power{4,5,5+} and cell. + (_DL_PLATFORMS_COUNT, _DL_FIRST_PLATFORM): Define. + (_DL_HWCAP_PLATFORM): Define to new mask. + (_dl_platform_string, _dl_string_platform): New functions. + * sysdeps/powerpc/sysdep.h (PPC_FEATURE_BOOKE, PPC_FEATURE_SMT, + PPC_FEATURE_ICACHE_SNOOP, PPC_FEATURE_ARCH_2_05): Define. + +2006-09-12 Jakub Jelinek + + [BZ #2526] + * README.libm: Fix a thinko in sqrt algorithm description. + + [BZ #3143] + * manual/string.texi (argz_delete): Fix prototype. + Patch by . + +2006-08-26 Joseph Myers + + [BZ #3138] + * io/test-lfs.c (do_prepare): Give name_len type size_t. + * io/tst-fcntl.c (do_prepare): Likewise. + * posix/tst-exec.c (do_prepare): Likewise. + * posix/tst-preadwrite.c (do_prepare): Likewise. + * posix/tst-spawn.c (do_prepare): Likewise. + * posix/tst-truncate.c (do_prepare): Likewise. + * rt/tst-aio.c (do_prepare): Likewise. + * rt/tst-aio64.c (do_prepare): Likewise. + * stdlib/test-canon2.c (do_prepare): Give test_dir_len type + size_t. + +2006-09-09 Ulrich Drepper + + [BZ #2821] + * time/mktime.c (guess_time_tm): Fix overflow detection. + * time/Makefile (tests): Add bug-mktime1. + * time/bug-mktime1.c: New file. + + [BZ #3189, #3188] + * misc/sys/mman.h (remap_file_pages): Make available for _GNU_SOURCE. + (mremap): Likewise. + +2006-09-07 Jakub Jelinek + + [BZ #1006] + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): + Ensure relocation doesn't clobber any bits outside of the + immediate field for R_SPARC_TLS_LE_HIX22, R_SPARC_WDISP30, + R_SPARC_HI22 and R_SPARC_H44. + + [BZ #2775] + * malloc/malloc.c (sYSMALLOc): Only call grow_heap if + (long) (MINSIZE + nb - old_size) is positive. + + * malloc/arena.c (grow_heap): When growing bail even if new_size + is negative. + + [BZ #3155] + * sysdeps/powerpc/powerpc32/fpu/s_lrint.S (__lrint): Don't access + stack below r1. + +2006-09-06 Jakub Jelinek + + * posix/regex_internal.c (re_string_reconstruct): Handle + offset < pstr->valid_raw_len && pstr->offsets_needed case. + Ensure no bytes read before raw_mbs array. Pass a saved copy of + pstr->valid_len - 1 rather than pstr->valid_raw_len - 1 to + re_string_context_at. + * posix/Makefile: Add rules to build and run bug-regex26 test. + * posix/bug-regex26.c: New test. + + * locale/programs/ld-collate.c (collate_read): Goto sym_equiv_free + rather than col_sym_free. Move seqp declaration earlier. + + * resolv/gai_suspend.c (gai_suspend): Make sure result is initialized. + +2006-09-05 Jakub Jelinek + + * nscd/initgrcache.c (addinitgroupsX): Move any_success + decl before first goto out. + +2006-09-04 Jakub Jelinek + + * Makerules (shlib.lds): If have-hash-style, put .hash section + at the end of the RO segment. + +2006-09-04 Ulrich Drepper + + * elf/do-lookup.h (do_lookup_x): Initialize symidx in case the new + style hash table format is used. + +2006-09-04 Jakub Jelinek + + * resolv/res_mkquery.c (res_nmkquery): Set hp->id to statp->id after + randomization rather than before. + * resolv/res_init.c (res_randomid): Don't call gettimeofday here. + +2006-08-31 Jakub Jelinek + + * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Add ld.so. + + * malloc/malloc.c (_int_malloc): Use full list insert and not + shortcut which assumes the list is empty for large requests + too. + + * elf/tst-addr1.c (do_test): Allow i.dli_sname "_IO_printf". + +2006-08-30 Jakub Jelinek + + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (splice): Add offin + and offout arguments to the prototype. + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (splice): Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (splice): Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (splice): Likewise. + * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (splice): Likewise. + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (splice): Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (splice): Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (splice): Likewise. + * sysdeps/unix/sysv/linux/syscalls.list (splice): Adjust args string. + +2006-08-28 Ulrich Drepper + + * elf/dl-load.c (_dl_init_paths): Expand DSTs. + + * elf/dl-open.c (dl_open_worker): Allow $LIB and $PLATFORM in + dlopen parameters. + +2006-08-28 Jakub Jelinek + + * inet/getnameinfo.c (getnameinfo): For AF_INET, check errno + only if herrno is NETDB_INTERNAL. Handle errors other than + ERANGE outside of the loops, handle TRY_AGAIN. + + * locale/programs/ld-ctype.c (translit_flatten): Issue error + if other's ctype category was missing. + * locale/programs/ld-collate.c (collate_read): Return if + copy_locale's collate category is missing. + +2006-08-27 Ulrich Drepper + + [BZ #2684] + * malloc/malloc.c (public_rEALLOc): Try harder by using other + arenas if allocation failed. + Patch mostly by Jan Edler . + +2006-08-26 Ulrich Drepper + + * malloc/malloc.c (bin_at): Rewrite to be more clear and to not + waste bins[0..1]. + (malloc_state): Reduce bins size by 2. + (_int_malloc): Fix test for large enough buffer for early termination. + When no unsorted block matches perfectly and an exiting block has + to be split, use full list insert and not shortcut which assumes + the list is empty. + + * locale/programs/ld-ctype.c (ctype_read): Better patch for read + failure. + +2006-08-24 Ulrich Drepper + + * locale/programs/ld-ctype.c (ctype_read): If CTYPE is NULL, don't + do anything. + + * sysdeps/generic/ldsodefs.h (DL_ADDR_SYM_MATCH): For undefined + symbol require exact match (these are PLTs). + * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h + (_dl_ppc64_addr_sym_match): Likewise. + + [BZ #2683] + * elf/dl-addr.c (_dl_addr): Don't ignore all undefined symbols. + If symbol has a value use it. + * elf/tst-dladdr1.c: New file. + * elf/Makefile: Add rules to build and run tst-addr1. + +2006-08-24 Jakub Jelinek + + * malloc/malloc.c (sYSMALLOc): Avoid infinite loop if MMAP + keeps failing and heap growth or new heap creation isn't + successful either. + * malloc/tst-malloc.c (main): Add new tests. + +2006-08-24 Ulrich Drepper + + [BZ #2734] + * sysdeps/i386/bits/byteswap.h (__bswap_32): Use same conditions + as in the x86-64 code to use bswap. + +2006-05-21 Joseph S. Myers + + [BZ #2680] + * posix/unistd.h (getlogin_r): Condition on __USE_POSIX199506, not + __USE_UNIX98. + * posix/bits/unistd.h: Likewise. + +2006-05-15 Mike Frysinger + + [BZ #2751] + * string/strchr.c: Add cast to avoid warning. + +2006-08-21 Ulrich Drepper + + * malloc/malloc.c (DEFAULT_MMAP_THRESHOLD_MAX): For 32-bit + platforms define as 512K. For 64-bit platforms as 32MB. The lower + limit is needed to avoid the exploding of the address space + requirement for secondary heaps. + * malloc/arena.c (HEAP_MAX_SIZE): Define using + DEFAULT_MMAP_THRESHOLD_MAX if it is defined. + +2006-07-30 Joseph S. Myers + + [BZ #3018] + * Makerules (depfiles): Handle extra-test-objs the same as + extra-objs. + (common-mostlyclean): Likewise. + * dlfcn/Makefile (extra-objs): Add modules to extra-test-objs + instead. + * elf/Makefile (extra-objs): Likewise. + * stdlib/Makefile (extra-objs): Likewise. + +2006-08-14 Eric Blake + + [BZ #3044] + * misc/error.h: Assume C89 or better. + * misc/error.c: Likewise. + +2006-08-21 Ulrich Drepper + + [BZ #3040] + * sysdeps/unix/sysv/linux/openat.c: Fix compilation if + __ASSUME_ATFCTS is defined. + +2006-08-19 Ulrich Drepper + + * malloc/malloc.c (_int_malloc): Limit number of unsorted blocks + to sort in each call. + + * nis/nss_nis/nis-service.c (internal_nis_getservent_r): . If map + is empty simply return and use next service. + * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise. + + * locale/programs/charmap.c (charmap_read): Add new parameter. It + tells us when not finding a charmap file is an error. + * locale/programs/charmap.h: Adjust charmap_read prototype. + * iconv/iconv_prog.c (main): Tell charmap_read it's no error if we + cannot find a charmap. + * locale/programs/localedef.c (main): Adjust charmap_read call. + +2006-08-15 Jakub Jelinek + + * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Use + sysdeps/posix/pause.c implementation instead. + +2006-08-09 Jakub Jelinek + + * sysdeps/unix/nice.c (nice): Transform EACCES errno from setpriority + to EPERM. + +2006-08-13 Andreas Schwab + + * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_runtime_resolve): + Don't clobber caller's LRSAVE. + (_dl_prof_resolve): Likewise. + +2006-08-14 Ulrich Drepper + + [BZ #1996] + * libio/memstream.c (open_memstream): Allocate initial buffer with + calloc. + * libio/wmemstream.c (open_wmemstream): Likewise. + * libio/strops.c: Pretty printing. + (_IO_str_overflow): Clear uninitialized part of the new buffer. + (enlarge_userbuf): New function. + (_IO_str_seekoff): Call it if seek position is larger than current + buffer. + * libio/wstrops.c: Likewise. + * libio/vasprintf.c: Add comment as to why we do not have to use + calloc instead of malloc to allocate initial buffer. + * libio/Makefile (tests): Add bug-memstream1 and bug-wmemstream1. + * libio/bug-memstream1.c: New file. + * libio/bug-wmemstream1.c: New file. + +2006-08-13 Ulrich Drepper + + * libio/wstrops.c: Remove dead macro definitions and comments. + * libio/strops.c: Likewise. + + [BZ #2764] + * login/utmpname.c (__utmpname): Remove unnecessary test. + +2006-06-08 Joseph Myers + + [BZ #2832] + * math/gen-libm-test.pl (clean_up_number): Do not remove trailing + 0s from integers. + +2006-08-13 Ulrich Drepper + + [BZ #2987] + * sysdeps/unix/sysv/linux/clock_settime.c: Add code to use syscall + for CPU clocks. + * sysdeps/unix/clock_settime.c: Add support for platform-specific + setting of CPU clocks. + +2006-06-23 Paul Eggert + + [BZ #2841] + * sysdeps/generic/stdint.h (UINT8_C, UINT16_C): Don't append 'U', + since C99 requires the result to promote to 'int' when uint_least8_t + and uint_least16_t promote to 'int'. + +2006-08-12 Ulrich Drepper + + [BZ #3013] + * locale/programs/ld-ctype.c (ctype_output): Adjust alignments, fix + lenght of one output field, correct bitmask creation. + * locale/programs/ld-time.c: Add alignment. + + [BZ #2997] + * misc/error.c: Add space between program name and message if file + name is missing. + +2006-08-03 Eric Blake + + [BZ #2998] + * misc/error.c (error_tail) [_LIBC]: Avoid invalid free. + +2006-08-09 Ulrich Drepper + + * malloc/memusagestat.c: Silence warnings. + + * malloc/malloc.c: Dynamically size mmap treshold if the program + frees mmaped blocks. + Patch by Valerie Henson and Arjan van de Ven. + +2006-08-08 Jakub Jelinek + + * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (O_DIRECT): Protect with + __USE_GNU. + + * stdlib/strtol_l.c (__strtol_ul_max_tab, __strtol_ul_rem_tab, + __strtol_ull_max_tab, __strtol_ull_rem_tab): Declare. + (DEF): Don't put the var into .gnu.linkonce.r.* section. + Only provide var definitions in strtol_l (or for *ull* + in strtoll_l). + + * stdio-common/bug16.c (tests): New array. + (do_tests): Allow the first hexadecimal digit + to be 1, 2, 4 or 8. Do 3 additional tests. + + * sysdeps/s390/fpu/libm-test-ulps: Update. + + * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c (fchownat): Use + fchownat syscall if available. + * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise. + * sysdeps/unix/sysv/linux/sh/fchownat.c (fchownat): Likewise. + * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise. + +2006-08-07 Ulrich Drepper + + * nis/nis_xdr.c: Avoid some function calls. + +2006-08-07 Jakub Jelinek + Ulrich Drepper + + * nis/nis_call.c (rec_dirsearch) [case LOWER_NAME]: Don't take + short cut if only one name component is stripped away. + +2006-08-07 Ulrich Drepper + + * nis/nis_call.c: Minor cleanups throughout. + (rec_dirsearch) [case HIGHER_NAME]: Correctly size ndomain array. + (first_shoot): Add search_parent_first parameter. Only if it is set + search parent server first. + If directory for table found through cold start cache is not the same + as referenced in the cache, don't use it. + (__nisfind_server): Take additional parameter. Pass it on to + first_shoot. + (__prepare_niscall): Adjust __nisfind_server call. + * nis/rpcsvc/nislib.h: Adjust __nisfind_server prototype. + * nis/nis_table.c: Adjust __nisfind_server call. + * nis/nis_lookup.c: Likewise. + (nis_lookup): Don't loop endlessly if name is reduced to ".". + +2006-08-03 Ulrich Drepper + + [BZ #2182] + * math/s_cacosh.c: Return values from positive branch. + * math/s_cacoshf.c: Likewise. + * math/s_cacoshl.c: Likewise. + + [BZ #2883] + * sysvipc/sys/msg.h: Change return value to ssize_t. + * sysdeps/unix/sysv/linux/msgrcv.c: Likewise. + * sysvipc/msgrcv.c: Likewise. + * include/sys/msg.h: Likewise. + + * grp/initgroups.c (internal_getgrouplist): Remove unnecessary + test introduced in patch for bz #661. + (getgrouplist): Simplify code a bit. Don't allocate one additional + element for NEWGROUPS. + + [BZ #2908] + * stdio-common/printf_fphex.c (__printf_fphex): When rounding up + 'f', use '1' as leading digit not '\1'. + * stdio-common/Makefile (tests): Add bug16. + * stdio-common/bug16.c: New file. + + [BZ #2914] + * sysdeps/unix/sysv/linux/gethostid.c: Don't define OLD_HOSTIDFILE + and don't try to open it. The patch introducing the macro + contained a bug and used the same file name as the new file + instead of using /var/adm/hostid. Nobody complaint so I'm taking + this out completely. + + [BZ #2926] + * assert/assert.h: Move cast to void inside ?: to quiet gcc. + Patch by Jerry James . + + * rt/Makefile (tests): Add tst-clock2. + * rt/tst-clock2.c: New file. + + [BZ #2978] + * resolv/gai_notify.c (__gai_notify_only): Copy memory for thread + function and its parameters and pass it to new thread. + (__gai_notify): Add support for alternative waiting for completion. + * resolv/gai_suspend.c (gai_suspend): Add support for alternative + waiting for completion. + * resolv/getaddrinfo_a.c: Likewise. + * resolv/gai_misc.h (struct waitlist): Don't add cond if alternative + waiting for completion is used. + * resolv/gai_misc.c: Allow overwriting code to start helper thread. + * resolv/gai_cancel.c: Include not "gai_misc.h". + * resolv/gai_error.c: Likewise. + * resolv/gai_sigqueue.c: Likewise. + +2006-08-02 Thomas Schwinge + + * hurd/getdport.c (__getdport): Don't return EBADF; instead set + errno to EBADF and return MACH_PORT_NULL. + +2006-06-23 Joseph Myers + + [BZ #2980] + * posix/Makefile (CFLAGS-waitid.c): Add -fasynchronous-unwind-tables. + +2006-08-02 Ulrich Drepper + + * elf/dl-addr.c (_dl_addr): If GNU-style hash tables are present, + walk them instead of the symbol table. + +2006-08-01 Ulrich Drepper + + [BZ #2098] + * nscd/initgrcache.c (addinitgroupsX): Judge successful lookups by + status of NSS calls, not the number of returned entries. + + * sysdeps/unix/sysv/linux/syscalls.list: Remove add_key, + request_key, keyctl. + +2006-07-31 Ulrich Drepper + + * sysdeps/unix/sysv/linux/dl-osinfo.h: Remove unnecessary include. + +2006-07-16 Jeff Bailey + + * elf/tst-auditmod1.c: Fix typo in #error. + +2006-07-31 Ulrich Drepper + + * elf/tst-auditmod1.c: Remove code for unsupported architectures. + + * iconvdata/run-iconv-test.sh: Run cmp in C locale. + +2006-07-20 Adam Nemet + + * stdlib/test-canon.c (do_test): Close fd before unlinking file so + that the directory is empty even on non-POSIX filesystems. + +2006-07-31 Ulrich Drepper + + * elf/dl-open.c (dl_open_worker): Add branch prediction. + + * nis/nss_compat/compat-grp.c: Avoid unnecessary setgrent calls into + the backend NSS module. If backend setgrent call failed, don't have + internal_setgrent fail. Just remember this until it is needed. + * nis/nss_compat/compat-pwd.c: Likewise. + * nis/nss_compat/compat-spwd.c: Likewise. + +2006-07-30 Roland McGrath + + * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: File removed. + * sysdeps/unix/sysv/linux/x86_64/sigsuspend.c: File removed. + * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: File removed. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: File removed. + + * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): New macro. + (nanosleep_not_cancel): New macro. + (sigsuspend_not_cancel): new macro. + * sysdeps/unix/sysv/linux/sigsuspend.c [__ASSUME_REALTIME_SIGNALS] + (do_sigsuspend): Define as inline. + (__sigsuspend): Always use do_sigsuspend. + [! NO_CANCELLATION] (__sigsuspend_nocancel): New function. + * include/signal.h: Declare __sigsuspend_nocancel. + * sysdeps/posix/pause.c + [! NO_CANCELLATION] (__pause_nocancel): New function. + + * include/unistd.h (__pause_nocancel): Add attribute_hidden. + * include/time.h (__nanosleep_nocancel): Likewise. + +2006-07-30 Ulrich Drepper + + * locale/programs/localedef.c (add_to_readlist): Rename local + variables to avoid confusion. + + * locale/programs/charmap.c (charmap_read): Emit error message if + charmap couldn't be found or read. + +2006-07-28 Ulrich Drepper + + * sysdeps/unix/sysv/linux/kernel-features.h: Define + __ASSUME_FUTEX_LOCK_PI. + * include/time.h: Declare __nanosleep_nocancel. + * include/unistd.h: Declare __pause_nocancel. + + * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Use this instead of + LDFLAGS. Add -lgcc_eh and libc_nonshared (again) to make sure we + get the __stack_chk_fail_local definition when it's needed. + +2006-07-26 Ulrich Drepper + + * dlfcn/Makefile: Add rules to build and run bug-atexit3. + * dlfcn/bug-atexit3.c: New file. + * dlfcn/bug-atexit3-lib.cc: New file. + + * dlfcn/dlmopen.c (dlmopen_doit): Don't allow RTLD_GLOBAL to be + used when the namespace is not the base namespace. + +2006-07-26 Gavin Romig-Koch + + * stdlib/cxa_atexit.c (__new_exitfn_called): New variable. + (__new_exitfn): Bump it in every successful call. + * stdlib/cxa_finalize.c (__cxa_finalize): If destructor registered + more exit handlers, call them right away. + * stdlib/exit.h: Declare __new_exitfn_called. + +2006-07-25 Ulrich Drepper + + * stdlib/cxa_finalize.c (__cxa_finalize): Fix race condition when + calling registered handler. + + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fix comment. + * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. + +2006-07-10 Ulrich Drepper + + * elf/dl-lookup.c (dl_new_hash): New functions. + (_dl_lookup_symbol_x): Rename hash to old_hash and don't compute + value here. Compute new-style hash value. Pass new hash value + and reference to variable with the old value to do_lookup_x. + (_dl_setup_hash): If DT_GNU_HASH is defined, use it and not + old-style hash table. + (_dl_debug_bindings): Pass new hash value and reference to variable + with the old value to do_lookup_x. + * elf/do-lookup.h (do_lookup_x): Accept additional parameter with + new-style hash value and change old-style hash value parameter to + be a reference. Reoganize functions to determine whether + new-style hash table is available. Only fall back on old-style + table. If old-style hash value is needed, compute it here. + * elf/dynamic-link.h (elf_get_dynamic_info): Relocate DT_GNU_HASH + entry. + * elf/elf.h: Define SHT_GNU_HASH, DT_GNU_HASH, DT_TLSDEC_PLT, + DT_TLSDEC_GOT. Adjust DT_ADDRNUM. + * include/link.h (struct link_map): Add l_gnu_bitmask_idxbits, + l_gnu_shift, l_gnu_bitmask, l_gnu_buckets and l_gnu_chain_zero. + * Makeconfig: If linker supports --hash-style option add it to all + linker command lines to build DSOs. + * config.make.in: Define have-hash-style. + * configure.in: Test whether linker supports --hash-style option. + + * elf/dl-misc.c (_dl_name_match_p): Make MAP parameter const. + * sysdeps/generic/ldsodefs.h: Adjust prototype. + +2006-06-27 Ulrich Drepper + + * elf/dl-load.c (open_path): Fix test to determine whether DSO is + auditing. + + * elf/dl-load.c (_dl_map_object): Try harder to avoid looking at + RPATH of main map twice. + +2006-06-22 Ulrich Drepper + + * intl/dcigettext.c (DCIGETTEXT): If _nl_find_msg returns -1 don't + look further, return original strings. + (_nl_find_msg): Do not return found translation if the conversion + failed. Either signal the string is unusable or that something went + wrong and the original should be used. + +2006-06-21 Ulrich Drepper + + * string/_strerror.c (__strerror_r): Add __builtin_expect. + +2006-06-14 Jakub Jelinek + + [BZ #2766] + * misc/insremque.c (insque): Handle prev == NULL. + * misc/Makefile (tests): Add tst-insremque. + * misc/tst-insremque.c: New test. + +2006-06-17 Ulrich Drepper + + [BZ #2792] + * elf/dl-deps.c (expand_dst): Rename __cnt variable to not + conflict with DL_DST_REQUIRED. + +2006-06-16 Ulrich Drepper + + * nis/nis_subr.c (nis_getnames): Fix the implementation to better + match what Solaris does. + +2006-06-04 Ulrich Drepper + + * sysdeps/posix/spawni.c (__spawni): Use local_seteuid and + local_setegid instead of seteuid and setegid. + * sysdeps/generic/local-setxid.h: New file. + * sysdeps/unix/sysv/linux/local-setxid.h: New file. + + * sysdeps/posix/spawni.c (__spawni): Use non-cancelable interfaces. + + * string/Makefile (tests): Add bug-envz1. + * string/bug-envz1.c: New file. + +2006-06-02 Jakub Jelinek + + * posix/regex_internal.c (re_string_skip_chars): If no character has + been converted at all, set *last_wc to WEOF. If mbrtowc failed, set wc + to the byte which couldn't be converted. + (re_string_reconstruct): Don't clear valid_raw_len before calling + re_string_skip_chars. If wc is WEOF after re_string_skip_chars, set + tip_context using re_string_context_at. + * posix/Makefile: Add rules to build and run bug-regex25 test. + * posix/bug-regex25.c: New test. + +2006-06-02 Ryan S. Arnold + + [BZ #2703] + * string/envz.c (envz_strip): Correct erroneously reversed src + and dest parameters to memmove() invocation. + +2006-05-30 Jakub Jelinek + + * nscd/nscd.h (prune_cache): Add fd argument to prototype. + * nscd/nscd.c (parse_opt): Read response from INVALIDATE request + to make sure the database has been already invalidated. + * nscd/cache.c (prune_cache): Add fd argument. Write response to fd + after the cache has been invalidated. Use pthread_mutex_lock rather + than pthread_mutex_trylock if fd != -1. + * nscd/connections.c (invalidate_cache): Add fd argument, write + response to fd if not calling prune_cache, pass fd to prune_cache. + (handle_request): Adjust invalidate_cache caller. + (nscd_run): Pass -1 as fd to prune_cache. + +2006-05-30 Ulrich Drepper + + * sysdeps/posix/getaddrinfo.c (gaiconf_init): Initialize bits in + the correct place. + +2006-05-29 Ulrich Drepper + + * nscd/nscd.h (struct database_dyn): Add prunelock field. + * nscd/cache.c (prune_cache): Take prunelock before starting the + work. Just return in case it is already taken. + * nscd/connections.c (dbs): Initialize .prunelock. + +2006-05-25 Ulrich Drepper + + * nis/nis_removemember.c (nis_removemember): Avoid unnecessary + copying. No need to allocate new array for group members. Just + move the pointers and update the size. + + * nis/nis_addmember.c (nis_addmember): Avoid unnecessary copying. + Avoid memory leak in case realloc fails. Simplification for + better code generation. + + Avoid deprecation warning because of libc_hidden_proto for + inet6_option_alloc. + * inet/inet6_option.c (option_alloc): Renamed from + inet6_option_alloc. Made static. + (inet6_option_alloc): Now a simple wrapper around option_alloc. + (inet6_option_append): Call option_alloc. + * include/netinet/in.h: Remove libc_hidden_proto for + inet6_option_alloc. + + * nis/nis_callback.c (__nis_create_callback): Always call xdr_free + for cleanup when cb!=NULL [Coverity CID 233]. + +2006-05-24 Ulrich Drepper + + [BZ #2693] + * inet/Makefile (routines): Add inet6_opt and inet6_rth. + * inet/Versions (libc, GLIBC_2.5): Add inet6_opt_init, + inet6_opt_append, inet6_opt_finish, inet6_opt_set_val, inet6_opt_next, + inet6_opt_find, inet6_opt_get_val, inet6_rth_space, inet6_rth_init, + inet6_rth_add, inet6_rth_reverse, inet6_rth_segments, + and inet6_rth_getaddr. + * inet/netinet/ip6.h (struct ip6_rthdr0): Make ip6r0_addr a flexible + array. + * inet/netinet/in.h (struct ip6_mtuinfo): Define. + Mark inet6_option_* interfaces as deprecated. + Declare inet6_opt_init, inet6_opt_append, inet6_opt_finish, + inet6_opt_set_val, inet6_opt_next, inet6_opt_find, inet6_opt_get_val, + inet6_rth_space, inet6_rth_init, inet6_rth_add, inet6_rth_reverse, + inet6_rth_segments, and inet6_rth_getaddr. + * inet/inet6_opt.c: New file. + * inet/inet6_rth.c: New file. + + * inet/netinet/icmp6.h: Pretty printing. + + [BZ #2683] + * elf/dl-addr.c (_dl_addr): Don't match undefined references. + +2006-05-23 Ulrich Drepper + + * nis/nis_lookup.c (nis_lookup): Use __prepare_niscall instead of + doing it all here. When server does not know the answer do not + fail immediate, try parent first. + + * nis/nis_domain_of_r.c (nis_domain_of_r): Add missing buffer + overflow test. + +2006-05-20 Ulrich Drepper + + * nis/nis_call.c (__prepare_niscall): New function. Split out + from __do_niscall. + * nis/nis_table.c (__create_ib_request): Renamed from create_ib_request + and exported. + (__follow_path): New function. Split out from nis_list. + * nis/nis_xdr.h: Add libnsl_hidden_proto for _xdr_ib_request and + _xdr_nis_result. + * nis/nis_xdr.c: Add libnsl_hidden_def for _xdr_ib_request and + _xdr_nis_result. + * nis/libnsl.h: Declare __prepare_niscall, __create_ib_request, + and __follow_path. + * nis/Versions: Export __prepare_niscall, __create_ib_request, + __follow_path, __do_niscall3, _xdr_ib_request, and _xdr_nis_result + from libnsl for version GLIBC_PRIVATE. + * nis/nisplus-parser.h: Remove _nss_nisplus_parse_pwent_chk. + Remove entry parameter from _nss_nisplus_parse_pwent and + _nss_nisplus_parse_grent. + * nis/nss_nisplus/nisplus-parser.c: Likewise. + * nis/nss_nisplus/nisplus-pwd.c: Remove support for SETENT_BATCH_READ + again. Rewrite getpwent handling to not use nis_first_entry and + nis_next_entry. Roll out own niscall handling. + * nis/nss_nisplus/nisplus-grp.c: Likewise. + + * sunrpc/xdr_rec.c: Fix typo in comment. + +2006-05-19 Ulrich Drepper + + * nis/nis_call.c (__do_niscall3): Avoid code duplication in error + handling. + + * nis/nis_callback.c (internal_nis_do_callback): Don't use malloc + to allocate memory for my_pollfd. Better initialization of + cb_is_running. Use TEMP_FAILURE_RETRY. + + * malloc/memusage.sh (memusageso): Add quotes. + (memusagestat): Likewise. + * debug/xtrace.sh (pcprofileso): Likewise. + (pcprofiledump): Likewise. + * debug/Makefile ($(objpfx)xtrace): Use $LIB in SLIBDIR + replacement. + * malloc/Makefile ($(objpfx)memusage): Likewise. + + * nis/nis_callback.c (__nis_create_callback): Calls to + svcudp_bufcreate and svctcp_create can fail. Free ->xprt if + asprintf call fails. + + * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_sendreq): Make sure + no uninitialized memory is passed to sendto. + +2006-05-18 Ulrich Drepper + + * nis/nis_callback.c (__nis_create_callback): Use asprinf instead + of snprintf+strdup. Handle OOM. + * nis/nis_callback.c (__nis_create_callback): Allocate cb and + cb->serv together. Remove now obsolete free calls. + (__nis_destroy_callback): Remove now obsolete free call. + +2006-05-18 David Woodhouse + + * sysdeps/posix/getaddrinfo.c: Add unique labels to the default + RFC3484 precedence table for fec0::/10 and fc00::/7 (site-local + and ULA respectively). Set precedence for IPv4 address to 10 as + defined in RFC3484 for preferring IPv6. + * posix/gai.conf: Update to match the new default tables. + +2006-05-18 Jakub Jelinek + + * nis/nss_compat/compat-pwd.c (internal_setpwent): If nss_set*ent + returned NSS_STATUS_UNAVAIL, still return NSS_STATUS_SUCCESS. + * nis/nss_compat/compat-spwd.c (internal_setspent): Likewise. + * nis/nss_compat/compat-grp.c (internal_setgrent): Likewise. + + * nis/nss_compat/compat-initgroups.c (nss_setgrent, nss_endgrent): + Removed. + (init_nss_interface): Remove initialization of these variables. + +2006-05-18 Ulrich Drepper + + * nis/nis_call.c (rec_dirsearch): Little optimization: pull + nis_free_directory forward to avoid duplication. + +2006-05-17 Ulrich Drepper + + * nis/nis_call.c (rec_dirsearch): Handle __nis_finddirectory and + rec_dirsearch returning NULL. + (first_shoot): Handle __nis_finddirectory returning NULL. + (__nisfind_server): Fix leak when rec_dirsearch returns NULL. + + * sysdeps/unix/sysv/linux/sys/inotify.h: Define IN_CLOSE, IN_MOVE, + IN_ONLYDIR, IN_DONT_FOLLOW, and IN_MASK_ADD. + +2006-05-17 Jakub Jelinek + + * sunrpc/key_call.c (getkeyserv_handle): Call auth_destroy if + pid changed. + +2006-05-15 Ulrich Drepper + + * include/rpc/pmap_prot.h: Mark all functions as hidden. + + * nscd/nscd_initgroups.c: Mark __gr_map_handle as hidden. + * nscd/nscd_getgr_r.c: Likewise. + + * include/rpc/pmap_rmt.h: Mark all functions as hidden. + + * nscd/nscd_getai.c (__hst_map_handle): Mark as hidden. + * nscd/nscd_gethst_r.c (__hst_map_handle): Likewise. + + * stdlib/longlong.h (__clz_tab): Mark as hidden. + + * iconv/gconv_int.h: Mark __gconv_lock as hidden. + + * include/rpc/key_prot.h: Mark all _internal functions as hidden. + + * include/rpc/auth.h: Mark xdr_des_block_internal and + xdr_opaque_auth_internal as hidden. + + * sysdeps/unix/sysv/linux/getdents.c: Mark __have_no_getdents64 as + hidden. + + * include/rpc/xdr.h: Mark all _internal functions as hidden. + + * misc/getusershell.c (okshells): Don't use static initializers, + do it dynamically. + + * stdlib/fmtmsg.c (keywords): Change type of len element to + uint32_t to not waste space on 64bit machines. + + * locale/setlocale.c: Change _nl_category_names into a string. + Add new _nl_category_name_idxs. Change all users. + * locale/localeinfo.h: Adjust declaration of _nl_category_names. + Declare _nl_category_name_idxs. + * locale/findlocale.c: Adjust for _nl_category_names change. + * locale/loadlocale.c: Likewise. + * locale/newlocale.c: Likewise. + * intl/dcigettext.c: Likewise. + + * iconv/gconv_conf.c (add_alias): Move actual alias handling to... + (add_alias2): ...here. New function. + (__gconv_read_conf): Simplify builtin alias handling. + (builtin_aliases): Convert to string to avoid relocations. + * iconv/gconv_builtin.h: Add comment about correct formatting. + +2006-05-15 Jakub Jelinek + + * resolv/res_debug.c (loc_ntoa): Make error const. + +2006-05-14 Andreas Schwab + + * math/complex.h [__LDBL_COMPAT]: Use __REDIRECT_NTH. + +2006-05-12 Jakub Jelinek + + * sysdeps/unix/sysv/linux/sched_getaffinity.c: Include sys/param.h. + (__sched_getaffinity_new): Don't crash if cpusetsize is smaller than + sizeof (cpu_set_t). + +2006-05-11 Ulrich Drepper + + * resolv/res_debug.c (loc_ntoa): Define error as array, not pointer. + + * include/arpa/nameser.h: Declare _ns_flagdata as hidden. + + * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_master. + * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_master. + + * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypbind_resp. + * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypbind_resp. + + * nis/nis_xdr.c: Add libnsl_hidden_def for xdr_cback_data. + * include/rpcsvc/nis_callback.h: Add libnsl_hidden_proto for + xdr_cback_data. + + * nis/ypupdate_xdr.c: Add libnsl_hidden_def for xdr_ypupdate_args. + * include/rpcsvc/ypupd.h: Add libnsl_hidden_proto for + xdr_ypupdate_args. + + * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_order. + * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_order. + + * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_maplist. + * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_maplist. + + * nis/nis_xdr.c: Add libnsl_hidden_def for xdr_obj_p. + * include/rpcsvc/nis_callback.h: New file. + + * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_val. + * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_val. + + * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypreq_nokey. + * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypreq_nokey. + + * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypmaplist. + * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypmaplist. + + * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypreq_nokey. + * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypreq_nokey. + + * nis/ypupdate_xdr.c: Add libnsl_hidden_def for xdr_ypdelete_args. + * include/rpcsvc/ypupd.h: Add libnsl_hidden_proto for + xdr_ypdelete_args. + + * nis/nis_xdr.h: Mark all functions as hidden. Remove + __BEGIN_DECLS and __END_DECLS, the header is not installed. + + * nis/nis_error.c: Remove table of strings. Use position + independent mechanism. + * nis/nis_error.h: New file. + +2006-05-11 Jakub Jelinek + + * locale/programs/ld-time.c (time_finish): If wide era name or + format aren't provided, set both wname and wformat to L"". + +2006-05-10 Ulrich Drepper + + * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Only store + results if the call was succesful. + + * nis/nss-nis.h: Mark __yperr2nss_tab and __yperr2nss_count as hidden. + + * nis/nss-nisplus.h: Mark __niserr2nss_tab and __niserr2nss_count + as hidden. + +2006-05-10 Jakub Jelinek + + * misc/sys/queue.h: Remove uses of all QUEUEDEBUG_* macros. + +2006-05-10 Ulrich Drepper + + * posix/wordexp.c (parse_glob): No need to check ifs for NULL, the + caller makes sure this is not the case. + (wordexp): Simplify ifs_white creation. [Coverity CID 231] + +2006-05-09 Ulrich Drepper + + * posix/wordexp.c: Remove numerous NULL pointer tests before FREE + calls. + + * io/ftw.c (open_dir_stream): Return right away if REALLOC fails. + [Coverity CID 229, 230] + + * argp/argp-help.c (hol_entry_help): Handle STATE==NULL in ARG and + DGETTEXT calls. + (hol_help): Likewise. [Coverity CID 226, 227] + + * string/argz-replace.c (__argz_replace): Unconditionally call + free on SRC. [Coverity CID 225] + + * nis/nis_creategroup.c (nis_creategroup): No need to duplicate + the return value of __nis_default_owner and __nis_default_group, + it has been especially allocated. [Coverity CID 224] + + * nis/nis_defaults.c (searchXYX): New functions. Used by both + searchgroup and searchowner. Significantly simplified. + (__nis_default_owner): Remove duplication. Do not locally copy the + string before duplicating it. + (__nis_default_group): Likewise. + + * nis/nis_lookup.c (nis_lookup): After calling nis_free_directory, + we must clear the variable before calling __nisfind_server. + + * nis/nis_lookup.c (nis_lookup): Always free memory allocated with + nis_getnames. [Coverity CID 223] + + * locale/programs/locfile.c (locfile_read): Use alloca instead of + xmalloc to allocate local repertoire name. [Coverity CID 222] + + * iconv/iconv_charmap.c (use_to_charmap): No need to dynamically + allocate memory for the input to add_bytes. [Coverity CID 221] + + * posix/wordexp.c (w_addword): Free word if realloc fails and it + was allocated here. [Coverity CID 219, 220] + + * posix/getconf.c (print_all): Free confstr data after printing. + [Coverity CID 218] + + * sysdeps/posix/getaddrinfo.c (gaih_inet): Free canon string if + list allocation fails. [Coverity CID 215] + + * nss/nsswitch.c (__nss_configure_lookup): Fix loop end condition. + [Coverity CID 213] + + * argp/argp-help.c (hol_entry_cmp): Don't call canon_doc_option if + string is NULL. [Coverity CID 212] + * argp/Makefile: Add rules to build and run bug-argp1. + * argp/bug-argp1.c: New file. + + * io/ftw.c (ftw_dir): Use __rawmemchr instead of strchr to find + end of string. + * stdlib/canonicalize.c (__realpath): Likewise. + + * locale/programs/ld-time.c (time_finish): Don't dereference NULL + pointer. [Coverity CID 206] + + * elf/dl-dst.h (DL_DST_REQUIRED): Be prepared for missing link map + in statically linked code. + * elf/dl-load.c (_dl_dst_substitute): When replacing ORIGIN in + statically built code, be prepared to have no link map. + [Coverity CID 205] + + * argp/argp-help.c (fill_in_uparams): Handle STATE==NULL in + dgettext calls. [Coverity CID 204] + + * argp/argp-help.c (struct uparams): Remove valid member. Change + the one user. + (uparam_names): Reduce size. Avoid relative relocations. + Moved to read-only segment. + (fill_in_uparams): Update for new layout. + + * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Parameter can be + assumed to always be != NULL. [Coverity CID 202] + + * argp/argp-help.c (hol_entry_help): Remove some dead code + [Coverity CID 200]. + + * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Optimize + away a few more unconditional yperr2nss calls. + (_nss_nis_getservbyname_r): Likewise. + +2006-05-06 Ulrich Drepper + + * sysdeps/generic/ldsodefs.h: Remove support for non-core + architectures. + + * sysdeps/unix/sysv/linux/check_pf.c (make_request): Make sure + that unused memory passed to sendto is nevertheless initialized. + + [BZ #2499] + * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Avoid + possibly unaligned memory accesses. + + * include/arpa/nameser.h: Also optimize NS_PUT16 and NS_PUT32. + * resolv/res_mkquery.c: Use NS_PUT16 and NS_PUT32 instead of __putshort + and __putlong respectively. Correct buffer overflow check for + NS_NOTIFY_OP. + + * resolv/res_send.c (send_vc): Use ns_put16 instead of putshort. + + * resolv/res_send.c (res_queriesmatch): Fix typo in comment. + (send_dg): Rewrite error handling to be more compact and avoid + double recomputation of timeouts. Pass MSG_NOSIGNAL to send. + + * include/arpa/nameser.h: Add optimizations for NS_GET16 and NS_GET32. + + * resolv/res_send.c (res_nameinquery): Use NS_GET16 directly + instead of ns_get16. + (res_queriesmatch): Likewise. Minor optimization. + + [BZ #2499] + * resolv/res_query.c (__libc_res_nquery): If answerp != NULL, + __libc_res_nsend might reallocate the buffer for the answer. In + this case we have to reload the HP pointer. + +2006-05-05 Ulrich Drepper + + * stdio-common/vfscanf.c (memory_error): Remove definition. Add + some branch prediction hints. + + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define SPLICE_F_*. + * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. + +2006-05-05 Martin Schwidefsky + + * sysdeps/s390/s390-32/elf/start.S: Replace pc relative relocation + by a GOT relocation to make Scrt1.o position independent. + * sysdeps/s390/s390-64/elf/start.S: Likewise. + + * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: Add support for + six system call parameters. + * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise. + +2006-05-05 Ulrich Drepper + + * sunrpc/svcauth_des.c (cache_init): Use calloc instead of + malloc&bzero. + + * sunrpc/svc_udp.c (BZERO): Remove definition. + (CALLOC): Define. + (svc_enablecache): Use CALLOC instead of ALLOC&BZERO. + + * sunrpc/des_impl.c: Remove ALT_ECB support. We never used it. + (des_SPtrans): Use uint32_t type. + (des_skb): Likewise. + + * sunrpc/xdr_ref.c (xdr_reference): Use calloc instead of malloc&bzero. + +2006-05-05 Jakub Jelinek + + [BZ #2509] + * stdio-common/tst-printf.sh: Adjust for tst-printf.c change even + on 32-bit arches. + +2006-05-05 Ulrich Drepper + + * locale/programs/ld-address.c (address_finish): Fix one more + place where the iso639 array might be accessed beyond the limits. + +2006-05-04 Ulrich Drepper + + * nis/nis_table.c (nis_list): Avoid clearing res twice before + filling it for the first time. + + * nis/nis_table.c (get_tablepath): Renamed from __get_tablepath. + Adjust all callers. + Free res object content before returning. + + * sunrpc/xdr_array.c (xdr_array): Use calloc instead of malloc&bzero. + + * sunrpc/key_call.c (__rpc_thread_key_cleanup): Also free + client->cl_auth. + + * sunrpc/rpc_thread.c (__rpc_thread_destroy): Don't skip entire + cleanup for initial thread, just the free call on TVP. + + * nscd/gai.c (__getline): Define. + + +See ChangeLog.16 for earlier changes. diff --git a/ChangeLog.2 b/ChangeLog.2 index 871981f8bf..1c88068c60 100644 --- a/ChangeLog.2 +++ b/ChangeLog.2 @@ -1,3742 +1,2670 @@ -Mon Jan 17 17:31:28 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) +Thu Sep 3 17:31:13 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * Version 1.07 released. + * sysdeps/unix/bsd/setgroups.S: New file. How did this manage not + to exist already?? - * Makerules (install-lib rules): Fix typos: missing / after $(libdir). + * Version 1.04. - * posix/Makefile (lib): Depend on $(objpfx)libposix.a - * malloc/Makefile (lib): Depend on $(objpfx)libmcheck.a. - * math/Makefile (lib): Depend on $(objpfx)libm.a. - * misc/Makefile (lib): Depend on $(objpfx)libbsd-compat.a. + * sysdeps/generic/memmem.c (memmem): Fixed loop condition not to + use nonexistent variable. - * sysdeps/unix/sysv/sco3.2.4/__setpgid.c: New file. + * string/string.h (memmem): Put const qualifier on args. - * stdio/internals.c (flushbuf): Don't try aligned-block writing - calculation when FP->__buffer is nil. + * sysdeps/stub/sigaltstack.c (sigaltstack): Fix arg type. -Mon Jan 17 17:27:56 1994 Jim Meyering (meyering@comco.com) + * setjmp/sigsetjmp.c: #undef sigsetjmp before defining the function. - * sysdeps/generic/memcmp.c [!_LIBC]: Include for - definition of size_t. +Wed Sep 2 16:43:58 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) -Mon Jan 17 17:13:11 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * misc/Makefile (headers): Add syscall.h. + * sysdeps/unix/Makefile: Only generate syscall.h if it would + otherwise come from stub. + * sysdeps/stub/syscall.h: New file. - * sysdeps/unix/sysv/sco3.2.4/syscall.h: Add SYS_[gs]etitimer and - SYS_pgrpsys (from scottb). + * time/Makefile (routines): Add stime. - * sysdeps/unix/configure: Check for getitimer and setitimer syscalls. + * io/Makefile (routines): Add fchdir. - * sysdeps/unix/bsd/sequent/i386/syscall.S: New file from jason. + * signal/Makefile (routines): Add sigaltstack. -Sun Jan 16 00:41:03 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * string/Makefile (routines): Add memmem. - * string/strerror.c (strerror): Declare BUF to be array of char. + * setjmp/Makefile (routines): Add sigsetjmp, _setjmp. - * Version 1.06.13. + * misc/Makefile (routines): Add getpass. -Sat Jan 15 17:27:26 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * Makefile (distribute): Add NEWS. - * stdlib/testsort.c (main): Rewrite not to read any input; instead - generate some random alphabetic strings. + * Makerules (ar-it) [! objdir]: Pass `ru' instead of `u' to ar. + Use $(..)libc.a instead of $(libc.a). - * stdlib/Makefile (testsort.input): Rules removed. + * sysdeps/unix/sysv/i386/linux/sysdep.h (PSEUDO): Call numbers are + SYS_*, not __NR_*. - * sysdeps/unix/sysv/i386/__sigret.S: New file. + * sysdeps/unix/sysv/i386/linux/__wait.S: Prepend extra _ to + `__waitpid' for jmp. - * stdio/Makefile (distribute): Add mpn-copy.mk. - Remove 68k rules; include mpn-copy.mk for dir names needing - translation, and rewrite no-68k rules to be generic for the rest. - (mpn-copy-sysdep): New variable. - (mpn-stuff): Include $(mpn-copy-sysdep). - (clean-mpn): Use rm -f. + * Makerules (check): New rule; alias for `tests'. - * configure.in (machine): Match m68... and m88..., not mc[68]8.... + * sysdeps/stub/__setregid.c: Args are gid_t, not int. - * stdio/printf_fp.c: For length arg to __mpn_extract_double, pass - actual number of limbs allocated for F, not LDBL_MANT_DIG. + * sysdeps/posix/readv.c: #include . -Fri Jan 14 19:09:29 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/generic/printf_fp.c: If LDBL_DIG or LDBL_MAX_10_EXP is + defined by float.h, #define each to DBL_*. - * sysdeps/unix/i386/sysdep.S: Fixed typo: `movl', not `move'. +Tue Sep 1 16:29:07 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * sysdeps/unix/sysv/sco3.2.4/__sysconf.S: Swap args in cmpl insn. + * sysdeps/unix/Makefile (syscall.h): Add missing backslashes. -Thu Jan 13 17:09:19 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * Makeconfig [!objdir && !..] (common-objpfx): Define as + `sysdeps/..'; The Almighty KludgeMeister 2000 wins again. - * Version 1.06.12. + * Makerules (sysdep-Makefile): Rename to sysd-Makefile. - * sysdeps/mips/sqrt.c: File removed. Ian says only the r[46]00 - have `sqrt.d' and GCC open codes it anyway. Perhaps someday - Brendan will be able to explain his rationale for writing this. :( + * Makeconfig (CC): Don't use -pipe by default. -Tue Jan 11 18:10:17 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * configure (switches): Put quotes around os-release and + os-version values. - * posix/sys/wait.h (__WAIT_STATUS, __WAIT_STATUS_DEFN): Use snazzy - version only for GCC >= 2.6 (was 2.4); 2.5.7 produces bad code on - sparc when the union arg type is used. +Mon Aug 31 19:33:15 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * Makeconfig (libprefix): New variable. - * Makerules ($(libdir)/libc.a, install): Insert $(libprefix) - between `lib' and `c' in the file name. - [install-lib] (install-lib.a, install-lib-non.a): New variables - separate out $(install-lib) elts which do or don't match lib%.a. - ($(libdir)/...): Split into two rules for above two cases. Put - $(libprefix) on installed files; for lib%.a insert it before % - rather than at beginning of file name. + * sysdeps/stub/cbrt.c: New file. - * Version 1.06.11. + * sysdeps/generic/cabs.c: New file. - * Makerules (compilation rules): Move directoryless rules (for - finding sources in .) before include sysd-rules. Omit rules to - compile from sources in $(objpfx) if not using $(objdir). + * sysdeps/generic/ceil.c: New file, split from floor.c. + * sysdeps/generic/__rint.c: Replaced with code split from floor.c. + * sysdeps/generic/Makefile (routines): Don't remove ceil, __rint. - * sysdeps/stub/errlist.c [! HAVE_GNU_LD]: #define _sys_errlist to - sys_errlist and _sys_nerr to sys_nerr. +Thu Aug 27 15:58:13 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) -Mon Jan 10 15:01:32 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * malloc/malloc.h [! __STDC__] (ptrdiff_t): #define. - * time/Makefile (z.%): In generated rules, depend on yearistype. - (tzcompile): Pass -y flag with file name of yearistype. +Wed Aug 26 18:15:47 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) -Sun Jan 9 17:51:43 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * malloc/free.c (__free): Rename to _free_internal. + (free), malloc/malloc.c (morecore): Change callers. + * malloc/malloc.h: Change decl. - * misc/bsd-compat.c (longjmp): Use __NORETURN in type. +Tue Aug 18 17:38:13 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * sysdeps/ieee754/dbl2mpn.c [N == 2]: For denormal, when - RES_PTR[1] is zero, return 1 instead of 2. + * sysdeps/generic/__copysign.c: New file. -Sun Jan 9 13:10:25 1994 Torbjorn Granlund (tege@adder.cygnus.com) + * sysdeps/unix/sysv/sysdep.h: #include , not + . Don't #define _SYS_SYS_S; should no longer be + necessary. - * stdio/printf_fp.c: Solve 10+ problems. - * ieee754/dbl2mpn.c: Correctly detect denorms. Get the denom - exponent right. + * sysdeps/unix/Makefile (syscall.h): Replaced simple code to just + find the file in any of several places, with hairier code to find + it and massage it. -Sun Jan 9 00:40:48 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * malloc/Makefile (obstack.%): Remove rule. + (gpl2lgpl): Define this instead. + * posix/Makefile (gpl2lgpl): Define to include getopt source files. + * Makerules ($(gpl2lgpl)): New rule to snarf code and frob its + copying notices. - * sysdeps/ieee754/dbl2mpn.c: Test BITS_PER_MP_LIMB and handle - either 32 or 64; #error if not one of those. +Fri Aug 14 13:28:39 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/stub/udiv_qrnnd.c: Renamed from udiv_qrnnd.S. + * Makeconfig (common-objdir, common-objpfx): Define new vars. + (libc.a): Define in terms of $(common-objpfx). + Find config.make with $(common-objpfx), not $(objpfx). + * Makerules (common-objdir-compile): Define canned sequence. + (native-compile): Use $(@D)/$(@F) instead of stripping off $(objpfx). + * sysdeps/unix/Makefile, sysdeps/unix/bsd/Makefile, + sysdeps/generic/Makefile: Use it. + Use $(common-objpfx) for generated things not specific to one subdir. -Sat Jan 8 00:25:15 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/unix/Makefile (sysdep_headers): Add + $(sys/param.h-includes) to this instead of to headers. - * Version 1.06.10. +Thu Aug 13 18:30:58 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * Makerules ($(libdir)/libc.a): Depend on subdir_install. + * posix/glob.c: Always #include . + [! USG]: Don't do it here. + [STDC_HEADERS]: Test this instead of __STDC__ for size_t. + [HAVE_STRCOLL]: Test this instead of ANSI_STRING for strcoll. -Thu Jan 6 02:17:07 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * posix/glob/Makefile.in (Makefile): Remove rule. - * Makerules ($(bindir)/$(install)): Use $(INSTALL_PROGRAM), not - $(INSTALL). - ($(libdir)/libc.a): Don't depend on lib-noranlib; on libobjs and - ar-it instead. Run ranlib on target after installing. - (installdirs): Target removed; deps on it removed. - (install-{bin,lib,data,headers,others,no-libc.a}): Renamed to - `install-*-nosubdir'. - (install-%): New pattern rule. - (install): Depend only on install-no-libc.a-nosubdir. - * Rules (subdir_install): Depend on lib-noranlib and stubs. - * Makefile (headers): Remove stubs.h. - (install-others): Define to include $(includedir)/stubs.h. - ($(includedir)/stubs.h): New target for $(objpfx)stubs.h rule. - Depend only on subdir_install, and install directly. +Wed Aug 12 16:12:52 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * Makerules (sed-remove-objpfx): Require SPC before $(objpfx) to match. + * sysdeps/sparc/jmp_buf.h: Deansideclized. - * time/zic.c (mkdirs): Duplicate passed string in allocated memory - and free it when done. + * sysdeps/generic/make_siglist.c: #undef HAVE_SYS_SIGLIST, not + SYS_SIGLIST_MISSING. + * sysdeps/generic/signame.[ch]: Re-symlinked from /gd/gnu/lib. + Who's been removing random things from my source tree?? - * dirent/dirent.h [__USE_BSD || __USE_MISC]: Get size_t from stddef.h. +Tue Aug 11 15:01:50 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * sysdeps/ieee754/dbl2mpn.c: For zero value, return 1 limb not 0. + * posix/getconf.c (main): Cast printf field with arg to int. - * Makerules (make-dummy-dep): Use filter-out to invert sense of - wildcard match, so we produce a command if $@ does *not* exist.c + * Makefile (distribute): Remove ansidecl, ansidecl.m4. - * stdio/Makefile (routines): Add dbl2mpn. + * posix/glob.c [_AIX]: Don't declare alloca. -Wed Jan 5 17:52:43 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) +Mon Aug 10 17:09:40 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/unix/i386/sysdep.S (syscall_error): Reverse args in - `cmpl' insn; non-GNU assembler is feeble-minded. + * sysdeps/m68k/fpu/__math.h (__expm1): Define just like expm1. -Mon Jan 3 18:53:45 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/unix/ioctls-tmpl.c [SMIOSTATS, SMIOGETREBOOT0, + ZIOCBCMD]: Include headers for these. - * configure.in (sysnames): Remove / before $mach; it is prepended - already by the loop constructing $mach from $machine. +Fri Aug 7 16:01:43 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) -Tue Dec 28 07:38:23 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * string/tester.c (main): Use sys_nerr and sys_errlist, not _sys_*. - * stdio/Makefile [gmp-srcdir] (clean-mpn): New target. + * stdio/stdio.h [__USE_GNU] (_sys_nerr, _sys_errlist): Declare. - * configure.in (machine): Turn i[34]86 into i386/&, sparc* into - sparc/&, m68k into m68k/mc68020, mc680?0 into m68k/&, mips or - r2000 into mips/r3000, r[34]000 into mips/&. - (mach): New variable; processed from $machine as $base from $base_os. - Use that in place of $machine in loop finding sysdep directories. + * string/strerror.c, stdio/perror.c + [HAVE_GNU_LD] (_sys_errlist, _sys_nerr): Remove decls. - * stdio/Makefile (aux): Add mp_clz_tab. - (mpn-copy): Add mp_clz_tab.c. - (mpn-routines): Add udiv_qrnnd. - (mpn-sysdep): Look for .s files too. - * sysdeps/stub/udiv_qrnnd.S: New file. + * stdio/memstream.c (enlarge_buffer): Notice when target is -1 and + don't treat it as a huge value. -Sat Dec 25 00:20:07 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * stdio/tst-printf.c: #if 0 code that tickles printf_fp bugs. - * Version 1.06.9. + * grp/testgrp.c: Don't bomb if uid not in passwd file. - * Makefile (distribute): Add install.sh. - * install.sh: New file. + * stdlib/tst-strtol.c (tests): C-t on LONG_MIN and LONG_MIN-1 elts. - * sysdeps/i386/Makefile: New file. - (asm-CPPFLAGS): Add -DGAS_SYNTAX. - - * stdio/printf_fp.c: Major rewrite of sysdeps/generic/printf_fp.c, - working with the fractional parts as multiprecision integers - instead of doubles, using mpn functions from GNU MP. Done with - much help from tege@cygnus.com. - * sysdeps/generic/printf_fp.c, sysdeps/ieee754/printf_fp.c, - sysdeps/m68k/fpu/printf_fp.c: Files removed. - -Fri Dec 24 23:09:44 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/stub/dbl2mpn.c, sysdeps/iee754/dbl2mpn.c: New files. - * sysdeps/stub/asm.h: New file. - * sysdeps/m68k/add_n.S, sysdeps/m68k/addmul_1.S, - sysdeps/m68k/mul_1.S, sysdeps/m68k/sub_n.S, - sysdeps/m68k/submul_1.S, sysdeps/m68k/asm.h, - sysdeps/generic/add_1.c, sysdeps/generic/add_n.c, - sysdeps/generic/addmul_1.c, sysdeps/generic/cmp.c, - sysdeps/generic/divmod.c, sysdeps/generic/divmod_1.c, - sysdeps/generic/lshift.c, sysdeps/generic/rshift.c, - sysdeps/generic/mod_1.c, sysdeps/generic/mul.c, - sysdeps/generic/mul_1.c, sysdeps/generic/mul_n.c, - sysdeps/generic/sub_n.c, sysdeps/generic/submul_1.c, - sysdeps/generic/get_str.c, sysdeps/i386/addmul_1.S, - sysdeps/i386/mul_1.S, sysdeps/i386/submul_1.S, - sysdeps/alpha/gmp-mparam.h, sysdeps/generic/gmp-mparam.h, - sysdeps/i386/asm.h, stdio/longlong.h, stdio/gmp.h, - stdio/gmp-impl.h: New files, taken from GNU MP. - * stdio/Makefile (mpn-headers, mpn-routines): New variables. - (routines): Include $(mpn-routines). - (distribute): Include $(mpn-headers). - [gmp-srcdir]: Much code to copy mpn source from $(gmp-srcdir). - * configure.in: Check for a --with-gmp argument and set gmp-srcdir - in config.make to its value (error if no arg given). Move - config_vars initialization before this (right after arg parsing). - -Thu Dec 23 01:44:12 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/m68k/Makefile (m68k-syntax-flag): New variable. - (compile-command.S): Include $(m68k-syntax-flag) in cpp flags. - - * manual/Makefile (install-data): New target. - (install-%): New pattern rule. - - * Makerules ($(bindir)/...): Do $(make-target-directory) first. - -Thu Dec 23 01:03:19 1993 Brendan Kehoe (brendan@zen.org) - - Port to the DEC Alpha running OSF/1. (75% done) - * sysdeps/unix/bsd/osf1/alpha/start.S: New file. - * sysdeps/unix/bsd/osf1/alpha/sysdep.h: New file. - * sysdeps/unix/bsd/osf1/alpha/sysdep.S: New file. - * sysdeps/unix/bsd/osf1/alpha/__brk.S: New file (incomplete). - * sysdeps/unix/bsd/osf1/alpha/__fork.S: New file. - * sysdeps/unix/bsd/osf1/alpha/__pipe.S: New file. - * sysdeps/unix/bsd/osf1/alpha/__getdents.S: New file. - * sysdeps/unix/bsd/osf1/alpha/__waitpid.c: New file. - * sysdeps/unix/bsd/osf1/alpha/__wait4.S: New file. - * sysdeps/unix/bsd/osf1/dirstream.h: New file. - * sysdeps/unix/bsd/osf1/alpha/statbuf.h: New file. - * sysdeps/unix/bsd/osf1/direct.h: New file. - * sysdeps/unix/bsd/osf1/dirstream.h: New file. - * sysdeps/unix/bsd/osf1/Makefile: New file, defining LDFLAGS. - - * sysdeps/unix/ioctls-tmpl.c [__osf1__ && __alpha__]: Clean up the - ioctls that we get for an Alpha running OSF/1. - - * sysdeps/unix/common/glue-ctype.c: Add code for HAVE__LOCP. - (main): If new macro TABLE_NAME is defined, use that for the name - of the array we're writing out, rather than what's defined in TABLE. - * sysdeps/unix/common/configure.in (AC_HAVE_FUNCS): Add `_locp'. - - * sysdeps/unix/bsd/osf1/sigaction.h: Add SA_ONSTACK, SA_RESTART, - and SA_DISABLE. - * sysdeps/alpha/setjmp.S: Add .end directive. - - * time/sys/time.h (struct timeval): Make members TV_SEC and - TV_USEC be `int', not `long', since it won't hurt other hosts, but - kills the Alpha. - * resource/sys/resource.h (struct rusage): Make all non-timeval - members be `long', not `int'. - - * sysdeps/alpha/strlen.c (strlen): Go from 0 to 7, not 3, since - there are 8 bytes in a long on the Alpha. Check for '\0' after - checking for C in initial byte-by-byte loop. - * sysdeps/alpha/strchr.c (strchr): Likewise. Shift out to 64 when - setting CHARMASK. - * sysdeps/alpha/memchr.c (memchr): Likewise. Return NULL if we - didn't find it in N characters, or N == 0. Declare CP to be an - unsigned char*. - - * sysdeps/alpha/Makefile: Add divrem stuff. - * sysdeps/alpha/DEFS.h: New file. - * sysdeps/alpha/divrem.m4: New file. - * sysdeps/alpha/macros.m4: New file. - * sysdeps/alpha/Dist: Add .S files, divrem.m4, macros.m4, and DEFS.h. - - * sysdeps/unix/bsd/osf1/alpha/vhangup.S: New file. (Only a - temporary workaround, until we figure out how to deal with the - SYS_ult syscalls better.) - * sysdeps/unix/bsd/osf1/alpha/killpg.S: Likewise. - * sysdeps/unix/bsd/osf1/alpha/__sigvec.S: Likewise. - * sysdeps/unix/bsd/osf1/alpha/__sigpause.S: Likewise. - * sysdeps/unix/bsd/osf1/alpha/__sigstmsk.S: Likewise. - * sysdeps/unix/bsd/osf1/alpha/recv.S: Likewise. - * sysdeps/unix/bsd/osf1/alpha/send.S: Likewise. - - * sysdeps/alpha/__math.h (__copysign): Add __CONSTVALUE. - * sysdeps/alpha/__copysign.c: Define __NO_MATH_INLINES. - * sysdeps/alpha/fabs.c: Likewise. - -Wed Dec 22 17:55:49 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * crypt/*: New version from glad. - - * sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c. - - * dirent/Makefile (headers): Define; include dirent.h & dirstream.h. - -Tue Dec 21 14:24:38 1993 Brendan Kehoe (brendan@zen.org) - - * sysdeps/unix/sysv/sysv4/i386/statbuf.h (struct stat): Add - missing member ST_FSTYPE. Fixup types on various members to make - this properly reflect what the system has. + * stdlib/strtol.c: Use int flag NEGATIVE instead of char 1/-1 SIGN. + Fixed checking for overflow of long int that fits in unsigned long + int--must cast LONG_MIN before negating! - * misc/ioctl.c (ioctl): Declare 2nd arg to be unsigned long int to - match the change in ioctl.h. +Thu Aug 6 18:46:24 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) -Tue Dec 21 00:01:01 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * stdio/bug3.c (main): Define ansideclifily. - * Version 1.06.8. + * sysdeps/unix/bsd/sun/sparc/__pipe.S: Define __pipe, not ___pipe. - * dirent/dirent.h (struct dirent): Add `d_reclen'; make `d_namlen' - an `unsigned short int' instead of `size_t'. - (DIR): Move typedef to sysdep file dirstream.h. - * sysdeps/unix/dirstream.h: New file, broken out of dirent.h. - * sysdeps/stub/dirstream.h: New file. - * sysdeps/unix/bsd/dirstream.h: New file. - * sysdeps/unix/bsd/readdir.c: New file. + * math/test-math.c (main): Remove unused vars. -Mon Dec 20 23:29:07 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * io/flock.c: #include , and not fcntl.h or sys/types.h. - * sysdeps/unix/start.c: Include . - * sysdeps/unix/sysv/sysv4/i386/start.c: File removed. + * sysdeps/m68k/fpu/__math.h (__rint): Define just like rint. -Sat Dec 18 01:37:25 1993 Brendan Kehoe (brendan@zen.org) + * math/math.h (__rint): Declare. - * sysdeps/unix/sysv/sysv4/i386/start.c: New file. Same as - sysdeps/unix/i386/start.c, but defines NO_UNDERSCORES. + * configure (esix*): base_os=unix/sysv. - * sysdeps/unix/sysv/sysv4/waitflags.h: New file, with non-standard - WEXITED and WTRAPPED macros defined. - * sysdeps/unix/sysv/sysv4/__waitpid.c: New file. - * sysdeps/unix/sysv/sysv4/siginfo.h: New file. - * sysdeps/unix/sysv/sysv4/__waitid.S: New file. - * sysdeps/unix/sysv/sysv4/Makefile (sysdep_routines): Mention __waitid. - * sysdeps/unix/sysv/sysv4/pipestream.c: New file, to avoid having - NO_WAITPID set. - * sysdeps/unix/sysv/sysv4/Dist: Added __waitid.S and siginfo.h. + * dirent/getdents.c: #include . - * sysdeps/unix/sysv/sysv4/__getpgid.c: New file. - * sysdeps/unix/sysv/sysv4/__setpgid.c: New file. - * sysdeps/unix/sysv/sysv4/Makefile (sysdep_routines): Add them. + * Rules (subdir): Avoid TAB before # at end of defn. - * sysdeps/unix/sysv/sysv4/__getpgrp.c (__getpgrp): It's the 0th - subcall for getpgrp, not 4th. - * sysdeps/unix/sysv/sysv4/__setpgrp.c (__setpgrp): Likewise, it's - the 1st, not the 5th. + * sysdeps/unix/bsd/bsd4.4/__wait3.c: Last arg type is struct rusage *. -Fri Dec 17 15:05:58 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) +Tue Aug 4 18:19:43 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * misc/sys/ioctl.h (__ioctl, ioctl): Make second arg `unsigned - long int' instead of `int' (4.4 uses unsigned long). + * sysdeps/ieee754/Makefile: Removed. - * string/string.h (strcat): Parameters names were swapped. + * math/math.h: Declare __expm1. -Fri Dec 17 01:18:27 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) +Mon Aug 3 13:02:05 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * Made the Hurd error system 0x10 again; this undid many - of the changes of Nov 23. Affected all the err_ files in - mach; recreated sysdeps/hurd/err_hurd.sub; changed back - err_kern.sub to have the Unix error codes. + * sysdeps/ieee754/cabs.c (cabs, z_abs): Members of structure have __. -Thu Dec 16 15:40:25 1993 Brendan Kehoe (brendan@zen.org) + * sysdeps/unix/bsd/seq386: Remove directory. - * stdio/temptest.c (main): Remove the files we created once we're - done. Make return type int, and exit with 0 status. +Thu Jul 30 15:42:01 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * sysdeps/posix/tempname.c (__stdio_gen_tempname): Fix typo of - extra comma in sprintf call. + * sysdeps/unix/bsd/sun/sparc/sigcontext.h: Deansideclized. -Tue Dec 14 13:08:35 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/unix/bsd/sun/sunos4/__wait4.c: Make last arg struct rusage + instead of PTR. - * sysdeps/posix/tempname.c (__stdio_gen_tempname): Rewrote main - logic. Removed INFOS structure array and replaced it with - INDICES, an array of size_t. Removed INFO ptr and replaced it - with IDX, which points to either elt of INDICES. Rewrite main - loop to increment *IDX until it hits 62*62*62. Construct file - name by dividing out two powers of 62 from *IDX and using the - modulus as an index into `letters'. + * sysdeps/unix/morecore.c (__default_morecore): Make arg ptrdiff_t. - * sysdeps/unix/common/Makefile (sysdep_routines): Only add - bsd_getgrp here if the sysdep __getgrps.? chosen is unix/common's. + * sysdeps/ieee754/cabs.c (cabs, z_abs): Use `struct __complex' for arg. - * posix/fnmatch.h: #undef FNM_PATHNAME, FNM_NOESCAPE, and - FNM_PERIOD before defining them. + * sysdeps/generic/pow.c: #include . - * time/__tzset.c (compute_change): In M case when tallying time in - months before specified month, count to RULE->m - 1, not ...+1. + * sysdeps/generic/mathimpl.c: #include before frobnication. - * manual/Makefile (realclean): Remove index, aux, and toc files - created by TeX. + * misc/getusersh.c (okshells): Make const. + (initshells): Properly declare static. -Mon Dec 13 19:33:33 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/unix/bsd/__tcgetatr.c: Cast sg_[io]speed to (unsigned char) + to avoid gcc warnings. - * sysdeps/posix/__wait3.c: Use __WAIT_STATUS_DEFN in place of - __WAIT_STATUS in arg type. + * math/bsd/common/atan2.c, math/bsd/common/tan.c, + math/bsd/common/sincos.c, math/bsd/common/trig.h, + math/bsd/common_source/__expm1.c, math/bsd/common_source/fmod.c, + math/bsd/common_source/acosh.c, math/bsd/common_source/log.c, + math/bsd/common_source/asincos.c, math/bsd/common_source/asinh.c, + math/bsd/common_source/log1p.c, math/bsd/common_source/atan.c, + math/bsd/common_source/log__L.c, math/bsd/common_source/atanh.c, + math/bsd/common_source/mathimpl.h, math/bsd/common_source/cosh.c, + math/bsd/common_source/exp.c, math/bsd/common_source/sinh.c, + math/bsd/common_source/exp__E.c, math/bsd/common_source/tanh.c, + math/bsd/common_source/floor.c: Moved to sysdeps/generic. + * math/bsd/ieee/{cabs,cbrt,support}.c: Moved to sysdeps/ieee754. + * All above + sysdeps/generic/mathimpl.h, sysdeps/generic/pow.c: New + code from 4.4/net2. -Wed Dec 8 15:59:45 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/generic/ffs.c: #include , not . - * malloc/memalign.c: Set L->next and _aligned_blocks only when L - is newly allocated, not when we reuse an old one. + * posix/glob/Makefile.in (Makefile): Depend on config.status; invoke + it directly instead of using $(SHELL). -Tue Dec 7 16:04:22 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * posix/glob.c [! USG]: #include before . - * io/fcntl.c: Replace function_alias use with: - [HAVE_GNU_LD]: Use symbol_alias. - [! HAVE_GNU_LD]: Define fcntl to use stdarg and call __fcntl. +Tue Jul 28 17:54:23 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Mon Dec 6 17:50:05 1993 Brendan Kehoe (brendan@zen.org) + * sysdeps/unix/bsd/ultrix42: Renamed to ultrix4. - * sysdeps/unix/i386/sysdep.S (syscall_error): Fix labels so - they'll compile. + * sysdeps/unix/sysv/isc2.2/__rename.S: New. + * configure (isc*): base_os=unix/sysv. - Make the Solaris port work dammit. - * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h (struct stat): Make - ST_DEV member be unsigned long, not short. + * Makefile, Makerules, Rules, math/Makefile, ctype/Makefile: Use + "export foo := $(foo)" instead of ifdef have_export_directive. + * Makeconfig (have_export_directive): Remove; move .NOEXPORT down. - * sysdeps/unix/sysv/sysv4/solaris2/direct.h: New file, same as - sysv4/direct.h but uses strlen instead of the offset-based - computation of the name length, since that doesn't reliably work - for Solaris. +Mon Jul 27 18:01:30 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/unix/sysv/sysv4/solaris2/sysdep.h (PSEUDO): Don't move - %g0 into %o0, since that will clobber the real return value. Take - out the retl at the end, why in the world did I put it in there? + * configure: Remove redundant test to set os_used. -Mon Dec 6 17:27:26 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) +Sun Jul 26 17:03:31 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * Makefile ($(objpfx)crt1.o): Add target to $(objpfx)Mcrt1.o - rule; generalize commands. - (install-lib): Add crt1.o. + * README.template: Don't mention Q+A. + * Makefile (distribute): Remove Q+A. - * sysdeps/unix/Makefile ($(common-objpfx)ioctls): Use -x flag to - fgrep to match only entire lines. + * Makefile, Makerules, Rules, math/Makefile, ctype/Makefile: Put + "ifdef have_export_directive" around uses of `export' directive. + They are only needed for dist and tags anyway. + * Makeconfig (have_export_directive): Add commented-out defn, and + comment to explain. + (.NOEXPORT): Add special target for old versions of GNU make. -Sun Dec 5 01:53:43 1993 Brendan Kehoe (brendan@zen.org) + * posix/glob.c [_AIX]: #pragma alloca first thing. + [ANSI_STRING]: Remove #define's for index et al. - * sysdeps/unix/bsd/ultrix4/mips/start.S: New file. - * sysdeps/unix/bsd/ultrix4/mips/start.c: Deleted. +Thu Jul 23 21:49:53 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Thu Dec 2 18:29:01 1993 Brendan Kehoe (brendan@zen.org) + * misc/getpass.c: New. + * posix/unistd.h (getpass): Declare. - * sysdeps/unix/bsd/ultrix4/mips/sysdep.S: Don't use dollar signs - with the errnos. + * posix/unistd.h (getusershell, setusershell, endusershell): Declare. + * misc/Makefile (routines): Add getusersh. + * misc/getusersh.c: New. - * sysdeps/stub/{__wait, __wait3, __wait4}.c, - sysdeps/unix/bsd/bsd4.4/{__wait, __wait3}.c, - sysdeps/unix/bsd/sun/sunos4/__wait4.c, - sysdeps/posix/{__wait, __wait3}.c, posix/{wait, wait3, wait4}.c: Use - __WAIT_STATUS_DEFN, not __WAIT_STATUS. +Tue Jul 14 20:03:57 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/posix/killpg.c (killpg): Make arg PGRP __pid_t, not pid_t. - * sysdeps/stub/killpg.c (killpg): Likewise. + * stdlib/Makefile (tests): Add testdiv. + * stdlib/testdiv.c: New. - * setjmp/longjmp.c (longjmp): Only use __NORETURN if !HAVE_GNU_LD. - * setjmp/_longjmp.c (_longjmp): Likewise. + * sysdeps/unix/sysv/i386/linux/{rename,__mkdir,__rmdir,__dup2, + getpgrp,__setpgrp,setsid}.S: New files. -Thu Dec 2 17:31:19 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/unix/__getppid.S: If SYS_getppid is defined, use it rather + than alternate value of getpid. + * __gete[ug]id.S: Similar. - * posix/sys/wait.h (__WAIT_STATUS_DEFN): Define new macro. + * sysdeps/unix/sysv/i386/linux/__waitpid.S: New file. + * sysdeps/unix/sysv/i386/linux/__wait.S: New file. + * sysdeps/posix/__wait3.c: New file. - * Makerules (+install): Variable removed. - (install-bin, install-lib, install-data, install-headers, - install-others): New targets. - (install-no-libc.a): Depend on them instead of $(+install). + * sysdeps/unix/sysv/i386/linux/socket.S: New file. + * bind.S, connect.S, listen.S, accept.S, getsockname.S, + getpeername.S, socketpair.S: Also new (and trivial). - * Makefile (+subdir_targets): Add - install-{no-libc.a,bin,lib,data,headers,others}. - (install-no-libc.a): Don't depend on subdir_install. +Mon Jul 13 17:41:46 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) -Thu Dec 2 17:14:39 1993 Brendan Kehoe (brendan@zen.org) + * sysdeps/unix/sysv/i386/linux/sysdep.[hS]: New files. - * sysdeps/ieee754/__isnan.c (__isnan): Return __CONSTVALUE, to - match declaration in math/math.h. + * configure (linux*): base_os=unix/sysv + (gnu*, linux*): Always set --with-gnu-ld and --with-gnu-as. -Thu Dec 2 15:48:19 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * stdio/obstream.c: #include + (obstack_vprintf): Use bzero rather than memset. - * time/africa, time/antarctica, time/asia, time/australasia, - time/emkdir.c, time/europe, time/ialloc.c, time/northamerica, - time/pacificnew, time/private.h, time/solar87, time/solar88, - time/southamerica time/systemv, time/tzfile.h, time/zdump.c, - time/zic.c: New data and code from ADO. - * time/Makefile (tzfiles): Added backward. - * time/backward: New file from ADO. + * stdio/glue.c (unix_FILE.glue): Add two members, which will overlap + get_limit and put_limit in GNU stdio. + (_iob): Initialize them to same as `streamp'. - * locale/C-ctype_ct.c: Remove _ISspace bit from BS (8). +Thu Jul 9 21:27:39 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Wed Dec 1 00:01:30 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) + * stdio/stdio.h (open_obstack_stream, obstack_printf, + obstack_vprintf): Declare. - * mach/err_kern.sub: Frob around lack of GNU ld. + * posix/glob.c [STDC_STRINGS]: Don't test this. + [! ANSI_STRING]: Put memcpy, strrchr, memset defns here instead. - * mach/errsystems.awk: The declaration of __mach_error_systems - should not be static, but it should be const. + * posix/glob/Makefile.in (glob.o, fnmatch.o): / after $(srcdir). - * sysdeps/mach/hurd/errlist.awk (BEGIN): Deal with the case - where you don't have GNU ld. +Tue Jul 7 03:11:23 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/mach/hurd/Makefile: Define mib_hacks to make. + * stdio/Makefile (routines): Add obstream. -Tue Nov 30 23:24:07 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) + * Makerules (%.o: %.S, %.o: %.c): If using gcc, put the file name + before the options on the command line. - * Makefile: install-no-libc.a needs to depend on subdir_install. + * malloc/Makefile (dist-routines): Define with routines for malloc.tar. + (routines): Define with that plus the rest. + (nodist): Remove. + (routines): Add obstack. + (headers): Add obstack.h. + (obstack.%): New rule. -Mon Nov 29 16:21:38 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) + * stdio/glue.c: Add comments. - * sysdeps/mach/_strerror.c: Include . + * stdio/printf.h (struct printf_info.spec): Make unsigned char. - * hurd/setuids.c: Put entire file inside #ifndef MIB_HACKS; - it uses the old auth_makeauth call. + * stdio/stdio.h (__validfp): Fixed glued-stream snarfing. - * hurd/__setauth.c: Put entire file inside #ifndef MIB_HACKS; - it depends on cthreads to compile, which is not yet integrated. +Mon Jul 6 20:00:47 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * hurd/hurdpath.c (__hurd_path_lookup): cast to avoid GCC warning. + * sysdeps/i386/jmp_buf.h: Deansideclized. -Wed Nov 24 00:59:15 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) + * sysdeps/posix/Makefile (objdir-CPPFLAGS): Define; if in parent + dir, add ..s to -Is. + (mk-stdiolim): Use it in place of $(CPPFLAGS). - * hurd/Makefile: Commented out hurdauth; recent changes to - auth.defs prevent it from working now. +Sat Jul 4 20:44:42 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * mach/mach_error_string.c (do_compat): Change name to - __mach_error_map_compat; make it no longer static. - (mach_error_type, mach_error_string_int): Use - __mach_error_map_compat instead of do_compat. - * sysdeps/mach/_strerror.c: Use __mach_error_map_compat. + * posix/glob/Makefile.in (glob.o, fnmatch.o): Put $(srcdir) on deps. - * mach/devstream (output/write_some): Cast fourth argument to - device_write_inband to char * to avoid warning. - (output): Call to write_some mentioned variable `start' from - a previous version of the function; changed this to f->__buffer. +Wed Jul 1 00:13:40 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Tue Nov 23 23:16:13 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) + * sysdeps/generic/strstr.c: If NEEDLE is "", return end of HAYSTACK. - [ The net effect of the following change is to eliminate error - systems which are specific to single-server Mach systems, and - to put the Hurd errors where the Unix errors were. ] - * mach/{err_bootstrap.sub,err_ipc.sub,err_server.sub,err_us.sub}: - None of these are used for the Hurd; we shouldn't pretend that - they are meaningful in our environment. The files have been - renamed to equivalent names with an equal sign prepended; this - will inhibit distribution and prevent the Makefile from looking at - them. - * mach/err_kern.sub: Deleted the definitios of err_codes_unix; - get the strings from _sys_errlist. Rename `unix' to `hurd'. - Rename err_os_sub to be err_kern_sub to match what errsystems.awk - expects. - * sysdeps/mach/hurd/err_hurd.sub: Deleted this file. - * sysdeps/mach/hurd/errnos.awk: Changed definition of _HURD_ERRNO - to be correct. + * string/tester.c (main): Remove decls of sys_nerr and sys_errlist. - * sysdeps/mach/hurd/Makefile: use gawk, not awk. + * configure: Accept --prefix=*, --exec_prefix=* options. + Set values in config.make and config.status. - * mach/errsystems.awk: Generally rewrote the printf. It's now - closer to Roland's original, but without the $i mistake at all, - in any form. + * io/umask.c: Fixed return type in fn alias. -Tue Nov 23 20:21:06 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * posix/glob.c [! ANSI_STRING]: #define strcoll to strcmp. + Remove extra decls of free, qsort, malloc, and realloc. - * sysdeps/unix/{i386,sysv/sysv4/solaris2,sysv/i386/linux,bsd/m68k, - bsd/ultrix4/mips,bsd/vax}/sysdep.S: Define _ERRNO_H before - including ; otherwise does not define most - macros (importantly, EAGAIN!). + * dirent/alphasort.c: #include , and not . -Tue Nov 23 12:43:38 1993 Michael I. Bushnell (mib at ernst.gnu.ai.mit.edu) + * sysdeps/unix/bsd/i386/__wait3.S: Load SYS_wait into %eax before + trapping. Use literal .byte instead of lcall to avoid gas bug. + Use 0(REG), not (REG), for register-indirect addressing. - * mach/errsystems.awk: $i is not an index; make i a variable and - increment it properly. Don't call `err_get_system'; use the - system number as the index in the array directly. + * configure: Make config.status executable. - * mach/errorlib.h: Added `const' in all the right places. - * sysdeps/mach/hurd/err_hurd.sub: Cast _sys_errlist to - the right type. Better to declare it right in stdio/stdio.h, but - I don't dare change that file lest Roland call me a twit. - * mach/err_us.sub: Add more brackets to initializer to shut GCC up. +Tue Jun 30 21:14:53 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/mach/hurd/err_hurd.sub: Delete keyword `const'; this - is taken care of by the `#define static static const' found in - errsystems.c as created by mach/errsystems.awk. - * mach/errsystems.awk: Ditto for declaration of __mach_error_systems. + * configure: Add --os-release=* and --os-version=* options. Record + settings (which might be automagically guessed) in config.status. - * sysdeps/mach/hurd/err_hurd.sub: Change to ; - errnos.h doesn't define most stuff unless it is included from errno.h. + * misc/mknod.c: Use __mode_t for arg in fn alias. - * mach/mach_error_string.c (mach_error_string_int): Delete unused - variable `err_str'. + * posix/unistd.h (setregid): Declare to take __gid_t args. - * mach/mach_error_string.c (do_compat): Declare to be void. - (mach_error_string,mach_error_type, mach_error_string_int): - Declare return type as const char *. - * mach/mach_error.h: Change declarations to match. + * sysdeps/unix/bsd/i386/__wait3.S: Don't use lcall insn gas barfs on. - * mach/errsystems.awk: The array that split creates is origin 1, - not origin 0; fixed loop to match. + * posix/vfork.c: Move to sysdeps/generic/. - * sysdeps/mach/hurd/errnos.awk: Ernst's awk doesn't grok - backslash-newline inside strings. + * Rules (others, tests): Export them. -Sat Nov 20 19:02:25 1993 Brendan Kehoe (brendan@zen.org) + * io/umask.c, io/mkdir.c, io/chmod.c: Use mode_t not int in arg decls. - * math/__finite.c (__finite): Return __CONSTVALUE, to match math.h. - * math/__scalb.c (__scalb): Likewise. - * math/copysign.c (copysign): Likewise. - * math/drem.c (drem): Likewise. - * math/expm1.c (expm1): Likewise. - * math/finite.c (finite): Likewise. - * math/infnan.c (infnan): Likewise. - * math/isinf.c (isinf): Likewise. - * math/isnan.c (isnan): Likewise. - * math/logb.c (logb): Likewise. - * math/rint.c (rint): Likewise. - * math/scalb.c (scalb): Likewise. - * sysdeps/generic/atan.c (atan): Likewise. - * sysdeps/ieee754/__copysign.c (__copysign): Likewise. - * sysdeps/ieee754/__drem.c (__drem): Likewise. - * sysdeps/ieee754/__isinf.c (__isinf): Likewise. - * sysdeps/ieee754/__logb.c (__logb): Likewise. - * sysdeps/ieee754/ldexp.c (ldexp): Likewise. - * sysdeps/ieee754/log10.c (log10): Likewise. + * sysdeps/i386/ffs.c: #include , not . - * setjmp/_longjmp (_longjmp): Add __NORETURN. - * setjmp/longjmp (longjmp): Likewise. + * stdio/vfscanf.c: Use function_alias. -Thu Nov 18 04:16:34 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * stdio/vsscanf.c: Use va_list, not PTR, in arg decl in fn alias. - * string/strerror.c (strerror): Call _strerror_internal to do the - work, passing it a scratch buffer. - * stdio/perror.c: Likewise. - * string/Makefile (routines): Add _strerror. - * sysdeps/generic/_strerror.c (_strerror_internal): New file. + * sysdeps/unix/i386/sysdep.h (PSEUDO): Enough backslashes and + semicolons. - * configure.in (config.status): Make it pass its args to configure. + * stdio/stdio.h: For __gnuc_va_list, #test __GNUC_VA_LIST, not + __va_list_defined. -Thu Nov 18 03:52:32 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) + * stdio/fmemopen.c: Use memchr to find NUL for append mode. - * stdio/__vfscanf.c (__vfscanf): Put the floating point cases - (e,E,f,g,G) inside #ifndef MIB_HACKS; roland thikgs strtod crashes - the compiler. Wheee. - -Thu Nov 18 03:21:51 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * errno.h [__USE_GNU__]: Declare program_invocation_name and - program_invocation_short_name. - -Thu Nov 18 00:07:37 1993 Michael I. Bushnell (mib at ernst.gnu.ai.mit.edu) - - * sysdeps/mach/hurd/start.c (start1): Don't add one to - the return value of split_args; it counts them just fine by - itself. Do add one when sizing the arrays. - -Mon Nov 15 00:19:48 1993 Noel Cragg (noel@geech.gnu.ai.mit.edu) - - * time/mktime.c: add TIMES_THROUGH_SEARCH variable to make sure - that we don't get caught in an infinite loop (would be bad, - indeed, for a library routine). - -Sun Nov 14 18:48:28 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * misc/sys/cdefs.h (__NORETURN, __CONSTVALUE): Use - `__attribute__', not `__attributes__'. - Test __GNUC_MINOR__ < 6, not < 5. - -Wed Nov 10 05:39:15 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/unix/morecore.c: Only declare sbrk #ifdef __GNU_LIBRARY__. - Cast its return value. - - * sysdeps/unix/bsd/m68k/syscall.S: Use movel in place of moveal. - - * configure.in (signed size_t check): Don't use AC_DEFINE; do it - by hand and insert -U__SIZE_TYPE__ before -D. - - * posix/unistd.h: Declare syscall. - - * sysdeps/m68k/fpu/__math.h (__isnan, __isinf): Use __CONSTVALUE - in prototypes. - - * configure.in (Makefile): Write ARCH=`pwd`, rather than - substituting in the directory name at configure time. - - * sysdeps/mach/i386/syscall.S: New file. - -Tue Nov 9 06:29:15 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * configure.in (os = netbsd* | 386bsd*): base_os=unix/bsd/bsd4.4. - Set --with-gnu-{ld,as} implicitly when base_os is bsd4.4. - - * Version 1.06.7. - - * misc/Makefile (routines): Add syscall. - * sysdeps/unix/syscall.S, sysdeps/stub/syscall.c, - sysdeps/unix/bsd/sun/m68k/syscall.S, sysdeps/unix/bsd/m68k/syscall.S, - sysdeps/unix/i386/syscall.S: New files. - * sysdeps/unix/bsd/hp/m68k/sysdep.h (DO_CALL): First arg - is syscall number, not name. - (PSEUDO): Pass POUND (SYS_ify (syscall_name)) to DO_CALL. - * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h (DO_CALL, PSEUDO): - Likewise. Also, do movel into d0 before linkw, so the argument - could conceivably pop the stack. - * sysdeps/unix/bsd/hp/m68k/__brk.S: Pass complete number to DO_CALL. - - * sysdeps/unix/sysv/Dist: sys_getdents.S was renamed s_getdents.S. - -Thu Nov 4 01:23:59 1993 Michael I. Bushnell (mib at ernst.gnu.ai.mit.edu) - - * string/stpncpy: Fix typo; according to gnu-stabs.h the name - inside the DEFUN should be the *non* __ version. - * sysdeps/generic/__stpncpy.c: Missing declaration of s. - -Wed Nov 3 09:35:30 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/unix/Makefile ($(objpfx)errlist.c): Conditionalize these - rules to be used only when errlist.c is otherwise a stub. - -Fri Oct 29 17:29:20 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * string/stpncpy.c: New file. - * sysdeps/generic/__stpncpy.c: New file. - * string/Makefile (routines): Add stpncpy and __stpncpy. - * string/string.h [__USE_GNU__]: Declare them. - -Thu Oct 28 17:13:58 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/unix/errnos-tmpl.c (DO): If NAME is "EWOULDBLOCK", - write "#define EWOULDBLOCK EAGAIN" and change NAME to - "EWOULDBLOCK_sys". - * sysdeps/unix/{i386,sysv/sysv4/solaris2,sysv/i386/linux,bsd/m68k, - bsd/ultrix4/mips,bsd/vax}/sysdep.S [EWOULDBLOCK_sys]: Translate - EWOULDBLOCK_sys into EAGAIN. - * Makefile (distribute): Add move-if-change. - * move-if-change: New file. - -Tue Oct 26 18:19:34 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * misc/sys/cdefs.h: Define __NORETURN and __CONSTVALUE. - For GCC 2.5 and later, use __attributes__ (({volatile,const})). - * stdlib/stdlib.h: Don't define either here. - * math/math.h: Likewise. - * posix/unistd.h: Likewise. - * time/time.h: Likewise. - * stdio/stdio.h: Likewise. - * setjmp/setjmp.h: Likewise. - - * posix/sys/wait.h (__WAIT_STATUS): Use union hack defn for GCC - 2.4 and up (testing __GNUC__ and __GNUC_MINOR__). - - * sysdeps/unix/sysv/sco3.2.4/__sysconf.S: Don't include . - - * Makerules [inhibit-sysdep-asm] - (open-check-inhibit-asm, close-check-inhibit-asm): New variables. - ($(+sysdir_pfx)sysd-rules): Use them around .s and .S rules. - Depend on existing sysdep makefiles. - -Mon Oct 25 15:56:41 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/mach/hurd/killpg.c: Include for pid_t. - - * sysdeps/posix/tempname.c (__stdio_gen_tempname): Take new arg - STREAMPTR. When non-nil, use __open with O_EXCL to test for - existence, and set *STREAMPTR to new stream on returned fd. - * stdio/stdio.h: Update prototype. - * sysdeps/stub/tempname.c: Here too. - * stdio/tmpfile.c: Pass &F to __stdio_gen_tempname instead of - using fopen. - * stdio/tmpnam.c: Pass extra NULL arg. - * stdio/tempnam.c: Likewise. - - * configure.in (switches): Only put --os-{release,version} here. - (config.status): Write $configure_args in place of $config $switches. - - * signal/Makefile (routines): Renamed sigaltstack to sigaltstk. - * sysdeps/stub/sigaltstack.c: Renamed to sigaltstk.c. - * sysdeps/unix/bsd/bsd4.4/sigaltstack.S: Renamed to sigaltstk.S. - * sysdeps/unix/sysv/sys_getdents.S: Renamed to s_getdents.S. - * sysdeps/unix/sysv/Makefile (sysdep_routines): Changed reference. - -Fri Oct 22 03:47:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * malloc/realloc.c [MEMMOVE_MISSING]: Test this to use safe_bcopy. - [emacs]: Don't define safe_bcopy. - - * time/zdump.c, time/europe: New versions from ADO. - - * Rules (dont_distribute): Export this variable. - (subdir_echo-distinfo): Echo its value for +nodist+. - -Thu Oct 21 15:58:08 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/posix/__dup2.c: Include . - [OPEN_MAX]: Fail with EBADF if FD2>=OPEN_MAX. - - * sysdeps/unix/Makefile (sys/param.h): Conditionalize all this - code to happen only when there is no sysdep sys/param.h. - -Wed Oct 20 03:35:41 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Makerules (make-dummy-dep): Change to `ln $(objpfx)dummy.dep $@'. - ($(objpfx)dummy.dep): Create new file containing comment. - ($(objpfx)%.dep: $(objpfx)%.s): Depend on $(objpfx)dummy.dep. - ($(+sysdir_pfx)sysd-rules): Likewise in generated rule. - -Mon Oct 18 04:22:42 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * signal/signal.h (killpg): Make PGRP arg pid_t. - * sysdeps/posix/killpg.c (killpg): Likewise. - * sysdeps/stub/killpg.c (killpg): Here too. - - * posix/glob/configure.in: Use AC_HAVE_HEADERS instead of - AC_MEMORY_H and AC_UNISTD_H; omit AC_USG (not needed). - - * Rules (generated): New target. - - * Makefile (subdirs): Use filters to put mach and hurd first in - the list if they are in it at all. - * Makerules (before-compile): Reorder similarly, matching any - generated mach or hurd files. - -Fri Oct 15 17:57:58 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/posix/mk-stdiolim.c [! OPEN_MAX]: Use _POSIX_OPEN_MAX - for FOPEN_MAX value. - [! PATH_MAX]: Use 1024 (twice _POSIX_PATH_MAX) for FILENAME_MAX value. - - * Makerules (in-Makerules): Define this variable before including - sysd-Makefile. - -Sun Oct 10 14:31:35 1993 Jim Meyering (meyering@comco.com) - - * posix/fnmatch.c [CONFIG_BROKETS]: Include only under - this condition, else "config.h". - -Tue Oct 05 16:08:39 1993 Jim Meyering (meyering@comco.com) - - * time/mktime.c [CONFIG_BROKETS]: Include only under - this condition, else "config.h". - -Thu Sep 23 15:14:08 1993 Brendan Kehoe (brendan@zen.org) - - * sysdeps/unix/sysv/sysv4/__dup2.c: New file. - -Wed Sep 22 16:58:29 1993 Brendan Kehoe (brendan@zen.org) - - * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h: New file. - * sysdeps/unix/sysv/sysv4/i386: New directory. - * sysdeps/unix/sysv/sysv4/i386/statbuf.h: New file. - -Fri Sep 17 04:03:26 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Makerules (+make-deps): Put output in temp file and use atomic mv. - - * Makerules ($(+sysdir_pfx)sysd-rules): New target, the rule part - of what was in sysd-Makefile. Include it. - ($(+sysdir_pfx)sysd-Makefile): Do just includes here. Move the - generated implicit rules to sysd-rules. Put the output into a - temp file and use atomic mv to final target. - (before-compile): Filter out existing files from value, after - sysd-Makefile but before sysd-rules. - -Thu Sep 9 22:28:13 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Makefile (%/configure): Copy rule from Make-dist. - -Mon Sep 6 19:57:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Makerules (sources, objects): Move override definitions to - before +depfiles calculation. - - * time/{asia,australasia,europe,zdump.c}: New versions from ADO (93e). - -Mon Aug 30 13:40:34 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * string/string.h (memmem): Reverse argument order, to be like strstr. - * sysdeps/generic/memmem.c: Here too. - - * dirent/scandir.c: For error return, save errno around closedir. - Call closedir (DP) before returning successfully. - -Thu Aug 26 19:26:06 1993 Brendan Kehoe (brendan@zen.org) - - * sysdeps/unix/sysv/sysv4/solaris2/sysdep.h: Rewritten to not use - the generic sparc sysdep.h. - (PSEUDO): Use trap 8, not 0. Also just put %g0 in %o0, without - subtracting 1. - (ENTRY): Align on 4, and add a `.type' directive. - * sysdeps/unix/sysv/sysv4/solaris2/sysdep.S: New file. - -Fri Aug 20 19:37:55 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/generic/abort.c: Remove unused variable ABORTING. - -Thu Aug 19 17:45:34 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Makeconfig [!objdir] [!..] (common-objdir): Set to `.'. - -Wed Aug 18 15:10:13 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * stdio/__vfscanf.c (__vfscanf: number): Reverse sense of - NUMBER_SIGNED conditional in assignment code. - -Mon Aug 16 15:49:13 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/unix/Makefile (syscall.h): Add sed - s/SYS_syscall_basenum/syscall_basenum/g. SYSCALL_BASENUM is a - macro both defined and used in ; we must undo our - prependation of `SYS_'. - - * Version 1.06.6. - -Fri Aug 13 16:53:02 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * stdio/__vfscanf.c: New local variable NUMBER_SIGNED. - (%x, %X, %o, %u): Set it to zero. - (%d, %i): Set it to one. - (number): If NUMBER_SIGNED is set, use strtol and store in ...int*. - If clear, use strtoul an store value in unsigned ...int*. - - * malloc/malloc.h: Undo last change (_AIX32). - (memory_warnings): Use const instead of __const in prototype. - -Fri Aug 13 00:22:01 1993 John Grabowski (johng@whiskey.media.mit.edu) - - * configure.in (os = osf1*): base_os=unix/bsd. - -Thu Aug 12 16:37:13 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * malloc/valloc.c [__GNU_LIBRARY__ || _LIBC]: Include - before trying to use size_t to declare __getpagesize. - Include before trying to use __P. - - * posix/{fnmatch,glob}.c, malloc/malloc.h [HAVE_CONFIG_H]: Include - instead of "config.h". This is so that a compilation - using -I. -I$srcdir will use ./config.h rather than - $srcdir/config.h (which it would do when glob.c was found in $srcdir). - - * malloc/malloc.h [_AIX32]: Use !__STDC__ defns of __P, const, __ptr_t. - -Mon Aug 9 16:56:31 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Makerules (-e check): Don't rely on $(findstring e,$(MAKEFLAGS)) - since that also trips for --no-print-directory. - Instead actually see if -e's functionality is taking place. - - * malloc/realloc.c: Call _free_internal instead of free in most places. - - * configure.in (arg parsing): No spaces around = in eval. - - * sysdeps/i386/abort.c: New file. - * stdlib/abort.c: Moved to sysdeps/generic/abort.c. - (abort): Don't try to do stdio cleanup, since we can't guarantee - it anyway. - -Fri Aug 6 17:59:56 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Makerules ($(+install)): Don't depend on installdirs. - (make-target-directory): New define. - (do-install): Do $(make-target-directory) beforehand. - -Tue Aug 3 02:22:41 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/stub/sys/reboot.h: New file. - * sysdeps/unix/bsd/sys/reboot.h: New file, snarfed from 4.4. - * misc/Makefile (headers): Add sys/reboot.h. - - * stdio/stdio.h (__io_{read,write,seek,close,fileno}): Renamed to - __io_*_fn, so as not to conflict with the Hurd mig stubs. - * internals.c: Changed uses. - - * sysdeps/unix/bsd/signum.h (SIGINFO): Define as 29. - - * Makerules (+includes): Don't set this here. - * Makeconfig (+includes): Put $(+sysdep-includes) in the value here. - - * posix/unistd.h [__USE_MISC]: Declare mktemp and mkstemp. - -Mon Aug 2 16:59:12 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * malloc/valloc.c: Move getpagesize goop to before malloc.h. - [_LIBC]: Test this as well as __GNU_LIBRARY__ (either one) to use - __getpagesize instead of "getpagesize.h". - -Sun Aug 1 16:55:18 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * configure.in (arg parsing): For `--with-foo=bar', do - "with_foo='bar'". For `--with-fnord', do "with_fnord=yes". - * sysdeps/mach/configure: New file, groks `--with-mach=DIR'. - -Fri Jul 30 00:01:00 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * configure.in (os = gnu*): Set $base_os, not $os, to mach/hurd. - -Thu Jul 29 17:46:02 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * ctype/ctype.h (__isctype): Don't test !=0, to avoid possible - extra test insn. - -Sun Jul 25 22:19:04 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * setjmp/setjmp.h [! __FAVOR_BSD] (_longjmp): Define as longjmp. - -Thu Jul 22 14:57:15 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/unix/bsd/osf1/sigaction.h: New file. - - * sysdeps/stub/signum.h: Deansideclized. - * sysdeps/stub/pipestream.c (pclose): Test STREAM->__ispipe - instead of __ispipe (STREAM). - * sysdeps/stub/__wait3.c: Fix arg types. - * sysdeps/stub/__ioctl.c: Add missing close paren. - * sysdeps/stub/__getpgsz.c: Include for size_t. - * sysdeps/stub/__get[gu]id.c: Include ; fix return type. - * sysdeps/stub/__set[gu]id.c: Include ; fix arg type. - * sysdeps/stub/__mknod.c: Include ; fix arg types. - - * sysdeps/generic/termbits.h (INLCR, ISTRIP): Fixed typo'd values. - - * stdio/stdio.h (vprintf): Fix last arg type to __gnuc_va_list. - * stdio/vprintf.c (vprintf): Here too. - - * malloc/malloc.c (malloc) [SUNOS_LOCALTIME_BUG]: Put this crap - after hook and initialization. - - * stdio/stdio.h (__validfp): Use a little anonymous struct to find - the real stream ptr from in glue stream. It used to rely on using - `((int *) STREAM)[1]'; but that assumes no struct padding, and - there will be some when int is 32 bits and pointers are 64. - - * malloc/mtrace.c: Use %lx instead of %x for `size_t' formats. - -Wed Jul 21 18:20:41 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * malloc/malloc.c (malloc): Handle SUNOS_LOCALTIME_BUG. - -Wed Jul 21 16:42:14 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * time/Makefile (extra-objs): Remove gratuitous - in `z.%'. - - * Makefile [+gnu-stabs] (generated): Add $(objpfx)munch-init.c. - (distclean): Also remove sysd-Makefile and sysd-dirs in $(objpfx). - (distclean) [objdir]: Also remove $(objpfx)Makefile. - - * sysdeps/posix/Makefile (generated): Add $(common-objpfx)mk-stdiolim. - (generated, before-compile): Take defns out of ifeq ($(subdir),posix). - - * sysdeps/unix/common/Makefile (generated): Include ctype-glue.c, - not glue-ctype.c. - - * sysdeps/unix/configure (unix_generated): New variable; collect - names of created files in it. - (config_vars): Write an assignment for `unix-generated' to that list. - * sysdeps/unix/Makefile (generated): Append $(unix-generated) - (with either $(objpfx) or $(sysdep_dir)/unix/ prepended to each file). - - * Makefile (clean): Pass no_deps=t to subdir_clean make. - -Sun Jul 18 21:42:05 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * malloc/malloc.c (malloc): After getting more core, recompute - BLOCK before adding to _heapinfo[BLOCK].free.size. - -Fri Jul 16 16:32:40 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * stdlib/Makefile (generated): Prepend $(objpfx). - * sysdeps/unix/sysv/Makefile (generated): Likewise. - - * sysdeps/posix/mktemp.c: Return when stat fails with ENOENT, not - when it succeeds. - -Wed Jul 14 14:51:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * locale/localeconv.c: Fix copying notice to LGPL. - -Mon Jul 12 21:58:27 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * malloc/mcheck.c (reallochook): Set HDR->magic to MAGICWORD. - -Mon Jul 5 15:55:08 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * malloc/realloc.c (memmove): Swap the args when calling safe_bcopy. - -Thu Jul 1 16:26:56 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * malloc/malloc.c [_LIBC] (_malloc, _free, _realloc): Define these - functions to just call malloc, free, and realloc, respectively. - -Wed Jun 30 16:42:10 1993 Torbjorn Granlund (tege@gnu.ai.mit.edu) - - * sysdeps/generic/memcmp.c (memcmp_bytes): New function for - little endian machines. - (memcmp_common_alignment, memcmp_not_common_alignment): Rework - code computing return values. - -Wed Jun 30 14:42:00 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/unix/Makefile (local_lim.h): Only generate local_lim.h - if the sysdep version would be stub. - - * sysdeps/unix/mk-local_lim.c: #include before all else. - - * configure.in (config_{machine,vendor,os}): Store config.sub's - output in these new variables. - (machine, vendor, os): Set these from those. - (config-name.h, config.make): Write $config_* (the original values - from config.sub). - - * sysdeps/unix/sysv/sysv4/pgrpsys.S: Add arg count (3). - -Tue Jun 29 02:47:46 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Version 1.06.4. - -Mon Jun 28 00:37:12 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * stdio/internals.c (__stdio_check_funcs): New function, broken out - of init_stream. - (init_stream): Call it. - * sysdeps/posix/pipestream.c (popen): Call __stdio_check_funcs - before frobnicating STREAM's functions. - - * sysdeps/posix/pipestream.c (pclose): Free C, our data structure, - not STREAM->__cookie after it's been restored. - - * sysdeps/generic/strchr.c: Check for '\0' as well as C, in initial - byte-by-byte loop. - - * conf/portability.h: #undef BSD. - -Sun Jun 27 23:46:05 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/unix/bsd/m68k/__wait.S [__motorola__]: Use Motorola syntax. - * sysdeps/unix/bsd/m68k/sysdep.S: Likewise. - * sysdeps/unix/bsd/m68k/__pipe.S: Likewise. - * sysdeps/m68k/__longjmp.c (__longjmp) [__motorola__]: Use - Motorola syntax in jmp insn. - -Fri Jun 25 16:17:07 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/{stub,posix,unix/sysv/sysv4}/__sysconf.c (__sysconf): - For _SC_TZNAME_MAX, just return __tzname_max (). - * sysdeps/unix/sysv/sco3.2.4/__sysconf.S: Define __sysconf, not - sysconf. For _SC_TZNAME_MAX, just jump to __tzname_max. - - Undo June 21 change that made __tzname_max a variable - and expected TZNAME_MAX to sometimes be defined. - POSIX.1 does not require that it be defined; sysconf is enough. - * time/time.h (__tzname_max): Declare as a function. - * posix/posix1_lim.h: Don't include . - * sysdeps/stub/tzname_max.h: File removed. - * time/Makefile (headers): Remove tzname_max.h. - (distribute): Remove make-tzlim.c. - (extra-objs): Remove make-tzlim.o and make-tzlim. - ($(common-objpfx)tzname_max.h): Target removed. - * time/make-tzlim.c: File removed. - * time/__tzset.c (__tzname_cur_max): Define this variable instead - of __tzname_max. - (__tz_compute): Set __tzname_cur_max, not __tzname_max. - (__tzname_max): New function. - * time/tzfile.c (compute_tzname_max): Set __tzname_cur_max, not - __tzname_max. - - * malloc/malloc.h [_MALLOC_INTERNAL] [! (_LIBC || STDC_HEADERS || USG)] - (memmove): Don't define. - * malloc/realloc.c [!_LIBC && !STDC_HEADERS && !USG] (safe_bcopy): - New static function. - (memmove): Define to safe_bcopy. - -Wed Jun 23 15:10:51 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/unix/sysv/sco3.2.4/pgrpsys.S: New file, #include sysv4 file. - * sysdeps/unix/sysv/sco3.2.4/Dist: New file, list pgrpsys.S. - -Tue Jun 22 02:44:16 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/unix/sysv/sco3.2.4/Makefile (sysdep_routines): Use - pgrpsys instead of sco_pgrp. - * sysdeps/unix/sysv/sco3.2.4/{Dist,sco_pgrp.S}: Files removed. - * sysdeps/unix/sysv/sco3.2.4/__{getpgrp,setpgrp,setsid}.c: Just - include the respective unix/sysv/sysv4 files. - - * sysdeps/unix/sysv/sysv4/pgrpsys.S: New file. - * sysdeps/unix/sysv/sysv4/__getpgrp.c: New file. - * sysdeps/unix/sysv/sysv4/__setpgrp.c: New file. - * sysdeps/unix/sysv/sysv4/__setsid.c: New file. - * sysdeps/unix/sysv/sysv4/Dist: Add pgrpsys.S. - * sysdeps/unix/sysv/sysv4/Makefile (sysdep_routines): Add pgrpsys. - - * sysdeps/unix/bsd/bsd4.4/__setsid.S: Moved from unix/sysv/sysv4. - * sysdeps/unix/{bsd/sun/sunos4,bsd/ultrix4,sysv/linux}/__setsid.S: - Include bsd4.4 instead of sysv4 file. - -Mon Jun 21 19:08:04 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * posix/posix1_lim.h: #include . - * sysdeps/stub/tzname_max.h: New file (no-op). - * time/make-tzlim.c: New file. - * time/Makefile (headers): Add tzname_max.h. - (distribute): Add make-tzlim.c. - (extra-objs): Add make-tzlim.o and make-tzlim. - ($(common-objpfx)tzname_max.h): New target. - - * sysdeps/unix/sysv/sco3.2.4/confname.h (_SC_TZNAME_MAX): Define. - * sysdeps/unix/sysv/sco3.2.4/__sysconf.S: Detect arg being - _SC_TZNAME_MAX, and return max of TZNAME_MAX and __tzname_max. - - * sysdeps/stub/__sysconf.c: Include and . - Handle _SC_TZNAME_MAX and return max of TZNAME_MAX and __tzname_max. - * sysdeps/posix/__sysconf.c: Change _SC_TZNAME_MAX code to that. - * sysdeps/unix/sysv/sysv4/__sysconf.c: Likewise. - - * time/time.h (__tzname_max): Declare as variable, not function. - * time/__tzset.c (__tzname_max): Function removed. - (__tz_compute): Set the __tzname_max variable. - * time/tzfile.c (compute_tzname_max): New function. - (__tzfile_{read,default}): Call it. - -Sun Jun 20 18:32:49 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * time/zic.c, time/asia: New versions from ADO. - -Wed Jun 16 17:24:28 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Version 1.06.3. - -Fri Jun 11 15:44:53 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/unix/bsd/m68k/__pipe.S: Use `movel' instead of `moveal', - which sun3 as does not appear to grok. - * sysdeps/unix/bsd/sun/m68k/__vfork.S: Likewise. - -Thu Jun 10 20:23:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/m68k/Makefile (as-pipe-ok): Define if -pipe is used in - compiler invocations, or if using GNU as. - (compile-command.S): Define using a pipe if `as-pipe-ok' is defined, - otherwise with a temporary file. - - * Makeconfig (gnu-as): Define if -DHAVE_GNU_AS appears in $(CPPFLAGS). - -Wed Jun 9 15:14:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * configure.in (os frobnication): Turn underscores as well as - lowercase Vs into dots in os name. - - * sysdeps/unix/start.c [__GNUC__] (_start): Use asm name "start" - only if [! NO_UNDERSCORES]. - -Tue Jun 8 14:51:00 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * sysdeps/unix/bsd/ultrix4/mips/__handler.S: Don't save the stack - pointer. - -Mon Jun 7 21:01:24 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * time/Makefile (tzcompile): Remove -d switch, since zic-cmd has one. - - * time/{private.h,zic.c}: New versions from ADO. - - * sysdeps/unix/bsd/hp/m68k/__brk.S (error): Renamed label from `1', - (__brk): Use DO_CALL instead of movel and trap. - - * sysdeps/unix/bsd/sony/newsos4: Renamed sysdeps/unix/bsd/sony/newsos. - * sysdeps/unix/bsd/sony/m68k/{Implies,sysdep.h}: Moved there. - - * sysdeps/unix/bsd/hp/m68k/sysdep.h (DO_CALL): New macro, broken - out of PSEUDO. - (PSEUDO): Use it. - * sysdeps/unix/bsd/sony/newsos4/m68k/sysdep.h - (DO_CALL, PSEUDO): Likewise. - - * configure.in: Set --with-gnu-{ld,as} for os=bsd4.4. - -Fri Jun 4 14:11:00 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/i386/{strlen,memchr}.c: Use `repnz' instead of `repne'. - - * time/Makefile (zonenames): Rename zones-* to z.* so they all fit - in 14 chars. - (extra-objs): Here too. - - * sysdeps/unix/sysv/direct.h (D_RECLEN): New macro. - * sysdeps/unix/readdir.c (D_RECLEN): If not defined, define to use - `d_reclen' member. - (readdir): Use D_RECLEN (DP) in place of DP->d_reclen. - -Thu Jun 3 16:54:29 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/m68k/bytesex.h: New file. - - * sysdeps/unix/ioctls-tmpl.c [sony_news]: Define KANJI before - including . - -Wed Jun 2 17:45:38 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * malloc/Makefile (%.gz): Renamed target from %.z; use -v flag. - (malloc/ChangeLog): Use mv -f. - -Mon May 31 21:49:04 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Version 1.06.2 released. - - * manual/Makefile: Remove all uses of $(objpfx). Since the - generated files are distributed, they reside in the source - directory. - - * malloc/mtrace.c: #include ; malloc.h no longer does. - - * sysdeps/posix/sleep.c: Restore signal mask to OSET before - returning. Save errno on entry and restore it before returning. - - * Makeconfig (zonedir): New variable. - * time/Makefile (localtime-file, posixrules-file, install-others, - $(localtime-file), $(posixrules-file), tz-cc): Use $(zonedir) in - place of $(datadir)/zoneinfo. - (tzcompile): Omit -d switch. - (zic-cmd): Add `-d $(zonedir)'. - -Sun May 30 20:04:50 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/posix/stdio_init.c: (int)cookie is FD, not *(int*)cookie. - - * time/Makefile ($({localtime,posixrules}-file)): Don't pass -d - switch (no need, since directory is compiled into zic). Don't use - $(. - [_MALLOC_INTERNAL]: Move config.h, limits.h, and mem* to front of file. - (NULL): Move after stddef.h. - - * malloc/valloc.c: Don't include config.h; malloc.h already did. - - * malloc/malloc.c: Undo rms's change. - - * malloc/mcheck.c, malloc/malloc.h: Undo rms's change. - -Sat May 29 13:04:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * malloc/malloc.c (malloc) [emacs]: If size is 0, make it 1. - - * malloc/malloc.h (CONST): Define this always, - rather than `const' sometimes. - (memory_warnings): Use CONST, not __const, in decl. - * malloc/mcheck.c (checkhdr): Use CONST, not const. - -Fri May 28 18:29:26 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/unix/Makefile (ioctls): Use fgrep instead of egrep to - omit unwanted symbols. Filter the list of them through sort|uniq - to remove duplicates first. - - * sysdeps/unix/Makefile (errlist.c): Use dir and notdir - functions to guarantee qualified path name for make_errlist. - -Thu May 27 17:05:04 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Version 1.06.1. - - * sysdeps/sparc/Dist: Include sdiv.S, not div.S. - - * sysdeps/unix/common/Dist: Remove make_siglist.c. - - * stdio/internals.c: Declare __stdio_fileno before reference. - - * sysdeps/generic/{memchr,strchr,strlen}.c: Abort if words are - bigger than 64 bits. - -Wed May 26 14:44:19 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Makerules [objects] (install-others): Don't add libc.a to this. - (install): Depend on $(libdir)/libc.a. - (intall-no-libc.a): New target, depends on $(+install). - (install): Don't depend on $(+install), just on install-no-libc.a. - * Rules (subdir_install): Depend on install-no-libc.a, not install. - - * Makefile ($(libc.a)): Don't depend on subdir_lib. - (lib-noranlib): Depend on subdir_lib. - - Make `fileno' a per-FILE io operation. - * stdio/stdio.h (__io_fileno): New typedef. - (__io_functions): Add `__fileno' member. - (struct __stdio_file): Remove `__fileno' member. - [__USE_POSIX] [__OPTIMIZE__]: Remove fileno macro defn. - [__USE_POSIX] (fileno): Remove `const' from arg in prototype. - * stdio/fileno.c (fileno): Rewritten to call STREAM's __fileno fn. - * sysdeps/stub/sysd-stdio.c (__stdio_fileno): New function. - (__stdio_open): Return an int (zero for win, nonzero for lose), - and make third arg PTR * (filled in with cookie). - * stdio/stdio.h (__stdio_open): Changed prototype. - * sysdeps/posix/sysd-stdio.c (__stdio_open): Likewise. - (__stdio_{read,write,seek,close}): Use (int) COOKIE as the fd, rather - than *(int *) COOKIE. - (__stdio_fileno): New function; just returns (int) COOKIE. - * sysdeps/posix/fdopen.c: Set cookie to (PTR) FD; don't set fileno. - * stdio/vdprintf.c: Likewise. - * stdio/fmemopen.c: Set STREAM->__io_funcs.__fileno to NULL. - Set STREAM->__cookie to NULL and don't use STREAM->__fileno. - * stdio/internals.c (__default_io_functions): Add __stdio_fileno. - * sysdeps/posix/defs.c (stdstream): Initialize __cookie to (PTR) FD - Remove __fileno initializer. - Add NULL initializer for __io_funcs.__fileno. - * sysdeps/posix/pipestream.c (struct child): Remove `fd' member. - Add `cookie' and `funcs' members. - (FUNC): Macro to define child io_funcs. - (child_funcs): New variable, __io_functions struct of them. - (popen): Store STREAM's original cookie and io_funcs in CHILD, and - then set STREAM->__cookie to CHILD and stream->__io_funcs to - child_funcs. - (pclose): Restore STREAM's original cookie and io_funcs before - calling fclose. - - * configure.in (autoconf checks): Add new check for a - libc-friendly stddef.h. - - * sysdeps/unix/configure: Remove __getpgrp from list of syscalls. - - * sysdeps/generic/memchr.c: Handle 64-bit longwords. - * sysdeps/generic/strlen.c: Likewise. - * sysdeps/generic/strchr.c: Likewise. - - * sysdeps/unix/sysv/sco3.2.4/Makefile: Remove gratuitous `.c'. - - * Makerules [objects] (install-others): Add $(libdir)/libc.a to - this, instead of adding $(libc.a) to install-lib. - ($(libdir)/libc.a): New target to install from $(libc.a). - - * sysdeps/unix/sysv/sco3.2.4/__setsid.S: New file. - * sysdeps/unix/bsd/bsd4.4/__setsid.S: New file. - -Mon May 24 16:49:54 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/unix/sysv/linux/__setsid.S: Moved to unix/sysv/sysv4, - and replaced with #include of that. - * sysdeps/unix/bsd/sun/sunos4/__setsid.S: New file. - * sysdeps/unix/bsd/ultrix4/__setsid.S: New file. - - * posix/Makefile (install): Define to getconf. - - * crypt: New version from glad. - - * sysdeps/unix/sysv/sysv4/__sysconfig.S: Renamed to sysconfig.S. - * sysdeps/unix/sysv/sysv4/Makefile (sysdep_routines): Change reference. - * sysdeps/unix/sysv/sysv4/Dist: Add sysconfig.S. - - * sysdeps/generic/Makefile (siglist.c): Use dir and notdir - functions to guarantee qualified path name for make_siglist. - - * time/Makefile (tzcompile): Use $(@D) for target directory, not - reference to nonexistent 4th dep. - (localtime-file, posixrules-file): Turn these into absolute names. - (install-others): Simply refer to them. - ($(datadir)/zoneinfo/{localtime,posixrules}): Change targets of - these rules to $(localtime-file) and $(posixrules-file), respectively. - Use $( for BUFSIZ. - - * sysdeps/unix/i386/sysdep.h (PSEUDO): Put ; after DO_CALL use. - - * sysdeps/i386/ffs.c: Use `nonzero' for asm label, instead of `1f'. - -Sun May 16 17:59:58 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/unix/bsd/sequent/i386/__sigvec.S: Don't get fancy with - xchg; just push $trampoline and then push our args again, pop them - after the system call. - - * time/tzfile.c (__tzfile_default): Don't assume TYPES[0] is - standard and TYPES[1] is DST. Instead, loop through all types: - if a type's isdst flag is set, set its idx to STDLEN and its - offset to DSTOFF; if isdst is clear, set its idx to 0 and its - offset to STDOFF. - - * time/__tzset.c: When __tzfile_default returns having set - __use_tzfile, set __tzset_run before returning. - - * sysdeps/posix/sleep.c: Block SIGALRM with sigprocmask before - changing its handler. Use sigaction instead of signal to set the - handler. Use sigsuspend to restore the blocked signals and pause - atomically, instead of using pause. Be sure to disable the alarm - when a signal other than SIGALRM wakes sigsuspend. - - * time/Makefile (zic-cmd): Put the directory before the nondirectory. - - * Makerules (stubs): Remove surrounding `ifdef +depfiles'...`endif'. - - * time/Makefile: Include ../Makeconfig before trying to use $(objpfx). - - * time/tzfile.c (__tzfile_compute): When there are transitions and - TIMER is not before the first one, find the first transition after - TIMER, and then set I to the type of the transition before it. - Set INFO from types[I], not types[type_idxs[I]]. - - * posix/Makefile (glob/configure): cd to glob before running autoconf. - - * time/__tzset.c (compute_change): Don't add 1900 to YEAR. - (__tz_compute): Add 1900 to the year we pass to compute_change. - - * time/gmtime.c: After calling __offtime, zero tm_gmtoff and set - tm_zone to "GMT". - - * time/time.h [__OPTIMIZE__]: Remove gmtime macro version. - - * time/tzfile.c (__tzfile_default): Fail if NUM_TYPES < 2, not if - NUM_TYPES != 2. - - * time/tzfile.c (__tzfile_compute): Don't take arg TM. - Instead take new args long int *LEAP_CORRECT and int *LEAP_HIT. - Don't apply leap second correction to __timezone; instead set - *LEAP_CORRECT and *LEAP_HIT. - * time/__tzset.c (tzset_run): Renamed to __tzset_run, made global. - (__tzset): Change uses. - (__tz_compute): Change use here as well. - Make second arg be a `const struct tm *'. Don't call __tzfile_compute. - * time/localtime.c: Call __tzset if __tzset_run is clear. - New local vars LEAP_CORRECTION and LEAP_EXTRA_SECS. - If __use_tzfile is set, call __tzfile_compute and pass it their - addresses. Only need to call gmtime if __use_tzfile is clear. If - it is clear, pass result of gmtime to __tz_compute, instead of - dereferencing it first; and zero LEAP_CORRECTION and LEAP_EXTRA_SECS. - Subtract LEAP_CORRECTION from __timezone in __offtime call. - After __offtime, add LEAP_EXTRA_SECS to TP->tm_sec. - - * sysdeps/generic/strsep.c: Increment END when writing a null to - it, and set *STRINGP to END rather than END+1, so *STRINGP never - points past the null. - -Sat May 15 17:10:02 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * time/strftime.c: Alphabetize switch cases. - Add GNU extensions %h, %C, %k, %l. - - * time/asctime.c: Make RESULT big enough for each %d to be 2^64. - Protect against tm_wday and tm_mon being out of bounds; use "???" - if they are. - - * time/{emkdir,ialloc,scheck,zic,zdump}.c: New versions from ADO. - - * time/africa, time/antarctica, time/asia, time/australasia, - time/europe, time/northamerica, time/southamerica, - time/pacificnew, time/etcetera, time/factory, time/systemv, - time/solar87, time/solar88, time/solar89, time/leapseconds: - Updated from Arthur David Olsen's latest. - - * sysdeps/generic/__expm1.c, sysdeps/generic/asinh.c, - sysdeps/generic/exp__E.c, sysdeps/generic/log.c, - sysdeps/generic/log1p.c, sysdeps/generic/mathimpl.h, - sysdeps/generic/pow.c, sysdeps/mach/hurd/__ioctl.c, - sysdeps/mach/hurd/stdio_init.c, sysdeps/unix/bsd/clock.c: Put - `const' qualifier always after storage classes. - - * sysdeps/unix/bsd/sequent/i386/__sigvec.S (trampoline): Use - `call', not `jsr'. - (__sigvec): Exchange the scratch reg with 16(%esp) (fourth arg - slot), not 0(%esp) (return PC slot). Use ARGS_4 to point the - syscall at the args. - - * sysdeps/unix/common/__getgrps.c: When gid_t==int, and SIZE!=0, - return N from __bsd_getgroups. - - * posix/unistd.h (__need_NULL): Define before including . - 1003.1-1990 2.7.1 says it should be here. - -Sat May 15 14:54:25 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) - - * time/__tzset.c (compute_change): Add 1900 to YEAR, not 1970. - -Fri May 14 21:24:19 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * sysdeps/unix/sysv/sysv4/solaris2/start.c: Define NO_EXPLICIT_START. - * sysdeps/unix/sparc/start.c [NO_EXPLICIT_START]: Don't asm - `_start' into `start' (e.g., for Solaris). - - * sysdeps/unix/sysv/sysv4/solaris2/sysdep.h: New file. - -Fri May 14 19:34:54 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * malloc/Makefile: Remove depend-malloc dependency on malloc/gmalloc.c. - - * posix/Makefile (headers): Add sys/unistd.h. - * posix/sys/unistd.h: New file, just includes . - - * sysdeps/unix/common/glue-ctype.c (main): Define generated array - as `unsigned char' rather than `char'. - - * sysdeps/unix/start.c [__GNUC__]: Use asm frob to make `start' - asm name of _start. - - * sysdeps/unix/opendir.c [! _STATBUF_ST_BLKSIZE]: Don't fstat and - use st_blksize; try BUFSIZ instead. - - * sysdeps/unix/Makefile (ioctls): Don't use sed to remove final | - from snarf-ioctls output; just append a dummy alternative instead. - - * sysdeps/posix/__wait3.c: Fix arg types. - - * Makerules ($(common-objpfx)stub-$(subdir)): Use @ for sed - separator char. Pass extra file /dev/null in case `...` gets empty. - - * sysdeps/unix/sysdep.h (C_LABEL): Define new macro. - * sysdeps/unix/i386/sysdep.h (ENTRY): Use it. - * sysdeps/unix/sparc/sysdep.h (ENTRY): Likewise. - * sysdeps/unix/sparc/__brk.S: Use C_LABEL and ENTRY instead of - C_SYMBOL_NAME. - * sysdeps/unix/i386/__brk.S: Use C_LABEL instead of C_SYMBOL_NAME. - -Fri May 14 17:41:42 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * sysdeps/mips/sqrt.c [HAVE_GNU_AS]: Use the IEEE 754 version of - sqrt since gas can't handle the `sqrt.d' synthetic instruction. - -Fri May 14 16:33:47 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * stdio/Makefile (routines): Add tempname. - - * sysdeps/unix/common/make_siglist.c: #define const to empty - around #include of . - - * sysdeps/unix/errnos.awk: Surround generated `DO' macro calls - with #ifdef on the E* symbol. - - * sysdeps/unix/common/make_siglist.c [! HAVE_SYS_SIGLIST && - HAVE__SYS_SIGLIST]: Define sys_siglist to _sys_siglist. - - * termios/Makefile (headers): Add termbits.h. - - * posix/Makefile (headers): Add waitflags.h and waitstatus.h. - - * math/math.h (struct __complex): Rename to struct __cabs_complex. - __complex is now a reserved word in GCC. - * sysdeps/generic/cabs.c (cabs): Likewise. - * sysdeps/ieee754/cabs.c (cabs, z_abs): Likewise. - - * sysdeps/unix/common/glue-ctype.c: Test for _ctype__ before _ctype_. - - * posix/Makefile (headers): Add confname.h. - -Thu May 13 00:25:53 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * ctype/Makefile (tags_sources): Don't define. - * MakeTAGS [subdir==ctype] (tags_sources): Put headers before sources. - - * time/__tzset.c (compute_change): Add 1970 to YEAR before using it. - - * sysdeps/unix/readdir.c: Pass a BASEP arg to __getdirentries. - -Wed May 12 20:36:51 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * Makefile (distribute): Add aclocal.m4. - - * dirent/list.c (test): Clear errno before readdir loop. Complain - if errno is set thereafter. - - * sysdeps/unix/sysv/sysv4/solaris2/utsnamelen.h: New file. - * sysdeps/unix/sysv/sysv4/solaris2/__utimes.S: New file. - * sysdeps/unix/sysv/sysv4/solaris2/sigaltstack.S: New file. - * sysdeps/unix/sysv/sysv4/solaris2/Makefile: New file. - - * sysdeps/unix/bsd/sun/sparc/start.c: Moved to sysdeps/unix/sparc. - * sysdeps/unix/sparc/start.c: Moved from sysdeps/unix/bsd/sun/sparc. - Surround all shared library frobnication code with #ifndef NO_SHLIB. - * sysdeps/unix/sysv/sysv4/solaris2/start.c: New file. - - * configure.in (os = solaris[2-9]*): base_os=unix/sysv/sysv4. - - * sysdeps/sparc/setjmp.S: Include , not "DEFS.h". - Use ENTRY(__setjmp) instead of FUNC(___setjmp). - - * sysdeps/sparc/divrem.m4: [__svr4__]: Include - instead of . - - * sysdeps/sparc/__longjmp.S: Include , not "DEFS.h". - Use ENTRY(__longjmp) instead of FUNC(___longjmp). - [__svr4__]: Use instead of . - - * sysdeps/unix/i386/sysdep.h (C_SYMBOL_NAME, SYS_ify): Moved to - sysdeps/unix/sysdep.h. - * sysdeps/unix/sparc/sysdep.h: New file. - * sysdeps/unix/bsd/sun/sparc/sysdep.h: File removed. - - * sysdeps/unix/sparc/__brk.S: New file. - * sysdeps/unix/sparc/__brk.c: File removed. - -Wed May 12 19:43:37 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * malloc/cfree.c: Put malloc.h include in _MALLOC_INTERNAL conditional. - -Wed May 12 16:24:23 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * Makeconfig (+link): Put $(LDFLAGS) in the value. - * sysdeps/unix/bsd/sun/sparc/Makefile (LDFLAGS): Set it. - - * posix/glob.c: Move include before dir includes. - [HAVE_UNISTD_H] [! POSIX] [_POSIX_SOURCE]: Define POSIX. - - * grp/initgroups.c [! NGROUPS_MAX || NGROUPS_MAX == 0]: Just - return 0 and do nothing. - - * sysdeps/unix/sysv/sco3.2.4/__{sys,path}conf.S: New files. - * posix/unistd.h: Include ; remove _{SC,CS,PC}_* defns. - * sysdeps/generic/confname.h: New file. - * sysdeps/unix/sysv/sco3.2.4/confname.h: New file. - - * malloc/cfree.c: Include instead of . - [_LIBC]: Use function_alias only under this conditional. - [! _LIBC] (cfree): Define a function that just calls free. - - * posix/Makefile (glob.tar): Depend on glob/ChangeLog. - (glob/configure): Just run autoconf, don't do a sub-make. - (glob/ChangeLog): New target. - (%.Z, %.z): New rules. - -Mon May 10 16:56:09 1993 Jim Blandy (jimb@geech.gnu.ai.mit.edu) - - * malloc/cfree.c: Put the meat of the file inside a "#if - defined(__GNU_LIBRARY__)" clause, so that gmalloc.c, which - incorporates this file, can be used outside of the C library. - -Sun May 9 16:57:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * stdio/fseek.c: Don't call __flshfp unless STREAM is writable. - - * string/tester.c (main): Remove unused variable. - - * sysdeps/unix/bsd/set[er][gu]id.c: New files. - - * sysdeps/unix/mk-local_lim.c (NAME_MAX): Define to 255 if undefined. - - * malloc/Makefile (malloc-dist): Add ChangeLog and mem-limits.h. - (malloc/ChangeLog): New rule using Noah's changelog-extract. - (malloc.tar): Use o flag to tar to make compatible archives. - (gmalloc-routines): Add calloc, valloc, and cfree. - (dist-routines): Remove [cv]alloc from here. - (routines): Remove cfree from here. - -Fri May 7 16:45:54 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/posix/ttyname.c: Replace fixed-sized NAME array with - static char *NAME and static size_t NAMELEN. - Don't check S_ISCHR. - Don't hack NAME before the loop. - If need more than NAMELEN chars to hold the name, increase NAMELEN - to more than big enough and malloc NAME. - Save errno in local var SAVE before doing anything; restore it - when returning non-error. - - * Makefile (generated): Add $(objpfx)stubs.h. - (README): New rule to call Make-dist to do the work. - - * mach/Makefile: Don't include mach-syscalls.mk if no_deps=t. - - * crypt/GNUmakefile (%.z): New rule for gzipping. - (crypt.tar): Use o flag to tar to make compatible archives. - - * Makeconfig: Find config.make in $(common-objpfx), not $(objpfx). - - * io/Makefile (headers): Remove filebits.h. - - * sysdeps/unix/sysv/sysv4/Dist: File removed. - - * Makefile (README): Move from here. - * Make-dist (README): To here. - - * sysdeps/unix/Makefile (sys/param.h): Don't depend on sys/. It - was causing sys/param.h to be remade all the time. - - * aclocal.m4 (GLIBC_PROVIDES): Add shell comment about configure - being generated and not to be editted. - - * sysdeps/unix/swapon.S: Moved to sysdeps/unix/common. - * sysdeps/unix/configure: Add swapon to list of syscalls to check for. - - * sysdeps/unix/mk-local_lim.c: New file, modified from - sysdeps/unix/common/mk-local_lim.c. - * sysdeps/unix/common/Makefile: Move local_lim.h rules from here. - * sysdeps/unix/Makefile: Put them there. - (local_lim-CFLAGS): Define new variable. - (mk-local_lim): Replace $(native-compile) with its value plus - $(local_lim-CFLAGS). - * sysdeps/unix/common/Dist: Remove mk-local_lim.c. - * sysdeps/unix/Dist: Add it here. - - * Makerules (make-dummy-dep): New variable; canned command. - ($(objpfx)%.dep: {$(objpfx),}%.s): New rules using $(make-dummy-dep). - (sysd-Makefile): Write a $(objpfx)%.dep: $dir/%.s rule using it. - - * misc/ioctl.c: Replace function_alias with: - [HAVE_GNU_LD]: Use symbol_alias. - [! HAVE_GNU_LD]: Write out the function; it must fetch its third arg - with va_arg and then call __ioctl. - -Thu May 6 14:56:16 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * misc/sys/ioctl.h (__ioctl, ioctl): Changed prototype to take 2 - args and ... rather than a 3rd __ptr_t arg. - * sysdeps/stub/__ioctl.c: Changed defn. - - * sysdeps/unix/bsd/sun/sunos4/tcflow.c: Include . - - * sysdeps/unix/Makefile (make-ioctls-CFLAGS): Define as - -DHAVE_SYS_TERMIOS_H if $(sysincludedir)/sys/termios.h exists. - (make-ioctls): Replace command `$(common-objdir-compile)' with - that var's contents from Makerules, plus $(make-ioctls-CFLAGS). - * sysdeps/unix/ioctls-tmpl.c [HAVE_SYS_TERMIOS_H]: Get . - - * misc/sys/ioctl.h: Include after . - - * sysdeps/unix/bsd/sun/sunos4/speed.c (cfget[io]speed): Return the - raw speed, rather than using it as an index into `speeds'. - (cfset[io]speed): Treat SPEED being an index into `speeds' just as - if it were the value of that element. - - * termios/termios.h: Remove definitions of B[0-9]+ and EXT[AB]. - * sysdeps/generic/termbits.h: Put them here instead. - * sysdeps/unix/bsd/sun/sunos4/termbits.h: Add new defns for those. - - * sysdeps/unix/Makefile (termbits-edit): If termbits.h is not the - generic version, set this to an | egrep command which filters out - symbols appearing in termbits.h. - (ioctls): Depend on $(sysincludedir)sys/termios.h if it exists. - Pass all deps after first to snarf-ioctls. - Put $(termbits-edit) in cmd line; it may be empty or a pipe. - Pipe through sort|uniq before tr (just to cut down on duplicates). - - * sysdeps/generic/Makefile, sysdeps/unix/Makefile: When deciding - whether to generate files whose stub versions are chosen, also - include the generation rules when the chosen directory is - $(common-objpfx), so they continue to be defined after running once. - - * sysdeps/posix/Makefile: Use patsubst instead of substition - references when the substitution or replacement contains a $. - Make has a bug (which I just fixed) with such substitution references. - - * posix/wait3.c: Fixed arg types in fn alias. - * posix/wait4.c: Likewise. - - * sysdeps/posix/Makefile: Remove vpath %.h line. - * Makerules: Add vpath %.h directive. - - * sysdeps/posix/Makefile (generated, before-compile): Add - $(common-objpfx)stdio_lim.h, not just plain stdio_lim.h. - - * Makerules (depend-$(subdir)): Put $(objpfx) in the output, not - its expansion. - (+make-deps): Add sed clause to translate the expansion of - $(objpfx) back into the variable reference. - -Wed May 5 15:59:40 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/unix/sysv/sco3.2/local_lim.h: New file. - - * sysdeps/unix/sysv/sco3.2/Makefile: New file - * sysdeps/unix/sysv/sco3.2/Dist: New file. - * sysdeps/unix/sysv/sco3.2/__fltused.c: New file. - - * sysdeps/unix/configure: New file. - * sysdeps/unix/inet/__select.S: Moved to sysdeps/unix/common. - This is because select is a call sysdeps/unix/configure wants to - check for, and it simplifies life for all those to be in unix/common. - - * sysdeps/tahoe/Implies: Remove $(bsdmath)tahoe line. - - * sysdeps/unix/sysv/sco3.2.4/{__sigact,__sigproc, - sigpending,sigsuspend}.S: New files. - - * Makefile (INSTALL): Depend on manual/maint.texi, not - manual/maint.texinfo. Use -- instead of + for long options. - - * configure.in: After setting $sysnames initially and adding the - FPU directory, expand and uniquize the list with code that used to - be in find-sysdirs. Make $sysnames blank-separated rather than - newline-separated. Generalize loop iterating over $sysnames, so - it sets $uname and sources sysdep configure scripts. Move - sys_siglist and ctype checks to sysdeps/unix/common/configure.in. - Set Make variable `config-sysdirs' to $sysnames in config.make, - and don't frob Sysnames or sysdirs files at all. - * find-sysdirs: File removed. - * Makefile (distribute): Remove find-sysdirs. - (sysd-dirs): Depend on config.make instead of config.make. - Use $(sysdirs) in place of `cat $<`. - * aclocal.m4: New file. - * sysdeps/unix/common/configure.in: New file, contains checks for - sys_siglist and ctype glue moved from top-level configure.in. - * Makerules (sysdirs, Sysnames): Rules removed. - Don't include sysdirs. - (sysdirs): Define variable from $(config-sysdirs). - (sysd-Makefile): Depend on config.make instead of sysdirs. - Use $(sysdirs) instead of filtering the sysdirs file. - * Make-dist (+sysdep-tsrcs): Include configure and configure.in - from sysdep dirs. - (dist.tar): Use o flag to tar for compatible archives. - (dist): Depend on foo.z instead of foo.Z. - ($(tardir){-crypt,}.tar.z): Renamed from .Z. - (%.z: %): New rule. - (%/configure: %/configure.in): New rule. - -Mon May 3 17:45:06 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/unix/sysv/sco3.2.4/__waitpid.S: New file. - - * sysdeps/unix/sysv/sco3.2.4/direct.h: New file. - - * sysdeps/unix/readdir.c: Moved from unix/bsd, rewritten to always - use __getdirentries and D_NAMLEN macro, no #ifdefs. - * sysdeps/unix/sysv/readdir.c, sysdeps/unix/bsd/bsd4.4/readdir.c, - sysdeps/unix/bsd/ultrix4/readdir.c, - sysdeps/unix/bsd/hp/m68k/readdir.c, - sysdeps/unix/bsd/sun/readdir.c: Files removed. - * sysdeps/unix/common/{close,open,rewind,seek,tell}dir.c: Moved to - sysdeps/unix. - * sysdeps/unix/sysv/direct.h: New file. - * sysdeps/unix/bsd/direct.h (D_NAMLEN): Define to use d_namlen. - * sysdeps/unix/sysv/sysv4/direct.h (D_NAMLEN): Define to calculate - from d_reclen. - * sysdeps/unix/__getdents.c: New file. - * sysdeps/stub/direct.h: New file. - * sysdeps/unix/bsd/Dist: Remove bsddir.h. - * sysdeps/unix/sysv/sysv4/readdir.c: Moved to unix/sysv. - * sysdeps/unix/sysv/sysv4/bsddir.h: Renamed to direct.h. - * sysdeps/unix/bsd/bsddir.h: Likewise. - * sysdeps/unix/common/opendir.c: Include "direct.h", not "bsddir.h". - * sysdeps/unix/sysv/sysv4/readdir.c: Likewise. - * dirent/Makefile (distribute): Define to include direct.h. - - * sysdeps/unix/common/opendir.c: Be sure to close FD if fcntl fails. - - * sysdeps/generic/memcopy.h: #include and use __P - prototypes instead of EXFUN. - - * sysdeps/generic/memcmp.c (__ptr_t, const): Define as appropriate - conditional on [__cplusplus || __STDC__]. - -Thu Apr 29 21:48:37 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Makefile ($(libc.a)): Make this, not lib, depend on subdir_lib. - - * Makerules ($(objpfx)%.{o,dep} rules): Remove spurious / after - $(objpfx) in dependency patterns. - - * sysdeps/unix/bsd/sun/sparc/start.c (_start): Define with - `asm ("start")', so its asm name is `start' rather than `__start'. - Remove asm that did a `.set' pseudo-op, which Sun as seems not to grok. - -Wed Apr 28 12:59:46 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/stub/system.c: Return 0 if LINE is nil. - - * sysdeps/unix/__execve.S [!SYS_execve && SYS_exec]: Define - SYS_execve to be SYS_exec. - - * time/mktime.c: Include . - -Mon Apr 26 17:10:21 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * sysdeps/generic/memcmp.c: Deansideclized. - [HAVE_CONFIG_H]: Include "config.h". - [HAVE_STRING_H || _LIBC]: Put #include under this. - [_LIBC]: Put #include under this conditional. - [! _LIBC]: Define op_t, OPSIZ, byte, and MERGE. - - * time/mktime.c: Define __isleap if not defined. - -Fri Apr 23 18:08:33 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * sysdeps/unix/sysv/__getdents.c: New file. - * sysdeps/unix/sysv/sysv4/sys_getdents.S: Moved to unix/sysv. - * sysdeps/unix/sysv/Makefile [subdir==dirent]: Add sys_getdents to - sysdep_routines. - * sysdeps/unix/sysv/Dist: Add sys_getdents.S. - * sysdeps/unix/sysv/sysv4/Dist: Remove it from here. - * sysdeps/unix/sysv/sysv4/Makefile: File removed. - -Thu Apr 22 17:40:28 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/unix/bsd/sony/newsos4/m68k/sysdep.h: New file. - - * sysdeps/generic/strsep.c: Set *STRINGP to END+1, not END. - - * configure.in (arg parsing): Grok --verbose and set verbose=yes. - - * sysdeps/sparc/{umul,mul}.S: Remove ' from ! comment. - - * sysdeps/sparc/Makefile (*.S): Find divrem.m4 in this sysdeps dir. - - * sysdeps/unix/bsd/sun/sunos4/speed.c (cfset[io]speed): Typo fix. - - * sysdeps/unix/bsd/sun/sparc/vfork.S: Use a sethi insn and %g1 as - a temporary, rather than expecting the address to fit into a short - jump. - - * sysdeps/unix/bsd/__fork.S: Moved to sysdeps/unix/__fork.S; we - want unix/MACHINE/__fork.S to come first. - - * sysdeps/unix/bsd/bsd4.4/__wait3.c: Make STAT_LOC type - `__WAIT_STATUS' (defined in ). - * sysdeps/unix/bsd/sun/sunos4/__wait4.c: Likewise. - - * signal/sigvec.c: Change args from `struct __sigvec *' to - `struct sigvec *' in function alias. - - * signal/sigproc.c: Make arg SET `const sigset_t *' in fn alias. - - * signal/sigaction.c: Change args from `struct __sigaction *' to - `struct sigaction *' in function alias. - - * sysdeps/unix/common/glue-ctype.c (main) [! TABLE]: Write just a - comment saying we don't know the table name, rather than barfing - with `TABLE' an undefined variable. - - * sysdeps/generic/printf_fp.c: Fixed test to chose %e format. - Make loop condition --J > 0; break out of loop when FPNUM < F. - After loop, use %e format iff J <= 0. - - * posix/glob/Makefile.in (.c.o): Put $(CFLAGS) last. - (glob.o): Depend on glob.c. - (fnmatch.o): Depend on fnmatch.c. - -Wed Apr 21 12:40:03 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/posix/Makefile (before-compile): Add stdio_lim.h. - - * configure.in (signed size_t test): Remove 's from rhs of AC_DEFINE. - - * stdio/internals.c (seek_to_target): If __stdio_check_offset - fails with ESPIPE, do nothing. - - * sysdeps/generic/printf_fp.c: For %e type, add K-1 to CUTOFF, - rather than K. - When there are no post-decimal digits, never write a decimal point - for a %g spec unless it had a # modifier. - Move K==-1 test to write decimal point before K==CUTOFF test to - round and write last digit. - Merge code for first post-decimal digit with code for remaining digits. - Move code to write leading fractional zeros inside K<0 test which - determines if any will be needed. - In decimal fraction notation code, use R10 temporary instead of - repeating (R * 10) twice. - - * stdio/fwrite.c: Only fail when __stdio_check_offset fails if it - failed with ESPIPE. If offset==-1, don't change it or target. - - * sysdeps/posix/defs.c (stdstream): Rearrange initializers, as - FILE has been rearranged. Set offset and target to -1, not 0. - - * sysdeps/posix/stdio_init.c: If STREAM isatty, set its seek - function to NULL. Unix bites. - - * stdio/ungetc.c: Call __flshfp if linebuf_active or put_limit>buffer. - - * sysdeps/unix/bsd/sun/sparc/start.c [__GNUC__ < 2]: #error. - - * time/mktime.c: Deansideclized. - Don't include or ; we don't need them. - [DEBUG] (printtm): Made static. - [HAVE_CONFIG_H]: Include "config.h". - [__GNU_LIBRARY__ || HAVE_LIMITS_H]: Surround #include - with these conditionals. - - * time/offtime.c (__mon_lengths): Move defn to mktime.c; replace - with extern decl. - * time/mktime.c (__mon_lengths): Define here; remove extern decl. - -Mon Apr 19 18:42:59 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/stub/tempname.c: New file. - * sysdeps/stub/sysd-stdio.c (__stdio_gen_tempname): Moved there. - * sysdeps/posix/tempname.c: New file. - * sysdeps/posix/sysd-stdio.c (__stdio_gen_tempname): Moved there. - - * stdio/fopen.c: Don't set the offset to zero. That can falsely - give the impression that an unseekable object is seekable. - - * stdio/internals.c (__flshfp): Discard any pushed back character - first thing after sanity checks. - (__flshfp): Deconditionalize code to call the output-room - function; we always want to give it a chance to prime the stream. - Remove code that reset bufp if put_limit==buffer. We want to let - the output-room function do that--that is priming the stream. - -Fri Apr 16 12:24:21 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Makerules ($(libc.a)): Depend on lib-noranlib and have ranlib - command line. - (lib): Just depend on $(libc.a). - - * sysdeps/unix/bsd/sun/sparc/start.c (init_shlib): Use __environ, - not environ. - - * stdio/internals.c (__flshfp): Don't check that the buffer - actually contains anything when setting the put_limit to the end of - the buffer if linebuf_active. - (__flshfp): To write C into the buffer !FLUSH_ONLY, don't check - that bufp > buffer and get_limit == buffer. Check against - put_limit unless linebuf_active (in which case check against the - real put_limit, fp->__buffer + fp->__bufsize). - (__flshfp): Bother to call the output-room function if !FLUSH_ONLY - or bufp > buffer and get_limit <= linebuf-corrected put_limit. - (__flshfp): Check for a NULL output-room function before checking - if C will fit in the buffer. - (flushbuf): After putting C into the buffer, - set BUFFER_WRITTEN to zero and goto end instead of returning. - - * stdio/ungetc.c: Test STREAM->__pushed_back before flushing the - STREAM if it's writable. - - * posix/glob.c, posix/fnmatch.c: Surround code with - #if defined (_LIBC) || !defined (__GNU_LIBRARY__) - -Thu Apr 15 19:35:59 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * string/tester.c (main): Added tests for strsep. - - * sysdeps/ieee754/frexp.c: New file. - -Wed Apr 14 12:49:10 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Makerules (ar-it): Add c flag to ar commands. - - * posix/glob.c [USG, NeXT]: Don't test these. - [HAVE_STRING_H]: Test this to include string.h and define ANSI_STRING. - [HAVE_MEMORY_H]: Test this instead of NEED_MEMORY_H. - [! ANSI_STRING]: Put decls of bcopy and #define of memcpy et al here. - - * posix/fnmatch.c [HAVE_CONFIG_H]: #include "config.h". - -Mon Apr 12 16:34:53 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * posix/glob.c: Rationalize directory header conditionals. - -Sun Apr 11 18:53:50 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * stdio/internals.c: Remove __libc_fatal. - * sysdeps/stub/sysd-stdio.c: Remove __stdio_errmsg. - * sysdeps/posix/sysd-stdio.c: Likewise. - * sysdeps/stub/libc_fatal.c, sysdeps/posix/libc_fatal.c: New files. - * stdio/Makefile (routines): Add libc_fatal. - - * stdio/stdio.h (FILE): Add new member `__linebuf_active' (flag). - Rearranged order of members slightly. - * stdio/setvbuf.c: Clear the linebuf_active flag. - * stdio/fseek.c: Likewise. - * stdio/internals.c (__flshfp): Test linebuf_active, not linebuf, - to decide to reset put_limit before calling the output-room function. - After calling it, if line-buffered, set put_limit to the - beginning of the buffer and set the linebuf_active flag. - (__fillbf): If linebuf_active is set, reset put_limit to the end - of the buffer, and clear the flag. - - * stdio/ungetc.c: If STREAM is writable and has something in its - buffer, flush it. - - * stdio/internals.c (__fillbf): When flushing all line-buffered - streams, don't test for their put_limits being > than their - buffers. We should let __flshfp figure it out. - - * stdio/setvbuf.c: Always set the put_limit to the beginning of + * stdio/memstream.c (enlarge_buffer): Double the buffer size, rather + than adding 100. Don't clobber *INFO->bufsize when called with the + put limit reset. If the target has been set, extend and zero-fill the buffer. + (seek): New function. + (open_memstream): Use it for seek io fn. Call fmemopen with "w+" mode. - * stdio/stdio.h (__putc): Rewritten to remove all knowledge of - magic for line-buffered streams. It now always calls __flshfp when - the bufp hits the put_limit. +Sun Jun 28 19:01:01 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * stdio/fwrite.c: When recalculating BUFFER_SPACE after calling - __flshfp, ignore the put_limit for the sake of line-buffered streams. + * stdio/fseek.c: Fail with EINVAL for a negative file pos. - * stdio/fseek.c (fseek): Call __flshfp on STREAM unconditionally. - We don't want to try to put the conditions for when it is - necessary here as well. +Fri Jun 26 00:07:53 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * sysdeps/generic/printf_fp.c: When deciding whether to use %e - format for %g, break out of the loop on J as soon as F reaches - FPNUM; after the loop, set TYPE to 'e' if J<0, meaning we went all - the way through. + * Makeconfig (stdarg.h): New variable. + * Makefile (headers): Add $(stdarg.h). - * misc/getpass.c (TCSASOFT): Define to 0 if undefined. - (getpass): Use a variable OUT to store the stream where output goes. - Use a variable NREAD to notice how much was read; if the last char - in the buffer is a newline, clobber it to a null terminator. + * stdio/stdio.h: Change __va_list to __gnuc_va_list in decls. - * posix/fnmatch.h [__cplusplus || __STDC__]: Don't #define const. + * sysdeps/unix/morecore.c: Include malloc.h #ifndef _MALLOC_INTERNAL. + Don't include . + (NULL): Define to 0 if not defined. -Thu Apr 8 19:29:37 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/i386/bzero.c: Include string.h, not bstring.h. - * stdio/tst-printf.c (main): Added some floating-point tests. +Thu Jun 25 21:01:40 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * sysdeps/unix/bsd/sequent/i386/__sigvec.S: New file. + * stdio/perror.c, string/strerror.c (_sys_errlist, _sys_nerr): Don't + declare #ifndef HAVE_GNU_LD. - * sysdeps/unix/sysv/i386/__sigret.S: Moved to sysdeps/unix/i386. - Use DO_CALL instead of magic. + * stdio/fwrite.c: Cast arg to write io func to const char * (from uns). - * sysdeps/unix/bsd/i386/__wait3.S: Use DO_CALL instead of magic. - Use scratch instead of %ecx and r1 instead of %edx. + * sysdeps/unix/Makefile: If syscall.h doesn't exist in + $(sysincludedir), look for sys/syscall.h and create $(objpfx)syscall.h + to #include it. - * sysdeps/unix/bsd/i386/__vfork.S: Rewritten to not use SYSCALL__. - Use DO_CALL instead, and save the return PC in a register around - the trap. + * sysdeps/unix/morecore.c (__default_morecore): Deansideclized. + * malloc/*.c: Only #include #ifndef _MALLOC_INTERNAL. - * sysdeps/unix/i386/sysdep.h (DO_CALL): New macro to do syscall trap. - (PSEUDO): Use it instead of putting the code here. +Wed Jun 24 19:09:04 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * stdio/vfprintf.c (number): Write "0x" before padding, not after. + * sysdeps/unix/snarf-ioctls: Avoid looking at a few particular + headers which tend to mislead us. - * sysdeps/unix/bsd/sequent/i386/sysdep.h: New file. + * Makefile (distribute): Add COPYING. - * sysdeps/unix/bsd/__setuid.c: #include . - Change argument type to uid_t. - * sysdeps/unix/bsd/__setgid.c: #include . - Change argument type to gid_t. + * configure (Makefile): When invoking make in srcdir, set ARCH + rather than objdir on the cmd line. - * sysdeps/unix/common/__getgrps.c: Restore errno after erroneous - syscall failure. + * posix/glob.c [DIRENT] (direct): Don't define to dirent. + [! DIRENT] (direct): Define to dirent. - * stdio/tst-printf.c (fp_test): New function, batch of tests from - a bug report. - (main): Call it. + * Make-dist [!subdir] (+tsrcs): Don't include $(distribute). It was + already included above. -Wed Apr 7 17:17:17 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) +Mon Jun 22 16:58:34 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * sysdeps/generic/pow.c (pow_p): Don't initialize K; was a dead store. + * Makerules (sysdep_routines): Export it. -Mon Apr 5 21:17:58 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) +Wed Jun 17 17:58:05 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * sysdeps/unix/common/__getgrps.c: If __bsd_getgroups returns an - error and SIZE==0, alloc temp space for NGROUPS_MAX elts and call - it again on that, so we can find the number of groups. + * posix/glob.c (my_realloc): Test only __GNU_LIBRARY__. Can't trust + STDC_HEADERS. - * stdio/__vfscanf.c (input_error): If DONE is nonzero, return it; - else return EOF. - (%c): Don't check for C==EOF at the end; let the following spec get it. - (%[eEfgG]): EOF after sign is conv_error, not input error. +Tue Jun 16 20:20:01 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/unix/common/__getgrps.c: If gid_t==int, pass LIST to - __bsd_getgroups, not NULL. - No error for SIZE > NGROUPS_MAX. + * resource/sys/resource.h (enum __rlimit_resource): Added MEMLOCK, + NPROC, OFILE. -Sun Apr 4 18:52:34 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * posix/Makefile (glob.tar): Include Makefile.in & configure, and not + Makefile. + (glob/configure): New rule. - * sysdeps/unix/{bsd,sysv}/i386/Implies: Files removed. - They should no longer be necessary, since configure now tries more - sysdeps directory permutations. + * posix/glob/Makefile: Moved to posix/glob/Makefile.in. + (VPATH, srcdir, CPPFLAGS): Define to be replaced by autoconf. - * sysdeps/unix/bsd/{i386,sun/sparc,hp/m68k,ultrix4/mips}/__set[ug]id.S: - Files removed. They should no longer be necessary, since the new - sysdeps scheme should find unix/bsd/__set[gu]id.c before - unix/__set[gu]id.S. + * posix/glob.c: Rearranged conditionals for use with autoconf. - * sysdeps/unix/i386/__pipe.S: Use r1 in place of %edx and scratch - in place of %ecx. - * sysdeps/unix/i386/__wait.S: Likewise. - * sysdeps/unix/i386/__fork.S: Use r1 in place of %edx and r0 in - place of %eax. - * sysdeps/unix/i386/__vfork.S: Likewise. - * sysdeps/unix/i386/sysdep.h (scratch): #define as %ecx. - * sysdeps/unix/sysv/i386/linux/sysdep.h: Likewise. +Thu Jun 11 15:47:43 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * configure.in ($uname = generic): Set kernel_{version,release} to - empty before all else. - If /vmunix doesn't exist, try grovelling over /dynix instead. + * sysdeps/unix/bsd/sun/sparc/start.c: Added alias for start -> __start. - * sysdeps/unix/Makefile (syscall.h): Double $ in sed cmd. +Tue Jun 9 20:15:12 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) -Fri Apr 2 15:15:44 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/posix/rename.c: Return failure and don't remove the old + link if the link failed with other than EEXIST. - * configure.in (config_vars): New variable; text to go in config.make. - Use AC_HEADER_EGREP to grovel stdarg.h for __gnuc_va_list and set - stdarg.h in config_vars if we find it. + * posix/glob/Makefile: Fixed copyright notice. + (realclean): Don't remove ~ backup files. - * sysdeps/unix/bsd/sun/sunos4/tcsendbrk.c, - sysdeps/unix/bsd/sun/sunos4/tcflow.c, - sysdeps/unix/bsd/sun/sunos4/tcflush.c, - sysdeps/unix/bsd/sun/sunos4/tcsetattr.c, - sysdeps/unix/bsd/sun/sunos4/__tcgetatr.c: New files. +Thu Jun 4 16:41:56 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * sysdeps/unix/Makefile (syscall.h): Add sed cmd to terminate - unterminated comments at the ends of lines. + * time/Makefile (install-data): Don't include zoneinfo/. + Makerules already makes sure the necessary directories exist. - * sysdeps/posix/getcwd.c: Deansideclized and added four tons of - portability goop. + * setjmp/setjmp.h (sigsetjmp) [__GNUC__]: Use typeof hackery to + construct the type of the temporary var for the arg. + (_setjmp) [__FAVOR_BSD]: Make same as setjmp. -Mon Mar 29 13:18:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * malloc/malloc.h (mtrace): Declare. - * sysdeps/unix/bsd/sun/sunos4/speed.c: New file. + * malloc/malloc.h, malloc/calloc.c, malloc/free.c, malloc/malloc.c, + malloc/mcheck.c, malloc/memalign.c, malloc/mstats.c, + malloc/mtrace.c, malloc/realloc.c, malloc/valloc.c: Deansideclized; + changed copyright notices to be independent of libc. + * malloc/Makefile (glob/%.c, glob/%.h): Don't need to ansideclificate. - * sysdeps/generic/termbits.h: New file, contents taken from termios.h. - * termios/termios.h: Remove type & macro defns; #include . - [__OPTIMIZE__] (cf[gs]et[io]speed): Remove macro versions. They - just cause trouble because they want to be in termbits.h (since - they are sysdep) and also to come after the prototypes (which must - come after termbits.h to get speed_t and struct termios defined). - The optimization was insignificant anyway. - * termios/speed.c: Moved to sysdeps/generic. + * io/ftw.h, io/ftw.c: New. + * io/Makefile (headers): Added ftw.h. + (routines): Added ftw. - * termios/cfsetspeed.c: Call cfset[io]speed, rather than doing it - ourselves. +Tue Jun 2 21:49:22 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * time/__tzset.c (tz_rule): Make member `secs' not a bitfield. - (compute_change): Complete rewrite; code basically stolen from - localtime3/localtime.c:transtime. - #include "tzfile.h" for SECSPERDAY; #define NOID first. + * sysdeps/unix/bsd/signum.h (SIG_ERR, SIG_DFL, SIG_IGN): Use + __sighandler_t. - * sysdeps/unix/bsd/i386/__vfork.S: Don't try to #include __fork.S. - Instead, copy that code here and change `fork' to `vfork'. + * posix/glob.c (__ptr_t): Define. - * Makeconfig (+default_cflags): Rename to default_cflags. - (+cflags): Use that name. +Thu May 28 06:57:14 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * Makefile (configure): New rule. + * sysdeps/m68k/jmp_buf.h: Don't use PTR. -Sun Mar 28 16:12:33 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) +Wed May 27 18:09:40 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * posix/fnmatch.c (case '*'): Before final loop, fold C1, rather - than foling *P before it goes into C1. C might need folding instead. + * posix/{glob,fnmatch}.[ch]: Deansideclized; changed copyright + notice to be independent of libc. + * posix/Makefile (glob/%.c, glob/%.h): Don't need to ansideclificate. - * posix/Makefile (tests): Add testfnm. - * posix/testfnm.{c,args}: New files. + * posix/unistd.h (_SC_2_FORT_RUN, _SC_2_LOCALDEF): Define. -Fri Mar 26 15:04:27 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * posix/unistd.h: Define _POSIX2_* without #ifdef __USE_POSIX2. - * time/mktime.c: Wholly new implementation from Noel Cragg. + * posix/unistd.h (_POSIX2_FORT_DEV): Removed. - * sysdeps/unix/bsd/sun/__sigret.S: New file. - * sysdeps/unix/bsd/sun/m68k/{Makefile,Dist}: New files. - * sysdeps/unix/bsd/sun/m68k/{sigcontext.h,sigtramp.c}: New files. - * sysdeps/unix/bsd/sun/sparc/__sigvec.S: Moved to sysdeps/unix/bsd/sun. + * posix/fnmatch.h (FNM_FILE_NAME): Alias for FNM_PATHNAME. - * Makefile (clean): Remove sysd-Makefile, sysd-dirs, sysdirs - (distclean): New target. - * sysdeps/unix/common/Makefile (generated): Add local_lim.h, - mk-local_lim, glue-ctype, glue-ctype.c, siglist.c, make_siglist. - * sysdeps/generic/Makefile (generated): Add bytesex.h, - det_endian, siglist.c, make_siglist. - * sysdeps/unix/Makefile (generated): Add errnos.h, errnos, - make-errnos, make-errnos.c, ioctls.h, ioctls, make-ioctls, - make-ioctls.c, errlist.c, make_errlist, syscall.h, sys/param.h, - param.h.c, param.h.dep, $(sys/param.h-includes). +Tue May 26 00:39:39 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * misc/Makefile (extra-objs): Define new var to include bsd-compat.o. + * time/Makefile (install-data): Include zoneinfo/, so the directory + gets made. -Fri Mar 26 14:53:30 1993 Michael John Haertel (mike@skinner.cs.uoregon.edu) + * Makeconfig (+gcc-nowarn): Define to -w if using gcc. + * time/Makefile (tz-cc): Use it to suppress warnings for grody code. - * malloc/malloc.c (malloc): Start searching at _heapindex, not - MALLOC_SEARCH_START. - * malloc/malloc.h (MALLOC_SEARCH_START): Macro removed. - * malloc/realloc.c (realloc): When malloc returns NULL, handle the - case of the block we need to unfree (which was just freed) having - been coalesced with its neighbors. + * posix/Makefile (libposix.a), math/Makefile (libm.a): Make archive + containing /dev/null instead of nothing; ar won't create an empty + archive. -Thu Mar 25 13:40:17 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * Makerules (%/): Added generic mkdir rule. - * Rules (all): Depend on others. + * posix/Makefile (install-lib): Define to libposix.a. + (libposix.a): Create empty archive. - * time/Makefile (zonenames): Change target to $(objpfx)zonenames. - Make the generated file prepend $(objpfx) to - Include that instead of zonenames. - (zones-%): Change target to $(objpfx)zones-%. + * posix/Makefile (distribute): Added utsnamelen.h. - * Makefile ($(objpfx)Mcrt1.o): Put temporary Mcrt1.c file in - $(objdir), rather than the current directory. + * ctype/ctype.c (tolower, toupper): If the arg doesn't fit in a + char, return it unchanged. + * ctype/ctype.h (tolower, toupper): Don't define as macros. + [__GNUC__]: Define as extern inline functions. - * configure.in (arg parsing): Recognize `--exec-prefix' rather - than `--exec_prefix'. + * sysdeps/unix/bsd/sun/sunos4/utsnamelen.h, + sysdeps/unix/bsd/sun/sunos4/uname.S: New. - * Rules (mostlyclean): Remove the .o files for $(tests) and $(others). - Remove $(objpfx)depend-$(subdir). - (clean): Remove $(extra-objs). - * Makefile (clean): Remove $(install-lib) from $(objdir). - Don't try to remove ansi/ and trad/ or dist.tar or lint.out. - Remove $(objpfx)depend-. - * time/Makefile (extra-objs): Define new var. - * malloc/Makefile (extra-objs): Likewise. + * configure: Only do hacking to snarf uname info if the config uses + the generic uname implementation. - * Rules (+objs): Variable removed. - (clean): Use $(objects) in place of $(+objs). + * Makeconfig (+defines): Define to include $(gnu_ld), rather than + -DHAVE_GNU_LD. + * configure: Write config.make with gnu_ld/gnu_as defns. - * sysdeps/unix/Makefile (sys/param.h-includes): Move all this - outside of ifeq ($(subdir),misc). - Fixed sed command to filter out [hn]to[nh][sl]. - (sys/param.h-includes): New target; dep on $(sys/param.h-includes). + * sysdeps/unix/bsd/sun/sunos411: Renamed back to .../sunos4. + * sysdeps/unix/bsd/bsd44: Renamed to .../bsd4.4. - * posix/fnmatch.h [!_POSIX_C_SOURCE || ...]: Make this test - _GNU_SOURCE, not _BSD_SOURCE; these are our extensions, not theirs. - (FNM_CASEFOLD): New bit. - (__FNM_FLAGS): Removed macro. - * posix/fnmatch.c (fnmatch): Don't test for bogus flag bits; who cares? - (FOLD): New macro to casefold a char if FNM_CASEFOLD. - Use it to fold all chars before comparison. + * Makeconfig: include $(objpfx)configparms instead of + $(objdir)/Makeconfig. + Define objpfx as soon as objdir is defined, so we can use it. -Wed Mar 24 16:09:26 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/generic/uname.c: Use UNAME_* from config-name.h. - * malloc/Makefile (malloc/%.c, malloc/%.h): Rules removed. +Mon May 25 19:33:07 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * stdio/stdio.h (fopencookie): Rename parameter IO_FUNCTIONS to - IO_FUNCS. The former conflicted with a typedef name, which ist - verboten. + * configure: Accept all standard GNU configure options. + Expect to be run in object directory, and find source directory + elsewhere. + Write config.status as a shell script that can be run to recreate + the configuration. + Grok os names containing dots by trying each successively + less-precise substring. + Write Sysnames and config-name.h in current directory. + Write #define's for uname sysname, release, version, and machine + elts in config-name.h. Hackery to intuit release and version info. - * time/sys/time.h (enum __itimer_which): Remove trailing comma. + * stdio/vsnprintf.c, stdio/vsprintf.c, stdio/vasprintf.c, + stdio/vdprintf.c, stdio/vfscanf.c, stdio/vscanf.c, + stdio/__vsscanf.c: Take arg list as va_list, not PTR. -Mon Mar 22 15:35:54 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * stdio/stdio.h: Replaced #include with magic. + Properly use __va_list in prototypes. - * malloc/malloc.h [_MALLOC_INTERNAL] - [__GNU_LIBRARY__ || STDC_HEADERS || USG] (memmove): Define in - terms of bcopy. - * malloc/malloc/gmalloc-head.c: Redo previously undone change. + * Makeconfig (exec_prefix): Define. + (libdir, includedir, bindir): Use it. -Thu Mar 18 04:59:21 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * sysdeps/unix/sysv/Makefile [subdir==io] (sysdep-routines): Removed + __utssys. + * sysdeps/unix/sysv/Dist: Removed __utssys.S. + * sysdeps/unix/sysv/__utssys.S, sysdeps/unix/sysv/uname.c: Removed. + * sysdeps/unix/sysv/uname.S, sysdeps/unix/sysv/utsnamelen.h: New. - * malloc/malloc/gmalloc-head.c: Undo previous change. + * posix/sys/utsname.h (_UTSNAME_LENGTH): Don't define; instead, + #include to define it. + * sysdeps/generic/utsnamelen.h: New. -Wed Mar 17 12:22:21 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) +Sun May 24 00:07:45 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * mach/mach.h: New file. + * sysdeps/generic/inet-cvt.h: Deansideclized. - * Rules (clean): Remove $(generated), not $(clean-extras). - (subdir_echo-distinfo): Use $(generated) instead of $(dont_distribute). - (generated): Export this instead of dont_distribute. - * stdlib/Makefile (generated): Set this, not dont_distribute. - * sysdeps/posix/Makefile: Likewise. - * sysdeps/unix/sysv/Makefile: Likewise. - * sysdeps/unix/Makefile: Likewise. - * Makefile (generated): Export this instead of dont_distribute. - (parent_echo-distinfo): Use $(generated) instead of $(dont_distribute). - * Make-dist (+tsrcs): Filter out $(generated), not $(dont_distribute). + * string/string.h (memfrob): First arg is __ptr_t, not char *. - * mach/mach_init.h (__mach_task_self): Define so as not an lvalue. - (mach_task_self): Surround defn with parens. + * misc/sys/cdefs.h (__ptr_t): Made #define rather than a typedef. - * sysdeps/unix/Makefile (sys/param.h): Put "#include " in. - ($(sys/param.h-includes)): Edit out #define's of *_ENDIAN and - BYTE_ORDER. +Fri May 22 01:52:04 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * stdlib/tst-strtol.c (tests): Fully bracket initializers. + * Makefile, Rules, Makerules: Remove all rules for ansideclificating + headers. - * stdio/bug4.c: Change #ifdef LIBC to #ifdef _LIBC. + * posix/glob.h, posix/fnmatch.h: Use explicit cruft for C++. + Define __P and const for C++/ANSI vs old C ourselves, to avoid + dependence on . - * misc/progname.c (set_progname): Make a useless reference to - set_progname to avoid a `defined but not used' warning. + * inet/Makefile: Remove cruft to snarf things from bsd/. + * inet/bsd/*.c: Moved to inet/. - * sysdeps/mach/i386/start.c (_cthread_{init,exit}_routine): Remove - `extern'; these want to be uninitialized common defns. + * Makerules: Install headers from source directories into + $(includedir), rather than ansidecl madness. + * Makeconfig (ansi-incldir, trad-incldir): Removed. + (includedir): Define instead. -Mon Mar 15 18:41:05 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * assert/assert.h, ctype/ctype.h, dirent/dirent.h, grp/grp.h, + locale/locale.h, locale/localeinfo.h, math/math.h, + misc/sys/file.h, misc/sys/ioctl.h, misc/sys/ptrace.h, + misc/sys/uio.h, misc/sgtty.h, misc/nlist.h, posix/gnu/types.h, + posix/sys/wait.h, posix/sys/types.h, posix/sys/times.h, + posix/sys/utsname.h, posix/unistd.h, posix/tar.h, posix/utime.h, + posix/wordexp.h, posix/glob.h, posix/fnmatch.h, pwd/pwd.h, + resource/sys/resource.h, resource/sys/vlimit.h, + resource/sys/vtimes.h, setjmp/setjmp.h, signal/signal.h, + signal/gnu/signal.h, socket/sys/socket.h, stdio/stdio.h, + stdio/printf.h, stdlib/alloca.h, stdlib/stdlib.h, string/string.h, + termios/termios.h, time/sys/time.h, time/time.h, io/sys/stat.h, + io/fcntl.h, errno.h, stddef.h, malloc/malloc.h: + Deansideclized. Use macros instead of ansidecl and + C++ cruft. + * features.h: #include . - * sysdeps/unix/bsd/__times.c (timeval_to_clock_t): Put __inline - before storage class in defn. + * string/string.h (strfry, memfrob): Declare. + * string/Makefile (routines): Added strfry and memfrob. + * string/strfry.c, string/memfrob.c: New. - * sysdeps/unix/sysv/signum.h (SIG_ERR, SIG_DFL, SIG_IGN): Cast - values to __sighandler_t, rather than obsolete ansidecl magic. + * locale/C-ctype_ct.c: Made BS be isspace. - * sysdeps/unix/__execve.S [!SYS_execve && SYS_exece]: Define - SYS_execve to be SYS_exece. + * sysdeps/generic/strstr.c: Return HAYSTACK, not its end, if NEEDLE + is the empty string. - * sysvipc: New directory. - * sysvipc/Makefile: New file. - * sysvipc/sys/ipc.h: New file. + * sysdeps/generic/strncase.c: Fixed for case of empty string. -Fri Mar 12 15:31:44 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) +Wed May 20 02:36:09 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * posix/execlp.c (execlp): Remove spurious second declared parameter. - Don't fill ARGV[0] specially; just let the loop do it. - * posix/unistd.h (execlp): Remove spurious second declared parameter. + * io/sys/stat.h (fchmod): Declare, rather than two __fchmod decls. -Thu Mar 11 13:58:47 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * configure (sysv, bsd): Don't make base_os=unix; unix/{sysv,bsd} + instead. + Set os_used if base_os is used. - * Makerules (sysd-Makefile): Write %.dep: %.S and %.dep: %.c rules. - Depend on Makerules. - ($(objpfx)%.{o,dep}: $(objpfx)/%.{S,c,s}): New rules to find - sources in $(objpfx) before sysdep directories. +Tue May 19 21:00:11 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * configure.in (signed size_t check): Use eval on $CPP, since it - contains unexpanded variable refs. - Send grep output to /dev/null. - Put quotes around 'unsigned long int'. + * crypt/*: New files from glad. -Wed Mar 10 18:32:11 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * stdio/stdio.h (sys_nerr, sys_errlist): Don't declare const. - * features.h [! _LIBC]: #include . - * Makerules (stubs): New phony target. - ($(common-objpfx)stub-$(subdir)): New target. - * Makefile (headers): Add stubs.h. - ($(objpfx)stubs.h): New target. +Sun May 17 15:50:00 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) - * Makeconfig (CPPFLAGS): Define _LIBC, not LIBC. + * io/Makefile (headers): Remove gnu/stat.h; add sys/stat.h. - * Makerules (.SUFFIXES): Remove .m4; we no longer have any such files. + * posix/glob.c (glob): Don't let us fall off the end without returning. - * inet/netinet/in.h: Don't #include . - (ntohl, ntohs, htonl, htons): Declare. - #include . - [__BYTE_ORDER == __BIG_ENDIAN] (ntohl, ntohs, htonl, htons): - Define no-op macros. - * inet/Makefile (headers): Remove inet-cvt.h. - * sysdeps/vax/inet-cvt.h, sysdeps/generic/inet-cvt.h: Files removed. - * sysdeps/generic/{ntohl,ntohs,htonl,htons}.c - [BYTE_ORDER == LITTLE_ENDIAN]: Byte-swap X before returning it. + * sysdeps/stub/setenv.c, sysdeps/posix/setenv.c: New. + * stdlib/stdlib.h [__USE_BSD] (setenv): Declare. + * stdlib/Makefile (routines): Add setenv. -Tue Mar 9 11:32:35 1993 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + * malloc/mtrace.c (old_{free,malloc,realloc}_hook): Renamed to tr_& + to not conflict with mcheck.c when combined into gmalloc.c. - * malloc/malloc/gmalloc-head.c: Remove #definitions of memset, - memcpy, and memmove; this is taken care of by malloc.h anyway. +Fri May 15 19:07:54 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) -Mon Mar 8 15:12:32 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * socket/sys/socket.h (PF_NBS, AF_NBS): Removed. + (PF_ISO, PF_OSI, PF_APPLETALK, PF_ROUTE, PF_LINK): Define. + (PF_MAX): Increase accordingly. - * sysdeps/mips/jmp_buf.h (JB_PC): Protect with #ifdef __USE_MISC. + * inet/bsd/*.c: Snarfed latest code from 4.4. - * sysdeps/unix/sysv/sysv4/sigaction.h: Put SA_* except for - SA_NOCLDSTOP inside #ifdef __USE_MISC. + * misc/sys/cdefs.h (__BEGIN_DECLS, __END_DECLS): Define cruft for C++. -Mon Mar 8 15:05:13 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Thu May 14 01:45:12 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * sysdeps/mips/jmp_buf.h (jmp_buf): Use `__ptr_t', not `PTR', for - member types. - (JB_PC): New define, for backwards compatability with Ultrix. + * posix/glob.h (GLOB_MAGCHAR): Check user feature-test macros, + rather than __USE_BSD, so we don't depend on features.h. - * sysdeps/unix/sysv/sysv4/sigaction.h: New file. + * sysdeps/stub/__wait4.c: Last arg is struct rusage *, not PTR. -Mon Mar 8 13:20:02 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * math/bsd/common_source/mathimpl.h: Don't #define const. + #include instead. - * posix/glob/Makefile.in (VPATH): Set this to @srcdir@. - (srcdir): Set this to $(VPATH). + * Makefile (+other_dirs): Add crypt, but only if it exists at run time. + * crypt/GNUmakefile: New file. + * sysdeps/sparc/Makefile, sysdeps/m68k/Makefile (crypt): + Define to use machine-dependent assembly code in crypt/crypt.*.S. + * crypt: New directory. - * posix/glob.c (glob): In no matches with GLOB_NOCHECK set case, - add NULL terminator to PGLOB->gl_pathv. - (prefix_array): Renamed arg PREFIX to DIRNAME, local var PRELEN to - DIRLEN. If DIRNAME is just "/", don't prepend it, so we get - "/foo" instead of "//foo". - (glob): Move qsort call outside of the else clause of the - glob_pattern_p test; it should always be done. + * find-sysdirs: Don't lose if there are no sysnames. -Thu Feb 25 14:49:52 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * termios/Makefile (headers): Added sys/termios.h. + * termios/sys/termios.h: New file; just #include . - * malloc/malloc.h [_MALLOC_INTERNAL]: Move #include to - front of file; it needs to come before size_t/ptrdiff_t frobnication. + * stdlib/qsort.c: Define _quicksort rather than qsort. + * stdlib/msort.c: New file; defines qsort function that does merge + sort. Falls back to _quicksort if it fails to allocate a temp array. + * stdlib/Makefile (routines): Added msort. -Wed Feb 24 16:34:58 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * string/string.h (memccpy, strdup): Also declare #ifdef __USE_BSD. + [__USE_BSD] (index, rindex, bcmp, bzero, ffs): Declare. + * string/strings.h: Just #include . + * string/Makefile (headers): Removed bstring.h. - * Makerules (compile-command.[Ssc]): New variables; define them if - they are not already defined. - (sysd-Makefile): For each directory, write three rules: - %.o: $dir/%.[Ssc]; $(compile-command.[Ssc]). - (sysdep_path): Remove definition and vpath directives. - * sysdeps/m68k/Makefile (compile-command.S): Define our own version. - ($(objpfx)%.o: %.S): Rule removed. + * misc/Makefile (routines): Removed swab. + * string/Makefile (routines): Put it here instead. + * misc/swab.c: Moved to string/swab.c. - * sysdeps/unix/sysv/linux/{__dup2,__mkdir,__rmdir,__setpgrp}.S: - Removed. - * sysdeps/unix/sysv/linux/Implies: Created; implies unix/common. + * stdio/stdio.h [__USE_BSD] (sys_nerr, sys_errlist): Declare. - * sysdeps/unix/sysv/sysv4/{sete[gu]id.S,fchdir.S,signum.h,__sigproc.S}: - New files. + * grp/grp.h (setgrent, endgrent, getgrent): Also do #ifdef __USE_BSD. - * sysdeps/unix/sysv/sysv4/time.S: New file. + * posix/glob.h [__USE_BSD] (GLOB_MAGCHAR): Declare. + (glob_t): Added member `gl_flags'. + * posix/glob.c (glob, glob_in_dir): Set gl_flags member to FLAGS; + or in GLOB_MAGCHAR if any metachars are seen. - * sysdeps/unix/common/Dist: New file; everything from - sysdeps/unix/bsd/Dist except for bsdtty.h and bsddir.h. - * sysdeps/unix/bsd/Dist: Remove things now in sysdeps/unix/common/Dist. + * sysdeps/unix/bsd/bsd44/readdir.c: New. - * sysdeps/unix/bsd/sun/sparc/{__brk.c,__fork.S,__pipe.S,__vfork.S}: - Moved to new directory sysdeps/unix/sparc. + * sysdeps/unix/bsd/sun/readdir.c: Don't need to declare + __getdirentries here. Use off_t and ssize_t. - * sysdeps/unix/common/Implies: New file, in new directory; implies - unix/inet only. - * sysdeps/unix/bsd/Implies, sysdeps/unix/sysv/sysv4/Implies: New - files; both imply unix/common. - * sysdeps/unix/common/Makefile: Moved from sysdeps/unix/bsd. - Changed references to unix/bsd to unix/common. - * unix/bsd/{__access.S,__adjtime.S,__fchmod.S,__fchown.S,__getgrps.c, - __getitmr.S,__getpgrp.S,__getrusag.S,__gettod.S,__lstat.S,__mkdir.S, - __readlink.S,__rmdir.S,__setitmr.S,__setpgrp.S,__symlink.S, - bsd_getgrp.S,closedir.c,ftruncate.S,getrlimit.S,glue-ctype.c, - make_siglist.c,mk-local_lim.c,opendir.c,readv.S,rename.S,rewinddir.c, - seekdir.c,setgroups.S,setrlimit.S,telldir.c,truncate.S,vhangup.S, - writev.S,__dup2.S}: Moved to sysdeps/unix/common. - * sysdeps/unix/sysv/sysv4/{__access.S,closedir.c,opendir.c, - rewinddir.c,seekdir.c,telldir.c}: Removed. + * misc/Makefile (routines): Removed getdents and __getdents. + * dirent/Makefile (routines): Put them here instead. + * misc/getdents.c: Moved to dirent/getdents.c. + * dirent/dirent.h [__USE_BSD] (__getdirentries, getdirentries): + Declare. -Mon Feb 22 12:19:19 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * dirent/Makefile (routines): Added scandir and alphasort. + * dirent/scandir.c, dirent/alphasort.c: New. + * dirent/dirent.h [__USE_BSD] (scandir, alphasort): Declare. - * sysdeps/generic/pow.c (pow): Use __isnan to test for NaN rather - than expecting "x!=x" to work. - (pow_p): When testing if Y is an integer, use long int rather than - int; they are different on some systems. Compare against - LONG_MIN+1, not LONG_MIN; (long int) (double) LONG_MIN might overflow. + * sysdeps/unix/bsd/nice.c, sysdeps/unix/sysv/nice.S, + sysdeps/stub/nice.c: New. + * resource/Makefile (routines): Added nice. - * malloc/dist-Makefile (gmalloc.c): Depend on Makefile. + * misc/sys/cdefs.h [__USE_BSD] (const, signed, volatile): #define to + __ versions, for the sake of 4.4 header files. - * malloc/Makefile (gmalloc-routines): New variable. - (dist-routines): Use it. - (malloc/Makefile): Also replace with - $(gmalloc-routines). - (malloc/Makefile): Make it unwritable to avoid accidental lossage. - Depend on Makefile. +Wed May 13 00:35:12 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) - * malloc/dist-Makefile (gmalloc): New variable: . - (gmalloc.c): Use $(gmalloc), not $(sources). - Make the file unwritable to avoid accidental lossage. + * stdlib/tst-strtol.c: Fixed typo in test table. - * malloc/mtrace.c: Don't #include because did - it for us. + * stdlib/strtol.c: Fixed checking for overflow of long int that fits + in unsigned long int. - * malloc/valloc.c [! __GNU_LIBRARY__]: Replace hairy conditionals - with #include "getpagesize.h". - * malloc/Makefile (distribute, malloc-dist): Add getpagesize.h. + * misc/Makefile (headers): Added ttyent.h. + (routines): Added getttyent. + * misc/ttyent.h, misc/getttyent.h: New; snarfed from 4.4. -Sun Feb 21 18:29:30 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * posix/sys/wait.h [__USE_BSD]: Added forward decl for struct rusage. + (__wait4, __wait3): Declare arg as struct rusage, not PTR. - * sysdeps/sparc/Makefile (nodist-routines): Don't define. - We want to distribute the generated divrem files; otherwise anyone - building the library must have an m4 that works. - ($(divrem).S): Put these in sysdeps/sparc, not in $(objdir). - (routines): Only put this inside ifeq ($(subdir),gnulib). + * inet/arpa/*.h, inet/protocols/*.h, inet/netdb.h, inet/resolv.h: + New files from 4.4. + * inet/Makefile (headers): Snarf *.h from arpa/ and protocols/. - * sysdeps/unix/bsd/sun/m68k/Makefile: File removed. + * sysdeps/m68k/fpu/__math.h, assert/assert.h: #include + and use its macros rather than rolling our own. -Sat Feb 20 16:43:55 1993 Torbjorn Granlund (tege@sics.se) + * misc/sys/cdefs.h: New file. + * misc/Makefile (headers): Add it. - * sysdeps/i386/memset.c: Move adjustment of LEN before first stosb. - * sysdeps/i386/bzero.c: Likewise. + * Makerules: Moved check for headers coming from env to Rules. -Thu Feb 18 14:34:00 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) +Tue May 12 01:04:10 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) - * malloc/mcheck.c (checkhdr): Use `const', not `__const'. + * sysdeps/generic/strsep.c: New. + * string/string.h [__USE_BSD] (strsep): Declare. + * string/Makefile (routines): Added strsep. -Mon Feb 1 19:19:13 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * sysdeps/unix/sysv/__settod.c, sysdeps/unix/sysv/stime.S, + sysdeps/unix/bsd/stime.c, sysdeps/stub/stime.c: New. + * time/time.h [__USE_SVID] (stime): Declare it. - * sysdeps/m68k/fpu/__logb.c: Use two-operand forms of 68881 insns - rather than the one-operand source==dest form. Sun's sun3 - assembler apparently doesn't grok the one-operand form. + * sysdeps/unix/bsd/bsd44/__getdents.S: New. - * sysdeps/posix/getcwd.c: Call __lstat instead of stat. - We should not lose on nonexistent symlink targets. + * posix/wordexp.h, posix/utime.h, posix/unistd.h, time/time.h, + termios/termios.h, posix/tar.h, string/strings.h, string/string.h, + stdlib/stdlib.h, signal/signal.h, stdio/stdio.h, misc/sgtty.h, + setjmp/setjmp.h, inet/resolv.h, pwd/pwd.h, stdio/printf.h, + misc/nlist.h, inet/netdb.h, math/math.h, malloc/malloc.h, + locale/locale.h, grp/grp.h, posix/glob.h, posix/getopt.h, + posix/fnmatch.h, io/fcntl.h, errno.h, dirent/dirent.h, + ctype/ctype.h, string/bstring.h, assert/assert.h, stdlib/alloca.h, + misc/a.out.h [__cplusplus]: Added stupid cruft for losing C++. -Thu Jan 21 20:12:25 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) +Mon May 11 01:40:49 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) - * posix/glob.c: Put #includes of and after - all system includes, in case one of them has conflicting defns of - FNM_* or GLOB_*, so we will redefine. #undef FNM_* and GLOB_* - before including our headers. + * math/Makefile (headers): Added huge_val.h and nan.h. -Tue Jan 19 16:16:05 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * io/Makefile (headers): Changed gnu/stat.h to statbuf.h. - * mach/Makefile (routines): Removed __bcopy. - * mach/__bcopy.c: File removed. + * time/Makefile (install-data): Include $(localtime-file) and + $(posixrules-file) if they are relative. + (install-others): Include them if absolute. + ($(posixrules-file), $(localtime-file)): Define rules to install if + absolute file names. + * Makerules (+install): Include $(install-others) verbatim. + * Makeconfig (localtime-file): Made default /etc/localtime. - * posix/glob.c (my_realloc): Cast result of malloc/realloc to (char *). + * sysdeps/generic/Makefile (endian.h): Only generate if would + otherwise use stub version. + * sysdeps/stub/endian.h, sysdeps/i386/endian.h: New. -Sat Jan 16 14:19:07 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * Rules, Makefile: Export distribute and dont_distribute. + * Make-dist: Export sysdep_dirs. Unexport things rather than + clobbering their values. - * manual/summary.awk: Handle single word in braces. + * misc/sys/ptrace.h: Fixed typo. -Thu Jan 14 13:52:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * stdio/stdio.h (__io_read, __io_write, __io_seek, __io_close): + Added comments. - * posix/glob/Makefile.in (realclean): Remove Makefile. + * stdio/internals.c (flushbuf): If in append mode, don't do aligned + writing, seek to the target, or update the offset. -Mon Jan 11 18:32:56 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * posix/unistd.h (lseek): Doc fix. - * sysdeps/unix/bsd/sony/m68k/Implies: Imply unix/bsd/hp/m68k, not - unix/hp/m68k. + * misc/swab.c: New. + * misc/Makefile (routines): Added swab. - * sysdeps/unix/bsd/tcsetattr.c: Use cbreak mode if ISIG is set, - not if OPOST is set. - Fixed typo in TOSTOP frobbing. +Wed May 6 12:32:18 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) -Tue Jan 5 15:11:31 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * math/Makefile, inet/Makefile (source_dirs): Export it. + * MakeTAGS (all-dirs): Include $(source_dirs). - * posix/Makefile (glob.tar): Include glob/configure.in. + * Makefile (TAGS): Removed dep on subdir_TAGS. + (+subdir_targets): Removed subdir_TAGS. + * MakeTAGS [! subdir] (TAGS): Depend on subdir_TAGS. + [! subdir] (subdir_TAGS): Recurse on subdirectories. -Mon Jan 4 17:05:44 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * Makerules (headers): Don't take value from the environment. - * posix/glob/Makefile.in (RANLIB): Define to @RANLIB@. - (RANLIB_TEST): Removed. - (libglob.a): Don't use it. + * Makerules (sysdirs, sysdep_dir): Export them. -Thu Dec 31 13:08:20 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * MakeTAGS: New makefile. + * Makefile (distribute): Include it. + * Makefile (TAGS), Rules (TAGS): Removed rules. + * Makerules (TAGS): New rule that uses MakeTAGS. + * Makefile (TAGS): Depend on subdir_TAGS. - * sysdeps/unix/bsd/bsd4.4/{chflags,fchflags,setlogin}.S: Fix arg count. + * Makerules (install, install-lib, install-data, routines, aux): + Don't bother removing these if they come from the environment, since + they won't with make >= 3.62.8. + * Rules (distribute, headers): Ditto. + (subdir): Export it. + * Makerules (sources, headers): Export these. + * Makefile (subdirs): Export it. - * sysdeps/posix/Makefile (mk-stdiolim): Use $(cded-objdir-CPPFLAGS). - (cded-objdir-CPPFLAGS): Define new var. + * Rules (+tags_sources): Removed. + * Makerules (tags-sources): Define here. + * ctype/Makefile (tags-sources): Redefine to give headers precedence + over sources. + * Rules (TAGS), Makefile (TAGS): Rewrote rules. + * Makeconfig (+ctags): Removed. + (ETAGS): Define. - * sysdeps/unix/Makefile ($(sys/param.h-includes)): Strip trailing - slash from directory name for mkdir. + * sysdeps/posix/getcwd.c: Don't closedir twice. -Tue Dec 29 18:18:58 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * sysdeps/unix/bsd/hp/m68k/__wait3.S: Define __wait3, not ___wait3. - * sysdeps/posix/sysd-stdio.c (exists): Return true if stat fails - with other than ENOENT. + * posix/sys/types.h [__USE_BSD] (fsid_t): Define. + * posix/gnu/types.h (__fsid_t): Define. - * sysdeps/posix/__flock.c: New file. + * io/fcntl.h (F_GETLK): Define. - * malloc/Makefile (dist-headers): Define to malloc.h. - (headers): Replace malloc.h with $(dist-headers). - (malloc/Makefile): Use $(dist-headers) in place of $(headers). - (malloc-dist, distribute): Replace ChangeLog with OChangeLog. +Tue May 5 18:36:46 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) - * malloc/dist-Makefile (malloc.tar{,.Z}): Depend on FORCE. - (FORCE): Define empty target. + * misc/Makefile (routines): Added seteuid and setegid. + * sysdeps/stub/sete[ug]id.c, sysdeps/unix/bsd/bsd44/sete[ug]id.S: New. + * posix/unistd.h [__USE_BSD] (seteuid, setegid): Declare. -Tue Dec 29 16:45:01 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * sysdeps/unix/bsd/tcsendbrk.c: #include - * sysdeps/sparc/{umul,mul}.S: Use tege's shift+mask hack to avoid - a test and branch for sign fixup. + * Makerules: Strip whitespace from $(headers) so ifdef wins. - * limits.h [__GNUC__ >= 2]: #ifndef _GCC_LIMITS_H_, not _LIMITS_H_, - to #include_next . + * sysdeps/unix/bsd/bsdtty.h: #undef a bunch more things. - * sysdeps/posix/getcwd.c: Call closedir after copying from the - `struct dirent' buffer, not before. That buffer is freed by closedir. + * sysdeps/unix/bsd/bsd44/errnos.h: New, hacked from 4.4 . - * posix/gnu/types.h (__fd_set): Renamed member to `fds_bits' for - compatibility with braindead extant code. + * sysdeps/unix/Makefile (ioctls.h, errnos.h): Only generate if + the files that would be used otherwise are the stub versions. - * sysdeps/posix/sysd-stdio.c (__stdio_gen_tempname): Check for BUF - being too small before doing sprintf. + * sysdeps/unix/bsd/tcflow.c: Don't write VSTOP or VSTART if it is + _POSIX_VDISABLE. - * malloc/malloc.h [_MALLOC_INTERNAL], malloc/valloc.c - [HAVE_CONFIG_H]: #include "config.h". + * sysdeps/unix/bsd/tcflush.c: Use FREAD|FWRITE for TCIOFLUSH. - * Makefile (doc): Removed rule. - (dvi, info): New rule. + * sysdeps/unix/bsd/usleep.c: Use select rather than itimers to wait. -Mon Dec 28 15:50:31 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/unix/bsd/tcsendbrk.c: Use select rather than itimers to wait. - * posix/glob.c [HAVE_CONFIG_H]: Test this, not SHELL, to decide - whether or not we want to #include "config.h". + * termios/cfmakeraw.c: New. + * termios/Makefile (routines): Added cfmakeraw. -Wed Dec 16 12:01:09 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/unix/bsd/bsd44/ioctls.h: New file, hacked from 4.4 + . + * sysdeps/unix/bsd/bsd44/__tcgetatr.c: New. + * sysdeps/unix/bsd/bsd44/tcsetattr.c: New. + * sysdeps/unix/bsd/bsd44/tcdrain.c: New. - * inet/Makefile (routines): Removed ruserpass. Why did it get - included in the first place? That version does not match the one - in the NET2 ftp source; whence came it? + * termios/sys/ttydefaults.h: New, snarfed from 4.4. + * termios/Makefile (headers): Define. + * termios/termios.h [__USE_BSD]: #include -Sat Dec 12 16:41:03 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/posix/getcwd.c: Removed unused variable. - * sysdeps/unix/bsd/sun/sparc/start.c: Use .set, not GNU ld magic, - to alias asm symbol `start' to `__start'. + * time/__tzset.c: Cast string literal to (char *). -Fri Nov 20 18:20:50 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * setjmp/sigjmp_save.c: Declare properly to return void. - * stdio/vfprintf.c (%p): Tests of LEFT for "(nil)" were inverted. + * sysdeps/ieee754/nan.h: Created; somehow it disappeared. - * stdio/tst-printf.c (main): Add `printf ("%#03x\n", 1);'. - Add a width to %p test. +Mon May 4 18:30:52 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * stdio/vfprintf.c (unsigned_integer): Clear SHOWSIGN and SPACE - flags before falling into `number:'. The `+' and ` ' flags are - only meaningful for signed numbers. + * sysdeps/unix/bsd/bsd44/__wait4.S: New. - * string/tester.c (main): For strstr #11, correct return is first - arg, not end of first arg. + * sysdeps/unix/bsd/4.4: Renamed to sysdeps/unix/bsd/bsd44. - * stdlib/mbtowc.c: If S is "", return 0. How was I convinced - before that this is not what ANSI says? + * signal/gnu/signal.h (__SA_DISABLE, __SA_NOCLDSTOP): Use same bits + 4.4 uses. - * stdio/__vfscanf.c: Initialize MALLOC_STRING to zero on each - iteration (when we zero is_short et al). +Sun May 3 13:57:25 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * sysdeps/posix/mkstemp.c (mkstemp): New file. - * sysdeps/stub/mkstemp.c (mkstemp): New file. - * misc/Makefile (routines): Add mkstemp. + * stdio/fwrite.c: Use unsigned char to avoid sign extension. - * sysdeps/posix/mktemp.c: Use `getpid ()' in place of undefined - variable PID. - #include . + * stdlib/__random.c (randtbl): Replaced default constants so they + match the state produced by "srandom (1)". - * dirent/scandir.c: If SELECT is nil, don't try to call it. - If CMP is nil, don't sort. + * stdlib/mbtowc.c: Test for S == "" before testing for no mbchars. -Wed Nov 18 13:42:09 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * stdlib/Makefile (tests): Added testrand. + * stdlib/testrand.c: New test for rand. - * sysdeps/stub/__wait4.c: Changed type of 2nd arg to __WAIT_STATUS. + * stdlib/testmb.c: Added 2 mblen tests. - * posix/sys/wait.h (__WAIT_STATUS): #if 0 out gcc2 magic defn. - GCC is broken as of 2.3.1. + * stdlib/wcstombs.c: Don't do anything strange for EOF. + Copy non-MB characters as they are. + Properly increment S after writing. - * signal/signal.h (__sigaction, sigaction): Fixed type in - prototype from `struct __sigaction' to `struct sigaction'. + * stdlib/testmb.c: Added test case for wcstombs. - * sysdeps/m68k/fpu/atan2.c (PI, PIo4, PIo2): Removed static vars. - (atan2): Declare PIo4 and PIo2 locally, and compute them from pi. + * signal/signal.h (SA_DISABLE): Define. + * signal/gnu/signal.h (__SA_DISABLE): Define. - * Makerules (native-CFLAGS): Define as $(config-defines). + * signal/signal.h (struct sigaltstack): Define new type. + (sigaltstack): Declare new fn. + * sysdeps/stub/sigaltstack.c: New. + * sysdeps/unix/bsd/4.4/sigaltstack.S: New. - * sysdeps/unix/bsd/glue-ctype.c: Upcased all HAVE_* names in #ifdef's. + * misc/Makefile (routines): Added reboot. + * posix/unistd.h (reboot): Declare. + * sysdeps/stub/reboot.c: New. - * posix/fnmatch.h (FNM_LEADING_DIR): New flag. - * posix/fnmatch.c (fnmatch): Support it. + * sysdeps/unix/bsd/ulimit.c [! HAVE_GNU_LD]: #define _etext -> etext. - * sysdeps/i386/bytesex.h: New file. - * sysdeps/i386/endian.h: Removed. - * sysdeps/stub/bytesex.h: New file. - * sysdeps/stub/endian.h: Removed. - * sysdeps/generic/Makefile (bytesex.h): Create with det_endian. - (endian.h): Removed old rule. - (before-compile): Replace endian.h with bytesex.h. - * string/Makefile (headers): Add bytesex.h. - * string/endian.h: New file. - * sysdeps/generic/det_endian.c: Rewritten to output just one line, - a #define of __BYTE_ORDER to 1234, or 4321, etc. - * inet/arpa/nameser.h: #include , rather than #ifdef'ing - on misc. things to #define BYTE_ORDER. - * sysdeps/generic/waitstatus.h: Test value of __BYTE_ORDER, not - whether __LITTLE_ENDIAN is #define'd. - * sysdeps/generic/mathimpl.h: Likewise. - * sysdeps/generic/memcopy.h: Likewise. - * sysdeps/ieee754/huge_val.h: Likewise. - * sysdeps/ieee754/nan.h: Likewise. - * sysdeps/ieee754/ieee754.h: Likewise. + * sysdeps/unix/bsd/sun/sparc/sethostid.S: #define _ERRNO_H before + #include . -Mon Nov 16 12:19:10 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * configure (newos*): base_os=unix/bsd. - * Makeconfig (ARCH): Define to empty if $(..)config.make exists. +Fri May 1 12:21:47 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) - * misc/getusersh.c (initshells): malloc (STATB.st_size + 1), to - contain the terminating NUL. Pass fgets the real amount of space - left in the buffer, instead of the random number (MAXPATHLEN + 1). + * io/gnu/stat.h: Moved to sysdeps/unix/bsd/statbuf.h. + * sysdeps/unix/bsd/statbuf.h: Define struct stat, not struct __stat. + * io/stat.c: Use struct stat, not struct __stat. + * sysdeps/stub/statbuf.h: New. + * io/sys/stat.h: #include instead of gnu/stat.h. + (stat, fstat, lstat, chmod, fchmod, umask, mkdir, mknod): Don't + #define; declare as fns instead. + * sysdeps/unix/sysv/stat.h: New. + * sysdeps/unix/sysv/sysv_stat.h, sysdeps/unix/sysv/sys_stat.S, + sysdeps/unix/sysv/sys_fstat.S: Removed. + * sysdeps/unix/sysv/Makefile (sysdep_routines): Removed sys_stat, + sys_fstat. + * sysdeps/unix/sysv/Dist: Removed sys_stat.S, sys_fstat.S. + * sysdeps/unix/bsd/__stat.S, sysdeps/unix/bsd/__fstat.S: Moved to + sysdeps/unix. - * configure.in (minix*): base_os=unix/sysv. - * sysdeps/unix/sysv/minix/sigaction.h: New file. + * sysdeps/m68k/fpu/switch/Makefile: Refer to dirs fpu and + fpu/switch, not 68881 and 68881-switch. - * sysdeps/generic/sigaction.h (__SA_*): Renamed to SA_*. - [__USE_BSD]: Put all but SA_NOCLDSTOP under this #ifdef. - * signal/signal.h (SA_*): Remove #define's. - (SIG_*): Moved #define's to sigaction.h. + * sysdeps/m68k/fpu/switch/switch.c: #include <68881-sw.h>, not + 68881-switch.h. - * sysdeps/generic/sigset.h (__sigmask): Shift ((sigset_t) 1), not - just 1. + * sysdeps/m68k/fpu/__expm1.c, sysdeps/m68k/fpu/__rint.c, + sysdeps/m68k/fpu/asin.c, sysdeps/m68k/fpu/atan.c, + sysdeps/m68k/fpu/atanh.c, sysdeps/m68k/fpu/ceil.c, + sysdeps/m68k/fpu/cos.c, sysdeps/m68k/fpu/cosh.c, + sysdeps/m68k/fpu/exp.c, sysdeps/m68k/fpu/fabs.c, + sysdeps/m68k/fpu/floor.c, sysdeps/m68k/fpu/log.c, + sysdeps/m68k/fpu/log10.c, sysdeps/m68k/fpu/log1p.c, + sysdeps/m68k/fpu/sin.c, sysdeps/m68k/fpu/sinh.c, + sysdeps/m68k/fpu/sqrt.c, sysdeps/m68k/fpu/tan.c, + sysdeps/m68k/fpu/tanh.c: #include without explicit path + (which has changed). - * signal/signal.h (kill): Fix type of first arg to __pid_t, not int. + * sysdeps/unix/bsd/sun/sparc/start.c: #include . + (syscall): Removed C function; define all inside asm instead. + (init_shlib): Cast return value of syscall to right types. - * sysdeps/unix/Makefile (errnos): Changed regexp to disallow - E[^A-Z0-9], and not to require that the defn be numeric only. +Thu Apr 30 01:15:33 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) - * stdlib/stdlib.h: Don't #include ; ANSI doesn't say - defines HUGE_VAL. + * sysdeps/unix/bsd/sun/sparc/start.c: Added code to use dynamic + linker from trq@dionysos.thphys.ox.ac.uk. - * stdlib/stdlib.h (__compar_fn_t): Use __P around prototype. + * sysdeps/unix/bsd/sun/sunos4: Renamed to sunos411. - * posix/Makefile (headers): Add utsnamelen.h, so it gets installed. - (distribute): Remove it from here. + * setjmp/setjmp.h (sigsetjmp): Don't declare as a function. + Define as a macro instead. + (__sigjmp_save): Declare; internal fn used by sigsetjmp macro. + (_setjmp), [__FAVOR_BSD] (setjmp): Always define as a macro. + * setjmp/sigjmp_save.c: New file. + * setjmp/_setjmp.c, setjmp/sigsetjmp.c: Removed. + * Makefile (routines): Removed _setjmp, sigsetjmp; added sigjmp_save. + * misc/bsd-compat.c (setjmp): Don't define. - * setjmp/setjmp.h (sigjmp_buf): Rename `__savemask' to - `__mask_was_saved' and `__sigmask' to `__saved_mask'. - * setjmp/sigjmp_save.c (__sigjmp_save): Change use. - * setjmp/siglongjmp.c (siglongjmp): Likewise. + * configure (sysv, bsd): base_os=unix -Fri Nov 13 17:34:00 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * configure: Fatal error if the machine or os did not generate any + sysdep dirs. - * configure.in (config.make): Write assignments for INSTALL, - INSTALL_PROGRAM, INSTALL_DATA, and RANLIB. + * configure: No error message after config.sub fails. -Thu Nov 12 17:11:18 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/mips, sysdeps/unix/bsd/ultrix42: New port from + brendan@cs.widener.edu. - * sysdeps/stub/stime.c: #include for NULL. + * Reorganized sysdeps: + unix/bsd/ + hp9k3bsd -> hp/m68k + news -> sony/m68k + sun/ + sun3/os3 -> sunos3/m68k + sun3 -> m68k + sun4 -> sparc + unix/sysv/ + r4 -> sysv4 + m68k/ + 68881 -> fpu + 68881/68881-switch -> fpu/switch + * sysdeps/unix/bsd/sony/m68k/start.c: Changed #include. + * configure: Use config.sub to canonicalize name. + Then use combinations of machine, vendor, and os (with special + hacks for os flavors) for sysdep dirs to try. + * Makefile (distribute): Added config.sub. + +Wed Apr 29 23:06:06 1992 Brendan Kehoe (brendan@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/bsd/hp9k3bsd/sysdep.h, + sysdeps/unix/bsd/sun/sun3/sysdep.h, sysdeps/unix/bsd/sun/sun4/sysdep.h, + sysdeps/unix/bsd/vax/sysdep.h,sysdeps/unix/i386/sysdep.h, + sysdeps/mach/i386/sysdep.h: Change all definitions of movl/mov to + MOVE(s, d), for insn sets with d,s instead of s,d move insns. + * sysdeps/unix/__getegid.S, sysdeps/unix/__geteuid.S, + sysdeps/unix/__getppid.S: Use that in each of these. + +Wed Apr 29 17:58:21 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * io/getwd.c: Default PATH_MAX if not defined. + + * sysdeps/unix/getlogin.c, sysdeps/posix/ttyname.c: Make buffers + only as big as needed, avoiding PATH_MAX. + + * sysdeps/posix/getcwd.c: Dynamically extend the buffer as we go, + not afterwards; default PATH_MAX if not defined. + + * posix/execvp.c: Dynamically allocate an array on the stack for the + path name, rather than using a fixed-size array. + + * pwd/putpwent.c: Print pw_dir field. + + * sysdeps/posix/mktemp.c: If the pid has changed, update OLDPID. + +Tue Apr 28 19:25:21 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * malloc/valloc.c [emacs]: #include "config.h" + +Thu Apr 23 13:55:34 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * sysdeps/m68k/68881/__drem.c: Define __drem, not drem. + Call ____drem, not __drem. + + * malloc/realloc.c, malloc/malloc.c: Don't #define memcpy or memset + if already #define'd. + +Tue Apr 21 04:16:56 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * malloc/Makefile: Moved include ../Rules after malloc.tar rules. + They need $(routines), which Rules clears. + + * malloc/realloc.c (MIN): Renamed to min. Conflicted with HPUX + system header files. + + * Makefile (sysdep-subdirs): Is not called +sysdep-subdirs. + + * configure: Don't try to create config.status if . is not writable. + + * sysdeps/generic/printf_fp.c: Fixed padding loop condition for zero + case. + + * math/math.h: Don't #include for HUGE_VAL. + Instead, #include . + * stdlib/stdlib.h: Ditto. + * math/math.h [__USE_GNU]: #include to get NAN value. + * float.h: Removed. + * Makefile (headers): Removed float.h and fl.h. + * sysdeps/ieee754/huge_val.h, sysdeps/ieee754/nan.h, + sysdeps/stub/huge_val.h, sysdeps/stub/nan.h, sysdeps/vax/huge_val.h: + Created (from old fl.h files). + + * math/bsd/common_source/pow.c (pow_p): When checking if Y is an + integer, don't let it overflow a `long int'. + (pow): Check for NaN with __isnan, not (X != X). + +Tue Apr 21 02:26:19 1992 Brendan Kehoe (brendan@cs.widener.edu) + + * sysdeps/unix/bsd/sun/sun4/__pipe.S, + sysdeps/unix/bsd/vax/__wait3.S, sysdeps/unix/bsd/hp9k3bsd/__wait3.S: + Use the ENTRY macro for each beginning + + * sysdeps/unix/sysdep.h, sysdeps/unix/bsd/hp9k3bsd/sysdep.h, + sysdeps/unix/bsd/sun/sun3/sysdep.h, + sysdeps/unix/bsd/sun/sun4/sysdep.h, sysdeps/unix/bsd/vax/sysdep.h, + sysdeps/unix/i386/sysdep.h, sysdeps/unix/sysdep.h, + sysdeps/unix/sysv/sysdep.h [SYSCALL, SYSCALL__, PSEUDO]: Modify to + also receive the number of args the syscall takes; added for future + ports that will require this information. + + * sysdeps/unix/i386/__pipe.S, sysdeps/unix/bsd/vax/__pipe.S, + sysdeps/unix/bsd/sun/sun4/__pipe.S, + sysdeps/unix/bsd/hp9k3bsd/__pipe.S, sysdeps/unix/i386/__brk.S, + sysdeps/unix/bsd/sun/__getdents.S, sysdeps/unix/i386/__fork.S, + sysdeps/unix/bsd/vax/__fork.S, sysdeps/unix/bsd/sun/sun4/__fork.S, + sysdeps/unix/__setgid.S, sysdeps/unix/__setuid.S, + sysdeps/unix/bsd/sun/sun3/__vfork.S, + sysdeps/unix/bsd/sun/sun4/__vfork.S, + sysdeps/unix/bsd/vax/__wait.S, sysdeps/unix/bsd/hp9k3bsd/__wait.S, + sysdeps/unix/i386/__wait.S, + sysdeps/unix/bsd/sun/sunos4/sys_wait4.S, + sysdeps/unix/bsd/sun/sun3/sethostid.S, + sysdeps/unix/bsd/sun/sun4/sethostid.S, + sysdeps/unix/bsd/__sigvec.S, sysdeps/unix/bsd/sun/sun4/__sigvec.S, + sysdeps/unix/sysv/i386/__sigret.S, sysdeps/unix/__getppid.S, + sysdeps/unix/bsd/__access.S, sysdeps/unix/sysv/signal.S, + sysdeps/unix/__getegid.S, sysdeps/unix/__geteuid.S, + sysdeps/unix/bsd/bsd_getgrp.S, sysdeps/unix/bsd/__dup2.S, + sysdeps/unix/bsd/__fchmod.S, sysdeps/unix/bsd/__fchown.S, + sysdeps/unix/bsd/__flock.S, sysdeps/unix/bsd/__fstat.S, + sysdeps/unix/bsd/__lstat.S, sysdeps/unix/bsd/__mkdir.S, + sysdeps/unix/bsd/__readlink.S, sysdeps/unix/bsd/__rmdir.S, + sysdeps/unix/bsd/__stat.S, sysdeps/unix/bsd/__symlink.S, + sysdeps/unix/bsd/4.4/chflags.S, sysdeps/unix/bsd/4.4/fchflags.S, + sysdeps/unix/bsd/4.4/sstk.S, sysdeps/unix/bsd/4.4/setlogin.S, + sysdeps/unix/bsd/__getdtsz.S, sysdeps/unix/bsd/__getpgsz.S, + sysdeps/unix/bsd/__setregid.S, sysdeps/unix/bsd/__setreuid.S, + sysdeps/unix/bsd/__utimes.S, sysdeps/unix/bsd/ftruncate.S, + sysdeps/unix/bsd/readv.S, sysdeps/unix/bsd/truncate.S, + sysdeps/unix/bsd/vhangup.S, sysdeps/unix/bsd/writev.S, + sysdeps/unix/bsd/__getpgrp.S, sysdeps/unix/bsd/__setpgrp.S, + sysdeps/unix/bsd/__getrusag.S, sysdeps/unix/bsd/getprio.S, + sysdeps/unix/bsd/getrlimit.S, sysdeps/unix/bsd/setprio.S, + sysdeps/unix/bsd/__sigblock.S, + sysdeps/unix/bsd/__sigpause.S, sysdeps/unix/bsd/__sigstmsk.S, + sysdeps/unix/bsd/killpg.S, sysdeps/unix/bsd/sigstack.S, + sysdeps/unix/bsd/rename.S, sysdeps/unix/bsd/__adjtime.S, + sysdeps/unix/bsd/__setitmr.S, sysdeps/unix/bsd/__settod.S, + sysdeps/unix/sysv/sys_stat.S, sysdeps/unix/sysv/sys_fstat.S, + sysdeps/unix/sysv/__utssys.S, sysdeps/unix/sysv/utime.S, + sysdeps/unix/sysv/__times.S, sysdeps/unix/sysv/i386/time.S, + sysdeps/unix/sysv/alarm.S, sysdeps/unix/sysv/pause.S, + sysdeps/unix/sysv/ulimit.S, sysdeps/unix/__chdir.S, + sysdeps/unix/__chmod.S, sysdeps/unix/__chown.S, + sysdeps/unix/__close.S, sysdeps/unix/__dup.S, + sysdeps/unix/__fcntl.S, sysdeps/unix/__link.S, + sysdeps/unix/__lseek.S, sysdeps/unix/__open.S, + sysdeps/unix/__read.S, sysdeps/unix/__umask.S, + sysdeps/unix/__unlink.S, sysdeps/unix/__write.S, + sysdeps/unix/__ioctl.S, sysdeps/unix/__mknod.S, + sysdeps/unix/acct.S, sysdeps/unix/chroot.S, sysdeps/unix/fsync.S, + sysdeps/unix/ptrace.S, sysdeps/unix/swapon.S, sysdeps/unix/sync.S, + sysdeps/unix/__execve.S, sysdeps/unix/__getgid.S, + sysdeps/unix/__getpid.S, sysdeps/unix/__getuid.S, + sysdeps/unix/_exit.S, sysdeps/unix/__kill.S, + sysdeps/unix/inet/__gethstnm.S, sysdeps/unix/inet/__select.S, + sysdeps/unix/inet/gethostid.S, sysdeps/unix/inet/sethostid.S, + sysdeps/unix/inet/sethostnam.S, sysdeps/unix/inet/accept.S, + sysdeps/unix/inet/bind.S, sysdeps/unix/inet/connect.S, + sysdeps/unix/inet/getpeernam.S, sysdeps/unix/inet/getsocknam.S, + sysdeps/unix/inet/getsockopt.S, sysdeps/unix/inet/listen.S, + sysdeps/unix/inet/recv.S, sysdeps/unix/inet/recvfrom.S, + sysdeps/unix/inet/recvmsg.S, sysdeps/unix/inet/send.S, + sysdeps/unix/inet/sendmsg.S, sysdeps/unix/inet/sendto.S, + sysdeps/unix/bsd/vax/__wait3.S, sysdeps/unix/bsd/hp9k3bsd/__wait3.S, + sysdeps/unix/inet/setsockopt.S, sysdeps/unix/inet/shutdown.S, + sysdeps/unix/inet/socket.S, sysdeps/unix/inet/socketpair.S: Added the + argument count to every use of SYSCALL, SYSCALL__ or PSEUDO. + +Tue Apr 21 00:06:52 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * limits.h [__GNUC__ >= 2]: Use #include_next to get GCC's . + + * sysdeps/posix/sysd-stdio.c (__stdio_read, __stdio_write, + __stdio_errmsg) [EINTR && EINTR_REPEAT]: Do EINTR looping. + * sysdeps/unix/sysv/sysd-stdio.c: New. + #define EINTR_REPEAT and #include posix/sysd-stdio.c. + + * stdlib/mbstowcs.c: Copy non-MB chars verbatim, instead of error. + + * sysdeps/generic/printf_fp.c: Note sign of exponent and take its + absolute value for arithmetic. + + * stdlib/testmb.c: New. + * stdlib/Makefile (tests): Added testmb. + + * sysdeps/generic/frexp.c [NAN]: If VALUE is infinite, return NAN. + If VALUE is NAN, set errno to EDOM and return VALUE. + If VALUE is zero, return it. In all special cases, clear *EXP. + + * stdio/test-fseek.c: New. + * stdio/Makefile (tests): Added test-fseek. + + * stdio/fseek.c: Position returned from io_funcs.seek is absolute, + not EOF-relative when using SEEK_END. + + * sysdeps/posix/sysd-stdio.c (__stdio_gen_tempname): Set errno to + EEXIST when we run out. + + * sysdeps/posix/sysd-stdio.c (exists): Use stat rather than open, so + we don't need read access. + + * sysdeps/posix/mk-stdiolim.c (TMP_NAM): is 62 ** 3. + +Mon Apr 20 23:08:02 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * sysdeps/posix/sysd-stdio.c (__stdio_gen_tempname): Don't return + the same name twice when the file doesn't exist. + + * stdio/vfprintf.c (%c format): Tests of LEFT for padding were + reversed. + + * sysdeps/generic/printf_fp.c: If we have written some fractional + digits, write zeros up to the precision. + + * sysdeps/unix/bsd/sun/sun4/start.c: Don't clear the FP until just + before calling main. - * sysdeps/stub/morecore.c: Fixed arg type to ptrdiff_t. +Wed Apr 15 01:43:38 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/stub/ptrace.c: Fixed `va_start' uses to pass 2nd arg. + * Makerules (libc.a): Don't depend on libc.a(...); only on lib. + (lib-noranlib): Depend on libobjs. + (+libobjs): New var. + (libobjs): Depend on $(+libobjs). + * Rules (others, tests): Don't depend on lib; on libc.a instead. - * sysdeps/unix/sysv/sysv4/fcntlbits.h: New file, modified from - unix/bsd/sun/sunos4 version. + * locale/C-numeric.c: grouping is "". - * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: New file, modified from - unix/bsd version. + * locale/localeconv.c: Set int_frac_digits. - * sysdeps/unix/bsd/ultrix4/fcntlbits.h: New file, modified from - unix/bsd version. + * locale/setlocale.c: Accept "" to mean "C". - * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: New file, modified from - unix/bsd version. + * sysdeps/unix/sysv/r4/bsddir.h: Protect against multiple inclusion. - * sysdeps/unix/sysv/fcntlbits.h: Rewritten from stub version. - * sysdeps/unix/sysv/filebits.h: File removed. + * sysdeps/unix/sysv/r4/Dist: Created; includes bsddir.h and + sys_getdents.S. - * sysdeps/unix/bsd/fcntlbits.h: Rewritten from stub version. - * sysdeps/unix/bsd/filebits.h: File removed. + * sysdeps/unix/i386/sysdep.h [! HAVE_SYSCALLS]: Don't #inlcude + unix/sysdep.h. + * sysdeps/unix/sysv/sysdep.h, sysdeps/unix/sysdep.h + (HAVE_SYSCALLS): #define. + * sysdeps/unix/sysv/i386/sysdep.h: #include unix/sysv/sysdep.h, then + unix/i386/sysdep.h. - * io/fcntl.h: Don't #include . - Removed all #define's of foo to __foo; now defines - the unmarked cases. + * sysdeps/unix/sysv/Makefile: Fixed typos. - * sysdeps/stub/fcntlbits.h: Remove leading __ from all symbols. + * sysdeps/unix/sysv/Dist: Add utmp.h. - * misc/sys/file.h (L_SET, L_INCR, L_XTND): Define to literal - values, not to __ versions. These are not system-dependent. - (LOCK_SH, LOCK_EX, LOCK_UN, LOCK_NB): Define to literal values, - not to __ versions. These are not actually system-dependent, - because no system has `flock' except for BSD compatibility, and - then they use the same numbers. - * sysdeps/stub/fcntlbits.h (__L_SET, __L_INCR, __L_XTND): Removed. - (__LOCK_SH, __LOCK_EX, __LOCK_UN, __LOCK_NB): Removed. - -Tue Nov 10 17:01:11 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * sysdeps/stub/fcntlbits.h: Merged in contents of filebits.h. - (struct __flock): Renamed to `struct flock'. - * sysdeps/stub/filebits.h: File removed. + * sysdeps/posix/Makefile (mk-stdiolim): Explicit commands, to + compile it without normal gcc flags. - * posix/unistd.h (access, lseek, close, read, write, pipe, chown, - fchown, chdir, dup, dup2, execve, pathconf, fpathconf, sysconf, - getpid, getppid, setpgrp, setpgid, setsid, getuid, getgid, - geteuid, getegid, setuid, setreuid, setgid, setregid, fork, vfork, - isatty, link, symlink, readlink, unlink, rmdir, gethostname, - getpagesize, getdtablesize): Remove #define's to __ versions. + * configure (i386-sysv): unix/i386/sysv -> unix/sysv/i386. + (i386-sysvr4): New configuration. - * posix/sys/types.h: Don't #include . - Instead, use forward decl `struct timeval;'. - (__select): Use `struct timeval', not `struct __timeval', in prototype. - Move into #ifdef __USE_BSD. - (select): Removed #define to __select; added real prototype. +Tue Apr 14 16:47:47 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/generic/waitstatus.h: New file. - * sysdeps/stub/waitflags.h: New file. - * sysdeps/unix/bsd/waitflags.h: New file. - * posix/sys/wait.h: Don't #include . - Do #include and . - (WHOHANG, WUNTRACED): Don't #define to __ versions; - will define the unmarked cases. - (union __wait): Remove type decl and associated #define's for w_*; - `union wait' (no __) is now defined in . - [__USE_BSD && __GNUC__ >= 2] (__WAIT_STATUS): Define as funky union. - (waitpid, wait3, wait4, wait): Removed #define's to __ versions; - added real prototypes. - * posix/gnu/wait.h: File removed. - * posix/Makefile (headers): Remove gnu/wait.h. + * setjmp/setjmp.h: Put sigjmp_buf before typedef for jmp_buf, which + needs sigjmp_buf #ifdef __FAVOR_BSD. - * posix/sys/times.h [__OPTIMIZE__] (times): Removed #define to __times. + * posix/unistd.h (getgroups): Don't #define. - * posix/sys/utsname.h: Removed decl of __uname_getnode. + * sysdeps/stub/ptrace.c: #include ; declare AP in fn. + Avoid "PTR a, b". - * time/sys/time.h: Don't #include . - Don't support __need_timeval. - (struct timeval, struct timezone, struct itimerval, - enum __itimer_which): Declare these types here. - (gettimeofday, settimeofday, adjtime, getitimer, setitimer, - utimes): Removed #define's to __ versions. Added real prototypes. - Use `struct timeval' instead of `struct __timeval', etc. - * time/gnu/time.h: File removed. - * time/Makefile (headers): Removed gnu/time.h. + * sysdeps/posix/sigintr.c: New; sets global sigset_t `_sigintr'. + * sysdeps/posix/signal.c: Use SA_RESTART unless SIG is in _sigintr. + * signal/sigintr.c: Removed. + * sysdeps/stub/sigintr.c: New. - * resource/sys/resource.h: Don't #include . + * sysdeps/posix/sysd-stdio.c (__stdio_read, __stdio_write, + __stdio_errmsg): Don't treat EINTR specially. -Mon Nov 9 18:41:03 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/unix/Makefile (sys/param.h): Touch the target after mv'ing + from the tmp file, so the file is newer than the directory. - * socket/sys/socket.h (SO_STYLE): Define instead of SO_TYPE. - (SO_TYPE): Define as SO_STYLE. + * sysdeps/generic/strcasecmp.c: Simplified loop; fixed returning + wrong value on equal comparison. - * inet/netinet/in.h (struct ip_opts): New type. - (IP_*): New constants snarfed from 4.4's in.h. + * stdlib/bsearch.c: Don't lose if NMEMB is zero. -Fri Nov 6 15:34:41 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * sysdeps/unix/bsd/__times.c (timeval_to_clock_t): Microseconds are + not milliseconds. - * resource/sys/resource.h (struct rusage): #include - before struct defn. Use `struct timeval', not `struct __timeval' - for `ru_utime' and `ru_stime' members. - - * resource/sys/resource.h [__OPTIMIZE__] (getrusage, ulimit), - misc/sys/ioctl.h [__OPTIMIZE__] (ioctl): Remove #define's to __ - versions. - - * string/strings.h: Protect against multiple inclusion. - * termios/sys/termios.h: Ditto. - - * string/string.h [__GNUC__ && __OPTIMIZE__] (ffs): Remove #define - to __builtin_ffs. +Mon Apr 13 18:25:17 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * stdlib/stdlib.h (comparison_fn_t): Use a typedef, not a #define. - Define this #ifdef __USE_GNU, not #ifdef __GNUC__. - [__GNUC__ && __OPTIMIZE__] (abs, labs): Remove #define's to __builtin_. + * sysdeps/generic/strncase.c: New. + * string/Makefile (routines): Add strncase. + * string/string.h [__USE_GNU]: Declare strncasecmp. -Thu Nov 5 20:01:25 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * time/__tzset.c: Correctly default DST offset to one hour later + than standard offset. - * signal/Makefile (headers): Remove gnu/signal.h; - add sigaction.h, sigset.h. - * sysdeps/generic/sigaction.h: New file. - * sysdeps/generic/sigset.h: New file. - * signal/gnu/signal.h: Removed. - * signal/signal.h: Move __{BEGIN,END}_DECLS outside all the #if's - (except the outermost one that protects against multiple inclusion). - Don't #include . Instead #include - outside of #if's, and #include inside #ifdef __USE_POSIX. - (__sighandler_t): Define here; it is not system-specific. - (kill, ssignal, gsignal, sigblock, sigsetmask, sigpause, sigvec, - sigreturn): Remove #define's to __ versions. - (sighandler_t, sigset_t): Use a typedef, not a #define. - [__OPTIMIZE__] (sig{empty,fill,add,del}set, sigismember): Make - these macros take args. - (sigaction): Remove #define. - (struct __sigvec): Renamed `struct sigvec'. - (__sigvec): Use `struct sigvec', not `struct __sigvec', in prototype. + * time/__tzset.c (tz_rule): Made `name' not be const. -Fri Oct 30 19:45:26 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * string/tester.c [! HAVE_GNU_LD]: #define _sys_nerr and + _sys_errlist to sys_nerr and sys_errlist. - * configure.in (sco*): base_os=unix/sysv. + * stdio/test_rdwr.c: Fixed printf call missing arg. -Thu Oct 29 16:29:26 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * posix/getgrps.c: #undef getgroups first. - * configure.in: New file; mostly contents of old file `configure'. - (srcdir guessing): Removed this code. - Instead, call AC_PREPARE. - Call AC_PROG_INSTALL and AC_PROG_RANLIB to find those programs. - Use AC_HAVE_FUNCS to find what sys_siglist and _ctype_ are called. - (config.make): Write new var `config-defines' with what autoconf - put in $DEFS. - Append -DHAVE_GNU_LD and -DHAVE_GNU_AS to DEFS if appropriate; - don't write gnu_ld and gnu_as variables. - * configure: Removed. - * Makefile (distribute): Add configure.in. - * Makeconfig (+defines): Include $(config-defines) before $(defines); - don't include $(gnu_as) and $(gnu_ld). + * misc/brk.c: Declare __brk. + * misc/sbrk.c: Declare __sbrk. + * misc/setreuid.c, misc/setregid.c: #include . + Fixed types in DEFUN in fn alias. + * misc/getpgsz.c, misc/getdtsz.c, misc/gethstnm.c: #include . + * misc/getdents.c: Declare __getdirentries. + * misc/mknod.c: #include . + * posix/unistd.h: Declare many __ versions of things. + [__OPTIMIZE__]: Many #define foo(...) -> __foo(...). - * sysdeps/unix/bsd/glue-ctype.c (TABLE): Test HAVE_* for several - different names and #define this. - (STRINGIFY): Define macro. - (main): Use TABLE instead of hardcoded name. + * io/fcntl.c: #include . - * configure (sysnames): Try successively less specific base os's. + * sysdeps/unix/Makefile: New hair to install other headers the + system sys/param.h #includes. - * Makerules (ar-it): Define commands only ifdef objects. + * time/__tzset.c (__tzfile_default): Declare. - * sysdeps/mips/setjmp.S: Jump to __setjmp_aux, not ___setjmp_aux. - We are NO_UNDERSCORES. + * time/sys/time.h (timezone): #define to __timezone. -Tue Oct 27 18:11:19 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * sysdeps/ieee754/printf_fp.c: #undef outchar before #including + generic/printf_fp.c. - * sysdeps/posix/pipestream.c, sysdeps/posix/system.c: Always use - __vfork instead of expecting FORK to be defined. - * sysdeps/unix/bsd/system.c, sysdeps/unix/bsd/pipestream.c: - Removed. sysdeps/unix versions are now what we want. + * stdio/__vfscanf.c: For %c, don't lose the first char. + For %s, properly consume the last char when we hit max width. - * sysdeps/unix/bsd/sun/sunos3/m68k/__wait.S: Removed. - * sysdeps/unix/bsd/hp/m68k/__wait.S: Moved to unix/bsd/m68k. + * posix/gnu/types.h (__dev_t, __mode_t): Made int rather than short. + * io/gnu/stat.h (struct stat): Made st_dev, st_rdev, and st_mode use + {,unsigned} short int instead of __dev_t/__mode_t. - * sysdeps/unix/bsd/hp/m68k/{__pipe,sysdep}.S: Moved to unix/bsd/m68k. - * sysdeps/unix/bsd/sun/m68k/{__pipe,sysdep}.S: Removed. +Fri Apr 10 13:55:07 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) - * sysdeps/unix/bsd/sun/m68k/start.c: Moved to unix/bsd/m68k. - * sysdeps/unix/bsd/sony/m68k/start.c: Removed. + * setjmp/setjmp.h: Rearranged so that jmp_buf is defined before any + prototypes are used. + (longjmp): Declare with jmp_buf, not __jmp_buf, to win in BSD mode. + (_longjmp): #define as __longjmp, not longjmp. + (_longjmp, _setjmp): Take jmp_buf args, not __jmp_buf. + Call sig{set,long}jmp with SAVEMASK==0, rather than __{set,long}jmp. + * _longjmp.c, _setjmp.c: #define _BSD_SOURCE before all else. + (_setjmp): Call sigsetjmp, not __setjmp. - * sysdeps/unix/bsd/bsd4.4/__sigstmsk.c: Correct file name in #include. + * io/sys/stat.h (__fchmod, __mknod): Fixed arg types. - * sysdeps/unix/bsd/sun/m68k/__fork.S: Removed. - * sysdeps/unix/bsd/hp/m68k/__fork.S: Removed. - * sysdeps/unix/bsd/vax/__fork.S: Moved to unix/bsd. + * io/fchmod.c: Fixed typo. - * sysdeps/generic/__vfork.c: New file; fn alias to __fork. - * sysdeps/stub/__vfork.c: Removed. + * time/Makefile (\n): Renamed to nl. - * limits.h: Only do #include_next #ifndef _LIMITS_H_. + * Makerules (native-compile): New variable. + * sysdeps/generic/Makefile, sysdeps/unix/Makefile, + sysdeps/unix/bsd/Makefile: Use it in cmds for generator progs. - * malloc/mcheck.c (mcheck): Set abortfunc to either FUNC or abort; - never leave it unchanged. - Return 0 if mcheck_used; -1 if not. - * malloc/malloc.h (mcheck): Change return type in decl. + * sysdeps/unix/sysv/sysv_termio.h (_SYSV_TAB3): New; same as XTABS. - * Makerules (+depfiles): Don't include them if there are none. + * sysdeps/unix/sysv/setrlimit.c: Removed extern decl of etext (unused). -Mon Oct 26 16:30:52 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/unix/sysv/__tcgetatr.c, sysdeps/unix/sysv/tcdrain.c, + sysdeps/unix/sysv/tcflow.c, sysdeps/unix/sysv/tcflush.c, + sysdeps/unix/sysv/tcgetpgrp.c, sysdeps/unix/sysv/tcsendbrk.c, + sysdeps/unix/sysv/tcsetattr.c, sysdeps/unix/sysv/tcsetpgrp.c: + #include - * sysdeps/posix/fdopen.c: Use fcntl to check that FD is valid and - allows the access MODE specifies. + * sysdeps/unix/sysv/__rmdir.c, sysdeps/unix/sysv/__mkdir.c, + sysdeps/posix/writev.c: #include . - * sysdeps/stub/getcwd.c: #include . + * sysdeps/posix/clock.c: Removed unused variable. - * sysdeps/stub/sleep.c: #include . +Thu Apr 9 01:49:39 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) -Sun Oct 25 02:24:47 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * Version 1.03. - * Makerules (+includes): Add $(+sysdep-includes) to this, leaving - CPPFLAGS alone. + * grp/testgrp.c: Print members correctly. - * sysdeps/stub/stime.c: #include . + * stdio/test-popen.c: Pipe to cat rather than more, and then check + output file. Better error checking. -Thu Oct 22 13:36:48 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * setjmp/tst-setjmp.c: Notice if we didn't jump the right number of + times. - * Rules (clean): Also remove $(clean-extras). + * signal/tst-signal.c, string/testcopy.c, stdio/bug[12345].c: Print + msgs that more clearly say whether we won or lost. Better error + checking. -Tue Oct 20 18:36:40 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * sysdeps/generic/printf_fp.c: Completely rewritten from scratch. + Now uses Steele & White's "Dragon4" algorithm to do things right. - * configure: Write error message and lose for option with missing arg. +Wed Apr 8 01:08:41 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * stdio/__vfscanf.c: Add `a' modifier, which makes %s and %[ fill - in a char ** with a malloc'd string. - (STRING_ADD_CHAR, STRING_ARG): New macros to deal with this hair. - (%s, %[): Use them. + * sysdeps/i386/__longjmp.c: Test for VAL==0 before clobbering regs. + Wire V to AX, rather than DX. Use "a" constraint on unused operand + in jmp asm, rather than global reg var, to force value into AX. - * posix/gnu/types.h [__GNUC__] (__fsid_t): Define as long long. +Tue Apr 7 17:51:25 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * stdio/vfprintf.c: Add %m, which is %s of strerror (errno). + * posix/Makefile (headers): Added tar.h. + * posix/tar.h: New file, from djm. -Mon Oct 19 14:19:36 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) +Mon Apr 6 01:39:07 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * socket/sys/socket.h (PF_FILE, AF_FILE): Define new macros. - (PF_UNIX, AF_UNIX): Make aliases for [PA]F_FILE. + * time/tzfile.c (struct ttinfo): Made `isstd' member be unsigned + char instead of 1-bit bitfield. - * sysdeps/ieee754/huge_val.h: #include . - [!__GNUC__]: Use __const, not CONST. + * time/tzfile.c (__tzfile_default): New function. + * time/__tzset.c: Call it when no rule is given. + * time/Makefile: Install posixrules just like localtime. + * time/Makeconfig (posixrules, posixrules-file): New config vars. - * posix/wordexp.h: Fix indentation and syntax errors. + * time/time.h (struct tm): Add `tz_gmtoff', `tz_zone'. + * time/localtime.c: Set those members. - * stdio/vasprintf.c (vasprintf): Set seen bit. + * sysdeps/ieee754/__drem.c: XOR the signs of X and the result, + rather than setting the sign of the result to that of X. -Fri Oct 16 17:18:34 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * sysdeps/unix/bsd/make-local_lim.c: Don't do MAXUPRC or MAXLINK if + didn't define them. - * Makefile (Mcrt1.o): Create an empty .c file and compile it, - rather than creating an empty .o file. + * sysdeps/posix/__sigvec.c: Fixed braino: SA_ONSTACK should be + SA_RESTART. - * sysdeps/unix/Makefile (sys/param.h): Strip / from name for mkdir. + * pwd/getpw.c, pwd/putpwent.c: Use %u fmt for uid and gid (which are + unsigned). - * sysdeps/m68k/fpu/atan2.c [! __GNUC__]: Include generic, not iee754. + * time/time.h (tzname, daylight, timezone): Don't #define to __. + * time/tzfile.c, time/__tzset.c, time/localtime.c, time/strftime.c + [! HAVE_GNU_LD]: #define __ to plain for above three vars. - * sysdeps/sparc/Makefile ({divrem}.S): Use $(M4) for m4 in cmds. - * Makeconfig (M4): Define it. +Thu Apr 2 03:39:04 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * stdio/newstream.c (__newstream): Link STREAM onto __stdio_head - after malloc'ing it. + * locale/Makefile (routines): Add localeconv. - * time/emkdir.c: #define unix if not already defined. + * sysdeps/i386/jmp_buf.h: Removed `__dx' elt; replaced with `__pc'. + __bp and __sp are PTRs. + * sysdeps/i386/setjmp.c: Rewritten. Use global reg vars to save regs. + Use arithmetic on address of arg to get caller's PC, BP, and SP. + * sysdeps/i386/__longjmp.c: Rewritten. Use global reg vars to + restore regs. -Thu Oct 15 19:55:45 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) +Wed Apr 1 23:13:57 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * stdlib/wctomb.c: When passed 0, store a '\0' and return 1. - * stdlib/mbtowc.c: When passed "", store a 0 and return 1. + * Moved sysdeps/unix/i386/{bsd,sysv} to + sysdeps/unix/{bsd,sysv}/i386, and updated Implies files. + Implied dirs come before parents, and we want unix/i386 before + unix/{sysv,bsd}. - * sysdeps/generic/strstr.c: When NEEDLE is "", return HAYSTACK. + * io/chown.c: Fixed types in fn alias. -Thu Oct 15 19:25:46 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) +Wed Apr 1 14:18:58 1992 Torbjorn Granlund (tege@mole.gnu.ai.mit.edu) - * malloc/malloc.h (__after_morecore_hook): Declare new var. - * malloc/malloc.c (__after_morecore_hook): Define it. - (align): Call it. + * sysdeps/generic/memcmp.c + (memcmp_common_alignment, memcmp_not_common_alignment): + Move back do0 label to its original position, after the loop. + Add comment before do0 labels. + * sysdeps/generic/wordcopy.c (_wordcopy_fwd_aligned): Indentation. + Add comment before do0 labels. -Mon Oct 12 15:56:07 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) +Wed Apr 1 02:16:19 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * malloc/malloc.h (r_alloc, r_alloc_free, r_re_alloc): Declare. + * sysdeps/unix/sysv/Makefile [subdir==misc]: Generate sysdep header + termio.h from sysv_termio.h. - * Makerules (native-compile, common-objdir-compile): Pass - $(native-CFLAGS) to the compiler. + * sysdeps/generic/make_siglist.c: New file. + * sysdeps/generic/signame.[ch]: Symlink'd from /gd/gnu/lib. + * sysdeps/generic/Makefile: Generate siglist.c with above. + * sysdeps/generic/Dist: Add make_siglist.c, signame.[ch]. - * Makeconfig (+gccwarn): Removed -Wstrict-prototypes and - -Wpointer-arith. They were not really helping, and caused extra - warnings for harmless code. + * sysdeps/unix/bsd/Makefile (before-compile): Define properly as a + variable. - * malloc/Makefile (dist-routines): Add ralloc. - (gpl2lgpl): Add ralloc.c. + * sysdeps/unix/bsd/make_siglist.c: Generate #define _sys_siglist + sys_siglist #ifndef HAVE_GNU_LD. + * stdio/psignal.h, string/strsignal.h [! HAVE_GNU_LD]: + #define _sys_siglist sys_siglist. - * time/zic.c: #define unix if not already defined. + * sysdeps/unix/sysv/signum.h (SIGCHLD): Changed #. + (SIGUSR1, SIGUSR2, SIGPWR): Added. + (_NSIG): Updated. - * Makerules ($(gpl2lgpl)): Make output unwritable; use mv -f. + * sysdeps/unix/sysv/utmp.h: New. -Mon Oct 12 15:27:40 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) + * sysdeps/unix/bsd/getlogin.c: Moved to sysdeps/unix/getlogin.c. - * sysdeps/unix/bsd/ultrix4/mips/__set[gu]id.S: Handle returning to - the proper caller ourselves, since setre[gu]id won't be doing it. + * sysdeps/unix/sysv/r4/bsddir.h, sysdeps/unix/sysv/r4/readdir.c, + sysdeps/unix/sysv/r4/closedir.c, sysdeps/unix/sysv/r4/rewinddir.c, + sysdeps/unix/sysv/r4/opendir.c, sysdeps/unix/sysv/r4/sys_getdents.S, + sysdeps/unix/sysv/r4/Makefile: New. -Mon Oct 12 13:37:16 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * sysdeps/unix/sysv/tcflow.c: New. - * malloc/malloc.h: Declare memory_warnings. - * malloc/Makefile (dist-routines): Add vm-limit. - (distribute): Add mem-limits.h. - (gpl2lgpl): Add vm-limit.c, mem-limits.h. + * sysdeps/unix/sysv/sysv_termio.h: Add lots of bits; VMIN and VTIME + elts of c_cc. + * sysdeps/unix/sysv/__tcgetatr.c, sysdeps/unix/sysv/tcsetattr.c: Use + VMIN and VTIME elts from sysv termio struct. - * gpl2lgpl.sed: Remove "This file is part of ..." lines. - Changed regexp to match "foo is free software", not just "This - program ...". + * sysdeps/unix/sysv/__gethstnm.c: New. - * Makerules (+make-deps): Put file name before options on command line. + * sysdeps/unix/sysv/local_lim.h (NGROUPS_MAX): Define as 0. - * Makefile (install-lib): Remove libc.a from here. - * Makerules [objects] (install-lib): Append it here instead. + * sysdeps/unix/sysv/fcntlbits.h (struct __flock): Changed l_pid to + short; added l_sysid. - * io/sys/stat.h (S_IRWXO): Fixed typo. + * sysdeps/unix/sysv/__sigact.c: New. -Sun Oct 11 16:58:36 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/unix/sysv/r4/__access.S: New; just #include bsd/__access.S. - * posix/glob.c (__glob_{open,read,close}dir_hook): New vars. - (glob_in_dir): Use them. - * posix/glob.h: Declare them. + * sysdeps/unix/sysv/Makefile: Fixed typo: sysdep-routines => + sysdep_routines. -Thu Oct 8 20:03:30 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) + * sysdeps/unix/i386/sysv/__sigret.S, + sysdeps/unix/i386/sysv/signal.S: New. - * configure (config.make): Write comment to edit configparms instead. + * signal/Makefile (routines): Added sigret, __sigret. + * signal/sigret.c: New; fn alias to __sigreturn. + * sysdeps/stub/__sigret.c: New. -Wed Oct 7 17:15:05 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * sysdeps/unix/i386/sysdep.h (PSEUDO): Use hard-coded numbers for + lcalls insn--GAS bug. - * sysdeps/stub/__chown.c: Fixed arg types (int -> [ug]id_t). + * sysdeps/unix/bsd/readdir.c (D_NAMLEN): New macro; define if not + already defined, to return length of a direct elt. - * sysdeps/stub/__geteuid.c: Fixed return type (int -> __uid_t). + * sysdeps/stub/__getgrps.c: #include ; if NGROUPS_MAX is + defined as 0, always return 0, and no stub warning. - * sysdeps/stub/__getegid.c: Fixed return type (int -> __gid_t). + * sysdeps/posix/system.c: Don't fail if sigprocmask fails with ENOSYS. - * configure: Write defns in config.make for vars config-machine, - config-vendor, and config-os. + * sysdeps/posix/sysd-stdio.c, sysdeps/stub/sysd-stdio.c: Doc fix. - * ctype/ctype.h (__isctype, __tolower, __toupper): Cast argument - and return value to `int'. + * sysdeps/posix/__gettod.c: Use CONST where appropriate and not + where not. - * ctype/ctype.h (__ctype_tolower, __ctype_toupper): Changed type - to `short int *'. - (toupper, tolower): Removed inline functions; restored macros. - * ctype/ctype.c (tolower, toupper): Just call the __ macros. - * ctype/ctype-info.c: Change types here too. - * locale/localeinfo.h: And here. - * locale/C-ctype_ct.c: Ditto. + * sysdeps/i386/memchr.c, sysdeps/i386/strlen.c: Changed `repnz' to + `repne'. - * crypt: New code from Michael Glad. + * stdio/fgets.c: Notice returned char from __fillbf in length calc. - * Makefile (munch-init.c), sysdeps/unix/Makefile - ($(sys/param.h-includes), make-errnos.c, make-ioctls.c), - sysdeps/unix/bsd/Makefile (local_lim.h, ctype-glue.c), - sysdeps/posix/Makefile (stdio_lim.h): Changed rules to use a - shorter suffix than `-tmp', to avoid exceeding 14 char limit. + * misc/sys/ioctl.h: Always define `struct sgttyb'. -Tue Oct 6 15:13:57 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * stdlib/alloca.h: #undef __alloca, too. + Always #define alloca == __alloca. - * Makefile (README, INSTALL): Moved rules here. - * Make-dist: From here. + * signal/signal.h (__kill): Fixed type in decl. + * posix/unistd.h (setgid): Fixed type in decl. + * posix/setpgid.c, posix/setgid.c, signal/kill.c, posix/fork.c, + posix/vfork.c, posix/getpid.c, posix/getppid.c, posix/setsid.c: + Fixed DEFUNs in fn aliases. + * pwd/getpw.c: Fixed type in defn. - * sysdeps/unix/bsd/sun/m68k/{__pipe,__fork,sysdep}.S: Change uses - of sysdeps/unix/bsd/hp9k3bsd to sysdeps/unix/bsd/hp/m68k. +Mon Mar 30 17:06:54 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * sysdeps/m68k/Makefile: Put .S rule here. - * sysdeps/unix/bsd/hp/m68k/Makefile: Removed file. + * sysdeps/generic/printf_fp.c: In %f, decrement PREC for each + leading zero in the fractional part. -Mon Oct 5 19:40:22 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/ieee754/ieee754.h: Made all elts unsigned. + * sysdeps/ieee754/__drem.c: Return NAN if Y is zero. + * sysdeps/ieee754/ldexp.c: Rewritten. + * sysdeps/ieee754/__logb.c: Handle denormalized numbers. - * sysdeps/generic/pow.c (pow_p): Changed code to KY jelly. + * posix/sys/wait.h: #include - * sysdeps/unix/bsd/ultrix4/utsnamelen.h: New file. - * sysdeps/unix/bsd/ultrix4/uname.S: New file. + * sysdeps/ieee754/fl.h: Fixed NAN and HUGE_VAL bit patterns; added + code for little endian. -Fri Oct 2 17:43:32 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * sysdeps/generic/frexp.c: Add one to exponent to give the result a + digit before the point. Use negative exponent rather than division. - * sysdeps/posix/mktemp.c: Don't use a static index and increment - it on each call. Instead, always start at the beginning and - iterate until we find a file that does not exist. + * math/__finite.c: Return zero for NaN. + * math/math.h: Doc fix for same. - * sysdeps/unix/sysv/i386/signal.S: Use C_SYMBOL_NAME for __sigreturn. - Added comment about gas bug with `lcall' insn. + * stdio/__getdelim.c: Correctly notice when the buffer is full. - * sysdeps/unix/i386/__brk.S: Use C_SYMBOL_NAME for __curbrk and _end. + * sysdeps/unix/bsd/opendir.c: Pass arg to fcntl F_SETFD by value, + not by reference. - * sysdeps/unix/i386/sysdep.S: #include . - Use C_SYMBOL_NAME(errno) in place of _errno. + * time/__tzset.c: Correct default rule: M4.1.0,M10.5.0. - * sysdeps/unix/sysdep.h (___errno): Removed #define to _errno. - `errno' is an ANSI name; it doesn't need to be aliased. - * sysdeps/unix/bsd/sun/m68k/sethostid.S, - sysdeps/unix/bsd/sun/m68k/__vfork.S, - sysdeps/unix/bsd/sun/sparc/sysdep.h, - sysdeps/unix/bsd/sun/sparc/sethostid.S, - sysdeps/unix/bsd/vax/sysdep.S, - sysdeps/unix/bsd/vax/__vfork.S: Use _errno, not ___errno. + * time/__tzset.c: Move ptr past Mfoobar syntax after parsing it. - * sysdeps/unix/sysv/sysdep.h: File removed. - * sysdeps/unix/sysv/i386/sysdep.h: Don't #include it. - #define NO_UNDERSCORES before #include . + * time/__tzset.c: Properly parse the DST offset (or its absence). - * sysdeps/unix/i386/sysdep.h (C_SYMBOL_NAME): Define new macro. - [NO_UNDERSCORES]: #define syscall_error to __syscall_error, so we - stay name space tidy. + * sysdeps/unix/make_errlist.c: Write an #ifdef HAVE_GNU_LD, rather + than testing it when compiling make_errlist. - * sysdeps/unix/sysv/sysv4/sys_getdents.S: Added missing arg count (3). + * time/tzfile.c (__tzfile_read): Convert transitions to host byte + order. - * sysdeps/unix/sysv/i386/time.S: Fixed to not use bogus addressing - mode `4(%esp,1)'; use `4(%esp)' instead. Added comments. + * Makeconfig (localtime-file): New config var. + * time/Makefile (tzfile.o, zic.o): Use it for TZDEFAULT. - * sysdeps/stub/__fchmod.c (__fchmod): Fixed arg type to mode_t. + * stdio/Makefile (tests): Added tstgetline. + * stdio/tstgetline.c: New; test for getline. - * sysdeps/posix/__wait3.c: #include for NULL. + * Makeconfig (sysincludedir): Define and document. + * sysdeps/unix/snarf-ioctls, sysdeps/unix/Makefile: Use + ${sysincludedirs} in place of hard-coded /usr/include. - * sysdeps/unix/i386/__wait.S: Use asm label `null' instead of - `1f', and actually define the label! Added comments. +Fri Mar 27 13:33:37 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) - * sysdeps/i386/memchr.c: Renamed asm label to `done'; not all - assemblers support numbered labels like `1f' or `1b'. + * string/Makefile (headers): Added endian.h. - * stdio/fseek.c (fseek): Discard char pushed back by ungetc. - * stdio/ftell.c (ftell): If we have a pushed-back char, decrement - the file position we return. + * sysdeps/ieee754/__drem.c: Fixed typo which made X and Y be the + same location. - * sysdeps/unix/bsd/sun/sparc/vfork.S: New file. + * sysdeps/generic/__lstat.c: #include -Wed Sep 30 18:48:38 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * stdio/internals.c (flushbuf): Increment target as well as offset + when we write out the single char. - * limits.h (_LIBC_LIMITS_H_): Define today's name for this. - RMS said it was to be `_LIBC_LIMITS_H', but that is not what - gcc actually uses. + * grp/Makefile (tests): Add testgrp (formerly bug1). -Tue Sep 29 18:17:12 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) +Thu Mar 26 14:59:45 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) - * time/Makefile (zic-cmd): Define variable. - (tzcompile, zoneinfo/localtime, zoneinfo/posixrules): Use it for - name of `zic' command. + * stdio/fread.c: Don't read directly when we need to seek first. - * sysdeps/unix/bsd/Makefile (ctype-glue.c): Make sure the command - is not an unqualified name. +Wed Mar 25 02:34:49 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) - * sysdeps/stub/statbuf.h (struct stat): Contain only POSIX.1 - members, with the POSIX.1 types. - (_STATBUF_ST_BLKSIZE): #undef and comment. - * sysdeps/unix/bsd/statbuf.h (_STATBUF_ST_BLKSIZE): Define it. - * sysdeps/posix/stdio_init.c (__stdio_init_stream): Only try to - use st_blksize #ifdef _STATBUF_ST_BLKSIZE. + * sysdeps/unix/bsd/alarm.c: There are 1000000 usecs in a sec. - * sysdeps/unix/__getpgsz.c: #include for size_t. + * sysdeps/unix/bsd/sun/ptrace.c: Removed. - * sysdeps/stub/__fchown.c: Fixed arg types ([ug]id_t, not int). + * stdio/fgets.c: For unbuffered stream, don't return EOF after + reading some data. + Added missing parens. - * io/sys/stat.h: #include for __mode_t et al. +Tue Mar 24 18:31:07 1992 Torbjorn Granlund (tege@hal) - * sysdeps/unix/__gete[ug]id.S [SYS_gete[ug]id]: Add arg count of 0. - [! SYS_gete[ug]id]: Fixed arg count to be 0. + * sysdeps/i386/memset.c: Move code that puts C in all four nibbles of + X inside `if' statement. Include sysdeps/i386/memset.c (not bzero). + * sysdeps/i386/memchr.c: Rewrite to be faster. Include + sysdeps/generic/memchr.c (not bzero). - * sysdeps/unix/__get[ug]id.S: Fixed arg count to be 0. +Tue Mar 24 01:21:32 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/unix/sysv/linux/syscall.h: #if 0'd out 2nd defn of SYS_brk. + * io/Makefile (routines): Add getdirname. + * posix/unistd.h [__USE_GNU]: Declare getdirname. + * io/getdirname.c: New. -Sun Sep 27 21:56:56 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * Makeconfig (stddef.h): Define and document. + * Makefile (headers): Use $(stddef.h) for stddef.h. - * sysdeps/unix/Makefile (sys/param.h): Depend on $(common-objpfx)sys/. +Mon Mar 23 18:04:56 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) -Fri Sep 25 12:47:01 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * sysdeps/posix/mktemp.c: Do PID % 100000 for 5 digits. - * Makeconfig (INSTALL_DATA): Pass -m 644. + * time/Makefile (tzfiles): Remove pacificnew; it won't compile. + (distribute): Put it here instead. -Thu Sep 24 16:13:47 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * stdio/printf-prs.c [HAVE_LONGLONG]: Fixed missed var name change + from code snarf. - * sysdeps/unix/sysv/linux/getpeername.S: Renamed to getpeernam.S. - * sysdeps/unix/sysv/linux/getsockname.S: Renamed to getsocknam.S. - * sysdeps/unix/sysv/linux/setsid.S: Renamed to __setsid.S; - function renamed to __setsid. + * stdio/fgets.c: Return NULL when we get EOF. - * Version 1.05. + * posix/execvp.c, sysdeps/posix/putenv.c [! HAVE_GNU_LD]: Define + __environ as environ. - * Makefile (dist): Depend on $(distribute). + * sysdeps/unix/bsd/Makefile, sysdeps/unix/Makefile: In rules to + compile generator programs, cd into $(objdir) first to avoid + braindead cc clobbering foo.o in cwdir. - * stdio/__vfscanf.c (%c): Fixed DO_ASSIGN case loop condition to - not write one char too many. + * sysdeps/m68k/setjmp.c: Deref fpregs array in asm. -Wed Sep 23 16:32:18 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * time/Makefile (zones-%): Fixed generated rules. - * stdlib/qsort.c (_quicksort): Return immediately if TOTAL_ELEMS==0. + * math/Makefile (libm.a): Use r cmd to ar. -Tue Sep 22 19:10:59 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * time/Makefile (zones-%): In echo commands, put \\\\n outside of + quotes instead of \\n inside single quotes. SysV echo is braindead. - * Makerules [! OUTPUT_OPTION && objpfx]: Define OUTPUT_OPTION. + * io/fchown.c, io/fchmod.c, misc/bsd-compat.c: Fixed DEFUNs in fn + aliases. -Mon Sep 21 22:40:55 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * time/Makefile (echo-zonenames): New target; tell user what all + timezones defined in all zone files are. + * Makeconfig (localtime): Comment about using above. - * sysdeps/unix/bsd/mk-local_lim.c: Use MAXNAMLEN for NAME_MAX, - rather than hard-wiring 255. - [! MAXNAMLEN]: Define it to 255. - [LINK_MAX && ! MAXLINK]: #define MAXLINK LINK_MAX. +Sun Mar 22 18:34:02 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) - * sysdeps/unix/bsd/glue-ctype.c [ultrix]: #define _ctype_ _ctype__. + * time/australasia (NZ): Updated rules. - * configure: Rename var `gas' to `gnu_as' and use consistently. +Sat Mar 21 01:00:49 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) -Fri Sep 18 16:32:16 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * stdio/printf-prs.c [__GNUC__]: Define HAVE_LONGLONG. - * sys/errno.h: New file. - * Makefile (headers): Add it. +Fri Mar 20 00:35:36 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * Makeconfig (+make-deps): Use = not define. + * Version 1.02. - * time/Makefile (zones-%): Don't clobber zonenames; append to it. - Depend on Makefile so we rebuild when the rule changes. - Changed implicit rule from zoneinfo/%/... to zone%/... so it will - actually match. + * stdio/Makefile (routines): Add __getdelim, __getline. - * sysdeps/unix/Makefile (syscall.h): Filter out "#ident" lines. + * sysdeps/unix/i386/start.c: No ../ in #include file name. - * Makeconfig (+link): Use $(gnulib) instead of -lgcc. - (gnulib): Define to -lgcc. + * sysdeps/posix/sysd-stdio.c, sysdeps/stub/sysd-stdio.c + (__stdio_seek): Doc fix. - * posix/glob/Makefile.in (AR, ARFLAGS): Define. - (libglob.a): Use those vars instead of hardcoding. + * sysdeps/posix/mk-stdiolim.c: Add one to L_tmpnam, for the null + terminator. - * Makeconfig (ARCH) [machine]: Don't define if $(..)config.make exists. + * sysdeps/posix/__dup2.c: Use an extra fcntl call to check that the + first fd is valid. Close the second fd before doing the dup. - * Makerules (compile.S): Include $(asm-CPPFLAGS). - (S-CPPFLAGS): Define = $(asm-CPPFLAGS). - (+make-deps): Include $(sfx-CPPFLAGS), where `sfx' is S or c. - * Makeconfig (asm-CPPFLAGS): Define (empty) and comment. + * pwd/pwdread.c, grp/grpread.c: Use __getline. Ignore lines + beginning with #. - * sysdeps/unix/Makefile ($(sys/param.h-includes)): Filter out - decls or macros for host<->net conversion (htonl et al). + * Makeconfig (objdir): If $(ARCH) starts with a slash, don't prepend + $(..). -Thu Sep 17 17:33:51 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) +Thu Mar 19 21:36:57 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * sysdeps/unix/sysv/statbuf.h: Define __S_*. + * Makefile (install-lib): Add Mcrt1.o. + (Mcrt1.o): Create empty file. - * misc/Makefile (headers): syslog.h -> sys/syslog.h. - * misc/syslog.h: Moved to misc/sys/syslog.h. +Wed Mar 18 16:00:18 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * limits.h [__GNUC__ >= 2]: #define _LIBC_LIMITS_H before - #include_next . - Define _LIMITS_H unconditionally. + * Makeconfig (+link): Use $(libdir) for gnulib. -Wed Sep 16 17:43:59 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) +Tue Mar 17 20:12:35 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/unix/Makefile (syscall.h): Don't use \< in sed commands. - Some seds don't seem to grok it. + * math/bsd/common_source/mathimpl.h: Include . + [__LITTLE_ENDIAN]: #define national. - * Makerules (+install-dirs): Sort them. + * stdio/__vfscanf.c: EOF at end of string is not + an error. - * Makeconfig (stdarg.h): Use $(wildcard va-*.h) instead of va-*.h, - and := instead of =. + * stdio/tstscanf.c: Added new sscanf test. - * Makeconfig (prefix): Default to $(exec_prefix), not /usr/local. + * stdio/vfprintf.c: For %#x, print 0x after padding 0s, not before. - * Makeconfig (+link): Use $(common-objpfx) rather than $(objpfx) - to find start.o; use $(libc.a) instead of $(objpfx)libc.a. + * stdio/fputs.c: Reverse size args to fwrite and test for returning + LEN, rather than 1, so 0-length wins. - * sysdeps/sparc/Makefile: crypt subdir is not called uf-crypt. + * io/gnu/fcntl.h: Moved to sysdeps/unix/bsd/fcntlbits.h. + * io/Makefile (headers), io/fcntl.h: gnu/fcntl.h -> fcntlbits.h. + * sysdeps/stub/fcntlbits.h, sysdeps/unix/sysv/fcntlbits.h: New. - * sysdeps/unix/Makefile (sys/param.h-includes): Fixed filtering - out of existent glibc headers to remove $(..) pfx after wildcard. + * stdio/fopen.c (__getmode): Don't fall through in switch after 'a' + case. - * misc/paths.h: New file, snarfed from 4.4 BSD. - * misc/Makefile (headers): Add paths.h. + * locale/C-ctype_ct.c (__ctype_b_C): Use symbolic constants. + 9..12 are not _NOgraph. -Tue Sep 15 14:55:11 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) +Tue Mar 17 19:04:01 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - * Makerules (+sysdir_pfx): Define as $(common-objpfx). + * string/testcopy.c: Fix typo in comment. - * MakeTAGS (TAGS) [subdir && ! tags_sources]: Create an empty - file, rather than no commands at all. +Tue Mar 17 19:57:49 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * string/string.h [__GNUC__ && __OPTIMIZE__] (ffs): Take arg. + * sysdeps/generic/strstr.c, string/string.h, string/tester.c + (strstr): Arguments were reversed. - * sysdeps/unix/sysv/linux/__wait4.S: New file. +Tue Mar 17 18:52:39 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - * sysdeps/unix/sysv/linux/syscall.h: New version from hlu. + * sysdeps/i386/memcopy.h (WORD_COPY_BWD): Divide nbytes by 4. + * sysdeps/i386/memchr.c: Rewrite. Handle zero length correctly. + Don't ask gcc to allocate eax to two regs. - * sysdeps/unix/Makefile (syscall.h): Upcase `sys_' in input. +Tue Mar 17 17:31:06 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/unix/bsd/ultrix4/mips/sysdep.h (MOVE): Insn is `move', - not `movl'. + * posix/unistd.h (getpagesize): Declare as size_t. - * sysdeps/unix/bsd/ultrix4/mips/sigcontext.h: Deansideclized. + * Makeconfig (CC): Define unless origin is default. - * sysdeps/unix/ioctls-tmpl.c [DIOCGETPT, DEVGETGEOM]: Include - headers for these. - [ultrix]: Mondo cruft. + * stdio/__getdelim.c: Be sure to leave room for the terminating null. -Sat Sep 12 12:08:29 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + * string/testcopy.c: New version from tege. - * misc/Makefile (routines): Add ttyslot, syslog. - * misc/ttyslot.c, misc/syslog.[ch]: New, snarfed from 4.4 BSD. - (headers): Add syslog.h + * malloc/dist-README: Changed mailing list addr to bug-glibc. - * misc/getttyent.c (getttyent): Parse _TTYS_TRUSTED keyword and - set TTY_TRUSTED bit. - * misc/ttyent.h (TTY_TRUSTED): New bit in ty_status. - (_TTYS_TRUSTED): New keyword. - (_TTYS_CONSOLE): New keyword. - (TTY_CONSOLE): New bit in ty_status. + * sysdeps/unix/bsd/__sigproc.c: Use right mask for SIG_UNBLOCK. - * dirent/scandir.c (scandir): Don't keep using V after realloc'ing - it. Use the returned new ptr instead. + * Makefile, Rules (clean, mostlyclean): Put - before rm commands. -Thu Sep 10 18:59:23 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) +Tue Mar 17 11:14:40 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - * stdlib/div.c, stdlib/ldiv.c: Rewritten from Berkeley code that works. + * sysdeps/rs6000/memcopy.h (BYTE_COPY_BWD): Assign __nbytes. + * sysdeps/m68k/memcopy.h (WORD_COPY_BWD): Copy memory, not just + pointers. Clean up switch expression. - * Makeconfig (stdarg.h): Add va-*.h. +Mon Mar 16 05:09:23 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * stdlib/Makefile (dont_distribute): Define: testsort.input. + * posix/wordexp.c: New. - * sysdeps/mach/hurd/i386/_hurd_start_sigthread.c, - sysdeps/stub/_hurd_start_sigthread.c: Renamed to .../startsig.c. - * sysdeps/mach/hurd/sys_errlist.awk: Renamed to .../errlist.awk. - * sysdeps/mach/hurd/Makefile (sys_errlist.c): Change dep. - * sysdeps/unix/bsd/make-local_lim.c: Renamed to .../mk-local_lim.c. - * sysdeps/unix/bsd/Makefile (local_lim.h): Change dep. - (make-local_lim): Change target and dep. - * hurd/_hurd_dead_recv.c: Renamed to hurd/dead_recv.c. - * hurd/setdtablesize.c: Renamed to hurd/setdtsz.c. - * hurd/Makefile (routines): Change references. - * stdio/tstgetline.c: Renamed to stdio/tstgetln.c. - * stdio/tstgetline.input: Renamed to stdio/tstgetln.input. - * stdio/Makefile (tests): Change ref. - * README.template: Remove note about long file names. + * time/tzfile.c (__tzfile_read): Don't die if some of the sections + of the datafile are empty. - * sysdeps/unix/bsd/sun/sunos4/utsnamelen.h (_UTSNAME_LENGTH): - Define here, rather than #include'ing sysv/utsnamelen.h. - This file gets installed. + * stdio/getline.c, stdio/getdelim.c: Moved to + __getline.c/__getdelim.c. + New files with fn aliases. + * stdio/stdio.h (__getline, __getdelim): Declare. -Wed Sep 9 17:06:14 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * time/Makefile (zonenames): Hair to find the names of zones + described by $(tzfiles). + (install-data): Install zoneinfo/$(zonenames). + Rules to make zones from tzfiles. + [localtime] (zoneinfo/localtime): Make from zoneinfo/$(localtime). + * Makeconfig (localtime): New user-frobbable variable. - * Makeconfig (localtime-file): Put in $(prefix)/etc, not /etc. +Sun Mar 15 00:01:05 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) - * setjmp/Makefile (routines): Remove sigsetjmp. + * Makerules (sysdep-Makefile): Do if ... else true to avoid bogus + nonzero status. - * sysdeps/posix/Makefile (objdir-CPPFLAGS) [! subdir]: Rewrote - totally broken defn. + * Makefile: Denewlinify +sysdep-subdirs after including sysd-dirs. - * sysdeps/unix/Makefile (syscall.h): Keep lines starting - with #, not only those starting with #define. - We want to preserve any #ifdef in the original. + * sysdeps/vax/__infnan.c [!__GNUC__]: Error. - * Makerules (install): Dep $(+install-dirs), not $(dir $(+install)). - (+install-dirs): Define to get two levels of dirs. + * zic.c, scheck.c, emkdir.c, ialloc.c, private.h, tzfile.h: Snarfed + from localtime3 dist. + * time/Makefile (others): Added zic. + (distribute): Added private.h, emkdir.c, ialloc.c, scheck.c. + (install): Defined: zic, zdump. - * time/Makefile (tz-cc): Use = instead of define directive. + * Makeconfig (bindir): Define. + * Makerules: Add rule to install $(install) in $(bindir). + (+install): Include $(install) in $(bindir). - * sysdeps/unix/bsd/sun/sparc/start.c (_start): Give ARGC, ARGV, - and ENVP `register' storage class; can then clear the FP early. + * sysdeps/unix/Makefile: Moved siglist.c rules to unix/bsd/Makefile. + * sysdeps/unix/make_siglist.c: Moved to bsd/. + * sysdeps/unix/Dist: Remove it. + * sysdeps/unix/bsd/Dist: Add it. -Sat Sep 5 13:14:09 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + * malloc/Makefile (malloc/gmalloc.c): Depend on headers and sources. - * Makerules (sysdirs): Pass sysdep_dir in child's environment. + * sysdeps/unix/bsd/sun/sun4/__sigvec.S: Doc fix. -Fri Sep 4 15:37:23 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + * sysdeps/stub/stty.c, sysdeps/stub/gtty.c: Include . - * Makeconfig (common-objpfx): Add trailing slash. - Move comment to prev line to avoid extra whitespace. + * sysdeps/unix/sysv/__fstat.c: Include sysv_stat.h. + + * misc/bsd-compat.c: Define _BSD_SOURCE rather than __FAVOR_BSD. + (longjmp): Use function_alias_void. + + * time/Makefile (tzfile.o): Compile with + -DTZDIR='"$(datadir)/zoneinfo"'.d + +Sat Mar 14 23:26:46 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * Makeconfig (INSTALL_DATA, INSTALL_PROGRAM, INSTALL): Don't define + if already defined. + + * setjmp/longjmp.c: Use function_alias_void. + + * gnu-stabs.h (function_alias_void): New macro. + + * gnu-stabs.h [!HAVE_GNU_LD] (function_alias): Fixed not to loop. + +Fri Mar 13 17:20:19 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) + + * sysdeps/posix/sysd-stdio.c (__stdio_gen_tempname): Include null + terminator in length calculation. + + * stdio/fgets.c: Be sure to return NULL on error/eof for unbuffered + stream. If N==1, don't write the first char if !seen. + When the buffer is empty, notice the effect of __fillbf after + calling it, avoiding a (costly) no-op iteration. + Don't return NULL for reading no chars; only for EOF or error. + Don't write terminator at beginning of S if eof on first char. + + * malloc/Makefile (libmcheck.a), Makefile (crt0.o): Remove target + first; don't use -f to ln. + + * posix/execl.c, posix/execv.c, sysdeps/posix/getenv.c, + sysdeps/posix/system.c [HAVE_GNU_LD]: #define __environ environ + + * posix/unistd.h [__OPTIMIZE__] (execv): Removed defn. Can't know + whether to use __environ or environ. + + * io/fchown.c, io/chown.c, io/open.c, misc/select.c, + signal/sigvec.c, time/adjtime.c: Fixed DEFUNs in fn aliases. + + * time/__tzset.c: Don't dereference NULL if getenv returns it. + +Thu Mar 12 16:01:33 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * sysdeps/ieee754/sqrt.c: Replaced undefined var ref `k' with constant. + + * sysdeps/i386/__longjmp.c: #include . + + * time/tzfile.c (__tzfile_compute): Use types[0] if TIMER falls + between transitions[0] and transitions[1]. + Always set __tzname[INFO->isdst] to the name for INFO. + + * sysdeps/i386/__longjmp.c: Changed register names for gcc; eax/%eax + -> ax. + + * sysdeps/unix/snarf-ioctls: Avoid infinite recursion. + +Wed Mar 11 00:16:18 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * Version 1.01. + + * Makefile (munch-init.c): Made $(objpfx)munch-init.c. + + * signal/sigvec.c, signal/sigaction.c, stdio/vsscanf.c: Fixed DEFUNs + in fn aliases. + + * sysdeps/m68k/68881/68881-switch/switch.c: Merged vars have_fpu and + test_fpu into one. + + * sysdeps/mach/i386/start.c, sysdeps/vax/setjmp.c, + sysdeps/vax/__longjmp.c, sysdeps/vax/__infnan.c, + sysdeps/unix/start.c, sysdeps/unix/bsd/sun/sun4/sigtramp.c, + sysdeps/unix/bsd/sun/sun4/start.c, + sysdeps/unix/bsd/hp9k3bsd/start.c, sysdeps/sparc/sqrt.c, + sysdeps/rs6000/ffs.c, sysdeps/m88k/ffs.c, sysdeps/m68k/setjmp.c, + sysdeps/m68k/__longjmp.c, sysdeps/m68k/68881/printf_fp.c, + sysdeps/m68k/68881/atan2.c, sysdeps/m68k/68881/__logb.c, + sysdeps/m68k/68881/68881-switch/switch.c, sysdeps/m68k/ffs.c, + sysdeps/i386/memset.c, sysdeps/i386/memchr.c, sysdeps/i386/ffs.c, + sysdeps/i386/bzero.c, sysdeps/i386/__longjmp.c, sysdeps/am29k/ffs.c + [! __GNUC__]: Either include the generic (or in some cases, ieee754) + version, or do a #error. + + * Rules: Null out `objects' at end to shrink environment some. + (+objs): Define with := from $(objects). + (clean): Use that instead of $(objects). + + * sysdeps/i386/setjmp.c: Doubled % where it wanted to be literal. + + * posix/getgrps.c, io/flock.c, io/mkdir.c, io/read.c, io/write.c, + io/stat.c, misc/getdents.c, misc/mknod.c, misc/utimes.c: Fixed + DEFUNs in fn aliases. + + * sysdeps/unix/bsd/hp9k3bsd/sysdep.S: Use # instead of kludge cookie. + + * posix/getegid.c: Fixed type in DEFUN. + + * time/tzfile.c (__tzfile_compute): If TIMER is before any + transition in the file, use the first non-DST type, rather than the + type of the first transition in the file. + +Tue Mar 10 20:01:55 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * configure: Take optional -nfp arg. + (news, sun3, hp300): Prepend m68k/68881 unless -nfp is given. + * sysdeps/unix/bsd/hp9k3bsd/Implies: Don't specify 68881. + + * stdio/getdelim.c: When the buffer is empty, notice the effect of + __fillbf after calling it, avoiding a (costly) no-op iteration. + + * sysdeps/vax/__memccpy.c: Fixed comments. + + * stdio/fmemopen.c: Set all fns and seen bit before we might call + something that would care (fclose). + + * configure (sun3, sun-3): Mean sun3os4, not sun3os3. + (sun3os3): Use just unix/bsd/sun/sun3/os3. + * sysdeps/unix/bsd/sun/sun3/os3: New directory. + (sysdeps/unix/bsd/sun/sunos3/__wait.S): Moved to there. + * sysdeps/unix/bsd/sun/sun3/sysdep.h: Fixed; took hp9k3bsd/sysdep.h + and changed movel foo, d0 to pea foo for syscall no. + * sysdeps/unix/bsd/sun/sun3/__brk.S: Fixed pea addr mode. + * sysdeps/unix/bsd/sun/sun3/sethostid.S: errnos.h, not gnu/errno.h. + Use .stabs directly, not gnu-stabs.h (which uses `asm'). + * sysdeps/m68k/setjmp.c: Changed asm for first moveml, so it works + on sun3. + * sysdeps/unix/bsd/sun/sun3/start.c: Removed ../ from #include path. + +Sun Mar 8 16:33:33 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * misc/makefile (headers): Added stab.h, stab.def. + * Many files: Changed __GNU_STAB__ to HAVE_GNU_LD. + +Sat Mar 7 21:21:10 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * time/mktime.c: Normalize the struct values before checking for out + of range values. + +Fri Mar 6 11:43:35 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * sysdeps/ieee754/ldexp.c: New. + + * stdio/internals.c (flushbuf): When priming the stream for writing, + advance the target pos to account for chars gotten from the buffer. + + * sysdeps/generic/Makefile: For math routines, don't filter out + __finite. + + * sysdeps/posix/sysd-stdio.c (__stdio_gen_tempname): Fixed bugs. + + * misc/Makefile (routines): Remove flock. + + * stdlib/strtod.c: Fixed typo in checking for exponent overflow. + Do set *ENDPTR on overflow or underflow. + + * sysdeps/sparc/fl.h: Removed. Should use ieee754 version. + + * sysdeps/generic/Makefile: For math routines, don't filter out + __copysign, __scalb, __drem and __logb; and don't add support. + + * sysdeps/ieee754/__drem.c: New. + * sysdeps/ieee754/sqrt.c: New. + * sysdeps/stub/__drem.c: New. + * sysdeps/stub/sqrt.c: New. + * sysdeps/stub/__logb.c: New. + * sysdeps/ieee754/__logb.c: New. + + * sysdeps/ieee754/__infnan.c: Include and use NAN macro + rather than cooking one up by hand. + + * sysdeps/unix/bsd/getlogin.c: Open /dev/tty, rather than using stdin. + Make sure the name is always null-terminated. + +Thu Mar 5 17:11:46 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * sysdeps/m68k/68881/__scalb.c: Removed. + * sysdeps/m68k/68881/__math.h: Removed defn of __scalb. + * math/math.h [__OPTIMIZE__]: Define __scalb to be ldexp. + * math/__scalb.c: New; fn alias for ldexp. + + * stdio/Makefile (tests): Added bug4 and bug5. + * stdio/bug4.c, stdio/bug5.c: Test cases from reported bugs just fixed. + + * stdio/internals.c (flushbuf): If nothing was written by the user, + but there is previously gotten data, don't write anything out. + + * stdio/internals.c (seek_to_target): Call __stdio_check_offset first. + + * sysdeps/unix/sysv/sysv_termio.h: New file. + * sysdeps/unix/sysv/Dist: Include it. + * sysdeps/unix/sysv/tcsetattr.c, sysdeps/unix/sysv/tcsetpgrp.c, + sysdeps/unix/sysv/tcsendbrk.c, sysdeps/unix/sysv/tcgetpgrp.c, + sysdeps/unix/sysv/tcflush.c, sysdeps/unix/sysv/tcdrain.c, + sysdeps/unix/sysv/__tcgetatr.c: New files. + + * stdio/internals.c (fillbuf): Don't set the put_limit on writable + streams. Wait for first write attempt to prime them, so we don't + flush the unchanged data unnecessarily. + + * stdlib/exit.c: Look for NULL terminator on ld set, rather than + using length word. + + * Makefile (headers): Remove stdarg.h and varargs.h. + Users will get them from GCC. + * stdio/printf.h: Include to use va_list. + * stdio/stdio.h: Don't include with magic. + Use PTR in place of __va_list in prototypes. + * stdio/__vsscanf.c, stdio/vscanf.c, stdio/vfscanf.c, + stdio/__vfscanf.c, stdio/vdprintf.c, stdio/vasprintf.c, + stdio/vsprintf.c, stdio/vsnprintf.c, stdio/vprintf.c, + stdio/vfprintf.c: Fixed DEFUNs. + + * sysdeps/ieee754/ieee754.h: New file; declares union ieee754_double. + * sysdeps/ieee754/Dist: Add it. + * sysdeps/ieee754/__copysign.c, sysdeps/ieee754/__infnan.c, + sysdeps/ieee754/__isinf.c, sysdeps/ieee754/__isnan.c, + sysdeps/ieee754/__printf_fp.c: Use it. + + * sysdeps/unix/sysv/uname.c: New. + * sysdeps/unix/sysv/__utssys.S: New. + * sysdeps/unix/sysv/Makefile (routines): Add __utssys. + * sysdeps/unix/sysv/Dist: Add __utssys.S. + + * sysdeps/unix/sysv/__rmdir.c: New; runs `rmdir' shell command. + + * sysdeps/unix/sysv/__mkdir.c: New; runs `mkdir' shell command. + + * sysdeps/generic/__lstat.c: New; fn alias for __stat. + + * sysdeps/unix/sysv/__gethostname.c: New; uses uname. + + * sysdeps/unix/Makefile (sys/params.h): Protect with + _GNU_SYS_PARAM_H, in case the system's file uses _SYS_PARAM_H itself. + + * stdio/internals.c (__stdio_check_offset): Call init_stream to make + sure we have fns. + + * stdio/fread.c: Don't call __fillbf if the put_limit is past the + beginning of the buffer; only if !seen, no buffer, or pushed back. + + * stdio/fopen.c (__getmode): Set create bit for "a" mode. + + * io/mkdir.c: #undef mkdir before fn alias. + + * time/tzfile.c (__tzfile_compute): Don't decrement I if it's zero. + + * Makefile (crt0.o): Use ln -f. + + * math/Makefile (install): Install libm.a. + (libm.a): Make an empty archive. + +Wed Mar 4 19:54:50 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * README.template: Added note about long filenames in dist. + + * io/Makefile (routines): flock -> __flock + * flock.c: New file, fn alias. + * sysdeps/unix/bsd/flock.S: Renamed to sysdeps/unix/bsd/__flock.S; + made __flock. + * sysdeps/mach/hurd/flock.c: Renamed to sysdeps/mach/hurd/__flock.c; + made __flock. + * sysdeps/stub/flock.c: Renamed to sysdeps/stub/__flock.c; made + __flock. + + * time/time.h (__isleap): Fixed; every 400th year is not a leap + year, not every 1000th. + + * stdio/internals.c (flushbuf): Increment the target position the + amount the user wrote into the buffer, not the amount we wrote out + to the file (which is greater if we read a block and modified it + in the middle). + + * stdio/internals.c (flushbuf): Set get_limit to the beginning of + the buffer for all streams, except when we have just read in a block. + +Sat Feb 29 15:56:22 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) + + * posix/Makefile (others): Removed logname, id. + * time/Makefile (others): Removed date. + + * sysdeps/unix/bsd/sun/sun4/start.c: Make an alias called `start' + (no leading underscore, so it can't conflict with C symbols) for + `_start'. + +Thu Feb 27 14:32:20 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) + + * set-init.c: Look for NULL terminator on set. ld is broken and + doesn't set the length word correctly. + + * setjmp/_longjmp.c, signal/sigaction.c, signal/sigvec.c, + signal/ssignal.c, string/bcmp.c, time/setitmr.c, posix/execve.c, + posix/getegid.c, posix/geteuid.c, posix/getgid.c, posix/getuid.c, + posix/getgrps.c, posix/setuid.c, posix/wait3.c, posix/wait4.c, + posix/waitpid.c, io/lseek.c, io/open.c, io/read.c, io/write.c, + resource/getrusage.c, misc/getpgsz.c, misc/gethstnm.c, + misc/select.c: Fixed DEFUNs in fn aliases. + +Wed Feb 26 00:20:25 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) + + * sysdeps/generic/Makefile (routines): Add asincos. + + * time/tzfile.c (__tzfile_compute): Set __tzname properly, so isdst + is the right index into it. + +Tue Feb 25 01:42:16 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) + + * sysdeps/unix/bsd/sun/sun4/sysdep.h (ENTRY): .align 2, not .align 4. + This one is powers of two. + + * time/__tzset.c: If TZ is :FILE, try FILE and if __tzfile_read + fails, then use defaults. + + * sysdeps/generic/Makefile (routines): Add sincos. + + * sysdeps/posix/cuserid.c: Set the result to the empty string on + failure. + + * string/string.h, string/strings.h, sysdeps/i386/memchr.c: Fixed + spelling in comment. + + * string/makefile (tests): Include (uncomment) testcopy. We do have + papers for it from tege. + + * malloc/dist-README: Fixed mailing list addr. + + * resource/sys/vtimes.h (struct vtimes): Renamed vm_outblk to + vm_oublk; fixed comment. + * sysdeps/generic/vtimes.c: Renamed here too. + + * Make-dist (README): Depend on version.c. + +Tue Feb 18 18:14:50 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) + + * Version 1.00. + + * time/tzfile.c (__tzfile_compute): Fixed transition comparison. + + * sysdeps/unix/bsd/sun/sun3/Makefile: Fixed typo. + +Mon Feb 17 05:04:00 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) + + * Version 0.6. + + * Makefile (distribute): Add Q+A. + * Q+A: New doc file from rich@cygnus.com. + + * malloc/Makefile (distribute): Add mcheck-init.c. + +Mon Feb 17 00:39:38 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) + + * sysdeps/unix/sysv/utime.c: Removed. + * sysdeps/unix/sysv/utime.S: New file. + + * sysdeps/unix/sysv/signum.h: New file. + + * sysdeps/unix/sysv/local_lim.h: New file. + + * sysdeps/unix/sysv/sysv_stat.h: New file. + * sysdeps/unix/sysv/__stat.c, sysdeps/unix/sysv/__fstat.c: New files. + * sysdeps/unix/sysv/Makefile: New file. + (+sysdep-routines): Define to sys_stat and sys_fstat. + * sysdeps/unix/sysv/sys_stat.S, sysdeps/unix/sysv/sys_fstat.S: New + files. + * sysdeps/unix/sysv/Dist: Created to include sysv_stat.h, + sys_stat.S, and sys_fstat.S. + + * sysdeps/stub/__setreuid.c: Include . + + * sysdeps/posix/__sigblock.c: Fixed typo. + + * stdio/internals.c (__flshfp): Don't return EOF if at EOF; only + for errors. + + * signal/gnu/signal.h: Move #include outside repeat #ifdef. + + * sysdeps/unix/sysv/filebits.h: Created. + + * misc/Makefile (distribute): Define to bsd-compat.c. + + * misc/Makefile (headers): Remove filebits.h. + * io/Makefile (headers): Put it here. + + * Makefile (+posix_dirs): Add io. + * io/Makefile: New file for new subdir. + Contains many headers and routines moved from posix. + * posix/Makefile: Remove many headers and routines now in io. + * Moved many files from posix to io. + + * stdlib/alloca.h: Get size_t from stddef.h. + + * misc/bsd-compat.c (getgroups): Removed. Not needed, because gid_t + is now the same size as int. + + * Makefile (distribute): Include NOTES. + * NOTES: New file, infoized node from intro.texinfo about the + feature-test macros. + * README.template: Mention NOTES. + + * sysdeps/unix/bsd/sun/sun3/Makefile: include hp9k3bsd version. + + * Makeconfig: Use $(..) for config.status. + + * configure (i386-sysv): unix/i386/sysv, not unix/sysv/i386. + * unix/i386/sysv/Implies: unix/sysv, not unix/i386. + +Sun Feb 16 00:42:53 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) + + * Version 0.5. + + * posix/Makefile (headers): Remove confstr.h. + (distribute): Define this instead to contain it. + + * ansidecl: Added copyright notice. + + * stdio/getdelim.c: New file. + * stdio/getline.c (getsome): Renamed to getdelim and moved there. + * stdio/Makefile (routines): Add getdelim. + * stdio/stdio.h: Declare getdelim. + + * misc/gnu/file.h: Moved to sysdeps/unix/bsd/filebits.h. + * sysdeps/stub/filebits.h: New file. + * misc/Makefile: gnu/file.h is now filebits.h. + * posix/fcntl.h: Changed #include. + + * stdio/getline.c (getsome): If MAX_CANON isn't defined, use a default. + Don't leak old *LINEPTR storage if *N < 2. + Don't bang *LINEPTR to NULL if realloc fails. + + * Makerules: Don't use override when nulling out sources, routines, + and aux if they came from the environment. Better not make with -e. + + * Makefile (sysdirs, Sysnames): Put outside of ifndef sysdirs. + + * string/Makefile (tests): No testcopy, pending papers. + + * Makefile (headers): No sysdep.h. + (distribute): Here instead. + (no-install): No longer needed. + +Sat Feb 15 17:10:38 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) + + * Makefile (distribute): Add INSTALL. + * Make-dist (INSTALL): Make from manual/maint.texinfo. + (README): Make from README.template. + + * Makefile (+other-dirs): Removed inet. + * sysdeps/unix/inet/Subdirs: Created, adding inet. + + * sysdeps/unix/sysv/setrlimit.c: Include stddef and errno.h. + + * math/drem.c, setjmp/longjmp.c, malloc/cfree.c, string/bcmp.c, + time/getitmr.c, misc/ioctl.c: Fixed defuns in function_alias. + + * Makefile (headers): Put sysdep.h back. + (no-install): And define this to it. + * Makerules (+install): Filter out $(no-install) from the list. + + * string/testcopy.c: New test program for bcopy from tege. + * string/Makefile (tests): Add it. + + * Makefile (sysdep-subdirs): Renamed to sysd-dirs. + + * Make-dist (tardir): Omit the release name; it made names too long. + +Sat Feb 15 12:53:02 1992 Torbjorn Granlund (tege at mole.gnu.ai.mit.edu) + + * sysdeps/rs6000/memcopy.h (WORD_COPY_FWD, WORD_COPY_BWD): + Use CTR register for looping (speed enhancement). Don't emit + labels, jump relative from `$' instead (makes multiple expansions + possible). Clean up indentation of asm code (were different in each + macro). + * sysdeps/rs6000/memcopy.h (WORD_COPY_BWD): + Add asm output specs (were missing completely). + + * sysdeps/generic/{memcpy.c,memmove.c}: Make DSTP and SRCP unsigned + (safer with non-ANSI compilers). + +Fri Feb 14 01:52:12 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) + + * Version 0.4.1. + + * Makefile, Rules: Changed clean and clobber targets into + mostlyclean, clean, and realclean. + + * Makeconfig: Added comments describing objdir/Makeconfig and + editting Makeconfig. + (prefix, libdir, INSTALL, INSTALL_DATA): New variables for installing. + * Makerules (install): New target. + * Makefile (+subdir_targets): Add subdir_install. + (install): Depend on subdir_install. + (install-lib): Define variable to install libc.a and crt0.o. + * misc/Makefile (install-lib): Install bsd-compat. + * malloc/Makefile (install-lib): Install mcheck-init. + + * Version 0.4. + +Thu Feb 13 21:39:31 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) + + * sysdeps/unix/glue-ctype.c: Moved to unix/bsd. + * sysdeps/unix/Makefile: Moved glue-ctype stuff to unix/bsd/Makefile. + * sysdeps/unix/Dist: No glue-ctype. + * sysdeps/unix/bsd/Dist: Here instead. + + * sysdeps/sparc/divrem.m4: Don't use insn aliases Sun as doesn't grok. + +Wed Feb 12 12:12:12 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) + + * sysdeps/m68k/setjmp.c: Use m, rather than g, constraint when + saving fp regs. + + * Renamed oodles of files, changed all the relevant Makefiles (I + think). File names now fit in 14 chars for losing System V. Gag me + with a death star. + See =longnames for translations, and =shorten.el for method. + + * grp/initgroups.c: Removed redundant test. + + * malloc/mtrace.c: Use %p fmt for pointers. + +Tue Feb 11 02:04:39 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * stdlib/alloca.h: New file. + * stdlib/stdlib.h: Moved alloca decls there; #include + instead. + * stdlib/Makefile (headers): Added alloca.h. + + * stdio/getline.c (getsome): Fixed bugs. + + * math/bsd/common_source/mathimpl.h: #define expm1 __expm1. + * math/bsd/common_source/expm1.c: Renamed to __expm1.c + * math/bsd/mc68881/expm1.s: Renamed to __expm1.s; renamed fn too. + * math/expm1.c: New file, fn alias expm1 -> __expm1. + + * math/Makefile (routines): Add __rint. + * math/rint.c: New file, fn alias rint -> __rint. + * math/bsd/common_source/floor.c (rint): Renamed to __rint. + * sysdeps/generic/Makefile: Remove __rint, not rint. + + * math/Makefile (BSDmath-files): Always include it, and don't depend + on undependable things. + + * Makerules (sysdep-Makefile): Always include it, and make it + without depending on make vars that might not be right yet. + +Mon Feb 10 00:55:58 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * stdlib/stdlib.h: #undef alloca before declaring it. + + * sysdeps/sparc/__longjmp.S: Use be instead of bz. + + * sysdeps/unix/bsd/Dist: Add bsdtty.h. + + * tzfile.c (__tzfile_read): Don't allocate space for 0 leaps. + Don't loop infinitely. + + * sysdeps/unix/Makefile (make-errnos.c): Use tr to eat newlines in + errnos file. + + * sysdeps/unix/bsd/sun/sun4/__brk.S: Fix andn arg order. + + * posix/Makefile: Don't get getopt by vpath. Turns out to be too + much hassle for dist. Just made symlinks in posix/ instead. + + * manual/Makefile: Renamed summary.out to summary.texinfo. + + * manual/summary.awk: New file, to make summary.out. + Replaces `process-definitions.el'. + * manual/Makefile (summary.out): Create using summary.awk. + + * manual/Makefile: Created. + * Makefile, Make-dist: Use it to format and distribute the manual. + +Mon Feb 10 00:32:17 1992 Jim Meyering (meyering@churchy.gnu.ai.mit.edu) + + * All Makefiles: + Whenever using shell redirection to create a target, + do not create the target directly like this + + foo: bar + process $< > $@ + + That loses when `process' fails (interrupt, disk full, ...) + and bar exists and looks up-to-date, but isn't. + This sort of failure is particularly insidious when + the initial error message is obscured by lots of subsequent + output (echoed commands etc). + + Instead use rules like this + + foo: bar + process $< > $@-tmp + mv $@-tmp $@ + + Using this paradigm, as long as process returns non-zero + whenever it fails, the target won't be touched. + +Sun Feb 9 22:58:51 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * posix/unistd.h (getopt): Fixed prototype. + * sysdeps/generic/memset.c, stdio/vdprintf.c: Fixed DEFUNs. + + * Makerules (lib): Use $(RANLIB) for ranlib. + * Makeconfig: Define it. + + * configure: Create config.status to set ARCH, if successful. + * Makeconfig: include config.status ifndef ARCH. + +Thu Feb 6 20:57:10 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * ansidecl.h (INCLUDE, STARTCOMMENT, ENDCOMMENT): New magic words. + * sysdeps/m68k/68881/fl.h: Use new magic to snarf ieee754/fl.h during + ansideclification. + + * sysdeps/ieee754/fl.h: New file, taken mostly from the old + 68881 file. HUGE_VAL redone to be machine independent. + (NAN): New macro for an IEEE NaN, done like HUGE_VAL. + * sysdeps/m68k/68881/fl.h: Now #includes ieee754/fl.h, and overrides + FLT_ROUNDS for 68881 magic. NB: the #include is a prob. for install. + +Wed Jan 29 17:11:25 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * sysdeps/posix/getcwd.c: Don't use chdir; use a long ../../../... + path name instead. + +Fri Jan 17 02:51:10 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * posix/Makefile (headers): Added getopt.h. + (routines): Added getopt1. + Get getopt* from /home/gd/gnu/lib by vpath. + + * Makerules (+ansideclificate): Don't assume . is in PATH. + +Thu Jan 16 18:43:05 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * posix/glob.c [sgi]: No alloca.h, after all. + +Wed Jan 15 14:17:37 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * termios/termios.h: Reworked to be compatible with 4.4BSD. + * termios/speed.c, sysdeps/unix/bsd/{__tcgetattr,tcsetattr}.c: Store + speeds as their own values (B9600==9600, etc.) and translate to BSD + values only for ioctl. + * termios/cfsetpseed.c: New fn to set both speeds at once (from 4.4). + +Tue Jan 14 21:18:10 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * sysdeps/unix/i386/__brk.S: __end, not ___end. + Get the arg off the stack correctly. + + * sysdeps/unix/Makefile: Allow errnos like EL3HLT. + + * sysdeps/posix/{readv,writev}.c: Typos. + + * sysdeps/posix/__sigpause.c: Rewritten to know that sigset_t is a + mask, and to pass a (sigset_t *) instead of sigset_t to sigsuspend. + + * sysdeps/i386/memset.c: Include . + + * sysdeps/generic/uname.c (uname): Save and restore errno if + gethostname gets ENOSYS. + + * stdio/perror.c (perror): Check correctly for S == "". + Check correctly for ERRNUM being in range. + + * find-sysdirs: Don't use fgrep -s, since USG apparently doesn't + have that flag. Just >/dev/null instead. + +Mon Jan 13 17:00:15 1992 Torbjorn Granlund (tege at mole.gnu.ai.mit.edu) + + * sysdeps/generic/wordcopy.c (all four functions): Move do0 label to + the ultimate store statement at the end of each function. (Used to + be in the loop.) + +Tue Jan 7 18:40:18 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * resource/sys/resource.h (struct rusage): Change `ru_outblock' to + `ru_oublock'. + + * sysdeps/generic/stpcpy.c: Fixed off-by-one bug. + +Thu Jan 2 15:19:01 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * sysdeps/sparc/Dist: Add umul.S and mul.S. + +Tue Dec 31 15:33:39 1991 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * signal/signal.h [__USE_GNU]: Add user-visible `sighandler_t' == + __sighandler_t. + + * termios/speed.c (speedtab): Made const. + + * posix/Makefile (routines): Add flock. + +Tue Dec 31 03:38:30 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * termios/speed.c: Accept and return speeds as actual baud rates. + * termios/termios.h (B110, etc.): Define B110 as 110, etc. + Likewise for _B110, etc. + +Thu Oct 24 16:19:49 1991 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) + + * ansidecl: Put `M4OPTS=+quiet' in the environment make GNU m4 quiet. + +Sun Oct 20 19:31:28 1991 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Make-dist (tardir): Define as `libc-RELEASE-VERSION', strings + snarfed from version.c. + ($(..)$(tardir)): Add rule to make as symlink to . (parent dir). + [subdir] (dist), [parent] (dist.tar): Depend on that. + [subdir] (tarsources), [parent] (+tsrcs): Add $(tardir)/ to files. + + * sysdeps/sparc/Makefile (distribute): Move data into Dist file. + +Fri Oct 18 15:27:58 1991 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makefile (subdirs): Add $(sysdep-subdirs), so sysdep makefiles can + add subdirs. + + * posix/glob.c [sgi]: Use . + + * stdio/fopen.c: If not appending, initialize the offset to 0. + + * sysdeps/generic/strcasecmp.c: Fixed losing braindead code. + +Tue Oct 8 15:27:54 1991 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * Version 0.1. + * This ChangeLog is lacking much information. + * After this release, I hope to maintain the log well. + +Fri Jul 26 18:02:57 1991 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * stdio/Makefile (routines): Remove _cleanup. + +Thu Jul 25 23:12:45 1991 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * stdio/memstream.c (close_memstream): Removed. + (trim_buffer): New fn to be io_funcs->__close for memstreams. + (open_memstream): Take arg char **BUFLOC. Stuff it in + stream->__fd, and store the location of the initial buffer in + *BUFLOC. + (enlarge_buffer): Keep *(char **) stream->__fd updated to be the + location of the buffer. + +Tue Jul 23 14:11:29 1991 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * posix/glob.c: Don't #include #ifdef sun. + Is there anyone on the face of the planet other than me capable of + implementing the ANSI C standard to spec???? + + * posix/glob.c [DIRENT]: #include before + #ifdef USG. + +Mon Jul 22 17:06:24 1991 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/posix/make-stdio_limits.c: #include , + not . + + * README: Refer to COPYING.LIB, not COPYING. + + * config.libc: Renamed to `configure'. - -See ChangeLog.1 for earlier changes. +Local Variables: +mode: change-log +End: diff --git a/ChangeLog.3 b/ChangeLog.3 index 82de683aa5..4d134006ba 100644 --- a/ChangeLog.3 +++ b/ChangeLog.3 @@ -1,1644 +1,3742 @@ -Sun Jun 5 14:34:12 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) +Mon Jan 17 17:31:28 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * Version 1.08.1. + * Version 1.07 released. - * sysdeps/mach/hurd/ioctls.h (_IOR, _IOW): Swap IOC_IN and IOC_OUT. + * Makerules (install-lib rules): Fix typos: missing / after $(libdir). - * sysdeps/mach/hurd/__ioctl.c: Only pack input for ioctls that - take input. Compute expected reply size for ioctls that take - output and check it properly. + * posix/Makefile (lib): Depend on $(objpfx)libposix.a + * malloc/Makefile (lib): Depend on $(objpfx)libmcheck.a. + * math/Makefile (lib): Depend on $(objpfx)libm.a. + * misc/Makefile (lib): Depend on $(objpfx)libbsd-compat.a. -Sat Jun 4 00:35:42 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * sysdeps/unix/sysv/sco3.2.4/__setpgid.c: New file. - * sysdeps/mach/hurd/ioctls.h (union __ioctl): Type removed. - (enum __ioctl_datum): Name this enum. - (_IOC_INOUT, _IOC_GROUP, _IOC_COMMAND, _IOC_TYPE): New macros. - (_IOT_TYPE[012], _IOT_COUNT[012]): New macros. - * sysdeps/mach/hurd/__ioctl.c: Use those macros instead of the union. + * stdio/internals.c (flushbuf): Don't try aligned-block writing + calculation when FP->__buffer is nil. - * sysdeps/mach/hurd/__fork.c: Major rewrite. Copy all ports - present in the task, not just library-maintained ones. Handle - sigstate and signal thread setup explicitly here. - * hurd/hurdsig.c (hurdsig_fork, hurdsig_fork_child): Functions - removed. +Mon Jan 17 17:27:56 1994 Jim Meyering (meyering@comco.com) - * hurd/hurdpid.c (init_pids): Don't put this on _hurd_fork_child_hook. + * sysdeps/generic/memcmp.c [!_LIBC]: Include for + definition of size_t. - * sysdeps/mach/hurd/__isatty.c: New file. +Mon Jan 17 17:13:11 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * hurd/hurdsock.c (_hurd_socket_server): Pass NP to __path_lookup, - not NAME (most of which is uninitialized). + * sysdeps/unix/sysv/sco3.2.4/syscall.h: Add SYS_[gs]etitimer and + SYS_pgrpsys (from scottb). - * hurd/hurdsig.c (_hurdsig_init): Don't check for _hurd_msgport - being non-null; always initialize it. + * sysdeps/unix/configure: Check for getitimer and setitimer syscalls. -Fri Jun 3 21:57:14 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * sysdeps/unix/bsd/sequent/i386/syscall.S: New file from jason. - * hurd/hurdrlimit.c (init_rlimit): Restore __mutex_init call. - (_hurd_rlimit_lock): Set initializer to random value; run-time - initialization is always required. +Sun Jan 16 00:41:03 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * inet/rcmd.c (rcmd): Compute max fd + 1 for select instead of - hardcoding 32. + * string/strerror.c (strerror): Declare BUF to be array of char. -Wed Jun 1 10:52:41 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) + * Version 1.06.13. - * hurd/hurdrlimit.c (_hurd_rlimits, _hurd_rlimit_lock): Provide - initializers so that the file is included in the link properly. - (init_rlimit): Omit call to __mutex_init. +Sat Jan 15 17:27:26 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Tue May 31 18:15:33 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * stdlib/testsort.c (main): Rewrite not to read any input; instead + generate some random alphabetic strings. - * hurd/hurdmalloc.c (more_memory): Do spin_lock_init on H->lock. - (malloc_init): New function; put it on _hurd_preinit_hook. + * stdlib/Makefile (testsort.input): Rules removed. - * sysdeps/mach/hurd/defs.c (init_stdio): If stream already - allocated, don't allocate a new one. Don't crash if _hurd_alloc_fd - returns null if __newstream does. + * sysdeps/unix/sysv/i386/__sigret.S: New file. - * sysdeps/mach/hurd/__brk.c (init_brk): If _hurd_brk is nonzero, - leave it as it is. Set PAGEND from _hurd_brk instead of &_end. + * stdio/Makefile (distribute): Add mpn-copy.mk. + Remove 68k rules; include mpn-copy.mk for dir names needing + translation, and rewrite no-68k rules to be generic for the rest. + (mpn-copy-sysdep): New variable. + (mpn-stuff): Include $(mpn-copy-sysdep). + (clean-mpn): Use rm -f. -Mon May 30 18:37:47 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * configure.in (machine): Match m68... and m88..., not mc[68]8.... - * hurd/hurdrlimit.c (init_rlimit): Put this on _hurd_preinit_hook - instead of _hurd_subinit. + * stdio/printf_fp.c: For length arg to __mpn_extract_double, pass + actual number of limbs allocated for F, not LDBL_MANT_DIG. - * sysdeps/mach/hurd/mig-reply.c (mig_fork_child): Function removed. - * hurd/dtable.c (fork_parent_dtable): Function removed. +Fri Jan 14 19:09:29 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/generic/resourcebits.h: Rename RLIM_NLIMITS to - RLIMIT_NLIMITS, add alias for old name. + * sysdeps/unix/i386/sysdep.S: Fixed typo: `movl', not `move'. - * sysdeps/mach/hurd/Makefile (hurd-objpfx): New variable. - (before-compile): Use that instead of $(common-objpfx). + * sysdeps/unix/sysv/sco3.2.4/__sysconf.S: Swap args in cmpl insn. - * sysdeps/mach/Makefile [! objpfx] (mach-objpfx): Add trailing slash. +Thu Jan 13 17:09:19 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Fri May 27 01:34:56 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * Version 1.06.12. - * hurd/hurdsig.c (_hurdsig_init): Always initialize _hurd_sigthread. + * sysdeps/mips/sqrt.c: File removed. Ian says only the r[46]00 + have `sqrt.d' and GCC open codes it anyway. Perhaps someday + Brendan will be able to explain his rationale for writing this. :( - * hurd/dtable.c: Use data_set_element instead of text_set_element - for _hurd_fork_locks. - * hurd/hurdsig.c: Likewise. +Tue Jan 11 18:10:17 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * hurd/hurd.h (_hurd_set_data_limit): Declaration removed. + * posix/sys/wait.h (__WAIT_STATUS, __WAIT_STATUS_DEFN): Use snazzy + version only for GCC >= 2.6 (was 2.4); 2.5.7 produces bad code on + sparc when the union arg type is used. - * hurd/dtable.c (_hurd_dtable_rlimit): Variable removed. - (init_dtable): Don't set it. + * Makeconfig (libprefix): New variable. + * Makerules ($(libdir)/libc.a, install): Insert $(libprefix) + between `lib' and `c' in the file name. + [install-lib] (install-lib.a, install-lib-non.a): New variables + separate out $(install-lib) elts which do or don't match lib%.a. + ($(libdir)/...): Split into two rules for above two cases. Put + $(libprefix) on installed files; for lib%.a insert it before % + rather than at beginning of file name. - * hurd/Makefile (headers): Add hurd/resource.h. - (routines): Add hurdrlimit. - * hurd/hurd/resource.h: New file. - * hurd/hurdrlimit.c: New file. - * sysdeps/mach/hurd/getrlimit.c: Rewritten to just fetch - _hurd_rlimits. - * sysdeps/mach/hurd/setrlimit.c: Rewritten to just set _hurd_rlimits. - * sysdeps/mach/hurd/__brk.c (_hurd_data_limit): Variable removed. - (_hurd_set_brk): Use _hurd_rlimits[RLIMIT_DATA]. - (_hurd_set_data_limit): Function removed. - * hurd/alloc-fd.c (_hurd_dtable_rlimit): Variable removed. - (_hurd_alloc_fd): Use _hurd_rlimits[RLIMIT_OFILE] instead. + * Version 1.06.11. - * sysdeps/generic/resourcebits.h: Add RLIMIT_NOFILE as an alias - for RLIMIT_OFILE. + * Makerules (compilation rules): Move directoryless rules (for + finding sources in .) before include sysd-rules. Omit rules to + compile from sources in $(objpfx) if not using $(objdir). - * sysdeps/mach/hurd/mig-reply.c (__mig_init): Argument is stack - on which to set the per-thread reply port variable. + * sysdeps/stub/errlist.c [! HAVE_GNU_LD]: #define _sys_errlist to + sys_errlist and _sys_nerr to sys_nerr. - * sysdeps/mach/hurd/__brk.c (init_brk): Set _hurd_data_end to - DATA_SIZE bytes past the beginning of data space, rather than to - DATA_SIZE absolutely. If vm_map fails, set it to PAGEND. +Mon Jan 10 15:01:32 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/mach/hurd/start.c (_start): Run _hurd_preinit_hook right - after __mach_init. + * time/Makefile (z.%): In generated rules, depend on yearistype. + (tzcompile): Pass -y flag with file name of yearistype. - * stdio/freopen.c (freopen): Rewritten using __stdio_reopen to - preserve the old cookie value when possible. - * sysdeps/posix/sysd-stdio.c (__stdio_reopen): New function. - * sysdeps/stub/sysd-stdio.c (__stdio_reopen): New function. - * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): New function. +Sun Jan 9 17:51:43 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * stdio/freopen.c (freopen): Close the stream if MODE is invalid. + * misc/bsd-compat.c (longjmp): Use __NORETURN in type. - * hurd/hurdsig.c (_hurd_core_limit): Define variable. + * sysdeps/ieee754/dbl2mpn.c [N == 2]: For denormal, when + RES_PTR[1] is zero, return 1 instead of 2. - * socket/sys/socket.h (PF_LOCAL): Define in preference to PF_FILE. +Sun Jan 9 13:10:25 1994 Torbjorn Granlund (tege@adder.cygnus.com) -Thu May 26 12:09:51 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) + * stdio/printf_fp.c: Solve 10+ problems. + * ieee754/dbl2mpn.c: Correctly detect denorms. Get the denom + exponent right. - * hurd/alloc-fd.c (_hurd_alloc_fd): Don't return EINVAL when - FIRST_FD is greater than _hurd_dtablesize and less than - _hurd_dtable_rlimit. If we want to grow _hurd_dtable, but - _hurd_dtablesize is as big as _hurd_dtable_rlimit, then return - EMFILE. When growing _hurd_dtable, actually do something if - _hurd_dtablesize is zero. - - * hurd/hurdmalloc.c (malloc_fork_prepare, malloc_fork_parent, - malloc_fork_child): Declare as static so they don't conflict with - the user's version of this file. +Sun Jan 9 00:40:48 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Wed May 25 20:55:16 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/ieee754/dbl2mpn.c: Test BITS_PER_MP_LIMB and handle + either 32 or 64; #error if not one of those. - * sysdeps/mach/hurd/__brk.c: Include instead of - . + * sysdeps/stub/udiv_qrnnd.c: Renamed from udiv_qrnnd.S. - * hurd/hurdmalloc.c, hurd/hurdmalloc.h: New files (temporary hack). - * hurd/Makefile (routines): Append hurdmalloc. - (distribute): Append hurdmalloc.h. - * hurd/alloc-fd.c: Include "hurdmalloc.h" (temporary hack). - * hurd/dtable.c: Likewise. - * hurd/hurdinit.c: Likewise. - * hurd/hurdsig.c: Likewise. - * hurd/hurdsock.c: Likewise. - * hurd/new-fd.c: Likewise. - * sysdeps/mach/hurd/start.c: Likewise. +Sat Jan 8 00:25:15 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/mach/hurd/start.c (start1): Use malloc and a for loop - instead of calloc. - * hurd/hurdsig.c (_hurd_thread_sigstate): Use malloc and memset - instead of calloc. + * Version 1.06.10. - * sysdeps/mach/hurd/__brk.c (init_brk): Reference self to avoid - compiler warning. Add init_brk to _hurd_preinit_hook instead of - __libc_subinit. + * Makerules ($(libdir)/libc.a): Depend on subdir_install. - * sysdeps/mach/hurd/start.c (_hurd_preinit_hook): New variable. - (start1): Run _hurd_preinit_hook before threadvar setup. +Thu Jan 6 02:17:07 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Tue May 24 17:42:34 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * Makerules ($(bindir)/$(install)): Use $(INSTALL_PROGRAM), not + $(INSTALL). + ($(libdir)/libc.a): Don't depend on lib-noranlib; on libobjs and + ar-it instead. Run ranlib on target after installing. + (installdirs): Target removed; deps on it removed. + (install-{bin,lib,data,headers,others,no-libc.a}): Renamed to + `install-*-nosubdir'. + (install-%): New pattern rule. + (install): Depend only on install-no-libc.a-nosubdir. + * Rules (subdir_install): Depend on lib-noranlib and stubs. + * Makefile (headers): Remove stubs.h. + (install-others): Define to include $(includedir)/stubs.h. + ($(includedir)/stubs.h): New target for $(objpfx)stubs.h rule. + Depend only on subdir_install, and install directly. - * hurd/dtable.c (init_dtable): Initialize _hurd_dtablesize to - _hurd_init_dtablesize. Initialize _hurd_dtable_rlimit as - _hurd_dtablesize used to be set, but don't let it be zero. - (_hurd_dtable_rlimit): New variable. + * Makerules (sed-remove-objpfx): Require SPC before $(objpfx) to match. -Tue May 24 12:57:19 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) + * time/zic.c (mkdirs): Duplicate passed string in allocated memory + and free it when done. - * sysdeps/mach/sleep.c (sleep): Timeout arg to mach_msg is - in milliseconds, not microseconds; compute it accordingly. + * dirent/dirent.h [__USE_BSD || __USE_MISC]: Get size_t from stddef.h. - * sysdeps/mach/hurd/__select.c (__select): Deleted variables - DTABLE and DTABLE_ULINK. Use new vars _hurd_dtablesize and - _hurd_dtable instead of old _hurd_dtable structure. Use new - locking protocol on _hurd_dtable. - -Tue May 24 01:55:24 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/mach/hurd/__setitmr.c: Don't include mutex.h. - - * sysdeps/mach/hurd/defs.c (init_stdio): Reference self. - - * sysdeps/unix/sysv/sysv4/i386/sysdep.h: Include - sysdeps/unix/sysv/i386/sysdep.h, not sysdeps/unix/i386/sysdep.h + * sysdeps/ieee754/dbl2mpn.c: For zero value, return 1 limb not 0. -Mon May 23 19:05:44 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * Makerules (make-dummy-dep): Use filter-out to invert sense of + wildcard match, so we produce a command if $@ does *not* exist.c - * sysdeps/mach/hurd/Makefile (mib_hacks, defines): Variables removed. + * stdio/Makefile (routines): Add dbl2mpn. - * mach/devstream.c (mach_open_devstream): Set STREAM's seek and - fileno io functions to null. +Wed Jan 5 17:52:43 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * hurd/hurdexec.c (_hurd_exec): Fixed adding of dtable ports to - PLEASE_DEALLOC array. + * sysdeps/unix/i386/sysdep.S (syscall_error): Reverse args in + `cmpl' insn; non-GNU assembler is feeble-minded. - * sysdeps/mach/hurd/defs.c (init_stdio): Unlock the descriptors - after fetching them. If a standard descriptor is not allocated, - allocate the structure and store its pointer in the stream anyway. +Mon Jan 3 18:53:45 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * stdio/gets.c: Only return null on P==S if feof (STREAM). + * configure.in (sysnames): Remove / before $mach; it is prepended + already by the loop constructing $mach from $machine. - * stdio/vfprintf.c: Make %Z a type modifier, not a format spec. +Tue Dec 28 07:38:23 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/mach/hurd/fdopen.c: Return NULL rather than -1 for error. + * stdio/Makefile [gmp-srcdir] (clean-mpn): New target. -Mon May 23 14:24:50 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) + * configure.in (machine): Turn i[34]86 into i386/&, sparc* into + sparc/&, m68k into m68k/mc68020, mc680?0 into m68k/&, mips or + r2000 into mips/r3000, r[34]000 into mips/&. + (mach): New variable; processed from $machine as $base from $base_os. + Use that in place of $machine in loop finding sysdep directories. - * sysdeps/mach/hurd/__close.c (__close): Use new _hurd_fd_get - protocol. - * sysdeps/mach/hurd/__dup2.c (__dup2): Likewise. Use - _hurd_dtablesize and _hurd_dtable instead of old _hurd_dtable - structure. + * stdio/Makefile (aux): Add mp_clz_tab. + (mpn-copy): Add mp_clz_tab.c. + (mpn-routines): Add udiv_qrnnd. + (mpn-sysdep): Look for .s files too. + * sysdeps/stub/udiv_qrnnd.S: New file. - * sysdeps/mach/hurd/sysd-stdio.c (__stdio_seek): Use - HURD_FD_PORT_USE, not HURD_FD_USE. - * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Variable - is D, not FD. +Sat Dec 25 00:20:07 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * hurd/alloc-fd.c (_hurd_alloc_fd): Arg FIRST_FD is not actually - const. - * hurd/hurdsig.c (_hurd_internal_post_signal [case SIGINFO]): If - we are not the process group leader, ignore the signal. - (_S_sig_post [case SIGURG]): Declaration of D was out of place. + * Version 1.06.9. - * sysdeps/mach/hurd/fdopen.c: Include for - io_get_openmodes prototype. + * Makefile (distribute): Add install.sh. + * install.sh: New file. -Sat May 21 16:03:23 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/i386/Makefile: New file. + (asm-CPPFLAGS): Add -DGAS_SYNTAX. + + * stdio/printf_fp.c: Major rewrite of sysdeps/generic/printf_fp.c, + working with the fractional parts as multiprecision integers + instead of doubles, using mpn functions from GNU MP. Done with + much help from tege@cygnus.com. + * sysdeps/generic/printf_fp.c, sysdeps/ieee754/printf_fp.c, + sysdeps/m68k/fpu/printf_fp.c: Files removed. + +Fri Dec 24 23:09:44 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/stub/dbl2mpn.c, sysdeps/iee754/dbl2mpn.c: New files. + * sysdeps/stub/asm.h: New file. + * sysdeps/m68k/add_n.S, sysdeps/m68k/addmul_1.S, + sysdeps/m68k/mul_1.S, sysdeps/m68k/sub_n.S, + sysdeps/m68k/submul_1.S, sysdeps/m68k/asm.h, + sysdeps/generic/add_1.c, sysdeps/generic/add_n.c, + sysdeps/generic/addmul_1.c, sysdeps/generic/cmp.c, + sysdeps/generic/divmod.c, sysdeps/generic/divmod_1.c, + sysdeps/generic/lshift.c, sysdeps/generic/rshift.c, + sysdeps/generic/mod_1.c, sysdeps/generic/mul.c, + sysdeps/generic/mul_1.c, sysdeps/generic/mul_n.c, + sysdeps/generic/sub_n.c, sysdeps/generic/submul_1.c, + sysdeps/generic/get_str.c, sysdeps/i386/addmul_1.S, + sysdeps/i386/mul_1.S, sysdeps/i386/submul_1.S, + sysdeps/alpha/gmp-mparam.h, sysdeps/generic/gmp-mparam.h, + sysdeps/i386/asm.h, stdio/longlong.h, stdio/gmp.h, + stdio/gmp-impl.h: New files, taken from GNU MP. + * stdio/Makefile (mpn-headers, mpn-routines): New variables. + (routines): Include $(mpn-routines). + (distribute): Include $(mpn-headers). + [gmp-srcdir]: Much code to copy mpn source from $(gmp-srcdir). + * configure.in: Check for a --with-gmp argument and set gmp-srcdir + in config.make to its value (error if no arg given). Move + config_vars initialization before this (right after arg parsing). + +Thu Dec 23 01:44:12 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/m68k/Makefile (m68k-syntax-flag): New variable. + (compile-command.S): Include $(m68k-syntax-flag) in cpp flags. + + * manual/Makefile (install-data): New target. + (install-%): New pattern rule. + + * Makerules ($(bindir)/...): Do $(make-target-directory) first. + +Thu Dec 23 01:03:19 1993 Brendan Kehoe (brendan@zen.org) + + Port to the DEC Alpha running OSF/1. (75% done) + * sysdeps/unix/bsd/osf1/alpha/start.S: New file. + * sysdeps/unix/bsd/osf1/alpha/sysdep.h: New file. + * sysdeps/unix/bsd/osf1/alpha/sysdep.S: New file. + * sysdeps/unix/bsd/osf1/alpha/__brk.S: New file (incomplete). + * sysdeps/unix/bsd/osf1/alpha/__fork.S: New file. + * sysdeps/unix/bsd/osf1/alpha/__pipe.S: New file. + * sysdeps/unix/bsd/osf1/alpha/__getdents.S: New file. + * sysdeps/unix/bsd/osf1/alpha/__waitpid.c: New file. + * sysdeps/unix/bsd/osf1/alpha/__wait4.S: New file. + * sysdeps/unix/bsd/osf1/dirstream.h: New file. + * sysdeps/unix/bsd/osf1/alpha/statbuf.h: New file. + * sysdeps/unix/bsd/osf1/direct.h: New file. + * sysdeps/unix/bsd/osf1/dirstream.h: New file. + * sysdeps/unix/bsd/osf1/Makefile: New file, defining LDFLAGS. + + * sysdeps/unix/ioctls-tmpl.c [__osf1__ && __alpha__]: Clean up the + ioctls that we get for an Alpha running OSF/1. + + * sysdeps/unix/common/glue-ctype.c: Add code for HAVE__LOCP. + (main): If new macro TABLE_NAME is defined, use that for the name + of the array we're writing out, rather than what's defined in TABLE. + * sysdeps/unix/common/configure.in (AC_HAVE_FUNCS): Add `_locp'. + + * sysdeps/unix/bsd/osf1/sigaction.h: Add SA_ONSTACK, SA_RESTART, + and SA_DISABLE. + * sysdeps/alpha/setjmp.S: Add .end directive. + + * time/sys/time.h (struct timeval): Make members TV_SEC and + TV_USEC be `int', not `long', since it won't hurt other hosts, but + kills the Alpha. + * resource/sys/resource.h (struct rusage): Make all non-timeval + members be `long', not `int'. + + * sysdeps/alpha/strlen.c (strlen): Go from 0 to 7, not 3, since + there are 8 bytes in a long on the Alpha. Check for '\0' after + checking for C in initial byte-by-byte loop. + * sysdeps/alpha/strchr.c (strchr): Likewise. Shift out to 64 when + setting CHARMASK. + * sysdeps/alpha/memchr.c (memchr): Likewise. Return NULL if we + didn't find it in N characters, or N == 0. Declare CP to be an + unsigned char*. + + * sysdeps/alpha/Makefile: Add divrem stuff. + * sysdeps/alpha/DEFS.h: New file. + * sysdeps/alpha/divrem.m4: New file. + * sysdeps/alpha/macros.m4: New file. + * sysdeps/alpha/Dist: Add .S files, divrem.m4, macros.m4, and DEFS.h. + + * sysdeps/unix/bsd/osf1/alpha/vhangup.S: New file. (Only a + temporary workaround, until we figure out how to deal with the + SYS_ult syscalls better.) + * sysdeps/unix/bsd/osf1/alpha/killpg.S: Likewise. + * sysdeps/unix/bsd/osf1/alpha/__sigvec.S: Likewise. + * sysdeps/unix/bsd/osf1/alpha/__sigpause.S: Likewise. + * sysdeps/unix/bsd/osf1/alpha/__sigstmsk.S: Likewise. + * sysdeps/unix/bsd/osf1/alpha/recv.S: Likewise. + * sysdeps/unix/bsd/osf1/alpha/send.S: Likewise. + + * sysdeps/alpha/__math.h (__copysign): Add __CONSTVALUE. + * sysdeps/alpha/__copysign.c: Define __NO_MATH_INLINES. + * sysdeps/alpha/fabs.c: Likewise. + +Wed Dec 22 17:55:49 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * crypt/*: New version from glad. + + * sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c. + + * dirent/Makefile (headers): Define; include dirent.h & dirstream.h. + +Tue Dec 21 14:24:38 1993 Brendan Kehoe (brendan@zen.org) + + * sysdeps/unix/sysv/sysv4/i386/statbuf.h (struct stat): Add + missing member ST_FSTYPE. Fixup types on various members to make + this properly reflect what the system has. - * assert/assert.c (__assert_fail): Put program name first in msg. + * misc/ioctl.c (ioctl): Declare 2nd arg to be unsigned long int to + match the change in ioctl.h. - * hurd/Makefile (dtable): Removed setdtsz. +Tue Dec 21 00:01:01 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * hurd/hurdexec.c: Use _hurd_dtable and _hurd_dtablesize instead of - old _hurd_dtable structure. - * hurd/hurdsig.c: Likewise. - * hurd/alloc-fd.c: Likewise. - * hurd/hurdioctl.c (rectty_dtable): Likewise. + * Version 1.06.8. - * Version 1.08 released. + * dirent/dirent.h (struct dirent): Add `d_reclen'; make `d_namlen' + an `unsigned short int' instead of `size_t'. + (DIR): Move typedef to sysdep file dirstream.h. + * sysdeps/unix/dirstream.h: New file, broken out of dirent.h. + * sysdeps/stub/dirstream.h: New file. + * sysdeps/unix/bsd/dirstream.h: New file. + * sysdeps/unix/bsd/readdir.c: New file. - * mach/mach_error_string.c: Renamed to errstring.c. - * mach/Makefile (routines): Renamed mach_error_string to errstring. - * mach/err_mach_ipc.sub: Renamed to err_mach.sub. - * mach/err_bootstrap.sub: Renamed to err_boot.sub. +Mon Dec 20 23:29:07 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/generic/sigset.h (__SIGSETFN): Take new arg CONST; use it - for CONST qualifier on SET arg to generated function. - Changed uses to pass it; sigismember passes __const, others empty. + * sysdeps/unix/start.c: Include . + * sysdeps/unix/sysv/sysv4/i386/start.c: File removed. - * sysdeps/mach/hurd/sysd-stdio.c: Rewritten to use `struct hurd_fd *'s - for cookies. - * sysdeps/mach/hurd/fdopen.c: Rewritten accordinly. - * sysdeps/mach/hurd/defs.c (init_stdio): Rewritten accordingly. - Add it to the _hurd_fd_subinit hook instead of the __libc_subinit - hook. - * sysdeps/mach/hurd/stdio_init.c: New file. - * hurd/dtable.c (_hurd_fd_subinit): New hook variable. - (init_dtable): Run the _hurd_fd_subinit hook. +Sat Dec 18 01:37:25 1993 Brendan Kehoe (brendan@zen.org) - * hurd/hurd/fd.h (struct hurd_dtable): Type removed. - (_hurd_dtable_users, _hurd_dtable_rlimit): Variables removed. - (_hurd_dtable): Make this a struct hurd_fd **. - (_hurd_dtablesize): New variable. - (struct hurd_fd_user): Type removed. - (_hurd_dtable_get, _hurd_dtable_free, _hurd_dtable_fd): Functions - removed. - (_hurd_fd_get): Rewritten. Take just one arg, and look it up in - _hurd_dtable; return a struct hurd_fd *. - (HURD_FD_USE): Rewritten to use new _hurd_fd_get interface. - * hurd/dtable.c (_hurd_dtable_users, _hurd_dtable_rlimit): - Variables removed. - (_hurd_dtable): Make this a struct hurd_fd **. - (_hurd_dtablesize): New variable. - (init_dtable, fork_parent_dtable, fork_child_dtable, - ctty_new_pgrp, reauth_dtable): Use new simpler _hurd_dtable format. - * sysdeps/mach/hurd/__getdtsz.c: Use _hurd_dtablesize. - * sysdeps/mach/hurd/__fcntl.c: Use new _hurd_fd_get protocol. + * sysdeps/unix/sysv/sysv4/i386/start.c: New file. Same as + sysdeps/unix/i386/start.c, but defines NO_UNDERSCORES. - * hurd/dtable.c (get_dtable_port): Return the ctty port if set. + * sysdeps/unix/sysv/sysv4/waitflags.h: New file, with non-standard + WEXITED and WTRAPPED macros defined. + * sysdeps/unix/sysv/sysv4/__waitpid.c: New file. + * sysdeps/unix/sysv/sysv4/siginfo.h: New file. + * sysdeps/unix/sysv/sysv4/__waitid.S: New file. + * sysdeps/unix/sysv/sysv4/Makefile (sysdep_routines): Mention __waitid. + * sysdeps/unix/sysv/sysv4/pipestream.c: New file, to avoid having + NO_WAITPID set. + * sysdeps/unix/sysv/sysv4/Dist: Added __waitid.S and siginfo.h. - * hurd/hurd/fd.h (_hurd_fd_error_signal): New function, broken out - of _hurd_fd_error. - (_hurd_fd_error): Call it. + * sysdeps/unix/sysv/sysv4/__getpgid.c: New file. + * sysdeps/unix/sysv/sysv4/__setpgid.c: New file. + * sysdeps/unix/sysv/sysv4/Makefile (sysdep_routines): Add them. - * hurd/Makefile (dtable): Add fd-close. - * hurd/fd-close.c: New file. - * hurd/hurd/fd.h: Declare _hurd_fd_close. + * sysdeps/unix/sysv/sysv4/__getpgrp.c (__getpgrp): It's the 0th + subcall for getpgrp, not 4th. + * sysdeps/unix/sysv/sysv4/__setpgrp.c (__setpgrp): Likewise, it's + the 1st, not the 5th. - * sysdeps/mach/hurd/__close.c: Call _hurd_fd_close. +Fri Dec 17 15:05:58 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * signal/Makefile (routines): Add sigsetops. - * signal/sigsetops.c: New file. + * misc/sys/ioctl.h (__ioctl, ioctl): Make second arg `unsigned + long int' instead of `int' (4.4 uses unsigned long). - * sysdeps/unix/sysv/sysv4/sigset.h (_EXTERN_INLINE): New macro. - Use it for all the inline functions. + * string/string.h (strcat): Parameters names were swapped. - * signal/signal.h: Move #include inside #ifdef _SIGNAL_H. +Fri Dec 17 01:18:27 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - * sysdeps/generic/sigset.h: Protect types with #ifndef - _SIGSET_H_types. Protect rest with #if !defined (_SIGSET_H_fns) - && defined (_SIGNAL_H). - (__SIGSETFN): Add extern declaration of NAME inside function. + * Made the Hurd error system 0x10 again; this undid many + of the changes of Nov 23. Affected all the err_ files in + mach; recreated sysdeps/hurd/err_hurd.sub; changed back + err_kern.sub to have the Unix error codes. - * sysdeps/unix/ioctls-tmpl.c: Add missing #endif. - * sysdeps/unix/Makefile (make-ioctls-CFLAGS): Remember -D. +Thu Dec 16 15:40:25 1993 Brendan Kehoe (brendan@zen.org) -Fri May 20 20:42:33 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * stdio/temptest.c (main): Remove the files we created once we're + done. Make return type int, and exit with 0 status. - * sysdeps/unix/Makefile (sys/termios.h): Variable removed. - (ioctl-includes): New variable. - (make-ioctls-CFLAGS): Compute value generally from $(ioctl-includes). - ($(common-objpfx)ioctls): Depend on $(ioctl-includes), instead of - $(sys/termios.h). + * sysdeps/posix/tempname.c (__stdio_gen_tempname): Fix typo of + extra comma in sprintf call. - * sysdeps/unix/sysv/sco3.2.4/sco_getgrp.S: New file. - * sysdeps/unix/sysv/sco3.2.4/Makefile (sysdep_routines): Add - sco_getgrp. - * sysdeps/unix/sysv/sco3.2.4/__getgrps.c: New file. +Tue Dec 14 13:08:35 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/generic/sigset.h (__sigismember, __sigaddset, __sigdelset): - Rewritten as extern inline functions; check for bogus signal number. + * sysdeps/posix/tempname.c (__stdio_gen_tempname): Rewrote main + logic. Removed INFOS structure array and replaced it with + INDICES, an array of size_t. Removed INFO ptr and replaced it + with IDX, which points to either elt of INDICES. Rewrite main + loop to increment *IDX until it hits 62*62*62. Construct file + name by dividing out two powers of 62 from *IDX and using the + modulus as an index into `letters'. - * configure.in (names): Put $implied before $* in new $sysnames - list remaining to be processed; this ensures unix/common precedes - unix/sysv4 for sysv4. + * sysdeps/unix/common/Makefile (sysdep_routines): Only add + bsd_getgrp here if the sysdep __getgrps.? chosen is unix/common's. -Thu May 19 18:35:02 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) + * posix/fnmatch.h: #undef FNM_PATHNAME, FNM_NOESCAPE, and + FNM_PERIOD before defining them. - * sysdeps/mach/hurd/defs.c (init_stdio): Make stdin and stdout - line buffered and stderr unbuffered. + * time/__tzset.c (compute_change): In M case when tallying time in + months before specified month, count to RULE->m - 1, not ...+1. -Thu May 19 16:14:36 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * manual/Makefile (realclean): Remove index, aux, and toc files + created by TeX. - * sysdeps/mach/hurd/getcwd.c: Remember to call io_stat on cwdir. +Mon Dec 13 19:33:33 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/generic/configure.in: Use changequote around if expr - to avoid [] elision. + * sysdeps/posix/__wait3.c: Use __WAIT_STATUS_DEFN in place of + __WAIT_STATUS in arg type. -Thu May 19 13:53:59 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) +Wed Dec 8 15:59:45 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * hurd/hurdsock.c (_hurd_socket_server): Return EPFNOSUPPORT - rather than EPROTONOSUPPORT because it's the entire protocol - family that isn't present, not just one protocol. + * malloc/memalign.c: Set L->next and _aligned_blocks only when L + is newly allocated, not when we reuse an old one. - * sysdeps/mach/hurd/__access.c (__access): Don't deallocate - CRDIR or CWDIR; that's taken care of by the _hurd_port_get - and _hurd_port_free system. +Tue Dec 7 16:04:22 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Thu May 19 04:14:57 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * io/fcntl.c: Replace function_alias use with: + [HAVE_GNU_LD]: Use symbol_alias. + [! HAVE_GNU_LD]: Define fcntl to use stdarg and call __fcntl. - * sysdeps/posix/libc_fatal.c: Include . +Mon Dec 6 17:50:05 1993 Brendan Kehoe (brendan@zen.org) - * sysdeps/unix/sysv/sysv4/__sigact.c: Include for NULL. + * sysdeps/unix/i386/sysdep.S (syscall_error): Fix labels so + they'll compile. - * sysdeps/mach/hurd/__access.c: Fix swapped poly and count args in - __auth_makeauth call. + Make the Solaris port work dammit. + * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h (struct stat): Make + ST_DEV member be unsigned long, not short. - * sysdeps/mach/hurd/ioctls.h (_IOC, _IOT): Rewritten using bitwise - operations, so the result is always technically a constant (the - old method of using a union constructor expression was not good - enough for initializers). + * sysdeps/unix/sysv/sysv4/solaris2/direct.h: New file, same as + sysv4/direct.h but uses strlen instead of the offset-based + computation of the name length, since that doesn't reliably work + for Solaris. - * hurd/hurdsock.c (_hurd_socket_server): If path_lookup returns - ENOENT, we return EPROTONOSUPPORT. + * sysdeps/unix/sysv/sysv4/solaris2/sysdep.h (PSEUDO): Don't move + %g0 into %o0, since that will clobber the real return value. Take + out the retl at the end, why in the world did I put it in there? - * hurd/Makefile (dtable): Add hurdioctl. - * hurd/dtable.c (rectty_dtable, tiocsctty, tiocnotty): Functions - moved: - * hurd/hurdioctl.c: New file. - (fioctl, fioclex): New functions. - * sysdeps/mach/hurd/__ioctl.c (_hurd_ioctl_handler_lists): Don't - define it, just declare it. +Mon Dec 6 17:27:26 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/mach/hurd/getcwd.c: Use MACH_PORT_RIGHT_SEND, not - MACH_PORT_TYPE_SEND, in mach_port_mod_refs call. + * Makefile ($(objpfx)crt1.o): Add target to $(objpfx)Mcrt1.o + rule; generalize commands. + (install-lib): Add crt1.o. - * sysdeps/mach/hurd/__getpgrp.c: Don't lock _hurd_pid_lock. + * sysdeps/unix/Makefile ($(common-objpfx)ioctls): Use -x flag to + fgrep to match only entire lines. - * sysdeps/unix/common/glue-ctype.c: Don't include . - Instead, add explicit extern declaration of TABLE in main. +Sun Dec 5 01:53:43 1993 Brendan Kehoe (brendan@zen.org) -Wed May 18 17:54:00 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/unix/bsd/ultrix4/mips/start.S: New file. + * sysdeps/unix/bsd/ultrix4/mips/start.c: Deleted. - * sysdeps/m68k/Makefile (asm-CPPFLAGS): Append $(m68k-syntax-flag). +Thu Dec 2 18:29:01 1993 Brendan Kehoe (brendan@zen.org) - * Version 1.07.6. + * sysdeps/unix/bsd/ultrix4/mips/sysdep.S: Don't use dollar signs + with the errnos. - * sunrpc/Makefile (+gccwarn): Set to -w. + * sysdeps/stub/{__wait, __wait3, __wait4}.c, + sysdeps/unix/bsd/bsd4.4/{__wait, __wait3}.c, + sysdeps/unix/bsd/sun/sunos4/__wait4.c, + sysdeps/posix/{__wait, __wait3}.c, posix/{wait, wait3, wait4}.c: Use + __WAIT_STATUS_DEFN, not __WAIT_STATUS. - * sysdeps/unix/Makefile (ifeq testing sys/param.h): Use patsubst - instead of dir to remove directory name from .../sys/param.h but - preserve "sys/". + * sysdeps/posix/killpg.c (killpg): Make arg PGRP __pid_t, not pid_t. + * sysdeps/stub/killpg.c (killpg): Likewise. - * inet/sys/bitypes.h: Replaced with just #include . + * setjmp/longjmp.c (longjmp): Only use __NORETURN if !HAVE_GNU_LD. + * setjmp/_longjmp.c (_longjmp): Likewise. - * posix/sys/utsname.h (_UTSNAME_NODENAME_LENGTH): If undefined, - define to _UTSNAME_LENGTH. - (struct utsname): Use _UTSNAME_NODENAME_LENGTH for `nodename' member. - * sysdeps/unix/bsd/sun/sunos4/utsnamelen.h (_UTSNAME_NODENAME_LENGTH): - Define it. +Thu Dec 2 17:31:19 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * resource/sys/resource.h (enum __rlimit_resource): Removed. - Just include instead. - * resource/Makefile (headers): Add resourcebits.h. - * sysdeps/generic/resourcebits.h: New file. - * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: New file. + * posix/sys/wait.h (__WAIT_STATUS_DEFN): Define new macro. - * stdio/test-popen.c (main): Use popen to read the file back, too. + * Makerules (+install): Variable removed. + (install-bin, install-lib, install-data, install-headers, + install-others): New targets. + (install-no-libc.a): Depend on them instead of $(+install). - * sysdeps/unix/sysv/sysv4/i386/sysdep.h: New file. + * Makefile (+subdir_targets): Add + install-{no-libc.a,bin,lib,data,headers,others}. + (install-no-libc.a): Don't depend on subdir_install. - * sysdeps/unix/sysv/sysv4/i386/sys-sig.S: Fixed typo: movel->movl. +Thu Dec 2 17:14:39 1993 Brendan Kehoe (brendan@zen.org) -Tue May 17 12:46:31 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) + * sysdeps/ieee754/__isnan.c (__isnan): Return __CONSTVALUE, to + match declaration in math/math.h. - * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self, - __mach_task_self, __mach_host_self): New declarations of __ - versions of syscall traps. - (swtch, __swtch, swtch_pri, __swtch_pri, thread_switch, - __thread_switch, evc_wait, __evc_wait): New prototypes. - * mach/Makefile (headers): Added mach/mach_traps.h so that the - GNU version is installed instead of the Mach version. - -Mon May 16 15:34:12 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) +Thu Dec 2 15:48:19 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/stub/sys/param.h: New file. + * time/africa, time/antarctica, time/asia, time/australasia, + time/emkdir.c, time/europe, time/ialloc.c, time/northamerica, + time/pacificnew, time/private.h, time/solar87, time/solar88, + time/southamerica time/systemv, time/tzfile.h, time/zdump.c, + time/zic.c: New data and code from ADO. + * time/Makefile (tzfiles): Added backward. + * time/backward: New file from ADO. - * mach/lock-intern.h (__mutex_lock, __mutex_unlock): Real definitions. - (__mutex_lock_solid, __mutex_unlock_solid, __mutex_init): Declare + * locale/C-ctype_ct.c: Remove _ISspace bit from BS (8). + +Wed Dec 1 00:01:30 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) + + * mach/err_kern.sub: Frob around lack of GNU ld. + + * mach/errsystems.awk: The declaration of __mach_error_systems + should not be static, but it should be const. + + * sysdeps/mach/hurd/errlist.awk (BEGIN): Deal with the case + where you don't have GNU ld. + + * sysdeps/mach/hurd/Makefile: Define mib_hacks to make. + +Tue Nov 30 23:24:07 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) + + * Makefile: install-no-libc.a needs to depend on subdir_install. + +Mon Nov 29 16:21:38 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) + + * sysdeps/mach/_strerror.c: Include . + + * hurd/setuids.c: Put entire file inside #ifndef MIB_HACKS; + it uses the old auth_makeauth call. + + * hurd/__setauth.c: Put entire file inside #ifndef MIB_HACKS; + it depends on cthreads to compile, which is not yet integrated. + + * hurd/hurdpath.c (__hurd_path_lookup): cast to avoid GCC warning. + +Wed Nov 24 00:59:15 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) + + * hurd/Makefile: Commented out hurdauth; recent changes to + auth.defs prevent it from working now. + + * mach/mach_error_string.c (do_compat): Change name to + __mach_error_map_compat; make it no longer static. + (mach_error_type, mach_error_string_int): Use + __mach_error_map_compat instead of do_compat. + * sysdeps/mach/_strerror.c: Use __mach_error_map_compat. + + * mach/devstream (output/write_some): Cast fourth argument to + device_write_inband to char * to avoid warning. + (output): Call to write_some mentioned variable `start' from + a previous version of the function; changed this to f->__buffer. + +Tue Nov 23 23:16:13 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) + + [ The net effect of the following change is to eliminate error + systems which are specific to single-server Mach systems, and + to put the Hurd errors where the Unix errors were. ] + * mach/{err_bootstrap.sub,err_ipc.sub,err_server.sub,err_us.sub}: + None of these are used for the Hurd; we shouldn't pretend that + they are meaningful in our environment. The files have been + renamed to equivalent names with an equal sign prepended; this + will inhibit distribution and prevent the Makefile from looking at them. - * mach/mutex-solid.c: New file. - * mach/Makefile (lock): Add mutex-solid. - (lock-headers): Remove mutex.h. - * mach/mutex.h: File removed. - * hurd/hurd/id.h: Include instead of . - * hurd/hurd/signal.h: Likewise. - * hurd/hurdsig.c: Likewise. - * hurd/hurdsock.c: Likewise. - * hurd/dtable.c: Likewise. - * hurd/__setauth.c: Likewise. - * sysdeps/mach/hurd/Makefile (includes): Also append - -I$(hurd-srcdir)/libthreads. + * mach/err_kern.sub: Deleted the definitios of err_codes_unix; + get the strings from _sys_errlist. Rename `unix' to `hurd'. + Rename err_os_sub to be err_kern_sub to match what errsystems.awk + expects. + * sysdeps/mach/hurd/err_hurd.sub: Deleted this file. + * sysdeps/mach/hurd/errnos.awk: Changed definition of _HURD_ERRNO + to be correct. - * sysdeps/posix/system.c [WAITPID_CANNOT_BLOCK_SIGCHLD]: Don't - block SIGCHLD. - * sysdeps/unix/sysv/sco3.2.4/system.c - (WAITPID_CANNOT_BLOCK_SIGCHLD): Define this macro. + * sysdeps/mach/hurd/Makefile: use gawk, not awk. - * sysdeps/posix/sigintr.c (siginterrupt) [! SA_RESTART]: Always - fail with ENOSYS. + * mach/errsystems.awk: Generally rewrote the printf. It's now + closer to Roland's original, but without the $i mistake at all, + in any form. - * sysdeps/posix/__sigvec.c [! SA_ONSTACK]: Fail with ENOSYS if - SV_ONSTACK is set in VEC->sv_flags. - [SA_RESTART]: Protect SV_INTERRUPT check with this. - - * sysdeps/mach/sysdep.h (FATAL_PREPARE): New macro. - * sysdeps/posix/libc_fatal.c: Include . - [FATAL_PREPARE]: Invoke the macro. - * assert/assert.c: Likewise. - - * sysdeps/generic/memmem.c: Start BEGIN at HAYSTACK, not partway - into it. Loop until BEGIN passes the location in HAYSTACK with - NEEDLE_LEN bytes remaining to the end. - Compare first byte manually before calling memcmp. - - * sysdeps/unix/sysv/sco3.2.4/__sigact.S: Fix typo. - - * posix/sys/types.h [__USE_BSD] (int32_t, int16_t, int8_t, - u_int32_t, u_int16_t, u_int8_t): New typedefs. - - * assert/assert.c (__assert_program_name): New variable. - (__assert_fail): Print that in the msg too. - [HAVE_GNU_LD] (set_progname): New function to set it up at startup. - -Thu May 12 01:10:52 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * hurd/__setauth.c: Do critical section locking. - * hurd/hurdexec.c: Likewise. - * hurd/hurdauth.c (_S_del_auth): Likewise. - * hurd/getuids.c: Likewise. - * hurd/dtable.c: Likewise. - * hurd/alloc-fd.c: Likewise. - * hurd/hurd/port.h: Likewise. - * hurd/hurd/fd.h: Likewise. - * hurd/setuids.c: Likewise. - * hurd/intern-fd.c: Likewise. - * hurd/hurdsock.c (_hurd_socket_server): Likewise. - * sysdeps/mach/hurd/setrlimit.c: Likewise. - * sysdeps/mach/hurd/setgroups.c: Likewise. - * sysdeps/mach/hurd/seteuid.c: Likewise. - * sysdeps/mach/hurd/setegid.c: Likewise. - * sysdeps/mach/hurd/getrlimit.c: Likewise. - * sysdeps/mach/hurd/__setuid.c: Likewise. - * sysdeps/mach/hurd/__setreuid.c: Likewise. - * sysdeps/mach/hurd/__setregid.c: Likewise. - * sysdeps/mach/hurd/__setitmr.c: Likewise. - * sysdeps/mach/hurd/__setgid.c: Likewise. - * sysdeps/mach/hurd/__select.c: Likewise. - * sysdeps/mach/hurd/__sbrk.c: Likewise. - * sysdeps/mach/hurd/__getuid.c: Likewise. - * sysdeps/mach/hurd/__getpgrp.c: Likewise. - * sysdeps/mach/hurd/__getitmr.c: Likewise. - * sysdeps/mach/hurd/__getgrps.c: Likewise. - * sysdeps/mach/hurd/__getgid.c: Likewise. - * sysdeps/mach/hurd/__geteuid.c: Likewise. - * sysdeps/mach/hurd/__getegid.c: Likewise. - * sysdeps/mach/hurd/__getdtsz.c: Likewise. - * sysdeps/mach/hurd/__fork.c: Likewise. - * sysdeps/mach/hurd/__fcntl.c: Likewise. - * sysdeps/mach/hurd/__dup2.c: Likewise. - * sysdeps/mach/hurd/__close.c: Likewise. - * sysdeps/mach/hurd/__brk.c: Likewise. - * sysdeps/mach/hurd/__access.c: Likewise. - - * sysdeps/mach/hurd/reboot.c (reboot): Use the host priv port to - prove authority. - - * sysdeps/mach/hurd/__readlink.c: Don't request O_READ access. - - * sysdeps/mach/hurd/__ioctl.c: Don't expect result data unless - return code is zero. Translate MIG_BAD_ID or EOPNOTSUPP to ENOTTY. - - * mach/devstream.c (output): Use device_write instead of - device_write_inband. - -Wed May 11 18:49:31 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * hurd/hurdinit.c (_hurd_init): Finsih loop of _hurd_port_init on - _hurd_ports elts before doing _hurd_proc_init or - __task_set_special_port. - - * hurd/hurd/signal.h (struct hurd_sigstate): Add new - `critical_section' member. Remove #if 0'd out vfork crap. - (_hurd_critical_section_lock, _hurd_critical_section_unlock): New - functions. - (HURD_CRITICAL_BEGIN, HURD_CRITICAL_END): New macros. - - * io/Makefile (headers): Add poll.h and sys/poll.h. - (routines): Add poll. - * sysdeps/unix/bsd/sun/sunos4/poll.S: New file. - * sysdeps/unix/sysv/poll.S: New file. - * sysdeps/unix/bsd/poll.c: New file. - * sysdeps/stub/poll.c: New file. - * io/poll.h, io/sys/poll.h: New files. - - * misc/bsd-compat.c (setjmp): New function. - - * sysdeps/unix/Makefile (sysdep_headers): Remove sys/param.h. - * misc/Makefile (headers): Add it here instead. - - * io/test-utime.c (main): New file. - * io/Makefile (tests): New variable. - -Wed May 11 13:44:33 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * hurd/hurd/threadvar.h (__hurd_errno_location): Remove - __volatile keyword. `volatile int errno' is not the same - as `int errno'; user programs often mention the latter. - * errno.h: Remove __volatile keyword; same reason. - -Tue May 10 17:21:41 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * time/zdump.c: New code from ADO. - - * time/difftime.c (difftime): Use hairy rounding algorithm from - eggert@twinsun.com when sizeof (time_t) >= sizeof (double). - - * Makerules (native-CFLAGS): Remove -I$(sysincludedir). RMS says - people with bogons in /usr/local/include deserve to lose. - - * stdio/printf_fp.c (__printf_fp): If IS_NEG gets set, negate - FPNUM before testing it for %g format choice. - - * sysdeps/unix/sysv/irix4/fcntlbits.h: New file. - * sysdeps/unix/sysv/irix4/Dist: New file. - * sysdeps/unix/sysv/irix4/readv.c: New file. - * sysdeps/unix/sysv/irix4/writev.c: New file. - * sysdeps/unix/sysv/irix4/__dup2.c: New file. - - * sunrpc/xdr_float.c (xdr_float): Change [mc68000 || sparc] to [! - vax]. - - * sysdeps/mips/setjmp.S: Remove spurious $. - - * sysdeps/generic/ftime.c: Include . - - * sysdeps/unix/mips/sysdep.S: Add .set noreorder. - -Tue May 10 16:27:13 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * sysdeps/generic/termbits.h (NCCS): Doc fix. - -Mon May 9 18:07:44 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * sysdeps/mach/hurd/uname.c (uname): System uname information - has moved from init to proc. - - * sysdeps/mach/usleep.c (usleep): Return correct value. Destroy - RECV when we're done with it. - -Thu May 5 17:03:56 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * sysdeps/mach/hurd/__lstat.c: Use O_NOLINK instead of O_NOTRANS. - -Thu May 5 04:20:54 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * mach/spin-lock.h (spin_lock_init): Define. - - * sysdeps/mach/hurd/sigsuspend.c: New local variable NEWMASK, set - it to *SET if SET is not null, before taking SS->lock; don't - dereference SET while holding the lock. Restore SS->blocked to - OLDMASK before unlocking and returning. - - * hurd/hurdsig.c (hurdsig_fork_child): Return zero. - - * sysdeps/mach/hurd/__fork.c (_hurd_fork_parent_hook, - _hurd_fork_prepare_hook)): Define variables (symbol sets). - (__fork): Run _hurd_fork_prepare_hook and _hurd_fork_parent_hook. - - * sysdeps/mach/hurd/sigsuspend.c: Don't test SS->pending; instead - wait until SS->suspended is cleared. - * hurd/hurdsig.c (_hurd_internal_post_signal): Clear SS->suspended - before signalling on SS->arrived. - - * mach/Makefile (headers): Added mach/default_pager_helper.defs. - - * sysdeps/sparc/Dist: Added alloca.S. - -Wed May 4 14:02:29 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * hurd/hurdexec.c (_hurd_exec): Unlock _hurd_dtable_lock when - all through. - - * sysdeps/mach/hurd/__setitmr.c: Changed _hurd_itimer_lock - to be a spin_lock; changed mutex_lock and mutex_unlock - accordingly throughout. - * sysdeps/mach/hurd/__getitmr.c: Corresponding changes from - mutex calls to spin lock calls here too. - - * sysdeps/mach/hurd/__setitmr.c (setitimer_locked): Fixed syntax - of declaration of PREEMPT. - (setitimer_locked): Declare variables ERR and ELAPSED. - (setitimer_locked): Fix some references to REMAINING that - were using it as an itimerval instead of a timeval. - (setitimer_locked): Deleted unused label STILLBORN. - -Wed May 4 00:17:32 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/stub/__getitmr.c: Fix arg name __WHICH to WHICH. - - * sysdeps/unix/bsd/alarm.c: Round tv_usec with arithmetic rather - than a test. - - * hurd/Makefile (user-interfaces): Add hurd/msg_request. - - * sysdeps/stub/__setitmr.c: Fix arg name __WHICH to WHICH. - - * Makeconfig (cross-compiling): Define if $(HOST_CC) and $(CC) differ. - * time/Makefile (install-others): Omit defn ifdef cross-compiling. - -Tue May 3 23:12:48 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * mach/Makefile (lock-headers): Add spin-lock.h. - - * misc/Makefile (routines): Add madvise. - - * malloc/Makefile (non-lib.a): Define. - * misc/Makefile (non-lib.a): Define. - * Makerules (install-lib.a): Filter out $(non-lib.a). - (install-lib-non.a): Append $(non-lib.a). - - * mach/Makefile (mach-headers): Rename sys/version.h to - mach/version.h. - - * hurd/Makefile (headers): Added hurd/threadvar.h. - - * Version 1.07.5. - - * hurd/port2fd.c (_hurd_port2fd): Use logic copied from - _hurd_port_locked_set to install PORT in D->port, but leave it locked. - - * sunrpc/Makefile (generated): Don't add $(objpfx). - - * sysdeps/stub/machine-lock.h: New file. - * sysdeps/stub/machine-sp.h: New file. - -Tue May 3 22:31:15 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * sysdeps/mach/usleep.c (usleep): Specify MACH_RCV_MSG so that - mach_msg actually waits. - -Tue May 3 19:24:48 1994 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) - - * malloc/malloc.h (enum mcheck_status): Delete trailing - comma in enum list; some compilers don't like it. - -Tue May 3 15:18:15 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * sysdeps/mach/hurd/__symlink.c (__symlink): Pass port type arg to - __file_set_translator. - -Mon May 2 17:56:47 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * hurd/Makefile (generated): Add $(inlines) .c files. - - * sysdeps/mach/hurd/__mknod.c: Pass port type arg to - __file_set_translator. - -Sun May 1 16:03:13 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * mach/mig_syms.c: Add de-__ing aliases for mig_init, - mig_get_reply_port, and mig_dealloc_reply_port. - - * sysdeps/mach/hurd/errnos.awk: Handle copying errors from - mach/mig_errors.h and device/device_types.h. Omit E*_SUCCESS. - Omit MACH_MSG_MASK and other special bit macros. - - * sysdeps/mach/hurd/i386/sigcontext.h (struct sigcontext): Added - sc_reply_port member. - * hurd/hurdsig.c (fetch_reply_port): New function. - (_hurd_internal_post_signal): When setting up to run handler, set - SCP->sc_reply_port to the receiving thread's value for - _HURD_THREADVAR_MIG_REPLY. - * sysdeps/mach/hurd/i386/__sigret.c: Destroy the MiG reply port - used by the signal handler, and restore from SCP->sc_reply_port. - * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): New - function; guts from __hurd_threadvar_location. - (__hurd_threadvar_location): Call that. - - * hurd/hurdsig.c (check_pending): New function, broken out of: - (_hurd_internal_post_signal): Call that for pending signal check. - If SIGNO is zero, call check_pending on each thread's sigstate. - - * sysdeps/mach/hurd/start.c (start1): Use calloc to get - zero-filled space for __hurd_threadvar_stack_offset when - __hurd_threadvar_stack_mask is zero. - -Thu Apr 28 21:29:47 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Merged gmp-1.99.3+ mpn code from tege for printf_fp. - * stdio/printf_fp.c: Include "longlong.h"; gmp-impl.h no longer does. - - * Makerules (+depfiles): Filter $(extra-objs) to get only .o files. - -Wed Apr 27 00:20:41 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Makerules (depend-$(subdir)): Put output in tmp file and use mv -f. - Always use $(+depfiles), since sources is no longer exported. - -Tue Apr 26 20:05:55 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Don't include to - avoid conflicts. - * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Undefine ECHO, MDMBUF, - TOSTOP, FLUSHO, PENDIN, and NOFLSH after including and - before including . - * sysdeps/unix/bsd/bsd4.4/__tcgetatr.c: Likewise. - -Tue Apr 26 14:42:43 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * sysdeps/mach/sleep.c (sleep): Specify MACH_RCV_MSG or else - mach_msg won't do anything but return immediately. - (sleep): Compute return value correctly. - -Tue Apr 26 04:49:56 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/i386/setjmp.c: Put global register decls first thing. - * sysdeps/i386/__longjmp.c: Likewise. - -Fri Apr 22 18:10:36 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * sysdeps/unix/sysv/irix4/__wait3.S: New file. - * sysdeps/unix/sysv/irix4/time.S: New file. - * sysdeps/unix/sysv/irix4/__waitpid.c: New file. - -Thu Apr 21 16:54:11 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * malloc/malloc.c (initialize, morecore): When allocating the - _heapinfo block itself, account for it in the statistics. - -Tue Apr 19 20:17:06 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/unix/sysv/sco3.2.4/pipestream.c: New file. - - * malloc/malloc.c (morecore): Only zero the new part of NEWINFO, - not the part we will copy _heapinfo into. - - * sysdeps/unix/bsd/signum.h (SIGLOST): Define. - (_NSIG): Increase to 33. - -Mon Apr 18 16:56:11 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * configure.in (config.status): Use $configure_args instead of - $ac_configure_args. - (after AC_PREPARE): Call AC_LANG_C. - - * time/Makefile (routines): Add sys/timeb.h. - (routines): Add ftime. - * time/sys/timeb.h: New file. - * sysdeps/unix/bsd/ftime.c: New file. - * sysdeps/generic/ftime.c: New file. - - * sysdeps/posix/getenv.c (getenv): Return NULL if __environ is null. - - * malloc/malloc.h [_MALLOC_INTERNAL] [HAVE_UNISTD_H]: Include - unistd.h. - - * malloc/Makefile (gmalloc-routines): Put valloc first. - -Wed Apr 13 14:03:02 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * sysdeps/mach/hurd/__symlink.c (__symlink): Set the target of the - link to FROM, not TO. - - * sysdeps/mach/hurd/__readlink.c (__readlink): Copy just the - target into the user's buffer, not the entire translator spec. - -Tue Apr 12 00:13:19 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * hurd/fd-write.c (_hurd_fd_write): Set noctty for now rather - than depending on what happens to be on the stack. - - * sysdeps/mach/hurd/readdir.c (readdir): Notice when hitting - end-of-file and return NULL. - -Mon Apr 11 17:36:59 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * sysdeps/mach/hurd/start.c (start1): Bother to set __environ. - - * sysdeps/mach/hurd/__ioctl.c (__ioctl): Comment out use of - HURD_EINTR_RPC until signals work. - -Mon Apr 11 14:16:40 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * sysdeps/mach/hurd/__ioctl.c (__ioctl): Call __mig_get_reply_port - rather than __mig_reply_port (which doesn't exist). - - * sysdeps/mach/hurd/__mknod.c: Added temporary declarations - of major and minor. - - * (This change occurred on April 4, 1994) mach/setup-thread.c - (__mach_setup_thread): The March 31 change had an error; the stack - needs to be allocated with ANYWHERE cleared. - - * (This change occurred on April 8, 1994) hurd/hurdexec.c - (_hurd_exec): The arguments to exec_exec had the length and - type parameters transposed. In addition, fetch the correct - procserver port for the new task. - - * (This change occurred on April 8, 1994) - sysdeps/mach/hurd/__wait.c (__wait4): Deal properly with a null - USAGE argument. - - * (This change occurred on April 8, 1994) - sysdeps/mach/hurd/_exit.c (_exit): Changed commented-out call to - __proc_exit into a correct call to __proc_mark_exit. - -Fri Apr 8 14:58:24 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * string/strsignal.c (strsignal): Store of NUL into unknown_signal - was off by one. - -Tue Apr 5 21:26:25 1994 Brendan Kehoe (brendan@zen.org) - - * sysdeps/unix/sysv/sysv4/__sigact.c (__sigaction): Declare member - `oact' in lower case, to match its use in the rest of the function. - -Tue Apr 5 03:07:04 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Makerules (install-lib.a rule): Run ranlib on the target. - - * Makerules (library member rule): Tighten up pattern rule to - match only libc.a, not other libraries. - -Mon Apr 4 21:49:57 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * set-hooks.h: New file. - * Makefile (distribute): Add it. - * set-init.c: Include it and use its macro DEFINE_HOOK_RUNNER. - - * Makerules (sysd-Makefile): Put `sysd-Makefile-done=t' in output. - (sysd-rules): Don't include it unless sysd-Makefile-done is defined. - -Mon Apr 4 18:33:54 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * mach/setup-thread.c (__mach_setup_thread): Oops; the vm_allocate - call should have ANYWHERE cleared so that the change of the 31st - has any effect at all. - -Thu Mar 31 13:46:13 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * mach/setup-thread.c (__mach_setup_thread): Create a red zone - beneath the stack; also, work around a bug in cthreads by - forcing the stack into high memory. FIXME--this routine - depends on the direction of stack growth; that should be fixed. - -Mon Mar 28 12:55:51 1994 Roland McGrath (roland@mole.gnu.ai.mit.edu) - - * Rules (make-dummy-lib): Use `$(AR)' instead of literal `ar'. - - * configure.in (arg parsing): Don't take --os-release or --os-version. - (switches): Variable removed; don't write it into config.status. - (config.status): Write release and version values directly. - - * sysdeps/unix/common/configure.in: Use changequote around if expr - to avoid [] elision. - -Sat Mar 26 18:36:27 1994 Roland McGrath (roland@mole.gnu.ai.mit.edu) - - * malloc/mcheck.c [! _MALLOC_INTERNAL]: #include - -Fri Mar 25 02:17:55 1994 Roland McGrath (roland@mole.gnu.ai.mit.edu) - - * malloc/mcheck.c (mprobe): New function. - (abortfunc): Take enum mcheck_status arg. - (checkhdr): Return an enum mcheck_status, and pass it to abortfunc. - (mabort): New function. - (mcheck): Use mabort as default abortfunc. - * malloc/malloc.h (enum mcheck_status): New type. - (mprobe): Declare new function. - (mcheck): ABORTFUNC takes an `enum mcheck_status' arg. - - * posix/unistd.h [__USE_GNU] (TEMP_FAILURE_RETRY): New macro. - - * stdio/stdio.h [__USE_GNU && !_LIBC] (cookie_io_functions_t): - Define instead of __io_functions (and make that a typedef for - this); omit __ from member names. - -Thu Mar 24 14:59:23 1994 Roland McGrath (roland@mole.gnu.ai.mit.edu) - - * sysdeps/unix/sysv/sco3.2.4/sigaction.h: New file. - - * sysdeps/unix/sysv/sco3.2.4/__sigact.S: Put address of - __sigreturn in %ecx before doing syscall trap. - - * sysdeps/stub/setegid.c: Fix arg type to __gid_t (was int). - -Wed Mar 23 17:33:09 1994 Roland McGrath (roland@mole.gnu.ai.mit.edu) - - * Makefile (headers): Remove $(stdarg.h). - * Makeconfig (stdarg.h): Variable removed. - * configure.in: Remove check for __gnuc_va_list in stdarg.h. - It is not safe to replace the compiler's stdarg.h with our own. - -Tue Mar 22 12:46:08 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Rules (dist): Rule removed. - * Makefile (dist): Likewise. - * Makerules (dist, distinfo): New rules. - (TAGS): Depend on distfile, pass -f distfile to submake. - - * math/Makefile: Remove if-ed out old bsdmath copying rules. - - * Makerules (sources, headers, sysdep_routines): Don't export these. - * Rules (others, tests): Likewise. - - * io/lockf.c: Include fcntl.h and errno.h. - -Mon Mar 21 20:27:32 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/unix/bsd/sony/newsos4/fchdir.S: New file. - * sysdeps/unix/bsd/sony/newsos4/{__wait4.c,__wait3.c,__wait.c, - sys_wait4.S,Makefile,Dist}: New files. - - * sysdeps/unix/Makefile (syscall.h): De-SYS_ify `kerncall_basenum'. - - * sysdeps/unix/bsd/m68k/sysdep.S [! __motorola__]: Rename label 0 - to `store'; a user reports gas 1.38 bombs on numbered labels. - - * sysdeps/posix/Makefile (mk-stdiolim): Use $(HOST_CC). - - * Rules (distribute, dont_distribute, generated): Don't export them. - (dist): Pass those vars down to sub-make on cmd line. - * Makefile (distribute, generated): Don't export them. - (dist): Pass distribute and generated values to sub-make on cmd line. - - * Makerules (install-lib-nosubdir): Insert $(libprefix) appropriately. - -Fri Mar 18 01:02:52 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h (DO_CALL): Use a6 in - place of fp. A user reports gas 1.38 doesn't grok fp. - -Tue Mar 8 18:35:02 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Makerules (common-clean): Prepend $(objpfx) to $(generated). - * Makefile (parent-clean): Prepend $(common-objpfx) to - $(common-generated). - * Makefile (generated): Don't prepend $(objpfx). - * Rules (generated): Likewise. - * sysdeps/unix/common/Makefile (generated): Likewise. - * sysdeps/unix/sysv/Makefile (generated): Likewise. - * sysdeps/unix/Makefile (common-generated): Don't prepend - $(common-objpfx). - * sysdeps/posix/Makefile (common-generated): Likewise. - * sysdeps/generic/Makefile (common-generated): Likewise. - (generated): Don't prepend $(objpfx). - - * sysdeps/generic/Makefile (common-generated): Set this instead of - generated for bytesex.h and det_endian. - - * sysdeps/stub/fexecve.c: New file. - * posix/Makefile (routines): Add fexecve. - * posix/unistd.h [__USE_GNU]: Declare fexecve. - - * sysdeps/unix/common/configure.in: Protect siglist and ctype - checks with if [ ! "$inhibit_glue" ]. - * sysdeps/generic/configure.in: Likewise for psignal check. - * sysdeps/unix/common/Makefile: Protect body with ifndef inhibit-glue. - -Mon Mar 7 17:46:46 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/unix/bsd/osf1/alpha/__sigblock.S: New file from brendan. - -Fri Mar 4 01:56:26 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Makerules (native-compile, common-objdir-compile): Use - $(HOST_CC) in place of $(CC). - - * malloc/cfree.c: Move #undef cfree inside #ifdef _LIBC. - - * misc/sys/ioctl.h (struct ttysize): If TIOCGSIZE != TIOCGWINSZ, - use two int elts instead of four shorts. - -Thu Mar 3 17:35:54 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * malloc/realloc.c (realloc): When shrinking a block by splitting - and then freeing one, bump the _chunks_used counter. - - * sysdeps/unix/sysv/sysv4/i386/__mknod.S: New file. - -Tue Mar 1 11:42:41 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/unix/sysv/sco3.2.4/__waitpid.S: Get first argument from - stack at 8(%esp), not 4(%esp). - - * sysdeps/unix/sysv/isc2.2/rename.S: Get unix/common, not unix/bsd. - -Thu Feb 24 14:40:43 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * io/lockf.c: New file. - * io/Makefile (routines): Add lockf. - * io/fcntl.h [__USE_MISC] (F_ULOCK, F_LOCK, F_TLOCK, F_TEST): New - macros. - [__USE_MISC] (lockf): Declare it. - * posix/unistd.h: Copy those new macros and declaration. - - * time/backward, time/etcetera, time/zic.c: New code and data from ADO. - * Makeconfig (posixrules): Default to America/New_York. - - * sysdeps/unix/mips/sysdep.S: Store -1 in v0 in the delay slot after - the return, rather than before (leaving the delay slot unfilled and - without a nop!). - - * sysdeps/unix/sysv/irix4: New directory; mips-sgi-irix4 port - courtesy Tom Quinn. - - * sysdeps/unix/sysv/sysv4/direct.h: Moved to unix/common; it is right - for irix4 as well as sysv4. - * sysdeps/unix/bsd/ultrix4/__wait.S: Moved to unix/mips. - (noerror): Store register v1 in location pointed to by first arg (if - not NULL). - * sysdeps/unix/bsd/ultrix4/__sigret.S: Moved to unix/mips. - - * sysdeps/unix/bsd/bsd4.4/{mmap,munmap,mprotect,msync,madvise}.S: - Moved to sysdeps/unix/mman (new directory). - * sysdeps/unix/bsd/bsd4.4/Implies: New file; imply unix/mman. - * sysdeps/unix/bsd/sunos4/Implies: Likewise. - * sysdeps/unix/bsd/ultrix4/Implies: Likewise. - * sysdeps/unix/bsd/osf1/Implies: Likewise. - * sysdeps/unix/bsd/sun/sunos4/munmap.S, - sysdeps/unix/bsd/sun/sunos4/mprotect.S, - sysdeps/unix/bsd/sun/sunos4/madvise.S, - sysdeps/unix/bsd/ultrix4/mmap.S, - sysdeps/unix/bsd/ultrix4/munmap.S, - sysdeps/unix/bsd/ultrix4/mprotect.S, - sysdeps/unix/bsd/osf1/mmap.S, - sysdeps/unix/bsd/osf1/munmap.S, - sysdeps/unix/bsd/osf1/mprotect.S: Files removed. - - * sysdeps/unix/sysv/sysv4/fcntlbits.h: Moved to sysdeps/unix/common. - - * stdio/printf_fp.c: Add many assertions to make sure no mpn size - variable is ever zero. - - * Makerules (native-CFLAGS): Add -I$(sysincludedir). - - * Makerules (depend-$(subdir)) [omit-deps]: Use $(+depfiles) value - instead of shell hackery. - -Wed Feb 23 00:09:08 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/sparc/alloca.S [! NO_UNDERSCORES]: Call it ___builtin_alloca. - -Tue Feb 22 18:47:10 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Use __off_t in mmap - prototype. - - * time/setitmr.c: Swap args OLD and NEW. - * time/sys/time.h (setitimer): Likewise. - * sysdeps/stub/__setitmr.c: Likewise. - -Mon Feb 21 20:47:55 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/sparc/Makefile [gnulib] (routines): Add alloca. - * sysdeps/sparc/alloca.S: New file; support for SunOS libc's - `__builtin_alloca' function (never needed with GCC). - - * sysdeps/unix/sysv/sysv4/__sigact.c (trampoline): Cast handler to - three-arg type. - -Sun Feb 20 00:46:15 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/unix/bsd/sun/sunos4/mmap.c: Add missing semicolon. - - * sysdeps/unix/sparc/start.c [! NO_SHLIB]: Include - before . - - * sysdeps/unix/bsd/ultrix4/mips/{sysdep.h,sysdep.S,__pipe.S, - __fork.S,__brk.S}: Moved to sysdeps/unix/mips (new directory). - - * sysdeps/unix/bsd/ultrix4/mips/__sigret.S: Use SYS_sigreturn - instead of literal 103; #define to 103 if not already defined. - -Sat Feb 19 17:39:13 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/unix/sysv/sysv4/i386/Dist: New file; list sys-sig.S. - -Fri Feb 18 18:07:34 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/generic/configure.in: New file; check for psignal. - - * sysdeps/unix/common/glue-ctype.c: Check for table named _ctype, - before checking for _ctype_. - * sysdeps/unix/common/configure.in: Check for _ctype. - - * sysdeps/unix/Makefile (syscall.h): Look for sys.s before syscall.h. - * sysdeps/unix/configure (unix_syscall_h): Likewise. - - * configure.in (os = irix4*): Set base_os=unix/sysv. - - * sunrpc/rpc/auth.h (u_int32): Always define, no #ifdefs. - * sunrpc/xdr_float.c: Change [mc68000 || sparc] to [! vax]. - -Thu Feb 17 18:42:29 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Version 1.07.4. - - * sysdeps/unix/bsd/sun/sunos4/Dist: Add sys_mmap.S. - - * Makerules (sysdep_dir): Remove defn. - * Makeconfig (sysdep_dir): Define it here instead. - -Wed Feb 16 16:54:00 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/unix/sysv/sysv4/__sigact.c: New file. - * sysdeps/unix/sysv/sysv4/i386/Makefile: New file. - * sysdeps/unix/sysv/sysv4/i386/sys-sig.S: New file. - - * time/sys/time.h (timerisset, timercmp, timerclear): New macros. - - * misc/Makefile (headers): Add sys/mman.h. - (routines): Add mmap, munmap, mprotect, msync. - * sysdeps/unix/bsd/sun/sunos4/sys_mmap.S: New file. - * sysdeps/unix/bsd/sun/sunos4/mmap.c: New file. - * sysdeps/unix/bsd/sun/sunos4/Makefile [$(subdir) == misc] - (sysdep_routines): Add sys_mmap. - * sysdeps/unix/bsd/bsd4.4/mprotect.S: New file. - * sysdeps/unix/bsd/bsd4.4/munmap.S: New file. - * sysdeps/unix/bsd/bsd4.4/msync.S: New file. - * sysdeps/unix/bsd/bsd4.4/mmap.S: New file. - * sysdeps/unix/bsd/bsd4.4/madvise.S: New file. - * sysdeps/unix/bsd/sun/sunos4/mprotect.S: New file. - * sysdeps/unix/bsd/sun/sunos4/munmap.S: New file. - * sysdeps/unix/bsd/sun/sunos4/msync.S: New file. - * sysdeps/unix/bsd/sun/sunos4/madvise.S: New file. - * sysdeps/unix/bsd/ultrix4/sys/mman.h: New file. - * sysdeps/unix/bsd/ultrix4/mmap.S: New file. - * sysdeps/unix/bsd/ultrix4/munmap.S: New file. - * sysdeps/unix/bsd/ultrix4/mprotect.S: New file. - * sysdeps/stub/mprotect.c: New file. - * sysdeps/stub/munmap.c: New file. - * sysdeps/stub/msync.c: New file. - * sysdeps/stub/mmap.c: New file. - * sysdeps/stub/madvise.c: New file. - * sysdeps/generic/sys/mman.h: New file. - * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: New file. - * sysdeps/unix/bsd/osf1/msync.S: New file. - * sysdeps/unix/bsd/osf1/mmap.S: New file. - * sysdeps/unix/bsd/osf1/munmap.S: New file. - * sysdeps/unix/bsd/osf1/mprotect.S: New file. - * sysdeps/unix/bsd/osf1/sys/mman.h: New file. - -Tue Feb 15 16:47:45 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * posix/unistd.h: Declare truncate, ftruncate. - - * misc/Makefile (headers): Add syslog.h. - * misc/syslog.h: New file; just includes . - - * posix/unistd.h: Change duplicate seteuid decl to setegid. - - * io/Makefile (headers): Add sys/fcntl.h. - * io/sys/fcntl.h: New file; just includes . - -Mon Feb 14 10:36:57 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Makerules (library pattern rule): Depend on - $(objpfx)stamp-$(subdir) and have empty commands. - ($(objpfx)stamp-$(subdir)): Move dep on $(objects) and ar cmds here. - (common-mostlyclean): Remove $(objpfx)stamp-$(subdir). - - * Makerules (+depfiles): Filter out deps for modules in $(omit-deps). - - * sunrpc/Makefile (omit-deps): Define new variable. - - * Makerules ($(libc.a)(__.SYMDEF)): Depend on $(+libobjs), not - lib-noranlib. - * Makefile ($(libc.a)(__.SYMDEF)): Depend on subdir_lib. - - * Makerules (+depfiles): Include deps for $(extra-objs). - - * sunrpc/rpcsvc/klm_prot.x: Move program definition to end. - - * sunrpc/Makefile (lib): Depend on $(objpfx)librpcsvc.a. - - * time/zic.c: Set CP to NAME before dereferencing. - - * sunrpc/Makefile ($(objpfx)x%.c): Target fixed from $(objpfx)x%.c. - ($(objpfx)rpcsvc/%.h): Target renamed from $(includedir)rpcsvc/%.h. - Make each x%.o file depend on the corresponding rpcsvc/%.h file. - (headers): Add rpcsvc/%.h. - (install-others): Remove generated rpcsvc headers. - (generated): Define to include generated rpcsvc headers and sources. - - * sysdeps/m68k/fpu/acos.c: Add __CONSTVALUE to defn. - * sysdeps/m68k/fpu/ldexp.c: Likewise. - * sysdeps/m68k/fpu/pow.c: Likewise. - * sysdeps/m68k/fpu/fmod.c: Likewise. - * sysdeps/m68k/fpu/atan2.c: Likewise. - * sysdeps/m68k/fpu/__drem.c: Likewise. - * sysdeps/m68k/fpu/__isinf.c: Likewise. - * sysdeps/generic/hypot.c: Likewise. - * sysdeps/m68k/fpu/__logb.c: Likewise. - - * sysdeps/unix/bsd/m68k/sysdep.S: Swap operands in cmpl. - -Sun Feb 13 19:49:24 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/m68k/Makefile (compile-command.S): Remove definition - that did kludgey # hackery. - * sysdeps/unix/bsd/hp/m68k/sysdep.h (PSEUDO): Add missing close paren. - (POUND): Define (no arg) to just `#' (a single pound sign). - (PSEUDO, DO_CALL): Use `POUND foo' in place of `POUND(foo)'. - * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise. - * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise. - * sysdeps/unix/bsd/sun/m68k/__brk.S: Use #0, not POUND(0). - * sysdeps/unix/bsd/hp/m68k/__brk.S: Use #__end instead of POUND(__end). - -Fri Feb 11 00:29:45 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * configure.in (Makefile): Set objdir instead of ARCH in submake cmd. - - * time/mktime.c: Define __P if undefined. - - * assert/assert.h (__ASSERT_FUNCTION): Check __GNUC_MINOR__<6 if - defined(__cplusplus). - -Thu Feb 10 00:52:31 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/unix/sysv/__sigact.c: Use __sigismember and - __sigemptyset on sa_mask instead of assuming it's an int. - - * sysdeps/unix/sysv/sysv4/sigset.h (__sigismember): Declare arg - SET to be a pointer to const. - - * sysdeps/posix/__sigpause.c: Convert MASK to a sigset_t with a loop. - - * sysdeps/posix/__sigblock.c: When sigset_t==mask, take address of - SET or OSET, cast to int *, and dereference. - * sysdeps/posix/__sigstmsk.c: Likewise. - * sysdeps/posix/__sigvec.c: Likewise. - - Add the -lrpcsvc library of XDR routines for standard SunRPC protocols. - * sunrpc/Makefile (install-lib): Define to include librpcsvc.a. - (rpcsvc-objs): New variable. - (extra-objs): Add $(rpcsvc-objs). - ($(objpfxlibrpcsvc.a): New target. - ($(objpfx)x%.o): New rule to rpcgen XDR routines. - -Wed Feb 9 11:59:33 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * time/zic.c (mkdirs): Reapply fix to avoid writing into passed ptr. - - * sunrpc/Makefile (distribute): Add etc.rpc. - ($(includedir)/bootparam_prot.h): Change target to - $(includedir)/rpcsvc/bootparam_prot.h and dep to - $(includedir)/rpcsvc/bootparam.h. - (install-others): Change reference. - - * sunrpc/rpc_util.h: Comment out bogus decl of sprintf. - - * Makerules ($(libc.a)(__.SYMDEF)): Depend on lib-noranlib instead - of $(+libobjs); this way makes the parent do subdir_lib. - - * sysdeps/unix/sysv/sysv4/sigset.h: Protect types with #ifndef - _SIGSET_H_types. Protect rest with #if !defined (_SIGSET_H_fns) - && defined (_SIGNAL_H). - -Tue Feb 8 19:00:42 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Version 1.07.3. - - * sysdeps/unix/sysv/sysv4/sigset.h: Fix typos (omitted __s). - -Mon Feb 7 14:31:00 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Makerules ($(libc.a)): Depend on $(libc.a)(__.SYMDEF); no commands. - ($(+libobjs)): Remove static pattern rule. - (ar-it): Target removed. - Replace with pattern rule to catch %(*.o) for all $(objects). - ($(libc.a)(__.SYMDEF)): New target. - (lib-noranlib, $(libdir)/lib$(libprefix)c.a): Don't depend on ar-it. - - * sysdeps/unix/sparc/sysdep.h (PSEUDO): Add nop after jmp; the - next insn is most likely a retl, which causes interesting behavior. - - * stdio/vfprintf.c: Pass WORKEND+1 to _itoa, not WORKEND. - Subtract one from result of _itoa when setting W. - - * time/{africa,asia,australasia,backward,europe,leapseconds, - northamerica,southamerica,zic.c}: New code and data from ADO. - -Sun Feb 6 13:55:27 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sunrpc: New directory; code from Sun's RPCSRC-4.0. - * sysdeps/unix/inet/Subdirs: Add sunrpc. - * inet/netdb.h: #include at end. - - * Make-dist ($(tardir).tar): Use -v when extracting from dist.tar - and pipe output to doschk. - - * Makeconfig (etcdir): New variable. - (localtime-file): Use that in default value. - - * Makerules (depend-$(subdir)): Include dep files for all .o files - listed in $(extra-objs). - - * posix/sys/types.h (NFDBITS): #define to __NFDBITS. - - * inet/netinet/in.h (INADDR_LOOPBACK): Don't define if already - defined; avoids changing source which defines it before including this. - (struct sockaddr_in): Rename `__pad' member to `sin_zero'; some - code wants to bzero the area just for paranoia. - - Make cleaning targets only remove common (not specific to one - subdir) generated files if run from the parent directory. - * Makefile (parent-clean): Remove $(common-generated) also. - * sysdeps/unix/Makefile (local_lim.h, sys/param.h, errnos.h, - ioctls.h, syscall.h): Append to $(common-generated), not $(generated). - * sysdeps/posix/Makefile (stdio_lim.h): Likewise. - - * signal/signal.h: Declare psignal here. - * stdio/stdio.h: Not here. - - * stdio/stdio.h [__OPTIMIZE__] (vprintf, vfscanf, vscanf, - vsscanf): Define as extern inline functions instead of macros. - - * configure.in (names): Check existence of implied dirs and warn - for absentees. - -Sat Feb 5 13:38:26 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Version 1.07.2. - - * resource/sys/resource.h (RUSAGE_SELF, RUSAGE_CHILDREN): #define - to self for things that test #ifdef. - - * sysdeps/unix/common/Dist: Remove bsd_getgrp.S. - - * sysdeps/unix/Makefile: Don't include param.h.dep ifdef no_deps. - - * Makerules (vpath %.h): Use $(common-objpfx) in place of $(objpfx). - - * sysdeps/unix/bsd/i386/__vfork.S: Decrement R1 and AND it with R0 - to avoid the test and branch. - - * sysdeps/unix/bsd/getprio.S, sysdeps/unix/bsd/setprio.S, - sysdeps/unix/bsd/__setreuid.S, sysdeps/unix/bsd/__setregid.S: Moved to - sysdeps/unix/common. - - * sysdeps/unix/reboot.S: New file. - - * sysdeps/unix/sysv/sysv4/solaris2/signum.h: New file. - * sysdeps/unix/sysv/sysv4/signum.h: New file. - * sysdeps/unix/sysv/sysv4/sigset.h: New file. - * sysdeps/unix/sysv/sysv4/sigaction.h (struct sigaction): Swap - positions of sa_flags and sa_mask members (sa_flags is first now). - (SA_NOCLDWAIT): Renamed from SA_NOSCLDWAIT. - - * sysdeps/unix/bsd/init-posix.c (_posix_start_time): Initialize it. - - * Makerules (open-check-inhibit-asm): Use : for empty commands in case. - - * time/leapseconds: New version from ADO, adds 1994 leap second. - -Thu Feb 3 02:15:30 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/unix/bsd/ulimit.c: Define ulimit instead of __ulimit. - -Wed Feb 2 16:56:29 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/unix/sysv/sco3.2.4/sigsuspend.S: Moved to unix/sysv/sysv4. - Replaced with #include of that file. - - * sysdeps/unix/sysv/sysv4/solaris2/sigaltstack.S: Moved to - sysdeps/unix/sysv/sysv4/sigaltstk.S. - - * sysdeps/unix/sysv/sysv4/i386/__lstat.S: Syscall lxstat, not xlstat. - * sysdeps/unix/sysv/sysv4/i386/__fstat.S: Syscall fxstat, not xfstat. - -Tue Feb 1 18:22:21 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * stdio/_itoa.c, stdio/_itoa.h: New files. - * stdio/Makefile (routines): Add _itoa. - (distribute): Add _itoa.h. - * stdio/vfprintf.c: Use _itoa instead of doing it by hand. - - * sysdeps/unix/sparc/vfork.S: Add nop after jmp. Bad delay slot, - no pipeline. - * sysdeps/unix/bsd/ultrix4/mips/vfork.S: Likewise. - -Mon Jan 31 19:33:04 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * assert/assert.c (__assert_fail): Take 4th arg FUNCTION; if it is - not null, print it in the message. Also declare __NORETURN. - * assert/assert.h (__assert_fail): Update decl; also add __NORETURN. - (__ASSERT_FUNCTION): #define to be __PRETTY_FUNCTION__ for GCC>=2.4. - (assert): Pass __ASSERT_FUNCTION to __assert_fail. - - * sysdeps/unix/bsd/sun/sparc/vfork.S: Moved to sysdeps/unix/sparc. - Use C_SYMBOL_NAME on __vfork instead of prepending an underscore. - - * sysdeps/unix/sysv/sysv4/solaris2/{start.c,sysdep.S,sysdep.h}: Moved - to sysdeps/unix/sysv/sysv4/solaris2/sparc. +Tue Nov 23 20:21:06 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) * sysdeps/unix/{i386,sysv/sysv4/solaris2,sysv/i386/linux,bsd/m68k, - bsd/ultrix4/mips,bsd/vax}/sysdep.S: Don't do EWOULDBLOCK_sys->EAGAIN - mapping #if EWOULDBLOCK_sys == EAGAIN. + bsd/ultrix4/mips,bsd/vax}/sysdep.S: Define _ERRNO_H before + including ; otherwise does not define most + macros (importantly, EAGAIN!). - * sysdeps/unix/sparc/sysdep.h [NO_UNDERSCORES]: #define syscall_error - to C_SYMBOL_NAME(__syscall_error). - (PSEUDO): On error, jump to syscall_error instead of setting errno. - * sysdeps/unix/sparc/sysdep.S: New file. +Tue Nov 23 12:43:38 1993 Michael I. Bushnell (mib at ernst.gnu.ai.mit.edu) - * sysdeps/unix/sysv/sysv4/i386/__vfork.S: New file, just #include - unix/bsd/i386 version. + * mach/errsystems.awk: $i is not an index; make i a variable and + increment it properly. Don't call `err_get_system'; use the + system number as the index in the array directly. - * sysdeps/unix/bsd/i386/__vfork.S: Use `scratch' in place of %edx. + * mach/errorlib.h: Added `const' in all the right places. + * sysdeps/mach/hurd/err_hurd.sub: Cast _sys_errlist to + the right type. Better to declare it right in stdio/stdio.h, but + I don't dare change that file lest Roland call me a twit. + * mach/err_us.sub: Add more brackets to initializer to shut GCC up. -Thu Jan 27 16:46:03 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/mach/hurd/err_hurd.sub: Delete keyword `const'; this + is taken care of by the `#define static static const' found in + errsystems.c as created by mach/errsystems.awk. + * mach/errsystems.awk: Ditto for declaration of __mach_error_systems. - * configure.in (asm-CPPFLAGS): Add new check to see if assembling - a .S file loses without -P. If so, set asm-CPPFLAGS=-P in config.make. + * sysdeps/mach/hurd/err_hurd.sub: Change to ; + errnos.h doesn't define most stuff unless it is included from errno.h. - * configure.in (stddef.h): Print msg under --verbose. + * mach/mach_error_string.c (mach_error_string_int): Delete unused + variable `err_str'. - * manual/Makefile (subdir): Define outside of `export' directive, - for old make. + * mach/mach_error_string.c (do_compat): Declare to be void. + (mach_error_string,mach_error_type, mach_error_string_int): + Declare return type as const char *. + * mach/mach_error.h: Change declarations to match. - * time/mktime.c (search): Take new arg PRODUCER, fn to call - instead of `localtime'. - (_mktime_internal): New function; all code from old `mktime', but - take 2nd arg PRODUCER and pass along to `search'. - (mktime): Rewrite to call _mktime_internal with localtime. - * time/Makefile (routines): Add dysize, timegm, timelocal. - * time/time.h (_mktime_internal): Declare it. - [__USE_MISC]: Declare timegm, timelocal, dysize. - * time/dysize.c: New file. - * time/timegm.c: New file. - * time/timelocal.c: New file. + * mach/errsystems.awk: The array that split creates is origin 1, + not origin 0; fixed loop to match. -Wed Jan 26 20:06:23 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/mach/hurd/errnos.awk: Ernst's awk doesn't grok + backslash-newline inside strings. - Remove the hackery on getgroups for most systems. It is no longer - necessary because gid_t is now the same size as int. - * sysdeps/unix/common/Makefile (sysdep_routines): Don't add bsd_getgrp. - * sysdeps/unix/common/bsd_getgrp.S: File removed. - * sysdeps/unix/common/__getgrps.S: New file. - * sysdeps/unix/bsd/sequent/i386/__getgrps.S: New file. +Sat Nov 20 19:02:25 1993 Brendan Kehoe (brendan@zen.org) - Clean up the rules for cleaning up. - * Makerules (common-mostlyclean): New target; remove object files. - (common-clean): New target; depend on common-mostlyclean, and - remove dep files and generated files. - (clean): Depend on common-clean. - (mostlyclean): Depend on common-mostlyclean. - * Rules (mostlyclean): Target removed. - (clean): Target removed. - (distclean): New target; depend on clean. - (realclean): New target; depend on distclean. - (subdir_distclean): New target; depend on distclean. - (subdir_realclean): New target; depend on realclean. - (subdir_mostlyclean): New target; depend on mostlyclean. - * Makefile (+subdir_targets): Add subdir_distclean, - subdir_realclean; change mostlyclean to subdir_mostlyclean. - (parent-mostlyclean): New target; depend on common-mostlyclean and - remove libc.a and $(install-lib). - (parent-clean): New target; depend on parent-mostlyclean and - common-clean, and remove sysdirs sysd-dirs sysd-Makefile. - (clean): Depend on parent-clean and just do submake for subdirs. - (mostlyclean): Depend on parent-clean and just do submake for subdirs. - (distclean, realclean): Depend on parent-clean and do submake - distclean-1 passing it variable assignment distclean-1=$@. - (distclean-1): Depend on subdir_$(distclean-1) and remove - $(config-generated), config.status, config.make, Makefile (if not - in srcdir). - * manual/Makefile (subdir_clean): Target removed. - (subdir_%): New rule to handle all such targets. - (distclean): Depend on clean, not mostlyclean. - (realclean): Depend on distclean, not clean. + * math/__finite.c (__finite): Return __CONSTVALUE, to match math.h. + * math/__scalb.c (__scalb): Likewise. + * math/copysign.c (copysign): Likewise. + * math/drem.c (drem): Likewise. + * math/expm1.c (expm1): Likewise. + * math/finite.c (finite): Likewise. + * math/infnan.c (infnan): Likewise. + * math/isinf.c (isinf): Likewise. + * math/isnan.c (isnan): Likewise. + * math/logb.c (logb): Likewise. + * math/rint.c (rint): Likewise. + * math/scalb.c (scalb): Likewise. + * sysdeps/generic/atan.c (atan): Likewise. + * sysdeps/ieee754/__copysign.c (__copysign): Likewise. + * sysdeps/ieee754/__drem.c (__drem): Likewise. + * sysdeps/ieee754/__isinf.c (__isinf): Likewise. + * sysdeps/ieee754/__logb.c (__logb): Likewise. + * sysdeps/ieee754/ldexp.c (ldexp): Likewise. + * sysdeps/ieee754/log10.c (log10): Likewise. - * sysdeps/unix/configure (unix_generated_dirpfx): New variable. - Use it to put created .S files in sysdeps/unix if configured in - srcdir, else in current directory. - (unix_generated): Prepend $unix_generated_dirpfx. - Have generated config.make fragment prepend $(objpfx). - * sysdeps/unix/Makefile (generated): Don't set it. - (config-generated): Set this instead; don't prepend any directory - prefix to $(unix-generated). + * setjmp/_longjmp (_longjmp): Add __NORETURN. + * setjmp/longjmp (longjmp): Likewise. - Fixes for SVR4 wait from jmc@ksu.ksu.edu (James Michael Chacon): - * sysdeps/unix/sysv/sysv4/siginfo.h (__siginfo_t): Add `__code' - and `__pid' fields. - (EXITED, KILLED, CORED, TRAPPED, STOPPED, CONTINUED): New macros. - * sysdeps/unix/sysv/sysv4/__waitpid.c: Switch on INFOP.__code and - construct *STAT_LOC from INFOP.__status accordingly. +Thu Nov 18 04:16:34 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * stdlib/testsort.c (main): Use puts to add newlines to printed lines. + * string/strerror.c (strerror): Call _strerror_internal to do the + work, passing it a scratch buffer. + * stdio/perror.c: Likewise. + * string/Makefile (routines): Add _strerror. + * sysdeps/generic/_strerror.c (_strerror_internal): New file. -Tue Jan 25 14:32:01 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * configure.in (config.status): Make it pass its args to configure. - * Version 1.07.1. +Thu Nov 18 03:52:32 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - * manual/Makefile (%.z): Change target pattern to %.gz. - (dist): Comment out dep. Don't really need the separate doc dist. + * stdio/__vfscanf.c (__vfscanf): Put the floating point cases + (e,E,f,g,G) inside #ifndef MIB_HACKS; roland thikgs strtod crashes + the compiler. Wheee. - * stdio/stdio.h [__OPTIMIZE__] (getchar, putchar, getdelim, - getline, __getline): Use extern inlines instead of macros. +Thu Nov 18 03:21:51 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/unix/sysv/sco3.2.4/__waitpid.S: Fix typo ($eax for %eax). + * errno.h [__USE_GNU__]: Declare program_invocation_name and + program_invocation_short_name. - * sysdeps/unix/siglist.c [! HAVE_GNU_LD] (_sys_siglist): #define - to sys_siglist. - * sysdeps/posix/__gettod.c [! HAVE_GNU_LD] (__daylight, - __timezone, __tzname): #define to non-__ names. +Thu Nov 18 00:07:37 1993 Michael I. Bushnell (mib at ernst.gnu.ai.mit.edu) - * math/math.h [__USE_BSD] (M_E, M_LOG2E, M_LOG10E, M_LN2, M-LN10, - M_PI, M_PI_2, M_PI_4, M_1_PI, M_2_PI, M_2_SQRTPI, M_SQRT2, - M_SQRT1_2): New macros. + * sysdeps/mach/hurd/start.c (start1): Don't add one to + the return value of split_args; it counts them just fine by + itself. Do add one when sizing the arrays. -Tue Jan 25 14:01:28 1994 Michael I. Bushnell (mib at ernst.gnu.ai.mit.edu) +Mon Nov 15 00:19:48 1993 Noel Cragg (noel@geech.gnu.ai.mit.edu) - * sysdeps/mach/hurd/start.c (start1): Decide separately whether to - split argv and whether to split envp. + * time/mktime.c: add TIMES_THROUGH_SEARCH variable to make sure + that we don't get caught in an infinite loop (would be bad, + indeed, for a library routine). - * sysdeps/mach/hurd/i386/sysdep.h: File deleted. - sysdeps/mach/i386/sysdep.h: Delete SET_SP macro. - sysdeps/mach/hurd/start.c (_start): Don't call GET_SP; set globals - instead of locals from exec_startup message. +Sun Nov 14 18:48:28 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * misc/progname.c: Don't try to set - program_invocation_name or program_invocation_short_name if argv - or argv[0] is invalid. + * misc/sys/cdefs.h (__NORETURN, __CONSTVALUE): Use + `__attribute__', not `__attributes__'. + Test __GNUC_MINOR__ < 6, not < 5. -Mon Jan 24 16:51:43 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) +Wed Nov 10 05:39:15 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/unix/sysv/sysv4/__waitpid.c: Return INFOP.__pid instead of - the PID we were called with. + * sysdeps/unix/morecore.c: Only declare sbrk #ifdef __GNU_LIBRARY__. + Cast its return value. - * sysdeps/unix/sysv/__mkdir.c (__mkdir): Restore errno before - returning, not after (lot of good that did). + * sysdeps/unix/bsd/m68k/syscall.S: Use movel in place of moveal. - * sysdeps/unix/bsd/ultrix4/system.c, sysdeps/unix/bsd/bsd4.4/system.c, - sysdeps/unix/bsd/osf1/system.c, sysdeps/unix/sysv/sco3.2.4/system.c, - sysdeps/unix/bsd/sun/sunos4/system.c, sysdeps/unix/sysv/sysv4/system.c: - New files. Avoid sysdeps/unix/system.c, which defines NO_WAITPID. + * configure.in (signed size_t check): Don't use AC_DEFINE; do it + by hand and insert -U__SIZE_TYPE__ before -D. - * set-init.c (__libc_init): Use `n' count field instead of - checking for null terminator. The latter loses when there are no - set elts at all, and only one word is allocated for __libc_subinit. + * posix/unistd.h: Declare syscall. - * sysdeps/generic/waitstatus.h (__WCOREFLAG): New macro. - * posix/sys/wait.h [__USE_BSD] (WCOREFLAG): New; define to __WCOREFLAG. + * sysdeps/m68k/fpu/__math.h (__isnan, __isinf): Use __CONSTVALUE + in prototypes. - * stdio/fileno.c (fileno): Call __stdio_check_funcs. + * configure.in (Makefile): Write ARCH=`pwd`, rather than + substituting in the directory name at configure time. - * stdio/tst-fileno.c: New file. + * sysdeps/mach/i386/syscall.S: New file. -Fri Jan 21 16:56:50 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) +Tue Nov 9 06:29:15 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * Rules (dep-dummy-lib, make-dummy-lib): New variables. - ($(objpfx)dummy.o): New file rule. - * posix/Makefile ($(objpfx)libposix.a): Depend on - $(dep-dummy-lib), and use $(make-dummy-lib) for commands. - * math/Makefile ($(objpfx)libm.a): Likewise. + * configure.in (os = netbsd* | 386bsd*): base_os=unix/bsd/bsd4.4. + Set --with-gnu-{ld,as} implicitly when base_os is bsd4.4. - * sysdeps/unix/sysv/sysv4/i386/__stat.S: New file. - * sysdeps/unix/sysv/sysv4/i386/__lstat.S: Likewise. - * sysdeps/unix/sysv/sysv4/i386/__fstat.S: Likewise. + * Version 1.06.7. - * sysdeps/sparc/bytesex.h: New file. + * misc/Makefile (routines): Add syscall. + * sysdeps/unix/syscall.S, sysdeps/stub/syscall.c, + sysdeps/unix/bsd/sun/m68k/syscall.S, sysdeps/unix/bsd/m68k/syscall.S, + sysdeps/unix/i386/syscall.S: New files. + * sysdeps/unix/bsd/hp/m68k/sysdep.h (DO_CALL): First arg + is syscall number, not name. + (PSEUDO): Pass POUND (SYS_ify (syscall_name)) to DO_CALL. + * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h (DO_CALL, PSEUDO): + Likewise. Also, do movel into d0 before linkw, so the argument + could conceivably pop the stack. + * sysdeps/unix/bsd/hp/m68k/__brk.S: Pass complete number to DO_CALL. -Thu Jan 20 12:45:35 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/unix/sysv/Dist: sys_getdents.S was renamed s_getdents.S. - * sysdeps/stub/syscall.c (syscall): Declare arg type as int. +Thu Nov 4 01:23:59 1993 Michael I. Bushnell (mib at ernst.gnu.ai.mit.edu) -Wed Jan 19 18:18:15 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * string/stpncpy: Fix typo; according to gnu-stabs.h the name + inside the DEFUN should be the *non* __ version. + * sysdeps/generic/__stpncpy.c: Missing declaration of s. - * Makerules ($(before-compile) rule): Protect w/`ifdef before-compile'. +Wed Nov 3 09:35:30 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * manual/Makefile: Change all `mv' uses to `mv -f'. - (subdir_install): Depend on stubs. + * sysdeps/unix/Makefile ($(objpfx)errlist.c): Conditionalize these + rules to be used only when errlist.c is otherwise a stub. - * Makerules ($(objpfx)%.dep: %.s): Depend also on $(objpfx)dummy.dep. +Fri Oct 29 17:29:20 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Tue Jan 18 19:12:57 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * string/stpncpy.c: New file. + * sysdeps/generic/__stpncpy.c: New file. + * string/Makefile (routines): Add stpncpy and __stpncpy. + * string/string.h [__USE_GNU__]: Declare them. - * stdlib/testsort.c (main): Swap dimensions of BUFS array. +Thu Oct 28 17:13:58 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/errnos-tmpl.c (DO): If NAME is "EWOULDBLOCK", + write "#define EWOULDBLOCK EAGAIN" and change NAME to + "EWOULDBLOCK_sys". + * sysdeps/unix/{i386,sysv/sysv4/solaris2,sysv/i386/linux,bsd/m68k, + bsd/ultrix4/mips,bsd/vax}/sysdep.S [EWOULDBLOCK_sys]: Translate + EWOULDBLOCK_sys into EAGAIN. + * Makefile (distribute): Add move-if-change. + * move-if-change: New file. + +Tue Oct 26 18:19:34 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * misc/sys/cdefs.h: Define __NORETURN and __CONSTVALUE. + For GCC 2.5 and later, use __attributes__ (({volatile,const})). + * stdlib/stdlib.h: Don't define either here. + * math/math.h: Likewise. + * posix/unistd.h: Likewise. + * time/time.h: Likewise. + * stdio/stdio.h: Likewise. + * setjmp/setjmp.h: Likewise. + + * posix/sys/wait.h (__WAIT_STATUS): Use union hack defn for GCC + 2.4 and up (testing __GNUC__ and __GNUC_MINOR__). + + * sysdeps/unix/sysv/sco3.2.4/__sysconf.S: Don't include . + + * Makerules [inhibit-sysdep-asm] + (open-check-inhibit-asm, close-check-inhibit-asm): New variables. + ($(+sysdir_pfx)sysd-rules): Use them around .s and .S rules. + Depend on existing sysdep makefiles. + +Mon Oct 25 15:56:41 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/mach/hurd/killpg.c: Include for pid_t. + + * sysdeps/posix/tempname.c (__stdio_gen_tempname): Take new arg + STREAMPTR. When non-nil, use __open with O_EXCL to test for + existence, and set *STREAMPTR to new stream on returned fd. + * stdio/stdio.h: Update prototype. + * sysdeps/stub/tempname.c: Here too. + * stdio/tmpfile.c: Pass &F to __stdio_gen_tempname instead of + using fopen. + * stdio/tmpnam.c: Pass extra NULL arg. + * stdio/tempnam.c: Likewise. + + * configure.in (switches): Only put --os-{release,version} here. + (config.status): Write $configure_args in place of $config $switches. + + * signal/Makefile (routines): Renamed sigaltstack to sigaltstk. + * sysdeps/stub/sigaltstack.c: Renamed to sigaltstk.c. + * sysdeps/unix/bsd/bsd4.4/sigaltstack.S: Renamed to sigaltstk.S. + * sysdeps/unix/sysv/sys_getdents.S: Renamed to s_getdents.S. + * sysdeps/unix/sysv/Makefile (sysdep_routines): Changed reference. + +Fri Oct 22 03:47:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * malloc/realloc.c [MEMMOVE_MISSING]: Test this to use safe_bcopy. + [emacs]: Don't define safe_bcopy. + + * time/zdump.c, time/europe: New versions from ADO. + + * Rules (dont_distribute): Export this variable. + (subdir_echo-distinfo): Echo its value for +nodist+. + +Thu Oct 21 15:58:08 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/posix/__dup2.c: Include . + [OPEN_MAX]: Fail with EBADF if FD2>=OPEN_MAX. + + * sysdeps/unix/Makefile (sys/param.h): Conditionalize all this + code to happen only when there is no sysdep sys/param.h. + +Wed Oct 20 03:35:41 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makerules (make-dummy-dep): Change to `ln $(objpfx)dummy.dep $@'. + ($(objpfx)dummy.dep): Create new file containing comment. + ($(objpfx)%.dep: $(objpfx)%.s): Depend on $(objpfx)dummy.dep. + ($(+sysdir_pfx)sysd-rules): Likewise in generated rule. + +Mon Oct 18 04:22:42 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * signal/signal.h (killpg): Make PGRP arg pid_t. + * sysdeps/posix/killpg.c (killpg): Likewise. + * sysdeps/stub/killpg.c (killpg): Here too. + + * posix/glob/configure.in: Use AC_HAVE_HEADERS instead of + AC_MEMORY_H and AC_UNISTD_H; omit AC_USG (not needed). + + * Rules (generated): New target. + + * Makefile (subdirs): Use filters to put mach and hurd first in + the list if they are in it at all. + * Makerules (before-compile): Reorder similarly, matching any + generated mach or hurd files. + +Fri Oct 15 17:57:58 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/posix/mk-stdiolim.c [! OPEN_MAX]: Use _POSIX_OPEN_MAX + for FOPEN_MAX value. + [! PATH_MAX]: Use 1024 (twice _POSIX_PATH_MAX) for FILENAME_MAX value. + + * Makerules (in-Makerules): Define this variable before including + sysd-Makefile. + +Sun Oct 10 14:31:35 1993 Jim Meyering (meyering@comco.com) + + * posix/fnmatch.c [CONFIG_BROKETS]: Include only under + this condition, else "config.h". + +Tue Oct 05 16:08:39 1993 Jim Meyering (meyering@comco.com) + + * time/mktime.c [CONFIG_BROKETS]: Include only under + this condition, else "config.h". + +Thu Sep 23 15:14:08 1993 Brendan Kehoe (brendan@zen.org) + + * sysdeps/unix/sysv/sysv4/__dup2.c: New file. + +Wed Sep 22 16:58:29 1993 Brendan Kehoe (brendan@zen.org) + + * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h: New file. + * sysdeps/unix/sysv/sysv4/i386: New directory. + * sysdeps/unix/sysv/sysv4/i386/statbuf.h: New file. + +Fri Sep 17 04:03:26 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makerules (+make-deps): Put output in temp file and use atomic mv. + + * Makerules ($(+sysdir_pfx)sysd-rules): New target, the rule part + of what was in sysd-Makefile. Include it. + ($(+sysdir_pfx)sysd-Makefile): Do just includes here. Move the + generated implicit rules to sysd-rules. Put the output into a + temp file and use atomic mv to final target. + (before-compile): Filter out existing files from value, after + sysd-Makefile but before sysd-rules. + +Thu Sep 9 22:28:13 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makefile (%/configure): Copy rule from Make-dist. + +Mon Sep 6 19:57:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makerules (sources, objects): Move override definitions to + before +depfiles calculation. + + * time/{asia,australasia,europe,zdump.c}: New versions from ADO (93e). + +Mon Aug 30 13:40:34 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * string/string.h (memmem): Reverse argument order, to be like strstr. + * sysdeps/generic/memmem.c: Here too. + + * dirent/scandir.c: For error return, save errno around closedir. + Call closedir (DP) before returning successfully. + +Thu Aug 26 19:26:06 1993 Brendan Kehoe (brendan@zen.org) + + * sysdeps/unix/sysv/sysv4/solaris2/sysdep.h: Rewritten to not use + the generic sparc sysdep.h. + (PSEUDO): Use trap 8, not 0. Also just put %g0 in %o0, without + subtracting 1. + (ENTRY): Align on 4, and add a `.type' directive. + * sysdeps/unix/sysv/sysv4/solaris2/sysdep.S: New file. + +Fri Aug 20 19:37:55 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/generic/abort.c: Remove unused variable ABORTING. + +Thu Aug 19 17:45:34 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makeconfig [!objdir] [!..] (common-objdir): Set to `.'. + +Wed Aug 18 15:10:13 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * stdio/__vfscanf.c (__vfscanf: number): Reverse sense of + NUMBER_SIGNED conditional in assignment code. + +Mon Aug 16 15:49:13 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/Makefile (syscall.h): Add sed + s/SYS_syscall_basenum/syscall_basenum/g. SYSCALL_BASENUM is a + macro both defined and used in ; we must undo our + prependation of `SYS_'. + + * Version 1.06.6. + +Fri Aug 13 16:53:02 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * stdio/__vfscanf.c: New local variable NUMBER_SIGNED. + (%x, %X, %o, %u): Set it to zero. + (%d, %i): Set it to one. + (number): If NUMBER_SIGNED is set, use strtol and store in ...int*. + If clear, use strtoul an store value in unsigned ...int*. + + * malloc/malloc.h: Undo last change (_AIX32). + (memory_warnings): Use const instead of __const in prototype. + +Fri Aug 13 00:22:01 1993 John Grabowski (johng@whiskey.media.mit.edu) + + * configure.in (os = osf1*): base_os=unix/bsd. + +Thu Aug 12 16:37:13 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * malloc/valloc.c [__GNU_LIBRARY__ || _LIBC]: Include + before trying to use size_t to declare __getpagesize. + Include before trying to use __P. + + * posix/{fnmatch,glob}.c, malloc/malloc.h [HAVE_CONFIG_H]: Include + instead of "config.h". This is so that a compilation + using -I. -I$srcdir will use ./config.h rather than + $srcdir/config.h (which it would do when glob.c was found in $srcdir). + + * malloc/malloc.h [_AIX32]: Use !__STDC__ defns of __P, const, __ptr_t. + +Mon Aug 9 16:56:31 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makerules (-e check): Don't rely on $(findstring e,$(MAKEFLAGS)) + since that also trips for --no-print-directory. + Instead actually see if -e's functionality is taking place. + + * malloc/realloc.c: Call _free_internal instead of free in most places. + + * configure.in (arg parsing): No spaces around = in eval. + + * sysdeps/i386/abort.c: New file. + * stdlib/abort.c: Moved to sysdeps/generic/abort.c. + (abort): Don't try to do stdio cleanup, since we can't guarantee + it anyway. + +Fri Aug 6 17:59:56 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makerules ($(+install)): Don't depend on installdirs. + (make-target-directory): New define. + (do-install): Do $(make-target-directory) beforehand. + +Tue Aug 3 02:22:41 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/stub/sys/reboot.h: New file. + * sysdeps/unix/bsd/sys/reboot.h: New file, snarfed from 4.4. + * misc/Makefile (headers): Add sys/reboot.h. + + * stdio/stdio.h (__io_{read,write,seek,close,fileno}): Renamed to + __io_*_fn, so as not to conflict with the Hurd mig stubs. + * internals.c: Changed uses. + + * sysdeps/unix/bsd/signum.h (SIGINFO): Define as 29. + + * Makerules (+includes): Don't set this here. + * Makeconfig (+includes): Put $(+sysdep-includes) in the value here. + + * posix/unistd.h [__USE_MISC]: Declare mktemp and mkstemp. + +Mon Aug 2 16:59:12 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * malloc/valloc.c: Move getpagesize goop to before malloc.h. + [_LIBC]: Test this as well as __GNU_LIBRARY__ (either one) to use + __getpagesize instead of "getpagesize.h". + +Sun Aug 1 16:55:18 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * configure.in (arg parsing): For `--with-foo=bar', do + "with_foo='bar'". For `--with-fnord', do "with_fnord=yes". + * sysdeps/mach/configure: New file, groks `--with-mach=DIR'. + +Fri Jul 30 00:01:00 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * configure.in (os = gnu*): Set $base_os, not $os, to mach/hurd. + +Thu Jul 29 17:46:02 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * ctype/ctype.h (__isctype): Don't test !=0, to avoid possible + extra test insn. + +Sun Jul 25 22:19:04 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * setjmp/setjmp.h [! __FAVOR_BSD] (_longjmp): Define as longjmp. + +Thu Jul 22 14:57:15 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/bsd/osf1/sigaction.h: New file. + + * sysdeps/stub/signum.h: Deansideclized. + * sysdeps/stub/pipestream.c (pclose): Test STREAM->__ispipe + instead of __ispipe (STREAM). + * sysdeps/stub/__wait3.c: Fix arg types. + * sysdeps/stub/__ioctl.c: Add missing close paren. + * sysdeps/stub/__getpgsz.c: Include for size_t. + * sysdeps/stub/__get[gu]id.c: Include ; fix return type. + * sysdeps/stub/__set[gu]id.c: Include ; fix arg type. + * sysdeps/stub/__mknod.c: Include ; fix arg types. + + * sysdeps/generic/termbits.h (INLCR, ISTRIP): Fixed typo'd values. + + * stdio/stdio.h (vprintf): Fix last arg type to __gnuc_va_list. + * stdio/vprintf.c (vprintf): Here too. + + * malloc/malloc.c (malloc) [SUNOS_LOCALTIME_BUG]: Put this crap + after hook and initialization. + + * stdio/stdio.h (__validfp): Use a little anonymous struct to find + the real stream ptr from in glue stream. It used to rely on using + `((int *) STREAM)[1]'; but that assumes no struct padding, and + there will be some when int is 32 bits and pointers are 64. + + * malloc/mtrace.c: Use %lx instead of %x for `size_t' formats. + +Wed Jul 21 18:20:41 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * malloc/malloc.c (malloc): Handle SUNOS_LOCALTIME_BUG. + +Wed Jul 21 16:42:14 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * time/Makefile (extra-objs): Remove gratuitous - in `z.%'. + + * Makefile [+gnu-stabs] (generated): Add $(objpfx)munch-init.c. + (distclean): Also remove sysd-Makefile and sysd-dirs in $(objpfx). + (distclean) [objdir]: Also remove $(objpfx)Makefile. + + * sysdeps/posix/Makefile (generated): Add $(common-objpfx)mk-stdiolim. + (generated, before-compile): Take defns out of ifeq ($(subdir),posix). + + * sysdeps/unix/common/Makefile (generated): Include ctype-glue.c, + not glue-ctype.c. + + * sysdeps/unix/configure (unix_generated): New variable; collect + names of created files in it. + (config_vars): Write an assignment for `unix-generated' to that list. + * sysdeps/unix/Makefile (generated): Append $(unix-generated) + (with either $(objpfx) or $(sysdep_dir)/unix/ prepended to each file). + + * Makefile (clean): Pass no_deps=t to subdir_clean make. + +Sun Jul 18 21:42:05 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * malloc/malloc.c (malloc): After getting more core, recompute + BLOCK before adding to _heapinfo[BLOCK].free.size. + +Fri Jul 16 16:32:40 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * stdlib/Makefile (generated): Prepend $(objpfx). + * sysdeps/unix/sysv/Makefile (generated): Likewise. + + * sysdeps/posix/mktemp.c: Return when stat fails with ENOENT, not + when it succeeds. + +Wed Jul 14 14:51:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * locale/localeconv.c: Fix copying notice to LGPL. + +Mon Jul 12 21:58:27 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * malloc/mcheck.c (reallochook): Set HDR->magic to MAGICWORD. + +Mon Jul 5 15:55:08 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * malloc/realloc.c (memmove): Swap the args when calling safe_bcopy. + +Thu Jul 1 16:26:56 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * malloc/malloc.c [_LIBC] (_malloc, _free, _realloc): Define these + functions to just call malloc, free, and realloc, respectively. + +Wed Jun 30 16:42:10 1993 Torbjorn Granlund (tege@gnu.ai.mit.edu) + + * sysdeps/generic/memcmp.c (memcmp_bytes): New function for + little endian machines. + (memcmp_common_alignment, memcmp_not_common_alignment): Rework + code computing return values. + +Wed Jun 30 14:42:00 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/Makefile (local_lim.h): Only generate local_lim.h + if the sysdep version would be stub. + + * sysdeps/unix/mk-local_lim.c: #include before all else. + + * configure.in (config_{machine,vendor,os}): Store config.sub's + output in these new variables. + (machine, vendor, os): Set these from those. + (config-name.h, config.make): Write $config_* (the original values + from config.sub). + + * sysdeps/unix/sysv/sysv4/pgrpsys.S: Add arg count (3). + +Tue Jun 29 02:47:46 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Version 1.06.4. + +Mon Jun 28 00:37:12 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * stdio/internals.c (__stdio_check_funcs): New function, broken out + of init_stream. + (init_stream): Call it. + * sysdeps/posix/pipestream.c (popen): Call __stdio_check_funcs + before frobnicating STREAM's functions. + + * sysdeps/posix/pipestream.c (pclose): Free C, our data structure, + not STREAM->__cookie after it's been restored. + + * sysdeps/generic/strchr.c: Check for '\0' as well as C, in initial + byte-by-byte loop. + + * conf/portability.h: #undef BSD. + +Sun Jun 27 23:46:05 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/bsd/m68k/__wait.S [__motorola__]: Use Motorola syntax. + * sysdeps/unix/bsd/m68k/sysdep.S: Likewise. + * sysdeps/unix/bsd/m68k/__pipe.S: Likewise. + * sysdeps/m68k/__longjmp.c (__longjmp) [__motorola__]: Use + Motorola syntax in jmp insn. + +Fri Jun 25 16:17:07 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/{stub,posix,unix/sysv/sysv4}/__sysconf.c (__sysconf): + For _SC_TZNAME_MAX, just return __tzname_max (). + * sysdeps/unix/sysv/sco3.2.4/__sysconf.S: Define __sysconf, not + sysconf. For _SC_TZNAME_MAX, just jump to __tzname_max. + + Undo June 21 change that made __tzname_max a variable + and expected TZNAME_MAX to sometimes be defined. + POSIX.1 does not require that it be defined; sysconf is enough. + * time/time.h (__tzname_max): Declare as a function. + * posix/posix1_lim.h: Don't include . + * sysdeps/stub/tzname_max.h: File removed. + * time/Makefile (headers): Remove tzname_max.h. + (distribute): Remove make-tzlim.c. + (extra-objs): Remove make-tzlim.o and make-tzlim. + ($(common-objpfx)tzname_max.h): Target removed. + * time/make-tzlim.c: File removed. + * time/__tzset.c (__tzname_cur_max): Define this variable instead + of __tzname_max. + (__tz_compute): Set __tzname_cur_max, not __tzname_max. + (__tzname_max): New function. + * time/tzfile.c (compute_tzname_max): Set __tzname_cur_max, not + __tzname_max. + + * malloc/malloc.h [_MALLOC_INTERNAL] [! (_LIBC || STDC_HEADERS || USG)] + (memmove): Don't define. + * malloc/realloc.c [!_LIBC && !STDC_HEADERS && !USG] (safe_bcopy): + New static function. + (memmove): Define to safe_bcopy. + +Wed Jun 23 15:10:51 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/sysv/sco3.2.4/pgrpsys.S: New file, #include sysv4 file. + * sysdeps/unix/sysv/sco3.2.4/Dist: New file, list pgrpsys.S. + +Tue Jun 22 02:44:16 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/sysv/sco3.2.4/Makefile (sysdep_routines): Use + pgrpsys instead of sco_pgrp. + * sysdeps/unix/sysv/sco3.2.4/{Dist,sco_pgrp.S}: Files removed. + * sysdeps/unix/sysv/sco3.2.4/__{getpgrp,setpgrp,setsid}.c: Just + include the respective unix/sysv/sysv4 files. + + * sysdeps/unix/sysv/sysv4/pgrpsys.S: New file. + * sysdeps/unix/sysv/sysv4/__getpgrp.c: New file. + * sysdeps/unix/sysv/sysv4/__setpgrp.c: New file. + * sysdeps/unix/sysv/sysv4/__setsid.c: New file. + * sysdeps/unix/sysv/sysv4/Dist: Add pgrpsys.S. + * sysdeps/unix/sysv/sysv4/Makefile (sysdep_routines): Add pgrpsys. + + * sysdeps/unix/bsd/bsd4.4/__setsid.S: Moved from unix/sysv/sysv4. + * sysdeps/unix/{bsd/sun/sunos4,bsd/ultrix4,sysv/linux}/__setsid.S: + Include bsd4.4 instead of sysv4 file. + +Mon Jun 21 19:08:04 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * posix/posix1_lim.h: #include . + * sysdeps/stub/tzname_max.h: New file (no-op). + * time/make-tzlim.c: New file. + * time/Makefile (headers): Add tzname_max.h. + (distribute): Add make-tzlim.c. + (extra-objs): Add make-tzlim.o and make-tzlim. + ($(common-objpfx)tzname_max.h): New target. + + * sysdeps/unix/sysv/sco3.2.4/confname.h (_SC_TZNAME_MAX): Define. + * sysdeps/unix/sysv/sco3.2.4/__sysconf.S: Detect arg being + _SC_TZNAME_MAX, and return max of TZNAME_MAX and __tzname_max. + + * sysdeps/stub/__sysconf.c: Include and . + Handle _SC_TZNAME_MAX and return max of TZNAME_MAX and __tzname_max. + * sysdeps/posix/__sysconf.c: Change _SC_TZNAME_MAX code to that. + * sysdeps/unix/sysv/sysv4/__sysconf.c: Likewise. + + * time/time.h (__tzname_max): Declare as variable, not function. + * time/__tzset.c (__tzname_max): Function removed. + (__tz_compute): Set the __tzname_max variable. + * time/tzfile.c (compute_tzname_max): New function. + (__tzfile_{read,default}): Call it. + +Sun Jun 20 18:32:49 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * time/zic.c, time/asia: New versions from ADO. + +Wed Jun 16 17:24:28 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Version 1.06.3. + +Fri Jun 11 15:44:53 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/bsd/m68k/__pipe.S: Use `movel' instead of `moveal', + which sun3 as does not appear to grok. + * sysdeps/unix/bsd/sun/m68k/__vfork.S: Likewise. + +Thu Jun 10 20:23:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/m68k/Makefile (as-pipe-ok): Define if -pipe is used in + compiler invocations, or if using GNU as. + (compile-command.S): Define using a pipe if `as-pipe-ok' is defined, + otherwise with a temporary file. + + * Makeconfig (gnu-as): Define if -DHAVE_GNU_AS appears in $(CPPFLAGS). + +Wed Jun 9 15:14:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * configure.in (os frobnication): Turn underscores as well as + lowercase Vs into dots in os name. + + * sysdeps/unix/start.c [__GNUC__] (_start): Use asm name "start" + only if [! NO_UNDERSCORES]. + +Tue Jun 8 14:51:00 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + * sysdeps/unix/bsd/ultrix4/mips/__handler.S: Don't save the stack + pointer. + +Mon Jun 7 21:01:24 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * time/Makefile (tzcompile): Remove -d switch, since zic-cmd has one. + + * time/{private.h,zic.c}: New versions from ADO. + + * sysdeps/unix/bsd/hp/m68k/__brk.S (error): Renamed label from `1', + (__brk): Use DO_CALL instead of movel and trap. + + * sysdeps/unix/bsd/sony/newsos4: Renamed sysdeps/unix/bsd/sony/newsos. + * sysdeps/unix/bsd/sony/m68k/{Implies,sysdep.h}: Moved there. + + * sysdeps/unix/bsd/hp/m68k/sysdep.h (DO_CALL): New macro, broken + out of PSEUDO. + (PSEUDO): Use it. + * sysdeps/unix/bsd/sony/newsos4/m68k/sysdep.h + (DO_CALL, PSEUDO): Likewise. + + * configure.in: Set --with-gnu-{ld,as} for os=bsd4.4. + +Fri Jun 4 14:11:00 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/i386/{strlen,memchr}.c: Use `repnz' instead of `repne'. + + * time/Makefile (zonenames): Rename zones-* to z.* so they all fit + in 14 chars. + (extra-objs): Here too. + + * sysdeps/unix/sysv/direct.h (D_RECLEN): New macro. + * sysdeps/unix/readdir.c (D_RECLEN): If not defined, define to use + `d_reclen' member. + (readdir): Use D_RECLEN (DP) in place of DP->d_reclen. + +Thu Jun 3 16:54:29 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/m68k/bytesex.h: New file. + + * sysdeps/unix/ioctls-tmpl.c [sony_news]: Define KANJI before + including . + +Wed Jun 2 17:45:38 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * malloc/Makefile (%.gz): Renamed target from %.z; use -v flag. + (malloc/ChangeLog): Use mv -f. + +Mon May 31 21:49:04 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Version 1.06.2 released. + + * manual/Makefile: Remove all uses of $(objpfx). Since the + generated files are distributed, they reside in the source + directory. + + * malloc/mtrace.c: #include ; malloc.h no longer does. + + * sysdeps/posix/sleep.c: Restore signal mask to OSET before + returning. Save errno on entry and restore it before returning. + + * Makeconfig (zonedir): New variable. + * time/Makefile (localtime-file, posixrules-file, install-others, + $(localtime-file), $(posixrules-file), tz-cc): Use $(zonedir) in + place of $(datadir)/zoneinfo. + (tzcompile): Omit -d switch. + (zic-cmd): Add `-d $(zonedir)'. + +Sun May 30 20:04:50 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/posix/stdio_init.c: (int)cookie is FD, not *(int*)cookie. + + * time/Makefile ($({localtime,posixrules}-file)): Don't pass -d + switch (no need, since directory is compiled into zic). Don't use + $(. + [_MALLOC_INTERNAL]: Move config.h, limits.h, and mem* to front of file. + (NULL): Move after stddef.h. + + * malloc/valloc.c: Don't include config.h; malloc.h already did. + + * malloc/malloc.c: Undo rms's change. + + * malloc/mcheck.c, malloc/malloc.h: Undo rms's change. + +Sat May 29 13:04:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * malloc/malloc.c (malloc) [emacs]: If size is 0, make it 1. + + * malloc/malloc.h (CONST): Define this always, + rather than `const' sometimes. + (memory_warnings): Use CONST, not __const, in decl. + * malloc/mcheck.c (checkhdr): Use CONST, not const. + +Fri May 28 18:29:26 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/Makefile (ioctls): Use fgrep instead of egrep to + omit unwanted symbols. Filter the list of them through sort|uniq + to remove duplicates first. + + * sysdeps/unix/Makefile (errlist.c): Use dir and notdir + functions to guarantee qualified path name for make_errlist. + +Thu May 27 17:05:04 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Version 1.06.1. + + * sysdeps/sparc/Dist: Include sdiv.S, not div.S. + + * sysdeps/unix/common/Dist: Remove make_siglist.c. + + * stdio/internals.c: Declare __stdio_fileno before reference. + + * sysdeps/generic/{memchr,strchr,strlen}.c: Abort if words are + bigger than 64 bits. + +Wed May 26 14:44:19 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makerules [objects] (install-others): Don't add libc.a to this. + (install): Depend on $(libdir)/libc.a. + (intall-no-libc.a): New target, depends on $(+install). + (install): Don't depend on $(+install), just on install-no-libc.a. + * Rules (subdir_install): Depend on install-no-libc.a, not install. + + * Makefile ($(libc.a)): Don't depend on subdir_lib. + (lib-noranlib): Depend on subdir_lib. + + Make `fileno' a per-FILE io operation. + * stdio/stdio.h (__io_fileno): New typedef. + (__io_functions): Add `__fileno' member. + (struct __stdio_file): Remove `__fileno' member. + [__USE_POSIX] [__OPTIMIZE__]: Remove fileno macro defn. + [__USE_POSIX] (fileno): Remove `const' from arg in prototype. + * stdio/fileno.c (fileno): Rewritten to call STREAM's __fileno fn. + * sysdeps/stub/sysd-stdio.c (__stdio_fileno): New function. + (__stdio_open): Return an int (zero for win, nonzero for lose), + and make third arg PTR * (filled in with cookie). + * stdio/stdio.h (__stdio_open): Changed prototype. + * sysdeps/posix/sysd-stdio.c (__stdio_open): Likewise. + (__stdio_{read,write,seek,close}): Use (int) COOKIE as the fd, rather + than *(int *) COOKIE. + (__stdio_fileno): New function; just returns (int) COOKIE. + * sysdeps/posix/fdopen.c: Set cookie to (PTR) FD; don't set fileno. + * stdio/vdprintf.c: Likewise. + * stdio/fmemopen.c: Set STREAM->__io_funcs.__fileno to NULL. + Set STREAM->__cookie to NULL and don't use STREAM->__fileno. + * stdio/internals.c (__default_io_functions): Add __stdio_fileno. + * sysdeps/posix/defs.c (stdstream): Initialize __cookie to (PTR) FD + Remove __fileno initializer. + Add NULL initializer for __io_funcs.__fileno. + * sysdeps/posix/pipestream.c (struct child): Remove `fd' member. + Add `cookie' and `funcs' members. + (FUNC): Macro to define child io_funcs. + (child_funcs): New variable, __io_functions struct of them. + (popen): Store STREAM's original cookie and io_funcs in CHILD, and + then set STREAM->__cookie to CHILD and stream->__io_funcs to + child_funcs. + (pclose): Restore STREAM's original cookie and io_funcs before + calling fclose. + + * configure.in (autoconf checks): Add new check for a + libc-friendly stddef.h. + + * sysdeps/unix/configure: Remove __getpgrp from list of syscalls. + + * sysdeps/generic/memchr.c: Handle 64-bit longwords. + * sysdeps/generic/strlen.c: Likewise. + * sysdeps/generic/strchr.c: Likewise. + + * sysdeps/unix/sysv/sco3.2.4/Makefile: Remove gratuitous `.c'. + + * Makerules [objects] (install-others): Add $(libdir)/libc.a to + this, instead of adding $(libc.a) to install-lib. + ($(libdir)/libc.a): New target to install from $(libc.a). + + * sysdeps/unix/sysv/sco3.2.4/__setsid.S: New file. + * sysdeps/unix/bsd/bsd4.4/__setsid.S: New file. + +Mon May 24 16:49:54 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/sysv/linux/__setsid.S: Moved to unix/sysv/sysv4, + and replaced with #include of that. + * sysdeps/unix/bsd/sun/sunos4/__setsid.S: New file. + * sysdeps/unix/bsd/ultrix4/__setsid.S: New file. + + * posix/Makefile (install): Define to getconf. + + * crypt: New version from glad. + + * sysdeps/unix/sysv/sysv4/__sysconfig.S: Renamed to sysconfig.S. + * sysdeps/unix/sysv/sysv4/Makefile (sysdep_routines): Change reference. + * sysdeps/unix/sysv/sysv4/Dist: Add sysconfig.S. + + * sysdeps/generic/Makefile (siglist.c): Use dir and notdir + functions to guarantee qualified path name for make_siglist. + + * time/Makefile (tzcompile): Use $(@D) for target directory, not + reference to nonexistent 4th dep. + (localtime-file, posixrules-file): Turn these into absolute names. + (install-others): Simply refer to them. + ($(datadir)/zoneinfo/{localtime,posixrules}): Change targets of + these rules to $(localtime-file) and $(posixrules-file), respectively. + Use $( for BUFSIZ. + + * sysdeps/unix/i386/sysdep.h (PSEUDO): Put ; after DO_CALL use. + + * sysdeps/i386/ffs.c: Use `nonzero' for asm label, instead of `1f'. + +Sun May 16 17:59:58 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/bsd/sequent/i386/__sigvec.S: Don't get fancy with + xchg; just push $trampoline and then push our args again, pop them + after the system call. + + * time/tzfile.c (__tzfile_default): Don't assume TYPES[0] is + standard and TYPES[1] is DST. Instead, loop through all types: + if a type's isdst flag is set, set its idx to STDLEN and its + offset to DSTOFF; if isdst is clear, set its idx to 0 and its + offset to STDOFF. + + * time/__tzset.c: When __tzfile_default returns having set + __use_tzfile, set __tzset_run before returning. + + * sysdeps/posix/sleep.c: Block SIGALRM with sigprocmask before + changing its handler. Use sigaction instead of signal to set the + handler. Use sigsuspend to restore the blocked signals and pause + atomically, instead of using pause. Be sure to disable the alarm + when a signal other than SIGALRM wakes sigsuspend. + + * time/Makefile (zic-cmd): Put the directory before the nondirectory. + + * Makerules (stubs): Remove surrounding `ifdef +depfiles'...`endif'. + + * time/Makefile: Include ../Makeconfig before trying to use $(objpfx). + + * time/tzfile.c (__tzfile_compute): When there are transitions and + TIMER is not before the first one, find the first transition after + TIMER, and then set I to the type of the transition before it. + Set INFO from types[I], not types[type_idxs[I]]. + + * posix/Makefile (glob/configure): cd to glob before running autoconf. + + * time/__tzset.c (compute_change): Don't add 1900 to YEAR. + (__tz_compute): Add 1900 to the year we pass to compute_change. + + * time/gmtime.c: After calling __offtime, zero tm_gmtoff and set + tm_zone to "GMT". + + * time/time.h [__OPTIMIZE__]: Remove gmtime macro version. + + * time/tzfile.c (__tzfile_default): Fail if NUM_TYPES < 2, not if + NUM_TYPES != 2. + + * time/tzfile.c (__tzfile_compute): Don't take arg TM. + Instead take new args long int *LEAP_CORRECT and int *LEAP_HIT. + Don't apply leap second correction to __timezone; instead set + *LEAP_CORRECT and *LEAP_HIT. + * time/__tzset.c (tzset_run): Renamed to __tzset_run, made global. + (__tzset): Change uses. + (__tz_compute): Change use here as well. + Make second arg be a `const struct tm *'. Don't call __tzfile_compute. + * time/localtime.c: Call __tzset if __tzset_run is clear. + New local vars LEAP_CORRECTION and LEAP_EXTRA_SECS. + If __use_tzfile is set, call __tzfile_compute and pass it their + addresses. Only need to call gmtime if __use_tzfile is clear. If + it is clear, pass result of gmtime to __tz_compute, instead of + dereferencing it first; and zero LEAP_CORRECTION and LEAP_EXTRA_SECS. + Subtract LEAP_CORRECTION from __timezone in __offtime call. + After __offtime, add LEAP_EXTRA_SECS to TP->tm_sec. + + * sysdeps/generic/strsep.c: Increment END when writing a null to + it, and set *STRINGP to END rather than END+1, so *STRINGP never + points past the null. + +Sat May 15 17:10:02 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * time/strftime.c: Alphabetize switch cases. + Add GNU extensions %h, %C, %k, %l. + + * time/asctime.c: Make RESULT big enough for each %d to be 2^64. + Protect against tm_wday and tm_mon being out of bounds; use "???" + if they are. + + * time/{emkdir,ialloc,scheck,zic,zdump}.c: New versions from ADO. + + * time/africa, time/antarctica, time/asia, time/australasia, + time/europe, time/northamerica, time/southamerica, + time/pacificnew, time/etcetera, time/factory, time/systemv, + time/solar87, time/solar88, time/solar89, time/leapseconds: + Updated from Arthur David Olsen's latest. + + * sysdeps/generic/__expm1.c, sysdeps/generic/asinh.c, + sysdeps/generic/exp__E.c, sysdeps/generic/log.c, + sysdeps/generic/log1p.c, sysdeps/generic/mathimpl.h, + sysdeps/generic/pow.c, sysdeps/mach/hurd/__ioctl.c, + sysdeps/mach/hurd/stdio_init.c, sysdeps/unix/bsd/clock.c: Put + `const' qualifier always after storage classes. + + * sysdeps/unix/bsd/sequent/i386/__sigvec.S (trampoline): Use + `call', not `jsr'. + (__sigvec): Exchange the scratch reg with 16(%esp) (fourth arg + slot), not 0(%esp) (return PC slot). Use ARGS_4 to point the + syscall at the args. + + * sysdeps/unix/common/__getgrps.c: When gid_t==int, and SIZE!=0, + return N from __bsd_getgroups. + + * posix/unistd.h (__need_NULL): Define before including . + 1003.1-1990 2.7.1 says it should be here. + +Sat May 15 14:54:25 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) + + * time/__tzset.c (compute_change): Add 1900 to YEAR, not 1970. + +Fri May 14 21:24:19 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + * sysdeps/unix/sysv/sysv4/solaris2/start.c: Define NO_EXPLICIT_START. + * sysdeps/unix/sparc/start.c [NO_EXPLICIT_START]: Don't asm + `_start' into `start' (e.g., for Solaris). + + * sysdeps/unix/sysv/sysv4/solaris2/sysdep.h: New file. + +Fri May 14 19:34:54 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * malloc/Makefile: Remove depend-malloc dependency on malloc/gmalloc.c. + + * posix/Makefile (headers): Add sys/unistd.h. + * posix/sys/unistd.h: New file, just includes . + + * sysdeps/unix/common/glue-ctype.c (main): Define generated array + as `unsigned char' rather than `char'. + + * sysdeps/unix/start.c [__GNUC__]: Use asm frob to make `start' + asm name of _start. + + * sysdeps/unix/opendir.c [! _STATBUF_ST_BLKSIZE]: Don't fstat and + use st_blksize; try BUFSIZ instead. + + * sysdeps/unix/Makefile (ioctls): Don't use sed to remove final | + from snarf-ioctls output; just append a dummy alternative instead. + + * sysdeps/posix/__wait3.c: Fix arg types. + + * Makerules ($(common-objpfx)stub-$(subdir)): Use @ for sed + separator char. Pass extra file /dev/null in case `...` gets empty. + + * sysdeps/unix/sysdep.h (C_LABEL): Define new macro. + * sysdeps/unix/i386/sysdep.h (ENTRY): Use it. + * sysdeps/unix/sparc/sysdep.h (ENTRY): Likewise. + * sysdeps/unix/sparc/__brk.S: Use C_LABEL and ENTRY instead of + C_SYMBOL_NAME. + * sysdeps/unix/i386/__brk.S: Use C_LABEL instead of C_SYMBOL_NAME. + +Fri May 14 17:41:42 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + * sysdeps/mips/sqrt.c [HAVE_GNU_AS]: Use the IEEE 754 version of + sqrt since gas can't handle the `sqrt.d' synthetic instruction. + +Fri May 14 16:33:47 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * stdio/Makefile (routines): Add tempname. + + * sysdeps/unix/common/make_siglist.c: #define const to empty + around #include of . + + * sysdeps/unix/errnos.awk: Surround generated `DO' macro calls + with #ifdef on the E* symbol. + + * sysdeps/unix/common/make_siglist.c [! HAVE_SYS_SIGLIST && + HAVE__SYS_SIGLIST]: Define sys_siglist to _sys_siglist. + + * termios/Makefile (headers): Add termbits.h. + + * posix/Makefile (headers): Add waitflags.h and waitstatus.h. + + * math/math.h (struct __complex): Rename to struct __cabs_complex. + __complex is now a reserved word in GCC. + * sysdeps/generic/cabs.c (cabs): Likewise. + * sysdeps/ieee754/cabs.c (cabs, z_abs): Likewise. + + * sysdeps/unix/common/glue-ctype.c: Test for _ctype__ before _ctype_. + + * posix/Makefile (headers): Add confname.h. + +Thu May 13 00:25:53 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * ctype/Makefile (tags_sources): Don't define. + * MakeTAGS [subdir==ctype] (tags_sources): Put headers before sources. + + * time/__tzset.c (compute_change): Add 1970 to YEAR before using it. + + * sysdeps/unix/readdir.c: Pass a BASEP arg to __getdirentries. + +Wed May 12 20:36:51 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * Makefile (distribute): Add aclocal.m4. + + * dirent/list.c (test): Clear errno before readdir loop. Complain + if errno is set thereafter. + + * sysdeps/unix/sysv/sysv4/solaris2/utsnamelen.h: New file. + * sysdeps/unix/sysv/sysv4/solaris2/__utimes.S: New file. + * sysdeps/unix/sysv/sysv4/solaris2/sigaltstack.S: New file. + * sysdeps/unix/sysv/sysv4/solaris2/Makefile: New file. + + * sysdeps/unix/bsd/sun/sparc/start.c: Moved to sysdeps/unix/sparc. + * sysdeps/unix/sparc/start.c: Moved from sysdeps/unix/bsd/sun/sparc. + Surround all shared library frobnication code with #ifndef NO_SHLIB. + * sysdeps/unix/sysv/sysv4/solaris2/start.c: New file. + + * configure.in (os = solaris[2-9]*): base_os=unix/sysv/sysv4. + + * sysdeps/sparc/setjmp.S: Include , not "DEFS.h". + Use ENTRY(__setjmp) instead of FUNC(___setjmp). + + * sysdeps/sparc/divrem.m4: [__svr4__]: Include + instead of . + + * sysdeps/sparc/__longjmp.S: Include , not "DEFS.h". + Use ENTRY(__longjmp) instead of FUNC(___longjmp). + [__svr4__]: Use instead of . + + * sysdeps/unix/i386/sysdep.h (C_SYMBOL_NAME, SYS_ify): Moved to + sysdeps/unix/sysdep.h. + * sysdeps/unix/sparc/sysdep.h: New file. + * sysdeps/unix/bsd/sun/sparc/sysdep.h: File removed. + + * sysdeps/unix/sparc/__brk.S: New file. + * sysdeps/unix/sparc/__brk.c: File removed. + +Wed May 12 19:43:37 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * malloc/cfree.c: Put malloc.h include in _MALLOC_INTERNAL conditional. + +Wed May 12 16:24:23 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * Makeconfig (+link): Put $(LDFLAGS) in the value. + * sysdeps/unix/bsd/sun/sparc/Makefile (LDFLAGS): Set it. + + * posix/glob.c: Move include before dir includes. + [HAVE_UNISTD_H] [! POSIX] [_POSIX_SOURCE]: Define POSIX. + + * grp/initgroups.c [! NGROUPS_MAX || NGROUPS_MAX == 0]: Just + return 0 and do nothing. + + * sysdeps/unix/sysv/sco3.2.4/__{sys,path}conf.S: New files. + * posix/unistd.h: Include ; remove _{SC,CS,PC}_* defns. + * sysdeps/generic/confname.h: New file. + * sysdeps/unix/sysv/sco3.2.4/confname.h: New file. + + * malloc/cfree.c: Include instead of . + [_LIBC]: Use function_alias only under this conditional. + [! _LIBC] (cfree): Define a function that just calls free. + + * posix/Makefile (glob.tar): Depend on glob/ChangeLog. + (glob/configure): Just run autoconf, don't do a sub-make. + (glob/ChangeLog): New target. + (%.Z, %.z): New rules. + +Mon May 10 16:56:09 1993 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * malloc/cfree.c: Put the meat of the file inside a "#if + defined(__GNU_LIBRARY__)" clause, so that gmalloc.c, which + incorporates this file, can be used outside of the C library. + +Sun May 9 16:57:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * stdio/fseek.c: Don't call __flshfp unless STREAM is writable. + + * string/tester.c (main): Remove unused variable. + + * sysdeps/unix/bsd/set[er][gu]id.c: New files. + + * sysdeps/unix/mk-local_lim.c (NAME_MAX): Define to 255 if undefined. + + * malloc/Makefile (malloc-dist): Add ChangeLog and mem-limits.h. + (malloc/ChangeLog): New rule using Noah's changelog-extract. + (malloc.tar): Use o flag to tar to make compatible archives. + (gmalloc-routines): Add calloc, valloc, and cfree. + (dist-routines): Remove [cv]alloc from here. + (routines): Remove cfree from here. + +Fri May 7 16:45:54 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/posix/ttyname.c: Replace fixed-sized NAME array with + static char *NAME and static size_t NAMELEN. + Don't check S_ISCHR. + Don't hack NAME before the loop. + If need more than NAMELEN chars to hold the name, increase NAMELEN + to more than big enough and malloc NAME. + Save errno in local var SAVE before doing anything; restore it + when returning non-error. + + * Makefile (generated): Add $(objpfx)stubs.h. + (README): New rule to call Make-dist to do the work. + + * mach/Makefile: Don't include mach-syscalls.mk if no_deps=t. + + * crypt/GNUmakefile (%.z): New rule for gzipping. + (crypt.tar): Use o flag to tar to make compatible archives. + + * Makeconfig: Find config.make in $(common-objpfx), not $(objpfx). + + * io/Makefile (headers): Remove filebits.h. + + * sysdeps/unix/sysv/sysv4/Dist: File removed. + + * Makefile (README): Move from here. + * Make-dist (README): To here. + + * sysdeps/unix/Makefile (sys/param.h): Don't depend on sys/. It + was causing sys/param.h to be remade all the time. + + * aclocal.m4 (GLIBC_PROVIDES): Add shell comment about configure + being generated and not to be editted. + + * sysdeps/unix/swapon.S: Moved to sysdeps/unix/common. + * sysdeps/unix/configure: Add swapon to list of syscalls to check for. + + * sysdeps/unix/mk-local_lim.c: New file, modified from + sysdeps/unix/common/mk-local_lim.c. + * sysdeps/unix/common/Makefile: Move local_lim.h rules from here. + * sysdeps/unix/Makefile: Put them there. + (local_lim-CFLAGS): Define new variable. + (mk-local_lim): Replace $(native-compile) with its value plus + $(local_lim-CFLAGS). + * sysdeps/unix/common/Dist: Remove mk-local_lim.c. + * sysdeps/unix/Dist: Add it here. + + * Makerules (make-dummy-dep): New variable; canned command. + ($(objpfx)%.dep: {$(objpfx),}%.s): New rules using $(make-dummy-dep). + (sysd-Makefile): Write a $(objpfx)%.dep: $dir/%.s rule using it. + + * misc/ioctl.c: Replace function_alias with: + [HAVE_GNU_LD]: Use symbol_alias. + [! HAVE_GNU_LD]: Write out the function; it must fetch its third arg + with va_arg and then call __ioctl. + +Thu May 6 14:56:16 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * misc/sys/ioctl.h (__ioctl, ioctl): Changed prototype to take 2 + args and ... rather than a 3rd __ptr_t arg. + * sysdeps/stub/__ioctl.c: Changed defn. + + * sysdeps/unix/bsd/sun/sunos4/tcflow.c: Include . + + * sysdeps/unix/Makefile (make-ioctls-CFLAGS): Define as + -DHAVE_SYS_TERMIOS_H if $(sysincludedir)/sys/termios.h exists. + (make-ioctls): Replace command `$(common-objdir-compile)' with + that var's contents from Makerules, plus $(make-ioctls-CFLAGS). + * sysdeps/unix/ioctls-tmpl.c [HAVE_SYS_TERMIOS_H]: Get . + + * misc/sys/ioctl.h: Include after . + + * sysdeps/unix/bsd/sun/sunos4/speed.c (cfget[io]speed): Return the + raw speed, rather than using it as an index into `speeds'. + (cfset[io]speed): Treat SPEED being an index into `speeds' just as + if it were the value of that element. + + * termios/termios.h: Remove definitions of B[0-9]+ and EXT[AB]. + * sysdeps/generic/termbits.h: Put them here instead. + * sysdeps/unix/bsd/sun/sunos4/termbits.h: Add new defns for those. + + * sysdeps/unix/Makefile (termbits-edit): If termbits.h is not the + generic version, set this to an | egrep command which filters out + symbols appearing in termbits.h. + (ioctls): Depend on $(sysincludedir)sys/termios.h if it exists. + Pass all deps after first to snarf-ioctls. + Put $(termbits-edit) in cmd line; it may be empty or a pipe. + Pipe through sort|uniq before tr (just to cut down on duplicates). + + * sysdeps/generic/Makefile, sysdeps/unix/Makefile: When deciding + whether to generate files whose stub versions are chosen, also + include the generation rules when the chosen directory is + $(common-objpfx), so they continue to be defined after running once. + + * sysdeps/posix/Makefile: Use patsubst instead of substition + references when the substitution or replacement contains a $. + Make has a bug (which I just fixed) with such substitution references. + + * posix/wait3.c: Fixed arg types in fn alias. + * posix/wait4.c: Likewise. + + * sysdeps/posix/Makefile: Remove vpath %.h line. + * Makerules: Add vpath %.h directive. + + * sysdeps/posix/Makefile (generated, before-compile): Add + $(common-objpfx)stdio_lim.h, not just plain stdio_lim.h. + + * Makerules (depend-$(subdir)): Put $(objpfx) in the output, not + its expansion. + (+make-deps): Add sed clause to translate the expansion of + $(objpfx) back into the variable reference. + +Wed May 5 15:59:40 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/sysv/sco3.2/local_lim.h: New file. + + * sysdeps/unix/sysv/sco3.2/Makefile: New file + * sysdeps/unix/sysv/sco3.2/Dist: New file. + * sysdeps/unix/sysv/sco3.2/__fltused.c: New file. + + * sysdeps/unix/configure: New file. + * sysdeps/unix/inet/__select.S: Moved to sysdeps/unix/common. + This is because select is a call sysdeps/unix/configure wants to + check for, and it simplifies life for all those to be in unix/common. + + * sysdeps/tahoe/Implies: Remove $(bsdmath)tahoe line. + + * sysdeps/unix/sysv/sco3.2.4/{__sigact,__sigproc, + sigpending,sigsuspend}.S: New files. + + * Makefile (INSTALL): Depend on manual/maint.texi, not + manual/maint.texinfo. Use -- instead of + for long options. + + * configure.in: After setting $sysnames initially and adding the + FPU directory, expand and uniquize the list with code that used to + be in find-sysdirs. Make $sysnames blank-separated rather than + newline-separated. Generalize loop iterating over $sysnames, so + it sets $uname and sources sysdep configure scripts. Move + sys_siglist and ctype checks to sysdeps/unix/common/configure.in. + Set Make variable `config-sysdirs' to $sysnames in config.make, + and don't frob Sysnames or sysdirs files at all. + * find-sysdirs: File removed. + * Makefile (distribute): Remove find-sysdirs. + (sysd-dirs): Depend on config.make instead of config.make. + Use $(sysdirs) in place of `cat $<`. + * aclocal.m4: New file. + * sysdeps/unix/common/configure.in: New file, contains checks for + sys_siglist and ctype glue moved from top-level configure.in. + * Makerules (sysdirs, Sysnames): Rules removed. + Don't include sysdirs. + (sysdirs): Define variable from $(config-sysdirs). + (sysd-Makefile): Depend on config.make instead of sysdirs. + Use $(sysdirs) instead of filtering the sysdirs file. + * Make-dist (+sysdep-tsrcs): Include configure and configure.in + from sysdep dirs. + (dist.tar): Use o flag to tar for compatible archives. + (dist): Depend on foo.z instead of foo.Z. + ($(tardir){-crypt,}.tar.z): Renamed from .Z. + (%.z: %): New rule. + (%/configure: %/configure.in): New rule. + +Mon May 3 17:45:06 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/sysv/sco3.2.4/__waitpid.S: New file. + + * sysdeps/unix/sysv/sco3.2.4/direct.h: New file. + + * sysdeps/unix/readdir.c: Moved from unix/bsd, rewritten to always + use __getdirentries and D_NAMLEN macro, no #ifdefs. + * sysdeps/unix/sysv/readdir.c, sysdeps/unix/bsd/bsd4.4/readdir.c, + sysdeps/unix/bsd/ultrix4/readdir.c, + sysdeps/unix/bsd/hp/m68k/readdir.c, + sysdeps/unix/bsd/sun/readdir.c: Files removed. + * sysdeps/unix/common/{close,open,rewind,seek,tell}dir.c: Moved to + sysdeps/unix. + * sysdeps/unix/sysv/direct.h: New file. + * sysdeps/unix/bsd/direct.h (D_NAMLEN): Define to use d_namlen. + * sysdeps/unix/sysv/sysv4/direct.h (D_NAMLEN): Define to calculate + from d_reclen. + * sysdeps/unix/__getdents.c: New file. + * sysdeps/stub/direct.h: New file. + * sysdeps/unix/bsd/Dist: Remove bsddir.h. + * sysdeps/unix/sysv/sysv4/readdir.c: Moved to unix/sysv. + * sysdeps/unix/sysv/sysv4/bsddir.h: Renamed to direct.h. + * sysdeps/unix/bsd/bsddir.h: Likewise. + * sysdeps/unix/common/opendir.c: Include "direct.h", not "bsddir.h". + * sysdeps/unix/sysv/sysv4/readdir.c: Likewise. + * dirent/Makefile (distribute): Define to include direct.h. + + * sysdeps/unix/common/opendir.c: Be sure to close FD if fcntl fails. + + * sysdeps/generic/memcopy.h: #include and use __P + prototypes instead of EXFUN. + + * sysdeps/generic/memcmp.c (__ptr_t, const): Define as appropriate + conditional on [__cplusplus || __STDC__]. + +Thu Apr 29 21:48:37 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makefile ($(libc.a)): Make this, not lib, depend on subdir_lib. + + * Makerules ($(objpfx)%.{o,dep} rules): Remove spurious / after + $(objpfx) in dependency patterns. + + * sysdeps/unix/bsd/sun/sparc/start.c (_start): Define with + `asm ("start")', so its asm name is `start' rather than `__start'. + Remove asm that did a `.set' pseudo-op, which Sun as seems not to grok. + +Wed Apr 28 12:59:46 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/stub/system.c: Return 0 if LINE is nil. + + * sysdeps/unix/__execve.S [!SYS_execve && SYS_exec]: Define + SYS_execve to be SYS_exec. + + * time/mktime.c: Include . + +Mon Apr 26 17:10:21 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * sysdeps/generic/memcmp.c: Deansideclized. + [HAVE_CONFIG_H]: Include "config.h". + [HAVE_STRING_H || _LIBC]: Put #include under this. + [_LIBC]: Put #include under this conditional. + [! _LIBC]: Define op_t, OPSIZ, byte, and MERGE. + + * time/mktime.c: Define __isleap if not defined. + +Fri Apr 23 18:08:33 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * sysdeps/unix/sysv/__getdents.c: New file. + * sysdeps/unix/sysv/sysv4/sys_getdents.S: Moved to unix/sysv. + * sysdeps/unix/sysv/Makefile [subdir==dirent]: Add sys_getdents to + sysdep_routines. + * sysdeps/unix/sysv/Dist: Add sys_getdents.S. + * sysdeps/unix/sysv/sysv4/Dist: Remove it from here. + * sysdeps/unix/sysv/sysv4/Makefile: File removed. + +Thu Apr 22 17:40:28 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/bsd/sony/newsos4/m68k/sysdep.h: New file. + + * sysdeps/generic/strsep.c: Set *STRINGP to END+1, not END. + + * configure.in (arg parsing): Grok --verbose and set verbose=yes. + + * sysdeps/sparc/{umul,mul}.S: Remove ' from ! comment. + + * sysdeps/sparc/Makefile (*.S): Find divrem.m4 in this sysdeps dir. + + * sysdeps/unix/bsd/sun/sunos4/speed.c (cfset[io]speed): Typo fix. + + * sysdeps/unix/bsd/sun/sparc/vfork.S: Use a sethi insn and %g1 as + a temporary, rather than expecting the address to fit into a short + jump. + + * sysdeps/unix/bsd/__fork.S: Moved to sysdeps/unix/__fork.S; we + want unix/MACHINE/__fork.S to come first. + + * sysdeps/unix/bsd/bsd4.4/__wait3.c: Make STAT_LOC type + `__WAIT_STATUS' (defined in ). + * sysdeps/unix/bsd/sun/sunos4/__wait4.c: Likewise. + + * signal/sigvec.c: Change args from `struct __sigvec *' to + `struct sigvec *' in function alias. + + * signal/sigproc.c: Make arg SET `const sigset_t *' in fn alias. + + * signal/sigaction.c: Change args from `struct __sigaction *' to + `struct sigaction *' in function alias. + + * sysdeps/unix/common/glue-ctype.c (main) [! TABLE]: Write just a + comment saying we don't know the table name, rather than barfing + with `TABLE' an undefined variable. + + * sysdeps/generic/printf_fp.c: Fixed test to chose %e format. + Make loop condition --J > 0; break out of loop when FPNUM < F. + After loop, use %e format iff J <= 0. + + * posix/glob/Makefile.in (.c.o): Put $(CFLAGS) last. + (glob.o): Depend on glob.c. + (fnmatch.o): Depend on fnmatch.c. + +Wed Apr 21 12:40:03 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/posix/Makefile (before-compile): Add stdio_lim.h. + + * configure.in (signed size_t test): Remove 's from rhs of AC_DEFINE. + + * stdio/internals.c (seek_to_target): If __stdio_check_offset + fails with ESPIPE, do nothing. + + * sysdeps/generic/printf_fp.c: For %e type, add K-1 to CUTOFF, + rather than K. + When there are no post-decimal digits, never write a decimal point + for a %g spec unless it had a # modifier. + Move K==-1 test to write decimal point before K==CUTOFF test to + round and write last digit. + Merge code for first post-decimal digit with code for remaining digits. + Move code to write leading fractional zeros inside K<0 test which + determines if any will be needed. + In decimal fraction notation code, use R10 temporary instead of + repeating (R * 10) twice. + + * stdio/fwrite.c: Only fail when __stdio_check_offset fails if it + failed with ESPIPE. If offset==-1, don't change it or target. + + * sysdeps/posix/defs.c (stdstream): Rearrange initializers, as + FILE has been rearranged. Set offset and target to -1, not 0. + + * sysdeps/posix/stdio_init.c: If STREAM isatty, set its seek + function to NULL. Unix bites. + + * stdio/ungetc.c: Call __flshfp if linebuf_active or put_limit>buffer. + + * sysdeps/unix/bsd/sun/sparc/start.c [__GNUC__ < 2]: #error. + + * time/mktime.c: Deansideclized. + Don't include or ; we don't need them. + [DEBUG] (printtm): Made static. + [HAVE_CONFIG_H]: Include "config.h". + [__GNU_LIBRARY__ || HAVE_LIMITS_H]: Surround #include + with these conditionals. + + * time/offtime.c (__mon_lengths): Move defn to mktime.c; replace + with extern decl. + * time/mktime.c (__mon_lengths): Define here; remove extern decl. + +Mon Apr 19 18:42:59 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/stub/tempname.c: New file. + * sysdeps/stub/sysd-stdio.c (__stdio_gen_tempname): Moved there. + * sysdeps/posix/tempname.c: New file. + * sysdeps/posix/sysd-stdio.c (__stdio_gen_tempname): Moved there. + + * stdio/fopen.c: Don't set the offset to zero. That can falsely + give the impression that an unseekable object is seekable. + + * stdio/internals.c (__flshfp): Discard any pushed back character + first thing after sanity checks. + (__flshfp): Deconditionalize code to call the output-room + function; we always want to give it a chance to prime the stream. + Remove code that reset bufp if put_limit==buffer. We want to let + the output-room function do that--that is priming the stream. + +Fri Apr 16 12:24:21 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makerules ($(libc.a)): Depend on lib-noranlib and have ranlib + command line. + (lib): Just depend on $(libc.a). + + * sysdeps/unix/bsd/sun/sparc/start.c (init_shlib): Use __environ, + not environ. + + * stdio/internals.c (__flshfp): Don't check that the buffer + actually contains anything when setting the put_limit to the end of + the buffer if linebuf_active. + (__flshfp): To write C into the buffer !FLUSH_ONLY, don't check + that bufp > buffer and get_limit == buffer. Check against + put_limit unless linebuf_active (in which case check against the + real put_limit, fp->__buffer + fp->__bufsize). + (__flshfp): Bother to call the output-room function if !FLUSH_ONLY + or bufp > buffer and get_limit <= linebuf-corrected put_limit. + (__flshfp): Check for a NULL output-room function before checking + if C will fit in the buffer. + (flushbuf): After putting C into the buffer, + set BUFFER_WRITTEN to zero and goto end instead of returning. + + * stdio/ungetc.c: Test STREAM->__pushed_back before flushing the + STREAM if it's writable. + + * posix/glob.c, posix/fnmatch.c: Surround code with + #if defined (_LIBC) || !defined (__GNU_LIBRARY__) + +Thu Apr 15 19:35:59 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * string/tester.c (main): Added tests for strsep. + + * sysdeps/ieee754/frexp.c: New file. + +Wed Apr 14 12:49:10 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makerules (ar-it): Add c flag to ar commands. + + * posix/glob.c [USG, NeXT]: Don't test these. + [HAVE_STRING_H]: Test this to include string.h and define ANSI_STRING. + [HAVE_MEMORY_H]: Test this instead of NEED_MEMORY_H. + [! ANSI_STRING]: Put decls of bcopy and #define of memcpy et al here. + + * posix/fnmatch.c [HAVE_CONFIG_H]: #include "config.h". + +Mon Apr 12 16:34:53 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * posix/glob.c: Rationalize directory header conditionals. + +Sun Apr 11 18:53:50 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * stdio/internals.c: Remove __libc_fatal. + * sysdeps/stub/sysd-stdio.c: Remove __stdio_errmsg. + * sysdeps/posix/sysd-stdio.c: Likewise. + * sysdeps/stub/libc_fatal.c, sysdeps/posix/libc_fatal.c: New files. + * stdio/Makefile (routines): Add libc_fatal. + + * stdio/stdio.h (FILE): Add new member `__linebuf_active' (flag). + Rearranged order of members slightly. + * stdio/setvbuf.c: Clear the linebuf_active flag. + * stdio/fseek.c: Likewise. + * stdio/internals.c (__flshfp): Test linebuf_active, not linebuf, + to decide to reset put_limit before calling the output-room function. + After calling it, if line-buffered, set put_limit to the + beginning of the buffer and set the linebuf_active flag. + (__fillbf): If linebuf_active is set, reset put_limit to the end + of the buffer, and clear the flag. + + * stdio/ungetc.c: If STREAM is writable and has something in its + buffer, flush it. + + * stdio/internals.c (__fillbf): When flushing all line-buffered + streams, don't test for their put_limits being > than their + buffers. We should let __flshfp figure it out. + + * stdio/setvbuf.c: Always set the put_limit to the beginning of + the buffer. + + * stdio/stdio.h (__putc): Rewritten to remove all knowledge of + magic for line-buffered streams. It now always calls __flshfp when + the bufp hits the put_limit. + + * stdio/fwrite.c: When recalculating BUFFER_SPACE after calling + __flshfp, ignore the put_limit for the sake of line-buffered streams. + + * stdio/fseek.c (fseek): Call __flshfp on STREAM unconditionally. + We don't want to try to put the conditions for when it is + necessary here as well. + + * sysdeps/generic/printf_fp.c: When deciding whether to use %e + format for %g, break out of the loop on J as soon as F reaches + FPNUM; after the loop, set TYPE to 'e' if J<0, meaning we went all + the way through. + + * misc/getpass.c (TCSASOFT): Define to 0 if undefined. + (getpass): Use a variable OUT to store the stream where output goes. + Use a variable NREAD to notice how much was read; if the last char + in the buffer is a newline, clobber it to a null terminator. + + * posix/fnmatch.h [__cplusplus || __STDC__]: Don't #define const. + +Thu Apr 8 19:29:37 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * stdio/tst-printf.c (main): Added some floating-point tests. + + * sysdeps/unix/bsd/sequent/i386/__sigvec.S: New file. + + * sysdeps/unix/sysv/i386/__sigret.S: Moved to sysdeps/unix/i386. + Use DO_CALL instead of magic. + + * sysdeps/unix/bsd/i386/__wait3.S: Use DO_CALL instead of magic. + Use scratch instead of %ecx and r1 instead of %edx. + + * sysdeps/unix/bsd/i386/__vfork.S: Rewritten to not use SYSCALL__. + Use DO_CALL instead, and save the return PC in a register around + the trap. + + * sysdeps/unix/i386/sysdep.h (DO_CALL): New macro to do syscall trap. + (PSEUDO): Use it instead of putting the code here. + + * stdio/vfprintf.c (number): Write "0x" before padding, not after. + + * sysdeps/unix/bsd/sequent/i386/sysdep.h: New file. + + * sysdeps/unix/bsd/__setuid.c: #include . + Change argument type to uid_t. + * sysdeps/unix/bsd/__setgid.c: #include . + Change argument type to gid_t. + + * sysdeps/unix/common/__getgrps.c: Restore errno after erroneous + syscall failure. + + * stdio/tst-printf.c (fp_test): New function, batch of tests from + a bug report. + (main): Call it. + +Wed Apr 7 17:17:17 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/generic/pow.c (pow_p): Don't initialize K; was a dead store. + +Mon Apr 5 21:17:58 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/common/__getgrps.c: If __bsd_getgroups returns an + error and SIZE==0, alloc temp space for NGROUPS_MAX elts and call + it again on that, so we can find the number of groups. + + * stdio/__vfscanf.c (input_error): If DONE is nonzero, return it; + else return EOF. + (%c): Don't check for C==EOF at the end; let the following spec get it. + (%[eEfgG]): EOF after sign is conv_error, not input error. + + * sysdeps/unix/common/__getgrps.c: If gid_t==int, pass LIST to + __bsd_getgroups, not NULL. + No error for SIZE > NGROUPS_MAX. + +Sun Apr 4 18:52:34 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/{bsd,sysv}/i386/Implies: Files removed. + They should no longer be necessary, since configure now tries more + sysdeps directory permutations. + + * sysdeps/unix/bsd/{i386,sun/sparc,hp/m68k,ultrix4/mips}/__set[ug]id.S: + Files removed. They should no longer be necessary, since the new + sysdeps scheme should find unix/bsd/__set[gu]id.c before + unix/__set[gu]id.S. + + * sysdeps/unix/i386/__pipe.S: Use r1 in place of %edx and scratch + in place of %ecx. + * sysdeps/unix/i386/__wait.S: Likewise. + * sysdeps/unix/i386/__fork.S: Use r1 in place of %edx and r0 in + place of %eax. + * sysdeps/unix/i386/__vfork.S: Likewise. + * sysdeps/unix/i386/sysdep.h (scratch): #define as %ecx. + * sysdeps/unix/sysv/i386/linux/sysdep.h: Likewise. + + * configure.in ($uname = generic): Set kernel_{version,release} to + empty before all else. + If /vmunix doesn't exist, try grovelling over /dynix instead. + + * sysdeps/unix/Makefile (syscall.h): Double $ in sed cmd. + +Fri Apr 2 15:15:44 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * configure.in (config_vars): New variable; text to go in config.make. + Use AC_HEADER_EGREP to grovel stdarg.h for __gnuc_va_list and set + stdarg.h in config_vars if we find it. + + * sysdeps/unix/bsd/sun/sunos4/tcsendbrk.c, + sysdeps/unix/bsd/sun/sunos4/tcflow.c, + sysdeps/unix/bsd/sun/sunos4/tcflush.c, + sysdeps/unix/bsd/sun/sunos4/tcsetattr.c, + sysdeps/unix/bsd/sun/sunos4/__tcgetatr.c: New files. + + * sysdeps/unix/Makefile (syscall.h): Add sed cmd to terminate + unterminated comments at the ends of lines. + + * sysdeps/posix/getcwd.c: Deansideclized and added four tons of + portability goop. + +Mon Mar 29 13:18:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/bsd/sun/sunos4/speed.c: New file. + + * sysdeps/generic/termbits.h: New file, contents taken from termios.h. + * termios/termios.h: Remove type & macro defns; #include . + [__OPTIMIZE__] (cf[gs]et[io]speed): Remove macro versions. They + just cause trouble because they want to be in termbits.h (since + they are sysdep) and also to come after the prototypes (which must + come after termbits.h to get speed_t and struct termios defined). + The optimization was insignificant anyway. + * termios/speed.c: Moved to sysdeps/generic. + + * termios/cfsetspeed.c: Call cfset[io]speed, rather than doing it + ourselves. + + * time/__tzset.c (tz_rule): Make member `secs' not a bitfield. + (compute_change): Complete rewrite; code basically stolen from + localtime3/localtime.c:transtime. + #include "tzfile.h" for SECSPERDAY; #define NOID first. + + * sysdeps/unix/bsd/i386/__vfork.S: Don't try to #include __fork.S. + Instead, copy that code here and change `fork' to `vfork'. + + * Makeconfig (+default_cflags): Rename to default_cflags. + (+cflags): Use that name. + + * Makefile (configure): New rule. + +Sun Mar 28 16:12:33 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * posix/fnmatch.c (case '*'): Before final loop, fold C1, rather + than foling *P before it goes into C1. C might need folding instead. + + * posix/Makefile (tests): Add testfnm. + * posix/testfnm.{c,args}: New files. + +Fri Mar 26 15:04:27 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * time/mktime.c: Wholly new implementation from Noel Cragg. + + * sysdeps/unix/bsd/sun/__sigret.S: New file. + * sysdeps/unix/bsd/sun/m68k/{Makefile,Dist}: New files. + * sysdeps/unix/bsd/sun/m68k/{sigcontext.h,sigtramp.c}: New files. + * sysdeps/unix/bsd/sun/sparc/__sigvec.S: Moved to sysdeps/unix/bsd/sun. + + * Makefile (clean): Remove sysd-Makefile, sysd-dirs, sysdirs + (distclean): New target. + * sysdeps/unix/common/Makefile (generated): Add local_lim.h, + mk-local_lim, glue-ctype, glue-ctype.c, siglist.c, make_siglist. + * sysdeps/generic/Makefile (generated): Add bytesex.h, + det_endian, siglist.c, make_siglist. + * sysdeps/unix/Makefile (generated): Add errnos.h, errnos, + make-errnos, make-errnos.c, ioctls.h, ioctls, make-ioctls, + make-ioctls.c, errlist.c, make_errlist, syscall.h, sys/param.h, + param.h.c, param.h.dep, $(sys/param.h-includes). + + * misc/Makefile (extra-objs): Define new var to include bsd-compat.o. + +Fri Mar 26 14:53:30 1993 Michael John Haertel (mike@skinner.cs.uoregon.edu) + + * malloc/malloc.c (malloc): Start searching at _heapindex, not + MALLOC_SEARCH_START. + * malloc/malloc.h (MALLOC_SEARCH_START): Macro removed. + * malloc/realloc.c (realloc): When malloc returns NULL, handle the + case of the block we need to unfree (which was just freed) having + been coalesced with its neighbors. + +Thu Mar 25 13:40:17 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Rules (all): Depend on others. + + * time/Makefile (zonenames): Change target to $(objpfx)zonenames. + Make the generated file prepend $(objpfx) to + Include that instead of zonenames. + (zones-%): Change target to $(objpfx)zones-%. + + * Makefile ($(objpfx)Mcrt1.o): Put temporary Mcrt1.c file in + $(objdir), rather than the current directory. + + * configure.in (arg parsing): Recognize `--exec-prefix' rather + than `--exec_prefix'. + + * Rules (mostlyclean): Remove the .o files for $(tests) and $(others). + Remove $(objpfx)depend-$(subdir). + (clean): Remove $(extra-objs). + * Makefile (clean): Remove $(install-lib) from $(objdir). + Don't try to remove ansi/ and trad/ or dist.tar or lint.out. + Remove $(objpfx)depend-. + * time/Makefile (extra-objs): Define new var. + * malloc/Makefile (extra-objs): Likewise. + + * Rules (+objs): Variable removed. + (clean): Use $(objects) in place of $(+objs). + + * sysdeps/unix/Makefile (sys/param.h-includes): Move all this + outside of ifeq ($(subdir),misc). + Fixed sed command to filter out [hn]to[nh][sl]. + (sys/param.h-includes): New target; dep on $(sys/param.h-includes). + + * posix/fnmatch.h [!_POSIX_C_SOURCE || ...]: Make this test + _GNU_SOURCE, not _BSD_SOURCE; these are our extensions, not theirs. + (FNM_CASEFOLD): New bit. + (__FNM_FLAGS): Removed macro. + * posix/fnmatch.c (fnmatch): Don't test for bogus flag bits; who cares? + (FOLD): New macro to casefold a char if FNM_CASEFOLD. + Use it to fold all chars before comparison. + +Wed Mar 24 16:09:26 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * malloc/Makefile (malloc/%.c, malloc/%.h): Rules removed. + + * stdio/stdio.h (fopencookie): Rename parameter IO_FUNCTIONS to + IO_FUNCS. The former conflicted with a typedef name, which ist + verboten. + + * time/sys/time.h (enum __itimer_which): Remove trailing comma. + +Mon Mar 22 15:35:54 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * malloc/malloc.h [_MALLOC_INTERNAL] + [__GNU_LIBRARY__ || STDC_HEADERS || USG] (memmove): Define in + terms of bcopy. + * malloc/malloc/gmalloc-head.c: Redo previously undone change. + +Thu Mar 18 04:59:21 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * malloc/malloc/gmalloc-head.c: Undo previous change. + +Wed Mar 17 12:22:21 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * mach/mach.h: New file. + + * Rules (clean): Remove $(generated), not $(clean-extras). + (subdir_echo-distinfo): Use $(generated) instead of $(dont_distribute). + (generated): Export this instead of dont_distribute. + * stdlib/Makefile (generated): Set this, not dont_distribute. + * sysdeps/posix/Makefile: Likewise. + * sysdeps/unix/sysv/Makefile: Likewise. + * sysdeps/unix/Makefile: Likewise. + * Makefile (generated): Export this instead of dont_distribute. + (parent_echo-distinfo): Use $(generated) instead of $(dont_distribute). + * Make-dist (+tsrcs): Filter out $(generated), not $(dont_distribute). + + * mach/mach_init.h (__mach_task_self): Define so as not an lvalue. + (mach_task_self): Surround defn with parens. + + * sysdeps/unix/Makefile (sys/param.h): Put "#include " in. + ($(sys/param.h-includes)): Edit out #define's of *_ENDIAN and + BYTE_ORDER. + + * stdlib/tst-strtol.c (tests): Fully bracket initializers. + + * stdio/bug4.c: Change #ifdef LIBC to #ifdef _LIBC. + + * misc/progname.c (set_progname): Make a useless reference to + set_progname to avoid a `defined but not used' warning. + + * sysdeps/mach/i386/start.c (_cthread_{init,exit}_routine): Remove + `extern'; these want to be uninitialized common defns. + +Mon Mar 15 18:41:05 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * sysdeps/unix/bsd/__times.c (timeval_to_clock_t): Put __inline + before storage class in defn. + + * sysdeps/unix/sysv/signum.h (SIG_ERR, SIG_DFL, SIG_IGN): Cast + values to __sighandler_t, rather than obsolete ansidecl magic. + + * sysdeps/unix/__execve.S [!SYS_execve && SYS_exece]: Define + SYS_execve to be SYS_exece. + + * sysvipc: New directory. + * sysvipc/Makefile: New file. + * sysvipc/sys/ipc.h: New file. + +Fri Mar 12 15:31:44 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * posix/execlp.c (execlp): Remove spurious second declared parameter. + Don't fill ARGV[0] specially; just let the loop do it. + * posix/unistd.h (execlp): Remove spurious second declared parameter. + +Thu Mar 11 13:58:47 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * Makerules (sysd-Makefile): Write %.dep: %.S and %.dep: %.c rules. + Depend on Makerules. + ($(objpfx)%.{o,dep}: $(objpfx)/%.{S,c,s}): New rules to find + sources in $(objpfx) before sysdep directories. + + * configure.in (signed size_t check): Use eval on $CPP, since it + contains unexpanded variable refs. + Send grep output to /dev/null. + Put quotes around 'unsigned long int'. + +Wed Mar 10 18:32:11 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * features.h [! _LIBC]: #include . + * Makerules (stubs): New phony target. + ($(common-objpfx)stub-$(subdir)): New target. + * Makefile (headers): Add stubs.h. + ($(objpfx)stubs.h): New target. + + * Makeconfig (CPPFLAGS): Define _LIBC, not LIBC. + + * Makerules (.SUFFIXES): Remove .m4; we no longer have any such files. + + * inet/netinet/in.h: Don't #include . + (ntohl, ntohs, htonl, htons): Declare. + #include . + [__BYTE_ORDER == __BIG_ENDIAN] (ntohl, ntohs, htonl, htons): + Define no-op macros. + * inet/Makefile (headers): Remove inet-cvt.h. + * sysdeps/vax/inet-cvt.h, sysdeps/generic/inet-cvt.h: Files removed. + * sysdeps/generic/{ntohl,ntohs,htonl,htons}.c + [BYTE_ORDER == LITTLE_ENDIAN]: Byte-swap X before returning it. + +Tue Mar 9 11:32:35 1993 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * malloc/malloc/gmalloc-head.c: Remove #definitions of memset, + memcpy, and memmove; this is taken care of by malloc.h anyway. + +Mon Mar 8 15:12:32 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * sysdeps/mips/jmp_buf.h (JB_PC): Protect with #ifdef __USE_MISC. + + * sysdeps/unix/sysv/sysv4/sigaction.h: Put SA_* except for + SA_NOCLDSTOP inside #ifdef __USE_MISC. + +Mon Mar 8 15:05:13 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + * sysdeps/mips/jmp_buf.h (jmp_buf): Use `__ptr_t', not `PTR', for + member types. + (JB_PC): New define, for backwards compatability with Ultrix. + + * sysdeps/unix/sysv/sysv4/sigaction.h: New file. + +Mon Mar 8 13:20:02 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * posix/glob/Makefile.in (VPATH): Set this to @srcdir@. + (srcdir): Set this to $(VPATH). + + * posix/glob.c (glob): In no matches with GLOB_NOCHECK set case, + add NULL terminator to PGLOB->gl_pathv. + (prefix_array): Renamed arg PREFIX to DIRNAME, local var PRELEN to + DIRLEN. If DIRNAME is just "/", don't prepend it, so we get + "/foo" instead of "//foo". + (glob): Move qsort call outside of the else clause of the + glob_pattern_p test; it should always be done. + +Thu Feb 25 14:49:52 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * malloc/malloc.h [_MALLOC_INTERNAL]: Move #include to + front of file; it needs to come before size_t/ptrdiff_t frobnication. + +Wed Feb 24 16:34:58 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makerules (compile-command.[Ssc]): New variables; define them if + they are not already defined. + (sysd-Makefile): For each directory, write three rules: + %.o: $dir/%.[Ssc]; $(compile-command.[Ssc]). + (sysdep_path): Remove definition and vpath directives. + * sysdeps/m68k/Makefile (compile-command.S): Define our own version. + ($(objpfx)%.o: %.S): Rule removed. + + * sysdeps/unix/sysv/linux/{__dup2,__mkdir,__rmdir,__setpgrp}.S: + Removed. + * sysdeps/unix/sysv/linux/Implies: Created; implies unix/common. + + * sysdeps/unix/sysv/sysv4/{sete[gu]id.S,fchdir.S,signum.h,__sigproc.S}: + New files. + + * sysdeps/unix/sysv/sysv4/time.S: New file. + + * sysdeps/unix/common/Dist: New file; everything from + sysdeps/unix/bsd/Dist except for bsdtty.h and bsddir.h. + * sysdeps/unix/bsd/Dist: Remove things now in sysdeps/unix/common/Dist. + + * sysdeps/unix/bsd/sun/sparc/{__brk.c,__fork.S,__pipe.S,__vfork.S}: + Moved to new directory sysdeps/unix/sparc. + + * sysdeps/unix/common/Implies: New file, in new directory; implies + unix/inet only. + * sysdeps/unix/bsd/Implies, sysdeps/unix/sysv/sysv4/Implies: New + files; both imply unix/common. + * sysdeps/unix/common/Makefile: Moved from sysdeps/unix/bsd. + Changed references to unix/bsd to unix/common. + * unix/bsd/{__access.S,__adjtime.S,__fchmod.S,__fchown.S,__getgrps.c, + __getitmr.S,__getpgrp.S,__getrusag.S,__gettod.S,__lstat.S,__mkdir.S, + __readlink.S,__rmdir.S,__setitmr.S,__setpgrp.S,__symlink.S, + bsd_getgrp.S,closedir.c,ftruncate.S,getrlimit.S,glue-ctype.c, + make_siglist.c,mk-local_lim.c,opendir.c,readv.S,rename.S,rewinddir.c, + seekdir.c,setgroups.S,setrlimit.S,telldir.c,truncate.S,vhangup.S, + writev.S,__dup2.S}: Moved to sysdeps/unix/common. + * sysdeps/unix/sysv/sysv4/{__access.S,closedir.c,opendir.c, + rewinddir.c,seekdir.c,telldir.c}: Removed. + +Mon Feb 22 12:19:19 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/generic/pow.c (pow): Use __isnan to test for NaN rather + than expecting "x!=x" to work. + (pow_p): When testing if Y is an integer, use long int rather than + int; they are different on some systems. Compare against + LONG_MIN+1, not LONG_MIN; (long int) (double) LONG_MIN might overflow. + + * malloc/dist-Makefile (gmalloc.c): Depend on Makefile. + + * malloc/Makefile (gmalloc-routines): New variable. + (dist-routines): Use it. + (malloc/Makefile): Also replace with + $(gmalloc-routines). + (malloc/Makefile): Make it unwritable to avoid accidental lossage. + Depend on Makefile. + + * malloc/dist-Makefile (gmalloc): New variable: . + (gmalloc.c): Use $(gmalloc), not $(sources). + Make the file unwritable to avoid accidental lossage. + + * malloc/mtrace.c: Don't #include because did + it for us. + + * malloc/valloc.c [! __GNU_LIBRARY__]: Replace hairy conditionals + with #include "getpagesize.h". + * malloc/Makefile (distribute, malloc-dist): Add getpagesize.h. + +Sun Feb 21 18:29:30 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/sparc/Makefile (nodist-routines): Don't define. + We want to distribute the generated divrem files; otherwise anyone + building the library must have an m4 that works. + ($(divrem).S): Put these in sysdeps/sparc, not in $(objdir). + (routines): Only put this inside ifeq ($(subdir),gnulib). + + * sysdeps/unix/bsd/sun/m68k/Makefile: File removed. + +Sat Feb 20 16:43:55 1993 Torbjorn Granlund (tege@sics.se) + + * sysdeps/i386/memset.c: Move adjustment of LEN before first stosb. + * sysdeps/i386/bzero.c: Likewise. + +Thu Feb 18 14:34:00 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * malloc/mcheck.c (checkhdr): Use `const', not `__const'. + +Mon Feb 1 19:19:13 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * sysdeps/m68k/fpu/__logb.c: Use two-operand forms of 68881 insns + rather than the one-operand source==dest form. Sun's sun3 + assembler apparently doesn't grok the one-operand form. + + * sysdeps/posix/getcwd.c: Call __lstat instead of stat. + We should not lose on nonexistent symlink targets. + +Thu Jan 21 20:12:25 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * posix/glob.c: Put #includes of and after + all system includes, in case one of them has conflicting defns of + FNM_* or GLOB_*, so we will redefine. #undef FNM_* and GLOB_* + before including our headers. + +Tue Jan 19 16:16:05 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * mach/Makefile (routines): Removed __bcopy. + * mach/__bcopy.c: File removed. + + * posix/glob.c (my_realloc): Cast result of malloc/realloc to (char *). + +Sat Jan 16 14:19:07 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * manual/summary.awk: Handle single word in braces. + +Thu Jan 14 13:52:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * posix/glob/Makefile.in (realclean): Remove Makefile. + +Mon Jan 11 18:32:56 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * sysdeps/unix/bsd/sony/m68k/Implies: Imply unix/bsd/hp/m68k, not + unix/hp/m68k. + + * sysdeps/unix/bsd/tcsetattr.c: Use cbreak mode if ISIG is set, + not if OPOST is set. + Fixed typo in TOSTOP frobbing. + +Tue Jan 5 15:11:31 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * posix/Makefile (glob.tar): Include glob/configure.in. + +Mon Jan 4 17:05:44 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * posix/glob/Makefile.in (RANLIB): Define to @RANLIB@. + (RANLIB_TEST): Removed. + (libglob.a): Don't use it. + +Thu Dec 31 13:08:20 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * sysdeps/unix/bsd/bsd4.4/{chflags,fchflags,setlogin}.S: Fix arg count. + + * sysdeps/posix/Makefile (mk-stdiolim): Use $(cded-objdir-CPPFLAGS). + (cded-objdir-CPPFLAGS): Define new var. + + * sysdeps/unix/Makefile ($(sys/param.h-includes)): Strip trailing + slash from directory name for mkdir. + +Tue Dec 29 18:18:58 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * sysdeps/posix/sysd-stdio.c (exists): Return true if stat fails + with other than ENOENT. + + * sysdeps/posix/__flock.c: New file. + + * malloc/Makefile (dist-headers): Define to malloc.h. + (headers): Replace malloc.h with $(dist-headers). + (malloc/Makefile): Use $(dist-headers) in place of $(headers). + (malloc-dist, distribute): Replace ChangeLog with OChangeLog. + + * malloc/dist-Makefile (malloc.tar{,.Z}): Depend on FORCE. + (FORCE): Define empty target. + +Tue Dec 29 16:45:01 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * sysdeps/sparc/{umul,mul}.S: Use tege's shift+mask hack to avoid + a test and branch for sign fixup. + + * limits.h [__GNUC__ >= 2]: #ifndef _GCC_LIMITS_H_, not _LIMITS_H_, + to #include_next . + + * sysdeps/posix/getcwd.c: Call closedir after copying from the + `struct dirent' buffer, not before. That buffer is freed by closedir. + + * posix/gnu/types.h (__fd_set): Renamed member to `fds_bits' for + compatibility with braindead extant code. + + * sysdeps/posix/sysd-stdio.c (__stdio_gen_tempname): Check for BUF + being too small before doing sprintf. + + * malloc/malloc.h [_MALLOC_INTERNAL], malloc/valloc.c + [HAVE_CONFIG_H]: #include "config.h". + + * Makefile (doc): Removed rule. + (dvi, info): New rule. + +Mon Dec 28 15:50:31 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * posix/glob.c [HAVE_CONFIG_H]: Test this, not SHELL, to decide + whether or not we want to #include "config.h". + +Wed Dec 16 12:01:09 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * inet/Makefile (routines): Removed ruserpass. Why did it get + included in the first place? That version does not match the one + in the NET2 ftp source; whence came it? + +Sat Dec 12 16:41:03 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/bsd/sun/sparc/start.c: Use .set, not GNU ld magic, + to alias asm symbol `start' to `__start'. + +Fri Nov 20 18:20:50 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * stdio/vfprintf.c (%p): Tests of LEFT for "(nil)" were inverted. + + * stdio/tst-printf.c (main): Add `printf ("%#03x\n", 1);'. + Add a width to %p test. + + * stdio/vfprintf.c (unsigned_integer): Clear SHOWSIGN and SPACE + flags before falling into `number:'. The `+' and ` ' flags are + only meaningful for signed numbers. + + * string/tester.c (main): For strstr #11, correct return is first + arg, not end of first arg. + + * stdlib/mbtowc.c: If S is "", return 0. How was I convinced + before that this is not what ANSI says? + + * stdio/__vfscanf.c: Initialize MALLOC_STRING to zero on each + iteration (when we zero is_short et al). + + * sysdeps/posix/mkstemp.c (mkstemp): New file. + * sysdeps/stub/mkstemp.c (mkstemp): New file. + * misc/Makefile (routines): Add mkstemp. + + * sysdeps/posix/mktemp.c: Use `getpid ()' in place of undefined + variable PID. + #include . + + * dirent/scandir.c: If SELECT is nil, don't try to call it. + If CMP is nil, don't sort. + +Wed Nov 18 13:42:09 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/stub/__wait4.c: Changed type of 2nd arg to __WAIT_STATUS. + + * posix/sys/wait.h (__WAIT_STATUS): #if 0 out gcc2 magic defn. + GCC is broken as of 2.3.1. + + * signal/signal.h (__sigaction, sigaction): Fixed type in + prototype from `struct __sigaction' to `struct sigaction'. + + * sysdeps/m68k/fpu/atan2.c (PI, PIo4, PIo2): Removed static vars. + (atan2): Declare PIo4 and PIo2 locally, and compute them from pi. + + * Makerules (native-CFLAGS): Define as $(config-defines). + + * sysdeps/unix/bsd/glue-ctype.c: Upcased all HAVE_* names in #ifdef's. + + * posix/fnmatch.h (FNM_LEADING_DIR): New flag. + * posix/fnmatch.c (fnmatch): Support it. + + * sysdeps/i386/bytesex.h: New file. + * sysdeps/i386/endian.h: Removed. + * sysdeps/stub/bytesex.h: New file. + * sysdeps/stub/endian.h: Removed. + * sysdeps/generic/Makefile (bytesex.h): Create with det_endian. + (endian.h): Removed old rule. + (before-compile): Replace endian.h with bytesex.h. + * string/Makefile (headers): Add bytesex.h. + * string/endian.h: New file. + * sysdeps/generic/det_endian.c: Rewritten to output just one line, + a #define of __BYTE_ORDER to 1234, or 4321, etc. + * inet/arpa/nameser.h: #include , rather than #ifdef'ing + on misc. things to #define BYTE_ORDER. + * sysdeps/generic/waitstatus.h: Test value of __BYTE_ORDER, not + whether __LITTLE_ENDIAN is #define'd. + * sysdeps/generic/mathimpl.h: Likewise. + * sysdeps/generic/memcopy.h: Likewise. + * sysdeps/ieee754/huge_val.h: Likewise. + * sysdeps/ieee754/nan.h: Likewise. + * sysdeps/ieee754/ieee754.h: Likewise. + +Mon Nov 16 12:19:10 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makeconfig (ARCH): Define to empty if $(..)config.make exists. + + * misc/getusersh.c (initshells): malloc (STATB.st_size + 1), to + contain the terminating NUL. Pass fgets the real amount of space + left in the buffer, instead of the random number (MAXPATHLEN + 1). + + * configure.in (minix*): base_os=unix/sysv. + * sysdeps/unix/sysv/minix/sigaction.h: New file. + + * sysdeps/generic/sigaction.h (__SA_*): Renamed to SA_*. + [__USE_BSD]: Put all but SA_NOCLDSTOP under this #ifdef. + * signal/signal.h (SA_*): Remove #define's. + (SIG_*): Moved #define's to sigaction.h. + + * sysdeps/generic/sigset.h (__sigmask): Shift ((sigset_t) 1), not + just 1. + + * signal/signal.h (kill): Fix type of first arg to __pid_t, not int. + + * sysdeps/unix/Makefile (errnos): Changed regexp to disallow + E[^A-Z0-9], and not to require that the defn be numeric only. + + * stdlib/stdlib.h: Don't #include ; ANSI doesn't say + defines HUGE_VAL. + + * stdlib/stdlib.h (__compar_fn_t): Use __P around prototype. + + * posix/Makefile (headers): Add utsnamelen.h, so it gets installed. + (distribute): Remove it from here. + + * setjmp/setjmp.h (sigjmp_buf): Rename `__savemask' to + `__mask_was_saved' and `__sigmask' to `__saved_mask'. + * setjmp/sigjmp_save.c (__sigjmp_save): Change use. + * setjmp/siglongjmp.c (siglongjmp): Likewise. + +Fri Nov 13 17:34:00 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * configure.in (config.make): Write assignments for INSTALL, + INSTALL_PROGRAM, INSTALL_DATA, and RANLIB. + +Thu Nov 12 17:11:18 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/stub/stime.c: #include for NULL. + + * sysdeps/stub/morecore.c: Fixed arg type to ptrdiff_t. + + * sysdeps/stub/ptrace.c: Fixed `va_start' uses to pass 2nd arg. + + * sysdeps/unix/sysv/sysv4/fcntlbits.h: New file, modified from + unix/bsd/sun/sunos4 version. + + * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: New file, modified from + unix/bsd version. + + * sysdeps/unix/bsd/ultrix4/fcntlbits.h: New file, modified from + unix/bsd version. + + * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: New file, modified from + unix/bsd version. + + * sysdeps/unix/sysv/fcntlbits.h: Rewritten from stub version. + * sysdeps/unix/sysv/filebits.h: File removed. + + * sysdeps/unix/bsd/fcntlbits.h: Rewritten from stub version. + * sysdeps/unix/bsd/filebits.h: File removed. + + * io/fcntl.h: Don't #include . + Removed all #define's of foo to __foo; now defines + the unmarked cases. + + * sysdeps/stub/fcntlbits.h: Remove leading __ from all symbols. + + * misc/sys/file.h (L_SET, L_INCR, L_XTND): Define to literal + values, not to __ versions. These are not system-dependent. + (LOCK_SH, LOCK_EX, LOCK_UN, LOCK_NB): Define to literal values, + not to __ versions. These are not actually system-dependent, + because no system has `flock' except for BSD compatibility, and + then they use the same numbers. + * sysdeps/stub/fcntlbits.h (__L_SET, __L_INCR, __L_XTND): Removed. + (__LOCK_SH, __LOCK_EX, __LOCK_UN, __LOCK_NB): Removed. + +Tue Nov 10 17:01:11 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * sysdeps/stub/fcntlbits.h: Merged in contents of filebits.h. + (struct __flock): Renamed to `struct flock'. + * sysdeps/stub/filebits.h: File removed. + + * posix/unistd.h (access, lseek, close, read, write, pipe, chown, + fchown, chdir, dup, dup2, execve, pathconf, fpathconf, sysconf, + getpid, getppid, setpgrp, setpgid, setsid, getuid, getgid, + geteuid, getegid, setuid, setreuid, setgid, setregid, fork, vfork, + isatty, link, symlink, readlink, unlink, rmdir, gethostname, + getpagesize, getdtablesize): Remove #define's to __ versions. + + * posix/sys/types.h: Don't #include . + Instead, use forward decl `struct timeval;'. + (__select): Use `struct timeval', not `struct __timeval', in prototype. + Move into #ifdef __USE_BSD. + (select): Removed #define to __select; added real prototype. + + * sysdeps/generic/waitstatus.h: New file. + * sysdeps/stub/waitflags.h: New file. + * sysdeps/unix/bsd/waitflags.h: New file. + * posix/sys/wait.h: Don't #include . + Do #include and . + (WHOHANG, WUNTRACED): Don't #define to __ versions; + will define the unmarked cases. + (union __wait): Remove type decl and associated #define's for w_*; + `union wait' (no __) is now defined in . + [__USE_BSD && __GNUC__ >= 2] (__WAIT_STATUS): Define as funky union. + (waitpid, wait3, wait4, wait): Removed #define's to __ versions; + added real prototypes. + * posix/gnu/wait.h: File removed. + * posix/Makefile (headers): Remove gnu/wait.h. + + * posix/sys/times.h [__OPTIMIZE__] (times): Removed #define to __times. + + * posix/sys/utsname.h: Removed decl of __uname_getnode. + + * time/sys/time.h: Don't #include . + Don't support __need_timeval. + (struct timeval, struct timezone, struct itimerval, + enum __itimer_which): Declare these types here. + (gettimeofday, settimeofday, adjtime, getitimer, setitimer, + utimes): Removed #define's to __ versions. Added real prototypes. + Use `struct timeval' instead of `struct __timeval', etc. + * time/gnu/time.h: File removed. + * time/Makefile (headers): Removed gnu/time.h. + + * resource/sys/resource.h: Don't #include . + +Mon Nov 9 18:41:03 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * socket/sys/socket.h (SO_STYLE): Define instead of SO_TYPE. + (SO_TYPE): Define as SO_STYLE. + + * inet/netinet/in.h (struct ip_opts): New type. + (IP_*): New constants snarfed from 4.4's in.h. + +Fri Nov 6 15:34:41 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * resource/sys/resource.h (struct rusage): #include + before struct defn. Use `struct timeval', not `struct __timeval' + for `ru_utime' and `ru_stime' members. + + * resource/sys/resource.h [__OPTIMIZE__] (getrusage, ulimit), + misc/sys/ioctl.h [__OPTIMIZE__] (ioctl): Remove #define's to __ + versions. + + * string/strings.h: Protect against multiple inclusion. + * termios/sys/termios.h: Ditto. + + * string/string.h [__GNUC__ && __OPTIMIZE__] (ffs): Remove #define + to __builtin_ffs. + + * stdlib/stdlib.h (comparison_fn_t): Use a typedef, not a #define. + Define this #ifdef __USE_GNU, not #ifdef __GNUC__. + [__GNUC__ && __OPTIMIZE__] (abs, labs): Remove #define's to __builtin_. + +Thu Nov 5 20:01:25 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * signal/Makefile (headers): Remove gnu/signal.h; + add sigaction.h, sigset.h. + * sysdeps/generic/sigaction.h: New file. + * sysdeps/generic/sigset.h: New file. + * signal/gnu/signal.h: Removed. + * signal/signal.h: Move __{BEGIN,END}_DECLS outside all the #if's + (except the outermost one that protects against multiple inclusion). + Don't #include . Instead #include + outside of #if's, and #include inside #ifdef __USE_POSIX. + (__sighandler_t): Define here; it is not system-specific. + (kill, ssignal, gsignal, sigblock, sigsetmask, sigpause, sigvec, + sigreturn): Remove #define's to __ versions. + (sighandler_t, sigset_t): Use a typedef, not a #define. + [__OPTIMIZE__] (sig{empty,fill,add,del}set, sigismember): Make + these macros take args. + (sigaction): Remove #define. + (struct __sigvec): Renamed `struct sigvec'. + (__sigvec): Use `struct sigvec', not `struct __sigvec', in prototype. + +Fri Oct 30 19:45:26 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * configure.in (sco*): base_os=unix/sysv. + +Thu Oct 29 16:29:26 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * configure.in: New file; mostly contents of old file `configure'. + (srcdir guessing): Removed this code. + Instead, call AC_PREPARE. + Call AC_PROG_INSTALL and AC_PROG_RANLIB to find those programs. + Use AC_HAVE_FUNCS to find what sys_siglist and _ctype_ are called. + (config.make): Write new var `config-defines' with what autoconf + put in $DEFS. + Append -DHAVE_GNU_LD and -DHAVE_GNU_AS to DEFS if appropriate; + don't write gnu_ld and gnu_as variables. + * configure: Removed. + * Makefile (distribute): Add configure.in. + * Makeconfig (+defines): Include $(config-defines) before $(defines); + don't include $(gnu_as) and $(gnu_ld). + + * sysdeps/unix/bsd/glue-ctype.c (TABLE): Test HAVE_* for several + different names and #define this. + (STRINGIFY): Define macro. + (main): Use TABLE instead of hardcoded name. + + * configure (sysnames): Try successively less specific base os's. + + * Makerules (ar-it): Define commands only ifdef objects. + + * sysdeps/mips/setjmp.S: Jump to __setjmp_aux, not ___setjmp_aux. + We are NO_UNDERSCORES. + +Tue Oct 27 18:11:19 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * sysdeps/posix/pipestream.c, sysdeps/posix/system.c: Always use + __vfork instead of expecting FORK to be defined. + * sysdeps/unix/bsd/system.c, sysdeps/unix/bsd/pipestream.c: + Removed. sysdeps/unix versions are now what we want. + + * sysdeps/unix/bsd/sun/sunos3/m68k/__wait.S: Removed. + * sysdeps/unix/bsd/hp/m68k/__wait.S: Moved to unix/bsd/m68k. + + * sysdeps/unix/bsd/hp/m68k/{__pipe,sysdep}.S: Moved to unix/bsd/m68k. + * sysdeps/unix/bsd/sun/m68k/{__pipe,sysdep}.S: Removed. + + * sysdeps/unix/bsd/sun/m68k/start.c: Moved to unix/bsd/m68k. + * sysdeps/unix/bsd/sony/m68k/start.c: Removed. + + * sysdeps/unix/bsd/bsd4.4/__sigstmsk.c: Correct file name in #include. + + * sysdeps/unix/bsd/sun/m68k/__fork.S: Removed. + * sysdeps/unix/bsd/hp/m68k/__fork.S: Removed. + * sysdeps/unix/bsd/vax/__fork.S: Moved to unix/bsd. + + * sysdeps/generic/__vfork.c: New file; fn alias to __fork. + * sysdeps/stub/__vfork.c: Removed. + + * limits.h: Only do #include_next #ifndef _LIMITS_H_. + + * malloc/mcheck.c (mcheck): Set abortfunc to either FUNC or abort; + never leave it unchanged. + Return 0 if mcheck_used; -1 if not. + * malloc/malloc.h (mcheck): Change return type in decl. + + * Makerules (+depfiles): Don't include them if there are none. + +Mon Oct 26 16:30:52 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/posix/fdopen.c: Use fcntl to check that FD is valid and + allows the access MODE specifies. + + * sysdeps/stub/getcwd.c: #include . + + * sysdeps/stub/sleep.c: #include . + +Sun Oct 25 02:24:47 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makerules (+includes): Add $(+sysdep-includes) to this, leaving + CPPFLAGS alone. + + * sysdeps/stub/stime.c: #include . + +Thu Oct 22 13:36:48 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Rules (clean): Also remove $(clean-extras). + +Tue Oct 20 18:36:40 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * configure: Write error message and lose for option with missing arg. + + * stdio/__vfscanf.c: Add `a' modifier, which makes %s and %[ fill + in a char ** with a malloc'd string. + (STRING_ADD_CHAR, STRING_ARG): New macros to deal with this hair. + (%s, %[): Use them. + + * posix/gnu/types.h [__GNUC__] (__fsid_t): Define as long long. + + * stdio/vfprintf.c: Add %m, which is %s of strerror (errno). + +Mon Oct 19 14:19:36 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * socket/sys/socket.h (PF_FILE, AF_FILE): Define new macros. + (PF_UNIX, AF_UNIX): Make aliases for [PA]F_FILE. + + * sysdeps/ieee754/huge_val.h: #include . + [!__GNUC__]: Use __const, not CONST. + + * posix/wordexp.h: Fix indentation and syntax errors. + + * stdio/vasprintf.c (vasprintf): Set seen bit. + +Fri Oct 16 17:18:34 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * Makefile (Mcrt1.o): Create an empty .c file and compile it, + rather than creating an empty .o file. + + * sysdeps/unix/Makefile (sys/param.h): Strip / from name for mkdir. + + * sysdeps/m68k/fpu/atan2.c [! __GNUC__]: Include generic, not iee754. + + * sysdeps/sparc/Makefile ({divrem}.S): Use $(M4) for m4 in cmds. + * Makeconfig (M4): Define it. + + * stdio/newstream.c (__newstream): Link STREAM onto __stdio_head + after malloc'ing it. + + * time/emkdir.c: #define unix if not already defined. + +Thu Oct 15 19:55:45 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * stdlib/wctomb.c: When passed 0, store a '\0' and return 1. + * stdlib/mbtowc.c: When passed "", store a 0 and return 1. + + * sysdeps/generic/strstr.c: When NEEDLE is "", return HAYSTACK. + +Thu Oct 15 19:25:46 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * malloc/malloc.h (__after_morecore_hook): Declare new var. + * malloc/malloc.c (__after_morecore_hook): Define it. + (align): Call it. + +Mon Oct 12 15:56:07 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * malloc/malloc.h (r_alloc, r_alloc_free, r_re_alloc): Declare. + + * Makerules (native-compile, common-objdir-compile): Pass + $(native-CFLAGS) to the compiler. + + * Makeconfig (+gccwarn): Removed -Wstrict-prototypes and + -Wpointer-arith. They were not really helping, and caused extra + warnings for harmless code. + + * malloc/Makefile (dist-routines): Add ralloc. + (gpl2lgpl): Add ralloc.c. + + * time/zic.c: #define unix if not already defined. + + * Makerules ($(gpl2lgpl)): Make output unwritable; use mv -f. + +Mon Oct 12 15:27:40 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) + + * sysdeps/unix/bsd/ultrix4/mips/__set[gu]id.S: Handle returning to + the proper caller ourselves, since setre[gu]id won't be doing it. + +Mon Oct 12 13:37:16 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * malloc/malloc.h: Declare memory_warnings. + * malloc/Makefile (dist-routines): Add vm-limit. + (distribute): Add mem-limits.h. + (gpl2lgpl): Add vm-limit.c, mem-limits.h. + + * gpl2lgpl.sed: Remove "This file is part of ..." lines. + Changed regexp to match "foo is free software", not just "This + program ...". + + * Makerules (+make-deps): Put file name before options on command line. + + * Makefile (install-lib): Remove libc.a from here. + * Makerules [objects] (install-lib): Append it here instead. + + * io/sys/stat.h (S_IRWXO): Fixed typo. + +Sun Oct 11 16:58:36 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * posix/glob.c (__glob_{open,read,close}dir_hook): New vars. + (glob_in_dir): Use them. + * posix/glob.h: Declare them. + +Thu Oct 8 20:03:30 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) + + * configure (config.make): Write comment to edit configparms instead. + +Wed Oct 7 17:15:05 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * sysdeps/stub/__chown.c: Fixed arg types (int -> [ug]id_t). + + * sysdeps/stub/__geteuid.c: Fixed return type (int -> __uid_t). + + * sysdeps/stub/__getegid.c: Fixed return type (int -> __gid_t). + + * configure: Write defns in config.make for vars config-machine, + config-vendor, and config-os. + + * ctype/ctype.h (__isctype, __tolower, __toupper): Cast argument + and return value to `int'. + + * ctype/ctype.h (__ctype_tolower, __ctype_toupper): Changed type + to `short int *'. + (toupper, tolower): Removed inline functions; restored macros. + * ctype/ctype.c (tolower, toupper): Just call the __ macros. + * ctype/ctype-info.c: Change types here too. + * locale/localeinfo.h: And here. + * locale/C-ctype_ct.c: Ditto. + + * crypt: New code from Michael Glad. + + * Makefile (munch-init.c), sysdeps/unix/Makefile + ($(sys/param.h-includes), make-errnos.c, make-ioctls.c), + sysdeps/unix/bsd/Makefile (local_lim.h, ctype-glue.c), + sysdeps/posix/Makefile (stdio_lim.h): Changed rules to use a + shorter suffix than `-tmp', to avoid exceeding 14 char limit. + +Tue Oct 6 15:13:57 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makefile (README, INSTALL): Moved rules here. + * Make-dist: From here. + + * sysdeps/unix/bsd/sun/m68k/{__pipe,__fork,sysdep}.S: Change uses + of sysdeps/unix/bsd/hp9k3bsd to sysdeps/unix/bsd/hp/m68k. + + * sysdeps/m68k/Makefile: Put .S rule here. + * sysdeps/unix/bsd/hp/m68k/Makefile: Removed file. + +Mon Oct 5 19:40:22 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/generic/pow.c (pow_p): Changed code to KY jelly. + + * sysdeps/unix/bsd/ultrix4/utsnamelen.h: New file. + * sysdeps/unix/bsd/ultrix4/uname.S: New file. + +Fri Oct 2 17:43:32 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * sysdeps/posix/mktemp.c: Don't use a static index and increment + it on each call. Instead, always start at the beginning and + iterate until we find a file that does not exist. + + * sysdeps/unix/sysv/i386/signal.S: Use C_SYMBOL_NAME for __sigreturn. + Added comment about gas bug with `lcall' insn. + + * sysdeps/unix/i386/__brk.S: Use C_SYMBOL_NAME for __curbrk and _end. + + * sysdeps/unix/i386/sysdep.S: #include . + Use C_SYMBOL_NAME(errno) in place of _errno. + + * sysdeps/unix/sysdep.h (___errno): Removed #define to _errno. + `errno' is an ANSI name; it doesn't need to be aliased. + * sysdeps/unix/bsd/sun/m68k/sethostid.S, + sysdeps/unix/bsd/sun/m68k/__vfork.S, + sysdeps/unix/bsd/sun/sparc/sysdep.h, + sysdeps/unix/bsd/sun/sparc/sethostid.S, + sysdeps/unix/bsd/vax/sysdep.S, + sysdeps/unix/bsd/vax/__vfork.S: Use _errno, not ___errno. + + * sysdeps/unix/sysv/sysdep.h: File removed. + * sysdeps/unix/sysv/i386/sysdep.h: Don't #include it. + #define NO_UNDERSCORES before #include . + + * sysdeps/unix/i386/sysdep.h (C_SYMBOL_NAME): Define new macro. + [NO_UNDERSCORES]: #define syscall_error to __syscall_error, so we + stay name space tidy. + + * sysdeps/unix/sysv/sysv4/sys_getdents.S: Added missing arg count (3). + + * sysdeps/unix/sysv/i386/time.S: Fixed to not use bogus addressing + mode `4(%esp,1)'; use `4(%esp)' instead. Added comments. + + * sysdeps/stub/__fchmod.c (__fchmod): Fixed arg type to mode_t. + + * sysdeps/posix/__wait3.c: #include for NULL. + + * sysdeps/unix/i386/__wait.S: Use asm label `null' instead of + `1f', and actually define the label! Added comments. + + * sysdeps/i386/memchr.c: Renamed asm label to `done'; not all + assemblers support numbered labels like `1f' or `1b'. + + * stdio/fseek.c (fseek): Discard char pushed back by ungetc. + * stdio/ftell.c (ftell): If we have a pushed-back char, decrement + the file position we return. + + * sysdeps/unix/bsd/sun/sparc/vfork.S: New file. + +Wed Sep 30 18:48:38 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * limits.h (_LIBC_LIMITS_H_): Define today's name for this. + RMS said it was to be `_LIBC_LIMITS_H', but that is not what + gcc actually uses. + +Tue Sep 29 18:17:12 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * time/Makefile (zic-cmd): Define variable. + (tzcompile, zoneinfo/localtime, zoneinfo/posixrules): Use it for + name of `zic' command. + + * sysdeps/unix/bsd/Makefile (ctype-glue.c): Make sure the command + is not an unqualified name. + + * sysdeps/stub/statbuf.h (struct stat): Contain only POSIX.1 + members, with the POSIX.1 types. + (_STATBUF_ST_BLKSIZE): #undef and comment. + * sysdeps/unix/bsd/statbuf.h (_STATBUF_ST_BLKSIZE): Define it. + * sysdeps/posix/stdio_init.c (__stdio_init_stream): Only try to + use st_blksize #ifdef _STATBUF_ST_BLKSIZE. + + * sysdeps/unix/__getpgsz.c: #include for size_t. + + * sysdeps/stub/__fchown.c: Fixed arg types ([ug]id_t, not int). + + * io/sys/stat.h: #include for __mode_t et al. + + * sysdeps/unix/__gete[ug]id.S [SYS_gete[ug]id]: Add arg count of 0. + [! SYS_gete[ug]id]: Fixed arg count to be 0. + + * sysdeps/unix/__get[ug]id.S: Fixed arg count to be 0. + + * sysdeps/unix/sysv/linux/syscall.h: #if 0'd out 2nd defn of SYS_brk. + +Sun Sep 27 21:56:56 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/Makefile (sys/param.h): Depend on $(common-objpfx)sys/. + +Fri Sep 25 12:47:01 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * Makeconfig (INSTALL_DATA): Pass -m 644. + +Thu Sep 24 16:13:47 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * sysdeps/unix/sysv/linux/getpeername.S: Renamed to getpeernam.S. + * sysdeps/unix/sysv/linux/getsockname.S: Renamed to getsocknam.S. + * sysdeps/unix/sysv/linux/setsid.S: Renamed to __setsid.S; + function renamed to __setsid. + + * Version 1.05. + + * Makefile (dist): Depend on $(distribute). + + * stdio/__vfscanf.c (%c): Fixed DO_ASSIGN case loop condition to + not write one char too many. + +Wed Sep 23 16:32:18 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * stdlib/qsort.c (_quicksort): Return immediately if TOTAL_ELEMS==0. + +Tue Sep 22 19:10:59 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * Makerules [! OUTPUT_OPTION && objpfx]: Define OUTPUT_OPTION. + +Mon Sep 21 22:40:55 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/bsd/mk-local_lim.c: Use MAXNAMLEN for NAME_MAX, + rather than hard-wiring 255. + [! MAXNAMLEN]: Define it to 255. + [LINK_MAX && ! MAXLINK]: #define MAXLINK LINK_MAX. + + * sysdeps/unix/bsd/glue-ctype.c [ultrix]: #define _ctype_ _ctype__. + + * configure: Rename var `gas' to `gnu_as' and use consistently. + +Fri Sep 18 16:32:16 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * sys/errno.h: New file. + * Makefile (headers): Add it. + + * Makeconfig (+make-deps): Use = not define. + + * time/Makefile (zones-%): Don't clobber zonenames; append to it. + Depend on Makefile so we rebuild when the rule changes. + Changed implicit rule from zoneinfo/%/... to zone%/... so it will + actually match. + + * sysdeps/unix/Makefile (syscall.h): Filter out "#ident" lines. + + * Makeconfig (+link): Use $(gnulib) instead of -lgcc. + (gnulib): Define to -lgcc. + + * posix/glob/Makefile.in (AR, ARFLAGS): Define. + (libglob.a): Use those vars instead of hardcoding. + + * Makeconfig (ARCH) [machine]: Don't define if $(..)config.make exists. + + * Makerules (compile.S): Include $(asm-CPPFLAGS). + (S-CPPFLAGS): Define = $(asm-CPPFLAGS). + (+make-deps): Include $(sfx-CPPFLAGS), where `sfx' is S or c. + * Makeconfig (asm-CPPFLAGS): Define (empty) and comment. + + * sysdeps/unix/Makefile ($(sys/param.h-includes)): Filter out + decls or macros for host<->net conversion (htonl et al). + +Thu Sep 17 17:33:51 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/sysv/statbuf.h: Define __S_*. + + * misc/Makefile (headers): syslog.h -> sys/syslog.h. + * misc/syslog.h: Moved to misc/sys/syslog.h. + + * limits.h [__GNUC__ >= 2]: #define _LIBC_LIMITS_H before + #include_next . + Define _LIMITS_H unconditionally. + +Wed Sep 16 17:43:59 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * sysdeps/unix/Makefile (syscall.h): Don't use \< in sed commands. + Some seds don't seem to grok it. + + * Makerules (+install-dirs): Sort them. + + * Makeconfig (stdarg.h): Use $(wildcard va-*.h) instead of va-*.h, + and := instead of =. + + * Makeconfig (prefix): Default to $(exec_prefix), not /usr/local. + + * Makeconfig (+link): Use $(common-objpfx) rather than $(objpfx) + to find start.o; use $(libc.a) instead of $(objpfx)libc.a. + + * sysdeps/sparc/Makefile: crypt subdir is not called uf-crypt. + + * sysdeps/unix/Makefile (sys/param.h-includes): Fixed filtering + out of existent glibc headers to remove $(..) pfx after wildcard. + + * misc/paths.h: New file, snarfed from 4.4 BSD. + * misc/Makefile (headers): Add paths.h. + +Tue Sep 15 14:55:11 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makerules (+sysdir_pfx): Define as $(common-objpfx). + + * MakeTAGS (TAGS) [subdir && ! tags_sources]: Create an empty + file, rather than no commands at all. + + * string/string.h [__GNUC__ && __OPTIMIZE__] (ffs): Take arg. + + * sysdeps/unix/sysv/linux/__wait4.S: New file. + + * sysdeps/unix/sysv/linux/syscall.h: New version from hlu. + + * sysdeps/unix/Makefile (syscall.h): Upcase `sys_' in input. + + * sysdeps/unix/bsd/ultrix4/mips/sysdep.h (MOVE): Insn is `move', + not `movl'. + + * sysdeps/unix/bsd/ultrix4/mips/sigcontext.h: Deansideclized. + + * sysdeps/unix/ioctls-tmpl.c [DIOCGETPT, DEVGETGEOM]: Include + headers for these. + [ultrix]: Mondo cruft. + +Sat Sep 12 12:08:29 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * misc/Makefile (routines): Add ttyslot, syslog. + * misc/ttyslot.c, misc/syslog.[ch]: New, snarfed from 4.4 BSD. + (headers): Add syslog.h + + * misc/getttyent.c (getttyent): Parse _TTYS_TRUSTED keyword and + set TTY_TRUSTED bit. + * misc/ttyent.h (TTY_TRUSTED): New bit in ty_status. + (_TTYS_TRUSTED): New keyword. + (_TTYS_CONSOLE): New keyword. + (TTY_CONSOLE): New bit in ty_status. + + * dirent/scandir.c (scandir): Don't keep using V after realloc'ing + it. Use the returned new ptr instead. + +Thu Sep 10 18:59:23 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * stdlib/div.c, stdlib/ldiv.c: Rewritten from Berkeley code that works. + + * Makeconfig (stdarg.h): Add va-*.h. + + * stdlib/Makefile (dont_distribute): Define: testsort.input. + + * sysdeps/mach/hurd/i386/_hurd_start_sigthread.c, + sysdeps/stub/_hurd_start_sigthread.c: Renamed to .../startsig.c. + * sysdeps/mach/hurd/sys_errlist.awk: Renamed to .../errlist.awk. + * sysdeps/mach/hurd/Makefile (sys_errlist.c): Change dep. + * sysdeps/unix/bsd/make-local_lim.c: Renamed to .../mk-local_lim.c. + * sysdeps/unix/bsd/Makefile (local_lim.h): Change dep. + (make-local_lim): Change target and dep. + * hurd/_hurd_dead_recv.c: Renamed to hurd/dead_recv.c. + * hurd/setdtablesize.c: Renamed to hurd/setdtsz.c. + * hurd/Makefile (routines): Change references. + * stdio/tstgetline.c: Renamed to stdio/tstgetln.c. + * stdio/tstgetline.input: Renamed to stdio/tstgetln.input. + * stdio/Makefile (tests): Change ref. + * README.template: Remove note about long file names. + + * sysdeps/unix/bsd/sun/sunos4/utsnamelen.h (_UTSNAME_LENGTH): + Define here, rather than #include'ing sysv/utsnamelen.h. + This file gets installed. + +Wed Sep 9 17:06:14 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makeconfig (localtime-file): Put in $(prefix)/etc, not /etc. + + * setjmp/Makefile (routines): Remove sigsetjmp. + + * sysdeps/posix/Makefile (objdir-CPPFLAGS) [! subdir]: Rewrote + totally broken defn. + + * sysdeps/unix/Makefile (syscall.h): Keep lines starting + with #, not only those starting with #define. + We want to preserve any #ifdef in the original. + + * Makerules (install): Dep $(+install-dirs), not $(dir $(+install)). + (+install-dirs): Define to get two levels of dirs. + + * time/Makefile (tz-cc): Use = instead of define directive. + + * sysdeps/unix/bsd/sun/sparc/start.c (_start): Give ARGC, ARGV, + and ENVP `register' storage class; can then clear the FP early. + +Sat Sep 5 13:14:09 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * Makerules (sysdirs): Pass sysdep_dir in child's environment. + +Fri Sep 4 15:37:23 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * Makeconfig (common-objpfx): Add trailing slash. + Move comment to prev line to avoid extra whitespace. -See ChangeLog.2 for earlier changes. +See ChangeLog.1 for earlier changes. diff --git a/ChangeLog.4 b/ChangeLog.4 index 92771874c0..806a31c912 100644 --- a/ChangeLog.4 +++ b/ChangeLog.4 @@ -1,2324 +1,1644 @@ -Mon Dec 12 01:41:07 1994 Roland McGrath +Sun Jun 5 14:34:12 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * Version 1.09.3. + * Version 1.08.1. - * sysdeps/mach/hurd/alpha/trampoline.c: Use `long int' for sigcode - values. Use _hurdsig_catch_fault. Pass address of __sigreturn in - $27, SCP value in $25. In trampoline code, use those regs. + * sysdeps/mach/hurd/ioctls.h (_IOR, _IOW): Swap IOC_IN and IOC_OUT. - * sysdeps/mach/hurd/alpha/__sigret.c: Use asms instead of global - register vars to restore FP regs. Fix typo in REI invocation. + * sysdeps/mach/hurd/__ioctl.c: Only pack input for ioctls that + take input. Compute expected reply size for ioctls that take + output and check it properly. -Sun Dec 11 14:10:11 1994 Roland McGrath +Sat Jun 4 00:35:42 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * hurd/hurd/fd.h (hurd_register_ioctl_handler, - _HURD_HANDLE_IOCTLS): Third arg to handler is a void *, not a - __gnuc_va_list. + * sysdeps/mach/hurd/ioctls.h (union __ioctl): Type removed. + (enum __ioctl_datum): Name this enum. + (_IOC_INOUT, _IOC_GROUP, _IOC_COMMAND, _IOC_TYPE): New macros. + (_IOT_TYPE[012], _IOT_COUNT[012]): New macros. + * sysdeps/mach/hurd/__ioctl.c: Use those macros instead of the union. - * stdio/memstream.c (enlarge_buffer): Always add one char into - NEED for the char we are writing or the NUL terminator. + * sysdeps/mach/hurd/__fork.c: Major rewrite. Copy all ports + present in the task, not just library-maintained ones. Handle + sigstate and signal thread setup explicitly here. + * hurd/hurdsig.c (hurdsig_fork, hurdsig_fork_child): Functions + removed. - * stdio/memstream.c (enlarge_buffer): If realloc fails, just set - error flag and preserve old buffer state. + * hurd/hurdpid.c (init_pids): Don't put this on _hurd_fork_child_hook. - * stdio/fwrite.c: In fill_buffer case, check for zero buffer space - after fflush and write one char normally. + * sysdeps/mach/hurd/__isatty.c: New file. -Sat Dec 10 00:02:21 1994 Roland McGrath + * hurd/hurdsock.c (_hurd_socket_server): Pass NP to __path_lookup, + not NAME (most of which is uninitialized). - * sysdeps/mach/hurd/__fork.c: Use natural_t in place of int. + * hurd/hurdsig.c (_hurdsig_init): Don't check for _hurd_msgport + being non-null; always initialize it. - * sysdeps/alpha/macros.m4: Use C comments instead of ! comments. +Fri Jun 3 21:57:14 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * sysdeps/mach/hurd/mmap.c: Cast -1 to long int before casting to - caddr_t. + * hurd/hurdrlimit.c (init_rlimit): Restore __mutex_init call. + (_hurd_rlimit_lock): Set initializer to random value; run-time + initialization is always required. - * sysdeps/mach/alpha/syscall.S: Include - to define op_chmk. + * inet/rcmd.c (rcmd): Compute max fd + 1 for select instead of + hardcoding 32. - * sysdeps/mach/hurd/__mknod.c: Include . - * sysdeps/mach/hurd/setegid.c: Likewise. - * sysdeps/mach/hurd/seteuid.c: Likewise. - * sysdeps/mach/hurd/__setregid.c: Likewise. - * sysdeps/mach/hurd/__setreuid.c: Likewise. - * sysdeps/mach/hurd/__ioctl.c: Likewise. +Wed Jun 1 10:52:41 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - * sysdeps/mach/hurd/recvfrom.c: Include . Use - mach_msg_type_number_t in place of unsigned int. - * sysdeps/mach/hurd/recv.c: Likewise. - * sysdeps/mach/hurd/getsockopt.c: Likewise. - * sysdeps/mach/hurd/getsocknam.c: Likewise. - * sysdeps/mach/hurd/getpeernam.c: Likewise. - * sysdeps/mach/hurd/accept.c: Likewise. - * sysdeps/mach/hurd/__gethstnm.c: Likewise. + * hurd/hurdrlimit.c (_hurd_rlimits, _hurd_rlimit_lock): Provide + initializers so that the file is included in the link properly. + (init_rlimit): Omit call to __mutex_init. -Fri Dec 9 00:01:21 1994 Roland McGrath +Tue May 31 18:15:33 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) - * sysdeps/mach/hurd/__readlink.c: Use mach_msg_type_number_t in - place of unsigned int. - * sysdeps/mach/hurd/__fork.c: Likewise. + * hurd/hurdmalloc.c (more_memory): Do spin_lock_init on H->lock. + (malloc_init): New function; put it on _hurd_preinit_hook. - * sysdeps/mach/hurd/__setgid.c: Include . - * sysdeps/mach/hurd/__setuid.c: Likewise. - * sysdeps/mach/hurd/__getgrps.c: Likewise. - * hurd/getuids.c: Likewise. - * sysdeps/mach/hurd/__getdents.c: Likewise. + * sysdeps/mach/hurd/defs.c (init_stdio): If stream already + allocated, don't allocate a new one. Don't crash if _hurd_alloc_fd + returns null if __newstream does. - * sysdeps/mach/hurd/dirstream.h (DIR): Use unsigned long int for - `__allocation' and `__size' members. + * sysdeps/mach/hurd/__brk.c (init_brk): If _hurd_brk is nonzero, + leave it as it is. Set PAGEND from _hurd_brk instead of &_end. - * sysdeps/mach/hurd/alpha/exc2signal.c: Use `long int' for sigcode - values. - * sysdeps/mach/hurd/i386/exc2signal.c: Likewise. +Mon May 30 18:37:47 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * mach/devstream.c (input): Use mach_msg_type_number_t for NREAD. + * hurd/hurdrlimit.c (init_rlimit): Put this on _hurd_preinit_hook + instead of _hurd_subinit. - * sysdeps/mach/hurd/__setitmr.c (preempt_sigalrm): Use `long int' - for SIGCODE; take SIGERROR arg. + * sysdeps/mach/hurd/mig-reply.c (mig_fork_child): Function removed. + * hurd/dtable.c (fork_parent_dtable): Function removed. - * sysdeps/alpha/divrem.m4: Include instead of - . Use C comments instead of ! comments. + * sysdeps/generic/resourcebits.h: Rename RLIM_NLIMITS to + RLIMIT_NLIMITS, add alias for old name. - * sysdeps/alpha/memchr.c: Remove extra shift and OR of CHARMASK. - * sysdeps/alpha/strchr.c: Likewise. + * sysdeps/mach/hurd/Makefile (hurd-objpfx): New variable. + (before-compile): Use that instead of $(common-objpfx). - * sysdeps/mach/hurd/sysd-stdio.c: Use mach_msg_type_number_t in - place of unsigned int. + * sysdeps/mach/Makefile [! objpfx] (mach-objpfx): Add trailing slash. - * sysdeps/posix/tempname.c (__stdio_gen_tempname): Cast FD to long - int before casting to pointer. +Fri May 27 01:34:56 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * stdio/printf_fp.c: Include . + * hurd/hurdsig.c (_hurdsig_init): Always initialize _hurd_sigthread. - * sysdeps/alpha/setjmp_aux.c: Use ENV[0].__jmpbuf[0]. + * hurd/dtable.c: Use data_set_element instead of text_set_element + for _hurd_fork_locks. + * hurd/hurdsig.c: Likewise. - * sysdeps/mach/alpha/sysdep.h (ENTRY): New macro. + * hurd/hurd.h (_hurd_set_data_limit): Declaration removed. - * hurd/hurdioctl.c (fioctl): Pass a mach_msg_type_number_t* to - __io_readable. + * hurd/dtable.c (_hurd_dtable_rlimit): Variable removed. + (init_dtable): Don't set it. - * hurd/hurd-raise.c: Use `long int' for sigcode values. + * hurd/Makefile (headers): Add hurd/resource.h. + (routines): Add hurdrlimit. + * hurd/hurd/resource.h: New file. + * hurd/hurdrlimit.c: New file. + * sysdeps/mach/hurd/getrlimit.c: Rewritten to just fetch + _hurd_rlimits. + * sysdeps/mach/hurd/setrlimit.c: Rewritten to just set _hurd_rlimits. + * sysdeps/mach/hurd/__brk.c (_hurd_data_limit): Variable removed. + (_hurd_set_brk): Use _hurd_rlimits[RLIMIT_DATA]. + (_hurd_set_data_limit): Function removed. + * hurd/alloc-fd.c (_hurd_dtable_rlimit): Variable removed. + (_hurd_alloc_fd): Use _hurd_rlimits[RLIMIT_OFILE] instead. - * hurd/hurdfault.c: Use `long int' for sigcode values. - * hurd/hurdfault.h: Likewise. + * sysdeps/generic/resourcebits.h: Add RLIMIT_NOFILE as an alias + for RLIMIT_OFILE. - * hurd/hurd/signal.h (struct hurd_signal_preempt): Handler takes - new SIGERROR arg. - * hurd/preempt-sig.c: Likewise. - * hurd/hurdsig.c (_hurd_internal_post_signal): Pass SIGERROR to - PREEMPT. + * sysdeps/mach/hurd/mig-reply.c (__mig_init): Argument is stack + on which to set the per-thread reply port variable. - * hurd/hurdlookup.c: Use mach_msg_type_number_t and natural_t in - place of unsigned int and int. + * sysdeps/mach/hurd/__brk.c (init_brk): Set _hurd_data_end to + DATA_SIZE bytes past the beginning of data space, rather than to + DATA_SIZE absolutely. If vm_map fails, set it to PAGEND. - * hurd/hurd/id.h: Use mach_msg_type_number_t in place of unsigned int. + * sysdeps/mach/hurd/start.c (_start): Run _hurd_preinit_hook right + after __mach_init. - * hurd/catch-exc.c: Use `long int' for sigcode values. - * sysdeps/mach/hurd/i386/trampoline.c: Likewise. - * hurd/preempt-sig.c: Likewise. + * stdio/freopen.c (freopen): Rewritten using __stdio_reopen to + preserve the old cookie value when possible. + * sysdeps/posix/sysd-stdio.c (__stdio_reopen): New function. + * sysdeps/stub/sysd-stdio.c (__stdio_reopen): New function. + * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): New function. - * configure.in (machine): Don't recognize r[34]00. - Convert mips64* to mips/mips64/& and mips* to mips/&. - * sysdeps/mips/mipsel/bytesex.h: New file. - * sysdeps/mips/r4000: Directory renamed to sysdeps/mips/mips64. + * stdio/freopen.c (freopen): Close the stream if MODE is invalid. - * sysdeps/mach/alpha/sysdep.h (START_MACHDEP): Add missing - backslashes. - (CALL_WITH_SP): Cast FN to long int. + * hurd/hurdsig.c (_hurd_core_limit): Define variable. - * sysdeps/mach/alpha/thread_state.h (struct machine_thread_all_state): - New member `exc'. + * socket/sys/socket.h (PF_LOCAL): Define in preference to PF_FILE. - * hurd/fd-read.c: Include . Use mach_msg_type_number_t - in place of mach_msg_type_size_t. +Thu May 26 12:09:51 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - * hurd/hurdfault.c: Use natural_t instead of int. + * hurd/alloc-fd.c (_hurd_alloc_fd): Don't return EINVAL when + FIRST_FD is greater than _hurd_dtablesize and less than + _hurd_dtable_rlimit. If we want to grow _hurd_dtable, but + _hurd_dtablesize is as big as _hurd_dtable_rlimit, then return + EMFILE. When growing _hurd_dtable, actually do something if + _hurd_dtablesize is zero. - * hurd/hurd/signal.h: Use `long int' for sigcode values. - * hurd/hurdsig.c: Use mach_msg_type_number_t and natural_t in - place of unsigned int and int. Use `long int' for sigcode values. + * hurd/hurdmalloc.c (malloc_fork_prepare, malloc_fork_parent, + malloc_fork_child): Declare as static so they don't conflict with + the user's version of this file. - * hurd/vpprintf.c (pwrite): Cast &N to mach_msg_type_number_t *. +Wed May 25 20:55:16 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * hurd/__fopenport.c: Include . Use - mach_msg_type_number_t in place of unsigned int. + * sysdeps/mach/hurd/__brk.c: Include instead of + . - * hurd/hurdauth.c: Include . - * hurd/hurdsock.c: Likewise. - - * sysdeps/mach/alpha/machine-lock.h: Remove ".set noreorder" et - al; GCC already emits them. Fix register constraints in asms. - Set RTN in C, not asm. - - * hurd/hurdprio.c: Use mach_msg_type_number_t in place of unsigned - int. - -Thu Dec 8 04:00:11 1994 Roland McGrath - - * sysdeps/mach/hurd/alpha/__sigret.c: Remove ".set noreorder" et - al; GCC already emits them. - * sysdeps/mach/hurd/alpha/trampoline.c: Likewise. - - * sysdeps/mach/thread_state.h: Use mach_msg_type_number_t and - natural_t in place of unsigned int and int. - - * sysdeps/mach/sysdep.h (ENTRY): Don't #error if undefined. - - * sysdeps/mach/syscall.h: New file. - - * sysdeps/mach/Makefile: Remove debugging printout. - - * sysdeps/mach/hurd/configure.in: Converted to an autoconf script - from sysdeps/mach/hurd/configure, to work better with autoconf - version 2. - * sysdeps/mach/configure.in: Likewise, from sysdeps/mach/configure. - - * hurd/hurdmsg.c: Use mach_msg_type_number_t in place of unsigned - int. - - * sysdeps/mach/alpha/sysdep.h: Rename variable `sp' to avoid - conflict with #define in . - - * sysdeps/mach/hurd/alpha/__sigret.c: Remove unused variable. - - * sysdeps/mach/hurd/__ioctl.c: Pass arg to - __mig_dealloc_reply_port. - - * configure.in: Converted to Autoconf version 2. - * sysdeps/generic/configure.in: Likewise. - * sysdeps/unix/common/configure.in: Likewise. - * sysdeps/unix/configure.in: New file, converted to a - part-autoconf script from sysdeps/unix/configure, to work better - with autoconf version 2. - * aclocal.m4: Converted to Autoconf version 2. - (AC_CHECK_SYMBOL): New macro. - * config.make.in: New file. - * config-name.in: New file. - * Makefile (distribute): Rename install.sh to install-sh. - Add config.make.in, config-name.in, Makefile.in. - (distclean-1): Remove config-name.h and config.cache. - * Makefile.in: New file. - * Makeconfig (+gnu-stabs, gnu-as): Match -DHAVE_GNU_{AS,LD}=1 too. - -Wed Dec 7 14:05:12 1994 Roland McGrath - - * sysdeps/mach/mips/cacheflush.c: New file. - * sysdeps/mach/mips/Makefile: New file. - * sysdeps/mach/mips/Dist: New file. - - * hurd/hurdmalloc.c (vm_allocate, vm_page_size): #define these to - __ names at top. - - * posix/glob/Makefile.in (realclean): Remove config.status. - - * posix/glob/Makefile.in (DEFS): New variable, set from @DEFS@. - (CPPFLAGS): Remove @DEFS@ from here. - (.c.o): Use $(DEFS). - - * setjmp/siglongjmp.c: First arg is const. - -Tue Dec 6 19:04:50 1994 Roland McGrath - - * posix/glob/Makefile.in (CPPFLAGS): Include @DEFS@. - -Mon Dec 5 12:05:10 1994 Roland McGrath - - * posix/glob/configure.in: Add AC_PROG_CC. - - * sysdeps/mach/hurd/alpha/longjmp-ts.c: Use ENV[0].__jmpbuf[0]. - * sysdeps/mach/hurd/mips/longjmp-ts.c: Likewise. - * sysdeps/mach/hurd/i386/longjmp-ts.c: Likewise. - - * Version 1.09.2. - - * sysdeps/mach/hurd/__select.c: Don't make TO const. - -Sun Dec 4 12:06:36 1994 Roland McGrath - - * sysdeps/unix/configure (config_vars): Add missing backslash - before a $. - - Revamp the `setjmp' interface to be cleaner: only one type - `jmp_buf'/`sigjmp_buf', and only one `longjmp' function (with - aliases `_longjmp', `siglongjmp'). Internal setjmp interface is - now __sigsetjmp, which takes SAVEMASK flag and optionally saves - the signal mask. Add extern entry points `setjmp' and `_setjmp' - for BSD compatiblity; they tail-call __sigsetjmp. - * setjmp/setjmp.h: Include for __sigset_t, not - - (jmp_buf): Define unconditionally with old `sigjmp_buf' defn. - (__sigjmp_save): Declare to return int. - (__setjmp): Remove declaration; this function no longer exists. - (__sigsetjmp): Declare it; this is the new internal function. - (setjmp): Define to call __sigsetjmp, second arg depending on - __FAVOR_BSD. - [__OPTIMIZE__] (longjmp): Remove #define. - [__USE_BSD] (_longjmp): Declare it, another name for `longjmp'. - [__USE_BSD] (_setjmp): Define macro to do __sigsetjmp (ENV, 0). - [__FAVOR_BSD]: Remove all these defns. - [__USE_POSIX] (sigjmp_buf): Define as another name for `jmp_buf'. - [__USE_POSIX] (sigsetjmp): Define to call __sigsetjmp. - * setjmp/sigjmp.c (__sigjmp_save): Return an int, always zero, not - void. - * setjmp/Makefile (routines): Remove _setjmp, add bsd-setjmp and - bsd-_setjmp. - * setjmp/longjmp.c: Define as a real funciton, which restores - signal mask and calls __longjmp. - * setjmp/siglongjmp.c: Make this an alias to longjmp. - * setjmp/_longjmp.c: Alias to longjmp, not siglongjmp. - * sysdeps/stub/setjmp.c: Implement __sigsetjmp instead of - __setjmp; call __sigjmp_save. - * sysdeps/sparc/setjmp.S: Likewise. - * sysdeps/m68k/setjmp.c: Likewise. - * sysdeps/i386/setjmp.c: Likewise. - * sysdeps/vax/setjmp.c: Likewise. - * sysdeps/mips/setjmp.S: Implement __sigsetjmp instead of - __setjmp; call __sigsetjmp_aux instead of __setjmp_aux. Pass SP - and FP as 3rd and 4th args, not 2nd and 3rd. - * sysdeps/alpha/setjmp.S: Likewise. - * sysdeps/mips/setjmp_aux.c: Implement __sigsetjmp_aux instead of - __setjmp_aux; call __sigjmp_save. - * sysdeps/alpha/setjmp_aux.c: Likewise. - * sysdeps/mips/bsd-setjmp.S, sysdeps/mips/bsd-_setjmp.S: New files. - * sysdeps/alpha/bsd-setjmp.S, sysdeps/alpha/bsd-_setjmp.S: New files. - * sysdeps/vax/bsd-setjmp.S, sysdeps/vax/bsd-_setjmp.S: New files. - * sysdeps/sparc/bsd-setjmp.S, sysdeps/sparc/bsd-_setjmp.S: New files. - * sysdeps/i386/bsd-setjmp.S, sysdeps/i386/bsd-_setjmp.S: New files. - * sysdeps/m68k/bsd-setjmp.S, sysdeps/m68k/bsd-_setjmp.S: New files. - * sysdeps/stub/bsd-setjmp.c, sysdeps/stub/bsd-_setjmp.c: New files. - * setjmp/_setjmp.c: File removed. - * sysdeps/alpha/__longjmp.c: Take arg of type __jmp_buf, not - jmp_buf. - * sysdeps/vax/__longjmp.c: Likewise. - * sysdeps/stub/__longjmp.c: Likewise. - * sysdeps/i386/__longjmp.c: Likewise. - * sysdeps/m68k/__longjmp.c: Likewise. - -Sat Dec 3 09:00:17 1994 Roland McGrath - - * sysdeps/mach/hurd/alpha/__sigret.c: Set up frame for `rei' to - restore on user stack, aligned to an 8-word boundary and with a PS - value that restores user's stack alignment. - -Fri Dec 2 19:31:24 1994 Roland McGrath - - * sysdeps/unix/readdir.c: Search one char more than D_NAMLEN(DP) - for the null terminator. Always set D->d_namlen, using - D_NAMLEN(DP) if no null is found. - - * sysdeps/unix/sysv/sco3.2.4/__sigact.S: Fix typo `.global' to - `.globl'. Silly me, I used a vowel in a Unix program. - -Mon Nov 28 16:11:39 1994 Roland McGrath - - * io/fts.c (ALIGN, ALIGNBYTES): New macros, defined if not already - defined. - -Tue Nov 22 06:39:49 1994 Roland McGrath - - * sysdeps/unix/bsd/osf1/dirstream.h: File removed. - - * sysdeps/stub/sigcontext.h (struct sigcontext): Use `__sigset_t' - instead of `sigset_t' for `sc_mask'. - * sysdeps/mach/hurd/i386/sigcontext.h: Likewise. - * sysdeps/mach/hurd/alpha/sigcontext.h: Likewise. - * sysdeps/mach/hurd/mips/sigcontext.h: Likewise. - * sysdeps/unix/bsd/ultrix4/mips/sigcontext.h: Likewise. - * sysdeps/unix/bsd/sun/m68k/sigcontext.h: Likewise. - * sysdeps/unix/bsd/sun/sparc/sigcontext.h: Likewise. - - * hurd/hurdsig.c (_hurd_internal_post_signal: case handle): Call - abort_thread always, first thing after thread_suspend. - -Mon Nov 21 13:18:07 1994 Roland McGrath - - * sysdeps/mach/hurd/__fcntl.c: Don't make this whole function a - critical section. - - * sysdeps/generic/strpbrk.c: Don't call strchr; do it by hand for - efficiency. - -Wed Nov 16 12:47:22 1994 Roland McGrath - - * sysdeps/unix/bsd/m68k/sysdep.S [__motorola__]: Swap operands in - cmp.l. - - * hurd/msgportdemux.c (_hurd_msgport_receive): Call - _hurd_self_sigstate to get sigstate cached before running any - signal thread code. - - * sysdeps/mach/hurd/__fork.c: Pass _hurd_msgport_thread to - __thread_get_state, not _hurd_sigthread. Don't do - __thread_get_state on THREAD_SELF--the kernel does not allow it. - - * hurd/hurdsig.c (_hurd_internal_post_signal): In stopping orphan - test, take sigmask of SIGNO, don't & its value with a mask. In - blocked signal test, be careful not to pass SIGNO=0 to __sigismember. - -Tue Nov 15 01:39:36 1994 Roland McGrath - - * Makerules (stub-$(subdir)): Save absolute name of - $(..)sysdeps/stub before cd'ing, transform gleaned file names to - refer to saved name. - - * sysdeps/mach/hurd/socketpair.c: Include . - - * time/test_time.args: Add CST as a test case. - - * sysdeps/mach/hurd/socketpair.c: Rewritten (copying __pipe.c). - - * sysdeps/unix/bsd/dirstream.h [__USE_BSD] (dirfd): New macro. - - * posix/unistd.h: Declare fchdir. - - * io/fts.c (MAXPATHLEN): Define if not defined. - - * io/fts.c, io/fts.h: New files, from 4.4 BSD code by Keith Bostic. - * io/Makefile (routines): Add fts. - (headers): Add fts.h. - - Mostly ported the Hurd to the DEC Alpha. - * sysdeps/mach/alpha/machine-sp.h: New file. - * sysdeps/mach/alpha/thread_state.h: New file. - * sysdeps/mach/alpha/sysdep.h: New file. - * sysdeps/mach/alpha/machine-lock.h: New file. - * sysdeps/mach/hurd/alpha/sigcontext.h: New file. - * sysdeps/mach/hurd/alpha/longjmp-ts.c: New file. - * sysdeps/mach/hurd/alpha/trampoline.c: New file. - * sysdeps/mach/hurd/alpha/exc2signal.c: New file. - * sysdeps/mach/hurd/alpha/__sigret.c: New file. - - * sysdeps/mach/hurd/Makefile (errlist.c, errnos.h): Make the - output unwritable. - * sysdeps/alpha/Makefile (divrem rule): Make the output - unwritable, use mv -f. - * sysdeps/sparc/Makefile (divrem rule): Likewise. - - * configure.in (sysnames): Put another loop on $mach inside $base - loop but outside $vendor loop. This should catch .../cpu/vendor. - -Mon Nov 14 22:52:03 1994 Roland McGrath - - * sysdeps/mach/hurd/start.c: Add missing #endif. - -Sun Nov 13 05:04:18 1994 Roland McGrath - - * sysdeps/mach/hurd/__select.c: At end of receiving loop, clear TO - instead of TIMEOUT. - - * malloc/mcheck-init.c (turn_on_mcheck): Add gratuitous self - reference to silence compiler warning. - (_hurd_preinit_hook): Add the function to this set too. - - * time/__tzset.c (__tzset): Give tz_rules coherent default when TZ - value is short or malformed. - - * mach/devstream.c: Echo input after reading it. - - * Make-dist (generated): Mutate to add .S and .s variations for .c - files. - -Fri Nov 11 11:43:26 1994 Michael I Bushnell - - * sysdeps/mach/hurd/i386/__sigret.c (__sigreturn): Don't actually - abort here; at least let the user continue with bogus FP; that's - better than a random crash until it's fixed. - -Thu Nov 10 04:56:28 1994 Roland McGrath - - * sysdeps/unix/bsd/sun/sunos4/sys/mman.h (msync): Use __caddr_t - instead of caddr_t in decl. - - * sysdeps/mach/start.c (START_ARGS): Define to void if undefined. - [START_MACHDEP]: Reference this if defined. - [START_MACHDEP] (_start): #define to _start0. - (_start): Take args START_ARGS. - * sysdeps/mach/hurd/start.c: Likewise. - -Wed Nov 9 08:02:59 1994 Roland McGrath - - * hurd/Makefile (sig): Remove longjmp-ctx (it is never called). - - * sysdeps/mach/hurd/__fork.c: Do thread_get_state on parent's - threads to modify and thread_set_state new child threads. - -Mon Nov 7 00:38:45 1994 Roland McGrath - - * posix/glob/configure.in: Converted to Autoconf v2. - * posix/glob.c: Test HAVE_DIRENT_H, HAVE_SYS_DIR_H, HAVE_NDIR_H - instead of DIRENT, SYSDIR, NDIR. - * posix/glob/Makefile.in (CC): New variable, set from @CC@. - (CPPFLAGS): Set from @CPPFLAGS@, not @DEFS@. - - * sysdeps/unix/__fork.S: Use decrement and AND instead of test and - branch. - * sysdeps/unix/sparc/__fork.S: Likewise. - * sysdeps/unix/sparc/__vfork.S: Likewise. - * sysdeps/unix/bsd/sun/m68k/__vfork.S: Likewise. - * sysdeps/unix/bsd/hp/m68k/__vfork.S: Likewise. - * sysdeps/unix/i386/__fork.S: File removed. - -Sun Nov 6 19:26:28 1994 Roland McGrath - - * Version 1.09. - -Fri Nov 4 16:52:05 1994 Roland McGrath - - * Version 1.08.14. - - * manual/Makefile (stamp-summary): Depend on $(chapters-incl) too. - -Thu Nov 3 18:33:50 1994 Roland McGrath - - * sysdeps/generic/sigset.h (__sigemptyset): Cast to __sigset_t. - (__sigfillset): Likewise. Use ~(__sigset_t)0 in place of -1. - (__SIGSETFN): Don't try to be clever. Test bounds of SIG with < - and >. - - * sysdeps/mach/hurd/__fork.c: Unlock signal state earlier, just - after unlocking _hurd_ports locks. - - * sysdeps/unix/bsd/osf1/direct.h: File removed. - * sysdeps/unix/bsd/direct.h (struct direct): Use `unsigned int' - instead of `unsigned long int' for `d_fileno' member. - - * Makerules (common-mostlyclean): Remove $(tests:=.out) too. - - * assert/assert-perr.c (__assert_perror_fail): Add missing comma. - - * sysdeps/unix/ioctls-tmpl.c [__osf__ && __alpha__] (FIOPIPESTAT, - SIOCSRREQR, SIOCSRREQW, SRVC_REQUEST): #undef these. - -Wed Nov 2 23:00:19 1994 Roland McGrath - - * sysdeps/mach/hurd/setegid.c: Pass poly and count args for - other_handles in correct order in call to auth_makeauth. - * sysdeps/mach/hurd/__setregid.c: Likewise. - * sysdeps/mach/hurd/__setreuid.c: Likewise. - - * Makerules (compile.S): Add -DASSEMBLER. - * sysdeps/mach/sysdep.h [ASSEMBLER]: Don't include - if this is defined. - -Wed Nov 2 22:39:55 1994 Michael I Bushnell - - * sysdeps/mach/hurd/seteuid.c: Pass poly and count args for - other_handles in correct order in call to auth_makeauth. - -Wed Nov 2 15:03:51 1994 Roland McGrath - - * stdio/internals.c (fillbuf): Make sure returned char doesn't get - sign extended. - -Tue Nov 1 01:25:28 1994 Roland McGrath - - * sysdeps/unix/common/Implies: File removed. - * sysdeps/unix/bsd/Implies: Add unix/inet. - - * assert/assert-perror.c: Renamed to assert-perr.c. - * assert/Makefile (routines): Rename assert-perror to assert-perr. - - * Version 1.08.13. - - * mach/Makefile (generated): Add __%.c for $(mach-shortcuts) too. - - * dirent/Makefile (tests): Add tst-seekdir. - * dirent/tst-seekdir.c (main): New file. - * sysdeps/unix/bsd/seekdir.c: New file. - * sysdeps/unix/bsd/telldir.c: New file. - * sysdeps/unix/bsd/dirstream.h (DIR): New member `__pos'. - * sysdeps/unix/bsd/readdir.c: Update DIRP->__pos in getdirentries - call. - * sysdeps/unix/opendir.c: Use calloc in place of malloc, to zero - fill new DIRs. - - * sysdeps/standalone/i386/force_cpu386/force_cpu386.ld: Renamed to - target.ld. - * sysdeps/standalone/i386/force_cpu386/Makefile: Install it from - that name (still into $(libdir)/force_cpu386.ld). - - * mach/Makefile (headers, user-interfaces, server-interfaces): - Don't add default_pager stuff. - -Mon Oct 31 07:00:40 1994 Roland McGrath - - * sysdeps/unix/bsd/sun/sunos4/termbits.h (TCSASOFT): Macro - removed. - - * malloc/malloc.h: Change #ifdef __STDC__ to #if defined - (__STDC__) && __STDC__. - -Fri Oct 28 00:09:24 1994 Roland McGrath - - * sysdeps/mach/sysdep.h: Include for decls. - (FATAL_PREPARE): Pass arg to __mig_dealloc_reply_port. - - * assert/Makefile (routines): Add assert-perror. - - * Makerules (stubs): cd into $(objdir) and use local file names, - making the cmd shorter. - - * sysdeps/mach/hurd/getprio.c (getonepriority): Call - proc_getprocinfo with proc port. - - * sysdeps/mach/hurd/errnos.awk: Grok "@comment errno %d" in - errno.texi, instead of assigning sequentially. - * sysdeps/mach/hurd/errlist.awk: Likewise. - - * stdio/fwrite.c: Reset BUFFER_SPACE after fflush in fill_buffer - case. - - * sysdeps/generic/sigset.h (__SIGSETFN): When losing, punt to - `raise (-1)'. Old method looped. - - * hurd/hurd/resource.h: Include . - -Thu Oct 27 15:00:50 1994 Roland McGrath - - * sysdeps/standalone/standalone.h: Fixed typo. - -Wed Oct 26 00:21:16 1994 Roland McGrath - - * sysdeps/unix/i386/vfork.S: New file. - - * sysdeps/generic/strchr.c: Increment CP properly in check for 5th - char of quadword hit. - - * sysdeps/mach/hurd/getprio.c (getonepriority): Always set ONERR. - -Tue Oct 25 03:53:26 1994 Roland McGrath - - * hurd/hurd/resource.h: Include . - - * stdio/ftell.c: If STREAM->__pushed_back, calculate from - pushback_bufp instead of bufp. - - * Makefile (format-me): New canned sequence; runs makeinfo - --no-headers. - (INSTALL): Use it. - (NOTES): New file rule. - - * manual/intro.texi (Feature Test Macros): Node moved off to - creature.texi. - * manual/creature.texi: New file, broken out of intro.texi. - - * manual/Makefile (indices): New variable; include ky. - (realclean): Use $(indices) to remove all index and sorted index - files. - - * sysdeps/mach/hurd/fcntlbits.h (O_ASYNC, O_FSYNC, O_SYNC): - Protect with [__USE_BSD]. - -Mon Oct 24 00:16:59 1994 Roland McGrath - - * sysdeps/unix/bsd/utime.c: Initialize tv_usec fields. - Use __gettimeofday instead of time. - - * sunrpc/pmap_rmt.c: Include before . - Undef _POSIX_SOURCE before that. - * sunrpc/pm_getport.c: Likewise. - * sunrpc/pm_getmaps.c: Likewise. - * sunrpc/get_myaddr.c: Likewise. - - * misc/sys/cdefs.h: Undef __P first. - - * Version 1.08.12. - - * sysdeps/mach/hurd/getprio.c: Rewritten. - * sysdeps/mach/hurd/setprio.c: New file. - * hurd/hurdprio.c: New file. - * hurd/Makefile (routines): Add hurdprio. - * hurd/hurd/resource.h (_hurd_priority_which_map): Declare it. - (NICE_TO_MACH_PRIORITY, MACH_PRIORITY_TO_NICE): New macros. - -Sun Oct 23 19:39:18 1994 Roland McGrath - - * Makerules (sources): Fix typo in last change. - -Fri Oct 21 13:15:39 1994 Roland McGrath - - * sysdeps/generic/termbits.h (ECHOKE): Remove gratuitous leading - space before #define. - - * Makerules (sources): Filter out $(elided-routines). - - * sysdeps/sparc/divrem.m4 (entry point): For OP=rem, set SIGN from - dividend only, ignoring divisor. - (Lgot_result): Test SIGN here for OP=rem too (as originally). - -Wed Oct 19 02:40:02 1994 Roland McGrath - - * hurd/hurdsig.c: Use assert_perror. - - * assert/assert-perror.c (__assert_perror_fail): New file. - * assert/assert.h (assert_perror): New macro. - - * Version 1.08.11. - - * hurd/hurdsig.c (abort_rpcs): Actually return a port instead of - boolean, as the type says. - - * hurd/hurdsig.c (abort_all_rpcs): If waiting for reply from - interrupted RPC returns error, print debugging msg with error - test, don't assert. - -Mon Oct 17 00:06:03 1994 Roland McGrath - - * stdlib/strtol.c: Deansideclized. - * sysdeps/generic/strcspn.c: Deansideclized. - * sysdeps/generic/putenv.c: Deansideclized, added portability - cruft. - -Fri Oct 14 14:00:11 1994 Roland McGrath - - * sysdeps/unix/sysv/sysv4/solaris2/utsnamelen.h: - Moved to sysdeps/unix/sysv/sysv4. - -Thu Oct 13 22:06:50 1994 Roland McGrath - - * sysdeps/unix/common/glue-ctype.c [HAVE__LOCP]: Move this defn to - first. Include sys/types.h. - - * sysdeps/unix/bsd/readdir.c: Include direct.h. - - * socket/sys/socket.h (__SOCKADDR_ARG): Always use non-GCC defn, - for now. - * posix/sys/wait.h (__WAIT_STATUS): Likewise. - -Tue Oct 11 00:42:50 1994 Roland McGrath - - * Version 1.08.10. - -Mon Oct 10 00:33:47 1994 Roland McGrath - - * malloc/malloc.h [_MALLOC_INTERNAL] (CHAR_BIT): Don't define if - already defined. - - * stdio/__vfscanf.c: Grok %q modifier like %ll. - - * mach/__msgserver.c: Increase default MAX_SIZE to two pages. - - * misc/init-misc.c: Cast string constant to non-const type. - - * sysdeps/i386/ffs.c: Use %1 again instead of listing TMP as an - input with constraint "1". This avoids a warning that TMP may be - used before set. - -Sun Oct 9 22:41:20 1994 Roland McGrath - - * hurd/hurdsig.c (abort_all_rpcs): Declare SS. - -Sun Oct 09 01:19:38 1994 Jim Meyering (meyering@comco.com) - - * posix/fnmatch.c: Remove CONFIG_BROKETS conditional. - -Fri Oct 7 15:28:07 1994 Roland McGrath - - * stdio/__vfscanf.c: Properly grok %a modifier. - - * hurd/hurdsig.c (abort_rpcs): Return the reply port or null, - instead of boolean. - (abort_all_rpcs): Record the returns from abort_rpcs and wait for - a message on each reply port. Don't bother locking _hurd_siglock. - -Thu Oct 6 18:57:44 1994 Roland McGrath - - * hurd/hurd.h (_hurd_socket_server): Take new arg DEAD; explain - its use in comment. - * hurd/hurdsock.c (_hurd_socket_server): Take new arg DEAD; if - nonzero, clear any old cached port and always do a fresh lookup. - * sysdeps/mach/hurd/socket.c: Pass new arg to _hurd_socket_server, - cope with dead server on socket_create. - * sysdeps/mach/hurd/__pipe.c: Likewise. - -Mon Oct 3 02:09:43 1994 Roland McGrath - - * sysdeps/generic/utsnamelen.h (_UTSNAME_LENGTH): Increase to - 1024. - -Sun Oct 2 18:35:16 1994 Roland McGrath - - * posix/glob.h (__P): Change arg name to `protos', for congruence - with 4.4 BSD. - * posix/fnmatch.h (__P): Likewise. - -Sat Oct 1 04:25:35 1994 Roland McGrath - - * misc/Makefile (routines): Add daemon. - -Fri Sep 30 16:49:09 1994 Roland McGrath - - * misc/daemon.c: New file, incorporated from BSD 4.4-Lite. - - * sysdeps/mach/hurd/__setsid.c: Call _hurd_setcttyid with - MACH_PORT_NULL after proc_setsid. - - * hurd/hurdioctl.c (_hurd_setcttyid): Don't do mod_refs if port is - null. - - Always use fds' `port' cell for the generic port. - For ctty fds, use the `ctty' cell for the ctty-special port. - * hurd/dtable.c (get_dtable_port): Use port, never ctty. - (fork_child_dtable): Reset D->ctty instead of D->port. - (ctty_new_pgrp): Likewise. - * sysdeps/mach/hurd/__ioctl.c: Use ctty port for RPC if set and - !NOCTTY. - * hurd/port2fd.c (_hurd_port2fd): Install normal port in D->port - cell, and ctty-special port in the D->ctty cell, not the reverse. - * hurd/hurdioctl.c (tiocsctty): Don't assume MACH_PORT_NULL is - zero. - * hurd/hurdexec.c (_hurd_exec): Always pass fds' normal port, - never its ctty port. - * hurd/fd-write.c (_hurd_fd_write): Use ctty port for RPC if set - and !NOCTTY. - * hurd/fd-read.c (_hurd_fd_read): Use ctty port for RPC if set. - -Thu Sep 29 18:28:01 1994 Roland McGrath - - * mach/mig_syms.c (mig_put_reply_port): Add symbol alias to __ - name. - -Thu Sep 29 12:23:07 1994 Brendan Kehoe (brendan@zen.org) - - * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h (ENTRY): Use - poundfnc instead of \#function, to satisfy gcc-2.6.0 and higher. - (cat, poundfnc): Define macros to pull it off. - - * sysdeps/unix/sysv/sysd-stdio.c: Include - sysdeps/generic/sysd-stdio.h, - not looking in sysdeps/posix. - -Thu Sep 29 05:38:14 1994 Roland McGrath - - * sysdeps/unix/common/configure.in (ctype check): In test prog, - just reference $ctype; we don't care what type it is. - - * sysdeps/unix/bsd/bsd4.4/direct.h: New file. - (HAVE_D_TYPE): Define this macro. - * dirent/dirent.h (struct dirent): New member `d_type'; shorten - `d_namlen' to a byte. - * sysdeps/unix/bsd/readdir.c [! HAVE_D_TYPE]: Shuffle d_namlen and - clear d_type. - -Wed Sep 28 17:23:26 1994 Roland McGrath - - * posix/sys/utsname.h [__USE_SVID] (SYS_NMLN): New macro. - - * dirent/scandir.c: Free storage on error from readdir. - -Mon Sep 26 00:55:34 1994 Roland McGrath - - * Version 1.08.9. - - * MakeTAGS (all-dist): Prepend the appropriate sysdep dir names. - - * hurd/hurdsig.c (_hurd_internal_post_signal: sigwakeup): Create a - send right. - -Sat Sep 24 13:44:51 1994 Jim Meyering (meyering@comco.com) - - * sysdeps/generic/memcmp.c [CMP_LT_OR_GT]: New macro. - (memcmp): Use it in place of each of ten 5-line #ifdef blocks. - -Fri Sep 23 16:55:54 1994 Roland McGrath - - * sysdeps/mach/hurd/sigsuspend.c: Include . - - * sysdeps/mach/hurd/sigsuspend.c: Add missing & in __mach_msg - call. - -Thu Sep 15 14:22:56 1994 Roland McGrath - - * sysdeps/standalone/i386/force_cpu386/Dist: New file. - * sysdeps/standalone/m68k/m68020/mvme136/Dist: New file. - * sysdeps/standalone/i960/Dist: New file. - * sysdeps/standalone/m68k/m68020/Dist: New file. - * sysdeps/standalone/i386/force_cpu386/force_cpu386.ld: New file. - * sysdeps/standalone/m68k/m68020/mvme136/mvme136.ld: New file. - * sysdeps/standalone/i960/i960ca.h: New file. - * sysdeps/standalone/m68k/m68020/m68020.h: New file. - - * sysdeps/unix/common/configure.in: Use AC_COMPILE_CHECK instead - of AC_HAVE_FUNCS. - - * sysdeps/generic/make_siglist.c (sys_siglist): Define as macro to - my_siglist. - - * sysdeps/mach/i386/thread_state.h: Include from mach/machine, not - mach/i386. - * sysdeps/mach/hurd/i386/sigcontext.h: Likewise. - - * mach/mach/mig_support.h (__mig_put_reply_port): Declare. - (__mig_dealloc_reply_port): Take arg. - * sysdeps/mach/hurd/mig-reply.c (__mig_put_reply_port): New - function. - (__mig_dealloc_reply_port): Take arg, ignore it. - -Wed Sep 14 18:16:07 1994 Roland McGrath - - * sysdeps/mach/hurd/Makefile (libc-name): Set to crt. - [!subdir]: Install libc-ldscript as libc.a. - * sysdeps/mach/hurd/Dist: Add libc-ldscript. - -Tue Sep 13 19:57:09 1994 Roland McGrath - - * sysdeps/mach/hurd/sync.c: Don't be synchronous: pass WAIT=0 to - file_syncfs. - - * Makerules (libc-name): New variable. - (install, libc installation rule): Use $(libc-name) in place of `c'. - -Sun Sep 11 23:28:20 1994 Roland McGrath - - * sysdeps/mach/hurd/__readlink.c: Only decrement LEN to remove the - null terminator when LEN is already large enough to include it. - - * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Add break - after FS_RETRY_MAGICAL case. - -Fri Sep 9 04:03:59 1994 Roland McGrath - - * stdio/vfprintf.c: Grok q modifier like ll. - - * Make-dist (sysdep-Subdir-files, subdirs): Set these early on, - before doing distinfo. - [parent] (+distinfo): Set inhibit_interface_rules=t in sub-make. - -Thu Sep 8 17:18:14 1994 Roland McGrath - - * sysdeps/generic/morecore.c (__default_morecore) [! __STDC__]: - Declare arg as `int' instead of `ptrdiff_t'. - -Tue Sep 6 19:06:00 1994 Roland McGrath - - * posix/glob.c (prefix_array, glob): Avoid const on initialized - variables. Some compiler generates bad code. - -Mon Sep 5 13:24:26 1994 Roland McGrath - - * malloc/Makefile (malloc/%: ../sysdeps/generic/%): New rule, to get - morecore.c. - - * malloc/malloc.h (size_t, ptrdiff_t): Never define these as macros. - (__malloc_size_t): Define this instead. - Change all uses of size_t to __malloc_size_t. - * malloc/valloc.c: Replace all uses of size_t with __malloc_size_t. - * malloc/memalign.c: Likewise. - * malloc/mcheck.c: Likewise. - * malloc/mtrace.c: Likewise. - * malloc/malloc.c: Likewise. - * malloc/free.c: Likewise. - * malloc/realloc.c: Likewise. - * malloc/calloc.c: Likewise. - - * MakeTAGS (TAGS): Define first so as to be default goal. - (sysdep_dirs): Set this by running find, if it is not already set. - (all-dirs): Include that value. - (all-dist): Filter output of cat, not args to it. - * Makerules (TAGS): Depend on distinfo, not distfile. - - * resolv/getnetnamadr.c (getnetbyname): Arg is always const, - regardless of [sun]. - -Sun Sep 4 00:04:55 1994 Roland McGrath - - * Version 1.08.8. - - * Makerules (distinfo-vars): Double $s in final emitted sources defn. - - * inet/Makefile (headers): Add netdb.h. - * resolv/Makefile (headers): Remove netdb.h. - * resolv/netdb.h: Moved to inet. - * inet/netdb.h: Incorporated from BSD 4.4-Lite. - Add back h_errno declaration. - - * hurd/Makefile (faultexc.c): Change this to a pattern rule to - build both faultexc.[ch]. - (hurdfault.o): Depend on faultexc.h and faultexc.c to get them built. - - * sysdeps/mach/hurd/i386/trampoline.c - (_hurdsig_rcv_interrupted_p): Make PC volatile. - (_hurd_setup_sighandler): Cast SS->context to int before comparing to - _hurdsig_fault_sigcode. - - * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_SET_{SP,PC}): - Cast args to unsigned long int. - - * sysdeps/mach/hurd/i386/trampoline.c: Use _hurdsig_catch_fault. - - * Make-dist (subdirs): Use sed to remove comments from Subdirs files. - * MakeTAGS (subdirs): Likewise. - - * sysdeps/mach/i386/thread_state.h: Include - first thing. - - * hurd/Makefile (sig): Add faultexc. - ($(objpfx)faultexc.c): New target. - (generated): Append faultexc.c. - - * hurd/Makefile (sig): Add hurdfault; remove init-fault. - (distribute): Add hurdfault.h. - * hurd/hurdfault.h: New file. - * hurd/hurdfault.c: New file. - * hurd/hurdsig.c (interrupted_reply_port_location): Use - _hurdsig_catch_fault and _hurdsig_end_catch_fault. - (_hurdsig_getenv): Likewise. - * sysdeps/mach/hurd/i386/trampoline.c: Likewise. - - * hurd/catch-exc.c: Return EPERM if TASK is not right. - - * hurd/hurdsig.c (_hurd_sigthread_fault_env): Variable moved to - hurdfault.c. - (_hurdsig_fault_init): Function moved to hurdfault.c. - -Sat Sep 3 12:22:53 1994 Roland McGrath - - * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_SET_PC, - MACHINE_THREAD_STATE_SET_SP): New macros. - * mach/setup-thread.c: Use MACHINE_THREAD_STATE_SET_PC. - * sysdeps/mach/hurd/__fork.c: Likewise. - - * string/test-ffs.c (main: try): Actually call ffs in the test. - -Fri Sep 2 21:20:17 1994 Roland McGrath - - * sysdeps/mach/hurd/mips/__sigret.c: Restore FPU state. Code from - kkojima. - - * sysdeps/mach/hurd/__mknod.c: Fixed copying of the translator - name into buffer with major and minor numbers, and setting of LEN. - - * sysdeps/unix/configure (unix_syscall): In sed cmd, do = first to - avoid clobbering produced assignments. - -Thu Sep 1 03:25:17 1994 Roland McGrath - - * Version 1.08.7. - - * sysdeps/mach/hurd/connect.c (connect): Fix accidental renaming - of sun_path to sun_file_name. - - * bare/Makefile (routines, elided-routines): Set these both to - $(bare-routines). - (distribute): Don't set this. - - * Makerules (distinfo-vars): Fix cmd to echo `sources' defn. - - * sysdeps/unix/configure: Handle dirs other than common. Check - for [gs]etdomainname. - * misc/Makefile (routines): Add getdomain, setdomain. - * sysdeps/unix/bsd/bsd4.4/setdomain.S: New file. - * sysdeps/unix/bsd/bsd4.4/getdomain.S: New file. - * sysdeps/stub/setdomain.c: New file. - * sysdeps/stub/getdomain.c: New file. - -Wed Aug 31 01:15:26 1994 Roland McGrath - - * hurd/hurdsig.c (_hurd_internal_post_signal: sigwakeup): Take no - args; use parent SS variable. Changed all calls. - - * hurd/hurd/signal.h (struct hurd_sigstate): Make `suspended' a - port; remove `arrived'. - * sysdeps/mach/hurd/sigsuspend.c (sigsuspend): Rewritten to set - SS->suspended port and wait for msg on it. Check for and deliver - pending signals properly. - * hurd/hurdsig.c (_hurd_internal_post_signal: sigwakeup): If - SS->suspended is set, send an empty message on it and clear it. - - * math/test-math.c (print_trig_stuff): New function, tests many - math functions. - (main): Call it at end. - - * string/Makefile (tests): Added test-ffs. - * string/test-ffs.c: New file. - -Tue Aug 30 20:33:49 1994 Roland McGrath - - * misc/fstab.c (error): Return void. - (fstabscan): Return int. - - * sysdeps/i386/ffs.c: Use & modifier in constraint for CNT. - - * misc/fstab.c (EFTYPE): If not defined by errno.h, define this to - EINVAL. - (fstabscan): Return void. - -Tue Aug 30 11:00:01 1994 Michael I Bushnell - - * sysdeps/mach/hurd/__access.c (__access): Use a send right, - not a send-once right, in the new auth protocol. - * hurd/__setauth.c (_hurd_setauth): Likewise. - * hurd/hurdsig.c (reauth_proc): Likewise. - * hurd/dtable.c (reauth_dtable): Likewise. - * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Likewise. - -Tue Aug 30 03:59:38 1994 Roland McGrath - - * socket/sys/socket.h (__SOCKADDR_ARG) [GCC>=2.6]: Use a typedef - with the transparent_union attribute. - - * sysdeps/mach/hurd/__access.c: Use new authentication protocol: - for each port, create a fresh receive right and pass send-once - rights in the auth calls, then destroy the port. - - * sysdeps/mach/mips/syscall.S: New file. - - * stdio/Makefile (mpn-headers, mpn-sysdep): Change asm.h to - asm-syntax.h. - - * misc/Makefile (headers): Added fstab.h. - (routines): Added fstab. - * misc/fstab.c: New file. - * misc/fstab.h: New file. - - * hurd/Makefile (routines): Changed hurdpath to hurdlookup. - * hurd/hurdpath.c: Renamed to hurd/hurdlookup.c. - * hurd/hurdlookup.c: Globally replace `pathtrans' with `lookup' and - `path' with `file_name'. - (__hurd_file_name_split): Don't bother skipping leading slashes. - * hurd/hurd.h: Rename likewise in decls. - * hurd/fchroot.c: Globally replace `pathtrans' with `lookup' and - `path' with `file_name'. + * hurd/hurdmalloc.c, hurd/hurdmalloc.h: New files (temporary hack). + * hurd/Makefile (routines): Append hurdmalloc. + (distribute): Append hurdmalloc.h. + * hurd/alloc-fd.c: Include "hurdmalloc.h" (temporary hack). + * hurd/dtable.c: Likewise. + * hurd/hurdinit.c: Likewise. * hurd/hurdsig.c: Likewise. * hurd/hurdsock.c: Likewise. - * hurd/hurdsyms.c: Likewise. - * hurd/invoke-trans.c: Likewise. - * sysdeps/mach/hurd/__access.c: Likewise. - * sysdeps/mach/hurd/__chmod.c: Likewise. - * sysdeps/mach/hurd/__chown.c: Likewise. - * sysdeps/mach/hurd/__execve.c: Likewise. - * sysdeps/mach/hurd/__link.c: Likewise. - * sysdeps/mach/hurd/__lstat.c: Likewise. - * sysdeps/mach/hurd/__mkdir.c: Likewise. - * sysdeps/mach/hurd/__mknod.c: Likewise. - * sysdeps/mach/hurd/__open.c: Likewise. - * sysdeps/mach/hurd/__rmdir.c: Likewise. - * sysdeps/mach/hurd/__readlink.c: Likewise. - * sysdeps/mach/hurd/__stat.c: Likewise. - * sysdeps/mach/hurd/__symlink.c: Likewise. - * sysdeps/mach/hurd/__unlink.c: Likewise. - * sysdeps/mach/hurd/__utimes.c: Likewise. - * sysdeps/mach/hurd/bind.c: Likewise. - * sysdeps/mach/hurd/chflags.c: Likewise. - * sysdeps/mach/hurd/connect.c: Likewise. - * sysdeps/mach/hurd/fchdir.c: Likewise. - * sysdeps/mach/hurd/opendir.c: Likewise. - * sysdeps/mach/hurd/sysd-stdio.c: Likewise. - * sysdeps/mach/hurd/truncate.c: Likewise. - * sysdeps/mach/hurd/rename.c: Likewise. - * sysdeps/mach/hurd/getcwd.c: Likewise. - * sysdeps/mach/hurd/chroot.c: Likewise. - * sysdeps/mach/hurd/__chdir.c: Likewise. + * hurd/new-fd.c: Likewise. + * sysdeps/mach/hurd/start.c: Likewise. - * hurd/__setauth.c (_hurd_setauth): Use new authentication - protocol: for each port, create a fresh receive right and pass - send-once rights in the auth calls, then destroy the port. - * hurd/hurdsig.c (reauth_proc): Likewise. - * hurd/dtable.c (reauth_dtable): Likewise. + * sysdeps/mach/hurd/start.c (start1): Use malloc and a for loop + instead of calloc. + * hurd/hurdsig.c (_hurd_thread_sigstate): Use malloc and memset + instead of calloc. - * hurd/hurdpath.c (__hurd_path_lookup_retry): Don't handle - FS_RETRY_NONE (it's gone). Use new authentication protocol: - create a fresh receive right and pass send-once rights in the auth - calls, then destroy the port. + * sysdeps/mach/hurd/__brk.c (init_brk): Reference self to avoid + compiler warning. Add init_brk to _hurd_preinit_hook instead of + __libc_subinit. -Mon Aug 29 13:17:39 1994 Michael I Bushnell + * sysdeps/mach/hurd/start.c (_hurd_preinit_hook): New variable. + (start1): Run _hurd_preinit_hook before threadvar setup. - * sysdeps/mach/hurd/__symlink.c (__symlink): Use new - file_set_translator protocol. - * sysdeps/mach/hurd/bind.c (bind): Likewise. - * sysdeps/mach/hurd/__mknod.c (__mknod): Likewise. +Tue May 24 17:42:34 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/mach/hurd/__pipe.c (__pipe): Use PF_LOCAL instead - of AF_FILE. + * hurd/dtable.c (init_dtable): Initialize _hurd_dtablesize to + _hurd_init_dtablesize. Initialize _hurd_dtable_rlimit as + _hurd_dtablesize used to be set, but don't let it be zero. + (_hurd_dtable_rlimit): New variable. -Fri Aug 26 01:21:09 1994 Roland McGrath +Tue May 24 12:57:19 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - * Makefile ($(objpfx)sysd-dirs): Use sed to remove # comments from - Subdirs files. + * sysdeps/mach/sleep.c (sleep): Timeout arg to mach_msg is + in milliseconds, not microseconds; compute it accordingly. - Support for miscellaneous standalone boards (no OS), contributed - by Joel Sherrill (jsherril@redstone-emh2.army.mil), On-Line - Applications Research Corporation. - * sysdeps/standalone: New directory. - * sysdeps/standalone/standalone.h: New file. - * sysdeps/standalone/stdio_lim.h: New file. - * sysdeps/stub/strtsupp.c: New file. - * sysdeps/standalone/filedesc.h: New file. - * sysdeps/posix/{setenv,putenv}.c: Moved to sysdeps/generic. - * sysdeps/unix/getenv.c: Moved to sysdeps/generic. - * sysdeps/unix/morecore.c: Moved to sysdeps/generic. - * sysdeps/posix/sysd-stdio.c: Moved to sysdeps/generic. - * sysdeps/stub/errnos.h: Add ENFILE and EMFILE. - * sysdeps/stub/errlist.c (_sys_errlist): Likewise. - * sysdeps/stub/console.c: New file. - * sysdeps/standalone/__open.c: New file. - * sysdeps/standalone/__read.c: New file. - * sysdeps/standalone/__write.c: New file. - * sysdeps/standalone/__close.c: New file. - * sysdeps/stub/brdinit.c: New file. - * sysdeps/unix/__sbrk.c: Moved to sysdeps/generic. - * sysdeps/standalone/__brk.c: New file. - * sysdeps/standalone/Subdirs: New file - * bare/Makefile: New file (and new directory). - * sysdeps/i960/ffs.c: New file. - * sysdeps/i960/Implies: New file. - * configure.in (os=none): base_os=standalone + * sysdeps/mach/hurd/__select.c (__select): Deleted variables + DTABLE and DTABLE_ULINK. Use new vars _hurd_dtablesize and + _hurd_dtable instead of old _hurd_dtable structure. Use new + locking protocol on _hurd_dtable. -Thu Aug 25 23:56:32 1994 Roland McGrath +Tue May 24 01:55:24 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/stub/__sigret.c: Arg is not const. - * signal/sigret.c: Likewise. + * sysdeps/mach/hurd/__setitmr.c: Don't include mutex.h. -Tue Aug 23 14:43:19 1994 Roland McGrath + * sysdeps/mach/hurd/defs.c (init_stdio): Reference self. - * socket/sys/socket.h (PF_FILE, AF_FILE): Removed (use LOCAL instead). - (PF_XTP, PF_COIP, PF_CNT, PF_RTIP, PF_IPX, PF_SIP, PF_PIP): New - macros. - (PF_MAX): Increased to 26. - (pseudo_AF_XTP, AF_COIP, AF_CNT, pseudo_AF_RTIP, AF_IPX, AF_SIP, - pseudo_AF_PIP): New macros. - (MSG_EOR, MSG_TRUNC, MSG_CTRUNC, MSG_WAITALL, MSG_DONTWAIT, - SO_REUSEPORT): New enum constants. + * sysdeps/unix/sysv/sysv4/i386/sysdep.h: Include + sysdeps/unix/sysv/i386/sysdep.h, not sysdeps/unix/i386/sysdep.h - * hurd/hurdsig.c (_hurd_internal_post_signal): If not preempted, - set ACT before checking for SIGCONT. When continuing and - ACT==handle, don't resume SS->thread; record that it is suspended - and in handler-setup code, don't suspend it again. +Mon May 23 19:05:44 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/mach/hurd/sys/param.h: Include (BSD does). + * sysdeps/mach/hurd/Makefile (mib_hacks, defines): Variables removed. - * sysdeps/mach/hurd/__fork.c: When unchaining old sigstates, check - for SS being head of chain. + * mach/devstream.c (mach_open_devstream): Set STREAM's seek and + fileno io functions to null. -Mon Aug 22 00:29:02 1994 Roland McGrath + * hurd/hurdexec.c (_hurd_exec): Fixed adding of dtable ports to + PLEASE_DEALLOC array. - * time/{asia,australasia,europe,northamerica}: New data from ADO. + * sysdeps/mach/hurd/defs.c (init_stdio): Unlock the descriptors + after fetching them. If a standard descriptor is not allocated, + allocate the structure and store its pointer in the stream anyway. - * hurd/hurdsig.c (abort_rpcs): After destroying MSGING_PORT, - change the return value register in STATE to EINTR. - * sysdeps/mach/mips/thread_state.h (SYSRETURN): New macro. - * sysdeps/mach/i386/thread_state.h (SYSRETURN): New macro. + * stdio/gets.c: Only return null on P==S if feof (STREAM). - * hurd/hurdsig.c (default_sigaction): New function. - (_hurd_thread_sigstate): Use it to initialize SS->actions. - Initialize rest of new sigstate by hand, don't just bzero it. + * stdio/vfprintf.c: Make %Z a type modifier, not a format spec. - * hurd/hurdsig.c (_hurd_internal_post_signal): Initialize - THREAD_STATE.set to zero. + * sysdeps/mach/hurd/fdopen.c: Return NULL rather than -1 for error. - * posix/execl.c: Use ARG instead of PATH in va_start. +Mon May 23 14:24:50 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - * sysdeps/mach/hurd/__fork.c: In child fork, unchain stale - structures from _hurd_sigstates first, and only free them after - other processing is complete. + * sysdeps/mach/hurd/__close.c (__close): Use new _hurd_fd_get + protocol. + * sysdeps/mach/hurd/__dup2.c (__dup2): Likewise. Use + _hurd_dtablesize and _hurd_dtable instead of old _hurd_dtable + structure. - * hurd/hurdpath.c (__hurd_path_lookup_retry): For malformed number - in magic "fd/N", return ENOENT instead of treating it as bogus - magic. + * sysdeps/mach/hurd/sysd-stdio.c (__stdio_seek): Use + HURD_FD_PORT_USE, not HURD_FD_USE. + * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Variable + is D, not FD. - * sysdeps/mach/hurd/__chdir.c: After __path_lookup on arg, use - __hurd_path_lookup of empty file name on resultant port to check - that it's a directory. - * sysdeps/mach/hurd/chroot.c: Likewise. - * sysdeps/mach/hurd/fchdir.c: Use __hurd_path_lookup of empty file - name on FD port to check that it's a directory and acquire a - reference at the same time. - * hurd/fchroot.c: Likewise. + * hurd/alloc-fd.c (_hurd_alloc_fd): Arg FIRST_FD is not actually + const. + * hurd/hurdsig.c (_hurd_internal_post_signal [case SIGINFO]): If + we are not the process group leader, ignore the signal. + (_S_sig_post [case SIGURG]): Declaration of D was out of place. - * hurd/hurdpid.c (init_pids): Add gratuitous self reference to - silence compiler. + * sysdeps/mach/hurd/fdopen.c: Include for + io_get_openmodes prototype. - * hurd/hurdpath.c: Include for cttyid opening rpc. - (__hurd_path_lookup_retry): Fixed typo. +Sat May 21 16:03:23 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * sysdeps/mach/hurd/i386/__sigret.c: Push state onto the user's - stack, switch to it, pop and return. + * assert/assert.c (__assert_fail): Put program name first in msg. - Major rewrite of Hurd signal delivery. - * hurd/hurd/signal.h (struct hurd_sigstate): New member `context'. - * sysdeps/mach/hurd/i386/trampoline.c: Include "thread_state.h" - instead of . - (struct mach_msg_trap_args): New type. - (trampoline): Function removed. - (_hurd_setup_sighandler): Take struct hurd_sigstate * arg instead - of FLAGS and SIGALTSTACK args; take new flag arg RPC_WAIT; use - struct machine_thread_all_state * for STATE arg. New declared - labels `trampoline', `rpc_wait_trampoline' mark asm code at end of - function (after return). Add another struct sigcontext * to - STACKFRAME after the first one, for the arg to __sigreturn. If - SS->context is set, fill registers in SCP from that instead of - STATE, and reset SS->INTR_PORT from it. Use memcpy to copy from - STATE into SCP; the structures are congruent. If RPC_WAIT is set, - set up to use rpc_wait_trampoline and frob args to mach_msg_trap - syscall in progress so that it will retry the receive operation - (but not resend!). - {rpc_wait_trampoline, trampoline}: New trampoline code. - (_hurd_rcv_interrupted_p): New function. - * sysdeps/mach/hurd/mips/trampoline.c: Likewise. - * hurd/hurdsig.c (write_corefile): Take new arg SIGERROR. Use - _hurdsig_getenv instead of getenv. Use dir_mkfile to create an - unlinked node for the core file; then use dir_link to name it, - only if core_dump_task succeeded. - (post_reply): New function. - (abort_thread): New function. - (interrupted_reply_port_location): New function. - (interrupted_reply_port): Function removed (replaced by above). - (abort_all_rpcs): Take struct machine_thread_all_state * for STATE. - (abort_rpcs): Likewise. - Return int, nonzero iff interrupt_operation RPC was done. Take - args for reply port and its port type; call abort_thread instead - of doing thread_abort and thread_get_state. Call - _hurdsig_rcv_interrupted_p instead of _hurd_thread_state_msging_p. - Use __interrupt_operation mig stub instead of manual packing. If - we destroy the msging port, and it is the thread's mig reply port, - clear its reply port slot. Fix inverted SA_RESTART test. - (_hurd_internal_post_signal): Take new arg SIGERROR. - Remove `cont' from ACT enum; SIGCONT processing is independent of - handling. Removed local function `check_pending'; add `reply'. - Use mask macro STOPSIGS instead of alternation to check for stop - signals. Process SIGCONT and do continuation before examining the - handler. Use SS->pending_data instead of SS->sigcodes. When - dying, don't lock _hurd_siglock around __proc_dostop call. When - dying, reply immediately after stopping user threads. When - handling, notice return from abort_rpcs and pass it to - _hurd_setup_sighandler; also pass SS instead of its components. - Set SCP->sc_error from SIGERROR; clear SS->intr_port after saving - it in SCP->sc_intr_port. For pending checks, use macro PENDING - and goto pending if returns true. - (_S_sig_post): Eliminate unnecessary variable WIN; pass SIGERROR - value of zero to _hurd_internal_post_signal. - (_hurdsig_getenv): New function. - * sysdeps/mach/hurd/i386/__sigret.c (sp): New global register - variable. - (__sigreturn): Arg is not const. - After restoring SCP->sc_mask, check for pending signals (newly - unblocked); if any, set SS->context to SCP, clear SS->intr_port, - and send sig_post to the signal thread to deliver the pending - signals. Point SP directly at &SCP->sc_gs and used popa;iret to - restore. (This does not actually work; iret is unhelpful.) - * sysdeps/mach/hurd/mips/__sigret.c (__sigreturn): Arg is not - const. After restoring SCP->sc_mask, check for pending signals - (newly unblocked); if any, set SS->context to SCP, clear - SS->intr_port, and send sig_post to the signal thread to deliver - the pending signals. Don't write $1 value into the user stack. - Instead, write it into the word just past SCP->sc_pc; then point - $1 at SCP->sc_pc and use `op_sigreturn' pseudo-instruction to - restore the PC and $1 from that. + * hurd/Makefile (dtable): Removed setdtsz. -Fri Aug 19 15:39:54 1994 Roland McGrath - - * configure.in (machine): Grok i586 -> i386/i586. - * sysdeps/i386/pentium: Directory renamed to sysdeps/i386/i586. - - * hurd/hurd.h (_hurd_pids_changed_stamp, _hurd_pids_changed_sync): - New variables. - * hurd/hurdpid.c (_S_proc_newids): Last thing, increment - _hurd_pids_changed_stamp and broadcast on _hurd_pids_changed_sync. - * sysdeps/mach/hurd/__setpgrp.c: After proc_setpgrp succeeds and - PID is ourself, wait on _hurd_pids_changed_sync until - _hurd_pids_changed_stamp increases from the value before the RPC. - * sysdeps/mach/hurd/__setsid.c: After proc_setsid succeeds, wait - on _hurd_pids_changed_sync until _hurd_pids_changed_stamp - increases from the value before the RPC. - - * posix/sys/wait.h [GCC>=2.6] (__WAIT_STATUS): Define this with - typedef as a union with the new (GCC 2.6.1) `transparent_union' - attribute. - - * stdio/printf_fp.c (MPNSIZE): New macro, computed from DBL_MAX_EXP. - (MPN_VAR): Use that for size of bignums. - - * sysdeps/mach/hurd/__kill.c: For pgrp, ignore ESRCH error from - kill_pid of individual pids, unless from all of them. - * hurd/hurdkill.c (_hurd_sig_post): Likewise. - -Fri Aug 19 00:54:50 1994 Roland McGrath - - * configure.in (INSTALL): Quote this shell goop from m4. - - * sysdeps/stub/start.c (errno, __environ): Define these variables. - - * sysdeps/stub/errnos.h (ENOMEM, EACCES): New macros. - * sysdeps/stub/errlist.c (_sys_errlist): Add strings for all - macros defined in stub/errnos.h. - (_sys_nerr): Use value computed from sizeof (_sys_errlist). - -Wed Aug 17 15:32:39 1994 Roland McGrath - - * hurd/hurdmsg.c (_S_io_select_done): Take poly arg for notify - port arg. - - * mach/mach_init.h (vm_page_size): Remove macro defn. - - * hurd/Makefile (distribute): Added STATUS. - - * sysdeps/mach/thread_state.h: Include and - . - - * sysdeps/mach/hurd/__select.c: Pass port-type arg to io_select. - - * sysdeps/mach/hurd/__fork.c: Include "hurdmalloc.h", so we use - the right `free'. - - * sysdeps/mach/hurd/__select.c (SELECT_DONE_MSGID): Correct value - to 23020. - (__select): Don't set PORT until just before sending io_select calls. - Pass proper send-size for io_select_done reply message. Clear the - reply port slot in io_select_done reply message header. - - * sysdeps/mach/hurd/__kill.c: Rename parameter to ARG_SIG, make - SIG a local variable initialized to that (this to work around a - GCC bug). - Initialize PIDS and NPIDS properly for proc_getpgrppids call. - - * signal/signal.h (__sigreturn, sigreturn): Arg is not const. - - * hurd/hurdpath.c (__hurd_path_lookup_retry): For REAUTH or NORMAL - with empty retryname, treat like NONE (which is now obsolete) - after reauthentication. For magic "tty", use new - termctty_open_terminal RPC on cttyid port. - -Tue Aug 16 01:58:21 1994 Roland McGrath - - * sysdeps/mach/hurd/__kill.c (kill_pid): Make non-inline. Treat - null msgport like EPERM return from sig_post. - * hurd/hurdkill.c (_hurd_sig_post): Treat null msgport like EPERM. - - * sysdeps/mach/thread_state.h (machine_get_state, - machine_get_basic_state): Initialize count arg before calling - thread_get_state. - - * hurd/hurdpath.c (__hurd_path_lookup_retry): Initialize ERR to zero. - - * hurd/hurdpath.c (__hurd_path_lookup_retry): Grok magic "tty". - - * hurd/hurd/signal.h (struct hurd_sigstate): Replace `sigcodes' with - `pending_data'. - (_hurd_raise_signal, _hurd_setup_sighandler): Update prototypes. - (_hurd_thread_state_msging_p): Don't declare. - (_hurdsig_rcv_interrupted_p): Declare this instead. - (HURD_EINTR_RPC): Invert sense of restart test. - - * hurd/hurdrlimit.c (_hurd_rlimits): Add braces to initializer. - - * hurd/catch-exc.c: Unlock _hurd_siglock when done with it. Use - __spin_lock_locked on `held' member instead of __mutex_lock_locked. - - * sysdeps/mach/thread_state.h: New file. - * sysdeps/mach/i386/thread_state.h: Don't #include - . Add #include_next at end. - * sysdeps/mach/mips/thread_state.h: Likewise. - - * sysdeps/mach/hurd/i386/sigcontext.h (struct sigcontext): Lay out - corresponding to i386_thread_state and i386_float_state. - * sysdeps/mach/hurd/mips/sigcontext.h (sc_mips_thread_state, - sc_mips_exc_state, sc_mips_float_state): New macros, marking - members that correspond to thread_state.h structs. - -Mon Aug 15 17:21:20 1994 Roland McGrath - - * Rules [cross-compiling=yes] (tests): Depend on the binaries, not - the output files. - - * Makerules: Replace uses of HOST_CC with BUILD_CC and - native-CFLAGS with BUILD_CFLAGS. - - * sysdeps/unix/Makefile (mk-local_lim, make-ioctls): Replace uses - of CC with BUILD_CC and native-CFLAGS with BUILD_CFLAGS. - * sysdeps/unix/sysv/sysv4/solaris2/Makefile: Replace uses of - HOST_CC with BUILD_CC and native-CFLAGS with BUILD_CFLAGS. - * sysdeps/posix/Makefile: Likewise. - - * Makeconfig (+cc_version): Variable and associated code removed. - (HOST_CC): Use BUILD_CC instead; all uses changed. - (cross-compiling): Set to no if not the case. - - * sysdeps/m68k/fpu/__math.h: Replace all uses of __const with - __CONSTVALUE. - - * Makerules (distinfo-vars): Remove $@.new first thing. Write - elided-routines instead of sysdep_routines. After writing - variables, append to sources from $(elided-routines). - * sysdeps/vax/Makefile (elided-routines): New variable (append to - it). - (aux, routines): Don't set these. - (sysdep_routines): Append things here instead. - * sysdeps/generic/Makefile (elided-routines): New variable (append - to it). - (aux): Don't set this. - * sysdeps/generic/Makefile (routines): Don't set this. - (sysdep_routines): Append exp__E and log__L here instead. - - * time/test_time.c (main): Set TBUF.tm_isdst to -1 before calling - mktime. - - * stdlib/stdlib.h (atof, atoi, atol, random, srandom, setstate, - initstate, mblen): Never define as macros. - [__OPTIMZE__ && __GNUC__ >= 2]: Define those functions as extern - inlines. - - * hurd/hurdpath.c (__hurd_path_lookup_retry): For magic "fd/%u", - lose on random chars after number; for / after number, retry - remainder properly. - - * hurd/hurdpath.c (pathtrans_error): New function; filters errors - from dir_pathtrans: EOPNOTSUPP and MIG_BAD_ID become ENOTDIR. - (__hurd_path_lookup, __hurd_path_lookup_retry): Call it. - -Thu Aug 11 11:59:33 1994 Noel Cragg (noel@churchy.gnu.ai.mit.edu) - - * time/mktime.c (_mktime_internal): Add code to normalize value of - TM_ISDST to -1, 0, or 1 so code doesn't loop forever. - -Thu Aug 11 02:26:37 1994 Roland McGrath - - * resolv/Makefile (subdir): Set to resolv, not res. - - * sysdeps/mach/hurd/sysd-stdio.c (fd_fail): Pass ERR to - _hurd_raise_signal. - - * sysdeps/mach/i386/thread_state.h (struct machine_thread_all_state): - Add new member `fpu'. - -Wed Aug 10 23:39:49 1994 Karl Heuer - - * malloc/mcheck.c (mcheck): Remove obsolete extern declaration. - - * malloc/mcheck.c (flood): Add an arg. - (freehook, mallochook, reallochook): Use different flood bytes to - distinguish freed space from uninitialized allocated space. - - * malloc/mtrace.c (mtrace): Guard against being called twice. - (muntrace): New function, to turn off tracing. - * malloc/malloc.h: Declare it. - -Wed Aug 10 02:47:24 1994 Roland McGrath - - * sysdeps/mach/hurd/mips/sigcontext.h (struct sigcontext): Renamed - member `sc_err' to `sc_error'. - - * hurd/hurd-raise.c: Take new arg SIGERROR. Set - SS->pending_data[SIGNO] from SIGCODE and SIGERROR instead of - setting SS->sigcodes[SIGNO]. - - * Makeconfig (+includes): Use text manipulation to avoid - conditional for $(..). Append $(last-includes). - * sysdeps/mach/hurd/Makefile (last-includes): Append - -I.../libthreads to this. - (includes): Not to this. - - * hurd/hurd/fd.h (_hurd_fd_error): Pass ERR to _hurd_raise_signal. - - * stdlib/stdlib.h [__OPTIMIZE__] (cfree, rand, srand, random, - srandom, initstate, setstate): Macros removed. - - * malloc/mcheck.c (reallochook): Fixed typo. - (mabort) [! __GNU_LIBRARY__]: Use fprintf and abort instead of - __libc_fatal. - - * hurd/Makefile (sig): Remove msging-p; that function will go in - trampoline.c. - * sysdeps/stub/msging-p.c: File removed. - * sysdeps/mach/hurd/mips/msging-p.c: File removed. - * sysdeps/mach/hurd/i386/msging-p.c: File removed. - -Tue Aug 9 19:20:29 1994 Roland McGrath - - * hurd/catch-exc.c: Get error code from _hurd_exception2signal and - pass it to _hurd_internal_post_signal. Search for SS manually - rather than using _hurd_thread_sigstate, to avoid locks. - - * sysdeps/mach/hurd/mips/msging-p.c: Fetch port argument from - register $8 (t0) instead of stack. Change type of STATE arg to - `struct machine_thread_all_state *'. - - * inet/inet_netof.c: Incorporated from BSD 4.4-Lite. - * inet/inet_net.c: Incorporated from BSD 4.4-Lite. - -Tue Aug 9 18:28:40 1994 Karl Heuer - - * malloc/mtrace.c (tr_mallochook, tr_reallochook): Don't assume - %lx format matches size_t arg. - * malloc/mtrace.c: Enable file- and line-number tracing. - * malloc/mtrace.awk: Postprocess that trace information. - - * malloc/mcheck.c (flood): New function. - (freehook, mallochook, reallochook): Initialize new space and - freed space to non-zero garbage, to help find code that makes - unwarranted assumptions. - -Mon Aug 8 01:20:56 1994 Roland McGrath - - * sysdeps/mach/hurd/mips/exc2signal.c (_hurd_exception2signal): Take - new arg `int *error'; set it. - * sysdeps/mach/hurd/i386/exc2signal.c: Likewise. - * sysdeps/stub/exc2signal.c: Likewise. - * hurd/hurd/signal.h (_hurd_exception2signal): Take new arg - `int *error'. - (_hurd_internal_post_signal): Take new arg `int error'. - - * res: Directory renamed to resolv. - * sysdeps/unix/inet/Subdirs: Change res to resolv. - - * Version 1.08.6. - - * sysdeps/sparc/divrem.m4 (DEVELOP_QUOTIENT_BITS): Use ** instead of - ^ for exponentiation. Pinard says it is more portable. - - * sysdeps/mach/hurd/mips/sigcontext.h (struct sigcontext): Added - member `sc_err'. - * sysdeps/mach/hurd/i386/sigcontext.h (struct sigcontext): Move - sc_err to front machine-independent section; change its comment. - - * sysdeps/stub/thread_state.h (struct machine_thread_all_state): New - type. - * sysdeps/mach/i386/thread_state.h: Likewise. - * sysdeps/mach/mips/thread_state.h: Likewise. - - * sysdeps/mach/i386/Implies: File removed; it was superfluous. - - * sysdeps/sparc/divrem.m4 (Lgot_result): Add more quotes in ifelse. - - * configure.in (fpu_dirs): Fixed typo. - -Sun Aug 7 01:13:04 1994 Roland McGrath - - * inet/inet_lnaof.c: Incorporated from BSD 4.4-Lite. - * inet/inet_mkadr.c: Incorporated from BSD 4.4-Lite. - * inet/inet_addr.c: Incorporated from BSD 4.4-Lite. - * res/Makefile (headers): Use only arpa/nameser.h, not arpa/*.h. - * res/arpa/inet.h: Moved to inet/arpa/inet.h. - * inet/arpa/inet.h: Incorporated from BSD 4.4-Lite. - - * misc/init-misc.c: New file. - * misc/Makefile (aux): Added init-misc. - - * Makeconfig (localtime-file): Use $(sysconfdir) instead of - $(etcdir). - - * Makerules (install-bin-nosubdir): Use $(install-bin) instead of - $(install). - (install-sbin-nosubdir): New target. - (install-no-libc.a-nosubdir): Depend on that. - - * configure.in ($nfp check): Iterate through $mach and use all - fpu/ dirs that exist. - -Wed Aug 3 02:46:03 1994 Roland McGrath - - * sysdeps/mach/hurd/mips/sigcontext.h: Rearranged structure so - machine-dependent portion is laid out like `struct mips_thread_state; - struct mips_exc_state; struct mips_float_state;'. - - * Version 1.08.5. - - * sysdeps/mach/hurd/mips/__sigret.c: Compare *reply_port to - MACH_PORT_NULL, not implicit zero. - (restore_gpr): Use N-1 as subscript into sc_gpr (sc_gpr[0] => $1). - Before general regs, restore from sc_mdlo and sc_mdhi. Don't - treat sp, fp specially; use restore_gpr for them too. For final - return, store user $1 value beyond top of user stack ahead of - time; then use $1 to hold the user PC, and restore it from the - stack in the delay slot. - -Tue Aug 2 21:03:51 1994 Roland McGrath - - * sysdeps/mach/hurd/mips/trampoline.c (_hurd_setup_sighandler): - Copy TS to SCP all at once. - * sysdeps/mach/hurd/mips/sigcontext.h (struct sigcontext): sc_gpr - has 31 elts; sc_gpr, sc_pc, sc_mdlo, sc_mdhi are arranged in that - order to mimic struct mips_thread_state. - - * Make-dist (all-headers): Instead of removing rpcsvc/%, use - $(wildcard) to remove all headers that don't exist at top level, - but preserve top-level $(headers). - - * Make-dist (sysdep_dirs): Avoid directories called RCS. - (%/configure): Pass -f to mv. - - * sysdeps/mips/setjmp.S [__sgi__]: Use `fp' instead of `$fp'. - -Mon Aug 1 20:12:23 1994 Roland McGrath - - * sysdeps/mach/hurd/mips/sigcontext.h (struct sigcontext): Add - members sc_mdlo, sc_mdhi. - * sysdeps/mach/hurd/mips/trampoline.c (_hurd_setup_sighandler): - Save mdlo and mdhi. - -Sun Jul 31 14:21:16 1994 Roland McGrath - - * time/mktime.c: Remove errant comment end sequence. - - * termios/sys/ttydefaults.h: Incorporated from BSD 4.4-Lite. - * sysdeps/vax/DEFS.h: Incorporated from BSD 4.4-Lite. - * sysdeps/unix/bsd/sys/reboot.h: Incorporated from BSD 4.4-Lite. - * sysdeps/unix/bsd/bsd4.4/errnos.h: Updated from 4.4-Lite sys/errno.h. - [__USE_BSD] (EAUTH, ENEEDAUTH, ELAST): New macros. - * sysdeps/ieee754/support.c: Incorporated from BSD 4.4-Lite. - * sysdeps/ieee754/cbrt.c: Incorporated from BSD 4.4-Lite. - * sysdeps/generic/trig.h: Incorporated from BSD 4.4-Lite. - * sysdeps/generic/tanh.c: Incorporated from BSD 4.4-Lite. - * sysdeps/generic/tan.c: Incorporated from BSD 4.4-Lite. - * sysdeps/generic/sinh.c: Incorporated from BSD 4.4-Lite. - * sysdeps/generic/sincos.c: Incorporated from BSD 4.4-Lite. - * sysdeps/generic/pow.c: Incorporated from BSD 4.4-Lite. - * sysdeps/generic/mathimpl.h: Incorporated from BSD 4.4-Lite. - Add back __izing #define's, except for exp__E and log__L, which - have been renamed with __s in 4.4-Lite. - * sysdeps/generic/log__L.c: Incorporated from BSD 4.4-Lite. - * sysdeps/generic/log1p.c: Incorporated from BSD 4.4-Lite. - * sysdeps/generic/log.c: Incorporated from BSD 4.4-Lite. - * sysdeps/generic/fmod.c: Incorporated from BSD 4.4-Lite. - * sysdeps/generic/exp__E.c: Incorporated from BSD 4.4-Lite. - * sysdeps/generic/exp.c: Incorporated from BSD 4.4-Lite. - * sysdeps/generic/cosh.c: Incorporated from BSD 4.4-Lite. - * sysdeps/generic/atanh.c: Incorporated from BSD 4.4-Lite. - * sysdeps/generic/atan2.c: Incorporated from BSD 4.4-Lite. - * sysdeps/generic/asinh.c: Incorporated from BSD 4.4-Lite. - * sysdeps/generic/asincos.c: Incorporated from BSD 4.4-Lite. - * misc/getusersh.c: Incorporated from BSD 4.4-Lite. - (initshells): Reapply fix of 16 Nov 1992. - * sysdeps/generic/acosh.c: Incorporated from BSD 4.4-Lite. - * sysdeps/generic/__expm1.c: Incorporated from BSD 4.4-Lite. - * misc/ttyslot.c: Incorporated from BSD 4.4-Lite. - * misc/ttyent.h: Incorporated from BSD 4.4-Lite. - * misc/syslog.c: Incorporated from BSD 4.4-Lite. - * misc/paths.h: Incorporated from BSD 4.4-Lite. - * misc/getttyent.c: Incorporated from BSD 4.4-Lite. - * misc/sys/syslog.h: Incorporated from BSD 4.4-Lite. - Don't include ; define _BSD_VA_LIST_ to __gnuc_va_list. - * inet/rexec.c: Incorporated from BSD 4.4-Lite. - * inet/rcmd.c: Incorporated from BSD 4.4-Lite. - (rcmd): Reapply select max fd fix of 3 Jun 1994. - * inet/pathnames.h: File removed. - * inet/inet_ntoa.c: Incorporated from BSD 4.4-Lite. - * inet/getsrvbypt.c: Incorporated from BSD 4.4-Lite. - * inet/getsrvbynm.c: Incorporated from BSD 4.4-Lite. - * inet/getservent.c: Incorporated from BSD 4.4-Lite. - * inet/getprtname.c: Incorporated from BSD 4.4-Lite. - * inet/getprtent.c: Incorporated from BSD 4.4-Lite. - * inet/getproto.c: Incorporated from BSD 4.4-Lite. - * inet/protocols/timed.h: Incorporated from BSD 4.4-Lite. - * inet/protocols/talkd.h: Incorporated from BSD 4.4-Lite. - * inet/protocols/rwhod.h: Incorporated from BSD 4.4-Lite. - * inet/protocols/routed.h: Incorporated from BSD 4.4-Lite. - * inet/arpa/tftp.h: Incorporated from BSD 4.4-Lite. - * inet/arpa/telnet.h: Incorporated from BSD 4.4-Lite. - * inet/arpa/ftp.h: Incorporated from BSD 4.4-Lite. - -Fri Jul 29 01:50:37 1994 Roland McGrath - - * Version 1.08.4. - - * res/Makefile (routines): Add missing backslash. - - * sysdeps/mach/hurd/mips/__sigret.c: Rename variable AT (which is - the register's name) to SCPREG. Fix some SCP references in - register loads to use SCPREG instead. Load SCPREG->sc_pc into $24 - and jump to it, restoring $at in the delay slot. This still - leaves $24 clobbered. - - * sysdeps/mach/hurd/mips/sigcontext.h: Use `unsigned int' - consistently for port names. - - * sysdeps/mach/hurd/mips/trampoline.c: Don't set up args on the - stack; pass them in registers. - - * Makefile (%/configure, sysd-dirs, munch-init.c): Pass -f to mv. - - * misc/sys/cdefs.h (__NORETURN, __CONSTVALUE): Use the - __attribute__ defn for GCC>=2.7, not >=2.6. Use the keyword defn - only for GCC<2.5. Use __volatile__ and __const__ instead of - noreturn and const for namespace safety. - - * sysdeps/mach/hurd/__readlink.c: If BUF is null, return the size - of buffer required. - -Thu Jul 28 17:17:11 1994 Roland McGrath - - * res/netdb.h: Declare h_errno. - - * res: New directory, for all code incoporated from BIND. - * inet/arpa/inet.h, inet/arpa/resolv.h: Moved to res/arpa. - * inet/sys/bitypes.h: Moved to res/sys. - * inet/gethstnamad.c: Renamed to res/gethnamaddr.c. - * inet/getnetbyad.c: Renamed to res/getnetbyaddr.c. - * inet/getnetbynm.c: Renamed to res/getnetbyname.c. - * inet/res_mkqry.c: Renamed to res/res_mkquery.c. - * inet/Makefile (headers): Removed netdb.h, resolv.h, and - sys/bitypes.h. - (routines): Removed res_comp res_debug res_init res_mkqry res_query - res_send gethstnmad sethostent. - (aux, distribute): Variables removed. - * res/getnetnamadr.c, res/nsap_addr.c: New files. - * All .c and .h in res/ updated from BIND-4.9.3-BETA9. - * res/Makefile: New file. - * sysdeps/unix/inet/Subdirs: Added res. - - * Makerules: Replace all uses of `.dep' suffix with `.d' suffix. - (+make-deps): Replace `.dtm' suffix with `.T' suffix. - -Wed Jul 27 06:13:30 1994 Noel Cragg (noel@churchy.gnu.ai.mit.edu) - - * time/mktime.c: Add code to support tm_isdst flag in struct tm. - Fixed bug with handling of DST sections. - -Mon Jul 25 17:17:28 1994 Roland McGrath - - * sysdeps/sparc/divrem.m4 (Lgot_result) [S=true]: Only test SIGN - and negate for [OP=div]. - - * socket/sys/socket.h (__SOCKADDR_ARG): New macro; for GCC 2.6 and - later, a funky union similar to __WAIT_STATUS in . - (bind, getsockname, connect, getpeername, sendto, recvfrom, - accept): Use __SOCKADDR_ARG in place of `struct sockaddr *' in - declarations. - - * posix/glob/configure.bat: New file. - * posix/Makefile (glob.tar): Add glob/configure.bat. - - * sysdeps/unix/opendir.c: Fail with ENOENT when passed "". - Check STATBUF and fail with ENOTDIR if it's not a directory. - -Mon Jul 25 15:44:18 1994 Noel Cragg (noel@churchy.gnu.ai.mit.edu) - - * time/mktime.c: Fix range-checking bug in NORMALIZE macro. - -Fri Jul 22 02:42:44 1994 Roland McGrath - - * sysdeps/unix/readdir.c: Search for NUL character to limit - d_namlen. Some systems return very bogus values. - - * sysdeps/unix/sysv/sysv4/i386/sysdep.h (PSEUDO): Remove ret at end. - - * mach/Makefile (mach-shortcuts): Filter out device_writev_request. - - * limits.h (_LIBC_LIMITS_H_): Don't define if already defined. - [__GNUC__ < 2]: Only protect this section from multiple inclusion. - - * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): - Declare SIGSP volatile. - - * hurd/hurdinit.c (_hurd_setproc): Fixed arg in - _hurd_pgrp_changed_hook decl. - - * hurd/hurd/signal.h (_hurd_self_sigstate_unlocked): New function. - (HURD_EINTR_RPC): Use it instead of _hurd_self_sigstate followed by - __mutex_unlock; this thread might already hold the lock. - -Wed Jul 20 18:53:54 1994 Michael I Bushnell - - * hurd/fd-read.c (_hurd_fd_read): Test for EBACKGROUND in - do loop was reversed. - - * hurd/hurdpath.c (__hurd_path_lookup): Skip over initial slashes - before calling __dir_pathtrans. - -Tue Jul 19 15:28:39 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * mach/Makefile (user-interfaces): Add mach/mach4. - (mach-shortcuts): Match all syscall_% again; the missing ones are in - mach4.defs. - - * mach/Machrules (%.ir): Match SimpleRoutine as well as Routine - comments. - - * sysdeps/mach/hurd/Makefile ($(hurd)/errlist.c): Use -f flag to mv. - -Sat Jul 16 00:42:30 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Makerules [install]: Rewrite this rule to use install-bin. - [install-sbin]: New rule parallel to that one, installs in $(sbindir). - - * time/Makefile (install-sbin): Set this instead of install. - * sunrpc/Makefile (install-others): Use $(sysconfdir)/rpc instead - of $(etcdir)/rpc. - (install-bin): Set this instead of install; set it to just rpocgen. - (install-sbin): Put rpcinfo and portmap here instead. - ($(sysconfdir)/rpc): Rule renamed from $(etcdir)/rpc. - (defines): Rename it in _PATH_RPC defn here too. - - * posix/Makefile (install-bin): Set this instead of install. - - * Makeconfig (datadir): Default to $(prefix)/share, not $(prefix)/lib. - (sbindir): New variable. - (sysconfdir): Variable renamed from etcdir. - - * sysdeps/unix/bsd/sun/signum.h: New file; no SIGINFO, SIGLOST is 29. - - * sysdeps/unix/sysv/sco3.2.4/uname.S: New file from Scott Bartram. - - * sysdeps/unix/sysv/sco3.2.4/__getgrps.c: Include alloca.h. - - * configure.in (INSTALL): If it is $srcdir/install.sh after - AC_PROG_INSTALL, reset it to '$(..)./install.sh'. - - * sysdeps/mach/hurd/__ioctl.c (io2mach_type): Move macro defn before - first use. - (__ioctl): Fix swapped args to __sigismember; remove unused variable. - - * sysdeps/mach/hurd/send.c: Fix portsPoly arg to __socket_send. - * sysdeps/mach/hurd/sendto.c: Likewise. - - * sysdeps/mach/hurd/recv.c: Pass &BUFP, not BUFP. - * sysdeps/mach/hurd/recvfrom.c: Likewise. - - * sysdeps/mach/hurd/connect.c: Include . - - * sysdeps/mips/dec/bytesex.h: New file. - * sysdeps/mips/p40/bytesex.h: New file. - -Fri Jul 15 23:12:06 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * posix/sys/types.h (u_quad, quad): Renamed to &_t. - * posix/gnu/types.h [__GNUC__] (__u_quad_t, __quad_t, __qaddr_t): - New typedefs, using long long int and derivatives. - [! __GNUC__] (__u_quad, __quad): Renamed to &_t. - (__fsid_t): Make this always be __u_quad_t. - - * time/sys/time.h (struct timespec): New type. - (TIMEVAL_TO_TIMEPSEC, TIMESPEC_TO_TIMEVAL): New macros. - -Thu Jul 14 15:43:39 1994 Brendan Kehoe (brendan@zen.org) - - * sysdeps/unix/sysv/sysv4/sysinfo.S: New file. - * sysdeps/unix/sysv/sysv4/Dist: Add sysinfo.S. - * sysdeps/unix/sysv/sysv4/Makefile: Add sysinfo to sysdep_routines - if we're inside misc. - * sysdeps/unix/sysv/sysv4/sethostnam.c: New file. - * sysdeps/unix/sysv/sysv4/__gethstnm.c: New file. - - * sysdeps/unix/sysv/sysv4/solaris2/fsync.S: New file. - -Tue Jul 12 00:57:08 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * mach/Makefile (mach-shortcuts): Only match known Mach - subsystems: vm, task, mach_port, and thread. - -Mon Jul 11 20:18:29 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * hurd/intr-rpc.defs, hurd/intr-rpc.awk: New files. - * hurd/Makefile (user-MIGFLAGS): Add -imacros intr-rpc.defs. - (transform-user-stub): New canned sequence. - (transform-user-stub-output): New variable. - Make the .ustamp files depend on intr-rpc.awk. - - * mach/Machrules (%.ir): Cull the RPC names from the preceding - comment rather than the definition, so we don't see any userprefix. - (transform-user-stub-output): New variable. - (%.ustamp: %.defs): Invoke $(transform-user-stub) inside for loop. - Use $(transform-user-stub-output) in place of `tmp' in arg to - move-if-change. - - * mach/Makefile [! mach-shortcuts] (user-interfaces): Also filter - out device/device_request. - -Mon Jul 11 17:50:14 1994 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) - - * sysdeps/unix/sysv/sysv4/Makefile: Put the sys-sig.S stuff in - here, rather than in .../sysv4/solaris2/sparc/Makefile. - * sysdeps/unix/sysv/sysv4/solaris2/sparc/Makefile: Removed the - sys-sig.S part. - -Sun Jul 10 19:04:24 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/mach/hurd/bind.c: Call __hurd_invoke_translator. - - * hurd/hurd.h (__hurd_invoke_translator, hurd_invoke_translator): - Declare them. - * hurd/Makefile (routines): Add invoke-trans. - * hurd/invoke-trans.c (__hurd_invoke_translator): New file. - * hurd/hurdsyms.c (hurd_invoke_translator): New alias. - - * hurd/hurdpath.c (__hurd_path_lookup_retry): New function. - * hurd/hurdsyms.c (hurd_path_lookup_retry: New alias. - * hurd/hurd.h (__hurd_path_lookup_retry, hurd_path_lookup_retry): - Declare them. - - * hurd/hurd/fd.h (_hurd_fd_error_signal): Return SIGLOST for - MIG_SERVER_DIED. - - * time/strftime.c: Make %j value 1-origin instead of 0-origin. - -Sat Jul 9 02:31:23 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * gnu-stabs.h (__SYMBOL_PREFIX): New macro, based on NO_UNDERSCORES. - Use it in all macros instead of explicit leading underscores. - Removed all [! __STDC__] definitions. - - * sysdeps/mach/hurd/mips/trampoline.c: New file. - * sysdeps/mach/hurd/mips/sigcontext.h: New file. - * sysdeps/mach/hurd/mips/longjmp-ts.c: New file. - * sysdeps/mach/hurd/mips/msging-p.c: New file. - * sysdeps/mach/hurd/mips/longjmp-ctx.c: New file. - * sysdeps/mach/hurd/mips/init-fault.c: New file. - * hurd/mach/hurd/mips/__sigret.c: New file. - * sysdeps/mach/hurd/mips/exc2signal.c: New file. - * sysdeps/mach/mips/thread_state.h: New file. - * sysdeps/mach/mips/machine-sp.h: New file. - * sysdeps/mach/mips/machine-lock.h: New file. - * sysdeps/mach/mips/sysdep.h: New file. - - * mach/Makefile (mach-syscalls.mk): Snarf 3rd arg from kernel_trap. - ($(mach-syscalls:%=__%.S): Emit kernel_trap instead of SYSCALL_TRAP. - * mach/syscalls.awk: Print nargs-$1 = $3 for each line. - * sysdeps/mach/sysdep.h: Include . - * sysdeps/mach/i386/sysdep.h (ENTRY, SYSCALL_TRAP): Macros removed. - - * sysdeps/mach/i386/machine-lock.h: Use __volatile in place of - volatile to work with -traditional. - -Fri Jul 8 21:06:43 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * hurd/hurdsig.c (_hurd_internal_post_signal): For stop signals, - clear pending SIGCONT no matter what action we choose. - Add new value `cont' to ACT enum; use it for default SIGCONT action. - (_hurd_internal_post_signal: sigwakeup): New local inline. - -Fri Jul 8 20:26:49 1994 Brendan Kehoe (brendan@zen.org) - - * sysdeps/unix/sysv/sysv4/solaris2/sparc/Makefile (sysdep-CFLAGS): Set - this to include the -mhard-quad-float option. - - * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys-sig.S: New file. - * sysdeps/unix/sysv/sysv4/solaris2/sparc/Makefile: New file. - * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file. - -Fri Jul 8 13:54:54 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * hurd/hurdpath.c (__hurd_path_lookup): Don't treat leading / - specially for FS_RETRY_NORMAL. Handle FS_RETRY_MAGICAL; leading / - here means use crdir. In that case, deallocate *RESULT if nonnull. - - * sysdeps/unix/sysv/sysv4/i386/sysdep.h: Don't define _ERRNO_H if - already defined. - - * posix/gnu/types.h (__ino_t): Make this unsigned int instead of - unsigned long int (matters for Alpha). - - * Makeconfig (+gccopt): Variable removed. - (+cflags): Don't use it. - (CPPFLAGS): Append $(sysdep-CPPFLAGS). - (CFLAGS): Append $(sysdep-CFLAGS). - - * sysdeps/mach/hurd/__ioctl.c: In MSGID calculation, skip blocks - of 100 for request commands >= 100, to allow for the reply msgids. - -Thu Jul 7 19:07:00 1994 Brendan Kehoe (brendan@zen.org) - - * sysdeps/unix/bsd/osf1/dirstream.h (DIR): Make __allocation - member be int, not size_t (which is a long). - -Thu Jul 7 15:21:15 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * hurd/__fopenport.c (readio, writeio, seekio, closeio): New - functions. - (funcsio): New const variable. - (__fopenport): Make the new stream use that for its io functions, and - the default room functions, and set its seen flag. - -Tue Jul 5 11:32:38 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * hurd/hurd/signal.h (struct hurd_sigstate): Removed `intr_restart'. - (HURD_EINTR_RPC): Uncommented. Declare label - `__do_call' so it has block instead of function scope. Don't use - SS->intr_restart; instead SS->intr_port being reset to - MACH_PORT_NULL tells us to restart the call. - - * sysdeps/mach/hurd/__ioctl.c: Enable use of HURD_EINTR_RPC. - Do ctty magic and check for EBACKGROUND to generate SIGTTOU. - - * mach/devstream.c (dealloc_ref): New function. - (mach_open_devstream): Add a user reference to DEV, and set - STREAM's close fn to dealloc_ref, which will release the reference. - - * hurd/fd-read.c (_hurd_fd_read): Enabled and rewrote SIGTTIN code. - * hurd/fd-write.c (_hurd_fd_write): Enabled and rewrote SIGTTOU code. - - * hurd/hurdsyms.c: Add an alias hurd_sig_post -> _hurd_sig_post. - * hurd/hurdkill.c (_hurd_sig_post): Renamed back from hurd_sig_post. - * hurd/hurd.h: Declare _hurd_sig_post. - - * hurd/hurdsig.c (_S_sig_post): Add SIGTTIN and SIGTTOU cases, - handled like SIGINT et al. - - * mach/devstream.c: Turn back on NL->CRNL translation. - - * stdio/xbug.c (main): Return instead of running off the end. - -Mon Jul 4 16:57:13 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Version 1.08.3. - -Sat Jul 2 00:15:37 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/mach/hurd/__ioctl.c: Account for three type fields in - message buffer size. - - * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): - Catch faults accessing user stack and return NULL. - * hurd/hurdsig.c (_hurd_internal_post_signal): When it does, die - with SIGILL and dump core. - - * hurd/hurdsig.c (_hurd_internal_post_signal): Use - _hurd_msgport_thread instead of __mach_thread_self () to avoid the - system call. (Signals will now lose if _hurd_msgport_thread gets - clobbered.) - (abort_rpcs): Always do thread_abort and thread_get_state. - - * misc/getpass.c: Fix typo resulting in newline not being removed. - - * termios/sys/ttydefaults.h [TTYDEFCHARS] (ttydefchars): Cast - _POSIX_VDISABLE to cc_t to avoid gcc warning. - -Fri Jul 1 14:07:40 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * hurd/Makefile (user-interfaces): Add hurd/ifsock. - - * socket/sys/socket.h (AF_LOCAL): New macro. - - * sysdeps/mach/hurd/__kill.c: Fix SIGKILL loop condition. - -Fri Jul 1 13:36:27 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * hurd/hurdkill.c (hurd_sig_post): New var PIDSBUF; initialize - PIDS and NPIDS correctly; only free PIDS if the MiG stub - changed it. - -Thu Jun 30 18:47:48 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * hurd/hurdsock.c (_hurd_socket_server): Zero up to and *including* - new[DOMAIN]. - -Thu Jun 30 08:12:28 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * hurd/hurdsig.c (abort_all_rpcs): Just iterate over _hurd_sigstates. - - * hurd/dtable.c (fork_child_dtable): Skip empty descriptor slots. - - * sysdeps/mach/hurd/__ioctl.c: Fix MSG.data size calculation. - -Wed Jun 29 19:06:54 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/mach/hurd/bind.c: For AF_LOCAL, create a new node in the - filesystem, put the ifsock translator on it, and fetch the - address port. - * sysdeps/mach/hurd/connect.c: For AF_LOCAL, look up the socket - file and fetch the address port using the ifsock protocol. - -Tue Jun 28 16:03:15 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * hurd/Makefile (routines): Add ports-get, ports-set, and hurdmsg. - (aux): Remove msgstub. - * hurd/hurdports.c (get): Just call _hurd_ports_get. - (set): Just call _hurd_ports_set. - (getcttyid, setcttyid): New functions. - * hurd/ports-get.c (_hurd_ports_get): New file, new function. - * hurd/ports-set.c (_hurd_ports_set): New file, new function. - * hurd/hurd.h: Declare _hurd_ports_get and _hurd_ports_set. - Declare getcttyid and setcttyid. - * hurd/__setauth.c (__setauth): Just call _hurd_setauth. - (_hurd_setauth): New function, code moved from __setauth. - * hurd/hurdinit.c (_hurd_setproc): New function. - * hurd/hurdioctl.c (_hurd_setcttyid): New function. - - * locale/C-ctype_ct.c (__ctype_tolower_C, __ctype_toupper_C): Use - integer constants instead of character constants for octal values - so they will not be sign extended. - - * sysdeps/mach/hurd/__setitmr.c (fork_itimer): New function, on - _hurd_fork_child_hook. - - * sysdeps/stub/sysd-stdio.c (__stdio_reopen): Fix typo in arg type. - * sysdeps/stub/__ioctl.c: Fix type of REQUEST arg. - * sysdeps/stub/syscall.c: Include ansidecl.h. - * sysdeps/stub/_exit.c: Add __NORETURN to defn. - - * sysdeps/unix/sysv/sysv4/sigset.h (_EXTERN_INLINE): Define to - `extern __inline', not empty. - - * sysdeps/mach/hurd/ttyname.c: Don't bother searching /dev. - -Sat Jun 25 15:41:29 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/mach/hurd/__fork.c: Moved proc_task2pid call to just - before proc_child. It is a waste to do it earlier. - -Sat Jun 25 13:17:39 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * sysdeps/mach/hurd/__fork.c: Move proc_task2pid call to after - _hurd_ports are unlocked. Call proc_child nearly last thing. - Ignore errors from thread_resume. - -Fri Jun 24 20:21:11 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * sysdeps/posix/getcwd.c: Remove empty `#define'. - -Fri Jun 24 17:57:36 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * sysdeps/mach/hurd/__fork.c: Call proc_task2pid immediately after - task_create. Add comment explaining why thread_resume must be the - last thing we do to the child. - -Fri Jun 24 01:41:41 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * hurd/hurdinit.c (_hurd_proc_init): Call __proc_set_arg_locations - in place of __proc_setprocargs (it was renamed). - - * hurd/hurd.h: Rename _hurd_sig_post to hurd_sig_post. - * hurd/hurdkill.c: Likewise. - - * hurd/port2fd.c (_hurd_port2fd): Call __term_open_ctty instead of - __term_become_ctty, and don't pass the message port. + * hurd/hurdexec.c: Use _hurd_dtable and _hurd_dtablesize instead of + old _hurd_dtable structure. + * hurd/hurdsig.c: Likewise. + * hurd/alloc-fd.c: Likewise. * hurd/hurdioctl.c (rectty_dtable): Likewise. - * hurd/dtable.c (fork_child_dtable, ctty_new_pgrp): Likewise. - * sysdeps/mach/hurd/__fork.c: Use __proc_{get,set}_arg_locations - to propagate argv and envp locations to the child. + * Version 1.08 released. - * stdio/freopen.c (freopen): If STREAM->__seen is clear, pass - __stdio_close to __stdio_reopen. + * mach/mach_error_string.c: Renamed to errstring.c. + * mach/Makefile (routines): Renamed mach_error_string to errstring. + * mach/err_mach_ipc.sub: Renamed to err_mach.sub. + * mach/err_bootstrap.sub: Renamed to err_boot.sub. - * misc/Makefile (install-lib): Add libg.a. - ($(objpfx)libg.a): New rule; use make-dummy-lib. - (lib): Depend on $(objpfx)libg.a + * sysdeps/generic/sigset.h (__SIGSETFN): Take new arg CONST; use it + for CONST qualifier on SET arg to generated function. + Changed uses to pass it; sigismember passes __const, others empty. -Thu Jun 23 01:14:36 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/mach/hurd/sysd-stdio.c: Rewritten to use `struct hurd_fd *'s + for cookies. + * sysdeps/mach/hurd/fdopen.c: Rewritten accordinly. + * sysdeps/mach/hurd/defs.c (init_stdio): Rewritten accordingly. + Add it to the _hurd_fd_subinit hook instead of the __libc_subinit + hook. + * sysdeps/mach/hurd/stdio_init.c: New file. + * hurd/dtable.c (_hurd_fd_subinit): New hook variable. + (init_dtable): Run the _hurd_fd_subinit hook. - * termios/termios.h (CCEQ): New macro. + * hurd/hurd/fd.h (struct hurd_dtable): Type removed. + (_hurd_dtable_users, _hurd_dtable_rlimit): Variables removed. + (_hurd_dtable): Make this a struct hurd_fd **. + (_hurd_dtablesize): New variable. + (struct hurd_fd_user): Type removed. + (_hurd_dtable_get, _hurd_dtable_free, _hurd_dtable_fd): Functions + removed. + (_hurd_fd_get): Rewritten. Take just one arg, and look it up in + _hurd_dtable; return a struct hurd_fd *. + (HURD_FD_USE): Rewritten to use new _hurd_fd_get interface. + * hurd/dtable.c (_hurd_dtable_users, _hurd_dtable_rlimit): + Variables removed. + (_hurd_dtable): Make this a struct hurd_fd **. + (_hurd_dtablesize): New variable. + (init_dtable, fork_parent_dtable, fork_child_dtable, + ctty_new_pgrp, reauth_dtable): Use new simpler _hurd_dtable format. + * sysdeps/mach/hurd/__getdtsz.c: Use _hurd_dtablesize. + * sysdeps/mach/hurd/__fcntl.c: Use new _hurd_fd_get protocol. - * sysdeps/unix/sysv/irix4/__getgrps.c: Add missing __ to fn name. + * hurd/dtable.c (get_dtable_port): Return the ctty port if set. - Don't compile in absolute file names for localtime and posixrules - files if they were specified relative to $(zonedir). - * time/Makefile (installed-localtime-file, - installed-posixrules-file): Set these instead of - {localtime,posixrules}-file to the absolute file names. - ($(localtime-file), $(posixrules-file)): Change targets to - $(installed-localtime-file) and $(installed-posixrules-file). + * hurd/hurd/fd.h (_hurd_fd_error_signal): New function, broken out + of _hurd_fd_error. + (_hurd_fd_error): Call it. -Wed Jun 22 15:52:26 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * hurd/Makefile (dtable): Add fd-close. + * hurd/fd-close.c: New file. + * hurd/hurd/fd.h: Declare _hurd_fd_close. - * hurd/Makefile (sig): Add hurdkill. + * sysdeps/mach/hurd/__close.c: Call _hurd_fd_close. -Sat Jun 18 12:57:54 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * signal/Makefile (routines): Add sigsetops. + * signal/sigsetops.c: New file. - * stdio/_itoa.h (_itoa): Change type of VALUE to unsigned long long. - * stdio/_itoa.c (_itoa): Likewise. + * sysdeps/unix/sysv/sysv4/sigset.h (_EXTERN_INLINE): New macro. + Use it for all the inline functions. -Thu Jun 16 01:10:41 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * signal/signal.h: Move #include inside #ifdef _SIGNAL_H. - * sysdeps/mach/hurd/dirstream.h (DIR): Replace `__filepos' member - with `__entry_ptr' and `__entry_data'. Remove `__block_size' member. - Replace `__offset' member with `__ptr', a char *; no need to include - . - * sysdeps/mach/hurd/readdir.c: Use those, new dir_readdir protocol. - * sysdeps/mach/hurd/opendir.c: Initialize new members. - Don't do io_stat to set __blocksize. - * sysdeps/mach/hurd/telldir.c: Rewritten; return DIRP->__entry_ptr. - * sysdeps/mach/hurd/seekdir.c: Rewritten; just set DIRP->__entry_ptr - from arg, and zero DIRP->__size so a new block will be read. + * sysdeps/generic/sigset.h: Protect types with #ifndef + _SIGSET_H_types. Protect rest with #if !defined (_SIGSET_H_fns) + && defined (_SIGNAL_H). + (__SIGSETFN): Add extern declaration of NAME inside function. - * sysdeps/mach/hurd/getcwd.c: Use new dir_readdir protocol. + * sysdeps/unix/ioctls-tmpl.c: Add missing #endif. + * sysdeps/unix/Makefile (make-ioctls-CFLAGS): Remember -D. - * hurd/msgstub.c: Add stubs for dir_changed, file_changed. +Fri May 20 20:42:33 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * hurd/hurdsock.c (_hurd_socket_server): Removed unused label. + * sysdeps/unix/Makefile (sys/termios.h): Variable removed. + (ioctl-includes): New variable. + (make-ioctls-CFLAGS): Compute value generally from $(ioctl-includes). + ($(common-objpfx)ioctls): Depend on $(ioctl-includes), instead of + $(sys/termios.h). - * sysdeps/mach/hurd/__getdents.c: Use new dir_readdir protocol. + * sysdeps/unix/sysv/sco3.2.4/sco_getgrp.S: New file. + * sysdeps/unix/sysv/sco3.2.4/Makefile (sysdep_routines): Add + sco_getgrp. + * sysdeps/unix/sysv/sco3.2.4/__getgrps.c: New file. - * sysdeps/mach/hurd/__access.c: Open the file with 0 flags and - then use file_check_access to discover what we are allowed. + * sysdeps/generic/sigset.h (__sigismember, __sigaddset, __sigdelset): + Rewritten as extern inline functions; check for bogus signal number. -Tue Jun 14 14:10:03 1994 Brendan Kehoe (brendan@zen.org) + * configure.in (names): Put $implied before $* in new $sysnames + list remaining to be processed; this ensures unix/common precedes + unix/sysv4 for sysv4. - * sysdeps/mips/setjmp.S: Refer to `$fp', not `fp'. +Thu May 19 18:35:02 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) -Tue Jun 14 00:50:54 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * sysdeps/mach/hurd/defs.c (init_stdio): Make stdin and stdout + line buffered and stderr unbuffered. - * sysdeps/mach/hurd/__pipe.c: Set FDS[1], not FDS[2]. +Thu May 19 16:14:36 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Mon Jun 13 06:48:48 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * sysdeps/mach/hurd/getcwd.c: Remember to call io_stat on cwdir. - * sysdeps/unix/bsd/sun/sparc/sigtramp.c (trampoline): Use a - comment instead of a pointless insn to reference %0 in final asm. + * sysdeps/generic/configure.in: Use changequote around if expr + to avoid [] elision. - * hurd/hurdsock.c (_hurd_socket_server): If realloc fails, don't - fail; just don't cache the port. - Look up the server node only if it is not in the cache. - Translate errno only if path_lookup fails. - (init): New function, on _hurd_preinit_hook. +Thu May 19 13:53:59 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - * sysdeps/mach/hurd/__symlink.c: Complement _hurd_umask before ANDing. + * hurd/hurdsock.c (_hurd_socket_server): Return EPFNOSUPPORT + rather than EPROTONOSUPPORT because it's the entire protocol + family that isn't present, not just one protocol. -Sat Jun 11 12:52:28 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/mach/hurd/__access.c (__access): Don't deallocate + CRDIR or CWDIR; that's taken care of by the _hurd_port_get + and _hurd_port_free system. - * sysdeps/mach/hurd/__fork.c: Can't insert dead name rights into - child. +Thu May 19 04:14:57 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Sat Jun 11 05:19:47 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/posix/libc_fatal.c: Include . - * sysdeps/mach/hurd/i386/longjmp-ts.c: Set TS->uesp instead of - TS->esp. Set TS->eip. + * sysdeps/unix/sysv/sysv4/__sigact.c: Include for NULL. - * gnu-stabs.h (bss_set_element): New macro. - * hurd/dtable.c: Use bss_set_element instead of data_set_element - to put _hurd_dtable_lock in the _hurd_fork_locks set. + * sysdeps/mach/hurd/__access.c: Fix swapped poly and count args in + __auth_makeauth call. -Fri Jun 10 02:04:51 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * sysdeps/mach/hurd/ioctls.h (_IOC, _IOT): Rewritten using bitwise + operations, so the result is always technically a constant (the + old method of using a union constructor expression was not good + enough for initializers). - * sysdeps/mach/hurd/__fork.c: Don't apply MACH_PORT_TYPE to result - from __mach_port_names. Unlock SS->lock before return. - Check for KERN_NAME_EXISTS from mach_port_allocate_name when - creating a receive right and possibly ignore it. + * hurd/hurdsock.c (_hurd_socket_server): If path_lookup returns + ENOENT, we return EPROTONOSUPPORT. - * sysdeps/unix/sysv/sco3.2.4/Dist: Add sco_getgrp.S. + * hurd/Makefile (dtable): Add hurdioctl. + * hurd/dtable.c (rectty_dtable, tiocsctty, tiocnotty): Functions + moved: + * hurd/hurdioctl.c: New file. + (fioctl, fioclex): New functions. + * sysdeps/mach/hurd/__ioctl.c (_hurd_ioctl_handler_lists): Don't + define it, just declare it. - * crypt/speeds.c: Include signal.h and stdio.h first thing. - [! SIGVTALRM]: Define NO_ITIMER. + * sysdeps/mach/hurd/getcwd.c: Use MACH_PORT_RIGHT_SEND, not + MACH_PORT_TYPE_SEND, in mach_port_mod_refs call. - * sysdeps/unix/sysv/isc3/direct.h: New file. + * sysdeps/mach/hurd/__getpgrp.c: Don't lock _hurd_pid_lock. - * hurd/hurdinline.c: Include lock-intern.h before #define - _EXTERN_INLINE. + * sysdeps/unix/common/glue-ctype.c: Don't include . + Instead, add explicit extern declaration of TABLE in main. - * sysdeps/mach/hurd/__fork.c (_hurd_fork_locks): Don't be const. - (__fork): Set SS from _hurd_self_sigstate so it is never null. - New local flag PORTS_LOCKED records when we have spin_locked all - the _hurd_ports cells; unlock them if necessary on error. +Wed May 18 17:54:00 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * hurd/hurdsig.c (_hurd_siglock): Don't initialize it. - (_hurdsig_init): Initialize _hurd_siglock at runtime. + * sysdeps/m68k/Makefile (asm-CPPFLAGS): Append $(m68k-syntax-flag). -Wed Jun 8 12:22:27 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * Version 1.07.6. - * hurd/hurdid.c (_hurd_check_ids): Zero P->nuids and P->ngids after - deallocating P->uids and P->ngids. + * sunrpc/Makefile (+gccwarn): Set to -w. - * hurd/hurdioctl.c (_hurd_ioctl_handler_lists): Make defn initialized. + * sysdeps/unix/Makefile (ifeq testing sys/param.h): Use patsubst + instead of dir to remove directory name from .../sys/param.h but + preserve "sys/". - * sysdeps/mach/hurd/__ioctl.c: Only try to unpack if IOC_OUT is set. + * inet/sys/bitypes.h: Replaced with just #include . - * hurd/Makefile (routines): Replace $(inlines) with hurdinline. - (inlines): Variable and rule removed. - (generate-inlines): Variable removed. - * hurd/hurdinline.c: New file. + * posix/sys/utsname.h (_UTSNAME_NODENAME_LENGTH): If undefined, + define to _UTSNAME_LENGTH. + (struct utsname): Use _UTSNAME_NODENAME_LENGTH for `nodename' member. + * sysdeps/unix/bsd/sun/sunos4/utsnamelen.h (_UTSNAME_NODENAME_LENGTH): + Define it. -Tue Jun 7 01:58:20 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * resource/sys/resource.h (enum __rlimit_resource): Removed. + Just include instead. + * resource/Makefile (headers): Add resourcebits.h. + * sysdeps/generic/resourcebits.h: New file. + * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: New file. - * Makerules: Add -f to all mv commands missing it. + * stdio/test-popen.c (main): Use popen to read the file back, too. - * hurd/Makefile (generate-inline): New canned sequence. - (inline-%.c): Use it. + * sysdeps/unix/sysv/sysv4/i386/sysdep.h: New file. - * time/asia, time/europe, time/northamerica: New versions from ADO. + * sysdeps/unix/sysv/sysv4/i386/sys-sig.S: Fixed typo: movel->movl. -Mon Jun 6 21:36:04 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) +Tue May 17 12:46:31 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - * hurd/hurdid.c (init_id): New function. + * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self, + __mach_task_self, __mach_host_self): New declarations of __ + versions of syscall traps. + (swtch, __swtch, swtch_pri, __swtch_pri, thread_switch, + __thread_switch, evc_wait, __evc_wait): New prototypes. + * mach/Makefile (headers): Added mach/mach_traps.h so that the + GNU version is installed instead of the Mach version. - * Makerules (+make-deps): Put first s cmd before $(sed-remove-objpfx). - (sed-remove-objpfx): Replace occurrences at beginning of line too. +Mon May 16 15:34:12 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/stub/sys/param.h: New file. + + * mach/lock-intern.h (__mutex_lock, __mutex_unlock): Real definitions. + (__mutex_lock_solid, __mutex_unlock_solid, __mutex_init): Declare + them. + * mach/mutex-solid.c: New file. + * mach/Makefile (lock): Add mutex-solid. + (lock-headers): Remove mutex.h. + * mach/mutex.h: File removed. + * hurd/hurd/id.h: Include instead of . + * hurd/hurd/signal.h: Likewise. + * hurd/hurdsig.c: Likewise. + * hurd/hurdsock.c: Likewise. + * hurd/dtable.c: Likewise. + * hurd/__setauth.c: Likewise. + * sysdeps/mach/hurd/Makefile (includes): Also append + -I$(hurd-srcdir)/libthreads. + + * sysdeps/posix/system.c [WAITPID_CANNOT_BLOCK_SIGCHLD]: Don't + block SIGCHLD. + * sysdeps/unix/sysv/sco3.2.4/system.c + (WAITPID_CANNOT_BLOCK_SIGCHLD): Define this macro. + + * sysdeps/posix/sigintr.c (siginterrupt) [! SA_RESTART]: Always + fail with ENOSYS. + + * sysdeps/posix/__sigvec.c [! SA_ONSTACK]: Fail with ENOSYS if + SV_ONSTACK is set in VEC->sv_flags. + [SA_RESTART]: Protect SV_INTERRUPT check with this. + + * sysdeps/mach/sysdep.h (FATAL_PREPARE): New macro. + * sysdeps/posix/libc_fatal.c: Include . + [FATAL_PREPARE]: Invoke the macro. + * assert/assert.c: Likewise. + + * sysdeps/generic/memmem.c: Start BEGIN at HAYSTACK, not partway + into it. Loop until BEGIN passes the location in HAYSTACK with + NEEDLE_LEN bytes remaining to the end. + Compare first byte manually before calling memcmp. + + * sysdeps/unix/sysv/sco3.2.4/__sigact.S: Fix typo. + + * posix/sys/types.h [__USE_BSD] (int32_t, int16_t, int8_t, + u_int32_t, u_int16_t, u_int8_t): New typedefs. + + * assert/assert.c (__assert_program_name): New variable. + (__assert_fail): Print that in the msg too. + [HAVE_GNU_LD] (set_progname): New function to set it up at startup. + +Thu May 12 01:10:52 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * hurd/__setauth.c: Do critical section locking. + * hurd/hurdexec.c: Likewise. + * hurd/hurdauth.c (_S_del_auth): Likewise. + * hurd/getuids.c: Likewise. + * hurd/dtable.c: Likewise. + * hurd/alloc-fd.c: Likewise. + * hurd/hurd/port.h: Likewise. + * hurd/hurd/fd.h: Likewise. + * hurd/setuids.c: Likewise. + * hurd/intern-fd.c: Likewise. + * hurd/hurdsock.c (_hurd_socket_server): Likewise. + * sysdeps/mach/hurd/setrlimit.c: Likewise. + * sysdeps/mach/hurd/setgroups.c: Likewise. + * sysdeps/mach/hurd/seteuid.c: Likewise. + * sysdeps/mach/hurd/setegid.c: Likewise. + * sysdeps/mach/hurd/getrlimit.c: Likewise. + * sysdeps/mach/hurd/__setuid.c: Likewise. + * sysdeps/mach/hurd/__setreuid.c: Likewise. + * sysdeps/mach/hurd/__setregid.c: Likewise. + * sysdeps/mach/hurd/__setitmr.c: Likewise. + * sysdeps/mach/hurd/__setgid.c: Likewise. + * sysdeps/mach/hurd/__select.c: Likewise. + * sysdeps/mach/hurd/__sbrk.c: Likewise. + * sysdeps/mach/hurd/__getuid.c: Likewise. + * sysdeps/mach/hurd/__getpgrp.c: Likewise. + * sysdeps/mach/hurd/__getitmr.c: Likewise. + * sysdeps/mach/hurd/__getgrps.c: Likewise. + * sysdeps/mach/hurd/__getgid.c: Likewise. + * sysdeps/mach/hurd/__geteuid.c: Likewise. + * sysdeps/mach/hurd/__getegid.c: Likewise. + * sysdeps/mach/hurd/__getdtsz.c: Likewise. + * sysdeps/mach/hurd/__fork.c: Likewise. + * sysdeps/mach/hurd/__fcntl.c: Likewise. + * sysdeps/mach/hurd/__dup2.c: Likewise. + * sysdeps/mach/hurd/__close.c: Likewise. + * sysdeps/mach/hurd/__brk.c: Likewise. + * sysdeps/mach/hurd/__access.c: Likewise. + + * sysdeps/mach/hurd/reboot.c (reboot): Use the host priv port to + prove authority. + + * sysdeps/mach/hurd/__readlink.c: Don't request O_READ access. + + * sysdeps/mach/hurd/__ioctl.c: Don't expect result data unless + return code is zero. Translate MIG_BAD_ID or EOPNOTSUPP to ENOTTY. + + * mach/devstream.c (output): Use device_write instead of + device_write_inband. + +Wed May 11 18:49:31 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * hurd/hurdinit.c (_hurd_init): Finsih loop of _hurd_port_init on + _hurd_ports elts before doing _hurd_proc_init or + __task_set_special_port. + + * hurd/hurd/signal.h (struct hurd_sigstate): Add new + `critical_section' member. Remove #if 0'd out vfork crap. + (_hurd_critical_section_lock, _hurd_critical_section_unlock): New + functions. + (HURD_CRITICAL_BEGIN, HURD_CRITICAL_END): New macros. + + * io/Makefile (headers): Add poll.h and sys/poll.h. + (routines): Add poll. + * sysdeps/unix/bsd/sun/sunos4/poll.S: New file. + * sysdeps/unix/sysv/poll.S: New file. + * sysdeps/unix/bsd/poll.c: New file. + * sysdeps/stub/poll.c: New file. + * io/poll.h, io/sys/poll.h: New files. + + * misc/bsd-compat.c (setjmp): New function. + + * sysdeps/unix/Makefile (sysdep_headers): Remove sys/param.h. + * misc/Makefile (headers): Add it here instead. + + * io/test-utime.c (main): New file. + * io/Makefile (tests): New variable. + +Wed May 11 13:44:33 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) + + * hurd/hurd/threadvar.h (__hurd_errno_location): Remove + __volatile keyword. `volatile int errno' is not the same + as `int errno'; user programs often mention the latter. + * errno.h: Remove __volatile keyword; same reason. + +Tue May 10 17:21:41 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * time/zdump.c: New code from ADO. + + * time/difftime.c (difftime): Use hairy rounding algorithm from + eggert@twinsun.com when sizeof (time_t) >= sizeof (double). + + * Makerules (native-CFLAGS): Remove -I$(sysincludedir). RMS says + people with bogons in /usr/local/include deserve to lose. + + * stdio/printf_fp.c (__printf_fp): If IS_NEG gets set, negate + FPNUM before testing it for %g format choice. + + * sysdeps/unix/sysv/irix4/fcntlbits.h: New file. + * sysdeps/unix/sysv/irix4/Dist: New file. + * sysdeps/unix/sysv/irix4/readv.c: New file. + * sysdeps/unix/sysv/irix4/writev.c: New file. + * sysdeps/unix/sysv/irix4/__dup2.c: New file. + + * sunrpc/xdr_float.c (xdr_float): Change [mc68000 || sparc] to [! + vax]. + + * sysdeps/mips/setjmp.S: Remove spurious $. + + * sysdeps/generic/ftime.c: Include . + + * sysdeps/unix/mips/sysdep.S: Add .set noreorder. + +Tue May 10 16:27:13 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) + + * sysdeps/generic/termbits.h (NCCS): Doc fix. + +Mon May 9 18:07:44 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) + + * sysdeps/mach/hurd/uname.c (uname): System uname information + has moved from init to proc. + + * sysdeps/mach/usleep.c (usleep): Return correct value. Destroy + RECV when we're done with it. + +Thu May 5 17:03:56 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) + + * sysdeps/mach/hurd/__lstat.c: Use O_NOLINK instead of O_NOTRANS. + +Thu May 5 04:20:54 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * mach/spin-lock.h (spin_lock_init): Define. + + * sysdeps/mach/hurd/sigsuspend.c: New local variable NEWMASK, set + it to *SET if SET is not null, before taking SS->lock; don't + dereference SET while holding the lock. Restore SS->blocked to + OLDMASK before unlocking and returning. + + * hurd/hurdsig.c (hurdsig_fork_child): Return zero. + + * sysdeps/mach/hurd/__fork.c (_hurd_fork_parent_hook, + _hurd_fork_prepare_hook)): Define variables (symbol sets). + (__fork): Run _hurd_fork_prepare_hook and _hurd_fork_parent_hook. + + * sysdeps/mach/hurd/sigsuspend.c: Don't test SS->pending; instead + wait until SS->suspended is cleared. + * hurd/hurdsig.c (_hurd_internal_post_signal): Clear SS->suspended + before signalling on SS->arrived. + + * mach/Makefile (headers): Added mach/default_pager_helper.defs. + + * sysdeps/sparc/Dist: Added alloca.S. + +Wed May 4 14:02:29 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) + + * hurd/hurdexec.c (_hurd_exec): Unlock _hurd_dtable_lock when + all through. + + * sysdeps/mach/hurd/__setitmr.c: Changed _hurd_itimer_lock + to be a spin_lock; changed mutex_lock and mutex_unlock + accordingly throughout. + * sysdeps/mach/hurd/__getitmr.c: Corresponding changes from + mutex calls to spin lock calls here too. + + * sysdeps/mach/hurd/__setitmr.c (setitimer_locked): Fixed syntax + of declaration of PREEMPT. + (setitimer_locked): Declare variables ERR and ELAPSED. + (setitimer_locked): Fix some references to REMAINING that + were using it as an itimerval instead of a timeval. + (setitimer_locked): Deleted unused label STILLBORN. + +Wed May 4 00:17:32 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/stub/__getitmr.c: Fix arg name __WHICH to WHICH. + + * sysdeps/unix/bsd/alarm.c: Round tv_usec with arithmetic rather + than a test. + + * hurd/Makefile (user-interfaces): Add hurd/msg_request. + + * sysdeps/stub/__setitmr.c: Fix arg name __WHICH to WHICH. + + * Makeconfig (cross-compiling): Define if $(HOST_CC) and $(CC) differ. + * time/Makefile (install-others): Omit defn ifdef cross-compiling. + +Tue May 3 23:12:48 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * mach/Makefile (lock-headers): Add spin-lock.h. + + * misc/Makefile (routines): Add madvise. + + * malloc/Makefile (non-lib.a): Define. + * misc/Makefile (non-lib.a): Define. + * Makerules (install-lib.a): Filter out $(non-lib.a). + (install-lib-non.a): Append $(non-lib.a). + + * mach/Makefile (mach-headers): Rename sys/version.h to + mach/version.h. + + * hurd/Makefile (headers): Added hurd/threadvar.h. + + * Version 1.07.5. + + * hurd/port2fd.c (_hurd_port2fd): Use logic copied from + _hurd_port_locked_set to install PORT in D->port, but leave it locked. + + * sunrpc/Makefile (generated): Don't add $(objpfx). + + * sysdeps/stub/machine-lock.h: New file. + * sysdeps/stub/machine-sp.h: New file. + +Tue May 3 22:31:15 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) + + * sysdeps/mach/usleep.c (usleep): Specify MACH_RCV_MSG so that + mach_msg actually waits. + +Tue May 3 19:24:48 1994 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * malloc/malloc.h (enum mcheck_status): Delete trailing + comma in enum list; some compilers don't like it. + +Tue May 3 15:18:15 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) + + * sysdeps/mach/hurd/__symlink.c (__symlink): Pass port type arg to + __file_set_translator. + +Mon May 2 17:56:47 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * hurd/Makefile (generated): Add $(inlines) .c files. + + * sysdeps/mach/hurd/__mknod.c: Pass port type arg to + __file_set_translator. + +Sun May 1 16:03:13 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * mach/mig_syms.c: Add de-__ing aliases for mig_init, + mig_get_reply_port, and mig_dealloc_reply_port. + + * sysdeps/mach/hurd/errnos.awk: Handle copying errors from + mach/mig_errors.h and device/device_types.h. Omit E*_SUCCESS. + Omit MACH_MSG_MASK and other special bit macros. + + * sysdeps/mach/hurd/i386/sigcontext.h (struct sigcontext): Added + sc_reply_port member. + * hurd/hurdsig.c (fetch_reply_port): New function. + (_hurd_internal_post_signal): When setting up to run handler, set + SCP->sc_reply_port to the receiving thread's value for + _HURD_THREADVAR_MIG_REPLY. + * sysdeps/mach/hurd/i386/__sigret.c: Destroy the MiG reply port + used by the signal handler, and restore from SCP->sc_reply_port. + * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): New + function; guts from __hurd_threadvar_location. + (__hurd_threadvar_location): Call that. + + * hurd/hurdsig.c (check_pending): New function, broken out of: + (_hurd_internal_post_signal): Call that for pending signal check. + If SIGNO is zero, call check_pending on each thread's sigstate. + + * sysdeps/mach/hurd/start.c (start1): Use calloc to get + zero-filled space for __hurd_threadvar_stack_offset when + __hurd_threadvar_stack_mask is zero. + +Thu Apr 28 21:29:47 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Merged gmp-1.99.3+ mpn code from tege for printf_fp. + * stdio/printf_fp.c: Include "longlong.h"; gmp-impl.h no longer does. + + * Makerules (+depfiles): Filter $(extra-objs) to get only .o files. + +Wed Apr 27 00:20:41 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makerules (depend-$(subdir)): Put output in tmp file and use mv -f. + Always use $(+depfiles), since sources is no longer exported. + +Tue Apr 26 20:05:55 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Don't include to + avoid conflicts. + * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Undefine ECHO, MDMBUF, + TOSTOP, FLUSHO, PENDIN, and NOFLSH after including and + before including . + * sysdeps/unix/bsd/bsd4.4/__tcgetatr.c: Likewise. + +Tue Apr 26 14:42:43 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) + + * sysdeps/mach/sleep.c (sleep): Specify MACH_RCV_MSG or else + mach_msg won't do anything but return immediately. + (sleep): Compute return value correctly. + +Tue Apr 26 04:49:56 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/i386/setjmp.c: Put global register decls first thing. + * sysdeps/i386/__longjmp.c: Likewise. + +Fri Apr 22 18:10:36 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * sysdeps/unix/sysv/irix4/__wait3.S: New file. + * sysdeps/unix/sysv/irix4/time.S: New file. + * sysdeps/unix/sysv/irix4/__waitpid.c: New file. + +Thu Apr 21 16:54:11 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * malloc/malloc.c (initialize, morecore): When allocating the + _heapinfo block itself, account for it in the statistics. + +Tue Apr 19 20:17:06 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/sysv/sco3.2.4/pipestream.c: New file. + + * malloc/malloc.c (morecore): Only zero the new part of NEWINFO, + not the part we will copy _heapinfo into. + + * sysdeps/unix/bsd/signum.h (SIGLOST): Define. + (_NSIG): Increase to 33. + +Mon Apr 18 16:56:11 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * configure.in (config.status): Use $configure_args instead of + $ac_configure_args. + (after AC_PREPARE): Call AC_LANG_C. + + * time/Makefile (routines): Add sys/timeb.h. + (routines): Add ftime. + * time/sys/timeb.h: New file. + * sysdeps/unix/bsd/ftime.c: New file. + * sysdeps/generic/ftime.c: New file. + + * sysdeps/posix/getenv.c (getenv): Return NULL if __environ is null. + + * malloc/malloc.h [_MALLOC_INTERNAL] [HAVE_UNISTD_H]: Include + unistd.h. + + * malloc/Makefile (gmalloc-routines): Put valloc first. + +Wed Apr 13 14:03:02 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) + + * sysdeps/mach/hurd/__symlink.c (__symlink): Set the target of the + link to FROM, not TO. + + * sysdeps/mach/hurd/__readlink.c (__readlink): Copy just the + target into the user's buffer, not the entire translator spec. + +Tue Apr 12 00:13:19 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) + + * hurd/fd-write.c (_hurd_fd_write): Set noctty for now rather + than depending on what happens to be on the stack. + + * sysdeps/mach/hurd/readdir.c (readdir): Notice when hitting + end-of-file and return NULL. + +Mon Apr 11 17:36:59 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) + + * sysdeps/mach/hurd/start.c (start1): Bother to set __environ. + + * sysdeps/mach/hurd/__ioctl.c (__ioctl): Comment out use of + HURD_EINTR_RPC until signals work. + +Mon Apr 11 14:16:40 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) + + * sysdeps/mach/hurd/__ioctl.c (__ioctl): Call __mig_get_reply_port + rather than __mig_reply_port (which doesn't exist). + + * sysdeps/mach/hurd/__mknod.c: Added temporary declarations + of major and minor. + + * (This change occurred on April 4, 1994) mach/setup-thread.c + (__mach_setup_thread): The March 31 change had an error; the stack + needs to be allocated with ANYWHERE cleared. + + * (This change occurred on April 8, 1994) hurd/hurdexec.c + (_hurd_exec): The arguments to exec_exec had the length and + type parameters transposed. In addition, fetch the correct + procserver port for the new task. + + * (This change occurred on April 8, 1994) + sysdeps/mach/hurd/__wait.c (__wait4): Deal properly with a null + USAGE argument. + + * (This change occurred on April 8, 1994) + sysdeps/mach/hurd/_exit.c (_exit): Changed commented-out call to + __proc_exit into a correct call to __proc_mark_exit. + +Fri Apr 8 14:58:24 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) + + * string/strsignal.c (strsignal): Store of NUL into unknown_signal + was off by one. + +Tue Apr 5 21:26:25 1994 Brendan Kehoe (brendan@zen.org) + + * sysdeps/unix/sysv/sysv4/__sigact.c (__sigaction): Declare member + `oact' in lower case, to match its use in the rest of the function. + +Tue Apr 5 03:07:04 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makerules (install-lib.a rule): Run ranlib on the target. + + * Makerules (library member rule): Tighten up pattern rule to + match only libc.a, not other libraries. + +Mon Apr 4 21:49:57 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * set-hooks.h: New file. + * Makefile (distribute): Add it. + * set-init.c: Include it and use its macro DEFINE_HOOK_RUNNER. + + * Makerules (sysd-Makefile): Put `sysd-Makefile-done=t' in output. + (sysd-rules): Don't include it unless sysd-Makefile-done is defined. + +Mon Apr 4 18:33:54 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) + + * mach/setup-thread.c (__mach_setup_thread): Oops; the vm_allocate + call should have ANYWHERE cleared so that the change of the 31st + has any effect at all. + +Thu Mar 31 13:46:13 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) + + * mach/setup-thread.c (__mach_setup_thread): Create a red zone + beneath the stack; also, work around a bug in cthreads by + forcing the stack into high memory. FIXME--this routine + depends on the direction of stack growth; that should be fixed. + +Mon Mar 28 12:55:51 1994 Roland McGrath (roland@mole.gnu.ai.mit.edu) + + * Rules (make-dummy-lib): Use `$(AR)' instead of literal `ar'. + + * configure.in (arg parsing): Don't take --os-release or --os-version. + (switches): Variable removed; don't write it into config.status. + (config.status): Write release and version values directly. + + * sysdeps/unix/common/configure.in: Use changequote around if expr + to avoid [] elision. + +Sat Mar 26 18:36:27 1994 Roland McGrath (roland@mole.gnu.ai.mit.edu) + + * malloc/mcheck.c [! _MALLOC_INTERNAL]: #include + +Fri Mar 25 02:17:55 1994 Roland McGrath (roland@mole.gnu.ai.mit.edu) + + * malloc/mcheck.c (mprobe): New function. + (abortfunc): Take enum mcheck_status arg. + (checkhdr): Return an enum mcheck_status, and pass it to abortfunc. + (mabort): New function. + (mcheck): Use mabort as default abortfunc. + * malloc/malloc.h (enum mcheck_status): New type. + (mprobe): Declare new function. + (mcheck): ABORTFUNC takes an `enum mcheck_status' arg. + + * posix/unistd.h [__USE_GNU] (TEMP_FAILURE_RETRY): New macro. + + * stdio/stdio.h [__USE_GNU && !_LIBC] (cookie_io_functions_t): + Define instead of __io_functions (and make that a typedef for + this); omit __ from member names. + +Thu Mar 24 14:59:23 1994 Roland McGrath (roland@mole.gnu.ai.mit.edu) + + * sysdeps/unix/sysv/sco3.2.4/sigaction.h: New file. + + * sysdeps/unix/sysv/sco3.2.4/__sigact.S: Put address of + __sigreturn in %ecx before doing syscall trap. + + * sysdeps/stub/setegid.c: Fix arg type to __gid_t (was int). + +Wed Mar 23 17:33:09 1994 Roland McGrath (roland@mole.gnu.ai.mit.edu) + + * Makefile (headers): Remove $(stdarg.h). + * Makeconfig (stdarg.h): Variable removed. + * configure.in: Remove check for __gnuc_va_list in stdarg.h. + It is not safe to replace the compiler's stdarg.h with our own. + +Tue Mar 22 12:46:08 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Rules (dist): Rule removed. + * Makefile (dist): Likewise. + * Makerules (dist, distinfo): New rules. + (TAGS): Depend on distfile, pass -f distfile to submake. + + * math/Makefile: Remove if-ed out old bsdmath copying rules. + + * Makerules (sources, headers, sysdep_routines): Don't export these. + * Rules (others, tests): Likewise. + + * io/lockf.c: Include fcntl.h and errno.h. + +Mon Mar 21 20:27:32 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/bsd/sony/newsos4/fchdir.S: New file. + * sysdeps/unix/bsd/sony/newsos4/{__wait4.c,__wait3.c,__wait.c, + sys_wait4.S,Makefile,Dist}: New files. + + * sysdeps/unix/Makefile (syscall.h): De-SYS_ify `kerncall_basenum'. + + * sysdeps/unix/bsd/m68k/sysdep.S [! __motorola__]: Rename label 0 + to `store'; a user reports gas 1.38 bombs on numbered labels. + + * sysdeps/posix/Makefile (mk-stdiolim): Use $(HOST_CC). + + * Rules (distribute, dont_distribute, generated): Don't export them. + (dist): Pass those vars down to sub-make on cmd line. + * Makefile (distribute, generated): Don't export them. + (dist): Pass distribute and generated values to sub-make on cmd line. + + * Makerules (install-lib-nosubdir): Insert $(libprefix) appropriately. + +Fri Mar 18 01:02:52 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h (DO_CALL): Use a6 in + place of fp. A user reports gas 1.38 doesn't grok fp. + +Tue Mar 8 18:35:02 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makerules (common-clean): Prepend $(objpfx) to $(generated). + * Makefile (parent-clean): Prepend $(common-objpfx) to + $(common-generated). + * Makefile (generated): Don't prepend $(objpfx). + * Rules (generated): Likewise. + * sysdeps/unix/common/Makefile (generated): Likewise. + * sysdeps/unix/sysv/Makefile (generated): Likewise. + * sysdeps/unix/Makefile (common-generated): Don't prepend + $(common-objpfx). + * sysdeps/posix/Makefile (common-generated): Likewise. + * sysdeps/generic/Makefile (common-generated): Likewise. + (generated): Don't prepend $(objpfx). + + * sysdeps/generic/Makefile (common-generated): Set this instead of + generated for bytesex.h and det_endian. + + * sysdeps/stub/fexecve.c: New file. + * posix/Makefile (routines): Add fexecve. + * posix/unistd.h [__USE_GNU]: Declare fexecve. + + * sysdeps/unix/common/configure.in: Protect siglist and ctype + checks with if [ ! "$inhibit_glue" ]. + * sysdeps/generic/configure.in: Likewise for psignal check. + * sysdeps/unix/common/Makefile: Protect body with ifndef inhibit-glue. + +Mon Mar 7 17:46:46 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/bsd/osf1/alpha/__sigblock.S: New file from brendan. + +Fri Mar 4 01:56:26 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makerules (native-compile, common-objdir-compile): Use + $(HOST_CC) in place of $(CC). + + * malloc/cfree.c: Move #undef cfree inside #ifdef _LIBC. + + * misc/sys/ioctl.h (struct ttysize): If TIOCGSIZE != TIOCGWINSZ, + use two int elts instead of four shorts. + +Thu Mar 3 17:35:54 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * malloc/realloc.c (realloc): When shrinking a block by splitting + and then freeing one, bump the _chunks_used counter. + + * sysdeps/unix/sysv/sysv4/i386/__mknod.S: New file. + +Tue Mar 1 11:42:41 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/sysv/sco3.2.4/__waitpid.S: Get first argument from + stack at 8(%esp), not 4(%esp). + + * sysdeps/unix/sysv/isc2.2/rename.S: Get unix/common, not unix/bsd. + +Thu Feb 24 14:40:43 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * io/lockf.c: New file. + * io/Makefile (routines): Add lockf. + * io/fcntl.h [__USE_MISC] (F_ULOCK, F_LOCK, F_TLOCK, F_TEST): New + macros. + [__USE_MISC] (lockf): Declare it. + * posix/unistd.h: Copy those new macros and declaration. + + * time/backward, time/etcetera, time/zic.c: New code and data from ADO. + * Makeconfig (posixrules): Default to America/New_York. + + * sysdeps/unix/mips/sysdep.S: Store -1 in v0 in the delay slot after + the return, rather than before (leaving the delay slot unfilled and + without a nop!). + + * sysdeps/unix/sysv/irix4: New directory; mips-sgi-irix4 port + courtesy Tom Quinn. + + * sysdeps/unix/sysv/sysv4/direct.h: Moved to unix/common; it is right + for irix4 as well as sysv4. + * sysdeps/unix/bsd/ultrix4/__wait.S: Moved to unix/mips. + (noerror): Store register v1 in location pointed to by first arg (if + not NULL). + * sysdeps/unix/bsd/ultrix4/__sigret.S: Moved to unix/mips. + + * sysdeps/unix/bsd/bsd4.4/{mmap,munmap,mprotect,msync,madvise}.S: + Moved to sysdeps/unix/mman (new directory). + * sysdeps/unix/bsd/bsd4.4/Implies: New file; imply unix/mman. + * sysdeps/unix/bsd/sunos4/Implies: Likewise. + * sysdeps/unix/bsd/ultrix4/Implies: Likewise. + * sysdeps/unix/bsd/osf1/Implies: Likewise. + * sysdeps/unix/bsd/sun/sunos4/munmap.S, + sysdeps/unix/bsd/sun/sunos4/mprotect.S, + sysdeps/unix/bsd/sun/sunos4/madvise.S, + sysdeps/unix/bsd/ultrix4/mmap.S, + sysdeps/unix/bsd/ultrix4/munmap.S, + sysdeps/unix/bsd/ultrix4/mprotect.S, + sysdeps/unix/bsd/osf1/mmap.S, + sysdeps/unix/bsd/osf1/munmap.S, + sysdeps/unix/bsd/osf1/mprotect.S: Files removed. + + * sysdeps/unix/sysv/sysv4/fcntlbits.h: Moved to sysdeps/unix/common. + + * stdio/printf_fp.c: Add many assertions to make sure no mpn size + variable is ever zero. + + * Makerules (native-CFLAGS): Add -I$(sysincludedir). + + * Makerules (depend-$(subdir)) [omit-deps]: Use $(+depfiles) value + instead of shell hackery. + +Wed Feb 23 00:09:08 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/sparc/alloca.S [! NO_UNDERSCORES]: Call it ___builtin_alloca. + +Tue Feb 22 18:47:10 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Use __off_t in mmap + prototype. + + * time/setitmr.c: Swap args OLD and NEW. + * time/sys/time.h (setitimer): Likewise. + * sysdeps/stub/__setitmr.c: Likewise. + +Mon Feb 21 20:47:55 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/sparc/Makefile [gnulib] (routines): Add alloca. + * sysdeps/sparc/alloca.S: New file; support for SunOS libc's + `__builtin_alloca' function (never needed with GCC). + + * sysdeps/unix/sysv/sysv4/__sigact.c (trampoline): Cast handler to + three-arg type. + +Sun Feb 20 00:46:15 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/bsd/sun/sunos4/mmap.c: Add missing semicolon. + + * sysdeps/unix/sparc/start.c [! NO_SHLIB]: Include + before . + + * sysdeps/unix/bsd/ultrix4/mips/{sysdep.h,sysdep.S,__pipe.S, + __fork.S,__brk.S}: Moved to sysdeps/unix/mips (new directory). + + * sysdeps/unix/bsd/ultrix4/mips/__sigret.S: Use SYS_sigreturn + instead of literal 103; #define to 103 if not already defined. + +Sat Feb 19 17:39:13 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/sysv/sysv4/i386/Dist: New file; list sys-sig.S. + +Fri Feb 18 18:07:34 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/generic/configure.in: New file; check for psignal. + + * sysdeps/unix/common/glue-ctype.c: Check for table named _ctype, + before checking for _ctype_. + * sysdeps/unix/common/configure.in: Check for _ctype. + + * sysdeps/unix/Makefile (syscall.h): Look for sys.s before syscall.h. + * sysdeps/unix/configure (unix_syscall_h): Likewise. + + * configure.in (os = irix4*): Set base_os=unix/sysv. + + * sunrpc/rpc/auth.h (u_int32): Always define, no #ifdefs. + * sunrpc/xdr_float.c: Change [mc68000 || sparc] to [! vax]. + +Thu Feb 17 18:42:29 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Version 1.07.4. + + * sysdeps/unix/bsd/sun/sunos4/Dist: Add sys_mmap.S. + + * Makerules (sysdep_dir): Remove defn. + * Makeconfig (sysdep_dir): Define it here instead. + +Wed Feb 16 16:54:00 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/sysv/sysv4/__sigact.c: New file. + * sysdeps/unix/sysv/sysv4/i386/Makefile: New file. + * sysdeps/unix/sysv/sysv4/i386/sys-sig.S: New file. + + * time/sys/time.h (timerisset, timercmp, timerclear): New macros. + + * misc/Makefile (headers): Add sys/mman.h. + (routines): Add mmap, munmap, mprotect, msync. + * sysdeps/unix/bsd/sun/sunos4/sys_mmap.S: New file. + * sysdeps/unix/bsd/sun/sunos4/mmap.c: New file. + * sysdeps/unix/bsd/sun/sunos4/Makefile [$(subdir) == misc] + (sysdep_routines): Add sys_mmap. + * sysdeps/unix/bsd/bsd4.4/mprotect.S: New file. + * sysdeps/unix/bsd/bsd4.4/munmap.S: New file. + * sysdeps/unix/bsd/bsd4.4/msync.S: New file. + * sysdeps/unix/bsd/bsd4.4/mmap.S: New file. + * sysdeps/unix/bsd/bsd4.4/madvise.S: New file. + * sysdeps/unix/bsd/sun/sunos4/mprotect.S: New file. + * sysdeps/unix/bsd/sun/sunos4/munmap.S: New file. + * sysdeps/unix/bsd/sun/sunos4/msync.S: New file. + * sysdeps/unix/bsd/sun/sunos4/madvise.S: New file. + * sysdeps/unix/bsd/ultrix4/sys/mman.h: New file. + * sysdeps/unix/bsd/ultrix4/mmap.S: New file. + * sysdeps/unix/bsd/ultrix4/munmap.S: New file. + * sysdeps/unix/bsd/ultrix4/mprotect.S: New file. + * sysdeps/stub/mprotect.c: New file. + * sysdeps/stub/munmap.c: New file. + * sysdeps/stub/msync.c: New file. + * sysdeps/stub/mmap.c: New file. + * sysdeps/stub/madvise.c: New file. + * sysdeps/generic/sys/mman.h: New file. + * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: New file. + * sysdeps/unix/bsd/osf1/msync.S: New file. + * sysdeps/unix/bsd/osf1/mmap.S: New file. + * sysdeps/unix/bsd/osf1/munmap.S: New file. + * sysdeps/unix/bsd/osf1/mprotect.S: New file. + * sysdeps/unix/bsd/osf1/sys/mman.h: New file. + +Tue Feb 15 16:47:45 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * posix/unistd.h: Declare truncate, ftruncate. + + * misc/Makefile (headers): Add syslog.h. + * misc/syslog.h: New file; just includes . + + * posix/unistd.h: Change duplicate seteuid decl to setegid. + + * io/Makefile (headers): Add sys/fcntl.h. + * io/sys/fcntl.h: New file; just includes . + +Mon Feb 14 10:36:57 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makerules (library pattern rule): Depend on + $(objpfx)stamp-$(subdir) and have empty commands. + ($(objpfx)stamp-$(subdir)): Move dep on $(objects) and ar cmds here. + (common-mostlyclean): Remove $(objpfx)stamp-$(subdir). + + * Makerules (+depfiles): Filter out deps for modules in $(omit-deps). + + * sunrpc/Makefile (omit-deps): Define new variable. + + * Makerules ($(libc.a)(__.SYMDEF)): Depend on $(+libobjs), not + lib-noranlib. + * Makefile ($(libc.a)(__.SYMDEF)): Depend on subdir_lib. + + * Makerules (+depfiles): Include deps for $(extra-objs). + + * sunrpc/rpcsvc/klm_prot.x: Move program definition to end. + + * sunrpc/Makefile (lib): Depend on $(objpfx)librpcsvc.a. + + * time/zic.c: Set CP to NAME before dereferencing. + + * sunrpc/Makefile ($(objpfx)x%.c): Target fixed from $(objpfx)x%.c. + ($(objpfx)rpcsvc/%.h): Target renamed from $(includedir)rpcsvc/%.h. + Make each x%.o file depend on the corresponding rpcsvc/%.h file. + (headers): Add rpcsvc/%.h. + (install-others): Remove generated rpcsvc headers. + (generated): Define to include generated rpcsvc headers and sources. + + * sysdeps/m68k/fpu/acos.c: Add __CONSTVALUE to defn. + * sysdeps/m68k/fpu/ldexp.c: Likewise. + * sysdeps/m68k/fpu/pow.c: Likewise. + * sysdeps/m68k/fpu/fmod.c: Likewise. + * sysdeps/m68k/fpu/atan2.c: Likewise. + * sysdeps/m68k/fpu/__drem.c: Likewise. + * sysdeps/m68k/fpu/__isinf.c: Likewise. + * sysdeps/generic/hypot.c: Likewise. + * sysdeps/m68k/fpu/__logb.c: Likewise. + + * sysdeps/unix/bsd/m68k/sysdep.S: Swap operands in cmpl. + +Sun Feb 13 19:49:24 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/m68k/Makefile (compile-command.S): Remove definition + that did kludgey # hackery. + * sysdeps/unix/bsd/hp/m68k/sysdep.h (PSEUDO): Add missing close paren. + (POUND): Define (no arg) to just `#' (a single pound sign). + (PSEUDO, DO_CALL): Use `POUND foo' in place of `POUND(foo)'. + * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise. + * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise. + * sysdeps/unix/bsd/sun/m68k/__brk.S: Use #0, not POUND(0). + * sysdeps/unix/bsd/hp/m68k/__brk.S: Use #__end instead of POUND(__end). + +Fri Feb 11 00:29:45 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * configure.in (Makefile): Set objdir instead of ARCH in submake cmd. + + * time/mktime.c: Define __P if undefined. + + * assert/assert.h (__ASSERT_FUNCTION): Check __GNUC_MINOR__<6 if + defined(__cplusplus). + +Thu Feb 10 00:52:31 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/sysv/__sigact.c: Use __sigismember and + __sigemptyset on sa_mask instead of assuming it's an int. + + * sysdeps/unix/sysv/sysv4/sigset.h (__sigismember): Declare arg + SET to be a pointer to const. + + * sysdeps/posix/__sigpause.c: Convert MASK to a sigset_t with a loop. + + * sysdeps/posix/__sigblock.c: When sigset_t==mask, take address of + SET or OSET, cast to int *, and dereference. + * sysdeps/posix/__sigstmsk.c: Likewise. + * sysdeps/posix/__sigvec.c: Likewise. + + Add the -lrpcsvc library of XDR routines for standard SunRPC protocols. + * sunrpc/Makefile (install-lib): Define to include librpcsvc.a. + (rpcsvc-objs): New variable. + (extra-objs): Add $(rpcsvc-objs). + ($(objpfxlibrpcsvc.a): New target. + ($(objpfx)x%.o): New rule to rpcgen XDR routines. + +Wed Feb 9 11:59:33 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * time/zic.c (mkdirs): Reapply fix to avoid writing into passed ptr. + + * sunrpc/Makefile (distribute): Add etc.rpc. + ($(includedir)/bootparam_prot.h): Change target to + $(includedir)/rpcsvc/bootparam_prot.h and dep to + $(includedir)/rpcsvc/bootparam.h. + (install-others): Change reference. + + * sunrpc/rpc_util.h: Comment out bogus decl of sprintf. + + * Makerules ($(libc.a)(__.SYMDEF)): Depend on lib-noranlib instead + of $(+libobjs); this way makes the parent do subdir_lib. + + * sysdeps/unix/sysv/sysv4/sigset.h: Protect types with #ifndef + _SIGSET_H_types. Protect rest with #if !defined (_SIGSET_H_fns) + && defined (_SIGNAL_H). + +Tue Feb 8 19:00:42 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Version 1.07.3. + + * sysdeps/unix/sysv/sysv4/sigset.h: Fix typos (omitted __s). + +Mon Feb 7 14:31:00 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makerules ($(libc.a)): Depend on $(libc.a)(__.SYMDEF); no commands. + ($(+libobjs)): Remove static pattern rule. + (ar-it): Target removed. + Replace with pattern rule to catch %(*.o) for all $(objects). + ($(libc.a)(__.SYMDEF)): New target. + (lib-noranlib, $(libdir)/lib$(libprefix)c.a): Don't depend on ar-it. + + * sysdeps/unix/sparc/sysdep.h (PSEUDO): Add nop after jmp; the + next insn is most likely a retl, which causes interesting behavior. + + * stdio/vfprintf.c: Pass WORKEND+1 to _itoa, not WORKEND. + Subtract one from result of _itoa when setting W. + + * time/{africa,asia,australasia,backward,europe,leapseconds, + northamerica,southamerica,zic.c}: New code and data from ADO. + +Sun Feb 6 13:55:27 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sunrpc: New directory; code from Sun's RPCSRC-4.0. + * sysdeps/unix/inet/Subdirs: Add sunrpc. + * inet/netdb.h: #include at end. + + * Make-dist ($(tardir).tar): Use -v when extracting from dist.tar + and pipe output to doschk. + + * Makeconfig (etcdir): New variable. + (localtime-file): Use that in default value. + + * Makerules (depend-$(subdir)): Include dep files for all .o files + listed in $(extra-objs). + + * posix/sys/types.h (NFDBITS): #define to __NFDBITS. + + * inet/netinet/in.h (INADDR_LOOPBACK): Don't define if already + defined; avoids changing source which defines it before including this. + (struct sockaddr_in): Rename `__pad' member to `sin_zero'; some + code wants to bzero the area just for paranoia. + + Make cleaning targets only remove common (not specific to one + subdir) generated files if run from the parent directory. + * Makefile (parent-clean): Remove $(common-generated) also. + * sysdeps/unix/Makefile (local_lim.h, sys/param.h, errnos.h, + ioctls.h, syscall.h): Append to $(common-generated), not $(generated). + * sysdeps/posix/Makefile (stdio_lim.h): Likewise. + + * signal/signal.h: Declare psignal here. + * stdio/stdio.h: Not here. + + * stdio/stdio.h [__OPTIMIZE__] (vprintf, vfscanf, vscanf, + vsscanf): Define as extern inline functions instead of macros. + + * configure.in (names): Check existence of implied dirs and warn + for absentees. + +Sat Feb 5 13:38:26 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Version 1.07.2. + + * resource/sys/resource.h (RUSAGE_SELF, RUSAGE_CHILDREN): #define + to self for things that test #ifdef. + + * sysdeps/unix/common/Dist: Remove bsd_getgrp.S. + + * sysdeps/unix/Makefile: Don't include param.h.dep ifdef no_deps. + + * Makerules (vpath %.h): Use $(common-objpfx) in place of $(objpfx). + + * sysdeps/unix/bsd/i386/__vfork.S: Decrement R1 and AND it with R0 + to avoid the test and branch. + + * sysdeps/unix/bsd/getprio.S, sysdeps/unix/bsd/setprio.S, + sysdeps/unix/bsd/__setreuid.S, sysdeps/unix/bsd/__setregid.S: Moved to + sysdeps/unix/common. + + * sysdeps/unix/reboot.S: New file. + + * sysdeps/unix/sysv/sysv4/solaris2/signum.h: New file. + * sysdeps/unix/sysv/sysv4/signum.h: New file. + * sysdeps/unix/sysv/sysv4/sigset.h: New file. + * sysdeps/unix/sysv/sysv4/sigaction.h (struct sigaction): Swap + positions of sa_flags and sa_mask members (sa_flags is first now). + (SA_NOCLDWAIT): Renamed from SA_NOSCLDWAIT. + + * sysdeps/unix/bsd/init-posix.c (_posix_start_time): Initialize it. + + * Makerules (open-check-inhibit-asm): Use : for empty commands in case. + + * time/leapseconds: New version from ADO, adds 1994 leap second. + +Thu Feb 3 02:15:30 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/bsd/ulimit.c: Define ulimit instead of __ulimit. + +Wed Feb 2 16:56:29 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/sysv/sco3.2.4/sigsuspend.S: Moved to unix/sysv/sysv4. + Replaced with #include of that file. + + * sysdeps/unix/sysv/sysv4/solaris2/sigaltstack.S: Moved to + sysdeps/unix/sysv/sysv4/sigaltstk.S. + + * sysdeps/unix/sysv/sysv4/i386/__lstat.S: Syscall lxstat, not xlstat. + * sysdeps/unix/sysv/sysv4/i386/__fstat.S: Syscall fxstat, not xfstat. + +Tue Feb 1 18:22:21 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * stdio/_itoa.c, stdio/_itoa.h: New files. + * stdio/Makefile (routines): Add _itoa. + (distribute): Add _itoa.h. + * stdio/vfprintf.c: Use _itoa instead of doing it by hand. + + * sysdeps/unix/sparc/vfork.S: Add nop after jmp. Bad delay slot, + no pipeline. + * sysdeps/unix/bsd/ultrix4/mips/vfork.S: Likewise. + +Mon Jan 31 19:33:04 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * assert/assert.c (__assert_fail): Take 4th arg FUNCTION; if it is + not null, print it in the message. Also declare __NORETURN. + * assert/assert.h (__assert_fail): Update decl; also add __NORETURN. + (__ASSERT_FUNCTION): #define to be __PRETTY_FUNCTION__ for GCC>=2.4. + (assert): Pass __ASSERT_FUNCTION to __assert_fail. + + * sysdeps/unix/bsd/sun/sparc/vfork.S: Moved to sysdeps/unix/sparc. + Use C_SYMBOL_NAME on __vfork instead of prepending an underscore. + + * sysdeps/unix/sysv/sysv4/solaris2/{start.c,sysdep.S,sysdep.h}: Moved + to sysdeps/unix/sysv/sysv4/solaris2/sparc. + + * sysdeps/unix/{i386,sysv/sysv4/solaris2,sysv/i386/linux,bsd/m68k, + bsd/ultrix4/mips,bsd/vax}/sysdep.S: Don't do EWOULDBLOCK_sys->EAGAIN + mapping #if EWOULDBLOCK_sys == EAGAIN. + + * sysdeps/unix/sparc/sysdep.h [NO_UNDERSCORES]: #define syscall_error + to C_SYMBOL_NAME(__syscall_error). + (PSEUDO): On error, jump to syscall_error instead of setting errno. + * sysdeps/unix/sparc/sysdep.S: New file. + + * sysdeps/unix/sysv/sysv4/i386/__vfork.S: New file, just #include + unix/bsd/i386 version. + + * sysdeps/unix/bsd/i386/__vfork.S: Use `scratch' in place of %edx. + +Thu Jan 27 16:46:03 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * configure.in (asm-CPPFLAGS): Add new check to see if assembling + a .S file loses without -P. If so, set asm-CPPFLAGS=-P in config.make. + + * configure.in (stddef.h): Print msg under --verbose. + + * manual/Makefile (subdir): Define outside of `export' directive, + for old make. + + * time/mktime.c (search): Take new arg PRODUCER, fn to call + instead of `localtime'. + (_mktime_internal): New function; all code from old `mktime', but + take 2nd arg PRODUCER and pass along to `search'. + (mktime): Rewrite to call _mktime_internal with localtime. + * time/Makefile (routines): Add dysize, timegm, timelocal. + * time/time.h (_mktime_internal): Declare it. + [__USE_MISC]: Declare timegm, timelocal, dysize. + * time/dysize.c: New file. + * time/timegm.c: New file. + * time/timelocal.c: New file. + +Wed Jan 26 20:06:23 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + Remove the hackery on getgroups for most systems. It is no longer + necessary because gid_t is now the same size as int. + * sysdeps/unix/common/Makefile (sysdep_routines): Don't add bsd_getgrp. + * sysdeps/unix/common/bsd_getgrp.S: File removed. + * sysdeps/unix/common/__getgrps.S: New file. + * sysdeps/unix/bsd/sequent/i386/__getgrps.S: New file. + + Clean up the rules for cleaning up. + * Makerules (common-mostlyclean): New target; remove object files. + (common-clean): New target; depend on common-mostlyclean, and + remove dep files and generated files. + (clean): Depend on common-clean. + (mostlyclean): Depend on common-mostlyclean. + * Rules (mostlyclean): Target removed. + (clean): Target removed. + (distclean): New target; depend on clean. + (realclean): New target; depend on distclean. + (subdir_distclean): New target; depend on distclean. + (subdir_realclean): New target; depend on realclean. + (subdir_mostlyclean): New target; depend on mostlyclean. + * Makefile (+subdir_targets): Add subdir_distclean, + subdir_realclean; change mostlyclean to subdir_mostlyclean. + (parent-mostlyclean): New target; depend on common-mostlyclean and + remove libc.a and $(install-lib). + (parent-clean): New target; depend on parent-mostlyclean and + common-clean, and remove sysdirs sysd-dirs sysd-Makefile. + (clean): Depend on parent-clean and just do submake for subdirs. + (mostlyclean): Depend on parent-clean and just do submake for subdirs. + (distclean, realclean): Depend on parent-clean and do submake + distclean-1 passing it variable assignment distclean-1=$@. + (distclean-1): Depend on subdir_$(distclean-1) and remove + $(config-generated), config.status, config.make, Makefile (if not + in srcdir). + * manual/Makefile (subdir_clean): Target removed. + (subdir_%): New rule to handle all such targets. + (distclean): Depend on clean, not mostlyclean. + (realclean): Depend on distclean, not clean. + + * sysdeps/unix/configure (unix_generated_dirpfx): New variable. + Use it to put created .S files in sysdeps/unix if configured in + srcdir, else in current directory. + (unix_generated): Prepend $unix_generated_dirpfx. + Have generated config.make fragment prepend $(objpfx). + * sysdeps/unix/Makefile (generated): Don't set it. + (config-generated): Set this instead; don't prepend any directory + prefix to $(unix-generated). + + Fixes for SVR4 wait from jmc@ksu.ksu.edu (James Michael Chacon): + * sysdeps/unix/sysv/sysv4/siginfo.h (__siginfo_t): Add `__code' + and `__pid' fields. + (EXITED, KILLED, CORED, TRAPPED, STOPPED, CONTINUED): New macros. + * sysdeps/unix/sysv/sysv4/__waitpid.c: Switch on INFOP.__code and + construct *STAT_LOC from INFOP.__status accordingly. + + * stdlib/testsort.c (main): Use puts to add newlines to printed lines. + +Tue Jan 25 14:32:01 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Version 1.07.1. + + * manual/Makefile (%.z): Change target pattern to %.gz. + (dist): Comment out dep. Don't really need the separate doc dist. + + * stdio/stdio.h [__OPTIMIZE__] (getchar, putchar, getdelim, + getline, __getline): Use extern inlines instead of macros. + + * sysdeps/unix/sysv/sco3.2.4/__waitpid.S: Fix typo ($eax for %eax). + + * sysdeps/unix/siglist.c [! HAVE_GNU_LD] (_sys_siglist): #define + to sys_siglist. + * sysdeps/posix/__gettod.c [! HAVE_GNU_LD] (__daylight, + __timezone, __tzname): #define to non-__ names. + + * math/math.h [__USE_BSD] (M_E, M_LOG2E, M_LOG10E, M_LN2, M-LN10, + M_PI, M_PI_2, M_PI_4, M_1_PI, M_2_PI, M_2_SQRTPI, M_SQRT2, + M_SQRT1_2): New macros. + +Tue Jan 25 14:01:28 1994 Michael I. Bushnell (mib at ernst.gnu.ai.mit.edu) + + * sysdeps/mach/hurd/start.c (start1): Decide separately whether to + split argv and whether to split envp. + + * sysdeps/mach/hurd/i386/sysdep.h: File deleted. + sysdeps/mach/i386/sysdep.h: Delete SET_SP macro. + sysdeps/mach/hurd/start.c (_start): Don't call GET_SP; set globals + instead of locals from exec_startup message. + + * misc/progname.c: Don't try to set + program_invocation_name or program_invocation_short_name if argv + or argv[0] is invalid. + +Mon Jan 24 16:51:43 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/unix/sysv/sysv4/__waitpid.c: Return INFOP.__pid instead of + the PID we were called with. + + * sysdeps/unix/sysv/__mkdir.c (__mkdir): Restore errno before + returning, not after (lot of good that did). + + * sysdeps/unix/bsd/ultrix4/system.c, sysdeps/unix/bsd/bsd4.4/system.c, + sysdeps/unix/bsd/osf1/system.c, sysdeps/unix/sysv/sco3.2.4/system.c, + sysdeps/unix/bsd/sun/sunos4/system.c, sysdeps/unix/sysv/sysv4/system.c: + New files. Avoid sysdeps/unix/system.c, which defines NO_WAITPID. + + * set-init.c (__libc_init): Use `n' count field instead of + checking for null terminator. The latter loses when there are no + set elts at all, and only one word is allocated for __libc_subinit. + + * sysdeps/generic/waitstatus.h (__WCOREFLAG): New macro. + * posix/sys/wait.h [__USE_BSD] (WCOREFLAG): New; define to __WCOREFLAG. + + * stdio/fileno.c (fileno): Call __stdio_check_funcs. + + * stdio/tst-fileno.c: New file. + +Fri Jan 21 16:56:50 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Rules (dep-dummy-lib, make-dummy-lib): New variables. + ($(objpfx)dummy.o): New file rule. + * posix/Makefile ($(objpfx)libposix.a): Depend on + $(dep-dummy-lib), and use $(make-dummy-lib) for commands. + * math/Makefile ($(objpfx)libm.a): Likewise. + + * sysdeps/unix/sysv/sysv4/i386/__stat.S: New file. + * sysdeps/unix/sysv/sysv4/i386/__lstat.S: Likewise. + * sysdeps/unix/sysv/sysv4/i386/__fstat.S: Likewise. + + * sysdeps/sparc/bytesex.h: New file. + +Thu Jan 20 12:45:35 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/stub/syscall.c (syscall): Declare arg type as int. + +Wed Jan 19 18:18:15 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makerules ($(before-compile) rule): Protect w/`ifdef before-compile'. + + * manual/Makefile: Change all `mv' uses to `mv -f'. + (subdir_install): Depend on stubs. + + * Makerules ($(objpfx)%.dep: %.s): Depend also on $(objpfx)dummy.dep. + +Tue Jan 18 19:12:57 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * stdlib/testsort.c (main): Swap dimensions of BUFS array. -See ChangeLog.3 for earlier changes. +See ChangeLog.2 for earlier changes. diff --git a/ChangeLog.5 b/ChangeLog.5 index ef38fb2bf2..caef4b65cb 100644 --- a/ChangeLog.5 +++ b/ChangeLog.5 @@ -1,10878 +1,2324 @@ -Tue Jun 18 17:56:44 1996 Roland McGrath +Mon Dec 12 01:41:07 1994 Roland McGrath - * Version 1.91 test release. + * Version 1.09.3. - * Makerules ($(common-objpfx)distinfo-$(subdir)): Change target from - distinfo to this. - (distinfo): Make phony target depending on that. - (TAGS, po/%.pot, dist): Change deps. - (common-clean): Remove that file. - * rpm/Makefile (distinfo): Change names. + * sysdeps/mach/hurd/alpha/trampoline.c: Use `long int' for sigcode + values. Use _hurdsig_catch_fault. Pass address of __sigreturn in + $27, SCP value in $25. In trampoline code, use those regs. - * rpm/Makefile (clean): New target. + * sysdeps/mach/hurd/alpha/__sigret.c: Use asms instead of global + register vars to restore FP regs. Fix typo in REI invocation. - * stdlib/test-canon.c: New test program contributed by David Mosberger. - * stdlib/Makefile (tests): Add test-canon. - * stdlib/canonicalize.c: Rewritten by David Mosberger. +Sun Dec 11 14:10:11 1994 Roland McGrath -Mon Jun 17 17:53:21 1996 Roland McGrath + * hurd/hurd/fd.h (hurd_register_ioctl_handler, + _HURD_HANDLE_IOCTLS): Third arg to handler is a void *, not a + __gnuc_va_list. - * mach/Machrules (%_server.c %_server.h rule): Remove gratuitous - mention of $< in mig cmd. Thanks to Shantanu Goel. + * stdio/memstream.c (enlarge_buffer): Always add one char into + NEED for the char we are writing or the NUL terminator. - * sysdeps/mach/hurd/brk.c (___brk_addr): Define as weak alias for - _hurd_brk. + * stdio/memstream.c (enlarge_buffer): If realloc fails, just set + error flag and preserve old buffer state. - * libio/stdio.h [__USE_SVID]: Declare tempnam. + * stdio/fwrite.c: In fill_buffer case, check for zero buffer space + after fflush and write one char normally. -Fri Jun 14 19:28:33 1996 Andreas Schwab +Sat Dec 10 00:02:21 1994 Roland McGrath - * sysdeps/unix/sysv/linux/syscalls.list: Add swapon with two - parameters. + * sysdeps/mach/hurd/__fork.c: Use natural_t in place of int. -Wed Jun 12 20:40:51 1996 Andreas Schwab + * sysdeps/alpha/macros.m4: Use C comments instead of ! comments. - * sysdeps/m68k/dl-machine.h (RTLD_START): Fix access to - _dl_default_scope. + * sysdeps/mach/hurd/mmap.c: Cast -1 to long int before casting to + caddr_t. -Sun Jun 16 03:22:49 1996 Roland McGrath + * sysdeps/mach/alpha/syscall.S: Include + to define op_chmk. - * sysdeps/stub/elfclass.h: New file. + * sysdeps/mach/hurd/__mknod.c: Include . + * sysdeps/mach/hurd/setegid.c: Likewise. + * sysdeps/mach/hurd/seteuid.c: Likewise. + * sysdeps/mach/hurd/__setregid.c: Likewise. + * sysdeps/mach/hurd/__setreuid.c: Likewise. + * sysdeps/mach/hurd/__ioctl.c: Likewise. - * Make-dist (subdir): Make empty value really empty. + * sysdeps/mach/hurd/recvfrom.c: Include . Use + mach_msg_type_number_t in place of unsigned int. + * sysdeps/mach/hurd/recv.c: Likewise. + * sysdeps/mach/hurd/getsockopt.c: Likewise. + * sysdeps/mach/hurd/getsocknam.c: Likewise. + * sysdeps/mach/hurd/getpeernam.c: Likewise. + * sysdeps/mach/hurd/accept.c: Likewise. + * sysdeps/mach/hurd/__gethstnm.c: Likewise. - * version.h (VERSION): Update to 1.91. +Fri Dec 9 00:01:21 1994 Roland McGrath - * hurd/hurdinit.c (map0): Remove [!PIC] conditional. + * sysdeps/mach/hurd/__readlink.c: Use mach_msg_type_number_t in + place of unsigned int. + * sysdeps/mach/hurd/__fork.c: Likewise. - * shlib-versions (*-*-*): Add libutil=1. + * sysdeps/mach/hurd/__setgid.c: Include . + * sysdeps/mach/hurd/__setuid.c: Likewise. + * sysdeps/mach/hurd/__getgrps.c: Likewise. + * hurd/getuids.c: Likewise. + * sysdeps/mach/hurd/__getdents.c: Likewise. - * rpm/Makefile (install-lib): Add libc.a et al. - (install-others): Only add libc.so if $(build-shared) is yes. + * sysdeps/mach/hurd/dirstream.h (DIR): Use unsigned long int for + `__allocation' and `__size' members. - * math/Makefile (install-lib): New variable, list libieee.a. - (non-lib.a): Likewise. - (extra-objs): Likewise, and ieee-math.o. - ($(objpfx)libieee.a): New target, link to ieee-math.o. - * math/ieee-math.c: New file. - * sysdeps/unix/sysv/linux/Makefile [$(subdir)=math]: Remove setfpucw - and libieee.a stuff. - * sysdeps/unix/sysv/linux/ieee-fpucw.c: File removed. - * sysdeps/unix/sysv/linux/i386/ieee_fpu.c: File removed. + * sysdeps/mach/hurd/alpha/exc2signal.c: Use `long int' for sigcode + values. + * sysdeps/mach/hurd/i386/exc2signal.c: Likewise. - * sysdeps/unix/sysv/Makefile (sysdep_headers): Make append of termio.h - and rule for it conditional on termio.h not already being in - sysdep_headers. + * mach/devstream.c (input): Use mach_msg_type_number_t for NREAD. - * rpm/Makefile (install-others) [libc.so-version]: Get libc.so from - $(libdir), only the versioned named from $(slibdir). - (instfiles): New variable. - (glibc-$(version).$(config).rpm): New target. Run rpm -bb. - * rpm/rpmrc: New file. A third of the options controlling rpm can - only be given here (another third is on the command line, and a third - cannot be specified in any way shape or form). + * sysdeps/mach/hurd/__setitmr.c (preempt_sigalrm): Use `long int' + for SIGCODE; take SIGERROR arg. -Sun Jun 16 02:44:22 1996 Roland McGrath + * sysdeps/alpha/divrem.m4: Include instead of + . Use C comments instead of ! comments. - * rpm/template: New file. - * rpm/Makefile: New file. + * sysdeps/alpha/memchr.c: Remove extra shift and OR of CHARMASK. + * sysdeps/alpha/strchr.c: Likewise. - * Makeconfig (sysdep-configures): Remove empty variable. + * sysdeps/mach/hurd/sysd-stdio.c: Use mach_msg_type_number_t in + place of unsigned int. - * Makerules (distinfo-vars): Write defns for $(install-lib.so) and - $(versioned). + * sysdeps/posix/tempname.c (__stdio_gen_tempname): Cast FD to long + int before casting to pointer. - * manual/Makefile (subdir_%): Add new rule with no deps, secondary to - to rule w/dep on %, with no-op commands. + * stdio/printf_fp.c: Include . - * Makerules (subdir_distinfo): New phony target; depend on distinfo. - * Makefile (rpm/%): New rule. - (+subdir_targets): Add subdir_distinfo. + * sysdeps/alpha/setjmp_aux.c: Use ENV[0].__jmpbuf[0]. -Sun Jun 16 00:40:20 1996 Roland McGrath + * sysdeps/mach/alpha/sysdep.h (ENTRY): New macro. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add - fpu_control.h here. + * hurd/hurdioctl.c (fioctl): Pass a mach_msg_type_number_t* to + __io_readable. - * time/Makefile ($(installed-localtime-file)): If target exists, do - nothing but print a message; if not, make it an absolute symlink. + * hurd/hurd-raise.c: Use `long int' for sigcode values. - * time/tzset.c (__tzset): After stripping leading :, call - __tzfile_read on TZ even if it's empty or null. - * time/tzfile.c (__tzfile_read): Use "Universal" if passed "". + * hurd/hurdfault.c: Use `long int' for sigcode values. + * hurd/hurdfault.h: Likewise. -Sat Jun 15 18:13:43 1996 Roland McGrath + * hurd/hurd/signal.h (struct hurd_signal_preempt): Handler takes + new SIGERROR arg. + * hurd/preempt-sig.c: Likewise. + * hurd/hurdsig.c (_hurd_internal_post_signal): Pass SIGERROR to + PREEMPT. - * hurd/Makefile (routines): Add get-host, set-host. - (distribute): Add hurdhost.h. - * hurd/hurdhost.h: New file. - * sysdeps/mach/hurd/gethostname.c: Use _hurd_get_host_config. - * sysdeps/mach/hurd/gethostid.c: Likewise. - * sysdeps/mach/hurd/sethostname.c: Use _hurd_set_host_config. - * sysdeps/mach/hurd/sethostid.c: Likewise. - * hurd/get-host.c: New file. - * hurd/set-host.c: New file. + * hurd/hurdlookup.c: Use mach_msg_type_number_t and natural_t in + place of unsigned int and int. - * math/Makefile (headers): Add fpu_control.h. - (aux): New variable, list fpu_control and setfpucw. - * sysdeps/generic/fpu_control.c: New file. - * sysdeps/stub/fpu_control.h: New file. - * sysdeps/unix/sysv/linux/m68k/fpu_control.h: Moved to ... - * sysdeps/m68k/fpu_control.h: here. - * sysdeps/unix/sysv/linux/i386/fpu_control.h: Moved to ... - * sysdeps/i386/fpu_control.h: here. - * sysdeps/unix/sysv/linux/alpha/fpu_control.h: Moved to ... - * sysdeps/alpha/fpu/fpu_control.h: here. Fixed copyright. - * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Remove - setfpucw, fpu_control. - * sysdeps/unix/sysv/linux/alpha/fpu_control.c: File removed. - * sysdeps/unix/sysv/linux/setfpucw.c: Moved to ... - * sysdeps/generic/setfpucw.c: here. - (__fpu_control): Variable removed. - (__setfpucw): Use SET even if zero. + * hurd/hurd/id.h: Use mach_msg_type_number_t in place of unsigned int. - * elf/dl-deps.c (_dl_map_object_deps): Set MAP's mark bit before loop. - Set mark bits of deps as opened, instead of as scanned. + * hurd/catch-exc.c: Use `long int' for sigcode values. + * sysdeps/mach/hurd/i386/trampoline.c: Likewise. + * hurd/preempt-sig.c: Likewise. - * elf/rtld.c (dl_main): Remove _dl_rtld_map from chain unconditionally. - Then if it has a nonzero l_opencount, add it back in search order. + * configure.in (machine): Don't recognize r[34]00. + Convert mips64* to mips/mips64/& and mips* to mips/&. + * sysdeps/mips/mipsel/bytesex.h: New file. + * sysdeps/mips/r4000: Directory renamed to sysdeps/mips/mips64. - * elf/dl-load.c (_dl_map_object): Don't use _dl_loaded's DT_RPATH if - it ain't got one! + * sysdeps/mach/alpha/sysdep.h (START_MACHDEP): Add missing + backslashes. + (CALL_WITH_SP): Cast FN to long int. - * sysdeps/unix/sysv/linux/Dist: Add sys/klog.h. + * sysdeps/mach/alpha/thread_state.h (struct machine_thread_all_state): + New member `exc'. - * elf/dl-open.c (_dl_open): Remove PARENT argument, pass null. - * elf/link.h: Update prototype. - * elf/dl-load.c (_dl_map_object): If dependents' DT_RPATHs don't find - NAME, try the DT_RPATH of the executable itself if dynamic. - * elf/dlopen.c (dlopen): Don't pass first arg to _dl_open. + * hurd/fd-read.c: Include . Use mach_msg_type_number_t + in place of mach_msg_type_size_t. - * elf/dl-load.c (_dl_map_object): Exit DT_RPATH checking loop when an - open succeeds. + * hurd/hurdfault.c: Use natural_t instead of int. - * Makerules (build-shlib): Give -L opts for each elt of $(rpath-link). + * hurd/hurd/signal.h: Use `long int' for sigcode values. + * hurd/hurdsig.c: Use mach_msg_type_number_t and natural_t in + place of unsigned int and int. Use `long int' for sigcode values. - * sysdeps/mach/hurd/Makefile (sysdep-LDFLAGS): Variable removed. - (rpath-link): Append to this instead. + * hurd/vpprintf.c (pwrite): Cast &N to mach_msg_type_number_t *. -Fri Jun 14 01:51:47 1996 Roland McGrath + * hurd/__fopenport.c: Include . Use + mach_msg_type_number_t in place of unsigned int. - * version.c (banner): New static const variable, complete version - banner text. - (__libc_print_version): Use it, and use __write instead of printf. + * hurd/hurdauth.c: Include . + * hurd/hurdsock.c: Likewise. - * configure.in (sysnames): Don't cache the value, because it - depends only on libc sources. Merge uniquifying third pass into - Implies/parent expansion second pass. Report each unique name as - it is added in partial report string, terminated when finished. + * sysdeps/mach/alpha/machine-lock.h: Remove ".set noreorder" et + al; GCC already emits them. Fix register constraints in asms. + Set RTN in C, not asm. - * Makeconfig (sysdep_dir): Move defn before config.status rule that - expands it. - (sysdep-configures): Variable removed. - (config.status): Use its contents directly, tighten up a bit, and - include Implies files. + * hurd/hurdprio.c: Use mach_msg_type_number_t in place of unsigned + int. - * elf/dl-open.c (_dl_open) [PIC]: Set PARENT to _dl_loaded if null. +Thu Dec 8 04:00:11 1994 Roland McGrath - * elf/Makefile ($(objpfx)$(rtld-installed-name)): Make a symlink. + * sysdeps/mach/hurd/alpha/__sigret.c: Remove ".set noreorder" et + al; GCC already emits them. + * sysdeps/mach/hurd/alpha/trampoline.c: Likewise. -Thu Jun 13 14:29:56 1996 Miles Bader + * sysdeps/mach/thread_state.h: Use mach_msg_type_number_t and + natural_t in place of unsigned int and int. - * hurd/hurdsig.c (_hurd_internal_post_signal): Rename `deliver:' - label to `deliver_pending:' to match goto. + * sysdeps/mach/sysdep.h (ENTRY): Don't #error if undefined. -Thu Jun 13 00:02:25 1996 Roland McGrath + * sysdeps/mach/syscall.h: New file. - * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_open_zero_fill): - Add comment. + * sysdeps/mach/Makefile: Remove debugging printout. - * elf/rtld.c (dl_main): Close _dl_zerofd after mapping deps. + * sysdeps/mach/hurd/configure.in: Converted to an autoconf script + from sysdeps/mach/hurd/configure, to work better with autoconf + version 2. + * sysdeps/mach/configure.in: Likewise, from sysdeps/mach/configure. - * sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Define mcount as - weak alias for _mcount. - * sysdeps/alpha/_mcount.S (mcount): Define as weak alias. + * hurd/hurdmsg.c: Use mach_msg_type_number_t in place of unsigned + int. - * elf/dl-lookup.c (_dl_lookup_symbol): If no value and *REF is - null, consider it a strong reference and give the error. + * sysdeps/mach/alpha/sysdep.h: Rename variable `sp' to avoid + conflict with #define in . -Wed Jun 12 15:52:46 1996 Roland McGrath + * sysdeps/mach/hurd/alpha/__sigret.c: Remove unused variable. - * elf/dl-open.c (_dl_open): Correctly terminate relocating loop - after relocating NEW when it's the only new object. + * sysdeps/mach/hurd/__ioctl.c: Pass arg to + __mig_dealloc_reply_port. - * elf/dl-init.c (_dl_init_next): When out of initializers, set - _r_debug.r_state to RT_CONSISTENT and call _dl_debug_state just - before return. + * configure.in: Converted to Autoconf version 2. + * sysdeps/generic/configure.in: Likewise. + * sysdeps/unix/common/configure.in: Likewise. + * sysdeps/unix/configure.in: New file, converted to a + part-autoconf script from sysdeps/unix/configure, to work better + with autoconf version 2. + * aclocal.m4: Converted to Autoconf version 2. + (AC_CHECK_SYMBOL): New macro. + * config.make.in: New file. + * config-name.in: New file. + * Makefile (distribute): Rename install.sh to install-sh. + Add config.make.in, config-name.in, Makefile.in. + (distclean-1): Remove config-name.h and config.cache. + * Makefile.in: New file. + * Makeconfig (+gnu-stabs, gnu-as): Match -DHAVE_GNU_{AS,LD}=1 too. + +Wed Dec 7 14:05:12 1994 Roland McGrath + + * sysdeps/mach/mips/cacheflush.c: New file. + * sysdeps/mach/mips/Makefile: New file. + * sysdeps/mach/mips/Dist: New file. + + * hurd/hurdmalloc.c (vm_allocate, vm_page_size): #define these to + __ names at top. + + * posix/glob/Makefile.in (realclean): Remove config.status. + + * posix/glob/Makefile.in (DEFS): New variable, set from @DEFS@. + (CPPFLAGS): Remove @DEFS@ from here. + (.c.o): Use $(DEFS). + + * setjmp/siglongjmp.c: First arg is const. + +Tue Dec 6 19:04:50 1994 Roland McGrath + + * posix/glob/Makefile.in (CPPFLAGS): Include @DEFS@. + +Mon Dec 5 12:05:10 1994 Roland McGrath + + * posix/glob/configure.in: Add AC_PROG_CC. + + * sysdeps/mach/hurd/alpha/longjmp-ts.c: Use ENV[0].__jmpbuf[0]. + * sysdeps/mach/hurd/mips/longjmp-ts.c: Likewise. + * sysdeps/mach/hurd/i386/longjmp-ts.c: Likewise. + + * Version 1.09.2. + + * sysdeps/mach/hurd/__select.c: Don't make TO const. + +Sun Dec 4 12:06:36 1994 Roland McGrath + + * sysdeps/unix/configure (config_vars): Add missing backslash + before a $. + + Revamp the `setjmp' interface to be cleaner: only one type + `jmp_buf'/`sigjmp_buf', and only one `longjmp' function (with + aliases `_longjmp', `siglongjmp'). Internal setjmp interface is + now __sigsetjmp, which takes SAVEMASK flag and optionally saves + the signal mask. Add extern entry points `setjmp' and `_setjmp' + for BSD compatiblity; they tail-call __sigsetjmp. + * setjmp/setjmp.h: Include for __sigset_t, not + + (jmp_buf): Define unconditionally with old `sigjmp_buf' defn. + (__sigjmp_save): Declare to return int. + (__setjmp): Remove declaration; this function no longer exists. + (__sigsetjmp): Declare it; this is the new internal function. + (setjmp): Define to call __sigsetjmp, second arg depending on + __FAVOR_BSD. + [__OPTIMIZE__] (longjmp): Remove #define. + [__USE_BSD] (_longjmp): Declare it, another name for `longjmp'. + [__USE_BSD] (_setjmp): Define macro to do __sigsetjmp (ENV, 0). + [__FAVOR_BSD]: Remove all these defns. + [__USE_POSIX] (sigjmp_buf): Define as another name for `jmp_buf'. + [__USE_POSIX] (sigsetjmp): Define to call __sigsetjmp. + * setjmp/sigjmp.c (__sigjmp_save): Return an int, always zero, not + void. + * setjmp/Makefile (routines): Remove _setjmp, add bsd-setjmp and + bsd-_setjmp. + * setjmp/longjmp.c: Define as a real funciton, which restores + signal mask and calls __longjmp. + * setjmp/siglongjmp.c: Make this an alias to longjmp. + * setjmp/_longjmp.c: Alias to longjmp, not siglongjmp. + * sysdeps/stub/setjmp.c: Implement __sigsetjmp instead of + __setjmp; call __sigjmp_save. + * sysdeps/sparc/setjmp.S: Likewise. + * sysdeps/m68k/setjmp.c: Likewise. + * sysdeps/i386/setjmp.c: Likewise. + * sysdeps/vax/setjmp.c: Likewise. + * sysdeps/mips/setjmp.S: Implement __sigsetjmp instead of + __setjmp; call __sigsetjmp_aux instead of __setjmp_aux. Pass SP + and FP as 3rd and 4th args, not 2nd and 3rd. + * sysdeps/alpha/setjmp.S: Likewise. + * sysdeps/mips/setjmp_aux.c: Implement __sigsetjmp_aux instead of + __setjmp_aux; call __sigjmp_save. + * sysdeps/alpha/setjmp_aux.c: Likewise. + * sysdeps/mips/bsd-setjmp.S, sysdeps/mips/bsd-_setjmp.S: New files. + * sysdeps/alpha/bsd-setjmp.S, sysdeps/alpha/bsd-_setjmp.S: New files. + * sysdeps/vax/bsd-setjmp.S, sysdeps/vax/bsd-_setjmp.S: New files. + * sysdeps/sparc/bsd-setjmp.S, sysdeps/sparc/bsd-_setjmp.S: New files. + * sysdeps/i386/bsd-setjmp.S, sysdeps/i386/bsd-_setjmp.S: New files. + * sysdeps/m68k/bsd-setjmp.S, sysdeps/m68k/bsd-_setjmp.S: New files. + * sysdeps/stub/bsd-setjmp.c, sysdeps/stub/bsd-_setjmp.c: New files. + * setjmp/_setjmp.c: File removed. + * sysdeps/alpha/__longjmp.c: Take arg of type __jmp_buf, not + jmp_buf. + * sysdeps/vax/__longjmp.c: Likewise. + * sysdeps/stub/__longjmp.c: Likewise. + * sysdeps/i386/__longjmp.c: Likewise. + * sysdeps/m68k/__longjmp.c: Likewise. + +Sat Dec 3 09:00:17 1994 Roland McGrath + + * sysdeps/mach/hurd/alpha/__sigret.c: Set up frame for `rei' to + restore on user stack, aligned to an 8-word boundary and with a PS + value that restores user's stack alignment. + +Fri Dec 2 19:31:24 1994 Roland McGrath + + * sysdeps/unix/readdir.c: Search one char more than D_NAMLEN(DP) + for the null terminator. Always set D->d_namlen, using + D_NAMLEN(DP) if no null is found. - * elf/rtld.c (dl_main): Move _dl_debug_initialize call after - relocation. Call it unconditionally and only fill in DT_DEBUG - if it's present. Then call _dl_debug_state with r_state RT_ADD - before running initializers. + * sysdeps/unix/sysv/sco3.2.4/__sigact.S: Fix typo `.global' to + `.globl'. Silly me, I used a vowel in a Unix program. + +Mon Nov 28 16:11:39 1994 Roland McGrath + + * io/fts.c (ALIGN, ALIGNBYTES): New macros, defined if not already + defined. + +Tue Nov 22 06:39:49 1994 Roland McGrath + + * sysdeps/unix/bsd/osf1/dirstream.h: File removed. + + * sysdeps/stub/sigcontext.h (struct sigcontext): Use `__sigset_t' + instead of `sigset_t' for `sc_mask'. + * sysdeps/mach/hurd/i386/sigcontext.h: Likewise. + * sysdeps/mach/hurd/alpha/sigcontext.h: Likewise. + * sysdeps/mach/hurd/mips/sigcontext.h: Likewise. + * sysdeps/unix/bsd/ultrix4/mips/sigcontext.h: Likewise. + * sysdeps/unix/bsd/sun/m68k/sigcontext.h: Likewise. + * sysdeps/unix/bsd/sun/sparc/sigcontext.h: Likewise. + + * hurd/hurdsig.c (_hurd_internal_post_signal: case handle): Call + abort_thread always, first thing after thread_suspend. + +Mon Nov 21 13:18:07 1994 Roland McGrath + + * sysdeps/mach/hurd/__fcntl.c: Don't make this whole function a + critical section. + + * sysdeps/generic/strpbrk.c: Don't call strchr; do it by hand for + efficiency. + +Wed Nov 16 12:47:22 1994 Roland McGrath + + * sysdeps/unix/bsd/m68k/sysdep.S [__motorola__]: Swap operands in + cmp.l. + + * hurd/msgportdemux.c (_hurd_msgport_receive): Call + _hurd_self_sigstate to get sigstate cached before running any + signal thread code. + + * sysdeps/mach/hurd/__fork.c: Pass _hurd_msgport_thread to + __thread_get_state, not _hurd_sigthread. Don't do + __thread_get_state on THREAD_SELF--the kernel does not allow it. - * elf/dl-open.c (_dl_open): Call _dl_debug_initialize and then call - _dl_debug_state with r_state RT_ADD before running initializers - * elf/dl-close.c (_dl_close): Call _dl_debug_state with r_state - RT_DELETE before running finalizers and with RT_CONSISTENT just - before return. + * hurd/hurdsig.c (_hurd_internal_post_signal): In stopping orphan + test, take sigmask of SIGNO, don't & its value with a mask. In + blocked signal test, be careful not to pass SIGNO=0 to __sigismember. - * elf/Makefile (dl-routines): Add dl-debug. - * elf/dl-debug.c: New file. - * elf/rtld.c (_dl_r_debug): Rename to _r_debug and move to dl-debug.c. - (_dl_r_debug_state): Rename to _dl_debug_state and likewise move. - (dl_main): Use _dl_debug_initialize. - * elf/link.h: Fix name to _dl_debug_state in decl. - (_dl_debug_initialize): Declare new function from dl-debug.c. - (_r_debug): Declare it. +Tue Nov 15 01:39:36 1994 Roland McGrath - * Makerules (distinfo-vars): Add install-{lib,data,bin,sbin,others}. - In distinfo set $(subdir)-VAR and then set VAR to $($(subdir)-VAR). + * Makerules (stub-$(subdir)): Save absolute name of + $(..)sysdeps/stub before cd'ing, transform gleaned file names to + refer to saved name. - * Makeconfig (rpath-link): New variable; add $(elfobjdir). - (default-rpath): Use it. - (built-program-cmd): Use it in LD_LIBRARY_PATH. + * sysdeps/mach/hurd/socketpair.c: Include . - * Makeconfig (sysdep-configures): Prepend $(sysdep_dir) to names tried. + * time/test_time.args: Add CST as a test case. - * sysdeps/unix/Dist: Add make-syscalls.sh. + * sysdeps/mach/hurd/socketpair.c: Rewritten (copying __pipe.c). - * misc/Makefile (headers): Add sys/swap.h. - * posix/unistd.h: Remove decls for swapon, swapoff. - * sysdeps/generic/sys/swap.h: New file. - * sysdeps/unix/sysv/linux/sys/swap.h: New file. + * sysdeps/unix/bsd/dirstream.h [__USE_BSD] (dirfd): New macro. - * sysdeps/unix/sysv/linux/gnu/types.h: Remove temporary hack #define - of __kernel_fsid_t. It is correctly defines in now. + * posix/unistd.h: Declare fchdir. -Tue Jun 11 23:23:30 1996 Roland McGrath + * io/fts.c (MAXPATHLEN): Define if not defined. - * Makerules (LDFLAGS-c.so): Use __libc_main instead of - __libc_print_version as entry point for shared object. - * version.c [HAVE_ELF] (__libc_main): New function. + * io/fts.c, io/fts.h: New files, from 4.4 BSD code by Keith Bostic. + * io/Makefile (routines): Add fts. + (headers): Add fts.h. - * elf/dl-load.c (_dl_map_object_from_fd): Relocate l_entry with the - load address. + Mostly ported the Hurd to the DEC Alpha. + * sysdeps/mach/alpha/machine-sp.h: New file. + * sysdeps/mach/alpha/thread_state.h: New file. + * sysdeps/mach/alpha/sysdep.h: New file. + * sysdeps/mach/alpha/machine-lock.h: New file. + * sysdeps/mach/hurd/alpha/sigcontext.h: New file. + * sysdeps/mach/hurd/alpha/longjmp-ts.c: New file. + * sysdeps/mach/hurd/alpha/trampoline.c: New file. + * sysdeps/mach/hurd/alpha/exc2signal.c: New file. + * sysdeps/mach/hurd/alpha/__sigret.c: New file. -Tue Jun 11 19:13:04 1996 Richard Henderson + * sysdeps/mach/hurd/Makefile (errlist.c, errnos.h): Make the + output unwritable. + * sysdeps/alpha/Makefile (divrem rule): Make the output + unwritable, use mv -f. + * sysdeps/sparc/Makefile (divrem rule): Likewise. - * sysdeps/alpha/dl-machine.h: New file. + * configure.in (sysnames): Put another loop on $mach inside $base + loop but outside $vendor loop. This should catch .../cpu/vendor. - * elf/dl-close.c: Include for memcpy. - * elf/dl-lookup.c: Same. +Mon Nov 14 22:52:03 1994 Roland McGrath - * elf/elf.h: Add Elfxx_Symndx for symbol indices. - * elf/dl-lookup.c (_dl_lookup_symbol): Use it. - (_dl_setup_hash): Use it. - * elf/link.h (struct link_map): Use it. + * sysdeps/mach/hurd/start.c: Add missing #endif. - * elf/rtld.c (_dl_start): Don't rely on pointer-to-first-arg hack - for getting the argc/argv/envp block. Instead, make it the argument. - sysdeps/i386/dl-machine.h (RTLD_START): Do that. - sysdeps/m68k/dl-machine.h (RTLD_START): Same. +Sun Nov 13 05:04:18 1994 Roland McGrath - * shlib-versions: Add version numbers for alpha-linux. To avoid - user confusion, make them the same as i386-linux. + * sysdeps/mach/hurd/__select.c: At end of receiving loop, clear TO + instead of TIMEOUT. - * sysdeps/alpha/Makefile [subdir elf]: Add -mno-fp-regs to - sysdep-CFLAGS so that _dl_runtime_resolve doesn't have to save them. - Add -mbuild-constants to CFLAGS-rtld.c to that we can bootstrap - without using literal data. + * malloc/mcheck-init.c (turn_on_mcheck): Add gratuitous self + reference to silence compiler warning. + (_hurd_preinit_hook): Add the function to this set too. - * sysdeps/generic/dl-sysdep.c: Include for memcpy. - Finish Elf32 -> ElfW migration. + * time/__tzset.c (__tzset): Give tz_rules coherent default when TZ + value is short or malformed. -Tue Jun 11 15:09:15 1996 Roland McGrath + * mach/devstream.c: Echo input after reading it. - * Makerules (elfobjdir): Use $(objdir) if set, even in elf subdir. + * Make-dist (generated): Mutate to add .S and .s variations for .c + files. - * elf/Makefile (routines): Remove init-first. - * csu/Makefile (routines): New variable; put it here instead. +Fri Nov 11 11:43:26 1994 Michael I Bushnell - * config.make.in (CFLAGS): New variable. + * sysdeps/mach/hurd/i386/__sigret.c (__sigreturn): Don't actually + abort here; at least let the user continue with bogus FP; that's + better than a random crash until it's fixed. - * io/sys/stat.h (S_ISLNK, S_ISSOCK): Make conditional on __USE_BSD, - not __USE_GNU. - * string/string.h (strncasecmp): Likewise. +Thu Nov 10 04:56:28 1994 Roland McGrath - * elf/Makefile (lib-noranlib): Move rule adding deps for ld.so et al - to after `include ../Rules', so $(rtld-installed-name) is defined. + * sysdeps/unix/bsd/sun/sunos4/sys/mman.h (msync): Use __caddr_t + instead of caddr_t in decl. - * string/basename.c (basename): Cast FILENAME to char * for return. + * sysdeps/mach/start.c (START_ARGS): Define to void if undefined. + [START_MACHDEP]: Reference this if defined. + [START_MACHDEP] (_start): #define to _start0. + (_start): Take args START_ARGS. + * sysdeps/mach/hurd/start.c: Likewise. - * Makerules ($(libdir)/libc.so): Put $(rtld-installed) name between - libc.so and libc.a in the deps. +Wed Nov 9 08:02:59 1994 Roland McGrath - * elf/Makefile ($(objpfx)$(rtld-installed-name)): New target to make - link to ld.so if that is not the installed name. - (lib-noranlib): Depend on the installed name in the build directory - instead of on ld.so. + * hurd/Makefile (sig): Remove longjmp-ctx (it is never called). - * Makeconfig (link-libc): Include $(elfobjdir)/$(rtld-installed-name) - between libc.so and libc.a, because with libc.so's DT_NEEDED for ld.so - ld searches libc.a before ld.so (is that an ld bug?). - Add $(elfobjdir) to -rpath-link. + * sysdeps/mach/hurd/__fork.c: Do thread_get_state on parent's + threads to modify and thread_set_state new child threads. - * Makerules (elfobjdir): Define as . when $(subdir) is elf. +Mon Nov 7 00:38:45 1994 Roland McGrath - * sysdeps/i386/dl-machine.h (elf_machine_rel): In R_386_32 case when - relocating _dl_rtld_map, subtract SYM's value from final reloc value, - but don't change *RELOC_ADDR before calling *RESOLVE, because it might - call the function we are relocating! + * posix/glob/configure.in: Converted to Autoconf v2. + * posix/glob.c: Test HAVE_DIRENT_H, HAVE_SYS_DIR_H, HAVE_NDIR_H + instead of DIRENT, SYSDIR, NDIR. + * posix/glob/Makefile.in (CC): New variable, set from @CC@. + (CPPFLAGS): Set from @CPPFLAGS@, not @DEFS@. - * string/basename.c: New file. - * string/Makefile (routines): Add basename. + * sysdeps/unix/__fork.S: Use decrement and AND instead of test and + branch. + * sysdeps/unix/sparc/__fork.S: Likewise. + * sysdeps/unix/sparc/__vfork.S: Likewise. + * sysdeps/unix/bsd/sun/m68k/__vfork.S: Likewise. + * sysdeps/unix/bsd/hp/m68k/__vfork.S: Likewise. + * sysdeps/unix/i386/__fork.S: File removed. -Mon Jun 10 06:14:03 1996 Roland McGrath +Sun Nov 6 19:26:28 1994 Roland McGrath - * Makerules ($(common-objpfx)libc.so): Depend on $(elfobjdir)/ld.so. + * Version 1.09. - * elf/dl-close.c: New file. - * elf/link.h: Declare _dl_close. - * elf/Makefile (routines): Add dl-close. - * elf/dlclose.c (dlclose): Use _dl_close. +Fri Nov 4 16:52:05 1994 Roland McGrath - * elf/Makefile ($(objpfx)librtld.so): Remove libelf from deps. + * Version 1.08.14. - * elf/dl-runtime.c (_dl_global_scope): New variable. - (_dl_object_relocation_scope): New function. - (fixup): Use it. - * elf/rtld.c (dl_main): Use it. - * elf/dl-open.c (_dl_open): Use it. If (MODE & RTLD_GLOBAL), set the - l_global bit and append the new map to _dl_global_scope. - * elf/link.h: Declare _dl_global_scope, _dl_global_scope_alloc, - and _dl_object_relocation_scope. + * manual/Makefile (stamp-summary): Depend on $(chapters-incl) too. - * elf/link.h (struct link_map): Add l_loader member. - Remove _dl_map_object_from_fd decl. - * elf/dl-load.c (_dl_map_object): Pass LOADER to ... - (_dl_map_object_from_fd): Take new arg LOADER and set l_loader member. - (_dl_map_object): Try DT_RPATH from all loaders up the chain. +Thu Nov 3 18:33:50 1994 Roland McGrath - * elf/dl-object.c (_dl_loaded): Variable removed. - (_dl_default_scope): New variable replaces it. - * elf/link.h (_dl_loaded): Remove variable decl; instead define as - macro for _dl_default_scope[2]. - (_dl_default_scope): Declare it. - * sysdeps/i386/dl-machine.h (RTLD_START): Use _dl_default_scope[2] - instead of _dl_loaded. - * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise. - * elf/rtld.c (dl_main): Use _dl_default_scope for symbol lookups. + * sysdeps/generic/sigset.h (__sigemptyset): Cast to __sigset_t. + (__sigfillset): Likewise. Use ~(__sigset_t)0 in place of -1. + (__SIGSETFN): Don't try to be clever. Test bounds of SIG with < + and >. - * elf/dl-reloc.c (_dl_relocate_object): Remove check for _dl_rtld_map. - * elf/rtld.c (dl_main): Pass 0 for LAZY flag when re-relocating self. - - * elf/link.h (struct link_map.l_type): Remove lt_interpreter. - (struct link_map): Add new flag member l_global. - - * elf/dl-reloc.c (_dl_relocate_object): Check for _dl_rtld_map - directly instead of looking for lt_interpreter. - * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. - * elf/rtld.c (_dl_start): Don't bother setting BOOTSTRAP_MAP.l_type. - (dl_main): Set _dl_rtld_map.l_type to lt_library. - - * elf/dl-deps.c (_dl_map_object_deps): Propagate MAP->l_type to - dependencies loaded, downgrading lt_executable -> lt_library. - - * elf/dl-load.c (_dl_map_object_from_fd): Take new arg TYPE and set - l_type from that, translating lt_library->lt_executable based on the - file's ELF type. - (_dl_map_object): Likewise. - * elf/link.h: Update prototypes. - * elf/dl-open.c: Pass type lt_loaded. - * elf/rtld.c: Pass type lt_library. - - * elf/dl-load.c (_dl_map_object_from_fd): Handle null return from - _dl_new_object. - (_dl_map_object_from_fd: lose): Unchain and free L if it's not null. - Free REALNAME, and just use NAME in error message. - * elf/dl-object.c (_dl_new_object): If malloc fails, return null - instead of calling _dl_signal_error. - - * elf/dl-load.c (_dl_map_object_from_fd): Close FD before signalling - error for _dl_zerofd setup failure. - - * elf/dl-object.c (_dl_startup_loaded): Variable removed. - * elf/link.h: Remove its decl. - - * elf/dl-reloc.c (_dl_relocate_object): Take new SCOPE arg and pass it - through to _dl_lookup_symbol. - * elf/link.h (_dl_relocate_object): Update comment and prototype. - * elf/rtld.c (dl_main): Pass scope vector to _dl_relocate_object. - - * elf/dl-lookup.c (_dl_lookup_symbol): Arg SYMBOL_SCOPE is now a - null-terminated vector of pointers, no longer a vector of exactly two. - * elf/link.h (_dl_lookup_symbol): Update comment and prototype. - - * elf/dl-runtime.c (fixup): Set up scope for symbol lookup properly as - done in _dl_relocate_object. - - * elf/dlopen.c: Pass "" to _dl_open when FILE is null. - - * elf/link.h: Include elfclass.h to define __ELF_NATIVE_CLASS. - (ElfW, ELFW): Use it. - * elf/Makefile (headers): Add elfclass.h. - * sysdeps/wordsize-32/elfclass.h: New file. - * sysdeps/wordsize-64/elfclass.h: New file. - * sysdeps/alpha/Implies: Add wordsize-64. - * sysdeps/i386/Implies: Add wordsize-32. - * sysdeps/m68k/Implies: Add wordsize-32. - * sysdeps/mips/Implies: Add wordsize-32. - * sysdeps/sparc/Implies: Add wordsize-32. - - * sysdeps/mach/hurd/dl-sysdep.c (__open): Define this instead of open. - (__close, __mmap): Likewise define with __ names now. - -Mon Jun 10 05:13:18 1996 Roland McGrath - - * elf/dl-support.c: New file. - * elf/Makefile (CFLAGS-dl-support.c): New variable. - (routines, elide-routines.so): Add dl-support. - - * elf/dl-minimal.c (_dl_pagesize): Remove common defn. - * elf/dl-load.c (_dl_pagesize): Define it here. - (_dl_map_object_from_fd): Initialize it if zero. - * elf/link.h (_dl_pagesize): Remove const. - -Sun Jun 9 04:04:26 1996 Roland McGrath - - * elf/Makefile (routines): Add dl-symbol. - * elf/dl-lookup.c (_dl_symbol_value): Moved to ... - * elf/dl-symbol.c: New file. - - * elf/elf.h (Elf32_Xword, Elf32_Sxword): New types. - (Elf32_Section, Elf64_Section): New types, 16 bits. - (Elf32_Sym, Elf64_Sym): Use it. - - * elf/dl-deps.c (_dl_open): Moved to ... - * elf/dl-open.c: New file. - * Makefile (routines): Add dl-open. - - * elf/Makefile (dl-routines): New variable. - (routines): Add $(dl-routines). - (elide-routines.so): New variable, set to $(dl-routines). - (libdl-inhibit-o): Variable removed; build all flavors of -ldl. - (rtld-routines): All but rtld, dl-sysdep, and dl-minimal moved to - $(dl-routines). - - * elf/dl-lookup.c (_dl_lookup_symbol): Remove magic symbol grokage. - - * elf/dladdr.c: Use ELFW(ST_BIND) in place of ELF32_ST_BIND. - - * elf/dl-load.c (open_path): Use __ names for open and close. Avoid - using strdup. - (_dl_map_object): Likewise. - (_dl_map_object_from_fd): Use __ names for mmap, munmap, and mprotect. - * elf/dl-minimal.c (malloc): Likewise. - * elf/dl-reloc.c (_dl_relocate_object): Likewise. - - * elf/dl-minimal.c (_dl_pagesize): New variable. - (malloc): Use that instead of a static variable. - * elf/dl-reloc.c (_dl_relocate_object): Use _dl_pagesize instead of - calling getpagesize. - * elf/dl-load.c (_dl_map_object_from_fd): Likewise. - * elf/link.h: Declare _dl_pagesize. - - * elf/rtld.c (dl_r_debug): Renamed to _dl_r_debug. - - * elf/link.h (struct link_map): Use Half for l_phnum instead of Word. - * elf/rtld.c (dl_main): Use Half for phdr count arg. - (_dl_sysdep_start): Update prototype of DL_MAIN function ptr arg. + * sysdeps/mach/hurd/__fork.c: Unlock signal state earlier, just + after unlocking _hurd_ports locks. - * elf/dl-load.c (_dl_map_object_from_fd): Use explicit Elf32_Word to - extract 4-byte magic number, not ElfW(Word). Match EI_CLASS against - native wordsize, either 32 or 64. + * sysdeps/unix/bsd/osf1/direct.h: File removed. + * sysdeps/unix/bsd/direct.h (struct direct): Use `unsigned int' + instead of `unsigned long int' for `d_fileno' member. - * elf/elf.h (Elf64_Byte, Elf64_Section): Typedefs removed. In C a - char is always a byte, no need for a typedef. Section indices are - 16-bit quantities in elf64, which already have a typedef Elf64_Half. + * Makerules (common-mostlyclean): Remove $(tests:=.out) too. - Remove partial -lelf implementation. There is now a - separately-distributed `libelf' package that implements it. - * elf/dl-lookup.c: Don't #include any more. - (_dl_elf_hash): New function, moved from - libelf.h:elf_hash. - (_dl_lookup_symbol): Use it instead of elf_hash. - * elf/libelf.h: File removed. - * elf/elf_hash.c: File removed. - * elf/Makefile (headers): Remove libelf.h. - (extra-libs): Remove libelf. - (libelf-routines): Variable removed. + * assert/assert-perr.c (__assert_perror_fail): Add missing comma. - * elf/Makefile (libdl.so): Remove commands from this target. The - implicit rule commands are correct, this explicit rule just serves to - add some dependencies. + * sysdeps/unix/ioctls-tmpl.c [__osf__ && __alpha__] (FIOPIPESTAT, + SIOCSRREQR, SIOCSRREQW, SRVC_REQUEST): #undef these. - * elf/dl-lookup.c (_dl_lookup_symbol): Use ELFW(ST_TYPE) in place of - ELF32_ST_TYPE. Likewise ST_BIND. - * elf/do-rel.h (elf_dynamic_do_rel): Likewise R_SYM. - - * elf/link.h (ElfW): New macro for wordsize-independent ElfXX_* type - naming. - (ELFW): New macro, likewise for ELFXX_* macro naming. - (_ElfW, _ElfW_1): New macros, subroutines of ElfW and ELF. - -Sat Jun 8 20:52:38 1996 Roland McGrath - - * elf/link.h, elf/do-rel.h, elf/dynamic-link.h, elf/dl-deps.c, - elf/dl-init.c, elf/dl-load.c, elf/dl-lookup.c, elf/dl-reloc.c, - elf/dl-runtime.c, elf/dladdr.c, elf/dlclose.c, elf/dlsym.c, - elf/linux-compat.c, elf/rtld.c: Change all uses of `Elf32_XXX' to - `ElfW(XXX)' for wordsize-independence. - -Sat Jun 8 20:50:42 1996 Richard Henderson - - * elf/elf.h: Move Elf64_* types in parity with Elf32 counterparts. - (Elf64_auxv_t): New type. - (EM_ALPHA, R_ALPHA_*): New macros for elf64-alpha format. - -Mon Jun 10 02:22:24 1996 Roland McGrath - - * sysdeps/unix/sysv/linux/configure.in: New file, start with configure. - Add check for installed being v2.0 or later. - - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill): Call __open - instead of open. - (_dl_sysdep_fatal): Call __write instead of write. - (_dl_sysdep_message): Likewise. - -Sun Jun 9 20:40:00 1996 Andreas Schwab - - * sysdeps/m68k/fpu/e_acosl.c: New file. - -Sun Jun 9 01:11:49 1996 Roland McGrath - - * Makerules (o-objects): New variable. Use it in place of - $(objects:.o=$o); it filters out $(elide-routines$o). - Use o-iterator for ar and ranlib rules so they use the per-type object - list. - - * elf/dl-load.c (_dl_map_object_from_fd): Close FD before return. - - * sysdeps/mach/mprotect.c: Define with __ name and weak alias. - * sysdeps/stub/mprotect.c: Likewise. - * sysdeps/unix/mman/syscalls.list (mprotect): Likewise. - * sysdeps/generic/sys/mman.h: Declare __mprotect. - * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise. - * sysdeps/unix/sysv/linux/sys/mman.h: Likewise. - * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise. - * sysdeps/unix/bsd/osf/sys/mman.h: Likewise. - * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise. - - * Make-dist ($(tardir).tar): Use sed to check for file names longer - than 14 chars, instead of doschk which checks for other things we - don't care about. - - * Version 1.90 test release. - - * Makerules (make-target-directory): Use ./mkinstalldirs so we do not - assume . is in PATH. - -Sat Jun 8 22:05:03 1996 Roland McGrath - - * math/Makefile (distribute): Comment out addition of - $(long-m-routines) sources until they are all written. - - * math/Makefile (distribute): Append long double source names to this - instead of using elided-routines. - -Sat Jun 8 15:15:07 1996 Roland McGrath - - * mach/mach_shortcuts.c: Obsolete file removed. - * mach/mach_syscalls.h: Likewise. - - * hurd/Makefile (distribute): Consolidate defns into one. - - * time/Makefile (tzfiles): Add solar87 solar88 solar89. - -Fri Jun 7 16:48:13 1996 Roland McGrath +Wed Nov 2 23:00:19 1994 Roland McGrath - * sysdeps/unix/sysv/linux/i386/Dist: New file, list sys/perm.h and - sys/vm86.h. + * sysdeps/mach/hurd/setegid.c: Pass poly and count args for + other_handles in correct order in call to auth_makeauth. + * sysdeps/mach/hurd/__setregid.c: Likewise. + * sysdeps/mach/hurd/__setreuid.c: Likewise. - Removed old math code no longer used since the fdlibm integration. - * sysdeps/stub/acos.c: File removed. - * sysdeps/stub/asin.c: File removed. - * sysdeps/stub/atan2.c: File removed. - * sysdeps/stub/cosh.c: File removed. - * sysdeps/stub/exp.c: File removed. - * sysdeps/stub/fmod.c: File removed. - * sysdeps/stub/frexp.c: File removed. - * sysdeps/stub/log.c: File removed. - * sysdeps/stub/log10.c: File removed. - * sysdeps/stub/sinh.c: File removed. - * sysdeps/stub/tan.c: File removed. - * sysdeps/stub/tanh.c: File removed. - * sysdeps/generic/acos.c: File removed. - * sysdeps/generic/acosh.c: File removed. - * sysdeps/generic/asin.c: File removed. - * sysdeps/generic/asinh.c: File removed. - * sysdeps/generic/atan.c: File removed. - * sysdeps/generic/atan2.c: File removed. - * sysdeps/generic/atanh.c: File removed. - * sysdeps/generic/cabs.c: File removed. - * sysdeps/generic/ceil.c: File removed. - * sysdeps/generic/copysign.c: File removed. - * sysdeps/generic/cosh.c: File removed. - * sysdeps/generic/exp.c: File removed. - * sysdeps/generic/expm1.c: File removed. - * sysdeps/generic/fabs.c: File removed. - * sysdeps/generic/floor.c: File removed. - * sysdeps/generic/fmod.c: File removed. - * sysdeps/generic/frexp.c: File removed. - * sysdeps/generic/hypot.c: File removed. - * sysdeps/generic/infnan.c: File removed. - * sysdeps/generic/isnan.c: File removed. - * sysdeps/generic/ldexp.c: File removed. - * sysdeps/generic/log.c: File removed. - * sysdeps/generic/log10.c: File removed. - * sysdeps/generic/log1p.c: File removed. - * sysdeps/generic/modf.c: File removed. - * sysdeps/generic/pow.c: File removed. - * sysdeps/generic/rint.c: File removed. - * sysdeps/generic/sinh.c: File removed. - * sysdeps/generic/tan.c: File removed. - * sysdeps/generic/tanh.c: File removed. - * sysdeps/ieee754/cabs.c: File removed. - * sysdeps/ieee754/copysign.c: File removed. - * sysdeps/ieee754/frexp.c: File removed. - * sysdeps/ieee754/hypot.c: File removed. - * sysdeps/ieee754/infnan.c: File removed. - * sysdeps/ieee754/ldexp.c: File removed. - * sysdeps/ieee754/log10.c: File removed. + * Makerules (compile.S): Add -DASSEMBLER. + * sysdeps/mach/sysdep.h [ASSEMBLER]: Don't include + if this is defined. - * posix/Makefile (headers): Add schedbits.h. +Wed Nov 2 22:39:55 1994 Michael I Bushnell - * math/Makefile (elided-routines): Add long double routines. + * sysdeps/mach/hurd/seteuid.c: Pass poly and count args for + other_handles in correct order in call to auth_makeauth. -Fri Jun 7 11:02:22 1996 Miles Bader +Wed Nov 2 15:03:51 1994 Roland McGrath - * sysdeps/mach/hurd/getpriority.c (getpriority): Use new interface - to __proc_getprocinfo. + * stdio/internals.c (fillbuf): Make sure returned char doesn't get + sign extended. - * login/login.c (tty_name): New function. - (login): Use it. - (PATH_MAX): MACRO removed. - : New include. +Tue Nov 1 01:25:28 1994 Roland McGrath -Fri Jun 7 09:11:17 1996 Roland McGrath + * sysdeps/unix/common/Implies: File removed. + * sysdeps/unix/bsd/Implies: Add unix/inet. - * sysdeps/unix/sysv/linux/Dist: Add sys/sysinfo.h, sys/mount.h, - sys/kdaemon.h, sys/io.h, sys/mount.h, sysctl.c. + * assert/assert-perror.c: Renamed to assert-perr.c. + * assert/Makefile (routines): Rename assert-perror to assert-perr. - * gmon/Makefile (distribute): Add profil-counter.h. + * Version 1.08.13. - * sysdeps/unix/sysv/linux/alpha/Dist: New file. + * mach/Makefile (generated): Add __%.c for $(mach-shortcuts) too. - * sysdeps/unix/Dist: Add s-proto.S. + * dirent/Makefile (tests): Add tst-seekdir. + * dirent/tst-seekdir.c (main): New file. + * sysdeps/unix/bsd/seekdir.c: New file. + * sysdeps/unix/bsd/telldir.c: New file. + * sysdeps/unix/bsd/dirstream.h (DIR): New member `__pos'. + * sysdeps/unix/bsd/readdir.c: Update DIRP->__pos in getdirentries + call. + * sysdeps/unix/opendir.c: Use calloc in place of malloc, to zero + fill new DIRs. - * sysdeps/unix/common/mk-local_lim.c: Obsolete file removed. + * sysdeps/standalone/i386/force_cpu386/force_cpu386.ld: Renamed to + target.ld. + * sysdeps/standalone/i386/force_cpu386/Makefile: Install it from + that name (still into $(libdir)/force_cpu386.ld). - * Make-dist (+sysdep-tsrcs): Get all syscalls.list files too. + * mach/Makefile (headers, user-interfaces, server-interfaces): + Don't add default_pager stuff. - * csu/Makefile (distribute): Add start.c. +Mon Oct 31 07:00:40 1994 Roland McGrath - * elf/Makefile (distribute): Add dl-machine.h. + * sysdeps/unix/bsd/sun/sunos4/termbits.h (TCSASOFT): Macro + removed. - * sysdeps/alpha/Dist: Add _mcount.S. + * malloc/malloc.h: Change #ifdef __STDC__ to #if defined + (__STDC__) && __STDC__. - * sysdeps/alpha/Makefile (sysdep_routines): Append instead of - resetting; don't add bb_init_func. +Fri Oct 28 00:09:24 1994 Roland McGrath - * string/Makefile (routines): Add strerror_r. - * string/string.h (strerror_r): Use int for BUFLEN arg. + * sysdeps/mach/sysdep.h: Include for decls. + (FATAL_PREPARE): Pass arg to __mig_dealloc_reply_port. - * Makefile (distribute): Add shlib-versions. + * assert/Makefile (routines): Add assert-perror. - * po/Makefile (distribute): Add SYS_libc.pot. + * Makerules (stubs): cd into $(objdir) and use local file names, + making the cmd shorter. - * misc/Makefile (routines): Add lsearch. + * sysdeps/mach/hurd/getprio.c (getonepriority): Call + proc_getprocinfo with proc port. - * manual/lang.texi (Consistency Checking): Merge in assert_perror defn - and other changes inadvertently made to the obsolete assert.texi. - * manual/assert.texi: File removed. + * sysdeps/mach/hurd/errnos.awk: Grok "@comment errno %d" in + errno.texi, instead of assigning sequentially. + * sysdeps/mach/hurd/errlist.awk: Likewise. - * mach/mach_syscalls.c: Obsolete file removed. - * mach/mach_syscalls.h: Likewise. - * mach/mach_traps.S: Likewise. - * mach/msg_destroy.c: Likewise. - * mach/vm_page_size.c: Likewise. + * stdio/fwrite.c: Reset BUFFER_SPACE after fflush in fill_buffer + case. - * locale/Makefile (distribute): Add weight.h, charset.h. + * sysdeps/generic/sigset.h (__SIGSETFN): When losing, punt to + `raise (-1)'. Old method looped. - * Makefile (distribute): Add version.h. + * hurd/hurd/resource.h: Include . - * hurd/Makefile (headers): Add hurd/ioctl.h. - (distribute): Add intr-rpc.d, intr-rpc.h, faultexc.defs. +Thu Oct 27 15:00:50 1994 Roland McGrath - * csu/Makefile (distribute): Add gmon-start.c. + * sysdeps/standalone/standalone.h: Fixed typo. - * Makefile (distribute): Add config.h.in. +Wed Oct 26 00:21:16 1994 Roland McGrath -Wed Jun 5 22:06:21 1996 Andreas Schwab + * sysdeps/unix/i386/vfork.S: New file. - * sysdeps/m68k/dl-machine.h (elf_machine_rela): Fix type of reloc - argument. - [case R_68K_32]: Check for resolve being null. - (RTLD_START): Add missing label. + * sysdeps/generic/strchr.c: Increment CP properly in check for 5th + char of quadword hit. -Fri Jun 7 1996 05:29:32 Ulrich Drepper + * sysdeps/mach/hurd/getprio.c (getonepriority): Always set ONERR. - * misc/lsearch.c: New file. Implementation of lfind and - lsearch functions. +Tue Oct 25 03:53:26 1994 Roland McGrath - * misc/search.h: Add prototype for functions from tsearch - family with __ prefix. - Correct prototype for lsearch: BASE parameter must not be - const. + * hurd/hurd/resource.h: Include . - * misc/tsearch.c: prepend all global function names with __ - and make normal names weak aliases. + * stdio/ftell.c: If STREAM->__pushed_back, calculate from + pushback_bufp instead of bufp. -Fri Jun 7 00:15:24 1996 Roland McGrath + * Makefile (format-me): New canned sequence; runs makeinfo + --no-headers. + (INSTALL): Use it. + (NOTES): New file rule. - * Make-dist (sysdep_dirs): Skip CVS dirs. + * manual/intro.texi (Feature Test Macros): Node moved off to + creature.texi. + * manual/creature.texi: New file, broken out of intro.texi. -Thu Jun 6 16:12:39 1996 Roland McGrath + * manual/Makefile (indices): New variable; include ky. + (realclean): Use $(indices) to remove all index and sorted index + files. - * malloc/Makefile (distribute): Change malloc/gmalloc-head.c to - gmalloc-head.c. - (malloc/gmalloc.c): Depend on malloc/gmalloc-head.c. - (malloc/Makefile): Do $(make-target-directory) first. - * malloc/gmalloc-head.c: New file. + * sysdeps/mach/hurd/fcntlbits.h (O_ASYNC, O_FSYNC, O_SYNC): + Protect with [__USE_BSD]. - * po/Makefile (linguas.mo): Don't commit .mo files to cvs. +Mon Oct 24 00:16:59 1994 Roland McGrath - * hurd/hurdsig.c (_hurd_internal_post_signal): For SIGNO==0 pending - check, deliver a pending blocked signal if its action might be to - ignore. - * sysdeps/mach/hurd/sigaction.c: If new action is SIG_IGN or SIG_DFL - and SIG is pending, wake up signal thread to check us. + * sysdeps/unix/bsd/utime.c: Initialize tv_usec fields. + Use __gettimeofday instead of time. - * hurd/hurdsig.c (_hurd_internal_post_signal): Don't mark a signal - pending while blocked or stopped when the action is to ignore it. + * sunrpc/pmap_rmt.c: Include before . + Undef _POSIX_SOURCE before that. + * sunrpc/pm_getport.c: Likewise. + * sunrpc/pm_getmaps.c: Likewise. + * sunrpc/get_myaddr.c: Likewise. -Thu Jun 6 12:56:03 1996 Roland McGrath + * misc/sys/cdefs.h: Undef __P first. - * hurd/hurdsig.c (_hurd_internal_post_signal: resume): Only set - SS_SUSPENDED when the thread is really suspended. + * Version 1.08.12. - * elf/rtld.c (dl_main): Don't dereference _dl_rtld_map.l_next if null. + * sysdeps/mach/hurd/getprio.c: Rewritten. + * sysdeps/mach/hurd/setprio.c: New file. + * hurd/hurdprio.c: New file. + * hurd/Makefile (routines): Add hurdprio. + * hurd/hurd/resource.h (_hurd_priority_which_map): Declare it. + (NICE_TO_MACH_PRIORITY, MACH_PRIORITY_TO_NICE): New macros. - * Makerules (headers): Move append of $(sysdep_headers) after include - of sysdep makefiles. +Sun Oct 23 19:39:18 1994 Roland McGrath - * sysdeps/mach/hurd/errlist.c: File removed. + * Makerules (sources): Fix typo in last change. -Thu Jun 6 07:32:14 1996 Miles Bader - - * resolv/gethnamaddr.c (struct hstorage): Make NAME field a pointer. - (_gethtbyname2): Remove ALIAS variable. - Initialize NAME field of SELF and TARGET to 0. - Add SELF_NAME_SIZE static variable. - Add loop to call gethostname until the space we allocated is enough. - Use malloced strings instead of fixed size buffers. - , : New includes. - * sysdeps/generic/sys/socket.h (PF_INET6, AF_INET6): New macros. - - * sysdeps/mach/hurd/errlist.c (_sys_errlist): Add EILSEQ. - (_sys_nerr): Initialize to 107. - Update _HURD_ERRNOS consistency check. - - * stdlib/canonicalize.c (canonicalize): Use pathconf for PATH_MAX, - not sysconf. - - * login/login.c [!PATH_MAX] (PATH_MAX): Define to be 1024 if not - already defined. - - * sysdeps/mach/hurd/setitimer.c (timer_thread): Supply SIGCODE - argument to __msg_sig_post_request. - - * hurd/hurdmalloc.c: Changes to bring in line with the hurd - libthreads/malloc.c: - (more_memory): Use assert_perror instead of MACH_CALL. - "cthread_internals.h": Include removed. - (realloc): Use LOG2_MIN_SIZE. - (LOG2_MIN_SIZE): New macro. - (realloc): Don't bother allocating a new block if the - new size request fits in the old one and doesn't waste any space. - Only free the old block if we successfully got a new one. - [MCHECK] (struct header): New type. - (union header): Only define if !MCHECK. - (HEADER_SIZE, HEADER_NEXT, HEADER_FREE, HEADER_CHECK): New macros. - [MCHECK] (MIN_SIZE): Add correct definition for this case. - (more_memory, malloc, free, realloc): Use above macros, and add - appropiate checks & frobs in MCHECK case. - -Thu Jun 6 02:00:42 1996 Roland McGrath - - * Makerules (distinfo-vars): Don't write constant line to frob sources. - * Make-dist (sources): Append $(elided-routines) and $(extra-libs) - routines. - -Tue Jun 4 22:03:02 1996 Andreas Schwab - - * sysdeps/m68k/fpu/__math.h: Define long double versions of - the inline functions. - * sysdeps/m68k/fpu/e_asinl.c, sysdeps/m68k/fpu/e_atanl.c, - sysdeps/m68k/fpu/e_acosl.c, sysdeps/m68k/fpu/e_expl.c, - sysdeps/m68k/fpu/e_fmodl.c, sysdeps/m68k/fpu/e_log10l.c, - sysdeps/m68k/fpu/e_logl.c, sysdeps/m68k/fpu/e_powl.c, - sysdeps/m68k/fpu/e_remainderl.c, sysdeps/m68k/fpu/e_scalbl.c, - sysdeps/m68k/fpu/e_sinhl.c, sysdeps/m68k/fpu/e_sqrtl.c, - sysdeps/m68k/fpu/k_cosl.c, sysdeps/m68k/fpu/k_sinl.c, - sysdeps/m68k/fpu/k_tanl.c, sysdeps/m68k/fpu/s_atanl.c, - sysdeps/m68k/fpu/s_ceill.c, sysdeps/m68k/fpu/s_cosl.c, - sysdeps/m68k/fpu/s_expm1l.c, sysdeps/m68k/fpu/s_fabsl.c, - sysdeps/m68k/fpu/s_finitel.c, sysdeps/m68k/fpu/s_floorl.c, - sysdeps/m68k/fpu/s_frexpl.c, sysdeps/m68k/fpu/s_ilogbl.c, - sysdeps/m68k/fpu/s_isinfl.c, sysdeps/m68k/fpu/s_isnanl.c, - sysdeps/m68k/fpu/s_ldexpl.c, sysdeps/m68k/fpu/s_log1pl.c, - sysdeps/m68k/fpu/s_logbl.c, sysdeps/m68k/fpu/s_modfl.c, - sysdeps/m68k/fpu/s_rintl.c, sysdeps/m68k/fpu/s_scalbnl.c, - sysdeps/m68k/fpu/s_significandl.c, sysdeps/m68k/fpu/s_sinl.c, - sysdeps/m68k/fpu/e_atanhl.c, sysdeps/m68k/fpu/e_coshl.c: New files. - - * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_fmod.c, - sysdeps/m68k/fpu/k_cos.c, sysdeps/m68k/fpu/k_sin.c, - sysdeps/m68k/fpu/k_tan.c, sysdeps/m68k/fpu/s_atan.c, - sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_ilogb.c, - sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_ldexp.c, - sysdeps/m68k/fpu/s_modf.c: Define generic functions using FUNC and - float_type with appropriate defaults. - - * sysdeps/m68k/fpu/e_acosf.c, sysdeps/m68k/fpu/e_fmodf.c, - sysdeps/m68k/fpu/k_cosf.c, sysdeps/m68k/fpu/k_sinf.c, - sysdeps/m68k/fpu/k_tanf.c, sysdeps/m68k/fpu/s_atanf.c, - sysdeps/m68k/fpu/s_frexpf.c, sysdeps/m68k/fpu/s_ilogbf.c, - sysdeps/m68k/fpu/s_isinff.c, sysdeps/m68k/fpu/s_ldexpf.c, - sysdeps/m68k/fpu/s_modff.c: Include the corresponding double - versions with appropriate definitions to get float functions, - instead of defining them directly. - - * sysdeps/m68k/fpu/acos.c: File removed. - * sysdeps/m68k/fpu/asin.c: File removed. - * sysdeps/m68k/fpu/atan.c: File removed. - * sysdeps/m68k/fpu/atan2.c: File removed. - * sysdeps/m68k/fpu/atanh.c: File removed. - * sysdeps/m68k/fpu/ceil.c: File removed. - * sysdeps/m68k/fpu/cos.c: File removed. - * sysdeps/m68k/fpu/cosh.c: File removed. - * sysdeps/m68k/fpu/drem.c: File removed. - * sysdeps/m68k/fpu/exp.c: File removed. - * sysdeps/m68k/fpu/expm1.c: File removed. - * sysdeps/m68k/fpu/fabs.c: File removed. - * sysdeps/m68k/fpu/fl.h: File removed. - * sysdeps/m68k/fpu/floor.c: File removed. - * sysdeps/m68k/fpu/fmod.c: File removed. - * sysdeps/m68k/fpu/frexp.c: File removed. - * sysdeps/m68k/fpu/isinf.c: File removed. - * sysdeps/m68k/fpu/isinfl.c: File removed. - * sysdeps/m68k/fpu/isnan.c: File removed. - * sysdeps/m68k/fpu/isnanl.c: File removed. - * sysdeps/m68k/fpu/ldexp.c: File removed. - * sysdeps/m68k/fpu/log.c: File removed. - * sysdeps/m68k/fpu/log10.c: File removed. - * sysdeps/m68k/fpu/log1p.c: File removed. - * sysdeps/m68k/fpu/logb.c: File removed. - * sysdeps/m68k/fpu/pow.c: File removed. - * sysdeps/m68k/fpu/rint.c: File removed. - * sysdeps/m68k/fpu/sin.c: File removed. - * sysdeps/m68k/fpu/sinh.c: File removed. - * sysdeps/m68k/fpu/sqrt.c: File removed. - * sysdeps/m68k/fpu/tan.c: File removed. - * sysdeps/m68k/fpu/tanh.c: File removed. - -Thu Jun 6 00:02:15 1996 Roland McGrath - - * sysdeps/unix/sysv/linux/syscalls.list: Add select (the syscall name - is _newselect). - * sysdeps/unix/sysv/linux/select.S: File removed. - - * sysdeps/unix/sysv/linux/m68k/select.S: File removed; obsolete with - current kernels, generic linux version is fine. - - * locale/Makefile: Add vpath for %.gperf to programs. - - * Make-dist (+tsrcs): Variable removed. - (dist): Process $^ here instead of using $(+tsrcs). - - * sysdeps/unix/sysv/linux/Makefile (install-others): Don't set. - ($(includedir)/sys/syscall.h): Target removed. - (sysdep_headers): Add syscall-list.h. - ($(objpfx)syscall-%.[dh]): New rule to build syscall-list.[dh]. - (generated): Add those. - * sysdeps/unix/sysv/linux/syscall.h: Include . - -Wed Jun 5 15:57:28 1996 Roland McGrath - - * misc/sys/syscall.h: New file. - * misc/Makefile (headers): Add sys/syscall.h. - - * time/tzfile.h, time/private.h, time/zdump.c, time/zic.c, - time/africa, time/asia, time/australasia, time/europe, - time/northamerica, time/southamerica: Updated from ADO 96h. - - * Make-dist (all-headers): Filter $(sysdep_headers) out of $(headers). - (try-sysdeps, +sysdep-names): Check sysdeps/libm-ieee754 too. - - * Makerules (distinfo-vars): Add sysdep_headers. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Append to - this instead of $(headers). - * sysdeps/unix/sysv/linux/alpha/Makefile: Likewise. - * sysdeps/unix/sysv/linux/i386/Makefile: Likewise. - - * Make-dist [subdirs-dirs]: Don't prefix $(subdir-dirs) with - $(subdir); we are already there. - - * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: Removed. - - * mach/Machrules: Undo last change. - (mach-generated): List .uh and .__h files only for $(user-interfaces), - not for each .h in $(interface-headers); server-interfaces have no .uh - or .__h files. - -Wed Jun 5 15:42:51 1996 Miles Bader - - * mach/Machrules (%_server.uh, %_server.__h): New rules, so that the - corrsponding .defs file with without the `_server' will be used. - - * mach/Makefile (mach/mach_interface.defs): Renamed from - mach_interface.defs. - (mach/memory_object_user.defs): New variable. +Fri Oct 21 13:15:39 1994 Roland McGrath -Wed Jun 5 15:10:58 1996 Roland McGrath - - * Make-dist [subdir-dirs]: Set vpath for %, not just %.c. - - * locale/Makefile (subdir-dirs): New variable. - -Wed Jun 5 00:01:19 1996 Roland McGrath - - * Makerules (distinfo-vars): Add sysdep_routines. - - * mach/Machrules (include-%.defs): New canned sequence. - Change all uses of `#include <$*.defs>' in cmds to use it. - * mach/Makefile (mach_interface.defs): New variable, set to mach.defs. - - * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle RESOLVE being - null in all cases but R_386_COPY. - (elf_machine_rel): + * sysdeps/generic/termbits.h (ECHOKE): Remove gratuitous leading + space before #define. -Wed Jun 5 00:01:19 1996 Roland McGrath + * Makerules (sources): Filter out $(elided-routines). - * sysdeps/unix/bsd/ultrix4/mips/Dist: Updated. - * sysdeps/unix/bsd/ultrix4/Dist: Removed. - * sysdeps/unix/sysv/sysv4/Dist: Updated. - * sysdeps/unix/sysv/sco3.2.4/Dist: Removed. - * sysdeps/unix/sysv/irix4/Dist: Updated. - * sysdeps/unix/sysv/linux/i386/Dist: Removed. - * sysdeps/unix/sysv/Dist: Updated. - * sysdeps/unix/bsd/sun/sunos4/Dist: Removed. - * sysdeps/unix/bsd/sony/newsos4/Dist: Removed. - * sysdeps/gnu/Dist: New file. - * sysdeps/alpha/Dist: Updated. - * sysdeps/mach/hurd/Dist: Updated. + * sysdeps/sparc/divrem.m4 (entry point): For OP=rem, set SIGN from + dividend only, ignoring divisor. + (Lgot_result): Test SIGN here for OP=rem too (as originally). - * Make-dist [subdir-dirs]: Set a vpath for %.c. +Wed Oct 19 02:40:02 1994 Roland McGrath - * Make-dist (README): Fix typo in cvs cmd. + * hurd/hurdsig.c: Use assert_perror. - * elf/dl-lookup.c (_dl_lookup_symbol): Fix typos in last change. - Comment out ref to nonexistent _dl_close. + * assert/assert-perror.c (__assert_perror_fail): New file. + * assert/assert.h (assert_perror): New macro. -Tue Jun 4 21:01:20 1996 Roland McGrath + * Version 1.08.11. - * math/Makefile (libm-support, libm-calls): New variables. - (libm-routines): Construct this from those. - (calls): New variable. - (routines): Construct this from it. + * hurd/hurdsig.c (abort_rpcs): Actually return a port instead of + boolean, as the type says. - * resolv/res_debug.c: Add missing #include . + * hurd/hurdsig.c (abort_all_rpcs): If waiting for reply from + interrupted RPC returns error, print debugging msg with error + test, don't assert. - * sysdeps/unix/getlogin.c: Must pass struct utmp ptr to getutline_r. - * sysdeps/unix/getlogin_r.c: Likewise. +Mon Oct 17 00:06:03 1994 Roland McGrath - * sysdeps/libm-ieee754/w_hypotl.c: Fix typo. + * stdlib/strtol.c: Deansideclized. + * sysdeps/generic/strcspn.c: Deansideclized. + * sysdeps/generic/putenv.c: Deansideclized, added portability + cruft. - * sysdeps/libm-ieee754/w_cabsl.c: __cabsl_complex -> __cabs_complexl +Fri Oct 14 14:00:11 1994 Roland McGrath - * math/Makefile (long-m-routines): Define recursive variable as - $(long-m-$(long-double-fcts)). - (long-m-yes): Put list of routines here. - (long-c-routines, long-c-yes): Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/utsnamelen.h: + Moved to sysdeps/unix/sysv/sysv4. - * sysdeps/unix/sysv/linux/schedbits.h: File removed. +Thu Oct 13 22:06:50 1994 Roland McGrath - * sysdeps/i386/Makefile (long-double-fcts): New variable, set to yes. - * sysdeps/m68k/Makefile: Likewise. + * sysdeps/unix/common/glue-ctype.c [HAVE__LOCP]: Move this defn to + first. Include sys/types.h. - * math/Makefile [$(long-double-fcts)!=yes] (CPPFLAGS): Append - -DNO_LONG_DOUBLE. + * sysdeps/unix/bsd/readdir.c: Include direct.h. - * sysdeps/mach/hurd/getlogin_r.c: New file. + * socket/sys/socket.h (__SOCKADDR_ARG): Always use non-GCC defn, + for now. + * posix/sys/wait.h (__WAIT_STATUS): Likewise. -Wed Jun 5 02:11:30 1996 Ulrich Drepper +Tue Oct 11 00:42:50 1994 Roland McGrath - * io/Makefile (routines): Add ttyname_r. + * Version 1.08.10. - * resolv/res_debug.c, resolv/resolv.h: Update from bind-4.3.4-T4A. +Mon Oct 10 00:33:47 1994 Roland McGrath - * sysdeps/libm-i387/e_asinl.S, sysdeps/libm-i387/e_atan2l.S, - sysdeps/libm-i387/e_expl.S, sysdeps/libm-i387/e_fmodl.S, - sysdeps/libm-i387/e_log10l.S, sysdeps/libm-i387/e_logl.S, - sysdeps/libm-i387/e_remainderl.S, sysdeps/libm-i387/e_scalbl.S, - sysdeps/libm-i387/e_sqrtl.S, sysdeps/libm-i387/s_atanl.S, - sysdeps/libm-i387/s_cosl.S, sysdeps/libm-i387/s_ilogbl.S, - sysdeps/libm-i387/s_log1pl.S, sysdeps/libm-i387/s_logbl.S, - sysdeps/libm-i387/s_scalbnl.S, sysdeps/libm-i387/s_sinl.S, - sysdeps/libm-i387/s_tanl.S: New files. i387 assembler versions - of `long double' math functions. + * malloc/malloc.h [_MALLOC_INTERNAL] (CHAR_BIT): Don't define if + already defined. - * sysdeps/libm-ieee754/k_standard.c: Add handling for errors - in long double functions. + * stdio/__vfscanf.c: Grok %q modifier like %ll. - * sysdeps/libm-ieee754/s_ilogbl.c, sysdeps/libm-ieee754/s_logbl.c, - sysdeps/libm-ieee754/s_modfl.c: New files. Generic versions - of `long double' math functions. + * mach/__msgserver.c: Increase default MAX_SIZE to two pages. - * sysdeps/libm-ieee754/s_isinf.c [NO_LONG_DOUBLE]: Add string - alias for __isinfl. + * misc/init-misc.c: Cast string constant to non-const type. - * sysdeps/libm-ieee754/w_acoshl.c, sysdeps/libm-ieee754/w_acosl.c, - sysdeps/libm-ieee754/w_asinl.c, sysdeps/libm-ieee754/w_atan2l.c, - sysdeps/libm-ieee754/w_atanhl.c, sysdeps/libm-ieee754/w_cabsl.c, - sysdeps/libm-ieee754/w_coshl.c, sysdeps/libm-ieee754/w_dreml.c, - sysdeps/libm-ieee754/w_expl.c, sysdeps/libm-ieee754/w_fmodl.c, - sysdeps/libm-ieee754/w_gammal.c, sysdeps/libm-ieee754/w_gammal_r.c, - sysdeps/libm-ieee754/w_hypotl.c, sysdeps/libm-ieee754/w_j0l.c, - sysdeps/libm-ieee754/w_j1l.c, sysdeps/libm-ieee754/w_jnl.c, - sysdeps/libm-ieee754/w_lgammal.c, sysdeps/libm-ieee754/w_lgammal_r.c, - sysdeps/libm-ieee754/w_log10l.c, sysdeps/libm-ieee754/w_logl.c, - sysdeps/libm-ieee754/w_powl.c, sysdeps/libm-ieee754/w_remainderl.c, - sysdeps/libm-ieee754/w_scalbl.c, sysdeps/libm-ieee754/w_sinhl.c, - sysdeps/libm-ieee754/w_sqrtl.c: New files. Wrapper functions - around long double function implementations. + * sysdeps/i386/ffs.c: Use %1 again instead of listing TMP as an + input with constraint "1". This avoids a warning that TMP may be + used before set. - * sysdeps/posix/ttyname_r.c (ttyname_r): Use _D_EXACT_NAMLEN - to determine length of directory entry name. +Sun Oct 9 22:41:20 1994 Roland McGrath - * posix/Makefile (routines): Add getlogin_r. - * posix/unistd.h: Add prototype for getlogin_r. - * sysdeps/stub/getlogin_r.c: New file. Reentrant version of - getlogin function, specified in P1003.1c/D6. Stub version. - * sysdeps/unix/getlogin.c (getlogin): Use ttyname_r instead of - ttyname. This avoids saving and restoring the old content. - Also use setutent_r, getutline_r and endutent_r instead of - accing UTMP file directly. - * sysdeps/unix/getlogin_r.c: New file. Reentrant version of - getlogin function, specified in P1003.1c/D6. + * hurd/hurdsig.c (abort_all_rpcs): Declare SS. -Tue Jun 4 20:10:09 1996 J.T. Conklin +Sun Oct 09 01:19:38 1994 Jim Meyering (meyering@comco.com) - * sysdeps/libm-i387/s_finitef.S: Fix mask for exponent. + * posix/fnmatch.c: Remove CONFIG_BROKETS conditional. -Tue Jun 4 18:57:57 1996 Roland McGrath +Fri Oct 7 15:28:07 1994 Roland McGrath - * elf/dl-lookup.c (_dl_lookup_symbol): Grok magical undefined symbols - _GNU_libc_dl_{open,close,symbol} and resolve them to dl functions. + * stdio/__vfscanf.c: Properly grok %a modifier. - * elf/rtld.c (rtld_map): Renamed to _dl_rtld_map, made global. - * elf/link.h: Declare _dl_rtld_map. + * hurd/hurdsig.c (abort_rpcs): Return the reply port or null, + instead of boolean. + (abort_all_rpcs): Record the returns from abort_rpcs and wait for + a message on each reply port. Don't bother locking _hurd_siglock. - * elf/dl-lookup.c (_dl_symbol_value): New function. - * elf/link.h: Declare it. +Thu Oct 6 18:57:44 1994 Roland McGrath - * elf/dladdr.c: Remove #include , we don't use it. + * hurd/hurd.h (_hurd_socket_server): Take new arg DEAD; explain + its use in comment. + * hurd/hurdsock.c (_hurd_socket_server): Take new arg DEAD; if + nonzero, clear any old cached port and always do a fresh lookup. + * sysdeps/mach/hurd/socket.c: Pass new arg to _hurd_socket_server, + cope with dead server on socket_create. + * sysdeps/mach/hurd/__pipe.c: Likewise. - * shlib-versions: Set libdl=2. +Mon Oct 3 02:09:43 1994 Roland McGrath - * elf/dl-deps.c (_dl_map_object_deps): Use a linked list of alloca'd - elements and then scan it to fill the single malloc'd array, instead - of using realloc to grow the array in the first pass. _dl_map_object - may do some mallocs that break our stream of reallocs, and the minimal - realloc can't handle that. + * sysdeps/generic/utsnamelen.h (_UTSNAME_LENGTH): Increase to + 1024. - * elf/dl-init.c (_dl_init_next): Take argument, link_map whose - searchlist describes the piece of the DT_NEEDED graph to be - initialized. - * elf/link.h: Update prototype. - * sysdeps/i386/dl-machine.h (RTLD_START): Pass _dl_loaded as argument - to _dl_init_next. - * sysdeps/m68k/dl-machine.h: Likewise. - * elf/dl-deps.c (_dl_open): Pass new object as arg to _dl_init_next. +Sun Oct 2 18:35:16 1994 Roland McGrath - * elf/link.h (struct link_map): Add `l_reserved' member, soaking up - extra bits in last byte. - * elf/dl-deps.c (_dl_map_object_deps): Use that for mark bit to avoid - putting dup elts in search list. + * posix/glob.h (__P): Change arg name to `protos', for congruence + with 4.4 BSD. + * posix/fnmatch.h (__P): Likewise. - * elf/dlclose.c: Use MAP->l_searchlist to find deps to close. +Sat Oct 1 04:25:35 1994 Roland McGrath - * elf/dlsym.c: Don't tweak linked list. Scope array given to - _dl_lookup_symbol does the right thing. + * misc/Makefile (routines): Add daemon. - * elf/Makefile (subdir_lib): Change this target to lib-noranlib. - (lib-noranlib): Depend on on $(extra-objs). +Fri Sep 30 16:49:09 1994 Roland McGrath - * errno.h: Move __END_DECLS out of #ifdef's so it matches - __BEGIN_DECLS. + * misc/daemon.c: New file, incorporated from BSD 4.4-Lite. -Tue Jun 4 02:25:44 1996 Roland McGrath + * sysdeps/mach/hurd/__setsid.c: Call _hurd_setcttyid with + MACH_PORT_NULL after proc_setsid. - * stdio-common/vfprintf.c [USE_IN_LIBIO] (size_t): Don't define as - macro. _IO_size_t is just an alias for the real size_t anyway. + * hurd/hurdioctl.c (_hurd_setcttyid): Don't do mod_refs if port is + null. - * elf/Makefile (libdl-routines): Add dladdr. - * elf/dladdr.c: New file. - * elf/dlfcn.h (Dl_info): New typedef. - (dladdr): Declare it. + Always use fds' `port' cell for the generic port. + For ctty fds, use the `ctty' cell for the ctty-special port. + * hurd/dtable.c (get_dtable_port): Use port, never ctty. + (fork_child_dtable): Reset D->ctty instead of D->port. + (ctty_new_pgrp): Likewise. + * sysdeps/mach/hurd/__ioctl.c: Use ctty port for RPC if set and + !NOCTTY. + * hurd/port2fd.c (_hurd_port2fd): Install normal port in D->port + cell, and ctty-special port in the D->ctty cell, not the reverse. + * hurd/hurdioctl.c (tiocsctty): Don't assume MACH_PORT_NULL is + zero. + * hurd/hurdexec.c (_hurd_exec): Always pass fds' normal port, + never its ctty port. + * hurd/fd-write.c (_hurd_fd_write): Use ctty port for RPC if set + and !NOCTTY. + * hurd/fd-read.c (_hurd_fd_read): Use ctty port for RPC if set. - * sysdeps/libm-i387/s_finite.S: Use `setne' instead of `setnel'. +Thu Sep 29 18:28:01 1994 Roland McGrath - * intl/l10nflist.c: Fix conditional on #include . + * mach/mig_syms.c (mig_put_reply_port): Add symbol alias to __ + name. - * libio/stdio.h (FOPEN_MAX, FILENAME_MAX, TMP_MAX, L_tmpnam): Macros - removed. Instead, include . +Thu Sep 29 12:23:07 1994 Brendan Kehoe (brendan@zen.org) - * libio/_G_config.h: New file. - * libio/Makefile (headers): Add _G_config.h. + * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h (ENTRY): Use + poundfnc instead of \#function, to satisfy gcc-2.6.0 and higher. + (cat, poundfnc): Define macros to pull it off. - * MakeTAGS (po/errlist.pot): Extract from sysdeps/gnu/errlist.c. + * sysdeps/unix/sysv/sysd-stdio.c: Include + sysdeps/generic/sysd-stdio.h, + not looking in sysdeps/posix. - * sysdeps/unix/sysv/linux/gnu/types.h (__KERNEL_STRICT_NAMES): Define - this macro too; current Linux kernels test that instead of - _LINUX_TYPES_DONT_EXPORT. +Thu Sep 29 05:38:14 1994 Roland McGrath - * elf/linux-compat.c (_init): Pass reloc_addr arg to _dl_lookup_symbol. + * sysdeps/unix/common/configure.in (ctype check): In test prog, + just reference $ctype; we don't care what type it is. - * elf/dl-lookup.c (_dl_lookup_symbol): Use l_searchlist. + * sysdeps/unix/bsd/bsd4.4/direct.h: New file. + (HAVE_D_TYPE): Define this macro. + * dirent/dirent.h (struct dirent): New member `d_type'; shorten + `d_namlen' to a byte. + * sysdeps/unix/bsd/readdir.c [! HAVE_D_TYPE]: Shuffle d_namlen and + clear d_type. - * elf/dl-deps.c: New file. - * elf/Makefile (rtld-routines): Add dl-deps. - * elf/link.h: Declare _dl_map_object_deps, _dl_open. - * elf/rtld.c (dl_main): Use _dl_map_object_deps. - * elf/dlopen.c: Use _dl_open. +Wed Sep 28 17:23:26 1994 Roland McGrath - * elf/rtld.c (dl_main): Remove BEFORE_RTLD variable and list - frobnication based on its value. Detach RTLD_MAP from the chain if - its l_opencount is zero after loading deps. + * posix/sys/utsname.h [__USE_SVID] (SYS_NMLN): New macro. - * elf/dlfcn.h (RTLD_BINDING_MASK): New macro. + * dirent/scandir.c: Free storage on error from readdir. - * elf/link.h (struct link_map): Replace l_deps_loaded flag member with - `struct link_map **l_searchlist' and `unsigned int l_nsearchlist'. - * elf/dl-lookup.c (_dl_lookup_symbol): Make SYMBOL_SCOPE arg an array - of two link_map ptrs. Search the maps in the l_searchlist of each - elt that is not null. - * elf/dl-reloc.c (_dl_relocate_object): Pass proper SCOPE array. - * elf/dl-runtime.c: Likewise. - * elf/dlsym.c: Likewise. - * elf/rtld.c (dl_main): Likewise. +Mon Sep 26 00:55:34 1994 Roland McGrath - * elf/dl-minimal.c (realloc): Support realloc of the block most - recently returned by the minimal malloc. + * Version 1.08.9. -Tue Jun 4 00:16:03 1996 Roland McGrath + * MakeTAGS (all-dist): Prepend the appropriate sysdep dir names. - * sysdeps/gnu/errlist.awk: Produce N_("..."), not _N("..."). + * hurd/hurdsig.c (_hurd_internal_post_signal: sigwakeup): Create a + send right. - * intl: Updated from gettext-0.10.13. - * intl/localealias.c, intl/dcgettext.c [_LIBC]: Define HAVE_ALLOCA. +Sat Sep 24 13:44:51 1994 Jim Meyering (meyering@comco.com) - * signal/siggetmask.c: New file. Wrapper around sigblock with - link_warning about obsolescence. - * signal/Makefile (routines): Add siggetmask. + * sysdeps/generic/memcmp.c [CMP_LT_OR_GT]: New macro. + (memcmp): Use it in place of each of ten 5-line #ifdef blocks. - * sysdeps/gnu/errlist.awk: New file, adapted from ... - * sysdeps/mach/hurd/errlist.awk: File removed, above file replaces it. - * sysdeps/mach/hurd/Makefile (errlist.c): Target removed. - * sysdeps/gnu/Makefile: New file. - (sysdeps/gnu/errlist.c): Make the errlist.c generation rule into this. +Fri Sep 23 16:55:54 1994 Roland McGrath -Mon Jun 3 21:03:54 1996 Roland McGrath + * sysdeps/mach/hurd/sigsuspend.c: Include . - * manual/errno.texi (Error Codes): Add placeholder items for missing - Linux/i386 errno codes, with perror text but no documentation. - Some existing perror texts changed. + * sysdeps/mach/hurd/sigsuspend.c: Add missing & in __mach_msg + call. - * malloc/mcheck.c (freehook, reallochook): Handle null pointer args. +Thu Sep 15 14:22:56 1994 Roland McGrath - * hurd/hurdsig.c (_hurd_internal_post_signal): When setting ACT to - `ignore, resume the thread if SS_SUSPENDED, regardless of old action. + * sysdeps/standalone/i386/force_cpu386/Dist: New file. + * sysdeps/standalone/m68k/m68020/mvme136/Dist: New file. + * sysdeps/standalone/i960/Dist: New file. + * sysdeps/standalone/m68k/m68020/Dist: New file. + * sysdeps/standalone/i386/force_cpu386/force_cpu386.ld: New file. + * sysdeps/standalone/m68k/m68020/mvme136/mvme136.ld: New file. + * sysdeps/standalone/i960/i960ca.h: New file. + * sysdeps/standalone/m68k/m68020/m68020.h: New file. -Sun Jun 2 20:14:30 1996 Andreas Schwab + * sysdeps/unix/common/configure.in: Use AC_COMPILE_CHECK instead + of AC_HAVE_FUNCS. - * locale/programs/linereader.c (lr_open): Don't pass NULL to - xstrdup; fix memory leak. - (lr_close): Fix memory leak. + * sysdeps/generic/make_siglist.c (sys_siglist): Define as macro to + my_siglist. -Mon Jun 3 15:58:22 1996 Michael I. Bushnell, p/BSG + * sysdeps/mach/i386/thread_state.h: Include from mach/machine, not + mach/i386. + * sysdeps/mach/hurd/i386/sigcontext.h: Likewise. - * hurd/hurdsig.c (_hurd_internal_post_signal): When turning the action - for a HANDLE signal to IGNORE because the signal is blocked, clean - up any pending suspension left over from a call to resume. + * mach/mach/mig_support.h (__mig_put_reply_port): Declare. + (__mig_dealloc_reply_port): Take arg. + * sysdeps/mach/hurd/mig-reply.c (__mig_put_reply_port): New + function. + (__mig_dealloc_reply_port): Take arg, ignore it. -Mon Jun 3 00:30:35 1996 Roland McGrath +Wed Sep 14 18:16:07 1994 Roland McGrath - * elf/dl-lookup.c (_dl_lookup_symbol): Take new arg RELOC_ADDR and - don't allow a defn resolving to that address. + * sysdeps/mach/hurd/Makefile (libc-name): Set to crt. + [!subdir]: Install libc-ldscript as libc.a. + * sysdeps/mach/hurd/Dist: Add libc-ldscript. - * elf/link.h: Update prototype and comment. - * elf/dl-runtime.c (fixup): Define local `resolve' function and pass - it to elf_machine_relplt. - * elf/dl-reloc.c (_dl_relocate_object: resolve): Take new arg - RELOC_ADDR and pass it through to _dl_lookup_symbol. - * elf/do-rel.h (elf_dynamic_do_rel): Pass RESOLVE to elf_machine_rel - instead of calling it ourselves and passing its results. - (elf_dynamic_do_rel): RESOLVE fn takes new arg RELOC_ADDR. - * elf/rtld.c (dl_main): Pass 0 for RELOC_ADDR to _dl_lookup_symbol. - * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove SYM_LOADADDR - arg. Add RESOLVE function ptr arg. Call *RESOLVE as necessary. - * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise. - * sysdeps/stub/dl-machine.h: Likewise. +Tue Sep 13 19:57:09 1994 Roland McGrath -Sun Jun 2 14:56:49 1996 Roland McGrath + * sysdeps/mach/hurd/sync.c: Don't be synchronous: pass WAIT=0 to + file_syncfs. - * csu/initfini.c (_fini): Add extern decl for i_am_not_a_leaf. + * Makerules (libc-name): New variable. + (install, libc installation rule): Use $(libc-name) in place of `c'. - * elf/dlfcn.h (dl_open_mode): Enumerated type removed. - (RTLD_LAZY, RTLD_NOW): Define these as macros instead. - (RTLD_GLOBAL): New macro. - (dlopen): Take arg of type int instead of dl_open_mode. - * elf/dlopen.c: Likewise. +Sun Sep 11 23:28:20 1994 Roland McGrath - * math/math.h (_Mldbl): New macro, either produces L suffix or not. - (M_*): Use it for these constants. + * sysdeps/mach/hurd/__readlink.c: Only decrement LEN to remove the + null terminator when LEN is already large enough to include it. - * elf/dl-lookup.c (_dl_lookup_symbol): Arg NOSELF renamed to NOPLT. - Reject SHN_UNDEF defns iff NOPLT is nonzero. - * elf/link.h (_dl_lookup_symbol): Update prototype and comment. - * elf/dl-runtime.c (fixup): Pass 1 to _dl_lookup_symbol for NOPLT. - * elf/dlsym.c (dlsym): Pass 0. - * elf/rtld.c (dl_main): Likewise. - * elf/dl-reloc.c (_dl_relocate_object: resolve): Second arg R_OFFSET - replaced with NOPLT flag. Pass it through to _dl_lookup_symbol. - * elf/do-rel.h (elf_dynamic_do_rel): Update prototype of RESOLVE arg. - Pass `elf_machine_pltrel_p (R->r_type)' result as NOPLT flag value. - * sysdeps/i386/dl-machine.h (elf_machine_pltrel_p): New macro. - * sysdeps/m68k/dl-machine.h (elf_machine_pltrel_p): Likewise. - * sysdeps/stub/dl-machine.h (elf_machine_pltrel_p): Likewise. + * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Add break + after FS_RETRY_MAGICAL case. - * login/pututline_r.c: Fix typo in sizeof for DATA_TMP alloca. +Fri Sep 9 04:03:59 1994 Roland McGrath - * sysdeps/generic/gnu/types.h (__clock_t): New type. + * stdio/vfprintf.c: Grok q modifier like ll. -Wed May 29 00:57:37 1996 David Mosberger-Tang + * Make-dist (sysdep-Subdir-files, subdirs): Set these early on, + before doing distinfo. + [parent] (+distinfo): Set inhibit_interface_rules=t in sub-make. - * sysdeps/unix/sysv/linux/gnu/types.h (__clock_t, __fsid_t): Define - using kernel types. - * time/time.h (clock_t): Include and define using - __clock_t. +Thu Sep 8 17:18:14 1994 Roland McGrath - * time/Makefile (tests): Add test-tz. + * sysdeps/generic/morecore.c (__default_morecore) [! __STDC__]: + Declare arg as `int' instead of `ptrdiff_t'. - * time/test-tz.c: New test. +Tue Sep 6 19:06:00 1994 Roland McGrath - * time/clocktest.c: Rewrite to test more meaningfully. + * posix/glob.c (prefix_array, glob): Avoid const on initialized + variables. Some compiler generates bad code. - * sysdeps/unix/sysv/linux/syscalls.list: Add bdflush, - create_module, delete_module, get_kernel_syms, init_module, - klogctl. +Mon Sep 5 13:24:26 1994 Roland McGrath - * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Define as 5 - instead of SYMLOOP_MAX, which is nowhere to be found. + * malloc/Makefile (malloc/%: ../sysdeps/generic/%): New rule, to get + morecore.c. - * sysdeps/unix/sysv/linux/sys/msq_buf.h, - sysdeps/unix/sysv/linux/sys/sem_buf.h, - sysdeps/unix/sysv/linux/sys/shm_buf.h [__USE_MISC]: Add more - control ops and datastructures. + * malloc/malloc.h (size_t, ptrdiff_t): Never define these as macros. + (__malloc_size_t): Define this instead. + Change all uses of size_t to __malloc_size_t. + * malloc/valloc.c: Replace all uses of size_t with __malloc_size_t. + * malloc/memalign.c: Likewise. + * malloc/mcheck.c: Likewise. + * malloc/mtrace.c: Likewise. + * malloc/malloc.c: Likewise. + * malloc/free.c: Likewise. + * malloc/realloc.c: Likewise. + * malloc/calloc.c: Likewise. - * sysdeps/unix/sysv/linux/sys/io.h: New file declaring low-level - I/O related functions. + * MakeTAGS (TAGS): Define first so as to be default goal. + (sysdep_dirs): Set this by running find, if it is not already set. + (all-dirs): Include that value. + (all-dist): Filter output of cat, not args to it. + * Makerules (TAGS): Depend on distinfo, not distfile. - * sysdeps/unix/sysv/linux/sys/kdaemon.h: New file declaring kernel - daemon related functions/operations. + * resolv/getnetnamadr.c (getnetbyname): Arg is always const, + regardless of [sun]. - * sysdeps/unix/sysv/linux/sys/klog.h: New file declaring kernel - logging related functions/operations. +Sun Sep 4 00:04:55 1994 Roland McGrath - * sysdeps/unix/sysv/linux/sys/module.h: New file declaring kernel - module related functions/operations. + * Version 1.08.8. - * sysdeps/unix/sysv/linux/speed.c: Only do "mention this twice" hack - for non-Alpha based Linux systems. + * Makerules (distinfo-vars): Double $s in final emitted sources defn. - * sysdeps/unix/sysv/linux/alpha/speed.c: Remove. + * inet/Makefile (headers): Add netdb.h. + * resolv/Makefile (headers): Remove netdb.h. + * resolv/netdb.h: Moved to inet. + * inet/netdb.h: Incorporated from BSD 4.4-Lite. + Add back h_errno declaration. - * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/module.h, - sys/io.h, sys/klog.h, and sys/kdaemon.h. + * hurd/Makefile (faultexc.c): Change this to a pattern rule to + build both faultexc.[ch]. + (hurdfault.o): Depend on faultexc.h and faultexc.c to get them built. - * sysdeps/unix/sysdep.h (END): Define empty END macro for - platforms that don't need some sort of end directive at the - end of functions. + * sysdeps/mach/hurd/i386/trampoline.c + (_hurdsig_rcv_interrupted_p): Make PC volatile. + (_hurd_setup_sighandler): Cast SS->context to int before comparing to + _hurdsig_fault_sigcode. - * sysdeps/unix/make-syscalls.sh: Emit END($strong) at end of - syscall wrapper to allow correct generation of debugging - information. + * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_SET_{SP,PC}): + Cast args to unsigned long int. - * sysdeps/unix/alpha/sysdep.h (END): Redefine to use .end - directive for both ELF and ECOFF. - (ret): Delete macro. It was a dangerous macro and unnecessary - since the Alpha assemblers recognizes "ret" as a macro themselves. + * sysdeps/mach/hurd/i386/trampoline.c: Use _hurdsig_catch_fault. - * sysdeps/gnu/utmpbits.h (struct utmp): Move ut_tv behind - ut_session to guarantee long alignment. This is important for - Linux/Alpha since ut_tv.tv_sec is 32 bits and time_t is 64 bits. - This will all get cleaned up as programs start to use ut_tv - instead ut_time. + * Make-dist (subdirs): Use sed to remove comments from Subdirs files. + * MakeTAGS (subdirs): Likewise. - * sysdeps/alpha/divrem.h: Include instead of <*/regdef.h>. + * sysdeps/mach/i386/thread_state.h: Include + first thing. - * sysdeps/alpha/bsd-_setjmp.S (setjmp): Renamed entry point to - _setjmp. + * hurd/Makefile (sig): Add faultexc. + ($(objpfx)faultexc.c): New target. + (generated): Append faultexc.c. - * sysdeps/alpha/_mcount.S, sysdeps/alpha/bb_init_func.S, - sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/bsd-setjmp.S, - sysdeps/alpha/copysign.S, sysdeps/alpha/divrem.h, - sysdeps/alpha/fabs.S, sysdeps/alpha/ffs.S, sysdeps/alpha/htonl.S, - sysdeps/alpha/htons.S, sysdeps/alpha/memchr.S, - sysdeps/alpha/setjmp.S, sysdeps/alpha/strlen.S, - sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S, - sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S, - sysdeps/unix/sysv/linux/alpha/llseek.S, - sysdeps/unix/sysv/linux/alpha/pipe.S, - sysdeps/unix/sysv/linux/alpha/sigsuspend.S, - sysdeps/unix/sysv/linux/alpha/sysdep.S: Use END macro instead of - .end directive. + * hurd/Makefile (sig): Add hurdfault; remove init-fault. + (distribute): Add hurdfault.h. + * hurd/hurdfault.h: New file. + * hurd/hurdfault.c: New file. + * hurd/hurdsig.c (interrupted_reply_port_location): Use + _hurdsig_catch_fault and _hurdsig_end_catch_fault. + (_hurdsig_getenv): Likewise. + * sysdeps/mach/hurd/i386/trampoline.c: Likewise. - * csu/initfini.c (_fini): Tell gcc that _fini is not a leaf - function by having it contain a dummy function call. + * hurd/catch-exc.c: Return EPERM if TASK is not right. - * configure.in (config_machine): Don't make ELF the default for - Linux/Alpha just yet (use --with-elf instead). - (.init/.fini check): Generate .text to ensure function start and - end are in same section. + * hurd/hurdsig.c (_hurd_sigthread_fault_env): Variable moved to + hurdfault.c. + (_hurdsig_fault_init): Function moved to hurdfault.c. - * sysdeps/unix/bsd/osf/alpha/brk.S, - sysdeps/unix/sysv/linux/alpha/brk.S (__curbrk): Store the entire - break value, not just the low 32 bits to accomodate large - memories. +Sat Sep 3 12:22:53 1994 Roland McGrath -Tue May 28 10:46:04 1996 Richard Henderson + * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_SET_PC, + MACHINE_THREAD_STATE_SET_SP): New macros. + * mach/setup-thread.c: Use MACHINE_THREAD_STATE_SET_PC. + * sysdeps/mach/hurd/__fork.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/brk.S: Rather than attempt to - dynamically resolve _end for initializing __curbrk, support the - brk(0) query idiom. + * string/test-ffs.c (main: try): Actually call ffs in the test. - * sysdeps/alpha/bb_init_func.S: Don't make `init' an external symbol. +Fri Sep 2 21:20:17 1994 Roland McGrath - * sysdeps/alpha/bsd-_setjmp.S: The function is _setjmp not setjmp. + * sysdeps/mach/hurd/mips/__sigret.c: Restore FPU state. Code from + kkojima. -Sun May 26 22:17:38 1996 Richard Henderson + * sysdeps/mach/hurd/__mknod.c: Fixed copying of the translator + name into buffer with major and minor numbers, and setting of LEN. - * stdlib/lcong48_r.c, stdlib/seed48_r.c, stdlib/strtod.c, - stdlib/strtol.c: Include for mem* and str* fns used. + * sysdeps/unix/configure (unix_syscall): In sed cmd, do = first to + avoid clobbering produced assignments. -Thu May 23 02:15:56 1996 David Mosberger-Tang +Thu Sep 1 03:25:17 1994 Roland McGrath - * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/io.h, - sys/klog.h, and sys/kdaemon.h. + * Version 1.08.7. - * sysdeps/unix/sysv/linux/sys/io.h: New file. - * sysdeps/unix/sysv/linux/sys/klog.h: Ditto. - * sysdeps/unix/sysv/linux/sys/kdaemon.h: Ditto. + * sysdeps/mach/hurd/connect.c (connect): Fix accidental renaming + of sun_path to sun_file_name. - * sysdeps/unix/alpha/sysdep.h (ret): Remove macro. It is - dangerous and unnecessary since both OSF/1 as and gas define "ret" - as a pseudo-instruction. + * bare/Makefile (routines, elided-routines): Set these both to + $(bare-routines). + (distribute): Don't set this. -Sat Jun 1 17:18:21 1996 Roland McGrath + * Makerules (distinfo-vars): Fix cmd to echo `sources' defn. - * time/tzset.c (__tzset): Clear tz_rules name pointers after freeing - them. Bug found by David Mosberger-Tang. + * sysdeps/unix/configure: Handle dirs other than common. Check + for [gs]etdomainname. + * misc/Makefile (routines): Add getdomain, setdomain. + * sysdeps/unix/bsd/bsd4.4/setdomain.S: New file. + * sysdeps/unix/bsd/bsd4.4/getdomain.S: New file. + * sysdeps/stub/setdomain.c: New file. + * sysdeps/stub/getdomain.c: New file. - * sysdeps/posix/tempname.c (__stdio_gen_tempname): Use __ptr_t instead - of PTR. +Wed Aug 31 01:15:26 1994 Roland McGrath - * extra-lib.mk (extra-objs): Use patsubst intead of $(A:=B) syntax - to work around Make bug when A contains var ref. + * hurd/hurdsig.c (_hurd_internal_post_signal: sigwakeup): Take no + args; use parent SS variable. Changed all calls. -Fri May 31 18:27:52 1996 Roland McGrath + * hurd/hurd/signal.h (struct hurd_sigstate): Make `suspended' a + port; remove `arrived'. + * sysdeps/mach/hurd/sigsuspend.c (sigsuspend): Rewritten to set + SS->suspended port and wait for msg on it. Check for and deliver + pending signals properly. + * hurd/hurdsig.c (_hurd_internal_post_signal: sigwakeup): If + SS->suspended is set, send an empty message on it and clear it. - * string/string.h [__USE_MISC]: Declare basename; OSF/1 puts it here. + * math/test-math.c (print_trig_stuff): New function, tests many + math functions. + (main): Call it at end. - * sysdeps/unix/sysv/linux/syscalls.list (getpgid, setpgid): Define __ - strong names and [gs]etpgid as weak aliases. + * string/Makefile (tests): Added test-ffs. + * string/test-ffs.c: New file. -Thu May 30 11:24:05 1996 Roland McGrath +Tue Aug 30 20:33:49 1994 Roland McGrath - * math/math_private.h (GET_LDOUBLE_EXP): Add missing backslash. + * misc/fstab.c (error): Return void. + (fstabscan): Return int. - * po/header.pot: Replace with exact boilerplate pinard dictates. + * sysdeps/i386/ffs.c: Use & modifier in constraint for CNT. - * sysdeps/i386/strtok.S (Lillegal_argument): Remove this code to set - errno and the check that jumped to it. + * misc/fstab.c (EFTYPE): If not defined by errno.h, define this to + EINVAL. + (fstabscan): Return void. - * sysdeps/mach/hurd/Makefile (errnos.d): Use $(sed-remove-objpfx). +Tue Aug 30 11:00:01 1994 Michael I Bushnell -Thu May 30 03:21:57 1996 Ulrich Drepper - - * FAQ: Document need of gperf program for developers. - - * elf/elf.h: Fix typos in comments. - - * libio/stdio.h [!__STRICT_ANSI__ || _POSIX_SOURCE]: Add - prototypes for `ctermid' and `cuserid'. - - * locale/programs/locale.c: Switch to user selected locale - before printing variables. - - * math/Makefile [$(long-double-fcts)==yes]: Define long-m-routines - and long-c-routines. Only if the `long double' data type is - available we need to compile the functions. - (libm-routines): Add $(long-m-routines). - (routines): Remove isinfl, isnanl. Use new file s_isinfl and - s_isnanl instead if `long double' is available. - - * math/math.h: Include again to define `long double' - functions. - - * math/math_private.h: Define data types, prototypes and access - macros for `long double'. - - * stdlib/stdlib.h: Add prototypes for `strtoll' and `strtoull'. - [GCC2 && OPTIMIZE]: Define strto{,u}ll as inline function which - calls __strto{,u}q_internal. - - * stdlib/strfmon.c: Replace PTR by `void *'. - - * stdlib/strtoq.c: Define strtoll as weak alias. - * stdlib/strtouq.c: Define strtoull as weak alias. - - * string/tester.c: Correct `strsep' test. - - * sysdeps/generic/strsep.c: Make compatible with BSD version. - Trailing characters of skip set are not skipped. In this case - empty tokens are returned. - - * sysdeps/i386/isinfl.c, sysdeps/i386/isnanl.c, - sysdeps/ieee754/isinf.c, sysdeps/ieee754/isinfl.c, - sysdeps/ieee754/isnan.c, sysdeps/ieee754/isnanl.c: Removed. We - now use the versions part of libm. - - * sysdeps/i386/strsep.S: Removed. Generic C version is of - similar speed. - * sysdeps/i386/strtok.S: Remove support for `strsep'. - - * sysdeps/libm-i387/e_acosl.S, sysdeps/libm-i387/s_ceill.S, - sysdeps/libm-i387/s_copysignl.S, sysdeps/libm-i387/s_finitel.S, - sysdeps/libm-i387/s_floorl.S, sysdeps/libm-i387/s_isinfl.c, - sysdeps/libm-i387/s_isnanl.c, sysdeps/libm-i387/s_nextafterl.c, - sysdeps/libm-i387/s_rintl.S, sysdeps/libm-i387/s_significandl.S: - New i387 specific math functions implementing `long double' - versions. - - * sysdeps/libm-ieee754/s_ceill.c, - sysdeps/libm-ieee754/s_copysignl.c, - sysdeps/libm-ieee754/s_fabsl.c, sysdeps/libm-ieee754/s_finitel.c, - sysdeps/libm-ieee754/s_floorl.c, sysdeps/libm-ieee754/s_isinfl.c, - sysdeps/libm-ieee754/s_isnanl.c, - sysdeps/libm-ieee754/s_nextafterl.c, - sysdeps/libm-ieee754/s_rintl.c, sysdeps/libm-ieee754/s_scalbnl.c, - sysdeps/libm-ieee754/s_significandl.c: New generic `long double' - versions of libm functions. - - * sysdeps/libm-i387/e_exp.S: Add a few comments to explain the - Intel FPU nonsense. - - * sysdeps/libm-i387/s_ceil.S, sysdeps/libm-i387/s_ceilf.S, - sysdeps/libm-i387/s_floor.S, sysdeps/libm-i387/s_floorf.S: Correct - handling of local variables. The old version created a stack - frame but stored the values outside. - - * sysdeps/libm-ieee754/s_isinf.c, sysdeps/libm-ieee754/s_isnan.c - [!NO_LONG_DOUBLE]: Define alias with `long double' versions name. - -Wed May 29 12:53:10 1996 Roland McGrath - - * login/pututline_r.c: Include sys/stat.h. Fix typos. - - * version.h (VERSION): Set to 1.90. - - * Makerules (distinfo-vars): Write extra-libs and *-routines for each - of its elts. - * MakeTAGS (sources): Add those sources. - - * MakeTAGS (all-sources): Add $(others:=.c) and $(tests:=.c). - -Wed May 29 08:53:08 1996 Miles Bader - - * hurd/report-wait.c (_S_msg_report_wait): Return `itimer' for the - itimer thread. - - * hurd/hurdinit.c (_hurd_init): Set _HURDSIG_TRACED before calling - _hurd_proc_init. - -Wed May 29 00:52:20 1996 Roland McGrath - - * string/tester.c (main): Fix strsep tests 6, 7, 20 to expect null - token instead of it being implicitly skipped. - - * sysdeps/i386/fpu/__math.h (logb): Correct contraint from =u to =t. - Must operate on top of fp reg stack, not second from top. - - * extra-lib.mk (alltypes-$(lib)): Don't append $(objpfx)$(lib).so. - (others): Instead, make this depend on it. - -Tue May 28 04:38:10 1996 Ulrich Drepper - - * limits.h: Change MB_LEN_MAX to 6. A 31-bit ISO 10646 - character in UTF-8 encoding has that many bytes. - - * locale/langinfo.h: New element _NL_CTYPE_MB_CUR_MAX. - * locale/categories.def: Add description of field _NL_CTYPE_MB_CUR_MAX. - * locale/Makefile (routines): Add mb_cur_max. - * locale/mb_cur_max.c: New file. This function gets called - when the macro MB_CUR_MAX is used. - * locale/C-ctype.c: Initialize new mb_cur_max field. - * locale/localeinfo.h: Change magic value because of incompatible - change. - * locale/programs/ld-ctype.c: Determine value of mb_cur_max - according to current character set and write it out with the rest. - * stdlib/stdlib.h (MB_CUR_MAX): Not constant anymore. Get value - according to currently used locale for category LC_CTYPE by - calling the function __ctype_get_mb_cur_max. - -Tue May 28 03:27:46 1996 Ulrich Drepper - - * FAQ: Fix some typos. - Tell that for Linux the kernel header files are necessary. - - * PROJECTS: New file. List of open jobs for glibc. - * Makefile (distribute): Add PROJECTS. - - * crypt/GNUmakefile (headers): New variable. Mention crypt.h. - * crypt/crypt.h: Header for crypt functions. - - * elf/elf.h: Add some new constants from recent Cygnus ELF - header files. - - * login/getutid_r.c: Test for correct type. - Don't depend on ut_type and ut_id unless _HAVE_UT_TYPE and - _HAVE_UT_ID resp. are defined. - Make really compliant with specification. - - * login/getutline_r.c, login/pututline_r.c: Don't depend on - ut_type and ut_id unless _HAVE_UT_TYPE and _HAVE_UT_ID resp. are - defined. - Make really compliant with specification. - - * login/setutent_r.c: Don't depend on ut_type and ut_id unless - _HAVE_UT_TYPE and _HAVE_UT_ID resp. are defined. - - * login/login.c, login/logout.c, login/logwtmp.c: Complete - rewrite. Now based on getut*/setut* functions. - - * stdlib/strtol.c: Undo changes of Wed May 22 01:48:54 1996. - This prevented using this file in other GNU packages. - - * sysdeps/gnu/utmpbits.h: Define _HAVE_UT_TYPE, _HAVE_UT_ID, - and _HAVE_UT_TV because struct utmp has these members. - - * sysdeps/libm-i387/e_exp.S: Correct exp(+-Inf) case. - - * utmp.h: New file. Wrapper around login/utmp.h. - -Tue May 28 13:11:19 1996 Roland McGrath - - * elf/dl-error.c (struct catch): New type. - (catch): New static variable, struct catch *. - (catch_env, signalled_errstring, signalled_objname): Variables removed. - (_dl_signal_error): If CATCH is non-null, set its errstring and - objname members and jump to CATCH->env. If it is null, call - _dl_sysdep_fatal with a standard message. - * elf/rtld.c (dl_main): Explode `doit' function into dl_main's body. - No longer use _dl_catch_error. - - * Makerules (sed-remove-objpfx): Avoid extra space in regexp due to - continuation line. - - * sysdeps/unix/sysv/linux/i386/socket.S: Fix off-by-one error in - setting %ecx to 2nd syscall arg: we have pushed nothing, so function - args are found at 4(%esp), not 8(%esp). - -Mon May 27 10:10:00 1996 Roland McGrath - - * Makefile ($(includedir)/stubs.h): Add missing backslash. - - * sysdeps/unix/sysv/linux/i386/brk.c (__curbrk): Initialize it so it - can be aliased. - - * sysdeps/unix/sysv/linux/Makefile [$(subdir)=termios] (headers): - Append termio.h. - - * Makefile ($(includedir)/stubs.h): Print a msg if we do nothing. - - * misc/sgtty.h: Add forward decl of struct sgttyb in case it is never - defined. - - * sysdeps/unix/sysv/linux/termio.h: New file. - * sysdeps/unix/sysv/linux/Dist: Add it. - - * sysdeps/unix/sysv/linux/ioctl-types.h: New file, wrapper around - kernel header . - - * misc/Makefile (headers): Add ioctl-types.h. - * sysdeps/generic/ioctl-types.h: New file. - * misc/sys/ioctl.h: Include . - (struct tchars, struct ltchars, struct sgttyb, struct winsize, - struct ttysize): Types moved there. - - * Makefile ($(includedir)/stubs.h): Don't touch target if new one is - identical. - - * time/Makefile (z.% rule): Generate generic zone%/ rule after - zone%/right/ and zone%/posix/ rules so they match first. - -Sun May 26 15:15:08 1996 Roland McGrath - - * features.h [_GNU_SOURCE] (_BSD_SOURCE, _SVID_SOURCE, - _POSIX_SOURCE, _POSIX_C_SOURCE): Define these. - - * time/Makefile (tzcompile): Add missing backslash. - - * stdlib/ldiv.c: Deansideclized. - - * wctype/wctype.h (__need_wint_t): Define this and include stddef.h. - [! _WINT_T] (wint_t): Conditionalize typedef on this in case pre-2.7.3 - stddef.h doesn't define it. - * wcsmbs/wchar.h: Likewise. - * stdlib/strtod.c: Likewise. - - * wcsmbs/wcstok.c: Fix argument name typo. - -Sun May 26 19:39:53 1996 Ulrich Drepper - - * intl/loadmsgcat.c (_nl_load_domain): Test correct variable - after malloc. - - * string/Makefile (tester-ENV): New variable to suppress message - translation in test. - - * string/tester.c: Add tests for strtok_r and strsep. - - * sysdeps/i386/i486/strcat.S: Correct some more 8bit operation - <-> 32 bit operand conflicts. - - * sysdeps/i386/strsep.S: Wrapper around - to produce strsep function. - * sysdeps/i386/strtok.S: Optimized implementation of strtok - function. - * sysdeps/i386/strtok_r.S: Wrapper around - to produce strtok_r function. - - * sysdeps/generic/strtok.c: Moved here from string/strtok.c. - Corrected example in comment. - - * string/Makefile (routines): Add strtok_r. - * sysdeps/generic/strtok_r.c: New file. Implement reentrant version - of strtok_r. - * string/string.h: Add prototype for strtok_r. - * wcsmbs/wcstok.c: Handle illegal SAVE_PTR argument the same - as in strtok_r. - -Sun May 26 13:28:23 1996 Roland McGrath - - * time/tzset.c (__tzset): Ignore leading : in $TZ; always try tzfile - first and fall back to 1003.1 syntax only if it fails. - - * time/Makefile (install-others): Also install posix/ZONE and - right/ZONE for each ZONE in $(zonenames). - (z.% rule): Generate rules for right/ZONE and posix/ZONE targets too, - the difference begin leapseconds vs /dev/null as 3rd dep. For - original ZONE targets use $(leapseconds), to be set in Makeconfig. - (target-zone-flavor): New variable. - (tzcompile): Use it to get the right -d for posix/ and right/ flavors. - * Makeconfig (leapseconds): New variable. - - * mach/Machrules (%.udeps rule): Depend on Machrules. - Emit deps for .uh and .__h files. - (%.uh, %.__h rules): Don't depend on %.defs; use #include <$*.defs> - instead. - -Sun May 26 01:06:47 1996 Ulrich Drepper - - * stdlib/Makefile (routines): Add llabs, lldiv. - * stdlib/llabs.c: New file. Implementation of return - absolute value of long long argument. - * stdlib/lldiv.c: New file. Implementation of division with remainder - of long long argument. - * stdlib/stdlib.h [__USE_GNU] (lldiv_t): New type for lldiv - function. - Define prototypes for lldiv and llabs functions. - - * locale/C-collate.c: Initialize _NL_COLLATE_NRULES element. - - * stdlib/strtod.c: Replace wchar_t with wint_t. The later is - really the type for a single wide character. - - * string/strxfrm.c (print_val): Define separate version for - use as wcsxfrm. Here we don't need UTF8 encoding. - - * wcsmbs/wchar.h: gcc-2.7.2-960517 finally introduces wint_t - in . Use this value and only for older gcc version - define in place. - (uwchar_t): Remove definition. - - * wcsmbs/wcscmp.c, wcsmbs/wcscoll.c, wcsmbs/wcsncmp.c, - wcsmbs/wcsxfrm.c, wcsmbs/wmemcmp.c: : Don't use uwchar_t as unsigned - type. wint_t is intended for this. - -Sat May 25 14:10:19 1996 Roland McGrath - - * sysdeps/unix/bsd/direntry.h: Use [1] instead of [0] for d_name to - quiet -ansi -pedantic. - * sysdeps/unix/common/direntry.h: Likewise. - - * login/Makefile (headers): Add lastlog.h. - * login/lastlog.h: New file. - - * login/Makefile (CFLAGS): Don't append -D_THREAD_SAFE. - * login/utmp.h [_REENTRANT || _THREAD_SAFE]: Replace this conditional - with #ifdef __USE_REENTRANT. - - * features.h (__GNU_LIBRARY__): Set to 6. - [_GNU_SOURCE] (_POSIX_SOURCE, _POSIX_C_SOURCE, _BSD_SOURCE, - _SVID_SOURCE): Make sure they are all defined. - - * sysdeps/unix/sysv/linux/gnu/types.h: Instead of including - , define _LINUX_TYPES_DONT_EXPORT and then - include . - - * resource/sys/resource.h: Remove trailing commas from enums. - -Fri May 24 17:30:50 1996 Roland McGrath - - * sysdeps/generic/netinet/in.h: Remove trailing commas from enums. - * sysdeps/unix/sysv/linux/netinet/in.h: Likewise. - - * login/getutline_r.c: Include string.h. - - * Rules (static-only-routines): Restore the rule to make these .so's - empty objects. - - * login/pututline_r.c: Use struct assignment instead of memcpy. - - * login/getutline_r.c: Use strncmp instead of comparing two pointers - that will only be equal if you are overwriting the data and screwing - yourself anyway. - -Fri May 24 02:31:36 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/speed.c: Add new speed value 460800. - -Thu May 23 23:09:33 1996 Ulrich Drepper - - * FAQ: Add answer for 100% source code compatibility to Linux - libc by David Mosberger-Tang. - - Update from bind-4.9.4-T3B. - * inet/arpa/inet.h: Add prototypes for inet_pton, inet_ntop, - inet_nsap_addr, and inet_nsap_ntoa. - * resolv/gethnamaddr.c: Correct compatibility problems (sprintf), - remove fourth argument to inet_pton and correct handling of - host_addr passing. - * resolv/inet_ntop.c: Correct compatibility problems (sprintf). - * resolv/inet_pton.c: Remove fourth argument. - * resolv/resolv.h: Remove prototypes for inet_nsap_addr and - inet_nsap_ntoa. Now in . - - * stdlib/gmp-impl.h: Add prototypes for internal functions. - -Thu May 23 22:49:15 1996 Roland McGrath - - * Rules (subdir_install): Remove dep on sor-$(subdir). - (static-only-routines): Removed variable and associated rules. - -Wed May 22 00:40:50 1996 David Mosberger-Tang - - * sysdeps/unix/sysv/linux/alpha/speed.c (speeds): Add entry for - 460800 baud. - - * sysdeps/unix/sysv/linux/alpha/statbuf.h: New file. - - * sysdeps/unix/sysv/linux/alpha/Makefile (headers): Add - alpha/ptrace.h. - * sysdeps/unix/sysv/linux/alpha/alpha/ptrace.h: New file. - - * sysdeps/libm-ieee754/s_scalbnf.c: Call __scalbnf instead of - scalbnf. - - * sysdeps/generic/sigset.h (__sigismember, __sigaddset, - __sigdelset): Add declaration to keep ANSI compilers quiet. - - * sysdeps/alpha/__math.h (cabs): Remove underscores from struct - __cabs_complex member names in call to __hypot(). - - * sysdeps/alpha/copysign.S, sysdeps/alpha/fabs.S: New files. - - * sysdeps/alpha/divrem.h: Renamed from sysdeps/alpha/divrem.S to avoid - name collision with math library. - - * sysdeps/alpha/divl.S, sysdeps/alpha/divlu.S, sysdeps/alpha/divq.S, - sysdeps/alpha/divqu.S, sysdeps/alpha/reml.S, sysdeps/alpha/remlu.S, - sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S: Include divrem.h instead - of divrem.S. - - * sysdeps/unix/alpha/sysdep.h: Include regdef.h. Define LEAF macro - to simplify declaration of leaf functions. - - * sysdeps/alpha/_mcount.S, sysdeps/alpha/bb_init_func.S, - sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/ffs.S, - sysdeps/alpha/htonl.S, sysdeps/alpha/htons.S, sysdeps/alpha/memchr.S, - sysdeps/alpha/setjmp.S, sysdeps/alpha/strlen.S, - sysdeps/alpha/udiv_qrnnd.S, sysdeps/unix/sysv/linux/alpha/brk.S, - sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S, - sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S, - sysdeps/unix/sysv/linux/alpha/pipe.S, - sysdeps/unix/sysv/linux/alpha/sigsuspend.S, - sysdeps/unix/sysv/linux/alpha/syscall.S, - sysdeps/unix/sysv/linux/alpha/start.S, - sysdeps/unix/sysv/linux/alpha/sysdep.S: Remove include of regdef.h. - sysdep.h includes it now. Replace ENTRY by LEAF with appropriate - framesize declaration. Replace "lda pv,sym/jsr pv" by "jsr sym". - - * sysdeps/unix/sysv/linux/alpha/sysdep.h (NO_UNDERSCORES): Don't - define. - - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Added getsockopt, - ptrace, and sysctl. - - * sysdeps/unix/sysv/linux/alpha/profil-counter.h: File removed. - - * sysdeps/unix/sysv/linux/alpha/ioperm.c: Modify to support - dynamic recognition of platform type. - (_bus_base): New function. - - * sysdeps/unix/sysv/linux/alpha/llseek.S: New file. - - * sunrpc/rpc/rpc.h, sunrpc/rpc/svc.h: Avoid nested comments since - they produce ugly warnings by gcc. - - * posix/sys/types.h [__USE_MISC]: Add typedef for ulong. - -Wed Mar 27 10:26:21 1996 David Mosberger-Tang - - * sysdeps/alpha/setjmp.S: Must establish global pointer before - address of __sigsetjmp_aux can be loaded. - -Wed May 22 22:10:01 1996 Roland McGrath - - * stdlib/canonicalize.c: New file. - * stdlib/stdlib.h: Declare canonicalize_file_name, realpath. - * stdlib/Makefile (routines): Add canonicalize. - - * posix/unistd.h: Declare __canonicalize_directory_name_internal. - -Thu May 23 00:01:10 1996 Ulrich Drepper - - * db/recno/rec_seq.c: Prevent `sccsid' definition by using the - same #if condition as in the other db files. - - * intl/Makefile: Add -Wno-unused CFLAGS for compilation of - bindtextdom.c, finddomain.c, and localealias.c. - - * intl/dcgettext.c: Don't define prototype for getcwd() when - compiling in glibc. - - * libio/cleanup.c: Add prototype for _IO_register_cleanup. - - * libio/filedoalloc.c, libio/fileops.c, libio/iopopen.c: Don't - define _POSIX_SOURCE unconditionally. - - * libio/filedoalloc.c, libio/iopopen.c: Include if - compiling in glibc. - - * libio/fileops.c (_IO_file_close_it): Don't sync file, call - flush instead. This relaxes the rules from POSIX.1 about - changing the active handle a bit. - - * libio/iofopncook.c (struct _IO_cookie_file): Move definition - into . - Add prototypes for local functions to prevent warnings. - - * libio/iopopen.c: Change prototypes for _IO_fork, _IO_pipe, and - _IO_dup2 to contain complete parameter list. - - * libio/libio.h: Add definition of struct _IO_cookie_file. - - * libio/libioP.h: Add prototypes for _IO_vasprintf, _IO_vdprintf, - and _IO_vsnprintf. - - * libio/memstream.c: Include . - - * libio/stdio.h: Add prototypes for fopencookie, - __stdio_gen_tempname, __vfscanf, __vsscanf, and __vsnprintf. - - * libio/strops.c: Avoid useless expression in `for' initializer. - - * locale/findlocale.c: Add some casts to prevent warnings. - - * locale/programs/locfile.c (write_locale_data): Don't use - double `/' in locale binary file. - - * posix/unistd.h: Remove prototype for `reboot'. - - Update from bind-4.9.4-T1A. - * resolv/Makefile (routines): Add inet_ntop and inet_pton. - * resolv/arpa/nameser.h: Add definition of IN6ADDRSZ. - * resolv/gethnamaddr.c, resolv/getnetnamadr.c, resolv/res_comp.c, - resolv/res_debug.c, resolv/res_init.c - - * resolv/inet_ntop.c, resolv/inet_pton.c: New files. - - * resolv/resolv.h: Add RES_USE_INET6 flag. - (__dn_isvalid): Renamed to __res_dnok. - Add prototypes for __res_ownok and __res_mailok. - - * stdio-common/Makefile: Add -Wno-unused to CFLAGS for _itoa.c. - - * stdio-common/getline.c, stdio-common/vfscanf.c, - sysdeps/posix/tempname.c: Don't use anymore. - - * sysdeps/unix/sysv/linux/Makefile [$subdir == misc] - (sysdep_routines): Add s_reboot. - (install-others): Add $(includedir)/sys/syscall.h. - New rule for $(includedir)/sys/syscall.h to produce from - . - - * sysdeps/unix/sysv/linux/reboot.c: New file. Make single - argument function call 3 argument system call. - - * sysdeps/unix/sysv/linux/sys/reboot.h: New file. Linux specific - definition for reboot function. - - * sysdeps/unix/sysv/linux/syscall.h: Remove old and obsolete - comment. - - * sysdeps/unix/sysv/linux/syscalls.list: Rename function for - reboot syscall to __syscall_reboot. - - * wcsmbs/wchar.h: Protect prototypes for wcstof and wcstold by - __USE_GNU, not USE_GNU. - -Tue May 21 21:55:49 1996 David Mosberger-Tang - - * locale/programs/charset.c, locale/programs/ld-collate.c: - Add casts to prevent warnings on 64-bit machines. - - * locale/programs/ld-monetary.c: Don't do unnecessary tests for - int_frac_digits and frac_digits which only produce warnings. - -Mon May 13 23:45:29 1996 David Mosberger-Tang - - * inet/arpa/inet.h: Backup return type of inet_addr to u_long. - * resolv/inet_addr.c: Likewise. - - * resolv/Makefile (distribute): Add res_hconf.h - (routines): Add res_hconf. - - * resolv/gethnamaddr.c: Add support for /etc/host.conf. - - * resolv/res_init.c: Initialize /etc/host.conf reader. - - * resolv/res_hconf.c, resolv/res_hconf.h: New files. - Implementation of reading /etc/host.conf. - -Wed May 22 21:21:15 1996 Roland McGrath - - * Rules (%.out rules): Prepend $($*-ENV) to the command. - - * sysdeps/unix/sysv/linux/i386/brk.c (___brk_addr): Define as weak - alias for __curbrk. - -Wed May 22 19:37:27 1996 Miles Bader - - * hurd/hurdexec.c (_hurd_exec): Pass INIT_TRACEMASK. - * hurd/hurdmsg.c (set_int): Support INIT_TRACEMASK. - -Wed May 22 18:47:31 1996 Roland McGrath - - * sysdeps/mach/hurd/getcwd.c - (_hurd_canonicalize_directory_name_internal): New function, broken out - of __getcwd. - (__getcwd): Use it. - (__canonicalize_directory_name_internal): New function using it. - - * sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal): New - function, broken out of __getcwd. - (__getcwd): Use it. - -Wed May 22 18:14:05 1996 Miles Bader - - * string/argz-create.c (__argz_create): Correctly calculate length. - - * string/argz-extract.c (__argz_extract): Add terminating 0 entry. - * hurd/hurdstartup.c (_hurd_startup): ... and don't so here. - -Wed May 22 17:22:14 1996 Roland McGrath - - * posix/glob.c [VMS]: Don't include . - [HAVE_VMSDIR_H]: Include "vmsdir.h". - (glob) [VMS]: Don't grok ~. - -Wed May 22 14:46:53 1996 Miles Bader - - * hurd/hurdstartup.c (_hurd_startup): Terminate the vectors we get - back from argz_extract. - -Wed May 22 13:56:42 1996 Roland McGrath - - * configure.in: Remove checks for objdump, objcopy, and awk. - * config.make.in (OBJDUMP, OBJCOPY, AWK): Variables removed. - * Makefile (distribute): Remove extract-dynsym. - * extract-dynsym: File removed. - -Tue May 21 22:17:45 1996 Roland McGrath - - * termios/cfmakeraw.c: Set MIN to 1 and TIME to 0. - -Wed May 22 01:48:54 1996 Ulrich Drepper - - * stdlib/strtol.c [!QUAD] (ULONG_MAX, LONG_MAX): Define these - macros if they are not available. - (WEAKNAME): New macro to declare argument as weak. - Define function with __ prefix and add normal name as weak alias. - - * sysdeps/posix/euidaccess.c (S_IROTH, S_IWOTH, S_IXOTH): Defines - these macros if not already available based on R_OK, W_OK, and - X_OK. - -Tue May 21 18:48:46 1996 Roland McGrath - - * misc/sys/syslog.h (__need___va_list): Define this instead of - __need_va_list before including . - - * Makerules (o-iterator): Use $(object-suffixes-left) instead - of $(object-suffixes) to produce repetitions; this is used for other - lists than just that one. - [versioned]: Use $(o-iterator) properly. - - * sysdeps/unix/sysv/linux/Implies: Include `gnu'. - * sysdeps/mach/hurd/Implies: Likewise. - -Sat May 18 02:57:46 1996 Ulrich Drepper - - * login/Makefile: New file. This directory contains functions - for user administration. - * Makefile (subdirs): Add login. - - * misc/Makefile (headers): Remove utmp.h. Now in login/utmp.h. - (extra-libs, libutil-routines): Ditto. - * misc/login.c, misc/login_tty.c, misc/logout.c, misc/logwtmp.c, - misc/utmp.h: Moved to misc/. - * login/login.c, login/login_tty.c, login/logout.c, - login/logwtmp.c, login/utmp.h: Moved to here from misc/. - - * login/utmp.h: Split file. Definitions of data structures - and constants are now in the system dependent utmpbits.h file. - - * login/setutent_r.c, login/setutent.c, login/endutent_r.c, - login/endutent.c, login/getutent_r.c, login/getutent.c, - login/getutid_r.c, login/getutid.c, login/getutline_r.c, - login/getutline.c, login/pututline_r.c, login/pututline.c: - New files. Routines to handle utmp-style files. - - * sysdeps/gnu/utmpbits.h: New file. Contains GNU/Linux - specific definitions of utmp data structures and constants. - - * sysdeps/unix/sysv/utmpbits.h: Renamed from sysdeps/unix/sysv/utmp.h. - - * sysdeps/generic/utmpbits.h: New file. Generic (BSDish) version of - definitions of utmp data structures and constants. - -Fri May 17 00:01:31 1996 Ulrich Drepper - - * locale/C-monetary.c: Default value for mon_decimal_point should be - '.'. - - * stdio-common/printf.h: Remove Linux libc compatibility stuff. - Add `extra' flag. Currently used in __printf_fp. - - * stdio-common/printf_fp.c (__guess_grouping): Renamed from - `guess_grouping' and extend visibility to extern. This function - is now used in `strfmon'. - (__printf_fp): Recognize new bit flag in info struct. This - triggers to use the grouping information and decimal point from - the LC_MONETARY category instead of the LC_NUMERIC category. - - * stdio-common/vfprintf.c (process_arg): Correct major bug. In - `complicated' loop we must not use the varargs because the args - are already available in the ARGS_VALUE array. - - * stdlib/Makefile (headers): Add monetary.h. - (routines): Add strfmon. - * stdlib/monetary.h: New file. Header for strfmon function. - * stdlib/strfmon.c: New file. Implement strfmon function to print - monetary amounts according to current locale's rules. - - * sysdeps/unix/sysv/linux/i386/sys/vm86.h: The kernel header is - now (>= Linux-1.3.100) called . - -Thu May 16 00:31:44 1996 Roland McGrath - - * Makerules [versioned]: Make symlinks in the build directory, because - the versioned names might be referenced by a DT_NEEDED in another - library. - -Wed May 15 18:59:38 1996 Roland McGrath - - * manual/examples/longopt.c: Include stdlib.h and getopt.h. - -Tue May 14 03:36:21 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/Makefile [$subdir == misc] (headers): - Add sys/acct.h and sys/sysctl.h. - -Tue May 14 19:42:04 1996 Roland McGrath - - * sysdeps/generic/strrchr.c: Deansideclized. - - * elf/Makefile (ldd): Depend on Makefile. - Find ld.so in $(slibdir) instead of $(libdir). - - * sysdeps/i386/strrchr.S: Use `testl $3, %esi' instead of `testb $3, - %esi'; gas misassembles the latter into `testb $3, %dh'. - - * mach/Machrules (%.udeps rule): Do $(make-target-directory) first. - -Tue May 14 16:38:44 1996 David Mosberger-Tang - - * sunrpc/getrpcent.c (interpret): Declare args. Rewrite parsing using - strpbrk. - -Tue May 14 20:18:38 1996 Ulrich Drepper - - * time/Makefile (routines): Add strptime. - * time/time.h: Add prototype for strptime. - * time/strptime.c: New file. Implementation according to XPG4. - -Tue May 14 14:07:10 1996 Roland McGrath - - * libc-symbols.h (lint): Macro removed. The sunrpc code does some - really stupid things #ifdef lint. - - * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter): Fix - struct member name: sc_eip -> eip. - -Mon May 13 19:52:33 1996 Roland McGrath - - * Makerules (stub-$(subdir)): Put cmds including cd inside (...) with - output redirect outside it. - - * elf/Makefile (subdir_lib): Depend on ld.so. - -Sun May 12 22:52:22 1996 Bruce Elliott - - * stdio-common/vfprintf.c: Correct handling of unsigned short - values. - -Mon May 13 12:03:03 1996 Roland McGrath - - * extra-lib.mk (alltype-$(lib)): Put libs in $(objpfx) instead of - $(common-objpfx). - * Makerules [install-lib.a]: Find them there. - - * sysdeps/unix/sysv/linux/i386/profil-counter.h: New file. - - * extra-lib.mk: Skip the hair if $(object-suffixes-$(lib)) is empty. - - * posix/glob.h [_AMIGA]: Remove `struct stat;' forward decl. - - * configure.in (--with-fp): Note in help string that it's the default. - - * locale/programs/ld-ctype.c (struct locale_ctype_t): Use u_int32_t - instead of unsigned int for map_collection_max and map_collection_act. - - * stdio-common/vfprintf.c [USE_IN_LIBIO] (flockfile, funlockfile): - Macros removed; they are in . - * stdio-common/vfscanf.c: Likewise. - - * posix/glob.c [_AMIGA]: Don't include . - (glob): Remove bogus & in call to globfree. - [_AMIGA]: Use AmigaDOS file name conventions. - - * time/Makefile (zonenames): Target removed. - (extra-objs): Remove it from here. - Include the z.* files directly instead of including zonenames; use - `-include' to not complain before they exist. - - * sysdeps/unix/Makefile: Find sysd-syscalls and s-proto.d with - $(common-objpfx) instead of $(objpfx). - - * sysdeps/unix/bsd/telldir.c (seekdir, telldir): Use new struct member - names without __. - - * Makerules [install-lib-non.a]: Find these things with $(objpfx) - instead of $(common-objpfx). - - * Makeconfig (sysdep-configures): New variable. - (config.status): Depend on $(sysdep-configures). - -Fri May 10 20:07:52 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/profil.c: New file. - -Fri May 10 19:59:50 1996 Andreas Schwab - - * sysdeps/m68k/Makefile (CFLAGS-setjmp.c): New variable. - -Fri May 10 19:55:42 1996 Andreas Schwab - - * shlib-versions: Use libm=6 and libc=6 for m68k-linux. - -Sun May 12 11:16:58 1996 Roland McGrath - - * string/envz.c: Fix uses of unsigned to size_t. - - * Makerules ($(libdir)/libc.so): Make the file an ld script. - - * sysdeps/mach/hurd/configure.in: Don't grok --with-hurd option. - - * sysdeps/mach/configure.in: File removed. - * sysdeps/mach/configure: File removed. - - * mach/Machrules (%.udeps rule): Write deps for %_server.[ch] too. - (%_server.[ch] rule): Don't depend on %.defs; use #include to get - installed .defs file. - - * stdio-common/vfprintf.c (flockfile, funlockfile): Define to - nothing for stdio. Fix fUNlockfile -> funlockfile for libio. - * stdio-common/vfscanf.c: Likewise. - -Sat May 11 13:43:41 1996 Roland McGrath - - * hurd/hurdfault.c: Include faultexc_server.h instead of faultexc.h. - - * mach/Machrules (%.ir rule): Don't produce deps for imports. - - * elf/dl-fini.c (_dl_fini): Clear L->l_init_called after calling fn. - - * Makerules (install): Depend on $(slibdir)/libc.so$(libc.so-version). - [!subdir] ($(libdir)/libc.so, $(common-objpfx)/libc-syms.so): Protect - these targets and install dep on $(libdir)/libc.so with this. - - * hurd/Makefile: Removed all rules and defns for using code from Hurd - sources and installing headers from there. - - * sysdeps/mach/hurd/errnos.awk: Set in_mach_errors to FILENAME when we - set it. In Mach error matching clause, only match if FILENAME is - still the same value. - - * sysdeps/mach/hurd/Makefile: Don't include sysdeps/mach/Makefile; - $(mach-srcdir) no longer exists. - (hurd-srcdir): Variable removed. - (includes): Don't append -I$(hurd-srcdir). - (last-includes): Variable removed. - Remove vpath specs using $(hurd-srcdir). - (mach-errno-h): New canned sequence. - ($(common-objpfx)errnos.d): New target, generated included makefile - to determine absolute file names of Mach headers to search for error - codes and set variable mach-errnos-deps. - ($(common-objpfx)stamp-errnos): Depend on $(mach-errnos-deps) instead - of prior explicit list. - (generated): Add errnos.d, stamp-errnos. - - * mach/Machrules (some-if-rtn): New variable and target; compute deps - of some if routine and make all if routines depend on that .d file - instead of static list of .h files. - - * mach/Makefile (mach/mach_interface.defs, - mach/memory_object_user.defs): Targets removed. - ($(objpfx)mach-syscalls.mk): Tweak this kludge so it doesn't depend - directly on Mach sources. - - * sysdeps/mach/Makefile (mach-srcdir): Variable removed. - (includes): Don't append -I$(mach-srcdir). - Remove vpath specs using $(mach-srcdir). - - * hurd/Makefile (server-interfaces): Add faultexc. - (sig): Remove it from here. - (fault%.[ch]): Rule removed. - (MIGFLAGS-faultexc): New variable. - - * hurd/faultexc.defs: New file. - - * mach/Machrules (%.ustamp rule): Pass $(MIGFLAGS-$*) to mig. - (%_server.[ch] rule): Likewise. - - * mach/Makefile: Removed all rules and defns for using code from Mach - sources and installing headers from there. - - * Makeconfig [$(build-shared)=yes] (link-libc): Append - $(libc.so-version) to libc.so. - -Fri May 10 18:36:14 1996 Roland McGrath - - * mach/Machrules (%.ustamp rule): Don't depend on %.defs. - (%.udeps): New rule parallel to that one, generating included - makefiles with -M output from `#include <%.defs>'. - - * Makerules (sed-remove-objpfx): Remove space before \ at eol. - - * Makefile (distribute): Add FAQ. - * FAQ: New file contributed by drepper. - - * time/Makefile (headers): Add timebits.h. - * sysdeps/unix/sysv/linux/timebits.h: New file. - * sysdeps/stub/timebits.h: New file. - * time/time.h (CLK_TCK): Define to CLOCKS_PER_SEC. - (CLOCKS_PER_SEC): Remove this macro. Instead #include . - -Fri May 10 16:22:44 1996 Michael I. Bushnell, p/BSG - - * string/argz-create.c (__argz_create): Restore const keyword to - ARGV parm. - * string/argz.h (__argz_create, argz_create): Restore const - keyword. - * string/envz.c (envz_get): Don't declare ENTRY const. - -Fri May 10 11:48:03 1996 Miles Bader - - * string/argz.h (argz_create): Fix param type. - * string/argz-create.c (__argz_create): Remove const from param type. - * string/envz.c (envz_get): Remove const from return type. - -Fri May 10 09:41:54 1996 Michael I. Bushnell, p/BSG - - * string/argz.h (__argz_create, argz_create): Omit const keyword - from declaration of ARGV. - * string/envz.h (envz_get): Omit const from declaration of return - type. - -Thu May 9 09:17:46 1996 Roland McGrath - - * aclocal.m4 (AC_FD_MSG, AC_FD_CC): Fix these for autoconf weirdness. - - Cleanups in sunrpc code from NIIBE Yutaka . - * sunrpc/clnt_tcp.c (clnttcp_create): Don't close *SOCKP if it's -1. - * sunrpc/clnt_simp.c (callrpc): Don't close CRP->socket if it's - RPC_ANYSOCK. - * sunrpc/pmap_clnt.c (pmap_set): Don't close SOCKET, since - CLNT_DESTROY already has. - (pmap_unset): Likewise. - * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise. - * sunrpc/pm_getport.c (pmap_getport): Likewise. - * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise. - * sunrpc/portmap.c (callit): Likewise. - - * Makerules (versioned): Strip whitespace. - - * Rules (static-only-routines rule): Remove spurious space in dep. - - * misc/getusershell.c: Undo changes of 7 May 96 (rev 1.6). - Cast string constants to char *. - - * posix/glob/SMakefile, posix/glob/SCOPTIONS, posix/glob/Makefile.ami: - New files, AmigaDOS support from Aaron Digulla. - * posix/Makefile (glob.tar): Add AmigaDOS support files. - - * sysdeps/unix/sysv/linux/net/if.h: New file. - * sysdeps/unix/sysv/linux/Dist: Add it. - * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket] (headers): Add - net/if.h. - - * Makeconfig (link-libc): Add libc.a after libc.so in link. - - * Rules (static-only-routines rule): Use empty.o instead of dummy.o. - (empty.o): New target. - (generated): Add empty.c, empty.o. - - * resolv: Code updated from BIND-4.9.3P2C3. - - * Rules (static-only-routines rule): Use dummy.o, not dummy.so. - -Wed May 8 20:04:29 1996 Roland McGrath - - * extract-dynsym: New file. - * Makefile (distribute): Add it. - * Rules (subdir_install): Depend on $(common-objpfx)sor-$(subdir). - [! libc.so-version]: Clear static-only-routines. - ($(common-objpfx)sor-$(subdir)): New target. - [static-only-routines]: New static pattern rule for these .so's. - * Makerules [libc.so-version] ($(slibdir)/libc.so): Target removed. - [libc.so-version] ($(libdir)/libc.so, $(common-objpfx)libc-syms.so): - New targets replace it. - (install) [libc.so-version]: Depend on $(libdir)/libc.so instead of - $(slibdir)/libc.so. - * io/Makefile (static-only-routines): New variable. - * configure.in: Check for tools objdump and objcopy, and for awk. - * config.make.in (OBJDUMP, OBJCOPY, AWK): New variables. - -Thu May 9 01:24:00 1996 Ulrich Drepper - - * locale/programs/config.h: Remove definition of wint_t. - - * locale/programs/ld-collate.c: Include instead of - . - - * manual/time.texi: Add some more description for %U and %W - format of strftime. Describe new format %V of strftime. - - * resolv/gethnamaddr.c: Prevent warning by preventing variable - definition. - * stdio-common/_itoa.c: Ditto. - -Tue May 7 23:43:07 1996 Ulrich Drepper - - * libio/clearerr.c, libio/feof.c, libio/ferror.c, libio/fgetc.c, - libio/fileno.c, libio/fputc.c, libio/freopen.c, libio/fseek.c, - libio/genops.c, libio/getc.c, libio/getchar.c, libio/iofclose.c, - libio/iofflush.c, libio/iofgetpos.c, libio/iofgets.c, - libio/iofputs.c, libio/iofread.c, libio/iofsetpos.c, - libio/ioftell.c, libio/iofwrite.c, libio/iogetdelim.c, - libio/iogets.c, libio/ioputs.c, libio/iosetbuffer.c, - libio/iosetvbuf.c, libio/ioungetc.c, libio/iovsprintf.c, - libio/libio.h, libio/putc.c, libio/putchar.c, libio/rewind.c, - libio/stdio.h, stdio-common/printf_fp.c, stdio-common/vfprintf.c, - stdio-common/vfscanf.c: Prepare for reentrant libio. - - * libio/clearerr_u.c, libio/feof_u.c, libio/ferror_u.c, - libio/fputc_u.c, libio/getc_u.c, libio/getchar_u.c, - libio/iofflush_u.c, libio/putc_u.c, libio/putchar_u.c: New files. - Used in reentrant libio. - - * misc/getusershell.c: Prevent warnings. - -Wed May 8 12:08:35 1996 Roland McGrath - - * Makerules (install-lib.so rules): Undouble $s in target and dep - parts of o-iterator-doit defns. - (unversioned libraries install rule): Fix pattern. - - * mach/Makefile (mach-src-headers): Use $(base-machine) instead of - $(config-machine). - ($(includedir)/machine): Likewise. - - * config.make.in (base-machine): New variable. - * configure.in (machine): Move case stmt to set $machine out of sysdep - dirs AC_CACHE_CHECK. - (base_machine): New variable, set in that switch and AC_SUBST'd. - - * Makerules (stub-$(subdir)): Use file name in directory as output, - since cmd is cd'd. - - * configure.in (MSGFMT): Use : if none found. - - * po/Makefile: Include ../Rules instead of ../Makerules. - -Tue May 7 23:18:44 1996 Roland McGrath - - * po/Makefile: New file. - * Makefile (subdirs): Add po. - - * configure.in: Check for msgfmt. - * config.make.in (MSGFMT): New variable. - -Sun May 5 23:49:10 1996 Ulrich Drepper - - * misc/Makefile (routines): Add swapoff. - - * sysdeps/unix/sysv/linux/Dist: Add sys/quota.h. - - * sysdeps/unix/sysv/linux/sys/quota.h: New file. Wrapper around - kernel header file. - -Tue May 7 19:00:01 1996 Roland McGrath - - * string/argz-extract.c: Remove const from decl. - * string/argz.h: Here too. - - * Makeconfig (version.mk): Fix regexp in sed cmd. - Depend on $(..)Makeconfig. - - * GMP code updated from gmp-2.0 release. - * stdlib/Makefile (mpn-routines): Removed add_1, added inlines. - * sysdeps/generic/add_1.c: File removed. - * stdlib/strtod.c: mp_limb is now mp_limb_t. - * stdlib/fpioconst.c, stdlib/fpioconst.h: Likewise. - * stdio-common/_itoa.c: Likewise. - * stdio-common/printf_fp.c: Likewise. - Don't include ansidecl.h. - - * sysdeps/mach/hurd/getcwd.c: Use io_identity instead of io_stat. - - * shlib-versions: New file. - * Makerules (soversions.mk): New target, include file generated from - shlib-versions. Moved shared library rules before installation rules. - Rewrote shared library installation rules for versioned libraries. - * math/Makefile (libm.so-version): Variable removed. - - * sysdeps/mach/hurd/i386/exc2signal.c: Use struct hurd_signal_detail. - - * hurd/report-wait.c (_S_msg_describe_ports): New function. - - * configure.in: Add AC_PROG_LN_S check. - * config.make.in (LN_S): New variable. - -Sun May 5 03:10:44 1996 Ulrich Drepper - - * misc/efgcvt_r.c (ecvt_r): Work aroung gcc bug. gcc does - not know about weak aliases now and optimizes necessary `if' - statement away. - - * posix/unistd.h: Add swapoff prototype. - - * sysdeps/generic/confname.h: Add even more POSIX.4 symbols. - - * sysdeps/posix/fpathconf.c (__fpathconf): Get information - for _PC_PATH_MAX from fstatfs function if available. - - * sysdeps/posix/sysconf.c: Add code to handle _SC_AIO_LISTIO_MAX, - _SC_AIO_MAX, _SC_AIO_PRIO_DELTA_MAX, _SC_DELAYTIMER_MAX, - _SC_MQ_OPEN_MAX, _SC_MQ_PRIO_MAX, _SC_RTSIG_MAX, - _SC_SEM_NSEMS_MAX, _SC_SEM_VALUE_MAX, _SC_SIGQUEUE_MAX, and - _SC_TIMER_MAX. - * sysdeps/unix/sysv/sysv4/sysconf.c: Ditto. - - * sysdeps/stub/swapoff.c: New file. Stub version for swapoff - function. - - * sysdeps/unix/syscalls.list: Add swapoff. - - * sysdeps/unix/sysv/linux/Dist: Add sys/acct.h. - - * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc] - (sysdep_routines): Add mount, umount, llseek, setfsgid, setfsuid, - sysinfo, and uselib. - (headers): Add sys/sysinfo.h. - - * sysdeps/unix/sysv/linux/gethostid.c: Prevent warning. - - * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == misc] - (sysdep_routines): Add ioperm, iopl, and vm86. - (headers): Add sys/perm.h and sys/vm86.h. - - * sysdeps/unix/sysv/linux/i386/sys/perm.h: New file. Contains - prototypes for iopl and ioperm. - - * sysdeps/unix/sysv/linux/i386/sys/vm86.h: New file. Contains - prototype for vm86. - - * sysdeps/unix/sysv/linux/i386/syscalls.list: New file. Add - vm86 system call. - - * sysdeps/unix/sysv/linux/sys/acct.h: New file. Contains - prototypes for acct function. - - * sysdeps/unix/sysv/linux/sys/socket.h: Provide real header - file with prototypes. - - * sysdeps/unix/sysv/linux/sys/sysinfo.h: New file. Contains - prototype for sysinfo function. - - * sysdeps/unix/sysv/linux/syscalls.list: Add flock, ioperm, iopl, - llseek, setfsgid, setfsuid, sysinfo, and uselib. - - * sysdeps/unix/sysv/linux/sysconf.c: Instead of duplicating - posix/sysconf.c now only handle cases different to that - implementation. - -Tue May 7 15:08:19 1996 Miles Bader - - * stdio/linewrap.c (__line_wrap_output): Renamed from lwoutput - (all references changed). Now exported. - - * stdio/linewrap.c (struct data): Type deleted (moved to linewrap.h). - (wrap_stream, unwrap_stream, lwclose, lwfileno, lwoutput, - line_wrap_stream, line_unwrap_stream): Use struct line_wrap_data - instead of struct data. - (lwoutput, line_wrap_stream, line_unwrap_stream): Rename various - occurences of `wrap' and `wrapmargin' to `wmargin'. - (line_wrapped, line_wrap_lmargin, line_wrap_set_lmargin, - line_wrap_rmargin, line_wrap_set_rmargin, line_wrap_wmargin, - line_wrap_set_wmargin, line_wrap_point): New functions. - * stdio/linewrap.h: New file. - * stdio/Makefile (headers): Add linewrap.h. - -Tue May 7 14:19:12 1996 Roland McGrath - - * sysdeps/unix/sysv/linux/i386/Makefile: File removed. - - * stdio/stdio.h: Remove line_wrap_stream, line_unwap_stream decls. - - * sysdeps/unix/sysv/linux/schedbits.h: New file. - -Tue May 7 13:47:02 1996 Miles Bader - - * stdio/linewrap.c (struct data): Make margin fields not-pointers. - (lwoutput): Adjust uses acordingly. - -Tue May 7 10:51:52 1996 Roland McGrath - - * sysdeps/mach/hurd/fdatasync.c: New file. - * sysdeps/mach/hurd/fsync.c: Pass new flag to file_sync. - - * sysdeps/mach/hurd/xmknod.c: Pass new flag to dir_link. - * sysdeps/mach/hurd/symlink.c: Likewise. - * sysdeps/mach/hurd/link.c: Likewise. - * sysdeps/mach/hurd/bind.c: Likewise. - * hurd/hurdsig.c (write_corefile): Likewise. - - * hurd/hurdsig.c (write_corefile): Pass cttyid port to crash server. - - * sysdeps/mach/hurd/fpathconf.c: RPC takes int pointer, not long int. - - * sysdeps/mach/hurd/_exit.c (_hurd_exit): Pass sigcode arg to - proc_mark_exit. - * sysdeps/mach/hurd/dl-sysdep.c (_exit): Likewise. - - * sysdeps/mach/hurd/wait4.c: Pass sigcode arg to proc_wait. - - * sysdeps/mach/hurd/rename.c: Pass new flag to dir_rename. - - * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise): Use struct - hurd_signal_detail. - * hurd/catch-exc.c (_S_catch_exception_raise): Likewise. - * hurd/hurd-raise.c (_hurd_raise_signal): Likewise. - * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): - Likewise. - * sysdeps/mach/hurd/setitimer.c (restart_itimer): Likewise. - - * hurd/hurd/signal.h: Fix _hurd_exception2signal prototype. - - * hurd/hurdsig.c (write_corefile): Take const struct - hurd_signal_detail * arg. Pass all details to crash_dump_task. - (_hurd_internal_post_signal): Pass DETAIL to write_corefile. - (_hurd_internal_post_signal: suspend): Pass code and error to - proc_mark_stop. - - * hurd/hurdprio.c (_hurd_priority_which_map): Pass flags arg to - proc_getprocinfo by reference. - - * wcsmbs/wcwidth.c, wcsmbs/wcswidth.c: Fixed typos. - - * sysdeps/unix/sysv/linux/sys/mman.h: Fixed typo. - - * sysdeps/stub/sched_getp.c: Add missing #include . - * sysdeps/stub/sched_sets.c: Likewise. - * sysdeps/stub/sched_setp.c: Likewise. - * sysdeps/stub/sched_rr_gi.c: Likewise. - * sysdeps/stub/sched_gets.c: Likewise. - - * hurd/hurdsig.c: Use struct hurd_signal_detail. - * hurd/hurd/fd.h (_hurd_fd_error): Likewise. - * sysdeps/mach/hurd/sysd-stdio.c (fd_fail): Likewise. - -Mon May 6 09:51:05 1996 Roland McGrath - - * stdio/linewrap.c: New file. - * stdio/Makefile (routines): Add linewrap. - * stdio/stdio.h [__USE_GNU]: Declare line_wrap_stream, - line_unwrap_stream. - -Mon May 6 14:53:26 1996 Ulrich Drepper - - * time/strftime.c (week): Add third parameter telling how - many days must be in new year so that it is called week 1. - (Following ISO 8601). - Correct computation for %U and %V formats when day was first - day of the week. - (strftime): Implement %V format according to Spec1170. - -Mon May 6 17:01:09 1996 Michael I. Bushnell, p/BSG - - * hurd/hurd/signal.h (_hurd_intr_rpc_mach_msg): New declaration. - -Sat May 4 05:44:25 1996 Roland McGrath - - * hurd/hurd/sigpreempt.h (struct hurd_signal_preempter): Change - prototype of `preempter' elt to use struct hurd_signal_detail. - - * hurd/hurd/signal.h (struct hurd_signal_detail): New type. - (struct hurd_sigstate): Make `pending_data' member an array of that. - Use the new type in several decls. - - * locale/setlocale.c (_nl_C_name): Variable removed. - * locale/C_name.c: New file. - (_nl_C_name): Put it here instead. - * locale/Makefile (aux): Add C_name. - - * sysdeps/mach/hurd/dl-sysdep.c (open): Don't pass io port in - auth_user_authenticate rpc. - (open): Avoid using strtol in digit conversion for "fd/N" magic. - (_dl_sysdep_start): Likewise for memobj name in magic switches. - - * elf/Makefile (reloc-link): New variable. - (dl-allobjs.so): New target, link together $(rtld-routines). - (librtld.so): Depend on that instead of the rtld components. - (generated): Add dl-allobjs.so. - - * hurd/hurd-raise.c (_hurd_raise_signal): Pass sigcode in msg_sig_post - rpc. - - * hurd/hurdmsg.c (_S_msg_set_environment): Use argz.h functions - instead of _hurd_split_args. - (_S_msg_*_exec_flags): Functions removed. - (_S_msg_startup_dosync): Stub removed. - -Sat May 4 02:11:55 1996 Roland McGrath - - * sysdeps/mach/hurd/ptrace.c: Set _hurdsig_traced instead of - EXEC_TRACED bit in _hurd_exec_flags. - Pass sigcode arg in msg_sig_post_untraced rpc. - - * sysdeps/mach/hurd/access.c: Don't pass io port in - auth_user_authenticate rpc. - - * posix/sched.h: Fix typos. - - * sysdeps/mach/hurd/fork.c: Use new critical section lock. - Clear _hurdsig_traced instead of EXEC_TRACED. - - * sysdeps/stub/nanosleep.c (nanosleep): Fix typo. - - * wcsmbs/wcstol.c: Find strtol.c in ../stdlib. - * wcsmbs/wcstof.c: Find strtod.c in ../stdlib. - * wcsmbs/wcstod.c: Likewise. - * wcsmbs/wcstold.c: Likewise. - - * wcsmbs/wcwidth.h: Find cname-lookup.h in ../wctype. - - * string/envz.c (envz_entry): Use const. - (envz_get, envz_remove): Likewise. - (envz_entry): Return char *, not const char *. - - * string/envz.h: Fix decl. - - * string/argz-create.c: Use const in prototype. - * string/argz-next.c: Likewise. - -Fri May 3 13:32:08 1996 Roland McGrath - - * sysdeps/mach/hurd/sigprocmask.c: Pass sigcode arg to msg_sig_post. - * sysdeps/mach/hurd/i386/sigreturn.c: Likewise. - * sysdeps/mach/hurd/sigsuspend.c: Likewise. - * sysdeps/mach/hurd/kill.c: Likewise. - - * hurd/hurdexec.c (_hurd_exec): Use new critical section lock. - * hurd/catch-exc.c (_S_catch_exception_raise): Likewise. - * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Likewise. - * hurd/thread-cancel.c (hurd_thread_cancel, hurd_check_cancel): - Likewise. - * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise. - * sysdeps/mach/hurd/sigaction.c: Likewise. - - * sysdeps/mach/hurd/errnos.awk: Don't use ARGV in comment; it can - change meaninglessly. - - * hurd/hurd/signal.h (struct hurd_sigstate): Replace critical section - flag with a spin lock. - (_hurd_critical_section_lock): Use spin_try_lock on that to see if we - get it. No need to take SS->lock at all. - (_hurd_critical_section_unlock): Unlock SS->critical_section_lock - instead of clearing the old flag member. - * hurd/hurdsig.c (_hurd_internal_post_signal): Use spin_lock_locked to - test the critical section state. - - * hurd/hurdinit.c (_hurd_init): Set _hurdsig_traced from the intarray. - - * hurd/hurdkill.c (_hurd_sig_post): Pass 0 sigcode in msg_sig_post. - - * hurd/hurdsig.c (_hurd_internal_post_signal): Test _hurdsig_traced - instead of testing (_hurd_exec_flags & EXEC_TRACED). - (_S_msg_sig_post): Take sigcode arg and pass it through. - (_S_msg_sig_post_untraced): Likewise. - (reauth_proc): Don't pass proc port in auth_user_authenticate. - - * hurd/setauth.c (_hurd_setauth): Don't pass object ports in - auth_user_authenticate RPCs, just the one-off rendezvous port. + * sysdeps/mach/hurd/__access.c (__access): Use a send right, + not a send-once right, in the new auth protocol. + * hurd/__setauth.c (_hurd_setauth): Likewise. + * hurd/hurdsig.c (reauth_proc): Likewise. * hurd/dtable.c (reauth_dtable): Likewise. * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Likewise. - * hurd/hurdexec.c (_hurd_exec): Pass 0 flags to file_exec. - Pass sigcode arg to msg_sig_post. +Tue Aug 30 03:59:38 1994 Roland McGrath - * string/argz.h (argz_create): Use const in prototype. + * socket/sys/socket.h (__SOCKADDR_ARG) [GCC>=2.6]: Use a typedef + with the transparent_union attribute. - * hurd/hurdinit.c (_hurd_proc_init): Test _hurdsig_traced instead of - testing (_hurd_exec_flags & EXEC_TRACED). - Pass sigcode arg to msg_sig_post. + * sysdeps/mach/hurd/__access.c: Use new authentication protocol: + for each port, create a fresh receive right and pass send-once + rights in the auth calls, then destroy the port. - * hurd/hurd.h: Declare _hurdsig_traced. + * sysdeps/mach/mips/syscall.S: New file. - * string/argz.h (__argz_next): Cast ENTRY before returning it. + * stdio/Makefile (mpn-headers, mpn-sysdep): Change asm.h to + asm-syntax.h. - * hurd/hurd/signal.h (_hurd_critical_section_unlock): Pass sigcode arg - to msg_sig_post. + * misc/Makefile (headers): Added fstab.h. + (routines): Added fstab. + * misc/fstab.c: New file. + * misc/fstab.h: New file. - * hurd/path-lookup.c: New file. - * hurd/Makefile (routines): Add path-lookup. - * hurd/hurd/lookup.h: Declare file_name_path_scan, - hurd_file_name_path_lookup. - * hurd/hurd.h: Declare file_name_path_lookup. - - * sysdeps/mach/hurd/select.c: The io_select rpc no longer has a TAG_ID - argument. Instead, use a separate reply port for each RPC and put them - all in a port set to wait for slow replies. - - * intl/Makefile (CPPFLAGS): Change $(nlsdir) to $(i18ndir) in - LOCALE_ALIAS_PATH. - -Fri May 3 03:14:02 1996 Ulrich Drepper - - * intl/Makefile (routines): Add l10nflist and explodename. - (distribute): Add loadinfo.h and locale.alias. - (install-others): New variable to install locale.alias. - - * intl/dcgettext.c, intl/finddomain.c, intl/gettextP.h, - intl/loadmsgcat.c: Adapt for upcoming gettext-0.10.13. Some code - is now shared with the locale implementation. - - * intl/explodename.c, intl/l10nflist.c, intl/loadinfo.h: New file. - Extracted from finddomain.c. This is also used in the locale - implementation. - - * intl/locale.alias: New file. Locale alias database compatible - with X Window System's locale alias file. Can now be used in - locale and gettext code. - - * libio/stdio.h: Add prototypes for asprint and vasprintf. - - * locale/C-collate.c, locale/C-ctype.c, locale/C-messages.c, - locale/C-monetary.c, locale/C-numeric.c, locale/C-time.c: Add new - field in structure with name of locale ("C" in this case). - - * locale/Makefile (routines): Add findlocale. - - * locale/findlocale.c: New file. Instead of trying to load the - directly described file we now try to be much smarter when this - fails. Use the same code as gettext does. - - * locale/loadlocale.c, locale/setlocale.c: Rewrite to know about - new loading scheme. - - * locale/localeinfo.h: Adapt prototypes and declarations for new - setlocale implementation. Remove definition of u32_t type. We - now use u_int32_t from . - - * locale/programs/charset.h (ILLEGAL_CHAR_VALUE): Provide type - with constant. - - * locale/programs/config.h, locale/lc-collate.c, - locale/localeinfo.h, locale/programs/ld-collate.c, - locale/programs/ld-ctype.c, locale/programs/ld-messages.c, - locale/programs/ld-monetary.c, locale/programs/ld-numeric.c, - locale/programs/ld-time.c, locale/weight.h, string/strcoll.c: - Change to use u_int32_t and u_int16_t. - - * locale/programs/localedef.c (construct_output_path): Change name - of output locale to contain normalized form of the character set - portion. - - * string/Makefile (routines): Add agrz-ctsep and argz-next. - (tests): Add tst-strlen. - - * string/argz-ctsep.c: New file. Implement reverse operation - from argz-stringify. - - * string/argz-next.c: Non-inline version of function from argz.h. - - * string/argz.h, string/envz.h: Make usable as global header file. - - * string/envz.c: Fix declarations to use size_t where prototypes - say so. - - * string/tst-strlen.c: New file. Another test for critical - situation in strlen implementations. - - * sysdeps/i386/i586/strlen.S: Fix bug with highest byte in word - being zero. - - * wctype/test_wctype.c: Fix controlling comparison after change to - 32 bit character class array. - -Fri May 3 12:53:12 1996 Roland McGrath - - * sysdeps/unix/sysv/linux/sys/socket.h: Remove spurious doubled line. - -Thu May 2 22:50:52 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/getpriority.c: New file. - * sysdeps/unix/sysv/linux/syscalls.list: Add s_getpriority. - -Thu May 2 22:41:31 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/fpu_control.h (_FPU_DEFAULT): - Disable all exceptions. - -Thu May 2 22:33:14 1996 Andreas Schwab - - * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_acosf.c, - sysdeps/m68k/fpu/e_fmod.c, sysdeps/m68k/fpu/e_fmodf.c, - sysdeps/m68k/fpu/isinfl.c, sysdeps/m68k/fpu/isnanl.c, - sysdeps/m68k/fpu/s_atan.c, sysdeps/m68k/fpu/s_atanf.c, - sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_frexpf.c, - sysdeps/m68k/fpu/s_ilogb.c, sysdeps/m68k/fpu/s_ilogbf.c, - sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_isinff.c, - sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c, - sysdeps/m68k/fpu/s_modf.c, sysdeps/m68k/fpu/s_modff.c: Don't - define __NO_MATH_INLINES, which is already defined on command - line. - -Thu May 2 22:18:28 1996 Andreas Schwab - - * sysdeps/libm-ieee754/e_j0f.c (__ieee754_j0f, __ieee754_y0f): - Replace 0x80000000 by 0x48000000. - * sysdeps/libm-ieee754/e_j1f.c (__ieee754_j1f): Likewise. - -Thu May 2 21:30:33 1996 Andreas Schwab - - * sunrpc/svc_simple.c: Make global variable pl local to - registerrpc. - -Thu May 2 00:24:04 1996 Andreas Schwab - - * time/Makefile (tz-cflags): New variable. - (CFLAGS-tzfile.c): New variable. - (CFLAGS-zic.c): Add $(tz-cflags). - (tz-cc): Remove variable. - ($(objpfx)tzfile.o, $(objpfx)zic.o): Remove targets. - -Wed May 1 09:10:04 1996 Roland McGrath - - * sysdeps/mach/hurd/getcwd.c: Jump out of both loops when we find a - name, instead of checking for reaching end of buffer, which happens - when the match is the last entry in the buffer. - - * time/strftime.c: Use canonical autoconf nugget for time.h+sys/time.h - include. - -Mon Apr 29 02:48:26 1996 Ulrich Drepper - - * ctype/ctype-info.c: (__ctype_width): New variable. - (__ctype_names): Initialize correctly without offset. - - * locale/C-collate.c, locale/C-ctype.c, - locale/C-messages.c, locale/C-monetary.c, - locale/C-numeric.c, locale/C-time.c: Change copyright. - - * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Correct - endianess for initialization value. - - * locale/lc-ctype.c (current): Add parameter for offset. - (__ctype32_b, __ctype_width): Add initialization for these - variables. - - * locale/programs/charmap.c: Finish support for WIDTH information. - (new_width): New function. - - * locale/programs/charset.h (width_rule): new data structure. - (charset_t): Add elements for width information. - - * locale/programs/ld-ctype.c (locale_ctype_t): Add element - for width information. - (allocate_arrays): Add new argument for charset. - (ctype_finish): Make sure all characters named in charset - width table are known to name table. - (ctype_output): Correct handling of class and map name - information and write out width information. - (find_idx): Prepare for being called with NULL pointer as - TABLE argument. This means only allocate name entry. - (allocate_arrays): Correct handling of array element -1. - Because EOF == -1 the value of element 127 must *not* be - mirrored here. - Fill width information from charset tables. - - * locale/programs/localedef.c (main): Correct loop over all - categories after change of order from Thu Mar 28 14:22:51 1996. - Add new charset argument to call of `write_all_categories'. - - * locale/programs/locales.h (ctype_finish, ctype_output): New - charset argument. - - * locale/programs/locfile.c (write_all_categories): Call - `ctype_output' with additional argument charset. - - * posix/getconf.c (vars): Add _POSIX_SYNC_IO, _POSIX_ASYNC_IO, - and _POSIX_PRIO_IO definitions. - - * posix/posix2_lim.h: Add definition of _POSIX2_CHARCLASS_NAME_MAX - and CHARCLASS_NAME_MAX. - - * posix/unistd.h: Document _POSIX_SYNC_IO, _POSIX_ASYNC_IO, - and _POSIX_PRIO_IO. - - * stdlib/grouping.h: Prepare for use in wide string functions. - - * stdlib/stdlib.h: Correct prototypes for __strto*_internal - functions. - - * stdlib/strtod.c: Extend for use as `wcsto{f,d,ld}'. - - * stdlib/strtol.c: Extend for use as `wcsto{l,ul,q,uq}'. - - * string/strcoll.c: Extend for use as `wcscoll'. - - * string/strxfrm.c: Extend for use as `wcsxfrm'. - - * sysdeps/generic/confname.h: Add definition of _PC_SYNC_IO, - _PC_ASYNC_IO, _PC_PRIO_IO and _SC_CHARCLASS_NAME_MAX. - - * sysdeps/generic/stpncpy.c: Correct return value. - - * sysdeps/posix/fpathconf.c: Add handling of _PC_SYNC_IO, - _PC_ASYNC_IO, and _PC_PRIO_IO. - - * sysdeps/posix/sysconf.c: Add handling of _SC_REALTIME_SIGNALS, - _SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO, - _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC, - _SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE, - _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_SEMAPHORES, - _SC_SHARED_MEMORY_OBJECTS, and _SC_CHARCLASS_NAME_MAX. - * sysdeps/stub/sysconf.c: Ditto. - * sysdeps/unix/sysv/sysv4/sysconf.c: Ditto. - - * sysdeps/unix/sysv/linux/Dist: Add sys/sysctl.h. - - * sysdeps/unix/sysv/linux/Makefile [subdir == misc] - (sysdep_routines): Add s_sysctl and sysctl. - - * sysdeps/unix/sysv/linux/sys/mman.h: Add declaration of mremap. - - * sysdeps/unix/sysv/linux/sys/socket.h: New file. Wrapper - around kernel header. - - * sysdeps/unix/sysv/linux/sys/sysctl.h: New file. Define - interface to `sysctl' function. - - * sysdeps/unix/sysv/linux/syscalls.list: Add mremap and _sysctl. - - * sysdeps/unix/sysv/linux/sysconf.c: Add handling of - _SC_CHARCLASS_NAME_MAX. - - * sysdeps/unix/sysv/linux/sysctl.c: new file. Implement caller - of _sysctl system call. - - * sysvipc/Makefile (routines): Add ftok. - - * sysvipc/ftok.c: use variable `proj_id' not `id'. Patch by - David Mosberger-Tang. - - * wcsmbs/Makefile (routines): Add wcpcpy, wcpncpy, wcstol, - wcstoul, wcstoq, wcstouq, wcstod, wcstold, wcstof, wcscoll, - wcsxfrm, wcwidth, and wcswidth. - - * wcsmbs/wchar.h: Add declarations for wcpcpy, wcpncpy, wcstol, - wcstoul, wcstoq, wcstouq, wcstod, wcstold, wcstof, wcscoll, - wcsxfrm, wcwidth, and wcswidth. - Declare internal interfaces for wcsto* functions. - [OPTIMIZE]: Define inline functions for wcsto* functions to - call internal interface functions. - - * wcsmbs/wcpcpy.c, wcsmbs/wcpncpy.c: New files. Implement non- - standard function equivalent to stpcpy/stpncpy. - - * wcsmbs/wcscoll.c: Implement `wcscoll' function by using - `strcoll' implementation. - - * wcsmbs/wcscpy.c, wcsmbs/wcsncpy.c: Use wint_t instead of - wchar_t. - - * wcsmbs/wcstod.c: Implement `wcstod' function by using `strtod' - implementation. - * wcsmbs/wcstof.c: Same for `wcstof'. - * wcsmbs/wcstold.c: Same for `strtold'. - - * wcsmbs/wcstol.c: Implement `wcstol' function by using `strtol' - implementation. - * wcsmbs/wcstoq.c: Same for `wcstoq'. - * wcsmbs/wcstoul.c: Same for `wcstoul'. - * wcsmbs/wcstouq.c: Same for `wcstouq'. - - * wcsmbs/wcswidth.c: Implement `wcswidth' function from X/Open - CAE. - * wcsmbs/wcwidth.c: Ditto for `wcwidth'. - * wcsmbs/wcwidth.h: Common function for definitions of above two - functions. - - * wcsmbs/wcsxfrm.c: Implement `wcsxfrm function by using - `strxfrm implementation. - - * wctype/wctype.c: Remove case for `wctype_t' being 16 bit type. - - * wctype/wctype.h (wint_t): Protect against multiple definition. - (wctype_t): Always define as `unsigned long int'. - - * wctype.h: New file. Wrapper around wctype/wctype.h. - -Tue Apr 30 17:30:46 1996 Miles Bader - - * hurd/hurdsig.c (_hurdsig_abort_rpcs): Add timeout argument to - interrupt_operation call. - (_hurdsig_interrupt_timeout): New variable. - - * hurd/report-wait.c (describe_number): Correctly allocate space - in DESCRIPTION for the digits in I. - -Mon Apr 29 00:11:59 1996 Roland McGrath - - * hurd/hurdstartup.c (_hurd_split_args): Function removed. - (_hurd_startup): Use argz functions. - - * hurd/hurdexec.c: Use argz functions. - - * errno.h [!__error_t_defined] (error_t): New type. - * sysdeps/mach/hurd/errnos.awk: #define __error_t_defined after the - typedef in errnos.h. - - * string/envz.c, string/envz.h: New files. - * string/argz.h, string/argz-append.c, string/argz-count.c, - string/argz-create.c, string/argz-delete.c, string/argz-extract.c, - string/argz-insert.c, string/argz-stringify.c: New files. - * string/Makefile (routines): Add envz, argz-*. - (headers): Add argz.h, envz.h. - -Sun Apr 28 14:14:35 1996 Roland McGrath - - * sysdeps/unix/sysv/linux/i386/Makefile: New file. - -Wed Apr 24 17:35:30 Ulrich Drepper - - * inet/netinet/in.h, socket/sys/socket.h: Move to - sysdeps/generic/netinet/in.h, sysdeps/generic/sys/socket.h. - * netinet/in.h, sys/socket.h: Remove file. - - * misc/Makefile (routines): Add fdatasync. - - * posix/Makefile (headers): Add sched.h. - (routines): Add nanosleep, sched_setp, sched_getp, sched_sets, - sched_gets, sched_yield, sched_primax, sched_primin, sched_rr_gi. - - * posix/getconf.c (vars): Add entries for _POSIX_REALTIME_SIGNALS, - _POSIX_PRIORITY_SCHEDULING, _POSIX_TIMERS, _POSIX_ASYNCHRONOUS_IO, - _POSIX_PRIORITIZED_IO, _POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, - _POSIX_MAPPED_FILES, _POSIX_MEMLOCK, _POSIX_MEMLOCK_RANGE, - _POSIX_MEMORY_PROTECTION, _POSIX_MESSAGE_PASSING, - _POSIX_SEMAPHORES, _POSIX_SHARED_MEMORY_OBJECTS. - - * posix/sched.h: New file. Header for POSIX scheduling interface. - - * posix/unistd.h: Describe options from POSIX.4. - Add declaration of fdatasync. - - * sysdeps/generic/confname.h: Add definition for - _SC_REALTIME_SIGNALS, _SC_PRIORITY_SCHEDULING, _SC_TIMERS, - _SC_ASYNCHRONOUS_IO, _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, - _SC_FSYNC, _SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE, - _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, - _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS. - - * sysdeps/generic/fdatasync.c: New file. Default implementation - simply uses fsync. - - * sysdeps/generic/netinit/in.h: Moved to here from inet/netinet/in.h. - - * sysdeps/generic/schedbits.h: New file. System dependent - defintion for POSIX.4 scheduling interface. - - * sysdeps/generic/sys/socket.h: Moved to here from socket/sys/socket.h. - - * sysdeps/stub/nanosleep.c, sysdeps/stub/sched_getp.c, - sysdeps/stub/sched_gets.c, sysdeps/stub/sched_primax.c, - sysdeps/stub/sched_primin.c, sysdeps/stub/sched_rr_gi.c, - sysdeps/stub/sched_setp.c, sysdeps/stub/sched_sets.c, - sysdeps/stub/sched_yield.c: New file: Stub implementation - for systems missing these POSIX.4 system calls. - - * sysdeps/unix/sysv/linux/gnu/types.h, - sysdeps/unix/sysv/linux/ioctls.h: Use kernel header for - data type definitions. - - * sysdeps/unix/sysv/linux/netinet/in.h: New file. Linux - specific version. - - * sysdeps/unix/sysv/linux/posix_opt.h: New file. Define POSIX - options applicable for Linux. - - * sysdeps/unix/sysv/linux/syscalls.list: Add definitions for - fdatasync, nanosleep, sched_setparam, sched_getparam, - sched_setscheduler, sched_getscheduler, sched_yield, - sched_get_priority_max, sched_get_priority_min, and - sched_rr_get_interval. - - * sysdeps/unix/sysv/linux/sysconf.c: Add handling of POSIX.4 - options. - - * sysdeps/unix/sysv/linux/termbits.h: Use kernel headers. - - * time/sys/time.h: Remove definition of `struct timespec'. - - * time/time.h (struct timespec): Move definition to here. - -Fri Apr 26 01:55:07 1996 Roland McGrath - - * malloc/mcheck.c (mabort): Use __libc_fatal only #ifdef _LIBC. - -Thu Apr 25 15:49:57 1996 Miles Bader - - * sysdeps/mach/hurd/getcwd.c (__getcwd): When we find a match in - the scan for a name, avoid doing another readdir (which overwrites - NENTRIES, and was resulting in a bogus ENOENT). - - * sysdeps/mach/hurd/fcntl.c (__fcntl): Add missing break after F_SETFL. - -Wed Apr 24 00:22:42 1996 Roland McGrath - - * stdio/internals.c (seek_to_target): Set errno if seek function - returns the wrong offset. - - * wcsmbs/wcsrtombs.c [! EILSEQ] (EILSEQ): Define to EINVAL. - * wcsmbs/wcrtomb.c: Likewise. - - * stdio-common/vfprintf.c: Include errno.h. - -Tue Apr 23 21:09:14 1996 Miles Bader - - * hurd/hurdsig.c (signal_allowed): For SIGIO/SIGURG, add a new - variable, LUCKY, to use instead of setting D to -1 (which fouls - things up). - -Tue Apr 23 15:56:56 1996 Roland McGrath - - * config.h.in (HAVE_REGEX): New macro. - - * sysdeps/unix/syscalls.list: Add statfs, fstatfs. - * io/Makefile (headers): Add sys/statfs.h, statfsbuf.h. - (routines): Add statfs, fstatfs. - * sysdeps/mach/hurd/statfs.c: New file. - * sysdeps/mach/hurd/fstatfs.c: New file. - * sysdeps/stub/fstatfs.c: New file. - * sysdeps/stub/statfs.c: New file. - * io/sys/statfs.h: New file. - * sysdeps/generic/statfsbuf.h: New file. - * sysdeps/unix/sysv/linux/statfsbuf.h: New file. - -Tue Apr 23 00:06:47 1996 Roland McGrath - - * malloc/Makefile (gmalloc-routines): Add valloc back here. - (dist-routines): Remove it here. - * malloc/valloc.c [_MALLOC_INTERNAL && GMALLOC_INHIBIT_VALLOC] - (ELIDE_VALLOC): Define it. - [! ELIDE_VALLOC]: Make whole file conditional on this. - * malloc/malloc.h (valloc): Make decl conditional on - [!GMALLOC_INHIBIT_VALLOC] instead of [!emacs]. - -Mon Apr 22 00:02:19 1996 Roland McGrath - - * MakeTAGS: Include version.mk. - (po/SYS_libc.pot): Add missing / in sed s cmd. - -Sat Apr 20 18:13:00 1996 Roland McGrath - - * Makerules (no-whole-archive): Test $(have-no-whole-archive), not - $(libc_cv_ld_no_whole_archive). - -Sat Apr 20 17:07:17 1996 Ulrich Drepper - - * assert/assert.h, ctype/ctype.h, dirent/dirent.h, errno.h, - grp/grp.h, io/fcntl.h, io/sys/stat.h, io/utime.h, locale/locale.h, - math/math.h, misc/nlist.h, misc/sgtty.h, misc/sys/file.h, - misc/sys/ioctl.h, misc/sys/uio.h, posix/sys/times.h, - posix/sys/types.h, posix/sys/utsname.h, posix/sys/wait.h, - posix/tar.h, posix/wordexp.h, pwd/pwd.h, resource/sys/vlimit.h, - resource/sys/vtimes.h, setjmp/setjmp.h, signal/signal.h, - stdio-common/printf.h, stdlib/alloca.h, stdlib/stdlib.h, - string/string.h, sysdeps/generic/sigaction.h, - sysdeps/generic/sigset.h, sysdeps/generic/sys/ptrace.h, - sysdeps/generic/sys/ptrace.h, sysdeps/unix/bsd/osf/sigaction.h, - sysdeps/unix/sysv/linux/sys/ptrace.h, - sysdeps/unix/sysv/minix/sigaction.h, - sysdeps/unix/sysv/sco3.2.4/sigaction.h, - sysdeps/unix/sysv/sysv4/sigaction.h, - sysdeps/unix/sysv/sysv4/sigset.h, termios/termios.h, - time/sys/time.h, time/time.h: Fix copyright comment. - -Fri Apr 19 00:49:44 1996 Roland McGrath - - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If uids and gids are - not given in stack aux vector, fetch them with syscalls. - - * stdlib/rpmatch.c (rpmatch: try): Take new arg NOMATCH, return value - for nonmatching nonerror (instead of !MATCH). - (rpmatch): Use it, so we return -1 when NOEXPR doesn't match either. - - * resolv/getnetnamadr.c (getnetbyaddr): Use u_int32_t instead of - unsigned long for variable NET2. - - * time/etcetera, time/europe, time/solar89: Updated from ADO's 96e. - -Tue Apr 9 14:37:31 1996 Ulrich Drepper - - * catgets/Makefile, catgets/catgets.c, catgets/catgetsinfo.h, - catgets/config.h, catgets/gencat.c, catgets/nl_types.h, - catgets/open_catalog.c: New files. Implementation of XPG4 - compliant catgets() function and needed tools. - * Makefile (subdirs): Add catgets. - -Thu Apr 18 23:36:11 1996 Roland McGrath - - * math/Makefile (CPPFLAGS): Append -D__NO_MATH_INLINES. - -Wed Apr 10 20:48:43 1996 Ulrich Drepper - - * stdio-common/vfprintf.c: Correct some typos. - - * sysdeps/libm-ieee754/w_gammaf.c, sysdeps/libm-ieee754/w_lgamma.c, - sysdeps/libm-ieee754/w_lgammaf.c: Reference signgam instead of - __signgam. - -Thu Apr 18 21:07:27 1996 Roland McGrath - - * Makerules (no-whole-archive): New variable. - (build-shlib): Use it. - * elf/Makefile (libdl.so): Use it. - * configure.in (libc_cv_ld_no_whole_archive): New check for - --no-whole-archive. - * config.make.in (have-no-whole-archive): New variable. - - * stdio-common/printf_fp.c: Increase fudge factor for BIGNUM_SIZE calc - from 3 to 4. - - * Make-dist: Include version.mk. - (version, release): Variables removed. - * Makeconfig (version.mk): New target. - -Fri Apr 19 01:42:18 1996 Ulrich Drepper - - * locale/Makefile (headers): Add langinfo.h. - (CPPFLAGS): Remove -Iliblib. - -Mon Apr 15 16:49:04 1996 Roland McGrath - - * malloc/memalign.c, malloc/malloc.h [__DJGPP__ == 1]: Elide memalign - function and its declaration. - -Wed Apr 10 14:13:45 1996 Miles Bader - - * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Store - MACH_PORT_DEAD in the thread reply-port variable before destroying - the signal handler's reply port, to avoid infinite recursion. - -Mon Apr 8 18:27:17 1996 Miles Bader - - * sysdeps/mach/gettimeofday.c (__gettimeofday): Don't fail if the - user passes in TZ, just zero it (emacs passes in a dummy variable, - and rms says the hurd should be the one to change). - -Sun Apr 7 10:37:30 1996 Roland McGrath - - * sysdeps/mach/hurd/fork.c: Don't leak send rights to the child's proc - port in the parent. - -Fri Apr 5 17:43:41 1996 Miles Bader - - * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Store - MACH_PORT_DEAD in the thread reply-port variable before destroying - the signal handler's reply port to avoid infinite recursion. - * sysdeps/mach/hurd/mig-reply.c (__mig_dealloc_reply_port): Only - attempt to destroy PORT if it's a valid port name. - -Wed Apr 3 17:10:44 1996 Roland McGrath - - * extra-lib.mk: Put libs in $(common-objpfx) instead of $(objpfx). - * Makerules ($(install-lib) rules): Find libs with $(common-objpfx) - instead of $(objpfx). - -Tue Apr 2 21:27:01 1996 Andreas Schwab - - * posix/glob.c (glob_pattern_p): Avoid scanning past eos if - the pattern ends with a backslash and quoting is enabled. - * posix/fnmatch.c (fnmatch): Likewise; return FNM_NOMATCH for such - patterns. - -Mon Apr 1 13:34:55 1996 Roland McGrath - - * stdio-common/tst-printf.c (main): Add new test case. - - * sysdeps/generic/setenv.c (unsetenv): Use old-style definition. - -Mon Apr 1 11:39:10 Ulrich Drepper - - * stdlib/strtod.c (STRTOD): Fix handling of American style FP - numbers. - - * stdio-common/vfprintf.c (vfprintf): Don't increment format - string pointer twice after seeing `*'. - -Sun Mar 31 17:31:54 1996 Roland McGrath - - * MakeTAGS (po/SYS_libc.pot): Prepend header processed from - po/header.pot. - -Sun Mar 31 18:07:32 1996 Ulrich Drepper - - * locale/Makefile (others, install-bin): Compiling locale works - again. - (locale-modules): locale has no --dump option anymore. Remove - ctypedump. - - * locale/programs/config.h: Don't declare euidaccess. - Use #include_next to get libc's config.h. - - * locale/programs/ctypedump.c: Not needed anymore. Dump option - of locale is removed. - - * locale/programs/locale.c: Adapt for new locale implementation. - - * stdio-common/_itoa.h (_itoa_word): Define as inline function. - * stdio-common/_itoa.c (_itoa_lower_digits, _itoa_upper_digits): - Don't declare static because used in _itoa_word inline function. - - * stdio-common/printf-parse.h: Prepare for use in wide-char - stdio implementation. - (find_spec): Take additional argument to work with mbrlen instead - of mblen. - (parse_one_spec): Ditto. - - * stdio-common/printf-prs.c: Prepare for use in wide-char - stdio implementation. - - * stdio-common/printf.h: Mark change for wide-char handling. - Changing it now would result in incompatibilities. - - * stdio-common/vfprintf.c: New and fast implementation. - - * wcsmbs/Makefile (routines): Remove pre-ISO C multibyte functions - mbsadvance, mbscat, mbschr, mbscmp, mbscpy, mbsdup, mbslen, - mbsncat, mbsncmp, mbsncpy, mbsrchr, mbstomb. - Change wcswcs to wcsstr. - Add wmemchr, wmemcmp, wmemcpy, wmemmove, wmemset, btowc, wctob, - mbsinit, mbrlen, mbrtowc, wcrtomb, mbsrtowcs, wcsrtombs. - - * wcsmbs/btowc.c, wcsmbs/mbrlen.c, wcsmbs/mbrtowc.c, - wcsmbs/mbsinit.c, wcsmbs/mbsrtowcs.c, wcsmbs/wchar.h, - wcsmbs/wcrtomb.c, wcsmbs/wcsrtombs.c, wcsmbs/wcsstr.c, - wcsmbs/wctob.c, wcsmbs/wmemchr.c, wcsmbs/wmemcmp.c, - wcsmbs/wmemcpy.c, wcsmbs/wmemmove.c, wcsmbs/wmemset.c: New - function according to ISO C amendment 1. - * wchar.h: Wrapper around "wcsmbs/wchar.h". - - * wcsmbs/wcscat.c, wcsmbs/wcschr.c, wcsmbs/wcscmp.c, - wcsmbs/wcscpy.c, wcsmbs/wcscspn.c, wcsmbs/wcsdup.c, - wcsmbs/wcslen.c, wcsmbs/wcsncat.c, wcsmbs/wcsncmp.c, - wcsmbs/wcsncpy.c, wcsmbs/wcspbrk.c, wcsmbs/wcsrchr.c, - wcsmbs/wcsspn.c, wcsmbs/wcstok.c: Changed to conform with ISO C - amendment 1. - - * wcsmbs/mbsadvance.c, wcsmbs/mbscat.c, wcsmbs/mbschr.c, - wcsmbs/mbscmp.c, wcsmbs/mbscpy.c, wcsmbs/mbsdup.c, - wcsmbs/mbslen.c, wcsmbs/mbsncat.c, wcsmbs/mbsncmp.c, - wcsmbs/mbsncpy.c, wcsmbs/mbsrchr.c, wcsmbs/mbstomb.c, - wcsmbs/mbstr.h, wcsmbs/wcstr.h, wcsmbs/wcswcs.c: Removed. - Implement functions from early drafts, not part of final standard. - -Sun Mar 31 16:50:41 1996 Roland McGrath - - * setjmp/setjmp.h (jmp_buf): Change gratuitous struct tag name to - __jmp_bug_tag so its C++ implicit typedef does not conflict with the - __jmp_buf typedef. - - * Makerules (BUILD_CFLAGS) [! objdir]: Use $(..)config.h when - compiling in the source directories. - -Fri Mar 29 16:26:35 1996 Roland McGrath - - * sysdeps/libm-ieee754/w_gamma.c: Use signgam instead of __signgam. - * sysdeps/libm-ieee754/s_signgam.c: Undo last change. - -Fri Mar 29 11:29:46 1996 Roland McGrath - - * sysdeps/libm-ieee754/s_signgam.c (signgam): Renamed to __signgam, - with weak alias signgam. - -Thu Mar 28 18:32:34 1996 Roland McGrath - - * Makeconfig (+cflags, +gcc-nowarn): Use gcc flags unconditionally. - -Thu Mar 28 14:22:51 1996 Roland McGrath - - * sunrpc/rpc_main.c (main): Call textdomain. - - * MakeTAGS (XGETTEXTFLAGS-siglist.pot, XGETTEXTFLAGS-errlist.pot): Add - --no-location. - (all-pot): Replace $(subdirs) files with $P/subdirs.pot. - ($P/subdirs.pot): New target. - ($P/SYS_libc.pot): Add -n switch. - - * locale/locale.h (LC_*): Values reordered to match Linux libc. - - * sysdeps/mach/hurd/kill.c: If proc_pid2task gives us MACH_PORT_NULL - the process is a zombie; send no messages and return success. - -Thu Mar 28 11:53:26 1996 Roland McGrath - - * wctype/cname-lookup.h: Find localeinfo.h in ../locale. - * wctype/wctype.c: Likewise. - * wctype/wctrans.c: Likewise. - -Thu Mar 28 03:00:43 1996 Roland McGrath - - * locale/nl_langinfo.c (nl_langinfo): Use DATA->values instead of - DATA->strings. - - * Makerules (BUILD_CFLAGS): Remove $(common-objpfx) from config.h. - - * configure.in (.weakext check): Fix asm code to use .weakext instead - of .weak! Fix bogus test calls. - * configure: Regenerated. - -Thu Mar 28 03:25:10 1996 Roland McGrath - - * locale/programs/xmalloc.c: Test _LIBC as well as STDC_HEADERS. - - * locale/programs/ld-collate.c (collate_finish): Use error_at_line - instead of error_with_loc. - - * locale/weight.h: Use u_int32_t instead of u32_t. - * string/strxfrm.c: Likewise. - - * string/strxfrm.c: Find weight.h in ../locale; don't #include - "localeinfo.h". - * string/strcoll.c: Likewise. - - * intl/Makefile (copysrc): Add missing > in sed cmd. - -Sat Mar 23 17:52:49 1996 Ulrich Drepper - - * Makeconfig: Rename Makefile variable nlsdir to i18ndir and - change value to $(datadir)/i18n. `nls' is not an appropriate - name. - - * Makefile (subdirs): Add new subdir wctype. - - * ctype/ctype-info.c: Add new global variable __ctype_names - and initialize from _nl_C_LC_CTYPE. - - * ctype/ctype.h: In P1003.3b/D11 `alnum' is a separate character - class. Use bit 11. - [_ISbit]: Protect definition of bitmasks because they are also - used in wctype.h. - - * libio/genops.c (_IO_sputbackc, _IO_sungetc): Clear EOF flag - after successfully pushing back a character. - - Fundamental changes in locale implementation. Almost nothing - from the old code is used anymore. - * locale/charmap.c, locale/collate.c, locale/config.h, - locale/ctypedump.c, locale/hash.h, locale/keyword.gperf, - locale/keyword.h, locale/loadlocale.c, locale/locale-ctype.c, - locale/locale.c locale/localeconv.c, locale/localedef.c, - locale/localedef.h, locale/locfile-hash.c, locale/locfile-lex.c, - locale/locfile-parse.c, locale/messages.c, locale/monetary.c, - locale/numeric.c, locale/setlocale.c, locale/token.h, - locale/xmalloc.c: Removed. - - * locale/Makefile: Update for new locale implementation with - program source code distributed in subdir. - - * locale/categories.def, locale/iso-4217.def: Updated file - for new locale implementation. - - * locale/langinfo.h: Updated for new locale implementation. - (ERA_D_T_FMT, ERA_T_FMT): New official values according to - P1003.2b/D11. - (_NL_COLLATE_NRULES, _NL_COLLATE_RULES, _NL_COLLATE_HASH_SIZE, - _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_TABLE_EB, - _NL_COLLATE_TABLE_EL, _NL_COLLATE_UNDEFINED, _NL_COLLATE_EXTRA_EB, - _NL_COLLATE_EXTRA_EL, _NL_CTYPE_NAMES_EB, _NL_CTYPE_NAMES_EL, - _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS, _NL_CTYPE_CLASS_NAMES, - _NL_CTYPE_MAP_NAMES, _NL_CTYPE_WIDTH): New internal values for - extended LC_CTYPE and LC_COLLATE implementation. - - * locale/programs/simple-hash.c, locale/programs/simple-hash.h, - locale/programs/xmalloc.c, locale/programs/xstrdup.c: Helper functions - for locale related programs. - - * locale/C-collate.c, locale/C-ctype.c, - locale/C-messages.c, locale/C-monetary.c, - locale/C-numeric.c, locale/C-time.c, - locale/lc-collate.c, locale/lc-ctype.c, - locale/lc-messages.c, locale/lc-monetary.c, - locale/lc-numeric.c, locale/lc-time.c: New implementation of locale - functions, and new generated "C" locale data. - - * locale/loadlocale.c: Now handles word fields in locale binary - automatically by changing the endianess if necessary. - - * locale/localeinfo.h (LIMAGIC): Changed magic number because - of incompatible changes. - (locale_data): Changed definition to allow word as a value type. - (coll_sort_rule): Values for collation sorting mode. - (_NL_CURRENT_WORD): New macro to access word value of locale entry. - (__collate_table, __collate_extra): Declare new global variables - for collation tables. - - * locale/programs/charmap-kw.gperf, locale/programs/charmap-kw.h, - locale/programs/charmap.c, locale/programs/charset.c, - locale/programs/charset.h, locale/programs/config.h, - locale/programs/ctypedump.c, locale/programs/ld-collate.c, - locale/programs/ld-ctype.c, locale/programs/ld-messages.c, - locale/programs/ld-monetary.c, locale/programs/ld-numeric.c, - locale/programs/ld-time.c, locale/programs/linereader.c, - locale/programs/linereader.h, locale/programs/locale.c, - locale/programs/localedef.c, locale/programs/locales.h, - locale/programs/locfile-kw.gperf, locale/programs/locfile-kw.h, - locale/programs/locfile-token.h, locale/programs/locfile.c, - locale/programs/locfile.h, locale/programs/stringtrans.c, - locale/programs/stringtrans.h: Implementation of locale related - programs. - - * locale/weight.h: Functions to access collation tables. - - * posix/unistd.h: Define _POSIX2_LOCALEDEF. - - * stdio-common/printf_fp.c: Fix bug with printing certain numbers - < 10^-1. Reported by Bill Metzenthen. - - * stdio-common/tfformat.c: Add new test for above bug. - - * string/strcoll.c, string/strxfrm.c: Real implementation of - string collation according to ISO C. - - * wctype/Makefile, wctype/cname-lookup.h, wctype/iswctype.c, - wctype/test_wctype.c, wctype/towctrans.c, wctype/wcfuncs.c, - wctype/wctrans.c, wctype/wctype.c, wctype/wctype.h: New files. - Implementation of wide character classes and mapping. - -Wed Mar 27 14:52:11 1996 Roland McGrath - - * elf/rtld.c (dl_main): Call _dl_sysdep_start_cleanup after - _dl_relocate_object loop. Avoid relocating RTLD_MAP in that loop, and - do it individually if necessary after _dl_sysdep_start_cleanup call. - - * stdlib/Makefile (mpn-routines): Add divrem. - -Tue Mar 26 22:54:14 Ulrich Drepper - - * stdio-common/printf_fp.c (__printf_fp): Use mpn_divmod - instead of __mpn_divmod. - -Wed Mar 27 10:26:21 1996 David Mosberger-Tang - - * sysdeps/alpha/setjmp.S: Must establish global pointer before - address of __sigsetjmp_aux can be loaded. - -Wed Mar 27 02:23:19 1996 Ulrich Drepper - - * sysdeps/i386/i586/memset.S: New file. Highly optimized - version for i586 contributed by Torbjorn Granlund. - Adapted for use as bzero. - * sysdeps/i386/i586/bzero.S: Use sysdeps/i386/i586/memset.S - code to implement bzero(). - -Tue Mar 26 20:01:17 1996 Roland McGrath - - * stdlib/Makefile (mpn-routines): Remove divmod. - -Tue Mar 26 15:40:14 1996 Brendan Kehoe - - * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h (NO_UNDERSCORES): Use - wrapped with #ifndef, to avoid config.h defining it. - -Mon Mar 25 13:10:04 1996 Roland McGrath - - * malloc/realloc.c (_realloc_internal): In case of growing large - block, leave _heaplimit zero across _malloc_internal call. - - * intl/Makefile [gettext-srcdir]: Use gpl2lgpl.sed on copied sources. - -Mon Mar 25 03:35:16 1996 Roland McGrath - - * malloc/malloc.c (morecore): Don't attempt recursive realloc of info - table when _heaplimit==0 during realloc growing large block. - - * MakeTAGS (extract): Remove /dev/null from xgettext command line. - (text-srcs): New variable: extract only C sources from $(tags_sources). - (po/$(domain).pot): Depend on that. - If it's empty, cp /dev/null $@ instead of $(extract). - - * misc/Makefile (headers): Add iovec.h. - * sysdeps/unix/sysv/linux/iovec.h: New file. - * sysdeps/generic/iovec.h: New file. - * misc/sys/uio.h (struct iovec): Type replaced with #include . - - * configure.in (NO_UNDERSCORES check): Use AC_TRY_LINK instead of - AC_TRY_COMPILE. - - * misc/sys/cdefs.h [__USE_BSD] (const, signed, volatile): Move these - macros inside [! __STDC__]. - - * stdlib/rpmatch.c: New file. - * stdlib/Makefile (routines): Add rpmatch. - * stdlib/stdlib.h [__USE_SVID]: Declare rpmatch. - - * MakeTAGS (MSGJOIN): Variable removed. - (po/SYS_libc.pot): Use $(XGETTEXT) instead of $(MSGJOIN). - -Wed Mar 20 20:08:46 1996 Andreas Schwab - - * sysdeps/unix/sysdep.h: Don't define C_SYMBOL_NAME. - - * sysdeps/unix/sysv/linux/m68k/sysdep.h: Don't define - NO_UNDERSCORES. - -Thu Mar 21 11:19:15 1996 Roland McGrath - - * mach/devstream.c (input): Translate \r to \n on input. - -Wed Mar 20 11:28:49 1996 Andreas Schwab - - * stdio-common/printf.h, stdio-common/printf_fp.c, - stdio-common/vfprintf.c: Place const in parameter list at - correct place. - -Wed Mar 20 23:58.12 1996 Ulrich Drepper - - * sysdeps/i386/ldbl2mpn.c: Copy of former version of - sysdeps/ieee754/ldbl2mpn.c. - * sysdeps/ieee754/ldbl2mpn.c: Remove i386 specific unification. - Reported by Andreas Schwab. - -Wed Mar 20 19:58:43 1996 Roland McGrath - - * version.c: Include version.h to define RELEASE and VERSION macros. - (__libc_release, __libc_version): Use them. - * locale/SYS_libc.c (_libc_intl_domainname): Include ../version.h and - use VERSION to define domainname as `SYS_GNU_libc-VERSION'. - * Make-dist (rel+vers): Snarf the macro values from version.h. - - * MakeTAGS (extract): Pass $(XGETTEXTFLAGS-$(@F)). - (XGETTEXTFLAGS-siglist.pot, XGETTEXTFLAGS-errlist.pot): New variables; - pass -a for these files. - - * Makerules (po/%.pot): Depend on FORCE target so recursive make is - always run. - -Mon Mar 18 22:54:32 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/wait3.c: New file. - * sysdeps/unix/sysv/linux/wait.c: Use the bsd4.4 wait, not the - one from sysdeps/posix. - -Wed Mar 20 09:42:11 1996 Roland McGrath - - * sysdeps/unix/bsd/waitflags.h (WNOREAP): New macro. - - * elf/dl-load.c (_dl_map_object_from_fd): Always set L->l_type; if not - lt_executable, then lt_library. - * elf/rtld.c (dl_main): Don't set NEW->l_type after _dl_map_object. - -Wed Mar 20 00:08:23 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/syscalls.list: Remove gtty and stty. - -Tue Mar 19 16:31:06 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/termbits.h (CRTSCTS, CBAUDEX, VEOL, - VEOL2, VMIN, VTIME): Corrected. - (PAGEOUT, WRAP, VDSUSP): Deleted. - -Tue Mar 19 14:18:42 1996 Roland McGrath - - * sysdeps/unix/readdir.c: Test [! _DIRENT_HAVE_D_RECLEN] instead of - (sizeof (DP->d_name) > 1) to detect fixed-size dir entries. - - * sysdeps/i386/fpu/__math.h (asinh): Call log1p instead of __log1p. - - * math/math.h: Move M_* constants before __math.h include. - [__NO_MATH_INLINES || __OPTIMIZE__]: Include __math.h only #if this. - - * misc/efgcvt_r.c (ecvt_r): Declare floor, log10, fabs as weak extern. - If log10 is not defined (i.e. no -lm), use stupid loop instead. - - * features.h (__FAVOR_BSD): Define only if _BSD_SOURCE is defined - and no other _*_SOURCE macro is. - (_GNU_SOURCE): Don't define by default. - * libc-symbols.h (_GNU_SOURCE): Define it. - - * configure.in (alpha*-*-linux*): Unset $gnu_ld and $elf. - - * config.make.in (weak-symbols): Variable removed. - * configure.in (--with-weak-symbols): Option removed. - (NO_UNDERSCORES, HAVE_ASM_WEAK_DIRECTIVE, HAVE_ASM_WEAKEXT_DIRECTIVE): - New tests. - - * config.h.in (HAVE_WEAK_SYMBOLS): #undef removed. - (NO_UNDERSCORES, HAVE_ASM_WEAK_DIRECTIVE, HAVE_ASM_WEAKEXT_DIRECTIVE): - New #undefs. - * libc-symbols.h: Use them instead of HAVE_WEAK_SYMBOLS. - - * sysdeps/unix/bsd/pause.c: Moved to sysdeps/unix/common/pause.c. - -Mon Mar 4 20:17:28 1996 David Mosberger-Tang - - * inet/inet_lnaof.c: Use u_int32_t instead of u_long. - * inet/inet_mkadr.c: Likewise. - * inet/inet_net.c: Likewise. - * inet/inet_netof.c: Likewise. - * inet/rcmd.c: Likewise. - * inet/arpa/inet.h: Likewise. - * inet/netinet/in.h: Likewise. - * inet/netinet/tcp.h: Likewise. - * inet/protocols/rwhod.h: Likewise. - * inet/protocols/talkd.h: Likewise. - * resolv/inet_addr.c: Likewise. - - * sysdeps/unix/sysv/linux/adjtime.c: Use INT_MAX instead of LONG_MAX. - - * sysdeps/unix/sysv/Makefile (sysdep_routines): Don't add s_getdents. - - * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Don't add mount, - umount. - - * sysdeps/alpha/__math.h (atan, cabs): New functions. - - * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: new file (syscall - expects set-value, not pointer to it). - -Sun Feb 25 22:36:10 1996 David Mosberger-Tang - - * sysdeps/unix/sysv/linux/alpha/profil-counter.h: New file. - - * gmon/gmon.c (__bb_head): new variable. - (write_hist, write_call_graph, write_bb_counts): new functions. - (_mcleanup): modified to call above functions instead of directly - writing out gmon.out. - * gmon/sys/gmon.h (struct __bb): New type. - (struct gmonhdr): Type removed. - (struct gmonparam): New member `log_hashfraction'. - (GMONVERSION): Macro removed. - - * gmon/sys/gmon_out.h, gmon/bb_exit_func.c, - sysdeps/generic/bb_init_func.c, sysdeps/alpha/bb_init_func.S: new - files. - * gmon/Makefile (headers): Add sys/gmon_out.h. - (routines): Add bb_init_func, bb_exit_func. - - * gmon/mcount.c: Avoid integer division. - -Wed Feb 21 23:56:41 1996 David Mosberger-Tang - - * sysdeps/alpha/setjmp.S: switched order in which sp and fp are - passed to match what __sigsetjmp_aux() expects. - -Tue Feb 20 11:33:46 1996 David Mosberger-Tang - - * sysdeps/unix/sysv/linux/alpha/syscalls.list (select, bind, - connect, getpeername, getsockname, listen, recv, recvfrom, - recvmsg, send, sendmsg, sendto, setsockopt, shutdown, socketpair): - added to override same-name assembly file in the parent directory. - - * stdlib/stdlib.h: add include of sys/types.h in front of random - etc declarations to ensure int32_t is declared. - - * stdlib/random.c, stdlib/random_r.c: replaced "long int" by int32_t - where 32 bit integers are required. Also change LONG_MAX into - 0x7fffffff since the intent is to turn off the sign bit in a - 32 bit integer. - - * time/offtime.c (__offtime): Use Paul Eggert's code to deal - with very large values for "days" (e.g., 64 bit values). - -Mon Feb 19 22:22:12 1996 David Mosberger-Tang - - * stdlib/stdlib.h (__random, __random_r, random_r, struct - random_data): use int32_t instead of `long int'. - -Sat Feb 17 11:29:29 1996 David Mosberger-Tang - - * sysdeps/unix/sysv/linux/alpha/ioperm.c: new file. - - * sysdeps/alpha/ffs.S: new file. - - * sysdeps/alpha/fabs.c: File removed. - - * time/tzfile.c (__tzfile_read): counter variable is i, *not* - num_transitions! - - * time/offtime.c: make capable of dealing with very large (64 bit) - time_t values. Use old algorithm until a year is reached that - is an integer multiple of 400, then use DAYS_PER_400_YEARS to - do the remainder in a single division. - - * sysdeps/generic/ffs.c (ffs): fix variable declarations to - be unsigned int, not unsigned long. - - * string/test-ffs.c (main): add test case with all upper bits - set. - - * stdlib/tst-strtol.c: add tests cases for machines where - sizeof(long)==8. - - * stdlib/testrand.c (main): disallow rand() to return negative - integers. - - * stdlib/testmb.c (main): fix format to use %lx instead of %x. - - * stdlib/stdlib.h: on 64 bit machines, declare - struct random_data, __random(), __random_r, and random_r to - return "int" instead of "long int". - - * stdlib/random_r.c: 64 bit machines use "int" instead of "long - int". Similarly, use INT_MAX instead of LONG_MAX. - - * stdlib/random.c: on 64 bit machines, randtbl[] and __random[] - need to operate on "int" instead of "long int". - - * locale/locfile-hash.c (compute_hashval): make shifted constant - a long to avoid loosing bits on 64 bit machines. - - * dirent/tst-seekdir.c (main): fix confusing comment; print - a line to mark point where directory is rewound. - -Fri Feb 16 15:01:49 1996 David Mosberger-Tang - - * time/strftime.c (strftime): any hour > 11 is PM (not > 12!). - -Wed Feb 14 00:21:17 1996 David Mosberger-Tang - - * sysdeps/unix/sysv/linux/alpha/Makefile, - sysdeps/unix/sysv/linux/alpha/brk.S, - sysdeps/unix/sysv/linux/alpha/fpu_control.c, - sysdeps/unix/sysv/linux/alpha/fpu_control.h, - sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S, - sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S, - sysdeps/unix/sysv/linux/alpha/pipe.S, - sysdeps/unix/sysv/linux/alpha/setfpucw.c, - sysdeps/unix/sysv/linux/alpha/sigprocmask.c, - sysdeps/unix/sysv/linux/alpha/speed.c, - sysdeps/unix/sysv/linux/alpha/start.S, - sysdeps/unix/sysv/linux/alpha/syscall.S, - sysdeps/unix/sysv/linux/alpha/syscalls.list, - sysdeps/unix/sysv/linux/alpha/alpha/regdef.h, - sysdeps/unix/sysv/linux/alpha/sysdep.S, - sysdeps/unix/sysv/linux/alpha/sysdep.h: New files. - - * sysdeps/alpha/setjmp_aux.c (__sigsetjmp_aux): restore return - address register before returning (gcc 2.7.1 doesn't do it, - presumably because $26 is declared as a global variable). - - * sysdeps/unix/sysv/linux/sys/mman.h: msync was missing "flags" - argument. - - * sysdeps/unix/alarm.c (alarm): do roundup using test & increment - instead of multiplication. - - * sysdeps/posix/sleep.c (sleep): initialize sa_mask to mask of - currently blocked signals instead of the empty mask to ensure - that execution of alarm handler occurs with none of the currently - blocked signals enabled. - - * sysdeps/unix/alpha/sysdep.h: new file (adapted from OSF/1 version). - - * sysdeps/unix/bsd/osf/alpha/sysdep.h: include - sysdeps/unix/alpha/sysdep.h and removed definitions now in that file. - - * sysdeps/alpha/divrem.S, sysdeps/alpha/htonl.S, - sysdeps/alpha/htons.S, sysdeps/alpha/machine-gmon.h, - sysdeps/alpha/_mcount.S, sysdeps/alpha/ntohl.s, sysdeps/alpha/ntohs.s, - sysdeps/alpha/strlen.S: New files. - - * sysdeps/alpha/divl.S, sysdeps/alpha/divlu.S, sysdeps/alpha/divq.S, - sysdeps/alpha/divqu.S, sysdeps/alpha/divrem.m4, - sysdeps/alpha/macros.m4, sysdeps/alpha/reml.S, sysdeps/alpha/remlu.S, - sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S, sysdeps/alpha/strlen.c: - Removed. - - * sysdeps/generic/sbrk.c (__sbrk): argument is of type ptrdiff_t, not - int. - - * sysdeps/alpha/__longjmp.c (__longjmp): moved dummy while loop - to end of function to avoid a jump across NOPs. - - * sysdeps/alpha/Makefile (sysdep_routines): Removed all rules - pertaining to integer division/remainder routines since new code - doesn't require them. - - * sunrpc/xdr_mem.c, sunrpc/xdr_stdio.c: Use 4 instead of sizeof(long) - where 32 bit quantities are consumed/stored. Various other minor - 64-bit cleanups (casting). - - * sunrpc/xdr.c (xdr_int): test for sizeof(int)==4 to determine - whether xdr_long or xdr_short should be used to encode an int. - Notice that an xdr_long is 4 bytes independent of the architecture - (otherwise no Alpha could interoperate with existing NFS servers, - for example). Ditto for enums. - - * sunrpc/svc_udp.c (svcudp_recv): changed test from 4*sizeof(u_long) - to 16 since it really wants 16 bytes. - - * sunrpc/svc.c (maskp): changed from u_long* to u_int32*. - - * sunrpc/rpc/xdr.h (IXDR_GET_LONG, IXDR_PUT_LONG): change casts to - u_int32_t (instead of u_long). - - * sunrpc/rpc_cmsg.c (xdr_callmsg), sunrpc/svc_authux.c: increment - "buf" pointer by casting it to a char* first since a long* may be 8 - bytes or more and oa->oa_length may be any multiple of 4. - - * sunrpc/clnt_udp.c (clntudp_call): replaced sizeof(u_long) by 4 - since it really is testing for 32 bits. Fixed casts to use - u_int32 instead of u_long. - * sunrpc/xdr_rec.c: Likewise. - - * sunrpc/clnt_tcp.c (clnttcp_call): replaced u_long by u_int32. - * sunrpc/rpc/auth.h: Likewise. - - * limits.h (LONG_MAX, LONG_MIN, ULONG_MAX): use 64 bit values - for Alpha. - -Tue Mar 19 13:27:49 1996 Roland McGrath - - * sysdeps/i386/fpu/__math.h: New file. - Contributed by John C. Bowman . - -Sun Mar 17 00:28:16 1996 Andreas Schwab - - * sysdeps/posix/clock.c: Don't multiply the return value by - CLOCKS_PER_SEC or CLK_TCK. - -Mon Mar 18 13:20:46 1996 Roland McGrath - - * sysdeps/mach/hurd/getcwd.c: Fail with ENOENT if a parent directory - scan finds no match. - - * posix/unistd.h (setpgrp): Declare no-arg version unless __FAVOR_BSD. - * misc/bsd-compat.c (setpgrp): New function, two arg version. - * sysdeps/stub/setpgid.c: Remove setpgrp alias. - * sysdeps/mach/hurd/setpgid.c: Likewise. - * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise. - * sysdeps/unix/common/syscalls.list (setpgid): Remove setpgrp alias. - * sysdeps/unix/sysv/irix4/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/setpgrp.c: Obsolete file removed. - * posix/setpgrp.c (setpgrp): New file. - * posix/Makefile (routines): Add setpgrp. - - * elf/Makefile (rtld-link): New canned sequence. - (ld.so, ld-linux.so.1): Use it. Pass -soname option. - - * sysdeps/i386/setjmp.S (__setjmp): Define compatibility entry point. - -Sun Mar 17 23:15:32 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/tcgetpgrp.c, - sysdeps/unix/sysv/linux/tcsetpgrp.c: New files. - -Sun Mar 17 07:19:33 1996 Roland McGrath - - * db/Makefile (CFLAGS-hash_func.c): New variable; pass -Wno-unused. - (CFLAGS): Append -Wno-unitialized. - -Sat Mar 16 20:58:43 1996 Roland McGrath - - * stdlib/erand48_r.c: Use FP division by powers of two to distribute - short bits into double. - -Sat Mar 16 20:08:22 1996 David Mosberger-Tang - - * sysdeps/alpha/memchr.S: New file. - * sysdeps/alpha/memchr.c: Obsolete file removed. - * string/tester.c: Soup up memchr tests. - -Sat Mar 16 16:26:09 1996 Roland McGrath - - * misc/Makefile (headers): Add sysexits.h. - * misc/sysexits.h: New file. - -Thu Mar 14 15:20:45 1996 Andreas Schwab - - * sysdeps/libm-ieee754/e_atan2.c (__ieee754_atan2): Change atan - call to __atan. - * sysdeps/libm-ieee754/e_atan2f.c (__ieee754_atan2f): Change atanf - call to __atanf. - - * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_acosf.c, - sysdeps/m68k/fpu/e_asin.c, sysdeps/m68k/fpu/e_asinf.c, - sysdeps/m68k/fpu/e_atanh.c, sysdeps/m68k/fpu/e_atanhf.c, - sysdeps/m68k/fpu/e_cosh.c, sysdeps/m68k/fpu/e_coshf.c, - sysdeps/m68k/fpu/e_exp.c, sysdeps/m68k/fpu/e_expf.c, - sysdeps/m68k/fpu/e_fmod.c, sysdeps/m68k/fpu/e_fmodf.c, - sysdeps/m68k/fpu/e_log.c, sysdeps/m68k/fpu/e_log10.c, - sysdeps/m68k/fpu/e_log10f.c, sysdeps/m68k/fpu/e_logf.c, - sysdeps/m68k/fpu/e_pow.c, sysdeps/m68k/fpu/e_powf.c, - sysdeps/m68k/fpu/e_remainder.c, sysdeps/m68k/fpu/e_remainderf.c, - sysdeps/m68k/fpu/e_scalb.c, sysdeps/m68k/fpu/e_scalbf.c, - sysdeps/m68k/fpu/e_sinh.c, sysdeps/m68k/fpu/e_sinhf.c, - sysdeps/m68k/fpu/e_sqrt.c, sysdeps/m68k/fpu/e_sqrtf.c, - sysdeps/m68k/fpu/k_cos.c, sysdeps/m68k/fpu/k_cosf.c, - sysdeps/m68k/fpu/k_sin.c, sysdeps/m68k/fpu/k_sinf.c, - sysdeps/m68k/fpu/k_tan.c, sysdeps/m68k/fpu/k_tanf.c, - sysdeps/m68k/fpu/s_atan.c, sysdeps/m68k/fpu/s_atanf.c, - sysdeps/m68k/fpu/s_ceil.c, sysdeps/m68k/fpu/s_ceilf.c, - sysdeps/m68k/fpu/s_cos.c, sysdeps/m68k/fpu/s_cosf.c, - sysdeps/m68k/fpu/s_expm1.c, sysdeps/m68k/fpu/s_expm1f.c, - sysdeps/m68k/fpu/s_fabs.c, sysdeps/m68k/fpu/s_fabsf.c, - sysdeps/m68k/fpu/s_finite.c, sysdeps/m68k/fpu/s_finitef.c, - sysdeps/m68k/fpu/s_floor.c, sysdeps/m68k/fpu/s_floorf.c, - sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_frexpf.c, - sysdeps/m68k/fpu/s_ilogb.c, sysdeps/m68k/fpu/s_ilogbf.c, - sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_isinff.c, - sysdeps/m68k/fpu/s_isnan.c, sysdeps/m68k/fpu/s_isnanf.c, - sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c, - sysdeps/m68k/fpu/s_log1p.c, sysdeps/m68k/fpu/s_log1pf.c, - sysdeps/m68k/fpu/s_logb.c, sysdeps/m68k/fpu/s_logbf.c, - sysdeps/m68k/fpu/s_modf.c, sysdeps/m68k/fpu/s_modff.c, - sysdeps/m68k/fpu/s_rint.c, sysdeps/m68k/fpu/s_rintf.c, - sysdeps/m68k/fpu/s_scalbn.c, sysdeps/m68k/fpu/s_scalbnf.c, - sysdeps/m68k/fpu/s_significand.c, - sysdeps/m68k/fpu/s_significandf.c, sysdeps/m68k/fpu/s_sin.c, - sysdeps/m68k/fpu/s_sinf.c, sysdeps/m68k/fpu/s_tan.c, - sysdeps/m68k/fpu/s_tanf.c, sysdeps/m68k/fpu/s_tanh.c, - sysdeps/m68k/fpu/s_tanhf.c: New files, for m68881 port of fdlibm. - - * sysdeps/m68k/fpu/__math.h: Rewritten for fdlibm. - - * sysdeps/m68k/fpu/isinfl.c: Rewritten to get argument type right. - * sysdeps/m68k/fpu/isnanl.c: Likewise. - -Thu Mar 14 06:01:07 1996 Roland McGrath - - * posix/glob.c (glob): In GLOB_BRACE brace expansion, fix buffer size - calculation to include trailing invariant portion. Don't use alloca; - instead use a dynamic auto array for GCC, malloc for non-GCC. - Handle nested braces properly. - - * elf/elf.h (Elf32_auxv_t): Specify prototype (void) for `a_un.a_fcn'. - - * libc-symbols.h (lint): New macro. - -Fri Mar 15 01:18:00 1996 Andreas Schwab - - * libio/iosetvbuf.c: Add weak alias setvbuf. - -Thu Mar 14 06:01:07 1996 Roland McGrath - - * string/strnlen.c: New file. - * string/Makefile (routines): Add strnlen. - * string/string.h [__USE_GNU] (strnlen): Declare new function. - [__OPTIMIZE__]: Define extern inline implementation of it. - - * stdlib/erand48_r.c: Use __mpn_construct_double instead of ldexp and - addition, to avoid using anything from -lm. - -Mon Mar 4 21:57:14 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/Makefile: New file. - - * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYS_ify): Redefine. - (CALL_MCOUNT): New macro, empty unless [PROF]. - (ENTRY): Do CALL_MCOUNT just after the label. - (JUMPTARGET): New macro. - (SYSCALL_ERROR_HANDLER): Fix syntax. - -Thu Mar 14 04:20:48 1996 Roland McGrath - - * sysdeps/unix/sysv/linux/init-first.c (init): Call `__personality' - function instead of using inline asm i386 syscall. - * sysdeps/unix/sysv/linux/syscalls.list: Add personality syscall. - - * posix/unistd.h [__USE_BSD]: Declare usleep. - -Tue Mar 12 04:57:57 1996 Roland McGrath - - * misc/efgcvt.c (MAXDIG): New macro computed from constants. - (fcvt, ecvt): Use it for buffer size. - - * stdlib/drand48-iter.c (__drand48_iterate): Use u_int64_t instead of - conditionalizing long vs long long. - - * stdlib/drand48-iter.c (__drand48_iterate): Don't check for null - pointers; never return EFAULT. - * stdlib/drand48_r.c (drand48_r): Likewise. - * stdlib/erand48_r.c (erand48_r): Likewise. - - * setjmp/Makefile (tests): Add jmpbug. - * setjmp/jmpbug.c: New file. - -Tue Mar 12 04:42:01 1996 Roland McGrath - - * sysdeps/sparc/jmp_buf.h: Rewritten; use array of ints, not struct. - * sysdeps/sparc/setjmp.S: Rewritten; store %fp value as well. - * sysdeps/sparc/__longjmp.S: Rewritten; unwind frames one by one with - `restore' until the target frame is hit. - -Sun Mar 10 20:29:40 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/sigsuspend.c: New file. - * sysdeps/unix/sysv/linux/syscalls.list: Remove sigsuspend, add - s_sigsuspend. - -Thu Mar 7 21:30:58 1996 Andreas Schwab - - * Makerules (+make-deps, sed-remove-objpfx): Quote periods on the - left side of sed substitutions. - -Sun Mar 10 16:58:10 1996 Ulrich Drepper - - * stdio-common/printf_fp.c (hack_digit): __mpn_normal_size - is not available anymore. Do it ourselves. - - * sysdeps/unix/sysv/linux/i386/fpu_control.h (_FPU_SETCW): - Correct GCC `asm' syntax. - -Tue Mar 12 03:15:02 1996 Roland McGrath - - * stdio-common/Makefile (tests): Add tst-ungetc. - * stdio-common/tst-ungetc.c: New test from drepper. - * stdio-common/tstscanf.c (main): New %[ test case from drepper. - - * sysdeps/libm-ieee754/s_scalbn.c (scalbn): Rename to __scalbn; - somehow this was missed, though the weak alias is already there. - - * sysdeps/unix/sysv/linux/i386/fpu_control.h (_FPU_DEFAULT): Change - default to double precision, all interrupts masked; fdlibm requires. - -Sat Mar 9 18:44:27 1996 Roland McGrath - - * sysdeps/unix/sysv/linux/i386/setfpucw.c: Obsolete file removed. - -Fri Mar 8 22:16:48 1996 Roland McGrath - - * stdio-common/printf_fp.c (HAVE_ALLOCA): New macro. - -Tue Mar 5 18:45:14 1996 Miles Bader - - * sysdeps/mach/hurd/select.c (__select): Include LASTFD in the - final loop. - -Mon Mar 4 20:54:40 1996 Andreas Schwab - - * Makeconfig ($(common-objpfx)config.make): Depend on config.h.in. - -Tue Mar 5 12:14:57 1996 Miles Bader - - * sysdeps/mach/hurd/select.c (__select): Also don't fault just - because some fdmask is 0. - -Mon Mar 4 17:35:35 1996 Miles Bader - - * sysdeps/mach/hurd/select.c (__select): - Don't increment GOT only because READ/WRITE/EXCEPTFDS is 0! - Don't return without frobbing the bitmasks after a timeout. - When clearing the bitmasks, only loop from FIRSTFD to LASTFD. - -Mon Mar 4 17:35:09 1996 Roland McGrath - - * hurd/catch-signal.c (hurd_safe_memmove): New function. - (hurd_safe_copyin, hurd_safe_copyout): New functions. - * hurd/hurd/sigpreempt.h: Declare them. - -Sun Mar 3 08:43:44 1996 Roland McGrath - - Replace math code with fdlibm from Sun as modified for netbsd by - JT Conklin and Ian Taylor, including x86 FPU support. - * sysdeps/libm-ieee754, sysdeps/libm-i387: New directories. - * math/math_private.h: New file. - * sysdeps/i386/fpu/Implies: New file. - * sysdeps/ieee754/Implies: New file. - * math/machine/asm.h, math/machine/endian.h: New files. - * math/Makefile, math/math.h: Rewritten. - * mathcalls.h, math/mathcalls.h: New file, broken out of math.h. - * math/finite.c: File removed. - * sysdeps/generic/Makefile [$(subdir)=math]: Frobnication removed. - - * math/test-math.c: Include errno.h and string.h. - - * sysdeps/unix/bsd/dirstream.h: File removed. - * sysdeps/unix/bsd/readdir.c: File removed. - -Sat Mar 2 16:35:40 1996 Roland McGrath - - * sysdeps/unix/sysv/linux/m68k/profil-counter.h: File removed. - * sysdeps/unix/sysv/sysv4/solaris2/sparc/profil-counter.h: File - removed. - * sysdeps/generic/profil-counter.h: New file. - -Fri Mar 1 17:11:59 1996 Brendan Kehoe - - * sysdeps/unix/sysv/sysv4/solaris2/sparc/sigcontext.h: New file, - including . - * sysdeps/unix/sysv/sysv4/solaris2/sparc/profil-counter.h: New file, - same as linux/m68k/profil-counter.h except the comment. - -Fri Mar 1 10:09:46 1996 Roland McGrath - - * stdlib/Makefile (mpn-stuff): New target. - (copy-mpn): Use it. - - * Code copied from GMP updated to 1.937 version. - * stdlib/strtod.c (HAVE_ALLOCA): Define this for gmp headers. - - * posix/glob.c: Use canonical code from autoconf manual for dirent - include. - [_D_NAMLEN]: Redefine NAMLEN using this. - (glob_in_dir): Use NAMLEN macro. - - * sysdeps/posix/profil.c: New file. - -Thu Feb 29 20:55:57 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/profil-counter.h: New file. - -Tue Feb 27 12:14:59 1996 Roland McGrath - - * libc-symbols.h [GCC >= 2.8] (strong_alias, weak_alias): Remove - `extern' keyword. - - * time/strftime.c: Support - and _ flags to affect number padding. - - * sysdeps/unix/common/tcsendbrk.c: New file. - -Mon Feb 26 10:22:30 1996 Roland McGrath - - * sysdeps/unix/dirstream.h: Rewritten. - * sysdeps/unix/readdir.c: Rewritten. - * sysdeps/unix/telldir.c: Rewritten. - * sysdeps/unix/closedir.c: Use <...> instead of "..." for dirstream.h. - Remove __ from DIR struct member names. - * sysdeps/unix/dirfd.c: Likewise. - * sysdeps/unix/seekdir.c: Likewise. - * sysdeps/unix/rewinddir.c: Likewise. - * sysdeps/unix/opendir.c: Likewise. Don't allocate extra space after - DIR structure. - * sysdeps/stub/direct.h: File removed. - * sysdeps/unix/bsd/bsd4.4/direct.h: File removed. - * sysdeps/unix/bsd/direct.h: File removed. - * sysdeps/unix/common/direct.h: File removed. - * sysdeps/unix/sysv/irix4/direct.h: File removed. - * sysdeps/unix/sysv/isc3/direct.h: File removed. - * sysdeps/unix/sysv/sco3.2.4/direct.h: File removed. - * sysdeps/unix/sysv/sysv4/solaris2/direct.h: File removed. - * sysdeps/unix/common/direntry.h: New file. - * sysdeps/unix/bsd/direntry.h: New file. - * sysdeps/unix/bsd/bsd4.4/direntry.h: New file. - * sysdeps/unix/sysv/direntry.h: New file. - * sysdeps/stub/direntry.h: New file. - * dirent/dirent.h (struct dirent): Type removed. Include - to define it. - (_D_EXACT_NAMLEN, _D_ALLOC_NAMLEN): New macros. - * dirent/Makefile (headers): Add direntry.h. - (distribute): Remove direct.h. - * sysdeps/posix/getcwd.c: Use new macros instead of d_namlen. - * dirent/scandir.c: Likewise. - * io/fts.c (fts_build): Likewise. - * io/ftw.c (ftw_dir): Likewise. - * sysdeps/posix/ttyname.c: Likewise. - - * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: New file. - - * sysdeps/mach/hurd/profil.c (MAX_PC_SAMPLES): New macro. - (collector_timeout): New static variable. - (update_waiter): Actually call __task_enable_pc_sampling. - Set collector_timeout based on the `tick' count returned. - (profile_waiter): Use MAX_PC_SAMPLES. Set nsamples before RPC. - Use collector_timeout in __mach_msg call. - - * gmon/Makefile (noprof): New variable containing mcount. - Append profil unless it is in $(unix-syscalls). - (mcount.po): Use $(noprof) for list of targets in this rule. - - * libc-symbols.h: Define _LIBC before #include . - -Sun Feb 25 12:29:23 1996 Roland McGrath - - * config.h.in [_LIBC] (HAVE_STRERROR): Define it. - Protect 2nd page of #undef's for generator programs with #ifndef _LIBC. - - * time/zic.c, time/zdump.c, time/private.h: Updated from ADO 96e. - -Fri Feb 9 12:40:19 1996 Brendan Kehoe - - * libio/cleanup.c (_IO_cleanup_registration_needed) - [!_G_HAVE_ATEXIT]: Init to NULL. - * libio/filedoalloc.c (_IO_cleanup_registration_needed): Remove decl. - -Thu Feb 8 08:12:50 1996 Brendan Kehoe - - * libio/filedoalloc.c (_IO_cleanup_registration_needed): Revert - previous change, since cleanup.c only defines it if _G_HAVE_ATEXIT. - -Wed Feb 7 15:10:17 1996 Brendan Kehoe - - * libio/filedoalloc.c (_IO_cleanup_registration_needed): Declare as - extern. - -Sat Feb 24 11:34:13 1996 Roland McGrath - - * sysdeps/i386/memcmp.S: Fix argument %esp offsets. - - * time/sys/time.h (timeradd, timersub): New macros; BSD has these. - -Wed Feb 21 02:25:07 1996 Roland McGrath - - * Rules (others): Depend on $(extra-objs), $(install-lib), - $(install-bin), $(install-sbin), in object directory. - - * Makeconfig (link-libc): Don't pass -rpath option with default - path, since ld.so should use the same default. - * Makerules (build-shlib): Likewise. - - * Makerules (make-target-directory): Use mkinstalldirs. - - * sysdeps/mach/i386/sysdep.h: Include unix/i386/sysdep.h to - redefine ENTRY et al. - - * sysdeps/unix/sysv/linux/i386/sysdep.h (NO_UNDERSCORES, ENTRY): - Macros removed. The code in unix/i386/sysdep.h should now suffice. - - * sysdeps/unix/i386/sysdep.h (ALIGNARG): New macro, defns for - [HAVE_ELF] and not. - (ENTRY): Use it in .align directive. - (CALL_MCOUNT): New macro, empty unless [PROF]. - (ENTRY): Do CALL_MCOUNT just after the label. - - * Makeconfig (CPPFLAGS-.po): New variable, use -DPROF so assembly - code can call mcount. - -Tue Feb 20 23:05:16 1996 Roland McGrath - - * time/private.h, time/zdump.c, time/zic.c: Updated verbatim from ADO; - translation markings are now integrated in his distribution. - - * stdlib/strtod.c (round_and_return): Add missing (mp_limb) 1 cast. - -Mon Feb 19 18:31:59 1996 Roland McGrath - - * po: New directory where `LANG.po' files for message translations - will reside. - * po/SYS_libc.pot: New file, template of message strings as in source. - * MakeTAGS: New rules to build po/SYS_libc.pot automatically from - the source using xgettext. - * Makerules ($(..)po/%.pot): New rule. - * manual/Makefile (../po/manual.pot): New target, make it empty. - - * sysdeps/unix/bsd/alarm.c: Moved to sysdeps/unix/alarm.c. - * sysdeps/unix/bsd/nice.c: Moved to sysdeps/unix/nice.c. - * sysdeps/unix/bsd/stime.c: Moved to sysdeps/unix/stime.c. - * sysdeps/unix/bsd/time.c: Moved to sysdeps/unix/time.c. - * sysdeps/unix/bsd/utime.c: Moved to sysdeps/unix/utime.c. - - * time/zic.c, time/scheck.c, time/private.h, time/tzfile.h: - Updated from ADO 96d. - -Sun Feb 18 14:08:04 1996 Andreas Schwab - - * csu/initfini.c (_init): Remove bogus volatile declarations and - extra variable, take the address of __gmon_start__ only implicitly - to avoid the test being optimized out. - -Sun Feb 18 15:08:10 1996 Andreas Schwab - - * sysdeps/posix/utimes.c (__utimes): There are 1000000 usecs in a - sec. - -Sun Feb 18 13:56:00 1996 Andreas Schwab - - * elf/Makefile, time/Makefile: Make `all' the default target. - -Mon Feb 19 18:09:04 1996 Roland McGrath - - * misc/sys/ptrace.h: Moved to ... - * sysdeps/generic/sys/ptrace.h: ... here. - * sys/ptrace.h: File removed. - -Sun Feb 18 12:13:07 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/Makefile (headers): Add fpu_control.h. - - * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Put it into .bss - so that the symbol alias works. - - * sysdeps/unix/sysv/linux/m68k/fpu_control.h (_FPU_SETCW): Corrected. - - * sysdeps/unix/sysv/linux/resourcebits.h: New file. - - * sysdeps/unix/sysv/linux/sys/ptrace.h: New file. - - * sysdeps/unix/sysv/linux/syscalls.list: Add getegid, geteuid, - getppid and reboot. - - * sysdeps/unix/sysv/linux/sysconf.c: Special version that does not - use getdtablesize. - -Sat Feb 17 10:30:21 1996 David Mosberger-Tang - - * stdio-common/printf_fp.c, stdlib/strtod.c, sysdeps/ieee754/dbl2mpn.c, - sysdeps/ieee754/ldbl2mpn.c, sysdeps/ieee754/mpn2dbl.c, - sysdeps/ieee754/mpn2ldbl.c: Cast left operands of shift instructions - to `long' where necessary. - -Thu Feb 15 20:04:50 1996 Ulrich Drepper - - * stdlib/fpioconst.h: Introduce new constant _FPIO_CONST_OFFSET. - * stdio-common/printf_fp.c, stdlib/strtod.c: Use _FPIO_CONST_OFFSET - to correctly access MPN array depending on architecture. - -Mon Feb 19 15:30:26 1996 Roland McGrath - - * stdio-common/tstscanf.c (main): Add check for "0" as %d. - - * sysdeps/stub/msync.c: Undo change of Jan 29; just two args. - Only some systems have three args; let them define their own stub. - - * sysdeps/generic/dl-sysdep.c: Declare _dl_secure. - - * sysdeps/generic/machine-gmon.h: New file. - * gmon/Makefile (distribute): Add machine-gmon.h. - * gmon/mcount.c: Undo changes of Feb 13. - Include "machine-gmon.h". - -Sun Feb 18 13:24:06 1996 Roland McGrath - - * sysdeps/unix/sysv/linux/direct.h: File removed, since it is - identical to unix/common/direct.h. - - * sysdeps/unix/Makefile [no_deps]: Don't include s-proto.d. - - * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Don't add ipc. - - * stdio-common/Makefile (tests): Remove scanf6. - - * sysdeps/unix/sysv/linux/Makefile (non-lib.a): Append libieee.a. - - * time/mktime.c (mktime): Move static variable localtime_offset to - file scope. - - * stdio-common/vfscanf.c: Put '0' in buffer before scanning for %i - base indicator. - -Thu Feb 15 16:56:17 1996 Andreas Schwab - - * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Corrected. - (ELF_MACHINE_BEFORE_RTLD_RELOC): Define. - (_dl_runtime_resolve): Save %a1 as well. - (ELF_MACHINE_RUNTIME_FIXUP_ARGS): Add second dummy arg. - (elf_machine_relplt): Define. - - * elf/dl-runtime.c: Include possible extra args in declaration of - fixup. - -Fri Feb 16 11:01:59 1996 Roland McGrath - - * time/tzset.c: Limit hours to 23, not 12. From jaffer. - -Fri Feb 16 10:14:05 1996 Roland McGrath - - * Makeconfig (CFLAGS-.po): Use -pg instead of -p. - -Thu Feb 15 13:57:08 1996 Roland McGrath - - * mach/Machrules: Use -include for $(*.ir). - - * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS): Mask off type bits in - request values. - * sysdeps/mach/hurd/ioctls.h (_IOC_NOTYPE): New macro. - (_IOT_COUNT2): Field is 3 bits, not 2. - * sysdeps/mach/hurd/ioctl.c: Ignore handler if it fails with ENOTTY. - * hurd/hurdioctl.c (_hurd_lookup_ioctl_handler): Mask off type - bits before looking up handler. - (fioctl): Use __hurd_dfail. - (fioctl, fioclex): Use ENOTTY for bogus request instead of EGRATUITOUS. - -Thu Feb 15 11:49:45 1996 Roland McGrath - - * sysdeps/unix/sysv/sysv4/Makefile [$(subdir)-signal] - (sysdep_routines): Don't add sys-sig. - - * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: New file. - -Wed Feb 14 00:21:17 1996 David Mosberger-Tang - - * sysdeps/alpha/memchr.c (memchr): loop searching for matching - character bailed out one too early; changed constant 6 to - 7 to fix this. - -Wed Feb 14 01:08:58 1996 Roland McGrath - - * posix/execvp.c: When executing shell on script, first arg is - full file name, not argv[0]. - - * mach/Makefile [no_deps]: Inhibit inclusion of mach-syscalls.mk. - * mach/Machrules [no_deps]: Inhibit interface rules. - - * malloc/Makefile (distribute): Removed TODO. - -Tue Feb 13 05:12:02 1996 Roland McGrath - - * sysdeps/unix/sysv/linux/syscalls.list (ipc): Specify msgget in - caller column. - - * sysdeps/unix/common/syscalls.list: Add sigaction syscall. - - * sysdeps/unix/sysv/linux/gnu/types.h: Moved from linux/i386. - - * sysdeps/unix/sysv/linux/Makefile [$(subdir)=math] - (sysdep_routines): Append setfpucw. - (extra-objs): Append ieee-fpucw.o. - (install-lib): Append libieee.a. - (libieee.a): New target. - * sysdeps/unix/sysv/linux/ieee-fpucw.c: New file. - * sysdeps/unix/sysv/linux/i386/fpu_control.h - (_FPU_GETCW, _FPU_SETCW): New macros. - (fpu_control_t): New typedef. - (__setfpucw): Use fpu_control_t for argument type. - * sysdeps/unix/sysv/linux/fpu_control.c: Moved from linux/i386. - - * sysdeps/unix/sysv/linux/init-first.c: Moved from linux/i386. - - * sysdeps/unix/sysv/linux/syscalls.list: Add ipc syscall. - * sysdeps/unix/sysv/linux/i386/syscalls.list: File removed. - -Sat Feb 10 13:09:03 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/brk.c, - sysdeps/unix/sysv/linux/m68k/mmap.S, - sysdeps/unix/sysv/linux/m68k/select.S, - sysdeps/unix/sysv/linux/m68k/sigcontext.h, - sysdeps/unix/sysv/linux/m68k/sigreturn.S, - sysdeps/unix/sysv/linux/m68k/socket.S, - sysdeps/unix/sysv/linux/m68k/syscall.S, - sysdeps/unix/sysv/linux/m68k/sysdep.S, - sysdeps/unix/sysv/linux/m68k/sysdep.h: New files. - - * sysdeps/unix/sysv/linux/m68k/fpu_control.h: New file. - - * sysdeps/m68k/fpu/isinfl.c, sysdeps/m68k/fpu/isnanl.c, - sysdeps/m68k/isinfl.c, sysdeps/m68k/isnanl.c: New files. - - * sysdeps/unix/sysv/linux/sys/mman.h: Define MAP_ANON and - MAP_FILE if not already defined. - - * elf/elf.h: Add m68k reloc definitions. - * sysdeps/m68k/dl-machine.h, sysdeps/m68k/elf/start.S: New files. - -Tue Feb 13 00:12:12 1996 Roland McGrath - - * elf/dl-runtime.c (fixup) [ELF_MACHINE_RUNTIME_FIXUP_ARGS]: Let - this macro declare extra leading args. - - * Makerules [$(elf)=yes] (ar-symtab-name): Define to empty. - - * sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE, - elf_machine_relplt): New macros. - * elf/dl-runtime.c: New file. - * sysdeps/i386/dl-runtime.c, sysdeps/stub/dl-runtime.c: Files removed. - - * gmon/Makefile (headers): Remove machine-gmon.h. - * sysdeps/stub/machine-gmon.h, sysdeps/i386/machine-gmon.h: Removed. - * gmon/mcount.c [! NO_UNDERSCORES] (_mcount): Specify "mcount" as - the asm name. - (_mcount): Define normally, taking no args. - Use __builtin_return_address to fetch PC values of caller and caller's - caller. - - * Makerules: Rewrote rules to update libc archives of all flavors. - Define separate specific rules for each flavor using o-iterator. - - * sysdeps/unix/Makefile: Include s-proto.d only ifdef subdir. - -Sat Feb 10 11:35:16 1996 Andreas Schwab - - * Makerules (ar-symtab-name): New macro. Replace all occurences - of __.SYMDEF by $(ar-symtab-name). - * sysdeps/unix/sysv/Makefile (ar-symtab-name): Define as empty. - -Mon Feb 12 03:10:41 1996 Roland McGrath - - * Makefile (configure, %/configure): Depend on aclocal.m4. - * Make-dist (configure, %/configure): Likewise. - - * sysdeps/unix/Makefile: Include s-proto.d for its deps. - - * gmon/sys/gmon.h: Don't include machine-gmon.h; those defns are - only needed in the implementation, not for any users. - - * time/northamerica: Updated from ADO 96c, new rules for Mexico in - 1996. - - * sunrpc/pm_getport.c: #if 0 out gratuitous inclusion of . - * sunrpc/pm_getmaps.c: Likewise. - - * sysdeps/unix/sysv/syscalls.list: Add setrlimit and settimeofday, - so real syscalls override unix/sysv/*.c on sysv-derived systems - that have them. - * sysdeps/unix/common/syscalls.list: Add settimeofday here, to - override unix/sysv/settimeofday.c since that overrides - unix/syscalls.list. - - * Makeconfig (+link): Put $(link-libc) after deps from $^, - regardless of where libc.a appears in the deps. - - * sysdeps/unix/sysv/sysv4/syscalls.list: Remove redundancies. - Add __waitid. - * sysdeps/unix/sysv/linux/syscalls.list: Remove redundancies. - Define __ name for sigprocmask. - * sysdeps/unix/bsd/ultrix4/syscalls.list: Remove redundancies. - Add getsysinfo. - * sysdeps/unix/bsd/sun/sunos4/syscalls.list: Remove redundancies. - * sysdeps/unix/bsd/sun/syscalls.list: Remove redundancies. - * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove redundancies. - * sysdeps/unix/bsd/syscalls.list: Remove settimeofday, utimes. - Add getdents, wait3, waitpid. - * sysdeps/unix/syscalls.list: Add seteuid, setegid, setsid, - settimeofday, sigsuspend, sstk, utimes. - * sysdeps/unix/bsd/ultrix4/mips/sigvec.S: File removed. - * sysdeps/unix/bsd/ultrix4/mips/syscalls.list: New file. - * sysdeps/unix/bsd/ultrix4/mips/Makefile (sysdep_routines): - Removed sigtramp. - * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: Renamed from sigtramp.c. - * sysdeps/unix/bsd/bsd4.4/sstk.S: File removed. - * sysdeps/unix/bsd/hp/m68k/syscalls.list: File removed. - * sysdeps/unix/bsd/osf/alpha/getdents.S: File removed. - * sysdeps/unix/bsd/ultrix4/getsysinfo.S: File removed. - * sysdeps/unix/bsd/ultrix4/waitpid.S: File removed. - * sysdeps/unix/bsd/ultrix4/mips/sigtramp.c: File removed. - * sysdeps/unix/bsd/ultrix4/mips/sigvec.S: File removed. - * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: New file. - * sysdeps/unix/bsd/ultrix4/mips/syscalls.list: New file. - * sysdeps/unix/sysv/irix4/wait3.S: File removed. - * sysdeps/unix/sysv/sysv4/__waitid.S: File removed. - * sysdeps/unix/sysv/sysv4/fchdir.S: File removed. - * sysdeps/unix/sysv/sysv4/setegid.S: File removed. - * sysdeps/unix/sysv/sysv4/seteuid.S: File removed. - * sysdeps/unix/sysv/sysv4/sigaltstack.S: File removed. - * sysdeps/unix/sysv/sysv4/solaris2/utimes.S: File removed. - - * hurd/hurdfault.c (_hurdsig_fault_init): Set qlimit on - FORWARD_SIGEXC to one. Uncomment setting of thread exc port, and - move it to last thing. - -Sat Feb 10 05:57:08 1996 Roland McGrath - - * sysdeps/generic/make_siglist.c: #undef _SIGNAL_H before defining it. - - * sysdeps/unix/sysv/linux/syscalls.list: Add sigprocmask, sigsuspend. - -Sat Feb 10 04:18:48 1996 Roland McGrath - - * posix/execvp.c: If execv fails with ENOEXEC, run the shell on - the file. - -Fri Feb 9 11:46:45 1996 Roland McGrath - - * time/Makefile (CFLAGS-zdump.c, CFLAGS-zic.c, CFLAGS-ialloc.c, - CFLAGS-scheck.c): Use -DNOID instead of -Wno-unused. - - * hurd/Makefile (user-interfaces): Added hurd/tioctl. - -Thu Feb 8 18:55:27 1996 Roland McGrath - - * hurd/hurdioctl.c (tiocsctty): Set the terminal's pgrp to our own. - -Wed Feb 7 18:48:30 1996 Roland McGrath - - * Makefile (subdirs): Added wcsmbs. - * wcsmbs: New directory of wide char/multibyte char functions from - drepper. - - * hurd/hurdmsg.c (_S_msg_report_wait): Function removed. - * hurd/report-wait.c: New file. - * hurd/Makefile (routines): Added report-wait. - - * sysdeps/mach/hurd/Makefile (inhibit-unix-syscalls): New variable. - - * sysdeps/mach/hurd/i386/intr-msg.h (struct mach_msg_trap_args): - New type. - (SYSCALL_EXAMINE, MSG_EXAMINE): New inline functions. - * sysdeps/mach/hurd/i386/trampoline.c (struct mach_msg_trap_args): - Structure moved to intr-msg.h; include that. - - * time/Makefile (CFLAGS-ialloc.c): Add -Wno-unused. - (CFLAGS-scheck.c): New variable. - - * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base, - __hurd_sigthread_stack_end, __hurd_sigthread_variables, - __hurd_threadvar_stack_mask): New variables. - - * sysdeps/mach/hurd/fork.c: Set the new task's exception port to - its new message port. - - * misc/init-misc.c: Put __init_misc in the __libc_subinit set. - - * configure.in (uname): Add quoting. - - * sysdeps/mach/hurd/fchdir.c: Don't consult errno unless lookup fails. - * hurd/fchroot.c: Likewise. - - * posix/sys/types.h [GCC >= 2.7]: Define intN_t/u_intN_t using - __attribute__ ((__mode__ (__XX__))). - -Wed Feb 7 03:24:05 1996 Torbjorn Granlund - - * sysdeps/i386/i586/memcopy.h (WORD_COPY_FWD): Manually allocate - destination cache lines. - (WORD_COPY_BWD): Likewise. - -Wed Feb 7 14:16:36 1996 Roland McGrath - - * sysdeps/generic/Makefile (make_siglist): Get signum.h absolute - file name first thing, before $(native-compile) changes directories. - - From Gord Matzigkeit : - * sysdeps/unix/make_errlist.c: Use strerror if available. - * sysdeps/unix/configure.in: New file - - * sysdeps/unix/bsd/sun/syscalls.list: Added sigvec. - * sysdeps/unix/bsd/sun/sigvec.S: File removed. - - * sysdeps/stub/sendto.c: Make sockaddr arg pointer to const. - * sysdeps/stub/connect.c: Likewise. - * sysdeps/stub/bind.c: Likewise. - - * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): RETRYNAME of - "" is only special for FS_RETRY_NORMAL; for FS_RETRY_REAUTH, do - another dir_lookup of "". - -Tue Feb 6 12:46:29 1996 David Mosberger-Tang - - * libc-symbols.h (weak_alias, weak_symbol): added definitions - for ECOFF (HAVE_ECOFF). - -Fri Feb 2 13:09:18 1996 Roland McGrath - - * sysdeps/mach/hurd/fork.c: Clear trace flag in child. - -Wed Jan 31 20:08:26 1996 Roland McGrath - - * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Clear SS->intr_port - when cancelled before RPC. - -Tue Jan 30 13:32:05 1996 Roland McGrath - - * dirent/scandir.c: Allocate dirents with correct size for name, and - copy with correct size. - - * hurd/hurdinit.c [! PIC] (map0): New function, on _hurd_preinit_hook. - - * stdio-common/vfscanf.c (TYPEMOD): New macro of all type modifier - flag bits. - (__vfscanf): Fix checking of extra type modifiers. - - * time/asia, time/australasia, time/backward: Updated from ADO 96b. - -Tue Jan 30 12:17:26 1996 Ulrich Drepper - - * stdlib/strtod.c: Only negate exponent when there really is one. - - * stdio-common/vfscanf.c: Accept type modifiers on %n. - Fix FP number parsing. - -Mon Jan 29 21:53:40 1996 Roland McGrath - - * sysdeps/stub/msync.c (msync): Declare third arg FLAGS. - - * resolv/Makefile (+cflags): Append to this instead of CFLAGS. - -Mon Jan 29 16:29:16 1996 Miles Bader - - * sysdeps/mach/hurd/select.c (__select): Recalculate GOT to - include an increment for each operation allowed on each fd. - -Mon Jan 29 11:44:38 1996 Roland McGrath - - * sysdeps/unix/sysv/linux/configure: Set $inhibit_glue. - - * Makefile: Use -include for sysd-dirs. - - * configure.in (uname): Check for uname in syscalls.list files. - * sysdeps/unix/sysv/syscalls.list: Remove uname. - * sysdeps/unix/syscalls.list: Add uname. - - * stdlib/strtol.c (weak1): New macro, to get the right name declared - weak. - - * sysdeps/posix/getcwd.c (size_t): Don't define #ifdef __GNU_LIBRARY__. - - * db/hash/ndbm.c: Change all uses of `errno' struct member to `errnum'. - (dbm_open): Use dynamic allocation for file name buffer, instead of - limitting its size to MAXPATHLEN. - - * db/btree/bt_open.c (tmp): Use dynamic allocation for file name - buffer, instead of limitting its size to MAXPATHLEN. - - * db/hash/hash.h (HTAB): Rename member `errno' to `errnum'. - * db/hash/hash.c: Change all uses of `errno' struct member to `errnum'. - -Sun Jan 28 19:42:04 1996 Andreas Schwab - - * time/Makefile: Fix check for cross compiling. - -Thu Jan 25 21:10:39 1996 Andreas Schwab - - * db/Makefile (subdir-dirs): Renamed from dbdirs. - - * Makerules (distinfo-vars): Add subdir-dirs. - - * MakeTAGS: Remove vpath directives. - (all-dirs): Prepend $(subdir-dirs). - (all-sources, all-headers): Use wildcard to find sources. - -Mon Jan 29 10:44:38 1996 Roland McGrath - - * malloc/Makefile (CFLAGS-vm-limit.c, CFLAGS-ralloc.c): New - variables. - - * mach/msgserver.c: Declare DEMUX arg with prototype. - -Sun Jan 28 17:25:38 1996 Roland McGrath - - * setjmp/setjmp.h (jmp_buf): Give a tag in the struct defn, to - make C++ happy. - * alpha/jmp_buf.h: Likewise. - * m68k/jmp_buf.h: Likewise. - * mips/jmp_buf.h: Likewise. - * sparc/jmp_buf.h: Likewise. - * vax/jmp_buf.h: Likewise. - - * sysdeps/generic/memmem.c: Fix return value in case where - NEEDLE_LEN==0. - - * hurd/hurdlookup.c (__file_name_lookup_under, - __file_name_lookup): Restrict mode with umask. - * sysdeps/mach/hurd/xmknod.c: Restrict mode with umask. - * sysdeps/mach/hurd/mkdir.c: Restrict mode with umask. - -Fri Jan 26 12:20:45 1996 Roland McGrath - - * stdlib/strtol.c: Undo last change. ANSI C changed since the - draft I checked yesterday. Sigh. - -Thu Jan 25 18:58:25 1996 Roland McGrath - - * stdlib/strtol.c [UNSIGNED]: Don't recognize + or - as sign. - -Wed Jan 24 03:22:07 1996 Roland McGrath - - * malloc/mcheck.c (mabort): Declare prototype. - - * sysdeps/unix/sysv/linux/fcntlbits.h: Moved from linux/i386. - - * Makerules: Use -include for generated makefiles. - - * errno.h: Don't declare errno if it's defined as a macro. - - * stdio-common/vfscanf.c: Disallow l flag after ll or L. - - * stdio-common/Makefile (tests): Add scanf[1-9]. - * stdio-common/scanf[1-9].c: New files. Bug tests from hjl. - -Wed Jan 24 04:18:36 1996 Paul Eggert - - * strftime.c (strftime): - When invoking self, check whether the subsidiary invocation failed. - Use "???" (not "") to denote unknown time zone information. - - Make this source file portable to standalone contexts (e.g. GNU Emacs). - : Include if HAVE_CONFIG_H is defined. - (HAVE_LIMITS_H, HAVE_MBLEN, HAVE_TM_ZONE, STDC_HEADERS): New symbols, - defined if _LIBC or if defines them. - , "../locale/localeinfo.h": Include only if _LIBC. - : New include; some hosts require it for `time_t'. - : Include only if HAVE_MBLEN (since it's only needed then). - : Include only if HAVE_LIMITS_H. - : Include only if STDC_HEADERS. - (memcpy): Define in terms of bcopy if !STDC_HEADERS. - (__P, PTR): Define if not already defined. - (__tzname, __daylight, __timezone): Remove macros; no longer needed. - (add, strftime): Don't use NULL, for portability to some weird hosts. - (fmt): If !_LIBC, don't assume sprintf returns a count. - (week, strftime): Use old-style function declarations. - (weekday_name, month_name): New constants. - (strftime): Use traditional C values if locale support isn't available. - Use `const' instead of CONST. For time zones, use tm_zone if - possible, then fall back on tzname. Don't check for multibyte - characters unless mblen is supported. Use formats like %02d instead - of %.2d, for portability to older hosts. - -Wed Jan 24 00:07:52 1996 Roland McGrath - - * stdio-common/vfscanf.c (GROUP, MALLOC): New flag macros. - (__vfscanf): Eliminate flag vars that were redundant with FLAGS bits. - Fix bug in recognition of %ll flag for long long. - Fix overeager checks for conflicting type modifiers. - With ' flag, match thousands separators for decimal numbers. - -Tue Jan 23 22:02:40 1996 Roland McGrath - - * locale/Makefile (CFLAGS-locfile-lex.c): New variable. - - * resolv/Makefile (CFLAGS): Disable some warnings. - - * sysdeps/generic/Makefile (elided-routines): Removed hypot. - (+gccwarn): Set with override. - - * stdio-common/Makefile (CFLAGS-tst-printf.c): New variable. - - * posix/Makefile (CFLAGS-regex.c): New variable. - - * malloc/Makefile (CFLAGS-obstack.c): New variable. - - * io/Makefile (CFLAGS-fts.c): New variable. - * io/fts.c (fts_open): Use prototypes for COMPAR decl. - -Tue Jan 23 21:35:32 1996 Miles Bader - - * sysdeps/mach/hurd/bind.c (bind): Ensure NAME for the AF_LOCAL - case is '\0'-terminated. - -Tue Jan 23 19:49:54 1996 Roland McGrath - - * elf/rtld.c (dl_main): Support additional args in --list mode for - debugging: look them up as symbol names and print values. - - * misc/getttyent.c (skip, value): Declare with prototypes in file - scope. - - * csu/initfini.c (_init): Explicitly set a variable that is - pointer to volatile with the address of __gmon_start__, to avoid - the test being optimized out. - -Mon Jan 22 10:40:40 1996 Roland McGrath - - * sysdeps/posix/getcwd.c [__GNU_LIBRARY__]: Include unistd.h. - - * io/fts.h (FTSENT): Define fts_compar member with prototype. - - * hurd/hurd.h: Use prototype in getcttyid decl. - - * stdlib/l64a.c: Fix typo in last change. - - * stdlib/drand48-iter.c: Test limits.h macros instead of sizeof - for determining size of types. - * stdlib/srand48_r.c: Likewise. - - * misc/utmp.h: Declare login, logout, logwtmp. - * misc/logout.c: Declare argument as pointer to const. - * misc/login.c: Likewise. - * misc/logwtmp.c: Likewise. - Include time.h, string.h. - - * misc/efgcvt_r.c: Include stdlib.h. - - * io/mknod.c: Include sys/types.h. - - * gmon/sys/gmon.h: Declare monstartup, _mcleanup. - - * csu/gmon-start.c (_start, etext): Declare with prototypes. - - * stdio-common/vfscanf.c (%[): Fix range handling. - -Sun Jan 21 00:55:25 1996 Roland McGrath - - * misc/Makefile (headers): Rename queue.h to sys/queue.h. - * misc/queue.h: Moved to misc/sys/queue.h. - - * sysdeps/unix/sysv/linux/shmat.c: Include sys/shm.h instead of - sys/sem.h. - - * stdlib/stdlib.h [__USE_SVID]: Declare a64l, l64a. - - * stdlib/l64a.c: Use 6-bit numbers as indices in CONV_TABLE, not - literal byte values. - - * misc/bsd-compat.c (getpgrp): Define with prototype. - - * misc/init-misc.c (__progname_full): New variable. - (program_invocation_name, program_invocation_short_name): New aliases. - (__init_misc): Define with prototype. Set __progname_full. - * misc/progname.c: File removed. - * misc/Makefile (aux): Remove progname. - - * misc/hsearch_r.c (isprime): Define with prototype. - - * sysdeps/unix/sysv/linux/seteuid.c: Just include unix/bsd version. - * sysdeps/unix/bsd/seteuid.c: Disallow arg of -1. - * sysdeps/unix/bsd/setegid.c: Likewise. - -Fri Jan 19 13:28:59 1996 Roland McGrath - - * sysdeps/unix/sysv/linux/tcdrain.c: Define tcdrain, not - __tcdrain. - - * posix/glob.c (glob): Use prototype in getlogin decl. - - * db/ndbm.h: Declare dbm_error, dbm_clearerr. - * db/db/db.c (__dberr): Define with prototype. - (__dbpanic): Use prototypes in casts. - * db/hash/hash_log2.c: Add prototype decl. - - * sysdeps/generic/_strerror.c (_strerror_internal): Define with - prototype. - - * sysdeps/unix/mkdir.c, syspdep/unix/rmdir.c: Moved from unix/sysv. - They will be overridden with syscalls if extant by unix/syscalls.list. - - * Makeconfig (+gccwarn): Add -Wstrict-prototypes. - - * stdio-common/printf_fp.c (__printf_fp): Define with prototype. - * stdio-common/vfprintf.c (_IO_helper_overflow): Likewise. - -Thu Jan 18 00:32:43 1996 Roland McGrath - - * io/Makefile (routines): Add mknod, xstat fxstat lxstat xmknod. - - * sysdeps/unix/sysv/linux/ptrace.c: Use ... decl, and stdarg.h to - get args. - - * posix/glob.c (_GNU_SOURCE): Define if undefined, so glob.h - defines GNU extensions. - * posix/fnmatch.c: Likewise. - - Replaced all simple system call files *.S throughout sysdeps/unix - with syscalls.list files to be processed by make-syscalls.sh. - * sysdeps/unix/s-proto.S: New file. - * sysdeps/unix/syscalls.list: New file. - * sysdeps/unix/bsd/syscalls.list: New file. - * sysdeps/unix/bsd/bsd4.4/syscalls.list: New file. - * sysdeps/unix/bsd/hp/m68k/syscalls.list: New file. - * sysdeps/unix/bsd/osf/syscalls.list: New file. - * sysdeps/unix/bsd/osf/alpha/syscalls.list: New file. - * sysdeps/unix/bsd/sony/newsos4/syscalls.list: New file. - * sysdeps/unix/bsd/sun/syscalls.list: New file. - * sysdeps/unix/bsd/sun/sunos4/syscalls.list: New file. - * sysdeps/unix/bsd/ultrix4/syscalls.list: New file. - * sysdeps/unix/common/syscalls.list: New file. - * sysdeps/unix/inet/syscalls.list: New file. - * sysdeps/unix/mman/syscalls.list: New file. - * sysdeps/unix/sysv/syscalls.list: New file. - * sysdeps/unix/sysv/irix4/syscalls.list: New file. - * sysdeps/unix/sysv/isc2.2/syscalls.list: New file. - * sysdeps/unix/sysv/linux/syscalls.list: New file. - * sysdeps/unix/sysv/linux/i386/syscalls.list: New file. - * sysdeps/unix/sysv/sco3.2.4/syscalls.list: New file. - * sysdeps/unix/sysv/sysv4/syscalls.list: New file. - * sysdeps/unix/sysv/sysv4/i386/syscalls.list: New file. - * sysdeps/unix/sysv/sysv4/solaris2/sparc/syscalls.list: New file. - * sysdeps/unix/acct.S: File removed. - * sysdeps/unix/chdir.S: File removed. - * sysdeps/unix/chmod.S: File removed. - * sysdeps/unix/chown.S: File removed. - * sysdeps/unix/chroot.S: File removed. - * sysdeps/unix/close.S: File removed. - * sysdeps/unix/configure: File removed. - * sysdeps/unix/configure.in: File removed. - * sysdeps/unix/dup.S: File removed. - * sysdeps/unix/fcntl.S: File removed. - * sysdeps/unix/fsync.S: File removed. - * sysdeps/unix/getgid.S: File removed. - * sysdeps/unix/getpid.S: File removed. - * sysdeps/unix/getuid.S: File removed. - * sysdeps/unix/ioctl.S: File removed. - * sysdeps/unix/kill.S: File removed. - * sysdeps/unix/link.S: File removed. - * sysdeps/unix/lseek.S: File removed. - * sysdeps/unix/open.S: File removed. - * sysdeps/unix/ptrace.S: File removed. - * sysdeps/unix/read.S: File removed. - * sysdeps/unix/reboot.S: File removed. - * sysdeps/unix/setgid.S: File removed. - * sysdeps/unix/setuid.S: File removed. - * sysdeps/unix/sync.S: File removed. - * sysdeps/unix/umask.S: File removed. - * sysdeps/unix/unlink.S: File removed. - * sysdeps/unix/write.S: File removed. - * sysdeps/unix/bsd/flock.S: File removed. - * sysdeps/unix/bsd/getdtsz.S: File removed. - * sysdeps/unix/bsd/getpagesize.S: File removed. - * sysdeps/unix/bsd/killpg.S: File removed. - * sysdeps/unix/bsd/profil.S: File removed. - * sysdeps/unix/bsd/readv.S: File removed. - * sysdeps/unix/bsd/settimeofday.S: File removed. - * sysdeps/unix/bsd/sigblock.S: File removed. - * sysdeps/unix/bsd/sigpause.S: File removed. - * sysdeps/unix/bsd/sigsetmask.S: File removed. - * sysdeps/unix/bsd/sigstack.S: File removed. - * sysdeps/unix/bsd/sigvec.S: File removed. - * sysdeps/unix/bsd/utimes.S: File removed. - * sysdeps/unix/bsd/writev.S: File removed. - * sysdeps/unix/bsd/bsd4.4/chflags.S: File removed. - * sysdeps/unix/bsd/bsd4.4/fchdir.S: File removed. - * sysdeps/unix/bsd/bsd4.4/fchflags.S: File removed. - * sysdeps/unix/bsd/bsd4.4/getdents.S: File removed. - * sysdeps/unix/bsd/bsd4.4/getdomain.S: File removed. - * sysdeps/unix/bsd/bsd4.4/revoke.S: File removed. - * sysdeps/unix/bsd/bsd4.4/setdomain.S: File removed. - * sysdeps/unix/bsd/bsd4.4/setegid.S: File removed. - * sysdeps/unix/bsd/bsd4.4/seteuid.S: File removed. - * sysdeps/unix/bsd/bsd4.4/setlogin.S: File removed. - * sysdeps/unix/bsd/bsd4.4/setsid.S: File removed. - * sysdeps/unix/bsd/bsd4.4/sigaltstack.S: File removed. - * sysdeps/unix/bsd/bsd4.4/wait4.S: File removed. - * sysdeps/unix/bsd/hp/m68k/getdents.S: File removed. - * sysdeps/unix/bsd/osf/msync.S: File removed. - * sysdeps/unix/bsd/osf/alpha/wait4.S: File removed. - * sysdeps/unix/bsd/sony/newsos4/fchdir.S: File removed. - * sysdeps/unix/bsd/sony/newsos4/sys_wait4.S: File removed. - * sysdeps/unix/bsd/sun/getdents.S: File removed. - * sysdeps/unix/bsd/sun/sunos3/m68k/wait.S: File removed. - * sysdeps/unix/bsd/sun/sunos4/msync.S: File removed. - * sysdeps/unix/bsd/sun/sunos4/poll.S: File removed. - * sysdeps/unix/bsd/sun/sunos4/setsid.S: File removed. - * sysdeps/unix/bsd/sun/sunos4/sys_mmap.S: File removed. - * sysdeps/unix/bsd/sun/sunos4/sys_wait4.S: File removed. - * sysdeps/unix/bsd/sun/sunos4/uname.S: File removed. - * sysdeps/unix/bsd/ultrix4/getdents.S: File removed. - * sysdeps/unix/bsd/ultrix4/setsid.S: File removed. - * sysdeps/unix/bsd/ultrix4/uname.S: File removed. - * sysdeps/unix/common/access.S: File removed. - * sysdeps/unix/common/adjtime.S: File removed. - * sysdeps/unix/common/dup2.S: File removed. - * sysdeps/unix/common/fchmod.S: File removed. - * sysdeps/unix/common/fchown.S: File removed. - * sysdeps/unix/common/ftruncate.S: File removed. - * sysdeps/unix/common/getgroups.S: File removed. - * sysdeps/unix/common/getitimer.S: File removed. - * sysdeps/unix/common/getpgid.S: File removed. - * sysdeps/unix/common/getpriority.S: File removed. - * sysdeps/unix/common/getrlimit.S: File removed. - * sysdeps/unix/common/getrusage.S: File removed. - * sysdeps/unix/common/gettimeofday.S: File removed. - * sysdeps/unix/common/mkdir.S: File removed. - * sysdeps/unix/common/readlink.S: File removed. - * sysdeps/unix/common/rename.S: File removed. - * sysdeps/unix/common/rmdir.S: File removed. - * sysdeps/unix/common/select.S: File removed. - * sysdeps/unix/common/setgroups.S: File removed. - * sysdeps/unix/common/setitimer.S: File removed. - * sysdeps/unix/common/setpgid.S: File removed. - * sysdeps/unix/common/setpriority.S: File removed. - * sysdeps/unix/common/setregid.S: File removed. - * sysdeps/unix/common/setreuid.S: File removed. - * sysdeps/unix/common/setrlimit.S: File removed. - * sysdeps/unix/common/swapon.S: File removed. - * sysdeps/unix/common/symlink.S: File removed. - * sysdeps/unix/common/truncate.S: File removed. - * sysdeps/unix/common/vhangup.S: File removed. - * sysdeps/unix/inet/accept.S: File removed. - * sysdeps/unix/inet/bind.S: File removed. - * sysdeps/unix/inet/connect.S: File removed. - * sysdeps/unix/inet/gethostid.S: File removed. - * sysdeps/unix/inet/gethostname.S: File removed. - * sysdeps/unix/inet/getpeername.S: File removed. - * sysdeps/unix/inet/getsockname.S: File removed. - * sysdeps/unix/inet/getsockopt.S: File removed. - * sysdeps/unix/inet/listen.S: File removed. - * sysdeps/unix/inet/recv.S: File removed. - * sysdeps/unix/inet/recvfrom.S: File removed. - * sysdeps/unix/inet/recvmsg.S: File removed. - * sysdeps/unix/inet/send.S: File removed. - * sysdeps/unix/inet/sendmsg.S: File removed. - * sysdeps/unix/inet/sendto.S: File removed. - * sysdeps/unix/inet/sethostid.S: File removed. - * sysdeps/unix/inet/sethostname.S: File removed. - * sysdeps/unix/inet/setsockopt.S: File removed. - * sysdeps/unix/inet/shutdown.S: File removed. - * sysdeps/unix/inet/socket.S: File removed. - * sysdeps/unix/inet/socketpair.S: File removed. - * sysdeps/unix/mman/madvise.S: File removed. - * sysdeps/unix/mman/mmap.S: File removed. - * sysdeps/unix/mman/mprotect.S: File removed. - * sysdeps/unix/mman/msync.S: File removed. - * sysdeps/unix/mman/munmap.S: File removed. - * sysdeps/unix/sysv/alarm.S: File removed. - * sysdeps/unix/sysv/ftime.S: File removed. - * sysdeps/unix/sysv/nice.S: File removed. - * sysdeps/unix/sysv/pause.S: File removed. - * sysdeps/unix/sysv/poll.S: File removed. - * sysdeps/unix/sysv/s_getdents.S: File removed. - * sysdeps/unix/sysv/signal.S: File removed. - * sysdeps/unix/sysv/stime.S: File removed. - * sysdeps/unix/sysv/time.S: File removed. - * sysdeps/unix/sysv/times.S: File removed. - * sysdeps/unix/sysv/ulimit.S: File removed. - * sysdeps/unix/sysv/uname.S: File removed. - * sysdeps/unix/sysv/utime.S: File removed. - * sysdeps/unix/sysv/irix4/getpgid.S: File removed. - * sysdeps/unix/sysv/irix4/msync.S: File removed. - * sysdeps/unix/sysv/irix4/setpgid.S: File removed. - * sysdeps/unix/sysv/irix4/signal.S: File removed. - * sysdeps/unix/sysv/irix4/sysmp.S: File removed. - * sysdeps/unix/sysv/irix4/syssgi.S: File removed. - * sysdeps/unix/sysv/isc2.2/rename.S: File removed. - * sysdeps/unix/sysv/linux/adjtimex.S: File removed. - * sysdeps/unix/sysv/linux/fork.S: File removed. - * sysdeps/unix/sysv/linux/getpgid.S: File removed. - * sysdeps/unix/sysv/linux/getpgrp.S: File removed. - * sysdeps/unix/sysv/linux/getsid.S: File removed. - * sysdeps/unix/sysv/linux/gtty.S: File removed. - * sysdeps/unix/sysv/linux/mlock.S: File removed. - * sysdeps/unix/sysv/linux/mlockall.S: File removed. - * sysdeps/unix/sysv/linux/mount.S: File removed. - * sysdeps/unix/sysv/linux/munlock.S: File removed. - * sysdeps/unix/sysv/linux/munlockall.S: File removed. - * sysdeps/unix/sysv/linux/pipe.S: File removed. - * sysdeps/unix/sysv/linux/s_ptrace.S: File removed. - * sysdeps/unix/sysv/linux/setpgid.S: File removed. - * sysdeps/unix/sysv/linux/setsid.S: File removed. - * sysdeps/unix/sysv/linux/settimeofday.S: File removed. - * sysdeps/unix/sysv/linux/sigpending.S: File removed. - * sysdeps/unix/sysv/linux/stty.S: File removed. - * sysdeps/unix/sysv/linux/umount.S: File removed. - * sysdeps/unix/sysv/linux/wait4.S: File removed. - * sysdeps/unix/sysv/linux/i386/ipc.S: File removed. - * sysdeps/unix/sysv/sco3.2.4/pathconf.S: File removed. - * sysdeps/unix/sysv/sco3.2.4/pgrpsys.S: File removed. - * sysdeps/unix/sysv/sco3.2.4/sco_getgrp.S: File removed. - * sysdeps/unix/sysv/sco3.2.4/sigpending.S: File removed. - * sysdeps/unix/sysv/sco3.2.4/sigprocmask.S: File removed. - * sysdeps/unix/sysv/sco3.2.4/sigsuspend.S: File removed. - * sysdeps/unix/sysv/sysv4/pgrpsys.S: File removed. - * sysdeps/unix/sysv/sysv4/sigprocmask.S: File removed. - * sysdeps/unix/sysv/sysv4/sigsuspend.S: File removed. - * sysdeps/unix/sysv/sysv4/sysconfig.S: File removed. - * sysdeps/unix/sysv/sysv4/sysinfo.S: File removed. - * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys-sig.S: File removed. - - * io/mknod.c: New file. - - * Makerules (COMPILE.s): New variable. - - * sysdeps/unix/Makefile (sysd-syscalls): New target; generate with - make-syscalls.sh and include it. - [$(subdir)=misc] (sysdep_routines): Append extra syscalls from - sysd-syscalls. - * sysdeps/unix/make-syscalls.sh: New file. - - * Makerules (COMPILE.S): New variable. - -Wed Jan 17 11:04:58 1996 Roland McGrath - - * sysdeps/unix/sysv/linux/statbuf.h (_STAT_VER_LINUX, - _STAT_VER_SVR4, _STAT_VER): New macros. - (_MKNOD_VER_LINUX, _MKNOD_VER_SVR4, _MKNOD_VER): New macros. - - * sysdeps/unix/sysv/sysv4/i386/statbuf.h (_STAT_VER, _MKNOD_VER): - New macros. - - * io/sys/stat.h (_STAT_VER, _MKNOD_VER): New macros. - (__xstat, __fxstat, __lxstat, __xmknod): Declare new functions. - [__GNUC__] (stat, fstat, lstat, mknod): Define these (and __ names) - as `extern inline's calling the `x' functions. - * io/fstat.c: New file. - * io/lstat.c: New file. - * io/stat.c: New file. - * sysdeps/generic/lstat.c: File removed. - * sysdeps/generic/lxstat.c: New file. - * sysdeps/mach/hurd/fstat.c: File removed. - * sysdeps/mach/hurd/fxstat.c: New file. - * sysdeps/mach/hurd/lstat.c: File removed. - * sysdeps/mach/hurd/lxstat.c: New file. - * sysdeps/mach/hurd/mknod.c: File removed. - * sysdeps/mach/hurd/stat.c: File removed. - * sysdeps/mach/hurd/xmknod.c: New file. - * sysdeps/mach/hurd/xstat.c: New file. - * sysdeps/stub/fstat.c: File removed. - * sysdeps/stub/fxstat.c: New file. - * sysdeps/stub/lstat.c: File removed. - * sysdeps/stub/lxstat.c: New file. - * sysdeps/stub/mknod.c: File removed. - * sysdeps/stub/stat.c: File removed. - * sysdeps/stub/xmknod.c: New file. - * sysdeps/stub/xstat.c: New file. - * sysdeps/unix/common/lstat.S: File removed. - * sysdeps/unix/common/lxstat.c: New file. - * sysdeps/unix/fstat.S: File removed. - * sysdeps/unix/fxstat.c: New file. - * sysdeps/unix/mknod.S: File removed. - * sysdeps/unix/stat.S: File removed. - * sysdeps/unix/sysv/linux/fstat.c: File removed. - * sysdeps/unix/sysv/linux/i386/fxstat.S: File removed. - * sysdeps/unix/sysv/linux/i386/lxstat.S: File removed. - * sysdeps/unix/sysv/linux/i386/xmknod.S: File removed. - * sysdeps/unix/sysv/linux/i386/xstat.S: File removed. - * sysdeps/unix/sysv/linux/lstat.c: File removed. - * sysdeps/unix/sysv/linux/mknod.c: File removed. - * sysdeps/unix/sysv/linux/stat.c: File removed. - * sysdeps/unix/sysv/sysv4/i386/fstat.S: File removed. - * sysdeps/unix/sysv/sysv4/i386/lstat.S: File removed. - * sysdeps/unix/sysv/sysv4/i386/mknod.S: File removed. - * sysdeps/unix/sysv/sysv4/i386/stat.S: File removed. - * sysdeps/unix/xmknod.c: New file. - * sysdeps/unix/xstat.c: New file. - * sysdeps/unix/mkfifo.c: Use __xmknod instead of __mknod. - * misc/Makefile (routines): Remove mknod. - - * sysdeps/ieee754/ieee754.h (union ieee854_long_double.ieee_nan): - Add missing ; in little-endian case. - - * elf/dynamic-link.h [ELF_MACHINE_NO_REL] (ELF_DYNAMIC_DO_REL): - Define this instead of ELF_DYNAMIC_DO_RELA. - - * sysdeps/unix/sysv/time.S: Moved from sysv4. - * sysdeps/unix/sysv/irix4/time.S: File removed. - - * sysdeps/unix/sysv/linux/signum.h: Moved from - sysdeps/unix/sysv/linux/i386. - (_NSIG): Move inside #ifdef _SIGNAL_H. - -Tue Jan 16 17:37:39 1996 Roland McGrath - - * sysdeps/unix/seekdir.c: Don't modify POS before seeking. - * sysdeps/unix/telldir.c: Fix position calculation to account for - buffered data properly. - - * sysdeps/m68k/Makefile (crypt): Don't define if building a shared - library. - - * csu/initfini.c (_init): Call __gmon_start__ if defined (weak ref). - * csu/gmon-start.c (__gmon_start__): Renamed from gmon_start, made - global. - [! HAVE_INITFINI]: Only make it a constructor in this case. - - * gmon/Makefile (CFLAGS-mcount.c): New variable. - (mcount.po): New target. - - * Makeconfig (CFLAGS): Append $(CFLAGS-$( - - * sysdeps/mips/bytesex.h: Add default byte sex. By Ralf Baechle. - - * sysdeps/unix/sysv/linux/adjtime.c [! MOD_OFFSET]: Use `mode' - member of `struct timex' instead of `modes'. From Andreas Schwab. - - * sysdeps/unix/sysv/linux/mknod.c: New file. Generic C version. - * sysdeps/unix/sysv/linux/i386/mknod.S: Remove assembler version. - - * sysdeps/unix/sysv/linux/Makefile (inhibit-glue): New variable. - [$(subdir) = misc] (sysdep_routines): Add mount, umount, and s_ptrace. - [$(subdir) = misc] (headers): Append sys/mount.h. - - * sysdeps/unix/sysv/linux/mount.S, sysdeps/unix/sysv/linux/umount.S: - New files. Implement system calls. - * sysdeps/unix/sysv/linux/sys/mount.h: New header file. - - * sysdeps/unix/sysv/linux/ptrace.c: New file. Wrapper around - ptrace system call. - * sysdeps/unix/sysv/linux/s_ptrace.S: New file: ptrace system call. - - * sysdeps/unix/sysv/linux/i386/gnu/types.h: New file with correct - types for i386/Linux. - -Sun Jan 14 17:51:09 1996 Andreas Schwab - - * MakeTAGS (all-sources, all-headers): Always search the - current directory first. - - * db/btree/bt_seq.c (__bt_first): Return RET_SPECIAL when key not - found. - - * stdio-common/vfscanf.c (inchar, conv_error, input_error, - memory_error): Add cast to void to avoid gcc warning. - (vfscanf): Rewrite character class parsing to make it more efficient. - - * misc/efgcvt_r.c (ecvt_r): Handle negative values. - - * stdlib/stdlib.h: Replace __CONSTVALUE by attribute. - * stdlib/abs.c, stdlib/div.c, stdlib/labs.c, stdlib/ldiv.c, - sysdeps/generic/hypot.c: Remove obsolete __CONSTVALUE. - - * stdio-common/printf_fp.c (__printf_fp): Fix parameter - declaration. - - * sysdeps/generic/putenv.c (putenv): Fix second argument of - setenv. - - * sysdeps/ieee754/hypot.c: New file, extracted out of cabs.c. - * sysdeps/ieee754/cabs.c: Don't define hypot here. - - * sysdeps/ieee754/ieee754.h (union ieee854_long_double): Fix - definition of ieee_nan alternative. - - * sysdeps/m68k/__longjmp.c, sysdeps/m68k/setjmp.c: Add register - prefix spec. - - * sysdeps/m68k/ffs.c (ffs): Fix register constraint. - - * sysdeps/m68k/fpu/__math.h: Include . Replace obsolete - __CONSTVALUE by attribute. - (floor): Round to negative infinity. - (rint, expm1) [__NO_MATH_INLINES]: Don't define, to avoid type - clash when compiling source. - (pow): Handle x == 0 and x < 0. - (ceil, __isinf, __isnan): Fix register constraints. - (__isinfl, __isnanl): Added. - * sysdeps/m68k/fpu/acos.c, sysdeps/m68k/fpu/atan2.c, - sysdeps/m68k/fpu/fmod.c, sysdeps/m68k/fpu/ldexp.c, - sysdeps/m68k/fpu/pow.c: Remove obsolete __CONSTVALUE. - - * sysdeps/m68k/bsd-_setjmp.S, sysdeps/m68k/bsd-setjmp.S: Fix - assembler syntax. - - * sysdeps/unix/bsd/bsd4.4/fchdir.S (fchdir): Take only one - argument. - - * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Fix timeval to - clock_t conversion. - (clock): Don't multiply by CLOCKS_PER_SEC. - - * sysdeps/unix/bsd/poll.c (poll): Fix msec to timeval conversion. - - * sysdeps/unix/bsd/sun/m68k/brk.S (brk): Compare with address of - __end. - - * sysdeps/unix/bsd/sun/m68k/vfork.S: Fix assembler syntax. - - * sysdeps/unix/bsd/ualarm.c (ualarm): Fix timeval calculation. - - * sysdeps/unix/bsd/vax/vfork.S: Remove duplicate label. - -Sun Jan 14 01:01:10 1996 Ulrich Drepper - - * stdlib/strtol.c: Return correct pointer for strings - like "0xyz" and base 0 or 16. - - * string/strxfrm.c: Handle case for LENGTH == 0 correct. - - * sunrpc/etc.rpc: Add some more known protocols. - -Fri Jan 12 13:40:01 1996 Roland McGrath - - * posix/gnu/types.h: Moved to sysdeps/generic/gnu/types.h. - - * posix/glob.c (glob): Add parens in glob call flags arg for - GLOB_BRACE case. - - * string/string.h (strdupa): New macro. - - * stdio-common/vfscanf.c (%[): Grok ] as first char in set, not - terminator on empty set. From drepper. - -Thu Jan 11 13:09:20 1996 Roland McGrath - - * elf/do-rel.h (elf_dynamic_do_rel): Use referring symbol as - referent for STB_LOCAL. - -Wed Jan 10 10:11:39 1996 Roland McGrath - - * time/africa, time/antarctica, time/asia, time/australasia, - time/europe, time/northamerica, time/pacificnew, time/solar87, - time/solar88, time/solar89, time/southamerica: Updated from ADO 96a. - -Tue Jan 9 16:10:26 1996 Roland McGrath - - * elf/dl-load.c (_dl_map_object_from_fd): After mapping first - segment to find location, mprotect excess region to no access, - don't munmap it. - - * sysdeps/mach/hurd/dl-sysdep.c (mmap): If vm_map returns - KERN_NO_SPACE for fixed location, deallocate it and try again. - -Mon Jan 8 17:43:23 1996 Roland McGrath - - * locale/Makefile (lib-modules): Renamed hash to locfile-hash. - * locale/hash.c: Renamed to locale/locfile-hash.c. - -Sat Jan 6 16:39:14 1996 Roland McGrath - - * Makefile (subdirs): Added db. - - * resolv/Makefile (routines): Add res_data. - * resolv/res_data.c, resolv/res_debug.c, resolv/resolv.h: - Updated from BIND 4.9.3 final release. - - * elf/dynamic-link.h (elf_get_dynamic_info): Handle - processor-specific tags. - (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA): Handle absent DT_PLTREL tag. - - * elf/elf.h (DT_MIPS_NUM, DT_PROCNUM): New macros. - * elf/link.h (struct link_map): Extend `l_info' by DT_PROCNUM. - - * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Take new - arg LAZY. Only do our work if LAZY and there is a DT_JMPREL record. - * elf/dl-reloc.c (_dl_relocate_object): Call - elf_machine_runtime_setup unconditionally, and pass it LAZY flag. - - * elf/dl-load.c: Fixed ELFMAG check to work for either byte order. - Align end of load segment only to page size, not to segment alignment. - -Thu Jan 4 11:35:18 1996 Roland McGrath - - * sysdeps/mach/hurd/setitimer.c: Code rearranged a bit to use new - preemption interface. - - * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): - Use _hurdsig_catch_memory_fault. - - * hurd/Makefile (headers): Add hurd/sigpreempt.h. - (sig): Add catch-signal. - - * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise): - Rewritten using a preempter in new interface. - * hurd/hurdfault.h (_hurdsig_catch_fault): Likewise. - (_hurdsig_catch_memory_fault): New macro. - -Wed Jan 3 20:23:42 1996 Roland McGrath - - * hurd/catch-signal.c: New file. - - * hurd/intr-msg.c: When restarting RPC, fetch a new reply port. - - * hurd/hurdsig.c: Use new hurdfault.h interface. - (abort_all_rpcs): Mutate return value to EINTR in threads whose - replies we will wait for. - - * hurd/hurdkill.c (_hurd_sig_post): When doing pgrp, make sure we - do ourselves last. - -Wed Jan 3 19:17:10 1996 Miles Bader - - * sysdeps/mach/hurd/access.c (__access): Put the uid/gid arguments - to auth_makeauth() in the right order. - -Wed Jan 3 17:19:04 1996 Roland McGrath - - * sysdeps/generic/strsep.c: Rewritten. - - * sysdeps/mach/hurd/fork.c: Use a different workaround for the - suspended page fault deadlock kernel bug: thread_abort our signal - thread first thing after proc_dostop. - - * sysdeps/mach/hurd/setgid.c: Rewrote gid frobnication to - recognize rootness properly. - -Tue Jan 2 00:50:10 1996 Roland McGrath - - * hurd/hurd/signal.h (struct hurd_sigstate): New member `preempters'. - (hurd_preempt_signals, hurd_unpreempt_signals): Decls removed. - * hurd/hurd/sigpreempt.h: New file. - * hurd/preempt-sig.c: Rewritten with new interface. - * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Remove local signal - preempters being unwound past. - * hurd/hurdsig.c: Use new signal preemption interface. - - * db: New directory, 4.4 BSD db package incorporated from BSD db-1.85 - release. - - * sysdeps/unix/sysv/linux/sys/param.h: Several new macros for BSD - compatibility. - - * misc/queue.h: New file, incorporated from 4.4BSD. - * misc/Makefile (headers): Add queue.h. - - * posix/sys/types.h [__USE_BSD]: Include endian.h. - - * io/sys/stat.h (DEFFILEMODE, ALLPERMS, ACCESSPERMS, S_BLKSIZE): - New macros. - -Thu Dec 28 10:21:35 1995 Roland McGrath - - * sysdeps/generic/confname.h: Define all names as self-referential - macros so #ifdef works. - - * hurd/preempt-sig.c (hurd_unpreempt_signals): Remove bogus asgnmt - of _hurd_signal_preempters[SIGNO]. - -Mon Dec 25 20:56:39 1995 Roland McGrath - - * sysdeps/mach/hurd/bind.c: Translate EEXIST from dir_link into - EADDRINUSE. If translated node doesn't grok ifsock protocol, - return EADDRINUSE. - - * sysdeps/mach/hurd/connect.c: Make address arg - `const struct sockaddr_un *'. - The redecl is kosher and avoids another variable for AF_LOCAL case. - * sysdeps/mach/hurd/sendto.c: Likewise. - * sysdeps/mach/hurd/bind.c: Likewise. - - * socket/sys/socket.h (__SOCKADDR_ARG): Enable transparent_union - code for GCC >= 2.7; use __transparent_union__ for name safety; - add several sockaddr flavors. - (__SOCKADDR_ALLTYPES, __SOCKADDR_ONETYPE): New macros used in - constructing the transparent union declarations. - (__CONST_SOCKADDR_ARG): New type (or macro if not GCC 2.7). - (bind, connect, sendto): Make the sockaddr argument use that. - -Fri Dec 22 00:57:38 1995 Roland McGrath - - * sysdeps/mach/hurd/setgid.c: In root case, store into NEWAUX, not - old vector. - * sysdeps/mach/hurd/setuid.c: Likewise. - - * sysdeps/mach/hurd/setuid.c: Rewrote ID frobnication to do the - right thing. - * sysdeps/mach/hurd/setgid.c: Likewise. - * sysdeps/mach/hurd/setreuid.c: Likewise. - * sysdeps/mach/hurd/setregid.c: Likewise. - * sysdeps/mach/hurd/setegid.c: Likewise. - * sysdeps/mach/hurd/seteuid.c: Likewise. - - * sysdeps/mach/hurd/fork.c: Peek __mach_task_self_ value before - proc_dostop call to work around kernel paging bug. - -Fri Dec 22 00:38:00 1995 H.J. Lu - - * stdio-common/vfscanf.c: Correctly handle white space skipping. - * stdio-common/Makefile (tests): Add bug11. - * stdio-common/bug11.c: New file. - -Thu Dec 21 12:19:32 1995 Miles Bader - - * sysdeps/mach/hurd/setuid.c (__setuid): Actually add the new uid - instead of putting it (and other uids) in the gids and leaving the - old uids as is. - -Wed Dec 20 18:23:10 1995 Roland McGrath - - * stdio/internals.c (flushbuf): If the target is -1, always - discard the buffer of read data. - Only set TWIDDLED flag in !ALIGNED case. - Never increment target or offset when old value is -1. - -Tue Dec 19 17:00:42 1995 Roland McGrath - - * hurd/hurdpid.c (_S_msg_proc_newids): Only run the hook when the - pgrp changes. - -Mon Dec 18 13:40:37 1995 Roland McGrath - - * stdio/fread.c: Don't increment __offset when it's -1. - - * elf/rtld.c (dl_main): Prepend tab to "statically linked". Exit - 0 in that case. - - * misc/err.c (vwarnx, vwarn): Fix major brainos. - - * sysdeps/mach/hurd/dl-sysdep.c (mmap): Fix setting of - inheritance. - -Sun Dec 17 15:56:35 1995 Miles Bader - - * misc/getpass.c (getpass): Don't barf if getline returns a null BUF. - -Sat Dec 16 10:33:11 1995 Roland McGrath - - * Makerules: Use $(do-install-so) for installing shared objects. - (do-install-so): New canned sequence. Make a symlink LIB.so after - installing LIB.so.VERSION. - - * inet/netinet/in.h: Fixed typo in IPPORT_WHOIS. - -Fri Dec 15 04:41:22 1995 Ulrich Drepper - - * stdio-common/Makefile (tests): Add bug10. - * stdio-common/bug10.c: New file. From HJ Lu. - - * stdio-common/tstdiomisc.c: Make more test-suite like: exit - status tells about successful run. - - * stdio-common/vfscanf.c [!USE_IN_LIBIO]: Use `flags' to check - format correctness. - Correct handling of trailing white spaces in format + EOF. - -Fri Dec 15 01:31:56 1995 Ulrich Drepper - - * stdio-common/Makefile (tests): Add bug8 and bug9. - * stdio-common/bug8.c, stdio-common/bug9.c: New tests. - - * stdio-common/vfscanf.c: Fix bug in dynamic buffer handling. - - * stdlib/strtod.c: Correct spelling: nominator -> numerator. - Thanks to Jim Meyering. - -Sat Nov 25 06:05:12 1995 H.J. Lu - - * stdio-common/vfscanf.c: Always check width !=0. - Correctly handle %%. - -Thu Dec 14 02:28:22 1995 Roland McGrath - - * posix/glob.c (glob_in_dir): Cast result of opendir to __ptr_t, - and cast STREAM to DIR * before passing to readdir and closedir. - -Wed Dec 13 22:06:07 1995 Roland McGrath - - * hurd/hurdsig.c (_hurd_internal_post_signal: suspend): Reply - after aborting RPCs but before calling proc_mark_stop. - -Mon Dec 11 20:07:54 1995 Roland McGrath - - * posix/glob.c [! STDC_HEADERS]: Declare getenv. - (glob): Avoid using function as value. - - * elf/rtld.c (dl_main): When mapping argument executable, set - l_name to "", not l_libname. - After loading DT_NEEDED library, set its l_type to lt_library. - - * sysdeps/mach/hurd/mmap.c: Don't interpret MAP_INHERIT to mean - VM_INHERIT. We can't handle MAP_INHERIT easily. - Handle non-page-aligned addresses if congruent to offset. - - * elf/dl-init.c: Skip the initializer for l_type lt_executable - with l_name "". Start at _dl_loaded; don't skip the first element. - - * elf/dl-load.c (MAP_FILE): Define to zero if undefined. - (MAP_COPY): Define to MAP_PRIVATE if undefined. - (_dl_map_object_from_fd): Don't use MAP_INHERIT in mmap calls. - If file it ET_EXEC, set its l_type to lt_executable. - -Sun Dec 10 09:56:06 1995 Roland McGrath - - * elf/dl-minimal.c (malloc): Use MAP_PRIVATE in mmap call. - -Fri Dec 8 13:04:51 1995 Roland McGrath - - * locale/error.c, locale/error.h: Files removed. - * locale/Makefile (distribute): Remove error.h. - (lib-modules): Remove error. - - * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): For "tty" - magic, return ENXIO if no ctty. - - * sysdeps/mach/hurd/mmap.c: For MAP_FIXED, deallocate a previous - mapping if vm_map fails for that reason. - - * posix/glob.c: Implement new options GLOB_ALTDIRFUNC, GLOB_BRACE, - GLOB_TILDE, GLOB_NOMAGIC. - (glob): Use stat instead of lstat to determine directoriness. - * posix/glob.h (GLOB_ALTDIRFUNC, GLOB_BRACE, GLOB_NOMAGIC, GLOB_TILDE): - New flag bits. - (__GLOB_FLAGS): Include them. - (glob_t): New members gl_closedir, gl_readdir, gl_opendir, gl_lstat, - gl_stat. - - * elf/elf.h (ET_NUM, SHT_NUM, STB_NUM, STT_NUM, PT_NUM): New macros. - - * sysdeps/unix/sysv/linux/sys/mman.h: Include to - define all the bit values. - (MAP_*, MCL_*): Macros removed. - -Thu Dec 7 02:27:56 1995 Roland McGrath - - * resolv/res_comp.c, resolv/res_debug.c, resolv/res_send.c: - Updated from BIND 4.9.3-BETA27. - -Wed Dec 6 18:44:01 1995 Miles Bader - - * sysdeps/mach/hurd/select.c (__select): Swap size args to mach_msg. - - * sysdeps/mach/hurd/select.c (__select): Frob TYPES correctly when - we get a delayed reply. - Only grab values out of entries in TYPES that have SELECT_RETURNED - turned on, and turn it on whenever an rpc returns. - Only clear bits in the user's fdsets -- those needing to be set - should be already. - Use SELECT_ALL in appropiate places. - (SELECT_RETURNED, SELECT_ALL): New macros. - -Wed Dec 6 09:10:39 1995 Roland McGrath - - * sysdeps/mach/hurd/sys/param.h (NBBY): New macro. - - * gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): New macro. - -Tue Dec 5 14:00:17 1995 Roland McGrath - - * misc/Makefile (headers): Add error.h, err.h. - (routines): Add error, err. - (gpl2lgpl): New variable. - * misc/err.c: New file. - * misc/err.h: New file. - * misc/error.c, misc/error.h: New files. - - * sysdeps/mach/hurd/ioctl.c: Fix typo in last change. - - * Makeconfig (+link): Translate libc% from $^, not just libc.a. - (link-libc): Append $(libc.so-version) to libc.so. - (built-program-cmd): Fix comma usage. - * Makerules [libc.so-version] (libc.so$(libc.so-version)): Make a - symlink to libc.so in the build directory. - * Rules ($(others) $(tests)): Depend on the library that appears - in $(link-libc). - (%.out): Use $(built-program-cmd) in commands. - - * posix/unistd.h [__USE_MISC]: Declare brk, sbrk. - - * sysdeps/generic/setenv.c: Added canonical portability cruft. - (setenv): Use realloc on LAST_ENVIRON instead of always copying. - (unsetenv): New function. - * stdlib/stdlib.h [__USE_BSD]: Declare unsetenv. - * sysdeps/generic/putenv.c: Rewritten using setenv and unsetenv. - -Tue Dec 5 02:27:32 1995 Ulrich Drepper - - * libio/Makefile (routines): Remove iofscanf, add iopopen, pclose. - - * libio/iofscanf.c: Remove file. - - * libio/iogetdelim.c (_IO_getdelim): Correct stupid bug at string - termination. - - * libio/iopopen.c: New file from GNU libio. - - * libio/memstream.c: Fixed bug in fclose handling. Instead of - providing a close callback we need a finish callback. - - * libio/pclose.c: New file. Derived from popen.c in GNU libio. - - * posix/gnu/types.h: Fixed typo. - - * stdio-common/errnobug.c: fputs returns EOF in error case. Do - not test for != 0. - - * stdio-common/printf-parse.h (parse_one_spec): Do not force - padding with ' ' if precision is given. Fix by HJ Lu. - - * stdio-common/printf_fp.c: Fix comment. - - * stdio-common/tfformat.c, stdio-common/tiformat.c, - stdio-common/tstdiomisc.c: New files from GNU libio test suite. - - * stdio-common/tstgetln.c: Provide ssize_t type when testing - libio. - - * stdio-common/vfprintf.c (outchar): Use PUTC instead of putc. - (vfprintf): Cleasr args_type array before using it. - When printing 0 as an integer with precision 0 nothing must be - written for the number. - Based on patch by HJ Lu. - - * stdio-common/vfscanf.c: Remove fixed input buffer. Now we - have a dynamically extended buffer. - - * stdlib/strtod.c: Merge with version in Linux libc. This fixes - some bugs with handling of very small numbers and has different - solution for formaer patches. - - * sysdeps/i386/i586/add_n.S, sysdeps/i386/i586/sub_n.S: Rename - macros r1 and r2 to t1, and t2 resp. This is necessary because - glibc headers also define r1. - -Mon Dec 4 12:10:28 1995 Roland McGrath - - * stdlib/gen-mpn-copy (translations): Updated for new layout in - GMP 1.910. - - * malloc/malloc.c (__malloc_initialize): Renamed from initialize; - made global. - (malloc): Caller changed. - * malloc/realloc.c (realloc): Call __malloc_initialize if - necessary, before checking hook. - * malloc/malloc.h: Declare __malloc_initialize. - - * sysdeps/mach/hurd/ioctl.c: For IOC_VOID request, send ARG itself - as integer_t arg in RPC. - -Sat Dec 2 03:47:27 1995 Roland McGrath - - * sysdeps/mach/hurd/brk.c (DATA_SIZE): Bump to 128MB. - (_hurd_set_brk): Try to allocate more space when we run out. - - * sysdeps/generic/sbrk.c: If __curbrk is zero, call __brk with - zero and examine it again. - * sysdeps/unix/sysv/linux/i386/brk.c: New file. - * sysdeps/unix/sysv/linux/i386/brk.S: File removed. - * sysdeps/unix/sysv/linux/i386/sbrk.S: File removed. - * sysdeps/unix/sysv/linux/dl-sysdep.c: New file. - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [DL_SYSDEP_INIT]: - Invoke this macro before calling DL_MAIN. - - * malloc/malloc.c (malloc): Do initialization here, before - checking the hook. - (_malloc_internal): Don't do it here. - -Wed Nov 29 12:30:50 1995 Roland McGrath - - * libio/vsnprintf.c (__vsnprintf): Define as alias. - * libio/iovsscanf.c (__vsscanf): Define as alias. - * asprintf.c: Remove libio adaptation code added by drepper. - * dprintf.c: Likewise. - * printf.c: Likewise. - * scanf.c: Likewise. - * snprintf.c: Likewise. - * sprintf.c: Likewise. - * sscanf.c: Likewise. - * vprintf.c: Likewise. - * stdio-common/vfscanf.c [USE_IN_LIBIO] (__vfscanf): New wrapper - function. - (vfscanf): Define unconditionally. - - * sysdeps/i386/dl-machine.h (elf_machine_rel): If SYM is null, use - zero for value. - - * misc/getpass.c: Write a newline after reading the unechoed - password. - -Mon Nov 27 19:24:18 1995 Roland McGrath - - * posix/Makefile (routines): Add getsid. - * sysdeps/unix/sysv/linux/getsid.S: New file. - * sysdeps/mach/hurd/getsid.c: New file. - * sysdeps/stub/getsid.c: New file. - * posix/unistd.h [__USE_GNU]: Declare getsid. - -Sun Nov 26 12:44:38 1995 Roland McGrath - - * libc-symbols.h (N_): New macro. - -Sat Nov 25 02:48:47 1995 Ulrich Drepper - - * assert/assert-perr.c, assert/assert.c, inet/rcmd.c, - malloc/mcheck.c, malloc/vm-limit.c, posix/getconf.c, posix/id.c, - resolv/herror.c, sunrpc/auth_unix.c, sunrpc/clnt_perr.c, - sunrpc/clnt_raw.c, sunrpc/get_myaddr.c, sunrpc/pmap_clnt.c, - sunrpc/pmap_rmt.c, sunrpc/portmap.c, sunrpc/rpc_main.c, - sunrpc/rpc_parse.c, sunrpc/rpc_scan.c, sunrpc/rpc_util.c, - sunrpc/rpcinfo.c, sunrpc/svc_simple.c, sunrpc/svc_tcp.c, - sunrpc/svc_udp.c, time/zdump.c, time/zic.c: Mark translatable - strings. - -Sun Nov 26 02:00:02 1995 Ulrich Drepper - - * misc/syslog.c (vsyslog) [USE_IN_LIBIO]: Adapted for libio. - -Thu Nov 23 02:21:55 1995 Ulrich Drepper - - * sysdeps/unix/sysv/linux/{mlock,munlock,mlockall,munlockall}.S: - New files. - * sysdeps/unix/sysv/linux/sys/mman.h: Add prototypes for new functions - mlock, munlock, mlockall, and munlockall. - -Thu Nov 23 18:26:52 1995 Roland McGrath - - * configure.in (--enable-libio): Set $stdio based on $enableval, - not always to libio. - -Thu Nov 23 18:06:48 1995 Richard Stallman - - * malloc/malloc.c (_malloc_internal): Can't use - get_contiguous_space when the heap info table - will be growing. Account for new contiguous space in _heaplimit. - -Wed Nov 22 12:37:39 1995 Roland McGrath - - * sysdeps/unix/sysv/linux/i386/sysdep.S (_errno): Define as alias - for errno. - - * stdio-common/vfprintf.c [USE_IN_LIBIO] (vfprintf): Define as - alias for _IO_vfprintf. - - * sysdeps/unix/sysv/linux/sockaddrcom.h: File removed. - - * sysdeps/unix/sysv/linux/i386/init-first.c (init): Use - __fpu_control instead of ___fpu_control. - * sysdeps/unix/sysv/linux/i386/ieee_fpu.c - (___fpu_control): Renamed to __fpu_control. - * sysdeps/unix/sysv/linux/i386/fpu_control.h: Likewise. - * sysdeps/unix/sysv/linux/i386/fpu_control.c: Likewise. - - * elf/dl-minimal.c: New file. - * elf/Makefile (rtld-routines): Add dl-minimal. - * elf/rtld.c (__dgettext, __assert_fail, __assert_perror_fail): - Functions moved to dl-minimal.c. - * sysdeps/mach/hurd/dl-sysdep.c (malloc, free, realloc, - sigjmp_save, longjmp): Likewise. - - * sysdeps/unix/sysv/linux/i386/brk.S (__curbrk): Always initialize - to &_end, regardless of PIC. - - * stdio-common/vfscanf.c (__vfscanf): Fix arg name in defn. - -Tue Nov 21 14:12:13 1995 Roland McGrath - - * malloc/malloc.c (align): Don't check contiguity and call abort. - - * hurd/hurdsig.c (post_reply): Function removed. - (abort_thread, abort_all_rpcs, _hurdsig_abort_rpcs): Don't call it. - Take single callback fn arg instead of reply port and type. - (_hurd_internal_post_signal): Callers changed. - Cache reply stub fn ptr in local var before UNTRACED might be changed. - - * sysdeps/mach/hurd/mmap.c: Cope with a null write memobj for - PROT_READ|PROT_WRITE copy mapping. Pass a proper vm_inherit_t to - vm_map. - - * elf/rtld.c (_dl_start): For --list, do output and exit before - relocating. - -Mon Nov 20 16:19:15 1995 Roland McGrath - - * intl/Makefile [gettext-srcdir]: Rewrote copying rules to only - get .c and .h files. - - * malloc/malloc.c (align): Use abort instead of assert. - -Sun Nov 19 18:23:07 1995 Roland McGrath - - * Makeconfig (+includes): Add $($(stdio)-include). - (libio-include): New variable. - - * stdlib/strtod.c: Put weak_symbol after function defn. - * stdlib/strtol.c: Likewise. - - * configure.in (--enable-libio): If not present, set $stdio to - "default". Move stdio/libio check to end, so sysdeps fragments - can affect it. Reset $stdio to "stdio" if it's "default". - * sysdeps/unix/sysv/linux/configure: New file. - -Sat Nov 18 16:46:01 1995 Ulrich Drepper - - * libio/Makefile, libio/cleanup.c, libio/clearerr.c, libio/feof.c, - libio/ferror.c, libio/fgetc.c, libio/filedoalloc.c, libio/fileno.c, - libio/fileops.c, libio/fputc.c, libio/freopen.c, libio/fseek.c, - libio/genops.c, libio/getc.c, libio/getchar.c, libio/iofclose.c, - libio/iofdopen.c, libio/iofflush.c, libio/iofgetpos.c, libio/iofgets.c, - libio/iofopen.c, libio/iofprintf.c, libio/iofputs.c, libio/iofread.c, - libio/iofscanf.c, libio/iofsetpos.c, libio/ioftell.c, libio/iofwrite.c, - libio/iogetdelim.c, libio/iogetline.c, libio/iogets.c, libio/iolibio.h, - libio/iopadn.c, libio/ioprims.c, libio/ioputs.c, libio/ioseekoff.c, - libio/ioseekpos.c, libio/iosetbuffer.c, libio/iosetvbuf.c, - libio/iosprintf.c, libio/ioungetc.c, libio/iovsprintf.c, - libio/iovsscanf.c, libio/libio.h, libio/libioP.h, libio/putc.c, - libio/putchar.c, libio/rewind.c, libio/setbuf.c, libio/setlinebuf.c, - libio/stdfiles.c, libio/stdio.c, libio/stdio.h, libio/strfile.h, - libio/strops.c, libio/vasprintf.c, libio/vscanf.c, libio/vsnprintf.c: - New files. Slightly modified version from Linux libc. - - * libio/memstream.c, libio/vdprintf.c: New files for functions not - (yet) part of GNU libio. - - * libio/iofopncook.c: Implementation of `fopencookie', mainly written - by Per Bothner. - - * stdio-common/getline.c: Adapted to libio. - * stdio-common/snprintf.c: Adapted to libio. - * stdio-common/vfprintf.c: Adapted to libio. - * stdio-common/vfscanf.c: Adapted to libio. - * sysdeps/posix/tempname.c: Adapted to libio. - -Fri Nov 17 17:57:00 1995 Roland McGrath - - * sysdeps/generic/Makefile (make_siglist): Add missing backslash. - - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): New - function. - - * hurd/hurdfault.c: Replace __libc_fatal calls with assert_perror. - (_hurdsig_fault_init): Remove #if 0 from setting exception port. - Insert send right for SIGEXC before thread_set_special_port. - * hurd/hurdsig.c: Replace __libc_fatal calls with assert_perror. - (_hurdsig_init): Remove #if 0 from setting exception port. - - * sysdeps/mach/hurd/ptrace.c (ptrace: PTRACE_CONT): Use - HURD_MSGPORT_RPC macro. - -Thu Nov 16 06:07:49 1995 Roland McGrath - - * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): New - function. - (_dl_sysdep_start): Move cleanup code there. - - * Makeconfig (default-rpath): New variable. - (link-libc): Use it. - * elf/Makefile (ld.so): Pass -rpath=$(default-rpath). - * elf/rtld.c (_dl_rpath): New variable. - (_dl_start): Set it from rtld_map's DT_RPATH. - Call _dl_setup_hash on rtld_map. - (dl_main): Cache address of _exit in variable before relocating, - and use that in later calls. Call _dl_sysdep_start_cleanup before - relocating. Keep track of dependency order while loading; remove - rtld_map from chain, and reinsert in proper order if there is a - dependency on it. - - * sysdeps/generic/Makefile (make_siglist): Pass - -DSIGNUM_H=... with config's signum.h location. - * sysdeps/generic/make_siglist.c: Include SIGNUM_H to define - signal numbers. - (HAVE_STRSIGNAL, HAVE_PSIGNAL): Define these before including signame.c - (main): Deansideclize output. - - * elf/dl-load.c (_dl_map_object): Use _dl_rpath variable in place - of DEFAULT_RPATH macro. - * elf/Makefile: Undo last change. - - * sysdeps/mach/hurd/dl-sysdep.c (free): Don't abort, just nop. - -Wed Nov 15 19:22:07 1995 Roland McGrath - - * elf/dl-lookup.c (_dl_lookup_symbol): Undefined symbol is no - error if weak. - - * elf/Makefile (default-rpath): New variable. - (CPPFLAGS): Append -DDEFAULT_RPATH=.... - * elf/dl-load.c (_dl_map_object): Use DEFAULT_RPATH instead of - hard-coded "/lib:/usr/lib". - - * sysdeps/mach/hurd/dl-sysdep.c: Include _itoa.h from stdio-common - instead of stdio. - (_dl_sysdep_start): If passed user entry is zero and - EXEC_STACK_ARGS flag set, reset user entry to &_start. - - * elf/rtld.c (dl_main): Only call _dl_setup_hash if there is a - DT_HASH element. - - * libc-symbols.h [HAVE_ELF] (symbol_set_declare): Gratuitously - repeat weak decl using weak_symbol macro, in case using broken GCC - (<2.8). - -Wed Nov 15 18:49:55 1995 Ulrich Drepper - - * sysdeps/i386/isnanl.c: New file. - * sysdeps/i386/isinfl.c: New file. - -Tue Nov 14 18:44:21 1995 Roland McGrath - - * malloc/free.c (free): Moved null and aligned_blocks checks - inside _free_internal. - -Mon Nov 13 15:23:01 1995 Roland McGrath - - * malloc/malloc.c (morecore): Fix inverted test in allocating new - info table. - - * malloc/malloc.c (align): Fix assertion. - - * malloc/malloc.c: Include assert.h. - - * libc-symbols.h: Use __attribute__ for GCC 2.8, not 2.7. - - * malloc/malloc.h [emacs] (emacs_loser_valloc): Macro removed. - (valloc): Protect decl with [! (_MALLOC_INTERNAL && emacs)]. - -Fri Nov 10 14:15:21 1995 Roland McGrath - - * malloc/malloc.c (align): Assert that space for alignment - adjustment is same original space. - - * hurd/hurdprio.c (_hurd_priority_which_map): Cast vm_deallocate - arg to vm_address_t. - - * hurd/hurdsig.c (_hurd_internal_post_signal): For SIGNO == 0, - skip straight to pending check. When UNTRACED, resume process - from suspension first. - - * intl/Makefile (headers): New variable, libintl.h. - [gettext-srcdir]: New rules to copy source from $(gettext-srcdir)/intl. - * configure.in: Check for --with-gettext arg. - -Fri Nov 10 13:51:30 1995 Richard Stallman - - * malloc/malloc.c (get_contiguous_space): New function. - (morecore): Rewrite allocating new malloc info table. - (_malloc_internal): Use get_contiguous_space. - -Fri Nov 10 13:03:40 1995 Roland McGrath - - * hurd/hurdexec.c (_hurd_exec): If exec'ing self, pass - _hurd_msgport to be destroyed. - - * Makerules (installed-libcs): Filter out %_pic.a. - - * hurd/hurdinit.c (_hurd_proc_init): When traced, use msg_sig_post - to our msgport to take SIGTRAP, instead of _hurd_raise_signal. - - * hurd/Makefile (user-interfaces): Add hurd/process_request. - -Wed Nov 8 16:31:25 1995 Roland McGrath - - * termios/Makefile (headers): Add sys/ttychars.h. - * termios/sys/ttychars.h: New file, incorporated from 4.4BSD-Lite - for compatibility. - - * signal/signal.h [__USE_BSD] (sig_t): New typedef. - -Wed Nov 8 15:12:47 1995 Michael I. Bushnell, p/BSG - - * sysdeps/mach/hurd/ptrace.c (ptrace) [PTRACE_TRACEME]: Notify the - proc server that we are now traced. - -Tue Nov 7 12:29:46 1995 Roland McGrath - - * elf/Makefile (ldd): Make it executable. - - * Makeconfig (config-LDFLAGS): Find dynamic linker in $(slibdir). - - * Makeconfig (slibdir): New variable. - * Makerules (install): Install libc.so in $(slibdir). - * elf/Makefile (install-others): Install ld.so and ld-linux.so.1 - in $(slibdir). - - * elf/linux-compat.c: New file. - * elf/Makefile (distribute): Add linux-compat.c. - (generated): Add librtld.so. - [$(config-os)=linux*] (extra-objs): Add linux-compat.so. - [$(config-os)=linux*] (extra-objs): Add ld-linux.so.1. - (librtld.so): New target. - (ld.so, ld-linux.so.1): Make from librtld.so. - - * elf/rtld.c (dl_main): Instead of weak call to _dl_compat_init, - call our own DT_INIT if we have one (and then clear it). - (__dgettext): New weak function. - - * intl/localealias.c (read_alias_file): Avoid sprintf; use memcpy - by hand instead. - - * sysdeps/generic/_strerror.c (_strerror_internal): Use _itoa - instead of snprintf. - - * sysdeps/mach/_strerror.c (_strerror_internal): Don't write - BUF[BUFLEN]. - - * elf/rtld.c (rtld_map): New static variable. - (_dl_start): Use a differently named local BOOTSTRAP_MAP for the - bootstrapping. Then copy data into `rtld_map'. - (dl_main): Finish filling in rtld_map and link it into the chain, - instead of allocating a new structure. - (dl_main): Call _dl_compat_init if it is defined (use weak ref). - - * elf/dlsym.c: Fix last change: move REF out of `doit'. - -Mon Nov 6 16:20:14 1995 Roland McGrath - - * elf/dlsym.c: Return the proper value, not just the defining - object's loadbase. - -Sun Nov 5 16:09:13 1995 Roland McGrath - - * stdio-common/vfprintf.c (%c): Count the character itself towards - the field width in all cases. - - * sysdeps/mach/hurd/getpriority.c (getpriority): Cast - __vm_deallocate arg to vm_address_t. - -Fri Nov 3 17:27:49 1995 Roland McGrath - - * sysdeps/mach/hurd/sendto.c: Don't pass BINDING arg to - socket_create_address. - * sysdeps/mach/hurd/connect.c: Likewise. - * sysdeps/mach/hurd/bind.c: Likewise. - - * hurd/hurdprio.c (_hurd_priority_which_map): Pass threadwaits - args to proc_getprocinfo. - * sysdeps/mach/hurd/getpriority.c: Likewise. - - * hurd/hurdmsg.c (_S_msg_report_wait): New stub function. - -Thu Nov 2 19:24:37 1995 Roland McGrath - - * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Define as common. - -Tue Oct 31 00:07:29 1995 Roland McGrath - - * sysdeps/mach/hurd/getpriority.c (getpriority): Pass - PI_FETCH_TASKINFO to proc_getprocinfo and through - _hurd_priority_which_map. - - * sysdeps/mach/hurd/setpriority.c (setpriority): Pass new arg to - _hurd_priority_which_map. - * hurd/hurdprio.c (_hurd_priority_which_map): New arg PI_FLAGS, - passed through to proc_getprocinfo RPC. - * hurd/hurd/resource.h: Add PI_FLAGS arg in decl. - - * sysdeps/mach/hurd/group_member.c: New file. - * sysdeps/generic/group_member.c: New file. - - * Makerules (lib-noranlib): Don't depend on $(install-lib). - (others): Do. - * extra-lib.mk: Fix test of $(lib)-no-lib-dep. - -Mon Oct 30 12:33:10 1995 Roland McGrath - - * Rules (others): Depend on $(extra-objs). - - * posix/unistd.h [__USE_GNU]: Declare group_member, __group_member. - * posix/Makefile (routines): Add group_member. - - * sysdeps/posix/euidaccess.c: New file, adapted from fileutils. - - * sysdeps/unix/sysv/linux/i386/sigaction.c: Tighten constraint for - SIG operand in asm so it must be a register. - Add dead return to quiet gcc warning. - - * Makerules (sysd-rules): Write a defn for sysd-rules-done. - [! sysd-rules-done]: Inhibit deps. - -Thu Oct 26 23:11:11 1995 Ulrich Drepper - - * sysdeps/unix/sysv/linux/poll.c: Don't define as stub. Use - simulation of system call using select. - - * sysdeps/unix/sysv/linux/signal.c: Use POSIX implementation. - - * sysdeps/unix/sysv/linux/statbuf.h: Define _STAT_VER. - - * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct parameter - name usage (new->act, old->oact). - Correct asm statement because of gcc strangeness. - - * sysdeps/i386/i586/strchr.S: Correct typos: cmp -> cmpb. - - * sunrpc/clnt_perr.c: Remove declaration of sys_errlist. They - conflict with the ones in stdio.h. - - * string/tester.c: %Z is no complete format. Change to %Zd. - -Thu Oct 26 18:13:33 1995 Miles Bader - - * sysdeps/mach/hurd/bind.c (bind): Swap args to dir_link. - * sysdeps/mach/hurd/link.c (__link): Ditto. - * sysdeps/mach/hurd/symlink.c (__symlink): Ditto. - * sysdeps/mach/hurd/mknod.c (__mknod): Ditto. - Include "stdio-common/_itoa.h" instead of "stdio/_itoa.h". - -Thu Oct 26 00:11:13 1995 Roland McGrath - - * sysdeps/unix/sysv/linux/i386/sigaction.c: New file. - - * sysdeps/unix/sysv/linux/i386/xstat.S: Don't use JUMPTARGET macro - on syscall_error. For PIC, it is a local label; - for non-PIC, JUMPTARGET expands to the unadorned name anyway. - * sysdeps/unix/sysv/linux/i386/xmknod.S: Likewise. - * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise. - * sysdeps/unix/sysv/linux/i386/socket.S: Likewise. - * sysdeps/unix/sysv/linux/i386/sbrk.S: Likewise. - * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. - * sysdeps/unix/sysv/linux/i386/brk.S: Likewise. - -Thu Oct 26 03:01:22 1995 Ulrich Drepper - - * sysdeps/unix/sysv/linux/syscall.h: Strip list of syscalls in - comment to the necessary ones. Add _readv and _writev. - - * sysdeps/unix/configure.in: Change syntax for system call test - candidates and adapt sed script for this. Now use : to separate - syscall name and file name. - - * sysdeps/unix/sysv/linux/i386/sysdep.h (ENTRY): System call - number is now set is DO_CALL. So call with additional argument. - (DO_CALL): Takes an additional argument. Load system call - number according to new argument. - (SYSCALL_ERROR_HANDLER): Add ; after last ret statement. - * sysdeps/unix/sysv/linux/i386/brk.S [PIC]: Define __syscall_error - locally using SYSCALL_ERROR_HANDLER macro. - * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. - * sysdeps/unix/sysv/linux/i386/sbrk.S: Likewise. - * sysdeps/unix/sysv/linux/i386/socket.S: Likewise. - * sysdeps/unix/sysv/linux/i386/xmknod.S: Likewise. - * sysdeps/unix/sysv/linux/i386/xstat.S: Likewise. - * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise. - Don't use DO_CALL macro; instead use lower level macros for better - control. - - * sysdeps/unix/sysv/linux/sigaction.h: New file. - * sysdeps/unix/sysv/linux/sigaction.S: File removed. - * sysdeps/unix/sysv/linux/signal.S: File removed. - -Wed Oct 25 14:23:35 1995 Roland McGrath - - * hurd/hurdstartup.c (_hurd_startup): Use new - exec_startup_get_info RPC from exec_startup.defs - in place of old exec_startup from exec.defs. Remove kludge to - guess user entry and phdr locations, since the new RPC gives us - that info. - - * stdio/stdio.h (sys_errlist, _sys_errlist): Declare const. - * sysdeps/generic/_strerror.c: Undo last change. - - * sysdeps/unix/sysv/linux/stat.c: New file. - * sysdeps/unix/sysv/linux/fstat.c: New file. - * sysdeps/unix/sysv/linux/lstat.c: New file. - * sysdeps/unix/sysv/linux/i386/stat.S: File removed. - * sysdeps/unix/sysv/linux/i386/fstat.S: File removed. - * sysdeps/unix/sysv/linux/i386/lstat.S: File removed. - -Tue Oct 24 15:22:58 1995 Roland McGrath - - * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER): - New macro. - (PSEUDO): Use it instead of SYSCALL_PIC_SETUP and jmp syscall_error. - - * sysdeps/unix/sysv/linux/i386/sysdep.S (__syscall_error): Define - only #ifndef PIC. - - * Makeconfig (built-program-cmd): New variable. - * sunrpc/Makefile (rpcgen-cmd): Use $(built-program-cmd). - * time/Makefile (zic-cmd): Likewise. - - * hurd/Makefile (user-interfaces): Add hurd/exec_startup. - - * sunrpc/Makefile (librpcsvc-no-lib-dep): New variable. - * extra-lib.mk: If $(lib)-no-lib-dep is defined and MAKELEVEL>0, - make `others' rather than `lib-noranlib' depend on the libraries. - - * sysdeps/unix/configure.in: Check for fchdir syscall. - Improve sed script to allow / on rhs without / on lhs. - -Thu Oct 19 03:47:32 1995 Ulrich Drepper - - * sysdeps/unix/sysv/linux/termbits.h: Don't define speed constants. - - * elf/rtld.c: Include _itoa.h from stdio-common instead of stdio. - - * sysdeps/unix/sysv/linux/select.S: New file. - -Wed Oct 18 03:33:22 1995 Roland McGrath - - * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Use - SYSCALL_PIC_SETUP before jumping to syscall_error. - * sysdeps/unix/i386/sysdep.h (SYSCALL_PIC_SETUP): New macro. - (PSEUDO): Use it before jumping to syscall_error. - * sysdeps/unix/i386/sysdep.S [! PIC]: Don't find GOT address; - expect it in %ebx on entry. Pop old %ebx value off stack after - using it. - - * signal/signal.h [__USE_BSD] (_sys_siglist, sys_siglist): Declare - them. - - * sysdeps/generic/_strerror.c: Declare _sys_errlist and _sys_nerr. - - * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): For magic - `fd/', pass the right pointer to strtol to parse the number. - -Tue Oct 17 23:00:10 1995 Roland McGrath - - * sysdeps/mach/_strerror.c: Include stdio-common/_itoa.h instead - of stdio/_itoa.h. - -Tue Oct 17 19:51:17 1995 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/stat.S [PIC] (__stat): Set GOT - register %ebx before calling __xstat through PLT. - - * sysdeps/unix/sysv/linux/i386/sysdep.S: Fix typo in comment. - - * sysdeps/unix/sysv/linux/sigset.h: Remove file. - -Tue Oct 17 01:21:21 1995 Roland McGrath - - * hurd/hurdsock.c: Include stdio-common/_itoa.h instead of - stdio/_itoa.h. - * hurd/hurdlookup.c: Likewise. - - * hurd/hurd/signal.h: Declare hurd_preempt_signals and - hurd_unpreempt_signals. - - * stdio/stdio.h: Declare __snprintf and __vsnprintf. - - * stdio-common/psignal.c: Translate signal description strings. - * string/strsignal.c: Likewise. - * sysdeps/generic/_strerror.c (_strerror_internal): Translate - error strings. - * sysdeps/mach/_strerror.c: Likewise. - - * stdio-common/snprintf.c (__snprintf): Renamed from snprintf; - call __vsnprintf. - (snprintf): Define as weak alias. - * stdio/vsnprintf.c (__vsnprintf): Renamed from vsnprintf. - (vsnprintf): Define as weak alias. - -Mon Oct 16 03:22:37 1995 Roland McGrath - - * Makerules (install-lib): Filter out %_pic.a; install only the - linked shared objects. - - * locale/Makefile (aux): Add SYS_libc. - * locale/SYS_libc.c: New file. - * libc-symbols.h [! ASSEMBLER] (_): New macro. - - * configure.in (libc_cv_asm_set_directive): Link program into - conftest instead of letting it default to a.out. - - * elf/Makefile (install-others): Add missing slash. - - * elf/ldd.sh.in: Prepend `./' to relative file names so ld.so - won't search LD_LIBRARY_PATH. - - * Makefile (subdirs): Replace stdio with stdio-common and $(stdio). - * configure.in: Grok arg --enable-libio. - ($stdio = libio): Define USE_IN_LIBIO. - * config.h.in (USE_IN_LIBIO): Add #undef. - * config.make.in (stdio): New variable, set by configure. - * Makeconfig (stdio): New variable. - * stdio.h [USE_IN_LIBIO]: Include libio/stdio.h instead of - stdio/stdio.h. - * stdio-common/Makefile: New file. - * stdio/Makefile: Half the contents moved to stdio-common/Makefile. - * stdio/_itoa.c: Moved to stdio-common. - * stdio/_itoa.h: Moved to stdio-common. - * stdio/asprintf.c: Moved to stdio-common. - * stdio/bug1.c: Moved to stdio-common. - * stdio/bug1.input: Moved to stdio-common. - * stdio/bug2.c: Moved to stdio-common. - * stdio/bug3.c: Moved to stdio-common. - * stdio/bug4.c: Moved to stdio-common. - * stdio/bug5.c: Moved to stdio-common. - * stdio/bug6.c: Moved to stdio-common. - * stdio/bug6.input: Moved to stdio-common. - * stdio/bug7.c: Moved to stdio-common. - * stdio/dprintf.c: Moved to stdio-common. - * stdio/errnobug.c: Moved to stdio-common. - * stdio/getline.c: Moved to stdio-common. - * stdio/getw.c: Moved to stdio-common. - * stdio/perror.c: Moved to stdio-common. - * stdio/printf-parse.h: Moved to stdio-common. - * stdio/printf-prs.c: Moved to stdio-common. - * stdio/printf.c: Moved to stdio-common. - * stdio/printf.h: Moved to stdio-common. - * stdio/printf_fp.c: Moved to stdio-common. - * stdio/psignal.c: Moved to stdio-common. - * stdio/putw.c: Moved to stdio-common. - * stdio/reg-printf.c: Moved to stdio-common. - * stdio/scanf.c: Moved to stdio-common. - * stdio/snprintf.c: Moved to stdio-common. - * stdio/sprintf.c: Moved to stdio-common. - * stdio/sscanf.c: Moved to stdio-common. - * stdio/tempnam.c: Moved to stdio-common. - * stdio/temptest.c: Moved to stdio-common. - * stdio/test-fseek.c: Moved to stdio-common. - * stdio/test-fwrite.c: Moved to stdio-common. - * stdio/test-popen.c: Moved to stdio-common. - * stdio/test_rdwr.c: Moved to stdio-common. - * stdio/tmpfile.c: Moved to stdio-common. - * stdio/tmpnam.c: Moved to stdio-common. - * stdio/tst-fileno.c: Moved to stdio-common. - * stdio/tst-printf.c: Moved to stdio-common. - * stdio/tstgetln.c: Moved to stdio-common. - * stdio/tstgetln.input: Moved to stdio-common. - * stdio/tstscanf.c: Moved to stdio-common. - * stdio/tstscanf.input: Moved to stdio-common. - * stdio/vfprintf.c: Moved to stdio-common. - * stdio/vfscanf.c: Moved to stdio-common. - * stdio/vprintf.c: Moved to stdio-common. - * stdio/xbug.c: Moved to stdio-common. - * sysdeps/generic/Makefile (siglist.c rules): Do this in subdir - stdio-common instead of stdio. - * sysdeps/unix/Makefile (errlist.c rules): Likewise. - * stdio-common/asprintf.c [USE_IN_LIBIO]: Call libio primitive - function. - * stdio-common/dprintf.c: Likewise. - * stdio-common/printf.c: Likewise. - * stdio-common/scanf.c: Likewise. - * stdio-common/snprintf.c: Likewise. - * stdio-common/sprintf.c: Likewise. - * stdio-common/sscanf.c: Likewise. - * stdio-common/vprintf.c: Likewise. - - * Makerules: Include $(+depfiles) directly instead of generating - depend-$(subdir). - (depend-$(subdir)): Target removed. - (common-clean): Don't remove depend-$(subdir). - - * sysdeps/unix/sysv/linux/Makefile (rtld-installed-name): New variable. - (config-LDFLAGS): Variable removed. - - * sysdeps/mach/hurd/getcwd.c: Use __file_name_lookup_under. - * sysdeps/mach/hurd/bind.c: Likewise. - * sysdeps/mach/hurd/access.c: Use new __hurd_file_name_lookup - calling convention. - - * hurd/hurdexec.c: Undo last change (10 Oct 95). - -Sun Oct 15 21:04:13 1995 Roland McGrath - - * hurd/hurd/lookup.h: New file. - * hurd/hurdlookup.c (__file_name_lookup_under): New function. - (__hurd_file_name_lookup, __hurd_file_name_lookup_retry, - __hurd_file_name_split): Rewritten to take callback functions for - using any needed init or dtable port, instead of passing in crdir - and cwdir ports. - (__file_name_lookup, __file_name_split): Use new calling - convention; pass _hurd_ports_use and __getdport as the callback - functions. - - * sysdeps/mach/hurd/chroot.c: Use __file_name_lookup_under instead - of __hurd_file_name_lookup. - * sysdeps/mach/hurd/chdir.c: Likewise. - * sysdeps/mach/hurd/fchdir.c: Likewise. - * hurd/fchroot.c: Likewise. - - * stdlib/Makefile (mpn-found): Don't omit %.s. - (mpn-copy-sysdep): Omit files in nonexistent directories. - (copy-mpn): Commit files to CVS. - * stdlib/gen-mpn-copy (translations): Update translations for GMP - 1.906.7. - - * configure.in (machine): Translate alpha* to alpha/&, hppa* to hppa/&. - -Sat Oct 14 02:52:36 1995 Ulrich Drepper - - * malloc/malloc.c (_malloc_internal): Performance fix. Move - if statement out of loop. - - * stdio/_itoa.c, stdio/_itoa.h: Complete rewrite. Much faster - implementation using GMP functions. Contributed by - Torbjorn Granlund and Ulrich Drepper. - - * stdio/test_rdwr.c: Include . - - * sysdeps/i386/i586/Implies: New file. - - New highly optimized string functions for i[345]86. - * sysdeps/i386/memchr.S, sysdeps/i386/memcmp.S: New files. - * sysdeps/i386/stpcpy.S, sysdeps/i386/stpncpy.S: New files. - * sysdeps/i386/strchr.S, sysdeps/i386/strcspn.S: New files. - * sysdeps/i386/strpbrk.S, sysdeps/i386/strrchr.S: New files. - * sysdeps/i386/strspn.S, sysdeps/i386/i486/strcat.S: New files. - * sysdeps/i386/i486/strlen.S, sysdeps/i386/i586/strchr.S: New files. - * sysdeps/i386/i586/strlen.S: New file. - * sysdeps/i386/memchr.c: Removed. There is now an assembler version. - - * sysdeps/i386/i586/memcopy.h (WORD_COPY_BWD): Parameters did - not correspond to used values. - - * sysdeps/unix/sysv/linux/nfs/nfs.h: New file. Simply a wrapper - around a kernel header file. - * sysdeps/unix/sysv/linux/Dist: Add it. - * sysdeps/unix/sysv/linux/Makefile [$(subdir)=sunrpc] (headers): - Likewise. - - * sysdeps/unix/sysv/linux/local_lim.h: Rewrite. Instead of - defining ourself we use a kernel header file. - - * sysdeps/unix/sysv/linux/i386/sysdep.h (DO_CALL): Optimize system - call handler for i586. - - * sysdeps/unix/sysv/linux/sys/param.h: Add copyright and clean up. - -Thu Oct 12 15:45:32 1995 Roland McGrath - - * hurd/hurd.h (file_name_lookup_under): Declare it. - * hurd/Makefile (headers): Add hurd/lookup.h. - - * hurd/hurdinit.c (_hurd_ports_use): New function. - * hurd/hurd.h (_hurd_ports_use): Declare it. - (hurd_invoke_translator, hurd_file_name_lookup, hurd_file_name_split, - hurd_file_name_lookup_retry): Remove these decls. - * hurd/Makefile (routines): Remove invoke-trans. - -Wed Oct 11 00:00:00 1995 Roland McGrath - - * sysdeps/i386/dl-machine.h (elf_machine_rel): Use +=, not =, to - apply R_386_PC32 reloc. - - * Makeconfig (config-LDFLAGS): Add missing slash. - - * sysdeps/mach/hurd/profil.c (fork_profil): Only call - update_waiter if profiling was enabled in the parent. - - * csu/initfini.c: Don't pass -f flag to cp. - -Tue Oct 10 23:08:53 1995 Roland McGrath - - * Makerules (build-shlib): Pass -rpath and -rpath-link options. - (LDFLAGS-c.so): Don't pass -dynamic-linker here. - * Makeconfig (+link): Pass $(sysdep-LDFLAGS). - (link-libc): Pass -rpath and -rpath-link options. - - * MakeTAGS (all-dirs): Omit CVS directories. - Specify vpath directives to find source files in $(all-dirs). - (sources, headers): Append sources and headers from $(all-dist) to - these. - (all-dist): Filter them out of this. - (all-headers, all-sources): Use $(shell find ...) instead of - $(wildcard ...). - - * sysdeps/mach/hurd/Makefile (sysdep-LDFLAGS): New variable; pass - -rpath-link. - - * hurd/hurdexec.c: Pass poly and dealloc args to __file_exec. - - * elf/Makefile (install-others): Add missing $. - -Mon Oct 9 02:54:14 1995 Roland McGrath - - * mach/Makefile ($(objpfx)errsystems.c): Rule reenabled. - - * Makeconfig (config-LDFLAGS): Define to - -Wl-dynamic-linker=$(libdir)$(rtld-installed-name). - (rtld-installed-name): New variable. - * elf/Makefile (install-lib): Variable removed. - (install-others): Define this instead, to - $(libdir)(rtld-installed-name). - ($(libdir)(rtld-installed-name)): New target; install from ld.so. - - * elf/ldd.sh.in: New file. - * elf/Makefile (distribute): Add ldd.sh.in. - (install-bin): Add ldd. - ($(objpfx)ldd: ldd.sh.in): New rule. - - * sysdeps/mach/hurd/dl-sysdep.c: Use __hurd_fail throughout. - * hurd/hurd.h (__hurd_fail): Replace macro with inline function. - Translate some Mach errors to Hurd errors. - - * elf/rtld.c (dl_main): Under --list, print msg if executable is - statically linked. - - * elf/dl-load.c (_dl_map_object_from_fd): Rewrote program header - table processing. - -Sat Oct 7 01:25:48 1995 Roland McGrath - - * sysdeps/stub/machine-gmon.h: Add #error. - -Fri Oct 6 01:49:48 1995 Roland McGrath - - * elf/dynamic-link.h (elf_get_dynamic_info): If DYN is null, don't - examine it. - -Fri Sep 29 03:43:51 1995 Paul Eggert - - Rewrite mktime from scratch for performance, and for correctness - in the presence of leap seconds. - - * time/mktime.c (ydhms_tm_diff, not_equal_tm, print_tm, check_result): - New functions. - (LEAP_SECONDS_POSSIBLE, CHAR_BIT, INT_MIN, INT_MAX, - TIME_T_MIN, TIME_T_MAX, TM_YEAR_BASE, EPOCH_YEAR): New macros. - , : New #includes. - (main): Support tests with given broken-down value; support benchmarks. - (__mon_lengths, debugging_enabled, printtm, dist_tm, doit, - do_normalization, normalize, BAD_STRUCT_TM, SKIP_VALUE, - ): Remove. - - * time/time.h, time/mktime.c (__mktime_internal): New offset arg. - * time/mktime.c (mktime), time/timegm.c (timegm): Use it. - - * time/mktime.c (__mon_yday): New variable; replaces `__mon_lengths'. - time/offtime.c (__offtime), time/tzset.c (compute_change): Use it. - - * time/offtime.c (__offtime): Remove useless assignment - `tp->tm_isdst = -1'. - - * manual/maint.texi: Update credits. - -Fri Oct 6 00:28:53 1995 Roland McGrath - - * sysdeps/unix/common/readv.S: Moved to sysdeps/unix/bsd. - * sysdeps/unix/common/writev.S: Moved to sysdeps/unix/bsd. - * sysdeps/unix/sysv/linux/readv.c: File removed. - * sysdeps/unix/sysv/linux/writev.c: File removed. - * sysdeps/unix/configure.in: Check for readv and writev syscalls. - - * sysdeps/unix/configure.in: If eval doesn't set $unix_srcname, - set it to $unix_syscall instead of $unix_function. - -Thu Oct 5 00:59:58 1995 Roland McGrath - - * elf/rtld.c (dl_main): Grok --list flag. - * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Ignore -- args. - -Wed Oct 4 00:21:03 1995 Roland McGrath - - * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_message): New function. - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_message): New function. - * elf/link.h (_dl_sysdep_message): Declare it. - - * sysdeps/unix/Makefile ($(common-objpfx)ioctls): Remove NULL from - the list. - - * time/northamerica: Corrections to Canada data from ADO 95i. - - * sysdeps/unix/sysv/linux/Makefile (headers): Don't append to this - unconditionally. In socket subdir, append sys/socketcall.h; in - time subdir, append sys/timex.h. - (config-LDFLAGS): New variable. - * sysdeps/unix/sysv/linux/Dist: New file. - * Makeconfig (+link): Pass $(config-LDFLAGS) before $(LDFLAGS). - - * sysdeps/generic/stpncpy.c: Don't increment DEST when zero-filling. - - * elf/dlopen.c (dlopen): Don't pass USER_ENTRY arg to _dl_map_object. - -Sat Sep 30 11:47:05 1995 Roland McGrath - - * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): If started by - kernel with args on stack, point _dl_hurd_data at zero data - instead of garbage. When ld.so run as program, grok args - -LIB=MEMOBJ and pre-load shared object files found in memory - objects loaded by the boot loader. - - * elf/link.h (struct link_map): New member `l_entry'. - (_dl_map_object, _dl_map_object_from_fd): Remove last arg ENTRY_POINT. - * elf/dl-load.c (_dl_map_object, _dl_map_object_from_fd): Remove - last arg ENTRY_POINT. Store the entry point location in the - `l_entry' member of the new map. - * elf/rtld.c (dl_main): Don't pass USER_ENTRY arg to - _dl_map_object. When run as program, set *USER_ENTRY to L->l_entry. - * elf/dl-init.c (_dl_init_next): Don't pass ENTRY_POINT arg to - _dl_map_object. - - * posix/tstgetopt.c, posix/tstgetopt.args: Test long options too. - - * sysdeps/unix/sysv/linux/i386/init-first.c (init): Save, set, and - restore %ebx by hand for personality syscall. - GCC cannot deal with spilling the dedicated GOT register. - - * misc/Makefile (routines): Add mntent, which was somehow omitted. - -Fri Sep 29 15:07:10 1995 Ulrich Drepper - - * sysdeps/unix/sysv/linux/adjtime.c (__adjtime): - Change name of field `mode' in `struct timex' to `modes'. - Linux-1.3.28 updates this name according to RFC 1589. - -Thu Sep 28 13:05:54 1995 Roland McGrath - - Merge new message handling code from GNU gettext, by Drepper. - * intl: New directory. - * Makefile (subdirs): Add intl. - - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Return - USER_ENTRY instead of storing it on our stack. - - * elf/rtld.c (rtld_command): Variable removed. - (_dl_skip_args): New variable. - (dl_main): Increment _dl_skip_args instead of setting rtld_command. - If the link_map for the executable itself is not first in the chain, - make it so. - * sysdeps/i386/dl-machine.h (RTLD_START): Use _dl_skip_args as - count of args to skip. - -Thu Sep 28 09:20:04 1995 Ulrich Drepper - - * stdlib/strtod.c (STRTOF): Fix handling of numbers with lots of - leading zeroes. - -Wed Sep 27 00:27:25 1995 Roland McGrath - - * sysdeps/mach/hurd/getcwd.c (__getcwd): Renamed from getcwd. - (getcwd): Define as weak alias. - * sysdeps/posix/getcwd.c: Likewise. - * sysdeps/stub/getcwd.c: Likewise. - * posix/unistd.h: Declare __getcwd. - - * string/string.h: Declare __strcasecmp. - * sysdeps/generic/strcasecmp.c (__strcasecmp): Renamed from - strcasecmp. - (strcasecmp): Define as weak alias. - - * string/string.h: Declare __stpcpy. - * sysdeps/generic/stpcpy.c (__stpcpy): Renamed from stpcpy. - (stpcpy): Define as weak alias. - - * sysdeps/unix/sysv/linux/Implies: Add unix/common. - - * sysdeps/unix/i386/sysdep.h [HAVE_ELF] (ASM_TYPE_DIRECTIVE): - Don't use `type' for arg name, since we are using it as a keyword - in the rhs. - - * sysdeps/unix/configure.in: Check for syscalls getpriority, - setpriority, getrlimit, setrlimit. - - * sysdeps/posix/truncate.c: Include fcntl.h. - - * sysdeps/generic/getdomain.c: Include string.h for strncpy decl. - - * sysdeps/stub/getpriority.c: Don't include obsolete gnu-stabs.h; - use new stub_warning syntax. - * sysdeps/stub/setpriority.c: Likewise. - * sysdeps/stub/__longjmp.c: Likewise. - * sysdeps/stub/_exit.c: Likewise. - * sysdeps/stub/accept.c: Likewise. - * sysdeps/stub/acos.c: Likewise. - * sysdeps/stub/alarm.c: Likewise. - * sysdeps/stub/asin.c: Likewise. - * sysdeps/stub/atan2.c: Likewise. - * sysdeps/stub/bind.c: Likewise. - * sysdeps/stub/cbrt.c: Likewise. - * sysdeps/stub/chroot.c: Likewise. - * sysdeps/stub/closedir.c: Likewise. - * sysdeps/stub/connect.c: Likewise. - * sysdeps/stub/cos.c: Likewise. - * sysdeps/stub/cosh.c: Likewise. - * sysdeps/stub/ctermid.c: Likewise. - * sysdeps/stub/cuserid.c: Likewise. - * sysdeps/stub/defs.c: Likewise. - * sysdeps/stub/exp.c: Likewise. - * sysdeps/stub/fmod.c: Likewise. - * sysdeps/stub/frexp.c: Likewise. - * sysdeps/stub/fsync.c: Likewise. - * sysdeps/stub/getcwd.c: Likewise. - * sysdeps/stub/getenv.c: Likewise. - * sysdeps/stub/gethostid.c: Likewise. - * sysdeps/stub/getlogin.c: Likewise. - * sysdeps/stub/getpeername.c: Likewise. - * sysdeps/stub/getrlimit.c: Likewise. - * sysdeps/stub/getsockname.c: Likewise. - * sysdeps/stub/getsockopt.c: Likewise. - * sysdeps/stub/listen.c: Likewise. - * sysdeps/stub/log.c: Likewise. - * sysdeps/stub/log10.c: Likewise. - * sysdeps/stub/mkfifo.c: Likewise. - * sysdeps/stub/morecore.c: Likewise. - * sysdeps/stub/nice.c: Likewise. - * sysdeps/stub/nlist.c: Likewise. - * sysdeps/stub/opendir.c: Likewise. - * sysdeps/stub/pipestream.c: Likewise. - * sysdeps/stub/ptrace.c: Likewise. - * sysdeps/stub/putenv.c: Likewise. - * sysdeps/stub/readdir.c: Likewise. - * sysdeps/stub/reboot.c: Likewise. - * sysdeps/stub/recv.c: Likewise. - * sysdeps/stub/recvfrom.c: Likewise. - * sysdeps/stub/rename.c: Likewise. - * sysdeps/stub/rewinddir.c: Likewise. - * sysdeps/stub/seekdir.c: Likewise. - * sysdeps/stub/send.c: Likewise. - * sysdeps/stub/sendto.c: Likewise. - * sysdeps/stub/setegid.c: Likewise. - * sysdeps/stub/seteuid.c: Likewise. - * sysdeps/stub/setgroups.c: Likewise. - * sysdeps/stub/sethostid.c: Likewise. - * sysdeps/stub/sethostname.c: Likewise. - * sysdeps/stub/setjmp.c: Likewise. - * sysdeps/stub/setrlimit.c: Likewise. - * sysdeps/stub/setsockopt.c: Likewise. - * sysdeps/stub/shutdown.c: Likewise. - * sysdeps/stub/signal.c: Likewise. - * sysdeps/stub/sigsuspend.c: Likewise. - * sysdeps/stub/sin.c: Likewise. - * sysdeps/stub/sinh.c: Likewise. - * sysdeps/stub/socket.c: Likewise. - * sysdeps/stub/socketpair.c: Likewise. - * sysdeps/stub/sqrt.c: Likewise. - * sysdeps/stub/sync.c: Likewise. - * sysdeps/stub/system.c: Likewise. - * sysdeps/stub/tan.c: Likewise. - * sysdeps/stub/tanh.c: Likewise. - * sysdeps/stub/tcdrain.c: Likewise. - * sysdeps/stub/tcflow.c: Likewise. - * sysdeps/stub/tcgetpgrp.c: Likewise. - * sysdeps/stub/tcsendbrk.c: Likewise. - * sysdeps/stub/tcsetattr.c: Likewise. - * sysdeps/stub/tcsetpgrp.c: Likewise. - * sysdeps/stub/telldir.c: Likewise. - * sysdeps/stub/tempname.c: Likewise. - * sysdeps/stub/ttyname.c: Likewise. - * sysdeps/stub/ttyname_r.c: Likewise. - * sysdeps/stub/utime.c: Likewise. - - * gmon/gmon.c (moncontrol): Don't cast buffer arg to profil. - - * time/mktime.c (localtime_r): Use 0 instead of NULL. - - * config.make.in (AS): New variable; set to `$(CC) -c'. - - * posix/unistd.h [__USE_BSD]: Declare profil. - - * elf/dl-load.c (_dl_map_object_from_fd): New function, broken out - of _dl_map_object. - (_dl_map_object): Call it. - * elf/link.h (_dl_map_object_from_fd): Declare it. - -Tue Sep 26 16:50:17 1995 Roland McGrath - - * locale/libintl.h: Rewritten by Ulrich Drepper for use with GNU - gettext code. - - * sysdeps/unix/sysv/linux/sys/param.h: New file. - * sysdeps/unix/sysv/linux/Subdirs: File removed. - - * libc-symbols.h (_LIBC): Define to 1, not just empty. - - * gmon: New directory of profiling code, incorporated from - 4.4BSD-Lite and modified. - * sysdeps/i386/machine-gmon.h: New file. - * sysdeps/stub/machine-gmon.h: New file. - * sysdeps/mach/hurd/profil.c: New file. - * sysdeps/stub/profil.c: New file. - * sysdeps/unix/bsd/profil.S: New file. - * Makefile (subdirs): Add gmon. - * csu/gmon-start.c: New file. - * csu/Makefile (extra-objs): Add gmon-start.o, - g$(start-installed-name). - (install-lib, omit-deps): Add g$(start-installed-name). - ($(objpfx)g$(start-installed-name)): New target. - -Fri Sep 22 14:24:25 1995 Roland McGrath - - * sysdeps/mach/hurd/Makefile: Elide sunrpc from $(subdirs) for the - time being. - -Thu Sep 21 00:03:53 1995 Roland McGrath - - * sysdeps/unix/configure.in: Check for `profil' syscall. - - * manual/Makefile (infodir, prefix, INSTALL, INSTALL_DATA): Variables - removed. - - * time/africa, time/asia, time/europe, time/northamerica, - time/yearistype: New data from ADO 95h. - - * Makerules (build-shlib): Use $(@F:lib%.so=%) in place of - $(notdir $*), so it wins for the explicit libc.so rule as well as the - pattern rule. - - * sysdeps/stub/sys/sem_buf.h (union semun): New type. - - * sysdeps/mach/hurd/i386/init-first.c (init1) [PIC]: Call - __libc_global_ctors. - * sysdeps/i386/init-first.c: Rewritten. - * sysdeps/unix/sysv/linux/i386/init-first.S: File removed. - * sysdeps/unix/sysv/linux/i386/init-first.c: New file. - - * sysdeps/unix/sysv/linux/i386/fpu_control.h: Fix name in decl of - ___fpu_control. - - * Makerules (build-shlib): New canned sequence, broken out of - lib%.so rule. Link in $^ instead of just $<. - (lib%.so: lib%_pic.a): Use it. - (libc.so): New target; use $(build-shlib) for cmds, but also depend - on soinit.so first and sofini.so last. - - * elf/soinit.c: New file. - * elf/sofini.c: New file. - * elf/Makefile (distribute): Add soinit.c and sofini.c. - (extra-objs): Add soinit.so and sofini.so. - - * sysvipc/sys/shm.h (shmat): Fix return type to char *. - * sysdeps/stub/sys/ipc_buf.h (key_t): Type removed. - - * misc/syslog.c (vsyslog): Rewritten using open_memstream to - dynamically allocate buffers. - - * Makerules (install-lib-nosubdir): Make this, rather than - install-no-libc.a, depend on the installed shared libraries. - -Wed Sep 20 18:02:03 1995 Roland McGrath - - * locale/locale.c: Include errno.h. - * locale/localedef.c: Likewise. - -Tue Sep 19 00:02:06 1995 Roland McGrath - - * Makefile (distclean-1): Remove config.cache, config.log, config.h. - (parent-mostlyclean): Remove all flavors of the parent library. - - * misc/mntent.c (getmntent): Skip multiple whitespace chars - between fields. - - * hurd/hurdstartup.c (_hurd_startup): If RPC returns - EXEC_STACK_ARGS flag, get args from stack. - If args on stack but have info from RPC, relocate args on stack to make - space for struct hurd_startup_data. - -Mon Sep 18 15:06:00 1995 Roland McGrath - - * elf/dl-object.c: Include errno.h. - * posix/execvp.c: Likewise. - * dirent/scandir.c: Likewise. - * sysdeps/posix/system.c: Likewise. - * sysdeps/generic/setenv.c: Likewise. - * stdlib/msort.c: Likewise. - * stdio/memstream.c: Likewise. - * stdio/fclose.c: Likewise. - * stdio/getdelim.c: Likewise. - * stdio/setvbuf.c: Likewise. - * sysdeps/ieee754/ldexp.c: Likewise. - * locale/locfile-parse.c: Likewise. - - * stdlib/lcong48_r.c: Don't check for null argument; let it fault. - * stdlib/seed48_r.c: Likewise. - * stdlib/srand48_r.c: Likewise. - * stdlib/jrand48_r.c: Likewise. - * stdlib/nrand48_r.c: Likewise. - - * Makeconfig (+gccwarn): Remove -Wbad-function-cast, which seems - to be useless. - -Mon Sep 18 12:39:22 1995 Paul Eggert - - * mktime.c (localtime_r): Add substitute if the system doesn't - provide one. - -Mon Sep 18 14:39:20 1995 Roland McGrath - - * time/gmtime.c (gmtime_r): Define as weak alias. - * time/localtime.c (localtime_r): Define as weak alias. - * time/time.h [__USE_REENTRANT] (gmtime_r, localtime_r): Declare them. - - * errno.h: Only define _ERRNO_H #ifndef __need_Emath. - #undef __need_Emath after including errnos.h. - [_ERRNO_H]: Protect decls with this. - -Sun Sep 17 08:22:12 1995 Paul Eggert - - Fix mktime so that it does not write over localtime's returned value. - * localtime.c (__localtime_r): New function, with extra arg - specifying where to store result. - (localtime): Use it. - (_tmbuf): New var. - * gmtime.c (__gmtime_r, gmtime, _tmbuf): Likewise. - * mktime.c (__mktime_internal): Conversion function is now - __localtime_r style, not localtime style. - (mktime): Pass __localtime_r, not localtime. - * timegm.c (timegm): Pass __gmtime_r, not gmtime. - * offtime.c (__offtime): New arg specifying where to store result. - * time.h (__mktime_internal, __offtime): Adjust decls accordingly. - (__gmtime_r, __localtime_r): New decls. - - * time/localtime.c: , , , - , : Remove includes. - : Add include. - - * time/mktime.c, time/time.h, time/timegm.c (__mktime_internal): - Renamed from _mktime_internal to avoid namespace pollution. - - * time/gmtime.c: Clear tm_isdst. - -Mon Sep 18 01:58:40 1995 Roland McGrath - - * misc/efgcvt_r.c (ecvt_r, fcvt_r): Last arg is size_t, not int. - * stdlib/stdlib.h (ecvt_r, fcvt_r): Fix type of last arg: make it - size_t. - - * sysdeps/mach/hurd/fpathconf.c: Call __io_pathconf instead of - __file_pathconf. - * sysdeps/mach/hurd/pathconf.c: Likewise. - - * Makefile (subdirs): Add sysvipc. - - * stdlib/srand48_r.c (srand48_r): Use UL suffix for huge constant. - * stdlib/drand48-iter.c (__drand48_iterate): Likewise. - -Sun Sep 17 18:29:13 1995 Roland McGrath - - * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Call - __file_set_size instead of __file_truncate. - - * features.h (__USE_REENTRANT): New macro. - - * sysdeps/mach/hurd/truncate.c: Call __file_set_size instead of - __file_truncate. - * sysdeps/mach/hurd/ftruncate.c: Likewise. - - * sysdeps/unix/sysv/linux/dl-machine.h: File removed. - -Sat Sep 16 17:47:19 1995 Ulrich Drepper - - * elf/elf.h (AT_GID): Fix typo: Read -> Real. - - * misc/efgvt_r.c: New file. Reentrant version of [efg]cvt functions. - * misc/efgcvt.c: Rewrite to use reentrant functions. - * misc/search.h: Many decls for hsearch functions. - * misc/hsearch_r.c: New file. Reentrant version of functions from - hsearch family. - * misc/hsearch.c, misc/tsearch.c: New files. - * misc/Makefile (routines): Add efgcvt_r, hsearch_r, hsearch, tsearch. - - * posix/unistd.h (ttyname_r): Add prototype for new function. - - * stdlib/drand48_r.c, stdlib/erand48_r.c, stdlib/jrand48_r.c, - stdlib/lrand48_r.c, stdlib/mrand48_r.c, stdlib/nrand48_r.c, - stdlib/seed48_r.c, stdlib/srand48_r.c, stdlib/lcong48_r.c, - stdlib/drand48-iter.c: New files implementing reentrant versions - of functions from drand48 family. - * stdlib/seed48.c, stdlib/drand48.c, stdlib/erand48.c, - stdlib/jrand48.c, stdlib/lrand48.c, stdlib/mrand48.c, - stdlib/nrand48.c, stdlib/srand48.c, stdlib/lcong48.c: - Rewrite to use reentrant versions. - * stdlib/a64l.c, stdlib/l64a.c: New files. Implement a64l() - and l64a() functions from SysV library. - * stdlib/Makefile (routines): Add drand48_r, erand48_r, lrand48_r, - nrand48_r, mrand48_r, jrand48_r, srand48_r, seed48_r, lcong48_r, - drand48-iter, a64l, l64a. - * stdlib/stdlib.h: Declare them. - - * stdlib/random_r.c: New file. Reentrant version of functions - from random family. - * stdlib/stdlib.h: Declare them. - * stdlib/random.c: Rewrite to use reentrant functions. - - * string/strerror_r.c: New file. Reentrant version. - * string/strerror.c: Change for new _strerror_internal form. - * string/Makefile (routines): Add strerror_r. - - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Set default - value of user_entry to `_start'. - Close AT_ENTRY case with `break'. - - * sysdeps/generic/strstr.c: New and much faster implementation - by Stephen R. van den Berg. - - * sysdeps/generic/_strerror.c: _strerror_internal now takes - three argument and has and explicit buffer length. - * sysdeps/mach/_strerror.c: Change for new interface with three - arguments. - * stdio/perror.c, stdio/vfprintf.c: Callers changed. - - * sysdeps/mach/hurd/ttyname_r.c: New file. Reentrant version. - * sysdeps/posix/ttyname_r.c: New file. Reentrant version. - * sysdeps/stub/ttyname_r: New file. Define as dummy function. - - * sysdeps/posix/utimes.c: Include for prototype. - (utimes): First parameter to utime must be file, not path. - - * sysdeps/posix/sysconf.c (__sysconf): Test for CLK_TCK in case - _SC_CLK_TCK and return it when available. - Test for STREAM_MAX in case _SC_STREAM_MAX and return it when - available. - Add case for _SC_2_LOCALEDEF which is now available. - - * posix/sys/types.h [__USE_SVID] (key_t): New type. - * sysvipc/Makefile, sysvipc/ftok.c, sysvipc/sys/ipc.h, - sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h, - sysdeps/stub/sys/msq_buf.h, sysdeps/stub/sys/sem_buf.h, - sysdeps/stub/sys/shm_buf.h, sysdeps/stub/sys/ipc_buf.h, - sysdeps/stub/semctl.c, sysdeps/stub/semget.c, sysdeps/stub/semop.c, - sysdeps/stub/shmat.c, sysdeps/stub/shmctl.c, sysdeps/stub/shmdt.c, - sysdeps/stub/shmget.c, sysdeps/stub/msgctl.c, sysdeps/stub/msgget.c, - sysdeps/stub/msgrcv.c, sysdeps/stub/msgsnd.c: New files. - Add implementation of System V IPC. - -Fri Sep 15 21:34:28 1995 Roland McGrath - - * hurd/hurdsig.c: Include in place of . - (write_corefile): Call __crash_dump_task instead of __core_dump_task. - Use envariable CRASHSERVER instead of CORESERVER. - * hurd/Makefile (user-interfaces): Replace hurd/core with hurd/crash. - -Tue Sep 12 14:30:07 1995 Roland McGrath - - * misc/mntent.c: New file. - * misc/mntent.h: New file. - * misc/Makefile (headers): Added mntent.h. - (routines): Added mntent. - * misc/fstab.c: Rewritten using mntent functions. - -Mon Sep 11 14:00:14 1995 Roland McGrath - - * posix/glob.c (glob): Comment fix. - -Fri Sep 8 16:25:22 1995 Roland McGrath - - * libc-symbols.h [HAVE_ELF] (symbol_set_declare): Declare the - symbols weak. - - * conf/portability.h (NEED_INETADDR, NEED_INETATON): Define to 1, - not empty. - -Fri Sep 8 16:32:12 1995 Ulrich Drepper - - * sysdeps/unix/sysv/linux/Implies, - sysdeps/unix/sysv/linux/Makefile, sysdeps/unix/sysv/linux/Subdirs, - sysdeps/unix/sysv/linux/accept.S, sysdeps/unix/sysv/linux/adjtime.c, - sysdeps/unix/sysv/linux/adjtimex.S, sysdeps/unix/sysv/linux/bind.S, - sysdeps/unix/sysv/linux/connect.S, sysdeps/unix/sysv/linux/direct.h, - sysdeps/unix/sysv/linux/dl-machine.h, sysdeps/unix/sysv/linux/errnos.h, - sysdeps/unix/sysv/linux/fork.S, sysdeps/unix/sysv/linux/gethostid.c, - sysdeps/unix/sysv/linux/gethostname.C, - sysdeps/unix/sysv/linux/getpeername.S, - sysdeps/unix/sysv/linux/getpgid.S, sysdeps/unix/sysv/linux/getpgrp.S, - sysdeps/unix/sysv/linux/getsockname.S, - sysdeps/unix/sysv/linux/getsockopt.S, sysdeps/unix/sysv/linux/gtty.S, - sysdeps/unix/sysv/linux/listen.S, sysdeps/unix/sysv/linux/local_lim.h, - sysdeps/unix/sysv/linux/madvise.c, sysdeps/unix/sysv/linux/msgctl.c, - sysdeps/unix/sysv/linux/msgget.c, sysdeps/unix/sysv/linux/msgrcv.c, - sysdeps/unix/sysv/linux/msgsnd.c, sysdeps/unix/sysv/linux/pipe.S, - sysdeps/unix/sysv/linux/poll.c, sysdeps/unix/sysv/linux/readv.c, - sysdeps/unix/sysv/linux/recv.S, sysdeps/unix/sysv/linux/recvfrom.S, - sysdeps/unix/sysv/linux/recvmsg.S, sysdeps/unix/sysv/linux/semctl.c, - sysdeps/unix/sysv/linux/semget.c, sysdeps/unix/sysv/linux/semop.c, - sysdeps/unix/sysv/linux/send.S, sysdeps/unix/sysv/linux/sendmsg.S, - sysdeps/unix/sysv/linux/sendto.S, sysdeps/unix/sysv/linux/setegid.c, - sysdeps/unix/sysv/linux/seteuid.c, sysdeps/unix/sysv/linux/sethostid.c, - sysdeps/unix/sysv/linux/setpgid.c, sysdeps/unix/sysv/linux/setpgrp.c, - sysdeps/unix/sysv/linux/setsid.S, sysdeps/unix/sysv/linux/setsockopt.S, - sysdeps/unix/sysv/linux/settimeofday.S, - sysdeps/unix/sysv/linux/shmat.c, sysdeps/unix/sysv/linux/shmctl.c, - sysdeps/unix/sysv/linux/shmdt.c, sysdeps/unix/sysv/linux/shmget.c, - sysdeps/unix/sysv/linux/shutdown.S, - sysdeps/unix/sysv/linux/sigaction.S, sysdeps/unix/sysv/linux/signal.S, - sysdeps/unix/sysv/linux/sigpending.S, sysdeps/unix/sysv/linux/sigset.h, - sysdeps/unix/sysv/linux/sockaddrcom.h, - sysdeps/unix/sysv/linux/socketpair.S, sysdeps/unix/sysv/linux/speed.c, - sysdeps/unix/sysv/linux/statbuf.h, sysdeps/unix/sysv/linux/stty.S, - sysdeps/unix/sysv/linux/syscall.h, sysdeps/unix/sysv/linux/sysconf.c, - sysdeps/unix/sysv/linux/tcdrain.c, sysdeps/unix/sysv/linux/tcflow.c, - sysdeps/unix/sysv/linux/tcflush.c, sysdeps/unix/sysv/linux/tcgetattr.c, - sysdeps/unix/sysv/linux/tcsetattr.c, - sysdeps/unix/sysv/linux/termbits.h, sysdeps/unix/sysv/linux/ualarm.c, - sysdeps/unix/sysv/linux/ulimit.c, sysdeps/unix/sysv/linux/usleep.c, - sysdeps/unix/sysv/linux/utsnamelen.h, sysdeps/unix/sysv/linux/vfork.c, - sysdeps/unix/sysv/linux/wait.c, sysdeps/unix/sysv/linux/wait4.S, - sysdeps/unix/sysv/linux/waitpid.c, sysdeps/unix/sysv/linux/writev.c: - New Linux/ELF specific, architecture independent files. - * sysdeps/unix/sysv/linux/i386/Dist, - sysdeps/unix/sysv/linux/i386/Makefile, - sysdeps/unix/sysv/linux/i386/brk.S, - sysdeps/unix/sysv/linux/i386/fcntlbits.h, - sysdeps/unix/sysv/linux/i386/fpu_control.c, - sysdeps/unix/sysv/linux/i386/fpu_control.h, - sysdeps/unix/sysv/linux/i386/fstat.S, - sysdeps/unix/sysv/linux/i386/fxstat.S, - sysdeps/unix/sysv/linux/i386/ieee_fpu.c, - sysdeps/unix/sysv/linux/i386/init-first.S, - sysdeps/unix/sysv/linux/i386/ipc.S, - sysdeps/unix/sysv/linux/i386/lstat.S, - sysdeps/unix/sysv/linux/i386/lxstat.S, - sysdeps/unix/sysv/linux/i386/mknod.S, - sysdeps/unix/sysv/linux/i386/mmap.S, - sysdeps/unix/sysv/linux/i386/sbrk.S, - sysdeps/unix/sysv/linux/i386/setfpucw.c, - sysdeps/unix/sysv/linux/i386/signum.h, - sysdeps/unix/sysv/linux/i386/socket.S, - sysdeps/unix/sysv/linux/i386/stat.S, - sysdeps/unix/sysv/linux/i386/syscall.S, - sysdeps/unix/sysv/linux/i386/sysdep.S, - sysdeps/unix/sysv/linux/i386/sysdep.h, - sysdeps/unix/sysv/linux/i386/xmknod.S, - sysdeps/unix/sysv/linux/i386/xstat.S: - New Linux i386/ELF specific files. - * sysdeps/unix/sysv/linux/sys/ipc_buf.h, - sysdeps/unix/sysv/linux/sys/mman.h, - sysdeps/unix/sysv/linux/sys/msq_buf.h, - sysdeps/unix/sysv/linux/sys/sem_buf.h, - sysdeps/unix/sysv/linux/sys/shm_buf.h, - sysdeps/unix/sysv/linux/sys/socketcall.h, - sysdeps/unix/sysv/linux/sys/timex.h: - New Linux/ELF specific, architecture independent header files. - * sysdeps/unix/sysv/sysv4/linux: Tree removed. - -Thu Sep 7 17:05:13 1995 Roland McGrath - - * stdlib/msort.c (msort_with_tmp): Fixed alignment test. B1 and - B2 are always congruent; just test that B1 is aligned. - -Wed Sep 6 19:41:10 1995 Roland McGrath - - * elf/dl-lookup.c (_dl_lookup_symbol): Test WEAK_VALUE.s rather - than WEAK_VALUE.a to see if a weak value has been set. A valid - weak value may set WEAK_VALUE.a to 0. - -Fri Sep 1 16:16:12 1995 Roland McGrath - - * sysdeps/mach/hurd/i386/longjmp-ts.c: Use new array format for - jmp_buf. - - * libc-symbols.h (link_warning): Take new first arg SYMBOL; ask - for a warning on references to that specific symbol, not the - entire containing object file. - (stub_warning): Pass symbol name to link_warning. - * stdio/gets.c: Pass function name in link_warning invocation. - - * hurd/intr-msg.c: Treat apparent EINTR return from msg trap like - MACH_SEND_INTERRUPTED. That indicates interrupt_operation was - sent, but failed. - - * stdlib/msort.c: Include memcopy.h. - (msort_with_tmp): If operating on aligned op_t words, use direct word - fetches and stores. - - * sysdeps/i386/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC): Add - missing backslash. - -Thu Aug 31 13:23:35 1995 Roland McGrath - - * sysdeps/unix/i386/brk.S [PIC]: Set __curbrk through the GOT. - - Rewrote i386 setjmp code in assembly, so as to avoid fighting - with the compiler for the register values. - * sysdeps/i386/setjmp.S, sysdeps/i386/__longjmp.S: New files. - * sysdeps/i386/setjmp.c, sysdeps/i386/__longjmp.c: Files removed. - * sysdeps/i386/jmp_buf.h [! _ASM] (__jmp_buf): Define as array of ints. - [__USE_MISC || _ASM] (JB_*): New macros, for indices therein. - (_JMPBUF_UNWINDS): Use JB_SP. - -Wed Aug 30 16:44:55 1995 Roland McGrath - - * sysdeps/mach/hurd/select.c: Deal with out of order replies - during io_select request loop. - Handle MACH_RCV_TIMED_OUT error from requests. - * hurd/intr-msg.c: If the user passed the MACH_RCV_TIMEOUT option, - distinguish MACH_RCV_TIMED_OUT from EINTR. - - * posix/glob.c (glob): Use realloc to extend strings for GLOB_MARK - slash. - (glob_in_dir): Don't allocate extra byte here. - - * sysdeps/i386/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC): - Decrement the DT_RELSZ value for the skipped reloc. - -Tue Aug 29 12:35:56 1995 Roland McGrath - - * time/australasia: Updated data from ADO. - -Mon Aug 28 17:47:11 1995 Roland McGrath - - * dirent/dirent.h: Don't include . - Instead, define DIR as typedef for (undefined) `struct __dirstream'. - -Fri Aug 25 12:12:42 1995 Roland McGrath - - * sysdeps/mach/hurd/dirstream.h: Define `struct __dirstream' - instead of `DIR'. - * sysdeps/unix/bsd/dirstream.h: Likewise. - * sysdeps/stub/dirstream.h: Likewise. - * sysdeps/unix/dirstream.h: Likewise. - * sysdeps/mach/hurd/telldir.c: Include "dirstream.h". - * sysdeps/mach/hurd/seekdir.c: Likewise. - * sysdeps/mach/hurd/opendir.c: Likewise. - * sysdeps/mach/hurd/closedir.c: Likewise. - * sysdeps/mach/hurd/readdir.c: Likewise. - * sysdeps/unix/telldir.c: Likewise. - * sysdeps/unix/seekdir.c: Likewise. - * sysdeps/unix/rewinddir.c: Likewise. - * sysdeps/unix/readdir.c: Likewise. - * sysdeps/unix/opendir.c: Likewise. - * sysdeps/unix/closedir.c: Likewise. - * sysdeps/unix/bsd/telldir.c: Likewise. - * sysdeps/unix/bsd/readdir.c: Likewise. - * dirent/Makefile (headers): Remove dirstream.h. - (distribute): Put it here instead. - - * sysdeps/mach/hurd/mmap.c: Fix inverted test of MAP_FIXED. - - * stdio/vfscanf.c (number): Allow field width to inhibit first - digit after base detection. - - * stdio/vfprintf.c (vfprintf: %s): Never search past the limit - specified by the precision. - - * grp/grpread.c (__grpscan): New function. - * grp/grp.h (__grpscan): Declare it. - * grp/getgrgid.c: Use __grpscan. - * grp/getgrnam.c: Likewise. - * pwd/pwdread.c (__pwdscan): New function. - * pwd/pwd.h (__pwdscan): Declare it. - * pwd/getpwnam.c: Use __pwdscan. - * pwd/getpwuid.c: Likewise. - -Thu Aug 24 16:29:40 1995 Roland McGrath - - * sysdeps/mach/hurd/mmap.c: Treat (FLAGS & MAP_TYPE) == 0 like - MAP_FILE. - - * hurd/thread-cancel.c: Return EINTR when called on self. - * sysdeps/i386/elf/start.S (data_start): Define as weak alias for - __data_start. - -Tue Aug 22 16:49:12 1995 Roland McGrath - - * inet/netdb.h: Moved to resolv. - * inet/Makefile (headers): Remove netdb.h. - * resolv/Makefile (headers): Add netdb.h. - * resolv/gethnamaddr.c, resolv/inet_addr.c, resolv/netdb.h, - resolv/res_send.c: Updated from BIND-4.9.3-BETA26. - - * hurd/thread-cancel.c: If SS->cancel_hook is not null, call it before - resuming the thread. - * hurd/hurd/signal.h (struct hurd_sigstate): New member `cancel_hook'. - - * hurd/Makefile: Removed dep on hurd/signal.h for RPC stub objects. - -Mon Aug 21 16:37:09 1995 Roland McGrath - - * sysdeps/i386/dl-machine.h (elf_machine_rel): Grok R_386_NONE - relocs, and do nothing. Why the linker generates them we may - never know. - -Thu Aug 17 16:18:38 1995 Roland McGrath - - * sysdeps/mach/hurd/Makefile: Don't elide sunrpc and manual from - `subdirs' variable. - - * sysdeps/mach/hurd/i386/intr-msg.h: New file. - * hurd/intr-msg.c: Use INTR_MSG_TRAP macro from machine-dependent - "intr-msg.h" for special syscall code, instead of i386-specific asm. - * hurd/hurdsig.c: Use INTR_MSG_BACK_OUT macro from - machine-dependent "intr-msg.h" before mutating thread state to - skip RPC. - - * sysdeps/mach/hurd/i386/trampoline.c: If PC is inside - _hurd_intr_rpc_mach_msg special syscall code, use real SP saved in - %ecx. - - * Makeconfig (link-libc): New variable; use shared library if - available. - (+link): Use it. - - * sysdeps/mach/hurd/fork.c (_hurd_fork_locks): Variable removed. - Instead, declare with `symbol_set_declare'. - (fork): Use symbol_set_* macros for _hurd_fork_locks. - Use SS->thread instead of __mach_thread_self (). Suspend all - other threads during task_create and port copying. - -Wed Aug 16 17:04:26 1995 Roland McGrath - - * hurd/intr-msg.c: Fixed calculation of syscall %esp. - -Tue Aug 15 12:26:18 1995 Roland McGrath - - * hurd/hurdsig.c (_hurdsig_abort_rpcs): Remove `static'. - - * hurd/Makefile (sig): Add intr-msg. - -Mon Aug 14 16:51:13 1995 Roland McGrath - - * hurd/thread-cancel.c: New file. - * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): In - rpc_wait case, frob mach_msg args to set timeout on receive. - (_hurdsig_rcv_interrupted_p): Function removed. - * sysdeps/mach/hurd/alpha/trampoline.c: Likewise. - * sysdeps/mach/hurd/hppa/trampoline.c: Likewise. - * sysdeps/mach/hurd/mips/trampoline.c: Likewise. - * hurd/intr-msg.c: New file. - * hurd/hurd/signal.h (struct hurd_sigstate): New member `cancel'. - (_hurdsig_rcv_interrupted_p): Declaration removed. - (HURD_EINTR_RPC): Macro removed. - (_hurd_longjmp_thread_state, _hurd_interrupted_rpc_timeout): Declare - these. - * hurd/intr-rpc.h: New file. - * hurd/intr-rpc.defs: Just import intr-rpc.h. - * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): New variable. - (interrupted_reply_port_location): Take new flag arg; only catch - faults if it's set. - (abort_rpcs): Rename to _hurdsig_abort_rpcs; take same new flag arg. - No longer use _hurdsig_rcv_interrupted_p; instead compare PC to - &_hurd_intr_rpc_msg_in_trap. If before it, mutate state to simulate - MACH_SEND_INTERRUPTED return; on it, interrupt the operation. All - callers changed. - * hurd/hurd.h (hurd_thread_cancel, hurd_check_cancel): Declare these. - * hurd/Makefile (distribute): Remove intr-rpc.awk. - (sig): Add thread-cancel. - (transform-user-stub, transform-user-stub-output): Variables removed. - * sysdeps/mach/hurd/dl-sysdep.c: Change all RPCs from - `__hurd_intr_rpc_*' to `__*'. - (_hurd_intr_rpc_mach_msg): New function. - (_hurd_thread_sigstate): Function removed. - * sysdeps/mach/hurd/ioctl.c: Use _hurd_intr_rpc_mach_msg function, - instead of __mach_msg inside HURD_EINTR_RPC macro. - - * sysdeps/generic/morecore.c [__GNU_LIBRARY__]: Declare `__sbrk' - to take ptrdiff_t arg. - - * sysdeps/mach/hurd/fork.c: Remove _hurd_longjmp_thread_state decl. - - * sysdeps/mach/hurd/kill.c (kill_pid): Don't make `inline'. - - * libc-symbols.h [GCC >= 2.7] (strong_alias, weak_symbol, - weak_alias): Use `extern' storage class. - -Wed Aug 9 14:25:35 1995 Miles Bader - - * sysdeps/mach/hurd/setuid.c (__setuid): Switch the port-type and - port-count parameters to __auth_makeauth. - * sysdeps/mach/hurd/setgid.c (__setgid): Ditto. - -Tue Aug 8 12:22:59 1995 Roland McGrath - - * hurd/sigunwind.c: Remove _hurd_longjmp_thread_state decl. - - * inet/netinet/tcp.h: New file, incorporated from 4.4BSD-Lite. - -Tue Aug 8 12:06:04 1995 Michael I. Bushnell, p/BSG - - * inet/netinet/in.h (IP_MULTICAST_TTL, IP_MULTICAST_LOOP, - IP_MULTICAST_IP, IP_ADD_MEMBERSHIP, IP_DROP_MEMBERSHIP): New IP - layer socket options. - (IPPROTO_GGP): Delete obsolote protocol. - (IPPROTO_IGMP): Add new protocol (with same value [2] as old GGP). - (struct ip_mreq): New type. - -Mon Aug 7 14:04:36 1995 Roland McGrath - - * stdlib/strtol.c: Use #ifdef, not #if, for HAVE_LIMITS_H. - - * posix/glob.c (glob_in_dir): Allocate GLOB_MARK byte in case when - (NFOUND == 0 && (FLAGS & GLOB_NOCHECK)). - - * sysdeps/generic/sysd-stdio.c (__stdio_reopen): Return failure - when __stdio_open fails with a code other than ENFILE or EMFILE. - -Fri Aug 4 16:01:59 1995 Roland McGrath - - * Makefile (headers): Added gnu-versions.h. - -Thu Aug 3 14:41:11 1995 Michael I. Bushnell - - * inet/netinet/in.h (IN_CLASSD, IN_EXPERIMENTAL, IN_BADCLASS): Use - equality, not assignment, to test bitfields. - -Sat Jul 29 10:41:06 1995 Miles Bader - - * sysdeps/mach/hurd/sendto.c (sendto): Use the ifsock protocol to - resolve AF_LOCAL addresses. - - * sysdeps/mach/hurd/accept.c (accept): If the protocol family - can't tell us what an address means, just return a zero-length - buffer instead. - * sysdeps/mach/hurd/recvfrom.c (recvfrom): Ditto. - -Fri Jul 28 15:29:11 1995 Miles Bader - - * sysdeps/mach/hurd/bind.c (bind): Don't use - file_invoke_translator, as it doesn't work. Instead just lookup - the translated node again, and hope we're not hit by any race - conditions. - -Wed Jul 26 02:00:29 1995 Roland McGrath - - * csu/Makefile [$(elf)=yes] (have-initfini): Set to yes. - [$(have-initfini)=yes]: Test this rather than $(elf) for crtstuff. - [start-installed-name-rule]: If this is defined, elide rule for - $(objpfx)$(start-installed-name). - * csu/initfini.c (SECTION): New macro, different definitions for - #ifdef HAVE_ELF and not. - (_init, _fini): Use that macro. - * sysdeps/unix/sysv/sco3.2.4/Makefile [$(subdir)=csu] - (start-installed-rule, start-installed-name-rule): New variables; - specify crt1.o, created by our own rule. - ($(objpfx)crt1.o): New rule. - * configure.in: Require autoconf 2.4.2 or later. Change all - AC_CACHE_VAL uses to use new AC_CACHE_CHECK macro instead; - prettify some messages. - [$elf!=yes] (libc_cv_have_initfini): New test for `.init' and `.fini' - sections. - * munch-tmpl.c [HAVE_INITFINI]: Call _init and atexit (_fini) in - this case rather than #ifdef HAVE_ELF. - * config.h.in (HAVE_INITFINI): New macro. - * config.make.in (have-initfini): New variable, set by configure. - - * stdio/vfscanf.c (conv_error): Simplify expression to avoid - "value computed is not used" warning. - - * Makeconfig (+gccwarn): Removed -Wconversion. - - * csu/initfini.c (GLOBAL): Macro removed. - (_init, _fini): Always define globally. - * csu/Makefile (crtstuff, initfini): Don't make crt[in]_s.o. - - * asia, backward, europe, leapseconds, southamerica: New data from - ADO's 95e. - - * inet/Makefile (routines): Removed inet_addr. - * inet/inet_addr.c: Moved to resolv/ subdirectory. - * resolv/Makefile (routines): Added inet_addr. - * resolv/inet_addr.c: Incorporated from BIND 4.9.3-BETA24 release. - * resolv/gethnamaddr.c: Likewise. - * resolv/getnetbyaddr.c: Likewise. - * resolv/getnetbyname.c: Likewise. - * resolv/getnetent.c: Likewise. - * resolv/getnetnamadr.c: Likewise. - * resolv/herror.c: Likewise. - * resolv/nsap_addr.c: Likewise. - * resolv/res_comp.c: Likewise. - * resolv/res_debug.c: Likewise. - * resolv/res_init.c: Likewise. - * resolv/res_mkquery.c: Likewise. - * resolv/res_query.c: Likewise. - * resolv/res_send.c: Likewise. - * resolv/resolv.h: Likewise. - * resolv/sethostent.c: Likewise. - * resolv/arpa/nameser.h: Likewise. - * inet/netdb.h: Incorporated from BIND 4.9.3-BETA24 release. - [__GNU_LIBRARY__]: Include instead of repeating - its declarations (and doing so only #ifdef sun!). - * conf/portability.h (NEED_INETADDR, NEED_INETATON): New macros. - - * posix/sys/types.h [__USE_BSD] (__BIT_TYPES_DEFINED__): New macro. - [__USE_BSD] [__GNUC__] (int64_t, u_int64_t, register_t): New typedefs. - - * malloc/memalign.c: Allocate (SIZE + ALIGNMENT - 1) and then trim - if possible. - - * mach/shortcut.awk: Emit decls for RPC. - - * libc-symbols.h [GCC >= 2.7 && !ASSEMBLER] (weak_symbol, - weak_alias, strong_alias): Define using GCC __attribute__ syntax. - - * Makerules ($(installed-libcs)): Depend on `lib' (only). - -Tue Jul 25 09:14:53 1995 Roland McGrath - - * sysdeps/mach/hurd/pathconf.c: Declare VALUE as int, not long int. - - * stdlib/strtol.c [_LIBC]: Define STDC_HEADERS. - - * sysdeps/unix/sysv/ftime.S: New file. - - * locale/locfile-parse.c (categories_write): Cast "" to char *. - - * io/fcntl.h [__OPTIMIZE__] (creat): Macro removed. - - * time/strftime.c: Use year modulo 100 for %y. - - * time/sys/timeb.h: Add __BEGIN_DECLS and __END_DECLS. - - * sysdeps/unix/snarf-ioctls (snarfexclude): Use two sed's instead - of one, to work around bug in sunos4.1.2 sed. - - * stdio/vfprintf.c (vfprintf): For %s with precision spec, use - memchr instead of strlen to limit search for NUL by precision. - -Mon Jul 24 03:13:16 1995 Roland McGrath - - * sysdeps/posix/pathconf.c: New file. - -Sat Jul 22 20:53:18 1995 Roland McGrath - - * sysdeps/unix/i386/sysdep.h (JUMPTARGET): Use ## to avoid space - before @PLT. - * sysdeps/mach/i386/sysdep.h (JUMPTARGET): New macro. - * sysdeps/i386/bsd-_setjmp.S: Use JUMPTARGET macro in jmp insn. - * sysdeps/i386/bsd-setjmp.S: Likewise. - -Sat Jul 22 19:58:54 1995 Michael I Bushnell - - * inet/Makefile (routines): Added `ruserpass'. - * inet/ruserpass.c: New file, from BSD Net-2 sources for the FTP - client. Modified to remove the fourth arg AACCT. Do nothing for - the `account' and `macdef' keywords. Other incidental changes - because we are not in the FTP source tree. - -Sat Jul 22 01:56:03 1995 Roland McGrath - - * sysdeps/stub/init-posix.c: Removed stub warning. - - * Makefile (autoconf-it): Make it executable and unwritable. - - * configure.in (sysnames): Under --enable-debug-configure, spew - potential sysnames. - - * sysdeps/unix/i386/sysdep.h (JUMPTARGET): New macro; use name@PLT - #ifdef PIC. - (PSEUDO): Use JUMPTARGET(syscall_error) in jump insn. - * sysdeps/unix/i386/syscall.S: Use JUMPTARGET(syscall_error) in - jump insn. - - * sysdeps/unix/sysv/sysv4/linux/i386/sysdep.h: Rewritten. - * sysdeps/unix/sysv/sysv4/linux/i386/syscall.S: New file. - * sysdeps/unix/sysv/sysv4/linux/i386/socket.S: Include - . Save %ebx in call-clobbered %edx instead of - stack. Use JUMPTARGET(syscall_error) in jump insn. - - * Makeconfig (+gccwarn): Add -Wbad-function-cast -Wconversion. - - * sysdeps/unix/i386/sysdep.h (ENTRY): Use ASM_GLOBAL_DIRECTIVE and - ASM_TYPE_DIRECTIVE. - (ASM_TYPE_DIRECTIVE): New macro; defined using `.type' #ifdef ELF. - - * sysdeps/unix/sysv/sysv4/linux/i386/sysdep.S (__syscall_error): - Rewritten, #include'ing unix/i386/sysdep.S for most of the code. - * sysdeps/unix/i386/sysdep.S [PIC]: Store into `errno' through the GOT. - - * configure.in (os=linux*): Use unix/sysv/sysv4 for $base_os, - instead of unix/sysv. - * sysdeps/unix/sysv/linux/{accept,connect,getsockname,rename, - socketpair,waitpid,bind,getpeername,listen,setsid,wait4}.S: Moved - to new directory sysdeps/unix/sysv/sysv4/linux. - * sysdeps/unix/sysv/linux: Directory removed. - * sysdeps/unix/sysv/i386/linux/{socket.S,sysdep.h,sysdep.S}: Moved - to new directory sysdeps/unix/sysv/sysv4/linux/i386. - * sysdeps/unix/sysv/linux/i386: Directory removed. - - Fixes to help Linux, inspired by drepper's work: - * sysdeps/posix/utimes.c: New file. - * sysdeps/generic/getdomain.c: New file. - * sysdeps/i386/init-first.c: Removed gratuitous #include . - * sysdeps/generic/dl-sysdep.c: Include and declare - externals _dl_argc, _dl_argc, and _environ. - -Fri Jul 21 12:57:29 1995 Michael I Bushnell - - * sysdeps/mach/hurd/socket.c (socket): Consider MIG_BAD_ID and - EOPNOTSUPP as indications that the server has died. - * sysdeps/mach/hurd/pipe.c (__pipe): Likewise. - * sysdeps/mach/hurd/socketpair.c (socketpair): Likewise. - -Mon Jul 17 08:45:40 1995 Jim Meyering (meyering@comco.com) - - * strtol.c: Portability changes from Uli Drepper. - [!STDC_HEADERS && !defined(NULL)]: Define NULL. - -Mon Jul 10 05:39:21 1995 Roland McGrath - - * sysdeps/mach/hurd/i386/init-first.c (init): Take just one arg, - DATA for the entry SP; DATA[-1] is always the return address - location. In both cthreads and non-cthreads cases, use asm to - force parameters into %eax and %ecx before return, and mutate - DATA[-1] to return to specific asm code to set up the user from - %eax and %ecx. - [PIC] (_init): Caller changed. - (__libc_init_first) [! PIC] (doinit): Use asm to effect call to init - with SP unwound to argument data ptr. - -Thu Jul 6 14:28:56 1995 Roland McGrath - - * sysdeps/mach/hurd/dl-sysdep.c (fmh): Fixed this kludge to work - when 0x08000000 and up are not mapped. - - * Makerules (stamp$o-$(subdir) rule): Remove the timestamp file - before touching it. - (lib%.so): Use -Wl to get -soname to ld. - - * elf/dlsym.c: Pass final arg to _dl_lookup_symbol. - - * elf/Makefile (libdl.so): Pass $(LDFLAGS.so). - -Tue Jun 20 02:18:19 1995 Roland McGrath - - * Makerules (lib%.so: lib%_pic.a): Pass -soname switch giving the - library's name including $(libprefix) and major version number. - - * locale/locale-ctype.c (allocate_arrays): Use xmalloc and bzero - in place of xcalloc. - - * Makeconfig (prefix, exec_prefix, libprefix): Instead of - `ifndef', use the $(origin) function to only set these if they are - undefined, and not if they are defined to empty. - - * gnu-versions.h: New file. - * features.h (__GNU_LIBRARY__): Increase value to 5. - -Wed Jun 14 03:45:24 1995 Roland McGrath - - * stdio/stdio.h (__validfp): Use ({...}) rather than a comma - expression, to avoid gcc's "value computed is not used" warning. - - * libc-symbols.h (_elf_set_element): Give the set-element variable - an `unused' attribute. - - * hurd/hurd/threadvar.h (__hurd_threadvar_location): Declare with - __attribute__ ((__const__)). - * hurd/hurd/signal.h (_hurd_self_sigstate): Likewise. - - * hurd/hurd/userlink.h (_hurd_userlink_link): Properly set - LINK->resource.next->resource.prevp when appropriate, not - LINK->resource.next->thread.prevp!!! - -Tue Jun 13 15:45:10 1995 Roland McGrath - - * configure.in (libc_cv_asm_set_directive): Make sure that the - `.set' directive really worked by linking against a reference to - the alias. - - * sysdeps/stub/init-first.c: Don't include . - [PIC] (soinit): Renamed to (global) _init. - -Mon Jun 12 13:15:45 1995 Roland McGrath - - * malloc/Makefile (gmalloc-routines): Remove valloc. - (dist-routines): Add it here. - - * malloc/malloc.h [_MALLOC_INTERNAL] [emacs] (valloc): #define to - emacs_loser_valloc to inhibit valloc declaration below. - - * Makerules (lib%.so: lib%_pic.a): Moved this rule to after - installation rules. - - * sysdeps/mach/sysdep.h [HAVE_ELF] (ENTRY): Redefine this macro so - it uses the `.type' directive, which is necessary for shared - libraries to work properly. - -Thu Jun 8 02:50:26 1995 Roland McGrath - - * elf/dl-load.c (_dl_map_object): Add MAP_INHERIT flag in mmap - from zero fill. - - * elf/dl-lookup.c (_dl_lookup_symbol): Take new flag arg NOSELF; - if nonzero, don't let *REF satisfy the reference itself. - * elf/link.h (_dl_lookup_symbol): Add new arg NOSELF in decl. - * sysdeps/i386/dl-runtime.c (_dl_runtime_resolve): Pass new arg to - _dl_lookup_symbol. - * elf/do-rel.h (elf_dynamic_do_rel): Pass new second arg of - R->r_offset to RESOLVE callback. - * elf/dl-reloc.c (_dl_relocate_object: resolve): Don't let *REF - satisfy the reference itself if its value equals the reloc's - offset. - - * elf/rtld.c (dl_main): Write a newline in fatal msg. - - * Makerules (lib%.so: lib%_pic.a): Pass $(LDFLAGS.so). - - * elf/rtld.c [! NDEBUG] (__assert_perror_fail): New function. - - * hurd/hurdstartup.c (_hurd_startup): Fancier kludge to guess phdr - and user entry point addresses. - - * elf/dl-load.c (open_path): Don't do strlen on DIRPATH if it's null. - (_dl_map_object): DT_RPATH value is relative to DT_STRTAB value. - - * Makerules (install-lib.so): Don't include libc.so. - [$(build-shared)=yes] (install): Depend on the installed libc.so file. - [$(build-shared)=yes] (install-no-libc.a): Make this, rather than - install, depend on the installed $(install-lib.so) files. - [$(build-shared)=yes] (install-lib.so): Append libc.so after that rule. - - * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Add kludge to - allocate high addresses to avoid random mappings appearing there. - (mmap): Comment out mask; always pass zero. - -Tue Jun 6 13:34:53 1995 Roland McGrath - - * sysdeps/i386/dl-machine.h (ELF_MACHINE_USER_ADDRESS_MASK): New macro. - * sysdeps/mach/hurd/dl-sysdep.c (mmap): Use it as mask in vm_map call. - - * elf/dl-error.c (_dl_catch_error): Clear *ERRSTRING and *OBJNAME - when successful. - - * sysdeps/mach/hurd/dl-sysdep.c (threadvars): New static variable. - (__hurd_threadvar_max, __hurd_threadvar_stack_offset): Define these - variables, using the `threadvars' buffer. - - * elf/dl-reloc.c: Don't dereference L->l_prev when it's null. - * sysdeps/i386/dl-runtime.c: Likewise. - - * elf/rtld.c (dl_main): Add missing NULL terminating argument in - _dl_sysdep_fatal call. - (__assert_fail): Likewise. - - * locale/Makefile (localedef-modules): Renamed ctype to - locale-ctype so as not to conflict with the object file for - ctype/ctype.c in the build directory. - -Mon Jun 5 04:02:26 1995 Roland McGrath - - * elf/elf.h (ELFMAG): Use \177 instead of \x7f. It seems GCC - insists on seeing the following E as part of hex 7FE, and - complaining that is wider than a byte. - -Sun Jun 4 22:14:11 1995 Roland McGrath - - * hurd/Makefile (sig): Added thread-self. - * hurd/hurd.h: Declare hurd_thread_self. - * hurd/thread-self.c: New file. - -Thu Jun 1 12:17:52 1995 Roland McGrath - - * elf/rtld.c: Initialize RTLD_MAP.l_type. - * elf/dl-reloc.c (_dl_relocate_object): Clear LAZY if relocating - the dynamic linker itself. - * sysdeps/i386/dl-machine.h (elf_machine_rel): If MAP->l_type is - lt_interpreter, first undo relocation done during bootstrapping. - -Tue May 30 15:52:32 1995 Roland McGrath - - * mach/Makefile (server-interfaces): Removed notify and - device_reply. For shlibs with eager binding, libmachuser.so must - not refer to any functions not defined in libc. - -Sat May 27 16:23:22 1995 Jim Meyering (meyering@comco.com) - - * sysdeps/generic/memchr.c: Cast RHS to const unsigned char * - to avoid error from Irix-4.0.5's C compiler. From Kaveh Ghazi. - -Fri May 26 13:00:08 1995 Roland McGrath - - * hurd/hurdsig.c (_hurd_internal_post_signal): Don't loop to check - pending signals if the thread is in a critical section. It will - send us a msg when it finishes. - - * sysdeps/mach/hurd/pathconf.c: New file. - * sysdeps/mach/hurd/fpathconf.c: New file. - - * sysdeps/mach/hurd/sigaction.c: Only notify the proc server for - SIGCHLD when the SA_NOCLDSTOP bit actually changes. - -Sun May 21 05:05:37 1995 Roland McGrath - - * elf/Makefile (ld.so): Use -nostartfiles in addition to - -nostdlib. - -Sun May 21 02:01:29 1995 Jim Meyering (meyering@comco.com) - - * sysdeps/generic/memchr.c: Don't include at all. - HPUX-9.01 and IRIX-4.0.5 vendor C compilers get conflicting dcls for - memchr unless one manually arranges for them to define __STDC__. - -Fri May 19 17:16:46 1995 Roland McGrath - - * sysdeps/mach/hurd/i386/init-first.c: In cthreads case, handle - args on stack from kernel. - - * posix/Makefile, sysdeps/alpha/Makefile, - * sysdeps/mach/hurd/Makefile, sysdeps/sparc/Makefile, Makefile, - * Makerules, Make-dist: Fix "cvs commit" cmds in rules to not fail - in the absence of CVS dirs. - - * hurd/hurdstartup.c: Don't call __mach_init. Grok args from the - kernel on the stack properly. - - * set-init.c: Never call _init/_fini; just run __libc_subinit. - - * Makerules (LDFLAGS-c.so): Add -nostartfiles. - * mach/Machrules (LDFLAGS-$(interface.so)): Likewise. - - * configure.in: Move defaulting of --with-elf and --with-gnu-* - based on host os outside the AC_CACHE_VAL for the sysdirs - calculation. - - * Makeconfig (localedir, nlsdir): New variables. - - * values.h: New file. - * Makefile (headers): Add values.h. - - * locale/Makefile (distribute): Add error.h. - * locale/localedef.c: Include "error.h". - (main): Use error_message_count instead of warning_cntr. - -Wed May 17 16:50:21 1995 Roland McGrath - - Merged 1003.2 locale and localedef programs by Ulrich Drepper. - * locale/charmap.c: New file. - * locale/collate.c: New file. - * locale/config.h: New file. - * locale/ctype.c: New file. - * locale/ctypedump.c: New file. - * locale/hash.c: New file. - * locale/hash.h: New file. - * locale/iso-4217.def: New file. - * locale/keyword.gperf: New file. - * locale/keyword.h: New file. - * locale/libintl.h: New file. - * locale/locale.c: New file. - * locale/localedef.c: New file. - * locale/localedef.h: New file. - * locale/locfile-lex.c: New file. - * locale/locfile-parse.c: New file. - * locale/messages.c: New file. - * locale/monetary.c: New file. - * locale/numeric.c: New file. - * locale/token.h: New file. - - * posix/regex.c, posix/regex.h: New files, incorporated from GNU regex. - * posix/Makefile (headers): Add regex.h. - (routines): Add regex. - (gpl2lgpl): Add regex.c and regex.h. - -Tue May 16 17:35:07 1995 Roland McGrath - - * locale/loadlocale.c: Expect macro LOCALE_PATH to be defined, - instead of hard-coding "/share/locale". - -Sat May 13 02:16:42 1995 Roland McGrath - - * configure.in (os=gnu*): Always set elf=yes, not just for os=gnu*elf*. - -Fri May 12 15:31:22 1995 Roland McGrath - - * elf/elf.h (ELFMAG, SELFMAG): New macros. - -Fri May 12 11:24:53 1995 Michael I Bushnell - - * hurd/alloc-fd.c (_hurd_alloc_fd): Don't reduce FIRST_FD in - the case where it starts out less than _hurd_dtablesize. - -Thu May 11 20:51:05 1995 Roland McGrath - - * hurd/alloc-fd.c (_hurd_alloc_fd): When expanding the dtable, - make sure the new size exceeds FIRST_FD. - -Wed May 10 21:00:47 1995 Roland McGrath - - * sysdeps/mach/i386/sysdep.h (RETURN_TO): New macro. - -Tue May 9 01:26:52 1995 Roland McGrath - - * Makerules (install-lib.so): Add %.so for each %_pic.a. - - * sysdeps/i386/elf/start.S (__data_start): Define this symbol as - the first thing in .data. - - * sysdeps/mach/_strerror.c (_strerror_internal): Eschew sprintf. - - * hurd/hurdstartup.h: New file. - - * sysdeps/i386/elf/start.S: Give two operands to `testl' when they - are the same. Use `jz' instead of `jeq'. - - * Makeconfig (config.make): Depend on config.status, and run it to - update. - (config.status): New target; depend on configure. - If target (config.status) exists, run it with --recheck to update; - if not, give error msg saying to run confiugre by hand. - * Makerules [$(sysd-Makefile-sysdirs) != $(sysdirs)] - (sysd-Makefile-force): Set this variable to FORCE in this case, to - force a rebuild of sysd-Makefile. - (sysd-Makefile): Depend on $(sysd-Makefile-force). - Write into the file sysd-Makefile-sysdirs:=$(sysdirs). - [$(sysd-rules-sysdirs) != $(sysdirs)] (sysd-rules-force): Set this - variable to FORCE in this case, to force a rebuild of sysd-rules. - (sysd-rules): Depend on $(sysd-rules-force). - Write into the file sysd-rules-sysdirs:=$(sysdirs). - - * Makerules (LDFLAGS-c.so): Change ld option -interp to - -dynamic-linker. - - * Makerules (do-install-program): New canned sequence. - (install-bin, install-sbin): Use it. - (install for lib*.so): Use it instead of $(do-install). - Fix .so installation rules to handle lib*.so and *.so, deal with - $(libprefix) right, and install *.so as *.so$($(*.so)-version); - i.e. "libc.so-version = .1". - -Mon May 8 05:10:25 1995 Roland McGrath - - * elf/do-rel.h: New file, split out of dynamic-link.h. - * elf/Makefile (distribute): Add do-rel.h. - -Sat May 6 11:06:47 1995 Roland McGrath - - * Makeconfig (+gccwarn): Add -Winline. - - * hurd/hurdsig.c (_hurd_internal_post_signal): If SS->context is - set, avoid abort_rpcs, and use reply and intr ports saved in - SS->context. - * sysdeps/mach/hurd/i386/trampoline.c: Don't set SS->intr_port - from SS->context. Don't clear SS->context. - * sysdeps/mach/hurd/i386/sigreturn.c: Don't set SS->intr_port when - setting SS->context. If msg_sig_post returns, re-lock and clear - SS->context. - -Fri May 5 10:37:09 1995 Roland McGrath - - * mach/Makefile (errsystems.c): Comment out generation rule. - - * sysdeps/mach/_strerror.c: Consider a system unknown if its - bad_sub member is null. - - * mach/mig-alloc.c: Add weak alias to non-__ name. - -Wed May 3 11:56:35 1995 Roland McGrath - - * sysdeps/mach/hurd/dup2.c: Fixed broken test in last change. - -Tue May 2 01:52:58 1995 Roland McGrath - - * elf/dl-error.c (_dl_catch_error): Actually call the OPERATE - function. Duh. - - * hurd/Makefile (distribute): Added hurdstartup.h. - * hurd/hurd.h: Remove _hurd_startup decl. - - * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS): Use __attribute__ - ((__unused__)) instead of gratuitous self reference. - - * sysdeps/mach/hurd/dup2.c: Call _hurd_alloc_fd to expand the - table if FD2 doesn't fit. - - * sysdeps/mach/hurd/getdtsz.c: Return the RLIM_NOFILE soft limit, - not the current table size. - - * sysdeps/mach/i386/sysdep.h (SNARF_ARGS, CALL_WITH_SP): Rewritten. - - Implemented runtime dynamic linker to support ELF shared libraries. - * elf/Makefile: Added rules to make ld.so and libdl. - * elf/dl-error.c: New file. - * elf/dl-fini.c: New file. - * elf/dl-init.c: New file. - * elf/dl-load.c: New file. - * elf/dl-lookup.c: New file. - * elf/dl-object.c: New file. - * elf/dl-reloc.c: New file. - * elf/dlclose.c: New file. - * elf/dlerror.c: New file. - * elf/dlopen.c: New file. - * elf/dlsym.c: New file. - * elf/dynamic-link.h: New file. - * elf/link.h: New file. - * elf/rtld.c: New file. - * sysdeps/i386/dl-machine.h: New file. - * sysdeps/stub/dl-machine.h: New file. - * sysdeps/i386/dl-runtime.c: New file. - * sysdeps/stub/dl-runtime.c: New file. - * sysdeps/i386/elf/start.S: New file. - * sysdeps/generic/dl-sysdep.c: New file. - * sysdeps/mach/hurd/dl-sysdep.c: New file. - * sysdeps/mach/hurd/i386/init-first.c: New file. - * sysdeps/i386/init-first.c: New file. - * sysdeps/stub/init-first.c: New file. - -Mon May 1 18:48:30 1995 Roland McGrath - - * Makerules (LDFLAGS-c.so): Add -interp and -e switches to make - libc.so runnable. - * version.c (__libc_print_version): Add "et al" and missing NL to - author credit. - -Sat Apr 29 15:46:57 1995 Roland McGrath - - * posix/glob.c (S_ISDIR): Define if undefined. - -Thu Apr 27 01:24:09 1995 Roland McGrath - - * configure.in: Unless --without-fp, prepend */fpu before each - machine dir in $mach; don't prepend FPU dirs at end. If - --with-elf, prepend MACHINE/elf directories at end; don't insert - them into $mach. - - * Makerules (dist): Filter out *.[cSs] from $(distribute) in deps. - - * sysdeps/stub/clock.c: Added stub warning. - * sysdeps/stub/dirfd.c: Likewise. - * sysdeps/stub/exc2signal.c: Likewise. - * sysdeps/stub/fdopen.c: Likewise. - * sysdeps/stub/flock.c: Likewise. - * sysdeps/stub/fpathconf.c: Likewise. - * sysdeps/stub/ftruncate.c: Likewise. - * sysdeps/stub/gtty.c: Likewise. - * sysdeps/stub/isatty.c: Likewise. - * sysdeps/stub/killpg.c: Likewise. - * sysdeps/stub/madvise.c: Likewise. - * sysdeps/stub/mkstemp.c: Likewise. - * sysdeps/stub/mktemp.c: Likewise. - * sysdeps/stub/mprotect.c: Likewise. - * sysdeps/stub/msync.c: Likewise. - * sysdeps/stub/pathconf.c: Likewise. - * sysdeps/stub/poll.c: Likewise. - * sysdeps/stub/raise.c: Likewise. - * sysdeps/stub/readv.c: Likewise. - * sysdeps/stub/setenv.c: Likewise. - * sysdeps/stub/setlogin.c: Likewise. - * sysdeps/stub/sigaltstack.c: Likewise. - * sysdeps/stub/sigintr.c: Likewise. - * sysdeps/stub/sigstack.c: Likewise. - * sysdeps/stub/sleep.c: Likewise. - * sysdeps/stub/sstk.c: Likewise. - * sysdeps/stub/stime.c: Likewise. - * sysdeps/stub/stty.c: Likewise. - * sysdeps/stub/syscall.c: Likewise. - * sysdeps/stub/sysconf.c: Likewise. - * sysdeps/stub/truncate.c: Likewise. - * sysdeps/stub/ualarm.c: Likewise. - * sysdeps/stub/usleep.c: Likewise. - * sysdeps/stub/utimes.c: Likewise. - * sysdeps/stub/writev.c: Likewise. - - * sysdeps/stub/libc_fatal.c: Remove __NORETURN keyword. - -Wed Apr 26 16:06:42 1995 Roland McGrath - - * locale/loadlocale.c (_nl_free_locale): Do nothing if DATA is null. - -Tue Apr 25 17:17:19 1995 Roland McGrath - - * posix/glob.c (glob): If GLOB_MARK set, stat names to find - directories and append slashes to them in final pass before - sorting. - (glob_in_dir): If GLOB_MARK set, just allocate the extra char for the - slash; never append it here. - -Sat Apr 22 14:48:03 1995 Roland McGrath - - * mach/Machrules [interface-library] - (LDFLAGS-$(interface-library:lib%=%.so)): New variable, set to - -nostdlib. - - * sysdeps/mach/hurd/fork.c: Subfunction `unlockss' removed. Lock - _hurd_siglock only around initial task creation in parent. Use - _hurd_critical_section_unlock at end. Handle dead name rights - properly, and deal with a send right dying while we try to copy - it. For the time being, use assert_perror for kernel and proc RPC - failures. - -Fri Apr 21 01:10:15 1995 Roland McGrath - - * extra-lib.mk: Don't include $(o-iterator); construct it by hand - using $(object-suffixes-$(lib)) instead. - - * sysdeps/mach/hurd/Makefile (LDLIBS-c.so): New variable. - - * Makerules (lib%.so: lib%_pic.a): Pass $(LDFLAGS-$(notdir $*).so). - (LDFLAGS-c.so): New variable. - - * resolv/res_init.c (res_init): Don't clobber _res.options with - RES_DEFAULT. If RES_INIT is clear, OR in RES_DEFAULT. - - * hurd/hurd.h: Declare _hurd_startup. - * hurd/hurdstartup.c: New file. - * hurd/Makefile (routines): Add hurdstartup. - -Thu Apr 20 22:23:58 1995 Roland McGrath - - * hurd/hurdsig.c: Use assert_perror for many calls which should - never fail and previously were not checked. - - * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): - Point the return address for sigreturn's frame at a "hlt" insn so - it will definitely crash if sigreturn returns. - -Wed Apr 19 18:40:11 1995 Brendan Kehoe (brendan@zen.org) - - * time/tzset.c (__tzname, __daylight, __timezone): Don't check - HAVE_WEAK_SYMBOLS for doing weak_alias. - -Wed Apr 19 18:12:56 1995 Roland McGrath - - * configure.in: Move $os tests to set $elf et al earlier, before - construction of $sysnames. Instead of prepending MACHINE/elf to - $sysnames, append &/elf after each elt appended to $mach. - -Tue Apr 18 14:00:19 1995 Roland McGrath - - * configure.in (libc_cv_asm_global_directive): New check to define - ASM_GLOBAL_DIRECTIVE. - * config.h.in: Add #undef ASM_GLOBAL_DIRECTIVE. - * libc-symbols.h (strong_alias_asm, strong_alias): Use - ASM_GLOBAL_DIRECTIVE on the alias. - - * sysdeps/unix/make_errlist.c (main): Don't generate "#ifdef - HAVE_WEAK_SYMBOLS" #defns. - -Mon Apr 17 12:02:49 1995 Brendan Kehoe (brendan@zen.org) - - * sysdeps/alpha/strlen.c (strlen): Fix cmpbge insn, and returning - of the byte that was zero, so we return a valid number. - -Sun Apr 16 03:23:09 1995 Brendan Kehoe (brendan@zen.org) - - * sysdeps/unix/bsd/ultrix4/mips/sysdep.h: New file defining - NO_UNDERSCORES then using sysdeps/unix/mips/sysdep.h. - -Fri Apr 14 18:49:03 1995 Brendan Kehoe (brendan@zen.org) - - * sysdeps/ieee754/mpn2dbl.c (__mpn_construct_double) - [BITS_PER_MP_LIMB == 64]: Refer to `u', not to non-existent `i'. - * sysdeps/ieee754/mpn2ldbl.c (__mpn_construct_long_double) - [BITS_PER_MP_LIMB == 64]: Likewise. - - * sysdeps/unix/bsd/osf/alpha/killpg.S (killpg): Add .end directive. - * sysdeps/unix/bsd/osf/alpha/sigblock.S (__sigblock): Likewise. - * sysdeps/unix/bsd/osf/alpha/sigsetmask.S (__sigsetmask): Likewise. - * sysdeps/unix/bsd/osf/alpha/sigpause.S (__sigpause): Likewise. - * sysdeps/unix/bsd/osf/alpha/sigvec.S (__sigvec): Likewise. - * sysdeps/unix/bsd/osf/alpha/getdents.S (__getdirentries): Likewise. - * sysdeps/unix/bsd/osf/alpha/fork.S (__fork): Likewise. - * sysdeps/unix/bsd/osf/alpha/pipe.S (__pipe): Likewise. - * sysdeps/unix/bsd/osf/alpha/recv.S (recv): Likewise. - * sysdeps/unix/bsd/osf/alpha/send.S (send): Likewise. - * sysdeps/unix/bsd/osf/alpha/vhangup.S (vhangup): Likewise. - - * sysdeps/unix/mips/brk.S (__brk, __curbrk): Add .end directive. - * sysdeps/unix/mips/fork.S (fork): Likewise. - * sysdeps/unix/mips/pipe.S (fork): Likewise. - * sysdeps/unix/mips/sigreturn.S (__sigreturn): Likewise. - * sysdeps/unix/mips/sysdep.S (sysdep_error): Likewise. - * sysdeps/unix/mips/wait.S (__handler): Likewise. - * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise. - * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise. - * sysdeps/unix/bsd/ultrix4/getsysinfo.S (getsysinfo): Likewise. - * sysdeps/unix/bsd/ultrix4/wait3.S (waitpid): Likewise. - * sysdeps/unix/bsd/ultrix4/waitpid.S (waitpid): Likewise. - * sysdeps/unix/bsd/ultrix4/mips/__handler.S (__handler): Likewise. - * sysdeps/unix/bsd/ultrix4/mips/sigvec.S (__raw_sigvec): Likewise. - * sysdeps/unix/bsd/ultrix4/mips/start.S (__start): Likewise. - * sysdeps/unix/bsd/ultrix4/mips/vfork.S (vfork): Likewise. - * sysdeps/mips/bsd-_setjmp.S (setjmp): Likewise. Use `$0' - instead of `zero' for the li instruction. - - * sysdeps/unix/bsd/osf/alpha/start.S: Change comments to be - preprocessor comments, not assembler comments. - * sysdeps/unix/bsd/osf/alpha/brk.S: Likewise. - * sysdeps/unix/bsd/osf/alpha/sysdep.h (NO_UNDERSCORES): Define. - -Fri Apr 14 15:53:46 1995 Roland McGrath - - * malloc/malloc.c (register_heapinfo) [__GNUC__]: Use __inline__ - in place of inline. - -Thu Apr 13 09:45:01 1995 Roland McGrath - - * Makefile (distribute): Add ChangeLog.[0-9]. - - * configure.in: Add check for .set directive. - * config.h.in: Add #undef HAVE_ASM_SET_DIRECTIVE. - * libc-symbols.h [! HAVE_ASM_SET_DIRECTIVE] (strong_alias, - strong_alias_asm): Use `foo = bar' syntax instead. - - * Makerules [! subdir] (O%-lib): Don't prepend ../. - - * sysdeps/generic/expm1.c: #undef expm1 before weak_alias. - - * configure.in: Fix AC_ARG_WITH uses; check for --with-fp. Move - $host_os checks to set gnu_ld/as and elf before sysdirs - generation. Fix $with_fp test. - [$elf=yes]: Prepend MACHINE/elf directory. - - * elf/libelf.h (elf_hash): Use XOR instead of ANDN when the bits - being cleared are already known to be set. Thanks Ulrich. - -Wed Apr 12 23:27:22 1995 Roland McGrath - - * posix/environ.c: Add weak alias `_environ'. - -Tue Apr 11 20:38:55 1995 Roland McGrath - - * sysdeps/i386/add_n.S [PIC]: Use self-call to avoid generating reloc. - * sysdeps/i386/sub_n.S [PIC]: Likewise. - -Mon Apr 10 14:53:15 1995 Roland McGrath - - * libc-symbols.h (_elf_set_element) [PIC]: Don't make the element - word `const'. - - * Makeconfig (CPPFLAGS, CFLAGS): Fix swapped references to - $(foo-$(suffix $@)). - - * manual/Makefile (chapters-incl): Filter out summary.texi. - - * stdlib/strtod.c (STRTOF): Use extra macro to make STRTOF's #defn - a weak symbol instead of literal "STRTOF". - - * locale/setlocale.c: Work around ld bug: don't weakify refs to - _nl_{current,C}_*. - -Sun Apr 9 01:24:33 1995 Roland McGrath - - * Makerules (+depfiles): Translate %.so to %.o in $(extra-objs). - - * malloc/free.c [emacs] (__malloc_safe_bcopy): Define to safe_bcopy. - * malloc/realloc.c (__malloc_safe_bcopy): Undefine before defining. - - * malloc/free.c (memmove, __malloc_safe_bcopy): Do include these - #ifdef emacs, but only #ifndef memmove. - * malloc/realloc.c [emacs] (__malloc_safe_bcopy): Just #define to - safe_bcopy. - (memmove): Define only if undefined. - -Sat Apr 8 00:40:59 1995 Roland McGrath - - * extra-lib.mk (install-lib, extra-objs, alltypes-$(lib)): Make - sure these are simply-expanded variables. - - * locale/loadlocale.c (_nl_load_locale): Use MAP_INHERIT flag in - mmap call. - - * configure.in (os=freebsd*|bsdi*): Set base_os=unix/bsd/bsd4.4 - for these too. - - * sysdeps/unix/sysv/tcsetattr.c: Use |= instead of = to properly - set c_oflag value. - - * Makeconfig [! objpfx] (csu-objpfx): Add trailing slash. - - * locale/Makefile (categories): Uncomment collate. - * locale/lc-collate.c: New file. - - * malloc/free.c (__malloc_safe_bcopy, memmove): Don't define - #ifdef emacs. - * malloc/realloc.c: Likewise. - - * stdio/_itoa.h (_EXTERN_INLINE): Define if undefined. - (_itoa): Use it in defn. - * stdio/_itoa.c (_EXTERN_INLINE): Define to empty before #include - "_itoa.h". - (_itoa): Function removed. - - * malloc/free.c: Remove use of `assert'. - - * malloc/realloc.c [! emacs] (safe_bcopy): Renamed to - __malloc_safe_bcopy; #define safe_bcopy. - * malloc/free.c: Cope with systems lacking `memmove'. - (_free_internal): Cast result of _malloc_internal. - -Wed Apr 5 00:13:45 1995 Roland McGrath - - * hurd/hurdinline.c: Include signal.h first, so we don't define - its inlines too. - - * sysdeps/unix/sysv/sysv4/sigset.h (__sigfillset): Use ~0L instead - of -1 to avoid compiler warning. - - * configure.in (host_os=linux*): Set elf=yes for this, not just - linux*elf*. - - * misc/login_tty.c [! TIOCSCTTY]: Try an emulation using ttyname - and open. - - * sysdeps/i386/bsd-_setjmp.S: Fix typo in name: setjmp -> _setjmp. - -Tue Apr 4 00:48:53 1995 Roland McGrath - - * sysdeps/unix/start.c: Remove spurious decl and #endif. - - * misc/progname.c (program_invocation_name, - program_invocation_short_name): Make these initialized data - definitions. - - * sysdeps/mach/hurd/setitimer.c (fork_itimer): Add self reference - so gcc doesn't optimize out the function entirely. - -Sun Apr 2 13:13:52 1995 Roland McGrath - - * posix/execvp.c: Don't use stat to search path; just try execv - until it works. - - * sysdeps/mach/hurd/i386/trampoline.c: Add a link to - SS->active_resources, so that _hurdsig_longjmp_from_handler will - be called when a longjmp unwinds the signal frame. - * sysdeps/mach/hurd/i386/sigreturn.c: Remove the link on the - SS->active_resources chain added by _hurd_setup_sighandler. - * hurd/sigunwind.c: New file. - * hurd/Makefile (sig): Add sigunwind. - - * Makerules (lib%.so: lib%_pic.a): Remove dir name from $*. - - * MakeTAGS (tags-sources): Include $(all-dist). - [subdir] (all-dist): Define to $(distribute). - -Sat Apr 1 00:08:06 1995 Roland McGrath - - * Makerules (lib%.so: lib%_pic.a): Pass -L options for subdir and - parent objdirs. - - * extra-lib.mk (object-suffixes-$(lib)): New variable, produced by - filtering out $($(lib)-inhibit-o); use that instead of - $(object-suffixes) in all the other variables. - - * locale/loadlocale.c (_nl_load_locale) [MAP_FILE]: Define it zero - if undefined. - - * string/strxfrm.c: Just copy the string (for now). - * string/strcoll.c: Just call strcmp (for now). - - * mach/Makefile (lock): Add mutex-init. - * mach/mutex-solid.c (_cthread_mutex_lock_routine, - _cthread_mutex_unlock_routine): Variables removed. - (__mutex_lock_solid, __mutex_unlock_solid): Don't use them; just stub. - (__mutex_init): Function moved to new file mutex-init.c. - * mach/mutex-init.c: New file, broken out of mutex-solid.c. - -Thu Mar 30 20:43:02 1995 Brendan Kehoe - - * sysdeps/mips/__longjmp.c (__longjmp): Take out CONST. - * sysdeps/alpha/__longjmp.c (__longjmp): Take out const. - -Thu Mar 30 01:38:00 1995 Roland McGrath - - * elf/elf.h (STN_UNDEF): New macro (distinct from SHN_UNDEF, though - both are zero). - -Wed Mar 29 11:26:48 1995 Roland McGrath - - * elf/dlfcn.h: New file. - - * Make-dist (README): Commit it to CVS if there is a CVS directory. - - More changes from Germano Caronni : - * malloc/free.c: Relocate _heapinfo when that allows us to return - core to the system. - - * malloc/malloc.c: Move #include outside #ifndef - _MALLOC_INTERNAL. - -Mon Mar 27 02:23:15 1995 Roland McGrath - - * mach/Makefile (headers): Add mach/mach_traps.h. - - * Makerules ($(installed-libcs) rule): Fix typos. - - * sysdeps/unix/bsd/bsd4.4/revoke.S: New file. - * sysdeps/stub/revoke.c: New file. - * misc/Makefile (routines): Add revoke. - * posix/unistd.h [__USE_BSD] (revoke): Declare it. - * sysdeps/generic/pty.c (openpty, forkpty): Declare return types. - (forkpty): Declare login_tty. - * misc/logwtmp.c (logwtmp): Declare to return void. - * misc/login_tty.c (login_tty): Include unistd.h. Declare return type. - - * posix/unistd.h [__USE_BSD] (ttyslot): Declare it. - - * posix/unistd.h [__USE_BSD] (L_SET, L_INCR, L_XTND): Define - unless L_SET already defined. - * misc/sys/file.h (L_SET, L_INCR, L_XTND): Don't define if L_SET - already defined. - - Incorporated -lutil library from 4.4-Lite. - * misc/Makefile (extra-libs, libutil-routines): New variables. - * misc/login.c, misc/login_tty.c, misc/logout.c, misc/logwtmp.c, - sysdeps/generic/pty.c: New files for -lutil incorporated from 4.4-Lite. - - Support simple, light-weight unwind-protect mechanism for longjmp. - * setjmp/longjmp.c: Call _longjmp_unwind first thing. - * sysdeps/mach/hurd/jmp-unwind.c: New file. - * sysdeps/stub/jmp-unwind.c: New file. - * sysdeps/i386/jmp_buf.h (_JMPBUF_UNWINDS): New macro. - * sysdeps/mips/jmp_buf.h (_JMPBUF_UNWINDS): New macro. - * setjmp/Makefile (routines): Add jmp-unwind. - * hurd/hurd/userlink.h (struct hurd_userlink): Move `next' and - `prevp' members into new substructure `resource'; add another such - substructure `thread' and members `cleanup' (function ptr) and - `cleanup_data' (generic ptr). - (_hurd_userlink_link, _hurd_userlink_unlink): Insert/remove LINK - into the `_hurd_self_sigstate ()->active_resources' list via the - `thread' substructure. - * hurd/hurd/port.h (_hurd_port_cleanup): Declare it. - (_hurd_port_locked_get): Set LINK->cleanup to _hurd_port_cleanup and - LINK->cleanup_data' to the port extracted. - * hurd/hurd/signal.h (struct hurd_sigstate): New member - `active_resources'. - * hurd/port-cleanup.c: New file. - * hurd/Makefile (routines): Add port-cleanup. - - * malloc/malloc.c: Include errno.h. - -Sat Mar 25 18:24:21 1995 Roland McGrath - - * locale/loadlocale.c (_nl_load_locale): Avoid */ inside comment. - -Fri Mar 24 02:35:37 1995 Roland McGrath - - * misc/Makefile (headers): Add utmp.h. - * misc/utmp.h: New file, incorporated from 4.4-Lite. - - * stdio/printf-parse.h: New file, mostly written by drepper. - * stdio/vfprintf.c: Rewritten, mostly by drepper. - * stdio/printf-prs.c: Rewritten. - * stdio/Makefile (distribute): Add printf-parse.h. - -Thu Mar 23 22:03:44 1995 Roland McGrath - - * sysdeps/unix/start.c [! NO_UNDERSCORES]: Don't declare _start - with asm name. Just do a ".set start, __start". - - * malloc/realloc.c: Call _free_internal instead of free. - -Tue Mar 21 00:14:27 1995 Roland McGrath - - * locale/loadlocale.c (_nl_load_locale): If LOCALE/LC_* is a - directory, open LOCALE/LC_*/SYS_LC_* instead. - -Mon Mar 20 03:19:23 1995 Roland McGrath - - * stdio/fpioconst.c, stdio/fpioconst.h, stdio/gmp-impl.h, - stdio/gmp.h, stdio/longlong.h, stdio/mp_clz_tab.c, - stdio/gen-mpn-copy: Files moved to stdlib. - * stdio/Makefile: All mpn stuff moved to stdlib/Makefile. - * stdlib/Makefile: All the mpn stuff moved here from stdio/Makefile. - * stdio/printf_fp.c: Use ../stdlib to find fpioconst.h and gmp - headers. - * stdlib/strtod.c: Don't use ../stdio to find fpioconst.h and gmp - headers. - - * Makefile (parent-mostlyclean): Don't use $(libc.a). - (parent-clean): Use $(objpfx) to find sysd-*. - * Rules (generated): Append dummy.o dummy.c. - * Makerules (lib): Depend on lib-noranlib. - (lib-noranlib): Depend on $(install-lib) in objdir. - (common-mostlyclean): Remove $(install-lib) and stub-$(subdir) - from objdir. Don't remove TAGS; it comes in the distribution. - - * malloc/malloc.c (morecore): Save errno around call to - _realloc_internal. Don't account for the additional new blocks of - the info table itself when choosing the new table size for the - first crack; if it succeeds, the new blocks will have been found - in existing free space already described by the existing info - table. - - * stdio/vfscanf.c (%n): Use READ_IN - 1, so as not to count the - read-ahead character. - -Sat Mar 18 14:07:08 1995 Roland McGrath - - * hurd/dtable.c, hurd/getdport.c, hurd/hurd.h, hurd/hurdexec.c, - hurd/hurdinit.c, hurd/hurdprio.c, hurd/hurdsock.c, - hurd/ports-get.c, hurd/ports-set.c, hurd/setauth.c, - hurd/setuids.c, sysdeps/mach/hurd/i386/trampoline.c: - Get anal with unsigned to pacify compiler. - - * stdio/vfscanf.c: Grok positional parameter specs (i.e. %3$d - means %d from 3rd arg). - - * sysdeps/mach/hurd/closedir.c: Include hurd/fd.h. - - * stdlib/strtol.c: If !GROUP, set END to null. In loop, test only - END, not GROUP. - -Fri Mar 17 12:58:37 1995 Roland McGrath - - * Makefile (subdirs): Put elf last. - - * sunrpc/Makefile (install-lib): Variable removed. - (rpcsvc-objs): Variable removed. - (extra-objs): Don't include $(rpcsvc-objs). - (extra-libs): New variable, contains librpcsvc. - (librpcsvc-routines): New variable. - (librpcsvc-inhibit-o): New variable, contains .so. - (omit-deps): Set this to $(librpcsvc-routines). - ($(objpfx)rpcgen): Don't use $(libc.a). - (lib, $(objpfx)librpcsvc.a): Targets removed. - - * o-iterator.mk, extra-lib.mk: New files. - * Makerules (o-iterator): New variable. - [extra-libs]: Include extra-lib.mk to generate rules for each word - of $(extra-libs). - * Makefile (distribute): Add extra-lib.mk, o-iterator.mk. - -Fri Mar 17 13:28:04 1995 Ulrich Drepper - - * sysdeps/ieee754/ldbl2mpn.c (__mpn_extract_long_double): - Handle 80-bit denormalized numbers correctly. - - * stdlib/strtod.c, stdlib/strtof.c, stdlib/strtold.c: - (IMPLICIT_ONE, *_MAX_10_EXP_LOG): Macros removed; no longer needed. - * stdlib/strtod.c (RETURN): Add parentheses around return value. - (round_and_return): Correct handling of denormalized numbers. - - * stdio/fpioconst.c, stdio/fpioconst.h: Don't use - LDBL_MAX_10_EXP_LOG; LAST_POW10 defines the maximal available - exponent. - -Thu Mar 16 00:04:41 1995 Roland McGrath - - * locale/C-ctype.c: New correct data generated by drepper. - - * Rules: Don't use $(libc.a). - - Parsing of grouped numbers contributed by Ulrich Drepper. - * stdlib/strtol.c (__strtol_internal): Renamed from strtol. Take - new flag arg; if nonzero, parse locale-dependent thousands - grouping and interpret only the prefix that is correctly grouped. - (strtol): Define this to call _strtol_internal with zero for the flag. - Use a weak symbol for the definition. - * stdlib/strtod.c (strtod, __strtod_internal): Likewise. - Check for the exponent of the number overflowing the float format. - * stdlib/stdlib.h (__strtof, __strtold): Declarations removed. - (__strto{f,d,ld,l,ul,q,uq}_internal): Declare these functions. - [__OPTIMIZE__]: Define inline functions calling those. - * stdlib/strtold.c (STRTOF): Set to strtold, not __strtold. - (strtold): Remove weak alias. - * stdlib/strtof.c (STRTOF): Set to strtof, not __strtof. - (strtof): Remove weak alias. - * stdlib/grouping.h: New file, written by drepper. - * stdlib/Makefile (distribute): Add grouping.h. - * stdio/vfscanf.c: Grok %' modifier to numeric conversions. Call - __strtoX_internal with the grouping flag set iff the modifier is - present. - -Wed Mar 15 00:40:54 1995 Roland McGrath - - * sysdeps/generic/memchr.c: Fix typos: limit.h -> limits.h. - - * mach/Machrules: Produce static deps for all object flavors. - [interface-library]: Remove all these variables and rules. - ($(interface-library)-routines): Define this variable. - (extra-libs): Append $(interface-library) to this. - * mach/Makefile (interface-library): Omit .a suffix. - * hurd/Makefile: Likewise. - -Tue Mar 14 23:40:31 1995 Roland McGrath - - * stdio/internals.c (flushbuf): If !FLUSH_ONLY, don't skip out - early if no new data in buffer after priming. - -Mon Mar 13 01:48:16 1995 Roland McGrath - - * Makerules (object-suffixes, libtypes): Move all these variables - to Makeconfig. - * Makeconfig (object-suffixes, libtypes): Moved here from Makerules. - - * Makerules (build-extra-lib): New canned sequence. - - * sysdeps/mach/hurd/euidaccess.c: Include fcntl.h. Declare ERR; - fix uses of FILE and PORT. Remove bogus weak alias for `access'. - - * sysdeps/mach/hurd/dirfd.c: Include hurd/fd.h and errno.h. - Add missing semicolon. - * sysdeps/mach/hurd/opendir.c: Include hurd/fd.h. Use a `struct - hurd_fd *' temp var, since DIRP->__fd is a `void *'. - * sysdeps/mach/hurd/readdir.c: Include hurd/fd.h. - - * stdlib/wcstombs.c: #if 0 out code for non-ASCII chars until the - locale data format is implemented. - - * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): - Pass &__sigreturn on the stack to the trampoline code, so it is - not position-dependent. - - * stdio/printf_fp.c (NDEBUG): Define this to disable assert. - Don't include . - (__printf_fp): Last arg ARGS is now `const void **const'; - dereference ARGS[0] instead of using va_arg. - - * locale/setlocale.c: In LC_ALL case, initialize CATEGORY before - loop to install data. - - * locale/loadlocale.c (_nl_category_num_items): Use _NL_ITEM_INDEX - to extract number from item code. - (_nl_load_locale): Close the descriptor when finished. - - * malloc/realloc.c (_realloc_internal): Call _malloc_internal in - place of malloc. - - * time/tzfile.c (__tzfile_default): Initialize RULE_STDOFF to zero. - - * stdio/printf_fp.c (group_number): Cast *GROUPING to unsigned int - to avoid warning. - * sysdeps/generic/sigset.h (__SIGSETFN): Cast result of sizeof to - int to avoid warning. - - Support building several flavors of objects and libraries. - * Makerules (libtypes, object-suffixes): New variables. - (libtype.*, CFLAGS-*, CPPFLAGS-*): New variables for each object - suffix. - (CFLAGS, CPPFLAGS): Append $(C{,CPP}FLAGS-$(suffix $@)). - (%.so, %.po, %.go): New compilation rules for %.S, %.s, %.c. - (close-check-inhibit-asm): Append a semicolon. - (sysd-rules): Generate rules for each object suffix. - (compile.S, compile.c): Always assume gcc. - (OUTPUT_OPTION): Define unconditionally. - (+make-deps): In generated rule, produce a dependent for each - object suffix. - (.SUFFIXES): Add $(object-suffixes) in place of .o. - (.PRECIOUS): Make all suffix flavors precious. - ($(libc.a)): Target removed. - (lib): Depend on each enabled libtype. - (libobjs, objects, objs): Depend on all the enabled object flavors. - (lib%.a): New pattern rule. - [$(build-shared)=yes] (lib%.so: lib%_pic.a): New pattern rule. - (stamp-$(subdir)): Rewritten to a pattern rule for stamp.%-$(subdir) - to make one for each flavor; library dep rule likewise rewritten. - ($(libc.a)(__.SYMDEF)): Target replaced with one target for each - flavor. - (symdef.%): New pattern rule; helper for __.SYMDEF targets. - (installed-libcs): New variable. - (install): Depend on that instead of - $(libdir)/lib$(libprefix)$(libc-name).a; - that file's rule rewritten to make each enabled libtype. - (install-lib.so): New variable, filters lib%.so from $(install-lib). - (install-lib): Filter out lib%.so after setting install-lib.so. - [$(build-shared)=yes] (install): Install $(install-lib.so). - (common-mostlyclean): Remove all flavors of objects. - * Makefile ($(libc.a)(__.SYMDEF)): Target removed. - [$(build-shared)=yes] (lib): Depend on $(common-objpfx)libc.so. - -Sun Mar 12 18:21:10 1995 Roland McGrath - - * sysdeps/stub/ulimit.c: Don't include gnu-stabs.h. - * sysdeps/stub/pause.c: Likewise. - * sysdeps/stub/time.c: Likewise. - - * stdlib/mbtowc.c: #if 0 out code for non-ASCII chars until the - locale data format is implemented. - * stdlib/wctomb.c: Likewise. - - * mach/Makefile ($(objpfx)errsystems.c): Reenable this rule; the - gcc bug is fixed. - * mach/errsystems.c: File removed. - - * Makeconfig (libc.a): Variable removed. - (+link): Don't use it. - - * configure.in (AC_ARG_ENABLE calls): Use $enableval instead of - assuming `yes'. - - * malloc/malloc.h (_malloc_internal, _realloc_internal): Declare these. - * malloc/realloc.c (_realloc_internal): Renamed from realloc; - don't use __realloc_hook. - (realloc): New function; call __realloc_hook ?: _realloc_internal. - * malloc/malloc.c (_malloc_internal): Renamed from malloc; - don't use __malloc_hook. - (malloc): New function; call __malloc_hook ?: _malloc_internal. - Changes from Germano Caronni : - (initialize): Set up _heaplimit to cover the _heapinfo table. - (morecore_recursing): New static variable. - (morecore): If that is set, return null immediately. - When growing the info table, before getting new core from the - system for it, set morecore_recursing and try moving _heapinfo - with _realloc_internal. When that fails and we get new core, set - _heaplimit to cover the core for the new _heapinfo table. - (register_heapinfo): New function. Record the _heapinfo table's - own blocks in that table and in the statistics variables. - (initialize, _malloc_internal): Use it after allocating new table. - -Fri Mar 10 22:26:28 1995 Jim Meyering (meyering@comco.com) - - * sysdeps/generic/memchr.c: Remove ansidecl.h and clean up for use - by other packages. - [LONG_MAX <= LONG_MAX_32_BITS]: Don't compile 64-bit code. - -Fri Mar 10 13:31:29 1995 Roland McGrath - - * mach/errorlib.h (errors): Use const for decl. - - * time/tzfile.c (uc2ul, _uc2ul): Macros removed. - (decode): New inline function; decode signed 32-bit integers, and - sign-extend properly when long is longer than 32 bits. - (__tzfile_read): Changed all uses of uc2ul to decode. - Decode the transition times properly when sizeof (time_t) > 4. - - * stdio/printf.h: Doc fixes. Don't #include . - (printf_function): Make last arg ARGS a vector of pointers instead of a - pointer to va_list. - -Fri Mar 10 13:46:25 1995 Ulrich Drepper - - * stdio/vfprintf.c [USE_IN_LIBIO] (PAD): Use return value of _IO_padn. - (buffered_vfprintf): Remove line buffer when flush failed. - -Fri Mar 10 00:04:55 1995 Roland McGrath - - * time/tzfile.c (struct ttinfo): New member `isgmt'. - (__tzfile_read): Read isgmt flags for each type. - (__tzfile_default): When using TZDEFRULES DST rules, adjust - transition times according to the isstd and isgmt flags for the - types of each transition, and adjust each transition to point to - type index either 0 or 1. Reset type indices 0 and 1 to describe - the user's settings. - -Thu Mar 9 22:29:03 1995 Roland McGrath - - * locale/categories.def (LC_CTYPE): Merge CLASS_EB and CLASS_EL - into just CLASS. Add standard/optional flag to all items. - - * locale/localeinfo.h (_NL_CURRENT_DEFINE): Fix typo. - - * ctype/ctype.h [__BYTE_ORDER == __LITTLE_ENDIAN] (_ISbit): - Rearrange defn to satisfy compiler. - - * locale/localeinfo.h: Declare _nl_current. - - * configure.in: Use AC_CHECK_TOOL for CC, AR, RANLIB. Accept args - --enable-shared, --enable-profile, --enable-omitfp; pass settings - through to config.make. - * config.make.in (build-shared, build-profile, build-omitfp): New - config vars. - - * elf/elf.h (STN_UNDEF): Renamed to SHN_UNDEF (typo). - (DT_NUM): New macro. - - * locale/nl_langinfo.c: Include errno.h and stddef.h. Fix typos. - - * locale/lc-ctype.c (_nl_postload_ctype): Fix macro insanity. - - * locale/loadlocale.c (_nl_load_locale) [! MAP_COPY]: Define - MAP_COPY to MAP_PRIVATE. - -Thu Mar 9 17:16:53 1995 Brendan Kehoe (brendan@zen.org) - - * sysdeps/alpha/divrem.m4: Undefine `ret' to avoid the definition - that's used inside the alpha sysdep.h. - - * sysdeps/alpha/__longjmp.c (__longjmp): Remove obsolete __NORETURN - keyword. - * sysdeps/alpha/__math.h (__copysign): Remove obsolete __CONSTVALUE. - - * configure.in: Match `osf*', not `osf1*'. - * configure: Likewise. - * sysdeps/unix/bsd/osf: Renamed from `sysdeps/unix/bsd/osf1'. - -Wed Mar 8 13:38:13 1995 Roland McGrath - - * posix/glob/configure.bat: Fixes from DJ. - - * time/backward, time/europe, time/northamerica, time/pacificnew, - time/zdump.c, time/zic.c, time/tzfile.h, time/private.h, - time/ialloc.c: Code and data updated from ADO's 95b. - * time/emkdir.c: File removed. - * time/Makefile (distribute, extra-objs, zic): Omit it. - - * time/localtime.c: Deansideclized. Never #define __tzname et al - to non-__ names. - - * locale/lc-ctype.c (__ctype_tolower, __ctype_toupper): Use int * - instead of short int *. - * ctype/ctype-info.c: Likewise. - * ctype/ctype.h: Likewise. - - * locale/langinfo.h (_NL_CTYPE_CLASS): Use this (just one) instead - of EB and EL versions. - -Mon Mar 6 12:34:56 1995 Roland McGrath - - * ctype/ctype.h (_ISbit): New macro, defined dependent on byte order. - (_IS* enum): Use _ISbit to produce values. - -Sun Mar 5 19:40:13 1995 Roland McGrath - - * locale/localeinfo.h: Rewritten for new locale system, using - locale data files and with interface. - * locale/setlocale.c: Rewritten to use locale data files. - * langinfo.h: New file. - * locale/langinfo.h: New file. - * locale/nl_langinfo.c: New file. - * locale/loadlocale.c: New file. - * locale/lc-ctype.c: New file. - * locale/lc-messages.c: New file. - * locale/lc-monetary.c: New file. - * locale/lc-numeric.c: New file. - * locale/lc-time.c: New file. - * locale/categories.def: New file. - * locale/Makefile (headers): Remove localeinfo.h. - (distribute): New variable; put localeinfo.h here, and categories.def. - (routines): Add loadlocale. - (categories): New variable. - (aux): Use that to get C-category and lc-category. - * ctype/ctype.h (_IS*): Use independent bits for all but _ISalnum. - * ctype/ctype-info.c: For initial tables, use - _nl_C_LC_CTYPE_{class,toupper,tolower} constant tables defined in - locale/C-ctype.c. - * locale/C-ctype.c, locale/C-messages.c: New files. - * locale/C-monetary.c, locale/C-numeric.c, locale/C-time.c: - Default "C" locale data updated for new locale system. - * locale/C-collate.c: File removed. - * locale/C-ctype_ct.c: File removed. - * locale/C-ctype_mb.c: File removed. - * locale/C-response.c: File removed. - * locale/localeconv.c: Use _NL_CURRENT macro to access locale data. - * stdio/printf_fp.c, stdio/vfprintf.c, stdio/vfscanf.c, - stdlib/strtod.c, time/asctime.c, time/strftime.c: - Include ../locale/localeinfo.h and use _NL_CURRENT macro to access - locale data. - * time/localtime.c: Don't include . - * time/tzset.c: Don't use locale items for default TZ value or - "GMT" string (use "UTC"). - - * stdio/vfprintf.c [USE_IN_LIBIO] (PAD): Only call the function if - WIDTH>0; update DONE. - - * malloc/malloc.c (morecore): Fix last change to calculate by - blocks instead of bytes. - -Fri Mar 3 12:24:52 1995 Roland McGrath - - * sysdeps/generic/sys/mman.h (__mmap, __munmap): Declare these. - * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise. - * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise. - * sysdeps/unix/bsd/osf1/sys/mman.h: Likewise. - * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise. - * sysdeps/stub/munmap.c (munmap): Rename to __munmap, add weak - alias munmap. - * sysdeps/unix/mman/munmap.S: Likewise. - * sysdeps/mach/munmap.c: Likewise. - * sysdeps/mach/hurd/mmap.c (mmap): Rename to __mmap, add weak - alias mmap. - * sysdeps/unix/mman/mmap.S: Likewise. - * sysdeps/unix/bsd/sun/sunos4/mmap.c: Likewise. - * sysdeps/stub/mmap.c: Likewise. - - * sysdeps/unix/bsd/setsid.c: Use __getpgid instead of __getpgrp. - - * sysdeps/unix/dirfd.c: #undef dirfd before function defn. - -Thu Mar 2 12:15:24 1995 Roland McGrath - - * misc/search.h: Add missing semicolon. - - * sysdeps/unix/dirfd.c: Fix typo. - - * sysdeps/generic/sys/mman.h (mmap): Use __off_t instead of off_t - in decl. - - * stdio/vfscanf.c (%c): In no-assign case, fix loop to decrement - WIDTH before test. - -Wed Mar 1 00:57:47 1995 Roland McGrath - - * stdlib/strtod.c: Fixes from drepper. - [IMPLICIT_ONE]: New macro, one for IEEE754 formats. - * stdlib/strtold.c [IMPLICIT_ONE]: New macro, 0. - * stdlib/strtof.c [IMPLICIT_ONE]: New macro, 1. - - * stdio/vfprintf.c: Correctly notice Z modifier. - - * misc/search.h: New file. - * misc/Makefile (headers): Add search.h. - * misc/insremque.c: Include search.h. - (struct qelem): Type removed. - -Mon Feb 27 07:00:57 1995 Roland McGrath - - * elf/libelf.h: New file. - * elf/elf_hash.c: New file. - -Sun Feb 26 15:51:00 1995 Roland McGrath - - Changes from Germano Caronni : - * malloc/malloc.c (morecore): Account in NEWSIZE for the - malloc_info structures for each new block. - -Sat Feb 25 02:17:52 1995 Roland McGrath - - * sysdeps/mach/hurd/kill.c: When the process has no message port - registered and we have its task port, translate a few signals to - task_suspend/task_resume/task_terminate. - -Fri Feb 24 14:40:48 1995 Roland McGrath - - * io/Makefile (routines): Add euidaccess. - * sysdeps/mach/hurd/euidaccess.c: New file. - * sysdeps/stub/euidaccess.c: New file. - * posix/unistd.h [__USE_GNU] (euidaccess): Declare it. - - * dirent/Makefile (routines): Add dirfd. - * sysdeps/stub/dirfd.c: New file. - * sysdeps/unix/dirfd.c: New file. - * sysdeps/unix/dirstream.h (_DIR_dirfd): New macro. - * dirent/dirent.h (dirfd): Declare new function. Define as macro - _DIR_dirfd if that is defined. - * sysdeps/mach/hurd/dirstream.h (DIR): Replace `__port' member - with `void *__fd'. - * sysdeps/mach/hurd/opendir.c: Use DIRP->__fd instead of DIRP->__port. - Open the file with `open'; set FD_CLOEXEC on the fd. - * sysdeps/mach/hurd/closedir.c: Likewise. - * sysdeps/mach/hurd/readdir.c: Likewise. - * sysdeps/mach/hurd/dirfd.c: New file. - - * posix/Makefile (glob/configure): Do cvs commit if there is a CVS - directory. - (glob/ChangeLog): Likewise. - - * locale/locale.h (LC_*): Use small integers instead of bit masks. - - * stdio/bug4.c: Put temporary files in /tmp. - * stdio/bug3.c: Likewise. - * stdio/bug5.c: Likewise. - * stdio/test-fseek.c: Likewise. - * stdio/test-popen.c: Likewise. - -Wed Feb 22 00:44:41 1995 Roland McGrath - - * posix/glob/configure.in: Put AC_ISC_POSIX before AC_CONST. - - * libc-symbols.h (weak_symbol): New macro. - - * hurd/hurdsig.c (_hurd_internal_post_signal): Ignore preempter - elts with null handlers. - - * sysdeps/mach/hurd/i386/sigreturn.c: Restore the FPU state. - -Tue Feb 21 21:53:30 1995 Roland McGrath - - * stdlib/random.c (__srandom): Change algorithm used to populate - the state array. - (randtbl): Recomputed with new algorithm. - - * sysdeps/sparc/Makefile [subdir=crypt] (crypt): Reset only if set - to original value of `crypt'. - * sysdeps/unix/sysv/sysv4/solaris2/sparc/Makefile [subdir=crypt] - (crypt): New variable, set to crypt.solar. - -Tue Feb 21 11:50:37 1995 Brendan Kehoe (brendan@zen.org) - - * sysdeps/sparc/Makefile (routines): Reference `dotmul', not `mul'. - - * config.h.in: Put comment around ^L to pacify Solaris as here too. - -Tue Feb 21 00:10:50 1995 Roland McGrath - - * string/Makefile (distribute): Add pagecopy.h. - * sysdeps/mach/pagecopy.h: New file. - * sysdeps/generic/pagecopy.h: New file. - * sysdeps/generic/memcpy.c: Include pagecopy.h; call - PAGE_COPY_FWD_MAYBE first when word aligned. - * sysdeps/generic/memmove.c: Likewise. - - * misc/bsd-compat.c (longjmp, setjmp): Functions removed. - (getpgrp): Call __getpgid instead of __getpgrp. - - * Makefile (subdirs): Add elf first. - * elf/Makefile: New file. - * elf/elf.h: New file. - - * sysdeps/unix/start.c (errno): Only define if it's not #define'd - as a macro. - [! NO_UNDERSCORES]: Define `start' as a weak alias, not a symbol - indirection. - - * csu/Makefile (crtstuff): New variable consolidates crti, crtn; - add crti_s, crtn_s. - (install-lib, extra-objs, generated-, omit-deps): Use that. - (initfini): New canned sequence, broken out of crt[in].s rule. - (crt[in].s rule): Use it. - (crt[in]_s.s): New rule. - * csu/initfini.c (GLOBAL): New macro; define it to empty if undefined. - (_init, _fini): Use GLOBAL as storage class. - Add self reference to avoid GCC optimizing out the functions. - - * Makefile (headers): Remove $(stddef.h). - * Makeconfig (stddef.h): Variable removed; now require gcc version - >= 2.2. - * stddef.h: File removed. - -Mon Feb 20 19:42:31 1995 Roland McGrath - - * sysdeps/unix/bsd/ultrix4/mips/start.S: Remove `__environ' - definition. - * sysdeps/unix/bsd/osf1/alpha/start.S: Likewise. - - * stdlib/strtod.c: Allow the string to start with a decimal point - without a leading zero. - -Mon Feb 20 04:04:57 1995 Roland McGrath - - * Makefile (subdirs): Put csu first. - - * sysdeps/mach/hurd/start.c: Include unistd.h for __environ decl. - - * Makeconfig [elf=yes] (+preinit, +postinit): New variables, set - to crt[in].o. - (csu-objpfx): New variable. - (+link): Use it to find start.o and $(+preinit), $(+postinit). - - * Rules (subdir_lib, all): Depend on objs. - - * config.h.in [HAVE_ELF || HAVE_GNU_LD]: Define HAVE_WEAK_SYMBOLS. - - * stdlib/strtod.c (PASTE, PASTE1): New helper macros; use these in - access to float.h macros. - - * misc/efgcvt.c: New file. - * misc/Makefile (routines): Add efgcvt. - -Sun Feb 19 20:10:43 1995 Brendan Kehoe - - * sysdeps/sparc/mul.S: Renamed to `dotmul.S'. - * sysdeps/sparc/Makefile (routines): Reference `dotmul.S', not `mul.S', - to avoid a misreference that would override sysdeps/generic/mul.c. - * sysdeps/sparc/Dist: Likewise. - -Sun Feb 19 17:46:13 1995 Roland McGrath - - * posix/Makefile (aux): Add environ. - * posix/environ.c: New file. - * sysdeps/unix/sparc/start.c: Remove __environ definition. - * sysdeps/unix/start.c: Likewise. - * sysdeps/unix/sysv/irix4/start.c: Likewise. - * sysdeps/mach/hurd/start.c: Likewise. - * sysdeps/mach/start.c: Likewise. - * sysdeps/stub/start.c: Likewise. - - * sysdeps/unix/make_errlist.c: In produced program, test - HAVE_WEAK_SYMBOLS instead of HAVE_GNU_LD. - * sysdeps/unix/sysv/sysv4/dup2.c: Fix #include of renamed file. - Remove extra weak alias. - - * sysdeps/unix/sysv/sysv4/sigaltstack.S: Fix unsquashed file name - in #include. - - * libc-symbols.h: Put comment around ^L to pacify Solaris as. - - * sysdeps/posix/Makefile (cded-objdir-includes): New variable - replaced cded-objdir-CPPFLAGS; transform $(+includes) instead of - $(CPPFLAGS). - (mk-stdiolim): Use it instead. - -Fri Feb 17 12:16:27 1995 Roland McGrath - - * mach/mach_init.c (__vm_page_size): Make it initialized. It does - not work to make a weak alias to a bss symbol. - - * stdio/Makefile (distribute): Remove mpn-copy.mk; add gen-mpn-copy. - (tests): Add test-fwrite. - * stdio/test-fwrite.c: New file. - - * stdlib/stdlib.h [__USE_GNU]: Declare strtof, strtold, __strtof, - __strtold. - - * Makefile (autoconf-it): New canned sequence. Do cvs commit if - there is a CVS directory. - (configure, %/configure): Use $(autoconf-it) for cmds. - * Make-dist: Likewise. - * sysdeps/mach/hurd/Makefile (errlist.c, errnos.h): Do cvs commit - if there is a CVS directory. - * sysdeps/sparc/Makefile (divrem output): Likewise. - * sysdeps/alpha/Makefile (divrem output): Likewise. - * Makerules ($(gpl2lgpl)): Likewise. - - * Makerules (rule to install lib%.a from $(install-lib)): Fix - patsubst to elide ranlib for $(non-lib.a). - - * stdio/tst-printf.c: Enable FP tests. Add some new tests from rfg. - -Thu Feb 16 04:06:06 1995 Roland McGrath - - * sysdeps/mach/hurd/mig-reply.c: Add weak aliases to non-__ names. - * mach/mig-dealloc.c: Add weak alias mig_deallocate. - -Wed Feb 15 13:34:01 1995 Roland McGrath - - * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Take new arg - DEALLOC_REFPORT; deallocate the refport after use only if it - evaluates to nonzero. - * sysdeps/mach/hurd/kill.c: Pass DEALLOC_REFPORT arg of one. - * hurd/hurdkill.c: Pass DEALLOC_REFPORT arg of zero. - - * hurd/hurdsig.c (abort_rpcs): Take new arg int *STATE_CHANGE; set - *STATE_CHANGE to indicate whether or not we changed *STATE and it - should be committed to the thread. - (abort_all_rpcs): Take new arg LIVE; if nonzero and abort_rpcs changes - state for a thread, do thread_set_state on that thread. Don't use - SS->intr_port for collecting reply ports, it is not safe to - clobber that when suspending; instead, alloca a temporary array. - (_hurd_internal_post_signal): Pass LIVE flag to abort_all_rpcs: - zero when dying, one when suspending. Pass new arg to abort_rpcs. - - * sysdeps/mach/hurd/stdio_init.c: Don't lock the file descriptor; - HURD_FD_PORT_USE will. Don't use critical sections around - HURD_FD_PORT_USE invocations. - - * sysdeps/mach/hurd/stdio_init.c: Don't make pipes/FIFOs unbuffered. - * sysdeps/posix/stdio_init.c: Likewise. - -Tue Feb 14 03:01:12 1995 Roland McGrath - - * hurd/hurd/fd.h (_hurd_fd_get): Don't do critical section - locking; don't leave the descriptor locked on return. - (HURD_FD_PORT_USE): Don't expect _hurd_fd_get to return the fd locked. - Use a critical section around locking the descriptor. - Check for an empty descriptor and return EBADF. - * sysdeps/mach/hurd/dup2.c: Likewise. - * sysdeps/mach/hurd/fcntl.c: Likewise. - Use HURD_FD_PORT_USE macro for RPCs. - * sysdeps/mach/hurd/sysd-stdio.c: Don't lock the descriptor before - using HURD_FD_PORT_USE. - * sysdeps/mach/hurd/defs.c (init_stdio): Don't expect _hurd_fd_get - to lock the descriptor. - * sysdeps/mach/hurd/stdio_init.c: Use critical sections while - locking the descriptor. - * sysdeps/mach/hurd/fdopen.c: Likewise. - * hurd/fd-close.c: Likewise. - Don't expect the descriptor to be locked on entry. - Check for empty descriptor and return EBADF. - - Factor ctty RPC code for SIGTTIN/SIGTTOU generation out into - new functions _hurd_ctty_input and _hurd_ctty_output, each - called with (io_t port, io_t ctty, error_t (*rpc) (io_t)). - * hurd/ctty-input.c: New file. - * hurd/ctty-output.c: New file. - * hurd/Makefile (dtable): Add ctty-input and ctty-output. - * hurd/fd-read.c: Use _hurd_ctty_input. - * hurd/fd-write.c: Use _hurd_ctty_output. - * sysdeps/mach/hurd/ioctl.c: Likewise. - * hurd/hurd/fd.h (_hurd_ctty_input, _hurd_ctty_output): Declare them. - -Mon Feb 13 11:36:12 1995 Roland McGrath - - * stdio/vfscanf.c (%e, %f, %g): Use strtod, __strtold, or __strtof - as appropriate to the type. - - * sysdeps/ieee754/huge_val.h (__huge_val_t): New macro to avoid - repeating the union. - (HUGE_VAL, __huge_val): Use it. - [__USE_GNU] (HUGE_VALf, HUGE_VALl): New macros, along with - analogous macros to HUGE_VAL's: __huge_val[fl]_t, __HUGE_VAL[fl]_bytes. - * stdlib/strtold.c (FLOAT_HUGE_VAL): Define this to HUGE_VALl. - (STRTOF): Set to __strtold; define strtold as weak alias. - * stdlib/strtof.c (FLOAT_HUGE_VAL): Define this to HUGE_VALf. - (STRTOF): Set to __strtof; define strtof as weak alias. - - * sysdeps/ieee754/ieee754.h (union ieee754_float): New type. - (IEEE754_FLOAT_BIAS): New macro. - - * sysdeps/ieee754/mpn2ldbl.c: Fix typos. - - * stdlib/testmb.c: Add tests from rfg for using normal chars as - multibyte chars. - - * hurd/hurdmalloc.c (malloc_init): Add self reference to avoid not - only the `defined but not used' warning, but also to avoid GCC - optimizing out the entire function (!). - - * stdlib/wctomb.c: Include ctype.h. - - * Makerules (install-lib-non.a): Don't include $(non-lib.a). - - * hurd/hurdmalloc.c: Include string.h; #define bcopy using memcpy. - -Sat Feb 11 04:05:29 1995 Roland McGrath - - * stdio/printf_fp.c: Include "fpioconst.h". - (_tens_p): Table moved to fpioconst.c, renamed to _fpioconst_pow10. - (__printf_fp): All references changed. - Don't bother computing THOUSANDS_SEP if GROUPING is empty. - (group_number): Use memmove instead of memcpy, since operands overlap. - * stdio/fpioconst.c: New file, tables broken out of stdio/printf_fp.c. - * stdio/fpioconst.h: New file, header declaring the table data. - * stdio/Makefile (aux): Add fpioconst. - (distribute): Add fpioconst.h. - * stdlib/strtod.c: Complete rewrite from drepper. - * stdlib/strtof.c: New file. - * stdlib/strtold.c: New file. - * stdlib/Makefile (routines): Add strtof, strtold. - * stdio/Makefile (routines): Add mpn2flt, mpn2dbl, mpn2ldbl. - * sysdeps/stub/mpn2flt.c: New file. - * sysdeps/stub/mpn2dbl.c: New file. - * sysdeps/stub/mpn2ldbl.c: New file. - * sysdeps/ieee754/mpn2flt.c: New file. - * sysdeps/ieee754/mpn2dbl.c: New file. - * sysdeps/ieee754/mpn2ldbl.c: New file. - - * Makerules (install-lib.a): Don't filter out $(non-lib.a). - ($(install-lib.a) in $(libdir) rule): Elide ranlib command when $@ - appears in $(non-lib.a). - -Fri Feb 10 17:20:14 1995 Roland McGrath - - * stdlib/wctomb.c: A normal ASCII character translates to itself. - * stdlib/mbtowc.c: Likewise. - -Thu Feb 9 03:55:55 1995 Roland McGrath - - * setjmp/setjmp.h (longjmp, _longjmp, __longjmp, siglongjmp): - Remove `const' from prototypes. - * sysdeps/m68k/__longjmp.c: Likewise. - * setjmp/longjmp.c: Likewise. - * sysdeps/i386/__longjmp.c: Likewise. - - * sysdeps/posix/tempname.c: Increment *IDX at beginning of loop, - so when we return a name, it is incremented past the value that - produces that same name. - - * stdio/fgets.c (fgets): Change `size_t' to `int' in prototype. Sigh. - * stdio/stdio.h (fgets): Likewise. - - * stdio/vfprintf.c (printf_unknown): Print ' for INFO->group flag. - - * hurd/fd-write.c: Don't clobber ERR with the msg_sig_post call - when it's EBACKGROUND; we need to notice that it is EBACKGROUND - and retry the RPC. - * hurd/fd-read.c: Likewise. - -Wed Feb 8 05:01:11 1995 Roland McGrath - - * sysdeps/mach/sysdep.h (FATAL_PREPARE_INCLUDE): New macro, set to - . - * assert/assert-perr.c [FATAL_PREPARE_INCLUDE]: Include it. - * assert/assert.c: Likewise. - * sysdeps/posix/libc_fatal.c: Likewise. - -Tue Feb 7 12:17:58 1995 Roland McGrath - - * stdio/stdio.h [__STRICT_ANSI__] (stdin, stdout, stderr): Define - as macros, to satisfy ANSI pedants. - - * stdio/internals.c (flushbuf): When there is no new data after - priming the stream, return without writing out the buffer. - * stdio/Makefile (tests): Add bug7. - * stdio/bug7.c: New file. - - * io/sys/stat.h (S_IFIFO, S_IFLNK, S_IFSOCK, S_ISFIFO, S_ISLNK, - S_ISSOCK): Define only if the corresponding underlying __S_IF* macro - is defined. - - * stdio/getdelim.c: Decrement COPY after getting a char from __fillbf. - - * stdio/Makefile (tests): Add errnobug. - * stdio/errnobug.c: New file. - - * mach/mig_strncpy.c: Include string.h. - - * sysdeps/mach/sysdep.h: Don't #include . Its - inlines cause trouble for files defining global register variables. - - * stdio/vfprintf.c: Use _strerror_internal for %m. - - * sysdeps/ieee754/dbl2mpn.c: Fixes from drepper for 64-bit limbs. - - * stdio/printf.h (struct printf_info): New member `group', for %' flag. - * stdio/printf-prs.c (parse_printf_format): Grok %' flag and set flag. - * stdio/vfprintf.c (group_number): New function. - (vfprintf): Support %' flag for integer formats, by calling - group_number after formatting the number in WORK. - * stdio/printf_fp.c (guess_grouping, group_number): New functions. - (__printf_fp): Implement `group' flag using them. - - * Makefile (include sysd-dirs): Protect with ifndef avoid-generated. - (parent-clean): Remove sysd-rules, not sysdirs. - (distclean): Pass avoid-generated=yes to submake. - (distclean-1): Remove $(sysdep-$(distclean-1)). - - * Makerules (objects, objs): Depend on $(extra-objs) too. - (include sysd-Makefile): Protect with ifndef avoid-generated. - - * Makeconfig (+defines, +gnu-stabs, gnu-as): Variables removed. - (CPPFLAGS): Use $(defines) in place of $(+defines). - Replace -D_LIBC with -include $(..)libc-symbols.h. - - * stdio/freopen.c: Set seen bit before calling fclose. - -Mon Feb 6 18:34:40 1995 Roland McGrath - - * sysdeps/mach/hurd/setpriority.c: Keep track of numbers of - successes and each kind of failure. Return EPERM or EACCES only - if every task failed that way. - - * sysdeps/mach/hurd/getpriority.c: Handle out of band buffers - correctly. - - * sysdeps/mach/hurd/ptrace.c (PTRACE_ATTACH, PTRACE_DETACH): Stop - or resume the process after frobbing. - - * hurd/hurdsig.c: Use spin lock operations on sigstate locks - throughout. - (_hurd_thread_sigstate): Don't lock the sigstate lock. - (_hurd_internal_post_signal): New subfunction `mark_pending'; replace - repeated sequences with calls to it. Don't expect the sigstate - lock to be held on entry; lock it just before examining sigaction. - In handler case, check SS->critical_section after calling - abort_rpcs; if set, mark the signal pending and resume the thread. - * hurd/hurd/signal.h (_hurd_self_sigstate_unlocked): Function removed. - (_hurd_self_sigstate): Don't lock the sigstate lock. - (HURD_EINTR_RPC): Call _hurd_self_sigstate instead of - _hurd_self_sigstate_unlocked. - * hurd/msgportdemux.c: Don't expect _hurd_self_sigstate to lock - the sigstate lock. - * hurd/hurdexec.c: Use spin lock operations on sigstate lock. - Don't expect _hurd_self_sigstate to lock it. Fix critical section - locking. - * hurd/hurd-raise.c: Likewise. - * sysdeps/mach/hurd/sigsuspend.c: Likewise. - * sysdeps/mach/hurd/sigpending.c: Likewise. - * sysdeps/mach/hurd/sigaltstack.c: Likewise. - * sysdeps/mach/hurd/sigaction.c: Likewise. - * sysdeps/mach/hurd/sigprocmask.c: Likewise. - * hurd/fd-write.c: Likewise. - * hurd/fd-read.c: Likewise. - * sysdeps/mach/hurd/ioctl.c: Likewise. - * sysdeps/mach/hurd/fork.c: Likewise. - * sysdeps/mach/hurd/i386/sigreturn.c: Likewise. - * sysdeps/mach/hurd/mips/sigreturn.c: Likewise. - * sysdeps/mach/hurd/alpha/sigreturn.c: Likewise. - * hurd/hurdmsg.c (get_int): Likewise. - - * stdio/vfprintf.c: Include stddef.h. Fix typos in libio code. - - * stdio/vfprintf.c (__pad): Function renamed to __printf_pad, made - global. - (PAD): Caller changed. - * stdio/printf_fp.c (__pad): Function removed. - (PAD): Use __printf_pad instead. - -Sun Feb 5 17:59:53 1995 Roland McGrath - - Merged new FP printer by Ulrich Drepper. - * stdio/printf_fp.c: Rewrite by drepper. - * stdio/Makefile (routines): Add ldbl2mpn. - * sysdeps/ieee754/ieee754.h (union ieee754_double): Add `ieee_nan' - member. - (union ieee854_long_double): New type, from drepper. - (IEEE754_DOUBLE_BIAS, IEEE854_LONG_DOUBLE_BIAS): New macros. - * sysdeps/ieee754/ldbl2mpn.c: New file, by drepper. - * sysdeps/stub/ldbl2mpn.c: New file. - * math/Makefile (routines): Add isinfl and isnanl. - * sysdeps/ieee754/isinfl.c: New file. - * sysdeps/stub/isinfl.c: New file. - * sysdeps/ieee754/isnanl.c: New file. - * sysdeps/stub/isnanl.c: New file. - - * malloc/malloc.c (__malloc_extra_blocks): New variable. - (malloc): When getting more core, get __malloc_extra_blocks extra; - put the new block at the end of the free list and let the next loop - iteration use the initial portion of it. - * malloc/free.c (_free_internal): Account for twice - __malloc_extra_blocks in deciding if we have so much extra memory - we should return it to the system. - * malloc/malloc.h (__malloc_extra_blocks): Declare it. - * posix/glob.c (prefix_array, glob_pattern_p): Remove gratuitous - const in parameter decl. - - * sysdeps/unix/mips/sysdep.h (ENTRY): Add `.ent' directive. - -Fri Feb 3 18:15:52 1995 Roland McGrath - - * munch.awk (EXTERNS): Print decls using __P instead of EXFUN. - - * sysdeps/mips/setjmp_aux.c: Use ENV[0].__jmpbuf[0]. - * sysdeps/mips/bsd-_setjmp.S: Use `li' insn instead of `move'. - * sysdeps/mips/bsd-setjmp.S: Likewise. - * sysdeps/mips/__longjmp.c: Remove obsolete __NORETURN keyword. - * sysdeps/mach/hurd/mips/trampoline.c (_hurd_setup_sighandler): - Use `long int' for sigcode. Use explicit register numbers instead - of names. - (_hurdsig_rcv_interrupted_p): Use _hurdsig_catch_fault. - * sysdeps/mach/hurd/mips/exc2signal.c: Use `long int' for sigcode. - -Thu Feb 2 20:06:45 1995 Roland McGrath - - * hurd/hurdmalloc.c: Remove bogus bcopy decl. - - * mach/mig_strncpy.c: Add missing `const' in prototype. Rewritten - using __stpncpy. - - * io/ftw.c (ftw, ftw_dir): Treat ENOENT from stat like EACCES. - - * stdio/vfprintf.c: Set PREC to zero for %. without following digit. - -Tue Jan 31 13:49:57 1995 Roland McGrath - - * mach/mig_strncpy.c: Include mach.h instead of string.h. Use - vm_size_t instead of size_t for arg and return types. - - * mach/mach_init.c: Don't declare __mig_init; mach/mig_support.h - already does. - -Mon Jan 30 00:33:35 1995 Roland McGrath - - * set-hooks.h (RUN_HOOK): Dereference PTR properly. - - * configure.in (friendly stddef.h check): Write override defn for - `stddef.h' Make variable. - (AC_LINK_FILES): Use `echo ...` to avoid " " appearing nonempty. - - * configure.in (host_os=sysv4*|solaris2*): Set elf=yes. - - * Rules ($(objpfx)dummy.o): Write an empty function, not just an - empty file. - - * sysdeps/sparc/Makefile (sysdep-realclean): New variable. - -Sat Jan 28 03:38:56 1995 Roland McGrath - - * Makefile (distribute): Remove gnu-stabs.h; add libc-symbols.h. - - * sysdeps/mach/sysdep.h [ASSEMBLER]: Protect include of - mach/machine/syscall_sw.h with this. - -Fri Jan 27 18:33:20 1995 Roland McGrath - - * hurd/hurd/signal.h: Include , and - instead of . - (struct hurd_sigstate): Member `lock' changed to a `spin_lock_t'. - (_hurd_critical_section_lock): Use spin lock operators. - Don't hold the sigstate lock, unlock it after setting the flag. - (_hurd_critical_section_unlock): Take the sigstate lock - to clear the flag; while holding it, check pending signals. After - unlocking, sig_post ourselves if there were pending signals. - - * hurd/catch-exc.c (_S_catch_exception_raise): Don't take the - sigstate lock. If it is locked, clear SS->critical_section and - SS->context, and unlock it. - - * sysdeps/mach/sysdep.h (EXT, LEXT): New macros. - - * set-init.c (__libc_init) [HAVE_ELF]: Run _init and atexit (_fini). - * munch-tmpl.c: Likewise. - - * mach/Makefile (routines): Don't filter out syscall_% from - $(mach-syscalls). - -Fri Jan 27 17:53:49 1995 Jim Meyering (meyering@comco.com) - - * posix/fnmatch.c: Declare errno if it's not defined. - That's simpler than testing #if !defined(__GNU_LIBRARY__) - && !defined(STDC_HEADERS). - -Fri Jan 27 15:40:29 1995 Roland McGrath - - * csu/Makefile: New file. - * csu/initfini.c: New file. - * Makefile (+other_dirs): Add csu. - (+init): Variable renamed to libc-init. All references changed. - (aux): Remove start. - (install-lib): Variable removed. - (crt0.o, Mcrt1.o crt1.o): Targets removed. - - * mach/Machrules (static deps of RPC_*.o): Add $(..)libc-symbols.h - and $(objpfx)config.h. - (static deps of RPC alias *.o): Removed. - - * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h [ASSEMBLER]: - Protect macros with this. - * sysdeps/unix/bsd/osf1/alpha/sysdep.h: Likewise. - * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise. - * sysdeps/unix/bsd/vax/sysdep.h: Likewise. - * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise. - * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise. - * sysdeps/unix/mips/sysdep.h: Likewise. - -Thu Jan 26 00:02:01 1995 Roland McGrath - - * Makerules (compile.[Sc]): Match gcc in $(CC) better. - (BUILD_CFLAGS): Instead of $(config-defines), use -include config.h. - - * hurd/intr-rpc.awk: Emit weak alias. - - * sysdeps/unix/bsd/sun/sunos4/wait4.c: Call getpgrp instead of - __getpgrp. - - * sysdeps/unix/bsd/hp/m68k/sysdep.h [ASSEMBLER]: Protect macros with - this. - * sysdeps/unix/i386/sysdep.h: Likewise. - * sysdeps/unix/sparc/sysdep.h: Likewise. - - * io/ftw.c: Avoid `ret' as variable name. - * posix/glob.c: Likewise. - - * ctype/ctype.h (_ISalpha): Define as its own bit. - * locale/C-ctype_ct.c (__ctype_b_C): Set _ISalpha bit in all letters. - - * stdlib/exit.c [HAVE_GNU_LD]: Protect #include "set-hooks.h" and - DEFINE_HOOK with this. - -Wed Jan 25 00:45:56 1995 Roland McGrath - - * hurd/hurdinit.c: Use DECLARE_HOOK instead of `extern DEFINE_HOOK'. - * mach/spin-solid.c (spin_lock_solid): Define as weak alias to __name. - * mach/shortcut.awk: Emit weak alias. - * mach/spin-lock.c: Add weak aliases for all spin-lock.h functions. - * mach/mach_init.c (mach_init, vm_page_size): Defin weak aliases for - __ names. - * mach/Makefile (lock): Remove spin-syms. - (routines): Remove __ names, vm_page_size, msgserver_t. - ($(mach-syscalls) rule): Generate files without __, add weak alias. - Remove symbol alias file rule. - ($(mach-shortcuts) rule): Likewise. - [!mach-shortcuts] (user-interfaces): Filter out mach/mach4 too. - * mach/Machrules (if-calls.c): Variable and rule removed. - (interface-headers): Don't add $($(if)-calls). - (transform-user-stub): Define to add weak alias. - * set-hooks.h: Use new libc-symbols.h set access macros. - * time/Makefile (routines): Remove __ names. - (aux): Variable removed. - * hurd/Makefile: Likewise. - * sysdeps/unix/start.c (environ): Define as weak alias for __environ. - (data_start): Define as weak alias for __data_start. - * sysdeps/mach/hurd/start.c: Likewise. - * sysdeps/unix/sparc/start.c: Likewise. - * sysdeps/unix/make_errlist.c: Emit weak aliases for sys_nerr and - sys_errlist. - * sysdeps/mach/hurd/errlist.awk: Likewise. - * sysdeps/unix/bsd/osf1/alpha/start.S (environ): Define as weak - alias for __environ. - * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise. - * sysdeps/stub/setdomain.c: Use new stub_warning macro. - * sysdeps/stub/getdomain.c: Likewise. - * sysdeps/stub/vhangup.c: Likewise. - * sysdeps/stub/swapon.c: Likewise. - * sysdeps/stub/sendmsg.c: Likewise. - * sysdeps/stub/recvmsg.c: Likewise. - * sysdeps/stub/acct.c: Likewise. - * sysdeps/stub/isinf.c: Likewise. Add weak alias isinf for __isinf. - * sysdeps/mach/hurd/_exit.c: Remove obsolete __NORETURN keyword. - * sysdeps/posix/libc_fatal.c: Likewise. - * sysdeps/i386/abort.c: Likewise. - * sysdeps/i386/__longjmp.c: Likewise. - * sysdeps/generic/make_siglist.c: Emit defn always for - _sys_siglist. Emit weak alias to sys_siglist. - * sysdeps/generic/atan.c: Remove obsolete __CONSTVALUE keyword. - * sysdeps/ieee754/log10.c: Likewise. - * time/difftime.c: Likewise. - * stdlib/random.c (srand): Define as weak alias for __srandom. - * stdlib/exit.c: Remove obsolete __NORETURN keyword. Use set-hooks - macros for __libc_atexit. - * stdlib/Makefile (routines): Remove __random, srand. - * stdio/gets.c: Use new link_warning macro instead of old - warn_references. - * stdio/Makefile (routines): Remove __ names. - (aux): Remove syms-stdio. - * socket/Makefile (routines): Added e on getpeernam and getsocknam. - * setjmp/longjmp.c: Remove obsolete __NORETURN keyword. - * setjmp/Makefile (routines): Remove _longjmp, siglongjmp. - * setjmp/setjmp.h: Replace __NORETURN keyword with __attribute__ uses. - * stdio/stdio.h: Likewise. - * misc/Makefile (routines): Remove __ names. - (aux): Remove data_start. - * sysdeps/mach/hurd/defs.c: Don't include gnu-stabs.h. - * sysdeps/mach/hurd/brk.c: Likewise. - * hurd/hurdid.c: Likewise. - * hurd/hurdpid.c: Likewise. - * hurd/openport.c: Likewise. - * hurd/hurdsock.c: Likewise. + * hurd/Makefile (routines): Changed hurdpath to hurdlookup. + * hurd/hurdpath.c: Renamed to hurd/hurdlookup.c. + * hurd/hurdlookup.c: Globally replace `pathtrans' with `lookup' and + `path' with `file_name'. + (__hurd_file_name_split): Don't bother skipping leading slashes. + * hurd/hurd.h: Rename likewise in decls. + * hurd/fchroot.c: Globally replace `pathtrans' with `lookup' and + `path' with `file_name'. * hurd/hurdsig.c: Likewise. - * hurd/hurdrlimit.c: Likewise. - * hurd/hurdmalloc.c: Likewise. - * hurd/dtable.c: Likewise. - * hurd/setauth.c: Likewise. - * misc/progname.c: Likewise. - * misc/init-misc.c: Likewise. - * sysdeps/generic/vfork.c: Likewise. - * sysdeps/unix/bsd/init-posix.c: Likewise. - * math/math.h: Replace __CONSTVALUE keyword with __attribute__ uses. - * time/time.h: Likewise. - * math/Makefile (routines): Remove __ names. - * io/Makefile: Likewise. - * termios/Makefile: Likewise. - * resource/Makefile: Likewise. - * signal/Makefile: Likewise. - * dirent/Makefile: Likewise. - * assert/assert.h: Replace __NORETURN keyword with __attribute__ - uses. Functions return void and macros deal with this. - * assert/assert-perr.c: Remove obsolete __NORETURN keyword. - Return void. Don't include gnu-stabs.h. - * assert/assert.c: Likewise. - * posix/Makefile (routines): Remove __ names, setpgrp. Add - getpgid. - (aux): Remove environ. - * stdlib/stdlib.h (abort, exit): Replace __NORETURN keyword with - __attribute__ use. - * posix/unistd.h (_exit): Likewise. - (__getpgrp, __setpgrp): Declarations removed. - (__getpgid, getpid): Declare these. - - * configure.in (host_os=gnuelf|linuxelf): Set elf=yes. Do AC_SUBST - for gnu_ld, gnu_as, elf, and weak. Call AC_LINK_FILEES on - $libc_link_{sources,dests}. - * sysdeps/unix/configure.in: Remove __ from file names. Don't - create files, just add to libc_link_{dests,sources}. - - * config.make.in (gnu-as, gnu-ld, elf, weak-symbols): New variables. - - * config.h.in: Add #undefs used by sysdeps configures. - - * sysdeps/unix/sysv/sysv4/Makefile (sysdep_routines): Removed - __setpgid, __getpgid. - * sysdeps/unix/sysv/sco3.2.4/setpgid.c: Included file was renamed - from setpgrp.c. - * sysdeps/unix/sysv/sco3.2.4/getpgid.c: Included file was renamed - from __getpgrp.c. - * sysdeps/unix/bsd/getpgrp.c: File removed. - * sysdeps/generic/getpgrp.c: Moved from sysdeps/stub/getpgrp.c. - Call __getpgid with zero. - * sysdeps/stub/setpgid.c: Renamed __setpgrp to __setpgid, added - weak aliases setpgid and setpgrp. - * sysdeps/unix/sysv/irix4/setpgid.S: Likewise. - * sysdeps/unix/common/setpgid.S: Likewise. - * sysdeps/mach/hurd/setpgid.c: Likewise. - * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise. - Use subcall 5 to __pgrpsys. - * sysdeps/stub/getpgid.c: Renamed __getpgrp to __getpgid, added - weak alias getpgid. - * sysdeps/mach/hurd/getpgid.c: Likewise. - * sysdeps/unix/sysv/irix4/getpgid.S: Likewise. - * sysdeps/unix/common/getpgid.S: Likewise. - * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise. - Use subcall 4 to __pgrpsys. - * sysdeps/stub/__getpgrp.c: Renamed to getpgid.c. - * sysdeps/unix/sysv/sysv4/__getpgrp.c: Renamed to getpgid.c. - * sysdeps/unix/sysv/sco3.2.4/__getpgrp.c: Renamed to getpgid.c. - * sysdeps/unix/sysv/irix4/__getpgrp.S: Renamed to getpgid.S. - * sysdeps/unix/common/__getpgrp.S: Renamed to getpgid.S. - * sysdeps/mach/hurd/__getpgrp.c: Renamed to getpgid.c. - * sysdeps/stub/setpgrp.c: Renamed to setpgid.c. - * sysdeps/unix/sysv/sysv4/setpgrp.c: Renamed to setpgid.c. - * sysdeps/unix/sysv/sco3.2.4/setpgrp.c: Renamed to setpgid.c. - * sysdeps/unix/sysv/irix4/setpgrp.S: Renamed to setpgid.S. - * sysdeps/unix/common/setpgrp.S: Renamed to setpgid.S. - * sysdeps/mach/hurd/setpgrp.c: Renamed to setpgid.c. - - * sysdeps/unix/bsd/hp/m68k/getdents.S: Included file was renamed - from __getdents.S. - - * sysdeps/posix/defs.c: Don't include gnu-stabs.h. - * sysdeps/stub/sigpending.c: Use new libc-symbols.h macro for stub - warning. - * sysdeps/stub/fexecve.c: Likewise. - * sysdeps/stub/fchdir.c: Likewise. - * sysdeps/stub/fchflags.c: Likewise. - * sysdeps/stub/chflags.c: Likewise. - - * sysdeps/m68k/__longjmp.c: Remove __NORETURN; it's obsolete. - * sysdeps/generic/abort.c: Likewise. - * sysdeps/ieee754/ldexp.c: Remove __CONSTVALUE; it's obsolete. - - * hurd/hurdioctl.c: Include hurd/ioctl.h. - (_hurd_ioctl_handler_lists): Define this set. - (_hurd_lookup_ioctl_handler): New function. - * hurd/hurd/fd.h: ioctl handler stuff moved to hurd/ioctl.h. - * hurd/hurd/ioctl.h: New file, broken out of hurd/fd.h. - (_hurd_lookup_ioctl_handler): Declare it. - (ioctl_handler_t): New typedef. Use it throughout. - * sysdeps/mach/hurd/ioctl.c: Include hurd/ioctl.h. - (_hurd_ioctl_handler_lists): Don't define. - (__ioctl): Call _hurd_lookup_ioctl_handler. - - * stdlib/strtol.c (maxquad): Make this const. - [__GNUC__ == 2 && __GNUC_MINOR__ < 7]: Only use maxquad in this case. - - * posix/glob/configure.in: Put AC_AIX and AC_MINIX early, before - any compile tests. - - * sysdeps/mach/hurd/setitimer.c (timer_thread): Call - __msg_sig_post_request, not __sig_post_request. - - * misc/getusersh.c: Renamed to getusershell.c. - * sysdeps/stub/sethostnam.c: Renamed to sethostname.c. - * sysdeps/unix/inet/sethostnam.S: Renamed to sethostname.S. - * sysdeps/unix/sysv/sysv4/sethostnam.c: Renamed to sethostname.c. - * sysdeps/mach/hurd/sethostnam.c: Renamed to sethostname.c. - -Tue Jan 24 00:14:30 1995 Roland McGrath - - * sysdeps/stub/settod.c: Renamed to settimeofday.c. - * sysdeps/unix/bsd/settod.S: Renamed to settimeofday.c. - * sysdeps/unix/sysv/settod.c: Renamed to settimeofday.c. - * sysdeps/mach/hurd/settod.c: Renamed to settimeofday.c. - * sysdeps/stub/setitmr.c: Renamed to setitimer.c. - * sysdeps/unix/common/setitmr.S: Renamed to setitimer.S. - * sysdeps/mach/hurd/setitmr.c: Renamed to setitimer.c. - * sysdeps/posix/fpathcon.c: Renamed to fpathconf.c. - * sysdeps/stub/fpathcon.c: Renamed to fpathconf.c. - * sysdeps/unix/sysv/irix4/fpathcon.c: Renamed to fpathconf.c. - * sysdeps/stub/getprio.c: Renamed to getpriority.c. - * sysdeps/unix/sysv/irix4/getprio.c: Renamed to getpriority.c. - * sysdeps/unix/common/getprio.S: Renamed to getpriority.S. - * sysdeps/mach/hurd/getprio.c: Renamed to getpriority.c. - * sysdeps/stub/setprio.c: Renamed to setpriority.c. - * sysdeps/unix/sysv/irix4/setprio.c: Renamed to setpriority.c. - * sysdeps/unix/common/setprio.S: Renamed to setpriority.S. - * sysdeps/mach/hurd/setprio.c: Renamed to setpriority.c. - * sysdeps/stub/getpeernam.c: Renamed to getpeername.c. - * sysdeps/unix/inet/getpeernam.S: Renamed to getpeername.S. - * sysdeps/unix/sysv/linux/getpeernam.S: Renamed to getpeername.S. - * sysdeps/mach/hurd/getpeernam.c: Renamed to getpeername.c. - * sysdeps/stub/getsocknam.c: Renamed to getsockname.c. - * sysdeps/unix/inet/getsocknam.S: Renamed to getsockname.S. - * sysdeps/unix/sysv/linux/getsocknam.S: Renamed to getsockname.S. - * sysdeps/mach/hurd/getsocknam.c: Renamed to getsockname.c. - * sysdeps/stub/sigaltstk.c: Renamed to sigaltstack.c. - * sysdeps/unix/bsd/bsd4.4/sigaltstk.S: Renamed to sigaltstack.S. - * sysdeps/unix/sysv/sysv4/sigaltstk.S: Renamed to sigaltstack.S. - * sysdeps/mach/hurd/sigaltstk.c: Renamed to sigaltstack.c. - - * sysdeps/mach/hurd/i386/sigreturn.c: Call __msg_sig_post instead - of __sig_post. - * sysdeps/mach/hurd/sigsuspend.c: Likewise. - * sysdeps/mach/hurd/kill.c: Likewise. - * sysdeps/mach/hurd/sigprocmask.c: Likewise. - - * misc/sys/cdefs.h (__NORETURN, __CONSTVALUE): Macros removed. - [!__GNUC__ || __GNUC__<2] (__attribute__): Define to empty. - - * sysdeps/stub/remove.c: New file. - * sysdeps/posix/remove.c: New file. - -Mon Jan 23 03:26:09 1995 Roland McGrath - - * time/mktime.c [weak_alias] (timelocal): Define as weak alias for - mktime. - * mach/mig_strncpy.c (mig_strncpy): Define as weak alias for - __mig_strncpy. - * mach/msg-destroy.c: Renamed from __msg_dest.c. - (mach_msg_destroy): Define as weak alias for __mach_msg_destroy. - * mach/setup-thread.c (mach_setup_thread): Define as weak alias. - * time/tzset.c (tzname, daylight, timezone): Define as weak - aliases for __ names. - * hurd/hurdkill.c (hurd_sig_post): Define as weak alias. - * hurd/hurdlookup.c: Add weak aliases for non-__ names. - * Makefile (+init): Test $(gnu-ld)=yes, not for $(+gnu-stabs) - being defined. - -Sun Jan 22 15:19:51 1995 Roland McGrath - - * string/Makefile (routines): Remove __ names, index, rindex, and - bcmp. - * sysdeps/alpha/strchr.c [weak_alias] (index): Define as weak - alias for strchr. - * sysdeps/generic/strchr.c: Likewise. - * sysdeps/generic/strrchr.c [weak_alias] (rindex): Define as weak - alias for strrchr. - * sysdeps/generic/memcmp.c [weak_alias] (bcmp): Define as weak - alias for memcmp. - - * malloc/free.c (cfree): Define this function, with weak_alias if - available, otherwise a C function. - * malloc/Makefile (gmalloc-routines): Remove cfree. - -Sat Jan 21 08:08:58 1995 Roland McGrath - - * stdio/fseek.c: Do move bufp by O when that puts it exactly at - get_limit. This has the effect of no-op'ing properly for zero. - - * configure.in: Add AC_CONFIG_HEADER(config.h). - (--with-elf, --with-weak-symbols): Grok these and define HAVE_*. - * config.h.in: New file. - - * setjmp/longjmp.c: Add weak aliases _longjmp, siglongjmp. - All code converted to use weak symbols, defined in the files which - define the real code (with the __ names, the non-__ names are weak). - All old symbol alias files removed. - Many files renamed to remove __ prefix since there is now just - the one file for both the __ and non-__ name for each function. - * libc-symbols.h: New file. - * set-hooks.h: Use libc-symbols.h macros for accessing symbol - sets. - * gnu-stabs.h: Prepend #error this file is obsolete. - * sysdeps/ieee754/ldexp.c: Add weak aliases scalb and __scalb. - * sysdeps/stub/__access.c: Renamed to access.c; added weak alias - access. - * sysdeps/unix/common/__access.S: Likewise. + * hurd/hurdsock.c: Likewise. + * hurd/hurdsyms.c: Likewise. + * hurd/invoke-trans.c: Likewise. * sysdeps/mach/hurd/__access.c: Likewise. - * sysdeps/stub/__adjtime.c: Renamed to adjtime.c; added weak alias - adjtime. - * sysdeps/unix/common/__adjtime.S: Likewise. - * sysdeps/mach/__adjtime.c: Likewise. - * sysdeps/mach/hurd/__adjtime.c: Likewise. - * sysdeps/stub/__brk.c: Renamed to brk.c; added weak alias brk. - * sysdeps/unix/bsd/sun/m68k/__brk.S: Likewise. - * sysdeps/unix/bsd/vax/__brk.S: Likewise. - * sysdeps/unix/bsd/hp/m68k/__brk.S: Likewise. - * sysdeps/unix/bsd/osf1/alpha/__brk.S: Likewise. - * sysdeps/unix/i386/__brk.S: Likewise. - * sysdeps/unix/sparc/__brk.S: Likewise. - * sysdeps/unix/mips/__brk.S: Likewise. - * sysdeps/mach/hurd/__brk.c: Likewise. - * sysdeps/standalone/__brk.c: Likewise. - * sysdeps/stub/__chdir.c: Renamed to chdir.c; added weak alias chdir. - * sysdeps/unix/__chdir.S: Likewise. - * sysdeps/mach/hurd/__chdir.c: Likewise. - * sysdeps/stub/__chmod.c: Renamed to chmod.c; added weak alias chmod. - * sysdeps/unix/__chmod.S: Likewise. * sysdeps/mach/hurd/__chmod.c: Likewise. - * sysdeps/stub/__chown.c: Renamed to chown.c; added weak alias chown. - * sysdeps/unix/__chown.S: Likewise. * sysdeps/mach/hurd/__chown.c: Likewise. - * sysdeps/stub/__close.c: Renamed to close.c; added weak alias close. - * sysdeps/unix/__close.S: Likewise. - * sysdeps/mach/hurd/__close.c: Likewise. - * sysdeps/standalone/__close.c: Likewise. - * sysdeps/generic/__copysign.c: Renamed to copysign.c; added weak - alias copysign. - * sysdeps/ieee754/__copysign.c: Likewise. - * sysdeps/alpha/__copysign.c: Likewise. - * sysdeps/ieee754/__drem.c: Renamed to drem.c; added weak alias drem. - * sysdeps/m68k/fpu/__drem.c: Likewise. - * sysdeps/stub/__drem.c: Likewise. - * sysdeps/posix/__dup.c: Renamed to dup.c; added weak alias dup. - * sysdeps/stub/__dup.c: Likewise. - * sysdeps/unix/__dup.S: Likewise. - * sysdeps/posix/__dup2.c: Renamed to dup2.c; added weak alias dup2. - * sysdeps/stub/__dup2.c: Likewise. - * sysdeps/unix/sysv/sysv4/__dup2.c: Likewise. - * sysdeps/unix/sysv/irix4/__dup2.c: Likewise. - * sysdeps/unix/common/__dup2.S: Likewise. - * sysdeps/mach/hurd/__dup2.c: Likewise. - * sysdeps/stub/__execve.c: Renamed to execve.c; added weak alias - execve. - * sysdeps/unix/__execve.S: Likewise. * sysdeps/mach/hurd/__execve.c: Likewise. - * sysdeps/generic/__expm1.c: Renamed to expm1.c; added weak alias - expm1. - * sysdeps/m68k/fpu/__expm1.c: Likewise. - * sysdeps/stub/__fchmod.c: Renamed to fchmod.c; added weak alias - fchmod. - * sysdeps/unix/common/__fchmod.S: Likewise. - * sysdeps/mach/hurd/__fchmod.c: Likewise. - * sysdeps/stub/__fchown.c: Renamed to fchown.c; added weak alias - fchown. - * sysdeps/unix/common/__fchown.S: Likewise. - * sysdeps/mach/hurd/__fchown.c: Likewise. - * sysdeps/stub/__fcntl.c: Renamed to fcntl.c; added weak alias fcntl. - * sysdeps/unix/__fcntl.S: Likewise. - * sysdeps/mach/hurd/__fcntl.c: Likewise. - * math/__finite.c: Renamed to finite.c; added weak alias finite. - * sysdeps/posix/__flock.c: Renamed to flock.c; added weak alias flock. - * sysdeps/stub/__flock.c: Likewise. - * sysdeps/unix/bsd/__flock.S: Likewise. - * sysdeps/mach/hurd/__flock.c: Likewise. - * hurd/__fopenport.c: Renamed to fopenport.c; added weak alias - fopenport. - * sysdeps/stub/__fork.c: Renamed to fork.c; added weak alias fork. - * sysdeps/unix/__fork.S: Likewise. - * sysdeps/unix/bsd/osf1/alpha/__fork.S: Likewise. - * sysdeps/unix/i386/__fork.S: Likewise. - * sysdeps/unix/sparc/__fork.S: Likewise. - * sysdeps/unix/mips/__fork.S: Likewise. - * sysdeps/mach/hurd/__fork.c: Likewise. - * sysdeps/posix/__fpathcon.c: Renamed to fpathcon.c; added weak - alias fpathconf. - * sysdeps/stub/__fpathcon.c: Likewise. - * sysdeps/unix/sysv/irix4/__fpathcon.c: Likewise. - * sysdeps/stub/__fstat.c: Renamed to fstat.c; added weak alias fstat. - * sysdeps/unix/__fstat.S: Likewise. - * sysdeps/unix/sysv/sysv4/i386/__fstat.S: Likewise. - * sysdeps/mach/hurd/__fstat.c: Likewise. - * stdio/__getdelim.c: Renamed to getdelim.c; added weak alias - getdelim. - * sysdeps/stub/__getdents.c: Renamed to getdents.c; added weak - alias getdents. - * sysdeps/unix/__getdents.c: Likewise. - * sysdeps/unix/bsd/sun/__getdents.S: Likewise. - * sysdeps/unix/bsd/hp/m68k/__getdents.S: Likewise. - * sysdeps/unix/bsd/ultrix4/__getdents.S: Likewise. - * sysdeps/unix/bsd/bsd4.4/__getdents.S: Likewise. - * sysdeps/unix/bsd/osf1/alpha/__getdents.S: Likewise. - * sysdeps/unix/sysv/__getdents.c: Likewise. - * sysdeps/mach/hurd/__getdents.c: Likewise. - * hurd/__getdport.c: Renamed to getdport.c; added weak alias getdport. - * sysdeps/posix/__getdtsz.c: Renamed to getdtsz.c; added weak - alias getdtablesize. - * sysdeps/stub/__getdtsz.c: Likewise. - * sysdeps/unix/bsd/__getdtsz.S: Likewise. - * sysdeps/unix/sysv/sysv4/__getdtsz.c: Likewise. - * sysdeps/mach/hurd/__getdtsz.c: Likewise. - * sysdeps/stub/__getegid.c: Renamed to getegid.c; added weak alias - getegid. - * sysdeps/unix/__getegid.S: Likewise. - * sysdeps/mach/hurd/__getegid.c: Likewise. - * sysdeps/stub/__geteuid.c: Renamed to geteuid.c; added weak alias - geteuid. - * sysdeps/unix/__geteuid.S: Likewise. - * sysdeps/mach/hurd/__geteuid.c: Likewise. - * sysdeps/stub/__getgid.c: Renamed to getgid.c; added weak alias - getgid. - * sysdeps/unix/__getgid.S: Likewise. - * sysdeps/mach/hurd/__getgid.c: Likewise. - * sysdeps/stub/__getgrps.c: Renamed to getgroups.c; added weak - alias getgroups. - * sysdeps/unix/bsd/sequent/i386/__getgrps.S: Likewise. - * sysdeps/unix/sysv/sco3.2.4/__getgrps.c: Likewise. - * sysdeps/unix/sysv/irix4/__getgrps.c: Likewise. - * sysdeps/unix/common/__getgrps.S: Likewise. - * sysdeps/mach/hurd/__getgrps.c: Likewise. - * sysdeps/stub/__gethstnm.c: Renamed to gethostname.c; added weak - alias gethostname. - * sysdeps/unix/inet/__gethstnm.S: Likewise. - * sysdeps/unix/sysv/__gethstnm.c: Likewise. - * sysdeps/unix/sysv/sysv4/__gethstnm.c: Likewise. - * sysdeps/mach/hurd/__gethstnm.c: Likewise. - * sysdeps/stub/__getitmr.c: Renamed to getitimer.c; added weak - alias getitimer. - * sysdeps/unix/common/__getitmr.S: Likewise. - * sysdeps/mach/hurd/__getitmr.c: Likewise. - * stdio/__getline.c: Renamed to getline.c; added weak alias getline. - * sysdeps/posix/__getpgsz.c: Renamed to getpagesize.c; added weak - alias getpagesize. - * sysdeps/stub/__getpgsz.c: Likewise. - * sysdeps/unix/__getpgsz.c: Likewise. - * sysdeps/unix/bsd/__getpgsz.S: Likewise. - * sysdeps/unix/sysv/sysv4/__getpgsz.c: Likewise. - * sysdeps/mach/__getpgsz.c: Likewise. - * sysdeps/stub/__getpid.c: Renamed to getpid.c; added weak alias - getpid. - * sysdeps/unix/__getpid.S: Likewise. - * sysdeps/mach/hurd/__getpid.c: Likewise. - * sysdeps/stub/__getppid.c: Renamed to getppid.c; added weak alias - getppid. - * sysdeps/unix/__getppid.S: Likewise. - * sysdeps/mach/hurd/__getppid.c: Likewise. - * sysdeps/posix/__gettod.c: Renamed to gettimeofday.c; added weak - alias gettimeofday. - * sysdeps/stub/__gettod.c: Likewise. - * sysdeps/unix/sysv/irix4/__gettod.c: Likewise. - * sysdeps/unix/common/__gettod.S: Likewise. - * sysdeps/mach/__gettod.c: Likewise. - * sysdeps/stub/__getuid.c: Renamed to getuid.c; added weak alias - getuid. - * sysdeps/unix/__getuid.S: Likewise. - * sysdeps/mach/hurd/__getuid.c: Likewise. - * sysdeps/generic/__infnan.c: Renamed to infnan.c; added weak - alias infnan. - * sysdeps/ieee754/__infnan.c: Likewise. - * sysdeps/vax/__infnan.c: Likewise. - * sysdeps/stub/__ioctl.c: Renamed to ioctl.c; added weak alias ioctl. - * sysdeps/unix/__ioctl.S: Likewise. - * sysdeps/mach/hurd/__ioctl.c: Likewise. - * sysdeps/posix/__isatty.c: Renamed to isatty.c; added weak alias - isatty. - * sysdeps/stub/__isatty.c: Likewise. - * sysdeps/unix/bsd/__isatty.c: Likewise. - * sysdeps/mach/hurd/__isatty.c: Likewise. - * sysdeps/ieee754/__isinf.c: Renamed to isinf.c; added weak alias - isinf. - * sysdeps/m68k/fpu/__isinf.c: Likewise. - * sysdeps/stub/__isinf.c: Likewise. - * sysdeps/generic/__isnan.c: Renamed to isnan.c; added weak alias - isnan. - * sysdeps/ieee754/__isnan.c: Likewise. - * sysdeps/m68k/fpu/__isnan.c: Likewise. - * sysdeps/stub/__kill.c: Renamed to kill.c; added weak alias kill. - * sysdeps/unix/__kill.S: Likewise. - * sysdeps/mach/hurd/__kill.c: Likewise. - * sysdeps/stub/__link.c: Renamed to link.c; added weak alias link. - * sysdeps/unix/__link.S: Likewise. * sysdeps/mach/hurd/__link.c: Likewise. - * sysdeps/ieee754/__logb.c: Renamed to logb.c; added weak alias logb. - * sysdeps/m68k/fpu/__logb.c: Likewise. - * sysdeps/stub/__logb.c: Likewise. - * sysdeps/stub/__lseek.c: Renamed to lseek.c; added weak alias lseek. - * sysdeps/unix/__lseek.S: Likewise. - * sysdeps/mach/hurd/__lseek.c: Likewise. - * sysdeps/generic/__lstat.c: Renamed to lstat.c; added weak alias - lstat. - * sysdeps/stub/__lstat.c: Likewise. - * sysdeps/unix/sysv/sysv4/i386/__lstat.S: Likewise. - * sysdeps/unix/common/__lstat.S: Likewise. * sysdeps/mach/hurd/__lstat.c: Likewise. - * sysdeps/generic/__memccpy.c: Renamed to memccpy.c; added weak - alias memccpy. - * sysdeps/vax/__memccpy.c: Likewise. - * sysdeps/stub/__mkdir.c: Renamed to mkdir.c; added weak alias mkdir. - * sysdeps/unix/sysv/__mkdir.c: Likewise. - * sysdeps/unix/common/__mkdir.S: Likewise. * sysdeps/mach/hurd/__mkdir.c: Likewise. - * sysdeps/stub/__mknod.c: Renamed to mknod.c; added weak alias mknod. - * sysdeps/unix/__mknod.S: Likewise. - * sysdeps/unix/sysv/sysv4/i386/__mknod.S: Likewise. * sysdeps/mach/hurd/__mknod.c: Likewise. - * mach/__msg.c: Renamed to msg.c; added weak alias mach_msg. - * mach/__msgserver.c: Renamed to msgserver.c; added weak alias - mach_msg_server. - * sysdeps/stub/__open.c: Renamed to open.c; added weak alias open. - * sysdeps/unix/__open.S: Likewise. * sysdeps/mach/hurd/__open.c: Likewise. - * sysdeps/standalone/__open.c: Likewise. - * sysdeps/stub/__pathconf.c: Renamed to pathconf.c; added weak - alias pathconf. - * sysdeps/unix/sysv/sco3.2.4/__pathconf.S: Likewise. - * sysdeps/unix/sysv/irix4/__pathconf.c: Likewise. - * hurd/__pid2task.c: Renamed to pid2task.c; added weak alias pid2task. - * sysdeps/stub/__pipe.c: Renamed to pipe.c; added weak alias pipe. - * sysdeps/unix/bsd/vax/__pipe.S: Likewise. - * sysdeps/unix/bsd/m68k/__pipe.S: Likewise. - * sysdeps/unix/bsd/osf1/alpha/__pipe.S: Likewise. - * sysdeps/unix/i386/__pipe.S: Likewise. - * sysdeps/unix/sparc/__pipe.S: Likewise. - * sysdeps/unix/mips/__pipe.S: Likewise. - * sysdeps/mach/hurd/__pipe.c: Likewise. - * stdlib/__random.c: Renamed to random.c; added weak alias random. - * sysdeps/stub/__read.c: Renamed to read.c; added weak alias read. - * sysdeps/unix/__read.S: Likewise. - * sysdeps/mach/hurd/__read.c: Likewise. - * sysdeps/standalone/__read.c: Likewise. - * sysdeps/stub/__readlink.c: Renamed to readlink.c; added weak - alias readlink. - * sysdeps/unix/common/__readlink.S: Likewise. - * sysdeps/mach/hurd/__readlink.c: Likewise. - * sysdeps/generic/__rint.c: Renamed to rint.c; added weak alias rint. - * sysdeps/m68k/fpu/__rint.c: Likewise. - * sysdeps/stub/__rmdir.c: Renamed to rmdir.c; added weak alias rmdir. - * sysdeps/unix/sysv/__rmdir.c: Likewise. - * sysdeps/unix/common/__rmdir.S: Likewise. * sysdeps/mach/hurd/__rmdir.c: Likewise. - * sysdeps/generic/__sbrk.c: Renamed to sbrk.c; added weak alias sbrk. - * sysdeps/stub/__sbrk.c: Likewise. - * sysdeps/mach/hurd/__sbrk.c: Likewise. - * math/__scalb.c: Renamed to scalb.c; added weak alias scalb. - * sysdeps/stub/__select.c: Renamed to select.c; added weak alias - select. - * sysdeps/unix/common/__select.S: Likewise. - * sysdeps/mach/hurd/__select.c: Likewise. - * hurd/__setauth.c: Renamed to setauth.c; added weak alias setauth. - * sysdeps/stub/__setgid.c: Renamed to setgid.c; added weak alias - setgid. - * sysdeps/unix/__setgid.S: Likewise. - * sysdeps/unix/bsd/__setgid.c: Likewise. - * sysdeps/mach/hurd/__setgid.c: Likewise. - * sysdeps/stub/__setitmr.c: Renamed to setitmr.c; added weak alias - setitmr - * sysdeps/unix/common/__setitmr.S: Likewise. - * sysdeps/mach/hurd/__setitmr.c: Likewise. - * sysdeps/stub/__setpgrp.c: Renamed to setpgrp.c; added weak alias - setpgrp - * sysdeps/unix/sysv/sysv4/__setpgrp.c: Likewise. - * sysdeps/unix/sysv/sco3.2.4/__setpgrp.c: Likewise. - * sysdeps/unix/sysv/irix4/__setpgrp.S: Likewise. - * sysdeps/unix/common/__setpgrp.S: Likewise. - * sysdeps/mach/hurd/__setpgrp.c: Likewise. - * sysdeps/stub/__setregid.c: Renamed to setregid.c; added weak - alias setregid. - * sysdeps/unix/common/__setregid.S: Likewise. - * sysdeps/mach/hurd/__setregid.c: Likewise. - * sysdeps/stub/__setreuid.c: Renamed to setreuid.c; added weak - alias setreuid. - * sysdeps/unix/common/__setreuid.S: Likewise. - * sysdeps/mach/hurd/__setreuid.c: Likewise. - * sysdeps/stub/__setsid.c: Renamed to setsid.c; added weak alias - setsid. - * sysdeps/unix/bsd/__setsid.c: Likewise. - * sysdeps/unix/bsd/sun/sunos4/__setsid.S: Likewise. - * sysdeps/unix/bsd/ultrix4/__setsid.S: Likewise. - * sysdeps/unix/bsd/bsd4.4/__setsid.S: Likewise. - * sysdeps/unix/sysv/linux/__setsid.S: Likewise. - * sysdeps/unix/sysv/sysv4/__setsid.c: Likewise. - * sysdeps/unix/sysv/sco3.2.4/__setsid.c: Likewise. - * sysdeps/mach/hurd/__setsid.c: Likewise. - * sysdeps/stub/__settod.c: Renamed to settod.c; added weak alias - settimeofday. - * sysdeps/unix/bsd/__settod.S: Likewise. - * sysdeps/unix/sysv/__settod.c: Likewise. - * sysdeps/mach/hurd/__settod.c: Likewise. - * sysdeps/stub/__setuid.c: Renamed to setuid.c; added weak alias - setuid. - * sysdeps/unix/__setuid.S: Likewise. - * sysdeps/unix/bsd/__setuid.c: Likewise. - * sysdeps/mach/hurd/__setuid.c: Likewise. - * sysdeps/posix/__sigblock.c: Renamed to sigblock.c; added weak - alias sigblock. - * sysdeps/stub/__sigblock.c: Likewise. - * sysdeps/unix/bsd/__sigblock.S: Likewise. - * sysdeps/unix/bsd/bsd4.4/__sigblock.c: Likewise. - * sysdeps/unix/bsd/osf1/alpha/__sigblock.S: Likewise. - * sysdeps/posix/__sigpause.c: Renamed to sigpause.c; added weak - alias sigpause. - * sysdeps/stub/__sigpause.c: Likewise. - * sysdeps/unix/bsd/__sigpause.S: Likewise. - * sysdeps/unix/bsd/osf1/alpha/__sigpause.S: Likewise. - * sysdeps/stub/__sigproc.c: Renamed to sigprocmask.c; added weak - alias sigprocmask. - * sysdeps/unix/bsd/__sigproc.c: Likewise. - * sysdeps/unix/sysv/sysv4/__sigproc.S: Likewise. - * sysdeps/unix/sysv/sco3.2.4/__sigproc.S: Likewise. - * sysdeps/mach/hurd/__sigproc.c: Likewise. - * sysdeps/stub/__sigret.c: Renamed to sigreturn.c; added weak - alias sigreturn. - * sysdeps/unix/bsd/sun/__sigret.S: Likewise. - * sysdeps/unix/sysv/i386/__sigret.S: Likewise. - * sysdeps/unix/sysv/irix4/__sigret.S: Likewise. - * sysdeps/unix/i386/__sigret.S: Likewise. - * sysdeps/unix/mips/__sigret.S: Likewise. - * sysdeps/mach/hurd/i386/__sigret.c: Likewise. - * sysdeps/mach/hurd/alpha/__sigret.c: Likewise. - * sysdeps/mach/hurd/mips/__sigret.c: Likewise. - * sysdeps/posix/__sigvec.c: Renamed to sigvec.c; added weak alias - sigvec. - * sysdeps/stub/__sigvec.c: Likewise. - * sysdeps/unix/bsd/__sigvec.S: Likewise. - * sysdeps/unix/bsd/sun/__sigvec.S: Likewise. - * sysdeps/unix/bsd/sequent/i386/__sigvec.S: Likewise. - * sysdeps/unix/bsd/ultrix4/mips/__sigvec.S: Likewise. - * sysdeps/unix/bsd/bsd4.4/__sigvec.c: Likewise. - * sysdeps/unix/bsd/osf1/alpha/__sigvec.S: Likewise. - * sysdeps/stub/__stat.c: Renamed to stat.c; added weak alias stat. - * sysdeps/unix/__stat.S: Likewise. - * sysdeps/unix/sysv/sysv4/i386/__stat.S: Likewise. + * sysdeps/mach/hurd/__readlink.c: Likewise. * sysdeps/mach/hurd/__stat.c: Likewise. - * sysdeps/generic/__stpncpy.c: Renamed to stpncpy.c; added weak - alias stpncpy. - * sysdeps/stub/__symlink.c: Renamed to symlink.c; added weak alias - symlink. - * sysdeps/unix/common/__symlink.S: Likewise. * sysdeps/mach/hurd/__symlink.c: Likewise. - * sysdeps/posix/__sysconf.c: Renamed to sysconf.c; added weak - alias sysconf. - * sysdeps/stub/__sysconf.c: Likewise. - * sysdeps/unix/bsd/ultrix4/__sysconf.c: Likewise. - * sysdeps/unix/sysv/sysv4/__sysconf.c: Likewise. - * sysdeps/unix/sysv/sco3.2.4/__sysconf.S: Likewise. - * sysdeps/unix/sysv/irix4/__sysconf.c: Likewise. - * hurd/__task2pid.c: Renamed to task2pid.c; added weak alias task2pid. - * sysdeps/stub/__times.c: Renamed to times.c; added weak alias times. - * sysdeps/unix/bsd/__times.c: Likewise. - * sysdeps/unix/sysv/__times.S: Likewise. - * time/__tzset.c: Renamed to tzset.c; added weak alias tzset. - * sysdeps/stub/__umask.c: Renamed to umask.c; added weak alias umask. - * sysdeps/unix/__umask.S: Likewise. - * sysdeps/mach/hurd/__umask.c: Likewise. - * sysdeps/stub/__unlink.c: Renamed to unlink.c; added weak alias - unlink. - * sysdeps/unix/__unlink.S: Likewise. * sysdeps/mach/hurd/__unlink.c: Likewise. - * sysdeps/stub/__utimes.c: Renamed to utimes.c; added weak alias - utimes. - * sysdeps/unix/bsd/__utimes.S: Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/__utimes.S: Likewise. * sysdeps/mach/hurd/__utimes.c: Likewise. - * sysdeps/generic/__vfork.c: Renamed to vfork.c; added weak alias - vfork. - * sysdeps/unix/bsd/sun/m68k/__vfork.S: Likewise. - * sysdeps/unix/bsd/vax/__vfork.S: Likewise. - * sysdeps/unix/bsd/i386/__vfork.S: Likewise. - * sysdeps/unix/bsd/hp/m68k/__vfork.S: Likewise. - * sysdeps/unix/bsd/ultrix4/mips/__vfork.S: Likewise. - * sysdeps/unix/sysv/sysv4/i386/__vfork.S: Likewise. - * sysdeps/unix/sparc/__vfork.S: Likewise. - * stdio/__vfscanf.c: Renamed to vfscanf.c; added weak alias vfscanf. - * stdio/__vsscanf.c: Renamed to vsscanf.c; added weak alias vsscanf. - * sysdeps/posix/__wait.c: Renamed to wait.c; added weak alias wait. - * sysdeps/stub/__wait.c: Likewise. - * sysdeps/unix/bsd/sony/newsos4/__wait.c: Likewise. - * sysdeps/unix/bsd/sun/sunos4/__wait.c: Likewise. - * sysdeps/unix/bsd/sun/sunos3/m68k/__wait.S: Likewise. - * sysdeps/unix/bsd/vax/__wait.S: Likewise. - * sysdeps/unix/bsd/m68k/__wait.S: Likewise. - * sysdeps/unix/bsd/bsd4.4/__wait.c: Likewise. - * sysdeps/unix/sysv/i386/linux/__wait.S: Likewise. - * sysdeps/unix/sysv/irix4/__wait.S: Likewise. - * sysdeps/unix/i386/__wait.S: Likewise. - * sysdeps/unix/mips/__wait.S: Likewise. - * sysdeps/posix/__wait3.c: Renamed to wait3.c; added weak alias wait3. - * sysdeps/stub/__wait3.c: Likewise. - * sysdeps/unix/bsd/sony/newsos4/__wait3.c: Likewise. - * sysdeps/unix/bsd/sun/sunos4/__wait3.c: Likewise. - * sysdeps/unix/bsd/vax/__wait3.S: Likewise. - * sysdeps/unix/bsd/i386/__wait3.S: Likewise. - * sysdeps/unix/bsd/hp/m68k/__wait3.S: Likewise. - * sysdeps/unix/bsd/ultrix4/__wait3.S: Likewise. - * sysdeps/unix/bsd/bsd4.4/__wait3.c: Likewise. - * sysdeps/unix/sysv/irix4/__wait3.S: Likewise. - * sysdeps/stub/__wait4.c: Renamed to wait4.c; added weak alias wait4. - * sysdeps/unix/bsd/sony/newsos4/__wait4.c: Likewise. - * sysdeps/unix/bsd/sun/sunos4/__wait4.c: Likewise. - * sysdeps/unix/bsd/bsd4.4/__wait4.S: Likewise. - * sysdeps/unix/bsd/osf1/alpha/__wait4.S: Likewise. - * sysdeps/unix/sysv/linux/__wait4.S: Likewise. - * sysdeps/mach/hurd/__wait4.c: Likewise. - * sysdeps/stub/__waitpid.c: Renamed to waitpid.c; added weak alias - waitpid. - * sysdeps/unix/bsd/sun/sunos4/__waitpid.c: Likewise. - * sysdeps/unix/bsd/ultrix4/__waitpid.S: Likewise. - * sysdeps/unix/bsd/bsd4.4/__waitpid.c: Likewise. - * sysdeps/unix/bsd/osf1/alpha/__waitpid.c: Likewise. - * sysdeps/unix/sysv/linux/__waitpid.S: Likewise. - * sysdeps/unix/sysv/sysv4/__waitpid.c: Likewise. - * sysdeps/unix/sysv/sco3.2.4/__waitpid.S: Likewise. - * sysdeps/unix/sysv/irix4/__waitpid.c: Likewise. - * sysdeps/stub/__write.c: Renamed to write.c; added weak alias write. - * sysdeps/unix/__write.S: Likewise. - * sysdeps/mach/hurd/__write.c: Likewise. - * sysdeps/standalone/__write.c: Likewise. - * sysdeps/stub/__tcgetatr.c: Renamed to tcgetattr.c; added weak - alias tcgetattr. - * sysdeps/unix/bsd/__tcgetatr.c: Likewise. - * sysdeps/unix/bsd/sun/sunos4/__tcgetatr.c: Likewise. - * sysdeps/unix/bsd/bsd4.4/__tcgetatr.c: Likewise. - * sysdeps/unix/sysv/__tcgetatr.c: Likewise. - * sysdeps/stub/__sigact.c: Renamed to sigaction.c; added weak - alias sigaction. - * sysdeps/unix/bsd/__sigact.c: Likewise. - * sysdeps/unix/sysv/__sigact.c: Likewise. - * sysdeps/unix/sysv/sysv4/__sigact.c: Likewise. - * sysdeps/unix/sysv/sco3.2.4/__sigact.S: Likewise. - * sysdeps/mach/hurd/__sigact.c: Likewise. - * sysdeps/posix/__sigstmsk.c: Renamed to sigsetmask.c; added weak - alias sigsetmask. - * sysdeps/stub/__sigstmsk.c: Likewise. - * sysdeps/unix/bsd/__sigstmsk.S: Likewise. - * sysdeps/unix/bsd/bsd4.4/__sigstmsk.c: Likewise. - * sysdeps/unix/bsd/osf1/alpha/__sigstmsk.S: Likewise. - * sysdeps/stub/__getrusag.c: Renamed to getrusage.c; added weak - alias getrusage. - * sysdeps/unix/sysv/irix4/__getrusag.c: Likewise. - * sysdeps/unix/common/__getrusag.S: Likewise. - * hurd/task2pid.c: File removed. - * hurd/setauth.c: File removed. - * hurd/pid2task.c: File removed. - * hurd/hurdsyms.c: File removed. - * hurd/getdport.c: File removed. - * hurd/fopenport.c: File removed. - * mach/thread-sym.c: File removed. - * mach/spin-syms.c: File removed. - * mach/msgserver_t.c: File removed. - * mach/msgserver.c: File removed. - * mach/msg.c: File removed. - * mach/mig_syms.c: File removed. - * malloc/mcheck-init.c: File removed. - * malloc/cfree.c: File removed. - * io/flock.c: File removed. - * io/write.c: File removed. - * io/unlink.c: File removed. - * io/umask.c: File removed. - * io/symlink.c: File removed. - * io/rmdir.c: File removed. - * io/readlink.c: File removed. - * io/read.c: File removed. - * io/pipe.c: File removed. - * io/open.c: File removed. - * io/mkdir.c: File removed. - * io/lstat.c: File removed. - * io/lseek.c: File removed. - * io/link.c: File removed. - * io/isatty.c: File removed. - * io/stat.c: File removed. - * io/fstat.c: File removed. - * io/fchown.c: File removed. - * io/fchmod.c: File removed. - * io/dup2.c: File removed. - * io/dup.c: File removed. - * io/close.c: File removed. - * io/fcntl.c: File removed. - * io/chmod.c: File removed. - * io/chdir.c: File removed. - * io/access.c: File removed. - * io/chown.c: File removed. - * time/tzset.c: File removed. - * time/timelocal.c: File removed. - * time/syms-time.c: File removed. - * time/settod.c: File removed. - * time/setitmr.c: File removed. - * time/gettod.c: File removed. - * time/getitmr.c: File removed. - * time/adjtime.c: File removed. - * termios/tcgetattr.c: File removed. - * string/stpncpy.c: File removed. - * string/rindex.c: File removed. - * string/memccpy.c: File removed. - * string/index.c: File removed. - * string/bcmp.c: File removed. - * stdlib/srand.c: File removed. - * stdlib/random.c: File removed. - * stdio/vsscanf.c: File removed. - * stdio/vfscanf.c: File removed. - * stdio/syms-stdio.c: File removed. - * stdio/remove.c: File removed. - * stdio/getline.c: File removed. - * stdio/getdelim.c: File removed. - * signal/ssignal.c: File removed. - * signal/sigvec.c: File removed. - * signal/sigsetmask.c: File removed. - * signal/sigret.c: File removed. - * signal/sigproc.c: File removed. - * signal/sigpause.c: File removed. - * signal/sigblock.c: File removed. - * signal/sigaction.c: File removed. - * signal/kill.c: File removed. - * signal/gsignal.c: File removed. - * setjmp/siglongjmp.c: File removed. - * setjmp/_longjmp.c: File removed. - * resource/getrusage.c: File removed. - * posix/waitpid.c: File removed. - * posix/wait4.c: File removed. - * posix/wait3.c: File removed. - * posix/wait.c: File removed. - * posix/times.c: File removed. - * posix/sysconf.c: File removed. - * posix/setuid.c: File removed. - * posix/setsid.c: File removed. - * posix/setpgrp.c: File removed. - * posix/setpgid.c: File removed. - * posix/setgid.c: File removed. - * posix/pathconf.c: File removed. - * posix/getuid.c: File removed. - * posix/getppid.c: File removed. - * posix/getpid.c: File removed. - * posix/getgrps.c: File removed. - * posix/getgid.c: File removed. - * posix/geteuid.c: File removed. - * posix/getegid.c: File removed. - * posix/fpathcon.c: File removed. - * posix/fork.c: File removed. - * posix/execve.c: File removed. - * posix/environ.c: File removed. - * misc/utimes.c: File removed. - * misc/setreuid.c: File removed. - * misc/setregid.c: File removed. - * misc/select.c: File removed. - * misc/sbrk.c: File removed. - * misc/mknod.c: File removed. - * misc/ioctl.c: File removed. - * misc/getpgsz.c: File removed. - * misc/gethstnm.c: File removed. - * misc/getdtsz.c: File removed. - * misc/data_start.c: File removed. - * misc/brk.c: File removed. - * math/scalb.c: File removed. - * math/rint.c: File removed. - * math/logb.c: File removed. - * math/isnan.c: File removed. - * math/isinf.c: File removed. - * math/infnan.c: File removed. - * math/finite.c: File removed. - * math/expm1.c: File removed. - * math/drem.c: File removed. - * math/copysign.c: File removed. - * math/__scalb.c: File removed. - * dirent/getdents.c: File removed. + * sysdeps/mach/hurd/bind.c: Likewise. + * sysdeps/mach/hurd/chflags.c: Likewise. + * sysdeps/mach/hurd/connect.c: Likewise. + * sysdeps/mach/hurd/fchdir.c: Likewise. + * sysdeps/mach/hurd/opendir.c: Likewise. + * sysdeps/mach/hurd/sysd-stdio.c: Likewise. + * sysdeps/mach/hurd/truncate.c: Likewise. + * sysdeps/mach/hurd/rename.c: Likewise. + * sysdeps/mach/hurd/getcwd.c: Likewise. + * sysdeps/mach/hurd/chroot.c: Likewise. + * sysdeps/mach/hurd/__chdir.c: Likewise. -Fri Jan 20 16:11:06 1995 Roland McGrath + * hurd/__setauth.c (_hurd_setauth): Use new authentication + protocol: for each port, create a fresh receive right and pass + send-once rights in the auth calls, then destroy the port. + * hurd/hurdsig.c (reauth_proc): Likewise. + * hurd/dtable.c (reauth_dtable): Likewise. - * sysdeps/generic/morecore.c (__default_morecore): Use - __malloc_ptrdiff_t; don't cast arg to int. + * hurd/hurdpath.c (__hurd_path_lookup_retry): Don't handle + FS_RETRY_NONE (it's gone). Use new authentication protocol: + create a fresh receive right and pass send-once rights in the auth + calls, then destroy the port. - * resolv/getnetnamadr.c: Include "conf/portability.h". +Mon Aug 29 13:17:39 1994 Michael I Bushnell -Thu Jan 19 02:20:04 1995 Roland McGrath + * sysdeps/mach/hurd/__symlink.c (__symlink): Use new + file_set_translator protocol. + * sysdeps/mach/hurd/bind.c (bind): Likewise. + * sysdeps/mach/hurd/__mknod.c (__mknod): Likewise. - * stdlib/strtol.c: Include errno.h. - [QUAD] (ULONG_MAX): Define to a static variable initialized to - ULONG_LONG_MAX. This is to work around a GCC bug in using the - constant in arithmetic. + * sysdeps/mach/hurd/__pipe.c (__pipe): Use PF_LOCAL instead + of AF_FILE. - * posix/unistd.h (daemon): Declare it. +Fri Aug 26 01:21:09 1994 Roland McGrath - * malloc/mcheck-init.c: Remove GNU ld hacks. - (__malloc_initialize_hook): Initialize this hook to turn_on_mcheck. - * malloc/malloc.c (__malloc_initialize_hook): New hook variable. - (initialize): Call the hook if set. - * malloc/malloc.h: Use __malloc_{size,ptrdiff}_t in prototypes. - (__malloc_initialize_hook): Declare new hook variable. + * Makefile ($(objpfx)sysd-dirs): Use sed to remove # comments from + Subdirs files. -Wed Jan 18 01:43:39 1995 Roland McGrath + Support for miscellaneous standalone boards (no OS), contributed + by Joel Sherrill (jsherril@redstone-emh2.army.mil), On-Line + Applications Research Corporation. + * sysdeps/standalone: New directory. + * sysdeps/standalone/standalone.h: New file. + * sysdeps/standalone/stdio_lim.h: New file. + * sysdeps/stub/strtsupp.c: New file. + * sysdeps/standalone/filedesc.h: New file. + * sysdeps/posix/{setenv,putenv}.c: Moved to sysdeps/generic. + * sysdeps/unix/getenv.c: Moved to sysdeps/generic. + * sysdeps/unix/morecore.c: Moved to sysdeps/generic. + * sysdeps/posix/sysd-stdio.c: Moved to sysdeps/generic. + * sysdeps/stub/errnos.h: Add ENFILE and EMFILE. + * sysdeps/stub/errlist.c (_sys_errlist): Likewise. + * sysdeps/stub/console.c: New file. + * sysdeps/standalone/__open.c: New file. + * sysdeps/standalone/__read.c: New file. + * sysdeps/standalone/__write.c: New file. + * sysdeps/standalone/__close.c: New file. + * sysdeps/stub/brdinit.c: New file. + * sysdeps/unix/__sbrk.c: Moved to sysdeps/generic. + * sysdeps/standalone/__brk.c: New file. + * sysdeps/standalone/Subdirs: New file + * bare/Makefile: New file (and new directory). + * sysdeps/i960/ffs.c: New file. + * sysdeps/i960/Implies: New file. + * configure.in (os=none): base_os=standalone - * hurd/hurdsig.c: Prepend `msg_' to server RPC names. - * hurd/hurdpid.c: Likewise. - * hurd/hurdauth.c: Likewise. +Thu Aug 25 23:56:32 1994 Roland McGrath -Tue Jan 17 03:16:47 1995 Roland McGrath + * sysdeps/stub/__sigret.c: Arg is not const. + * signal/sigret.c: Likewise. - * sysdeps/mach/hurd/__select.c: If some replies are EINTR, succeed - if any are successful. +Tue Aug 23 14:43:19 1994 Roland McGrath - * hurd/hurdmsg.c: Prepend `msg_' to all RPC names. - (_S_msg_get_exec_flags, _S_msg_set_exec_flags, - _S_msg_set_some_exec_flags, _S_msg_clear_some_exec_flags): New - functions. - (_S_io_select_done, _S_dir_changed, _S_file_changed): Stubs removed. + * socket/sys/socket.h (PF_FILE, AF_FILE): Removed (use LOCAL instead). + (PF_XTP, PF_COIP, PF_CNT, PF_RTIP, PF_IPX, PF_SIP, PF_PIP): New + macros. + (PF_MAX): Increased to 26. + (pseudo_AF_XTP, AF_COIP, AF_CNT, pseudo_AF_RTIP, AF_IPX, AF_SIP, + pseudo_AF_PIP): New macros. + (MSG_EOR, MSG_TRUNC, MSG_CTRUNC, MSG_WAITALL, MSG_DONTWAIT, + SO_REUSEPORT): New enum constants. - * hurd/hurdkill.c: __sig_post renamed to __msg_sig_post. - * hurd/hurd-raise.c: Likewise. - * hurd/hurdsig.c (post_reply): Prepend `msg_' to RPC names. + * hurd/hurdsig.c (_hurd_internal_post_signal): If not preempted, + set ACT before checking for SIGCONT. When continuing and + ACT==handle, don't resume SS->thread; record that it is suspended + and in handler-setup code, don't suspend it again. - * sysdeps/mach/hurd/ptrace.c: New file. + * sysdeps/mach/hurd/sys/param.h: Include (BSD does). - * sysdeps/mach/hurd/__select.c: Revamped to use new io_select - interface, which has normal EINTR semantics. Instead of waiting - for io_select_done notification messages, send io_select messages - with short reply timeout and then wait for io_select_reply - messages. + * sysdeps/mach/hurd/__fork.c: When unchaining old sigstates, check + for SS being head of chain. - * hurd/hurdexec.c (_hurd_exec): Pass (_hurd_exec_flags & - EXEC_INHERITED) to file_exec. +Mon Aug 22 00:29:02 1994 Roland McGrath - * hurd/hurdsig.c (post_reply): Take new arg UNTRACED; if nonzero, - use sig_post_untraced_reply. All callers changed. - (abort_thread, abort_rpcs): Take same new arg and pass it through. - All callers changed. - (_hurd_internal_post_signal): Take new arg UNTRACED. - If zero and process is traced, stop with SIGNO as stop signal. If - nonzero, resume process before delivering signal (unless - ACT==stop). Expand local fn sigwakeup into block at end taken iff - SIGNO!=0. - (signal_allowed): New function, broken out of _S_sig_post. - (_S_sig_post): Call it. Pass UNTRACED arg of false to - _hurd_internal_post_signal. - (_S_sig_post_untraced): New function. Just like _S_sig_post, but - pass true for UNTRACED. - * hurd/hurd/signal.h (_hurd_internal_post_signal): Take new arg - UNTRACED. - * hurd/catch-exc.c (_S_catch_exception_raise): Pass UNTRACED arg - to _hurd_internal_post_signal (value zero). + * time/{asia,australasia,europe,northamerica}: New data from ADO. -Mon Jan 16 16:40:01 1995 Roland McGrath + * hurd/hurdsig.c (abort_rpcs): After destroying MSGING_PORT, + change the return value register in STATE to EINTR. + * sysdeps/mach/mips/thread_state.h (SYSRETURN): New macro. + * sysdeps/mach/i386/thread_state.h (SYSRETURN): New macro. - * hurd/hurdinit.c (_hurd_exec_flags): New variable. - (_hurd_init): Initialize it from FLAGS arg. - (_hurd_proc_init): If EXEC_TRACED is set in _hurd_exec_flags, - raise a SIGTRAP signal (with a sigcode of zero). - * hurd/hurd.h (_hurd_exec_flags): Declare it. + * hurd/hurdsig.c (default_sigaction): New function. + (_hurd_thread_sigstate): Use it to initialize SS->actions. + Initialize rest of new sigstate by hand, don't just bzero it. - * Version 1.09.5. + * hurd/hurdsig.c (_hurd_internal_post_signal): Initialize + THREAD_STATE.set to zero. -Mon Jan 16 16:16:55 1995 Richard Stallman + * posix/execl.c: Use ARG instead of PATH in va_start. - * malloc/malloc.c (malloc): Fix 1-off in previous change. + * sysdeps/mach/hurd/__fork.c: In child fork, unchain stale + structures from _hurd_sigstates first, and only free them after + other processing is complete. -Mon Jan 16 15:49:07 1995 Roland McGrath + * hurd/hurdpath.c (__hurd_path_lookup_retry): For malformed number + in magic "fd/N", return ENOENT instead of treating it as bogus + magic. - * posix/glob/Makefile.in: Remove config.h and config.log. + * sysdeps/mach/hurd/__chdir.c: After __path_lookup on arg, use + __hurd_path_lookup of empty file name on resultant port to check + that it's a directory. + * sysdeps/mach/hurd/chroot.c: Likewise. + * sysdeps/mach/hurd/fchdir.c: Use __hurd_path_lookup of empty file + name on FD port to check that it's a directory and acquire a + reference at the same time. + * hurd/fchroot.c: Likewise. -Sun Jan 15 06:56:47 1995 Roland McGrath + * hurd/hurdpid.c (init_pids): Add gratuitous self reference to + silence compiler. - * posix/glob/configure.in: Add AC_CONST check. + * hurd/hurdpath.c: Include for cttyid opening rpc. + (__hurd_path_lookup_retry): Fixed typo. - * conf/portability.h: #undef sun. - * resolv/res_query.c: Updated from BIND-4.9.3-BETA17. - * resolv/getnetnamadr.c: Likewise. + * sysdeps/mach/hurd/i386/__sigret.c: Push state onto the user's + stack, switch to it, pop and return. - * socket/Makefile (headers): Add sockaddrcom.h. - * inet/netinet/in.h: Include . - (struct sockaddr_in): Use the __SOCKADDR_COMMON macro. - * socket/sys/un.h (struct sockaddr_in): Likewise. - * socket/sys/socket.h (struct sockaddr): Likewise. - * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: New file. - * sysdeps/generic/sockaddrcom.h: New file. + Major rewrite of Hurd signal delivery. + * hurd/hurd/signal.h (struct hurd_sigstate): New member `context'. + * sysdeps/mach/hurd/i386/trampoline.c: Include "thread_state.h" + instead of . + (struct mach_msg_trap_args): New type. + (trampoline): Function removed. + (_hurd_setup_sighandler): Take struct hurd_sigstate * arg instead + of FLAGS and SIGALTSTACK args; take new flag arg RPC_WAIT; use + struct machine_thread_all_state * for STATE arg. New declared + labels `trampoline', `rpc_wait_trampoline' mark asm code at end of + function (after return). Add another struct sigcontext * to + STACKFRAME after the first one, for the arg to __sigreturn. If + SS->context is set, fill registers in SCP from that instead of + STATE, and reset SS->INTR_PORT from it. Use memcpy to copy from + STATE into SCP; the structures are congruent. If RPC_WAIT is set, + set up to use rpc_wait_trampoline and frob args to mach_msg_trap + syscall in progress so that it will retry the receive operation + (but not resend!). + {rpc_wait_trampoline, trampoline}: New trampoline code. + (_hurd_rcv_interrupted_p): New function. + * sysdeps/mach/hurd/mips/trampoline.c: Likewise. + * hurd/hurdsig.c (write_corefile): Take new arg SIGERROR. Use + _hurdsig_getenv instead of getenv. Use dir_mkfile to create an + unlinked node for the core file; then use dir_link to name it, + only if core_dump_task succeeded. + (post_reply): New function. + (abort_thread): New function. + (interrupted_reply_port_location): New function. + (interrupted_reply_port): Function removed (replaced by above). + (abort_all_rpcs): Take struct machine_thread_all_state * for STATE. + (abort_rpcs): Likewise. + Return int, nonzero iff interrupt_operation RPC was done. Take + args for reply port and its port type; call abort_thread instead + of doing thread_abort and thread_get_state. Call + _hurdsig_rcv_interrupted_p instead of _hurd_thread_state_msging_p. + Use __interrupt_operation mig stub instead of manual packing. If + we destroy the msging port, and it is the thread's mig reply port, + clear its reply port slot. Fix inverted SA_RESTART test. + (_hurd_internal_post_signal): Take new arg SIGERROR. + Remove `cont' from ACT enum; SIGCONT processing is independent of + handling. Removed local function `check_pending'; add `reply'. + Use mask macro STOPSIGS instead of alternation to check for stop + signals. Process SIGCONT and do continuation before examining the + handler. Use SS->pending_data instead of SS->sigcodes. When + dying, don't lock _hurd_siglock around __proc_dostop call. When + dying, reply immediately after stopping user threads. When + handling, notice return from abort_rpcs and pass it to + _hurd_setup_sighandler; also pass SS instead of its components. + Set SCP->sc_error from SIGERROR; clear SS->intr_port after saving + it in SCP->sc_intr_port. For pending checks, use macro PENDING + and goto pending if returns true. + (_S_sig_post): Eliminate unnecessary variable WIN; pass SIGERROR + value of zero to _hurd_internal_post_signal. + (_hurdsig_getenv): New function. + * sysdeps/mach/hurd/i386/__sigret.c (sp): New global register + variable. + (__sigreturn): Arg is not const. + After restoring SCP->sc_mask, check for pending signals (newly + unblocked); if any, set SS->context to SCP, clear SS->intr_port, + and send sig_post to the signal thread to deliver the pending + signals. Point SP directly at &SCP->sc_gs and used popa;iret to + restore. (This does not actually work; iret is unhelpful.) + * sysdeps/mach/hurd/mips/__sigret.c (__sigreturn): Arg is not + const. After restoring SCP->sc_mask, check for pending signals + (newly unblocked); if any, set SS->context to SCP, clear + SS->intr_port, and send sig_post to the signal thread to deliver + the pending signals. Don't write $1 value into the user stack. + Instead, write it into the word just past SCP->sc_pc; then point + $1 at SCP->sc_pc and use `op_sigreturn' pseudo-instruction to + restore the PC and $1 from that. - * sysdeps/unix/sysv/sysv4/ftruncate.c: New file. - * sysdeps/unix/common/fcntlbits.h [__USE_SVID] (F_ALLOCSP, - F_FREESP): New macros. - * sysdeps/posix/truncate.c: New file. +Fri Aug 19 15:39:54 1994 Roland McGrath - * malloc/malloc.c (malloc): Fix typos in RMS's change. + * configure.in (machine): Grok i586 -> i386/i586. + * sysdeps/i386/pentium: Directory renamed to sysdeps/i386/i586. - * malloc/Makefile (dist-routines): Add malloc-find. - * malloc/malloc.h (malloc_find_object_address): Declare it. - * malloc/malloc-find.c: New file. + * hurd/hurd.h (_hurd_pids_changed_stamp, _hurd_pids_changed_sync): + New variables. + * hurd/hurdpid.c (_S_proc_newids): Last thing, increment + _hurd_pids_changed_stamp and broadcast on _hurd_pids_changed_sync. + * sysdeps/mach/hurd/__setpgrp.c: After proc_setpgrp succeeds and + PID is ourself, wait on _hurd_pids_changed_sync until + _hurd_pids_changed_stamp increases from the value before the RPC. + * sysdeps/mach/hurd/__setsid.c: After proc_setsid succeeds, wait + on _hurd_pids_changed_sync until _hurd_pids_changed_stamp + increases from the value before the RPC. - * malloc/malloc.h (__malloc_ptrdiff_t): New macro, defined a la - __malloc_size_t. - (malloc_info): Use that type for member `busy.info.size'. + * posix/sys/wait.h [GCC>=2.6] (__WAIT_STATUS): Define this with + typedef as a union with the new (GCC 2.6.1) `transparent_union' + attribute. - * stdlib/strtol.c: Change uses of `long' keyword throughout to use - `LONG' macro. - [! QUAD] (LONG): Define as long. - [QUAD] (LONG): Define as long long. - [QUAD] (LONG_MIN, LONG_MAX, ULONG_MAX): Redefine to long long - versions. - [QUAD] (strtoul, strtol): Define to strtouq, strtoq. - * stdlib/Makefile (routines): Add strtoq and strtouq. - * stdlib/strtoq.c, stdlib/strtouq.c: New files. - * stdlib/stdlib.h [__GNUC__ && __USE_BSD] (strtoq, strtouq): - Declare them. + * stdio/printf_fp.c (MPNSIZE): New macro, computed from DBL_MAX_EXP. + (MPN_VAR): Use that for size of bignums. - * stdio/vfprintf.c: If there was a precision specified, ignore the - 0 flag and always pad with spaces. + * sysdeps/mach/hurd/__kill.c: For pgrp, ignore ESRCH error from + kill_pid of individual pids, unless from all of them. + * hurd/hurdkill.c (_hurd_sig_post): Likewise. - * stdio/vfprintf.c: Don't use strchr to skip text until next %. - Use a loop and also stop on first !isascii char. +Fri Aug 19 00:54:50 1994 Roland McGrath -Wed Jan 11 00:07:10 1995 Richard Stallman + * configure.in (INSTALL): Quote this shell goop from m4. - * malloc/malloc.h (malloc_info): Change usage of .busy.info.size. + * sysdeps/stub/start.c (errno, __environ): Define these variables. - * malloc/malloc.c (malloc): For a multi-block object, store a - negative number into the busy.info.size of all but the first block. + * sysdeps/stub/errnos.h (ENOMEM, EACCES): New macros. + * sysdeps/stub/errlist.c (_sys_errlist): Add strings for all + macros defined in stub/errnos.h. + (_sys_nerr): Use value computed from sizeof (_sys_errlist). -Tue Jan 10 13:45:20 1995 Brendan Kehoe +Wed Aug 17 15:32:39 1994 Roland McGrath - * sysdeps/unix/bsd/ultrix4/mips/start.S: Use s0, s1, and s2 - instead of t0, t1, and t2. + * hurd/hurdmsg.c (_S_io_select_done): Take poly arg for notify + port arg. -Tue Jan 10 05:53:50 1995 Roland McGrath + * mach/mach_init.h (vm_page_size): Remove macro defn. - * malloc/memalign.c (__memalign_hook): New variable. - (memalign): Call it if set. - * malloc/malloc.h (__memalign_hook): Declare new variable. + * hurd/Makefile (distribute): Added STATUS. -Wed Dec 28 03:27:21 1994 Roland McGrath + * sysdeps/mach/thread_state.h: Include and + . - * conf/portability.h: Include string.h and stdlib.h. - * inet/netdb.h (NETDB_INTERNAL, NETDB_SUCCESS): New macros. - * resolv/resolv.h, resolv/arpa/nameser.h, resolv/gethnamaddr.c, - resolv/getnetbyname.c, resolv/getnetent.c, resolv/herror.c, - resolv/res_mkquery.c, resolv/res_send.c, resolv/res_comp.c, - resolv/res_debug.c, resolv/res_init.c: Updated from BIND 4.9.3-BETA14. + * sysdeps/mach/hurd/__select.c: Pass port-type arg to io_select. - * sysdeps/m68k/fpu/__math.h (__m81_inline): New macro. Replace - all uses of `extern __inline' with `__m81_inline'. + * sysdeps/mach/hurd/__fork.c: Include "hurdmalloc.h", so we use + the right `free'. - * sysdeps/unix/bsd/hp/m68k/__vfork.S: Use subl, not decl. - * sysdeps/unix/__fork.S: Swap args in subl. + * sysdeps/mach/hurd/__select.c (SELECT_DONE_MSGID): Correct value + to 23020. + (__select): Don't set PORT until just before sending io_select calls. + Pass proper send-size for io_select_done reply message. Clear the + reply port slot in io_select_done reply message header. - * posix/sys/types.h [__USE_MISC] (ushort, uint): New typedefs, for - compatibility. + * sysdeps/mach/hurd/__kill.c: Rename parameter to ARG_SIG, make + SIG a local variable initialized to that (this to work around a + GCC bug). + Initialize PIDS and NPIDS properly for proc_getpgrppids call. -Tue Dec 20 13:33:20 1994 Michael I Bushnell + * signal/signal.h (__sigreturn, sigreturn): Arg is not const. - * sysdeps/mach/hurd/__setpgrp.c (__setpgrp): Use __swtch_pri instead - of swtch. - * sysdeps/mach/hurd/__setsid.c (__setsid): Likewise. - * mach/spin-solid.c (__spin_lock_solid): Likewise. + * hurd/hurdpath.c (__hurd_path_lookup_retry): For REAUTH or NORMAL + with empty retryname, treat like NONE (which is now obsolete) + after reauthentication. For magic "tty", use new + termctty_open_terminal RPC on cttyid port. -Thu Dec 15 12:01:07 1994 Roland McGrath +Tue Aug 16 01:58:21 1994 Roland McGrath - * inet/rcmd.c (iruserok): Use alloca instead of fixed-size buffer - for PBUF. - (__ivaliduser): Use getline instead of fgets with fixed-size buffer. + * sysdeps/mach/hurd/__kill.c (kill_pid): Make non-inline. Treat + null msgport like EPERM return from sig_post. + * hurd/hurdkill.c (_hurd_sig_post): Treat null msgport like EPERM. - * sysdeps/mach/hurd/Makefile (subdirs): Don't elide inet. + * sysdeps/mach/thread_state.h (machine_get_state, + machine_get_basic_state): Initialize count arg before calling + thread_get_state. -Wed Dec 14 18:20:56 1994 Roland McGrath + * hurd/hurdpath.c (__hurd_path_lookup_retry): Initialize ERR to zero. - * sysdeps/alpha/bsd-setjmp.S: Reverse register and immediate args - in `bis' insn; immediate must be second. + * hurd/hurdpath.c (__hurd_path_lookup_retry): Grok magic "tty". - * sysdeps/unix/__fork.S: Use subl instead of decl. - * sysdeps/unix/i386/__fork.S: New file. + * hurd/hurd/signal.h (struct hurd_sigstate): Replace `sigcodes' with + `pending_data'. + (_hurd_raise_signal, _hurd_setup_sighandler): Update prototypes. + (_hurd_thread_state_msging_p): Don't declare. + (_hurdsig_rcv_interrupted_p): Declare this instead. + (HURD_EINTR_RPC): Invert sense of restart test. - * sysdeps/mach/hurd/alpha/trampoline.c (_hurd_setup_sighandler): - Remove A macro; just use `asm volatile' with proper quotes in each - line. - * sysdeps/mach/alpha/sysdep.h (CALL_WITH_SP): Put parens around - jmp target register. + * hurd/hurdrlimit.c (_hurd_rlimits): Add braces to initializer. - * time/africa, time/asia, time/australasia, time/emkdir.c, - time/europe, time/ialloc.c, time/northamerica, time/private.h, - time/scheck.c, time/yearistype, time/zdump.c, time/zic.c: New code - and data from ADO 94h distribution. + * hurd/catch-exc.c: Unlock _hurd_siglock when done with it. Use + __spin_lock_locked on `held' member instead of __mutex_lock_locked. - * sysdeps/sparc/setjmp.S: Use sethi and or to put address of - __sigjmp_save in %g1 and jmp there. jmp cannot contain a complete - absolute pointer. Put second store in jmp delay slot. + * sysdeps/mach/thread_state.h: New file. + * sysdeps/mach/i386/thread_state.h: Don't #include + . Add #include_next at end. + * sysdeps/mach/mips/thread_state.h: Likewise. -Tue Dec 13 15:47:52 1994 Roland McGrath + * sysdeps/mach/hurd/i386/sigcontext.h (struct sigcontext): Lay out + corresponding to i386_thread_state and i386_float_state. + * sysdeps/mach/hurd/mips/sigcontext.h (sc_mips_thread_state, + sc_mips_exc_state, sc_mips_float_state): New macros, marking + members that correspond to thread_state.h structs. - * sysdeps/sparc/bsd-_setjmp.S: Use sethi and or to put address of - __sigsetjmp in %g1 and jmp there. jmp cannot contain a complete - absolute pointer. - * sysdeps/sparc/bsd-setjmp.S: Likewise. +Mon Aug 15 17:21:20 1994 Roland McGrath - * configure.in: Use ; before } in { ... } exprs. + * Rules [cross-compiling=yes] (tests): Depend on the binaries, not + the output files. + * Makerules: Replace uses of HOST_CC with BUILD_CC and + native-CFLAGS with BUILD_CFLAGS. + + * sysdeps/unix/Makefile (mk-local_lim, make-ioctls): Replace uses + of CC with BUILD_CC and native-CFLAGS with BUILD_CFLAGS. + * sysdeps/unix/sysv/sysv4/solaris2/Makefile: Replace uses of + HOST_CC with BUILD_CC and native-CFLAGS with BUILD_CFLAGS. + * sysdeps/posix/Makefile: Likewise. + + * Makeconfig (+cc_version): Variable and associated code removed. + (HOST_CC): Use BUILD_CC instead; all uses changed. + (cross-compiling): Set to no if not the case. + + * sysdeps/m68k/fpu/__math.h: Replace all uses of __const with + __CONSTVALUE. + + * Makerules (distinfo-vars): Remove $@.new first thing. Write + elided-routines instead of sysdep_routines. After writing + variables, append to sources from $(elided-routines). + * sysdeps/vax/Makefile (elided-routines): New variable (append to + it). + (aux, routines): Don't set these. + (sysdep_routines): Append things here instead. + * sysdeps/generic/Makefile (elided-routines): New variable (append + to it). + (aux): Don't set this. + * sysdeps/generic/Makefile (routines): Don't set this. + (sysdep_routines): Append exp__E and log__L here instead. + + * time/test_time.c (main): Set TBUF.tm_isdst to -1 before calling + mktime. + + * stdlib/stdlib.h (atof, atoi, atol, random, srandom, setstate, + initstate, mblen): Never define as macros. + [__OPTIMZE__ && __GNUC__ >= 2]: Define those functions as extern + inlines. + + * hurd/hurdpath.c (__hurd_path_lookup_retry): For magic "fd/%u", + lose on random chars after number; for / after number, retry + remainder properly. + + * hurd/hurdpath.c (pathtrans_error): New function; filters errors + from dir_pathtrans: EOPNOTSUPP and MIG_BAD_ID become ENOTDIR. + (__hurd_path_lookup, __hurd_path_lookup_retry): Call it. + +Thu Aug 11 11:59:33 1994 Noel Cragg (noel@churchy.gnu.ai.mit.edu) + + * time/mktime.c (_mktime_internal): Add code to normalize value of + TM_ISDST to -1, 0, or 1 so code doesn't loop forever. + +Thu Aug 11 02:26:37 1994 Roland McGrath + + * resolv/Makefile (subdir): Set to resolv, not res. + + * sysdeps/mach/hurd/sysd-stdio.c (fd_fail): Pass ERR to + _hurd_raise_signal. + + * sysdeps/mach/i386/thread_state.h (struct machine_thread_all_state): + Add new member `fpu'. + +Wed Aug 10 23:39:49 1994 Karl Heuer + + * malloc/mcheck.c (mcheck): Remove obsolete extern declaration. + + * malloc/mcheck.c (flood): Add an arg. + (freehook, mallochook, reallochook): Use different flood bytes to + distinguish freed space from uninitialized allocated space. + + * malloc/mtrace.c (mtrace): Guard against being called twice. + (muntrace): New function, to turn off tracing. + * malloc/malloc.h: Declare it. + +Wed Aug 10 02:47:24 1994 Roland McGrath + + * sysdeps/mach/hurd/mips/sigcontext.h (struct sigcontext): Renamed + member `sc_err' to `sc_error'. + + * hurd/hurd-raise.c: Take new arg SIGERROR. Set + SS->pending_data[SIGNO] from SIGCODE and SIGERROR instead of + setting SS->sigcodes[SIGNO]. + + * Makeconfig (+includes): Use text manipulation to avoid + conditional for $(..). Append $(last-includes). + * sysdeps/mach/hurd/Makefile (last-includes): Append + -I.../libthreads to this. + (includes): Not to this. + + * hurd/hurd/fd.h (_hurd_fd_error): Pass ERR to _hurd_raise_signal. + + * stdlib/stdlib.h [__OPTIMIZE__] (cfree, rand, srand, random, + srandom, initstate, setstate): Macros removed. + + * malloc/mcheck.c (reallochook): Fixed typo. + (mabort) [! __GNU_LIBRARY__]: Use fprintf and abort instead of + __libc_fatal. + + * hurd/Makefile (sig): Remove msging-p; that function will go in + trampoline.c. + * sysdeps/stub/msging-p.c: File removed. + * sysdeps/mach/hurd/mips/msging-p.c: File removed. + * sysdeps/mach/hurd/i386/msging-p.c: File removed. + +Tue Aug 9 19:20:29 1994 Roland McGrath + + * hurd/catch-exc.c: Get error code from _hurd_exception2signal and + pass it to _hurd_internal_post_signal. Search for SS manually + rather than using _hurd_thread_sigstate, to avoid locks. + + * sysdeps/mach/hurd/mips/msging-p.c: Fetch port argument from + register $8 (t0) instead of stack. Change type of STATE arg to + `struct machine_thread_all_state *'. + + * inet/inet_netof.c: Incorporated from BSD 4.4-Lite. + * inet/inet_net.c: Incorporated from BSD 4.4-Lite. + +Tue Aug 9 18:28:40 1994 Karl Heuer + + * malloc/mtrace.c (tr_mallochook, tr_reallochook): Don't assume + %lx format matches size_t arg. + * malloc/mtrace.c: Enable file- and line-number tracing. + * malloc/mtrace.awk: Postprocess that trace information. + + * malloc/mcheck.c (flood): New function. + (freehook, mallochook, reallochook): Initialize new space and + freed space to non-zero garbage, to help find code that makes + unwarranted assumptions. + +Mon Aug 8 01:20:56 1994 Roland McGrath + + * sysdeps/mach/hurd/mips/exc2signal.c (_hurd_exception2signal): Take + new arg `int *error'; set it. + * sysdeps/mach/hurd/i386/exc2signal.c: Likewise. + * sysdeps/stub/exc2signal.c: Likewise. + * hurd/hurd/signal.h (_hurd_exception2signal): Take new arg + `int *error'. + (_hurd_internal_post_signal): Take new arg `int error'. + + * res: Directory renamed to resolv. + * sysdeps/unix/inet/Subdirs: Change res to resolv. + + * Version 1.08.6. + + * sysdeps/sparc/divrem.m4 (DEVELOP_QUOTIENT_BITS): Use ** instead of + ^ for exponentiation. Pinard says it is more portable. + + * sysdeps/mach/hurd/mips/sigcontext.h (struct sigcontext): Added + member `sc_err'. + * sysdeps/mach/hurd/i386/sigcontext.h (struct sigcontext): Move + sc_err to front machine-independent section; change its comment. + + * sysdeps/stub/thread_state.h (struct machine_thread_all_state): New + type. + * sysdeps/mach/i386/thread_state.h: Likewise. + * sysdeps/mach/mips/thread_state.h: Likewise. + + * sysdeps/mach/i386/Implies: File removed; it was superfluous. + + * sysdeps/sparc/divrem.m4 (Lgot_result): Add more quotes in ifelse. + + * configure.in (fpu_dirs): Fixed typo. + +Sun Aug 7 01:13:04 1994 Roland McGrath + + * inet/inet_lnaof.c: Incorporated from BSD 4.4-Lite. + * inet/inet_mkadr.c: Incorporated from BSD 4.4-Lite. + * inet/inet_addr.c: Incorporated from BSD 4.4-Lite. + * res/Makefile (headers): Use only arpa/nameser.h, not arpa/*.h. + * res/arpa/inet.h: Moved to inet/arpa/inet.h. + * inet/arpa/inet.h: Incorporated from BSD 4.4-Lite. + + * misc/init-misc.c: New file. + * misc/Makefile (aux): Added init-misc. + + * Makeconfig (localtime-file): Use $(sysconfdir) instead of + $(etcdir). + + * Makerules (install-bin-nosubdir): Use $(install-bin) instead of + $(install). + (install-sbin-nosubdir): New target. + (install-no-libc.a-nosubdir): Depend on that. + + * configure.in ($nfp check): Iterate through $mach and use all + fpu/ dirs that exist. + +Wed Aug 3 02:46:03 1994 Roland McGrath + + * sysdeps/mach/hurd/mips/sigcontext.h: Rearranged structure so + machine-dependent portion is laid out like `struct mips_thread_state; + struct mips_exc_state; struct mips_float_state;'. + + * Version 1.08.5. + + * sysdeps/mach/hurd/mips/__sigret.c: Compare *reply_port to + MACH_PORT_NULL, not implicit zero. + (restore_gpr): Use N-1 as subscript into sc_gpr (sc_gpr[0] => $1). + Before general regs, restore from sc_mdlo and sc_mdhi. Don't + treat sp, fp specially; use restore_gpr for them too. For final + return, store user $1 value beyond top of user stack ahead of + time; then use $1 to hold the user PC, and restore it from the + stack in the delay slot. + +Tue Aug 2 21:03:51 1994 Roland McGrath + + * sysdeps/mach/hurd/mips/trampoline.c (_hurd_setup_sighandler): + Copy TS to SCP all at once. + * sysdeps/mach/hurd/mips/sigcontext.h (struct sigcontext): sc_gpr + has 31 elts; sc_gpr, sc_pc, sc_mdlo, sc_mdhi are arranged in that + order to mimic struct mips_thread_state. + + * Make-dist (all-headers): Instead of removing rpcsvc/%, use + $(wildcard) to remove all headers that don't exist at top level, + but preserve top-level $(headers). + + * Make-dist (sysdep_dirs): Avoid directories called RCS. + (%/configure): Pass -f to mv. + + * sysdeps/mips/setjmp.S [__sgi__]: Use `fp' instead of `$fp'. + +Mon Aug 1 20:12:23 1994 Roland McGrath + + * sysdeps/mach/hurd/mips/sigcontext.h (struct sigcontext): Add + members sc_mdlo, sc_mdhi. + * sysdeps/mach/hurd/mips/trampoline.c (_hurd_setup_sighandler): + Save mdlo and mdhi. + +Sun Jul 31 14:21:16 1994 Roland McGrath + + * time/mktime.c: Remove errant comment end sequence. + + * termios/sys/ttydefaults.h: Incorporated from BSD 4.4-Lite. + * sysdeps/vax/DEFS.h: Incorporated from BSD 4.4-Lite. + * sysdeps/unix/bsd/sys/reboot.h: Incorporated from BSD 4.4-Lite. + * sysdeps/unix/bsd/bsd4.4/errnos.h: Updated from 4.4-Lite sys/errno.h. + [__USE_BSD] (EAUTH, ENEEDAUTH, ELAST): New macros. + * sysdeps/ieee754/support.c: Incorporated from BSD 4.4-Lite. + * sysdeps/ieee754/cbrt.c: Incorporated from BSD 4.4-Lite. + * sysdeps/generic/trig.h: Incorporated from BSD 4.4-Lite. + * sysdeps/generic/tanh.c: Incorporated from BSD 4.4-Lite. + * sysdeps/generic/tan.c: Incorporated from BSD 4.4-Lite. + * sysdeps/generic/sinh.c: Incorporated from BSD 4.4-Lite. + * sysdeps/generic/sincos.c: Incorporated from BSD 4.4-Lite. + * sysdeps/generic/pow.c: Incorporated from BSD 4.4-Lite. + * sysdeps/generic/mathimpl.h: Incorporated from BSD 4.4-Lite. + Add back __izing #define's, except for exp__E and log__L, which + have been renamed with __s in 4.4-Lite. + * sysdeps/generic/log__L.c: Incorporated from BSD 4.4-Lite. + * sysdeps/generic/log1p.c: Incorporated from BSD 4.4-Lite. + * sysdeps/generic/log.c: Incorporated from BSD 4.4-Lite. + * sysdeps/generic/fmod.c: Incorporated from BSD 4.4-Lite. + * sysdeps/generic/exp__E.c: Incorporated from BSD 4.4-Lite. + * sysdeps/generic/exp.c: Incorporated from BSD 4.4-Lite. + * sysdeps/generic/cosh.c: Incorporated from BSD 4.4-Lite. + * sysdeps/generic/atanh.c: Incorporated from BSD 4.4-Lite. + * sysdeps/generic/atan2.c: Incorporated from BSD 4.4-Lite. + * sysdeps/generic/asinh.c: Incorporated from BSD 4.4-Lite. + * sysdeps/generic/asincos.c: Incorporated from BSD 4.4-Lite. + * misc/getusersh.c: Incorporated from BSD 4.4-Lite. + (initshells): Reapply fix of 16 Nov 1992. + * sysdeps/generic/acosh.c: Incorporated from BSD 4.4-Lite. + * sysdeps/generic/__expm1.c: Incorporated from BSD 4.4-Lite. + * misc/ttyslot.c: Incorporated from BSD 4.4-Lite. + * misc/ttyent.h: Incorporated from BSD 4.4-Lite. + * misc/syslog.c: Incorporated from BSD 4.4-Lite. + * misc/paths.h: Incorporated from BSD 4.4-Lite. + * misc/getttyent.c: Incorporated from BSD 4.4-Lite. + * misc/sys/syslog.h: Incorporated from BSD 4.4-Lite. + Don't include ; define _BSD_VA_LIST_ to __gnuc_va_list. + * inet/rexec.c: Incorporated from BSD 4.4-Lite. + * inet/rcmd.c: Incorporated from BSD 4.4-Lite. + (rcmd): Reapply select max fd fix of 3 Jun 1994. + * inet/pathnames.h: File removed. + * inet/inet_ntoa.c: Incorporated from BSD 4.4-Lite. + * inet/getsrvbypt.c: Incorporated from BSD 4.4-Lite. + * inet/getsrvbynm.c: Incorporated from BSD 4.4-Lite. + * inet/getservent.c: Incorporated from BSD 4.4-Lite. + * inet/getprtname.c: Incorporated from BSD 4.4-Lite. + * inet/getprtent.c: Incorporated from BSD 4.4-Lite. + * inet/getproto.c: Incorporated from BSD 4.4-Lite. + * inet/protocols/timed.h: Incorporated from BSD 4.4-Lite. + * inet/protocols/talkd.h: Incorporated from BSD 4.4-Lite. + * inet/protocols/rwhod.h: Incorporated from BSD 4.4-Lite. + * inet/protocols/routed.h: Incorporated from BSD 4.4-Lite. + * inet/arpa/tftp.h: Incorporated from BSD 4.4-Lite. + * inet/arpa/telnet.h: Incorporated from BSD 4.4-Lite. + * inet/arpa/ftp.h: Incorporated from BSD 4.4-Lite. + +Fri Jul 29 01:50:37 1994 Roland McGrath + + * Version 1.08.4. + + * res/Makefile (routines): Add missing backslash. + + * sysdeps/mach/hurd/mips/__sigret.c: Rename variable AT (which is + the register's name) to SCPREG. Fix some SCP references in + register loads to use SCPREG instead. Load SCPREG->sc_pc into $24 + and jump to it, restoring $at in the delay slot. This still + leaves $24 clobbered. + + * sysdeps/mach/hurd/mips/sigcontext.h: Use `unsigned int' + consistently for port names. + + * sysdeps/mach/hurd/mips/trampoline.c: Don't set up args on the + stack; pass them in registers. + + * Makefile (%/configure, sysd-dirs, munch-init.c): Pass -f to mv. + + * misc/sys/cdefs.h (__NORETURN, __CONSTVALUE): Use the + __attribute__ defn for GCC>=2.7, not >=2.6. Use the keyword defn + only for GCC<2.5. Use __volatile__ and __const__ instead of + noreturn and const for namespace safety. + + * sysdeps/mach/hurd/__readlink.c: If BUF is null, return the size + of buffer required. + +Thu Jul 28 17:17:11 1994 Roland McGrath + + * res/netdb.h: Declare h_errno. + + * res: New directory, for all code incoporated from BIND. + * inet/arpa/inet.h, inet/arpa/resolv.h: Moved to res/arpa. + * inet/sys/bitypes.h: Moved to res/sys. + * inet/gethstnamad.c: Renamed to res/gethnamaddr.c. + * inet/getnetbyad.c: Renamed to res/getnetbyaddr.c. + * inet/getnetbynm.c: Renamed to res/getnetbyname.c. + * inet/res_mkqry.c: Renamed to res/res_mkquery.c. + * inet/Makefile (headers): Removed netdb.h, resolv.h, and + sys/bitypes.h. + (routines): Removed res_comp res_debug res_init res_mkqry res_query + res_send gethstnmad sethostent. + (aux, distribute): Variables removed. + * res/getnetnamadr.c, res/nsap_addr.c: New files. + * All .c and .h in res/ updated from BIND-4.9.3-BETA9. + * res/Makefile: New file. + * sysdeps/unix/inet/Subdirs: Added res. + + * Makerules: Replace all uses of `.dep' suffix with `.d' suffix. + (+make-deps): Replace `.dtm' suffix with `.T' suffix. + +Wed Jul 27 06:13:30 1994 Noel Cragg (noel@churchy.gnu.ai.mit.edu) + + * time/mktime.c: Add code to support tm_isdst flag in struct tm. + Fixed bug with handling of DST sections. + +Mon Jul 25 17:17:28 1994 Roland McGrath + + * sysdeps/sparc/divrem.m4 (Lgot_result) [S=true]: Only test SIGN + and negate for [OP=div]. + + * socket/sys/socket.h (__SOCKADDR_ARG): New macro; for GCC 2.6 and + later, a funky union similar to __WAIT_STATUS in . + (bind, getsockname, connect, getpeername, sendto, recvfrom, + accept): Use __SOCKADDR_ARG in place of `struct sockaddr *' in + declarations. + + * posix/glob/configure.bat: New file. + * posix/Makefile (glob.tar): Add glob/configure.bat. + + * sysdeps/unix/opendir.c: Fail with ENOENT when passed "". + Check STATBUF and fail with ENOTDIR if it's not a directory. + +Mon Jul 25 15:44:18 1994 Noel Cragg (noel@churchy.gnu.ai.mit.edu) + + * time/mktime.c: Fix range-checking bug in NORMALIZE macro. + +Fri Jul 22 02:42:44 1994 Roland McGrath + + * sysdeps/unix/readdir.c: Search for NUL character to limit + d_namlen. Some systems return very bogus values. + + * sysdeps/unix/sysv/sysv4/i386/sysdep.h (PSEUDO): Remove ret at end. + + * mach/Makefile (mach-shortcuts): Filter out device_writev_request. + + * limits.h (_LIBC_LIMITS_H_): Don't define if already defined. + [__GNUC__ < 2]: Only protect this section from multiple inclusion. + + * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): + Declare SIGSP volatile. + + * hurd/hurdinit.c (_hurd_setproc): Fixed arg in + _hurd_pgrp_changed_hook decl. + + * hurd/hurd/signal.h (_hurd_self_sigstate_unlocked): New function. + (HURD_EINTR_RPC): Use it instead of _hurd_self_sigstate followed by + __mutex_unlock; this thread might already hold the lock. + +Wed Jul 20 18:53:54 1994 Michael I Bushnell + + * hurd/fd-read.c (_hurd_fd_read): Test for EBACKGROUND in + do loop was reversed. + + * hurd/hurdpath.c (__hurd_path_lookup): Skip over initial slashes + before calling __dir_pathtrans. + +Tue Jul 19 15:28:39 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * mach/Makefile (user-interfaces): Add mach/mach4. + (mach-shortcuts): Match all syscall_% again; the missing ones are in + mach4.defs. + + * mach/Machrules (%.ir): Match SimpleRoutine as well as Routine + comments. + + * sysdeps/mach/hurd/Makefile ($(hurd)/errlist.c): Use -f flag to mv. + +Sat Jul 16 00:42:30 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makerules [install]: Rewrite this rule to use install-bin. + [install-sbin]: New rule parallel to that one, installs in $(sbindir). + + * time/Makefile (install-sbin): Set this instead of install. + * sunrpc/Makefile (install-others): Use $(sysconfdir)/rpc instead + of $(etcdir)/rpc. + (install-bin): Set this instead of install; set it to just rpocgen. + (install-sbin): Put rpcinfo and portmap here instead. + ($(sysconfdir)/rpc): Rule renamed from $(etcdir)/rpc. + (defines): Rename it in _PATH_RPC defn here too. + + * posix/Makefile (install-bin): Set this instead of install. + + * Makeconfig (datadir): Default to $(prefix)/share, not $(prefix)/lib. + (sbindir): New variable. + (sysconfdir): Variable renamed from etcdir. + + * sysdeps/unix/bsd/sun/signum.h: New file; no SIGINFO, SIGLOST is 29. + + * sysdeps/unix/sysv/sco3.2.4/uname.S: New file from Scott Bartram. + + * sysdeps/unix/sysv/sco3.2.4/__getgrps.c: Include alloca.h. + + * configure.in (INSTALL): If it is $srcdir/install.sh after + AC_PROG_INSTALL, reset it to '$(..)./install.sh'. + + * sysdeps/mach/hurd/__ioctl.c (io2mach_type): Move macro defn before + first use. + (__ioctl): Fix swapped args to __sigismember; remove unused variable. + + * sysdeps/mach/hurd/send.c: Fix portsPoly arg to __socket_send. + * sysdeps/mach/hurd/sendto.c: Likewise. + + * sysdeps/mach/hurd/recv.c: Pass &BUFP, not BUFP. + * sysdeps/mach/hurd/recvfrom.c: Likewise. + + * sysdeps/mach/hurd/connect.c: Include . + + * sysdeps/mips/dec/bytesex.h: New file. + * sysdeps/mips/p40/bytesex.h: New file. + +Fri Jul 15 23:12:06 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * posix/sys/types.h (u_quad, quad): Renamed to &_t. + * posix/gnu/types.h [__GNUC__] (__u_quad_t, __quad_t, __qaddr_t): + New typedefs, using long long int and derivatives. + [! __GNUC__] (__u_quad, __quad): Renamed to &_t. + (__fsid_t): Make this always be __u_quad_t. + + * time/sys/time.h (struct timespec): New type. + (TIMEVAL_TO_TIMEPSEC, TIMESPEC_TO_TIMEVAL): New macros. + +Thu Jul 14 15:43:39 1994 Brendan Kehoe (brendan@zen.org) + + * sysdeps/unix/sysv/sysv4/sysinfo.S: New file. + * sysdeps/unix/sysv/sysv4/Dist: Add sysinfo.S. + * sysdeps/unix/sysv/sysv4/Makefile: Add sysinfo to sysdep_routines + if we're inside misc. + * sysdeps/unix/sysv/sysv4/sethostnam.c: New file. + * sysdeps/unix/sysv/sysv4/__gethstnm.c: New file. + + * sysdeps/unix/sysv/sysv4/solaris2/fsync.S: New file. + +Tue Jul 12 00:57:08 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * mach/Makefile (mach-shortcuts): Only match known Mach + subsystems: vm, task, mach_port, and thread. + +Mon Jul 11 20:18:29 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * hurd/intr-rpc.defs, hurd/intr-rpc.awk: New files. + * hurd/Makefile (user-MIGFLAGS): Add -imacros intr-rpc.defs. + (transform-user-stub): New canned sequence. + (transform-user-stub-output): New variable. + Make the .ustamp files depend on intr-rpc.awk. + + * mach/Machrules (%.ir): Cull the RPC names from the preceding + comment rather than the definition, so we don't see any userprefix. + (transform-user-stub-output): New variable. + (%.ustamp: %.defs): Invoke $(transform-user-stub) inside for loop. + Use $(transform-user-stub-output) in place of `tmp' in arg to + move-if-change. + + * mach/Makefile [! mach-shortcuts] (user-interfaces): Also filter + out device/device_request. + +Mon Jul 11 17:50:14 1994 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) + + * sysdeps/unix/sysv/sysv4/Makefile: Put the sys-sig.S stuff in + here, rather than in .../sysv4/solaris2/sparc/Makefile. + * sysdeps/unix/sysv/sysv4/solaris2/sparc/Makefile: Removed the + sys-sig.S part. + +Sun Jul 10 19:04:24 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/mach/hurd/bind.c: Call __hurd_invoke_translator. + + * hurd/hurd.h (__hurd_invoke_translator, hurd_invoke_translator): + Declare them. + * hurd/Makefile (routines): Add invoke-trans. + * hurd/invoke-trans.c (__hurd_invoke_translator): New file. + * hurd/hurdsyms.c (hurd_invoke_translator): New alias. + + * hurd/hurdpath.c (__hurd_path_lookup_retry): New function. + * hurd/hurdsyms.c (hurd_path_lookup_retry: New alias. + * hurd/hurd.h (__hurd_path_lookup_retry, hurd_path_lookup_retry): + Declare them. + + * hurd/hurd/fd.h (_hurd_fd_error_signal): Return SIGLOST for + MIG_SERVER_DIED. + + * time/strftime.c: Make %j value 1-origin instead of 0-origin. + +Sat Jul 9 02:31:23 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * gnu-stabs.h (__SYMBOL_PREFIX): New macro, based on NO_UNDERSCORES. + Use it in all macros instead of explicit leading underscores. + Removed all [! __STDC__] definitions. + + * sysdeps/mach/hurd/mips/trampoline.c: New file. + * sysdeps/mach/hurd/mips/sigcontext.h: New file. + * sysdeps/mach/hurd/mips/longjmp-ts.c: New file. + * sysdeps/mach/hurd/mips/msging-p.c: New file. + * sysdeps/mach/hurd/mips/longjmp-ctx.c: New file. + * sysdeps/mach/hurd/mips/init-fault.c: New file. + * hurd/mach/hurd/mips/__sigret.c: New file. + * sysdeps/mach/hurd/mips/exc2signal.c: New file. + * sysdeps/mach/mips/thread_state.h: New file. + * sysdeps/mach/mips/machine-sp.h: New file. + * sysdeps/mach/mips/machine-lock.h: New file. + * sysdeps/mach/mips/sysdep.h: New file. + + * mach/Makefile (mach-syscalls.mk): Snarf 3rd arg from kernel_trap. + ($(mach-syscalls:%=__%.S): Emit kernel_trap instead of SYSCALL_TRAP. + * mach/syscalls.awk: Print nargs-$1 = $3 for each line. + * sysdeps/mach/sysdep.h: Include . + * sysdeps/mach/i386/sysdep.h (ENTRY, SYSCALL_TRAP): Macros removed. + + * sysdeps/mach/i386/machine-lock.h: Use __volatile in place of + volatile to work with -traditional. + +Fri Jul 8 21:06:43 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * hurd/hurdsig.c (_hurd_internal_post_signal): For stop signals, + clear pending SIGCONT no matter what action we choose. + Add new value `cont' to ACT enum; use it for default SIGCONT action. + (_hurd_internal_post_signal: sigwakeup): New local inline. + +Fri Jul 8 20:26:49 1994 Brendan Kehoe (brendan@zen.org) + + * sysdeps/unix/sysv/sysv4/solaris2/sparc/Makefile (sysdep-CFLAGS): Set + this to include the -mhard-quad-float option. + + * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys-sig.S: New file. + * sysdeps/unix/sysv/sysv4/solaris2/sparc/Makefile: New file. + * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file. + +Fri Jul 8 13:54:54 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * hurd/hurdpath.c (__hurd_path_lookup): Don't treat leading / + specially for FS_RETRY_NORMAL. Handle FS_RETRY_MAGICAL; leading / + here means use crdir. In that case, deallocate *RESULT if nonnull. + + * sysdeps/unix/sysv/sysv4/i386/sysdep.h: Don't define _ERRNO_H if + already defined. + + * posix/gnu/types.h (__ino_t): Make this unsigned int instead of + unsigned long int (matters for Alpha). + + * Makeconfig (+gccopt): Variable removed. + (+cflags): Don't use it. + (CPPFLAGS): Append $(sysdep-CPPFLAGS). + (CFLAGS): Append $(sysdep-CFLAGS). + + * sysdeps/mach/hurd/__ioctl.c: In MSGID calculation, skip blocks + of 100 for request commands >= 100, to allow for the reply msgids. + +Thu Jul 7 19:07:00 1994 Brendan Kehoe (brendan@zen.org) + + * sysdeps/unix/bsd/osf1/dirstream.h (DIR): Make __allocation + member be int, not size_t (which is a long). + +Thu Jul 7 15:21:15 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * hurd/__fopenport.c (readio, writeio, seekio, closeio): New + functions. + (funcsio): New const variable. + (__fopenport): Make the new stream use that for its io functions, and + the default room functions, and set its seen flag. + +Tue Jul 5 11:32:38 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * hurd/hurd/signal.h (struct hurd_sigstate): Removed `intr_restart'. + (HURD_EINTR_RPC): Uncommented. Declare label + `__do_call' so it has block instead of function scope. Don't use + SS->intr_restart; instead SS->intr_port being reset to + MACH_PORT_NULL tells us to restart the call. + + * sysdeps/mach/hurd/__ioctl.c: Enable use of HURD_EINTR_RPC. + Do ctty magic and check for EBACKGROUND to generate SIGTTOU. + + * mach/devstream.c (dealloc_ref): New function. + (mach_open_devstream): Add a user reference to DEV, and set + STREAM's close fn to dealloc_ref, which will release the reference. + + * hurd/fd-read.c (_hurd_fd_read): Enabled and rewrote SIGTTIN code. + * hurd/fd-write.c (_hurd_fd_write): Enabled and rewrote SIGTTOU code. + + * hurd/hurdsyms.c: Add an alias hurd_sig_post -> _hurd_sig_post. + * hurd/hurdkill.c (_hurd_sig_post): Renamed back from hurd_sig_post. + * hurd/hurd.h: Declare _hurd_sig_post. + + * hurd/hurdsig.c (_S_sig_post): Add SIGTTIN and SIGTTOU cases, + handled like SIGINT et al. + + * mach/devstream.c: Turn back on NL->CRNL translation. + + * stdio/xbug.c (main): Return instead of running off the end. + +Mon Jul 4 16:57:13 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Version 1.08.3. + +Sat Jul 2 00:15:37 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/mach/hurd/__ioctl.c: Account for three type fields in + message buffer size. + + * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): + Catch faults accessing user stack and return NULL. + * hurd/hurdsig.c (_hurd_internal_post_signal): When it does, die + with SIGILL and dump core. + + * hurd/hurdsig.c (_hurd_internal_post_signal): Use + _hurd_msgport_thread instead of __mach_thread_self () to avoid the + system call. (Signals will now lose if _hurd_msgport_thread gets + clobbered.) + (abort_rpcs): Always do thread_abort and thread_get_state. + + * misc/getpass.c: Fix typo resulting in newline not being removed. + + * termios/sys/ttydefaults.h [TTYDEFCHARS] (ttydefchars): Cast + _POSIX_VDISABLE to cc_t to avoid gcc warning. + +Fri Jul 1 14:07:40 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * hurd/Makefile (user-interfaces): Add hurd/ifsock. + + * socket/sys/socket.h (AF_LOCAL): New macro. + + * sysdeps/mach/hurd/__kill.c: Fix SIGKILL loop condition. + +Fri Jul 1 13:36:27 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) + + * hurd/hurdkill.c (hurd_sig_post): New var PIDSBUF; initialize + PIDS and NPIDS correctly; only free PIDS if the MiG stub + changed it. + +Thu Jun 30 18:47:48 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) + + * hurd/hurdsock.c (_hurd_socket_server): Zero up to and *including* + new[DOMAIN]. + +Thu Jun 30 08:12:28 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * hurd/hurdsig.c (abort_all_rpcs): Just iterate over _hurd_sigstates. + + * hurd/dtable.c (fork_child_dtable): Skip empty descriptor slots. + + * sysdeps/mach/hurd/__ioctl.c: Fix MSG.data size calculation. + +Wed Jun 29 19:06:54 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/mach/hurd/bind.c: For AF_LOCAL, create a new node in the + filesystem, put the ifsock translator on it, and fetch the + address port. + * sysdeps/mach/hurd/connect.c: For AF_LOCAL, look up the socket + file and fetch the address port using the ifsock protocol. + +Tue Jun 28 16:03:15 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * hurd/Makefile (routines): Add ports-get, ports-set, and hurdmsg. + (aux): Remove msgstub. + * hurd/hurdports.c (get): Just call _hurd_ports_get. + (set): Just call _hurd_ports_set. + (getcttyid, setcttyid): New functions. + * hurd/ports-get.c (_hurd_ports_get): New file, new function. + * hurd/ports-set.c (_hurd_ports_set): New file, new function. + * hurd/hurd.h: Declare _hurd_ports_get and _hurd_ports_set. + Declare getcttyid and setcttyid. + * hurd/__setauth.c (__setauth): Just call _hurd_setauth. + (_hurd_setauth): New function, code moved from __setauth. + * hurd/hurdinit.c (_hurd_setproc): New function. + * hurd/hurdioctl.c (_hurd_setcttyid): New function. + + * locale/C-ctype_ct.c (__ctype_tolower_C, __ctype_toupper_C): Use + integer constants instead of character constants for octal values + so they will not be sign extended. + + * sysdeps/mach/hurd/__setitmr.c (fork_itimer): New function, on + _hurd_fork_child_hook. + + * sysdeps/stub/sysd-stdio.c (__stdio_reopen): Fix typo in arg type. + * sysdeps/stub/__ioctl.c: Fix type of REQUEST arg. + * sysdeps/stub/syscall.c: Include ansidecl.h. + * sysdeps/stub/_exit.c: Add __NORETURN to defn. + + * sysdeps/unix/sysv/sysv4/sigset.h (_EXTERN_INLINE): Define to + `extern __inline', not empty. + + * sysdeps/mach/hurd/ttyname.c: Don't bother searching /dev. + +Sat Jun 25 15:41:29 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/mach/hurd/__fork.c: Moved proc_task2pid call to just + before proc_child. It is a waste to do it earlier. + +Sat Jun 25 13:17:39 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) + + * sysdeps/mach/hurd/__fork.c: Move proc_task2pid call to after + _hurd_ports are unlocked. Call proc_child nearly last thing. + Ignore errors from thread_resume. + +Fri Jun 24 20:21:11 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/posix/getcwd.c: Remove empty `#define'. + +Fri Jun 24 17:57:36 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) + + * sysdeps/mach/hurd/__fork.c: Call proc_task2pid immediately after + task_create. Add comment explaining why thread_resume must be the + last thing we do to the child. + +Fri Jun 24 01:41:41 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * hurd/hurdinit.c (_hurd_proc_init): Call __proc_set_arg_locations + in place of __proc_setprocargs (it was renamed). + + * hurd/hurd.h: Rename _hurd_sig_post to hurd_sig_post. + * hurd/hurdkill.c: Likewise. + + * hurd/port2fd.c (_hurd_port2fd): Call __term_open_ctty instead of + __term_become_ctty, and don't pass the message port. + * hurd/hurdioctl.c (rectty_dtable): Likewise. + * hurd/dtable.c (fork_child_dtable, ctty_new_pgrp): Likewise. + + * sysdeps/mach/hurd/__fork.c: Use __proc_{get,set}_arg_locations + to propagate argv and envp locations to the child. + + * stdio/freopen.c (freopen): If STREAM->__seen is clear, pass + __stdio_close to __stdio_reopen. + + * misc/Makefile (install-lib): Add libg.a. + ($(objpfx)libg.a): New rule; use make-dummy-lib. + (lib): Depend on $(objpfx)libg.a + +Thu Jun 23 01:14:36 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * termios/termios.h (CCEQ): New macro. + + * sysdeps/unix/sysv/irix4/__getgrps.c: Add missing __ to fn name. + + Don't compile in absolute file names for localtime and posixrules + files if they were specified relative to $(zonedir). + * time/Makefile (installed-localtime-file, + installed-posixrules-file): Set these instead of + {localtime,posixrules}-file to the absolute file names. + ($(localtime-file), $(posixrules-file)): Change targets to + $(installed-localtime-file) and $(installed-posixrules-file). + +Wed Jun 22 15:52:26 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * hurd/Makefile (sig): Add hurdkill. + +Sat Jun 18 12:57:54 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * stdio/_itoa.h (_itoa): Change type of VALUE to unsigned long long. + * stdio/_itoa.c (_itoa): Likewise. + +Thu Jun 16 01:10:41 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * sysdeps/mach/hurd/dirstream.h (DIR): Replace `__filepos' member + with `__entry_ptr' and `__entry_data'. Remove `__block_size' member. + Replace `__offset' member with `__ptr', a char *; no need to include + . + * sysdeps/mach/hurd/readdir.c: Use those, new dir_readdir protocol. + * sysdeps/mach/hurd/opendir.c: Initialize new members. + Don't do io_stat to set __blocksize. + * sysdeps/mach/hurd/telldir.c: Rewritten; return DIRP->__entry_ptr. + * sysdeps/mach/hurd/seekdir.c: Rewritten; just set DIRP->__entry_ptr + from arg, and zero DIRP->__size so a new block will be read. + + * sysdeps/mach/hurd/getcwd.c: Use new dir_readdir protocol. + + * hurd/msgstub.c: Add stubs for dir_changed, file_changed. + + * hurd/hurdsock.c (_hurd_socket_server): Removed unused label. + + * sysdeps/mach/hurd/__getdents.c: Use new dir_readdir protocol. + + * sysdeps/mach/hurd/__access.c: Open the file with 0 flags and + then use file_check_access to discover what we are allowed. + +Tue Jun 14 14:10:03 1994 Brendan Kehoe (brendan@zen.org) + + * sysdeps/mips/setjmp.S: Refer to `$fp', not `fp'. + +Tue Jun 14 00:50:54 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * sysdeps/mach/hurd/__pipe.c: Set FDS[1], not FDS[2]. + +Mon Jun 13 06:48:48 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * sysdeps/unix/bsd/sun/sparc/sigtramp.c (trampoline): Use a + comment instead of a pointless insn to reference %0 in final asm. + + * hurd/hurdsock.c (_hurd_socket_server): If realloc fails, don't + fail; just don't cache the port. + Look up the server node only if it is not in the cache. + Translate errno only if path_lookup fails. + (init): New function, on _hurd_preinit_hook. + + * sysdeps/mach/hurd/__symlink.c: Complement _hurd_umask before ANDing. + +Sat Jun 11 12:52:28 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/mach/hurd/__fork.c: Can't insert dead name rights into + child. + +Sat Jun 11 05:19:47 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/mach/hurd/i386/longjmp-ts.c: Set TS->uesp instead of + TS->esp. Set TS->eip. + + * gnu-stabs.h (bss_set_element): New macro. + * hurd/dtable.c: Use bss_set_element instead of data_set_element + to put _hurd_dtable_lock in the _hurd_fork_locks set. + +Fri Jun 10 02:04:51 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdeps/mach/hurd/__fork.c: Don't apply MACH_PORT_TYPE to result + from __mach_port_names. Unlock SS->lock before return. + Check for KERN_NAME_EXISTS from mach_port_allocate_name when + creating a receive right and possibly ignore it. + + * sysdeps/unix/sysv/sco3.2.4/Dist: Add sco_getgrp.S. + + * crypt/speeds.c: Include signal.h and stdio.h first thing. + [! SIGVTALRM]: Define NO_ITIMER. + + * sysdeps/unix/sysv/isc3/direct.h: New file. + + * hurd/hurdinline.c: Include lock-intern.h before #define + _EXTERN_INLINE. + + * sysdeps/mach/hurd/__fork.c (_hurd_fork_locks): Don't be const. + (__fork): Set SS from _hurd_self_sigstate so it is never null. + New local flag PORTS_LOCKED records when we have spin_locked all + the _hurd_ports cells; unlock them if necessary on error. + + * hurd/hurdsig.c (_hurd_siglock): Don't initialize it. + (_hurdsig_init): Initialize _hurd_siglock at runtime. + +Wed Jun 8 12:22:27 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * hurd/hurdid.c (_hurd_check_ids): Zero P->nuids and P->ngids after + deallocating P->uids and P->ngids. + + * hurd/hurdioctl.c (_hurd_ioctl_handler_lists): Make defn initialized. + + * sysdeps/mach/hurd/__ioctl.c: Only try to unpack if IOC_OUT is set. + + * hurd/Makefile (routines): Replace $(inlines) with hurdinline. + (inlines): Variable and rule removed. + (generate-inlines): Variable removed. + * hurd/hurdinline.c: New file. + +Tue Jun 7 01:58:20 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * Makerules: Add -f to all mv commands missing it. + + * hurd/Makefile (generate-inline): New canned sequence. + (inline-%.c): Use it. + + * time/asia, time/europe, time/northamerica: New versions from ADO. + +Mon Jun 6 21:36:04 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * hurd/hurdid.c (init_id): New function. + + * Makerules (+make-deps): Put first s cmd before $(sed-remove-objpfx). + (sed-remove-objpfx): Replace occurrences at beginning of line too. -See ChangeLog.4 for earlier changes. +See ChangeLog.3 for earlier changes. diff --git a/ChangeLog.6 b/ChangeLog.6 index 5858bd0493..6d92ec5626 100644 --- a/ChangeLog.6 +++ b/ChangeLog.6 @@ -1,10547 +1,10878 @@ -Sun Jan 26 23:24:50 1997 Ulrich Drepper +Tue Jun 18 17:56:44 1996 Roland McGrath - * Version 2.0 net release. + * Version 1.91 test release. - * Make-dist: Don't take care for two malloc directories. + * Makerules ($(common-objpfx)distinfo-$(subdir)): Change target from + distinfo to this. + (distinfo): Make phony target depending on that. + (TAGS, po/%.pot, dist): Change deps. + (common-clean): Remove that file. + * rpm/Makefile (distinfo): Change names. -Sun Jan 26 22:44:38 1997 Andreas Jaeger + * rpm/Makefile (clean): New target. - * mcheck.h: Adopted to new-malloc/malloc change. + * stdlib/test-canon.c: New test program contributed by David Mosberger. + * stdlib/Makefile (tests): Add test-canon. + * stdlib/canonicalize.c: Rewritten by David Mosberger. -Sun Jan 26 13:39:31 1997 Ulrich Drepper +Mon Jun 17 17:53:21 1996 Roland McGrath - * sysdeps/unix/sysv/linux/alpha/Dist: Correct distribution of - kernel_*.h files. + * mach/Machrules (%_server.c %_server.h rule): Remove gratuitous + mention of $< in mig cmd. Thanks to Shantanu Goel. - * Make-dist: Don't mention new-malloc for dirs with have to be - processed. + * sysdeps/mach/hurd/brk.c (___brk_addr): Define as weak alias for + _hurd_brk. - * sysdeps/unix/sysv/linux/netinet/in.h (SOL_IP): Added. - * inet/netinet/tcp.h (SOL_TCP): Added. - * sysdeps/unix/sysv/linux/socketbits.h (SOL_RAW): Added. - Reported by a sun . + * libio/stdio.h [__USE_SVID]: Declare tempnam. -Sun Jan 26 18:35:29 1997 Wolfram Gloger +Fri Jun 14 19:28:33 1996 Andreas Schwab - * malloc/Makefile: Remove -DMALLOC_DEBUG. Not wanted in a - released version. - * malloc/malloc.c: Change malloc_check_init() to - __malloc_check_init(). Check for NULL in calloc() when a hook is - in place. Make more variables tunable via MALLOC_... environment - variables. - * malloc/malloc.h: Change malloc_check_init() to - __malloc_check_init(). + * sysdeps/unix/sysv/linux/syscalls.list: Add swapon with two + parameters. -Sun Jan 26 05:41:42 1997 Ulrich Drepper +Wed Jun 12 20:40:51 1996 Andreas Schwab - * version.h (VERSION): Bump to 2.0. - (RELEASE): Now it's "experimental". + * sysdeps/m68k/dl-machine.h (RTLD_START): Fix access to + _dl_default_scope. - * Makefile (subdirs): Change $(malloc) to malloc. We have only - one malloc implementation again. - * malloc/*: Remove from GNU libc. - * new-malloc/* Move to malloc/. - * config.make.in (defines): Remove @USE_NEW_MALLOC@. - * configure.in: Remove --enable-new-malloc option and check for - malloc implementation choice. - * malloc.h: We don't need to check for the implementation to use - anymore. Simply include malloc/malloc.h. - * malloc/Makefile (subdir): Change to malloc. - * sysdeps/unix/sysv/linux/configure.in: Don't set malloc anymore. +Sun Jun 16 03:22:49 1996 Roland McGrath - * Makefile: Add special goal to generate only-MD5 based crypt - library. - * md5-crypt/Makefile: Likewise. + * sysdeps/stub/elfclass.h: New file. - * stdio-common/tstscanf.c: De-ANSI-declfy. Update copyright. - (rounds): Change type to size_t to prevent warning. + * Make-dist (subdir): Make empty value really empty. - * wcsmbs/btowc.c: Reformat copyright. - * wcsmbs/mbrlen.c: Likewise. - * wcsmbs/mbsinit.c: Likewise. - * wcsmbs/mbsnrtowcs.c: Likewise. - * wcsmbs/mbsrtowcs.c: Likewise. - * wcsmbs/wcpcpy.c: Likewise. - * wcsmbs/wcpncpy.c: Likewise. - * wcsmbs/wcscat.c: Likewise. - * wcsmbs/wcscmp.c: Likewise. - * wcsmbs/wcscoll.c: Likewise. - * wcsmbs/wcscpy.c: Likewise. - * wcsmbs/wcscspn.c: Likewise. - * wcsmbs/wcsdup.c: Likewise. - * wcsmbs/wcslen.c: Likewise. - * wcsmbs/wcsncat.c: Likewise. - * wcsmbs/wcsncpy.c: Likewise. - * wcsmbs/wcsnrtombs.c: Likewise. - * wcsmbs/wcsrtombs.c: Likewise. - * wcsmbs/wcsspn.c: Likewise. - * wcsmbs/wcsstr.c: Likewise. - * wcsmbs/wcstod.c: Likewise. - * wcsmbs/wcstof.c: Likewise. - * wcsmbs/wcstok.c: Likewise. - * wcsmbs/wcstol.c: Likewise. - * wcsmbs/wcstold.c: Likewise. - * wcsmbs/wcstoq.c: Likewise. - * wcsmbs/wcstoul.c: Likewise. - * wcsmbs/wcstouq.c: Likewise. - * wcsmbs/wcswidth.c: Likewise. - * wcsmbs/wcsxfrm.c: Likewise. - * wcsmbs/wctob.c: Likewise. - * wcsmbs/wcwidth.c: Likewise. - * wcsmbs/wcwidth.h: Likewise. - * wcsmbs/wmemchr.c: Likewise. - * wcsmbs/wmemcmp.c: Likewise. - * wcsmbs/wmemmove.c: Likewise. - * wcsmbs/wmemset.c: Likewise. + * version.h (VERSION): Update to 1.91. -Sat Jan 25 03:34:14 1997 Ulrich Drepper + * hurd/hurdinit.c (map0): Remove [!PIC] conditional. - * sysdeps/unix/sysv/linux/termbits.h: Protect against multiple - inclusion. Reported by a sun . + * shlib-versions (*-*-*): Add libutil=1. -Sat Jan 25 02:05:19 1997 Eirik Fuller + * rpm/Makefile (install-lib): Add libc.a et al. + (install-others): Only add libc.so if $(build-shared) is yes. - * sysdeps/unix/sysv/linux/alpha/ioperm.c: Rename T2_SPARSE_BASE and - T2_DENSE_BASE to T2_SPARSE_MEM and T2_DENSE_MEM resp. + * math/Makefile (install-lib): New variable, list libieee.a. + (non-lib.a): Likewise. + (extra-objs): Likewise, and ieee-math.o. + ($(objpfx)libieee.a): New target, link to ieee-math.o. + * math/ieee-math.c: New file. + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=math]: Remove setfpucw + and libieee.a stuff. + * sysdeps/unix/sysv/linux/ieee-fpucw.c: File removed. + * sysdeps/unix/sysv/linux/i386/ieee_fpu.c: File removed. -Thu Jan 23 11:13:46 1997 Andreas Schwab + * sysdeps/unix/sysv/Makefile (sysdep_headers): Make append of termio.h + and rule for it conditional on termio.h not already being in + sysdep_headers. - * sysdeps/unix/sysv/linux/usleep.c: Normalize the time - specification. + * rpm/Makefile (install-others) [libc.so-version]: Get libc.so from + $(libdir), only the versioned named from $(slibdir). + (instfiles): New variable. + (glibc-$(version).$(config).rpm): New target. Run rpm -bb. + * rpm/rpmrc: New file. A third of the options controlling rpm can + only be given here (another third is on the command line, and a third + cannot be specified in any way shape or form). -Fri Jan 24 14:33:45 1997 Ulrich Drepper +Sun Jun 16 02:44:22 1996 Roland McGrath - * sysdeps/generic/socketbits.h: Also make SOCK_* constants available - as macros so that #ifdef works. - * sysdeps/unix/sysv/linux/socketbits.h: Likewise. + * rpm/template: New file. + * rpm/Makefile: New file. -1997-01-23 Paul Eggert + * Makeconfig (sysdep-configures): Remove empty variable. - * login/utmp_db.c, manual/time.texi, shlib-versions, sunrpc/rpc/svc.h, - sunrpc/rpcsvc/sm_inter.x, sysdeps/generic/abort.c, - sysdeps/libm-ieee754/e_sinhl.c, sysdeps/unix/sysv/linux/net/route.h, - sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Spell fixes. + * Makerules (distinfo-vars): Write defns for $(install-lib.so) and + $(versioned). -1997-01-23 Paul Eggert + * manual/Makefile (subdir_%): Add new rule with no deps, secondary to + to rule w/dep on %, with no-op commands. - * mktime.c (mktime): Invoke __tzset, not __tzset_internal, to set tz, - so that tzname is set as POSIX requires. + * Makerules (subdir_distinfo): New phony target; depend on distinfo. + * Makefile (rpm/%): New rule. + (+subdir_targets): Add subdir_distinfo. -Fri Jan 24 02:49:18 1997 Ulrich Drepper +Sun Jun 16 00:40:20 1996 Roland McGrath - * dirent/dirent.h: Declare readdir_r also when __USE_POSIX. - * grp/grp.h: Declare *_r functions also when __USE_POSIX. - * pwd/pwd.h: Likewise. - * time/time.h: Likewise. - * posix/unistd.h: Declare ttyname_r also when __USE_POSIX. - * string/string.h: Declare strtok_r also when __USE_POSIX. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add + fpu_control.h here. - * stdio-common/bug7.c: Use tmpnam to generate names for test files. + * time/Makefile ($(installed-localtime-file)): If target exists, do + nothing but print a message; if not, make it an absolute symlink. - * stdio-common/tmpnam.c: Update copyright. - * stdio-common/tmpnam_r.c: Likewise. + * time/tzset.c (__tzset): After stripping leading :, call + __tzfile_read on TZ even if it's empty or null. + * time/tzfile.c (__tzfile_read): Use "Universal" if passed "". - * sysdeps/unix/sysv/linux/alpha/sys/kernel_termios.h: Protect - against multiple inclusion. Include . - * sysdeps/unix/sysv/linux/sys/kernel_termios.h: Likewise. +Sat Jun 15 18:13:43 1996 Roland McGrath - * sysdeps/unix/sysv/linux/net/if.h: Update according to recent - kernel headers. Patch by Philip Blundell . + * hurd/Makefile (routines): Add get-host, set-host. + (distribute): Add hurdhost.h. + * hurd/hurdhost.h: New file. + * sysdeps/mach/hurd/gethostname.c: Use _hurd_get_host_config. + * sysdeps/mach/hurd/gethostid.c: Likewise. + * sysdeps/mach/hurd/sethostname.c: Use _hurd_set_host_config. + * sysdeps/mach/hurd/sethostid.c: Likewise. + * hurd/get-host.c: New file. + * hurd/set-host.c: New file. -Thu Jan 23 17:42:00 1997 Ulrich Drepper + * math/Makefile (headers): Add fpu_control.h. + (aux): New variable, list fpu_control and setfpucw. + * sysdeps/generic/fpu_control.c: New file. + * sysdeps/stub/fpu_control.h: New file. + * sysdeps/unix/sysv/linux/m68k/fpu_control.h: Moved to ... + * sysdeps/m68k/fpu_control.h: here. + * sysdeps/unix/sysv/linux/i386/fpu_control.h: Moved to ... + * sysdeps/i386/fpu_control.h: here. + * sysdeps/unix/sysv/linux/alpha/fpu_control.h: Moved to ... + * sysdeps/alpha/fpu/fpu_control.h: here. Fixed copyright. + * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Remove + setfpucw, fpu_control. + * sysdeps/unix/sysv/linux/alpha/fpu_control.c: File removed. + * sysdeps/unix/sysv/linux/setfpucw.c: Moved to ... + * sysdeps/generic/setfpucw.c: here. + (__fpu_control): Variable removed. + (__setfpucw): Use SET even if zero. - * sysdeps/unix/sysv/linux/sparc/clone.S: Correct author attribution. + * elf/dl-deps.c (_dl_map_object_deps): Set MAP's mark bit before loop. + Set mark bits of deps as opened, instead of as scanned. - * sysdeps/unix/sysv/linux/net/if_arp (MAX_ADDR_LEN): Add definition. + * elf/rtld.c (dl_main): Remove _dl_rtld_map from chain unconditionally. + Then if it has a nonzero l_opencount, add it back in search order. -Thu Jan 23 14:20:34 1997 Ulrich Drepper + * elf/dl-load.c (_dl_map_object): Don't use _dl_loaded's DT_RPATH if + it ain't got one! - * time/tzfile.c (__tzfile_read): Don't allow arbitrary files to be - read when running a setuid program. + * sysdeps/unix/sysv/linux/Dist: Add sys/klog.h. -Thu Jan 23 04:06:42 1997 Ulrich Drepper + * elf/dl-open.c (_dl_open): Remove PARENT argument, pass null. + * elf/link.h: Update prototype. + * elf/dl-load.c (_dl_map_object): If dependents' DT_RPATHs don't find + NAME, try the DT_RPATH of the executable itself if dynamic. + * elf/dlopen.c (dlopen): Don't pass first arg to _dl_open. - * Make-dist (.PHONY: dist): Remove duplicate declaration. - (README): Depend on version.h not version.c. - * Makefile (README): Depend on version.h not version.c. + * elf/dl-load.c (_dl_map_object): Exit DT_RPATH checking loop when an + open succeeds. - * Makeconfig (inst_libdir, inst_slibdir, inst_includedir, - inst_datadir, inst_zonedir, inst_localedir, inst_i18ndir, inst_bindir, - inst_sbindir, inst_infodir, inst_sysconfdir): New variables. Same - as variable withough inst_ but prepended with $(install_root). - (localtime-time): Use $(inst_sysconfdir) not $(sysconfdir). - * Makefile (install-others): Use $(inst_includedir). - (gnu/stabs.h, gnu/lib-names.h): Use $(inst_includedir). - * Makerules (tons of install rules): Use inst_% variables. - * elf/Makefile: Likewise. - * hurd/Makefile: Likewise. - * intl/Makefile: Likewise. - * manual/Makefile: Likewise. - * po/Makefile: Likewise. - * sunrpc/Makefile: Likewise. - * sysdeps/mach/hurd/Makefile: Likewise. - * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise. - * time/Makefile: Likewise. + * Makerules (build-shlib): Give -L opts for each elt of $(rpath-link). - * config.make.in: Revert patch from Sat Jan 18 22:15:26 1997, - leave install_root in place. + * sysdeps/mach/hurd/Makefile (sysdep-LDFLAGS): Variable removed. + (rpath-link): Append to this instead. - * gnu-versions.h (_GNU_GETOPT_INTERFACE_VERSION): Define to 2. - * posix/getopt.c (GETOPT_INTERFACE_VERSION): Define to 2. - * posix/getopt1.c (GETOPT_INTERFACE_VERSION): Define to 2. +Fri Jun 14 01:51:47 1996 Roland McGrath - * elf/Makefile [yes==$(has-ldconfig)]: Correct dependencies of - ldconfig. - (CFLAGS-dl-load.c): New variable, avoid gcc warning. + * version.c (banner): New static const variable, complete version + banner text. + (__libc_print_version): Use it, and use __write instead of printf. - * sysdeps/mach/hurd/configure.in: Add _LIBC_REENTRANT to DEFINES. + * configure.in (sysnames): Don't cache the value, because it + depends only on libc sources. Merge uniquifying third pass into + Implies/parent expansion second pass. Report each unique name as + it is added in partial report string, terminated when finished. - * sysdeps/mach/hurd/getdents.c: Update copyright. De-ANSI-declfy. - * sysdeps/stub/getdents.c: Likewise. Correct return value. - * sysdeps/unix/getdents.c: Likewise. - * sysdeps/unix/sysv/getdents.c: Likewise. + * Makeconfig (sysdep_dir): Move defn before config.status rule that + expands it. + (sysdep-configures): Variable removed. + (config.status): Use its contents directly, tighten up a bit, and + include Implies files. - * sysdeps/unix/readdir.c: Update copyright. + * elf/dl-open.c (_dl_open) [PIC]: Set PARENT to _dl_loaded if null. - * sysdeps/unix/bsd/sony/newsos4/Makefile: Correct ifeq arguments. - * sysdeps/unix/bsd/sun/sunos4/Makefile: Likewise. - * sysdeps/unix/sysv/Makefile: Likewise. - * sysdeps/unix/sysv/linux/Makefile: Likewise. + * elf/Makefile ($(objpfx)$(rtld-installed-name)): Make a symlink. + +Thu Jun 13 14:29:56 1996 Miles Bader + + * hurd/hurdsig.c (_hurd_internal_post_signal): Rename `deliver:' + label to `deliver_pending:' to match goto. + +Thu Jun 13 00:02:25 1996 Roland McGrath + + * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_open_zero_fill): + Add comment. + + * elf/rtld.c (dl_main): Close _dl_zerofd after mapping deps. + + * sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Define mcount as + weak alias for _mcount. + * sysdeps/alpha/_mcount.S (mcount): Define as weak alias. + + * elf/dl-lookup.c (_dl_lookup_symbol): If no value and *REF is + null, consider it a strong reference and give the error. + +Wed Jun 12 15:52:46 1996 Roland McGrath + + * elf/dl-open.c (_dl_open): Correctly terminate relocating loop + after relocating NEW when it's the only new object. + + * elf/dl-init.c (_dl_init_next): When out of initializers, set + _r_debug.r_state to RT_CONSISTENT and call _dl_debug_state just + before return. + + * elf/rtld.c (dl_main): Move _dl_debug_initialize call after + relocation. Call it unconditionally and only fill in DT_DEBUG + if it's present. Then call _dl_debug_state with r_state RT_ADD + before running initializers. + + * elf/dl-open.c (_dl_open): Call _dl_debug_initialize and then call + _dl_debug_state with r_state RT_ADD before running initializers + * elf/dl-close.c (_dl_close): Call _dl_debug_state with r_state + RT_DELETE before running finalizers and with RT_CONSISTENT just + before return. + + * elf/Makefile (dl-routines): Add dl-debug. + * elf/dl-debug.c: New file. + * elf/rtld.c (_dl_r_debug): Rename to _r_debug and move to dl-debug.c. + (_dl_r_debug_state): Rename to _dl_debug_state and likewise move. + (dl_main): Use _dl_debug_initialize. + * elf/link.h: Fix name to _dl_debug_state in decl. + (_dl_debug_initialize): Declare new function from dl-debug.c. + (_r_debug): Declare it. + + * Makerules (distinfo-vars): Add install-{lib,data,bin,sbin,others}. + In distinfo set $(subdir)-VAR and then set VAR to $($(subdir)-VAR). + + * Makeconfig (rpath-link): New variable; add $(elfobjdir). + (default-rpath): Use it. + (built-program-cmd): Use it in LD_LIBRARY_PATH. + + * Makeconfig (sysdep-configures): Prepend $(sysdep_dir) to names tried. + + * sysdeps/unix/Dist: Add make-syscalls.sh. + + * misc/Makefile (headers): Add sys/swap.h. + * posix/unistd.h: Remove decls for swapon, swapoff. + * sysdeps/generic/sys/swap.h: New file. + * sysdeps/unix/sysv/linux/sys/swap.h: New file. + + * sysdeps/unix/sysv/linux/gnu/types.h: Remove temporary hack #define + of __kernel_fsid_t. It is correctly defines in now. + +Tue Jun 11 23:23:30 1996 Roland McGrath + + * Makerules (LDFLAGS-c.so): Use __libc_main instead of + __libc_print_version as entry point for shared object. + * version.c [HAVE_ELF] (__libc_main): New function. + + * elf/dl-load.c (_dl_map_object_from_fd): Relocate l_entry with the + load address. + +Tue Jun 11 19:13:04 1996 Richard Henderson + + * sysdeps/alpha/dl-machine.h: New file. + + * elf/dl-close.c: Include for memcpy. + * elf/dl-lookup.c: Same. + + * elf/elf.h: Add Elfxx_Symndx for symbol indices. + * elf/dl-lookup.c (_dl_lookup_symbol): Use it. + (_dl_setup_hash): Use it. + * elf/link.h (struct link_map): Use it. + + * elf/rtld.c (_dl_start): Don't rely on pointer-to-first-arg hack + for getting the argc/argv/envp block. Instead, make it the argument. + sysdeps/i386/dl-machine.h (RTLD_START): Do that. + sysdeps/m68k/dl-machine.h (RTLD_START): Same. + + * shlib-versions: Add version numbers for alpha-linux. To avoid + user confusion, make them the same as i386-linux. + + * sysdeps/alpha/Makefile [subdir elf]: Add -mno-fp-regs to + sysdep-CFLAGS so that _dl_runtime_resolve doesn't have to save them. + Add -mbuild-constants to CFLAGS-rtld.c to that we can bootstrap + without using literal data. + + * sysdeps/generic/dl-sysdep.c: Include for memcpy. + Finish Elf32 -> ElfW migration. + +Tue Jun 11 15:09:15 1996 Roland McGrath + + * Makerules (elfobjdir): Use $(objdir) if set, even in elf subdir. + + * elf/Makefile (routines): Remove init-first. + * csu/Makefile (routines): New variable; put it here instead. + + * config.make.in (CFLAGS): New variable. + + * io/sys/stat.h (S_ISLNK, S_ISSOCK): Make conditional on __USE_BSD, + not __USE_GNU. + * string/string.h (strncasecmp): Likewise. + + * elf/Makefile (lib-noranlib): Move rule adding deps for ld.so et al + to after `include ../Rules', so $(rtld-installed-name) is defined. + + * string/basename.c (basename): Cast FILENAME to char * for return. + + * Makerules ($(libdir)/libc.so): Put $(rtld-installed) name between + libc.so and libc.a in the deps. + + * elf/Makefile ($(objpfx)$(rtld-installed-name)): New target to make + link to ld.so if that is not the installed name. + (lib-noranlib): Depend on the installed name in the build directory + instead of on ld.so. + + * Makeconfig (link-libc): Include $(elfobjdir)/$(rtld-installed-name) + between libc.so and libc.a, because with libc.so's DT_NEEDED for ld.so + ld searches libc.a before ld.so (is that an ld bug?). + Add $(elfobjdir) to -rpath-link. + + * Makerules (elfobjdir): Define as . when $(subdir) is elf. + + * sysdeps/i386/dl-machine.h (elf_machine_rel): In R_386_32 case when + relocating _dl_rtld_map, subtract SYM's value from final reloc value, + but don't change *RELOC_ADDR before calling *RESOLVE, because it might + call the function we are relocating! + + * string/basename.c: New file. + * string/Makefile (routines): Add basename. + +Mon Jun 10 06:14:03 1996 Roland McGrath + + * Makerules ($(common-objpfx)libc.so): Depend on $(elfobjdir)/ld.so. + + * elf/dl-close.c: New file. + * elf/link.h: Declare _dl_close. + * elf/Makefile (routines): Add dl-close. + * elf/dlclose.c (dlclose): Use _dl_close. + + * elf/Makefile ($(objpfx)librtld.so): Remove libelf from deps. + + * elf/dl-runtime.c (_dl_global_scope): New variable. + (_dl_object_relocation_scope): New function. + (fixup): Use it. + * elf/rtld.c (dl_main): Use it. + * elf/dl-open.c (_dl_open): Use it. If (MODE & RTLD_GLOBAL), set the + l_global bit and append the new map to _dl_global_scope. + * elf/link.h: Declare _dl_global_scope, _dl_global_scope_alloc, + and _dl_object_relocation_scope. + + * elf/link.h (struct link_map): Add l_loader member. + Remove _dl_map_object_from_fd decl. + * elf/dl-load.c (_dl_map_object): Pass LOADER to ... + (_dl_map_object_from_fd): Take new arg LOADER and set l_loader member. + (_dl_map_object): Try DT_RPATH from all loaders up the chain. + + * elf/dl-object.c (_dl_loaded): Variable removed. + (_dl_default_scope): New variable replaces it. + * elf/link.h (_dl_loaded): Remove variable decl; instead define as + macro for _dl_default_scope[2]. + (_dl_default_scope): Declare it. + * sysdeps/i386/dl-machine.h (RTLD_START): Use _dl_default_scope[2] + instead of _dl_loaded. + * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise. + * elf/rtld.c (dl_main): Use _dl_default_scope for symbol lookups. + + * elf/dl-reloc.c (_dl_relocate_object): Remove check for _dl_rtld_map. + * elf/rtld.c (dl_main): Pass 0 for LAZY flag when re-relocating self. + + * elf/link.h (struct link_map.l_type): Remove lt_interpreter. + (struct link_map): Add new flag member l_global. + + * elf/dl-reloc.c (_dl_relocate_object): Check for _dl_rtld_map + directly instead of looking for lt_interpreter. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. + * elf/rtld.c (_dl_start): Don't bother setting BOOTSTRAP_MAP.l_type. + (dl_main): Set _dl_rtld_map.l_type to lt_library. + + * elf/dl-deps.c (_dl_map_object_deps): Propagate MAP->l_type to + dependencies loaded, downgrading lt_executable -> lt_library. + + * elf/dl-load.c (_dl_map_object_from_fd): Take new arg TYPE and set + l_type from that, translating lt_library->lt_executable based on the + file's ELF type. + (_dl_map_object): Likewise. + * elf/link.h: Update prototypes. + * elf/dl-open.c: Pass type lt_loaded. + * elf/rtld.c: Pass type lt_library. + + * elf/dl-load.c (_dl_map_object_from_fd): Handle null return from + _dl_new_object. + (_dl_map_object_from_fd: lose): Unchain and free L if it's not null. + Free REALNAME, and just use NAME in error message. + * elf/dl-object.c (_dl_new_object): If malloc fails, return null + instead of calling _dl_signal_error. + + * elf/dl-load.c (_dl_map_object_from_fd): Close FD before signalling + error for _dl_zerofd setup failure. + + * elf/dl-object.c (_dl_startup_loaded): Variable removed. + * elf/link.h: Remove its decl. + + * elf/dl-reloc.c (_dl_relocate_object): Take new SCOPE arg and pass it + through to _dl_lookup_symbol. + * elf/link.h (_dl_relocate_object): Update comment and prototype. + * elf/rtld.c (dl_main): Pass scope vector to _dl_relocate_object. + + * elf/dl-lookup.c (_dl_lookup_symbol): Arg SYMBOL_SCOPE is now a + null-terminated vector of pointers, no longer a vector of exactly two. + * elf/link.h (_dl_lookup_symbol): Update comment and prototype. + + * elf/dl-runtime.c (fixup): Set up scope for symbol lookup properly as + done in _dl_relocate_object. + + * elf/dlopen.c: Pass "" to _dl_open when FILE is null. + + * elf/link.h: Include elfclass.h to define __ELF_NATIVE_CLASS. + (ElfW, ELFW): Use it. + * elf/Makefile (headers): Add elfclass.h. + * sysdeps/wordsize-32/elfclass.h: New file. + * sysdeps/wordsize-64/elfclass.h: New file. + * sysdeps/alpha/Implies: Add wordsize-64. + * sysdeps/i386/Implies: Add wordsize-32. + * sysdeps/m68k/Implies: Add wordsize-32. + * sysdeps/mips/Implies: Add wordsize-32. + * sysdeps/sparc/Implies: Add wordsize-32. + + * sysdeps/mach/hurd/dl-sysdep.c (__open): Define this instead of open. + (__close, __mmap): Likewise define with __ names now. + +Mon Jun 10 05:13:18 1996 Roland McGrath + + * elf/dl-support.c: New file. + * elf/Makefile (CFLAGS-dl-support.c): New variable. + (routines, elide-routines.so): Add dl-support. + + * elf/dl-minimal.c (_dl_pagesize): Remove common defn. + * elf/dl-load.c (_dl_pagesize): Define it here. + (_dl_map_object_from_fd): Initialize it if zero. + * elf/link.h (_dl_pagesize): Remove const. + +Sun Jun 9 04:04:26 1996 Roland McGrath + + * elf/Makefile (routines): Add dl-symbol. + * elf/dl-lookup.c (_dl_symbol_value): Moved to ... + * elf/dl-symbol.c: New file. + + * elf/elf.h (Elf32_Xword, Elf32_Sxword): New types. + (Elf32_Section, Elf64_Section): New types, 16 bits. + (Elf32_Sym, Elf64_Sym): Use it. + + * elf/dl-deps.c (_dl_open): Moved to ... + * elf/dl-open.c: New file. + * Makefile (routines): Add dl-open. + + * elf/Makefile (dl-routines): New variable. + (routines): Add $(dl-routines). + (elide-routines.so): New variable, set to $(dl-routines). + (libdl-inhibit-o): Variable removed; build all flavors of -ldl. + (rtld-routines): All but rtld, dl-sysdep, and dl-minimal moved to + $(dl-routines). + + * elf/dl-lookup.c (_dl_lookup_symbol): Remove magic symbol grokage. + + * elf/dladdr.c: Use ELFW(ST_BIND) in place of ELF32_ST_BIND. + + * elf/dl-load.c (open_path): Use __ names for open and close. Avoid + using strdup. + (_dl_map_object): Likewise. + (_dl_map_object_from_fd): Use __ names for mmap, munmap, and mprotect. + * elf/dl-minimal.c (malloc): Likewise. + * elf/dl-reloc.c (_dl_relocate_object): Likewise. + + * elf/dl-minimal.c (_dl_pagesize): New variable. + (malloc): Use that instead of a static variable. + * elf/dl-reloc.c (_dl_relocate_object): Use _dl_pagesize instead of + calling getpagesize. + * elf/dl-load.c (_dl_map_object_from_fd): Likewise. + * elf/link.h: Declare _dl_pagesize. + + * elf/rtld.c (dl_r_debug): Renamed to _dl_r_debug. + + * elf/link.h (struct link_map): Use Half for l_phnum instead of Word. + * elf/rtld.c (dl_main): Use Half for phdr count arg. + (_dl_sysdep_start): Update prototype of DL_MAIN function ptr arg. + + * elf/dl-load.c (_dl_map_object_from_fd): Use explicit Elf32_Word to + extract 4-byte magic number, not ElfW(Word). Match EI_CLASS against + native wordsize, either 32 or 64. + + * elf/elf.h (Elf64_Byte, Elf64_Section): Typedefs removed. In C a + char is always a byte, no need for a typedef. Section indices are + 16-bit quantities in elf64, which already have a typedef Elf64_Half. + + Remove partial -lelf implementation. There is now a + separately-distributed `libelf' package that implements it. + * elf/dl-lookup.c: Don't #include any more. + (_dl_elf_hash): New function, moved from + libelf.h:elf_hash. + (_dl_lookup_symbol): Use it instead of elf_hash. + * elf/libelf.h: File removed. + * elf/elf_hash.c: File removed. + * elf/Makefile (headers): Remove libelf.h. + (extra-libs): Remove libelf. + (libelf-routines): Variable removed. + + * elf/Makefile (libdl.so): Remove commands from this target. The + implicit rule commands are correct, this explicit rule just serves to + add some dependencies. + + * elf/dl-lookup.c (_dl_lookup_symbol): Use ELFW(ST_TYPE) in place of + ELF32_ST_TYPE. Likewise ST_BIND. + * elf/do-rel.h (elf_dynamic_do_rel): Likewise R_SYM. + + * elf/link.h (ElfW): New macro for wordsize-independent ElfXX_* type + naming. + (ELFW): New macro, likewise for ELFXX_* macro naming. + (_ElfW, _ElfW_1): New macros, subroutines of ElfW and ELF. + +Sat Jun 8 20:52:38 1996 Roland McGrath + + * elf/link.h, elf/do-rel.h, elf/dynamic-link.h, elf/dl-deps.c, + elf/dl-init.c, elf/dl-load.c, elf/dl-lookup.c, elf/dl-reloc.c, + elf/dl-runtime.c, elf/dladdr.c, elf/dlclose.c, elf/dlsym.c, + elf/linux-compat.c, elf/rtld.c: Change all uses of `Elf32_XXX' to + `ElfW(XXX)' for wordsize-independence. + +Sat Jun 8 20:50:42 1996 Richard Henderson + + * elf/elf.h: Move Elf64_* types in parity with Elf32 counterparts. + (Elf64_auxv_t): New type. + (EM_ALPHA, R_ALPHA_*): New macros for elf64-alpha format. + +Mon Jun 10 02:22:24 1996 Roland McGrath + + * sysdeps/unix/sysv/linux/configure.in: New file, start with configure. + Add check for installed being v2.0 or later. + + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill): Call __open + instead of open. + (_dl_sysdep_fatal): Call __write instead of write. + (_dl_sysdep_message): Likewise. + +Sun Jun 9 20:40:00 1996 Andreas Schwab + + * sysdeps/m68k/fpu/e_acosl.c: New file. + +Sun Jun 9 01:11:49 1996 Roland McGrath + + * Makerules (o-objects): New variable. Use it in place of + $(objects:.o=$o); it filters out $(elide-routines$o). + Use o-iterator for ar and ranlib rules so they use the per-type object + list. + + * elf/dl-load.c (_dl_map_object_from_fd): Close FD before return. + + * sysdeps/mach/mprotect.c: Define with __ name and weak alias. + * sysdeps/stub/mprotect.c: Likewise. + * sysdeps/unix/mman/syscalls.list (mprotect): Likewise. + * sysdeps/generic/sys/mman.h: Declare __mprotect. + * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise. + * sysdeps/unix/sysv/linux/sys/mman.h: Likewise. + * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise. + * sysdeps/unix/bsd/osf/sys/mman.h: Likewise. + * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise. + + * Make-dist ($(tardir).tar): Use sed to check for file names longer + than 14 chars, instead of doschk which checks for other things we + don't care about. + + * Version 1.90 test release. + + * Makerules (make-target-directory): Use ./mkinstalldirs so we do not + assume . is in PATH. + +Sat Jun 8 22:05:03 1996 Roland McGrath + + * math/Makefile (distribute): Comment out addition of + $(long-m-routines) sources until they are all written. + + * math/Makefile (distribute): Append long double source names to this + instead of using elided-routines. + +Sat Jun 8 15:15:07 1996 Roland McGrath + + * mach/mach_shortcuts.c: Obsolete file removed. + * mach/mach_syscalls.h: Likewise. + + * hurd/Makefile (distribute): Consolidate defns into one. + + * time/Makefile (tzfiles): Add solar87 solar88 solar89. + +Fri Jun 7 16:48:13 1996 Roland McGrath + + * sysdeps/unix/sysv/linux/i386/Dist: New file, list sys/perm.h and + sys/vm86.h. + + Removed old math code no longer used since the fdlibm integration. + * sysdeps/stub/acos.c: File removed. + * sysdeps/stub/asin.c: File removed. + * sysdeps/stub/atan2.c: File removed. + * sysdeps/stub/cosh.c: File removed. + * sysdeps/stub/exp.c: File removed. + * sysdeps/stub/fmod.c: File removed. + * sysdeps/stub/frexp.c: File removed. + * sysdeps/stub/log.c: File removed. + * sysdeps/stub/log10.c: File removed. + * sysdeps/stub/sinh.c: File removed. + * sysdeps/stub/tan.c: File removed. + * sysdeps/stub/tanh.c: File removed. + * sysdeps/generic/acos.c: File removed. + * sysdeps/generic/acosh.c: File removed. + * sysdeps/generic/asin.c: File removed. + * sysdeps/generic/asinh.c: File removed. + * sysdeps/generic/atan.c: File removed. + * sysdeps/generic/atan2.c: File removed. + * sysdeps/generic/atanh.c: File removed. + * sysdeps/generic/cabs.c: File removed. + * sysdeps/generic/ceil.c: File removed. + * sysdeps/generic/copysign.c: File removed. + * sysdeps/generic/cosh.c: File removed. + * sysdeps/generic/exp.c: File removed. + * sysdeps/generic/expm1.c: File removed. + * sysdeps/generic/fabs.c: File removed. + * sysdeps/generic/floor.c: File removed. + * sysdeps/generic/fmod.c: File removed. + * sysdeps/generic/frexp.c: File removed. + * sysdeps/generic/hypot.c: File removed. + * sysdeps/generic/infnan.c: File removed. + * sysdeps/generic/isnan.c: File removed. + * sysdeps/generic/ldexp.c: File removed. + * sysdeps/generic/log.c: File removed. + * sysdeps/generic/log10.c: File removed. + * sysdeps/generic/log1p.c: File removed. + * sysdeps/generic/modf.c: File removed. + * sysdeps/generic/pow.c: File removed. + * sysdeps/generic/rint.c: File removed. + * sysdeps/generic/sinh.c: File removed. + * sysdeps/generic/tan.c: File removed. + * sysdeps/generic/tanh.c: File removed. + * sysdeps/ieee754/cabs.c: File removed. + * sysdeps/ieee754/copysign.c: File removed. + * sysdeps/ieee754/frexp.c: File removed. + * sysdeps/ieee754/hypot.c: File removed. + * sysdeps/ieee754/infnan.c: File removed. + * sysdeps/ieee754/ldexp.c: File removed. + * sysdeps/ieee754/log10.c: File removed. + + * posix/Makefile (headers): Add schedbits.h. + + * math/Makefile (elided-routines): Add long double routines. + +Fri Jun 7 11:02:22 1996 Miles Bader + + * sysdeps/mach/hurd/getpriority.c (getpriority): Use new interface + to __proc_getprocinfo. + + * login/login.c (tty_name): New function. + (login): Use it. + (PATH_MAX): MACRO removed. + : New include. + +Fri Jun 7 09:11:17 1996 Roland McGrath + + * sysdeps/unix/sysv/linux/Dist: Add sys/sysinfo.h, sys/mount.h, + sys/kdaemon.h, sys/io.h, sys/mount.h, sysctl.c. + + * gmon/Makefile (distribute): Add profil-counter.h. + + * sysdeps/unix/sysv/linux/alpha/Dist: New file. + + * sysdeps/unix/Dist: Add s-proto.S. + + * sysdeps/unix/common/mk-local_lim.c: Obsolete file removed. + + * Make-dist (+sysdep-tsrcs): Get all syscalls.list files too. + + * csu/Makefile (distribute): Add start.c. + + * elf/Makefile (distribute): Add dl-machine.h. + + * sysdeps/alpha/Dist: Add _mcount.S. + + * sysdeps/alpha/Makefile (sysdep_routines): Append instead of + resetting; don't add bb_init_func. + + * string/Makefile (routines): Add strerror_r. + * string/string.h (strerror_r): Use int for BUFLEN arg. + + * Makefile (distribute): Add shlib-versions. + + * po/Makefile (distribute): Add SYS_libc.pot. + + * misc/Makefile (routines): Add lsearch. + + * manual/lang.texi (Consistency Checking): Merge in assert_perror defn + and other changes inadvertently made to the obsolete assert.texi. + * manual/assert.texi: File removed. + + * mach/mach_syscalls.c: Obsolete file removed. + * mach/mach_syscalls.h: Likewise. + * mach/mach_traps.S: Likewise. + * mach/msg_destroy.c: Likewise. + * mach/vm_page_size.c: Likewise. + + * locale/Makefile (distribute): Add weight.h, charset.h. + + * Makefile (distribute): Add version.h. + + * hurd/Makefile (headers): Add hurd/ioctl.h. + (distribute): Add intr-rpc.d, intr-rpc.h, faultexc.defs. + + * csu/Makefile (distribute): Add gmon-start.c. + + * Makefile (distribute): Add config.h.in. + +Wed Jun 5 22:06:21 1996 Andreas Schwab + + * sysdeps/m68k/dl-machine.h (elf_machine_rela): Fix type of reloc + argument. + [case R_68K_32]: Check for resolve being null. + (RTLD_START): Add missing label. + +Fri Jun 7 1996 05:29:32 Ulrich Drepper + + * misc/lsearch.c: New file. Implementation of lfind and + lsearch functions. + + * misc/search.h: Add prototype for functions from tsearch + family with __ prefix. + Correct prototype for lsearch: BASE parameter must not be + const. + + * misc/tsearch.c: prepend all global function names with __ + and make normal names weak aliases. + +Fri Jun 7 00:15:24 1996 Roland McGrath + + * Make-dist (sysdep_dirs): Skip CVS dirs. + +Thu Jun 6 16:12:39 1996 Roland McGrath + + * malloc/Makefile (distribute): Change malloc/gmalloc-head.c to + gmalloc-head.c. + (malloc/gmalloc.c): Depend on malloc/gmalloc-head.c. + (malloc/Makefile): Do $(make-target-directory) first. + * malloc/gmalloc-head.c: New file. + + * po/Makefile (linguas.mo): Don't commit .mo files to cvs. + + * hurd/hurdsig.c (_hurd_internal_post_signal): For SIGNO==0 pending + check, deliver a pending blocked signal if its action might be to + ignore. + * sysdeps/mach/hurd/sigaction.c: If new action is SIG_IGN or SIG_DFL + and SIG is pending, wake up signal thread to check us. + + * hurd/hurdsig.c (_hurd_internal_post_signal): Don't mark a signal + pending while blocked or stopped when the action is to ignore it. + +Thu Jun 6 12:56:03 1996 Roland McGrath + + * hurd/hurdsig.c (_hurd_internal_post_signal: resume): Only set + SS_SUSPENDED when the thread is really suspended. + + * elf/rtld.c (dl_main): Don't dereference _dl_rtld_map.l_next if null. + + * Makerules (headers): Move append of $(sysdep_headers) after include + of sysdep makefiles. + + * sysdeps/mach/hurd/errlist.c: File removed. + +Thu Jun 6 07:32:14 1996 Miles Bader + + * resolv/gethnamaddr.c (struct hstorage): Make NAME field a pointer. + (_gethtbyname2): Remove ALIAS variable. + Initialize NAME field of SELF and TARGET to 0. + Add SELF_NAME_SIZE static variable. + Add loop to call gethostname until the space we allocated is enough. + Use malloced strings instead of fixed size buffers. + , : New includes. + * sysdeps/generic/sys/socket.h (PF_INET6, AF_INET6): New macros. + + * sysdeps/mach/hurd/errlist.c (_sys_errlist): Add EILSEQ. + (_sys_nerr): Initialize to 107. + Update _HURD_ERRNOS consistency check. + + * stdlib/canonicalize.c (canonicalize): Use pathconf for PATH_MAX, + not sysconf. + + * login/login.c [!PATH_MAX] (PATH_MAX): Define to be 1024 if not + already defined. + + * sysdeps/mach/hurd/setitimer.c (timer_thread): Supply SIGCODE + argument to __msg_sig_post_request. + + * hurd/hurdmalloc.c: Changes to bring in line with the hurd + libthreads/malloc.c: + (more_memory): Use assert_perror instead of MACH_CALL. + "cthread_internals.h": Include removed. + (realloc): Use LOG2_MIN_SIZE. + (LOG2_MIN_SIZE): New macro. + (realloc): Don't bother allocating a new block if the + new size request fits in the old one and doesn't waste any space. + Only free the old block if we successfully got a new one. + [MCHECK] (struct header): New type. + (union header): Only define if !MCHECK. + (HEADER_SIZE, HEADER_NEXT, HEADER_FREE, HEADER_CHECK): New macros. + [MCHECK] (MIN_SIZE): Add correct definition for this case. + (more_memory, malloc, free, realloc): Use above macros, and add + appropiate checks & frobs in MCHECK case. + +Thu Jun 6 02:00:42 1996 Roland McGrath + + * Makerules (distinfo-vars): Don't write constant line to frob sources. + * Make-dist (sources): Append $(elided-routines) and $(extra-libs) + routines. + +Tue Jun 4 22:03:02 1996 Andreas Schwab + + * sysdeps/m68k/fpu/__math.h: Define long double versions of + the inline functions. + * sysdeps/m68k/fpu/e_asinl.c, sysdeps/m68k/fpu/e_atanl.c, + sysdeps/m68k/fpu/e_acosl.c, sysdeps/m68k/fpu/e_expl.c, + sysdeps/m68k/fpu/e_fmodl.c, sysdeps/m68k/fpu/e_log10l.c, + sysdeps/m68k/fpu/e_logl.c, sysdeps/m68k/fpu/e_powl.c, + sysdeps/m68k/fpu/e_remainderl.c, sysdeps/m68k/fpu/e_scalbl.c, + sysdeps/m68k/fpu/e_sinhl.c, sysdeps/m68k/fpu/e_sqrtl.c, + sysdeps/m68k/fpu/k_cosl.c, sysdeps/m68k/fpu/k_sinl.c, + sysdeps/m68k/fpu/k_tanl.c, sysdeps/m68k/fpu/s_atanl.c, + sysdeps/m68k/fpu/s_ceill.c, sysdeps/m68k/fpu/s_cosl.c, + sysdeps/m68k/fpu/s_expm1l.c, sysdeps/m68k/fpu/s_fabsl.c, + sysdeps/m68k/fpu/s_finitel.c, sysdeps/m68k/fpu/s_floorl.c, + sysdeps/m68k/fpu/s_frexpl.c, sysdeps/m68k/fpu/s_ilogbl.c, + sysdeps/m68k/fpu/s_isinfl.c, sysdeps/m68k/fpu/s_isnanl.c, + sysdeps/m68k/fpu/s_ldexpl.c, sysdeps/m68k/fpu/s_log1pl.c, + sysdeps/m68k/fpu/s_logbl.c, sysdeps/m68k/fpu/s_modfl.c, + sysdeps/m68k/fpu/s_rintl.c, sysdeps/m68k/fpu/s_scalbnl.c, + sysdeps/m68k/fpu/s_significandl.c, sysdeps/m68k/fpu/s_sinl.c, + sysdeps/m68k/fpu/e_atanhl.c, sysdeps/m68k/fpu/e_coshl.c: New files. + + * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_fmod.c, + sysdeps/m68k/fpu/k_cos.c, sysdeps/m68k/fpu/k_sin.c, + sysdeps/m68k/fpu/k_tan.c, sysdeps/m68k/fpu/s_atan.c, + sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_ilogb.c, + sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_ldexp.c, + sysdeps/m68k/fpu/s_modf.c: Define generic functions using FUNC and + float_type with appropriate defaults. + + * sysdeps/m68k/fpu/e_acosf.c, sysdeps/m68k/fpu/e_fmodf.c, + sysdeps/m68k/fpu/k_cosf.c, sysdeps/m68k/fpu/k_sinf.c, + sysdeps/m68k/fpu/k_tanf.c, sysdeps/m68k/fpu/s_atanf.c, + sysdeps/m68k/fpu/s_frexpf.c, sysdeps/m68k/fpu/s_ilogbf.c, + sysdeps/m68k/fpu/s_isinff.c, sysdeps/m68k/fpu/s_ldexpf.c, + sysdeps/m68k/fpu/s_modff.c: Include the corresponding double + versions with appropriate definitions to get float functions, + instead of defining them directly. + + * sysdeps/m68k/fpu/acos.c: File removed. + * sysdeps/m68k/fpu/asin.c: File removed. + * sysdeps/m68k/fpu/atan.c: File removed. + * sysdeps/m68k/fpu/atan2.c: File removed. + * sysdeps/m68k/fpu/atanh.c: File removed. + * sysdeps/m68k/fpu/ceil.c: File removed. + * sysdeps/m68k/fpu/cos.c: File removed. + * sysdeps/m68k/fpu/cosh.c: File removed. + * sysdeps/m68k/fpu/drem.c: File removed. + * sysdeps/m68k/fpu/exp.c: File removed. + * sysdeps/m68k/fpu/expm1.c: File removed. + * sysdeps/m68k/fpu/fabs.c: File removed. + * sysdeps/m68k/fpu/fl.h: File removed. + * sysdeps/m68k/fpu/floor.c: File removed. + * sysdeps/m68k/fpu/fmod.c: File removed. + * sysdeps/m68k/fpu/frexp.c: File removed. + * sysdeps/m68k/fpu/isinf.c: File removed. + * sysdeps/m68k/fpu/isinfl.c: File removed. + * sysdeps/m68k/fpu/isnan.c: File removed. + * sysdeps/m68k/fpu/isnanl.c: File removed. + * sysdeps/m68k/fpu/ldexp.c: File removed. + * sysdeps/m68k/fpu/log.c: File removed. + * sysdeps/m68k/fpu/log10.c: File removed. + * sysdeps/m68k/fpu/log1p.c: File removed. + * sysdeps/m68k/fpu/logb.c: File removed. + * sysdeps/m68k/fpu/pow.c: File removed. + * sysdeps/m68k/fpu/rint.c: File removed. + * sysdeps/m68k/fpu/sin.c: File removed. + * sysdeps/m68k/fpu/sinh.c: File removed. + * sysdeps/m68k/fpu/sqrt.c: File removed. + * sysdeps/m68k/fpu/tan.c: File removed. + * sysdeps/m68k/fpu/tanh.c: File removed. + +Thu Jun 6 00:02:15 1996 Roland McGrath + + * sysdeps/unix/sysv/linux/syscalls.list: Add select (the syscall name + is _newselect). + * sysdeps/unix/sysv/linux/select.S: File removed. + + * sysdeps/unix/sysv/linux/m68k/select.S: File removed; obsolete with + current kernels, generic linux version is fine. + + * locale/Makefile: Add vpath for %.gperf to programs. + + * Make-dist (+tsrcs): Variable removed. + (dist): Process $^ here instead of using $(+tsrcs). + + * sysdeps/unix/sysv/linux/Makefile (install-others): Don't set. + ($(includedir)/sys/syscall.h): Target removed. + (sysdep_headers): Add syscall-list.h. + ($(objpfx)syscall-%.[dh]): New rule to build syscall-list.[dh]. + (generated): Add those. + * sysdeps/unix/sysv/linux/syscall.h: Include . + +Wed Jun 5 15:57:28 1996 Roland McGrath + + * misc/sys/syscall.h: New file. + * misc/Makefile (headers): Add sys/syscall.h. + + * time/tzfile.h, time/private.h, time/zdump.c, time/zic.c, + time/africa, time/asia, time/australasia, time/europe, + time/northamerica, time/southamerica: Updated from ADO 96h. + + * Make-dist (all-headers): Filter $(sysdep_headers) out of $(headers). + (try-sysdeps, +sysdep-names): Check sysdeps/libm-ieee754 too. + + * Makerules (distinfo-vars): Add sysdep_headers. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Append to + this instead of $(headers). * sysdeps/unix/sysv/linux/alpha/Makefile: Likewise. * sysdeps/unix/sysv/linux/i386/Makefile: Likewise. - * sysdeps/unix/sysv/linux/Dist: Don't distribute kernel_termios.h, - but sys/kernel_termios.h. - * sysdeps/unix/sysv/linux/alpha/Dist: Likewise. - * sysdeps/unix/sysv/linux/Makefile [$(subdir)==termios] - (sysdep_headers): Add sys/kernel_termios.h. - * sysdeps/unix/sysv/linux/kernel_termios.h: Moved to... - * sysdeps/unix/sysv/linux/sys/kernel_termios.h: ...here. - * sysdeps/unix/sysv/linux/tcgetattr.c: Use __kernel_termios and - __KERNEL_NCCS instead of kernel_termios and KERNEL_NCCS resp. + * Make-dist [subdirs-dirs]: Don't prefix $(subdir-dirs) with + $(subdir); we are already there. - * sysdeps/unix/sysv/linux/alpha/ioctls.h: New file. + * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: Removed. - * sysdeps/unix/sysv/linux/getdents.c: Correct problems with alignment. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove getdents. - Reported by Eirik Fuller . + * mach/Machrules: Undo last change. + (mach-generated): List .uh and .__h files only for $(user-interfaces), + not for each .h in $(interface-headers); server-interfaces have no .uh + or .__h files. - * time/Banner: Removed. Wrong and unnecessary information. It's now - in... - * time/README: New file. - * time/Makefile (distribute): Remove Banner, add README. +Wed Jun 5 15:42:51 1996 Miles Bader -Wed Jan 22 13:19:56 1997 Richard Henderson + * mach/Machrules (%_server.uh, %_server.__h): New rules, so that the + corrsponding .defs file with without the `_server' will be used. - * sysdeps/unix/sysv/linux/alpha/ioperm.c (platforms): Add Sable. - (init_iosys): Recognize /etc/alpha_systype as a four-tuple for - the purpose of supporting brand new systems. - (*): The type of iosys variables should be iosys_t. + * mach/Makefile (mach/mach_interface.defs): Renamed from + mach_interface.defs. + (mach/memory_object_user.defs): New variable. -1997-01-22 Paul Eggert +Wed Jun 5 15:10:58 1996 Roland McGrath - * strftime.c (_strftime_copytm): - New function, to work around Solaris 2.5 tzset bug. + * Make-dist [subdir-dirs]: Set vpath for %, not just %.c. -Wed Jan 22 23:05:14 1997 Ulrich Drepper + * locale/Makefile (subdir-dirs): New variable. - * sysdeps/mach/hurd/vdprintf.c: Complete de-ANSI-declfication. - Reported by Marcus G. Daniels . +Wed Jun 5 00:01:19 1996 Roland McGrath -Wed Jan 22 13:58:56 1997 Andreas Jaeger + * Makerules (distinfo-vars): Add sysdep_routines. - * elf/Makefile (CFLAGS-dl-load.c): New Variable to keep gcc silent - since name_copy is initialized. + * mach/Machrules (include-%.defs): New canned sequence. + Change all uses of `#include <$*.defs>' in cmds to use it. + * mach/Makefile (mach_interface.defs): New variable, set to mach.defs. -Wed Jan 22 16:58:12 1997 Ulrich Drepper + * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle RESOLVE being + null in all cases but R_386_COPY. + (elf_machine_rel): - * stdio-common/Makefile (tests): Remove scanf11. - * stdio-common/scanf11.c: Removed. - * stdio-common/vfscanf.c Revert patch of Thu Jan 16 23:39:25 1997. - Although the Corrigendum 1 describes the result as implemented the - even more recent Amendement 1 seconds the position of ISO C:1990 - where the %n directive has no effect on the assignment count. - * stdio-common/bug10.c: Likewise. - * stdio-common/scanf1.c: Likewise. - * stdio-common/scanf3.c: Likewise. - * stdio-common/scanf10.c: Likewise. - * stdio-common/tstdiomisc.c: Likewise. +Wed Jun 5 00:01:19 1996 Roland McGrath - * new-malloc/obstack.h: Don't define malloc using bcopy if malloc - is not available. This leads to problems since bcopy does not - return a value. Instead define _obstack_memcpy based on memcpy or - bcopy. This name isn't used outside obstack.h and so no problems - from using the memcpy function in a file including obstack.h can - result. - Reported by Martin Trapp . + * sysdeps/unix/bsd/ultrix4/mips/Dist: Updated. + * sysdeps/unix/bsd/ultrix4/Dist: Removed. + * sysdeps/unix/sysv/sysv4/Dist: Updated. + * sysdeps/unix/sysv/sco3.2.4/Dist: Removed. + * sysdeps/unix/sysv/irix4/Dist: Updated. + * sysdeps/unix/sysv/linux/i386/Dist: Removed. + * sysdeps/unix/sysv/Dist: Updated. + * sysdeps/unix/bsd/sun/sunos4/Dist: Removed. + * sysdeps/unix/bsd/sony/newsos4/Dist: Removed. + * sysdeps/gnu/Dist: New file. + * sysdeps/alpha/Dist: Updated. + * sysdeps/mach/hurd/Dist: Updated. -Tue Jan 21 18:35:55 1997 Andreas Schwab + * Make-dist [subdir-dirs]: Set a vpath for %.c. - * misc/regexp.h (compile): Fix typos. + * Make-dist (README): Fix typo in cvs cmd. -Tue Jan 21 01:01:59 1997 Andreas Schwab + * elf/dl-lookup.c (_dl_lookup_symbol): Fix typos in last change. + Comment out ref to nonexistent _dl_close. - * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo): Fix - type of pr_{pid,ppid,pgrp,sid} fields. - * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct - elf_prpsinfo): Likewise. +Tue Jun 4 21:01:20 1996 Roland McGrath -1997-01-21 Paul Eggert + * math/Makefile (libm-support, libm-calls): New variables. + (libm-routines): Construct this from those. + (calls): New variable. + (routines): Construct this from it. - * posix/getopt.c (_getopt_internal): Return -1, not EOF, when args - are exhausted; this is required by POSIX.2. - * catgets/gencat.c, db/makedb.c, locale/programs/locale.c, - locale/programs/localedef.c, manual/examples/subopt.c, - posix/getopt.c, posix/getopt1.c, stdio-common/bug4.c, - sunrpc/rpcinfo.c (main): Check getopt return value against -1, not EOF. + * resolv/res_debug.c: Add missing #include . -Tue Jan 21 23:10:40 1997 Ulrich Drepper + * sysdeps/unix/getlogin.c: Must pass struct utmp ptr to getutline_r. + * sysdeps/unix/getlogin_r.c: Likewise. - * version.h (VERSION): Bump to 1.102. + * sysdeps/libm-ieee754/w_hypotl.c: Fix typo. - * sysdeps/unix/sysv/linux/alpha/Dist: Add kernel_sigaction.h. + * sysdeps/libm-ieee754/w_cabsl.c: __cabsl_complex -> __cabs_complexl - * elf/Makefile: Don't use CFLAGS-dl-load.c, but instead - CPPFLAGS-dl-load.c so that dependencies can be determined correctly. - * elf/dl-load.c: Fix comment. + * math/Makefile (long-m-routines): Define recursive variable as + $(long-m-$(long-double-fcts)). + (long-m-yes): Put list of routines here. + (long-c-routines, long-c-yes): Likewise. - * time/Banner: New file. - * time/Makefile (distribute): Add Banner. + * sysdeps/unix/sysv/linux/schedbits.h: File removed. - Update from ADO tzcode1997a and tzdata1997a. - * time/antarctica: Update. - * time/australia: Update. - * time/zdump.c: Update. - * time/zic.c: Update. - * time/zone.tab: Update. + * sysdeps/i386/Makefile (long-double-fcts): New variable, set to yes. + * sysdeps/m68k/Makefile: Likewise. -Mon Jan 20 08:38:32 1997 H.J. Lu + * math/Makefile [$(long-double-fcts)!=yes] (CPPFLAGS): Append + -DNO_LONG_DOUBLE. - * config.make.in (has-ldconfig): New variable. + * sysdeps/mach/hurd/getlogin_r.c: New file. - * configure, configure.in (has_ldconfig): New substitute. +Wed Jun 5 02:11:30 1996 Ulrich Drepper - * sysdeps/unix/sysv/linux/configure.in (has_ldconfig): New, - check if $srcdir/elf/ldconfig.c exists. + * io/Makefile (routines): Add ttyname_r. - * Makeconfig (rootsbindir): New, default as - $(exec_prefix)/sbin. - (rtld-version-installed-name): New, default as - ld-$(version).so. + * resolv/res_debug.c, resolv/resolv.h: Update from bind-4.3.4-T4A. - * Makefile (install): Call `$(common-objpfx)elf/ldconfig -d' - only if $(cross-compiling) is no and $(build-shared) is yes. + * sysdeps/libm-i387/e_asinl.S, sysdeps/libm-i387/e_atan2l.S, + sysdeps/libm-i387/e_expl.S, sysdeps/libm-i387/e_fmodl.S, + sysdeps/libm-i387/e_log10l.S, sysdeps/libm-i387/e_logl.S, + sysdeps/libm-i387/e_remainderl.S, sysdeps/libm-i387/e_scalbl.S, + sysdeps/libm-i387/e_sqrtl.S, sysdeps/libm-i387/s_atanl.S, + sysdeps/libm-i387/s_cosl.S, sysdeps/libm-i387/s_ilogbl.S, + sysdeps/libm-i387/s_log1pl.S, sysdeps/libm-i387/s_logbl.S, + sysdeps/libm-i387/s_scalbnl.S, sysdeps/libm-i387/s_sinl.S, + sysdeps/libm-i387/s_tanl.S: New files. i387 assembler versions + of `long double' math functions. - * Makerules (make-shlib-link): New macro. - ($(slibdir)/libfoo.so.$(libfoo.so-version)): Use - $(make-shlib-link) for symlink. - (install-rootsbin, install-rootsbin-nosubdir): New. - (install-no-libc.a-nosubdir): Add - install-rootsbin-nosubdir. + * sysdeps/libm-ieee754/k_standard.c: Add handling for errors + in long double functions. - * Rules (others): Add $(install-rootsbin). + * sysdeps/libm-ieee754/s_ilogbl.c, sysdeps/libm-ieee754/s_logbl.c, + sysdeps/libm-ieee754/s_modfl.c: New files. Generic versions + of `long double' math functions. - * config.make.in (rootsbindir): New. + * sysdeps/libm-ieee754/s_isinf.c [NO_LONG_DOUBLE]: Add string + alias for __isinfl. - * configure, configure.in (libc_cv_rootsbindir): New - substitute. + * sysdeps/libm-ieee754/w_acoshl.c, sysdeps/libm-ieee754/w_acosl.c, + sysdeps/libm-ieee754/w_asinl.c, sysdeps/libm-ieee754/w_atan2l.c, + sysdeps/libm-ieee754/w_atanhl.c, sysdeps/libm-ieee754/w_cabsl.c, + sysdeps/libm-ieee754/w_coshl.c, sysdeps/libm-ieee754/w_dreml.c, + sysdeps/libm-ieee754/w_expl.c, sysdeps/libm-ieee754/w_fmodl.c, + sysdeps/libm-ieee754/w_gammal.c, sysdeps/libm-ieee754/w_gammal_r.c, + sysdeps/libm-ieee754/w_hypotl.c, sysdeps/libm-ieee754/w_j0l.c, + sysdeps/libm-ieee754/w_j1l.c, sysdeps/libm-ieee754/w_jnl.c, + sysdeps/libm-ieee754/w_lgammal.c, sysdeps/libm-ieee754/w_lgammal_r.c, + sysdeps/libm-ieee754/w_log10l.c, sysdeps/libm-ieee754/w_logl.c, + sysdeps/libm-ieee754/w_powl.c, sysdeps/libm-ieee754/w_remainderl.c, + sysdeps/libm-ieee754/w_scalbl.c, sysdeps/libm-ieee754/w_sinhl.c, + sysdeps/libm-ieee754/w_sqrtl.c: New files. Wrapper functions + around long double function implementations. - * elf/Makefile (others, install-rootsbin): New, set to - ldconfig. - (+link): New for static linking. - ($(slibdir)/$(rtld-version-installed-name)): New. - ($(slibdir)/$(rtld-installed-name)): Depend on - $(slibdir)/$(rtld-version-installed-name) and use - $(make-shlib-link) for symlink. + * sysdeps/posix/ttyname_r.c (ttyname_r): Use _D_EXACT_NAMLEN + to determine length of directory entry name. - * sunrpc/xdr.c (xdr_string): Return FALSE if sp == NULL - while XDR_ENCODE. + * posix/Makefile (routines): Add getlogin_r. + * posix/unistd.h: Add prototype for getlogin_r. + * sysdeps/stub/getlogin_r.c: New file. Reentrant version of + getlogin function, specified in P1003.1c/D6. Stub version. + * sysdeps/unix/getlogin.c (getlogin): Use ttyname_r instead of + ttyname. This avoids saving and restoring the old content. + Also use setutent_r, getutline_r and endutent_r instead of + accing UTMP file directly. + * sysdeps/unix/getlogin_r.c: New file. Reentrant version of + getlogin function, specified in P1003.1c/D6. - * sysdeps/unix/sysv/linux/a.out.h: Use #include_next for - glibc internals. +Tue Jun 4 20:10:09 1996 J.T. Conklin - * sysdeps/unix/sysv/linux/configure.in (libc_cv_rootsbindir): - New, set to "/sbin" if "$prefix" == "/usr". + * sysdeps/libm-i387/s_finitef.S: Fix mask for exponent. -Tue Jan 21 13:38:39 1997 Ulrich Drepper +Tue Jun 4 18:57:57 1996 Roland McGrath - * Makefile (distribute): Add glibcbug.in. - Reported by Philip Blundell . + * elf/dl-lookup.c (_dl_lookup_symbol): Grok magical undefined symbols + _GNU_libc_dl_{open,close,symbol} and resolve them to dl functions. - * elf/Makefile ($(objpfx)trusted-dirs.h): Create elf/ subdir in - build directory if necessary. - Reported by marcus@shannon.sysc.pdx.edu (Marcus G. Daniels). + * elf/rtld.c (rtld_map): Renamed to _dl_rtld_map, made global. + * elf/link.h: Declare _dl_rtld_map. -Tue Jan 21 04:05:20 1997 Ulrich Drepper + * elf/dl-lookup.c (_dl_symbol_value): New function. + * elf/link.h: Declare it. - * version.h (VERSION): Bump to 1.101. + * elf/dladdr.c: Remove #include , we don't use it. - Implement -d and -r option to `ldd' to check relocations. - * elf/dl-error.c: Add another method to intercept errors. - (_dl_receive_error): New function. Install user defined handler. - (receiver): New variable. Contains pointer to user provided handler. - (_dl_signal_error): If user provided handler is installed call this. - * elf/dl-load.c (_dl_map_object): When shared object is not found in - trace mode initialize a few more fields so that lookup can actually - happen but always fails. - * elf/ldd.sh.in: Rewrite argument handling. Recognize new arguments - to trigger reloation test. Return with appropriate error code if - a file wasn't found. Print warning if object is not executable. - * elf/ldd.bash.in: Likewise. - * elf/link.h (receiver_fct): New type. Used in _dl_receive_error. - (_dl_sysdep_error): New prototype. - (_dl_receive_error): New prototype. - (_dl_signal_error): Remove __attribute__ ((__noreturn__)). - * elf/rtld.c (dl_main): Rewrite argument handling. More than - one argument allowed. Recognize --data-relocs and --function-relocs - arguments. - Don't determine `lazy' mode from LD_BIND_NOW environment variable - when in trace mode. - If in trace mode and either --data-relocs or --function-relocs is - given perform relocation. Report errors using print_unresolved - function. - (print_unresolved): New function. Print information about missing - symbol on stderr. - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_error): New function. - Like _dl_sysdep_message but print to stderr. - * sysdeps/mach/hurd/dl-sysdep.c: Likewise. + * shlib-versions: Set libdl=2. - * sysdeps/generic/sockaddrcom.h: Add definition of sa_family_t. - Reported by Andreas Schwab. - (__SOCKADDR_COMMON): Use sa_family_t for family member. - * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise. + * elf/dl-deps.c (_dl_map_object_deps): Use a linked list of alloca'd + elements and then scan it to fill the single malloc'd array, instead + of using realloc to grow the array in the first pass. _dl_map_object + may do some mallocs that break our stream of reallocs, and the minimal + realloc can't handle that. - Linux/Sparc support by Miguel de Icaza. - * sysdeps/sparc/fpu_control.h: New file. - * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: New file. - * sysdeps/unix/sysv/linux/sparc/brk.c: New file. - * sysdeps/unix/sysv/linux/sparc/profil-counter.h: New file. - * sysdeps/unix/sysv/linux/sparc/sigaction.c: New file. - * sysdeps/unix/sysv/linux/sparc/socket.S: New file. - * sysdeps/unix/sysv/linux/sparc/syscall.S: New file. - * sysdeps/unix/sysv/linux/sparc/sysdep.h: New file. - * sysdeps/unix/sysv/linux/sparc/Dist: New file. - * sysdeps/unix/sysv/linux/sparc/Makefile: New file. - - * sysdeps/unix/sysv/linux/net/if_arp.h: Don't use kernel header. - Provide own definition based on 4.4BSD and Linux. - * sysdeps/unix/sysv/linux/net/ppp_defs.h: Define __u32 before - including . - * sysdeps/unix/sysv/linux/sys/msq_buf.h (struct msqid_ds): Don't - use __pid_t since the kernel might have a different size. - * sysdeps/unix/sysv/linux/sys/shm_buf.h (struct shmid_ds): Likewise. - Reported by Andreas Schwab. - - * time/asctime.c: Update copyright. - * time/dysize.c: Likewise. - * time/gmtime.c: Likewise. - * time/timegm.c: Likewise. - * time/offtime.c: Likewise. De-ANSI-declfy. - - * time/tzset.c (__tzset_internal): When TZ envvar does not name a - DST timezone don't default to offset -1. - - * sysdeps/unix/sysv/linux/net/route.h: Don't use kernel header. - Reported by a sun . - - * resolv/Makefile: Correct spelling: subdirs-dirs -> subdir-dirs. - - * sysdeps/stub/sysv_signal.c: New file. Stub implementation. - - * Makefile (distribute): Add mcheck.h. - - * nis/Makefile (distribute): Add nss-nis.h. - - * libio/Makefile (routines): Change vdprintf to iovdprintf to prevent - dist problem. - - * nss/Makefile (distribute): Add digits_dots.c. - - * sysdeps/unix/sysv/linux/Dist: Add kernel_sigaction.h. - * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/procfs.h. - * sysdeps/unix/sysv/linux/sparc/Dist: Add clone.S. - * new-malloc/Makefile (distribute): Add mcheck-init.c and mcheck.h. - -Mon Jan 20 17:54:28 1997 Sven Verdoolaege - - * manual/filesys.texi: Fix little problem (reentrant->readdir). - -Fri Jan 17 19:07:07 1997 Andreas Schwab - - * configure.in [$elf=yes]: Check for support of .previous and - .popsection in the assembler. - * config.h.in: Add HAVE_ASM_PREVIOUS_DIRECTIVE and - HAVE_ASM_POPSECTION_DIRECTIVE. - * libc-symbols.h (__make_section_unallocated) [HAVE_ELF]: Define - appropriate if either .previous or .popsection is supported. - (libc_warning) [HAVE_ELF]: Use it here. - -Sat Jan 18 22:15:26 1997 Richard Henderson - - * Makeconfig (CFLAGS-.so): Add -fno-common to prevent odd sorts of - errors that can occur when linking libc.so. - -Mon Jan 20 05:20:49 1997 Ulrich Drepper - - * elf/dl-load.c (open_path): When running setuid don't try - a directory if it is not given with the full name. - - * elf/Makefile (before-compile): New variable. Mention trusted-dirs.h. - (trusted-dirs.h): Construct file from $(default-rpath) and - $(user-defined-trusted-dirs) variables. - * elf/dl-load.c (_dl_map_object): Pass additional argument to open_path - which is NULL except for the LD_LIBRARY_PATH pass in which case it - is a pointer to the list of directories from the trusted-dirs.h - file. - (open_path): Accept additional argument with list of trusted dirs. - When running setuid and a list of trusted dirs is given only use - those which are mentioned in the list. - - * elf/rtld.c (dl_main): Don't reject whole LD_LIBRARY_PATH when - running setuid. Instead accept entries which do not contain a '/'. - - * Makeconfig: Correct comment about +(default_cflags). - -Mon Jan 20 05:11:14 1997 Hrvoje Niksic - - * time/strptime.c (recursive): Use && not || to test for valid - argument. - -Mon Jan 20 05:06:50 1997 Ulrich Drepper - - * elf/ldd.sh.in: Exit with value 1 if an error occured. - * elf/ldd.bash.in: Likewise. - - * elf/rtld.c (dl_main): Do not always ignore LD_PRELOAD when the - binary runs setuid. It is save to use those entries which do not - contain a '/'. This is compatible with Solaris-2. - -Mon Jan 20 03:02:50 1997 Ulrich Drepper - - * Make-dist: Update and reformat copyright. - * Makeconfig: Likewise. - * assert/Makefile: Likewise. - * bare/Makefile: Likewise. - * ctype/Makefile: Likewise. - * dirent/Makefile: Likewise. - * gmon/Makefile: Likewise. - * gnulib/Makefile: Likewise. - * grp/Makefile: Likewise. - * hurd/Makefile: Likewise. - * intl/Makefile: Likewise. - * mach/Makefile: Likewise. - * malloc/Makefile: Likewise. - * manual/Makefile: Likewise. - * math/Makefile: Likewise. - * po/Makefile: Likewise. - * pwd/Makefile: Likewise. - * resource/Makefile: Likewise. - * setjmp/Makefile: Likewise. - * socket/Makefile: Likewise. - * string/Makefile: Likewise. - * sunrpc/Makefile: Likewise. - * sysdeps/alpha/Makefile: Likewise. - * sysdeps/gnu/Makefile: Likewise. - * sysdeps/m68k/fpu/switch/Makefile: Likewise. - * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise. - * sysdeps/m68k/fpu/switch/switch.c: Likewise. - * sysdeps/mach/Makefile: Likewise. - * sysdeps/hurd/Makefile: Likewise. - * sysdeps/sparc/Makefile: Likewise. - * sysdeps/standalone/i960/nindy960/Makefile: Likewise. - * sysdeps/standalone/m68k/m68020/mvme136/Makefile: Likewise. - * sysdeps/unix/common/Makefile: Likewise. - * sysdeps/unix/sysv/Makefile: Likewise. - * sysdeps/unix/sysv/irix4/Makefile: Likewise. - * sysdeps/unix/sysv/sco3.2/Makefile: Likewise. - * sysdeps/unix/sysv/sysv4/Makefile: Likewise. - * sysdeps/vax/Makefile: Likewise. - * sysvipc/Makefile: Likewise. - * wcsmbs/Makefile: Likewise. - * wctype/Makefile: Likewise. - - * elf/rtld.c (dl_main): Objects in LD_PRELOAD environment variable - are separated according to Sun docs by white space not colon. - - * locale/C-time.c (_nl_C_LC_TIME): Use empty string to initialize - fields which are not defined for the C locale. - - * sysdeps/m68k/fpu/switch/Makefile: Don't use ansidecl.h in constructed - files. - * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise. - * sysdeps/m68k/fpu/switch/switch.c: Likewise. - -Sun Jan 19 19:43:31 1997 Andreas Jaeger - - * time/strptime.c: Provide prototype for strptime_internal. - -Sun Jan 19 23:46:27 1997 Ulrich Drepper - - * glibcbug.in: We don't guarantee confidential handling. Set - field to always contain `no'. - -Sun Jan 19 21:28:01 1997 Philippe De Muyter - - * intl/explodename.c: Include sys/types.h. - * intl/l10nflist.c: Likewise. - -Sat Jan 18 22:15:26 1997 Richard Henderson - - * config.make.in (install_root): New variable to make it easy to - install glibc somewhere other than /. - - * shlib-versions: alpha-*-linux-* libc=6.1. - - Since sigset_t no longer fits in a register, we can't pass in the - thread's initial mask so easily. Take this opportunity to simplify - the clone implementation by only accepting a single void* argument. - - * sysdeps/unix/sysv/linux/alpha/clone.S: Only take one argument. - * sysdeps/unix/sysv/linux/i386/clone.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/clone.S: Likewise. - * sysdeps/unix/sysv/linux/schedbits.h: Update clone prototypes. - - * sysdeps/unix/sysv/linux/alpha/ioctl-types.h: Remove. - Default Linux version should be sufficient. - - * sysdeps/unix/sysv/linux/alpha/sigprocmask.c: The osf_sigprocmask - system call wants the sigset dereferenced. - - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add entries for - __syscall_ustat and __syscall_xmknod. - * sysdeps/unix/sysv/linux/alpha/xmknod.c: Include sys/sysmacros.h. - - * sysdeps/unix/sysv/linux/sigset.h: Use longs instead of ints. - - * sysdeps/unix/sysv/linux/tcsetattr.c: Fix pointer dereferences. - - * sysdeps/unix/sysv/linux/alpha/sigsuspend.c: Add comment about - dependency to kernel type. - - * sysdeps/unix/sysv/linux/alpha/termbits.h: Correct comment. - -Sun Jan 19 04:38:20 1997 Ulrich Drepper - - * config.make.in (have-ksh, KSH): New variables. Will be filled - in by configure. - * configure.in: Add test for ksh like shell (prefer bash). - * time/Makefile (tests): Depend on install-test-data. - (distribute): Add simplebackw. - (generated-dirs): New variable. - [$(have-ksh)==yes] (install-others): Add iso3166.tab and zone.tab. - (install-bin): Add tzselect. - (install-test-data): Install the zoneinfo files which are needed - for the test case in the build directory. - (test-tz-ENV): New variable. Call test-tz program using data in - build directory. - * time/simpleback: New file. - * time/test-tz.c: Pretty print. - * time/tzfile.c: Use value of environment variable TZDIR as directory - to look for zone info files. - don't let search for DST data destroy already found values. - * time/tzselect.ksh: Use @KSH@ and @TZDIR@ to be substituted when - installing. - * time/tzset.c (__tzset_internal): Avoid freeing string twice. - Set DST zone name to normal zone name if no information is provided. - - * time/mktime.c (mktime): Call __tzset_internal to use current - value of TZ. - - * Makerules (common-clean): Remove $(generated-dirs) inclusing content. - - * glibcbug.in: Fix several bugs. Reported by several people. - - * elf/Makefile: Correct dependecies for $(objpfx)ldd. - - * inet/netinet/ip.h: Define IPTOS_LOWCOST and IPTOS_MINCOST. - - * locale/C-time.c: Update copyright. - * locale/localeinfo.h: Likewise. - * sysdeps/unix/bsd/bsd4.4/direntry.h: Likewise. - - * locale/programs/ld-time.c (time_finish): Correct message string. - * locale/programs/linereader.c (lr_token): Use correctly `number' - not `digit' in message string. - - * stdlib/strtol.c [UNSIGNED]: Don't punt immediately when `-' is - seen. Instead return ULONG_MAX and set ERANGE. - * stdlib/tst-strtol.c: Correct test to reflect above change. - -Sun Jan 19 03:22:30 1997 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sys/mtio.h: Don't use . - We must not use . - - * sysdeps/unix/sysv/linux/sys/ipc_buf.h: Don't use __kernel_* types - since we must not use . - * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/sys/ipc_buf.h: New file. Similar - to sysdeps/unix/sysv/linux/sys/ipc_buf.h, but use alpha relavent - types. - * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: New file. Similar - to sysdeps/unix/sysv/linux/sys/procfs.h, but use alpha relavent - types. - -Sun Jan 19 01:48:20 1997 H.J. Lu - - * sysdeps/libm-i387/e_exp.S: Correct computation of fractional - part. - * sysdeps/libm-i387/e_expf.S: Likewise. - * sysdeps/libm-i387/e_expl.S: Likewise. - * sysdeps/libm-i387/s_expm1.S: Correct computation of fractional - part. Take care of additional value left on stack by fscale. - * sysdeps/libm-i387/s_expm1f.S: Likewise. - * sysdeps/libm-i387/s_expm1l.S: Likewise. - -Fri Jan 17 17:45:32 1997 Ulrich Drepper - - * posix/getopt.c: Change all direct usages of `gettext' to `_'. - - * sysdeps/generic/sysd-stdio.c (__stdio_reopen): Add missing - parameter. - Reported by Harmanjit Singh . - -Thu Jan 16 23:39:25 1997 Ulrich Drepper - - * stdio-common/Makefile (tests): Add scanf11. - * stdio-common/scanf11.c: New file. - * stdio-common/vfscanf.c (__vfscanf): Increment `done' when %n - was processed and value is not suppressed. - * stdio-common/bug10.c: Correct test to expect %n increment the - return value of scanf. - * stdio-common/scanf1.c: Likewise. - * stdio-common/scanf3.c: Likewise. - * stdio-common/scanf10.c: Likewise. - * stdio-common/tstdiomisc.c: Likewise. - - * time/strptime.c: Add lots of conditional compiling to enable use - outside glibc. When used in glibc, make sure C locale format - strings will always be recognized. - -Sat Jan 11 18:53:47 1997 Andreas Schwab - - * sysdeps/unix/sysv/linux/sys/sysmacros.h (major, minor, makedev): - Fix definitions so that they work with __kernel_dev_t. - -Sat Jan 11 14:24:10 1997 Andreas Schwab - - * sysdeps/unix/sysv/linux/kernel_sigaction.h, - sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h, - sysdeps/unix/sysv/linux/sigaction.c: New files. - * sysdeps/unix/sysv/linux/syscalls.list: Add s_sigaction. - -Sun Jan 12 15:22:33 1997 Andreas Schwab - - * libc-symbols.h (link_warning): Make sure that the .gnu.warning - section is not allocated. - Update and reformat copyright. - -Sun Jan 12 12:19:28 1997 Andreas Schwab - - * elf/Makefile ($(objpfx)ldd): Fix depedency list. - -Sat Jan 11 15:11:26 1997 Andreas Schwab - - * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Fix - command so that it works in subdirectories. - -Wed Jan 8 22:07:58 1997 Andreas Schwab - - * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_getgroups and - s_setgroups. - * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/i386/getgroups.c, - sysdeps/unix/sysv/linux/i386/setgroups.c, - sysdeps/unix/sysv/linux/m68k/getgroups.c, - sysdeps/unix/sysv/linux/m68k/setgroups.c: New files. - -Wed Jan 8 19:42:59 1997 Andreas Schwab - - * Makefile (config.status): Delete bogus rule. - ($(objpfx)glibcbug): Renamed from plain `glibcbug', depend on - config.status in build directory, fix command to change to build - directory. - * Makeconfig ($(common-objpfx)config.status): Depend on version.h. - -Thu Jan 9 08:47:54 1997 Andreas Jaeger - - * glibcbug.in (while): We test for four and not five conditions, - set MAIL_AGENT instead of RMAIL, filter spaces and tabs. - -Thu Jan 16 22:00:27 1997 Ulrich Drepper - - * misc/syslog.c: Don't define cancel_handler if _LIBC_REENTRANT - is not defined. Reported by Andreas Jaeger. - -Thu Jan 9 08:47:54 1997 Andreas Jaeger - - * new-malloc/malloc.c (__MALLOC_P): define call to pthread - initializer only if NO_THREADS is not defined. - -Wed Jan 8 21:28:58 1997 Andreas Jaeger - - * resolv/nss_dns/dns-host.c: Clean-up: delete unnecessary includes - and variables. - -Thu Jan 16 21:50:27 1997 Ulrich Drepper - - * inet/arpa/inet.h: Include to get struct in_addr - defined. - -Tue Jan 7 17:29:59 1997 Andreas Schwab - - * Makerules (LDLIBS-c.so): New variable. - -Tue Jan 7 19:22:00 1997 Andreas Schwab - - * Makefile ($(includedir)/gnu/lib-names.h): Define the library - names as strings, not as sequence of tokens that may fall apart. - -Fri Jan 10 14:08:41 1997 Roland McGrath - - * time/tzfile.c (__tzfile_read): Check for bogus type and zone name - indices in data file and punt, so a bogus file can't crash us. - -Thu Jan 16 20:29:15 1997 Ulrich Drepper - - * values.h [__USE_MISC]: Define BITSPERBYTE. - -Fri Jan 17 14:16:28 1997 Thomas Bushnell, n/BSG - - * stdio/vdprintf.c: Moved file to ... - * sysdeps/posix/vdprintf.c: Here. De-ansideclificate. - * sysdeps/stub/vdprintf.c: New file. - * sysdeps/mach/hurd/vdprintf.c: New file. - -Thu Jan 9 15:59:35 1997 Thomas Bushnell, n/BSG - - * sysdeps/mach/hurd/posix_opt.h: New file. - - * sysdeps/mach/hurd/sigwait.c (sigwait): Don't affect signal mask. - - * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Finish - deansideclification. - - * sysdeps/mach/libc-lock.h: Add kludges to pretend to implement - recursive locks. - -Tue Jan 7 09:48:15 1997 Andreas Jaeger - - * signal/sigempty.c (sigemptyset): Correct typo: Empty set should - have all bits zero. - -Tue Jan 7 23:44:39 1997 Ulrich Drepper - - * inet/gethstbynm.c: Include additional headers for additional - code in nss/digits_dots.c. - * inet/gethstbynm_r.c: Likewise. - * inet/gethstbynm2.c: Likewise. - * inet/gethstbynm2_r.c: Likewise. - * nss/digits_dots.c: New file. Handle dotted pair notation for - gethstbynm functions. - * nss/getXXbyYY.c: Include digits_dots.c to get extra code for - handling dotted pair notation. - * nss/getXXbyYY_r.c: Likewise. - Patches by HJ Lu. - - * resolv/nss_dns/dns-host.c: Don't handle dotted pair notation. - - * io/getwd.c: Optimized a bit. - - * signal/signal.h: Always declare __sysv_signal. - - * sysdeps/generic/setenv.c: Add some portability code. - - * sysdeps/unix/sysv/fcntlbits.h: Update copyright. - - * sysdeps/unix/sysv/linux/fcntlbits.h: Add definitions from kernel - to avoid using kernel headers. - * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: New file. Alpha - specific version. - - * sysdeps/unix/sysv/linux/syscalls.list: Add sys_mknod. Don't - mark sigreturn as EXTRA. - - * sysdeps/unix/sysv/linux/ustat.c: Declare __syscall_ustat. - * sysdeps/unix/sysv/linux/alpha/ustat.c: New file. Alpha version. - -Tue Jan 7 09:48:15 1997 Andreas Jaeger - - * io/fts.c (fts_alloc): Add const to second parameter of function. - - * io/Makefile: Change CFLAGS-fts.c and define CFLAGS-ftw.c to - prevent warnings. - - * signal/sigfillset.c: Include for memset declaration. - -Tue Jan 7 11:14:32 1997 Miles Bader - - * sysdeps/generic/setenv.c: Fix portability problems. - -Tue Jan 7 02:10:17 1997 Ulrich Drepper - - * posix/getopt.c (_getopt_internal): Don't reset __getopt_initialized - after the last option was seen. - -Mon Jan 6 15:30:21 1997 Ulrich Drepper - - * elf/elf.h (DT_EXTRANUM): Set to 3 since 0x7ffffffd is used. - -Mon Jan 6 13:57:05 1997 Ulrich Drepper - - * io/ftw.c: Add `const' to second parameter of function given as - second parameter to ftw. - * io/ftw.h: Likewise for prototype. - Reported by Ronald F. Guilmette . - -Thu Jan 2 23:44:39 1997 Philip Blundell - - * inet/Makefile (headers): Add netinet/ip.h. - * inet/netinet/ip.h: New file, contains BSD definitions for struct - ip and friends. - -Fri Jan 3 23:17:11 1997 Andreas Schwab - - * string/string.h (strnlen): Add cast for C++. - -Mon Jan 6 03:31:46 1997 Ulrich Drepper - - * Makefile (install-bin): Define as glibcbug to install script. - (glibcbug): New rules. Create from glibcbug.in. - * configure.in (AC_OUTPUT): Generate glibcbug script. - * glibcbug.in: New file. - * version.c: Mention glibcbug to report bugs. - * catgets/gencat.c: Likewise. - * db/makedb.c: Likewise. - * locale/programs/locale.c: Likewise. - * locale/programs/localedef.c: Likewise. - * elf/ldd.bash.in: Likewise. - * elf/ldd.sh.in: Likewise. - * intl/locale.alias: Likewise. - - * mcheck.h: New file. Necessary since mcheck.h is used in time/ap.c. - - * set-init.c: Update and reformat copyright. - * version.c: Likewise. - * signal/sigaddset.c: Likewise. - * signal/sigdelset.c: Likewise. - * signal/sigempty.c: Likewise. - * signal/sigfillset.c: Likewise. - * signal/siggetmask.c: Likewise. - * signal/sigismem.c: Likewise. - * sysdeps/generic/speed.c: Likewise. - * sysdeps/unix/getdents.c: Likewise. - * sysdeps/unix/xmknod.c: Likewise. - * sysdeps/unix/bsd/poll.c: Likewise. - * sysdeps/unix/bsd/tcdrain.c: Likewise. - * sysdeps/unix/bsd/tcflow.c: Likewise. - * sysdeps/unix/bsd/tcflush.c: Likewise. - * sysdeps/unix/bsd/tcgetpgrp.c: Likewise. - * sysdeps/unix/bsd/tcsendbrk.c: Likewise. - * sysdeps/unix/bsd/tcsetpgrp.c: Likewise. - * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c: Likewise. - * sysdeps/unix/sysv/getdents.c: Likewise. - * sysdeps/unix/sysv/i386/sigreturn.S: Likewise. - * termios/Makefile: Likewise. - * termios/cfmakeraw.c: Likewise. - * termios/cfsetspeed.c: Likewise. - - * version.h: Bump VERSION to 1.100. - - * intl/finddomain.c: Defining stpcpy function isn't necessary. - - * libio/genops.c (_IO_init): Use _IO_lock_init instead of - _IO_lock_init_recursive. - * libio/stdfiles.c (DEF_STDFILE): Use _IO_lock_initializer instead - of _IO_lock_init. - - * locale/programs/charmap.c (obstack_chunk_alloc): Use malloc instead - of xmalloc. - * locale/programs/ld-collate.c: Likewise. - * locale/programs/simple-hash.c: Likewise. - - * misc/Makefile (headers): Add selectbits.h. - * misc/sys/select.h: Include to get necessary - definitions. - * sysdeps/generic/selectbits.h: New file. Generic macros for - handling file descriptor sets. - * sysdeps/i386/selectbits.h: New file. i386 specific macros for - handling file descriptor sets. - * sysdeps/generic/gnu/types.h: Remove _FD_* macros. - - * misc/mntent_r.c: Fix handling of multiple, comma-separated - options. Patch by Sai-Lai Lo . - - * po/de.po: Update. - * po/ko.po: Update. - * po/sv.po: Update. - - * posix/getopt.c: Only use the bash generated environment variable - to determine non-option parameters when using in GNU libc and if - the argument vector given to getopt is the same as given to the - program. - - * posix/unistd.h [__USE_GNU]: Declare environ. - - * posix/sys/types.h (key_t): Also define when __USE_XOPEN. - - * resolv/res_debug.c: Add casts to prevent warnings. - * resolv/res_query.c: Likewise. - - * resolv/nss_dns/dns-host.c: Change type for buffer size arguments - to `size_t'. - * resolv/nss_dns/dns-network.c: Likewise. - - * signal/sigempty.c: Use memset to initialize variable. - * signal/sigfillset.c: Likewise. - - * signal/signal.h: Change back handling of signal. The BSD - version is preferred and the new sysv_signal is used when - __USE_XOPEN. - * sysdeps/posix/sysv_signal.c: Renamed from signal.c. Use SVID - semantic. - * sysdeps/posix/signal.c: Renamed from bsd_signal.c. Use BSD - semantic. - * sysdpes/posix/sigpause.c: Correct comment. - * sysdeps/stub/sigpause.c: Provide default implementation. - * signal/Makefile (routines): Remove bsd_signal, add sysv_signal. - - * sysdeps/generic/abort.c: Allow repeated calls to abort if - a user defined handler for SIGABRT is installed. - - * sysdeps/stub/libc-lock.h: Define separate set of macros for - handling recursive mutexes. - - * sysdeps/unix/Makefile: Change rule to generate syscall.h file - so that it is generate in the sys/ subdir. - - * sysdeps/unix/sysv/linux/Dist: Add kernel_termios.h. - * sysdeps/unix/sysv/linux/alpha/Dist: Add kernel_termios.h and - sys/acct.h. - - * sysdeps/unix/sysv/linux/direntry.h: Don't use struct dirent from - kernel. Define own version with additional field d_type. - * sysdeps/unix/sysv/linux/getdents.c: New file. Reformat dirent - entries after reading from kernel. - - * sysdeps/unix/sysv/linux/gnu/types.h: Don't use kernel headers. - Define types based on kernel types except for uid_t, gid_t, mode_t, - dev_t which are larger now. - * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Likewise. - - * sysdeps/unix/sysv/linux/ioctl-types.h: Don't include - . Define structure here. - * sysdeps/unix/sysv/linux/alpha/ioctl-types.h: Likewise. - * sysdeps/unix/sysv/linux/kernel_termios.h: New file. Define - architecture dependent struct termio type. - * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Likewise. - * sysdeps/unix/sysv/linux/sigset.h: Define extended sigset_t type. - * sysdeps/unix/sysv/linux/sigsuspend.c: Pass first word of array - to syscall. - - * sysdeps/unix/sysv/linux/socketbits.h: Don't use kernel header. - * sysdeps/unix/sysv/linux/statfsbuf.h: Likewise. - * sysdeps/unix/sysv/linux/termbits.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/termbits.h: Likewise. - * sysdeps/unix/sysv/linux/ustatbits.h: Likewise. - * sysdeps/unix/sysv/linux/net/if.h: Likewise. - * sysdeps/unix/sysv/linux/netinet/in.h: Likewise. - * sysdeps/unix/sysv/linux/sys/acct.h: Likewise. - - * sysdeps/unix/sysv/linux/sys/sysmacros.h (minor, major, mkdev): - Change definitions to fit new dev_t definition. - - * sysdeps/unix/sysv/linux/syscalls.list: Add getdents and sigreturn. - Rename ustat to s_ustat since wrapper is needed. - - * sysdeps/unix/sysv/linux/tcgetattr.c: After getting value from - kernel rewrite it to userland level data format. - * sysdeps/unix/sysv/linux/tcsetattr.c: Before calling kernel change - data format to kernel format. - * sysdeps/unix/sysv/linux/ustat.c: New file. Change format of - device parameter to format needed by kernel. - * sysdeps/unix/sysv/linux/alpha/ustat.c: Likewise. - * sysdeps/unix/sysv/linux/xmknod.c: New file. Extend generic - version to change device parameter to format needed by kernel. - * sysdeps/unix/sysv/linux/alpha/xmknod.c: Likewise. - - * sysdeps/unix/sysv/linux/alpha/sys/acct.h: New file. Alpha specific - definition of accounting structure. - - * sysdeps/unix/sysv/linux/sys/ptrace.h: Include . - Patch by Andreas Schwab. - - * time/ap.c: Include . - - * time/tzset.c (__tzset_internal): Change to take one argument - which tells whether examining of TZ is always wanted or only if - no initialization happened before. - * time/localtime.c: (localtime, __localtime_r): Change for new - __tzset_internal form. - - * time/sys/time.h: Include to get select related - declarations. - -Mon Jan 6 01:58:21 1997 Richard Henderson - - * sysdeps/alpha/dl-machine.h (elf_machine_dynamic): Work around - bug in GNU ld. - -Mon Jan 6 01:35:29 1997 H.J. Lu - - * misc/getpass.c: Make sure the content of the input buffer is not - printed if the getpass function is interrupted. - -Sat Jan 4 17:07:08 1997 Roland McGrath - - * md5-crypt/Makefile (rpath-link): Add md5-crypt objdir, not crypt. - -Thu Jan 2 17:58:23 1997 Roland McGrath - - * sysdeps/generic/abort.c: Include for memset decl. - - * new-malloc/mcheck.c [_LIBC || STDC_HEADERS || USG]: Include - so memset is declared. - -Tue Dec 31 21:16:05 1996 Roland McGrath - - * elf/dl-deps.c (_dl_map_object_deps): Support DT_AUXILIARY. - - * elf/dl-error.c (_dl_catch_error): Save and restore old catch site so - calls can be nested. - - * elf/link.h (struct link_map): Extend `l_info' by DT_EXTRANUM elts. - * elf/dynamic-link.h (elf_get_dynamic_info): Grok tags in the Sun - extension range. - - * elf/elf.h (DT_AUXILIARY, DT_FILTER, DT_EXTRANUM): New constant - macros, for Sun extensions. - (DT_EXTRATAGID): New macro to convert Sun extension tag values placed - near the top of the processor-specific range into zero-origin indices. - - * elf/dl-deps.c (_dl_map_object_deps): Check for malloc failure. - -Sat Jan 4 22:25:01 1997 Andreas Jaeger - - * libio/fcloseall.c: Include stdio.h for prototype declaration for - __fcloseall. - -Thu Jan 2 17:35:20 1997 Thomas Bushnell, n/BSG - - * sysdeps/posix/signal.c: Provide ignorable definitions of - SA_ONESHOT, SA_NOMASK, and SA_INTERRUPT for non-threads Posix - systems. - -Thu Jan 2 23:20:51 1997 Andreas Schwab - - * MakeTAGS ($P/siglist.pot): Delete rule. - (XGETTEXTFLAGS-siglist.pot): Remove definition. - (all-pot): Remove $P/siglist.pot. - * sysdeps/unix/siglist.c: Mark strings as translatable. - * sysdeps/unix/sysv/linux/siglist.h: Likewise. - -Wed Jan 1 22:21:18 1997 Andreas Schwab - - * misc/syscall.h: New file. - * misc/sys/syscall.h: Removed. Forwarding to might - find user header, so do it the other way round. - * sysdeps/mach/sys/syscall.h: Moved here from parent directory. - * sysdeps/stub/sys/syscall.h: Likewise. - * sysdeps/unix/sysv/linux/sys/syscall.h: Likewise. - * sysdeps/unix/sysv/sco3.2.4/sys/syscall.h: Likewise. - * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Update - dependency. - * sysdeps/unix/sysdep.h: Include instead of - . - -Tue Dec 31 00:03:18 1996 Andreas Schwab - - * features.h: Fix typo. - -Thu Jan 2 00:46:09 1997 Ulrich Drepper - - * libio/_G_config.h: Add _G_HAVE_LONG_DOUBLE_IO for libg++. - -Wed Jan 1 15:15:00 1997 Ulrich Drepper - - * libio/Makefile (routines): Add fcloseall. - * libio/fcloseall.c: New file. - * libio/stdio.h [__USE_GNU]: Add prototype for fcloseall. - * libio/iofclose.c: Don't close all streams when argument is NULL. - - * stdio/Makefile (routines): Add fcloseall. - * stdio/fcloseall.c: New file. - * stdio/stdio.h [__USE_GNU]: Add prototype for fcloseall. - * stdio/fclose.c: Don't close all streams when argument is NULL. - - * manual/stdio.texi: Document fcloseall. - - * sysdeps/generic/abort.c: Call __fcloseall instead of fclose with - NULL argument. - - * socket/sys/un.h (SUN_LEN): Add cast. - - * sunrpc/auth_unix.c (authunix_create): Change parameter types - of uid, gid, and aup_gids to uid_t and gid_t respectively. - (authunix_create_default): Likewise. - (authunix_refresh): Correct cast for aup_gids assignment. - * sunrpc/rpc/auth.h (authunix_create): Correct types in declaration. - * sunrpc/rpc/auth_unix.h (struct authunix_parms): Correct field - types to uid_t and gid_t respectively. - (struct short_hand_verf): Likewise. - Reported by Andreas Schwab. - - * sysdeps/ieee754/Makefile: New file. Make sure ieee754.h gets - installed. - * sysdeps/ieee754/ieee754.h: Protect against multiple inclusion and - use in C++ programs. - - * sysdeps/libm-i387/e_pow.S: New file. Optimized ix87 assembler - version of pow() function. - * sysdeps/libm-i387/e_powf.S: New file. Float version. - * sysdeps/libm-i387/e_powl.S: New file. Long double version. - - * sysdeps/libm-i387/s_expm1.S: New file. Optimized ix87 assembler - version of expm1() function. - * sysdeps/libm-i387/s_expm1f.S: New file. Float version. - * sysdeps/libm-i387/s_expm1l.S: New file. Long double version. - - * sysdeps/libm-i387/e_exp.S: Optimize handling of +-Inf. - Better handling of computation stack from current NetBSD sources. - * sysdeps/libm-i387/e_expf.S: Likewise. - * sysdeps/libm-i387/e_expl.S: Likewise. - - * sysdeps/libm-i387/e_log.S: Use fstp instead of fincstp. - * sysdeps/libm-i387/e_logf.S: Likewise. - * sysdeps/libm-i387/e_logl.S: Likewise. - * sysdeps/libm-i387/e_log10.S: Likewise. - * sysdeps/libm-i387/e_log10f.S: Likewise. - * sysdeps/libm-i387/e_log10l.S: Likewise. - * sysdeps/libm-i387/s_asinh.S: Likewise. - * sysdeps/libm-i387/s_asinhf.S: Likewise. - * sysdeps/libm-i387/s_asinhl.S: Likewise. - * sysdeps/libm-i387/s_significandl.S: Likewise. - - * sysdeps/libm-i387/s_ceil.S: Don't create stack frame. Modify - stack pointer directly. Use 32 bit instead of 16 bit operations. - * sysdeps/libm-i387/s_ceilf.S: Likewise. - * sysdeps/libm-i387/s_ceill.S: Likewise. - * sysdeps/libm-i387/s_floor.S: Likewise. - * sysdeps/libm-i387/s_floorf.S: Likewise. - * sysdeps/libm-i387/s_floorl.S: Likewise. - - * sysdeps/libm-ieee754/e_coshf.c (huge): Don't declare volatile. - * sysdeps/libm-ieee754/e_expf.c: Likewise. - * sysdeps/libm-ieee754/e_powf.c: Likewise. - From current NetBSD sources. - - * sysdeps/libm-ieee754/e_hypot.c (__ieee754_hypot): Don't initialize - `a' and `b' in definition. - * sysdeps/libm-ieee754/e_hypotf.c: Likewise. - - * sysdeps/libm-ieee754/e_hypotl.c: New file. Long double - implementation. - * sysdeps/libm-ieee754/e_sinhl.c: New file. Long double - implementation. - * sysdeps/stub/e_hypotl.c: Removed. We have a real version now. - * sysdeps/stub/e_sinhl.c: Removed. - - * sysdeps/posix/sigpause.c (__sigpause): Use sigdelset instead of - sigaddset. Reported by Andreas Schwab. - (__default_sigpause): New function. Call __sigpause as BSD version. - Make this the default function by providing alias sigpause. - * sysdeps/stub/sigpause.c (__default_sigpause): New funciton. - Simply fail. Provide alias sigpause. - -Wed Jan 1 12:34:54 1997 Ulrich Drepper - - * po/es.po: Update for glibc-1.98. - * po/fr.po: Likewise. - * po/sv.po: New file. Swedish translation. - -Wed Jan 1 12:18:07 1997 MacGyver - - * values.h: Fix typos: use SHRT_MAX but SHORT_MAX and SHRT_MIN but - SHORT_MIN. - -Tue Dec 24 23:10:21 1996 Andreas Schwab - - * Makefile: Replace `stubs.h' by `gnu/stubs.h'. - * features.h: Include instead of . - -Tue Dec 24 22:16:55 1996 Andreas Schwab - - * Makefile (subdirs): Move `elf' last so that librtld.so isn't - relinked in the `make others' pass if an add-on adds something to - libc. - -Mon Dec 23 21:23:16 1996 Andreas Schwab - - * sysdeps/m68k/abort-instr.h: New File. - -Mon Dec 23 21:16:38 1996 Andreas Schwab - - * sysdeps/m68k/Makefile ($(subdir)=elf): Define CFLAGS-rtld.c - to prevent warning. - -Mon Dec 23 21:14:22 1996 Andreas Schwab - - * resolv/Makefile (subdirs-dirs): Define. - -Mon Dec 23 20:56:49 1996 Andreas Schwab - - * sysdeps/gnu/utmpbits.h (struct utmp): Fix padding. - -Mon Dec 30 11:05:11 1996 Ulrich Drepper - - Update from ADO tzcode1996o. - * time/difftime.c: De-ANSI-declfy. Simplify computation of hibit - according to ADO version. - * time/zic.c: Correct typo is message. - - Update from ADO tzdata1996n. - * time/asia: Updated. - * time/australasia: Likewise. - * time/europe: Likewise. - * time/northamerica: Likewise. - * time/southamerica: Likewise. - -Mon Dec 30 01:32:59 1996 Ulrich Drepper - - * tme/localtime.c: Rewrite so that localtime_r does not call tzset, - but localtime does. - - * features.h: Rename ANSI C to ISO C. - Mention __GLIBC__ and __GLIBC_MINOR__ macros. - - * gnu-versions.h: Add _GNU_GETOPT_INTERFACE_VERSION. - * posix/getopt.c: Use _GNU_GETOPT_INTERFACE_VERSION to check - whether we can elide the code. - * posix/getopt1.c: Likewise. - * posix/Makefile: Correct copyright. - - * elf/dl-error.c (_dl_catch_error): Clear `catch' also when error - occurred. - * elf/dl-support.c (_dl_sysdep_open_zero_fill): Don't define if - MAP_ANON is defined. - * elf/eval.c: Use __getline instead of getline. - * elf/rtld.c (dl_main): Check return value of _dl_new_object - function for NULL. - * sysdeps/generic/dl-cache.c: Update copyright. - - * signal/Makefile: Correct copyright. - (routines): Remove gsignal and ssignal. Add bsd_signal. - * signal/gsignal.c: Removed. Now is made an alias. - * signal/ssignal.c: Likewise. - * sysdeps/posix/raise.c: Add alias gsignal. - * sysdeps/stub/raise.c: Likewise. - * sysdeps/posix/signal.c: Add alias ssignal. - * sysdeps/stub/signal.c: Likewise. - * signal/signal.h: Declare bsd_signal. Define signal as bsd_signal - if __FAVOR_BSD. - * sysdeps/posix/bsd_signal.c: New file. Implementation of XPG - function. This is the old signal.c file. - * sysdeps/posix/signal.c: Change to have semantic of X/Open. - - * sysdeps/unix/sysv/linux/signal.c: Add explanation. - - * socket/sys/un.h: Define SUN_LEN according to POSIX.1g. - - * stdio-common/Makefile (tests): Add scanf10. - * stdio-common/scanf10.c: New file. - * stdio-common/vfscanf.c: Decrement counter if EOF is read while - reading string. - - * sysdeps/libm-i387/e_acos.S: Use END, not PSEUDO_END. - * sysdeps/libm-i387/e_acosl.S: Likewise. - * sysdeps/libm-i387/e_asin.S: Likewise. - * sysdeps/libm-i387/e_asinl.S: Likewise. - * sysdeps/libm-i387/e_atan2.S: Likewise. - * sysdeps/libm-i387/e_atan2f.S: Likewise. - * sysdeps/libm-i387/e_atan2l.S: Likewise. - * sysdeps/libm-i387/e_exp.S: Likewise. - * sysdeps/libm-i387/e_expl.S: Likewise. - * sysdeps/libm-i387/e_fmod.S: Likewise. - * sysdeps/libm-i387/e_fmodl.S: Likewise. - * sysdeps/libm-i387/e_log.S: Likewise. - * sysdeps/libm-i387/e_log10.S: Likewise. - * sysdeps/libm-i387/e_log10l.S: Likewise. - * sysdeps/libm-i387/e_logl.S: Likewise. - * sysdeps/libm-i387/e_remainder.S: Likewise. - * sysdeps/libm-i387/e_remainderf.S: Likewise. - * sysdeps/libm-i387/e_remainderl.S: Likewise. - * sysdeps/libm-i387/e_scalb.S: Likewise. - * sysdeps/libm-i387/e_scalbl.S: Likewise. - * sysdeps/libm-i387/e_sqrt.S: Likewise. - * sysdeps/libm-i387/e_sqrtf.S: Likewise. - * sysdeps/libm-i387/e_sqrtl.S: Likewise. - * sysdeps/libm-i387/s_atan.S: Likewise. - * sysdeps/libm-i387/s_atanf.S: Likewise. - * sysdeps/libm-i387/s_atanl.S: Likewise. - * sysdeps/libm-i387/s_ceil.S: Likewise. - * sysdeps/libm-i387/s_ceilf.S: Likewise. - * sysdeps/libm-i387/s_ceill.S: Likewise. - * sysdeps/libm-i387/s_copysign.S: Likewise. - * sysdeps/libm-i387/s_copysignf.S: Likewise. - * sysdeps/libm-i387/s_copysignl.S: Likewise. - * sysdeps/libm-i387/s_cos.S: Likewise. - * sysdeps/libm-i387/s_cosf.S: Likewise. - * sysdeps/libm-i387/s_cosl.S: Likewise. - * sysdeps/libm-i387/s_finite.S: Likewise. - * sysdeps/libm-i387/s_finitef.S: Likewise. - * sysdeps/libm-i387/s_finitel.S: Likewise. - * sysdeps/libm-i387/s_floor.S: Likewise. - * sysdeps/libm-i387/s_floorf.S: Likewise. - * sysdeps/libm-i387/s_floorl.S: Likewise. - * sysdeps/libm-i387/s_ilogb.S: Likewise. - * sysdeps/libm-i387/s_ilogbf.S: Likewise. - * sysdeps/libm-i387/s_ilogbl.S: Likewise. - * sysdeps/libm-i387/s_log1p.S: Likewise. - * sysdeps/libm-i387/s_log1pf.S: Likewise. - * sysdeps/libm-i387/s_log1pl.S: Likewise. - * sysdeps/libm-i387/s_logb.S: Likewise. - * sysdeps/libm-i387/s_logbf.S: Likewise. - * sysdeps/libm-i387/s_logbl.S: Likewise. - * sysdeps/libm-i387/s_rint.S: Likewise. - * sysdeps/libm-i387/s_rintf.S: Likewise. - * sysdeps/libm-i387/s_rintl.S: Likewise. - * sysdeps/libm-i387/s_scalbn.S: Likewise. - * sysdeps/libm-i387/s_scalbnf.S: Likewise. - * sysdeps/libm-i387/s_scalbnl.S: Likewise. - * sysdeps/libm-i387/s_significand.S: Likewise. - * sysdeps/libm-i387/s_significandf.S: Likewise. - * sysdeps/libm-i387/s_significandl.S: Likewise. - * sysdeps/libm-i387/s_sin.S: Likewise. - * sysdeps/libm-i387/s_sinf.S: Likewise. - * sysdeps/libm-i387/s_sinl.S: Likewise. - - * sysdeps/libm-i387/e_log.S: Use fyl2xp1 instruction for values - near 1 to increase precision. - * sysdeps/libm-i387/e_log10.S: Likewise. - * sysdeps/libm-i387/e_log10l.S: Likewise. - * sysdeps/libm-i387/e_logl.S: Likewise. - - * sysdeps/libm-i387/s_cos.S: Use testl instead of andw. - * sysdeps/libm-i387/s_cosl.S: Likewise. - * sysdeps/libm-i387/s_sin.S: Likewise. - * sysdeps/libm-i387/s_sinl.S: Likewise. - * sysdeps/libm-i387/s_tan.S: Likewise. - * sysdeps/libm-i387/s_tanl.S: Likewise. - - * sysdeps/libm-i387/e_acosf.S: New file. Add float versions. - * sysdeps/libm-i387/e_asinf.S: Likewise. - * sysdeps/libm-i387/e_expf.S: Likewise. - * sysdeps/libm-i387/e_fmodf.S: Likewise. - * sysdeps/libm-i387/e_log10f.S: Likewise. - * sysdeps/libm-i387/e_logf.S: Likewise. - * sysdeps/libm-i387/e_scalbf.S: Likewise. - - * sysdeps/libm-i387/e_acosh.S: New file. Highly optimized versions. - * sysdeps/libm-i387/e_acoshf.S: Likewise. - * sysdeps/libm-i387/e_acoshl.S: Likewise. - * sysdeps/libm-i387/e_atanh.S: Likewise. - * sysdeps/libm-i387/e_atanhf.S: Likewise. - * sysdeps/libm-i387/e_atanhl.S: Likewise. - * sysdeps/libm-i387/e_asinh.S: Likewise. - * sysdeps/libm-i387/e_asinhf.S: Likewise. - * sysdeps/libm-i387/e_asinhl.S: Likewise. - - * sysdeps/libm-ieee754/s_asinhf.c: Tweak a bit. Use lower levels - for simplified handling. - - * sysdeps/unix/sysv/linux/syscalls.list: Add query_module. - -Sun Dec 22 01:39:29 1996 Andreas Schwab - - * inet/rcmd.c (rcmd): Set h_errno before calling herror. - * inet/rexec.c (rexec): Likewise. - -Sat Dec 21 21:47:08 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/setjmp.c (__setjmp): Make it really - compatible. - -Sun Dec 22 03:23:33 1996 Ulrich Drepper - - * sysdeps/libm-i387/s_log1p.S: Use fyl2xp1 for numbers in range - -0.29 <= x <= 0.29, otherwise the old method. - * sysdeps/libm-i387/s_log1pf.S: Likewise. - * sysdeps/libm-i387/s_log1pl.S: Likewise. - -Sun Dec 22 00:01:27 1996 Ulrich Drepper - - * inet/getnetgrent.c: Reformat copyright. - - * inet/getnetgrent_r.c (__internal_endnetgrent): Correct comment. - (__internal_getnetgrent): Rename to __internal_getnetgrent_r as - required in change nis/nss_compat/* at Thu Dec 19 14:24:50 1996. - Reported by Thorsten Kukuk . - - * nss/nss_files/files-netgrp.c: Fix typo. - * login/utmp_db.c: Comment out unused variables. - * misc/tst-dirname.c: Provide prototype for main (for now). - * new-malloc/mcheck-init.c: Include . - * new-malloc/obstack.c: Provide real prototypes. - - * resolv/base64.c (b64_ntop): Use size_t as type of `i', not int. - (b64_pton): Likewise for `tarindex'. - * resolv/nsap_addr.c (inet_nsap_addr): Add cast to prevent warning. - - * stdio-common/Makefile: Add CFLAGS-vfprintf.c to prevent warning. - * stdio-common/printf-parse.h: Remove definition of MIN and MAX. - * stdio-common/printf-prs.c: Include to get MIN and MAX. - * stdio-common/vfprintf.c: Likewise. - * stdlib/gmp-impl.h: Only define MIN and MAX if not already done. - * stdlib/tst-strtol.c: Don't use -2147483648 as unsigned long value. - - * sysdeps/generic/Makefile ($(subdir)=string): Define - CFLAGS-wordcopy.c to prevent warning. - * sysdeps/generic/mul_n.c (mpn_mul_n): Don't define as inline. - * sysdeps/generic/wordcopy.c: De-ANSI-declfy. - * sysdeps/i386/Makefile ($(subdir)=elf): Define CFLAGS-rtld.c - to prevent warning. - * sysdeps/i386/dl-machine.h: Correct copyright. - * sysdeps/unix/closedir.c: Likewise. - * sysdeps/unix/dirstream.h: Likewise. - * sysdeps/unix/opendir.c: Likewise. - * time/tzset.c: Add prototype for __tzset_internal. - - * sysdeps/gnu/utmpbits.h (enum utlogin): Comment out since the - way it is supposed to work is not yet known. - (struct utmp): Remove ut_login and ut_syslen field for now. - -Sat Dec 21 16:23:54 1996 Ulrich Drepper - - * time/strftime.c: Fix another bug in handling flags made it - impossible to use the `-', `_', or `0' flag. - -Sat Dec 21 04:14:16 1996 Ulrich Drepper - - * sysdeps/unix/common/pause.c: Add missing second argument in - call to __sigpause. - Reported by a sun . - - * locale/weight.h: Correct handling of collation elements. - Reported by Keld Simonsen . - - * manual/time.texi: Document ^ flag and %P format. - - * new-malloc/malloc.c: Update from Wolfram Gloger. - - * nss/nss.h: Reformat copyright. - * posix/sched.h: Likewise. - * sysdeps/i386/fpu_control.h: Likewise. - * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise. - * sysdeps/unix/sysv/linux/ioctls.h: Likewise. - * sysdeps/unix/sysv/linux/sigcontext.h: Likewise. - * sysdeps/unix/sysv/linux/utsnamelen.h: Likewise. - * sysdeps/unix/sysv/linux/sys/acct.h: Likewise. - * sysvips/sys/msg.h: Likewise. - - * stdio-common/Makefile (routines): Remove fcloseall. - * stdio-common/fcloseall.c: Removed. - - * stdlib/Makefile (distribute): Add abort-instr.h. - * sysdeps/generic/abort-instr.h: New file. - * sysdeps/i386/abort-instr.h: New file. - * sysdeps/generic/abort.c: Use lock and stage counter to prevent - any form of loop. - - * sysdeps/unix/sysv/linux/timebits.h: Define CLK_TCK as 100. - * sysdeps/unix/sysv/linux/alpha/timebits.h: Define CLOCKS_PER_SEC - as 1000000. Define CLK_TCK as 1024. - * time/time.c (CLK_TCK): Define only if not already set. - - * time/strftime.c: Don't use `isdigit' when computing field width - from string since the locale might have more than one digit - block. - -Fri Dec 20 12:38:14 1996 Darrel Hankerson - - * posix/getopt.c (in -W option handling): Return when optind == argc. - -Thu Dec 19 14:24:50 1996 Andreas Schwab - - * nis/nss_nis/nis-alias.c (_nss_nis_parse_aliasent): Add const to - type of KEY. - - * nis/nss_compat/compat-grp.c: Include the declaration of the file - parser. - * nis/nss_compat/compat-pwd.c: Likewise. - * nis/nss_compat/compat-spwd.c: Likewise. - * nis/nss_nis/nis-ethers.c: Likewise. - * nis/nss_nis/nis-grp.c: Likewise. - * nis/nss_nis/nis-network.c: Likewise. - * nis/nss_nis/nis-proto.c: Likewise. - * nis/nss_nis/nis-pwd.c: Likewise. - * nis/nss_nis/nis-rpc.c: Likewise. - * nis/nss_nis/nis-spwd.c: Likewise. - - * nis/nss_compat/compat-grp.c (getgrent_next_nis, - getgrent_next_file): Pass the correct type for the buffer to the - parser function. - * nis/nss_compat/compat-pwd.c (getpwent_next_netgr, - getpwent_next_nis, getpwent_next_file): Likewise. - * nis/nss_compat/compat-spwd.c (getspent_next_netgr, - getspent_next_nis, getspent_next_file): Likewise. - * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r, - _nss_nis_getethernam_r, _nss_nis_getetherbyaddr_r): Likewise. - * nis/nss_nis/nis-grp.c (internal_nis_getgrent_r, - _nss_nis_getgrnam_r, _nss_nis_getgrgid_r): Likewise. - * nis/nss_nis/nis-network.c (internal_nis_getnetent_r, - _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise. - * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r, - _nss_nis_getprotobyname_r, _nss_nis_getprotobynumber_r): Likewise. - * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r, - _nss_nis_getpwnam_r, _nss_nis_getpwuid_r): Likewise. - * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r, - _nss_nis_getrpcbynumber_r): Likewise. - * nis/nss_nis/nis-spwd.c (internal_nis_getspent_r, - _nss_nis_getspnam_r): Likewise. - -Thu Dec 19 13:37:16 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/setjmp.c: New file. - -Thu Dec 19 23:28:33 1996 Ulrich Drepper - - * resolv/resolv.h: Update from BIND 4.9.5-P1. - * resolv/res_comp.c: Likewise. - * resolv/res_debug.c: Likewise. - * resolv/Banner: Update version number. - -Thu Dec 19 20:58:53 1996 Ulrich Drepper - - * elf/dlfcn.h: Add extern "C" wrapper. - - * io/utime.h: Don't define NULL since this isn't allowed in POSIX. - * io/sys/stat.h: Declare `lstat' only if __USE_BSD || - __USE_XOPEN_EXTENDED. - * locale/locale.h: Define NULL. - * math/math.c: Don't include to define math errors. - * stdlib/stdlib.h: Likewise. - * posix/unistd.h: Don't declare environ. - * posix/sys/utsname.h (struct utsname): Declare member domainname - as __domainname is !__USE_GNU. - * signal/signal.h: Declare size_t only if __USE_BSD || - __USE_XOPEN_EXTENDED. - * stdio/stdio.h: Don't declare cuserid when __USE_POSIX, but - instead when __USE_XOPEN. - * string/string.h: Define strndup only if __USE_GNU. - * sysdeps/unix/sysv/linux/clock.c: New file. - * sysdeps/unix/sysv/linux/timebits.h: Define CLOCKS_PER_SEC as - 1000000 per X/Open standard. - * features.h: Add code to recognize _POSIX_C_SOURCE value 199309. - Define __USE_POSIX199309. - * posix/unistd.h: Declare fdatasync only if __USE_POSIX199309. - * time/time.c: Declare nanosleep only if __USE_POSIX199309. - Patches by Rüdiger Helsch . - - * locale/locale.h: Add declaration of newlocale and freelocale. - - * new-malloc/Makefile (distibute): Add mtrace.awk. - (dist-routines): Add mcheck and mtrace. - (install-lib, non-lib.a): Define as libmcheck.a. - * new-malloc/malloc.h: Add declaration of __malloc_initialized. - * new-malloc/mcheck.c: New file. - * new-malloc/mcheck.h: New file. - * new-malloc/mtrace.c: New file. - * new-malloc/mtrace.awk: New file. - - * posix/unistd.h: Correct prototype for usleep. - * sysdeps/unix/bsd/usleep.c: De-ANSI-declfy. Correct return type. - * sysdeps/unix/sysv/linux/usleep.c: Real implementation based on - nanosleep. - - * signal/signal.h: Change protoype of __sigpause to take two - arguments. Remove prototype for sigpause. Add two different - macros named sigpause selected when __USE_BSD or __USE_XOPEN - are defined. This is necessary since the old BSD definition - of theis function collides with the X/Open definition. - * sysdeps/posix/sigpause.c: Change function definition to also - fit X/Open definition. - - * sysdeps/libm-i387/e_exp.S: Make sure stack is empty when the - function is left. - * sysdeps/libm-i387/e_expl.S: Likewise. - Patch by HJ Lu. - -1996-12-17 Paul Eggert - - * many, many files: Spelling corrections. - * catgets/catgetsinfo.h (mmapped): - Renamed from mmaped (in struct catalog_info.status). - * mach/err_kern.sub (err_codes_unix), string/stratcliff.c (main): - Fix spelling in message. - * po/libc.pot: Fix spelling in message for `zic'; this anticipates - a fix in the tzcode distribution. - -Wed Dec 18 15:48:02 1996 Ulrich Drepper - - * time/strftime.c: Implement ^ flag to cause output be converted - to use upper case characters. - - * time/zic.c: Update from ADO tzcode1996n. - -Wed Dec 18 14:29:24 1996 Erik Naggum - - * time/strftime.c (add): Don't change global `i' until all is over. - Define NULL is not already defined. - -Tue Dec 17 09:49:03 1996 Andreas Schwab - - * libio/iovsprintf.c (_IO_vsprintf): Change `&sf' to `&sf._sbf._f' - to avoid the need for a cast. - * libio/iovsscanf.c (_IO_vsscanf): Likewise. - -Wed Dec 18 03:31:58 1996 Ulrich Drepper - - * dirent/scandir.c: Undo change from Mon Dec 2 15:32:15 1996. - The stream is private and usages outside glibc don't care about - reentrancy. - * io/fts.c: Likewise. - * io/ftw.c: Likewise. - * sysdeps/posix/getcwd.c: Likewise. - * sysdeps/posix/ttyname.c: Likewise. - * sysdeps/posix/ttyname_r.c: Likewise. - * sysdeps/posix/glob.c: Likewise. - - * libio/iovsprintf.c: Add cast to prevent warning. - * libio/iovsscanf.c: Likewise. - - * libio/libioP.h: Define mmap to __mmap and munmap to __munmap - to keep namespace clean. - - * new-malloc/malloc.c: Update to last version from Wolfram Gloger. - Add hooks and check functions from old GNU malloc. - * new-malloc/malloc.h: Likewise. - - * nis/ypclnt.c: Remove prototype for xdr_free. - * sunrpc/rpc/xdr.h: Add prototype for xdr_free. - - * manual/nss.texi: Correct description of default values and don't - meantion NSS as an add-on. - - * nss/grp-lookup.c: Provide default value as - "compat [NOTFOUND=return] files". - * nss/pwd-lookup.c: Likewise. - * nss/spwd-lookup.c: Likewise. - * nss/network-lookup.c: Correct default to - "dns [!UNAVAIL=return] files". - * nss/nsswitch.c: Change default-default value to "nis - [NOTFOUND=return] files" since compat is only available for group, - passwd, and shadow. - - * stdlib/on_exit.c (on_exit): Rename to __on_exit and make old name - a weak alias. - * stdlib/stdlib.h: Add prototype for __on_exit. - - * sysdeps/unix/sysv/linux/schedbits.h: Add prototype for __clone. - - * time/Makefile: Undo change from Sun Dec 8 06:56:49 1996. - The new malloc now has mcheck. - * time/ap.c: Likewise. - - * time/tzset.c (__tzset): Rename to __tzset_internal. - (tzset): Rename to __tzset. Make tzset a weak alias for __tzset. - * time/localtime.c: Use __tzset_internal not __tzset. - * time/strftime.c [_LIBC]: Define tzname as __tzname and tzset - as __tzset to prevent namespace pollution. - - * wctype/iswctype.h (icwctype): Rename to __iswctype. Make iswctype - a weak alias of __iswctype. - * wctype/wctype.h: Add prototype for __iswctype. - (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, - iswprint, iswpunct, iswspace, iswupper, iswxdigit, iswblank): - Use __iswctype for the test, not iswctype. - -1996-12-16 Paul Eggert - - * hurd/hurd/sigpreempt.h - (struct hurd_signal_preemptor.preemptor, _hurdsig_preemptors), - hurd/hurd/signal.h (struct hurd_sigstate.preemptors), - hurd/hurdfault.c, hurd/hurdfault.h (_hurdsig_fault_preemptor), - hurd/hurdsig.c (_hurdsig_preempters): - Renamed to fix spelling from `preempter' to `preemptor'. - All uses changed. - -1996-12-15 Paul Eggert - - * ctime.c (ctime): Return asctime (localtime (t)), as the C - standard requires. - -Tue Dec 17 02:05:48 1996 Thomas Bushnell, n/BSG - - * sysdeps/mach/libc-lock.h (__libc_lock_trylock): Invert return - value because Mach/cthreads uses the opposite convention from - Posix/glibc. - -Mon Dec 16 22:41:01 1996 Ulrich Drepper - - * stdio-common/fcloseall.c: Correct test of already_called. - Reported by Thomas Bushnell, n/BSG. - -Mon Dec 16 14:52:07 1996 Thomas Bushnell, n/BSG - - * mach/lock-intern.h (__mutex_try_lock): New function. - -Sun Dec 15 16:33:44 1996 Andreas Schwab - - * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Only use OXTABS if - defined, else XTABS. - (CEOL, CSTATUS): Use _POSIX_VDISABLE if defined. - -Sun Dec 15 11:56:19 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/mremap.S: New file. - * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it. - * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines): Add mremap. - -Mon Dec 16 02:15:42 1996 Ulrich Drepper - - Make sure tzset() sets always tzname[]. - * time/tzfile.c: De-ANSI-declfy. - (find_transition): New function. Set tzname according to given time. - (__tzread_file): Use find_transition to set tzname. - (__tzfile_compute): Use find_transition instead of doing the work - self. - * time/tzset.c (tzset): Set tzname[] directly only if !__use_tzfile. - -Sun Dec 15 16:52:34 1996 Ulrich Drepper - - * login/utmp-file.c (pututline_file): Open file if closed. - Reported by Roma Ekzhanov . - Use fcntl instead of flock. - -Sun Dec 15 14:20:51 1996 Ulrich Drepper - - * manual/time.texi: Update documentation of strftime function. - -Sun Dec 15 01:53:20 1996 Ulrich Drepper - - * Makefile (subdirs): Change crypt to md5-crypt. - * crypt/Makefile, crypt/md5-crypt.c, crypt/md5.c, crypt/md5.h, - crypt/md5c-test.c, crypt/md5test.c: Move to new directory - md5-crypt. - * sysdeps/unix/sysv/linux/configure.in: Refer to linuxthreads and - crypt instead of LinuxThreads and des-crypt. - - * Makefile (subdirs): Add nss back. - * sysdeps/unix/inet/Subdirs: Move nis to end of file to fulfill - dependencies. - - * libio/iofclose.c: Implement fclose(NULL) as closing all streams. - * stdio-common/Makefile (routines): Add fcloseall. - * stdio-common/fcloseall.c: New file. - * sysdeps/generic/abort.c: Make implementation POSIX.1 compatible. - - * sysdeps/mach/libc-lock.h: Add definition of __libc_lock_trylock. - * sysdeps/stub/libc-lock.h: Define __libc_lock_trylock to always - return 0. - - * stdio-common/printf.h: Define MIN and MAX only if not already - defined. - - * stdio-common/vfprintf.c: Set errno to EBADF if stream does not - allow writing. Required by POSIX.1. - - * libio/libioP.h (CHECK_FILE): Use MAYBE_SET_EINVAL instead of - assignment. - - * interp.c: Update copyright. - * libio/clearerr.c: Likewise. - * libio/ioseekoff.c: Likewise. - * libio/ioseekpos.c: Likewise. - * stdio/fclose.c: Likewise. - * stdio/fflus.c: Likewise. - - * libio/libio.h [!_IO_MTSAFE_IO]: Define _IO_cleanup_region_start - and _IO_cleanup_region_end as empty. - * libio/fgetc.c: Use _IO_cleanup_region_start and - _IO_cleanup_region_end instead of __libc_cleanup_region_start and - __libc_cleanup_region_end. - * libio/fputc.c: Likewise. - * libio/freopen.c: Likewise. - * libio/fseek.c: Likewise. - * libio/getc.c: Likewise. - * libio/getchar.c: Likewise. - * libio/iofclose.c: Likewise. - * libio/iofflush.c: Likewise. - * libio/iofgetpos.c: Likewise. - * libio/iofgets.c: Likewise. - * libio/iofputs.c: Likewise. - * libio/iofread.c: Likewise. - * libio/iofsetpos.c: Likewise. - * libio/ioftell.c: Likewise. - * libio/iofwrite.c: Likewise. - * libio/iogetdelim.c: Likewise. - * libio/iogets.c: Likewise. - * libio/ioputs.c: Likewise. - * libio/iosetbuffer.c: Likewise. - * libio/iosetvbuf.c: Likewise. - * libio/ioungetc.c: Likewise. - - * libio/iovspintf.c: Use cleanup handler to make sure no dangling - locks can stay over. - * libio/iovsscanf.c: Likewise. - - * libio/genops.c: Use _IO_lock_init_recursive and _IO_lock_fini - instead of __libc_lock_init_recursive and __libc_lock_fini. - - * libio/filedoalloc.c: Only use __isatty when compiling GNU libc. - Otherwise use isatty. - * libio/fileops.c: Likewise for __open and open. - - * login/utmp_file.c (getutent_r_file): Use fcntl instead of - flock. - - * nis/ypclnt.h: Add more casts to prevent warnings. - - * nss/Makefile (services): Remove dns. - (libnss_dns, libnss_dns-inhibit-o): Remove definition. - ($(objpfx)libnss_dns.so): Removed. - * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Moved to... - * resolv/nss_dns: ...here. - * resolv/Makefile (extra-libs): Add libnss_dns. - (libnss_dns-routines, libnss_dns-inhibit-o): Define as in - nss/Makefile. - - * nss/XXX-lookup.c: Call __nss_database_lookup with new argument - specifying alternate name for entry in /etc/nsswitch.conf - * nss/nsswitch.c: If no entry with primary name is found in - /etc/nsswitch.conf try alternate name if given. - * nss/nsswitch.h: Add new parameter in prototype for - __nss_database_lookup. - * nss/spwd-lookup.c: Provide alternative entry name to look for. - This makes our NSS compatible with Solaris' nsswitch.conf files. - - * string/tst-strlen.c: Change all counting variables to type size_t - to prevent warnings. - - * sysdeps/posix/fpathconf.c: Update copyright. - * sysdeps/posix/pathconf.c: Don't call fpathconf to do the work. - Opening the file at this path may fail if it is a FIFO or pipe. - - These changes make the time implementation POSIX.1 compliant. - * time/localtime.c (__localtime_r): Always call __tzset not only - if __tzset_run is zero. - * time/strftime.c: Add definition of memset_space to help to - reduce for systems which have memset. - (strftime): Don't use tm_zone member of argument for zone name. - Instead always use tzname[]. - Call tzset() as required by POSIX.1 before any action. - * time/tzset.c (tzset): Set tzname[] as required by POSIX.1. - Remove global variable __tzset_run. __tzset is now called always - when a dependent function is used. - (__tzset): Caching happens based on the contents of the - environment variable TZ. - -Fri Dec 13 01:06:52 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/paths.h: Add _PATH_KLOG. - -Thu Dec 12 09:16:35 1996 Andreas Schwab - - * rellns-sh: Correctly handle a relative source file name. - -Wed Dec 11 19:18:40 1996 Andreas Schwab - - * login/utmp_file.c (setutent_file): Seek back to beginning of the - file if resetting. - -Thu Dec 12 16:39:12 1996 Thomas Bushnell, n/BSG - - * hurd/hurdinit.c (map0): Delete function. Don't do this on - _hurd_preinit_hook. - * hurd/hurdstartup.c (_hurd_startup): Map page zero redzone here. - -Thu Dec 12 03:32:21 1996 Ulrich Drepper - - * libio/_G_config.h: Add definition of _G_int16_t, _G_int32_t, - _G_uint16_t, _G_uin32_t, _G_HAVE_BOOL, _G_HAVE_MMAP, and - _G_ARGS. - - Change libio buffer handling to allocate internal buffers using - mmap if possible. - * libio/filedoalloc.c (_IO_file_doallocate): Change call to - ALLOC_BUF. - * libio/genops.c (_IO_setb, _IO_default_finish): Change call - to FREE_BUF. - (_IO_default_doallocate): Change call to ALLOC_BUF. - * libio/libioP.h: Change definition of ALLOC_BUF and FREE_BUF - to use mmap/munmap when possible. - * libio/memstream.c: Don't use ALLOC_BUF, but directly malloc. - * libio/vasprintf.c: Likewise. - Patch by HJ Lu. - - * libio/libio.h: Define NULL as __null only for gcc-2.8 and up. - * libio/libioP.h: Likewise. - - * libio/fileops.c (_IO_file_read, _IO_file_write): Don't - restart syscall when EINTR was returned. Necessary for POSIX.1. - - * libio/strops.c (_IO_str_overflow): Add cast to prevent warning. - - * new-malloc/malloc.c (heap_trim): Correctly place parentheses to - prevent warnings. - - * nis/Makefile: Remove rules for bsd-tools which are not part - of glibc. - Patch by Thorsten Kukuk. - - * nis/ypclnt.c: Add prototype for xdr_free. - Add const to first parameter for __yp_bind. - * nis/nss_compat/compat-pwd.c (getpwent_next_netgr, getpwent_next_nis, - getpwent_next_file): Variable `p2len' must have type size_t. - * nis/nss_nis/nis-alias.c: Add casts to prevent warnings. - * nis/nss_nis/nis-ethers.c: Likewise. - * nis/nss_nis/nis-grp.c: Likewise. - * nis/nss_nis/nis-hosts.c: Likewise. - * nis/nss_nis/nis-network.c: Likewise. - * nis/nss_nis/nis-proto.c: Likewise. - * nis/nss_nis/nis-pwd.c: Likewise. - * nis/nss_nis/nis-rpc.c: Likewise. - * nis/nss_nis/nis-service.c: Likewise. - * nis/nss_nis/nis-spwd.c: Likewise. - - * nis/rpcsvc/yp_prot.h (ypreq_key): Change type of members to - `const char *'. - (ypmaplist): Change member names to `map' and `next' and provide - #defines for old names. - Patch by Thorsten Kukuk. - - * nss/nss_files/files-parse.c (parse_line, parse_list): Change - type for `datalen' parameter to size_t. - - * shsdow/lckpwdf.c: Use fcntl forlocking, not flock. - - * stdio-common/printf.c [USE_IN_LIBIO]: Provide alias _IO_printf - for printf. - * stdio-common/sscanf.c [USE_IN_LIBIO]: Provide alias _IO_sscanf - for sscanf. - Patch by HJ Lu. - - * stdio-common/tmpfile.c: Update copyright. - - * stdio-common/vfscanf.c: Correctly handle EINTR error from fgetc - function. - Don't eat white space for `C' format. - - * stdlib/tst-strtol.c [~0UL != 0xffffffff]: Fix typo in test data. - - * sysdeps/generic/abort.c: Update copyright. De-ANSI-declfy. - * sysdeps/i386/abort.c: Removed. This version does not use - signal SIGABRT. - - * sysdeps/i386/fpu/__math.h: Define __NO_MATH_INLINES if not using - gcc-2.8 or up. - Patch by HJ Lu. - - * sysdeps/posix/tempname.c: Test for error but EEXIST after open - call. If EMFILE, ENFILE, or EINTR return with error. - -Wed Dec 11 14:43:52 1996 Ulrich Drepper - - * gnu-versions.h: Set _GNU_OBSTACK_INTERFACE_VERSION back to 1. - We are compatible again. - * new-malloc/obstack.h (struct obstack): Add back alloc_failed bit - even though it is not used. - * malloc/obstack.h: Likewise. - * new-malloc/obstack.c (_obstack_begin, _obstack_begin_1): Initialize - alloc_failed bit to 0. - - * time/strftime.c: Extend for Emacs' needs. Recognize field width, - %P format and `0' modifier. - -Tue Dec 10 21:20:44 1996 Andreas Schwab - - * Makerules (make-link): Don't discard exit codes of intermediate - commands. Always use rellns-sh if symbolic links are available. - -Tue Dec 10 20:09:51 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/netinet/in.h: Enclose #include - in __BEGIN_DECLS/__END_DECLS to avoid linkage - conflict of ntohs etc. in . - -Wed Dec 11 01:04:30 1996 Ulrich Drepper - - Add NIS NSS implementation. - * shlib-versions: Add versions for NIS libraries. - * sysdeps/unix/inet/Subdirs: Add nis. - * nis/Banner: New file. - * nis/Makefile: New file. - * nis/nss-nis.h: New file. - * nis/yp_xdr.h: New file. - * nis/ypclnt.h: New file. - * nis/ypupdate_xdr.c: New file. - * nis/nss_compat/compat-grp.c: New file. - * nis/nss_compat/compat-pwd.c: New file. - * nis/nss_compat/compat-spwd.c: New file. - * nis/nss_nis/nis-alias.c: New file. - * nis/nss_nis/nis-ethers.c: New file. - * nis/nss_nis/nis-grp.c: New file. - * nis/nss_nis/nis-hosts.c: New file. - * nis/nss_nis/nis-netgrp.c: New file. - * nis/nss_nis/nis-network.c: New file. - * nis/nss_nis/nis-proto.c: New file. - * nis/nss_nis/nis-publickey.c: New file. - * nis/nss_nis/nis-pwd.c: New file. - * nis/nss_nis/nis-rpc.c: New file. - * nis/nss_nis/nis-service.c: New file. - * nis/nss_nis/nis-spwd.c: New file. - * nis/rpcsvc/yp.h: New file. - * nis/rpcsvc/yp.x: New file. - * nis/rpcsvc/yp_prot.h: New file. - * nis/rpcsvc/ypclnt.h: New file. - * nis/rpcsvc/ypupd.h: New file. - - * libio/_G_config.h: Define _G_HAVE_SYS_WAIT and _G_HAVE_PRINTF_FP. - - * locale/C-numeric.c: Update copyright. - - * locale/Makefile: Add rules to build libBrokenLocale. - * locale/broken_cur_max.c: New file. - * locale/mb_cur_max.c: Update copyright. - (__ctype_get_mb_cur_max): Make function weak. - - * new-malloc/malloc.c: Correct copyright. - * new-malloc/thread-m.h: Correct key handling. - - * shadow/lckpwdf.c: Update copyright. - (PWD_LOCKFILE): Change to /etc/.pwd.lock. - - * stdlib/strtod.c: Add another assertion. - * stdlib/tst-strtod.c: Add another test case. - - * sysdeps/generic/paths.h: Add _PATH_PRESERVE. Needed by nvi. - * sysdeps/unix/sysv/linux/paths.h: Likewise. - - * sysdeps/gnu/utmpbits.h: Rename ut_addr field to ut_addr_v6. - ut_addr names a single element in ut_addr_v6. - - * sysdeps/mach/hurd/xmknod.c: Remove alias from __mknod to mknod. - Patch by Thomas Bushnell, n/BSG. - -Tue Dec 10 11:35:28 1996 Richard Henderson - - * sysdeps/alpha/strncmp.S: Fix aligned short truncated compare - corner condition. - - * sysdeps/alpha/memchr.S: Don't read ahead, even if the load - did fit nicely into that delay slot (patch from David Mosberger-Tang). - -Mon Dec 9 23:53:43 1996 Thomas Bushnell, n/BSG - - * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Renamed from - `ttyname_r'. - (ttyname_r): New alias. - -Tue Dec 10 02:17:31 1996 Ulrich Drepper - - * stdio-common/printf_fp.c (__guess_grouping): Fix off by one - error in computation of number of groups. - Patch sent by Harald Schreiber . - -Tue Dec 10 01:50:07 1996 Ulrich Drepper - - * version.h: Set version to 1.99. - - * Make-dist (routines): Add malloc and new-malloc. - - * Makeconfig: Allow Makefiles to set $(CPPFLAGS-$( - - * Make-dist: Make sure both malloc directories get distributed. - -Sun Dec 8 23:14:10 1996 Andreas Schwab - - * libio/iogets.c (_IO_gets): Fix early returns to not leave the - stream locked. - -Sat Dec 7 22:08:09 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/sys/module.h: Enclose declarations in - __BEGIN_DECLS/__END_DECLS. - -Sat Dec 7 14:23:12 1996 Andreas Schwab - - * login/utmp_file.c: Consistently set file_offset to the position - after the entry just read. - -Mon Dec 9 03:39:30 1996 Ulrich Drepper - - * config.make.in (defines): Add @USE_NEW_MALLOC@. - * Makefile.in: Define USE_NEW_MALLOC to -DUSE_NEW_MALLOC if - we use the new malloc. - - * malloc.h: Use either or - depending on USE_NEW_MALLOC. - - Fix some more POSIX.1 problems. - * libio/fileops.c (_IO_file_underflow): Set errno to EBADF if used - on a write-only stream. - (_IO_file_overflow): Set errno to EBADF if used on a read-only - stream. - (_IO_file_seekoff): POSIX.1 requires that fseek() after an fflush() - call really positions the file offset to the correct position - and no read-ahead happens. - - * locale/C-monetary.c: Set mon_grouping file to "" and "\377" - to pass POSIX test suite. - * stdio-common/vfprintf.c: Handle empty string as grouping command - correctly. - * stdlib/grouping.h: Likewise. - - * misc/syslog.c: Case first argument of __libc_cleanup_region_start. - - * signal/sigsetops.h: Update copyright. Don't include ansidecl.h. - - * stdio-common/printf_fp.c: Update copyright. - -Sun Dec 8 16:39:28 1996 Andreas Jaeger - - * time/Makefile: Compile ap.c with NO_MCHECK flag if new-malloc - used (not otherwise). - -Sun Dec 8 06:56:49 1996 Ulrich Drepper - - * io/getwd.c: Use PATH_MAX not LOCAL_PATH_MAX. Fix typo in - comment. - * stdlib/canonicalize.c: Correct bugs in last change. - Patch by HJ Lu. - - * libio/Makefile (routines): Remove ioprims. - (aux): Remove cleanup. - Add IO_DEBUG option for .o files. - * libio/cleanups.c: Removed. - * libio/ioprims.c: Removed. - * libio/filedoalloc.c: More updates from libg++-2.8b5. - * libio/fileops.c: Likewise. - * libio/genops.c: Likewise. - * libio/iolibio.h: Likewise. - * libio/iopopen.c: Likewise. - * libio/iovsprintf.c: Likewise. - * libio/iovsscanf.c: Likewise. - * libio/libio.h: Likewise. - * libio/libioP.h: Likewise. - * libio/memstream.c: Likewise. - * libio/strfile.h: Likewise. - * libio/vasprintf.c: Likewise. - * libio/vsnprintf.c: Likewise. - - * libio/stdio.h: Define P_tmpdir only is __USE_SVID. - - * manual/arith.texi: Change references to ANSI C to ISO C. - * manual/conf.texi: Likewise. - * manual/creature.texi: Likewise. - * manual/ctype.texi: Likewise. - * manual/errno.texi: Likewise. - * manual/filesys.texi: Likewise. - * manual/intro.texi. Likewise. - * manual/io.texi: Likewise. - * manual/lang.texi: Likewise. - * manual/libc.texinfo: Likewise. - * manual/locale.texi: Likewise. - * manual/maint.texi: Likewise. - * manual/mbyte.texi: Likewise. - * manual/memory.texi: Likewise. - * manual/process.texi: Likewise. - * manual/process.texi: Likewise. - * manual/search.texi: Likewise. - * manual/setjmp.texi: Likewise. - * manual/signal.texi: Likewise. - * manual/startup.texi: Likewise. - * manual/stdio.texi: Likewise. - * manual/string.texi: Likewise. - * manual/time.texi: Likewise. - - * manual/locale.texi: Remove description of LC_RESPONSE and add - LC_MESSAGES. - - * Makefile (subdirs): Change malloc in $(malloc). - * config.make.in: Add variable malloc which is initialized from - @malloc@. - * configure.in: Add new option --enable-new-malloc to use new - malloc. This is the default on Linux. - * sysdeps/unix/sysv/linux/configure.in: Define malloc to new-malloc - by default. - * new-malloc/Makefile: New file. Improved malloc implementation. - * new-malloc/malloc.c: Likewise. - * new-malloc/malloc.h: Likewise. - * new-malloc/mallocbug.c: Likewise. - * new-malloc/obstack.c: Likewise. - * new-malloc/obstack.h: Likewise. - * new-malloc/thread-m.h: Likewise. - * time/Makefile: Compile ap.c with NO_MCHECK flag for now. - * time/ap.c: Don't call mcheck if NO_MCHECK is defined. - - * resolv/Makefile: Add rule to rebuiild libresolv.so when libc.so - changed. - - * stdio/feof.c: Update copyright. - * stdio/stdio.h: Add field for lock to FILE structure. - Add cast to *MAGIC constants to prevent warnings. - - * stdio-common/bug7.c: Correct test. Stream must not be closed - twice. - - * stdlib/Makefile (routines): Add secure-getenv. - * stdlib/secure-getenv.c: New file. __secure_getenv function - moved to here from sysdeps/generic/getenv.c. Otherwise an - application cannot replace the getenv function in the libc. - * sysdeps/generic/getenv.c: Remove __secure_getenv function. - * sysdeps/stub/getenv.c: Remove __secure_getenv alias. - - * sysdeps/mach/libc-lock.h: Define__libc_mutex_lock to __mutex_lock. - - * sysdeps/posix/fdopen.c: Update copyright. Don't use EXFUN. - - * time/test-tz.c: Comment fifth test out. PROBLEM. - - * time/tzset.c: De-ANSI-declfy. - (__tzset): Don't increment pointer tz when no DST information is - given. - - * misc/syslog.c (vsyslog): Cast argument to __libc_cleanup_region - to get Hurd macros right. - -Sat Dec 7 23:47:54 1996 Ulrich Drepper - - * sysdeps/mach/libc-lock.h [_LIBC]: Add definition of - __libc_mutex_lock. - Patch by Thomas Bushnell. - - * sysdeps/unix/sysv/linux/timebits.h: Load only - if __USE_MISC. - - * sysdeps/unix/sysv/linux/Dist: Add llseek.c. - -Sat Dec 7 12:18:56 1996 Ulrich Drepper - - * time/strftime (%c format): Remove %Z from default string. - Reported by Paul Eggert - -Sat Dec 7 03:24:36 1996 Ulrich Drepper - - * configure.in: Discard error message from test in test for - bash-2.0. - - * io/getwd.c: Don't apply getcwd on user supplied buffer. - Instead always use temporary buffer and only copy the result. - Patch by HJ Lu. - * stdlib/canonicalize.c: Likewise. - - * libio/fileops.c: Change comments according to libg++2.8b5. - * libio/iosetvbuf.c: Follow change in libg++-2.8b5 to clear - unbuffered flag. - Reported by HJ Lu. - - * manual/nss.texi: Correct prototypes. - - * misc/syslog.c: Make reentrant. Catch SIGPIPE signal to prevent - crash if syslog daemon is restarted. - - * stdlib/rand_r.c: New file. Implementation of POSIX.2 function - rand_r. - * stdlib/Makefile (routines): Add rand_r. - - * sysdeps/stub/libc-lock.h: Define __libc_lock_trylock and - __libc_mutex_lock. - - * configure.in: Add --disable-sanity-check option. - * sysdeps/unix/sysv/linux/configure.in: If linuxthreads or - des-crypt are not available and --disbale-sanity-check is not - given abort with a message. - -Thu Dec 5 19:19:53 1996 Richard Henderson - - * posix/glob.c: Tests against STDC_HEADERS should also test - __GNU_LIBRARY__. - -Thu Dec 5 16:20:55 1996 Ulrich Drepper - - * misc/err.c (vwarn): Set errno again before using %m format. - -Thu Dec 5 10:14:05 1996 Andreas Jaeger - - * grp/grp.h: Add declaration of __getgrent_r. - - * io/fts.c (fts_build): Remove "register" from variables dirbuf - and dp since their address is needed. - - * sysdeps/posix/getcwd.c (__getcwd): Remove "register" from - variable d since d's address is needed. - - * misc/tst-dirname.c (main): Provide prototype. - * misc/ioctltst.c (main): Dito. - - * Makefile: Add gnu/lib-names.h to install-others before including - Makerules. - -Wed Dec 4 16:00:09 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sys/socketvar.h: New file. Simply use - . - * sysdeps/unix/sysv/linux/Dist: Add sys/socketvar.h. - * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet)]: Add - sys/socketvar.h to sysdep_headers. - -Tue Dec 3 08:38:15 1996 Richard Henderson - - * sysdeps/unix/alpha/sysdep.S: Remove definition of __errno_location. - Reformat copyright. - - * elf/rtld.c (_dl_start): Don't dereference the value returned by - elf_machine_got to get _DYNAMIC, instead call new function - elf_machine_dynamic. - * sysdeps/alpha/dl-machine.h: Permute elf_machine_got to - elf_machine_dynamic. Reformat copyright. - * sysdeps/i386/dl-machine.h: Likewise. + * elf/dl-init.c (_dl_init_next): Take argument, link_map whose + searchlist describes the piece of the DT_NEEDED graph to be + initialized. + * elf/link.h: Update prototype. + * sysdeps/i386/dl-machine.h (RTLD_START): Pass _dl_loaded as argument + to _dl_init_next. * sysdeps/m68k/dl-machine.h: Likewise. - * sysdeps/mips/dl-machine.h: Likewise. - * sysdeps/sparc/dl-machine.h: Likewise. + * elf/dl-deps.c (_dl_open): Pass new object as arg to _dl_init_next. + + * elf/link.h (struct link_map): Add `l_reserved' member, soaking up + extra bits in last byte. + * elf/dl-deps.c (_dl_map_object_deps): Use that for mark bit to avoid + putting dup elts in search list. + + * elf/dlclose.c: Use MAP->l_searchlist to find deps to close. + + * elf/dlsym.c: Don't tweak linked list. Scope array given to + _dl_lookup_symbol does the right thing. + + * elf/Makefile (subdir_lib): Change this target to lib-noranlib. + (lib-noranlib): Depend on on $(extra-objs). + + * errno.h: Move __END_DECLS out of #ifdef's so it matches + __BEGIN_DECLS. + +Tue Jun 4 02:25:44 1996 Roland McGrath + + * stdio-common/vfprintf.c [USE_IN_LIBIO] (size_t): Don't define as + macro. _IO_size_t is just an alias for the real size_t anyway. + + * elf/Makefile (libdl-routines): Add dladdr. + * elf/dladdr.c: New file. + * elf/dlfcn.h (Dl_info): New typedef. + (dladdr): Declare it. + + * sysdeps/libm-i387/s_finite.S: Use `setne' instead of `setnel'. + + * intl/l10nflist.c: Fix conditional on #include . + + * libio/stdio.h (FOPEN_MAX, FILENAME_MAX, TMP_MAX, L_tmpnam): Macros + removed. Instead, include . + + * libio/_G_config.h: New file. + * libio/Makefile (headers): Add _G_config.h. + + * MakeTAGS (po/errlist.pot): Extract from sysdeps/gnu/errlist.c. + + * sysdeps/unix/sysv/linux/gnu/types.h (__KERNEL_STRICT_NAMES): Define + this macro too; current Linux kernels test that instead of + _LINUX_TYPES_DONT_EXPORT. + + * elf/linux-compat.c (_init): Pass reloc_addr arg to _dl_lookup_symbol. + + * elf/dl-lookup.c (_dl_lookup_symbol): Use l_searchlist. + + * elf/dl-deps.c: New file. + * elf/Makefile (rtld-routines): Add dl-deps. + * elf/link.h: Declare _dl_map_object_deps, _dl_open. + * elf/rtld.c (dl_main): Use _dl_map_object_deps. + * elf/dlopen.c: Use _dl_open. + + * elf/rtld.c (dl_main): Remove BEFORE_RTLD variable and list + frobnication based on its value. Detach RTLD_MAP from the chain if + its l_opencount is zero after loading deps. + + * elf/dlfcn.h (RTLD_BINDING_MASK): New macro. + + * elf/link.h (struct link_map): Replace l_deps_loaded flag member with + `struct link_map **l_searchlist' and `unsigned int l_nsearchlist'. + * elf/dl-lookup.c (_dl_lookup_symbol): Make SYMBOL_SCOPE arg an array + of two link_map ptrs. Search the maps in the l_searchlist of each + elt that is not null. + * elf/dl-reloc.c (_dl_relocate_object): Pass proper SCOPE array. + * elf/dl-runtime.c: Likewise. + * elf/dlsym.c: Likewise. + * elf/rtld.c (dl_main): Likewise. + + * elf/dl-minimal.c (realloc): Support realloc of the block most + recently returned by the minimal malloc. + +Tue Jun 4 00:16:03 1996 Roland McGrath + + * sysdeps/gnu/errlist.awk: Produce N_("..."), not _N("..."). + + * intl: Updated from gettext-0.10.13. + * intl/localealias.c, intl/dcgettext.c [_LIBC]: Define HAVE_ALLOCA. + + * signal/siggetmask.c: New file. Wrapper around sigblock with + link_warning about obsolescence. + * signal/Makefile (routines): Add siggetmask. + + * sysdeps/gnu/errlist.awk: New file, adapted from ... + * sysdeps/mach/hurd/errlist.awk: File removed, above file replaces it. + * sysdeps/mach/hurd/Makefile (errlist.c): Target removed. + * sysdeps/gnu/Makefile: New file. + (sysdeps/gnu/errlist.c): Make the errlist.c generation rule into this. + +Mon Jun 3 21:03:54 1996 Roland McGrath + + * manual/errno.texi (Error Codes): Add placeholder items for missing + Linux/i386 errno codes, with perror text but no documentation. + Some existing perror texts changed. + + * malloc/mcheck.c (freehook, reallochook): Handle null pointer args. + + * hurd/hurdsig.c (_hurd_internal_post_signal): When setting ACT to + `ignore, resume the thread if SS_SUSPENDED, regardless of old action. + +Sun Jun 2 20:14:30 1996 Andreas Schwab + + * locale/programs/linereader.c (lr_open): Don't pass NULL to + xstrdup; fix memory leak. + (lr_close): Fix memory leak. + +Mon Jun 3 15:58:22 1996 Michael I. Bushnell, p/BSG + + * hurd/hurdsig.c (_hurd_internal_post_signal): When turning the action + for a HANDLE signal to IGNORE because the signal is blocked, clean + up any pending suspension left over from a call to resume. + +Mon Jun 3 00:30:35 1996 Roland McGrath + + * elf/dl-lookup.c (_dl_lookup_symbol): Take new arg RELOC_ADDR and + don't allow a defn resolving to that address. + + * elf/link.h: Update prototype and comment. + * elf/dl-runtime.c (fixup): Define local `resolve' function and pass + it to elf_machine_relplt. + * elf/dl-reloc.c (_dl_relocate_object: resolve): Take new arg + RELOC_ADDR and pass it through to _dl_lookup_symbol. + * elf/do-rel.h (elf_dynamic_do_rel): Pass RESOLVE to elf_machine_rel + instead of calling it ourselves and passing its results. + (elf_dynamic_do_rel): RESOLVE fn takes new arg RELOC_ADDR. + * elf/rtld.c (dl_main): Pass 0 for RELOC_ADDR to _dl_lookup_symbol. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove SYM_LOADADDR + arg. Add RESOLVE function ptr arg. Call *RESOLVE as necessary. + * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise. * sysdeps/stub/dl-machine.h: Likewise. -Tue Oct 15 23:46:00 1996 Andreas Schwab +Sun Jun 2 14:56:49 1996 Roland McGrath - * MakeTAGS (sysdep_dirs): Include add-on sysdep directories. + * csu/initfini.c (_fini): Add extern decl for i_am_not_a_leaf. -Tue Dec 3 02:06:18 1996 Ulrich Drepper - - * Makerules ($(libdir)/libc.so): Make first line of generated - link script contain `/* GNU ld script'. This will be used in - ldconfig to check for linker scripts. - * sysdeps/mach/hurd/libc-ldscript: Likewise. - * sysdeps/mach/hurd/libc_p-ldscript: Likewise. - - * stdlib/getsubopt.c: Update copyright. Correct typo in comment. - -Mon Dec 2 15:32:15 1996 Ulrich Drepper - - * elf/dl-lookup.c (_dl_lookup_symbol_skip): Remove unused variable - `found_entry'. - - * misc/ttyslot.c: Use ttyname_r instead of ttyname. - - * assert/assert-perr.c: Use __strerror_r instead of strerror. - * assert/assert.c: De-ANSIdecl-fy. Update copyright. - * string/string.h: Declare __strerror_r. - * string/strerror_r.c: Make strerror_r a weak alias of __strerror_r. - * stdio-common/vfprintf.c: Save current errno value on entry so - that %m format finds the correct value. - * io/getwd.c: Use __strerror_r instead of strerror. - * misc/err.c (vwarn): Use %m printf format instead of explicitly - calling strerror. - * inet/rcmd.c: Likewise. - * misc/error.c (error, error_at_line): Use __strerror_r instead - of strerror when this function is available. - - * stdlib/rand.c: Update copyright and de-ANSI-declfy. - * stdlib/random_r.c: Don't make srand_r weak alais of __srandom_r. - * stdlib/stdlib.h: Define prototype for rand_r. - - * string/strfry.c: Update copyright. Use reentrant random functions. - - * dirent/scandir.c: Use __readdir_r instead of readdir. - * posix/glob.c: Likewise. - * sysdeps/posix/ttyname.c: Likewise. - * sysdeps/posix/ttyname_r.c: Likewise. - * io/ftw.c: Likewise. - * io/fts.c: Likewise. - * sysdeps/posix/getcwd.c: Likewise. - * dirent/dirent.h: Add prototype for __readdir_r. - * sysdeps/unix/readdir_r: Update copyright. - - * time/ctime.c: Use __localtime_r and __asctime_r instead of - non reentrant versions. - * time/ctime_r.c: Update copyright. - - * intl/l10nflist.c (_nl_make_l10nflist): Pretty print. - - * locale/Makefile (localepath): Correct value. - - * nss/nss_files/files-XXX.c: Include to define - NETDB_INTERNAL. - Fix typo in using H_ERRNO_SET macro. - -Fri Nov 29 23:22:14 1996 Andreas Schwab - - * Makerules (elfobjdir): Definition removed. - * Makeconfig (elfobjdir): Define it here instead, so that - expanding $(rpath-link) gets the right value. - - * a.out.h: Removed. - * misc/a.out.h: Moved to... - * sysdeps/generic/a.out.h: ...here. - * sysdeps/unix/sysv/linux/a.out.h: New file. Wrapper around - kernel header. - -Mon Dec 2 03:59:38 1996 Ulrich Drepper - - * grp/initgroups.c: Update and reformat copyright. - Use __getgrent_r instead of getgrent. - - * inet/rcmd.c: Update and reformat copyright. - Use __gethostbyname_r instead of gethostbyname. - * inet/rexec.c: Likewise. - - * intl/finddomain.c: Correct comment about CEN sponsor and revision. - * locale/findlocale.c: Likewise. - * intl/l10nflist.c: Correct handling of CEN sponsor and revision. - * locale/Makefile (CPPFLAGS): Add definition of LOCALEDIR. - * locale/setlocale.c (setlocale): Correctly split value of - LOCALE_PATH. - * locale/programs/localedef.c: Use LOCALEDIR not LOCALE_PATH to - find output directory. - - * nss/getXXbyYY.c [NEED_H_ERRNO]: Before enlarging buffer test - h_errno_tmp variable. - Save error value from being changed during `free' call. - * nss/getXXent.c: Likewise. - - * nss/nss_files/files-XXX.c: Set h_errno variable to NETDB_INTERNAL - before returning ERANGE error. - - * posix/glob.c: Use getlogin_r and getpwnam_r function when available - or in GNU libc. - - * pwd/getpw.c: Use getpwuid_r instead of getpwuid. - - * sunrpc/clnt_gen.c: Use gethostbyname_r and getprotobyname_r. - * sunrpc/clnt_simp.c: Likewise. - * sunrpc/getrpcport.c: Likewise. - * sysdeps/unix/sysv/linux/gethostid.c: Likewise. - - * posix/getconf.c: Treat _SC_UNIT_MAX and _SC_ULONG_MAX separately - since the value might be outside the range of the `long int'. - Print string `undefined' when a value is undefined. - - * stdlib/l64a.c: Return correct pointer. - Patch by NIIBE Yutaka . - - * string/Makefile (routines): Add argz-addsep. - * string/argz-addsep.c: New file. - * string/argz.h: Add prototypes for argz_add_sep. - - * string/argz-ctsep.c: Prevent memory leak. - - * string/strcoll.c: Correct typo in comment. - -Sat Nov 30 02:53:59 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sys/serial.h: Removed again. The file is - not general enough to be part of the libc. - * sysdeps/unix/sysv/linux/Dist: Remove sys/serial.h. - * sysdeps/unix/sysv/linux/Makefile: Don't install sys/serial.h. - -Thu Nov 28 20:04:41 1996 Andreas Schwab - - * login/Makefile: Fix typo. - - * nss/Makefile (generated): Filter out db-alias.c. - -Thu Nov 28 14:44:01 1996 Andreas Schwab - - * time/Makefile (echo-zonenames): Don't depend on non-existing - target `zonenames'. - -Thu Nov 28 12:34:05 1996 Andreas Schwab - - * link.h: New file. - * nss/nsswitch.c: Use it. - - * printf.h: Fix file name. - * stdlib/strfmon.c: Use it. - -Thu Nov 28 23:03:32 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/netinet/in_systm.h: New file. - * sysdeps/unix/sysv/linux/Dist: Add netinet/in_systm.h. - * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers): - Add netinet/in_systm.h. - Reported by NIIBE Yutaka . - -Thu Nov 28 03:11:11 1996 Ulrich Drepper - - * libio/fileops.c: Update from latest libg++. - - * sysdeps/unix/sysv/linux/init-first.c: Reformat copyright. - - * sysdeps/stub/libc-lock.h: Add __libc_lock_init_recursive. - * libio/genops.c (_IO_init): Use __libc_lock_init_recursive - instead of __libc_lock_init for streams. - Reported by a sun . - - * sysdeps/unix/sysv/linux/i386/brk.c: Reformat copyright. - - * sysdeps/generic/errno-loc.c: New file. Generic definition of - __errno_location function. - * sysdeps/unix/sysv/linux/i386/sysdep.S: Remove definition of - __errno_location. - * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/Makefile [$(subdir)=csu]: Add errno-loc - to sysdep-routines. - - * sysdeps/unix/sysv/linux/configure: Add test for linuxthreads - and crypt add-on and warn if not available. - -Wed Nov 27 23:09:37 1996 Ulrich Drepper - - * po/ko.po: Update from Bang Jun-Young . - - * sysdeps/unix/sysv/linux/syscalls.list: Remove _llseek. - * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (routines): Add - llseek. - * sysdeps/unix/sysv/linux/llseek.c: New file. Uses syscall. - * sysdeps/unix/sysv/linux/i386/syscalls.list: Add __sys_llseek. - * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add __sys_llseek. - Reported by HJ Lu . - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add llseek. - * sysdeps/unix/sysv/linux/alpha/llseek.S: Remove. Generic syscall - is enough. - Patch by Richard Henderson . - - * sysdeps/unix/sysv/linux/alpha/sys/io.h: Add prototypes for - pciconfig_read and pciconfig_write. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add new syscalls - pciconfig_read and pciconfig_write. - - * login/getutent_r.c: Fix several bugs in last change. - -Wed Nov 27 06:10:10 1996 Ulrich Drepper - - * Makefile: Fix typo. - - * configure: Require autoconf-2.11. - - * elf/dl-deps.c: Terminate duplicate list. - - * libio/libio.h: Add prototypes for _IO_seekoff and _IO_seekpos. - * libio/strfile.h: Update from current libg++. - * libio/strops.c: Likewise. - - * login/Makefile (routines): Update after correction of reentrant - interface. - * login/endutent.c: Removed. - * login/endutent_r.c: Likewise. - * login/pututline.c: Likewise. - * login/pututline_r.c: Likewise. - * login/setutent.c: Likewise. - * login/setutent_r.c: Likewise. - * login/getutent.c: Update for new interface. - * login/getutent_r.c: Likewise. - * login/getutid.c: Likewise. - * login/getutid_r.c: Likewise. - * login/getutline.c: Likewise. - * login/getutline_r.c: Likewise. - * login/login.c: Likewise. - * login/logout.c: Likewise. - * login/logwtmp.c: Likewise. - * login/utmp.h: Likewise. - * sysdeps/unix/getlogin.c: Likewise. - * sysdeps/unix/getlogin_r.c: Likewise. - * login/utmp-private.h: New private header. - * login/utmp_db.c: Stub DB backend for utmp handler. - * login/utmp_file.c: File backend for utmp handler. - * sysdeps/gnu/utmpbits.h (struct utmp): Add some more fields. - (enum utlogin): List of record types. - (struct exit_status): Record to align with other implementations. - - * sysdeps/generic/paths.h: Add _PATH_UTMP_DB. - * sysdeps/unix/sysv/linux/paths.h: Likewise. - - * sysdeps/generic/pty.c: Use getgrnam_r instead of getgrnam. - - * sysdeps/stub/getlogin.c: Update copyright. - * sysdeps/stub/getlogin_r.c: Likewise. - - * nss/getXXbyYY_r.c: Use -1l for error-pointer value instead of -1. - * nss/getXXent_r.c: Likewise. - * nss/nsswitch.c: Likewise. - - * posix/Makefile (headers): Add wait.h. - * posix/wait.h: New file. - - * posix/sys/types.h: Always define intN_t types. - - * stdio-common/Makefile: Update copyright. - Use -Wno-format flag for scanf4.c and scanf7.c. - - * stdlib/stdlib.h: Reformat. - -Fri Nov 22 19:34:12 1996 Andreas Schwab - - * sysdeps/posix/getcwd.c (__getcwd): After resizing the buffer - move the current contents to the end and relocate file name - pointer to upper half of the buffer. - -Sun Nov 24 04:56:19 1996 Ulrich Drepper - - * time/africa: Update from ADO tzdata1996m. - * time/antarctica: Likewise. - * time/asia: Likewise. - * time/australia: Likewise. - * time/etcetera: Likewise. - * time/europe: Likewise. - * time/nothamerica: Likewise. - * time/southameria: Likewise. - * time/zone.tab: Likewise. - - * sysdeps/unix/sysv/linux/sys/serial.h: New file. - * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers): - Add sys/serial.h. - * sysdeps/unix/sysv/linux/Dist: Add sys/serial.h. - - * posix/wait.h: New file. - * posix/Makefile (headers): Add wait.h. - -Sat Nov 23 17:27:52 1996 Roland McGrath - - * Makeconfig ($(common-objpfx)soversions.mk): Use regular - expression instead of shell pattern matching. - * shlib-versions: Change to regular expressions. - -Sat Nov 23 13:24:55 1996 Ulrich Drepper - - * io/stat.c: Add section from libgcc to copyright comment - to allow this file to be statically linked in applications. - * io/fstat.c: Likewise. - * io/lstat.c: Likewise. - * io/mknod.c: Likewise. - -Fri Nov 22 15:14:23 1996 Ulrich Drepper - - * csu/initfini.c: Add section from libgcc to copyright comment - to allow this file to be statically linked in applications. - - * malloc/obstack.h [!_LIBC && !HAVE_STRING_H]: Define memcpy if - not already defined. - (obstack_grow, obstack_grow0): Correct placement of braces. - - * gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION): Define to 2. - * malloc/obstack.c (OBSTACK_INTERFACE_VERSION): Define to 2. - -Thu Nov 21 19:54:51 1996 Andreas Schwab - - * Makerules (make-link): Simplify by changing directory only if - not using rellns-sh; check whether we really have symbolic links. - - * rellns-sh: Fix the case of $(dirname $2) being a prefix of - $(dirname $1); use status of ln for exit code; make more robust - against multiple slashes in a row. - -Thu Nov 21 13:05:21 1996 Thomas Bushnell, n/BSG - - * configure.in (after AC_CANONICAL_HOST): mutate *-*-gnu* names - into *-*-gnu-gnu*. - * shlib-versions (gnu versions): Recognize *-*-gnu-gnu* instead of - the three-part name, to distinguish correctly from *-*-linux-gnu*. - - * sysdeps/mach/hurd/Makefile ($(libdir)/libc.so): Depend on - $(rpcuserlibs). - - * sysdeps/mach/hurd/Makefile (install-others): Add - $(libdir)/libc_p.a. - ($(libdir)/libc_p.a): New rule. - * sysdeps/mach/hurd/libc_p-ldscript: New file. - * sysdeps/mach/hurd/Dist: Add libc_p-ldscript. - -Wed Nov 20 20:28:21 1996 Richard Henderson - - * Makerules (make-link): Use $(shell) to find rellns-sh before we cd. - * time/Makefile: Likewise. - - * sysdeps/alpha/elf/Makefile: New file. Build crtbegin.o & crtend.o. - * sysdeps/alpha/elf/Dist: New file. - * sysdeps/alpha/elf/crtbegin.S, sysdeps/alpha/elf/crtend.S: New files. - The bits currently distributed with GCC fail in two ways -- they don't - understand multiple .got subsections and the extents of the lists are - dynamicly bound meaning that the application's lists get executed - multiple times and the library's lists never get executed. - -Wed Nov 20 00:42:45 1996 Andreas Schwab - - * stdlib/strtod.c: Fix previous change. - -Wed Nov 20 22:07:58 1996 Andreas Jaeger - - * time/Makefile ($(installed-localtime-file)): Use $(..) to find - rellns-sh script. - -Wed Nov 20 12:50:54 1996 Ulrich Drepper - - * stdio-common/Makefile: Add CFLAGS-scanf7.c to prevent warning. - Likewise for scanf4.c - -Wed Nov 20 02:04:11 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sigsuspend.c: Make sigsuspend a weak - alias of __sigsuspend. - - * grp/grp.h: Correct comment about POSIX compliance. - * pwd/pwd.h: Likewise. - - * login/utmp.h: Update copyright and pretty-print prototypes. - * sysdeps/generic/paths.h: Add _PATH_LASTLOG, _PATH_UTMP and - _PATH_WTMP from utmpbits.h. - * sysdeps/unix/sysv/linux/paths.h: Likewise. - * sysdeps/generic/utmpbits.h: Remove here. - * sysdeps/gnu/utmpbits.h: Likewise. - - * misc/sys/uio.h: Place __BEGIN_DECLS correctly. - Pretty-print prototypes. - - * sysdeps/unix/sysv/linux/sparc/clone.S: New file. Taken from - LinuxThreads-0.5. - -Tue Nov 19 13:43:07 1996 Richard Henderson - - * inet/ether_hton.c: Include . - * inet/ether_ntoh.c: Likewise. - * inet/rexec.c: Get errno, index, getpass, getlogin from headers. - * misc/search.h: Fix hcreate_r argument type (unsigned -> size_t). - - * misc/sys/cdefs.h: Change __long_double_t definition from typedef - to define. Jim Nance reports problems building XEmacs otherwise. - - * resolv/gethnamaddr.c: Protect h_errno redefinition. - * resolv/getnetnamadr.c: Likewise. - * resolv/herror.c: Likewise. - - * sysdeps/generic/sigset.h (__SIGSETFN): Operator ## doesn't work - with -traditional. Reported by Eric Youngdale. While we're at this, - don't do error checking in the __ functions. This is consistent - with the sysv4 definitions and seems Right. - * signal/signal.h: Don't __OPTIMIZE__ sigops to __ versions. Add - prototype for __sigsuspend. - * sysdeps/posix/sigblock.c: Optimize sigmask <-> sigset_t conversions - for sigset_t == unsigned long. De-ansidecl-ify. Reformat copyright. - * sysdeps/posix/sigpause.c: Likewise. - * sysdeps/posix/sigsetmask.c: Likewise. - * sysdeps/posix/sigvec.c: Likewise. - * sysdeps/posix/sigintr.c: Reformat copyright. - * sysdeps/posix/signal.c: Check signal number out of range since - __sigismember doesn't anymore. Reformat copyright. - * sysdeps/posix/sigwait.c: Use __ versions of sigfillset, sigismember, - sigdelset, sigaction, and sigsuspend. - - * stdlib/drand48-iter.c (__drand48_iterate): Cast state fragments - to the wider type before shifting. - - * sysdeps/alpha/bsd-_setjmp.S: Silence assembler warning "$at used - without .set noat" in profiling hook. - * sysdeps/alpha/bsd-setjmp.S: Likewise. - * sysdeps/alpha/htonl.S: Likewise. - * sysdeps/alpha/htons.S: Likewise. - * sysdeps/alpha/s_copysign.S: Likewise. - * sysdeps/alpha/setjmp.S: Likewise. - * sysdeps/alpha/stpcpy.S: Likewise. - * sysdeps/alpha/strcat.S: Likewise. - * sysdeps/alpha/strcpy.S: Likewise. - * sysdeps/alpha/strncat.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/brk.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/llseek.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise. Rename - function to __sigsuspend and add weak alias. - * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise. Add missing END. - - * sysdeps/alpha/w_sqrt.S: Define _ERRNO_H so defines EDOM. - - * sysdeps/unix/execve.S: Match PSEUDO_END symbol with the symbol - SYSCALL__ actually generated. - - * sysdeps/unix/sysv/linux/errnos.h [_LIBC_REENTRANT]: Reflexively - #define __set_errno, as several imported subsystems (eg. BIND) check - that the symbol is defined. - - * sysdeps/unix/sysv/linux/getsysstats.c: Include . - - * sysdeps/alpha/memcpy.S: Temporarily remove until I can find a bug - that manifests in GCC. - -Tue Nov 19 11:10:05 1996 Thomas Bushnell, n/BSG - - * sysdeps/posix/writev.c (writev): COUNT parm is now int. - * sysdeps/posix/readv.c (readv): Likewise. - -Tue Nov 19 15:28:29 1996 Ulrich Drepper - - * nss/nss_dns/dns-network.c: Change return type of all functions - to enum nss_status. - Reported by NIIBE Yutaka. - * nss/nss_dns/dns-host.c: Update copyright. - -Fri Nov 15 20:16:38 1996 Andreas Schwab - - * config.make.in: Remove definition of top_absdir. - * configure.in: Likewise. Use $(..) instead. - * Makerules (make-link): Use $(..) to find rellns-sh script. - -Sat Nov 16 15:52:29 1996 Andreas Schwab - - * manual/nss.texi (Name Service Switch): Fix reference to - `frobnicate'. - -Fri Nov 15 22:08:33 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add - sys/mtio.h. - -Mon Nov 18 05:51:13 1996 Ulrich Drepper - - * sysdeps/generic/waitstatus.h (__WIFSIGNALED): Rename local - variable from __stat to __status to prevent shadowing. - * sunrpc/rpc/clnt.h (clntudp_create, clntudp_bufcreate): Likewise - for parameter __wait. - Reported by NIIBE Yutaka. - -Mon Nov 18 02:05:38 1996 Ulrich Drepper - - * misc/regexp.c: New file. Implementation of obsolete interface - to regular expression matcher (required in XPG4.2). - * misc/regexp.h: New file. Header for above. - * misc/Makefile (headers): Add regexp.h. - (routines): Add regexp.c. - Update copyright. - -Sun Nov 17 21:50:24 1996 Andreas Jaeger - - * stdlib/tst-strtod.c (main): Add arguments for main. - * stdlib/tst-strtol.c (main): Likewise. - -Sun Nov 17 21:15:05 1996 Ulrich Drepper - - * configure.in: Substitute libc_cv_slibdir and libc_cv_sysconfdir - in output files. - * sysdepes/unix/sysv/linux/configure: Define libc_cv_slibdir to /lib - and sysconfdir to /etc if $prefix is /usr. - * config.make.in: Add slibdir, sysconfdir and BASH to be replaced. - - * elf/Makefile ($(objpfx)ldd): Install ldd.bash.in if - $(have-bash2) is yes. - * elf/ldd.bash.in: Add copyright and various cleanups. - * elf/ldd.sh.in: Likewise. - - Implement RTLD_NEXT. - * elf/dlfcn.h: Define RTLD_NEXT. - * elf/dl-deps.c: Build second searchlist which contains duplicates. - * elf/dl-lookup.c (_dl_lookup_symbol_skip): New function. Used - for RTLD_NEXT lookup. - Rewrite _dl_lookup_symbol to put common parts for both lookup - functions in a separate function. - * elf/dlsym.c: Handle RTLD_NEXT by calling _dl_lookup_symbol_skip. - * elf/link.h (struct link_map): Add l_dupsearchlist and - l_ndupsearchlist. - Add prototype for _dl_lookup_symbol_skip. - - * sunrpc/Makefile (rpcsvc): Add rusers. - * sunrpc/rpcsvc/rnusers.x: Remove. Obsolteted by rusers.x. - * sunrpc/rpcsvc/rusers.x: New file. - -Sun Nov 17 04:24:35 1996 Ulrich Drepper - - * stdio-common/vfprintf.c [USE_IN_LIBIO] (buffered_vfprintf): Call - __libc_lock_init for local lock. - Reported by a sun . - [!USE_IN_LIBIO] (PAD): Optimize a bit. - -Sun Nov 17 03:13:57 1996 Ulrich Drepper - - * db/makedb.c: Update and reformat copyright. - * elf/Makefile: Likewise. - * elf/dl-close.c: Likewise. - * elf/dl-debug.c: Likewise. - * elf/dl-deps.c: Likewise. - * elf/dl-error.c: Likewise. - * elf/dl-fini.c: Likewise. - * elf/dl-init.c: Likewise. - * elf/dl-load.c: Likewise. - * elf/dl-lookup.c: Likewise. - * elf/dl-minimal.c: Likewise. - * elf/dl-object.c: Likewise. - * elf/dl-open.c: Likewise. - * elf/dl-reloc.c: Likewise. - * elf/dl-runtime.c: Likewise. - * elf/dl-support.c: Likewise. - * elf/dl-symbol.c: Likewise. - * elf/dladdr.c: Likewise. - * elf/dlclose.c: Likewise. - * elf/dlerror.c: Likewise. + * elf/dlfcn.h (dl_open_mode): Enumerated type removed. + (RTLD_LAZY, RTLD_NOW): Define these as macros instead. + (RTLD_GLOBAL): New macro. + (dlopen): Take arg of type int instead of dl_open_mode. * elf/dlopen.c: Likewise. - * elf/dlsym.c: Likewise. - * elf/do-rel.h: Likewise. - * elf/dynamic-link.h: Likewise. - * elf/eval.c: Likewise. - * elf/rtld.c: Likewise. - * inet/ether_hton.c: Likewise. - * inet/ether_ntoh.c: Likewise. - * inet/ether_line.c: Likewise. - * inet/getnetgrent_r.c: Likewise. - * inet/Makefile (+gccwarn): Remove definition. - Instead set CFLAGS-rcmd.c, CFLAGS-rexec.c, and CFLAGS-ruserpass.c - to `-w'. - * inet/aliases.h: Add C++ protection. - * inet/ether_hton.c: Add prototype for __nss_ethers_lookup. - (ether_hostton): Remove unused variable result. - * inet/ether_ntoh.c: Likewise. - * inet/ether_line.c: Include and . - * inet/getnetgrent_r.c: Include . - Use casts to prevent warnings. - (innetgr): Initialize `known' and `needed'. - * inet/inet_net.c: Make local variable `i' of type u_int32_t. - * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)) [NEED__RES]: Don't - return NULL. Instead set *RESULT to NULL and return -1. - * nss/getXXent_r.c (INTERNAL (REENTRANT_GETNAME)): Likewise. - (SETFUNC_NAME, ENDFUNC_NAME) [NEED__RES]: Don't return anything. + * math/math.h (_Mldbl): New macro, either produces L suffix or not. + (M_*): Use it for these constants. - * nss/nss_files/files-alias.c: Debug function. I didn't worked at - all before. + * elf/dl-lookup.c (_dl_lookup_symbol): Arg NOSELF renamed to NOPLT. + Reject SHN_UNDEF defns iff NOPLT is nonzero. + * elf/link.h (_dl_lookup_symbol): Update prototype and comment. + * elf/dl-runtime.c (fixup): Pass 1 to _dl_lookup_symbol for NOPLT. + * elf/dlsym.c (dlsym): Pass 0. + * elf/rtld.c (dl_main): Likewise. + * elf/dl-reloc.c (_dl_relocate_object: resolve): Second arg R_OFFSET + replaced with NOPLT flag. Pass it through to _dl_lookup_symbol. + * elf/do-rel.h (elf_dynamic_do_rel): Update prototype of RESOLVE arg. + Pass `elf_machine_pltrel_p (R->r_type)' result as NOPLT flag value. + * sysdeps/i386/dl-machine.h (elf_machine_pltrel_p): New macro. + * sysdeps/m68k/dl-machine.h (elf_machine_pltrel_p): Likewise. + * sysdeps/stub/dl-machine.h (elf_machine_pltrel_p): Likewise. -Sat Nov 16 15:25:34 1996 Ulrich Drepper + * login/pututline_r.c: Fix typo in sizeof for DATA_TMP alloca. - * sysdeps/posix/readv.c: Don't use PTR anymore. - * sysdeps/posix/writev.c: Likewise. + * sysdeps/generic/gnu/types.h (__clock_t): New type. - * version.h (VERSION): Bump to 1.98. +Wed May 29 00:57:37 1996 David Mosberger-Tang - * nss/db-Makefile: Generate lines for getXXXent iteration. + * sysdeps/unix/sysv/linux/gnu/types.h (__clock_t, __fsid_t): Define + using kernel types. + * time/time.h (clock_t): Include and define using + __clock_t. - * sysdeps/alpha/Dist: Don't distribute removed files divlu.S, - divqu.S, remlu.S, and remqu.S. + * time/Makefile (tests): Add test-tz. -Fri Nov 15 08:55:54 1996 Andreas Jaeger + * time/test-tz.c: New test. - * posix/unistd.h: Correct typo in documentation. + * time/clocktest.c: Rewrite to test more meaningfully. -Thu Nov 14 18:08:14 1996 a sun + * sysdeps/unix/sysv/linux/syscalls.list: Add bdflush, + create_module, delete_module, get_kernel_syms, init_module, + klogctl. - * inet/netinet/tcp.h: Use __ protected versions instead of - BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN directly. + * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Define as 5 + instead of SYMLOOP_MAX, which is nowhere to be found. -Sat Nov 16 13:44:55 1996 Ulrich Drepper + * sysdeps/unix/sysv/linux/sys/msq_buf.h, + sysdeps/unix/sysv/linux/sys/sem_buf.h, + sysdeps/unix/sysv/linux/sys/shm_buf.h [__USE_MISC]: Add more + control ops and datastructures. - * intl/loadmsgcat.c (_nl_msg_cat_cntr): Initialize so that - references in libc.so are not anymore undefined. + * sysdeps/unix/sysv/linux/sys/io.h: New file declaring low-level + I/O related functions. -Sat Nov 16 18:17:36 1996 NIIBE Yutaka + * sysdeps/unix/sysv/linux/sys/kdaemon.h: New file declaring kernel + daemon related functions/operations. - * io/utime.h: Rename second parameter for utime to prevent warning - for -Wshadow. - * dirent/dirent.h: Same here for scandir prototype. - * math/mathcalls.h: Likewise for frexp and ldexp. - * sysdeps/unix/sysv/linux/netinet/in.h: Likewise for bindresvport. + * sysdeps/unix/sysv/linux/sys/klog.h: New file declaring kernel + logging related functions/operations. -Sat Nov 16 03:49:27 1996 Ulrich Drepper + * sysdeps/unix/sysv/linux/sys/module.h: New file declaring kernel + module related functions/operations. - * stdlib/tst-strtod.c: Add test for error case below. + * sysdeps/unix/sysv/linux/speed.c: Only do "mention this twice" hack + for non-Alpha based Linux systems. -Sat Nov 16 03:48:39 1996 Wolfram Gloger + * sysdeps/unix/sysv/linux/alpha/speed.c: Remove. - * stdlib/strtod.c: Recognize numbers like 0e-19. + * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/module.h, + sys/io.h, sys/klog.h, and sys/kdaemon.h. -Fri Nov 15 08:38:43 1996 Andreas Jaeger + * sysdeps/unix/sysdep.h (END): Define empty END macro for + platforms that don't need some sort of end directive at the + end of functions. - * time/Makefile ($(installed-localtime-file)): Fix path to - rellns-sh. + * sysdeps/unix/make-syscalls.sh: Emit END($strong) at end of + syscall wrapper to allow correct generation of debugging + information. - * Makefile: Don't generate and install gnu/lib-names.h if - $(build-shared) is not `yes'. + * sysdeps/unix/alpha/sysdep.h (END): Redefine to use .end + directive for both ELF and ECOFF. + (ret): Delete macro. It was a dangerous macro and unnecessary + since the Alpha assemblers recognizes "ret" as a macro themselves. -Thu Nov 14 09:23:58 1996 H.J. Lu (hjl@gnu.ai.mit.edu) + * sysdeps/gnu/utmpbits.h (struct utmp): Move ut_tv behind + ut_session to guarantee long alignment. This is important for + Linux/Alpha since ut_tv.tv_sec is 32 bits and time_t is 64 bits. + This will all get cleaned up as programs start to use ut_tv + instead ut_time. - * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Depend - on $(..)posix/posix1_lim.h, not ../posix/posix1_lim.h. + * sysdeps/alpha/divrem.h: Include instead of <*/regdef.h>. - * Makerules (REAL_MAKE_VERSION): New, use it instead of - MAKE_VERSION. + * sysdeps/alpha/bsd-_setjmp.S (setjmp): Renamed entry point to + _setjmp. -Thu Nov 14 22:10:43 1996 Ulrich Drepper + * sysdeps/alpha/_mcount.S, sysdeps/alpha/bb_init_func.S, + sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/bsd-setjmp.S, + sysdeps/alpha/copysign.S, sysdeps/alpha/divrem.h, + sysdeps/alpha/fabs.S, sysdeps/alpha/ffs.S, sysdeps/alpha/htonl.S, + sysdeps/alpha/htons.S, sysdeps/alpha/memchr.S, + sysdeps/alpha/setjmp.S, sysdeps/alpha/strlen.S, + sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S, + sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S, + sysdeps/unix/sysv/linux/alpha/llseek.S, + sysdeps/unix/sysv/linux/alpha/pipe.S, + sysdeps/unix/sysv/linux/alpha/sigsuspend.S, + sysdeps/unix/sysv/linux/alpha/sysdep.S: Use END macro instead of + .end directive. - * nss/nss_files/files-XXX.x (_nss_files_get,ENTNAME_r): Fix typo. - * nss/getXXent_r.c: Fix typo. Set correct return value when - no further service is available. + * csu/initfini.c (_fini): Tell gcc that _fini is not a leaf + function by having it contain a dummy function call. -Thu Nov 14 17:48:13 1996 Ulrich Drepper + * configure.in (config_machine): Don't make ELF the default for + Linux/Alpha just yet (use --with-elf instead). + (.init/.fini check): Generate .text to ensure function start and + end are in same section. - * db/recno/rec_put.c: Add cast to avoid warning. - * db/recno/rec_close.c: Likewise. - * db/mpool/mpool.c: Likewise. - * db/hash/hash_bigkey.h: Likewise. - * db/hash/hash.c: Likewise. - * db/btree/bt_split.c: Likewise. - * db/btree/bt_put.c: Likewise. + * sysdeps/unix/bsd/osf/alpha/brk.S, + sysdeps/unix/sysv/linux/alpha/brk.S (__curbrk): Store the entire + break value, not just the low 32 bits to accomodate large + memories. -Thu Nov 14 14:11:44 1996 Ulrich Drepper +Tue May 28 10:46:04 1996 Richard Henderson - * dirent/dirent.h: Update copyright. - * elf/elf.h: Likewise. - * elf/link.h: Likewise. - * gmon/sys/gmon_out.h: Likewise. - * gnu-versions.h: Likewise. - * intl/libintl.h: Likewise. - * io/fcntl.h: Likewise. - * io/ftw.h: Likewise. - * io/sys/statfs.h: Likewise. - * io/utime.h: Likewise. - * locale/langinfo.h: Likewise. - * malloc/malloc.h: Likewise. - * malloc/obstack.h: Likewise. - * misc/ar.h: Likewise. - * misc/error.h: Likewise. - * misc/mntent.h: Likewise. - * misc/sgtty.h: Likewise. - * misc/sys/cdefs.h: Likewise. - * misc/sys/dir.h: Likewise. - * misc/sys/file.h: Likewise. - * misc/sys/ioctl.h: Likewise. - * misc/sys/ustat.h: Likewise. - * posix/fnmatch.h: Likewise. - * posix/getopt.h: Likewise. - * posix/glob.h: Likewise. - * posix/posix2_lim.h: Likewise. - * posix/regex.h: Likewise. - * posix/sys/times.h: Likewise. - * posix/sys/types.h: Likewise. - * posix/sys/utsname.h: Likewise. - * posix/tar.h: Likewise. - * posix/wordexp.h: Likewise. - * resource/sys/resource.h: Likewise. - * resource/sys/vlimit.h: Likewise. - * resource/sys/vtimes.h: Likewise. - * socket/sys/socket.h: Likewise. - * socket/sys/un.h: Likewise. - * stdio-common/printf.h: Likewise. - * stdlib/alloca.h: Likewise. - * string/argz.h: Likewise. - * string/endian.h: Likewise. - * string/envz.h: Likewise. - * string/memory.h: Likewise. - * string/strings.h: Likewise. - * sysdeps/generic/crypt.h: Likewise. - * sysdeps/generic/direntry.h: Likewise. - * sysdeps/generic/gnu/types.h: Likewise. - * sysdeps/generic/ioctl-types.h: Likewise. - * sysdeps/generic/netinet/in.h: Likewise. - * sysdeps/generic/resourcebits.h: Likewise. - * sysdeps/generic/sigset.h: Likewise. - * sysdeps/generic/sockaddrcom.h: Likewise. - * sysdeps/generic/sys/mman.h: Likewise. - * sysdeps/generic/sys/ptrace.h: Likewise. - * sysdeps/generic/termbits.h: Likewise. - * sysdeps/generic/waitstatus.h: Likewise. - * sysdeps/ieee754/huge_val.h: Likewise. - * sysdeps/ieee754/nan.h: Likewise. - * sysdeps/mach/hurd/local_lim.h: Likewise. - * sysdeps/mach/hurd/statbuf.h: Likewise. - * sysdeps/stub/huge_val.h: Likewise. - * sysdeps/stub/libc-lock.h: Likewise. - * sysdeps/stub/signum.h: Likewise. - * sysdeps/stub/statbuf.h: Likewise. - * sysdeps/stub/waitflags.h: Likewise. - * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise. - * sysdeps/unix/bsd/osf/alpha/statbuf.h: Likewise. - * sysdeps/unix/bsd/osf/sys/mman.h: Likewise. - * sysdeps/unix/bsd/signum.h: Likewise. - * sysdeps/unix/bsd/statbuf.h: Likewise. - * sysdeps/unix/bsd/sun/signum.h: Likewise. - * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Likewise. - * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise. - * sysdeps/unix/bsd/sun/sunos4/termbits.h: Likewise. - * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise. - * sysdeps/unix/bsd/waitflags.h: Likewise. - * sysdeps/unix/sysv/irix4/signum.h: Likewise. - * sysdeps/unix/sysv/irix4/statbuf.h: Likewise. - * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/sys/io.h: Likewise. - * sysdeps/unix/sysv/linux/direntry.h: Likewise. - * sysdeps/unix/sysv/linux/gnu/types.h: Likewise. - * sysdeps/unix/sysv/linux/ioctl-types.h: Likewise. - * sysdeps/unix/sysv/linux/local_lim.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/brk.S: Rather than attempt to + dynamically resolve _end for initializing __curbrk, support the + brk(0) query idiom. + + * sysdeps/alpha/bb_init_func.S: Don't make `init' an external symbol. + + * sysdeps/alpha/bsd-_setjmp.S: The function is _setjmp not setjmp. + +Sun May 26 22:17:38 1996 Richard Henderson + + * stdlib/lcong48_r.c, stdlib/seed48_r.c, stdlib/strtod.c, + stdlib/strtol.c: Include for mem* and str* fns used. + +Thu May 23 02:15:56 1996 David Mosberger-Tang + + * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/io.h, + sys/klog.h, and sys/kdaemon.h. + + * sysdeps/unix/sysv/linux/sys/io.h: New file. + * sysdeps/unix/sysv/linux/sys/klog.h: Ditto. + * sysdeps/unix/sysv/linux/sys/kdaemon.h: Ditto. + + * sysdeps/unix/alpha/sysdep.h (ret): Remove macro. It is + dangerous and unnecessary since both OSF/1 as and gas define "ret" + as a pseudo-instruction. + +Sat Jun 1 17:18:21 1996 Roland McGrath + + * time/tzset.c (__tzset): Clear tz_rules name pointers after freeing + them. Bug found by David Mosberger-Tang. + + * sysdeps/posix/tempname.c (__stdio_gen_tempname): Use __ptr_t instead + of PTR. + + * extra-lib.mk (extra-objs): Use patsubst intead of $(A:=B) syntax + to work around Make bug when A contains var ref. + +Fri May 31 18:27:52 1996 Roland McGrath + + * string/string.h [__USE_MISC]: Declare basename; OSF/1 puts it here. + + * sysdeps/unix/sysv/linux/syscalls.list (getpgid, setpgid): Define __ + strong names and [gs]etpgid as weak aliases. + +Thu May 30 11:24:05 1996 Roland McGrath + + * math/math_private.h (GET_LDOUBLE_EXP): Add missing backslash. + + * po/header.pot: Replace with exact boilerplate pinard dictates. + + * sysdeps/i386/strtok.S (Lillegal_argument): Remove this code to set + errno and the check that jumped to it. + + * sysdeps/mach/hurd/Makefile (errnos.d): Use $(sed-remove-objpfx). + +Thu May 30 03:21:57 1996 Ulrich Drepper + + * FAQ: Document need of gperf program for developers. + + * elf/elf.h: Fix typos in comments. + + * libio/stdio.h [!__STRICT_ANSI__ || _POSIX_SOURCE]: Add + prototypes for `ctermid' and `cuserid'. + + * locale/programs/locale.c: Switch to user selected locale + before printing variables. + + * math/Makefile [$(long-double-fcts)==yes]: Define long-m-routines + and long-c-routines. Only if the `long double' data type is + available we need to compile the functions. + (libm-routines): Add $(long-m-routines). + (routines): Remove isinfl, isnanl. Use new file s_isinfl and + s_isnanl instead if `long double' is available. + + * math/math.h: Include again to define `long double' + functions. + + * math/math_private.h: Define data types, prototypes and access + macros for `long double'. + + * stdlib/stdlib.h: Add prototypes for `strtoll' and `strtoull'. + [GCC2 && OPTIMIZE]: Define strto{,u}ll as inline function which + calls __strto{,u}q_internal. + + * stdlib/strfmon.c: Replace PTR by `void *'. + + * stdlib/strtoq.c: Define strtoll as weak alias. + * stdlib/strtouq.c: Define strtoull as weak alias. + + * string/tester.c: Correct `strsep' test. + + * sysdeps/generic/strsep.c: Make compatible with BSD version. + Trailing characters of skip set are not skipped. In this case + empty tokens are returned. + + * sysdeps/i386/isinfl.c, sysdeps/i386/isnanl.c, + sysdeps/ieee754/isinf.c, sysdeps/ieee754/isinfl.c, + sysdeps/ieee754/isnan.c, sysdeps/ieee754/isnanl.c: Removed. We + now use the versions part of libm. + + * sysdeps/i386/strsep.S: Removed. Generic C version is of + similar speed. + * sysdeps/i386/strtok.S: Remove support for `strsep'. + + * sysdeps/libm-i387/e_acosl.S, sysdeps/libm-i387/s_ceill.S, + sysdeps/libm-i387/s_copysignl.S, sysdeps/libm-i387/s_finitel.S, + sysdeps/libm-i387/s_floorl.S, sysdeps/libm-i387/s_isinfl.c, + sysdeps/libm-i387/s_isnanl.c, sysdeps/libm-i387/s_nextafterl.c, + sysdeps/libm-i387/s_rintl.S, sysdeps/libm-i387/s_significandl.S: + New i387 specific math functions implementing `long double' + versions. + + * sysdeps/libm-ieee754/s_ceill.c, + sysdeps/libm-ieee754/s_copysignl.c, + sysdeps/libm-ieee754/s_fabsl.c, sysdeps/libm-ieee754/s_finitel.c, + sysdeps/libm-ieee754/s_floorl.c, sysdeps/libm-ieee754/s_isinfl.c, + sysdeps/libm-ieee754/s_isnanl.c, + sysdeps/libm-ieee754/s_nextafterl.c, + sysdeps/libm-ieee754/s_rintl.c, sysdeps/libm-ieee754/s_scalbnl.c, + sysdeps/libm-ieee754/s_significandl.c: New generic `long double' + versions of libm functions. + + * sysdeps/libm-i387/e_exp.S: Add a few comments to explain the + Intel FPU nonsense. + + * sysdeps/libm-i387/s_ceil.S, sysdeps/libm-i387/s_ceilf.S, + sysdeps/libm-i387/s_floor.S, sysdeps/libm-i387/s_floorf.S: Correct + handling of local variables. The old version created a stack + frame but stored the values outside. + + * sysdeps/libm-ieee754/s_isinf.c, sysdeps/libm-ieee754/s_isnan.c + [!NO_LONG_DOUBLE]: Define alias with `long double' versions name. + +Wed May 29 12:53:10 1996 Roland McGrath + + * login/pututline_r.c: Include sys/stat.h. Fix typos. + + * version.h (VERSION): Set to 1.90. + + * Makerules (distinfo-vars): Write extra-libs and *-routines for each + of its elts. + * MakeTAGS (sources): Add those sources. + + * MakeTAGS (all-sources): Add $(others:=.c) and $(tests:=.c). + +Wed May 29 08:53:08 1996 Miles Bader + + * hurd/report-wait.c (_S_msg_report_wait): Return `itimer' for the + itimer thread. + + * hurd/hurdinit.c (_hurd_init): Set _HURDSIG_TRACED before calling + _hurd_proc_init. + +Wed May 29 00:52:20 1996 Roland McGrath + + * string/tester.c (main): Fix strsep tests 6, 7, 20 to expect null + token instead of it being implicitly skipped. + + * sysdeps/i386/fpu/__math.h (logb): Correct contraint from =u to =t. + Must operate on top of fp reg stack, not second from top. + + * extra-lib.mk (alltypes-$(lib)): Don't append $(objpfx)$(lib).so. + (others): Instead, make this depend on it. + +Tue May 28 04:38:10 1996 Ulrich Drepper + + * limits.h: Change MB_LEN_MAX to 6. A 31-bit ISO 10646 + character in UTF-8 encoding has that many bytes. + + * locale/langinfo.h: New element _NL_CTYPE_MB_CUR_MAX. + * locale/categories.def: Add description of field _NL_CTYPE_MB_CUR_MAX. + * locale/Makefile (routines): Add mb_cur_max. + * locale/mb_cur_max.c: New file. This function gets called + when the macro MB_CUR_MAX is used. + * locale/C-ctype.c: Initialize new mb_cur_max field. + * locale/localeinfo.h: Change magic value because of incompatible + change. + * locale/programs/ld-ctype.c: Determine value of mb_cur_max + according to current character set and write it out with the rest. + * stdlib/stdlib.h (MB_CUR_MAX): Not constant anymore. Get value + according to currently used locale for category LC_CTYPE by + calling the function __ctype_get_mb_cur_max. + +Tue May 28 03:27:46 1996 Ulrich Drepper + + * FAQ: Fix some typos. + Tell that for Linux the kernel header files are necessary. + + * PROJECTS: New file. List of open jobs for glibc. + * Makefile (distribute): Add PROJECTS. + + * crypt/GNUmakefile (headers): New variable. Mention crypt.h. + * crypt/crypt.h: Header for crypt functions. + + * elf/elf.h: Add some new constants from recent Cygnus ELF + header files. + + * login/getutid_r.c: Test for correct type. + Don't depend on ut_type and ut_id unless _HAVE_UT_TYPE and + _HAVE_UT_ID resp. are defined. + Make really compliant with specification. + + * login/getutline_r.c, login/pututline_r.c: Don't depend on + ut_type and ut_id unless _HAVE_UT_TYPE and _HAVE_UT_ID resp. are + defined. + Make really compliant with specification. + + * login/setutent_r.c: Don't depend on ut_type and ut_id unless + _HAVE_UT_TYPE and _HAVE_UT_ID resp. are defined. + + * login/login.c, login/logout.c, login/logwtmp.c: Complete + rewrite. Now based on getut*/setut* functions. + + * stdlib/strtol.c: Undo changes of Wed May 22 01:48:54 1996. + This prevented using this file in other GNU packages. + + * sysdeps/gnu/utmpbits.h: Define _HAVE_UT_TYPE, _HAVE_UT_ID, + and _HAVE_UT_TV because struct utmp has these members. + + * sysdeps/libm-i387/e_exp.S: Correct exp(+-Inf) case. + + * utmp.h: New file. Wrapper around login/utmp.h. + +Tue May 28 13:11:19 1996 Roland McGrath + + * elf/dl-error.c (struct catch): New type. + (catch): New static variable, struct catch *. + (catch_env, signalled_errstring, signalled_objname): Variables removed. + (_dl_signal_error): If CATCH is non-null, set its errstring and + objname members and jump to CATCH->env. If it is null, call + _dl_sysdep_fatal with a standard message. + * elf/rtld.c (dl_main): Explode `doit' function into dl_main's body. + No longer use _dl_catch_error. + + * Makerules (sed-remove-objpfx): Avoid extra space in regexp due to + continuation line. + + * sysdeps/unix/sysv/linux/i386/socket.S: Fix off-by-one error in + setting %ecx to 2nd syscall arg: we have pushed nothing, so function + args are found at 4(%esp), not 8(%esp). + +Mon May 27 10:10:00 1996 Roland McGrath + + * Makefile ($(includedir)/stubs.h): Add missing backslash. + + * sysdeps/unix/sysv/linux/i386/brk.c (__curbrk): Initialize it so it + can be aliased. + + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=termios] (headers): + Append termio.h. + + * Makefile ($(includedir)/stubs.h): Print a msg if we do nothing. + + * misc/sgtty.h: Add forward decl of struct sgttyb in case it is never + defined. + + * sysdeps/unix/sysv/linux/termio.h: New file. + * sysdeps/unix/sysv/linux/Dist: Add it. + + * sysdeps/unix/sysv/linux/ioctl-types.h: New file, wrapper around + kernel header . + + * misc/Makefile (headers): Add ioctl-types.h. + * sysdeps/generic/ioctl-types.h: New file. + * misc/sys/ioctl.h: Include . + (struct tchars, struct ltchars, struct sgttyb, struct winsize, + struct ttysize): Types moved there. + + * Makefile ($(includedir)/stubs.h): Don't touch target if new one is + identical. + + * time/Makefile (z.% rule): Generate generic zone%/ rule after + zone%/right/ and zone%/posix/ rules so they match first. + +Sun May 26 15:15:08 1996 Roland McGrath + + * features.h [_GNU_SOURCE] (_BSD_SOURCE, _SVID_SOURCE, + _POSIX_SOURCE, _POSIX_C_SOURCE): Define these. + + * time/Makefile (tzcompile): Add missing backslash. + + * stdlib/ldiv.c: Deansideclized. + + * wctype/wctype.h (__need_wint_t): Define this and include stddef.h. + [! _WINT_T] (wint_t): Conditionalize typedef on this in case pre-2.7.3 + stddef.h doesn't define it. + * wcsmbs/wchar.h: Likewise. + * stdlib/strtod.c: Likewise. + + * wcsmbs/wcstok.c: Fix argument name typo. + +Sun May 26 19:39:53 1996 Ulrich Drepper + + * intl/loadmsgcat.c (_nl_load_domain): Test correct variable + after malloc. + + * string/Makefile (tester-ENV): New variable to suppress message + translation in test. + + * string/tester.c: Add tests for strtok_r and strsep. + + * sysdeps/i386/i486/strcat.S: Correct some more 8bit operation + <-> 32 bit operand conflicts. + + * sysdeps/i386/strsep.S: Wrapper around + to produce strsep function. + * sysdeps/i386/strtok.S: Optimized implementation of strtok + function. + * sysdeps/i386/strtok_r.S: Wrapper around + to produce strtok_r function. + + * sysdeps/generic/strtok.c: Moved here from string/strtok.c. + Corrected example in comment. + + * string/Makefile (routines): Add strtok_r. + * sysdeps/generic/strtok_r.c: New file. Implement reentrant version + of strtok_r. + * string/string.h: Add prototype for strtok_r. + * wcsmbs/wcstok.c: Handle illegal SAVE_PTR argument the same + as in strtok_r. + +Sun May 26 13:28:23 1996 Roland McGrath + + * time/tzset.c (__tzset): Ignore leading : in $TZ; always try tzfile + first and fall back to 1003.1 syntax only if it fails. + + * time/Makefile (install-others): Also install posix/ZONE and + right/ZONE for each ZONE in $(zonenames). + (z.% rule): Generate rules for right/ZONE and posix/ZONE targets too, + the difference begin leapseconds vs /dev/null as 3rd dep. For + original ZONE targets use $(leapseconds), to be set in Makeconfig. + (target-zone-flavor): New variable. + (tzcompile): Use it to get the right -d for posix/ and right/ flavors. + * Makeconfig (leapseconds): New variable. + + * mach/Machrules (%.udeps rule): Depend on Machrules. + Emit deps for .uh and .__h files. + (%.uh, %.__h rules): Don't depend on %.defs; use #include <$*.defs> + instead. + +Sun May 26 01:06:47 1996 Ulrich Drepper + + * stdlib/Makefile (routines): Add llabs, lldiv. + * stdlib/llabs.c: New file. Implementation of return + absolute value of long long argument. + * stdlib/lldiv.c: New file. Implementation of division with remainder + of long long argument. + * stdlib/stdlib.h [__USE_GNU] (lldiv_t): New type for lldiv + function. + Define prototypes for lldiv and llabs functions. + + * locale/C-collate.c: Initialize _NL_COLLATE_NRULES element. + + * stdlib/strtod.c: Replace wchar_t with wint_t. The later is + really the type for a single wide character. + + * string/strxfrm.c (print_val): Define separate version for + use as wcsxfrm. Here we don't need UTF8 encoding. + + * wcsmbs/wchar.h: gcc-2.7.2-960517 finally introduces wint_t + in . Use this value and only for older gcc version + define in place. + (uwchar_t): Remove definition. + + * wcsmbs/wcscmp.c, wcsmbs/wcscoll.c, wcsmbs/wcsncmp.c, + wcsmbs/wcsxfrm.c, wcsmbs/wmemcmp.c: : Don't use uwchar_t as unsigned + type. wint_t is intended for this. + +Sat May 25 14:10:19 1996 Roland McGrath + + * sysdeps/unix/bsd/direntry.h: Use [1] instead of [0] for d_name to + quiet -ansi -pedantic. + * sysdeps/unix/common/direntry.h: Likewise. + + * login/Makefile (headers): Add lastlog.h. + * login/lastlog.h: New file. + + * login/Makefile (CFLAGS): Don't append -D_THREAD_SAFE. + * login/utmp.h [_REENTRANT || _THREAD_SAFE]: Replace this conditional + with #ifdef __USE_REENTRANT. + + * features.h (__GNU_LIBRARY__): Set to 6. + [_GNU_SOURCE] (_POSIX_SOURCE, _POSIX_C_SOURCE, _BSD_SOURCE, + _SVID_SOURCE): Make sure they are all defined. + + * sysdeps/unix/sysv/linux/gnu/types.h: Instead of including + , define _LINUX_TYPES_DONT_EXPORT and then + include . + + * resource/sys/resource.h: Remove trailing commas from enums. + +Fri May 24 17:30:50 1996 Roland McGrath + + * sysdeps/generic/netinet/in.h: Remove trailing commas from enums. * sysdeps/unix/sysv/linux/netinet/in.h: Likewise. - * sysdeps/unix/sysv/linux/resourcebits.h: Likewise. - * sysdeps/unix/sysv/linux/signum.h: Likewise. - * sysdeps/unix/sysv/linux/statbuf.h: Likewise. - * sysdeps/unix/sysv/linux/sys/io.h: Likewise. - * sysdeps/unix/sysv/linux/sys/klog.h: Likewise. - * sysdeps/unix/sysv/linux/sys/mman.h: Likewise. - * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise. - * sysdeps/unix/sysv/linux/syscall.h: Likewise. - * sysdeps/unix/sysv/linux/termbits.h: Likewise. - * sysdeps/unix/sysv/local_lim.h: Likewise. - * sysdeps/unix/sysv/sco3.2.4/syscall.h: Likewise. - * sysdeps/unix/sysv/sco3.2/local_lim.h: Likewise. - * sysdeps/unix/sysv/signum.h: Likewise. - * sysdeps/unix/sysv/sysv4/i386/statbuf.h: Likewise. - * sysdeps/unix/sysv/sysv4/signum.h: Likewise. - * sysdeps/unix/sysv/sysv4/sigset.h: Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/signum.h: Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h: Likewise. - * sysdeps/unix/sysv/sysv4/waitflags.h: Likewise. - * sysdeps/vax/huge_val.h: Likewise. - * values.h: Likewise. -Thu Nov 14 04:22:41 1996 Ulrich Drepper + * login/getutline_r.c: Include string.h. - * malloc/obstack.h: Use memcpy instead of bcopy and define a macro - `memcpy' using bcopy if memcpy is not available. + * Rules (static-only-routines): Restore the rule to make these .so's + empty objects. - * manual/stdio.texi: Correct description of printf customization. - The argument info function is not optional anymore and the - interface for `printf_function' also changed. - * manual/examples/rprintf.c: Define and use argument info function. + * login/pututline_r.c: Use struct assignment instead of memcpy. - * stdio-common/printf.h (struct printf_info): Change type for field - `pad' to wchar_t. - Correct comment for `register_printf_function'. + * login/getutline_r.c: Use strncmp instead of comparing two pointers + that will only be equal if you are overwriting the data and screwing + yourself anyway. - * nss/getXXbyYY.c [NEED_H_ERRNO]: Don't pass pointer to h_errno - to reentrant function. Instead use temporary variable and set - h_errno if an error occured. - Reported by NIIBE Yutaka. +Fri May 24 02:31:36 1996 Ulrich Drepper -Fri Nov 15 12:27:25 1996 Thomas Bushnell, n/BSG + * sysdeps/unix/sysv/linux/speed.c: Add new speed value 460800. - * sysdeps/mach/hurd/statbuf.h (S_IPTRANS, S_IATRANS, S_IROOT, - S_ITRANS): New macros. - (S_ISPARE): Update to include new macros and S_IUSEUNK. +Thu May 23 23:09:33 1996 Ulrich Drepper - * sysdeps/mach/hurd/select.c (__select): Construct arg to - mach_msg_destroy more nicely. + * FAQ: Add answer for 100% source code compatibility to Linux + libc by David Mosberger-Tang. - * sysdeps/mach/hurd/ioctl.c: Include . + Update from bind-4.9.4-T3B. + * inet/arpa/inet.h: Add prototypes for inet_pton, inet_ntop, + inet_nsap_addr, and inet_nsap_ntoa. + * resolv/gethnamaddr.c: Correct compatibility problems (sprintf), + remove fourth argument to inet_pton and correct handling of + host_addr passing. + * resolv/inet_ntop.c: Correct compatibility problems (sprintf). + * resolv/inet_pton.c: Remove fourth argument. + * resolv/resolv.h: Remove prototypes for inet_nsap_addr and + inet_nsap_ntoa. Now in . - * stdio/fopen.c (__getmode): Declare with prototype. - * stdio/memstream.c (enlarge_buffer, seek, free_info): Likewise. - * stdio/internals.c (__stdio_check_funcs, init_stream, - seek_to_target, flushbuf, fillbuf): Likewise. + * stdlib/gmp-impl.h: Add prototypes for internal functions. - * stdio-common/vfscanf.c (encode_error) [! USE_IN_LIBIO]: Call - funlockfile, not _IO_funlockfile. +Thu May 23 22:49:15 1996 Roland McGrath - * sysdeps/posix/readv.c (readv): Change return type to ssize_t. - Deansideclized. - * sysdeps/posix/writev.c (writev): Likewise. + * Rules (subdir_install): Remove dep on sor-$(subdir). + (static-only-routines): Removed variable and associated rules. - * sysdeps/mach/hurd/lchown.c: Include and fix typo. +Wed May 22 00:40:50 1996 David Mosberger-Tang -Thu Nov 14 12:53:16 1996 Thomas Bushnell, n/BSG + * sysdeps/unix/sysv/linux/alpha/speed.c (speeds): Add entry for + 460800 baud. - * sysdeps/mach/hurd/i386/init-first.c (_dl_start): Make this a - prototyped definition. - - * sysdeps/mach/hurd/select.c (__select): Deal properly when there - are no bits set in the masks. Reported by baldazzi@csr.unibo.it. - -Thu Nov 14 02:00:33 1996 Ulrich Drepper - - * inet/Makefile (headers): Add aliases.h. - (routines): Add getaliasent_r, getaliasent, getaliasname, and - getaliasname_r. - * aliases.h: New file. - * inet/aliases.h: New file. - * inet/getaliasent.c: New file. - * inet/getaliasent_r.c: New file. - * inet/getaliasname.c: New file. - * inet/getaliasname_r.c: New file. - * nss/Makefile (databases): Add alias. - * nss/alias-lookup.c: New file. - * nss/databases.def: Add aliases and publickey. - * nss/nss_db/db-alias.c: New file. - * nss/nss_files/files-alias.c: New file. - - * inet/getnetgrent_r.c (__internal_getnetgrent): Buffer length - argument to lookup function is of type size_t. - (innetgr): Likewise. - * nss/getXXbyYY_r.c: Likewise. - * nss/getXXent_r.c: Likewise. - * nss/nss_db/db-XXX.c: Likewise. - - * nss/getXXbyYY.c: Don't provide static buffer. Resize if call - failed because buffer was too small. - * nss/getXXent.c: Likewise. - - * nss/nss_files/files-XXX.c: Correct handling of shared file. The - getXXent_r function now uses f[gs]etpos to get to the correct - position. - - * nss/nss_files/files-parse.c: Indent lines for better readability. - - * malloc/obstack.c: Add new variable obstack_alloc_failed_handler - and new function print_and_abort. Remove all references to - alloc_failed field. - Add new function _obstack_memory_used. - * malloc/obstack.h (struct obstack): Remove field alloc_field. - Remove all references to alloc_failed field. - Add prototype for _obstack_memory_used. - - * posix/unistd.h: Correct typo. - -Wed Nov 13 03:09:16 1996 Ulrich Drepper - - * configure.in: Require at least autoconf-2.10.2. - -Tue Nov 12 16:58:41 1996 Thomas Bushnell, n/BSG - - * mach/mach.h (__mach_msg_destroy, mach_msg_destroy, __mach_msg): - Provide prototypes. - - * mach/msg-destroy.c (mach_msg_destroy_port, - mach_msg_destroy_memory): Use prototype syntax. - * hurd/hurdmalloc.c (more_memory, malloc_fork_prepare, - malloc_fork_parent, malloc_fork_child): Likewise. - - * stdio/stdio.h: Repair broken cpp syntax. - - * sysdeps/mach/hurd/lchown.c: New file. Guts from chown.c, except - we pass O_NOLINK on the open. - - * manual/errno.texi (EBADMSG, EIDRM, EMULTIHOP, ENODATA, ENOLINK, - ENOMSG, ENOSR, ENOSTR, EOVERFLOW, EPROTO, ETIME): Redesignate as - an XOPEN error code, move to before the "Linux only" section, and - give it a new number for the Hurd. - -Tue Nov 12 03:35:01 1996 Christian von Roques - - * malloc/obstack.h: Add new macro `obstack_make_room'. - * malloc/obstack.c: Add function implementation for - `obstack_make_room'. - -Mon Nov 11 13:54:04 1996 Ulrich Drepper - - Update to BIND-4.9.5-REL. - * resolv/Banner: Set to 4.9.5-REL. - * resolv/inet_net_pton.c: Was doing bad things to subnets and b'casts. - * resolv/res_debug.c (__fp_nquery): Could read past end of buffer. - (fix from BIND 8.1) - - * config.make.in: Add definition for top_absdir. - * Makerules (make-link): Fix path to rellns-sh script. - -Sat Nov 9 02:15:24 1996 Andreas Schwab - - * posix/unistd.h: Fix comment. - - * manual/arith.texi: Fix misspellings. Use `zero', not `null', - when talking about numbers. - * manual/users.texi: Likewise. - * manual/creature.texi: Likewise. Use @defvarx for a secondary - description header. - -Sat Nov 9 19:25:11 1996 Andreas Schwab - - * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Depend on - the real posix1_lim.h file so that it works in all subdirs, not - only in posix. - -Sat Nov 9 02:08:34 1996 Andreas Schwab - - * Makefile ($(includedir)/gnu/lib-names.h): Quote arguments of tr. - -Sat Nov 9 02:06:17 1996 Andreas Schwab - - * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Don't depend - on $(before-compile) which hasn't been properly setup yet at this - point. - -Sat Nov 9 02:02:48 1996 Andreas Schwab - - * sysdeps/generic/sigset.h: Don't use implicit int which will - probably require a diagnostic in the next revision of the C - standard. - * sysdeps/stub/lockfile.c: Likewise. - -Sat Nov 9 01:57:17 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/syscall.S: Correct last change. - * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise. - -Mon Nov 11 02:53:14 1996 Ulrich Drepper - - * time/strftime.c: Update copyright. Small cosmetic changes. - -Sun Nov 10 23:28:16 1996 Ulrich Drepper - - * inet/getprtname_r.c: Reformat copyright. - - * nss/Makefile (databases): Add key. - (libnss_files-routines): Exclude key database. - (libnss_db-routines): Likewise. - * nss/key-lookup.c: New file. - - * nss/getXXent_r.c (last_nip): Remember last service used since - last setXXent call. - (SETFUNC): Don't force to work through whole list of services in - call to __nss_next. - Update last_nip if necessary. - (ENDFUNC): Only process endXXent function up to currently used - last service. - (GETFUNC): Update last_nip if necessary. - - * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't - make static. - - * rpc/auth_des.h: New file. - * sunrpc/Makefile (headers): Add auth_des.h. - (routines): Add publickey. - * sunrpc/publickey.c: New file. Interface to public key handling. - * sunrpc/rpc/auth_des.h: New file. - * sunrpc/rpc/netdb.h: Really include . - -Sun Nov 10 02:37:15 1996 Ulrich Drepper - - * inet/gethstent_r.c: Update copyright. - * nss/getXXbyYY_r.c: Likewise. - * nss/nsswitch.c: Likewise. - * nss/getXXent_r.c: Likewise. - * nss/nss_files/files-XXX.c: Likewise. - * nss/nss_files/files-netgroup.c: Likewise. - * nss/nss_files/files-parse.c: Likewise. - - * nss/getXXent_r.c: Change implementation. It's not necessary to - call all setXXent functions. Just find first available and - when necessary let getXXent_r call the others. - - * nss/nss_files/files-XXX.c: Make really reentrant. Now calls - of getXXent and getXXbyYY can be mixed. The cursor for traversing - the database with getXXent will be remembered. - - * stdlib/test-canon.c (cwd): Change size to PATH_MAX. - -Sat Nov 9 15:34:48 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/Dist: Add sys/mtio.h. - * sysdeps/unix/sysv/linux/sys/mtio.h: New file. - - * signal/signal.h [__USE_BSD]: Add prototype for siggetmask. - -Fri Nov 8 13:29:30 1996 Ulrich Drepper - - * ctype/ctype.h (__isascii): Don't test for seventh bit not to be - set. Instead for none beside the first seven bits to be set. - X/Open allows the argument to be an `int' value. - Reported by Alain Williams . - (toascii, isascii): Define macro also when __USE_XOPEN. - - * sysdeps/posix/fpathconf.c: Use fstatfs to compute NAME_MAX, not - PATH_MAX. - -Thu Nov 7 03:04:29 1996 Ulrich Drepper - - * nss/getXXXent_r.c (SETFUNC_NAME): Reset `nip' after loop to - NULL so that GETFUNC will see first entry. - (ENDFUNC_NAME): Likewise. - - Rewrite Netgroups implementation to avoid global data. - * inet/netgroup.h: Add definition of name_list and struct - __netgrent. - Add prototypes for internal netgroup functions. - * nss/nss_files/files-netgroup.c (_nss_files_setnetgrent): Take - extra argument and use the included data instead of global vars. - (_nss_files_endnetgrent): Likewise. - (_nss_netgroup_parseline): Change to be static and use data - included in the RESULT structure. - * inet/getnetgrent_r.c (startp): Move into setup function. - (known_groups, needed_groups): new part of the __netgrent sruct. - (freememory): Take extra argument and use included data. - (__internal_endnetgrent): Likewise. - (internal_setnetgrent): Renamed to __internal_setnetgrent_reuse - and take extra argument. - (__internal_setnetgrent): New function. Call - __internal_setnetgrent_reuse after calling free_memory. - (setnetgrent): Only call __internal_setnetgrent. - (__getnetgrent_r): Split into two functions. __getnetgrent_r - calls __internal_getnetgrent after locking. - (innetgr): Use dynamic data only. I.e., innetgr now is fully - reentrant. - -Thu Nov 7 00:15:14 1996 Ulrich Drepper - - * sysdeps/stub/setenv.c: Correct typo: unseenv -> unsetenv. - Reported by Joshua Cowan . - -Wed Nov 6 13:13:37 1996 Ulrich Drepper - - * manual/creature.texi: Document that _GNU_SOURCE is no longer the - default when no *_SOURCE macro is given. - Reported by Karsten Weiss . - * NOTES: remade from manual/creature.texi. - * manual/libc.texinfo: Add back line about GPL translation which - somehow got lost. - - * Make-dist (dist.tar): Depend on README being updated. - - * rellns-sh: Correct thinko in removing leading /. - Reported by Andreas Jaeger . - - * pwd/fgetpwent_r.c: Recognize lines containing only names starting - with `+' or `-' in parser. - * grp/fgetgrent_r.c: Likewise. - * shadow/sgetspent_r.c: Likewise. - * nss/nss_files/files-spwd.c: Don't accept entries starting with - `+' or `-'. - -Wed Nov 6 04:30:26 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias llseek for - _llseek syscall. Reported by Andy Sewell . - - * string/argz.h: Don't protect by __USE_GNU. - -Tue Nov 5 23:38:28 1996 Ulrich Drepper - - * Lots of files: Update and reformat copyright. - - * Makefile (headers): Add xopen_lim.h. - - * catgets/nl_types.h: Move __BEGIN_DECLS before definition of nl_catd. - - * grp/grp.h: Define setgrent, getgrent, endgrent, and getgrent_r - if __USE_XOPEN_EXTENDED is defined. - * pwd/pwd.h: Define setpwent, getpwent, endpwent, and getpwent_r - if __USE_XOPEN_EXTENDED is defined. - - * io/Makefile (routines): Add lchown. - * sysdeps/stub/lchown.c: New file. - - * io/sys/poll.h: Add definition of POLLWRNORM. - - * io/sys/stat.h: Declare lstat, fchmod, mknod when - __USE_XOPEN_EXTENDED is defined. - - * libio/Makefile (routines): Add obprintf. - * libio/obprintf.c: New file. - * libio/iolibio.h: Add prototypes for _IO_obstack_vprintf and - _IO_obstack_printf. - * libio/libio.h: Fix typo. - * libio/stdio.h: Declare tempnam if __USE_XOPEN_EXTENDED is defined. - Add prototypes for obstack_vprintf and obstack_printf. - - * manual/creature.texi: Describe _XOPEN_SOURCE macro. - * manual/intro.texi: Add reference to NSS chapter. - * manual/libc.texinfo: Update UPDATED. - Comment out `@printindex cp'. It works again. - * manual/memory.texi: Add description for obstack_ptr_grow, - obstack_int_grow, obstack_ptr_grow_fast, and obstack_int_grow_fast. - * manual/nss.texi: Add a few @cindex entries and change NSS_STATUS_* - index entries to @vindex. - * manual/users.texi: Correct @cindex entry for Netgroup. - - * math/mathcalls.h: Use __USE_XOPEN and __USE_XOPEN_EXTENDED to - make declarations visible for X/Open sources. - - * misc/search.h: Declare insque/remque only is __USE_SVID or - __USE_XOPEN_EXTENDED is defined. - - * misc/sys/uio.h (readv, writev): Change return value from int to - ssize_t. - - * posix/Makefile (headers): Add re_comp.h. - * posix/re_comp.h: New file. XPG interface to regex functions. - - * posix/getconf.c: Add all names from XPG4.2. - * posix/posix1_lim.h: Increase minimum values for _POSIX_CHILD_MAX - and _POSIX_OPEN_MAX to minimums from XPG4.2. - * sysdeps/generic/confname.h: Add all _SC_* names from XPG4.2. - * sysdeps/posix/sysconf.c: Handle new _SC_* values. - * sysdeps/stub/sysconf.c: Likewise. - - * posix/unistd.h: Add declaration of ualarm and lchown. Declare - usleep, fchown, fchdir, nice, getpgid, setsid, getsid, setreuid, - setregid, vfork, ttyslot, symlink, readlink, gethostid, truncate, - ftruncate, getdtablesize, brk, sbrk, lockf when - __USE_XOPEN_EXTENDED is defined. - - * posix/sys/wait.h: Declare wait3 if __USE_XOPEN_EXTENDED is defined. - - * shadow/shadow.h: Define SHADOW using _PATH_SHADOW. - * sysdeps/generic/paths.h: Define _PATH_SHADOW. - * sysdeps/unix/sysv/linux/paths.h: Likewise. - - * signal/signal.h: Declare killpg, sigstack and sigaltstack when - __USE_XOPEN_EXTENDED is defined. - - * stdio/stdio.h: Declare tempnam when __USE_XOPEN is defined. - - * stdlib/stdlib.h: Make rand48 functions available when __USE_XOPEN - is defined. - Likewise for valloc, putenv, realpath, [efg]cvt*, and getsubopt - functions. - - * string/string.h: Make memccpy, strdup, bcmp, bcopy, bzero, index, - and rindex available when __USE_XOPEN_EXTENDED is defined. - - * sysdeps/mach/getpagesize.c: De-ANSI-fy. Change return type to int. - * sysdeps/posix/getpagesize.c: Likewise. - * sysdeps/stub/getpagesize.c: Likewise. - * sysdeps/unix/getpagesize.c: Likewise. - - * time/africa: Update from tzdata1996l. - * time/asia: Likewise. - * time/australia: Likewise. - * time/europe: Likewise. - * time/northamerica: Likewise. - * time/pacificnew: Likewise. - * time/southamerica: Likewise. - * time/tzfile.h: Update from tzcode1996m. - - * time/time.h: Declare strptime if __USE_XOPEN. - Declare daylight and timezone also if __USE_XOPEN. - - * time/sys/time.h: Remove declaration of ualarm. - - * wctype/wctype.h: Just reference ISO C standard. - -Tue Nov 5 01:26:32 1996 Richard Henderson - - * crypt/Makefile: Add crypt routines to libc as well iff - $(crypt-in-libc) is set. Do this for temporary binary compatibility - on existing Linux/Alpha installations. - - * stdlib/div.c, sysdeps/generic/div.c: Move file to .../generic/. - * stdlib/ldiv.c, sysdeps/generic/ldiv.c: Likewise. - * stdlib/lldiv.c, sysdeps/generic/lldiv.c: Likewise. - * sysdeps/alpha/Makefile (divrem): Add divlu, dviqu, remlu, and - remqu. - * sysdeps/alpha/div.S: New file. - * sysdeps/alpha/ldiv.S: New file. - * sysdeps/alpha/lldiv.S: New file. - * sysdeps/alpha/divrem.h: Merge signed and unsigned division. - Take pointers from Linus and tighten the inner loops a bit. - * sysdeps/alpha/divl.S: Change defines for merged routines. - * sysdeps/alpha/divq.S: Likewise. - * sysdeps/alpha/reml.S: Likewise. - * sysdeps/alpha/remq.S: Likewise. - * sysdeps/alpha/divlu.S: Remove file. - * sysdeps/alpha/divqu.S: Likewise. - * sysdeps/alpha/remlu.S: Likewise. - * sysdeps/alpha/remqu.S: Likewise. - - * sysdeps/alpha/bsd-_setjmp.S: If PROF, call _mcount. - * sysdeps/alpha/bsd-setjmp.S: Likewise. - * sysdeps/alpha/bzero.S: Likewise. - * sysdeps/alpha/ffs.S: Likewise. - * sysdeps/alpha/htonl.S: Likewise. - * sysdeps/alpha/htons.S: Likewise. - * sysdeps/alpha/memchr.S: Likewise. - * sysdeps/alpha/memset.S: Likewise. - * sysdeps/alpha/s_copysign.S: Likewise. - * sysdeps/alpha/s_fabs.S: Likewise. - * sysdeps/alpha/setjmp.S: Likewise. - * sysdeps/alpha/stpcpy.S: Likewise. - * sysdeps/alpha/stpncpy.S: Likewise. - * sysdeps/alpha/strcat.S: Likewise. - * sysdeps/alpha/strchr.S: Likewise. - * sysdeps/alpha/strcpy.S: Likewise. - * sysdeps/alpha/strlen.S: Likewise. - * sysdeps/alpha/strncat.S: Likewise. - * sysdeps/alpha/strncpy.S: Likewise. - * sysdeps/alpha/strrchr.S: Likewise. - * sysdeps/alpha/udiv_qrnnd.S: Likewise. Fix private labels. - Convert two small jumps to use conditional moves. - * sysdeps/unix/alpha/sysdep.h: Compress all __STDC__ nastiness. - (PSEUDO): If PROF, call _mcount. - * sysdeps/unix/sysv/linux/alpha/brk.S: If PROF, call _mcount. - * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/llseek.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise. - - * sysdeps/alpha/memcpy.S: New file. Odd layout because it should - eventually contain memmove as well. - * sysdeps/alpha/strcmp.S: New file. - * sysdeps/alpha/strncmp.S: New file. - * sysdeps/alpha/w_sqrt.S: New file. - -Tue Nov 5 18:06:06 1996 Ulrich Drepper - - * sysdeps/mach/hurd/ttyname_r.c: Use `size_t' for len variable. - -Tue Nov 5 12:09:29 1996 Ulrich Drepper - - * sysdeps/generic/sysdep.h: Define END only if not yet defined. - * sysdeps/unix/sysdep.h: Define PSEUDO_END only if not yet defined. - Reported by Thomas Bushnell, n/BSG. - -Mon Nov 4 22:46:53 1996 Ulrich Drepper - - * manual/users.texi (Netgroup Data): Remove { } around @cindex. - -Mon Nov 4 19:07:05 1996 Ulrich Drepper - - * malloc/calloc.c: Check for overflow before trying to allocate - memory. Proposed by Neil Matthews . - -Fri Nov 1 18:18:32 1996 Andreas Schwab - - * manual/llio.texi (Operating Modes): Add missing arguments to - @deftypevr in O_NONBLOCK description. - - * manual/time.texi (Time Zone Functions): Enclose type name in - braces in description of tzname. FIXME: this does not yet work - correctly in info. - -Sun Nov 3 17:29:06 1996 Ulrich Drepper - - * features.h: Add X/Open macros. - * posix/unistd.h: Define X/Open macros. - * sysdeps/generic/confname.h: Add _SC_XOPEN_XCU_VERSION, - _SC_XOPEN_UNIX, _SC_XOPEN_CRYPT, _SC_XOPEN_ENH_I18N, - _SC_XOPEN_SHM, _SC_2_CHAR_TERM, _SC_2_C_VERSION, and _SC_2_UPE. - * sysdeps/posix/sysconf.c: Handle new constants. - * sysdeps/stub/sysconf.c: Likewise. - * sysdeps/unix/sysv/linux/posix_opt.h: Add definition of _XOPEN_SHM. - - * catgets/catgets.c (catopen): Set errno to ENOMEM when - we run out of memory. - (catgets): Set errno to EBADF when catalog handle is invalid. - Set errno to ENOMSG when translation is not available. - (catclose): Set errno to EBADF when catalog handle is invalid. - - * ctype/ctype.h: Declare isascii and toascii when __USE_XOPEN. - Likewise for _toupper and _tolower. - - * manual/arith.texi: Document strtoq, strtoll, strtouq, strtoull, - strtof, and strtold. - * manual/math.texi: Document HUGE_VALf and HUGE_VALl. - * manual/stdio.h: Document ' flag for numeric formats of scanf. - * manual/users.texi: Document that cuserid shouldn't be used. - - * misc/Makefile (routines): Add dirname. - (headers): Add libgen.h. - (tests): Add tst-dirname. - * misc/dirname.c: New file. - * misc/libgen.h: New file. - * misc/tst-dirname.c: New file. - - * misc/search.h: Parameter of hcreate must be of type size_t. - * misc/hsearch.c: Likewise. - * misc/hsearch_r.c: Likewise for hcreate_r. - * misc/search.h: Parameters of insque and remque must be `void *'. - * misc/insremque.c: Likewise. - - * posix/unistd.h: Move declarations of mktemp and mkstemp to... - * stdlib/stdlib.h: ...here. - * posix/unistd.h [__USE_XOPEN]: Add prototypes for crypt, setkey, - encrypt, and swab. - - * stdio-common/printf-parse.h (struct printf_spec): Add pa_wchar - and pa_wstring. - (parse_one_spec): Remove Linux compatibility code. - Recognize %C and %S formats. - * stdio-common/printf.h: Add PA_WCHAR and PA_WSTRING. - * stdio-common/vfprintf.c: Add implementation of %C and %S format. - * stdio-common/vfscanf.c: Likewise for scanf. - - * stdlib/l64a.c: Return value for 0 must be the empty string. - * stdlib/stdlib.h: Declare reentrant function from rand48 family - only if __USE_REENTRANT. - Declare rand48 functions also if __USE_XOPEN. - - * stdlib/strtol.c: Return 0 and set errno to EINVAL when BASE is - not a legal value. - Return 0 and set errno to EINVAL when strou* sees negativ number. - * stdlib/tst-strtol.c: De-ANSI-fy. - Change expected results for test of unsigned function and negative - input. - - * string/stratcliff.c: Prevent warnings. - * string.h: Move declaration of swab to . - * string/swab.c: De-ANSI-fy. - - * sysdeps/posix/cuserid.c: Implement using getpwuid_r. - * sysdeps/posix/mkstemp.c: Include for prototype. - * sysdeps/posix/mktemp.c: Likewise. - * sysdeps/stub/mkstemp.c: Likewise. - * sysdeps/stub/mktemp.c: Likewise. - - * sysvipc/sys/ipc.h: Prototypes of ftok have to be of types `const - char *' and `int'. - * sysvipc/ftok.c: Likewise. Make sure only lower 8 bits of - PROJ_ID are used. - -Sun Nov 3 03:21:28 1996 Heiko Schroeder - - * locale/programs/ld-numeric.c (numeric_output): Compute idx[0] - correctly. - -Sat Nov 2 17:44:32 1996 Ulrich Drepper - - * sysdeps/posix/cuserid.c: Use reentrant functions. - * manual/users.texi: Tell that cuserid is marked to be withdrawn in - XPG4.2. - -Sat Nov 2 14:26:37 1996 Ulrich Drepper - - Linus said he will make sure no system call will return a value - in -1 ... -4095 as a valid result. - * sysdeps/unix/sysv/linux/i386/sysdep.h: Correct test for error. - * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise. - -Sat Nov 2 16:54:49 1996 NIIBE Yutaka - - * sysdeps/stub/lockfile.c [!USE_IN_LIBIO]: Define weak alias for - __funlockfile, not a circular alias. - Define __IO_ftrylockfile if USE_IN_LIBIO and __ftrylockfile if not, - not vice versa. - - * sysdeps/unix/sysv/linux/i386/sysdep.S (__errno_location): Make - it a weak symbol. - * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location): Likewise. - -Tue Nov 5 00:04:48 1996 Thomas Bushnell, n/BSG - - * stdio-common/vfprintf.c: Include . - -Mon Nov 4 16:57:42 1996 Thomas Bushnell, n/BSG - - * sysdeps/mach/hurd/ttyname_r.c (ttyname_r): Change prototype to - match POSIX.1c. - - * sysdeps/stub/lockfile.c [! USE_IN_LIBIO]: Second definition of - __internal_funlockfile (in terms of itself) should actually be a - definition of __funlockfile. - - * pwd/pwd.h: Get `size_t' from . - * grp/grp.h: Likewise. - * shadow/shadow.h: Likewise. - - * stdlib/atexit.c (__new_exitfn): Add missing semicolons after - calls to __libc_lock_lock and __libc_lock_unlock. - * stdlib/random.c (__srandom, __initstate, __setstate, __random): - Likewise. - - * hurd/hurdsig.c (write_corefile): Fix typo. - - * sysdeps/mach/hurd/sigwait.c: New file. - -Sat Nov 2 01:48:47 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/errnos.h: Move declaration of errno - and __errno_location to correct position. - -Thu Oct 31 22:51:25 1996 Ulrich Drepper - - * Makefile (distribute): Add rellns-sh. - * rellns-sh: New file. - * Makerules (make-link): Use rellns-sh. - * time/Makefile ($(installed-localtime-file)): Likewise. - -Thu Oct 31 11:33:01 1996 Ulrich Drepper - - * elf/Makefile ($objpfx)ldd) Substitute $(version) for @VERSION@. - (distribute): Add ldd.bash.in. - * elf/ldd.sh.in: Process --help and --version parameter. - Correct comments. - * elf/ldd.bash.in: New file. - - * stdlib/stdlib.h: Add prototype for clearenv. - * sysdeps/generic/setenv.c: Add implementation of clearenv. - (setenv): Handle __environ == NULL correctly. - * sysdeps/stub/setenv.c: Add stub definition for unsetenv and - clearenv. - - * sysdeps/generic/putenv.c: Correct layout to fit in libit. - * sysdeps/generic/setenv.c: Likewise. - * stdlib/strtol.h: Likewise. - - * time/sys/time.h: Define __need_timeval and include . - Remove definition of struct timeval. - * sysdeps/stub/timebits.h [__need_timeval]: Define struct timeval - using `time_t' for members. - * sysdeps/unix/sysv/linux/timebits.h [__need_timeval]: Likewise. - * sysdeps/unix/sysv/linux/alpha/timebits.h: New file. Same - as old Linux specific version. - -Thu Oct 31 00:01:39 1996 Ulrich Drepper - - * signal/Makefile (routines): Add sigwait. - * signal/signal.h: Add prototype for sigwait. - * sysdeps/posix/sigwait.c: New file. Implementation of sigwait - function from POSIX.1c. - * sysdeps/stub/sigwait.c: New file. Stub version of sigwait. - -Wed Oct 30 02:01:17 1996 Richard Henderson - - * sunrpc/xdr_float.c (xdr_float): Handle sizeof(float)!=sizeof(long), - but don't bother going farther than sizeof(float)==sizeof(int). - (xdr_double): Handle little-endian machines! Handle sizeof(double) - != 2*sizeof(long), though again don't bother with more than int. - -Thu Oct 29 16:09:42 1996 Craig Metz - - * sysdeps/posix/getaddrinfo.c: Use buffer limits for inet_ntop - function. - -Tue Oct 29 12:37:22 1996 Ulrich Drepper - - * Makerules: Create symbolic links for linking in $(libdir). - (make-link): Use absolute path for destination if this is not in - the same directory. - - * elf/rtld.c (dl_main): When verifying don't check the name of - the dynamic linker. - - * shlib-versions: Change entries for Hurd specific libs from - *-*-gnu* to *-*-gnu?* so that i586-pc-linux-gnu does not match - these entries. - - * assert/assert.h: Reformat copyright. - Change reference to ANSI into reference to ISO C. - * ctype/ctype.h: Likewise. - * errno.h: Likewise. - * limits.h: Likewise. - * math/math.h: Likewise. - * setjmp/setjmp.h: Likewise. - * stdio/stdio.h: Likewise. - * libio/stdio.h: Likewise. - * stdlib/stdlib.h: Likewise. - * string/string.h: Likewise. - * time/time.h: Likewise. - - * string/argz.h: Use __const in definitions. - - * elf/dlfcn.h: Use __const and __P. Reformat copyright. - * misc/err.h: Likewise. - - * wctype/wctype.h (wctrans_t): Use __const instead of const. - - * Makeconfig ($(common-objpfx)soversions.mk): Generate list of - sonames for versioned libraries. - * Makefile: Remove code to generate libc-version.h. - Generate gnu/lib-names.h with info from soversions.mk. - * features.h: Define __GLIBC__ and __GLIBC_MINOR__. - - * dirent/tst-seekdir.c: Initialize save3. - * grp/testgrp.c: Initialize my_group. - - * grp/fgetgrent_r.c: Change interface to follow POSIX.1c. - * grp/grp.h: Likewise. - * nss/getXXbyYY.c: Likewise. - * nss/getXXbyYY_r.c: Likewise. - * nss/getXXent.c: Likewise. - * nss/getXXent_r.c: Likewise. - * pwd/fgetpwent_r.c: Likewise. - * pwd/pwd.h: Likewise. - * shadow/fgetspent_r.c: Likewise. - * shadow/sgetspent.c: Likewise. - * shadow/sgetspent_r.c: Likewise. - * grp/fgetgrent.c: Adapt for change in interface of fgetgrent_r. - * pwd/fgetpwent.c: Likewise, for fgetpwent_r.c. - * shadow/fgetspent.c: Likewise, for fgetpwent_r.c. - * resolv/netdb.h: Adapt prototypes for reentrant functions to - follow POSIX.1c. - * sunrpc/rpc/netdb.h: Likewise, - * shadow/shadow.h: Likewise. - - * inet/getnetgrent_r.c: Follow change in pwd/grp function interface. - - * sysdeps/unix/getlogin_r.c: Return ERANGE when buffer is too small. - - * inet/herrno.c: Don't define __h_errno, only h_errno otherwise the - ELF aliasing creates strange situations. - * sysdeps/unix/sysv/linux/errnos.H: Define __set_errno as inline - function. - * sysdeps/unix/sysv/linux/i386/sysdep.S: Don't define __errno. - * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise. - - * libio/libio.h: Don't declare _IO_flockfile and _IO_funlockfile - weak. - - * locale/programs/charmap.c: Add casts to prevent warnings. - * locale/programs/linereader.h: Likewise. - * locale/programs/ld-collate.c: Likewise. - * locale/programs/stringtrans.c: Likewise. - Change types for various variables to prevent warnings. - * locale/programs/ld-ctype.c: Likewise. - * locale/programs/linereader.h (lr_ungetc): Likewise. - * locale/programs/charset.h (struct charset): Use `unsigned int' - as type for width_default. - * posix/regex.c: Change type of `this_reg' variables. - * stdio-common/Makefile: Use -Wno-format for tstdiomisc.c. - * stdio-common/bug5.c: De-ANSI-fy. Use correct types for - variables. - * stdio-common/printf_fp.c: Initialize to_shift. - * stdio-common/test_rdwr.c: Add cast. - * stdio-common/vfprintf.c: Add casts and use correct types to - prevent warnings. - * stdio-common/vfscanf.c: Initialize str and strptr. - * sysdeps/libm-ieee754/e_jnf.c: Use correct types to prevent warnings. - * sysdeps/libm-ieee754/e_pow.c: Likewise. - * sysdeps/libm-ieee754/e_powf.c: Likewise. - * sysdeps/libm-ieee754/e_rem_pio2f.c: Likewise. - * time/test-tz.c: Likewise. - - * manual/creature.texi: Document _REENTRANT and _THREAD_SAFE. - * manual/libc.texinfo: Prevent makeinfo failure by avoiding - libc.cp index. This must be fixed. - * manual/nss.texi: Adapt for correct POSIX.1c interface of - reentrant functions. - * manual/users.texi: Document netgroup functions. - - * po/es.po: Updated. - * po/fr.po: Updated. - - * posix/fnmatch.c: Change to match libit version. - - * posix/unistd.h: Change prototype for ttyname_r to match POSIX.1c. - * sysdep/posix/ttyname_r.c: Likewise. - - * stdlib/atexit.h (__new_exitfn): Add internal locking. - * stdlib/exit.c: De-ANSI-fy. Handle new ef_us value for flavor. - * stdlib/exit.h: De-ANSI-fy. Define new ef_us value for flavor. - * stdlib/random.c (__srandom): Add internal locking. - (__initstate): Likewise. - (__setstate): Likewise. - (__random): Likewise. - -Mon Oct 28 22:28:37 1996 NIIBE Yutaka - - * sysdeps/generic/crypt-entry.c (crypt_r): Use __set_errno. - (crypt): Likewise. - * resolv/gethnamaddr.c (gethostbyname2): Likewise. - * sysdeps/generic/uname.c: Likewise. - * sysdeps/posix/rename.c: Likewise. - * sysdeps/stub/setrlimit.c: Likewise. - - * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Fix typo. - -Sun Oct 27 11:12:50 1996 Andreas Schwab - - * locale/programs/ld-collate.c (collate_order_elem): Fix format - string. - (collate_element_to): Cast field width argument to `int' for - format string. - (collate_symbol): Likewise. - (collate_order_elem): Likewise. - (collate_weight_bsymbol): Likewise. - (collate_simple_weight): Likewise. - - * locale/programs/ld-time.c (STRARR_ELEM): Fix format string. - - * locale/programs/ld-ctype.c (ctype_class_newP): Add missing - argument for format string. - (ctype_map_newP): Likewise. - (set_class_defaults): Fix format string. - - * locale/programs/localedef.c (construct_output_path): Putting an - explicit \0 into the format string does not work, use %c. - -Sat Oct 26 20:38:36 1996 Richard Henderson - - * Makerules: Install all shared libraries in $(slibdir). - - * login/Makefile: Build libutil.so in others pass after - libc.so is created. - - * misc/mntent.h: Include for _PATH_MNTTAB & _PATH_MOUNTED. - - * string/stratcliff.c: Allocate 3 pages instead of one, then use - mprotect so that we know that the adjacent pages are inaccessible. - - * resource/sys/resource.h: Move all structures and enums to ... - * sysdeps/generic/resourcebits.h: ... here ... - * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: ... and here. - * sysdeps/unix/sysv/linux/alpha/resourcebits.h: Remove. - * sysdeps/unix/sysv/linux/i386/resourcebits.h: Remove. - * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Remove. - * sysdeps/unix/sysv/linux/mips/resourcebits.h: Remove. - * sysdeps/unix/sysv/linux/resourcebits.h: New file. Use kernel - header for RLIMIT_* definitions. The members of struct rlimit - are longs. - - -Thu Oct 24 17:43:34 1996 Andreas Schwab - - * MakeTAGS (sysdep-dirs): Fix typo. - -Thu Oct 24 17:32:57 1996 Thomas Bushnell, n/BSG - - * hurd/hurdsig.c (write_corefile): If we can't create the core - file, still call crash_dump_task with a null FILE arg. Maybe it - won't actually need the file. - -Wed Oct 23 03:45:22 1996 Ulrich Drepper - - * Makefile (headers): Don't mention libc-version.h. - (install-others): ...but here. - -Tue Oct 22 21:38:21 1996 Ulrich Drepper - - * version.h: Bump version number to 1.97. - - * features.h: Undo change of Sun Oct 20 22:19:58 1996. - Include libc-version.h. - * features.h.in: Removed. - * Makefile: Change rules to generate libc-version.h instead of - features.h. - - * malloc/free.c: Add cast to prevent warning. - * malloc/malloc-walk.c: Likewise. - * malloc/ralloc.c: Likewise. - * malloc/realloc.c: Likewise. - - * grp/fgetgrent_r.c: Accept empty numeric field if name start with + - or -. - * pwd/fgetpwent_r.c: Likewise. - * nss/nss_files/files-grp.c: Don't accept entries with names starting - with + or - in lookup functions. - * nss/nss_files/files-pwd.c: Likewise. - - * Makerules: Call autolock.sh using $(SHELL). - -Mon Oct 21 22:52:16 1996 NIIBE Yutaka - - * elf/dl-minimal.c: Don't define `dgettext' replacement but - `dcgettext'. When optimizing the macros in define - `dgettext' as a macro and so this function will never be called. - -Mon Oct 21 15:41:59 1996 Ulrich Drepper - - * sysdeps/i386/sysdep.h: Define END to use .size when available. - (PSEUDO_END): Use END. - * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PSEUDO_END to - define SYSCALL_ERROR_HANDLER before using END. - (SYSCALL_ERROR_HANDLER): Don't use .size directive. - * sysdeps/unix/sysv/linux/clone.S: Don't use SYSCALL_ERROR_HANDLER - and .size directive but PSEUDO_END. - * sysdeps/unix/sysv/linux/mmap.S: Likewise. - * sysdeps/unix/sysv/linux/socket.S: Likewise. - * sysdeps/unix/sysv/linux/syscall.S: Likewise. - * sysdeps/unix/sysv/linux/sysdep.S (__errno_location): Use END. - * sysdeps/unix/i386/sysdep.S (__syscall_error): Likewise. - * sysdeps/i386/__longjmp.S: Use END instead of PSEUDO_END. - * sysdeps/i386/bsd-_setjmp.S: Likewise. - * sysdeps/i386/bsd-setjmp.S: Likewise. - * sysdeps/i386/memchr.S: Likewise. - * sysdeps/i386/memcmp.S: Likewise. - * sysdeps/i386/setjmp.S: Likewise. - * sysdeps/i386/stpcpy.S: Likewise. - * sysdeps/i386/stpncpy.S: Likewise. - * sysdeps/i386/strchr.S: Likewise. - * sysdeps/i386/strcspn.S: Likewise. - * sysdeps/i386/strpbrk.S: Likewise. - * sysdeps/i386/strrchr.S: Likewise. - * sysdeps/i386/strspn.S: Likewise. - * sysdeps/i386/strtok.S: Likewise. - * sysdeps/i386/i486/strcat.S: Likewise. - * sysdeps/i386/i486/strlen.S: Likewise. - * sysdeps/i386/i586/memset.S: Likewise. - * sysdeps/i386/i586/strchr.S: Likewise. - * sysdeps/i386/i586/strlen.S: Likewise. - - * sysdeps/i386/strlen.c: De-ANSI-fy. - - * sysdeps/generic/_strerror.c: Undo change of Mon Oct 21 01:32:36 1996. - Define dgettext if not defined to use dcgettext. - * sysdeps/mach/_strerror.c: Likewise. - - * sysdeps/unix/sysv/i386/time.S: Add PSEUDO_END to get - __syscall_error defined.. - -Sat Oct 19 12:27:50 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/mmap.S: Fix braino: CALL_MCOUNT is - already included in the ENTRY macro. Remove SYSCALL_ERROR_HANDLER - now provided by PSEUDO_END. - * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. Use JUMPTARGET. - - * sysdeps/generic/sysdep.h (END): Provide default empty - definition. - * sysdeps/unix/sysv/linux/m68k/sysdep.h (END): Redefine to use - size directive. - (PSEUDO): Don't include SYSCALL_ERROR_HANDLER. - (PSEUDO_END): Include it here instead. - (SYSCALL_ERROR_HANDLER): Remove type directive. - * sysdeps/m68k/bsd-_setjmp.S: Use END, not PSEUDO_END. - * sysdeps/m68k/bsd-setjmp.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise. - (__syscall_error): Can't use ENTRY macro. - -Sat Oct 19 12:13:24 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/syscalls.list (getresuid, setresuid): - Set caller to EXTRA. - -Mon Oct 21 01:32:36 1996 Ulrich Drepper - - * elf/rtld.c (dl_main): Move initialization of `_dl_starting_up' - to beginning of function. So libc functions can use this flag. - * sysdeps/generic/_strerror.c: Don't use dgettext for message - translation while `_dl_starting_up' is nonzero. - - * elf/dl-deps.c (_dl_map_object_deps): Add new parameter - TRACE_MODE. - Pass parameter value to _dl_map_object. - * elf/dl-load (_dl_map_object): Add new parameter TRACE_MODE. - If TRACE_MODE is nonzero don#t signal error when shared lib - is not found. Instead create fake entry for link map. - * dl-open.c (dl-open): Pass 0 for new argument to _dl_map_object. - * dl-runtime.c (_dl_object_relocation_scope): Pass 0 for new - argument to _dl_map_object_deps. - * elf/link.h: Add new parameter TRACE_MODE for prototypes of - _dl_map_object and _dl_map_object_deps. - * elf/rtld.c (dl_main): Pass 0 for new argument to _dl_map_object - and _dl_map_object_deps. - When mode == trace test for l_opencount == 0 before printing - link information since this means the lib is not found. - -Sun Oct 20 22:19:58 1996 Ulrich Drepper - - * rpm/template: Add INSTALL to %doc line to follow copyright - restrictions which demand the distribution of the copyright - messages in INSTALL even for binary distributions. - - * features.h: Rename to... - * features.h.in: ...this. Change value of __GNU_LIBRARY__ to 2 - (for major version numberof package) and add __GNU_LIBRARY_MINOR__ - and __GNU_LIBRARY_INTERFACE__. - * Makefile ($(objpfx)features.h): New rule to generate features.h - from template features.h.in. - - * sysdeps/unix/sysv/linux/getsysstats.c: Include . - -Sun Oct 20 00:00:13 1996 Richard Henderson - - * locale/programs/linereader.c (lr_open): Cast away const before free. - (lr_close): Likewise. - - * misc/mntent.h: Move _PATH_MNTTAB & _PATH_MOUNTED to paths.h. - * misc/paths.h: Move to ... - * sysdeps/generic/paths.h: ... here. - * paths.h: Remove. - * sysdeps/unix/sysv/linux/paths.h: New file. Correct _PATH_STDPATH, - _PATH_MAILDIR, _PATH_MOUNTED, _PATH_UNIX to comply with the fsstd. - - * nss/nss_db/db-netgrp.h: Include . - - * stdio-common/psignal.c: De-ansidecl-ify. Allow NULL entries in - _sys_siglist, which result in the "Unknown signal" message. - * string/strsignal.c: Likewise. - * sysdeps/generic/Makefile [stdio-common]: If $(inhibit-siglist), - don't auto-generate siglist.c. - * sysdeps/unix/sysv/linux/Makefile [stdio-common]: Set inhibit-siglist. - * sysdeps/unix/sysv/linux/siglist.c: New file. Not needing to - autogenerate makes bootstrapping and cross-compiling much easier. - * sysdeps/unix/sysv/linux/siglist.h: New file. - - * stdlib/longlong.h: Prototype __udiv_qrnnd. - - * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_headers): Remove - sys/io.h. It is already added in .../linux/Makefile. - - * sysdeps/unix/sysv/linux/alpha/sigaction.h: New file. - * sysdeps/unix/sysv/linux/alpha/signum.h: New file. * sysdeps/unix/sysv/linux/alpha/statbuf.h: New file. -Sun Oct 20 17:17:12 1996 Ulrich Drepper + * sysdeps/unix/sysv/linux/alpha/Makefile (headers): Add + alpha/ptrace.h. + * sysdeps/unix/sysv/linux/alpha/alpha/ptrace.h: New file. - Add implementation of POSIX.1g function getaddrinfo. - * posix/Makefile (routines): Add getaddrinfo. - * sysdeps/posix/getaddrinfo.c.: New file. Add implementation by - Craig Metz. - * sysdeps/stub/getaddrinfo.c: New file. Stub implementation. - * resolv/netdb.h [__USE_POSIX]: Add getaddrinfo prototypes and - related constants and structures. + * sysdeps/libm-ieee754/s_scalbnf.c: Call __scalbnf instead of + scalbnf. -Sun Oct 20 13:02:34 1996 Ulrich Drepper + * sysdeps/generic/sigset.h (__sigismember, __sigaddset, + __sigdelset): Add declaration to keep ANSI compilers quiet. - * sysdeps/stub/lockfile.c: Rename functions to __internal_*. - Make all old names weak alises so that they can be replaced - by libpthread. + * sysdeps/alpha/__math.h (cabs): Remove underscores from struct + __cabs_complex member names in call to __hypot(). - * stdio-common/vfprintf.c: Only declare __flockfile and __funlockfile - for !USE_IN_LIBIO. - [USE_IN_LIBIO]: Call _IO_flockfile and _IO_funlockfile instead of - __flockfile and __funlockfile. - Reported by NIIBE Yutaka. + * sysdeps/alpha/copysign.S, sysdeps/alpha/fabs.S: New files. - * crypt/md5.c: Change form of copyright message according to GNITS - rules. - Add warning for requirement on RESBUF parameter for `md5_finish_ctx' - and `md5_read_ctx' function. - * crypt/md5.h: Likewise. + * sysdeps/alpha/divrem.h: Renamed from sysdeps/alpha/divrem.S to avoid + name collision with math library. - * grp/testgrp.c: Don't use perror for error cases since getgr* and - getpw* functions do not return usable error codes. + * sysdeps/alpha/divl.S, sysdeps/alpha/divlu.S, sysdeps/alpha/divq.S, + sysdeps/alpha/divqu.S, sysdeps/alpha/reml.S, sysdeps/alpha/remlu.S, + sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S: Include divrem.h instead + of divrem.S. -Sun Oct 19 23:05:32 1996 Jim Meyering + * sysdeps/unix/alpha/sysdep.h: Include regdef.h. Define LEAF macro + to simplify declaration of leaf functions. - * crypt/md5.c (md5_process_bytes): Used casting for pointer - arithmetic. + * sysdeps/alpha/_mcount.S, sysdeps/alpha/bb_init_func.S, + sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/ffs.S, + sysdeps/alpha/htonl.S, sysdeps/alpha/htons.S, sysdeps/alpha/memchr.S, + sysdeps/alpha/setjmp.S, sysdeps/alpha/strlen.S, + sysdeps/alpha/udiv_qrnnd.S, sysdeps/unix/sysv/linux/alpha/brk.S, + sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S, + sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S, + sysdeps/unix/sysv/linux/alpha/pipe.S, + sysdeps/unix/sysv/linux/alpha/sigsuspend.S, + sysdeps/unix/sysv/linux/alpha/syscall.S, + sysdeps/unix/sysv/linux/alpha/start.S, + sysdeps/unix/sysv/linux/alpha/sysdep.S: Remove include of regdef.h. + sysdep.h includes it now. Replace ENTRY by LEAF with appropriate + framesize declaration. Replace "lda pv,sym/jsr pv" by "jsr sym". -Sun Oct 20 03:53:23 1996 Ulrich Drepper + * sysdeps/unix/sysv/linux/alpha/sysdep.h (NO_UNDERSCORES): Don't + define. - * sunrpc/Makefile (others): Remove portmap here, too. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Added getsockopt, + ptrace, and sysctl. -Sat Oct 19 17:42:24 1996 Ulrich Drepper + * sysdeps/unix/sysv/linux/alpha/profil-counter.h: File removed. - * intl/locale.alias: Language for entry `czech' is `cs'. + * sysdeps/unix/sysv/linux/alpha/ioperm.c: Modify to support + dynamic recognition of platform type. + (_bus_base): New function. -Fri Oct 17 13:20:35 1996 Thorsten Kukuk + * sysdeps/unix/sysv/linux/alpha/llseek.S: New file. - * sunrpc/etc.rpc: Update from ti-rpcsvc 2.3. + * sunrpc/rpc/rpc.h, sunrpc/rpc/svc.h: Avoid nested comments since + they produce ugly warnings by gcc. -Fri Oct 18 22:56:45 1996 Ulrich Drepper + * posix/sys/types.h [__USE_MISC]: Add typedef for ulong. - * sunrpc/Makefile (install-sbin): Remove portmap. This version is - buggy and more competent people work on a usable version which is - distributed separately. - * sunrpc/portmap.c: Removed. - Suggested by Thorsten Kukuk. +Wed Mar 27 10:26:21 1996 David Mosberger-Tang -Fri Oct 18 12:17:09 1996 Enrique Melero + * sysdeps/alpha/setjmp.S: Must establish global pointer before + address of __sigsetjmp_aux can be loaded. - * sysdeps/libm-ieee754/s_finitel.c: Change function name to - `finitel'. +Wed May 22 22:10:01 1996 Roland McGrath -Fri Oct 18 00:01:10 1996 Ulrich Drepper + * stdlib/canonicalize.c: New file. + * stdlib/stdlib.h: Declare canonicalize_file_name, realpath. + * stdlib/Makefile (routines): Add canonicalize. - * string/Makefile (tests): Add stratcliff. - * string/stratcliff.c: New file. Test for string function at - the edge of the usable memory. + * posix/unistd.h: Declare __canonicalize_directory_name_internal. -Thu Oct 17 22:10:19 1996 Ulrich Drepper +Thu May 23 00:01:10 1996 Ulrich Drepper - * Makerules ($(libdir)/libc.so): Fix typo. + * db/recno/rec_seq.c: Prevent `sccsid' definition by using the + same #if condition as in the other db files. - * elf/ldd.sh.in: Test whether given file really exist and give - better message if it is not available. + * intl/Makefile: Add -Wno-unused CFLAGS for compilation of + bindtextdom.c, finddomain.c, and localealias.c. -Thu Oct 17 04:25:38 1996 Ulrich Drepper + * intl/dcgettext.c: Don't define prototype for getcwd() when + compiling in glibc. - * sysdeps/unix/sysv/linux/sys/shm_buf.h: Add definition for - SHM_R and SHM_W. + * libio/cleanup.c: Add prototype for _IO_register_cleanup. -Thu Oct 17 01:55:34 1996 Ulrich Drepper + * libio/filedoalloc.c, libio/fileops.c, libio/iopopen.c: Don't + define _POSIX_SOURCE unconditionally. - * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Write - output to $@T and move to $@ later since the new rpcgen will not - overwrite existing files. + * libio/filedoalloc.c, libio/iopopen.c: Include if + compiling in glibc. - * po/Makefile (libc.pot): Fix typo. + * libio/fileops.c (_IO_file_close_it): Don't sync file, call + flush instead. This relaxes the rules from POSIX.1 about + changing the active handle a bit. -Sun Oct 13 20:52:07 1996 Thorsten Kukuk + * libio/iofopncook.c (struct _IO_cookie_file): Move definition + into . + Add prototypes for local functions to prevent warnings. - Update rpcgen program to TI-rpc code. - * sunrpc/Makefile (rpcgen-objs): Add rpc_tblout.o and rpc_sample.o. - (distribute): Add proto.h. - * sunrpc/proto.h: New file. Prototypes for all the RPC functions. - * sunrpc/rpc_clntout.c: Change to allow generation of ISO C code. - * sunrpc/rpc_cout.c: Likewise. - * sunrpc/rpc_hout.c: Likewise. - * sunrpc/rpc_main.c: Likewise. - * sunrpc/rpc_parse.c: Likewise. - * sunrpc/rpc_parse.h: Likewise. - * sunrpc/rpc_scan.c: Likewise. - * sunrpc/rpc_scan.h: Likewise. - * sunrpc/rpc_svcout.c: Likewise. - * sunrpc/rpc_util.c: Likewise. - * sunrpc/rpc_util.h: Likewise. + * libio/iopopen.c: Change prototypes for _IO_fork, _IO_pipe, and + _IO_dup2 to contain complete parameter list. - * sunrpc/rpc_tblout.c: New file. - * sunrpc/rpc_sample.c: Likewise. + * libio/libio.h: Add definition of struct _IO_cookie_file. -Thu Oct 17 00:26:20 1996 NIIBE Yutaka + * libio/libioP.h: Add prototypes for _IO_vasprintf, _IO_vdprintf, + and _IO_vsnprintf. - * sysdeps/unix/opendir.c: Add semicolon for consistency. + * libio/memstream.c: Include . -Wed Oct 16 12:26:53 1996 Sven Verdoolaege + * libio/stdio.h: Add prototypes for fopencookie, + __stdio_gen_tempname, __vfscanf, __vsscanf, and __vsnprintf. - * locale/programs/localedef.c (main): Test with -1 to find out - whether read failed. + * libio/strops.c: Avoid useless expression in `for' initializer. -Wed Oct 16 14:54:59 1996 Ulrich Drepper + * locale/findlocale.c: Add some casts to prevent warnings. - * sysdeps/unix/sysv/linux/i386/clone.S: Use JUMPTARGET and - PSEUDO_END macro. + * locale/programs/locfile.c (write_locale_data): Don't use + double `/' in locale binary file. -Tue Oct 15 21:27:42 1996 Andreas Schwab + * posix/unistd.h: Remove prototype for `reboot'. - * sysdeps/unix/sysv/linux/m68k/sigcontext.h: Removed. + Update from bind-4.9.4-T1A. + * resolv/Makefile (routines): Add inet_ntop and inet_pton. + * resolv/arpa/nameser.h: Add definition of IN6ADDRSZ. + * resolv/gethnamaddr.c, resolv/getnetnamadr.c, resolv/res_comp.c, + resolv/res_debug.c, resolv/res_init.c -Tue Oct 15 15:52:29 1996 Andreas Schwab + * resolv/inet_ntop.c, resolv/inet_pton.c: New files. - * sysdeps/unix/sysv/linux/m68k/clone.S: Add CALL_MCOUNT. - * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location): - Likewise. - * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise. - Correct generation of system call. + * resolv/resolv.h: Add RES_USE_INET6 flag. + (__dn_isvalid): Renamed to __res_dnok. + Add prototypes for __res_ownok and __res_mailok. -Tue Oct 15 15:13:16 1996 Andreas Schwab + * stdio-common/Makefile: Add -Wno-unused to CFLAGS for _itoa.c. - * Makerules (sysd-Makefile): Fix command so that it works in the - subdirectories. - (BUILD_CFLAGS): Change back using $(..) instead of - $(common-objpfx), the latter fails in the toplevel directory when - $(objdir) is relative. - (common-objdir-compile): Run compiler in $(objdir). - * sysdeps/posix/Makefile (mk-stdiolim): Likewise. + * stdio-common/getline.c, stdio-common/vfscanf.c, + sysdeps/posix/tempname.c: Don't use anymore. -Tue Oct 15 23:39:48 1996 Ulrich Drepper + * sysdeps/unix/sysv/linux/Makefile [$subdir == misc] + (sysdep_routines): Add s_reboot. + (install-others): Add $(includedir)/sys/syscall.h. + New rule for $(includedir)/sys/syscall.h to produce from + . - * string/string.h [__USE_SVID]: Add prototype for swab. - * time/sys/time.h [__USE_BSD]: Add prototype for ualarm. - Reported by Andreas Jaeger. + * sysdeps/unix/sysv/linux/reboot.c: New file. Make single + argument function call 3 argument system call. - The available nlist implementation is not generally usable. - Especially on the currently supported ELF systems the nlist - function comes with the libelf. - * misc/Makefile (headers): Remove nlist.h. - (routines): Remove nlist. + * sysdeps/unix/sysv/linux/sys/reboot.h: New file. Linux specific + definition for reboot function. - * Makefile ($(objpfx)version-info.h): Include information about - system the libc is built on in version-info.h file. + * sysdeps/unix/sysv/linux/syscall.h: Remove old and obsolete + comment. - * po/Makefile (distribute): Add header.pot. + * sysdeps/unix/sysv/linux/syscalls.list: Rename function for + reboot syscall to __syscall_reboot. -Tue Oct 15 16:34:15 1996 Andreas Jaeger + * wcsmbs/wchar.h: Protect prototypes for wcstof and wcstold by + __USE_GNU, not USE_GNU. - * sysdeps/unix/sysv/linux/sleep.c: Include file with prototype. - * sysdeps/unix/sysv/linux/reboot.c: Likewise. - * misc/error.c: Likewise. +Tue May 21 21:55:49 1996 David Mosberger-Tang -Tue Oct 15 22:41:27 1996 Ulrich Drepper + * locale/programs/charset.c, locale/programs/ld-collate.c: + Add casts to prevent warnings on 64-bit machines. - * sysdeps/unix/sysv/linux/syscalls.list: Add {get,set}resuid. + * locale/programs/ld-monetary.c: Don't do unnecessary tests for + int_frac_digits and frac_digits which only produce warnings. -Tue Oct 15 08:06:02 1996 Andreas Jaeger +Mon May 13 23:45:29 1996 David Mosberger-Tang - * crypt/Makefile (rpath-link): Extend search path to current directory. + * inet/arpa/inet.h: Backup return type of inet_addr to u_long. + * resolv/inet_addr.c: Likewise. -Fri Oct 11 09:18:06 1996 Sven Verdoolaege + * resolv/Makefile (distribute): Add res_hconf.h + (routines): Add res_hconf. - * sysdeps/i386/i586/strlen.S: Correct handling of prolog for - aligning pointer. + * resolv/gethnamaddr.c: Add support for /etc/host.conf. -Tue Oct 15 02:13:21 1996 Ulrich Drepper + * resolv/res_init.c: Initialize /etc/host.conf reader. - * stdio-common/vfprintf.c: Don't declare __flockfile as weak. + * resolv/res_hconf.c, resolv/res_hconf.h: New files. + Implementation of reading /etc/host.conf. - * crypt/md5-crypt.c (md5_crypt_r): Add cast to prevent warning. - -Tue Oct 15 14:37:40 1996 Thomas Bushnell, n/BSG - - * sysdeps/mach/hurd/fcntlbits.h (O_HURD): Add O_EXLOCK and - O_SHLOCK. - -Sun Oct 13 19:16:10 1996 Andreas Schwab +Wed May 22 21:21:15 1996 Roland McGrath - * sysdeps/unix/sysv/linux/m68k/sysdep.h (POUND): Macro removed, - replaced by `&'. - (PSEUDO_END): Provide definition to use .size directive. - (PSEUDO): Don't interpret negative return values less than -128 as - syscall error. - * sysdeps/unix/sysv/linux/m68k/syscall.S (syscall): Likewise. + * Rules (%.out rules): Prepend $($*-ENV) to the command. - * sysdeps/m68k/bsd-_setjmp.S: Use PSEUDO_END macro to provide - .size directive. - * sysdeps/m68k/bsd-setjmp.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use PSEUDO_END instead of - explicit .size directive. + * sysdeps/unix/sysv/linux/i386/brk.c (___brk_addr): Define as weak + alias for __curbrk. -Sun Oct 13 22:52:56 1996 Ulrich Drepper +Wed May 22 19:37:27 1996 Miles Bader - * shlib-versions: Add version number/name for ld.so. - * Makeconfig: Move definition of rtld-installed-name after - inclusion of soversions.mk. - Don't add . before version number from shlib-versions file when - when name does not start with digit. This is needed for ld.so. - -Sat Oct 12 20:31:58 1996 Richard Henderson - - * libio/iogets.c: Warn when gets is used. - * stdio/gets.c: Strengthen the warning. - -Sat Oct 12 23:10:43 1996 Ulrich Drepper - - * libio/Makefile [_LIBC_REENTRANT] (routines): Add peekc. - * libio/libio.h: Add prototypes for _IO_getc, _IO_putc, _IO_feof, - _IO_ferror, _IO_peekc_locked, and _IO_ftrylockfile. - Remove prototypes for _IO_getc_locked and _IO_putc_locked. - [_IO_MTSAFE_IO]: Add weak aliases for _IO_flockfile and - _IO_funlockfile. - [! _IO_MTSAFE_IO]: Define _IO_ftrylockfile as empty. - Define _IO_getc, _IO_peekc, _IO_putc, _IO_feof, _IO_ferror to - appropriate values according to __USE_REENTRANT. - * libio/stdio.h: Add prototype for ftrylockfile. - [!_LIBC]: Define getc_locked, getchar_locked, putchar_locked, - getc, getchar, putc, and putchar using _IO_* names. - * libio/feof.c: Rename to _IO_feof and make feof weak alias. - * libio/ferror.c: Rename to _IO_ferror and make ferror weak alias. - * libio/getc.c: Rename to _IO_getc and make getc weak alias. - * libio/putc.c: Rename to _IO_putc and make putc weak alias. - * libio/putc_u.c: Don't define alias _IO_putc_unlocked. - * libio/peekc.c: New file. - - * stdio-common/vfprintf.c (vfprintf): Unconditionally call - __flockfile. - - * sysdeps/stub/locfile.c [USE_IN_LIBIO]: Also define _IO_* names. - - * crypt/Makefile (tests): Add md5test and md5c-test. - * crypt/md5-crypt.c: Correct various error. Now md5_process_bytes - is called, the buffer limit is honoured and a loop in a inner - loop is corrected. - * crypt/md5.h (struct md5_ctx): Add new fields. - Add prototypes for new functions. - * crypt/md5.c (md5_init_ctx): Initialize new fields. - (md5_finish_ctx): New function. Like md5_read_ctx but before - perform correct finalization. - (md5_process_bytes): New function. Similar to md5_proces_block, - but does not require input size to be multiple of 64. - (md5_stream): Rewrite using md5_process_bytes and md5_finish_ctx. - (md5_buffer): Likewise. - (md5_process_block): Count number of bytes. - * crypt/md5test.c: New file. Test program for MD5 functions. - * crypt/md5c-test.c: New file: Test program for MD5 crypt + * hurd/hurdexec.c (_hurd_exec): Pass INIT_TRACEMASK. + * hurd/hurdmsg.c (set_int): Support INIT_TRACEMASK. + +Wed May 22 18:47:31 1996 Roland McGrath + + * sysdeps/mach/hurd/getcwd.c + (_hurd_canonicalize_directory_name_internal): New function, broken out + of __getcwd. + (__getcwd): Use it. + (__canonicalize_directory_name_internal): New function using it. + + * sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal): New + function, broken out of __getcwd. + (__getcwd): Use it. + +Wed May 22 18:14:05 1996 Miles Bader + + * string/argz-create.c (__argz_create): Correctly calculate length. + + * string/argz-extract.c (__argz_extract): Add terminating 0 entry. + * hurd/hurdstartup.c (_hurd_startup): ... and don't so here. + +Wed May 22 17:22:14 1996 Roland McGrath + + * posix/glob.c [VMS]: Don't include . + [HAVE_VMSDIR_H]: Include "vmsdir.h". + (glob) [VMS]: Don't grok ~. + +Wed May 22 14:46:53 1996 Miles Bader + + * hurd/hurdstartup.c (_hurd_startup): Terminate the vectors we get + back from argz_extract. + +Wed May 22 13:56:42 1996 Roland McGrath + + * configure.in: Remove checks for objdump, objcopy, and awk. + * config.make.in (OBJDUMP, OBJCOPY, AWK): Variables removed. + * Makefile (distribute): Remove extract-dynsym. + * extract-dynsym: File removed. + +Tue May 21 22:17:45 1996 Roland McGrath + + * termios/cfmakeraw.c: Set MIN to 1 and TIME to 0. + +Wed May 22 01:48:54 1996 Ulrich Drepper + + * stdlib/strtol.c [!QUAD] (ULONG_MAX, LONG_MAX): Define these + macros if they are not available. + (WEAKNAME): New macro to declare argument as weak. + Define function with __ prefix and add normal name as weak alias. + + * sysdeps/posix/euidaccess.c (S_IROTH, S_IWOTH, S_IXOTH): Defines + these macros if not already available based on R_OK, W_OK, and + X_OK. + +Tue May 21 18:48:46 1996 Roland McGrath + + * misc/sys/syslog.h (__need___va_list): Define this instead of + __need_va_list before including . + + * Makerules (o-iterator): Use $(object-suffixes-left) instead + of $(object-suffixes) to produce repetitions; this is used for other + lists than just that one. + [versioned]: Use $(o-iterator) properly. + + * sysdeps/unix/sysv/linux/Implies: Include `gnu'. + * sysdeps/mach/hurd/Implies: Likewise. + +Sat May 18 02:57:46 1996 Ulrich Drepper + + * login/Makefile: New file. This directory contains functions + for user administration. + * Makefile (subdirs): Add login. + + * misc/Makefile (headers): Remove utmp.h. Now in login/utmp.h. + (extra-libs, libutil-routines): Ditto. + * misc/login.c, misc/login_tty.c, misc/logout.c, misc/logwtmp.c, + misc/utmp.h: Moved to misc/. + * login/login.c, login/login_tty.c, login/logout.c, + login/logwtmp.c, login/utmp.h: Moved to here from misc/. + + * login/utmp.h: Split file. Definitions of data structures + and constants are now in the system dependent utmpbits.h file. + + * login/setutent_r.c, login/setutent.c, login/endutent_r.c, + login/endutent.c, login/getutent_r.c, login/getutent.c, + login/getutid_r.c, login/getutid.c, login/getutline_r.c, + login/getutline.c, login/pututline_r.c, login/pututline.c: + New files. Routines to handle utmp-style files. + + * sysdeps/gnu/utmpbits.h: New file. Contains GNU/Linux + specific definitions of utmp data structures and constants. + + * sysdeps/unix/sysv/utmpbits.h: Renamed from sysdeps/unix/sysv/utmp.h. + + * sysdeps/generic/utmpbits.h: New file. Generic (BSDish) version of + definitions of utmp data structures and constants. + +Fri May 17 00:01:31 1996 Ulrich Drepper + + * locale/C-monetary.c: Default value for mon_decimal_point should be + '.'. + + * stdio-common/printf.h: Remove Linux libc compatibility stuff. + Add `extra' flag. Currently used in __printf_fp. + + * stdio-common/printf_fp.c (__guess_grouping): Renamed from + `guess_grouping' and extend visibility to extern. This function + is now used in `strfmon'. + (__printf_fp): Recognize new bit flag in info struct. This + triggers to use the grouping information and decimal point from + the LC_MONETARY category instead of the LC_NUMERIC category. + + * stdio-common/vfprintf.c (process_arg): Correct major bug. In + `complicated' loop we must not use the varargs because the args + are already available in the ARGS_VALUE array. + + * stdlib/Makefile (headers): Add monetary.h. + (routines): Add strfmon. + * stdlib/monetary.h: New file. Header for strfmon function. + * stdlib/strfmon.c: New file. Implement strfmon function to print + monetary amounts according to current locale's rules. + + * sysdeps/unix/sysv/linux/i386/sys/vm86.h: The kernel header is + now (>= Linux-1.3.100) called . + +Thu May 16 00:31:44 1996 Roland McGrath + + * Makerules [versioned]: Make symlinks in the build directory, because + the versioned names might be referenced by a DT_NEEDED in another + library. + +Wed May 15 18:59:38 1996 Roland McGrath + + * manual/examples/longopt.c: Include stdlib.h and getopt.h. + +Tue May 14 03:36:21 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/Makefile [$subdir == misc] (headers): + Add sys/acct.h and sys/sysctl.h. + +Tue May 14 19:42:04 1996 Roland McGrath + + * sysdeps/generic/strrchr.c: Deansideclized. + + * elf/Makefile (ldd): Depend on Makefile. + Find ld.so in $(slibdir) instead of $(libdir). + + * sysdeps/i386/strrchr.S: Use `testl $3, %esi' instead of `testb $3, + %esi'; gas misassembles the latter into `testb $3, %dh'. + + * mach/Machrules (%.udeps rule): Do $(make-target-directory) first. + +Tue May 14 16:38:44 1996 David Mosberger-Tang + + * sunrpc/getrpcent.c (interpret): Declare args. Rewrite parsing using + strpbrk. + +Tue May 14 20:18:38 1996 Ulrich Drepper + + * time/Makefile (routines): Add strptime. + * time/time.h: Add prototype for strptime. + * time/strptime.c: New file. Implementation according to XPG4. + +Tue May 14 14:07:10 1996 Roland McGrath + + * libc-symbols.h (lint): Macro removed. The sunrpc code does some + really stupid things #ifdef lint. + + * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter): Fix + struct member name: sc_eip -> eip. + +Mon May 13 19:52:33 1996 Roland McGrath + + * Makerules (stub-$(subdir)): Put cmds including cd inside (...) with + output redirect outside it. + + * elf/Makefile (subdir_lib): Depend on ld.so. + +Sun May 12 22:52:22 1996 Bruce Elliott + + * stdio-common/vfprintf.c: Correct handling of unsigned short + values. + +Mon May 13 12:03:03 1996 Roland McGrath + + * extra-lib.mk (alltype-$(lib)): Put libs in $(objpfx) instead of + $(common-objpfx). + * Makerules [install-lib.a]: Find them there. + + * sysdeps/unix/sysv/linux/i386/profil-counter.h: New file. + + * extra-lib.mk: Skip the hair if $(object-suffixes-$(lib)) is empty. + + * posix/glob.h [_AMIGA]: Remove `struct stat;' forward decl. + + * configure.in (--with-fp): Note in help string that it's the default. + + * locale/programs/ld-ctype.c (struct locale_ctype_t): Use u_int32_t + instead of unsigned int for map_collection_max and map_collection_act. + + * stdio-common/vfprintf.c [USE_IN_LIBIO] (flockfile, funlockfile): + Macros removed; they are in . + * stdio-common/vfscanf.c: Likewise. + + * posix/glob.c [_AMIGA]: Don't include . + (glob): Remove bogus & in call to globfree. + [_AMIGA]: Use AmigaDOS file name conventions. + + * time/Makefile (zonenames): Target removed. + (extra-objs): Remove it from here. + Include the z.* files directly instead of including zonenames; use + `-include' to not complain before they exist. + + * sysdeps/unix/Makefile: Find sysd-syscalls and s-proto.d with + $(common-objpfx) instead of $(objpfx). + + * sysdeps/unix/bsd/telldir.c (seekdir, telldir): Use new struct member + names without __. + + * Makerules [install-lib-non.a]: Find these things with $(objpfx) + instead of $(common-objpfx). + + * Makeconfig (sysdep-configures): New variable. + (config.status): Depend on $(sysdep-configures). + +Fri May 10 20:07:52 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/profil.c: New file. + +Fri May 10 19:59:50 1996 Andreas Schwab + + * sysdeps/m68k/Makefile (CFLAGS-setjmp.c): New variable. + +Fri May 10 19:55:42 1996 Andreas Schwab + + * shlib-versions: Use libm=6 and libc=6 for m68k-linux. + +Sun May 12 11:16:58 1996 Roland McGrath + + * string/envz.c: Fix uses of unsigned to size_t. + + * Makerules ($(libdir)/libc.so): Make the file an ld script. + + * sysdeps/mach/hurd/configure.in: Don't grok --with-hurd option. + + * sysdeps/mach/configure.in: File removed. + * sysdeps/mach/configure: File removed. + + * mach/Machrules (%.udeps rule): Write deps for %_server.[ch] too. + (%_server.[ch] rule): Don't depend on %.defs; use #include to get + installed .defs file. + + * stdio-common/vfprintf.c (flockfile, funlockfile): Define to + nothing for stdio. Fix fUNlockfile -> funlockfile for libio. + * stdio-common/vfscanf.c: Likewise. + +Sat May 11 13:43:41 1996 Roland McGrath + + * hurd/hurdfault.c: Include faultexc_server.h instead of faultexc.h. + + * mach/Machrules (%.ir rule): Don't produce deps for imports. + + * elf/dl-fini.c (_dl_fini): Clear L->l_init_called after calling fn. + + * Makerules (install): Depend on $(slibdir)/libc.so$(libc.so-version). + [!subdir] ($(libdir)/libc.so, $(common-objpfx)/libc-syms.so): Protect + these targets and install dep on $(libdir)/libc.so with this. + + * hurd/Makefile: Removed all rules and defns for using code from Hurd + sources and installing headers from there. + + * sysdeps/mach/hurd/errnos.awk: Set in_mach_errors to FILENAME when we + set it. In Mach error matching clause, only match if FILENAME is + still the same value. + + * sysdeps/mach/hurd/Makefile: Don't include sysdeps/mach/Makefile; + $(mach-srcdir) no longer exists. + (hurd-srcdir): Variable removed. + (includes): Don't append -I$(hurd-srcdir). + (last-includes): Variable removed. + Remove vpath specs using $(hurd-srcdir). + (mach-errno-h): New canned sequence. + ($(common-objpfx)errnos.d): New target, generated included makefile + to determine absolute file names of Mach headers to search for error + codes and set variable mach-errnos-deps. + ($(common-objpfx)stamp-errnos): Depend on $(mach-errnos-deps) instead + of prior explicit list. + (generated): Add errnos.d, stamp-errnos. + + * mach/Machrules (some-if-rtn): New variable and target; compute deps + of some if routine and make all if routines depend on that .d file + instead of static list of .h files. + + * mach/Makefile (mach/mach_interface.defs, + mach/memory_object_user.defs): Targets removed. + ($(objpfx)mach-syscalls.mk): Tweak this kludge so it doesn't depend + directly on Mach sources. + + * sysdeps/mach/Makefile (mach-srcdir): Variable removed. + (includes): Don't append -I$(mach-srcdir). + Remove vpath specs using $(mach-srcdir). + + * hurd/Makefile (server-interfaces): Add faultexc. + (sig): Remove it from here. + (fault%.[ch]): Rule removed. + (MIGFLAGS-faultexc): New variable. + + * hurd/faultexc.defs: New file. + + * mach/Machrules (%.ustamp rule): Pass $(MIGFLAGS-$*) to mig. + (%_server.[ch] rule): Likewise. + + * mach/Makefile: Removed all rules and defns for using code from Mach + sources and installing headers from there. + + * Makeconfig [$(build-shared)=yes] (link-libc): Append + $(libc.so-version) to libc.so. + +Fri May 10 18:36:14 1996 Roland McGrath + + * mach/Machrules (%.ustamp rule): Don't depend on %.defs. + (%.udeps): New rule parallel to that one, generating included + makefiles with -M output from `#include <%.defs>'. + + * Makerules (sed-remove-objpfx): Remove space before \ at eol. + + * Makefile (distribute): Add FAQ. + * FAQ: New file contributed by drepper. + + * time/Makefile (headers): Add timebits.h. + * sysdeps/unix/sysv/linux/timebits.h: New file. + * sysdeps/stub/timebits.h: New file. + * time/time.h (CLK_TCK): Define to CLOCKS_PER_SEC. + (CLOCKS_PER_SEC): Remove this macro. Instead #include . + +Fri May 10 16:22:44 1996 Michael I. Bushnell, p/BSG + + * string/argz-create.c (__argz_create): Restore const keyword to + ARGV parm. + * string/argz.h (__argz_create, argz_create): Restore const + keyword. + * string/envz.c (envz_get): Don't declare ENTRY const. + +Fri May 10 11:48:03 1996 Miles Bader + + * string/argz.h (argz_create): Fix param type. + * string/argz-create.c (__argz_create): Remove const from param type. + * string/envz.c (envz_get): Remove const from return type. + +Fri May 10 09:41:54 1996 Michael I. Bushnell, p/BSG + + * string/argz.h (__argz_create, argz_create): Omit const keyword + from declaration of ARGV. + * string/envz.h (envz_get): Omit const from declaration of return + type. + +Thu May 9 09:17:46 1996 Roland McGrath + + * aclocal.m4 (AC_FD_MSG, AC_FD_CC): Fix these for autoconf weirdness. + + Cleanups in sunrpc code from NIIBE Yutaka . + * sunrpc/clnt_tcp.c (clnttcp_create): Don't close *SOCKP if it's -1. + * sunrpc/clnt_simp.c (callrpc): Don't close CRP->socket if it's + RPC_ANYSOCK. + * sunrpc/pmap_clnt.c (pmap_set): Don't close SOCKET, since + CLNT_DESTROY already has. + (pmap_unset): Likewise. + * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise. + * sunrpc/pm_getport.c (pmap_getport): Likewise. + * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise. + * sunrpc/portmap.c (callit): Likewise. + + * Makerules (versioned): Strip whitespace. + + * Rules (static-only-routines rule): Remove spurious space in dep. + + * misc/getusershell.c: Undo changes of 7 May 96 (rev 1.6). + Cast string constants to char *. + + * posix/glob/SMakefile, posix/glob/SCOPTIONS, posix/glob/Makefile.ami: + New files, AmigaDOS support from Aaron Digulla. + * posix/Makefile (glob.tar): Add AmigaDOS support files. + + * sysdeps/unix/sysv/linux/net/if.h: New file. + * sysdeps/unix/sysv/linux/Dist: Add it. + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket] (headers): Add + net/if.h. + + * Makeconfig (link-libc): Add libc.a after libc.so in link. + + * Rules (static-only-routines rule): Use empty.o instead of dummy.o. + (empty.o): New target. + (generated): Add empty.c, empty.o. + + * resolv: Code updated from BIND-4.9.3P2C3. + + * Rules (static-only-routines rule): Use dummy.o, not dummy.so. + +Wed May 8 20:04:29 1996 Roland McGrath + + * extract-dynsym: New file. + * Makefile (distribute): Add it. + * Rules (subdir_install): Depend on $(common-objpfx)sor-$(subdir). + [! libc.so-version]: Clear static-only-routines. + ($(common-objpfx)sor-$(subdir)): New target. + [static-only-routines]: New static pattern rule for these .so's. + * Makerules [libc.so-version] ($(slibdir)/libc.so): Target removed. + [libc.so-version] ($(libdir)/libc.so, $(common-objpfx)libc-syms.so): + New targets replace it. + (install) [libc.so-version]: Depend on $(libdir)/libc.so instead of + $(slibdir)/libc.so. + * io/Makefile (static-only-routines): New variable. + * configure.in: Check for tools objdump and objcopy, and for awk. + * config.make.in (OBJDUMP, OBJCOPY, AWK): New variables. + +Thu May 9 01:24:00 1996 Ulrich Drepper + + * locale/programs/config.h: Remove definition of wint_t. + + * locale/programs/ld-collate.c: Include instead of + . + + * manual/time.texi: Add some more description for %U and %W + format of strftime. Describe new format %V of strftime. + + * resolv/gethnamaddr.c: Prevent warning by preventing variable + definition. + * stdio-common/_itoa.c: Ditto. + +Tue May 7 23:43:07 1996 Ulrich Drepper + + * libio/clearerr.c, libio/feof.c, libio/ferror.c, libio/fgetc.c, + libio/fileno.c, libio/fputc.c, libio/freopen.c, libio/fseek.c, + libio/genops.c, libio/getc.c, libio/getchar.c, libio/iofclose.c, + libio/iofflush.c, libio/iofgetpos.c, libio/iofgets.c, + libio/iofputs.c, libio/iofread.c, libio/iofsetpos.c, + libio/ioftell.c, libio/iofwrite.c, libio/iogetdelim.c, + libio/iogets.c, libio/ioputs.c, libio/iosetbuffer.c, + libio/iosetvbuf.c, libio/ioungetc.c, libio/iovsprintf.c, + libio/libio.h, libio/putc.c, libio/putchar.c, libio/rewind.c, + libio/stdio.h, stdio-common/printf_fp.c, stdio-common/vfprintf.c, + stdio-common/vfscanf.c: Prepare for reentrant libio. + + * libio/clearerr_u.c, libio/feof_u.c, libio/ferror_u.c, + libio/fputc_u.c, libio/getc_u.c, libio/getchar_u.c, + libio/iofflush_u.c, libio/putc_u.c, libio/putchar_u.c: New files. + Used in reentrant libio. + + * misc/getusershell.c: Prevent warnings. + +Wed May 8 12:08:35 1996 Roland McGrath + + * Makerules (install-lib.so rules): Undouble $s in target and dep + parts of o-iterator-doit defns. + (unversioned libraries install rule): Fix pattern. + + * mach/Makefile (mach-src-headers): Use $(base-machine) instead of + $(config-machine). + ($(includedir)/machine): Likewise. + + * config.make.in (base-machine): New variable. + * configure.in (machine): Move case stmt to set $machine out of sysdep + dirs AC_CACHE_CHECK. + (base_machine): New variable, set in that switch and AC_SUBST'd. + + * Makerules (stub-$(subdir)): Use file name in directory as output, + since cmd is cd'd. + + * configure.in (MSGFMT): Use : if none found. + + * po/Makefile: Include ../Rules instead of ../Makerules. + +Tue May 7 23:18:44 1996 Roland McGrath + + * po/Makefile: New file. + * Makefile (subdirs): Add po. + + * configure.in: Check for msgfmt. + * config.make.in (MSGFMT): New variable. + +Sun May 5 23:49:10 1996 Ulrich Drepper + + * misc/Makefile (routines): Add swapoff. + + * sysdeps/unix/sysv/linux/Dist: Add sys/quota.h. + + * sysdeps/unix/sysv/linux/sys/quota.h: New file. Wrapper around + kernel header file. + +Tue May 7 19:00:01 1996 Roland McGrath + + * string/argz-extract.c: Remove const from decl. + * string/argz.h: Here too. + + * Makeconfig (version.mk): Fix regexp in sed cmd. + Depend on $(..)Makeconfig. + + * GMP code updated from gmp-2.0 release. + * stdlib/Makefile (mpn-routines): Removed add_1, added inlines. + * sysdeps/generic/add_1.c: File removed. + * stdlib/strtod.c: mp_limb is now mp_limb_t. + * stdlib/fpioconst.c, stdlib/fpioconst.h: Likewise. + * stdio-common/_itoa.c: Likewise. + * stdio-common/printf_fp.c: Likewise. + Don't include ansidecl.h. + + * sysdeps/mach/hurd/getcwd.c: Use io_identity instead of io_stat. + + * shlib-versions: New file. + * Makerules (soversions.mk): New target, include file generated from + shlib-versions. Moved shared library rules before installation rules. + Rewrote shared library installation rules for versioned libraries. + * math/Makefile (libm.so-version): Variable removed. + + * sysdeps/mach/hurd/i386/exc2signal.c: Use struct hurd_signal_detail. + + * hurd/report-wait.c (_S_msg_describe_ports): New function. + + * configure.in: Add AC_PROG_LN_S check. + * config.make.in (LN_S): New variable. + +Sun May 5 03:10:44 1996 Ulrich Drepper + + * misc/efgcvt_r.c (ecvt_r): Work aroung gcc bug. gcc does + not know about weak aliases now and optimizes necessary `if' + statement away. + + * posix/unistd.h: Add swapoff prototype. + + * sysdeps/generic/confname.h: Add even more POSIX.4 symbols. + + * sysdeps/posix/fpathconf.c (__fpathconf): Get information + for _PC_PATH_MAX from fstatfs function if available. + + * sysdeps/posix/sysconf.c: Add code to handle _SC_AIO_LISTIO_MAX, + _SC_AIO_MAX, _SC_AIO_PRIO_DELTA_MAX, _SC_DELAYTIMER_MAX, + _SC_MQ_OPEN_MAX, _SC_MQ_PRIO_MAX, _SC_RTSIG_MAX, + _SC_SEM_NSEMS_MAX, _SC_SEM_VALUE_MAX, _SC_SIGQUEUE_MAX, and + _SC_TIMER_MAX. + * sysdeps/unix/sysv/sysv4/sysconf.c: Ditto. + + * sysdeps/stub/swapoff.c: New file. Stub version for swapoff function. - * po/fr.po: Update. + * sysdeps/unix/syscalls.list: Add swapoff. - * time/strptime.c: Recognize %s, %u, %g, and %G format. + * sysdeps/unix/sysv/linux/Dist: Add sys/acct.h. - * posix/getopt.c: Add some more casts and initializations to - prevent warnings. + * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc] + (sysdep_routines): Add mount, umount, llseek, setfsgid, setfsuid, + sysinfo, and uselib. + (headers): Add sys/sysinfo.h. -Sat Oct 12 16:15:29 1996 Ulrich Drepper + * sysdeps/unix/sysv/linux/gethostid.c: Prevent warning. - * sysdeps/unix/sysv/linux/speed.c (speeds): Removed. We provide - an extra function to provide this functionality. - (cfgetospeed): Simply return masked value. - (cfsetospeed): Don't use speeds array and so we can simply test - the value of SPEED for illegal values. - * termios/cfsetspeed.c: Rewrite. We convert here between the - real values and the B* constants. - Changes suggested by Uwe Ohse . + * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == misc] + (sysdep_routines): Add ioperm, iopl, and vm86. + (headers): Add sys/perm.h and sys/vm86.h. -Fri Oct 11 21:45:34 1996 Andreas Jaeger + * sysdeps/unix/sysv/linux/i386/sys/perm.h: New file. Contains + prototypes for iopl and ioperm. - * locale/programs/xstrdup.c: Define prototypes. - * locale/programs/xmalloc.c: Likewise. + * sysdeps/unix/sysv/linux/i386/sys/vm86.h: New file. Contains + prototype for vm86. - * stdio-common/xbug.c (main): Change definition to avoid warning. + * sysdeps/unix/sysv/linux/i386/syscalls.list: New file. Add + vm86 system call. -Fri Oct 11 23:36:31 1996 Miles Bader + * sysdeps/unix/sysv/linux/sys/acct.h: New file. Contains + prototypes for acct function. - * db/hash/hash.c (__hash_open): Correctly test for a read-write db. + * sysdeps/unix/sysv/linux/sys/socket.h: Provide real header + file with prototypes. -Fri Oct 11 19:13:34 1996 Ulrich Drepper + * sysdeps/unix/sysv/linux/sys/sysinfo.h: New file. Contains + prototype for sysinfo function. - * locale/Makefile (CPPFLAGS): Set CHARMAP_PATH to - "$(i18ndir)/charmaps". + * sysdeps/unix/sysv/linux/syscalls.list: Add flock, ioperm, iopl, + llseek, setfsgid, setfsuid, sysinfo, and uselib. -Fri Oct 11 22:12:41 1996 NIIBE Yutaka + * sysdeps/unix/sysv/linux/sysconf.c: Instead of duplicating + posix/sysconf.c now only handle cases different to that + implementation. - * sysdeps/unix/sysv/linux/sys/procfs.h: Include - to get definition of FPU description struct. +Tue May 7 15:08:19 1996 Miles Bader - * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket] (subdir_headers): - Add net/if.h, net/if_ppp.h, net/ppp-comp.h, net/ppp_defs.h, - net/if_arp.h, and net/route.h. - * sysdeps/unix/sysv/linux/net/if_arp.h: New file. - * sysdeps/unix/sysv/linux/net/route.h: New file. + * stdio/linewrap.c (__line_wrap_output): Renamed from lwoutput + (all references changed). Now exported. -Fri Oct 11 14:49:13 1996 Ulrich Drepper + * stdio/linewrap.c (struct data): Type deleted (moved to linewrap.h). + (wrap_stream, unwrap_stream, lwclose, lwfileno, lwoutput, + line_wrap_stream, line_unwrap_stream): Use struct line_wrap_data + instead of struct data. + (lwoutput, line_wrap_stream, line_unwrap_stream): Rename various + occurences of `wrap' and `wrapmargin' to `wmargin'. + (line_wrapped, line_wrap_lmargin, line_wrap_set_lmargin, + line_wrap_rmargin, line_wrap_set_rmargin, line_wrap_wmargin, + line_wrap_set_wmargin, line_wrap_point): New functions. + * stdio/linewrap.h: New file. + * stdio/Makefile (headers): Add linewrap.h. - * sysdeps/stub/readdir_r.c: New file. We need a stub version. - * sysdeps/stub/e_acosl.c: Likewise. - * sysdeps/stub/e_asinl.c: Likewise. - * sysdeps/stub/e_atan2l.c: Likewise. - * sysdeps/stub/e_expl.c: Likewise. - * sysdeps/stub/e_fmodl.c: Likewise. - * sysdeps/stub/e_log10l.c: Likewise. - * sysdeps/stub/e_logl.c: Likewise. - * sysdeps/stub/e_sqrtl.c: Likewise. - * sysdeps/stub/s_atanl.c: Likewise. - * sysdeps/stub/s_log1pl.c: Likewise. +Tue May 7 14:19:12 1996 Roland McGrath - * Makefile (distribute): Add nsswitch.h and netgroup.h. + * sysdeps/unix/sysv/linux/i386/Makefile: File removed. - * nss/Makefile (generated): db-netgrp.c is not generated. + * stdio/stdio.h: Remove line_wrap_stream, line_unwap_stream decls. - * sysdeps/alpha/Dist: Add stxcpy.S and stxncpy.S. + * sysdeps/unix/sysv/linux/schedbits.h: New file. - * Make-dist (+out): Add $(dont_distribute). +Tue May 7 13:47:02 1996 Miles Bader -Fri Oct 11 00:27:18 1996 Andreas Schwab + * stdio/linewrap.c (struct data): Make margin fields not-pointers. + (lwoutput): Adjust uses acordingly. - * stdio-common/Makefile (routines): Add tmpnam_r. +Tue May 7 10:51:52 1996 Roland McGrath -Fri Oct 11 05:32:51 1996 Ulrich Drepper + * sysdeps/mach/hurd/fdatasync.c: New file. + * sysdeps/mach/hurd/fsync.c: Pass new flag to file_sync. - * version.h: Bump version to 1.96. + * sysdeps/mach/hurd/xmknod.c: Pass new flag to dir_link. + * sysdeps/mach/hurd/symlink.c: Likewise. + * sysdeps/mach/hurd/link.c: Likewise. + * sysdeps/mach/hurd/bind.c: Likewise. + * hurd/hurdsig.c (write_corefile): Likewise. -Fri Oct 11 18:13:47 1996 Andreas Jaeger + * hurd/hurdsig.c (write_corefile): Pass cttyid port to crash server. - * stdio-common/tst-printf.c: Some more cleanups. + * sysdeps/mach/hurd/fpathconf.c: RPC takes int pointer, not long int. -Fri Oct 11 02:48:02 1996 Ulrich Drepper + * sysdeps/mach/hurd/_exit.c (_hurd_exit): Pass sigcode arg to + proc_mark_exit. + * sysdeps/mach/hurd/dl-sysdep.c (_exit): Likewise. - * resolv/arpa/nameser.h: Update from bind-4.9.5-T6B. - * resolv/resolv.h: Likewise. - * resolv/gethnamaddr.c: Likewise. - * resolv/res_comp.c: Likewise. - * resolv/res_debug.c: Likewise. - * resolv/res_init.c: Likewise. - * resolv/res_send.c: Likewise. - * resolv/Banner: Update version number. + * sysdeps/mach/hurd/wait4.c: Pass sigcode arg to proc_wait. - * nss/nss_dns/dns-host.c: Update according to change in - resolv/gethnamaddr.c. + * sysdeps/mach/hurd/rename.c: Pass new flag to dir_rename. -Fri Oct 10 20:52:28 1996 Ralph Loader - - * crypt/md5.c (md5_stream): When reading the block in several - pieces append to instead of replace previously read data. - -Thu Oct 10 15:53:17 1996 Richard Henderson - - * sysdeps/alpha/stxcpy.S ($unaligned): In single word copy, correct - last-byte-written bit for source word misalignment. - * sysdeps/alpha/strchr.c: Removed. There is now an assembler - version. - -Thu Oct 10 17:17:23 1996 Ulrich Drepper - - * sunrpc/Makefile (rpcsvc): Remove yp.x. The corrected version - comes with glibc-nis. - * sunrpc/rpcsvc/yp.x: Removed. - - * nss/nss_files/files-netgr.c (_nss_netgroup_parseline): Test - for *CURSOR to be NULL and dump a core if yes. - -Thu Oct 9 20:09:53 1996 Matthew Jacob - - * sysdeps/unix/sysv/linux/alpha/brk.S: Define _ERRNO_H before - including to get error numbers. - -Thu Oct 10 14:00:01 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/sigcontext.h: Moved file... - * sysdeps/unix/sysv/linux/sigcontext.h: ...to here. So the - Alpha people find a correct file. - * sysdeps/libm-ieee754/w_cabs.c: We cannot make __cabsl simply - an alias of __cabs since the structures have different names. - * sysdeps/libm-ieee754/w_log10.c: Fix typo in weak_alias. - Reported by Matthew Jacob . - -Wed Oct 9 00:24:52 1996 Jim Meyering - - * time/strftime.c: Allow old K&R compilers compile this file. - -Wed Oct 9 12:03:56 1996 Ulrich Drepper - - * posix/execlp.c: Add first argument parameter to be compliant - with POSIX. Rearrange body to start vararg counter after - this new argument. - -Wed Oct 9 04:34:50 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sys/procfs.h: Rewrite. We cannot use - simply a wrapper around the file since the - kernel header is not clean enough. We provide the definitions - in this file instead. - -Wed Oct 9 01:43:18 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Avoid - get?id calls by using __libc_enable_secure. - -Wed Oct 9 00:30:33 1996 Ulrich Drepper - - * inet/getnetgrent_r.c: Correct netgroup implementation. A - specification of a netgroup can also name another netgroup. - * nss/nss_files/files-netgrp.c: Likewise. - * inet/netgroup.h: Add fields to hold additional information. - -Tue Oct 8 21:51:14 1996 Arnold D. Robbins - - * posix/getopt.c: Implement POSIX -W option handling. When the - option string contains "W;" -W foo is handled like --foo. - -Tue Oct 8 12:27:26 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/clone.S: Define _ERRNO_H before - inclusing so we really get error symbols defined. - * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise. - - * sunrpc/auth_unix.c (authunix_create_default): Don't use fixed - size array for getgroups call. Instead get maximal number via - sysconf. But discard list to NGRPS elements before calling XDR - function since Sun's code cannot handle longer lists. - Based on a patch by Thorsten Kukuk . - - * sysdeps/stub/e_j0l.c: Define y0l as well. - * sysdeps/stub/e_j1l.c: Define y1l as well. - * sysdeps/stub/e_jnl.c: Define ynl as well. - - * posix/unistd.h: Correct prototype for execlp. - - * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_NO_TRUNC. - -Mon Oct 7 22:18:03 1996 Andreas Schwab - - * Makeconfig (sysdep-library-path): New variable. - (built-program-cmd): Use it here to properly build a colon - separated library path. - -Mon Oct 7 22:11:55 1996 Andreas Schwab - - * crypt/md5-crypt.c (md5_crypt_r): Add missing parens around & - within comparison. Fix comments. - (md5_crypt): Fix comment. - -Tue Oct 8 05:10:49 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/errnos.h: Only include - when _ERRNO_H is defined. - [!_ERRNO_H && __need_Emath]: Define value for EDOM and ERANGE. - Should there ever be a Linux port where the numeric values are - not 33 and 34 this file must change. - -Mon Oct 7 13:54:04 1996 Ulrich Drepper - - * libio/iofgets.c (_IO_fgets): Use _IO_flockfile instead of - __flockfile. - -Mon Oct 7 11:01:45 1996 Andreas Jaeger - - * string/tst-strlen.c (main): Provide prototype. - * malloc/mallocbug.c: Likewise. - * io/test-utime.c: Likewise. - - * sysdeps/generic/crypt-entry.c: Correct typo. - -Mon Oct 7 13:42:20 1996 Ulrich Drepper - - * elf/dl-open.c (_dl_open): Check against _dl_sysdep_start to - test for libc.a. Checking _DYNAMIC is of no worth here. - Suggested by Andreas Schwab . - - * nss/nss_files/files-parse.c: Define LOOKUP_NAME even if - EXTERN_PARSER is defined. - -Sat Oct 5 17:05:36 1996 Andreas Jaeger - - * Rules (dep-dummy-lib): Correct prototype for __dummy__. - - * crypt/md5-crypt.c: Fix typos in comments. - - * gmon/gmon.c: Provide prototypes. - * db/makedb.c: Likewise. - * locale/programs/xmalloc.c: Likewise. - * stdio-common/bug11.c (main): Likewise. - * stdio-common/bug7.c (main): Likewise. - * stdio-common/bug8.c (main): Likewise. - * stdio-common/bug9.c (main): Likewise. - * stdio-common/scanf1.c (main): Likewise. - * stdio-common/scanf2.c (main): Likewise. - * stdio-common/scanf5.c (main): Likewise. - * stdio-common/scanf6.c (main): Likewise. - * stdio-common/scanf7.c (main): Likewise. - * stdio-common/scanf8.c (main): Likewise. - * stdio-common/temptest.c (main): Likewise. - * stdio-common/test-fwrite.c (main): Likewise. - * stdio-common/tst-printf.c: Likewise. - * stdio-common/tstdiomisc.c: Likewise. - * stdio-common/tstgetln.c (main): Likewise. - * stdlib/testmb.c (main): Likewise. - - * stdio-common/scanf4.c (main): Correct prototype, remove unused - variable n. - - * stdio-common/scanf3.c (main): Correct prototype, change - declaration of s to reduce warnings. - * stdio-common/bug10.c (main): Likewise. - - * stdio-common/tfformat.c: Provide prototype, remove unused - reference to dump_stats, add braces in sprint_doubles. - * stdio-common/tiformat.c: Likewise. - - * stdio-common/test_rdwr.c (main): Parameter `where' is long in - printf call. - -Mon Oct 7 14:04:26 1996 NIIBE Yutaka - - * sysdeps/unix/sysv/linux/sys/soundcard.h: Fix typo. - - * shadow/putspent.c: Don't write colon after flag field. - - * sysdeps/unix/sysv/linux/net/if_ppp.h: New file. Wrapper around - kernel header. - * sysdeps/unix/sysv/linux/net/ppp-comp.h: Likewise. - * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise. - * sysdeps/unix/sysv/linux/Dist: Mention new files. - -Mon Oct 7 00:58:19 1996 Ulrich Drepper - - * sysdeps/i386/i586/strchr.S: Correct handling of first bytes to - get pointer aligned. Reported by Matthias Urlichs . - - * sysdeps/posix/euidaccess.c [_LIBC]: Avoid calling get?id functions - by using __libc_enable_secure variable. - -Tue Oct 8 13:58:31 1996 Thomas Bushnell, n/BSG - - * hurd/ports-get.c (_hurd_ports_get): If the requested port is - null, don't attempt mach_port_mod_refs. - -Mon Oct 7 14:51:52 1996 Thomas Bushnell, n/BSG - - * sysdeps/mach/hurd/pipestream.c: New file to avoid use of - sysdeps/unix/pipestream.c. - - * sysdeps/mach/hurd/readdir_r.c: New file, guts copied entirely - from sysdeps/mach/hurd/readdir.c. - - * stdio/freopen.c: Complete de-ansideclification. - * stdio/fgets.c (fgets): Likewise. - * stdio/getdelim.c (__getdelim): Likewise. - * sysdeps/posix/pipestream.c (readdecl, writedecl, seekdecl, - popen): + * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise): Use struct + hurd_signal_detail. + * hurd/catch-exc.c (_S_catch_exception_raise): Likewise. + * hurd/hurd-raise.c (_hurd_raise_signal): Likewise. + * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Likewise. - * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise. - * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise. + * sysdeps/mach/hurd/setitimer.c (restart_itimer): Likewise. - * sysdeps/mach/hurd/wait4.c (__wait4): Allow a null value for - STAT_LOC without error. + * hurd/hurd/signal.h: Fix _hurd_exception2signal prototype. -Sun Oct 6 02:05:52 1996 Ulrich Drepper + * hurd/hurdsig.c (write_corefile): Take const struct + hurd_signal_detail * arg. Pass all details to crash_dump_task. + (_hurd_internal_post_signal): Pass DETAIL to write_corefile. + (_hurd_internal_post_signal: suspend): Pass code and error to + proc_mark_stop. - * posix/getopt.c: Add casts to prevent warnings. - * posix/regex.c: Likewise. + * hurd/hurdprio.c (_hurd_priority_which_map): Pass flags arg to + proc_getprocinfo by reference. - * math/Makefile (long-m-routines, long-m-yes): Define to correct - values to make `long double' functions available. - (distribute): Add $(long-m-yes:=.c). + * wcsmbs/wcwidth.c, wcsmbs/wcswidth.c: Fixed typos. - * sysdeps/libm-i387/s_copysignl.S: Correct loading of return value. - Use long double instruction. + * sysdeps/unix/sysv/linux/sys/mman.h: Fixed typo. - * sysdeps/libm-ieee754/e_atanhl.c (huge): Correct constant. - * sysdeps/libm-ieee754/e_asinhl.c: Likewise. - * sysdeps/libm-ieee754/s_tanhl.c: Likewise. + * sysdeps/stub/sched_getp.c: Add missing #include . + * sysdeps/stub/sched_sets.c: Likewise. + * sysdeps/stub/sched_setp.c: Likewise. + * sysdeps/stub/sched_rr_gi.c: Likewise. + * sysdeps/stub/sched_gets.c: Likewise. - * sysdeps/libm-ieee754/e_coshl.c: New file. + * hurd/hurdsig.c: Use struct hurd_signal_detail. + * hurd/hurd/fd.h (_hurd_fd_error): Likewise. + * sysdeps/mach/hurd/sysd-stdio.c (fd_fail): Likewise. - * sysdeps/libm-ieee754/s_asinh.c [!NO_LONG_DOUBLE]: Define names - for `long double' version as alias. - * sysdeps/libm-ieee754/s_atan.c: Likewise. - * sysdeps/libm-ieee754/s_cbrt.c: Likewise. - * sysdeps/libm-ieee754/s_ceil.c: Likewise. - * sysdeps/libm-ieee754/s_copysign.c: Likewise. - * sysdeps/libm-ieee754/s_cos.c: Likewise. - * sysdeps/libm-ieee754/s_erf.c: Likewise. - * sysdeps/libm-ieee754/s_expm1.c: Likewise. - * sysdeps/libm-ieee754/s_fabs.c: Likewise. - * sysdeps/libm-ieee754/s_finite.c: Likewise. - * sysdeps/libm-ieee754/s_floor.c: Likewise. - * sysdeps/libm-ieee754/s_frexp.c: Likewise. - * sysdeps/libm-ieee754/s_ilogb.c: Likewise. - * sysdeps/libm-ieee754/s_ldexp.c: Likewise. - * sysdeps/libm-ieee754/s_log1p.c: Likewise. - * sysdeps/libm-ieee754/s_logb.c: Likewise. - * sysdeps/libm-ieee754/s_modf.c: Likewise. - * sysdeps/libm-ieee754/s_nextafter.c: Likewise. - * sysdeps/libm-ieee754/s_rint.c: Likewise. - * sysdeps/libm-ieee754/s_scalbn.c: Likewise. - * sysdeps/libm-ieee754/s_significand.c: Likewise. - * sysdeps/libm-ieee754/s_sin.c: Likewise. - * sysdeps/libm-ieee754/s_tan.c: Likewise. - * sysdeps/libm-ieee754/s_tanh.c: Likewise. - * sysdeps/libm-ieee754/w_acos.c: Likewise. - * sysdeps/libm-ieee754/w_acosh.c: Likewise. - * sysdeps/libm-ieee754/w_sin.c: Likewise. - * sysdeps/libm-ieee754/w_atan2.c: Likewise. - * sysdeps/libm-ieee754/w_atanh.c: Likewise. - * sysdeps/libm-ieee754/w_cabs.c: Likewise. - * sysdeps/libm-ieee754/w_cosh.c: Likewise. - * sysdeps/libm-ieee754/w_drem.c: Likewise. - * sysdeps/libm-ieee754/w_exp.c: Likewise. - * sysdeps/libm-ieee754/w_fmod.c: Likewise. - * sysdeps/libm-ieee754/w_gamma.c: Likewise. - * sysdeps/libm-ieee754/w_gamma_r.c: Likewise. - * sysdeps/libm-ieee754/w_hypot.c: Likewise. - * sysdeps/libm-ieee754/w_j0.c: Likewise. - * sysdeps/libm-ieee754/w_j1.c: Likewise. - * sysdeps/libm-ieee754/w_jn.c: Likewise. - * sysdeps/libm-ieee754/w_lgamma.c: Likewise. - * sysdeps/libm-ieee754/w_lgamma_r.c: Likewise. - * sysdeps/libm-ieee754/w_log.c: Likewise. - * sysdeps/libm-ieee754/w_log10.c: Likewise. - * sysdeps/libm-ieee754/w_pow.c: Likewise. - * sysdeps/libm-ieee754/w_remainder.c: Likewise. - * sysdeps/libm-ieee754/w_scalb.c: Likewise. - * sysdeps/libm-ieee754/w_sinh.c: Likewise. - * sysdeps/libm-ieee754/w_sqrt.c: Likewise. +Mon May 6 09:51:05 1996 Roland McGrath - Stub files for missing long double math functions. - * sysdeps/stub/e_acoshl.c: New file. - * sysdeps/stub/e_hypotl.c: New file. - * sysdeps/stub/e_j0l.c: New file. - * sysdeps/stub/e_j1l.c: New file. - * sysdeps/stub/e_jnl.c: New file. - * sysdeps/stub/e_lgammal_r.c: New file. - * sysdeps/stub/e_powl.c: New file. - * sysdeps/stub/e_rem_pio2l.c: New file. - * sysdeps/stub/e_sinhl.c: New file. - * sysdeps/stub/k_cosl.c: New file. - * sysdeps/stub/k_rem_pio2l.c: New file. - * sysdeps/stub/k_sinl.c: New file. - * sysdeps/stub/k_tanl.c: New file. - * sysdeps/stub/s_erfl.c: New file. - * sysdeps/stub/s_expm1l.c: New file. + * stdio/linewrap.c: New file. + * stdio/Makefile (routines): Add linewrap. + * stdio/stdio.h [__USE_GNU]: Declare line_wrap_stream, + line_unwrap_stream. - * sysdeps/i386/__longjmp.S: Use PSEUDO_END macro to provide - .size directive. - * sysdeps/i386/bsd-_setjmp.S: Likewise. - * sysdeps/i386/bsd-setjmp.S: Likewise. - * sysdeps/i386/memchr.S: Likewise. - * sysdeps/i386/memcmp.S: Likewise. - * sysdeps/i386/setjmp.S: Likewise. - * sysdeps/i386/stpcpy.S: Likewise. - * sysdeps/i386/stpncpy.S: Likewise. - * sysdeps/i386/strchr.S: Likewise. - * sysdeps/i386/strcspn.S: Likewise. - * sysdeps/i386/strpbrk.S: Likewise. - * sysdeps/i386/strrchr.S: Likewise. - * sysdeps/i386/strspn.S: Likewise. - * sysdeps/i386/strtok.S: Likewise. - * sysdeps/i386/i486/strcat.S: Likewise. - * sysdeps/i386/i486/strlen.S: Likewise. - * sysdeps/i386/i586/memset.S: Likewise. - * sysdeps/i386/i586/strchr.S: Likewise. - * sysdeps/i386/i586/strlen.S: Likewise. - * sysdeps/libm-i387/e_acos.S: Likewise. - * sysdeps/libm-i387/e_acosl.S: Likewise. - * sysdeps/libm-i387/e_asin.S: Likewise. - * sysdeps/libm-i387/e_asinl.S: Likewise. - * sysdeps/libm-i387/e_atan2.S: Likewise. - * sysdeps/libm-i387/e_atan2l.S: Likewise. - * sysdeps/libm-i387/e_exp.S: Likewise. - * sysdeps/libm-i387/e_expl.S: Likewise. - * sysdeps/libm-i387/e_fmod.S: Likewise. - * sysdeps/libm-i387/e_fmodl.S: Likewise. - * sysdeps/libm-i387/e_log.S: Likewise. - * sysdeps/libm-i387/e_log10.S: Likewise. - * sysdeps/libm-i387/e_log10l.S: Likewise. - * sysdeps/libm-i387/e_logl.S: Likewise. - * sysdeps/libm-i387/e_remainder.S: Likewise. - * sysdeps/libm-i387/e_remainderf.S: Likewise. - * sysdeps/libm-i387/e_remainderl.S: Likewise. - * sysdeps/libm-i387/e_scalb.S: Likewise. - * sysdeps/libm-i387/e_scalbl.S: Likewise. - * sysdeps/libm-i387/e_sqrt.S: Likewise. - * sysdeps/libm-i387/e_sqrtf.S: Likewise. - * sysdeps/libm-i387/e_sqrtl.S: Likewise. - * sysdeps/libm-i387/s_atan.S: Likewise. - * sysdeps/libm-i387/s_atanf.S: Likewise. - * sysdeps/libm-i387/s_atanl.S: Likewise. - * sysdeps/libm-i387/s_ceil.S: Likewise. - * sysdeps/libm-i387/s_ceilf.S: Likewise. - * sysdeps/libm-i387/s_ceill.S: Likewise. - * sysdeps/libm-i387/s_copysign.S: Likewise. - * sysdeps/libm-i387/s_copysignf.S: Likewise. - * sysdeps/libm-i387/s_copysignl.S: Likewise. - * sysdeps/libm-i387/s_cos.S: Likewise. - * sysdeps/libm-i387/s_cosf.S: Likewise. - * sysdeps/libm-i387/s_cosl.S: Likewise. - * sysdeps/libm-i387/s_finite.S: Likewise. - * sysdeps/libm-i387/s_finitef.S: Likewise. - * sysdeps/libm-i387/s_finitel.S: Likewise. - * sysdeps/libm-i387/s_floor.S: Likewise. - * sysdeps/libm-i387/s_floorf.S: Likewise. - * sysdeps/libm-i387/s_floorl.S: Likewise. - * sysdeps/libm-i387/s_ilogb.S: Likewise. - * sysdeps/libm-i387/s_ilogbf.S: Likewise. - * sysdeps/libm-i387/s_ilogbl.S: Likewise. - * sysdeps/libm-i387/s_log1p.S: Likewise. - * sysdeps/libm-i387/s_log1pf.S: Likewise. - * sysdeps/libm-i387/s_log1pl.S: Likewise. - * sysdeps/libm-i387/s_logb.S: Likewise. - * sysdeps/libm-i387/s_logbf.S: Likewise. - * sysdeps/libm-i387/s_logbl.S: Likewise. - * sysdeps/libm-i387/s_rint.S: Likewise. - * sysdeps/libm-i387/s_rintf.S: Likewise. - * sysdeps/libm-i387/s_rintl.S: Likewise. - * sysdeps/libm-i387/s_scalbn.S: Likewise. - * sysdeps/libm-i387/s_scalbnf.S: Likewise. - * sysdeps/libm-i387/s_scalbnl.S: Likewise. - * sysdeps/libm-i387/s_significand.S: Likewise. - * sysdeps/libm-i387/s_significandf.S: Likewise. - * sysdeps/libm-i387/s_significandl.S: Likewise. - * sysdeps/libm-i387/s_sin.S: Likewise. - * sysdeps/libm-i387/s_sinf.S: Likewise. - * sysdeps/libm-i387/s_sinl.S: Likewise. - * sysdeps/libm-i387/s_tan.S: Likewise. - * sysdeps/libm-i387/s_tanf.S: Likewise. - * sysdeps/libm-i387/s_tanl.S: Likewise. +Mon May 6 14:53:26 1996 Ulrich Drepper - * sysdeps/unix/sysv/linux/i386/clone.S: Add .size directive. - * sysdeps/unix/sysv/linux/i386/mmap.S. Likewise. - * sysdeps/unix/sysv/linux/i386/socket.S. Likewise. - * sysdeps/unix/sysv/linux/i386/sysdep.S. More compact .size line. + * time/strftime.c (week): Add third parameter telling how + many days must be in new year so that it is called week 1. + (Following ISO 8601). + Correct computation for %U and %V formats when day was first + day of the week. + (strftime): Implement %V format according to Spec1170. - * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): New macro. Used - to provide .size directive on ELF systems. +Mon May 6 17:01:09 1996 Michael I. Bushnell, p/BSG - * sysdeps/unix/sysv/linux/i386/profil-counter.h: Include - and rename parameter type to sigcontext. - * sysdeps/unix/sysv/linux/i386/sigcontext.h New file. + * hurd/hurd/signal.h (_hurd_intr_rpc_mach_msg): New declaration. - * sysdeps/unix/sysv/linux/i386/syscall.S: From Linux 2.1 on - negative values might occur as positive results. Test against - -125 to decide for error or not. - * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise for system calls. +Sat May 4 05:44:25 1996 Roland McGrath -Thu Oct 3 21:07:58 1996 Andreas Schwab + * hurd/hurd/sigpreempt.h (struct hurd_signal_preempter): Change + prototype of `preempter' elt to use struct hurd_signal_detail. - * elf/dl-open.c: Use _DYNAMIC instead of _dl_start to decide - whether this is a statically linked program. The latter is now - always defined. + * hurd/hurd/signal.h (struct hurd_signal_detail): New type. + (struct hurd_sigstate): Make `pending_data' member an array of that. + Use the new type in several decls. -Fri Oct 4 17:30:22 1996 Thomas Bushnell, n/BSG + * locale/setlocale.c (_nl_C_name): Variable removed. + * locale/C_name.c: New file. + (_nl_C_name): Put it here instead. + * locale/Makefile (aux): Add C_name. - * hurd/hurdsig.c (signal_allowed): Add SIGWINCH to the list that - controlling terminals are allowed to send. + * sysdeps/mach/hurd/dl-sysdep.c (open): Don't pass io port in + auth_user_authenticate rpc. + (open): Avoid using strtol in digit conversion for "fd/N" magic. + (_dl_sysdep_start): Likewise for memobj name in magic switches. - * hurd/alloc-fd.c (_hurd_alloc_fd): If SIZE is so big that the - table is larger than the allowable address size, then return - failure. + * elf/Makefile (reloc-link): New variable. + (dl-allobjs.so): New target, link together $(rtld-routines). + (librtld.so): Depend on that instead of the rtld components. + (generated): Add dl-allobjs.so. -Fri Oct 4 02:08:10 1996 Bang Jun-Young + * hurd/hurd-raise.c (_hurd_raise_signal): Pass sigcode in msg_sig_post + rpc. - * po/ko.po: Update. + * hurd/hurdmsg.c (_S_msg_set_environment): Use argz.h functions + instead of _hurd_split_args. + (_S_msg_*_exec_flags): Functions removed. + (_S_msg_startup_dosync): Stub removed. -Fri Oct 4 02:07:46 1996 Michel Robitaille +Sat May 4 02:11:55 1996 Roland McGrath - * po/fr.po: New file. + * sysdeps/mach/hurd/ptrace.c: Set _hurdsig_traced instead of + EXEC_TRACED bit in _hurd_exec_flags. + Pass sigcode arg in msg_sig_post_untraced rpc. -Fri Oct 4 05:04:52 1996 Ulrich Drepper + * sysdeps/mach/hurd/access.c: Don't pass io port in + auth_user_authenticate rpc. - * sysdeps/unix/sysv/linux/i386/sigcontext.h: New file. + * posix/sched.h: Fix typos. - Add support for MD5 crypt replacement. - * Makefile (subdirs): Add crypt. - * shlib-versions: Add entry for libcrypt. - * crypt/md5-crypt.c: New file. - * crypt/md5.c: New file. - * crypt/md5.h: New file. - * sysdeps/generic/crypt-entry.c: New file. - * sysdeps/generic/crypt.h: New file. + * sysdeps/mach/hurd/fork.c: Use new critical section lock. + Clear _hurdsig_traced instead of EXEC_TRACED. -Thu Oct 3 20:53:23 1996 Andreas Jaeger + * sysdeps/stub/nanosleep.c (nanosleep): Fix typo. - * dirent/tst-seekdir.c: Provide correct prototypes. - * io/test-utime.c: Likewise. - * malloc/mallocbug.c: Likewise. - * posix/testfnm.c: Likewise. - * stdio-common/xbug.c: Likewise. - * sysdeps/posix/cuserid.c: Likewise. + * wcsmbs/wcstol.c: Find strtol.c in ../stdlib. + * wcsmbs/wcstof.c: Find strtod.c in ../stdlib. + * wcsmbs/wcstod.c: Likewise. + * wcsmbs/wcstold.c: Likewise. -Wed Oct 2 13:33:48 1996 Richard Henderson + * wcsmbs/wcwidth.h: Find cname-lookup.h in ../wctype. - Provide optimized string functions for Alpha processors. - * sysdeps/alpha/bzero.S: New file. - * sysdeps/alpha/memset.S: New file. - * sysdeps/alpha/stpcpy.S: New file. - * sysdeps/alpha/stpncpy.S: New file. - * sysdeps/alpha/strcat.S: New file. - * sysdeps/alpha/strchr.S: New file. - * sysdeps/alpha/strcpy.S: New file. - * sysdeps/alpha/strncat.S: New file. - * sysdeps/alpha/strncpy.S: New file. - * sysdeps/alpha/strrchr.S: New file. - * sysdeps/alpha/stxcpy.S: New file. - * sysdeps/alpha/stxncpy.S: New file. + * string/envz.c (envz_entry): Use const. + (envz_get, envz_remove): Likewise. + (envz_entry): Return char *, not const char *. - * sysdeps/alpha/Makefile [$(sudir)==string]: Add stxcpy and - stxncpy to sysdep_routines. - Minor correction. + * string/envz.h: Fix decl. -Thu Oct 3 13:33:31 1996 Thomas Bushnell, n/BSG + * string/argz-create.c: Use const in prototype. + * string/argz-next.c: Likewise. - * sysdeps/generic/gnu/types.h: Added __loff_t. - Don't declare key_t here. +Fri May 3 13:32:08 1996 Roland McGrath - * hurd/alloc-fd.c (_hurd_alloc_fd): If realloc fails, bother to - set errno (to ENOMEM). + * sysdeps/mach/hurd/sigprocmask.c: Pass sigcode arg to msg_sig_post. + * sysdeps/mach/hurd/i386/sigreturn.c: Likewise. + * sysdeps/mach/hurd/sigsuspend.c: Likewise. + * sysdeps/mach/hurd/kill.c: Likewise. -Wed Oct 2 13:41:48 1996 Ulrich Drepper - - * sysdeps/generic/strtok.c: Don't set stored pointer to NULL when - nothing is found. This guarantees all subsequent calls behave - the same. - * sysdeps/generic/strtok_r.c: Likewise. - -Mon Sep 30 22:27:36 1996 Andreas Schwab - - * sysdeps/posix/tempname.c (__stdio_gen_tempname): Don't declare - `i' as const. - -Mon Sep 30 22:38:29 1996 Richard Henderson - - * sysdeps/generic/strtok.c: When we hit EOS, don't set olds to - NULL immediately; we're going to get called one more time. - * sysdeps/generic/strtok_r.c: Likewise. - -Tue Oct 1 09:12:21 1996 Ulrich Drepper - - * locale/programs/ld-time.c: Always write some bytes at the end of - the file even if no `era's are specified. - - * stdio-common/tmpname.c (tmpbuf): Don't define as array of - pointers. - -Tue Oct 1 01:43:11 1996 Ulrich Drepper - - * libio/iofclose.c: Move unlocking to right position. - -Mon Sep 30 03:08:34 1996 Richard Henderson - - * misc/Makefile: Kill force-wrapper. - * misc/force-wrapper.c: Delete. - - * elf/eval.c: Add . - - * gmon/sys/gmon_out.h: Nonsense like `char foo[sizeof(char*)]' - followed by `bcopy(&ptr, &foo, sizeof(foo))' helps portability - and binary compatibility not at all. Better to do `char *foo' - followed by `foo = ptr' as it is much cleaner. - (struct gmon_hdr): Fix version. - (struct gmon_hist_hdr): Fix low_pc, high_pc, hist_size, prof_rate. - (struct gmon_cg_arc_record): Fix from_pc, self_pc, count. - * gmon/gmon.c: De-ansidecl-ify. - (write_hist): De-bcopy-fy. - (write_call_graph): Likewise. - - * gmon/mcount.c: Assume _MCOUNT_DECL does the entire declaration. - * sysdeps/alpha/machine-gmon.h: Update _MCOUNT_DECL. - * sysdeps/generic/machine-gmon.h: Likewise. - - * resolv/netdb.h: Add __set_h_errno to mimic __set_errno. - * nss/getXXent_r.c: Use __set_h_errno to set h_errno in all funcs. - * nss/nss_dns/dns-network.c: Likewise. - * resolv/getunamaddr.c: Likewise. Also use __set_errno where needed. - * resolv/getnetnamadr.c: Likewise. - * resolv/res_debug.c: Likewise. - * resolv/res_mkquery.c: Likewise. - * resolv/res_query.c: Likewise. - - * libio/clearerr_u.c: It's not necessary to define __ protected - function so don't do it. - * libio/feof_u.c, libio/ferror_u.c, libio/fputc_u.c, - libio/getc_u.c, libio/getchar_u.c, libio/iofflush_u.c: Likewise. - - * libio/fgetc.c: Avoid a warning by casting _IO_funlockfile for - the cleanup registrar. - * libio/fputc.c, libio/freopen.c, libio/fseek.c, libio/getc.c, - libio/getchar.c, libio/iofclose.c, libio/iofflush.c, - libio/iofgetpos.c, libio/iofgets.c, libio/iofputs.c, - libio/iofread.c, libio/iofsetpos.c, libio/ioftell.c, - libio/iofwrite.c, libio/iogetdelim.c, libio/iogets.c, - libio/ioputs.c, libio/iosetbuffer.c, libio/iosetvbuf.c, - libio/ioungetc.c, libio/putc.c, libio/putchar.c, libio/rewind.c: + * hurd/hurdexec.c (_hurd_exec): Use new critical section lock. + * hurd/catch-exc.c (_S_catch_exception_raise): Likewise. + * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Likewise. + * hurd/thread-cancel.c (hurd_thread_cancel, hurd_check_cancel): Likewise. + * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise. + * sysdeps/mach/hurd/sigaction.c: Likewise. - * locale/programs/ld-ctype.c: Include . + * sysdeps/mach/hurd/errnos.awk: Don't use ARGV in comment; it can + change meaninglessly. - * login/login_tty.c: Get login_tty prototype from . + * hurd/hurd/signal.h (struct hurd_sigstate): Replace critical section + flag with a spin lock. + (_hurd_critical_section_lock): Use spin_try_lock on that to see if we + get it. No need to take SS->lock at all. + (_hurd_critical_section_unlock): Unlock SS->critical_section_lock + instead of clearing the old flag member. + * hurd/hurdsig.c (_hurd_internal_post_signal): Use spin_lock_locked to + test the critical section state. - * posix/sys/types.h: Change #defines to typedefs. This is looking - forward to more comprehensive namespace cleanups for C++. - * posix/unistd.h: Likewise for ssize_t. + * hurd/hurdinit.c (_hurd_init): Set _hurdsig_traced from the intarray. - * pwd/getpw.c: Prototype and rename getpw -> __getpw and add a - weak alias. + * hurd/hurdkill.c (_hurd_sig_post): Pass 0 sigcode in msg_sig_post. - * resolv/base64.c: Don't do `for (NULL; ...)' as it causes - `statement with no effect' warnings. - * resolv/inet_neta.c: Include for strlen. + * hurd/hurdsig.c (_hurd_internal_post_signal): Test _hurdsig_traced + instead of testing (_hurd_exec_flags & EXEC_TRACED). + (_S_msg_sig_post): Take sigcode arg and pass it through. + (_S_msg_sig_post_untraced): Likewise. + (reauth_proc): Don't pass proc port in auth_user_authenticate. - * stdio-common/getline.c: Undef ssize_t before libio redefinition. - * stdio-common/tstgetln.c: Same. De-ansidecl-ify. - * stdio-common/vfprintf.c: Same for va_list. - * stdio-common/vfscanf.c: Same. - * stdio-common/reg-printf.c: Prototype the __ function. - * stdio-common/scanf.c [USE_IN_LIBIO]: Include for - _IO_vscanf declaration. + * hurd/setauth.c (_hurd_setauth): Don't pass object ports in + auth_user_authenticate RPCs, just the one-off rendezvous port. + * hurd/dtable.c (reauth_dtable): Likewise. + * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Likewise. - * string/tester.c: Tsk, tsk. Don't cast pointers to int, - but to unsigned long for the health of 64-bit systems. + * hurd/hurdexec.c (_hurd_exec): Pass 0 flags to file_exec. + Pass sigcode arg to msg_sig_post. - * sunrpc/svc_udp.c: Define MAX only if we don't have it yet. - Many system's pulls this in. + * string/argz.h (argz_create): Use const in prototype. - * sysdeps/generic/dl-cache.c: Kill the bottom half of the - patch doubled file. + * hurd/hurdinit.c (_hurd_proc_init): Test _hurdsig_traced instead of + testing (_hurd_exec_flags & EXEC_TRACED). + Pass sigcode arg to msg_sig_post. - * sysdeps/generic/pty.c (forkpty): Get login_tty decl from - instead of defining it locally. + * hurd/hurd.h: Declare _hurdsig_traced. - * sysdeps/posix/sigvec.c: Prototype wrapper_handler and convert_mask. - * sysdeps/stub/chflags.c: Prototype chflags. - * sysdeps/stub/fchflags.c: Prototype fchflags. - * sysdeps/stub/sstk.c: Prototype sstk. + * string/argz.h (__argz_next): Cast ENTRY before returning it. - * sysdeps/unix/alpha/sysdep.S: Add strong alias from errno - variable to __errno. Update __syscall_error to store to both - the global and per-thread variables. + * hurd/hurd/signal.h (_hurd_critical_section_unlock): Pass sigcode arg + to msg_sig_post. - * sysdeps/unix/sysv/linux/init-first.c: Change include of - init-first.h from "" to <> as "" does not search the include path. - Prototype _dl_start. + * hurd/path-lookup.c: New file. + * hurd/Makefile (routines): Add path-lookup. + * hurd/hurd/lookup.h: Declare file_name_path_scan, + hurd_file_name_path_lookup. + * hurd/hurd.h: Declare file_name_path_lookup. -Sun Sep 29 14:41:17 1996 Andreas Schwab + * sysdeps/mach/hurd/select.c: The io_select rpc no longer has a TAG_ID + argument. Instead, use a separate reply port for each RPC and put them + all in a port set to wait for slow replies. - * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Make it a - pattern rule to get the right stem. + * intl/Makefile (CPPFLAGS): Change $(nlsdir) to $(i18ndir) in + LOCALE_ALIAS_PATH. -Sat Sep 28 01:30:06 1996 Andreas Schwab +Fri May 3 03:14:02 1996 Ulrich Drepper - * Makefile ($(objpfx)version-info.h): Fix typo in previous change. + * intl/Makefile (routines): Add l10nflist and explodename. + (distribute): Add loadinfo.h and locale.alias. + (install-others): New variable to install locale.alias. -Sat Sep 28 00:44:38 1996 Andreas Schwab + * intl/dcgettext.c, intl/finddomain.c, intl/gettextP.h, + intl/loadmsgcat.c: Adapt for upcoming gettext-0.10.13. Some code + is now shared with the locale implementation. - * sysdeps/posix/euidaccess.c (__set_errno): Fix typo. + * intl/explodename.c, intl/l10nflist.c, intl/loadinfo.h: New file. + Extracted from finddomain.c. This is also used in the locale + implementation. -Sat Sep 28 00:40:38 1996 Andreas Schwab + * intl/locale.alias: New file. Locale alias database compatible + with X Window System's locale alias file. Can now be used in + locale and gettext code. - * malloc/free.c (_free_internal): Don't call free recursively, use - the internal functions instead. + * libio/stdio.h: Add prototypes for asprint and vasprintf. -Sat Sep 28 00:23:20 1996 Andreas Schwab + * locale/C-collate.c, locale/C-ctype.c, locale/C-messages.c, + locale/C-monetary.c, locale/C-numeric.c, locale/C-time.c: Add new + field in structure with name of locale ("C" in this case). - * sysdeps/posix/tempname.c (__stdio_gen_tempname) [USE_IN_LIBIO && - _IO_MTSAFE_IO]: Allocate and initialize the file lock. + * locale/Makefile (routines): Add findlocale. -Fri Sep 27 23:58:17 1996 Andreas Schwab + * locale/findlocale.c: New file. Instead of trying to load the + directly described file we now try to be much smarter when this + fails. Use the same code as gettext does. - * catgets/gencat.c (main): Print version information on stdout, - not stderr. - * db/makedb.c: Likewise. - * locale/programs/locale.c: Likewise. - * locale/programs/localedef.c: Likewise. + * locale/loadlocale.c, locale/setlocale.c: Rewrite to know about + new loading scheme. -Mon Sep 30 00:14:26 1996 Ulrich Drepper + * locale/localeinfo.h: Adapt prototypes and declarations for new + setlocale implementation. Remove definition of u32_t type. We + now use u_int32_t from . - Add implementation of netgroup. - * inet/Makefile (distributes): Add netgroup.h. - (routines): Add getnetgrent.c and getnetgrent_r.c. - * inet/getnetgrent.c: New file. - * inet/getnetgrent_r.c: New file. - * inet/netgroup.h: New file. - * netgroup.h: New file. - * nsswitch.h: New file. - * nss/Makefile (databases): Add getgrp. - * nss/databases.def: Add netgroup. - * nss/db-Makefile: Add rules for netgroup. - * nss/netgrp-lookup.c: New file. - * nss/nss.h: Add new status value NSS_STATUS_RETURN which will - always return without a check of the transition table. - * nss/nsswitch.h (struct service_user): Extend actions array to - five elements. - * nss/nsswitch.c (__nss_next): Allow NSS_STATUS_RETURN as legal - status value. - (nss_parse_service_list): Initialize action for NSS_STATUS_RETURN - to NSS_ACTION_RETURN. - * nss/nss_db/db-netgrp.c: New file. - * nss/nss_files/files-netgrp.c: New file. - * nss/nsswitch.conf: Add entry for netgroup. - * resolv/netdb.h: Add prototypes for netgroup functions. + * locale/programs/charset.h (ILLEGAL_CHAR_VALUE): Provide type + with constant. - * nss/nss_db/db-XXX.c: Use `enum nss_status' type when status - value is used. + * locale/programs/config.h, locale/lc-collate.c, + locale/localeinfo.h, locale/programs/ld-collate.c, + locale/programs/ld-ctype.c, locale/programs/ld-messages.c, + locale/programs/ld-monetary.c, locale/programs/ld-numeric.c, + locale/programs/ld-time.c, locale/weight.h, string/strcoll.c: + Change to use u_int32_t and u_int16_t. -Sun Sep 29 12:55:58 1996 Ulrich Drepper + * locale/programs/localedef.c (construct_output_path): Change name + of output locale to contain normalized form of the character set + portion. - * sysdeps/unix/sysv/linux/syscalls.list: Change function name for - _llseek to _llseek (not llseek). - Reported by Matthias Urlichs . + * string/Makefile (routines): Add agrz-ctsep and argz-next. + (tests): Add tst-strlen. -Sun Sep 29 05:34:32 1996 Ulrich Drepper + * string/argz-ctsep.c: New file. Implement reverse operation + from argz-stringify. - * inet/rcmd.c: Remove definition of MIN. + * string/argz-next.c: Non-inline version of function from argz.h. -Sat Sep 28 14:22:51 1996 Ulrich Drepper + * string/argz.h, string/envz.h: Make usable as global header file. - * dirent/readdir_r.c: Removed. We indeed need a real implementation. - * sysdeps/unix/readdir_r.c: New file. - * sysdeps/unix/readdir.c: Remove check for correct parameter - values. Let them simply die. - * manual/filesys.texi: Document readdir_r. + * string/envz.c: Fix declarations to use size_t where prototypes + say so. - * sysdeps/gnu/errlist.awk: Define _sys_errlist as `const char* const'. - Proposed by Per Abrahamsen . + * string/tst-strlen.c: New file. Another test for critical + situation in strlen implementations. -Sat Sep 28 03:02:49 1996 Ulrich Drepper + * sysdeps/i386/i586/strlen.S: Fix bug with highest byte in word + being zero. - * dirent/Makefile (routines): Add readdir_r. - * dirent/readdir_r.c: New file. Wrapper around readdir.c. - * dirent/dirent.h: Add prototype for readdir_r. - - * misc/hsearch_r.c (ENTRY): Make field `used' of type `unsigned int' - to prevent warnings. + * wctype/test_wctype.c: Fix controlling comparison after change to + 32 bit character class array. - * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): - Initialize `result'. +Fri May 3 12:53:12 1996 Roland McGrath -Sat Sep 28 01:16:42 1996 Ulrich Drepper + * sysdeps/unix/sysv/linux/sys/socket.h: Remove spurious doubled line. - * sysdeps/generic/strsep.c: Rename to __strsep and make strsep - weak alias. - * string/string.h: Add prototype for __strsep. - * misc/mntent_r.c: Use __strsep instead of strsep to keep - namespace clean. +Thu May 2 22:50:52 1996 Andreas Schwab - * sysdeps/stub/nanosleep.c: Rename to __libc_nanosleep and make - __nanosleep and nanosleep weak aliases. - * sysdeps/unix/sysv/linux/syscalls.list: Add __nanosleep as weak - alias. - * sysdeps/unix/sysv/linux/sleep.c: Call __nanosleep instead of - nanosleep to keep namespace clean. + * sysdeps/unix/sysv/linux/getpriority.c: New file. + * sysdeps/unix/sysv/linux/syscalls.list: Add s_getpriority. - * sysdeps/posix/ttyname.c (ttyname): Add cast to prevent warning. - * sysdeps/posix/ttyname_r.c (ttyname_r): Likewise. - * sysdeps/posix/getcwd.c (__getcwd): Likewise. +Thu May 2 22:41:31 1996 Andreas Schwab - * sysdeps/unix/nlist.c: Use ISO C definition since we don't always - have prototype. - - * login/Makefile (headers): Add pty.h. - * login/pty.h: New file. - * sysdeps/generic/pty.h: Include . - * login/pututline_r.c: Add cast to prevent warning. - - * gmon/gmon.c: Add prototype for __profile_frequency. - (monstartup): Add cast to prevent warning. - * sysdeps/generic/prof-freq.c: Change to use ISO C style definition. - - * locale/programs/ld-time.c (time_output): Write `era' information - in correct order. - -Sat Sep 28 00:11:08 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias - `adjtimex'. - Set caller for mlock, mlockall, mremap, munlock, and munlockall - to EXTRA. - Reported by Matthias Urlichs . - -1996-09-27 Paul Eggert - - * strftime.c (strftime): Output incomplete formats like %E - at end of string. - -1996-09-27 Paul Eggert - - * strftime.c (strftime): Add support for %EC and %Ey. - Fix support for %EY. This uses the new _nl_get_era_entry function. - -Fri Sep 27 14:12:27 1996 Ulrich Drepper - - Security related patch by Elliot Lee and - David Holland . - - * inet/rexec.c (rexec): Increase size of `num' array from 8 to 32. - * inet/ruserpass.c (ruserpass): Don't allow $HOME envvar to not exist. - - * sysdeps/generic/getenv.c (__secure_getenv): New function. Return - NULL when programs runs with SUID or SGID enabled. - * sysdeps/stub/getenv.c: Make __secure_getenv an alias of getenv. - * stdlib/stdlib.h: Add prototype for __secure_getenv. - - * locale/setlocale.c: Use __secure_getenv. - * resolv/res_init.c: Likewise. - * resolv/res_query.c: Likewise. - * inet/ruserpass.c: Likewise. - * sysdeps/posix/tempname.c: Likewise. - * malloc/mtrace.c: Likewise. - * catgets/catgets.c: Likewise. - - Make temporary file handling functions reentrant. - - * stdio-common/tmpnam.c: Rewrite to have own buffer to write - result to. The called __stdio_gen_tempname function must be - thread safe. - * stdio-common/tmpnam_r.c: New file. - * stdio/stdio.h: Add prototype for `tmpnam_r'. - Change prototype for __stdio_gen_tempname. - * stdio/libio.h: Likewise. - * sysdeps/posix/tempname.c: Add new parameters and use them instead - of static buffer. - Don't reset `indeces' when PID changed between calls. - Don't fail for long running programs when index counter once - reached the limit. - * sysdeps/stub/tempname.c: Likewise. - * stdio-common/tempnam.c: Provide local buffer as extra argument - to __stdio_gen_tempname. This makes this function reentrant. - * stdio-common/tmpfile.c: Likewise. - * stdio-common/temptest.c: Provide extra argument to - __stdio_gen_tempname. - * manual/filesys.texi: Describe tmpnam_r and add comments about - reentrancy of the functions. - - * inet/rcmd.c: Fixed address length handling. - - * sysdeps/posix/mk-stdiolim.c: Count final \0 byte in L_tmpnam value. - - * time/strftime.c: Remove unused variables alt_digits and - end_alt_digits. - - * sysdeps/unix/sysv/linux/sys/sysinfo.h: Correct prototype names - for get_nprocs and get_nprocs_conf. - * sysdeps/generic/sys/sysinfo.h: Likewise. - - * stdlib/test-canon.c: Finally do the right fix. - - * misc/Makefile: Only compile force-wrapper when compiling - reentrant libc. - -Fri Sep 27 03:49:56 1996 Ulrich Drepper - - Add support for cancelable system calls. - - * csu/initfini.c: Make in crti.o reference to symbol - __libc_force_cancel_wrapper when compiling reentrant version. - * misc/Makefile (routines): Add force-wrapper. - * misc/force-wrapper.c: New file. - - * posix/system.c: Rename function to __libc_system and make system - a weak alias. - * sysdeps/stub/system.c: Likewise. - * posix/wait.c: Rename function to __libc_wait and make __wait a - weak alias. De-ANSI-fy. - * sysdeps/standalone/read.c: Rename function to __libc_read and - make __read a weak alias. - * sysdeps/stub/read.c: Likewise. - * sysdeps/standalone/write.c: Rename function to __libc_write and - make __write a weak alias. - * sysdeps/stub/write.c: Likewise. - * sysdeps/stub/tcdrain.c: Rename function to __libc_tcdrain and - make tcdrain a weak alias. - * sysdeps/unix/bsd/tcdrain.c: Likewise. - * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Likewise. - * sysdeps/unix/sysv/tcdrain.c: Likewise. - * sysdeps/unix/sysv/linux/tcdrain.c: Likewise. - * sysdeps/unix/bsd/bsd4.4/wait.c: Rename function to __libc_wait - and make __wait a weak alias. - * sysdeps/stub/waitpid.c: Rename function to __libc_waitpid and - make __waitpid a weak alias. - * sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise. - * sysdeps/unix/sysv/linux/waitpid.c: Likewise. - * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise. - * sysdeps/unix/common/pause.c: Rename function to __libc_pause - and make pause a weak alias. De-ANSI-fy. - - * sysdeps/unix/syscalls.list: Change name for close, fcntl, fsync, - lseek, open, read, and write to have __libc_ prefix and make old - names a weak alias. - * sysdeps/unix/mman/syscalls.list: Likewise for msync. - * sysdeps/unix/sysv/linux/syscalls.list: Likewise for nanosleep. - - * io/creat.c: De-ANSI-fy. - - * sysdeps/unix/sysv/linux/syscalls.list: Add pause. - -Thu Sep 26 19:15:55 1996 Ulrich Drepper - - * misc/mntent.h: Add MNTTYPE_* and MNTOPT_* macros. - Reported by Hans Grobler . - -Thu Sep 26 14:40:10 1996 Ulrich Drepper - - * sysdeps/posix/pathconf.c: Pass descriptor for just opened file - to fpathconf. - Reported by Martin von Loewis . - -Thu Sep 26 04:02:43 1996 Ulrich Drepper - - * locale/programs/locfile.c (write_locale_data): Allocate room - even for file name for LC_MESSAGES locale. - (locafile_read): `tok_era' must be handled as a string list. - * locale/programs/ld-time.c: Finish correction of handling `era'. - * locale/C-time.c (_nl_C_LC_TIME): Add initializer for new fields. - * locale/categories.def: Add postload function for LC_TIME. - * locale/setlocale.c: Make lock global and rename to - __libc_setlocale_lock. - * locale/localeinfo.h (struct era_entry): New type. Used in strftime. - Add prototypes for _nl_get_era_entry and _nl_get_alt_digit. - * locale/lc-time.c (_nl_postload_time): New function. Initialize - lazy intialization. - (_nl_get_era_entry): New function. Return era entry which corresponds - to given year. - (_nl_get_alt_digit): New function. Return string with alternate - digit representation for given number. - - * time/strftime.c (strftime): Use _nl_get_alt_digit to get - string representing alternate digit notation. - -Wed Sep 25 17:31:55 1996 Ulrich Drepper - - * sysdeps/generic/waitstatus.h (union wait): Add w_status field. - Reported by Hans Grobler . - - * elf/rtld.c (dl_main): Process LD_PRELOAD before loading - ld.so.preload. Suggested by David Engel . - -Wed Sep 25 13:10:57 1996 Ulrich Drepper - - * catgets/gencat.c (main): Change --version again because RMS wants - the package name in parentheses. - * db/makedb.c: Likewise. - * locale/programs/locale.c: Likewise. - * locale/programs/localedef.c: Likewise. - -Tue Sep 24 01:28:05 1996 Andreas Schwab - - * Makefile ($(objpfx)sysd-dirs): Depend on Subdirs files, command - rewritten. - ($(objpfx)version-info.h): Depend on Banner files, command - rewritten. - -Wed Sep 25 02:44:41 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sleep.c: New file. Based on nanosleep. - -Tue Sep 24 21:46:02 1996 Ulrich Drepper - - * shadow/lckpwdf.c (PWD_LOCKFILE): Change to /etc/lock.pwd to be - on the same device as the password file. - * shadow/shadow.h (struct spwd): Change type of numeric fields - to `long int' since there value are days, not seconds. - * shadow/putspent.c: Change casts from time_t to `long int'. - * shadow/sgetspent_r.c (LINE_READER): Likewise. - -Mon Sep 23 23:05:24 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/errnos.h: Define __set_errno to make - sure the thread specific variable is set as well as the global - variable. - * sysdeps/mach/hurd/errnos.awk: Define macro for source code - compatibility. - * sysdeps/stub/errnos.h: Likewise. - * sysdeps/unix/bsd/bsd4.4/errnos.h: Likewise. - - * shadow/putspent.c: Don't include . - - * dirent/scandir.c (scandir): Use __set_errno to set errno - variable. - * elf/dl-load.c (open_path): Likewise. - * inet/rcmd.c (rcmd): Likewise. - (rresvport): Likewise. - * intl/dcgettext.c [!__set_errno]: Define __set_errno. - (DCGETTEXT): Use __set_errno to set errno variable. - * io/fts.c (fts_open): Likewise. - (fts_close): Likewise. - (fts_read): Likewise. - (fts_set): Likewise. - (fts_children): Likewise. - (fts_build): Likewise. - (fts_stat): Likewise. - * io/ftw.c (ftw_dir): Likewise. - (ftw): Likewise. - * io/getwd.c (getwd): Likewise. - * io/lockf.c (lockf): Likewise. - * libio/libioP.h [EINVAL]: Use __set_errno to define MAYBE_SET_EINVAL. - * libio/iofdopen.c (_IO_fdopen): Use MAYBE_SET_EINVAL to errno. - * libio/iogetdelim.c (_IO_getdelim): Likewise. - * libio/fileops.c (_IO_file_open): Use __set_errno to set errno - variable. - * libio/iofgetpos.c (_IO_fgetpos): Likewise. - * libio/iofsetpos.c (_IO_fsetpos): Likewise. - * libio/ioftell.c (_IO_ftell): Likewise. - * locale/loadlocale.c (_nl_load_locale): Likewise. - * locale/nl_langinfo.c (nl_langinfo): Likewise. - * locale/setlocale.c (ERROR_RETURN): Likewise. - * login/getutid_r (__getutid_r): Likewise. - * login/getutline_r (__getutline_r): Likewise. - * login/login.c (tty_name): Likewise. - * login/oututline_r.c (__pututline_r): Likewise. - * malloc/malloc.c (morecore): Likewise. - * misc/efgcvt_r.c (fcvt_r): Likewise. - * misc/hsearch_r.c (hcreate_r): Likewise. - (hdestroy_r): Likewise. - (hsearch_r): Likewise. - * nss/nsswitch.c (__nss_configure_lookup): Likewise. - * nss/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Likewise. - (_nss_dns_gethostbyaddr_r): Likewise. - * nss/nss_files/files-XXX.c (internal_getent): Likewise. - * nss/nss_files/files-parse.c (parse_list): Likewise. - * posix/confstr.c (confstr): Likewise. De-ANSI-fy. - * posix/execvp.c (execvp): Likewise. - * posix/glob.c: Define __set_errno. - (glob): Use __set_errno to set errno variable. - (glob_in_dir): Likewise. - * pwd/getpw.c: Likewise. De-ANSI-fy. - * pwd/putpwent.c: Likewise. - * resolv/inet_net_ntop.c: Likewise. - * resolv/inet_net_pton.c: Likewise. - * resolv/inet_neta.c: Likewise. - * resolv/inet_ntop.c: Likewise. - * resolv/inet_pton.c: Likewise. - * resolv/res_query.c (res_search): Likewise. - * resolv/res_send.c (Aerror): Likewise. - (Perror): Likewise. - (res_send): Likewise. - * signal/sigaddset.c: Likewise. De-ANSI-fy. - * signal/sigdelset.c: Likewise. - * signal/sigempty.c: Likewise. - * signal/sigfillset.c: Likewise. - * signal/sigismem.c: Likewise. - * stdio/fclose.c: Likewise. - * stdio/feof.c: Likewise. - * stdio/ferror.c: Likewise. - * stdio/fflush.c: Likewise. - * stdio/fgetc.c: Likewise. - * stdio/fgetpos.c: Likewise. - * stdio/fgets.c: Likewise. - * stdio/fileno.c: Likewise. - * stdio/fmemopen.c: Likewise. - * stdio/fopen.c: Likewise. - * stdio/fputc.c: Likewise. - * stdio/fread.c: Likewise. - * stdio/freopen.c: Likewise. - * stdio/fseek.c: Likewise. - * stdio/fsetpos.c: Likewise. - * stdio/ftell.c: Likewise. - * stdio/fwrite.c: Likewise. - * stdio/getdelim.c: Likewise. - * stdio/gets.c: Likewise. - * stdio/glue.c: Likewise. - * stdio/internals.c: Likewise. - * stdio/memstream.c: Likewise. - * stdio/setvbuf.c: Likewise. - * stdio/ungetc.c: Likewise. - * stdio/vsscanf.c: Likewise. - * stdio-common/reg-printf.c: Likewise. - * stdio-common/vfprintf.c: Likewise. - * stdio-common/vfscanf.c: Likewise. - * stdlib/canonicalize.c: Likewise. - * stdlib/msort.c: Likewise. - * stdlib/random_r.c: Likewise. - * stdlib/strfmon.c: Likewise. - * stdlib/strtod.c: Likewise. - * stdlib/strtol.c: Likewise. - * sunrpc/bindrsvprt.c: Likewise. - * time/asctime.c: Likewise. - * time/localtime.c: Likewise. - * wcsmbs/mbrtowc.c: Likewise. - * wcsmbs/mbsnrtowcs.c: Likewise. - * wcsmbs/mbsrtowcs.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/fpu_control.h (_FPU_DEFAULT): + Disable all exceptions. + +Thu May 2 22:33:14 1996 Andreas Schwab + + * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_acosf.c, + sysdeps/m68k/fpu/e_fmod.c, sysdeps/m68k/fpu/e_fmodf.c, + sysdeps/m68k/fpu/isinfl.c, sysdeps/m68k/fpu/isnanl.c, + sysdeps/m68k/fpu/s_atan.c, sysdeps/m68k/fpu/s_atanf.c, + sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_frexpf.c, + sysdeps/m68k/fpu/s_ilogb.c, sysdeps/m68k/fpu/s_ilogbf.c, + sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_isinff.c, + sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c, + sysdeps/m68k/fpu/s_modf.c, sysdeps/m68k/fpu/s_modff.c: Don't + define __NO_MATH_INLINES, which is already defined on command + line. + +Thu May 2 22:18:28 1996 Andreas Schwab + + * sysdeps/libm-ieee754/e_j0f.c (__ieee754_j0f, __ieee754_y0f): + Replace 0x80000000 by 0x48000000. + * sysdeps/libm-ieee754/e_j1f.c (__ieee754_j1f): Likewise. + +Thu May 2 21:30:33 1996 Andreas Schwab + + * sunrpc/svc_simple.c: Make global variable pl local to + registerrpc. + +Thu May 2 00:24:04 1996 Andreas Schwab + + * time/Makefile (tz-cflags): New variable. + (CFLAGS-tzfile.c): New variable. + (CFLAGS-zic.c): Add $(tz-cflags). + (tz-cc): Remove variable. + ($(objpfx)tzfile.o, $(objpfx)zic.o): Remove targets. + +Wed May 1 09:10:04 1996 Roland McGrath + + * sysdeps/mach/hurd/getcwd.c: Jump out of both loops when we find a + name, instead of checking for reaching end of buffer, which happens + when the match is the last entry in the buffer. + + * time/strftime.c: Use canonical autoconf nugget for time.h+sys/time.h + include. + +Mon Apr 29 02:48:26 1996 Ulrich Drepper + + * ctype/ctype-info.c: (__ctype_width): New variable. + (__ctype_names): Initialize correctly without offset. + + * locale/C-collate.c, locale/C-ctype.c, + locale/C-messages.c, locale/C-monetary.c, + locale/C-numeric.c, locale/C-time.c: Change copyright. + + * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Correct + endianess for initialization value. + + * locale/lc-ctype.c (current): Add parameter for offset. + (__ctype32_b, __ctype_width): Add initialization for these + variables. + + * locale/programs/charmap.c: Finish support for WIDTH information. + (new_width): New function. + + * locale/programs/charset.h (width_rule): new data structure. + (charset_t): Add elements for width information. + + * locale/programs/ld-ctype.c (locale_ctype_t): Add element + for width information. + (allocate_arrays): Add new argument for charset. + (ctype_finish): Make sure all characters named in charset + width table are known to name table. + (ctype_output): Correct handling of class and map name + information and write out width information. + (find_idx): Prepare for being called with NULL pointer as + TABLE argument. This means only allocate name entry. + (allocate_arrays): Correct handling of array element -1. + Because EOF == -1 the value of element 127 must *not* be + mirrored here. + Fill width information from charset tables. + + * locale/programs/localedef.c (main): Correct loop over all + categories after change of order from Thu Mar 28 14:22:51 1996. + Add new charset argument to call of `write_all_categories'. + + * locale/programs/locales.h (ctype_finish, ctype_output): New + charset argument. + + * locale/programs/locfile.c (write_all_categories): Call + `ctype_output' with additional argument charset. + + * posix/getconf.c (vars): Add _POSIX_SYNC_IO, _POSIX_ASYNC_IO, + and _POSIX_PRIO_IO definitions. + + * posix/posix2_lim.h: Add definition of _POSIX2_CHARCLASS_NAME_MAX + and CHARCLASS_NAME_MAX. + + * posix/unistd.h: Document _POSIX_SYNC_IO, _POSIX_ASYNC_IO, + and _POSIX_PRIO_IO. + + * stdlib/grouping.h: Prepare for use in wide string functions. + + * stdlib/stdlib.h: Correct prototypes for __strto*_internal + functions. + + * stdlib/strtod.c: Extend for use as `wcsto{f,d,ld}'. + + * stdlib/strtol.c: Extend for use as `wcsto{l,ul,q,uq}'. + + * string/strcoll.c: Extend for use as `wcscoll'. + + * string/strxfrm.c: Extend for use as `wcsxfrm'. + + * sysdeps/generic/confname.h: Add definition of _PC_SYNC_IO, + _PC_ASYNC_IO, _PC_PRIO_IO and _SC_CHARCLASS_NAME_MAX. + + * sysdeps/generic/stpncpy.c: Correct return value. + + * sysdeps/posix/fpathconf.c: Add handling of _PC_SYNC_IO, + _PC_ASYNC_IO, and _PC_PRIO_IO. + + * sysdeps/posix/sysconf.c: Add handling of _SC_REALTIME_SIGNALS, + _SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO, + _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC, + _SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE, + _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_SEMAPHORES, + _SC_SHARED_MEMORY_OBJECTS, and _SC_CHARCLASS_NAME_MAX. + * sysdeps/stub/sysconf.c: Ditto. + * sysdeps/unix/sysv/sysv4/sysconf.c: Ditto. + + * sysdeps/unix/sysv/linux/Dist: Add sys/sysctl.h. + + * sysdeps/unix/sysv/linux/Makefile [subdir == misc] + (sysdep_routines): Add s_sysctl and sysctl. + + * sysdeps/unix/sysv/linux/sys/mman.h: Add declaration of mremap. + + * sysdeps/unix/sysv/linux/sys/socket.h: New file. Wrapper + around kernel header. + + * sysdeps/unix/sysv/linux/sys/sysctl.h: New file. Define + interface to `sysctl' function. + + * sysdeps/unix/sysv/linux/syscalls.list: Add mremap and _sysctl. + + * sysdeps/unix/sysv/linux/sysconf.c: Add handling of + _SC_CHARCLASS_NAME_MAX. + + * sysdeps/unix/sysv/linux/sysctl.c: new file. Implement caller + of _sysctl system call. + + * sysvipc/Makefile (routines): Add ftok. + + * sysvipc/ftok.c: use variable `proj_id' not `id'. Patch by + David Mosberger-Tang. + + * wcsmbs/Makefile (routines): Add wcpcpy, wcpncpy, wcstol, + wcstoul, wcstoq, wcstouq, wcstod, wcstold, wcstof, wcscoll, + wcsxfrm, wcwidth, and wcswidth. + + * wcsmbs/wchar.h: Add declarations for wcpcpy, wcpncpy, wcstol, + wcstoul, wcstoq, wcstouq, wcstod, wcstold, wcstof, wcscoll, + wcsxfrm, wcwidth, and wcswidth. + Declare internal interfaces for wcsto* functions. + [OPTIMIZE]: Define inline functions for wcsto* functions to + call internal interface functions. + + * wcsmbs/wcpcpy.c, wcsmbs/wcpncpy.c: New files. Implement non- + standard function equivalent to stpcpy/stpncpy. + + * wcsmbs/wcscoll.c: Implement `wcscoll' function by using + `strcoll' implementation. + + * wcsmbs/wcscpy.c, wcsmbs/wcsncpy.c: Use wint_t instead of + wchar_t. + + * wcsmbs/wcstod.c: Implement `wcstod' function by using `strtod' + implementation. + * wcsmbs/wcstof.c: Same for `wcstof'. + * wcsmbs/wcstold.c: Same for `strtold'. + + * wcsmbs/wcstol.c: Implement `wcstol' function by using `strtol' + implementation. + * wcsmbs/wcstoq.c: Same for `wcstoq'. + * wcsmbs/wcstoul.c: Same for `wcstoul'. + * wcsmbs/wcstouq.c: Same for `wcstouq'. + + * wcsmbs/wcswidth.c: Implement `wcswidth' function from X/Open + CAE. + * wcsmbs/wcwidth.c: Ditto for `wcwidth'. + * wcsmbs/wcwidth.h: Common function for definitions of above two + functions. + + * wcsmbs/wcsxfrm.c: Implement `wcsxfrm function by using + `strxfrm implementation. + + * wctype/wctype.c: Remove case for `wctype_t' being 16 bit type. + + * wctype/wctype.h (wint_t): Protect against multiple definition. + (wctype_t): Always define as `unsigned long int'. + + * wctype.h: New file. Wrapper around wctype/wctype.h. + +Tue Apr 30 17:30:46 1996 Miles Bader + + * hurd/hurdsig.c (_hurdsig_abort_rpcs): Add timeout argument to + interrupt_operation call. + (_hurdsig_interrupt_timeout): New variable. + + * hurd/report-wait.c (describe_number): Correctly allocate space + in DESCRIPTION for the digits in I. + +Mon Apr 29 00:11:59 1996 Roland McGrath + + * hurd/hurdstartup.c (_hurd_split_args): Function removed. + (_hurd_startup): Use argz functions. + + * hurd/hurdexec.c: Use argz functions. + + * errno.h [!__error_t_defined] (error_t): New type. + * sysdeps/mach/hurd/errnos.awk: #define __error_t_defined after the + typedef in errnos.h. + + * string/envz.c, string/envz.h: New files. + * string/argz.h, string/argz-append.c, string/argz-count.c, + string/argz-create.c, string/argz-delete.c, string/argz-extract.c, + string/argz-insert.c, string/argz-stringify.c: New files. + * string/Makefile (routines): Add envz, argz-*. + (headers): Add argz.h, envz.h. + +Sun Apr 28 14:14:35 1996 Roland McGrath + + * sysdeps/unix/sysv/linux/i386/Makefile: New file. + +Wed Apr 24 17:35:30 Ulrich Drepper + + * inet/netinet/in.h, socket/sys/socket.h: Move to + sysdeps/generic/netinet/in.h, sysdeps/generic/sys/socket.h. + * netinet/in.h, sys/socket.h: Remove file. + + * misc/Makefile (routines): Add fdatasync. + + * posix/Makefile (headers): Add sched.h. + (routines): Add nanosleep, sched_setp, sched_getp, sched_sets, + sched_gets, sched_yield, sched_primax, sched_primin, sched_rr_gi. + + * posix/getconf.c (vars): Add entries for _POSIX_REALTIME_SIGNALS, + _POSIX_PRIORITY_SCHEDULING, _POSIX_TIMERS, _POSIX_ASYNCHRONOUS_IO, + _POSIX_PRIORITIZED_IO, _POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, + _POSIX_MAPPED_FILES, _POSIX_MEMLOCK, _POSIX_MEMLOCK_RANGE, + _POSIX_MEMORY_PROTECTION, _POSIX_MESSAGE_PASSING, + _POSIX_SEMAPHORES, _POSIX_SHARED_MEMORY_OBJECTS. + + * posix/sched.h: New file. Header for POSIX scheduling interface. + + * posix/unistd.h: Describe options from POSIX.4. + Add declaration of fdatasync. + + * sysdeps/generic/confname.h: Add definition for + _SC_REALTIME_SIGNALS, _SC_PRIORITY_SCHEDULING, _SC_TIMERS, + _SC_ASYNCHRONOUS_IO, _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, + _SC_FSYNC, _SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE, + _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, + _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS. + + * sysdeps/generic/fdatasync.c: New file. Default implementation + simply uses fsync. + + * sysdeps/generic/netinit/in.h: Moved to here from inet/netinet/in.h. + + * sysdeps/generic/schedbits.h: New file. System dependent + defintion for POSIX.4 scheduling interface. + + * sysdeps/generic/sys/socket.h: Moved to here from socket/sys/socket.h. + + * sysdeps/stub/nanosleep.c, sysdeps/stub/sched_getp.c, + sysdeps/stub/sched_gets.c, sysdeps/stub/sched_primax.c, + sysdeps/stub/sched_primin.c, sysdeps/stub/sched_rr_gi.c, + sysdeps/stub/sched_setp.c, sysdeps/stub/sched_sets.c, + sysdeps/stub/sched_yield.c: New file: Stub implementation + for systems missing these POSIX.4 system calls. + + * sysdeps/unix/sysv/linux/gnu/types.h, + sysdeps/unix/sysv/linux/ioctls.h: Use kernel header for + data type definitions. + + * sysdeps/unix/sysv/linux/netinet/in.h: New file. Linux + specific version. + + * sysdeps/unix/sysv/linux/posix_opt.h: New file. Define POSIX + options applicable for Linux. + + * sysdeps/unix/sysv/linux/syscalls.list: Add definitions for + fdatasync, nanosleep, sched_setparam, sched_getparam, + sched_setscheduler, sched_getscheduler, sched_yield, + sched_get_priority_max, sched_get_priority_min, and + sched_rr_get_interval. + + * sysdeps/unix/sysv/linux/sysconf.c: Add handling of POSIX.4 + options. + + * sysdeps/unix/sysv/linux/termbits.h: Use kernel headers. + + * time/sys/time.h: Remove definition of `struct timespec'. + + * time/time.h (struct timespec): Move definition to here. + +Fri Apr 26 01:55:07 1996 Roland McGrath + + * malloc/mcheck.c (mabort): Use __libc_fatal only #ifdef _LIBC. + +Thu Apr 25 15:49:57 1996 Miles Bader + + * sysdeps/mach/hurd/getcwd.c (__getcwd): When we find a match in + the scan for a name, avoid doing another readdir (which overwrites + NENTRIES, and was resulting in a bogus ENOENT). + + * sysdeps/mach/hurd/fcntl.c (__fcntl): Add missing break after F_SETFL. + +Wed Apr 24 00:22:42 1996 Roland McGrath + + * stdio/internals.c (seek_to_target): Set errno if seek function + returns the wrong offset. + + * wcsmbs/wcsrtombs.c [! EILSEQ] (EILSEQ): Define to EINVAL. * wcsmbs/wcrtomb.c: Likewise. - * wcsmbs/wcsnrtombs.c: Likewise. - * wcsmbs/wcsrtombs.c: Likewise. - * wcsmbs/wcstok.c: Likewise. - * sysdeps/generic/ftime.c: Likewise. - * sysdeps/generic/pty.c: Likewise. - * sysdeps/generic/setenv.c: Likewise. - * sysdeps/generic/speed.c: Likewise. - * sysdeps/generic/sysd-stdio.c: Likewise. - * sysdeps/generic/uname.c: Likewise. - * sysdeps/generic/vlimit.c: Likewise. - * sysdeps/libm-ieee754/k_standard.c: Likewise. - * sysdeps/libm-ieee754/s_ldexp.c: Likewise. - * sysdeps/libm-ieee754/s_ldexpf.c: Likewise. - * sysdeps/libm-ieee754/s_ldexpl.c: Likewise. - * sysdeps/libm-ieee754/w_scalb.c: Likewise. - * sysdeps/libm-ieee754/w_scalbf.c: Likewise. - * sysdeps/libm-ieee754/w_scalbl.c: Likewise. - * sysdeps/posix/dup2.c: Likewise. - * sysdeps/posix/euidaccess.c: Likewise. - * sysdeps/posix/fdopen.c: Likewise. - * sysdeps/posix/flock.c: Likewise. - * sysdeps/posix/fpathconf.c: Likewise. - * sysdeps/posix/getcwd.c: Likewise. - * sysdeps/posix/gettimeofday.c: Likewise. - * sysdeps/posix/isatty.c: Likewise. - * sysdeps/posix/isfdtype.c: Likewise. - * sysdeps/posix/killpg.c: Likewise. - * sysdeps/posix/mkstemp.c: Likewise. - * sysdeps/posix/mktemp.c: Likewise. - * sysdeps/posix/pathconf.c: Likewise. - * sysdeps/posix/pipestream.c: Likewise. - * sysdeps/posix/remove.c: Likewise. - * sysdeps/posix/rename.c: Likewise. - * sysdeps/posix/sigintr.c: Likewise. - * sysdeps/posix/signal.c: Likewise. - * sysdeps/posix/sigsuspend.c: Likewise. - * sysdeps/posix/sigvec.c: Likewise. - * sysdeps/posix/sleep.c: Likewise. - * sysdeps/posix/sysconf.c: Likewise. - * sysdeps/posix/system.c: Likewise. - * sysdeps/posix/tempname.c: Likewise. - * sysdeps/posix/truncate.c: Likewise. + + * stdio-common/vfprintf.c: Include errno.h. + +Tue Apr 23 21:09:14 1996 Miles Bader + + * hurd/hurdsig.c (signal_allowed): For SIGIO/SIGURG, add a new + variable, LUCKY, to use instead of setting D to -1 (which fouls + things up). + +Tue Apr 23 15:56:56 1996 Roland McGrath + + * config.h.in (HAVE_REGEX): New macro. + + * sysdeps/unix/syscalls.list: Add statfs, fstatfs. + * io/Makefile (headers): Add sys/statfs.h, statfsbuf.h. + (routines): Add statfs, fstatfs. + * sysdeps/mach/hurd/statfs.c: New file. + * sysdeps/mach/hurd/fstatfs.c: New file. + * sysdeps/stub/fstatfs.c: New file. + * sysdeps/stub/statfs.c: New file. + * io/sys/statfs.h: New file. + * sysdeps/generic/statfsbuf.h: New file. + * sysdeps/unix/sysv/linux/statfsbuf.h: New file. + +Tue Apr 23 00:06:47 1996 Roland McGrath + + * malloc/Makefile (gmalloc-routines): Add valloc back here. + (dist-routines): Remove it here. + * malloc/valloc.c [_MALLOC_INTERNAL && GMALLOC_INHIBIT_VALLOC] + (ELIDE_VALLOC): Define it. + [! ELIDE_VALLOC]: Make whole file conditional on this. + * malloc/malloc.h (valloc): Make decl conditional on + [!GMALLOC_INHIBIT_VALLOC] instead of [!emacs]. + +Mon Apr 22 00:02:19 1996 Roland McGrath + + * MakeTAGS: Include version.mk. + (po/SYS_libc.pot): Add missing / in sed s cmd. + +Sat Apr 20 18:13:00 1996 Roland McGrath + + * Makerules (no-whole-archive): Test $(have-no-whole-archive), not + $(libc_cv_ld_no_whole_archive). + +Sat Apr 20 17:07:17 1996 Ulrich Drepper + + * assert/assert.h, ctype/ctype.h, dirent/dirent.h, errno.h, + grp/grp.h, io/fcntl.h, io/sys/stat.h, io/utime.h, locale/locale.h, + math/math.h, misc/nlist.h, misc/sgtty.h, misc/sys/file.h, + misc/sys/ioctl.h, misc/sys/uio.h, posix/sys/times.h, + posix/sys/types.h, posix/sys/utsname.h, posix/sys/wait.h, + posix/tar.h, posix/wordexp.h, pwd/pwd.h, resource/sys/vlimit.h, + resource/sys/vtimes.h, setjmp/setjmp.h, signal/signal.h, + stdio-common/printf.h, stdlib/alloca.h, stdlib/stdlib.h, + string/string.h, sysdeps/generic/sigaction.h, + sysdeps/generic/sigset.h, sysdeps/generic/sys/ptrace.h, + sysdeps/generic/sys/ptrace.h, sysdeps/unix/bsd/osf/sigaction.h, + sysdeps/unix/sysv/linux/sys/ptrace.h, + sysdeps/unix/sysv/minix/sigaction.h, + sysdeps/unix/sysv/sco3.2.4/sigaction.h, + sysdeps/unix/sysv/sysv4/sigaction.h, + sysdeps/unix/sysv/sysv4/sigset.h, termios/termios.h, + time/sys/time.h, time/time.h: Fix copyright comment. + +Fri Apr 19 00:49:44 1996 Roland McGrath + + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If uids and gids are + not given in stack aux vector, fetch them with syscalls. + + * stdlib/rpmatch.c (rpmatch: try): Take new arg NOMATCH, return value + for nonmatching nonerror (instead of !MATCH). + (rpmatch): Use it, so we return -1 when NOEXPR doesn't match either. + + * resolv/getnetnamadr.c (getnetbyaddr): Use u_int32_t instead of + unsigned long for variable NET2. + + * time/etcetera, time/europe, time/solar89: Updated from ADO's 96e. + +Tue Apr 9 14:37:31 1996 Ulrich Drepper + + * catgets/Makefile, catgets/catgets.c, catgets/catgetsinfo.h, + catgets/config.h, catgets/gencat.c, catgets/nl_types.h, + catgets/open_catalog.c: New files. Implementation of XPG4 + compliant catgets() function and needed tools. + * Makefile (subdirs): Add catgets. + +Thu Apr 18 23:36:11 1996 Roland McGrath + + * math/Makefile (CPPFLAGS): Append -D__NO_MATH_INLINES. + +Wed Apr 10 20:48:43 1996 Ulrich Drepper + + * stdio-common/vfprintf.c: Correct some typos. + + * sysdeps/libm-ieee754/w_gammaf.c, sysdeps/libm-ieee754/w_lgamma.c, + sysdeps/libm-ieee754/w_lgammaf.c: Reference signgam instead of + __signgam. + +Thu Apr 18 21:07:27 1996 Roland McGrath + + * Makerules (no-whole-archive): New variable. + (build-shlib): Use it. + * elf/Makefile (libdl.so): Use it. + * configure.in (libc_cv_ld_no_whole_archive): New check for + --no-whole-archive. + * config.make.in (have-no-whole-archive): New variable. + + * stdio-common/printf_fp.c: Increase fudge factor for BIGNUM_SIZE calc + from 3 to 4. + + * Make-dist: Include version.mk. + (version, release): Variables removed. + * Makeconfig (version.mk): New target. + +Fri Apr 19 01:42:18 1996 Ulrich Drepper + + * locale/Makefile (headers): Add langinfo.h. + (CPPFLAGS): Remove -Iliblib. + +Mon Apr 15 16:49:04 1996 Roland McGrath + + * malloc/memalign.c, malloc/malloc.h [__DJGPP__ == 1]: Elide memalign + function and its declaration. + +Wed Apr 10 14:13:45 1996 Miles Bader + + * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Store + MACH_PORT_DEAD in the thread reply-port variable before destroying + the signal handler's reply port, to avoid infinite recursion. + +Mon Apr 8 18:27:17 1996 Miles Bader + + * sysdeps/mach/gettimeofday.c (__gettimeofday): Don't fail if the + user passes in TZ, just zero it (emacs passes in a dummy variable, + and rms says the hurd should be the one to change). + +Sun Apr 7 10:37:30 1996 Roland McGrath + + * sysdeps/mach/hurd/fork.c: Don't leak send rights to the child's proc + port in the parent. + +Fri Apr 5 17:43:41 1996 Miles Bader + + * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Store + MACH_PORT_DEAD in the thread reply-port variable before destroying + the signal handler's reply port to avoid infinite recursion. + * sysdeps/mach/hurd/mig-reply.c (__mig_dealloc_reply_port): Only + attempt to destroy PORT if it's a valid port name. + +Wed Apr 3 17:10:44 1996 Roland McGrath + + * extra-lib.mk: Put libs in $(common-objpfx) instead of $(objpfx). + * Makerules ($(install-lib) rules): Find libs with $(common-objpfx) + instead of $(objpfx). + +Tue Apr 2 21:27:01 1996 Andreas Schwab + + * posix/glob.c (glob_pattern_p): Avoid scanning past eos if + the pattern ends with a backslash and quoting is enabled. + * posix/fnmatch.c (fnmatch): Likewise; return FNM_NOMATCH for such + patterns. + +Mon Apr 1 13:34:55 1996 Roland McGrath + + * stdio-common/tst-printf.c (main): Add new test case. + + * sysdeps/generic/setenv.c (unsetenv): Use old-style definition. + +Mon Apr 1 11:39:10 Ulrich Drepper + + * stdlib/strtod.c (STRTOD): Fix handling of American style FP + numbers. + + * stdio-common/vfprintf.c (vfprintf): Don't increment format + string pointer twice after seeing `*'. + +Sun Mar 31 17:31:54 1996 Roland McGrath + + * MakeTAGS (po/SYS_libc.pot): Prepend header processed from + po/header.pot. + +Sun Mar 31 18:07:32 1996 Ulrich Drepper + + * locale/Makefile (others, install-bin): Compiling locale works + again. + (locale-modules): locale has no --dump option anymore. Remove + ctypedump. + + * locale/programs/config.h: Don't declare euidaccess. + Use #include_next to get libc's config.h. + + * locale/programs/ctypedump.c: Not needed anymore. Dump option + of locale is removed. + + * locale/programs/locale.c: Adapt for new locale implementation. + + * stdio-common/_itoa.h (_itoa_word): Define as inline function. + * stdio-common/_itoa.c (_itoa_lower_digits, _itoa_upper_digits): + Don't declare static because used in _itoa_word inline function. + + * stdio-common/printf-parse.h: Prepare for use in wide-char + stdio implementation. + (find_spec): Take additional argument to work with mbrlen instead + of mblen. + (parse_one_spec): Ditto. + + * stdio-common/printf-prs.c: Prepare for use in wide-char + stdio implementation. + + * stdio-common/printf.h: Mark change for wide-char handling. + Changing it now would result in incompatibilities. + + * stdio-common/vfprintf.c: New and fast implementation. + + * wcsmbs/Makefile (routines): Remove pre-ISO C multibyte functions + mbsadvance, mbscat, mbschr, mbscmp, mbscpy, mbsdup, mbslen, + mbsncat, mbsncmp, mbsncpy, mbsrchr, mbstomb. + Change wcswcs to wcsstr. + Add wmemchr, wmemcmp, wmemcpy, wmemmove, wmemset, btowc, wctob, + mbsinit, mbrlen, mbrtowc, wcrtomb, mbsrtowcs, wcsrtombs. + + * wcsmbs/btowc.c, wcsmbs/mbrlen.c, wcsmbs/mbrtowc.c, + wcsmbs/mbsinit.c, wcsmbs/mbsrtowcs.c, wcsmbs/wchar.h, + wcsmbs/wcrtomb.c, wcsmbs/wcsrtombs.c, wcsmbs/wcsstr.c, + wcsmbs/wctob.c, wcsmbs/wmemchr.c, wcsmbs/wmemcmp.c, + wcsmbs/wmemcpy.c, wcsmbs/wmemmove.c, wcsmbs/wmemset.c: New + function according to ISO C amendment 1. + * wchar.h: Wrapper around "wcsmbs/wchar.h". + + * wcsmbs/wcscat.c, wcsmbs/wcschr.c, wcsmbs/wcscmp.c, + wcsmbs/wcscpy.c, wcsmbs/wcscspn.c, wcsmbs/wcsdup.c, + wcsmbs/wcslen.c, wcsmbs/wcsncat.c, wcsmbs/wcsncmp.c, + wcsmbs/wcsncpy.c, wcsmbs/wcspbrk.c, wcsmbs/wcsrchr.c, + wcsmbs/wcsspn.c, wcsmbs/wcstok.c: Changed to conform with ISO C + amendment 1. + + * wcsmbs/mbsadvance.c, wcsmbs/mbscat.c, wcsmbs/mbschr.c, + wcsmbs/mbscmp.c, wcsmbs/mbscpy.c, wcsmbs/mbsdup.c, + wcsmbs/mbslen.c, wcsmbs/mbsncat.c, wcsmbs/mbsncmp.c, + wcsmbs/mbsncpy.c, wcsmbs/mbsrchr.c, wcsmbs/mbstomb.c, + wcsmbs/mbstr.h, wcsmbs/wcstr.h, wcsmbs/wcswcs.c: Removed. + Implement functions from early drafts, not part of final standard. + +Sun Mar 31 16:50:41 1996 Roland McGrath + + * setjmp/setjmp.h (jmp_buf): Change gratuitous struct tag name to + __jmp_bug_tag so its C++ implicit typedef does not conflict with the + __jmp_buf typedef. + + * Makerules (BUILD_CFLAGS) [! objdir]: Use $(..)config.h when + compiling in the source directories. + +Fri Mar 29 16:26:35 1996 Roland McGrath + + * sysdeps/libm-ieee754/w_gamma.c: Use signgam instead of __signgam. + * sysdeps/libm-ieee754/s_signgam.c: Undo last change. + +Fri Mar 29 11:29:46 1996 Roland McGrath + + * sysdeps/libm-ieee754/s_signgam.c (signgam): Renamed to __signgam, + with weak alias signgam. + +Thu Mar 28 18:32:34 1996 Roland McGrath + + * Makeconfig (+cflags, +gcc-nowarn): Use gcc flags unconditionally. + +Thu Mar 28 14:22:51 1996 Roland McGrath + + * sunrpc/rpc_main.c (main): Call textdomain. + + * MakeTAGS (XGETTEXTFLAGS-siglist.pot, XGETTEXTFLAGS-errlist.pot): Add + --no-location. + (all-pot): Replace $(subdirs) files with $P/subdirs.pot. + ($P/subdirs.pot): New target. + ($P/SYS_libc.pot): Add -n switch. + + * locale/locale.h (LC_*): Values reordered to match Linux libc. + + * sysdeps/mach/hurd/kill.c: If proc_pid2task gives us MACH_PORT_NULL + the process is a zombie; send no messages and return success. + +Thu Mar 28 11:53:26 1996 Roland McGrath + + * wctype/cname-lookup.h: Find localeinfo.h in ../locale. + * wctype/wctype.c: Likewise. + * wctype/wctrans.c: Likewise. + +Thu Mar 28 03:00:43 1996 Roland McGrath + + * locale/nl_langinfo.c (nl_langinfo): Use DATA->values instead of + DATA->strings. + + * Makerules (BUILD_CFLAGS): Remove $(common-objpfx) from config.h. + + * configure.in (.weakext check): Fix asm code to use .weakext instead + of .weak! Fix bogus test calls. + * configure: Regenerated. + +Thu Mar 28 03:25:10 1996 Roland McGrath + + * locale/programs/xmalloc.c: Test _LIBC as well as STDC_HEADERS. + + * locale/programs/ld-collate.c (collate_finish): Use error_at_line + instead of error_with_loc. + + * locale/weight.h: Use u_int32_t instead of u32_t. + * string/strxfrm.c: Likewise. + + * string/strxfrm.c: Find weight.h in ../locale; don't #include + "localeinfo.h". + * string/strcoll.c: Likewise. + + * intl/Makefile (copysrc): Add missing > in sed cmd. + +Sat Mar 23 17:52:49 1996 Ulrich Drepper + + * Makeconfig: Rename Makefile variable nlsdir to i18ndir and + change value to $(datadir)/i18n. `nls' is not an appropriate + name. + + * Makefile (subdirs): Add new subdir wctype. + + * ctype/ctype-info.c: Add new global variable __ctype_names + and initialize from _nl_C_LC_CTYPE. + + * ctype/ctype.h: In P1003.3b/D11 `alnum' is a separate character + class. Use bit 11. + [_ISbit]: Protect definition of bitmasks because they are also + used in wctype.h. + + * libio/genops.c (_IO_sputbackc, _IO_sungetc): Clear EOF flag + after successfully pushing back a character. + + Fundamental changes in locale implementation. Almost nothing + from the old code is used anymore. + * locale/charmap.c, locale/collate.c, locale/config.h, + locale/ctypedump.c, locale/hash.h, locale/keyword.gperf, + locale/keyword.h, locale/loadlocale.c, locale/locale-ctype.c, + locale/locale.c locale/localeconv.c, locale/localedef.c, + locale/localedef.h, locale/locfile-hash.c, locale/locfile-lex.c, + locale/locfile-parse.c, locale/messages.c, locale/monetary.c, + locale/numeric.c, locale/setlocale.c, locale/token.h, + locale/xmalloc.c: Removed. + + * locale/Makefile: Update for new locale implementation with + program source code distributed in subdir. + + * locale/categories.def, locale/iso-4217.def: Updated file + for new locale implementation. + + * locale/langinfo.h: Updated for new locale implementation. + (ERA_D_T_FMT, ERA_T_FMT): New official values according to + P1003.2b/D11. + (_NL_COLLATE_NRULES, _NL_COLLATE_RULES, _NL_COLLATE_HASH_SIZE, + _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_TABLE_EB, + _NL_COLLATE_TABLE_EL, _NL_COLLATE_UNDEFINED, _NL_COLLATE_EXTRA_EB, + _NL_COLLATE_EXTRA_EL, _NL_CTYPE_NAMES_EB, _NL_CTYPE_NAMES_EL, + _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS, _NL_CTYPE_CLASS_NAMES, + _NL_CTYPE_MAP_NAMES, _NL_CTYPE_WIDTH): New internal values for + extended LC_CTYPE and LC_COLLATE implementation. + + * locale/programs/simple-hash.c, locale/programs/simple-hash.h, + locale/programs/xmalloc.c, locale/programs/xstrdup.c: Helper functions + for locale related programs. + + * locale/C-collate.c, locale/C-ctype.c, + locale/C-messages.c, locale/C-monetary.c, + locale/C-numeric.c, locale/C-time.c, + locale/lc-collate.c, locale/lc-ctype.c, + locale/lc-messages.c, locale/lc-monetary.c, + locale/lc-numeric.c, locale/lc-time.c: New implementation of locale + functions, and new generated "C" locale data. + + * locale/loadlocale.c: Now handles word fields in locale binary + automatically by changing the endianess if necessary. + + * locale/localeinfo.h (LIMAGIC): Changed magic number because + of incompatible changes. + (locale_data): Changed definition to allow word as a value type. + (coll_sort_rule): Values for collation sorting mode. + (_NL_CURRENT_WORD): New macro to access word value of locale entry. + (__collate_table, __collate_extra): Declare new global variables + for collation tables. + + * locale/programs/charmap-kw.gperf, locale/programs/charmap-kw.h, + locale/programs/charmap.c, locale/programs/charset.c, + locale/programs/charset.h, locale/programs/config.h, + locale/programs/ctypedump.c, locale/programs/ld-collate.c, + locale/programs/ld-ctype.c, locale/programs/ld-messages.c, + locale/programs/ld-monetary.c, locale/programs/ld-numeric.c, + locale/programs/ld-time.c, locale/programs/linereader.c, + locale/programs/linereader.h, locale/programs/locale.c, + locale/programs/localedef.c, locale/programs/locales.h, + locale/programs/locfile-kw.gperf, locale/programs/locfile-kw.h, + locale/programs/locfile-token.h, locale/programs/locfile.c, + locale/programs/locfile.h, locale/programs/stringtrans.c, + locale/programs/stringtrans.h: Implementation of locale related + programs. + + * locale/weight.h: Functions to access collation tables. + + * posix/unistd.h: Define _POSIX2_LOCALEDEF. + + * stdio-common/printf_fp.c: Fix bug with printing certain numbers + < 10^-1. Reported by Bill Metzenthen. + + * stdio-common/tfformat.c: Add new test for above bug. + + * string/strcoll.c, string/strxfrm.c: Real implementation of + string collation according to ISO C. + + * wctype/Makefile, wctype/cname-lookup.h, wctype/iswctype.c, + wctype/test_wctype.c, wctype/towctrans.c, wctype/wcfuncs.c, + wctype/wctrans.c, wctype/wctype.c, wctype/wctype.h: New files. + Implementation of wide character classes and mapping. + +Wed Mar 27 14:52:11 1996 Roland McGrath + + * elf/rtld.c (dl_main): Call _dl_sysdep_start_cleanup after + _dl_relocate_object loop. Avoid relocating RTLD_MAP in that loop, and + do it individually if necessary after _dl_sysdep_start_cleanup call. + + * stdlib/Makefile (mpn-routines): Add divrem. + +Tue Mar 26 22:54:14 Ulrich Drepper + + * stdio-common/printf_fp.c (__printf_fp): Use mpn_divmod + instead of __mpn_divmod. + +Wed Mar 27 10:26:21 1996 David Mosberger-Tang + + * sysdeps/alpha/setjmp.S: Must establish global pointer before + address of __sigsetjmp_aux can be loaded. + +Wed Mar 27 02:23:19 1996 Ulrich Drepper + + * sysdeps/i386/i586/memset.S: New file. Highly optimized + version for i586 contributed by Torbjorn Granlund. + Adapted for use as bzero. + * sysdeps/i386/i586/bzero.S: Use sysdeps/i386/i586/memset.S + code to implement bzero(). + +Tue Mar 26 20:01:17 1996 Roland McGrath + + * stdlib/Makefile (mpn-routines): Remove divmod. + +Tue Mar 26 15:40:14 1996 Brendan Kehoe + + * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h (NO_UNDERSCORES): Use + wrapped with #ifndef, to avoid config.h defining it. + +Mon Mar 25 13:10:04 1996 Roland McGrath + + * malloc/realloc.c (_realloc_internal): In case of growing large + block, leave _heaplimit zero across _malloc_internal call. + + * intl/Makefile [gettext-srcdir]: Use gpl2lgpl.sed on copied sources. + +Mon Mar 25 03:35:16 1996 Roland McGrath + + * malloc/malloc.c (morecore): Don't attempt recursive realloc of info + table when _heaplimit==0 during realloc growing large block. + + * MakeTAGS (extract): Remove /dev/null from xgettext command line. + (text-srcs): New variable: extract only C sources from $(tags_sources). + (po/$(domain).pot): Depend on that. + If it's empty, cp /dev/null $@ instead of $(extract). + + * misc/Makefile (headers): Add iovec.h. + * sysdeps/unix/sysv/linux/iovec.h: New file. + * sysdeps/generic/iovec.h: New file. + * misc/sys/uio.h (struct iovec): Type replaced with #include . + + * configure.in (NO_UNDERSCORES check): Use AC_TRY_LINK instead of + AC_TRY_COMPILE. + + * misc/sys/cdefs.h [__USE_BSD] (const, signed, volatile): Move these + macros inside [! __STDC__]. + + * stdlib/rpmatch.c: New file. + * stdlib/Makefile (routines): Add rpmatch. + * stdlib/stdlib.h [__USE_SVID]: Declare rpmatch. + + * MakeTAGS (MSGJOIN): Variable removed. + (po/SYS_libc.pot): Use $(XGETTEXT) instead of $(MSGJOIN). + +Wed Mar 20 20:08:46 1996 Andreas Schwab + + * sysdeps/unix/sysdep.h: Don't define C_SYMBOL_NAME. + + * sysdeps/unix/sysv/linux/m68k/sysdep.h: Don't define + NO_UNDERSCORES. + +Thu Mar 21 11:19:15 1996 Roland McGrath + + * mach/devstream.c (input): Translate \r to \n on input. + +Wed Mar 20 11:28:49 1996 Andreas Schwab + + * stdio-common/printf.h, stdio-common/printf_fp.c, + stdio-common/vfprintf.c: Place const in parameter list at + correct place. + +Wed Mar 20 23:58.12 1996 Ulrich Drepper + + * sysdeps/i386/ldbl2mpn.c: Copy of former version of + sysdeps/ieee754/ldbl2mpn.c. + * sysdeps/ieee754/ldbl2mpn.c: Remove i386 specific unification. + Reported by Andreas Schwab. + +Wed Mar 20 19:58:43 1996 Roland McGrath + + * version.c: Include version.h to define RELEASE and VERSION macros. + (__libc_release, __libc_version): Use them. + * locale/SYS_libc.c (_libc_intl_domainname): Include ../version.h and + use VERSION to define domainname as `SYS_GNU_libc-VERSION'. + * Make-dist (rel+vers): Snarf the macro values from version.h. + + * MakeTAGS (extract): Pass $(XGETTEXTFLAGS-$(@F)). + (XGETTEXTFLAGS-siglist.pot, XGETTEXTFLAGS-errlist.pot): New variables; + pass -a for these files. + + * Makerules (po/%.pot): Depend on FORCE target so recursive make is + always run. + +Mon Mar 18 22:54:32 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/wait3.c: New file. + * sysdeps/unix/sysv/linux/wait.c: Use the bsd4.4 wait, not the + one from sysdeps/posix. + +Wed Mar 20 09:42:11 1996 Roland McGrath + + * sysdeps/unix/bsd/waitflags.h (WNOREAP): New macro. + + * elf/dl-load.c (_dl_map_object_from_fd): Always set L->l_type; if not + lt_executable, then lt_library. + * elf/rtld.c (dl_main): Don't set NEW->l_type after _dl_map_object. + +Wed Mar 20 00:08:23 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/syscalls.list: Remove gtty and stty. + +Tue Mar 19 16:31:06 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/termbits.h (CRTSCTS, CBAUDEX, VEOL, + VEOL2, VMIN, VTIME): Corrected. + (PAGEOUT, WRAP, VDSUSP): Deleted. + +Tue Mar 19 14:18:42 1996 Roland McGrath + + * sysdeps/unix/readdir.c: Test [! _DIRENT_HAVE_D_RECLEN] instead of + (sizeof (DP->d_name) > 1) to detect fixed-size dir entries. + + * sysdeps/i386/fpu/__math.h (asinh): Call log1p instead of __log1p. + + * math/math.h: Move M_* constants before __math.h include. + [__NO_MATH_INLINES || __OPTIMIZE__]: Include __math.h only #if this. + + * misc/efgcvt_r.c (ecvt_r): Declare floor, log10, fabs as weak extern. + If log10 is not defined (i.e. no -lm), use stupid loop instead. + + * features.h (__FAVOR_BSD): Define only if _BSD_SOURCE is defined + and no other _*_SOURCE macro is. + (_GNU_SOURCE): Don't define by default. + * libc-symbols.h (_GNU_SOURCE): Define it. + + * configure.in (alpha*-*-linux*): Unset $gnu_ld and $elf. + + * config.make.in (weak-symbols): Variable removed. + * configure.in (--with-weak-symbols): Option removed. + (NO_UNDERSCORES, HAVE_ASM_WEAK_DIRECTIVE, HAVE_ASM_WEAKEXT_DIRECTIVE): + New tests. + + * config.h.in (HAVE_WEAK_SYMBOLS): #undef removed. + (NO_UNDERSCORES, HAVE_ASM_WEAK_DIRECTIVE, HAVE_ASM_WEAKEXT_DIRECTIVE): + New #undefs. + * libc-symbols.h: Use them instead of HAVE_WEAK_SYMBOLS. + + * sysdeps/unix/bsd/pause.c: Moved to sysdeps/unix/common/pause.c. + +Mon Mar 4 20:17:28 1996 David Mosberger-Tang + + * inet/inet_lnaof.c: Use u_int32_t instead of u_long. + * inet/inet_mkadr.c: Likewise. + * inet/inet_net.c: Likewise. + * inet/inet_netof.c: Likewise. + * inet/rcmd.c: Likewise. + * inet/arpa/inet.h: Likewise. + * inet/netinet/in.h: Likewise. + * inet/netinet/tcp.h: Likewise. + * inet/protocols/rwhod.h: Likewise. + * inet/protocols/talkd.h: Likewise. + * resolv/inet_addr.c: Likewise. + + * sysdeps/unix/sysv/linux/adjtime.c: Use INT_MAX instead of LONG_MAX. + + * sysdeps/unix/sysv/Makefile (sysdep_routines): Don't add s_getdents. + + * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Don't add mount, + umount. + + * sysdeps/alpha/__math.h (atan, cabs): New functions. + + * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: new file (syscall + expects set-value, not pointer to it). + +Sun Feb 25 22:36:10 1996 David Mosberger-Tang + + * sysdeps/unix/sysv/linux/alpha/profil-counter.h: New file. + + * gmon/gmon.c (__bb_head): new variable. + (write_hist, write_call_graph, write_bb_counts): new functions. + (_mcleanup): modified to call above functions instead of directly + writing out gmon.out. + * gmon/sys/gmon.h (struct __bb): New type. + (struct gmonhdr): Type removed. + (struct gmonparam): New member `log_hashfraction'. + (GMONVERSION): Macro removed. + + * gmon/sys/gmon_out.h, gmon/bb_exit_func.c, + sysdeps/generic/bb_init_func.c, sysdeps/alpha/bb_init_func.S: new + files. + * gmon/Makefile (headers): Add sys/gmon_out.h. + (routines): Add bb_init_func, bb_exit_func. + + * gmon/mcount.c: Avoid integer division. + +Wed Feb 21 23:56:41 1996 David Mosberger-Tang + + * sysdeps/alpha/setjmp.S: switched order in which sp and fp are + passed to match what __sigsetjmp_aux() expects. + +Tue Feb 20 11:33:46 1996 David Mosberger-Tang + + * sysdeps/unix/sysv/linux/alpha/syscalls.list (select, bind, + connect, getpeername, getsockname, listen, recv, recvfrom, + recvmsg, send, sendmsg, sendto, setsockopt, shutdown, socketpair): + added to override same-name assembly file in the parent directory. + + * stdlib/stdlib.h: add include of sys/types.h in front of random + etc declarations to ensure int32_t is declared. + + * stdlib/random.c, stdlib/random_r.c: replaced "long int" by int32_t + where 32 bit integers are required. Also change LONG_MAX into + 0x7fffffff since the intent is to turn off the sign bit in a + 32 bit integer. + + * time/offtime.c (__offtime): Use Paul Eggert's code to deal + with very large values for "days" (e.g., 64 bit values). + +Mon Feb 19 22:22:12 1996 David Mosberger-Tang + + * stdlib/stdlib.h (__random, __random_r, random_r, struct + random_data): use int32_t instead of `long int'. + +Sat Feb 17 11:29:29 1996 David Mosberger-Tang + + * sysdeps/unix/sysv/linux/alpha/ioperm.c: new file. + + * sysdeps/alpha/ffs.S: new file. + + * sysdeps/alpha/fabs.c: File removed. + + * time/tzfile.c (__tzfile_read): counter variable is i, *not* + num_transitions! + + * time/offtime.c: make capable of dealing with very large (64 bit) + time_t values. Use old algorithm until a year is reached that + is an integer multiple of 400, then use DAYS_PER_400_YEARS to + do the remainder in a single division. + + * sysdeps/generic/ffs.c (ffs): fix variable declarations to + be unsigned int, not unsigned long. + + * string/test-ffs.c (main): add test case with all upper bits + set. + + * stdlib/tst-strtol.c: add tests cases for machines where + sizeof(long)==8. + + * stdlib/testrand.c (main): disallow rand() to return negative + integers. + + * stdlib/testmb.c (main): fix format to use %lx instead of %x. + + * stdlib/stdlib.h: on 64 bit machines, declare + struct random_data, __random(), __random_r, and random_r to + return "int" instead of "long int". + + * stdlib/random_r.c: 64 bit machines use "int" instead of "long + int". Similarly, use INT_MAX instead of LONG_MAX. + + * stdlib/random.c: on 64 bit machines, randtbl[] and __random[] + need to operate on "int" instead of "long int". + + * locale/locfile-hash.c (compute_hashval): make shifted constant + a long to avoid loosing bits on 64 bit machines. + + * dirent/tst-seekdir.c (main): fix confusing comment; print + a line to mark point where directory is rewound. + +Fri Feb 16 15:01:49 1996 David Mosberger-Tang + + * time/strftime.c (strftime): any hour > 11 is PM (not > 12!). + +Wed Feb 14 00:21:17 1996 David Mosberger-Tang + + * sysdeps/unix/sysv/linux/alpha/Makefile, + sysdeps/unix/sysv/linux/alpha/brk.S, + sysdeps/unix/sysv/linux/alpha/fpu_control.c, + sysdeps/unix/sysv/linux/alpha/fpu_control.h, + sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S, + sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S, + sysdeps/unix/sysv/linux/alpha/pipe.S, + sysdeps/unix/sysv/linux/alpha/setfpucw.c, + sysdeps/unix/sysv/linux/alpha/sigprocmask.c, + sysdeps/unix/sysv/linux/alpha/speed.c, + sysdeps/unix/sysv/linux/alpha/start.S, + sysdeps/unix/sysv/linux/alpha/syscall.S, + sysdeps/unix/sysv/linux/alpha/syscalls.list, + sysdeps/unix/sysv/linux/alpha/alpha/regdef.h, + sysdeps/unix/sysv/linux/alpha/sysdep.S, + sysdeps/unix/sysv/linux/alpha/sysdep.h: New files. + + * sysdeps/alpha/setjmp_aux.c (__sigsetjmp_aux): restore return + address register before returning (gcc 2.7.1 doesn't do it, + presumably because $26 is declared as a global variable). + + * sysdeps/unix/sysv/linux/sys/mman.h: msync was missing "flags" + argument. + + * sysdeps/unix/alarm.c (alarm): do roundup using test & increment + instead of multiplication. + + * sysdeps/posix/sleep.c (sleep): initialize sa_mask to mask of + currently blocked signals instead of the empty mask to ensure + that execution of alarm handler occurs with none of the currently + blocked signals enabled. + + * sysdeps/unix/alpha/sysdep.h: new file (adapted from OSF/1 version). + + * sysdeps/unix/bsd/osf/alpha/sysdep.h: include + sysdeps/unix/alpha/sysdep.h and removed definitions now in that file. + + * sysdeps/alpha/divrem.S, sysdeps/alpha/htonl.S, + sysdeps/alpha/htons.S, sysdeps/alpha/machine-gmon.h, + sysdeps/alpha/_mcount.S, sysdeps/alpha/ntohl.s, sysdeps/alpha/ntohs.s, + sysdeps/alpha/strlen.S: New files. + + * sysdeps/alpha/divl.S, sysdeps/alpha/divlu.S, sysdeps/alpha/divq.S, + sysdeps/alpha/divqu.S, sysdeps/alpha/divrem.m4, + sysdeps/alpha/macros.m4, sysdeps/alpha/reml.S, sysdeps/alpha/remlu.S, + sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S, sysdeps/alpha/strlen.c: + Removed. + + * sysdeps/generic/sbrk.c (__sbrk): argument is of type ptrdiff_t, not + int. + + * sysdeps/alpha/__longjmp.c (__longjmp): moved dummy while loop + to end of function to avoid a jump across NOPs. + + * sysdeps/alpha/Makefile (sysdep_routines): Removed all rules + pertaining to integer division/remainder routines since new code + doesn't require them. + + * sunrpc/xdr_mem.c, sunrpc/xdr_stdio.c: Use 4 instead of sizeof(long) + where 32 bit quantities are consumed/stored. Various other minor + 64-bit cleanups (casting). + + * sunrpc/xdr.c (xdr_int): test for sizeof(int)==4 to determine + whether xdr_long or xdr_short should be used to encode an int. + Notice that an xdr_long is 4 bytes independent of the architecture + (otherwise no Alpha could interoperate with existing NFS servers, + for example). Ditto for enums. + + * sunrpc/svc_udp.c (svcudp_recv): changed test from 4*sizeof(u_long) + to 16 since it really wants 16 bytes. + + * sunrpc/svc.c (maskp): changed from u_long* to u_int32*. + + * sunrpc/rpc/xdr.h (IXDR_GET_LONG, IXDR_PUT_LONG): change casts to + u_int32_t (instead of u_long). + + * sunrpc/rpc_cmsg.c (xdr_callmsg), sunrpc/svc_authux.c: increment + "buf" pointer by casting it to a char* first since a long* may be 8 + bytes or more and oa->oa_length may be any multiple of 4. + + * sunrpc/clnt_udp.c (clntudp_call): replaced sizeof(u_long) by 4 + since it really is testing for 32 bits. Fixed casts to use + u_int32 instead of u_long. + * sunrpc/xdr_rec.c: Likewise. + + * sunrpc/clnt_tcp.c (clnttcp_call): replaced u_long by u_int32. + * sunrpc/rpc/auth.h: Likewise. + + * limits.h (LONG_MAX, LONG_MIN, ULONG_MAX): use 64 bit values + for Alpha. + +Tue Mar 19 13:27:49 1996 Roland McGrath + + * sysdeps/i386/fpu/__math.h: New file. + Contributed by John C. Bowman . + +Sun Mar 17 00:28:16 1996 Andreas Schwab + + * sysdeps/posix/clock.c: Don't multiply the return value by + CLOCKS_PER_SEC or CLK_TCK. + +Mon Mar 18 13:20:46 1996 Roland McGrath + + * sysdeps/mach/hurd/getcwd.c: Fail with ENOENT if a parent directory + scan finds no match. + + * posix/unistd.h (setpgrp): Declare no-arg version unless __FAVOR_BSD. + * misc/bsd-compat.c (setpgrp): New function, two arg version. + * sysdeps/stub/setpgid.c: Remove setpgrp alias. + * sysdeps/mach/hurd/setpgid.c: Likewise. + * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise. + * sysdeps/unix/common/syscalls.list (setpgid): Remove setpgrp alias. + * sysdeps/unix/sysv/irix4/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/setpgrp.c: Obsolete file removed. + * posix/setpgrp.c (setpgrp): New file. + * posix/Makefile (routines): Add setpgrp. + + * elf/Makefile (rtld-link): New canned sequence. + (ld.so, ld-linux.so.1): Use it. Pass -soname option. + + * sysdeps/i386/setjmp.S (__setjmp): Define compatibility entry point. + +Sun Mar 17 23:15:32 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/tcgetpgrp.c, + sysdeps/unix/sysv/linux/tcsetpgrp.c: New files. + +Sun Mar 17 07:19:33 1996 Roland McGrath + + * db/Makefile (CFLAGS-hash_func.c): New variable; pass -Wno-unused. + (CFLAGS): Append -Wno-unitialized. + +Sat Mar 16 20:58:43 1996 Roland McGrath + + * stdlib/erand48_r.c: Use FP division by powers of two to distribute + short bits into double. + +Sat Mar 16 20:08:22 1996 David Mosberger-Tang + + * sysdeps/alpha/memchr.S: New file. + * sysdeps/alpha/memchr.c: Obsolete file removed. + * string/tester.c: Soup up memchr tests. + +Sat Mar 16 16:26:09 1996 Roland McGrath + + * misc/Makefile (headers): Add sysexits.h. + * misc/sysexits.h: New file. + +Thu Mar 14 15:20:45 1996 Andreas Schwab + + * sysdeps/libm-ieee754/e_atan2.c (__ieee754_atan2): Change atan + call to __atan. + * sysdeps/libm-ieee754/e_atan2f.c (__ieee754_atan2f): Change atanf + call to __atanf. + + * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_acosf.c, + sysdeps/m68k/fpu/e_asin.c, sysdeps/m68k/fpu/e_asinf.c, + sysdeps/m68k/fpu/e_atanh.c, sysdeps/m68k/fpu/e_atanhf.c, + sysdeps/m68k/fpu/e_cosh.c, sysdeps/m68k/fpu/e_coshf.c, + sysdeps/m68k/fpu/e_exp.c, sysdeps/m68k/fpu/e_expf.c, + sysdeps/m68k/fpu/e_fmod.c, sysdeps/m68k/fpu/e_fmodf.c, + sysdeps/m68k/fpu/e_log.c, sysdeps/m68k/fpu/e_log10.c, + sysdeps/m68k/fpu/e_log10f.c, sysdeps/m68k/fpu/e_logf.c, + sysdeps/m68k/fpu/e_pow.c, sysdeps/m68k/fpu/e_powf.c, + sysdeps/m68k/fpu/e_remainder.c, sysdeps/m68k/fpu/e_remainderf.c, + sysdeps/m68k/fpu/e_scalb.c, sysdeps/m68k/fpu/e_scalbf.c, + sysdeps/m68k/fpu/e_sinh.c, sysdeps/m68k/fpu/e_sinhf.c, + sysdeps/m68k/fpu/e_sqrt.c, sysdeps/m68k/fpu/e_sqrtf.c, + sysdeps/m68k/fpu/k_cos.c, sysdeps/m68k/fpu/k_cosf.c, + sysdeps/m68k/fpu/k_sin.c, sysdeps/m68k/fpu/k_sinf.c, + sysdeps/m68k/fpu/k_tan.c, sysdeps/m68k/fpu/k_tanf.c, + sysdeps/m68k/fpu/s_atan.c, sysdeps/m68k/fpu/s_atanf.c, + sysdeps/m68k/fpu/s_ceil.c, sysdeps/m68k/fpu/s_ceilf.c, + sysdeps/m68k/fpu/s_cos.c, sysdeps/m68k/fpu/s_cosf.c, + sysdeps/m68k/fpu/s_expm1.c, sysdeps/m68k/fpu/s_expm1f.c, + sysdeps/m68k/fpu/s_fabs.c, sysdeps/m68k/fpu/s_fabsf.c, + sysdeps/m68k/fpu/s_finite.c, sysdeps/m68k/fpu/s_finitef.c, + sysdeps/m68k/fpu/s_floor.c, sysdeps/m68k/fpu/s_floorf.c, + sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_frexpf.c, + sysdeps/m68k/fpu/s_ilogb.c, sysdeps/m68k/fpu/s_ilogbf.c, + sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_isinff.c, + sysdeps/m68k/fpu/s_isnan.c, sysdeps/m68k/fpu/s_isnanf.c, + sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c, + sysdeps/m68k/fpu/s_log1p.c, sysdeps/m68k/fpu/s_log1pf.c, + sysdeps/m68k/fpu/s_logb.c, sysdeps/m68k/fpu/s_logbf.c, + sysdeps/m68k/fpu/s_modf.c, sysdeps/m68k/fpu/s_modff.c, + sysdeps/m68k/fpu/s_rint.c, sysdeps/m68k/fpu/s_rintf.c, + sysdeps/m68k/fpu/s_scalbn.c, sysdeps/m68k/fpu/s_scalbnf.c, + sysdeps/m68k/fpu/s_significand.c, + sysdeps/m68k/fpu/s_significandf.c, sysdeps/m68k/fpu/s_sin.c, + sysdeps/m68k/fpu/s_sinf.c, sysdeps/m68k/fpu/s_tan.c, + sysdeps/m68k/fpu/s_tanf.c, sysdeps/m68k/fpu/s_tanh.c, + sysdeps/m68k/fpu/s_tanhf.c: New files, for m68881 port of fdlibm. + + * sysdeps/m68k/fpu/__math.h: Rewritten for fdlibm. + + * sysdeps/m68k/fpu/isinfl.c: Rewritten to get argument type right. + * sysdeps/m68k/fpu/isnanl.c: Likewise. + +Thu Mar 14 06:01:07 1996 Roland McGrath + + * posix/glob.c (glob): In GLOB_BRACE brace expansion, fix buffer size + calculation to include trailing invariant portion. Don't use alloca; + instead use a dynamic auto array for GCC, malloc for non-GCC. + Handle nested braces properly. + + * elf/elf.h (Elf32_auxv_t): Specify prototype (void) for `a_un.a_fcn'. + + * libc-symbols.h (lint): New macro. + +Fri Mar 15 01:18:00 1996 Andreas Schwab + + * libio/iosetvbuf.c: Add weak alias setvbuf. + +Thu Mar 14 06:01:07 1996 Roland McGrath + + * string/strnlen.c: New file. + * string/Makefile (routines): Add strnlen. + * string/string.h [__USE_GNU] (strnlen): Declare new function. + [__OPTIMIZE__]: Define extern inline implementation of it. + + * stdlib/erand48_r.c: Use __mpn_construct_double instead of ldexp and + addition, to avoid using anything from -lm. + +Mon Mar 4 21:57:14 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/Makefile: New file. + + * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYS_ify): Redefine. + (CALL_MCOUNT): New macro, empty unless [PROF]. + (ENTRY): Do CALL_MCOUNT just after the label. + (JUMPTARGET): New macro. + (SYSCALL_ERROR_HANDLER): Fix syntax. + +Thu Mar 14 04:20:48 1996 Roland McGrath + + * sysdeps/unix/sysv/linux/init-first.c (init): Call `__personality' + function instead of using inline asm i386 syscall. + * sysdeps/unix/sysv/linux/syscalls.list: Add personality syscall. + + * posix/unistd.h [__USE_BSD]: Declare usleep. + +Tue Mar 12 04:57:57 1996 Roland McGrath + + * misc/efgcvt.c (MAXDIG): New macro computed from constants. + (fcvt, ecvt): Use it for buffer size. + + * stdlib/drand48-iter.c (__drand48_iterate): Use u_int64_t instead of + conditionalizing long vs long long. + + * stdlib/drand48-iter.c (__drand48_iterate): Don't check for null + pointers; never return EFAULT. + * stdlib/drand48_r.c (drand48_r): Likewise. + * stdlib/erand48_r.c (erand48_r): Likewise. + + * setjmp/Makefile (tests): Add jmpbug. + * setjmp/jmpbug.c: New file. + +Tue Mar 12 04:42:01 1996 Roland McGrath + + * sysdeps/sparc/jmp_buf.h: Rewritten; use array of ints, not struct. + * sysdeps/sparc/setjmp.S: Rewritten; store %fp value as well. + * sysdeps/sparc/__longjmp.S: Rewritten; unwind frames one by one with + `restore' until the target frame is hit. + +Sun Mar 10 20:29:40 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/sigsuspend.c: New file. + * sysdeps/unix/sysv/linux/syscalls.list: Remove sigsuspend, add + s_sigsuspend. + +Thu Mar 7 21:30:58 1996 Andreas Schwab + + * Makerules (+make-deps, sed-remove-objpfx): Quote periods on the + left side of sed substitutions. + +Sun Mar 10 16:58:10 1996 Ulrich Drepper + + * stdio-common/printf_fp.c (hack_digit): __mpn_normal_size + is not available anymore. Do it ourselves. + + * sysdeps/unix/sysv/linux/i386/fpu_control.h (_FPU_SETCW): + Correct GCC `asm' syntax. + +Tue Mar 12 03:15:02 1996 Roland McGrath + + * stdio-common/Makefile (tests): Add tst-ungetc. + * stdio-common/tst-ungetc.c: New test from drepper. + * stdio-common/tstscanf.c (main): New %[ test case from drepper. + + * sysdeps/libm-ieee754/s_scalbn.c (scalbn): Rename to __scalbn; + somehow this was missed, though the weak alias is already there. + + * sysdeps/unix/sysv/linux/i386/fpu_control.h (_FPU_DEFAULT): Change + default to double precision, all interrupts masked; fdlibm requires. + +Sat Mar 9 18:44:27 1996 Roland McGrath + + * sysdeps/unix/sysv/linux/i386/setfpucw.c: Obsolete file removed. + +Fri Mar 8 22:16:48 1996 Roland McGrath + + * stdio-common/printf_fp.c (HAVE_ALLOCA): New macro. + +Tue Mar 5 18:45:14 1996 Miles Bader + + * sysdeps/mach/hurd/select.c (__select): Include LASTFD in the + final loop. + +Mon Mar 4 20:54:40 1996 Andreas Schwab + + * Makeconfig ($(common-objpfx)config.make): Depend on config.h.in. + +Tue Mar 5 12:14:57 1996 Miles Bader + + * sysdeps/mach/hurd/select.c (__select): Also don't fault just + because some fdmask is 0. + +Mon Mar 4 17:35:35 1996 Miles Bader + + * sysdeps/mach/hurd/select.c (__select): + Don't increment GOT only because READ/WRITE/EXCEPTFDS is 0! + Don't return without frobbing the bitmasks after a timeout. + When clearing the bitmasks, only loop from FIRSTFD to LASTFD. + +Mon Mar 4 17:35:09 1996 Roland McGrath + + * hurd/catch-signal.c (hurd_safe_memmove): New function. + (hurd_safe_copyin, hurd_safe_copyout): New functions. + * hurd/hurd/sigpreempt.h: Declare them. + +Sun Mar 3 08:43:44 1996 Roland McGrath + + Replace math code with fdlibm from Sun as modified for netbsd by + JT Conklin and Ian Taylor, including x86 FPU support. + * sysdeps/libm-ieee754, sysdeps/libm-i387: New directories. + * math/math_private.h: New file. + * sysdeps/i386/fpu/Implies: New file. + * sysdeps/ieee754/Implies: New file. + * math/machine/asm.h, math/machine/endian.h: New files. + * math/Makefile, math/math.h: Rewritten. + * mathcalls.h, math/mathcalls.h: New file, broken out of math.h. + * math/finite.c: File removed. + * sysdeps/generic/Makefile [$(subdir)=math]: Frobnication removed. + + * math/test-math.c: Include errno.h and string.h. + + * sysdeps/unix/bsd/dirstream.h: File removed. + * sysdeps/unix/bsd/readdir.c: File removed. + +Sat Mar 2 16:35:40 1996 Roland McGrath + + * sysdeps/unix/sysv/linux/m68k/profil-counter.h: File removed. + * sysdeps/unix/sysv/sysv4/solaris2/sparc/profil-counter.h: File + removed. + * sysdeps/generic/profil-counter.h: New file. + +Fri Mar 1 17:11:59 1996 Brendan Kehoe + + * sysdeps/unix/sysv/sysv4/solaris2/sparc/sigcontext.h: New file, + including . + * sysdeps/unix/sysv/sysv4/solaris2/sparc/profil-counter.h: New file, + same as linux/m68k/profil-counter.h except the comment. + +Fri Mar 1 10:09:46 1996 Roland McGrath + + * stdlib/Makefile (mpn-stuff): New target. + (copy-mpn): Use it. + + * Code copied from GMP updated to 1.937 version. + * stdlib/strtod.c (HAVE_ALLOCA): Define this for gmp headers. + + * posix/glob.c: Use canonical code from autoconf manual for dirent + include. + [_D_NAMLEN]: Redefine NAMLEN using this. + (glob_in_dir): Use NAMLEN macro. + + * sysdeps/posix/profil.c: New file. + +Thu Feb 29 20:55:57 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/profil-counter.h: New file. + +Tue Feb 27 12:14:59 1996 Roland McGrath + + * libc-symbols.h [GCC >= 2.8] (strong_alias, weak_alias): Remove + `extern' keyword. + + * time/strftime.c: Support - and _ flags to affect number padding. + + * sysdeps/unix/common/tcsendbrk.c: New file. + +Mon Feb 26 10:22:30 1996 Roland McGrath + + * sysdeps/unix/dirstream.h: Rewritten. + * sysdeps/unix/readdir.c: Rewritten. + * sysdeps/unix/telldir.c: Rewritten. + * sysdeps/unix/closedir.c: Use <...> instead of "..." for dirstream.h. + Remove __ from DIR struct member names. + * sysdeps/unix/dirfd.c: Likewise. + * sysdeps/unix/seekdir.c: Likewise. + * sysdeps/unix/rewinddir.c: Likewise. + * sysdeps/unix/opendir.c: Likewise. Don't allocate extra space after + DIR structure. + * sysdeps/stub/direct.h: File removed. + * sysdeps/unix/bsd/bsd4.4/direct.h: File removed. + * sysdeps/unix/bsd/direct.h: File removed. + * sysdeps/unix/common/direct.h: File removed. + * sysdeps/unix/sysv/irix4/direct.h: File removed. + * sysdeps/unix/sysv/isc3/direct.h: File removed. + * sysdeps/unix/sysv/sco3.2.4/direct.h: File removed. + * sysdeps/unix/sysv/sysv4/solaris2/direct.h: File removed. + * sysdeps/unix/common/direntry.h: New file. + * sysdeps/unix/bsd/direntry.h: New file. + * sysdeps/unix/bsd/bsd4.4/direntry.h: New file. + * sysdeps/unix/sysv/direntry.h: New file. + * sysdeps/stub/direntry.h: New file. + * dirent/dirent.h (struct dirent): Type removed. Include + to define it. + (_D_EXACT_NAMLEN, _D_ALLOC_NAMLEN): New macros. + * dirent/Makefile (headers): Add direntry.h. + (distribute): Remove direct.h. + * sysdeps/posix/getcwd.c: Use new macros instead of d_namlen. + * dirent/scandir.c: Likewise. + * io/fts.c (fts_build): Likewise. + * io/ftw.c (ftw_dir): Likewise. * sysdeps/posix/ttyname.c: Likewise. - * sysdeps/posix/ttyname_r.c: Likewise. - * sysdeps/posix/wait3.c: Likewise. - * sysdeps/standalone/close.c: Likewise. - * sysdeps/standalone/open.c: Likewise. - * sysdeps/standalone/read.c: Likewise. - * sysdeps/standalone/write.c: Likewise. - * sysdeps/stub/__longjmp.c: Likewise. - * sysdeps/stub/accept.c: Likewise. - * sysdeps/stub/access.c: Likewise. - * sysdeps/stub/acct.c: Likewise. - * sysdeps/stub/adjtime.c: Likewise. - * sysdeps/stub/alarm.c: Likewise. + + * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: New file. + + * sysdeps/mach/hurd/profil.c (MAX_PC_SAMPLES): New macro. + (collector_timeout): New static variable. + (update_waiter): Actually call __task_enable_pc_sampling. + Set collector_timeout based on the `tick' count returned. + (profile_waiter): Use MAX_PC_SAMPLES. Set nsamples before RPC. + Use collector_timeout in __mach_msg call. + + * gmon/Makefile (noprof): New variable containing mcount. + Append profil unless it is in $(unix-syscalls). + (mcount.po): Use $(noprof) for list of targets in this rule. + + * libc-symbols.h: Define _LIBC before #include . + +Sun Feb 25 12:29:23 1996 Roland McGrath + + * config.h.in [_LIBC] (HAVE_STRERROR): Define it. + Protect 2nd page of #undef's for generator programs with #ifndef _LIBC. + + * time/zic.c, time/zdump.c, time/private.h: Updated from ADO 96e. + +Fri Feb 9 12:40:19 1996 Brendan Kehoe + + * libio/cleanup.c (_IO_cleanup_registration_needed) + [!_G_HAVE_ATEXIT]: Init to NULL. + * libio/filedoalloc.c (_IO_cleanup_registration_needed): Remove decl. + +Thu Feb 8 08:12:50 1996 Brendan Kehoe + + * libio/filedoalloc.c (_IO_cleanup_registration_needed): Revert + previous change, since cleanup.c only defines it if _G_HAVE_ATEXIT. + +Wed Feb 7 15:10:17 1996 Brendan Kehoe + + * libio/filedoalloc.c (_IO_cleanup_registration_needed): Declare as + extern. + +Sat Feb 24 11:34:13 1996 Roland McGrath + + * sysdeps/i386/memcmp.S: Fix argument %esp offsets. + + * time/sys/time.h (timeradd, timersub): New macros; BSD has these. + +Wed Feb 21 02:25:07 1996 Roland McGrath + + * Rules (others): Depend on $(extra-objs), $(install-lib), + $(install-bin), $(install-sbin), in object directory. + + * Makeconfig (link-libc): Don't pass -rpath option with default + path, since ld.so should use the same default. + * Makerules (build-shlib): Likewise. + + * Makerules (make-target-directory): Use mkinstalldirs. + + * sysdeps/mach/i386/sysdep.h: Include unix/i386/sysdep.h to + redefine ENTRY et al. + + * sysdeps/unix/sysv/linux/i386/sysdep.h (NO_UNDERSCORES, ENTRY): + Macros removed. The code in unix/i386/sysdep.h should now suffice. + + * sysdeps/unix/i386/sysdep.h (ALIGNARG): New macro, defns for + [HAVE_ELF] and not. + (ENTRY): Use it in .align directive. + (CALL_MCOUNT): New macro, empty unless [PROF]. + (ENTRY): Do CALL_MCOUNT just after the label. + + * Makeconfig (CPPFLAGS-.po): New variable, use -DPROF so assembly + code can call mcount. + +Tue Feb 20 23:05:16 1996 Roland McGrath + + * time/private.h, time/zdump.c, time/zic.c: Updated verbatim from ADO; + translation markings are now integrated in his distribution. + + * stdlib/strtod.c (round_and_return): Add missing (mp_limb) 1 cast. + +Mon Feb 19 18:31:59 1996 Roland McGrath + + * po: New directory where `LANG.po' files for message translations + will reside. + * po/SYS_libc.pot: New file, template of message strings as in source. + * MakeTAGS: New rules to build po/SYS_libc.pot automatically from + the source using xgettext. + * Makerules ($(..)po/%.pot): New rule. + * manual/Makefile (../po/manual.pot): New target, make it empty. + + * sysdeps/unix/bsd/alarm.c: Moved to sysdeps/unix/alarm.c. + * sysdeps/unix/bsd/nice.c: Moved to sysdeps/unix/nice.c. + * sysdeps/unix/bsd/stime.c: Moved to sysdeps/unix/stime.c. + * sysdeps/unix/bsd/time.c: Moved to sysdeps/unix/time.c. + * sysdeps/unix/bsd/utime.c: Moved to sysdeps/unix/utime.c. + + * time/zic.c, time/scheck.c, time/private.h, time/tzfile.h: + Updated from ADO 96d. + +Sun Feb 18 14:08:04 1996 Andreas Schwab + + * csu/initfini.c (_init): Remove bogus volatile declarations and + extra variable, take the address of __gmon_start__ only implicitly + to avoid the test being optimized out. + +Sun Feb 18 15:08:10 1996 Andreas Schwab + + * sysdeps/posix/utimes.c (__utimes): There are 1000000 usecs in a + sec. + +Sun Feb 18 13:56:00 1996 Andreas Schwab + + * elf/Makefile, time/Makefile: Make `all' the default target. + +Mon Feb 19 18:09:04 1996 Roland McGrath + + * misc/sys/ptrace.h: Moved to ... + * sysdeps/generic/sys/ptrace.h: ... here. + * sys/ptrace.h: File removed. + +Sun Feb 18 12:13:07 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/Makefile (headers): Add fpu_control.h. + + * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Put it into .bss + so that the symbol alias works. + + * sysdeps/unix/sysv/linux/m68k/fpu_control.h (_FPU_SETCW): Corrected. + + * sysdeps/unix/sysv/linux/resourcebits.h: New file. + + * sysdeps/unix/sysv/linux/sys/ptrace.h: New file. + + * sysdeps/unix/sysv/linux/syscalls.list: Add getegid, geteuid, + getppid and reboot. + + * sysdeps/unix/sysv/linux/sysconf.c: Special version that does not + use getdtablesize. + +Sat Feb 17 10:30:21 1996 David Mosberger-Tang + + * stdio-common/printf_fp.c, stdlib/strtod.c, sysdeps/ieee754/dbl2mpn.c, + sysdeps/ieee754/ldbl2mpn.c, sysdeps/ieee754/mpn2dbl.c, + sysdeps/ieee754/mpn2ldbl.c: Cast left operands of shift instructions + to `long' where necessary. + +Thu Feb 15 20:04:50 1996 Ulrich Drepper + + * stdlib/fpioconst.h: Introduce new constant _FPIO_CONST_OFFSET. + * stdio-common/printf_fp.c, stdlib/strtod.c: Use _FPIO_CONST_OFFSET + to correctly access MPN array depending on architecture. + +Mon Feb 19 15:30:26 1996 Roland McGrath + + * stdio-common/tstscanf.c (main): Add check for "0" as %d. + + * sysdeps/stub/msync.c: Undo change of Jan 29; just two args. + Only some systems have three args; let them define their own stub. + + * sysdeps/generic/dl-sysdep.c: Declare _dl_secure. + + * sysdeps/generic/machine-gmon.h: New file. + * gmon/Makefile (distribute): Add machine-gmon.h. + * gmon/mcount.c: Undo changes of Feb 13. + Include "machine-gmon.h". + +Sun Feb 18 13:24:06 1996 Roland McGrath + + * sysdeps/unix/sysv/linux/direct.h: File removed, since it is + identical to unix/common/direct.h. + + * sysdeps/unix/Makefile [no_deps]: Don't include s-proto.d. + + * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Don't add ipc. + + * stdio-common/Makefile (tests): Remove scanf6. + + * sysdeps/unix/sysv/linux/Makefile (non-lib.a): Append libieee.a. + + * time/mktime.c (mktime): Move static variable localtime_offset to + file scope. + + * stdio-common/vfscanf.c: Put '0' in buffer before scanning for %i + base indicator. + +Thu Feb 15 16:56:17 1996 Andreas Schwab + + * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Corrected. + (ELF_MACHINE_BEFORE_RTLD_RELOC): Define. + (_dl_runtime_resolve): Save %a1 as well. + (ELF_MACHINE_RUNTIME_FIXUP_ARGS): Add second dummy arg. + (elf_machine_relplt): Define. + + * elf/dl-runtime.c: Include possible extra args in declaration of + fixup. + +Fri Feb 16 11:01:59 1996 Roland McGrath + + * time/tzset.c: Limit hours to 23, not 12. From jaffer. + +Fri Feb 16 10:14:05 1996 Roland McGrath + + * Makeconfig (CFLAGS-.po): Use -pg instead of -p. + +Thu Feb 15 13:57:08 1996 Roland McGrath + + * mach/Machrules: Use -include for $(*.ir). + + * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS): Mask off type bits in + request values. + * sysdeps/mach/hurd/ioctls.h (_IOC_NOTYPE): New macro. + (_IOT_COUNT2): Field is 3 bits, not 2. + * sysdeps/mach/hurd/ioctl.c: Ignore handler if it fails with ENOTTY. + * hurd/hurdioctl.c (_hurd_lookup_ioctl_handler): Mask off type + bits before looking up handler. + (fioctl): Use __hurd_dfail. + (fioctl, fioclex): Use ENOTTY for bogus request instead of EGRATUITOUS. + +Thu Feb 15 11:49:45 1996 Roland McGrath + + * sysdeps/unix/sysv/sysv4/Makefile [$(subdir)-signal] + (sysdep_routines): Don't add sys-sig. + + * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: New file. + +Wed Feb 14 00:21:17 1996 David Mosberger-Tang + + * sysdeps/alpha/memchr.c (memchr): loop searching for matching + character bailed out one too early; changed constant 6 to + 7 to fix this. + +Wed Feb 14 01:08:58 1996 Roland McGrath + + * posix/execvp.c: When executing shell on script, first arg is + full file name, not argv[0]. + + * mach/Makefile [no_deps]: Inhibit inclusion of mach-syscalls.mk. + * mach/Machrules [no_deps]: Inhibit interface rules. + + * malloc/Makefile (distribute): Removed TODO. + +Tue Feb 13 05:12:02 1996 Roland McGrath + + * sysdeps/unix/sysv/linux/syscalls.list (ipc): Specify msgget in + caller column. + + * sysdeps/unix/common/syscalls.list: Add sigaction syscall. + + * sysdeps/unix/sysv/linux/gnu/types.h: Moved from linux/i386. + + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=math] + (sysdep_routines): Append setfpucw. + (extra-objs): Append ieee-fpucw.o. + (install-lib): Append libieee.a. + (libieee.a): New target. + * sysdeps/unix/sysv/linux/ieee-fpucw.c: New file. + * sysdeps/unix/sysv/linux/i386/fpu_control.h + (_FPU_GETCW, _FPU_SETCW): New macros. + (fpu_control_t): New typedef. + (__setfpucw): Use fpu_control_t for argument type. + * sysdeps/unix/sysv/linux/fpu_control.c: Moved from linux/i386. + + * sysdeps/unix/sysv/linux/init-first.c: Moved from linux/i386. + + * sysdeps/unix/sysv/linux/syscalls.list: Add ipc syscall. + * sysdeps/unix/sysv/linux/i386/syscalls.list: File removed. + +Sat Feb 10 13:09:03 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/brk.c, + sysdeps/unix/sysv/linux/m68k/mmap.S, + sysdeps/unix/sysv/linux/m68k/select.S, + sysdeps/unix/sysv/linux/m68k/sigcontext.h, + sysdeps/unix/sysv/linux/m68k/sigreturn.S, + sysdeps/unix/sysv/linux/m68k/socket.S, + sysdeps/unix/sysv/linux/m68k/syscall.S, + sysdeps/unix/sysv/linux/m68k/sysdep.S, + sysdeps/unix/sysv/linux/m68k/sysdep.h: New files. + + * sysdeps/unix/sysv/linux/m68k/fpu_control.h: New file. + + * sysdeps/m68k/fpu/isinfl.c, sysdeps/m68k/fpu/isnanl.c, + sysdeps/m68k/isinfl.c, sysdeps/m68k/isnanl.c: New files. + + * sysdeps/unix/sysv/linux/sys/mman.h: Define MAP_ANON and + MAP_FILE if not already defined. + + * elf/elf.h: Add m68k reloc definitions. + * sysdeps/m68k/dl-machine.h, sysdeps/m68k/elf/start.S: New files. + +Tue Feb 13 00:12:12 1996 Roland McGrath + + * elf/dl-runtime.c (fixup) [ELF_MACHINE_RUNTIME_FIXUP_ARGS]: Let + this macro declare extra leading args. + + * Makerules [$(elf)=yes] (ar-symtab-name): Define to empty. + + * sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE, + elf_machine_relplt): New macros. + * elf/dl-runtime.c: New file. + * sysdeps/i386/dl-runtime.c, sysdeps/stub/dl-runtime.c: Files removed. + + * gmon/Makefile (headers): Remove machine-gmon.h. + * sysdeps/stub/machine-gmon.h, sysdeps/i386/machine-gmon.h: Removed. + * gmon/mcount.c [! NO_UNDERSCORES] (_mcount): Specify "mcount" as + the asm name. + (_mcount): Define normally, taking no args. + Use __builtin_return_address to fetch PC values of caller and caller's + caller. + + * Makerules: Rewrote rules to update libc archives of all flavors. + Define separate specific rules for each flavor using o-iterator. + + * sysdeps/unix/Makefile: Include s-proto.d only ifdef subdir. + +Sat Feb 10 11:35:16 1996 Andreas Schwab + + * Makerules (ar-symtab-name): New macro. Replace all occurences + of __.SYMDEF by $(ar-symtab-name). + * sysdeps/unix/sysv/Makefile (ar-symtab-name): Define as empty. + +Mon Feb 12 03:10:41 1996 Roland McGrath + + * Makefile (configure, %/configure): Depend on aclocal.m4. + * Make-dist (configure, %/configure): Likewise. + + * sysdeps/unix/Makefile: Include s-proto.d for its deps. + + * gmon/sys/gmon.h: Don't include machine-gmon.h; those defns are + only needed in the implementation, not for any users. + + * time/northamerica: Updated from ADO 96c, new rules for Mexico in + 1996. + + * sunrpc/pm_getport.c: #if 0 out gratuitous inclusion of . + * sunrpc/pm_getmaps.c: Likewise. + + * sysdeps/unix/sysv/syscalls.list: Add setrlimit and settimeofday, + so real syscalls override unix/sysv/*.c on sysv-derived systems + that have them. + * sysdeps/unix/common/syscalls.list: Add settimeofday here, to + override unix/sysv/settimeofday.c since that overrides + unix/syscalls.list. + + * Makeconfig (+link): Put $(link-libc) after deps from $^, + regardless of where libc.a appears in the deps. + + * sysdeps/unix/sysv/sysv4/syscalls.list: Remove redundancies. + Add __waitid. + * sysdeps/unix/sysv/linux/syscalls.list: Remove redundancies. + Define __ name for sigprocmask. + * sysdeps/unix/bsd/ultrix4/syscalls.list: Remove redundancies. + Add getsysinfo. + * sysdeps/unix/bsd/sun/sunos4/syscalls.list: Remove redundancies. + * sysdeps/unix/bsd/sun/syscalls.list: Remove redundancies. + * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove redundancies. + * sysdeps/unix/bsd/syscalls.list: Remove settimeofday, utimes. + Add getdents, wait3, waitpid. + * sysdeps/unix/syscalls.list: Add seteuid, setegid, setsid, + settimeofday, sigsuspend, sstk, utimes. + * sysdeps/unix/bsd/ultrix4/mips/sigvec.S: File removed. + * sysdeps/unix/bsd/ultrix4/mips/syscalls.list: New file. + * sysdeps/unix/bsd/ultrix4/mips/Makefile (sysdep_routines): + Removed sigtramp. + * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: Renamed from sigtramp.c. + * sysdeps/unix/bsd/bsd4.4/sstk.S: File removed. + * sysdeps/unix/bsd/hp/m68k/syscalls.list: File removed. + * sysdeps/unix/bsd/osf/alpha/getdents.S: File removed. + * sysdeps/unix/bsd/ultrix4/getsysinfo.S: File removed. + * sysdeps/unix/bsd/ultrix4/waitpid.S: File removed. + * sysdeps/unix/bsd/ultrix4/mips/sigtramp.c: File removed. + * sysdeps/unix/bsd/ultrix4/mips/sigvec.S: File removed. + * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: New file. + * sysdeps/unix/bsd/ultrix4/mips/syscalls.list: New file. + * sysdeps/unix/sysv/irix4/wait3.S: File removed. + * sysdeps/unix/sysv/sysv4/__waitid.S: File removed. + * sysdeps/unix/sysv/sysv4/fchdir.S: File removed. + * sysdeps/unix/sysv/sysv4/setegid.S: File removed. + * sysdeps/unix/sysv/sysv4/seteuid.S: File removed. + * sysdeps/unix/sysv/sysv4/sigaltstack.S: File removed. + * sysdeps/unix/sysv/sysv4/solaris2/utimes.S: File removed. + + * hurd/hurdfault.c (_hurdsig_fault_init): Set qlimit on + FORWARD_SIGEXC to one. Uncomment setting of thread exc port, and + move it to last thing. + +Sat Feb 10 05:57:08 1996 Roland McGrath + + * sysdeps/generic/make_siglist.c: #undef _SIGNAL_H before defining it. + + * sysdeps/unix/sysv/linux/syscalls.list: Add sigprocmask, sigsuspend. + +Sat Feb 10 04:18:48 1996 Roland McGrath + + * posix/execvp.c: If execv fails with ENOEXEC, run the shell on + the file. + +Fri Feb 9 11:46:45 1996 Roland McGrath + + * time/Makefile (CFLAGS-zdump.c, CFLAGS-zic.c, CFLAGS-ialloc.c, + CFLAGS-scheck.c): Use -DNOID instead of -Wno-unused. + + * hurd/Makefile (user-interfaces): Added hurd/tioctl. + +Thu Feb 8 18:55:27 1996 Roland McGrath + + * hurd/hurdioctl.c (tiocsctty): Set the terminal's pgrp to our own. + +Wed Feb 7 18:48:30 1996 Roland McGrath + + * Makefile (subdirs): Added wcsmbs. + * wcsmbs: New directory of wide char/multibyte char functions from + drepper. + + * hurd/hurdmsg.c (_S_msg_report_wait): Function removed. + * hurd/report-wait.c: New file. + * hurd/Makefile (routines): Added report-wait. + + * sysdeps/mach/hurd/Makefile (inhibit-unix-syscalls): New variable. + + * sysdeps/mach/hurd/i386/intr-msg.h (struct mach_msg_trap_args): + New type. + (SYSCALL_EXAMINE, MSG_EXAMINE): New inline functions. + * sysdeps/mach/hurd/i386/trampoline.c (struct mach_msg_trap_args): + Structure moved to intr-msg.h; include that. + + * time/Makefile (CFLAGS-ialloc.c): Add -Wno-unused. + (CFLAGS-scheck.c): New variable. + + * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base, + __hurd_sigthread_stack_end, __hurd_sigthread_variables, + __hurd_threadvar_stack_mask): New variables. + + * sysdeps/mach/hurd/fork.c: Set the new task's exception port to + its new message port. + + * misc/init-misc.c: Put __init_misc in the __libc_subinit set. + + * configure.in (uname): Add quoting. + + * sysdeps/mach/hurd/fchdir.c: Don't consult errno unless lookup fails. + * hurd/fchroot.c: Likewise. + + * posix/sys/types.h [GCC >= 2.7]: Define intN_t/u_intN_t using + __attribute__ ((__mode__ (__XX__))). + +Wed Feb 7 03:24:05 1996 Torbjorn Granlund + + * sysdeps/i386/i586/memcopy.h (WORD_COPY_FWD): Manually allocate + destination cache lines. + (WORD_COPY_BWD): Likewise. + +Wed Feb 7 14:16:36 1996 Roland McGrath + + * sysdeps/generic/Makefile (make_siglist): Get signum.h absolute + file name first thing, before $(native-compile) changes directories. + + From Gord Matzigkeit : + * sysdeps/unix/make_errlist.c: Use strerror if available. + * sysdeps/unix/configure.in: New file + + * sysdeps/unix/bsd/sun/syscalls.list: Added sigvec. + * sysdeps/unix/bsd/sun/sigvec.S: File removed. + + * sysdeps/stub/sendto.c: Make sockaddr arg pointer to const. + * sysdeps/stub/connect.c: Likewise. * sysdeps/stub/bind.c: Likewise. - * sysdeps/stub/brk.c: Likewise. - * sysdeps/stub/chdir.c: Likewise. - * sysdeps/stub/chflags.c: Likewise. - * sysdeps/stub/chmod.c: Likewise. - * sysdeps/stub/chown.c: Likewise. + + * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): RETRYNAME of + "" is only special for FS_RETRY_NORMAL; for FS_RETRY_REAUTH, do + another dir_lookup of "". + +Tue Feb 6 12:46:29 1996 David Mosberger-Tang + + * libc-symbols.h (weak_alias, weak_symbol): added definitions + for ECOFF (HAVE_ECOFF). + +Fri Feb 2 13:09:18 1996 Roland McGrath + + * sysdeps/mach/hurd/fork.c: Clear trace flag in child. + +Wed Jan 31 20:08:26 1996 Roland McGrath + + * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Clear SS->intr_port + when cancelled before RPC. + +Tue Jan 30 13:32:05 1996 Roland McGrath + + * dirent/scandir.c: Allocate dirents with correct size for name, and + copy with correct size. + + * hurd/hurdinit.c [! PIC] (map0): New function, on _hurd_preinit_hook. + + * stdio-common/vfscanf.c (TYPEMOD): New macro of all type modifier + flag bits. + (__vfscanf): Fix checking of extra type modifiers. + + * time/asia, time/australasia, time/backward: Updated from ADO 96b. + +Tue Jan 30 12:17:26 1996 Ulrich Drepper + + * stdlib/strtod.c: Only negate exponent when there really is one. + + * stdio-common/vfscanf.c: Accept type modifiers on %n. + Fix FP number parsing. + +Mon Jan 29 21:53:40 1996 Roland McGrath + + * sysdeps/stub/msync.c (msync): Declare third arg FLAGS. + + * resolv/Makefile (+cflags): Append to this instead of CFLAGS. + +Mon Jan 29 16:29:16 1996 Miles Bader + + * sysdeps/mach/hurd/select.c (__select): Recalculate GOT to + include an increment for each operation allowed on each fd. + +Mon Jan 29 11:44:38 1996 Roland McGrath + + * sysdeps/unix/sysv/linux/configure: Set $inhibit_glue. + + * Makefile: Use -include for sysd-dirs. + + * configure.in (uname): Check for uname in syscalls.list files. + * sysdeps/unix/sysv/syscalls.list: Remove uname. + * sysdeps/unix/syscalls.list: Add uname. + + * stdlib/strtol.c (weak1): New macro, to get the right name declared + weak. + + * sysdeps/posix/getcwd.c (size_t): Don't define #ifdef __GNU_LIBRARY__. + + * db/hash/ndbm.c: Change all uses of `errno' struct member to `errnum'. + (dbm_open): Use dynamic allocation for file name buffer, instead of + limitting its size to MAXPATHLEN. + + * db/btree/bt_open.c (tmp): Use dynamic allocation for file name + buffer, instead of limitting its size to MAXPATHLEN. + + * db/hash/hash.h (HTAB): Rename member `errno' to `errnum'. + * db/hash/hash.c: Change all uses of `errno' struct member to `errnum'. + +Sun Jan 28 19:42:04 1996 Andreas Schwab + + * time/Makefile: Fix check for cross compiling. + +Thu Jan 25 21:10:39 1996 Andreas Schwab + + * db/Makefile (subdir-dirs): Renamed from dbdirs. + + * Makerules (distinfo-vars): Add subdir-dirs. + + * MakeTAGS: Remove vpath directives. + (all-dirs): Prepend $(subdir-dirs). + (all-sources, all-headers): Use wildcard to find sources. + +Mon Jan 29 10:44:38 1996 Roland McGrath + + * malloc/Makefile (CFLAGS-vm-limit.c, CFLAGS-ralloc.c): New + variables. + + * mach/msgserver.c: Declare DEMUX arg with prototype. + +Sun Jan 28 17:25:38 1996 Roland McGrath + + * setjmp/setjmp.h (jmp_buf): Give a tag in the struct defn, to + make C++ happy. + * alpha/jmp_buf.h: Likewise. + * m68k/jmp_buf.h: Likewise. + * mips/jmp_buf.h: Likewise. + * sparc/jmp_buf.h: Likewise. + * vax/jmp_buf.h: Likewise. + + * sysdeps/generic/memmem.c: Fix return value in case where + NEEDLE_LEN==0. + + * hurd/hurdlookup.c (__file_name_lookup_under, + __file_name_lookup): Restrict mode with umask. + * sysdeps/mach/hurd/xmknod.c: Restrict mode with umask. + * sysdeps/mach/hurd/mkdir.c: Restrict mode with umask. + +Fri Jan 26 12:20:45 1996 Roland McGrath + + * stdlib/strtol.c: Undo last change. ANSI C changed since the + draft I checked yesterday. Sigh. + +Thu Jan 25 18:58:25 1996 Roland McGrath + + * stdlib/strtol.c [UNSIGNED]: Don't recognize + or - as sign. + +Wed Jan 24 03:22:07 1996 Roland McGrath + + * malloc/mcheck.c (mabort): Declare prototype. + + * sysdeps/unix/sysv/linux/fcntlbits.h: Moved from linux/i386. + + * Makerules: Use -include for generated makefiles. + + * errno.h: Don't declare errno if it's defined as a macro. + + * stdio-common/vfscanf.c: Disallow l flag after ll or L. + + * stdio-common/Makefile (tests): Add scanf[1-9]. + * stdio-common/scanf[1-9].c: New files. Bug tests from hjl. + +Wed Jan 24 04:18:36 1996 Paul Eggert + + * strftime.c (strftime): + When invoking self, check whether the subsidiary invocation failed. + Use "???" (not "") to denote unknown time zone information. + + Make this source file portable to standalone contexts (e.g. GNU Emacs). + : Include if HAVE_CONFIG_H is defined. + (HAVE_LIMITS_H, HAVE_MBLEN, HAVE_TM_ZONE, STDC_HEADERS): New symbols, + defined if _LIBC or if defines them. + , "../locale/localeinfo.h": Include only if _LIBC. + : New include; some hosts require it for `time_t'. + : Include only if HAVE_MBLEN (since it's only needed then). + : Include only if HAVE_LIMITS_H. + : Include only if STDC_HEADERS. + (memcpy): Define in terms of bcopy if !STDC_HEADERS. + (__P, PTR): Define if not already defined. + (__tzname, __daylight, __timezone): Remove macros; no longer needed. + (add, strftime): Don't use NULL, for portability to some weird hosts. + (fmt): If !_LIBC, don't assume sprintf returns a count. + (week, strftime): Use old-style function declarations. + (weekday_name, month_name): New constants. + (strftime): Use traditional C values if locale support isn't available. + Use `const' instead of CONST. For time zones, use tm_zone if + possible, then fall back on tzname. Don't check for multibyte + characters unless mblen is supported. Use formats like %02d instead + of %.2d, for portability to older hosts. + +Wed Jan 24 00:07:52 1996 Roland McGrath + + * stdio-common/vfscanf.c (GROUP, MALLOC): New flag macros. + (__vfscanf): Eliminate flag vars that were redundant with FLAGS bits. + Fix bug in recognition of %ll flag for long long. + Fix overeager checks for conflicting type modifiers. + With ' flag, match thousands separators for decimal numbers. + +Tue Jan 23 22:02:40 1996 Roland McGrath + + * locale/Makefile (CFLAGS-locfile-lex.c): New variable. + + * resolv/Makefile (CFLAGS): Disable some warnings. + + * sysdeps/generic/Makefile (elided-routines): Removed hypot. + (+gccwarn): Set with override. + + * stdio-common/Makefile (CFLAGS-tst-printf.c): New variable. + + * posix/Makefile (CFLAGS-regex.c): New variable. + + * malloc/Makefile (CFLAGS-obstack.c): New variable. + + * io/Makefile (CFLAGS-fts.c): New variable. + * io/fts.c (fts_open): Use prototypes for COMPAR decl. + +Tue Jan 23 21:35:32 1996 Miles Bader + + * sysdeps/mach/hurd/bind.c (bind): Ensure NAME for the AF_LOCAL + case is '\0'-terminated. + +Tue Jan 23 19:49:54 1996 Roland McGrath + + * elf/rtld.c (dl_main): Support additional args in --list mode for + debugging: look them up as symbol names and print values. + + * misc/getttyent.c (skip, value): Declare with prototypes in file + scope. + + * csu/initfini.c (_init): Explicitly set a variable that is + pointer to volatile with the address of __gmon_start__, to avoid + the test being optimized out. + +Mon Jan 22 10:40:40 1996 Roland McGrath + + * sysdeps/posix/getcwd.c [__GNU_LIBRARY__]: Include unistd.h. + + * io/fts.h (FTSENT): Define fts_compar member with prototype. + + * hurd/hurd.h: Use prototype in getcttyid decl. + + * stdlib/l64a.c: Fix typo in last change. + + * stdlib/drand48-iter.c: Test limits.h macros instead of sizeof + for determining size of types. + * stdlib/srand48_r.c: Likewise. + + * misc/utmp.h: Declare login, logout, logwtmp. + * misc/logout.c: Declare argument as pointer to const. + * misc/login.c: Likewise. + * misc/logwtmp.c: Likewise. + Include time.h, string.h. + + * misc/efgcvt_r.c: Include stdlib.h. + + * io/mknod.c: Include sys/types.h. + + * gmon/sys/gmon.h: Declare monstartup, _mcleanup. + + * csu/gmon-start.c (_start, etext): Declare with prototypes. + + * stdio-common/vfscanf.c (%[): Fix range handling. + +Sun Jan 21 00:55:25 1996 Roland McGrath + + * misc/Makefile (headers): Rename queue.h to sys/queue.h. + * misc/queue.h: Moved to misc/sys/queue.h. + + * sysdeps/unix/sysv/linux/shmat.c: Include sys/shm.h instead of + sys/sem.h. + + * stdlib/stdlib.h [__USE_SVID]: Declare a64l, l64a. + + * stdlib/l64a.c: Use 6-bit numbers as indices in CONV_TABLE, not + literal byte values. + + * misc/bsd-compat.c (getpgrp): Define with prototype. + + * misc/init-misc.c (__progname_full): New variable. + (program_invocation_name, program_invocation_short_name): New aliases. + (__init_misc): Define with prototype. Set __progname_full. + * misc/progname.c: File removed. + * misc/Makefile (aux): Remove progname. + + * misc/hsearch_r.c (isprime): Define with prototype. + + * sysdeps/unix/sysv/linux/seteuid.c: Just include unix/bsd version. + * sysdeps/unix/bsd/seteuid.c: Disallow arg of -1. + * sysdeps/unix/bsd/setegid.c: Likewise. + +Fri Jan 19 13:28:59 1996 Roland McGrath + + * sysdeps/unix/sysv/linux/tcdrain.c: Define tcdrain, not + __tcdrain. + + * posix/glob.c (glob): Use prototype in getlogin decl. + + * db/ndbm.h: Declare dbm_error, dbm_clearerr. + * db/db/db.c (__dberr): Define with prototype. + (__dbpanic): Use prototypes in casts. + * db/hash/hash_log2.c: Add prototype decl. + + * sysdeps/generic/_strerror.c (_strerror_internal): Define with + prototype. + + * sysdeps/unix/mkdir.c, syspdep/unix/rmdir.c: Moved from unix/sysv. + They will be overridden with syscalls if extant by unix/syscalls.list. + + * Makeconfig (+gccwarn): Add -Wstrict-prototypes. + + * stdio-common/printf_fp.c (__printf_fp): Define with prototype. + * stdio-common/vfprintf.c (_IO_helper_overflow): Likewise. + +Thu Jan 18 00:32:43 1996 Roland McGrath + + * io/Makefile (routines): Add mknod, xstat fxstat lxstat xmknod. + + * sysdeps/unix/sysv/linux/ptrace.c: Use ... decl, and stdarg.h to + get args. + + * posix/glob.c (_GNU_SOURCE): Define if undefined, so glob.h + defines GNU extensions. + * posix/fnmatch.c: Likewise. + + Replaced all simple system call files *.S throughout sysdeps/unix + with syscalls.list files to be processed by make-syscalls.sh. + * sysdeps/unix/s-proto.S: New file. + * sysdeps/unix/syscalls.list: New file. + * sysdeps/unix/bsd/syscalls.list: New file. + * sysdeps/unix/bsd/bsd4.4/syscalls.list: New file. + * sysdeps/unix/bsd/hp/m68k/syscalls.list: New file. + * sysdeps/unix/bsd/osf/syscalls.list: New file. + * sysdeps/unix/bsd/osf/alpha/syscalls.list: New file. + * sysdeps/unix/bsd/sony/newsos4/syscalls.list: New file. + * sysdeps/unix/bsd/sun/syscalls.list: New file. + * sysdeps/unix/bsd/sun/sunos4/syscalls.list: New file. + * sysdeps/unix/bsd/ultrix4/syscalls.list: New file. + * sysdeps/unix/common/syscalls.list: New file. + * sysdeps/unix/inet/syscalls.list: New file. + * sysdeps/unix/mman/syscalls.list: New file. + * sysdeps/unix/sysv/syscalls.list: New file. + * sysdeps/unix/sysv/irix4/syscalls.list: New file. + * sysdeps/unix/sysv/isc2.2/syscalls.list: New file. + * sysdeps/unix/sysv/linux/syscalls.list: New file. + * sysdeps/unix/sysv/linux/i386/syscalls.list: New file. + * sysdeps/unix/sysv/sco3.2.4/syscalls.list: New file. + * sysdeps/unix/sysv/sysv4/syscalls.list: New file. + * sysdeps/unix/sysv/sysv4/i386/syscalls.list: New file. + * sysdeps/unix/sysv/sysv4/solaris2/sparc/syscalls.list: New file. + * sysdeps/unix/acct.S: File removed. + * sysdeps/unix/chdir.S: File removed. + * sysdeps/unix/chmod.S: File removed. + * sysdeps/unix/chown.S: File removed. + * sysdeps/unix/chroot.S: File removed. + * sysdeps/unix/close.S: File removed. + * sysdeps/unix/configure: File removed. + * sysdeps/unix/configure.in: File removed. + * sysdeps/unix/dup.S: File removed. + * sysdeps/unix/fcntl.S: File removed. + * sysdeps/unix/fsync.S: File removed. + * sysdeps/unix/getgid.S: File removed. + * sysdeps/unix/getpid.S: File removed. + * sysdeps/unix/getuid.S: File removed. + * sysdeps/unix/ioctl.S: File removed. + * sysdeps/unix/kill.S: File removed. + * sysdeps/unix/link.S: File removed. + * sysdeps/unix/lseek.S: File removed. + * sysdeps/unix/open.S: File removed. + * sysdeps/unix/ptrace.S: File removed. + * sysdeps/unix/read.S: File removed. + * sysdeps/unix/reboot.S: File removed. + * sysdeps/unix/setgid.S: File removed. + * sysdeps/unix/setuid.S: File removed. + * sysdeps/unix/sync.S: File removed. + * sysdeps/unix/umask.S: File removed. + * sysdeps/unix/unlink.S: File removed. + * sysdeps/unix/write.S: File removed. + * sysdeps/unix/bsd/flock.S: File removed. + * sysdeps/unix/bsd/getdtsz.S: File removed. + * sysdeps/unix/bsd/getpagesize.S: File removed. + * sysdeps/unix/bsd/killpg.S: File removed. + * sysdeps/unix/bsd/profil.S: File removed. + * sysdeps/unix/bsd/readv.S: File removed. + * sysdeps/unix/bsd/settimeofday.S: File removed. + * sysdeps/unix/bsd/sigblock.S: File removed. + * sysdeps/unix/bsd/sigpause.S: File removed. + * sysdeps/unix/bsd/sigsetmask.S: File removed. + * sysdeps/unix/bsd/sigstack.S: File removed. + * sysdeps/unix/bsd/sigvec.S: File removed. + * sysdeps/unix/bsd/utimes.S: File removed. + * sysdeps/unix/bsd/writev.S: File removed. + * sysdeps/unix/bsd/bsd4.4/chflags.S: File removed. + * sysdeps/unix/bsd/bsd4.4/fchdir.S: File removed. + * sysdeps/unix/bsd/bsd4.4/fchflags.S: File removed. + * sysdeps/unix/bsd/bsd4.4/getdents.S: File removed. + * sysdeps/unix/bsd/bsd4.4/getdomain.S: File removed. + * sysdeps/unix/bsd/bsd4.4/revoke.S: File removed. + * sysdeps/unix/bsd/bsd4.4/setdomain.S: File removed. + * sysdeps/unix/bsd/bsd4.4/setegid.S: File removed. + * sysdeps/unix/bsd/bsd4.4/seteuid.S: File removed. + * sysdeps/unix/bsd/bsd4.4/setlogin.S: File removed. + * sysdeps/unix/bsd/bsd4.4/setsid.S: File removed. + * sysdeps/unix/bsd/bsd4.4/sigaltstack.S: File removed. + * sysdeps/unix/bsd/bsd4.4/wait4.S: File removed. + * sysdeps/unix/bsd/hp/m68k/getdents.S: File removed. + * sysdeps/unix/bsd/osf/msync.S: File removed. + * sysdeps/unix/bsd/osf/alpha/wait4.S: File removed. + * sysdeps/unix/bsd/sony/newsos4/fchdir.S: File removed. + * sysdeps/unix/bsd/sony/newsos4/sys_wait4.S: File removed. + * sysdeps/unix/bsd/sun/getdents.S: File removed. + * sysdeps/unix/bsd/sun/sunos3/m68k/wait.S: File removed. + * sysdeps/unix/bsd/sun/sunos4/msync.S: File removed. + * sysdeps/unix/bsd/sun/sunos4/poll.S: File removed. + * sysdeps/unix/bsd/sun/sunos4/setsid.S: File removed. + * sysdeps/unix/bsd/sun/sunos4/sys_mmap.S: File removed. + * sysdeps/unix/bsd/sun/sunos4/sys_wait4.S: File removed. + * sysdeps/unix/bsd/sun/sunos4/uname.S: File removed. + * sysdeps/unix/bsd/ultrix4/getdents.S: File removed. + * sysdeps/unix/bsd/ultrix4/setsid.S: File removed. + * sysdeps/unix/bsd/ultrix4/uname.S: File removed. + * sysdeps/unix/common/access.S: File removed. + * sysdeps/unix/common/adjtime.S: File removed. + * sysdeps/unix/common/dup2.S: File removed. + * sysdeps/unix/common/fchmod.S: File removed. + * sysdeps/unix/common/fchown.S: File removed. + * sysdeps/unix/common/ftruncate.S: File removed. + * sysdeps/unix/common/getgroups.S: File removed. + * sysdeps/unix/common/getitimer.S: File removed. + * sysdeps/unix/common/getpgid.S: File removed. + * sysdeps/unix/common/getpriority.S: File removed. + * sysdeps/unix/common/getrlimit.S: File removed. + * sysdeps/unix/common/getrusage.S: File removed. + * sysdeps/unix/common/gettimeofday.S: File removed. + * sysdeps/unix/common/mkdir.S: File removed. + * sysdeps/unix/common/readlink.S: File removed. + * sysdeps/unix/common/rename.S: File removed. + * sysdeps/unix/common/rmdir.S: File removed. + * sysdeps/unix/common/select.S: File removed. + * sysdeps/unix/common/setgroups.S: File removed. + * sysdeps/unix/common/setitimer.S: File removed. + * sysdeps/unix/common/setpgid.S: File removed. + * sysdeps/unix/common/setpriority.S: File removed. + * sysdeps/unix/common/setregid.S: File removed. + * sysdeps/unix/common/setreuid.S: File removed. + * sysdeps/unix/common/setrlimit.S: File removed. + * sysdeps/unix/common/swapon.S: File removed. + * sysdeps/unix/common/symlink.S: File removed. + * sysdeps/unix/common/truncate.S: File removed. + * sysdeps/unix/common/vhangup.S: File removed. + * sysdeps/unix/inet/accept.S: File removed. + * sysdeps/unix/inet/bind.S: File removed. + * sysdeps/unix/inet/connect.S: File removed. + * sysdeps/unix/inet/gethostid.S: File removed. + * sysdeps/unix/inet/gethostname.S: File removed. + * sysdeps/unix/inet/getpeername.S: File removed. + * sysdeps/unix/inet/getsockname.S: File removed. + * sysdeps/unix/inet/getsockopt.S: File removed. + * sysdeps/unix/inet/listen.S: File removed. + * sysdeps/unix/inet/recv.S: File removed. + * sysdeps/unix/inet/recvfrom.S: File removed. + * sysdeps/unix/inet/recvmsg.S: File removed. + * sysdeps/unix/inet/send.S: File removed. + * sysdeps/unix/inet/sendmsg.S: File removed. + * sysdeps/unix/inet/sendto.S: File removed. + * sysdeps/unix/inet/sethostid.S: File removed. + * sysdeps/unix/inet/sethostname.S: File removed. + * sysdeps/unix/inet/setsockopt.S: File removed. + * sysdeps/unix/inet/shutdown.S: File removed. + * sysdeps/unix/inet/socket.S: File removed. + * sysdeps/unix/inet/socketpair.S: File removed. + * sysdeps/unix/mman/madvise.S: File removed. + * sysdeps/unix/mman/mmap.S: File removed. + * sysdeps/unix/mman/mprotect.S: File removed. + * sysdeps/unix/mman/msync.S: File removed. + * sysdeps/unix/mman/munmap.S: File removed. + * sysdeps/unix/sysv/alarm.S: File removed. + * sysdeps/unix/sysv/ftime.S: File removed. + * sysdeps/unix/sysv/nice.S: File removed. + * sysdeps/unix/sysv/pause.S: File removed. + * sysdeps/unix/sysv/poll.S: File removed. + * sysdeps/unix/sysv/s_getdents.S: File removed. + * sysdeps/unix/sysv/signal.S: File removed. + * sysdeps/unix/sysv/stime.S: File removed. + * sysdeps/unix/sysv/time.S: File removed. + * sysdeps/unix/sysv/times.S: File removed. + * sysdeps/unix/sysv/ulimit.S: File removed. + * sysdeps/unix/sysv/uname.S: File removed. + * sysdeps/unix/sysv/utime.S: File removed. + * sysdeps/unix/sysv/irix4/getpgid.S: File removed. + * sysdeps/unix/sysv/irix4/msync.S: File removed. + * sysdeps/unix/sysv/irix4/setpgid.S: File removed. + * sysdeps/unix/sysv/irix4/signal.S: File removed. + * sysdeps/unix/sysv/irix4/sysmp.S: File removed. + * sysdeps/unix/sysv/irix4/syssgi.S: File removed. + * sysdeps/unix/sysv/isc2.2/rename.S: File removed. + * sysdeps/unix/sysv/linux/adjtimex.S: File removed. + * sysdeps/unix/sysv/linux/fork.S: File removed. + * sysdeps/unix/sysv/linux/getpgid.S: File removed. + * sysdeps/unix/sysv/linux/getpgrp.S: File removed. + * sysdeps/unix/sysv/linux/getsid.S: File removed. + * sysdeps/unix/sysv/linux/gtty.S: File removed. + * sysdeps/unix/sysv/linux/mlock.S: File removed. + * sysdeps/unix/sysv/linux/mlockall.S: File removed. + * sysdeps/unix/sysv/linux/mount.S: File removed. + * sysdeps/unix/sysv/linux/munlock.S: File removed. + * sysdeps/unix/sysv/linux/munlockall.S: File removed. + * sysdeps/unix/sysv/linux/pipe.S: File removed. + * sysdeps/unix/sysv/linux/s_ptrace.S: File removed. + * sysdeps/unix/sysv/linux/setpgid.S: File removed. + * sysdeps/unix/sysv/linux/setsid.S: File removed. + * sysdeps/unix/sysv/linux/settimeofday.S: File removed. + * sysdeps/unix/sysv/linux/sigpending.S: File removed. + * sysdeps/unix/sysv/linux/stty.S: File removed. + * sysdeps/unix/sysv/linux/umount.S: File removed. + * sysdeps/unix/sysv/linux/wait4.S: File removed. + * sysdeps/unix/sysv/linux/i386/ipc.S: File removed. + * sysdeps/unix/sysv/sco3.2.4/pathconf.S: File removed. + * sysdeps/unix/sysv/sco3.2.4/pgrpsys.S: File removed. + * sysdeps/unix/sysv/sco3.2.4/sco_getgrp.S: File removed. + * sysdeps/unix/sysv/sco3.2.4/sigpending.S: File removed. + * sysdeps/unix/sysv/sco3.2.4/sigprocmask.S: File removed. + * sysdeps/unix/sysv/sco3.2.4/sigsuspend.S: File removed. + * sysdeps/unix/sysv/sysv4/pgrpsys.S: File removed. + * sysdeps/unix/sysv/sysv4/sigprocmask.S: File removed. + * sysdeps/unix/sysv/sysv4/sigsuspend.S: File removed. + * sysdeps/unix/sysv/sysv4/sysconfig.S: File removed. + * sysdeps/unix/sysv/sysv4/sysinfo.S: File removed. + * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys-sig.S: File removed. + + * io/mknod.c: New file. + + * Makerules (COMPILE.s): New variable. + + * sysdeps/unix/Makefile (sysd-syscalls): New target; generate with + make-syscalls.sh and include it. + [$(subdir)=misc] (sysdep_routines): Append extra syscalls from + sysd-syscalls. + * sysdeps/unix/make-syscalls.sh: New file. + + * Makerules (COMPILE.S): New variable. + +Wed Jan 17 11:04:58 1996 Roland McGrath + + * sysdeps/unix/sysv/linux/statbuf.h (_STAT_VER_LINUX, + _STAT_VER_SVR4, _STAT_VER): New macros. + (_MKNOD_VER_LINUX, _MKNOD_VER_SVR4, _MKNOD_VER): New macros. + + * sysdeps/unix/sysv/sysv4/i386/statbuf.h (_STAT_VER, _MKNOD_VER): + New macros. + + * io/sys/stat.h (_STAT_VER, _MKNOD_VER): New macros. + (__xstat, __fxstat, __lxstat, __xmknod): Declare new functions. + [__GNUC__] (stat, fstat, lstat, mknod): Define these (and __ names) + as `extern inline's calling the `x' functions. + * io/fstat.c: New file. + * io/lstat.c: New file. + * io/stat.c: New file. + * sysdeps/generic/lstat.c: File removed. + * sysdeps/generic/lxstat.c: New file. + * sysdeps/mach/hurd/fstat.c: File removed. + * sysdeps/mach/hurd/fxstat.c: New file. + * sysdeps/mach/hurd/lstat.c: File removed. + * sysdeps/mach/hurd/lxstat.c: New file. + * sysdeps/mach/hurd/mknod.c: File removed. + * sysdeps/mach/hurd/stat.c: File removed. + * sysdeps/mach/hurd/xmknod.c: New file. + * sysdeps/mach/hurd/xstat.c: New file. + * sysdeps/stub/fstat.c: File removed. + * sysdeps/stub/fxstat.c: New file. + * sysdeps/stub/lstat.c: File removed. + * sysdeps/stub/lxstat.c: New file. + * sysdeps/stub/mknod.c: File removed. + * sysdeps/stub/stat.c: File removed. + * sysdeps/stub/xmknod.c: New file. + * sysdeps/stub/xstat.c: New file. + * sysdeps/unix/common/lstat.S: File removed. + * sysdeps/unix/common/lxstat.c: New file. + * sysdeps/unix/fstat.S: File removed. + * sysdeps/unix/fxstat.c: New file. + * sysdeps/unix/mknod.S: File removed. + * sysdeps/unix/stat.S: File removed. + * sysdeps/unix/sysv/linux/fstat.c: File removed. + * sysdeps/unix/sysv/linux/i386/fxstat.S: File removed. + * sysdeps/unix/sysv/linux/i386/lxstat.S: File removed. + * sysdeps/unix/sysv/linux/i386/xmknod.S: File removed. + * sysdeps/unix/sysv/linux/i386/xstat.S: File removed. + * sysdeps/unix/sysv/linux/lstat.c: File removed. + * sysdeps/unix/sysv/linux/mknod.c: File removed. + * sysdeps/unix/sysv/linux/stat.c: File removed. + * sysdeps/unix/sysv/sysv4/i386/fstat.S: File removed. + * sysdeps/unix/sysv/sysv4/i386/lstat.S: File removed. + * sysdeps/unix/sysv/sysv4/i386/mknod.S: File removed. + * sysdeps/unix/sysv/sysv4/i386/stat.S: File removed. + * sysdeps/unix/xmknod.c: New file. + * sysdeps/unix/xstat.c: New file. + * sysdeps/unix/mkfifo.c: Use __xmknod instead of __mknod. + * misc/Makefile (routines): Remove mknod. + + * sysdeps/ieee754/ieee754.h (union ieee854_long_double.ieee_nan): + Add missing ; in little-endian case. + + * elf/dynamic-link.h [ELF_MACHINE_NO_REL] (ELF_DYNAMIC_DO_REL): + Define this instead of ELF_DYNAMIC_DO_RELA. + + * sysdeps/unix/sysv/time.S: Moved from sysv4. + * sysdeps/unix/sysv/irix4/time.S: File removed. + + * sysdeps/unix/sysv/linux/signum.h: Moved from + sysdeps/unix/sysv/linux/i386. + (_NSIG): Move inside #ifdef _SIGNAL_H. + +Tue Jan 16 17:37:39 1996 Roland McGrath + + * sysdeps/unix/seekdir.c: Don't modify POS before seeking. + * sysdeps/unix/telldir.c: Fix position calculation to account for + buffered data properly. + + * sysdeps/m68k/Makefile (crypt): Don't define if building a shared + library. + + * csu/initfini.c (_init): Call __gmon_start__ if defined (weak ref). + * csu/gmon-start.c (__gmon_start__): Renamed from gmon_start, made + global. + [! HAVE_INITFINI]: Only make it a constructor in this case. + + * gmon/Makefile (CFLAGS-mcount.c): New variable. + (mcount.po): New target. + + * Makeconfig (CFLAGS): Append $(CFLAGS-$( + + * sysdeps/mips/bytesex.h: Add default byte sex. By Ralf Baechle. + + * sysdeps/unix/sysv/linux/adjtime.c [! MOD_OFFSET]: Use `mode' + member of `struct timex' instead of `modes'. From Andreas Schwab. + + * sysdeps/unix/sysv/linux/mknod.c: New file. Generic C version. + * sysdeps/unix/sysv/linux/i386/mknod.S: Remove assembler version. + + * sysdeps/unix/sysv/linux/Makefile (inhibit-glue): New variable. + [$(subdir) = misc] (sysdep_routines): Add mount, umount, and s_ptrace. + [$(subdir) = misc] (headers): Append sys/mount.h. + + * sysdeps/unix/sysv/linux/mount.S, sysdeps/unix/sysv/linux/umount.S: + New files. Implement system calls. + * sysdeps/unix/sysv/linux/sys/mount.h: New header file. + + * sysdeps/unix/sysv/linux/ptrace.c: New file. Wrapper around + ptrace system call. + * sysdeps/unix/sysv/linux/s_ptrace.S: New file: ptrace system call. + + * sysdeps/unix/sysv/linux/i386/gnu/types.h: New file with correct + types for i386/Linux. + +Sun Jan 14 17:51:09 1996 Andreas Schwab + + * MakeTAGS (all-sources, all-headers): Always search the + current directory first. + + * db/btree/bt_seq.c (__bt_first): Return RET_SPECIAL when key not + found. + + * stdio-common/vfscanf.c (inchar, conv_error, input_error, + memory_error): Add cast to void to avoid gcc warning. + (vfscanf): Rewrite character class parsing to make it more efficient. + + * misc/efgcvt_r.c (ecvt_r): Handle negative values. + + * stdlib/stdlib.h: Replace __CONSTVALUE by attribute. + * stdlib/abs.c, stdlib/div.c, stdlib/labs.c, stdlib/ldiv.c, + sysdeps/generic/hypot.c: Remove obsolete __CONSTVALUE. + + * stdio-common/printf_fp.c (__printf_fp): Fix parameter + declaration. + + * sysdeps/generic/putenv.c (putenv): Fix second argument of + setenv. + + * sysdeps/ieee754/hypot.c: New file, extracted out of cabs.c. + * sysdeps/ieee754/cabs.c: Don't define hypot here. + + * sysdeps/ieee754/ieee754.h (union ieee854_long_double): Fix + definition of ieee_nan alternative. + + * sysdeps/m68k/__longjmp.c, sysdeps/m68k/setjmp.c: Add register + prefix spec. + + * sysdeps/m68k/ffs.c (ffs): Fix register constraint. + + * sysdeps/m68k/fpu/__math.h: Include . Replace obsolete + __CONSTVALUE by attribute. + (floor): Round to negative infinity. + (rint, expm1) [__NO_MATH_INLINES]: Don't define, to avoid type + clash when compiling source. + (pow): Handle x == 0 and x < 0. + (ceil, __isinf, __isnan): Fix register constraints. + (__isinfl, __isnanl): Added. + * sysdeps/m68k/fpu/acos.c, sysdeps/m68k/fpu/atan2.c, + sysdeps/m68k/fpu/fmod.c, sysdeps/m68k/fpu/ldexp.c, + sysdeps/m68k/fpu/pow.c: Remove obsolete __CONSTVALUE. + + * sysdeps/m68k/bsd-_setjmp.S, sysdeps/m68k/bsd-setjmp.S: Fix + assembler syntax. + + * sysdeps/unix/bsd/bsd4.4/fchdir.S (fchdir): Take only one + argument. + + * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Fix timeval to + clock_t conversion. + (clock): Don't multiply by CLOCKS_PER_SEC. + + * sysdeps/unix/bsd/poll.c (poll): Fix msec to timeval conversion. + + * sysdeps/unix/bsd/sun/m68k/brk.S (brk): Compare with address of + __end. + + * sysdeps/unix/bsd/sun/m68k/vfork.S: Fix assembler syntax. + + * sysdeps/unix/bsd/ualarm.c (ualarm): Fix timeval calculation. + + * sysdeps/unix/bsd/vax/vfork.S: Remove duplicate label. + +Sun Jan 14 01:01:10 1996 Ulrich Drepper + + * stdlib/strtol.c: Return correct pointer for strings + like "0xyz" and base 0 or 16. + + * string/strxfrm.c: Handle case for LENGTH == 0 correct. + + * sunrpc/etc.rpc: Add some more known protocols. + +Fri Jan 12 13:40:01 1996 Roland McGrath + + * posix/gnu/types.h: Moved to sysdeps/generic/gnu/types.h. + + * posix/glob.c (glob): Add parens in glob call flags arg for + GLOB_BRACE case. + + * string/string.h (strdupa): New macro. + + * stdio-common/vfscanf.c (%[): Grok ] as first char in set, not + terminator on empty set. From drepper. + +Thu Jan 11 13:09:20 1996 Roland McGrath + + * elf/do-rel.h (elf_dynamic_do_rel): Use referring symbol as + referent for STB_LOCAL. + +Wed Jan 10 10:11:39 1996 Roland McGrath + + * time/africa, time/antarctica, time/asia, time/australasia, + time/europe, time/northamerica, time/pacificnew, time/solar87, + time/solar88, time/solar89, time/southamerica: Updated from ADO 96a. + +Tue Jan 9 16:10:26 1996 Roland McGrath + + * elf/dl-load.c (_dl_map_object_from_fd): After mapping first + segment to find location, mprotect excess region to no access, + don't munmap it. + + * sysdeps/mach/hurd/dl-sysdep.c (mmap): If vm_map returns + KERN_NO_SPACE for fixed location, deallocate it and try again. + +Mon Jan 8 17:43:23 1996 Roland McGrath + + * locale/Makefile (lib-modules): Renamed hash to locfile-hash. + * locale/hash.c: Renamed to locale/locfile-hash.c. + +Sat Jan 6 16:39:14 1996 Roland McGrath + + * Makefile (subdirs): Added db. + + * resolv/Makefile (routines): Add res_data. + * resolv/res_data.c, resolv/res_debug.c, resolv/resolv.h: + Updated from BIND 4.9.3 final release. + + * elf/dynamic-link.h (elf_get_dynamic_info): Handle + processor-specific tags. + (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA): Handle absent DT_PLTREL tag. + + * elf/elf.h (DT_MIPS_NUM, DT_PROCNUM): New macros. + * elf/link.h (struct link_map): Extend `l_info' by DT_PROCNUM. + + * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Take new + arg LAZY. Only do our work if LAZY and there is a DT_JMPREL record. + * elf/dl-reloc.c (_dl_relocate_object): Call + elf_machine_runtime_setup unconditionally, and pass it LAZY flag. + + * elf/dl-load.c: Fixed ELFMAG check to work for either byte order. + Align end of load segment only to page size, not to segment alignment. + +Thu Jan 4 11:35:18 1996 Roland McGrath + + * sysdeps/mach/hurd/setitimer.c: Code rearranged a bit to use new + preemption interface. + + * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): + Use _hurdsig_catch_memory_fault. + + * hurd/Makefile (headers): Add hurd/sigpreempt.h. + (sig): Add catch-signal. + + * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise): + Rewritten using a preempter in new interface. + * hurd/hurdfault.h (_hurdsig_catch_fault): Likewise. + (_hurdsig_catch_memory_fault): New macro. + +Wed Jan 3 20:23:42 1996 Roland McGrath + + * hurd/catch-signal.c: New file. + + * hurd/intr-msg.c: When restarting RPC, fetch a new reply port. + + * hurd/hurdsig.c: Use new hurdfault.h interface. + (abort_all_rpcs): Mutate return value to EINTR in threads whose + replies we will wait for. + + * hurd/hurdkill.c (_hurd_sig_post): When doing pgrp, make sure we + do ourselves last. + +Wed Jan 3 19:17:10 1996 Miles Bader + + * sysdeps/mach/hurd/access.c (__access): Put the uid/gid arguments + to auth_makeauth() in the right order. + +Wed Jan 3 17:19:04 1996 Roland McGrath + + * sysdeps/generic/strsep.c: Rewritten. + + * sysdeps/mach/hurd/fork.c: Use a different workaround for the + suspended page fault deadlock kernel bug: thread_abort our signal + thread first thing after proc_dostop. + + * sysdeps/mach/hurd/setgid.c: Rewrote gid frobnication to + recognize rootness properly. + +Tue Jan 2 00:50:10 1996 Roland McGrath + + * hurd/hurd/signal.h (struct hurd_sigstate): New member `preempters'. + (hurd_preempt_signals, hurd_unpreempt_signals): Decls removed. + * hurd/hurd/sigpreempt.h: New file. + * hurd/preempt-sig.c: Rewritten with new interface. + * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Remove local signal + preempters being unwound past. + * hurd/hurdsig.c: Use new signal preemption interface. + + * db: New directory, 4.4 BSD db package incorporated from BSD db-1.85 + release. + + * sysdeps/unix/sysv/linux/sys/param.h: Several new macros for BSD + compatibility. + + * misc/queue.h: New file, incorporated from 4.4BSD. + * misc/Makefile (headers): Add queue.h. + + * posix/sys/types.h [__USE_BSD]: Include endian.h. + + * io/sys/stat.h (DEFFILEMODE, ALLPERMS, ACCESSPERMS, S_BLKSIZE): + New macros. + +Thu Dec 28 10:21:35 1995 Roland McGrath + + * sysdeps/generic/confname.h: Define all names as self-referential + macros so #ifdef works. + + * hurd/preempt-sig.c (hurd_unpreempt_signals): Remove bogus asgnmt + of _hurd_signal_preempters[SIGNO]. + +Mon Dec 25 20:56:39 1995 Roland McGrath + + * sysdeps/mach/hurd/bind.c: Translate EEXIST from dir_link into + EADDRINUSE. If translated node doesn't grok ifsock protocol, + return EADDRINUSE. + + * sysdeps/mach/hurd/connect.c: Make address arg + `const struct sockaddr_un *'. + The redecl is kosher and avoids another variable for AF_LOCAL case. + * sysdeps/mach/hurd/sendto.c: Likewise. + * sysdeps/mach/hurd/bind.c: Likewise. + + * socket/sys/socket.h (__SOCKADDR_ARG): Enable transparent_union + code for GCC >= 2.7; use __transparent_union__ for name safety; + add several sockaddr flavors. + (__SOCKADDR_ALLTYPES, __SOCKADDR_ONETYPE): New macros used in + constructing the transparent union declarations. + (__CONST_SOCKADDR_ARG): New type (or macro if not GCC 2.7). + (bind, connect, sendto): Make the sockaddr argument use that. + +Fri Dec 22 00:57:38 1995 Roland McGrath + + * sysdeps/mach/hurd/setgid.c: In root case, store into NEWAUX, not + old vector. + * sysdeps/mach/hurd/setuid.c: Likewise. + + * sysdeps/mach/hurd/setuid.c: Rewrote ID frobnication to do the + right thing. + * sysdeps/mach/hurd/setgid.c: Likewise. + * sysdeps/mach/hurd/setreuid.c: Likewise. + * sysdeps/mach/hurd/setregid.c: Likewise. + * sysdeps/mach/hurd/setegid.c: Likewise. + * sysdeps/mach/hurd/seteuid.c: Likewise. + + * sysdeps/mach/hurd/fork.c: Peek __mach_task_self_ value before + proc_dostop call to work around kernel paging bug. + +Fri Dec 22 00:38:00 1995 H.J. Lu + + * stdio-common/vfscanf.c: Correctly handle white space skipping. + * stdio-common/Makefile (tests): Add bug11. + * stdio-common/bug11.c: New file. + +Thu Dec 21 12:19:32 1995 Miles Bader + + * sysdeps/mach/hurd/setuid.c (__setuid): Actually add the new uid + instead of putting it (and other uids) in the gids and leaving the + old uids as is. + +Wed Dec 20 18:23:10 1995 Roland McGrath + + * stdio/internals.c (flushbuf): If the target is -1, always + discard the buffer of read data. + Only set TWIDDLED flag in !ALIGNED case. + Never increment target or offset when old value is -1. + +Tue Dec 19 17:00:42 1995 Roland McGrath + + * hurd/hurdpid.c (_S_msg_proc_newids): Only run the hook when the + pgrp changes. + +Mon Dec 18 13:40:37 1995 Roland McGrath + + * stdio/fread.c: Don't increment __offset when it's -1. + + * elf/rtld.c (dl_main): Prepend tab to "statically linked". Exit + 0 in that case. + + * misc/err.c (vwarnx, vwarn): Fix major brainos. + + * sysdeps/mach/hurd/dl-sysdep.c (mmap): Fix setting of + inheritance. + +Sun Dec 17 15:56:35 1995 Miles Bader + + * misc/getpass.c (getpass): Don't barf if getline returns a null BUF. + +Sat Dec 16 10:33:11 1995 Roland McGrath + + * Makerules: Use $(do-install-so) for installing shared objects. + (do-install-so): New canned sequence. Make a symlink LIB.so after + installing LIB.so.VERSION. + + * inet/netinet/in.h: Fixed typo in IPPORT_WHOIS. + +Fri Dec 15 04:41:22 1995 Ulrich Drepper + + * stdio-common/Makefile (tests): Add bug10. + * stdio-common/bug10.c: New file. From HJ Lu. + + * stdio-common/tstdiomisc.c: Make more test-suite like: exit + status tells about successful run. + + * stdio-common/vfscanf.c [!USE_IN_LIBIO]: Use `flags' to check + format correctness. + Correct handling of trailing white spaces in format + EOF. + +Fri Dec 15 01:31:56 1995 Ulrich Drepper + + * stdio-common/Makefile (tests): Add bug8 and bug9. + * stdio-common/bug8.c, stdio-common/bug9.c: New tests. + + * stdio-common/vfscanf.c: Fix bug in dynamic buffer handling. + + * stdlib/strtod.c: Correct spelling: nominator -> numerator. + Thanks to Jim Meyering. + +Sat Nov 25 06:05:12 1995 H.J. Lu + + * stdio-common/vfscanf.c: Always check width !=0. + Correctly handle %%. + +Thu Dec 14 02:28:22 1995 Roland McGrath + + * posix/glob.c (glob_in_dir): Cast result of opendir to __ptr_t, + and cast STREAM to DIR * before passing to readdir and closedir. + +Wed Dec 13 22:06:07 1995 Roland McGrath + + * hurd/hurdsig.c (_hurd_internal_post_signal: suspend): Reply + after aborting RPCs but before calling proc_mark_stop. + +Mon Dec 11 20:07:54 1995 Roland McGrath + + * posix/glob.c [! STDC_HEADERS]: Declare getenv. + (glob): Avoid using function as value. + + * elf/rtld.c (dl_main): When mapping argument executable, set + l_name to "", not l_libname. + After loading DT_NEEDED library, set its l_type to lt_library. + + * sysdeps/mach/hurd/mmap.c: Don't interpret MAP_INHERIT to mean + VM_INHERIT. We can't handle MAP_INHERIT easily. + Handle non-page-aligned addresses if congruent to offset. + + * elf/dl-init.c: Skip the initializer for l_type lt_executable + with l_name "". Start at _dl_loaded; don't skip the first element. + + * elf/dl-load.c (MAP_FILE): Define to zero if undefined. + (MAP_COPY): Define to MAP_PRIVATE if undefined. + (_dl_map_object_from_fd): Don't use MAP_INHERIT in mmap calls. + If file it ET_EXEC, set its l_type to lt_executable. + +Sun Dec 10 09:56:06 1995 Roland McGrath + + * elf/dl-minimal.c (malloc): Use MAP_PRIVATE in mmap call. + +Fri Dec 8 13:04:51 1995 Roland McGrath + + * locale/error.c, locale/error.h: Files removed. + * locale/Makefile (distribute): Remove error.h. + (lib-modules): Remove error. + + * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): For "tty" + magic, return ENXIO if no ctty. + + * sysdeps/mach/hurd/mmap.c: For MAP_FIXED, deallocate a previous + mapping if vm_map fails for that reason. + + * posix/glob.c: Implement new options GLOB_ALTDIRFUNC, GLOB_BRACE, + GLOB_TILDE, GLOB_NOMAGIC. + (glob): Use stat instead of lstat to determine directoriness. + * posix/glob.h (GLOB_ALTDIRFUNC, GLOB_BRACE, GLOB_NOMAGIC, GLOB_TILDE): + New flag bits. + (__GLOB_FLAGS): Include them. + (glob_t): New members gl_closedir, gl_readdir, gl_opendir, gl_lstat, + gl_stat. + + * elf/elf.h (ET_NUM, SHT_NUM, STB_NUM, STT_NUM, PT_NUM): New macros. + + * sysdeps/unix/sysv/linux/sys/mman.h: Include to + define all the bit values. + (MAP_*, MCL_*): Macros removed. + +Thu Dec 7 02:27:56 1995 Roland McGrath + + * resolv/res_comp.c, resolv/res_debug.c, resolv/res_send.c: + Updated from BIND 4.9.3-BETA27. + +Wed Dec 6 18:44:01 1995 Miles Bader + + * sysdeps/mach/hurd/select.c (__select): Swap size args to mach_msg. + + * sysdeps/mach/hurd/select.c (__select): Frob TYPES correctly when + we get a delayed reply. + Only grab values out of entries in TYPES that have SELECT_RETURNED + turned on, and turn it on whenever an rpc returns. + Only clear bits in the user's fdsets -- those needing to be set + should be already. + Use SELECT_ALL in appropiate places. + (SELECT_RETURNED, SELECT_ALL): New macros. + +Wed Dec 6 09:10:39 1995 Roland McGrath + + * sysdeps/mach/hurd/sys/param.h (NBBY): New macro. + + * gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): New macro. + +Tue Dec 5 14:00:17 1995 Roland McGrath + + * misc/Makefile (headers): Add error.h, err.h. + (routines): Add error, err. + (gpl2lgpl): New variable. + * misc/err.c: New file. + * misc/err.h: New file. + * misc/error.c, misc/error.h: New files. + + * sysdeps/mach/hurd/ioctl.c: Fix typo in last change. + + * Makeconfig (+link): Translate libc% from $^, not just libc.a. + (link-libc): Append $(libc.so-version) to libc.so. + (built-program-cmd): Fix comma usage. + * Makerules [libc.so-version] (libc.so$(libc.so-version)): Make a + symlink to libc.so in the build directory. + * Rules ($(others) $(tests)): Depend on the library that appears + in $(link-libc). + (%.out): Use $(built-program-cmd) in commands. + + * posix/unistd.h [__USE_MISC]: Declare brk, sbrk. + + * sysdeps/generic/setenv.c: Added canonical portability cruft. + (setenv): Use realloc on LAST_ENVIRON instead of always copying. + (unsetenv): New function. + * stdlib/stdlib.h [__USE_BSD]: Declare unsetenv. + * sysdeps/generic/putenv.c: Rewritten using setenv and unsetenv. + +Tue Dec 5 02:27:32 1995 Ulrich Drepper + + * libio/Makefile (routines): Remove iofscanf, add iopopen, pclose. + + * libio/iofscanf.c: Remove file. + + * libio/iogetdelim.c (_IO_getdelim): Correct stupid bug at string + termination. + + * libio/iopopen.c: New file from GNU libio. + + * libio/memstream.c: Fixed bug in fclose handling. Instead of + providing a close callback we need a finish callback. + + * libio/pclose.c: New file. Derived from popen.c in GNU libio. + + * posix/gnu/types.h: Fixed typo. + + * stdio-common/errnobug.c: fputs returns EOF in error case. Do + not test for != 0. + + * stdio-common/printf-parse.h (parse_one_spec): Do not force + padding with ' ' if precision is given. Fix by HJ Lu. + + * stdio-common/printf_fp.c: Fix comment. + + * stdio-common/tfformat.c, stdio-common/tiformat.c, + stdio-common/tstdiomisc.c: New files from GNU libio test suite. + + * stdio-common/tstgetln.c: Provide ssize_t type when testing + libio. + + * stdio-common/vfprintf.c (outchar): Use PUTC instead of putc. + (vfprintf): Cleasr args_type array before using it. + When printing 0 as an integer with precision 0 nothing must be + written for the number. + Based on patch by HJ Lu. + + * stdio-common/vfscanf.c: Remove fixed input buffer. Now we + have a dynamically extended buffer. + + * stdlib/strtod.c: Merge with version in Linux libc. This fixes + some bugs with handling of very small numbers and has different + solution for formaer patches. + + * sysdeps/i386/i586/add_n.S, sysdeps/i386/i586/sub_n.S: Rename + macros r1 and r2 to t1, and t2 resp. This is necessary because + glibc headers also define r1. + +Mon Dec 4 12:10:28 1995 Roland McGrath + + * stdlib/gen-mpn-copy (translations): Updated for new layout in + GMP 1.910. + + * malloc/malloc.c (__malloc_initialize): Renamed from initialize; + made global. + (malloc): Caller changed. + * malloc/realloc.c (realloc): Call __malloc_initialize if + necessary, before checking hook. + * malloc/malloc.h: Declare __malloc_initialize. + + * sysdeps/mach/hurd/ioctl.c: For IOC_VOID request, send ARG itself + as integer_t arg in RPC. + +Sat Dec 2 03:47:27 1995 Roland McGrath + + * sysdeps/mach/hurd/brk.c (DATA_SIZE): Bump to 128MB. + (_hurd_set_brk): Try to allocate more space when we run out. + + * sysdeps/generic/sbrk.c: If __curbrk is zero, call __brk with + zero and examine it again. + * sysdeps/unix/sysv/linux/i386/brk.c: New file. + * sysdeps/unix/sysv/linux/i386/brk.S: File removed. + * sysdeps/unix/sysv/linux/i386/sbrk.S: File removed. + * sysdeps/unix/sysv/linux/dl-sysdep.c: New file. + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [DL_SYSDEP_INIT]: + Invoke this macro before calling DL_MAIN. + + * malloc/malloc.c (malloc): Do initialization here, before + checking the hook. + (_malloc_internal): Don't do it here. + +Wed Nov 29 12:30:50 1995 Roland McGrath + + * libio/vsnprintf.c (__vsnprintf): Define as alias. + * libio/iovsscanf.c (__vsscanf): Define as alias. + * asprintf.c: Remove libio adaptation code added by drepper. + * dprintf.c: Likewise. + * printf.c: Likewise. + * scanf.c: Likewise. + * snprintf.c: Likewise. + * sprintf.c: Likewise. + * sscanf.c: Likewise. + * vprintf.c: Likewise. + * stdio-common/vfscanf.c [USE_IN_LIBIO] (__vfscanf): New wrapper + function. + (vfscanf): Define unconditionally. + + * sysdeps/i386/dl-machine.h (elf_machine_rel): If SYM is null, use + zero for value. + + * misc/getpass.c: Write a newline after reading the unechoed + password. + +Mon Nov 27 19:24:18 1995 Roland McGrath + + * posix/Makefile (routines): Add getsid. + * sysdeps/unix/sysv/linux/getsid.S: New file. + * sysdeps/mach/hurd/getsid.c: New file. + * sysdeps/stub/getsid.c: New file. + * posix/unistd.h [__USE_GNU]: Declare getsid. + +Sun Nov 26 12:44:38 1995 Roland McGrath + + * libc-symbols.h (N_): New macro. + +Sat Nov 25 02:48:47 1995 Ulrich Drepper + + * assert/assert-perr.c, assert/assert.c, inet/rcmd.c, + malloc/mcheck.c, malloc/vm-limit.c, posix/getconf.c, posix/id.c, + resolv/herror.c, sunrpc/auth_unix.c, sunrpc/clnt_perr.c, + sunrpc/clnt_raw.c, sunrpc/get_myaddr.c, sunrpc/pmap_clnt.c, + sunrpc/pmap_rmt.c, sunrpc/portmap.c, sunrpc/rpc_main.c, + sunrpc/rpc_parse.c, sunrpc/rpc_scan.c, sunrpc/rpc_util.c, + sunrpc/rpcinfo.c, sunrpc/svc_simple.c, sunrpc/svc_tcp.c, + sunrpc/svc_udp.c, time/zdump.c, time/zic.c: Mark translatable + strings. + +Sun Nov 26 02:00:02 1995 Ulrich Drepper + + * misc/syslog.c (vsyslog) [USE_IN_LIBIO]: Adapted for libio. + +Thu Nov 23 02:21:55 1995 Ulrich Drepper + + * sysdeps/unix/sysv/linux/{mlock,munlock,mlockall,munlockall}.S: + New files. + * sysdeps/unix/sysv/linux/sys/mman.h: Add prototypes for new functions + mlock, munlock, mlockall, and munlockall. + +Thu Nov 23 18:26:52 1995 Roland McGrath + + * configure.in (--enable-libio): Set $stdio based on $enableval, + not always to libio. + +Thu Nov 23 18:06:48 1995 Richard Stallman + + * malloc/malloc.c (_malloc_internal): Can't use + get_contiguous_space when the heap info table + will be growing. Account for new contiguous space in _heaplimit. + +Wed Nov 22 12:37:39 1995 Roland McGrath + + * sysdeps/unix/sysv/linux/i386/sysdep.S (_errno): Define as alias + for errno. + + * stdio-common/vfprintf.c [USE_IN_LIBIO] (vfprintf): Define as + alias for _IO_vfprintf. + + * sysdeps/unix/sysv/linux/sockaddrcom.h: File removed. + + * sysdeps/unix/sysv/linux/i386/init-first.c (init): Use + __fpu_control instead of ___fpu_control. + * sysdeps/unix/sysv/linux/i386/ieee_fpu.c + (___fpu_control): Renamed to __fpu_control. + * sysdeps/unix/sysv/linux/i386/fpu_control.h: Likewise. + * sysdeps/unix/sysv/linux/i386/fpu_control.c: Likewise. + + * elf/dl-minimal.c: New file. + * elf/Makefile (rtld-routines): Add dl-minimal. + * elf/rtld.c (__dgettext, __assert_fail, __assert_perror_fail): + Functions moved to dl-minimal.c. + * sysdeps/mach/hurd/dl-sysdep.c (malloc, free, realloc, + sigjmp_save, longjmp): Likewise. + + * sysdeps/unix/sysv/linux/i386/brk.S (__curbrk): Always initialize + to &_end, regardless of PIC. + + * stdio-common/vfscanf.c (__vfscanf): Fix arg name in defn. + +Tue Nov 21 14:12:13 1995 Roland McGrath + + * malloc/malloc.c (align): Don't check contiguity and call abort. + + * hurd/hurdsig.c (post_reply): Function removed. + (abort_thread, abort_all_rpcs, _hurdsig_abort_rpcs): Don't call it. + Take single callback fn arg instead of reply port and type. + (_hurd_internal_post_signal): Callers changed. + Cache reply stub fn ptr in local var before UNTRACED might be changed. + + * sysdeps/mach/hurd/mmap.c: Cope with a null write memobj for + PROT_READ|PROT_WRITE copy mapping. Pass a proper vm_inherit_t to + vm_map. + + * elf/rtld.c (_dl_start): For --list, do output and exit before + relocating. + +Mon Nov 20 16:19:15 1995 Roland McGrath + + * intl/Makefile [gettext-srcdir]: Rewrote copying rules to only + get .c and .h files. + + * malloc/malloc.c (align): Use abort instead of assert. + +Sun Nov 19 18:23:07 1995 Roland McGrath + + * Makeconfig (+includes): Add $($(stdio)-include). + (libio-include): New variable. + + * stdlib/strtod.c: Put weak_symbol after function defn. + * stdlib/strtol.c: Likewise. + + * configure.in (--enable-libio): If not present, set $stdio to + "default". Move stdio/libio check to end, so sysdeps fragments + can affect it. Reset $stdio to "stdio" if it's "default". + * sysdeps/unix/sysv/linux/configure: New file. + +Sat Nov 18 16:46:01 1995 Ulrich Drepper + + * libio/Makefile, libio/cleanup.c, libio/clearerr.c, libio/feof.c, + libio/ferror.c, libio/fgetc.c, libio/filedoalloc.c, libio/fileno.c, + libio/fileops.c, libio/fputc.c, libio/freopen.c, libio/fseek.c, + libio/genops.c, libio/getc.c, libio/getchar.c, libio/iofclose.c, + libio/iofdopen.c, libio/iofflush.c, libio/iofgetpos.c, libio/iofgets.c, + libio/iofopen.c, libio/iofprintf.c, libio/iofputs.c, libio/iofread.c, + libio/iofscanf.c, libio/iofsetpos.c, libio/ioftell.c, libio/iofwrite.c, + libio/iogetdelim.c, libio/iogetline.c, libio/iogets.c, libio/iolibio.h, + libio/iopadn.c, libio/ioprims.c, libio/ioputs.c, libio/ioseekoff.c, + libio/ioseekpos.c, libio/iosetbuffer.c, libio/iosetvbuf.c, + libio/iosprintf.c, libio/ioungetc.c, libio/iovsprintf.c, + libio/iovsscanf.c, libio/libio.h, libio/libioP.h, libio/putc.c, + libio/putchar.c, libio/rewind.c, libio/setbuf.c, libio/setlinebuf.c, + libio/stdfiles.c, libio/stdio.c, libio/stdio.h, libio/strfile.h, + libio/strops.c, libio/vasprintf.c, libio/vscanf.c, libio/vsnprintf.c: + New files. Slightly modified version from Linux libc. + + * libio/memstream.c, libio/vdprintf.c: New files for functions not + (yet) part of GNU libio. + + * libio/iofopncook.c: Implementation of `fopencookie', mainly written + by Per Bothner. + + * stdio-common/getline.c: Adapted to libio. + * stdio-common/snprintf.c: Adapted to libio. + * stdio-common/vfprintf.c: Adapted to libio. + * stdio-common/vfscanf.c: Adapted to libio. + * sysdeps/posix/tempname.c: Adapted to libio. + +Fri Nov 17 17:57:00 1995 Roland McGrath + + * sysdeps/generic/Makefile (make_siglist): Add missing backslash. + + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): New + function. + + * hurd/hurdfault.c: Replace __libc_fatal calls with assert_perror. + (_hurdsig_fault_init): Remove #if 0 from setting exception port. + Insert send right for SIGEXC before thread_set_special_port. + * hurd/hurdsig.c: Replace __libc_fatal calls with assert_perror. + (_hurdsig_init): Remove #if 0 from setting exception port. + + * sysdeps/mach/hurd/ptrace.c (ptrace: PTRACE_CONT): Use + HURD_MSGPORT_RPC macro. + +Thu Nov 16 06:07:49 1995 Roland McGrath + + * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): New + function. + (_dl_sysdep_start): Move cleanup code there. + + * Makeconfig (default-rpath): New variable. + (link-libc): Use it. + * elf/Makefile (ld.so): Pass -rpath=$(default-rpath). + * elf/rtld.c (_dl_rpath): New variable. + (_dl_start): Set it from rtld_map's DT_RPATH. + Call _dl_setup_hash on rtld_map. + (dl_main): Cache address of _exit in variable before relocating, + and use that in later calls. Call _dl_sysdep_start_cleanup before + relocating. Keep track of dependency order while loading; remove + rtld_map from chain, and reinsert in proper order if there is a + dependency on it. + + * sysdeps/generic/Makefile (make_siglist): Pass + -DSIGNUM_H=... with config's signum.h location. + * sysdeps/generic/make_siglist.c: Include SIGNUM_H to define + signal numbers. + (HAVE_STRSIGNAL, HAVE_PSIGNAL): Define these before including signame.c + (main): Deansideclize output. + + * elf/dl-load.c (_dl_map_object): Use _dl_rpath variable in place + of DEFAULT_RPATH macro. + * elf/Makefile: Undo last change. + + * sysdeps/mach/hurd/dl-sysdep.c (free): Don't abort, just nop. + +Wed Nov 15 19:22:07 1995 Roland McGrath + + * elf/dl-lookup.c (_dl_lookup_symbol): Undefined symbol is no + error if weak. + + * elf/Makefile (default-rpath): New variable. + (CPPFLAGS): Append -DDEFAULT_RPATH=.... + * elf/dl-load.c (_dl_map_object): Use DEFAULT_RPATH instead of + hard-coded "/lib:/usr/lib". + + * sysdeps/mach/hurd/dl-sysdep.c: Include _itoa.h from stdio-common + instead of stdio. + (_dl_sysdep_start): If passed user entry is zero and + EXEC_STACK_ARGS flag set, reset user entry to &_start. + + * elf/rtld.c (dl_main): Only call _dl_setup_hash if there is a + DT_HASH element. + + * libc-symbols.h [HAVE_ELF] (symbol_set_declare): Gratuitously + repeat weak decl using weak_symbol macro, in case using broken GCC + (<2.8). + +Wed Nov 15 18:49:55 1995 Ulrich Drepper + + * sysdeps/i386/isnanl.c: New file. + * sysdeps/i386/isinfl.c: New file. + +Tue Nov 14 18:44:21 1995 Roland McGrath + + * malloc/free.c (free): Moved null and aligned_blocks checks + inside _free_internal. + +Mon Nov 13 15:23:01 1995 Roland McGrath + + * malloc/malloc.c (morecore): Fix inverted test in allocating new + info table. + + * malloc/malloc.c (align): Fix assertion. + + * malloc/malloc.c: Include assert.h. + + * libc-symbols.h: Use __attribute__ for GCC 2.8, not 2.7. + + * malloc/malloc.h [emacs] (emacs_loser_valloc): Macro removed. + (valloc): Protect decl with [! (_MALLOC_INTERNAL && emacs)]. + +Fri Nov 10 14:15:21 1995 Roland McGrath + + * malloc/malloc.c (align): Assert that space for alignment + adjustment is same original space. + + * hurd/hurdprio.c (_hurd_priority_which_map): Cast vm_deallocate + arg to vm_address_t. + + * hurd/hurdsig.c (_hurd_internal_post_signal): For SIGNO == 0, + skip straight to pending check. When UNTRACED, resume process + from suspension first. + + * intl/Makefile (headers): New variable, libintl.h. + [gettext-srcdir]: New rules to copy source from $(gettext-srcdir)/intl. + * configure.in: Check for --with-gettext arg. + +Fri Nov 10 13:51:30 1995 Richard Stallman + + * malloc/malloc.c (get_contiguous_space): New function. + (morecore): Rewrite allocating new malloc info table. + (_malloc_internal): Use get_contiguous_space. + +Fri Nov 10 13:03:40 1995 Roland McGrath + + * hurd/hurdexec.c (_hurd_exec): If exec'ing self, pass + _hurd_msgport to be destroyed. + + * Makerules (installed-libcs): Filter out %_pic.a. + + * hurd/hurdinit.c (_hurd_proc_init): When traced, use msg_sig_post + to our msgport to take SIGTRAP, instead of _hurd_raise_signal. + + * hurd/Makefile (user-interfaces): Add hurd/process_request. + +Wed Nov 8 16:31:25 1995 Roland McGrath + + * termios/Makefile (headers): Add sys/ttychars.h. + * termios/sys/ttychars.h: New file, incorporated from 4.4BSD-Lite + for compatibility. + + * signal/signal.h [__USE_BSD] (sig_t): New typedef. + +Wed Nov 8 15:12:47 1995 Michael I. Bushnell, p/BSG + + * sysdeps/mach/hurd/ptrace.c (ptrace) [PTRACE_TRACEME]: Notify the + proc server that we are now traced. + +Tue Nov 7 12:29:46 1995 Roland McGrath + + * elf/Makefile (ldd): Make it executable. + + * Makeconfig (config-LDFLAGS): Find dynamic linker in $(slibdir). + + * Makeconfig (slibdir): New variable. + * Makerules (install): Install libc.so in $(slibdir). + * elf/Makefile (install-others): Install ld.so and ld-linux.so.1 + in $(slibdir). + + * elf/linux-compat.c: New file. + * elf/Makefile (distribute): Add linux-compat.c. + (generated): Add librtld.so. + [$(config-os)=linux*] (extra-objs): Add linux-compat.so. + [$(config-os)=linux*] (extra-objs): Add ld-linux.so.1. + (librtld.so): New target. + (ld.so, ld-linux.so.1): Make from librtld.so. + + * elf/rtld.c (dl_main): Instead of weak call to _dl_compat_init, + call our own DT_INIT if we have one (and then clear it). + (__dgettext): New weak function. + + * intl/localealias.c (read_alias_file): Avoid sprintf; use memcpy + by hand instead. + + * sysdeps/generic/_strerror.c (_strerror_internal): Use _itoa + instead of snprintf. + + * sysdeps/mach/_strerror.c (_strerror_internal): Don't write + BUF[BUFLEN]. + + * elf/rtld.c (rtld_map): New static variable. + (_dl_start): Use a differently named local BOOTSTRAP_MAP for the + bootstrapping. Then copy data into `rtld_map'. + (dl_main): Finish filling in rtld_map and link it into the chain, + instead of allocating a new structure. + (dl_main): Call _dl_compat_init if it is defined (use weak ref). + + * elf/dlsym.c: Fix last change: move REF out of `doit'. + +Mon Nov 6 16:20:14 1995 Roland McGrath + + * elf/dlsym.c: Return the proper value, not just the defining + object's loadbase. + +Sun Nov 5 16:09:13 1995 Roland McGrath + + * stdio-common/vfprintf.c (%c): Count the character itself towards + the field width in all cases. + + * sysdeps/mach/hurd/getpriority.c (getpriority): Cast + __vm_deallocate arg to vm_address_t. + +Fri Nov 3 17:27:49 1995 Roland McGrath + + * sysdeps/mach/hurd/sendto.c: Don't pass BINDING arg to + socket_create_address. + * sysdeps/mach/hurd/connect.c: Likewise. + * sysdeps/mach/hurd/bind.c: Likewise. + + * hurd/hurdprio.c (_hurd_priority_which_map): Pass threadwaits + args to proc_getprocinfo. + * sysdeps/mach/hurd/getpriority.c: Likewise. + + * hurd/hurdmsg.c (_S_msg_report_wait): New stub function. + +Thu Nov 2 19:24:37 1995 Roland McGrath + + * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Define as common. + +Tue Oct 31 00:07:29 1995 Roland McGrath + + * sysdeps/mach/hurd/getpriority.c (getpriority): Pass + PI_FETCH_TASKINFO to proc_getprocinfo and through + _hurd_priority_which_map. + + * sysdeps/mach/hurd/setpriority.c (setpriority): Pass new arg to + _hurd_priority_which_map. + * hurd/hurdprio.c (_hurd_priority_which_map): New arg PI_FLAGS, + passed through to proc_getprocinfo RPC. + * hurd/hurd/resource.h: Add PI_FLAGS arg in decl. + + * sysdeps/mach/hurd/group_member.c: New file. + * sysdeps/generic/group_member.c: New file. + + * Makerules (lib-noranlib): Don't depend on $(install-lib). + (others): Do. + * extra-lib.mk: Fix test of $(lib)-no-lib-dep. + +Mon Oct 30 12:33:10 1995 Roland McGrath + + * Rules (others): Depend on $(extra-objs). + + * posix/unistd.h [__USE_GNU]: Declare group_member, __group_member. + * posix/Makefile (routines): Add group_member. + + * sysdeps/posix/euidaccess.c: New file, adapted from fileutils. + + * sysdeps/unix/sysv/linux/i386/sigaction.c: Tighten constraint for + SIG operand in asm so it must be a register. + Add dead return to quiet gcc warning. + + * Makerules (sysd-rules): Write a defn for sysd-rules-done. + [! sysd-rules-done]: Inhibit deps. + +Thu Oct 26 23:11:11 1995 Ulrich Drepper + + * sysdeps/unix/sysv/linux/poll.c: Don't define as stub. Use + simulation of system call using select. + + * sysdeps/unix/sysv/linux/signal.c: Use POSIX implementation. + + * sysdeps/unix/sysv/linux/statbuf.h: Define _STAT_VER. + + * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct parameter + name usage (new->act, old->oact). + Correct asm statement because of gcc strangeness. + + * sysdeps/i386/i586/strchr.S: Correct typos: cmp -> cmpb. + + * sunrpc/clnt_perr.c: Remove declaration of sys_errlist. They + conflict with the ones in stdio.h. + + * string/tester.c: %Z is no complete format. Change to %Zd. + +Thu Oct 26 18:13:33 1995 Miles Bader + + * sysdeps/mach/hurd/bind.c (bind): Swap args to dir_link. + * sysdeps/mach/hurd/link.c (__link): Ditto. + * sysdeps/mach/hurd/symlink.c (__symlink): Ditto. + * sysdeps/mach/hurd/mknod.c (__mknod): Ditto. + Include "stdio-common/_itoa.h" instead of "stdio/_itoa.h". + +Thu Oct 26 00:11:13 1995 Roland McGrath + + * sysdeps/unix/sysv/linux/i386/sigaction.c: New file. + + * sysdeps/unix/sysv/linux/i386/xstat.S: Don't use JUMPTARGET macro + on syscall_error. For PIC, it is a local label; + for non-PIC, JUMPTARGET expands to the unadorned name anyway. + * sysdeps/unix/sysv/linux/i386/xmknod.S: Likewise. + * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise. + * sysdeps/unix/sysv/linux/i386/socket.S: Likewise. + * sysdeps/unix/sysv/linux/i386/sbrk.S: Likewise. + * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/i386/brk.S: Likewise. + +Thu Oct 26 03:01:22 1995 Ulrich Drepper + + * sysdeps/unix/sysv/linux/syscall.h: Strip list of syscalls in + comment to the necessary ones. Add _readv and _writev. + + * sysdeps/unix/configure.in: Change syntax for system call test + candidates and adapt sed script for this. Now use : to separate + syscall name and file name. + + * sysdeps/unix/sysv/linux/i386/sysdep.h (ENTRY): System call + number is now set is DO_CALL. So call with additional argument. + (DO_CALL): Takes an additional argument. Load system call + number according to new argument. + (SYSCALL_ERROR_HANDLER): Add ; after last ret statement. + * sysdeps/unix/sysv/linux/i386/brk.S [PIC]: Define __syscall_error + locally using SYSCALL_ERROR_HANDLER macro. + * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/i386/sbrk.S: Likewise. + * sysdeps/unix/sysv/linux/i386/socket.S: Likewise. + * sysdeps/unix/sysv/linux/i386/xmknod.S: Likewise. + * sysdeps/unix/sysv/linux/i386/xstat.S: Likewise. + * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise. + Don't use DO_CALL macro; instead use lower level macros for better + control. + + * sysdeps/unix/sysv/linux/sigaction.h: New file. + * sysdeps/unix/sysv/linux/sigaction.S: File removed. + * sysdeps/unix/sysv/linux/signal.S: File removed. + +Wed Oct 25 14:23:35 1995 Roland McGrath + + * hurd/hurdstartup.c (_hurd_startup): Use new + exec_startup_get_info RPC from exec_startup.defs + in place of old exec_startup from exec.defs. Remove kludge to + guess user entry and phdr locations, since the new RPC gives us + that info. + + * stdio/stdio.h (sys_errlist, _sys_errlist): Declare const. + * sysdeps/generic/_strerror.c: Undo last change. + + * sysdeps/unix/sysv/linux/stat.c: New file. + * sysdeps/unix/sysv/linux/fstat.c: New file. + * sysdeps/unix/sysv/linux/lstat.c: New file. + * sysdeps/unix/sysv/linux/i386/stat.S: File removed. + * sysdeps/unix/sysv/linux/i386/fstat.S: File removed. + * sysdeps/unix/sysv/linux/i386/lstat.S: File removed. + +Tue Oct 24 15:22:58 1995 Roland McGrath + + * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER): + New macro. + (PSEUDO): Use it instead of SYSCALL_PIC_SETUP and jmp syscall_error. + + * sysdeps/unix/sysv/linux/i386/sysdep.S (__syscall_error): Define + only #ifndef PIC. + + * Makeconfig (built-program-cmd): New variable. + * sunrpc/Makefile (rpcgen-cmd): Use $(built-program-cmd). + * time/Makefile (zic-cmd): Likewise. + + * hurd/Makefile (user-interfaces): Add hurd/exec_startup. + + * sunrpc/Makefile (librpcsvc-no-lib-dep): New variable. + * extra-lib.mk: If $(lib)-no-lib-dep is defined and MAKELEVEL>0, + make `others' rather than `lib-noranlib' depend on the libraries. + + * sysdeps/unix/configure.in: Check for fchdir syscall. + Improve sed script to allow / on rhs without / on lhs. + +Thu Oct 19 03:47:32 1995 Ulrich Drepper + + * sysdeps/unix/sysv/linux/termbits.h: Don't define speed constants. + + * elf/rtld.c: Include _itoa.h from stdio-common instead of stdio. + + * sysdeps/unix/sysv/linux/select.S: New file. + +Wed Oct 18 03:33:22 1995 Roland McGrath + + * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Use + SYSCALL_PIC_SETUP before jumping to syscall_error. + * sysdeps/unix/i386/sysdep.h (SYSCALL_PIC_SETUP): New macro. + (PSEUDO): Use it before jumping to syscall_error. + * sysdeps/unix/i386/sysdep.S [! PIC]: Don't find GOT address; + expect it in %ebx on entry. Pop old %ebx value off stack after + using it. + + * signal/signal.h [__USE_BSD] (_sys_siglist, sys_siglist): Declare + them. + + * sysdeps/generic/_strerror.c: Declare _sys_errlist and _sys_nerr. + + * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): For magic + `fd/', pass the right pointer to strtol to parse the number. + +Tue Oct 17 23:00:10 1995 Roland McGrath + + * sysdeps/mach/_strerror.c: Include stdio-common/_itoa.h instead + of stdio/_itoa.h. + +Tue Oct 17 19:51:17 1995 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/stat.S [PIC] (__stat): Set GOT + register %ebx before calling __xstat through PLT. + + * sysdeps/unix/sysv/linux/i386/sysdep.S: Fix typo in comment. + + * sysdeps/unix/sysv/linux/sigset.h: Remove file. + +Tue Oct 17 01:21:21 1995 Roland McGrath + + * hurd/hurdsock.c: Include stdio-common/_itoa.h instead of + stdio/_itoa.h. + * hurd/hurdlookup.c: Likewise. + + * hurd/hurd/signal.h: Declare hurd_preempt_signals and + hurd_unpreempt_signals. + + * stdio/stdio.h: Declare __snprintf and __vsnprintf. + + * stdio-common/psignal.c: Translate signal description strings. + * string/strsignal.c: Likewise. + * sysdeps/generic/_strerror.c (_strerror_internal): Translate + error strings. + * sysdeps/mach/_strerror.c: Likewise. + + * stdio-common/snprintf.c (__snprintf): Renamed from snprintf; + call __vsnprintf. + (snprintf): Define as weak alias. + * stdio/vsnprintf.c (__vsnprintf): Renamed from vsnprintf. + (vsnprintf): Define as weak alias. + +Mon Oct 16 03:22:37 1995 Roland McGrath + + * Makerules (install-lib): Filter out %_pic.a; install only the + linked shared objects. + + * locale/Makefile (aux): Add SYS_libc. + * locale/SYS_libc.c: New file. + * libc-symbols.h [! ASSEMBLER] (_): New macro. + + * configure.in (libc_cv_asm_set_directive): Link program into + conftest instead of letting it default to a.out. + + * elf/Makefile (install-others): Add missing slash. + + * elf/ldd.sh.in: Prepend `./' to relative file names so ld.so + won't search LD_LIBRARY_PATH. + + * Makefile (subdirs): Replace stdio with stdio-common and $(stdio). + * configure.in: Grok arg --enable-libio. + ($stdio = libio): Define USE_IN_LIBIO. + * config.h.in (USE_IN_LIBIO): Add #undef. + * config.make.in (stdio): New variable, set by configure. + * Makeconfig (stdio): New variable. + * stdio.h [USE_IN_LIBIO]: Include libio/stdio.h instead of + stdio/stdio.h. + * stdio-common/Makefile: New file. + * stdio/Makefile: Half the contents moved to stdio-common/Makefile. + * stdio/_itoa.c: Moved to stdio-common. + * stdio/_itoa.h: Moved to stdio-common. + * stdio/asprintf.c: Moved to stdio-common. + * stdio/bug1.c: Moved to stdio-common. + * stdio/bug1.input: Moved to stdio-common. + * stdio/bug2.c: Moved to stdio-common. + * stdio/bug3.c: Moved to stdio-common. + * stdio/bug4.c: Moved to stdio-common. + * stdio/bug5.c: Moved to stdio-common. + * stdio/bug6.c: Moved to stdio-common. + * stdio/bug6.input: Moved to stdio-common. + * stdio/bug7.c: Moved to stdio-common. + * stdio/dprintf.c: Moved to stdio-common. + * stdio/errnobug.c: Moved to stdio-common. + * stdio/getline.c: Moved to stdio-common. + * stdio/getw.c: Moved to stdio-common. + * stdio/perror.c: Moved to stdio-common. + * stdio/printf-parse.h: Moved to stdio-common. + * stdio/printf-prs.c: Moved to stdio-common. + * stdio/printf.c: Moved to stdio-common. + * stdio/printf.h: Moved to stdio-common. + * stdio/printf_fp.c: Moved to stdio-common. + * stdio/psignal.c: Moved to stdio-common. + * stdio/putw.c: Moved to stdio-common. + * stdio/reg-printf.c: Moved to stdio-common. + * stdio/scanf.c: Moved to stdio-common. + * stdio/snprintf.c: Moved to stdio-common. + * stdio/sprintf.c: Moved to stdio-common. + * stdio/sscanf.c: Moved to stdio-common. + * stdio/tempnam.c: Moved to stdio-common. + * stdio/temptest.c: Moved to stdio-common. + * stdio/test-fseek.c: Moved to stdio-common. + * stdio/test-fwrite.c: Moved to stdio-common. + * stdio/test-popen.c: Moved to stdio-common. + * stdio/test_rdwr.c: Moved to stdio-common. + * stdio/tmpfile.c: Moved to stdio-common. + * stdio/tmpnam.c: Moved to stdio-common. + * stdio/tst-fileno.c: Moved to stdio-common. + * stdio/tst-printf.c: Moved to stdio-common. + * stdio/tstgetln.c: Moved to stdio-common. + * stdio/tstgetln.input: Moved to stdio-common. + * stdio/tstscanf.c: Moved to stdio-common. + * stdio/tstscanf.input: Moved to stdio-common. + * stdio/vfprintf.c: Moved to stdio-common. + * stdio/vfscanf.c: Moved to stdio-common. + * stdio/vprintf.c: Moved to stdio-common. + * stdio/xbug.c: Moved to stdio-common. + * sysdeps/generic/Makefile (siglist.c rules): Do this in subdir + stdio-common instead of stdio. + * sysdeps/unix/Makefile (errlist.c rules): Likewise. + * stdio-common/asprintf.c [USE_IN_LIBIO]: Call libio primitive + function. + * stdio-common/dprintf.c: Likewise. + * stdio-common/printf.c: Likewise. + * stdio-common/scanf.c: Likewise. + * stdio-common/snprintf.c: Likewise. + * stdio-common/sprintf.c: Likewise. + * stdio-common/sscanf.c: Likewise. + * stdio-common/vprintf.c: Likewise. + + * Makerules: Include $(+depfiles) directly instead of generating + depend-$(subdir). + (depend-$(subdir)): Target removed. + (common-clean): Don't remove depend-$(subdir). + + * sysdeps/unix/sysv/linux/Makefile (rtld-installed-name): New variable. + (config-LDFLAGS): Variable removed. + + * sysdeps/mach/hurd/getcwd.c: Use __file_name_lookup_under. + * sysdeps/mach/hurd/bind.c: Likewise. + * sysdeps/mach/hurd/access.c: Use new __hurd_file_name_lookup + calling convention. + + * hurd/hurdexec.c: Undo last change (10 Oct 95). + +Sun Oct 15 21:04:13 1995 Roland McGrath + + * hurd/hurd/lookup.h: New file. + * hurd/hurdlookup.c (__file_name_lookup_under): New function. + (__hurd_file_name_lookup, __hurd_file_name_lookup_retry, + __hurd_file_name_split): Rewritten to take callback functions for + using any needed init or dtable port, instead of passing in crdir + and cwdir ports. + (__file_name_lookup, __file_name_split): Use new calling + convention; pass _hurd_ports_use and __getdport as the callback + functions. + + * sysdeps/mach/hurd/chroot.c: Use __file_name_lookup_under instead + of __hurd_file_name_lookup. + * sysdeps/mach/hurd/chdir.c: Likewise. + * sysdeps/mach/hurd/fchdir.c: Likewise. + * hurd/fchroot.c: Likewise. + + * stdlib/Makefile (mpn-found): Don't omit %.s. + (mpn-copy-sysdep): Omit files in nonexistent directories. + (copy-mpn): Commit files to CVS. + * stdlib/gen-mpn-copy (translations): Update translations for GMP + 1.906.7. + + * configure.in (machine): Translate alpha* to alpha/&, hppa* to hppa/&. + +Sat Oct 14 02:52:36 1995 Ulrich Drepper + + * malloc/malloc.c (_malloc_internal): Performance fix. Move + if statement out of loop. + + * stdio/_itoa.c, stdio/_itoa.h: Complete rewrite. Much faster + implementation using GMP functions. Contributed by + Torbjorn Granlund and Ulrich Drepper. + + * stdio/test_rdwr.c: Include . + + * sysdeps/i386/i586/Implies: New file. + + New highly optimized string functions for i[345]86. + * sysdeps/i386/memchr.S, sysdeps/i386/memcmp.S: New files. + * sysdeps/i386/stpcpy.S, sysdeps/i386/stpncpy.S: New files. + * sysdeps/i386/strchr.S, sysdeps/i386/strcspn.S: New files. + * sysdeps/i386/strpbrk.S, sysdeps/i386/strrchr.S: New files. + * sysdeps/i386/strspn.S, sysdeps/i386/i486/strcat.S: New files. + * sysdeps/i386/i486/strlen.S, sysdeps/i386/i586/strchr.S: New files. + * sysdeps/i386/i586/strlen.S: New file. + * sysdeps/i386/memchr.c: Removed. There is now an assembler version. + + * sysdeps/i386/i586/memcopy.h (WORD_COPY_BWD): Parameters did + not correspond to used values. + + * sysdeps/unix/sysv/linux/nfs/nfs.h: New file. Simply a wrapper + around a kernel header file. + * sysdeps/unix/sysv/linux/Dist: Add it. + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=sunrpc] (headers): + Likewise. + + * sysdeps/unix/sysv/linux/local_lim.h: Rewrite. Instead of + defining ourself we use a kernel header file. + + * sysdeps/unix/sysv/linux/i386/sysdep.h (DO_CALL): Optimize system + call handler for i586. + + * sysdeps/unix/sysv/linux/sys/param.h: Add copyright and clean up. + +Thu Oct 12 15:45:32 1995 Roland McGrath + + * hurd/hurd.h (file_name_lookup_under): Declare it. + * hurd/Makefile (headers): Add hurd/lookup.h. + + * hurd/hurdinit.c (_hurd_ports_use): New function. + * hurd/hurd.h (_hurd_ports_use): Declare it. + (hurd_invoke_translator, hurd_file_name_lookup, hurd_file_name_split, + hurd_file_name_lookup_retry): Remove these decls. + * hurd/Makefile (routines): Remove invoke-trans. + +Wed Oct 11 00:00:00 1995 Roland McGrath + + * sysdeps/i386/dl-machine.h (elf_machine_rel): Use +=, not =, to + apply R_386_PC32 reloc. + + * Makeconfig (config-LDFLAGS): Add missing slash. + + * sysdeps/mach/hurd/profil.c (fork_profil): Only call + update_waiter if profiling was enabled in the parent. + + * csu/initfini.c: Don't pass -f flag to cp. + +Tue Oct 10 23:08:53 1995 Roland McGrath + + * Makerules (build-shlib): Pass -rpath and -rpath-link options. + (LDFLAGS-c.so): Don't pass -dynamic-linker here. + * Makeconfig (+link): Pass $(sysdep-LDFLAGS). + (link-libc): Pass -rpath and -rpath-link options. + + * MakeTAGS (all-dirs): Omit CVS directories. + Specify vpath directives to find source files in $(all-dirs). + (sources, headers): Append sources and headers from $(all-dist) to + these. + (all-dist): Filter them out of this. + (all-headers, all-sources): Use $(shell find ...) instead of + $(wildcard ...). + + * sysdeps/mach/hurd/Makefile (sysdep-LDFLAGS): New variable; pass + -rpath-link. + + * hurd/hurdexec.c: Pass poly and dealloc args to __file_exec. + + * elf/Makefile (install-others): Add missing $. + +Mon Oct 9 02:54:14 1995 Roland McGrath + + * mach/Makefile ($(objpfx)errsystems.c): Rule reenabled. + + * Makeconfig (config-LDFLAGS): Define to + -Wl-dynamic-linker=$(libdir)$(rtld-installed-name). + (rtld-installed-name): New variable. + * elf/Makefile (install-lib): Variable removed. + (install-others): Define this instead, to + $(libdir)(rtld-installed-name). + ($(libdir)(rtld-installed-name)): New target; install from ld.so. + + * elf/ldd.sh.in: New file. + * elf/Makefile (distribute): Add ldd.sh.in. + (install-bin): Add ldd. + ($(objpfx)ldd: ldd.sh.in): New rule. + + * sysdeps/mach/hurd/dl-sysdep.c: Use __hurd_fail throughout. + * hurd/hurd.h (__hurd_fail): Replace macro with inline function. + Translate some Mach errors to Hurd errors. + + * elf/rtld.c (dl_main): Under --list, print msg if executable is + statically linked. + + * elf/dl-load.c (_dl_map_object_from_fd): Rewrote program header + table processing. + +Sat Oct 7 01:25:48 1995 Roland McGrath + + * sysdeps/stub/machine-gmon.h: Add #error. + +Fri Oct 6 01:49:48 1995 Roland McGrath + + * elf/dynamic-link.h (elf_get_dynamic_info): If DYN is null, don't + examine it. + +Fri Sep 29 03:43:51 1995 Paul Eggert + + Rewrite mktime from scratch for performance, and for correctness + in the presence of leap seconds. + + * time/mktime.c (ydhms_tm_diff, not_equal_tm, print_tm, check_result): + New functions. + (LEAP_SECONDS_POSSIBLE, CHAR_BIT, INT_MIN, INT_MAX, + TIME_T_MIN, TIME_T_MAX, TM_YEAR_BASE, EPOCH_YEAR): New macros. + , : New #includes. + (main): Support tests with given broken-down value; support benchmarks. + (__mon_lengths, debugging_enabled, printtm, dist_tm, doit, + do_normalization, normalize, BAD_STRUCT_TM, SKIP_VALUE, + ): Remove. + + * time/time.h, time/mktime.c (__mktime_internal): New offset arg. + * time/mktime.c (mktime), time/timegm.c (timegm): Use it. + + * time/mktime.c (__mon_yday): New variable; replaces `__mon_lengths'. + time/offtime.c (__offtime), time/tzset.c (compute_change): Use it. + + * time/offtime.c (__offtime): Remove useless assignment + `tp->tm_isdst = -1'. + + * manual/maint.texi: Update credits. + +Fri Oct 6 00:28:53 1995 Roland McGrath + + * sysdeps/unix/common/readv.S: Moved to sysdeps/unix/bsd. + * sysdeps/unix/common/writev.S: Moved to sysdeps/unix/bsd. + * sysdeps/unix/sysv/linux/readv.c: File removed. + * sysdeps/unix/sysv/linux/writev.c: File removed. + * sysdeps/unix/configure.in: Check for readv and writev syscalls. + + * sysdeps/unix/configure.in: If eval doesn't set $unix_srcname, + set it to $unix_syscall instead of $unix_function. + +Thu Oct 5 00:59:58 1995 Roland McGrath + + * elf/rtld.c (dl_main): Grok --list flag. + * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Ignore -- args. + +Wed Oct 4 00:21:03 1995 Roland McGrath + + * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_message): New function. + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_message): New function. + * elf/link.h (_dl_sysdep_message): Declare it. + + * sysdeps/unix/Makefile ($(common-objpfx)ioctls): Remove NULL from + the list. + + * time/northamerica: Corrections to Canada data from ADO 95i. + + * sysdeps/unix/sysv/linux/Makefile (headers): Don't append to this + unconditionally. In socket subdir, append sys/socketcall.h; in + time subdir, append sys/timex.h. + (config-LDFLAGS): New variable. + * sysdeps/unix/sysv/linux/Dist: New file. + * Makeconfig (+link): Pass $(config-LDFLAGS) before $(LDFLAGS). + + * sysdeps/generic/stpncpy.c: Don't increment DEST when zero-filling. + + * elf/dlopen.c (dlopen): Don't pass USER_ENTRY arg to _dl_map_object. + +Sat Sep 30 11:47:05 1995 Roland McGrath + + * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): If started by + kernel with args on stack, point _dl_hurd_data at zero data + instead of garbage. When ld.so run as program, grok args + -LIB=MEMOBJ and pre-load shared object files found in memory + objects loaded by the boot loader. + + * elf/link.h (struct link_map): New member `l_entry'. + (_dl_map_object, _dl_map_object_from_fd): Remove last arg ENTRY_POINT. + * elf/dl-load.c (_dl_map_object, _dl_map_object_from_fd): Remove + last arg ENTRY_POINT. Store the entry point location in the + `l_entry' member of the new map. + * elf/rtld.c (dl_main): Don't pass USER_ENTRY arg to + _dl_map_object. When run as program, set *USER_ENTRY to L->l_entry. + * elf/dl-init.c (_dl_init_next): Don't pass ENTRY_POINT arg to + _dl_map_object. + + * posix/tstgetopt.c, posix/tstgetopt.args: Test long options too. + + * sysdeps/unix/sysv/linux/i386/init-first.c (init): Save, set, and + restore %ebx by hand for personality syscall. + GCC cannot deal with spilling the dedicated GOT register. + + * misc/Makefile (routines): Add mntent, which was somehow omitted. + +Fri Sep 29 15:07:10 1995 Ulrich Drepper + + * sysdeps/unix/sysv/linux/adjtime.c (__adjtime): + Change name of field `mode' in `struct timex' to `modes'. + Linux-1.3.28 updates this name according to RFC 1589. + +Thu Sep 28 13:05:54 1995 Roland McGrath + + Merge new message handling code from GNU gettext, by Drepper. + * intl: New directory. + * Makefile (subdirs): Add intl. + + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Return + USER_ENTRY instead of storing it on our stack. + + * elf/rtld.c (rtld_command): Variable removed. + (_dl_skip_args): New variable. + (dl_main): Increment _dl_skip_args instead of setting rtld_command. + If the link_map for the executable itself is not first in the chain, + make it so. + * sysdeps/i386/dl-machine.h (RTLD_START): Use _dl_skip_args as + count of args to skip. + +Thu Sep 28 09:20:04 1995 Ulrich Drepper + + * stdlib/strtod.c (STRTOF): Fix handling of numbers with lots of + leading zeroes. + +Wed Sep 27 00:27:25 1995 Roland McGrath + + * sysdeps/mach/hurd/getcwd.c (__getcwd): Renamed from getcwd. + (getcwd): Define as weak alias. + * sysdeps/posix/getcwd.c: Likewise. + * sysdeps/stub/getcwd.c: Likewise. + * posix/unistd.h: Declare __getcwd. + + * string/string.h: Declare __strcasecmp. + * sysdeps/generic/strcasecmp.c (__strcasecmp): Renamed from + strcasecmp. + (strcasecmp): Define as weak alias. + + * string/string.h: Declare __stpcpy. + * sysdeps/generic/stpcpy.c (__stpcpy): Renamed from stpcpy. + (stpcpy): Define as weak alias. + + * sysdeps/unix/sysv/linux/Implies: Add unix/common. + + * sysdeps/unix/i386/sysdep.h [HAVE_ELF] (ASM_TYPE_DIRECTIVE): + Don't use `type' for arg name, since we are using it as a keyword + in the rhs. + + * sysdeps/unix/configure.in: Check for syscalls getpriority, + setpriority, getrlimit, setrlimit. + + * sysdeps/posix/truncate.c: Include fcntl.h. + + * sysdeps/generic/getdomain.c: Include string.h for strncpy decl. + + * sysdeps/stub/getpriority.c: Don't include obsolete gnu-stabs.h; + use new stub_warning syntax. + * sysdeps/stub/setpriority.c: Likewise. + * sysdeps/stub/__longjmp.c: Likewise. + * sysdeps/stub/_exit.c: Likewise. + * sysdeps/stub/accept.c: Likewise. + * sysdeps/stub/acos.c: Likewise. + * sysdeps/stub/alarm.c: Likewise. + * sysdeps/stub/asin.c: Likewise. + * sysdeps/stub/atan2.c: Likewise. + * sysdeps/stub/bind.c: Likewise. + * sysdeps/stub/cbrt.c: Likewise. * sysdeps/stub/chroot.c: Likewise. - * sysdeps/stub/clock.c: Likewise. - * sysdeps/stub/close.c: Likewise. * sysdeps/stub/closedir.c: Likewise. * sysdeps/stub/connect.c: Likewise. + * sysdeps/stub/cos.c: Likewise. + * sysdeps/stub/cosh.c: Likewise. * sysdeps/stub/ctermid.c: Likewise. * sysdeps/stub/cuserid.c: Likewise. - * sysdeps/stub/dirfd.c: Likewise. - * sysdeps/stub/dup.c: Likewise. - * sysdeps/stub/dup2.c: Likewise. - * sysdeps/stub/euidaccess.c: Likewise. - * sysdeps/stub/execve.c: Likewise. - * sysdeps/stub/fchdir.c: Likewise. - * sysdeps/stub/fchflags.c: Likewise. - * sysdeps/stub/fchmod.c: Likewise. - * sysdeps/stub/fchown.c: Likewise. - * sysdeps/stub/fcntl.c: Likewise. - * sysdeps/stub/fdopen.c: Likewise. - * sysdeps/stub/fexecve.c: Likewise. - * sysdeps/stub/flock.c: Likewise. - * sysdeps/stub/fork.c: Likewise. - * sysdeps/stub/fpathconf.c: Likewise. - * sysdeps/stub/fstatfs.c: Likewise. + * sysdeps/stub/defs.c: Likewise. + * sysdeps/stub/exp.c: Likewise. + * sysdeps/stub/fmod.c: Likewise. + * sysdeps/stub/frexp.c: Likewise. * sysdeps/stub/fsync.c: Likewise. - * sysdeps/stub/ftruncate.c: Likewise. - * sysdeps/stub/fxstat.c: Likewise. * sysdeps/stub/getcwd.c: Likewise. - * sysdeps/stub/getdents.c: Likewise. - * sysdeps/stub/getdomain.c: Likewise. - * sysdeps/stub/getdtsz.c: Likewise. - * sysdeps/stub/getegid.c: Likewise. * sysdeps/stub/getenv.c: Likewise. - * sysdeps/stub/geteuid.c: Likewise. - * sysdeps/stub/getgid.c: Likewise. - * sysdeps/stub/getgroups.c: Likewise. * sysdeps/stub/gethostid.c: Likewise. - * sysdeps/stub/gethostname.c: Likewise. - * sysdeps/stub/getitimer.c: Likewise. * sysdeps/stub/getlogin.c: Likewise. - * sysdeps/stub/getlogin_r.c: Likewise. - * sysdeps/stub/getpagesize.c: Likewise. * sysdeps/stub/getpeername.c: Likewise. - * sysdeps/stub/getpid.c: Likewise. - * sysdeps/stub/getppid.c: Likewise. - * sysdeps/stub/getpriority.c: Likewise. * sysdeps/stub/getrlimit.c: Likewise. - * sysdeps/stub/getrusage.c: Likewise. - * sysdeps/stub/getsid.c: Likewise. * sysdeps/stub/getsockname.c: Likewise. * sysdeps/stub/getsockopt.c: Likewise. - * sysdeps/stub/getsysstats.c: Likewise. - * sysdeps/stub/gettimeofday.c: Likewise. - * sysdeps/stub/getuid.c: Likewise. - * sysdeps/stub/gtty.c: Likewise. - * sysdeps/stub/ioctl.c: Likewise. - * sysdeps/stub/isatty.c: Likewise. - * sysdeps/stub/isfdtype.c: Likewise. - * sysdeps/stub/kill.c: Likewise. - * sysdeps/stub/killpg.c: Likewise. - * sysdeps/stub/link.c: Likewise. * sysdeps/stub/listen.c: Likewise. - * sysdeps/stub/lseek.c: Likewise. - * sysdeps/stub/lxstat.c: Likewise. - * sysdeps/stub/madvice.c: Likewise. - * sysdeps/stub/mkdir.c: Likewise. + * sysdeps/stub/log.c: Likewise. + * sysdeps/stub/log10.c: Likewise. * sysdeps/stub/mkfifo.c: Likewise. - * sysdeps/stub/mkstemp.c: Likewise. - * sysdeps/stub/mktemp.c: Likewise. - * sysdeps/stub/mmap.c: Likewise. * sysdeps/stub/morecore.c: Likewise. - * sysdeps/stub/mprotect.c: Likewise. - * sysdeps/stub/msgctl.c: Likewise. - * sysdeps/stub/msgget.c: Likewise. - * sysdeps/stub/msgrcv.c: Likewise. - * sysdeps/stub/msgsnd.c: Likewise. - * sysdeps/stub/msync.c: Likewise. - * sysdeps/stub/munmap.c: Likewise. - * sysdeps/stub/nanosleep.c: Likewise. * sysdeps/stub/nice.c: Likewise. * sysdeps/stub/nlist.c: Likewise. - * sysdeps/stub/open.c: Likewise. * sysdeps/stub/opendir.c: Likewise. - * sysdeps/stub/pathconf.c: Likewise. - * sysdeps/stub/pause.c: Likewise. - * sysdeps/stub/pipe.c: Likewise. * sysdeps/stub/pipestream.c: Likewise. - * sysdeps/stub/poll.c: Likewise. - * sysdeps/stub/profil.c: Likewise. * sysdeps/stub/ptrace.c: Likewise. * sysdeps/stub/putenv.c: Likewise. - * sysdeps/stub/raise.c: Likewise. - * sysdeps/stub/read.c: Likewise. * sysdeps/stub/readdir.c: Likewise. - * sysdeps/stub/readlink.c: Likewise. - * sysdeps/stub/readv.c: Likewise. * sysdeps/stub/reboot.c: Likewise. * sysdeps/stub/recv.c: Likewise. * sysdeps/stub/recvfrom.c: Likewise. - * sysdeps/stub/recvmsg.c: Likewise. - * sysdeps/stub/remove.c: Likewise. * sysdeps/stub/rename.c: Likewise. - * sysdeps/stub/revoke.c: Likewise. * sysdeps/stub/rewinddir.c: Likewise. - * sysdeps/stub/rmdir.c: Likewise. - * sysdeps/stub/sbrk.c: Likewise. - * sysdeps/stub/sched_getp.c: Likewise. - * sysdeps/stub/sched_gets.c: Likewise. - * sysdeps/stub/sched_primax.c: Likewise. - * sysdeps/stub/sched_primin.c: Likewise. - * sysdeps/stub/sched_rr_gi.c: Likewise. - * sysdeps/stub/sched_setp.c: Likewise. - * sysdeps/stub/sched_sets.c: Likewise. - * sysdeps/stub/sched_yield.c: Likewise. * sysdeps/stub/seekdir.c: Likewise. - * sysdeps/stub/select.c: Likewise. - * sysdeps/stub/semctl.c: Likewise. - * sysdeps/stub/semget.c: Likewise. - * sysdeps/stub/semop.c: Likewise. * sysdeps/stub/send.c: Likewise. - * sysdeps/stub/sendmsg.c: Likewise. * sysdeps/stub/sendto.c: Likewise. - * sysdeps/stub/setdomain.c: Likewise. * sysdeps/stub/setegid.c: Likewise. - * sysdeps/stub/setenv.c: Likewise. * sysdeps/stub/seteuid.c: Likewise. - * sysdeps/stub/setgid.c: Likewise. * sysdeps/stub/setgroups.c: Likewise. * sysdeps/stub/sethostid.c: Likewise. * sysdeps/stub/sethostname.c: Likewise. - * sysdeps/stub/setitimer.c: Likewise. * sysdeps/stub/setjmp.c: Likewise. - * sysdeps/stub/setlogin.c: Likewise. - * sysdeps/stub/setpgid.c: Likewise. - * sysdeps/stub/setpriority.c: Likewise. - * sysdeps/stub/setregid.c: Likewise. - * sysdeps/stub/setreuid.c: Likewise. * sysdeps/stub/setrlimit.c: Likewise. - * sysdeps/stub/setsid.c: Likewise. * sysdeps/stub/setsockopt.c: Likewise. - * sysdeps/stub/settimeofday.c: Likewise. - * sysdeps/stub/setuid.c: Likewise. - * sysdeps/stub/shmat.c: Likewise. - * sysdeps/stub/shmctl.c: Likewise. - * sysdeps/stub/shmdt.c: Likewise. - * sysdeps/stub/shmget.c: Likewise. * sysdeps/stub/shutdown.c: Likewise. - * sysdeps/stub/sigaction.c: Likewise. - * sysdeps/stub/sigaltstack.c: Likewise. - * sysdeps/stub/sigblock.c: Likewise. - * sysdeps/stub/sigintr.c: Likewise. * sysdeps/stub/signal.c: Likewise. - * sysdeps/stub/sigpause.c: Likewise. - * sysdeps/stub/sigpending.c: Likewise. - * sysdeps/stub/sigprocmask.c: Likewise. - * sysdeps/stub/sigreturn.c: Likewise. - * sysdeps/stub/sigsetmask.c: Likewise. - * sysdeps/stub/sigstack.c: Likewise. * sysdeps/stub/sigsuspend.c: Likewise. - * sysdeps/stub/sigvec.c: Likewise. - * sysdeps/stub/sleep.c: Likewise. + * sysdeps/stub/sin.c: Likewise. + * sysdeps/stub/sinh.c: Likewise. * sysdeps/stub/socket.c: Likewise. * sysdeps/stub/socketpair.c: Likewise. - * sysdeps/stub/sstk.c: Likewise. - * sysdeps/stub/statfs.c: Likewise. - * sysdeps/stub/stime.c: Likewise. - * sysdeps/stub/stty.c: Likewise. - * sysdeps/stub/swapoff.c: Likewise. - * sysdeps/stub/swapon.c: Likewise. - * sysdeps/stub/symlink.c: Likewise. + * sysdeps/stub/sqrt.c: Likewise. * sysdeps/stub/sync.c: Likewise. - * sysdeps/stub/syscall.c: Likewise. - * sysdeps/stub/sysconf.c: Likewise. - * sysdeps/stub/sysd-stdio.c: Likewise. * sysdeps/stub/system.c: Likewise. + * sysdeps/stub/tan.c: Likewise. + * sysdeps/stub/tanh.c: Likewise. * sysdeps/stub/tcdrain.c: Likewise. * sysdeps/stub/tcflow.c: Likewise. - * sysdeps/stub/tcflush.c: Likewise. - * sysdeps/stub/tcgetattr.c: Likewise. * sysdeps/stub/tcgetpgrp.c: Likewise. * sysdeps/stub/tcsendbrk.c: Likewise. * sysdeps/stub/tcsetattr.c: Likewise. * sysdeps/stub/tcsetpgrp.c: Likewise. * sysdeps/stub/telldir.c: Likewise. * sysdeps/stub/tempname.c: Likewise. - * sysdeps/stub/time.c: Likewise. - * sysdeps/stub/times.c: Likewise. - * sysdeps/stub/truncate.c: Likewise. * sysdeps/stub/ttyname.c: Likewise. * sysdeps/stub/ttyname_r.c: Likewise. - * sysdeps/stub/ualarm.c: Likewise. - * sysdeps/stub/ulimit.c: Likewise. - * sysdeps/stub/umask.c: Likewise. - * sysdeps/stub/unlink.c: Likewise. - * sysdeps/stub/usleep.c: Likewise. - * sysdeps/stub/ustat.c: Likewise. * sysdeps/stub/utime.c: Likewise. - * sysdeps/stub/utimes.c: Likewise. - * sysdeps/stub/vhangup.c: Likewise. - * sysdeps/stub/wait.c: Likewise. - * sysdeps/stub/wait3.c: Likewise. - * sysdeps/stub/wait4.c: Likewise. - * sysdeps/stub/waitpid.c: Likewise. - * sysdeps/stub/write.c: Likewise. - * sysdeps/stub/writev.c: Likewise. - * sysdeps/stub/xmknod.c: Likewise. - * sysdeps/stub/xstat.c: Likewise. - * sysdeps/unix/closedir.c: Likewise. - * sysdeps/unix/fxstat.c: Likewise. - * sysdeps/unix/getlogin.c: Likewise. - * sysdeps/unix/getlogin_r.c: Likewise. - * sysdeps/unix/mkdir.c: Likewise. - * sysdeps/unix/nice.c: Likewise. - * sysdeps/unix/nlist.c: Likewise. - * sysdeps/unix/opendir.c: Likewise. - * sysdeps/unix/readdir.c: Likewise. - * sysdeps/unix/rmdir.c: Likewise. - * sysdeps/unix/stime.c: Likewise. - * sysdeps/unix/xmknod.c: Likewise. - * sysdeps/unix/xstat.c: Likewise. - * sysdeps/unix/bsd/isatty.c: Likewise. - * sysdeps/unix/bsd/setegid.c: Likewise. - * sysdeps/unix/bsd/seteuid.c: Likewise. - * sysdeps/unix/bsd/setsid.c: Likewise. - * sysdeps/unix/bsd/sigaction.c: Likewise. - * sysdeps/unix/bsd/sigprocmask.c: Likewise. - * sysdeps/unix/bsd/sigsuspend.c: Likewise. - * sysdeps/unix/bsd/tcflow.c: Likewise. - * sysdeps/unix/bsd/tcflush.c: Likewise. - * sysdeps/unix/bsd/tcgetattr.c: Likewise. - * sysdeps/unix/bsd/tcsetattr.c: Likewise. - * sysdeps/unix/bsd/times.c: Likewise. - * sysdeps/unix/bsd/ulimit.c: Likewise. - * sysdeps/unix/common/lxstat.c: Likewise. - * sysdeps/unix/common/tcsendbrk.c: Likewise. - * sysdeps/unix/sysv/setrlimit.c: Likewise. - * sysdeps/unix/sysv/settimeofday.c: Likewise. - * sysdeps/unix/sysv/sigaction.c: Likewise. - * sysdeps/unix/sysv/tcflow.c: Likewise. - * sysdeps/unix/sysv/tcflush.c: Likewise. - * sysdeps/unix/sysv/tcgetattr.c: Likewise. - * sysdeps/unix/sysv/tcsendbrk.c: Likewise. - * sysdeps/unix/sysv/tcsetattr.c: Likewise. - * sysdeps/unix/bsd/ultrix4/sysconf.c: Likewise. - * sysdeps/unix/sysv/irix4/getpriority.c: Likewise. - * sysdeps/unix/sysv/irix4/setpriority.c: Likewise. - * sysdeps/unix/sysv/linux/adjtime.c: Likewise. - * sysdeps/unix/sysv/linux/gethostid.c: Likewise. - * sysdeps/unix/sysv/linux/gethostname.c: Likewise. - * sysdeps/unix/sysv/linux/getsysstats.c: Likewise. - * sysdeps/unix/sysv/linux/ptrace.c: Likewise. - * sysdeps/unix/sysv/linux/speed.c: Likewise. - * sysdeps/unix/sysv/linux/ulimit.c: Likewise. - * sysdeps/unix/sysv/sysv4/sigaction.c: Likewise. - * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise. - * sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise. - * sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise. - * sysdeps/unix/bsd/sun/sunos4/speed.c: Likewise. - * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/ioperm.c: Likewise. - * sysdeps/unix/sysv/linux/i386/brk.c: Likewise. - * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/brk.c: Likewise. - - * sunrpc/clnt_tcp.c: Protect declaration of errno by #ifndef. - * sunrpc/clnt_udp.c: Likewise. - * sunrpc/bindrsvprt.c: Likewise. - * sunrpc/pm_getmaps.c: Likewise. - * sunrpc/pmap_rmt.c: Likewise. - * sunrpc/svc.c: Likewise. - * sunrpc/svc_run.c: Likewise. - * sunrpc/svc_tcp.c: Likewise. - * sunrpc/svc_udp.c: Likewise. - - * sysdeps/generic/strtok.c: Don't check argument, just crash. - * sysdeps/generic/strtok_r.c: Likewise. - - * sysdeps/stub/start.c: Make __errno a strong alias of errno. - * sysdeps/unix/start.c: Likewise. De-ANSI-fy. - * sysdeps/unix/sparc/start.c: Likewise. - * sysdeps/standalone/m68k/m68020/start.S: Likewise. - * sysdeps/unix/sysv/irix4/start.c: Likewise. - * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise. - * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise. - -Mon Sep 23 17:54:57 1996 Ulrich Drepper - - * catgets/gencat.c (main): Put package name in --version message - in parantheses. Reported by Jim Meyering. - * db/makedb.c: Likewise. - * locale/programs/locale.c: Likewise. - * locale/programs/localedef.c: Likewise. - - * sysdeps/i386/fpu/__math.h (tan): Make sure gcc knows we use - two registers. Patch by John Bowman. - -Sat Sep 21 15:08:25 1996 Andreas Schwab - - * sysdeps/mach/libc-lock.h: Fix comment. - * sysdeps/stubs/libc-lock.h: Likewise. - -Sat Sep 21 13:50:40 1996 Andreas Schwab - - * libio/genops.c (_IO_init) [_IO_MTSAFE_IO]: Dereference pointer - to lock when passing it to __libc_lock_init macro. - (_IO_default_finish) [_IO_MTSAFE_IO]: Dereference pointer to lock - when passing it to __libc_lock_fini macro. - -Sat Sep 21 14:35:40 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER) - [_LIBC_REENTRANT]: Add missing semicolon. - - * sysdeps/unix/sysv/linux/m68k/sysdep.S: Move inclusion of - sysdep.h to the top outside of #ifndef PIC. Don't include errnos.h. - Use the ENTRY macro. - -Sat Sep 21 14:33:41 1996 Andreas Schwab - - * libio/Makefile: Make `all' the default target. - * po/Makefile: Likewise. - -Mon Sep 23 15:49:47 1996 Ulrich Drepper - - * stdlib/test-canon.c: Correct patch from Thu Sep 12 23:01:16 1996. - I applied it incorrectly. - * sysdeps/m68k/fpu/s_scalbn.c: Likewise. - * sysdeps/m68k/fpu/s_scalbnf.c: Likewise. - * sysdeps/m68k/fpu/s_scalbnl.c: Likewise. - -Mon Sep 23 03:00:10 1996 Ulrich Drepper - - * shadow/sgetspent_r.c (LINE_PARSER): Accept empty 9th field. - Patch by NIIBE Yutaka . - - * shadow/sgetspent_r.c (LINE_PARSER): Don't accept any chars after - 9th field. - - * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc] - (sysdep_headers): Add sys/debugreg.h, sys/kd.h, sys/soundcard.h, - and sys/vt.h. - * sysdeps/unix/sysv/linux/sys/debugreg.h: New file. - * sysdeps/unix/sysv/linux/sys/kd.h: New file. - * sysdeps/unix/sysv/linux/sys/soundcard.h: New file. - * sysdeps/unix/sysv/linux/sys/vt.h: New file. - Reported by NIIBE Yutaka . - -Thu Sep 26 13:44:29 1996 Thomas Bushnell, n/BSG - - * hurd/Makefile (installed-sunrpc-headers): New variable. - (sunrpc-headers): New variable. - (install-headers-nosubir): Depend on $(installed-sunrpc-headers), - not just . - ($(installed-sunrpc-headers)): Provide rule for all of these. - -Mon Sep 23 15:31:04 1996 Thomas Bushnell, n/BSG - - * hurd/Makefile ($(includedir)/rpc/netdb.h): There is no make - variable `top_srcdir' in libc; use $(..) instead. - - * sysdeps/mach/hurd/Makefile (rtld-installed-name): Delete special - definition. It was a *Mistake*. (With a capital M.) - - * sysdeps/mach/getsysstats.c (__get_nprocs): Renamed from - __get_nproc. - (__get_nprocs_conf): Renamed from __get_nproc_conf. - -Sun Sep 22 15:18:41 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/init-first.c: Define dummy function - `_dl_start' so that linking fails if this file should ever be used - in ld.so. - * catgets/gencat.c (main): Change --version message according to - RMS' last standard revision. - * db/makedb.c: Likewise. - * locale/programs/locale.c: Likewise. - * locale/programs/localedef.c: Likewise. + * gmon/gmon.c (moncontrol): Don't cast buffer arg to profil. -Sat Sep 21 23:42:39 1996 Thomas Bushnell, n/BSG + * time/mktime.c (localtime_r): Use 0 instead of NULL. - * sysdeps/mach/getsysstats.c: Include . - (__get_nproc_conf): New function. + * config.make.in (AS): New variable; set to `$(CC) -c'. -Sun Sep 22 03:40:52 1996 Ulrich Drepper + * posix/unistd.h [__USE_BSD]: Declare profil. - * resolv/resolv.h: Update to bind-4.9.5-T4B. - * resolv/base64.c: Likewise. - * resolv/res_debug.c: Likewise. - * resolv/res_query.c: Likewise. - * resolv/gethnamaddr.c: Likewise. - * nss/nss_dns/dns-host.c: Likewise. - * resolv/res_comp.c: Likewise. - * resolv/res_send.c: Likewise. - * resolv/arpa/nameser.h: Likewise. Attention: MAXDNAME is much - higher now. + * elf/dl-load.c (_dl_map_object_from_fd): New function, broken out + of _dl_map_object. + (_dl_map_object): Call it. + * elf/link.h (_dl_map_object_from_fd): Declare it. - * resolv/Banner: New file. - * resolv/Makefile (distribute): Add Banner. +Tue Sep 26 16:50:17 1995 Roland McGrath -Sat Sep 21 19:15:24 1996 Ulrich Drepper + * locale/libintl.h: Rewritten by Ulrich Drepper for use with GNU + gettext code. - * sysdeps/stub/getsysstats.c: New file. - * sysdeps/unix/sysv/linux/getsysstats.c: New file. + * sysdeps/unix/sysv/linux/sys/param.h: New file. + * sysdeps/unix/sysv/linux/Subdirs: File removed. - * misc/Makefile (headers): Add sys/sysinfo.h. - (routines): Add getsysstats. - * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc] - (sysdep_headers): Remove sys/sysinfo.h. - * sysdeps/generic/sys/sysinfo.h: New file. - * sysdeps/unix/sysv/linux/sys/sysinfo.h: Add prototype for get_nprocs, - get_phys_pages, and get_avphys_pages. + * libc-symbols.h (_LIBC): Define to 1, not just empty. - * misc/Makefile (routines): Add mntent_r. - * misc/mntent_r.c: New file. - * misc/mntent.c: Remove all functions but getmntent and use - __getmntent_r. - * misc/mntent.h: Add prototype for __getmntent_r. - * misc/fstab.c: Use __getmntent_r function instead of getmntent. - This will not clobber the state in getmntent. + * gmon: New directory of profiling code, incorporated from + 4.4BSD-Lite and modified. + * sysdeps/i386/machine-gmon.h: New file. + * sysdeps/stub/machine-gmon.h: New file. + * sysdeps/mach/hurd/profil.c: New file. + * sysdeps/stub/profil.c: New file. + * sysdeps/unix/bsd/profil.S: New file. + * Makefile (subdirs): Add gmon. + * csu/gmon-start.c: New file. + * csu/Makefile (extra-objs): Add gmon-start.o, + g$(start-installed-name). + (install-lib, omit-deps): Add g$(start-installed-name). + ($(objpfx)g$(start-installed-name)): New target. - * sysdeps/generic/confname.h: Add _SC_PROCESSORS_CONF, - _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES, _SC_AVPHYS_PAGES, - _SC_ATEXIT_MAX, and _SC_PASS_MAX. - * sysdeps/stub/sysconf.c: Add handling _SC_PROCESSORS_CONF and - _SC_NPROCESSORS_ONLN by calling __get_nprocs, _SC_PHYS_PAGES by - calling __get_phys_pages, _SY_AVPHYS_PAGES by calling - __get_avphys_pages, _SC_ATEXIT_MAX and _SC_PASS_MAX. - * sysdeps/posix/sysconf.c: Likewise. - * posix/getconf.c (vars): Add _NPROCESSORS_CONF, _NPROCESSORS_ONLN, - _PHYS_PAGES, _AVPHYS_PAGES, ATEXIT_MAX, and PASS_MAX entries. +Fri Sep 22 14:24:25 1995 Roland McGrath -Sat Sep 21 05:20:36 1996 Ulrich Drepper + * sysdeps/mach/hurd/Makefile: Elide sunrpc from $(subdirs) for the + time being. - * version.h (VERSION): Bump to 1.95. - - * Make-dist (+tsrcs): Don't filter out files in subdirs which - match files in the sysdeps hierachy (welcome back, - sys/syscall.h!). +Thu Sep 21 00:03:53 1995 Roland McGrath - * resolv/Makefile (libresolv-routines): Remove getnetnamad. + * sysdeps/unix/configure.in: Check for `profil' syscall. -Sat Sep 21 03:00:19 1996 Ulrich Drepper + * manual/Makefile (infodir, prefix, INSTALL, INSTALL_DATA): Variables + removed. - * locale/loadlocale.c (_nl_free_locale): Remove function. - * locale/localeinfo.h: Remove prototype for _nl_free_locale. - * locale/setlocale.c (setlocale): Don't free locale data of - categories which succeeded to load after a wrong or missing data - file was observed. + * time/africa, time/asia, time/europe, time/northamerica, + time/yearistype: New data from ADO 95h. - * locale/setlocale (setlocale): Initialize NEWNAME correctly so - that it works even when the locale data is not used. + * Makerules (build-shlib): Use $(@F:lib%.so=%) in place of + $(notdir $*), so it wins for the explicit libc.so rule as well as the + pattern rule. - * stdlib/random_r.c: Fix typo in comment. - * stdlib/drand48-iter.c: Likewise. - * stdlib/drand48.c: Likewise. - * stdlib/erand48.c: Likewise. - * stdlib/jrand48.c: Likewise. - * stdlib/lcong48.c: Likewise. - * stdlib/lrand48.c: Likewise. - * stdlib/mrand48.c: Likewise. - * stdlib/nrand48.c: Likewise. - * stdlib/random.c: Likewise. - * stdlib/seed48.c: Likewise. - * stdlib/srand48.c: Likewise. - * misc/search.h: Likewise. - * misc/hsearch.c: Likewise. - * misc/hsearch_r.c: Likewise. + * sysdeps/stub/sys/sem_buf.h (union semun): New type. -Sat Sep 21 14:59:22 1996 Thomas Bushnell, n/BSG + * sysdeps/mach/hurd/i386/init-first.c (init1) [PIC]: Call + __libc_global_ctors. + * sysdeps/i386/init-first.c: Rewritten. + * sysdeps/unix/sysv/linux/i386/init-first.S: File removed. + * sysdeps/unix/sysv/linux/i386/init-first.c: New file. - * sysdeps/mach/getsysstats.c: New file. + * sysdeps/unix/sysv/linux/i386/fpu_control.h: Fix name in decl of + ___fpu_control. - * shlib-versions (*-*-gnu*): Increment libc to 0.2 for upcoming - binary distribution. + * Makerules (build-shlib): New canned sequence, broken out of + lib%.so rule. Link in $^ instead of just $<. + (lib%.so: lib%_pic.a): Use it. + (libc.so): New target; use $(build-shlib) for cmds, but also depend + on soinit.so first and sofini.so last. - * sysdeps/mach/hurd/Makefile (rtld-installed-name): Provide - definition to override dangerous one in Makeconfig. + * elf/soinit.c: New file. + * elf/sofini.c: New file. + * elf/Makefile (distribute): Add soinit.c and sofini.c. + (extra-objs): Add soinit.so and sofini.so. - * hurd/Makefile (install-headers-nosubdir): Install . - ($(includedir)/rpc/netdb.h): New rule. - [ This is XXX until sunrpc can be built; is - essential. ] + * sysvipc/sys/shm.h (shmat): Fix return type to char *. + * sysdeps/stub/sys/ipc_buf.h (key_t): Type removed. -Fri Sep 20 16:06:06 1996 Thomas Bushnell, n/BSG + * misc/syslog.c (vsyslog): Rewritten using open_memstream to + dynamically allocate buffers. - * sysdeps/mach/hurd/i386/init-first.c (_dl_start): Add definition, - to guarantee link errors if this is included in ld.so. + * Makerules (install-lib-nosubdir): Make this, rather than + install-no-libc.a, depend on the installed shared libraries. -Thu Sep 19 21:50:55 1996 Ulrich Drepper +Wed Sep 20 18:02:03 1995 Roland McGrath - * sysdeps/posix/gettimeofday.c (__gettimeofday): Use localtime_r - instead of localtime. - Reported by Matthias Urlichs. + * locale/locale.c: Include errno.h. + * locale/localedef.c: Likewise. - * shlib-versions: Remove version number for libcrypt. - * features.h: Define __USE_REENTRANT if _REENTRANT or _THREAD_SAFE. - * libc-symbols.h: Define _REENTRANT while compiling libc. +Tue Sep 19 00:02:06 1995 Roland McGrath - * sysdeps/unix/sysv/linux/i386/sysdep.S (__errno_location): - Define even if !_LIBC_REENTRANT. - * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location): - Likewise. + * Makefile (distclean-1): Remove config.cache, config.log, config.h. + (parent-mostlyclean): Remove all flavors of the parent library. - * sysdeps/posix/cuserid.h: Remove prototype for geteuid(). - De-ANSI-fy. + * misc/mntent.c (getmntent): Skip multiple whitespace chars + between fields. - * MakeTAGS ($P/libc.pot): Generate correctly formed header. - * po/header.pot: Correct title line. - * po/nl.po: Update. + * hurd/hurdstartup.c (_hurd_startup): If RPC returns + EXEC_STACK_ARGS flag, get args from stack. + If args on stack but have info from RPC, relocate args on stack to make + space for struct hurd_startup_data. -Thu Sep 19 18:59:55 1996 Ulrich Drepper +Mon Sep 18 15:06:00 1995 Roland McGrath - * Makeconfig (soversions.mk): Prefer shared lib version numbers - is add ons over version in libc itself. + * elf/dl-object.c: Include errno.h. + * posix/execvp.c: Likewise. + * dirent/scandir.c: Likewise. + * sysdeps/posix/system.c: Likewise. + * sysdeps/generic/setenv.c: Likewise. + * stdlib/msort.c: Likewise. + * stdio/memstream.c: Likewise. + * stdio/fclose.c: Likewise. + * stdio/getdelim.c: Likewise. + * stdio/setvbuf.c: Likewise. + * sysdeps/ieee754/ldexp.c: Likewise. + * locale/locfile-parse.c: Likewise. - * sysdeps/unix/sysv/linux/i386/sysdep.S: Include . - * sysdeps/unix/sysv/linux/i386/sysdep.h: Prevent multiple - inclusion. + * stdlib/lcong48_r.c: Don't check for null argument; let it fault. + * stdlib/seed48_r.c: Likewise. + * stdlib/srand48_r.c: Likewise. + * stdlib/jrand48_r.c: Likewise. + * stdlib/nrand48_r.c: Likewise. - * libio/iofgets.c: Use __flockfile and __funlockfile instead of - _IO_flockfile and _IO_funlockfile resp. + * Makeconfig (+gccwarn): Remove -Wbad-function-cast, which seems + to be useless. - * locale/categories.def: Partly support for correct `era' handling - in LC_TIME category. - * locale/langinfo.h: Likewise. - * locale/programs/ld-time.c: Likewise. - * locale/localeinfo.h: Change comment a bit. +Mon Sep 18 12:39:22 1995 Paul Eggert - * malloc/memalign.c: Don't use goto, not necessary anymore. + * mktime.c (localtime_r): Add substitute if the system doesn't + provide one. -1996-09-18 Paul Eggert - - * time/mktime.c (ydhms_tm_diff): Work correctly even if year - is negative, or if time_t is unsigned. - * time/strftime.c (tm_diff): Work correctly even if tm_year - is near INT_MIN. - -Tue Sep 17 16:14:34 1996 Andreas Schwab - - * sysdeps/m68k/fpu/__math.h (__inline_mathop): Changed to generate - all three versions of the math function. - (__inline_mathopf, __inline_mathopl): Removed. - (__inline_functions): New temporary definition containing all - non-trivial inline functions. - -Wed Sep 18 00:25:41 1996 Ulrich Drepper - - * time/strftime.c (strftime): The T_FMT_AMPM string may be empty. - -Tue Sep 17 20:27:18 1996 Ulrich Drepper - - * math/Makefile (extra-libs-others): Use $(extra-libs) instead - of $(extra-libc). - -Tue Sep 17 17:09:44 1996 Ulrich Drepper - - * sysdeps/stub/fpu_control.h: Correct end of file comment. - -Tue Sep 17 05:39:18 1996 Ulrich Drepper +Mon Sep 18 14:39:20 1995 Roland McGrath - * stdio-common/bug3.c, stdio-common/bug4.c, stdio-common/bug5.c, - stdio-common/test-popen.c: Remove temporary files after test. - * stdio-common/bug5.c: Use `system' instead of `execlp'. - Patches by Andreas Jaeger. + * time/gmtime.c (gmtime_r): Define as weak alias. + * time/localtime.c (localtime_r): Define as weak alias. + * time/time.h [__USE_REENTRANT] (gmtime_r, localtime_r): Declare them. - * stdio-common/bug5.c: Create string for `system' argument to - make sure the input and output file names are really correct. + * errno.h: Only define _ERRNO_H #ifndef __need_Emath. + #undef __need_Emath after including errnos.h. + [_ERRNO_H]: Protect decls with this. -Sun Sep 15 12:46:44 1996 Andreas Schwab +Sun Sep 17 08:22:12 1995 Paul Eggert - * configure.in: If $os contains a hyphen add the part before the - hyphen to $ostry. - -Sun Sep 15 18:14:02 1996 Andreas Schwab - - * sysdeps/m68k/fpu/__math.h (__ieee754_pow, __ieee754_powf, - __ieee754_powl): Rename local variable i to __i. - (__ieee754_atan2, __ieee754_atan2f, __ieee754_atan2l): New inline - functions. - * sysdeps/m68k/fpu/e_atan2.c, sysdeps/m68k/fpu/e_atan2f.c, - sysdeps/m68k/fpu/e_atan2l.c: New files. + Fix mktime so that it does not write over localtime's returned value. + * localtime.c (__localtime_r): New function, with extra arg + specifying where to store result. + (localtime): Use it. + (_tmbuf): New var. + * gmtime.c (__gmtime_r, gmtime, _tmbuf): Likewise. + * mktime.c (__mktime_internal): Conversion function is now + __localtime_r style, not localtime style. + (mktime): Pass __localtime_r, not localtime. + * timegm.c (timegm): Pass __gmtime_r, not gmtime. + * offtime.c (__offtime): New arg specifying where to store result. + * time.h (__mktime_internal, __offtime): Adjust decls accordingly. + (__gmtime_r, __localtime_r): New decls. + + * time/localtime.c: , , , + , : Remove includes. + : Add include. -1996-09-15 Paul Eggert - - * manual/time.texi: Change `range X to Y' to `range X through - Y', to avoid ambiguity in English. - - (strftime): Numbers that do not have a range indicated are not padded. - Describe E and O modifiers. - %g, %G, %u: New formats. - %C, %y, %Y: Describe behavior on negative years. - %e: Fix typo (was labeled %d). - %l, %V: Fix typo in range. - %M, %S, %U, %w, %W: Give ranges. - %p: Clarify how noon and midnight are handled for AM and PM. - %s: Clarify leap second handling. - %r: Now locale-defined. - %C, %D, %e, %h, %n, %r, %t, %T: Say that they are POSIX.2 extensions. - %z: Say that it is a GNU extension. - %Z: Wording fix. - - * time/strftime.c: (strftime): - %V: Fix mishandling of week numbers near year boundaries. - %g, %G: New formats (suggested by Arthur David Olson). - %U, %W: Use inline expression instead of `week' function. - %C, %y: Handle negative years portably. - %C, %Y: Use width 1, since values can be arbitrarily wide. - %r: Use T_FMT_AMPM format if _NL_CURRENT is defined. - %u: New Posix.2 format. - %w: Width is 1, not 2. - (iso_week_days): New function, for %V, %G, %g. - (week): Remove; it didn't handle %V correctly. - (__isleap): New macro. - (mbsinit): Use arg, to pacify GCC -Wall. - -1996-09-13 Paul Eggert - - * time/strftime.c (strftime): - If using the GNU C library, do not bother to check for - multibyte encodings, since they're safe in formats. Otherwise: - - Check for multibyte encodings when encountering any character that - is not in the basic execution character set of the C Standard. - - Use mbrlen (if available) instead of mblen, to avoid modifying - mblen's internal state. - - Do not assume that '%' cannot appear as the first character of a - multibyte character sequence, since this is possible when not in the - initial shift state. - (HAVE_MBRLEN, MULTIBYTE_IS_FORMAT_SAFE): Define if _LIBC is defined. - (DO_MULTIBYTE): New macro. - (): Do not include. - (): Include if HAVE_MBRLEN. - (mbstate_t, mbrlen, mbsinit): Define if ! HAVE_MBRLEN. - (mbstate_zero): New constant. - -1996-09-12 Paul Eggert - - * time/strftime.c (strftime): - Use an empty zone if it can't be determined; POSIX.2 requires this. - Use plain `int' for pad and modifier (which now contain char value). - Use plain `int' for number_value, to print negative values correctly. - Use plain `int' for digits; there was no need to make it unsigned. - Initialize subfmt consistently. - Remove incorrect code for %EC and %Ey; they aren't implemented yet. - For %O, if there is no alternate digit, output Ascii instead of "". - Output the `%' of an unknown format; this is most likely the right - thing to do if a multibyte string has been misparsed. - -Thu Sep 12 23:23:13 1996 Andreas Schwab - - * stdio-common/scanf7.c (main): Remove extra conversion from - printf format string. - -Thu Sep 12 23:01:16 1996 Andreas Schwab - - * stdlib/test-canon.c (tests): Rename structure member from errno - to error, all uses changed. - -Thu Sep 12 20:08:06 1996 Andreas Schwab - - * sysdeps/m68k/fpu/__math.h (__ldexp, __ldexpf, __ldexpl): - Removed. - * sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c, - sysdeps/m68k/fpu/s_ldexpl.c: Removed, use generic implementation - instead. - * sysdeps/m68k/fpu/s_scalbn.c, sysdeps/m68k/fpu/s_scalbnf.c, - sysdeps/m68k/fpu/s_scalbnl.c: Replaced with old contents of - s_ldexp.c, s_ldexpf.c and s_ldexpl.c, resp., suitably adpted. - - * sysdeps/m68k/fpu/__math.h (__frexp, __frexpf, __frexpl): - Return value must be in [0.5, 1), not [1, 2). Reported by Chris - Lawrence. - (__ilogb, __ilogbf, __ilogbl): Check for argument being zero. - (__scalbn, __scalbnf, __scalbnl): Use second argument directly. - -Thu Sep 12 19:59:24 1996 Andreas Schwab - - * sysdeps/libm-ieee754/e_acoshl.c: Fix typos. - * sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable. - -Thu Sep 12 19:59:24 1996 Andreas Schwab - - * sysdeps/libm-ieee754/e_acoshl.c: Fix typos. - * sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable. - -Thu Sep 12 19:56:07 1996 Andreas Schwab - - * inet/herrno.c (__h_errno_location): Fix return type. - -Thu Sep 19 23:36:19 1996 Thomas Bushnell, n/BSG - - * hurd/hurdinit.c (__libc_argv): Provide common decl. - (_hurd_setproc): Don't declare __libc_argv here. - -Tue Sep 17 10:51:58 1996 Thomas Bushnell, n/BSG - - * malloc/memalign.c (memalign): Only acquire __libc_malloc_lock - for actual modifications to global state. - -Fri Sep 13 01:21:36 1996 Thomas Bushnell, n/BSG - - * sysdeps/mach/Makefile (includes): Add -I$(common-objpfx)mach/. - * sysdeps/mach/hurd/Makefile (includes): Add - -I$(common-objpfx)hurd/. Reported by Marcus Daniels. - - * sysdeps/generic/schedbits.h (struct sched_param): Renamed from - struct sched_params. - * sysdeps/stub/sched_setp.c (__sched_setparam): struct - sched_params -> struct sched_param. - * sysdeps/stub/sched_getp.c (__sched_getparam): Likewise. - * sysdeps/stub/sched_sets.c (__sched_setscheduler): Likewise. - -Thu Sep 12 23:58:25 1996 Thomas Bushnell, n/BSG - - * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): Fix - syntax error. - - * stdio-common/Makefile: Put lockfile in routines - unconditionally. - Define _MT_SAFE_IO if using for libio and compiling reentrant - libc. - - * stdio-common/vfprintf.c (__flockfile, __funlockfile): Declare - this always, not just if _LIBC_REENTRANT. - (__funlockfile): Don't use weak_extern for this one; - __libc_cleanup_region_end might be defined and the use of - __funlockfile can't be protected the way the use of __flockfile - can be. - -Fri Sep 13 04:33:08 1996 Ulrich Drepper - - * sched.h: New file. Helper to access posix/sched.h. - * posix/sched.h: Change `sched_params' to `sched_param' to follow - POSIX.4. - -Thu Sep 12 20:12:40 1996 Ulrich Drepper - - * db/makedb.c (usage): Print bug report address separately to - ease translators task. - * catgets/gencat.c (usage): Likewise. - * locale/locale.c (usage): Likewise. - * locale/localedef.c (usage): Likewise. - -1996-09-12 Paul Eggert - - * time/strftime.c (my_localtime_r): Define if ! HAVE_LOCALTIME_R, - and #define localtime_r to it. If _LIBC, use __localtime_r instead. - (my_gmtime_r): Similar, except it's not needed if ! HAVE_TM_GMTOFF. - -Thu Sep 12 14:03:29 1996 Ulrich Drepper - - * crypt/Makefile: Include Makeconfig and add crypt object dir to - rpath-link so that running the check finds the new library. - * crypt/cert.c: provide correct prototypes to prevent warnings. - Reported by Andreas Jaeger. - - * sysdeps/mach/hurd/Makefile (rpath-link): Don't use += because - old and new value must be glued using `:'. - Reported by Marcus Daniels. - -Thu Sep 12 12:33:52 1996 Thomas Bushnell, n/BSG - - * sysdeps/mach/hurd/dl-cache.c: Delete second copy of file - accidentally added on. - - * sysdeps/stub/intr-msg.h: New file. - - * stdio-common/vfprintf.c: Include . - * stdio-common/vfscanf.c: Include . - - * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): New - macro. - (__libc_cleanup_region_end): New macro. - -Thu Sep 12 03:35:27 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/Dist: Remove init-first.h. - * sysdeps/unix/sysv/linux/m68k/Dist: Likewise. - * sysdeps/unix/sysv/linux/Dist: Add init-first.h. - -1996-09-11 Paul Eggert - - * strftime.c (strftime): - Handle E and O modifiers, required for POSIX.2 and XPG4. - Don't use sprintf to format numbers; this way, we can handle time_t - correctly regardless of whether it's signed. - Don't dump core if format ends in %. - In default %c format, use %e instead of %d, for POSIX.2 compatibility. - For %z: - Use tm_gmtoff if available. - Output nothing if tm_isdst is negative. - Output correct value even if arg is 1969-12-31 23:59:59 UTC. - Don't assume that UTC offset is less than 24 hours; - Posix requires support for 24 hours, and there's no point - limiting it at all. - (HAVE_TM_GMTOFF, TYPE_SIGNED, INT_STRLEN_BOUND): New macros. - (CHAR_BIT): Define if doesn't. - (tm_diff): New function. - (fmt, ): Remove; no longer used. - -Thu Sep 12 02:21:44 1996 Ulrich Drepper - - * db/Makefile: Add extra-libs-others variable so that shared - library is built in `others' pass. - * elf/Makefile: Likewise. - * math/Makefile: Likewise. - * resolv/Makefile: Likewise. - - * Makefile (generated): Add version.info.h. - - * time/checktab.awk: New file. From ADO 96k. - * time/iso3166.tab: Likewise. - * time/tzselect.ksh: Likewise. - * time/zone.tab: Likewise. - - * stdio-common/vfprintf.c: Correct cleanup registration. We - cannot use a macro - -1996-09-11 Paul Eggert - - * time/time.h (tm_gmtoff, tm_zone): Prefix with `__' unless - __USE_BSD; this is required for ANSI C compatibility. - * manual/time.texi: Replace GMT by UTC, daylight savings by - daylight saving, timezone by time zone. - Rewrite description of %V to match ISO 8601. - Fix TZ Posix string example for US Eastern time. - Explain tzname[1] when DST isn't used. - Explain tzname when multiple abbreviations used (e.g. EST/EWT/EDT). - Explain that timezone's sign is opposite from tm_gmtoff, and that - timezone lacks DST adjustment whereas tm_gmtoff has it. - Deprecate tzname and timezone. - -Tue Sep 10 14:46:16 1996 Andreas Schwab - - Implement Roland McGrath's idea of how to put an .interp into - shared libraries. - * interp.c: New file. - * Makerules (interp-obj): New object, linked into every shared - library. - (common-generated): Add interp.so. - (CFLAGS-interp.c): Pass name of interpreter. - -Tue Sep 10 21:09:35 1996 Andreas Schwab - - * db/Makefile: Fix typo. - -Tue Sep 10 19:29:53 1996 Andreas Schwab - - * nss/db-Makefile ($(VAR_DB)/passwd.db): Look for multiple - occurences of the same uid, and only generate a mapping for the - first one. - -Tue Sep 10 03:14:59 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/system.c: New file, to override - sysdeps/unix/system.c. - -Tue Sep 10 15:05:40 1996 Andreas Schwab - - * Makefile (before-compile): Add version-info.h, needed to build - version.d. - -Tue Sep 10 14:14:33 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/sysdep.S: Remove check for - EWOULDBLOCK, never true on Linux. - (__errno_location): New function. - [_LIBC_REENTRANT]: Set errno using __errno_location function. - * sysdeps/unix/sysv/linux/m68k/sysdep.h [PIC]: Add second - syscall_error handler for reentrant libc. - -Tue Sep 10 13:27:49 1996 Andreas Schwab - - * elf/Makefile (extra-objs): Add eval.so to get dependencies. - -Wed Sep 11 04:40:57 1996 Ulrich Drepper - - * time/tzset.c (__tzname_cur_max): Use type `size_t' to avoid - warning. - * time/tzfile.c (compute_tzname_max): Likewise. - -Wed Sep 11 02:57:31 1996 Ulrich Drepper - - * configure.in: Quote $add_ons argument in loop to generated - prefices. - -Tue Sep 10 20:43:45 1996 Ulrich Drepper - - * db/makedb.c: Include . Reported by Fila Kolodny. - -Tue Sep 10 14:42:39 1996 Thomas Bushnell, n/BSG - - * elf/dl-cache.c: Rename to ... - * sysdeps/generic/dl-cache.c: ... here. - * sysdeps/mach/hurd/dl-cache.c: New file. - - * mach/Makefile (distribute): Add `errsystems.awk'. - * hurd/Makefile (distribute): Add `Notes' and `intr-msg.h'. - * hurd/hurdintr.awk: Delete file. (Not used in ages.) - * hurd/intr-rpc.awk: Likewise. - * hurd/invoke-trans.c: Likewise. - * sysdeps/mach/hurd/i386/longjmp-ctx.c: Likewise. - * sysdeps/mach/hurd/alpha/longjmp-ctx.c: Likewise. - * sysdeps/mach/hurd/mips/longjmp-ctx.c: Likewise. - * sysdeps/mach/hurd/i386/init-fault.c: Likewise. - * sysdeps/mach/hurd/mips/init-fault.c: Likewise. - * sysdeps/stub/init-fault.c: Likewise. - * sysdeps/stub/longjmp-ctx.c: Likewise. - -Tue Sep 10 13:49:08 1996 Ulrich Drepper - - * inet/herrno.c: Initialize `h_errno' so that we can provide - alias. - - * Makefile (version-info.h): Fix typo in shell script. - - * sysdeps/i386/i586/strlen.S: Optimize startup code a bit. - * sysdeps/i386/i586/strchr.S: Likewise. - -Mon Sep 9 20:31:27 1996 Ulrich Drepper - - * version.c (banner): Report to bug-glibc@prep not @gnu. - Reported by Andreas Jaeger. - - * libio/stdio.h [!__USE_REENTRANT]: Don't define getc as - _IO_getc_unlocked. - [__USE_REENTRANT]: Don't define - -Mon Sep 9 15:59:32 1996 Ulrich Drepper - - * sysdeps/i386/strrchr.c: Fix bug where NUL byte is not recognized - when it is the third byte in the string. Reported by - NIIBE Yutaka. - * string/tester.c: Add tests for above bug to strlen, strchr, and - strrchr tests. - -Fri Sep 6 21:23:33 1996 Andreas Schwab - - * sysdeps/m68k/fpu/e_acos.c: Deansideclized. Include - "math_private.h" to get prototype. - * sysdeps/m68k/fpu/e_fmod.c: Likewise. - * sysdeps/m68k/fpu/k_cos.c: Likewise. - * sysdeps/m68k/fpu/k_sin.c: Likewise. - * sysdeps/m68k/fpu/k_tan.c: Likewise. - - * sysdeps/m68k/fpu/k_sin.c: Remove uneeded indirection of - __m81_u. - * sysdeps/m68k/fpu/k_tan.c: Likewise. - -Sun Sep 1 18:01:35 1996 Andreas Schwab - - * sysdeps/m68k/fpu/__math.h: Check for __NO_M81_MATH_INLINES - instead of __NO_MATH_INLINES. - (__M81_MATH_INLINES): Renamed from __MATH_INLINES. - * sysdeps/m68k/fpu/e_acos.c: Define __NO_M81_MATH_INLINES. - * sysdeps/m68k/fpu/e_fmod.c: Likewise. - * sysdeps/m68k/fpu/k_cos.c: Likewise. - * sysdeps/m68k/fpu/k_sin.c: Likewise. - * sysdeps/m68k/fpu/k_tan.c: Likewise. - * sysdeps/m68k/fpu/s_atan.c: Likewise. - * sysdeps/m68k/fpu/s_frexp.c: Likewise. - * sysdeps/m68k/fpu/s_ilogb.c: Likewise. - * sysdeps/m68k/fpu/s_isinf.c: Likewise. - * sysdeps/m68k/fpu/s_ldexp.c: Likewise. - * sysdeps/m68k/fpu/s_modf.c: Likewise. - * sysdeps/m68k/fpu/k_cos.c: Use inline version of __cos. - * sysdeps/m68k/fpu/k_sin.c: Likewise. - * sysdeps/m68k/fpu/k_tan.c: Likewise. - -Mon Sep 9 12:55:14 1996 Ulrich Drepper - - * nss/nss_files/files-parse.c (INT_FIELD_MAYBE_NULL): Check for - available character before converting number and return with - error if none is available. - -Fri Sep 6 22:09:08 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/init-first.h: New file, generic - implementation for architectures where parameters are passed on - stack. - * sysdeps/unix/sysv/linux/m68k/init-first.h: Removed. - * sysdeps/unix/sysv/linux/i386/init-first.h: Removed. - -Fri Sep 6 22:05:32 1996 Andreas Schwab - - * configure.in: Remove unneeded sysnames frobbing. - -Mon Sep 9 05:29:09 1996 Ulrich Drepper - - * time/zic.c: Update from ADO 96l. - * time/africa: Update from ADO 96k. - * time/antarctica: Likewise. - * time/asia: Likewise. - * time/australia: Likewise. - * time/europe: Likewise. - * time/northamerica: Likewise. - * time/southamerica: Likewise. - -Mon Sep 9 05:03:47 1996 NIIBE Yutaka - - * sysdeps/unix/sysv/linux/i386/init-first.h: Work around buggy - gcc <= 2.7.2.1 which optimizes away address operations on weak - objects. - - * nss/nss_files/files-parse.c (INT_FIELD_MAYBE_NULL): New macro. - Like INT_FIELD but also accept non-existing field. - * shadow/sgetspent_r.c (LINE_PARSER): Use INT_FIELD_MAYBE_NULL - for last four fields. - * shadow/putspent.c (putspent): Print `:' after numeric value. - -Mon Sep 9 02:42:48 1996 Richard Henderson - - * libio/stdio.h (BUFSIZ): Define using _IO_BUFSIZ. - -Sun Sep 8 16:43:56 1996 Ulrich Drepper - - * Make-dist: Filter out $(add-ons) from $(subdirs). - Don't distribute TAGS files. - ($(tardir).tar): Remove dist.tar when all is done. - * manual/Makefile (distribute): Add libc.info*. - * libio/Makefile (distribute): Add Banner. - * inet/Makefile (headers): Add netinet/tcp.h. - - * resolv/Makefile (libresolv-routines): Add getnetnamadr. - - * crypt-README: Removed. - * gnu-stabs.h: Removed. - - * sysdeps/alpha/copysign.S: Renamed to... - * sysdeps/alpha/s_copysign.S: ...this. - * sysdeps/alpha/fabs.S: Renamed to... - * sysdeps/alpha/s_fabs.S: ...this. - - * sysdeps/m68k/isinfl.c: Renamed to... - * sysdeps/m68k/s_isinfl.c: ...this. - * sysdeps/m68k/isnanl.c: Renamed to... - * sysdeps/m68k/s_isnanl.c: ...this. - - * sysdeps/sparc/sqrt.c: Renamed to... - * sysdeps/sparc/e_sqrt.c: ...this. Function name now is - __ieee754_sqrt. - - * sysdeps/generic/get_str.c: Removed. - - * sysdeps/ieee754/cbrt.c: Removed. - * sysdeps/ieee754/drem.c: Removed. - * sysdeps/ieee754/logb.c: Removed. - * sysdeps/ieee754/sqrt.c: Removed. - - * sysdeps/stub/cbrt.c: Removed. - * sysdeps/stub/cos.c: Removed. - * sysdeps/stub/drem.c: Removed. - * sysdeps/stub/isinf.c: Removed. - * sysdeps/stub/isinfl.c: Removed. - * sysdeps/stub/isnanl.c: Removed. - * sysdeps/stub/logb.c: Removed. - * sysdeps/stub/sin.c: Removed. - * sysdeps/stub/sqrt.c: Removed. - - * sysdeps/tahoe/log10.c: Removed. - - * sysdeps/vax/index.s: Removed. - * sysdeps/vax/rindex.s: Removed. - * sysdeps/vax/bcmp.s: Removed. - * sysdeps/vax/log10.c: Removed. - * sysdeps/vax/infnan.c: Removed. - * sysdeps/vax/Dist: Add fl.h. - - * sysdeps/unix/sysv/linux/alpha/Dist: Add llseek.S. - - * inet/rcmd.c (rcmd): Make messages more uniform. - -Sun Sep 8 14:15:42 1996 Ulrich Drepper - - * po/de.po: Update. - * po/es.po: Update. - * po/ko.po: Update. - * po/pl.po: New file. - * po/nl.po: New file. - -Sat Sep 7 18:41:17 1996 Richard Henderson - - * Makeconfig (+link): Filter out start, pre & postinit from the - generic depenancies as well. - * Rules: Add start, pre & postinit to the dependancies of - $(others) and $(tests). - - * configure.in: elf_dirs missing "sysdeps" component. - -Sun Sep 8 02:36:02 1996 Ulrich Drepper - - * locale/SYS_libc.c (_libc_intl_domainname): Change value to "libc". - This is consistent with all other GNU packages. We shouldn't - take care for a possible clash. Nobody will name the domain - of a package libc if it is not the libc itself. - * MakeTAGS ($P/SYS_libc.pot): Rename to $P/libc.pot. - * po/Makefile (domainname): Change to libc. - (distribute): Now ship libc.pot. - * catgets/gencat.c (usage): Use `PACKAGE' for package name in - version information banner. - Change bug report address to bug-glibc@prep not @gnu. - * db/makedb.c (PACKAGE): New macro. Set to _libc_intl_domain. - (main): Use `PACKAGE' for package name in version information - banner. - Change bug report address to bug-glibc@prep not @gnu. - * locale/programs/locale.c (main): Use `PACKAGE' for package name - in version information banner. - Change bug report address to bug-glibc@prep not @gnu. - * locale/programs/localedef.c (main): Likewise. - - * version.h (VERSION): Bump to 1.94. - - * locale/Makefile (distribute): Add locale.c and localedef.c. - -Sat Sep 7 14:00:33 1996 David Mosberger-Tang - - * catgets/catgets.c (catopen): Allocate sizeof(*result) bytes - instead of sizeof(nl_catd) (which is just a pointer!). - -Sat Sep 7 19:39:19 1996 Ulrich Drepper - - * Makefile ($(objpfx)version-info.h): Generate from Banner files. - * version.c (banner): Add contents of version-info.h to string. - - * Makerules: If $($(subdir)-version) is available name versioned - shared library according to this value instead of glibc's version. - - * libio/Banner: New file. - - * elf/eval.c (funcall): Write error message in case function is - not found. - (eval): Recognize `_' in names. - -Sat Sep 7 05:15:45 1996 Ulrich Drepper - - * libio/iofdopen: Initialize _lock field only if _IO_MTSAFE_IO. - * libio/iofopen: Likewise. - * libio/iofopncook.c: Likewise. - * libio/iopopen.c: Likewise. - * libio/iovsprintf.c: Likewise. - * libio/iovsscanf.c: Likewise. - * libio/memstream.c: Likewise. - * libio/vasprintf.c: Likewise. - * libio/vdprintf.c: Likewise. - * libio/vsnprintf.c: Likewise. - -Sat Sep 7 03:55:47 1996 Ulrich Drepper - - * Makeconfig (soversions.mk): Also use shlib-versions files - in add-on directories. - * config.make.in (config-defines): Remove. Not used anymore. - (defines): New variable. Initiliazed by @DEFINES@. - * configure.in: Add AC_SUBST(DEFINES). - - * libio/Makefile (routines): When compiling reentrant libc add - clearerr_u, feof_u, ferror_u, fputc_u, getc_u, getchar_u, - iofflush_u, putc_u, putchar_u, ioflockfile. - (CPPFLAGS): Add -D_IO_MTSAFE_IO for reentrant libc. - - * sysdeps/stub/libc-lock.h: Add stubs for __libc_cleanup_region_start - and __libc_cleanup_region_end. - - * sysdeps/unix/i386/sysdep.S [_LIBC_REENTRANT]: Set errno - using __errno_location function. - * sysdeps/unix/sysv/linux/i386/sysdep.S [_LIBC_REENTRANT]: Set errno - using __errno_location function. - (__errno_location): New function. - * sysdeps/unix/sysv/linux/i386/sysdep.h [PIC]: Add second - syscall_error handler for reentrant libc. - - * sysdeps/unix/opendir.c: Remove unneeded `;'. - - * libio.h [_IO_MTSAFE_IO]: Include . - [!_IO_MTSAFE_IO]: Define _IO_flockfile and _IO_funlockfile - as empty macros. - * libioP.h: Include . - * libio/stdio.h: Add prototypes for *_locked and *_unlocked - functions. - - * libio/clearerr.c: Use _IO_ protected versions of flockfile - and funlockfile to be namespace clean. - - * libio/genops.c: Use __libc_lock_* macros for handling lock. - - * libio/iofdopen: Add initialization of _lock in _IO_FILE. - * libio/iofopen: Likewise. - * libio/iofopncook.c: Likewise. - * libio/iopopen.c: Likewise. - * libio/iovsprintf.c: Likewise. - * libio/iovsscanf.c: Likewise. - * libio/memstream.c: Likewise. - * libio/vasprintf.c: Likewise. - * libio/vdprintf.c: Likewise. - * libio/vsnprintf.c: Likewise. - - * libio/fgetc.c: Use __libc_cleanup_region_* macros instead - of flockfile etc. - * libio/fputc.c: Likewise. - * libio/freopen.c: Likewise. - * libio/fseek.c: Likewise. - * libio/getc.c: Likewise. - * libio/getchar.c: Likewise. - * libio/iofclose.c: Likewise. - * libio/iofflush.c: Likewise. - * libio/iofgetpos.c: Likewise. - * libio/iofgets.c: Likewise. - * libio/iofputs.c: Likewise. - * libio/iofread.c: Likewise. - * libio/iofsetpos.c: Likewise. - * libio/ioftell.c: Likewise. - * libio/iofwrite.c: Likewise. - * libio/iogetdelim.c: Likewise. - * libio/iogets.c: Likewise. - * libio/ioputs.c: Likewise. - * libio/iosetbuffer.c: Likewise. - * libio/iosetvbuf.c: Likewise. - * libio/ioungetc.c: Likewise. - * libio/putc.c: Likewise. - * libio/putchar.c: Likewise. - * libio/rewind.c: Likewise. - * stdio-common/vfprintf.c: Likewise. - * stdio-common/vfscanf.c: Likewise. - - * libio/clearerr_u.c: Correct alias name. - * libio/ferror_u.c: Likewise. - * libio/fileno.c: Likewise. - * libio/fputc_u.c: Likewise. - * libio/getc.c: Likewise. - * libio/getc_u.c: Likewise. - * libio/getchar.c: Likewise. - * libio/getchar_u.c: Likewise. - * libio/putc.c: Likewise. - * libio/putchar.c: Likewise. - - * libio/feof_u.c: Undefine macro with name of function before - definition of function itself. - - * libio/ioflockfile.c: New file. Implementation of flockfile and - funlockfile. - - * libio/putchar_u.c: Fix typo. Use stdout instead of fp. - - * malloc/malloc.h: Don't include and don't declare - _malloc_loc. - - * malloc/free.c: Include . - * malloc/realloc.c: Likewise. - * malloc/malloc-find.c: Likewise. - * malloc/malloc-size.c: Likewise. - * malloc/malloc-walk.c: Likewise. - * malloc/memalign.c: Likewise. - * malloc/malloc.c: Likewise. - - * sysdeps/i386/dl-machine.h: Correct clearing of _dl_starting_up. - -Fri Sep 6 19:38:49 1996 Ulrich Drepper - - * sysdeps/stub/libc-lock.h: Define __libc_lock_critical_start - and __libc_lock_critical_end as empty macros. - - * malloc/malloc.h: Don't include and don't declare - __libc_malloc_lock. - * malloc/free.c: Include . - * malloc/malloc-find.c: Likewise. - * malloc/malloc-size.c: Likewise. - * malloc/malloc-walk.c: Likewise. - * malloc/malloc.c: Likewise. - * malloc/memalign.c: Likewise. - * malloc/realloc.c: Likewise. - - * Makefile: Undo change from Mon Sep 2 22:15:14 1996. No more - extra_solibs pass. - * Rules: Likewise. - * extra-lib.mk: Likewise. - * manual/Makefile: Likewise. - - * db/Makefile (makedb): Choose dependecies based on build-shared. - Patch by Andres Schwab. - - * sysdeps/posix/sysconf.c: Don't use PTHREAD_DESTRUCTOR_ITERATIONS - but _POSIX_THREAD_DESTRUCTOR_ITERATIONS. - - * sysdeps/unix/sysv/linux/errnos.h: New file. - * sysdeps/unix/sysv/linux/schedbits.h: New file. - * sysdeps/unix/sysv/linux/waitflags.h: New file. - - * sysdeps/unix/sysv/linux/gnu/types.h: Add definition of `key_t'. - -Fri Sep 6 08:26:31 1996 Andreas Schwab - - * rpm/template: Fix typo in %build section. - -Fri Sep 6 03:31:07 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/errnos.h: Don't define errno macro when - building libc without thread support. - * resolv/netdb.h: Likewise for h_errno macro. - -Thu Sep 5 23:01:48 1996 Ulrich Drepper - - * libc-symbols.h: Add new macro weak_const_function. It's like - weak_function, but the function is additionally marked as const. - * features.h: Only include if !__ASSEMBLER__. - -Thu Sep 5 22:55:49 1996 Richard Henderson - - * inet/herrno.c (__h_errno_location): New function. - (h_errno): Make strong_alias __h_errno so that we can access - the variable even if `h_errno' is a macro. - * resolv/netdb.h: Define macro h_errno to access thread specific - version of h_errno variable. Declare alias __h_errno for h_errno. - * resolv/res_query (h_errno): Remove definition. - * sysdeps/unix/sysv/linux/errnos.h [!__ASSEMBLER__ && __USE_REENTRANT]: - Add macro `errno' to get thread specific variable. - * sysdeps/unix/alpha/sysdep.S [_LIBC_REENTRANT]: Set errno using - __errno_location function. - (__errno_location): New function. - -Thu Sep 5 21:08:44 1996 Ulrich Drepper - - * posix/gnu/types.h: Remove definition of key_t. - * sysdeps/generic/gnu/types.h: Move it to here. - * sysdeps/unix/sysv/linux/gnu/types.h: Add Linux specific - definition of key_t. - - * sysdeps/unix/sysv/linux/waitflags.h: New file. Linux specific - definitions. - * sysdeps/unix/sysv/linux/schedbits.h: New file. Include - clone prototypes and associated flags. - -Thu Sep 5 08:58:47 1996 Richard Henderson - - * sysdeps/alpha/elf/start.S: Make _start global again. - -Thu Sep 5 13:18:25 1996 Thomas Bushnell, n/BSG - - * sysdeps/mach/hurd/i386/init-first.c (__libc_argc, __libc_argv): - New variables. - (init1): Initialize them. - * hurd/hurdinit.c (_hurd_setproc): Now that happens to be - available, pass __libc_argv in call to __proc_set_arg_locations. - - * gmon/gmon.c (write_hist): Call __profile_frequency instead of - hertz. - (hertz): Delete function. - * gmon/Makefile (routines): Add `prof-freq'. - * sysdeps/generic/prof-freq.c: New file. - * sysdeps/mach/hurd/prof-freq.c: New (stubby) file. - * sysdeps/mach/hurd/profil.c (profile_tick): New variable. - (update_waiter): Store frequency in profile_tick. - (__profile_frequency): New function. - - * sysdeps/mach/hurd/sendto.c (sendto): Use prototype definition - syntax. - - * Rules (generated): Restore reference to $(generated). - - * mach/Machrules (mig.uh, mig.__h): Don't include $(user-MIGFLAGS) - here. - - * malloc/free.c (free): __lib_malloc_lock -> __libc_malloc_lock. - - * malloc/free.c: Provide extern decl of __libc_malloc_lock. - * malloc/realloc.c: Likewise. - * malloc/malloc-find.c: Likewise. - * malloc/malloc-size.c: Likewise. - * malloc/malloc-walk.c: Likewise. - * malloc/memalign.c: Likewise. - -Thu Sep 5 03:20:42 1996 Ulrich Drepper - - Change configuration and Makefiles to allow add-ons to have a - sysdeps/ directory hierachy. - * configure.in: Test for sysdeps/ directory in add-ons. Before - all test and searches in these hierachies, too. - * Makeconfig (full-config-subdirs): Define based on $(config-sysdirs). - Extend with $(..) if not absolute path. - Use $(full-config-subdirs) where $(config-sysdirs) was used. - * Makefile ($(objpfx)sysd-dirs): Use config-sysdirs. - * MakeTAGS: Use $(full-config-subdirs). - * Makerules: Change comment to libc.so link script. - (sysdirs): Define based on $(full-config-subdirs). - (sysd-Makefile): Define using config-sysdirs. - (sysd-rules): Likewise. - * sysdeps/unix/Makefile (sysd-syscalls): Define based on +sysdep-dirs. - * sysdeps/unix/make-syscalls.sh: Remove basedir argument. - -Wed Sep 4 01:32:21 1996 Andreas Schwab - - * sysdeps/m68k/fpu/k_cos.c: Rewritten for better accuracy. - * sysdeps/m68k/fpu/k_sin.c: Likewise. - * sysdeps/m68k/fpu/k_tan.c: Likewise. - -Thu Sep 5 01:06:09 1996 Richard Henderson - - * malloc/free.c (free): Protect by using __libc_malloc_lock. - * malloc/malloc-find.c (malloc_find_object_address): Likewise. - * malloc/malloc-size.c (malloc_usable_size): Likewise. - * malloc/malloc-walk.c (malloc_walk): Likewise. - * malloc/memalign.c (memalign): Likewise. - * malloc/realloc.c (realloc): Likewise. - * malloc/malloc.c: Define __libc_malloc_lock. - (_malloc_internal): Don't use `malloc'. Instead look for - `__malloc_hook' or call `_malloc_internal'. - (malloc): Protect by using `__libc_malloc_lock'. - * malloc/malloc.h: Declare `__libc_malloc_lock'. - -Mon Sep 2 22:42:59 1996 Richard Henderson - - * sysdeps/alpha/elf/start.S: Use weak_alias for __start - instead of the hard definition. - - * sysdeps/alpha/dl-machine.h (RTLD_START): Add type info for - _start and _dl_start_user. - - * sysdeps/unix/sysv/linux/alpha/init-first.h (SYSDEP_CALL_INIT): - Make _dl_starting_up weak. Add type info for NAME. - -Mon Sep 2 22:15:14 1996 Richard Henderson - - * Makefile (all): Add extra_solibs pass. - (+subdir_targets): Same. - * Rules (extra_solibs): New phony empty target for subdirs without - extra libs. - * extra-lib.mk: Build lib*.so* in extra_solibs not lib-noranlib. - * manual/Makefile: Add dummy extra_solibs target. - -Sun Sep 1 15:41:22 1996 Richard Henderson - - * Makeconfig (+link): Add $(link-extra-libs). - (link-extra-libs): New variable which expands to the full paths of - the other libraries needed by a program, as controled by LDLIBS-$(@F). - * db/Makefile: Use LDLIBS-makedb to link libdb not a dependency, as - the later attempts to install the library before linking it. - - * sysdeps/unix/alpha/sysdep.S: Align errno. - - * sysdeps/unix/sysv/linux/alpha/ioperm.c (struct platform): Add - hae_shift entry. - (io): Move bus_memory_base and sparse_bus_memory_base into struct. - (_hae_shift): New function. - * sysdeps/unix/sysv/linux/alpha/sys/io.h: New file. Prototypes - for the bus query functions. - -Sat Aug 31 18:14:54 1996 Richard Henderson - - * elf/dl-close.c (_dl_close): In static executables, map->l_prev - can be NULL when unloading a library. - - * elf/dl-open.c (_dl_open): Pass __environ instead of __libc_envp - to the library .init function. - - * sysdeps/alpha/dl-machine.h (elf_machine_rela): Since we omitted - part of the COPY reloc processing earlier, omit the rest now -- - we'll get into less trouble later when some fool does use a COPY. - - * sysdeps/unix/sysv/linux/init-first.c (init): Accept argc et al as - parameters. Move all argc and __libc_multiple_libcs calculation out - to init-first.h. Use __environ not __libc_envp. - * sysdeps/unix/sysv/linux/alpha/init-first.h: Rewrite. - * sysdeps/unix/sysv/linux/i386/init-first.h: Rewrite. - -Thu Aug 29 20:26:40 1996 Andreas Schwab - - * sysdeps/posix/profil.c (profil): Don't clobber saved timer and - signal settings when profiling was already turned on. - - * csu/gmon-start.c (__gmon_start__) [HAVE_INITFINI]: Protect from - being called twice. - -Wed Sep 4 01:31:50 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/mmap.S: Test for - 0 < return value < -4096 and not < 0 to decide about failure. - Reported by Andreas Jaeger. - -Tue Sep 3 19:04:05 1996 Ulrich Drepper - - * stdio-common/vfscanf.c (__vfscanf): Don't count EOF char - in %c format. - -Sat Aug 31 18:10:51 1996 Ulrich Drepper - - * wcsmbs/wchar.h: Define prototypes for wcstoq and wcstouq only - #ifdef __USE_GNU. - -Sat Aug 31 12:34:29 1996 Ulrich Drepper - - * version.c: Add missing newline character in banner. - - * sysdeps/unix/sysv/linux/alpha/Dist: Correct typo. - * sysdeps/unix/sysv/linux/i386/Dist: Likewise. - -Sat Aug 31 03:07:39 1996 Ulrich Drepper - - * intl/l10nflist.c (_nl_normalize_codeset): We convert to lower - case, so don't prepend uppercase `ISO' for only numeric arg. - -Wed Sep 4 16:16:13 1996 Ulrich Drepper - - * sysdeps/mach/hurd/send.c (__send): De-ANSI-fy. - * sysdeps/mach/hurd/sendto.c (sendto): Likewise. - -Tue Sep 3 11:16:07 1996 Thomas Bushnell/ n/BSG - - * shadow/lckpwdf.c (__ulckpwdf): Don't take address of LOCK in - call to __libc_lock_lock. - - * sysdeps/mach/hurd/send.c (__send): Declare BUF const. - * sysdeps/mach/hurd/sendto.c (sendto): Likewise. - - * sysdeps/stub/ustat.c: Include . - - * misc/syslog.c (vsyslog): Fix typo (`mow_tm' -> `now_tm'). - -Fri Aug 30 19:55:27 1996 Ulrich Drepper - - * libio/genops.c: Make _cleanup an alias of _IO_cleanup. - Reported by Erik Troan. - -Fri Aug 30 15:40:04 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/Dist: Add sys/procfs.h and - sys/sysmacros.h. Reported by Curtiss <1CMC3466@IBM.MTSAC.EDU>. - -Fri Aug 30 13:53:32 1996 Andreas Jaeger - - * sysdeps/unix/mman/syscalls.list: `mmap' has 6 arguments, not 5. - -Fri Aug 30 13:01:10 1996 NIIBE Yutaka - - * sysdeps/i386/fpu/__math.h (tan): Pop 1.0 in ST to get - real result. - -Fri Aug 30 03:33:33 1996 Ulrich Drepper - - * sysdeps/libm-ieee754/s_cbrtl.c: New file. `long double' - implementation. - -Fri Aug 30 13:39:21 1996 Thomas Bushnell, n/BSG - - * Makerules (BUILD_CFLAGS): Use @(common-objpfx) for config.h, not - $(..). Some rules (like sysdeps/posix/Makefile for mk-stdiolim) - do `cd' commands. - (sed-remove-objpfx): Don't substitute for $(objpfx) anymore; - $(common-objpfx) is good enough. - * Rules (common-generated): Provide default (empty) value. - (dummy.o, dummy.c, empty.o, empty.c): Put these in - $(common-generated), not $(generated), and without $(..). - (subdir_echo-distinfo): Treat $(common-generated) just like - $(generated). - (generated): Depend on the (suitably mutated) $(common-generated) - files too. - * Makerules (common-clean): Remove common-generated files too. - * sysdeps/mach/hurd/Makefile (generated): Don't put errnos.d and - stamp-errnos here. - (common-generated): Do put errnos.d and stamp-errnos here. - (rpath-link): Don't use +=; $(rpath-link) is a colon separated list. - - * sysdeps/mach/hurd/Makefile (before-compile): Add auth; also add - auth to following rule to get it built. - -Fri Aug 30 01:26:44 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/Dist: Add clone.S. - * sysdeps/unix/sysv/linux/m68k/Dist: Likewise. - * sysdeps/unix/sysv/linux/alpha/Dist: Likewise. - - * version.c: Add comment about where to report bugs to. - * catgets/gencat.c (usage): Likewise. - * db/makedb.c (usage): Likewise. - * locale/programs/locale.c (usage): Likewise. - * locale/programs/localedef.c (usage): Likewise. - - * manual/socket.texi: A little bit better wording. - -Thu Aug 29 18:03:06 1996 Ulrich Drepper - - * Makerules: Make sure directory exists before generating stamp file. - (BUILD_CFLAGS): Always refer to using $(..). - * manual/Makefile: Make sure directory exists before generating - stamp file. - (make-target-directory): Add macro definition. - * sysdeps/generic/Makefile: Make sure directory exists before - generating stamp file. - - * Makefile (distribute): Add autolock.sh. Reported by Fila Kolodny. - -Tue Aug 27 10:06:22 1996 Andreas Schwab - - When compiling in separate directory put objects into - subdirectories matching the source layout. - * Makeconfig (objpfx) [ifdef objdir]: Append $(subdir). - When looking for configparms try in $(common-objpfx). - Use $(common-objpfx)SUBDIR to find objects from other subdirectory - builds. - * Makerules: Add $(objpfx) to vpath list. - (make-dummy-dep): Use $(common-objpfx) to avoid creating dummy.d - more than once. All uses in dependency lists changed. - (+make-deps): Make target directory. - (sed-remove-objpfx): Substitute $(common-objpfx). - (do-ar, build-extra-lib, $(common-objpfx)stub-$(subdir)): Use - $(objpfx) instead of $(objdir) for cd command. - (O%-lib): Always find libc relative to $(..). - (subdir-stamps): Collect stamp files from subdirs. - (common-mostlyclean): Remove stub file in $(common-objpfx). - * MakeTAGS ($P/siglist.pot): Find siglist.c in stdio-common. - * Rules (dep-dummy-lib): Use $(common-objpfx) to avoid creating to - more than once. - ($(objpfx)dummy.c, $(objpfx)empty.c): Change target name to use - $(common-objfpx). All uses in dependency lists changed. - (generated): Prepend $(..) to names. - * bare/Makefile ($(objpfx)lib$(config-vendor).a): Remove $(objpfx) - from $@. - * nss/Makefile ($(objpfx)libnss_dns.so, $(objpfx)libnss_db.so): - Use $(common-objpfx) instead of $(..) in dependencies. - * sysdeps/mach/Makefile (mach-objpfx): Unconditionally use - $(common-objpfx) instead of $(..) and (objpfx). - * sysdeps/mach/hurd/Makefile (hurd-objpfx): Likewise. - (rpath-link): Likewise. - (rpcuserlibs): Likewise. - * sysdeps/unix/Makefile [$(subdir) = stdio-common]: Check for - errlist.c in $(objpfx), not $(common-objpfx). - ($(common-objpfx)s-proto.d): Special rule not covered by pattern - rule. - * sysdeps/unix/make-syscalls.sh: Make syscall rules depending on - s-proto.d in $(common-objpfx), not $(objpfx). - -Thu Aug 29 17:45:49 1996 Ulrich Drepper - - * nss/nsswitch.c (nss_dlerror_run): Free returned error - string. - -Thu Aug 29 15:53:33 1996 Ulrich Drepper - - * sysdeps/libm-ieee754/e_acoshl.c: New file. `long double' - implementation. - * sysdeps/libm-ieee754/e_atanhl.c: Likewise. - * sysdeps/libm-ieee754/e_remainderl.c: Likewise. - * sysdeps/libm-ieee754/e_scalbl.c: Likewise. - * sysdeps/libm-ieee754/s_asinhl.c: Likewise. - * sysdeps/libm-ieee754/s_cosl.c: Likewise. - * sysdeps/libm-ieee754/s_sinl.c: Likewise. - * sysdeps/libm-ieee754/s_tanhl.c: Likewise. - * sysdeps/libm-ieee754/s_tanl.c: Likewise. - -Thu Aug 29 00:28:08 1996 Ulrich Drepper - - * stdio-common/printf_fp.c (__printf_fp): Use default value '.' if - `decimal' char is 0. - - * C-numeric.c (not_available): New constant. - (_nl_C_LC_NUMERIC): Use `not_available' for grouping value. - - * nss/nsswitch.conf: Example configuration file. - * nss/db-Makefile: Example Makefile for generation of databases - for nss_db. - * nss/Makefile (distribute): Add nsswitch.conf and db-Makefile. - -1996-08-28 Paul Eggert - - * C-messages.c (_nl_C_LC_MESSAGES): Set yesexpr to "^[yY]" and - noexpr to "^[nN]"; this conforms to POSIX.2. - - * C-time.c (_nl_C_LC_TIME): Change %d to %e in d_t_format, to - conform to POSIX.2. - -1996-08-28 Paul Eggert - - * C-monetary.c (not_available): New constant. - (_nl_C_LC_MONETARY): Set mon_decimal_point to "", and set - mon_grouping, int_frac_digits, frac_digits, p_cs_precedes, - p_sep_by_space, n_cs_precedes, n_sep_by_space, p_sign_posn, and - n_sign_posn to CHAR_MAX, as required by the POSIX Standard. - -Wed Aug 28 23:12:28 1996 Ulrich Drepper - - * nss/nss_db/db-XXX.c: Correct function names. They must be - `_nss_db_*' instead of `_nss_files_*'. - (lookup): `parse_line' returns 1 if succesful. - * nss/nss_files/files-service.c (servbyname): Key for database - must also contain protocol names. - (servbypt): Likewise. - Test must also check for protocol. Add `proto' argument. - -Tue Aug 27 09:56:13 1996 Andreas Schwab - - * MakeTAGS ($P/subdirs.pot): Prefix all file names, not only the - first one. - -Tue Aug 27 17:45:21 1996 Ulrich Drepper - - * Makerules: Add some test for correct version of GNU Make. - - * io/fcntl.h: Undo change from Mon Aug 26 22:22:17 1996. - * sysdeps/unix/sysv/linux/fcntlbits.h: Place macros here instead. - - * sysdeps/generic/dl-sysdep.c: Initialize break address to - avoid overwriting last page (OK, Roland). - -Tue Aug 27 16:20:37 1996 Ulrich Drepper - - * resolv/resolv.h: Update from BIND-4.9.5-T3A. - * resolv/arpa/nameser.h: Likewise. - * resolv/res_init.c: Likewise. - * resolv/res_debug.c: Likewise. - * resolv/res_mkquery.c: Likewise. - -Tue Aug 27 15:47:04 1996 Ulrich Drepper - - * elf/dl-error.c (catch): Define errstring element not as const. - (_dl_catch_error): ERRSTRING argument is not const pointer. - Initialize *ERRSTRING and *OBJNAME separately. - * elf/link.h: Change prototype for `_dl_catch_error'. - - * elf/dl-load.c (_dl_map_object): Use separate variable for - copied NAME to avoid `const' warning. - - * elf/dlerror.c: Make `last_errstring' variable not const pointer. - - * elf/rtld.c: Implement reading of /etc/ld.so.preload. This - provides preloading even for SUID binaries. - Add some more casts to avoid signed<->unsigned warnings. - -Tue Aug 27 15:40:28 1996 NIIBE Yutaka - - * posix/sys/types.h: Define loff_t. - * sysdeps/unix/sysv/linux/gnu/types.h: Define __loff_t. - -Mon Aug 26 22:22:17 1996 Ulrich Drepper - - * io/fcntl.h: Add definition for BSD F* macros. - - * misc/init-misc.c (__init_misc): Make static. - * misc/Makefile: Pass -fkeep-inline-functions flag for init-misc.c. - - * configure.in: Add test for -fno-exception option of gcc. - * config.make.in: Add definition of have-no-exceptions. - * Makerules: Define no-exceptions based on have-no-exceptions. - * csu/Makefile: When translating initfini.c pass $(no-exceptions). - This is necessary for gcc >= ss-960816. - -Mon Aug 26 17:16:48 1996 Richard Henderson - - * sysdeps/alpha/dl-machine.h: Clear startup flag. - -Fri Aug 16 21:17:50 1996 Andreas Schwab - - * Makerules (o-iterator-doit): Simplify reference to autolock - script. - -Sat Aug 24 15:27:41 1996 Andreas Schwab - - * sysdeps/mach/hurd/getcwd.c - (_hurd_canonicalize_directory_name_internal): After resizing the - buffer move the current contents to the end. Correctly relocate - file name pointer to upper half of the buffer. - -Mon Aug 26 15:49:59 1996 Ulrich Drepper - - * rtld.c (dl_main): Remove code to call ld.so initializer. This - was introduced for compatibility with Linux ld.so and would not - be used anymore. Now we don't have any good values to use as the - parameters to the initializer so simply remove it. - -Sun Aug 25 18:25:52 1996 Andreas Schwab - - * gmon/gmon.c (ERR): Don't write the terminating NUL. - - * sysdeps/posix/profil.c (profil): Disable the profiling timer at - first. - (profil_count): Use 64 bit arithmethic to avoid overflow. - - * sysdeps/generic/machine-gmon.h (MCOUNT): Fix argument order. - -Mon Aug 26 16:31:33 1996 Thomas Bushnell, n/BSG - - * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Tolerate NEW - being null; in that case don't touch the timer at all (but do - return something in OLD if necessary). - -Mon Aug 26 13:35:16 1996 Thomas Bushnell, n/BSG - - * sysdeps/mach/hurd/i386/init-first.c (__libc_multiple_libcs): New - variable. - * sysdeps/i386/init-first.c: Likewise. - * sysdeps/stub/init-first.c: Likewise. - -Mon Aug 26 02:01:37 1996 Ulrich Drepper - - * elf/dl-open.c (_dl_open): Call library initializer with - correct command line arguments and environment information. - * elf/rtld.c (dl_main): Provide arguments to initializer of - ld.so itself. - -Sun Aug 25 19:15:46 1996 Ulrich Drepper - - * shadow/Makefile (routines): Add lckpwdf. - * shadow/lckpwdf.c: New file. - - * sysdeps/i386/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Force - argument `cw' to be placed in memory. Patch by Torbjorn Granlund. - -Sun Aug 25 12:53:37 1996 Ulrich Drepper - - * configure.in: Add definition for `__eh_pc' and `__throw' in - test for --no-whole-archive. The compiler generates dependencies - for this but none of the standard librares and startup files - are used. Necessary for gcc >= ss-960816. - -Sun Aug 25 01:31:33 1996 Ulrich Drepper - - * elf/dl-error.c (_dl_signal_error): If error is catched, malloc - return string since string might be on stack. - * elf/dl-lookup.c (_dl_lookup_symbol): Undo change of - Wed Aug 21 10:14:59 1996. - * elf/dlerror.c (dlerror): Free error string after printing. - (_dlerror_run): If error string was not printed since last error - free string. - * rtld.c (dl_main): Free error string in case of error. - -Sat Aug 24 03:16:47 1996 Ulrich Drepper - - * misc/syslog.c (vsyslog): Don't use `localtime' or `gmtime' since - this changes the global state for `localtime' and `gmtime'. Use - `__localtime_r'/`__gmtime_r' instead. - * resolv/res_debug.c (__p_secstodate): Likewise. - * sysdeps/generic/ftime.c: Likewise. - * sysdeps/posix/gettimeofday.c: Likewise. - Reported by Paul Eggert. - - * time/gmtime.c: De-ANSI-fy. - * time/strftime.c: Don't call non-reentrant functions which change - state. - -Wed Aug 21 10:14:59 1996 Richard Henderson - - * elf/dl-lookup.c (_dl_lookup_symbol): Malloc the error string rather - than putting it on the stack. - -Wed Aug 21 10:12:42 1996 Richard Henderson - - * elf/rtld.c (dl_main): When looking up symbols in response to --list, - don't find .plt entries. - -Mon Aug 19 23:18:12 1996 Andreas Schwab - - * sysdeps/m68k/dl-machine.h (RTLD_START): Optimize clearing - _dl_starting_up. - -Tue Aug 20 17:42:10 1996 Miles Bader - - * stdio/linewrap.c (line_wrap_stream): Initialize D->seek. - -Sat Aug 17 12:19:37 1996 David Mosberger-Tang - - * login/pututline_r.c (__pututline_r): Fix handling of case where - getutid_r() fails with ESRCH. Reported by Miquel van Smoorenburg. - -Wed Aug 14 14:10:54 1996 David Mosberger-Tang - - * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Change entry - for "Jensen" so _bus_base() returns 0 on that platform. Use - _bus_base_sparse() to determine base address of sparse memory. - - * sysdeps/unix/sysv/linux/sys/io.h: Enclose #include - and declarations in __BEGIN_DECLS/__END_DECLS. - -Sun Aug 18 13:37:09 1996 Ulrich Drepper - - * err.h: New file. Wrapper around misc/err.h. - - Correct solution of multiple initialization problem by - Roland McGrath. - * csu/initfini.c: Remove global variable __libc_is_static. - * elf/rtld.c: Introduce new global variable _dl_starting_up. - It's nonzero during the startup. - * elf/dl-open.c (_dl_open): When _dl_start function is not - available (i.e., if in static libc) set `__libc_multiple_libcs' - to nonzero value. - * sysdeps/unix/sysv/linux/init-first.c (__libc_multiple_libc): - New global variable. - (init): Undo change of Fri Aug 2 03:12:40 1996. - Initialize `__libc_multiple_libcs' to nonzero only if this is - a shared lib called from a statically linked program and don't - call `personality' and `setfpucw' in this case either. - * sysdeps/generic/sbrk.c: Undo change of Fri Aug 2 03:12:40 1996. - Don't call brk(0) until `__libc_multiple_libcs' is nonzero. - * sysdeps/i386/dl-machine.h (RTLD_START): Clear _dl_starting_up - before jumping to user code. - * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise. - -Fri Aug 16 04:59:01 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/init-first.c: Remove hack from - Thu Aug 8 12:40:20 1996. - * sysdeps/unix/sysv/linux/Makefile [$(subdir) = csu]: Use - -fkeep-inline-functions flag instead. - -Fri Aug 16 01:24:33 1996 Ulrich Drepper - - * inet/ruserpass.c (userpass): Allocate buffer for .netrc file - name dynamically. Reported by Alan Cox. - Uncomment warnings and mark as translatable. - - * time/strftime (strftime): Add implementation for %s and %z - format. Change behaviour for unknown format character: now - simply print it. This matches the behaviour of printf. - Reported by Jim Meyering. - * manual/time.texi: Document all formats and flags of strftime. - -Thu Aug 15 18:02:51 1996 Ulrich Drepper - - * elf/rtld.c (dl_main): Loaded object has type lt_executable, - not lt_library. - - * misc/sys/select.h: Define fd_set using typedef, not #define. - Proposed by David Mosberger-Tang. - -Thu Aug 15 12:48:21 1996 Ulrich Drepper - - * po/header.pot: Use real description line. - -Thu Aug 15 04:42:44 1996 Ulrich Drepper - - * elf/rtld.c (dl_main): When started with --verify prevent - any warning. Just exit with an error. - * elf/ldd.sh.in: Don't run given object directly. This fails for - libraries. Instead use $RTLD again. - -Thu Aug 15 02:08:59 1996 Ulrich Drepper - - * manual/nss.texi: New file. Document NSS. - * manual/nsswitch.texi: New file. Example configuration. - - * manual/string.texi: Document stpncpy, strdupa, and strndupa. - * manual/example/strdupa.c: New file. Example for strdupa. - -Wed Aug 14 21:36:16 1996 Ulrich Drepper - - * stdlib/strtod.c (STRTOD): Correct assertion about size of - wint_t and wchar_t. Reported by David Mosberger-Tang. - -Mon Aug 12 22:40:16 1996 Andreas Schwab - - * elf/dl-lookup.c (_dl_lookup_symbol): Remove fifth parameter - RELOC_ADDR and make NOPLT a set of flags. All callers - changed. Delete condition that checks for resolving to the - location being filled in. Add condition to skip the - executable's symbols if requested. - * elf/link.h: Change declaration of _dl_lookup_symbol - accordingly. - (DL_LOOKUP_NOEXEC, DL_LOOKUP_NOPLT): New definitions. - * elf/dl-reloc.c (RESOLVE): Remove second parameter and rename - NOPLT to FLAGS. - * elf/dl-runtime.c (RESOLVE): Likewise. - * elf/rtld.c (RESOLVE): Likewise. - * sysdeps/m68k/dl-machine.h (elf_machine_rela): Pass - DL_LOOKUP_NOEXEC as second argument to the RESOLVE macro if - processing a copy reloc, DL_LOOKUP_NOPLT for a jump slot - reloc, zero otherwise. - * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise. - * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. - * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise. - -Wed Aug 14 17:57:08 1996 Ulrich Drepper - - * MakeTAGS: Clean up use of --omit-header and -n for xgettext. - * po/header.pot: Add empty line at end. - -Sun Aug 11 13:45:33 1996 Andreas Schwab - - * MakeTAGS (all-pot): Remove $P/errlist.pot, all error messages - are now in $P/stdio-common.pot. - (XGETTEXTFLAGS-errlist.pot): Variable removed. - -Mon Aug 12 19:25:03 1996 Andreas Schwab - - * Makerules (do-ar, o-iterator-doit): Compute path to autolock - script at run time, not configure time. - * config.make.in, configure.in: Undo previous change. - -Wed Aug 14 13:20:02 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/close.S: Push return value of thread - on stack as argument for `_exit'. Reported by Andreas Schwab. - -Mon Aug 12 19:36:25 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/clone.S: New file. - -Wed Aug 14 04:22:35 1996 Richard Henderson - - * elf/dl-load.c (_dl_map_object): Save name in malloced memory. - (_dl_map_object_from_fd): Free name on error. - -Wed Aug 14 13:00:09 1996 Ulrich Drepper - - * string/strdup.c: Use result of memcpy to avoid reloading. - -Tue Aug 13 00:55:03 1996 Andreas Schwab - - * shadow/sgetspent_r.c (__sgetspent_r): Copy string to buffer, not - the other way round. - -Tue Aug 13 20:51:21 1996 Ulrich Drepper - - * stdlib/canonicalize.c (canonicalize): Add cast to prevent - warning. - - * Makerules (o-iterator-doit): Use autolock.sh when running ranlib. - -Tue Aug 13 18:26:45 1996 Ulrich Drepper - - * nss/nsswitch.c (__nss_configure_lookup): Use fact that list is - sorted. - - Update from bind-4.9.5-T1A. - * resolv/Makefile (libresolv-routines): Add base64, inet_net_ntop, - inet_net_pton, inet_net. - - * resolv/gethnamaddr.c: Include . - * resolv/getnetnamadr.c: Likewise. - * resolv/herror.c: Likewise. - * resolv/inet_addr.c: Likewise. - * resolv/nsap_addr.c: Likewise. - * resolv/res_comp.c: Likewise. - * resolv/res_data.c: Likewise. - * resolv/res_init.c: Likewise. - * resolv/res_mkquery.c: Likewise. - * resolv/res_query.c: Likewise. - * resolv/res_send.c: Likewise. - - * resolv/gethnamaddr.c [! SPRINTF_CHAR] (SPRINTF): Cast return - value of sprintf. - * resolv/inet_ntop.c: Likewise. - - * resolv/gethnamaddr.c [BSD]: Include . - Remove prototype of gethostbyname_ipv4. - - * resolv/inet_ntop.c, resolv/inet_pton.c: Use ISO C `mem*' - functions instead of BSD `b*' functions. - - * resolv/nsap_addr.c: Add copyright message. - - * resolv/res_comp.c: Remove comment explaining label format. - (res_mailok): Correct check. - - * resolv/res_debug: Include missing headers. - (__fp_nquery): Handle `unused', `ad', and `cd' bits. - (__p_fqnname): New function to print FQDN from compressed name. - (__p_rr): Use __p_fqnname. Correct printing of ". Handle T_TXT - correctly. Add handling of T_KEY and T_SIG. - Handle class and type names by using name arrays instead of - explicit `switch'es. - (__sym_ston, __sym_ntos, __sym_ntop): New functions to use arrays. - (__dn_count_labels, __p_secstodate): New functions. - - * resolv/resolv.h (__RES): Update version number. - (res_sym): New type. - Add #defines for new functions. - Declare sym_ntos, sym_ntop, b64_ntop, b64_pton, __p_fqnname, - __p_secstodate, dn_count_labels. - - * resolv/arpa/nameser.h (__BIND): Update version number. - Add KEYFLAG_* and ALGORITHM_* symbols. - (HEADER): Add `ad' and `cd' flags. - - * inet/ient.h: Add prototypes for inet_neta, inet_net_ntop, - and inet_net_pton. - - * manual/maint.texi: Document that we use bind-4.9.5. - * INSTALL: Ditto. - -Mon Aug 12 19:03:22 1996 Thomas Bushnell n/BSG - - * sysdeps/generic/gnu/types.h: Declare __fd_mask as `unsigned long'. - - * mach/Makefile (mach/mach_host.uh): Depend on - $(objpfx)/mach-syscalls.mk. - ($(objpfx)mach-shortcuts.h): Depend on $(objpfx)mach/mach_host.h. - (This fixes a make loop; thanks to Marcus Daniels - for the patch.) - -Mon Aug 12 16:41:52 1996 Thomas Bushnell n/BSG - - * io/getwd.c (getwd) [! PATH_MAX]: Don't assume that the user's - buffer is any longer than the amount necessary to hold the - filename; the Hurd getcwd uses the *entire* contents of the - buffer, however long it is specified to be. - -Mon Aug 12 04:33:09 1996 Ulrich Drepper - - * nss/nsswitch.c (__nss_database_lookup): Always release locks - before returning. Reported by Miles Bader. - -Mon Aug 12 03:31:58 1996 Ulrich Drepper - - * nss/nsswitch.c (__nss_configure_lookup): New function. - Allows to specify services. - * nss/XXX-lookup.h: Rename database variable and make global. - * nss/databases.def: New file. Real names of all databases. - - * nss/nss.h: New file. Contains declaration useful for users - and service developers. - * nss/nsswitch.h: Move some declarations to nss/nss.h. - * nss.h: New file. Wrapper around nss/nss.h. - - * nss/Makefile (headers): Add nss.h. - (distributes): Add databases.def. - -Sun Aug 11 16:19:42 1996 Ulrich Drepper - - Help the poor people with fast machines by making sure only - one `ar' commands works on the library. - * autolock.sh: New file. Written by Tom Tromey. - * Makerules (do-ar): Call autolock.sh shell script instead of - directly using `ar'. - * config.make.in: Make configuration variable AUTOLOCK which - gets initialized by configure. - * configure.in: Define variable AUTOLOCK to point to autolock.sh - script and mark it to substitute. - - * string/Makefile: Add -fno-builtin for tst-strlen.c, too. - - * sysdeps/generic/sbrk.c (__sbrk): Get kernel brk address - always only if in static libc or if statically linked program - uses libc.so. - -Sun Aug 11 01:12:38 1996 Richard Henderson - - * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Optimize LD_BIND_NOW - startup by moving Icache flush from here ... - (ELF_MACHINE_RUNTIME_TRAMPOLINE): ... to here. - (ELF_MACHINE_USER_ADDRESS_MASK): Delete; it is unused. - - * sysdeps/alpha/divrem.h: Update comment to reflect the actual - calling conventions. The code is already correct. - -Sun Aug 11 01:06:42 1996 Richard Henderson - - * string/Makefile: Compile tester with -fno-builtin as we want to - test our implementations, not gcc's. - -Sat Aug 10 13:17:27 1996 David Mosberger-Tang - - * shadow.h: New file. - - * sysdeps/unix/sysv/linux/netinet/in.h: Move - __BEGIN_DECLS/__END_DECLS up so ntohl() et al are bracketed as - well. - - * socket/sys/socket.h [__cplusplus]: Use old-style __SOCKADDR_ARG. - g++ 2.7.2 (and earlier) has no transparent unions support. - -Fri Aug 9 18:50:06 1996 David Mosberger-Tang - - * sysdeps/unix/sysv/linux/alpha/ioperm.c (_bus_base_sparse): New - function to determine the base address of sparse bus memory. - (APECS_*): Rename to CIA_*. - (APECS_SPARSE_MEM, CIA_SPARSE_MEM): New macros. - (platform): Add sparse_bus_memory_base member and initialize. - (sparse_bus_memory_base): New variable. - -Tue Aug 6 10:23:18 1996 David Mosberger-Tang - - * sysdeps/posix/ttyname_r.c (ttyname_r), - sysdeps/posix/ttyname.c (ttyname): Return -1/NULL if - !__isatty(fd) (POSIX.1 says so.) - - * sysdeps/unix/getlogin.c (getlogin): Fix to check fd 0 only. - This is not a gross hack, after all---for compatibility, - getlogin() really should check fd 0 only and not try to base its - operation on the controlling tty. - -Wed Jul 17 10:54:20 1996 David Mosberger-Tang - - * sysdeps/unix/getlogin.c (getlogin): Add static variable NAME, - change utmp_data from static to auto. - -Sun Aug 11 02:56:08 1996 Ulrich Drepper - - * posix/unistd.h [__USE_MISC]: Add prototype for `nice'. - Reported by David Mosberger-Tang. - -Sat Aug 10 02:05:28 1996 Richard Henderson - - * sysdeps/libm-ieee754/s_isnan.c [NO_LONG_DOUBLE]: Add strong - alias to `__isnanl'. - -Fri Aug 9 17:38:58 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sys/timex.h: Include to - get `struct timeval'. - * sysdeps/unix/sysv/linux/sys/acct.h: Get time_t from . - * sysdeps/unix/sysv/linux/sys/module.h: Get size_t from . - * sysdeps/unix/sysv/linux/sys/io.h: Get definition of __P. - * sysdeps/unix/sysv/linux/sys/klog.h: Likewise. - * gmon/sys/gmon.h: Include to get u_long. - * sysdeps/unix/sysv/linux/direntry.h: Complete types in - . - * io/fts.h: Include to get dev_t. - Reported by Matthias Urlichs. - - * sysdeps/posix/tempname.c [USE_IN_LIBIO]: Don't clear - _IO_file_flags. It's the same as _flags. - Reported by Miquel van Smoorenburg . - -Wed Aug 7 19:38:47 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Add RLIMIT_AS. - -Thu Aug 8 16:17:38 1996 Ulrich Drepper - - * pwd/getpwent.c: Define BUFLEN from NSS_BUFLEN_PASSWD. - * pwd/getpwent_r.c: Likewise. - * pwd/getpwnam.c: Likewise. - * pwd/getpwnam_r.c: Likewise. - * pwd/getpwuid.c: Likewise. - * pwd/getpwuid_r.c: Likewise. - - * grp/getgrent.c: Define BUFLEN from NSS_BUFLEN_GROUP. - * grp/getgrent_r.c: Likewise. - * grp/getgrgid.c: Likewise. - * grp/getgrgid_r.c: Likewise. - * grp/getgrnam.c: Likewise. - - * pwd/fgetpwent_r.c: New file. Reentrant version of fgetpwent. - * pwd/fgetpwent.c: Rewrite to use fgetpwent_r. - * pwd/Makefile (routines): Add fgetpwent_r. - * pwd/pwd.h: Add prototypes for __fgetpwent_r and fgetpwent_r. - - * grp/fgetgrent_r.c: New file. Reentrant version of fgetgrent. - * grp/fgetgrent.c: Rewrite to use fgetgrent_r. - * grp/Makefile (routines): Add fgetgrent_r. - * grp/grp.h: Add prototypes for __fgetgrent_r and fgetgrent_r. - - Implement shadow password lookup functions. This is no complete - shadow password suite. - * shadow/Makefile: New file. - * shadow/fgetspent.c: New file. - * shadow/fgetspent_r.c: New file. - * shadow/getspent.c: New file. - * shadow/getspent_r.c: New file. - * shadow/getspnam.c: New file. - * shadow/getspnam_r.c: New file. - * shadow/putspent.c: New file. - * shadow/sgetspent.c: New file. - * shadow/sgetspent_r.c: New file. - * shadow/shadow.h: New file. - * shadow/spwd-lookup.c: New file. - * shadow/nss_files/files-spwd.c: New file. - -Thu Aug 8 13:33:45 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/ftime.c: New file. Available system - call is only a stub. - Reported by Matthias Urlichs. - - * Makeconfig [!default_cflags]: Change default value from `-g' - to `-g -O'. - - * configure.in: Recognize i686. - * sysdeps/i386/i686/Implies: Default on i586 optimized code. - -Thu Aug 8 12:40:20 1996 Matthias Urlichs - - * Makeconfig [$(build-omitfp) == yes]: Add to CFLAGS-.so - value of CFLAGS-.o, not CFLAGS-o. - - * sysdeps/unix/sysv/linux/init-first.c (init): Add volatile - pointer to ourself. Otherwise `gcc -O3' optimized init away. - -Thu Aug 8 01:41:43 1996 Ulrich Drepper - - * elf/Makefile: Undo change of Tue Aug 6 14:27:11 1996. - * elf/dl-support: Add definition of `_dl_sysdep_read_whole_file'. - -Thu Aug 8 01:15:59 1996 Ulrich Drepper - - * sysdeps/i386/fpu_control.h (_FPU_DEFAULT, _FPU_IEEE): Set - to 0x137f to allow long double operations. - -Sun Aug 4 13:12:05 1996 Richard Henderson - - Bug Fixes: - - * nss/nsswitch.c (_res): Remove redundant variable definition. - The real one is in resolve/res_init.c, and having both prevents - using -fno-common when building the shared library. - * sunrpc/rpc_prot.c (_null_auth): Same. Original is in rpc_common.c. - - * sysdeps/unix/sysv/linux/alpha/brk.S: When PIC, define __curbrk as - a .bss object not a COMMON symbol. - - * sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/bsd-setjmp.S: Must load - $gp before referencing __sigsetjmp symbol. Retain LITUSE for same. - - Optimizations: - - * sysdeps/alpha/strlen.S: Rearrange first-word setup and thense the - main loop for better dual-issue on EV5. Rearrange binary search to - pipeline better and trim one instruction. - - Cosmetic Changes: - - * time/localtime.c (localtime_r): Move lock declaration back next to - the comment where it was before the 960724 change. - - * INSTALL, manual/maint.texi: alpha-gnu-linux -> alpha-ANYTHING-linux. - The second word is supposed to be the hardware manufacturer. - - * sysdeps/alpha/_mcount.S: Retain LITUSE for __mcount. - * sysdeps/alpha/setjmp.S: Retain LITUSE for __sigsetjmp_aux. - - * sysdeps/alpha/divrem.h: More local labels, retain LITUSE for _mcount. - - * sysdeps/alpha/alphaev5/add_n.S, sysdeps/alpha/alphaev5/lshift.S, - sysdeps/alpha/alphaev5/rshift.S, sysdeps/alpha/alphaev5/sub_n.S: - Same cleanups as with EV4 GMP stuff. - -Tue Jul 25 03:30:56 1996 Richard Henderson - - * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_routines): Add clone. - * sysdeps/unix/sysv/linux/alpha/clone.S: New file. - * sysdeps/unix/sysv/linux/i386/clone.S: New file. - -Sun Aug 4 00:12:41 1996 David Mosberger-Tang - - * sysdeps/unix/sysv/linux/gnu/types.h: Declare __fd_mask as - `unsigned long'. - - * misc/sys/select.h: Declare fd_mask as alias of __fd_mask. - -Sat Aug 3 16:20:02 1996 David Mosberger-Tang - - * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for - Mikasa. - - * socket/sys/socket.h (send, __send, sendto): Declare buffer - pointer as __const. - - * string/tester.c (main): Test stpncpy. - - * sysdeps/generic/stpncpy.c (__stpncpy): Fix so it works without - segfault when called with an N that is not a multiple of four and - src[N-1]=='\0'. - - * misc/syslog.c (LogType): New variable. - (openlog): If connect() with SOCK_DGRAM fails with EPROTOTYPE, - try again with SOCK_STREAM (the Linux syslogd uses a socket of the - latter type). - (vsyslog): When LogType==SOCK_STREAM, also send ASCII NUL - terminator as a record-delimiter. If __send(LogFile) fails, - call closelog() so logfile gets re-opened next time. - -Wed Aug 7 15:15:14 1996 Ulrich Drepper - - * elf/dl-open (_dl_open): Add cast to avoid warning. - - * manual/memory.texi: Improve some examples to give readers better - advice: Use `stpcpy' instead of `strcat' if possible. - * manual/string.texi: Document `strtok_r' and `strtok'. - - * sunrpc/Makefile: Move `+gccwarn' definition before inclusion - of Makeconfig. - [$(cross-compiling)=no]: Change test before making librpcsvc - to this from $(cross-compile). - Reported by Andreas Schwab. - -Tue Aug 6 14:27:11 1996 Ulrich Drepper - - * elf/Makefile (routines): Move dl-sysdep to here... - (rtld-routines): ...from here. This should make static linking - work again. - - * locale/setlocale.c: Add local variable `lock' and add code to - `setlocale' to avoid simultaneous changing of global data. - - * catgets/catgets.c (catopen): Use `__strdup' instead of `strdup'. - * catgets/open_catalog (__open_catalog): Use `__stpcpy', `__open', - `__fstat', `__read', `__mmap', `__munmap' and `__close' instead - of unprotected names. - -Tue Aug 6 01:13:56 1996 Ulrich Drepper - - Clean name space according to ISO C, ISO C/Amd 1, and POSIX.1. - This requires to rename several functions to use __ protected - names. - * dirent/dirent.h: Add prototypes of __opendir, __closedir, - and __readdir. - * sysdeps/mach/hurd/closedir.c: Prepend function name with __ - and make old name a weak alias. - * sysdeps/mach/hurd/getrlimit.c: Likewise. + * time/mktime.c, time/time.h, time/timegm.c (__mktime_internal): + Renamed from _mktime_internal to avoid namespace pollution. + + * time/gmtime.c: Clear tm_isdst. + +Mon Sep 18 01:58:40 1995 Roland McGrath + + * misc/efgcvt_r.c (ecvt_r, fcvt_r): Last arg is size_t, not int. + * stdlib/stdlib.h (ecvt_r, fcvt_r): Fix type of last arg: make it + size_t. + + * sysdeps/mach/hurd/fpathconf.c: Call __io_pathconf instead of + __file_pathconf. + * sysdeps/mach/hurd/pathconf.c: Likewise. + + * Makefile (subdirs): Add sysvipc. + + * stdlib/srand48_r.c (srand48_r): Use UL suffix for huge constant. + * stdlib/drand48-iter.c (__drand48_iterate): Likewise. + +Sun Sep 17 18:29:13 1995 Roland McGrath + + * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Call + __file_set_size instead of __file_truncate. + + * features.h (__USE_REENTRANT): New macro. + + * sysdeps/mach/hurd/truncate.c: Call __file_set_size instead of + __file_truncate. + * sysdeps/mach/hurd/ftruncate.c: Likewise. + + * sysdeps/unix/sysv/linux/dl-machine.h: File removed. + +Sat Sep 16 17:47:19 1995 Ulrich Drepper + + * elf/elf.h (AT_GID): Fix typo: Read -> Real. + + * misc/efgvt_r.c: New file. Reentrant version of [efg]cvt functions. + * misc/efgcvt.c: Rewrite to use reentrant functions. + * misc/search.h: Many decls for hsearch functions. + * misc/hsearch_r.c: New file. Reentrant version of functions from + hsearch family. + * misc/hsearch.c, misc/tsearch.c: New files. + * misc/Makefile (routines): Add efgcvt_r, hsearch_r, hsearch, tsearch. + + * posix/unistd.h (ttyname_r): Add prototype for new function. + + * stdlib/drand48_r.c, stdlib/erand48_r.c, stdlib/jrand48_r.c, + stdlib/lrand48_r.c, stdlib/mrand48_r.c, stdlib/nrand48_r.c, + stdlib/seed48_r.c, stdlib/srand48_r.c, stdlib/lcong48_r.c, + stdlib/drand48-iter.c: New files implementing reentrant versions + of functions from drand48 family. + * stdlib/seed48.c, stdlib/drand48.c, stdlib/erand48.c, + stdlib/jrand48.c, stdlib/lrand48.c, stdlib/mrand48.c, + stdlib/nrand48.c, stdlib/srand48.c, stdlib/lcong48.c: + Rewrite to use reentrant versions. + * stdlib/a64l.c, stdlib/l64a.c: New files. Implement a64l() + and l64a() functions from SysV library. + * stdlib/Makefile (routines): Add drand48_r, erand48_r, lrand48_r, + nrand48_r, mrand48_r, jrand48_r, srand48_r, seed48_r, lcong48_r, + drand48-iter, a64l, l64a. + * stdlib/stdlib.h: Declare them. + + * stdlib/random_r.c: New file. Reentrant version of functions + from random family. + * stdlib/stdlib.h: Declare them. + * stdlib/random.c: Rewrite to use reentrant functions. + + * string/strerror_r.c: New file. Reentrant version. + * string/strerror.c: Change for new _strerror_internal form. + * string/Makefile (routines): Add strerror_r. + + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Set default + value of user_entry to `_start'. + Close AT_ENTRY case with `break'. + + * sysdeps/generic/strstr.c: New and much faster implementation + by Stephen R. van den Berg. + + * sysdeps/generic/_strerror.c: _strerror_internal now takes + three argument and has and explicit buffer length. + * sysdeps/mach/_strerror.c: Change for new interface with three + arguments. + * stdio/perror.c, stdio/vfprintf.c: Callers changed. + + * sysdeps/mach/hurd/ttyname_r.c: New file. Reentrant version. + * sysdeps/posix/ttyname_r.c: New file. Reentrant version. + * sysdeps/stub/ttyname_r: New file. Define as dummy function. + + * sysdeps/posix/utimes.c: Include for prototype. + (utimes): First parameter to utime must be file, not path. + + * sysdeps/posix/sysconf.c (__sysconf): Test for CLK_TCK in case + _SC_CLK_TCK and return it when available. + Test for STREAM_MAX in case _SC_STREAM_MAX and return it when + available. + Add case for _SC_2_LOCALEDEF which is now available. + + * posix/sys/types.h [__USE_SVID] (key_t): New type. + * sysvipc/Makefile, sysvipc/ftok.c, sysvipc/sys/ipc.h, + sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h, + sysdeps/stub/sys/msq_buf.h, sysdeps/stub/sys/sem_buf.h, + sysdeps/stub/sys/shm_buf.h, sysdeps/stub/sys/ipc_buf.h, + sysdeps/stub/semctl.c, sysdeps/stub/semget.c, sysdeps/stub/semop.c, + sysdeps/stub/shmat.c, sysdeps/stub/shmctl.c, sysdeps/stub/shmdt.c, + sysdeps/stub/shmget.c, sysdeps/stub/msgctl.c, sysdeps/stub/msgget.c, + sysdeps/stub/msgrcv.c, sysdeps/stub/msgsnd.c: New files. + Add implementation of System V IPC. + +Fri Sep 15 21:34:28 1995 Roland McGrath + + * hurd/hurdsig.c: Include in place of . + (write_corefile): Call __crash_dump_task instead of __core_dump_task. + Use envariable CRASHSERVER instead of CORESERVER. + * hurd/Makefile (user-interfaces): Replace hurd/core with hurd/crash. + +Tue Sep 12 14:30:07 1995 Roland McGrath + + * misc/mntent.c: New file. + * misc/mntent.h: New file. + * misc/Makefile (headers): Added mntent.h. + (routines): Added mntent. + * misc/fstab.c: Rewritten using mntent functions. + +Mon Sep 11 14:00:14 1995 Roland McGrath + + * posix/glob.c (glob): Comment fix. + +Fri Sep 8 16:25:22 1995 Roland McGrath + + * libc-symbols.h [HAVE_ELF] (symbol_set_declare): Declare the + symbols weak. + + * conf/portability.h (NEED_INETADDR, NEED_INETATON): Define to 1, + not empty. + +Fri Sep 8 16:32:12 1995 Ulrich Drepper + + * sysdeps/unix/sysv/linux/Implies, + sysdeps/unix/sysv/linux/Makefile, sysdeps/unix/sysv/linux/Subdirs, + sysdeps/unix/sysv/linux/accept.S, sysdeps/unix/sysv/linux/adjtime.c, + sysdeps/unix/sysv/linux/adjtimex.S, sysdeps/unix/sysv/linux/bind.S, + sysdeps/unix/sysv/linux/connect.S, sysdeps/unix/sysv/linux/direct.h, + sysdeps/unix/sysv/linux/dl-machine.h, sysdeps/unix/sysv/linux/errnos.h, + sysdeps/unix/sysv/linux/fork.S, sysdeps/unix/sysv/linux/gethostid.c, + sysdeps/unix/sysv/linux/gethostname.C, + sysdeps/unix/sysv/linux/getpeername.S, + sysdeps/unix/sysv/linux/getpgid.S, sysdeps/unix/sysv/linux/getpgrp.S, + sysdeps/unix/sysv/linux/getsockname.S, + sysdeps/unix/sysv/linux/getsockopt.S, sysdeps/unix/sysv/linux/gtty.S, + sysdeps/unix/sysv/linux/listen.S, sysdeps/unix/sysv/linux/local_lim.h, + sysdeps/unix/sysv/linux/madvise.c, sysdeps/unix/sysv/linux/msgctl.c, + sysdeps/unix/sysv/linux/msgget.c, sysdeps/unix/sysv/linux/msgrcv.c, + sysdeps/unix/sysv/linux/msgsnd.c, sysdeps/unix/sysv/linux/pipe.S, + sysdeps/unix/sysv/linux/poll.c, sysdeps/unix/sysv/linux/readv.c, + sysdeps/unix/sysv/linux/recv.S, sysdeps/unix/sysv/linux/recvfrom.S, + sysdeps/unix/sysv/linux/recvmsg.S, sysdeps/unix/sysv/linux/semctl.c, + sysdeps/unix/sysv/linux/semget.c, sysdeps/unix/sysv/linux/semop.c, + sysdeps/unix/sysv/linux/send.S, sysdeps/unix/sysv/linux/sendmsg.S, + sysdeps/unix/sysv/linux/sendto.S, sysdeps/unix/sysv/linux/setegid.c, + sysdeps/unix/sysv/linux/seteuid.c, sysdeps/unix/sysv/linux/sethostid.c, + sysdeps/unix/sysv/linux/setpgid.c, sysdeps/unix/sysv/linux/setpgrp.c, + sysdeps/unix/sysv/linux/setsid.S, sysdeps/unix/sysv/linux/setsockopt.S, + sysdeps/unix/sysv/linux/settimeofday.S, + sysdeps/unix/sysv/linux/shmat.c, sysdeps/unix/sysv/linux/shmctl.c, + sysdeps/unix/sysv/linux/shmdt.c, sysdeps/unix/sysv/linux/shmget.c, + sysdeps/unix/sysv/linux/shutdown.S, + sysdeps/unix/sysv/linux/sigaction.S, sysdeps/unix/sysv/linux/signal.S, + sysdeps/unix/sysv/linux/sigpending.S, sysdeps/unix/sysv/linux/sigset.h, + sysdeps/unix/sysv/linux/sockaddrcom.h, + sysdeps/unix/sysv/linux/socketpair.S, sysdeps/unix/sysv/linux/speed.c, + sysdeps/unix/sysv/linux/statbuf.h, sysdeps/unix/sysv/linux/stty.S, + sysdeps/unix/sysv/linux/syscall.h, sysdeps/unix/sysv/linux/sysconf.c, + sysdeps/unix/sysv/linux/tcdrain.c, sysdeps/unix/sysv/linux/tcflow.c, + sysdeps/unix/sysv/linux/tcflush.c, sysdeps/unix/sysv/linux/tcgetattr.c, + sysdeps/unix/sysv/linux/tcsetattr.c, + sysdeps/unix/sysv/linux/termbits.h, sysdeps/unix/sysv/linux/ualarm.c, + sysdeps/unix/sysv/linux/ulimit.c, sysdeps/unix/sysv/linux/usleep.c, + sysdeps/unix/sysv/linux/utsnamelen.h, sysdeps/unix/sysv/linux/vfork.c, + sysdeps/unix/sysv/linux/wait.c, sysdeps/unix/sysv/linux/wait4.S, + sysdeps/unix/sysv/linux/waitpid.c, sysdeps/unix/sysv/linux/writev.c: + New Linux/ELF specific, architecture independent files. + * sysdeps/unix/sysv/linux/i386/Dist, + sysdeps/unix/sysv/linux/i386/Makefile, + sysdeps/unix/sysv/linux/i386/brk.S, + sysdeps/unix/sysv/linux/i386/fcntlbits.h, + sysdeps/unix/sysv/linux/i386/fpu_control.c, + sysdeps/unix/sysv/linux/i386/fpu_control.h, + sysdeps/unix/sysv/linux/i386/fstat.S, + sysdeps/unix/sysv/linux/i386/fxstat.S, + sysdeps/unix/sysv/linux/i386/ieee_fpu.c, + sysdeps/unix/sysv/linux/i386/init-first.S, + sysdeps/unix/sysv/linux/i386/ipc.S, + sysdeps/unix/sysv/linux/i386/lstat.S, + sysdeps/unix/sysv/linux/i386/lxstat.S, + sysdeps/unix/sysv/linux/i386/mknod.S, + sysdeps/unix/sysv/linux/i386/mmap.S, + sysdeps/unix/sysv/linux/i386/sbrk.S, + sysdeps/unix/sysv/linux/i386/setfpucw.c, + sysdeps/unix/sysv/linux/i386/signum.h, + sysdeps/unix/sysv/linux/i386/socket.S, + sysdeps/unix/sysv/linux/i386/stat.S, + sysdeps/unix/sysv/linux/i386/syscall.S, + sysdeps/unix/sysv/linux/i386/sysdep.S, + sysdeps/unix/sysv/linux/i386/sysdep.h, + sysdeps/unix/sysv/linux/i386/xmknod.S, + sysdeps/unix/sysv/linux/i386/xstat.S: + New Linux i386/ELF specific files. + * sysdeps/unix/sysv/linux/sys/ipc_buf.h, + sysdeps/unix/sysv/linux/sys/mman.h, + sysdeps/unix/sysv/linux/sys/msq_buf.h, + sysdeps/unix/sysv/linux/sys/sem_buf.h, + sysdeps/unix/sysv/linux/sys/shm_buf.h, + sysdeps/unix/sysv/linux/sys/socketcall.h, + sysdeps/unix/sysv/linux/sys/timex.h: + New Linux/ELF specific, architecture independent header files. + * sysdeps/unix/sysv/sysv4/linux: Tree removed. + +Thu Sep 7 17:05:13 1995 Roland McGrath + + * stdlib/msort.c (msort_with_tmp): Fixed alignment test. B1 and + B2 are always congruent; just test that B1 is aligned. + +Wed Sep 6 19:41:10 1995 Roland McGrath + + * elf/dl-lookup.c (_dl_lookup_symbol): Test WEAK_VALUE.s rather + than WEAK_VALUE.a to see if a weak value has been set. A valid + weak value may set WEAK_VALUE.a to 0. + +Fri Sep 1 16:16:12 1995 Roland McGrath + + * sysdeps/mach/hurd/i386/longjmp-ts.c: Use new array format for + jmp_buf. + + * libc-symbols.h (link_warning): Take new first arg SYMBOL; ask + for a warning on references to that specific symbol, not the + entire containing object file. + (stub_warning): Pass symbol name to link_warning. + * stdio/gets.c: Pass function name in link_warning invocation. + + * hurd/intr-msg.c: Treat apparent EINTR return from msg trap like + MACH_SEND_INTERRUPTED. That indicates interrupt_operation was + sent, but failed. + + * stdlib/msort.c: Include memcopy.h. + (msort_with_tmp): If operating on aligned op_t words, use direct word + fetches and stores. + + * sysdeps/i386/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC): Add + missing backslash. + +Thu Aug 31 13:23:35 1995 Roland McGrath + + * sysdeps/unix/i386/brk.S [PIC]: Set __curbrk through the GOT. + + Rewrote i386 setjmp code in assembly, so as to avoid fighting + with the compiler for the register values. + * sysdeps/i386/setjmp.S, sysdeps/i386/__longjmp.S: New files. + * sysdeps/i386/setjmp.c, sysdeps/i386/__longjmp.c: Files removed. + * sysdeps/i386/jmp_buf.h [! _ASM] (__jmp_buf): Define as array of ints. + [__USE_MISC || _ASM] (JB_*): New macros, for indices therein. + (_JMPBUF_UNWINDS): Use JB_SP. + +Wed Aug 30 16:44:55 1995 Roland McGrath + + * sysdeps/mach/hurd/select.c: Deal with out of order replies + during io_select request loop. + Handle MACH_RCV_TIMED_OUT error from requests. + * hurd/intr-msg.c: If the user passed the MACH_RCV_TIMEOUT option, + distinguish MACH_RCV_TIMED_OUT from EINTR. + + * posix/glob.c (glob): Use realloc to extend strings for GLOB_MARK + slash. + (glob_in_dir): Don't allocate extra byte here. + + * sysdeps/i386/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC): + Decrement the DT_RELSZ value for the skipped reloc. + +Tue Aug 29 12:35:56 1995 Roland McGrath + + * time/australasia: Updated data from ADO. + +Mon Aug 28 17:47:11 1995 Roland McGrath + + * dirent/dirent.h: Don't include . + Instead, define DIR as typedef for (undefined) `struct __dirstream'. + +Fri Aug 25 12:12:42 1995 Roland McGrath + + * sysdeps/mach/hurd/dirstream.h: Define `struct __dirstream' + instead of `DIR'. + * sysdeps/unix/bsd/dirstream.h: Likewise. + * sysdeps/stub/dirstream.h: Likewise. + * sysdeps/unix/dirstream.h: Likewise. + * sysdeps/mach/hurd/telldir.c: Include "dirstream.h". + * sysdeps/mach/hurd/seekdir.c: Likewise. * sysdeps/mach/hurd/opendir.c: Likewise. + * sysdeps/mach/hurd/closedir.c: Likewise. * sysdeps/mach/hurd/readdir.c: Likewise. - * sysdeps/stub/closedir.c: Likewise. - * sysdeps/stub/opendir.c: Likewise. - * sysdeps/stub/readdir.c: Likewise. - * sysdeps/unix/closedir.c: Likewise. - * sysdeps/unix/opendir.c: Likewise. - * sysdeps/unix/readdir.c: Likewise. - - * sysdeps/unix/opendir.c: Call `__fcntl' instead `fcntl'. - - * sysdeps/posix/getcwd.c: Call `__opendir', `__readdir', - `__closedir' instead of unprotected names. - - * libio/filedoalloc.c (_IO_file_doallocate): Call `__isatty' - instead of `isatty' since later is not part of ISO C. - * libio/fileops.c (_IO_file_fopen): Call `__open' instead of - `open' since later is not part of ISO C. - - * login/endutent.c (endutent): Call `__endutent_r', not - `endutent_r'. - * login/endutent_r.c: Rename defined function to `__endutent_r', - make `endutent_r' weak alias. - * login/getutent.c (getutent): Call `__getutent_r', not - `getutent_r'. - * login/getutid.c (getutid): Call `__getutid_r', not `getutid_r'. - * login/getutid_r.c: Rename defined function to `__getutent_r', - make `getutent_r' weak alias. - * login/getutline.c (getutline): Call `__getutline_r', not - `getutline_r'. - * login/getutline_r.c: Rename defined function to `__getutline_r', - make `getutline_r' weak alias. - * login/pututline_r.c: Rename defined function to `__pututline_r', - make `pututline_r' weak alias. - * login/setutent.c (setutent): Call `__setutline_r', not - `setutline_r'. - * login/setutent_r.c: Rename defined function to `__setutline_r', - make `setutline_r' weak alias. - Rename `utmpname' to `__utmpname' and make former weak alias. - (__utmpname): Call `__strdup', not `strdup'. - * login/utmp.h: Add prototypes for name space clean reentrant - versions. - * sysdeps/unix/getlogin.c: Call `__ttyname_r', `__setutent_r', - and `__endutent_r' instead of unprotected names. - - * math/math.h: Add prototype for `__matherr'. - * sysdeps/libm-ieee754/k_standard.c: Call `__matherr' instead - of `matherr'. - - * nss/getXXbyYY.c: Call __ protected reentrant function. - * nss/getXXent.c: Likewise. - * nss/getXXbyYY_r.c: Define `get*' function with __ protected - name. Make usual name a weak alias. - * nss/getXXent_r.c: Likewise. - - * posix/unistd.h: Add prototype for `__ttyname_r'. - * sysdeps/posix/ttyname_r.c: Rename function to `__ttyname_r' - and make `ttyname_r' a weak alias. - - * resource/sys/resource.h: Add prototype for `__getrlimit'. - * sysdeps/stub/getrlimit.c: Prepend function name with __ - and make old name a weak alias. - * sysdeps/unix/syscalls.list: Rename system call to `__getrlimit' - and make `getrlimit' weak alias. - - * libc/stdio/stdio.h: Add prototype for `__vscanf'. - * libc/stdio/vscanf.c: De-ANSI-fy. - Rename function to `__vscanf' and make `vscanf' a weak alias. - * stdio-common/scanf.c (scanf): Use _IO_vscanf/__vscanf instead - of `vscanf'. - - * stdio-common/reg-printf.c: De-ANSI-fy. - Rename function to `__register_printf_function' and make - `register_printf_function' weak alias. - - * stdio-common/vfprintf.c: Call `__wcsrtombs' instead of - `wcsrtombs'. - - * stdlib/mbstowcs.c: Call `__mbsrtowcs' instead of `mbsrtowcs'. - * stdlib/mbtowc.c: Call `__mbrtowc' instead of `mbrtowc'. - * stdlib/wcstombs.c: Call `__wcsrtombs' instead of `wcsrtombs'. - * stdlib/wctomb.c: Call `__wcrtomb' instead of `wcrtomb'. - * wcsmbs/mbrtowc.c: Prepend function name with __ and make old - name a weak alias. - * wcsmbs/mbsrtowcs.c: Likewise. - * wcsmbs/wcrtomb.c: Likewise. - * wcsmbs/wcsrtombs.c: Likewise. - * wcsmbs/wchar.h: Add prototypes for __ protected versions. - - * sysdeps/posix/sigsetmask.c (__sigsetmask): Call `__sigprocmask' - instead of `sigprocmask'. - - - * grp/grp.h [__USE_REENTRANT]: Add prototypes for reentrant - version getgrent_r, getgrgid_r, and getgrnam_r. - * pwd/pwd.h [__USE_REENTRANT]: Add prototypes for reentrant - version getpwent_r, getpwuid_r, getpwnam_r and __ protected - names. - * resolv/netdb.h: Complete rewrite. No more BSD ugliness. - - - * misc/error.c (private_strerror): Translate messages from table, - too. - - * io/fcntl.h: Pretty printing. - * misc/fstab.h: Likewise. - * misc/ttyent.h: Likewise. - * resource/sys/resource.h: Likewise. - * string/argz.h: Likewise. - * string/envz.h: Likewise. - - Add support for symbols from POSIX.1c (POSIX threads). - * posix/getconf.c: Handle new sysconf symbols. - * posix/posix1_lim.h: Define _POSIX_TTY_NAME_MAX and - _POSIX_LOGIN_NAME_MAX with minimal maximal values. - * sysdeps/generic/confname.h: Define new symbols. - * sysdeps/posix/sysconf.c: Handle new symbols. - * sysdeps/stub/sysconf.c: Ditto. - * sysdeps/unix/sysv/linux/sysconf.c: Removed. Generic version - is ok now. - - * sunrpc/rpc/xdr.h: Move definition of type `xdrproc_t' to - have real prototype. - - * sysdeps/generic/resourcebits.h: Add macro definition for - RLIMIT_* values. Some sources test using #ifdef whether specific - limit is available. - * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Ditto. - * sysdeps/unix/sysv/linux/resourcebits.h: Removed. We need - separate files for the architectures. - * sysdeps/unix/sysv/linux/alpha/resourcebits.h: New file. - * sysdeps/unix/sysv/linux/i386/resourcebits.h: New file. - * sysdeps/unix/sysv/linux/m68k/resourcebits.h: New file. - * sysdeps/unix/sysv/linux/mips/resourcebits.h: New file. - - * sysdeps/posix/getdtsz.c: Rewrite to use `__getrlimit' function - and only default on `OPEN_MAX'. - * sysdeps/unix/sysv/sysv4/getdtsz.c: Removed. Default is already - the POSIX version. - - * time/Makefile (routines): Add ctime_r. - * time/asctime.c: Add implementation of `asctime_r'. Make - `asctime' implementation based on reentrant version. - * time/ctime_r.c: New file. - * time/time.h [__USE_REENTRANT]: Add definition of `asctime_r' - and `ctime_r'. - -Sat Aug 3 18:41:36 1996 Andreas Schwab - - * locale/C-ctype.c (_nl_C_LC_CTYPE_toupper): Fix EOF entry. - (_nl_C_LC_CTYPE): Fix ordering. - * locale/categories.def (LC_CTYPE): Add missing ctype-class32; fix - typo. - -Sat Aug 3 12:31:06 1996 Richard Henderson - - * csu/initfini.c: Discover the maximum alignment generated by the - compiler when emitting a function. - (_init): Make sure the end of the crti fragment is aligned. - (_fini): Likewise. - -Fri Aug 2 03:12:40 1996 Ulrich Drepper - - * initfini.c: (__libc_is_static): New variable. Will be - initialized in init-first.c. Some actions in the libc work - different when libc is static or dynamic. - - * sysdeps/unix/sysv/linux/init-first.c (init): Use - `__libc_is_static' variable to determine whether call to - `personality' and `setfpucw' is necessary. When done set variable - to +-1 depending on library type. - - * locale/setlocale.c (setlocale): Use global variable - `__libc_enable_secure' instead of calling `get{,e}{g,u}id()' to - determine whether it's a SET[UG]ID program. - -Fri Aug 2 14:40:22 1996 Roland McGrath - - * Version 1.93 test release. - - * manual/Makefile: Use -include for chapters-incl too. - - * Makeconfig (+link): Add back start.o, mistakenly removed in last - change. - -Fri Aug 2 01:04:02 1996 Roland McGrath - - * nss/Makefile (generated): Add db-*.c. - - * sysdeps/i386/sysdep.h: Get generic/sysdep.h explicitly instead of - using #include_next. - - * configure.in (--enable-add-ons): Quote m4 macro args. - - * elf/rtld.c (dl_main): For --verify, fail if no dynamic section. - -Thu Aug 1 14:40:03 1996 Roland McGrath - - * sunrpc/Makefile [$(cross-compile)=no]: Test before making librpcsvc. - - * Makerules (build-shlib): Add -B$(csu-objpfx) to find crt[in].o there. - - * Makeconfig (+preinit, +postinit): Prepend $(csu-objpfx) here. - (+link): Not here. - - * stdio-common/_itoa.h (_itoa_word): Declare unused to suppress - warning when inline function is elided. - * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Likewise. - (elf_machine_runtime_setup): Likewise. - * elf/dynamic-link.h (elf_get_dynamic_info): Likewise. - * sysdeps/i386/dl-machine.h (elf_machine_got): Likewise. - (elf_machine_load_address): Likewise. - - * catgets/gencat.c: Include . - - * sysdeps/unix/mk-local_lim.c (param): Add SYMLOOP_MAX/MAXSYMLINKS. - - * login/logwtmp.c (logwtmp): Call time, not __time. - - * sysdeps/gnu/utmpbits.h (_HAVE_UT_PID): New macro. - * login/login.c (login): Test [_HAVE_UT_PID] to use ut_pid member. - * login/logwtmp.c (logwtmp): Likewise. - - * sysdeps/generic/ioctl-types.h (sizeof): Define to 0 around #if - comparing ioctl macro values. - - * sysdeps/i386/sysdep.h: Do `#include_next '. - - * manual/Makefile: Use -include for chapters to suppress warning. - - * sysdeps/stub/socket.c: Fix type of TYPE arg. - * sysdeps/stub/socketpair.c: Likewise. - - * sysdeps/stub/_exit.c (_exit): Remove obsolete __NORETURN keyword. - - * sysdeps/generic/sysdep.h: New file, broken out of ... - * sysdeps/unix/sysdep.h: ... here. - (C_LABEL): Moved out. - - * Makeconfig (soversions.mk): Don't use newfangled ${x%%y} syntax; - stick to sed. Do `exit 0' at end because while returns nonzero. - - * sysdeps/i386/sysdep.h: New file, broken out of ... - * sysdeps/unix/i386/sysdep.h: ... here. Generic asm macros moved out. - - * sysdeps/stub/stdio_lim.h (L_ctermid, L_cuserid): Macros removed. - They are defined unconditionally in libio/stdio.h. - - * elf/dl-runtime.c: Include for `NULL' defn. - * elf/dl-cache.c: Likewise. - -Mon Jul 29 19:20:05 1996 Ulrich Drepper - - * sysdeps/unix/sysv/linux/Makefile [$(subdir == misc] - (sysdep_headers): Add sys/sysmacros.h. - * sysdeps/unix/sysv/linux/sys/sysmacros.h: New file. - -Wed Jul 31 14:21:36 1996 Ulrich Drepper - - * termios/termios.h [__OPTIMIZE__]: Remove "optimization" for - tcgetattr. We have weak aliases now. - * stdlib/stdlib.h [__OPTIMIZE__ && __GNUC__ >= 2]: Remove - "optimizations" for random functions. - -Mon Jul 29 20:33:42 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/netinet/in.h (ntohl, ntohs, htonl, - htons) [__BIG_ENDIAN]: #undef them before defining to avoid - redefinition warning. - -Mon Jul 29 20:28:27 1996 Andreas Schwab - - * time/time.h: Don't optimize tzset() to __tzset() which bypasses - the __tzset_lock. - -Tue Jul 30 15:14:50 1996 Roland McGrath - - * sunrpc/rpc/pmap_clnt.h: Fix botched patch for multiple inclusion - protection. - -Tue Jul 30 02:48:28 1996 Ulrich Drepper - - * locale/loadlocale.c (_nl_load_locale): Change cast to `size_t' - to be 64-bit clean. - Reported by Richard Henderson . - -Tue Jul 30 15:04:50 1996 Roland McGrath - - * locale/programs/ld-collate.c (collate_output): Fix typo reported by - David Miller. - -Tue Jul 30 13:23:13 1996 Ulrich Drepper - - * locale/setlocale.c (setlocale): Don't try to free C locale - data. - Reported by Matthias Urlichs. - -Tue Jul 30 14:35:17 1996 Miles Bader - - * sysdeps/mach/hurd/dl-sysdep.c (__open): Use open_file. - (open_file): New function, contents mostly from __open. - (_dl_sysdep_read_whole_file): New function. - -Sat Jul 27 11:23:59 1996 Miles Bader - - * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Quote - `..' dots in sed search string. - -Mon Jul 29 01:27:07 1996 Roland McGrath - - * sunrpc/rpc/rpc_msg.h: Fix botched patch for multiple inclusion - protection. - -Sun Jul 28 23:46:14 1996 Roland McGrath - - * configure.in: Grok `--enable-add-ons=DIR1,DIR2,...', and configure - in those directories. - * config.make.in (add-ons): New varaible, set from @subdirs@. - * Makefile (subdirs): Added $(add-ons) at the end. - - * time/strftime.c (strftime: do_number): Initialize PRINTED to - MAXDIGITS in case P is null and so sprintf is never actually called. - -Mon Jul 29 02:46:23 1996 Ulrich Drepper - - Add support for the to-be-written internationalized regexp. - This code must be able to use collation symbols and collation - equivalent classes. - * locale/C-collate.c (_nl_C_LC_COLLATE_symbol_hash, - _nl_C_LC_COLLATE_symbol_strings, _nl_C_LC_COLLATE_symbol_classes): - New global variables for collation classes. - * locale/categories.def: Add new descriptions for collation symbols - and collation classes. - * locale/langinfo.h: Add constants for collation symbols and - collation classes. - * locale/lc-collate.c: Add new global variables for collation symbols - and collation classes. - (_nl_postload_collate): Initialize new variables. - * locale/programs/ld-collate.c: Add code to emit tables for - collation symbols and collation classes. - * locale/programs/locales.h: Change prototype for `collate_output'. - * locale/programs/locfile.c (write_all_categories): Call - `collate_output' with new argument. - * locale/localeinfo.h: Add declaration for new global vars. - (union locale_data_value): New member wstr for `wchar_t' strings. - * locale/programs/locale-spec.c: Handle `collate-classes' - keyword and print information about available collation classes. - * locale/strlen-hash.h: New file. Simple hashing function which - takes a string with known length. - * locale/Makefile (distribute): Add strlen-hash.h. - (locale-modules): New var. Additional files for `locale' program. - - * locale/C-ctype.c: Rewrite to avoid using string for giving values - which are of type `u_int32_t'. - Correct entry for EOF in toupper and tolower tables. - - * locale/loadlocale.c (_nl_load_locale): Add cast to prevent - warning. - - * locale/programs/ld-ctype.c (ctype_output): Add code to make - sure that all tables in binary file are word-aligned. - - * locale/programs/locfile.c (write_locale_data): Correct handling - of LC_MESSAGES locale. Create directory if necessary. - - * locale/setlocale.c (setlocale): Add cast to avoid warning. - - * string/string.h: Add prototype for `__strndup'. - -Wed Jul 24 19:10:00 1996 Andreas Schwab - - * wcsmbs/mbrtowc.c: Remove unused variable. - -Sun Jul 28 22:40:25 1996 Roland McGrath - - * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): Update to - 2.0.10; some problems were reported with an earlier version, and this - one is known to work. - - * sysdeps/generic/dl-sysdep.c (__libc_enable_secure): New variable. - * sysdeps/mach/hurd/dl-sysdep.c: Likewise. - -Sat Jul 27 13:02:09 1996 Ulrich Drepper - - * elf/rtld.c (dl_main): Ignore arguments when environment variable - LD_TRACE_LOADED_OBJECTS is set. - -Sun Jul 28 19:42:51 1996 Roland McGrath - - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Initialize - __libc_enable_secure instead of _dl_secure. - * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise. - * elf/dl-load.c (_dl_map_object): Check __libc_enable_secure instead - of _dl_secure. - * elf/Makefile (routines): Add enbl-secure. - (elide-routines.so): Here too. - * sysdeps/generic/enbl-secure.c: New file. - * posix/unistd.h [__USE_GNU]: Declare `__libc_enable_secure' flag. - * elf/dl-support.c (_dl_secure): Variable removed. - * elf/rtld.c: Likewise. Replace all uses with __libc_enable_secure. - -Sun Jul 28 19:26:40 1996 David S. Miller - - * sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): - Declare _dl_runtime_resolve with __attribute__ ((unused)) so the - compiler doesn't elide it. - (elf_machine_rel): Follow Jul 14 change in sysdeps/i386/dl-machine.h. - -Sat Jul 27 02:58:49 1996 Roland McGrath - - * elf/rtld.c (dl_main): Take new option --verify when run directly. - In verify mode, exit with status zero iff the argument object's - PT_INTERP matches argv[0]. - * elf/ldd.sh.in: Use ${RTLD} --verify and only run the program if it - exits with zero status. This makes `ldd' secure again. - -Fri Jul 26 22:49:58 1996 Ulrich Drepper - - * elf/rtld.c (dl_main): Implement LD_TRACE_LOADED_OBJECTS - environment variable handling. This makes the dynamic linker - only print loaded libraries and quit. - - * elf/ldd.sh.in: Don't use `rtld --list' but instead - LD_TRACE_LOADED_OBJECTS environment variable to print needed - objects. - -Sat Jul 27 02:03:26 1996 Roland McGrath - - * db/makedb.c (main): Print version on stdout, not stderr. Don't exit - after printing version until after doing usage for --help. - (long_options, main, usage): Rename -l/--lowercase option to - -f/--fold-case (-f matches sort). - -Sat Jul 27 04:32:31 1996 Ulrich Drepper - - * db/makedb.c: New file. Implement program to create simple - database from textual input. This will be used for nss_db. - -Sat Jul 27 01:24:05 1996 Roland McGrath - - * sunrpc/rpc/auth_unix.h: Fix misapplied patches in last changes. - * sunrpc/rpc/pmap_clnt.h: Likewise. - * sunrpc/rpc/auth.h: Likewise. - * sunrpc/rpc/pmap_rmt.h: Likewise. - * sunrpc/rpc/rpc_msg.h: Likewise. - -Sat Jul 27 04:37:34 1996 Ulrich Drepper - - * string/string.h (strndupa): Change to use return value of - `memcpy' for more performance. - * string/strndup.c: Likewise. - - * string/string.h (strdupa): Don't call __builtin_alloca in argument. - This might lead to problems. - (strndupa): Likewise. - -Fri Jul 26 15:24:25 1996 Ulrich Drepper - - * sunrpc/rpc/auth.h: Add protection against multiple inclusion - and change K&R prototypes to ANSI prototypes. - * sunrpc/rpc/auth_unix.h: Ditto. - * sunrpc/rpc/clnt.h: Ditto. - * sunrpc/rpc/pmap_clnt.h: Ditto. - * sunrpc/rpc/pmap_prot.h: Ditto. - * sunrpc/rpc/pmap_rmt.h: Ditto. - * sunrpc/rpc/rpc_msg.h: Ditto. - * sunrpc/rpc/svc.h: Ditto. - * sunrpc/rpc/svc_auth.h: Ditto. - * sunrpc/rpc/xdr.h: Ditto. - -Fri Jul 26 20:39:42 1996 Roland McGrath - - * ctype/test_ctype.c: Test EOF too. - -Fri Jul 26 18:06:58 1996 Ulrich Drepper - - * sunrpc/rpc/auth.h: Add __BEGIN_DECLS and __END_DECLS. - * sunrpc/rpc/auth_unix.h: Likewise. - * sunrpc/rpc/clnt.h: Likewise. - * sunrpc/rpc/netdb.h: Likewise. - * sunrpc/rpc/pmap_clnt.h: Likewise. - * sunrpc/rpc/pmap_prot.h: Likewise. - * sunrpc/rpc/rpc_msg.h: Likewise. - * sunrpc/rpc/svc.h: Likewise. - * sunrpc/rpc/svc_auth.h: Likewise. - * sunrpc/rpc/xdr.h: Likewise. - - * sunrpc/rpc/pmap_clnt.h: Move definition of type `resultproc_t' - to here from... - * sunrpc/pmap_rmt.c: ...here. - -Fri Jul 26 16:10:43 1996 Miles Bader - - * login/pututline_r.c (pututline_r): Only call getutid_r if ID has a - valid ut_id field. - * login/getutid_r.c (getutid_r): Mark UTMP_DATA->loc_utmp invalid - if a search fails. - -Fri Jul 26 00:36:50 1996 Roland McGrath - - * sysdeps/mips/dl-machine.h: New file, contributed by Kazumoto Kojima - . - -Fri Jul 26 04:41:28 1996 Ulrich Drepper - - * intl/libintl.h: Define optimizing macros if __OPTIMIZE__ is - defined, not __OPTIMIZED. - (_nl_msg_cat_cntr): Move declaration outside macro definition - to prevent "nested extern" warning. - (dcgettext): Rename local variable `result' to `__result'. - -Thu Jul 25 22:46:30 1996 Roland McGrath - - * locale/programs/localedef.c (__progname): Remove decl. - (main): Use program_invocation_short_name instead of __progname. - (usage): Use program_invocation_name instead of __progname. - -Fri Jul 26 03:46:08 1996 Ulrich Drepper - - * catgets/gencat.c: Use "libc" instead of PACKAGE. - * locale/localedef.c: Ditto. - * locale/locale.c: Ditto. - - * locale/findlocale.c (_nl_find_locale): Little optimization. - Use new function `strndup'. - - * locale/loadlocale.c: Little optimization. Use constant value - from `_nl_category_num_items' instead of byte-order dependend - value from file. - - * locale/programs/ld-time.c (time_add): Correct string constant. - - * locale/programs/locale-spec.c: New file. - * locale/programs/locale.c: Call `locale_special' function if - no other field matches. - - * locale/programs/localedef.c: No need to define `program_name'. - Use global variable `__progname'. - - * locale/programs/locfile.c (write_locale_data): Always write - LC_MESSAGES data in LC_MESSAGES/SYS_LC_MESSAGES file. This is - necessary since message catalogs are also installed in the - LC_MESSAGES/ directory. - - * locale/programs/stringtrans.c (ADDC): Correctly use `encode_char' - function instead of writing single bytes. - (encode_char): Also handle little endian. - - * locale/setlocale.c (new_composite_name): Little optimization. - Use return value of `memcpy'. - - * misc/ttyent.h: Pretty print prototypes, add missing parameter - names, prepend parameter names with __ and use `__const' instead - of `const'. - * posix/unistd.h: Ditto. - * stdlib/stdlib.h: Ditto. - * string/string.h: Ditto. - - * posix/getconf.c: De-ANSI-fy. Recognize POSIX.2 constant names. - Use `error' function instead of doing it by hand. - * sysdeps/posix/sysconf.c: De-ANSI-fy. - Handle _SC_COLL_WEIGHTS_MAX. - * sysdeps/stub/sysconf.c: Handle _SC_CHARCLASS_NAME_MAX, - _SC_COLL_WEIGHTS_MAX, _SC_EQUIV_CLASS_MAX, _SC_2_LOCALEDEF - since these do not depend on the platform. - Add POSIX.4 symbols. - - * posix/posix2_lim.h: Add missing definition of - _POSIX2_COLL_WEIGHTS_MAX. - Change _POSIX2_EQUIV_CLASS_MAX and _POSIX2_CHARCLASS_NAME_MAX - to high values since we have no fixed limit. - - * sysdeps/generic/confname.h: Add _SC_PAGE_SIZE as alias for - _SC_PAGESIZE for buggy systems (= HP UX) out there. - - * wcsmbs/Makefile (routines): Add mbsnrtowcs and wcsnrtombs. - * wcsmbs/mbsnrtowcs.c: New file. Non-standard implementation. - * wcsmbs/wcsnrtombs.c: Ditto. - * wcsmbs/wchar.h [__USE_GNU]: Add prototypes for mbsnrtowcs and - wcsnrtombs. - -Thu Jul 25 00:25:54 Richard Henderson - - * nss/nss_db/db-XXX.c: Kill trailing ; from lock defn as a matter of - course. - * nss/getXXent_r.c: Likewise. - * nss/nsswitch.c: Likewise. - * nss/nss_files/files-XXX.c: Likewise. - * sysdeps/mach/hurd/dirstream.h (struct __dirstream): Likewise. - * sysdeps/unix/bsd/telldir.c (struct record): Likewise. - * sysdeps/unix/dirstream.h (struct __dirstream): Likewise. - -Thu Jul 25 00:53:06 1996 Roland McGrath - - * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): New - macro, now put the needed Linux version just once, here; update to - needing linux-2.0.3 headers. - (libc_cv_linuxVER): New macro derived from that. - (kernel header check): Use those macros and some m4 magic to replace - hard-coded `201' and `2.0.1' in several places. - - * Makerules ($(libdir)/libc.so): Fix typos in generated comment. - -Wed Jul 24 17:02:30 1996 Ulrich Drepper - - * time/localtime.c: Move lock variable declaration to end of - variable declarations since if is a dummy macro the ; at the - end terminates the variable section of the function. - - * time/tzset.c: Undefine `tzset' before function declaration. - Use `weak_function' macro instead of `weak_symbol'. - -Wed Jul 24 18:57:33 1996 Ulrich Drepper - - * stdlib/strtouq.c: Additional weak alias is `strtoull', not - `strotull'. - -Wed Jul 24 18:26:23 1996 Ulrich Drepper - - * locale/C-ctype.c: Increment number of fields after change - from Wed Jun 19 03:24:58 1996. - -Tue Jul 23 18:13:37 1996 Roland McGrath - - * sysdeps/mach/hurd/Makefile (rpcuserlibs): New variable. - ($(common-objpfx)libc.so): Move deps into that, use it. - [$(subdir) = elf] ($(objpfx)librtld.so): Depend on - $(rpcuserlibs:.so=_pic.a). - * elf/Makefile ($(objpfx)librtld.so): Just depend on libc_pic.a; don't - use $(LDLIBS-c.so). - -Thu Jul 18 21:41:25 1996 Andreas Schwab - - * sysdeps/generic/stpncpy.c: Fix semantics to make `stpncpy (d, s, - n)' equivalent to `strncpy (d, s, n), d += strnlen (d, n)'. - -Tue Jul 23 02:49:58 1996 Ulrich Drepper - - * locale/iso-4217.def: Add India to comment for symbol "INR ". - Reported by Raja R Harinath . - -Sat Jul 20 14:03:45 1996 Andreas Schwab - - * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove bogus - #undef RESOLVE. - -Sun Jul 21 06:48:38 1996 Roland McGrath - - * time/tzset.c: Include . - (__tzset_lock): New lock variable. - (tzset): New function (weak defn), no longer weak alias for __tzset. - Call __tzset while holding __tzset_lock. - * time/localtime.c: Include . - (__localtime_r): Hold __tzset_lock while doing the work. - - * sysdeps/generic/setenv.c (__environ): Change conditional for #define - from [!HAVE_GNU_LD] to [!_LIBC]. - [_LIBC]: Include and define a lock. - (LOCK, UNLOCK): New macros, no-ops for [! _LIBC]. - (setenv, unsetenv): Use them. - -Sun Jul 21 01:44:39 1996 Miles Bader - - * locale/programs/locfile.c (write_locale_data): Deal with missing - UIO_MAXIOV. - - * sysdeps/mach/hurd/socket.c (socket): Make TYPE an int. - * sysdeps/mach/hurd/socketpair.c (socketpair): Likewise. - -Sat Jul 20 21:55:31 1996 Roland McGrath - - Win32 hacks from . - * posix/glob.c [WIN32]: Don't include ; don't use d_ino; - use void * for my_realloc; include for alloca. - (glob) [WIN32]: Use "c:/users/default" for ~ if no HOME variable. - * posix/fnmatch.h [WIN32]: Use prototypes even if [!__STDC__]. - * posix/glob.h: Likewise. - -Sat Jul 20 13:28:52 1996 Miles Bader - - * sysdeps/mach/hurd/select.c (__select): Don't poll on the last - call __io_select unless there's only a single descriptor, as each - descriptor now has its own reply port. - If there is only a single descriptor, just use its reply port for - everything and don't bother creating the port set. - - * sysdeps/mach/hurd/uname.c (uname): Deref UNAME to get nodename. - : New include. - - * sysdeps/mach/libc-lock.h (__libc_lock_define): Backslashify - continuation line. - -Sat Jul 20 07:15:33 1996 Roland McGrath - - * crypt/Makefile, crypt/nocrypt.c: Removed. It is illegal to export - from the USA any software that even makes it easy to drop in an - encryption module of foreign origin. - * Makerules (cryptobjdir): Variable removed. - ($(libdir)/libc.so): Remove dep on libcrypt.so$(libcrypt.so-version). - * Makefile (subdirs): Remove crypt. - -Fri Jul 19 15:45:20 1996 Ulrich Drepper - - * locale/C-messages.c (_nl_C_LC_MESSAGES): Add missing Kleene - operator to yesexpr and noexpr string. - -Fri Jul 19 15:10:37 1996 David Mosberger-Tang - - * sunrpc/xdr_mem.c (xdrmem_putlong): Don't cast LP to int32 (the - old code would have failed on a big-endian 64-bit architecture). - * sunrpc/xdr_stdio.c (xdrstdio_putlong): Ditto. - - * sunrpc/xdr.c (xdr_int): Handle XDR_FREE case. - (xdr_u_long): Use switch instead of chain of if-statements. - Remove gratitous parentheses around return expressions. - (xdr_enum): Open code case where INT_MAX - - * dlfcn.h, db.h: New wrapper headers. - - * posix/glob.h [!_AMIGA && !VMS]: Check this instead of just [!_AMIGA] - for `struct stat;' forward decl. - -Fri Jul 19 22:25:19 1996 Ulrich Drepper - - * locale/iso-4217.def: Add some more standardized currency - symbols. - -Fri Jul 19 13:18:02 1996 Roland McGrath - - * hurd/report-wait.c (describe_number): Use unsigned long int for J. - -Thu Jul 18 12:33:57 1996 Roland McGrath - - * Rules (dummy.o, empty.o): Targets removed. - (dummy.c, empty.c): New targets replace them. - -Thu Jul 18 11:42:39 1996 Roland McGrath - - * crypt/Makefile (lib-noranlib): Depend on - $(objpfx)libcrypt.so$(libcrypt.so-version). - (subdir): Fix name. - -Thu Jul 18 04:33:21 1996 Roland McGrath - - * sysdeps/mach/hurd/errnos.awk: Move EWOULDBLOCK check before errno==0 - check. mib's clueless hacking broke it. - -Thu Jul 18 04:27:21 1996 Roland McGrath - - * Makerules ($(libdir)/libc.so): Add missing / after $(cryptobjdir). - -Wed Jul 17 10:54:20 1996 David Mosberger-Tang - - * misc/sys/ustat.h: New file. - * misc/ustat.h: Ditto. - * sysdeps/generic/ustatbits.h: Ditto. - * sysdeps/stub/ustat.c: Ditto. - * sysdeps/unix/sysv/linux/ustatbits.h: Ditto. - * misc/Makefile (headers): Mention ustat.h, sys/ustat.h, and - ustatbits.h. - (routines): Mention ustat. - - * sysdeps/unix/sysv/linux/alpha/start.S: Move to ... - * sysdeps/alpha/elf/start.S: here. - - * sysdeps/unix/sysv/linux/syscalls.list: Mention klogctl in - alphabetically correct place. Mention ustat. - - * sysdeps/unix/alpha/sysdep.S: Make errno a bss symbol, not a - common symbol (makes errno accessible from gdb). - - * login/pututline_r.c (pututline_r): Test ut_id in repositioning - test, not ut_type. - - * login/logwtmp.c (logwtmp): Reimplemented. Must ensure that a - record always gets appended at end of file (wtmp is a log file, - after all). Set ut_type to DEAD_PROCESS if name is empty. - - * login/getutid_r.c (getutid_r): Handle search for UT_TYPE in - separate loop from search for UT_ID. Fix code so it is in - sync with Unix man page. - - * login/getutline_r.c (getutline_r): Stop searching only if - ut_line matches and type is either USER_PROCESS or LOGIN_PROCESS. - -Tue Jul 16 15:06:18 1996 David Mosberger-Tang - - * sysdeps/unix/sysv/linux/netinet/in.h: Base on to - avoid duplicate declarations. - -Sun Jul 14 19:08:55 1996 David Mosberger-Tang - - * manual/maint.texi (Supported Configurations): Add alpha-gnu-linux - and alpha-gnu-linuxecoff targets. - -Fri Jul 12 16:58:44 1996 David Mosberger-Tang - - * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport(). - -Sat Jun 22 23:30:07 1996 David Mosberger-Tang - - * resolv/res_send.c (res_send): Declare FROMLEN as size_t instead - of int. - - * resolv/res_comp.c (res_hnok): Use empty statement in place - of NULL (which generates a "useless expression" warning in - gcc). - -Wed Jul 17 23:56:35 1996 Roland McGrath - - * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Replace ../ - with $(..) in output. - -Wed Jul 17 21:53:45 1996 Roland McGrath - - * elf/Makefile (dl-routines): Add dl-cache. - * elf/dl-cache.c: New file. - * elf/dl-load.c (_dl_map_object): Check cache before default path. - -Wed Jul 17 20:41:30 1996 Ulrich Drepper - - * stdio-common/vfscanf.c: Major change. Now read character - from stream only if needed. Before it was read after the - previous character was used. - Bug reported by Martin Goik - - * stdio-common/tstscanf.c: Change test program so that return - value is != 0 if one test failed. - -Wed Jul 17 17:08:48 1996 Roland McGrath - - * sysdeps/m68k/Makefile (crypt): Variable removed. - * sysdeps/sparc/Makefile: Likewise. - - * version.h (VERSION): Update to 1.93. - - * Makerules ($(libdir)/libc.so): Depend on - $(common-objpfx)libcrypt.so$(libcrypt.so-version). - - * crypt/nocrypt.c: New file. - * Makefile (subdirs): Add crypt. - * crypt/Makefile: New file. - - * Makerules (soversions.mk): Move this target, include of it, and - include of version.mk to ... - * Makeconfig: ... here. - (soversions.mk): Depend on Makeconfig instead of Makerules. - - * shlib-versions (*-*-*): Set libcrypt=0. - -Wed Jul 17 11:29:26 1996 Miles Bader - - * stdio/linewrap.c (lwupdate): Fix boundary condition where a - word extends right up to rmargin. - - * stdio/linewrap.c (lwupdate): When we've done a word wrap and - output the wrap margin, set point_col to wmargin. - Use negative point_col to deal with a wmargin of 0. - (line_wrap_point): Return 0 for a negative point_col. - (line_wrap_stream): Make wmargin ssize_t. - * stdio/linewrap.h (struct line_wrap_data): Make wmargin & - point_col ssize_t. - (line_wrap_stream): Make wmargin ssize_t. - (line_wrap_point): Return 0 for a negative point_col. - -Wed Jul 17 02:43:28 1996 Roland McGrath - - * shlib-versions (*-*-gnu*): Set libc=0.0 - -Tue Jul 16 01:52:42 1996 Andreas Schwab - - * sysdeps/m68k/dl-machine.h: Follow Jul 14 change in - sysdeps/i386/dl-machine.h. - -Tue Jul 16 00:18:19 1996 Miles Bader - - * stdio/linewrap.c (__line_wrap_update): Add hackery from flshfp - to fiddle __put_limit in conjunction with __linebuf_active. - -Tue Jul 16 00:14:07 1996 Andreas Schwab - - * sysdeps/unix/inet/syscalls.list (connect, send): Add underscores - to the strong name, not the file name. - -Tue Jul 16 16:43:58 1996 Roland McGrath - - * csu/initfini.c: More magic. Detect if .end is produced and put it - in the output iff the compiler does. - - * elf/dl-lookup.c (_dl_lookup_symbol): Avoid sizeof dynamic auto array - because that is broken on alpha. - - * sysdeps/mach/hurd/mmap.c: Use same inheritance arg in second vm_map - call as in first. - - * Makerules (make-link): Install the new link with atomic mv -f in - case ln itself requires the library being installed. - -Tue Jul 16 00:31:31 1996 Richard Henderson - - * sysdeps/alpha/dl-machine.h: Mirror Roland's changes to - i386/dl-machine.h of 960713. - - * sysdeps/generic/dl-sysdep.c: Include . - (_dl_sysdep_read_whole_file): Fix result variable declaration. - -Tue Jul 16 00:53:57 1996 Roland McGrath - - * sysdeps/mach/hurd/uname.c: Call __gethostname to fill in the - `nodename' member. - -Mon Jul 15 17:23:53 1996 Ulrich Drepper - - * stdio-common/vfprintf.c (vfprintf): Call parse_one_spec - with pointer to local variable instead of NULL. - -1996-07-15 Paul Eggert - - * time/strftime.c (strftime): Don't pass empty macro argument to `add'. - -Sat Jul 13 09:53:39 1996 Andreas Schwab - - * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove names - that are already added by other means. - - * sysdeps/unix/sysv/linux/syscalls.list: Add more EXTRA's in the - caller column to get those syscalls added automagically. - -Mon Jul 15 12:24:54 1996 Miles Bader - - * login/logout.c (logout): Initialize DATA to a state that will - make setutent_r happy. - -Sun Jul 14 01:51:39 1996 Roland McGrath - - * elf/rtld.c (dl_main) [ELF_MACHINE_DEBUG_SETUP]: Use this macro - instead of setting the DT_DEBUG pointer. - - * csu/initfini.c (_init, _fini): Generate .end directives after - standalone prologues and filter them out from epilogues. - - * Makeconfig (rtld-installed-name): Set to ld.so.1. - * sysdeps/unix/sysv/linux/Makefile (rtld-installed-name): Variable - removed. - - * manual/Makefile (glibc-targets): Remove subdir_ from elts. - - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): New fn. - - * MakeTAGS (extract): Pass --add-comments=TRANS. - * sysdeps/gnu/errlist.awk: Write comments into the output with the - descriptive paragraphs from the manual preceded by TRANS. - - * elf/rtld.c (RESOLVE): Use the dl's load address, not a constant zero! - (_dl_start): Move RESOLVE defn inside this function and #include - "dynamic-link.h" a second time there. - [RTLD_START]: Move use of this after _dl_start function. - - * elf/dl-reloc.c: Include "dynamic-link.h" at file scope. - - * elf/rtld.c: Include . - - * elf/dynamic-link.h (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA, - ELF_DYNAMIC_RELOCATE): No longer take RESOLVE argument. - Conditionalize defns on [RESOLVE]. - * elf/do-rel.h (elf_dynamic_do_rel): Likewise. - * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. - Instead use RESOLVE macro with same args. - (elf_machine_rel): Conditionalize defn on [RESOLVE]. - * elf/dl-reloc.c (RESOLVE): New macro, define before including - "dynamic-link.h". It replaces `resolve' local function. - * elf/dl-runtime.c: Likewise. - * elf/rtld.c: Likewise. - - * elf/dl-deps.c (_dl_map_object_deps): Start TAILP at last preload. - - * elf/dl-open.c (_dl_open): Force an indirect call for - _dl_relocate_object so there is no chance a PLT fixup will be done - and clobber _dl_global_scope before our call happens. - - * sysdeps/i386/fpu/__math.h (tan): Correct output constraint from =u - to =t; must operate on top of fp reg stack, not second from top. - Correct input constraint to 0 from t; must be explicit when input and - output are the same register. - (floor): Use __volatile instead of volatile. - (ceil): Likewise. - - * manual/Makefile ($(objpfx)stamp%-$(subdir)): Separate rule from - other targets. - -Sat Jul 13 23:50:17 1996 Roland McGrath - - * manual/Makefile (lib): New phony target. Depend on stamp files. - ($(objpfx)stamp%-$(subdir)): New rule to create them when necessary. - -1996-07-13 Paul Eggert - - * time/strftime.c (strftime): Use space padding for %e, %k, %l, - to match Emacs format-time-string specification. - (DO_NUMBER_SPACEPAD): Renamed from DO_NUMBER_NOPAD. - -Sat Jul 13 20:17:38 1996 Roland McGrath - - * elf/dl-deps.c (_dl_map_object_deps): Take new args PRELOADS and - NPRELOADS, vector of `struct link_map *'s; add them to the searchlist - between MAP and its deps. - * elf/link.h: Fix decl. - * elf/rtld.c (dl_main): If not secure, parse LD_PRELOAD for - colon-separated list of names, map those and pass vector of ptrs as - PRELOADS list to _dl_map_object_deps. - * elf/dl-runtime.c (_dl_object_relocation_scope): Pass new args to - _dl_map_object_deps with empty preload list. - * elf/dl-open.c (_dl_open): Likewise. - - * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_open_zero_fill): Function - removed. - (__mmap): Pass MACH_PORT_NULL for memobj port when (flags & MAP_ANON). - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill): - Conditionalize defn on [! MAP_ANON]. - * elf/dl-minimal.c (malloc): Conditionalize use of _dl_zerofd - on [! MAP_ANON]. - * elf/rtld.c (dl_main): Likewise. - * elf/dl-load.c (_dl_zerofd): Conditionalize defn on [! MAP_ANON]. - (_dl_map_object_from_fd): Conditionalize initialization of _dl_zerofd. - - * elf/dl-fini.c (_dl_fini): Skip finalizer for executable itself. - -Sat Jul 13 02:47:53 1996 David Mosberger-Tang - - * stdlib/random.c (__random): Declare as int32_t to be in sync - with declaration. - - * socket/Makefile (headers): Add socketbits.h. - - * misc/mntent.c (endmntent): Allow for NULL stream. SunOS does - it that way. - - * grp/initgroups.c (initgroups): Add groups that user is a member - of, not the ones he is _not_ a member of. - - * nss/nsswitch.c (known_compare): Make known_compare() a static - instead of a local function. The latter are difficult to debug - and slow to execute on certain platforms. - - * sysdeps/posix/ttyname_r.c (ttyname_r): Use sizeof (dev) - 1 in - place of sizeof (dev). The size of a literal string includes the - NUL byte. - - * sysdeps/unix/getlogin.c (getlogin): Initialize ut_fd with -1. - -Thu Jul 11 16:59:10 1996 David Mosberger-Tang - - * misc/mntent.c (addmntent): Seek to end of file before writing - entry. Return 1 on error, not -1. - -Tue Jul 9 19:08:05 1996 David Mosberger-Tang - - * sysdeps/unix/sysv/linux/syscalls.list: Mark bdflush as EXTRA - syscall. - -Fri Jul 5 18:44:55 1996 David Mosberger-Tang - - * sysdeps/unix/sysv/linux/alpha/ioperm.c (port_to_cpu_addr): Size - shift amount for Jensen must be 5 not 4. - -Sat Jul 13 20:04:28 1996 Roland McGrath - - * socket/sys/socket.h (struct osockaddr): New type. - -Sat Jul 13 03:50:53 1996 Ulrich Drepper - - * misc/Makefile (routines): Add qefgcvt and qefgcvt_r. - * misc/efgcvt.c, misc/efgcvt_r.c: Change code so that the `double' - and `long double' versions can be generated. - * misc/qefgcvt.c, misc/qefgcvt_r.c: New files. Define macros - so that included efgcvt{,_r}.c file generate `long double' - versions. - * stdlib/stdlib.h: Add prototypes for q[efg]cvt() and q[ef]cvt_r() - functions. - - * manual/startup.texi: Document new getsubopt function. - * manual/examples/subopt.c: New example program for documenting - getsubopt function. - -Fri Jul 12 23:58:37 1996 Ulrich Drepper - - * stdlib/Makefile (routines): Add getsubopt. - * stdlib/stdlib.h: Add prototype for getsubopt. - * stdlib/getsubopt.c: New file. Implement getsubopt function - to handle suboption parsing. - -Thu Jul 11 20:09:55 1996 Roland McGrath - - * inet/getnetent_r.c: Define NEED_H_ERRNO. - * inet/getnetbynm_r.c: Likewise. - * inet/getnetent.c: Likewise. - * inet/getnetbyad_r.c: Likewise. - * inet/getnetbyad.c: Likewise. - * inet/getnetbynm.c: Likewise. - - * sysdeps/generic/pselect.c: Include . - - * misc/sys/select.h: Include instead of for - `struct timespec'. - - * math/Makefile (calls): Add s_frexp, s_ldexp. - (routines): Remove them and &f from here. - - * sys/socket.h: New file, wrapper for socket/sys/socket.h. - - * nss/nss_files/files-service.c (getservbyname): Take second arg PROTO - and check it. - - * nss/nss_files/files-XXX.c: Comment fix. - -Fri Jul 12 01:28:35 1996 Ulrich Drepper - - * nss/getXXent_r.c (GETFUNC_NAME_STRING): Define with name - of reentrant function. - (setup): Pass additional argument with function name we are - looking for. - (SETFUNC_NAME, ENDFUNC_NAME, GETFUNC_NAME): Call setup with - new argument {SET,END,GET}FUNC_NAME_STRING. - - * nss/getXXent.c (GETFUNC_NAME): RESULT must be static because - we return a pointer. - -Thu Jul 11 18:20:44 1996 Roland McGrath - - * nss/nss_files/files-parse.c: Add comment about things to #define. - - * nss/nss_files/files-hosts.c (NEED_H_ERRNO): Define it. - - * nss/nss_files/files-parse.c (STRING_FIELD): Don't flag NUL before - terminator char as an error. - - * nss/getXXbyYY_r.c (REENTRANT_NAME): Set *H_ERRNOP, not h_errno. - -Thu Jul 11 03:21:10 1996 Ulrich Drepper - - * catgets/gencat.c (write_out): Move code to determine new - best size out of inner loop. - -Thu Jul 11 00:22:40 1996 Ulrich Drepper - - * sysdeps/libm-ieee754/s_frexpl.c: New file. `long double' - implementation of frexp() function. - * sysdeps/libm-ieee754/s_ldexpl.c: New file. `long double' - implementation of ldexp() function. - - * sysdeps/libm-i387/s_isnanl.c (isnanl): Mask explicit one - out before or'ing. - -Wed Jul 10 05:24:40 1996 David Mosberger-Tang - - * misc/mntent.c: Include . - (endmntent): Return 1 one success, 0 on failure. - (getmntent): Chop newline and ignore empty lines. - -Mon Jul 8 21:18:40 1996 Andreas Schwab - - * sysdeps/m68k/dl-machine.h (RESOLVE): New macro, defined - differently based on [RTLD_BOOTSTRAP]. - (elf_machine_rela): Use it instead of the fn ptr arg directly. - -Tue Jul 9 09:37:55 1996 Roland McGrath - - * posix/glob.h (__glob_opendir_hook, __glob_readdir_hook, - __glob_closedir_hook): Remove decls. - - * sysdeps/generic/machine-gmon.h: Declare mcount_internal. - - * sysdeps/unix/inet/syscalls.list: Define __ names with weak aliases - for send and connect syscalls. - - * socket/sys/socket.h: New file, taken from non-sysdep parts of - linux/sys/socket.h; break sysdeps parts out into socketbits.h. - Declare __ names for send and connect. - * sysdeps/generic/socketbits.h: New file. - * sysdeps/unix/sysv/linux/socketbits.h: New file. - * sysdeps/unix/sysv/linux/sys/socket.h: File removed. - * sysdeps/generic/sys/socket.h: File removed. - - * sysdeps/mach/hurd/connect.c: Define __ name and weak alias. - * sysdeps/mach/hurd/send.c: Likewise. - - * sysdeps/mach/libc-lock.h: New file. - * sysdeps/unix/readdir.c: Do locking. + * sysdeps/unix/telldir.c: Likewise. * sysdeps/unix/seekdir.c: Likewise. - * sysdeps/unix/rewinddir.c: Likewise. + * sysdeps/unix/rewinddir.c: Likewise. + * sysdeps/unix/readdir.c: Likewise. + * sysdeps/unix/opendir.c: Likewise. * sysdeps/unix/closedir.c: Likewise. * sysdeps/unix/bsd/telldir.c: Likewise. - * sysdeps/mach/hurd/seekdir.c: Likewise. - * sysdeps/mach/hurd/readdir.c: Likewise. - * sysdeps/mach/hurd/closedir.c: Likewise. - * sysdeps/mach/hurd/opendir.c: Initialize the lock. - * sysdeps/unix/opendir.c: Likewise. - * sysdeps/mach/hurd/dirstream.h: Include . - (struct __dirstream): Add lock member using __libc_lock_define. - * sysdeps/unix/dirstream.h: Likewise. + * sysdeps/unix/bsd/readdir.c: Likewise. + * dirent/Makefile (headers): Remove dirstream.h. + (distribute): Put it here instead. - * sysdeps/stub/libc-lock.h (__libc_lock_fini): New macro. + * sysdeps/mach/hurd/mmap.c: Fix inverted test of MAP_FIXED. - * stdlib/mbstowcs.c: Pass address of pointer to mbsrtowcs. + * stdio/vfscanf.c (number): Allow field width to inhibit first + digit after base detection. - * stdlib/wcstombs.c: Use wcsrtombs instead of mbsrtowcs. + * stdio/vfprintf.c (vfprintf: %s): Never search past the limit + specified by the precision. -Thu Jul 4 01:34:04 1996 Ulrich Drepper - - * locale/programs/stringtrans.c: Fix typo in copyright. - - * stdio-common/printf-prs.c: Add casts to prevent - signed<->unsigned warnings. - - * stdio-common/printf-parse.h: Initialize state variable before - calling mbrlen. - * stdio-common/printf-prs.c: Don't initialize state variable here. - * stdio-common/vfprintf.c: Don't initialize state variable. - (vfprintf): While determining length of multibyte string don't - try to be clever in determining characters to use for first - call. - - Add real implementation of multibyte<->wide char conversion - functions. The functions always convert between the fixed wide - char format (ISO 10646 in UCS4) and the UTF8 representation of - this character set. Conversion between the currently used - 8bit character set and ISO 10646 will not take place. This is - what iconv() is for. - * wcsmbs/wchar.h (mbstate_t): Define as structure to replace - dummy definition. - Add optimized version of `mbrlen' function. - * wcsmbs/btowc.c (btowc): Restrict range of legal characters - to 0...0x7f. - * wcsmbs/wctob.c (wctob): Restrict range of legal characters - to 0..0x7f. - * wcsmbs/mbrlen.c: Make mbrlen a weak alias of __mbrlen. - This is needed in the wchar.h header. - * wcsmbs/mbrtowc.c: Replace dummy implementation. Convert UTF8 - encoded character to UCS4. - * wcsmbs/mbsinit.c: Replace dummy implementation. Test COUNT - element of `mbstate_t' for initial state. - * wcsmbs/mbsrtowcs.c: Replace dummy implementation. Convert UTF8 - encoded string to UCS4 string. - * wcsmbs/wcrtomb.c: Replace dummy implementation. Convert UCS4 - character to UTF8 encoded form. - * wcsmbs/wcsrtombs.c: Replace dummy implementation. Convert UCS4 - encoded string to UTF8 encoded form. - -Tue Jul 9 06:19:29 1996 Roland McGrath - - * sysdeps/unix/sysv/linux/configure.in: Use version number in cache - variable name, so new a libc with new requirements won't fail to - notice an insufficient Linux version. - - * sysdeps/unix/sysv/linux/direntry.h: New file from David Mosberger. - - * sysdeps/unix/sysv/linux/configure.in: Check for Linux 2.0.1 headers, - instead of 2.0 headers. - - * sysdeps/mach/hurd/Makefile (stamp-errnos): Uncomment CVS commit cmds. - - * sysdeps/gnu/errlist.awk: Undo mib's bogus changes. The - sysdeps/mach/hurd/errnos.awk bug fix was the only correct change. - - * sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Declare _mcount - before using it in lhs of weak_alias. - - * nss/getXXent_r.c (setup): New function, broken out of SETFUNC_NAME. - Call __nss_lookup when not setting STARTP. - (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Call it to set up for - function-calling loop. - -Tue Jul 9 00:14:52 1996 Michael I. Bushnell p/BSG - - * sysdeps/mach/hurd/ioctls.h (MDMBUF, ECHO, TOSTOP, FLUSHO, - PENDIN, NOFLSH): Undefine these at start if they are already - defined to avoid collision with termbits.h. - * sysdeps/generic/termbits.h (ECHO, TOSTOP, NOFLSH): Likewise. - (MDMBUF, FLUSHO, PENDIN) [__USE_BSD]: Likewise. - -Mon Jul 8 13:37:40 1996 Roland McGrath - - * math/math.h (_Mfloat_, _Mlong_double_): New macros, defined iff not - already defined to float, long double. Use those macros for _Mdouble_ - defns when including mathcalls.h. - * math/Makefile [$(long-double-fcts) != yes] (CPPFLAGS): Append - -D_Mlong_double_=double. - - Add more -lm functions to -lc because ldexp uses them. - * math/Makefile (calls): Add s_finite, s_copysign, s_scalbn, s_modf. - (routines): Remove s_modf, add s_frexpf, s_ldexpf; all but frexp and - ldexp have both f and l code, and those have f though not l code. - -Mon Jul 8 13:10:50 1996 Michael I. Bushnell p/BSG - - * sysdeps/mach/hurd/errnos.awk: Skip entries where the - error is 0. The "placeholder" entries recently added to - errno.texi convert to zero since `???/' is at the front of them. - * sysdeps/gnu/errlist.awk (errnoh): Likewise. - - * sysdeps/stub/setdomain.c (setdomainname): Declare NAME parm - __const to conform with unistd.h. - - * stdlib/stdlib.h (random): Declare return type to be int32_t. - - * string/argz-delete.c (argz_delete): Use memmove instead of - memcpy for possibly overlapping strings. - -Mon Jul 8 02:14:25 1996 Roland McGrath - - * libc-symbols.h [GCC >= 2.7] (strong_alias, weak_alias): Use extern - storage class. GCC gives an error for non-extern data defns with the - alias attribute. - -Mon Jul 8 01:37:34 1996 Michael I. Bushnell, p/BSG - - * string/argz-insert.c (__argz_insert): (__argz_insert): Use - memmove instead of memcpy for possible overlapping strings. - -Mon Jul 8 00:11:15 1996 Roland McGrath - - * libc-symbols.h (weak_function): New macro. - For GCC 2.7+ define as __attribute__ ((weak)). - * elf/dl-minimal.c: Use weak_function as keyword in function defns - instead of weak_symbol (NAME) after the defn. - * stdlib/strtol.c: Likewise. - * stdlib/strtod.c: Likewise. - * sysdeps/mach/hurd/dl-sysdep.c: Likewise. - - * sysdeps/alpha/dl-machine.h (elf_machine_rela) [RTLD_BOOTSTRAP]: - If this is defined, don't declare _dl_rtld_map as weak, and - don't check for MAP pointing to it. RESOLVE is always null in this - case, so test with #ifdef instead of if. - - * libc-symbols.h (symbol_set_declare): Use weak_extern instead of - weak_symbol. - * csu/initfini.c (_init): Likewise. - * locale/setlocale.c (DEFINE_CATEGORY): Likewise. - * misc/efgcvt_r.c: Likewise. - * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise. - * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. - - * libc-symbols.h [ASSEMBLER] (weak_symbol): Macro removed. - It was not used in any assembler code. - (weak_symbol_asm): Renamed to weak_extern_asm. - (weak_extern): New macro replaces weak_symbol for weak extern refs; - define to weak_extern_asm for [!ASSEMBLER]. - -Sun Jul 7 18:42:06 1996 Roland McGrath - - * libc-symbols.h [! ASSEMBLER] [HAVE_WEAK_SYMBOLS] (weak_symbol_asm, - weak_alias_asm): New macros, renamed from weak_symbol/weak_alias; - define those now as aliases. - Change conditional to use __attribute__ syntax for GCC 2.7+, not 2.8+ - [GCC >= 2.7] [HAVE_WEAK_SYMBOLS] (weak_symbol): Do weak_symbol_asm - after GCC weak attribute decl. - - * sysdeps/gnu/errlist.awk (BEGIN): Initialize associative array ALIAS, - map EWOULDBLOCK->EAGAIN, EDEADLOCK->EDEADLK. - (element printer): Check for elt in ALIAS, instead of special case - for EWOULDBLOCK. - - * io/Makefile (headers): Add sys/vfs.h. - * io/sys/vfs.h: New file. - - * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Don't unlock the - critical section lock before unlinking dying active resources. - The unlock just before return is right (i.e. old code unlocked twice). - -Sun Jun 2 22:28:43 1996 Miles Bader - - * stdio/linewrap.c (lwupdate): Update D->point_offs when done. - Use memmove instead of memcpy where overlap is possible (not - necessary using current implementation of memcpy, but...). - (__line_wrap_update): Don't update D->point_offs (lwupdate does it). - -Fri May 31 11:48:46 1996 Miles Bader - - * stdio/linewrap.c (lwupdate): New function, mostly was - __line_wrap_update. Use POINT_COL field instead of POINT. - (__line_wrap_output): Use lwupdate. - (__line_wrap_update): New function. - (ensure_unwrapped, ensure_wrapped): New functions. - (line_wrap_set_lmargin, line_wrap_set_rmargin, - line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update. - - * stdio/linewrap.h (struct line_wrap_data): Rename POINT field to - POINT_COL. Add POINT_OFFS field. - (__line_wrap_update): New decl. - (line_wrap_set_lmargin, line_wrap_set_rmargin, - line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update. - -Fri Jul 5 17:34:47 1996 Miles Bader - - * login/logout.c (logout): Do nothing if getutline_r returns ESRCH. - - * login/pututline_r.c (pututline_r): Since we assign RESULT from - lseek now, check that it's >= 0, not == 0. - -Wed Jul 3 13:28:04 1996 Miles Bader - - * login/login.c (login): Make a copy of *UT, fill in various - fields that we supply (ut_line, ut_type, ut_pid), and use the copy - in place of UT. - - * login/getutline_r.c (getutline_r): When we return ESRCH, mark - UTMP_DATA->ubuf invalid (by setting UTMP_DATA->loc_utmp to 0). - -Fri Jul 5 12:22:51 1996 Roland McGrath - - * hurd/hurdsig.c (_hurd_internal_post_signal): In case of handled - signal during critical section doing interruptible RPC, if - _hurdsig_abort_rpcs wants to change thread state, do thread_set_state - before thread_resume. If in critical section, pass 0 for SIGNO to - _hurdsig_abort_rpcs so rpc is interrupted regardless of SA_RESTART. - - * extra-lib.mk: Fix typo in $(extra-libs-others) conditional. - - * sysdeps/unix/sysv/linux/sys/user.h: New file. - * sysdeps/unix/sysv/linux/Dist: Add it. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add sys/user.h. - - * nss/nss_files/files-parse.c (parse_list): Set EOL from LINE if it - points within DATA->linebuffer; otherwise use all of DATA->linebuffer - itself, no need to skip past a NUL. - - * nss/nsswitch.h (known_function): Comment fix. - * nss/nsswitch.c (nss_lookup_function): Rewritten using __tsearch - directly. Do the lookup and insertion with a single call, and fill in - the tree node afterwards if new. - (known_compare, nss_find_entry, nss_insert_entry): Functions removed. - - * misc/sys/select.h: #define __need_timespec before incl. - (struct timeval): Add bodiless decl for scope. - - * time/time.h (struct timespec): Rename members from `ts_*' to `tv_*'. - Move struct timespec defn outside [_TIME_H] so it can be got with - #define __need_timespec. - - * time/sys/time.h (TIMEVAL_TO_TIMESPEC): Use `tv_*' instead of `ts_*' - for `struct timespec' member names. - (TIMESPEC_TO_TIMEVAL): Likewise. - - * nss/Makefile (extra-libs-others): New variable. - - * extra-lib.mk: Don't test for $($(lib)-no-lib-dep). Instead match - $(lib) in $(extra-libs-others). - * sunrpc/Makefile (extra-libs-others): New variable. - (librpcsvc-no-lib-dep): Variable removed. - - * elf/rtld.c: Define RTLD_BOOTSTRAP before #include "dynamic-link.h". - * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove weak decl for - _dl_rtld_map. - (RESOLVE): New macro, defined differently based on [RTLD_BOOTSTRAP]. - (elf_machine_rel): Use it instead of testing fn ptr arg at runtime. - (elf_machine_rel: case R_386_32) [! RTLD_BOOTSTRAP]: Declare - _dl_rtld_map weak only here. - - * posix/unistd.h [__USE_BSD]: Declare getdomainname, setdomainname. - -Thu Jul 4 05:21:59 1996 David Mosberger-Tang - - * login/utmp.h: Fix typos. - - * misc/syslog.c (vsyslog): Use __send instead of send and - __connect instead of connect to avoid name-space collisions (e.g., - with psgetty). - -Wed Jul 3 16:29:41 1996 Roland McGrath - - * nss/getXXbyYY_r.c (REENTRANT_NAME): Cast FCT in __nss_next call. - - * sysdeps/generic/sbrk.c: Always call __brk (0) to update __curbrk. - - * malloc/malloc-size.c (malloc_usable_size): Renamed from - malloc_object_allocation_size. - * malloc/malloc.h: Fix decl. - - * sys/select.h: New file, wrapper header. - - * posix/sys/types.h [__USE_BSD]: Include ; remove - fd_set, associated macros, and select decl. - - * sysdeps/posix/isfdtype.c: New file. - -Tue Jul 2 23:45:14 1996 Ulrich Drepper - - The latest Japanese proposal for POSIX locales renames the - CHARMAP keyword in locale definition files to CHARCONV. - * locale/programs/ld-ctype.c, locale/programs/locales.h: Rename - function ctype_is_charmap to ctype_is_charconv. - * locale/programs/locfile-kw.gperf: Replace charmap keyword with - charconv. - * locale/programs/locfile-token.h: Add definition of token - charconv. - * locale/programs/locfile.c: Recognize charconv keyword. Rename - lables according to this. - - * locale/weight.h (get_weight): Cast constants to prevent - warnings. - - * stdlib/strtod.c, stdlib/strtol.c, string/strcoll.c, - string/strxfrm.c: Add some more casts to prevent signed<->unsigned - warnings. - - New stuff described in P1003.1g. - * misc/Makefile (headers): Add sys/select.h. - (routines): Add pselect. - * misc/sys/select.h: New file. Declare select functions and - needed data types and macros. - * sysdeps/generic/pselect.c: New file. Add generic implementation - of pselect() function which uses select(). - - * posix/getconf.c: Recognize new variables from P1003.1g. - * posix/posix1_lim.h: Define _POSIX_FD_SETSIZE, _POSIX_QLIMIT, - _POSIX_HIWAT, and _POSIX_UIO_MAXIOV. - * posix/unistd.h: Add description of the P1003.1g variables. - * sysdeps/generic/confname.h: Define _SC_* values for new - variables. - * sysdeps/posix/fpathconf.c (fpathconf): Add handling of - _PC_SOCK_MAXBUF. - * sysdeps/stub/fpathconf.c (fpathconf): Ditto. - * sysdeps/posix/sysconf.c (sysconf): Add handling of new - P1003.1g variables. - * sysdeps/stub/sysconf.c (sysconf): Ditto. - * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_POLL and - _POSIX_SELECT since Linux has this. - - * socket/Makefile (routines): Add isfdtype. - * sysdeps/generic/sys/socket.h: Add prototype for isfdtype. - * sysdeps/stub/isfdtype.c: New file. Stub implementation of - isfdtype. - - * wcsmbs/wcrtomb.c (wcrtomb): Fix typo. - -Wed Jul 3 11:26:28 1996 Roland McGrath - - * elf/Makefile (LDFLAGS-dl.so): New variable. - (libdl.so): Depend on eval.so. - (distribute): Add eval.c. - * elf/eval.c: New file. - - * time/strftime.c (strftime: do_number): Adjust P and I after sprintf - in case it wrote fewer than MAXDIGITS chars. - - * stdio/fwrite.c (fwrite: fill_buffer): Separate flushing for last - newline from flushing full buffer in loop, fix test so no fflush is - done when last byte written exactly fills the buffer. - - * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Depend on libc.so. - - * sysdeps/mach/hurd/Makefile (LDLIBS-c.so): Variable removed. - (libc.so): Instead, give this deps on lib{mach,hurd}user.so. - - * elf/dl-debug.c (_dl_debug_initialize): Use LDBASE arg instead of - extracting _dl_rtld_map.l_addr. - - * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare _dl_rtld_map as - weak. - * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise. - - * shlib-versions (*-*-*): Set libnss_db=1. - -Tue Jul 2 10:44:37 1996 Roland McGrath - - * elf/rtld.c (dl_main): Set _dl_rtld_map's DT_DEBUG location too. - - * rpm/template (%build): Use @prefix@ instead of always /usr. - Set up configparms only if @prefix@ is in fact /usr. - * rpm/Makefile ($(config)): Substitute $(prefix) for @prefix@. - - * elf/Makefile: Add missing endif. - - * nss/nss_files/files-ethers.c (ntohost): Fix db key. - - * nss/nss_files/files-network.c: Pass empty for new DB_LOOKUP args. - (DATABASE): Define this instead of DATAFILE. - * nss/nss_files/files-hosts.c: Likewise. - (hostbyname): Use LOOKUP_NAME macro. - - * nss/nss_db/db-XXX.c: New file. - * nss/Makefile (services): Add db. - (libnss_db-inhibit-o): New variable. - (libnss_db-routines): New variable. - (distribute): Append db-XXX.c. - (libnss_db.so): Depend on libdb.so and libnss_files.so. - ($(libnss_db-routines:%=$(objpfx)%.c)): New static pattern rule. - - * nss/nss_files/files-XXX.c (DB_LOOKUP): Add KEYSIZE and KEYPATTERN - args, ignored. - (DATAFILE): New macro. - * nss/nss_files/files-parse.c (GENERIC): If undefined, define to - "files-XXX.c". - * nss/nss_files/files-rpc.c: Include GENERIC instead of "files-XXX.c". - Pass db key args to DB_LOOKUP. - (DATAFILE): Macro removed. - (DATABASE): New macro replaces it, lacks "/etc/" prefix. - * nss/nss_files/files-service.c: Likewise. - * nss/nss_files/files-pwd.c: Likewise. - * nss/nss_files/files-proto.c: Likewise. - * nss/nss_files/files-grp.c: Likewise. - * nss/nss_files/files-ethers.c: Likewise. - - * elf/linux-compat.c: File removed. - * elf/Makefile (distribute): Remove linux-compat.c. - (ld-linux.so.1): Remove target and associated variables. - - * sunrpc/xdr.c: Remove malloc decl. - * sunrpc/portmap.c: Likewise. - - * sunrpc/svc_tcp.c (abort): Don't declare. Instead define as macro - casting abort to fn returning bool_t. - - * nss/nss_files/files-parse.c [EXTERN_PARSER]: Do an extern decl of - the parser function. - [EXTERN_PARSER] (LINE_PARSER): Define to empty. - * nss/nss_files/files-pwd.c (EXTERN_PARSER): Define it. - * nss/nss_files/files-grp.c: Likewise. - - * Makeconfig (BUILD_CC): If undefined, define to $(CC). - - * sunrpc/rpc/types.h: Include stdlib.h instead of declaring malloc. - - * Makeconfig (built-program-cmd): Use $(rtld-installed-name) in place - of ld.so so lookups for that soname find it. - - * nss/Makefile (libnss_dns.so): Depend on libresolv.so. - (resobjdir, LDLIBS-nss_dns.so): Variables removed. - - * pwd/fgetpwent.c: Don't include ../nss/nss_files/files-parse.c to - define parse_line function. - (parse_line): #define to _nss_files_parse_pwent and - add extern decl for that. - - * nss/nss_files/files-XXX.c (internal_getent): Return - NSS_STATUS_TRYAGAIN for ERANGE error. - - * sysdeps/i386/strtok.S (LreturnNULL): Save current state ptr instead - of null, so next round returns null again instead of bombing. Fix - from drepper. - - * nss/nss_files/files-parse.c (LINE_PARSER): Take new first arg EOLSET. - Remove ; after `ENTDATA_DECL (data)'. - Truncate line at strpbrk (line, EOLSET "\n"). - (ENTDATA_DECL): Put ; at end. - (MIDLINE_COMMENTS): Macro removed. - * nss/nss_files/files-ethers.c: Pass new argument. - * nss/nss_files/files-hosts.c: Likewise. - * nss/nss_files/files-network.c: Likewise. - * nss/nss_files/files-parse.c: Likewise. - * nss/nss_files/files-proto.c: Likewise. - * nss/nss_files/files-rpc.c: Likewise. - * nss/nss_files/files-service.c: Likewise. - * grp/fgetgrent.c: Likewise. - * pwd/fgetpwent.c: Likewise. - * nss/nss_files/files-pwd.c: Get parse_line with extern decl, since - fgetpwent.c already defines it. - * nss/nss_files/files-grp.c: Likewise. - - * elf/dl-load.c (_dl_map_object): Use any object with matching l_name - as well as any matching with l_libname. Fix DT_SONAME lookup to use - string table properly. - - * elf/rtld.c (dl_main): Set _dl_rtld_map.l_name from _dl_argv[0] when - invoked directly, and l_libname from that if PT_INTERP missing. - Set l_name from l_libname only if not set from argv. - - * time/europe, time/northamerica: Updated from ADO 96i. - -Mon Jul 1 15:44:34 1996 Roland McGrath - - * stdio-common/tst-ungetc.c: Include unistd.h. - - * inet/Makefile (routines): Change getnetbypt to getnetbyad. - -Mon Jul 1 13:32:42 1996 Miles Bader - - * hurd/report-wait.c (describe_number): Make I unsigned long. - - * login/login.c (login): Only Frob OLD->ut_type if getutline_r - actually found any entry. - - * login/pututline_r.c (pututline_r): If not located after any - entry don't use UTMP_DATA->ubuf, and seek to the end before adding. - Lock the file before stating. - -Mon Jul 1 12:29:50 1996 Roland McGrath - - * nss/Makefile (databases): Change host to hosts. - * nss/host-lookup.c: Renamed to nss/hosts-lookup.c. - - * nss/nsswitch.c (nss_parse_service_list): Use const for NAME. - - * nss/nss_files/files-parse.c (parse_list): Correct alignment fixup. - - * string/string.h (strndupa): Pass missing arg to strnlen. - - * inet/getnetbypt_r.c: Renamed to ... - * inet/getnetbyad_r.c: this; fixed function name. - * inet/getnetbypt.c: Renamed to ... - * inet/getnetbyad.c: this; fixed function name. - -Sat Jun 29 01:08:35 1996 Andreas Schwab - - * grp/getgrgid_r.c (LOOKUP_TYPE): Define to struct group, not - struct passwd. - -Fri Jun 28 23:25:35 1996 Miles Bader - - * login/login.c (login): Initialize DATA so that setutent_r will - actually do something. - -Fri Jun 28 16:53:01 1996 David Mosberger-Tang - - * resolv/res_hconf.c (strndup): Remove function. - - * nss/nsswitch.c (nss_lookup_function): Declare loadbase and ref - using ElfW() instead of Elf32_*. - - * sysdeps/unix/sysv/linux/alpha/init-first.h, - sysdeps/unix/sysv/linux/m68k/init-first.h, - sysdeps/unix/sysv/linux/i386/init-first.h: New files. - * sysdeps/unix/sysv/linux/init-first.c: Use platform-dependent - init-first.h to make abstract machine dependent parts of - initialization. - - * sysdeps/unix/alpha/sysdep.h: Undo PIC-optimization of syscall - error handling. It's safer that way. - - * sysdeps/unix/alpha/sysdep.S: Make ldgp part of the prologue. - Fix by Richard Henderson. - - * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Fix - typo/extraneous whitespace. - - * sunrpc/xdr.c (xdr_int, xdr_u_int): Use to test - determine what integer sizes we're dealing with. - -Fri Jun 28 15:46:02 1996 Michael I. Bushnell, p/BSG - - * hurd/hurdsig.c (_hurd_internal_post_signal): In pending signal - check for signal zero, repair logical sense of test by - parenthesizing correctly. - - * hurd/hurdsig.c (_hurd_internal_post_signal): In - check-for-pending signals code, release _hurd_siglock before - jumping to deliver_pending. - -Thu Jun 27 04:04:27 1996 David Mosberger-Tang - - * configure.in (config_machine): Make ELF the default even for - Linux/Alpha unless a configuration of the form *-*-linux*ecoff - is specified. - -Fri Jun 28 07:27:10 1996 Roland McGrath - - * nss/nss_files/files-hosts.c (ENTDATA): Define it. - * nss/nss_files/files-parse.c (struct parser_data): Define entdata - member only #ifdef ENTDATA. - (ENTDATA_DECL): New macro. - (LINE_PARSER): Use it for entdata decl. - (parse_list): Find the space for LIST from DATA->linebuffer instead of - from the input LINE, which might not be writable buffer space. - (LINE_PARSER): Use `parser_stclass' in place of `static inline'. - [ENTDATA] (parser_stclass): #define to `static inline'. - [!ENDATA] (parser_stclass): #define to empty. - [!ENTDATA] (parse_line): #define to _nss_files_parse_ENTNAME; the - function is exported to -lnss_files users. - - * string/strndup.c: Add missing arg. - - * string/string.h (strndupa): Likewise. - * string/strndup.c (strndup): Always terminate the string. - -Thu Jun 27 14:22:31 1996 Andreas Schwab - - * stdio/Makefile (routines): Add vscanf. - * stdio-common/Makefile (routines): Remove vscanf. - * stdio-common/vscanf.c: Move to ... - * stdio/vscanf.c: here. - - * rpm/Makefile (headers, install-lib, install-lib.so, - versioned, install-bin, install-sbin, install-data, - install-others): Add $(-VARIABLE). - -Fri Jun 28 02:41:08 1996 Roland McGrath - - * nss/Makefile (databases): New variable. - (routines, libnss_files-routines): Use it. - (subdir-dirs): Compute from $(services). - - * sysdeps/unix/sysv/linux/syscalls.list (create_module, delete_module, - init_module, klogctl): Use EXTRA in the "caller" column so these get - added to unix-extra-syscalls and thus compiled in misc. - - * string/Makefile (routines): Add strndup. - * string/strndup.c: New file. - * string/string.h: Declare strndup. - (strndupa): New macro. - - * string/string.h: Declare __strdup. - * string/strdup.c: Deansideclized. Define __ name and weak alias. - - * string/string.h: Don't define memccpy as macro for [__OPTIMIZE__]. - -Thu Jun 27 02:49:28 1996 Ulrich Drepper - - * catgets/gencat.c: Add casts to avoid signed<->unsigned warnings. - - * grp/initgroups.c (initgroups): De-ansi-fy. - Move declaration of NGROUPS and GROUPS outside #if so that - the code compiles for NGROUPS_MAX != 0. - - * inet/Makefile (headers): Add netinet/ether.h and netinet/if_ether.h. - (routines): Add ether_aton, ether_aton_r, ether_hton, ether_line, - ether_ntoa, ether_ntoa_r, and ether_ntoh. - * inet/ether_aton.c, inet/ether_aton_r.c, inet/ether_hton.c, - inet/ether_line.c, inet/ether_ntoa.c, inet/ether_ntoa_r.c, - inet/ether_ntoh.c: New files. Implementation of functions to - handle Ethernet address to host mapping. - * inet/netinet/ether.h: New file. Declare ether_* functions. - * netinet/ether.h: Wrapper around inet/netinet/ether.h for glibc - compilation. - * nss/ethers-lookup.c: New file. Lookup function for ethers database. - * nss/Makefile (routines): Add ethers-lookup. - (libnss_files-routines): Add files-ethers. - - * nss/getXXent_r.c: Don't define set*ent and end*ent function - with _r suffix. - - * nss/nss_files/files-XXX.c (internal_endent): Don't reset - KEEP_STREAM every time called. - (_nss_files_end): Reset KEEP_STREAM here instead. - (internal_getent): If STREAM == NULL try to open instead of - signalling error. - Use cast to prevent warning. - Terminate read line in case the buffer is too small. - - * nss/nss_files/files-ethers.c: New file. Implementation of - Ethernet adress<->hostname lookup through files interface. - - * stdlib/mbstowcs.c: Define based on mbsrtowcs(). - * stdlib/mbtowc.c: Define based on mbrtowc(). - * stdlib/wcstombs.c: Define based on wcsrtombs(). - * stdlib/wctomb.c: Define based on wcrtomb(). - - * sunrpc/xdr.c (xdr_u_int): Avoid bogus call to - unexpected_sizes_in_xdr_u_int. - - * sysdeps/generic/netinet/if_ether.h: New file. Generic declaration - of `struct ether_addr'. - * sysdeps/unix/sysv/linux/netinet/if_ether.h: New file. Linux specific - declaration of `struct ether_addr'. - - * wcsmbs/mbrtowc.c: Handle case where argument PS is NULL. - * wcsmbs/mbsrtowcs.c: Ditto. - * wcsmbs/wcrtomb.c: Ditto. - * wcsmbs/wcsrtombs.c: Ditto. - - * wcsmbs/mbsinit.c: Prepare for PS being NULL. - -Wed Jun 26 13:19:35 1996 Miles Bader - - * hurd/get-host.c : New include. - * hurd/set-host.c : New include. - (_hurd_set_host_config): Include NEW in args to dir_link. - Return NWROTE, not NREAD. - - * sysdeps/mach/hurd/getcwd.c - (_hurd_canonicalize_directory_name_internal): Don't deallocate - DOTID & DOTDEVID until we're finished with them (we need to keep - them at least until we've fetched the next level of id ports, so - that mach will be able to use the same name if they're the same). - Add inner_errlose: label, which deallocates DOTID & DOTDEVID and - jumps to errlose, for those places where such cleanup is needed. - -Wed Jun 26 01:58:49 1996 Roland McGrath - - * nss/nss_files/files-parse.c (parse_list): Count null in EOL calc. - - Move DB code into separate -ldb library. - * db/Makefile (extra-libs): New variable, list libdb. - (routines): Renamed to libdb-routines. - * shlib-versions: Add libdb=2. - - * nss/network-lookup.c (DEFAULT_CONFIG): New macro. - * nss/host-lookup.c (DEFAULT_CONFIG): New macro. - - * nss/nsswitch.c (nss_parse_service_list): Use __strncasecmp instead - of strncasecmp. Extend syntax to grok [!foo=bar]. - - * sysdeps/generic/strncase.c: Define __strncasecmp with strncasecmp as - weak alias. - * string/string.h: Declare __strncasecmp. - - * nss/nsswitch.c (nss_parse_file): Call __getline, not getline. - (service_alias): Variable removed. - (nss_parse_service_list): New function, broken out of nss_getline. - Remove alias conversion; we will just use symlinks. - (__nss_database_lookup): Take new string arg DEFCONFIG. - If no entry exists, make one with service list parsed from that. - * nss/nsswitch.h: Update protocol for __nss_database_lookup. - * nss/XXX-lookup.c (DEFAULT_CONFIG): New macro, set to 0 if undefined. - (DB_LOOKUP_FCT): Pass it to _nss_database_lookup. - - * grp/initgroups.c: Rewritten using getgrent. Handle unlimited group - list size. - - * sunrpc/xdr.c (xdr_int): #if 0 out unresolved references in dead code. - -Wed Jun 26 01:56:50 1996 Ulrich Drepper - - * locale/programs/locale.c (long_options): Short form of - --version option is `-V'. - (main): Recognize `-V' as option, not `-v'. - Call `usage' instead of printing error message for illegal - option. - (usage): Document `-V'. - -Tue Jun 25 17:22:55 1996 Miles Bader - - * sysdeps/mach/hurd/getcwd.c - (_hurd_canonicalize_directory_name_internal): Initialize PARENT to - THISDIR, and don't ever deallocate PARENT unless it's != THISDIR. - -Tue Jun 25 10:58:23 1996 Roland McGrath - - * inet/getrpcent.c: Fix macros. - * inet/getrpcent_r.c: Fix macros. - - * elf/dlsym.c (dlsym): Search the global scope if HANDLE is null. - - * elf/dl-load.c (_dl_map_object_from_fd): Initialize L. - -Tue Jun 25 09:55:47 1996 David Mosberger-Tang - - * catgets/gencat.c (write_out): Use %Zu to print variables of type - size_t. - * resolv/res_debug.c (__p_rr): Print size_t variable as %lu and - cast it to (unsigned long) to make it work both on 32 and 64 - bit architectures. - -Sat Jun 22 13:05:25 1996 Andreas Schwab - - * locale/Makefile (distribute): Add `programs/' prefix to all - files in that directory. - - * Makerules (distinfo-vars): Assign subdir directly so that `ifdef - subdir' works. - - * MakeTAGS (sources, headers): Make them simply expanded variables - so that all-dist is expanded before it is changed. - -Tue Jun 25 02:59:11 1996 Roland McGrath - - * Make-dist (dist): Don't depend on crypt tar file. Remove that rule. - * Makefile (subdirs): Remove crypt. - * crypt: Directory removed. It will be made an independent library - distribution. - - * Makefile (distribute): Add rpm/{Makefile,teplate,rpmrc}. - - * inet/getrpcent_r.c (DATABASE_NAME): New macro. - - * inet/getrpcbynumber.c (BUFLEN): New macro. - - * configure.in (--no-whole-archive check): Remove backslashes in cmd. - - * Makefile (headers): Add libc-lock.h. - * sysdeps/stub/libc-lock.h: New file. - - * inet/getrpcbynumber.c: Remove _r typo. - - * elf/dl-load.c (_dl_map_object): Fix typo in last change. - - * nss/nss_files/files-parse.c (parse_list): Reset ELT for elements - after the first! - - * nss/nsswitch.c (__nss_database_lookup): If nsswitch.conf is missing - or doesn't mention DATABASE, use an internal default equivalent to - "DATABASE: compat [NOTFOUND=return] dns [NOTFOUND=return] files". - (nss_lookup_function): Call nss_new_service as needed. - (nss_parse_file): Don't bother calling nss_new_service here. - - * grp/fgetgrent.c (LINE_PARSER): Pass zero SWALLOW arg for fields. - * pwd/fgetpwent.c: Likewise. - - * malloc/malloc.h: Declare malloc_object_allocated_size, malloc_walk. - * malloc/Makefile (dist-routines): Add malloc-size, malloc-walk. - * malloc/malloc-size.c: New file. - * malloc/malloc-walk.c: New file. - - * malloc/malloc-find.c (malloc_find_object_address): Return null if - PTR is outside the heap. - - * elf/dl-load.c (_dl_map_object): If the requested name matches the - soname of a loaded object, use that object. - -Mon Jun 24 19:57:01 1996 Roland McGrath - - * Makefile (subdirs): Add nss. - - * inet/Makefile (routines): Add getrpcent, getrpcbyname, - getrpcbynumber, getrpcent_r, getrpcbyname_r, getrpcbynumber_r. - * inet/getrpcbynumber_r.c: New file. - * inet/getrpcbynumber.c: New file. - * inet/getrpcbyname.c: New file. - * inet/getrpcbyname_r.c: New file. - * inet/getrpcent_r.c: New file. - * inet/getrpcent.c: New file. - * nss/rpc-lookup.c: New file. - * nss/nss_files/files-rpc.c: New file. - * nss/Makefile (routines): Add rpc-lookup. - (libnss_files-routines): Add files-rpc. - * sunrpc/Makefile (routines): Remove getrpcent. - * sunrpc/getrpcent.c: File removed. - - * nss/getXXent_r.c (REENTRANT_GETNAME): Clear NO_MORE when NIP is - non-null on entry. - - * Makeconfig (rpath-link): Add $(nssobjdir). - (nssobjdir): New variable. - - * Makerules: Move shared library building before objects rules, so - versions are known before extra-lib.mk gets included. - * extra-lib.mk (lib-noranlib): Depend on the shared object too. - - * pwd/getpwuid.c: Rewritten using nss. - * pwd/getpwnam.c: Likewise. - * pwd/getpwent.c: Likewise. + * grp/grpread.c (__grpscan): New function. + * grp/grp.h (__grpscan): Declare it. + * grp/getgrgid.c: Use __grpscan. * grp/getgrnam.c: Likewise. - * grp/getgrgid.c: Likewise. - * grp/getgrent.c: Likewise. - * pwd/Makefile (routines): Add getpwent_r, getpwnam_r, getpwuid_r. - * pwd/getpwent_r.c: New file. - * pwd/getpwnam_r.c: New file. - * pwd/getpwuid_r.c: New file. - * grp/Makefile (routines): Add getgrent_r, getgrgid_r, getgrnam_r. - * grp/getgrnam_r.c: New file. - * grp/getgrgid_r.c: New file. - * grp/getgrent_r.c: New file. - * grp/Makefile (routines): Remove grpopen, grpread. - * pwd/Makefile (routines): Remove pwdopen, pwdread. - * grp/grpopen.c, grp/grpread.c, pwd/pwdopen.c, pwd/pwdread.c: Removed. - - * pwd/fgetpwent.c: Rewritten using files-parse.c. - * grp/fgetgrent.c: Likewise. + * pwd/pwdread.c (__pwdscan): New function. + * pwd/pwd.h (__pwdscan): Declare it. + * pwd/getpwnam.c: Use __pwdscan. + * pwd/getpwuid.c: Likewise. + +Thu Aug 24 16:29:40 1995 Roland McGrath + + * sysdeps/mach/hurd/mmap.c: Treat (FLAGS & MAP_TYPE) == 0 like + MAP_FILE. + + * hurd/thread-cancel.c: Return EINTR when called on self. + * sysdeps/i386/elf/start.S (data_start): Define as weak alias for + __data_start. + +Tue Aug 22 16:49:12 1995 Roland McGrath + + * inet/netdb.h: Moved to resolv. + * inet/Makefile (headers): Remove netdb.h. + * resolv/Makefile (headers): Add netdb.h. + * resolv/gethnamaddr.c, resolv/inet_addr.c, resolv/netdb.h, + resolv/res_send.c: Updated from BIND-4.9.3-BETA26. + + * hurd/thread-cancel.c: If SS->cancel_hook is not null, call it before + resuming the thread. + * hurd/hurd/signal.h (struct hurd_sigstate): New member `cancel_hook'. - * nss/Makefile (routines): Add grp-lookup and pwd-lookup. - * nss/pwd-lookup.c, nss/grp-lookup.c: New files. - * nss/nss_files/files-grp.c: New file. - * nss/nss_files/files-pwd.c: New file. + * hurd/Makefile: Removed dep on hurd/signal.h for RPC stub objects. - * nss/Makefile (subdir-dirs): New variable; use it in vpath. +Mon Aug 21 16:37:09 1995 Roland McGrath - * nss/nss_files/files-parse.c: New file. - * nss/nss_files/files-XXX.c: New file. - * nss/nss_files/files-hosts.c, nss/nss_files/files-proto.c, - nss/nss_files/files-service.c, nss/nss_files/files-network.c: - Rewritten using them. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Grok R_386_NONE + relocs, and do nothing. Why the linker generates them we may + never know. - * nss/Makefile (libnss_files-routines): Remove files-host. - Add files-hosts, files-grp, files-pwd. +Thu Aug 17 16:18:38 1995 Roland McGrath + + * sysdeps/mach/hurd/Makefile: Don't elide sunrpc and manual from + `subdirs' variable. - * nss/nss_dns/dns-network.c: Don't include . + * sysdeps/mach/hurd/i386/intr-msg.h: New file. + * hurd/intr-msg.c: Use INTR_MSG_TRAP macro from machine-dependent + "intr-msg.h" for special syscall code, instead of i386-specific asm. + * hurd/hurdsig.c: Use INTR_MSG_BACK_OUT macro from + machine-dependent "intr-msg.h" before mutating thread state to + skip RPC. -Mon Jun 24 22:39:12 1996 Richard Henderson + * sysdeps/mach/hurd/i386/trampoline.c: If PC is inside + _hurd_intr_rpc_mach_msg special syscall code, use real SP saved in + %ecx. - * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): - A .plt entry now loads the .rela.plt offset directly rather - than making us calculate it. + * Makeconfig (link-libc): New variable; use shared library if + available. + (+link): Use it. -Sun Jun 23 15:24:05 1996 Roland McGrath + * sysdeps/mach/hurd/fork.c (_hurd_fork_locks): Variable removed. + Instead, declare with `symbol_set_declare'. + (fork): Use symbol_set_* macros for _hurd_fork_locks. + Use SS->thread instead of __mach_thread_self (). Suspend all + other threads during task_create and port copying. - * time/Makefile ($(installed-localtime-file) rule): Do - $(make-target-directory) first. +Wed Aug 16 17:04:26 1995 Roland McGrath - * resolv.h: Fix wrapper for resolv/resolv.h. + * hurd/intr-msg.c: Fixed calculation of syscall %esp. - * configure.in (ld --no-whole-archive check): Use AC_TRY_COMMAND. - Compile dummy file and pass -nostdlib -nostartfiles so as not to - require installed libraries. +Tue Aug 15 12:26:18 1995 Roland McGrath - * shlib-versions (*-*-*): Set libresolv=2, libnss_files=1, - libnss_dns=1. + * hurd/hurdsig.c (_hurdsig_abort_rpcs): Remove `static'. -Sun Jun 23 19:42:05 1996 Ulrich Drepper + * hurd/Makefile (sig): Add intr-msg. - * resolv/Makefile (distribute): Remove res_hconf.h; add mapv4v6addr.h - and mapv4v6hostent.h. - (routines): Move res* and gethnamaddr into libresolv-routines. - (libresolv-routines): New variable, put them there. - (extra-libs): New variable, list libresolv. - (CPPFLAGS): Add -D for get*by* to res_get*by*. +Mon Aug 14 16:51:13 1995 Roland McGrath - * resolv/netdb.h (_PATH_NSSWITCH_CONF): New macro. + * hurd/thread-cancel.c: New file. + * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): In + rpc_wait case, frob mach_msg args to set timeout on receive. + (_hurdsig_rcv_interrupted_p): Function removed. + * sysdeps/mach/hurd/alpha/trampoline.c: Likewise. + * sysdeps/mach/hurd/hppa/trampoline.c: Likewise. + * sysdeps/mach/hurd/mips/trampoline.c: Likewise. + * hurd/intr-msg.c: New file. + * hurd/hurd/signal.h (struct hurd_sigstate): New member `cancel'. + (_hurdsig_rcv_interrupted_p): Declaration removed. + (HURD_EINTR_RPC): Macro removed. + (_hurd_longjmp_thread_state, _hurd_interrupted_rpc_timeout): Declare + these. + * hurd/intr-rpc.h: New file. + * hurd/intr-rpc.defs: Just import intr-rpc.h. + * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): New variable. + (interrupted_reply_port_location): Take new flag arg; only catch + faults if it's set. + (abort_rpcs): Rename to _hurdsig_abort_rpcs; take same new flag arg. + No longer use _hurdsig_rcv_interrupted_p; instead compare PC to + &_hurd_intr_rpc_msg_in_trap. If before it, mutate state to simulate + MACH_SEND_INTERRUPTED return; on it, interrupt the operation. All + callers changed. + * hurd/hurd.h (hurd_thread_cancel, hurd_check_cancel): Declare these. + * hurd/Makefile (distribute): Remove intr-rpc.awk. + (sig): Add thread-cancel. + (transform-user-stub, transform-user-stub-output): Variables removed. + * sysdeps/mach/hurd/dl-sysdep.c: Change all RPCs from + `__hurd_intr_rpc_*' to `__*'. + (_hurd_intr_rpc_mach_msg): New function. + (_hurd_thread_sigstate): Function removed. + * sysdeps/mach/hurd/ioctl.c: Use _hurd_intr_rpc_mach_msg function, + instead of __mach_msg inside HURD_EINTR_RPC macro. - * inet/herrno.c: New file. + * sysdeps/generic/morecore.c [__GNU_LIBRARY__]: Declare `__sbrk' + to take ptrdiff_t arg. - * resolv/res_init.c: Remove res_hconf calls. + * sysdeps/mach/hurd/fork.c: Remove _hurd_longjmp_thread_state decl. - * nss/Makefile, nss/XXX-lookup.c, nss/file-lookup.c, - nss/getXXbyYY.c, nss/getXXbyYY_r.c, nss/getXXent.c, - nss/getXXent_r.c, nss/host-lookup.c, nss/network-lookup.c, - nss/nsswitch.c, nss/nsswitch.h, nss/proto-lookup.c, - nss/service-lookup.c: New files. Implementation of name - service switch, following the approach in Solaris. - Interface specification and general structure inspired by Peter - Eriksson . - * nss/nss_files/files-host.c, nss/nss_files/files-network.c, - nss/nss_files/files-proto.c, nss/nss_files/files-service.c: - Implementation of libnss_files.so module for file based databases - in NSS service. - * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Implementation - if libnss_dns.so module for DNS name lookup in NSS service. + * sysdeps/mach/hurd/kill.c (kill_pid): Don't make `inline'. - * inet/getproto.c, inet/getprtent.c, inet/getprtname.c, - inet/getservent.c, inet/getsrvbynm.c, inet/getsrvbypt.c: - Changed to serve as interface to NSS. - * inet/gethstbyad.c, inet/gethstbyad_r.c, inet/gethstbynm.c, - inet/gethstbynm2.c, inet/gethstbynm2_r.c, inet/gethstbynm_r.c, - inet/gethstent.c, inet/gethstent_r.c, inet/getnetbynm.c, - inet/getnetbynm_r.c, inet/getnetbypt.c, inet/getnetbypt_r.c, - inet/getnetent.c, inet/getnetent_r.c, inet/getproto_r.c, - inet/getprtent_r.c, inet/getprtname_r.c, inet/getservent_r.c, - inet/getsrvbynm_r.c, inet/getsrvbypt_r.c: New files. Implement - interfaces to NSS, including reentrant functions. + * libc-symbols.h [GCC >= 2.7] (strong_alias, weak_symbol, + weak_alias): Use `extern' storage class. + +Wed Aug 9 14:25:35 1995 Miles Bader + + * sysdeps/mach/hurd/setuid.c (__setuid): Switch the port-type and + port-count parameters to __auth_makeauth. + * sysdeps/mach/hurd/setgid.c (__setgid): Ditto. + +Tue Aug 8 12:22:59 1995 Roland McGrath + + * hurd/sigunwind.c: Remove _hurd_longjmp_thread_state decl. + + * inet/netinet/tcp.h: New file, incorporated from 4.4BSD-Lite. + +Tue Aug 8 12:06:04 1995 Michael I. Bushnell, p/BSG + + * inet/netinet/in.h (IP_MULTICAST_TTL, IP_MULTICAST_LOOP, + IP_MULTICAST_IP, IP_ADD_MEMBERSHIP, IP_DROP_MEMBERSHIP): New IP + layer socket options. + (IPPROTO_GGP): Delete obsolote protocol. + (IPPROTO_IGMP): Add new protocol (with same value [2] as old GGP). + (struct ip_mreq): New type. + +Mon Aug 7 14:04:36 1995 Roland McGrath + + * stdlib/strtol.c: Use #ifdef, not #if, for HAVE_LIMITS_H. + + * posix/glob.c (glob_in_dir): Allocate GLOB_MARK byte in case when + (NFOUND == 0 && (FLAGS & GLOB_NOCHECK)). + + * sysdeps/generic/sysd-stdio.c (__stdio_reopen): Return failure + when __stdio_open fails with a code other than ENFILE or EMFILE. + +Fri Aug 4 16:01:59 1995 Roland McGrath + + * Makefile (headers): Added gnu-versions.h. + +Thu Aug 3 14:41:11 1995 Michael I. Bushnell + + * inet/netinet/in.h (IN_CLASSD, IN_EXPERIMENTAL, IN_BADCLASS): Use + equality, not assignment, to test bitfields. + +Sat Jul 29 10:41:06 1995 Miles Bader - * resolv/getnetbyaddr.c, resolv/getnetbyname.c, resolv/getnetent.c, - resolv/sethostent.c: Removed: Obsoleted by NSS. + * sysdeps/mach/hurd/sendto.c (sendto): Use the ifsock protocol to + resolve AF_LOCAL addresses. - * resolv/mapv4v6addr.h, resolv/mapv4v6hostent.h: Extracted from - gethnamaddr.c. These private functions are now used in more - than one file. + * sysdeps/mach/hurd/accept.c (accept): If the protocol family + can't tell us what an address means, just return a zero-length + buffer instead. + * sysdeps/mach/hurd/recvfrom.c (recvfrom): Ditto. - * resolv/inet_pton.c, resolv/gethnamaddr.c: Updated to bind-4.9.4-T5B. +Fri Jul 28 15:29:11 1995 Miles Bader -Sat Jun 22 16:49:47 1996 Andreas Schwab + * sysdeps/mach/hurd/bind.c (bind): Don't use + file_invoke_translator, as it doesn't work. Instead just lookup + the translated node again, and hope we're not hit by any race + conditions. + +Wed Jul 26 02:00:29 1995 Roland McGrath - * rpm/Makefile ($(config)): Make sure the word list in the for - loop is syntactically non-empty. + * csu/Makefile [$(elf)=yes] (have-initfini): Set to yes. + [$(have-initfini)=yes]: Test this rather than $(elf) for crtstuff. + [start-installed-name-rule]: If this is defined, elide rule for + $(objpfx)$(start-installed-name). + * csu/initfini.c (SECTION): New macro, different definitions for + #ifdef HAVE_ELF and not. + (_init, _fini): Use that macro. + * sysdeps/unix/sysv/sco3.2.4/Makefile [$(subdir)=csu] + (start-installed-rule, start-installed-name-rule): New variables; + specify crt1.o, created by our own rule. + ($(objpfx)crt1.o): New rule. + * configure.in: Require autoconf 2.4.2 or later. Change all + AC_CACHE_VAL uses to use new AC_CACHE_CHECK macro instead; + prettify some messages. + [$elf!=yes] (libc_cv_have_initfini): New test for `.init' and `.fini' + sections. + * munch-tmpl.c [HAVE_INITFINI]: Call _init and atexit (_fini) in + this case rather than #ifdef HAVE_ELF. + * config.h.in (HAVE_INITFINI): New macro. + * config.make.in (have-initfini): New variable, set by configure. -Sat Jun 22 21:29:52 1996 Roland McGrath + * stdio/vfscanf.c (conv_error): Simplify expression to avoid + "value computed is not used" warning. - * Version 1.92 test release. + * Makeconfig (+gccwarn): Removed -Wconversion. -Sat Jun 22 23:30:07 1996 David Mosberger-Tang + * csu/initfini.c (GLOBAL): Macro removed. + (_init, _fini): Always define globally. + * csu/Makefile (crtstuff, initfini): Don't make crt[in]_s.o. - * sysdeps/unix/sysv/linux/syscalls.list (ksyslog_ctl): Rename - to klogctl to match prototype in sys/klog.h. + * asia, backward, europe, leapseconds, southamerica: New data from + ADO's 95e. - * sysdeps/posix/libc_fatal.c: Add include of . - * sysdeps/unix/sysv/linux/gethostid.c: Ditto. + * inet/Makefile (routines): Removed inet_addr. + * inet/inet_addr.c: Moved to resolv/ subdirectory. + * resolv/Makefile (routines): Added inet_addr. + * resolv/inet_addr.c: Incorporated from BIND 4.9.3-BETA24 release. + * resolv/gethnamaddr.c: Likewise. + * resolv/getnetbyaddr.c: Likewise. + * resolv/getnetbyname.c: Likewise. + * resolv/getnetent.c: Likewise. + * resolv/getnetnamadr.c: Likewise. + * resolv/herror.c: Likewise. + * resolv/nsap_addr.c: Likewise. + * resolv/res_comp.c: Likewise. + * resolv/res_debug.c: Likewise. + * resolv/res_init.c: Likewise. + * resolv/res_mkquery.c: Likewise. + * resolv/res_query.c: Likewise. + * resolv/res_send.c: Likewise. + * resolv/resolv.h: Likewise. + * resolv/sethostent.c: Likewise. + * resolv/arpa/nameser.h: Likewise. + * inet/netdb.h: Incorporated from BIND 4.9.3-BETA24 release. + [__GNU_LIBRARY__]: Include instead of repeating + its declarations (and doing so only #ifdef sun!). + * conf/portability.h (NEED_INETADDR, NEED_INETATON): New macros. - * sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal): - Remove. Code is now part of __getcwd again. The old function - never really worked for anything but THISDIR==".". + * posix/sys/types.h [__USE_BSD] (__BIT_TYPES_DEFINED__): New macro. + [__USE_BSD] [__GNUC__] (int64_t, u_int64_t, register_t): New typedefs. - * sysdeps/alpha/Makefile (CFLAGS-rtld.c): Add -mbuild-constants - only when building ELF version of library. + * malloc/memalign.c: Allocate (SIZE + ALIGNMENT - 1) and then trim + if possible. - * libio/libioP.h (_IO_vscanf): Add prototype. + * mach/shortcut.awk: Emit decls for RPC. - * posix/unistd.h (syscall): Change sysno arg and return value - to int long. + * libc-symbols.h [GCC >= 2.7 && !ASSEMBLER] (weak_symbol, + weak_alias, strong_alias): Define using GCC __attribute__ syntax. -Sat Jun 22 10:44:09 1996 Roland McGrath + * Makerules ($(installed-libcs)): Depend on `lib' (only). - * version.h (VERSION): Updated to 1.92. +Tue Jul 25 09:14:53 1995 Roland McGrath - * misc/Makefile (headers): Add ar.h. - * misc/ar.h: New file. + * sysdeps/mach/hurd/pathconf.c: Declare VALUE as int, not long int. - * config.make.in (BUILD_CC): New variable. - * configure.in: Check for BUILD_CC if $host != $build. + * stdlib/strtol.c [_LIBC]: Define STDC_HEADERS. - * posix/glob.c: Include only [HAVE_ALLOCA_H], not [sparc]. + * sysdeps/unix/sysv/ftime.S: New file. - * Makerules [! objects] (subdir_lib): Depend on the stamp$o files. - (stamp$o files): New targets, create them empty, no deps. + * locale/locfile-parse.c (categories_write): Cast "" to char *. - * rpm/template (Source): New field. - (%prep, %build, %install): New sections. - (%files): Add %doc FAQ NEWS NOTES README. - * rpm/rpmrc (builddir): Removed. + * io/fcntl.h [__OPTIMIZE__] (creat): Macro removed. + + * time/strftime.c: Use year modulo 100 for %y. + + * time/sys/timeb.h: Add __BEGIN_DECLS and __END_DECLS. + + * sysdeps/unix/snarf-ioctls (snarfexclude): Use two sed's instead + of one, to work around bug in sunos4.1.2 sed. -Fri Jun 21 00:27:51 1996 Roland McGrath + * stdio/vfprintf.c (vfprintf): For %s with precision spec, use + memchr instead of strlen to limit search for NUL by precision. + +Mon Jul 24 03:13:16 1995 Roland McGrath + + * sysdeps/posix/pathconf.c: New file. - * elf/dl-load.c (_dl_map_object_from_fd): Fix mapping and l_phdr - guessing to not assume p_vaddr of first load cmd is zero. +Sat Jul 22 20:53:18 1995 Roland McGrath - * sysdeps/sparc/elf/start.S: New file. - * sysdeps/sparc/dl-machine.h: New file. + * sysdeps/unix/i386/sysdep.h (JUMPTARGET): Use ## to avoid space + before @PLT. + * sysdeps/mach/i386/sysdep.h (JUMPTARGET): New macro. + * sysdeps/i386/bsd-_setjmp.S: Use JUMPTARGET macro in jmp insn. + * sysdeps/i386/bsd-setjmp.S: Likewise. - * posix/fnmatch.c (fnmatch): Fix \*[*?]+ case to increment name ptr - only for ?s, not for *s. Fix from Chet Ramey. +Sat Jul 22 19:58:54 1995 Michael I Bushnell - Fixes thanks to Raja R Harinath : - * sysdeps/unix/sysv/utmpbits.h: Define _HAVE_UT_{TYPE,ID,TV,HOST}. - Use __{BEGIN,END}_DECLS. - (_PATH_WTMP, _PATH_UTMP, _PATH_LASTLOG): New macros. - * login/utmp.h (UTMP_FILE, UTMP_FILENAME, WTMP_FILE, WTMP_FILENAME): - New macros, moved here from sysdeps/gnu/utmpbits.h. - * sysdeps/generic/utmpbits.h (_HAVE_UT_HOST): Define it. - * sysdeps/gnu/utmpbits.h (_HAVE_UT_HOST): Likewise. - * login/logout.c: Use ut_host only #if _HAVE_UT_HOST. - Use sizeof instead of UT_*SIZE. - * login/logwtmp.c: Likewise. + * inet/Makefile (routines): Added `ruserpass'. + * inet/ruserpass.c: New file, from BSD Net-2 sources for the FTP + client. Modified to remove the fourth arg AACCT. Do nothing for + the `account' and `macdef' keywords. Other incidental changes + because we are not in the FTP source tree. - * misc/tsearch.c (tdelete): Define as weak alias to __tdelete. +Sat Jul 22 01:56:03 1995 Roland McGrath - * version.c (banner): Add trailing newline. + * sysdeps/stub/init-posix.c: Removed stub warning. - * login/utmp.h: Declare login_tty. + * Makefile (autoconf-it): Make it executable and unwritable. -Thu Jun 20 21:19:07 1996 Richard Henderson + * configure.in (sysnames): Under --enable-debug-configure, spew + potential sysnames. - * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): - Changed to a 12-byte PLT entry to remove dependency on $gp. - Take a new got_addr parameter. - (elf_machine_rela): Pass the new parameter. - (ELF_MACHINE_RUNTIME_TRAMPOLINE): Do arithmetic for 12-byte PLT. - (RTLD_START): Do normal linkage with program entry. + * sysdeps/unix/i386/sysdep.h (JUMPTARGET): New macro; use name@PLT + #ifdef PIC. + (PSEUDO): Use JUMPTARGET(syscall_error) in jump insn. + * sysdeps/unix/i386/syscall.S: Use JUMPTARGET(syscall_error) in + jump insn. -Thu Jun 20 12:18:21 1996 Miles Bader + * sysdeps/unix/sysv/sysv4/linux/i386/sysdep.h: Rewritten. + * sysdeps/unix/sysv/sysv4/linux/i386/syscall.S: New file. + * sysdeps/unix/sysv/sysv4/linux/i386/socket.S: Include + . Save %ebx in call-clobbered %edx instead of + stack. Use JUMPTARGET(syscall_error) in jump insn. - * sysdeps/mach/hurd/brk.c (_hurd_brk): Initialize to 0. + * Makeconfig (+gccwarn): Add -Wbad-function-cast -Wconversion. - * hurd/getuids.c (getuids): New weak link to __getuids. + * sysdeps/unix/i386/sysdep.h (ENTRY): Use ASM_GLOBAL_DIRECTIVE and + ASM_TYPE_DIRECTIVE. + (ASM_TYPE_DIRECTIVE): New macro; defined using `.type' #ifdef ELF. -Wed Jun 19 10:21:24 1996 Miles Bader + * sysdeps/unix/sysv/sysv4/linux/i386/sysdep.S (__syscall_error): + Rewritten, #include'ing unix/i386/sysdep.S for most of the code. + * sysdeps/unix/i386/sysdep.S [PIC]: Store into `errno' through the GOT. - * hurd/hurdlookup.c (__hurd_file_name_lookup_retry, - __hurd_file_name_lookup, __hurd_file_name_split): Add & use LOOKUP - argument. - Rename nested function lookup to lookup_op. - (__file_name_lookup, __file_name_lookup_under): - Pass 0 for lookup arg to __hurd_file_name_lookup. - (__file_name_split): Likewise for __hurd_file_name_split. - * hurd/path-lookup.c (hurd_file_name_path_lookup): Add LOOKUP argument. - Rename nested function lookup to scan_lookup. - (file_name_path_lookup): Pass 0 for lookup arg to - hurd_file_name_path_lookup. - * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup, - __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry: - __hurd_file_name_split, hurd_file_name_split, hurd_file_name_lookup): - Add LOOKUP argument. - * sysdeps/mach/hurd/access.c (__access): Pass 0 lookup arg to - __hurd_file_name_lookup. + * configure.in (os=linux*): Use unix/sysv/sysv4 for $base_os, + instead of unix/sysv. + * sysdeps/unix/sysv/linux/{accept,connect,getsockname,rename, + socketpair,waitpid,bind,getpeername,listen,setsid,wait4}.S: Moved + to new directory sysdeps/unix/sysv/sysv4/linux. + * sysdeps/unix/sysv/linux: Directory removed. + * sysdeps/unix/sysv/i386/linux/{socket.S,sysdep.h,sysdep.S}: Moved + to new directory sysdeps/unix/sysv/sysv4/linux/i386. + * sysdeps/unix/sysv/linux/i386: Directory removed. -Mon Jun 17 19:09:49 1996 Andreas Schwab + Fixes to help Linux, inspired by drepper's work: + * sysdeps/posix/utimes.c: New file. + * sysdeps/generic/getdomain.c: New file. + * sysdeps/i386/init-first.c: Removed gratuitous #include . + * sysdeps/generic/dl-sysdep.c: Include and declare + externals _dl_argc, _dl_argc, and _environ. - * Make-dist (+sysdeps): Move wildcard inside loop to avoid consing - up a huge list just to discard most of it. +Fri Jul 21 12:57:29 1995 Michael I Bushnell - * configure.in (sysnames): Avoid fgrep by using the case shell - builtin. + * sysdeps/mach/hurd/socket.c (socket): Consider MIG_BAD_ID and + EOPNOTSUPP as indications that the server has died. + * sysdeps/mach/hurd/pipe.c (__pipe): Likewise. + * sysdeps/mach/hurd/socketpair.c (socketpair): Likewise. - * Makeconfig (config.status): Fix dependency on Implies files. +Mon Jul 17 08:45:40 1995 Jim Meyering (meyering@comco.com) -Wed Jun 19 01:27:57 1996 Roland McGrath + * strtol.c: Portability changes from Uli Drepper. + [!STDC_HEADERS && !defined(NULL)]: Define NULL. - * math/Makefile (distribute): Add ieee-math.c. +Mon Jul 10 05:39:21 1995 Roland McGrath -Wed Jun 19 03:24:58 1996 Ulrich Drepper + * sysdeps/mach/hurd/i386/init-first.c (init): Take just one arg, + DATA for the entry SP; DATA[-1] is always the return address + location. In both cthreads and non-cthreads cases, use asm to + force parameters into %eax and %ecx before return, and mutate + DATA[-1] to return to specific asm code to set up the user from + %eax and %ecx. + [PIC] (_init): Caller changed. + (__libc_init_first) [! PIC] (doinit): Use asm to effect call to init + with SP unwound to argument data ptr. - * locale/codeset_name.c: New file. Provide function for information - about currently used character set. - * locale/Makefile (routines): Add codeset_name. - * locale/langinfo.h (_NL_CTYPE_CODESET_NAME): Add new constant. - * locale/localeinfo.h: Change magic number because of incompatible - change. - * locale/C-ctype.c: Add initializer for new field `codeset_name'. - * locale/programs/ld-ctype.c: Implement handling of `codeset_name'. +Thu Jul 6 14:28:56 1995 Roland McGrath - * locale/programs/locfile.c: Don't depend in pre-2.0 Linux specific - name `MAX_IOVEC'. Instead use standard name `UIO_MAXIOV'. + * sysdeps/mach/hurd/dl-sysdep.c (fmh): Fixed this kludge to work + when 0x08000000 and up are not mapped. - * locale/setlocale.c (setlocale): Initialize local variables to - prevent warnings. + * Makerules (stamp$o-$(subdir) rule): Remove the timestamp file + before touching it. + (lib%.so): Use -Wl to get -soname to ld. -Thu Jun 13 17:25:11 1996 David Mosberger-Tang + * elf/dlsym.c: Pass final arg to _dl_lookup_symbol. - * sysdeps/generic/memcmp.c: Add prototype decls for internal fns. + * elf/Makefile (libdl.so): Pass $(LDFLAGS.so). - * locale/programs/locale.c: Include string.h. +Tue Jun 20 02:18:19 1995 Roland McGrath - * sunrpc/xdr_stdio.c (xdrstdio_getlong), sunrpc/xdr_rec.c - (xdrrec_getlong), sunrpc/xdr_mem.c (xdrmem_getlong): Make sure - appropriate sign-extension is performed on machines with - sizeof(long) > 4. + * Makerules (lib%.so: lib%_pic.a): Pass -soname switch giving the + library's name including $(libprefix) and major version number. - * sunrpc/xdr.c (xdr_int, xdr_u_int): If sizeof(long)==8 and - sizeof(int) + * Makeconfig (prefix, exec_prefix, libprefix): Instead of + `ifndef', use the $(origin) function to only set these if they are + undefined, and not if they are defined to empty. - * libio/stdio.h (__libc_fatal): Add prototype. + * gnu-versions.h: New file. + * features.h (__GNU_LIBRARY__): Increase value to 5. - * libio/cleanup.c: Use __P() to declare prototype when __STDC__ is - in efect. +Wed Jun 14 03:45:24 1995 Roland McGrath - * libio/iopopen.c (read_or_write, parent_end, child_end): Declare - volatile to avoid "might get clobbered by longjmp" warning. + * stdio/stdio.h (__validfp): Use ({...}) rather than a comma + expression, to avoid gcc's "value computed is not used" warning. - * features.h (__KERNEL_STRICT_NAMES): Define __KERNEL_STRICT_NAMES - unless _LOOSE_KERNEL_NAMES is in effect (which, with high - probability is a sure loser). - * sysdeps/unix/sysv/linux/gnu/types.h (__KERNEL_STRICT_NAMES): Remove. + * libc-symbols.h (_elf_set_element): Give the set-element variable + an `unused' attribute. - * sysdeps/unix/bsd/osf/alpha/start.S (errno): Removed. - * sysdeps/unix/sysv/linux/alpha/start.S: Ditto. + * hurd/hurd/threadvar.h (__hurd_threadvar_location): Declare with + __attribute__ ((__const__)). + * hurd/hurd/signal.h (_hurd_self_sigstate): Likewise. - * misc/paths.h (_PATH_MAN): Change from /usr/share/man to /usr/man - to be Linux FSSTND compliant. + * hurd/hurd/userlink.h (_hurd_userlink_link): Properly set + LINK->resource.next->resource.prevp when appropriate, not + LINK->resource.next->thread.prevp!!! -Mon Jun 10 17:50:31 1996 David Mosberger-Tang +Tue Jun 13 15:45:10 1995 Roland McGrath - * sysdeps/unix/sysv/linux/alpha/pipe.S: Use PSEUDO. + * configure.in (libc_cv_asm_set_directive): Make sure that the + `.set' directive really worked by linking against a reference to + the alias. - * sysdeps/unix/sysv/linux/alpha/sysdep.S, - sysdeps/unix/sysv/linux/alpha/brk.S, - sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S, - sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S, - sysdeps/unix/sysv/linux/alpha/llseek.S, - sysdeps/unix/sysv/linux/alpha/sigsuspend.S, - sysdeps/unix/sysv/linux/alpha/syscall.S: Rename syscall_error to - __syscall_error to avoid intruding application name space. + * sysdeps/stub/init-first.c: Don't include . + [PIC] (soinit): Renamed to (global) _init. - * sysdeps/unix/sysv/linux/alpha/sysdep.h: Rename __NR_get?id - to SYS_get?id so that syscall stubs in sysdeps/unix define - these syscalls in terms of getxpid/getxuid/getxgid. +Mon Jun 12 13:15:45 1995 Roland McGrath - * sysdeps/unix/_exit.S, sysdeps/unix/getegid.S, - sysdeps/unix/geteuid.S, sysdeps/unix/getppid.S, - sysdeps/unix/execve.S, sysdeps/unix/fork.S, - sysdeps/unix/syscall.S: Terminate syscall with PSEUDO_END. + * malloc/Makefile (gmalloc-routines): Remove valloc. + (dist-routines): Add it here. - * sysdeps/unix/make-syscalls.sh, sysdeps/unix/sysdep.h - (PSEUDO_END): Rename END() to PSEUDO_END(). + * malloc/malloc.h [_MALLOC_INTERNAL] [emacs] (valloc): #define to + emacs_loser_valloc to inhibit valloc declaration below. - * sysdeps/unix/alpha/sysdep.h: Move error-handling code in PSEUDO - to PSEUDO_END to improve branch-prediction. Include .frame - directive to make syscalls debugabble. - (PSEUDO_END): New macro. + * Makerules (lib%.so: lib%_pic.a): Moved this rule to after + installation rules. - * sysdeps/unix/alpha/sysdep.h, sysdeps/alpha/bb_init_func.S, - sysdeps/unix/sysv/linux/alpha/brk.S: Use ldiq instead of ldi since - latter is illegal under DEC Unix. + * sysdeps/mach/sysdep.h [HAVE_ELF] (ENTRY): Redefine this macro so + it uses the `.type' directive, which is necessary for shared + libraries to work properly. - * sysdeps/unix/alpha/sysdep.S: Renamed from - sysdeps/unix/sysv/linux/alpha/sysdep.S. This file works for OSF/1 - as well. - * sysdeps/unix/bsd/osf/alpha/sysdep.S: Remove (note that the - EWOULDBLOCK -> EAGAIN mapping was unnecessary since - EWOULDBLOCK==EAGAIN under DEC Unix and Linux/Alpha). +Thu Jun 8 02:50:26 1995 Roland McGrath - * sysdeps/alpha/divrem.h: Use retaddr instead of ra as the return - address register in the .frame directive. + * elf/dl-load.c (_dl_map_object): Add MAP_INHERIT flag in mmap + from zero fill. - * sysdeps/alpha/copysign.c: Remove. + * elf/dl-lookup.c (_dl_lookup_symbol): Take new flag arg NOSELF; + if nonzero, don't let *REF satisfy the reference itself. + * elf/link.h (_dl_lookup_symbol): Add new arg NOSELF in decl. + * sysdeps/i386/dl-runtime.c (_dl_runtime_resolve): Pass new arg to + _dl_lookup_symbol. + * elf/do-rel.h (elf_dynamic_do_rel): Pass new second arg of + R->r_offset to RESOLVE callback. + * elf/dl-reloc.c (_dl_relocate_object: resolve): Don't let *REF + satisfy the reference itself if its value equals the reloc's + offset. - * sunrpc/rpc/types.h: Include and to - avoid RPC definitions of INADDR_LOOPBACK and/or MAXHOSTNAMELEN. + * elf/rtld.c (dl_main): Write a newline in fatal msg. - * errno.h: Move __END_DECLS to correct place to make file - compilable under c++. + * Makerules (lib%.so: lib%_pic.a): Pass $(LDFLAGS.so). - * dirent/dirent.h: Document _DIRENT_HAVE_D_OFF macro. Define - d_ino only if hasn't defined d_fileno. + * elf/rtld.c [! NDEBUG] (__assert_perror_fail): New function. - * configure.in (HAVE_ASM_WEAKEXT_DIRECTIVE): Reverse order of - arguments to weakext to make .weakext detection work on ECOFF systems. + * hurd/hurdstartup.c (_hurd_startup): Fancier kludge to guess phdr + and user entry point addresses. - * FAQ: Add Linux/Alpha to list of supported platforms. Mention - that _validuser() has been replaced by __ivaliduser(). + * elf/dl-load.c (open_path): Don't do strlen on DIRPATH if it's null. + (_dl_map_object): DT_RPATH value is relative to DT_STRTAB value. -Thu Jun 6 21:39:38 1996 David Mosberger-Tang + * Makerules (install-lib.so): Don't include libc.so. + [$(build-shared)=yes] (install): Depend on the installed libc.so file. + [$(build-shared)=yes] (install-no-libc.a): Make this, rather than + install, depend on the installed $(install-lib.so) files. + [$(build-shared)=yes] (install-lib.so): Append libc.so after that rule. - * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Declare cmd - as unsigned long, not as int (to avoid incorrect int->long - promotion). + * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Add kludge to + allocate high addresses to avoid random mappings appearing there. + (mmap): Comment out mask; always pass zero. + +Tue Jun 6 13:34:53 1995 Roland McGrath + + * sysdeps/i386/dl-machine.h (ELF_MACHINE_USER_ADDRESS_MASK): New macro. + * sysdeps/mach/hurd/dl-sysdep.c (mmap): Use it as mask in vm_map call. + + * elf/dl-error.c (_dl_catch_error): Clear *ERRSTRING and *OBJNAME + when successful. + + * sysdeps/mach/hurd/dl-sysdep.c (threadvars): New static variable. + (__hurd_threadvar_max, __hurd_threadvar_stack_offset): Define these + variables, using the `threadvars' buffer. + + * elf/dl-reloc.c: Don't dereference L->l_prev when it's null. + * sysdeps/i386/dl-runtime.c: Likewise. + + * elf/rtld.c (dl_main): Add missing NULL terminating argument in + _dl_sysdep_fatal call. + (__assert_fail): Likewise. + + * locale/Makefile (localedef-modules): Renamed ctype to + locale-ctype so as not to conflict with the object file for + ctype/ctype.c in the build directory. + +Mon Jun 5 04:02:26 1995 Roland McGrath + + * elf/elf.h (ELFMAG): Use \177 instead of \x7f. It seems GCC + insists on seeing the following E as part of hex 7FE, and + complaining that is wider than a byte. + +Sun Jun 4 22:14:11 1995 Roland McGrath + + * hurd/Makefile (sig): Added thread-self. + * hurd/hurd.h: Declare hurd_thread_self. + * hurd/thread-self.c: New file. + +Thu Jun 1 12:17:52 1995 Roland McGrath + + * elf/rtld.c: Initialize RTLD_MAP.l_type. + * elf/dl-reloc.c (_dl_relocate_object): Clear LAZY if relocating + the dynamic linker itself. + * sysdeps/i386/dl-machine.h (elf_machine_rel): If MAP->l_type is + lt_interpreter, first undo relocation done during bootstrapping. + +Tue May 30 15:52:32 1995 Roland McGrath + + * mach/Makefile (server-interfaces): Removed notify and + device_reply. For shlibs with eager binding, libmachuser.so must + not refer to any functions not defined in libc. + +Sat May 27 16:23:22 1995 Jim Meyering (meyering@comco.com) + + * sysdeps/generic/memchr.c: Cast RHS to const unsigned char * + to avoid error from Irix-4.0.5's C compiler. From Kaveh Ghazi. + +Fri May 26 13:00:08 1995 Roland McGrath + + * hurd/hurdsig.c (_hurd_internal_post_signal): Don't loop to check + pending signals if the thread is in a critical section. It will + send us a msg when it finishes. + + * sysdeps/mach/hurd/pathconf.c: New file. + * sysdeps/mach/hurd/fpathconf.c: New file. + + * sysdeps/mach/hurd/sigaction.c: Only notify the proc server for + SIGCHLD when the SA_NOCLDSTOP bit actually changes. + +Sun May 21 05:05:37 1995 Roland McGrath + + * elf/Makefile (ld.so): Use -nostartfiles in addition to + -nostdlib. + +Sun May 21 02:01:29 1995 Jim Meyering (meyering@comco.com) + + * sysdeps/generic/memchr.c: Don't include at all. + HPUX-9.01 and IRIX-4.0.5 vendor C compilers get conflicting dcls for + memchr unless one manually arranges for them to define __STDC__. + +Fri May 19 17:16:46 1995 Roland McGrath + + * sysdeps/mach/hurd/i386/init-first.c: In cthreads case, handle + args on stack from kernel. + + * posix/Makefile, sysdeps/alpha/Makefile, + * sysdeps/mach/hurd/Makefile, sysdeps/sparc/Makefile, Makefile, + * Makerules, Make-dist: Fix "cvs commit" cmds in rules to not fail + in the absence of CVS dirs. + + * hurd/hurdstartup.c: Don't call __mach_init. Grok args from the + kernel on the stack properly. + + * set-init.c: Never call _init/_fini; just run __libc_subinit. + + * Makerules (LDFLAGS-c.so): Add -nostartfiles. + * mach/Machrules (LDFLAGS-$(interface.so)): Likewise. + + * configure.in: Move defaulting of --with-elf and --with-gnu-* + based on host os outside the AC_CACHE_VAL for the sysdirs + calculation. + + * Makeconfig (localedir, nlsdir): New variables. + + * values.h: New file. + * Makefile (headers): Add values.h. + + * locale/Makefile (distribute): Add error.h. + * locale/localedef.c: Include "error.h". + (main): Use error_message_count instead of warning_cntr. + +Wed May 17 16:50:21 1995 Roland McGrath + + Merged 1003.2 locale and localedef programs by Ulrich Drepper. + * locale/charmap.c: New file. + * locale/collate.c: New file. + * locale/config.h: New file. + * locale/ctype.c: New file. + * locale/ctypedump.c: New file. + * locale/hash.c: New file. + * locale/hash.h: New file. + * locale/iso-4217.def: New file. + * locale/keyword.gperf: New file. + * locale/keyword.h: New file. + * locale/libintl.h: New file. + * locale/locale.c: New file. + * locale/localedef.c: New file. + * locale/localedef.h: New file. + * locale/locfile-lex.c: New file. + * locale/locfile-parse.c: New file. + * locale/messages.c: New file. + * locale/monetary.c: New file. + * locale/numeric.c: New file. + * locale/token.h: New file. + + * posix/regex.c, posix/regex.h: New files, incorporated from GNU regex. + * posix/Makefile (headers): Add regex.h. + (routines): Add regex. + (gpl2lgpl): Add regex.c and regex.h. + +Tue May 16 17:35:07 1995 Roland McGrath + + * locale/loadlocale.c: Expect macro LOCALE_PATH to be defined, + instead of hard-coding "/share/locale". + +Sat May 13 02:16:42 1995 Roland McGrath + + * configure.in (os=gnu*): Always set elf=yes, not just for os=gnu*elf*. + +Fri May 12 15:31:22 1995 Roland McGrath + + * elf/elf.h (ELFMAG, SELFMAG): New macros. + +Fri May 12 11:24:53 1995 Michael I Bushnell + + * hurd/alloc-fd.c (_hurd_alloc_fd): Don't reduce FIRST_FD in + the case where it starts out less than _hurd_dtablesize. + +Thu May 11 20:51:05 1995 Roland McGrath + + * hurd/alloc-fd.c (_hurd_alloc_fd): When expanding the dtable, + make sure the new size exceeds FIRST_FD. + +Wed May 10 21:00:47 1995 Roland McGrath + + * sysdeps/mach/i386/sysdep.h (RETURN_TO): New macro. + +Tue May 9 01:26:52 1995 Roland McGrath + + * Makerules (install-lib.so): Add %.so for each %_pic.a. + + * sysdeps/i386/elf/start.S (__data_start): Define this symbol as + the first thing in .data. + + * sysdeps/mach/_strerror.c (_strerror_internal): Eschew sprintf. + + * hurd/hurdstartup.h: New file. + + * sysdeps/i386/elf/start.S: Give two operands to `testl' when they + are the same. Use `jz' instead of `jeq'. + + * Makeconfig (config.make): Depend on config.status, and run it to + update. + (config.status): New target; depend on configure. + If target (config.status) exists, run it with --recheck to update; + if not, give error msg saying to run confiugre by hand. + * Makerules [$(sysd-Makefile-sysdirs) != $(sysdirs)] + (sysd-Makefile-force): Set this variable to FORCE in this case, to + force a rebuild of sysd-Makefile. + (sysd-Makefile): Depend on $(sysd-Makefile-force). + Write into the file sysd-Makefile-sysdirs:=$(sysdirs). + [$(sysd-rules-sysdirs) != $(sysdirs)] (sysd-rules-force): Set this + variable to FORCE in this case, to force a rebuild of sysd-rules. + (sysd-rules): Depend on $(sysd-rules-force). + Write into the file sysd-rules-sysdirs:=$(sysdirs). + + * Makerules (LDFLAGS-c.so): Change ld option -interp to + -dynamic-linker. + + * Makerules (do-install-program): New canned sequence. + (install-bin, install-sbin): Use it. + (install for lib*.so): Use it instead of $(do-install). + Fix .so installation rules to handle lib*.so and *.so, deal with + $(libprefix) right, and install *.so as *.so$($(*.so)-version); + i.e. "libc.so-version = .1". + +Mon May 8 05:10:25 1995 Roland McGrath + + * elf/do-rel.h: New file, split out of dynamic-link.h. + * elf/Makefile (distribute): Add do-rel.h. + +Sat May 6 11:06:47 1995 Roland McGrath + + * Makeconfig (+gccwarn): Add -Winline. + + * hurd/hurdsig.c (_hurd_internal_post_signal): If SS->context is + set, avoid abort_rpcs, and use reply and intr ports saved in + SS->context. + * sysdeps/mach/hurd/i386/trampoline.c: Don't set SS->intr_port + from SS->context. Don't clear SS->context. + * sysdeps/mach/hurd/i386/sigreturn.c: Don't set SS->intr_port when + setting SS->context. If msg_sig_post returns, re-lock and clear + SS->context. + +Fri May 5 10:37:09 1995 Roland McGrath + + * mach/Makefile (errsystems.c): Comment out generation rule. + + * sysdeps/mach/_strerror.c: Consider a system unknown if its + bad_sub member is null. + + * mach/mig-alloc.c: Add weak alias to non-__ name. + +Wed May 3 11:56:35 1995 Roland McGrath + + * sysdeps/mach/hurd/dup2.c: Fixed broken test in last change. + +Tue May 2 01:52:58 1995 Roland McGrath + + * elf/dl-error.c (_dl_catch_error): Actually call the OPERATE + function. Duh. + + * hurd/Makefile (distribute): Added hurdstartup.h. + * hurd/hurd.h: Remove _hurd_startup decl. + + * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS): Use __attribute__ + ((__unused__)) instead of gratuitous self reference. + + * sysdeps/mach/hurd/dup2.c: Call _hurd_alloc_fd to expand the + table if FD2 doesn't fit. + + * sysdeps/mach/hurd/getdtsz.c: Return the RLIM_NOFILE soft limit, + not the current table size. + + * sysdeps/mach/i386/sysdep.h (SNARF_ARGS, CALL_WITH_SP): Rewritten. + + Implemented runtime dynamic linker to support ELF shared libraries. + * elf/Makefile: Added rules to make ld.so and libdl. + * elf/dl-error.c: New file. + * elf/dl-fini.c: New file. + * elf/dl-init.c: New file. + * elf/dl-load.c: New file. + * elf/dl-lookup.c: New file. + * elf/dl-object.c: New file. + * elf/dl-reloc.c: New file. + * elf/dlclose.c: New file. + * elf/dlerror.c: New file. + * elf/dlopen.c: New file. + * elf/dlsym.c: New file. + * elf/dynamic-link.h: New file. + * elf/link.h: New file. + * elf/rtld.c: New file. + * sysdeps/i386/dl-machine.h: New file. + * sysdeps/stub/dl-machine.h: New file. + * sysdeps/i386/dl-runtime.c: New file. + * sysdeps/stub/dl-runtime.c: New file. + * sysdeps/i386/elf/start.S: New file. + * sysdeps/generic/dl-sysdep.c: New file. + * sysdeps/mach/hurd/dl-sysdep.c: New file. + * sysdeps/mach/hurd/i386/init-first.c: New file. + * sysdeps/i386/init-first.c: New file. + * sysdeps/stub/init-first.c: New file. + +Mon May 1 18:48:30 1995 Roland McGrath + + * Makerules (LDFLAGS-c.so): Add -interp and -e switches to make + libc.so runnable. + * version.c (__libc_print_version): Add "et al" and missing NL to + author credit. + +Sat Apr 29 15:46:57 1995 Roland McGrath + + * posix/glob.c (S_ISDIR): Define if undefined. + +Thu Apr 27 01:24:09 1995 Roland McGrath + + * configure.in: Unless --without-fp, prepend */fpu before each + machine dir in $mach; don't prepend FPU dirs at end. If + --with-elf, prepend MACHINE/elf directories at end; don't insert + them into $mach. + + * Makerules (dist): Filter out *.[cSs] from $(distribute) in deps. + + * sysdeps/stub/clock.c: Added stub warning. + * sysdeps/stub/dirfd.c: Likewise. + * sysdeps/stub/exc2signal.c: Likewise. + * sysdeps/stub/fdopen.c: Likewise. + * sysdeps/stub/flock.c: Likewise. + * sysdeps/stub/fpathconf.c: Likewise. + * sysdeps/stub/ftruncate.c: Likewise. + * sysdeps/stub/gtty.c: Likewise. + * sysdeps/stub/isatty.c: Likewise. + * sysdeps/stub/killpg.c: Likewise. + * sysdeps/stub/madvise.c: Likewise. + * sysdeps/stub/mkstemp.c: Likewise. + * sysdeps/stub/mktemp.c: Likewise. + * sysdeps/stub/mprotect.c: Likewise. + * sysdeps/stub/msync.c: Likewise. + * sysdeps/stub/pathconf.c: Likewise. + * sysdeps/stub/poll.c: Likewise. + * sysdeps/stub/raise.c: Likewise. + * sysdeps/stub/readv.c: Likewise. + * sysdeps/stub/setenv.c: Likewise. + * sysdeps/stub/setlogin.c: Likewise. + * sysdeps/stub/sigaltstack.c: Likewise. + * sysdeps/stub/sigintr.c: Likewise. + * sysdeps/stub/sigstack.c: Likewise. + * sysdeps/stub/sleep.c: Likewise. + * sysdeps/stub/sstk.c: Likewise. + * sysdeps/stub/stime.c: Likewise. + * sysdeps/stub/stty.c: Likewise. + * sysdeps/stub/syscall.c: Likewise. + * sysdeps/stub/sysconf.c: Likewise. + * sysdeps/stub/truncate.c: Likewise. + * sysdeps/stub/ualarm.c: Likewise. + * sysdeps/stub/usleep.c: Likewise. + * sysdeps/stub/utimes.c: Likewise. + * sysdeps/stub/writev.c: Likewise. + + * sysdeps/stub/libc_fatal.c: Remove __NORETURN keyword. + +Wed Apr 26 16:06:42 1995 Roland McGrath + + * locale/loadlocale.c (_nl_free_locale): Do nothing if DATA is null. + +Tue Apr 25 17:17:19 1995 Roland McGrath + + * posix/glob.c (glob): If GLOB_MARK set, stat names to find + directories and append slashes to them in final pass before + sorting. + (glob_in_dir): If GLOB_MARK set, just allocate the extra char for the + slash; never append it here. + +Sat Apr 22 14:48:03 1995 Roland McGrath + + * mach/Machrules [interface-library] + (LDFLAGS-$(interface-library:lib%=%.so)): New variable, set to + -nostdlib. + + * sysdeps/mach/hurd/fork.c: Subfunction `unlockss' removed. Lock + _hurd_siglock only around initial task creation in parent. Use + _hurd_critical_section_unlock at end. Handle dead name rights + properly, and deal with a send right dying while we try to copy + it. For the time being, use assert_perror for kernel and proc RPC + failures. + +Fri Apr 21 01:10:15 1995 Roland McGrath + + * extra-lib.mk: Don't include $(o-iterator); construct it by hand + using $(object-suffixes-$(lib)) instead. + + * sysdeps/mach/hurd/Makefile (LDLIBS-c.so): New variable. + + * Makerules (lib%.so: lib%_pic.a): Pass $(LDFLAGS-$(notdir $*).so). + (LDFLAGS-c.so): New variable. + + * resolv/res_init.c (res_init): Don't clobber _res.options with + RES_DEFAULT. If RES_INIT is clear, OR in RES_DEFAULT. + + * hurd/hurd.h: Declare _hurd_startup. + * hurd/hurdstartup.c: New file. + * hurd/Makefile (routines): Add hurdstartup. + +Thu Apr 20 22:23:58 1995 Roland McGrath + + * hurd/hurdsig.c: Use assert_perror for many calls which should + never fail and previously were not checked. + + * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): + Point the return address for sigreturn's frame at a "hlt" insn so + it will definitely crash if sigreturn returns. + +Wed Apr 19 18:40:11 1995 Brendan Kehoe (brendan@zen.org) + + * time/tzset.c (__tzname, __daylight, __timezone): Don't check + HAVE_WEAK_SYMBOLS for doing weak_alias. + +Wed Apr 19 18:12:56 1995 Roland McGrath + + * configure.in: Move $os tests to set $elf et al earlier, before + construction of $sysnames. Instead of prepending MACHINE/elf to + $sysnames, append &/elf after each elt appended to $mach. + +Tue Apr 18 14:00:19 1995 Roland McGrath + + * configure.in (libc_cv_asm_global_directive): New check to define + ASM_GLOBAL_DIRECTIVE. + * config.h.in: Add #undef ASM_GLOBAL_DIRECTIVE. + * libc-symbols.h (strong_alias_asm, strong_alias): Use + ASM_GLOBAL_DIRECTIVE on the alias. + + * sysdeps/unix/make_errlist.c (main): Don't generate "#ifdef + HAVE_WEAK_SYMBOLS" #defns. + +Mon Apr 17 12:02:49 1995 Brendan Kehoe (brendan@zen.org) + + * sysdeps/alpha/strlen.c (strlen): Fix cmpbge insn, and returning + of the byte that was zero, so we return a valid number. + +Sun Apr 16 03:23:09 1995 Brendan Kehoe (brendan@zen.org) + + * sysdeps/unix/bsd/ultrix4/mips/sysdep.h: New file defining + NO_UNDERSCORES then using sysdeps/unix/mips/sysdep.h. + +Fri Apr 14 18:49:03 1995 Brendan Kehoe (brendan@zen.org) + + * sysdeps/ieee754/mpn2dbl.c (__mpn_construct_double) + [BITS_PER_MP_LIMB == 64]: Refer to `u', not to non-existent `i'. + * sysdeps/ieee754/mpn2ldbl.c (__mpn_construct_long_double) + [BITS_PER_MP_LIMB == 64]: Likewise. + + * sysdeps/unix/bsd/osf/alpha/killpg.S (killpg): Add .end directive. + * sysdeps/unix/bsd/osf/alpha/sigblock.S (__sigblock): Likewise. + * sysdeps/unix/bsd/osf/alpha/sigsetmask.S (__sigsetmask): Likewise. + * sysdeps/unix/bsd/osf/alpha/sigpause.S (__sigpause): Likewise. + * sysdeps/unix/bsd/osf/alpha/sigvec.S (__sigvec): Likewise. + * sysdeps/unix/bsd/osf/alpha/getdents.S (__getdirentries): Likewise. + * sysdeps/unix/bsd/osf/alpha/fork.S (__fork): Likewise. + * sysdeps/unix/bsd/osf/alpha/pipe.S (__pipe): Likewise. + * sysdeps/unix/bsd/osf/alpha/recv.S (recv): Likewise. + * sysdeps/unix/bsd/osf/alpha/send.S (send): Likewise. + * sysdeps/unix/bsd/osf/alpha/vhangup.S (vhangup): Likewise. + + * sysdeps/unix/mips/brk.S (__brk, __curbrk): Add .end directive. + * sysdeps/unix/mips/fork.S (fork): Likewise. + * sysdeps/unix/mips/pipe.S (fork): Likewise. + * sysdeps/unix/mips/sigreturn.S (__sigreturn): Likewise. + * sysdeps/unix/mips/sysdep.S (sysdep_error): Likewise. + * sysdeps/unix/mips/wait.S (__handler): Likewise. + * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise. + * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise. + * sysdeps/unix/bsd/ultrix4/getsysinfo.S (getsysinfo): Likewise. + * sysdeps/unix/bsd/ultrix4/wait3.S (waitpid): Likewise. + * sysdeps/unix/bsd/ultrix4/waitpid.S (waitpid): Likewise. + * sysdeps/unix/bsd/ultrix4/mips/__handler.S (__handler): Likewise. + * sysdeps/unix/bsd/ultrix4/mips/sigvec.S (__raw_sigvec): Likewise. + * sysdeps/unix/bsd/ultrix4/mips/start.S (__start): Likewise. + * sysdeps/unix/bsd/ultrix4/mips/vfork.S (vfork): Likewise. + * sysdeps/mips/bsd-_setjmp.S (setjmp): Likewise. Use `$0' + instead of `zero' for the li instruction. + + * sysdeps/unix/bsd/osf/alpha/start.S: Change comments to be + preprocessor comments, not assembler comments. + * sysdeps/unix/bsd/osf/alpha/brk.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/sysdep.h (NO_UNDERSCORES): Define. + +Fri Apr 14 15:53:46 1995 Roland McGrath + + * malloc/malloc.c (register_heapinfo) [__GNUC__]: Use __inline__ + in place of inline. + +Thu Apr 13 09:45:01 1995 Roland McGrath + + * Makefile (distribute): Add ChangeLog.[0-9]. + + * configure.in: Add check for .set directive. + * config.h.in: Add #undef HAVE_ASM_SET_DIRECTIVE. + * libc-symbols.h [! HAVE_ASM_SET_DIRECTIVE] (strong_alias, + strong_alias_asm): Use `foo = bar' syntax instead. + + * Makerules [! subdir] (O%-lib): Don't prepend ../. + + * sysdeps/generic/expm1.c: #undef expm1 before weak_alias. + + * configure.in: Fix AC_ARG_WITH uses; check for --with-fp. Move + $host_os checks to set gnu_ld/as and elf before sysdirs + generation. Fix $with_fp test. + [$elf=yes]: Prepend MACHINE/elf directory. + + * elf/libelf.h (elf_hash): Use XOR instead of ANDN when the bits + being cleared are already known to be set. Thanks Ulrich. + +Wed Apr 12 23:27:22 1995 Roland McGrath + + * posix/environ.c: Add weak alias `_environ'. + +Tue Apr 11 20:38:55 1995 Roland McGrath + + * sysdeps/i386/add_n.S [PIC]: Use self-call to avoid generating reloc. + * sysdeps/i386/sub_n.S [PIC]: Likewise. + +Mon Apr 10 14:53:15 1995 Roland McGrath + + * libc-symbols.h (_elf_set_element) [PIC]: Don't make the element + word `const'. + + * Makeconfig (CPPFLAGS, CFLAGS): Fix swapped references to + $(foo-$(suffix $@)). + + * manual/Makefile (chapters-incl): Filter out summary.texi. + + * stdlib/strtod.c (STRTOF): Use extra macro to make STRTOF's #defn + a weak symbol instead of literal "STRTOF". + + * locale/setlocale.c: Work around ld bug: don't weakify refs to + _nl_{current,C}_*. + +Sun Apr 9 01:24:33 1995 Roland McGrath + + * Makerules (+depfiles): Translate %.so to %.o in $(extra-objs). + + * malloc/free.c [emacs] (__malloc_safe_bcopy): Define to safe_bcopy. + * malloc/realloc.c (__malloc_safe_bcopy): Undefine before defining. + + * malloc/free.c (memmove, __malloc_safe_bcopy): Do include these + #ifdef emacs, but only #ifndef memmove. + * malloc/realloc.c [emacs] (__malloc_safe_bcopy): Just #define to + safe_bcopy. + (memmove): Define only if undefined. + +Sat Apr 8 00:40:59 1995 Roland McGrath + + * extra-lib.mk (install-lib, extra-objs, alltypes-$(lib)): Make + sure these are simply-expanded variables. + + * locale/loadlocale.c (_nl_load_locale): Use MAP_INHERIT flag in + mmap call. + + * configure.in (os=freebsd*|bsdi*): Set base_os=unix/bsd/bsd4.4 + for these too. + + * sysdeps/unix/sysv/tcsetattr.c: Use |= instead of = to properly + set c_oflag value. + + * Makeconfig [! objpfx] (csu-objpfx): Add trailing slash. + + * locale/Makefile (categories): Uncomment collate. + * locale/lc-collate.c: New file. + + * malloc/free.c (__malloc_safe_bcopy, memmove): Don't define + #ifdef emacs. + * malloc/realloc.c: Likewise. + + * stdio/_itoa.h (_EXTERN_INLINE): Define if undefined. + (_itoa): Use it in defn. + * stdio/_itoa.c (_EXTERN_INLINE): Define to empty before #include + "_itoa.h". + (_itoa): Function removed. + + * malloc/free.c: Remove use of `assert'. + + * malloc/realloc.c [! emacs] (safe_bcopy): Renamed to + __malloc_safe_bcopy; #define safe_bcopy. + * malloc/free.c: Cope with systems lacking `memmove'. + (_free_internal): Cast result of _malloc_internal. + +Wed Apr 5 00:13:45 1995 Roland McGrath + + * hurd/hurdinline.c: Include signal.h first, so we don't define + its inlines too. + + * sysdeps/unix/sysv/sysv4/sigset.h (__sigfillset): Use ~0L instead + of -1 to avoid compiler warning. + + * configure.in (host_os=linux*): Set elf=yes for this, not just + linux*elf*. + + * misc/login_tty.c [! TIOCSCTTY]: Try an emulation using ttyname + and open. + + * sysdeps/i386/bsd-_setjmp.S: Fix typo in name: setjmp -> _setjmp. + +Tue Apr 4 00:48:53 1995 Roland McGrath + + * sysdeps/unix/start.c: Remove spurious decl and #endif. + + * misc/progname.c (program_invocation_name, + program_invocation_short_name): Make these initialized data + definitions. + + * sysdeps/mach/hurd/setitimer.c (fork_itimer): Add self reference + so gcc doesn't optimize out the function entirely. + +Sun Apr 2 13:13:52 1995 Roland McGrath + + * posix/execvp.c: Don't use stat to search path; just try execv + until it works. + + * sysdeps/mach/hurd/i386/trampoline.c: Add a link to + SS->active_resources, so that _hurdsig_longjmp_from_handler will + be called when a longjmp unwinds the signal frame. + * sysdeps/mach/hurd/i386/sigreturn.c: Remove the link on the + SS->active_resources chain added by _hurd_setup_sighandler. + * hurd/sigunwind.c: New file. + * hurd/Makefile (sig): Add sigunwind. + + * Makerules (lib%.so: lib%_pic.a): Remove dir name from $*. + + * MakeTAGS (tags-sources): Include $(all-dist). + [subdir] (all-dist): Define to $(distribute). + +Sat Apr 1 00:08:06 1995 Roland McGrath + + * Makerules (lib%.so: lib%_pic.a): Pass -L options for subdir and + parent objdirs. + + * extra-lib.mk (object-suffixes-$(lib)): New variable, produced by + filtering out $($(lib)-inhibit-o); use that instead of + $(object-suffixes) in all the other variables. + + * locale/loadlocale.c (_nl_load_locale) [MAP_FILE]: Define it zero + if undefined. + + * string/strxfrm.c: Just copy the string (for now). + * string/strcoll.c: Just call strcmp (for now). + + * mach/Makefile (lock): Add mutex-init. + * mach/mutex-solid.c (_cthread_mutex_lock_routine, + _cthread_mutex_unlock_routine): Variables removed. + (__mutex_lock_solid, __mutex_unlock_solid): Don't use them; just stub. + (__mutex_init): Function moved to new file mutex-init.c. + * mach/mutex-init.c: New file, broken out of mutex-solid.c. + +Thu Mar 30 20:43:02 1995 Brendan Kehoe + + * sysdeps/mips/__longjmp.c (__longjmp): Take out CONST. + * sysdeps/alpha/__longjmp.c (__longjmp): Take out const. + +Thu Mar 30 01:38:00 1995 Roland McGrath + + * elf/elf.h (STN_UNDEF): New macro (distinct from SHN_UNDEF, though + both are zero). + +Wed Mar 29 11:26:48 1995 Roland McGrath + + * elf/dlfcn.h: New file. + + * Make-dist (README): Commit it to CVS if there is a CVS directory. + + More changes from Germano Caronni : + * malloc/free.c: Relocate _heapinfo when that allows us to return + core to the system. + + * malloc/malloc.c: Move #include outside #ifndef + _MALLOC_INTERNAL. + +Mon Mar 27 02:23:15 1995 Roland McGrath + + * mach/Makefile (headers): Add mach/mach_traps.h. + + * Makerules ($(installed-libcs) rule): Fix typos. + + * sysdeps/unix/bsd/bsd4.4/revoke.S: New file. + * sysdeps/stub/revoke.c: New file. + * misc/Makefile (routines): Add revoke. + * posix/unistd.h [__USE_BSD] (revoke): Declare it. + * sysdeps/generic/pty.c (openpty, forkpty): Declare return types. + (forkpty): Declare login_tty. + * misc/logwtmp.c (logwtmp): Declare to return void. + * misc/login_tty.c (login_tty): Include unistd.h. Declare return type. + + * posix/unistd.h [__USE_BSD] (ttyslot): Declare it. + + * posix/unistd.h [__USE_BSD] (L_SET, L_INCR, L_XTND): Define + unless L_SET already defined. + * misc/sys/file.h (L_SET, L_INCR, L_XTND): Don't define if L_SET + already defined. + + Incorporated -lutil library from 4.4-Lite. + * misc/Makefile (extra-libs, libutil-routines): New variables. + * misc/login.c, misc/login_tty.c, misc/logout.c, misc/logwtmp.c, + sysdeps/generic/pty.c: New files for -lutil incorporated from 4.4-Lite. + + Support simple, light-weight unwind-protect mechanism for longjmp. + * setjmp/longjmp.c: Call _longjmp_unwind first thing. + * sysdeps/mach/hurd/jmp-unwind.c: New file. + * sysdeps/stub/jmp-unwind.c: New file. + * sysdeps/i386/jmp_buf.h (_JMPBUF_UNWINDS): New macro. + * sysdeps/mips/jmp_buf.h (_JMPBUF_UNWINDS): New macro. + * setjmp/Makefile (routines): Add jmp-unwind. + * hurd/hurd/userlink.h (struct hurd_userlink): Move `next' and + `prevp' members into new substructure `resource'; add another such + substructure `thread' and members `cleanup' (function ptr) and + `cleanup_data' (generic ptr). + (_hurd_userlink_link, _hurd_userlink_unlink): Insert/remove LINK + into the `_hurd_self_sigstate ()->active_resources' list via the + `thread' substructure. + * hurd/hurd/port.h (_hurd_port_cleanup): Declare it. + (_hurd_port_locked_get): Set LINK->cleanup to _hurd_port_cleanup and + LINK->cleanup_data' to the port extracted. + * hurd/hurd/signal.h (struct hurd_sigstate): New member + `active_resources'. + * hurd/port-cleanup.c: New file. + * hurd/Makefile (routines): Add port-cleanup. + + * malloc/malloc.c: Include errno.h. + +Sat Mar 25 18:24:21 1995 Roland McGrath + + * locale/loadlocale.c (_nl_load_locale): Avoid */ inside comment. + +Fri Mar 24 02:35:37 1995 Roland McGrath + + * misc/Makefile (headers): Add utmp.h. + * misc/utmp.h: New file, incorporated from 4.4-Lite. + + * stdio/printf-parse.h: New file, mostly written by drepper. + * stdio/vfprintf.c: Rewritten, mostly by drepper. + * stdio/printf-prs.c: Rewritten. + * stdio/Makefile (distribute): Add printf-parse.h. + +Thu Mar 23 22:03:44 1995 Roland McGrath + + * sysdeps/unix/start.c [! NO_UNDERSCORES]: Don't declare _start + with asm name. Just do a ".set start, __start". + + * malloc/realloc.c: Call _free_internal instead of free. + +Tue Mar 21 00:14:27 1995 Roland McGrath + + * locale/loadlocale.c (_nl_load_locale): If LOCALE/LC_* is a + directory, open LOCALE/LC_*/SYS_LC_* instead. + +Mon Mar 20 03:19:23 1995 Roland McGrath + + * stdio/fpioconst.c, stdio/fpioconst.h, stdio/gmp-impl.h, + stdio/gmp.h, stdio/longlong.h, stdio/mp_clz_tab.c, + stdio/gen-mpn-copy: Files moved to stdlib. + * stdio/Makefile: All mpn stuff moved to stdlib/Makefile. + * stdlib/Makefile: All the mpn stuff moved here from stdio/Makefile. + * stdio/printf_fp.c: Use ../stdlib to find fpioconst.h and gmp + headers. + * stdlib/strtod.c: Don't use ../stdio to find fpioconst.h and gmp + headers. + + * Makefile (parent-mostlyclean): Don't use $(libc.a). + (parent-clean): Use $(objpfx) to find sysd-*. + * Rules (generated): Append dummy.o dummy.c. + * Makerules (lib): Depend on lib-noranlib. + (lib-noranlib): Depend on $(install-lib) in objdir. + (common-mostlyclean): Remove $(install-lib) and stub-$(subdir) + from objdir. Don't remove TAGS; it comes in the distribution. + + * malloc/malloc.c (morecore): Save errno around call to + _realloc_internal. Don't account for the additional new blocks of + the info table itself when choosing the new table size for the + first crack; if it succeeds, the new blocks will have been found + in existing free space already described by the existing info + table. + + * stdio/vfscanf.c (%n): Use READ_IN - 1, so as not to count the + read-ahead character. + +Sat Mar 18 14:07:08 1995 Roland McGrath + + * hurd/dtable.c, hurd/getdport.c, hurd/hurd.h, hurd/hurdexec.c, + hurd/hurdinit.c, hurd/hurdprio.c, hurd/hurdsock.c, + hurd/ports-get.c, hurd/ports-set.c, hurd/setauth.c, + hurd/setuids.c, sysdeps/mach/hurd/i386/trampoline.c: + Get anal with unsigned to pacify compiler. + + * stdio/vfscanf.c: Grok positional parameter specs (i.e. %3$d + means %d from 3rd arg). + + * sysdeps/mach/hurd/closedir.c: Include hurd/fd.h. + + * stdlib/strtol.c: If !GROUP, set END to null. In loop, test only + END, not GROUP. + +Fri Mar 17 12:58:37 1995 Roland McGrath + + * Makefile (subdirs): Put elf last. + + * sunrpc/Makefile (install-lib): Variable removed. + (rpcsvc-objs): Variable removed. + (extra-objs): Don't include $(rpcsvc-objs). + (extra-libs): New variable, contains librpcsvc. + (librpcsvc-routines): New variable. + (librpcsvc-inhibit-o): New variable, contains .so. + (omit-deps): Set this to $(librpcsvc-routines). + ($(objpfx)rpcgen): Don't use $(libc.a). + (lib, $(objpfx)librpcsvc.a): Targets removed. + + * o-iterator.mk, extra-lib.mk: New files. + * Makerules (o-iterator): New variable. + [extra-libs]: Include extra-lib.mk to generate rules for each word + of $(extra-libs). + * Makefile (distribute): Add extra-lib.mk, o-iterator.mk. + +Fri Mar 17 13:28:04 1995 Ulrich Drepper + + * sysdeps/ieee754/ldbl2mpn.c (__mpn_extract_long_double): + Handle 80-bit denormalized numbers correctly. + + * stdlib/strtod.c, stdlib/strtof.c, stdlib/strtold.c: + (IMPLICIT_ONE, *_MAX_10_EXP_LOG): Macros removed; no longer needed. + * stdlib/strtod.c (RETURN): Add parentheses around return value. + (round_and_return): Correct handling of denormalized numbers. + + * stdio/fpioconst.c, stdio/fpioconst.h: Don't use + LDBL_MAX_10_EXP_LOG; LAST_POW10 defines the maximal available + exponent. + +Thu Mar 16 00:04:41 1995 Roland McGrath + + * locale/C-ctype.c: New correct data generated by drepper. + + * Rules: Don't use $(libc.a). + + Parsing of grouped numbers contributed by Ulrich Drepper. + * stdlib/strtol.c (__strtol_internal): Renamed from strtol. Take + new flag arg; if nonzero, parse locale-dependent thousands + grouping and interpret only the prefix that is correctly grouped. + (strtol): Define this to call _strtol_internal with zero for the flag. + Use a weak symbol for the definition. + * stdlib/strtod.c (strtod, __strtod_internal): Likewise. + Check for the exponent of the number overflowing the float format. + * stdlib/stdlib.h (__strtof, __strtold): Declarations removed. + (__strto{f,d,ld,l,ul,q,uq}_internal): Declare these functions. + [__OPTIMIZE__]: Define inline functions calling those. + * stdlib/strtold.c (STRTOF): Set to strtold, not __strtold. + (strtold): Remove weak alias. + * stdlib/strtof.c (STRTOF): Set to strtof, not __strtof. + (strtof): Remove weak alias. + * stdlib/grouping.h: New file, written by drepper. + * stdlib/Makefile (distribute): Add grouping.h. + * stdio/vfscanf.c: Grok %' modifier to numeric conversions. Call + __strtoX_internal with the grouping flag set iff the modifier is + present. + +Wed Mar 15 00:40:54 1995 Roland McGrath + + * sysdeps/generic/memchr.c: Fix typos: limit.h -> limits.h. + + * mach/Machrules: Produce static deps for all object flavors. + [interface-library]: Remove all these variables and rules. + ($(interface-library)-routines): Define this variable. + (extra-libs): Append $(interface-library) to this. + * mach/Makefile (interface-library): Omit .a suffix. + * hurd/Makefile: Likewise. + +Tue Mar 14 23:40:31 1995 Roland McGrath + + * stdio/internals.c (flushbuf): If !FLUSH_ONLY, don't skip out + early if no new data in buffer after priming. + +Mon Mar 13 01:48:16 1995 Roland McGrath + + * Makerules (object-suffixes, libtypes): Move all these variables + to Makeconfig. + * Makeconfig (object-suffixes, libtypes): Moved here from Makerules. + + * Makerules (build-extra-lib): New canned sequence. + + * sysdeps/mach/hurd/euidaccess.c: Include fcntl.h. Declare ERR; + fix uses of FILE and PORT. Remove bogus weak alias for `access'. + + * sysdeps/mach/hurd/dirfd.c: Include hurd/fd.h and errno.h. + Add missing semicolon. + * sysdeps/mach/hurd/opendir.c: Include hurd/fd.h. Use a `struct + hurd_fd *' temp var, since DIRP->__fd is a `void *'. + * sysdeps/mach/hurd/readdir.c: Include hurd/fd.h. + + * stdlib/wcstombs.c: #if 0 out code for non-ASCII chars until the + locale data format is implemented. + + * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): + Pass &__sigreturn on the stack to the trampoline code, so it is + not position-dependent. + + * stdio/printf_fp.c (NDEBUG): Define this to disable assert. + Don't include . + (__printf_fp): Last arg ARGS is now `const void **const'; + dereference ARGS[0] instead of using va_arg. + + * locale/setlocale.c: In LC_ALL case, initialize CATEGORY before + loop to install data. + + * locale/loadlocale.c (_nl_category_num_items): Use _NL_ITEM_INDEX + to extract number from item code. + (_nl_load_locale): Close the descriptor when finished. + + * malloc/realloc.c (_realloc_internal): Call _malloc_internal in + place of malloc. + + * time/tzfile.c (__tzfile_default): Initialize RULE_STDOFF to zero. + + * stdio/printf_fp.c (group_number): Cast *GROUPING to unsigned int + to avoid warning. + * sysdeps/generic/sigset.h (__SIGSETFN): Cast result of sizeof to + int to avoid warning. + + Support building several flavors of objects and libraries. + * Makerules (libtypes, object-suffixes): New variables. + (libtype.*, CFLAGS-*, CPPFLAGS-*): New variables for each object + suffix. + (CFLAGS, CPPFLAGS): Append $(C{,CPP}FLAGS-$(suffix $@)). + (%.so, %.po, %.go): New compilation rules for %.S, %.s, %.c. + (close-check-inhibit-asm): Append a semicolon. + (sysd-rules): Generate rules for each object suffix. + (compile.S, compile.c): Always assume gcc. + (OUTPUT_OPTION): Define unconditionally. + (+make-deps): In generated rule, produce a dependent for each + object suffix. + (.SUFFIXES): Add $(object-suffixes) in place of .o. + (.PRECIOUS): Make all suffix flavors precious. + ($(libc.a)): Target removed. + (lib): Depend on each enabled libtype. + (libobjs, objects, objs): Depend on all the enabled object flavors. + (lib%.a): New pattern rule. + [$(build-shared)=yes] (lib%.so: lib%_pic.a): New pattern rule. + (stamp-$(subdir)): Rewritten to a pattern rule for stamp.%-$(subdir) + to make one for each flavor; library dep rule likewise rewritten. + ($(libc.a)(__.SYMDEF)): Target replaced with one target for each + flavor. + (symdef.%): New pattern rule; helper for __.SYMDEF targets. + (installed-libcs): New variable. + (install): Depend on that instead of + $(libdir)/lib$(libprefix)$(libc-name).a; + that file's rule rewritten to make each enabled libtype. + (install-lib.so): New variable, filters lib%.so from $(install-lib). + (install-lib): Filter out lib%.so after setting install-lib.so. + [$(build-shared)=yes] (install): Install $(install-lib.so). + (common-mostlyclean): Remove all flavors of objects. + * Makefile ($(libc.a)(__.SYMDEF)): Target removed. + [$(build-shared)=yes] (lib): Depend on $(common-objpfx)libc.so. + +Sun Mar 12 18:21:10 1995 Roland McGrath + + * sysdeps/stub/ulimit.c: Don't include gnu-stabs.h. + * sysdeps/stub/pause.c: Likewise. + * sysdeps/stub/time.c: Likewise. + + * stdlib/mbtowc.c: #if 0 out code for non-ASCII chars until the + locale data format is implemented. + * stdlib/wctomb.c: Likewise. + + * mach/Makefile ($(objpfx)errsystems.c): Reenable this rule; the + gcc bug is fixed. + * mach/errsystems.c: File removed. + + * Makeconfig (libc.a): Variable removed. + (+link): Don't use it. + + * configure.in (AC_ARG_ENABLE calls): Use $enableval instead of + assuming `yes'. + + * malloc/malloc.h (_malloc_internal, _realloc_internal): Declare these. + * malloc/realloc.c (_realloc_internal): Renamed from realloc; + don't use __realloc_hook. + (realloc): New function; call __realloc_hook ?: _realloc_internal. + * malloc/malloc.c (_malloc_internal): Renamed from malloc; + don't use __malloc_hook. + (malloc): New function; call __malloc_hook ?: _malloc_internal. + Changes from Germano Caronni : + (initialize): Set up _heaplimit to cover the _heapinfo table. + (morecore_recursing): New static variable. + (morecore): If that is set, return null immediately. + When growing the info table, before getting new core from the + system for it, set morecore_recursing and try moving _heapinfo + with _realloc_internal. When that fails and we get new core, set + _heaplimit to cover the core for the new _heapinfo table. + (register_heapinfo): New function. Record the _heapinfo table's + own blocks in that table and in the statistics variables. + (initialize, _malloc_internal): Use it after allocating new table. + +Fri Mar 10 22:26:28 1995 Jim Meyering (meyering@comco.com) + + * sysdeps/generic/memchr.c: Remove ansidecl.h and clean up for use + by other packages. + [LONG_MAX <= LONG_MAX_32_BITS]: Don't compile 64-bit code. + +Fri Mar 10 13:31:29 1995 Roland McGrath + + * mach/errorlib.h (errors): Use const for decl. + + * time/tzfile.c (uc2ul, _uc2ul): Macros removed. + (decode): New inline function; decode signed 32-bit integers, and + sign-extend properly when long is longer than 32 bits. + (__tzfile_read): Changed all uses of uc2ul to decode. + Decode the transition times properly when sizeof (time_t) > 4. + + * stdio/printf.h: Doc fixes. Don't #include . + (printf_function): Make last arg ARGS a vector of pointers instead of a + pointer to va_list. + +Fri Mar 10 13:46:25 1995 Ulrich Drepper + + * stdio/vfprintf.c [USE_IN_LIBIO] (PAD): Use return value of _IO_padn. + (buffered_vfprintf): Remove line buffer when flush failed. + +Fri Mar 10 00:04:55 1995 Roland McGrath + + * time/tzfile.c (struct ttinfo): New member `isgmt'. + (__tzfile_read): Read isgmt flags for each type. + (__tzfile_default): When using TZDEFRULES DST rules, adjust + transition times according to the isstd and isgmt flags for the + types of each transition, and adjust each transition to point to + type index either 0 or 1. Reset type indices 0 and 1 to describe + the user's settings. + +Thu Mar 9 22:29:03 1995 Roland McGrath + + * locale/categories.def (LC_CTYPE): Merge CLASS_EB and CLASS_EL + into just CLASS. Add standard/optional flag to all items. + + * locale/localeinfo.h (_NL_CURRENT_DEFINE): Fix typo. + + * ctype/ctype.h [__BYTE_ORDER == __LITTLE_ENDIAN] (_ISbit): + Rearrange defn to satisfy compiler. + + * locale/localeinfo.h: Declare _nl_current. + + * configure.in: Use AC_CHECK_TOOL for CC, AR, RANLIB. Accept args + --enable-shared, --enable-profile, --enable-omitfp; pass settings + through to config.make. + * config.make.in (build-shared, build-profile, build-omitfp): New + config vars. + + * elf/elf.h (STN_UNDEF): Renamed to SHN_UNDEF (typo). + (DT_NUM): New macro. + + * locale/nl_langinfo.c: Include errno.h and stddef.h. Fix typos. + + * locale/lc-ctype.c (_nl_postload_ctype): Fix macro insanity. + + * locale/loadlocale.c (_nl_load_locale) [! MAP_COPY]: Define + MAP_COPY to MAP_PRIVATE. + +Thu Mar 9 17:16:53 1995 Brendan Kehoe (brendan@zen.org) + + * sysdeps/alpha/divrem.m4: Undefine `ret' to avoid the definition + that's used inside the alpha sysdep.h. + + * sysdeps/alpha/__longjmp.c (__longjmp): Remove obsolete __NORETURN + keyword. + * sysdeps/alpha/__math.h (__copysign): Remove obsolete __CONSTVALUE. + + * configure.in: Match `osf*', not `osf1*'. + * configure: Likewise. + * sysdeps/unix/bsd/osf: Renamed from `sysdeps/unix/bsd/osf1'. + +Wed Mar 8 13:38:13 1995 Roland McGrath + + * posix/glob/configure.bat: Fixes from DJ. + + * time/backward, time/europe, time/northamerica, time/pacificnew, + time/zdump.c, time/zic.c, time/tzfile.h, time/private.h, + time/ialloc.c: Code and data updated from ADO's 95b. + * time/emkdir.c: File removed. + * time/Makefile (distribute, extra-objs, zic): Omit it. + + * time/localtime.c: Deansideclized. Never #define __tzname et al + to non-__ names. + + * locale/lc-ctype.c (__ctype_tolower, __ctype_toupper): Use int * + instead of short int *. + * ctype/ctype-info.c: Likewise. + * ctype/ctype.h: Likewise. + + * locale/langinfo.h (_NL_CTYPE_CLASS): Use this (just one) instead + of EB and EL versions. + +Mon Mar 6 12:34:56 1995 Roland McGrath + + * ctype/ctype.h (_ISbit): New macro, defined dependent on byte order. + (_IS* enum): Use _ISbit to produce values. + +Sun Mar 5 19:40:13 1995 Roland McGrath + + * locale/localeinfo.h: Rewritten for new locale system, using + locale data files and with interface. + * locale/setlocale.c: Rewritten to use locale data files. + * langinfo.h: New file. + * locale/langinfo.h: New file. + * locale/nl_langinfo.c: New file. + * locale/loadlocale.c: New file. + * locale/lc-ctype.c: New file. + * locale/lc-messages.c: New file. + * locale/lc-monetary.c: New file. + * locale/lc-numeric.c: New file. + * locale/lc-time.c: New file. + * locale/categories.def: New file. + * locale/Makefile (headers): Remove localeinfo.h. + (distribute): New variable; put localeinfo.h here, and categories.def. + (routines): Add loadlocale. + (categories): New variable. + (aux): Use that to get C-category and lc-category. + * ctype/ctype.h (_IS*): Use independent bits for all but _ISalnum. + * ctype/ctype-info.c: For initial tables, use + _nl_C_LC_CTYPE_{class,toupper,tolower} constant tables defined in + locale/C-ctype.c. + * locale/C-ctype.c, locale/C-messages.c: New files. + * locale/C-monetary.c, locale/C-numeric.c, locale/C-time.c: + Default "C" locale data updated for new locale system. + * locale/C-collate.c: File removed. + * locale/C-ctype_ct.c: File removed. + * locale/C-ctype_mb.c: File removed. + * locale/C-response.c: File removed. + * locale/localeconv.c: Use _NL_CURRENT macro to access locale data. + * stdio/printf_fp.c, stdio/vfprintf.c, stdio/vfscanf.c, + stdlib/strtod.c, time/asctime.c, time/strftime.c: + Include ../locale/localeinfo.h and use _NL_CURRENT macro to access + locale data. + * time/localtime.c: Don't include . + * time/tzset.c: Don't use locale items for default TZ value or + "GMT" string (use "UTC"). + + * stdio/vfprintf.c [USE_IN_LIBIO] (PAD): Only call the function if + WIDTH>0; update DONE. + + * malloc/malloc.c (morecore): Fix last change to calculate by + blocks instead of bytes. + +Fri Mar 3 12:24:52 1995 Roland McGrath + + * sysdeps/generic/sys/mman.h (__mmap, __munmap): Declare these. + * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise. + * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise. + * sysdeps/unix/bsd/osf1/sys/mman.h: Likewise. + * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise. + * sysdeps/stub/munmap.c (munmap): Rename to __munmap, add weak + alias munmap. + * sysdeps/unix/mman/munmap.S: Likewise. + * sysdeps/mach/munmap.c: Likewise. + * sysdeps/mach/hurd/mmap.c (mmap): Rename to __mmap, add weak + alias mmap. + * sysdeps/unix/mman/mmap.S: Likewise. + * sysdeps/unix/bsd/sun/sunos4/mmap.c: Likewise. + * sysdeps/stub/mmap.c: Likewise. + + * sysdeps/unix/bsd/setsid.c: Use __getpgid instead of __getpgrp. + + * sysdeps/unix/dirfd.c: #undef dirfd before function defn. + +Thu Mar 2 12:15:24 1995 Roland McGrath + + * misc/search.h: Add missing semicolon. + + * sysdeps/unix/dirfd.c: Fix typo. + + * sysdeps/generic/sys/mman.h (mmap): Use __off_t instead of off_t + in decl. + + * stdio/vfscanf.c (%c): In no-assign case, fix loop to decrement + WIDTH before test. + +Wed Mar 1 00:57:47 1995 Roland McGrath + + * stdlib/strtod.c: Fixes from drepper. + [IMPLICIT_ONE]: New macro, one for IEEE754 formats. + * stdlib/strtold.c [IMPLICIT_ONE]: New macro, 0. + * stdlib/strtof.c [IMPLICIT_ONE]: New macro, 1. + + * stdio/vfprintf.c: Correctly notice Z modifier. + + * misc/search.h: New file. + * misc/Makefile (headers): Add search.h. + * misc/insremque.c: Include search.h. + (struct qelem): Type removed. + +Mon Feb 27 07:00:57 1995 Roland McGrath + + * elf/libelf.h: New file. + * elf/elf_hash.c: New file. + +Sun Feb 26 15:51:00 1995 Roland McGrath + + Changes from Germano Caronni : + * malloc/malloc.c (morecore): Account in NEWSIZE for the + malloc_info structures for each new block. + +Sat Feb 25 02:17:52 1995 Roland McGrath + + * sysdeps/mach/hurd/kill.c: When the process has no message port + registered and we have its task port, translate a few signals to + task_suspend/task_resume/task_terminate. + +Fri Feb 24 14:40:48 1995 Roland McGrath + + * io/Makefile (routines): Add euidaccess. + * sysdeps/mach/hurd/euidaccess.c: New file. + * sysdeps/stub/euidaccess.c: New file. + * posix/unistd.h [__USE_GNU] (euidaccess): Declare it. + + * dirent/Makefile (routines): Add dirfd. + * sysdeps/stub/dirfd.c: New file. + * sysdeps/unix/dirfd.c: New file. + * sysdeps/unix/dirstream.h (_DIR_dirfd): New macro. + * dirent/dirent.h (dirfd): Declare new function. Define as macro + _DIR_dirfd if that is defined. + * sysdeps/mach/hurd/dirstream.h (DIR): Replace `__port' member + with `void *__fd'. + * sysdeps/mach/hurd/opendir.c: Use DIRP->__fd instead of DIRP->__port. + Open the file with `open'; set FD_CLOEXEC on the fd. + * sysdeps/mach/hurd/closedir.c: Likewise. + * sysdeps/mach/hurd/readdir.c: Likewise. + * sysdeps/mach/hurd/dirfd.c: New file. + + * posix/Makefile (glob/configure): Do cvs commit if there is a CVS + directory. + (glob/ChangeLog): Likewise. + + * locale/locale.h (LC_*): Use small integers instead of bit masks. + + * stdio/bug4.c: Put temporary files in /tmp. + * stdio/bug3.c: Likewise. + * stdio/bug5.c: Likewise. + * stdio/test-fseek.c: Likewise. + * stdio/test-popen.c: Likewise. + +Wed Feb 22 00:44:41 1995 Roland McGrath + + * posix/glob/configure.in: Put AC_ISC_POSIX before AC_CONST. + + * libc-symbols.h (weak_symbol): New macro. + + * hurd/hurdsig.c (_hurd_internal_post_signal): Ignore preempter + elts with null handlers. + + * sysdeps/mach/hurd/i386/sigreturn.c: Restore the FPU state. + +Tue Feb 21 21:53:30 1995 Roland McGrath + + * stdlib/random.c (__srandom): Change algorithm used to populate + the state array. + (randtbl): Recomputed with new algorithm. + + * sysdeps/sparc/Makefile [subdir=crypt] (crypt): Reset only if set + to original value of `crypt'. + * sysdeps/unix/sysv/sysv4/solaris2/sparc/Makefile [subdir=crypt] + (crypt): New variable, set to crypt.solar. + +Tue Feb 21 11:50:37 1995 Brendan Kehoe (brendan@zen.org) + + * sysdeps/sparc/Makefile (routines): Reference `dotmul', not `mul'. + + * config.h.in: Put comment around ^L to pacify Solaris as here too. + +Tue Feb 21 00:10:50 1995 Roland McGrath + + * string/Makefile (distribute): Add pagecopy.h. + * sysdeps/mach/pagecopy.h: New file. + * sysdeps/generic/pagecopy.h: New file. + * sysdeps/generic/memcpy.c: Include pagecopy.h; call + PAGE_COPY_FWD_MAYBE first when word aligned. + * sysdeps/generic/memmove.c: Likewise. + + * misc/bsd-compat.c (longjmp, setjmp): Functions removed. + (getpgrp): Call __getpgid instead of __getpgrp. + + * Makefile (subdirs): Add elf first. + * elf/Makefile: New file. + * elf/elf.h: New file. + + * sysdeps/unix/start.c (errno): Only define if it's not #define'd + as a macro. + [! NO_UNDERSCORES]: Define `start' as a weak alias, not a symbol + indirection. + + * csu/Makefile (crtstuff): New variable consolidates crti, crtn; + add crti_s, crtn_s. + (install-lib, extra-objs, generated-, omit-deps): Use that. + (initfini): New canned sequence, broken out of crt[in].s rule. + (crt[in].s rule): Use it. + (crt[in]_s.s): New rule. + * csu/initfini.c (GLOBAL): New macro; define it to empty if undefined. + (_init, _fini): Use GLOBAL as storage class. + Add self reference to avoid GCC optimizing out the functions. + + * Makefile (headers): Remove $(stddef.h). + * Makeconfig (stddef.h): Variable removed; now require gcc version + >= 2.2. + * stddef.h: File removed. + +Mon Feb 20 19:42:31 1995 Roland McGrath + + * sysdeps/unix/bsd/ultrix4/mips/start.S: Remove `__environ' + definition. + * sysdeps/unix/bsd/osf1/alpha/start.S: Likewise. + + * stdlib/strtod.c: Allow the string to start with a decimal point + without a leading zero. + +Mon Feb 20 04:04:57 1995 Roland McGrath + + * Makefile (subdirs): Put csu first. + + * sysdeps/mach/hurd/start.c: Include unistd.h for __environ decl. + + * Makeconfig [elf=yes] (+preinit, +postinit): New variables, set + to crt[in].o. + (csu-objpfx): New variable. + (+link): Use it to find start.o and $(+preinit), $(+postinit). + + * Rules (subdir_lib, all): Depend on objs. + + * config.h.in [HAVE_ELF || HAVE_GNU_LD]: Define HAVE_WEAK_SYMBOLS. + + * stdlib/strtod.c (PASTE, PASTE1): New helper macros; use these in + access to float.h macros. + + * misc/efgcvt.c: New file. + * misc/Makefile (routines): Add efgcvt. + +Sun Feb 19 20:10:43 1995 Brendan Kehoe + + * sysdeps/sparc/mul.S: Renamed to `dotmul.S'. + * sysdeps/sparc/Makefile (routines): Reference `dotmul.S', not `mul.S', + to avoid a misreference that would override sysdeps/generic/mul.c. + * sysdeps/sparc/Dist: Likewise. + +Sun Feb 19 17:46:13 1995 Roland McGrath + + * posix/Makefile (aux): Add environ. + * posix/environ.c: New file. + * sysdeps/unix/sparc/start.c: Remove __environ definition. + * sysdeps/unix/start.c: Likewise. + * sysdeps/unix/sysv/irix4/start.c: Likewise. + * sysdeps/mach/hurd/start.c: Likewise. + * sysdeps/mach/start.c: Likewise. + * sysdeps/stub/start.c: Likewise. + + * sysdeps/unix/make_errlist.c: In produced program, test + HAVE_WEAK_SYMBOLS instead of HAVE_GNU_LD. + * sysdeps/unix/sysv/sysv4/dup2.c: Fix #include of renamed file. + Remove extra weak alias. + + * sysdeps/unix/sysv/sysv4/sigaltstack.S: Fix unsquashed file name + in #include. + + * libc-symbols.h: Put comment around ^L to pacify Solaris as. + + * sysdeps/posix/Makefile (cded-objdir-includes): New variable + replaced cded-objdir-CPPFLAGS; transform $(+includes) instead of + $(CPPFLAGS). + (mk-stdiolim): Use it instead. + +Fri Feb 17 12:16:27 1995 Roland McGrath + + * mach/mach_init.c (__vm_page_size): Make it initialized. It does + not work to make a weak alias to a bss symbol. + + * stdio/Makefile (distribute): Remove mpn-copy.mk; add gen-mpn-copy. + (tests): Add test-fwrite. + * stdio/test-fwrite.c: New file. + + * stdlib/stdlib.h [__USE_GNU]: Declare strtof, strtold, __strtof, + __strtold. + + * Makefile (autoconf-it): New canned sequence. Do cvs commit if + there is a CVS directory. + (configure, %/configure): Use $(autoconf-it) for cmds. + * Make-dist: Likewise. + * sysdeps/mach/hurd/Makefile (errlist.c, errnos.h): Do cvs commit + if there is a CVS directory. + * sysdeps/sparc/Makefile (divrem output): Likewise. + * sysdeps/alpha/Makefile (divrem output): Likewise. + * Makerules ($(gpl2lgpl)): Likewise. + + * Makerules (rule to install lib%.a from $(install-lib)): Fix + patsubst to elide ranlib for $(non-lib.a). + + * stdio/tst-printf.c: Enable FP tests. Add some new tests from rfg. + +Thu Feb 16 04:06:06 1995 Roland McGrath + + * sysdeps/mach/hurd/mig-reply.c: Add weak aliases to non-__ names. + * mach/mig-dealloc.c: Add weak alias mig_deallocate. + +Wed Feb 15 13:34:01 1995 Roland McGrath + + * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Take new arg + DEALLOC_REFPORT; deallocate the refport after use only if it + evaluates to nonzero. + * sysdeps/mach/hurd/kill.c: Pass DEALLOC_REFPORT arg of one. + * hurd/hurdkill.c: Pass DEALLOC_REFPORT arg of zero. + + * hurd/hurdsig.c (abort_rpcs): Take new arg int *STATE_CHANGE; set + *STATE_CHANGE to indicate whether or not we changed *STATE and it + should be committed to the thread. + (abort_all_rpcs): Take new arg LIVE; if nonzero and abort_rpcs changes + state for a thread, do thread_set_state on that thread. Don't use + SS->intr_port for collecting reply ports, it is not safe to + clobber that when suspending; instead, alloca a temporary array. + (_hurd_internal_post_signal): Pass LIVE flag to abort_all_rpcs: + zero when dying, one when suspending. Pass new arg to abort_rpcs. + + * sysdeps/mach/hurd/stdio_init.c: Don't lock the file descriptor; + HURD_FD_PORT_USE will. Don't use critical sections around + HURD_FD_PORT_USE invocations. + + * sysdeps/mach/hurd/stdio_init.c: Don't make pipes/FIFOs unbuffered. + * sysdeps/posix/stdio_init.c: Likewise. + +Tue Feb 14 03:01:12 1995 Roland McGrath + + * hurd/hurd/fd.h (_hurd_fd_get): Don't do critical section + locking; don't leave the descriptor locked on return. + (HURD_FD_PORT_USE): Don't expect _hurd_fd_get to return the fd locked. + Use a critical section around locking the descriptor. + Check for an empty descriptor and return EBADF. + * sysdeps/mach/hurd/dup2.c: Likewise. + * sysdeps/mach/hurd/fcntl.c: Likewise. + Use HURD_FD_PORT_USE macro for RPCs. + * sysdeps/mach/hurd/sysd-stdio.c: Don't lock the descriptor before + using HURD_FD_PORT_USE. + * sysdeps/mach/hurd/defs.c (init_stdio): Don't expect _hurd_fd_get + to lock the descriptor. + * sysdeps/mach/hurd/stdio_init.c: Use critical sections while + locking the descriptor. + * sysdeps/mach/hurd/fdopen.c: Likewise. + * hurd/fd-close.c: Likewise. + Don't expect the descriptor to be locked on entry. + Check for empty descriptor and return EBADF. + + Factor ctty RPC code for SIGTTIN/SIGTTOU generation out into + new functions _hurd_ctty_input and _hurd_ctty_output, each + called with (io_t port, io_t ctty, error_t (*rpc) (io_t)). + * hurd/ctty-input.c: New file. + * hurd/ctty-output.c: New file. + * hurd/Makefile (dtable): Add ctty-input and ctty-output. + * hurd/fd-read.c: Use _hurd_ctty_input. + * hurd/fd-write.c: Use _hurd_ctty_output. + * sysdeps/mach/hurd/ioctl.c: Likewise. + * hurd/hurd/fd.h (_hurd_ctty_input, _hurd_ctty_output): Declare them. + +Mon Feb 13 11:36:12 1995 Roland McGrath + + * stdio/vfscanf.c (%e, %f, %g): Use strtod, __strtold, or __strtof + as appropriate to the type. + + * sysdeps/ieee754/huge_val.h (__huge_val_t): New macro to avoid + repeating the union. + (HUGE_VAL, __huge_val): Use it. + [__USE_GNU] (HUGE_VALf, HUGE_VALl): New macros, along with + analogous macros to HUGE_VAL's: __huge_val[fl]_t, __HUGE_VAL[fl]_bytes. + * stdlib/strtold.c (FLOAT_HUGE_VAL): Define this to HUGE_VALl. + (STRTOF): Set to __strtold; define strtold as weak alias. + * stdlib/strtof.c (FLOAT_HUGE_VAL): Define this to HUGE_VALf. + (STRTOF): Set to __strtof; define strtof as weak alias. + + * sysdeps/ieee754/ieee754.h (union ieee754_float): New type. + (IEEE754_FLOAT_BIAS): New macro. + + * sysdeps/ieee754/mpn2ldbl.c: Fix typos. + + * stdlib/testmb.c: Add tests from rfg for using normal chars as + multibyte chars. + + * hurd/hurdmalloc.c (malloc_init): Add self reference to avoid not + only the `defined but not used' warning, but also to avoid GCC + optimizing out the entire function (!). + + * stdlib/wctomb.c: Include ctype.h. + + * Makerules (install-lib-non.a): Don't include $(non-lib.a). + + * hurd/hurdmalloc.c: Include string.h; #define bcopy using memcpy. + +Sat Feb 11 04:05:29 1995 Roland McGrath + + * stdio/printf_fp.c: Include "fpioconst.h". + (_tens_p): Table moved to fpioconst.c, renamed to _fpioconst_pow10. + (__printf_fp): All references changed. + Don't bother computing THOUSANDS_SEP if GROUPING is empty. + (group_number): Use memmove instead of memcpy, since operands overlap. + * stdio/fpioconst.c: New file, tables broken out of stdio/printf_fp.c. + * stdio/fpioconst.h: New file, header declaring the table data. + * stdio/Makefile (aux): Add fpioconst. + (distribute): Add fpioconst.h. + * stdlib/strtod.c: Complete rewrite from drepper. + * stdlib/strtof.c: New file. + * stdlib/strtold.c: New file. + * stdlib/Makefile (routines): Add strtof, strtold. + * stdio/Makefile (routines): Add mpn2flt, mpn2dbl, mpn2ldbl. + * sysdeps/stub/mpn2flt.c: New file. + * sysdeps/stub/mpn2dbl.c: New file. + * sysdeps/stub/mpn2ldbl.c: New file. + * sysdeps/ieee754/mpn2flt.c: New file. + * sysdeps/ieee754/mpn2dbl.c: New file. + * sysdeps/ieee754/mpn2ldbl.c: New file. + + * Makerules (install-lib.a): Don't filter out $(non-lib.a). + ($(install-lib.a) in $(libdir) rule): Elide ranlib command when $@ + appears in $(non-lib.a). + +Fri Feb 10 17:20:14 1995 Roland McGrath + + * stdlib/wctomb.c: A normal ASCII character translates to itself. + * stdlib/mbtowc.c: Likewise. + +Thu Feb 9 03:55:55 1995 Roland McGrath + + * setjmp/setjmp.h (longjmp, _longjmp, __longjmp, siglongjmp): + Remove `const' from prototypes. + * sysdeps/m68k/__longjmp.c: Likewise. + * setjmp/longjmp.c: Likewise. + * sysdeps/i386/__longjmp.c: Likewise. + + * sysdeps/posix/tempname.c: Increment *IDX at beginning of loop, + so when we return a name, it is incremented past the value that + produces that same name. + + * stdio/fgets.c (fgets): Change `size_t' to `int' in prototype. Sigh. + * stdio/stdio.h (fgets): Likewise. + + * stdio/vfprintf.c (printf_unknown): Print ' for INFO->group flag. + + * hurd/fd-write.c: Don't clobber ERR with the msg_sig_post call + when it's EBACKGROUND; we need to notice that it is EBACKGROUND + and retry the RPC. + * hurd/fd-read.c: Likewise. + +Wed Feb 8 05:01:11 1995 Roland McGrath + + * sysdeps/mach/sysdep.h (FATAL_PREPARE_INCLUDE): New macro, set to + . + * assert/assert-perr.c [FATAL_PREPARE_INCLUDE]: Include it. + * assert/assert.c: Likewise. + * sysdeps/posix/libc_fatal.c: Likewise. + +Tue Feb 7 12:17:58 1995 Roland McGrath + + * stdio/stdio.h [__STRICT_ANSI__] (stdin, stdout, stderr): Define + as macros, to satisfy ANSI pedants. + + * stdio/internals.c (flushbuf): When there is no new data after + priming the stream, return without writing out the buffer. + * stdio/Makefile (tests): Add bug7. + * stdio/bug7.c: New file. + + * io/sys/stat.h (S_IFIFO, S_IFLNK, S_IFSOCK, S_ISFIFO, S_ISLNK, + S_ISSOCK): Define only if the corresponding underlying __S_IF* macro + is defined. + + * stdio/getdelim.c: Decrement COPY after getting a char from __fillbf. + + * stdio/Makefile (tests): Add errnobug. + * stdio/errnobug.c: New file. + + * mach/mig_strncpy.c: Include string.h. + + * sysdeps/mach/sysdep.h: Don't #include . Its + inlines cause trouble for files defining global register variables. + + * stdio/vfprintf.c: Use _strerror_internal for %m. + + * sysdeps/ieee754/dbl2mpn.c: Fixes from drepper for 64-bit limbs. + + * stdio/printf.h (struct printf_info): New member `group', for %' flag. + * stdio/printf-prs.c (parse_printf_format): Grok %' flag and set flag. + * stdio/vfprintf.c (group_number): New function. + (vfprintf): Support %' flag for integer formats, by calling + group_number after formatting the number in WORK. + * stdio/printf_fp.c (guess_grouping, group_number): New functions. + (__printf_fp): Implement `group' flag using them. + + * Makefile (include sysd-dirs): Protect with ifndef avoid-generated. + (parent-clean): Remove sysd-rules, not sysdirs. + (distclean): Pass avoid-generated=yes to submake. + (distclean-1): Remove $(sysdep-$(distclean-1)). + + * Makerules (objects, objs): Depend on $(extra-objs) too. + (include sysd-Makefile): Protect with ifndef avoid-generated. + + * Makeconfig (+defines, +gnu-stabs, gnu-as): Variables removed. + (CPPFLAGS): Use $(defines) in place of $(+defines). + Replace -D_LIBC with -include $(..)libc-symbols.h. + + * stdio/freopen.c: Set seen bit before calling fclose. + +Mon Feb 6 18:34:40 1995 Roland McGrath + + * sysdeps/mach/hurd/setpriority.c: Keep track of numbers of + successes and each kind of failure. Return EPERM or EACCES only + if every task failed that way. + + * sysdeps/mach/hurd/getpriority.c: Handle out of band buffers + correctly. + + * sysdeps/mach/hurd/ptrace.c (PTRACE_ATTACH, PTRACE_DETACH): Stop + or resume the process after frobbing. + + * hurd/hurdsig.c: Use spin lock operations on sigstate locks + throughout. + (_hurd_thread_sigstate): Don't lock the sigstate lock. + (_hurd_internal_post_signal): New subfunction `mark_pending'; replace + repeated sequences with calls to it. Don't expect the sigstate + lock to be held on entry; lock it just before examining sigaction. + In handler case, check SS->critical_section after calling + abort_rpcs; if set, mark the signal pending and resume the thread. + * hurd/hurd/signal.h (_hurd_self_sigstate_unlocked): Function removed. + (_hurd_self_sigstate): Don't lock the sigstate lock. + (HURD_EINTR_RPC): Call _hurd_self_sigstate instead of + _hurd_self_sigstate_unlocked. + * hurd/msgportdemux.c: Don't expect _hurd_self_sigstate to lock + the sigstate lock. + * hurd/hurdexec.c: Use spin lock operations on sigstate lock. + Don't expect _hurd_self_sigstate to lock it. Fix critical section + locking. + * hurd/hurd-raise.c: Likewise. + * sysdeps/mach/hurd/sigsuspend.c: Likewise. + * sysdeps/mach/hurd/sigpending.c: Likewise. + * sysdeps/mach/hurd/sigaltstack.c: Likewise. + * sysdeps/mach/hurd/sigaction.c: Likewise. + * sysdeps/mach/hurd/sigprocmask.c: Likewise. + * hurd/fd-write.c: Likewise. + * hurd/fd-read.c: Likewise. + * sysdeps/mach/hurd/ioctl.c: Likewise. + * sysdeps/mach/hurd/fork.c: Likewise. + * sysdeps/mach/hurd/i386/sigreturn.c: Likewise. + * sysdeps/mach/hurd/mips/sigreturn.c: Likewise. + * sysdeps/mach/hurd/alpha/sigreturn.c: Likewise. + * hurd/hurdmsg.c (get_int): Likewise. + + * stdio/vfprintf.c: Include stddef.h. Fix typos in libio code. + + * stdio/vfprintf.c (__pad): Function renamed to __printf_pad, made + global. + (PAD): Caller changed. + * stdio/printf_fp.c (__pad): Function removed. + (PAD): Use __printf_pad instead. + +Sun Feb 5 17:59:53 1995 Roland McGrath + + Merged new FP printer by Ulrich Drepper. + * stdio/printf_fp.c: Rewrite by drepper. + * stdio/Makefile (routines): Add ldbl2mpn. + * sysdeps/ieee754/ieee754.h (union ieee754_double): Add `ieee_nan' + member. + (union ieee854_long_double): New type, from drepper. + (IEEE754_DOUBLE_BIAS, IEEE854_LONG_DOUBLE_BIAS): New macros. + * sysdeps/ieee754/ldbl2mpn.c: New file, by drepper. + * sysdeps/stub/ldbl2mpn.c: New file. + * math/Makefile (routines): Add isinfl and isnanl. + * sysdeps/ieee754/isinfl.c: New file. + * sysdeps/stub/isinfl.c: New file. + * sysdeps/ieee754/isnanl.c: New file. + * sysdeps/stub/isnanl.c: New file. + + * malloc/malloc.c (__malloc_extra_blocks): New variable. + (malloc): When getting more core, get __malloc_extra_blocks extra; + put the new block at the end of the free list and let the next loop + iteration use the initial portion of it. + * malloc/free.c (_free_internal): Account for twice + __malloc_extra_blocks in deciding if we have so much extra memory + we should return it to the system. + * malloc/malloc.h (__malloc_extra_blocks): Declare it. + * posix/glob.c (prefix_array, glob_pattern_p): Remove gratuitous + const in parameter decl. + + * sysdeps/unix/mips/sysdep.h (ENTRY): Add `.ent' directive. + +Fri Feb 3 18:15:52 1995 Roland McGrath + + * munch.awk (EXTERNS): Print decls using __P instead of EXFUN. + + * sysdeps/mips/setjmp_aux.c: Use ENV[0].__jmpbuf[0]. + * sysdeps/mips/bsd-_setjmp.S: Use `li' insn instead of `move'. + * sysdeps/mips/bsd-setjmp.S: Likewise. + * sysdeps/mips/__longjmp.c: Remove obsolete __NORETURN keyword. + * sysdeps/mach/hurd/mips/trampoline.c (_hurd_setup_sighandler): + Use `long int' for sigcode. Use explicit register numbers instead + of names. + (_hurdsig_rcv_interrupted_p): Use _hurdsig_catch_fault. + * sysdeps/mach/hurd/mips/exc2signal.c: Use `long int' for sigcode. + +Thu Feb 2 20:06:45 1995 Roland McGrath + + * hurd/hurdmalloc.c: Remove bogus bcopy decl. + + * mach/mig_strncpy.c: Add missing `const' in prototype. Rewritten + using __stpncpy. + + * io/ftw.c (ftw, ftw_dir): Treat ENOENT from stat like EACCES. + + * stdio/vfprintf.c: Set PREC to zero for %. without following digit. + +Tue Jan 31 13:49:57 1995 Roland McGrath + + * mach/mig_strncpy.c: Include mach.h instead of string.h. Use + vm_size_t instead of size_t for arg and return types. + + * mach/mach_init.c: Don't declare __mig_init; mach/mig_support.h + already does. + +Mon Jan 30 00:33:35 1995 Roland McGrath + + * set-hooks.h (RUN_HOOK): Dereference PTR properly. + + * configure.in (friendly stddef.h check): Write override defn for + `stddef.h' Make variable. + (AC_LINK_FILES): Use `echo ...` to avoid " " appearing nonempty. + + * configure.in (host_os=sysv4*|solaris2*): Set elf=yes. + + * Rules ($(objpfx)dummy.o): Write an empty function, not just an + empty file. + + * sysdeps/sparc/Makefile (sysdep-realclean): New variable. + +Sat Jan 28 03:38:56 1995 Roland McGrath + + * Makefile (distribute): Remove gnu-stabs.h; add libc-symbols.h. + + * sysdeps/mach/sysdep.h [ASSEMBLER]: Protect include of + mach/machine/syscall_sw.h with this. + +Fri Jan 27 18:33:20 1995 Roland McGrath + + * hurd/hurd/signal.h: Include , and + instead of . + (struct hurd_sigstate): Member `lock' changed to a `spin_lock_t'. + (_hurd_critical_section_lock): Use spin lock operators. + Don't hold the sigstate lock, unlock it after setting the flag. + (_hurd_critical_section_unlock): Take the sigstate lock + to clear the flag; while holding it, check pending signals. After + unlocking, sig_post ourselves if there were pending signals. + + * hurd/catch-exc.c (_S_catch_exception_raise): Don't take the + sigstate lock. If it is locked, clear SS->critical_section and + SS->context, and unlock it. + + * sysdeps/mach/sysdep.h (EXT, LEXT): New macros. + + * set-init.c (__libc_init) [HAVE_ELF]: Run _init and atexit (_fini). + * munch-tmpl.c: Likewise. + + * mach/Makefile (routines): Don't filter out syscall_% from + $(mach-syscalls). + +Fri Jan 27 17:53:49 1995 Jim Meyering (meyering@comco.com) + + * posix/fnmatch.c: Declare errno if it's not defined. + That's simpler than testing #if !defined(__GNU_LIBRARY__) + && !defined(STDC_HEADERS). + +Fri Jan 27 15:40:29 1995 Roland McGrath + + * csu/Makefile: New file. + * csu/initfini.c: New file. + * Makefile (+other_dirs): Add csu. + (+init): Variable renamed to libc-init. All references changed. + (aux): Remove start. + (install-lib): Variable removed. + (crt0.o, Mcrt1.o crt1.o): Targets removed. + + * mach/Machrules (static deps of RPC_*.o): Add $(..)libc-symbols.h + and $(objpfx)config.h. + (static deps of RPC alias *.o): Removed. + + * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h [ASSEMBLER]: + Protect macros with this. + * sysdeps/unix/bsd/osf1/alpha/sysdep.h: Likewise. + * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise. + * sysdeps/unix/bsd/vax/sysdep.h: Likewise. + * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise. + * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise. + * sysdeps/unix/mips/sysdep.h: Likewise. + +Thu Jan 26 00:02:01 1995 Roland McGrath + + * Makerules (compile.[Sc]): Match gcc in $(CC) better. + (BUILD_CFLAGS): Instead of $(config-defines), use -include config.h. + + * hurd/intr-rpc.awk: Emit weak alias. + + * sysdeps/unix/bsd/sun/sunos4/wait4.c: Call getpgrp instead of + __getpgrp. + + * sysdeps/unix/bsd/hp/m68k/sysdep.h [ASSEMBLER]: Protect macros with + this. + * sysdeps/unix/i386/sysdep.h: Likewise. + * sysdeps/unix/sparc/sysdep.h: Likewise. + + * io/ftw.c: Avoid `ret' as variable name. + * posix/glob.c: Likewise. + + * ctype/ctype.h (_ISalpha): Define as its own bit. + * locale/C-ctype_ct.c (__ctype_b_C): Set _ISalpha bit in all letters. + + * stdlib/exit.c [HAVE_GNU_LD]: Protect #include "set-hooks.h" and + DEFINE_HOOK with this. + +Wed Jan 25 00:45:56 1995 Roland McGrath + + * hurd/hurdinit.c: Use DECLARE_HOOK instead of `extern DEFINE_HOOK'. + * mach/spin-solid.c (spin_lock_solid): Define as weak alias to __name. + * mach/shortcut.awk: Emit weak alias. + * mach/spin-lock.c: Add weak aliases for all spin-lock.h functions. + * mach/mach_init.c (mach_init, vm_page_size): Defin weak aliases for + __ names. + * mach/Makefile (lock): Remove spin-syms. + (routines): Remove __ names, vm_page_size, msgserver_t. + ($(mach-syscalls) rule): Generate files without __, add weak alias. + Remove symbol alias file rule. + ($(mach-shortcuts) rule): Likewise. + [!mach-shortcuts] (user-interfaces): Filter out mach/mach4 too. + * mach/Machrules (if-calls.c): Variable and rule removed. + (interface-headers): Don't add $($(if)-calls). + (transform-user-stub): Define to add weak alias. + * set-hooks.h: Use new libc-symbols.h set access macros. + * time/Makefile (routines): Remove __ names. + (aux): Variable removed. + * hurd/Makefile: Likewise. + * sysdeps/unix/start.c (environ): Define as weak alias for __environ. + (data_start): Define as weak alias for __data_start. + * sysdeps/mach/hurd/start.c: Likewise. + * sysdeps/unix/sparc/start.c: Likewise. + * sysdeps/unix/make_errlist.c: Emit weak aliases for sys_nerr and + sys_errlist. + * sysdeps/mach/hurd/errlist.awk: Likewise. + * sysdeps/unix/bsd/osf1/alpha/start.S (environ): Define as weak + alias for __environ. + * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise. + * sysdeps/stub/setdomain.c: Use new stub_warning macro. + * sysdeps/stub/getdomain.c: Likewise. + * sysdeps/stub/vhangup.c: Likewise. + * sysdeps/stub/swapon.c: Likewise. + * sysdeps/stub/sendmsg.c: Likewise. + * sysdeps/stub/recvmsg.c: Likewise. + * sysdeps/stub/acct.c: Likewise. + * sysdeps/stub/isinf.c: Likewise. Add weak alias isinf for __isinf. + * sysdeps/mach/hurd/_exit.c: Remove obsolete __NORETURN keyword. + * sysdeps/posix/libc_fatal.c: Likewise. + * sysdeps/i386/abort.c: Likewise. + * sysdeps/i386/__longjmp.c: Likewise. + * sysdeps/generic/make_siglist.c: Emit defn always for + _sys_siglist. Emit weak alias to sys_siglist. + * sysdeps/generic/atan.c: Remove obsolete __CONSTVALUE keyword. + * sysdeps/ieee754/log10.c: Likewise. + * time/difftime.c: Likewise. + * stdlib/random.c (srand): Define as weak alias for __srandom. + * stdlib/exit.c: Remove obsolete __NORETURN keyword. Use set-hooks + macros for __libc_atexit. + * stdlib/Makefile (routines): Remove __random, srand. + * stdio/gets.c: Use new link_warning macro instead of old + warn_references. + * stdio/Makefile (routines): Remove __ names. + (aux): Remove syms-stdio. + * socket/Makefile (routines): Added e on getpeernam and getsocknam. + * setjmp/longjmp.c: Remove obsolete __NORETURN keyword. + * setjmp/Makefile (routines): Remove _longjmp, siglongjmp. + * setjmp/setjmp.h: Replace __NORETURN keyword with __attribute__ uses. + * stdio/stdio.h: Likewise. + * misc/Makefile (routines): Remove __ names. + (aux): Remove data_start. + * sysdeps/mach/hurd/defs.c: Don't include gnu-stabs.h. + * sysdeps/mach/hurd/brk.c: Likewise. + * hurd/hurdid.c: Likewise. + * hurd/hurdpid.c: Likewise. + * hurd/openport.c: Likewise. + * hurd/hurdsock.c: Likewise. + * hurd/hurdsig.c: Likewise. + * hurd/hurdrlimit.c: Likewise. + * hurd/hurdmalloc.c: Likewise. + * hurd/dtable.c: Likewise. + * hurd/setauth.c: Likewise. + * misc/progname.c: Likewise. + * misc/init-misc.c: Likewise. + * sysdeps/generic/vfork.c: Likewise. + * sysdeps/unix/bsd/init-posix.c: Likewise. + * math/math.h: Replace __CONSTVALUE keyword with __attribute__ uses. + * time/time.h: Likewise. + * math/Makefile (routines): Remove __ names. + * io/Makefile: Likewise. + * termios/Makefile: Likewise. + * resource/Makefile: Likewise. + * signal/Makefile: Likewise. + * dirent/Makefile: Likewise. + * assert/assert.h: Replace __NORETURN keyword with __attribute__ + uses. Functions return void and macros deal with this. + * assert/assert-perr.c: Remove obsolete __NORETURN keyword. + Return void. Don't include gnu-stabs.h. + * assert/assert.c: Likewise. + * posix/Makefile (routines): Remove __ names, setpgrp. Add + getpgid. + (aux): Remove environ. + * stdlib/stdlib.h (abort, exit): Replace __NORETURN keyword with + __attribute__ use. + * posix/unistd.h (_exit): Likewise. + (__getpgrp, __setpgrp): Declarations removed. + (__getpgid, getpid): Declare these. + + * configure.in (host_os=gnuelf|linuxelf): Set elf=yes. Do AC_SUBST + for gnu_ld, gnu_as, elf, and weak. Call AC_LINK_FILEES on + $libc_link_{sources,dests}. + * sysdeps/unix/configure.in: Remove __ from file names. Don't + create files, just add to libc_link_{dests,sources}. + + * config.make.in (gnu-as, gnu-ld, elf, weak-symbols): New variables. + + * config.h.in: Add #undefs used by sysdeps configures. + + * sysdeps/unix/sysv/sysv4/Makefile (sysdep_routines): Removed + __setpgid, __getpgid. + * sysdeps/unix/sysv/sco3.2.4/setpgid.c: Included file was renamed + from setpgrp.c. + * sysdeps/unix/sysv/sco3.2.4/getpgid.c: Included file was renamed + from __getpgrp.c. + * sysdeps/unix/bsd/getpgrp.c: File removed. + * sysdeps/generic/getpgrp.c: Moved from sysdeps/stub/getpgrp.c. + Call __getpgid with zero. + * sysdeps/stub/setpgid.c: Renamed __setpgrp to __setpgid, added + weak aliases setpgid and setpgrp. + * sysdeps/unix/sysv/irix4/setpgid.S: Likewise. + * sysdeps/unix/common/setpgid.S: Likewise. + * sysdeps/mach/hurd/setpgid.c: Likewise. + * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise. + Use subcall 5 to __pgrpsys. + * sysdeps/stub/getpgid.c: Renamed __getpgrp to __getpgid, added + weak alias getpgid. + * sysdeps/mach/hurd/getpgid.c: Likewise. + * sysdeps/unix/sysv/irix4/getpgid.S: Likewise. + * sysdeps/unix/common/getpgid.S: Likewise. + * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise. + Use subcall 4 to __pgrpsys. + * sysdeps/stub/__getpgrp.c: Renamed to getpgid.c. + * sysdeps/unix/sysv/sysv4/__getpgrp.c: Renamed to getpgid.c. + * sysdeps/unix/sysv/sco3.2.4/__getpgrp.c: Renamed to getpgid.c. + * sysdeps/unix/sysv/irix4/__getpgrp.S: Renamed to getpgid.S. + * sysdeps/unix/common/__getpgrp.S: Renamed to getpgid.S. + * sysdeps/mach/hurd/__getpgrp.c: Renamed to getpgid.c. + * sysdeps/stub/setpgrp.c: Renamed to setpgid.c. + * sysdeps/unix/sysv/sysv4/setpgrp.c: Renamed to setpgid.c. + * sysdeps/unix/sysv/sco3.2.4/setpgrp.c: Renamed to setpgid.c. + * sysdeps/unix/sysv/irix4/setpgrp.S: Renamed to setpgid.S. + * sysdeps/unix/common/setpgrp.S: Renamed to setpgid.S. + * sysdeps/mach/hurd/setpgrp.c: Renamed to setpgid.c. + + * sysdeps/unix/bsd/hp/m68k/getdents.S: Included file was renamed + from __getdents.S. + + * sysdeps/posix/defs.c: Don't include gnu-stabs.h. + * sysdeps/stub/sigpending.c: Use new libc-symbols.h macro for stub + warning. + * sysdeps/stub/fexecve.c: Likewise. + * sysdeps/stub/fchdir.c: Likewise. + * sysdeps/stub/fchflags.c: Likewise. + * sysdeps/stub/chflags.c: Likewise. + + * sysdeps/m68k/__longjmp.c: Remove __NORETURN; it's obsolete. + * sysdeps/generic/abort.c: Likewise. + * sysdeps/ieee754/ldexp.c: Remove __CONSTVALUE; it's obsolete. + + * hurd/hurdioctl.c: Include hurd/ioctl.h. + (_hurd_ioctl_handler_lists): Define this set. + (_hurd_lookup_ioctl_handler): New function. + * hurd/hurd/fd.h: ioctl handler stuff moved to hurd/ioctl.h. + * hurd/hurd/ioctl.h: New file, broken out of hurd/fd.h. + (_hurd_lookup_ioctl_handler): Declare it. + (ioctl_handler_t): New typedef. Use it throughout. + * sysdeps/mach/hurd/ioctl.c: Include hurd/ioctl.h. + (_hurd_ioctl_handler_lists): Don't define. + (__ioctl): Call _hurd_lookup_ioctl_handler. + + * stdlib/strtol.c (maxquad): Make this const. + [__GNUC__ == 2 && __GNUC_MINOR__ < 7]: Only use maxquad in this case. + + * posix/glob/configure.in: Put AC_AIX and AC_MINIX early, before + any compile tests. + + * sysdeps/mach/hurd/setitimer.c (timer_thread): Call + __msg_sig_post_request, not __sig_post_request. + + * misc/getusersh.c: Renamed to getusershell.c. + * sysdeps/stub/sethostnam.c: Renamed to sethostname.c. + * sysdeps/unix/inet/sethostnam.S: Renamed to sethostname.S. + * sysdeps/unix/sysv/sysv4/sethostnam.c: Renamed to sethostname.c. + * sysdeps/mach/hurd/sethostnam.c: Renamed to sethostname.c. + +Tue Jan 24 00:14:30 1995 Roland McGrath + + * sysdeps/stub/settod.c: Renamed to settimeofday.c. + * sysdeps/unix/bsd/settod.S: Renamed to settimeofday.c. + * sysdeps/unix/sysv/settod.c: Renamed to settimeofday.c. + * sysdeps/mach/hurd/settod.c: Renamed to settimeofday.c. + * sysdeps/stub/setitmr.c: Renamed to setitimer.c. + * sysdeps/unix/common/setitmr.S: Renamed to setitimer.S. + * sysdeps/mach/hurd/setitmr.c: Renamed to setitimer.c. + * sysdeps/posix/fpathcon.c: Renamed to fpathconf.c. + * sysdeps/stub/fpathcon.c: Renamed to fpathconf.c. + * sysdeps/unix/sysv/irix4/fpathcon.c: Renamed to fpathconf.c. + * sysdeps/stub/getprio.c: Renamed to getpriority.c. + * sysdeps/unix/sysv/irix4/getprio.c: Renamed to getpriority.c. + * sysdeps/unix/common/getprio.S: Renamed to getpriority.S. + * sysdeps/mach/hurd/getprio.c: Renamed to getpriority.c. + * sysdeps/stub/setprio.c: Renamed to setpriority.c. + * sysdeps/unix/sysv/irix4/setprio.c: Renamed to setpriority.c. + * sysdeps/unix/common/setprio.S: Renamed to setpriority.S. + * sysdeps/mach/hurd/setprio.c: Renamed to setpriority.c. + * sysdeps/stub/getpeernam.c: Renamed to getpeername.c. + * sysdeps/unix/inet/getpeernam.S: Renamed to getpeername.S. + * sysdeps/unix/sysv/linux/getpeernam.S: Renamed to getpeername.S. + * sysdeps/mach/hurd/getpeernam.c: Renamed to getpeername.c. + * sysdeps/stub/getsocknam.c: Renamed to getsockname.c. + * sysdeps/unix/inet/getsocknam.S: Renamed to getsockname.S. + * sysdeps/unix/sysv/linux/getsocknam.S: Renamed to getsockname.S. + * sysdeps/mach/hurd/getsocknam.c: Renamed to getsockname.c. + * sysdeps/stub/sigaltstk.c: Renamed to sigaltstack.c. + * sysdeps/unix/bsd/bsd4.4/sigaltstk.S: Renamed to sigaltstack.S. + * sysdeps/unix/sysv/sysv4/sigaltstk.S: Renamed to sigaltstack.S. + * sysdeps/mach/hurd/sigaltstk.c: Renamed to sigaltstack.c. + + * sysdeps/mach/hurd/i386/sigreturn.c: Call __msg_sig_post instead + of __sig_post. + * sysdeps/mach/hurd/sigsuspend.c: Likewise. + * sysdeps/mach/hurd/kill.c: Likewise. + * sysdeps/mach/hurd/sigprocmask.c: Likewise. + + * misc/sys/cdefs.h (__NORETURN, __CONSTVALUE): Macros removed. + [!__GNUC__ || __GNUC__<2] (__attribute__): Define to empty. + + * sysdeps/stub/remove.c: New file. + * sysdeps/posix/remove.c: New file. + +Mon Jan 23 03:26:09 1995 Roland McGrath + + * time/mktime.c [weak_alias] (timelocal): Define as weak alias for + mktime. + * mach/mig_strncpy.c (mig_strncpy): Define as weak alias for + __mig_strncpy. + * mach/msg-destroy.c: Renamed from __msg_dest.c. + (mach_msg_destroy): Define as weak alias for __mach_msg_destroy. + * mach/setup-thread.c (mach_setup_thread): Define as weak alias. + * time/tzset.c (tzname, daylight, timezone): Define as weak + aliases for __ names. + * hurd/hurdkill.c (hurd_sig_post): Define as weak alias. + * hurd/hurdlookup.c: Add weak aliases for non-__ names. + * Makefile (+init): Test $(gnu-ld)=yes, not for $(+gnu-stabs) + being defined. + +Sun Jan 22 15:19:51 1995 Roland McGrath + + * string/Makefile (routines): Remove __ names, index, rindex, and + bcmp. + * sysdeps/alpha/strchr.c [weak_alias] (index): Define as weak + alias for strchr. + * sysdeps/generic/strchr.c: Likewise. + * sysdeps/generic/strrchr.c [weak_alias] (rindex): Define as weak + alias for strrchr. + * sysdeps/generic/memcmp.c [weak_alias] (bcmp): Define as weak + alias for memcmp. + + * malloc/free.c (cfree): Define this function, with weak_alias if + available, otherwise a C function. + * malloc/Makefile (gmalloc-routines): Remove cfree. + +Sat Jan 21 08:08:58 1995 Roland McGrath + + * stdio/fseek.c: Do move bufp by O when that puts it exactly at + get_limit. This has the effect of no-op'ing properly for zero. + + * configure.in: Add AC_CONFIG_HEADER(config.h). + (--with-elf, --with-weak-symbols): Grok these and define HAVE_*. + * config.h.in: New file. + + * setjmp/longjmp.c: Add weak aliases _longjmp, siglongjmp. + All code converted to use weak symbols, defined in the files which + define the real code (with the __ names, the non-__ names are weak). + All old symbol alias files removed. + Many files renamed to remove __ prefix since there is now just + the one file for both the __ and non-__ name for each function. + * libc-symbols.h: New file. + * set-hooks.h: Use libc-symbols.h macros for accessing symbol + sets. + * gnu-stabs.h: Prepend #error this file is obsolete. + * sysdeps/ieee754/ldexp.c: Add weak aliases scalb and __scalb. + * sysdeps/stub/__access.c: Renamed to access.c; added weak alias + access. + * sysdeps/unix/common/__access.S: Likewise. + * sysdeps/mach/hurd/__access.c: Likewise. + * sysdeps/stub/__adjtime.c: Renamed to adjtime.c; added weak alias + adjtime. + * sysdeps/unix/common/__adjtime.S: Likewise. + * sysdeps/mach/__adjtime.c: Likewise. + * sysdeps/mach/hurd/__adjtime.c: Likewise. + * sysdeps/stub/__brk.c: Renamed to brk.c; added weak alias brk. + * sysdeps/unix/bsd/sun/m68k/__brk.S: Likewise. + * sysdeps/unix/bsd/vax/__brk.S: Likewise. + * sysdeps/unix/bsd/hp/m68k/__brk.S: Likewise. + * sysdeps/unix/bsd/osf1/alpha/__brk.S: Likewise. + * sysdeps/unix/i386/__brk.S: Likewise. + * sysdeps/unix/sparc/__brk.S: Likewise. + * sysdeps/unix/mips/__brk.S: Likewise. + * sysdeps/mach/hurd/__brk.c: Likewise. + * sysdeps/standalone/__brk.c: Likewise. + * sysdeps/stub/__chdir.c: Renamed to chdir.c; added weak alias chdir. + * sysdeps/unix/__chdir.S: Likewise. + * sysdeps/mach/hurd/__chdir.c: Likewise. + * sysdeps/stub/__chmod.c: Renamed to chmod.c; added weak alias chmod. + * sysdeps/unix/__chmod.S: Likewise. + * sysdeps/mach/hurd/__chmod.c: Likewise. + * sysdeps/stub/__chown.c: Renamed to chown.c; added weak alias chown. + * sysdeps/unix/__chown.S: Likewise. + * sysdeps/mach/hurd/__chown.c: Likewise. + * sysdeps/stub/__close.c: Renamed to close.c; added weak alias close. + * sysdeps/unix/__close.S: Likewise. + * sysdeps/mach/hurd/__close.c: Likewise. + * sysdeps/standalone/__close.c: Likewise. + * sysdeps/generic/__copysign.c: Renamed to copysign.c; added weak + alias copysign. + * sysdeps/ieee754/__copysign.c: Likewise. + * sysdeps/alpha/__copysign.c: Likewise. + * sysdeps/ieee754/__drem.c: Renamed to drem.c; added weak alias drem. + * sysdeps/m68k/fpu/__drem.c: Likewise. + * sysdeps/stub/__drem.c: Likewise. + * sysdeps/posix/__dup.c: Renamed to dup.c; added weak alias dup. + * sysdeps/stub/__dup.c: Likewise. + * sysdeps/unix/__dup.S: Likewise. + * sysdeps/posix/__dup2.c: Renamed to dup2.c; added weak alias dup2. + * sysdeps/stub/__dup2.c: Likewise. + * sysdeps/unix/sysv/sysv4/__dup2.c: Likewise. + * sysdeps/unix/sysv/irix4/__dup2.c: Likewise. + * sysdeps/unix/common/__dup2.S: Likewise. + * sysdeps/mach/hurd/__dup2.c: Likewise. + * sysdeps/stub/__execve.c: Renamed to execve.c; added weak alias + execve. + * sysdeps/unix/__execve.S: Likewise. + * sysdeps/mach/hurd/__execve.c: Likewise. + * sysdeps/generic/__expm1.c: Renamed to expm1.c; added weak alias + expm1. + * sysdeps/m68k/fpu/__expm1.c: Likewise. + * sysdeps/stub/__fchmod.c: Renamed to fchmod.c; added weak alias + fchmod. + * sysdeps/unix/common/__fchmod.S: Likewise. + * sysdeps/mach/hurd/__fchmod.c: Likewise. + * sysdeps/stub/__fchown.c: Renamed to fchown.c; added weak alias + fchown. + * sysdeps/unix/common/__fchown.S: Likewise. + * sysdeps/mach/hurd/__fchown.c: Likewise. + * sysdeps/stub/__fcntl.c: Renamed to fcntl.c; added weak alias fcntl. + * sysdeps/unix/__fcntl.S: Likewise. + * sysdeps/mach/hurd/__fcntl.c: Likewise. + * math/__finite.c: Renamed to finite.c; added weak alias finite. + * sysdeps/posix/__flock.c: Renamed to flock.c; added weak alias flock. + * sysdeps/stub/__flock.c: Likewise. + * sysdeps/unix/bsd/__flock.S: Likewise. + * sysdeps/mach/hurd/__flock.c: Likewise. + * hurd/__fopenport.c: Renamed to fopenport.c; added weak alias + fopenport. + * sysdeps/stub/__fork.c: Renamed to fork.c; added weak alias fork. + * sysdeps/unix/__fork.S: Likewise. + * sysdeps/unix/bsd/osf1/alpha/__fork.S: Likewise. + * sysdeps/unix/i386/__fork.S: Likewise. + * sysdeps/unix/sparc/__fork.S: Likewise. + * sysdeps/unix/mips/__fork.S: Likewise. + * sysdeps/mach/hurd/__fork.c: Likewise. + * sysdeps/posix/__fpathcon.c: Renamed to fpathcon.c; added weak + alias fpathconf. + * sysdeps/stub/__fpathcon.c: Likewise. + * sysdeps/unix/sysv/irix4/__fpathcon.c: Likewise. + * sysdeps/stub/__fstat.c: Renamed to fstat.c; added weak alias fstat. + * sysdeps/unix/__fstat.S: Likewise. + * sysdeps/unix/sysv/sysv4/i386/__fstat.S: Likewise. + * sysdeps/mach/hurd/__fstat.c: Likewise. + * stdio/__getdelim.c: Renamed to getdelim.c; added weak alias + getdelim. + * sysdeps/stub/__getdents.c: Renamed to getdents.c; added weak + alias getdents. + * sysdeps/unix/__getdents.c: Likewise. + * sysdeps/unix/bsd/sun/__getdents.S: Likewise. + * sysdeps/unix/bsd/hp/m68k/__getdents.S: Likewise. + * sysdeps/unix/bsd/ultrix4/__getdents.S: Likewise. + * sysdeps/unix/bsd/bsd4.4/__getdents.S: Likewise. + * sysdeps/unix/bsd/osf1/alpha/__getdents.S: Likewise. + * sysdeps/unix/sysv/__getdents.c: Likewise. + * sysdeps/mach/hurd/__getdents.c: Likewise. + * hurd/__getdport.c: Renamed to getdport.c; added weak alias getdport. + * sysdeps/posix/__getdtsz.c: Renamed to getdtsz.c; added weak + alias getdtablesize. + * sysdeps/stub/__getdtsz.c: Likewise. + * sysdeps/unix/bsd/__getdtsz.S: Likewise. + * sysdeps/unix/sysv/sysv4/__getdtsz.c: Likewise. + * sysdeps/mach/hurd/__getdtsz.c: Likewise. + * sysdeps/stub/__getegid.c: Renamed to getegid.c; added weak alias + getegid. + * sysdeps/unix/__getegid.S: Likewise. + * sysdeps/mach/hurd/__getegid.c: Likewise. + * sysdeps/stub/__geteuid.c: Renamed to geteuid.c; added weak alias + geteuid. + * sysdeps/unix/__geteuid.S: Likewise. + * sysdeps/mach/hurd/__geteuid.c: Likewise. + * sysdeps/stub/__getgid.c: Renamed to getgid.c; added weak alias + getgid. + * sysdeps/unix/__getgid.S: Likewise. + * sysdeps/mach/hurd/__getgid.c: Likewise. + * sysdeps/stub/__getgrps.c: Renamed to getgroups.c; added weak + alias getgroups. + * sysdeps/unix/bsd/sequent/i386/__getgrps.S: Likewise. + * sysdeps/unix/sysv/sco3.2.4/__getgrps.c: Likewise. + * sysdeps/unix/sysv/irix4/__getgrps.c: Likewise. + * sysdeps/unix/common/__getgrps.S: Likewise. + * sysdeps/mach/hurd/__getgrps.c: Likewise. + * sysdeps/stub/__gethstnm.c: Renamed to gethostname.c; added weak + alias gethostname. + * sysdeps/unix/inet/__gethstnm.S: Likewise. + * sysdeps/unix/sysv/__gethstnm.c: Likewise. + * sysdeps/unix/sysv/sysv4/__gethstnm.c: Likewise. + * sysdeps/mach/hurd/__gethstnm.c: Likewise. + * sysdeps/stub/__getitmr.c: Renamed to getitimer.c; added weak + alias getitimer. + * sysdeps/unix/common/__getitmr.S: Likewise. + * sysdeps/mach/hurd/__getitmr.c: Likewise. + * stdio/__getline.c: Renamed to getline.c; added weak alias getline. + * sysdeps/posix/__getpgsz.c: Renamed to getpagesize.c; added weak + alias getpagesize. + * sysdeps/stub/__getpgsz.c: Likewise. + * sysdeps/unix/__getpgsz.c: Likewise. + * sysdeps/unix/bsd/__getpgsz.S: Likewise. + * sysdeps/unix/sysv/sysv4/__getpgsz.c: Likewise. + * sysdeps/mach/__getpgsz.c: Likewise. + * sysdeps/stub/__getpid.c: Renamed to getpid.c; added weak alias + getpid. + * sysdeps/unix/__getpid.S: Likewise. + * sysdeps/mach/hurd/__getpid.c: Likewise. + * sysdeps/stub/__getppid.c: Renamed to getppid.c; added weak alias + getppid. + * sysdeps/unix/__getppid.S: Likewise. + * sysdeps/mach/hurd/__getppid.c: Likewise. + * sysdeps/posix/__gettod.c: Renamed to gettimeofday.c; added weak + alias gettimeofday. + * sysdeps/stub/__gettod.c: Likewise. + * sysdeps/unix/sysv/irix4/__gettod.c: Likewise. + * sysdeps/unix/common/__gettod.S: Likewise. + * sysdeps/mach/__gettod.c: Likewise. + * sysdeps/stub/__getuid.c: Renamed to getuid.c; added weak alias + getuid. + * sysdeps/unix/__getuid.S: Likewise. + * sysdeps/mach/hurd/__getuid.c: Likewise. + * sysdeps/generic/__infnan.c: Renamed to infnan.c; added weak + alias infnan. + * sysdeps/ieee754/__infnan.c: Likewise. + * sysdeps/vax/__infnan.c: Likewise. + * sysdeps/stub/__ioctl.c: Renamed to ioctl.c; added weak alias ioctl. + * sysdeps/unix/__ioctl.S: Likewise. + * sysdeps/mach/hurd/__ioctl.c: Likewise. + * sysdeps/posix/__isatty.c: Renamed to isatty.c; added weak alias + isatty. + * sysdeps/stub/__isatty.c: Likewise. + * sysdeps/unix/bsd/__isatty.c: Likewise. + * sysdeps/mach/hurd/__isatty.c: Likewise. + * sysdeps/ieee754/__isinf.c: Renamed to isinf.c; added weak alias + isinf. + * sysdeps/m68k/fpu/__isinf.c: Likewise. + * sysdeps/stub/__isinf.c: Likewise. + * sysdeps/generic/__isnan.c: Renamed to isnan.c; added weak alias + isnan. + * sysdeps/ieee754/__isnan.c: Likewise. + * sysdeps/m68k/fpu/__isnan.c: Likewise. + * sysdeps/stub/__kill.c: Renamed to kill.c; added weak alias kill. + * sysdeps/unix/__kill.S: Likewise. + * sysdeps/mach/hurd/__kill.c: Likewise. + * sysdeps/stub/__link.c: Renamed to link.c; added weak alias link. + * sysdeps/unix/__link.S: Likewise. + * sysdeps/mach/hurd/__link.c: Likewise. + * sysdeps/ieee754/__logb.c: Renamed to logb.c; added weak alias logb. + * sysdeps/m68k/fpu/__logb.c: Likewise. + * sysdeps/stub/__logb.c: Likewise. + * sysdeps/stub/__lseek.c: Renamed to lseek.c; added weak alias lseek. + * sysdeps/unix/__lseek.S: Likewise. + * sysdeps/mach/hurd/__lseek.c: Likewise. + * sysdeps/generic/__lstat.c: Renamed to lstat.c; added weak alias + lstat. + * sysdeps/stub/__lstat.c: Likewise. + * sysdeps/unix/sysv/sysv4/i386/__lstat.S: Likewise. + * sysdeps/unix/common/__lstat.S: Likewise. + * sysdeps/mach/hurd/__lstat.c: Likewise. + * sysdeps/generic/__memccpy.c: Renamed to memccpy.c; added weak + alias memccpy. + * sysdeps/vax/__memccpy.c: Likewise. + * sysdeps/stub/__mkdir.c: Renamed to mkdir.c; added weak alias mkdir. + * sysdeps/unix/sysv/__mkdir.c: Likewise. + * sysdeps/unix/common/__mkdir.S: Likewise. + * sysdeps/mach/hurd/__mkdir.c: Likewise. + * sysdeps/stub/__mknod.c: Renamed to mknod.c; added weak alias mknod. + * sysdeps/unix/__mknod.S: Likewise. + * sysdeps/unix/sysv/sysv4/i386/__mknod.S: Likewise. + * sysdeps/mach/hurd/__mknod.c: Likewise. + * mach/__msg.c: Renamed to msg.c; added weak alias mach_msg. + * mach/__msgserver.c: Renamed to msgserver.c; added weak alias + mach_msg_server. + * sysdeps/stub/__open.c: Renamed to open.c; added weak alias open. + * sysdeps/unix/__open.S: Likewise. + * sysdeps/mach/hurd/__open.c: Likewise. + * sysdeps/standalone/__open.c: Likewise. + * sysdeps/stub/__pathconf.c: Renamed to pathconf.c; added weak + alias pathconf. + * sysdeps/unix/sysv/sco3.2.4/__pathconf.S: Likewise. + * sysdeps/unix/sysv/irix4/__pathconf.c: Likewise. + * hurd/__pid2task.c: Renamed to pid2task.c; added weak alias pid2task. + * sysdeps/stub/__pipe.c: Renamed to pipe.c; added weak alias pipe. + * sysdeps/unix/bsd/vax/__pipe.S: Likewise. + * sysdeps/unix/bsd/m68k/__pipe.S: Likewise. + * sysdeps/unix/bsd/osf1/alpha/__pipe.S: Likewise. + * sysdeps/unix/i386/__pipe.S: Likewise. + * sysdeps/unix/sparc/__pipe.S: Likewise. + * sysdeps/unix/mips/__pipe.S: Likewise. + * sysdeps/mach/hurd/__pipe.c: Likewise. + * stdlib/__random.c: Renamed to random.c; added weak alias random. + * sysdeps/stub/__read.c: Renamed to read.c; added weak alias read. + * sysdeps/unix/__read.S: Likewise. + * sysdeps/mach/hurd/__read.c: Likewise. + * sysdeps/standalone/__read.c: Likewise. + * sysdeps/stub/__readlink.c: Renamed to readlink.c; added weak + alias readlink. + * sysdeps/unix/common/__readlink.S: Likewise. + * sysdeps/mach/hurd/__readlink.c: Likewise. + * sysdeps/generic/__rint.c: Renamed to rint.c; added weak alias rint. + * sysdeps/m68k/fpu/__rint.c: Likewise. + * sysdeps/stub/__rmdir.c: Renamed to rmdir.c; added weak alias rmdir. + * sysdeps/unix/sysv/__rmdir.c: Likewise. + * sysdeps/unix/common/__rmdir.S: Likewise. + * sysdeps/mach/hurd/__rmdir.c: Likewise. + * sysdeps/generic/__sbrk.c: Renamed to sbrk.c; added weak alias sbrk. + * sysdeps/stub/__sbrk.c: Likewise. + * sysdeps/mach/hurd/__sbrk.c: Likewise. + * math/__scalb.c: Renamed to scalb.c; added weak alias scalb. + * sysdeps/stub/__select.c: Renamed to select.c; added weak alias + select. + * sysdeps/unix/common/__select.S: Likewise. + * sysdeps/mach/hurd/__select.c: Likewise. + * hurd/__setauth.c: Renamed to setauth.c; added weak alias setauth. + * sysdeps/stub/__setgid.c: Renamed to setgid.c; added weak alias + setgid. + * sysdeps/unix/__setgid.S: Likewise. + * sysdeps/unix/bsd/__setgid.c: Likewise. + * sysdeps/mach/hurd/__setgid.c: Likewise. + * sysdeps/stub/__setitmr.c: Renamed to setitmr.c; added weak alias + setitmr + * sysdeps/unix/common/__setitmr.S: Likewise. + * sysdeps/mach/hurd/__setitmr.c: Likewise. + * sysdeps/stub/__setpgrp.c: Renamed to setpgrp.c; added weak alias + setpgrp + * sysdeps/unix/sysv/sysv4/__setpgrp.c: Likewise. + * sysdeps/unix/sysv/sco3.2.4/__setpgrp.c: Likewise. + * sysdeps/unix/sysv/irix4/__setpgrp.S: Likewise. + * sysdeps/unix/common/__setpgrp.S: Likewise. + * sysdeps/mach/hurd/__setpgrp.c: Likewise. + * sysdeps/stub/__setregid.c: Renamed to setregid.c; added weak + alias setregid. + * sysdeps/unix/common/__setregid.S: Likewise. + * sysdeps/mach/hurd/__setregid.c: Likewise. + * sysdeps/stub/__setreuid.c: Renamed to setreuid.c; added weak + alias setreuid. + * sysdeps/unix/common/__setreuid.S: Likewise. + * sysdeps/mach/hurd/__setreuid.c: Likewise. + * sysdeps/stub/__setsid.c: Renamed to setsid.c; added weak alias + setsid. + * sysdeps/unix/bsd/__setsid.c: Likewise. + * sysdeps/unix/bsd/sun/sunos4/__setsid.S: Likewise. + * sysdeps/unix/bsd/ultrix4/__setsid.S: Likewise. + * sysdeps/unix/bsd/bsd4.4/__setsid.S: Likewise. + * sysdeps/unix/sysv/linux/__setsid.S: Likewise. + * sysdeps/unix/sysv/sysv4/__setsid.c: Likewise. + * sysdeps/unix/sysv/sco3.2.4/__setsid.c: Likewise. + * sysdeps/mach/hurd/__setsid.c: Likewise. + * sysdeps/stub/__settod.c: Renamed to settod.c; added weak alias + settimeofday. + * sysdeps/unix/bsd/__settod.S: Likewise. + * sysdeps/unix/sysv/__settod.c: Likewise. + * sysdeps/mach/hurd/__settod.c: Likewise. + * sysdeps/stub/__setuid.c: Renamed to setuid.c; added weak alias + setuid. + * sysdeps/unix/__setuid.S: Likewise. + * sysdeps/unix/bsd/__setuid.c: Likewise. + * sysdeps/mach/hurd/__setuid.c: Likewise. + * sysdeps/posix/__sigblock.c: Renamed to sigblock.c; added weak + alias sigblock. + * sysdeps/stub/__sigblock.c: Likewise. + * sysdeps/unix/bsd/__sigblock.S: Likewise. + * sysdeps/unix/bsd/bsd4.4/__sigblock.c: Likewise. + * sysdeps/unix/bsd/osf1/alpha/__sigblock.S: Likewise. + * sysdeps/posix/__sigpause.c: Renamed to sigpause.c; added weak + alias sigpause. + * sysdeps/stub/__sigpause.c: Likewise. + * sysdeps/unix/bsd/__sigpause.S: Likewise. + * sysdeps/unix/bsd/osf1/alpha/__sigpause.S: Likewise. + * sysdeps/stub/__sigproc.c: Renamed to sigprocmask.c; added weak + alias sigprocmask. + * sysdeps/unix/bsd/__sigproc.c: Likewise. + * sysdeps/unix/sysv/sysv4/__sigproc.S: Likewise. + * sysdeps/unix/sysv/sco3.2.4/__sigproc.S: Likewise. + * sysdeps/mach/hurd/__sigproc.c: Likewise. + * sysdeps/stub/__sigret.c: Renamed to sigreturn.c; added weak + alias sigreturn. + * sysdeps/unix/bsd/sun/__sigret.S: Likewise. + * sysdeps/unix/sysv/i386/__sigret.S: Likewise. + * sysdeps/unix/sysv/irix4/__sigret.S: Likewise. + * sysdeps/unix/i386/__sigret.S: Likewise. + * sysdeps/unix/mips/__sigret.S: Likewise. + * sysdeps/mach/hurd/i386/__sigret.c: Likewise. + * sysdeps/mach/hurd/alpha/__sigret.c: Likewise. + * sysdeps/mach/hurd/mips/__sigret.c: Likewise. + * sysdeps/posix/__sigvec.c: Renamed to sigvec.c; added weak alias + sigvec. + * sysdeps/stub/__sigvec.c: Likewise. + * sysdeps/unix/bsd/__sigvec.S: Likewise. + * sysdeps/unix/bsd/sun/__sigvec.S: Likewise. + * sysdeps/unix/bsd/sequent/i386/__sigvec.S: Likewise. + * sysdeps/unix/bsd/ultrix4/mips/__sigvec.S: Likewise. + * sysdeps/unix/bsd/bsd4.4/__sigvec.c: Likewise. + * sysdeps/unix/bsd/osf1/alpha/__sigvec.S: Likewise. + * sysdeps/stub/__stat.c: Renamed to stat.c; added weak alias stat. + * sysdeps/unix/__stat.S: Likewise. + * sysdeps/unix/sysv/sysv4/i386/__stat.S: Likewise. + * sysdeps/mach/hurd/__stat.c: Likewise. + * sysdeps/generic/__stpncpy.c: Renamed to stpncpy.c; added weak + alias stpncpy. + * sysdeps/stub/__symlink.c: Renamed to symlink.c; added weak alias + symlink. + * sysdeps/unix/common/__symlink.S: Likewise. + * sysdeps/mach/hurd/__symlink.c: Likewise. + * sysdeps/posix/__sysconf.c: Renamed to sysconf.c; added weak + alias sysconf. + * sysdeps/stub/__sysconf.c: Likewise. + * sysdeps/unix/bsd/ultrix4/__sysconf.c: Likewise. + * sysdeps/unix/sysv/sysv4/__sysconf.c: Likewise. + * sysdeps/unix/sysv/sco3.2.4/__sysconf.S: Likewise. + * sysdeps/unix/sysv/irix4/__sysconf.c: Likewise. + * hurd/__task2pid.c: Renamed to task2pid.c; added weak alias task2pid. + * sysdeps/stub/__times.c: Renamed to times.c; added weak alias times. + * sysdeps/unix/bsd/__times.c: Likewise. + * sysdeps/unix/sysv/__times.S: Likewise. + * time/__tzset.c: Renamed to tzset.c; added weak alias tzset. + * sysdeps/stub/__umask.c: Renamed to umask.c; added weak alias umask. + * sysdeps/unix/__umask.S: Likewise. + * sysdeps/mach/hurd/__umask.c: Likewise. + * sysdeps/stub/__unlink.c: Renamed to unlink.c; added weak alias + unlink. + * sysdeps/unix/__unlink.S: Likewise. + * sysdeps/mach/hurd/__unlink.c: Likewise. + * sysdeps/stub/__utimes.c: Renamed to utimes.c; added weak alias + utimes. + * sysdeps/unix/bsd/__utimes.S: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/__utimes.S: Likewise. + * sysdeps/mach/hurd/__utimes.c: Likewise. + * sysdeps/generic/__vfork.c: Renamed to vfork.c; added weak alias + vfork. + * sysdeps/unix/bsd/sun/m68k/__vfork.S: Likewise. + * sysdeps/unix/bsd/vax/__vfork.S: Likewise. + * sysdeps/unix/bsd/i386/__vfork.S: Likewise. + * sysdeps/unix/bsd/hp/m68k/__vfork.S: Likewise. + * sysdeps/unix/bsd/ultrix4/mips/__vfork.S: Likewise. + * sysdeps/unix/sysv/sysv4/i386/__vfork.S: Likewise. + * sysdeps/unix/sparc/__vfork.S: Likewise. + * stdio/__vfscanf.c: Renamed to vfscanf.c; added weak alias vfscanf. + * stdio/__vsscanf.c: Renamed to vsscanf.c; added weak alias vsscanf. + * sysdeps/posix/__wait.c: Renamed to wait.c; added weak alias wait. + * sysdeps/stub/__wait.c: Likewise. + * sysdeps/unix/bsd/sony/newsos4/__wait.c: Likewise. + * sysdeps/unix/bsd/sun/sunos4/__wait.c: Likewise. + * sysdeps/unix/bsd/sun/sunos3/m68k/__wait.S: Likewise. + * sysdeps/unix/bsd/vax/__wait.S: Likewise. + * sysdeps/unix/bsd/m68k/__wait.S: Likewise. + * sysdeps/unix/bsd/bsd4.4/__wait.c: Likewise. + * sysdeps/unix/sysv/i386/linux/__wait.S: Likewise. + * sysdeps/unix/sysv/irix4/__wait.S: Likewise. + * sysdeps/unix/i386/__wait.S: Likewise. + * sysdeps/unix/mips/__wait.S: Likewise. + * sysdeps/posix/__wait3.c: Renamed to wait3.c; added weak alias wait3. + * sysdeps/stub/__wait3.c: Likewise. + * sysdeps/unix/bsd/sony/newsos4/__wait3.c: Likewise. + * sysdeps/unix/bsd/sun/sunos4/__wait3.c: Likewise. + * sysdeps/unix/bsd/vax/__wait3.S: Likewise. + * sysdeps/unix/bsd/i386/__wait3.S: Likewise. + * sysdeps/unix/bsd/hp/m68k/__wait3.S: Likewise. + * sysdeps/unix/bsd/ultrix4/__wait3.S: Likewise. + * sysdeps/unix/bsd/bsd4.4/__wait3.c: Likewise. + * sysdeps/unix/sysv/irix4/__wait3.S: Likewise. + * sysdeps/stub/__wait4.c: Renamed to wait4.c; added weak alias wait4. + * sysdeps/unix/bsd/sony/newsos4/__wait4.c: Likewise. + * sysdeps/unix/bsd/sun/sunos4/__wait4.c: Likewise. + * sysdeps/unix/bsd/bsd4.4/__wait4.S: Likewise. + * sysdeps/unix/bsd/osf1/alpha/__wait4.S: Likewise. + * sysdeps/unix/sysv/linux/__wait4.S: Likewise. + * sysdeps/mach/hurd/__wait4.c: Likewise. + * sysdeps/stub/__waitpid.c: Renamed to waitpid.c; added weak alias + waitpid. + * sysdeps/unix/bsd/sun/sunos4/__waitpid.c: Likewise. + * sysdeps/unix/bsd/ultrix4/__waitpid.S: Likewise. + * sysdeps/unix/bsd/bsd4.4/__waitpid.c: Likewise. + * sysdeps/unix/bsd/osf1/alpha/__waitpid.c: Likewise. + * sysdeps/unix/sysv/linux/__waitpid.S: Likewise. + * sysdeps/unix/sysv/sysv4/__waitpid.c: Likewise. + * sysdeps/unix/sysv/sco3.2.4/__waitpid.S: Likewise. + * sysdeps/unix/sysv/irix4/__waitpid.c: Likewise. + * sysdeps/stub/__write.c: Renamed to write.c; added weak alias write. + * sysdeps/unix/__write.S: Likewise. + * sysdeps/mach/hurd/__write.c: Likewise. + * sysdeps/standalone/__write.c: Likewise. + * sysdeps/stub/__tcgetatr.c: Renamed to tcgetattr.c; added weak + alias tcgetattr. + * sysdeps/unix/bsd/__tcgetatr.c: Likewise. + * sysdeps/unix/bsd/sun/sunos4/__tcgetatr.c: Likewise. + * sysdeps/unix/bsd/bsd4.4/__tcgetatr.c: Likewise. + * sysdeps/unix/sysv/__tcgetatr.c: Likewise. + * sysdeps/stub/__sigact.c: Renamed to sigaction.c; added weak + alias sigaction. + * sysdeps/unix/bsd/__sigact.c: Likewise. + * sysdeps/unix/sysv/__sigact.c: Likewise. + * sysdeps/unix/sysv/sysv4/__sigact.c: Likewise. + * sysdeps/unix/sysv/sco3.2.4/__sigact.S: Likewise. + * sysdeps/mach/hurd/__sigact.c: Likewise. + * sysdeps/posix/__sigstmsk.c: Renamed to sigsetmask.c; added weak + alias sigsetmask. + * sysdeps/stub/__sigstmsk.c: Likewise. + * sysdeps/unix/bsd/__sigstmsk.S: Likewise. + * sysdeps/unix/bsd/bsd4.4/__sigstmsk.c: Likewise. + * sysdeps/unix/bsd/osf1/alpha/__sigstmsk.S: Likewise. + * sysdeps/stub/__getrusag.c: Renamed to getrusage.c; added weak + alias getrusage. + * sysdeps/unix/sysv/irix4/__getrusag.c: Likewise. + * sysdeps/unix/common/__getrusag.S: Likewise. + * hurd/task2pid.c: File removed. + * hurd/setauth.c: File removed. + * hurd/pid2task.c: File removed. + * hurd/hurdsyms.c: File removed. + * hurd/getdport.c: File removed. + * hurd/fopenport.c: File removed. + * mach/thread-sym.c: File removed. + * mach/spin-syms.c: File removed. + * mach/msgserver_t.c: File removed. + * mach/msgserver.c: File removed. + * mach/msg.c: File removed. + * mach/mig_syms.c: File removed. + * malloc/mcheck-init.c: File removed. + * malloc/cfree.c: File removed. + * io/flock.c: File removed. + * io/write.c: File removed. + * io/unlink.c: File removed. + * io/umask.c: File removed. + * io/symlink.c: File removed. + * io/rmdir.c: File removed. + * io/readlink.c: File removed. + * io/read.c: File removed. + * io/pipe.c: File removed. + * io/open.c: File removed. + * io/mkdir.c: File removed. + * io/lstat.c: File removed. + * io/lseek.c: File removed. + * io/link.c: File removed. + * io/isatty.c: File removed. + * io/stat.c: File removed. + * io/fstat.c: File removed. + * io/fchown.c: File removed. + * io/fchmod.c: File removed. + * io/dup2.c: File removed. + * io/dup.c: File removed. + * io/close.c: File removed. + * io/fcntl.c: File removed. + * io/chmod.c: File removed. + * io/chdir.c: File removed. + * io/access.c: File removed. + * io/chown.c: File removed. + * time/tzset.c: File removed. + * time/timelocal.c: File removed. + * time/syms-time.c: File removed. + * time/settod.c: File removed. + * time/setitmr.c: File removed. + * time/gettod.c: File removed. + * time/getitmr.c: File removed. + * time/adjtime.c: File removed. + * termios/tcgetattr.c: File removed. + * string/stpncpy.c: File removed. + * string/rindex.c: File removed. + * string/memccpy.c: File removed. + * string/index.c: File removed. + * string/bcmp.c: File removed. + * stdlib/srand.c: File removed. + * stdlib/random.c: File removed. + * stdio/vsscanf.c: File removed. + * stdio/vfscanf.c: File removed. + * stdio/syms-stdio.c: File removed. + * stdio/remove.c: File removed. + * stdio/getline.c: File removed. + * stdio/getdelim.c: File removed. + * signal/ssignal.c: File removed. + * signal/sigvec.c: File removed. + * signal/sigsetmask.c: File removed. + * signal/sigret.c: File removed. + * signal/sigproc.c: File removed. + * signal/sigpause.c: File removed. + * signal/sigblock.c: File removed. + * signal/sigaction.c: File removed. + * signal/kill.c: File removed. + * signal/gsignal.c: File removed. + * setjmp/siglongjmp.c: File removed. + * setjmp/_longjmp.c: File removed. + * resource/getrusage.c: File removed. + * posix/waitpid.c: File removed. + * posix/wait4.c: File removed. + * posix/wait3.c: File removed. + * posix/wait.c: File removed. + * posix/times.c: File removed. + * posix/sysconf.c: File removed. + * posix/setuid.c: File removed. + * posix/setsid.c: File removed. + * posix/setpgrp.c: File removed. + * posix/setpgid.c: File removed. + * posix/setgid.c: File removed. + * posix/pathconf.c: File removed. + * posix/getuid.c: File removed. + * posix/getppid.c: File removed. + * posix/getpid.c: File removed. + * posix/getgrps.c: File removed. + * posix/getgid.c: File removed. + * posix/geteuid.c: File removed. + * posix/getegid.c: File removed. + * posix/fpathcon.c: File removed. + * posix/fork.c: File removed. + * posix/execve.c: File removed. + * posix/environ.c: File removed. + * misc/utimes.c: File removed. + * misc/setreuid.c: File removed. + * misc/setregid.c: File removed. + * misc/select.c: File removed. + * misc/sbrk.c: File removed. + * misc/mknod.c: File removed. + * misc/ioctl.c: File removed. + * misc/getpgsz.c: File removed. + * misc/gethstnm.c: File removed. + * misc/getdtsz.c: File removed. + * misc/data_start.c: File removed. + * misc/brk.c: File removed. + * math/scalb.c: File removed. + * math/rint.c: File removed. + * math/logb.c: File removed. + * math/isnan.c: File removed. + * math/isinf.c: File removed. + * math/infnan.c: File removed. + * math/finite.c: File removed. + * math/expm1.c: File removed. + * math/drem.c: File removed. + * math/copysign.c: File removed. + * math/__scalb.c: File removed. + * dirent/getdents.c: File removed. + +Fri Jan 20 16:11:06 1995 Roland McGrath + + * sysdeps/generic/morecore.c (__default_morecore): Use + __malloc_ptrdiff_t; don't cast arg to int. + + * resolv/getnetnamadr.c: Include "conf/portability.h". + +Thu Jan 19 02:20:04 1995 Roland McGrath + + * stdlib/strtol.c: Include errno.h. + [QUAD] (ULONG_MAX): Define to a static variable initialized to + ULONG_LONG_MAX. This is to work around a GCC bug in using the + constant in arithmetic. + + * posix/unistd.h (daemon): Declare it. + + * malloc/mcheck-init.c: Remove GNU ld hacks. + (__malloc_initialize_hook): Initialize this hook to turn_on_mcheck. + * malloc/malloc.c (__malloc_initialize_hook): New hook variable. + (initialize): Call the hook if set. + * malloc/malloc.h: Use __malloc_{size,ptrdiff}_t in prototypes. + (__malloc_initialize_hook): Declare new hook variable. + +Wed Jan 18 01:43:39 1995 Roland McGrath + + * hurd/hurdsig.c: Prepend `msg_' to server RPC names. + * hurd/hurdpid.c: Likewise. + * hurd/hurdauth.c: Likewise. + +Tue Jan 17 03:16:47 1995 Roland McGrath + + * sysdeps/mach/hurd/__select.c: If some replies are EINTR, succeed + if any are successful. + + * hurd/hurdmsg.c: Prepend `msg_' to all RPC names. + (_S_msg_get_exec_flags, _S_msg_set_exec_flags, + _S_msg_set_some_exec_flags, _S_msg_clear_some_exec_flags): New + functions. + (_S_io_select_done, _S_dir_changed, _S_file_changed): Stubs removed. + + * hurd/hurdkill.c: __sig_post renamed to __msg_sig_post. + * hurd/hurd-raise.c: Likewise. + * hurd/hurdsig.c (post_reply): Prepend `msg_' to RPC names. + + * sysdeps/mach/hurd/ptrace.c: New file. + + * sysdeps/mach/hurd/__select.c: Revamped to use new io_select + interface, which has normal EINTR semantics. Instead of waiting + for io_select_done notification messages, send io_select messages + with short reply timeout and then wait for io_select_reply + messages. + + * hurd/hurdexec.c (_hurd_exec): Pass (_hurd_exec_flags & + EXEC_INHERITED) to file_exec. + + * hurd/hurdsig.c (post_reply): Take new arg UNTRACED; if nonzero, + use sig_post_untraced_reply. All callers changed. + (abort_thread, abort_rpcs): Take same new arg and pass it through. + All callers changed. + (_hurd_internal_post_signal): Take new arg UNTRACED. + If zero and process is traced, stop with SIGNO as stop signal. If + nonzero, resume process before delivering signal (unless + ACT==stop). Expand local fn sigwakeup into block at end taken iff + SIGNO!=0. + (signal_allowed): New function, broken out of _S_sig_post. + (_S_sig_post): Call it. Pass UNTRACED arg of false to + _hurd_internal_post_signal. + (_S_sig_post_untraced): New function. Just like _S_sig_post, but + pass true for UNTRACED. + * hurd/hurd/signal.h (_hurd_internal_post_signal): Take new arg + UNTRACED. + * hurd/catch-exc.c (_S_catch_exception_raise): Pass UNTRACED arg + to _hurd_internal_post_signal (value zero). + +Mon Jan 16 16:40:01 1995 Roland McGrath + + * hurd/hurdinit.c (_hurd_exec_flags): New variable. + (_hurd_init): Initialize it from FLAGS arg. + (_hurd_proc_init): If EXEC_TRACED is set in _hurd_exec_flags, + raise a SIGTRAP signal (with a sigcode of zero). + * hurd/hurd.h (_hurd_exec_flags): Declare it. + + * Version 1.09.5. + +Mon Jan 16 16:16:55 1995 Richard Stallman + + * malloc/malloc.c (malloc): Fix 1-off in previous change. + +Mon Jan 16 15:49:07 1995 Roland McGrath + + * posix/glob/Makefile.in: Remove config.h and config.log. + +Sun Jan 15 06:56:47 1995 Roland McGrath + + * posix/glob/configure.in: Add AC_CONST check. + + * conf/portability.h: #undef sun. + * resolv/res_query.c: Updated from BIND-4.9.3-BETA17. + * resolv/getnetnamadr.c: Likewise. + + * socket/Makefile (headers): Add sockaddrcom.h. + * inet/netinet/in.h: Include . + (struct sockaddr_in): Use the __SOCKADDR_COMMON macro. + * socket/sys/un.h (struct sockaddr_in): Likewise. + * socket/sys/socket.h (struct sockaddr): Likewise. + * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: New file. + * sysdeps/generic/sockaddrcom.h: New file. + + * sysdeps/unix/sysv/sysv4/ftruncate.c: New file. + * sysdeps/unix/common/fcntlbits.h [__USE_SVID] (F_ALLOCSP, + F_FREESP): New macros. + * sysdeps/posix/truncate.c: New file. + + * malloc/malloc.c (malloc): Fix typos in RMS's change. + + * malloc/Makefile (dist-routines): Add malloc-find. + * malloc/malloc.h (malloc_find_object_address): Declare it. + * malloc/malloc-find.c: New file. + + * malloc/malloc.h (__malloc_ptrdiff_t): New macro, defined a la + __malloc_size_t. + (malloc_info): Use that type for member `busy.info.size'. + + * stdlib/strtol.c: Change uses of `long' keyword throughout to use + `LONG' macro. + [! QUAD] (LONG): Define as long. + [QUAD] (LONG): Define as long long. + [QUAD] (LONG_MIN, LONG_MAX, ULONG_MAX): Redefine to long long + versions. + [QUAD] (strtoul, strtol): Define to strtouq, strtoq. + * stdlib/Makefile (routines): Add strtoq and strtouq. + * stdlib/strtoq.c, stdlib/strtouq.c: New files. + * stdlib/stdlib.h [__GNUC__ && __USE_BSD] (strtoq, strtouq): + Declare them. + + * stdio/vfprintf.c: If there was a precision specified, ignore the + 0 flag and always pad with spaces. + + * stdio/vfprintf.c: Don't use strchr to skip text until next %. + Use a loop and also stop on first !isascii char. + +Wed Jan 11 00:07:10 1995 Richard Stallman + + * malloc/malloc.h (malloc_info): Change usage of .busy.info.size. + + * malloc/malloc.c (malloc): For a multi-block object, store a + negative number into the busy.info.size of all but the first block. + +Tue Jan 10 13:45:20 1995 Brendan Kehoe + + * sysdeps/unix/bsd/ultrix4/mips/start.S: Use s0, s1, and s2 + instead of t0, t1, and t2. + +Tue Jan 10 05:53:50 1995 Roland McGrath + + * malloc/memalign.c (__memalign_hook): New variable. + (memalign): Call it if set. + * malloc/malloc.h (__memalign_hook): Declare new variable. + +Wed Dec 28 03:27:21 1994 Roland McGrath + + * conf/portability.h: Include string.h and stdlib.h. + * inet/netdb.h (NETDB_INTERNAL, NETDB_SUCCESS): New macros. + * resolv/resolv.h, resolv/arpa/nameser.h, resolv/gethnamaddr.c, + resolv/getnetbyname.c, resolv/getnetent.c, resolv/herror.c, + resolv/res_mkquery.c, resolv/res_send.c, resolv/res_comp.c, + resolv/res_debug.c, resolv/res_init.c: Updated from BIND 4.9.3-BETA14. + + * sysdeps/m68k/fpu/__math.h (__m81_inline): New macro. Replace + all uses of `extern __inline' with `__m81_inline'. + + * sysdeps/unix/bsd/hp/m68k/__vfork.S: Use subl, not decl. + * sysdeps/unix/__fork.S: Swap args in subl. + + * posix/sys/types.h [__USE_MISC] (ushort, uint): New typedefs, for + compatibility. + +Tue Dec 20 13:33:20 1994 Michael I Bushnell + + * sysdeps/mach/hurd/__setpgrp.c (__setpgrp): Use __swtch_pri instead + of swtch. + * sysdeps/mach/hurd/__setsid.c (__setsid): Likewise. + * mach/spin-solid.c (__spin_lock_solid): Likewise. + +Thu Dec 15 12:01:07 1994 Roland McGrath + + * inet/rcmd.c (iruserok): Use alloca instead of fixed-size buffer + for PBUF. + (__ivaliduser): Use getline instead of fgets with fixed-size buffer. + + * sysdeps/mach/hurd/Makefile (subdirs): Don't elide inet. + +Wed Dec 14 18:20:56 1994 Roland McGrath + + * sysdeps/alpha/bsd-setjmp.S: Reverse register and immediate args + in `bis' insn; immediate must be second. + + * sysdeps/unix/__fork.S: Use subl instead of decl. + * sysdeps/unix/i386/__fork.S: New file. + + * sysdeps/mach/hurd/alpha/trampoline.c (_hurd_setup_sighandler): + Remove A macro; just use `asm volatile' with proper quotes in each + line. + * sysdeps/mach/alpha/sysdep.h (CALL_WITH_SP): Put parens around + jmp target register. + + * time/africa, time/asia, time/australasia, time/emkdir.c, + time/europe, time/ialloc.c, time/northamerica, time/private.h, + time/scheck.c, time/yearistype, time/zdump.c, time/zic.c: New code + and data from ADO 94h distribution. + + * sysdeps/sparc/setjmp.S: Use sethi and or to put address of + __sigjmp_save in %g1 and jmp there. jmp cannot contain a complete + absolute pointer. Put second store in jmp delay slot. + +Tue Dec 13 15:47:52 1994 Roland McGrath + + * sysdeps/sparc/bsd-_setjmp.S: Use sethi and or to put address of + __sigsetjmp in %g1 and jmp there. jmp cannot contain a complete + absolute pointer. + * sysdeps/sparc/bsd-setjmp.S: Likewise. + + * configure.in: Use ; before } in { ... } exprs. -See ChangeLog.5 for earlier changes. +See ChangeLog.4 for earlier changes. diff --git a/ChangeLog.7 b/ChangeLog.7 index cc1a5a79f8..96fdef90b7 100644 --- a/ChangeLog.7 +++ b/ChangeLog.7 @@ -1,5252 +1,2000 @@ -1997-11-13 20:39 Ulrich Drepper +Sun Jan 26 23:24:50 1997 Ulrich Drepper + + * Version 2.0 net release. + + * Make-dist: Don't take care for two malloc directories. + +Sun Jan 26 22:44:38 1997 Andreas Jaeger + + * mcheck.h: Adopted to new-malloc/malloc change. + +Sun Jan 26 13:39:31 1997 Ulrich Drepper + + * sysdeps/unix/sysv/linux/alpha/Dist: Correct distribution of + kernel_*.h files. + + * Make-dist: Don't mention new-malloc for dirs with have to be + processed. + + * sysdeps/unix/sysv/linux/netinet/in.h (SOL_IP): Added. + * inet/netinet/tcp.h (SOL_TCP): Added. + * sysdeps/unix/sysv/linux/socketbits.h (SOL_RAW): Added. + Reported by a sun . + +Sun Jan 26 18:35:29 1997 Wolfram Gloger + + * malloc/Makefile: Remove -DMALLOC_DEBUG. Not wanted in a + released version. + * malloc/malloc.c: Change malloc_check_init() to + __malloc_check_init(). Check for NULL in calloc() when a hook is + in place. Make more variables tunable via MALLOC_... environment + variables. + * malloc/malloc.h: Change malloc_check_init() to + __malloc_check_init(). + +Sun Jan 26 05:41:42 1997 Ulrich Drepper + + * version.h (VERSION): Bump to 2.0. + (RELEASE): Now it's "experimental". + + * Makefile (subdirs): Change $(malloc) to malloc. We have only + one malloc implementation again. + * malloc/*: Remove from GNU libc. + * new-malloc/* Move to malloc/. + * config.make.in (defines): Remove @USE_NEW_MALLOC@. + * configure.in: Remove --enable-new-malloc option and check for + malloc implementation choice. + * malloc.h: We don't need to check for the implementation to use + anymore. Simply include malloc/malloc.h. + * malloc/Makefile (subdir): Change to malloc. + * sysdeps/unix/sysv/linux/configure.in: Don't set malloc anymore. + + * Makefile: Add special goal to generate only-MD5 based crypt + library. + * md5-crypt/Makefile: Likewise. + + * stdio-common/tstscanf.c: De-ANSI-declfy. Update copyright. + (rounds): Change type to size_t to prevent warning. - * sysdeps/m68k/bits/nan.h: Removed. The generic version is usable. + * wcsmbs/btowc.c: Reformat copyright. + * wcsmbs/mbrlen.c: Likewise. + * wcsmbs/mbsinit.c: Likewise. + * wcsmbs/mbsnrtowcs.c: Likewise. + * wcsmbs/mbsrtowcs.c: Likewise. + * wcsmbs/wcpcpy.c: Likewise. + * wcsmbs/wcpncpy.c: Likewise. + * wcsmbs/wcscat.c: Likewise. + * wcsmbs/wcscmp.c: Likewise. + * wcsmbs/wcscoll.c: Likewise. + * wcsmbs/wcscpy.c: Likewise. + * wcsmbs/wcscspn.c: Likewise. + * wcsmbs/wcsdup.c: Likewise. + * wcsmbs/wcslen.c: Likewise. + * wcsmbs/wcsncat.c: Likewise. + * wcsmbs/wcsncpy.c: Likewise. + * wcsmbs/wcsnrtombs.c: Likewise. + * wcsmbs/wcsrtombs.c: Likewise. + * wcsmbs/wcsspn.c: Likewise. + * wcsmbs/wcsstr.c: Likewise. + * wcsmbs/wcstod.c: Likewise. + * wcsmbs/wcstof.c: Likewise. + * wcsmbs/wcstok.c: Likewise. + * wcsmbs/wcstol.c: Likewise. + * wcsmbs/wcstold.c: Likewise. + * wcsmbs/wcstoq.c: Likewise. + * wcsmbs/wcstoul.c: Likewise. + * wcsmbs/wcstouq.c: Likewise. + * wcsmbs/wcswidth.c: Likewise. + * wcsmbs/wcsxfrm.c: Likewise. + * wcsmbs/wctob.c: Likewise. + * wcsmbs/wcwidth.c: Likewise. + * wcsmbs/wcwidth.h: Likewise. + * wcsmbs/wmemchr.c: Likewise. + * wcsmbs/wmemcmp.c: Likewise. + * wcsmbs/wmemmove.c: Likewise. + * wcsmbs/wmemset.c: Likewise. + +Sat Jan 25 03:34:14 1997 Ulrich Drepper + + * sysdeps/unix/sysv/linux/termbits.h: Protect against multiple + inclusion. Reported by a sun . + +Sat Jan 25 02:05:19 1997 Eirik Fuller + + * sysdeps/unix/sysv/linux/alpha/ioperm.c: Rename T2_SPARSE_BASE and + T2_DENSE_BASE to T2_SPARSE_MEM and T2_DENSE_MEM resp. + +Thu Jan 23 11:13:46 1997 Andreas Schwab + + * sysdeps/unix/sysv/linux/usleep.c: Normalize the time + specification. + +Fri Jan 24 14:33:45 1997 Ulrich Drepper + + * sysdeps/generic/socketbits.h: Also make SOCK_* constants available + as macros so that #ifdef works. + * sysdeps/unix/sysv/linux/socketbits.h: Likewise. + +1997-01-23 Paul Eggert + + * login/utmp_db.c, manual/time.texi, shlib-versions, sunrpc/rpc/svc.h, + sunrpc/rpcsvc/sm_inter.x, sysdeps/generic/abort.c, + sysdeps/libm-ieee754/e_sinhl.c, sysdeps/unix/sysv/linux/net/route.h, + sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Spell fixes. + +1997-01-23 Paul Eggert + + * mktime.c (mktime): Invoke __tzset, not __tzset_internal, to set tz, + so that tzname is set as POSIX requires. + +Fri Jan 24 02:49:18 1997 Ulrich Drepper + + * dirent/dirent.h: Declare readdir_r also when __USE_POSIX. + * grp/grp.h: Declare *_r functions also when __USE_POSIX. + * pwd/pwd.h: Likewise. + * time/time.h: Likewise. + * posix/unistd.h: Declare ttyname_r also when __USE_POSIX. + * string/string.h: Declare strtok_r also when __USE_POSIX. + + * stdio-common/bug7.c: Use tmpnam to generate names for test files. + + * stdio-common/tmpnam.c: Update copyright. + * stdio-common/tmpnam_r.c: Likewise. + + * sysdeps/unix/sysv/linux/alpha/sys/kernel_termios.h: Protect + against multiple inclusion. Include . + * sysdeps/unix/sysv/linux/sys/kernel_termios.h: Likewise. + + * sysdeps/unix/sysv/linux/net/if.h: Update according to recent + kernel headers. Patch by Philip Blundell . + +Thu Jan 23 17:42:00 1997 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sparc/clone.S: Correct author attribution. + + * sysdeps/unix/sysv/linux/net/if_arp (MAX_ADDR_LEN): Add definition. + +Thu Jan 23 14:20:34 1997 Ulrich Drepper + + * time/tzfile.c (__tzfile_read): Don't allow arbitrary files to be + read when running a setuid program. + +Thu Jan 23 04:06:42 1997 Ulrich Drepper + + * Make-dist (.PHONY: dist): Remove duplicate declaration. + (README): Depend on version.h not version.c. + * Makefile (README): Depend on version.h not version.c. + + * Makeconfig (inst_libdir, inst_slibdir, inst_includedir, + inst_datadir, inst_zonedir, inst_localedir, inst_i18ndir, inst_bindir, + inst_sbindir, inst_infodir, inst_sysconfdir): New variables. Same + as variable withough inst_ but prepended with $(install_root). + (localtime-time): Use $(inst_sysconfdir) not $(sysconfdir). + * Makefile (install-others): Use $(inst_includedir). + (gnu/stabs.h, gnu/lib-names.h): Use $(inst_includedir). + * Makerules (tons of install rules): Use inst_% variables. + * elf/Makefile: Likewise. + * hurd/Makefile: Likewise. + * intl/Makefile: Likewise. + * manual/Makefile: Likewise. + * po/Makefile: Likewise. + * sunrpc/Makefile: Likewise. + * sysdeps/mach/hurd/Makefile: Likewise. + * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise. + * time/Makefile: Likewise. -1997-11-13 Andreas Jaeger + * config.make.in: Revert patch from Sat Jan 18 22:15:26 1997, + leave install_root in place. - * manual/arith.texi: Fix typo in @ifclear. + * gnu-versions.h (_GNU_GETOPT_INTERFACE_VERSION): Define to 2. + * posix/getopt.c (GETOPT_INTERFACE_VERSION): Define to 2. + * posix/getopt1.c (GETOPT_INTERFACE_VERSION): Define to 2. - * manual/arith.texi (Imaginary Unit): Add @end deftypevr. + * elf/Makefile [yes==$(has-ldconfig)]: Correct dependencies of + ldconfig. + (CFLAGS-dl-load.c): New variable, avoid gcc warning. -1997-11-13 Andreas Jaeger + * sysdeps/mach/hurd/configure.in: Add _LIBC_REENTRANT to DEFINES. - * sysdeps/libm-ieee754/s_nanl.c (__nanl): Use NAN instead of - NANL. + * sysdeps/mach/hurd/getdents.c: Update copyright. De-ANSI-declfy. + * sysdeps/stub/getdents.c: Likewise. Correct return value. + * sysdeps/unix/getdents.c: Likewise. + * sysdeps/unix/sysv/getdents.c: Likewise. - * sysdeps/libm-ieee754/s_nanf.c (__nanf): Use NAN instead of - NANF. + * sysdeps/unix/readdir.c: Update copyright. -1997-11-13 01:07 Ulrich Drepper + * sysdeps/unix/bsd/sony/newsos4/Makefile: Correct ifeq arguments. + * sysdeps/unix/bsd/sun/sunos4/Makefile: Likewise. + * sysdeps/unix/sysv/Makefile: Likewise. + * sysdeps/unix/sysv/linux/Makefile: Likewise. + * sysdeps/unix/sysv/linux/alpha/Makefile: Likewise. + * sysdeps/unix/sysv/linux/i386/Makefile: Likewise. - * manual/arith.texi: Update documentation according to most recent - ISO C 9X draft. - Document fma, fdim, fmin, and fmax. - * manual/math.texi: Allow multiple defitino of mul etc. - - * math/complex.h (I): Define using _Complex_U not _Imaginary_I. - - * math/libm-test.c: Add tests for fma. - - * math/math.h: Describe DECIMAL_DIG macro. Pretty print. - - * sysdeps/alpha/fpu/bits/mathdef.h: Define INFINITY as of type float. - Define DECIMAL_DIG. - * sysdeps/generic/bits/mathdef.h: Likewise. - * sysdeps/i386/bits/mathdef.h: Likewise. - * sysdeps/m68k/fpu/bits/mathdef.h: Likewise. - * sysdeps/powerpc/bits/mathdef.h: Likewise. - * sysdeps/sparc/fpu/bits/mathdef.h: Likewise. - - * sysdeps/ieee754/bits/nan.h: Define NAN as of type float. - * sysdeps/m68k/bits/nan.h. Likewise. Remove NANF and NANL. - -1997-11-12 17:50 Ulrich Drepper - - * sunrpc/xcrypt.c: Don't process #ident preprocessor instruction. - Reported by Philip Blundell . - - * string/strndup.c: Use K&R like definition. - - * sysdeps/unix/sysv/linux/getcwd.c: New file. Use kernel information - instead of longish search for the name. - * sysdeps/posix/getcwd.c: Add support for use of the code as a - backup solution. - -1997-11-12 15:31 Philip Blundell - - * sysdeps/unix/sysv/linux/arm/sysdep.h (SYS_ify): Don't add - SWI_BASE in twice. - - * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter): - Use correct name to access PC. - - * sysdeps/unix/arm/sysdep.S: Include not . - - * sysdeps/generic/bits/types.h: Add __ino64_t and __off64_t. - * sysdeps/generic/bits/stat.h: Add struct stat64. - -1997-11-12 16:08 Ulrich Drepper - - * intl/loadmsgcat.c [_LIBC] (fstat): Don't define as __fstat since - now we have a definition as _fxstat. - * libio/fileops.c: Likewise. - * libio/oldfileops.c: Likewise. - Reported by Andreas Jaeger . - -1997-11-12 Andreas Jaeger - - * sysdeps/wordsize-32/inttypes.h (SIG_ATOMIC_MAX): Correct value. - * sysdeps/wordsize-64/inttypes.h (SIG_ATOMIC_MAX): Likewise. - -1997-11-11 Paul Eggert - - Add overflow checking for 64-bit time_t and 32-bit int. - - * time/time.h (__offtime): Now returns int. - - * time/offtime.c (__offtime): Return nonzero if successful; - check for tm_year overflow. - (DIV): New macro. - (LEAPS_THRU_END_OF): Handle negative years correctly. - - * time/tzset.c (__tz_convert): Return NULL if offtime cannot convert. - - * time/mktime.c (ranged_convert): New function. - (ydhms_tm_diff): Return nonzero if TP is null. - (__mktime_internal): Handle cases correctly even if they are near or - past the limits of time_t values that can be broken down to struct tm. - (print_tm, check_result, main): Diagnose localtime failures. - - * manual/time.texi: Document the fact that localtime returns 0 - if the time can't be represented. - -1997-11-12 06:03 Ulrich Drepper - - * time/strftime.c (memset_space, memset_zero): Use MEMPCPY, not - mempcpy. Patch by Ken'ichi Handa . - - * manual/time.texi: Document %F and %f format for strftime. - - * manual/arith.texi: Document copysign, nextafter and nan. - -1997-11-06 Andreas Jaeger - - * test-installation.pl: New file. Tests for some installation - problems. - -1997-11-11 21:30 Ulrich Drepper - - * include/sys/stat.h: Define stat, fstat, lstat and *64 variants - as macros so the the library compiles correctly even without - optimization. - * io/fstat.c: Undef fstat. - * io/fstat64.c: Undef fstat64 - * io/lstat.c: Undef lstat. - * io/lstat64.c: Undef lstat64 - * io/stat.c: Undef stat. - * io/stat64.c: Undef stat64 - * io/fts.c: Include to get macro definitions. - * io/ftw.c: Likewise. - * io/getdirname.c: Likewise. - - * Makefile (install): Run test-installation.pl if possible. - - * db2/Makefile: Update from db-2.3.12. - * db2/db.h: Likewise. - * db2/db_int.h: Likewise. - * db2/btree/bt_cursor.c: Likewise. - * db2/btree/bt_delete.c: Likewise. - * db2/btree/bt_open.c: Likewise. - * db2/btree/bt_put.c: Likewise. - * db2/btree/bt_rec.c: Likewise. - * db2/btree/bt_recno.c: Likewise. - * db2/btree/bt_search.c: Likewise. - * db2/btree/bt_split.c: Likewise. - * db2/btree/bt_stat.c: Likewise. - * db2/btree/btree.src: Likewise. - * db2/btree/btree_auto.c: Likewise. - * db2/btree/bt_cursor.c: Likewise. - * db2/btree/bt_delete.c: Likewise. - * db2/btree/bt_open.c: Likewise. - * db2/btree/bt_put.c: Likewise. - * db2/btree/bt_rec.c: Likewise. - * db2/btree/bt_recno.c: Likewise. - * db2/btree/bt_search.c: Likewise. - * db2/btree/bt_split.c: Likewise. - * db2/btree/bt_stat.c: Likewise. - * db2/btree/btree.src: Likewise. - * db2/btree/btree_auto.c: Likewise. - * db2/common/db_appinit.c: Likewise. - * db2/common/db_apprec.c: Likewise. - * db2/common/db_byteorder.c: Likewise. - * db2/common/db_region.c: Likewise. - * db2/db/db.c: Likewise - * db2/db/db.src: Likewise - * db2/db/db_auto.c: Likewise - * db2/db/db_dispatch.c: Likewise - * db2/db/db_dup.c: Likewise - * db2/db/db_overflow.c: Likewise - * db2/db/db_pr.c: Likewise - * db2/db/db_rec.c: Likewise - * db2/db/db_ret.c: Likewise - * db2/db/db_thread.c: Likewise - * db2/db185/db185.c: Likewise. - * db2/hash/hash.c: Likewise. - * db2/hash/hash.src: Likewise. - * db2/hash/hash_auto.c: Likewise. - * db2/hash/hash_dup.c: Likewise. - * db2/hash/hash_page.c: Likewise. - * db2/hash/hash_rec.c: Likewise. - * db2/include/btree_auto.h: Likewise. - * db2/include/btree_ext.h: Likewise. - * db2/include/clib_ext.h: Likewise. - * db2/include/common_ext.h: Likewise. - * db2/include/db.h.src: Likewise. - * db2/include/db_am.h: Likewise. - * db2/include/db_auto.h: Likewise. - * db2/include/db_cxx.h: Likewise. - * db2/include/db_ext.h: Likewise. - * db2/include/db_int.h.src: Likewise. - * db2/include/hash.h: Likewise. - * db2/include/hash_auto.h: Likewise. - * db2/include/hash_ext.h: Likewise. - * db2/include/lock.h: Likewise. - * db2/include/lock_ext.h: Likewise. - * db2/include/log.h: Likewise. - * db2/include/log_ext.h: Likewise. - * db2/include/mp.h: Likewise. - * db2/include/mp_ext.h: Likewise. - * db2/include/mutex_ext.h: Likewise. - * db2/include/os_ext.h: Likewise. - * db2/include/os_func.h: Likewise. - * db2/include/txn.h: Likewise. - * db2/include/txn_ext.h: Likewise. - * db2/lock/lock.c: Likewise. - * db2/lock/lock_deadlock.c: Likewise. - * db2/log/log.c: Likewise. - * db2/log/log_archive.c: Likewise. - * db2/log/log_auto.c: Likewise. - * db2/log/log_findckp.c: Likewise. - * db2/log/log_get.c: Likewise. - * db2/log/log_put.c: Likewise. - * db2/log/log_rec.c: Likewise. - * db2/log/log_register.c: Likewise. - * db2/mp/mp_bh.c: Likewise. - * db2/mp/mp_fget.c: Likewise. - * db2/mp/mp_fopen.c: Likewise. - * db2/mp/mp_fput.c: Likewise. - * db2/mp/mp_fset.c: Likewise. - * db2/mp/mp_open.c: Likewise. - * db2/mp/mp_pr.c: Likewise. - * db2/mp/mp_region.c: Likewise. - * db2/mp/mp_sync.c: Likewise. - * db2/mutex/mutex.c: Likewise. - * db2/os/os_abs.c: Likewise. - * db2/os/os_dir.c: Likewise. - * db2/os/os_fid.c: Likewise. - * db2/os/os_fsync.c: Likewise. - * db2/os/os_func.c: Likewise. - * db2/os/os_map.c: Likewise. - * db2/os/os_oflags.c: Likewise. - * db2/os/os_open.c: Likewise. - * db2/os/os_rpath.c: Likewise. - * db2/os/os_rw.c: Likewise. - * db2/os/os_seek.c: Likewise. - * db2/os/os_sleep.c: Likewise. - * db2/os/os_stat.c: Likewise. - * db2/os/os_unlink.c: Likewise. - * db2/progs/db_deadlock/db_deadlock.c: Likewise. - * db2/progs/db_dump/db_dump.c: Likewise. - * db2/progs/db_load/db_load.c: Likewise. - * db2/progs/db_recover/db_recover.c: Likewise. - * db2/progs/db_stat/db_stat.c: Likewise. - * db2/txn/txn.c: Likewise. - * db2/txn/txn_auto.c: Likewise. - * db2/txn/txn_rec.c: Likewise. - * db2/os/db_os_abs.c: Removed. - * db2/os/db_os_dir.c: Removed. - * db2/os/db_os_fid.c: Removed. - * db2/os/db_os_lseek.c: Removed. - * db2/os/db_os_mmap.c: Removed. - * db2/os/db_os_open.c: Removed. - * db2/os/db_os_rw.c: Removed. - * db2/os/db_os_sleep.c: Removed. - * db2/os/db_os_stat.c: Removed. - * db2/os/db_os_unlink.c: Removed. - - * libio/stdio.h (fopen): Add __restrict to parameters. - - * manual/process.texi (system): Describe behaviour for NULL argument. - - * stdio-common/printf-parse.h: Parse hh modifier. - * stdio-common/vfprintf.c: Handle hh modifier. - * stdio-common/vfscanf.c: Likewise. - * manual/stdio.texi: Describe hh modifier for scanf/printf. - - * math/complex.h: Don't define _Imaginary_I, but instead _Complex_I. - gcc does no yet know the `imaginary' keyword. - - * math/test-math.c: Add little test for know gcc bug. - - * math/tgmath.h: Make complex versions of log10() only available - if __USE_GNU. - - * stdlib/test-canon.c: Fix typo. - - * sysdeps/generic/setenv.c: Avoid compilation warnings. - Reported by Jim Meyering. - - * sysdeps/generic/bits/errno.h: EILSEQ is an ISO C error number. - * sysdeps/mach/hurd/bits/errno.h: Likewise. - * sysdeps/standalone/bits/errno.h: Likewise. - * sysdeps/unix/sysv/linux/bits/errno.h: Likewise. - - * sysdeps/i386/i586/memcpy.S: New file. - * sysdeps/i386/i586/mempcpy.S: New file. - - * sysdeps/i386/i586/memset.S: Fix typo. - - * sysdeps/posix/getcwd.c: Define HAVE_MEMPCPY for _LIBC. Add casts. - - * sysdeps/posix/system.c: Add comment to explain code. - - * sysdeps/wordsize-32/inttypes.h: Include for wchar_t. - Define PTRDIFF_{MIN,MAX}, SIG_ATOMIC_{MIN,MAX}, SIZE_MAX, - WCHAR_{MIN,MAX}, WINT_{MIN,MAX}. - Define wcstoimax, wcstoumax. - * sysdeps/wordsize-64/inttypes.h: Likewise. - - * wcsmbs/wchar.h: Define WCHAR_{MIN,MAX} if not already defined. - Declare __wcsto{l,ul,ll,ull}_internal only if not already done. - - * time/Makefile (routines): Add strfxtime. - * time/strftime.c: Implement %F and %f format. - * time/strfxtime.c: New file. - * time/time.h: Define new types and symbols from ISO C 9X. - - * time/mktime.c: Little comment correction. - -1997-11-10 Andreas Jaeger - - * sysdeps/libm-ieee754/s_sincosl.c: Fix typo. - - * sysdeps/libm-ieee754/s_tanl.c: Fix typo. - - * sysdeps/libm-ieee754/s_floorl.c: Correct typos. - - * sysdeps/libm-ieee754/e_remainderl.c: Replace - EXTRACT_LDOUBLE_WORDS by GET_LDOUBLE_WORDS. - - * sysdeps/libm-ieee754/e_atan2l.c: Replace EXTRACT_LDOUBLE_WORDS - by GET_LDOUBLE_WORDS. - - * sysdeps/libm-ieee754/s_scalbnl.c: Replace ";" by "," for correct - variable declaration. - * sysdeps/libm-ieee754/s_scalblnl.c: Likewise. - - * sysdeps/libm-ieee754/s_lrint.c (__lrint): Correct function. - - * math/libm-test.c (sqrt_test): Add test for sqrt (0.25). - (asin_test): Add more test. - -1997-11-10 23:34 Ulrich Drepper - - * sysdeps/libm-ieee754/e_asin.c: Add braces to make code clearer - and to not confuse the poor compiler. - * sysdeps/libm-ieee754/e_asinf.c: Likewise. - Reported by vertex@cagent.com. - -1997-11-10 07:40 H.J. Lu - - * stdlib/exit.c (exit): Handle recursive calls to exit (). - -1997-11-09 Andreas Schwab - - * sysdeps/m68k/fpu/s_llrint.c: Fixed to take double argument - instead of long double. - * sysdeps/m68k/fpu/s_llrintf.c: New file. - * sysdeps/m68k/fpu/s_llrintl.c: New file. - - * sysdeps/libm-ieee754/s_llrint.c: Make compilable and fix - overflow condition. - * sysdeps/libm-ieee754/s_llrintf.c: Fix overflow condition. - * sysdeps/libm-ieee754/s_llrintl.c: Likewise. - * sysdeps/libm-ieee754/s_llround.c: Likewise. - * sysdeps/libm-ieee754/s_llroundf.c: Likewise. - * sysdeps/libm-ieee754/s_llroundl.c: Likewise. - * sysdeps/libm-ieee754/s_lrint.c: Likewise. - * sysdeps/libm-ieee754/s_lrintf.c: Likewise. - * sysdeps/libm-ieee754/s_lrintl.c: Likewise. - * sysdeps/libm-ieee754/s_lround.c: Likewise. - * sysdeps/libm-ieee754/s_lroundf.c: Likewise. - * sysdeps/libm-ieee754/s_lroundl.c: Likewise. - - * math/libm-test.c: Test all three variants of lrint and llrint. - Fix typos in lround and llround tests. Add tests for boundary - cases for lrint and llround. - -1997-11-08 Andreas Schwab - - * manual/arith.texi: Misc doc fixes. - * manual/ctype.texi: Likewise. - * manual/pattern.texi: Likewise. - * manual/terminal.texi: Likewise. - -1997-11-08 Andreas Schwab - - * sysdeps/unix/sysv/linux/xstatconv.c: Use struct assignment - instead of memcpy to let the compiler use whatever it regards as - optimal. - * sysdeps/unix/sysv/linux/alpha/xstatconv.c: Likewise. - -1997-11-08 Andreas Schwab - - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) - [$(subdir)=misc]: Add sys/prctl.h. - * sysdeps/unix/sysv/linux/Dist: Distribute it. - -1997-11-08 Andreas Schwab - - * io/ftwtest-sh: Don't use the unknown which command, instead try - pwd as /bin/pwd and /usr/bin/pwd. - -1997-11-08 Andreas Schwab - - * manual/maint.texi (Tools for Installation): Don't recommend - broken version 3.76.1 of make. - (Porting): Fix wording. - -1997-11-06 06:13 H.J. Lu - - * config.make.in (build-pic-default): New, defined with - pic_default. - - * configure.in (pic_default): New, set to yes if PIC is - default. - - * Makeconfig (CPPFLAGS-.o, CPPFLAGS-.op, CPPFLAGS-.og, - CPPFLAGS-.ob): Add -DPIC if $(build-pic-default) is yes. - -1997-11-09 18:15 Ulrich Drepper - - * Makerules (libc.so): Fix typo. - - * csu/Makefile (CFLAGS-initfini.s): Correctly fix moving function - definition. Patch by Zack Weinberg . - - * stdlib/strtod.c: Handle numbers like 0.0e10000 correctly which - produce ±0.0. Reported by Joe Keane . - - * sysdeps/libm-ieee754/s_ceill.c: Fix typos. - * sysdeps/libm-ieee754/s_llrint.c: Correct code, it never worked. - -1997-11-06 07:00 H.J. Lu - - * sysdeps/unix/sysv/i386/i686/time.S: Removed. - -1997-11-08 14:07 Thorsten Kukuk - - * nis/libnsl.map: Add __do_niscall2 for nis_cachemgr. - - * nis/nis_call.c: Set UDP resend timeout correct. - - * nis/nss_compat/compat-grp.c: Rewritten to make it faster. - * nis/nss_compat/compat-pwd.c: Likewise. - * nis/nss_compat/compat-spwd.c: Likewise. - * nis/ypclnt.c: Fix UDP resend timeout, fix yp_bind/do_ypcall - interaction. - - * inet/protocols/routed.h: Include sys/socket.h. - * inet/protocols/talkd.h: Likewise. - * inet/protocols/timed.h: Include rpc/types.h. - * sunrpc/rpc/pmap_clnt.h: Include rpc/clnt.h. - -1997-11-06 01:39 Ulrich Drepper - - * Makerules (libc.so): Add missing closing brace. - -1997-11-05 Brendan Kehoe - - * libio.h (__P): Name its arg `p' instead of `params'. - This was added solely to work around problems with - the definition of __P in the Solaris math.h header. - -1997-11-06 00:06 Ulrich Drepper - - * argp/argp-help.c: Optimize a bit by using mempcpy. - * elf/dl-load.c: Likewise. - * elf/dl-lookup.c: Likewise. - * inet/rcmd.c: Likewise. - * io/ftw.c: Likewise. - * libio/fileops.c: Likewise. - * libio/genops.c: Likewise. - * libio/obprintf.c: Likewise. - * nss/nsswitch.c: Likewise. - * posix/execvp.c: Likewise. - * posix/getopt.c: Likewise. - * posix/glob.c: Likewise. - * posix/wordexp.c: Likewise. - * stdio-common/vfprintf.c: Likewise. - * stdlib/canonicalize.c: Likewise. - * stdlib/msort.c: Likewise. - * string/argz-replace.c: Likewise. - * sysdeps/generic/putenv.c: Likewise. - * sysdeps/generic/setenv.c: Likewise. - * sysdeps/posix/getcwd.c: Likewise. - * sysdeps/posix/ttyname.c: Likewise. - * sysdeps/posix/writev.c: Likewise. - * time/strftime.c: Likewise. - * time/tzfile.c: Likewise. - - * login/utmp_daemon.c: Use memcpy instead of strcpy where possible. - * sunrpc/svcauth_des.c: Likewise. - * sysdeps/unix/sysv/linux/gethostname.c: Likewise. - - * misc/tsearch.c: Use memcpy return value if possible. - * posix/regex.c: Likewise. - * sysdeps/unix/readdir_r.c: Likewise. - * wcsmbc/wcsdup.c: Likewise. - - * nss/digits_dots.c: Little optimization. - - * inet/ruserpass.c (ruserpass): Optimize by using stpcpy. - (struct toktab): Make tokstr field a const char *. - - * elf/dl-profile.c: Fix typo. - - * inet/ether_ntoh.c: Don't use relative #include path. - * inet/gethstbynm.c: Likewise. - * resolv/inet_pton.c: Likewise. - * shadow/sgetspent_r.c: Likewise. - - * libio/oldfileops.c (_IO_old_file_jumps): Use correct sync and write - callbacks. Patch by NIIBE Yutaka . - - * posix/confstr.c: Correct string for _CS_LFS_CFLAGS. - Handle _CS_XBS5_* constants. - * posix/unistd.h: Add comment describing _XBS5_* constants. - * sysdeps/generic/bits/confname.h: Add _CS_XBS5_* constants. - - * posix/regex.c: Indent preprocessor code. - - * posix/wordexp.c: Using _itoa_word instead of sprintf. - - * stdlib/canonicalize.c: Avoid unnecessary copying. Handle NULL - and "" arguments correctly according to SUS. - * stdlib/test-canon.c: Test "" and NULL argument handling. - - * sysdeps/posix/writev.c: Correct condition to leave the loop. - -1997-11-05 18:13 Ulrich Drepper - - * nss/getXXbyYY.c: Set buffer to NULL if realloc fails so that possible - next call starts with malloc again. - Proposed by Joe Keane . - -1997-11-04 23:57 Ulrich Drepper - - * configure.in: Correct gcc -pipe test. - Patch by Zack Weinberg . - - * posix/glob.c: Cleanups. Patch by H.J. Lu . - -1997-11-04 Andreas Jaeger - - * manual/creature.texi (Feature Test Macros): Add _POSIX_C_SOURCE - definition. - -1997-11-04 Ulrich Drepper - - * manual/filesys.texi: Correct description of return value for - readdir_r. - * sysdeps/unix/readdir_r.c (__readdir_r): Return value of errno - not -1 in error case. - * sysdeps/generic/readdir_r.c (__readdir_r): Return ENOSYS not -1. - Reported by Jim Meyering . - -1997-11-02 Paul Eggert - - * strftime.c: Use host's underlying strftime to access - locale-specific info. This is useful e.g. when building GNU - Emacs under Solaris 2.6. - (weekday_name, month_name): Omit if HAVE_STRFTIME. - (my_strftime): New macro, which names the strftime function that - this source file produces. - (strftime): #undef if emacs is defined; this works around Emacs 20.2's - method of compiling with -Dstrftime=emacs_strftime. - Also, declare as a function returning size_t, for similar reasons. - (my_strftime): If HAVE_STRFTIME, use underlying strftime to handle - locale-dependent formats like %a and %Ec. - -1997-11-02 Paul Eggert - - * strftime.c (memcpy_lowcase, memcpy_uppcase, strftime): - Ensure that args to islower and isupper are valid unsigned - chars, even if char is signed. - -1997-11-04 Ulrich Drepper - - * assert/Makefile (headers): Add assert.h, necessary after patch - to Makefiles. - * ctype/Makefile (headers): Likewise. - * pwd/Makefile (headers): Likewise. - * grp/Makefile (headers): Likewise. - Patch by NIIBE Yutaka . - -1997-11-04 03:08 Ulrich Drepper - - * glibcbug.in: Add information about configured target. - Patch by Zack Weinberg . - - * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Be prepared for - empty string as `reference_name' parameter. - * elf/rtld.c: Don't set real program name in l_name of main object. - - * manual/creature.texi: Apply Paul Eggert's patch for better - _POSIX_C_SOURCE description. - - * stdlib/strfmon.c: Fix numerous bugs in formatting. - - * time/strptime.c [%Y]: Treat all years, not only those which fit - in time_t. - [%Oy]: Really store value. - Patches by Paul Eggert. - - * wcsmbs/wchar.h: Fix documentation bugs. Declare wcsdup only - is __USE_GNU. - -1997-11-03 02:48 Ulrich Drepper - - * sysdeps/generic/bits/errno.h: Remove all error definitions. This - is only meant as a stub. - -1997-10-31 Andreas Jaeger - - * sysdeps/standalone/bits/errno.h: Copied from - sysdeps/generic/bits/errno.h and added all know error codes that - are used in glibc. - -1997-11-03 02:23 Ulrich Drepper - - * sysdeps/generic/make_siglist.c: Add comment to clarify use and - make sure the correct _NSIG value is used. - Patch by Klaus Espenlaub . - -1997-11-03 00:20 Ulrich Drepper - - * intl/localealias.c (read_alias_file): Correct handling of line - reader which sometimes skipped complete lines (PR 205). - Optimize a bit by using mempcpy. - -1997-11-02 16:59 Philipp Thomas - - * intl/localealias.c (read_alias_file): Correctly set map[].value - instead of overwriting map[].alias - -1997-11-02 15:32 Ulrich Drepper - - * libc.map: Add _IO_flockfile and _IO_funlockfile. - Suggested by H.J. Lu . - -1997-11-02 15:17 Ulrich Drepper - - * elf/dl-error.c (_dl_signal_error): Use _strerror_internal instead - of strerror. - * assert/assert-perr.c: Use _strerror_internal directly instead of - __strerror_r. - Suggested by Joe Keane . - -1997-11-01 16:46 Zack Weinberg - - * configure.in: Check for gcc-2.7.2 -pipe bug and hack around it - (PR 245). - -1997-11-01 Paul Eggert - - * time/strptime.c (strptime_internal): Fix bug: %Oy forgot to - assign tm_year. Do not restrict %Y to years less than 2037 even - on 32-bit time_t hosts, as strptime returns an int tm_year, not a - time_t, and it's possible for programs to use the year without - having to use time_t. - -1997-10-31 23:16 Ulrich Drepper - - * posix/glob.c (glob): If calling glob_in_dir for a list which was - generated by a glob call disable GLOB_ERR since there might be - non-directories in the list (PR 203). - - * posix/glob.h (GLOB_ONLYDIR): New flag. - (__GLOB_FLAGS): Add GLOB_ONLYDIR. - * posix/glob.c: Define HAVE_D_TYPE if _DIRENT_HAVE_D_TYPE is defined. - (glob): Add GLOB_ONLYDIR to recursive call to match dirname. - (glob_in_dir) [HAVE_D_TYPE]: While reading directory entries test - whether they are directories if GLOB_ONLYDIR flag is given. - * manual/pattern.texi: Document GLOB_ONLYDIR. - - * misc/Makefile (tests): Add tst-fdset. - - * sysdeps/i386/bits/select.h: Rewrite asm macros to be cleaner. - - * sysdeps/unix/sysv/linux/Dist: Add xstatconv.c. + * sysdeps/unix/sysv/linux/Dist: Don't distribute kernel_termios.h, + but sys/kernel_termios.h. * sysdeps/unix/sysv/linux/alpha/Dist: Likewise. + * sysdeps/unix/sysv/linux/Makefile [$(subdir)==termios] + (sysdep_headers): Add sys/kernel_termios.h. + * sysdeps/unix/sysv/linux/kernel_termios.h: Moved to... + * sysdeps/unix/sysv/linux/sys/kernel_termios.h: ...here. + * sysdeps/unix/sysv/linux/tcgetattr.c: Use __kernel_termios and + __KERNEL_NCCS instead of kernel_termios and KERNEL_NCCS resp. - * time/strptime.c (strptime_internal): In %y format, regard years - >= 69 as of twentieth century, all other as of twenty-first. + * sysdeps/unix/sysv/linux/alpha/ioctls.h: New file. - * time/tzset.c: Correct typo and little optimization. + * sysdeps/unix/sysv/linux/getdents.c: Correct problems with alignment. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove getdents. + Reported by Eirik Fuller . -1997-10-31 16:01 Ulrich Drepper + * time/Banner: Removed. Wrong and unnecessary information. It's now + in... + * time/README: New file. + * time/Makefile (distribute): Remove Banner, add README. - * inet/getnetgrent.c: Allocate buffer dynamically if needed. - Suggested by Joe Keane . +Wed Jan 22 13:19:56 1997 Richard Henderson -1997-10-31 Andreas Jaeger + * sysdeps/unix/sysv/linux/alpha/ioperm.c (platforms): Add Sable. + (init_iosys): Recognize /etc/alpha_systype as a four-tuple for + the purpose of supporting brand new systems. + (*): The type of iosys variables should be iosys_t. - * io/ftw.h: Declare __ftw64_func_t and __nftw64_func_t only when - __USE_FILE_OFFSET64 || __USE_LARGEFILE64 is true. +1997-01-22 Paul Eggert -1997-10-30 05:47 Ulrich Drepper + * strftime.c (_strftime_copytm): + New function, to work around Solaris 2.5 tzset bug. - * misc/mntent.c: Don't use statically allocated buffer. Allocate - it dynamically if necessary. - * misc/efgcvt.c: Likewise. - Patch by Joe Keane . +Wed Jan 22 23:05:14 1997 Ulrich Drepper - * misc/mntent.c: Allow freeing of allocated buffer in - __libc_subfreeres. - * misc/efgcvt.c: Likewise. + * sysdeps/mach/hurd/vdprintf.c: Complete de-ANSI-declfication. + Reported by Marcus G. Daniels . - * misc/efgcvt.c: Call correct reentrant functions. - Use better values for MAXDIG. - * misc/qefgcvt.c: Use better values for MAXDIG. +Wed Jan 22 13:58:56 1997 Andreas Jaeger -1997-10-29 18:48 Richard Henderson + * elf/Makefile (CFLAGS-dl-load.c): New Variable to keep gcc silent + since name_copy is initialized. - * sysdeps/unix/sysv/linux/Makefile [io]: Add xstatconv. - * sysdeps/unix/sysv/linux/alpha/xstatconv.c: New file. Convert - between kernel_stat and the userland version indicated. - * sysdeps/unix/sysv/linux/xstatconv.c: Likewise. - * sysdeps/unix/sysv/linux/bits/stat.h: Define _STAT_VER_KERNEL. +Wed Jan 22 16:58:12 1997 Ulrich Drepper - * sysdeps/unix/sysv/linux/fxstat.c: Defer to __xstat_conv. Alias - to __*xstat64 if requested. - * sysdeps/unix/sysv/linux/lxstat.c: Likewise. - * sysdeps/unix/sysv/linux/xstat.c: Likewise. + * stdio-common/Makefile (tests): Remove scanf11. + * stdio-common/scanf11.c: Removed. + * stdio-common/vfscanf.c Revert patch of Thu Jan 16 23:39:25 1997. + Although the Corrigendum 1 describes the result as implemented the + even more recent Amendement 1 seconds the position of ISO C:1990 + where the %n directive has no effect on the assignment count. + * stdio-common/bug10.c: Likewise. + * stdio-common/scanf1.c: Likewise. + * stdio-common/scanf3.c: Likewise. + * stdio-common/scanf10.c: Likewise. + * stdio-common/tstdiomisc.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Add struct stat64. - Increment _STAT_VER, and make struct stat the same. - * sysdeps/unix/sysv/linux/alpha/bits/types.h: Add __ino64_t, and - __off64_t. Reorganize. - * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Add struct glibc2_stat - for backward compatibility. Define XSTAT_IS_XSTAT64. + * new-malloc/obstack.h: Don't define malloc using bcopy if malloc + is not available. This leads to problems since bcopy does not + return a value. Instead define _obstack_memcpy based on memcpy or + bcopy. This name isn't used outside obstack.h and so no problems + from using the memcpy function in a file including obstack.h can + result. + Reported by Martin Trapp . - * sysdeps/unix/sysv/linux/alpha/fxstat64.c: Empty file. - * sysdeps/unix/sysv/linux/alpha/lxstat64.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/xstat64.c: Likewise. +Tue Jan 21 18:35:55 1997 Andreas Schwab - * sysdeps/unix/sysv/linux/alpha/bits/dirent.h (struct dirent): For - consistency, force d_ino to use ino_t and supply padding. + * misc/regexp.h (compile): Fix typos. -1997-10-29 18:47 Richard Henderson +Tue Jan 21 01:01:59 1997 Andreas Schwab - * libio/iofopen.c: Correct weak_alias. + * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo): Fix + type of pr_{pid,ppid,pgrp,sid} fields. + * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct + elf_prpsinfo): Likewise. -1997-10-29 Andreas Jaeger +1997-01-21 Paul Eggert - * Makerules (install): Correct last patch. + * posix/getopt.c (_getopt_internal): Return -1, not EOF, when args + are exhausted; this is required by POSIX.2. + * catgets/gencat.c, db/makedb.c, locale/programs/locale.c, + locale/programs/localedef.c, manual/examples/subopt.c, + posix/getopt.c, posix/getopt1.c, stdio-common/bug4.c, + sunrpc/rpcinfo.c (main): Check getopt return value against -1, not EOF. -1997-10-29 Andreas Jaeger +Tue Jan 21 23:10:40 1997 Ulrich Drepper - * math/libm-test.c (cbrt_test): Add epsilon for cbrt(0.970299). + * version.h (VERSION): Bump to 1.102. -1997-10-29 21:20 Ulrich Drepper + * sysdeps/unix/sysv/linux/alpha/Dist: Add kernel_sigaction.h. - * libio/strops.c (_IO_str_seekoff): If mode is zero and the read/write - pointers are tied set mode according to current stream mode. + * elf/Makefile: Don't use CFLAGS-dl-load.c, but instead + CPPFLAGS-dl-load.c so that dependencies can be determined correctly. + * elf/dl-load.c: Fix comment. - * include/features.h [_GNU_SOURCE] (_POSIX_C_SOURCE): Define to - 199506L. - Define _XOPEN_SOURCE to 500 if _POSIX_C_SOURCE is defined. - * manual/creature.texi: Describe this. + * time/Banner: New file. + * time/Makefile (distribute): Add Banner. - * manual/socket.texi: Describe connect, accept, send, sendmsg, sendto, - recv, recvfrom, and recvmsg as cancelation points. - * sysdeps/unix/inet/syscalls.list: Add __libc_* names for these - functions. + Update from ADO tzcode1997a and tzdata1997a. + * time/antarctica: Update. + * time/australia: Update. + * time/zdump.c: Update. + * time/zic.c: Update. + * time/zone.tab: Update. -1997-10-17 Andreas Jaeger +Mon Jan 20 08:38:32 1997 H.J. Lu - * Make-dist (try-sysdeps): Don't look for stub files anymore. + * config.make.in (has-ldconfig): New variable. - * manual/maint.texi (Porting): Remove another reference to stub + * configure, configure.in (has_ldconfig): New substitute. + + * sysdeps/unix/sysv/linux/configure.in (has_ldconfig): New, + check if $srcdir/elf/ldconfig.c exists. + + * Makeconfig (rootsbindir): New, default as + $(exec_prefix)/sbin. + (rtld-version-installed-name): New, default as + ld-$(version).so. + + * Makefile (install): Call `$(common-objpfx)elf/ldconfig -d' + only if $(cross-compiling) is no and $(build-shared) is yes. + + * Makerules (make-shlib-link): New macro. + ($(slibdir)/libfoo.so.$(libfoo.so-version)): Use + $(make-shlib-link) for symlink. + (install-rootsbin, install-rootsbin-nosubdir): New. + (install-no-libc.a-nosubdir): Add + install-rootsbin-nosubdir. + + * Rules (others): Add $(install-rootsbin). + + * config.make.in (rootsbindir): New. + + * configure, configure.in (libc_cv_rootsbindir): New + substitute. + + * elf/Makefile (others, install-rootsbin): New, set to + ldconfig. + (+link): New for static linking. + ($(slibdir)/$(rtld-version-installed-name)): New. + ($(slibdir)/$(rtld-installed-name)): Depend on + $(slibdir)/$(rtld-version-installed-name) and use + $(make-shlib-link) for symlink. + + * sunrpc/xdr.c (xdr_string): Return FALSE if sp == NULL + while XDR_ENCODE. + + * sysdeps/unix/sysv/linux/a.out.h: Use #include_next for + glibc internals. + + * sysdeps/unix/sysv/linux/configure.in (libc_cv_rootsbindir): + New, set to "/sbin" if "$prefix" == "/usr". + +Tue Jan 21 13:38:39 1997 Ulrich Drepper + + * Makefile (distribute): Add glibcbug.in. + Reported by Philip Blundell . + + * elf/Makefile ($(objpfx)trusted-dirs.h): Create elf/ subdir in + build directory if necessary. + Reported by marcus@shannon.sysc.pdx.edu (Marcus G. Daniels). + +Tue Jan 21 04:05:20 1997 Ulrich Drepper + + * version.h (VERSION): Bump to 1.101. + + Implement -d and -r option to `ldd' to check relocations. + * elf/dl-error.c: Add another method to intercept errors. + (_dl_receive_error): New function. Install user defined handler. + (receiver): New variable. Contains pointer to user provided handler. + (_dl_signal_error): If user provided handler is installed call this. + * elf/dl-load.c (_dl_map_object): When shared object is not found in + trace mode initialize a few more fields so that lookup can actually + happen but always fails. + * elf/ldd.sh.in: Rewrite argument handling. Recognize new arguments + to trigger reloation test. Return with appropriate error code if + a file wasn't found. Print warning if object is not executable. + * elf/ldd.bash.in: Likewise. + * elf/link.h (receiver_fct): New type. Used in _dl_receive_error. + (_dl_sysdep_error): New prototype. + (_dl_receive_error): New prototype. + (_dl_signal_error): Remove __attribute__ ((__noreturn__)). + * elf/rtld.c (dl_main): Rewrite argument handling. More than + one argument allowed. Recognize --data-relocs and --function-relocs + arguments. + Don't determine `lazy' mode from LD_BIND_NOW environment variable + when in trace mode. + If in trace mode and either --data-relocs or --function-relocs is + given perform relocation. Report errors using print_unresolved + function. + (print_unresolved): New function. Print information about missing + symbol on stderr. + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_error): New function. + Like _dl_sysdep_message but print to stderr. + * sysdeps/mach/hurd/dl-sysdep.c: Likewise. + + * sysdeps/generic/sockaddrcom.h: Add definition of sa_family_t. + Reported by Andreas Schwab. + (__SOCKADDR_COMMON): Use sa_family_t for family member. + * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise. + + Linux/Sparc support by Miguel de Icaza. + * sysdeps/sparc/fpu_control.h: New file. + * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: New file. + * sysdeps/unix/sysv/linux/sparc/brk.c: New file. + * sysdeps/unix/sysv/linux/sparc/profil-counter.h: New file. + * sysdeps/unix/sysv/linux/sparc/sigaction.c: New file. + * sysdeps/unix/sysv/linux/sparc/socket.S: New file. + * sysdeps/unix/sysv/linux/sparc/syscall.S: New file. + * sysdeps/unix/sysv/linux/sparc/sysdep.h: New file. + * sysdeps/unix/sysv/linux/sparc/Dist: New file. + * sysdeps/unix/sysv/linux/sparc/Makefile: New file. + + * sysdeps/unix/sysv/linux/net/if_arp.h: Don't use kernel header. + Provide own definition based on 4.4BSD and Linux. + * sysdeps/unix/sysv/linux/net/ppp_defs.h: Define __u32 before + including . + * sysdeps/unix/sysv/linux/sys/msq_buf.h (struct msqid_ds): Don't + use __pid_t since the kernel might have a different size. + * sysdeps/unix/sysv/linux/sys/shm_buf.h (struct shmid_ds): Likewise. + Reported by Andreas Schwab. + + * time/asctime.c: Update copyright. + * time/dysize.c: Likewise. + * time/gmtime.c: Likewise. + * time/timegm.c: Likewise. + * time/offtime.c: Likewise. De-ANSI-declfy. + + * time/tzset.c (__tzset_internal): When TZ envvar does not name a + DST timezone don't default to offset -1. + + * sysdeps/unix/sysv/linux/net/route.h: Don't use kernel header. + Reported by a sun . + + * resolv/Makefile: Correct spelling: subdirs-dirs -> subdir-dirs. + + * sysdeps/stub/sysv_signal.c: New file. Stub implementation. + + * Makefile (distribute): Add mcheck.h. + + * nis/Makefile (distribute): Add nss-nis.h. + + * libio/Makefile (routines): Change vdprintf to iovdprintf to prevent + dist problem. + + * nss/Makefile (distribute): Add digits_dots.c. + + * sysdeps/unix/sysv/linux/Dist: Add kernel_sigaction.h. + * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/procfs.h. + * sysdeps/unix/sysv/linux/sparc/Dist: Add clone.S. + * new-malloc/Makefile (distribute): Add mcheck-init.c and mcheck.h. + +Mon Jan 20 17:54:28 1997 Sven Verdoolaege + + * manual/filesys.texi: Fix little problem (reentrant->readdir). + +Fri Jan 17 19:07:07 1997 Andreas Schwab + + * configure.in [$elf=yes]: Check for support of .previous and + .popsection in the assembler. + * config.h.in: Add HAVE_ASM_PREVIOUS_DIRECTIVE and + HAVE_ASM_POPSECTION_DIRECTIVE. + * libc-symbols.h (__make_section_unallocated) [HAVE_ELF]: Define + appropriate if either .previous or .popsection is supported. + (libc_warning) [HAVE_ELF]: Use it here. + +Sat Jan 18 22:15:26 1997 Richard Henderson + + * Makeconfig (CFLAGS-.so): Add -fno-common to prevent odd sorts of + errors that can occur when linking libc.so. + +Mon Jan 20 05:20:49 1997 Ulrich Drepper + + * elf/dl-load.c (open_path): When running setuid don't try + a directory if it is not given with the full name. + + * elf/Makefile (before-compile): New variable. Mention trusted-dirs.h. + (trusted-dirs.h): Construct file from $(default-rpath) and + $(user-defined-trusted-dirs) variables. + * elf/dl-load.c (_dl_map_object): Pass additional argument to open_path + which is NULL except for the LD_LIBRARY_PATH pass in which case it + is a pointer to the list of directories from the trusted-dirs.h + file. + (open_path): Accept additional argument with list of trusted dirs. + When running setuid and a list of trusted dirs is given only use + those which are mentioned in the list. + + * elf/rtld.c (dl_main): Don't reject whole LD_LIBRARY_PATH when + running setuid. Instead accept entries which do not contain a '/'. + + * Makeconfig: Correct comment about +(default_cflags). + +Mon Jan 20 05:11:14 1997 Hrvoje Niksic + + * time/strptime.c (recursive): Use && not || to test for valid + argument. + +Mon Jan 20 05:06:50 1997 Ulrich Drepper + + * elf/ldd.sh.in: Exit with value 1 if an error occured. + * elf/ldd.bash.in: Likewise. + + * elf/rtld.c (dl_main): Do not always ignore LD_PRELOAD when the + binary runs setuid. It is save to use those entries which do not + contain a '/'. This is compatible with Solaris-2. + +Mon Jan 20 03:02:50 1997 Ulrich Drepper + + * Make-dist: Update and reformat copyright. + * Makeconfig: Likewise. + * assert/Makefile: Likewise. + * bare/Makefile: Likewise. + * ctype/Makefile: Likewise. + * dirent/Makefile: Likewise. + * gmon/Makefile: Likewise. + * gnulib/Makefile: Likewise. + * grp/Makefile: Likewise. + * hurd/Makefile: Likewise. + * intl/Makefile: Likewise. + * mach/Makefile: Likewise. + * malloc/Makefile: Likewise. + * manual/Makefile: Likewise. + * math/Makefile: Likewise. + * po/Makefile: Likewise. + * pwd/Makefile: Likewise. + * resource/Makefile: Likewise. + * setjmp/Makefile: Likewise. + * socket/Makefile: Likewise. + * string/Makefile: Likewise. + * sunrpc/Makefile: Likewise. + * sysdeps/alpha/Makefile: Likewise. + * sysdeps/gnu/Makefile: Likewise. + * sysdeps/m68k/fpu/switch/Makefile: Likewise. + * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise. + * sysdeps/m68k/fpu/switch/switch.c: Likewise. + * sysdeps/mach/Makefile: Likewise. + * sysdeps/hurd/Makefile: Likewise. + * sysdeps/sparc/Makefile: Likewise. + * sysdeps/standalone/i960/nindy960/Makefile: Likewise. + * sysdeps/standalone/m68k/m68020/mvme136/Makefile: Likewise. + * sysdeps/unix/common/Makefile: Likewise. + * sysdeps/unix/sysv/Makefile: Likewise. + * sysdeps/unix/sysv/irix4/Makefile: Likewise. + * sysdeps/unix/sysv/sco3.2/Makefile: Likewise. + * sysdeps/unix/sysv/sysv4/Makefile: Likewise. + * sysdeps/vax/Makefile: Likewise. + * sysvipc/Makefile: Likewise. + * wcsmbs/Makefile: Likewise. + * wctype/Makefile: Likewise. + + * elf/rtld.c (dl_main): Objects in LD_PRELOAD environment variable + are separated according to Sun docs by white space not colon. + + * locale/C-time.c (_nl_C_LC_TIME): Use empty string to initialize + fields which are not defined for the C locale. + + * sysdeps/m68k/fpu/switch/Makefile: Don't use ansidecl.h in constructed + files. + * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise. + * sysdeps/m68k/fpu/switch/switch.c: Likewise. + +Sun Jan 19 19:43:31 1997 Andreas Jaeger + + * time/strptime.c: Provide prototype for strptime_internal. + +Sun Jan 19 23:46:27 1997 Ulrich Drepper + + * glibcbug.in: We don't guarantee confidential handling. Set + field to always contain `no'. + +Sun Jan 19 21:28:01 1997 Philippe De Muyter + + * intl/explodename.c: Include sys/types.h. + * intl/l10nflist.c: Likewise. + +Sat Jan 18 22:15:26 1997 Richard Henderson + + * config.make.in (install_root): New variable to make it easy to + install glibc somewhere other than /. + + * shlib-versions: alpha-*-linux-* libc=6.1. + + Since sigset_t no longer fits in a register, we can't pass in the + thread's initial mask so easily. Take this opportunity to simplify + the clone implementation by only accepting a single void* argument. + + * sysdeps/unix/sysv/linux/alpha/clone.S: Only take one argument. + * sysdeps/unix/sysv/linux/i386/clone.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/clone.S: Likewise. + * sysdeps/unix/sysv/linux/schedbits.h: Update clone prototypes. + + * sysdeps/unix/sysv/linux/alpha/ioctl-types.h: Remove. + Default Linux version should be sufficient. + + * sysdeps/unix/sysv/linux/alpha/sigprocmask.c: The osf_sigprocmask + system call wants the sigset dereferenced. + + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add entries for + __syscall_ustat and __syscall_xmknod. + * sysdeps/unix/sysv/linux/alpha/xmknod.c: Include sys/sysmacros.h. + + * sysdeps/unix/sysv/linux/sigset.h: Use longs instead of ints. + + * sysdeps/unix/sysv/linux/tcsetattr.c: Fix pointer dereferences. + + * sysdeps/unix/sysv/linux/alpha/sigsuspend.c: Add comment about + dependency to kernel type. + + * sysdeps/unix/sysv/linux/alpha/termbits.h: Correct comment. + +Sun Jan 19 04:38:20 1997 Ulrich Drepper + + * config.make.in (have-ksh, KSH): New variables. Will be filled + in by configure. + * configure.in: Add test for ksh like shell (prefer bash). + * time/Makefile (tests): Depend on install-test-data. + (distribute): Add simplebackw. + (generated-dirs): New variable. + [$(have-ksh)==yes] (install-others): Add iso3166.tab and zone.tab. + (install-bin): Add tzselect. + (install-test-data): Install the zoneinfo files which are needed + for the test case in the build directory. + (test-tz-ENV): New variable. Call test-tz program using data in + build directory. + * time/simpleback: New file. + * time/test-tz.c: Pretty print. + * time/tzfile.c: Use value of environment variable TZDIR as directory + to look for zone info files. + don't let search for DST data destroy already found values. + * time/tzselect.ksh: Use @KSH@ and @TZDIR@ to be substituted when + installing. + * time/tzset.c (__tzset_internal): Avoid freeing string twice. + Set DST zone name to normal zone name if no information is provided. + + * time/mktime.c (mktime): Call __tzset_internal to use current + value of TZ. + + * Makerules (common-clean): Remove $(generated-dirs) inclusing content. + + * glibcbug.in: Fix several bugs. Reported by several people. + + * elf/Makefile: Correct dependecies for $(objpfx)ldd. + + * inet/netinet/ip.h: Define IPTOS_LOWCOST and IPTOS_MINCOST. + + * locale/C-time.c: Update copyright. + * locale/localeinfo.h: Likewise. + * sysdeps/unix/bsd/bsd4.4/direntry.h: Likewise. + + * locale/programs/ld-time.c (time_finish): Correct message string. + * locale/programs/linereader.c (lr_token): Use correctly `number' + not `digit' in message string. + + * stdlib/strtol.c [UNSIGNED]: Don't punt immediately when `-' is + seen. Instead return ULONG_MAX and set ERANGE. + * stdlib/tst-strtol.c: Correct test to reflect above change. + +Sun Jan 19 03:22:30 1997 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sys/mtio.h: Don't use . + We must not use . + + * sysdeps/unix/sysv/linux/sys/ipc_buf.h: Don't use __kernel_* types + since we must not use . + * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/sys/ipc_buf.h: New file. Similar + to sysdeps/unix/sysv/linux/sys/ipc_buf.h, but use alpha relavent + types. + * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: New file. Similar + to sysdeps/unix/sysv/linux/sys/procfs.h, but use alpha relavent + types. + +Sun Jan 19 01:48:20 1997 H.J. Lu + + * sysdeps/libm-i387/e_exp.S: Correct computation of fractional + part. + * sysdeps/libm-i387/e_expf.S: Likewise. + * sysdeps/libm-i387/e_expl.S: Likewise. + * sysdeps/libm-i387/s_expm1.S: Correct computation of fractional + part. Take care of additional value left on stack by fscale. + * sysdeps/libm-i387/s_expm1f.S: Likewise. + * sysdeps/libm-i387/s_expm1l.S: Likewise. + +Fri Jan 17 17:45:32 1997 Ulrich Drepper + + * posix/getopt.c: Change all direct usages of `gettext' to `_'. + + * sysdeps/generic/sysd-stdio.c (__stdio_reopen): Add missing + parameter. + Reported by Harmanjit Singh . + +Thu Jan 16 23:39:25 1997 Ulrich Drepper + + * stdio-common/Makefile (tests): Add scanf11. + * stdio-common/scanf11.c: New file. + * stdio-common/vfscanf.c (__vfscanf): Increment `done' when %n + was processed and value is not suppressed. + * stdio-common/bug10.c: Correct test to expect %n increment the + return value of scanf. + * stdio-common/scanf1.c: Likewise. + * stdio-common/scanf3.c: Likewise. + * stdio-common/scanf10.c: Likewise. + * stdio-common/tstdiomisc.c: Likewise. + + * time/strptime.c: Add lots of conditional compiling to enable use + outside glibc. When used in glibc, make sure C locale format + strings will always be recognized. + +Sat Jan 11 18:53:47 1997 Andreas Schwab + + * sysdeps/unix/sysv/linux/sys/sysmacros.h (major, minor, makedev): + Fix definitions so that they work with __kernel_dev_t. + +Sat Jan 11 14:24:10 1997 Andreas Schwab + + * sysdeps/unix/sysv/linux/kernel_sigaction.h, + sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h, + sysdeps/unix/sysv/linux/sigaction.c: New files. + * sysdeps/unix/sysv/linux/syscalls.list: Add s_sigaction. + +Sun Jan 12 15:22:33 1997 Andreas Schwab + + * libc-symbols.h (link_warning): Make sure that the .gnu.warning + section is not allocated. + Update and reformat copyright. + +Sun Jan 12 12:19:28 1997 Andreas Schwab + + * elf/Makefile ($(objpfx)ldd): Fix depedency list. + +Sat Jan 11 15:11:26 1997 Andreas Schwab + + * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Fix + command so that it works in subdirectories. + +Wed Jan 8 22:07:58 1997 Andreas Schwab + + * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_getgroups and + s_setgroups. + * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/i386/getgroups.c, + sysdeps/unix/sysv/linux/i386/setgroups.c, + sysdeps/unix/sysv/linux/m68k/getgroups.c, + sysdeps/unix/sysv/linux/m68k/setgroups.c: New files. + +Wed Jan 8 19:42:59 1997 Andreas Schwab + + * Makefile (config.status): Delete bogus rule. + ($(objpfx)glibcbug): Renamed from plain `glibcbug', depend on + config.status in build directory, fix command to change to build directory. + * Makeconfig ($(common-objpfx)config.status): Depend on version.h. - * sysdeps/unix/bsd/sun/sethostid.c: Include stub version from - generic subdir. - * sysdeps/unix/sysv/irix4/reboot.c: Likewise. - * sysdeps/unix/sysv/irix4/swapon.c: Likewise +Thu Jan 9 08:47:54 1997 Andreas Jaeger -1997-10-29 03:54 Ulrich Drepper + * glibcbug.in (while): We test for four and not five conditions, + set MAIL_AGENT instead of RMAIL, filter spaces and tabs. - * resolv/nss_dns/dns-host.c: Change variable pointed to by h_errnop - in all error cases (PR 244). +Thu Jan 16 22:00:27 1997 Ulrich Drepper -1997-10-29 00:56 Ulrich Drepper + * misc/syslog.c: Don't define cancel_handler if _LIBC_REENTRANT + is not defined. Reported by Andreas Jaeger. - * posix/glob.c: Fix handling of expressions like "*/" (PR 325). - Optimize by using mempcpy. +Thu Jan 9 08:47:54 1997 Andreas Jaeger -1997-10-17 Andreas Jaeger + * new-malloc/malloc.c (__MALLOC_P): define call to pthread + initializer only if NO_THREADS is not defined. - * po/Makefile ($(mo-installed)): Don't fail during installation if - files don't exist (might happen if msgfmt doesn't exist) (PR 328). - Suggested by Wolfram Gloger . +Wed Jan 8 21:28:58 1997 Andreas Jaeger -1997-10-24 Andreas Jaeger + * resolv/nss_dns/dns-host.c: Clean-up: delete unnecessary includes + and variables. - * sysdeps/generic/bits/errno.h (ENOMSG): Define it. - Pointed out by Klaus Espenlaub - (PR libc/259). +Thu Jan 16 21:50:27 1997 Ulrich Drepper -1997-10-28 17:40 Ulrich Drepper + * inet/arpa/inet.h: Include to get struct in_addr + defined. - * sysdeps/libm-ieee754/s_cbrt.c: Testing the returned exponent for - zero isn't enough to determine illegal arguments. - * sysdeps/libm-ieee754/s_cbrtf.c: Likewise. - * sysdeps/libm-ieee754/s_cbrtl.c: Likewise. +Tue Jan 7 17:29:59 1997 Andreas Schwab -1997-10-28 17:14 Ulrich Drepper + * Makerules (LDLIBS-c.so): New variable. - * manual/filesys.texi (S_ISVTX): Describe that it is available with - _BSD_SOURCE only. - Reported by Jochen Hein . +Tue Jan 7 19:22:00 1997 Andreas Schwab -1997-10-28 04:26 Ulrich Drepper + * Makefile ($(includedir)/gnu/lib-names.h): Define the library + names as strings, not as sequence of tokens that may fall apart. - * time/tzfile.c (__tzfile_compute): Use negated value of offset for - timezone variable. - * time/tzset.c (tz_compute): Likewise. - Reported by Erik Troan . +Fri Jan 10 14:08:41 1997 Roland McGrath -1997-10-28 02:51 Ulrich Drepper + * time/tzfile.c (__tzfile_read): Check for bogus type and zone name + indices in data file and punt, so a bogus file can't crash us. - * manual/filesys.texi: Correct prototype in readdir_r description. - Reported by Jim Meyering . +Thu Jan 16 20:29:15 1997 Ulrich Drepper -1997-10-27 Andreas Jaeger + * values.h [__USE_MISC]: Define BITSPERBYTE. - * math/libm-test.c (cbrt_test): Add test for cbrt(0.970299). +Fri Jan 17 14:16:28 1997 Thomas Bushnell, n/BSG -1997-10-26 19:39 Zack Weinberg + * stdio/vdprintf.c: Moved file to ... + * sysdeps/posix/vdprintf.c: Here. De-ansideclificate. + * sysdeps/stub/vdprintf.c: New file. + * sysdeps/mach/hurd/vdprintf.c: New file. - * stdlib/l64a.c: Produce a useful result for n < 0. - * stdlib/a64l.c: Use unsigned type for working variable. - * manual/string.texi (general): Grammar, typo, overfull fixes. - (strlen): Insert warning about sizeof(char *). - (a64l, l64a): Make documentation agree with implementation. +Thu Jan 9 15:59:35 1997 Thomas Bushnell, n/BSG -1997-10-26 18:12 Ulrich Drepper + * sysdeps/mach/hurd/posix_opt.h: New file. - * libio/genops.c: Partial undo of last patch. - * libio/stdfiles.c: Likewise. - * libio/iofdopen.c: Use _IO_FILE_complete, not _IO_FILE_plus. - * libio/iopopen.c: Likewise. - * libio/iovdprintf.c: Likewise. - * libio/libio.h: Remove duplicated `;'. - * libio/stdio.c: Remove misleading comment. - * libio/stdio.h: Declare standard streams as variables. + * sysdeps/mach/hurd/sigwait.c (sigwait): Don't affect signal mask. - * login/Makefile (distribute): Add README.utmpd. - * login/README.utmpd: New file. - Provided by Mark M. Kettenis . + * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Finish + deansideclification. - * manual/job.texi: Document tcgetsid. - * manual/pattern.texi: Document globfree. - * manual/terminal.texi: Document B38400 ... B460800. + * sysdeps/mach/libc-lock.h: Add kludges to pretend to implement + recursive locks. - * posix/confstr.c: Print "-D_FILE_OFFSET_SIZE=64" for _CS_LFS_CFLAGS. +Tue Jan 7 09:48:15 1997 Andreas Jaeger - * posix/unistd.h: Add explanation of _POSIX_* constants. + * signal/sigempty.c (sigemptyset): Correct typo: Empty set should + have all bits zero. - * posix/unistd.h: Add prototypes for __pread, __pread64, __pwrite - and __pwrite64. - * sysdeps/generic/pread.c: Define as __pread and make pread weak alias. - * sysdeps/generic/pread64.c: Likewise. - * sysdeps/generic/pwrite.c: Likewise. - * sysdeps/generic/pwrite64.c: Likewise. - * sysdeps/posix/pread.c: Likewise. - * sysdeps/posix/pwrite.c: Likewise. - * sysdeps/posix/pread64.c: New file. - * sysdeps/posix/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/Makefile [$(subdir)=posix] (sysdep_routines): - Add s_pread64 and s_pwrite64. - * sysdeps/unix/sysv/linux/pread.c: New file. - * sysdeps/unix/sysv/linux/pread64.c: New file. - * sysdeps/unix/sysv/linux/pwrite.c: New file. - * sysdeps/unix/sysv/linux/pwrite64.c: New file. - * sysdeps/unix/sysv/linux/s_pread64.c: New file. - * sysdeps/unix/sysv/linux/s_pwrite64.c: New file. - * sysdeps/unix/sysv/linux/syscalls.list: Add pread and pwrite. - * sysdeps/unix/sysv/linux/alpha/pread64.c: New (empty) file. - * sysdeps/unix/sysv/linux/alpha/pwrite64.c: New (empty) file. - * sysdeps/unix/sysv/linux/sparc/sparc64/pread64.c: New (empty) file. - * sysdeps/unix/sysv/linux/sparc/sparc64/pwrite64.c: New (empty) file. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add pread and pwrite - with weak aliases for *64 functions. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. +Tue Jan 7 23:44:39 1997 Ulrich Drepper - * string/bits/string2.h: Add casts to allow void * arguments. + * inet/gethstbynm.c: Include additional headers for additional + code in nss/digits_dots.c. + * inet/gethstbynm_r.c: Likewise. + * inet/gethstbynm2.c: Likewise. + * inet/gethstbynm2_r.c: Likewise. + * nss/digits_dots.c: New file. Handle dotted pair notation for + gethstbynm functions. + * nss/getXXbyYY.c: Include digits_dots.c to get extra code for + handling dotted pair notation. + * nss/getXXbyYY_r.c: Likewise. + Patches by HJ Lu. - * sysdeps/i386/i486/bits/string.h: Define index and rindex only if - __USE_BSD or __USE_XOPEN_EXTENDED. + * resolv/nss_dns/dns-host.c: Don't handle dotted pair notation. - * sysdeps/unix/sysv/linux/bits/socket.h: Add SCM_RIGHTS and other - SCM_* constants from kernel header. + * io/getwd.c: Optimized a bit. - * termios/termios.h: Add prototype for tcgetsid. + * signal/signal.h: Always declare __sysv_signal. -1997-10-26 13:26 Thorsten Kukuk + * sysdeps/generic/setenv.c: Add some portability code. - * sunrpc/clnt_perr.c: Add trailing '\0' to strings. + * sysdeps/unix/sysv/fcntlbits.h: Update copyright. - * sunrpc/get_myaddr.c: Include rpc/clnt.h for prototypes. + * sysdeps/unix/sysv/linux/fcntlbits.h: Add definitions from kernel + to avoid using kernel headers. + * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: New file. Alpha + specific version. - * sunrpc/pmap_clnt.c: Use get_myaddress from header file. + * sysdeps/unix/sysv/linux/syscalls.list: Add sys_mknod. Don't + mark sigreturn as EXTRA. -1997-10-26 05:26 Ulrich Drepper + * sysdeps/unix/sysv/linux/ustat.c: Declare __syscall_ustat. + * sysdeps/unix/sysv/linux/alpha/ustat.c: New file. Alpha version. - * configure.in: Punt if any directory mentioned in the - enable-add-on parameter does not exist. +Tue Jan 7 09:48:15 1997 Andreas Jaeger -1997-10-25 19:25 Ulrich Drepper + * io/fts.c (fts_alloc): Add const to second parameter of function. - * termios/Makefile (routines): Add tcgetsid. - * termios/tcgetsid.c: New file. - Provided by Mark M. Kettenis . + * io/Makefile: Change CFLAGS-fts.c and define CFLAGS-ftw.c to + prevent warnings. -1997-10-25 18:56 Ulrich Drepper + * signal/sigfillset.c: Include for memset declaration. - * stdlib/stdlib.h: Remove mblen optimization. - * stdlib/mblen.c: Rewrite to make sure global state is not changed. - Reported by anderson@metrolink.com. +Tue Jan 7 11:14:32 1997 Miles Bader -1997-10-19 21:51 Wolfram Gloger + * sysdeps/generic/setenv.c: Fix portability problems. - * malloc/thread-m.h [_LIBC]: Use new __libc_internal_tsd_{set,get} - interface for thread-specific data. +Tue Jan 7 02:10:17 1997 Ulrich Drepper -1997-10-25 06:51 Ulrich Drepper + * posix/getopt.c (_getopt_internal): Don't reset __getopt_initialized + after the last option was seen. - * elf/dl-addr.c: Use braces for correct logical grouping. - Patch by Wolfram Gloger . +Mon Jan 6 15:30:21 1997 Ulrich Drepper -1997-10-18 09:15 Geoff Keating + * elf/elf.h (DT_EXTRANUM): Set to 3 since 0x7ffffffd is used. - * io/ftwtest-sh: Sometimes /tmp is a symlink to somewhere more - convenient; that caused this test to break. +Mon Jan 6 13:57:05 1997 Ulrich Drepper - * sysdeps/powerpc/dl-machine.h: Fix typo. + * io/ftw.c: Add `const' to second parameter of function given as + second parameter to ftw. + * io/ftw.h: Likewise for prototype. + Reported by Ronald F. Guilmette . - * sysdeps/powerpc/bits/fenv.h: Don't use floating-point registers - when -msoft-float is in effect, because this causes compilation to - stop. - * sysdeps/powerpc/bits/mathinlines.h: Likewise. +Thu Jan 2 23:44:39 1997 Philip Blundell - * rpm/template: Add description, use RPM flags rather than the ones - used to build the spec. Build in a temporary directory, not /. + * inet/Makefile (headers): Add netinet/ip.h. + * inet/netinet/ip.h: New file, contains BSD definitions for struct + ip and friends. - * elf/dl-lookup.c: Don't include _itoa.h, it's not used. - * elf/dl-minimal.c: Use _itoa_word rather than _itoa. It seems that - _itoa is the only routine that ld.so uses that requires something - from libgcc.a on powerpc, so it would be best to avoid it in ld.so. - * elf/rtld.c: Likewise. - * sysdeps/generic/_strerror.c: Likewise. - * stdio-common/_itoa.c: Split out digits strings. - * stdio-common/itoa-digits.c: New file. - * stdio-common/Makefile: Add itoa-digits. +Fri Jan 3 23:17:11 1997 Andreas Schwab -1997-10-21 Andreas Jaeger + * string/string.h (strnlen): Add cast for C++. - * manual/filesys.texi (Scanning Directory Content): Document error - case more. +Mon Jan 6 03:31:46 1997 Ulrich Drepper - * dirent/scandir.c (scandir): Ignore errors from select function. - Suggested by urbanw@cs.umu.se (closes PR libc/316). - -1997-10-25 06:18 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Corrections. - Patch by Erik Troan . - -1997-10-25 04:00 Ulrich Drepper - - * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Favour exact - matching of version function if both the general (1) and - glibc-specific (3) entry are present. - -1997-10-22 18:47 Thorsten Kukuk - - * sunrpc/rpc/clnt.h: Add get_myaddress prototype. - - * nis/libnsl.map: Fix typo. - - * nis/nis_call.c: Fix memory leak. - -1997-10-22 19:29 Ulrich Drepper - - * sysdeps/generic/memcmp.c: Define __P if not defined before. - Patch by Jim Meyering . - -1997-10-21 22:09 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sys/prctl.h: New file by Richard Gooch - . - -1997-10-21 21:50 Ulrich Drepper - - * misc/syslog.c (vsyslog): Open console with O_NOCTTY. - Patch by Zack Weinberg . - -1997-10-21 18:07 Ulrich Drepper - - * posix/wordexp.c: Improve handling of $... expressions. - Patch by Tim Waugh . - -1997-10-21 16:12 Ulrich Drepper - - * manual/string.texi: Correct return values of bcopy and bzero. - Patch by Matthew Wilcox . - -1997-10-18 15:03 Philip Blundell - - * sysdeps/unix/sysv/linux/bits/socket.h: Correct types of some - elements in struct msghdr and struct cmsghdr, to keep in step with - the kernel. - -1997-10-17 22:29 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Fix another - bug in startup code. - Patch by Eric Delaunay . - -1997-10-16 20:17 Richard Henderson - - * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Dump args to the - stack and give the kernel a pointer. Use the sysdep.h macros. - -1997-10-17 04:07 Ulrich Drepper - - * sysdeps/sparc/sparc32/elf/start.S: Calculate argv correctly. - Patch by Eric Delaunay . - -1997-10-16 Andreas Jaeger - - * sysdeps/libm-ieee754/s_nextafterxf.c [!__STDC__]: Correct typo. - -1997-10-16 14:50 Ulrich Drepper - - * manual/pattern.texi: Document globfree. - -1997-10-15 21:11 Philip Blundell - - * sysdeps/unix/sysv/linux/net/if_packet.h: New file. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add - net/if_packet.h. - - * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_ASH): New type, for - 64Mbps ASH. - (ARPHRD_ETHER): This is used for 100Mbps networks too. - -1997-10-15 Andreas Jaeger - - * Makerules (install): Use full pathnames for linker script. - This is to work around a limitation in `ld' while no better solution - is possible. - -1997-10-15 Andreas Jaeger - - * malloc/malloc.c (mmap_chunk): Put inline before static in - function definition to avoid compiler warning. - (malloc_extend): Likewise. - - * sysdeps/generic/des_impl.c: Include "des.h" to avoid warning. - -1997-10-15 Andreas Jaeger - - * NEWS: Fix @gnu.ai.mit.edu -> @gnu.org. - * README.template: Likewise. + * Makefile (install-bin): Define as glibcbug to install script. + (glibcbug): New rules. Create from glibcbug.in. + * configure.in (AC_OUTPUT): Generate glibcbug script. + * glibcbug.in: New file. + * version.c: Mention glibcbug to report bugs. + * catgets/gencat.c: Likewise. * db/makedb.c: Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/localedef.c: Likewise. * elf/ldd.bash.in: Likewise. * elf/ldd.sh.in: Likewise. * intl/locale.alias: Likewise. - * login/programs/utmpd.c: Likewise. - * libio/stdfiles.c [!_IO_MTSAFE] (DEF_STDFILE): Fix parameter list. -1997-10-14 Andreas Schwab + * mcheck.h: New file. Necessary since mcheck.h is used in time/ap.c. - * Rules: Remove all empty.* files. - (shared-only-routines): Correct implementation. - -1997-10-14 Andreas Schwab - - * sysdeps/libm-ieee754/s_lrintl.c: Make compilable. - * sysdeps/libm-ieee754/s_llrintl.c: Likewise. Optimized. - -1997-10-14 Andreas Schwab - - * elf/ldd.bash.in: Only prepend ./ if the file contains no slash - at all. - * elf/ldd.sh.in: Likewise. - -1997-10-14 Andreas Schwab - - * sysdeps/m68k/sys/ucontext.h: New file. - -1997-10-13 Andreas Schwab - - * sysdeps/m68k/fpu/s_scalbln.c: New (empty) file. - * sysdeps/m68k/fpu/s_scalblnf.c: New (empty) file. - * sysdeps/m68k/fpu/s_scalblnl.c: New (empty) file. - - * sysdeps/m68k/fpu/s_scalbn.c: Add scalbln alias. - * sysdeps/m68k/fpu/s_scalbnf.c: Adapted. - * sysdeps/m68k/fpu/s_scalbnl.c: Adapted. - - * sysdeps/m68k/fpu/s_lrint.c: Add standard skeleton stuff. - * sysdeps/m68k/fpu/s_lrintf.c: New file. - * sysdeps/m68k/fpu/s_lrintl.c: New file. - - * sysdeps/m68k/fpu/bits/mathinline.h: Add fma and scalbln. Update - lrint and scalbn. - (__m81_inline) [__cplusplus]: Define to __inline. - - * math/bits/mathcalls.h: Remove whitespace before second argument - of __MATHDECL. Add note explaining this. - -1997-10-13 Andreas Schwab - - * manual/arith.texi (Absolute Value): Spelling fix. - -1997-10-13 Andreas Schwab - - * malloc/obstack.h (obstack_empty_p) [!__GNUC__]: Properly - parenthesize the macro parameter. - -1997-10-15 06:56 Ulrich Drepper - - * Rules: Remove rules to magically install .h headers. - Reported by Mark Kettenis . - - * glibcbug.in: Fix @gnu.ai.mit.edu -> @gnu.org. + * set-init.c: Update and reformat copyright. * version.c: Likewise. - * catgets/gencat.c: Likewise. - * db2/makedb.c: Likewise. - * locale/programs/locale.c: Likewise. - * locale/programs/localedef.c: Likewise. - - * libc.map: Move _IO_list_all back to GLIBC_2.0. - - * elf/rtld.c: Provide name of running program to _dl_new_object. - - * Rules: Implement shared-only-sources. - * include/libc-symbols.h: Define default_symbol_version. - * libio/Makefile (shared-only-sources): Define. - * libio/freopen.c: Define as default version. - * libio/iofopen.c: Likewise. - * libio/genops.c: Define _IO_list_all here. - * libio/stdfiles.c: Create linked list with public names. - * libio/oldstdfiles.c: Likewise. - - * stdio-common/printf.c: Optimize. - * stdio-common/scanf.c: Optimize. - - * sysdeps/generic/setfpucw.c: Include #include <...> not "...". - - * sysdeps/i386/i486/bits/string.h: Add optimized versions of index and - rindex. - -1997-10-14 Andreas Jaeger - - * manual/arith.texi: Spelling fixes. - * manual/conf.texi: Likewise. - * manual/creature.texi: Likewise. - * manual/filesys.texi: Likewise. - * manual/intro.texi: Likewise. - * manual/llio.texi: Likewise. - * manual/math.texi: Likewise. - * manual/message.texi: Likewise. - * manual/pattern.texi: Likewise. - * manual/search.texi: Likewise. - * manual/signal.texi: Likewise. - * manual/socket.texi: Likewise. - * manual/startup.texi: Likewise. - * manual/stdio.texi: Likewise. - * manual/string.texi: Likewise. - * manual/time.texi: Likewise. - * manual/users.texi: Likewise. - -1997-10-13 05:25 Ulrich Drepper - - * sysdeps/generic/sys/mman.h: Use __ptr_t instead of __caddr_t. - * sysdeps/unix/bsd/osf/sys/mman.h: Likewise. - * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise. - * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise. - * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise. - * sysdeps/unix/sysv/linux/sys/mman.h: Likewise. - * sysdeps/mach/hurd/mmap.c: Likewise. - * sysdeps/generic/mmap.c: Likewise. - * sysdeps/unix/bsd/sun/sunos4/mmap.c: Likewise. - * sysdeps/mach/munmap.c: Likewise. - * sysdeps/generic/munmap.c: Likewise. - * sysdeps/mach/mprotect.c: Likewise. - * sysdeps/generic/mprotect.c: Likewise. - * sysdeps/generic/msync.c: Likewise. - * sysdeps/generic/madvise.c: Likewise. - - * sysdeps/unix/sysv/linux/madvise.c: Include stub version from generic - subdir. - -1997-10-12 20:27 Zack Weinberg - - * sysdeps/stub (all files): Moved to sysdeps/generic. - * all files using stub_warning: Include . - * include/stub-tag.h: New file, marks stubs in .d files. - * Makerules: Look for stub-tag.h, not sysdeps/stub, when building - . - * configure.in: Don't add sysdeps/stub to $sysnames. - * sysdeps/unix/Makefile: Look for generic headers, not stub - headers. - * sysdeps/generic/Makefile: Likewise. - * manual/maint.texi: Delete references to sysdeps/stub. - * INSTALL: Rebuilt. - * configure: Rebuilt. - -1997-10-13 03:14 Ulrich Drepper - - * libc.map: Move _IO_fopen, fopen, _IO_stdin_, _IO_stdout_, - _IO_stderr_, _IO_list_all, and freopen to GLIBC_2.1 version. - * include/libc-symbol.h: Define define_symbol. - * libio/Makefile [$(versioning)=yes] (routines): Add oldiofopen and - oldfreopen. - [$(versioning)=yes] (aux): Add oldfileops and oldstdfiles. - * libio/fileops.c: Use _IO_FILE_complete when accessing _offset field. - * libio/freopen.c: Use versioning. - * libio/iofopen.c: Likewise. Generate object of type - _IO_FILE_complete. - * libio/iofopen64.c: Generate object of type _IO_FILE_complete. - * libio/iolibio.h: Declare _IO_{old,new}_fopen and __{old,new}_freopen. - Define _IO_old_freopen. - * libio/libio.h: Remove _offset field from _IO_FILE. Rename _unused2 - field to _old_offset. Declare _IO_std*_ streams as of type - _IO_FILE_complete. - * libio/libioP.h: Define _IO_FILE_complete. - Declare callbacks for old fileops implementation. - * libio/stdfile.c: Define standard stream of type _IO_FILE_complete. - * libio/stdio.c: Correctly address FILE part of standard streams. - * libio/oldfileops.c: New file. - * libio/oldfreopen.c: New file. - * libio/oldiofopen.c: New file. - * libio/oldstdfiles.c: New file. - - * sysdeps/i386/fpu/bits/mathinline.h: Define fma optimization. - - * sysdeps/libm-i387/e_scalb.S: Make sure code gets into .text section. - * sysdeps/libm-i387/e_scalbl.S: Likewise. - * sysdeps/libm-i387/s_fma.S: Fix typo. - * sysdeps/libm-i387/s_fmaf.S: Likewise. - * sysdeps/libm-i387/s_fmal.S: Likewise. - -1997-10-12 20:14 Zack Weinberg - - * sysdeps/stub/getsid.c: Add a stub_warning. - * sysdeps/stub/mmap.c: Likewise. - * sysdeps/stub/munmap.c: Likewise. - -1997-10-12 05:09 Ulrich Drepper - - * libio/Makefile (routines): Remove iofprintf. - * stdio-common/fprintf.c [USE_IN_LIBIO]: Define _IO_fprintf. - * libio/filedoalloc.c: Use _G_stat64 instead of stat. - * libio/fileops.c (_IO_file_open): Change to take extra argument - indicating whether 32 or 64 bit mode is wanted. - * libio/iofopen.c: Call _IO_file_open with extra argument set to 0. - * libio/iofopen64.c: Call _IO_file_open with extra argument set to 0. - * libio/iolibio.h (_IO_freopen, _IO_freopen64): Likewise. - * libio/iofgetpos.c: Pretty print. - * libio/iofgetpos64.c: Use _IO_fpos64_t for local variable `pos'. - - * manual/conf.texi: Document all the _SC_ and _CS_ constants. - * manual/creature.texi: Document _LARGEFILE_SOURCE, _LARGEFILE64_SOURCE - and _FILE_OFFSET_BITS. - * manual/llio.texi: Document truncate and ftruncate. - * manual/stdio.texi: Document positional parameters for printf. - - * math/Makefile (headers): Add tgmath.h. - (libm-support): Remove s_lrint, s_llrint, s_lround, and s_llround and - move to ... - (libm-calls): ... here. Add scalbln, s_nextafterx and s_fma. - * math/libm-test.c (lround_test, llround_test): Test for all FP formats - by using FUNC(). - * math/libm.map: Add fma, fmaf, fmal, nextafterx, nextafterxf, - nextafterxl, scalbln, scalblnf, scalblnl, lrintf, lrintl, llrintf, - llrintl, lroundf, lroundl, llroundf, and llroundl. - * math/math.h: Document new platform specific macros from mathdef.h. - Remove declaration of lrint, llrint, lround, and llround. - * math/test-double.c: Define TEST_DOUBLE. - * math/test-idouble.c: Likewise. - * math/test-float.c: Define TEST_FLOAT. - * math/test-ifloat.c: Likewise. - * math/tgmath.h: New file. - * math/bits/mathcalls.h: Add nextafterx, scalbln, fma, lrint, llrint, - lround, and llround. - Change second argument of scalbn to `int'. - * sysdeps/libm-ieee754/s_fma.c: New file. - * sysdeps/libm-ieee754/s_fmaf.c: New file. - * sysdeps/libm-ieee754/s_fmal.c: New file. - * sysdeps/libm-i387/s_fma.S: New file. - * sysdeps/libm-i387/s_fmaf.S: New file. - * sysdeps/libm-i387/s_fmal.S: New file. - * sysdeps/libm-i387/s_llrint.S: Change to take double argument. - * sysdeps/libm-i387/s_lrint.S: Likewise. - * sysdeps/libm-i387/s_llrintf.S: New file. - * sysdeps/libm-i387/s_llrintl.S: New file. - * sysdeps/libm-i387/s_lrintf.S: New file. - * sysdeps/libm-i387/s_lrintl.S: New file. - * sysdeps/libm-ieee754/s_llrint.c: Remove version which works on - 80bit double. - * sysdeps/libm-ieee754/s_lrint.c: Likewise. - * sysdeps/libm-ieee754/s_llrintf.c: New file. - * sysdeps/libm-ieee754/s_llrintl.c: New file. - * sysdeps/libm-ieee754/s_lrintf.c: New file. - * sysdeps/libm-ieee754/s_lrintl.c: New file. - * sysdeps/libm-i387/s_scalbln.c: New file. Empty file. - * sysdeps/libm-i387/s_scalblnf.c: New file. Empty file. - * sysdeps/libm-i387/s_scalblnl.c: New file. Empty file. - * sysdeps/libm-i387/s_scalbn.c: Add scalbln as alias. - * sysdeps/libm-i387/s_scalbnf.c: Add scalblnf as alias. - * sysdeps/libm-i387/s_scalbnl.c: Add scalblnl as alias. - * sysdeps/libm-ieee754/s_llround.c: Remove version which works on - 80bit double. - * sysdeps/libm-ieee754/s_lround.c: Likewise. - * sysdeps/libm-ieee754/s_llroundf.c: Likewise. - * sysdeps/libm-ieee754/s_llroundl.c: Likewise. - * sysdeps/libm-ieee754/s_lroundf.c: Likewise. - * sysdeps/libm-ieee754/s_lroundl.c: Likewise. - * sysdeps/libm-ieee754/s_nextafterl.c: Add alias fo nextafterxl. - * sysdeps/libm-ieee754/s_nextafterx.c: New file. - * sysdeps/libm-ieee754/s_nextafterxf.c: New file. - * sysdeps/libm-ieee754/s_nextafterxl.c: New file. - * sysdeps/libm-ieee754/s_scalbln.c: New file. - * sysdeps/libm-ieee754/s_scalblnf.c: New file. - * sysdeps/libm-ieee754/s_scalblnl.c: New file. - * sysdeps/libm-ieee754/s_scalbn.c: Change to take `int' as second arg. - * sysdeps/libm-ieee754/s_scalbnf.c: Likewise. - * sysdeps/libm-ieee754/s_scalbnl.c: Likewise. - - * stdlib/stdlib.h: Protect declarations of __strto*l_internal functions - by #ifdefs since they are duplicated in inttypes.h. - * sysdeps/wordsize-32/inttypes.h: Add definition of strtoimax and - strtoumax plus needed declarations. - - * sysdeps/generic/confname.h (_SC_AIO_LISTIO_MAX): Fix typo. - -1997-10-09 Andreas Jaeger - - * locale/programs/locfile.c (locfile_read): Correct while loop. - - * db2/makedb.c (main): Add missing parameter for error output. - (process_input): Likewise. - - * resolv/gethnamaddr.c (getanswer): Rewrite a bit to avoid warning. - -1997-10-12 05:05 Ulrich Drepper - - * libc-map: Add __bzero, __mempcpy. - -1997-10-10 18:51 David S. Miller - - * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Remove dependencies - on kernel_termios.h - -1997-10-09 10:24 Thorsten Kukuk - - Add the changes from the Solaris 2.6 header files, use the new public - defines/functions. - * nis/nis_addmember.c: Updated. - * nis/nis_checkpoint.c: Updated. - * nis/nis_creategroup.c: updated. - * nis/nis_destroygroup.c: Updated. - * nis/nis_getservlist.c: Updated. - * nis/nis_ismember.c: Updated. - * nis/nis_lookup.c: Updated. - * nis/nis_modify.c: Updated. - * nis/nis_ping.c: Updated. - * nis/nis_print.c: Updated. - * nis/nis_print_group_entry.c: Updated. - * nis/nis_remove.c: Updated. - * nis/nis_removemember.c: Updated. - * nis/nis_xdr.c: Updated. - * nis/nss_nisplus/nisplus-alias.c: Updated. - * nis/nss_nisplus/nisplus-ethers.c: Updated. - * nis/nss_nisplus/nisplus-hosts.c: Updated. - * nis/nss_nisplus/nisplus-network.c: Updated. - * nis/nss_nisplus/nisplus-parser.c: Updated. - * nis/nss_nisplus/nisplus-proto.c: Updated. - * nis/nss_nisplus/nisplus-rpc.c: Updated. - * nis/nss_nisplus/nisplus-service.c: Updated. - * nis/rpcsvc/nis.h: Updated. - * nis/rpcsvc/nis.x: Updated. - * nis/rpcsvc/nis_object.x: Updated. - * nis/rpcsvc/nis_tags.h: Updated. - * nis/rpcsvc/nislib.h: Updated. - - * nis/lckcache.c: Removed, since Sun has dropped the directory - signatures. The old cache version is now a security risk and not - longer supported by Sun. - * nis/nis_cache.c: Likewise. - * nis/rpcsvc/nis_cache.h: Likewise. - * nis/rpcsvc/nis_cache.x: Likewise. - - * nis/nis_call.c: Remove calls to the cache functions. - - * nis/libnsl.map: Remove cache and depending functions. - * nis/nis_intern.h: Likewise. - - * nis/nis_add.c: Remove #include . - * nis/nis_domain_of.c: Likewise. - * nis/nis_domain_of_r.c: Likewise. - * nis/nis_error.c: Likewise. - * nis/nis_file.c: Likewise. - * nis/nis_local_names.c: Likewise. - * nis/nis_mkdir.c: Likewise. - * nis/nis_rmdir.c: Likewise. - * nis/nis_subr.c: Likewise. - * nis/nis_verifygroup.c: Likewise. - - * nis/nis_clone.c: Removed, replaced by ... - * nis/nis_clone_dir.c: New. - * nis/nis_clone_obj.c: New. - * nis/nis_clone_res.c: New. - * nis/nis_table.c: Fixed bugs shown through the new clone functions. + * signal/sigaddset.c: Likewise. + * signal/sigdelset.c: Likewise. + * signal/sigempty.c: Likewise. + * signal/sigfillset.c: Likewise. + * signal/siggetmask.c: Likewise. + * signal/sigismem.c: Likewise. + * sysdeps/generic/speed.c: Likewise. + * sysdeps/unix/getdents.c: Likewise. + * sysdeps/unix/xmknod.c: Likewise. + * sysdeps/unix/bsd/poll.c: Likewise. + * sysdeps/unix/bsd/tcdrain.c: Likewise. + * sysdeps/unix/bsd/tcflow.c: Likewise. + * sysdeps/unix/bsd/tcflush.c: Likewise. + * sysdeps/unix/bsd/tcgetpgrp.c: Likewise. + * sysdeps/unix/bsd/tcsendbrk.c: Likewise. + * sysdeps/unix/bsd/tcsetpgrp.c: Likewise. + * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c: Likewise. + * sysdeps/unix/sysv/getdents.c: Likewise. + * sysdeps/unix/sysv/i386/sigreturn.S: Likewise. + * termios/Makefile: Likewise. + * termios/cfmakeraw.c: Likewise. + * termios/cfsetspeed.c: Likewise. + + * version.h: Bump VERSION to 1.100. + + * intl/finddomain.c: Defining stpcpy function isn't necessary. + + * libio/genops.c (_IO_init): Use _IO_lock_init instead of + _IO_lock_init_recursive. + * libio/stdfiles.c (DEF_STDFILE): Use _IO_lock_initializer instead + of _IO_lock_init. + + * locale/programs/charmap.c (obstack_chunk_alloc): Use malloc instead + of xmalloc. + * locale/programs/ld-collate.c: Likewise. + * locale/programs/simple-hash.c: Likewise. + + * misc/Makefile (headers): Add selectbits.h. + * misc/sys/select.h: Include to get necessary + definitions. + * sysdeps/generic/selectbits.h: New file. Generic macros for + handling file descriptor sets. + * sysdeps/i386/selectbits.h: New file. i386 specific macros for + handling file descriptor sets. + * sysdeps/generic/gnu/types.h: Remove _FD_* macros. + + * misc/mntent_r.c: Fix handling of multiple, comma-separated + options. Patch by Sai-Lai Lo . + + * po/de.po: Update. + * po/ko.po: Update. + * po/sv.po: Update. + + * posix/getopt.c: Only use the bash generated environment variable + to determine non-option parameters when using in GNU libc and if + the argument vector given to getopt is the same as given to the + program. + + * posix/unistd.h [__USE_GNU]: Declare environ. + + * posix/sys/types.h (key_t): Also define when __USE_XOPEN. + + * resolv/res_debug.c: Add casts to prevent warnings. + * resolv/res_query.c: Likewise. + + * resolv/nss_dns/dns-host.c: Change type for buffer size arguments + to `size_t'. + * resolv/nss_dns/dns-network.c: Likewise. + + * signal/sigempty.c: Use memset to initialize variable. + * signal/sigfillset.c: Likewise. + + * signal/signal.h: Change back handling of signal. The BSD + version is preferred and the new sysv_signal is used when + __USE_XOPEN. + * sysdeps/posix/sysv_signal.c: Renamed from signal.c. Use SVID + semantic. + * sysdeps/posix/signal.c: Renamed from bsd_signal.c. Use BSD + semantic. + * sysdpes/posix/sigpause.c: Correct comment. + * sysdeps/stub/sigpause.c: Provide default implementation. + * signal/Makefile (routines): Remove bsd_signal, add sysv_signal. + + * sysdeps/generic/abort.c: Allow repeated calls to abort if + a user defined handler for SIGABRT is installed. + + * sysdeps/stub/libc-lock.h: Define separate set of macros for + handling recursive mutexes. + + * sysdeps/unix/Makefile: Change rule to generate syscall.h file + so that it is generate in the sys/ subdir. + + * sysdeps/unix/sysv/linux/Dist: Add kernel_termios.h. + * sysdeps/unix/sysv/linux/alpha/Dist: Add kernel_termios.h and + sys/acct.h. + + * sysdeps/unix/sysv/linux/direntry.h: Don't use struct dirent from + kernel. Define own version with additional field d_type. + * sysdeps/unix/sysv/linux/getdents.c: New file. Reformat dirent + entries after reading from kernel. + + * sysdeps/unix/sysv/linux/gnu/types.h: Don't use kernel headers. + Define types based on kernel types except for uid_t, gid_t, mode_t, + dev_t which are larger now. + * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Likewise. + + * sysdeps/unix/sysv/linux/ioctl-types.h: Don't include + . Define structure here. + * sysdeps/unix/sysv/linux/alpha/ioctl-types.h: Likewise. + * sysdeps/unix/sysv/linux/kernel_termios.h: New file. Define + architecture dependent struct termio type. + * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Likewise. + * sysdeps/unix/sysv/linux/sigset.h: Define extended sigset_t type. + * sysdeps/unix/sysv/linux/sigsuspend.c: Pass first word of array + to syscall. - * nis/nis_defaults.c: Fixed a lot of race conditions. + * sysdeps/unix/sysv/linux/socketbits.h: Don't use kernel header. + * sysdeps/unix/sysv/linux/statfsbuf.h: Likewise. + * sysdeps/unix/sysv/linux/termbits.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/termbits.h: Likewise. + * sysdeps/unix/sysv/linux/ustatbits.h: Likewise. + * sysdeps/unix/sysv/linux/net/if.h: Likewise. + * sysdeps/unix/sysv/linux/netinet/in.h: Likewise. + * sysdeps/unix/sysv/linux/sys/acct.h: Likewise. - * nis/nis_free.c: Rewritten. + * sysdeps/unix/sysv/linux/sys/sysmacros.h (minor, major, mkdev): + Change definitions to fit new dev_t definition. - * sunrpc/auth_des.c: Fix use of free'ed pointer. + * sysdeps/unix/sysv/linux/syscalls.list: Add getdents and sigreturn. + Rename ustat to s_ustat since wrapper is needed. - * nis/Makefile (libnsl-routines): Remove nis_clone, nis_cache and - lckcache. Add nis_clone_dir, nis_clone_obj, and nis_clone_res. + * sysdeps/unix/sysv/linux/tcgetattr.c: After getting value from + kernel rewrite it to userland level data format. + * sysdeps/unix/sysv/linux/tcsetattr.c: Before calling kernel change + data format to kernel format. + * sysdeps/unix/sysv/linux/ustat.c: New file. Change format of + device parameter to format needed by kernel. + * sysdeps/unix/sysv/linux/alpha/ustat.c: Likewise. + * sysdeps/unix/sysv/linux/xmknod.c: New file. Extend generic + version to change device parameter to format needed by kernel. + * sysdeps/unix/sysv/linux/alpha/xmknod.c: Likewise. -1997-10-09 Andreas Jaeger + * sysdeps/unix/sysv/linux/alpha/sys/acct.h: New file. Alpha specific + definition of accounting structure. - * wctype/test_wctype.c (TEST): Add parens to avoid ambiguity. + * sysdeps/unix/sysv/linux/sys/ptrace.h: Include . + Patch by Andreas Schwab. -1997-10-08 Andreas Schwab + * time/ap.c: Include . - * include/features.h: Don't crash if _XOPEN_SOURCE is defined to - be empty. + * time/tzset.c (__tzset_internal): Change to take one argument + which tells whether examining of TZ is always wanted or only if + no initialization happened before. + * time/localtime.c: (localtime, __localtime_r): Change for new + __tzset_internal form. -1997-10-09 05:54 Ulrich Drepper + * time/sys/time.h: Include to get select related + declarations. - * nss/digits_dots.c: Place `result' in resbuf and not in `buffer'. - * nss/getXXbyYY_r.c: Make sure digits_dots.c sees `resbuf' as - struct and not a pointer. Little optimizations. +Mon Jan 6 01:58:21 1997 Richard Henderson -1997-10-09 05:00 Ulrich Drepper + * sysdeps/alpha/dl-machine.h (elf_machine_dynamic): Work around + bug in GNU ld. - * sysdeps/stub/getenv.c: Remove unused file. - * sysdeps/stub/lxstat.c: Likewise. - * sysdeps/stub/morecore.c: Likewise. - * sysdeps/stub/putenv.c: Likewise. - * sysdeps/stub/sbrk.c: Likewise. - * sysdeps/stub/setenv.c: Likewise. - * sysdeps/stub/sysd-stdio.c: Likewise. - * sysdeps/stub/sysdep.h: Likewise. - Reported by Zack Weinberg . +Mon Jan 6 01:35:29 1997 H.J. Lu -1997-10-09 04:58 Ulrich Drepper + * misc/getpass.c: Make sure the content of the input buffer is not + printed if the getpass function is interrupted. - * configure.in: Add __bzero definition to DWARF2 unwind test. - Reported by David S. Miller . +Sat Jan 4 17:07:08 1997 Roland McGrath -1997-10-07 Paul Eggert + * md5-crypt/Makefile (rpath-link): Add md5-crypt objdir, not crypt. - * intl/loadmsgcat.c (_nl_load_domain): - Fix &&/|| typo when checking file size. - Check for overflow when stuffing off_t into size_t. +Thu Jan 2 17:58:23 1997 Roland McGrath -1997-10-07 18:11 Ulrich Drepper + * sysdeps/generic/abort.c: Include for memset decl. - * time/africa: Update from tzdata1997i. + * new-malloc/mcheck.c [_LIBC || STDC_HEADERS || USG]: Include + so memset is declared. -1997-10-07 Andreas Jaeger +Tue Dec 31 21:16:05 1996 Roland McGrath - * posix/globtest.sh: Add arguments for name of dynamic linker and - call dynamic linker to execute globtest. + * elf/dl-deps.c (_dl_map_object_deps): Support DT_AUXILIARY. - * posix/Makefile (tests): Supply arguments to globtest.sh. + * elf/dl-error.c (_dl_catch_error): Save and restore old catch site so + calls can be nested. -1997-10-07 Andreas Jaeger + * elf/link.h (struct link_map): Extend `l_info' by DT_EXTRANUM elts. + * elf/dynamic-link.h (elf_get_dynamic_info): Grok tags in the Sun + extension range. - * nis/rpcsvc/ypupd.h: Add missing __END_DECLS. + * elf/elf.h (DT_AUXILIARY, DT_FILTER, DT_EXTRANUM): New constant + macros, for Sun extensions. + (DT_EXTRATAGID): New macro to convert Sun extension tag values placed + near the top of the processor-specific range into zero-origin indices. -1997-10-03 Andreas Schwab + * elf/dl-deps.c (_dl_map_object_deps): Check for malloc failure. - * libc.map: Add mempcpy, prctl. +Sat Jan 4 22:25:01 1997 Andreas Jaeger -1997-09-30 Andreas Schwab + * libio/fcloseall.c: Include stdio.h for prototype declaration for + __fcloseall. - * sysdeps/generic/memcmp.c: Avoid warnings. - * sysdeps/generic/memset.c: Likewise. - * sysdeps/generic/strchr.c: Likewise. - * sysdeps/generic/strlen.c: Likewise. +Thu Jan 2 17:35:20 1997 Thomas Bushnell, n/BSG -1997-09-29 Andreas Schwab + * sysdeps/posix/signal.c: Provide ignorable definitions of + SA_ONESHOT, SA_NOMASK, and SA_INTERRUPT for non-threads Posix + systems. - * malloc/Makefile ($(objpfx)mtrace): Fix typo. +Thu Jan 2 23:20:51 1997 Andreas Schwab -1997-09-29 Andreas Schwab + * MakeTAGS ($P/siglist.pot): Delete rule. + (XGETTEXTFLAGS-siglist.pot): Remove definition. + (all-pot): Remove $P/siglist.pot. + * sysdeps/unix/siglist.c: Mark strings as translatable. + * sysdeps/unix/sysv/linux/siglist.h: Likewise. - * sysdeps/m68k/dl-machine.h (elf_machine_rela): Fix last change. - The R_68K_GLOB_DAT and R_68K_JMP_SLOT relocations really ignore - the addend, Richard. - (elf_machine_fixup_plt): Don't add the addend. - (elf_machine_plt_value): New function. +Wed Jan 1 22:21:18 1997 Andreas Schwab - * sysdeps/alpha/dl-machine.h (elf_machine_plt_value): New - function. - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_plt_value): New - function. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_plt_value): New - function. - * sysdeps/powerpc/dl-machine.h (elf_machine_plt_value): New - function. - * sysdeps/i386/dl-machine.h (elf_machine_plt_value): New - function. + * misc/syscall.h: New file. + * misc/sys/syscall.h: Removed. Forwarding to might + find user header, so do it the other way round. + * sysdeps/mach/sys/syscall.h: Moved here from parent directory. + * sysdeps/stub/sys/syscall.h: Likewise. + * sysdeps/unix/sysv/linux/sys/syscall.h: Likewise. + * sysdeps/unix/sysv/sco3.2.4/sys/syscall.h: Likewise. + * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Update + dependency. + * sysdeps/unix/sysdep.h: Include instead of + . - * elf/dl-runtime.c (fixup, profile_fixup): Don't add in the - addend, instead let the machine dependent setup decide. +Tue Dec 31 00:03:18 1996 Andreas Schwab -1997-09-20 Andreas Schwab + * features.h: Fix typo. - * sysdeps/m68k/m68020/bits/string.h: New file. +Thu Jan 2 00:46:09 1997 Ulrich Drepper -1997-10-07 04:27 Richard Henderson + * libio/_G_config.h: Add _G_HAVE_LONG_DOUBLE_IO for libg++. - * Makeconfig (+includes): Add -I$(objpfx). - - * stdlib/longlong.h [__sparc__]: Prototype __udiv_qrnnd. - - * sysdeps/alpha/setjmp.S: __setjmp is the same as _setjmp. Make - the former a strong symbol and the later a weak alias. - * sysdeps/sparc/sparc32/setjmp.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise. - -1997-10-06 21:01 David S. Miller - - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Make ino_t - 64-bits. - * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Make st_ino - member 64-bits as well, to match the kernel. - -1997-10-06 19:35 Ulrich Drepper - - * sysdeps/sparc/sparc64/sub_n.S: Fix typo. - Patch by Jakub Jelinek . - -1997-10-06 01:09 Zack Weinberg - - * time/README: Correct list of files from tzcode package. Add - contact information for tzcode/tzdata maintainers. Correct - spelling of author's name. Compact lists. - -1997-10-06 01:48 Ulrich Drepper - - * malloc/malloc.h: Remove hook definition without caller argument. - * malloc/malloc.c: Likewise. - - * string/tester.c: Correct strsep test. - - * string/bits/string2.h: Define __string2_1bptr_p and use it. - Patch by David S. Miller . - - * math/Makefile (routines): Add s_clog10. - * math/libm-test.c: Add test for clog10. - * math/libm.map: Add clog10{,f,l}. - * math/bits/cmathcalls.h [__USE_GNU]: Add clog10. - * sysdeps/libm-ieee754/s_clog10.c: New file. - * sysdeps/libm-ieee754/s_clog10f.c: New file. - * sysdeps/libm-ieee754/s_clog10l.c: New file. - * manual/math.texi: Describe clog10. - - * config.h.in: Add USE_REGPARMS and define internal_function based on - this. - * configure.in: Define USE_REGPARMS for ix86 machines. - * gmon/gmon.c: Mark write_hist, write_call_graph and write_bb_counts - as internal functions. - * inet/getnameinfo.c: Likewise for nrl_domainname. - * inet/getnetgrent_r.c: Likewise for __internal_setnetgrent_reuse. - * inet/rcmd.c: Likewise for __icheckhost. - * intl/dcgettext.c: Likewise for category_to_name and - guess_category_value. - * intl/localealias.c: Likewise for read_alias_file. - * io/fts.c: Likewise for fts_alloc, fts_build, fts_lfree, - fts_maxarglen, fts_padjust, fts_palloc, fts_sort, and fts_stat. - * libio/genops.c: Likewise for save_for_backup. - * malloc/malloc.c (chunk_free, chunk_alloc, chunk_realloc, chunk_align, - main_trim, heap_trim): Likewise. - * malloc/mtrace.c (tr_where): Likewise. - * misc/fstab.c (mnt2fs): Likewise. - * misc/getttyent.c (skip, value): Likewise. - * misc/syslog.c (openlog_internal): Likewise. - * misc/tsearch.c (trecurse, tdestroy_internal): Likewise. - * nss/nsswitch.c (nss_lookup_function, nss_parse_file, nss_getline, - nss_parse_service_list, nss_new_service): Likewise. - * posix/wordexp.c (parse_dollars, parse_backtick, eval_expr): Likewise. - * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise. - * resolv/inet_pton.c (inet_pton4, inet_pton6): Likewise. - * resolv/res_init.c (res_setoptions): Likewise. - * stdio-common/printf_fp.c (group_number): Likewise. - * stdio-common/vfprintf.c (buffered_vfprintf, group_number): Likewise. - * stdlib/fmtmsg.c (internal_addseverity): Likewise. - * sunrpc/auth_des.c (synchronize): Likewise. - * sunrpc/auth_unix.c (marshal_new_auth): Likewise. - * sunrpc/clnt_perr.c (auth_errmsg): Likewise. - * sunrpc/key_call.c (key_call): Likewise. - * sunprc/pmap_rmt.c (getbroadcastnets): Likewise. - * sunrpc/svc_tcp.c (makefd_xprt): Likewise. - * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref, invalidate): - Likewise. - * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out, - set_input_fragment, get_input_bytes): Likewise. - * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path, - phys_pages_info): Likewise. - * sysdeps/unix/sysv/linux/if_index.c (opensock): Likewise. - * sysdeps/unix/sysv/linux/poll.c (__emulate_poll): Likewise. - * sysdeps/unix/sysv/linux/readv.c (__atomic_readv_replacement): - Likewise. - * sysdeps/unix/sysv/linux/readv.c (__atomic_writev_replacement): - Likewise. - * time/strptime.c (strptime_internal): Likewise. - * time/tzfile.c (find_transition, compute_tzname_max): Likewise. - * time/tzset.c (compute_change, tz_compute, tzset_internal): Likewise. - - * libc.map: Remove _libio_using_thunks, add _fp_hw and _dl_addr. - - * ctype/ctype.h: Pretty print. - * grp/grp.h: Likewise. - * include/libc-symbols.h: Likewise. - * include/limits.h: Likewise. - * include/values.h: Likewise. - * io/fcntl.h: Likewise. - * io/sys/stat.h: Likewise. - * libio/stdio.h: Likewise. - * malloc/malloc.h: Likewise. - * misc/err.h: Likewise. - * misc/regexp.h: Likewise. - * misc/sys/cdefs.h: Likewise. - * misc/sys/file.h: Likewise. - * posix/sys/utsname.h: Likewise. - * posix/sys/wait.h: Likewise. - * pwd/pwd.h: Likewise. - * resolv/netdb.h: Likewise. - * signal/signal.h: Likewise. - * stdlib/stdlib.h: Likewise. - * string/endian.h: Likewise. - * string/memory.h: Likewise. - * sysdeps/mach/hurd/bits/fcntl.h: Likewise. - * sysdeps/mach/hurd/sys/param.h: Likewise. - * sysdeps/unix/sysv/linux/sys/param.h: Likewise. - * termios/termios.h: Likewise. - * wcsmbs/wchar.h: Likewise. - * wctype/wctype.h: Likewise. - - * sysdeps/unix/bsd/bsd4.4/wait3.c: Use __WAIT_STATUS in definition. - - Implement Large File Support API. - * include/features.h: Add suuport for _LARGEFILE_SOURCE, - _LARGEFILE64_SOURCE, and _FILE_OFFSET_BITS. - * libc.map: Add new functions for LFS. - * dirent/Makefile (routines): Add readdir64 and readdir64_r. - * dirent/dirent.h: Update readdir prototype for LFS and add new - prototypes for above functions. - * io/Makefile (routines): Add xstat64, fxstat64, lxstat64, - statfs64, fstatfs64, lstat64, open64, lseek64, creat64, and ftw64. - * io/creat64.c: New file. - * io/fstat64.c: New file. - * io/lstat64.c: New file. - * io/stat64.c: New file. - * io/ftw64.c: New file. - * io/ftw.c: Rewrite to allow easy definition of ftw64. - * io/ftw.h: Add LFS interface. - * io/fcntl.h: Likewise. - * io/sys/stat.h: Likewise. - * io/sys/statfs.h: Likewise. - * libio/Makefile (routines): Add iofgetpos64, iofopen64, iofsetpos64, - freopen64, fseeko64, and ftello64. - * libcio/fseeko64.c: New file. - * libio/ftello64.c: New file. - * libio/iofgetpos64.c: New file. - * libio/iofopen64.c: New file. - * libio/iofsetpos64.c: New file. - * libio/fileops.c (_IO_file_fopen): Change to use _IO_off64_t. - (_IO_file_attach): Likewise. - (_IO_do_write): Likewise. - (_IO_file_sync): Likewise. - (_IO_file_seek): Likewise. - (_IO_file_seekoff): Likewise. Use _G_stat64. - (_IO_file_fopen64): New function. - (_IO_file_jumps): Initialize showmanyc and imbue. - * libio/genops.c (_IO_default_seekpos): Change to use _IO_fpos64_t. - (_IO_default_seekoff): Likewise. - (_IO_default_seek): Likewise. - (_IO_default_showmanyc, _IO_default_imbue): New functions. - * libio/iofopncook.c (_IO_cookie_seek): Change to use _IO_off64_t. - * libio/iolibio.h: Add prototypes for LFS functions. - * libio/ioseekoff.c: Change to use _IO_fpos64_t. - * libio/ioseekpos.c: Likewise. - * libio/libio.h: Define _IO_fpos64_t and _IO_off64_t. - (_IO_FILE): Move _offset field to end and change type to _IO_off64_t. - (_IO_seekoff, _IO_seekpos): Change prototype. - * libio/libioP.h (_IO_seekoff_t, _IO_seekpos_t, _IO_seek_t): Change - to use _IO_off64_t. - Change prototypes for function from the *ops.c files. - * libio/stdio.h: Add LFS interface definition. - * libio/strops.c (_IO_str_seekoff): Change to use _IO_fpos64_t. - * posix/Makefile (routines): Add pread64 and pwrite64. - * posix/confstr.c: Handle _CS_LFS* requests. - * posix/getconf.c: Handle LFS* requests. - * sysdeps/generic/confname.h: Add _CS_LFS* constants. - * posix/unistd.h: Document _LFS64_LARGEFILE and _LFS64_STDIO. - Define off_t and off64_t appropriately. Change prototypes of - LFS functions. - * posix/sys/types.h: Add LFS types. - * resources/Makefile (routines): Add getrlimit64 and setlimit64. - * resource/sys/resource.h: Change prototypes of LFS functions. - * stdio-common/Makefile (routines): Add tmpfile64. - * stdio-common/tmpfile64.c: New file. - * sysdeps/generic/_G_config.h: Define _G_fpos64_t and _G_off64_t. - Define _G_OPEN64, _G_LSEEK64, _G_FSTAT64. - * sysdeps/unix/sysv/linux/_G_config.h: Likewise. - * sysdeps/generic/bits/resource.h: Add LFS definitions. - * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise. - * sysdeps/unix/sysv/linux/bits/resource.h: Likewise. - * sysdeps/generic/statfs.h: Use __fsblkcnt_t for some of the fields. - * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise. - * sysdeps/generic/types.h: Define LFS types. - * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise. - * sysdeps/generic/sys/mman.h: Add LFS definitions. - * sysdeps/unix/sysv/linux/sys/mman.h: Likewise. - * sysdeps/generic/mach/hurd/bits/fcntl.h: Add flock LFS extensions. - * sysdeps/unix/bsd/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. - * sysdeps/generic/mach/hurd/bits/stat.h: Add stat LFS extensions. - * sysdeps/unix/bsd/bits/stat.h: Likewise. - * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. - * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise. - * sysdeps/posix/open64.c: New file. - * sysdeps/stub/fstatfs64.c: New file. - * sysdeps/stub/fxstat64.c: New file. - * sysdeps/stub/getrlimit64.c: New file. - * sysdeps/stub/lseek64.c: New file. - * sysdeps/stub/lxstat64.c: New file. - * sysdeps/stub/open64.c: New file. - * sysdeps/stub/pread64.c: New file. - * sysdeps/stub/pwrite64.c: New file. - * sysdeps/stub/readdir64.c: New file. - * sysdeps/stub/readdir64_r.c: New file. - * sysdeps/stub/setrlimit64.c: New file. - * sysdeps/stub/statfs64.c: New file. - * sysdeps/stub/xstat64.c: New file. - * sysdeps/unix/sysv/linux/llseek.c: Define as __llseek and make - llseek and lseek64 weak aliases. - * sysdeps/unix/sysv/linux/lseek64.c: New file. Empty. - * sysdeps/unix/sysv/linux/alpha/bits/dirent.h: New file. - * sysdeps/unix/sysv/linux/bits/dirent.h: Add LFS definitions. - - * sysdeps/posix/tempname.c: Add extra argument to trigger use of - open64. - * sysdeps/stub/tempname.c: Likewise. - * stdio-common/tempnam.c: Call __stdio_gen_tempname with extra - argument. - * stdio-common/tmpfile.c: Likewise. - * stdio-common/tmpnam.c: Likewise. - * stdio-common/tmpnam_r.c: Likewise. - - * libio/libioP.h: Add definition of showmanyc and imbue callbacks. - * libio/fileops.c (_IO_file_jumps): Initialize showmanyc and imbue. - * libio/iofopncook.c (_IO_cookie_jumps): Likewise. - * libio/iopopen.c (_IO_proc_jumps): Likewise. - * libio/memstream.c (_IO_mem_jumps): Likewise. - * libio/obprintf.c (_IO_obstack_jumps): Likewise. - * libio/vsnprintf.c (_IO_strn_jumps): Likewise. - * libio/strops.c (_IO_str_jumps): Likewise. - - * manual/arith.texi: Add a few words why cabs should be used. - * manual/llio.texi: Describe sync, fsync, fdatasync. - Tell about cleanup handlers & fcntl,lseek,write,read,close,open. - * manual/process.texi: Tell about cleanup handlers & system,waitpid, - wait. - * manual/signal.texi: Likewise for pause. - * manual/terminal.texi: Likewise for tcdrain. - * manual/time.texi: Document nanosleep. - - * posix/exevp.c: Don't use nested function. - - * stdlib/ucontext.h: New file. - * sysdeps/i386/sys/ucontext.h: New file. SysV/i386 API definitions. - - * sunrpc/xcrypt.c (hexval): Make a macro for efficiency. - - * sysdeps/i386/setjmp.h: Make `here` label local. - - * sysdeps/i386/elf/start.S: Define _fp_hw "variable". - - * sysdeps/stub/fstatfs.c: Correct warning. - * sysdeps/stub/fxstat.c: Likewise. - * sysdeps/stub/lxstat.c: Likewise. - - * sysdeps/unix/sysv/i386/i686/time.S: New file. - -1997-10-03 20:56 Jason Merrill - - * malloc/obstack.h (obstack_empty_p): New macro. - -1997-10-04 17:41 Philip Blundell - - * inet/getnameinfo.c (getnameinfo): Remove spurious `#if INET6'. - -1997-09-30 Zack Weinberg - - * maint.texi: Add copyright terms for libdb (Sleepycat, Harvard). - Document new --with-binutils switch; delete reference to - --with-gnu-as, --with-gnu-ld, --with-gnu-binutils. - Add to description of --without-fp: a kernel FPU emulator - is adequate (from FAQ). - * INSTALL: Regenerated. - -1997-09-30 17:29 Richard Henderson - - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Move - _dl_hwcap declaration to ... - (elf_machine_fixup_plt): ... here. - -1997-09-30 18:03 Ulrich Drepper - - * Makerules: Undo last change. - * csu/Makefile: Define before-compile at the right place. - - * aclocal.m4: Remove a.out file created by assembler test. - - * set-init.c: Find set-hooks.h using <...>. - - Update to db 2.3.10. - * db2/Makefile: Update. - * db2/db.h: Likewise. - * db2/db_185.h: Likewise. - * db2/db_int.h: Likewise. - * db2/btree/bt_close.c: Likewise. - * db2/btree/bt_conv.c: Likewise. - * db2/btree/bt_cursor.c: Likewise. - * db2/btree/bt_put.c: Likewise. - * db2/btree/bt_rec.c: Likewise. - * db2/btree/bt_recno.c: Likewise. - * db2/btree/btree.src: Likewise. - * db2/btree/btree_auto.c: Likewise. - * db2/clib/getlong.c: Likewise. - * db2/db/db.c: Likewise. - * db2/db/db_auto.c: Likewise. - * db2/db/db_conv.c: Likewise. - * db2/db/db_pr.c: Likewise. - * db2/db/db_ret.c: Likewise. - * db2/db/db_thread.c: Likewise. - * db2/hash/hash.c: Likewise. - * db2/hash/hash_auto.c: Likewise. - * db2/hash/hash_conv.c: Likewise. - * db2/hash/hash_dup.c: Likewise. - * db2/hash/hash_func.c: Likewise. - * db2/hash/hash_page.c: Likewise. - * db2/hash/hash_rec.c: Likewise. - * db2/include/btree.h: Likewise. - * db2/include/btree_ext.h: Likewise. - * db2/include/db.h.src: Likewise. - * db2/include/db_185.h.src: Likewise. - * db2/include/db_cxx.h: Likewise. - * db2/include/db_ext.h: Likewise. - * db2/include/db_int.h.src: Likewise. - * db2/include/db_page.h: Likewise. - * db2/include/db_shash.h: Likewise. - * db2/include/lock.h: Likewise. - * db2/include/log.h: Likewise. - * db2/include/log_ext.h: Likewise. - * db2/include/mp.h: Likewise. - * db2/include/shqueue.h: Likewise. - * db2/include/txn.h: Likewise. - * db2/lock/lock.c: Likewise. - * db2/lock/lock_deadlock.c: Likewise. - * db2/log/log.c: Likewise. - * db2/log/log_archive.c: Likewise. - * db2/log/log_auto.c: Likewise. - * db2/log/log_get.c: Likewise. - * db2/log/log_put.c: Likewise. - * db2/log/log_register.c: Likewise. - * db2/mp/mp_bh.c: Likewise. - * db2/mp/mp_fget.c: Likewise. - * db2/mp/mp_fopen.c: Likewise. - * db2/mp/mp_fput.c: Likewise. - * db2/mp/mp_fset.c: Likewise. - * db2/mp/mp_open.c: Likewise. - * db2/mutex/mutex.c: Likewise. - * db2/os/db_os_dir.c: Likewise. - * db2/progs/db_checkpoint/db_checkpoint.c: Likewise. - * db2/progs/db_deadlock/db_deadlock.c: Likewise. - * db2/progs/db_dump185/db_dump185.c: Likewise. - * db2/progs/db_load/db_load.c: Likewise. - * db2/progs/db_recover/db_recover.c: Likewise. - * db2/txn/txn.c: Likewise. - * db2/txn/txn_auto.c: Likewise. - - * elf/link.h: Define struct libname_list outside struct link_map - to not confuse C++ compilers. - - * include/features.h: Recognize _XOPEN_SOURCE == 500 and set - __USE_UNIX98. - * manual/creature.texi: Explain this. - - * libc.map: Add new functions. - - * libio/Makefile (routines): Add fseeko and ftello. - * libio/ftello.c: New file. - * libio/fseeko.c: New file. - * libio/stdio.h: Add prototypes for new functions. - * manual/stdio.texi: Document fseeko and ftello. - - * posix/Makefile (routines): Add pread and pwrite. - * sysdeps/posix/pread.c: New file. - * sysdeps/posix/pwrite.c: New file. - * sysdeps/stub/pread.c: New file. - * sysdeps/stub/pwrite.c: New file. - * posix/unistd.h: Add prototypes for pread and pwrite. - Pretty print header. - Define gid_t, uid_t, off_t, pid_t if __USE_UNIX98. - Declare ctermid and cuserid if __USE_UNIX98. - (swab): Change to take void * arguments. - * string/swab.c: Change parameter to void *. - * posix/sys/types: Define gid_t, uid_t, off_t, pid_t only if not - already happened. - * manual/llio.texi: Document pread and pwrite. - - * string/strings.h: Don't simply include string.h. Define BSD - functions according to Unix98. - * stdlib/tst-strtol.c: Include not . - * sunrpc/clnt_simp.c: Likewise. - - * malloc/Makefile (aux): Add set-freeres. - * malloc/mtrace.c: Define function release_libc_mem which calls the - __libc_subfreeres handler. - (mtrace): Register release_libc_mem. - * malloc/set-freeres.c: New file. - - * intl/dcgettext.c: Define free_mem function and add to - __libc_subfreeres list. - * intl/finddomain.c: Likewise. - * intl/gettextP.h (struct loaded_domain): Add new fields use_mmap - and mmap_size. Add prototype for _nl_unloaded_domain. - * intl/loadmsgcat.c: Define new function _nl_unload_domain. - (_nl_load_domain): Store informaiton about mmap use and file size. - * intl/localealias.c (read_alias_file): Optimize locale alias file - reading by avoid frequent mallocs. - Define free_mem function and add to __libc_subfreeres list. - - * locale/localeinfo.h: Make a difference between MAX_USAGE_COUNT and - undeletable. - Add prototype for _nl_unload_locale. - * locale/C-collate: Mark data as undeletable by using UNDELETABLE. - * locale/C-ctype: Likewise. - * locale/C-messages: Likewise. - * locale/C-monetary: Likewise. - * locale/C-numeric: Likewise. - * locale/C-time: Likewise. - * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Handle - MAX_USAGE_COUNT and UNDELETABLE. - (free_mem): New function. Add it to __libc_subfreeres list. - * locale/loadlocale.c: Define _nl_unload_locale function. - - * misc/hsearch.c: Register hdestroy in __libc_subfreeres list. - - * stdlib/fmtmsg.c (addseverity): Handle illegal severity arguments - correctly. - Define free_mem function and add to __libc_subfreeres list. - - * locale/programs/localedef.c (options): Short form of verbose is v. - Reported by Andreas Jaeger. - - * misc/sys/select.h: Define pselect only is __USE_POSIX since this - header is used in some others as well for historical reasons. - - * resolv/resolv.h: Include to make self-contained. - - * string/bits/string2.h: Add missing braces and optimize strcmp a - bit more. - * sysdeps/i386/i486/bits/string.h: Likewise. - - * sunrpc/rpc/auth_des.h: Include rpc/auth.h to be self-contained. - Pretty print. - - * sysdeps/mach/hurd/cthreads.c: Add copyright text. - - * sysdeps/unix/sysv/linux/syscalls.list: Correct prctl entry. - - * sysdeps/unix/sysv/linux/sys/mman.h: Get definition of size_t. - - * time/time.h: Pretty print. - -1997-09-29 Paul Eggert - - * time/strftime.c: Synchronize with GNU Emacs strftime.c. - (HAVE_MEMCPY): Define if emacs is defined and HAVE_BCOPY isn't. - (gmtime_r, localtime_r): Undef before defining. - (iso_week_days): Use __inline__, not inline. +Wed Jan 1 15:15:00 1997 Ulrich Drepper -1997-09-27 Andreas Schwab + * libio/Makefile (routines): Add fcloseall. + * libio/fcloseall.c: New file. + * libio/stdio.h [__USE_GNU]: Add prototype for fcloseall. + * libio/iofclose.c: Don't close all streams when argument is NULL. - * sysdeps/m68k/fpu/bits/mathinline.h: Rename exp2{,l,f} to - __ieee754_exp2{,l,f}. - * sysdeps/m68k/fpu/s_exp2.c: Likewise. - * sysdeps/m68k/fpu/s_exp2l.c: Likewise. - * sysdeps/m68k/fpu/s_exp2f.c: Likewise. + * stdio/Makefile (routines): Add fcloseall. + * stdio/fcloseall.c: New file. + * stdio/stdio.h [__USE_GNU]: Add prototype for fcloseall. + * stdio/fclose.c: Don't close all streams when argument is NULL. -1997-09-27 Andreas Schwab + * manual/stdio.texi: Document fcloseall. - * elf/soinit.c (__EH_FRAME_BEGIN__): Don't make the .eh_frame - section read-only, it contains relocations. - * elf/sofini.c (__FRAME_END__): Likewise. + * sysdeps/generic/abort.c: Call __fcloseall instead of fclose with + NULL argument. -1997-09-29 03:08 Ulrich Drepper + * socket/sys/un.h (SUN_LEN): Add cast. - * sysdeps/i386/i486/bits/string.h [__PIC__] (__strspn_cg, __strcspn_cg, - __strpbrk_cg, __strstr_cg): Optimize even more. No spill register - needed. Patch by NIIBE Yutaka . + * sunrpc/auth_unix.c (authunix_create): Change parameter types + of uid, gid, and aup_gids to uid_t and gid_t respectively. + (authunix_create_default): Likewise. + (authunix_refresh): Correct cast for aup_gids assignment. + * sunrpc/rpc/auth.h (authunix_create): Correct types in declaration. + * sunrpc/rpc/auth_unix.h (struct authunix_parms): Correct field + types to uid_t and gid_t respectively. + (struct short_hand_verf): Likewise. + Reported by Andreas Schwab. -1997-09-28 08:27 Thorsten Kukuk + * sysdeps/ieee754/Makefile: New file. Make sure ieee754.h gets + installed. + * sysdeps/ieee754/ieee754.h: Protect against multiple inclusion and + use in C++ programs. - * nis/nis_call.c (__do_niscall2): Fix return code, add missing - break in switch case. + * sysdeps/libm-i387/e_pow.S: New file. Optimized ix87 assembler + version of pow() function. + * sysdeps/libm-i387/e_powf.S: New file. Float version. + * sysdeps/libm-i387/e_powl.S: New file. Long double version. - * nis/nis_mkdir.c: Fix return codes to match Solaris version. - * nis/nis_rmdir.c: Likewise. + * sysdeps/libm-i387/s_expm1.S: New file. Optimized ix87 assembler + version of expm1() function. + * sysdeps/libm-i387/s_expm1f.S: New file. Float version. + * sysdeps/libm-i387/s_expm1l.S: New file. Long double version. - * nis/rpcsvc/yp_prot.h: Rename struct keydat to struct keydat_t - for C++. + * sysdeps/libm-i387/e_exp.S: Optimize handling of +-Inf. + Better handling of computation stack from current NetBSD sources. + * sysdeps/libm-i387/e_expf.S: Likewise. + * sysdeps/libm-i387/e_expl.S: Likewise. -1997-09-28 04:32 Ulrich Drepper + * sysdeps/libm-i387/e_log.S: Use fstp instead of fincstp. + * sysdeps/libm-i387/e_logf.S: Likewise. + * sysdeps/libm-i387/e_logl.S: Likewise. + * sysdeps/libm-i387/e_log10.S: Likewise. + * sysdeps/libm-i387/e_log10f.S: Likewise. + * sysdeps/libm-i387/e_log10l.S: Likewise. + * sysdeps/libm-i387/s_asinh.S: Likewise. + * sysdeps/libm-i387/s_asinhf.S: Likewise. + * sysdeps/libm-i387/s_asinhl.S: Likewise. + * sysdeps/libm-i387/s_significandl.S: Likewise. - * configure.in: Fix typo. - Patch by Zack Weinberg . + * sysdeps/libm-i387/s_ceil.S: Don't create stack frame. Modify + stack pointer directly. Use 32 bit instead of 16 bit operations. + * sysdeps/libm-i387/s_ceilf.S: Likewise. + * sysdeps/libm-i387/s_ceill.S: Likewise. + * sysdeps/libm-i387/s_floor.S: Likewise. + * sysdeps/libm-i387/s_floorf.S: Likewise. + * sysdeps/libm-i387/s_floorl.S: Likewise. -1997-09-25 20:14 Philip Blundell + * sysdeps/libm-ieee754/e_coshf.c (huge): Don't declare volatile. + * sysdeps/libm-ieee754/e_expf.c: Likewise. + * sysdeps/libm-ieee754/e_powf.c: Likewise. + From current NetBSD sources. + + * sysdeps/libm-ieee754/e_hypot.c (__ieee754_hypot): Don't initialize + `a' and `b' in definition. + * sysdeps/libm-ieee754/e_hypotf.c: Likewise. + + * sysdeps/libm-ieee754/e_hypotl.c: New file. Long double + implementation. + * sysdeps/libm-ieee754/e_sinhl.c: New file. Long double + implementation. + * sysdeps/stub/e_hypotl.c: Removed. We have a real version now. + * sysdeps/stub/e_sinhl.c: Removed. + + * sysdeps/posix/sigpause.c (__sigpause): Use sigdelset instead of + sigaddset. Reported by Andreas Schwab. + (__default_sigpause): New function. Call __sigpause as BSD version. + Make this the default function by providing alias sigpause. + * sysdeps/stub/sigpause.c (__default_sigpause): New funciton. + Simply fail. Provide alias sigpause. - * sysdeps/unix/sysv/linux/scsi/sg.h: New file. - * sysdeps/unix/sysv/linux/Makefile: Install . +Wed Jan 1 12:34:54 1997 Ulrich Drepper + + * po/es.po: Update for glibc-1.98. + * po/fr.po: Likewise. + * po/sv.po: New file. Swedish translation. + +Wed Jan 1 12:18:07 1997 MacGyver + + * values.h: Fix typos: use SHRT_MAX but SHORT_MAX and SHRT_MIN but + SHORT_MIN. + +Tue Dec 24 23:10:21 1996 Andreas Schwab + + * Makefile: Replace `stubs.h' by `gnu/stubs.h'. + * features.h: Include instead of . + +Tue Dec 24 22:16:55 1996 Andreas Schwab + + * Makefile (subdirs): Move `elf' last so that librtld.so isn't + relinked in the `make others' pass if an add-on adds something to + libc. + +Mon Dec 23 21:23:16 1996 Andreas Schwab + + * sysdeps/m68k/abort-instr.h: New File. + +Mon Dec 23 21:16:38 1996 Andreas Schwab + + * sysdeps/m68k/Makefile ($(subdir)=elf): Define CFLAGS-rtld.c + to prevent warning. + +Mon Dec 23 21:14:22 1996 Andreas Schwab + + * resolv/Makefile (subdirs-dirs): Define. + +Mon Dec 23 20:56:49 1996 Andreas Schwab + + * sysdeps/gnu/utmpbits.h (struct utmp): Fix padding. + +Mon Dec 30 11:05:11 1996 Ulrich Drepper + + Update from ADO tzcode1996o. + * time/difftime.c: De-ANSI-declfy. Simplify computation of hibit + according to ADO version. + * time/zic.c: Correct typo is message. + + Update from ADO tzdata1996n. + * time/asia: Updated. + * time/australasia: Likewise. + * time/europe: Likewise. + * time/northamerica: Likewise. + * time/southamerica: Likewise. + +Mon Dec 30 01:32:59 1996 Ulrich Drepper + + * tme/localtime.c: Rewrite so that localtime_r does not call tzset, + but localtime does. + + * features.h: Rename ANSI C to ISO C. + Mention __GLIBC__ and __GLIBC_MINOR__ macros. + + * gnu-versions.h: Add _GNU_GETOPT_INTERFACE_VERSION. + * posix/getopt.c: Use _GNU_GETOPT_INTERFACE_VERSION to check + whether we can elide the code. + * posix/getopt1.c: Likewise. + * posix/Makefile: Correct copyright. + + * elf/dl-error.c (_dl_catch_error): Clear `catch' also when error + occurred. + * elf/dl-support.c (_dl_sysdep_open_zero_fill): Don't define if + MAP_ANON is defined. + * elf/eval.c: Use __getline instead of getline. + * elf/rtld.c (dl_main): Check return value of _dl_new_object + function for NULL. + * sysdeps/generic/dl-cache.c: Update copyright. + + * signal/Makefile: Correct copyright. + (routines): Remove gsignal and ssignal. Add bsd_signal. + * signal/gsignal.c: Removed. Now is made an alias. + * signal/ssignal.c: Likewise. + * sysdeps/posix/raise.c: Add alias gsignal. + * sysdeps/stub/raise.c: Likewise. + * sysdeps/posix/signal.c: Add alias ssignal. + * sysdeps/stub/signal.c: Likewise. + * signal/signal.h: Declare bsd_signal. Define signal as bsd_signal + if __FAVOR_BSD. + * sysdeps/posix/bsd_signal.c: New file. Implementation of XPG + function. This is the old signal.c file. + * sysdeps/posix/signal.c: Change to have semantic of X/Open. + + * sysdeps/unix/sysv/linux/signal.c: Add explanation. + + * socket/sys/un.h: Define SUN_LEN according to POSIX.1g. + + * stdio-common/Makefile (tests): Add scanf10. + * stdio-common/scanf10.c: New file. + * stdio-common/vfscanf.c: Decrement counter if EOF is read while + reading string. -1997-09-27 01:14 Ulrich Drepper - - * Makeconfig (extra-objs): Depend in before-compile. - - * configure.in: Locate Perl and substitute with complete path. - * config.make.in: Add PERL for substitution. - * elf/Makefile (routines): Add dl-addr. - * elf/dladdr.c: Move the real code into ... - * elf/dl-addr.c: New file. - * elf/link.h: Add prototype for _dl_addr. - - * elf/dladdr.c (dladdr): Change address argument to be const. - * elf/dlfcn.h: Likewise. - - * locale/C_name.c: Add _nl_POSIX_name. - * locale/localeinfo.h: Add declaration of _nl_POSIX_name. - * locale/findlocale.c (_nl_find_locale): Use _nl_POSIX_name. - (_nl_remove_locale): Free name of data set. - * locale/setlocale.c (clever_copy): Remove. - (new_composite_name): Use _nl_C_name and _nl_POSIX_name in compare. - (setname): Only remove old name when it is for category LC_ALL. - - Change malloc, free, realloc, and memalign hooks for glibc to take - another parameter indicating the location of the caller. - * malloc/malloc.c: Change hook functions and variables. - * malloc/malloc.h: Likewise. - * malloc/mcheck.c: Likewise. Make sure later hooked function also - get the original caller address. - * malloc/mtrace.c: Likewise. - (tr_where): If no information in _mtrace_file is given use the - information about the caller. - * malloc/Makefile (distribute): Replace mtrace.awk by mtrace.pl. - Add rules to install mtrace.pl after rewriting. - * malloc/mtrace.pl: New file. Based on the old AWK script but - with extended functionality. - * malloc/mtrace.awk: Removed. - - * po/fr.po: New version. - - * string/Makefile: Do use builtins for tester.c and inl-tester.c. - * string/tester.c: Rewrite. Split in many small functions to not - exceed gcc's limits. - - * sysdeps/unix/sysv/linux/syscalls.list: Add prctl. - -1997-09-25 Andreas Schwab - - * string/bits/string2.h (__stpcpy_small): Don't use casts as - lvalues. - -1997-09-26 Andreas Jaeger - - * manual/time.texi (Formatting Date and Time): Clarify - explanation of strftime flags a bit. - Suggested by Robert Bihlmeyer . - -1997-09-25 00:13 David S. Miller - - * sysdeps/libm-ieee754/s_exp2f.c: Protect _GNU_SOURCE definition. - Fix typo, it is FLT_MANT_DIG. - -1997-09-24 18:52 H.J. Lu - - * math/atest-exp2.c: Include instead of . - -1997-08-27 08:10 H.J. Lu - - * libio/libio.h, libio/libioP.h: Support libio in libstdc++. - - * libio/libio.h (_IO_peekc): Defined as _IO_peekc_unlocked if - _IO_MTSAFE_IO is undefined. - -1997-09-24 23:27 Richard Henderson - - * elf/dl-runtime.c (fixup): Don't go through elf_machine_relplt, but - lookup the value of the target symbol ourselves and call the new - elf_machine_fixup_plt. This kills the ELF_FIXUP_RETURN_VALUE hack. - (profile_fixup): Likewise, but don't fix up the plt. - * elf/rtld.c (_dl_main): ELF_MACHINE_RELOC_NOPLT renamed _JMP_SLOT. - * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RELOC_NOPLT): Renamed. - (elf_alpha_fix_plt): Renamed elf_machine_fixup_plt. - * sysdeps/i386/dl-machine.h (elf_machine_relplt): Killed. - (ELF_MACHINE_JMP_SLOT): Renamed. - (elf_machine_fixup_plt): New function. - * sysdeps/m68k/dl-machine.h: Likewise. - * sysdeps/powerpc/dl-machine.h: Likewise. - (elf_machine_rela): Moved JMP_SLOT fixup out to elf_machine_fixup_plt. - * sysdeps/sparc/sparc32/dl-machine.h: Likewise. - * sysdeps/sparc/sparc64/dl-machine.h: Likewise. - * sysdeps/stub/dl-machine.h: Update, sorta. - - * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Do profiling. - (TRAMPOLINE_TEMPLATE): From the carcas of _RUNTIME_TRAMPOLINE, do - both normal and profile code. - (elf_machine_rela): Handle r_addend for .got and .plt too. - -1997-09-25 00:23 Ulrich Drepper - - * elf/dl-profile.c: Correct implementation. - - * io/ftwtest-sh: Don't depend on TMPDIR == /tmp. - - * locale/setlocale.c: Rewrite a bit for more clarity. - - * math/Makefile (libm-calls): Add w_exp2. - * math/math_private.h: Add prototypes for __ieee754_exp2{,f,l}. - * sysdeps/libm-i387/s_exp2.S: Change name to __ieee754_exp2. - * sysdeps/libm-i387/s_exp2f.S: Likewise. - * sysdeps/libm-i387/s_exp2l.S: Likewise. - * sysdeps/libm-ieee754/k_standard.c: Add error cases for exp2. - - * string/bits/string2.h (__strcpy_small): Optimize. - (__stpcpy_small): Likewise. - (strncpy): Use variable for dest argument since it's used more than - once. - (strncat): Likewise. - (strcmp): Add optimization for this function. - * sysdeps/i386/i486/string.h (strlen): Correctly use __builtin_strlen. - (__strcpy_small): Optimize. - (__stpcpy_small): Likewise. - (__stpcpy_c): Correctly use __mempcpy_* macros. - (__mempcpy_by2, __mempcpy_by4, __mempcpy_byn): Return pointer to - byte following last copied. - (strncat): Use variable for dest argument since it's used more than - once. - (strcmp): Add optimization for this function. - - * sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use - .text and .previous to select correct section. - -1997-09-23 19:56 Philip Blundell - - * configure.in: Add `--disable-versioning' option to suppress the - use of symbol versions even if binutils claims to support it. - -1997-09-24 20:10 Philip Blundell - - * csu/Makefile (before-compile): Don't try to build abi-tags.h if - not using ELF. - -1997-09-21 Andreas Schwab - - * elf/sofini.c [HAVE_DWARF2_UNWIND_INFO]: Supply termination for - the frame unwind info section. - - * elf/soinit.c [HAVE_DWARF2_UNWIND_INFO]: Register and unregister - the frame unwind info. - - * config.h.in (HAVE_DWARF2_UNWIND_INFO): Add #undef. - - * configure.in: Check whether gcc supports DWARF2 unwind info. - - * libc.map: Export frame handling tables. - -1997-09-10 06:56 Geoff Keating - - * sysdeps/unix/sysv/linux/powerpc/bits/kernel_termios.h: - Use the size of the kernel's termios structure for ioctls. - - * sysdeps/powerpc/dl-machine.h: Prepare for library profiling. - - * sysdeps/powerpc/bits/mathinline.h: Add slightly slower versions - of the C9X FP comparison macros. Delete 'fabs' and 'sqrt' inline - routines, because gcc has them as internals. - - * sysdeps/powerpc/Makefile (pic-ccflags): Define this instead of - CFLAGS-.os. - - * sysdeps/powerpc/bzero.S: New file. - * sysdeps/powerpc/strcat.c: New file. - * sysdeps/powerpc/strcpy.S: New file. - * sysdeps/powerpc/stpcpy.S: New file. - - * math/Makefile: Add atest_exp2, test-reduce. - * math/atest_exp2.c: New file. - * math/test-reduce.c: New file. - * sysdeps/libm-ieee754/Dist: New file. - * sysdeps/libm-ieee754/s_exp2.c: New file. - * sysdeps/libm-ieee754/s_exp2f.c: New file. - * sysdeps/libm-ieee754/t_exp2.h: New file. - * sysdeps/libm-ieee754/t_exp2f.h: New file. - * math/libm-test.c (exp2_test): Add some more tests. - - * Rules: Use empty.os instead of empty.o, since it gets linked into - libc.so... - * configure.in: Add --disable-static to disable building .a files. - * config.make.in: Substitute the new variable. - * Makeconfig: Don't build .o files if not building .a files. - - * elf/dl-runtime.c (fixup): Factor out call to elf_machine_relplt. - (profile_fixup): Likewise. - -1997-09-23 Andreas Schwab - - * posix/globtest.c (main): Change to directory passed as first - argument. - - * posix/globtest.sh: Don't cd before running the program, instead - pass testdir as argument, so that $common_objpfx remains valid. - -1997-09-23 18:01 Thorsten Kukuk - - * nis/nis_call.c (__do_niscall2): Fix multiple Server support. - - * nis/nis_findserver.c: Save latest working sockaddr_in. - -1997-09-17 22:07 Zack Weinberg - - * configure.in: Automatically determine whether as and ld are the - GNU versions. - (options): --with-gnu-{as,ld,binutils} replaced by - single option --with-binutils=PATH specifying a -B option to gcc. - * aclocal.m4: Two new macros defined, LIBC_PROG_FOO_GNU and - LIBC_PROG_BINUTILS. - - * configure.in: Allow the user to force configuration for - unsupported platforms with an undocumented option. - -1997-09-22 16:55 Thorsten Kukuk - - * sunrpc/get_myaddr.c (get_myaddress): Avoid loopback interfaces, - return loopback address only if there is no other interface. - - * nis/Makefile: Add nis_callback libnsl-routines. - - * nis/nis_add.c: Use new __do_niscall* interface. - * nis/nis_cache.c: Likewise. - * nis/nis_checkpoint.c: Likewise. - * nis/nis_lookup.c: Likewise. - * nis/nis_mkdir.c: Likewise. - * nis/nis_modify.c: Likewise. - * nis/nis_ping.c: Likewise. - * nis/nis_remove.c: Likewise. - * nis/nis_rmdir.c: Likewise. - * nis/nis_server.c: Likewise. - * nis/nis_util.c: Likewise. - - * nis/rpcsvc/nis.h: Make C++ safe. - - * nis/nss_nisplus/nisplus-publickey.c (getsecretkey): Fix use - of variables. - - * nis/nis_findserv.c: Make thread safe. - - * nis/nis_call.c: Add support for callback, Fix use of variables. - * nis/nis_table.c: Add support for callback, FOLLOW_PATH and - ALL_RESULTS. - * nis/nis_callback.c: New, callback functions. - * nis/nis_intern.h: Add callback declarations. - -1997-09-20 Andreas Schwab - - * string/bits/string2.h: Fix logic in preprocessor directive. - (__strsep_1c, __strsep_g): Don't declare __retval as pointing to - const, to save a cast and a possible warning. - -1997-09-22 04:12 Ulrich Drepper - - * sysdeps/i386/i486/atomicity.h (exchange_and_add): Really address - memory in xadd not %1. - -1997-09-21 13:56 Ulrich Drepper - - * manual/maint.texi (Supported Configurations): Add SPARC64 to - list of supported platforms. - -1997-09-21 03:19 Ulrich Drepper - - * libio/libio.h: More libstdc++ cleanups. Define _IO_USE_DTOA if - _G_HAVE_PRINTF_FP is not defined. - * libio/strops.c: Undo patch of 1997-07-08 02:18. Must find a - different solution for the problem. - - * misc/search.h [__USE_GNU]: Define comparison_fn_t. - * stdlib/stdlib.h: Define comparison_fn_t only if __COMPAR_FN_T is - not defined. - Fix typo. Pretty print inline functions. - - * sysdeps/i386/i486/string.h (__stpcpy_small): Increment __cp not cp. - Patch by HJ Lu . - -1997-09-20 16:45 Ulrich Drepper - - * hesiod/hesiod.c (hesiod_init): Use __secure_getenv to get - HES_DOMAIN environment variable. - Suggested by Mark Kettenis . - - * hesiod/README.hesiod: A bit of information about Hesiod and how - to use it. Written by Mark Kettenis . - -1997-09-20 05:15 Ulrich Drepper - - * manual/maint.texi: Update requirement list. - - * io/ftw.h: Don't use parameter names from global namespace in - prototypes. - - * stdlib/strtol.c: If used outside glibc handle broken systems - which have character classification functions which are not 8-bit - clean gracefully. Patch by Bruno Haible . - -1997-09-19 21:42 David S. Miller - - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: ssize_t is - a long long int. - -1997-09-19 15:12 H.J. Lu - - * posix/Makefile (test-srcs): New, set to globtest. - -1997-09-20 00:24 Ulrich Drepper - - * manual/filesys.texi: Document ftw, nftw and needed data types. - -1997-09-19 12:53 H.J. Lu - - * sysdeps/i386/i486/bits/string.h: Fix typo. - -1997-09-19 14:11 Ulrich Drepper - - * io/ftwtest.c (cb): Print level. - * io/ftwtest-sh: Updated for ftwtest.c change. - - * string/argz.h (__argz_next): Cast NULL to char * to satisfy C++ - compilers. - Reported by Mirko Streckenbach . - - * catgets/catgets.c (catopen): Correctly allocate string of nlspath. - Reported by Charles C. Fu . - -1997-09-18 13:30 Klaus Espenlaub - - * sysdeps/i386/init-first.c: Call __getopt_clean_environment with - additional argument. - * sysdeps/mach/hurd/i386/init-first.c: Likewise. - * sysdeps/mach/hurd/mips/init-first.c: Likewise. - * sysdeps/stub/init-first.c: Likewise. - -1997-09-18 03:16 Ulrich Drepper - - * manual/search.texi: Document lsearch, lfind, the hsearch and - tsearch functions. - -1997-09-18 00:04 Ulrich Drepper - - * misc/hsearch_r.c (hsearch_r): Only return error for ENTER action - if the table is full and we *really* have to enter a new entry. - -1997-09-17 19:44 Ulrich Drepper - - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Get rid - of hack for handling flush opcode. - Patch by Richard Henderson . - -1997-09-16 23:48 Ulrich Drepper - - * libio/fileops.c: Define __set_errno if necessary. - * libio/libioP.h: Don't use __BEGIN_DECLS/__END_DECLS, expand macros. - -1997-09-16 22:03 Ulrich Drepper - - * string/Makefile (headers): Instead bits/string2.h. - Reported by David S. Miller . - -1997-09-16 13:31 David S. Miller - - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: New file. - -1997-09-16 17:42 Ulrich Drepper - - * sysdeps/generic/bits/select.h (__FD_ZERO): Declare __arr variable - as of type __fdset *. - * sysdeps/i386/bits/select.h: Likewise. - Reported by David S. Miller . - -1997-09-16 04:32 Ulrich Drepper - - * hesiod/hesiod.c: Don't use and define cistrcmp. We have - strcasecmp. - (hesiod_init): Use of HES_DOMAIN need not be protected by - __secure_getenv. - (hesiod_to_bind): Avoid using strcat and extra strlen calls, use - stpcpy. - - * string/Makefile (noinl-tester-ENV): New variable to make - strerror test pass. - (CFLAGS-noinl-tester): Make sure we test the correct functions. - - * sysdeps/stub/atomicity.h: Fix typo. - Zack Weinberg told me this twice. - - * manual/string.texi: Document strnlen and mempcpy. - Tell a bit more about the locale dependence of strcasecmp and - strncasecmp. - - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove ptrace. - * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace): Change return - value type to long int. - * sysdeps/unix/sysv/linux/ptrace.c: Likewise. Adopt local variable - types. - * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Fix typo. - Patches by David S. Miller . - -1997-09-16 02:14 Ulrich Drepper - - Implementation of Hesiod NSS module by Mark Kettenis. - * hesiod/Makefile: New file. - * hesiod/hesiod.c: New file. - * hesiod/hesiod.h: New file. - * hesiod/hesiod_p.h: New file. - * hesiod/libnss_hesiod.map: New file. - * hesiod/nss_hesiod/hesiod-grp.c: New file. - * hesiod/nss_hesiod/hesiod-pwd.c: New file. - * hesiod/nss_hesiod/hesiod-service.c: New file. - * sysdeps/unix/inet/Subdirs: Add hesiod. - - * shlib-versions: Add version number for libnss_hesiod. - - * libio/iolibio.h: Remove definition of _IO_* macros. - * libio/fileops.c: Define close, fstat, lseek, read, and write as - macros to use __ protected versions. Use those functions instead - of _IO_* functions. - * libio/iopopen.c: Define _IO_close to close. - - * manual/math.texi: Explain the use of the optimizing inline - functions. - Describe rand_r function and tell about SysV RNGs in introduction. - - * resolv/res_send.c (res_send): Use socklen_t type for `fromlen' - variable. - - * string/Makefile (tests): Add noinl-tester. - * string/noinl-tester.c: New file. - * string/tester.c: Add more stpcpy tests for constant arguments for - all short lengths. - - * string/string.h: Always declare __bzero. - Describe __NO_STRING_INLINES. - Always include . - * string/bits/string2.h: Add warning about direct use. - Change __strcpy_small and __stpcpy_small implementation to use - macros and provide alternative for platforms which cannot do - unaligned stores. - * sysdeps/i386/bits/string.h: Don't define anything is - __NO_STRING_INLINES is defined. - * sysdeps/i386/i486/bits/string.h: Change __strcpy_small and - __stpcpy_small implementation to use macros and provide - alternative for platforms which cannot do unaligned stores. - * sysdeps/alpha/bzero.S: Define bzero as weak alias of __bzero. - * sysdeps/generic/bzero.c: Likewise. - * sysdeps/i386/bzero.c: Likewise. - * sysdeps/i386/i586/bzero.S: Likewise. - * sysdeps/vax/bzero.s: Likewise. - - * sysdeps/generic/bits/select.h: Don't use ugly casts to access array. - * sysdeps/i386/bits/select.h: Likewise. - - * sysdeps/i386/fpu/bits/mathinline.c (__finite): Relax register - constraints a bit. - Don't define and test for _BITS_MATHINLINE_H. Emit warning if used - directly and not through math.h. - - * sysdeps/i386/i486/atomicity.h: Change return type of compare_and_swap - to char to get better code. Fix typo. - * sysdeps/stub/atomicity.h: Fix typo. - -1997-09-14 Andreas Schwab - - * sysdeps/generic/stpcpy.c: #undef stpcpy and __stpcpy. - -1997-09-14 Andreas Schwab - - * string/bits/string2.h: Add prototypes to avoid warning. - -1997-09-14 Andreas Schwab - - * string/bits/string2.h (strsep): Fix handling of empty REJECT. - (__strsep_1c): Handle NULL and empty string. - (__strsep_g): Likewise. - -1997-09-13 Andreas Schwab - - * catgets/Makefile (extra-objs): Set this instead of generated. - - * md5-crypt/Makefile (extra-objs): Add all object file variants of - onlymd5-entry. - -1997-09-12 Andreas Schwab - - * sysdeps/generic/sysd-stdio.c (__stdio_read): Fix typo in last - change. - -1997-09-12 Andreas Schwab - - * sysdeps/m68k/m68020/atomicity.h: New file. - -1997-09-15 05:11 Ulrich Drepper - - * posix/Makefile (distribute): Add globtest.c and globtest.sh. - Compile and run globtest if not cross-compiling. - * posix/globtest.c: New file. - * posix/globtest.sh: New file. - * posix/glob.c: Pretty print preprocessor stuff. - (glob_in_dir): If PATTERN is not really a pattern still check - whether it is a real file in the current directory and return - error if not. - Reported by Eugene Mamchits . - - * libio/fileops.c (_IO_file_sync): Acquire lock before doing the work. - * libio/ioseekoff.c (_IO_seekoff): Likewise. - * libio/ioseekpos.c (_IO_seekpos): Likewise. - -1997-09-13 18:06 Ulrich Drepper - - * configure.in: Prevent configuration for unsupported platforms. - -1997-09-13 04:07 Ulrich Drepper - - * elf/rtld.c (dl_main): Make sure we always have a file argument by - testing for < 2 arguments after recognizing the options. - -1997-09-12 11:47 Fila Kolodny - - * string/bits/string2.h (__strsep_1c): Cast out const from __retval. - (__strsep_g): Likewise. - -1997-09-11 17:32 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_ASYNC. - Patch by David S. Miller . - -1997-09-11 04:36 Ulrich Drepper - - * db2/db_int.h: Define __set_errno if not yet available. - * db2/btree/bt_rec.c: Use __set_errno to set errno value. - * db2/clib/getlong.c: Likewise. - * db2/db185/db185.c: Likewise. - * db2/db185/db185_int.h: Likewise. - * db2/dbm/dbm.c: Likewise. - * db2/lock/lock_deadlock.c: Likewise. - * db2/log/log_archive.c: Likewise. - - * elf/dl-profile.c: Implement mcount function. - - * gmon/gmon.c: Use __profil not profil because of namespace pollution. - * gmon/mcount.c: Remove BSD kernel code. - Use compare&swap instruction if possible to change state variable. - Optimize frompc folding. - * gmon/sys/gmon.h (struct gmonparam): Change state field to long int. - * sysdeps/i386/i486/atomicity.h: New file. - * sysdeps/stub/atomicity.h: New file. - * sysdeps/mach/hurd/profil.c: Define function as __profil and make - profil weak alias. - * sysdeps/posix/profil.c: Likewise. - - * string/bits/string2.h: New file. - * include/bits/string2.h: New file. - * string/Makefile (routines): Add mempcpy. - (tests): Add inl-tester. - Remove _D__NO_STRING_INLINES from CFLAGS-* variables. - * sysdeps/generic/mempcpy.c: New file. - * sysdeps/generic/memccpy.c: Undef function name to enable definition - as macro. - * sysdeps/generic/memchr.c: Likewise. - * sysdeps/generic/memcmp.c: Likewise. - * sysdeps/generic/memmem.c: Likewise. - * sysdeps/generic/memmove.c: Likewise. - * sysdeps/generic/strcat.c: Likewise. - * sysdeps/generic/strchr.c: Likewise. - * sysdeps/generic/strcmp.c: Likewise. - * sysdeps/generic/strcpy.c: Likewise. - * sysdeps/generic/strcspn.c: Likewise. - * sysdeps/generic/strlen.c: Likewise. - * sysdeps/generic/strncat.c: Likewise. - * sysdeps/generic/strncmp.c: Likewise. - * sysdeps/generic/strncpy.c: Likewise. - * sysdeps/generic/strpbrk.c: Likewise. - * sysdeps/generic/strrchr.c: Likewise. - * sysdeps/generic/strsep.c: Likewise. - * sysdeps/generic/strspn.c: Likewise. - * sysdeps/generic/strstr.c: Likewise. - * sysdeps/generic/strtok.c: Likewise. - * sysdeps/generic/strtok_r.c: Likewise. - * sysdeps/i386/memset.c: Likewise. - * sysdeps/i386/bits/string.h: Correct a few types and constraints. - * sysdeps/i386/i486/bits/string.h: Heavy rewrites and optimizations. - * string/stratcliff.c: Undefine __USE_STRING_INLINES. - * string/tst-strlen.c: Likewise. - * string/string.h: Add prototype for mempcpy. Include bits/string2.h - header always if optimizing. - * intl/dcgettext.c: Don't unconditionally define stpcpy, only if not - yet defined. - * intl/l10nflist.c: Likewise. - - * string/tester.c: Add copyright and make little cleanups. - - * inet/test_ifindex.c: Change type of ni variable to unsigned int. - - * locale/programs/ld-ctype.c (struct locale_ctype_t): Change type - of fields map_collection_max and map_collection_act to size_t. - - * nss/libnss_files.map: Group entries. - - * posix/unistd.h: Add prototype for __setpgid and __profil. - - * sysdeps/generic/crypt.h: Declare __crypt_r. - - * sysdeps/i386/bits/select.h: Fix fatal bugs, use correct casts now. - - * sysdeps/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal, - isless, islessequal, islessgreater, isunordered): Optimize a bit. - - * sysdeps/stub/ftruncate.c: Include missing header for prototype. - * sysdeps/stub/getdents.c: Likewise. - * sysdeps/stub/reboot.c: Likewise. - * sysdeps/stub/swapon.c: Likewise. - * sysdeps/stub/syscall.c: Likewise. - * sysdeps/stub/ualarm.c: Likewise. - * sysdeps/stub/usleep.c: Likewise. - - * sysdeps/unix/sysv/linux/if_index.c: Don't compile or use opensock - if SIOGIFINDEX and SIOGIFNAME are not defined. - - * sysdeps/unix/sysv/linux/net/if.h: Add IFF_PORTSEL and IFF_AUTOMEDIA - according to recent kernel changes. - -1997-09-10 21:32 Klaus Espenlaub - - * Makeconfig: Use $(have-initfini) instead of $(elf) to figure out - the installed name of the startup code. - (common-generated): Add version.mk. - * Makefile (distclean-1): Add glibcbug. - * Makerules: Replace -lgcc by $(gnulib). - * catgets/Makefile (generated): Add xmalloc.o. - * csu/Makefile (generated): Replace align.h and end.h by defs.h to - match the generated file. - * manual/Makefile (mostlyclean): Add stub-manual and stamp.o. - (realclean): Changed to remove chapters-incl[12]. - * po/Makefile (realclean): New rule to remove the generated .mo files. - * time/Makefile: Only include zonefile dependencies if $(no_deps) is - not true to avoid make clean failure when directory time doesn't exist - yet. - (generated): Add tzselect. - - * stdio/fgets.c (fgets): Add casts to reduce gcc warning noise. - * stdio/internals.c (flushbuf): Likewise. - * stdio/linewrap.c (lwupdate): Likewise. - * stdio/memstream.c (enlarge_buffer): Likewise. - * stdio-common/vfscanf.c (_IO_vfscanf): Likewise. - * time/tzset.c (compute_change): Likewise. - * misc/init-misc.c (__init_misc): Only declare static if HAVE_GNU_LD - is defined. - * sysdeps/posix/pipestream.c (FUNC): Change to generate ANSI C style - functions. - * sysdeps/stub/init-posix.c: Likewise. - * sysdeps/stub/profil.c: Likewise. - * munch-tmpl.c (__libc_init): Convert to ANSI C style declaration to - reduce gcc warning noise. - * stdio/glue.c (_filbuf, _flsbuf): Likewise. - * stdio/obstream.c (grow, seek, input, init_obstream): Likewise. - * stdio/vasprintf.c (enlarge_buffer): Likewise. - * sysdeps/generic/sysd-stdio.c (__stdio_read, __stdio_write, - __stdio_seek, __stdio_close, __stdio_fileno, __stdio_open, - __stdio_reopen): Likewise. - * sysdeps/posix/defs.c (_cleanup): Likewise. - * time/offtime.c (__offtime): Add cast. - - * posix/getopt.c: Don't use text_set_element if not defined. - - * configure.in: Provide a check for underscores before user labels - that works even when the compiler used for building doesn't work - (like when there is no C library). Use the old way if the compiler - works. - -1997-09-10 05:08 David S. Miller - - * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: The TC* ioctls use - 'T' not 't' on SparcLinux. - * sysdeps/unix/sysv/linux/sparc/bits/termios.h: tcflag_t is 32 bits. - - * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add aliases for - _longjmp and siglongjmp. - -1997-09-09 Andreas Schwab - - * libio/stdio.h: Add format attributes to the extra printf and - scanf like functions. - * stdio/stdio.h: Likewise. - -1997-09-09 Andreas Schwab - - * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r): - Print tablename_val, not tablename_len. - - * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r): - Use sprintf instead of sprintf, the string always fits. - * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r): - Likewise. - * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r): - Likewise. - * nis/nss_nisplus/nisplus-proto.c - (_nss_nisplus_getprotobynumber_r): Likewise. - * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbynumber_r): - Likewise. - * nis/nss_nisplus/nisplus-service.c - (_nss_nisplus_getservbynumber_r): Likewise. - - * nis/nss_nisplus/nisplus-alias.c (_nss_create_tablename): Use - __stpcpy, __stpncpy and __strdup instead of public names. - * nis/nss_nisplus/nisplus-ethers.c (_nss_create_tablename): - Likewise. - * nis/nss_nisplus/nisplus-grp.c (_nss_create_tablename): Likewise. - * nis/nss_nisplus/nisplus-hosts.c (_nss_create_tablename): - Likewise. - * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_parse_netgroup): - Likewise. - * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_parse_netent): - Likewise. - (_nss_create_tablename): Likewise. - * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_parse_protoent): - Likewise. - (_nss_create_tablename): Likewise. - * nis/nss_nisplus/nisplus-pwd.c (_nss_create_tablename): - Likewise. - * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent): - Likewise. - (_nss_create_tablename): Likewise. - * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_parse_servent): - Likewise. - (_nss_create_tablename): Likewise. - * nis/nss_nisplus/nisplus-spwd.c (_nss_create_tablename): - Likewise. - - * libc.map: Export __stpcpy and __strdup. - -1997-09-09 Andreas Schwab - - * math/Makefile (CFLAGS-test-float.c, CFLAGS-test-double.c, - CFLAGS-test-ldouble.c): Pass -ffloat-store to avoid excessive - precision. - -1997-09-09 Andreas Schwab - - * include/rpc/auth_des.h: New file. - -1997-09-09 Paul Eggert - - * time/mktime.c (__mktime_internal): Declare sec_requested even if - !LEAP_SECONDS_POSSIBLE, since it's needed at the end when checking - for time_t overflow. - -1997-09-09 22:11 Ulrich Drepper - - * sysdeps/posix/getcwd.c: Correct test for too small buffer. - Reported by Erik Troan . - - * elf/dl-close.c: Include , not . - * elf/dl-open.c: Likewise. - -1997-09-07 17:09 Richard Henderson - - * sysdeps/alpha/Makefile: Kill setjmp_aux. - * sysdeps/alpha/bits/setjmp.h: Rewrite in terms of an array. - * sysdeps/alpha/__longjmp.c: Remove. - * sysdeps/alpha/setjmp_aux.c: Remove. - * sysdeps/alpha/__longjmp.S: New file. - * sysdeps/alpha/bsd-_setjmp.S: Stub out. - * sysdeps/alpha/bsd-setjmp.S: Likewise. - * sysdeps/alpha/setjmp.S: Do the work; don't call __setjmp_aux. - Move _setjmp and setjmp from bsd-*.S. - -1997-09-06 20:20 Ulrich Drepper - - * include/rpc/auth.h: New file. - * include/rpc/auth_unix.h: New file. - -1997-09-06 Paul Eggert - - Fix gmtime so that it reports leap seconds when TZ - indicates that leap seconds are desired. - - * time/gmtime.c (): Remove unnecessary include. - (gmtime): Put after gmtime_r, to help the compiler inline. - (__tz_convert): New decl. - (gmtime_r): Use __tz_convert instead of __offtime, - so that leap seconds are handled correctly. - - * time/localtime.c (, ): Remove includes that - are now unnecessary. - (__tzset_internal, __tz_compute, __tzfile_compute, __use_tzfile, - __tzset_lock): Remove extern decls that are now unnecessary. - (localtime_internal): Moved to __tz_convert in tzset.c. - so that localtime and gmtime can both use it easily. - (localtime): Put after localtime_r, to help the compiler inline. - (localtime_r): Use __tz_convert instead of localtime_internal. - - * time/strftime.c (__tz_compute): Remove unused (and now incorrect) - decl. - - * time/tzfile.c (__tzfile_compute): New arg USE_LOCALTIME. - - * time/tzset.c (): Include. - (_tmbuf): New decl. - (__tzfile_compute): New function. - (tz_compute): Renamed from __tz_compute. No longer extern. - Remove redundant call to tzset_internal. - (tzset_internal): Renamed from __tzset_internal. No longer extern. - (tzset_lock): Renamed from __tzset_lock. No longer extern. - (__tz_convert): New function, containing functionality of old - localtime_internal function, plus locking and optional UTC. - -1997-09-06 Paul Eggert - - * time/tzfile.c (__tzfile_read): Don't read a file if TZ is the empty - string, just use UTC without leap seconds. This is for compatibility - with the Olson code. - -1997-09-06 Paul Eggert - - * time/tzset.c (__tzname_max): Lock tz data structures before - invoking tzset_internal. - - * time/tzfile.c: Define compute_tzname_max statically. - -1997-09-07 10:57 Thorsten Kukuk - - * nis/nis_call.c: Remove not longer necessary HAVE_SECURE_RPC ifdefs. - * nis/nis_intern.h: Likewise. - * nis/nss_nis/nis-publickey.c: Likewise. - * nis/nss_nisplus/nisplus-publickey.c: Likewise. - * nis/ypclnt.c: Likewise. - - * sunrpc/auth_des.c: Don't dereference NULL pointer, - initialize ad->ad_timediff. - - * sunrpc/auth_none.c: Don't define our own prototypes, use the one - from the header files. - * sunrpc/auth_unix.c: Likewise. - * sunrpc/clnt_raw.c: Likewise. - * sunrpc/clnt_tcp.c: Likewise. - * sunrpc/rpc_cmsg.c: Likewise. - - * sunrpc/key_call.c: Fix signal handling. - - * sunrpc/openchild.c: Don't use /bin/sh to start /usr/etc/keyenvoy, - or we will get a deadlock with NIS+. - - * sunrpc/rpc/auth.h: Add prototype for xdr_opaque_auth, don't define - HAVE_SECURE_RPC. - -1997-09-07 15:51 Ulrich Drepper - - * sysdeps/i386/bits/select.h [__GNUC__] (__FD_ZERO, __FD_SET, __FD_CLR, - __FD_ISSET): Use correct casts to address array correctly. - Reported by urbanw@cs.umu.se. - -1997-09-07 05:07 Ulrich Drepper - - * elf/dl-close.c: Include , not . - * elf/dl-open.c: Likewise. - * sysdeps/i386/memset.c: Undefine memset in case the header with the - optimized functions is included. - Patches by NIIBE Yutaka . - - * sysdeps/i386/bits/string.h [__PIC__] (strcspn, strspn, strpbrk, - strsep): Use register for second parameter. - * sysdeps/i386/i486/bits/string.h: Likewise. - Reported by NIIBE Yutaka . - -1997-09-03 09:48 Geoff Keating - - * math/libm-test.c: Change various tolerances to match what the - tested routines can actually provide. - - * math/Makefile: Add new tests. - * math/atest-sincos.c: New file. - * math/atest-exp.c: New file. - - * csu/Makefile: Give initfini.s and initfiniS.s their own - CFLAGS-* macros so they can be overridden. - * sysdeps/powerpc/Makefile [subdir=csu]: Override flags for - initfiniS.s to use -fpic instead of -fPIC, because the sed script - breaks otherwise. - - * sysdeps/powerpc/Makefile [build-shared]: Use -fpic not -fPIC for - efficiency. - - * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): - Don't use register 0, to let _mcount be in a shared object. - - * sysdeps/powerpc/dl-machine.h: Use full sentences in comments. - Generally clean up. Suppress some code we don't need when relocating - ld.so. - * sysdeps/powerpc/test-arith.c: Change loop indices to size_t when - appropriate to suppress gcc warning. - * resolv/res_send.c: Suppress warning. - * sunrpc/xdr_sizeof.c: Suppress warning. - - * FAQ: Add ppc-linux. - * manual/maint.texi: Add ppc-linux. Explain that gcc can't build it - yet. - - * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Correct for - current kernels. - -1997-08-15 07:45 Geoff Keating - - * stdlib/fmtmsg.c: Use two parameters for __libc_once_define. - * sysdeps/i386/machine-gmon.h: Correct typo. - - * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Change to match - kernel. - - * sysdeps/generic/dl-sysdep.c: Add hook for bizzare PPC argument hack. - * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Rewrite to use - sysdeps/linux/dl-sysdep.c. - - * sysdeps/powerpc/Makefile [subdir=gmon]: Compile ppc-mcount. - * sysdeps/powerpc/machine-gmon.h: Use ppc-mcount. - * sysdeps/powerpc/ppc-mcount: New file. - - The following are mostly changes to allow profiling: - * sysdeps/powerpc/add_n.S: Added. - * sysdeps/powerpc/add_n.s: Removed. - * sysdeps/powerpc/addmul_1.S: Added. - * sysdeps/powerpc/addmul_1.s: Removed. - * sysdeps/powerpc/bsd-_setjmp.S: Use JUMPTARGET macro. - * sysdeps/powerpc/bsd-setjmp.S: Use JUMPTARGET macro. - * sysdeps/powerpc/lshift.S: Added. - * sysdeps/powerpc/lshift.s: Removed. - * sysdeps/powerpc/memset.S: Added. - * sysdeps/powerpc/memset.s: Removed. - * sysdeps/powerpc/mul_1.S: Added. - * sysdeps/powerpc/mul_1.s: Removed. - * sysdeps/powerpc/rshift.S: Added. - * sysdeps/powerpc/rshift.s: Removed. - * sysdeps/powerpc/s_copysign.S: Use ENTRY, END, weak_alias macros. - * sysdeps/powerpc/s_fabs.S: Use ENTRY, END, weak_alias macros. - * sysdeps/powerpc/setjmp.S: Use JUMPTARGET macro. - * sysdeps/powerpc/strchr.S: Added. - * sysdeps/powerpc/strchr.s: Removed. - * sysdeps/powerpc/strcmp.S: Added. - * sysdeps/powerpc/strcmp.s: Removed. - * sysdeps/powerpc/strlen.S: Added. - * sysdeps/powerpc/strlen.s: Removed. - * sysdeps/powerpc/sub_n.S: Added. - * sysdeps/powerpc/sub_n.s: Removed. - * sysdeps/powerpc/submul_1.S: Added. - * sysdeps/powerpc/submul_1.s: Removed. - * sysdeps/unix/sysv/linux/powerpc/_exit.S: Removed. - * sysdeps/unix/sysv/linux/powerpc/brk.S: Added. - * sysdeps/unix/sysv/linux/powerpc/brk.c: Removed. - * sysdeps/unix/sysv/linux/powerpc/clone.S: Use new macros. Fix - various bugs. Document that it isn't tested. - * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Make look like - sysdeps/unix/_exit.S. - * sysdeps/unix/sysv/linux/powerpc/socket.S: Use new macros. - * sysdeps/unix/sysv/linux/powerpc/syscall.S: Use new macros. - * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Define some new macros - to make assembler (possibly) more portable, allow profiling, etc. - -1997-09-05 03:15 Ulrich Drepper - - * Makefile (subdirs): Reorganize order so that nss follows add-ons. - * config.make.in (LDAP): Add. - * configure.in: Prepare for ldap add-on. - * shlib-versions: Add version numbers for ldap NSS module. - * nss/Makefile: Add rules to build ldap NSS module. - - * db/btree/bt_page.c (__bt_free): Update meta data information. - - Update db from db-2.3.6. - * db2/db.h: Updated. - * db2/btree/bt_close.c: Updated. - * db2/btree/bt_compare.c: Updated. - * db2/btree/bt_conv.c: Updated. - * db2/btree/bt_cursor.c: Updated. - * db2/btree/bt_delete.c: Updated. - * db2/btree/bt_put.c: Updated. - * db2/btree/bt_rec.c: Updated. - * db2/btree/bt_recno.c: Updated. - * db2/btree/bt_search.c: Updated. - * db2/btree/bt_split.c: Updated. - * db2/btree/bt_stat.c: Updated. - * db2/common/db_appinit.c: Updated. - * db2/common/db_apprec.c: Updated. - * db2/common/db_byteorder.c: Updated. - * db2/common/db_err.c: Updated. - * db2/common/db_region.c: Updated. - * db2/db/db.c: Updated. - * db2/db/db_conv.c: Updated. - * db2/db/db_dup.c: Updated. - * db2/db/db_pr.c: Updated. - * db2/db/db_ret.c: Updated. - * db2/db185/db185.c: Updated. - * db2/dbm/dbm.c: Updated. - * db2/hash/hash_dup.c: Updated. - * db2/include/db_am.h: Updated. - * db2/include/db_page.h: Updated. - * db2/include/mp.h: Updated. - * db2/include/queue.h: Updated. - * db2/log/log.c: Updated. - * db2/log/log_findckp.c: Updated. - * db2/log/log_get.c: Updated. - * db2/log/log_rec.c: Updated. - * db2/mp/mp_bh.c: Updated. - * db2/mp/mp_fopen.c: Updated. - * db2/mp/mp_pr.c: Updated. - * db2/mp/mp_sync.c: Updated. - * db2/mutex/x86.gcc: Updated. - * db2/os/db_os_dir.c: Updated. - * db2/os/db_os_fid.c: Updated. - * db2/progs/db_archive/db_archive.c: Updated. - * db2/progs/db_checkpoint/db_checkpoint.c: Updated. - * db2/progs/db_deadlock/db_deadlock.c: Updated. - * db2/progs/db_dump/db_dump.c: Updated. - * db2/progs/db_dump185/db_dump185.c: Updated. - * db2/progs/db_load/db_load.c: Updated. - * db2/progs/db_printlog/db_printlog.c: Updated. - * db2/progs/db_recover/db_recover.c: Updated. - * db2/progs/db_stat/db_stat.c: Updated. - * db2/txn/txn.c: Updated. - * db2/txn/txn_rec.c: Updated. - - * db2/Makefile: Add rule to build db_printlog. - * db2/config.h: Don't include endian.h and don't define - WORDS_BIGENDIAN. Only define HAVE_ENDIAN_H. - - * elf/dl-open.c (_dl_open): Make thread-safe. - * elf/dl-close.c (_dl_close): Likewise. - * elf/dlclose.c: Pretty print. - * elf/dl-version.c (make_string): Use __strdup not strdup. - (find_needed): Don't use l_searchlist of _dl_loaded, use the - l_next list. - * elf/dl-deps.c (_dl_map_object_deps): Remove variable head. - - * manual/math.texi: Add note about == and != for FP values. - * manual/message.texi: Mention problems with relative paths and - binstextdomain. - * manual/string.texi: Mark strdupa and strndupa correctly as macros. - - * sunrpc/Makefile (CFLAGS-xkey_prot.c): Define to prevent warnings. - * sunrpc/rpc_cout.c: Avoid needless races around return value. - - * sysdeps/generic/stpcpy.c: Include if wanted. - - Update from tzdata-1997h. - * time/africa: Updated. - * time/europe: Updated. - * time/iso3166.tab: Updated. - * time/northamerica: Updated. - * time/southamerica: Updated. - * time/zone.tab: Updated. - -1997-09-04 13:19 Richard Henderson - - * sysdeps/alpha/w_sqrt.S: Removed. - * sysdeps/alpha/fpu/e_sqrt.c: New. Obey -mieee and -mieee-with-inexact - and build a version that is as fast as possible given the constraint. - -1997-08-30 Andreas Jaeger - - * manual/maint.texi: Document some defaults for configuration - parameters. - -1997-09-04 15:57 Ulrich Drepper - - * termios/cfsetspeed.c (cfsetspeed): Change return value to int. - * termios/termios.h: Change prototype accordingly. - Reported by Andreas Jaeger . - -1997-07-26 14:42 H.J. Lu - - * libio/stdfiles.c (_libio_using_thunks): Define if - _G_USING_THUNKS is defined. - - * libio/_G_config.h: Moved to ... - * sysdeps/generic/_G_config.h: ...here. - - * sysdeps/unix/sysv/linux/_G_config.h: New, - Add vtable thunks support. - -1997-09-02 Andreas Schwab - - * sysdeps/m68k/Makefile (pic-ccflag): Override it for more - efficient code (together with a change in gcc). - - * Makeconfig (pic-ccflag): New variable. - (CFLAGS-.os): Use it instead of hardcoding -fPIC. - -1997-09-02 Andreas Schwab - - * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use - _dl_start instead of a local label, to avoid getting an unreadable - label name. - -1997-09-02 Andreas Schwab - - * nss/Makefile ($(objpfx)libnss_db.so): Use $(dbobjdir) to find - libdb.so. - - * Makeconfig (dbobjdir): Use db2. - -1997-08-31 Andreas Schwab - - * manual/maint.texi (Porting to Unix): Update description of the - implementation of Unix system calls. - (Contributors): Use real umlaut in tege's name. - -1997-08-30 Andreas Schwab - - * sysdeps/libm-ieee754/w_gamma.c: Make compilable with - _IEEE_LIBM. - * sysdeps/libm-ieee754/w_gammaf.c: Likewise. - * sysdeps/libm-ieee754/w_gammal.c: Likewise. - -1997-08-29 21:45 Ulrich Drepper - - * sunrpc/auth_des.c: New file. Copied from former secure_rpc add-on. - * sunrpc/authdes_prot.c: New file. Likewise. - * sunrpc/des.h: New file. Likewise. - * sunrpc/des_crypt.c: New file. Likewise. - * sunrpc/des_soft.c: New file. Likewise. - * sunrpc/key_call.c: New file. Likewise. - * sunrpc/key_prot.c: New file. Likewise. - * sunrpc/netname.c: New file. Likewise. - * sunrpc/openchild.c: New file. Likewise. - * sunrpc/rtime.c: New file. Likewise. - * sunrpc/svc_auth.c: New file. Likewise. - * sunrpc/svcauth_des.c: New file. Likewise. - * sunrpc/xcrypt.c: New file. Likewise. - * sunrpc/rpc/auth.h: New file. Likewise. - * sunrpc/rpc/auth_des.h: New file. Likewise. - * sunrpc/rpc/des_crypt.h: New file. Likewise. - * sunrpc/rpc/key_prot.h: New file. Likewise. - * sunrpc/rpcsvc/key_prot.x: New file. Likewise. - * sysdeps/generic/svc_auth.h: Removed. - * sysdeps/generic/rpc/auth.h: Removed. - * sysdeps/generic/rpc/auth_des.h: Removed. - * sysdeps/stub/des_impl.c: New file. Stub version for DES. - * sunrpc/Makefile (rpcsvc): Add keyprot.x. - (headers): Add des_crypt.h and key_prot.h. - (routines): Add auth_des, authdes_prot, des_crypt, des_impl, des_soft, - key_call, key_prot, netname, openchild, rtime, svcauth_des, xcrypt. - (distribute): Add des.h. - - * db2/Makefile: Add all headers and other files to distribute. - (others): Add db_printlog. - - * sysdeps/mach/hurd/Dist: Add net/* headers. - * sysdeps/mach/hurd/mips/Dist: New file. - * sysdeps/powerpc/Dist: Add fe_nomask.c and t_sqrt.c. - * sysdeps/sparc/Dist: Add sys/trap.h. - * sysdeps/sparc/sparc32/Dist: Remove sys/trap.h. - * sysdeps/sparc/sparc32/sparcv8/Dist: New file. - * sysdeps/unix/sysv/linux/mips/Dist: Add sgidefs.h. - * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/trap.h. - * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove sys/trap.h. - - Add previously missing assembler files for PPC. - * sysdeps/powerpc/add_n.s: New file. - * sysdeps/powerpc/addmul_1.s: New file. - * sysdeps/powerpc/lshift.s: New file. - * sysdeps/powerpc/memset.s: New file. - * sysdeps/powerpc/mul_1.s: New file. - * sysdeps/powerpc/rshift.s: New file. - * sysdeps/powerpc/strchr.s: New file. - * sysdeps/powerpc/strcmp.s: New file. - * sysdeps/powerpc/sub_n.s: New file. - * sysdeps/powerpc/submul_1.s: New file. - -1997-08-28 18:42 Thorsten Kukuk - - * nis/nis_server.c: Rewritten to fix a lot of bugs. - -1997-08-28 Andreas Schwab - - * md5-crypt/Makefile (LDFLAGS-md5crypt.so, libmd5crypt-map): New - variables. - -1997-08-29 02:36 Ulrich Drepper - - * Makefile (version-info.h): Use ISO form for the date. - - * catgets/catgetsinfo.h: Include . - (struct catalog_obj): Add lock field. - (__open_catalog): Remove second parameter from prototype. - * catgets/catgets.c (catopen): Initialize lock field. - (catgets): Don't pass second parameter to __open_catalog. - * catgets/gencat.c: Initialize lock field and don't pass second - parameter to __open_catalog. - * catgets/open_catalog.c (__open_catalog): Decide about use of - path by examining path in struct, not based on extra argument. - Acquire a the lock before trying to load the catalog and release - it before returning. - - * csu/Makefile (abi-tag.h): Make sure target directory exists. - - * io/Makefile (headers): Add bits/poll.h. - * io/sys/poll.h: Remove definitions of POLL* constants. - Include . - * sysdeps/generic/bits/poll.h: New file. - * sysdeps/unix/sysv/linux/bits/poll.h: New file. - * sysdeps/unix/sysv/linux/m68k/bits/poll.h: New file. - * sysdeps/unix/sysv/linux/mips/bits/poll.h: New file. - * sysdeps/unix/sysv/linux/sparc/bits/poll.h: New file. - - * libio/fileops.c (_IO_file_read, _IO_file_write): Remove dead code. - - * malloc/obstack.c: Add casts to keep very verbose compilers on - 64bit machine quiet. - - * nss/Makefile (libnss_db.so): Find libdb.so in db2 directory. - -1997-08-28 17:30 Ulrich Drepper - - * catgets/catgets.c (catopen): Correctly determine length of string - in NLSPATH environment variable. Patch by HJ Lu . - -1997-08-27 23:19 Richard Henderson - - * sysdeps/generic/dl-sysdep.c (DL_FIND_ARG_COMPONENTS): Provide - default macro to track down arguments from stack start. - (_dl_sysdep_start): Use it. - * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Truncate to simply - providing a special DL_FIND_ARG_COMPONENTS and including the next - file up the line. - - * sysdeps/powerpc/e_sqrt.c: Move contents to w_sqrt.c and provide stub. - * sysdeps/powerpc/e_sqrtf.c: Likewise. - * sysdeps/powerpc/s_copysignf.S: Provide empty file; symbol is with - the double precision version. - * sysdeps/powerpc/s_fabsf.S: Likewise. - * sysdeps/powerpc/s_isnanf.S: Likewise. - -1997-08-10 19:17 Philip Blundell - - * nss/nss_db/db-XXX.c: Include not . Somebody - should update this to use the new db API. - * nss/nss_db/db-netgrp.c: Likewise. - * nss/nss_db/db-alias.c: Likewise. - * db2/Makefile: Makefile for db-2.x in glibc. - -1997-08-27 21:20 Ulrich Drepper - - * csu/Makefile (before-compile): New goal. Make sure abi-tag.h - is generated. - [$(elf)=yes] (asm-CPPFLAGS): Make sure abi-tag.h file can be found. - - * Makeconfig [$(build-omitfp)=yes] (CFLAGS-.o): Add - -D__USE_STRING_INLINES. - * string/string.f: Move strnlen optimization after inclusion of - . Include only if __USE_STRING_INLINES - is defined. - * sysdeps/generic/memcpy.c: Undef memcpy to allow macro of this name - in . - * sysdeps/generic/memset.c: Likewise. - * sysdeps/i386/string.h: i386 optimized string functions. - * sysdeps/i386/i486string.h: i486+ optimized string functions. - - * Makefile (subdirs): Change db to db2. - * shlib-versions: Bump libdb verion number to 3. - * include/db.h: Include from db2 directory. - * include/db_185.h: New file. - * sysdeps/i386/Makefile [$(subdirs)=db2] (CPPFLAGS): Add macros - to provide spinlock information for db2. - * sysdeps/m68k/m68020/Makefile: New file. Likewise. - * sysdeps/sparc/Makefile: New file. Likewise. - * sysdeps/unix/sysv/linux/Makefile [$(subdirs)=db2] (CPPFLAGS): - Add -DHAVE_LLSEEK. - * db2/config.h: Hand-edited config file for db2 in glibc. - * db2/compat.h: New file from db-2.3.4. - * db2/db.h: Likewise. - * db2/db_185.h: Likewise. - * db2/db_int.h: Likewise. - * db2/makedb.c: Likewise. - * db2/btree/bt_close.c: Likewise. - * db2/btree/bt_compare.c: Likewise. - * db2/btree/bt_conv.c: Likewise. - * db2/btree/bt_cursor.c: Likewise. - * db2/btree/bt_delete.c: Likewise. - * db2/btree/bt_open.c: Likewise. - * db2/btree/bt_page.c: Likewise. - * db2/btree/bt_put.c: Likewise. - * db2/btree/bt_rec.c: Likewise. - * db2/btree/bt_recno.c: Likewise. - * db2/btree/btree_auto.c: Likewise. - * db2/btree/bt_rsearch.c: Likewise. - * db2/btree/bt_search.c: Likewise. - * db2/btree/bt_split.c: Likewise. - * db2/btree/bt_stat.c: Likewise. - * db2/btree/btree.src: Likewise. - * db2/common/db_appinit.c: Likewise. - * db2/common/db_err.c: Likewise. - * db2/common/db_byteorder.c: Likewise. - * db2/common/db_apprec.c: Likewise. - * db2/common/db_salloc.c: Likewise. - * db2/common/db_log2.c: Likewise. - * db2/common/db_region.c: Likewise. - * db2/common/db_shash.c: Likewise. - * db2/db/db.c: Likewise. - * db2/db/db.src: Likewise. - * db2/db/db_conv.c: Likewise. - * db2/db/db_dispatch.c: Likewise. - * db2/db/db_dup.c: Likewise. - * db2/db/db_overflow.c: Likewise. - * db2/db/db_pr.c: Likewise. - * db2/db/db_rec.c: Likewise. - * db2/db/db_ret.c: Likewise. - * db2/db/db_thread.c: Likewise. - * db2/db/db_auto.c: Likewise. - * db2/db185/db185.c: Likewise. - * db2/db185/db185_int.h: Likewise. - * db2/dbm/dbm.c: Likewise. - * db2/hash/hash.c: Likewise. - * db2/hash/hash.src: Likewise. - * db2/hash/hash_page.c: Likewise. - * db2/hash/hash_conv.c: Likewise. - * db2/hash/hash_debug.c: Likewise. - * db2/hash/hash_stat.c: Likewise. - * db2/hash/hash_rec.c: Likewise. - * db2/hash/hash_dup.c: Likewise. - * db2/hash/hash_func.c: Likewise. - * db2/hash/hash_auto.c: Likewise. - * db2/include/mp.h: Likewise. - * db2/include/btree.h: Likewise. - * db2/include/db.h.src: Likewise. - * db2/include/db_int.h.src: Likewise. - * db2/include/db_shash.h: Likewise. - * db2/include/db_swap.h: Likewise. - * db2/include/db_185.h.src: Likewise. - * db2/include/txn.h: Likewise. - * db2/include/db_am.h: Likewise. - * db2/include/shqueue.h: Likewise. - * db2/include/hash.h: Likewise. - * db2/include/db_dispatch.h: Likewise. - * db2/include/lock.h: Likewise. - * db2/include/db_page.h: Likewise. - * db2/include/log.h: Likewise. - * db2/include/db_auto.h: Likewise. - * db2/include/btree_auto.h: Likewise. - * db2/include/hash_auto.h: Likewise. - * db2/include/log_auto.h: Likewise. - * db2/include/txn_auto.h: Likewise. - * db2/include/db_ext.h: Likewise. - * db2/include/btree_ext.h: Likewise. - * db2/include/clib_ext.h: Likewise. - * db2/include/common_ext.h: Likewise. - * db2/include/hash_ext.h: Likewise. - * db2/include/lock_ext.h: Likewise. - * db2/include/log_ext.h: Likewise. - * db2/include/mp_ext.h: Likewise. - * db2/include/mutex_ext.h: Likewise. - * db2/include/os_ext.h: Likewise. - * db2/include/txn_ext.h: Likewise. - * db2/include/cxx_int.h: Likewise. - * db2/include/db_cxx.h: Likewise. - * db2/include/queue.h: Likewise. - * db2/lock/lock.c: Likewise. - * db2/lock/lock_conflict.c: Likewise. - * db2/lock/lock_util.c: Likewise. - * db2/lock/lock_deadlock.c: Likewise. - * db2/log/log.c: Likewise. - * db2/log/log_get.c: Likewise. - * db2/log/log.src: Likewise. - * db2/log/log_compare.c: Likewise. - * db2/log/log_put.c: Likewise. - * db2/log/log_rec.c: Likewise. - * db2/log/log_archive.c: Likewise. - * db2/log/log_register.c: Likewise. - * db2/log/log_auto.c: Likewise. - * db2/log/log_findckp.c: Likewise. - * db2/mp/mp_bh.c: Likewise. - * db2/mp/mp_fget.c: Likewise. - * db2/mp/mp_fopen.c: Likewise. - * db2/mp/mp_fput.c: Likewise. - * db2/mp/mp_fset.c: Likewise. - * db2/mp/mp_open.c: Likewise. - * db2/mp/mp_region.c: Likewise. - * db2/mp/mp_pr.c: Likewise. - * db2/mp/mp_sync.c: Likewise. - * db2/mutex/68020.gcc: Likewise. - * db2/mutex/mutex.c: Likewise. - * db2/mutex/README: Likewise. - * db2/mutex/x86.gcc: Likewise. - * db2/mutex/sparc.gcc: Likewise. - * db2/mutex/uts4.cc.s: Likewise. - * db2/mutex/alpha.dec: Likewise. - * db2/mutex/alpha.gcc: Likewise. - * db2/mutex/parisc.gcc: Likewise. - * db2/mutex/parisc.hp: Likewise. - * db2/os/db_os_abs.c: Likewise. - * db2/os/db_os_dir.c: Likewise. - * db2/os/db_os_fid.c: Likewise. - * db2/os/db_os_lseek.c: Likewise. - * db2/os/db_os_mmap.c: Likewise. - * db2/os/db_os_open.c: Likewise. - * db2/os/db_os_rw.c: Likewise. - * db2/os/db_os_sleep.c: Likewise. - * db2/os/db_os_stat.c: Likewise. - * db2/os/db_os_unlink.c: Likewise. - * db2/txn/txn.c: Likewise. - * db2/txn/txn.src: Likewise. - * db2/txn/txn_rec.c: Likewise. - * db2/txn/txn_auto.c: Likewise. - * db2/clib/getlong.c: Likewise. - * db2/progs/db_archive/db_archive.c: Likewise. - * db2/progs/db_checkpoint/db_checkpoint.c: Likewise. - * db2/progs/db_deadlock/db_deadlock.c: Likewise. - * db2/progs/db_dump/db_dump.c: Likewise. - * db2/progs/db_dump185/db_dump185.c: Likewise. - * db2/progs/db_load/db_load.c: Likewise. - * db2/progs/db_printlog/db_printlog.c: Likewise. - * db2/progs/db_recover/db_recover.c: Likewise. - * db2/progs/db_stat/db_stat.c: Likewise. - - * libio/stdio.h [__cplusplus] (__STDIO_INLINE): Define as inline. - - * po/de.po, po/sv.po: Update from 2.0.5 translations. - - * sysdeps/unix/sysv/linux/netinet/tcp.h: Pretty print. - - * sunrpc/rpc/xdr.h (XDR): Don't define argument of x_destroy callback - as const. - * sunrpc/xdr_mem.c (xdrmem_destroy): Don't define argument as const. - * sunrpx/xdr_rec.c (xdrrec_destroy): Likewise. - * sunrpx/xdr_stdio.c (xdrstdio_destroy): Likewise. - -1997-08-27 18:47 Ulrich Drepper - - * sysdeps/unix/sysv/linux/if_index.c: Include . - Reported by Benjamin Kosnik . - -1997-08-27 02:27 Roland McGrath - - * abi-tags: New file. - * csu/Makefile (distribute): Remove abi-tag.h. - ($(objpfx)abi-tag.h): New target. - * Makefile (distribute): Add abi-tags. - * sysdeps/unix/sysv/linux/abi-tag.h: File removed. - * sysdeps/mach/hurd/abi-tag.h: File removed. - * sysdeps/stub/abi-tag.h: File removed. - -1997-08-25 Andreas Schwab - - * sysdeps/unix/make-syscalls.sh: Change output so that it - generates compilation rules only for the currently selected object - suffixes. - -1997-08-25 Andreas Schwab - - * sysdeps/m68k/dl-machine.h (RTLD_START): Switch back to previous - section to avoid confusing the compiler. - * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise. - * sysdeps/i386/dl-machine.h (RTLD_START): Likewise. - * sysdeps/mips/dl-machine.h (RTLD_START): Likewise. - * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise. - * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise. - - * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use a GOT - relocation instead of a constant to avoid text relocation. - (ELF_MACHINE_BEFORE_RTLD_RELOC): Removed. - (RTLD_START): Declare global labels as functions and add size - directive. - -1997-08-25 17:01 Ulrich Drepper - - * sysdeps/i386/bits/select.h: Correct assembler versions to work even - for descriptors >= 32. - - * stdlib/alloca.h: Don't define alloca to __alloca since if gcc - is used __alloca is not defined to __builtin_alloca and so might - not be available. - Reported by Uwe Ohse . - - * sysdeps/unix/sysv/linux/sys/sysmacros.h: Define macros in a special - way if gcc is not used and so dev_t is an array. - Reported by Uwe Ohse . - -1997-08-23 Andreas Schwab - - * manual/libc.texinfo: Reorder chapters to match logical order. - -1997-08-25 12:22 Ulrich Drepper - - * sunrpc/rpc/xdr.h: Change name of parameters in prototypes of - xdr_reference, xdrmem_create, and xdrstdio_create because of clash - with g++ internal symbols. - Patch by Sudish Joseph . - -1997-08-24 Miles Bader - - * string/argz.h: Add missing __END_DECLS. - -1997-08-24 12:24 Ulrich Drepper - - * configure.in (INSTALL): Quote `$'. - - * libc.map: Add __xpg_basename. - - * csu/Makefile (initfini.s): Disable optimization. - - * elf/dl-deps.c: Implement handling of DT_FILTER. - - * elf/dl-load.c (_dl_init_paths): Add error check. - - * intl/finddomain.c (_nl_find_domain): Correct comment. - * intl/localealias.c: Include not . - - * libio/stdio.h: Make {,v}snprintf available if __USE_BSD. - Change extern inline functions to work correctly in C++. - - * locale/iso-4217.def: Update for more recent ISO 4217 version. - - * locale/loadlocale.c (_nl_load_locale): Add cast. - - * manual/message.texi: Finish gettext section. - - * posix/getopt_init.c: Don't use relative #include path. - (__getopt_clean_environment): Change function to take pointer to - environment as argument. Optimize generation of test string a bit. - * sysdeps/unix/sysv/linux/init-first.c: Call __getopt_clean_environment - with additional argument. - - * poisx/glob.c: Add prototype for next_brace_sub. - - * sysdeps/generic/dl-sysdep.c: Recognize AT_BASE value on auxiliary - vector. - - * sysdeps/i386/dl-machine.h (elf_machine_load_address): Rewrite - to not generate relocation entry. Suggested by Richard Henderson. - (ELF_MACHINE_BEFORE_RTLD_RELOC): Removed. - (elf_machine_runtime_setup): Add .aligns. - - * sysdeps/i386/fpu/fraiseexcpt.c: Add volatile to asms. - - * sysdeps/i386/fpu/bits/mathinline.h: Partially undo change of - 1997-08-14 03:14. gcc 2.7.2* is really broken in some aspects. - - * sysdeps/standalone/i386/i386.h: Clean up asm statements a bit. - * sysdeps/standalone/i960/i960ca.h: Likewise. - -1997-08-22 19:04 Richard Henderson - - * elf/rtld.c (_dl_start): Init _dl_rtld_map.l_opencount due to - undocumented test addition in _dl_map_object. - - Support ET_EXEC versions of ld.so, for debugging at least: - - * elf/dl-load.c (_dl_map_object): Add_name_to_object could get - called despite the DT_SONAME != NULL test, segfaulting. Simplify - the code here as well. - * elf/dl-lookup.c (do_lookup): Skip objects with no symtab. - (_dl_setup_hash): Likewise for hash tables. - * elf/dl-version.c (_dl_check_map_versions): Likewise for strtabs. - * elf/rtld.c (_dl_start): Likewise for rpath. - (_dl_rtld_libname2): New variable. - (dl_main): Use it to add an soname for ourselves when we don't have - one of our own. Base it on the target's .interp. - (dl_main): Again, skip printing of objects that don't have strtabs. - - Sparc 32 merge: - - * elf/dl-runtime.c (ELF_FIXUP_RETURN_VALUE): Provide default value. - (fixup): Simplify code. Use ELF_FIXUP_RETURN_VALUE. - (profile_fixup): Likewise, though this still needs fixing for - Sparc32 and PPC. - * sysdeps/powerpc/dl-machine.h: Transmute ELF_FIXUP_RETURNS_ADDRESS - to ELF_FIXUP_RETURN_VALUE. - - * sysdeps/sparc/sparc32/dl-machine.h: Implement lazy relocation. - Fix up _dl_start_user to handle _dl_skip_args properly. - Use _dl_hwcap to determine if "flush" is available/needed. - - * sysdeps/sparc/configure.in: Remove. It doesn't actually do - anything anymore, and what it did do is done somewhere else. - * sysdeps/sparc/configure: Likewise. - - * sysdeps/sparc/fpu/bits/mathdef.h (FP_ILOGB0, FP_ILOGBNAN): New. - - * sysdeps/sparc/fpu/fraiseexcpt.c: Rearrange for smaller code. - - * sysdeps/sparc/sparc32/Makefile: Fix sparc->sparc/sparc32 bits - in divrem expansions. - - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (END, LOC): New - definitions for assembly syntax differences. - - * sysdeps/sparc/sparc32/__longjmp.S: %g6,%g7 are reserved to the - "system". Use %g2,%g3 instead. Use new local label macro. - * sysdeps/sparc/sparc32/add_n.S: Use and ENTRY, END, - and LOC for proper assembly headers/footers. - * sysdeps/sparc/sparc32/addmul_1.S: Likewise. - * sysdeps/sparc/sparc32/alloca.S: Likewise. - * sysdeps/sparc/sparc32/dotmul.S: Likewise. - * sysdeps/sparc/sparc32/lshift.S: Likewise. - * sysdeps/sparc/sparc32/mul_1.S: Likewise. - * sysdeps/sparc/sparc32/rshift.S: Likewise. - * sysdeps/sparc/sparc32/sparcv8/addmul_1.S: Likewise. - * sysdeps/sparc/sparc32/sparcv8/mul_1.S: Likewise. - * sysdeps/sparc/sparc32/sparcv8/submul_1.S: Likewise. - * sysdeps/sparc/sparc32/sparcv8/udiv_qrnnd.S: Likewise. - * sysdeps/sparc/sparc32/sub_n.S: Likewise. - * sysdeps/sparc/sparc32/submul_1.S: Likewise. - * sysdeps/sparc/sparc32/udiv_qrnnd.S: Likewise. - * sysdeps/sparc/sparc32/umul.S: Likewise. - * sysdeps/sparc/sparc32/divrem.m4: Likewise. - * sysdeps/sparc/sparc32/rem.S: Regenerate. - * sysdeps/sparc/sparc32/sdiv.S: Regenerate. - * sysdeps/sparc/sparc32/udiv.S: Regenerate. - * sysdeps/sparc/sparc32/urem.S: Regenerate. - - * sysdeps/sparc/sparc32/sparcv8/dotmul.S: New file. - * sysdeps/sparc/sparc32/sparcv8/rem.S: New file. - * sysdeps/sparc/sparc32/sparcv8/sdiv.S: New file. - * sysdeps/sparc/sparc32/sparcv8/udiv.S: New file. - * sysdeps/sparc/sparc32/sparcv8/umul.S: New file. - * sysdeps/sparc/sparc32/sparcv8/urem.S: New file. - - * sysdeps/sparc/sparc32/bsd-_setjmp.S: Dike out. - * sysdeps/sparc/sparc32/bsd-setjmp.S: Likewise. - * sysdeps/sparc/sparc32/setjmp.S: Add _setjmp and setjmp entry points. - - * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S: - Clean up PIC code. - - * sysdeps/sparc/sparc32/elf/start.S: New file, slightly modified - from the sparc64 version. - * sysdeps/sparc/sparc32/elf/start.c: Removed. - - * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Rewrite in - assembly based on the sparc64 version. - - * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Duh. Use proper syntax - for manipulating %fsr. - * sysdeps/sparc/sparc32/fpu/fpu_control.h: Make IEEE conformance - be the default. - - * elf/elf.h (HWCAP_SPARC_*): New definitions. - * elf/rtld.c (_dl_hwcap): New variable. - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Record AT_HWCAP. - - * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: New file. - Attempt to get hold of the page size based on what we might have - been told at startup time in _dl_pagesize. This will be obsolete - when I finish the kernel hooks for a proper sysconf(), stay tuned. - - Sparc 64 merge: - - * sysdeps/sparc/sparc64/dl-machine.h (ELF_FIXUP_RETURN_VALUE): New. - Figure out the right thing to return based on the .plt format. - - * sysdeps/sparc/sparc64/fpu/fpu_control.h: Update comment. - - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__dev_t): - Should have been 64-bits wide. - - * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: sll->sllx, - optimize for branch delay slot usage. - -1997-08-22 Andreas Schwab - - * csu/Makefile ($(objpfx)crt%.o): Fix a missing *.so -> *.os - change. - -1997-08-20 Andreas Jaeger - - * math/libm-test.c (identities): Change epsilon. - - * sysdeps/i386/fpu/bits/mathinline.h: Correct arguments to fabs, - fabsf, fabsl, __fabsl. - -1997-08-20 05:30 Ulrich Drepper - - * catgets/catgets.c (catclose): Use __munmap instead of munmap. - * catgets/gencat.c (read_input_file): Fix typo. - - * dirent/dirent.h: Make seekdir and telldir available for __USE_XOPEN. - - * elf/dl-load.c: Fix case of missing DT_RPATH in object which gets - executed (e.g., when it is a static binary). - - * intl/bindtextdomain.c: Use strdup in glibc. Correct comment. - * intl/dcgettext.c: Likewise. - * intl/dgettext.c: Likewise. - * intl/explodename.c: Likewise. - * intl/finddomain.c: Likewise. - * intl/gettext.c: Likewise. - * intl/gettext.h: Likewise. - * intl/hash-string.h: Likewise. - * intl/l10nflist.c: Likewise. - * intl/libintl.h: Likewise. - * intl/loadinfo.h: Likewise. - * intl/loadmsgcat.c: Likewise. - * intl/localealias.c: Likewise. - * intl/textdomain.c: Likewise. - - Unify libio sources with code in libg++. - * libio/fcloseall.c: Update and reformat copyright. Protect use - of weak_alias. Use _IO_* thread macros instead of __libc_*. - * libio/feof.c: Likewise. - * libio/feof_u.c: Likewise. - * libio/ferror.c: Likewise. - * libio/ferror_u.c: Likewise. - * libio/fgetc.c: Likewise. - * libio/filedoalloc.c: Likewise. - * libio/fileno.c: Likewise. - * libio/fileops.c: Likewise. - * libio/fputc.c: Likewise. - * libio/fputc_u.c: Likewise. - * libio/freopen.c: Likewise. - * libio/fseek.c: Likewise. - * libio/genops.c: Likewise. - * libio/getc.c: Likewise. - * libio/getc_u.c: Likewise. - * libio/getchar.c: Likewise. - * libio/getchar_u.c: Likewise. - * libio/iofclose.c: Likewise. - * libio/iofdopen.c: Likewise. - * libio/iofflush.c: Likewise. - * libio/iofflush_u.c: Likewise. - * libio/iofgetpos.c: Likewise. - * libio/iofgets.c: Likewise. - * libio/iofopen.c: Likewise. - * libio/iofopncook.c: Likewise. - * libio/iofprintf.c: Likewise. - * libio/iofputs.c: Likewise. - * libio/iofread.c: Likewise. - * libio/iofsetpos.c: Likewise. - * libio/ioftell.c: Likewise. - * libio/iofwrite.c: Likewise. - * libio/iogetdelim.c: Likewise. - * libio/iogetline.c: Likewise. - * libio/iogets.c: Likewise. - * libio/iopadn.c: Likewise. - * libio/iopopen.c: Likewise. - * libio/ioputs.c: Likewise. - * libio/ioseekoff.c: Likewise. - * libio/ioseekpos.c: Likewise. - * libio/iosetbuffer.c: Likewise. - * libio/iosetvbuf.c: Likewise. - * libio/iosprintf.c: Likewise. - * libio/ioungetc.c: Likewise. - * libio/iovdprintf.c: Likewise. - * libio/iovsprintf.c: Likewise. - * libio/iovsscanf.c: Likewise. - * libio/libio.h: Likewise. - * libio/libioP.h: Likewise. - * libio/obprintf.c: Likewise. - * libio/pclose.c: Likewise. - * libio/peekc.c: Likewise. - * libio/putc.c: Likewise. - * libio/putchar.c: Likewise. - * libio/rewind.c: Likewise. - * libio/setbuf.c: Likewise. - * libio/setlinebuf.c: Likewise. - * libio/stdfiles.c: Likewise. - * libio/stdio.c: Likewise. - * libio/strfile.h: Likewise. - * libio/strops.c: Likewise. - * libio/vasprintf.c: Likewise. - * libio/vscanf.c: Likewise. - * libio/vsnprintf.c: Likewise. - - * manual/libc.texinfo: Add menu entries for chapter on message - translation. - * manual/locale.texi: Correct next entry in @node for new chapter. - * manual/search.texi: Likewise for previous link. - * manual/message.texi: New file. - * manual/startup.texi: Document LC_ALL, LC_MESSAGES, NLSPATH, - setenv, unsetenv, and clearenv. - * manual/string.texi: Fix typos. Patch by Jim Meyering. - - * math/Makefile (test-longdouble-yes): Enable. We want long double - tests now. - - Crusade against strcat. - * nis/nss_nisplus/nisplus-publickey.c: Remove uses of strcat. - * stdlib/canonicalize.c: Likewise. - - * posix/glob.h: Define __const if necessary. Use __const in all - prototypes. - - * sysdeps/generic/stpcpy.c: Use K&R form to allow use in other - GNU packages. - - * posix/wordexp.c: Completely reworked buffer handling for much - better performance. Patch by Tim Waugh. - - * socket/sys/sochet.h (getpeername): Fix type of LEN parameter, - it must be socklen_t. - - * sysdeps/libm-i387/e_remainder.S: Pretty print. + * sysdeps/libm-i387/e_acos.S: Use END, not PSEUDO_END. + * sysdeps/libm-i387/e_acosl.S: Likewise. + * sysdeps/libm-i387/e_asin.S: Likewise. + * sysdeps/libm-i387/e_asinl.S: Likewise. + * sysdeps/libm-i387/e_atan2.S: Likewise. + * sysdeps/libm-i387/e_atan2f.S: Likewise. + * sysdeps/libm-i387/e_atan2l.S: Likewise. + * sysdeps/libm-i387/e_exp.S: Likewise. + * sysdeps/libm-i387/e_expl.S: Likewise. + * sysdeps/libm-i387/e_fmod.S: Likewise. + * sysdeps/libm-i387/e_fmodl.S: Likewise. + * sysdeps/libm-i387/e_log.S: Likewise. + * sysdeps/libm-i387/e_log10.S: Likewise. + * sysdeps/libm-i387/e_log10l.S: Likewise. + * sysdeps/libm-i387/e_logl.S: Likewise. + * sysdeps/libm-i387/e_remainder.S: Likewise. * sysdeps/libm-i387/e_remainderf.S: Likewise. - * sysdeps/libm-i387/e_remainderl.S: Pop extra value from FPU stack. - * sysdeps/libm-i387/s_cexp.S: Little optimization. - * sysdeps/libm-i387/s_cexpl.S: Likewise. - * sysdeps/libm-ieee754/s_csinhl.c: Include . - -1997-08-18 15:21 Ulrich Drepper - - * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Fix memory leak - in cleanup code. - -1997-08-17 Paul Eggert - - * tzset.c (__tzset_internal): Fix memory leak when the user - specifies a TZ value that uses a default rule file. - Do not assume US DST rules when the user specifies - that there is no DST. - -1997-08-10 19:17 Philip Blundell - - * inet/getnameinfo.c: Tidy up. - * sysdeps/posix/getaddrinfo.c: Likewise. - - * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Return 0 if - using stub code. - (if_indextoname): Use SIOGIFNAME ioctl if the kernel supports it. - (if_nameindex): Use alloca() rather than malloc(); use - SIOCGIFCOUNT ioctl if the kernel supports it. - -1997-08-16 Andreas Schwab - - * sysdeps/unix/sysv/linux/sys/mount.h: Remove the IS_* macros, - they operate on internal kernel structures and have no place in a - user header. - -1997-08-16 Andreas Schwab - - * Makerules (lib%.so): Depend on $(+preinit) and $(+postinit). - (build-shlib): Filter them out of $^. - -1997-08-15 Andreas Schwab - - * elf/dl-error.c (_dl_signal_error): Fix error message. - -1997-08-16 04:06 Ulrich Drepper - - * assert/assert.h [__USE_GNU]: Undefine assert_perror. - Reported by Theodore C. Belding . - -1997-08-13 Andreas Schwab - - * Makeconfig: Change object suffixes from *.[spgb]o to *.o[spgb] - to avoid conflict with PO files. - * Makerules: Likewise. - * Rules: Likewise. - * elf/Makefile: Likewise. - * extra-lib.mk: Likewise. - * gmon/Makefile: Likewise. - * nis/Makefile: Likewise. - * nss/Makefile: Likewise. - * resolv/Makefile: Likewise. - * rpm/Makefile: Likewise. - * sunrpc/Makefile: Likewise. - * sysdeps/sparc/elf/Makefile: Likewise. - * sysdeps/sparc64/elf/Makefile: Likewise. - * sysdeps/unix/sysv/linux/sparc/Makefile: Likewise. - (ASFLAGS-.os): Renamed from as-FLAGS.os. - -1997-08-14 03:14 Ulrich Drepper - - * elf/dl-minimal.c: Don't use relative #include paths. - (malloc): Don't try to initialize _dl_pagesize, it already is. - (__sigjmp_save, longjmp): Reformat. - - * sysdeps/generic/dl-sysdep.c: Implement _dl_show_auxv function to - show content of auxiliary array. - (_dl_sysdep_start): Remember start of auxiliary vector. - * sysdeps/mach/hurd/dl-sysdep.c: (_dl_show_auxv): New dummy function. - * elf/link.h: Add prototype for _dl_show_auxv. - * elf/rtld.c (dl_main): Call _dl_show_auxv if LD_SHOW_AUXV envvar - is present. + * sysdeps/libm-i387/e_remainderl.S: Likewise. + * sysdeps/libm-i387/e_scalb.S: Likewise. + * sysdeps/libm-i387/e_scalbl.S: Likewise. + * sysdeps/libm-i387/e_sqrt.S: Likewise. + * sysdeps/libm-i387/e_sqrtf.S: Likewise. + * sysdeps/libm-i387/e_sqrtl.S: Likewise. + * sysdeps/libm-i387/s_atan.S: Likewise. + * sysdeps/libm-i387/s_atanf.S: Likewise. + * sysdeps/libm-i387/s_atanl.S: Likewise. + * sysdeps/libm-i387/s_ceil.S: Likewise. + * sysdeps/libm-i387/s_ceilf.S: Likewise. + * sysdeps/libm-i387/s_ceill.S: Likewise. + * sysdeps/libm-i387/s_copysign.S: Likewise. + * sysdeps/libm-i387/s_copysignf.S: Likewise. + * sysdeps/libm-i387/s_copysignl.S: Likewise. + * sysdeps/libm-i387/s_cos.S: Likewise. + * sysdeps/libm-i387/s_cosf.S: Likewise. + * sysdeps/libm-i387/s_cosl.S: Likewise. + * sysdeps/libm-i387/s_finite.S: Likewise. + * sysdeps/libm-i387/s_finitef.S: Likewise. + * sysdeps/libm-i387/s_finitel.S: Likewise. + * sysdeps/libm-i387/s_floor.S: Likewise. + * sysdeps/libm-i387/s_floorf.S: Likewise. + * sysdeps/libm-i387/s_floorl.S: Likewise. + * sysdeps/libm-i387/s_ilogb.S: Likewise. + * sysdeps/libm-i387/s_ilogbf.S: Likewise. + * sysdeps/libm-i387/s_ilogbl.S: Likewise. + * sysdeps/libm-i387/s_log1p.S: Likewise. + * sysdeps/libm-i387/s_log1pf.S: Likewise. + * sysdeps/libm-i387/s_log1pl.S: Likewise. + * sysdeps/libm-i387/s_logb.S: Likewise. + * sysdeps/libm-i387/s_logbf.S: Likewise. + * sysdeps/libm-i387/s_logbl.S: Likewise. + * sysdeps/libm-i387/s_rint.S: Likewise. + * sysdeps/libm-i387/s_rintf.S: Likewise. + * sysdeps/libm-i387/s_rintl.S: Likewise. + * sysdeps/libm-i387/s_scalbn.S: Likewise. + * sysdeps/libm-i387/s_scalbnf.S: Likewise. + * sysdeps/libm-i387/s_scalbnl.S: Likewise. + * sysdeps/libm-i387/s_significand.S: Likewise. + * sysdeps/libm-i387/s_significandf.S: Likewise. + * sysdeps/libm-i387/s_significandl.S: Likewise. + * sysdeps/libm-i387/s_sin.S: Likewise. + * sysdeps/libm-i387/s_sinf.S: Likewise. + * sysdeps/libm-i387/s_sinl.S: Likewise. + + * sysdeps/libm-i387/e_log.S: Use fyl2xp1 instruction for values + near 1 to increase precision. + * sysdeps/libm-i387/e_log10.S: Likewise. + * sysdeps/libm-i387/e_log10l.S: Likewise. + * sysdeps/libm-i387/e_logl.S: Likewise. + + * sysdeps/libm-i387/s_cos.S: Use testl instead of andw. + * sysdeps/libm-i387/s_cosl.S: Likewise. + * sysdeps/libm-i387/s_sin.S: Likewise. + * sysdeps/libm-i387/s_sinl.S: Likewise. + * sysdeps/libm-i387/s_tan.S: Likewise. + * sysdeps/libm-i387/s_tanl.S: Likewise. + + * sysdeps/libm-i387/e_acosf.S: New file. Add float versions. + * sysdeps/libm-i387/e_asinf.S: Likewise. + * sysdeps/libm-i387/e_expf.S: Likewise. + * sysdeps/libm-i387/e_fmodf.S: Likewise. + * sysdeps/libm-i387/e_log10f.S: Likewise. + * sysdeps/libm-i387/e_logf.S: Likewise. + * sysdeps/libm-i387/e_scalbf.S: Likewise. + + * sysdeps/libm-i387/e_acosh.S: New file. Highly optimized versions. + * sysdeps/libm-i387/e_acoshf.S: Likewise. + * sysdeps/libm-i387/e_acoshl.S: Likewise. + * sysdeps/libm-i387/e_atanh.S: Likewise. + * sysdeps/libm-i387/e_atanhf.S: Likewise. + * sysdeps/libm-i387/e_atanhl.S: Likewise. + * sysdeps/libm-i387/e_asinh.S: Likewise. + * sysdeps/libm-i387/e_asinhf.S: Likewise. + * sysdeps/libm-i387/e_asinhl.S: Likewise. + + * sysdeps/libm-ieee754/s_asinhf.c: Tweak a bit. Use lower levels + for simplified handling. + + * sysdeps/unix/sysv/linux/syscalls.list: Add query_module. + +Sun Dec 22 01:39:29 1996 Andreas Schwab + + * inet/rcmd.c (rcmd): Set h_errno before calling herror. + * inet/rexec.c (rexec): Likewise. + +Sat Dec 21 21:47:08 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/setjmp.c (__setjmp): Make it really + compatible. + +Sun Dec 22 03:23:33 1996 Ulrich Drepper + + * sysdeps/libm-i387/s_log1p.S: Use fyl2xp1 for numbers in range + -0.29 <= x <= 0.29, otherwise the old method. + * sysdeps/libm-i387/s_log1pf.S: Likewise. + * sysdeps/libm-i387/s_log1pl.S: Likewise. + +Sun Dec 22 00:01:27 1996 Ulrich Drepper + + * inet/getnetgrent.c: Reformat copyright. + + * inet/getnetgrent_r.c (__internal_endnetgrent): Correct comment. + (__internal_getnetgrent): Rename to __internal_getnetgrent_r as + required in change nis/nss_compat/* at Thu Dec 19 14:24:50 1996. + Reported by Thorsten Kukuk . + + * nss/nss_files/files-netgrp.c: Fix typo. + * login/utmp_db.c: Comment out unused variables. + * misc/tst-dirname.c: Provide prototype for main (for now). + * new-malloc/mcheck-init.c: Include . + * new-malloc/obstack.c: Provide real prototypes. + + * resolv/base64.c (b64_ntop): Use size_t as type of `i', not int. + (b64_pton): Likewise for `tarindex'. + * resolv/nsap_addr.c (inet_nsap_addr): Add cast to prevent warning. + + * stdio-common/Makefile: Add CFLAGS-vfprintf.c to prevent warning. + * stdio-common/printf-parse.h: Remove definition of MIN and MAX. + * stdio-common/printf-prs.c: Include to get MIN and MAX. + * stdio-common/vfprintf.c: Likewise. + * stdlib/gmp-impl.h: Only define MIN and MAX if not already done. + * stdlib/tst-strtol.c: Don't use -2147483648 as unsigned long value. + + * sysdeps/generic/Makefile ($(subdir)=string): Define + CFLAGS-wordcopy.c to prevent warning. + * sysdeps/generic/mul_n.c (mpn_mul_n): Don't define as inline. + * sysdeps/generic/wordcopy.c: De-ANSI-declfy. + * sysdeps/i386/Makefile ($(subdir)=elf): Define CFLAGS-rtld.c + to prevent warning. + * sysdeps/i386/dl-machine.h: Correct copyright. + * sysdeps/unix/closedir.c: Likewise. + * sysdeps/unix/dirstream.h: Likewise. + * sysdeps/unix/opendir.c: Likewise. + * time/tzset.c: Add prototype for __tzset_internal. + + * sysdeps/gnu/utmpbits.h (enum utlogin): Comment out since the + way it is supposed to work is not yet known. + (struct utmp): Remove ut_login and ut_syslen field for now. + +Sat Dec 21 16:23:54 1996 Ulrich Drepper + + * time/strftime.c: Fix another bug in handling flags made it + impossible to use the `-', `_', or `0' flag. + +Sat Dec 21 04:14:16 1996 Ulrich Drepper + + * sysdeps/unix/common/pause.c: Add missing second argument in + call to __sigpause. + Reported by a sun . - * libio/iofdopen.c: Better prepare for use in libstdc++. - * libio/iofflush.c: Likewise. - * libio/iofgetpos.c: Likewise. - * libio/iofgets.c: Likewise. - * libio/iofopen.c: Likewise. - * libio/iofputs.c: Likewise. - * libio/iofread.c: Likewise. - * libio/iofsetpos.c: Likewise. - * libio/ioftell.c: Likewise. - * libio/iofwrite.c: Likewise. - * libio/iogetdelim.c: Likewise. - * libio/iogets.c: Likewise. - * libio/iopopen.c: Likewise. - * libio/ioputs.c: Likewise. - * libio/iosetbuffer.c: Likewise. - * libio/iosetvbuf.c: Likewise. - * libio/ioungetc.c: Likewise. - * libio/iovsprintf.c: Likewise. - * libio/iovsscanf.c: Likewise. + * locale/weight.h: Correct handling of collation elements. + Reported by Keld Simonsen . + + * manual/time.texi: Document ^ flag and %P format. - * manual/creature.texi: Mention _XOPEN_SOURCE_EXTENDED in correct - place. + * new-malloc/malloc.c: Update from Wolfram Gloger. - * manual/math.texi: Add comment to sincos decsription to say it's a - GNU extension. - Fix description of random function. + * nss/nss.h: Reformat copyright. + * posix/sched.h: Likewise. + * sysdeps/i386/fpu_control.h: Likewise. + * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise. + * sysdeps/unix/sysv/linux/ioctls.h: Likewise. + * sysdeps/unix/sysv/linux/sigcontext.h: Likewise. + * sysdeps/unix/sysv/linux/utsnamelen.h: Likewise. + * sysdeps/unix/sysv/linux/sys/acct.h: Likewise. + * sysvips/sys/msg.h: Likewise. - * posix/fnmatch.h: Recognize Windog by _WINDOWS32 not WIN32. - * posix/glob.c: Likewise. Handle stupid system headers on SunOS. - Add casts for all __alloca calls. - * posix/glob.h: Recognize Windog by _WINDOWS32 not WIN32. - Declare additional GLOB_* constants also if _GNU_SOURCE is defined. - Patches by Paul D. Smith . - - * stdio-common/_itoa.c: Don't use relateive #include paths. + * stdio-common/Makefile (routines): Remove fcloseall. + * stdio-common/fcloseall.c: Removed. - * sysdeps/i386/fpu/bits/mathinline.h: Enable optimizations even for - gcc 2.7. - (atan): Loading 1.0 from memory does not pay off. - (asinh): Fix typo. - -1997-08-13 09:44 Philip Blundell - - * sysdeps/stub/accept.c: Use socklen_t where necessary. - * sysdeps/stub/bind.c: Likewise. - * sysdeps/stub/connect.c: Likewise. - * sysdeps/stub/getsockname.c: Likewise. - * sysdeps/stub/getsockopt.c: Likewise. - * sysdeps/stub/recvfrom.c: Likewise. - * sysdeps/stub/sendto.c: Likewise. - * sysdeps/stub/setsockopt.c: Likewise. - -1997-08-11 Andreas Schwab - - * io/ftw.c (object_compare): Avoid memcmp when comparing scalar - types. - -1997-08-12 Andreas Schwab - - * math/libm-test.c (cbrt_test): Add epsilon for long double to - `cbrt (-0.001)'. - -1997-08-11 Andreas Schwab - - * sysdeps/stub/bits/string.h: Fix comment. - -1997-08-01 Andreas Schwab - - * elf/Makefile (routines): Remove dl-version. - (dl-routines): Add it here instead. This removes dead code from - libc.so. - -1997-08-12 17:17 Wolfram Gloger - - * malloc/thread-m.h (thread_atfork, thread_atfork_static): New - macros to encapsulate pthread_atfork's functionality. - * malloc/malloc.c (ptmalloc_lock_all, ptmalloc_unlock_all): New - functions, registered via thread_atfork in the initialization - routine or via thread_atfork_static in global scope. This - ensures a consistent state of all locks across fork(). - -1997-08-11 23:00:32 1997 Mark Kettenis - - * login/programs/xtmp.c (compare_entry): - Partially undo patch made by Klaus Espenlaub. There - was no xtmp/utmp typo. Added comment to cclarify this. - * login/programs/xtmp.h: Likewise. - - * posix/getopt.c: Recognize Windog by _WINDOWS32 not WIN32. - Patch by Paul D. Smith . - -1997-08-12 13:51 Ulrich Drepper - - * login/getutid.c: Rename to __getutid and make getutid and getutxid - weak aliases. - Patch by ir. Mark M._Kettenis . - -1997-08-11 23:55 Ulrich Drepper - - * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers): - Add bits/mman.h. - -1997-08-11 08:51:21 1997 H.J. Lu - - * stdlib/fmtmsg.c (fmtmsg): Add static to - __libc_once_define macro. + * stdlib/Makefile (distribute): Add abort-instr.h. + * sysdeps/generic/abort-instr.h: New file. + * sysdeps/i386/abort-instr.h: New file. + * sysdeps/generic/abort.c: Use lock and stage counter to prevent + any form of loop. - * libc.map (__progname_full, __progname): Added. + * sysdeps/unix/sysv/linux/timebits.h: Define CLK_TCK as 100. + * sysdeps/unix/sysv/linux/alpha/timebits.h: Define CLOCKS_PER_SEC + as 1000000. Define CLK_TCK as 1024. + * time/time.c (CLK_TCK): Define only if not already set. -1997-08-04 08:31 H.J. Lu + * time/strftime.c: Don't use `isdigit' when computing field width + from string since the locale might have more than one digit + block. - * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Return 0 - if SIOGIFINDEX is not defined. - (if_indextoname): Initialize "result" to NULL. - (if_nametoindex, if_nameindex): Fix ENOSYS setting. +Fri Dec 20 12:38:14 1996 Darrel Hankerson -1997-08-11 11:58 Richard Henderson + * posix/getopt.c (in -W option handling): Return when optind == argc. - Sparc ISO C 9x exception handling: - * sysdeps/sparc/fpu/bits/mathdef.h: New file. - * sysdeps/sparc/fpu/fclrexcpt.c: New file. - * sysdeps/sparc/fpu/fegetenv.c: New file. - * sysdeps/sparc/fpu/fegetround.c: New file. - * sysdeps/sparc/fpu/feholdexcpt.c: New file. - * sysdeps/sparc/fpu/fesetenv.c: New file. - * sysdeps/sparc/fpu/fesetround.c: New file. - * sysdeps/sparc/fpu/feupdateenv.c: New file. - * sysdeps/sparc/fpu/fgetexcptflg.c: New file. - * sysdeps/sparc/fpu/fraiseexcpt.c: New file. - * sysdeps/sparc/fpu/fsetexcptflg.c: New file. - * sysdeps/sparc/fpu/ftestexcept.c: New file. - * sysdeps/sparc/sparc32/fpu/bits/fenv.h: New file. - * sysdeps/sparc/sparc64/fpu/bits/fenv.h: New file. +Thu Dec 19 14:24:50 1996 Andreas Schwab -1997-08-11 11:58 Richard Henderson + * nis/nss_nis/nis-alias.c (_nss_nis_parse_aliasent): Add const to + type of KEY. - Sparc64 merge: - * configure.in: Change up subdirectories, rename sparc8->sparcv8. - - * csu/Makefile: Nuke need-nopic-initfini bits. The problem was - that sparc64 ld did not recognize pic relocs at all. - - * elf/dl-deps.c: Include . - * elf/do-rel.h (elf_dynamic_do_rel): Take reloc address and size - directly instead of the DT names to get them from. - * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): New macro distilled - from ELF_DYNAMIC_DO_REL{,A}. Define a second version that accounts - for the possibility that DT_RELA and DT_JMPPLT overlap, as such is - the case on the Sparc. - - * elf/elf.h: Stub out Elf64_Ver*, and make them the same as the - Elf32_Ver* bits. The linker does not even know to differentiate - between the word sizes. Someone should examine this and figure - out what the proper sizes of things should be for 64-bit hosts - before the sparc64 libraries are distributed. - - * shlib-versions: Rename sparc64 ld.so to not conflict with sparc32 - on the same machine. - - Move old sysdeps/sparc contents to sysdeps/sparc/sparc32, - rename sparc8 subdir to sparcv8, move sysdeps/sparc64 content to - sysdeps/sparc/sparc64. Same for sysdeps/unix/sysv/linux/sparc. - - * sysdeps/sparc/Implies: Do ieee754 here. - * sysdeps/sparc/configure.in: Move from sparc32/. - * sysdeps/sparc/sparc32/Implies: Do wordsize here. - * sysdeps/sparc/sparc64/Implies: Likewise. - - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_load_address): - Use uninitialized .got to find load address instead of AT_BASE, as - the later does not exist when running ld.so directly. - - * sysdeps/sparc/sparc32/fpu/fpu_control.h: Move from ../. - * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise. - - * sysdeps/sparc/sparc32/udiv_qrnnd.S: Clean up PIC support. - - * sysdeps/sparc/sparc64/Makefile (sysdep_routines): Add s_finitel - and s_signbitl for stdio. - * sysdeps/sparc/sparc64/configure.in: Remove, we no longer need - nopic_initfini. - - * sysdeps/sparc/sparc64/bsd-_setjmp.S: Remove. - * sysdeps/sparc/sparc64/bsd-setjmp.S: Remove. - * sysdeps/unix/sysv/linux/sparc/sparc64/bsd-_setjmp.S: New empty file. - * sysdeps/unix/sysv/linux/sparc/sparc64/bsd-setjmp.S: New empty file. - * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add __longjmp alias. - * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Add weak _setjmp - and setjmp entry points. - - * sysdeps/sparc/sparc64/dl-machine.h: Finish real implementation. - - * sysdeps/sparc/sparc64/elf/crtbegin.S: Add copyright, fix PIC. - * sysdeps/sparc/sparc64/elf/crtend.S: Likewise. - - * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (struct sigaction): - Fix sa_flags size for sparc64; add sa_restorer for kernel. - - * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Fix PIC. - * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. - - * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: New file. - -1997-08-10 18:29:08 1997 Mark Kettenis - - * login/login.c (login): Check for correct return value of - utmpname. - -1997-08-11 16:49 Ulrich Drepper - - * time/tzset.c (__tzset_internal): Correctly handle TZ strings - following incorrect old POSIX specs. - Patch by Paul Eggert . - - * sysdeps/generic/bits/sigaction.h: Correct comment for SA_RESTART. - * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise. - Reported by NIIBE Yutaka . - -1997-08-09 Andreas Schwab - - * manual/math.texi: Define the macros @mul and @infinity and use - them to format the multiplication and infinity signs. - (FP Comparison Functions): Use @code, not @math, for C code - examples. - -1997-08-10 18:48 Ulrich Drepper - - * Makeconfig: Define build-programs to no if not set and $(config-os) - is none. - * Makerules (+depfiles): Don't add $(others) if not build-programs. - * Rules (others): Don't depend on $(install-bin), $(install-rootbin) - and $(install-sbin) if not build-programs. - * Makefile (subdirs): Remove login. - * sysdeps/mach/hurd/Subdirs: Add login. - * sysdeps/unix/Subdirs: Add login. - - * sysdeps/generic/sys/mman.h: Test feature macros before defining - non-POSIX things. Add MAP_FAILED. - * sysdeps/unix/bsd/osf/sys/mman.h: Likewise. - * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise. - * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise. - * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise. - * sysdeps/unix/sysv/linux/sys/mman.h: Rewrite to not use kernel header - but bits/mman.h. Test feature macros before definitions non-POSIX - functions. - * sysdeps/unix/sysv/linux/alpha/bits/mman.h: New file. - * sysdeps/unix/sysv/linux/i386/bits/mman.h: New file. - * sysdeps/unix/sysv/linux/m68k/bits/mman.h: New file. - * sysdeps/unix/sysv/linux/mips/bits/mman.h: New file. - * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: New file. - * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file. - * sysdeps/unix/sysv/linux/sparc64/bits/mman.h: New file. - * sysdeps/unix/sysv/linux/alpha/Dist: Add bits/mman.h. - * sysdeps/unix/sysv/linux/i386/Dist: Likewise. - * sysdeps/unix/sysv/linux/m68k/Dist: Likewise. - * sysdeps/unix/sysv/linux/mips/Dist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise. - * sysdeps/unix/sysv/linux/sparc/Dist: Likewise. - * sysdeps/unix/sysv/linux/sparc64/Dist: New file. Likewise. - - * catgets/open_catalog.c (__open_catalog): Compare result of mmap - with MAP_FAILED and not -1. - * elf/dl-load.c (_dl_map_object_from_fd): Likewise. - * elf/dl-minimal.c (malloc): Likewise. - * elf/dl-misc.c (_dl_sysdep_read_whole_file): Likewise. - * locale/loadlocale.c (_nl_load_locale): Likewise. - * locale/programs/localedef.c: Likewise. - * malloc/malloc.c (mmap_chunk): Likewise. - (new_heap): Likewise. - * string/stratcliff.c: Likewise. - * string/tester.c: Add tests for stpcpy. - - * gmon/gmon.c (__monstartup): Use calloc instead of malloc+memset. - - * gmon/sys/gmon.h: Add prototype for write_profiling. - - * elf/dl-profile.c: Add descriptions and implement reading of - existing data in profiling file. - * gmon/sys/gmon_out.h (GMON_SHOBJ_VERSION): New macro for shared - lib profiling data. - - * sysdeps/stub/bits/libc-lock.h (__libc_once_define): Add new first - parameter for class. - - * inet/inet_ntoa.c: Make once control variable static. - Correctly handle case where key cannot be retrieved. - * inet/Makefile (tests): Add tst-ntoa. - * inet/tst-ntoa.c: New file. - - * manual/time.texi: Document localtime_r, gmtime_r, asctime_r, and - ctime_r. - Mention that tzname values must not be changed. - - * manual/users.texi: Document UTMP/WTMP handling functions. - Mainly written by Mark Kettenis. - - * math/libm-test.c (cbrt_test): Add test for number with aboslute - value < 1.0. - - * nss/nss_files/files-XXX.c (internal_setent): If opening of file - failed with EGAIN return NSS_STATUS_TRYAGAIN. - * nss/nss_files/files-alias.c (internal_setent): Likewise. - - * sysdeps/generic/bits/utmp.h: Pretty print. - - * sysdeps/i386/i586/strcpy.S: New file. Much faster implementation. - * sysdeps/i386/i586/stpcpy.S: New file. - * sysdeps/i386/i686/Implies: Don't fall back on i586 versions since - these are less efficient than i486/i386 versions. - - * sysdeps/libm-i387/e_rem_pio2.c: Add empty file to prevent the - version from libm-ieee754 be compiled since the later is not needed. - * sysdeps/libm-i387/e_rem_pio2f.c: Likewise. - * sysdeps/libm-i387/e_rem_pio2l.c: Likewise. - * sysdeps/libm-i387/k_rem_pio2.c: Likewise. - * sysdeps/libm-i387/k_rem_pio2f.c: Likewise. - * sysdeps/libm-i387/k_rem_pio2l.c: Likewise. - * sysdeps/m68k/fpu/e_rem_pio2.c: Likewise. - * sysdeps/m68k/fpu/e_rem_pio2f.c: Likewise. - * sysdeps/m68k/fpu/e_rem_pio2l.c: Likewise. - * sysdeps/m68k/fpu/k_rem_pio2.c: Likewise. - * sysdeps/m68k/fpu/k_rem_pio2f.c: Likewise. - * sysdeps/m68k/fpu/k_rem_pio2l.c: Likewise. - - * sysdeps/libm-i387/s_cbrt.S: Fix several bugs. - * sysdeps/libm-i387/s_cbrtf.S: Likewise. - * sysdeps/libm-i387/s_cbrtl.S: Likewise. - - * sysdeps/unix/sysv/linux/if_index.c (if_indextoname): Correct - little bug. - - * sysdeps/unix/sysv/linux/bits/socket.h (struct msghdr): Make field - msg_iovlen of type int. - - * time/tzfile.c: Change return type of __tzstring to char *. - * time/tzset.c: Likewise. Change definition of __tzstring. - - * time/tzset.c: Interpret no DST information in user provided time - zone specification as it is meant: no DST. - Patch by Paul Eggert . - -1997-07-20 03:01 Geoff Keating - - * sysdeps/elf/dl-load.c (add_name_to_object): New procedure. - (_dl_map_object_from_fd): Use add_name_to_object. - (_dl_map_object): If an object's SONAME is used to resolve a - dependency, add it to the list of the object's names. - - * inet/getnameinfo.c: Make `domain' non-const. - - * sysdeps/unix/sysv/linux/powerpc/kernel_termios.c: Clean up. - - * math/test-fenv.c (feenv_nomask_test): Don't execute if - FE_NOMASK_ENV is not defined, or if fesetenv(FE_NOMASK_ENV) - sets errno to ENOSYS. - - * sysdeps/powerpc/dl-machine.h: Print proper error message on - unknown reloc type (rather than using assert). - - * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: New file. - * sysdeps/unix/sysv/linux/powerpc/profil.c: Deleted. - -1997-07-16 12:47 Geoff Keating - - * sysdeps/powerpc/bits/fenv.h (feraiseexcept): New optimising macro. - (feclearexcept): New optimising macro. - (FE_NOMASK_ENV): Change to procedure so it can enable exceptions. - (FE_ENABLED_ENV): Add. - (FE_NONIEEE_ENV): Add. - * sysdeps/powerpc/bits/fenv_const.c: Add __fe_enabled_env, - __fe_nonieee_env; delete __fe_nomask_env. - * sysdeps/powerpc/bits/fe_nomask.c: New file (stub warning until it - gets implemented in the kernel). - - * sysdeps/powerpc/fraiseenv.c: Deal with chips that don't have - FE_INVALID_SOFTWARE implemented. Use macros for bit names for clarity. - * sysdeps/powerpc/fsetexcptflag.c: Likewise. - - * io/ftw.c: Don't compare holes in structures. - * sysdeps/unix/sysv/linux/sys/sysmacros.h: Cast the result of the - macros to `int', because otherwise it might be `long long' which - the calling code is probably not expecting. - - * sysdeps/libm-ieee754/s_lround.c [NO_LONG_DOUBLE]: Fix a few bugs, - document the existence of some more. - - * sysdeps/powerpc/s_llrint.c: New file. - * sysdeps/powerpc/s_lrint.c: New file. - * sysdeps/powerpc/s_llround.c: New file. - * sysdeps/powerpc/s_lround.c: New file. - - * sysdeps/powerpc/s_sqrt.c: New file. - * sysdeps/powerpc/s_sqrtf.c: New file. - * sysdeps/powerpc/w_sqrt.s: New empty file. - * sysdeps/powerpc/w_sqrtf.s: New empty file. - * sysdeps/powerpc/t_sqrt.c: New file. - * sysdeps/powerpc/test-arithf.c: New file. - * sysdeps/powerpc/Makefile [subdir=math]: Add t_sqrt to support - routines. Add test-arithf to test programs. - - * sysdeps/powerpc/bits/mathdef.h: Add FP_ILOGB0, FP_ILOGBNAN. - - * sysdeps/powerpc/strcmp.s: Simplify drastically. Now much neater, - and possibly faster (or possibly slower, depending on input). - -1997-06-08 22:55 Geoff Keating - - * sysdeps/powerpc/fenvbits.h: Correct FE_DFL_ENV and FE_NOMASK_ENV - macros. - * sysdeps/powerpc/s_rint.c: New file. - -1997-05-22 08:47 Geoff Keating - - * sysdeps/powerpc/Makefile [subdir=math]: Add q_* routines. - * sysdeps/powerpc/Dist: Add quad_float.h. - * sysdeps/powerpc/q_dtoq.c: New file. - * sysdeps/powerpc/q_itoq.c: New file. - * sysdeps/powerpc/q_lltoq.c: New file. - * sysdeps/powerpc/q_neg.c: New file. - * sysdeps/powerpc/q_qtoi.c: New file. - * sysdeps/powerpc/q_qtoll.c: New file. - * sysdeps/powerpc/q_qtos.c: New file. - * sysdeps/powerpc/q_qtou.c: New file. - * sysdeps/powerpc/q_qtoull.c: New file. - * sysdeps/powerpc/q_stoq.c: New file. - * sysdeps/powerpc/q_ulltoq.c: New file. - * sysdeps/powerpc/q_utoq.c: New file. - * sysdeps/powerpc/quad_float.h: New file. - * sysdeps/powerpc/test-arith.c: New file. - - * sysdeps/powerpc/fpu_control.h: Fix _FPU_GETCW. - * sysdeps/powerpc/fegetround.c: Use mcrfs to be faster and not - require a stack frame. - * sysdeps/powerpc/bits/fenv.h: Include inline macro for fegetround. - -1997-05-18 05:55 Geoff Keating - - * sysdeps/powerpc/fenv_libc.h (fegetenv_register, - fesetenv_register): Add 'volatile'. - (set_fpscr_bit, reset_fpscr_bit): New macros, FPSCR_* - constants to use with them. - * sysdeps/powerpc/s_copysign.S: New file. - * sysdeps/powerpc/s_copysignf.s: New file. - * sysdeps/powerpc/s_fabs.S: New file. - * sysdeps/powerpc/s_fabsf.s: New file. - * sysdeps/powerpc/s_isnan.c: New file. - * sysdeps/powerpc/s_isnanf.s: New file. - * sysdeps/powerpc/s_rintf.c: New file. - - * sysdeps/powerpc/fenvbits.h: Make FE_INVALID the summary - bit in the FPSCR, not the enable bit. - * sysdeps/powerpc/fraiseexcpt.c: Consequent change to the above. - * sysdeps/powerpc/fclrexcpt.c: Correct. - * sysdeps/powerpc/fsetexcptflag.c: Correct. - * sysdeps/powerpc/ftestexcpt.c: Is now much simpler. - * sysdeps/powerpc/fgetexcptflg.c: Simplify. - - * sysdeps/powerpc/strlen.s: Schedule better, save 3 clocks :-). - - * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Add comment - explaining some reentrancy issues with lazy PLT entries. - -1997-08-09 13:04 Mark Kettenis - - * login/logout.c (logout): utmpname returns -1 on error. - - * login/libutil.map: Remove updwtmp. - - * login/getutline.c: Rename getutline to __getutline and make - getutline a weak alias. Make getutxline a weak alias for - __getutline. - * login/getutid.c: Rename getutid to __getutid and make getutid a - weak alias. Make getutxid a weak alias for __getutid. - * libc.map: Add getutxid, getutxline. - - * login/utmpname.c (__utmpname): Reset backend right after backend - endutent call. - * login/utmp_file.c: Reordered functions. Remove unecessary - header files. - (getutent_r_file, pututline_file): Do not call setutent_file. At this - point the file is guaranteed to be open (assert!). - (getutid_r_file, getutline_r_file): Remove check for validity of file - descriptor. At this point the file is guaranteed to be open. - (getutent_r_file, internal_getut_r, getutline_r_file, pututline_file, - updwtmp_file): Do not wait when unlocking file. - * login/utmp_daemon.c: General cleanup and a bit of reordering. - (getutent_r_daemon, pututline_daemon): Do not call setutent_daemon. - At this point the socket is guaranteed to be open (assert!). - (getutid_r_daemon, getutline_r_daemon): Do not check if daemon_sock is - valid. At this point the socket is guaranteed to be open (assert!). - * login/getutline_r.c: Remove unnecessary header files. - (__getutline_r): Do not call backend setutent. - * login/getutid_r.c: Remove unnecessary header files. - (__getutid_r): Do not call backend setutent. - * login/getutent_r.c: Remove unneccesary header files. - (__libc_utmp_unknown_functions): Added getutid_r_unknown, - getutline_r_unknown. - (setutent_unknown): Only set file backend if setutent for the file - backend was successful. - (getutent_r_unknown, pututline_unknown): Call setutent_unknown instead - of __setutent. Report failure if no backend was selected. - (getutid_r_unknown): New function. - (getutline_r_unknown): New function. - (__endutent): Reset backend. This makes sure all backends are checked - on the next setutent call. - -1997-08-08 20:20 Thorsten Kukuk - - * nis_cache.c: Replace dummy functions. - - * libc.map: Add xdr_sizeof symbol. - - * sunrpc/Makefile: Add xdr_sizeof to routines. - * sunrpc/rpc/xdr.h: Add xdr_sizeof prototype. - * sunrpc/xdr_sizeof.c: New, from tirpc 2.3. - -1997-08-08 Thomas Bushnell, n/BSG - - * sysdeps/mach/bits/libc-lock.h (__libc_once): Define correctly. - -1997-08-07 Thomas Bushnell, n/BSG - - * sysdeps/mach/hurd/profil.c (fetch_samples): Put parens in the - right place. - -1997-08-06 Thomas Bushnell, n/BSG - - * sysdeps/mach/hurd/profil.c (fetch_samples): Do arithmetic on - PC's in long long to avoid overflow. - -1997-08-07 Thomas Bushnell, n/BSG - - * sysdeps/mach/bits/libc-lock.h (__libc_once, __libc_once_define): - New macros. - -1997-08-06 Andreas Jaeger - - * nis/Makefile (headers): Remove bits/nislib.h. - -1997-08-06 14:54 Ulrich Drepper - - * sysdeps/mach/hurd/Subdirs: Add login. - -1997-08-06 14:23 Klaus Espenlaub - - * db/hash/hash.c (init_hash): Don't use stat() if it doesn't provide - the preferred block size. - - * login/programs/database.c (store_state_entry): Don't compile if - there is no ut_type field. - (store_state_entry, store_process_entry): Use the ut_tv field - for timestamps if supported. - - * login/programs/utmpdump.c (print_entry): Always use ut_tv field. - - * login/programs/xtmp.c: Fix numerous xtmp/utmp typos. Use the ut_tv - field for timestamps if supported. - - * login/programs/xtmp.h: Fix xtmp/utmp typo. - - * sysdeps/posix/defs.c (stdstream): Change (PTR) to (void *). - - * sysdeps/stub/connect.c (connect): Change to __connect, add alias. - * sysdeps/stub/send.c (send): Likewise. - * sysdeps/stub/s_exp2f.c: Emit correct stub_warning(). - * sysdeps/stub/statfs.c: Move stub_warning() to the usual place. - * sysdeps/stub/init-first.c: Add definition of __libc_pid. - -1997-08-05 13:28 Philip Blundell - - * sysdeps/standalone/arm/bits/errno.h: Add EISDIR, EOPNOTSUPP; - tidy up formatting. - - * Makefile (subdirs): Remove `login'. - * sysdeps/unix/Subdirs: New file; build `login' subdirectory - for Unix systems. - -1997-08-05 Andreas Schwab - - * sysdeps/generic/bits/utmpx.h: New file. - - * sysdeps/mach/hurd/Dist: Add some files. - * sysdeps/mips/Dist: Likewise. - * sysdeps/mips/mips64/Dist: Likewise. - * sysdeps/sparc/Dist: Likewise. - * sysdeps/unix/sysv/linux/mips/Dist: Likewise. - * sysdeps/unix/sysv/linux/sparc/Dist: Likewise. - * sysdeps/mips/mipsel/Dist: New file. - * sysdeps/sparc64/elf/Dist: New file. - * sysdeps/unix/sysv/linux/sparc64/Dist: New file. - -1997-08-05 Andreas Schwab - - * libc.map: Add missing symbols. - -1997-08-05 Andreas Jaeger - - * manual/socket.texi: Correct typos. - - * manual/math.texi: Correct typos. - - * manual/time.texi (Formatting Date and Time): Likewise. - -1997-08-04 13:06 Thomas Bushnell, n/BSG - - * gmon/gmon.c (write_gmon): New function; guts from _mcleanup. - (_mcleanup): Use write_gmon. - (write_profiling): This function can be safely called at any time - to write a current histogram without interfering with ongoing - profiling. - - * sysdeps/mach/hurd/profil.c (fetch_samples): Initialize NSAMPLES. - -1997-08-01 17:53 Thomas Bushnell, n/BSG - - * sysdeps/mach/hurd/profil.c (fetch_samples): Sample buffer need - not be vm_deallocated; it's a stack buffer. - (profil_vm_deallocate): Delete prototype. - (#include <../mach/RPC_vm_deallocate_rpc.c>): Drop this - inclusion. - * sysdeps/mach/hurd/Makefile - ($(common-objpfx)hurd/../mach/RPC_vm_deallocate_rpc.c): Delete - this rule. - - * sysdeps/mach/hurd/profil.c (fetch_samples): New function, guts - from profile_waiter. - (profile_waiter): Use fetch_samples. - (profil): When turning off profiling, fetch the last bunch of - samples before disabling PC sampling. - (fetch_samples): Add prototype. - -1997-07-30 12:53 Thomas Bushnell, n/BSG - - * sysdeps/mach/hurd/Makefile: Give normal rules for the mach RPC - source included by profil.c instead of trying to use - before-compile grot. - -1997-07-23 15:04 Thomas Bushnell, n/BSG - - * sysdeps/mach/hurd/profil.c (profile_waiter): Do vm_deallocate - after releasing lock. Use special RPC stubs and avoid assert, - thus making this function entirely independent of the threadvar - mechanism and of cthreads. - (lock): Convert to be a spin lock instead of a mutex, so that the - waiter thread need not use cthreads. Use a fork prepare hook - instead of _hurd_fork_locks to make sure we are clean before - forking. - (fork_profil_child): Renamed from fork_profil. - (profil_reply_port): New variable. - (profil_vm_deallocate, profil_task_get_sampled_pcs): Special RPC - stubs made by special hacks. - * sysdeps/mach/hurd/Makefile (before-compile): Add the mach RPC - source files that profil.c needs if we are in the gmon directory. - - * mach/setup-thread.c (__mach_setup_thread): Delete avoidance of a - cthreads bug that hasn't existed for two years. - -1997-08-04 15:29 Ulrich Drepper - - * locale/programs/localedef.c (main): Set bit in avail for those - categories which are successfully read. - * locale/programs/locfile.c (check_all_categories): Don't check - categories if they are not available. - (write_all_categories): Don't write categories if they are not - available. - - * login/setutent_r.c (setutent_unknown): Change return type to - int and return result of called function. - - * manual/arith.texi: Mark floating-point test macro from ISO C 9X - as macros (not functions). - * manual/libc.texinfo (UPDATED): Update. - * manual/math.texi: Document exceptions, functions to handle - exceptions, mathematical constants, FP comparison functions - and several new functions from ISO C 9X. - Change parameter of drand48, lrand48, and mrand48 to void (not - empty). - * manual/pattern.texi: Remove paragraph which explained that wordexp - is executed by running a shell. - * manual/time.texi: Explain difficulties with strftime if the - functions returns 0 and no error occurred. - - * math/math.h: Correct comment for some M_* constants. - (isgreater, isgreaterequal, isless, islessequal, islessgreater, - inunordered): Rewrite to make sure the arguments are evaluated - exactly once. - - * nis/rpcsvc/nis.x: Undo last change. - * nis/rpcsvc/nis.h: Likewise. - * nis/rpcsvc/nislib.h: File moved back to here. - - * posix/sys/types.h: Don't define socklen_t. Pretty print. - * socket/sys/socket.h (bind, getsockname, connect, sendto, recvfrom, - getsockopt, setsockopt, accept): Change size argument to type - socklen_t. - Pretty print. - * manual/socket.texi: Describe socklen_t and change prototypes of - socket functions to use socklen_t. - * sysdeps/generic/bits/socket.h: Define socklen_t. - (struct msghdr): Correct types to use socklen_t. - * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise. - - * stdio-common/printf_fp.c (__printf_fp): Correct rounding of numbers - 1.0 < x < 8.0. - * stdio-common/tfformat.c: Add new tests for above bug. - - * stdlib/strtod.c: Fix typo. - - * string/Makefile (headers): Add bits/string.h. - (CFLAGS-*): Add -D__NO_STRING_INLINES. - * string/string.h: Include if optimizing and - __NO_STRING_INLINES is not defined. - * sysdeps/stub/bits/string.h: New file. - - * sysdeps/powerpc/bits/fenv.h: Fix typos. - - * sysdeps/unix/sysv/linux/if_index.c: Let functions return ENOSYS - if SIOGIFINDEX is not defined. - - * sysdeps/wordsize-32/inttypes.h: Pretty print. - * sysdeps/wordsize-64/inttypes.h: Pretty print. - - * termios/cfsetspeed.c: Rewrite loop to do what it shall do. - - * wcsmbs/Makefile (tests): Add tst-wcstof. - * wcsmbs/tst-wcstof.c: New file. - -1997-08-01 Andreas Schwab - - * sysdeps/m68k/__longjmp.c: Replace call to abort by infinite - loop, to avoid dragging stdio into the dynamic linker. - -1997-08-02 19:44 H.J. Lu - - * nis/nis_findserv.c (xid, xid_seed, xid_lookup): Make them - u_int32_t. - -1997-08-03 Andreas Jaeger - - * posix/wordexp.c (parse_tilde): Fix calls to __getpwnam_r and - __getpwuid_r. - Include to get prototypes of *printf. - (exec_comm): Remove unneeded variable *sh. - - * libc.map: Add wordexp, wordfree. - - * posix/Makefile (routines): Add wordexp. - -1997-08-03 Andreas Jaeger - - * posix/wordexp.c: Correct typo in comment. - (wordexp): Likewise. - - * manual/errno.texi (Error Codes): Fix typo. - -1997-08-03 15:28 Ulrich Drepper - - * csu/initfini.c (SECTION): Don't put quotes around section name - since this is not understood by all assemblers. - Patch by Klaus Espenlaub . - -1997-08-02 21:27 Ulrich Drepper - - * inet/Makefile (headers): Rename netinet/inbits.h to bits/in.h. - * inet/netinet/in.h: Include bits/in.h instead of netinet/inbits.h. - * sysdeps/generic/netinet/inbits.h: Move to... - * sysdeps/generic/bits/in.h: ... here. - * sysdeps/unix/sysv/linux/bits/inbits.h: Move to ... - * sysdeps/unix/sysv/linux/bits/in.h: ... here. - - * nis/Makefile (headers): Add bits/nislib.h. - * nis/rpcsvc/nislib.h: Moved to .... - * nis/bits/nislib.h: ... here. - - * nis/nss_compat/compat-grp.c: Don't include . + * nis/nss_compat/compat-grp.c: Include the declaration of the file + parser. * nis/nss_compat/compat-pwd.c: Likewise. * nis/nss_compat/compat-spwd.c: Likewise. - * nis/nss_nisplus/nisplus-alias.c: Likewise. - * nis/nss_nisplus/nisplus-ethers.c: Likewise. - * nis/nss_nisplus/nisplus-grp.c: Likewise. - * nis/nss_nisplus/nisplus-hosts.c: Likewise. - * nis/nss_nisplus/nisplus-netgrp.c: Likewise. - * nis/nss_nisplus/nisplus-ntework.c: Likewise. - * nis/nss_nisplus/nisplus-proto.c: Likewise. - * nis/nss_nisplus/nisplus-publickey.c: Likewise. - * nis/nss_nisplus/nisplus-pwd.c: Likewise. - * nis/nss_nisplus/nisplus-rpc.c: Likewise. - * nis/nss_nisplus/nisplus-service.c: Likewise. - * nis/nss_nisplus/nisplus-spwd.c: Likewise. + * nis/nss_nis/nis-ethers.c: Likewise. + * nis/nss_nis/nis-grp.c: Likewise. + * nis/nss_nis/nis-network.c: Likewise. + * nis/nss_nis/nis-proto.c: Likewise. + * nis/nss_nis/nis-pwd.c: Likewise. + * nis/nss_nis/nis-rpc.c: Likewise. + * nis/nss_nis/nis-spwd.c: Likewise. - * nis/rpcsvc/nis.x: Include bits/nislib.h, not rpcsvc/nislib.h. - * nis/rpcsvc/nis.h: Likewise. + * nis/nss_compat/compat-grp.c (getgrent_next_nis, + getgrent_next_file): Pass the correct type for the buffer to the + parser function. + * nis/nss_compat/compat-pwd.c (getpwent_next_netgr, + getpwent_next_nis, getpwent_next_file): Likewise. + * nis/nss_compat/compat-spwd.c (getspent_next_netgr, + getspent_next_nis, getspent_next_file): Likewise. + * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r, + _nss_nis_getethernam_r, _nss_nis_getetherbyaddr_r): Likewise. + * nis/nss_nis/nis-grp.c (internal_nis_getgrent_r, + _nss_nis_getgrnam_r, _nss_nis_getgrgid_r): Likewise. + * nis/nss_nis/nis-network.c (internal_nis_getnetent_r, + _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise. + * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r, + _nss_nis_getprotobyname_r, _nss_nis_getprotobynumber_r): Likewise. + * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r, + _nss_nis_getpwnam_r, _nss_nis_getpwuid_r): Likewise. + * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r, + _nss_nis_getrpcbynumber_r): Likewise. + * nis/nss_nis/nis-spwd.c (internal_nis_getspent_r, + _nss_nis_getspnam_r): Likewise. - * inet/getnameinfo.c (nrl_domainname): Change return type to const - char *. - (getnameinfo): Change type of local variable c to const char *. +Thu Dec 19 13:37:16 1996 Andreas Schwab - * inet/inet_ntoa.c: Rewrite to use __libc_once for initialization. - * stdlib/fmtmsg.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/setjmp.c: New file. - * intl/bindtextdom.c: Update from latest gettext. - * intl/dcgettext.c: Likewise. - * intl/finddomain.c: Likewise. - * intl/l10nflist.c: Likewise. - * intl/localealias.c: Likewise. - * intl/textdomain.c: Likewise. +Thu Dec 19 23:28:33 1996 Ulrich Drepper - * login/getutid_r.c: Remove parameter to setutent call. - * login/getutline_r.c: Likewise. + * resolv/resolv.h: Update from BIND 4.9.5-P1. + * resolv/res_comp.c: Likewise. + * resolv/res_debug.c: Likewise. + * resolv/Banner: Update version number. - * posix/wordexp.c: Complete rewrite. Not fully implemented yet, - though. Patch by Tim Waugh . +Thu Dec 19 20:58:53 1996 Ulrich Drepper - * stdio-common/printf_fp.c: Remove relative include paths. - * stdio-common/printf_fphex.c: Likewise. + * elf/dlfcn.h: Add extern "C" wrapper. - * sysdeps/generic/crypt.h: Cleanup. Don't define non standard - elements unless __USE_GNU. + * io/utime.h: Don't define NULL since this isn't allowed in POSIX. + * io/sys/stat.h: Declare `lstat' only if __USE_BSD || + __USE_XOPEN_EXTENDED. + * locale/locale.h: Define NULL. + * math/math.c: Don't include to define math errors. + * stdlib/stdlib.h: Likewise. + * posix/unistd.h: Don't declare environ. + * posix/sys/utsname.h (struct utsname): Declare member domainname + as __domainname is !__USE_GNU. + * signal/signal.h: Declare size_t only if __USE_BSD || + __USE_XOPEN_EXTENDED. + * stdio/stdio.h: Don't declare cuserid when __USE_POSIX, but + instead when __USE_XOPEN. + * string/string.h: Define strndup only if __USE_GNU. + * sysdeps/unix/sysv/linux/clock.c: New file. + * sysdeps/unix/sysv/linux/timebits.h: Define CLOCKS_PER_SEC as + 1000000 per X/Open standard. + * features.h: Add code to recognize _POSIX_C_SOURCE value 199309. + Define __USE_POSIX199309. + * posix/unistd.h: Declare fdatasync only if __USE_POSIX199309. + * time/time.c: Declare nanosleep only if __USE_POSIX199309. + Patches by Rüdiger Helsch . - * sysdeps/generic/vlimit.c: Pretty print. - * sysdeps/generic/vtimes.c: Likewise. + * locale/locale.h: Add declaration of newlocale and freelocale. - * sysdeps/i386/elf/bsd-_setjmp.S: New file. Empty dummy file. - * sysdeps/i386/elf/bsd-setjmp.S: New file. Empty dummy file. - * sysdeps/i386/elf/setjmp.S: New file. Define __setjmp and also - weak definitions of setjmp and _setjmp. + * new-malloc/Makefile (distibute): Add mtrace.awk. + (dist-routines): Add mcheck and mtrace. + (install-lib, non-lib.a): Define as libmcheck.a. + * new-malloc/malloc.h: Add declaration of __malloc_initialized. + * new-malloc/mcheck.c: New file. + * new-malloc/mcheck.h: New file. + * new-malloc/mtrace.c: New file. + * new-malloc/mtrace.awk: New file. - * sysdeps/i386/fpu/bits/mathinline.h: More patches by John Bowman. + * posix/unistd.h: Correct prototype for usleep. + * sysdeps/unix/bsd/usleep.c: De-ANSI-declfy. Correct return type. + * sysdeps/unix/sysv/linux/usleep.c: Real implementation based on + nanosleep. - * sysdeps/stub/if_index.h: Set errno in all functions and add - stub warnings. + * signal/signal.h: Change protoype of __sigpause to take two + arguments. Remove prototype for sigpause. Add two different + macros named sigpause selected when __USE_BSD or __USE_XOPEN + are defined. This is necessary since the old BSD definition + of theis function collides with the X/Open definition. + * sysdeps/posix/sigpause.c: Change function definition to also + fit X/Open definition. - * sysdeps/stub/libc-lock.h: Add __libc_once. + * sysdeps/libm-i387/e_exp.S: Make sure stack is empty when the + function is left. + * sysdeps/libm-i387/e_expl.S: Likewise. + Patch by HJ Lu. -1997-08-02 01:57 Ulrich Drepper +1996-12-17 Paul Eggert - * sysdeps/unix/sysv/linux/ptrace.c: Don't set errno in error - case since the __syscall_ptrace call already did this. - Reported by Philip Gladstone . + * many, many files: Spelling corrections. + * catgets/catgetsinfo.h (mmapped): + Renamed from mmaped (in struct catalog_info.status). + * mach/err_kern.sub (err_codes_unix), string/stratcliff.c (main): + Fix spelling in message. + * po/libc.pot: Fix spelling in message for `zic'; this anticipates + a fix in the tzcode distribution. -1997-07-29 Andreas Jaeger +Wed Dec 18 15:48:02 1996 Ulrich Drepper - * sysdeps/unix/sysv/linux/sys/fsuid.h: Change include - to . + * time/strftime.c: Implement ^ flag to cause output be converted + to use upper case characters. -1997-08-01 23:18 Ulrich Drepper + * time/zic.c: Update from ADO tzcode1996n. - * csu/defs.awk: Fix regexp for end and align. - Patch by Klaus Espenlaub . +Wed Dec 18 14:29:24 1996 Erik Naggum - * locale/programs/locale.c (print_escaped): New function. - (show_info): Use print_escaped if strings can control unprintable - characters. - Patch by Jochen Hein . + * time/strftime.c (add): Don't change global `i' until all is over. + Define NULL is not already defined. -1997-08-01 18:45 Thorsten Kukuk +Tue Dec 17 09:49:03 1996 Andreas Schwab - * nis/nss_nisplus/nisplus-alias.c: Fix NULL pointer problems - * nis/nss_nisplus/nisplus-grp.c: Likewise. + * libio/iovsprintf.c (_IO_vsprintf): Change `&sf' to `&sf._sbf._f' + to avoid the need for a cast. + * libio/iovsscanf.c (_IO_vsscanf): Likewise. -1997-07-31 Andreas Schwab +Wed Dec 18 03:31:58 1996 Ulrich Drepper - * elf/dl-profile.c (_dl_start_profile): Use _dl_sysdep_error - instead of fprintf. + * dirent/scandir.c: Undo change from Mon Dec 2 15:32:15 1996. + The stream is private and usages outside glibc don't care about + reentrancy. + * io/fts.c: Likewise. + * io/ftw.c: Likewise. + * sysdeps/posix/getcwd.c: Likewise. + * sysdeps/posix/ttyname.c: Likewise. + * sysdeps/posix/ttyname_r.c: Likewise. + * sysdeps/posix/glob.c: Likewise. -1997-07-31 Andreas Schwab + * libio/iovsprintf.c: Add cast to prevent warning. + * libio/iovsscanf.c: Likewise. - * manual/socket.texi (Host Address Functions): Fix arguments of - @deftypefun. + * libio/libioP.h: Define mmap to __mmap and munmap to __munmap + to keep namespace clean. -1997-07-31 Andreas Schwab + * new-malloc/malloc.c: Update to last version from Wolfram Gloger. + Add hooks and check functions from old GNU malloc. + * new-malloc/malloc.h: Likewise. - * elf/dl-runtime.c: Avoid warning about profile_fixup being - unused. + * nis/ypclnt.c: Remove prototype for xdr_free. + * sunrpc/rpc/xdr.h: Add prototype for xdr_free. - * sysdeps/m68k/dl-machine.h: Add support for shared library - profiling. + * manual/nss.texi: Correct description of default values and don't + meantion NSS as an add-on. -1997-07-31 Andreas Schwab + * nss/grp-lookup.c: Provide default value as + "compat [NOTFOUND=return] files". + * nss/pwd-lookup.c: Likewise. + * nss/spwd-lookup.c: Likewise. + * nss/network-lookup.c: Correct default to + "dns [!UNAVAIL=return] files". + * nss/nsswitch.c: Change default-default value to "nis + [NOTFOUND=return] files" since compat is only available for group, + passwd, and shadow. - * md5-crypt/Makefile (extra-objs): Add onlymd5-crypt.o for + * stdlib/on_exit.c (on_exit): Rename to __on_exit and make old name + a weak alias. + * stdlib/stdlib.h: Add prototype for __on_exit. + + * sysdeps/unix/sysv/linux/schedbits.h: Add prototype for __clone. + + * time/Makefile: Undo change from Sun Dec 8 06:56:49 1996. + The new malloc now has mcheck. + * time/ap.c: Likewise. + + * time/tzset.c (__tzset): Rename to __tzset_internal. + (tzset): Rename to __tzset. Make tzset a weak alias for __tzset. + * time/localtime.c: Use __tzset_internal not __tzset. + * time/strftime.c [_LIBC]: Define tzname as __tzname and tzset + as __tzset to prevent namespace pollution. + + * wctype/iswctype.h (icwctype): Rename to __iswctype. Make iswctype + a weak alias of __iswctype. + * wctype/wctype.h: Add prototype for __iswctype. + (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, + iswprint, iswpunct, iswspace, iswupper, iswxdigit, iswblank): + Use __iswctype for the test, not iswctype. + +1996-12-16 Paul Eggert + + * hurd/hurd/sigpreempt.h + (struct hurd_signal_preemptor.preemptor, _hurdsig_preemptors), + hurd/hurd/signal.h (struct hurd_sigstate.preemptors), + hurd/hurdfault.c, hurd/hurdfault.h (_hurdsig_fault_preemptor), + hurd/hurdsig.c (_hurdsig_preempters): + Renamed to fix spelling from `preempter' to `preemptor'. + All uses changed. + +1996-12-15 Paul Eggert + + * ctime.c (ctime): Return asctime (localtime (t)), as the C + standard requires. + +Tue Dec 17 02:05:48 1996 Thomas Bushnell, n/BSG + + * sysdeps/mach/libc-lock.h (__libc_lock_trylock): Invert return + value because Mach/cthreads uses the opposite convention from + Posix/glibc. + +Mon Dec 16 22:41:01 1996 Ulrich Drepper + + * stdio-common/fcloseall.c: Correct test of already_called. + Reported by Thomas Bushnell, n/BSG. + +Mon Dec 16 14:52:07 1996 Thomas Bushnell, n/BSG + + * mach/lock-intern.h (__mutex_try_lock): New function. + +Sun Dec 15 16:33:44 1996 Andreas Schwab + + * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Only use OXTABS if + defined, else XTABS. + (CEOL, CSTATUS): Use _POSIX_VDISABLE if defined. + +Sun Dec 15 11:56:19 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/mremap.S: New file. + * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it. + * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines): Add mremap. + +Mon Dec 16 02:15:42 1996 Ulrich Drepper + + Make sure tzset() sets always tzname[]. + * time/tzfile.c: De-ANSI-declfy. + (find_transition): New function. Set tzname according to given time. + (__tzread_file): Use find_transition to set tzname. + (__tzfile_compute): Use find_transition instead of doing the work + self. + * time/tzset.c (tzset): Set tzname[] directly only if !__use_tzfile. + +Sun Dec 15 16:52:34 1996 Ulrich Drepper + + * login/utmp-file.c (pututline_file): Open file if closed. + Reported by Roma Ekzhanov . + Use fcntl instead of flock. + +Sun Dec 15 14:20:51 1996 Ulrich Drepper + + * manual/time.texi: Update documentation of strftime function. + +Sun Dec 15 01:53:20 1996 Ulrich Drepper + + * Makefile (subdirs): Change crypt to md5-crypt. + * crypt/Makefile, crypt/md5-crypt.c, crypt/md5.c, crypt/md5.h, + crypt/md5c-test.c, crypt/md5test.c: Move to new directory + md5-crypt. + * sysdeps/unix/sysv/linux/configure.in: Refer to linuxthreads and + crypt instead of LinuxThreads and des-crypt. + + * Makefile (subdirs): Add nss back. + * sysdeps/unix/inet/Subdirs: Move nis to end of file to fulfill dependencies. -1997-07-31 Andreas Schwab - - * Make-dist (subdirs): Distribute both aout and elf. - -1997-07-31 23:04 Mark Kettenis - - * login/utmp-private.h: Remove reset argument from backend - setutent. - * login/getutent_r.c (__setutent): Allways call the setutent - function in the daemon backend. - (setutent_unknown): Function removed. - (getutent_unknown, pututline_unknown): Call __setutent instead of - setutent_unknown. - * login/utmp_file.c (setutent_file): Removed reset argument. All - callers changed. - * login/utmp_daemon.c (setutent_daemon): Removed reset - argument. All callers changed. Try to open connection even if a - previous connection failed, but first check if the sockets exist - in the filesystem. - - * login/utmp_daemon.c (pututline_daemon): Try to open connection - before reporting failure. - - * login/programs/database.c (open_database): Create compatibility - file if it does not already exist. Supply mode argument in open - calls to guarantee that created files have the proper protection. - - * login/programs/utmpd.c (main): Remove files created by a - previous `bind' before creating sockets. - Suggested by a sun . - -1997-07-29 Andreas Jaeger - - * math/libm-test.c: Remove unneeded function check_int_exec. - - * BUGS: Correct typos. - - * gmon/gmon.c: Add alias for monstartup, declare _strerror_internal. - -1997-07-30 Andreas Jaeger - - * manual/socket.texi (Host Address Functions): Reformat inet_ntop - entry to confirm with expected behaviour of some scripts. - - * libc.map: Add functions/variables in global namespace, - remove wildcards. - -1997-07-29 Andreas Jaeger - - * resolv/libresolv.map: Add variables and routines used by named, - nslookup and other bind utils. - * libc.map: Likewise. - -1997-07-31 00:35 Philip Blundell - - * sysdeps/unix/sysv/linux/if_index.c: Rewrite to avoid using /proc - filesystem. - * inet/test_ifindex.c: New file. - * inet/Makefile (tests): Add test_ifindex. - -1997-08-01 04:25 Ulrich Drepper - - * nis/nss_nisplus/nisplus-parser.c: Fix another bug in the parser. - Patch by Thorsten Kukuk . - - * manual/errno.texi: Fix typo. - Reported by Erik Talvola . - -1997-07-28 23:35 Ulrich Drepper - - * csu/gmon-start.c (__gmon_start__): Call __monstartup not - monstartup. - * gmon/gmon.c: Rename moncontrol to __moncontrol and monstartup - to __monstartup. - * gmon/sys/gmon.h: Fix prototypes. - * gmon/sys/gmon_out.h: Pretty print. - - * gmon/bb_exit_func.c (__bb_exit_func): Use memcpy instead of bcopy. - * gmon/gmon.c (__monstartup): Likewise. - (write_hist): Remove dependency on 32 bit int. - (_mcleanup): Don't call perror, use fprintf. - - * elf/dl-load.c: Fix handling of current directory in search path. - - * elf/Makefile (dl-routines): Add dl-profile. - * elf/dl-profile.c: New file. - * elf/dl-runtime.c (fixup): Add new parameter with address to store - relocation result in to elf_machine_relplt. - (profile_fixup): New function. - * elf/do-rel.h (elf_dynamic_do_rel): Add new parameter with address - to store relocation result in to elf_machine_relplt. - * elf/dl-support.c: Define _dl_profile and _dl_profile_map. - * elf/dynamic-link.h (ELF_DYNAMIC_RELOCATE): Add new parameter and - call elf_machine_runtime_setup with extra argument. - * elf/dl-reloc.c (_dl_relocate_object): Add new argument to - ELF_DYNAMIC_RELOCATE. - * elf/link.h: Add prototypes for new functions and variables. - * elf/rtld.c: Parse LD_PROFILE and LD_PROFILE_OUTPUT environment - variables and call _dl_start_profile if necessary. - * include/sys/gmon_out.h: New file. - * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Add - new parameter to enable profiling. - (elf_machine_rela): Add new parameter to specify place to store - result in. - * sysdeps/m68k/dl-machine.h: Likewise. - * sysdeps/mips/dl-machine.h: Likewise. - * sysdeps/mips/mips64/dl-machine.h: Likewise. - * sysdeps/powerpc/dl-machine.h: Likewise. - * sysdeps/sparc/dl-machine.h: Likewise. - * sysdeps/sparc64/dl-machine.h: Likewise. - * sysdeps/i386/dl-machine.h: Likewise. - (elf_machine_runtime_setup): Setup got[2] to _dl_runtime_resolve if - we do profiling. - (ELF_MACHINE_RUNTIME_TRAMPOLINE): Add code for _dl_runtime_profile. - - * nis/nss_compat/compat-grp.c (internal_setgrent): Set FD_CLOEXEC - for stream on input file. - * nis/nss_compat/compat-pwd.c (internal_setpwent): Likewise. - * nis/nss_compat/compat-spwd.c (internal_setspent): Likewise. - * nss/nss_db/db-XXX.c (internal_setent): Likewise. - * nss/nss_db/db-alias.c (internal_setent): Likewise. - * nss/nss_db/db-netgrp.c (internal_setent): Likewise. - * nss/nss_files/files-XXX.c (internal_setent): Likewise. - * nss/nss_files/files-alias.c (internal_setent): Likewise. - * nss/nss_files/files-netgrp.c (internal_setent): Likewise. - - * string/string.h: Pretty print. - - * sysdeps/i386/fpu/bits/mathinline.h: Major update by John Bowman. - Add float and long double versions. - -1997-07-27 Andreas Schwab - - * elf/rtld.c (print_unresolved): Replace empty object name by main - program name. - -1997-07-27 Andreas Schwab - - * sysdeps/generic/htons.c (htons): Renamed from __htons. - -1997-07-27 Andreas Schwab - - * sysdeps/m68k/bits/byteswap.h: New file. - -1997-07-27 23:50 Philip Blundell - - * inet/netinet/icmp6.h: Update for new drafts of POSIX.1g and IPv6 - advanced API. - * inet/netinet/in.h: Likewise. - * inet/netinet/ip6.h: Likewise. - * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. - * posix/sys/types.h: Add socklen_t. - - * manual/socket.texi: Document some more IPv6 things. - * manual/libc.texinfo: Likewise. - -1997-07-26 Andreas Jaeger - - * libc.map: Define missing symbol. - -1997-07-27 14:31 Thorsten Kukuk - - * nis/Makefile: Add nis_findserv. - * nis/lckcache.c: Fix typo. - * nis/nis_call.c: Fix problems with multihomed servers. - * nis/nis_findserv.c: New file. - * nis/nis_intern.h: Add more prototypes. - * nis/nis_lookup.c (nis_lookup): Don't try the next server if network - is unreachable. - * nis/nis_table.c (nis_list): Likewise. - * nis/nis_ping.c (nis_ping): Use MASTER_ONLY, don't call abort() - in error case. - * nis/nis_util.c (__nis_finddirectory): Give the right error code - back. - * nis/ypclnt.c: Make sure, that all sockets are closed. - -1997-07-26 04:14 Ulrich Drepper - - * elf/Makefile (distribute): Add genrtldtbl.awk. - (before-compile): Add rtldtbl.h. - (GAWK): New variable. - (generated): Add trusted-dirs.h and rtldtbl.h. - ($(objpfx)rtldtbl.h): New rule. File is needed by dl-load.c. - * elf/dl-load.c: Rewrite. Now use cache and look for shared - objects in machine dependent directories. - * elf/dl-object.c (_dl_new_object): Initialize l_rpath_dirs member. - * elf/dl-support.c: Rename function to non_dynamic_init and add - initialization for _dl_platform, _dl_platformlen, _dl_pagesize - and call to initializer for search path. - * elf/elf.h: Add AT_PLATFORM and AT_HWCAP. - * elf/genrtldtbl.awk: New file. - * elf/link.h: Add type definitions and declarations for search - path cache. - * elf/rtld.c: Add definitions of variables used for search path cache. - * sysdeps/generic/dl-sysdep.c: Let auxiliary vector initialize - _dl_platform. Initialize _dl_pagesize early and use this value. - * sysdeps/i386/dl-machine.h: Add code for _dl_platform handling. - * sysdeps/mach/hurd/dl-sysdep.c: Initialize _dl_pagesize. - * sysdeps/unix/sysv/linux/dl-sysdep.c: Use _dl_pagesize instead - of calling getpagesize. - - * elf/dl-error.c (_dl_signal_error): Make message nicer. - - * nss/libnss_files.map: Fix typo. - Reported by Thorsten Kukuk . - - * sysdeps/generic/strsep.c: Optimize case where separator set contains - only one character. - - * sysdeps/libm-ieee754/s_ccosh.c: Correct sign of result for real - == +-Inf. - * sysdeps/libm-ieee754/s_ccoshf.c: Likewise. - * sysdeps/libm-ieee754/s_ccoshl.c: Likewise. - -1997-07-25 09:15 H.J. Lu - - * sysdeps/sparc/udiv_qrnnd.S: Check PIC instead of __PIC__. - * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Likewise. - * sysdeps/unix/mips/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/mips/clone.S: Likewise. - - * sysdeps/mips/bsd-_setjmp.S: Remove __PIC__ comment. - * sysdeps/mips/bsd-setjmp.S: Likewise. - - * sysdeps/mips/dl-machine.h: Remove extra stuff. - * sysdeps/mips/mips64/dl-machine.h: Likewise. - -1997-07-25 18:55 Philip Blundell - - * sysdeps/standalone/arm/sysdep.c: New file. - -1997-07-25 13:25 Philip Blundell - - * aout/Makefile: New file. - * Makeconfig (binfmt-subdir): Assume a.out when not ELF. - - * sysdeps/generic/machine-gmon.h: Add warning about limitations of - __builtin_return_address(). - * sysdeps/arm/machine-gmon.h: New file, use assembly to avoid - above problem. - -1997-07-25 16:24 H.J. Lu - - * elf/dl-deps.c (_dl_map_object_deps): Fix a typo. - -1997-07-22 Andreas Schwab - - * math/libm-test.c (ccos_test, ccosh_test): Fix sign in some - tests. - -1997-07-24 Andreas Schwab - - * sunrpc/clnt_udp.c (clntudp_call): Rename cu_wait from timeout to - not shadow the variable in the outer scope. - -1997-07-24 03:14 Ulrich Drepper - - * elf/dl-deps.c: Complete rewrite to handle DT_AUXILIARY correctly. - - * inet/Makefile (tests): Add htontest. - * inet/htontest.c: New file. - - * inet/netinet/in.h: Cleanup optimization of ntoh/hton functions - when they are no noops. - * sysdeps/alpha/htonl.S: Don't define __ protected names. - * sysdeps/alpha/htons.S: Likewise. - * sysdeps/generic/htonl.c: Likewise. - * sysdeps/generic/htons.c: Likewise. - * sysdeps/i386/htonl.S: Likewise. - * sysdeps/i386/htons.S: Likewise. - * sysdeps/i386/i486/htonl.S: Likewise. - * sysdeps/vax/htonl.s: Likewise. - * sysdeps/vax/htons.s: Likewise. - - * string/Makefile (headers): Add byteswap.h and bits/byteswap.h. - * string/byteswap.h: New file. - * sysdeps/generic/bits/byteswap.h: New file. - * sysdeps/i386/bits/byteswap.h: New file. - * sysdeps/generic/bits/htontoh.h: Removed. - * sysdeps/i386/bits/htontoh.h: Removed. - - * misc/search.h: General cleanup. Don't define reentrant hsearch - functions uless __USE_GNU. - - * nss/nsswitch.c: Pretty print. - - * sunrpc/clnt_udp.c (clntudp_call): Initialize outlen to prevent - warning. - - * sysdeps/unix/i386/sysdep.h (DO_CALL): Use lcall, binutils have - been fixed meanwhile. - Reported by Zack Weinberg . - -1997-07-24 00:53 Philip Blundell - - * db/hash/hash.c (init_hash): Only use statbuf.st_blksize if it - exists for this port. - -1997-07-24 00:12 Philip Blundell - - * sysdeps/standalone/arm/bits/errno.h (ESTALE): Add. - -1997-07-22 Andreas Schwab - - * manual/argp.texi (Argp Option Vectors): Use @minus, not @math, - to format a proper minus sign. - -1997-07-22 Andreas Schwab - - * sysdeps/m68k/fpu/fraiseexcpt.c: Don't handle FE_INEXACT - specially, the standard doesn't require it. - - * math/test-fenv.c (test_exceptions): Add IGNORE_INEXACT argument, - if non-zero then don't test inexact flag. Callers changed. - (set_single_exc): Ignore inexact flag if underflow or overflow - exception is raised. - -1997-07-23 05:10 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sys/fsuid.h: New file. - Provided by Michael Deutschmann . - * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/fsuid.h. - * sysdeps/unix/sysv/linux/Dist: Add sys/fsuid.h. - -1997-07-16 10:09 Fila Kolodny - - * resolv/gethnamaddr.c: Define MAXHOSTNAMELEN as 256, since RFC 1034 - and 1035 state that a fully qualified domain name cannot exceed 255 - octets in length. - * resolv/nss_dns/dns-host.c: Likewise. - -1997-07-22 09:54 H.J. Lu - - * inet/netinet/in.h (htons): Fix typos. - - * sysdeps/i386/bits/htontoh.h (__ntohs): Return the value. - -1997-07-22 11:47 Ulrich Drepper - - * nss/nsswitch.c (nss_lookup_function): Include function.def, not - functions.def. - Patch by Klaus Espenlaub . - -1997-07-22 01:35 Ulrich Drepper - - * Makerules (+make-deps): Use $(CFLAGS) in run of $(+mkdep) so - that optimizing is also selected for dependency generation. - - * configure.in: Add machine description for TI c[34]x. - - * inet/Makefile (routines): Remove ntohl and ntohs. - * inet/netinet/in.h: Use optimized version of hton? and ntoh? - for little endian machines. - * sysdeps/alpha/ntohl.s: Removed. - * sysdeps/alpha/ntohs.s: Removed. - * sysdeps/generic/ntohl.c: Removed. - * sysdeps/generic/ntohs.c: Removed. - * sysdeps/generic/htonl.c: Add aliases for ntohl. - * sysdeps/vax/htonl.s: Likewise. - * sysdeps/generic/htons.c: Add aliases for ntohs. - * sysdeps/vax/htons.s: Likewise. - * sysdeps/vax/ntohl.s: Removed. - * sysdeps/vax/ntohs.s: Removed. - * sysdeps/generic/bits/htontoh.h: New file. - * sysdeps/i386/htonl.S: New file. - * sysdeps/i386/htons.S: New file. - * sysdeps/i386/i486/htonl.S: New file. - - * sysdeps/i386/fpu/bits/mathinline.h: Correct and optimized compare - macros. - - * sysdeps/mips/dl-machine.h: Remove mips64 dependent parts. - * sysdeps/mips/mips64/dl-machine.h: New file. - - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't install - syscall-list.h. - -1997-07-12 Andreas Jaeger - - * libc.map: Add missing symbol _obstack. - -1997-07-14 08:22 H.J. Lu - - * sysdeps/mips/rtld-parms: New. - - * sysdeps/unix/sysv/linux/mips/lxstat.h: Moved to - * sysdeps/unix/sysv/linux/mips/lxstat.c: ...this. - - * sysdeps/unix/sysv/linux/mips/sgidef.h: Moved to - * sysdeps/unix/sysv/linux/mips/sgidefs.h: ...this. - - * sysdeps/generic/dl-sysdep.c (_start): Change to ENTRY_POINT. - -1997-07-17 08:39 H.J. Lu - - * sysdeps/mips/dl-machine.h: Remove extra stuff. - -1997-07-06 07:18 Geoff Keating - * sysdeps/powerpc/bits/endian.h: Handle multiple endianess. - - * stdlib/grouping.h: Suppress gcc warning about testing - unsigned char for less-than-zero. - * stdio-common/printf_fp.c: Likewise. - * stdio-common/vfprintf.c: Likewise. - - * sysdeps/powerpc/add_n.s: New file. - * sysdeps/powerpc/sub_n.s: New file. - * sysdeps/powerpc/lshift.s: Ported XCOFF->ELF (from GMP). - * sysdeps/powerpc/mul_1.s: Ported XCOFF->ELF (from GMP). - * sysdeps/powerpc/addmul_1.s: Ported XCOFF->ELF (from GMP). - * sysdeps/powerpc/submul_1.s: Ported XCOFF->ELF (from GMP). - * sysdeps/powerpc/rshift.s: Ported XCOFF->ELF (from GMP). - - * math/libm-test.c (cos_test, sin_test, sincos_test): Use - precomputed pi/6 rather than having gcc calculate it, otherwise - tests give inaccurate result due to inaccurate input. - * math/libm.map: Add __fe_*_env constants to list of exported - symbols. - - * sysdeps/libm-ieee754/s_isinf.c: Simplify, make faster. - * sysdeps/libm-ieee754/s_isinff.c: Simplify, make faster. - * sysdeps/libm-ieee754/s_atan2f.c: Correct value of pi to be correct - round-to-nearest value. - - * sysdeps/libm-ieee754/e_log.c: Make sure exceptions are raised. - * sysdeps/libm-ieee754/e_log10.c: Likewise. - * sysdeps/libm-ieee754/e_log10f.c: Likewise. - * sysdeps/libm-ieee754/e_logf.c: Likewise. - * sysdeps/libm-ieee754/s_log1p.c: Likewise. Also use correct -Inf. - * sysdeps/libm-ieee754/s_log1pf.c: Likewise. Also use correct -Inf. - * sysdeps/libm-ieee754/s_log2.c: Likewise. - * sysdeps/libm-ieee754/s_log2f.c: Likewise. - -1997-07-15 21:54 Thorsten Kukuk - - * nis/nss_compat/compat-grp.c: Fix "buffer to small" problems - and memory leaks. - * nis/nss_compat/compat-pwd.c: Likewise. - * nis/nss_compat/compat-spwd.c: Likewise. - * nis/nss_nis/nis-alias.c: Likewise. + * libio/iofclose.c: Implement fclose(NULL) as closing all streams. + * stdio-common/Makefile (routines): Add fcloseall. + * stdio-common/fcloseall.c: New file. + * sysdeps/generic/abort.c: Make implementation POSIX.1 compatible. + + * sysdeps/mach/libc-lock.h: Add definition of __libc_lock_trylock. + * sysdeps/stub/libc-lock.h: Define __libc_lock_trylock to always + return 0. + + * stdio-common/printf.h: Define MIN and MAX only if not already + defined. + + * stdio-common/vfprintf.c: Set errno to EBADF if stream does not + allow writing. Required by POSIX.1. + + * libio/libioP.h (CHECK_FILE): Use MAYBE_SET_EINVAL instead of + assignment. + + * interp.c: Update copyright. + * libio/clearerr.c: Likewise. + * libio/ioseekoff.c: Likewise. + * libio/ioseekpos.c: Likewise. + * stdio/fclose.c: Likewise. + * stdio/fflus.c: Likewise. + + * libio/libio.h [!_IO_MTSAFE_IO]: Define _IO_cleanup_region_start + and _IO_cleanup_region_end as empty. + * libio/fgetc.c: Use _IO_cleanup_region_start and + _IO_cleanup_region_end instead of __libc_cleanup_region_start and + __libc_cleanup_region_end. + * libio/fputc.c: Likewise. + * libio/freopen.c: Likewise. + * libio/fseek.c: Likewise. + * libio/getc.c: Likewise. + * libio/getchar.c: Likewise. + * libio/iofclose.c: Likewise. + * libio/iofflush.c: Likewise. + * libio/iofgetpos.c: Likewise. + * libio/iofgets.c: Likewise. + * libio/iofputs.c: Likewise. + * libio/iofread.c: Likewise. + * libio/iofsetpos.c: Likewise. + * libio/ioftell.c: Likewise. + * libio/iofwrite.c: Likewise. + * libio/iogetdelim.c: Likewise. + * libio/iogets.c: Likewise. + * libio/ioputs.c: Likewise. + * libio/iosetbuffer.c: Likewise. + * libio/iosetvbuf.c: Likewise. + * libio/ioungetc.c: Likewise. + + * libio/iovspintf.c: Use cleanup handler to make sure no dangling + locks can stay over. + * libio/iovsscanf.c: Likewise. + + * libio/genops.c: Use _IO_lock_init_recursive and _IO_lock_fini + instead of __libc_lock_init_recursive and __libc_lock_fini. + + * libio/filedoalloc.c: Only use __isatty when compiling GNU libc. + Otherwise use isatty. + * libio/fileops.c: Likewise for __open and open. + + * login/utmp_file.c (getutent_r_file): Use fcntl instead of + flock. + + * nis/ypclnt.h: Add more casts to prevent warnings. + + * nss/Makefile (services): Remove dns. + (libnss_dns, libnss_dns-inhibit-o): Remove definition. + ($(objpfx)libnss_dns.so): Removed. + * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Moved to... + * resolv/nss_dns: ...here. + * resolv/Makefile (extra-libs): Add libnss_dns. + (libnss_dns-routines, libnss_dns-inhibit-o): Define as in + nss/Makefile. + + * nss/XXX-lookup.c: Call __nss_database_lookup with new argument + specifying alternate name for entry in /etc/nsswitch.conf + * nss/nsswitch.c: If no entry with primary name is found in + /etc/nsswitch.conf try alternate name if given. + * nss/nsswitch.h: Add new parameter in prototype for + __nss_database_lookup. + * nss/spwd-lookup.c: Provide alternative entry name to look for. + This makes our NSS compatible with Solaris' nsswitch.conf files. + + * string/tst-strlen.c: Change all counting variables to type size_t + to prevent warnings. + + * sysdeps/posix/fpathconf.c: Update copyright. + * sysdeps/posix/pathconf.c: Don't call fpathconf to do the work. + Opening the file at this path may fail if it is a FIFO or pipe. + + These changes make the time implementation POSIX.1 compliant. + * time/localtime.c (__localtime_r): Always call __tzset not only + if __tzset_run is zero. + * time/strftime.c: Add definition of memset_space to help to + reduce for systems which have memset. + (strftime): Don't use tm_zone member of argument for zone name. + Instead always use tzname[]. + Call tzset() as required by POSIX.1 before any action. + * time/tzset.c (tzset): Set tzname[] as required by POSIX.1. + Remove global variable __tzset_run. __tzset is now called always + when a dependent function is used. + (__tzset): Caching happens based on the contents of the + environment variable TZ. + +Fri Dec 13 01:06:52 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/paths.h: Add _PATH_KLOG. + +Thu Dec 12 09:16:35 1996 Andreas Schwab + + * rellns-sh: Correctly handle a relative source file name. + +Wed Dec 11 19:18:40 1996 Andreas Schwab + + * login/utmp_file.c (setutent_file): Seek back to beginning of the + file if resetting. + +Thu Dec 12 16:39:12 1996 Thomas Bushnell, n/BSG + + * hurd/hurdinit.c (map0): Delete function. Don't do this on + _hurd_preinit_hook. + * hurd/hurdstartup.c (_hurd_startup): Map page zero redzone here. + +Thu Dec 12 03:32:21 1996 Ulrich Drepper + + * libio/_G_config.h: Add definition of _G_int16_t, _G_int32_t, + _G_uint16_t, _G_uin32_t, _G_HAVE_BOOL, _G_HAVE_MMAP, and + _G_ARGS. + + Change libio buffer handling to allocate internal buffers using + mmap if possible. + * libio/filedoalloc.c (_IO_file_doallocate): Change call to + ALLOC_BUF. + * libio/genops.c (_IO_setb, _IO_default_finish): Change call + to FREE_BUF. + (_IO_default_doallocate): Change call to ALLOC_BUF. + * libio/libioP.h: Change definition of ALLOC_BUF and FREE_BUF + to use mmap/munmap when possible. + * libio/memstream.c: Don't use ALLOC_BUF, but directly malloc. + * libio/vasprintf.c: Likewise. + Patch by HJ Lu. + + * libio/libio.h: Define NULL as __null only for gcc-2.8 and up. + * libio/libioP.h: Likewise. + + * libio/fileops.c (_IO_file_read, _IO_file_write): Don't + restart syscall when EINTR was returned. Necessary for POSIX.1. + + * libio/strops.c (_IO_str_overflow): Add cast to prevent warning. + + * new-malloc/malloc.c (heap_trim): Correctly place parentheses to + prevent warnings. + + * nis/Makefile: Remove rules for bsd-tools which are not part + of glibc. + Patch by Thorsten Kukuk. + + * nis/ypclnt.c: Add prototype for xdr_free. + Add const to first parameter for __yp_bind. + * nis/nss_compat/compat-pwd.c (getpwent_next_netgr, getpwent_next_nis, + getpwent_next_file): Variable `p2len' must have type size_t. + * nis/nss_nis/nis-alias.c: Add casts to prevent warnings. * nis/nss_nis/nis-ethers.c: Likewise. * nis/nss_nis/nis-grp.c: Likewise. * nis/nss_nis/nis-hosts.c: Likewise. @@ -5256,1193 +2004,3747 @@ * nis/nss_nis/nis-rpc.c: Likewise. * nis/nss_nis/nis-service.c: Likewise. * nis/nss_nis/nis-spwd.c: Likewise. - * nis/nss_nisplus-alias.c: Likewise. - * nis/nss_nisplus-ethers.c: Likewise. - * nis/nss_nisplus-grp.c: Likewise. - * nis/nss_nisplus-hosts.c: Likewise. - * nis/nss_nisplus-netgrp.c: Likewise. - * nis/nss_nisplus-network.c: Likewise. - * nis/nss_nisplus-proto.c: Likewise. - * nis/nss_nisplus-pwd.c: Likewise. - * nis/nss_nisplus-rpc.c: Likewise. - * nis/nss_nisplus-service.c: Likewise. - * nis/nss_nisplus-spwd.c: Likewise. - * nis/nss_nisplus-parse.c: If buffer to small, give -1 back. + * nis/rpcsvc/yp_prot.h (ypreq_key): Change type of members to + `const char *'. + (ypmaplist): Change member names to `map' and `next' and provide + #defines for old names. + Patch by Thorsten Kukuk. + + * nss/nss_files/files-parse.c (parse_line, parse_list): Change + type for `datalen' parameter to size_t. + + * shsdow/lckpwdf.c: Use fcntl forlocking, not flock. + + * stdio-common/printf.c [USE_IN_LIBIO]: Provide alias _IO_printf + for printf. + * stdio-common/sscanf.c [USE_IN_LIBIO]: Provide alias _IO_sscanf + for sscanf. + Patch by HJ Lu. + + * stdio-common/tmpfile.c: Update copyright. + + * stdio-common/vfscanf.c: Correctly handle EINTR error from fgetc + function. + Don't eat white space for `C' format. + + * stdlib/tst-strtol.c [~0UL != 0xffffffff]: Fix typo in test data. -1997-07-20 Andreas Schwab + * sysdeps/generic/abort.c: Update copyright. De-ANSI-declfy. + * sysdeps/i386/abort.c: Removed. This version does not use + signal SIGABRT. - * sysdeps/m68k/dl-machine.h (elf_machine_rela): Mention program - name in warning message. - * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Likewise. - * sysdeps/sparc/dl-machine.h (elf_machine_rela): Likewise. - * sysdeps/sparc64/dl-machine.h (elf_machine_rela): Likewise. + * sysdeps/i386/fpu/__math.h: Define __NO_MATH_INLINES if not using + gcc-2.8 or up. + Patch by HJ Lu. - * sysdeps/i386/dl-machine.h (elf_machine_rel): Print program name - first. + * sysdeps/posix/tempname.c: Test for error but EEXIST after open + call. If EMFILE, ENFILE, or EINTR return with error. -1997-07-20 19:33 Thorsten Kukuk +Wed Dec 11 14:43:52 1996 Ulrich Drepper - * libc.map: Add _null_auth and _seterr_reply. + * gnu-versions.h: Set _GNU_OBSTACK_INTERFACE_VERSION back to 1. + We are compatible again. + * new-malloc/obstack.h (struct obstack): Add back alloc_failed bit + even though it is not used. + * malloc/obstack.h: Likewise. + * new-malloc/obstack.c (_obstack_begin, _obstack_begin_1): Initialize + alloc_failed bit to 0. - * sunrpc/clnt_udp.c (clntudp_call): If xargs is NULL, don't encode it. + * time/strftime.c: Extend for Emacs' needs. Recognize field width, + %P format and `0' modifier. -1997-07-19 22:53 Ulrich Drepper +Tue Dec 10 21:20:44 1996 Andreas Schwab - * time/africa: Update from tzdata1997g. - * time/asia: Likewise. - * time/australasia: Likewise. - * time/europe: Likewise. - * time/iso3166.tab: Likewise. - * time/zone.tab: Likewise. - * time/private.h: Update from tzcode1997f. - * time/scheck.c: Likewise. + * Makerules (make-link): Don't discard exit codes of intermediate + commands. Always use rellns-sh if symbolic links are available. - * libio/stdio.h: Declare snprint and vsnprintf for __USE_ISOC9X. +Tue Dec 10 20:09:51 1996 Andreas Schwab - * math/math.h: Correct comments. Include - always when optimizing. + * sysdeps/unix/sysv/linux/netinet/in.h: Enclose #include + in __BEGIN_DECLS/__END_DECLS to avoid linkage + conflict of ntohs etc. in . -1997-07-19 10:23 Mark Kettenis +Wed Dec 11 01:04:30 1996 Ulrich Drepper - * time/getdate.c (__getdate_r): - Report failure if string was not completely parsed. - (getdate): Set getdate_err on failure. + Add NIS NSS implementation. + * shlib-versions: Add versions for NIS libraries. + * sysdeps/unix/inet/Subdirs: Add nis. + * nis/Banner: New file. + * nis/Makefile: New file. + * nis/nss-nis.h: New file. + * nis/yp_xdr.h: New file. + * nis/ypclnt.h: New file. + * nis/ypupdate_xdr.c: New file. + * nis/nss_compat/compat-grp.c: New file. + * nis/nss_compat/compat-pwd.c: New file. + * nis/nss_compat/compat-spwd.c: New file. + * nis/nss_nis/nis-alias.c: New file. + * nis/nss_nis/nis-ethers.c: New file. + * nis/nss_nis/nis-grp.c: New file. + * nis/nss_nis/nis-hosts.c: New file. + * nis/nss_nis/nis-netgrp.c: New file. + * nis/nss_nis/nis-network.c: New file. + * nis/nss_nis/nis-proto.c: New file. + * nis/nss_nis/nis-publickey.c: New file. + * nis/nss_nis/nis-pwd.c: New file. + * nis/nss_nis/nis-rpc.c: New file. + * nis/nss_nis/nis-service.c: New file. + * nis/nss_nis/nis-spwd.c: New file. + * nis/rpcsvc/yp.h: New file. + * nis/rpcsvc/yp.x: New file. + * nis/rpcsvc/yp_prot.h: New file. + * nis/rpcsvc/ypclnt.h: New file. + * nis/rpcsvc/ypupd.h: New file. + + * libio/_G_config.h: Define _G_HAVE_SYS_WAIT and _G_HAVE_PRINTF_FP. + + * locale/C-numeric.c: Update copyright. + + * locale/Makefile: Add rules to build libBrokenLocale. + * locale/broken_cur_max.c: New file. + * locale/mb_cur_max.c: Update copyright. + (__ctype_get_mb_cur_max): Make function weak. + + * new-malloc/malloc.c: Correct copyright. + * new-malloc/thread-m.h: Correct key handling. -1997-07-17 Andreas Schwab + * shadow/lckpwdf.c: Update copyright. + (PWD_LOCKFILE): Change to /etc/.pwd.lock. - * include/gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION): - Synchronize with malloc/obstack.c. + * stdlib/strtod.c: Add another assertion. + * stdlib/tst-strtod.c: Add another test case. -1997-07-16 Miles Bader + * sysdeps/generic/paths.h: Add _PATH_PRESERVE. Needed by nvi. + * sysdeps/unix/sysv/linux/paths.h: Likewise. - * sysdeps/mach/hurd/mmap.c (__mmap): Check for !MAP_SHARED rather - than MAP_COPY|MAP_PRIVATE, since those values are defined wierdly. - Return EACCES rather than EGRATUITOUS if a R/W request isn't writable. + * sysdeps/gnu/utmpbits.h: Rename ut_addr field to ut_addr_v6. + ut_addr names a single element in ut_addr_v6. -1997-07-15 Marcus G. Daniels + * sysdeps/mach/hurd/xmknod.c: Remove alias from __mknod to mknod. + Patch by Thomas Bushnell, n/BSG. - * manual/Makefile (INSTALL_INFO): Introduce variable to override - path to install-info for systems like Debian that have an - install-info with a different command line interface from the - canonical GNU texinfo version. +Tue Dec 10 11:35:28 1996 Richard Henderson + + * sysdeps/alpha/strncmp.S: Fix aligned short truncated compare + corner condition. + + * sysdeps/alpha/memchr.S: Don't read ahead, even if the load + did fit nicely into that delay slot (patch from David Mosberger-Tang). + +Mon Dec 9 23:53:43 1996 Thomas Bushnell, n/BSG + + * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Renamed from + `ttyname_r'. + (ttyname_r): New alias. + +Tue Dec 10 02:17:31 1996 Ulrich Drepper + + * stdio-common/printf_fp.c (__guess_grouping): Fix off by one + error in computation of number of groups. + Patch sent by Harald Schreiber . + +Tue Dec 10 01:50:07 1996 Ulrich Drepper -1997-07-15 Andreas Jaeger + * version.h: Set version to 1.99. - * sysdeps/posix/ttyname_r.c (__ttyname_r): Correct comment. - * posix/unistd.h: Likewise. - * sysdeps/stub/ttyname_r.c: Likewise. + * Make-dist (routines): Add malloc and new-malloc. -1997-07-14 23:37 Ulrich Drepper + * Makeconfig: Allow Makefiles to set $(CPPFLAGS-$( + + * Make-dist: Make sure both malloc directories get distributed. + +Sun Dec 8 23:14:10 1996 Andreas Schwab + + * libio/iogets.c (_IO_gets): Fix early returns to not leave the + stream locked. + +Sat Dec 7 22:08:09 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/sys/module.h: Enclose declarations in + __BEGIN_DECLS/__END_DECLS. + +Sat Dec 7 14:23:12 1996 Andreas Schwab + + * login/utmp_file.c: Consistently set file_offset to the position + after the entry just read. + +Mon Dec 9 03:39:30 1996 Ulrich Drepper + + * config.make.in (defines): Add @USE_NEW_MALLOC@. + * Makefile.in: Define USE_NEW_MALLOC to -DUSE_NEW_MALLOC if + we use the new malloc. + + * malloc.h: Use either or + depending on USE_NEW_MALLOC. + + Fix some more POSIX.1 problems. + * libio/fileops.c (_IO_file_underflow): Set errno to EBADF if used + on a write-only stream. + (_IO_file_overflow): Set errno to EBADF if used on a read-only + stream. + (_IO_file_seekoff): POSIX.1 requires that fseek() after an fflush() + call really positions the file offset to the correct position + and no read-ahead happens. + + * locale/C-monetary.c: Set mon_grouping file to "" and "\377" + to pass POSIX test suite. + * stdio-common/vfprintf.c: Handle empty string as grouping command + correctly. + * stdlib/grouping.h: Likewise. + + * misc/syslog.c: Case first argument of __libc_cleanup_region_start. + + * signal/sigsetops.h: Update copyright. Don't include ansidecl.h. + + * stdio-common/printf_fp.c: Update copyright. + +Sun Dec 8 16:39:28 1996 Andreas Jaeger + + * time/Makefile: Compile ap.c with NO_MCHECK flag if new-malloc + used (not otherwise). + +Sun Dec 8 06:56:49 1996 Ulrich Drepper + + * io/getwd.c: Use PATH_MAX not LOCAL_PATH_MAX. Fix typo in + comment. + * stdlib/canonicalize.c: Correct bugs in last change. + Patch by HJ Lu. + + * libio/Makefile (routines): Remove ioprims. + (aux): Remove cleanup. + Add IO_DEBUG option for .o files. + * libio/cleanups.c: Removed. + * libio/ioprims.c: Removed. + * libio/filedoalloc.c: More updates from libg++-2.8b5. + * libio/fileops.c: Likewise. + * libio/genops.c: Likewise. + * libio/iolibio.h: Likewise. + * libio/iopopen.c: Likewise. + * libio/iovsprintf.c: Likewise. + * libio/iovsscanf.c: Likewise. + * libio/libio.h: Likewise. + * libio/libioP.h: Likewise. + * libio/memstream.c: Likewise. + * libio/strfile.h: Likewise. + * libio/vasprintf.c: Likewise. + * libio/vsnprintf.c: Likewise. + + * libio/stdio.h: Define P_tmpdir only is __USE_SVID. + + * manual/arith.texi: Change references to ANSI C to ISO C. + * manual/conf.texi: Likewise. + * manual/creature.texi: Likewise. + * manual/ctype.texi: Likewise. + * manual/errno.texi: Likewise. + * manual/filesys.texi: Likewise. + * manual/intro.texi. Likewise. + * manual/io.texi: Likewise. + * manual/lang.texi: Likewise. + * manual/libc.texinfo: Likewise. + * manual/locale.texi: Likewise. + * manual/maint.texi: Likewise. + * manual/mbyte.texi: Likewise. + * manual/memory.texi: Likewise. + * manual/process.texi: Likewise. + * manual/process.texi: Likewise. + * manual/search.texi: Likewise. + * manual/setjmp.texi: Likewise. + * manual/signal.texi: Likewise. + * manual/startup.texi: Likewise. + * manual/stdio.texi: Likewise. + * manual/string.texi: Likewise. + * manual/time.texi: Likewise. + + * manual/locale.texi: Remove description of LC_RESPONSE and add + LC_MESSAGES. + + * Makefile (subdirs): Change malloc in $(malloc). + * config.make.in: Add variable malloc which is initialized from + @malloc@. + * configure.in: Add new option --enable-new-malloc to use new + malloc. This is the default on Linux. + * sysdeps/unix/sysv/linux/configure.in: Define malloc to new-malloc + by default. + * new-malloc/Makefile: New file. Improved malloc implementation. + * new-malloc/malloc.c: Likewise. + * new-malloc/malloc.h: Likewise. + * new-malloc/mallocbug.c: Likewise. + * new-malloc/obstack.c: Likewise. + * new-malloc/obstack.h: Likewise. + * new-malloc/thread-m.h: Likewise. + * time/Makefile: Compile ap.c with NO_MCHECK flag for now. + * time/ap.c: Don't call mcheck if NO_MCHECK is defined. + + * resolv/Makefile: Add rule to rebuiild libresolv.so when libc.so + changed. + + * stdio/feof.c: Update copyright. + * stdio/stdio.h: Add field for lock to FILE structure. + Add cast to *MAGIC constants to prevent warnings. + + * stdio-common/bug7.c: Correct test. Stream must not be closed + twice. + + * stdlib/Makefile (routines): Add secure-getenv. + * stdlib/secure-getenv.c: New file. __secure_getenv function + moved to here from sysdeps/generic/getenv.c. Otherwise an + application cannot replace the getenv function in the libc. + * sysdeps/generic/getenv.c: Remove __secure_getenv function. + * sysdeps/stub/getenv.c: Remove __secure_getenv alias. - * login/programs/utmpd.c: Use _() instead of gettext(). + * sysdeps/mach/libc-lock.h: Define__libc_mutex_lock to __mutex_lock. - * nis/nss_nisplus/nisplus-hosts.c: Optimize some uses of stpcpy away. - * nis/nss_nisplus/nisplus-network.c: Likewise. - * nis/nss_nisplus/nisplus-proto.c: Likewise. - * nis/nss_nisplus/nisplus-rpc.c: Likewise. - * nis/nss_nisplus/nisplus-service.c: Likewise. + * sysdeps/posix/fdopen.c: Update copyright. Don't use EXFUN. + + * time/test-tz.c: Comment fifth test out. PROBLEM. + + * time/tzset.c: De-ANSI-declfy. + (__tzset): Don't increment pointer tz when no DST information is + given. + + * misc/syslog.c (vsyslog): Cast argument to __libc_cleanup_region + to get Hurd macros right. + +Sat Dec 7 23:47:54 1996 Ulrich Drepper + + * sysdeps/mach/libc-lock.h [_LIBC]: Add definition of + __libc_mutex_lock. + Patch by Thomas Bushnell. + + * sysdeps/unix/sysv/linux/timebits.h: Load only + if __USE_MISC. + + * sysdeps/unix/sysv/linux/Dist: Add llseek.c. + +Sat Dec 7 12:18:56 1996 Ulrich Drepper - * sysdeps/alpha/fpu/bits/mathinline.h: Only define functions if - __OPTIMIZE__. - * sysdeps/powerpc/bits/mathinline.h: Likewise. - * sysdeps/i386/fpu/bits/mathinline.h: Define ISO C9x comparison - function always. - * sysdeps/m68k/fpu/bits/mathinline.h: Likewise. - * sysdeps/stub/bits/mathinline.h: Add conditionals to show how - it should look like in real files. + * time/strftime (%c format): Remove %Z from default string. + Reported by Paul Eggert - * sysdeps/generic/bits/select.h (__FD_ZERO): Don't use memset to - prevent prototype trouble, use simple loop. - * sysdeps/i386/bits/select.h [!__GNUC__] (__FD_ZERO): Likewise. +Sat Dec 7 03:24:36 1996 Ulrich Drepper - * sysdeps/mips/mips64/Implies: Imply ieee754. + * configure.in: Discard error message from test in test for + bash-2.0. - * sysdeps/unix/sysv/linux/Makefile: Make sure bits/syscall.h is - installed. - * sysdeps/unix/sysv/linux/sys/syscall.h: Pretty print. + * io/getwd.c: Don't apply getcwd on user supplied buffer. + Instead always use temporary buffer and only copy the result. + Patch by HJ Lu. + * stdlib/canonicalize.c: Likewise. -1997-07-14 00:25 Ulrich Drepper + * libio/fileops.c: Change comments according to libg++2.8b5. + * libio/iosetvbuf.c: Follow change in libg++-2.8b5 to clear + unbuffered flag. + Reported by HJ Lu. - * sysdeps/stub/bits/stdio_lim.h: Unify with standalone version. - * sysdeps/standalone/bits/stdio_lim.h: Removed. - Patch by Zack Weinberg . + * manual/nss.texi: Correct prototypes. -1997-06-22 Paul Eggert - - * time/strftime.c (strftime): Use tm_zone if available, even if _LIBC. - - * time/tzfile.c (__tzstring): New decl. - (__tzfile_read, __tzfile_default): Set __tzname to permanent strings. - (__tzfile_default): First two args are now const char *. - - * time/tzset.c (__tzstring): New function. - (tz_rule): Name is now const char *. - (struct tzstring_head): New type. - (tzstring_list, tzstring_last_buffer_size): New static vars. - (__tzset_internal): Time zone names are now permanent, not temporary. + * misc/syslog.c: Make reentrant. Catch SIGPIPE signal to prevent + crash if syslog daemon is restarted. -1997-07-13 01:18 Ulrich Drepper - - * setjmp/setjmp.h: Define _setjmp and _longjmp also if __USE_XOPEN. - - * sysdeps/unix/sysv/linux/bits/ipc.h: Fix comment. - * sysdeps/unix/sysv/linux/bits/msq.h: Likewise. - * sysdeps/unix/sysv/linux/bits/sem.h: Likewise. - * sysdeps/unix/sysv/linux/bits/shm.h: Likewise. - - * time/Makefile (routines): Add getdate. - * time/time.h: Add prototype for getdate and getdate_r. - * time/getdate.c: New file. - Provided by Mark Kettenis . + * stdlib/rand_r.c: New file. Implementation of POSIX.2 function + rand_r. + * stdlib/Makefile (routines): Add rand_r. -1997-06-30 14:49 H.J. Lu - - From Ralf Baechle on - Sat Jun 21 18:11:21 1997: - - * sysdeps/unix/sysv/linux/syscalls.list (swapon): Add __swapon alias. - (swapoff): New. - - * elf/Makefile: Add linker script support. - (headers): Add bits/dlfcn.h. - - * elf/dl-load.c (MAP_BASE_ADDR): New. - - * elf/dlfcn.h: Include . - - * elf/elf.h: Add MIPS support. - - * sysdeps/generic/Dist: Add entry.h. - * sysdeps/generic/entry.h: New, define the entry symbol. - - * elf/rtld.c (_start): Include . Change to ENTRY_POINT. - * sysdeps/generic/dl-sysdep.c (_start): Likewise. - * mips/elf/start.S (_start): Likewise. - - * sysdeps/mips/bsd-_setjmp.S: Fix PIC. - * sysdeps/mips/bsd-setjmp.S: Likewise. - * sysdeps/mips/setjmp.S: Likewise. - * mips/elf/start.S: Likewise. - * sysdeps/unix/mips/brk.S: Likewise. - * sysdeps/unix/mips/sysdep.S: Likewise. - * sysdeps/unix/mips/sysdep.h: Likewise. - * sysdeps/unix/mips/wait.S: Likewise. - - * sysdeps/mips/dl-machine.h: Update for Linux/MIPS. - * sysdeps/mips/fpu_control.h: Likewise. - - * sysdeps/generic/bits/dlfcn.h: New file. - - * sysdeps/mips/rtld-ldscript.in: New for Linux/MIPS. - * sysdeps/mips/rtld-parms: Likewise. - * sysdeps/mips/bits/dlfcn.h: Likewise. - * sysdeps/mips/mips64/rtld-parms: Likewise. - * sysdeps/mips/mipsel/rtld-parms: Likewise. - * sysdeps/unix/sysv/linux/mips/Dist: Likewise. - * sysdeps/unix/sysv/linux/mips/Makefile: Likewise. - * sysdeps/unix/sysv/linux/mips/clone.S: Likewise. - * sysdeps/unix/sysv/linux/mips/entry.h: Likewise. - * sysdeps/unix/sysv/linux/mips/fpregdef.h: Likewise. - * sysdeps/unix/sysv/linux/mips/fxstat.c: Likewise. - * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise. - * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise. - * sysdeps/unix/sysv/linux/mips/kernel_termios.h: Likewise. - * sysdeps/unix/sysv/linux/mips/lxstat.c: Likewise. - * sysdeps/unix/sysv/linux/mips/regdef.h: Likewise. - * sysdeps/unix/sysv/linux/mips/sgidefs.h: Likewise. - * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise. - * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise. - * sysdeps/unix/sysv/linux/mips/xstat.c: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: - * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise. - * sysdeps/unix/sysv/linux/mips/sys/acct.h: Likewise. - * sysdeps/unix/sysv/linux/mips/sys/asm.h: Likewise. - * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise. - * sysdeps/unix/sysv/linux/mips/sys/fpregdef.h: Likewise. - * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise. - * sysdeps/unix/sysv/linux/mips/sys/regdef.h: Likewise. - * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Likewise. - * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise. - -1997-04-09 19:05 H.J. Lu (hjl@gnu.ai.mit.edu) - - * isomac.c (xstrndup): New, use it instead of strndup (). - -1997-07-02 08:55 H.J. Lu - - * sysdeps/i386/dl-machine.h (elf_machine_rel): Print - the program name for different sizes. - -1997-07-10 15:47 Fila Kolodny - - * nis/ypclnt.c: Change references to MAXHOSTNAMELEN to NIS_MAXNAMELEN. - Add include of rpcsvc/nis.h. - * inet/getnameinfo.c: Delete references to MAXHOSTNAMELEN. - * sysdeps/posix/getaddrinfo.c: Likewise. - Change size of variable buffer to be big enough to hold an IPv6 - address in printable format. - -1997-07-12 18:47 Ulrich Drepper - - * assert/assert.h [!NDEBUG] (assert, assert_perror): Don't use || - and && in tests to allow use in C++ code which overloads these - operators. Reported by Istvan Marko . - - * configure.in: Move mips64* recognition before mips*. - Patch by Zack Weinberg . - -1997-07-03 20:44 Andreas Schwab - - * Makerules (lib%.so, $(common-objpfx)libc.so): Don't use - automatic variables in dependency lists. - (build-shlib): Always filter out the version script file. - * extra-lib.mk ($(objpfx)$(lib).so): Depend on version script. - -1997-07-12 17:56 Ulrich Drepper - - * login/login.c (tty_name): Test return value of ttyname_r for != - 0, not < 0. - * misc/ttyslot.c (ttyslot): Test return value of ttyname_r for == - 0, not >= 0. - * sysdeps/unix/getlogin.c (getlogin): Test return value of - ttyname_r for != 0. - * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise. - -1997-07-10 Andreas Jaeger - - * login/utmp_file.c (getutline_r_file): Fix type: compare with - *result. - -1997-07-11 00:21 Mark Kettenis - - * login/Makefile (headers): Add utmpx.h and bits/utmpx.h. - -1997-07-09 19:21 Mark Kettenis - - * login/programs/utmpd.c, login/programs/database.c, - login/programs/request.c: Prepare messages for - internationalization. - - * login/programs/utmpd.c: - (main): Change handling of errors in opening the database. - * login/programs/database.c: - (open_database, synchronize_database, initialize_database): - Properly handle errors. - (get_mtime): Use fstat instead of stat. All callers changed. - - * login/getutent_r.c: Make setutxent a weak alias for __setutxent. - * login/getutent.c: Rename getutent to __getutent and make - getutent a weak alias. - Make getutxent a weak alias for __getutent. - * login/utmpx.h: New file. - * sysdeps/gnu/bits/utmp.h: Cleanup. Added comments. - * sysdeps/gnu/bits/utmpx.h: New file. - -1997-07-11 03:00 Ulrich Drepper - - * inet/inet_ntoa.c: Prevent looking for thread data key if we found - one. + * sysdeps/stub/libc-lock.h: Define __libc_lock_trylock and + __libc_mutex_lock. - * signal/sigandset.c: Include stddef.h to get NULL defined. - * signal/sigisempty.c: Likewise. - * signal/sigorset.c: Likewise. - * sysdeps/stub/if_index.h: Likewise. - * wcsmbs/wcstod_l.c: Include locale.h to get __locale_t defined. - * wcsmbs/wcstof_l.c: Likewise. - * wcsmbs/wcstol_l.c: Likewise. - * wcsmbs/wcstold_l.c: Likewise. - * wcsmbs/wcstoll_l.c: Likewise. - * wcsmbs/wcstoul_l.c: Likewise. - * wcsmbs/wcstoull_l.c: Likewise. - Reported by Marcus G. Daniels . + * configure.in: Add --disable-sanity-check option. + * sysdeps/unix/sysv/linux/configure.in: If linuxthreads or + des-crypt are not available and --disbale-sanity-check is not + given abort with a message. - * stdio-common/snprintf.c: Use ISO C function definition form. +Thu Dec 5 19:19:53 1996 Richard Henderson - * sysdeps/stub/libc-lock.h: Don't define __libc_key_create and - __libc_setspecific as empty macros since they are used as - function with return value. - Reported by Andreas Jaeger. + * posix/glob.c: Tests against STDC_HEADERS should also test + __GNU_LIBRARY__. - * stdio-common/strops.c: Partialy undo last change. Will need - more investigation. +Thu Dec 5 16:20:55 1996 Ulrich Drepper -1997-07-10 Marcus G. Daniels + * misc/err.c (vwarn): Set errno again before using %m format. - * sysdeps/mach/hurd/select.c (__select): Need bit count for - MACH_MSG_TYPE_INTEGER_T. +Thu Dec 5 10:14:05 1996 Andreas Jaeger -1997-07-08 10:12 Fila Kolodny + * grp/grp.h: Add declaration of __getgrent_r. - * sysdeps/i370/Implies: New file for i370-ibm-mvs port. - * sysdeps/mvs/Implies: Likewise. + * io/fts.c (fts_build): Remove "register" from variables dirbuf + and dp since their address is needed. -1997-07-09 23:06 Thorsten Kukuk + * sysdeps/posix/getcwd.c (__getcwd): Remove "register" from + variable d since d's address is needed. - * nis/Makefile: Add new source files. + * misc/tst-dirname.c (main): Provide prototype. + * misc/ioctltst.c (main): Dito. - * nis/nis_intern.h: Add new internal functions. - * nis/rpcsvc/nislib.h: Likewise. + * Makefile: Add gnu/lib-names.h to install-others before including + Makerules. - * nis/lckcache.c: New. - * nis/nis_cache.c: New, dummy functions in the moment. - * nis/nis_util.c: New. - * nis/nisplus-parser.h: New. - * nis/nss_nisplus/nisplus-parser.c: New. - * nis/rpcsvc/nis_cache.h: New. - * nis/rpcsvc/nis_cache.x: New. +Wed Dec 4 16:00:09 1996 Ulrich Drepper - * nis/nss_compat/compat-grp.c: Matches Solaris behaviour now. - * nis/nss_compat/compat-pwd.c: Likewise. - * nis/nss_compat/compat-spwd.c: Likewise. - * nis/nss_nisplus/nisplus-alias.c: Likewise. - * nis/nss_nisplus/nisplus-ethers.c: Likewise. - * nis/nss_nisplus/nisplus-grp.c: Likewise. - * nis/nss_nisplus/nisplus-hosts.c: Likewise. - * nis/nss_nisplus/nisplus-netgrp.c: Likewise. - * nis/nss_nisplus/nisplus-network.c: Likewise. - * nis/nss_nisplus/nisplus-proto.c: Likewise. - * nis/nss_nisplus/nisplus-publickey.c: Likewise. - * nis/nss_nisplus/nisplus-pwd.c: Likewise. - * nis/nss_nisplus/nisplus-rpc.c: Likewise. - * nis/nss_nisplus/nisplus-service.c: Likewise. - * nis/nss_nisplus/nisplus-spwd.c: Likewise. + * sysdeps/unix/sysv/linux/sys/socketvar.h: New file. Simply use + . + * sysdeps/unix/sysv/linux/Dist: Add sys/socketvar.h. + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet)]: Add + sys/socketvar.h to sysdep_headers. - * nis/nss_nis/nis-publickey.c: Remove libc-lock.h include. +Tue Dec 3 08:38:15 1996 Richard Henderson - * nis/nis_intern.c: Removed. + * sysdeps/unix/alpha/sysdep.S: Remove definition of __errno_location. + Reformat copyright. - * nis/nis_call.c: Complete rewrite. - * nis/nis_lookup.c: Likewise. - * nis/nis_table.c: Likewise. + * elf/rtld.c (_dl_start): Don't dereference the value returned by + elf_machine_got to get _DYNAMIC, instead call new function + elf_machine_dynamic. + * sysdeps/alpha/dl-machine.h: Permute elf_machine_got to + elf_machine_dynamic. Reformat copyright. + * sysdeps/i386/dl-machine.h: Likewise. + * sysdeps/m68k/dl-machine.h: Likewise. + * sysdeps/mips/dl-machine.h: Likewise. + * sysdeps/sparc/dl-machine.h: Likewise. + * sysdeps/stub/dl-machine.h: Likewise. - * nis/libnsl.map: Add missing symbols. +Tue Oct 15 23:46:00 1996 Andreas Schwab - * nis/nis_print.c: Fix nis_print_link. - * nis/nis_subr.c: Fix nis_getnames. + * MakeTAGS (sysdep_dirs): Include add-on sysdep directories. -1997-07-09 07:19 H.J. Lu +Tue Dec 3 02:06:18 1996 Ulrich Drepper - * posix/execvp.c (execvp): Handle ESTALE. + * Makerules ($(libdir)/libc.so): Make first line of generated + link script contain `/* GNU ld script'. This will be used in + ldconfig to check for linker scripts. + * sysdeps/mach/hurd/libc-ldscript: Likewise. + * sysdeps/mach/hurd/libc_p-ldscript: Likewise. -1997-07-10 13:54 Ulrich Drepper + * stdlib/getsubopt.c: Update copyright. Correct typo in comment. - * posix/regex.c: Make CHAR_SET_SIZE definition always available, - even if SYNTAX_TABLE is defined. - Patch by Akim Demaille . +Mon Dec 2 15:32:15 1996 Ulrich Drepper -1997-07-09 08:16 H.J. Lu + * elf/dl-lookup.c (_dl_lookup_symbol_skip): Remove unused variable + `found_entry'. - * libio/fileops.c (_IO_file_underflow): Adjust pointers - before calling _IO_SYSREAD (). + * misc/ttyslot.c: Use ttyname_r instead of ttyname. -1997-07-07 22:54 Zack Weinberg + * assert/assert-perr.c: Use __strerror_r instead of strerror. + * assert/assert.c: De-ANSIdecl-fy. Update copyright. + * string/string.h: Declare __strerror_r. + * string/strerror_r.c: Make strerror_r a weak alias of __strerror_r. + * stdio-common/vfprintf.c: Save current errno value on entry so + that %m format finds the correct value. + * io/getwd.c: Use __strerror_r instead of strerror. + * misc/err.c (vwarn): Use %m printf format instead of explicitly + calling strerror. + * inet/rcmd.c: Likewise. + * misc/error.c (error, error_at_line): Use __strerror_r instead + of strerror when this function is available. - * sysdeps/sparc/divrem.m4: Eliminate use of "DEFS.h" - (sysdep.h does the same job). - * sysdeps/sparc/alloca.S: Likewise. - * sysdeps/sparc/dotmul.S: Likewise. - * sysdeps/sparc/udiv_qrnnd.S: Likewise. + * stdlib/rand.c: Update copyright and de-ANSI-declfy. + * stdlib/random_r.c: Don't make srand_r weak alais of __srandom_r. + * stdlib/stdlib.h: Define prototype for rand_r. - * sysdeps/sparc/rem.S: Regenerated. - * sysdeps/sparc/sdiv.S: Regenerated. - * sysdeps/sparc/udiv.S: Regenerated. - * sysdeps/sparc/urem.S: Regenerated. + * string/strfry.c: Update copyright. Use reentrant random functions. - * sysdeps/sparc/DEFS.h: Removed. - * sysdeps/sparc/elf/DEFS.h: Removed. - * sysdeps/sparc/Dist: Don't distribute DEFS.h. + * dirent/scandir.c: Use __readdir_r instead of readdir. + * posix/glob.c: Likewise. + * sysdeps/posix/ttyname.c: Likewise. + * sysdeps/posix/ttyname_r.c: Likewise. + * io/ftw.c: Likewise. + * io/fts.c: Likewise. + * sysdeps/posix/getcwd.c: Likewise. + * dirent/dirent.h: Add prototype for __readdir_r. + * sysdeps/unix/readdir_r: Update copyright. - * sysdeps/unix/sparc/sysdep.h: Use 4 byte alignment. Add .type - directive #ifdef HAVE_ELF. Minor format changes. + * time/ctime.c: Use __localtime_r and __asctime_r instead of + non reentrant versions. + * time/ctime_r.c: Update copyright. - * sysdeps/alpha/DEFS.h: Removed. - * sysdeps/alpha/Dist: Don't distribute DEFS.h. + * intl/l10nflist.c (_nl_make_l10nflist): Pretty print. -1997-07-07 19:03 H.J. Lu + * locale/Makefile (localepath): Correct value. - * math/test-fenv.c (feenv_nomask_test): Move - fesetenv (FE_NOMASK_ENV) after fork () to work with - SMP. + * nss/nss_files/files-XXX.c: Include to define + NETDB_INTERNAL. + Fix typo in using H_ERRNO_SET macro. - * sysdeps/i386/fpu_control.h (_FPU_IEEE): Fix comment. +Fri Nov 29 23:22:14 1996 Andreas Schwab -1997-07-08 Andreas Schwab + * Makerules (elfobjdir): Definition removed. + * Makeconfig (elfobjdir): Define it here instead, so that + expanding $(rpath-link) gets the right value. - * libc.map: Add _IO_peekc_locked. + * a.out.h: Removed. + * misc/a.out.h: Moved to... + * sysdeps/generic/a.out.h: ...here. + * sysdeps/unix/sysv/linux/a.out.h: New file. Wrapper around + kernel header. -1997-07-07 15:45 Fila Kolodny +Mon Dec 2 03:59:38 1996 Ulrich Drepper - * Makeconfig: Add dbobjdir to rpath-link analogous to nssobjdir. + * grp/initgroups.c: Update and reformat copyright. + Use __getgrent_r instead of getgrent. -1997-07-08 Andreas Schwab + * inet/rcmd.c: Update and reformat copyright. + Use __gethostbyname_r instead of gethostbyname. + * inet/rexec.c: Likewise. - * sysdeps/m68k/fpu/feholdexcpt.c: Shift the exception mask in the - right position. - * sysdeps/m68k/fpu/fesetenv.c (fesetenv): Likewise. + * intl/finddomain.c: Correct comment about CEN sponsor and revision. + * locale/findlocale.c: Likewise. + * intl/l10nflist.c: Correct handling of CEN sponsor and revision. + * locale/Makefile (CPPFLAGS): Add definition of LOCALEDIR. + * locale/setlocale.c (setlocale): Correctly split value of + LOCALE_PATH. + * locale/programs/localedef.c: Use LOCALEDIR not LOCALE_PATH to + find output directory. -1997-07-08 13:59 Ulrich Drepper + * nss/getXXbyYY.c [NEED_H_ERRNO]: Before enlarging buffer test + h_errno_tmp variable. + Save error value from being changed during `free' call. + * nss/getXXent.c: Likewise. - * time/strftime.c (spaces, zeroes): Handle broken SGI compiler. - Patch by Richard Stallman . + * nss/nss_files/files-XXX.c: Set h_errno variable to NETDB_INTERNAL + before returning ERANGE error. -1997-07-08 02:18 Ulrich Drepper + * posix/glob.c: Use getlogin_r and getpwnam_r function when available + or in GNU libc. - * io/lockf.c (lockf): Clear fl before using. - Patch by sr@adb.fr. + * pwd/getpw.c: Use getpwuid_r instead of getpwuid. - * libio/strops.c: Correctly handle _IO_write_end. + * sunrpc/clnt_gen.c: Use gethostbyname_r and getprotobyname_r. + * sunrpc/clnt_simp.c: Likewise. + * sunrpc/getrpcport.c: Likewise. + * sysdeps/unix/sysv/linux/gethostid.c: Likewise. - * nss/libnss_files.map: Add __nss_netgroup_parseline. - * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't - panic if setnetgrent wasn't called before, return error. - Patch by Thorsten Kukuk . + * posix/getconf.c: Treat _SC_UNIT_MAX and _SC_ULONG_MAX separately + since the value might be outside the range of the `long int'. + Print string `undefined' when a value is undefined. - * time/mktime.c: Define localtime_r function as my_mktime_localtime_r - if locally defined. - * time/strftime.c: Define localtime_r function as my_ftime_localtime_r - if locally defined. - Define tm_diff function as ftime_tm_diff if locally defined. - Reported by Richard Stallman . + * stdlib/l64a.c: Return correct pointer. + Patch by NIIBE Yutaka . -1997-07-06 23:36 Ulrich Drepper + * string/Makefile (routines): Add argz-addsep. + * string/argz-addsep.c: New file. + * string/argz.h: Add prototypes for argz_add_sep. - * isomac.c (get_null_defines): Put NULL at end of list. + * string/argz-ctsep.c: Prevent memory leak. - * hurd/Makefile: Remove special handling of sunrpc code. - * sysdeps/mach/hurd/Makefile: Likewise. - Compile CThreads code. - * sunrpc/rpc_main.c: Don't use MAXPATHLEN. - * sysdeps/mach/bits/libc-lock.h: Add definitions for key handling - functions. - * sysdeps/stub/bits/libc-lock.h: Likewise. - * sysdeps/mach/hurd/net/ethernet.h: New file. - * sysdeps/mach/hurd/net/if.h: New file. - * sysdeps/mach/hurd/net/if_arp.h: New file. - * sysdeps/mach/hurd/net/if_ether.h: New file. - * sysdeps/mach/hurd/net/if_ppp.h: New file. - * sysdeps/mach/hurd/net/route.h: New file. - Patches by Fila Kolodny . + * string/strcoll.c: Correct typo in comment. - * math/fenv-test.c: Add more tests. - Patch by Andreas Jaeger . +Sat Nov 30 02:53:59 1996 Ulrich Drepper - * sysdeps/wordsize-32/inttypes.h: Correct values for INTFAST_MIN, - INTFAST_MAX, and UINTFAST_MAX. - * sysdeps/wordsize-64/inttypes.h: Likewise. - Correct intmax_t definition. + * sysdeps/unix/sysv/linux/sys/serial.h: Removed again. The file is + not general enough to be part of the libc. + * sysdeps/unix/sysv/linux/Dist: Remove sys/serial.h. + * sysdeps/unix/sysv/linux/Makefile: Don't install sys/serial.h. -1997-07-04 15:33 H.J. Lu +Thu Nov 28 20:04:41 1996 Andreas Schwab - * elf/rtld.c (dl_main): Add '\n' to _dl_sysdep_fatal (). + * login/Makefile: Fix typo. -1997-07-01 09:18 H.J. Lu + * nss/Makefile (generated): Filter out db-alias.c. - * libc.map: Add missing symbol. +Thu Nov 28 14:44:01 1996 Andreas Schwab -1997-07-04 18:04 H.J. Lu + * time/Makefile (echo-zonenames): Don't depend on non-existing + target `zonenames'. - * stdlib/tst-strtol.c: Don't assume cpp takes ~0UL as long - in cc1. Cpp in gcc doesn't do it. +Thu Nov 28 12:34:05 1996 Andreas Schwab -1997-07-01 21:15 Andreas Jaeger + * link.h: New file. + * nss/nsswitch.c: Use it. - * libio/libioP.h: Remove second definition of _IO_file_attach. + * printf.h: Fix file name. + * stdlib/strfmon.c: Use it. - * sysdeps/i386/fpu/fraiseexcpt.c (feraiseexcept): Correct comments. +Thu Nov 28 23:03:32 1996 Ulrich Drepper - * sysdeps/sparc64/elf/start.S (_start): Update and reformat - copyright. - * manual/summary.awk: Likewise. - * misc/bits/stab.def: Likewise. - * posix/glob/Makefile.ami: Likewise. - * posix/glob/Makefile.in: Likewise. - * posix/glob/SMakefile: Likewise. - * sysdeps/gnu/errlist.awk: Likewise. - * sysdeps/mach/hurd/errnos.awk: Likewise. - * sysdeps/standalone/i386/force_cpu386/target.ld: Likewise. - * sysdeps/standalone/m68k/m68020/mvme136/mvme136.ld: Likewise. - * sysdeps/unix/snarf-ioctls: Likewise. - * sysdeps/vax/setjmp.c: Likewise. + * sysdeps/unix/sysv/linux/netinet/in_systm.h: New file. + * sysdeps/unix/sysv/linux/Dist: Add netinet/in_systm.h. + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers): + Add netinet/in_systm.h. + Reported by NIIBE Yutaka . -1997-07-05 11:56 Ulrich Drepper +Thu Nov 28 03:11:11 1996 Ulrich Drepper - * login/login.c (tty_name): Use newly allocated buffer. - Patch by Jaakko Hyvätti . + * libio/fileops.c: Update from latest libg++. - * time/asctime.c: Never translate week and month name according - to LC_TIME. Patch by Paul Eggert . + * sysdeps/unix/sysv/linux/init-first.c: Reformat copyright. -1997-07-03 22:50 Andreas Schwab - - * locale/setlocale.c (setname): Do nothing when reusing the same - name. - -1997-07-03 20:18 Andreas Schwab - - * libc.map: Add global variables of malloc. - -1997-07-03 13:24 Andreas Schwab - - * elf/dl-version.c (find_needed): Look for needed objects also in - the dependency list of the current object. Added new parameter to - find its link map, caller changed. - -1997-07-03 12:33 Andreas Schwab - - * sysdeps/m68k/fpu/fraiseexcpt.c: Correct the FE_INEXACT and - FE_UNDERFLOW cases. - -1997-07-01 13:36 Andreas Schwab - - * elf/link.h: Remove final comma from enumerator list, forbidden - by ISO C. Use __inline instead of inline. - -1997-07-01 16:40 Thomas Bushnell, n/BSG - - * hurd/hurdsig.c: Include . - (reauth_proc): Call proc_setowner appropriately too. - -1997-07-01 09:18 H.J. Lu - - * libc.map: Add missing symbol. - -1997-06-30 12:12 Fila Kolodny - - * sysdeps/mach/hurd/fchdir.c: Make fchdir a weak alias of __fchdir. - * sysdeps/mach/hurd/getpeername.c (getpeername): Remove spurious - declaration of addr. - -1997-06-29 17:56 Andreas Schwab - - * manual/argp.texi (Argp Option Vectors): Fix use of @math to make - it work in TeX. - -1997-06-27 21:25 Andreas Schwab - - * Makeconfig (+includes): Add include directory to include path. - * configure.in (sysnames): Don't add it here. - * Makefile (subdir-dirs): Define and add it to vpath for headers. - * Make-dist (all-headers): Look in include directory for - indirection headers. Filter out header names pointing outside the - source directory. - - * Makefile (distribute): Remove ansidecl.h, add libc.map. - * Make-dist (+tsrcs): Add version scripts for extra libraries. - * Makerules (distinfo-vars): Add %-map for extra libraries. - - * sysdeps/unix/sysv/linux/alpha/Dist: Rename sys/kernel_termios.h - to kernel_termios.h. - * sysdeps/unix/sysv/linux/powerpc/Dist: Remove ioctl-types.h, - termbits.h and sys/kernel_termios.h. - * sysdeps/mips/mips64/Dist: New file. - * sysdeps/unix/sysv/linux/Dist: Add stdio_lim.h.in. - -1997-06-29 23:03 Andreas Jaeger - - * math/test-fenv.c (feenv_nomask_test): New test for non masked - exceptions. - (feenv_mask_test): New test for masked exceptions - (feenv_tests): New function calls feenv_nomask_test and - feenv_mask_test. - (main): Call new tests. - (initial_tests): New test for initilisation. - -1997-06-29 23:43 Ulrich Drepper - - * config.make.in: Define need-nopic-initfini. - * configure.in: Write out nopic_initfini. - * csu/Makefile: Generate no-PIC crt code if need-nopic-initfini - is defined. - - * sysdeps/i386/fpu/fraiseexcpt.c: Correct FE_INEXACT case. - - * sysdeps/sparc/rem.S: Get trap definition properly. - * sysdeps/sparc/sdiv.S: Likewise. - * sysdeps/sparc/udiv.S: Likewise. - * sysdeps/sparc/urem.S: Likewise. - * sysdeps/sparc/setjmp.S: Include . - * sysdeps/sparc/sys/trap.h: New file. - * sysdeps/unix/sysv/linux/sparc/sys/trap.h: New file. - -1997-06-25 10:26 Thorsten Kukuk - - * sysdeps/generic/rpc/auth.h: Add xdr_opaque_auth declaration. - -1997-06-29 10:34 Fila Kolodny - - * sysdeps/mach/hurd/select.c (__select): Change MACH_MSG_SIZE_INTEGER_T - to MACH_MSG_TYPE_INTEGER_T. - -1997-06-29 01:04 Richard Henderson - - Initial sparc64-linux support: - * configure.in: Recognize sparc64 as being different from sparc. - * io/ftwtest-sh: Only invoke ld.so if it exists. - * math/Makefile (LDLIBS-*): Change from libm to math/libm to get - static tests to link. Honour $(omit-long-double-fcts) == yes. - * math/libm-test.c (test_single_exception): The argument to - fetestexcept is `int' not `fexcept_t'. - * shlib-versions: Recognize sparc64. - * signal/signal.h: Add typedef for stack_t. - - * stdio-common/_itoa.c: Defaulting UMUL_TIME==UDIV_TIME is broken. - Attempt to fix up most of this by cleaning up assumptions below, - but give up and change the defaults. - - * setjmp/longjmp.c: Moved to ... - * sysdeps/generic/longjmp.c: ... here. - * setjmp/sigjmp.c: Moved to ... - * sysdeps/generic/sigjmp.c: ... here. - - * sysdeps/sparc/bsd-_setjmp.S [PIC]: There wasn't even valid asm here. - Ought to fix up gas to catch these silly things properly. - * sysdeps/sparc/bsd-setjmp.S: Likewise. - - * sysdeps/unix/sysv/linux/sparc/errno.c: Remove. - * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Remove. - * sysdeps/unix/sysv/linux/sparc/kernel_stat.h: Tell xstat about - the unused fields. - - * sysdeps/sparc/sparc64/add_n.s: Moved to ... - * sysdeps/sparc64/add_n.S: ... here. Fix up %g4 and stack usage. - * sysdeps/sparc/sparc64/addmul_1.s: Likewise. - * sysdeps/sparc/sparc64/gmp-mparam.h: Likewise. - * sysdeps/sparc/sparc64/lshift.s: Likewise. - * sysdeps/sparc/sparc64/mul_1.s: Likewise. - * sysdeps/sparc/sparc64/rshift.s: Likewise. - * sysdeps/sparc/sparc64/sub_n.s: Likewise. - * sysdeps/sparc/sparc64/submul_1.s: Likewise. - - * sysdeps/sparc64/Implies: New file. - * sysdeps/sparc64/Makefile: Likewise. - * sysdeps/sparc64/bits/endian.h: Likewise. - * sysdeps/sparc64/bsd-_setjmp.S: Likewise. - * sysdeps/sparc64/bsd-setjmp.S: Likewise. - * sysdeps/sparc64/dl-machine.h: Likewise. - * sysdeps/sparc64/elf/Makefile: Likewise. - * sysdeps/sparc64/elf/crtbegin.S: Likewise. - * sysdeps/sparc64/elf/crtbeginS.S: Likewise. - * sysdeps/sparc64/elf/crtend.S: Likewise. - * sysdeps/sparc64/elf/crtendS.S: Likewise. - * sysdeps/sparc64/elf/start.S: Likewise. - * sysdeps/sparc64/fpu_control.h: Likewise. - * sysdeps/unix/sysv/linux/sparc64/Makefile: Likewise. - * sysdeps/unix/sysv/linux/sparc64/__longjmp.S: Likewise. - * sysdeps/unix/sysv/linux/sparc64/bits/setjmp.h: Likewise. - * sysdeps/unix/sysv/linux/sparc64/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/sparc64/brk.S: Likewise. - * sysdeps/unix/sysv/linux/sparc64/clone.S: Likewise. - * sysdeps/unix/sysv/linux/sparc64/fork.S: Likewise. - * sysdeps/unix/sysv/linux/sparc64/getcontext.S: Likewise. - * sysdeps/unix/sysv/linux/sparc64/init-first.h: Likewise. - * sysdeps/unix/sysv/linux/sparc64/kernel_stat.h: Likewise. - * sysdeps/unix/sysv/linux/sparc64/longjmp.S: Likewise. - * sysdeps/unix/sysv/linux/sparc64/pipe.S: Likewise. - * sysdeps/unix/sysv/linux/sparc64/profil-counter.h: Likewise. - * sysdeps/unix/sysv/linux/sparc64/setcontext.S: Likewise. - * sysdeps/unix/sysv/linux/sparc64/setjmp.S: Likewise. - * sysdeps/unix/sysv/linux/sparc64/sigjmp.S: Likewise. - * sysdeps/unix/sysv/linux/sparc64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/sparc64/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/sparc64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/sparc64/ucontext.h: Likewise. - -1997-06-28 16:28 H.J. Lu - - * configure.in: Add -nostartfiles -nostdlib when check for - --version-script. - -1997-06-28 12:03 H.J. Lu - - * sysdeps/powerpc/bits/endian.h: New file. - -1997-06-28 20:52 Ulrich Drepper - - * sysdeps/unix/sysv/linux/syscalls.list: Add getresgid and - setresgid. - -1997-06-27 20:09 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sys/quota.h: Add . + * sysdeps/stub/libc-lock.h: Add __libc_lock_init_recursive. + * libio/genops.c (_IO_init): Use __libc_lock_init_recursive + instead of __libc_lock_init for streams. Reported by a sun . - * libc.map: Add _rpc_dtablesize. Reported by Thorsten Kukuk. + * sysdeps/unix/sysv/linux/i386/brk.c: Reformat copyright. - * db/makedb.c: Exit with error if number of option is incorrect. + * sysdeps/generic/errno-loc.c: New file. Generic definition of + __errno_location function. + * sysdeps/unix/sysv/linux/i386/sysdep.S: Remove definition of + __errno_location. + * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=csu]: Add errno-loc + to sysdep-routines. - * math/Makefile (tests): Add test-fenv. - * math/test-fenv.c: New file. Test for exception handling functions. - Written mainly by Andreas Jaeger. + * sysdeps/unix/sysv/linux/configure: Add test for linuxthreads + and crypt add-on and warn if not available. - * sysdeps/i386/fpu/fraiseexcpt.c: Correct implementation. +Wed Nov 27 23:09:37 1996 Ulrich Drepper - * sysdeps/mach/hurd/abi-tag.h: Set tag to 1 for Hurd and kernel - compatibility version to 0. Reported by Roland McGrath. + * po/ko.po: Update from Bang Jun-Young . -1997-06-27 18:49 Philip Blundell + * sysdeps/unix/sysv/linux/syscalls.list: Remove _llseek. + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (routines): Add + llseek. + * sysdeps/unix/sysv/linux/llseek.c: New file. Uses syscall. + * sysdeps/unix/sysv/linux/i386/syscalls.list: Add __sys_llseek. + * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add __sys_llseek. + Reported by HJ Lu . + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add llseek. + * sysdeps/unix/sysv/linux/alpha/llseek.S: Remove. Generic syscall + is enough. + Patch by Richard Henderson . - * sysdeps/standalone/brk.c (__NONE_set_memvals): Correct typo. - * sysdeps/standalone/arm/bits/errno.h: Add ENOTDIR. - * sysdeps/stub/sys/param.h: Add definition of MAX and MIN. + * sysdeps/unix/sysv/linux/alpha/sys/io.h: Add prototypes for + pciconfig_read and pciconfig_write. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add new syscalls + pciconfig_read and pciconfig_write. -1997-06-27 10:44 Fila Kolodny + * login/getutent_r.c: Fix several bugs in last change. - * sysdeps/mach/hurd/dl-sysdep.c: Make _dl_sysdep_read_whole_file weak. +Wed Nov 27 06:10:10 1996 Ulrich Drepper -1997-06-27 00:51 Andreas Schwab + * Makefile: Fix typo. - * elf/dl-open.c (_dl_open): Check versions of all newly loaded - objects, including dependencies. + * configure: Require autoconf-2.11. - * elf/dl-runtime.c (fixup): Always use version information if - available. + * elf/dl-deps.c: Terminate duplicate list. -1997-06-26 12:25 Andreas Schwab + * libio/libio.h: Add prototypes for _IO_seekoff and _IO_seekpos. + * libio/strfile.h: Update from current libg++. + * libio/strops.c: Likewise. - * sysdeps/m68k/bits/nan.h: Renamed from sysdeps/m68k/nan.h. + * login/Makefile (routines): Update after correction of reentrant + interface. + * login/endutent.c: Removed. + * login/endutent_r.c: Likewise. + * login/pututline.c: Likewise. + * login/pututline_r.c: Likewise. + * login/setutent.c: Likewise. + * login/setutent_r.c: Likewise. + * login/getutent.c: Update for new interface. + * login/getutent_r.c: Likewise. + * login/getutid.c: Likewise. + * login/getutid_r.c: Likewise. + * login/getutline.c: Likewise. + * login/getutline_r.c: Likewise. + * login/login.c: Likewise. + * login/logout.c: Likewise. + * login/logwtmp.c: Likewise. + * login/utmp.h: Likewise. + * sysdeps/unix/getlogin.c: Likewise. + * sysdeps/unix/getlogin_r.c: Likewise. + * login/utmp-private.h: New private header. + * login/utmp_db.c: Stub DB backend for utmp handler. + * login/utmp_file.c: File backend for utmp handler. + * sysdeps/gnu/utmpbits.h (struct utmp): Add some more fields. + (enum utlogin): List of record types. + (struct exit_status): Record to align with other implementations. -1997-06-26 11:40 Andreas Schwab + * sysdeps/generic/paths.h: Add _PATH_UTMP_DB. + * sysdeps/unix/sysv/linux/paths.h: Likewise. - * posix/regex.c (DEBUG_POP): Assume parameter to be pointer to - int, not pointer to fail_stack_elt_t. - (PUSH_FAILURE_POINT): Fix all formats in debugging messages. Fix - type of this_reg. - (POP_FAILURE_POINT): Likewise. Fix type of failure_id. - (re_match_2_internal): Pass NULL, not 0, to PUSH_FAILURE_POINT. + * sysdeps/generic/pty.c: Use getgrnam_r instead of getgrnam. -1997-06-27 02:17 Ulrich Drepper + * sysdeps/stub/getlogin.c: Update copyright. + * sysdeps/stub/getlogin_r.c: Likewise. - * sysdeps/unix/sysv/linux/syscalls.list: Add quotactl. - Reported by a sun. + * nss/getXXbyYY_r.c: Use -1l for error-pointer value instead of -1. + * nss/getXXent_r.c: Likewise. + * nss/nsswitch.c: Likewise. -1997-06-26 21:50 Ulrich Drepper + * posix/Makefile (headers): Add wait.h. + * posix/wait.h: New file. - * math/math.h: Move definition of macros for unordered comparison - after inclusion of . - * sysdeps/i386/fpu/bits/mathinline.h: Don't undef macros for - unordered comparison before definition. - * sysdeps/m68k/fpu/bits/mathinline.h: Likewise. + * posix/sys/types.h: Always define intN_t types. - * Makerules: Move definition of load-map-file before use. - (lib%.so): Depend on load-map-file, not lib%-map. + * stdio-common/Makefile: Update copyright. + Use -Wno-format flag for scanf4.c and scanf7.c. - * manual/lgpl.texinfo: Update copyright. + * stdlib/stdlib.h: Reformat. -1997-06-24 09:40 Andreas Schwab +Fri Nov 22 19:34:12 1996 Andreas Schwab - * sysdeps/m68k/fpu/bits/mathinline.h: Don't define __ilogb. - * sysdeps/m68k/fpu/s_ilogb.c: Define it here. Handle zero, NaN - and infinity specially. - * sysdeps/m68k/fpu/s_ilogbf.c, sysdeps/m68k/fpu/s_ilogbl.c: - Adapted. + * sysdeps/posix/getcwd.c (__getcwd): After resizing the buffer + move the current contents to the end and relocate file name + pointer to upper half of the buffer. - * sysdeps/m68k/fpu/bits/mathdef.h (FP_ILOGB0): Correct value. +Sun Nov 24 04:56:19 1996 Ulrich Drepper -1997-06-26 17:06 Ulrich Drepper + * time/africa: Update from ADO tzdata1996m. + * time/antarctica: Likewise. + * time/asia: Likewise. + * time/australia: Likewise. + * time/etcetera: Likewise. + * time/europe: Likewise. + * time/nothamerica: Likewise. + * time/southameria: Likewise. + * time/zone.tab: Likewise. - * configure.in: Don't use .long in tests since some strange - platforms without binutils don't know this. - Redirect output of test commands correctly. - Patch by Klaus Espenlaub . + * sysdeps/unix/sysv/linux/sys/serial.h: New file. + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers): + Add sys/serial.h. + * sysdeps/unix/sysv/linux/Dist: Add sys/serial.h. - * hurd/hurdsig.c (_hurdsig_init): Call _hurd_self_sigstate. - Patch by Kazumoto Kojima . + * posix/wait.h: New file. + * posix/Makefile (headers): Add wait.h. -1997-06-26 09:02 Fila Kolodny +Sat Nov 23 17:27:52 1996 Roland McGrath - * sysdeps/mach/hurd/abi-tag.h: New file. + * Makeconfig ($(common-objpfx)soversions.mk): Use regular + expression instead of shell pattern matching. + * shlib-versions: Change to regular expressions. - * sysdeps/mach/bits/libc-lock.h: Add typedef for __libc_key_t. - * sysdeps/stub/bits/libc-lock.h: Likewise. +Sat Nov 23 13:24:55 1996 Ulrich Drepper - * sysdeps/mach/hurd/accept.c (accept): Fix type of parameter addrarg. - Add variable addr containing the desired part of the union. - * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise. - * sysdeps/mach/hurd/getsockname.c (getsockname): Likewise. - * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise. - * sysdeps/mach/hurd/connect.c (__connect): Likewise. - * sysdeps/mach/hurd/bind.c (bind): Likewise. + * io/stat.c: Add section from libgcc to copyright comment + to allow this file to be statically linked in applications. + * io/fstat.c: Likewise. + * io/lstat.c: Likewise. + * io/mknod.c: Likewise. - * sysdeps/mach/hurd/select.c (__select): Change MACH_MSG_SIZE_INTEGER_T - to sizeof(MACH_MSG_TYPE_INTEGER_T). +Fri Nov 22 15:14:23 1996 Ulrich Drepper - * io/ftw.c (ftw_startup): Use PATH_MAX only if defined. + * csu/initfini.c: Add section from libgcc to copyright comment + to allow this file to be statically linked in applications. - * sysdeps/mach/hurd/open.c (__open): Fix type of parameter file. + * malloc/obstack.h [!_LIBC && !HAVE_STRING_H]: Define memcpy if + not already defined. + (obstack_grow, obstack_grow0): Correct placement of braces. - * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Add closefn to - paramater list since it is used. + * gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION): Define to 2. + * malloc/obstack.c (OBSTACK_INTERFACE_VERSION): Define to 2. - * sysdeps/mach/hurd/rename.c (rename): Fix type of paramater new. +Thu Nov 21 19:54:51 1996 Andreas Schwab - * sysdeps/mach/hurd/sigaltstack.c (sigaltstack): Change parameter from - ss to argss. + * Makerules (make-link): Simplify by changing directory only if + not using rellns-sh; check whether we really have symbolic links. -1997-06-24 14:02 Andreas Jaeger + * rellns-sh: Fix the case of $(dirname $2) being a prefix of + $(dirname $1); use status of ln for exit code; make more robust + against multiple slashes in a row. - * Rules: Update copyright. - * mach/Machrules: Likewise. +Thu Nov 21 13:05:21 1996 Thomas Bushnell, n/BSG -1997-06-26 14:28 Ulrich Drepper + * configure.in (after AC_CANONICAL_HOST): mutate *-*-gnu* names + into *-*-gnu-gnu*. + * shlib-versions (gnu versions): Recognize *-*-gnu-gnu* instead of + the three-part name, to distinguish correctly from *-*-linux-gnu*. - * configure.in: Fix accidently removed AC_OUTPUT line. - Reported by Andreas Jaeger. + * sysdeps/mach/hurd/Makefile ($(libdir)/libc.so): Depend on + $(rpcuserlibs). - * time/strftime.c: Don't define `memcpy' macro if HAVE_MEMCPY is - defined. Reported by Akim Demaille . + * sysdeps/mach/hurd/Makefile (install-others): Add + $(libdir)/libc_p.a. + ($(libdir)/libc_p.a): New rule. + * sysdeps/mach/hurd/libc_p-ldscript: New file. + * sysdeps/mach/hurd/Dist: Add libc_p-ldscript. - * sysdeps/generic/getdomain.c: Include handling for stub case. - This eliminated the only case of a function in generic and stub. - * sysdeps/stub/getdomain.c: Removed. - Patch by Zack Weinberg . +Wed Nov 20 20:28:21 1996 Richard Henderson -1997-06-23 22:20 Andreas Jaeger + * Makerules (make-link): Use $(shell) to find rellns-sh before we cd. + * time/Makefile: Likewise. - * sysdeps/alpha/_mcount.S: Update and reformat copyright, - remove trailing white spaces and send through unexpand. - * sysdeps/alpha/bb_init_func.S: Likewise. + * sysdeps/alpha/elf/Makefile: New file. Build crtbegin.o & crtend.o. + * sysdeps/alpha/elf/Dist: New file. + * sysdeps/alpha/elf/crtbegin.S, sysdeps/alpha/elf/crtend.S: New files. + The bits currently distributed with GCC fail in two ways -- they don't + understand multiple .got subsections and the extents of the lists are + dynamicly bound meaning that the application's lists get executed + multiple times and the library's lists never get executed. + +Wed Nov 20 00:42:45 1996 Andreas Schwab + + * stdlib/strtod.c: Fix previous change. + +Wed Nov 20 22:07:58 1996 Andreas Jaeger + + * time/Makefile ($(installed-localtime-file)): Use $(..) to find + rellns-sh script. + +Wed Nov 20 12:50:54 1996 Ulrich Drepper + + * stdio-common/Makefile: Add CFLAGS-scanf7.c to prevent warning. + Likewise for scanf4.c + +Wed Nov 20 02:04:11 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sigsuspend.c: Make sigsuspend a weak + alias of __sigsuspend. + + * grp/grp.h: Correct comment about POSIX compliance. + * pwd/pwd.h: Likewise. + + * login/utmp.h: Update copyright and pretty-print prototypes. + * sysdeps/generic/paths.h: Add _PATH_LASTLOG, _PATH_UTMP and + _PATH_WTMP from utmpbits.h. + * sysdeps/unix/sysv/linux/paths.h: Likewise. + * sysdeps/generic/utmpbits.h: Remove here. + * sysdeps/gnu/utmpbits.h: Likewise. + + * misc/sys/uio.h: Place __BEGIN_DECLS correctly. + Pretty-print prototypes. + + * sysdeps/unix/sysv/linux/sparc/clone.S: New file. Taken from + LinuxThreads-0.5. + +Tue Nov 19 13:43:07 1996 Richard Henderson + + * inet/ether_hton.c: Include . + * inet/ether_ntoh.c: Likewise. + * inet/rexec.c: Get errno, index, getpass, getlogin from headers. + * misc/search.h: Fix hcreate_r argument type (unsigned -> size_t). + + * misc/sys/cdefs.h: Change __long_double_t definition from typedef + to define. Jim Nance reports problems building XEmacs otherwise. + + * resolv/gethnamaddr.c: Protect h_errno redefinition. + * resolv/getnetnamadr.c: Likewise. + * resolv/herror.c: Likewise. + + * sysdeps/generic/sigset.h (__SIGSETFN): Operator ## doesn't work + with -traditional. Reported by Eric Youngdale. While we're at this, + don't do error checking in the __ functions. This is consistent + with the sysv4 definitions and seems Right. + * signal/signal.h: Don't __OPTIMIZE__ sigops to __ versions. Add + prototype for __sigsuspend. + * sysdeps/posix/sigblock.c: Optimize sigmask <-> sigset_t conversions + for sigset_t == unsigned long. De-ansidecl-ify. Reformat copyright. + * sysdeps/posix/sigpause.c: Likewise. + * sysdeps/posix/sigsetmask.c: Likewise. + * sysdeps/posix/sigvec.c: Likewise. + * sysdeps/posix/sigintr.c: Reformat copyright. + * sysdeps/posix/signal.c: Check signal number out of range since + __sigismember doesn't anymore. Reformat copyright. + * sysdeps/posix/sigwait.c: Use __ versions of sigfillset, sigismember, + sigdelset, sigaction, and sigsuspend. + + * stdlib/drand48-iter.c (__drand48_iterate): Cast state fragments + to the wider type before shifting. + + * sysdeps/alpha/bsd-_setjmp.S: Silence assembler warning "$at used + without .set noat" in profiling hook. + * sysdeps/alpha/bsd-setjmp.S: Likewise. + * sysdeps/alpha/htonl.S: Likewise. + * sysdeps/alpha/htons.S: Likewise. + * sysdeps/alpha/s_copysign.S: Likewise. + * sysdeps/alpha/setjmp.S: Likewise. + * sysdeps/alpha/stpcpy.S: Likewise. + * sysdeps/alpha/strcat.S: Likewise. + * sysdeps/alpha/strcpy.S: Likewise. + * sysdeps/alpha/strncat.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/brk.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/llseek.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise. Rename + function to __sigsuspend and add weak alias. + * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise. Add missing END. + + * sysdeps/alpha/w_sqrt.S: Define _ERRNO_H so defines EDOM. + + * sysdeps/unix/execve.S: Match PSEUDO_END symbol with the symbol + SYSCALL__ actually generated. + + * sysdeps/unix/sysv/linux/errnos.h [_LIBC_REENTRANT]: Reflexively + #define __set_errno, as several imported subsystems (eg. BIND) check + that the symbol is defined. + + * sysdeps/unix/sysv/linux/getsysstats.c: Include . + + * sysdeps/alpha/memcpy.S: Temporarily remove until I can find a bug + that manifests in GCC. + +Tue Nov 19 11:10:05 1996 Thomas Bushnell, n/BSG + + * sysdeps/posix/writev.c (writev): COUNT parm is now int. + * sysdeps/posix/readv.c (readv): Likewise. + +Tue Nov 19 15:28:29 1996 Ulrich Drepper + + * nss/nss_dns/dns-network.c: Change return type of all functions + to enum nss_status. + Reported by NIIBE Yutaka. + * nss/nss_dns/dns-host.c: Update copyright. + +Fri Nov 15 20:16:38 1996 Andreas Schwab + + * config.make.in: Remove definition of top_absdir. + * configure.in: Likewise. Use $(..) instead. + * Makerules (make-link): Use $(..) to find rellns-sh script. + +Sat Nov 16 15:52:29 1996 Andreas Schwab + + * manual/nss.texi (Name Service Switch): Fix reference to + `frobnicate'. + +Fri Nov 15 22:08:33 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add + sys/mtio.h. + +Mon Nov 18 05:51:13 1996 Ulrich Drepper + + * sysdeps/generic/waitstatus.h (__WIFSIGNALED): Rename local + variable from __stat to __status to prevent shadowing. + * sunrpc/rpc/clnt.h (clntudp_create, clntudp_bufcreate): Likewise + for parameter __wait. + Reported by NIIBE Yutaka. + +Mon Nov 18 02:05:38 1996 Ulrich Drepper + + * misc/regexp.c: New file. Implementation of obsolete interface + to regular expression matcher (required in XPG4.2). + * misc/regexp.h: New file. Header for above. + * misc/Makefile (headers): Add regexp.h. + (routines): Add regexp.c. + Update copyright. + +Sun Nov 17 21:50:24 1996 Andreas Jaeger + + * stdlib/tst-strtod.c (main): Add arguments for main. + * stdlib/tst-strtol.c (main): Likewise. + +Sun Nov 17 21:15:05 1996 Ulrich Drepper + + * configure.in: Substitute libc_cv_slibdir and libc_cv_sysconfdir + in output files. + * sysdepes/unix/sysv/linux/configure: Define libc_cv_slibdir to /lib + and sysconfdir to /etc if $prefix is /usr. + * config.make.in: Add slibdir, sysconfdir and BASH to be replaced. + + * elf/Makefile ($(objpfx)ldd): Install ldd.bash.in if + $(have-bash2) is yes. + * elf/ldd.bash.in: Add copyright and various cleanups. + * elf/ldd.sh.in: Likewise. + + Implement RTLD_NEXT. + * elf/dlfcn.h: Define RTLD_NEXT. + * elf/dl-deps.c: Build second searchlist which contains duplicates. + * elf/dl-lookup.c (_dl_lookup_symbol_skip): New function. Used + for RTLD_NEXT lookup. + Rewrite _dl_lookup_symbol to put common parts for both lookup + functions in a separate function. + * elf/dlsym.c: Handle RTLD_NEXT by calling _dl_lookup_symbol_skip. + * elf/link.h (struct link_map): Add l_dupsearchlist and + l_ndupsearchlist. + Add prototype for _dl_lookup_symbol_skip. + + * sunrpc/Makefile (rpcsvc): Add rusers. + * sunrpc/rpcsvc/rnusers.x: Remove. Obsolteted by rusers.x. + * sunrpc/rpcsvc/rusers.x: New file. + +Sun Nov 17 04:24:35 1996 Ulrich Drepper + + * stdio-common/vfprintf.c [USE_IN_LIBIO] (buffered_vfprintf): Call + __libc_lock_init for local lock. + Reported by a sun . + [!USE_IN_LIBIO] (PAD): Optimize a bit. + +Sun Nov 17 03:13:57 1996 Ulrich Drepper + + * db/makedb.c: Update and reformat copyright. + * elf/Makefile: Likewise. + * elf/dl-close.c: Likewise. + * elf/dl-debug.c: Likewise. + * elf/dl-deps.c: Likewise. + * elf/dl-error.c: Likewise. + * elf/dl-fini.c: Likewise. + * elf/dl-init.c: Likewise. + * elf/dl-load.c: Likewise. + * elf/dl-lookup.c: Likewise. + * elf/dl-minimal.c: Likewise. + * elf/dl-object.c: Likewise. + * elf/dl-open.c: Likewise. + * elf/dl-reloc.c: Likewise. + * elf/dl-runtime.c: Likewise. + * elf/dl-support.c: Likewise. + * elf/dl-symbol.c: Likewise. + * elf/dladdr.c: Likewise. + * elf/dlclose.c: Likewise. + * elf/dlerror.c: Likewise. + * elf/dlopen.c: Likewise. + * elf/dlsym.c: Likewise. + * elf/do-rel.h: Likewise. + * elf/dynamic-link.h: Likewise. + * elf/eval.c: Likewise. + * elf/rtld.c: Likewise. + * inet/ether_hton.c: Likewise. + * inet/ether_ntoh.c: Likewise. + * inet/ether_line.c: Likewise. + * inet/getnetgrent_r.c: Likewise. + + * inet/Makefile (+gccwarn): Remove definition. + Instead set CFLAGS-rcmd.c, CFLAGS-rexec.c, and CFLAGS-ruserpass.c + to `-w'. + * inet/aliases.h: Add C++ protection. + * inet/ether_hton.c: Add prototype for __nss_ethers_lookup. + (ether_hostton): Remove unused variable result. + * inet/ether_ntoh.c: Likewise. + * inet/ether_line.c: Include and . + * inet/getnetgrent_r.c: Include . + Use casts to prevent warnings. + (innetgr): Initialize `known' and `needed'. + * inet/inet_net.c: Make local variable `i' of type u_int32_t. + * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)) [NEED__RES]: Don't + return NULL. Instead set *RESULT to NULL and return -1. + * nss/getXXent_r.c (INTERNAL (REENTRANT_GETNAME)): Likewise. + (SETFUNC_NAME, ENDFUNC_NAME) [NEED__RES]: Don't return anything. + + * nss/nss_files/files-alias.c: Debug function. I didn't worked at + all before. + +Sat Nov 16 15:25:34 1996 Ulrich Drepper + + * sysdeps/posix/readv.c: Don't use PTR anymore. + * sysdeps/posix/writev.c: Likewise. + + * version.h (VERSION): Bump to 1.98. + + * nss/db-Makefile: Generate lines for getXXXent iteration. + + * sysdeps/alpha/Dist: Don't distribute removed files divlu.S, + divqu.S, remlu.S, and remqu.S. + +Fri Nov 15 08:55:54 1996 Andreas Jaeger + + * posix/unistd.h: Correct typo in documentation. + +Thu Nov 14 18:08:14 1996 a sun + + * inet/netinet/tcp.h: Use __ protected versions instead of + BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN directly. + +Sat Nov 16 13:44:55 1996 Ulrich Drepper + + * intl/loadmsgcat.c (_nl_msg_cat_cntr): Initialize so that + references in libc.so are not anymore undefined. + +Sat Nov 16 18:17:36 1996 NIIBE Yutaka + + * io/utime.h: Rename second parameter for utime to prevent warning + for -Wshadow. + * dirent/dirent.h: Same here for scandir prototype. + * math/mathcalls.h: Likewise for frexp and ldexp. + * sysdeps/unix/sysv/linux/netinet/in.h: Likewise for bindresvport. + +Sat Nov 16 03:49:27 1996 Ulrich Drepper + + * stdlib/tst-strtod.c: Add test for error case below. + +Sat Nov 16 03:48:39 1996 Wolfram Gloger + + * stdlib/strtod.c: Recognize numbers like 0e-19. + +Fri Nov 15 08:38:43 1996 Andreas Jaeger + + * time/Makefile ($(installed-localtime-file)): Fix path to + rellns-sh. + + * Makefile: Don't generate and install gnu/lib-names.h if + $(build-shared) is not `yes'. + +Thu Nov 14 09:23:58 1996 H.J. Lu (hjl@gnu.ai.mit.edu) + + * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Depend + on $(..)posix/posix1_lim.h, not ../posix/posix1_lim.h. + + * Makerules (REAL_MAKE_VERSION): New, use it instead of + MAKE_VERSION. + +Thu Nov 14 22:10:43 1996 Ulrich Drepper + + * nss/nss_files/files-XXX.x (_nss_files_get,ENTNAME_r): Fix typo. + * nss/getXXent_r.c: Fix typo. Set correct return value when + no further service is available. + +Thu Nov 14 17:48:13 1996 Ulrich Drepper + + * db/recno/rec_put.c: Add cast to avoid warning. + * db/recno/rec_close.c: Likewise. + * db/mpool/mpool.c: Likewise. + * db/hash/hash_bigkey.h: Likewise. + * db/hash/hash.c: Likewise. + * db/btree/bt_split.c: Likewise. + * db/btree/bt_put.c: Likewise. + +Thu Nov 14 14:11:44 1996 Ulrich Drepper + + * dirent/dirent.h: Update copyright. + * elf/elf.h: Likewise. + * elf/link.h: Likewise. + * gmon/sys/gmon_out.h: Likewise. + * gnu-versions.h: Likewise. + * intl/libintl.h: Likewise. + * io/fcntl.h: Likewise. + * io/ftw.h: Likewise. + * io/sys/statfs.h: Likewise. + * io/utime.h: Likewise. + * locale/langinfo.h: Likewise. + * malloc/malloc.h: Likewise. + * malloc/obstack.h: Likewise. + * misc/ar.h: Likewise. + * misc/error.h: Likewise. + * misc/mntent.h: Likewise. + * misc/sgtty.h: Likewise. + * misc/sys/cdefs.h: Likewise. + * misc/sys/dir.h: Likewise. + * misc/sys/file.h: Likewise. + * misc/sys/ioctl.h: Likewise. + * misc/sys/ustat.h: Likewise. + * posix/fnmatch.h: Likewise. + * posix/getopt.h: Likewise. + * posix/glob.h: Likewise. + * posix/posix2_lim.h: Likewise. + * posix/regex.h: Likewise. + * posix/sys/times.h: Likewise. + * posix/sys/types.h: Likewise. + * posix/sys/utsname.h: Likewise. + * posix/tar.h: Likewise. + * posix/wordexp.h: Likewise. + * resource/sys/resource.h: Likewise. + * resource/sys/vlimit.h: Likewise. + * resource/sys/vtimes.h: Likewise. + * socket/sys/socket.h: Likewise. + * socket/sys/un.h: Likewise. + * stdio-common/printf.h: Likewise. + * stdlib/alloca.h: Likewise. + * string/argz.h: Likewise. + * string/endian.h: Likewise. + * string/envz.h: Likewise. + * string/memory.h: Likewise. + * string/strings.h: Likewise. + * sysdeps/generic/crypt.h: Likewise. + * sysdeps/generic/direntry.h: Likewise. + * sysdeps/generic/gnu/types.h: Likewise. + * sysdeps/generic/ioctl-types.h: Likewise. + * sysdeps/generic/netinet/in.h: Likewise. + * sysdeps/generic/resourcebits.h: Likewise. + * sysdeps/generic/sigset.h: Likewise. + * sysdeps/generic/sockaddrcom.h: Likewise. + * sysdeps/generic/sys/mman.h: Likewise. + * sysdeps/generic/sys/ptrace.h: Likewise. + * sysdeps/generic/termbits.h: Likewise. + * sysdeps/generic/waitstatus.h: Likewise. + * sysdeps/ieee754/huge_val.h: Likewise. + * sysdeps/ieee754/nan.h: Likewise. + * sysdeps/mach/hurd/local_lim.h: Likewise. + * sysdeps/mach/hurd/statbuf.h: Likewise. + * sysdeps/stub/huge_val.h: Likewise. + * sysdeps/stub/libc-lock.h: Likewise. + * sysdeps/stub/signum.h: Likewise. + * sysdeps/stub/statbuf.h: Likewise. + * sysdeps/stub/waitflags.h: Likewise. + * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise. + * sysdeps/unix/bsd/osf/alpha/statbuf.h: Likewise. + * sysdeps/unix/bsd/osf/sys/mman.h: Likewise. + * sysdeps/unix/bsd/signum.h: Likewise. + * sysdeps/unix/bsd/statbuf.h: Likewise. + * sysdeps/unix/bsd/sun/signum.h: Likewise. + * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Likewise. + * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise. + * sysdeps/unix/bsd/sun/sunos4/termbits.h: Likewise. + * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise. + * sysdeps/unix/bsd/waitflags.h: Likewise. + * sysdeps/unix/sysv/irix4/signum.h: Likewise. + * sysdeps/unix/sysv/irix4/statbuf.h: Likewise. + * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/sys/io.h: Likewise. + * sysdeps/unix/sysv/linux/direntry.h: Likewise. + * sysdeps/unix/sysv/linux/gnu/types.h: Likewise. + * sysdeps/unix/sysv/linux/ioctl-types.h: Likewise. + * sysdeps/unix/sysv/linux/local_lim.h: Likewise. + * sysdeps/unix/sysv/linux/netinet/in.h: Likewise. + * sysdeps/unix/sysv/linux/resourcebits.h: Likewise. + * sysdeps/unix/sysv/linux/signum.h: Likewise. + * sysdeps/unix/sysv/linux/statbuf.h: Likewise. + * sysdeps/unix/sysv/linux/sys/io.h: Likewise. + * sysdeps/unix/sysv/linux/sys/klog.h: Likewise. + * sysdeps/unix/sysv/linux/sys/mman.h: Likewise. + * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise. + * sysdeps/unix/sysv/linux/syscall.h: Likewise. + * sysdeps/unix/sysv/linux/termbits.h: Likewise. + * sysdeps/unix/sysv/local_lim.h: Likewise. + * sysdeps/unix/sysv/sco3.2.4/syscall.h: Likewise. + * sysdeps/unix/sysv/sco3.2/local_lim.h: Likewise. + * sysdeps/unix/sysv/signum.h: Likewise. + * sysdeps/unix/sysv/sysv4/i386/statbuf.h: Likewise. + * sysdeps/unix/sysv/sysv4/signum.h: Likewise. + * sysdeps/unix/sysv/sysv4/sigset.h: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/signum.h: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h: Likewise. + * sysdeps/unix/sysv/sysv4/waitflags.h: Likewise. + * sysdeps/vax/huge_val.h: Likewise. + * values.h: Likewise. + +Thu Nov 14 04:22:41 1996 Ulrich Drepper + + * malloc/obstack.h: Use memcpy instead of bcopy and define a macro + `memcpy' using bcopy if memcpy is not available. + + * manual/stdio.texi: Correct description of printf customization. + The argument info function is not optional anymore and the + interface for `printf_function' also changed. + * manual/examples/rprintf.c: Define and use argument info function. + + * stdio-common/printf.h (struct printf_info): Change type for field + `pad' to wchar_t. + Correct comment for `register_printf_function'. + + * nss/getXXbyYY.c [NEED_H_ERRNO]: Don't pass pointer to h_errno + to reentrant function. Instead use temporary variable and set + h_errno if an error occured. + Reported by NIIBE Yutaka. + +Fri Nov 15 12:27:25 1996 Thomas Bushnell, n/BSG + + * sysdeps/mach/hurd/statbuf.h (S_IPTRANS, S_IATRANS, S_IROOT, + S_ITRANS): New macros. + (S_ISPARE): Update to include new macros and S_IUSEUNK. + + * sysdeps/mach/hurd/select.c (__select): Construct arg to + mach_msg_destroy more nicely. + + * sysdeps/mach/hurd/ioctl.c: Include . + + * stdio/fopen.c (__getmode): Declare with prototype. + * stdio/memstream.c (enlarge_buffer, seek, free_info): Likewise. + * stdio/internals.c (__stdio_check_funcs, init_stream, + seek_to_target, flushbuf, fillbuf): Likewise. + + * stdio-common/vfscanf.c (encode_error) [! USE_IN_LIBIO]: Call + funlockfile, not _IO_funlockfile. + + * sysdeps/posix/readv.c (readv): Change return type to ssize_t. + Deansideclized. + * sysdeps/posix/writev.c (writev): Likewise. + + * sysdeps/mach/hurd/lchown.c: Include and fix typo. + +Thu Nov 14 12:53:16 1996 Thomas Bushnell, n/BSG + + * sysdeps/mach/hurd/i386/init-first.c (_dl_start): Make this a + prototyped definition. + + * sysdeps/mach/hurd/select.c (__select): Deal properly when there + are no bits set in the masks. Reported by baldazzi@csr.unibo.it. + +Thu Nov 14 02:00:33 1996 Ulrich Drepper + + * inet/Makefile (headers): Add aliases.h. + (routines): Add getaliasent_r, getaliasent, getaliasname, and + getaliasname_r. + * aliases.h: New file. + * inet/aliases.h: New file. + * inet/getaliasent.c: New file. + * inet/getaliasent_r.c: New file. + * inet/getaliasname.c: New file. + * inet/getaliasname_r.c: New file. + * nss/Makefile (databases): Add alias. + * nss/alias-lookup.c: New file. + * nss/databases.def: Add aliases and publickey. + * nss/nss_db/db-alias.c: New file. + * nss/nss_files/files-alias.c: New file. + + * inet/getnetgrent_r.c (__internal_getnetgrent): Buffer length + argument to lookup function is of type size_t. + (innetgr): Likewise. + * nss/getXXbyYY_r.c: Likewise. + * nss/getXXent_r.c: Likewise. + * nss/nss_db/db-XXX.c: Likewise. + + * nss/getXXbyYY.c: Don't provide static buffer. Resize if call + failed because buffer was too small. + * nss/getXXent.c: Likewise. + + * nss/nss_files/files-XXX.c: Correct handling of shared file. The + getXXent_r function now uses f[gs]etpos to get to the correct + position. + + * nss/nss_files/files-parse.c: Indent lines for better readability. + + * malloc/obstack.c: Add new variable obstack_alloc_failed_handler + and new function print_and_abort. Remove all references to + alloc_failed field. + Add new function _obstack_memory_used. + * malloc/obstack.h (struct obstack): Remove field alloc_field. + Remove all references to alloc_failed field. + Add prototype for _obstack_memory_used. + + * posix/unistd.h: Correct typo. + +Wed Nov 13 03:09:16 1996 Ulrich Drepper + + * configure.in: Require at least autoconf-2.10.2. + +Tue Nov 12 16:58:41 1996 Thomas Bushnell, n/BSG + + * mach/mach.h (__mach_msg_destroy, mach_msg_destroy, __mach_msg): + Provide prototypes. + + * mach/msg-destroy.c (mach_msg_destroy_port, + mach_msg_destroy_memory): Use prototype syntax. + * hurd/hurdmalloc.c (more_memory, malloc_fork_prepare, + malloc_fork_parent, malloc_fork_child): Likewise. + + * stdio/stdio.h: Repair broken cpp syntax. + + * sysdeps/mach/hurd/lchown.c: New file. Guts from chown.c, except + we pass O_NOLINK on the open. + + * manual/errno.texi (EBADMSG, EIDRM, EMULTIHOP, ENODATA, ENOLINK, + ENOMSG, ENOSR, ENOSTR, EOVERFLOW, EPROTO, ETIME): Redesignate as + an XOPEN error code, move to before the "Linux only" section, and + give it a new number for the Hurd. + +Tue Nov 12 03:35:01 1996 Christian von Roques + + * malloc/obstack.h: Add new macro `obstack_make_room'. + * malloc/obstack.c: Add function implementation for + `obstack_make_room'. + +Mon Nov 11 13:54:04 1996 Ulrich Drepper + + Update to BIND-4.9.5-REL. + * resolv/Banner: Set to 4.9.5-REL. + * resolv/inet_net_pton.c: Was doing bad things to subnets and b'casts. + * resolv/res_debug.c (__fp_nquery): Could read past end of buffer. + (fix from BIND 8.1) + + * config.make.in: Add definition for top_absdir. + * Makerules (make-link): Fix path to rellns-sh script. + +Sat Nov 9 02:15:24 1996 Andreas Schwab + + * posix/unistd.h: Fix comment. + + * manual/arith.texi: Fix misspellings. Use `zero', not `null', + when talking about numbers. + * manual/users.texi: Likewise. + * manual/creature.texi: Likewise. Use @defvarx for a secondary + description header. + +Sat Nov 9 19:25:11 1996 Andreas Schwab + + * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Depend on + the real posix1_lim.h file so that it works in all subdirs, not + only in posix. + +Sat Nov 9 02:08:34 1996 Andreas Schwab + + * Makefile ($(includedir)/gnu/lib-names.h): Quote arguments of tr. + +Sat Nov 9 02:06:17 1996 Andreas Schwab + + * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Don't depend + on $(before-compile) which hasn't been properly setup yet at this + point. + +Sat Nov 9 02:02:48 1996 Andreas Schwab + + * sysdeps/generic/sigset.h: Don't use implicit int which will + probably require a diagnostic in the next revision of the C + standard. + * sysdeps/stub/lockfile.c: Likewise. + +Sat Nov 9 01:57:17 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/syscall.S: Correct last change. + * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise. + +Mon Nov 11 02:53:14 1996 Ulrich Drepper + + * time/strftime.c: Update copyright. Small cosmetic changes. + +Sun Nov 10 23:28:16 1996 Ulrich Drepper + + * inet/getprtname_r.c: Reformat copyright. + + * nss/Makefile (databases): Add key. + (libnss_files-routines): Exclude key database. + (libnss_db-routines): Likewise. + * nss/key-lookup.c: New file. + + * nss/getXXent_r.c (last_nip): Remember last service used since + last setXXent call. + (SETFUNC): Don't force to work through whole list of services in + call to __nss_next. + Update last_nip if necessary. + (ENDFUNC): Only process endXXent function up to currently used + last service. + (GETFUNC): Update last_nip if necessary. + + * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't + make static. + + * rpc/auth_des.h: New file. + * sunrpc/Makefile (headers): Add auth_des.h. + (routines): Add publickey. + * sunrpc/publickey.c: New file. Interface to public key handling. + * sunrpc/rpc/auth_des.h: New file. + * sunrpc/rpc/netdb.h: Really include . + +Sun Nov 10 02:37:15 1996 Ulrich Drepper + + * inet/gethstent_r.c: Update copyright. + * nss/getXXbyYY_r.c: Likewise. + * nss/nsswitch.c: Likewise. + * nss/getXXent_r.c: Likewise. + * nss/nss_files/files-XXX.c: Likewise. + * nss/nss_files/files-netgroup.c: Likewise. + * nss/nss_files/files-parse.c: Likewise. + + * nss/getXXent_r.c: Change implementation. It's not necessary to + call all setXXent functions. Just find first available and + when necessary let getXXent_r call the others. + + * nss/nss_files/files-XXX.c: Make really reentrant. Now calls + of getXXent and getXXbyYY can be mixed. The cursor for traversing + the database with getXXent will be remembered. + + * stdlib/test-canon.c (cwd): Change size to PATH_MAX. + +Sat Nov 9 15:34:48 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/Dist: Add sys/mtio.h. + * sysdeps/unix/sysv/linux/sys/mtio.h: New file. + + * signal/signal.h [__USE_BSD]: Add prototype for siggetmask. + +Fri Nov 8 13:29:30 1996 Ulrich Drepper + + * ctype/ctype.h (__isascii): Don't test for seventh bit not to be + set. Instead for none beside the first seven bits to be set. + X/Open allows the argument to be an `int' value. + Reported by Alain Williams . + (toascii, isascii): Define macro also when __USE_XOPEN. + + * sysdeps/posix/fpathconf.c: Use fstatfs to compute NAME_MAX, not + PATH_MAX. + +Thu Nov 7 03:04:29 1996 Ulrich Drepper + + * nss/getXXXent_r.c (SETFUNC_NAME): Reset `nip' after loop to + NULL so that GETFUNC will see first entry. + (ENDFUNC_NAME): Likewise. + + Rewrite Netgroups implementation to avoid global data. + * inet/netgroup.h: Add definition of name_list and struct + __netgrent. + Add prototypes for internal netgroup functions. + * nss/nss_files/files-netgroup.c (_nss_files_setnetgrent): Take + extra argument and use the included data instead of global vars. + (_nss_files_endnetgrent): Likewise. + (_nss_netgroup_parseline): Change to be static and use data + included in the RESULT structure. + * inet/getnetgrent_r.c (startp): Move into setup function. + (known_groups, needed_groups): new part of the __netgrent sruct. + (freememory): Take extra argument and use included data. + (__internal_endnetgrent): Likewise. + (internal_setnetgrent): Renamed to __internal_setnetgrent_reuse + and take extra argument. + (__internal_setnetgrent): New function. Call + __internal_setnetgrent_reuse after calling free_memory. + (setnetgrent): Only call __internal_setnetgrent. + (__getnetgrent_r): Split into two functions. __getnetgrent_r + calls __internal_getnetgrent after locking. + (innetgr): Use dynamic data only. I.e., innetgr now is fully + reentrant. + +Thu Nov 7 00:15:14 1996 Ulrich Drepper + + * sysdeps/stub/setenv.c: Correct typo: unseenv -> unsetenv. + Reported by Joshua Cowan . + +Wed Nov 6 13:13:37 1996 Ulrich Drepper + + * manual/creature.texi: Document that _GNU_SOURCE is no longer the + default when no *_SOURCE macro is given. + Reported by Karsten Weiss . + * NOTES: remade from manual/creature.texi. + * manual/libc.texinfo: Add back line about GPL translation which + somehow got lost. + + * Make-dist (dist.tar): Depend on README being updated. + + * rellns-sh: Correct thinko in removing leading /. + Reported by Andreas Jaeger . + + * pwd/fgetpwent_r.c: Recognize lines containing only names starting + with `+' or `-' in parser. + * grp/fgetgrent_r.c: Likewise. + * shadow/sgetspent_r.c: Likewise. + * nss/nss_files/files-spwd.c: Don't accept entries starting with + `+' or `-'. + +Wed Nov 6 04:30:26 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias llseek for + _llseek syscall. Reported by Andy Sewell . + + * string/argz.h: Don't protect by __USE_GNU. + +Tue Nov 5 23:38:28 1996 Ulrich Drepper + + * Lots of files: Update and reformat copyright. + + * Makefile (headers): Add xopen_lim.h. + + * catgets/nl_types.h: Move __BEGIN_DECLS before definition of nl_catd. + + * grp/grp.h: Define setgrent, getgrent, endgrent, and getgrent_r + if __USE_XOPEN_EXTENDED is defined. + * pwd/pwd.h: Define setpwent, getpwent, endpwent, and getpwent_r + if __USE_XOPEN_EXTENDED is defined. + + * io/Makefile (routines): Add lchown. + * sysdeps/stub/lchown.c: New file. + + * io/sys/poll.h: Add definition of POLLWRNORM. + + * io/sys/stat.h: Declare lstat, fchmod, mknod when + __USE_XOPEN_EXTENDED is defined. + + * libio/Makefile (routines): Add obprintf. + * libio/obprintf.c: New file. + * libio/iolibio.h: Add prototypes for _IO_obstack_vprintf and + _IO_obstack_printf. + * libio/libio.h: Fix typo. + * libio/stdio.h: Declare tempnam if __USE_XOPEN_EXTENDED is defined. + Add prototypes for obstack_vprintf and obstack_printf. + + * manual/creature.texi: Describe _XOPEN_SOURCE macro. + * manual/intro.texi: Add reference to NSS chapter. + * manual/libc.texinfo: Update UPDATED. + Comment out `@printindex cp'. It works again. + * manual/memory.texi: Add description for obstack_ptr_grow, + obstack_int_grow, obstack_ptr_grow_fast, and obstack_int_grow_fast. + * manual/nss.texi: Add a few @cindex entries and change NSS_STATUS_* + index entries to @vindex. + * manual/users.texi: Correct @cindex entry for Netgroup. + + * math/mathcalls.h: Use __USE_XOPEN and __USE_XOPEN_EXTENDED to + make declarations visible for X/Open sources. + + * misc/search.h: Declare insque/remque only is __USE_SVID or + __USE_XOPEN_EXTENDED is defined. + + * misc/sys/uio.h (readv, writev): Change return value from int to + ssize_t. + + * posix/Makefile (headers): Add re_comp.h. + * posix/re_comp.h: New file. XPG interface to regex functions. + + * posix/getconf.c: Add all names from XPG4.2. + * posix/posix1_lim.h: Increase minimum values for _POSIX_CHILD_MAX + and _POSIX_OPEN_MAX to minimums from XPG4.2. + * sysdeps/generic/confname.h: Add all _SC_* names from XPG4.2. + * sysdeps/posix/sysconf.c: Handle new _SC_* values. + * sysdeps/stub/sysconf.c: Likewise. + + * posix/unistd.h: Add declaration of ualarm and lchown. Declare + usleep, fchown, fchdir, nice, getpgid, setsid, getsid, setreuid, + setregid, vfork, ttyslot, symlink, readlink, gethostid, truncate, + ftruncate, getdtablesize, brk, sbrk, lockf when + __USE_XOPEN_EXTENDED is defined. + + * posix/sys/wait.h: Declare wait3 if __USE_XOPEN_EXTENDED is defined. + + * shadow/shadow.h: Define SHADOW using _PATH_SHADOW. + * sysdeps/generic/paths.h: Define _PATH_SHADOW. + * sysdeps/unix/sysv/linux/paths.h: Likewise. + + * signal/signal.h: Declare killpg, sigstack and sigaltstack when + __USE_XOPEN_EXTENDED is defined. + + * stdio/stdio.h: Declare tempnam when __USE_XOPEN is defined. + + * stdlib/stdlib.h: Make rand48 functions available when __USE_XOPEN + is defined. + Likewise for valloc, putenv, realpath, [efg]cvt*, and getsubopt + functions. + + * string/string.h: Make memccpy, strdup, bcmp, bcopy, bzero, index, + and rindex available when __USE_XOPEN_EXTENDED is defined. + + * sysdeps/mach/getpagesize.c: De-ANSI-fy. Change return type to int. + * sysdeps/posix/getpagesize.c: Likewise. + * sysdeps/stub/getpagesize.c: Likewise. + * sysdeps/unix/getpagesize.c: Likewise. + + * time/africa: Update from tzdata1996l. + * time/asia: Likewise. + * time/australia: Likewise. + * time/europe: Likewise. + * time/northamerica: Likewise. + * time/pacificnew: Likewise. + * time/southamerica: Likewise. + * time/tzfile.h: Update from tzcode1996m. + + * time/time.h: Declare strptime if __USE_XOPEN. + Declare daylight and timezone also if __USE_XOPEN. + + * time/sys/time.h: Remove declaration of ualarm. + + * wctype/wctype.h: Just reference ISO C standard. + +Tue Nov 5 01:26:32 1996 Richard Henderson + + * crypt/Makefile: Add crypt routines to libc as well iff + $(crypt-in-libc) is set. Do this for temporary binary compatibility + on existing Linux/Alpha installations. + + * stdlib/div.c, sysdeps/generic/div.c: Move file to .../generic/. + * stdlib/ldiv.c, sysdeps/generic/ldiv.c: Likewise. + * stdlib/lldiv.c, sysdeps/generic/lldiv.c: Likewise. + * sysdeps/alpha/Makefile (divrem): Add divlu, dviqu, remlu, and + remqu. + * sysdeps/alpha/div.S: New file. + * sysdeps/alpha/ldiv.S: New file. + * sysdeps/alpha/lldiv.S: New file. + * sysdeps/alpha/divrem.h: Merge signed and unsigned division. + Take pointers from Linus and tighten the inner loops a bit. + * sysdeps/alpha/divl.S: Change defines for merged routines. + * sysdeps/alpha/divq.S: Likewise. + * sysdeps/alpha/reml.S: Likewise. + * sysdeps/alpha/remq.S: Likewise. + * sysdeps/alpha/divlu.S: Remove file. + * sysdeps/alpha/divqu.S: Likewise. + * sysdeps/alpha/remlu.S: Likewise. + * sysdeps/alpha/remqu.S: Likewise. + + * sysdeps/alpha/bsd-_setjmp.S: If PROF, call _mcount. + * sysdeps/alpha/bsd-setjmp.S: Likewise. * sysdeps/alpha/bzero.S: Likewise. * sysdeps/alpha/ffs.S: Likewise. + * sysdeps/alpha/htonl.S: Likewise. + * sysdeps/alpha/htons.S: Likewise. + * sysdeps/alpha/memchr.S: Likewise. * sysdeps/alpha/memset.S: Likewise. + * sysdeps/alpha/s_copysign.S: Likewise. * sysdeps/alpha/s_fabs.S: Likewise. - * sysdeps/alpha/strcmp.S: Likewise. + * sysdeps/alpha/setjmp.S: Likewise. + * sysdeps/alpha/stpcpy.S: Likewise. + * sysdeps/alpha/stpncpy.S: Likewise. + * sysdeps/alpha/strcat.S: Likewise. + * sysdeps/alpha/strchr.S: Likewise. + * sysdeps/alpha/strcpy.S: Likewise. * sysdeps/alpha/strlen.S: Likewise. - * sysdeps/alpha/strncmp.S: Likewise. + * sysdeps/alpha/strncat.S: Likewise. * sysdeps/alpha/strncpy.S: Likewise. * sysdeps/alpha/strrchr.S: Likewise. - * sysdeps/alpha/stxcpy.S: Likewise. - * sysdeps/alpha/stxncpy.S: Likewise. - * sysdeps/alpha/elf/start.S: Likewise. + * sysdeps/alpha/udiv_qrnnd.S: Likewise. Fix private labels. + Convert two small jumps to use conditional moves. + * sysdeps/unix/alpha/sysdep.h: Compress all __STDC__ nastiness. + (PSEUDO): If PROF, call _mcount. + * sysdeps/unix/sysv/linux/alpha/brk.S: If PROF, call _mcount. + * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/llseek.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise. + + * sysdeps/alpha/memcpy.S: New file. Odd layout because it should + eventually contain memmove as well. + * sysdeps/alpha/strcmp.S: New file. + * sysdeps/alpha/strncmp.S: New file. + * sysdeps/alpha/w_sqrt.S: New file. + +Tue Nov 5 18:06:06 1996 Ulrich Drepper + + * sysdeps/mach/hurd/ttyname_r.c: Use `size_t' for len variable. + +Tue Nov 5 12:09:29 1996 Ulrich Drepper + + * sysdeps/generic/sysdep.h: Define END only if not yet defined. + * sysdeps/unix/sysdep.h: Define PSEUDO_END only if not yet defined. + Reported by Thomas Bushnell, n/BSG. + +Mon Nov 4 22:46:53 1996 Ulrich Drepper + + * manual/users.texi (Netgroup Data): Remove { } around @cindex. + +Mon Nov 4 19:07:05 1996 Ulrich Drepper + + * malloc/calloc.c: Check for overflow before trying to allocate + memory. Proposed by Neil Matthews . + +Fri Nov 1 18:18:32 1996 Andreas Schwab + + * manual/llio.texi (Operating Modes): Add missing arguments to + @deftypevr in O_NONBLOCK description. + + * manual/time.texi (Time Zone Functions): Enclose type name in + braces in description of tzname. FIXME: this does not yet work + correctly in info. + +Sun Nov 3 17:29:06 1996 Ulrich Drepper + + * features.h: Add X/Open macros. + * posix/unistd.h: Define X/Open macros. + * sysdeps/generic/confname.h: Add _SC_XOPEN_XCU_VERSION, + _SC_XOPEN_UNIX, _SC_XOPEN_CRYPT, _SC_XOPEN_ENH_I18N, + _SC_XOPEN_SHM, _SC_2_CHAR_TERM, _SC_2_C_VERSION, and _SC_2_UPE. + * sysdeps/posix/sysconf.c: Handle new constants. + * sysdeps/stub/sysconf.c: Likewise. + * sysdeps/unix/sysv/linux/posix_opt.h: Add definition of _XOPEN_SHM. + + * catgets/catgets.c (catopen): Set errno to ENOMEM when + we run out of memory. + (catgets): Set errno to EBADF when catalog handle is invalid. + Set errno to ENOMSG when translation is not available. + (catclose): Set errno to EBADF when catalog handle is invalid. + + * ctype/ctype.h: Declare isascii and toascii when __USE_XOPEN. + Likewise for _toupper and _tolower. + + * manual/arith.texi: Document strtoq, strtoll, strtouq, strtoull, + strtof, and strtold. + * manual/math.texi: Document HUGE_VALf and HUGE_VALl. + * manual/stdio.h: Document ' flag for numeric formats of scanf. + * manual/users.texi: Document that cuserid shouldn't be used. + + * misc/Makefile (routines): Add dirname. + (headers): Add libgen.h. + (tests): Add tst-dirname. + * misc/dirname.c: New file. + * misc/libgen.h: New file. + * misc/tst-dirname.c: New file. + + * misc/search.h: Parameter of hcreate must be of type size_t. + * misc/hsearch.c: Likewise. + * misc/hsearch_r.c: Likewise for hcreate_r. + * misc/search.h: Parameters of insque and remque must be `void *'. + * misc/insremque.c: Likewise. + + * posix/unistd.h: Move declarations of mktemp and mkstemp to... + * stdlib/stdlib.h: ...here. + * posix/unistd.h [__USE_XOPEN]: Add prototypes for crypt, setkey, + encrypt, and swab. + + * stdio-common/printf-parse.h (struct printf_spec): Add pa_wchar + and pa_wstring. + (parse_one_spec): Remove Linux compatibility code. + Recognize %C and %S formats. + * stdio-common/printf.h: Add PA_WCHAR and PA_WSTRING. + * stdio-common/vfprintf.c: Add implementation of %C and %S format. + * stdio-common/vfscanf.c: Likewise for scanf. + + * stdlib/l64a.c: Return value for 0 must be the empty string. + * stdlib/stdlib.h: Declare reentrant function from rand48 family + only if __USE_REENTRANT. + Declare rand48 functions also if __USE_XOPEN. + + * stdlib/strtol.c: Return 0 and set errno to EINVAL when BASE is + not a legal value. + Return 0 and set errno to EINVAL when strou* sees negativ number. + * stdlib/tst-strtol.c: De-ANSI-fy. + Change expected results for test of unsigned function and negative + input. + + * string/stratcliff.c: Prevent warnings. + * string.h: Move declaration of swab to . + * string/swab.c: De-ANSI-fy. + + * sysdeps/posix/cuserid.c: Implement using getpwuid_r. + * sysdeps/posix/mkstemp.c: Include for prototype. + * sysdeps/posix/mktemp.c: Likewise. + * sysdeps/stub/mkstemp.c: Likewise. + * sysdeps/stub/mktemp.c: Likewise. + + * sysvipc/sys/ipc.h: Prototypes of ftok have to be of types `const + char *' and `int'. + * sysvipc/ftok.c: Likewise. Make sure only lower 8 bits of + PROJ_ID are used. + +Sun Nov 3 03:21:28 1996 Heiko Schroeder + + * locale/programs/ld-numeric.c (numeric_output): Compute idx[0] + correctly. + +Sat Nov 2 17:44:32 1996 Ulrich Drepper + + * sysdeps/posix/cuserid.c: Use reentrant functions. + * manual/users.texi: Tell that cuserid is marked to be withdrawn in + XPG4.2. + +Sat Nov 2 14:26:37 1996 Ulrich Drepper + + Linus said he will make sure no system call will return a value + in -1 ... -4095 as a valid result. + * sysdeps/unix/sysv/linux/i386/sysdep.h: Correct test for error. + * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise. + +Sat Nov 2 16:54:49 1996 NIIBE Yutaka + + * sysdeps/stub/lockfile.c [!USE_IN_LIBIO]: Define weak alias for + __funlockfile, not a circular alias. + Define __IO_ftrylockfile if USE_IN_LIBIO and __ftrylockfile if not, + not vice versa. + + * sysdeps/unix/sysv/linux/i386/sysdep.S (__errno_location): Make + it a weak symbol. + * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location): Likewise. + +Tue Nov 5 00:04:48 1996 Thomas Bushnell, n/BSG + + * stdio-common/vfprintf.c: Include . + +Mon Nov 4 16:57:42 1996 Thomas Bushnell, n/BSG + + * sysdeps/mach/hurd/ttyname_r.c (ttyname_r): Change prototype to + match POSIX.1c. + + * sysdeps/stub/lockfile.c [! USE_IN_LIBIO]: Second definition of + __internal_funlockfile (in terms of itself) should actually be a + definition of __funlockfile. + + * pwd/pwd.h: Get `size_t' from . + * grp/grp.h: Likewise. + * shadow/shadow.h: Likewise. + + * stdlib/atexit.c (__new_exitfn): Add missing semicolons after + calls to __libc_lock_lock and __libc_lock_unlock. + * stdlib/random.c (__srandom, __initstate, __setstate, __random): + Likewise. + + * hurd/hurdsig.c (write_corefile): Fix typo. + + * sysdeps/mach/hurd/sigwait.c: New file. + +Sat Nov 2 01:48:47 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/errnos.h: Move declaration of errno + and __errno_location to correct position. + +Thu Oct 31 22:51:25 1996 Ulrich Drepper + + * Makefile (distribute): Add rellns-sh. + * rellns-sh: New file. + * Makerules (make-link): Use rellns-sh. + * time/Makefile ($(installed-localtime-file)): Likewise. + +Thu Oct 31 11:33:01 1996 Ulrich Drepper + + * elf/Makefile ($objpfx)ldd) Substitute $(version) for @VERSION@. + (distribute): Add ldd.bash.in. + * elf/ldd.sh.in: Process --help and --version parameter. + Correct comments. + * elf/ldd.bash.in: New file. + + * stdlib/stdlib.h: Add prototype for clearenv. + * sysdeps/generic/setenv.c: Add implementation of clearenv. + (setenv): Handle __environ == NULL correctly. + * sysdeps/stub/setenv.c: Add stub definition for unsetenv and + clearenv. + + * sysdeps/generic/putenv.c: Correct layout to fit in libit. + * sysdeps/generic/setenv.c: Likewise. + * stdlib/strtol.h: Likewise. + + * time/sys/time.h: Define __need_timeval and include . + Remove definition of struct timeval. + * sysdeps/stub/timebits.h [__need_timeval]: Define struct timeval + using `time_t' for members. + * sysdeps/unix/sysv/linux/timebits.h [__need_timeval]: Likewise. + * sysdeps/unix/sysv/linux/alpha/timebits.h: New file. Same + as old Linux specific version. + +Thu Oct 31 00:01:39 1996 Ulrich Drepper + + * signal/Makefile (routines): Add sigwait. + * signal/signal.h: Add prototype for sigwait. + * sysdeps/posix/sigwait.c: New file. Implementation of sigwait + function from POSIX.1c. + * sysdeps/stub/sigwait.c: New file. Stub version of sigwait. + +Wed Oct 30 02:01:17 1996 Richard Henderson + + * sunrpc/xdr_float.c (xdr_float): Handle sizeof(float)!=sizeof(long), + but don't bother going farther than sizeof(float)==sizeof(int). + (xdr_double): Handle little-endian machines! Handle sizeof(double) + != 2*sizeof(long), though again don't bother with more than int. + +Thu Oct 29 16:09:42 1996 Craig Metz + + * sysdeps/posix/getaddrinfo.c: Use buffer limits for inet_ntop + function. + +Tue Oct 29 12:37:22 1996 Ulrich Drepper + + * Makerules: Create symbolic links for linking in $(libdir). + (make-link): Use absolute path for destination if this is not in + the same directory. + + * elf/rtld.c (dl_main): When verifying don't check the name of + the dynamic linker. + + * shlib-versions: Change entries for Hurd specific libs from + *-*-gnu* to *-*-gnu?* so that i586-pc-linux-gnu does not match + these entries. + + * assert/assert.h: Reformat copyright. + Change reference to ANSI into reference to ISO C. + * ctype/ctype.h: Likewise. + * errno.h: Likewise. + * limits.h: Likewise. + * math/math.h: Likewise. + * setjmp/setjmp.h: Likewise. + * stdio/stdio.h: Likewise. + * libio/stdio.h: Likewise. + * stdlib/stdlib.h: Likewise. + * string/string.h: Likewise. + * time/time.h: Likewise. + + * string/argz.h: Use __const in definitions. + + * elf/dlfcn.h: Use __const and __P. Reformat copyright. + * misc/err.h: Likewise. + + * wctype/wctype.h (wctrans_t): Use __const instead of const. + + * Makeconfig ($(common-objpfx)soversions.mk): Generate list of + sonames for versioned libraries. + * Makefile: Remove code to generate libc-version.h. + Generate gnu/lib-names.h with info from soversions.mk. + * features.h: Define __GLIBC__ and __GLIBC_MINOR__. + + * dirent/tst-seekdir.c: Initialize save3. + * grp/testgrp.c: Initialize my_group. + + * grp/fgetgrent_r.c: Change interface to follow POSIX.1c. + * grp/grp.h: Likewise. + * nss/getXXbyYY.c: Likewise. + * nss/getXXbyYY_r.c: Likewise. + * nss/getXXent.c: Likewise. + * nss/getXXent_r.c: Likewise. + * pwd/fgetpwent_r.c: Likewise. + * pwd/pwd.h: Likewise. + * shadow/fgetspent_r.c: Likewise. + * shadow/sgetspent.c: Likewise. + * shadow/sgetspent_r.c: Likewise. + * grp/fgetgrent.c: Adapt for change in interface of fgetgrent_r. + * pwd/fgetpwent.c: Likewise, for fgetpwent_r.c. + * shadow/fgetspent.c: Likewise, for fgetpwent_r.c. + * resolv/netdb.h: Adapt prototypes for reentrant functions to + follow POSIX.1c. + * sunrpc/rpc/netdb.h: Likewise, + * shadow/shadow.h: Likewise. + + * inet/getnetgrent_r.c: Follow change in pwd/grp function interface. + + * sysdeps/unix/getlogin_r.c: Return ERANGE when buffer is too small. + + * inet/herrno.c: Don't define __h_errno, only h_errno otherwise the + ELF aliasing creates strange situations. + * sysdeps/unix/sysv/linux/errnos.H: Define __set_errno as inline + function. + * sysdeps/unix/sysv/linux/i386/sysdep.S: Don't define __errno. + * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise. + + * libio/libio.h: Don't declare _IO_flockfile and _IO_funlockfile + weak. + + * locale/programs/charmap.c: Add casts to prevent warnings. + * locale/programs/linereader.h: Likewise. + * locale/programs/ld-collate.c: Likewise. + * locale/programs/stringtrans.c: Likewise. + Change types for various variables to prevent warnings. + * locale/programs/ld-ctype.c: Likewise. + * locale/programs/linereader.h (lr_ungetc): Likewise. + * locale/programs/charset.h (struct charset): Use `unsigned int' + as type for width_default. + * posix/regex.c: Change type of `this_reg' variables. + * stdio-common/Makefile: Use -Wno-format for tstdiomisc.c. + * stdio-common/bug5.c: De-ANSI-fy. Use correct types for + variables. + * stdio-common/printf_fp.c: Initialize to_shift. + * stdio-common/test_rdwr.c: Add cast. + * stdio-common/vfprintf.c: Add casts and use correct types to + prevent warnings. + * stdio-common/vfscanf.c: Initialize str and strptr. + * sysdeps/libm-ieee754/e_jnf.c: Use correct types to prevent warnings. + * sysdeps/libm-ieee754/e_pow.c: Likewise. + * sysdeps/libm-ieee754/e_powf.c: Likewise. + * sysdeps/libm-ieee754/e_rem_pio2f.c: Likewise. + * time/test-tz.c: Likewise. + + * manual/creature.texi: Document _REENTRANT and _THREAD_SAFE. + * manual/libc.texinfo: Prevent makeinfo failure by avoiding + libc.cp index. This must be fixed. + * manual/nss.texi: Adapt for correct POSIX.1c interface of + reentrant functions. + * manual/users.texi: Document netgroup functions. + + * po/es.po: Updated. + * po/fr.po: Updated. + + * posix/fnmatch.c: Change to match libit version. + + * posix/unistd.h: Change prototype for ttyname_r to match POSIX.1c. + * sysdep/posix/ttyname_r.c: Likewise. + + * stdlib/atexit.h (__new_exitfn): Add internal locking. + * stdlib/exit.c: De-ANSI-fy. Handle new ef_us value for flavor. + * stdlib/exit.h: De-ANSI-fy. Define new ef_us value for flavor. + * stdlib/random.c (__srandom): Add internal locking. + (__initstate): Likewise. + (__setstate): Likewise. + (__random): Likewise. + +Mon Oct 28 22:28:37 1996 NIIBE Yutaka + + * sysdeps/generic/crypt-entry.c (crypt_r): Use __set_errno. + (crypt): Likewise. + * resolv/gethnamaddr.c (gethostbyname2): Likewise. + * sysdeps/generic/uname.c: Likewise. + * sysdeps/posix/rename.c: Likewise. + * sysdeps/stub/setrlimit.c: Likewise. + + * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Fix typo. + +Sun Oct 27 11:12:50 1996 Andreas Schwab + + * locale/programs/ld-collate.c (collate_order_elem): Fix format + string. + (collate_element_to): Cast field width argument to `int' for + format string. + (collate_symbol): Likewise. + (collate_order_elem): Likewise. + (collate_weight_bsymbol): Likewise. + (collate_simple_weight): Likewise. + + * locale/programs/ld-time.c (STRARR_ELEM): Fix format string. + + * locale/programs/ld-ctype.c (ctype_class_newP): Add missing + argument for format string. + (ctype_map_newP): Likewise. + (set_class_defaults): Fix format string. + + * locale/programs/localedef.c (construct_output_path): Putting an + explicit \0 into the format string does not work, use %c. + +Sat Oct 26 20:38:36 1996 Richard Henderson + + * Makerules: Install all shared libraries in $(slibdir). + + * login/Makefile: Build libutil.so in others pass after + libc.so is created. + + * misc/mntent.h: Include for _PATH_MNTTAB & _PATH_MOUNTED. + + * string/stratcliff.c: Allocate 3 pages instead of one, then use + mprotect so that we know that the adjacent pages are inaccessible. + + * resource/sys/resource.h: Move all structures and enums to ... + * sysdeps/generic/resourcebits.h: ... here ... + * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: ... and here. + * sysdeps/unix/sysv/linux/alpha/resourcebits.h: Remove. + * sysdeps/unix/sysv/linux/i386/resourcebits.h: Remove. + * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Remove. + * sysdeps/unix/sysv/linux/mips/resourcebits.h: Remove. + * sysdeps/unix/sysv/linux/resourcebits.h: New file. Use kernel + header for RLIMIT_* definitions. The members of struct rlimit + are longs. + + +Thu Oct 24 17:43:34 1996 Andreas Schwab + + * MakeTAGS (sysdep-dirs): Fix typo. + +Thu Oct 24 17:32:57 1996 Thomas Bushnell, n/BSG + + * hurd/hurdsig.c (write_corefile): If we can't create the core + file, still call crash_dump_task with a null FILE arg. Maybe it + won't actually need the file. + +Wed Oct 23 03:45:22 1996 Ulrich Drepper + + * Makefile (headers): Don't mention libc-version.h. + (install-others): ...but here. + +Tue Oct 22 21:38:21 1996 Ulrich Drepper + + * version.h: Bump version number to 1.97. + + * features.h: Undo change of Sun Oct 20 22:19:58 1996. + Include libc-version.h. + * features.h.in: Removed. + * Makefile: Change rules to generate libc-version.h instead of + features.h. + + * malloc/free.c: Add cast to prevent warning. + * malloc/malloc-walk.c: Likewise. + * malloc/ralloc.c: Likewise. + * malloc/realloc.c: Likewise. + + * grp/fgetgrent_r.c: Accept empty numeric field if name start with + + or -. + * pwd/fgetpwent_r.c: Likewise. + * nss/nss_files/files-grp.c: Don't accept entries with names starting + with + or - in lookup functions. + * nss/nss_files/files-pwd.c: Likewise. + + * Makerules: Call autolock.sh using $(SHELL). + +Mon Oct 21 22:52:16 1996 NIIBE Yutaka + + * elf/dl-minimal.c: Don't define `dgettext' replacement but + `dcgettext'. When optimizing the macros in define + `dgettext' as a macro and so this function will never be called. + +Mon Oct 21 15:41:59 1996 Ulrich Drepper + + * sysdeps/i386/sysdep.h: Define END to use .size when available. + (PSEUDO_END): Use END. + * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PSEUDO_END to + define SYSCALL_ERROR_HANDLER before using END. + (SYSCALL_ERROR_HANDLER): Don't use .size directive. + * sysdeps/unix/sysv/linux/clone.S: Don't use SYSCALL_ERROR_HANDLER + and .size directive but PSEUDO_END. + * sysdeps/unix/sysv/linux/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/socket.S: Likewise. + * sysdeps/unix/sysv/linux/syscall.S: Likewise. + * sysdeps/unix/sysv/linux/sysdep.S (__errno_location): Use END. + * sysdeps/unix/i386/sysdep.S (__syscall_error): Likewise. + * sysdeps/i386/__longjmp.S: Use END instead of PSEUDO_END. + * sysdeps/i386/bsd-_setjmp.S: Likewise. + * sysdeps/i386/bsd-setjmp.S: Likewise. + * sysdeps/i386/memchr.S: Likewise. + * sysdeps/i386/memcmp.S: Likewise. + * sysdeps/i386/setjmp.S: Likewise. + * sysdeps/i386/stpcpy.S: Likewise. + * sysdeps/i386/stpncpy.S: Likewise. * sysdeps/i386/strchr.S: Likewise. - * sysdeps/m68k/bsd-_setjmp.S: Likewise. + * sysdeps/i386/strcspn.S: Likewise. + * sysdeps/i386/strpbrk.S: Likewise. + * sysdeps/i386/strrchr.S: Likewise. + * sysdeps/i386/strspn.S: Likewise. + * sysdeps/i386/strtok.S: Likewise. + * sysdeps/i386/i486/strcat.S: Likewise. + * sysdeps/i386/i486/strlen.S: Likewise. + * sysdeps/i386/i586/memset.S: Likewise. + * sysdeps/i386/i586/strchr.S: Likewise. + * sysdeps/i386/i586/strlen.S: Likewise. + + * sysdeps/i386/strlen.c: De-ANSI-fy. + + * sysdeps/generic/_strerror.c: Undo change of Mon Oct 21 01:32:36 1996. + Define dgettext if not defined to use dcgettext. + * sysdeps/mach/_strerror.c: Likewise. + + * sysdeps/unix/sysv/i386/time.S: Add PSEUDO_END to get + __syscall_error defined.. + +Sat Oct 19 12:27:50 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/mmap.S: Fix braino: CALL_MCOUNT is + already included in the ENTRY macro. Remove SYSCALL_ERROR_HANDLER + now provided by PSEUDO_END. + * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. Use JUMPTARGET. + + * sysdeps/generic/sysdep.h (END): Provide default empty + definition. + * sysdeps/unix/sysv/linux/m68k/sysdep.h (END): Redefine to use + size directive. + (PSEUDO): Don't include SYSCALL_ERROR_HANDLER. + (PSEUDO_END): Include it here instead. + (SYSCALL_ERROR_HANDLER): Remove type directive. + * sysdeps/m68k/bsd-_setjmp.S: Use END, not PSEUDO_END. * sysdeps/m68k/bsd-setjmp.S: Likewise. - * sysdeps/m68k/elf/start.S: Likewise. - * sysdeps/mach/alpha/syscall.S: Likewise. - * sysdeps/mach/i386/syscall.S: Likewise. - * sysdeps/mips/elf/start.S: Likewise. - * sysdeps/sparc/alloca.S: Likewise. - * sysdeps/standalone/i386/start.S: Likewise. - * sysdeps/standalone/i386/force_cpu386/strtsupp.S: Likewise. - * sysdeps/standalone/i960/start.S: Likewise. - * sysdeps/standalone/m68k/m68020/start.S: Likewise. - * sysdeps/unix/_exit.S: Likewise. - * sysdeps/unix/fork.S: Likewise. - * sysdeps/unix/getegid.S: Likewise. - * sysdeps/unix/geteuid.S: Likewise. - * sysdeps/unix/getppid.S: Likewise. - * sysdeps/unix/syscall.S: Likewise. - * sysdeps/unix/arm/brk.S: Likewise. - * sysdeps/unix/arm/fork.S: Likewise. - * sysdeps/unix/bsd/hp/m68k/brk.S: Likewise. - * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise. - * sysdeps/unix/bsd/hp/m68k/wait3.S: Likewise. - * sysdeps/unix/bsd/i386/vfork.S: Likewise. - * sysdeps/unix/bsd/i386/wait3.S: Likewise. - * sysdeps/unix/bsd/m68k/pipe.S: Likewise. - * sysdeps/unix/bsd/m68k/syscall.S: Likewise. - * sysdeps/unix/bsd/m68k/sysdep.S: Likewise. - * sysdeps/unix/bsd/m68k/wait.S: Likewise. - * sysdeps/unix/bsd/osf/alpha/brk.S: Likewise. - * sysdeps/unix/bsd/osf/alpha/fork.S: Likewise. - * sysdeps/unix/bsd/osf/alpha/killpg.S: Likewise. - * sysdeps/unix/bsd/osf/alpha/pipe.S: Likewise. - * sysdeps/unix/bsd/osf/alpha/recv.S: Likewise. - * sysdeps/unix/bsd/osf/alpha/send.S: Likewise. - * sysdeps/unix/bsd/osf/alpha/sigblock.S: Likewise. - * sysdeps/unix/bsd/osf/alpha/sigpause.S: Likewise. - * sysdeps/unix/bsd/osf/alpha/sigsetmask.S: Likewise. - * sysdeps/unix/bsd/osf/alpha/sigvec.S: Likewise. - * sysdeps/unix/bsd/osf/alpha/start.S: Likewise. - * sysdeps/unix/bsd/osf/alpha/vhangup.S: Likewise. - * sysdeps/unix/bsd/sequent/i386/getgroups.S: Likewise. - * sysdeps/unix/bsd/sequent/i386/sigvec.S: Likewise. - * sysdeps/unix/bsd/sequent/i386/syscall.S: Likewise. - * sysdeps/unix/bsd/sun/sigreturn.S: Likewise. - * sysdeps/unix/bsd/sun/m68k/brk.S: Likewise. - * sysdeps/unix/bsd/sun/m68k/sethostid.S: Likewise. - * sysdeps/unix/bsd/sun/m68k/syscall.S: Likewise. - * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise. - * sysdeps/unix/bsd/sun/sparc/sethostid.S: Likewise. - * sysdeps/unix/bsd/ultrix4/wait3.S: Likewise. - * sysdeps/unix/bsd/ultrix4/mips/__handler.S: Likewise. - * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise. - * sysdeps/unix/bsd/ultrix4/mips/vfork.S: Likewise. - * sysdeps/unix/bsd/vax/brk.S: Likewise. - * sysdeps/unix/bsd/vax/pipe.S: Likewise. - * sysdeps/unix/bsd/vax/sysdep.S: Likewise. - * sysdeps/unix/bsd/vax/vfork.S: Likewise. - * sysdeps/unix/bsd/vax/wait.S: Likewise. - * sysdeps/unix/bsd/vax/wait3.S: Likewise. - * sysdeps/unix/i386/brk.S: Likewise. - * sysdeps/unix/i386/fork.S: Likewise. - * sysdeps/unix/i386/pipe.S: Likewise. - * sysdeps/unix/i386/sigreturn.S: Likewise. - * sysdeps/unix/i386/syscall.S: Likewise. - * sysdeps/unix/i386/vfork.S: Likewise. - * sysdeps/unix/i386/wait.S: Likewise. - * sysdeps/unix/mips/brk.S: Likewise. - * sysdeps/unix/mips/fork.S: Likewise. - * sysdeps/unix/mips/pipe.S: Likewise. - * sysdeps/unix/mips/sigreturn.S: Likewise. - * sysdeps/unix/mips/sysdep.S: Likewise. - * sysdeps/unix/mips/wait.S: Likewise. - * sysdeps/unix/sparc/brk.S: Likewise. - * sysdeps/unix/sparc/fork.S: Likewise. - * sysdeps/unix/sparc/pipe.S: Likewise. - * sysdeps/unix/sparc/sysdep.S: Likewise. - * sysdeps/unix/sparc/vfork.S: Likewise. - * sysdeps/unix/sysv/i386/signal.S: Likewise. - * sysdeps/unix/sysv/i386/time.S: Likewise. - * sysdeps/unix/sysv/irix4/__handler.S: Likewise. - * sysdeps/unix/sysv/irix4/sigreturn.S: Likewise. - * sysdeps/unix/sysv/irix4/uname.S: Likewise. - * sysdeps/unix/sysv/irix4/wait.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/pipe.S: Likewise. - * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise. + (__syscall_error): Can't use ENTRY macro. + +Sat Oct 19 12:13:24 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/syscalls.list (getresuid, setresuid): + Set caller to EXTRA. + +Mon Oct 21 01:32:36 1996 Ulrich Drepper + + * elf/rtld.c (dl_main): Move initialization of `_dl_starting_up' + to beginning of function. So libc functions can use this flag. + * sysdeps/generic/_strerror.c: Don't use dgettext for message + translation while `_dl_starting_up' is nonzero. + + * elf/dl-deps.c (_dl_map_object_deps): Add new parameter + TRACE_MODE. + Pass parameter value to _dl_map_object. + * elf/dl-load (_dl_map_object): Add new parameter TRACE_MODE. + If TRACE_MODE is nonzero don#t signal error when shared lib + is not found. Instead create fake entry for link map. + * dl-open.c (dl-open): Pass 0 for new argument to _dl_map_object. + * dl-runtime.c (_dl_object_relocation_scope): Pass 0 for new + argument to _dl_map_object_deps. + * elf/link.h: Add new parameter TRACE_MODE for prototypes of + _dl_map_object and _dl_map_object_deps. + * elf/rtld.c (dl_main): Pass 0 for new argument to _dl_map_object + and _dl_map_object_deps. + When mode == trace test for l_opencount == 0 before printing + link information since this means the lib is not found. + +Sun Oct 20 22:19:58 1996 Ulrich Drepper + + * rpm/template: Add INSTALL to %doc line to follow copyright + restrictions which demand the distribution of the copyright + messages in INSTALL even for binary distributions. + + * features.h: Rename to... + * features.h.in: ...this. Change value of __GNU_LIBRARY__ to 2 + (for major version numberof package) and add __GNU_LIBRARY_MINOR__ + and __GNU_LIBRARY_INTERFACE__. + * Makefile ($(objpfx)features.h): New rule to generate features.h + from template features.h.in. + + * sysdeps/unix/sysv/linux/getsysstats.c: Include . + +Sun Oct 20 00:00:13 1996 Richard Henderson + + * locale/programs/linereader.c (lr_open): Cast away const before free. + (lr_close): Likewise. + + * misc/mntent.h: Move _PATH_MNTTAB & _PATH_MOUNTED to paths.h. + * misc/paths.h: Move to ... + * sysdeps/generic/paths.h: ... here. + * paths.h: Remove. + * sysdeps/unix/sysv/linux/paths.h: New file. Correct _PATH_STDPATH, + _PATH_MAILDIR, _PATH_MOUNTED, _PATH_UNIX to comply with the fsstd. + + * nss/nss_db/db-netgrp.h: Include . + + * stdio-common/psignal.c: De-ansidecl-ify. Allow NULL entries in + _sys_siglist, which result in the "Unknown signal" message. + * string/strsignal.c: Likewise. + * sysdeps/generic/Makefile [stdio-common]: If $(inhibit-siglist), + don't auto-generate siglist.c. + * sysdeps/unix/sysv/linux/Makefile [stdio-common]: Set inhibit-siglist. + * sysdeps/unix/sysv/linux/siglist.c: New file. Not needing to + autogenerate makes bootstrapping and cross-compiling much easier. + * sysdeps/unix/sysv/linux/siglist.h: New file. + + * stdlib/longlong.h: Prototype __udiv_qrnnd. + + * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_headers): Remove + sys/io.h. It is already added in .../linux/Makefile. + + * sysdeps/unix/sysv/linux/alpha/sigaction.h: New file. + * sysdeps/unix/sysv/linux/alpha/signum.h: New file. + * sysdeps/unix/sysv/linux/alpha/statbuf.h: New file. + +Sun Oct 20 17:17:12 1996 Ulrich Drepper + + Add implementation of POSIX.1g function getaddrinfo. + * posix/Makefile (routines): Add getaddrinfo. + * sysdeps/posix/getaddrinfo.c.: New file. Add implementation by + Craig Metz. + * sysdeps/stub/getaddrinfo.c: New file. Stub implementation. + * resolv/netdb.h [__USE_POSIX]: Add getaddrinfo prototypes and + related constants and structures. + +Sun Oct 20 13:02:34 1996 Ulrich Drepper + + * sysdeps/stub/lockfile.c: Rename functions to __internal_*. + Make all old names weak alises so that they can be replaced + by libpthread. + + * stdio-common/vfprintf.c: Only declare __flockfile and __funlockfile + for !USE_IN_LIBIO. + [USE_IN_LIBIO]: Call _IO_flockfile and _IO_funlockfile instead of + __flockfile and __funlockfile. + Reported by NIIBE Yutaka. + + * crypt/md5.c: Change form of copyright message according to GNITS + rules. + Add warning for requirement on RESBUF parameter for `md5_finish_ctx' + and `md5_read_ctx' function. + * crypt/md5.h: Likewise. + + * grp/testgrp.c: Don't use perror for error cases since getgr* and + getpw* functions do not return usable error codes. + +Sun Oct 19 23:05:32 1996 Jim Meyering + + * crypt/md5.c (md5_process_bytes): Used casting for pointer + arithmetic. + +Sun Oct 20 03:53:23 1996 Ulrich Drepper + + * sunrpc/Makefile (others): Remove portmap here, too. + +Sat Oct 19 17:42:24 1996 Ulrich Drepper + + * intl/locale.alias: Language for entry `czech' is `cs'. + +Fri Oct 17 13:20:35 1996 Thorsten Kukuk + + * sunrpc/etc.rpc: Update from ti-rpcsvc 2.3. + +Fri Oct 18 22:56:45 1996 Ulrich Drepper + + * sunrpc/Makefile (install-sbin): Remove portmap. This version is + buggy and more competent people work on a usable version which is + distributed separately. + * sunrpc/portmap.c: Removed. + Suggested by Thorsten Kukuk. + +Fri Oct 18 12:17:09 1996 Enrique Melero + + * sysdeps/libm-ieee754/s_finitel.c: Change function name to + `finitel'. + +Fri Oct 18 00:01:10 1996 Ulrich Drepper + + * string/Makefile (tests): Add stratcliff. + * string/stratcliff.c: New file. Test for string function at + the edge of the usable memory. + +Thu Oct 17 22:10:19 1996 Ulrich Drepper + + * Makerules ($(libdir)/libc.so): Fix typo. + + * elf/ldd.sh.in: Test whether given file really exist and give + better message if it is not available. + +Thu Oct 17 04:25:38 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sys/shm_buf.h: Add definition for + SHM_R and SHM_W. + +Thu Oct 17 01:55:34 1996 Ulrich Drepper + + * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Write + output to $@T and move to $@ later since the new rpcgen will not + overwrite existing files. + + * po/Makefile (libc.pot): Fix typo. + +Sun Oct 13 20:52:07 1996 Thorsten Kukuk + + Update rpcgen program to TI-rpc code. + * sunrpc/Makefile (rpcgen-objs): Add rpc_tblout.o and rpc_sample.o. + (distribute): Add proto.h. + * sunrpc/proto.h: New file. Prototypes for all the RPC functions. + * sunrpc/rpc_clntout.c: Change to allow generation of ISO C code. + * sunrpc/rpc_cout.c: Likewise. + * sunrpc/rpc_hout.c: Likewise. + * sunrpc/rpc_main.c: Likewise. + * sunrpc/rpc_parse.c: Likewise. + * sunrpc/rpc_parse.h: Likewise. + * sunrpc/rpc_scan.c: Likewise. + * sunrpc/rpc_scan.h: Likewise. + * sunrpc/rpc_svcout.c: Likewise. + * sunrpc/rpc_util.c: Likewise. + * sunrpc/rpc_util.h: Likewise. + + * sunrpc/rpc_tblout.c: New file. + * sunrpc/rpc_sample.c: Likewise. + +Thu Oct 17 00:26:20 1996 NIIBE Yutaka + + * sysdeps/unix/opendir.c: Add semicolon for consistency. + +Wed Oct 16 12:26:53 1996 Sven Verdoolaege + + * locale/programs/localedef.c (main): Test with -1 to find out + whether read failed. + +Wed Oct 16 14:54:59 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/clone.S: Use JUMPTARGET and + PSEUDO_END macro. + +Tue Oct 15 21:27:42 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/sigcontext.h: Removed. + +Tue Oct 15 15:52:29 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/clone.S: Add CALL_MCOUNT. * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise. * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise. * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/fork.S: Likewise. - * sysdeps/unix/sysv/sco3.2.4/sigaction.S: Likewise. - * sysdeps/unix/sysv/sco3.2.4/sysconf.S: Likewise. - * sysdeps/unix/sysv/sco3.2.4/uname.S: Likewise. - * sysdeps/unix/sysv/sco3.2.4/waitpid.S: Likewise. - * sysdeps/unix/sysv/sysv4/i386/sys-sig.S: Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/fsync.S: Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.S: Likewise. - * sysdeps/vax/bsd-_setjmp.S: Likewise. - * sysdeps/vax/bsd-setjmp.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location): + Likewise. + * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise. + Correct generation of system call. -1997-06-26 02:06 Ulrich Drepper +Tue Oct 15 15:13:16 1996 Andreas Schwab - * posix/Makefile (CFLAGS-regex.c): -DDEBUG was not meant for the - public. + * Makerules (sysd-Makefile): Fix command so that it works in the + subdirectories. + (BUILD_CFLAGS): Change back using $(..) instead of + $(common-objpfx), the latter fails in the toplevel directory when + $(objdir) is relative. + (common-objdir-compile): Run compiler in $(objdir). + * sysdeps/posix/Makefile (mk-stdiolim): Likewise. - * Makerules ($(common-objpfx)libc.so): Use $(load-map-file) in - dependency, not $(libc-map). +Tue Oct 15 23:39:48 1996 Ulrich Drepper - * sysdeps/posix/mk-stdiolim.c: Pretty print. + * string/string.h [__USE_SVID]: Add prototype for swab. + * time/sys/time.h [__USE_BSD]: Add prototype for ualarm. + Reported by Andreas Jaeger. -1997-06-25 15:54 Fila Kolodny + The available nlist implementation is not generally usable. + Especially on the currently supported ELF systems the nlist + function comes with the libelf. + * misc/Makefile (headers): Remove nlist.h. + (routines): Remove nlist. - * sysdeps/mach/hurd/bits/fcntl.h: Change include of gnu/types.h to - include of bits/types.h. + * Makefile ($(objpfx)version-info.h): Include information about + system the libc is built on in version-info.h file. - * sysdeps/posix/Makefile ($(common-objpfx)bits/stdio_lim.h): Don't - conditionalize this on whether we are cross-compiling. + * po/Makefile (distribute): Add header.pot. -1997-06-21 15:47 H.J. Lu +Tue Oct 15 16:34:15 1996 Andreas Jaeger - * elf/dl-lookup.c (do_lookup): Use default definition - for a default versioned symbol. + * sysdeps/unix/sysv/linux/sleep.c: Include file with prototype. + * sysdeps/unix/sysv/linux/reboot.c: Likewise. + * misc/error.c: Likewise. - * elf/dl-version.c (_dl_check_map_versions): Set the hidden field. +Tue Oct 15 22:41:27 1996 Ulrich Drepper - * elf/dlvsym.c (__dlvsym): Set the hidden field to 1. + * sysdeps/unix/sysv/linux/syscalls.list: Add {get,set}resuid. - * elf/link.h (r_found_version): Add the hidden field. +Tue Oct 15 08:06:02 1996 Andreas Jaeger - * math/test-matherr.c: New file. + * crypt/Makefile (rpath-link): Extend search path to current directory. - * math/Makefile (tests): Add test-matherr. - (libm-support): Put back s_matherr. - (static-only-routines, aux): Remove s_matherr. +Fri Oct 11 09:18:06 1996 Sven Verdoolaege -1997-06-23 23:39 Ulrich Drepper + * sysdeps/i386/i586/strlen.S: Correct handling of prolog for + aligning pointer. - * string/Makefile (headers): Change bytesex.h to bits/endian.h. - * sysdeps/generic/Makefile: Don't try to generate bytesex.h, but - bits/endian.h. +Tue Oct 15 02:13:21 1996 Ulrich Drepper - * math/libm-test.c (lgamma_test): Make sure the test of the ilogb - function will not fail because of exceptions. + * stdio-common/vfprintf.c: Don't declare __flockfile as weak. - * math/math.h: Add warning about use of M_* constants. - Pretty print. + * crypt/md5-crypt.c (md5_crypt_r): Add cast to prevent warning. -1997-06-23 11:36 Andreas Jaeger +Tue Oct 15 14:37:40 1996 Thomas Bushnell, n/BSG - * hurd/path-lookup.c: Change GPL to LGPL, update and reformat - copyright, remove trailing white spaces and send through unexpand. - * inet/netinet/icmp6.h: Likewise. - * inet/netinet/in.h: Likewise. - * inet/netinet/ip6.h: Likewise. + * sysdeps/mach/hurd/fcntlbits.h (O_HURD): Add O_EXLOCK and + O_SHLOCK. + +Sun Oct 13 19:16:10 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/sysdep.h (POUND): Macro removed, + replaced by `&'. + (PSEUDO_END): Provide definition to use .size directive. + (PSEUDO): Don't interpret negative return values less than -128 as + syscall error. + * sysdeps/unix/sysv/linux/m68k/syscall.S (syscall): Likewise. + + * sysdeps/m68k/bsd-_setjmp.S: Use PSEUDO_END macro to provide + .size directive. + * sysdeps/m68k/bsd-setjmp.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use PSEUDO_END instead of + explicit .size directive. + +Sun Oct 13 22:52:56 1996 Ulrich Drepper + + * shlib-versions: Add version number/name for ld.so. + * Makeconfig: Move definition of rtld-installed-name after + inclusion of soversions.mk. + Don't add . before version number from shlib-versions file when + when name does not start with digit. This is needed for ld.so. + +Sat Oct 12 20:31:58 1996 Richard Henderson + + * libio/iogets.c: Warn when gets is used. + * stdio/gets.c: Strengthen the warning. + +Sat Oct 12 23:10:43 1996 Ulrich Drepper + + * libio/Makefile [_LIBC_REENTRANT] (routines): Add peekc. + * libio/libio.h: Add prototypes for _IO_getc, _IO_putc, _IO_feof, + _IO_ferror, _IO_peekc_locked, and _IO_ftrylockfile. + Remove prototypes for _IO_getc_locked and _IO_putc_locked. + [_IO_MTSAFE_IO]: Add weak aliases for _IO_flockfile and + _IO_funlockfile. + [! _IO_MTSAFE_IO]: Define _IO_ftrylockfile as empty. + Define _IO_getc, _IO_peekc, _IO_putc, _IO_feof, _IO_ferror to + appropriate values according to __USE_REENTRANT. + * libio/stdio.h: Add prototype for ftrylockfile. + [!_LIBC]: Define getc_locked, getchar_locked, putchar_locked, + getc, getchar, putc, and putchar using _IO_* names. + * libio/feof.c: Rename to _IO_feof and make feof weak alias. + * libio/ferror.c: Rename to _IO_ferror and make ferror weak alias. + * libio/getc.c: Rename to _IO_getc and make getc weak alias. + * libio/putc.c: Rename to _IO_putc and make putc weak alias. + * libio/putc_u.c: Don't define alias _IO_putc_unlocked. + * libio/peekc.c: New file. + + * stdio-common/vfprintf.c (vfprintf): Unconditionally call + __flockfile. + + * sysdeps/stub/locfile.c [USE_IN_LIBIO]: Also define _IO_* names. + + * crypt/Makefile (tests): Add md5test and md5c-test. + * crypt/md5-crypt.c: Correct various error. Now md5_process_bytes + is called, the buffer limit is honoured and a loop in a inner + loop is corrected. + * crypt/md5.h (struct md5_ctx): Add new fields. + Add prototypes for new functions. + * crypt/md5.c (md5_init_ctx): Initialize new fields. + (md5_finish_ctx): New function. Like md5_read_ctx but before + perform correct finalization. + (md5_process_bytes): New function. Similar to md5_proces_block, + but does not require input size to be multiple of 64. + (md5_stream): Rewrite using md5_process_bytes and md5_finish_ctx. + (md5_buffer): Likewise. + (md5_process_block): Count number of bytes. + * crypt/md5test.c: New file. Test program for MD5 functions. + * crypt/md5c-test.c: New file: Test program for MD5 crypt + function. + + * po/fr.po: Update. + + * time/strptime.c: Recognize %s, %u, %g, and %G format. + + * posix/getopt.c: Add some more casts and initializations to + prevent warnings. + +Sat Oct 12 16:15:29 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/speed.c (speeds): Removed. We provide + an extra function to provide this functionality. + (cfgetospeed): Simply return masked value. + (cfsetospeed): Don't use speeds array and so we can simply test + the value of SPEED for illegal values. + * termios/cfsetspeed.c: Rewrite. We convert here between the + real values and the B* constants. + Changes suggested by Uwe Ohse . + +Fri Oct 11 21:45:34 1996 Andreas Jaeger + + * locale/programs/xstrdup.c: Define prototypes. * locale/programs/xmalloc.c: Likewise. - * locale/programs/xstrdup.c: Likewise. - * sysdeps/generic/make_siglist.c: Likewise. - * sysdeps/generic/morecore.c: Likewise. - * sysdeps/generic/sbrk.c: Likewise. - * sysdeps/generic/signame.c: Likewise. - * sysdeps/generic/signame.h: Likewise. - * sysdeps/generic/netinet/inbits.h: Likewise. - * sysdeps/posix/getpagesize.c: Likewise. - * sysdeps/unix/errnos-tmpl.c: Likewise. - * sysdeps/unix/getpagesize.c: Likewise. - * sysdeps/unix/make_errlist.c: Likewise. - * sysdeps/unix/mkfifo.c: Likewise. - * sysdeps/unix/nlist.c: Likewise. - * sysdeps/unix/start.c: Likewise. - * sysdeps/unix/sysv/linux/netinet/inbits.h: Likewise. - * munch-tmpl.c: Update and reformat copyright, remove trailing - white spaces and send through unexpand. - * libio/clearerr_u.c: Likewise. - * libio/memstream.c: Likewise. - * libio/putc_u.c: Likewise. - * libio/putchar_u.c: Likewise. - * stdio-common/scanf.c: Likewise. - * stdlib/longlong.h: Likewise. - * sysdeps/alpha/__longjmp.c: Likewise. - * sysdeps/alpha/divrem.h: Likewise. - * sysdeps/alpha/machine-gmon.h: Likewise. - * sysdeps/alpha/setjmp_aux.c: Likewise. - * sysdeps/alpha/bits/setjmp.h: Likewise. - * sysdeps/arm/fpu_control.h: Likewise. - * sysdeps/generic/_strerror.c: Likewise. - * sysdeps/generic/det_endian.c: Likewise. - * sysdeps/generic/fdatasync.c: Likewise. - * sysdeps/generic/fpu_control.c: Likewise. - * sysdeps/generic/ftime.c: Likewise. - * sysdeps/generic/getdomain.c: Likewise. - * sysdeps/generic/group_member.c: Likewise. - * sysdeps/generic/ldiv.c: Likewise. - * sysdeps/generic/lldiv.c: Likewise. - * sysdeps/generic/lxstat.c: Likewise. - * sysdeps/generic/memcmp.c: Likewise. - * sysdeps/generic/memmem.c: Likewise. - * sysdeps/generic/mig-reply.c: Likewise. - * sysdeps/generic/pagecopy.h: Likewise. - * sysdeps/generic/profil-counter.h: Likewise. - * sysdeps/generic/pselect.c: Likewise. - * sysdeps/generic/setfpucw.c: Likewise. - * sysdeps/generic/stpcpy.c: Likewise. - * sysdeps/generic/uname.c: Likewise. - * sysdeps/generic/varargs.h: Likewise. - * sysdeps/generic/vlimit.c: Likewise. - * sysdeps/generic/bits/sigaction.h: Likewise. - * sysdeps/generic/bits/ustat.h: Likewise. - * sysdeps/generic/netinet/if_ether.h: Likewise. - * sysdeps/generic/sys/swap.h: Likewise. + * stdio-common/xbug.c (main): Change definition to avoid warning. + +Fri Oct 11 23:36:31 1996 Miles Bader + + * db/hash/hash.c (__hash_open): Correctly test for a read-write db. + +Fri Oct 11 19:13:34 1996 Ulrich Drepper + + * locale/Makefile (CPPFLAGS): Set CHARMAP_PATH to + "$(i18ndir)/charmaps". + +Fri Oct 11 22:12:41 1996 NIIBE Yutaka + + * sysdeps/unix/sysv/linux/sys/procfs.h: Include + to get definition of FPU description struct. + + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket] (subdir_headers): + Add net/if.h, net/if_ppp.h, net/ppp-comp.h, net/ppp_defs.h, + net/if_arp.h, and net/route.h. + * sysdeps/unix/sysv/linux/net/if_arp.h: New file. + * sysdeps/unix/sysv/linux/net/route.h: New file. + +Fri Oct 11 14:49:13 1996 Ulrich Drepper + + * sysdeps/stub/readdir_r.c: New file. We need a stub version. + * sysdeps/stub/e_acosl.c: Likewise. + * sysdeps/stub/e_asinl.c: Likewise. + * sysdeps/stub/e_atan2l.c: Likewise. + * sysdeps/stub/e_expl.c: Likewise. + * sysdeps/stub/e_fmodl.c: Likewise. + * sysdeps/stub/e_log10l.c: Likewise. + * sysdeps/stub/e_logl.c: Likewise. + * sysdeps/stub/e_sqrtl.c: Likewise. + * sysdeps/stub/s_atanl.c: Likewise. + * sysdeps/stub/s_log1pl.c: Likewise. + + * Makefile (distribute): Add nsswitch.h and netgroup.h. + + * nss/Makefile (generated): db-netgrp.c is not generated. + + * sysdeps/alpha/Dist: Add stxcpy.S and stxncpy.S. + + * Make-dist (+out): Add $(dont_distribute). + +Fri Oct 11 00:27:18 1996 Andreas Schwab + + * stdio-common/Makefile (routines): Add tmpnam_r. + +Fri Oct 11 05:32:51 1996 Ulrich Drepper + + * version.h: Bump version to 1.96. + +Fri Oct 11 18:13:47 1996 Andreas Jaeger + + * stdio-common/tst-printf.c: Some more cleanups. + +Fri Oct 11 02:48:02 1996 Ulrich Drepper + + * resolv/arpa/nameser.h: Update from bind-4.9.5-T6B. + * resolv/resolv.h: Likewise. + * resolv/gethnamaddr.c: Likewise. + * resolv/res_comp.c: Likewise. + * resolv/res_debug.c: Likewise. + * resolv/res_init.c: Likewise. + * resolv/res_send.c: Likewise. + * resolv/Banner: Update version number. + + * nss/nss_dns/dns-host.c: Update according to change in + resolv/gethnamaddr.c. + +Fri Oct 10 20:52:28 1996 Ralph Loader + + * crypt/md5.c (md5_stream): When reading the block in several + pieces append to instead of replace previously read data. + +Thu Oct 10 15:53:17 1996 Richard Henderson + + * sysdeps/alpha/stxcpy.S ($unaligned): In single word copy, correct + last-byte-written bit for source word misalignment. + * sysdeps/alpha/strchr.c: Removed. There is now an assembler + version. + +Thu Oct 10 17:17:23 1996 Ulrich Drepper + + * sunrpc/Makefile (rpcsvc): Remove yp.x. The corrected version + comes with glibc-nis. + * sunrpc/rpcsvc/yp.x: Removed. + + * nss/nss_files/files-netgr.c (_nss_netgroup_parseline): Test + for *CURSOR to be NULL and dump a core if yes. + +Thu Oct 9 20:09:53 1996 Matthew Jacob + + * sysdeps/unix/sysv/linux/alpha/brk.S: Define _ERRNO_H before + including to get error numbers. + +Thu Oct 10 14:00:01 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/sigcontext.h: Moved file... + * sysdeps/unix/sysv/linux/sigcontext.h: ...to here. So the + Alpha people find a correct file. + * sysdeps/libm-ieee754/w_cabs.c: We cannot make __cabsl simply + an alias of __cabs since the structures have different names. + * sysdeps/libm-ieee754/w_log10.c: Fix typo in weak_alias. + Reported by Matthew Jacob . + +Wed Oct 9 00:24:52 1996 Jim Meyering + + * time/strftime.c: Allow old K&R compilers compile this file. + +Wed Oct 9 12:03:56 1996 Ulrich Drepper + + * posix/execlp.c: Add first argument parameter to be compliant + with POSIX. Rearrange body to start vararg counter after + this new argument. + +Wed Oct 9 04:34:50 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sys/procfs.h: Rewrite. We cannot use + simply a wrapper around the file since the + kernel header is not clean enough. We provide the definitions + in this file instead. + +Wed Oct 9 01:43:18 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Avoid + get?id calls by using __libc_enable_secure. + +Wed Oct 9 00:30:33 1996 Ulrich Drepper + + * inet/getnetgrent_r.c: Correct netgroup implementation. A + specification of a netgroup can also name another netgroup. + * nss/nss_files/files-netgrp.c: Likewise. + * inet/netgroup.h: Add fields to hold additional information. + +Tue Oct 8 21:51:14 1996 Arnold D. Robbins + + * posix/getopt.c: Implement POSIX -W option handling. When the + option string contains "W;" -W foo is handled like --foo. + +Tue Oct 8 12:27:26 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/clone.S: Define _ERRNO_H before + inclusing so we really get error symbols defined. + * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise. + + * sunrpc/auth_unix.c (authunix_create_default): Don't use fixed + size array for getgroups call. Instead get maximal number via + sysconf. But discard list to NGRPS elements before calling XDR + function since Sun's code cannot handle longer lists. + Based on a patch by Thorsten Kukuk . + + * sysdeps/stub/e_j0l.c: Define y0l as well. + * sysdeps/stub/e_j1l.c: Define y1l as well. + * sysdeps/stub/e_jnl.c: Define ynl as well. + + * posix/unistd.h: Correct prototype for execlp. + + * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_NO_TRUNC. + +Mon Oct 7 22:18:03 1996 Andreas Schwab + + * Makeconfig (sysdep-library-path): New variable. + (built-program-cmd): Use it here to properly build a colon + separated library path. + +Mon Oct 7 22:11:55 1996 Andreas Schwab + + * crypt/md5-crypt.c (md5_crypt_r): Add missing parens around & + within comparison. Fix comments. + (md5_crypt): Fix comment. + +Tue Oct 8 05:10:49 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/errnos.h: Only include + when _ERRNO_H is defined. + [!_ERRNO_H && __need_Emath]: Define value for EDOM and ERANGE. + Should there ever be a Linux port where the numeric values are + not 33 and 34 this file must change. + +Mon Oct 7 13:54:04 1996 Ulrich Drepper + + * libio/iofgets.c (_IO_fgets): Use _IO_flockfile instead of + __flockfile. + +Mon Oct 7 11:01:45 1996 Andreas Jaeger + + * string/tst-strlen.c (main): Provide prototype. + * malloc/mallocbug.c: Likewise. + * io/test-utime.c: Likewise. + + * sysdeps/generic/crypt-entry.c: Correct typo. + +Mon Oct 7 13:42:20 1996 Ulrich Drepper + + * elf/dl-open.c (_dl_open): Check against _dl_sysdep_start to + test for libc.a. Checking _DYNAMIC is of no worth here. + Suggested by Andreas Schwab . + + * nss/nss_files/files-parse.c: Define LOOKUP_NAME even if + EXTERN_PARSER is defined. + +Sat Oct 5 17:05:36 1996 Andreas Jaeger + + * Rules (dep-dummy-lib): Correct prototype for __dummy__. + + * crypt/md5-crypt.c: Fix typos in comments. + + * gmon/gmon.c: Provide prototypes. + * db/makedb.c: Likewise. + * locale/programs/xmalloc.c: Likewise. + * stdio-common/bug11.c (main): Likewise. + * stdio-common/bug7.c (main): Likewise. + * stdio-common/bug8.c (main): Likewise. + * stdio-common/bug9.c (main): Likewise. + * stdio-common/scanf1.c (main): Likewise. + * stdio-common/scanf2.c (main): Likewise. + * stdio-common/scanf5.c (main): Likewise. + * stdio-common/scanf6.c (main): Likewise. + * stdio-common/scanf7.c (main): Likewise. + * stdio-common/scanf8.c (main): Likewise. + * stdio-common/temptest.c (main): Likewise. + * stdio-common/test-fwrite.c (main): Likewise. + * stdio-common/tst-printf.c: Likewise. + * stdio-common/tstdiomisc.c: Likewise. + * stdio-common/tstgetln.c (main): Likewise. + * stdlib/testmb.c (main): Likewise. + + * stdio-common/scanf4.c (main): Correct prototype, remove unused + variable n. + + * stdio-common/scanf3.c (main): Correct prototype, change + declaration of s to reduce warnings. + * stdio-common/bug10.c (main): Likewise. + + * stdio-common/tfformat.c: Provide prototype, remove unused + reference to dump_stats, add braces in sprint_doubles. + * stdio-common/tiformat.c: Likewise. + + * stdio-common/test_rdwr.c (main): Parameter `where' is long in + printf call. + +Mon Oct 7 14:04:26 1996 NIIBE Yutaka + + * sysdeps/unix/sysv/linux/sys/soundcard.h: Fix typo. + + * shadow/putspent.c: Don't write colon after flag field. + + * sysdeps/unix/sysv/linux/net/if_ppp.h: New file. Wrapper around + kernel header. + * sysdeps/unix/sysv/linux/net/ppp-comp.h: Likewise. + * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise. + * sysdeps/unix/sysv/linux/Dist: Mention new files. + +Mon Oct 7 00:58:19 1996 Ulrich Drepper + + * sysdeps/i386/i586/strchr.S: Correct handling of first bytes to + get pointer aligned. Reported by Matthias Urlichs . + + * sysdeps/posix/euidaccess.c [_LIBC]: Avoid calling get?id functions + by using __libc_enable_secure variable. + +Tue Oct 8 13:58:31 1996 Thomas Bushnell, n/BSG + + * hurd/ports-get.c (_hurd_ports_get): If the requested port is + null, don't attempt mach_port_mod_refs. + +Mon Oct 7 14:51:52 1996 Thomas Bushnell, n/BSG + + * sysdeps/mach/hurd/pipestream.c: New file to avoid use of + sysdeps/unix/pipestream.c. + + * sysdeps/mach/hurd/readdir_r.c: New file, guts copied entirely + from sysdeps/mach/hurd/readdir.c. + + * stdio/freopen.c: Complete de-ansideclification. + * stdio/fgets.c (fgets): Likewise. + * stdio/getdelim.c (__getdelim): Likewise. + * sysdeps/posix/pipestream.c (readdecl, writedecl, seekdecl, + popen): + Likewise. + * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise. + * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise. + + * sysdeps/mach/hurd/wait4.c (__wait4): Allow a null value for + STAT_LOC without error. + +Sun Oct 6 02:05:52 1996 Ulrich Drepper + + * posix/getopt.c: Add casts to prevent warnings. + * posix/regex.c: Likewise. + + * math/Makefile (long-m-routines, long-m-yes): Define to correct + values to make `long double' functions available. + (distribute): Add $(long-m-yes:=.c). + + * sysdeps/libm-i387/s_copysignl.S: Correct loading of return value. + Use long double instruction. + + * sysdeps/libm-ieee754/e_atanhl.c (huge): Correct constant. + * sysdeps/libm-ieee754/e_asinhl.c: Likewise. + * sysdeps/libm-ieee754/s_tanhl.c: Likewise. + + * sysdeps/libm-ieee754/e_coshl.c: New file. + + * sysdeps/libm-ieee754/s_asinh.c [!NO_LONG_DOUBLE]: Define names + for `long double' version as alias. + * sysdeps/libm-ieee754/s_atan.c: Likewise. + * sysdeps/libm-ieee754/s_cbrt.c: Likewise. + * sysdeps/libm-ieee754/s_ceil.c: Likewise. + * sysdeps/libm-ieee754/s_copysign.c: Likewise. + * sysdeps/libm-ieee754/s_cos.c: Likewise. + * sysdeps/libm-ieee754/s_erf.c: Likewise. + * sysdeps/libm-ieee754/s_expm1.c: Likewise. + * sysdeps/libm-ieee754/s_fabs.c: Likewise. + * sysdeps/libm-ieee754/s_finite.c: Likewise. + * sysdeps/libm-ieee754/s_floor.c: Likewise. + * sysdeps/libm-ieee754/s_frexp.c: Likewise. + * sysdeps/libm-ieee754/s_ilogb.c: Likewise. + * sysdeps/libm-ieee754/s_ldexp.c: Likewise. + * sysdeps/libm-ieee754/s_log1p.c: Likewise. + * sysdeps/libm-ieee754/s_logb.c: Likewise. + * sysdeps/libm-ieee754/s_modf.c: Likewise. + * sysdeps/libm-ieee754/s_nextafter.c: Likewise. + * sysdeps/libm-ieee754/s_rint.c: Likewise. + * sysdeps/libm-ieee754/s_scalbn.c: Likewise. + * sysdeps/libm-ieee754/s_significand.c: Likewise. + * sysdeps/libm-ieee754/s_sin.c: Likewise. + * sysdeps/libm-ieee754/s_tan.c: Likewise. + * sysdeps/libm-ieee754/s_tanh.c: Likewise. + * sysdeps/libm-ieee754/w_acos.c: Likewise. + * sysdeps/libm-ieee754/w_acosh.c: Likewise. + * sysdeps/libm-ieee754/w_sin.c: Likewise. + * sysdeps/libm-ieee754/w_atan2.c: Likewise. + * sysdeps/libm-ieee754/w_atanh.c: Likewise. + * sysdeps/libm-ieee754/w_cabs.c: Likewise. + * sysdeps/libm-ieee754/w_cosh.c: Likewise. + * sysdeps/libm-ieee754/w_drem.c: Likewise. + * sysdeps/libm-ieee754/w_exp.c: Likewise. + * sysdeps/libm-ieee754/w_fmod.c: Likewise. + * sysdeps/libm-ieee754/w_gamma.c: Likewise. + * sysdeps/libm-ieee754/w_gamma_r.c: Likewise. + * sysdeps/libm-ieee754/w_hypot.c: Likewise. + * sysdeps/libm-ieee754/w_j0.c: Likewise. + * sysdeps/libm-ieee754/w_j1.c: Likewise. + * sysdeps/libm-ieee754/w_jn.c: Likewise. + * sysdeps/libm-ieee754/w_lgamma.c: Likewise. + * sysdeps/libm-ieee754/w_lgamma_r.c: Likewise. + * sysdeps/libm-ieee754/w_log.c: Likewise. + * sysdeps/libm-ieee754/w_log10.c: Likewise. + * sysdeps/libm-ieee754/w_pow.c: Likewise. + * sysdeps/libm-ieee754/w_remainder.c: Likewise. + * sysdeps/libm-ieee754/w_scalb.c: Likewise. + * sysdeps/libm-ieee754/w_sinh.c: Likewise. + * sysdeps/libm-ieee754/w_sqrt.c: Likewise. + + Stub files for missing long double math functions. + * sysdeps/stub/e_acoshl.c: New file. + * sysdeps/stub/e_hypotl.c: New file. + * sysdeps/stub/e_j0l.c: New file. + * sysdeps/stub/e_j1l.c: New file. + * sysdeps/stub/e_jnl.c: New file. + * sysdeps/stub/e_lgammal_r.c: New file. + * sysdeps/stub/e_powl.c: New file. + * sysdeps/stub/e_rem_pio2l.c: New file. + * sysdeps/stub/e_sinhl.c: New file. + * sysdeps/stub/k_cosl.c: New file. + * sysdeps/stub/k_rem_pio2l.c: New file. + * sysdeps/stub/k_sinl.c: New file. + * sysdeps/stub/k_tanl.c: New file. + * sysdeps/stub/s_erfl.c: New file. + * sysdeps/stub/s_expm1l.c: New file. + + * sysdeps/i386/__longjmp.S: Use PSEUDO_END macro to provide + .size directive. + * sysdeps/i386/bsd-_setjmp.S: Likewise. + * sysdeps/i386/bsd-setjmp.S: Likewise. + * sysdeps/i386/memchr.S: Likewise. + * sysdeps/i386/memcmp.S: Likewise. + * sysdeps/i386/setjmp.S: Likewise. + * sysdeps/i386/stpcpy.S: Likewise. + * sysdeps/i386/stpncpy.S: Likewise. + * sysdeps/i386/strchr.S: Likewise. + * sysdeps/i386/strcspn.S: Likewise. + * sysdeps/i386/strpbrk.S: Likewise. + * sysdeps/i386/strrchr.S: Likewise. + * sysdeps/i386/strspn.S: Likewise. + * sysdeps/i386/strtok.S: Likewise. + * sysdeps/i386/i486/strcat.S: Likewise. + * sysdeps/i386/i486/strlen.S: Likewise. + * sysdeps/i386/i586/memset.S: Likewise. + * sysdeps/i386/i586/strchr.S: Likewise. + * sysdeps/i386/i586/strlen.S: Likewise. + * sysdeps/libm-i387/e_acos.S: Likewise. + * sysdeps/libm-i387/e_acosl.S: Likewise. + * sysdeps/libm-i387/e_asin.S: Likewise. + * sysdeps/libm-i387/e_asinl.S: Likewise. + * sysdeps/libm-i387/e_atan2.S: Likewise. + * sysdeps/libm-i387/e_atan2l.S: Likewise. + * sysdeps/libm-i387/e_exp.S: Likewise. + * sysdeps/libm-i387/e_expl.S: Likewise. + * sysdeps/libm-i387/e_fmod.S: Likewise. + * sysdeps/libm-i387/e_fmodl.S: Likewise. + * sysdeps/libm-i387/e_log.S: Likewise. + * sysdeps/libm-i387/e_log10.S: Likewise. + * sysdeps/libm-i387/e_log10l.S: Likewise. + * sysdeps/libm-i387/e_logl.S: Likewise. + * sysdeps/libm-i387/e_remainder.S: Likewise. + * sysdeps/libm-i387/e_remainderf.S: Likewise. + * sysdeps/libm-i387/e_remainderl.S: Likewise. + * sysdeps/libm-i387/e_scalb.S: Likewise. + * sysdeps/libm-i387/e_scalbl.S: Likewise. + * sysdeps/libm-i387/e_sqrt.S: Likewise. + * sysdeps/libm-i387/e_sqrtf.S: Likewise. + * sysdeps/libm-i387/e_sqrtl.S: Likewise. + * sysdeps/libm-i387/s_atan.S: Likewise. + * sysdeps/libm-i387/s_atanf.S: Likewise. + * sysdeps/libm-i387/s_atanl.S: Likewise. + * sysdeps/libm-i387/s_ceil.S: Likewise. + * sysdeps/libm-i387/s_ceilf.S: Likewise. + * sysdeps/libm-i387/s_ceill.S: Likewise. + * sysdeps/libm-i387/s_copysign.S: Likewise. + * sysdeps/libm-i387/s_copysignf.S: Likewise. + * sysdeps/libm-i387/s_copysignl.S: Likewise. + * sysdeps/libm-i387/s_cos.S: Likewise. + * sysdeps/libm-i387/s_cosf.S: Likewise. + * sysdeps/libm-i387/s_cosl.S: Likewise. + * sysdeps/libm-i387/s_finite.S: Likewise. + * sysdeps/libm-i387/s_finitef.S: Likewise. + * sysdeps/libm-i387/s_finitel.S: Likewise. + * sysdeps/libm-i387/s_floor.S: Likewise. + * sysdeps/libm-i387/s_floorf.S: Likewise. + * sysdeps/libm-i387/s_floorl.S: Likewise. + * sysdeps/libm-i387/s_ilogb.S: Likewise. + * sysdeps/libm-i387/s_ilogbf.S: Likewise. + * sysdeps/libm-i387/s_ilogbl.S: Likewise. + * sysdeps/libm-i387/s_log1p.S: Likewise. + * sysdeps/libm-i387/s_log1pf.S: Likewise. + * sysdeps/libm-i387/s_log1pl.S: Likewise. + * sysdeps/libm-i387/s_logb.S: Likewise. + * sysdeps/libm-i387/s_logbf.S: Likewise. + * sysdeps/libm-i387/s_logbl.S: Likewise. + * sysdeps/libm-i387/s_rint.S: Likewise. + * sysdeps/libm-i387/s_rintf.S: Likewise. + * sysdeps/libm-i387/s_rintl.S: Likewise. + * sysdeps/libm-i387/s_scalbn.S: Likewise. + * sysdeps/libm-i387/s_scalbnf.S: Likewise. + * sysdeps/libm-i387/s_scalbnl.S: Likewise. + * sysdeps/libm-i387/s_significand.S: Likewise. + * sysdeps/libm-i387/s_significandf.S: Likewise. + * sysdeps/libm-i387/s_significandl.S: Likewise. + * sysdeps/libm-i387/s_sin.S: Likewise. + * sysdeps/libm-i387/s_sinf.S: Likewise. + * sysdeps/libm-i387/s_sinl.S: Likewise. + * sysdeps/libm-i387/s_tan.S: Likewise. + * sysdeps/libm-i387/s_tanf.S: Likewise. + * sysdeps/libm-i387/s_tanl.S: Likewise. + + * sysdeps/unix/sysv/linux/i386/clone.S: Add .size directive. + * sysdeps/unix/sysv/linux/i386/mmap.S. Likewise. + * sysdeps/unix/sysv/linux/i386/socket.S. Likewise. + * sysdeps/unix/sysv/linux/i386/sysdep.S. More compact .size line. + + * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): New macro. Used + to provide .size directive on ELF systems. + + * sysdeps/unix/sysv/linux/i386/profil-counter.h: Include + and rename parameter type to sigcontext. + * sysdeps/unix/sysv/linux/i386/sigcontext.h New file. + + * sysdeps/unix/sysv/linux/i386/syscall.S: From Linux 2.1 on + negative values might occur as positive results. Test against + -125 to decide for error or not. + * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise for system calls. + +Thu Oct 3 21:07:58 1996 Andreas Schwab + + * elf/dl-open.c: Use _DYNAMIC instead of _dl_start to decide + whether this is a statically linked program. The latter is now + always defined. + +Fri Oct 4 17:30:22 1996 Thomas Bushnell, n/BSG + + * hurd/hurdsig.c (signal_allowed): Add SIGWINCH to the list that + controlling terminals are allowed to send. + + * hurd/alloc-fd.c (_hurd_alloc_fd): If SIZE is so big that the + table is larger than the allowable address size, then return + failure. + +Fri Oct 4 02:08:10 1996 Bang Jun-Young + + * po/ko.po: Update. + +Fri Oct 4 02:07:46 1996 Michel Robitaille + + * po/fr.po: New file. + +Fri Oct 4 05:04:52 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/sigcontext.h: New file. + + Add support for MD5 crypt replacement. + * Makefile (subdirs): Add crypt. + * shlib-versions: Add entry for libcrypt. + * crypt/md5-crypt.c: New file. + * crypt/md5.c: New file. + * crypt/md5.h: New file. + * sysdeps/generic/crypt-entry.c: New file. + * sysdeps/generic/crypt.h: New file. + +Thu Oct 3 20:53:23 1996 Andreas Jaeger + + * dirent/tst-seekdir.c: Provide correct prototypes. + * io/test-utime.c: Likewise. + * malloc/mallocbug.c: Likewise. + * posix/testfnm.c: Likewise. + * stdio-common/xbug.c: Likewise. + * sysdeps/posix/cuserid.c: Likewise. + +Wed Oct 2 13:33:48 1996 Richard Henderson + + Provide optimized string functions for Alpha processors. + * sysdeps/alpha/bzero.S: New file. + * sysdeps/alpha/memset.S: New file. + * sysdeps/alpha/stpcpy.S: New file. + * sysdeps/alpha/stpncpy.S: New file. + * sysdeps/alpha/strcat.S: New file. + * sysdeps/alpha/strchr.S: New file. + * sysdeps/alpha/strcpy.S: New file. + * sysdeps/alpha/strncat.S: New file. + * sysdeps/alpha/strncpy.S: New file. + * sysdeps/alpha/strrchr.S: New file. + * sysdeps/alpha/stxcpy.S: New file. + * sysdeps/alpha/stxncpy.S: New file. + + * sysdeps/alpha/Makefile [$(sudir)==string]: Add stxcpy and + stxncpy to sysdep_routines. + Minor correction. + +Thu Oct 3 13:33:31 1996 Thomas Bushnell, n/BSG + + * sysdeps/generic/gnu/types.h: Added __loff_t. + Don't declare key_t here. + + * hurd/alloc-fd.c (_hurd_alloc_fd): If realloc fails, bother to + set errno (to ENOMEM). + +Wed Oct 2 13:41:48 1996 Ulrich Drepper + + * sysdeps/generic/strtok.c: Don't set stored pointer to NULL when + nothing is found. This guarantees all subsequent calls behave + the same. + * sysdeps/generic/strtok_r.c: Likewise. + +Mon Sep 30 22:27:36 1996 Andreas Schwab + + * sysdeps/posix/tempname.c (__stdio_gen_tempname): Don't declare + `i' as const. + +Mon Sep 30 22:38:29 1996 Richard Henderson + + * sysdeps/generic/strtok.c: When we hit EOS, don't set olds to + NULL immediately; we're going to get called one more time. + * sysdeps/generic/strtok_r.c: Likewise. + +Tue Oct 1 09:12:21 1996 Ulrich Drepper + + * locale/programs/ld-time.c: Always write some bytes at the end of + the file even if no `era's are specified. + + * stdio-common/tmpname.c (tmpbuf): Don't define as array of + pointers. + +Tue Oct 1 01:43:11 1996 Ulrich Drepper + + * libio/iofclose.c: Move unlocking to right position. + +Mon Sep 30 03:08:34 1996 Richard Henderson + + * misc/Makefile: Kill force-wrapper. + * misc/force-wrapper.c: Delete. + + * elf/eval.c: Add . + + * gmon/sys/gmon_out.h: Nonsense like `char foo[sizeof(char*)]' + followed by `bcopy(&ptr, &foo, sizeof(foo))' helps portability + and binary compatibility not at all. Better to do `char *foo' + followed by `foo = ptr' as it is much cleaner. + (struct gmon_hdr): Fix version. + (struct gmon_hist_hdr): Fix low_pc, high_pc, hist_size, prof_rate. + (struct gmon_cg_arc_record): Fix from_pc, self_pc, count. + * gmon/gmon.c: De-ansidecl-ify. + (write_hist): De-bcopy-fy. + (write_call_graph): Likewise. + + * gmon/mcount.c: Assume _MCOUNT_DECL does the entire declaration. + * sysdeps/alpha/machine-gmon.h: Update _MCOUNT_DECL. + * sysdeps/generic/machine-gmon.h: Likewise. + + * resolv/netdb.h: Add __set_h_errno to mimic __set_errno. + * nss/getXXent_r.c: Use __set_h_errno to set h_errno in all funcs. + * nss/nss_dns/dns-network.c: Likewise. + * resolv/getunamaddr.c: Likewise. Also use __set_errno where needed. + * resolv/getnetnamadr.c: Likewise. + * resolv/res_debug.c: Likewise. + * resolv/res_mkquery.c: Likewise. + * resolv/res_query.c: Likewise. + + * libio/clearerr_u.c: It's not necessary to define __ protected + function so don't do it. + * libio/feof_u.c, libio/ferror_u.c, libio/fputc_u.c, + libio/getc_u.c, libio/getchar_u.c, libio/iofflush_u.c: Likewise. + + * libio/fgetc.c: Avoid a warning by casting _IO_funlockfile for + the cleanup registrar. + * libio/fputc.c, libio/freopen.c, libio/fseek.c, libio/getc.c, + libio/getchar.c, libio/iofclose.c, libio/iofflush.c, + libio/iofgetpos.c, libio/iofgets.c, libio/iofputs.c, + libio/iofread.c, libio/iofsetpos.c, libio/ioftell.c, + libio/iofwrite.c, libio/iogetdelim.c, libio/iogets.c, + libio/ioputs.c, libio/iosetbuffer.c, libio/iosetvbuf.c, + libio/ioungetc.c, libio/putc.c, libio/putchar.c, libio/rewind.c: + Likewise. + + * locale/programs/ld-ctype.c: Include . + + * login/login_tty.c: Get login_tty prototype from . + + * posix/sys/types.h: Change #defines to typedefs. This is looking + forward to more comprehensive namespace cleanups for C++. + * posix/unistd.h: Likewise for ssize_t. + + * pwd/getpw.c: Prototype and rename getpw -> __getpw and add a + weak alias. + + * resolv/base64.c: Don't do `for (NULL; ...)' as it causes + `statement with no effect' warnings. + * resolv/inet_neta.c: Include for strlen. + + * stdio-common/getline.c: Undef ssize_t before libio redefinition. + * stdio-common/tstgetln.c: Same. De-ansidecl-ify. + * stdio-common/vfprintf.c: Same for va_list. + * stdio-common/vfscanf.c: Same. + * stdio-common/reg-printf.c: Prototype the __ function. + * stdio-common/scanf.c [USE_IN_LIBIO]: Include for + _IO_vscanf declaration. + + * string/tester.c: Tsk, tsk. Don't cast pointers to int, + but to unsigned long for the health of 64-bit systems. + + * sunrpc/svc_udp.c: Define MAX only if we don't have it yet. + Many system's pulls this in. + + * sysdeps/generic/dl-cache.c: Kill the bottom half of the + patch doubled file. + + * sysdeps/generic/pty.c (forkpty): Get login_tty decl from + instead of defining it locally. + + * sysdeps/posix/sigvec.c: Prototype wrapper_handler and convert_mask. + * sysdeps/stub/chflags.c: Prototype chflags. + * sysdeps/stub/fchflags.c: Prototype fchflags. + * sysdeps/stub/sstk.c: Prototype sstk. + + * sysdeps/unix/alpha/sysdep.S: Add strong alias from errno + variable to __errno. Update __syscall_error to store to both + the global and per-thread variables. + + * sysdeps/unix/sysv/linux/init-first.c: Change include of + init-first.h from "" to <> as "" does not search the include path. + Prototype _dl_start. + +Sun Sep 29 14:41:17 1996 Andreas Schwab + + * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Make it a + pattern rule to get the right stem. + +Sat Sep 28 01:30:06 1996 Andreas Schwab + + * Makefile ($(objpfx)version-info.h): Fix typo in previous change. + +Sat Sep 28 00:44:38 1996 Andreas Schwab + + * sysdeps/posix/euidaccess.c (__set_errno): Fix typo. + +Sat Sep 28 00:40:38 1996 Andreas Schwab + + * malloc/free.c (_free_internal): Don't call free recursively, use + the internal functions instead. + +Sat Sep 28 00:23:20 1996 Andreas Schwab + + * sysdeps/posix/tempname.c (__stdio_gen_tempname) [USE_IN_LIBIO && + _IO_MTSAFE_IO]: Allocate and initialize the file lock. + +Fri Sep 27 23:58:17 1996 Andreas Schwab + + * catgets/gencat.c (main): Print version information on stdout, + not stderr. + * db/makedb.c: Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/localedef.c: Likewise. + +Mon Sep 30 00:14:26 1996 Ulrich Drepper + + Add implementation of netgroup. + * inet/Makefile (distributes): Add netgroup.h. + (routines): Add getnetgrent.c and getnetgrent_r.c. + * inet/getnetgrent.c: New file. + * inet/getnetgrent_r.c: New file. + * inet/netgroup.h: New file. + * netgroup.h: New file. + * nsswitch.h: New file. + * nss/Makefile (databases): Add getgrp. + * nss/databases.def: Add netgroup. + * nss/db-Makefile: Add rules for netgroup. + * nss/netgrp-lookup.c: New file. + * nss/nss.h: Add new status value NSS_STATUS_RETURN which will + always return without a check of the transition table. + * nss/nsswitch.h (struct service_user): Extend actions array to + five elements. + * nss/nsswitch.c (__nss_next): Allow NSS_STATUS_RETURN as legal + status value. + (nss_parse_service_list): Initialize action for NSS_STATUS_RETURN + to NSS_ACTION_RETURN. + * nss/nss_db/db-netgrp.c: New file. + * nss/nss_files/files-netgrp.c: New file. + * nss/nsswitch.conf: Add entry for netgroup. + * resolv/netdb.h: Add prototypes for netgroup functions. + + * nss/nss_db/db-XXX.c: Use `enum nss_status' type when status + value is used. + +Sun Sep 29 12:55:58 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/syscalls.list: Change function name for + _llseek to _llseek (not llseek). + Reported by Matthias Urlichs . + +Sun Sep 29 05:34:32 1996 Ulrich Drepper + + * inet/rcmd.c: Remove definition of MIN. + +Sat Sep 28 14:22:51 1996 Ulrich Drepper + + * dirent/readdir_r.c: Removed. We indeed need a real implementation. + * sysdeps/unix/readdir_r.c: New file. + * sysdeps/unix/readdir.c: Remove check for correct parameter + values. Let them simply die. + * manual/filesys.texi: Document readdir_r. + + * sysdeps/gnu/errlist.awk: Define _sys_errlist as `const char* const'. + Proposed by Per Abrahamsen . + +Sat Sep 28 03:02:49 1996 Ulrich Drepper + + * dirent/Makefile (routines): Add readdir_r. + * dirent/readdir_r.c: New file. Wrapper around readdir.c. + * dirent/dirent.h: Add prototype for readdir_r. + + * misc/hsearch_r.c (ENTRY): Make field `used' of type `unsigned int' + to prevent warnings. + + * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): + Initialize `result'. + +Sat Sep 28 01:16:42 1996 Ulrich Drepper + + * sysdeps/generic/strsep.c: Rename to __strsep and make strsep + weak alias. + * string/string.h: Add prototype for __strsep. + * misc/mntent_r.c: Use __strsep instead of strsep to keep + namespace clean. + + * sysdeps/stub/nanosleep.c: Rename to __libc_nanosleep and make + __nanosleep and nanosleep weak aliases. + * sysdeps/unix/sysv/linux/syscalls.list: Add __nanosleep as weak + alias. + * sysdeps/unix/sysv/linux/sleep.c: Call __nanosleep instead of + nanosleep to keep namespace clean. + + * sysdeps/posix/ttyname.c (ttyname): Add cast to prevent warning. + * sysdeps/posix/ttyname_r.c (ttyname_r): Likewise. + * sysdeps/posix/getcwd.c (__getcwd): Likewise. + + * sysdeps/unix/nlist.c: Use ISO C definition since we don't always + have prototype. + + * login/Makefile (headers): Add pty.h. + * login/pty.h: New file. + * sysdeps/generic/pty.h: Include . + * login/pututline_r.c: Add cast to prevent warning. + + * gmon/gmon.c: Add prototype for __profile_frequency. + (monstartup): Add cast to prevent warning. + * sysdeps/generic/prof-freq.c: Change to use ISO C style definition. + + * locale/programs/ld-time.c (time_output): Write `era' information + in correct order. + +Sat Sep 28 00:11:08 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias + `adjtimex'. + Set caller for mlock, mlockall, mremap, munlock, and munlockall + to EXTRA. + Reported by Matthias Urlichs . + +1996-09-27 Paul Eggert + + * strftime.c (strftime): Output incomplete formats like %E + at end of string. + +1996-09-27 Paul Eggert + + * strftime.c (strftime): Add support for %EC and %Ey. + Fix support for %EY. This uses the new _nl_get_era_entry function. + +Fri Sep 27 14:12:27 1996 Ulrich Drepper + + Security related patch by Elliot Lee and + David Holland . + + * inet/rexec.c (rexec): Increase size of `num' array from 8 to 32. + * inet/ruserpass.c (ruserpass): Don't allow $HOME envvar to not exist. + + * sysdeps/generic/getenv.c (__secure_getenv): New function. Return + NULL when programs runs with SUID or SGID enabled. + * sysdeps/stub/getenv.c: Make __secure_getenv an alias of getenv. + * stdlib/stdlib.h: Add prototype for __secure_getenv. + + * locale/setlocale.c: Use __secure_getenv. + * resolv/res_init.c: Likewise. + * resolv/res_query.c: Likewise. + * inet/ruserpass.c: Likewise. + * sysdeps/posix/tempname.c: Likewise. + * malloc/mtrace.c: Likewise. + * catgets/catgets.c: Likewise. + + Make temporary file handling functions reentrant. + + * stdio-common/tmpnam.c: Rewrite to have own buffer to write + result to. The called __stdio_gen_tempname function must be + thread safe. + * stdio-common/tmpnam_r.c: New file. + * stdio/stdio.h: Add prototype for `tmpnam_r'. + Change prototype for __stdio_gen_tempname. + * stdio/libio.h: Likewise. + * sysdeps/posix/tempname.c: Add new parameters and use them instead + of static buffer. + Don't reset `indeces' when PID changed between calls. + Don't fail for long running programs when index counter once + reached the limit. + * sysdeps/stub/tempname.c: Likewise. + * stdio-common/tempnam.c: Provide local buffer as extra argument + to __stdio_gen_tempname. This makes this function reentrant. + * stdio-common/tmpfile.c: Likewise. + * stdio-common/temptest.c: Provide extra argument to + __stdio_gen_tempname. + * manual/filesys.texi: Describe tmpnam_r and add comments about + reentrancy of the functions. + + * inet/rcmd.c: Fixed address length handling. + + * sysdeps/posix/mk-stdiolim.c: Count final \0 byte in L_tmpnam value. + + * time/strftime.c: Remove unused variables alt_digits and + end_alt_digits. + + * sysdeps/unix/sysv/linux/sys/sysinfo.h: Correct prototype names + for get_nprocs and get_nprocs_conf. * sysdeps/generic/sys/sysinfo.h: Likewise. - * sysdeps/i386/init-first.c: Likewise. - * sysdeps/i386/ldbl2mpn.c: Likewise. - * sysdeps/i386/memcopy.h: Likewise. - * sysdeps/i386/i586/memcopy.h: Likewise. - * sysdeps/i860/memcopy.h: Likewise. - * sysdeps/m68k/__longjmp.c: Likewise. - * sysdeps/m68k/fpu_control.h: Likewise. - * sysdeps/m68k/memcopy.h: Likewise. - * sysdeps/m68k/s_isinfl.c: Likewise. - * sysdeps/m68k/s_isnanl.c: Likewise. - * sysdeps/m68k/setjmp.c: Likewise. - * sysdeps/mach/_strerror.c: Likewise. - * sysdeps/mach/getsysstats.c: Likewise. - * sysdeps/mach/mprotect.c: Likewise. - * sysdeps/mach/munmap.c: Likewise. - * sysdeps/mach/pagecopy.h: Likewise. - * sysdeps/mach/start.c: Likewise. - * sysdeps/mach/sysdep.h: Likewise. - * sysdeps/mach/alpha/machine-lock.h: Likewise. - * sysdeps/mach/alpha/machine-sp.h: Likewise. - * sysdeps/mach/alpha/sysdep.h: Likewise. - * sysdeps/mach/alpha/thread_state.h: Likewise. - * sysdeps/mach/hppa/machine-lock.h: Likewise. - * sysdeps/mach/hurd/access.c: Likewise. - * sysdeps/mach/hurd/closedir.c: Likewise. - * sysdeps/mach/hurd/dirstream.h: Likewise. - * sysdeps/mach/hurd/dl-cache.c: Likewise. - * sysdeps/mach/hurd/euidaccess.c: Likewise. - * sysdeps/mach/hurd/fdatasync.c: Likewise. - * sysdeps/mach/hurd/fexecve.c: Likewise. - * sysdeps/mach/hurd/fork.c: Likewise. - * sysdeps/mach/hurd/fpathconf.c: Likewise. - * sysdeps/mach/hurd/fstatfs.c: Likewise. - * sysdeps/mach/hurd/fxstat.c: Likewise. - * sysdeps/mach/hurd/getcwd.c: Likewise. - * sysdeps/mach/hurd/getpriority.c: Likewise. - * sysdeps/mach/hurd/getrlimit.c: Likewise. - * sysdeps/mach/hurd/getsid.c: Likewise. - * sysdeps/mach/hurd/group_member.c: Likewise. - * sysdeps/mach/hurd/kill.c: Likewise. - * sysdeps/mach/hurd/lchown.c: Likewise. - * sysdeps/mach/hurd/lxstat.c: Likewise. - * sysdeps/mach/hurd/mig-reply.c: Likewise. - * sysdeps/mach/hurd/mmap.c: Likewise. - * sysdeps/mach/hurd/opendir.c: Likewise. - * sysdeps/mach/hurd/pathconf.c: Likewise. - * sysdeps/mach/hurd/profil.c: Likewise. - * sysdeps/mach/hurd/ptrace.c: Likewise. - * sysdeps/mach/hurd/readdir.c: Likewise. - * sysdeps/mach/hurd/readdir_r.c: Likewise. - * sysdeps/mach/hurd/send.c: Likewise. - * sysdeps/mach/hurd/sendto.c: Likewise. - * sysdeps/mach/hurd/setpriority.c: Likewise. - * sysdeps/mach/hurd/statfs.c: Likewise. - * sysdeps/mach/hurd/ttyname.c: Likewise. - * sysdeps/mach/hurd/uname.c: Likewise. - * sysdeps/mach/hurd/xstat.c: Likewise. - * sysdeps/mach/hurd/alpha/exc2signal.c: Likewise. - * sysdeps/mach/hurd/alpha/longjmp-ts.c: Likewise. - * sysdeps/mach/hurd/alpha/sigreturn.c: Likewise. - * sysdeps/mach/hurd/alpha/trampoline.c: Likewise. - * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise. - * sysdeps/mach/hurd/hppa/trampoline.c: Likewise. - * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise. - * sysdeps/mach/hurd/i386/exc2signal.c: Likewise. - * sysdeps/mach/hurd/i386/intr-msg.h: Likewise. - * sysdeps/mach/hurd/i386/longjmp-ts.c: Likewise. - * sysdeps/mach/hurd/i386/sigreturn.c: Likewise. - * sysdeps/mach/hurd/i386/trampoline.c: Likewise. - * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise. - * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise. - * sysdeps/mach/hurd/sys/param.h: Likewise. - * sysdeps/mach/i386/machine-lock.h: Likewise. - * sysdeps/mach/i386/machine-sp.h: Likewise. - * sysdeps/mach/i386/sysdep.h: Likewise. - * sysdeps/mach/i386/thread_state.h: Likewise. + + * stdlib/test-canon.c: Finally do the right fix. + + * misc/Makefile: Only compile force-wrapper when compiling + reentrant libc. + +Fri Sep 27 03:49:56 1996 Ulrich Drepper + + Add support for cancelable system calls. + + * csu/initfini.c: Make in crti.o reference to symbol + __libc_force_cancel_wrapper when compiling reentrant version. + * misc/Makefile (routines): Add force-wrapper. + * misc/force-wrapper.c: New file. + + * posix/system.c: Rename function to __libc_system and make system + a weak alias. + * sysdeps/stub/system.c: Likewise. + * posix/wait.c: Rename function to __libc_wait and make __wait a + weak alias. De-ANSI-fy. + * sysdeps/standalone/read.c: Rename function to __libc_read and + make __read a weak alias. + * sysdeps/stub/read.c: Likewise. + * sysdeps/standalone/write.c: Rename function to __libc_write and + make __write a weak alias. + * sysdeps/stub/write.c: Likewise. + * sysdeps/stub/tcdrain.c: Rename function to __libc_tcdrain and + make tcdrain a weak alias. + * sysdeps/unix/bsd/tcdrain.c: Likewise. + * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Likewise. + * sysdeps/unix/sysv/tcdrain.c: Likewise. + * sysdeps/unix/sysv/linux/tcdrain.c: Likewise. + * sysdeps/unix/bsd/bsd4.4/wait.c: Rename function to __libc_wait + and make __wait a weak alias. + * sysdeps/stub/waitpid.c: Rename function to __libc_waitpid and + make __waitpid a weak alias. + * sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise. + * sysdeps/unix/sysv/linux/waitpid.c: Likewise. + * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise. + * sysdeps/unix/common/pause.c: Rename function to __libc_pause + and make pause a weak alias. De-ANSI-fy. + + * sysdeps/unix/syscalls.list: Change name for close, fcntl, fsync, + lseek, open, read, and write to have __libc_ prefix and make old + names a weak alias. + * sysdeps/unix/mman/syscalls.list: Likewise for msync. + * sysdeps/unix/sysv/linux/syscalls.list: Likewise for nanosleep. + + * io/creat.c: De-ANSI-fy. + + * sysdeps/unix/sysv/linux/syscalls.list: Add pause. + +Thu Sep 26 19:15:55 1996 Ulrich Drepper + + * misc/mntent.h: Add MNTTYPE_* and MNTOPT_* macros. + Reported by Hans Grobler . + +Thu Sep 26 14:40:10 1996 Ulrich Drepper + + * sysdeps/posix/pathconf.c: Pass descriptor for just opened file + to fpathconf. + Reported by Martin von Loewis . + +Thu Sep 26 04:02:43 1996 Ulrich Drepper + + * locale/programs/locfile.c (write_locale_data): Allocate room + even for file name for LC_MESSAGES locale. + (locafile_read): `tok_era' must be handled as a string list. + * locale/programs/ld-time.c: Finish correction of handling `era'. + * locale/C-time.c (_nl_C_LC_TIME): Add initializer for new fields. + * locale/categories.def: Add postload function for LC_TIME. + * locale/setlocale.c: Make lock global and rename to + __libc_setlocale_lock. + * locale/localeinfo.h (struct era_entry): New type. Used in strftime. + Add prototypes for _nl_get_era_entry and _nl_get_alt_digit. + * locale/lc-time.c (_nl_postload_time): New function. Initialize + lazy intialization. + (_nl_get_era_entry): New function. Return era entry which corresponds + to given year. + (_nl_get_alt_digit): New function. Return string with alternate + digit representation for given number. + + * time/strftime.c (strftime): Use _nl_get_alt_digit to get + string representing alternate digit notation. + +Wed Sep 25 17:31:55 1996 Ulrich Drepper + + * sysdeps/generic/waitstatus.h (union wait): Add w_status field. + Reported by Hans Grobler . + + * elf/rtld.c (dl_main): Process LD_PRELOAD before loading + ld.so.preload. Suggested by David Engel . + +Wed Sep 25 13:10:57 1996 Ulrich Drepper + + * catgets/gencat.c (main): Change --version again because RMS wants + the package name in parentheses. + * db/makedb.c: Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/localedef.c: Likewise. + +Tue Sep 24 01:28:05 1996 Andreas Schwab + + * Makefile ($(objpfx)sysd-dirs): Depend on Subdirs files, command + rewritten. + ($(objpfx)version-info.h): Depend on Banner files, command + rewritten. + +Wed Sep 25 02:44:41 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sleep.c: New file. Based on nanosleep. + +Tue Sep 24 21:46:02 1996 Ulrich Drepper + + * shadow/lckpwdf.c (PWD_LOCKFILE): Change to /etc/lock.pwd to be + on the same device as the password file. + * shadow/shadow.h (struct spwd): Change type of numeric fields + to `long int' since there value are days, not seconds. + * shadow/putspent.c: Change casts from time_t to `long int'. + * shadow/sgetspent_r.c (LINE_READER): Likewise. + +Mon Sep 23 23:05:24 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/errnos.h: Define __set_errno to make + sure the thread specific variable is set as well as the global + variable. + * sysdeps/mach/hurd/errnos.awk: Define macro for source code + compatibility. + * sysdeps/stub/errnos.h: Likewise. + * sysdeps/unix/bsd/bsd4.4/errnos.h: Likewise. + + * shadow/putspent.c: Don't include . + + * dirent/scandir.c (scandir): Use __set_errno to set errno + variable. + * elf/dl-load.c (open_path): Likewise. + * inet/rcmd.c (rcmd): Likewise. + (rresvport): Likewise. + * intl/dcgettext.c [!__set_errno]: Define __set_errno. + (DCGETTEXT): Use __set_errno to set errno variable. + * io/fts.c (fts_open): Likewise. + (fts_close): Likewise. + (fts_read): Likewise. + (fts_set): Likewise. + (fts_children): Likewise. + (fts_build): Likewise. + (fts_stat): Likewise. + * io/ftw.c (ftw_dir): Likewise. + (ftw): Likewise. + * io/getwd.c (getwd): Likewise. + * io/lockf.c (lockf): Likewise. + * libio/libioP.h [EINVAL]: Use __set_errno to define MAYBE_SET_EINVAL. + * libio/iofdopen.c (_IO_fdopen): Use MAYBE_SET_EINVAL to errno. + * libio/iogetdelim.c (_IO_getdelim): Likewise. + * libio/fileops.c (_IO_file_open): Use __set_errno to set errno + variable. + * libio/iofgetpos.c (_IO_fgetpos): Likewise. + * libio/iofsetpos.c (_IO_fsetpos): Likewise. + * libio/ioftell.c (_IO_ftell): Likewise. + * locale/loadlocale.c (_nl_load_locale): Likewise. + * locale/nl_langinfo.c (nl_langinfo): Likewise. + * locale/setlocale.c (ERROR_RETURN): Likewise. + * login/getutid_r (__getutid_r): Likewise. + * login/getutline_r (__getutline_r): Likewise. + * login/login.c (tty_name): Likewise. + * login/oututline_r.c (__pututline_r): Likewise. + * malloc/malloc.c (morecore): Likewise. + * misc/efgcvt_r.c (fcvt_r): Likewise. + * misc/hsearch_r.c (hcreate_r): Likewise. + (hdestroy_r): Likewise. + (hsearch_r): Likewise. + * nss/nsswitch.c (__nss_configure_lookup): Likewise. + * nss/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Likewise. + (_nss_dns_gethostbyaddr_r): Likewise. + * nss/nss_files/files-XXX.c (internal_getent): Likewise. + * nss/nss_files/files-parse.c (parse_list): Likewise. + * posix/confstr.c (confstr): Likewise. De-ANSI-fy. + * posix/execvp.c (execvp): Likewise. + * posix/glob.c: Define __set_errno. + (glob): Use __set_errno to set errno variable. + (glob_in_dir): Likewise. + * pwd/getpw.c: Likewise. De-ANSI-fy. + * pwd/putpwent.c: Likewise. + * resolv/inet_net_ntop.c: Likewise. + * resolv/inet_net_pton.c: Likewise. + * resolv/inet_neta.c: Likewise. + * resolv/inet_ntop.c: Likewise. + * resolv/inet_pton.c: Likewise. + * resolv/res_query.c (res_search): Likewise. + * resolv/res_send.c (Aerror): Likewise. + (Perror): Likewise. + (res_send): Likewise. + * signal/sigaddset.c: Likewise. De-ANSI-fy. + * signal/sigdelset.c: Likewise. + * signal/sigempty.c: Likewise. + * signal/sigfillset.c: Likewise. + * signal/sigismem.c: Likewise. + * stdio/fclose.c: Likewise. + * stdio/feof.c: Likewise. + * stdio/ferror.c: Likewise. + * stdio/fflush.c: Likewise. + * stdio/fgetc.c: Likewise. + * stdio/fgetpos.c: Likewise. + * stdio/fgets.c: Likewise. + * stdio/fileno.c: Likewise. + * stdio/fmemopen.c: Likewise. + * stdio/fopen.c: Likewise. + * stdio/fputc.c: Likewise. + * stdio/fread.c: Likewise. + * stdio/freopen.c: Likewise. + * stdio/fseek.c: Likewise. + * stdio/fsetpos.c: Likewise. + * stdio/ftell.c: Likewise. + * stdio/fwrite.c: Likewise. + * stdio/getdelim.c: Likewise. + * stdio/gets.c: Likewise. + * stdio/glue.c: Likewise. + * stdio/internals.c: Likewise. + * stdio/memstream.c: Likewise. + * stdio/setvbuf.c: Likewise. + * stdio/ungetc.c: Likewise. + * stdio/vsscanf.c: Likewise. + * stdio-common/reg-printf.c: Likewise. + * stdio-common/vfprintf.c: Likewise. + * stdio-common/vfscanf.c: Likewise. + * stdlib/canonicalize.c: Likewise. + * stdlib/msort.c: Likewise. + * stdlib/random_r.c: Likewise. + * stdlib/strfmon.c: Likewise. + * stdlib/strtod.c: Likewise. + * stdlib/strtol.c: Likewise. + * sunrpc/bindrsvprt.c: Likewise. + * time/asctime.c: Likewise. + * time/localtime.c: Likewise. + * wcsmbs/mbrtowc.c: Likewise. + * wcsmbs/mbsnrtowcs.c: Likewise. + * wcsmbs/mbsrtowcs.c: Likewise. + * wcsmbs/wcrtomb.c: Likewise. + * wcsmbs/wcsnrtombs.c: Likewise. + * wcsmbs/wcsrtombs.c: Likewise. + * wcsmbs/wcstok.c: Likewise. + * sysdeps/generic/ftime.c: Likewise. + * sysdeps/generic/pty.c: Likewise. + * sysdeps/generic/setenv.c: Likewise. + * sysdeps/generic/speed.c: Likewise. + * sysdeps/generic/sysd-stdio.c: Likewise. + * sysdeps/generic/uname.c: Likewise. + * sysdeps/generic/vlimit.c: Likewise. + * sysdeps/libm-ieee754/k_standard.c: Likewise. + * sysdeps/libm-ieee754/s_ldexp.c: Likewise. + * sysdeps/libm-ieee754/s_ldexpf.c: Likewise. + * sysdeps/libm-ieee754/s_ldexpl.c: Likewise. + * sysdeps/libm-ieee754/w_scalb.c: Likewise. + * sysdeps/libm-ieee754/w_scalbf.c: Likewise. + * sysdeps/libm-ieee754/w_scalbl.c: Likewise. * sysdeps/posix/dup2.c: Likewise. + * sysdeps/posix/euidaccess.c: Likewise. + * sysdeps/posix/fdopen.c: Likewise. * sysdeps/posix/flock.c: Likewise. - * sysdeps/posix/getdtsz.c: Likewise. + * sysdeps/posix/fpathconf.c: Likewise. + * sysdeps/posix/getcwd.c: Likewise. * sysdeps/posix/gettimeofday.c: Likewise. * sysdeps/posix/isatty.c: Likewise. + * sysdeps/posix/isfdtype.c: Likewise. * sysdeps/posix/killpg.c: Likewise. - * sysdeps/posix/mk-stdiolim.c: Likewise. - * sysdeps/posix/profil.c: Likewise. + * sysdeps/posix/mkstemp.c: Likewise. + * sysdeps/posix/mktemp.c: Likewise. + * sysdeps/posix/pathconf.c: Likewise. + * sysdeps/posix/pipestream.c: Likewise. * sysdeps/posix/remove.c: Likewise. * sysdeps/posix/rename.c: Likewise. + * sysdeps/posix/sigintr.c: Likewise. + * sysdeps/posix/signal.c: Likewise. * sysdeps/posix/sigsuspend.c: Likewise. + * sysdeps/posix/sigvec.c: Likewise. + * sysdeps/posix/sleep.c: Likewise. + * sysdeps/posix/sysconf.c: Likewise. + * sysdeps/posix/system.c: Likewise. * sysdeps/posix/tempname.c: Likewise. * sysdeps/posix/truncate.c: Likewise. - * sysdeps/posix/utimes.c: Likewise. - * sysdeps/posix/wait.c: Likewise. + * sysdeps/posix/ttyname.c: Likewise. + * sysdeps/posix/ttyname_r.c: Likewise. * sysdeps/posix/wait3.c: Likewise. - * sysdeps/rs6000/memcopy.h: Likewise. - * sysdeps/sparc/memcopy.h: Likewise. * sysdeps/standalone/close.c: Likewise. - * sysdeps/standalone/dirstream.h: Likewise. - * sysdeps/standalone/filedesc.h: Likewise. * sysdeps/standalone/open.c: Likewise. * sysdeps/standalone/read.c: Likewise. - * sysdeps/standalone/standalone.h: Likewise. * sysdeps/standalone/write.c: Likewise. - * sysdeps/standalone/bits/stdio_lim.h: Likewise. - * sysdeps/standalone/i386/i386.h: Likewise. - * sysdeps/standalone/m68k/m68020/m68020.h: Likewise. * sysdeps/stub/__longjmp.c: Likewise. * sysdeps/stub/accept.c: Likewise. * sysdeps/stub/access.c: Likewise. @@ -6451,8 +5753,6 @@ * sysdeps/stub/alarm.c: Likewise. * sysdeps/stub/bind.c: Likewise. * sysdeps/stub/brk.c: Likewise. - * sysdeps/stub/bsd-_setjmp.c: Likewise. - * sysdeps/stub/bsd-setjmp.c: Likewise. * sysdeps/stub/chdir.c: Likewise. * sysdeps/stub/chflags.c: Likewise. * sysdeps/stub/chmod.c: Likewise. @@ -6464,13 +5764,14 @@ * sysdeps/stub/connect.c: Likewise. * sysdeps/stub/ctermid.c: Likewise. * sysdeps/stub/cuserid.c: Likewise. - * sysdeps/stub/dbl2mpn.c: Likewise. - * sysdeps/stub/dirstream.h: Likewise. + * sysdeps/stub/dirfd.c: Likewise. * sysdeps/stub/dup.c: Likewise. * sysdeps/stub/dup2.c: Likewise. - * sysdeps/stub/exc2signal.c: Likewise. + * sysdeps/stub/euidaccess.c: Likewise. * sysdeps/stub/execve.c: Likewise. + * sysdeps/stub/fchdir.c: Likewise. * sysdeps/stub/fchflags.c: Likewise. + * sysdeps/stub/fchmod.c: Likewise. * sysdeps/stub/fchown.c: Likewise. * sysdeps/stub/fcntl.c: Likewise. * sysdeps/stub/fdopen.c: Likewise. @@ -6478,23 +5779,26 @@ * sysdeps/stub/flock.c: Likewise. * sysdeps/stub/fork.c: Likewise. * sysdeps/stub/fpathconf.c: Likewise. - * sysdeps/stub/fpu_control.h: Likewise. * sysdeps/stub/fstatfs.c: Likewise. * sysdeps/stub/fsync.c: Likewise. * sysdeps/stub/ftruncate.c: Likewise. * sysdeps/stub/fxstat.c: Likewise. * sysdeps/stub/getcwd.c: Likewise. + * sysdeps/stub/getdents.c: Likewise. * sysdeps/stub/getdomain.c: Likewise. * sysdeps/stub/getdtsz.c: Likewise. * sysdeps/stub/getegid.c: Likewise. + * sysdeps/stub/getenv.c: Likewise. * sysdeps/stub/geteuid.c: Likewise. * sysdeps/stub/getgid.c: Likewise. * sysdeps/stub/getgroups.c: Likewise. * sysdeps/stub/gethostid.c: Likewise. * sysdeps/stub/gethostname.c: Likewise. * sysdeps/stub/getitimer.c: Likewise. + * sysdeps/stub/getlogin.c: Likewise. + * sysdeps/stub/getlogin_r.c: Likewise. + * sysdeps/stub/getpagesize.c: Likewise. * sysdeps/stub/getpeername.c: Likewise. - * sysdeps/stub/getpgid.c: Likewise. * sysdeps/stub/getpid.c: Likewise. * sysdeps/stub/getppid.c: Likewise. * sysdeps/stub/getpriority.c: Likewise. @@ -6507,36 +5811,28 @@ * sysdeps/stub/gettimeofday.c: Likewise. * sysdeps/stub/getuid.c: Likewise. * sysdeps/stub/gtty.c: Likewise. - * sysdeps/stub/if_index.c: Likewise. - * sysdeps/stub/init-posix.c: Likewise. * sysdeps/stub/ioctl.c: Likewise. * sysdeps/stub/isatty.c: Likewise. * sysdeps/stub/isfdtype.c: Likewise. - * sysdeps/stub/jmp-unwind.c: Likewise. * sysdeps/stub/kill.c: Likewise. * sysdeps/stub/killpg.c: Likewise. - * sysdeps/stub/ldbl2mpn.c: Likewise. * sysdeps/stub/link.c: Likewise. * sysdeps/stub/listen.c: Likewise. - * sysdeps/stub/lockfile.c: Likewise. - * sysdeps/stub/longjmp-ts.c: Likewise. * sysdeps/stub/lseek.c: Likewise. * sysdeps/stub/lxstat.c: Likewise. - * sysdeps/stub/machine-lock.h: Likewise. - * sysdeps/stub/machine-sp.h: Likewise. - * sysdeps/stub/madvise.c: Likewise. + * sysdeps/stub/madvice.c: Likewise. * sysdeps/stub/mkdir.c: Likewise. * sysdeps/stub/mkfifo.c: Likewise. + * sysdeps/stub/mkstemp.c: Likewise. + * sysdeps/stub/mktemp.c: Likewise. * sysdeps/stub/mmap.c: Likewise. * sysdeps/stub/morecore.c: Likewise. - * sysdeps/stub/mpn2dbl.c: Likewise. - * sysdeps/stub/mpn2flt.c: Likewise. - * sysdeps/stub/mpn2ldbl.c: Likewise. * sysdeps/stub/mprotect.c: Likewise. * sysdeps/stub/msgctl.c: Likewise. * sysdeps/stub/msgget.c: Likewise. * sysdeps/stub/msgrcv.c: Likewise. * sysdeps/stub/msgsnd.c: Likewise. + * sysdeps/stub/msync.c: Likewise. * sysdeps/stub/munmap.c: Likewise. * sysdeps/stub/nanosleep.c: Likewise. * sysdeps/stub/nice.c: Likewise. @@ -6545,15 +5841,17 @@ * sysdeps/stub/opendir.c: Likewise. * sysdeps/stub/pathconf.c: Likewise. * sysdeps/stub/pause.c: Likewise. + * sysdeps/stub/pipe.c: Likewise. * sysdeps/stub/pipestream.c: Likewise. * sysdeps/stub/poll.c: Likewise. * sysdeps/stub/profil.c: Likewise. * sysdeps/stub/ptrace.c: Likewise. * sysdeps/stub/putenv.c: Likewise. + * sysdeps/stub/raise.c: Likewise. * sysdeps/stub/read.c: Likewise. * sysdeps/stub/readdir.c: Likewise. - * sysdeps/stub/readdir_r.c: Likewise. * sysdeps/stub/readlink.c: Likewise. + * sysdeps/stub/readv.c: Likewise. * sysdeps/stub/reboot.c: Likewise. * sysdeps/stub/recv.c: Likewise. * sysdeps/stub/recvfrom.c: Likewise. @@ -6588,6 +5886,7 @@ * sysdeps/stub/setgroups.c: Likewise. * sysdeps/stub/sethostid.c: Likewise. * sysdeps/stub/sethostname.c: Likewise. + * sysdeps/stub/setitimer.c: Likewise. * sysdeps/stub/setjmp.c: Likewise. * sysdeps/stub/setlogin.c: Likewise. * sysdeps/stub/setpgid.c: Likewise. @@ -6599,13 +5898,17 @@ * sysdeps/stub/setsockopt.c: Likewise. * sysdeps/stub/settimeofday.c: Likewise. * sysdeps/stub/setuid.c: Likewise. + * sysdeps/stub/shmat.c: Likewise. * sysdeps/stub/shmctl.c: Likewise. + * sysdeps/stub/shmdt.c: Likewise. * sysdeps/stub/shmget.c: Likewise. * sysdeps/stub/shutdown.c: Likewise. * sysdeps/stub/sigaction.c: Likewise. * sysdeps/stub/sigaltstack.c: Likewise. * sysdeps/stub/sigblock.c: Likewise. * sysdeps/stub/sigintr.c: Likewise. + * sysdeps/stub/signal.c: Likewise. + * sysdeps/stub/sigpause.c: Likewise. * sysdeps/stub/sigpending.c: Likewise. * sysdeps/stub/sigprocmask.c: Likewise. * sysdeps/stub/sigreturn.c: Likewise. @@ -6613,11 +5916,11 @@ * sysdeps/stub/sigstack.c: Likewise. * sysdeps/stub/sigsuspend.c: Likewise. * sysdeps/stub/sigvec.c: Likewise. + * sysdeps/stub/sleep.c: Likewise. * sysdeps/stub/socket.c: Likewise. * sysdeps/stub/socketpair.c: Likewise. * sysdeps/stub/sstk.c: Likewise. * sysdeps/stub/statfs.c: Likewise. - * sysdeps/stub/stdio_init.c: Likewise. * sysdeps/stub/stime.c: Likewise. * sysdeps/stub/stty.c: Likewise. * sysdeps/stub/swapoff.c: Likewise. @@ -6625,6 +5928,7 @@ * sysdeps/stub/symlink.c: Likewise. * sysdeps/stub/sync.c: Likewise. * sysdeps/stub/syscall.c: Likewise. + * sysdeps/stub/sysconf.c: Likewise. * sysdeps/stub/sysd-stdio.c: Likewise. * sysdeps/stub/system.c: Likewise. * sysdeps/stub/tcdrain.c: Likewise. @@ -6633,12 +5937,12 @@ * sysdeps/stub/tcgetattr.c: Likewise. * sysdeps/stub/tcgetpgrp.c: Likewise. * sysdeps/stub/tcsendbrk.c: Likewise. + * sysdeps/stub/tcsetattr.c: Likewise. * sysdeps/stub/tcsetpgrp.c: Likewise. * sysdeps/stub/telldir.c: Likewise. - * sysdeps/stub/thread_state.h: Likewise. + * sysdeps/stub/tempname.c: Likewise. * sysdeps/stub/time.c: Likewise. * sysdeps/stub/times.c: Likewise. - * sysdeps/stub/trampoline.c: Likewise. * sysdeps/stub/truncate.c: Likewise. * sysdeps/stub/ttyname.c: Likewise. * sysdeps/stub/ttyname_r.c: Likewise. @@ -6650,7931 +5954,4594 @@ * sysdeps/stub/ustat.c: Likewise. * sysdeps/stub/utime.c: Likewise. * sysdeps/stub/utimes.c: Likewise. - * sysdeps/stub/vdprintf.c: Likewise. * sysdeps/stub/vhangup.c: Likewise. * sysdeps/stub/wait.c: Likewise. * sysdeps/stub/wait3.c: Likewise. * sysdeps/stub/wait4.c: Likewise. * sysdeps/stub/waitpid.c: Likewise. * sysdeps/stub/write.c: Likewise. + * sysdeps/stub/writev.c: Likewise. * sysdeps/stub/xmknod.c: Likewise. * sysdeps/stub/xstat.c: Likewise. - * sysdeps/stub/bits/errno.h: Likewise. - * sysdeps/stub/bits/sigcontext.h: Likewise. + * sysdeps/unix/closedir.c: Likewise. * sysdeps/unix/fxstat.c: Likewise. - * sysdeps/unix/mk-local_lim.c: Likewise. + * sysdeps/unix/getlogin.c: Likewise. + * sysdeps/unix/getlogin_r.c: Likewise. * sysdeps/unix/mkdir.c: Likewise. * sysdeps/unix/nice.c: Likewise. + * sysdeps/unix/nlist.c: Likewise. + * sysdeps/unix/opendir.c: Likewise. + * sysdeps/unix/readdir.c: Likewise. * sysdeps/unix/rmdir.c: Likewise. * sysdeps/unix/stime.c: Likewise. - * sysdeps/unix/telldir.c: Likewise. + * sysdeps/unix/xmknod.c: Likewise. * sysdeps/unix/xstat.c: Likewise. - * sysdeps/unix/arm/sysdep.h: Likewise. - * sysdeps/unix/bsd/ftime.c: Likewise. * sysdeps/unix/bsd/isatty.c: Likewise. * sysdeps/unix/bsd/setegid.c: Likewise. * sysdeps/unix/bsd/seteuid.c: Likewise. * sysdeps/unix/bsd/setsid.c: Likewise. * sysdeps/unix/bsd/sigaction.c: Likewise. * sysdeps/unix/bsd/sigprocmask.c: Likewise. + * sysdeps/unix/bsd/sigsuspend.c: Likewise. + * sysdeps/unix/bsd/tcflow.c: Likewise. + * sysdeps/unix/bsd/tcflush.c: Likewise. * sysdeps/unix/bsd/tcgetattr.c: Likewise. * sysdeps/unix/bsd/tcsetattr.c: Likewise. * sysdeps/unix/bsd/times.c: Likewise. * sysdeps/unix/bsd/ulimit.c: Likewise. - * sysdeps/unix/bsd/bits/dirent.h: Likewise. - * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Likewise. - * sysdeps/unix/bsd/bsd4.4/wait.c: Likewise. - * sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise. - * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise. - * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise. - * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise. - * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise. - * sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise. - * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise. - * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise. - * sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise. - * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise. - * sysdeps/unix/bsd/sun/sunos4/mmap.c: Likewise. - * sysdeps/unix/bsd/sun/sunos4/speed.c: Likewise. - * sysdeps/unix/bsd/ultrix4/sysconf.c: Likewise. - * sysdeps/unix/bsd/ultrix4/bits/posix_opt.h: Likewise. - * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise. - * sysdeps/unix/bsd/vax/sysdep.h: Likewise. * sysdeps/unix/common/lxstat.c: Likewise. * sysdeps/unix/common/tcsendbrk.c: Likewise. - * sysdeps/unix/common/bits/dirent.h: Likewise. - * sysdeps/unix/i386/sysdep.h: Likewise. - * sysdeps/unix/mips/sysdep.h: Likewise. * sysdeps/unix/sysv/setrlimit.c: Likewise. * sysdeps/unix/sysv/settimeofday.c: Likewise. * sysdeps/unix/sysv/sigaction.c: Likewise. - * sysdeps/unix/sysv/sysv_termio.h: Likewise. - * sysdeps/unix/sysv/tcdrain.c: Likewise. * sysdeps/unix/sysv/tcflow.c: Likewise. * sysdeps/unix/sysv/tcflush.c: Likewise. * sysdeps/unix/sysv/tcgetattr.c: Likewise. * sysdeps/unix/sysv/tcsendbrk.c: Likewise. * sysdeps/unix/sysv/tcsetattr.c: Likewise. - * sysdeps/unix/sysv/bits/dirent.h: Likewise. + * sysdeps/unix/bsd/ultrix4/sysconf.c: Likewise. * sysdeps/unix/sysv/irix4/getpriority.c: Likewise. * sysdeps/unix/sysv/irix4/setpriority.c: Likewise. - * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise. * sysdeps/unix/sysv/linux/adjtime.c: Likewise. - * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise. + * sysdeps/unix/sysv/linux/gethostid.c: Likewise. * sysdeps/unix/sysv/linux/gethostname.c: Likewise. - * sysdeps/unix/sysv/linux/if_index.c: Likewise. + * sysdeps/unix/sysv/linux/getsysstats.c: Likewise. * sysdeps/unix/sysv/linux/ptrace.c: Likewise. - * sysdeps/unix/sysv/linux/reboot.c: Likewise. * sysdeps/unix/sysv/linux/speed.c: Likewise. - * sysdeps/unix/sysv/linux/sysctl.c: Likewise. - * sysdeps/unix/sysv/linux/tcdrain.c: Likewise. * sysdeps/unix/sysv/linux/ulimit.c: Likewise. - * sysdeps/unix/sysv/linux/waitpid.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Likewise. - * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise. - * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise. - * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise. - * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise. * sysdeps/unix/sysv/sysv4/sigaction.c: Likewise. - * sysdeps/unix/sysv/sysv4/siginfo.h: Likewise. * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise. - * sysdeps/unix/sysv/sysv4/sysconfig.h: Likewise. - * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise. - * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/sysv4/i386/sysdep.h: Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise. - * sysdeps/vax/fl.h: Likewise. - * sysdeps/vax/setjmp.c: Likewise. - -1997-06-21 16:58 Andreas Schwab - - * stdlib/strtod.c (INTERNAL (STRTOF)): Fix recognition of Infinity - and NaN strings. - -1997-06-20 21:52 Andreas Schwab - - * sysdeps/m68k/fpu/bits/mathinline.h (__scalbn): Fix type of second - argument. - (__ilogb): Remove special case for zero, add stupid special case - for NaN. - (__ieee754_scalb): Remove definition. - * sysdeps/m68k/fpu/mathbits.h (FP_ILOGB0, FP_ILOGBNAN): Define. - * sysdeps/m68k/fpu/s_scalbn.c: Fix type of second argument. - - * sysdeps/m68k/fpu/e_scalb.c: Rewritten. - * sysdeps/m68k/fpu/e_scalbf.c: Adapted. - * sysdeps/m68k/fpu/e_scalbl.c: Adapted. - - * sysdeps/libm-ieee754/e_scalb.c: Raise no exceptions when - returning NaN. Handle zero specially. - * sysdeps/libm-ieee754/e_scalbf.c: Likewise. - * sysdeps/libm-ieee754/e_scalbl.c: Likewise. - - * math/libm-test.c (ilogb_test): Don't require exceptions for zero - and NaN. - (gamma_test): Use different argument when checking whether - function is implemented. - (scalb_test): Remove duplicate tests. - -1997-06-03 15:59 Andreas Schwab - - * Makerules (+depfiles): Add dependencies for $(test-srcs). - (distinfo-vars): Add test-srcs. - -1997-06-21 17:35 Ulrich Drepper - - * argp/argp.h: Remove extra #endif. Pretty print. - * md5-crypt/md5.h: Likewise. - - * ctype/ctype.h: Don't use but . - * wctype/wctype.h: Likewise. - - * sysdeps/unix/sysv/linux/Makefile: Build stdio_lim.h in correct - directory. - - * sysdeps/libm-i387/s_ilogb.S: Add fwait to ensure we get the result. - * sysdeps/libm-i387/s_ilogbf.S: Likewise. - * sysdeps/libm-i387/s_ilogbl.S: Likewise. - * sysdeps/libm-i387/s_lrint.S: Likewise. - * sysdeps/libm-i387/s_llrint.S: Likewise. - -1997-06-21 02:48 Ulrich Drepper - - * config.h.in: Add DO_STATIC_NSS. - * config.make.in: Add build-static-nss. - - * elf/eval.c: Use __getdelim instead of __getline. - - * locale/programs/locale.c: Correct comment. - - * manual/libc.texinfo: Update copyright and date. - Remove A4 option. - - * sysdeps/libm-ieee754/k_standard.c: Always return HUGE_VAL - for gamma overflow. - * sysdeps/libm-ieee754/w_gamma.c: Handle SVID and ISO C behaviour. - * sysdeps/libm-ieee754/w_gammaf.c: Likewise. - * sysdeps/libm-ieee754/w_gammalp.c: Likewise. - - * po/ko.po: Update. - -1997-06-13 10:06 Richard Henderson - - The Great Bit File Move: - * configure.in (AC_INIT): Look in include/ for features.h. - (sysnames): Add include as the final search directory. - (AC_OUTPUT): Create a bits directory in the build directory. - * Makeconfig (CPPFLAGS): Look in include/ for libc-symbols.h. - * Makefile: Make sure the target directory exists when installing - and . - * csu/Makefile: Use $(compile.S) and $(compile.c) instead of - invoking $(CC) directly, as the former have the full include path. - - * ansidecl.h: Removed. - - * aliases.h: Moved to include/. - * alloca.h: Likewise. - * argp.h: Likewise. - * argz.h: Likewise. - * arpa/ftp.h: Likewise. - * arpa/inet.h: Likewise. - * arpa/nameser.h: Likewise. - * arpa/telnet.h: Likewise. - * arpa/tftp.h: Likewise. - * assert.h: Likewise. - * ctype.h: Likewise. - * db.h: Likewise. - * dirent.h: Likewise. - * dlfcn.h: Likewise. - * elf.h: Likewise. - * endian.h: Likewise. - * envz.h: Likewise. - * err.h: Likewise. - * errno.h: Likewise. - * error.h: Likewise. - * fcntl.h: Likewise. - * features.h: Likewise. - * fnmatch.h: Likewise. - * ftw.h: Likewise. - * getopt.h: Likewise. - * glob.h: Likewise. - * gnu-versions.h: Likewise. - * grp.h: Likewise. - * langinfo.h: Likewise. - * libc-symbols.h: Likewise. - * libgen.h: Likewise. - * libintl.h: Likewise. - * limits.h: Likewise. - * linewrap.h: Likewise. - * link.h: Likewise. - * locale.h: Likewise. - * malloc.h: Likewise. - * math.h: Likewise. - * mathcalls.h: Likewise. - * mcheck.h: Likewise. - * memory.h: Likewise. - * netdb.h: Likewise. - * netgroup.h: Likewise. - * netinet/ether.h: Likewise. - * netinet/in.h: Likewise. - * nlist.h: Likewise. - * nss.h: Likewise. - * nsswitch.h: Likewise. - * obstack.h: Likewise. - * poll.h: Likewise. - * posix1_lim.h: Likewise. - * posix2_lim.h: Likewise. - * printf.h: Likewise. - * protocols/routed.h: Likewise. - * protocols/rwhod.h: Likewise. - * protocols/talkd.h: Likewise. - * protocols/timed.h: Likewise. - * pwd.h: Likewise. - * regex.h: Likewise. - * resolv.h: Likewise. - * rpc/auth_unix.h: Likewise. - * rpc/clnt.h: Likewise. - * rpc/netdb.h: Likewise. - * rpc/pmap_clnt.h: Likewise. - * rpc/pmap_prot.h: Likewise. - * rpc/pmap_rmt.h: Likewise. - * rpc/rpc.h: Likewise. - * rpc/rpc_msg.h: Likewise. - * rpc/svc.h: Likewise. - * rpc/svc_auth.h: Likewise. - * rpc/types.h: Likewise. - * rpc/xdr.h: Likewise. - * sched.h: Likewise. - * search.h: Likewise. - * set-hooks.h: Likewise. - * setjmp.h: Likewise. - * sgtty.h: Likewise. - * shadow.h: Likewise. - * signal.h: Likewise. - * stab.def: Likewise. - * stab.h: Likewise. - * stdio.h: Likewise. - * stdlib.h: Likewise. - * string.h: Likewise. - * strings.h: Likewise. - * sys/bitypes.h: Likewise. - * sys/cdefs.h: Likewise. - * sys/dir.h: Likewise. - * sys/errno.h: Likewise. - * sys/fcntl.h: Likewise. - * sys/file.h: Likewise. - * sys/gmon.h: Likewise. - * sys/ioctl.h: Likewise. - * sys/ipc.h: Likewise. - * sys/msg.h: Likewise. - * sys/poll.h: Likewise. - * sys/queue.h: Likewise. - * sys/resource.h: Likewise. - * sys/select.h: Likewise. - * sys/sem.h: Likewise. - * sys/shm.h: Likewise. - * sys/signal.h: Likewise. - * sys/socket.h: Likewise. - * sys/stat.h: Likewise. - * sys/statfs.h: Likewise. - * sys/syslog.h: Likewise. - * sys/termios.h: Likewise. - * sys/time.h: Likewise. - * sys/timeb.h: Likewise. - * sys/times.h: Likewise. - * sys/types.h: Likewise. - * sys/uio.h: Likewise. - * sys/un.h: Likewise. - * sys/unistd.h: Likewise. - * sys/utsname.h: Likewise. - * sys/vlimit.h: Likewise. - * sys/vtimes.h: Likewise. - * sys/wait.h: Likewise. - * syscall.h: Likewise. - * syslog.h: Likewise. - * tar.h: Likewise. - * termios.h: Likewise. - * time.h: Likewise. - * ttyent.h: Likewise. - * unistd.h: Likewise. - * utime.h: Likewise. - * utmp.h: Likewise. - * values.h: Likewise. - * wchar.h: Likewise. - * wctype.h: Likewise. - * wordexp.h: Likewise. - * xlocale.h: Likewise. - * xopen_lim.h: Likewise. - - * sysdeps/mach/libc-lock.h: Likewise. - * sysdeps/stub/libc-lock.h: Likewise. - * sysdeps/mach/hurd/local_lim.h: Likewise. - * sysdeps/stub/local_lim.h: Likewise. - * sysdeps/unix/sysv/linux/local_lim.h: Likewise. - * sysdeps/unix/sysv/local_lim.h: Likewise. - * sysdeps/unix/sysv/sco3.2/local_lim.h: Likewise. - * sysdeps/mach/hurd/posix_opt.h: Likewise. - * sysdeps/stub/posix_opt.h: Likewise. - * sysdeps/unix/bsd/posix_opt.h: Likewise. - * sysdeps/unix/bsd/ultrix4/posix_opt.h: Likewise. - * sysdeps/unix/sysv/linux/posix_opt.h: Likewise. - * math/cmathcalls.h: -> bits/ - * math/mathcalls.h: Likewise. - * misc/stab.def: -> bits/ - * posix/posix1_lim.h: -> bits/ - * posix/posix2_lim.h: Likewise. - * sysdeps/alpha/__math.h: -> .../fpu/bits/mathinline.h - * sysdeps/i386/fpu/__math.h: Likewise. - * sysdeps/m68k/fpu/__math.h: Likewise. - * sysdeps/m68k/fpu/switch/__math.h: Likewise. - * sysdeps/powerpc/__math.h: Likewise. - * sysdeps/stub/__math.h: Likewise. - * sysdeps/alpha/bytesex.h: -> .../bits/endian.h - * sysdeps/arm/bytesex.h: Likewise. - * sysdeps/i386/bytesex.h: Likewise. - * sysdeps/m68k/bytesex.h: Likewise. - * sysdeps/mips/bytesex.h: Likewise. - * sysdeps/mips/dec/bytesex.h: Likewise. - * sysdeps/mips/mipsel/bytesex.h: Likewise. - * sysdeps/mips/p40/bytesex.h: Likewise. - * sysdeps/sparc/bytesex.h: Likewise. - * sysdeps/stub/bytesex.h: Likewise. - * sysdeps/alpha/fpu/fenvbits.h: -> .../bits/fenv.h - * sysdeps/i386/fpu/fenvbits.h: Likewise. - * sysdeps/m68k/fpu/fenvbits.h: Likewise. - * sysdeps/powerpc/fenvbits.h: Likewise. - * sysdeps/stub/fenvbits.h: Likewise. - * sysdeps/alpha/jmp_buf.h: -> .../bits/setenv.h - * sysdeps/arm/jmp_buf.h: Likewise. - * sysdeps/i386/jmp_buf.h: Likewise. - * sysdeps/m68k/jmp_buf.h: Likewise. - * sysdeps/mips/jmp_buf.h: Likewise. - * sysdeps/sparc/jmp_buf.h: Likewise. - * sysdeps/powerpc/jmp_buf.h: Likewise. - * sysdeps/stub/jmp_buf.h: Likewise. - * sysdeps/vax/jmp_buf.h: Likewise. - * sysdeps/generic/confname.h: -> bits/ - * sysdeps/unix/sysv/irix4/confname.h: Likewise. - * sysdeps/unix/sysv/sco3.2.4/confname.h: Likewise. - * sysdeps/generic/gnu/types.h: -> ../bits/types.h - * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Likewise. - * sysdeps/unix/sysv/linux/gnu/types.h: Likewise. - * sysdeps/generic/ioctl-types.h: -> bits/ - * sysdeps/unix/sysv/linux/ioctl-types.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/ioctl-types.h: Likewise. - * sysdeps/generic/iovec.h: -> .../bits/uio.h - * sysdeps/unix/sysv/linux/iovec.h: Likewise. - * sysdeps/generic/mathbits.h: -> .../bits/mathdef.h - * sysdeps/i386/fpu/mathbits.h: Likewise. - * sysdeps/m68k/fpu/mathbits.h: Likewise. - * sysdeps/powerpc/mathbits.h: Likewise. - * sysdeps/generic/resourcebits.h: -> .../bits/resource.h - * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Likewise. - * sysdeps/unix/sysv/linux/resourcebits.h: Likewise. - * sysdeps/generic/schedbits.h: -> .../bits/sched.h - * sysdeps/unix/sysv/linux/schedbits.h: Likewise. - * sysdeps/generic/selectbits.h: -> .../bits/select.h - * sysdeps/i386/selectbits.h: Likewise. - * sysdeps/generic/sigaction.h: -> bits/ - * sysdeps/unix/bsd/osf/sigaction.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/sigaction.h: Likewise. - * sysdeps/unix/sysv/linux/sigaction.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sigaction.h: Likewise. - * sysdeps/unix/sysv/minix/sigaction.h: Likewise. - * sysdeps/unix/sysv/sco3.2.4/sigaction.h: Likewise. - * sysdeps/unix/sysv/sysv4/sigaction.h: Likewise. - * sysdeps/generic/sigset.h: -> bits/ - * sysdeps/unix/sysv/linux/sigset.h: Likewise. - * sysdeps/unix/sysv/sysv4/sigset.h: Likewise. - * sysdeps/generic/sockaddrcom.h: -> .../bits/sockaddr.h - * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise. - * sysdeps/generic/socketbits.h: -> .../bits/socket.h - * sysdeps/unix/sysv/linux/socketbits.h: Likewise. - * sysdeps/generic/statfsbuf.h: -> .../bits/statfs.h - * sysdeps/unix/sysv/linux/statfsbuf.h: Likewise. - * sysdeps/generic/termbits.h: -> .../bits/termios.h - * sysdeps/unix/bsd/sun/sunos4/termbits.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/termbits.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/termbits.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/termbits.h: Likewise. - * sysdeps/unix/sysv/linux/termbits.h: Likewise. - * sysdeps/generic/ustatbits.h: -> .../bits/ustat.h - * sysdeps/unix/sysv/linux/ustatbits.h: Likewise. - * sysdeps/generic/utmpbits.h: -> .../bits/utmp.h - * sysdeps/gnu/utmpbits.h: Likewise. - * sysdeps/unix/sysv/utmpbits.h: Likewise. - * sysdeps/generic/utsnamelen.h: -> .../bits/utsname.h - * sysdeps/unix/bsd/sun/sunos4/utsnamelen.h: Likewise. - * sysdeps/unix/bsd/ultrix4/utsnamelen.h: Likewise. - * sysdeps/unix/sysv/linux/utsnamelen.h: Likewise. - * sysdeps/unix/sysv/sysv4/utsnamelen.h: Likewise. - * sysdeps/unix/sysv/utsnamelen.h: Likewise. - * sysdeps/generic/waitstatus.h: -> bits/ - * sysdeps/i386/huge_val.h: -> bits/ - * sysdeps/ieee754/huge_val.h: Likewise. - * sysdeps/m68k/huge_val.h: Likewise. - * sysdeps/stub/huge_val.h: Likewise. - * sysdeps/vax/huge_val.h: Likewise. - * sysdeps/ieee754/nan.h: Likewise. - * sysdeps/stub/nan.h: Likewise. - * sysdeps/mach/hurd/alpha/sigcontext.h: -> bits/ - * sysdeps/mach/hurd/hppa/sigcontext.h: Likewise. - * sysdeps/mach/hurd/i386/sigcontext.h: Likewise. - * sysdeps/mach/hurd/mips/sigcontext.h: Likewise. - * sysdeps/stub/sigcontext.h: Likewise. - * sysdeps/unix/bsd/sun/m68k/sigcontext.h: Likewise. - * sysdeps/unix/bsd/sun/sparc/sigcontext.h: Likewise. - * sysdeps/unix/bsd/ultrix4/mips/sigcontext.h: Likewise. - * sysdeps/unix/sysv/linux/sigcontext.h: Likewise. - * sysdeps/mach/hurd/errnos.h: -> .../bits/errno.h - * sysdeps/standalone/arm/errnos.h: Likewise. - * sysdeps/stub/errnos.h: Likewise. - * sysdeps/unix/bsd/bsd4.4/errnos.h: Likewise. - * sysdeps/unix/sysv/linux/errnos.h: Likewise. - * sysdeps/mach/hurd/fcntlbits.h: -> .../bits/fcntl.h - * sysdeps/stub/fcntlbits.h: Likewise. - * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: Likewise. - * sysdeps/unix/bsd/fcntlbits.h: Likewise. - * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: Likewise. - * sysdeps/unix/bsd/ultrix4/fcntlbits.h: Likewise. - * sysdeps/unix/common/fcntlbits.h: Likewise. - * sysdeps/unix/sysv/fcntlbits.h: Likewise. - * sysdeps/unix/sysv/irix4/fcntlbits.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Likewise. - * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/fcntlbits.h: Likewise. - * sysdeps/mach/hurd/ioctls.h: -> bits/ - * sysdeps/stub/ioctls.h: Likewise. - * sysdeps/unix/bsd/bsd4.4/ioctls.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/ioctls.h: Likewise. - * sysdeps/unix/sysv/linux/ioctls.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/ioctls.h: Likewise. - * sysdeps/mach/hurd/statbuf.h: -> .../bits/stat.h - * sysdeps/stub/statbuf.h: Likewise. - * sysdeps/unix/bsd/osf/alpha/statbuf.h: Likewise. - * sysdeps/unix/bsd/statbuf.h: Likewise. - * sysdeps/unix/sysv/irix4/statbuf.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise. - * sysdeps/unix/sysv/linux/statbuf.h: Likewise. - * sysdeps/unix/sysv/statbuf.h: Likewise. - * sysdeps/unix/sysv/sysv4/i386/statbuf.h: Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h: Likewise. - * sysdeps/standalone/stdio_lim.h: -> bits/ - * sysdeps/stub/stdio_lim.h: Likewise. - * sysdeps/stub/direntry.h: -> ../bits/dirent.h - * sysdeps/unix/bsd/bsd4.4/direntry.h: Likewise. - * sysdeps/unix/bsd/direntry.h: Likewise. - * sysdeps/unix/common/direntry.h: Likewise. - * sysdeps/unix/sysv/direntry.h: Likewise. - * sysdeps/unix/sysv/linux/direntry.h: Likewise. - * sysdeps/stub/elfclass.h: -> bits/ - * sysdeps/wordsize-32/elfclass.h: Likewise. - * sysdeps/wordsize-64/elfclass.h: Likewise. - * sysdeps/stub/signum.h: -> bits/ - * sysdeps/unix/bsd/signum.h: Likewise. - * sysdeps/unix/bsd/sun/signum.h: Likewise. - * sysdeps/unix/sysv/irix4/signum.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/signum.h: Likewise. - * sysdeps/unix/sysv/linux/signum.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/signum.h: Likewise. - * sysdeps/unix/sysv/signum.h: Likewise. - * sysdeps/unix/sysv/sysv4/signum.h: Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/signum.h: Likewise. - * sysdeps/stub/sys/ipc_buf.h: -> .../bits/ipc.h - * sysdeps/unix/sysv/linux/alpha/sys/ipc_buf.h: Likewise. - * sysdeps/unix/sysv/linux/sys/ipc_buf.h: Likewise. - * sysdeps/stub/sys/msq_buf.h: -> .../bits/msq.h - * sysdeps/unix/sysv/linux/sys/msq_buf.h: Likewise. - * sysdeps/stub/sys/sem_buf.h: -> .../bits/sem.h - * sysdeps/unix/sysv/linux/sys/sem_buf.h: Likewise. - * sysdeps/stub/sys/shm_buf.h: -> .../bits/shm.h - * sysdeps/unix/sysv/linux/sys/shm_buf.h: Likewise. - * sysdeps/stub/timebits.h: -> .../bits/time.h - * sysdeps/unix/sysv/linux/alpha/timebits.h: Likewise. - * sysdeps/unix/sysv/linux/timebits.h: Likewise. - * sysdeps/stub/waitflags.h: -> bits/ - * sysdeps/unix/bsd/waitflags.h: Likewise. - * sysdeps/unix/sysv/linux/waitflags.h: Likewise. - * sysdeps/unix/sysv/sysv4/waitflags.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/sys/kernel_termios.h: -> ../ - * sysdeps/unix/sysv/linux/powerpc/sys/kernel_termios.h: Likewise. - * sysdeps/unix/sysv/linux/sys/kernel_termios.h: Likewise. - * sysdeps/unix/sysv/linux/sys/socketcall.h: -> ../ - - * argp/argp-fmtstream.h: Standardize the multiple-include protect. - * argp/argp.h: Likewise. - * catgets/nl_types.h: Likewise. - * crypt/sysdeps/unix/crypt.h: Likewise. - * ctype/ctype.h: Likewise. - * db/db.h: Likewise. - * db/mpool.h: Likewise. - * db/ndbm.h: Likewise. - * dirent/dirent.h: Likewise. - * elf/dlfcn.h: Likewise. - * elf/elf.h: Likewise. - * elf/link.h: Likewise. - * gmon/sys/gmon.h: Likewise. - * gmon/sys/gmon_out.h: Likewise. - * grp/grp.h: Likewise. - * inet/aliases.h: Likewise. - * inet/arpa/ftp.h: Likewise. - * inet/arpa/inet.h: Likewise. - * inet/arpa/telnet.h: Likewise. - * inet/arpa/tftp.h: Likewise. - * inet/netinet/ether.h: Likewise. - * inet/netinet/icmp6.h: Likewise. - * inet/netinet/in.h: Likewise. - * inet/netinet/ip6.h: Likewise. - * inet/protocols/routed.h: Likewise. - * inet/protocols/rwhod.h: Likewise. - * inet/protocols/talkd.h: Likewise. - * inet/protocols/timed.h: Likewise. - * intl/libintl.h: Likewise. - * io/fcntl.h: Likewise. - * io/fts.h: Likewise. - * io/ftw.h: Likewise. - * io/sys/poll.h: Likewise. - * io/sys/stat.h: Likewise. - * io/sys/statfs.h: Likewise. - * io/utime.h: Likewise. - * locale/locale.h: Likewise. - * login/pty.h: Likewise. - * login/utmp.h: Likewise. - * malloc/malloc.h: Likewise. - * malloc/obstack.h: Likewise. - * math/complex.h: Likewise. - * math/fenv.h: Likewise. - * math/math.h: Likewise. - * md5-crypt/md5.h: Likewise. - * misc/ar.h: Likewise. - * misc/err.h: Likewise. - * misc/error.h: Likewise. - * misc/fstab.h: Likewise. - * misc/libgen.h: Likewise. - * misc/nlist.h: Likewise. - * misc/sys/cdefs.h: Likewise. - * misc/sys/file.h: Likewise. - * misc/sys/ioctl.h: Likewise. - * misc/sys/queue.h: Likewise. - * misc/sys/select.h: Likewise. - * misc/sys/syslog.h: Likewise. - * misc/sys/uio.h: Likewise. - * misc/sysexits.h: Likewise. - * misc/ttyent.h: Likewise. - * nss/nss.h: Likewise. - * posix/fnmatch.h: Likewise. - * posix/getopt.h: Likewise. - * posix/glob.h: Likewise. - * posix/regex.h: Likewise. - * posix/sys/times.h: Likewise. - * posix/sys/types.h: Likewise. - * posix/sys/utsname.h: Likewise. - * posix/sys/wait.h: Likewise. - * posix/tar.h: Likewise. - * posix/unistd.h: Likewise. - * posix/wordexp.h: Likewise. - * pwd/pwd.h: Likewise. - * resolv/arpa/nameser.h: Likewise. - * resolv/netdb.h: Likewise. - * resolv/resolv.h: Likewise. - * resource/sys/resource.h: Likewise. - * resource/sys/vlimit.h: Likewise. - * resource/sys/vtimes.h: Likewise. - * setjmp/setjmp.h: Likewise. - * shadow/shadow.h: Likewise. - * socket/sys/socket.h: Likewise. - * socket/sys/un.h: Likewise. - * stdlib/exit.h: Likewise. - * stdlib/fmtmsg.h: Likewise. - * stdlib/monetary.h: Likewise. - * stdlib/stdlib.h: Likewise. - * string/argz.h: Likewise. - * string/envz.h: Likewise. - * string/memory.h: Likewise. - * string/string.h: Likewise. - * string/strings.h: Likewise. - * sunrpc/rpc/rpc.h: Likewise. - * sunrpc/rpc/svc.h: Likewise. - * sunrpc/rpc/types.h: Likewise. - * sunrpc/rpc/xdr.h: Likewise. - * termios/sys/ttychars.h: Likewise. - * termios/termios.h: Likewise. - - * argp/argp-parse.c: -> . - * crypt/sysdeps/unix/crypt_util.c: Likewise. - * dirent/dirent.h: Likewise. - * elf/link.h: Likewise. - * grp/fgetgrent.c: Likewise. - * grp/grp.h: Likewise. - * hurd/hurd/ioctl.h: Likewise. - * inet/getnameinfo.c: Likewise. - * inet/getnetgrent_r.c: Likewise. - * inet/inet_ntoa.c: Likewise. - * inet/netinet/in.h: Likewise. - * io/fcntl.h: Likewise. - * io/ftw.h: Likewise. - * io/sys/stat.h: Likewise. - * io/sys/statfs.h: Likewise. - * io/utime.h: Likewise. - * libio/_G_config.h: Likewise. - * libio/libio.h: Likewise. - * libio/libioP.h: Likewise. - * libio/stdio.h: Likewise. - * locale/duplocale.c: Likewise. - * locale/freelocale.c: Likewise. - * locale/lc-time.c: Likewise. - * locale/setlocale.c: Likewise. - * login/getutent_r.c: Likewise. - * login/getutid_r.c: Likewise. - * login/getutline_r.c: Likewise. - * login/lastlog.h: Likewise. - * login/pty.h: Likewise. - * login/utmp.h: Likewise. - * login/utmpname.c: Likewise. - * malloc/mtrace.c: Likewise. - * malloc/thread-m.h: Likewise. - * math/complex.h: Likewise. - * math/fenv.h: Likewise. - * math/libm-test.c: Likewise. - * math/math.h: Likewise. - * misc/sgtty.h: Likewise. - * misc/stab.h: Likewise. - * misc/sys/ioctl.h: Likewise. - * misc/sys/select.h: Likewise. - * misc/sys/uio.h: Likewise. - * misc/sys/ustat.h: Likewise. - * misc/syslog.c: Likewise. - * nis/nss_compat/compat-grp.c: Likewise. - * nis/nss_compat/compat-pwd.c: Likewise. - * nis/nss_compat/compat-spwd.c: Likewise. - * nis/nss_nis/nis-alias.c: Likewise. - * nis/nss_nis/nis-ethers.c: Likewise. - * nis/nss_nis/nis-grp.c: Likewise. - * nis/nss_nis/nis-hosts.c: Likewise. - * nis/nss_nis/nis-netgrp.c: Likewise. - * nis/nss_nis/nis-network.c: Likewise. - * nis/nss_nis/nis-proto.c: Likewise. - * nis/nss_nis/nis-publickey.c: Likewise. - * nis/nss_nis/nis-pwd.c: Likewise. - * nis/nss_nis/nis-rpc.c: Likewise. - * nis/nss_nis/nis-service.c: Likewise. - * nis/nss_nis/nis-spwd.c: Likewise. - * nss_nisplus/nisplus-alias.c: Likewise. - * nis/nss_nisplus/nisplus-ethers.c: Likewise. - * nis/nss_nisplus/nisplus-grp.c: Likewise. - * nis/nss_nisplus/nisplus-hosts.c: Likewise. - * nis/nss_nisplus/nisplus-netgrp.c: Likewise. - * nis/nss_nisplus/nisplus-netgrp.c: Likewise. - * nis/nss_nisplus/nisplus-proto.c: Likewise. - * nis/nss_nisplus/nisplus-pwd.c: Likewise. - * nis/nss_nisplus/nisplus-rpc.c: Likewise. - * nis/nss_nisplus/nisplus-service.c: Likewise. - * nis/nss_nisplus/nisplus-spwd.c: Likewise. - * nis/ypclnt.c: Likewise. - * nss/getXXbyYY.c: Likewise. - * nss/getXXent.c: Likewise. - * nss/getXXent_r.c: Likewise. - * nss/nss_db/db-XXX.c: Likewise. - * nss/nss_db/db-alias.c: Likewise. - * nss/nss_db/db-netgrp.c: Likewise. - * nss/nss_files/files-XXX.c: Likewise. - * nss/nss_files/files-alias.c: Likewise. - * nss/nsswitch.c: Likewise. - * posix/sched.h: Likewise. - * posix/sys/types.h: Likewise. - * posix/sys/utsname.h: Likewise. - * posix/sys/wait.h: Likewise. - * posix/unistd.h: Likewise. - * pwd/fgetpwent.c: Likewise. - * pwd/pwd.h: Likewise. - * resource/sys/resource.h: Likewise. - * setjmp/setjmp.h: Likewise. - * shadow/fgetspent.c: Likewise. - * shadow/lckpwdf.c: Likewise. - * shadow/sgetspent.c: Likewise. - * signal/signal.h: Likewise. - * signal/sigsetops.c: Likewise. - * socket/sys/socket.h: Likewise. - * socket/sys/un.h: Likewise. - * stdio/stdio.h: Likewise. - * stdio-common/vfprintf.c: Likewise. - * stdio-common/vfscanf.c: Likewise. - * stdlib/atexit.c: Likewise. - * stdlib/fmtmsg.c: Likewise. - * stdlib/random.c: Likewise. - * string/endian.h: Likewise. - * sysdeps/alpha/w_sqrt.S: Likewise. - * sysdeps/arm/__longjmp.S: Likewise. - * sysdeps/arm/setjmp.S: Likewise. - * sysdeps/generic/abort.c: Likewise. - * sysdeps/generic/netinet/ip.h: Likewise. - * sysdeps/generic/setenv.c: Likewise. - * generic/sys/mman.h: Likewise. - * sysdeps/i386/__longjmp.S: Likewise. - * sysdeps/i386/setjmp.S: Likewise. - * sysdeps/mach/hurd/dirstream.h: Likewise. - * sysdeps/mach/hurd/jmp-unwind.c: Likewise. - * sysdeps/posix/mk-stdiolim.c: Likewise. - * sysdeps/powerpc/__longjmp.S: Likewise. - * sysdeps/powerpc/setjmp.S: Likewise. - * sysdeps/sparc/__longjmp.S: Likewise. - * sysdeps/sparc/setjmp.S: Likewise. - * sysdeps/standalone/close.c: Likewise. - * sysdeps/standalone/filedesc.h: Likewise. - * sysdeps/standalone/open.c: Likewise. - * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Likewise. - * sysdeps/unix/bsd/m68k/sysdep.S: Likewise. - * sysdeps/unix/bsd/osf/sys/mman.h: Likewise. - * sysdeps/unix/bsd/sun/m68k/sethostid.S: Likewise. - * sysdeps/unix/bsd/sun/sparc/sethostid.S: Likewise. - * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise. - * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise. - * sysdeps/unix/bsd/vax/sysdep.S: Likewise. - * sysdeps/unix/dirstream.h: Likewise. - * sysdeps/unix/i386/sysdep.S: Likewise. - * sysdeps/unix/mips/sysdep.S: Likewise. - * sysdeps/unix/mk-local_lim.c: Likewise. - * sysdeps/unix/sparc/sysdep.S: Likewise. - * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/brk.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise. - * sysdeps/unix/sysv/linux/arm/clone.S: Likewise. - * sysdeps/unix/sysv/linux/i386/clone.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. - * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise. - * sysdeps/unix/sysv/linux/netinet/tcp.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise. - * sysdeps/unix/sysv/linux/sys/mman.h: Likewise. - * sysdeps/unix/sysv/linux/sys/syscall.h: Likewise. - * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise. - * sysdeps/unix/sysv/sco3.2.4/sysconf.S: Likewise. - * sysdeps/unix/sysv/sysv4/i386/sysdep.h: Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.S: Likewise. - * sysvipc/sys/ipc.h: Likewise. - * sysvipc/sys/msg.h: Likewise. - * sysvipc/sys/sem.h: Likewise. - * sysvipc/sys/shm.h: Likewise. - * termios/termios.h: Likewise. - * time/localtime.c: Likewise. - * time/sys/time.h: Likewise. - * time/time.h: Likewise. - * time/tzset.c: Likewise. - - * sysdeps/unix/sysv/linux/arm/socket.S: socketcall.h change. - * sysdeps/unix/sysv/linux/i386/socket.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/socket.S: Likewise. - - * Makefile (headers): foo.h -> bits/foo.h. - * dirent/Makefile: Likewise. - * elf/Makefile: Likewise. - * io/Makefile: Likewise. - * login/Makefile: Likewise. - * math/Makefile: Likewise. - * misc/Makefile: Likewise. - * posix/Makefile: Likewise. - * resource/Makefile: Likewise. - * setjmp/Makefile: Likewise. - * signal/Makefile: Likewise. - * socket/Makefile: Likewise. - * stdio-common/Makefile: Likewise. - * sysdeps/unix/sysv/linux/Makefile: Likewise. - * sysvipc/Makefile: Likewise. - * termios/Makefile: Likewise. - * time/Makefile: Likewise. - * sysdeps/generic/Makefile (make_siglist-CFLAGS): Likewise. - * sysdeps/posix/Makefile: stdio_lim.h -> bits/stdio_lim.h - * sysdeps/unix/Makefile: Likewise with local_lim.h, errnos.h, - ioctls.h, termbits.h. - - * sysdeps/unix/sysv/linux/Dist: sys/kernel_termios.h - -> kernel_termios.h, sys/socketcall.h -> socketcall.h - - * elf/elf.h: Use definitions instead of __attribute__ - for getting the proper length on the ELF types to be friendly to - non-gcc compilers. - * posix/sys/types.h: Notice when int8_t and friends are defined - and don't redefine them. - * sysdeps/wordsize-32/inttypes.h: Likewise. - * sysdeps/wordsize-64/inttypes.h: Likewise. - - * sysdeps/unix/sysv/linux/arm/profil-counter.h: Get sigcontext - via instead. - * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/profil-counter.h: Likewise. - -1997-06-20 17:59 Kazumoto Kojima - - * hurd/intr-msg.c: More 64bit changes. - * mach/msg-destroy.c: Likewise. - * sysdeps/mach/hurd/ioctl.c: Likewise. - * sysdeps/mach/hurd/ioctls.h: Likewise. - * sysdeps/mach/hurd/select.c: Likewise. - * sysdeps/mach/hurd/statbuf.h: Likewise. - - * sysdeps/mach/hurd/mips/dl-machine.c: Hurd/MIPS64 patches. - * sysdeps/mach/hurd/mips/exc2signal.c: Likewise. - * sysdeps/mach/hurd/mips/init-fault.c: Likewise. - * sysdeps/mach/hurd/mips/init-first.c: Likewise. - * sysdeps/mach/hurd/mips/intr-msg.h: Likewise. - * sysdeps/mach/hurd/mips/longjmp-ctx.c: Likewise. - * sysdeps/mach/hurd/mips/longjmp-ts.c: Likewise. - * sysdeps/mach/hurd/mips/sigcontext.h: Likewise. - * sysdeps/mach/hurd/mips/sigreturn.c: Likewise. - * sysdeps/mach/hurd/mips/trampoline.c: Likewise. - * sysdeps/mach/mips/cacheflush.c: Likewise. - * sysdeps/mach/mips/machine-lock.h: Likewise. - * sysdeps/mach/mips/machine-sp.h: Likewise. - * sysdeps/mach/mips/syscall.S: Likewise. - * sysdeps/mach/mips/sysdep.h: Likewise. - * sysdeps/mach/mips/thread_state.h: Likewise. - * sysdeps/mach/start.c: Likewise. - - * sysdeps/mips/dl-machine.h: MIPS changes. - * sysdeps/mips/elf/start.S: Likewise. - * sysdeps/mips/init-first.c: Likewise. - * sysdeps/mips/fpu_control.h: Likewise. - * sysdeps/mips/machine-gmon.h: Likewise. - * sysdeps/mips/jmp_buf.h: Likewise. - * sysdeps/mips/__longjmp.c: Likewise. - * sysdeps/mips/bsd-_setjmp.S: Likewise. - * sysdeps/mips/bsd-setjmp.S: Likewise. - * sysdeps/mips/setjmp.S: Likewise. - * sysdeps/mips/setjmp_aux.c: Likewise. - * sysdeps/mips/mips64/gmp-mparam.h: Likewise. - * sysdeps/mips/add_n.S: New file. - * sysdeps/mips/addmul_1.S: Likewise. - * sysdeps/mips/lshift.S: Likewise. - * sysdeps/mips/mul_1.S: Likewise. - * sysdeps/mips/rshift.S: Likewise. - * sysdeps/mips/sub_n.S: Likewise. - * sysdeps/mips/submul_1.S: Likewise. - * sysdeps/mips/mips64/Implies: Likewise. - * sysdeps/mips/mips64/add_n.S: Likewise. - * sysdeps/mips/mips64/addmul_1.S: Likewise. - * sysdeps/mips/mips64/lshift.S: Likewise. - * sysdeps/mips/mips64/mul_1.S: Likewise. - * sysdeps/mips/mips64/rshift.S: Likewise. - * sysdeps/mips/mips64/sub_n.S: Likewise. - * sysdeps/mips/mips64/submul_1.S: Likewise. - * sysdeps/mips/add_n.S: Removed. - * sysdeps/mips/addmul_1.S: Likewise. - * sysdeps/mips/lshift.S: Likewise. - * sysdeps/mips/mul_1.S: Likewise. - * sysdeps/mips/rshift.S: Likewise. - * sysdeps/mips/sub_n.S: Likewise. - * sysdeps/mips/submul_1.S: Likewise. - - * nss/Makefile: Prepare for static NSS. - * resolv/Makefile: Likewise. - * nss/nsswitch.c: Add code for static NSS. - * nss/function.def: Define functions for static NSS. - -1997-06-19 11:10 Andreas Schwab - - * libc.map: Add yet more symbols. - -1997-06-19 20:33 Andreas Schwab - - * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Don't pass NULL - as object name to _dl_signal_error. - (do_lookup): Skip objects that could not be opened. - - * sysdeps/m68k/dl-machine.h (elf_machine_rela): Check that the - symbol was found. - * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. - * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Likewise. - -1997-06-20 03:13 Kazumoto Kojima - - * ctype/ctype-info.c: Use int32_t where `int' with 4 bytes is - assumed. - * ctype/ctype.h: Likewise. - * math/math_private.h: Likewise. - * inet/netinet/in.h: Likewise. - * wctype/wctype.h: Likewise. - - * nss/Makefile: Only inhibit nss_files and nss_db modules if static - NSS modules are not enabled. - * resolv/Makefile: Likewise for nss_dns. - * nss/function.def: New file. List all available lookup functions - for static NSS. - * nss/nsswitch.c: Add code for static NSS. - -1997-06-15 21:15 Andreas Jaeger - - * math/libm-test.c (gamma_test): Test for _SVID_ and for normal - behaviour. - -1997-06-15 20:32 Andreas Jaeger - - * math/libm.map: Add all necessary functions, correct existing entries. - -1997-06-20 02:35 a sun - - * sysdeps/unix/sysv/linux/netipx/ipx.h: Don't use kernel header. - -1997-06-19 18:43 Andreas Jaeger - - * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_parse_spent): - Compare pointer with NULL. - - * login/logout.c (logout): Compare pututline result with NULL. - -1997-06-19 19:38 Ulrich Drepper - - * features.h: Define __STDC_IEC_559__ and _STDC_IEC_559_COMPLEX__. - - * elf/dl-minimal.c (__dcgettext): Remove assertion. - - * inet/rcmd.c: Correct a few typos. Reported by Erik Troan. - - * manual/Makefile (distribute): Add dir. - * manual/dir: New file. - - * math/Makefile (libm-support): Rename s_rinttol, s_rinttoll, - s_roundtol, and s_roundtoll to s_lrint, s_llrint, s_lround, - and s_llround respectively. - (libm-calls): Add e_gamma_r. - * math/libm-test.c (check_int_exc): New function. - (signbit_test): Remove test for sign of NaN. - (gamma_test): Clear exception after test of existence. - Correct tests and and epsilons. - (lgamma_test): Likewise. - (ilogb_test): Correct all tests. - (scalb_test): Rewrite. - (rinttol_test): Rename to lrint_test and correct tests. - (rinttoll_test): Likewise. - (roundtol_test): Likewise. - (roundtoll_test): Likewise. - (main): Call lrint/lround functions instead of rinttol/roundtol. - * math/math.h: Change prototypes for rinttol/roundtol. - * math/mathcalls.h: Rearrange prototypes according to ISO C9X draft. - * sysdeps/generic/mathbits.h: Define FP_ILOGB0 and FP_ILOGBNAN. - * sysdeps/i386/mathbits.h: Likewise. - * sysdeps/libm-i387/e_scalb.S: Handle special cases correctly. - * sysdeps/libm-i387/e_scalbf.S: Likewise. - * sysdeps/libm-i387/e_scalbl.S: Likewise. - * sysdeps/libm-i387/s_asinh.S: Handle -inf correctly. - * sysdeps/libm-i387/s_asinhf.S: Likewise. - * sysdeps/libm-i387/s_asinhl.S: Likewise. - * sysdeps/libm-i387/s_ilogb.S: Optimize. - * sysdeps/libm-i387/s_ilogbf.S: Likewise. - * sysdeps/libm-i387/s_ilogbl.S: Likewise. - * sysdeps/libm-i387/s_rinttol.S: Rename to... - * sysdeps/libm-i387/s_lrint.S: ...this. - * sysdeps/libm-i387/s_rinttoll.S: Rename to... - * sysdeps/libm-i387/s_llrint.S: ...this. - * sysdeps/libm-i387/s_remquo.S: Correctly set sign of remainder. - * sysdeps/libm-i387/s_remquof.S: Likewise. - * sysdeps/libm-i387/s_remquol.S: Likewise. - * sysdeps/libm-i387/e_gamma_r.c: New file. Implementation of gamma - function according to ISO C. - * sysdeps/libm-i387/e_gammaf_r.c: New file. - * sysdeps/libm-i387/e_gammal_r.c: New file. - * sysdeps/libm-i387/e_lgamma_r.c: Don't let optimize compile the - generation of exceptions away. - * sysdeps/libm-i387/e_lgammaf_r.c: Likewise. - * sysdeps/libm-i387/k_standard.c: Correct return value for infinity - points of gamma function when not SVID mode. - * sysdeps/libm-i387/s_rinttoll.c: Renamed to... - * sysdeps/libm-i387/s_llrint.c: ...this. - * sysdeps/libm-i387/s_rinttol.c: Renamed to... - * sysdeps/libm-i387/s_lrint.c: ...this. - * sysdeps/libm-i387/s_roundtoll.c: Renamed to... - * sysdeps/libm-i387/s_llround.c: ...this. - * sysdeps/libm-i387/s_roundtol.c: Renamed to... - * sysdeps/libm-i387/s_lround.c: ..this. - * sysdeps/libm-i387/s_scalbn.c: Change second parameter according to - ISO C. - * sysdeps/libm-i387/s_scalbnf.c: Likewise. - * sysdeps/libm-i387/s_scalbnl.c: Likewise. - * sysdeps/libm-i387/w_gamma.c: Call __ieee754_gamma_r if library - mode is not _SVID_. - * sysdeps/libm-i387/w_gammaf.c: Likewise. - * sysdeps/libm-i387/w_gammal.c: Likewise. - * sysdeps/m68k/fpu/__math.h: Rename __rinttol to __lrint and - rinttol to lrint. - * sysdeps/m68k/fpu/s_rinttol.c: Renamed to... - * sysdeps/m68k/fpu/s_lrint.c: ...this. - * sysdeps/m68k/fpu/s_rinttoll.c: Renamed to... - * sysdeps/m68k/fpu/s_llrint.c: ...this. - - * md5-crypt/Makefile: Link md5test program with md5.o. - - * stdio-common/temptest.c: Don't use __stdio_gen_tempname which - is not exported by the libc.so. - - * stdio-common/vfscanf.c: Correct scanning of strings after last - change. - - * sysdeps/unix/sysv/linux/i386/sysdep.S: Use .comm to define errno. - -1997-06-19 07:37 H.J. Lu - - * time/tzfile.c (__tzfile_read): Store getc () return in int. - -1997-06-13 Miles Bader - - * argp/argp-parse.c (argp_version_parser): Include `(PROGRAM ERROR)' in - the no-version error text to indicate that something's fucked. - [!_] (N_): New macro. - (argp_default_options, argp_version_options): Wrap doc strings in N_(). - -1997-06-12 Miles Bader - - * argp/argp-parse.c (parser_parse_opt): Detect and report unhandled - options here. - (parser_parse_arg): Handle ARGP_KEY_ARGS here. - Adjust NEXT pointer back if we fail to parse anything. - (parser_parse_next): Simplify arg code. Leave state NEXT frobbing - to parser_parse_arg. - -1997-06-11 Miles Bader - - * argp/argp.h (ARGP_KEY_ARGS, ARGP_KEY_FINI): New macros. - * argp/argp-parse.c (parser_finalize): Do another pass over the - parsers with ARGP_KEY_FINI. - -1997-06-18 Miles Bader - - * string/Makefile (routines): Add argz-replace. - -1997-06-16 00:16 Miles Bader - - * manual/string.texi (Argz Functions): Document argz_replace. - -1997-06-12 Miles Bader - - * string/argz.h (__argz_replace, argz_replace): New declarations. - * string/argz-replace.c: New file. - -1997-06-11 Miles Bader - - * manual/argp.texi (Argp Special Keys): Document ARGP_KEY_ARGS. - -1997-06-16 23:08 Andreas Schwab - - * Makeconfig (libc-map): Remove definition. - * Makerules (libc-map): Define it here, using the full name. - (load-map-file): Remove case for empty $(..). - ($(common-objpfx)libc.so): Revert last change. - -1997-06-17 22:18 Mark Kettenis - - * login/programs/utmpd.c (main): Improve signal handling. - - * login/programs/request.c (do_setutent, do_updwtmp): - Allow arbitrary length filenames. - * login/programs/utmpd.h (setutent_request, updwtmp_request): - Get rid of fixed length file field. - * login/utmp_daemon.c (do_setutent, do_updwtmp): - Allow arbitrary length filenames. - - * login/programs/request.c (do_pututline): - Don't fail if connection->position is -1 on entry. - -1997-06-15 16:32 Mark Kettenis - - * login/utmp_file.c (updwtmp_file): Use the same method for - appending an entry as in pututline_file. - -1997-06-11 18:59 Mark Kettenis - - * login/utmp_file.c (getutent_r_file): - Use read lock instead of write lock. - (getutline_r_file, internal_getut_r): Lock utmp file. - (updwtmp_file): Use fcntl to lock file instead of flock. - -1997-06-18 00:11 Andreas Schwab - - * stdio-common/vfscanf.c (inchar, ungetc): Don't count EOF as - character read in/put back. - * stdio-common/tstscanf.c: Add test case for this. - -1997-06-17 22:17 Andreas Schwab - - * libc.map: Add more symbols. - -1997-06-18 12:01 Ulrich Drepper - - * manual/Makefile (install): Make sure `dir' file exists if we use - install-info. - -1997-06-17 19:32 Andreas Schwab - - * manual/Makefile (info): Depend on dir-add.info. - -1997-06-17 17:19 Andreas Schwab - - * elf/ldd.bash.in: Fix spacing in message. - -1997-06-17 14:28 Andreas Schwab - - * elf/do-rel.h (elf_dynamic_do_rel): Always use version - information if available. - -1997-06-17 11:34 Andreas Schwab - - * sunrpc/Makefile ($(rpcsvc:%.x=$(objpfx)rpcsvc/%.h)): Make - command non-empty to force make to recheck modification time. - ($(rpcsvc:%.x=$(objpfx)x%.c)): Likewise. - -1997-06-17 00:26 Andreas Schwab - - * sysdeps/stub/e_acoshl.c: Set errno to ENOSYS. - * sysdeps/stub/e_acosl.c: Likewise. - * sysdeps/stub/e_asinl.c: Likewise. - * sysdeps/stub/e_atan2l.c: Likewise. - * sysdeps/stub/e_expl.c: Likewise. - * sysdeps/stub/e_fmodl.c: Likewise. - * sysdeps/stub/e_j0l.c: Likewise. - * sysdeps/stub/e_j1l.c: Likewise. - * sysdeps/stub/e_jnl.c: Likewise. - * sysdeps/stub/e_lgammal_r.c: Likewise. - * sysdeps/stub/e_log10l.c: Likewise. - * sysdeps/stub/e_logl.c: Likewise. - * sysdeps/stub/e_powl.c: Likewise. - * sysdeps/stub/e_rem_pio2l.c: Likewise. - * sysdeps/stub/e_sqrtl.c: Likewise. - * sysdeps/stub/k_cosl.c: Likewise. - * sysdeps/stub/k_rem_pio2l.c: Likewise. - * sysdeps/stub/k_sinl.c: Likewise. - * sysdeps/stub/k_tanl.c: Likewise. - * sysdeps/stub/s_atanl.c: Likewise. - * sysdeps/stub/s_erfl.c: Likewise. - * sysdeps/stub/s_exp2.c: Likewise. - * sysdeps/stub/s_exp2f.c: Likewise. - * sysdeps/stub/s_exp2l.c: Likewise. - * sysdeps/stub/s_expm1l.c: Likewise. - * sysdeps/stub/s_log1pl.c: Likewise. - * sysdeps/stub/s_log2l.c: Likewise. - -1997-06-18 11:46 Ulrich Drepper - - * sysdeps/libm-ieee754/w_gamma.c: If _LIB_VERSION is _SVID_ compute - result as before last change. - * sysdeps/libm-ieee754/w_gammaf.c: Likewise. - * sysdeps/libm-ieee754/w_gammal.c: Likewise. - -1997-06-16 23:37 Andreas Schwab - - * sysdeps/libm-ieee754/s_remquo.c: Fix off-by-one when computing - quotient. - * sysdeps/libm-ieee754/s_remquof.c: Likewise. - * sysdeps/libm-ieee754/s_remquol.c: Likewise. - - * sysdeps/m68k/fpu/s_remquo.c: Remove FIXME and special case for - quotient. - - * sysdeps/libm-ieee754/w_gamma.c: Add missing call to exp - function. Don't use global signgam. - * sysdeps/libm-ieee754/w_gammaf.c: Likewise. - * sysdeps/libm-ieee754/w_gammal.c: Likewise. - - * math/Makefile (libm-calls): Remove w_gamma_r. - * sysdeps/libm-ieee754/w_gamma_r.c: Remove file. - * sysdeps/libm-ieee754/w_gammaf_r.c: Remove file. - * sysdeps/libm-ieee754/w_gammal_r.c: Remove file. - - * math/libm-test.c (atanh_test): Declare x only if needed. - (signbit_test): Fix typo. - (gamma_test): Check whether function is implemented. Add - epsilons. - (lgamma_test): Likewise. - (fmod_test): Add epsilons. - (exp2_test): Use right function for existence test. - -1997-06-07 09:20 Andreas Schwab - - * sysdeps/powerpc/Dist: Add fenv_const.c. - * sysdeps/unix/sysv/linux/Dist: Add net/if_slip.h. - * sysdeps/unix/sysv/linux/powerpc/Dist: Add init-first.h and - syscall.h. - * sysdeps/unix/sysv/linux/sparc/Dist: Add init-first.h. - * string/Makefile (distribute): Add tst-svc.expect. - * nis/Makefile (distribute): Add nis_intern.h and Banner. - * elf/Makefile (distribute): Add dl-hash.h. - * Rules (subdir_echo-distinfo): Add headers from $(distribute). - - * login/Makefile (others): Add utmpdump. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add - net/if_slip.h. - - * manual/Makefile (dir-add.texi): Also look in indirectly included - files. - -1997-06-16 23:15 Andreas Schwab - - * sysdeps/unix/sysv/linux/configure.in: Remove commands to - generate stdio_lim.h. - * sysdeps/unix/sysv/linux/mk-stdiolim.c: Remove. - * sysdeps/unix/sysv/linux/Makefile: Add rules to generate - stdio_lim.h here. - (common-generated): Add generated files. - (inhibit-stdio_lim): Define. - * sysdeps/posix/Makefile [$(inhibit-stdio_lim)=yes]: Disable rules - to generate stdio_lim.h. - - * sysdeps/unix/sysv/linux/Makefile: Suppress inclusion of - dependecy files if no_deps is set. - ($(objpfx)syscall-%.d): Add header file as target to dependency - generation. - -1997-06-14 19:19 Andreas Schwab - - * sysdeps/unix/sysv/linux/arm/Dist: New file. - -1997-06-14 17:59 Andreas Schwab - - * extra-lib.mk (others): Depend on versioned shared library, not - the unversioned one. - * Makerules (build-shlib): Don't make the version link here. - ($(common-objpfx)libc.so$(libc.so-version)): New rule for libc - version link. - -1997-06-16 03:07 Ulrich Drepper - - * sysdeps/libm-ieee754/k_standard.c: Undo change of Tue Aug 6 - 01:13:56 1996. - -1997-06-16 00:54 Ulrich Drepper - - * libc.map: Add more symbols. - - * Makerules (load-map-file): Currectly handle missing map file. - -1997-06-15 17:00 Philip Blundell - - * configure.in: Correct detection of generic uname implementation. - -1997-06-15 23:19 Ulrich Drepper - - * math/libm-test.c: Fix typos. Patch by Andreas Jaeger. - - * libc.map: Add __nss_configure_lookup. Reported by Thorsten Kukuk. - -1997-06-15 00:43 Ulrich Drepper - - * Makeconfig: Define libc-map here. - * Makefile: And remove definition here. - * Makerules (load-map-file): Handle case where map file is in - other directory. - (build-shlib): Likewise. - - * libc.map: Add more symbols. - * resolv/libresolv.map: Likewise. - - * db/libdb.map: Add __dbopen. Patch by HJ Lu. - - * libio/stdio.h: Remove "optmizations" for vfscanf and vsscanf. - - * locale/programs/localedef.c: Add normalize_codeset function. We - don't want to use the _nl_normalize_codeset functions from libc. - - * sysdeps/libm-i387/s_asinh.S: Handle +-Inf and NaN correctly. - * sysdeps/libm-i387/s_asinhf.S: Likewise. - * sysdeps/libm-i387/s_asinhl.S: Likewise. - * sysdeps/libm-i387/s_nearbyint.S: Correctly leave function. - * sysdeps/libm-i387/s_nearbyintf.S: Likewise. - * sysdeps/libm-i387/s_nearbyintl.S: Likewise. - -1997-06-14 12:45 Thorsten Kukuk - - * nis/nss_nis/nis-ethers.c: Add static to internal_nis_setetherent. - - * nis/nss_nis/nis-proto.c: Add static to internal_nis_setprotoent. - - * nis/nss_nisplus/nisplus-hosts.c: Rewrite parser and fix - _nss_nisplus_gethostbyaddr_r interface. - - * nis/libnsl.map: Add all GLOBAL functions. - -1997-06-13 18:32 Andreas Jaeger - - * libm-test.c (main): Call new tests, reorder tests. - (fmod_test): Test function fmod. - (nearbyint_test): Test function nearbyint. - (acos_test): Add more test cases. - (signbit_test): Test macro signbit. - (output_result_bool): Output result if test fails. - (asin_test): Add another test case. - (atan2_test): Add more tests. - (asinh_test): Add more tests. - (atanh_test): Add more tests. - (hypot_test): Add more tests. - (isfinite_test): Test macro isfinite. - (isnormal_test): Test macro isnormal. - (sincos_test): Tests for sincos. - (main): Enable remquo_test since the tests are - correct (according to ANSI/IEEE 754-1985). - (remquo_test): Corrected tests cases and added more tests. - (remainder_test): Tests for remainder. - (check_int): New Function to compare int values. - (check_isnan_exc_ext): New function. - (sqrt_test): Add some extra tests for sqrt. - (erf_test): Tests for erf. - (erfc_test): Tests for erfc. - (gamma_test): Tests for gamma. - (lgamma_test): Tests for lgamma. - -1997-06-08 10:54 H.J. Lu - - * sysdeps/unix/sysv/linux/configure.in: Try to generate - stdio_lim.h using the target C preprocessor and mk-stdiolim.c. - * sysdeps/unix/sysv/linux/stdio_lim.h.in: New, template for - stdio_lim.h. - * sysdeps/unix/sysv/linux/mk-stdiolim.c: New, used by the - target C preprocessor to extract OPEN_MAX and PATH_MAX. - -1997-06-14 17:32 Andreas Jaeger - - * math/libm.map: Add inline functions, global variables. - -1997-06-14 00:39 Ulrich Drepper - - * libc.map: Add more libio functions which are used in libio.h. - - * login/Makefile (libutil-routines): Move updwtmp to ... - (routines): ...here. - Suggested by Mark Kettenis . - - * sysdeps/stub/s_erfl.c: Add stub definition of erfcl. - Reported by Andreas Jaeger . - -1997-06-13 21:10 Thorsten Kukuk - - * nis/nis_add.c (nis_add): Create object name only if not set. - - * nis/nis_clone.c: Use calloc instead of malloc to prevent - RPC encode errors. - - * nis/nis_modify.c (nis_modify): Create default object entrys if - given are NULL. - * nis/nis/nis_table.c (nis_add_entry, nis_modify_entry): Likewise. - -1997-06-13 14:17 Andreas Jaeger - - - * sysdeps/i386/addmul_1.S: Replace size with sizeP, otherwise the - define might also replace the expanded macro ASM_SIZE_DIRECTIVE. - * sysdeps/i386/submul_1.S: Likewise. - -1997-06-13 12:19 Ulrich Drepper - - * elf/rtld.c: Print version information if LD_TRACE_LOADED_OBJECT - and LD_VERBOSE are given. - - * elf/ldd.sh.in: Add -v|--verbose option. Add author information - as per Coding Standard. - * elf/ldd.bash.in: Likewise. - -1997-06-12 21:22 Ulrich Drepper - - * Makefile (libc-map): Define before including Makerules. - * Makerules (lib%.so): Depend on $(lib%-map). - (build-shlib): Adapt rule for above change. - (libc.so): Depend on $(libc-map). - * db/Makefile (libcdb-map): New definition. - * elf/Makefile (libdl-map): New definition. - * elf/dl-lookup.c: Don't use relative include path. - (undefined_msg): New variable. Use single string in all functions. - (do_lookup): Correctly recognize default version. - Return -2 if no version information is available. - Stop processing hash entries when string was found. - Don't bark about missing versioned symbol in file with original - reference if it is a weak symbol. - (_dl_lookup_symbol): Use undefined_msg. - (_dl_lookup_versioned_symbol): Likewise. - Give extra information if no verdef info is available. - * elf/dl-version.c (file_needed): Remove first argument. We must - seek in the whole search list. - (match_symbol): Correct check for available verdef info. - (_dl_check_map_versions): Correct call of find_needed. - * locale/Makefile (libBrokenLocale-map): New definition. - * login/Makefile (libutil-map): New definition. - * math/Makefile (libm-map): New definition. - * md5-crypt/Makefile (libcrypt-map): New definition. - * nis/Makefile (libnsl-map, libnss_compat-map, libnss_nis-map, - libnss_nisplus-map): New definition. - * nss/Makefile (libnss_files-map, libnss_db-map): New definitions. - * resolv/Makefile (libresolv-map, libnss_dns-map): New definitions. - * libc.map: New file. - * db/libdb.map: New file. - * elf/libdl.map: New file. - * locale/libBrokenLocale.map: New file. - * login/libutil.map: New file. - * math/libm.map: New file. - * md5-crypt/libcrypt.map: New file. - * nis/libnss_compat.map: New file. - * nis/libnsl.map: New file. - * nis/libnss_nis.map: New file. - * nis/libnss_nisplus.map: New file. - * nss/libnss_files.map: New file. - * nss/libnss_db.map: New file. - * resolv/libnss_dns.map: New file. - * resolv/libresolv.map: New file. - - * sysdeps/i386/dl-machine.h (elf_machine_rel): Don't do anything - for R_386_NONE entries. - - * Makefile (manual/dir-add.info): New rule. - - * Makerules: Add vpath definition for .x files. - - * Makerules (distinfo): Make sure target directory exists. - - * argp/argp-help.c (argp_args_usage): Don't modify `fdoc' value - since it is used to distinguish filtered strings from unmodifed - strings. - - * elf/dl-lookup.c (do_lookup): Optimize STT_* recognition. - * elf/dl-reloc.c: Fix typo. - - * inet/arpa/tftp.h (struct tftphdr): Change type of tu_block to - `unsigned short'. - - * manual/Makefile (dir-add.texi): Also emit wrapper text for - info/install-info. - (distribute): Add dir-add.texi and dir-add.info. - (mostlyclean): Add dir-add.info. - (realclean): Add dir-add.texi. - (install): Add entries in `dir' file using install-info. - - * manual/libc.texinfo: Add @dircategory and @direntry text. - Reported by Miles Bader . - - * manual/pattern.texi: Correct description of GLOB_MAGCHAR and - GLOB_NOMAGIC. Changes by Roland McGrath . - - * nis/nis_addmember.c: Little optimizations. - * nis/nis_call.c: Likewise. - * nis/nis_creategroup.c: Likewise. - * nis/nis_defaults.c: Likewise. - * nis/nis_destroygroup.c: Likewise. - * nis/nis_ismember.c: Likewise. - * nis/nis_local_names.c: Likewise. - * nis/nis_print_group_entry.c: Likewise. - * nis/nis_verifygroup.c: Likewise. - - * posix/unistd.h: Fix comment for getcwd. - - * stdlib/Makefile (headers): Remove inttypes.h. It's a system - dependent header. - * sysdeps/wordsize-32/Dist: New file. - * sysdeps/wordsize-32/Makefile: New file. - * sysdeps/wordsize-64/Dist: New file. - * sysdeps/wordsize-64/Makefile: New file. - - * sunrpc/Makefile: Adopt comment for real situation. - - * sysdeps/i386/add_n.S: Add ASM_TYPE_DIRECTIVE and AS_SIZE_DIRECTIVE. - * sysdeps/i386/addmul_1.s: Likewise. - * sysdeps/i386/lshist.s: Likewise. - * sysdeps/i386/rshift.s: Likewise. - * sysdeps/i386/sub_n.s: Likewise. - * sysdeps/i386/submul_1.s: Likewise. - - * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER): - Add .type and .size. - -1997-06-12 13:32 Philip Blundell - - * libc/sysdeps/unix/arm/brk.S: New file. - * libc/sysdeps/unix/arm/sysdep.S: Likewise. - * libc/sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise. - -1997-06-11 11:51 Thorsten Kukuk - - * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_parse_spent): - Check if we have shadow information. - -1997-06-08 19:33 Thorsten Kukuk - - * nis/nis_getservlist.c (nis_getservlist): Use calloc instead of - malloc, alloc memory for nis_server struct. - * nis/nis_getservlist.c (nis_freeservlist): Give the memory for - the nis_server struct free, too. - - * nis/nis_removemember (nis_removemember): Fix for loop. - -1997-06-12 12:45 Ulrich Drepper - - * sysdeps/i386/fpu/__math.h (__M_SQRT2): Define here since we - cannot rely on M_SQRT2 being defined. - (log1p): Use __M_SQRT2 not M_SQRT2. - * math/math.h (_Mldbl): Define even if M_* constants are not - defined. - Reported by corsepiu@faw.uni-ulm.de. - -1997-06-12 03:08 Philip Blundell - - * nss/getXXbyYY_r.c (do_weak_alias): Remove extra parentheses. - -1997-06-11 13:22 Ulrich Drepper - - * misc/regexp.h (compile): Allow use of macro INIT for variable - declaration. Add documentation for INIT. - Reported by Robert Bihlmeyer . - -1997-06-11 10:47 Philip Blundell - - * sysdeps/unix/sysv/linux/net/if_arp.h: Add two new hardware types. - -1997-06-10 11:31 H.J. Lu - - * sysdeps/powerpc/strlen.s: Use -0x101 instead of 0xfffffeff - for a signed 16-bit value. - -1997-06-07 07:54 H.J. Lu - - * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c - (_dl_sysdep_read_whole_file): Deleted. - - * sysdeps/powerpc/fenvbits.h (__FE_ALL_INVALID): Changed - to FE_ALL_INVALID. - - * sysdeps/powerpc/fraiseexcpt.c (__FE_INVALID_SOFTWARE): - Changed to FE_INVALID_SOFTWARE. - (__FPSCR_STICKY_BITS): Changed to FPSCR_STICKY_BITS. - - * sysdeps/libm-ieee754/s_fmin.c: Fix a typo. - -1997-06-07 18:48 H.J. Lu - - * shlib-versions (.*-.*-linux.*): Set libc to 6. - -1997-06-08 15:35 Thorsten Kukuk - - * nis/nis_add.c (nis_add): Use nis_leaf_of_r instead of nis_name_of_r. - - * nis/nis_addmember.c (nis_addmember): Fix a lot of pointer errors. - * nis/nis_clone.c: Likewise. - * nis/nis_removemember.c (nis_removemember): Likewise. - * nis/nis_table.c: Likewise. - - * nis/nss_nis/nis-hosts.c: Use addr, not p for inet_pton call. - * nis/nss_nisplus/nisplus-hosts.c: Likewise. - - * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Check for - group == NULL. - -1997-06-08 21:21 Mark Kettenis - - * login/login.c, login/utmp_daemon.c, login/utmp_file.c, - login/getutent_r.c, login/utmpname.c: Cleanup `#if _LIBC' and - `#ifndef _LIBC' fragments. - - * login/programs/utmpd.c: Define DEFAULT_USER. - (drop_priviliges): Use it. - (main): Set locale and text domain. - - * login/programs/utmpd-private.h: Declare proc_utmp_eq. - * login/programs/database.c (proc_utmp_eq): Removed. - * login/programs/request.c (proc_utmp_eq): Made global. Only use - ut_id field if valid. - - * login/utmp_file.c (proc_utmp_eq): Restore patch made by Miles - Bader that was lost when adding the daemon backend; Only use ut_id - field if valid. - -1997-06-05 23:10 Andreas Schwab - - * sysdeps/unix/sysv/linux/Dist: Remove netatalk/atalk.h and - netinet/icmp.h, add netatalk/at.h. - * sysdeps/unix/sysv/linux/powerpc/Dist: Remove termios.h. - * sysdeps/unix/sysv/linux/sparc/Dist: Remove start.c. - -1997-06-04 19:22 Andreas Schwab - - * stdlib/testsort.c (compare): Fix parameter types. - -1997-06-04 19:05 Andreas Schwab - - * md5-crypt/Makefile (distribute): Fix name of file. - -1997-06-04 19:02 Andreas Schwab - - * login/Makefile (utmpd-routines): Remove utmpd again, which is - already added implicitly through $(others). - -1997-06-05 13:43 Fila Kolodny - - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add netipx/ipx.h. - -1997-06-05 13:25 Andreas Jaeger - - * md5-crypt/md5-crypt.c: Add prototype for __md5_crypt. - -1997-06-05 17:08 Ulrich Drepper - - * string/argz-addsep.c: Correct weak alias. - Reported by Ben Pfaff . - - * locale/setlocale.c (setlocale): Free variable with locale path - before returning. - (setname): Don't test for _nl_current[category] being NULL before - freeing. - Reported by Ben Pfaff . - -1997-06-04 12:41 Andreas Jaeger - - * manual/intro.texi (XPG): Correct some typos. - -1997-06-04 05:09 Miles Bader - - * argp/argp-help.c (_help): Use uparams.usage_indent instead of - the USAGE_INDENT macro. - - * manual/summary.awk: Strip trailing commas from node-names. - - * manual/.cvsignore: Ignore chapters-incl[12] rather than - chapters-incl. - - * manual/Makefile (%.c.texi): Deal with multiple @-commands on a - single line. - - * manual/string.texi (Argz Functions, Envz Functions): Add magic - comments for generating summary.texi. - -1997-06-02 22:18 Miles Bader - - * manual/argp.texi: New file. - * manual/examples/argp-ex1.c, manual/examples/argp-ex2.c, - manual/examples/argp-ex3.c, manual/examples/argp-ex4.c: New files. - * manual/Makefile [chapters] (chapters-incl1): New rule & include. - [chapters-incl1] (chapters-incl2): New rule & include. - (chapters-incl): Set based on $(chapters-incl1) & $(chapters-incl2). - * manual/maint.texi (Contributors): Give myself credit. - -1997-06-01 15:01 Miles Bader - - * manual/getopt.texi: New file. - * manual/startup.texi: Mention argp_parse in places that - previously mentioned only getopt. - Include getopt.texi (now containing all the getopt nodes that used - to be here) and argp.texi. - (Program Arguments): Move parsing bits into the new Parsing - Program Arguments node. - (Parsing Program Arguments): New node. - (Parsing Options, Example of Getopt, Long Options, Long Option - Example): Nodes removed. - * manual/libc.texinfo (Program Arguments): Menu updated. - (Parsing Program Arguments): New menu. - -1997-06-04 20:57 Ulrich Drepper - - * manual/string.texi: Add comments to discourage use of index and - rindex. - (strtok, strsep): Apply function on copy of the strings in example. - (l64a): Add example. - - * posix/unistd.h: Correct value for _POSIX_VERSION. - - * sunrpc/Makefile (defines): Remove definition. - - * sysdeps/ieee754/nan.h: Correct typo. - -1997-06-04 10:50 Fila Kolodny - - * posix/unistd.h: Add definition of __fchdir corresponding to fchdir. - - * login/utmp_daemon.c: Correct location of utmpd.h. - -1997-06-03 19:16 Andreas Schwab - - * Makerules: Rename $(common-objpfx)distinfo-$(subdir) to - $(objpfx)distinfo. - * rpm/Makefile (distinfo): Adapted. - -1997-06-03 18:32 Andreas Schwab - - * rpm/Makefile (install-slib): Collect shared libraries here - instead of in install-lib, including libc. - (instvars): Add slib. - -1997-06-03 18:23 Andreas Schwab - - * login/Makefile (libutil-routines): Add updwtmp. - -1997-06-03 16:16 Andreas Schwab - - * monetary.h: New file, needed for localedata/tst-fmon.c. - -1997-06-02 20:31 Andreas Schwab - - * math/libm-test.c (cpow_test): Add epsilon for long double in - test for 2^10. - (identities): Add epsilon for float in second identity test. - - * sysdeps/m68k/huge_val.h: Change GCC's HUGE_VAL{,F,L} to use - DI and SI mode integers instead of bytes. Fix value of HUGE_VALL. - - * sysdeps/m68k/nan.h: New file. - - * sysdeps/m68k/fpu/__math.h (isgreater, isgreaterequal, isless, - islessequal, islessgreater, isunordered): Fix assembler syntax. - - * sysdeps/m68k/fpu/fraiseexcpt.c: Do it right so that gcc doesn't - optimize out the operations. - - * sysdeps/libm-ieee754/s_nan.c: Use NaN macro instead of static - constant. - * sysdeps/libm-ieee754/s_nanf.c: Likewise. - * sysdeps/libm-ieee754/s_nanl.c: Likewise. - - * math/carg.c [NO_LONG_DOUBLE]: Add alias for long double - function. - * sysdeps/libm-ieee754/s_erf.c: Likewise. - * sysdeps/libm-ieee754/s_fdim.c: Likewise. - * sysdeps/libm-ieee754/s_fmax.c: Likewise. - * sysdeps/libm-ieee754/s_fmin.c: Likewise. - * sysdeps/libm-ieee754/s_log2.c: Likewise. - * sysdeps/libm-ieee754/s_nan.c: Likewise. - * sysdeps/libm-ieee754/s_remquo.c: Likewise. - -1997-06-03 23:42 Ulrich Drepper - - * elf/dl-support.c: Define and initialize _dl_verbose used in - dl-machine.h. - - * io/ftw.c: Expand stat/lstat calls. - - * manual/intro.texi: Also refer to ISO 9945. - Update info about SVID. - Add description for XPG. - - * md5-crypt/md5-crypt.c: Namespace cleanups. - * md5-crypt/md5.c: Likewise. - * md5-crypt/md5.h: Likewise. - * sysdeps/generic/crypt-entry.c: Likewise. - - * posix/unistd.h (_POSIX2_C_VERSION): Set to 199209L. - - * stdlib/fmtmsg.h: Declare addseverity only if __USE_SVID is - defined. - - * sunrpc/rpc_scan.c (findkind): Declare `token' as const. - * sunrpc/rpc_util.c (toktostr): Declare `token' as const. - - * time/Makefile: Make tzselect depend on config.make. - -1997-06-01 15:01 Miles Bader - - * manual/string.texi (String and Array Utilities): Add `Argz and - Envz Vectors' to the menu. - (Argz and Envz Vectors, Argz Functions, Envz Functions): New nodes. - -1997-05-31 20:59 Andreas Schwab - - * login/Makefile (utmpd-routines): Add utmpd. - (extra-objs): Add utmpd objects to get dependencies. - (distribute): Add sources for utmpd. - (subdir-dirs): Define. - -1997-06-02 16:28 Ulrich Drepper - - * sysdeps/wordsize-32/inttypes.h: Include features.h and use - __CONCAT instead of defined __CONCAT__ ourself. - * sysdeps/wordsize-64/inttypes.h: Likewise. - -1997-06-01 19:11 Andreas Schwab - - * sysdeps/wordsize-64/inttypes.h (INTMAX_C): Use `l' suffix, not `ll'. - (PRIdFAST, PRIoFAST, PRIxFAST, PRIuFAST, SCNdFAST, SCNiFAST, - SCNoFAST, SCNxFAST): Correct format specifiers. - -1997-06-02 04:23 Ulrich Drepper - - * sysdeps/unix/syscalls.list: Make fchdir weak alias for __fchdir. - -1997-06-01 19:17 Ulrich Drepper - - * md5-crypt/Makefile: Correct libmd5crypt file to really generate - DES free libcrypt. - * md5-crypt/onlymd5-entry.c: New file. Wrapper around - sysdeps/generic/crypt-entry.c. - -1997-06-01 12:48 Ulrich Drepper - - * sysdeps/unix/sysv/linux/alpha/gnu/types.h (__fd_mask): Change - type to `unsigned long int'. - Patch by Richard Henderson . - -1997-05-30 17:34 Andreas Jaeger - - * sysdeps/generic/bb_init_func.c (__bb_init_func): Use ISO C - declaration style. - - * nss/nss_files/files-hosts.c: Delete inclusion of - "../resolv/mapv4v6hostent.h". - -1997-05-31 02:33 Ulrich Drepper - - * io/ftwtest-sh: More tests. - - * misc/tsearch.c: Rewrite tdestroy_recursive. - - * libio/libio.h: Define bits for libg++-2.8. - -1997-05-30 22:21 Thorsten Kukuk - - * nis/nss_nis/nis-hosts.c: Same changes as in - nss/nss_files/files-hosts.c (Always use inet_pton). - * nis/nss_nisplus/nisplus-hosts.c: Likewise. - -1997-05-30 09:50 Richard Henderson - - * manual/maint.texi: ECOFF hasn't been tested in ages and I don't - plan on doing so ever again. Don't say alpha-linuxecoff is known - to work. - - * elf/dl-lookup.c: Include . - * misc/tsearch.c: Include . - * posix/execle.c: Include . - * posix/execlp.c: Likewise. - * stdio-common/printf_fphex.c: Include . - * sunrpc/xdr.c: Include . - * sysdeps/generic/memccpy.c: Include only . - - * sunrpc/clnt_udp.c (clntudp_call): Make fromlen a size_t to fix - parameters to network functions. - * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise. - * sunrpc/svc_tcp.c (svctcp_create): Likewise with `len'. - (rendezvous_request): Likewise. - * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise. - (svcudp_recv): Similar, but go through a local variable. The old code - used &xprt->xp_addrlen. Someone should determine if the type of the - structure member should be changed instead. - * sunrpc/xdr_rec.c (xdrrec_create): Expunge a ptr->int cast warning - and transform a nonsense for-loop to a closed form calculation. - (fill_input_buf): Another ptr->int warning. - - * sysdeps/alpha/Makefile: Temporarily turn on -mieee globally. This - will last until I figure out how to build a parallel libm_ieee. - - * sysdeps/alpha/fpu/fclrexcpt.c, - * sysdeps/alpha/fpu/fegetenv.c, - * sysdeps/alpha/fpu/fegetround.c, - * sysdeps/alpha/fpu/feholdexcpt.c, - * sysdeps/alpha/fpu/fenvbits.h, - * sysdeps/alpha/fpu/fesetenv.c, - * sysdeps/alpha/fpu/fesetround.c, - * sysdeps/alpha/fpu/feupdateenv.c, - * sysdeps/alpha/fpu/fgetexcptflg.c, - * sysdeps/alpha/fpu/fraiseexcpt.c, - * sysdeps/alpha/fpu/fsetexcptflg.c, - * sysdeps/alpha/fpu/ftestexcept.c: New files. There is, btw, a small - kernel patch that must be applied as of 2.0.31-pre1 and 2.1.41 for - this to work properly. - - * sysdeps/alpha/fpu/fpu_control.h: Update copyright. Change default - FP mode to round to nearest, no exceptions as for Intel. - * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Add copyright. - (rdfpcr): Use excb rather than trapb. Be more efficient about - getting at the fpcr. - (wrfpcr): Likewise. - (__setfpucw): Reformat. - - * sysdeps/ieee754/huge_val.h: Change GCC's HUGE_VAL definition to use - a single DI-mode integer instead of bytes. This produces better code - on Alpha. Similar for HUGE_VALF. - * sysdeps/ieee754/nan.h: Similar for NAN. Add NANF and NANL. - - * sysdeps/libm-ieee754/s_log2.c: Missing */ and weak_alias. - - * sysdeps/unix/alpha/sysdep.S: Tiny cleanups. - * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/brk.S: Don't use jmp macro to make - sure the stack frame is released the very instruction before the - real jump out. - * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise. - - * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Undef some bits we may - have gotten from . - - * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add definition for Miata. - -1997-05-30 13:05 Ulrich Drepper - - * misc/tst-tsearch.c (mangle_tree): Update casts to prevent - warnings. - -1997-05-29 14:02 Andreas Schwab - - * sysdeps/unix/sysv/linux/sys/ttydefaults.h (CEOL, CSTATUS): Use - correct value for _POSIX_VDISABLE. - -1997-05-29 13:59 Andreas Schwab - - * Makefile (manual/dir-add.texi): Force execution. - -1997-05-29 13:57 Andreas Schwab - - * sysexits.h: New file. - -1997-05-29 13:55 Andreas Schwab - - * stdlib/strfmon.c: Don't run past EOS after `='. - -1997-05-29 12:48 Ulrich Drepper - - * io/ftw.c: Complete rewrite. Add implementation of `nftw'. - * io/ftw.h: Update for new implementation and XPG4.2. - * io/Makefile (test-srcs): Add ftwtest. - (distribute): Add ftwtest-sh. - (tests): Call ftwtest-sh for this goal. - * io/ftwtest-sh: New file. Sets up test environment, calls test - program and compares the result. - * io/ftwtest.c: Test program for ftw. - - * misc/search.h: Add comments. Declare tdestroy. - * misc/tsearch.c (tdestroy): New function. - - * login/Makefile: Update for UTMP daemon implementation. - - Update resolver code to bind-4.9.6-T1A. - * resolv/Banner: Update. - * nss/digits_dots.c: Adapt text address matching to T1A. - * nss/nss_files/files-hosts.c: Always use inet_pton. - * resolv/base64.c (b64_pton): Follow T1A but don't use this code since - it would lead to warnings. - * resolv/gethnamaddr.c (getanswer): Test host name for maximal length - at several places. - * resolv/inet_net_pton.c (inet_net_pton_ipv4): Correct typo in comment. - * resolv/res_comp.c (dn_expand): Check for overflow. - (dn_comp): Likewise. - * resolv/res_debug.c (precsize_aton): Better implementation. - * resolv/res_init.c (res_init): Make `buf' of size MAXDNAME. - * resolv/res_send.c (res_send): Check for overflow in descriptor set. - * resolv/nss_dns/dns-host.c (getanswer_r): Test host name for maximal - length at several places. - -1997-05-29 12:51 Mark Kettenis - - * login/utmp-private.h (struct utfuncs): Add one more parameter - to updwtmp function. - Declare all three function jump tables. - * login/utmp.h: Declare __utmpname. - * login/getutent_r.c: Remove db backend and provide support for - utmpd backend. - * login/login.c: Use `updwtmp' function insteead of writing the - record ourself. - * login/logwtmp.c: Move `updwtmp' function to... - * login/updwtmp.c: ...here. New file. - * login/utmp_db.h: Removed. - * login/utmp_file.c: Add updwtmp function to write to file. - * login/utmp_daemon.c: New file. Daemon backend. - * login/utmpname.c: New file. Implementation of utmpname function. - * login/utmpdump.c: New file. Tool to dump utmp-like files. - * login/utmpd/connection.c: New file. - * login/utmpd/database.c: New file. - * login/utmpd/error.c: New file. - * login/utmpd/request.c: New file. - * login/utmpd/utmpd-private.h: New file. - * login/utmpd/utmpd.c: New file. - * login/utmpd/utmpd.h: New file. - * login/utmpd/xtmp.c: New file. - * login/utmpd/xtmp.h: New file. - -1997-05-29 12:28 Jim Meyering - - * time/strftime.c: Correct/normalize indentation in cpp directives. - -1997-05-28 20:43 Philip Blundell - - * nis/nis_error.c: Include to fix warning. - * nis/nis_print.c: Likewise. - * nis/nss_nisplus/nisplus-hosts.c: Arg 3 of map_v4v6_hostent - is int* not size_t*. - -1997-05-28 21:56 Andreas Jaeger - - * math/cmathcalls.h: Correct typo in comment. - - * inet/netinet/icmp6.h: Include for in6_addr. - - * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Include for - IFNAMSIZ. - - * sysdeps/unix/sysv/linux/net/ppp_defs.h: Include for - time_t. - - * login/pty.h: Include for definition of struct - winsize. - - * misc/regexp.h (compile): Correct typo. - - * argp/argp.h: Put extern before __const in defintion of - argp_program_bug_address. - -1997-05-29 00:20 Ulrich Drepper - - * sysdeps/wordsize-32/inttypes.h: Correct names of unsigned fast - and least types. Correct names of ?INT_FAST*_{MIN,MAX} macros. - * sysdeps/wordsize-64/inttypes.h: Likewise. - Reported by Andreas Jaeger . - -1997-05-28 22:51 Ulrich Drepper - - * sysdeps/unix/Makefile (make-ioctls-CFLAGS): Use generic - ttydefaults.h file instead of non-existing version in termios/sys. - Reported by Zack Weinberg . - - * time/strptime.c (strptime_internal, case 'Y'): Restrict year - number to four digits and to representable range for 4 byte time_t - values. - Patch by H.J. Lu . - -1997-05-28 18:19 Philip Blundell - - * posix/execl.c: Include to avoid warning. - -1997-05-27 18:19 Andreas Jaeger - - * math/libm-test.c: Implement testing of inlined functions, make - output nicer, update comments. - - * math/test-idouble.c: New file. Frontend for double tests of - inlined functions. - * math/test-ildoubl.c: New file. Frontend for long double tests of - inlined functions. - * math/test-ifloat.c: New file. Frontend for float tests of - inlined functions. - - * math/test-longdouble.c: Rename to... - * math/test-ldouble.c: ...this. - - * math/Makefile: Add rules for new test programs, change rules for - renaming of longdouble test. - -1997-05-20 15:50 H.J. Lu - - * sunrpc/rpc/svc.h (__dispatch_fn_t): New. - (svc_register): Use __dispatch_fn_t in prototype. - -1997-05-28 17:02 Ulrich Drepper - - * sysdeps/generic/bzero.c (bzero): Fix typo. - Patch by Witek Wnuk . - -1997-05-27 12:00 Andreas Jaeger - - * sysdeps/generic/vtimes.c: Use ISO C declaration style. - - * sysdeps/unix/bsd/ualarm.c: Include for prototype. - - * sysdeps/generic/memccpy.c: Include for prototype. - - * signal/tst-signal.c (handler): Correct function declaration to - avoid warning. - * stdlib/testsort.c (compare): Likewise. - * string/tester.c: Likewise. - -1997-05-27 14:16 Miles Bader - - * argp/argp-help.c (argp_args_usage): Supply correct argp to - filter_doc. - -1997-05-27 17:51 Andreas Schwab - - * db/hash/extern.h, db/hash/hash.c, db/hash/hash.h, - db/hash/hash_log2.c: Rename __log2 to __hash_log2 to avoid clash - with libm. - -1997-05-27 14:47 Andreas Schwab - - * sysdeps/m68k/fpu/e_atan2.c: Fix missing negate. Use __m81_test - instead of explicit comparisons. - -1997-05-26 18:36 Andreas Schwab - - * inet/netinet/icmp6.h: Remove use of which has no - place in a generic header and is no user include file. - -1997-05-27 02:20 Ulrich Drepper - - * stdio/obstream.c (obstack_printf): Fix bug in - de-ansidecl-fication. - Patch by Zack Weinberg . - -1997-05-26 22:51 Ulrich Drepper - - * configure.in: Use AC_PROG_CC_LOCAL instead of AC_PROC_CC. - * aclocal.m4: Add AC_PROG_CC_LOCAL which does not fail for - environments in which linking is not possible at configure time - (since te libc is just build). - Based on patches by Marcus G. Daniels . - - * time/scheck.c (scheck): Make 2nd parameter const. - * time/private.h: Likewise. - -1997-05-26 18:58 Ulrich Drepper - - * stdlib/random_r.c (__initstate_r): Initialize randomizer type in - state array only at right place. - Reported by Sven Verdoolaege . - - * stdlib/erand48_r.c (__erand48_r): Don't generate numbers in - [0.5,1.0) but really in [0.0, 1.0). - Patch by Oliver Gathmann . - -1997-05-22 12:50 Eric Delaunay - - * shlib-versions: Provide Linux/SPARC defaults. - -1997-05-26 15:00 Matthias Urlichs - - * stdlib/strtod_l.c: Add missing #include . - * stdlib/strtof_l.c: Likewise. - * stdlib/strtol_l.c: Likewise. - * stdlib/strtold_l.c: Likewise. - * stdlib/strtoll_l.c: Likewise. - * stdlib/strtoul_l.c: Likewise. - * stdlib/strtoull_l.c: Likewise. - -1997-05-26 02:42 Zack Weinberg - - * hurd/dtable.c: De-ansidecl-fy. - * math/test-math.c: Likewise. - * signal/tst-signal.c: Likewise. - * stdio/getc.c: Likewise. - * stdio/obstream.c: Likewise. - * stdio/putc.c: Likewise. - * stdio-common/bug1.c: Likewise. - * stdio-common/bug2.c: Likewise. - * stdio-common/bug6.c: Likewise. - * stdio-common/fscanf.c: Likewise. - * stdlib/testsort.c: Likewise. - * string/tester.c: Likewise. - * sysdeps/am29k/ffs.c: Likewise. - * sysdeps/generic/bb_init_func.c: Likewise. - * sysdeps/generic/bcopy.c: Likewise. - * sysdeps/generic/bzero.c: Likewise. - * sysdeps/generic/div.c: Likewise. - * sysdeps/generic/ffs.c: Likewise. - * sysdeps/generic/memccpy.c: Likewise. - * sysdeps/generic/memcpy.c: Likewise. - * sysdeps/generic/memmove.c: Likewise. - * sysdeps/generic/memset.c: Likewise. - * sysdeps/generic/vfork.c: Likewise. - * sysdeps/generic/vtimes.c: Likewise. - * sysdeps/i386/bzero.c: Likewise. - * sysdeps/i386/ffs.c: Likewise. - * sysdeps/i960/ffs.c: Likewise. - * sysdeps/m68k/ffs.c: Likewise. - * sysdeps/m88k/ffs.c: Likewise. - * sysdeps/mach/hurd/_exit.c: Likewise. - * sysdeps/mach/hurd/accept.c: Likewise. - * sysdeps/mach/hurd/access.c: Likewise. - * sysdeps/mach/hurd/adjtime.c: Likewise. - * sysdeps/mach/hurd/bind.c: Likewise. - * sysdeps/mach/hurd/brk.c: Likewise. - * sysdeps/mach/hurd/chdir.c: Likewise. - * sysdeps/mach/hurd/chflags.c: Likewise. - * sysdeps/mach/hurd/chmod.c: Likewise. - * sysdeps/mach/hurd/chown.c: Likewise. - * sysdeps/mach/hurd/chroot.c: Likewise. - * sysdeps/mach/hurd/close.c: Likewise. - * sysdeps/mach/hurd/connect.c: Likewise. - * sysdeps/mach/hurd/defs.c: Likewise. - * sysdeps/mach/hurd/dup2.c: Likewise. - * sysdeps/mach/hurd/execve.c: Likewise. - * sysdeps/mach/hurd/fchdir.c: Likewise. - * sysdeps/mach/hurd/fchflags.c: Likewise. - * sysdeps/mach/hurd/fchmod.c: Likewise. - * sysdeps/mach/hurd/fchown.c: Likewise. - * sysdeps/mach/hurd/fcntl.c: Likewise. - * sysdeps/mach/hurd/fdopen.c: Likewise. - * sysdeps/mach/hurd/flock.c: Likewise. - * sysdeps/mach/hurd/fsync.c: Likewise. - * sysdeps/mach/hurd/ftruncate.c: Likewise. - * sysdeps/mach/hurd/getdtsz.c: Likewise. - * sysdeps/mach/hurd/getegid.c: Likewise. - * sysdeps/mach/hurd/geteuid.c: Likewise. - * sysdeps/mach/hurd/getgid.c: Likewise. - * sysdeps/mach/hurd/getgroups.c: Likewise. - * sysdeps/mach/hurd/gethostid.c: Likewise. - * sysdeps/mach/hurd/gethostname.c: Likewise. - * sysdeps/mach/hurd/getitimer.c: Likewise. - * sysdeps/mach/hurd/getlogin.c: Likewise. - * sysdeps/mach/hurd/getpeername.c: Likewise. - * sysdeps/mach/hurd/getpgid.c: Likewise. - * sysdeps/mach/hurd/getpid.c: Likewise. - * sysdeps/mach/hurd/getppid.c: Likewise. - * sysdeps/mach/hurd/getsockname.c: Likewise. - * sysdeps/mach/hurd/getsockopt.c: Likewise. - * sysdeps/mach/hurd/getuid.c: Likewise. - * sysdeps/mach/hurd/ioctl.c: Likewise. - * sysdeps/mach/hurd/isatty.c: Likewise. - * sysdeps/mach/hurd/link.c: Likewise. - * sysdeps/mach/hurd/listen.c: Likewise. - * sysdeps/mach/hurd/lseek.c: Likewise. - * sysdeps/mach/hurd/mkdir.c: Likewise. - * sysdeps/mach/hurd/open.c: Likewise. - * sysdeps/mach/hurd/pipe.c: Likewise. - * sysdeps/mach/hurd/read.c: Likewise. - * sysdeps/mach/hurd/readlink.c: Likewise. - * sysdeps/mach/hurd/reboot.c: Likewise. - * sysdeps/mach/hurd/recv.c: Likewise. - * sysdeps/mach/hurd/recvfrom.c: Likewise. - * sysdeps/mach/hurd/rename.c: Likewise. - * sysdeps/mach/hurd/rewinddir.c: Likewise. - * sysdeps/mach/hurd/rmdir.c: Likewise. - * sysdeps/mach/hurd/sbrk.c: Likewise. - * sysdeps/mach/hurd/seekdir.c: Likewise. - * sysdeps/mach/hurd/select.c: Likewise. - * sysdeps/mach/hurd/setegid.c: Likewise. - * sysdeps/mach/hurd/seteuid.c: Likewise. - * sysdeps/mach/hurd/setgid.c: Likewise. - * sysdeps/mach/hurd/setgroups.c: Likewise. - * sysdeps/mach/hurd/sethostid.c: Likewise. - * sysdeps/mach/hurd/sethostname.c: Likewise. - * sysdeps/mach/hurd/setlogin.c: Likewise. - * sysdeps/mach/hurd/setpgid.c: Likewise. - * sysdeps/mach/hurd/setregid.c: Likewise. - * sysdeps/mach/hurd/setreuid.c: Likewise. - * sysdeps/mach/hurd/setrlimit.c: Likewise. - * sysdeps/mach/hurd/setsid.c: Likewise. - * sysdeps/mach/hurd/setsockopt.c: Likewise. - * sysdeps/mach/hurd/settimeofday.c: Likewise. - * sysdeps/mach/hurd/setuid.c: Likewise. - * sysdeps/mach/hurd/shutdown.c: Likewise. - * sysdeps/mach/hurd/sigaction.c: Likewise. - * sysdeps/mach/hurd/sigaltstack.c: Likewise. - * sysdeps/mach/hurd/sigpending.c: Likewise. - * sysdeps/mach/hurd/sigprocmask.c: Likewise. - * sysdeps/mach/hurd/sigstack.c: Likewise. - * sysdeps/mach/hurd/sigsuspend.c: Likewise. - * sysdeps/mach/hurd/socket.c: Likewise. - * sysdeps/mach/hurd/socketpair.c: Likewise. - * sysdeps/mach/hurd/stdio_init.c: Likewise. - * sysdeps/mach/hurd/symlink.c: Likewise. - * sysdeps/mach/hurd/sync.c: Likewise. - * sysdeps/mach/hurd/sysd-stdio.c: Likewise. - * sysdeps/mach/hurd/telldir.c: Likewise. - * sysdeps/mach/hurd/truncate.c: Likewise. - * sysdeps/mach/hurd/umask.c: Likewise. - * sysdeps/mach/hurd/unlink.c: Likewise. - * sysdeps/mach/hurd/wait4.c: Likewise. - * sysdeps/mach/hurd/utimes.c: Likewise. - * sysdeps/mach/hurd/write.c: Likewise. - * sysdeps/mach/adjtime.c: Likewise. - * sysdeps/mach/gettimeofday.c: Likewise. - * sysdeps/mach/usleep.c: Likewise. - * sysdeps/mips/__longjmp.c: Likewise. - * sysdeps/posix/clock.c: Likewise. - * sysdeps/posix/ctermid.c: Likewise. - * sysdeps/posix/defs.c: Likewise. - * sysdeps/posix/dup.c: Likewise. - * sysdeps/posix/libc_fatal.c: Likewise. - * sysdeps/posix/stdio_init.c: Likewise. - * sysdeps/rs6000/ffs.c: Likewise. - * sysdeps/sparc/e_sqrt.c: Likewise. - * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise. - * sysdeps/standalone/i386/force_cpu386/brdinit.c: Likewise. - * sysdeps/standalone/i386/force_cpu386/console.c: Likewise. - * sysdeps/standalone/i960/nindy960/_exit.c: Likewise. - * sysdeps/standalone/i960/nindy960/brdinit.c: Likewise. - * sysdeps/standalone/i960/nindy960/console.c: Likewise. - * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise. - * sysdeps/standalone/m68k/m68020/mvme136/brdinit.c: Likewise. - * sysdeps/standalone/brk.c: Likewise. - * sysdeps/stub/_exit.c: Likewise. - * sysdeps/stub/brdinit.c: Likewise. - * sysdeps/stub/console.c: Likewise. - * sysdeps/stub/defs.c: Likewise. - * sysdeps/stub/errlist.c: Likewise. - * sysdeps/stub/libc_fatal.c: Likewise. - * sysdeps/stub/siglist.c: Likewise. - * sysdeps/stub/stdio_init.c: Likewise. - * sysdeps/stub/strtsupp.c: Likewise. - * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Likewise. - * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Likewise. - * sysdeps/unix/bsd/bsd4.4/wait3.c: Likewise. - * sysdeps/unix/bsd/sun/sunos4/tcflow.c: Likewise. - * sysdeps/unix/bsd/sun/sunos4/tcflush.c: Likewise. - * sysdeps/unix/bsd/sun/sunos4/tcgetattr.c: Likewise. - * sysdeps/unix/bsd/sun/sunos4/tcsendbrk.c: Likewise. - * sysdeps/unix/bsd/sun/sunos4/wait4.c: Likewise. - * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: Likewise. - * sysdeps/unix/bsd/bsdstat.h: Likewise. - * sysdeps/unix/bsd/clock.c: Likewise. - * sysdeps/unix/bsd/gtty.c: Likewise. - * sysdeps/unix/bsd/init-posix.c: Likewise. - * sysdeps/unix/bsd/setgid.c: Likewise. - * sysdeps/unix/bsd/setrgid.c: Likewise. - * sysdeps/unix/bsd/setruid.c: Likewise. - * sysdeps/unix/bsd/setuid.c: Likewise. - * sysdeps/unix/bsd/stty.c: Likewise. - * sysdeps/unix/bsd/telldir.c: Likewise. - * sysdeps/unix/bsd/ualarm.c: Likewise. - * sysdeps/unix/common/glue-ctype.c: Likewise. - * sysdeps/unix/sparc/start.c: Likewise. - * sysdeps/unix/sysv/irix4/fpathconf.c: Likewise. - * sysdeps/unix/sysv/irix4/getgroups.c: Likewise. - * sysdeps/unix/sysv/irix4/getrusage.c: Likewise. - * sysdeps/unix/sysv/irix4/pathconf.c: Likewise. - * sysdeps/unix/sysv/irix4/setgroups.c: Likewise. - * sysdeps/unix/sysv/irix4/sigtramp.c: Likewise. - * sysdeps/unix/sysv/irix4/start.c: Likewise. - * sysdeps/unix/sysv/irix4/sysconf.c: Likewise. - * sysdeps/unix/sysv/sco3.2.4/__setpgid.c: Likewise. - * sysdeps/unix/sysv/sco3.2.4/getgroups.c: Likewise. - * sysdeps/unix/sysv/sysv4/__getpgid.c: Likewise. - * sysdeps/unix/sysv/sysv4/__setpgid.c: Likewise. - * sysdeps/unix/sysv/sysv4/ftruncate.c: Likewise. - * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise. - * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise. - * sysdeps/unix/sysv/sysv4/sethostname.c: Likewise. - * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise. - * sysdeps/unix/sysv/sysv4/setsid.c: Likewise. - * sysdeps/unix/sysv/gethostname.c: Likewise. - * sysdeps/unix/sysv/tcgetpgrp.c: Likewise. - * sysdeps/unix/sysv/tcsetpgrp.c: Likewise. - * sysdeps/unix/alarm.c: Likewise. - * sysdeps/unix/make_errlist.c: Likewise. - * sysdeps/unix/rewinddir.c: Likewise. - * sysdeps/unix/seekdir.c: Likewise. - * sysdeps/unix/time.c: Likewise. - * sysdeps/unix/utime.c: Likewise. - * sysdeps/vax/__longjmp.c: Likewise. - * sysdeps/vax/memccpy.c: Likewise. - * time/strftime.c: Likewise. - -1997-05-25 21:57 Miles Bader - - * argp/argp-parse.c (parser_init): For the special case where no - parsing function is supplied for an argp, propagate its input to - its first child, if any. - - * argp/argp.h (struct argp_state): `argp' field renamed to `root_argp'. - * argp/argp-help.c (__argp_state_help, argp_args_usage, hol_help): - Replace references to STATE->argp with STATE->root_argp. - * argp/argp-parse.c (parser_init): Likewise. - -1997-05-26 14:17 Ulrich Drepper - - * manual/main.texi: Clarify situation for other not supported ports. - Proposed by Andreas Jaeger . - We recommend binutils 2.8. - -1997-05-26 12:17 Ulrich Drepper - - * netinet/in.h: New file. Wrapper around inet/netinet/in.h. - -1997-05-25 09:51 H.J. Lu - - * sysdeps/i386/elf/start.S: Change local label "nofini" - to ".Lnofini". - - * sysdeps/i386/i386-mcount.S: Use GOT, instead of GOTOFF. - -1997-05-24 17:45 H.J. Lu - - * gmon/gmon.c (_mcleanup): Free tostruct array allocated in monstartup. - -1997-05-25 03:00 Ulrich Drepper - - * elf/dynamic-link.h (_dl_verbose): New variable, declare. - * elf/rtld.c (_dl_verbose): New variable, define. - (dl_main): Define _dl_verbose based on DL_WARN environment variable. - * sysdeps/i386/dl-machine.h (elf_machine_rel): Print warning about - changed size in copy relocation only if symbol in shared object - is larger or _dl_verbose is nonzero. - * sysdeps/m68k/dl-machine.h (elf_machine_rel): Likewise. - * sysdeps/powerpc/dl-machine.h (elf_machine_rel): Likewise. - * sysdeps/sparc/dl-machine.h (elf_machine_rel): Likewise. - - * nis/nss_nis/nis-ethers.c: Don't use relative include paths, use - <...>. - * nis/nss_nis/nis-grp.c: Likewise. - * nis/nss_nis/nis-hosts.c: Likewise. - * nis/nss_nis/nis-network.c: Likewise. - * nis/nss_nis/nis-proto.c: Likewise. - * nis/nss_nis/nis-pwd.c: Likewise. - * nis/nss_nis/nis-rpc.c: Likewise. - * nis/nss_nis/nis-spwd.c: Likewise. - * sysdeps/unix/sysv/sysd-stdio.c: Likewise. - * wcsmbs/wcscoll.c: Likewise. - * wcsmbs/wcstod.c: Likewise. - * wcsmbs/wcstof.c: Likewise. - * wcsmbs/wcstol.c: Likewise. - * wcsmbs/wcstold.c: Likewise. - * wcsmbs/wcsxfrm.c: Likewise. - Reported by Zack Weinberg . - - * time/strftime.c: Implement # flag which changes case of output for - %a, %b, %B, %p, and %Z format. - When printing numbers, the given field width is always respected. - This means that padding happens only up to the given width. - Proposed by Stephen Gildea . - -1997-05-25 00:44 Ulrich Drepper - - * sysdeps/i386/fpu/__math.h (logb): Fix thinko, reverse output - values. - Reported by Andreas Jaeger . - -1997-05-24 21:03 Philip Blundell - - * db/btree/bt_open.c (__bt_open): Only try to use st_blksize (from - struct stat) if it exists for this port. - -1997-05-24 20:34 Philip Blundell - - * sysdeps/standalone/arm/errnos.h: Add EPERM. - -1997-05-23 16:28 Philip Blundell - - * linewrap.h: New file, needed to compile argp without libio. - -1997-05-24 11:59 Andreas Jaeger - - * manual/stdio.texi (Formatted Messages): Corrected some typos. - -1997-05-24 11:58 Philip Blundell - - * sysdeps/stub/start.c: Fix typo. - -1997-05-21 17:53 Miles Bader - - * argp/argp-help.c (hol_add_cluster): Initialize CL->depth. - -1997-05-24 03:51 Ulrich Drepper - - * stdlib/Makefile (routines): Add strtol_l, strtoul_l, strtoll_l, - strtoull_l, strtof_l, strtod_l, and strtold_l. - * stdlib/stdlib.h: Add prototypes for new functions. - * stdlib/strtod.c: Change for compiling as strtoX_l. - * stdlib/strtol.c: Likewise. - * stdlib/strtof.c: Likewise. - * stdlib/strtold.c: Likewise. - * stdlib/strtod_l.c: New file. - * stdlib/strtof_l.c: New file. - * stdlib/strtold_l.c: New file. - * stdlib/strtol_l.c: New file. - * stdlib/strtoul_l.c: New file. - * stdlib/strtoll_l.c: New file. - * stdlib/strtoull_l.c: New file. - * string/Makefile (routines): Add strcasecmp_l and strncase_l. - * string/string.h: Add prototypes for new functions. - * sysdeps/generic/strcasecmp.c: Change for compiling as strcasecmp_l. - * sysdeps/generic/strncase.c: Change for compiling as strncasecmp_l. - * sysdeps/generic/strcasecmp_l.c: New file. - * sysdeps/generic/strncase_l.c: New file. - * wcsmbs/Makefile (routines): Add wcstol_l, wcstoul_l, wcstoll_l, - wcstoull_l, wcstod_l, wcstold_l, wcstof_l, wcscasecmp_l, and - wcsncase_l. - * wcsmbs/wchar.h: Add prototypes for new functions. - * wcsmbs/wcscasecmp.c: Change for compiling as wcscasecmp_l. - * wcsmbs/wcsncase.c: Change for compiling as wcsncasecmp_l. - * wcsmbs/wcscasecmp_l.c: New file. - * wcsmbs/wcsncase_l.c: New file. - * wcsmbs/wcstof.c: Change for compiling as wcstof_l.c - * wcsmbs/wcstold.c: Change for compiling as wcstold_l.c - * wcsmcs/wcstod_l.c: New file. - * wcsmcs/wcstof_l.c: New file. - * wcsmcs/wcstold_l.c: New file. - * wcsmcs/wcstol_l.c: New file. - * wcsmcs/wcstoul_l.c: New file. - * wcsmcs/wcstoll_l.c: New file. - * wcsmcs/wcstoull_l.c: New file. - - * Makeconfig (binfmt-subdir): New variable. Set to `elf' if - $(elf) is defined. More to come later when other binary formats - are supported. - * Makefile (subdirs): Remove elf. Add $(binfmt-subdir). - Suggested by Philip Blundell. - - * stdlib/Makefile (headers): Add fmtmsg.h. - (routines): Add fmtmsg. - * stdlib/fmtmsg.c: New file. - * stdlib/fmtmsg.h: New file. - * manual/stdio.texi: Add description of fmtmsg and addseverity. - * manual/examples/fmtmsgexpl.c: Example program for fmtmsg - documentation. - -1997-05-23 15:26 Philip Blundell - - * resolv/res_query.c (res_querydomain): Avoid potential buffer - overrun. Reported by Dan A. Dickey . - -1997-05-22 18:36 Thomas Bushnell, n/BSG - - * elf/dl-support.c (_dl_sysdep_open_zero_fill, - _dl_sysdep_read_whole_file): Moved functions to ... - * elf/dl-misc.c: This new file. - * sysdeps/generic/dl-sysdepio.c: Delete file and move functions... - * elf/dl-misc.c: ... here. - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill, - _dl_sysdep_read_whole_file): Delete functions; they now come from - elf/dl-misc.c (dl-support.c had contained identical versions). - * sysdeps/mach/hurd/dl-sysdepio.c: Delete file; move functions... - * sysdeps/mach/hurd/dl-sysdep.c: ... here, but mark them weak so - that the regular ones in dl-misc work once we've initialized. - * elf/Makefile (dl-routines): Remove dl-sysdepio.c. Add dl-misc.c. - -1997-05-22 21:55 Philip Blundell - - * inet/Makefile (headers): Add netinet/inbits.h. - * inet/netinet/in.h: New file. - * sysdeps/generic/netinet/inbits.h: Likewise. - * sysdeps/unix/sysv/linux/netinet/inbits.h: Likewise. - * sysdeps/generic/netinet/ip6.h: Move to... - * inet/netinet/ip6.h: ... here. - * sysdeps/generic/netinet/icmp6.h: Move to... - * inet/netinet/icmp6.h: ... here. - * sysdeps/unix/sysv/linux/netinet/in.h: Remove. - * sysdeps/generic/netinet/in.h: Remove. - -1997-05-22 05:40 Richard Henderson - - * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): If we are - not looking at the new thread-safe .plt, don't be lazy about relocs. - (_dl_runtime_resolve): Fix up arithmetic for new .plt layout. - (elf_alpha_fix_plt): Insert wmb as appropriate to ensure safety. - * elf/dynamic-link.h (ELF_DYNAMIC_RELOCATE): Let - elf_machine_runtime_setup() decide if we can actually be lazy. - * elf/rtld.c (_dl_start): So don't call it. - * elf/dl-reloc.c (_dl_relocate_object): Likewise. - * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Return lazy. - * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise. - * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise. - * sysdeps/powerpc/dl-machine.h (elf_machine_runtime_setup): Likewise. - * sysdeps/sparc/dl-machine.h (elf_machine_runtime_setup): Likewise. - * sysdeps/stub/dl-machine.h (elf_machine_runtime_setup): Update - skeleton definition. - -1997-05-22 18:45 Ulrich Drepper - - * sysdeps/i386/fpu/__math.h (logb): Remove second value placed on - stack by fxtract. - -1997-05-22 13:07 Andreas Jaeger - - * sunrpc/rpcsvc/rusers.x: Provide and correct prototypes, - add cast to (xdrproc_t) where necessary to prevent warnings. - -1997-05-22 12:18 Ulrich Drepper - - * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Remove I/O functions. - -1997-05-22 04:09 Ulrich Drepper - - * sunrpc/clnt_perr.c (clnt_sperrno): Change type of variable i - to size_t to prevent warning. - * sunrpc/rpcinfo.c (get_inet_address): Use INADDR_NONE and INADDR_ANY - instead of numeric values. - Various cleanups. - * sunrpc/xdr_mem.c: Use `const char *' instead of `const caddr_t' - for xdrmem_putbytes. - * sunrpc/xdr_rec.c: Likewise. - * sunrpc/xdr_stdio.c: Likewise. - * sunrpc/rpc/xdr.h: Likewise. - - * sysdeps/unix/sysv/linux/arm/syscall.s: Pretty printing. - * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. - -1997-05-21 22:22 Philip Blundell - - * inet/Makefile (headers): Add netinet/ip6.h, netinet/icmp6.h. - * sysdeps/generic/netinet/ip6.h: New file (for IPv6 Advanced API). - * sysdeps/generic/netinet/icmp6.h: Likewise. - * sysdeps/unix/sysv/linux/netinet/in.h: Fix typo. - * sysdeps/stub/direntry.h (struct dirent): Add d_fileno (needed by - glob.c). - * sysdeps/standalone/arm/errnos.h: Add EPROTOTYPE, ESRCH. - * sysdeps/unix/arm/sysdep.h: Avoid warning about nested comments. - * sysdeps/stub/accept.c (accept): Make args match prototype. - * sysdeps/stub/bind.c (bind): Likewise. - * sysdeps/stub/connect.c (connect): Likewise. - * sysdeps/stub/getpeername.c (getpeername): Likewise. - * sysdeps/stub/getsockname.c (getsockname): Likewise. - * sysdeps/stub/recvfrom.c (recvfrom): Likewise. - * sysdeps/stub/send.c (send): Likewise. - * sysdeps/stub/ttyname_r.c (ttyname_r): Likewise. - * sysdeps/stub/readv.c (readv): Likewise. - * sysdeps/stub/writev.c (writev): Likewise. - * sysdeps/stub/sendto.c (sendto): Likewise. - * sysdeps/unix/sysv/linux/arm/profil-counter.h: New file. - -1997-05-18 12:46 Philip Blundell - - * sysdeps/unix/sysv/linux/socketbits.h: Add new macros CMSG_SPACE, - CMSG_LEN, CMSG_ALIGN (for IPv6 Advanced API). - -1997-05-21 13:51 Andreas Jaeger - - * sysdeps/unix/sysv/linux/shmat.c (shmat): Add cast to prevent warning. - - * sunrpc/rpcsvc/rusers.x: Provide prototypes for implemented - functions, include . - - * string/strverscmp.c: Correct typos in comment. - - * sunrpc/rpc/xdr.h: Add more `const'. - * sunrpc/xdr_stdio.c: Likewise. - * sunrpc/xdr_rec.c: Likewise. - -1997-05-21 17:50 Ulrich Drepper - - * elf/Makefile (dl-routines): Add dl-sysdepio. - * elf/dl-support.c (_dl_sysdep_fatal): Removed. - * sysdeps/generic/dl-sysdep.c: Move definition of _dl_sysdep_fatal, - _dl_sysdep_error and _dl_sysdep_warning to ... - * sysdeps/generic/dl-sysdepio.c: ...here. - * sysdeps/mach/hurd/dl-sysdep.c: Move the functions to ... - * sysdeps/mach/hurd/dl-sysdepio.c: ...here. - * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Remove definition - of functions. - Bug reported by Marcus G. Daniels . - - * db/Makefile (libdb.so): Depend on libc.so for dynamic loading - and for Linux ld.so. - * login/Makefile (libutil.so): Likewise. - * math/Makefile (libm.so): Likewise. - * md5-crypt/Makefile (libcrypt.so): Likewise. - * nis/Makefile (libnss_%.so): Likewise. - * resolv/Makefile (libnss_dns.so): Likewise. - -1997-05-20 14:01 Miles Bader - - * argp/argp-help.c (_help): Supply STATE to argp_args_usage. - (argp_args_usage): Add filtering of the args doc string. - (comma): Print cluster headers for the first entry too. - * argp/argp.h (ARGP_KEY_HELP_ARGS_DOC): New macro. - -1997-05-21 02:49 Ulrich Drepper - - * gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION): Set to 2 since - interface was changed with addition of _obstack_memory_used. - Suggested by Ian Taylor . - - * malloc/obstack.c: Include . Include only - if __GNU_LIBRARY__ or HAVE_STDLIB_H is defined. - Reported by Ian Taylor . - - * dirent/Makefile (routines): Add versionsort. - * dirent/dirent.h: Add prototype for versionsort. - * dirent/versionsort.c: New file. - * manual/filesys.texi: Add documentation for versionsort. - * manual/string.texi: Add documentation for strverscmp. - * string/Makefile (routines): Add strverscmp. - (tests): Add tst-svc. - * string/string.h: Add prototype for strverscmp. - * string/strverscmp.c: New file. - * string/tst-svc.c: New file. Test for strverscmp. - * string/tst-svc.input: New file. Input data for tst-svc. - * string/tst-svc.expect: New file. Expected out from tst-svc. - Patches by Jean-François Bignolles . - - * math/Makefile (calls): Add s_signbit. - - * po/sv.po: Update. - - * resolv/nss_dns/dns-host.c: Add casts to prevent warnings. - * sunrpc/pmap_rmt.c: Likewise. - - * string/basename.c: Don't use ISO C definition style. - Include if HAVE_CONFIG_H is defined. - - * sunrpc/proto.h: Add `const' wherever possible. - * sunrpc/rpc_cout.c: Likewise. - * sunrpc/rpc_svcout.c: Likewise. - * sunrpc/xdr_mem.c: Likewise. - * sunrpc/xdr_rec.c: Likewise. - * sunrpc/xdr_stdio.c: Likewise. - * sunrpc/rpc_parse.c: Delete comma from end of enum definition. - * sunrpc/xdr.c: Little code cleanups. - * sunrpc/xdr_float.c: Likewise. - Patches by Matthew Wilcox . - - * sysdeps/i386/fpu/__math.h (__finite): Fix typo. - - * sysdeps/unix/sysv/linux/shmdt.c: Add cast to prevent warning. - - * time/europe: Update from tzdata1997f. - * time/zic.c: Update from tzcode1997e. - -1997-05-20 19:20 Miguel de Icaza - - * sysdeps/sparc/setjmp.S: Flush windows. - Bug found by Richard Henderson. - -1997-05-19 12:54 Andreas Schwab - - * misc/efgcvt_r.c (fcvt_r, ecvt_r): Rewritten as to fit the specs. - -1997-05-19 18:41 Thorsten Kukuk - - * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_parse_spent): Use - atol instead of atoi. - -1997-05-18 00:22 Philip Blundell - - * inet/Makefile (routines): Add if_index. - * sysdeps/unix/sysv/linux/if_index.c: New file. - * sysdeps/stub/if_index.c: New file. - * sysdeps/unix/sysv/linux/net/if.h: Add prototypes for routines in - if_index.c (required by IPv6 basic API). - * sysdeps/unix/sysv/linux/netinet/in.h: Add struct ipv6_pktinfo. - -1997-05-17 23:29 Philip Blundell - - * sysdeps/unix/sysv/linux/netinet/in.h: Update IPv6 definitions - for new advanced API draft. - -1997-05-13 21:33 Andreas Schwab - - * stdio-common/printf_fp.c: Only use the field width for deciding - on padding when printing special values. - * stdio-common/printf_fphex.c: Likewise. - -1997-05-15 13:14 Miles Bader - - Changes by Thomas Bushnell : - * hurd/hurdauth.c (_S_msg_add_auth): Implement correctly. - -1997-05-12 14:50 Thomas Bushnell, n/BSG - - * hurd/hurdsig.c (_hurdsig_init): Double size of sigthread stack; - msg_add_auth was overflowing it. - -1997-05-12 21:20 Richard Henderson - - * elf/dl-lookup.c (_dl_lookup_symbol_skip): Call _dl_signal_error - when we can't find the symbol. - -1997-05-12 16:54 Ulrich Drepper - - * posix/regex.c: Fix handling of 32-bit Windog environments. - Patch by Arnold Robbins . - -1997-05-10 23:26 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add cacheflush. - -1997-05-10 11:40 Andreas Schwab - - * elf/ldd.bash.in: Remove spurious quote character from version - message. - -1997-05-10 08:49 Andreas Schwab - - * locale/programs/locale.c (write_charmaps): Don't get stuck in a - loop if the file ends in a long line without newline. - * locale/programs/charmap.c (charmap_read): Likewise. - -1997-05-12 03:47 Ulrich Drepper - - * sunrpc/rpc/xdr.h: Include more headers to be self-contained. - * sunrpc/rpc/svc_auth.h: Likewise. - * sunrpc/rpc/svc.h: Likewise. - * sunrpc/rpc/rpc_msg.h: Likewise. - * sunrpc/rpc/pmap_rmt.h: Likewise. - * sunrpc/rpc/pmap_clnt.h: Likewise. - * sunrpc/rpc/clnt.h: Likewise. - * sunrpc/rpc/auth_unix.h: Likewise. - * sysdeps/generic/rpc/auth.h: Likewise. - Patches by Michael Deutschmann . - -1997-05-11 15:29 Philip Blundell - - * sysdeps/stub/sigaction.c (__sigaction): Correct typo. - * sysdeps/standalone/arm/errnos.h: New file. - * sysdeps/stub/sys/param.h: Add dummy definition of MAXSYMLINKS. - * sysdeps/unix/arm/fork.S: New file. - * sysdeps/unix/sysv/linux/arm/sysdep.h: New file. - * sysdeps/stub/tempname.c (__stdio_gen_tempname): Add missing - `streamptr' argument. - * sysdeps/stub/vdprintf.c: Remove second copy of file (!), include - to get va_list defined, return 0 not NULL. - * sysdeps/unix/sysv/linux/statfsbuf.h: Include . - * sysdeps/unix/sysv/linux/arm/syscall.S: New file. - * sysdeps/stub/direntry.h (struct dirent): Add missing ';'. - * sysdeps/stub/seekdir.c (seekdir): Likewise. - * sysdeps/stub/dirfd.c (dirfd): Argument dirp is DIR*, not FILE*. - * sysdeps/standalone/dirstream.h: Define struct __dirstream - not DIR; provides typedef. - * sysdeps/unix/sysv/linux/arm/clone.S: New file. - * sysdeps/unix/sysv/linux/arm/socket.S: New file. - * sysdeps/stub/sysconf.c (__sysconf): Fix typos. - -1997-05-01 06:35 Geoff Keating - - * sysdeps/powerpc/Dist: New file. - * sysdeps/powerpc/Makefile: New file. - * sysdeps/powerpc/fclrexcpt.c: New file. - * sysdeps/powerpc/fegetenv.c: New file. - * sysdeps/powerpc/fegetround.c: New file. - * sysdeps/powerpc/feholdexcpt.c: New file. - * sysdeps/powerpc/fenvbits.h: New file. - * sysdeps/powerpc/fenv_const.c: New file. - * sysdeps/powerpc/fenv_libc.h: New file. - * sysdeps/powerpc/fesetenv.c: New file. - * sysdeps/powerpc/fesetround.c: New file. - * sysdeps/powerpc/feupdateenv.c: New file. - * sysdeps/powerpc/fgetexcptflg.c: New file. - * sysdeps/powerpc/fraiseexcpt.c: New file. - * sysdeps/powerpc/fsetexcptflg.c: New file. - * sysdeps/powerpc/ftestexcept.c: New file. - * sysdeps/powerpc/mathbits.h: New file. - - * sysdeps/powerpc/dl-machine.h: Wrap in #ifndef dl_machine_h; - define elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p, - ELF_MACHINE_RELOC_NOPLT; consequent changes to elf_machine_rela. - - * sysdeps/powerpc/__math.h: Remove definition for hypot and __sgn. - - * sysdep/powerpc/fpu_control.h: Correct IEEE default mode. - - * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use .text, but - instead .section ".text". - -1997-04-25 05:06 Geoff Keating - - * sysdeps/powerpc/__longjmp.S: Use symbolic register numbering. - * sysdeps/powerpc/bsd-_setjmp.S: Likewise. - * sysdeps/powerpc/bsd-setjmp.S: Likewise. - * sysdeps/powerpc/setjmp.S: Likewise. - - * sysdeps/unix/sysv/linux/clone.S: Likewise. - * sysdeps/unix/sysv/linux/socket.S: Likewise. - * sysdeps/unix/sysv/linux/syscall.S: Likewise. - -1997-04-20 04:37 Geoff Keating - - * sysdeps/powerpc/strchr.s: New file. - * sysdeps/powerpc/strcmp.s: New (ugly) file. - * sysdeps/powerpc/memset.s: New file. - * string/tester.c: Include prototype and _GNU_SOURCE to make - standalone compilation possible. Give strcmp a better - test. Give memset a better test. - -1997-04-05 06:34 Geoff Keating - - * sysdeps/powerpc/strlen.s: Fixed bugs (how did it ever pass its - tests before?). Changed to symbolic register numbering as an - experiment. - * sysdeps/powerpc/ffs.c: Don't include bstring.h, it doesn't - exist. - * sysdeps/rs6000/ffs.c: Likewise. - -1997-05-12 02:28 Ulrich Drepper - - * time/sys/time.h: Make second argument of setitimer const. - Patch by Michael Deutschmann . - * sysdeps/stub/setitimer.c: Likewise. - * sysdeps/mach/hurd/setitimer.c: Likewise. - -1997-05-10 11:46 Thorsten Kukuk - - * nis/rpcsvc/nis_callback.x: New, from tirpcsrc-2.3. - - * nis/nis_call.c (__nis_docall): Rewritten for navigation in NIS+ - namespace hierachy. - * nis/nis_intern.h: Add new __nis_docall function prototypes. - * nis/nis_add.c: Change __nis_docall/__nis_docall2 parameters for new - rewritten functions. - * nis/nis_checkpoint.c: Likewise. - * nis/nis_lookup.c: Likewise. - * nis/nis_mkdir.c: Likewise. - * nis/nis_modify.c: Likewise. - * nis/nis_ping.c: Likewise. - * nis/nis_remove.c: Likewise. - * nis/nis_rmdir.c: Likewise. - * nis/nis_server.c: Likewise. - * nis/nis_table.c: Likewise. - -1997-05-09 16:09 Miles Bader - - * argp/argp-eexst.c: Include . - (argp_err_exit_status): Initialize to EX_USAGE. - * argp/argp.h, argp/argp-help.c: Doc fixes. - -1997-05-08 17:15 Miles Bader - - * argp/argp.h [!__error_t_defined] (__error_t_defined): Define. - * argp/argp-help.c (canon_doc_option): Correct ctype tests. - -1997-05-08 07:53 H.J. Lu - - * sysdeps/unix/sysv/linux/poll.c: Save errno. - -1997-05-08 16:44 Ulrich Drepper - - * sysdeps/unix/sysv/linux/syscalls.list: Add nfsservctl. - -1997-05-07 20:27 H.J. Lu - - * sys/ttydefaults.h: Removed. - -1997-05-07 14:10 Thomas Bushnell, n/BSG - - * termios/sys/ttydefaults.h: Delete file. - * sysdeps/generic/sys/ttydefaults.h: New file; use OXTABS in - TTYDEF_OFLAG. - * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: New file; use - XTABS in TTYDEF_OFLAG. - * sysdeps/unix/sysv/linux/sys/ttydefaults.h: New file; use XTABS - in TTYDEF_OFLAG (which is correct for all existing Linux ports). - -1997-05-05 14:22 Thomas Bushnell, n/BSG - - * hurd/hurdsig.c (_hurdsig_preemptors): Provide initialization. - * hurd/hurdfault.c (_hurdsig_fault_preemptor): Likewise. - -1997-05-07 16:31 Ulrich Drepper - - * locale/categories.def: Change type of _NL_CTYPE_CLASS_NAMES and - _NL_CTYPE_MAP_NAMES field to stringlist. - Change name of _NL_CTYPE_CODESET_NAME to "charmap". - * locale/localeinfo.h (enum value_type): Add stringlist. - * locale/programs/locale.c (show_info): Handle stringlist. - - * locale/programs/charmap.c (charmap_read): If charmap file is not - using the given name try to find it by looking through all available - charmap files and compare the code set name. - * locale/programs/locale.c (write_charmaps): Also print names of - charset in fields in the files. - - * elf/ldd.bash.in: Correct translatable strings. - - * posix/TESTS: Add some more tests for character class matching. - * posix/regex.c: Merge with GNU awk version. - (regex_compile): Use ISO C/amend 1 functions for character class - handling. - * posix/regex.h: Merge with GNU awk version. - - * posix/getopt.c: Declare as master copies. - * posix/getopt1.c: Likewise. - * posix/getopt.h: Likewise. - - * sysdeps/unix/sysv/linux/sys/mount.h: Add definitions for option - value to mount functions. - Patch by a sun . - - * sysdeps/i386/dl-machine.h (elf_machine_rel): Check for mismatch - in size for copy relocation. - * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise. - * sysdeps/sparc/dl-machine.h (elf_machine_rela): Likewise. - * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Likewise. - Patch by Roland McGrath . - -1997-05-06 13:25 H.J. Lu - - * stdio-common/bug3.c (main): Use /tmp/bug3.test for concurrency - with other tests. - * stdio-common/bug4.c (main): Use /tmp/bug4.test for concurrency - with other tests. - - * sunrpc/svc_run.c (svc_exit): New, defined. - (svc_run): Test for svc_stop variable. - * sunrpc/rpc/svc.h (svc_exit): New, declared. - -1997-05-03 08:47 Andreas Schwab - - * math/libm-test.c (test_not_exception): Don't mix the internal - exception flags with the host defined FE_* values. All (indirect) - callers of this and test_exceptions changed to pass the internal - flag values. - (csin_test): Allow invalid exception for +-Inf + i NaN. Fix typos - in test names. - (csinh_test): Allow invalid exception for NaN +- i Inf. - -1997-05-03 09:21 Andreas Schwab - - * sysdeps/m68k/fpu/__math.h (__frexp): Don't raise invalid - exception on infinite value. - (__m81_test, __M81_COND_NAN, __M81_COND_INF, __M81_COND_NEG, - __M81_COND_ZERO): New definitions. - - * sysdeps/m68k/e_pow.c: Raise invalid exception for NaN result. - Use __m81_test. - - * sysdeps/m68k/s_ccosh.c: Rewritten. - * sysdeps/m68k/s_csinh.c: Rewritten. - * sysdeps/m68k/s_cexp.c: Rewritten. - * sysdeps/m68k/s_ccoshf.c: Don't define huge_val. - * sysdeps/m68k/s_ccoshl.c: Likewise. - * sysdeps/m68k/s_csinhf.c: Likewise. - * sysdeps/m68k/s_csinhl.c: Likewise. - * sysdeps/m68k/s_cexpf.c: Likewise. - * sysdeps/m68k/s_cexpl.c: Likewise. - - * sysdeps/m68k/s_ccos.c: New file. - * sysdeps/m68k/s_ccosf.c: New file. - * sysdeps/m68k/s_ccosl.c: New file. - * sysdeps/m68k/s_csin.c: New file. - * sysdeps/m68k/s_csinf.c: New file. - * sysdeps/m68k/s_csinl.c: New file. - -1997-05-02 19:48 Andreas Schwab - - * Makerules, manual/Makefile: Remove -$(subdir) suffix from subdir - stamp files to avoid problems with long file names. - -1997-05-03 22:24 Andreas Schwab - - * sysdeps/libm-ieee754/e_acoshl.c: Fix test for x < 1. - - * sysdeps/libm-ieee754/e_atan2l.c: Ignore integer bit for Inf and - NaN. Fix test for sign of infinite y. - - * sysdeps/libm-ieee754/e_atanhl.c: Fix sign of result. - - * sysdeps/libm-ieee754/e_sinhl.c: Fix test for sign of argument. - -1997-05-03 01:15 Andreas Schwab - - * csu/Makefile (extra-objs) [$(elf)=yes]: Add abi-note.o to get - dependencies. - - * csu/abi-note.S: Replace undefined macro ALIGNARG. - * sysdeps/unix/sysv/linux/abi-tag.h: Don't use assembler comment - character. - -1997-05-03 22:27 Andreas Schwab - - * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use notation - for local label. - -1997-05-05 22:00 Thorsten Kukuk - - * nis/Makefile (libnsl-routines): Add a lot of new file names. - - * nis/nis_names.c (nis_add): Moved from here ... - * nis/nis_add.c: ... to here and fix parameter flags. - * nis/nis_names.c (nis_lookup): Moved from here ... - * nis/nis_lookup.c: ... to here. - * nis/nis_names.c (nis_modify): Moved from here ... - * nis/nis_modify.c: ... to here and fix parameter flags. - * nis/nis_names.c (nis_remove): Moved from here ... - * nis/nis_remove.c: ... to here and fix parameter flags. - * nis/nis_names.c: Removed. - - * nis/nis_subr.c (nis_domain_of): Moved from here ... - * nis/nis_domain_of.c: .. to here. - * nis/nis_subr.c (nis_domain_of_r): Moved from here ... - * nis/nis_domain_of_r.c: .. to here and fix pointer errors. - - * nis/nis_addmember.c: New. - * nis/nis_checkpoint.c: New. - * nis/nis_creategroup.c: New. - * nis/nis_defaults.c: New. - * nis/nis_destroygroup.c: New. - * nis/nis_getservlist.c: New. - * nis/nis_ismember.c: New. - * nis/nis_ping.c: New. - * nis/nis_print_group_entry.c: New. - * nis/nis_removemember.c: New. - * nis/nis_mkdir.c: New. - * nis/nis_rmdir.c: New. - * nis/nis_verifygroup.c: New. - - * nis/rpcsvc/nislib.h: Fix internal function declarations. - - * nis/nis_server (nis_servstate): New. - * nis/nis_server (nis_stats): New. - - * nis/nis_subr.c (nis_leaf_of_r): Fix buffer problems. - - * nis/nis_call.c: Remove debug output. - - * nis/nis_intern.c (__nis_finddirectory): Remove. - -1997-05-03 00:53 Ulrich Drepper - - * posix/TESTS2C.sed: Recognize only digits in first field. This - enables us to use colons in the pattern. - -1997-05-01 20:02 Richard Henderson - - * sysdeps/unix/sysv/linux/alpha/brk.S: Don't presume that the kernel - will preserve non-call-saved registers; save and restore a0 across - the system call. - * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise tuck the thread - data onto the new thread's stack. - -1997-05-01 03:13 Ulrich Drepper - - * sysdeps/unix/sysv/linux/shmat.c (shmat): For Linux-2.0 and up the - kernel can return negative values. Only fail when return value is - in range in range which is never returned as valid address. - Patch by Bruno Haible . - -1997-04-30 17:35 Ulrich Drepper - - * math/libm-test.c: Implement test for exceptions. - Partly due to Andreas Jaeger. - (csin_test): New function. - * sysdeps/libm-i387/s_cexp.S: Raise correct exceptions. - * sysdeps/libm-i387/s_cexpf.S: Likewise. - * sysdeps/libm-i387/s_cexpl.S: Likewise. - * sysdeps/libm-ieee754/s_ccos.c: Likewise. - * sysdeps/libm-ieee754/s_ccosf.c: Likewise. - * sysdeps/libm-ieee754/s_ccosl.c: Likewise. - * sysdeps/libm-ieee754/s_ccosh.c: Likewise. - * sysdeps/libm-ieee754/s_ccoshf.c: Likewise. - * sysdeps/libm-ieee754/s_ccoshl.c: Likewise. - * sysdeps/libm-ieee754/s_cexp.c: Likewise. - * sysdeps/libm-ieee754/s_cexpf.c: Likewise. - * sysdeps/libm-ieee754/s_cexpl.c: Likewise. - * sysdeps/libm-ieee754/s_csinh.c: Likewise. - * sysdeps/libm-ieee754/s_csinhf.c: Likewise. - * sysdeps/libm-ieee754/s_csinhl.c: Likewise. - * sysdeps/libm-ieee754/s_ctanh.c: Likewise. - * sysdeps/libm-ieee754/s_ctanhf.c: Likewise. - * sysdeps/libm-ieee754/s_ctanhl.c: Likewise. - - * sysdeps/libm-ieee754/s_ccosh.c: Correct computation. - * sysdeps/libm-ieee754/s_ccoshf.c: Likewise. - * sysdeps/libm-ieee754/s_ccoshl.c: Likewise. - * sysdeps/libm-ieee754/s_csinh.c: Likewise. - * sysdeps/libm-ieee754/s_csinhf.c: Likewise. - * sysdeps/libm-ieee754/s_csinhl.c: Likewise. - - * sysdeps/libm-ieee754/s_csin.c: Rewrite. - * sysdeps/libm-ieee754/s_csinf.c: Likewise. - * sysdeps/libm-ieee754/s_csinl.c: Likewise. - - * stdlib/random_r.c (__srandom_r): Don't use seed 0. Use 1 in this - case. - - * sysdeps/i386/dl-machine.h (elf_machine_load_address): Use notation - for local label. - - * time/strftime.c (add): Respect `0' padding flag. - Reported by Richard Stallman . - -1997-04-30 15:46 Ulrich Drepper - - * Makeconfig (start-installed-name): Define here, not in csu/Makefile. - Use in +link macro. - * csu/Makefile (distribute): Add abi-note.S and abi-tag.h. - (start-installed-name): Don't define here. - When ELF generate file named by start-installed-name from start.o - and abi-note.o. - * csu/abi-note.S: New file. - * sysdeps/stub/abi-tag.h: New file. - * sysdpes/unix/sysv/linux/abi-tag.h: New file. - Patches by Roland McGrath . - -1997-04-30 01:32 Ulrich Drepper - - * manual/stdio.texi: Use @vtable where possible. - Add TeX version of @multitable since texi2dvi cannot handle them - correct in the moment. - - * po/de.po: Update. - -1997-04-29 21:06 Ulrich Drepper - - * Makeconfig: Don't set cross-compiling based on $(BUILD_CC) != $(CC). - * config.make.in: Set cross-compiling from configure result. - * configure.in: Emit definition of `cross_compiling'. - Patches by Marcus G. Daniels . - -1997-04-27 21:50 Philip Blundell - - * sysdeps/unix/sysv/linux/net/route.h (struct in6_rtmsg): Use - correct `int' sizes for struct members. - -1997-04-29 19:14 Ulrich Drepper - - * sysdeps/libm-i387/e_powf.S Generate invalid exception correctly. - * sysdeps/libm-i387/e_pow.S: Likewise. - * sysdeps/libm-i387/e_powl.S: Likewise. - -1997-04-23 10:08 Andreas Jaeger - - * math/fenv.h: Correct typos. - -1997-04-28 10:04 Richard Henderson - - * sysdeps/unix/sysv/linux/alpha/clone.S: Save the function argument - in t0 rather than a4 to avoid it being clobbered. - -1997-04-27 23:52 Andreas Schwab - - * manual/summary.awk: Recognize @defmumblex. - - * manual/signal.texi (Miscellaneous Signals): Use @deftypevrx for - second description header. - -1997-04-27 23:29 Andreas Schwab - - * manual/arith.texi (Floating-Point Classes): Don't indent text, - makeinfo doesn't like that. - -1997-04-27 20:52 Andreas Schwab - - * malloc/obstack.h (obstack_specify_allocation_with_arg, - obstack_chunkfun, obstack_freefun): Fix casts. - -1997-04-27 18:21 Andreas Schwab - - * manual/xtract-typefun.awk: Allow names with only one character. - -1997-04-26 14:16 Ulrich Drepper - - * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Use - not . - Reported by Michael Deutschmann . - -1997-04-25 12:31 Ulrich Drepper - - * csu/Makefile ($(objpfx)initfini.s): Add CPPFLAGS, CFLAGS and -g0 - to command line of compiler. - Patch by Marcus G. Daniels . - - * sysdeps/generic/sigset.h (__sigandset, __sigorset): Fix typos. - Patch by Marcus G. Daniels . - - * signal/signal.h (_sys_siglist, sys_siglist): Use _NSIG, not NSIG - in declaration. - Patch by Michael Widenius . - - * time/strptime.c (strptime_internal): Fix %I format specifier - being off by one. - Patch by Mark Kettenis . - -1997-04-24 12:18 Andreas Schwab - - * stdlib/lcong48_r.c: Include . - * stdlib/seed48_r.c: Likewise. - - * stdio-common/printf_size.c (printf_size): Correct type of - `units' and make robust against future changes. - -1997-04-23 18:58 Andreas Schwab - - * sysdeps/libm-ieee754/s_cproj.c: Use isfinite instead of finite. - * sysdeps/libm-ieee754/s_cprojl.c: Likewise. - * sysdeps/libm-ieee754/s_cprojf.c: Likewise. - -1997-04-23 18:53 Andreas Schwab - - * manual/arith.texi, manual/math.texi: Use @defmumblex for - additional description headers. - * manual/xtract-typefun.awk: Recognize them. - -1997-04-22 15:58 Andreas Jaeger - - * stdio-common/printf_size.c (printf_size): Correct size of array - units. - -1997-04-21 07:50 H.J. Lu - - * libgen.h: New file. - -1997-04-21 16:45 Ulrich Drepper - - * stdlib/drand48.c: Cleanup namespace. - * stdlib/drand48_r.c: Cleanup namespace. - * stdlib/erand48.c: Cleanup namespace. - * stdlib/erand48_r.c: Cleanup namespace. - * stdlib/jrand48.c: Cleanup namespace. - * stdlib/jrand48_r.c: Cleanup namespace. - * stdlib/lrand48.c: Cleanup namespace. - * stdlib/lrand48_r.c: Cleanup namespace. - * stdlib/mrand48.c: Cleanup namespace. - * stdlib/mrand48_r.c: Cleanup namespace. - * stdlib/nrand48.c: Cleanup namespace. - * stdlib/nrand48_r.c: Cleanup namespace. - * stdlib/lcong48.c: Cleanup namespace. - * stdlib/lcong48_r.c: Cleanup namespace. - * stdlib/srand48.c: Cleanup namespace. - * stdlib/srand48_r.c: Cleanup namespace. - * stdlib/seed48.c: Cleanup namespace. - * stdlib/seed48_r.c: Cleanup namespace. - - * stdlib/stdlib.h: Provide new prototypes. - -1997-04-21 13:25 Ulrich Drepper - - * manual/arith.texi: Add description for INFINITY, _Imaginary_I, - fpclassify & friends, and complex number operations. - Update various other math functions for ISO C 9X. - * manual/math.texi: Update various entries for ISO C 9X. - Add description for complex number functions. - Add description of rand48 function family. - * manual/string.h: Add description of a64l and l64a. - - * math/cmathcalls.h: Fix typo. - - * stdlib/a64l.c: Pretty printing. - - * stdlib/seed48_r.c: Also reset `a' and `c' to default values. - * stdlib/srand48_r.c: Likewise. - * stdlib/stdlib.h: Pretty printing. - - * sysdeps/i386/fpu/__math.h: Fix typo. - - * sysdeps/libm-ieee754/s_nearbyintf.c: Correctly name function. - * sysdeps/libm-ieee754/s_nearbyintl.c: Likewise. - -1997-04-19 22:16 Andreas Schwab - - * sysdeps/m68k/fpu/e_pow.c: Rewrite handling of integral exponent. - -1997-04-18 19:34 Andreas Schwab - - * sysdeps/m68k/fpu/__math.h: Define optimized versions of - isgreater, isgreaterequal, isless, islessequal, islessgreater, and - isunordered. - -1997-04-20 01:28 Richard Henderson - - * rellns-sh: Handle files in the same directory correctly. - -1997-04-20 11:22 Ulrich Drepper - - * csu/initfini.c: Place ALIGN instruction at correct positions. - Patch by Richard Henderson . - -1997-04-19 17:12 Ulrich Drepper - - * Make-dist: Don't automatically ignore .c files if the .S or .s file - is ignored. - - * csu/Makefile (distribute): Add defs.awk. - -1997-04-19 15:39 Ulrich Drepper - - * sysdeps/stub/shmat.c: Update to XPG4.2 interface. - * sysdeps/stub/shmdt.c: Likewise. - Reported by Thomas Bushnell, n/BSG. - -1997-04-19 13:22 Ulrich Drepper - - * manual/stdio.texi: Add description of printf_size and - printf_size_info. Partly based on the documentation by Larry McVoy. - -1997-04-19 02:21 Ulrich Drepper - - * stdio-common/printf_size.c (printf_size): Correct values for - `units'. - Report by Larry McVoy . - * stdio-common/tst-printfsz.c: New file. - * stdio-common/Makefile (tests): Add tst-printfsz.c. - (CFLAGS-tst-printfsz.c): Define to prevent warnings about format - strings. - -1997-04-18 15:48 Ulrich Drepper - - * login/utmp.h: Add prototype for updwtmp. - * login/logwtmp.c: Add new function updwtmp which allows to write - a complete record to the wtmp file. - Patch by Miquel van Smoorenburg . - -1997-04-17 17:57 Andreas Schwab - - * math/Makefile (headers): Add mathbits.h. - -1997-04-16 21:20 Andreas Schwab - - * sysdeps/m68k/fpu/__math.h: Add inlined sincos{,l,f}. - * sysdeps/m68k/fpu/s_sincos.c: New file. - * sysdeps/m68k/fpu/s_sincosf.c: New file. - * sysdeps/m68k/fpu/s_sincosl.c: New file. - - * sysdeps/libm-ieee754/e_scalb.c: Use internal names of the - functions. - * sysdeps/libm-ieee754/e_scalbl.c: Likewise. - - * sysdeps/libm-ieee754/s_ctanh.c: Use isfinite instead of finite. - * sysdeps/libm-ieee754/s_ctanhf.c: Likewise. - * sysdeps/libm-ieee754/s_ctanhl.c: Likewise. - * sysdeps/libm-ieee754/s_ctan.c: Likewise. - * sysdeps/libm-ieee754/s_ctanf.c: Likewise. - * sysdeps/libm-ieee754/s_ctanl.c: Likewise. Fix type of `res'. - -1997-04-18 11:21 Ulrich Drepper - - * shadow/fgetspent_r.c: Set *RESULT to NULL before returning error. - Patch by Thorsten Kukuk . - -1997-04-18 02:18 Ulrich Drepper - - * csu/initfini.c: Rewrite by Zack Weinberg - . - * csu/Makefile: Add rules for rewrite. - * csu/defs.awk: Helper script to generate derived header. - -1997-04-17 16:55 Ulrich Drepper - - * misc/libgen.h: Change prototype for of basename to XPG variant. - * stdlib/Makefile (routines): Add xpg_basename. - * stdlib/basename.c: New file. - * string/string.h: Don't declare basename function if basename - macro is available. - -1997-04-16 17:33 Miles Bader - - * login/utmp_file.c (proc_utmp_eq): Only use ut_id field if valid. - -1997-04-15 12:47 Andreas Schwab - - * sysdeps/m68k/fpu/fclrexcpt.c: New file. - * sysdeps/m68k/fpu/fenvbits.h: New file. - * sysdeps/m68k/fpu/fegetenv.c: New file. - * sysdeps/m68k/fpu/fegetround.c: New file. - * sysdeps/m68k/fpu/fesetenv.c: New file. - * sysdeps/m68k/fpu/fesetround.c: New file. - * sysdeps/m68k/fpu/feupdateenv.c: New file. - * sysdeps/m68k/fpu/fgetexcptflg.c: New file. - * sysdeps/m68k/fpu/fraiseexcpt.c: New file. - * sysdeps/m68k/fpu/fsetexcptflg.c: New file. - * sysdeps/m68k/fpu/ftestexcept.c: New file. - * sysdeps/m68k/fpu/mathbits.h: New file. - - * sysdeps/m68k/fpu/s_remquo.c: New file. - * sysdeps/m68k/fpu/s_remquol.c: New file. - * sysdeps/m68k/fpu/s_remquof.c: New file. - - * sysdeps/libm-ieee754/s_roundl.c: Restore integer bit when - mantissa overflows into exponent. Fix priority of >> vs +. - - * math/libm-test.c (basic_tests): Use the appropriate isnan and - isinf function to test the value of the nan function. - -1997-04-15 13:40 Ulrich Drepper - - * sysdeps/libm-i387/s_finite.S: Fix typo. - - * sysdeps/i386/fpu/__math.h: Add optimized versions of isgreater, - isgreaterequal, isless, islessequal, islessgreater, and - isunordered. - -1997-04-15 03:14 Ulrich Drepper - - * wcsmbs/wcsstr.c: Add weak alias wcswcs for Unix98 compliance. - - * math/Makefile (libm-calls): Add s_sincos and s_cproj. - * math/mathcalls.h: Add prototype for sincos. - * sysdeps/i386/fpu/__math.h: Warn about restriction on arguments to - inlined sin and cos function. - Define functions new in ISO C 9X when __USE_ISOC9X is defined. - Add optimized version of finite. - Rewrite sincos function to handle too large arguments. - * sysdeps/libm-i387/s_cos.S: Better code alignment. - * sysdeps/libm-i387/s_cosl.S: Likewise. - * sysdeps/libm-i387/s_sin.S: Likewise. - * sysdeps/libm-i387/s_sinl.S: Likewise. - * sysdeps/libm-i387/s_finite.S: Yet better code. - * sysdeps/libm-i387/s_finitef.S: Likewise. - * sysdeps/libm-i387/s_sincos.S: New file. - * sysdeps/libm-i387/s_sincosf.S: New file. - * sysdeps/libm-i387/s_sincosl.S: New file. - * sysdeps/libm-ieee754/s_sincos.c: New file. - * sysdeps/libm-ieee754/s_sincosf.c: New file. - * sysdeps/libm-ieee754/s_sincosl.c: New file. - - * sysdeps/libm-ieee754/s_ccosh.c: Change to use sincos function. - * sysdeps/libm-ieee754/s_ccoshf.c: Likewise. - * sysdeps/libm-ieee754/s_ccoshl.c: Likewise. - * sysdeps/libm-ieee754/s_cexp.c: Likewise. - * sysdeps/libm-ieee754/s_cexpf.c: Likewise. - * sysdeps/libm-ieee754/s_cexpl.c: Likewise. - * sysdeps/libm-ieee754/s_csinh.c: Likewise. - * sysdeps/libm-ieee754/s_csinhf.c: Likewise. - * sysdeps/libm-ieee754/s_csinhl.c: Likewise. - * sysdeps/libm-ieee754/s_ctan.c: Likewise. - * sysdeps/libm-ieee754/s_ctanf.c: Likewise. - * sysdeps/libm-ieee754/s_ctanl.c: Likewise. - * sysdeps/libm-ieee754/s_ctanh.c: Likewise. - * sysdeps/libm-ieee754/s_ctanhf.c: Likewise. - * sysdeps/libm-ieee754/s_ctanhl.c: Likewise. - - * sysdeps/libm-ieee754/s_cosl.c: Correct check for range. - * sysdeps/libm-ieee754/s_sinl.c: Likewise. - - * sysdeps/libm-ieee754/s_roundtol.c: Fix typos. - * sysdeps/libm-ieee754/s_roundtoll.c: Likewise. - - * nis/Makefile (services): Mention nisplus before compat. - * nis/nis_call.c (__do_niscall): Change type of variable server_len - to prevent warning. - * nis/nss_compat/compat-grp.c (getgrent_next_file_plusgroup): Add - cast to prevent warning. - * nis/nss_compat/compat-pwd.c (getpwent_next_file_plususer): Likewise. - * nis/nss_compat/compat-spwd.c (getspent_next_file_plususer): Likewise. - * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent): Change - type of variable `i' to prevent warning. - * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_parse_netent): - Likewise. - * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_parse_protoent): - Likewise. - * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent): Likewise. - * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_parse_servent): - Likewise. - - * sysdeps/generic/Dist: Remove old math implementation files. - * sysdeps/generic/mathimpl.h: Removed. - * sysdeps/generic/trig.h: Removed. - * sysdeps/generic/sincos.c: Removed. - * sysdeps/generic/asincos.c: Removed. - * sysdeps/generic/exp__E.c: Removed. - * sysdeps/generic/log__L.c: Removed. - -1997-04-13 17:18 Wolfram Gloger - - * malloc/malloc.c (fREe): Small optimization. Before returning, - add fast check whether the heap containing top can go away. - -1997-04-11 16:46 Wolfram Gloger - - * malloc/malloc.c (mALLOc, rEALLOc, cALLOc, mEMALIGn): When - failing to allocate a new chunk, also try the main_arena. It may - be that we are only running out of mmapped regions, and other - arenas cannot be enlarged sufficiently. - (new_heap, malloc_extend_top): Handle top_pad more consistently, - i.e. only in new_heap(). - -1997-04-13 21:10 Philip Blundell - - * sysdeps/posix/Makefile: Don't try to build and run mk-stdiolim - if cross-compiling. - - * configure.in: Recognise "...linuxaout" OS names and turn off ELF. - - * configure.in: Add ARM support. - * sysdeps/arm/Implies: New file. - * sysdeps/arm/__longjmp.S: New file. - * sysdeps/arm/bsd-_setjmp: New file. - * sysdeps/arm/bsd-setjmp: New file. - * sysdeps/arm/bytesex.h: New file. - * sysdeps/arm/fpu_control.h: New file. - * sysdeps/arm/jmp_buf.h: New file. - * sysdeps/arm/setjmp.h: New file. - * sysdeps/arm/sysdep.h: New file. - * sysdeps/unix/arm/config.h: New file. - -1997-04-14 04:03 Ulrich Drepper - - * sysdeps/libm-ieee754/s_cproj.c: New file. - * sysdeps/libm-ieee754/s_cprojf.c: New file. - * sysdeps/libm-ieee754/s_cprojl.c: New file. - -1997-04-13 01:06 Ulrich Drepper - - * isomac.c: Improve messages. - - * math/Makefile (libm-calls): Add s_nearbyint, s_catan, s_casin, - s_ccos, s_csin, s_ctan, s_ctanh, s_cacos, s_casinh, s_cacosh, - s_catanh, s_csqrt, and s_cpow. - * math/libm-test.c: New functions ccos_test, cacos_test, cacosh_test, - casin_test, casinh_test, catan_test, catanh_test, ctanh_test, - csqrt_test, cpow_test, rint_test. - * math/math.h: Include new header mathbits.h which defines some - more (system dependent) types and some macros. - (isfinite): Use __finite instead of fpclassify. - * sysdeps/generic/mathbits.h: New file. - * sysdeps/i386/fpu/mathbits.h: New file. - * sysdeps/i386/huge_val.h: Don't define INFINITY. - * sysdeps/ieee754/huge_val.h: Likewise. - * sysdeps/m68k/huge_val.h: Likewise. - - * sysdeps/i386/fpu/fenvbits.h: Define FE_NOMASK_ENV. - * sysdeps/i386/fpu/fesetenv.c: Handle FE_NOMASK_ENV. - - * math/complex.h (_Imaginary_I): Define correctly. I misread the - standard first. - - * sysdeps/libm-i387/s_finite.S: Optimized rewrite. - * sysdeps/libm-i387/s_finitef.S: Likewise. - * sysdeps/libm-i387/s_finitel.S: Likewise. - Provided by Joe Keane . - - * sysdeps/libm-i387/s_nearbyint.S: New file. - * sysdeps/libm-i387/s_nearbyintf.S: New file. - * sysdeps/libm-i387/s_nearbyintl.S: New file. - * sysdeps/libm-ieee754/s_nearbyint.S: New file. - * sysdeps/libm-ieee754/s_nearbyintf.S: New file. - * sysdeps/libm-ieee754/s_nearbyintl.S: New file. - - * sysdeps/libm-ieee754/s_cacos.c: New file. - * sysdeps/libm-ieee754/s_cacosf.c: New file. - * sysdeps/libm-ieee754/s_cacosl.c: New file. - * sysdeps/libm-ieee754/s_cacosh.c: New file. - * sysdeps/libm-ieee754/s_cacoshf.c: New file. - * sysdeps/libm-ieee754/s_cacoshl.c: New file. - * sysdeps/libm-ieee754/s_casin.c: New file. - * sysdeps/libm-ieee754/s_casinf.c: New file. - * sysdeps/libm-ieee754/s_casinl.c: New file. - * sysdeps/libm-ieee754/s_casinh.c: New file. - * sysdeps/libm-ieee754/s_casinhf.c: New file. - * sysdeps/libm-ieee754/s_casinhl.c: New file. - * sysdeps/libm-ieee754/s_catan.c: New file. - * sysdeps/libm-ieee754/s_catanf.c: New file. - * sysdeps/libm-ieee754/s_catanl.c: New file. - * sysdeps/libm-ieee754/s_catanh.c: New file. - * sysdeps/libm-ieee754/s_catanhf.c: New file. - * sysdeps/libm-ieee754/s_catanhl.c: New file. - * sysdeps/libm-ieee754/s_ccos.c: New file. - * sysdeps/libm-ieee754/s_ccosf.c: New file. - * sysdeps/libm-ieee754/s_ccosl.c: New file. - * sysdeps/libm-ieee754/s_cpow.c: New file. - * sysdeps/libm-ieee754/s_cpowf.c: New file. - * sysdeps/libm-ieee754/s_cpowl.c: New file. - * sysdeps/libm-ieee754/s_csin.c: New file. - * sysdeps/libm-ieee754/s_csinf.c: New file. - * sysdeps/libm-ieee754/s_csinl.c: New file. - * sysdeps/libm-ieee754/s_csqrt.c: New file. - * sysdeps/libm-ieee754/s_csqrtf.c: New file. - * sysdeps/libm-ieee754/s_csqrtl.c: New file. - * sysdeps/libm-ieee754/s_ctan.c: New file. - * sysdeps/libm-ieee754/s_ctanf.c: New file. - * sysdeps/libm-ieee754/s_ctanl.c: New file. - * sysdeps/libm-ieee754/s_ctanh.c: New file. - * sysdeps/libm-ieee754/s_ctanhf.c: New file. - * sysdeps/libm-ieee754/s_ctanhl.c: New file. - - * time/strftime.c (memset_space): Increment pointer. - * time/strptime.c: Interpret year number 00-59 as 2000--2059. - Patches by Karl Heuer . - -1997-04-11 11:57 Miguel de Icaza - - * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove fork, - pipe, syscall. - -1997-04-05 00:57 Andreas Schwab - - * sysdeps/libm-ieee754/s_remquo.c: Change algorithm, although - probably still wrong. - * sysdeps/libm-ieee754/s_remquof.c: Likewise. - * sysdeps/libm-ieee754/s_remquol.c: Likewise. - - * math/libm-test.c (remquo_test): Corrected. - -1997-04-11 00:01 Andreas Schwab - - * sysdeps/m68k/fpu/__math.h (__rinttol, rinttol): New inline. - * sysdeps/m68k/fpu/s_rinttol.c: New file. - * sysdeps/m68k/fpu/s_rinttoll.c: New file. - - * math/libm-test.c (remquo_test): Use check_long to test the - quotient. - (cbrt_test): Add epsilons for long double. - -1997-04-10 18:48 Andreas Schwab - - * locale/localeinfo.h: Update declaration of _nl_current. - -1997-04-11 11:27 Ulrich Drepper - - * rellnsh-sh: Use explicitely /bin/pwd to find the external program. - - * math/Makefile (headers): Add fenv.h and fenvbits.h. - (libm-support): Add s_rountol, s_roundtoll, fclrexcpt, fgetexcptflg, - fraiseexcpt, fsetexcptflg, ftestexcept, fegetround, fesetround, - fegetenv, feholdexcpt, fesetenv, feupdateenv. - (libm-calls): Add s_round. - * math/fenv.h: New file. - * math/libm-test.c: Correct tests for s_rinttol and s_rinttoll. - Add roundtol_check and roundtoll_check. - * math/math.h: Pretty printing. - * sysdeps/i386/fpu/fclrexcpt.c: New file. - * sysdeps/i386/fpu/fegetenv.c: New file. - * sysdeps/i386/fpu/fegetround.c: New file. - * sysdeps/i386/fpu/feholdexcpt.c: New file. - * sysdeps/i386/fpu/fenvbits.h: New file. - * sysdeps/i386/fpu/fesetenv.c: New file. - * sysdeps/i386/fpu/fesetround.c: New file. - * sysdeps/i386/fpu/fgetexcptflg.c: New file. - * sysdeps/i386/fpu/fraiseexcpt.c: New file. - * sysdeps/i386/fpu/fsetexcptflg.c: New file. - * sysdeps/i386/fpu/ftestexcept.c: New file. - * sysdeps/stub/fclrexcpt.c: New file. - * sysdeps/stub/fegetenv.c: New file. - * sysdeps/stub/fegetround.c: New file. - * sysdeps/stub/feholdexcpt.c: New file. - * sysdeps/stub/fenvbits.h: New file. - * sysdeps/stub/fesetenv.c: New file. - * sysdeps/stub/fesetround.c: New file. - * sysdeps/stub/fgetexcptflg.c: New file. - * sysdeps/stub/fraiseexcpt.c: New file. - * sysdeps/stub/fsetexcptflg.c: New file. - * sysdeps/stub/ftestexcept.c: New file. - - * sysdeps/libm-i387/s_trunc.S: New file. - * sysdeps/libm-i387/s_truncf.S: New file. - * sysdeps/libm-i387/s_truncl.S: New file. - - * sysdeps/libm-ieee754/s_round.c: New file. - * sysdeps/libm-ieee754/s_roundf.c: New file. - * sysdeps/libm-ieee754/s_roundl.c: New file. - - * sysdeps/libm-ieee754/s_ccosh.c: Rewritten to use fpclassify. - * sysdeps/libm-ieee754/s_ccoshf.c: Likewise. - * sysdeps/libm-ieee754/s_ccoshl.c: Likewise. - * sysdeps/libm-ieee754/s_cexp.c: Likewise. - * sysdeps/libm-ieee754/s_cexpf.c: Likewise. - * sysdeps/libm-ieee754/s_cexpl.c: Likewise. - * sysdeps/libm-ieee754/s_clog.c: Likewise. - * sysdeps/libm-ieee754/s_clogf.c: Likewise. - * sysdeps/libm-ieee754/s_clogl.c: Likewise. - * sysdeps/libm-ieee754/s_csinh.c. Likewise. - * sysdeps/libm-ieee754/s_csinhf.c. Likewise. - * sysdeps/libm-ieee754/s_csinhl.c. Likewise. - - * sysdeps/libm-ieee754/s_ceill.c: Corrected. The mantissa has only - 63 bits. - * sysdeps/libm-ieee754/s_floorl.c: Likewise. - - * po/pl.po: Updated. - - * string/swab.c: Correctly handle array of odd length. - - * sysdeps/generic/memmem.c: Update copyright. - * manual/string.texi: Correct prototype in memmem documentation. - -1997-04-10 20:22 Ulrich Drepper - - * hurd/Makefile (sunrpc-headers): Add clnt.h. - Proposed by Thomas Bushnell . - -1997-04-09 14:21 Miguel de Icaza - - * sysdeps/sparc/dl-machine.h: Bug fix: I was not loading - the proper value from the GOT. Pass argument block to - init function. - - * sysdeps/sparc/elf/start.c: Call atexit (_fini) after calling - _init (). - - * sysdeps/sparc/fpu_control.h: Fix the FPU constants. I got them - wrong the first time. - - * sysdeps/sparc/setjmp.S: PIC code was clobbering a callee saved - register. - - * sysdeps/sparc/udiv_qrnnd.S: Add type @function. - - * sysdeps/unix/sysv/linux/sparc/init-first.h: Linux/SPARC specific - SYSDEP_CALL_INIT. - - * sysdeps/unix/sysv/linux/sparc/signum.h: Remove definition for - NSIG and duplicated SIGIOT. - -1997-04-05 00:57 Andreas Schwab - - * sysdeps/libm-ieee754/s_remquo.c: Change algorithm, although - probably still wrong. - * sysdeps/libm-ieee754/s_remquof.c: Likewise. - * sysdeps/libm-ieee754/s_remquol.c: Likewise. - - * math/libm-test.c (remquo_test): Corrected. - -1997-04-03 18:35 Andreas Schwab - - * Makefile (parent-tests): New target to run the tests to that - they are executed even if some subdir tests have failed. - (tests): Depend on parent-tests instead of running the tests - directly. - -1997-04-03 12:26 Andreas Schwab - - Clean up name space pollution in libnss_*.so: - * nis/nss_compat/compat-pwd.c, resolv/mapv4v6addr.h, - resolv/nss_dns/dns-host.c: Replace bzero by memset, bcopy by - memcpy and bcmp by memcmp to clean up namespace. - * nss/nss_db/db-XXX.c (internal_setent): Use __dbopen instead of - dbopen. - * nss/nss_db/db-alias.c (internal_setent): Likewise. - * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Likewise. - * db/db/db.c [_LIBC]: Define __dbopen instead of dbopen and make - the latter a weak alias. - * db/db.h: Declare __dbopen. - * db/btree/btree.h [_LIBC]: Prepend __ to all mpool functions. - * db/mpool/mpool.c [_LIBC]: Define all external functions with __ - prefix and make the old names weak aliases. - * db/mpool.h: Declare the new internal names. - -1997-04-04 23:57 Andreas Schwab - - * stdio-common/vfscanf.c: Fix scanning of hexadecimal fp number. - * stdio-common/tstscanf.c: Add test case for this. - -1997-04-04 17:26 Andreas Schwab - - * math/libm-test.c: Fix more typos. - -1997-04-03 17:15 Andreas Schwab - - * math/libm-test.c (csinh_test): Fix test names. - (ccosh_test): Likewise. - - * sysdeps/libm-ieee754/s_csinh.c: Use sinh function instead of - computing it directly. - * sysdeps/libm-ieee754/s_csinhf.c: Likewise. - * sysdeps/libm-ieee754/s_csinhl.c: Likewise. - - * sysdeps/libm-ieee754/s_ccosh.c: Use cosh function instead of - computing it directly. - * sysdeps/libm-ieee754/s_ccoshf.c: Likewise. - * sysdeps/libm-ieee754/s_ccoshl.c: Likewise. - - * sysdeps/libm-ieee754/s_cexp.c: Use internal exp function instead - of wrapper. - * sysdeps/libm-ieee754/s_cexpf.c: Likewise. - * sysdeps/libm-ieee754/s_cexpl.c: Likewise. - * sysdeps/m68k/fpu/s_cexp.c: Likewise. Correct handling of - special values. Avoid use of fsincos if all that is needed is the - quadrant. - - * sysdeps/m68k/fpu/s_ccosh.c: New file. - * sysdeps/m68k/fpu/s_ccoshf.c: New file. - * sysdeps/m68k/fpu/s_ccoshl.c: New file. - * sysdeps/m68k/fpu/s_csinh.c: New file. - * sysdeps/m68k/fpu/s_csinhl.c: New file. - * sysdeps/m68k/fpu/s_csinhf.c: New file. - -1997-04-03 10:18 Andreas Schwab - - * manual/Makefile (dir-add.texi): Simplify. - -1997-04-09 01:24 Ulrich Drepper - - * rellns-sh: Rewrite to work also in presence of symlinks. - - * argp/argp-fmtstream.c: Add casts to prevent warnings. - * argp/argp-fmtstream.h: Likewise. - * argp/argp-help.c: Likewise. - - * elf/dl-minimal.c: Add definition of calloc. - * elf/version.c: Add casts to prevent warnings. - (_dl_check_map_versions): Use calloc instead of malloc+memset. - - * locale/setlocale.c (_nl_current): Add element with index LC_ALL. - Reported by Greg McGary . - - * manual/libc.texinfo: Update malloc documentation for new malloc. - * manual/memory.texi: Likewise. - Patch by Wolfram Gloger . - - * math/libm-test.c (check_long): New function. - (check_longlong): New function. - (rinttol_test): New function. - (rinttoll_test): New function. - - * nis/nss_compat/compat-grp.c (in_blacklist): Improve a bit. - * nis/nss_compat/compat-pwd.c: Likewise. - * nis/nss_compat/compat-spwd.c: Likewise. - - * stdlib/erand48_r.c (erand48_r): Build double value using - ieee754_double union and use random bits in different order to - increase effect of seed. - Reported by David Mosberger-Tang . - - * sunrpc/svc_auth.c: Moved to ... - * sysdeps/generic/svc_auth.c: ...here. - - * time/time.h: Pretty print. - -1997-04-08 07:19 H.J. Lu - - * libio/genops.c (_IO_flush_all_linebuffered): Don't flush on - a read-only stream. - -1997-04-09 01:19 Ulrich Drepper - - * malloc/malloc.c (mALLOC_STATs) [MALLOC_DEBUG>1]: Put declaration - in correct place. - Patch by Marcus G. Daniels . - -1997-04-07 15:34 Ulrich Drepper - - * stdio-common/Makefile (tests): Add tst-ferror. - * stdio-common/tst-ferror.c: New file. Some tests for error - indicator of streams. - * stdio-common/tst-ferror.input: New file. - - * isomac.c: Let tests not fail because the compiler defines itself - symbols which violate the name space rules. gcc defines symbols - for the architecture which are not protected by an underscore - character. - - * math/Makefile (libm-support): Add s_rinttol and s_rinttoll. - (libm-calls): Add s_clog. - * sysdeps/libm-ieee754/s_clog.c: New file. Implementation of - logarithm of complex value. - * sysdeps/libm-ieee754/s_clogf.c: New file. - * sysdeps/libm-ieee754/s_clogl.c: New file. - * math/libm-test.c (clog_test): Compile this function. Fix a few - typos. - (main): Call clog_test. - - * sysdeps/libm-ieee754/s_rinttol.c: New file. Round long double - value to long int. - * sysdeps/libm-i387/s_rinttol.S: New file. - * sysdeps/libm-ieee754/s_rinttoll.c: new file. Round long double - value to long long int. - * sysdeps/libm-i387/s_rinttoll.S: New file. - - * sysdeps/libm-ieee754/s_rintl.c: Many corrections. The previous - version was full of errors. - - * math/math.h (rinttol): Argument is of type `long double' not - `double'. - (rinttoll): Likewise. - (roundtol): Likewise. - (roundtoll): Likewise. - -1997-04-06 11:32 H.J. Lu - - * posix/getopt.c (_getopt_initialize): Preserve optind. - (_getopt_internal): Set optind to 1 if optind == 0 before - calling _getopt_initialize (). - -1997-04-05 16:45 Thorsten Kukuk - - * nis/rpcsvc/nislib.h: Change const nis_name to new type - const_nis_name. - * nis/nis_intern.c: Likewise. - * nis/nis_intern.h: Likewise. - * nis/nis_server.c: Likewise. - * nis/nis_subr.c: Likewise. - * nis/nis_table.c: Likewise. - * nis/nis_names.c: Likewise. Fill out ns_request structure in - nis_add(). - - * nis/nss_compat/compat-pwd.c: Use reentrant netgroup functions. - * nis/nss_compat/compat-spwd.c: Likewise. - -1997-03-27 07:37 H.J. Lu - - * libio/fileops.c (_IO_file_overflow): Set error when try to write - on a read-only stream. - - * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol. - (ut_time): Define it only if _NO_UT_TIME is not defined. - -1997-04-06 00:42 Ulrich Drepper - - * misc/tst-tsearch.c: Include . Define _GNU_SOURCE only - if not already defined. - -1997-04-05 16:14 Ulrich Drepper - - * sysdeps/unix/sysv/linux/netatalk/at.h: Include to - get definition of sa_family_t for . - Reported by a sun . - - * malloc/malloc.c (cALLOc): Little optimization. - -1997-04-05 03:11 Ulrich Drepper - - * inet/arpa/inet.h: Rewrite. Don't use the ugly BSD way to write - headers but instead add comments and parameter names. - Don't use BSD specific types in prototypes. - - * manual/nss.texi: Correct a few typos and errors. - - * sysdeps/libm-ieee754/s_cbrt.c: Complete rewrite based on better - algorithm. - * sysdeps/libm-ieee754/s_cbrtf.c: Likewise. - * sysdeps/libm-ieee754/s_cbrtl.c: Likewise. - - * sysdeps/libm-i387/s_cbrt.S: New file. Optimized assembler version - with new algorithm. - * sysdeps/libm-i387/s_cbrtf.S: New file. - * sysdeps/libm-i387/s_cbrtl.S: New file. - - * sysdeps/libm-i387/s_frexp.S: Optimize even more. - * sysdeps/libm-i387/s_frexpf.S: Likewise. - * sysdeps/libm-i387/s_frexpl.S: Likewise. - -1997-04-04 18:55 Thorsten Kukuk - - * nis/Makefile: Remove CFLAGS-*, add publickey to databases. - - * nis/nis_call.c: Add MASTER_ONLY and HARD_LOOKUP flags, compile - DES part only with secure RPC add-on. - - * nis/nis_names.c (nis_modify): Fix rpc function number. - - * nis/nis_server.c: Fix typos. - - * nis/nss_compat/compat-grp.c: Add NIS+ support. - * nis/nss_compat/compat-pwd.c: Likewise. - * nis/nss_compat/compat-spwd.c: Likewise. - - * nis/nss_nis/nis-grp.c: Only a return value > 0 from parse_line - signals success. - - * nis/nss_nis/nis-publickey.c: Changes for compiling with/without - secure RPC. - * nis/nss_nisplus/nisplus-publickey.c: Likewise. - * nis/ypclnt.c: Likewise. - * nis/nis_intern.h: Likewise. - - * nis/nss_nisplus/nisplus-alias.c: Correct parser return code. - * nis/nss_nisplus/nisplus-ethers.c: Likewise. - * nis/nss_nisplus/nisplus-hosts.c: Likewise. - * nis/nss_nisplus/nisplus-network.c: Likewise. - * nis/nss_nisplus/nisplus-proto.c: Likewise. - * nis/nss_nisplus/nisplus-pwd.c: Likewise. - * nis/nss_nisplus/nisplus-rpc.c: Likewise. - * nis/nss_nisplus/nisplus-service.c: Likewise. - * nis/nss_nisplus/nisplus-spwd.c: Likewise. - - * nis/nss_nisplus/nisplus-grp.c: Rewrite parser for fixing errors - and speedup. - * nis/nss_nisplus/nisplus-netgrp.c: Likewise. - -1997-04-04 17:03 Ulrich Drepper - - * math/libm-test.c (cbrt_test): Add tests for +-inf and NaN - arguments. - -1997-04-03 19:24 H.J. Lu - - * sysdeps/unix/sysv/linux/sigset.h (__sigisemptyset): Fix a - typo. - -1997-04-03 16:10 Andreas Jaeger - - * sysdeps/libm-ieee754/s_nanf.c: - * sysdeps/libm-ieee754/s_nan.c: - * sysdeps/libm-ieee754/s_nanl.c: Include for - declaration of sprintf. - -1997-04-03 13:37 Ulrich Drepper - - * sysdeps/libm-ieee754/s_cexp.c: Fix typo: string_alias -> - strong_alias. - Reported by sun . - - * rpc/auth.h: Removed. - * rpc/auth_des.h: Removed. - * sunrpc/rpc/auth.h: Moved to ... - * sysdeps/generic/rpc/auth.h: ...here. - * sunrpc/rpc/auth_des.h: Moved to ... - * sysdeps/generic/rpc/auth_des.h: ...here. - -1997-04-03 04:28 Ulrich Drepper - - * sysdeps/libm-i387/s_frexp.S: New file. ix87 optimized version. - * sysdeps/libm-i387/s_frexpf.S: New file. - * sysdeps/libm-i387/s_frexpl.S: New file. - -1997-04-01 10:11 H.J. Lu - - * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] - (sysdep_headers): Remove netinet/icmp.h. - -1997-04-02 16:55 Ulrich Drepper - - * manual/socket.texi: Document behaviour of inet_ntoa in multi- - threaded programs. - * manual/stdio.texi: Change wording for snprintf description a bit. - Correct typo in example. - * manual/lang.texi: Add documentation of __va_copy. - - * Makefile: Add rule to easily generate dir-add.texi file. - * manual/Makefile: Likewise. - - * manual/arith.texi: Add description of lldiv_t, lldiv, and atoll. - Change description of strtoll and strtoull to make clear these - are the preferred names. - Describe `inf', `infinity', `nan', `nan(...)' inputs for strtod - and friends. - Change references to HUGE_VALf and HUGE_VALl to HUGE_VALF and - HUGE_VALL. - -1997-04-02 16:28 Ulrich Drepper - - * grp/fgetgrent.c: Don't use fixed buffer length. Allow dynamic - adjustment if the underlying function say it is too small. - * pwd/fgetpwent.c: Likewise. - * shadow/fgetspent.c: Likewise. - * shadow/sgetspent.c: Likewise. - - * grp/fgetgrent_r.c (__fgetgrent_r): If `parse_result' returns -1 - this means there was not enough room for the gr_mem array. - - * nss/nss_files/files-XXX.c: Leave loop and return error if - `parse_result' returns -1. - - * nss/nss_files/files-parse.c (parse_line): Return -1 if parsing - of trailing list fails because of low memory. - (parse_list): Rewrite. The logic was completly incorrect since - the checks for overflowing the array were not executed when - needed. - - * shadow/sgetspent_r.c: Only a return value > 0 from parse_line - signals success. - - * nss/getXXbyYY.c: Make sure NULL is returned if we ran out of memory. - * nss/getXXent.c: Likewise. - - * stdlib/strtod.c (SET_MANTISSA): Make sure that at least one bit - is set in mantissa. - * stdlib/strtof.c: Likewise. - * stdlib/strtold.c: Likewise. - * wcsmbs/wcstof.c: Likewise. - * wcsmbs/wcstold.c: Likewise. - - * sysdeps/libm-ieee754/s_nan.c: Use strtod if parameter is not empty - string. - * sysdeps/libm-ieee754/s_nanf.c: Likewise. - * sysdeps/libm-ieee754/s_nanl.c: Likewise. - -1997-04-02 13:56 Ulrich Drepper - - * manual/errno.texi: Add description of strerror_r. - -1997-04-01 19:07 H.J. Lu (hjl@gnu.ai.mit.edu) - - * manual/errno.texi: Add ENOMEDIUM and EMEDIUMTYPE. - -1997-04-02 13:55 Ulrich Drepper - - * sysdeps/gnu/errlist.awk: The Texinfo file is named errno.texi. - -1997-03-30 10:59 Andreas Schwab - - * sysdeps/m68k/fpu/s_cexp.c: New file. - * sysdeps/m68k/fpu/s_cexpf.c: New file. - * sysdeps/m68k/fpu/s_cexpl.c: New file. - * sysdeps/m68k/fpu/s_nearbyint.c: New file. - * sysdeps/m68k/fpu/s_nearbyintf.c: New file. - * sysdeps/m68k/fpu/s_nearbyintl.c: New file. - * sysdeps/m68k/fpu/s_trunc.c: New file. - * sysdeps/m68k/fpu/s_truncf.c: New file. - * sysdeps/m68k/fpu/s_truncl.c: New file. - - * sysdeps/m68k/fpu/s_modf.c: Rewritten. - * sysdeps/m68k/fpu/s_modff.c: Adapted. - * sysdeps/m68k/fpu/s_modfl.c: Likewise. - - * sysdeps/m68k/fpu/e_atan2.c: Use __signbit inline. - * sysdeps/m68k/fpu/e_pow.c: Likewise. Write 0.0/0.0 for NaN. Fix - typo in test for `y = 0.5'. - - * sysdeps/m68k/fpu/__math.h: Define __trunc, __signbit, - __nearbyint. Remove __modf. - - * sysdeps/m68k/Makefile (CFLAGS-s_copysignl.c) [$(subdir)=math]: - Define for gcc bug workaround. - - * math/libm-test.c (log2_test): Add epsilon for long double to - "log2 (e)" and "log2 (16)". - (modf_test): Fix test name. - (sqrt_test): Add missing FUNC. - -1997-03-29 16:24 Andreas Schwab - - * sunrpc/Makefile (CFLAGS-xrquota.c): Fix typo in variable name. - -1997-03-28 20:56 Andreas Schwab - - * stdlib/stdlib.h: Declare __clearenv. - -1997-03-28 18:03 Andreas Schwab - - * sysdeps/libm-ieee754/s_asinhl.c: Fix Ulrich Dreppers mangling of - the last change. - -1997-03-28 17:55 Andreas Schwab - - * configure.in: Call AC_CANONICAL_BUILD before referencing - $build. Fix test for BUILD_CC. - -1997-04-02 01:29 Philip Blundell - - * sysdeps/libm-ieee754/s_log2f.c (__log2f): Fix typo. - -1997-03-31 18:53 Philip Blundell - - * sysdeps/unix/sysv/linux/net/route.h: Add new IPv6 definitions. - -1997-04-01 14:08 Ulrich Drepper - - * sysdeps/i386/memset.c: Fix typo. - * sysdeps/stub/fchmod.c: Fix typo. - * sysdeps/stub/fchdir.c: Fix typo. - Reported by Fila Kolodny . - -1997-04-01 00:37 Ulrich Drepper - - * math/Makefile: Prevent inlining for test-{float,double,longdouble}. - * math/libm-test.c (initialize): Make strings unique and force - values to memory. - - * posix/regex.c: Debug debugging code. - - * sysdeps/i386/asm-syntax.h: Define `L' macro to emit correct - syntax for local label. - * sysdeps/i386/add_n.S: Use correct local label syntax for the - binary format. - * sysdeps/i386/addmul_1.S: Likewise. - * sysdeps/i386/lshift.S: Likewise. - * sysdeps/i386/memchr.S: Likewise. - * sysdeps/i386/memcmp.S: Likewise. - * sysdeps/i386/mul_1.S: Likewise. - * sysdeps/i386/rshift.S: Likewise. - * sysdeps/i386/stpcpy.S: Likewise. - * sysdeps/i386/stpncpy.S: Likewise. - * sysdeps/i386/strchr.S: Likewise. - * sysdeps/i386/strcspn.S: Likewise. - * sysdeps/i386/strlen.S: Likewise. - * sysdeps/i386/strpbrk.S: Likewise. - * sysdeps/i386/strrchr.S: Likewise. - * sysdeps/i386/strspn.S: Likewise. - * sysdeps/i386/strtok.S: Likewise. - * sysdeps/i386/sub_n.S: Likewise. - * sysdeps/i386/submul_1.S: Likewise. - * sysdeps/i386/i486/strcat.S: Likewise. - * sysdeps/i386/i486/strlen.S: Likewise. - * sysdeps/i386/i586/add_n.S: Likewise. - * sysdeps/i386/i586/addmul_1.S: Likewise. - * sysdeps/i386/i586/lshift.S: Likewise. - * sysdeps/i386/i586/memset.S: Likewise. - * sysdeps/i386/i586/mul_1.S: Likewise. - * sysdeps/i386/i586/rshift.S: Likewise. - * sysdeps/i386/i586/strchr.S: Likewise. - * sysdeps/i386/i586/strlen.S: Likewise. - * sysdeps/i386/i586/sub_n.S: Likewise. - * sysdeps/i386/i586/submul_1.S: Likewise. - - * sysdeps/stub/s_log2l.c: Correct function name. - - * time/africa: Updated from ADO tzdata1997e. - * time/antarctica: Likewise. - * time/asia: Likewise. - * time/australasia: Likewise. - * time/europe: Likewise. - * time/northamerica: Likewise. - * time/southamerica: Likewise. - * time/private.h: Updated from ADO tzcode1997d. - * time/scheck.c: Likewise. - -1997-03-31 12:42 Ulrich Drepper - - * sysdeps/unix/sysv/linux/powerpc/Dist: Add kernel_*.h files. - -1997-03-23 01:41 Geoff Keating - - * sysdeps/powerpc/strlen.s: Rewrote for more speed. - * string/tst-strlen.c: Also test various string alignments. - -1997-03-19 06:11 Geoff Keating - - * sysdeps/unix/sysv/linux/powerpc/statbuf.h: Removed. - * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h: Added. - - * sysdeps/powerpc/dl-machine.h (ELF_PREFERRED_ADDRESS): Assume - program base address is 0x01800000 if we can't otherwise tell what - it is. - (elf_machine_rela): Replace `assertion failed' with real error - messages. - - * sysdeps/powerpc/dl-machine.h: More comments, more GNU indenting. - Put in extra parentheses to make explicit the relative precedence - of + and >>. - - * sysdeps/powerpc/bsd-setjmp.S: Add `__setjmp' symbol so the tests - pass. - * sysdeps/powerpc/clone.S: Rewrite. Probably still doesn't work. - - * sysdeps/unix/sysv/linux/powerpc/sys/sysdep.h: Use .section "text" - instead of .text. - -1997-03-31 02:28 Ulrich Drepper - - * misc/tst-tsearch.c: Don't write to stderr, write to stdout - instead. - - * inet/inet_ntoa.c (inet_ntoa): Complete rewrite. Now uses - thread-specific memory in multi-threaded programs. - - * sysdeps/stub/s_exp2.c: New file. Stub version for exp2 function. - * sysdeps/stub/s_exp2f.c: New file. - * sysdeps/stub/s_exp2l.c: New file. - Reported by a sun . - - * sysdeps/unix/sysv/linux/netatalk/atalk.h: Rename to... - * sysdeps/unix/sysv/linux/netatalk/at.h: ...this. - Suggested by a sun . - -1997-03-30 14:53 Ulrich Drepper - - * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: Add former contents - of . - Patch by a sun . - -1997-03-30 03:42 Ulrich Drepper - - * math/libm-test.c: Add definition of ctanh_test, clog_test, and - csqrt_test. - -1997-03-29 17:39 Ulrich Drepper - - * math/Makefile (routines): Add carg, s_ccosh and s_csinh. - - * math/complex.h: Add C++ protection. - - * math/libm-test.c (cexp_test): Correct a few bugs. - (csinh_test): New function. - (ccosh_test): New function. - (cacos_test): New function. - (cacosh_test): New function. - (casinh_test): New function. - (catanh_test): New function. - (main): Add calls to csinh_test and ccosh_test. - - * misc/Makefile (tests): Add tst-tsearch. - Add rule to link tst-tsearch against libm. - * misc/tsearch.c: Rewritten to use Red-Black-Tree algorithm by - Bernd Schmidt . - * misc/tst-tsearch.c: New file. - - * stdio-common/bug5.c: Clear LD_LIBRARY_PATH environment variable - before using system. - * stdio-common/test-popen.c: Clear LD_LIBRARY_PATH environment variable - before using popen. - - * sysdeps/libm-ieee754/s_cexp.c: Correct handling of special cases. - * sysdeps/libm-ieee754/s_cexpf.c: Likewise. - * sysdeps/libm-ieee754/s_cexpl.c: Likewise. - - * sysdeps/libm-i387/s_cexp.S: New file. ix87 specific implementation - of complex exponential function. - * sysdeps/libm-i387/s_cexpf.S: New file. - * sysdeps/libm-i387/s_cexpl.S: New file. - - * sysdeps/libm-ieee754/s_ccosh.c: New file. Implementation of - complex cosh function. - * sysdeps/libm-ieee754/s_ccoshf.c: New file. - * sysdeps/libm-ieee754/s_ccoshl.c: New file. - * sysdeps/libm-ieee754/s_csinh.c: New file. Implementation of - complex sinh function. - * sysdeps/libm-ieee754/s_csinhf.c: New file. - * sysdeps/libm-ieee754/s_csinhl.c: New file. - - * math/carg.c: New file. Generic implementatio of carg function. - * math/cargf.c: New file. - * math/cargl.c: New file. - -1997-03-29 16:07 Ulrich Drepper - - * sysdeps/posix/system.c: Update copyright. - -1997-03-29 04:18 Ulrich Drepper - - * elf/dl-error.c (_dl_catch_error): Add another argument which is - passed to OPERATE. - (_dl_receive_error): Likewise. - * elf/link.h: Change prototypes for _dl_catch_error and - _dl_receive_error to reflect above change. - * elf/dl-deps.c: Don't use nested function. Call _dl_catch_error - with additional argument with pointer to data. - * elf/dlclose.c: Likewise. - * elf/dlerror.c: Likewise. - * elf/dlopen.c: Likewise. - * elf/dlsym.c: Likewise. - * elf/dlvsym.c: Likewise. - * elf/rtld.c: Likewise. - * nss/nsswitch.c: Likewise. - Patch by Bernd Schmidt . - -1997-03-28 21:14 Miguel de Icaza - - * elf/dl-error.c: Manually set up the values of "c", this avoids a - call to memcpy and a zero 152 bytes structure. - - * sysdeps/sparc/dl-machine.h (elf_machine_rela): Test - RTLD_BOOTSTRAP to avoid performing relative relocs on a second - pass. - - * sysdeps/sparc/udiv_qrnnd.S: Make the code PIC aware. - - * sysdeps/unix/sysv/linux/sparc/Dist: Add kernel_stat.h and - kernel_sigaction.h - - Add Linux/SPARC specific definitions. - * sysdeps/unix/sysv/linux/sparc/fcntlbits.h: New file. - * sysdeps/unix/sysv/linux/sparc/ioctls.h: New file. - * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: New file. - * sysdeps/unix/sysv/linux/sparc/kernel_stat.h: New file. - * sysdeps/unix/sysv/linux/sparc/sigaction.h: New file. - * sysdeps/unix/sysv/linux/sparc/signum.h: New file. - * sysdeps/unix/sysv/linux/sparc/termbits.h: New file. - -1997-03-28 13:06 Philip Blundell - - * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Use - __getservbyname_r() not getservbyname(). - (BROKEN_LIKE_POSIX): Define to 1 so we get strict POSIX behaviour. - -1997-03-27 02:28 Ulrich Drepper - - * gmon/gmon.c (monstartup): Mark all messages. - (write_call_graph): Rewrite to use larger I/O vector for writev - call to reduce syscall overhead. - (write_bb_counts): Simplify writev handling. - - * inet/rexec.c: Make string parameters `const'. - * resolv/netdb.h: Add prototypes for rcmd, rexec, ruserok, and - rresvport. - - * math/Makefile: Don't define CFLAGS-* macros to prevent inlining - in libm-test. - * math/libm-test.c (this_does_nothing): Remove functions. It's - notuseful on any platform but ix86. - (inverse_func_pair_test): Don't use this_does_nothing. Use - memory reference. - (identities1_test): Likewise. - (identities2_test): Likewise. - (identities3_test): Likewise. - (basic_test): Likewise. - Patch by Andreas Schwab. - (BUILD_COMPLEX): New macro. Create complex number from real and - imaginary parts. This works around bugs/inefficiencies in current - gcc. - (cexp_test): Use BUILD_COMPLEX. Add more tests. - - * nss/nsswitch.c: Fix typo. - - * posix/glob.h: Add declaration for glob_pattern_p. - * posix/glob.c: Rename glob_pattern_p to __glob_pattern_p and - make glob_pattern_p a weak alias. This function is used in other - packages (e.g. bash). - - * signal/Makefile (routines): Add sigisempty, sigandset, and - sigorset. - * signal/signal.h: Add prototypes for sigisempty, sigandset, and - sigorset. - * signal/sigisempty.c: New file. - * signal/sigandset.c: New file. - * signal/sigorset.c: New file. - * sysdeps/generic/sigset.h: Define __sigisemptyset, __sigandset, - and __sigorset. - * sysdeps/unix/sysv/linux/sigset.h: Likewise. - - * stdlib/strtod.c: Handle `n-char-sequence' in NaN parsing. It - determines the bits in the mantissa part of the NaN. - * stdlib/strtof.c: Define SET_MANTISSA for float type. - * wcsmbs/wcstof.c: Define SET_MANTISSA for float type. - * stdlib/strtold.c: Define SET_MANTISSA for long double type. - * wcsmbs/wcstold.c: Define SET_MANTISSA for long double type. - - * sysdeps/libm-ieee754/s_cexp.c: Use explicit assignment to - complex number components. Some more corrects for special cases. - * sysdeps/libm-ieee754/s_cexpf.c: Likewise. - * sysdeps/libm-ieee754/s_cexpl.c: Likewise. - - * sysdeps/sparc/elf/start.S: Remove as per request of Miguel de Icaza. - - * sysdeps/unix/sysv/linux/netinet/icmp.h: Remove since we have - ip_icmp.h. Reported by HJ Lu. - -1997-03-25 03:50 Andreas Schwab - - * sysdeps/m68k/Makefile (CFLAGS-rtld.c): Add -Wno-unused. - - * sysdeps/m68k/dl-machine.h (elf_machine_rela): Rewritten as for - i386. - (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p, - ELF_MACHINE_RELOC_NOPLT): Define. - -1997-03-25 03:48 Andreas Schwab - - * grp/grp.h: Include only once. - -1997-03-25 09:38 Andreas Schwab - - * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Don't define. - * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise. - - * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Use either OXTABS or - TAB3, if one of them is defined. - -1997-03-26 04:53 Ulrich Drepper - - * posix/glob.c (next_brace_sub): Decrement depth counter when '}' - is found. - Patch by Dennis Henriksen . - -1997-03-25 16:25 Thorsten Kukuk - - * sunrpc/Makefile: Comment gccwarn out. - * sunrpc/auth_none.c: Fix prototypes and parameters for compiling - with enabled warnings. - * sunrpc/auth_unix.c: Likewise. - * sunrpc/authuxprot.c: Likewise. - * sunrpc/bindrsvprt.c: Likewise. - * sunrpc/clnt_gen.c: Likewise. - * sunrpc/clnt_perr.c: Likewise. - * sunrpc/clnt_raw.c: Likewise. - * sunrpc/clnt_simp.c: Likewise. - * sunrpc/clnt_tcp.c: Likewise. + * sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise. + * sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise. + * sysdeps/unix/bsd/sun/sunos4/speed.c: Likewise. + * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/ioperm.c: Likewise. + * sysdeps/unix/sysv/linux/i386/brk.c: Likewise. + * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/brk.c: Likewise. + + * sunrpc/clnt_tcp.c: Protect declaration of errno by #ifndef. * sunrpc/clnt_udp.c: Likewise. - * sunrpc/get_myaddr.c: Likewise. - * sunrpc/getrpcport.c: Likewise. + * sunrpc/bindrsvprt.c: Likewise. * sunrpc/pm_getmaps.c: Likewise. - * sunrpc/pm_getport.c: Likewise. - * sunrpc/pmap_clnt.c: Likewise. - * sunrpc/pmap_prot.c: Likewise. - * sunrpc/pmap_prot2.c: Likewise. * sunrpc/pmap_rmt.c: Likewise. - * sunrpc/rpc/auth.h: Likewise. - * sunrpc/rpc/clnt.h: Likewise. - * sunrpc/rpc/pmap_clnt.h: Likewise. - * sunrpc/rpc/svc.h: Likewise. - * sunrpc/rpc/svc_auth.h: Likewise. - * sunrpc/rpc/types.h: Likewise. - * sunrpc/rpc/xdr.h: Likewise. - * sunrpc/rpc_clntout.c: Likewise. - * sunrpc/rpc_cmsg.c: Likewise. - * sunrpc/rpc_dtable.c: Likewise. - * sunrpc/rpc_prot.c: Likewise. * sunrpc/svc.c: Likewise. - * sunrpc/svc_auth.c: Likewise. - * sunrpc/svc_authux.c: Likewise. - * sunrpc/svc_raw.c: Likewise. * sunrpc/svc_run.c: Likewise. - * sunrpc/svc_simple.c: Likewise. * sunrpc/svc_tcp.c: Likewise. * sunrpc/svc_udp.c: Likewise. - * sunrpc/xdr.c: Likewise. - * sunrpc/xdr_array.c: Likewise. - * sunrpc/xdr_mem.c: Likewise. - * sunrpc/xdr_rec.c: Likewise. - * sunrpc/xdr_ref.c: Likewise. - * sunrpc/xdr_stdio.c: Likewise. -1997-03-25 13:39 Ulrich Drepper + * sysdeps/generic/strtok.c: Don't check argument, just crash. + * sysdeps/generic/strtok_r.c: Likewise. - * math/libm-test.c (log2_test): Compile this function and call it. - (exp2_test): Likewise, but check whether function really exists - before testing. + * sysdeps/stub/start.c: Make __errno a strong alias of errno. + * sysdeps/unix/start.c: Likewise. De-ANSI-fy. + * sysdeps/unix/sparc/start.c: Likewise. + * sysdeps/standalone/m68k/m68020/start.S: Likewise. + * sysdeps/unix/sysv/irix4/start.c: Likewise. + * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise. + * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise. - * math/Makefile (libm-calls): Add s_log2 and s_exp2. +Mon Sep 23 17:54:57 1996 Ulrich Drepper -1997-03-25 04:50 Ulrich Drepper + * catgets/gencat.c (main): Put package name in --version message + in parantheses. Reported by Jim Meyering. + * db/makedb.c: Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/localedef.c: Likewise. - Implement exp2 function. - * sysdeps/libm-i387/s_exp2.S: New file. - * sysdeps/libm-i387/s_exp2f.S: New file. - * sysdeps/libm-i387/s_exp2l.S: New file. + * sysdeps/i386/fpu/__math.h (tan): Make sure gcc knows we use + two registers. Patch by John Bowman. - Implement log2 function. - * sysdeps/libm-i387/s_log2.S: New file. - * sysdeps/libm-i387/s_log2f.S: New file. - * sysdeps/libm-i387/s_log2l.S: New file. - * sysdeps/libm-ieee754/s_log2.c: New file. - * sysdeps/libm-ieee754/s_log2f.c: New file. - * sysdeps/stub/s_log2.c: New file. Stub version. +Sat Sep 21 15:08:25 1996 Andreas Schwab -1997-03-24 19:58 Richard Henderson + * sysdeps/mach/libc-lock.h: Fix comment. + * sysdeps/stubs/libc-lock.h: Likewise. - * stdlib/tst-strtol.c (tests): Correct 64-bit entry. +Sat Sep 21 13:50:40 1996 Andreas Schwab - * sysdeps/alpha/bsd-_setjmp.S: Alias _setjmp to __setjmp for - change to tst-setjmp.c. + * libio/genops.c (_IO_init) [_IO_MTSAFE_IO]: Dereference pointer + to lock when passing it to __libc_lock_init macro. + (_IO_default_finish) [_IO_MTSAFE_IO]: Dereference pointer to lock + when passing it to __libc_lock_fini macro. - * sysdeps/alpha/dl-machine.h: Mirror Roland's recent changes. - * sysdeps/i386/dl-machine.h: Correct noexec_p comment. - * sysdeps/sparc/dl-machine.h: Likewise. +Sat Sep 21 14:35:40 1996 Andreas Schwab - * sysdeps/libm-ieee754/s_remquo.c: Rename {hp,lp} -> {hy,ly}. - Add missing qs variable. - * sysdeps/libm-ieee754/s_remquof.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER) + [_LIBC_REENTRANT]: Add missing semicolon. -1997-03-25 02:15 Ulrich Drepper + * sysdeps/unix/sysv/linux/m68k/sysdep.S: Move inclusion of + sysdep.h to the top outside of #ifndef PIC. Don't include errnos.h. + Use the ENTRY macro. - * gmon/gmon.c: Optimize a bit by using more sets of records to - write in a single writev call. +Sat Sep 21 14:33:41 1996 Andreas Schwab - * math/math.h: Add definitions of macros __MATHCALLX and __MATHDECLX. - * math/mathcalls.h: Use __MATHCALLX for fabs, infnan, copysign, - nan, isnan, nextafter, trunc, __fpclassify and signbit to mark as - `const'. - Use __MATHDECLX for isinf and finite. + * libio/Makefile: Make `all' the default target. + * po/Makefile: Likewise. - * sysdeps/generic/setenv.c [_LIBC]: Define __clearenv and make - clearenv a weak alias. +Mon Sep 23 15:49:47 1996 Ulrich Drepper - Implement complex exponential function. - * sysdeps/libm-ieee754/s_cexp.c: New file. - * sysdeps/libm-ieee754/s_cexpf.c: New file. - * sysdeps/libm-ieee754/s_cexpl.c: New file. + * stdlib/test-canon.c: Correct patch from Thu Sep 12 23:01:16 1996. + I applied it incorrectly. + * sysdeps/m68k/fpu/s_scalbn.c: Likewise. + * sysdeps/m68k/fpu/s_scalbnf.c: Likewise. + * sysdeps/m68k/fpu/s_scalbnl.c: Likewise. - * sysdeps/libm-ieee754/s_nan.c: Define function as __nan and make - nan a weak alias. - * sysdeps/libm-ieee754/s_nanf.c: Likewise for nanf. - * sysdeps/libm-ieee754/s_nanl.c: Likewise for nanl. +Mon Sep 23 03:00:10 1996 Ulrich Drepper - * sysdeps/unix/sysv/linux/iovec.h: Don't use kernel header because - of type clashes. Add all definitions here. + * shadow/sgetspent_r.c (LINE_PARSER): Accept empty 9th field. + Patch by NIIBE Yutaka . - * sysdeps/unix/sysv/linux/shmat.c: Likewise. Correct types according - to XPG4.2. - * sysdeps/unix/sysv/linux/shmdt.c: Likewise. - * sysdeps/unix/sysv/linux/msgrcv.c: Likewise. + * shadow/sgetspent_r.c (LINE_PARSER): Don't accept any chars after + 9th field. - * sysvipc/sys/shm.h (shmat, shmdt): Correct types. + * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc] + (sysdep_headers): Add sys/debugreg.h, sys/kd.h, sys/soundcard.h, + and sys/vt.h. + * sysdeps/unix/sysv/linux/sys/debugreg.h: New file. + * sysdeps/unix/sysv/linux/sys/kd.h: New file. + * sysdeps/unix/sysv/linux/sys/soundcard.h: New file. + * sysdeps/unix/sysv/linux/sys/vt.h: New file. + Reported by NIIBE Yutaka . - * sysdeps/unix/sysv/linux/sys/kd.h: Define _LINUX_TYPES_H to avoid - use of kernel types. +Thu Sep 26 13:44:29 1996 Thomas Bushnell, n/BSG -1997-03-25 00:00 Ulrich Drepper + * hurd/Makefile (installed-sunrpc-headers): New variable. + (sunrpc-headers): New variable. + (install-headers-nosubir): Depend on $(installed-sunrpc-headers), + not just . + ($(installed-sunrpc-headers)): Provide rule for all of these. - * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_timestamp): - Correct typos. Reported by a sun . +Mon Sep 23 15:31:04 1996 Thomas Bushnell, n/BSG -1997-03-20 21:58 Andreas Schwab + * hurd/Makefile ($(includedir)/rpc/netdb.h): There is no make + variable `top_srcdir' in libc; use $(..) instead. - * sysdeps/libm-ieee754/s_asinhl.c: Fix sign of result. + * sysdeps/mach/hurd/Makefile (rtld-installed-name): Delete special + definition. It was a *Mistake*. (With a capital M.) -1997-03-20 16:20 Andreas Schwab + * sysdeps/mach/getsysstats.c (__get_nprocs): Renamed from + __get_nproc. + (__get_nprocs_conf): Renamed from __get_nproc_conf. + +Sun Sep 22 15:18:41 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/init-first.c: Define dummy function + `_dl_start' so that linking fails if this file should ever be used + in ld.so. - * sysdeps/libm-ieee754/e_atan2l.c: Fix typo. + * catgets/gencat.c (main): Change --version message according to + RMS' last standard revision. + * db/makedb.c: Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/localedef.c: Likewise. -1997-03-20 14:23 Andreas Schwab +Sat Sep 21 23:42:39 1996 Thomas Bushnell, n/BSG - * sysdeps/m68k/fpu/__math.h (__logb, logb): Don't define. - * sysdeps/m68k/fpu/s_logb.c: Removed. - * sysdeps/m68k/fpu/s_logbf.c: Removed. - * sysdeps/m68k/fpu/s_logbl.c: Removed. + * sysdeps/mach/getsysstats.c: Include . + (__get_nproc_conf): New function. - * sysdeps/m68k/fpu/__math.h (__ieee754_atan2, __ieee754_pow): - Don't define here. - * sysdeps/m68k/fpu/e_atan2.c: Rewritten. - * sysdeps/m68k/fpu/e_pow.c: Likewise. - * sysdeps/m68k/fpu/e_atan2f.c: Based on e_atan2.c. - * sysdeps/m68k/fpu/e_atan2l.c: Likewise. - * sysdeps/m68k/fpu/e_powf.c: Based on e_pow.c. - * sysdeps/m68k/fpu/e_powl.c: Likewise. +Sun Sep 22 03:40:52 1996 Ulrich Drepper - * sysdeps/m68k/fpu/s_log2.c: New file. - * sysdeps/m68k/fpu/s_log2f.c: New file. - * sysdeps/m68k/fpu/s_log2l.c: New file. - * sysdeps/m68k/fpu/s_exp2.c: New file. - * sysdeps/m68k/fpu/s_exp2f.c: New file. - * sysdeps/m68k/fpu/s_exp2l.c: New file. + * resolv/resolv.h: Update to bind-4.9.5-T4B. + * resolv/base64.c: Likewise. + * resolv/res_debug.c: Likewise. + * resolv/res_query.c: Likewise. + * resolv/gethnamaddr.c: Likewise. + * nss/nss_dns/dns-host.c: Likewise. + * resolv/res_comp.c: Likewise. + * resolv/res_send.c: Likewise. + * resolv/arpa/nameser.h: Likewise. Attention: MAXDNAME is much + higher now. -1997-03-20 14:46 Andreas Schwab + * resolv/Banner: New file. + * resolv/Makefile (distribute): Add Banner. - * Makeconfig (all): Make sure this is always the default goal. +Sat Sep 21 19:15:24 1996 Ulrich Drepper -1997-03-20 11:09 Andreas Schwab + * sysdeps/stub/getsysstats.c: New file. + * sysdeps/unix/sysv/linux/getsysstats.c: New file. - * math/libm-test.c: Increase epsilon in many places. Fix many - typos. Allow optinal argument also for short option. + * misc/Makefile (headers): Add sys/sysinfo.h. + (routines): Add getsysstats. + * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc] + (sysdep_headers): Remove sys/sysinfo.h. + * sysdeps/generic/sys/sysinfo.h: New file. + * sysdeps/unix/sysv/linux/sys/sysinfo.h: Add prototype for get_nprocs, + get_phys_pages, and get_avphys_pages. -1997-03-20 11:09 Andreas Schwab + * misc/Makefile (routines): Add mntent_r. + * misc/mntent_r.c: New file. + * misc/mntent.c: Remove all functions but getmntent and use + __getmntent_r. + * misc/mntent.h: Add prototype for __getmntent_r. + * misc/fstab.c: Use __getmntent_r function instead of getmntent. + This will not clobber the state in getmntent. - * math/Makefile ($(objpfx)$(tests)): Link against libm. + * sysdeps/generic/confname.h: Add _SC_PROCESSORS_CONF, + _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES, _SC_AVPHYS_PAGES, + _SC_ATEXIT_MAX, and _SC_PASS_MAX. + * sysdeps/stub/sysconf.c: Add handling _SC_PROCESSORS_CONF and + _SC_NPROCESSORS_ONLN by calling __get_nprocs, _SC_PHYS_PAGES by + calling __get_phys_pages, _SY_AVPHYS_PAGES by calling + __get_avphys_pages, _SC_ATEXIT_MAX and _SC_PASS_MAX. + * sysdeps/posix/sysconf.c: Likewise. + * posix/getconf.c (vars): Add _NPROCESSORS_CONF, _NPROCESSORS_ONLN, + _PHYS_PAGES, _AVPHYS_PAGES, ATEXIT_MAX, and PASS_MAX entries. -1997-03-24 23:14 Ulrich Drepper +Sat Sep 21 05:20:36 1996 Ulrich Drepper - * sysdeps/libm-ieee754/s_fpclassifyl.c: Correct recognition of - denormalized numbers. + * version.h (VERSION): Bump to 1.95. + + * Make-dist (+tsrcs): Don't filter out files in subdirs which + match files in the sysdeps hierachy (welcome back, + sys/syscall.h!). - * sysdeps/i386/huge_val.h: Remove references to byte order macros. - Don't include . + * resolv/Makefile (libresolv-routines): Remove getnetnamad. -1997-03-19 15:18 Andreas Schwab - * sysdeps/m68k/huge_val.h: Remove references to byte order macros. - Don't include . +Sat Sep 21 03:00:19 1996 Ulrich Drepper -1997-03-24 23:09 Ulrich Drepper + * locale/loadlocale.c (_nl_free_locale): Remove function. + * locale/localeinfo.h: Remove prototype for _nl_free_locale. + * locale/setlocale.c (setlocale): Don't free locale data of + categories which succeeded to load after a wrong or missing data + file was observed. - * inet/rcmd.c (iruserok): Use access instead of euidaccess. + * locale/setlocale (setlocale): Initialize NEWNAME correctly so + that it works even when the locale data is not used. -1997-03-15 18:08 Andreas Schwab + * stdlib/random_r.c: Fix typo in comment. + * stdlib/drand48-iter.c: Likewise. + * stdlib/drand48.c: Likewise. + * stdlib/erand48.c: Likewise. + * stdlib/jrand48.c: Likewise. + * stdlib/lcong48.c: Likewise. + * stdlib/lrand48.c: Likewise. + * stdlib/mrand48.c: Likewise. + * stdlib/nrand48.c: Likewise. + * stdlib/random.c: Likewise. + * stdlib/seed48.c: Likewise. + * stdlib/srand48.c: Likewise. + * misc/search.h: Likewise. + * misc/hsearch.c: Likewise. + * misc/hsearch_r.c: Likewise. - * math/cmathcalls.h: Remove whitespace before function name in use - of __MATHDECL macro, to make it compilable with a traditional - preprocessor. +Sat Sep 21 14:59:22 1996 Thomas Bushnell, n/BSG -1997-03-24 15:31 Ulrich Drepper + * sysdeps/mach/getsysstats.c: New file. - * configure.in: Use AC_PROG_CC instead of AC_PROG_TOOL to find - compiler. + * shlib-versions (*-*-gnu*): Increment libc to 0.2 for upcoming + binary distribution. -1997-03-24 02:34 Ulrich Drepper + * sysdeps/mach/hurd/Makefile (rtld-installed-name): Provide + definition to override dangerous one in Makeconfig. - * sysdeps/libm-ieee754/s_finitel.c (__finitel): Shift return value - by 31 positions to get 0/1 result. - Patch by Joe Keane . + * hurd/Makefile (install-headers-nosubdir): Install . + ($(includedir)/rpc/netdb.h): New rule. + [ This is XXX until sunrpc can be built; is + essential. ] -1997-03-23 12:15 H.J. Lu +Fri Sep 20 16:06:06 1996 Thomas Bushnell, n/BSG - * posix/getopt.c (__getopt_nonoption_flags): Make it extern - to prevent from ld linking in getopt.o even if there is another - incompatible one. + * sysdeps/mach/hurd/i386/init-first.c (_dl_start): Add definition, + to guarantee link errors if this is included in ld.so. - * posix/getopt_init.c (__getopt_nonoption_flags): Remove extern. +Thu Sep 19 21:50:55 1996 Ulrich Drepper -1997-03-23 23:30 Thorsten Kukuk + * sysdeps/posix/gettimeofday.c (__gettimeofday): Use localtime_r + instead of localtime. + Reported by Matthias Urlichs. - * nis/nis_call.c (__do_niscall): Print message if cold start file - does not exist. - * nis/nis_file.c: Don't print error messages. - * nis/nis_local_names.c (nis_local_host): Fix pointer errors. - * nis/rpcsvc/ypclnt.h: Fix copyright and prototypes. - * nis/rpcsvc/nis.h: Likewise. - * nis/ypclnt.c: Fix prototypes. + * shlib-versions: Remove version number for libcrypt. + * features.h: Define __USE_REENTRANT if _REENTRANT or _THREAD_SAFE. + * libc-symbols.h: Define _REENTRANT while compiling libc. -1997-03-24 01:36 Ulrich Drepper + * sysdeps/unix/sysv/linux/i386/sysdep.S (__errno_location): + Define even if !_LIBC_REENTRANT. + * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location): + Likewise. - * sysdeps/libm-i387/e_scalb.S: Pop additional result before - returning. - * sysdeps/libm-i387/e_scalbf.S: Likewise. - * sysdeps/libm-i387/e_scalbl.S: Likewise. - Reported by Andreas Jaeger . + * sysdeps/posix/cuserid.h: Remove prototype for geteuid(). + De-ANSI-fy. - * elf/rtld.c (dl_main): Set main_map->l_opencount to 1 also if - dynamic linker was called implicitly by the kernel. - Reported by Eric Youngdale . + * MakeTAGS ($P/libc.pot): Generate correctly formed header. + * po/header.pot: Correct title line. + * po/nl.po: Update. - * math/Makefile (CFLAGS-test-float.c, CFLAGS-test-double.c, - CFLAGS-test-longdouble.c): New variables. Set to -fno-inline to - prevent clever optimizations which corrupt the tests. +Thu Sep 19 18:59:55 1996 Ulrich Drepper -1997-03-23 21:33 Andreas Jaeger + * Makeconfig (soversions.mk): Prefer shared lib version numbers + is add ons over version in libc itself. - * math/libm-test.c (scalb_test): New function. - (sqrt_test): New function. - (scalbn_test): New function. - (ilogb_test): New function. - (main): Added calls for new test functions. - (ldexp_test): Add another test for ldexp(x,0). + * sysdeps/unix/sysv/linux/i386/sysdep.S: Include . + * sysdeps/unix/sysv/linux/i386/sysdep.h: Prevent multiple + inclusion. -1997-03-23 12:35 Andreas Jaeger + * libio/iofgets.c: Use __flockfile and __funlockfile instead of + _IO_flockfile and _IO_funlockfile resp. - * math/libm-test.c (remquo_test): Correct messages so that they - match the tests. - (copysign_test): Likewise. + * locale/categories.def: Partly support for correct `era' handling + in LC_TIME category. + * locale/langinfo.h: Likewise. + * locale/programs/ld-time.c: Likewise. + * locale/localeinfo.h: Change comment a bit. -1997-03-23 16:28 Ulrich Drepper + * malloc/memalign.c: Don't use goto, not necessary anymore. - * stdio-common/Makefile (routines): Add printf_size. +1996-09-18 Paul Eggert + + * time/mktime.c (ydhms_tm_diff): Work correctly even if year + is negative, or if time_t is unsigned. + * time/strftime.c (tm_diff): Work correctly even if tm_year + is near INT_MIN. + +Tue Sep 17 16:14:34 1996 Andreas Schwab + + * sysdeps/m68k/fpu/__math.h (__inline_mathop): Changed to generate + all three versions of the math function. + (__inline_mathopf, __inline_mathopl): Removed. + (__inline_functions): New temporary definition containing all + non-trivial inline functions. + +Wed Sep 18 00:25:41 1996 Ulrich Drepper + + * time/strftime.c (strftime): The T_FMT_AMPM string may be empty. + +Tue Sep 17 20:27:18 1996 Ulrich Drepper + + * math/Makefile (extra-libs-others): Use $(extra-libs) instead + of $(extra-libc). + +Tue Sep 17 17:09:44 1996 Ulrich Drepper + + * sysdeps/stub/fpu_control.h: Correct end of file comment. + +Tue Sep 17 05:39:18 1996 Ulrich Drepper - * stdio-common/printf.h: Add declarations for printf_size and - printf_size_info. + * stdio-common/bug3.c, stdio-common/bug4.c, stdio-common/bug5.c, + stdio-common/test-popen.c: Remove temporary files after test. + * stdio-common/bug5.c: Use `system' instead of `execlp'. + Patches by Andreas Jaeger. - * stdio-common/printf-parse.h (__printf_arginfo_table): Correct - declaration. - (parse_one_spec): Test whether __printf_function_table is not NULL - before using registered handlers and don't test - __printf_arginfo_table. Update nargs also when handler is - registered. + * stdio-common/bug5.c: Create string for `system' argument to + make sure the input and output file names are really correct. - * stdio-common/vfprintf.c (vfprintf): Count number of specifiers - processed in fast loop. +Sun Sep 15 12:46:44 1996 Andreas Schwab - * stdio-common/printf_size: New file. + * configure.in: If $os contains a hyphen add the part before the + hyphen to $ostry. + +Sun Sep 15 18:14:02 1996 Andreas Schwab + + * sysdeps/m68k/fpu/__math.h (__ieee754_pow, __ieee754_powf, + __ieee754_powl): Rename local variable i to __i. + (__ieee754_atan2, __ieee754_atan2f, __ieee754_atan2l): New inline + functions. + * sysdeps/m68k/fpu/e_atan2.c, sysdeps/m68k/fpu/e_atan2f.c, + sysdeps/m68k/fpu/e_atan2l.c: New files. -1997-03-23 02:11 Ulrich Drepper +1996-09-15 Paul Eggert - * time/sys/time.h: Make values ITIMER_* also available as macros. + * manual/time.texi: Change `range X to Y' to `range X through + Y', to avoid ambiguity in English. - * elf/dl-support.c (_dl_sysdep_read_whole_file): Don't call - __fstat but instead __fxstat directly to avoid dependency on - libc.a when inline failed. - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): Likewise. + (strftime): Numbers that do not have a range indicated are not padded. + Describe E and O modifiers. + %g, %G, %u: New formats. + %C, %y, %Y: Describe behavior on negative years. + %e: Fix typo (was labeled %d). + %l, %V: Fix typo in range. + %M, %S, %U, %w, %W: Give ranges. + %p: Clarify how noon and midnight are handled for AM and PM. + %s: Clarify leap second handling. + %r: Now locale-defined. + %C, %D, %e, %h, %n, %r, %t, %T: Say that they are POSIX.2 extensions. + %z: Say that it is a GNU extension. + %Z: Wording fix. - * math/Makefile (libm-routines): Add s_remquo. - * sysdeps/libm-i387/s_remquo.S: New file. - * sysdeps/libm-i387/s_remquof.S: New file. - * sysdeps/libm-i387/s_remquol.S: New file. - * sysdeps/libm-ieee754/s_remquo.c: New file. - * sysdeps/libm-ieee754/s_remquof.c: New file. - * sysdeps/libm-ieee754/s_remquol.c: New file. + * time/strftime.c: (strftime): + %V: Fix mishandling of week numbers near year boundaries. + %g, %G: New formats (suggested by Arthur David Olson). + %U, %W: Use inline expression instead of `week' function. + %C, %y: Handle negative years portably. + %C, %Y: Use width 1, since values can be arbitrarily wide. + %r: Use T_FMT_AMPM format if _NL_CURRENT is defined. + %u: New Posix.2 format. + %w: Width is 1, not 2. + (iso_week_days): New function, for %V, %G, %g. + (week): Remove; it didn't handle %V correctly. + (__isleap): New macro. + (mbsinit): Use arg, to pacify GCC -Wall. - * math/libm-test.c (remquo_test): New function. +1996-09-13 Paul Eggert - * sysdeps/libm-ieee754/s_rintl.c: Handle implicit leading one - correctly. + * time/strftime.c (strftime): + If using the GNU C library, do not bother to check for + multibyte encodings, since they're safe in formats. Otherwise: + - Check for multibyte encodings when encountering any character that + is not in the basic execution character set of the C Standard. + - Use mbrlen (if available) instead of mblen, to avoid modifying + mblen's internal state. + - Do not assume that '%' cannot appear as the first character of a + multibyte character sequence, since this is possible when not in the + initial shift state. + (HAVE_MBRLEN, MULTIBYTE_IS_FORMAT_SAFE): Define if _LIBC is defined. + (DO_MULTIBYTE): New macro. + (): Do not include. + (): Include if HAVE_MBRLEN. + (mbstate_t, mbrlen, mbsinit): Define if ! HAVE_MBRLEN. + (mbstate_zero): New constant. -1997-03-22 14:06 Ulrich Drepper +1996-09-12 Paul Eggert - * math/Makefile (libm-calls): Add s_nan. - * sysdeps/libm-ieee754/s_nan.c: New file. Implement `nan' function. - * sysdeps/libm-ieee754/s_nanf.c: New file. Implement `nanf' function. - * sysdeps/libm-ieee754/s_nanl.c: New file. Implement `nanl' function. + * time/strftime.c (strftime): + Use an empty zone if it can't be determined; POSIX.2 requires this. + Use plain `int' for pad and modifier (which now contain char value). + Use plain `int' for number_value, to print negative values correctly. + Use plain `int' for digits; there was no need to make it unsigned. + Initialize subfmt consistently. + Remove incorrect code for %EC and %Ey; they aren't implemented yet. + For %O, if there is no alternate digit, output Ascii instead of "". + Output the `%' of an unknown format; this is most likely the right + thing to do if a multibyte string has been misparsed. - * math/libm-test.c (basic_tests): Add tests for `nan' function. +Thu Sep 12 23:23:13 1996 Andreas Schwab - * math/libm-test.c (copysign_test): New function. - (main): Call copysign_test. + * stdio-common/scanf7.c (main): Remove extra conversion from + printf format string. + +Thu Sep 12 23:01:16 1996 Andreas Schwab + + * stdlib/test-canon.c (tests): Rename structure member from errno + to error, all uses changed. + +Thu Sep 12 20:08:06 1996 Andreas Schwab + + * sysdeps/m68k/fpu/__math.h (__ldexp, __ldexpf, __ldexpl): + Removed. + * sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c, + sysdeps/m68k/fpu/s_ldexpl.c: Removed, use generic implementation + instead. + * sysdeps/m68k/fpu/s_scalbn.c, sysdeps/m68k/fpu/s_scalbnf.c, + sysdeps/m68k/fpu/s_scalbnl.c: Replaced with old contents of + s_ldexp.c, s_ldexpf.c and s_ldexpl.c, resp., suitably adpted. + + * sysdeps/m68k/fpu/__math.h (__frexp, __frexpf, __frexpl): + Return value must be in [0.5, 1), not [1, 2). Reported by Chris + Lawrence. + (__ilogb, __ilogbf, __ilogbl): Check for argument being zero. + (__scalbn, __scalbnf, __scalbnl): Use second argument directly. + +Thu Sep 12 19:59:24 1996 Andreas Schwab + + * sysdeps/libm-ieee754/e_acoshl.c: Fix typos. + * sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable. + +Thu Sep 12 19:59:24 1996 Andreas Schwab -1997-03-22 06:28 Ulrich Drepper + * sysdeps/libm-ieee754/e_acoshl.c: Fix typos. + * sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable. + +Thu Sep 12 19:56:07 1996 Andreas Schwab + + * inet/herrno.c (__h_errno_location): Fix return type. + +Thu Sep 19 23:36:19 1996 Thomas Bushnell, n/BSG + + * hurd/hurdinit.c (__libc_argv): Provide common decl. + (_hurd_setproc): Don't declare __libc_argv here. + +Tue Sep 17 10:51:58 1996 Thomas Bushnell, n/BSG + + * malloc/memalign.c (memalign): Only acquire __libc_malloc_lock + for actual modifications to global state. + +Fri Sep 13 01:21:36 1996 Thomas Bushnell, n/BSG + + * sysdeps/mach/Makefile (includes): Add -I$(common-objpfx)mach/. + * sysdeps/mach/hurd/Makefile (includes): Add + -I$(common-objpfx)hurd/. Reported by Marcus Daniels. + + * sysdeps/generic/schedbits.h (struct sched_param): Renamed from + struct sched_params. + * sysdeps/stub/sched_setp.c (__sched_setparam): struct + sched_params -> struct sched_param. + * sysdeps/stub/sched_getp.c (__sched_getparam): Likewise. + * sysdeps/stub/sched_sets.c (__sched_setscheduler): Likewise. - * sysdeps/libm-ieee754/s_nextafter.c: Return y if x == y. - * sysdeps/libm-ieee754/s_nextafterf.c: Likewise. - * sysdeps/libm-ieee754/s_nextafterl.c: Likewise. - * sysdeps/libm-i387/s_nextafterl.c: Likewise. +Thu Sep 12 23:58:25 1996 Thomas Bushnell, n/BSG - * math/libm-test.c (fdim_test, fmin_test, fmax_test, nextafter_test): - New functions. Test these functions. - (main): Call above new functions. + * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): Fix + syntax error. -1997-03-22 04:53 Ulrich Drepper + * stdio-common/Makefile: Put lockfile in routines + unconditionally. + Define _MT_SAFE_IO if using for libio and compiling reentrant + libc. - * Net release 2.0.2. + * stdio-common/vfprintf.c (__flockfile, __funlockfile): Declare + this always, not just if _LIBC_REENTRANT. + (__funlockfile): Don't use weak_extern for this one; + __libc_cleanup_region_end might be defined and the use of + __funlockfile can't be protected the way the use of __flockfile + can be. -1997-03-22 04:37 Ulrich Drepper +Fri Sep 13 04:33:08 1996 Ulrich Drepper - * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Define as alias for - XTABS. - * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise. - * termios/sys/ttydefaults.h: Partly revert patch by Andreas Schwab - of Sun Dec 15 16:33:44 1996. - Proposed by Thomas Bushnell . + * sched.h: New file. Helper to access posix/sched.h. + * posix/sched.h: Change `sched_params' to `sched_param' to follow + POSIX.4. -1997-03-21 13:41 Roland McGrath +Thu Sep 12 20:12:40 1996 Ulrich Drepper - * sysdeps/sparc/dl-machine.h (elf_machine_rel): Rewritten as for i386. - Check here for non-SHN_UNDEF STB_LOCAL symbols don't do any lookup or - consult their values. - (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p, - ELF_MACHINE_RELOC_NOPLT): New macros. + * db/makedb.c (usage): Print bug report address separately to + ease translators task. + * catgets/gencat.c (usage): Likewise. + * locale/locale.c (usage): Likewise. + * locale/localedef.c (usage): Likewise. - * elf/rtld.c (dl_main): Pass ELF_MACHINE_RELOC_NOPLT to - _dl_lookup_symbol in place of DL_LOOKUP_NOPLT. - * sysdeps/i386/dl-machine.h (ELF_MACHINE_RELOC_NOPLT): New macro. +1996-09-12 Paul Eggert - * sysdeps/i386/dl-machine.h (elf_machine_rel): Rewritten to do the - symbol lookup before checking reloc type except for R_386_RELATIVE. - (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p): New macros. + * time/strftime.c (my_localtime_r): Define if ! HAVE_LOCALTIME_R, + and #define localtime_r to it. If _LIBC, use __localtime_r instead. + (my_gmtime_r): Similar, except it's not needed if ! HAVE_TM_GMTOFF. - * elf/dl-reloc.c (RESOLVE): Remove STB_LOCAL check; let it be - per-machine since it supposedly can't happen on i386. +Thu Sep 12 14:03:29 1996 Ulrich Drepper - * elf/dl-lookup.c (do_lookup): Change arg FLAGS to RELOC_TYPE. Use - elf_machine_lookup_{noexec,noplt}_p macros on it. Remove gratuitous - indirection from REF arg; change callers. - (_dl_lookup_symbol, _dl_lookup_versioned_symbol): Change arg name. - (_dl_lookup_symbol_skip, _dl_lookup_versioned_symbol_skip): Remove - FLAGS arg altogether. - * elf/dlsym.c: Remove argument of FLAGS parameter. - * elf/dlvsym.c: Likewise. - * elf/link.h: Update decls. + * crypt/Makefile: Include Makeconfig and add crypt object dir to + rpath-link so that running the check finds the new library. + * crypt/cert.c: provide correct prototypes to prevent warnings. + Reported by Andreas Jaeger. -1997-03-21 20:55 Ulrich Drepper + * sysdeps/mach/hurd/Makefile (rpath-link): Don't use += because + old and new value must be glued using `:'. + Reported by Marcus Daniels. - * Makefile (distribute): Add BUGS. +Thu Sep 12 12:33:52 1996 Thomas Bushnell, n/BSG - * sysdeps/generic/machine-gmon.h: Update copyright. + * sysdeps/mach/hurd/dl-cache.c: Delete second copy of file + accidentally added on. - * sysdeps/i386/Makefile [$(subdir)=gmon] (sysdep_routines): Add - i386-mcount. - * sysdeps/i386/dl-machine.h [PROF] (_dl_runtime_resolve): Don't - use regparam mechanism for call of `fixup' call. - * sysdeps/i386/Dist: New file. - * sysdeps/i386/i386-mcount.S: New file. `mcount' entry point. - * sysdeps/i386/machine-gmon.h: New file. i386 specific version - of gmon definitions. + * sysdeps/stub/intr-msg.h: New file. -1997-03-20 13:39 Andreas Jaeger + * stdio-common/vfprintf.c: Include . + * stdio-common/vfscanf.c: Include . - * stdlib/tst-strtol.c (main): Save the value of errno since printf - may modify it, use the saved errno everywhere. - * stdlib/tst-strtod.c (main): Likewise. + * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): New + macro. + (__libc_cleanup_region_end): New macro. -1997-03-21 05:54 Ulrich Drepper +Thu Sep 12 03:35:27 1996 Ulrich Drepper - * posix/glob.c (glob): Fix completely broken handling of - GLOB_BRACE and partly broken handling of GLOB_TILDE. - Reported by Dennis Henriksen . + * sysdeps/unix/sysv/linux/i386/Dist: Remove init-first.h. + * sysdeps/unix/sysv/linux/m68k/Dist: Likewise. + * sysdeps/unix/sysv/linux/Dist: Add init-first.h. -1997-03-20 20:22 Ulrich Drepper +1996-09-11 Paul Eggert - * sysdeps/unix/sysv/linux/readv.c: Don't emulate readv with small - UIO_FASTIOV value by multiple readv calls since we need atomicity. - * sysdeps/unix/sysv/linux/writev.c: Likewise. - Reported by Matthis Urlichs. + * strftime.c (strftime): + Handle E and O modifiers, required for POSIX.2 and XPG4. + Don't use sprintf to format numbers; this way, we can handle time_t + correctly regardless of whether it's signed. + Don't dump core if format ends in %. + In default %c format, use %e instead of %d, for POSIX.2 compatibility. + For %z: + Use tm_gmtoff if available. + Output nothing if tm_isdst is negative. + Output correct value even if arg is 1969-12-31 23:59:59 UTC. + Don't assume that UTC offset is less than 24 hours; + Posix requires support for 24 hours, and there's no point + limiting it at all. + (HAVE_TM_GMTOFF, TYPE_SIGNED, INT_STRLEN_BOUND): New macros. + (CHAR_BIT): Define if doesn't. + (tm_diff): New function. + (fmt, ): Remove; no longer used. -1997-03-20 04:34 Roland McGrath +Thu Sep 12 02:21:44 1996 Ulrich Drepper - * sysdeps/unix/sysv/linux/i386/sysdep.S (CALL_MCOUNT): Clear this - macro so ENTRY(__syscall_error) doesn't insert a call to _mcount, - which clobbers %eax. + * db/Makefile: Add extra-libs-others variable so that shared + library is built in `others' pass. + * elf/Makefile: Likewise. + * math/Makefile: Likewise. + * resolv/Makefile: Likewise. - * Makeconfig [$(elf)=yes] (+prector, +postctor): New variables for - crtbegin.o/crtend.o, using gcc to find them. - (+link): Use them. + * Makefile (generated): Add version.info.h. -1997-03-20 00:06 Richard Henderson - - * gmon/sys/gmon.h: Revert the bulk of the 960930 changes, as they - affect the alignment, and therefore the end padding of the structs. - Reported by David Mosberger . - * gmon.c: Declare the variables with aligned tags to compensate. - Use __writev instead of write for the I/O. - - * misc/sys/uio.h: Declare __writev and __readv. - * sysdeps/posix/readv.c: Rename and alias readv to __readv. - * sysdeps/posix/writev.c: Likewise for writev. - * sysdeps/stub/readv.c: Likewise. - * sysdeps/stub/writev.c: Likewise. - * sysdeps/unix/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/readv.c: Likewise. - * sysdeps/unix/sysv/linux/writev.c: Likewise. - - * stdlib/testdiv.c: Exit with error status when we have an error. - * sysdeps/alpha/div.S: Initialize `quotient' and `mask'. - * sysdeps/alpha/ldiv.S: Likewise. - - * sysdeps/unix/sysv/linux/alpha/ioperm.c: Include ctype.h for isdigit. - -1997-03-20 14:51 Ulrich Drepper - - * nis/nis_file.c: Unify error handling. - -1997-03-19 18:36 Thorsten Kukuk - - * nis/nis_file.c (writeColdStartFile): Fix typo. - * nis/nis_free.c (nis_free_endpoints): Use unsigned int. - * nis/nis_free.c (nis_free_servers): Likewise. - * nis/rpcsvc/nislib.h: Likewise. - - * sunrpc/rpc/netdb.h: Add setrpcent and endrpcent prototypes. - -1997-03-20 06:07 Ulrich Drepper - - * sysdeps/powerpc/dl-machine.h: Fix typo in last change. - - * sysdeps/unix/sparc/sysdep.h: Update copyright. - -1997-03-19 15:13 Miguel de Icaza - - * stdlib/tst-strtol.c: Save the value of errno, printf may modify - it. - - * sysdeps/sparc/DEFS.h [HAVE_ELF]: Use type @function in the FUNC - macro on ELF systems. - - * sysdeps/sparc/configure.in: Fix. - - * sysdeps/sparc/dl-machine.h: Fix OPCODE_CALL. - - * sysdeps/sparc/setjmp.S: Fix my bugs. - - * sysdeps/unix/sysv/linux/sparc/Dist: Add start.c, fork.S, and pipe.S. - * sysdeps/unix/sysv/linux/sparc/Makefile: Define asm-CPPFLAGS and - as-FLAGS-.so. - * sysdeps/unix/sysv/linux/sparc/syscalls.list: Add fork, pipe, and - syscall. - * sysdeps/unix/sysv/linux/sparc/fork.S: New file. - * sysdeps/unix/sysv/linux/sparc/pipe.S: New file. - * sysdeps/unix/sysv/linux/sparc/socket.S: Fix. - * sysdeps/unix/sysv/linux/sparc/sysdep.h: Fix. - - * elf/dl-lookup.c (do_lookup): Return true if we found a weak - symbol. - (_dl_lookup_symbol): Test against the symbol being global not - against the symbol being not weak (fixes important problem with - the SPARC linker) - - * sysdeps/unix/sysv/linux/sparc/brk.c: Fix. - - * sysdeps/unix/sysv/linux/sparc/start.c: Startup code for - Linux/SPARC (while I get my asmCPPFLAGS-so variable). - -1997-03-20 01:49 Ulrich Drepper - - * Makeconfig: (rpath-link): Add math/ directory. - (math-objdir): New variable. - (link-extra-lib): Define to special version when - $(common-objpfx)!=$(objpfx) to allow libraries outside - $(common-objpfx) be linked to the application. - - * math/Makefile: Add rules to build and run test programs. - * math/libm-test.c (_GNU_SOURCE): Define only if still undefined. - (check_equal): Correct check for error. - (ceil_test): Fix typo. - (log_test): Fix typo. - (floor_test): Fix typo. - (pow_test): Fix typos. - (log10_test): Allow slight incorrectness for `log10(e)'. - (modf_test): New functions to test `modf' et.al. - (hypot_test): Rewrite test completely. - Patch partly by Andreas Jaeger. - * math/test-double.h (__NO_MATH_INLINES): Define only if not - already defined. - * math/test-float.h: Likewise. - * math/test-logdouble.h: Likewise. - - * setjmp/setjmp.h: Change references of ANSI C to ISO C. - * setjmp/tst-setjmp.c: Correct and extend test suite. - * sysdeps/i386/__longjmp.S: Update copyright. - * sysdeps/i386/bsd-_setjmp.S: Correct fatal bug in jump to - `__sigsetjmp' in PIC code. - * sysdeps/i386/bsd-setjmp.S: Likewise. - - * sysdeps/libm-i387/e_pow.S: Correct recognition of mantissa - overflow. - * sysdeps/libm-i387/e_powf.S: Likewise. - * sysdeps/libm-i387/s_expm1.S: Handle x == +-0 as a special - case since expm1(-0) == -0. - * sysdeps/libm-i387/s_expm1f.S: Likewise. - * sysdeps/libm-i387/s_expm1l.S: Likewise. - * sysdeps/libm-ieee754/s_modf.c: Optimize code by avoiding unneeded - access to FP number. - * sysdeps/libm-ieee754/s_modff.c: Likewise. - * sysdeps/libm-ieee754/s_modfl.c: Correct former completely bogus - code. It never worked correctly. - * sysdeps/libm-ieee754/s_tanh.c: Handle x == +-0 as a special - case since tanh(-0) == -0. - * sysdeps/libm-ieee754/s_tanhf.c: Likewise. - * sysdeps/libm-ieee754/s_tanhl.c (__tanhl): Correct handling of -inf. - -1997-03-19 21:13 Ulrich Drepper - - * stdlib/strtod.c (STRTOL): Use wchar_t as type for `decimal' and - `thousands' to support systems with sizeof(wchar_t) != - sizeof(wint_t). Blargh. - - * sysdeps/unix/sysv/linux/socketbits.h: Remove definition of - SOL_IP, SOL_TCP, SOL_UDP, and SOL_IPX as they are defined in - appropriate headers. - - * sysdeps/unix/sysv/linux/writev.c: Don't use MAX_IOVEC. Test for - UIO_FASTIOV and set to 8 if not available. - * sysdeps/unix/sysv/linux/readv.c: Likewise. - Patch by HJ Lu. - - * sysdeps/unix/sysv/linux/xstat.c: Include , not - "kernel_stat.h". - * sysdeps/unix/sysv/linux/lxstat.c: Likewise. - * sysdeps/unix/sysv/linux/fxstat.c: Likewise. - Reported by fabsoft@fabsoft2.zarm.uni-bremen.de. - -1997-03-19 01:40 Ulrich Drepper - - * sysdeps/unix/sysv/sco3.2.4/Dist: New file. - - * sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c. - - * sysdeps/unix/bsd/Dist: Add bsdstat.h, setrgid.c, and setruid.c. - - * sysdeps/unix/sysv/Dist: Add direct.h. - - * sysdeps/unix/sysv/linux/Dist: Add netinet/tcp.h. - - * Make-dist ($(tardir).tar): Prefer writing temporary file to - $TMPDIR is available. The default is /tmp. - - * sysdeps/generic/ip.h: Move to... - * sysdeps/generic/netinet/ip.h: ...here. - - * Makefile (tests): Quote $(CC) argument to isomac program. - Patch by H.J. Lu . - - * sysdeps/i386/setjmp.S (__setjmp): Fix fatal bug where 0 argument - is placed in wrong place on the stack. - Reported by Marc Lehmann . - * sysdeps/tst-setjmp.c: Add new test for above problem. - - * sysdeps/libm-i387/e_pow.S: Compute PIC addres early. - * sysdeps/libm-i387/e_powf.S: Likewise. - * sysdeps/libm-i387/e_powl.S: Likewise. - -1997-03-18 23:18 Ulrich Drepper - - * time/offtime.c (__offtime): Change type of `yg' to long int. - Reported by a sun . - -1997-03-18 23:08 a sun - - * sysdeps/unix/sysv/linux/net/if_ppp.h (PPP_VERSION): Define to - 2.2.0 to prevent version mismatch. - -1997-03-17 19:26 Andreas Jaeger - - * stdio-common/printf_fphex.c (MIN): Only define MIN if not - already defined. - -1997-03-14 23:34 Geoff Keating - - * sysdeps/unix/sysv/linux/powerpc/termbits.h: Leave ioctl numbers - in ioctls.h. - - * elf/rtld.c (_dl_start): Call elf_machine_runtime_setup when the - loader first relocates itself. - * sysdeps/powerpc/elf/start.c (__start1): Fix bug for static objects. - * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Fix bugs in - jump slot relocation. Prefer relative branches (some PowerPC chips - don't predict absolute branches). - (elf_machine_runtime_setup): Simplify and correct expressions. - (RTLD_START): Fix bug changing _dl_starting_up. - * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Added. Deal with - strange Linux/PPC padding of initial stack. - -1997-03-11 04:14 Geoff Keating - - * sysdeps/unix/sysv/linux/powerpc/termbits.h: Increase NCCS to 39, - for future expansion. - * sysdeps/unix/sysv/linux/powerpc/sys/kernel_termios.h: Added. - * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Explain why it - can't have a switch statement. - * sysdeps/powerpc/elf/start.c (__start1): Explain why it can't be - static. - - * sysdeps/powerpc/elf/start.c (_start): Use .previous to avoid - confusing gcc's idea of the current section. - * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE, - RTLD_START): Likewise. - -1997-03-08 09:10 Geoff Keating - - * sysdeps/powerpc/dl-machine.h (elf_machine_rela, - elf_machine_runtime_setup): Flush data & instruction caches when - necessary, for 603/604 support. Add better support for large PLTs. - (elf_machine_rela): Remove relocations that wouldn't work if - anyone ever used them. Use memcpy for copy reloc, it'll be safe. - Never target branch relocations at a PLT entry. - - * sysdeps/powerpc/bsd-setjmp.S: Make jump to PLT entry if we are - generating PIC. - * sysdeps/powerpc/bsd-_setjmp.S: Likewise. - * sysdeps/powerpc/setjmp.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise. - - * sysdeps/powerpc/elf/start.c: Clean up. - - * sysdeps/powerpc/__longjmp.S: Return 'value' as result from - setjmp call. - - * sysdeps/unix/sysv/linux/powerpc/statbuf.h: New file. - -1997-03-09 12:36 H.J. Lu - - * Make-dist (srcs): Add $(test-srcs). - * MakeTAGS (all-sources): Likewise. - * Makerules (depfiles, common-mostlyclean): Likewise. - * Rules (tests): Likewise. - -1997-03-18 05:28 Roland McGrath - - * elf/dl-reloc.c (RESOLVE): Don't try to resolve local symbols. - -1997-03-17 21:39 Philip Blundell - - * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Allow - protocol=NULL to match any protocol rather than returning an - error. - -1997-03-17 19:00 Philip Blundell - - * nss/nss_files/files-service.c (servbyname): Match any protocol - if proto==NULL. - -1997-03-18 05:17 Ulrich Drepper - - * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Don't define O_NORW. - * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise. - Proposed by Thomas Bushnell, n/BSG. - -1997-03-18 07:53 H.J. Lu - - * sysdeps/generic/setenv.c (setenv): Don't copy name when we reuse - the buffer for replacement. - -1997-03-16 19:30 H.J. Lu - - * sysdeps/unix/sysv/linux/syscalls.list: Add sys_fstat, - sys_lstat and sys_stat. - -1997-03-17 12:43 Thorsten Kukuk - - Add NIS+ functions - * shlib-versions: Add libnss_nisplus. - * nis/Makefile: Add NIS+ source files. - * nis/nis_call.c: New file. - * nis/nis_clone.c: New file. - * nis/nis_error.c: New file. - * nis/nis_file.c: New file. - * nis/nis_free.c: New file. - * nis/nis_intern.c: New file. - * nis/nis_intern.h: New file. - * nis/nis_local_names.c: New file. - * nis/nis_names.c: New file. - * nis/nis_print.c: New file. - * nis/nis_server.c: New file. - * nis/nis_subr.c: New file. - * nis/nis_table.c: New file. - * nis/nis_xdr.c: New file. - * nis/nss-nisplus.h: New file. - * nis/nss_nisplus/nisplus-alias.c: New file. - * nis/nss_nisplus/nisplus-ethers.c: New file. - * nis/nss_nisplus/nisplus-grp.c: New file. - * nis/nss_nisplus/nisplus-hosts.c: New file. - * nis/nss_nisplus/nisplus-netgrp.c: New file. - * nis/nss_nisplus/nisplus-network.c: New file. - * nis/nss_nisplus/nisplus-proto.c: New file. - * nis/nss_nisplus/nisplus-publickey.c: New file. - * nis/nss_nisplus/nisplus-pwd.c: New file. - * nis/nss_nisplus/nisplus-rpc.c: New file. - * nis/nss_nisplus/nisplus-service.c: New file. - * nis/nss_nisplus/nisplus-spwd.c: New file. - * nis/rpcsvc/nis.h: New file. - * nis/rpcsvc/nis.x: New file. - * nis/rpcsvc/nis_object.x: New file. - * nis/rpcsvc/nis_tags.h: New file. - * nis/rpcsvc/nislib.h: New file. - -1997-03-17 12:52 Thomas Bushnell, n/BSG - - * mach/devstream.c (output/write_some): Don't try and write more - than IO_INBAND_MAX in a single call to device_write_inband. - -1997-03-17 04:00 Ulrich Drepper - - * sysdeps/libm-ieee754/w_atan2.c: Don't ignore exception if library - type is SVID. - * sysdeps/libm-ieee754/w_atan2f.c: Likewise. - * sysdeps/libm-ieee754/w_atan2l.c: Likewise. - - * sysdeps/unix/sysv/linux/sys/mman.h (msync): Add description for - FLAGS parameter. - -1997-03-16 20:28 Philip Blundell - - * sysdeps/unix/sysv/linux/socketbits.h: Add more SOL_ values. - Change msg_iovlen and msg_controllen (in struct msghdr) to - `size_t' to keep in step with kernel. - -1997-03-16 18:43 Ulrich Drepper - - * manual/filesys.texi: Add documentation for scandir and alphasort. - * manual/examples/dir2.c: New example for scandir. - - * math/math.c (fpclassify): Correct stupid typos. - - * math/libm-test.c: New file. libm test suite by Andreas Jaeger. - * math/test/float.c: New file. Frontend for float tests. - * math/test/double.c: New file. Frontend for double tests. - * math/test/longdouble.c: New file. Frontend for long double tests. - - * posix/Makefile (routines): Add bsd-getpgrp. - * posix/bsd-getpgrp.c: New file. - * posix/unistd.h [__FAVOR_BSD]: Define macro getpgrp which maps - calls to __bsd_getpgrp. - - * sysdeps/generic/getpgrp.c: De-ANSI-declfy. - - * sysdeps/i386/huge_val.h: New file. ix87 specific infinity values. - * sysdeps/m68k/huge_val.h: New file. m68k specific infinity values. - * sysdeps/ieee754/huge_val.h: Remove definition of long double - definition. Make it the same as the double definition. - - * sysdeps/libm-i387/e_acos.S: Fix bug in FPU stack handling. - * sysdeps/libm-i387/e_acosf.S: Likewise. - * sysdeps/libm-i387/e_acosl.S: Likewise. - * sysdeps/libm-i387/e_asin.S: Likewise. - * sysdeps/libm-i387/e_asinf.S: Likewise. - * sysdeps/libm-i387/e_asinl.S: Likewise. - * sysdeps/libm-i387/e_exp.S: Likewise. - * sysdeps/libm-i387/e_expf.S: Likewise. - * sysdeps/libm-i387/e_expl.S: Likewise. - * sysdeps/libm-i387/s_scalbn.S: Likewise. - * sysdeps/libm-i387/s_scalbnf.S: Likewise. - * sysdeps/libm-i387/s_scalbnl.S: Likewise. - - * sysdeps/libm-i387/e_log.S: Optimize branch code. - * sysdeps/libm-i387/e_logf.S: Likewise. - * sysdeps/libm-i387/e_logl.S: Likewise. - * sysdeps/libm-i387/e_log10.S: Likewise. - * sysdeps/libm-i387/e_log10f.S: Likewise. - * sysdeps/libm-i387/e_log10l.S: Likewise. - - * sysdeps/libm-i387/e_pow.S: Major rewrite to handle special cases. - * sysdeps/libm-i387/e_powf.S: Likewise. - * sysdeps/libm-i387/e_powl.S: Likewise. - - * sysdeps/libm-i387/s_expm1.S: Change return value for -inf - argument to -1.0. - * sysdeps/libm-i387/s_expm1f.S: Likewise. - * sysdeps/libm-i387/s_expm1l.S: Likewise. - - * sysdeps/libm-i387/s_isinfl.c: Return -1 for -inf. - - * sysdeps/libm-i387/s_logbl.S: Correct return value. Discard first - stack element after fxtract. - - * sysdeps/libm-ieee754/e_atan2l.c: New file. `long double' - implementation for atan2 function. - - * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in - _SVID_ mode when acos, asin, atan2, log, log10 is called with - argument out of range. - Add new error case for pow(+0,neg). - - * sysdeps/libm-ieee754/s_fpclassifyf.c: Correct recognition of - NaN and +-inf. - * sysdeps/libm-ieee754/s_fpclassifyl.c: Mask out explicit leading - digit in stupid 80 bit formats. - - * sysdeps/libm-ieee754/s_isinf.c: Rewrite to return -1 for -inf. - * sysdeps/libm-ieee754/s_isinff.c: Likewise. - * sysdeps/libm-ieee754/s_isinfl.c: Likewise. - - * sysdeps/libm-ieee754/s_scalbnl.c (huge, tiny): Adapt values for - long double type. - - * sysdeps/libm-ieee754/w_atan2.c: Do not raise exception expect when - in SVID mode. - * sysdeps/libm-ieee754/w_atan2f.c: Likewise. - * sysdeps/libm-ieee754/w_atan2l.c: Likewise. - - * sysdeps/libm-ieee754/w_pow.c: Distinguish error cases for x is +0 - or -0. - * sysdeps/libm-ieee754/w_powf.c: Likewise. - * sysdeps/libm-ieee754/w_powl.c: Likewise. - - * sysdeps/posix/isfdtype.c: Add cast to prevent warning. - - * sysdeps/stub/fcntlbits.h: Update copyright. - * sysdeps/unix/bsd/fcntlbits.h: Likewise. - * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: Likewise. - * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: Likewise. - * sysdeps/unix/bsd/ultrix4/fcntlbits.h: Likewise. - * sysdeps/unix/common/fcntlbits.h: Likewise. - * sysdeps/unix/sysv/fcntlbits.h: Likewise. Define O_FSYNC as alias - of O_SYNC. Add BSD compatibility macros FAPPEND, FFSYNC, FNONBLOCK, - and FNDELAY. - * sysdeps/unix/sysv/irix4/fcntlbits.h: Likewise. - - * sysdeps/unix/readdir_r.c: Don't copy whole `struct dirent' record, - only reclen bytes. - - * sysdeps/unix/sysv/linux/fcntlbits.h [__USE_GNU]: Add O_READ, O_WRITE - and O_NORW. - * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Likewise. - - * sysdeps/unix/sysv/linux/init-first.h: Add copyright. - - * sysdeps/unix/sysv/linux/fxstat.c: New file. Rewrite kernel-level - struct stat to user-level form. - * sysdeps/unix/sysv/linux/lxstat: New file. - * sysdeps/unix/sysv/linux/xstat: New file. - * sysdeps/unix/sysv/linux/kernel_stat.h: Define struct stat used in - kernel. - * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Change definition - to use prescribed types for elements. - (_STAT_VER): Change to value 3. - * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise. - * sysdeps/unix/sysv/linux/Dist: Add kernel_stat.h. - * sysdeps/unix/sysv/linux/alpha/Dist: Likewise. - - * time/Makefile: Correct dependencies for test-tz. - -1997-03-16 14:59 Philip Blundell - - * resolv/netdb.h: Add prototypes for gai_strerror and getnameinfo - (needed for IPv6 basic sockets API). - -1997-03-16 15:02 a sun - - * sysdeps/unix/sysv/linux/net/if_ppp.h: Don't use incompatible - kernel header. - * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise. - -1997-03-14 17:15 Ulrich Drepper - - * db/hash/hash_bigkey.c (__big_delete): Don't call __free_ovflpage - without testing for last_bfp to be NULL. - Reported by fabsoft@fabserver1.zarm.uni-bremen.de. - -1997-03-13 11:42 Jim Meyering - - * time/mktime.c (TIME_T_MIN): Work around a bug in Cray C 5.0.3.0. - -1997-03-14 04:00 Kurt Garloff - - * sysdeps/unix/sysv/linux/fcntlbits.h (O_FSYNC): Make alias for O_SYNC. - (FASYNC): Move to __USE_BSD section. Create new macro O_ASYNC. - -1997-03-14 02:50 Ulrich Drepper - - * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname2_r): New - functions. Compare result for correct address type. - (_nss_nis_gethostbyname_r): Use _nss_nis_gethostbyname2_r. - * nss/nss_files/files-hosts.c: Likewise. - Reported by Mirko Streckenbach . - -1997-02-17 01:40 Zlatko Calusic - - * time/strptime.c (recursive): Return rp to caller. - (strptime_internal): First check for long names, then abbreviated - (month & weekday). - -1997-03-10 19:44 Andreas Schwab - - * Makeconfig: Remove useless definitions of ASFLAGS-%. - * config.make.in (ASFLAGS-.so): Remove. - * configure.in: Don't substitute ASFLAGS_SO. - * sysdeps/sparc/configure.in: Remove file. - * sysdeps/sparc/Makefile (ASFLAGS-.so): Define. - -1997-03-11 17:00 Andreas Schwab - - * time/strptime.c (strptime_internal) [case 'Y']: Always subtract - 1900 from year, regardless of century. - -1997-03-12 05:43 Ulrich Drepper - - * stdlib/strtod.c (_tens_in_limb) [BITS_PER_MP_LIMB > 32]: Make - all numbers unsigned to make buggy gccs happy. - Patch by Bryan W. Headley . - - * sysdeps/unix/sysv/linux/netinet/ip.h: Add backward-compatibility - definitions. Patch by a sun . - Pretty print header. - - * Makerules (build-shlib): Also create symlink if library is versioned. - Based on a patch by H.J. Lu . - Remove special rule to libc.so symlink. - -1997-03-11 20:16 Andreas Jaeger - - * manual/math.texi (Domain and Range Errors): Change descriptions - according to recent changes for ISO C 9X. - -1997-03-11 22:39 Ulrich Drepper - - * sysdeps/libm-ieee754/k_standard.c (__kernel_standard): Correct - return values for acos, asin, and atan2. - Reported by Andreas Jaeger . - -1997-03-10 18:16 Thorsten Kukuk - - * nis/ypclnt.c (__yp_bind): Fix possible buffer overflow. - -1997-03-10 18:06 Bernd Schmidt - - * dirent/alphasort.c (alphasort): Interpret arguments as pointers - to pointers to directory entries so that alphasort really can be - used as argument for scandir. - -1997-03-09 23:33 Andreas Jaeger - - * string/strdup.c: Declare memcpy if !(_LIBC || STDC_HEADERS) - instead of strcpy. - -1997-03-10 03:34 Ulrich Drepper - - * catgets/catgets.c (catopen): Always add NLSPATH to search path for - catalogs, not only if the envvar NLSPATH is not available. - Reported by Andries.Brouwer@cwi.nl. - -1997-03-10 02:46 Ulrich Drepper - - * Makeconfig (localtime-file): Don't define using installation - directory. - (inst_localtime-file): New variable. - * time/Makefile (installed-localtime-file): Use inst_localtime-file. - Reported by Edward Seidl . - -1997-03-10 02:31 H.J. Lu - - * time/Makefile: Add source files to dependencies for test data. - -1997-03-09 22:53 Thorsten Kukuk - - * nis/nss_nis/nis-ethers.c: Don't ignore return value of yp_all. - * nis/nss_nis/nis-proto.c: Likewise. - * nis/nss_nis/nis-rpc.c: Likewise. - * nis/nss_nis/nis-service.c: Likewise. - -1997-03-08 14:37 Miguel de Icaza - - * sysdeps/sparc/dl-machine.h (elf_machine_rela): Upgrade to - versioning; Added missing R_SPARC_WDISP30 handling. - (RTLD_START): Implement it. - - * sysdeps/unix/sysv/linux/sparc/brk.c: Fix. - - * sysdeps/unix/sysv/linux/sparc/start.c: Startup code for - Linux/SPARC. - -1997-03-02 18:06 Miguel de Icaza - - * sysdeps/sparc/dl-machine.h (RTLD_START): Make arg as expected by - the dynamic linker instead of having a new conditional define. - Thanks to Richard Henderson for pointing this out. - * elf/rtld.c: Remove usage of ELF_ADJUST_ARG. - -1997-03-20 20:44 Thomas Bushnell, n/BSG - - * sysdeps/mach/hurd/euidaccess.c: Define as __euidaccess and make - euidaccess weak alias. - -1997-03-07 10:30 Thomas Bushnell, n/BSG - - * stdio-common/printf_fphex.c (MIN): New macro. - - * sysdeps/generic/netinet/in.h: Include . - - * sysdeps/generic/sys/mman.h (msync): Mention third arg. - - * sysdeps/generic/netinet/in.h: Add definitions for IPv6 basic - API. (See change by Philip Blundell on Feb 16, 1997.) - -1997-03-05 10:40 Thomas Bushnell, n/BSG - - * hurd/hurd.h (vpprintf): Include . New declaration. - - * hurd/set-host.c (_hurd_set_host_config): Cast second arg to - __file_name_split. - - * mach/mach_error.c (mach_error_string_int): Give full prototype. - * mach/errstring.c (mach_error_string_int): Likewise. - * mach/error_compat.c (__mach_error_map_compat): Likewise. - * hurd/vpprintf.c (pwrite, vpprintf): Likewise. - * stdio/vasprintf.c (vasprintf): Likewise. - - * mach/mach/mach_traps.h: Include . - - * mach/spin-solid.c: Include . - * mach/spin-solid.c (__spin_lock_solid): Provide arg to - swtch_pri. - - * mach/mach_init.c: Include . - - * mach/mach_error.h (mach_error_string, mach_error, - mach_error_type): Always provide prototypes. - - * mach/mach/error.h (mach_error_fn_t): Comment out declaration; it - appears to be entirely unused dead code. - -1997-03-02 13:38 Miles Bader - - * string/argz.h (__need_error_t): New macro, before including - [!__const] (__const): New macro. - [!__error_t_defined] (error_t): New typedef. - -1997-03-09 06:59 Ulrich Drepper - - * Makeconfig: Add ASFLAGS-% flags for SPARC assembler which need - -fPIC. - * Makerules (compile.S): Use ASFLAGS-%. - (COMPILE.S): Likewise. - * config.make.in (ASFLAGS-.so): Define from ASFLAGS_SO. - * configure.in: Substitute ASFLAGS_SO. - * sysdeps/sparc/configure.in: New file. - - * posix/unistd.h: Add prototype for __euidaccess. - * sysdeps/posix/euidaccess.c: Define as __euidaccess and make - euidaccess weak alias. - * sysdeps/stub/euidaccess.c: Likewise. - * inet/rcmd.c: Use __ protected versions of non-standard functions. - - * locale/setlocale.c (setlocale): Don't set usage_count to - MAX_USAGE_COUNT if it already has this value. - - * locale/programs/localedef.c: Don't use LOCALE_PATH to find - binary locale files. Use LOCALEDIR only. - * locale/programs/locfile.c: When named file not found and not - absolute use path in I18NPATH. - - * stdlib/Makefile (headers): Add inttypes.h. - * sysdeps/wordsize-32/inttypes.h: New file. - * sysdeps/wordsize-64/inttypes.h: New file. - - * sysdeps/generic/socketbits.h: Add PF_FILE as synonym for PF_LOCAL - and AF_FILE as synonym for AF_LOCAL. - * sysdeps/unix/sysv/linux/socketbits.h: Likewise. - - * time/Makefile: Rewrite rules for test to handle parallel builds. - -1997-03-09 05:26 Ulrich Drepper - - * manual/startup.texi (EXIT_FAILURE): Fix typo. Patch by - robbe@orcus.priv.at. - -1997-03-09 05:10 Edward Seidl - - * sysdeps/i386/elf/start.S (nofini): *Really* align stack to - 8-byte boundary. - -1997-03-09 01:48 Ulrich Drepper - - * elf/link.h: Define __need_NULL to get definition. Include - . - Patch by Andreas Jaeger . - -1997-03-08 21:48 Thorsten Kukuk - - Rewrite NIS code to allow empty keys. - * nis/nss_nis/nis-ethers.c: Rewritten. - * nis/nss_nis/nis-proto.c: Rewritten. - * nis/nss_nis/nis-publickey.c: Rewritten. - * nis/nss_nis/nis-rpc.c: Rewritten. - * nis/nss_nis/nis-service.c: Rewritten. - -1997-03-08 16:02 Andreas Jaeger - - * time/scheck.c (scheck): Add extra const to second argument. - - * time/private.h: Correct prototypes to match definition. - -1997-03-08 18:55 Ulrich Drepper - - * sysdeps/alpha/__math.h: Remove cabs inline definition. - Reported by Philip Blundell . - -1997-03-08 05:30 Ulrich Drepper - - * argp/Makefile (routines): Add argp-eexst. - * argp/argp-ba.c (argp_program_bug_address): Make `const'. - * argp/argp-eexst.c: New file. Define exit status variable. - * argp/argp-help.c (__argp_state_help): Use argp_err_exit_status - variable instead of always exiting with value 1. - * argp/argp-pv.c (argp_program_version): Make `const'. - * argp/argp.h: Declare argp_err_exit_status. - Patches by Miles Bader . - - * locale/programs/localedef.c: Use argp_err_exit_status to - terminate with correct value. - - * inet/rcmd.c (iruserok): Use euidaccess instead of half-hearted - switching of UID before opening .rhosts. - - * libio/vsnprintf.c: Change implementation to follow ISO C 9X - proposal. The return value now is always the number of characters - which would be written if enough space is available. - * manual/stdio.texi: Update description for new behaviour. - - * locale/locale.h (__locale_t): Don't use __locale_t for struct - name and pointer to struct since old gccs cannot keep the namespaces - apart. Rename struct to __locale_struct. - * locale/duplocale.h: Likewise. - * locale/newlocale.h: Likewise. - - * math/Makefile (headers): Add complex.h and cmathcalls.h. - (routines): Remove w_cabs. Add conj, cimag, creal, and cabs. - * math/math.h: Undefine __MATHDECL_1, __MATHDECL, and __MATHCALL - after use. - (signgam): Move declaration to here from mathcalls.h. - * math/mathcalls.h (cabs, __cabs_complex, signgam): Remove definition. - Correct comment for fmin and fmax. - Start implementing complex math function from ISO C 9X. - * math/complex.h: New file. - * math/cmathcalls.h: New file. - * math/cabs.c: New file. - * math/cabsf.c: New file. - * math/cabsl.c: New file. - * math/cimag.c: New file. - * math/cimagf.c: New file. - * math/cimagl.c: New file. - * math/conj.c: New file. - * math/conjf.c: New file. - * math/conjl.c: New file. - * math/creal.c: New file. - * math/crealf.c: New file. - * math/creall.c: New file. - * sysdeps/libm-ieee754/w_cabs.c: Removed. - * sysdeps/libm-ieee754/w_cabsf.c: Removed. - * sysdeps/libm-ieee754/w_cabsl.c: Removed. - - * posix/regex.c: Merge with regex sources from Arnold Robbins' - version in GNU awk. - * posix/regex.h: Likewise. - - Add regex test suite by Tom Lord. - * posix/Makefile (distribute): Add TESTS, TESTS2C.sed, and testcases.h. - (tests): Add runtests. - (before-compile): Add testcases.h. - (testcases.h): New rule to generate header with tests. - * posix/TESTS: New file. - * posix/TESTS2C.sed.: New file. - * posix/runtests.c: New file. - * posix/testcases.h: New file. - - * sysdeps/unix/sysv/linux/poll.c: Test whether poll syscall is - available and use fall-back implementation if not. - - * sysdeps/unix/sysv/linux/syscalls.list: Sort entries. - - * time/ialloc.c: Update from tzcode1997c. - * time/private.h: Likewise. - * time/scheck.c: Likewise. + * time/checktab.awk: New file. From ADO 96k. + * time/iso3166.tab: Likewise. * time/tzselect.ksh: Likewise. - * time/zdump.c: Likewise. - * time/zic.c: Likewise. - - * time/tzfile.c: Pretty print. - -1997-03-06 07:37 Geoff Keating - - Port to powerpc-*-linux-gnu. Slightly tested, under MkLinux, - on a 601. - - * sysdeps/powerpc/Implies: Added. - * sysdeps/powerpc/__longjmp.S: Added. - * sysdeps/powerpc/__math.h: Added. - * sysdeps/powerpc/bsd-_setjmp.S: Added. - * sysdeps/powerpc/bsd-setjmp.S: Added. - * sysdeps/powerpc/dl-machine.h: Added. - * sysdeps/powerpc/ffs.c: Added. - * sysdeps/powerpc/fpu_control.h: Added. - * sysdeps/powerpc/jmp_buf.h: Added. - * sysdeps/powerpc/setjmp.S: Added. - * sysdeps/powerpc/strlen.S: Added. - * sysdeps/powerpc/elf/start.c: Added. - * sysdeps/powerpc/fpu_control.h: Added. - * sysdeps/powerpc/jmp_buf.h: Added. - - * sysdeps/unix/sysv/linux/powerpc/Dist: Added. - * sysdeps/unix/sysv/linux/powerpc/_exit.S: Added. - * sysdeps/unix/sysv/linux/powerpc/brk.c: Added. - * sysdeps/unix/sysv/linux/powerpc/clone.S: Added. - * sysdeps/unix/sysv/linux/powerpc/init-first.h: Added. - * sysdeps/unix/sysv/linux/powerpc/ioctl-types.h: Added. - * sysdeps/unix/sysv/linux/powerpc/profil.c: Added. - * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Added. - * sysdeps/unix/sysv/linux/powerpc/socket.S: Added. - * sysdeps/unix/sysv/linux/powerpc/syscall.S: Added. - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Added. - * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Added. - * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Added. - * sysdeps/unix/sysv/linux/powerpc/termbits.h: Added. - -1997-03-05 05:24 Geoff Keating - - * elf/dl-runtime.c (fixup): Add ELF_FIXUP_RETURNS_ADDRESS switch, - because knowing the first instruction of a PowerPC PLT trampoline - is not very helpful. - -1997-03-04 08:04 Geoff Keating - - * elf/dl-load.c (ELF_PREFERRED_ADDRESS, ELF_PREFERRED_ADDRESS_DATA, - ELF_FIXED_ADDRESS): Added. These are for dl-machine.h to indicate - a preference as to where executables should be loaded. - -1997-02-28 08:50 Geoff Keating - - * elf/elf.h: Add in all those PowerPC reloc types. - -1997-02-24 07:12 Geoff Keating - - * stdio-common/vfscanf.c: Use __va_copy if available. - -1997-03-06 13:50 Andreas Schwab - - * malloc/malloc.c (mprotect) [_LIBC]: Define as __mprotect to - clean up namespace. - -1997-03-07 14:27 Ulrich Drepper - - * sysdeps/libm-ieee754/s_fpclassify.c (__fpclassify): Don't use - non-existing GET_WORDS macro, use EXTRACT_WORDS. - Reported by Andreas Schwab . - -1997-03-07 05:27 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/sigaction.c: The user- and - kernel-level sigaction structure is different. handle this - correctly. - Bug report by Andreas Jaeger . - -1997-03-06 05:55 David Engel - - * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Also - recognize cache entries with flag == 3. - -1997-03-06 01:05 Ulrich Drepper - - * sysdeps/generic/netinet/in.h (INADDR_NONE): Cast to unsigned int. - (INADDR_LOOPBACK): Likewise. - * sysdeps/unix/sysv/linux/netinet/in.h: Likewise. - - * manual/socket.texi: Correct types of INADDR_* constants from - unsigned long to unsigned. - -1997-03-05 23:14 Ulrich Drepper - - * time/antarctica: Update from tzdata1997c. - * time/asia: Likewise. * time/zone.tab: Likewise. -1997-03-05 00:43 Andreas Schwab + * stdio-common/vfprintf.c: Correct cleanup registration. We + cannot use a macro - * configure.in (libc_cv_asm_symver_directive, - libc_cv_ld_version_script_option): Remove unknown instruction from - assembler test file. +1996-09-11 Paul Eggert -1997-03-04 19:14 Andreas Schwab + * time/time.h (tm_gmtoff, tm_zone): Prefix with `__' unless + __USE_BSD; this is required for ANSI C compatibility. + * manual/time.texi: Replace GMT by UTC, daylight savings by + daylight saving, timezone by time zone. + Rewrite description of %V to match ISO 8601. + Fix TZ Posix string example for US Eastern time. + Explain tzname[1] when DST isn't used. + Explain tzname when multiple abbreviations used (e.g. EST/EWT/EDT). + Explain that timezone's sign is opposite from tm_gmtoff, and that + timezone lacks DST adjustment whereas tm_gmtoff has it. + Deprecate tzname and timezone. - * sysdeps/m68k/fpu/__math.h: Update feature tests to use - __USE_ISOC9X. - [__USE_ISOC9X]: Define __log2 and __exp2 inlines. - (fabs): Remove defininition, it is a gcc builtin. - (sqrt, __sqrt): Remove definition, they have wrappers in libm. +Tue Sep 10 14:46:16 1996 Andreas Schwab -1997-03-04 10:11 H.J. Lu + Implement Roland McGrath's idea of how to put an .interp into + shared libraries. + * interp.c: New file. + * Makerules (interp-obj): New object, linked into every shared + library. + (common-generated): Add interp.so. + (CFLAGS-interp.c): Pass name of interpreter. - * sunrpc/Makefile ($(objpfx)rpc-proto.c): Create subdir before - generating file. +Tue Sep 10 21:09:35 1996 Andreas Schwab -1997-03-05 03:59 Ulrich Drepper + * db/Makefile: Fix typo. - * inet/rcmd.c (__ivaliduser): Don't use getline, but __getline - instead to avoid namespace problems. - Reported by David Mosberger-Tang . +Tue Sep 10 19:29:53 1996 Andreas Schwab -1997-03-03 19:01 Andreas Schwab + * nss/db-Makefile ($(VAR_DB)/passwd.db): Look for multiple + occurences of the same uid, and only generate a mapping for the + first one. - * login/utmp_file.c: Fix previous change. Make portable by - checking the _HAVE_UT_* feature macros. +Tue Sep 10 03:14:59 1996 Andreas Schwab -1997-03-04 04:31 Ulrich Drepper + * sysdeps/unix/sysv/linux/system.c: New file, to override + sysdeps/unix/system.c. - * Makerules: Add rules to handle versioning. - * config.h.in (DO_VERSIONING): New macro. - * config.make.in (versioning): New variable. - * configure.in: Add checks for .symver directive in gas and - --version-script option to ld. Define DO_VERSIONING and - versioning if appropriate. +Tue Sep 10 15:05:40 1996 Andreas Schwab - * math/Makefile (routines): Add s_signbit, s_fpclassify, s_fmax, - s_fmin, and s_fdim. - * math/math.h: Define ISO C 9X constants, macros and functions. - * math/mathcalls.h: Likewise. - * sysdeps/libm-ieee754/s_fdim.c: New file. - * sysdeps/libm-ieee754/s_fdimf.c: New file. - * sysdeps/libm-ieee754/s_fdiml.c: New file. - * sysdeps/libm-ieee754/s_fmax.c: New file. - * sysdeps/libm-ieee754/s_fmaxf.c: New file. - * sysdeps/libm-ieee754/s_fmaxl.c: New file. - * sysdeps/libm-ieee754/s_fmin.c: New file. - * sysdeps/libm-ieee754/s_fminf.c: New file. - * sysdeps/libm-ieee754/s_fminl.c: New file. - * sysdeps/libm-ieee754/s_fpclassify.c: New file. - * sysdeps/libm-ieee754/s_fpclassifyf.c: New file. - * sysdeps/libm-ieee754/s_fpclassifyl.c: New file. - * sysdeps/libm-ieee754/s_signbit.c: New file. - * sysdeps/libm-ieee754/s_signbitf.c: New file. - * sysdeps/libm-ieee754/s_signbitl.c: New file. + * Makefile (before-compile): Add version-info.h, needed to build + version.d. - * stdio-common/printf_fphex.c: Correct printing of decimal point - character. - Simplify conversion of mantissa to string. - * stdio-common/vfscanf.c: Handle %A format. - Optimize termination of floating-point scanning. - * stdio-common/tstscanf.c (main): Add new test to scanf to test - scanning float values with given width. - * stdlib/strtod.c: Add handling of floating-point numbers in - hexadecimal notation. +Tue Sep 10 14:14:33 1996 Andreas Schwab - * stdlib/stdlib.h: Use __USE_ISOC9X feature macro for new long long - functions. - Pretty print #if directives. - * string/string.h: Pretty print #if directives. + * sysdeps/unix/sysv/linux/m68k/sysdep.S: Remove check for + EWOULDBLOCK, never true on Linux. + (__errno_location): New function. + [_LIBC_REENTRANT]: Set errno using __errno_location function. + * sysdeps/unix/sysv/linux/m68k/sysdep.h [PIC]: Add second + syscall_error handler for reentrant libc. - * sysdeps/ieee754/dbl2mpn.c: Update copyright. - * sysdeps/ieee754/ldbl2mpn.c: Likewise. - * sysdeps/ieee754/mpn2dbl.c: Likewise. - * sysdeps/ieee754/mpn2flt.c: Likewise. - * sysdeps/ieee754/mpn2ldbl.c: Likewise. +Tue Sep 10 13:27:49 1996 Andreas Schwab - * sysdeps/unix/sysv/linux/poll.c: Implement poll function by - falling back to select-based implementation if syscall isn't - available. - * sysdeps/unix/sysv/linux/syscalls.list: Add s_poll. + * elf/Makefile (extra-objs): Add eval.so to get dependencies. - * time/leapseconds: Update from tzdata1997b. - * time/zic.c: Update from tzcode1997b. +Wed Sep 11 04:40:57 1996 Ulrich Drepper -1997-03-01 15:08 Andreas Schwab + * time/tzset.c (__tzname_cur_max): Use type `size_t' to avoid + warning. + * time/tzfile.c (compute_tzname_max): Likewise. - * time/Makefile $(tzfiles:%=$(objpfx)z.%): Remove unneeded - depedencies between installed $(tzlinks) and $(tzbases) files. +Wed Sep 11 02:57:31 1996 Ulrich Drepper -1997-03-01 14:27 Andreas Schwab + * configure.in: Quote $add_ons argument in loop to generated + prefices. - * math/math.h: Make compatible with traditional preprocessor; - requires carefull placement of whitespace in macro arguments. - Use __CONCAT instead of ##. - Declare long double functions only if __STDC__ or __GNUC__. - * math/mathcall.h: Avoid whitespace before argument of macro call - that is used as function name. +Tue Sep 10 20:43:45 1996 Ulrich Drepper - * sysdeps/m68k/fpu/__math.h: Use __CONCAT instead of ##. - (__m81_u, __m81_inline): Depend on __LIBC_M81_MATH_INLINES instead - of __NO_M81_MATH_INLINES. - [!__LIBC_M81_MATH_INLINES]: Don't define internal functions - starting with __ieee754. - [!__NO_MATH_INLINES && __OPTIMIZE__]: Define user visible - functions as inlines. - (__m81_defun): Put __attribute__ between return type and function - name. - * math/math.h: Include <__math.h> also if __LIBC_M81_MATH_INLINES - is defined. - * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_M81_MATH_INLINES - instead of __NO_M81_MATH_INLINES. + * db/makedb.c: Include . Reported by Fila Kolodny. + +Tue Sep 10 14:42:39 1996 Thomas Bushnell, n/BSG + + * elf/dl-cache.c: Rename to ... + * sysdeps/generic/dl-cache.c: ... here. + * sysdeps/mach/hurd/dl-cache.c: New file. + + * mach/Makefile (distribute): Add `errsystems.awk'. + * hurd/Makefile (distribute): Add `Notes' and `intr-msg.h'. + * hurd/hurdintr.awk: Delete file. (Not used in ages.) + * hurd/intr-rpc.awk: Likewise. + * hurd/invoke-trans.c: Likewise. + * sysdeps/mach/hurd/i386/longjmp-ctx.c: Likewise. + * sysdeps/mach/hurd/alpha/longjmp-ctx.c: Likewise. + * sysdeps/mach/hurd/mips/longjmp-ctx.c: Likewise. + * sysdeps/mach/hurd/i386/init-fault.c: Likewise. + * sysdeps/mach/hurd/mips/init-fault.c: Likewise. + * sysdeps/stub/init-fault.c: Likewise. + * sysdeps/stub/longjmp-ctx.c: Likewise. + +Tue Sep 10 13:49:08 1996 Ulrich Drepper + + * inet/herrno.c: Initialize `h_errno' so that we can provide + alias. + + * Makefile (version-info.h): Fix typo in shell script. + + * sysdeps/i386/i586/strlen.S: Optimize startup code a bit. + * sysdeps/i386/i586/strchr.S: Likewise. + +Mon Sep 9 20:31:27 1996 Ulrich Drepper + + * version.c (banner): Report to bug-glibc@prep not @gnu. + Reported by Andreas Jaeger. + + * libio/stdio.h [!__USE_REENTRANT]: Don't define getc as + _IO_getc_unlocked. + [__USE_REENTRANT]: Don't define + +Mon Sep 9 15:59:32 1996 Ulrich Drepper + + * sysdeps/i386/strrchr.c: Fix bug where NUL byte is not recognized + when it is the third byte in the string. Reported by + NIIBE Yutaka. + * string/tester.c: Add tests for above bug to strlen, strchr, and + strrchr tests. + +Fri Sep 6 21:23:33 1996 Andreas Schwab + + * sysdeps/m68k/fpu/e_acos.c: Deansideclized. Include + "math_private.h" to get prototype. * sysdeps/m68k/fpu/e_fmod.c: Likewise. * sysdeps/m68k/fpu/k_cos.c: Likewise. * sysdeps/m68k/fpu/k_sin.c: Likewise. * sysdeps/m68k/fpu/k_tan.c: Likewise. - * sysdeps/m68k/fpu/s_atan.c: Likewise. De-ANSI-declify. + + * sysdeps/m68k/fpu/k_sin.c: Remove uneeded indirection of + __m81_u. + * sysdeps/m68k/fpu/k_tan.c: Likewise. + +Sun Sep 1 18:01:35 1996 Andreas Schwab + + * sysdeps/m68k/fpu/__math.h: Check for __NO_M81_MATH_INLINES + instead of __NO_MATH_INLINES. + (__M81_MATH_INLINES): Renamed from __MATH_INLINES. + * sysdeps/m68k/fpu/e_acos.c: Define __NO_M81_MATH_INLINES. + * sysdeps/m68k/fpu/e_fmod.c: Likewise. + * sysdeps/m68k/fpu/k_cos.c: Likewise. + * sysdeps/m68k/fpu/k_sin.c: Likewise. + * sysdeps/m68k/fpu/k_tan.c: Likewise. + * sysdeps/m68k/fpu/s_atan.c: Likewise. * sysdeps/m68k/fpu/s_frexp.c: Likewise. * sysdeps/m68k/fpu/s_ilogb.c: Likewise. * sysdeps/m68k/fpu/s_isinf.c: Likewise. + * sysdeps/m68k/fpu/s_ldexp.c: Likewise. * sysdeps/m68k/fpu/s_modf.c: Likewise. - * sysdeps/m68k/fpu/s_scalbn.c: Likewise. + * sysdeps/m68k/fpu/k_cos.c: Use inline version of __cos. + * sysdeps/m68k/fpu/k_sin.c: Likewise. + * sysdeps/m68k/fpu/k_tan.c: Likewise. -1997-02-27 21:51 Andreas Schwab +Mon Sep 9 12:55:14 1996 Ulrich Drepper - * Makefile (tests): Cope with $PATH not including the current - directory. + * nss/nss_files/files-parse.c (INT_FIELD_MAYBE_NULL): Check for + available character before converting number and return with + error if none is available. -1997-02-27 18:04 Andreas Schwab +Fri Sep 6 22:09:08 1996 Andreas Schwab - * sysdeps/unix/Makefile ($(common-objpfx)mk-local_lim): Use - $(common-objdir-compile). - ($(common-objpfx)make-ioctls): Likewise. - (mk-local_lim-CFLAGS): Set this instead of local_lim-CFLAGS. - ($(common-objpfx)sys/param.h): Use $(make-target-directory). - ($(addprefix $(common-objpfx),$(sys/param.h-includes))): - Likewise. - ($(common-objpfx)sys/syscall.h): Likewise. - ($(common-objpfx)local_lim.h): Let make deal with command - failure. - ($(common-objpfx)param.h.dep): Use temporary file and update - target atomically. - ($(common-objpfx)errnos): Avoid the Useless Use of cat Award. - (include $(common-objpfx)param.h.dep): Ignore error. + * sysdeps/unix/sysv/linux/init-first.h: New file, generic + implementation for architectures where parameters are passed on + stack. + * sysdeps/unix/sysv/linux/m68k/init-first.h: Removed. + * sysdeps/unix/sysv/linux/i386/init-first.h: Removed. - * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Use - $(common-objdir-compile). - (mk-stdiolim-CFLAGS): Renamed from cded-objdir-includes, use - $(shell pwd) instead of $$cwd. +Fri Sep 6 22:05:32 1996 Andreas Schwab - * sysdeps/generic/Makefile ($(common-objpfx)det_endian): Use - $(common-objdir-compile). - ($(objpfx)make_siglist): Use $(native-compile). - (make_siglist-CFLAGS): New variable. + * configure.in: Remove unneeded sysnames frobbing. - * Makerules (ALL_BUILD_CFLAGS): Renamed from BUILD_CFLAGS, leaving - the old name for the user to pass additional flags to the host - compiler. Fix reference to config header. - (native-compile, common-objdir-compile): Rewritten to make more - generally usable. - * sysdeps/unix/sysv/sysv4/solaris2/Makefile: Set ALL_BUILD_CFLAGS - instead of BUILD_CFLAGS. +Mon Sep 9 05:29:09 1996 Ulrich Drepper - * sysvips/sys/ipc.h: Warn if needed feature select macro are not - defined. + * time/zic.c: Update from ADO 96l. + * time/africa: Update from ADO 96k. + * time/antarctica: Likewise. + * time/asia: Likewise. + * time/australia: Likewise. + * time/europe: Likewise. + * time/northamerica: Likewise. + * time/southamerica: Likewise. -1997-02-27 17:11 Andreas Schwab +Mon Sep 9 05:03:47 1996 NIIBE Yutaka - * sunrpc/Makefile ($(objpfx)rpc-proto.d, $(objpfx)rpc-proto.c): - New rules to generate dependencies for the RPC service objects. + * sysdeps/unix/sysv/linux/i386/init-first.h: Work around buggy + gcc <= 2.7.2.1 which optimizes away address operations on weak + objects. -1997-02-27 16:26 Andreas Schwab + * nss/nss_files/files-parse.c (INT_FIELD_MAYBE_NULL): New macro. + Like INT_FIELD but also accept non-existing field. + * shadow/sgetspent_r.c (LINE_PARSER): Use INT_FIELD_MAYBE_NULL + for last four fields. + * shadow/putspent.c (putspent): Print `:' after numeric value. + +Mon Sep 9 02:42:48 1996 Richard Henderson - * argp/argp-parse.c (parser_finalize): Always set *END_INDEX if - supplied. + * libio/stdio.h (BUFSIZ): Define using _IO_BUFSIZ. -1997-02-28 03:27 Ulrich Drepper +Sun Sep 8 16:43:56 1996 Ulrich Drepper - * stdlib/strtod.c (STRTOF): Make sure return value is large enough - so that clearing second word is necessary. + * Make-dist: Filter out $(add-ons) from $(subdirs). + Don't distribute TAGS files. + ($(tardir).tar): Remove dist.tar when all is done. + * manual/Makefile (distribute): Add libc.info*. + * libio/Makefile (distribute): Add Banner. + * inet/Makefile (headers): Add netinet/tcp.h. - * sysdeps/unix/sysv/linux/netinet/in_systm.h: Don't use kernel - header since it is wrong for 64 bit systems. - Patch by a sun . + * resolv/Makefile (libresolv-routines): Add getnetnamadr. -1997-02-27 10:34 Richard Henderson + * crypt-README: Removed. + * gnu-stabs.h: Removed. - * sysdeps/unix/sysv/linux/alpha/brk.S: Support both the Linux/i386 - and OSF/1 style brk syscalls. We may want to change Linux/Alpha - for the benefit of running foreign binaries. + * sysdeps/alpha/copysign.S: Renamed to... + * sysdeps/alpha/s_copysign.S: ...this. + * sysdeps/alpha/fabs.S: Renamed to... + * sysdeps/alpha/s_fabs.S: ...this. -1997-03-01 20:21 Miles Bader + * sysdeps/m68k/isinfl.c: Renamed to... + * sysdeps/m68k/s_isinfl.c: ...this. + * sysdeps/m68k/isnanl.c: Renamed to... + * sysdeps/m68k/s_isnanl.c: ...this. - * login/utmp_file.c (pututline_file): Correctly decide whether - LAST_ENTRY matches DATA. - Don't depend on ut_id ever being set. - (proc_utmp_eq): New function. - (internal_getut_r): Renamed from internal_getutid_r. - Use proc_utmp_eq. + * sysdeps/sparc/sqrt.c: Renamed to... + * sysdeps/sparc/e_sqrt.c: ...this. Function name now is + __ieee754_sqrt. - * login/logout.c (logout): Change type of entry to be DEAD_PROCESS. + * sysdeps/generic/get_str.c: Removed. -1997-02-25 19:42 Miles Bader + * sysdeps/ieee754/cbrt.c: Removed. + * sysdeps/ieee754/drem.c: Removed. + * sysdeps/ieee754/logb.c: Removed. + * sysdeps/ieee754/sqrt.c: Removed. - * sysdeps/mach/hurd/fcntlbits.h (O_NORW): New macro. + * sysdeps/stub/cbrt.c: Removed. + * sysdeps/stub/cos.c: Removed. + * sysdeps/stub/drem.c: Removed. + * sysdeps/stub/isinf.c: Removed. + * sysdeps/stub/isinfl.c: Removed. + * sysdeps/stub/isnanl.c: Removed. + * sysdeps/stub/logb.c: Removed. + * sysdeps/stub/sin.c: Removed. + * sysdeps/stub/sqrt.c: Removed. -1997-02-27 05:12 Ulrich Drepper + * sysdeps/tahoe/log10.c: Removed. - * manual/Makefile: Add rules to run and distribute xtract-typefun. - * manual/xtract-typefun.awk: New file. Script to extract function, - variable, macro anchor to put into the `dir' file. - * manual/signal.texi: Document difference between SysV and BSD - signal(3) function and add documentation for sysv_signal. + * sysdeps/vax/index.s: Removed. + * sysdeps/vax/rindex.s: Removed. + * sysdeps/vax/bcmp.s: Removed. + * sysdeps/vax/log10.c: Removed. + * sysdeps/vax/infnan.c: Removed. + * sysdeps/vax/Dist: Add fl.h. - * sysdeps/libm-i387/e_acoshl.c: Clear upper half of word containing - exponent before comparing. + * sysdeps/unix/sysv/linux/alpha/Dist: Add llseek.S. -1997-02-27 01:13 Ulrich Drepper + * inet/rcmd.c (rcmd): Make messages more uniform. - * sysdeps/generic/netinet/in.h (htonl, htons, ntohl, ntohs): Change - prototypes to use types with explicit width. `unsigned long' is - different on 64 bit systems. - * sysdeps/unix/sysv/linux/netinet/in.h: Likewise. - * sysdeps/generic/htonl.c: Likewise. - * sysdeps/generic/htons.c: Likewise. - * sysdeps/generic/ntohl.c: Likewise. - * sysdeps/generic/ntohs.c: Likewise. - Suggested by a sun . +Sun Sep 8 14:15:42 1996 Ulrich Drepper -1997-02-26 08:30 Andreas Jaeger + * po/de.po: Update. + * po/es.po: Update. + * po/ko.po: Update. + * po/pl.po: New file. + * po/nl.po: New file. + +Sat Sep 7 18:41:17 1996 Richard Henderson - * math/math.h: Include <__math.h> if __NO_MATH_INLINES is not - defined and we want optimization. + * Makeconfig (+link): Filter out start, pre & postinit from the + generic depenancies as well. + * Rules: Add start, pre & postinit to the dependancies of + $(others) and $(tests). + + * configure.in: elf_dirs missing "sysdeps" component. + +Sun Sep 8 02:36:02 1996 Ulrich Drepper + + * locale/SYS_libc.c (_libc_intl_domainname): Change value to "libc". + This is consistent with all other GNU packages. We shouldn't + take care for a possible clash. Nobody will name the domain + of a package libc if it is not the libc itself. + * MakeTAGS ($P/SYS_libc.pot): Rename to $P/libc.pot. + * po/Makefile (domainname): Change to libc. + (distribute): Now ship libc.pot. + * catgets/gencat.c (usage): Use `PACKAGE' for package name in + version information banner. + Change bug report address to bug-glibc@prep not @gnu. + * db/makedb.c (PACKAGE): New macro. Set to _libc_intl_domain. + (main): Use `PACKAGE' for package name in version information + banner. + Change bug report address to bug-glibc@prep not @gnu. + * locale/programs/locale.c (main): Use `PACKAGE' for package name + in version information banner. + Change bug report address to bug-glibc@prep not @gnu. + * locale/programs/localedef.c (main): Likewise. + + * version.h (VERSION): Bump to 1.94. + + * locale/Makefile (distribute): Add locale.c and localedef.c. + +Sat Sep 7 14:00:33 1996 David Mosberger-Tang + + * catgets/catgets.c (catopen): Allocate sizeof(*result) bytes + instead of sizeof(nl_catd) (which is just a pointer!). + +Sat Sep 7 19:39:19 1996 Ulrich Drepper + + * Makefile ($(objpfx)version-info.h): Generate from Banner files. + * version.c (banner): Add contents of version-info.h to string. + + * Makerules: If $($(subdir)-version) is available name versioned + shared library according to this value instead of glibc's version. + + * libio/Banner: New file. + + * elf/eval.c (funcall): Write error message in case function is + not found. + (eval): Recognize `_' in names. + +Sat Sep 7 05:15:45 1996 Ulrich Drepper + + * libio/iofdopen: Initialize _lock field only if _IO_MTSAFE_IO. + * libio/iofopen: Likewise. + * libio/iofopncook.c: Likewise. + * libio/iopopen.c: Likewise. + * libio/iovsprintf.c: Likewise. + * libio/iovsscanf.c: Likewise. + * libio/memstream.c: Likewise. + * libio/vasprintf.c: Likewise. + * libio/vdprintf.c: Likewise. + * libio/vsnprintf.c: Likewise. + +Sat Sep 7 03:55:47 1996 Ulrich Drepper + + * Makeconfig (soversions.mk): Also use shlib-versions files + in add-on directories. + * config.make.in (config-defines): Remove. Not used anymore. + (defines): New variable. Initiliazed by @DEFINES@. + * configure.in: Add AC_SUBST(DEFINES). + + * libio/Makefile (routines): When compiling reentrant libc add + clearerr_u, feof_u, ferror_u, fputc_u, getc_u, getchar_u, + iofflush_u, putc_u, putchar_u, ioflockfile. + (CPPFLAGS): Add -D_IO_MTSAFE_IO for reentrant libc. + + * sysdeps/stub/libc-lock.h: Add stubs for __libc_cleanup_region_start + and __libc_cleanup_region_end. + + * sysdeps/unix/i386/sysdep.S [_LIBC_REENTRANT]: Set errno + using __errno_location function. + * sysdeps/unix/sysv/linux/i386/sysdep.S [_LIBC_REENTRANT]: Set errno + using __errno_location function. + (__errno_location): New function. + * sysdeps/unix/sysv/linux/i386/sysdep.h [PIC]: Add second + syscall_error handler for reentrant libc. + + * sysdeps/unix/opendir.c: Remove unneeded `;'. + + * libio.h [_IO_MTSAFE_IO]: Include . + [!_IO_MTSAFE_IO]: Define _IO_flockfile and _IO_funlockfile + as empty macros. + * libioP.h: Include . + * libio/stdio.h: Add prototypes for *_locked and *_unlocked + functions. + + * libio/clearerr.c: Use _IO_ protected versions of flockfile + and funlockfile to be namespace clean. + + * libio/genops.c: Use __libc_lock_* macros for handling lock. + + * libio/iofdopen: Add initialization of _lock in _IO_FILE. + * libio/iofopen: Likewise. + * libio/iofopncook.c: Likewise. + * libio/iopopen.c: Likewise. + * libio/iovsprintf.c: Likewise. + * libio/iovsscanf.c: Likewise. + * libio/memstream.c: Likewise. + * libio/vasprintf.c: Likewise. + * libio/vdprintf.c: Likewise. + * libio/vsnprintf.c: Likewise. + + * libio/fgetc.c: Use __libc_cleanup_region_* macros instead + of flockfile etc. + * libio/fputc.c: Likewise. + * libio/freopen.c: Likewise. + * libio/fseek.c: Likewise. + * libio/getc.c: Likewise. + * libio/getchar.c: Likewise. + * libio/iofclose.c: Likewise. + * libio/iofflush.c: Likewise. + * libio/iofgetpos.c: Likewise. + * libio/iofgets.c: Likewise. + * libio/iofputs.c: Likewise. + * libio/iofread.c: Likewise. + * libio/iofsetpos.c: Likewise. + * libio/ioftell.c: Likewise. + * libio/iofwrite.c: Likewise. + * libio/iogetdelim.c: Likewise. + * libio/iogets.c: Likewise. + * libio/ioputs.c: Likewise. + * libio/iosetbuffer.c: Likewise. + * libio/iosetvbuf.c: Likewise. + * libio/ioungetc.c: Likewise. + * libio/putc.c: Likewise. + * libio/putchar.c: Likewise. + * libio/rewind.c: Likewise. + * stdio-common/vfprintf.c: Likewise. + * stdio-common/vfscanf.c: Likewise. + + * libio/clearerr_u.c: Correct alias name. + * libio/ferror_u.c: Likewise. + * libio/fileno.c: Likewise. + * libio/fputc_u.c: Likewise. + * libio/getc.c: Likewise. + * libio/getc_u.c: Likewise. + * libio/getchar.c: Likewise. + * libio/getchar_u.c: Likewise. + * libio/putc.c: Likewise. + * libio/putchar.c: Likewise. + + * libio/feof_u.c: Undefine macro with name of function before + definition of function itself. + + * libio/ioflockfile.c: New file. Implementation of flockfile and + funlockfile. + + * libio/putchar_u.c: Fix typo. Use stdout instead of fp. + + * malloc/malloc.h: Don't include and don't declare + _malloc_loc. + + * malloc/free.c: Include . + * malloc/realloc.c: Likewise. + * malloc/malloc-find.c: Likewise. + * malloc/malloc-size.c: Likewise. + * malloc/malloc-walk.c: Likewise. + * malloc/memalign.c: Likewise. + * malloc/malloc.c: Likewise. + + * sysdeps/i386/dl-machine.h: Correct clearing of _dl_starting_up. + +Fri Sep 6 19:38:49 1996 Ulrich Drepper + + * sysdeps/stub/libc-lock.h: Define __libc_lock_critical_start + and __libc_lock_critical_end as empty macros. + + * malloc/malloc.h: Don't include and don't declare + __libc_malloc_lock. + * malloc/free.c: Include . + * malloc/malloc-find.c: Likewise. + * malloc/malloc-size.c: Likewise. + * malloc/malloc-walk.c: Likewise. + * malloc/malloc.c: Likewise. + * malloc/memalign.c: Likewise. + * malloc/realloc.c: Likewise. + + * Makefile: Undo change from Mon Sep 2 22:15:14 1996. No more + extra_solibs pass. + * Rules: Likewise. + * extra-lib.mk: Likewise. + * manual/Makefile: Likewise. + + * db/Makefile (makedb): Choose dependecies based on build-shared. + Patch by Andres Schwab. + + * sysdeps/posix/sysconf.c: Don't use PTHREAD_DESTRUCTOR_ITERATIONS + but _POSIX_THREAD_DESTRUCTOR_ITERATIONS. + + * sysdeps/unix/sysv/linux/errnos.h: New file. + * sysdeps/unix/sysv/linux/schedbits.h: New file. + * sysdeps/unix/sysv/linux/waitflags.h: New file. + + * sysdeps/unix/sysv/linux/gnu/types.h: Add definition of `key_t'. + +Fri Sep 6 08:26:31 1996 Andreas Schwab + + * rpm/template: Fix typo in %build section. + +Fri Sep 6 03:31:07 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/errnos.h: Don't define errno macro when + building libc without thread support. + * resolv/netdb.h: Likewise for h_errno macro. + +Thu Sep 5 23:01:48 1996 Ulrich Drepper + + * libc-symbols.h: Add new macro weak_const_function. It's like + weak_function, but the function is additionally marked as const. + * features.h: Only include if !__ASSEMBLER__. + +Thu Sep 5 22:55:49 1996 Richard Henderson + + * inet/herrno.c (__h_errno_location): New function. + (h_errno): Make strong_alias __h_errno so that we can access + the variable even if `h_errno' is a macro. + * resolv/netdb.h: Define macro h_errno to access thread specific + version of h_errno variable. Declare alias __h_errno for h_errno. + * resolv/res_query (h_errno): Remove definition. + * sysdeps/unix/sysv/linux/errnos.h [!__ASSEMBLER__ && __USE_REENTRANT]: + Add macro `errno' to get thread specific variable. + * sysdeps/unix/alpha/sysdep.S [_LIBC_REENTRANT]: Set errno using + __errno_location function. + (__errno_location): New function. + +Thu Sep 5 21:08:44 1996 Ulrich Drepper + + * posix/gnu/types.h: Remove definition of key_t. + * sysdeps/generic/gnu/types.h: Move it to here. + * sysdeps/unix/sysv/linux/gnu/types.h: Add Linux specific + definition of key_t. + + * sysdeps/unix/sysv/linux/waitflags.h: New file. Linux specific + definitions. + * sysdeps/unix/sysv/linux/schedbits.h: New file. Include + clone prototypes and associated flags. + +Thu Sep 5 08:58:47 1996 Richard Henderson + + * sysdeps/alpha/elf/start.S: Make _start global again. + +Thu Sep 5 13:18:25 1996 Thomas Bushnell, n/BSG + + * sysdeps/mach/hurd/i386/init-first.c (__libc_argc, __libc_argv): + New variables. + (init1): Initialize them. + * hurd/hurdinit.c (_hurd_setproc): Now that happens to be + available, pass __libc_argv in call to __proc_set_arg_locations. + + * gmon/gmon.c (write_hist): Call __profile_frequency instead of + hertz. + (hertz): Delete function. + * gmon/Makefile (routines): Add `prof-freq'. + * sysdeps/generic/prof-freq.c: New file. + * sysdeps/mach/hurd/prof-freq.c: New (stubby) file. + * sysdeps/mach/hurd/profil.c (profile_tick): New variable. + (update_waiter): Store frequency in profile_tick. + (__profile_frequency): New function. -1997-02-02 19:53 Andreas Schwab + * sysdeps/mach/hurd/sendto.c (sendto): Use prototype definition + syntax. + + * Rules (generated): Restore reference to $(generated). + + * mach/Machrules (mig.uh, mig.__h): Don't include $(user-MIGFLAGS) + here. + + * malloc/free.c (free): __lib_malloc_lock -> __libc_malloc_lock. + + * malloc/free.c: Provide extern decl of __libc_malloc_lock. + * malloc/realloc.c: Likewise. + * malloc/malloc-find.c: Likewise. + * malloc/malloc-size.c: Likewise. + * malloc/malloc-walk.c: Likewise. + * malloc/memalign.c: Likewise. - * misc/getpass.c: Don't disable canonical input. - Reverted patch of Mon Jan 6 01:35:29 1997. +Thu Sep 5 03:20:42 1996 Ulrich Drepper -1996-12-14 22:07 Andreas Schwab + Change configuration and Makefiles to allow add-ons to have a + sysdeps/ directory hierachy. + * configure.in: Test for sysdeps/ directory in add-ons. Before + all test and searches in these hierachies, too. + * Makeconfig (full-config-subdirs): Define based on $(config-sysdirs). + Extend with $(..) if not absolute path. + Use $(full-config-subdirs) where $(config-sysdirs) was used. + * Makefile ($(objpfx)sysd-dirs): Use config-sysdirs. + * MakeTAGS: Use $(full-config-subdirs). + * Makerules: Change comment to libc.so link script. + (sysdirs): Define based on $(full-config-subdirs). + (sysd-Makefile): Define using config-sysdirs. + (sysd-rules): Likewise. + * sysdeps/unix/Makefile (sysd-syscalls): Define based on +sysdep-dirs. + * sysdeps/unix/make-syscalls.sh: Remove basedir argument. - * libio/libioP.h (_IO_finish_t): Take additional parameter, to - match the hidden __in_chrg parameter of the destructor. - (_IO_FINISH): Pass zero for it. - * libio/genops.c (_IO_default_finish): Add second parameter, which - is ignored. - * libio/memstream.c (_IO_mem_finish): Likewise. - * libio/fileops.c (_IO_file_finish): Likewise. - * libio/strops.c (_IO_str_finish): Likewise. All callers changed. +Wed Sep 4 01:32:21 1996 Andreas Schwab -1997-02-27 00:23 H.J. Lu + * sysdeps/m68k/fpu/k_cos.c: Rewritten for better accuracy. + * sysdeps/m68k/fpu/k_sin.c: Likewise. + * sysdeps/m68k/fpu/k_tan.c: Likewise. - * time/Makefile: Avoid using patterns in dependencies. +Thu Sep 5 01:06:09 1996 Richard Henderson -1997-02-26 00:56 Miguel de Icaza + * malloc/free.c (free): Protect by using __libc_malloc_lock. + * malloc/malloc-find.c (malloc_find_object_address): Likewise. + * malloc/malloc-size.c (malloc_usable_size): Likewise. + * malloc/malloc-walk.c (malloc_walk): Likewise. + * malloc/memalign.c (memalign): Likewise. + * malloc/realloc.c (realloc): Likewise. + * malloc/malloc.c: Define __libc_malloc_lock. + (_malloc_internal): Don't use `malloc'. Instead look for + `__malloc_hook' or call `_malloc_internal'. + (malloc): Protect by using `__libc_malloc_lock'. + * malloc/malloc.h: Declare `__libc_malloc_lock'. - * elf/rtld.c: Make _dl_start static. Otherwise the linker on the - SPARC will convert the call _dl_start into a call into the PLT. +Mon Sep 2 22:42:59 1996 Richard Henderson - * elf/rtld.c (_dl_start): On the SPARC we need to adjust the value - of arg to make it point to the actual values. + * sysdeps/alpha/elf/start.S: Use weak_alias for __start + instead of the hard definition. - * sysdeps/sparc/elf/DEFS.h: New ELF specific version. - * sysdeps/sparc/Dist: Mention sysdeps/sparc/elf/DEFS.h. + * sysdeps/alpha/dl-machine.h (RTLD_START): Add type info for + _start and _dl_start_user. - * sysdeps/sparc/bsd-_setjmp.S, sysdeps/sparc/bsd-setjmp.S: Make - them PIC aware. + * sysdeps/unix/sysv/linux/alpha/init-first.h (SYSDEP_CALL_INIT): + Make _dl_starting_up weak. Add type info for NAME. - * sysdeps/sparc/dl-machine.h (elf_machine_load_address): - Implemented. - (elf_machine_rela): Make it compile; fix existing relocation - types; add unhandled relocation types. - (ELF_ADJUST_ARG): Get pointer to arguments at program startup. - (RTLD_START): Initial implementation, not yet finished. +Mon Sep 2 22:15:14 1996 Richard Henderson - * sysdeps/sparc/elf/start.S: Fix. + * Makefile (all): Add extra_solibs pass. + (+subdir_targets): Same. + * Rules (extra_solibs): New phony empty target for subdirs without + extra libs. + * extra-lib.mk: Build lib*.so* in extra_solibs not lib-noranlib. + * manual/Makefile: Add dummy extra_solibs target. - * sysdeps/sparc/fpu_control.h: Remove duplicate declaration of - __setfpucw. +Sun Sep 1 15:41:22 1996 Richard Henderson - * sysdeps/sparc/divrem.m4: Make compilable under Linux. - * sysdeps/sparc/rem.S, sysdeps/sparc/sdiv.S, sysdeps/sparc/udiv.S, - sysdeps/sparc/urem.S : Regenerated. + * Makeconfig (+link): Add $(link-extra-libs). + (link-extra-libs): New variable which expands to the full paths of + the other libraries needed by a program, as controled by LDLIBS-$(@F). + * db/Makefile: Use LDLIBS-makedb to link libdb not a dependency, as + the later attempts to install the library before linking it. - * sysdeps/sparc/setjmp.S: Make it PIC aware. + * sysdeps/unix/alpha/sysdep.S: Align errno. - * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Define - __ASSEMBLY__ before using kernel header. + * sysdeps/unix/sysv/linux/alpha/ioperm.c (struct platform): Add + hae_shift entry. + (io): Move bus_memory_base and sparse_bus_memory_base into struct. + (_hae_shift): New function. + * sysdeps/unix/sysv/linux/alpha/sys/io.h: New file. Prototypes + for the bus query functions. - * sysdeps/unix/sysv/linux/sparc/Makefile: Use -mv8 flag to compile - rtld.c. +Sat Aug 31 18:14:54 1996 Richard Henderson - * sysdeps/unix/sysv/linux/sparc/brk.c: Implement. - * sysdeps/unix/sysv/linux/sparc/profil-counter.h: Remove code - to handle old signals. - * sysdeps/unix/sysv/linux/sparc/sigaction.c: Implements sigaction - for all Linux/SPARC kernels. - * sysdeps/unix/sysv/linux/sparc/syscall.S: Add code to store - errno using __errno_location. - * sysdeps/unix/sysv/linux/sparc/sysdep.h: Add various handler - macros for assembler sources. - * sysdeps/unix/sysv/linux/sparc/errno.c: Define errno. + * elf/dl-close.c (_dl_close): In static executables, map->l_prev + can be NULL when unloading a library. -1997-02-25 16:02 Andreas Schwab + * elf/dl-open.c (_dl_open): Pass __environ instead of __libc_envp + to the library .init function. - * elf/rtld.c (dl_main): Remove dead code that is never executed. - Rename local variable l to main_map where it is used to point to - the load_map for the executable. + * sysdeps/alpha/dl-machine.h (elf_machine_rela): Since we omitted + part of the COPY reloc processing earlier, omit the rest now -- + we'll get into less trouble later when some fool does use a COPY. -1997-02-25 15:03 Andreas Schwab + * sysdeps/unix/sysv/linux/init-first.c (init): Accept argc et al as + parameters. Move all argc and __libc_multiple_libcs calculation out + to init-first.h. Use __environ not __libc_envp. + * sysdeps/unix/sysv/linux/alpha/init-first.h: Rewrite. + * sysdeps/unix/sysv/linux/i386/init-first.h: Rewrite. - * elf/dl-version.c (_dl_check_all_versions): Ignore libraries that - could not be found. +Thu Aug 29 20:26:40 1996 Andreas Schwab -1997-02-24 23:18 Andreas Schwab + * sysdeps/posix/profil.c (profil): Don't clobber saved timer and + signal settings when profiling was already turned on. - * Makerules: Generate implicit object suffix rules automagically. - (o-iterator): Move before first use. + * csu/gmon-start.c (__gmon_start__) [HAVE_INITFINI]: Protect from + being called twice. - * Makeconfig (all-object-suffixes): Add .bo suffix. +Wed Sep 4 01:31:50 1996 Ulrich Drepper -1997-02-25 15:11 Ulrich Drepper + * sysdeps/unix/sysv/linux/i386/mmap.S: Test for + 0 < return value < -4096 and not < 0 to decide about failure. + Reported by Andreas Jaeger. - * sysdeps/libm-i387/e_acoshf.S (__ieee754_acoshf): Test correct - word on stack for overflow. +Tue Sep 3 19:04:05 1996 Ulrich Drepper -1997-02-24 23:05 Wolfram Gloger + * stdio-common/vfscanf.c (__vfscanf): Don't count EOF char + in %c format. - * malloc/malloc.c (malloc_get_state): New function. - Saves global malloc state to an opaque data structure which - is dynamically allocated in the heap. - * malloc/malloc.c (malloc_set_state): New function. - Restore previously obtained state. - * malloc/malloc.h: Add declaration of malloc_get_state() - and malloc_set_state(). +Sat Aug 31 18:10:51 1996 Ulrich Drepper -1997-02-24 23:27 Ulrich Drepper + * wcsmbs/wchar.h: Define prototypes for wcstoq and wcstouq only + #ifdef __USE_GNU. - * sysdeps/libm-ieee754/s_cbrtl.c: Shift B1_EXP value to right - position. +Sat Aug 31 12:34:29 1996 Ulrich Drepper -1997-02-24 17:38 Ulrich Drepper + * version.c: Add missing newline character in banner. - * misc/error.c: Make error and error_at_line weak aliases of - __error and __error_at_line respectively. - Suggested by David Mosberger-Tang . + * sysdeps/unix/sysv/linux/alpha/Dist: Correct typo. + * sysdeps/unix/sysv/linux/i386/Dist: Likewise. - * sysdeps/unix/sysv/linux/i386/socket.S: Update copyright. +Sat Aug 31 03:07:39 1996 Ulrich Drepper -1997-02-22 11:30 Andreas Schwab + * intl/l10nflist.c (_nl_normalize_codeset): We convert to lower + case, so don't prepend uppercase `ISO' for only numeric arg. - * elf/ldd.bash.in: Run the program directly, not as argument - to the dynamic linker, if it contains an interpreter segment. - * elf/ldd.sh.in: Likewise. +Wed Sep 4 16:16:13 1996 Ulrich Drepper - * elf/rtld.c (dl_main): In verify mode check whether the dynamic - object contains an interpreter segment and exit with 2 if not. + * sysdeps/mach/hurd/send.c (__send): De-ANSI-fy. + * sysdeps/mach/hurd/sendto.c (sendto): Likewise. -1997-02-23 01:23 Andreas Schwab +Tue Sep 3 11:16:07 1996 Thomas Bushnell/ n/BSG - * Makefile (distribute): Remove nsswitch.h, netgroup.h, mcheck.h - and xlocale.h. Make-dist adds them automagically. + * shadow/lckpwdf.c (__ulckpwdf): Don't take address of LOCK in + call to __libc_lock_lock. -1997-02-22 12:25 Andreas Schwab + * sysdeps/mach/hurd/send.c (__send): Declare BUF const. + * sysdeps/mach/hurd/sendto.c (sendto): Likewise. - * locale/C-time.c (_nl_C_LC_TIME): Add missing entry for - time-era-num-entries. + * sysdeps/stub/ustat.c: Include . -1997-02-06 13:49 Andreas Schwab + * misc/syslog.c (vsyslog): Fix typo (`mow_tm' -> `now_tm'). - * rellns-sh: No need to check for existance of first parameter. +Fri Aug 30 19:55:27 1996 Ulrich Drepper -1997-02-24 15:20 Jonathan T. Agnew + * libio/genops.c: Make _cleanup an alias of _IO_cleanup. + Reported by Erik Troan. - * glibcbug.in: Don't mention destination on MAIL_AGENT command line - to avoid duplicate mail. +Fri Aug 30 15:40:04 1996 Ulrich Drepper -1997-02-24 03:51 Ulrich Drepper + * sysdeps/unix/sysv/linux/Dist: Add sys/procfs.h and + sys/sysmacros.h. Reported by Curtiss <1CMC3466@IBM.MTSAC.EDU>. - * Makefile (distribute): Add isomac.c. - (tests): Run isomac test. +Fri Aug 30 13:53:32 1996 Andreas Jaeger - * features.h (__USE_ISOC9X): New macro. + * sysdeps/unix/mman/syscalls.list: `mmap' has 6 arguments, not 5. - * catgets/catgets.c: Don't use global variable `optind'. Instead - use result computed by argp_parse. - * db/makedb: Likewise. - * locale/programs/locale.c: Likewise. - * locale/programs/localedef.c: Likewise. +Fri Aug 30 13:01:10 1996 NIIBE Yutaka - * libio/stdio.h: Rewrite. Make it more readable and add comments. + * sysdeps/i386/fpu/__math.h (tan): Pop 1.0 in ST to get + real result. - * libio/clearerr.c: Remove clearerr_locked alias. - * libio/feof.c: Remove feof_locked alias. - * libio/ferror.c: Remove feof_locked alias. - * libio/fileno.c: Remove fileno_locked alias. - * libio/fputc.c: Remove fputc_locked alias. - * libio/getc.c: Remove getc_locked alias. - * libio/getchar.c: Remove getchar_locked alias. - * libio/iofflush.c: Remove fflush_locked alias. - * libio/putc.c: Remove putc_locked alias. - * libio/putc.c: Remove putchar_locked alias. +Fri Aug 30 03:33:33 1996 Ulrich Drepper - * stdio-common/printf_fp.c: When number is inifinity print INF - or inf depending on case of specifier. Same for NaN where NAN - or nan is printed. Specified in ISO C 9X. + * sysdeps/libm-ieee754/s_cbrtl.c: New file. `long double' + implementation. - * misc/sys/cdefs.h (__restrict): Define to empty string for now. - * stdio/stdio.h: Add __restrict to prototypes where necessary. - * libio/stdio.h: Likewise. - * stdlib/stdlib.h: Likewise. - * string/string.h: Likewise. - * time/time.h: Likewise. - * wcsmbs/wchar.h: Likewise. +Fri Aug 30 13:39:21 1996 Thomas Bushnell, n/BSG - * stdlib/strtod.c: Change to recognize INF, INFINITY, NAN, and - NAN(...). + * Makerules (BUILD_CFLAGS): Use @(common-objpfx) for config.h, not + $(..). Some rules (like sysdeps/posix/Makefile for mk-stdiolim) + do `cd' commands. + (sed-remove-objpfx): Don't substitute for $(objpfx) anymore; + $(common-objpfx) is good enough. + * Rules (common-generated): Provide default (empty) value. + (dummy.o, dummy.c, empty.o, empty.c): Put these in + $(common-generated), not $(generated), and without $(..). + (subdir_echo-distinfo): Treat $(common-generated) just like + $(generated). + (generated): Depend on the (suitably mutated) $(common-generated) + files too. + * Makerules (common-clean): Remove common-generated files too. + * sysdeps/mach/hurd/Makefile (generated): Don't put errnos.d and + stamp-errnos here. + (common-generated): Do put errnos.d and stamp-errnos here. + (rpath-link): Don't use +=; $(rpath-link) is a colon separated list. - * sysdeps/ieee754/huge_val.h: Define HUGE_VALF and HUGE_VALL instead - of HUGE_VALf and HUGE_VALL. - * stdlib/strtof.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALF - instead of HUGE_VALf. - * wcsmbs/wcstof.c: Likewise. - * stdlib/strtold.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALL - instead of HUGE_VALl. - * wcsmbs/wcstold.c: Likewise. + * sysdeps/mach/hurd/Makefile (before-compile): Add auth; also add + auth to following rule to get it built. - * sysdeps/posix/gai_strerror.c: Use size_t for counter variable to - avoid warning. +Fri Aug 30 01:26:44 1996 Ulrich Drepper - * wcsmbs/Makefile (routines): Add wcscasecmp and wcsncase. - * wcsmbs/wchar.h: Add prototypes for wcscasecmp and wcsncase. - * wcsmbs/wcscasecmp.c: New file. - * wcsmbs/wcsncase.c: New file. + * sysdeps/unix/sysv/linux/i386/Dist: Add clone.S. + * sysdeps/unix/sysv/linux/m68k/Dist: Likewise. + * sysdeps/unix/sysv/linux/alpha/Dist: Likewise. - * stdlib/strtol.c: Define wide character quad word functions as - wcstoll and wcstoull and normal versions as strtoll and strtoull. - * wcsmbs/wchar.h: Add prototypes for wcstoll and wcstoull. - * wcsmbs/wcstoq: Renamed to wcstoll.c. - * wcsmbs/wcstouq: Renamed to wcstoull.c. - * wcsmbs/wcstoll.c: Renamed from wcstoq.c. Make wcstoq a weak - alias of wcstoll. - * wcsmbs/wcstoull.c: Renamed from wcstouq.c. Make wcstouq a weak - alias of wcstoull. - * wcsmbs/Makefile (routines): Replace wcstoq and wcstouq by - wcstoll and wcstoull respectively. - * stdlib/strtoq.c: Rename to strtoll.c. - * stdlib/strtouq.c: Rename to strtoull.c. - * stdlib/strtoll.c: Renamed from strtoq.c. Make strtoq a weak - alias of strtoll. - * stdlib/strtoll.c: Renamed from strtouq.c. Make strtouq a weak - alias of strtoull. - * stdlib/Makefile (routines): Replace strtoq and strtouq by - strtoll and strtoull respectively. - * stdio-common/vfscanf.c: Don't use __strtoq_internal and - __strtouq_internal but instead __strtoll_internal and - __strtoull_internal respectively. - * stdlib/stdlib.h (strtoq): Use __internal_strtoll in inline version. - (strtouq): Similar with __internal_strtoull. - * wcsmbs/wchar.h (wcstoq): Use __internal_wcstoll in inline version. - (wcstouq): Similar with __internal_wcstoull. - -1997-02-23 04:38 Ulrich Drepper - - * stdlib/strtol.c (STRTOL): It is not illegal to parse a minus - sign in the strtouXX functions. The results gets simply negated. - * stdio-common/tstscanf.c: Add testcase for above case. - * stdlib/tst-strtol.c: Correct tests. - - * manual/stdio-fp.c: New file. Generate output for example program - in stdio.texi. - - * stdio-common/Makefile (routines): Add printf_fphex. - * stdio-common/vfprintf.c: Add handling of %a and %A specifier. - * stdio-common/printf_fphex.c: New file. Implement %a and %A - specifier. - -1997-02-22 03:01 Ulrich Drepper - - * sysdeps/unix/sysv/linux/timebits.h (CLK_TCK): Don't defined if - __STRICT_ANSI__. - - * math/math.h: Prevent definition of struct exception when using - C++. Use __exception instead. - -1997-02-22 01:45 Ulrich Drepper - - * sysdeps/unix/syscalls.list: Dup takes only one argument. - Reported by Greg McGary. - -1997-02-21 00:22 Miles Bader - - * sysdeps/mach/hurd/readlink.c (__readlink): Use io_read rather - than file_get_translator. - - * sysdeps/mach/hurd/defs.c, sysdeps/stub/defs.c, sysdeps/posix/defs.c - (_cleanup): Use __fcloseall instead of fclose with a NULL stream. - -1997-02-20 01:28 Miles Bader - - * hurd/fchroot.c (fchroot): Reparent DIR to make it a real root. - * sysdeps/mach/hurd/chroot.c (chroot): Likewise. - -1997-02-19 13:56 Miles Bader - - * sysdeps/mach/hurd/accept.c (accept): Don't segv if ADDR_LEN == 0 - but ADDR also == 0. - - * hurd/report-wait.c (_hurd_itimer_thread): Make a weak alias for - now instead of a weak extern, as some old programs expect it to be - defined by ld.so. - -1997-02-18 15:39 Miles Bader - - * hurd/hurdfault.c (_hurdsig_fault_preempter): New weak alias. - - * sysdeps/mach/hurd/dl-sysdep.c (__hurd_threadvar_max, - __hurd_threadvar_stack_offset): Restore initialized versions, so - startup works correctly. - - * malloc/thread-m.h (mutex_trylock): Invert sense of return value. - -1997-02-17 10:58 Miles Bader - - * malloc/thread-m.h (mutex_trylock): Define to be __mutex_trylock, - not __mutex_try_lock. - (tsd_setspecific): Cast DATA to (unsigned long) before storing. - (tsd_getspecific): Case variable to (void *) before returning. - - * hurd/hurdinit.c (__libc_argv): Remove extern. - (__libc_argc): New variable. - -1997-02-15 10:23 Miles Bader - - * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add - _HURD_THREADVAR_MALLOC. - * malloc/thread-m.h - [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER] - (mutex_lock, mutex_unlock, mutex_trylock): Defined in terms of - __mutex_*. - (mutex_t): Type removed & replaced by new macro. - (tsd_key_t): Typedef to int instead of pthread_key_t. - (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros. - (__pthread_initialize): New macro, work around assumption of pthreads. - (tsd_keys_alloced): New static variable. - : New include. - - * hurd/report-wait.c (_hurd_itimer_thread): Make a weak extern. - (_S_msg_report_wait): Check to see if _hurd_itimer_thread is - defined before using it. - - * sysdeps/mach/hurd/i386/init-first.c (__libc_argv, __libc_argc): - Make extern. - * hurd/hurdinit.c (__libc_argv): Make extern. - - * hurd/getdport.c (_default_hurd_getdport_fn): New variable. - (_hurd_getdport_fn): Now a weak alias to _default_hurd_getdport_fn. - - * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max, - __hurd_threadvar_stack_offset, - __hurd_threadvar_stack_mask): New variables. - * hurd/hurdsig.c (__hurd_sigthread_stack_base, - __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables): - New variables (moved here from hurdstartup.c). - * hurd/hurdstartup.c (__hurd_sigthread_stack_base, - __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables): - Variables removed (moved to hurdsig.c). - (__hurd_threadvar_max, __hurd_threadvar_stack_offset, - __hurd_threadvar_stack_mask): Variables removed. - * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base, - __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables, - __hurd_threadvar_max, __hurd_threadvar_stack_offset, - __hurd_threadvar_stack_mask): Variables removed. - -1997-02-14 14:07 Miles Bader - - * hurd/hurd.h (_hurd_pids_changed_stamp, _hurd_pids_changed_sync): - Declare extern. - - * malloc/thread-m.h - [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER] - (mutex_t): Type removed. - (mutex_t): New macro. - (mutex_trylock): New macro. - (__x_mutex_lock, __x_mutex_unlock): New functions. - (mutex_lock, mutex_unlock): New macros, redefining the behavior of - the cthread definitions. - (tsd_key_t): Typedef to cthread_key_t instead of pthread_key_t. - (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros. - (mutex_lock, mutex_unlock, mutex_trylock, mutex_init): Macros removed. - (__pthread_initialize): New macro, work around assumption of pthreads. - -1997-02-11 05:27 Ulrich Drepper - - * locale/weight.h (collate_rules): It's an u_int32_t array. - (get_weight): Compute initial SLOT value correctly. - -1997-02-24 17:06 Geoffrey Keating - - * sysdeps/unix/sysv/linux/accept.S (NARGS): Describe number of - arguments taken, for sysdeps/unix/sysv/linux/powerpc/socket.S. - * sysdeps/unix/sysv/linux/bind.S: Likewise. - * sysdeps/unix/sysv/linux/connect.S: Likewise. - * sysdeps/unix/sysv/linux/getpeername.S: Likewise. - * sysdeps/unix/sysv/linux/getsockname.S: Likewise. - * sysdeps/unix/sysv/linux/getsockopt.S: Likewise. - * sysdeps/unix/sysv/linux/listen.S: Likewise. - * sysdeps/unix/sysv/linux/recv.S: Likewise. - * sysdeps/unix/sysv/linux/recvfrom.S: Likewise. - * sysdeps/unix/sysv/linux/recvmsg.S: Likewise. - * sysdeps/unix/sysv/linux/send.S: Likewise. - * sysdeps/unix/sysv/linux/sendmsg.S: Likewise. - * sysdeps/unix/sysv/linux/sendto.S: Likewise. - * sysdeps/unix/sysv/linux/setsockopt.S: Likewise. - * sysdeps/unix/sysv/linux/shutdown.S: Likewise. - * sysdeps/unix/sysv/linux/socketpair.S: Likewise. - -1997-02-22 00:17 Ulrich Drepper - - * catgets/gencat.c: Change to use argp. - * db/makedb: Likewise. - * locale/programs/localedef.c: Likewise. - - * locale/programs/locale.c: Little adjustment for better usage of - argp. - -1997-02-20 20:07 Greg McGary - - * Makeconfig: Add rules for libc with bounded pointers. - * Makerules: Likewise. - * config.make.in: Likewise. - * configure.in: Likewise. - -1997-02-21 10:41 Miles Bader - - * argp/argp.h (OPTION_NO_USAGE): New macro. - * argp/argp-help.c (usage_long_opt, usage_argful_short_opt, - add_argless_short_opt): Implement OPTION_NO_USAGE. - -1997-02-20 16:41 Andreas Schwab - - * malloc/obstack.h: Fix typo. - -1997-02-20 15:56 Miles Bader + * version.c: Add comment about where to report bugs to. + * catgets/gencat.c (usage): Likewise. + * db/makedb.c (usage): Likewise. + * locale/programs/locale.c (usage): Likewise. + * locale/programs/localedef.c (usage): Likewise. - * argp/argp-fmtstream.c (__argp_fmtstream_update): Account for case - where NEXTLINE points one past the end of the active buffer. + * manual/socket.texi: A little bit better wording. - * argp/argp-help.c : New include. - (__argp_failure): Only exit if STATE says it's ok. - (print_header, hol_entry_help): Use UPARAMS fields rather than - constants. - (_help): Call fill_in_uparams if necessary. - (struct hol_help_state): New type. - (struct pentry_state): Add hhstate field. Remove prev_entry & - sep_groups fields. - (hol_entry_help): Add HHSTATE parameter. Remove prev_entry & - sep_groups parameters. - Suppress duplicate arguments if requested, and note the fact. - (print_header, comma): Use PEST->hhstate fields. - (hol_help): Add HHSTATE variable & pass to hol_entry_help. - Remove LAST_ENTRY & SEP_GROUPS variables. - If any suplicate arguments were suppressed, print explanatory note. - (filter_doc): Replace PEST parameter with STATE. - (struct uparams): New type. - (uparams): New variable. - (struct uparam_name): New type. - (uparam_names): New variable. - (fill_in_uparams): New function. - (__argp_failure, __argp_error, __argp_state_help): Make STATE - parameter const. - * argp/argp.h (argp_state_help, __argp_state_help, argp_usage, - __argp_usage, argp_error, __argp_error, argp_failure, - __argp_failure): Make STATE parameter const. - (ARGP_KEY_HELP_DUP_ARGS_NOTE): New macro. +Thu Aug 29 18:03:06 1996 Ulrich Drepper - * argp/argp.h (argp_program_bug_address): Make const. + * Makerules: Make sure directory exists before generating stamp file. + (BUILD_CFLAGS): Always refer to using $(..). + * manual/Makefile: Make sure directory exists before generating + stamp file. + (make-target-directory): Add macro definition. + * sysdeps/generic/Makefile: Make sure directory exists before + generating stamp file. -1997-02-20 19:20 Ulrich Drepper + * Makefile (distribute): Add autolock.sh. Reported by Fila Kolodny. - * sysdeps/unix/mman/syscalls.list: Explain msync interface. +Tue Aug 27 10:06:22 1996 Andreas Schwab -1997-02-19 01:37 Erik Troan + When compiling in separate directory put objects into + subdirectories matching the source layout. + * Makeconfig (objpfx) [ifdef objdir]: Append $(subdir). + When looking for configparms try in $(common-objpfx). + Use $(common-objpfx)SUBDIR to find objects from other subdirectory + builds. + * Makerules: Add $(objpfx) to vpath list. + (make-dummy-dep): Use $(common-objpfx) to avoid creating dummy.d + more than once. All uses in dependency lists changed. + (+make-deps): Make target directory. + (sed-remove-objpfx): Substitute $(common-objpfx). + (do-ar, build-extra-lib, $(common-objpfx)stub-$(subdir)): Use + $(objpfx) instead of $(objdir) for cd command. + (O%-lib): Always find libc relative to $(..). + (subdir-stamps): Collect stamp files from subdirs. + (common-mostlyclean): Remove stub file in $(common-objpfx). + * MakeTAGS ($P/siglist.pot): Find siglist.c in stdio-common. + * Rules (dep-dummy-lib): Use $(common-objpfx) to avoid creating to + more than once. + ($(objpfx)dummy.c, $(objpfx)empty.c): Change target name to use + $(common-objfpx). All uses in dependency lists changed. + (generated): Prepend $(..) to names. + * bare/Makefile ($(objpfx)lib$(config-vendor).a): Remove $(objpfx) + from $@. + * nss/Makefile ($(objpfx)libnss_dns.so, $(objpfx)libnss_db.so): + Use $(common-objpfx) instead of $(..) in dependencies. + * sysdeps/mach/Makefile (mach-objpfx): Unconditionally use + $(common-objpfx) instead of $(..) and (objpfx). + * sysdeps/mach/hurd/Makefile (hurd-objpfx): Likewise. + (rpath-link): Likewise. + (rpcuserlibs): Likewise. + * sysdeps/unix/Makefile [$(subdir) = stdio-common]: Check for + errlist.c in $(objpfx), not $(common-objpfx). + ($(common-objpfx)s-proto.d): Special rule not covered by pattern + rule. + * sysdeps/unix/make-syscalls.sh: Make syscall rules depending on + s-proto.d in $(common-objpfx), not $(objpfx). + +Thu Aug 29 17:45:49 1996 Ulrich Drepper + + * nss/nsswitch.c (nss_dlerror_run): Free returned error + string. + +Thu Aug 29 15:53:33 1996 Ulrich Drepper + + * sysdeps/libm-ieee754/e_acoshl.c: New file. `long double' + implementation. + * sysdeps/libm-ieee754/e_atanhl.c: Likewise. + * sysdeps/libm-ieee754/e_remainderl.c: Likewise. + * sysdeps/libm-ieee754/e_scalbl.c: Likewise. + * sysdeps/libm-ieee754/s_asinhl.c: Likewise. + * sysdeps/libm-ieee754/s_cosl.c: Likewise. + * sysdeps/libm-ieee754/s_sinl.c: Likewise. + * sysdeps/libm-ieee754/s_tanhl.c: Likewise. + * sysdeps/libm-ieee754/s_tanl.c: Likewise. + +Thu Aug 29 00:28:08 1996 Ulrich Drepper + + * stdio-common/printf_fp.c (__printf_fp): Use default value '.' if + `decimal' char is 0. + + * C-numeric.c (not_available): New constant. + (_nl_C_LC_NUMERIC): Use `not_available' for grouping value. - * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields. + * nss/nsswitch.conf: Example configuration file. + * nss/db-Makefile: Example Makefile for generation of databases + for nss_db. + * nss/Makefile (distribute): Add nsswitch.conf and db-Makefile. -1997-02-20 14:44 Andreas Jaeger +1996-08-28 Paul Eggert - * stdio-common/test-fseek.c: Remove temporary file, add - copyright. + * C-messages.c (_nl_C_LC_MESSAGES): Set yesexpr to "^[yY]" and + noexpr to "^[nN]"; this conforms to POSIX.2. -1997-02-20 17:51 Ulrich Drepper + * C-time.c (_nl_C_LC_TIME): Change %d to %e in d_t_format, to + conform to POSIX.2. - * sysdeps/generic/netinet/in.h: Protect contents using - __BEGIN/END_DECLS. Reported by a sun . +1996-08-28 Paul Eggert - * inet/net/ethernet.h: Move to sysdeps/unix/sysv/linux/net. - * inet/Makefile (headers): Remove net/ethernet.h. - * sysdeps/unix/sysv/linux/Makefile: Install net/ethernet.h. - * sysdeps/unix/sysv/linux/Dist: Distribute net/ethernet.h. + * C-monetary.c (not_available): New constant. + (_nl_C_LC_MONETARY): Set mon_decimal_point to "", and set + mon_grouping, int_frac_digits, frac_digits, p_cs_precedes, + p_sep_by_space, n_cs_precedes, n_sep_by_space, p_sign_posn, and + n_sign_posn to CHAR_MAX, as required by the POSIX Standard. -1997-02-20 15:23 Thorsten Kukuk +Wed Aug 28 23:12:28 1996 Ulrich Drepper - * nss/nsswitch.c (__nss_configure_lookup): Use correct test when - searching in sorted array. + * nss/nss_db/db-XXX.c: Correct function names. They must be + `_nss_db_*' instead of `_nss_files_*'. + (lookup): `parse_line' returns 1 if succesful. + * nss/nss_files/files-service.c (servbyname): Key for database + must also contain protocol names. + (servbypt): Likewise. + Test must also check for protocol. Add `proto' argument. -1997-02-20 01:24 Philip Blundell +Tue Aug 27 09:56:13 1996 Andreas Schwab - * inet/getnameinfo.c: Change to use reentrant getXXbyYY functions - and protect modification of global data. + * MakeTAGS ($P/subdirs.pot): Prefix all file names, not only the + first one. -1997-02-19 18:48 Miles Bader +Tue Aug 27 17:45:21 1996 Ulrich Drepper - * argp/argp-parse.c (argp_default_parser): Set STATE->name for OPT_PROGNAME. - (parser_init): Use the basename for PARSER->state.name. - * argp/argp-help.c (__argp_error, __argp_failure, __argp_state_help): - Use PROGRAM_INVOCATION_SHORT_NAME instead of PROGRAM_INVOCATION_NAME. + * Makerules: Add some test for correct version of GNU Make. - * argp/argp-parse.c (parser_init): Set PARSER->state.flags. - Make check whether PARSER has the prog name in argv[0] at the - proper place. + * io/fcntl.h: Undo change from Mon Aug 26 22:22:17 1996. + * sysdeps/unix/sysv/linux/fcntlbits.h: Place macros here instead. -1997-02-19 23:34 Ulrich Drepper + * sysdeps/generic/dl-sysdep.c: Initialize break address to + avoid overwriting last page (OK, Roland). - * locale/programs/ld-time.c (time_finish): t_fmt_ampm is optional. - Use default value instead of printing a warning. +Tue Aug 27 16:20:37 1996 Ulrich Drepper - * nss/XXX-lookup.c: Add missing explanation. + * resolv/resolv.h: Update from BIND-4.9.5-T3A. + * resolv/arpa/nameser.h: Likewise. + * resolv/res_init.c: Likewise. + * resolv/res_debug.c: Likewise. + * resolv/res_mkquery.c: Likewise. -1997-02-19 19:14 Andreas Jaeger +Tue Aug 27 15:47:04 1996 Ulrich Drepper - * inet/in6_addr.c: Add missing braces. + * elf/dl-error.c (catch): Define errstring element not as const. + (_dl_catch_error): ERRSTRING argument is not const pointer. + Initialize *ERRSTRING and *OBJNAME separately. + * elf/link.h: Change prototype for `_dl_catch_error'. - * inet/getnameinfo.c: Include . + * elf/dl-load.c (_dl_map_object): Use separate variable for + copied NAME to avoid `const' warning. - * sysdeps/posix/getaddrinfo.c: Include . + * elf/dlerror.c: Make `last_errstring' variable not const pointer. -1997-02-19 11:46 Ulrich Drepper + * elf/rtld.c: Implement reading of /etc/ld.so.preload. This + provides preloading even for SUID binaries. + Add some more casts to avoid signed<->unsigned warnings. - * string/strxfrm.c (STRCOLL): Correct handling of `position' - levels with no non-IGNOREd element and handling of NUL byte. - * string/strcoll.c (STRXFRM): Likewise. - * locale/weight.h: Likewise. +Tue Aug 27 15:40:28 1996 NIIBE Yutaka - * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'. + * posix/sys/types.h: Define loff_t. + * sysdeps/unix/sysv/linux/gnu/types.h: Define __loff_t. -1997-02-19 03:28 Miles Bader +Mon Aug 26 22:22:17 1996 Ulrich Drepper - * argp/argp-help.c: Add support for user provided filter of help - messages. - * argp/argp-parse.c: Likewise. - * argp/argp.h: Likewise. - * argp/argp-namefrob.h: Define __argp_input. + * io/fcntl.h: Add definition for BSD F* macros. - * argp/argp-test.c: Add example for filter. + * misc/init-misc.c (__init_misc): Make static. + * misc/Makefile: Pass -fkeep-inline-functions flag for init-misc.c. -1997-02-19 02:58 Ulrich Drepper + * configure.in: Add test for -fno-exception option of gcc. + * config.make.in: Add definition of have-no-exceptions. + * Makerules: Define no-exceptions based on have-no-exceptions. + * csu/Makefile: When translating initfini.c pass $(no-exceptions). + This is necessary for gcc >= ss-960816. - * argp.h: New file. - * locale/programs/locale.c: Switch to use argp. +Mon Aug 26 17:16:48 1996 Richard Henderson - * errno.h: Make it possible to get definition of error_t even - after having errno.h already. + * sysdeps/alpha/dl-machine.h: Clear startup flag. - * elf/dl-hash.h: New file. ELF hashing function. Extracted - from dl-lookup.c. - * elf/dl-lookup.c (_dl_elf_hash): Remove definition. +Fri Aug 16 21:17:50 1996 Andreas Schwab - * elf/dl-load.c: Rename _dl_does_name_match_p to _dl_name_match_p. - * elf/dl-version.c: Likewise. + * Makerules (o-iterator-doit): Simplify reference to autolock + script. - * elf/dl-lookup.c: Implement new versioning lookup scheme. - * elf/dl-version.c (_dl_check_map_versions): Initialize new field - in l_versions member. +Sat Aug 24 15:27:41 1996 Andreas Schwab - * elf/dlvsym.c: Correct call of _dl_lookup_versioned_symbol_skip - and _dl_lookup_versioned_symbol. + * sysdeps/mach/hurd/getcwd.c + (_hurd_canonicalize_directory_name_internal): After resizing the + buffer move the current contents to the end. Correctly relocate + file name pointer to upper half of the buffer. - * elf/link.h: Rename hash_name_pair to struct r_found_version. - * sysdeps/alpha/dl-machine.h: Likewise. - * sysdeps/i386/dl-machine.h: Likewise. - * sysdeps/m68k/dl-machine.h: Likewise. - * sysdeps/mips/dl-machine.h: Likewise. +Mon Aug 26 15:49:59 1996 Ulrich Drepper - * intl/l10nflist.c: (_nl_make_l10nflist): Fix bug in computation of - length of abs_filename. + * rtld.c (dl_main): Remove code to call ld.so initializer. This + was introduced for compatibility with Linux ld.so and would not + be used anymore. Now we don't have any good values to use as the + parameters to the initializer so simply remove it. - * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH. +Sun Aug 25 18:25:52 1996 Andreas Schwab - * locale/programs/ld-monetary.c (monetary_add): Allow value 0 - in mon_grouping information. This means no more grouping. - * locale/programs/ld-numeric.c (numeric_add): Write value \377 - when seein value 0 in grouping information. - * locale/programs/linereader.c (lr_close): Don't free fname since - it might be used in error messages. + * gmon/gmon.c (ERR): Don't write the terminating NUL. - * locale/programs/locale.c: Check whether output of `locale -a' - really is locale directory. Also print locale aliases. + * sysdeps/posix/profil.c (profil): Disable the profiling timer at + first. + (profil_count): Use 64 bit arithmethic to avoid overflow. - * misc/search.h (__action_fn_t): Parameters VALUE and LEVEL cannot - be const. + * sysdeps/generic/machine-gmon.h (MCOUNT): Fix argument order. -1997-02-19 02:16 Ulrich Drepper +Mon Aug 26 16:31:33 1996 Thomas Bushnell, n/BSG - * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Correct #defin to - #define. Reported by Rick Flower . + * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Tolerate NEW + being null; in that case don't touch the timer at all (but do + return something in OLD if necessary). -1997-02-19 01:37 Erik Troan +Mon Aug 26 13:35:16 1996 Thomas Bushnell, n/BSG - * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields. + * sysdeps/mach/hurd/i386/init-first.c (__libc_multiple_libcs): New + variable. + * sysdeps/i386/init-first.c: Likewise. + * sysdeps/stub/init-first.c: Likewise. -1997-02-19 01:02 Ulrich Drepper +Mon Aug 26 02:01:37 1996 Ulrich Drepper - * sysdeps/unix/mman/syscalls.list: msync takes 3 arguments. - Reported by Andreas Jaeger . + * elf/dl-open.c (_dl_open): Call library initializer with + correct command line arguments and environment information. + * elf/rtld.c (dl_main): Provide arguments to initializer of + ld.so itself. - * sysdeps/stub/msync.c (msync): Add missing third parameter. +Sun Aug 25 19:15:46 1996 Ulrich Drepper -1997-02-19 00:29 Ulrich Drepper + * shadow/Makefile (routines): Add lckpwdf. + * shadow/lckpwdf.c: New file. - * sysdeps/unix/bsd/sigsuspend.c: Call __sigpause with needed - additional argument. + * sysdeps/i386/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Force + argument `cw' to be placed in memory. Patch by Torbjorn Granlund. -1997-02-18 22:13 Ulrich Drepper +Sun Aug 25 12:53:37 1996 Ulrich Drepper - * inet/net/ethernet.h: New file. - * sysdeps/unix/sysv/linux/netinet/if_ether.c: Add BSD compatibility. - * sysdeps/unix/sysv/linux/net/if_slip.h: New file. - Contributed by a sun . + * configure.in: Add definition for `__eh_pc' and `__throw' in + test for --no-whole-archive. The compiler generates dependencies + for this but none of the standard librares and startup files + are used. Necessary for gcc >= ss-960816. - * sysdeps/unix/sysv/linux/net/if_arp.h: Include . - * sunrpc/rpc/rpc_msg.h: Include . - Reported by a sun . +Sun Aug 25 01:31:33 1996 Ulrich Drepper -1997-02-16 14:25 Andreas Schwab + * elf/dl-error.c (_dl_signal_error): If error is catched, malloc + return string since string might be on stack. + * elf/dl-lookup.c (_dl_lookup_symbol): Undo change of + Wed Aug 21 10:14:59 1996. + * elf/dlerror.c (dlerror): Free error string after printing. + (_dlerror_run): If error string was not printed since last error + free string. + * rtld.c (dl_main): Free error string in case of error. - * Makerules ((common-objpfx)distinfo-$(subdir)): Depend on sysdep - makefiles which may change the distinfo variables. +Sat Aug 24 03:16:47 1996 Ulrich Drepper -1997-02-16 14:03 Andreas Schwab + * misc/syslog.c (vsyslog): Don't use `localtime' or `gmtime' since + this changes the global state for `localtime' and `gmtime'. Use + `__localtime_r'/`__gmtime_r' instead. + * resolv/res_debug.c (__p_secstodate): Likewise. + * sysdeps/generic/ftime.c: Likewise. + * sysdeps/posix/gettimeofday.c: Likewise. + Reported by Paul Eggert. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) - [$(subdir)=misc]: Add sys/quota.h. - (sysdep_headers) [$(subdir)=inet]: Add netinet/udp.h. + * time/gmtime.c: De-ANSI-fy. + * time/strftime.c: Don't call non-reentrant functions which change + state. -1997-02-17 13:12 aleph1@dfw.net +Wed Aug 21 10:14:59 1996 Richard Henderson - * sunrpc/clnt_simp.c (callrpc): Prevent buffer overflow by using - strncpy. + * elf/dl-lookup.c (_dl_lookup_symbol): Malloc the error string rather + than putting it on the stack. -1997-02-18 03:28 Ulrich Drepper +Wed Aug 21 10:12:42 1996 Richard Henderson - * stdio-common/bug10.c (main): Correct parameter. + * elf/rtld.c (dl_main): When looking up symbols in response to --list, + don't find .plt entries. -1997-02-17 02:51 Ulrich Drepper +Mon Aug 19 23:18:12 1996 Andreas Schwab - * malloc/obstack.h: Add `extern "C"' protection. - * posix/regex.h: Likewise. - * io/ftw.h: Likewise. - * misc/libgen.h: Likewise. - * login/utmp.h: Likewise. - * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise. - * sysdeps/unix/sysv/linux/netinet/in.h: Likewise. - * sunrpc/rpc/pmap_rmt.h: Likewise. - * sunrpc/rpc/auth_des.h: Likewise. - * elf/link.h: Likewise. - Reported by HJ Lu. + * sysdeps/m68k/dl-machine.h (RTLD_START): Optimize clearing + _dl_starting_up. -1997-02-17 01:45 a sun +Tue Aug 20 17:42:10 1996 Miles Bader - Linux specific network headers. - * sysdeps/unix/sysv/linux/netinet/if_fddi.h: New file. - * sysdeps/unix/sysv/linux/netinet/if_tr.h: New file. - * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: New file. - * sysdeps/unix/sysv/linux/netinet/ip_fw.h: New file. - * sysdeps/unix/sysv/linux/netinet/igmp.h: New file. - * sysdeps/unix/sysv/linux/netinet/icmp.h: New file. - * sysdeps/unix/sysv/linux/netinet/ip.h: New file. - * sysdeps/unix/sysv/linux/netinet/tcp.h: New file. - * sysdeps/unix/sysv/linux/netipx/ipx.h: New file. - * sysdeps/unix/sysv/linux/netatalk/atalk.h: New file. - * sysdeps/unix/sysv/linux/Dist: Add new network headers. - * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers): - Add sys/quota.h. - [$(subdir)=inet] (sysdep_headers): Add new network header. + * stdio/linewrap.c (line_wrap_stream): Initialize D->seek. - * sysdeps/unix/sysv/linux/netinet/udp.h: Add Linux specific changes. +Sat Aug 17 12:19:37 1996 David Mosberger-Tang - * inet/netinet/ip.h: Move to sysdeps/generic. - * inet/netinet/tcp.h: Likewise. - * sysdeps/generic/netinet/ip.h: Moved to here from inet/netinet. - * sysdeps/generic/netinet/tcp.h: Likewise. + * login/pututline_r.c (__pututline_r): Fix handling of case where + getutid_r() fails with ESRCH. Reported by Miquel van Smoorenburg. -1997-02-17 01:18 Ulrich Drepper +Wed Aug 14 14:10:54 1996 David Mosberger-Tang - * misc/sys/syslog.h (prioritynames): Correct definition to use - braces where necessary. - (facilitynames): Likewise. - Patch by Ronald F. Guilmette . - Comment and beautify declarations. + * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Change entry + for "Jensen" so _bus_base() returns 0 on that platform. Use + _bus_base_sparse() to determine base address of sparse memory. -1997-02-16 19:54 1997 Philip Blundell + * sysdeps/unix/sysv/linux/sys/io.h: Enclose #include + and declarations in __BEGIN_DECLS/__END_DECLS. - * inet/Makefile (routines): Add in6_addr, getnameinfo. - * inet/getnameinfo.c: New file. Implementation of getnameinfo() - by Craig Metz. - * inet/in6_addr.c: New file. IPv6 addressing constants. - * posix/Makefile (routines): Add gai_strerror. - * resolv/netdb.h: Add more constants for IPv6 basic API. - * sysdeps/posix/gai_strerror.c: New file. - * sysdeps/stub/gai_strerror.c New file. - * sysdeps/unix/sysv/linux/netinet/in.h: Add definitions for IPv6 - basic API. - - * sysdeps/posix/getaddrinfo.c: Update from latest version by - Craig Metz and use reentrant getXXbyYY functions. - -1997-02-15 14:32 Andreas Jaeger - - * argp/argp.h: Declare argp_program_version as const char. - * argp/argp-test.c: Likewise - - * stdlib/testrand.c (main): Declare main prototype. - * stdlib/testdiv.c (main): Likewise. - * string/testcopy.c (main): Likewise. - * string/test-ffs.c (main): Likewise. - * time/test_time.c (main): Likewise. - - * locale/duplocale.c (__duplocale): Return result. - -1997-02-16 03:54 Ulrich Drepper - - * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport. - Reported by fabsoft@fabserver1.zarm.uni-bremen.de. - - * nss/nss.h: Remove declaration of __nss_shlib_revision. - * nss/nsswitch.c: Don't use NSS_SHLIB_VERSION macro. - -1997-02-16 03:48 Thorsten Kukuk - - * nis/nss_nis/nis-ethers.c (_nss_nis_getethernam_r): Rename to - _nss_nis_gethostton_r. - (_nss_nis_getetherbyaddr_r): Rename to _nss_nis_getntohost_r. - -1997-02-15 22:37 Andy Berkheimer - - * resolv/gethnamaddr.c (gethostbyname2): Test for ':' in name before - trying to resolv name as numeric IPv6 address. - * nss/digits_dots.c: Likewise. - -1997-02-15 04:51 Ulrich Drepper - - * locale/setlocale.c (setlocale): Don't try to be clever about - unused locales. When the existence of the locale files isn't - tested the result of setlocale might be different. - -1997-02-15 03:34 Ulrich Drepper - - * locale/setlocale.c (setlocale): Don't increment usage_count of - new locale if it already has the value MAX_USAGE_COUNT (it might - be the C locale data which is read-only). - -1997-02-15 02:41 Miles Bader - - * argp/argp-help.c: Gettextize sources. - * argp/argp-parse.c: Likewise. - -1997-02-13 22:32 Ulrich Drepper - - * features.h (__GLIBC_MINOR__): Bump to 1. - - * xlocale.h: New file. Wrapper around locale/xlocale.h. - * Makefile (distribute): Add xlocale.h. - * locale/Makefile (routines): Add ctype_l. - * locale/ctype-extn.c: Update copyright. De-ANSI-declfy. - Add __isblank_l, __toascii_l and __isascii_l. - * ctype/ctype.h: Add definitions and declarations for *_l functions. - * locale/Makefile (headers): Add xlocale.h. - (routines): Add newlocale, duplocale, and freelocale. - * locale/localeinfo.h (MAX_USAGE_COUNT): New macro. - (struct locale_data): Add new fields mmaped and usage_count. - Correct various declarations. - * locale/C-collate.c: Define value for new fields mmaped and - usage_count. - * locale/C-ctype.c: Likewise. - * locale/C-messages.c: Likewise. - * locale/C-monetary.c: Likewise. - * locale/C-numeric.c: Likewise. - * locale/C-time.c: Likewise. - * locale/loadlocale.c (_nl_load_locale): Initialize mmaped and - usage_count fields. - * locale/locale.h: Don't define locale_t here (moved to xlocale.h). - Correct prototypes for __newlocale and __freelocale. - Add prototype for __duplocale. - * locale/findlocale.c (copy): Remove function. Use __strdup instead. - (_nl_remove_locale): New function. - * locale/nl_langinfo.c: Don't declare locale_data objects as const. - * locale/setlocale.c: Likewise. - * locale/weight.h: Change for use with locale objects. - * locale/xlocale.h: New file. Define __locale_t type. - * locale/newlocale.c: New file. Create new locale object. - * locale/freelocale.c: New file. Destroy locale object. - * locale/duplocale.c: New file. Create copy of locale object. - * stdlib/Makefile (routines): Add strfmon_l. - * stdlib/monetary.h [__USE_GNU]: Declare __strfmon_l. - * stdlib/strfmon.c: Add support for use in extended locale model. - * stdlib/strfmon_l.c: New file. - * string/Makefile (routines): Add strcoll_l and strxfrm_l. - * string/strcoll.c: Change for use in extended locale model. - * string/strxfrm.c: Likewise. - * string/strcoll_l.c: New file. Implement __strcoll_l function. - * string/strxfrm_l.c: New file. Implement __strxfrm_l function. - * wcsmbs/Makefile (routines): Add wcscoll_l and wcsxfrm_l. - * wcsmbs/wchar.h [__USE_GNU]: Declare wcscoll_l and wcsxfrm_l. - * wcsmbs/wcscoll.c: Change for use in extended locale model. - * wcsmbs/wcscoll_l.c: New file. Implement __wcscoll_l function. - * wcsmbs/wcsxfrm_l.c: New file. Implement __wcsxfrm_l function. - * wctype/Makefile (routines): Add wcextra, wcfuncs_l, iswctype_l, - and towctrans_l. - * wctype/cname-lookup.h: Prepare for use in extended locale model. - * wctype/iswctype_l.c: New file. Implement character classification - functions for use with locale objects. - * wctype/wctype.h: Declare functions for use with locale objects. - * wctype/towctrans_l.c: New file. Implement __towctrans_l function - for use with locale objects. - * wctype/wcfuncs_l.c: New file. Implement wide character - classification functions for use with locale objects. - * wctype/wcextra.c: New file. Implement real functions for - non-standard classification functions. - - * elf/ldd.bash.in: Don't use --data-relocs and --function-relocs - parameters to ld.so. Use environment variables. - * elf/ldd.sh.in: Likewise. - * elf/rtld.c: Remove handling of --data-relocs and --function-relocs - options. Instead read environment variables. - - * elf/link.h (receiver_fct): Add new argument to take error code. - * elf/dl-error.c (_dl_signal_error): Call receiver function with - another argument. - - * elf/dl-object.c (_dl_new_object): Create new object with list of - names in l_libname member. - * elf/dl-load.c (_dl_map_object_from_fd): Add name which was used to - find to object to the list in the link_map variable. - (_dl_map_object): Use _dl_does_name_match_p to compare with all - available names of the object. - Optimize handling of LD_LIBRARY_PATH a bit. - * elf/rtld.c: Initialize l_libname member of _dl_rtld_map. - - * elf/dl-lookup.c (_dl_elf_hash): Optimize function. - - * elf/Makefile (routines): Add dl-version. - * elf/link.h (hash_name_pair): New type. Group pointer to string - and its hash value. - (struct link_map): Change l_libname member to be a list of names, - not a single pointer to a name. - Add new members l_nversions and l_versions. - (_dl_does_name_match_p): New function to test for all names of an - object. - Add prototypes for new lookup and versioning functions. - * elf/dl-lookup.c (do_lookup): Add new argument and handle case - when versioned symbol is requested. - (_dl_lookup_symbol): Call do_lookup with another argument. - (_dl_lookup_symbol_skip): Likewise. - (_dl_lookup_versioned_symbol): New function. Handle lookup of - versioned symbol. - (_dl_lookup_versioned_symbol_skip): Likewise, similar to - _dl_lookup_symbol_skip. - * elf/dl-reloc.c (RESOLVE): Call _dl_lookup_versioned_symbol or - _dl_lookup_symbol depending on availability of version information. +Sun Aug 18 13:37:09 1996 Ulrich Drepper + + * err.h: New file. Wrapper around misc/err.h. + + Correct solution of multiple initialization problem by + Roland McGrath. + * csu/initfini.c: Remove global variable __libc_is_static. + * elf/rtld.c: Introduce new global variable _dl_starting_up. + It's nonzero during the startup. + * elf/dl-open.c (_dl_open): When _dl_start function is not + available (i.e., if in static libc) set `__libc_multiple_libcs' + to nonzero value. + * sysdeps/unix/sysv/linux/init-first.c (__libc_multiple_libc): + New global variable. + (init): Undo change of Fri Aug 2 03:12:40 1996. + Initialize `__libc_multiple_libcs' to nonzero only if this is + a shared lib called from a statically linked program and don't + call `personality' and `setfpucw' in this case either. + * sysdeps/generic/sbrk.c: Undo change of Fri Aug 2 03:12:40 1996. + Don't call brk(0) until `__libc_multiple_libcs' is nonzero. + * sysdeps/i386/dl-machine.h (RTLD_START): Clear _dl_starting_up + before jumping to user code. + * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise. + +Fri Aug 16 04:59:01 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/init-first.c: Remove hack from + Thu Aug 8 12:40:20 1996. + * sysdeps/unix/sysv/linux/Makefile [$(subdir) = csu]: Use + -fkeep-inline-functions flag instead. + +Fri Aug 16 01:24:33 1996 Ulrich Drepper + + * inet/ruserpass.c (userpass): Allocate buffer for .netrc file + name dynamically. Reported by Alan Cox. + Uncomment warnings and mark as translatable. + + * time/strftime (strftime): Add implementation for %s and %z + format. Change behaviour for unknown format character: now + simply print it. This matches the behaviour of printf. + Reported by Jim Meyering. + * manual/time.texi: Document all formats and flags of strftime. + +Thu Aug 15 18:02:51 1996 Ulrich Drepper + + * elf/rtld.c (dl_main): Loaded object has type lt_executable, + not lt_library. + + * misc/sys/select.h: Define fd_set using typedef, not #define. + Proposed by David Mosberger-Tang. + +Thu Aug 15 12:48:21 1996 Ulrich Drepper + + * po/header.pot: Use real description line. + +Thu Aug 15 04:42:44 1996 Ulrich Drepper + + * elf/rtld.c (dl_main): When started with --verify prevent + any warning. Just exit with an error. + * elf/ldd.sh.in: Don't run given object directly. This fails for + libraries. Instead use $RTLD again. + +Thu Aug 15 02:08:59 1996 Ulrich Drepper + + * manual/nss.texi: New file. Document NSS. + * manual/nsswitch.texi: New file. Example configuration. + + * manual/string.texi: Document stpncpy, strdupa, and strndupa. + * manual/example/strdupa.c: New file. Example for strdupa. + +Wed Aug 14 21:36:16 1996 Ulrich Drepper + + * stdlib/strtod.c (STRTOD): Correct assertion about size of + wint_t and wchar_t. Reported by David Mosberger-Tang. + +Mon Aug 12 22:40:16 1996 Andreas Schwab + + * elf/dl-lookup.c (_dl_lookup_symbol): Remove fifth parameter + RELOC_ADDR and make NOPLT a set of flags. All callers + changed. Delete condition that checks for resolving to the + location being filled in. Add condition to skip the + executable's symbols if requested. + * elf/link.h: Change declaration of _dl_lookup_symbol + accordingly. + (DL_LOOKUP_NOEXEC, DL_LOOKUP_NOPLT): New definitions. + * elf/dl-reloc.c (RESOLVE): Remove second parameter and rename + NOPLT to FLAGS. * elf/dl-runtime.c (RESOLVE): Likewise. - (fixup): Call elf_machine_relplt with additional argument to point - to versioning information if available. - * elf/do-rel.h (elf_dynamic_do_rel): Likewise. - * elf/dl-open.c (_dl_open): Call _dl_check_map_versions to check - for correct versions. - * elf/dl-version.c: New file. Check library versions and extract - version information for easier access. - * elf/dlfcn.h [__USE_GNU]: Add prototype for dlvsym. - * elf/dlvsym.c: New file. Implementation of function similar to - dlsym, but looks for versioned symbol. - * elf/elf.h: Add types and macros for versioning. - * elf/rtld.c (dl_main): Check availability of needed versions. - * sysdeps/alpha/dl-machine.h (elf_machine_rela): Add additional - argument for version information. Call RESOLVE with additional - argument. - * sysdeps/i386/dl-machine.h: Likewise. - * sysdeps/m68k/dl-machine.h: Likewise. - * sysdeps/mips/dl-machine.h: Likewise. + * elf/rtld.c (RESOLVE): Likewise. + * sysdeps/m68k/dl-machine.h (elf_machine_rela): Pass + DL_LOOKUP_NOEXEC as second argument to the RESOLVE macro if + processing a copy reloc, DL_LOOKUP_NOPLT for a jump slot + reloc, zero otherwise. + * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. + * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise. - * elf/dlerror.c: Change comment to align with guidelines. - * elf/dlopen.c: Likewise. - * elf/dlsym.c: Likewise. +Wed Aug 14 17:57:08 1996 Ulrich Drepper - * locale/programs/localedef.c: Implement --quiet option. - * locale/programs/charset.h: Declare be_quiet variable. - * locale/programs/locfile.h: Likewise. - * locale/programs/charmap.c: Don't print warnings if quiet option - was given. - * locale/programs/ld-collate.c: Likewise. - * locale/programs/ld-ctype.c: Likewise. - * locale/programs/ld-messages.c: Likewise. - * locale/programs/ld-monetary.c: Likewise. - * locale/programs/ld-numeric.c: Likewise. - * locale/programs/ld-time.c: Likewise. - * locale/programs/locfile.c: Likewise. + * MakeTAGS: Clean up use of --omit-header and -n for xgettext. + * po/header.pot: Add empty line at end. - * Makefile (subdirs): Add argp. +Sun Aug 11 13:45:33 1996 Andreas Schwab - * catgets/catgets.c (catopen): Little code improvement. + * MakeTAGS (all-pot): Remove $P/errlist.pot, all error messages + are now in $P/stdio-common.pot. + (XGETTEXTFLAGS-errlist.pot): Variable removed. - * posix/execl.c: Remove restriction to 1024 arguments. - * posix/execle.c: Likewise. - * posix/execlp.c: Likewise. +Mon Aug 12 19:25:03 1996 Andreas Schwab - * posix/getopt.c [_LIBC]: Define global objects with __ prefix - and make regular names weak aliases. - * posix/getopt1.c: Likewise. - * posix/getopt.h [_LIBC]: Provide prototypes and declarations for - __ protected forms. + * Makerules (do-ar, o-iterator-doit): Compute path to autolock + script at run time, not configure time. + * config.make.in, configure.in: Undo previous change. - * posix/unistd.h: Add prototype for __sleep. - * sysdeps/mach/sleep.c: Make sleep weak alias of __sleep. - * sysdeps/posix/sleep.c: Likewise. - * sysdeps/stub/sleep.c: Likewise. - * sysdeps/unix/sysv/linux/sleep.c: Likewise. +Wed Aug 14 13:20:02 1996 Ulrich Drepper - * ctype/ctype-info.c: Update copyright. - * ctype/ctype.c: Likewise. - * ctype/test_ctype.c: Likewise. - * dirent/alphasort.c: Likewise. - * dirent/list.c: Likewise. - * gmon/bb_exit_func.c: Likewise. - * grp/fgetgrent.c: Likewise. - * grp/getgrent.c: Likewise. - * grp/getgrent_r.c: Likewise. - * grp/getgrgid.c: Likewise. - * grp/getgrgid_r.c: Likewise. - * grp/getgrnam.c: Likewise. - * grp/getgrnam_r.c: Likewise. - * hurd/alloc-fd.c: Likewise. - * hurd/catch-exc.c: Likewise. - * hurd/ctty-input.c: Likewise. - * hurd/ctty-output.c: Likewise. - * hurd/dtable.c: Likewise. - * hurd/fchroot.c: Likewise. - * hurd/fd-close.c: Likewise. - * hurd/fd-read.c: Likewise. - * hurd/fd-write.c: Likewise. - * hurd/fopenport.c: Likewise. - * hurd/get-host.c: Likewise. - * hurd/getdport.c: Likewise. - * hurd/getuids.c: Likewise. - * hurd/getumask.c: Likewise. - * hurd/hurd-raise.c: Likewise. - * hurd/hurd.h: Likewise. - * hurd/hurdauth.c: Likewise. - * hurd/hurdexec.c: Likewise. - * hurd/hurdhost.h: Likewise. - * hurd/hurdid.c: Likewise. - * hurd/hurdinit.c: Likewise. - * hurd/hurdioctl.c: Likewise. - * hurd/hurdkill.c: Likewise. - * hurd/hurdlookup.c: Likewise. - * hurd/hurdmsg.c: Likewise. - * hurd/hurdpid.c: Likewise. - * hurd/hurdports.c: Likewise. - * hurd/hurdprio.c: Likewise. - * hurd/hurdrlimit.c: Likewise. - * hurd/hurdsock.c: Likewise. - * hurd/hurdstartup.c: Likewise. - * hurd/hurdstartup.h: Likewise. - * hurd/intern-fd.c: Likewise. - * hurd/intr-msg.c: Likewise. - * hurd/intr-rpc.defs: Likewise. - * hurd/intr-rpc.h: Likewise. - * hurd/msgportdemux.c: Likewise. - * hurd/new-fd.c: Likewise. - * hurd/openport.c: Likewise. - * hurd/pid2task.c: Likewise. - * hurd/port-cleanup.c: Likewise. - * hurd/port2fd.c: Likewise. - * hurd/ports-get.c: Likewise. - * hurd/ports-set.c: Likewise. - * hurd/privports.c: Likewise. - * hurd/report-wait.c: Likewise. - * hurd/set-host.c: Likewise. - * hurd/setauth.c: Likewise. - * hurd/setuids.c: Likewise. - * hurd/siginfo.c: Likewise. - * hurd/sigunwind.c: Likewise. - * hurd/task2pid.c: Likewise. - * hurd/thread-cancel.c: Likewise. - * hurd/thread-self.c: Likewise. - * hurd/vpprintf.c: Likewise. - * hurd/hurd/fd.h: Likewise. - * hurd/hurd/id.h: Likewise. - * hurd/hurd/ioctl.h: Likewise. - * hurd/hurd/lookup.h: Likewise. - * hurd/hurd/port.h: Likewise. - * hurd/hurd/resource.h: Likewise. - * hurd/hurd/threadvar.h: Likewise. - * hurd/hurd/userlink.h: Likewise. - * inet/ether_aton.c: Likewise. - * inet/ether_aton_r.c: Likewise. - * inet/ether_ntoa.c: Likewise. - * inet/ether_ntoa_r.c: Likewise. - * inet/gethstbyad.c: Likewise. - * inet/gethstbyad_r.c: Likewise. - * inet/gethstent.c: Likewise. - * inet/getnetbyad.c: Likewise. - * inet/getnetbyad_r.c: Likewise. - * inet/getnetbynm.c: Likewise. - * inet/getnetbynm_r.c: Likewise. - * inet/getnetent.c: Likewise. - * inet/getnetent_r.c: Likewise. - * inet/getproto.c: Likewise. - * inet/getproto_r.c: Likewise. - * inet/getprtent.c: Likewise. - * inet/getprtent_r.c: Likewise. - * inet/getprtname.c: Likewise. - * inet/getrpcbyname.c: Likewise. - * inet/getrpcbyname_r.c: Likewise. - * inet/getrpcbynumber.c: Likewise. - * inet/getrpcbynumber_r.c: Likewise. - * inet/getrpcent.c: Likewise. - * inet/getrpcent_r.c: Likewise. - * inet/getservent.c: Likewise. - * inet/getservent_r.c: Likewise. - * inet/getsrvbynm.c: Likewise. - * inet/getsrvbynm_r.c: Likewise. - * inet/getsrvbypt.c: Likewise. - * inet/getsrvbypt_r.c: Likewise. - * inet/herrno.c: Likewise. - * inet/netgroup.h: Likewise. - * ient/netinet/ether.h: Likewise. - * intl/bindtextdom.c: Likewise. - * intl/dcgettext.c: Likewise. - * intl/dgettext.c: Likewise. - * intl/gettext.c: Likewise. - * intl/gettext.h: Likewise. - * intl/gettextP.h: Likewise. - * intl/hash-string.h: Likewise. - * intl/loadmsgcat.c: Likewise. - * intl/localealias.c: Likewise. - * intl/textdomain.c: Likewise. - * io/creat.c: Likewise. - * io/getdirname.c: Likewise. - * io/lockf.c: Likewise. - * io/pwd.c: Likewise. - * io/test-utime.c: Likewise. - * locale/categories.def: Likewise. - * locale/codeset_name.c: Likewise. - * locale/lc-collate.c: Likewise. - * locale/lc-ctype.c: Likewise. - * locale/lc-messages.c: Likewise. - * locale/lc-monetary.c: Likewise. - * locale/lc-numeric.c: Likewise. - * locale/lc-time.c: Likewise. - * locale/loadlocale.c: Likewise. - * locale/localeconv.c: Likewise. - * locale/nl_langinfo.c: Likewise. - * locale/setlocale.c: Likewise. - * locale/strlen-hash.h: Likewise. - * locale/programs/charmap-kw.gperf: Likewise. - * locale/programs/charmap-kw.h: Likewise. - * locale/programs/charset.c: Likewise. - * locale/programs/ld-ctype.c: Likewise. - * locale/programs/ld-messages.c: Likewise. - * locale/programs/ld-monetary.c: Likewise. - * locale/programs/linereader.h: Likewise. - * locale/programs/locale-spec.c: Likewise. - * locale/programs/locales.h: Likewise. - * locale/programs/locfile-kw.gperf: Likewise. - * locale/programs/locfile-kw.h: Likewise. - * locale/programs/locfile-token.h: Likewise. - * locale/programs/simple-hash.h: Likewise. - * locale/programs/stringtrans.c: Likewise. - * locale/programs/stringtrans.h: Likewise. - * login/logout.c: Likewise. - * mach/bootprivport.c: Likewise. - * mach/devstream.c: Likewise. - * mach/hello.c: Likewise. - * mach/mach.h: Likewise. - * mach/mach_init.c: Likewise. - * mach/mach_init.h: Likewise. - * mach/mig-alloc.c: Likewise. - * mach/mig-dealloc.c: Likewise. - * mach/mutex-init.c: Likewise. - * mach/mutex-solid.c: Likewise. - * mach/setup-thread.c: Likewise. - * mach/spin-lock.h: Likewise. - * mach/spin-solid.c: Likewise. - * mach/mach/mig_support.h: Likewise. - * md5-crypt/md5-crypt.c: Likewise. - * misc/nlist.h: Likewise. - * nss/nss_files/files-ether.c: Likewise. - * posix/confstr.c: Likewise. - * posix/execl.c: Likewise. - * posix/execle.c: Likewise. - * posix/execlp.c: Likewise. - * posix/execv.c: Likewise. - * posix/execvp.c: Likewise. - * posix/fnmatch.c: Likewise. - * posix/getopt.c: Likewise. - * posix/getopt.h: Likewise. - * posix/getopt1.c: Likewise. - * posix/id.c: Likewise. - * posix/regex.c: Likewise. - * posix/setpgrp.c: Likewise. - * posix/unistd.h: Likewise. - * posix/wordexp.c: Likewise. - * pwd/fgetpwent.c: Likewise. - * pwd/getpwent.c: Likewise. + * sysdeps/unix/sysv/linux/i386/close.S: Push return value of thread + on stack as argument for `_exit'. Reported by Andreas Schwab. + +Mon Aug 12 19:36:25 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/clone.S: New file. + +Wed Aug 14 04:22:35 1996 Richard Henderson + + * elf/dl-load.c (_dl_map_object): Save name in malloced memory. + (_dl_map_object_from_fd): Free name on error. + +Wed Aug 14 13:00:09 1996 Ulrich Drepper + + * string/strdup.c: Use result of memcpy to avoid reloading. + +Tue Aug 13 00:55:03 1996 Andreas Schwab + + * shadow/sgetspent_r.c (__sgetspent_r): Copy string to buffer, not + the other way round. + +Tue Aug 13 20:51:21 1996 Ulrich Drepper + + * stdlib/canonicalize.c (canonicalize): Add cast to prevent + warning. + + * Makerules (o-iterator-doit): Use autolock.sh when running ranlib. + +Tue Aug 13 18:26:45 1996 Ulrich Drepper + + * nss/nsswitch.c (__nss_configure_lookup): Use fact that list is + sorted. + + Update from bind-4.9.5-T1A. + * resolv/Makefile (libresolv-routines): Add base64, inet_net_ntop, + inet_net_pton, inet_net. + + * resolv/gethnamaddr.c: Include . + * resolv/getnetnamadr.c: Likewise. + * resolv/herror.c: Likewise. + * resolv/inet_addr.c: Likewise. + * resolv/nsap_addr.c: Likewise. + * resolv/res_comp.c: Likewise. + * resolv/res_data.c: Likewise. + * resolv/res_init.c: Likewise. + * resolv/res_mkquery.c: Likewise. + * resolv/res_query.c: Likewise. + * resolv/res_send.c: Likewise. + + * resolv/gethnamaddr.c [! SPRINTF_CHAR] (SPRINTF): Cast return + value of sprintf. + * resolv/inet_ntop.c: Likewise. + + * resolv/gethnamaddr.c [BSD]: Include . + Remove prototype of gethostbyname_ipv4. + + * resolv/inet_ntop.c, resolv/inet_pton.c: Use ISO C `mem*' + functions instead of BSD `b*' functions. + + * resolv/nsap_addr.c: Add copyright message. + + * resolv/res_comp.c: Remove comment explaining label format. + (res_mailok): Correct check. + + * resolv/res_debug: Include missing headers. + (__fp_nquery): Handle `unused', `ad', and `cd' bits. + (__p_fqnname): New function to print FQDN from compressed name. + (__p_rr): Use __p_fqnname. Correct printing of ". Handle T_TXT + correctly. Add handling of T_KEY and T_SIG. + Handle class and type names by using name arrays instead of + explicit `switch'es. + (__sym_ston, __sym_ntos, __sym_ntop): New functions to use arrays. + (__dn_count_labels, __p_secstodate): New functions. + + * resolv/resolv.h (__RES): Update version number. + (res_sym): New type. + Add #defines for new functions. + Declare sym_ntos, sym_ntop, b64_ntop, b64_pton, __p_fqnname, + __p_secstodate, dn_count_labels. + + * resolv/arpa/nameser.h (__BIND): Update version number. + Add KEYFLAG_* and ALGORITHM_* symbols. + (HEADER): Add `ad' and `cd' flags. + + * inet/ient.h: Add prototypes for inet_neta, inet_net_ntop, + and inet_net_pton. + + * manual/maint.texi: Document that we use bind-4.9.5. + * INSTALL: Ditto. + +Mon Aug 12 19:03:22 1996 Thomas Bushnell n/BSG + + * sysdeps/generic/gnu/types.h: Declare __fd_mask as `unsigned long'. + + * mach/Makefile (mach/mach_host.uh): Depend on + $(objpfx)/mach-syscalls.mk. + ($(objpfx)mach-shortcuts.h): Depend on $(objpfx)mach/mach_host.h. + (This fixes a make loop; thanks to Marcus Daniels + for the patch.) + +Mon Aug 12 16:41:52 1996 Thomas Bushnell n/BSG + + * io/getwd.c (getwd) [! PATH_MAX]: Don't assume that the user's + buffer is any longer than the amount necessary to hold the + filename; the Hurd getcwd uses the *entire* contents of the + buffer, however long it is specified to be. + +Mon Aug 12 04:33:09 1996 Ulrich Drepper + + * nss/nsswitch.c (__nss_database_lookup): Always release locks + before returning. Reported by Miles Bader. + +Mon Aug 12 03:31:58 1996 Ulrich Drepper + + * nss/nsswitch.c (__nss_configure_lookup): New function. + Allows to specify services. + * nss/XXX-lookup.h: Rename database variable and make global. + * nss/databases.def: New file. Real names of all databases. + + * nss/nss.h: New file. Contains declaration useful for users + and service developers. + * nss/nsswitch.h: Move some declarations to nss/nss.h. + * nss.h: New file. Wrapper around nss/nss.h. + + * nss/Makefile (headers): Add nss.h. + (distributes): Add databases.def. + +Sun Aug 11 16:19:42 1996 Ulrich Drepper + + Help the poor people with fast machines by making sure only + one `ar' commands works on the library. + * autolock.sh: New file. Written by Tom Tromey. + * Makerules (do-ar): Call autolock.sh shell script instead of + directly using `ar'. + * config.make.in: Make configuration variable AUTOLOCK which + gets initialized by configure. + * configure.in: Define variable AUTOLOCK to point to autolock.sh + script and mark it to substitute. + + * string/Makefile: Add -fno-builtin for tst-strlen.c, too. + + * sysdeps/generic/sbrk.c (__sbrk): Get kernel brk address + always only if in static libc or if statically linked program + uses libc.so. + +Sun Aug 11 01:12:38 1996 Richard Henderson + + * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Optimize LD_BIND_NOW + startup by moving Icache flush from here ... + (ELF_MACHINE_RUNTIME_TRAMPOLINE): ... to here. + (ELF_MACHINE_USER_ADDRESS_MASK): Delete; it is unused. + + * sysdeps/alpha/divrem.h: Update comment to reflect the actual + calling conventions. The code is already correct. + +Sun Aug 11 01:06:42 1996 Richard Henderson + + * string/Makefile: Compile tester with -fno-builtin as we want to + test our implementations, not gcc's. + +Sat Aug 10 13:17:27 1996 David Mosberger-Tang + + * shadow.h: New file. + + * sysdeps/unix/sysv/linux/netinet/in.h: Move + __BEGIN_DECLS/__END_DECLS up so ntohl() et al are bracketed as + well. + + * socket/sys/socket.h [__cplusplus]: Use old-style __SOCKADDR_ARG. + g++ 2.7.2 (and earlier) has no transparent unions support. + +Fri Aug 9 18:50:06 1996 David Mosberger-Tang + + * sysdeps/unix/sysv/linux/alpha/ioperm.c (_bus_base_sparse): New + function to determine the base address of sparse bus memory. + (APECS_*): Rename to CIA_*. + (APECS_SPARSE_MEM, CIA_SPARSE_MEM): New macros. + (platform): Add sparse_bus_memory_base member and initialize. + (sparse_bus_memory_base): New variable. + +Tue Aug 6 10:23:18 1996 David Mosberger-Tang + + * sysdeps/posix/ttyname_r.c (ttyname_r), + sysdeps/posix/ttyname.c (ttyname): Return -1/NULL if + !__isatty(fd) (POSIX.1 says so.) + + * sysdeps/unix/getlogin.c (getlogin): Fix to check fd 0 only. + This is not a gross hack, after all---for compatibility, + getlogin() really should check fd 0 only and not try to base its + operation on the controlling tty. + +Wed Jul 17 10:54:20 1996 David Mosberger-Tang + + * sysdeps/unix/getlogin.c (getlogin): Add static variable NAME, + change utmp_data from static to auto. + +Sun Aug 11 02:56:08 1996 Ulrich Drepper + + * posix/unistd.h [__USE_MISC]: Add prototype for `nice'. + Reported by David Mosberger-Tang. + +Sat Aug 10 02:05:28 1996 Richard Henderson + + * sysdeps/libm-ieee754/s_isnan.c [NO_LONG_DOUBLE]: Add strong + alias to `__isnanl'. + +Fri Aug 9 17:38:58 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sys/timex.h: Include to + get `struct timeval'. + * sysdeps/unix/sysv/linux/sys/acct.h: Get time_t from . + * sysdeps/unix/sysv/linux/sys/module.h: Get size_t from . + * sysdeps/unix/sysv/linux/sys/io.h: Get definition of __P. + * sysdeps/unix/sysv/linux/sys/klog.h: Likewise. + * gmon/sys/gmon.h: Include to get u_long. + * sysdeps/unix/sysv/linux/direntry.h: Complete types in + . + * io/fts.h: Include to get dev_t. + Reported by Matthias Urlichs. + + * sysdeps/posix/tempname.c [USE_IN_LIBIO]: Don't clear + _IO_file_flags. It's the same as _flags. + Reported by Miquel van Smoorenburg . + +Wed Aug 7 19:38:47 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Add RLIMIT_AS. + +Thu Aug 8 16:17:38 1996 Ulrich Drepper + + * pwd/getpwent.c: Define BUFLEN from NSS_BUFLEN_PASSWD. * pwd/getpwent_r.c: Likewise. * pwd/getpwnam.c: Likewise. * pwd/getpwnam_r.c: Likewise. * pwd/getpwuid.c: Likewise. * pwd/getpwuid_r.c: Likewise. - * pwd/putpwent.c: Likewise. - * resolv/gethnamaddr.c: Likewise. - * resolv/res_hconf.c: Likewise. - * resolv/res_hconf.h: Likewise. - * setjmp/longjmp.c: Likewise. - * setjmp/sigjmp.c: Likewise. - * setjmp/tst-setjmp.c: Likewise. - * stdio/clearerr.c: Likewise. - * stdio/ferror.c: Likewise. - * stdio/fgetc.c: Likewise. - * stdio/fgetpos.c: Likewise. - * stdio/fgets.c: Likewise. - * stdio/fileno.c: Likewise. - * stdio/fmemopen.c: Likewise. - * stdio/fopen.c: Likewise. - * stdio/fopncook.c: Likewise. - * stdio/fputc.c: Likewise. - * stdio/fputs.c: Likewise. - * stdio/fread.c: Likewise. - * stdio/freopen.c: Likewise. - * stdio/fseek.c: Likewise. - * stdio/fsetpos.c: Likewise. - * stdio/ftell.c: Likewise. - * stdio/fwrite.c: Likewise. - * stdio/getchar.c: Likewise. - * stdio/getdelim.c: Likewise. - * stdio/gets.c: Likewise. - * stdio/glue.c: Likewise. - * stdio/internals.c: Likewise. - * stdio/linewrap.c: Likewise. - * stdio/linewrap.h: Likewise. - * stdio/memstream.c: Likewise. - * stdio/newstream.c: Likewise. - * stdio/putchar.c: Likewise. - * stdio/puts.c: Likewise. - * stdio/rewind.c: Likewise. - * stdio/setbuf.c: Likewise. - * stdio/setbuffer.c: Likewise. - * stdio/setlinebuf.c: Likewise. - * stdio/setvbuf.c: Likewise. - * stdio/ungetc.c: Likewise. - * stdio/vasprintf.c: Likewise. - * stdio/vscanf.c: Likewise. - * stdio/vsnprintf.c: Likewise. - * stdio/vsprintf.c: Likewise. - * stdio/vsscanf.c: Likewise. - * stdio-common/asprintf.c: Likewise. - * stdio-common/dprintf.c: Likewise. - * stdio-common/errnobug.c: Likewise. - * stdio-common/fprintf.c: Likewise. - * stdio-common/getline.c: Likewise. - * stdio-common/getw.c: Likewise. - * stdio-common/perror.c: Likewise. - * stdio-common/psignal.c: Likewise. - * stdio-common/putw.c: Likewise. - * stdio-common/reg-printf.c: Likewise. - * stdio-common/scanf.c: Likewise. - * stdio-common/snprintf.c: Likewise. - * stdio-common/sprintf.c: Likewise. - * stdio-common/tempnam.c: Likewise. - * stdio-common/test_rdwr.c: Likewise. - * stdio-common/tst-fileno.c: Likewise. - * stdio-common/tst-printf.c: Likewise. - * stdio-common/tstgetln.c: Likewise. - * stdio-common/vprintf.c: Likewise. - * stdlib/drand48.c: Likewise. - * stdlib/drand48_r.c: Likewise. - * stdlib/erand48.c: Likewise. - * stdlib/erand48_r.c: Likewise. - * stdlib/exit.h: Likewise. - * stdlib/strtoq.c: Likewise. - * stdlib/strtoul.c: Likewise. - * stdlib/strtouq.c: Likewise. - * stdlib/test-canon.c: Likewise. - * stdlib/testdiv.c: Likewise. - * stdlib/testrand.c: Likewise. - * string/argz-append.c: Likewise. - * string/argz-count.c: Likewise. - * string/argz-create.c: Likewise. - * string/argz-ctsep.c: Likewise. - * string/argz-delete.c: Likewise. - * string/argz-extract.c: Likewise. - * string/argz-insert.c: Likewise. - * string/argz-next.c: Likewise. - * string/argz-stringify.c: Likewise. - * string/basename.c: Likewise. - * string/envz.c: Likewise. - * string/memfrob.c: Likewise. - * string/strcoll.c: Likewise. - * string/strdup.c: Likewise. - * string/string.h: Likewise. + + * grp/getgrent.c: Define BUFLEN from NSS_BUFLEN_GROUP. + * grp/getgrent_r.c: Likewise. + * grp/getgrgid.c: Likewise. + * grp/getgrgid_r.c: Likewise. + * grp/getgrnam.c: Likewise. + + * pwd/fgetpwent_r.c: New file. Reentrant version of fgetpwent. + * pwd/fgetpwent.c: Rewrite to use fgetpwent_r. + * pwd/Makefile (routines): Add fgetpwent_r. + * pwd/pwd.h: Add prototypes for __fgetpwent_r and fgetpwent_r. + + * grp/fgetgrent_r.c: New file. Reentrant version of fgetgrent. + * grp/fgetgrent.c: Rewrite to use fgetgrent_r. + * grp/Makefile (routines): Add fgetgrent_r. + * grp/grp.h: Add prototypes for __fgetgrent_r and fgetgrent_r. + + Implement shadow password lookup functions. This is no complete + shadow password suite. + * shadow/Makefile: New file. + * shadow/fgetspent.c: New file. + * shadow/fgetspent_r.c: New file. + * shadow/getspent.c: New file. + * shadow/getspent_r.c: New file. + * shadow/getspnam.c: New file. + * shadow/getspnam_r.c: New file. + * shadow/putspent.c: New file. + * shadow/sgetspent.c: New file. + * shadow/sgetspent_r.c: New file. + * shadow/shadow.h: New file. + * shadow/spwd-lookup.c: New file. + * shadow/nss_files/files-spwd.c: New file. + +Thu Aug 8 13:33:45 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/ftime.c: New file. Available system + call is only a stub. + Reported by Matthias Urlichs. + + * Makeconfig [!default_cflags]: Change default value from `-g' + to `-g -O'. + + * configure.in: Recognize i686. + * sysdeps/i386/i686/Implies: Default on i586 optimized code. + +Thu Aug 8 12:40:20 1996 Matthias Urlichs + + * Makeconfig [$(build-omitfp) == yes]: Add to CFLAGS-.so + value of CFLAGS-.o, not CFLAGS-o. + + * sysdeps/unix/sysv/linux/init-first.c (init): Add volatile + pointer to ourself. Otherwise `gcc -O3' optimized init away. + +Thu Aug 8 01:41:43 1996 Ulrich Drepper + + * elf/Makefile: Undo change of Tue Aug 6 14:27:11 1996. + * elf/dl-support: Add definition of `_dl_sysdep_read_whole_file'. + +Thu Aug 8 01:15:59 1996 Ulrich Drepper + + * sysdeps/i386/fpu_control.h (_FPU_DEFAULT, _FPU_IEEE): Set + to 0x137f to allow long double operations. + +Sun Aug 4 13:12:05 1996 Richard Henderson + + Bug Fixes: + + * nss/nsswitch.c (_res): Remove redundant variable definition. + The real one is in resolve/res_init.c, and having both prevents + using -fno-common when building the shared library. + * sunrpc/rpc_prot.c (_null_auth): Same. Original is in rpc_common.c. + + * sysdeps/unix/sysv/linux/alpha/brk.S: When PIC, define __curbrk as + a .bss object not a COMMON symbol. + + * sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/bsd-setjmp.S: Must load + $gp before referencing __sigsetjmp symbol. Retain LITUSE for same. + + Optimizations: + + * sysdeps/alpha/strlen.S: Rearrange first-word setup and thense the + main loop for better dual-issue on EV5. Rearrange binary search to + pipeline better and trim one instruction. + + Cosmetic Changes: + + * time/localtime.c (localtime_r): Move lock declaration back next to + the comment where it was before the 960724 change. + + * INSTALL, manual/maint.texi: alpha-gnu-linux -> alpha-ANYTHING-linux. + The second word is supposed to be the hardware manufacturer. + + * sysdeps/alpha/_mcount.S: Retain LITUSE for __mcount. + * sysdeps/alpha/setjmp.S: Retain LITUSE for __sigsetjmp_aux. + + * sysdeps/alpha/divrem.h: More local labels, retain LITUSE for _mcount. + + * sysdeps/alpha/alphaev5/add_n.S, sysdeps/alpha/alphaev5/lshift.S, + sysdeps/alpha/alphaev5/rshift.S, sysdeps/alpha/alphaev5/sub_n.S: + Same cleanups as with EV4 GMP stuff. + +Tue Jul 25 03:30:56 1996 Richard Henderson + + * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_routines): Add clone. + * sysdeps/unix/sysv/linux/alpha/clone.S: New file. + * sysdeps/unix/sysv/linux/i386/clone.S: New file. + +Sun Aug 4 00:12:41 1996 David Mosberger-Tang + + * sysdeps/unix/sysv/linux/gnu/types.h: Declare __fd_mask as + `unsigned long'. + + * misc/sys/select.h: Declare fd_mask as alias of __fd_mask. + +Sat Aug 3 16:20:02 1996 David Mosberger-Tang + + * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for + Mikasa. + + * socket/sys/socket.h (send, __send, sendto): Declare buffer + pointer as __const. + + * string/tester.c (main): Test stpncpy. + + * sysdeps/generic/stpncpy.c (__stpncpy): Fix so it works without + segfault when called with an N that is not a multiple of four and + src[N-1]=='\0'. + + * misc/syslog.c (LogType): New variable. + (openlog): If connect() with SOCK_DGRAM fails with EPROTOTYPE, + try again with SOCK_STREAM (the Linux syslogd uses a socket of the + latter type). + (vsyslog): When LogType==SOCK_STREAM, also send ASCII NUL + terminator as a record-delimiter. If __send(LogFile) fails, + call closelog() so logfile gets re-opened next time. + +Wed Aug 7 15:15:14 1996 Ulrich Drepper + + * elf/dl-open (_dl_open): Add cast to avoid warning. + + * manual/memory.texi: Improve some examples to give readers better + advice: Use `stpcpy' instead of `strcat' if possible. + * manual/string.texi: Document `strtok_r' and `strtok'. + + * sunrpc/Makefile: Move `+gccwarn' definition before inclusion + of Makeconfig. + [$(cross-compiling)=no]: Change test before making librpcsvc + to this from $(cross-compile). + Reported by Andreas Schwab. + +Tue Aug 6 14:27:11 1996 Ulrich Drepper + + * elf/Makefile (routines): Move dl-sysdep to here... + (rtld-routines): ...from here. This should make static linking + work again. + + * locale/setlocale.c: Add local variable `lock' and add code to + `setlocale' to avoid simultaneous changing of global data. + + * catgets/catgets.c (catopen): Use `__strdup' instead of `strdup'. + * catgets/open_catalog (__open_catalog): Use `__stpcpy', `__open', + `__fstat', `__read', `__mmap', `__munmap' and `__close' instead + of unprotected names. + +Tue Aug 6 01:13:56 1996 Ulrich Drepper + + Clean name space according to ISO C, ISO C/Amd 1, and POSIX.1. + This requires to rename several functions to use __ protected + names. + * dirent/dirent.h: Add prototypes of __opendir, __closedir, + and __readdir. + * sysdeps/mach/hurd/closedir.c: Prepend function name with __ + and make old name a weak alias. + * sysdeps/mach/hurd/getrlimit.c: Likewise. + * sysdeps/mach/hurd/opendir.c: Likewise. + * sysdeps/mach/hurd/readdir.c: Likewise. + * sysdeps/stub/closedir.c: Likewise. + * sysdeps/stub/opendir.c: Likewise. + * sysdeps/stub/readdir.c: Likewise. + * sysdeps/unix/closedir.c: Likewise. + * sysdeps/unix/opendir.c: Likewise. + * sysdeps/unix/readdir.c: Likewise. + + * sysdeps/unix/opendir.c: Call `__fcntl' instead `fcntl'. + + * sysdeps/posix/getcwd.c: Call `__opendir', `__readdir', + `__closedir' instead of unprotected names. + + * libio/filedoalloc.c (_IO_file_doallocate): Call `__isatty' + instead of `isatty' since later is not part of ISO C. + * libio/fileops.c (_IO_file_fopen): Call `__open' instead of + `open' since later is not part of ISO C. + + * login/endutent.c (endutent): Call `__endutent_r', not + `endutent_r'. + * login/endutent_r.c: Rename defined function to `__endutent_r', + make `endutent_r' weak alias. + * login/getutent.c (getutent): Call `__getutent_r', not + `getutent_r'. + * login/getutid.c (getutid): Call `__getutid_r', not `getutid_r'. + * login/getutid_r.c: Rename defined function to `__getutent_r', + make `getutent_r' weak alias. + * login/getutline.c (getutline): Call `__getutline_r', not + `getutline_r'. + * login/getutline_r.c: Rename defined function to `__getutline_r', + make `getutline_r' weak alias. + * login/pututline_r.c: Rename defined function to `__pututline_r', + make `pututline_r' weak alias. + * login/setutent.c (setutent): Call `__setutline_r', not + `setutline_r'. + * login/setutent_r.c: Rename defined function to `__setutline_r', + make `setutline_r' weak alias. + Rename `utmpname' to `__utmpname' and make former weak alias. + (__utmpname): Call `__strdup', not `strdup'. + * login/utmp.h: Add prototypes for name space clean reentrant + versions. + * sysdeps/unix/getlogin.c: Call `__ttyname_r', `__setutent_r', + and `__endutent_r' instead of unprotected names. + + * math/math.h: Add prototype for `__matherr'. + * sysdeps/libm-ieee754/k_standard.c: Call `__matherr' instead + of `matherr'. + + * nss/getXXbyYY.c: Call __ protected reentrant function. + * nss/getXXent.c: Likewise. + * nss/getXXbyYY_r.c: Define `get*' function with __ protected + name. Make usual name a weak alias. + * nss/getXXent_r.c: Likewise. + + * posix/unistd.h: Add prototype for `__ttyname_r'. + * sysdeps/posix/ttyname_r.c: Rename function to `__ttyname_r' + and make `ttyname_r' a weak alias. + + * resource/sys/resource.h: Add prototype for `__getrlimit'. + * sysdeps/stub/getrlimit.c: Prepend function name with __ + and make old name a weak alias. + * sysdeps/unix/syscalls.list: Rename system call to `__getrlimit' + and make `getrlimit' weak alias. + + * libc/stdio/stdio.h: Add prototype for `__vscanf'. + * libc/stdio/vscanf.c: De-ANSI-fy. + Rename function to `__vscanf' and make `vscanf' a weak alias. + * stdio-common/scanf.c (scanf): Use _IO_vscanf/__vscanf instead + of `vscanf'. + + * stdio-common/reg-printf.c: De-ANSI-fy. + Rename function to `__register_printf_function' and make + `register_printf_function' weak alias. + + * stdio-common/vfprintf.c: Call `__wcsrtombs' instead of + `wcsrtombs'. + + * stdlib/mbstowcs.c: Call `__mbsrtowcs' instead of `mbsrtowcs'. + * stdlib/mbtowc.c: Call `__mbrtowc' instead of `mbrtowc'. + * stdlib/wcstombs.c: Call `__wcsrtombs' instead of `wcsrtombs'. + * stdlib/wctomb.c: Call `__wcrtomb' instead of `wcrtomb'. + * wcsmbs/mbrtowc.c: Prepend function name with __ and make old + name a weak alias. + * wcsmbs/mbsrtowcs.c: Likewise. + * wcsmbs/wcrtomb.c: Likewise. + * wcsmbs/wcsrtombs.c: Likewise. + * wcsmbs/wchar.h: Add prototypes for __ protected versions. + + * sysdeps/posix/sigsetmask.c (__sigsetmask): Call `__sigprocmask' + instead of `sigprocmask'. + + + * grp/grp.h [__USE_REENTRANT]: Add prototypes for reentrant + version getgrent_r, getgrgid_r, and getgrnam_r. + * pwd/pwd.h [__USE_REENTRANT]: Add prototypes for reentrant + version getpwent_r, getpwuid_r, getpwnam_r and __ protected + names. + * resolv/netdb.h: Complete rewrite. No more BSD ugliness. + + + * misc/error.c (private_strerror): Translate messages from table, + too. + + * io/fcntl.h: Pretty printing. + * misc/fstab.h: Likewise. + * misc/ttyent.h: Likewise. + * resource/sys/resource.h: Likewise. + * string/argz.h: Likewise. + * string/envz.h: Likewise. + + Add support for symbols from POSIX.1c (POSIX threads). + * posix/getconf.c: Handle new sysconf symbols. + * posix/posix1_lim.h: Define _POSIX_TTY_NAME_MAX and + _POSIX_LOGIN_NAME_MAX with minimal maximal values. + * sysdeps/generic/confname.h: Define new symbols. + * sysdeps/posix/sysconf.c: Handle new symbols. + * sysdeps/stub/sysconf.c: Ditto. + * sysdeps/unix/sysv/linux/sysconf.c: Removed. Generic version + is ok now. + + * sunrpc/rpc/xdr.h: Move definition of type `xdrproc_t' to + have real prototype. + + * sysdeps/generic/resourcebits.h: Add macro definition for + RLIMIT_* values. Some sources test using #ifdef whether specific + limit is available. + * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Ditto. + * sysdeps/unix/sysv/linux/resourcebits.h: Removed. We need + separate files for the architectures. + * sysdeps/unix/sysv/linux/alpha/resourcebits.h: New file. + * sysdeps/unix/sysv/linux/i386/resourcebits.h: New file. + * sysdeps/unix/sysv/linux/m68k/resourcebits.h: New file. + * sysdeps/unix/sysv/linux/mips/resourcebits.h: New file. + + * sysdeps/posix/getdtsz.c: Rewrite to use `__getrlimit' function + and only default on `OPEN_MAX'. + * sysdeps/unix/sysv/sysv4/getdtsz.c: Removed. Default is already + the POSIX version. + + * time/Makefile (routines): Add ctime_r. + * time/asctime.c: Add implementation of `asctime_r'. Make + `asctime' implementation based on reentrant version. + * time/ctime_r.c: New file. + * time/time.h [__USE_REENTRANT]: Add definition of `asctime_r' + and `ctime_r'. + +Sat Aug 3 18:41:36 1996 Andreas Schwab + + * locale/C-ctype.c (_nl_C_LC_CTYPE_toupper): Fix EOF entry. + (_nl_C_LC_CTYPE): Fix ordering. + * locale/categories.def (LC_CTYPE): Add missing ctype-class32; fix + typo. + +Sat Aug 3 12:31:06 1996 Richard Henderson + + * csu/initfini.c: Discover the maximum alignment generated by the + compiler when emitting a function. + (_init): Make sure the end of the crti fragment is aligned. + (_fini): Likewise. + +Fri Aug 2 03:12:40 1996 Ulrich Drepper + + * initfini.c: (__libc_is_static): New variable. Will be + initialized in init-first.c. Some actions in the libc work + different when libc is static or dynamic. + + * sysdeps/unix/sysv/linux/init-first.c (init): Use + `__libc_is_static' variable to determine whether call to + `personality' and `setfpucw' is necessary. When done set variable + to +-1 depending on library type. + + * locale/setlocale.c (setlocale): Use global variable + `__libc_enable_secure' instead of calling `get{,e}{g,u}id()' to + determine whether it's a SET[UG]ID program. + +Fri Aug 2 14:40:22 1996 Roland McGrath + + * Version 1.93 test release. + + * manual/Makefile: Use -include for chapters-incl too. + + * Makeconfig (+link): Add back start.o, mistakenly removed in last + change. + +Fri Aug 2 01:04:02 1996 Roland McGrath + + * nss/Makefile (generated): Add db-*.c. + + * sysdeps/i386/sysdep.h: Get generic/sysdep.h explicitly instead of + using #include_next. + + * configure.in (--enable-add-ons): Quote m4 macro args. + + * elf/rtld.c (dl_main): For --verify, fail if no dynamic section. + +Thu Aug 1 14:40:03 1996 Roland McGrath + + * sunrpc/Makefile [$(cross-compile)=no]: Test before making librpcsvc. + + * Makerules (build-shlib): Add -B$(csu-objpfx) to find crt[in].o there. + + * Makeconfig (+preinit, +postinit): Prepend $(csu-objpfx) here. + (+link): Not here. + + * stdio-common/_itoa.h (_itoa_word): Declare unused to suppress + warning when inline function is elided. + * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Likewise. + (elf_machine_runtime_setup): Likewise. + * elf/dynamic-link.h (elf_get_dynamic_info): Likewise. + * sysdeps/i386/dl-machine.h (elf_machine_got): Likewise. + (elf_machine_load_address): Likewise. + + * catgets/gencat.c: Include . + + * sysdeps/unix/mk-local_lim.c (param): Add SYMLOOP_MAX/MAXSYMLINKS. + + * login/logwtmp.c (logwtmp): Call time, not __time. + + * sysdeps/gnu/utmpbits.h (_HAVE_UT_PID): New macro. + * login/login.c (login): Test [_HAVE_UT_PID] to use ut_pid member. + * login/logwtmp.c (logwtmp): Likewise. + + * sysdeps/generic/ioctl-types.h (sizeof): Define to 0 around #if + comparing ioctl macro values. + + * sysdeps/i386/sysdep.h: Do `#include_next '. + + * manual/Makefile: Use -include for chapters to suppress warning. + + * sysdeps/stub/socket.c: Fix type of TYPE arg. + * sysdeps/stub/socketpair.c: Likewise. + + * sysdeps/stub/_exit.c (_exit): Remove obsolete __NORETURN keyword. + + * sysdeps/generic/sysdep.h: New file, broken out of ... + * sysdeps/unix/sysdep.h: ... here. + (C_LABEL): Moved out. + + * Makeconfig (soversions.mk): Don't use newfangled ${x%%y} syntax; + stick to sed. Do `exit 0' at end because while returns nonzero. + + * sysdeps/i386/sysdep.h: New file, broken out of ... + * sysdeps/unix/i386/sysdep.h: ... here. Generic asm macros moved out. + + * sysdeps/stub/stdio_lim.h (L_ctermid, L_cuserid): Macros removed. + They are defined unconditionally in libio/stdio.h. + + * elf/dl-runtime.c: Include for `NULL' defn. + * elf/dl-cache.c: Likewise. + +Mon Jul 29 19:20:05 1996 Ulrich Drepper + + * sysdeps/unix/sysv/linux/Makefile [$(subdir == misc] + (sysdep_headers): Add sys/sysmacros.h. + * sysdeps/unix/sysv/linux/sys/sysmacros.h: New file. + +Wed Jul 31 14:21:36 1996 Ulrich Drepper + + * termios/termios.h [__OPTIMIZE__]: Remove "optimization" for + tcgetattr. We have weak aliases now. + * stdlib/stdlib.h [__OPTIMIZE__ && __GNUC__ >= 2]: Remove + "optimizations" for random functions. + +Mon Jul 29 20:33:42 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/netinet/in.h (ntohl, ntohs, htonl, + htons) [__BIG_ENDIAN]: #undef them before defining to avoid + redefinition warning. + +Mon Jul 29 20:28:27 1996 Andreas Schwab + + * time/time.h: Don't optimize tzset() to __tzset() which bypasses + the __tzset_lock. + +Tue Jul 30 15:14:50 1996 Roland McGrath + + * sunrpc/rpc/pmap_clnt.h: Fix botched patch for multiple inclusion + protection. + +Tue Jul 30 02:48:28 1996 Ulrich Drepper + + * locale/loadlocale.c (_nl_load_locale): Change cast to `size_t' + to be 64-bit clean. + Reported by Richard Henderson . + +Tue Jul 30 15:04:50 1996 Roland McGrath + + * locale/programs/ld-collate.c (collate_output): Fix typo reported by + David Miller. + +Tue Jul 30 13:23:13 1996 Ulrich Drepper + + * locale/setlocale.c (setlocale): Don't try to free C locale + data. + Reported by Matthias Urlichs. + +Tue Jul 30 14:35:17 1996 Miles Bader + + * sysdeps/mach/hurd/dl-sysdep.c (__open): Use open_file. + (open_file): New function, contents mostly from __open. + (_dl_sysdep_read_whole_file): New function. + +Sat Jul 27 11:23:59 1996 Miles Bader + + * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Quote + `..' dots in sed search string. + +Mon Jul 29 01:27:07 1996 Roland McGrath + + * sunrpc/rpc/rpc_msg.h: Fix botched patch for multiple inclusion + protection. + +Sun Jul 28 23:46:14 1996 Roland McGrath + + * configure.in: Grok `--enable-add-ons=DIR1,DIR2,...', and configure + in those directories. + * config.make.in (add-ons): New varaible, set from @subdirs@. + * Makefile (subdirs): Added $(add-ons) at the end. + + * time/strftime.c (strftime: do_number): Initialize PRINTED to + MAXDIGITS in case P is null and so sprintf is never actually called. + +Mon Jul 29 02:46:23 1996 Ulrich Drepper + + Add support for the to-be-written internationalized regexp. + This code must be able to use collation symbols and collation + equivalent classes. + * locale/C-collate.c (_nl_C_LC_COLLATE_symbol_hash, + _nl_C_LC_COLLATE_symbol_strings, _nl_C_LC_COLLATE_symbol_classes): + New global variables for collation classes. + * locale/categories.def: Add new descriptions for collation symbols + and collation classes. + * locale/langinfo.h: Add constants for collation symbols and + collation classes. + * locale/lc-collate.c: Add new global variables for collation symbols + and collation classes. + (_nl_postload_collate): Initialize new variables. + * locale/programs/ld-collate.c: Add code to emit tables for + collation symbols and collation classes. + * locale/programs/locales.h: Change prototype for `collate_output'. + * locale/programs/locfile.c (write_all_categories): Call + `collate_output' with new argument. + * locale/localeinfo.h: Add declaration for new global vars. + (union locale_data_value): New member wstr for `wchar_t' strings. + * locale/programs/locale-spec.c: Handle `collate-classes' + keyword and print information about available collation classes. + * locale/strlen-hash.h: New file. Simple hashing function which + takes a string with known length. + * locale/Makefile (distribute): Add strlen-hash.h. + (locale-modules): New var. Additional files for `locale' program. + + * locale/C-ctype.c: Rewrite to avoid using string for giving values + which are of type `u_int32_t'. + Correct entry for EOF in toupper and tolower tables. + + * locale/loadlocale.c (_nl_load_locale): Add cast to prevent + warning. + + * locale/programs/ld-ctype.c (ctype_output): Add code to make + sure that all tables in binary file are word-aligned. + + * locale/programs/locfile.c (write_locale_data): Correct handling + of LC_MESSAGES locale. Create directory if necessary. + + * locale/setlocale.c (setlocale): Add cast to avoid warning. + + * string/string.h: Add prototype for `__strndup'. + +Wed Jul 24 19:10:00 1996 Andreas Schwab + + * wcsmbs/mbrtowc.c: Remove unused variable. + +Sun Jul 28 22:40:25 1996 Roland McGrath + + * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): Update to + 2.0.10; some problems were reported with an earlier version, and this + one is known to work. + + * sysdeps/generic/dl-sysdep.c (__libc_enable_secure): New variable. + * sysdeps/mach/hurd/dl-sysdep.c: Likewise. + +Sat Jul 27 13:02:09 1996 Ulrich Drepper + + * elf/rtld.c (dl_main): Ignore arguments when environment variable + LD_TRACE_LOADED_OBJECTS is set. + +Sun Jul 28 19:42:51 1996 Roland McGrath + + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Initialize + __libc_enable_secure instead of _dl_secure. + * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise. + * elf/dl-load.c (_dl_map_object): Check __libc_enable_secure instead + of _dl_secure. + * elf/Makefile (routines): Add enbl-secure. + (elide-routines.so): Here too. + * sysdeps/generic/enbl-secure.c: New file. + * posix/unistd.h [__USE_GNU]: Declare `__libc_enable_secure' flag. + * elf/dl-support.c (_dl_secure): Variable removed. + * elf/rtld.c: Likewise. Replace all uses with __libc_enable_secure. + +Sun Jul 28 19:26:40 1996 David S. Miller + + * sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): + Declare _dl_runtime_resolve with __attribute__ ((unused)) so the + compiler doesn't elide it. + (elf_machine_rel): Follow Jul 14 change in sysdeps/i386/dl-machine.h. + +Sat Jul 27 02:58:49 1996 Roland McGrath + + * elf/rtld.c (dl_main): Take new option --verify when run directly. + In verify mode, exit with status zero iff the argument object's + PT_INTERP matches argv[0]. + * elf/ldd.sh.in: Use ${RTLD} --verify and only run the program if it + exits with zero status. This makes `ldd' secure again. + +Fri Jul 26 22:49:58 1996 Ulrich Drepper + + * elf/rtld.c (dl_main): Implement LD_TRACE_LOADED_OBJECTS + environment variable handling. This makes the dynamic linker + only print loaded libraries and quit. + + * elf/ldd.sh.in: Don't use `rtld --list' but instead + LD_TRACE_LOADED_OBJECTS environment variable to print needed + objects. + +Sat Jul 27 02:03:26 1996 Roland McGrath + + * db/makedb.c (main): Print version on stdout, not stderr. Don't exit + after printing version until after doing usage for --help. + (long_options, main, usage): Rename -l/--lowercase option to + -f/--fold-case (-f matches sort). + +Sat Jul 27 04:32:31 1996 Ulrich Drepper + + * db/makedb.c: New file. Implement program to create simple + database from textual input. This will be used for nss_db. + +Sat Jul 27 01:24:05 1996 Roland McGrath + + * sunrpc/rpc/auth_unix.h: Fix misapplied patches in last changes. + * sunrpc/rpc/pmap_clnt.h: Likewise. + * sunrpc/rpc/auth.h: Likewise. + * sunrpc/rpc/pmap_rmt.h: Likewise. + * sunrpc/rpc/rpc_msg.h: Likewise. + +Sat Jul 27 04:37:34 1996 Ulrich Drepper + + * string/string.h (strndupa): Change to use return value of + `memcpy' for more performance. * string/strndup.c: Likewise. - * string/strnlen.c: Likewise. - * string/strsignal.c: Likewise. - * string/strxfrm.c: Likewise. - * string/test-ffs.c: Likewise. - * string/testcopy.c: Likewise. - * sysdeps/generic/enbl-secure.c: Likewise. - * sysdeps/generic/memcopy.h: Likewise. - * sysdeps/generic/stpncpy.c: Likewise. - * sysdeps/generic/strcasecmp.c: Likewise. - * sysdeps/generic/strcat.c: Likewise. - * sysdeps/generic/strchr.c: Likewise. - * sysdeps/generic/strcpy.c: Likewise. - * sysdeps/generic/strcspn.c: Likewise. - * sysdeps/generic/strlen.c: Likewise. - * sysdeps/generic/strncase.c: Likewise. - * sysdeps/generic/strncat.c: Likewise. - * sysdeps/generic/strncpy.c: Likewise. - * sysdeps/generic/strpbrk.c: Likewise. - * sysdeps/generic/strsep.c: Likewise. - * sysdeps/generic/strspn.c: Likewise. - * sysdeps/generic/strstr.c: Likewise. - * sysdeps/generic/strtok.c: Likewise. - * sysdeps/generic/strtok_r.c: Likewise. - * sysdeps/mach/sleep.c: Likewise. - * sysdeps/posix/sleep.c: Likewise. - * sysdeps/stub/sleep.c: Likewise. - * time/date.c: Likewise. - * time/test_time.c: Likewise. - * wcsmbs/wmemcpy.c: Likewise. - * wctye/test_wctype.c: Likewise. - * wctye/towctrans.c: Likewise. - * wctye/wcfuncs.c: Likewise. - * wctye/wctrans.c: Likewise. -1997-02-13 22:15 Miles Bader + * string/string.h (strdupa): Don't call __builtin_alloca in argument. + This might lead to problems. + (strndupa): Likewise. - * argp/Makefile: New file. - * argp/argp.h: Likewise. - * argp/argp-ba.c: Likewise. - * argp/argp-fmtstream.c: Likewise. - * argp/argp-fmtstream.h: Likewise. - * argp/argp-fs-xinl.c: Likewise. - * argp/argp-help.c: Likewise. - * argp/argp-namefrob.h: Likewise. - * argp/argp-parse.c: Likewise. - * argp/argp-pv.c: Likewise. - * argp/argp-pvh.c: Likewise. - * argp/argp-test.c: Likewise. - * argp/argp-xinl.c: Likewise. +Fri Jul 26 15:24:25 1996 Ulrich Drepper -1997-02-13 11:44 Andreas Jaeger + * sunrpc/rpc/auth.h: Add protection against multiple inclusion + and change K&R prototypes to ANSI prototypes. + * sunrpc/rpc/auth_unix.h: Ditto. + * sunrpc/rpc/clnt.h: Ditto. + * sunrpc/rpc/pmap_clnt.h: Ditto. + * sunrpc/rpc/pmap_prot.h: Ditto. + * sunrpc/rpc/pmap_rmt.h: Ditto. + * sunrpc/rpc/rpc_msg.h: Ditto. + * sunrpc/rpc/svc.h: Ditto. + * sunrpc/rpc/svc_auth.h: Ditto. + * sunrpc/rpc/xdr.h: Ditto. - * stdlib/qsort.c: Add prototype for _quicksort. +Fri Jul 26 20:39:42 1996 Roland McGrath - * stdlib/msort.c (qsort): Correct prototype for _quicksort. + * ctype/test_ctype.c: Test EOF too. - * sysdeps/i386/Makefile (CFLAGS-rtld.c): Change to prevent warning - from dl-machine.h. +Fri Jul 26 18:06:58 1996 Ulrich Drepper -1997-02-13 18:18 Marcus G. Daniels + * sunrpc/rpc/auth.h: Add __BEGIN_DECLS and __END_DECLS. + * sunrpc/rpc/auth_unix.h: Likewise. + * sunrpc/rpc/clnt.h: Likewise. + * sunrpc/rpc/netdb.h: Likewise. + * sunrpc/rpc/pmap_clnt.h: Likewise. + * sunrpc/rpc/pmap_prot.h: Likewise. + * sunrpc/rpc/rpc_msg.h: Likewise. + * sunrpc/rpc/svc.h: Likewise. + * sunrpc/rpc/svc_auth.h: Likewise. + * sunrpc/rpc/xdr.h: Likewise. + + * sunrpc/rpc/pmap_clnt.h: Move definition of type `resultproc_t' + to here from... + * sunrpc/pmap_rmt.c: ...here. + +Fri Jul 26 16:10:43 1996 Miles Bader + + * login/pututline_r.c (pututline_r): Only call getutid_r if ID has a + valid ut_id field. + * login/getutid_r.c (getutid_r): Mark UTMP_DATA->loc_utmp invalid + if a search fails. + +Fri Jul 26 00:36:50 1996 Roland McGrath + + * sysdeps/mips/dl-machine.h: New file, contributed by Kazumoto Kojima + . + +Fri Jul 26 04:41:28 1996 Ulrich Drepper - * sysdeps/generic/dl-cache.c: Don't hardwire name of cache file. - Allow user to overwrite it. + * intl/libintl.h: Define optimizing macros if __OPTIMIZE__ is + defined, not __OPTIMIZED. + (_nl_msg_cat_cntr): Move declaration outside macro definition + to prevent "nested extern" warning. + (dcgettext): Rename local variable `result' to `__result'. + +Thu Jul 25 22:46:30 1996 Roland McGrath -1997-02-13 17:55 Ulrich Drepper + * locale/programs/localedef.c (__progname): Remove decl. + (main): Use program_invocation_short_name instead of __progname. + (usage): Use program_invocation_name instead of __progname. - * libio/_G_config.h: Make sure wint_t is also defined for old gcc - versions. Reported by Andreas Jaeger. +Fri Jul 26 03:46:08 1996 Ulrich Drepper -1997-02-13 11:44 Andreas Jaeger + * catgets/gencat.c: Use "libc" instead of PACKAGE. + * locale/localedef.c: Ditto. + * locale/locale.c: Ditto. - * time/tzfile.c (__tzfile_read): Change comment to follow - change of 1997-02-12. + * locale/findlocale.c (_nl_find_locale): Little optimization. + Use new function `strndup'. -1997-02-13 02:32 Ulrich Drepper + * locale/loadlocale.c: Little optimization. Use constant value + from `_nl_category_num_items' instead of byte-order dependend + value from file. - * time/time.h (__nanosleep): Define only when struct timespec is - also available. - Reported by Ross Alexander . + * locale/programs/ld-time.c (time_add): Correct string constant. -1997-02-12 21:34 a sun + * locale/programs/locale-spec.c: New file. + * locale/programs/locale.c: Call `locale_special' function if + no other field matches. - * sysdeps/unix/sysv/linux/netinet/udp.h: New file. - * sysdeps/unix/sysv/linux/Dist: Add netinet/udp.h. + * locale/programs/localedef.c: No need to define `program_name'. + Use global variable `__progname'. -1997-02-12 21:16 Ulrich Drepper + * locale/programs/locfile.c (write_locale_data): Always write + LC_MESSAGES data in LC_MESSAGES/SYS_LC_MESSAGES file. This is + necessary since message catalogs are also installed in the + LC_MESSAGES/ directory. - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname_r): Follow patch - of 1997-02-09 in resolv/gethnamaddr.c. + * locale/programs/stringtrans.c (ADDC): Correctly use `encode_char' + function instead of writing single bytes. + (encode_char): Also handle little endian. -1997-02-11 18:52 H.J. Lu + * locale/setlocale.c (new_composite_name): Little optimization. + Use return value of `memcpy'. - * libio/_G_config.h (_G_wint_t): New. + * misc/ttyent.h: Pretty print prototypes, add missing parameter + names, prepend parameter names with __ and use `__const' instead + of `const'. + * posix/unistd.h: Ditto. + * stdlib/stdlib.h: Ditto. + * string/string.h: Ditto. -1997-02-09 11:31 H.J. Lu + * posix/getconf.c: De-ANSI-fy. Recognize POSIX.2 constant names. + Use `error' function instead of doing it by hand. + * sysdeps/posix/sysconf.c: De-ANSI-fy. + Handle _SC_COLL_WEIGHTS_MAX. + * sysdeps/stub/sysconf.c: Handle _SC_CHARCLASS_NAME_MAX, + _SC_COLL_WEIGHTS_MAX, _SC_EQUIV_CLASS_MAX, _SC_2_LOCALEDEF + since these do not depend on the platform. + Add POSIX.4 symbols. - * resolv/gethnamaddr.c (gethostbyname2): Change sizeof (buf) - to sizeof (buf.buf) while calling res_search (). + * posix/posix2_lim.h: Add missing definition of + _POSIX2_COLL_WEIGHTS_MAX. + Change _POSIX2_EQUIV_CLASS_MAX and _POSIX2_CHARCLASS_NAME_MAX + to high values since we have no fixed limit. -1997-02-03 20:01 H.J. Lu + * sysdeps/generic/confname.h: Add _SC_PAGE_SIZE as alias for + _SC_PAGESIZE for buggy systems (= HP UX) out there. - * nis/rpcsvc/yp_prot.h (ypresp_key_val): Change key to keydat, - val to keydat, stat to status. + * wcsmbs/Makefile (routines): Add mbsnrtowcs and wcsnrtombs. + * wcsmbs/mbsnrtowcs.c: New file. Non-standard implementation. + * wcsmbs/wcsnrtombs.c: Ditto. + * wcsmbs/wchar.h [__USE_GNU]: Add prototypes for mbsnrtowcs and + wcsnrtombs. -1997-02-12 20:45 Andreas Jaeger +Thu Jul 25 00:25:54 Richard Henderson - * time/tzfile.c (__tzfile_read): Fix problem with SUID programs. + * nss/nss_db/db-XXX.c: Kill trailing ; from lock defn as a matter of + course. + * nss/getXXent_r.c: Likewise. + * nss/nsswitch.c: Likewise. + * nss/nss_files/files-XXX.c: Likewise. + * sysdeps/mach/hurd/dirstream.h (struct __dirstream): Likewise. + * sysdeps/unix/bsd/telldir.c (struct record): Likewise. + * sysdeps/unix/dirstream.h (struct __dirstream): Likewise. -1997-02-12 19:55 Ulrich Drepper +Thu Jul 25 00:53:06 1996 Roland McGrath - * db/btree/bt_split.c (bt_psplit): Apply official patches #2 and #4 - by Keith Bostic. + * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): New + macro, now put the needed Linux version just once, here; update to + needing linux-2.0.3 headers. + (libc_cv_linuxVER): New macro derived from that. + (kernel header check): Use those macros and some m4 magic to replace + hard-coded `201' and `2.0.1' in several places. -1997-02-11 14:49 Andreas Jaeger + * Makerules ($(libdir)/libc.so): Fix typos in generated comment. - * stdlib/atoll.c: Undefine atoll, not atol. +Wed Jul 24 17:02:30 1996 Ulrich Drepper -1997-02-08 09:36 Andreas Schwab + * time/localtime.c: Move lock variable declaration to end of + variable declarations since if is a dummy macro the ; at the + end terminates the variable section of the function. - * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Remove - unused arguments of shell script. + * time/tzset.c: Undefine `tzset' before function declaration. + Use `weak_function' macro instead of `weak_symbol'. - * Makeconfig (all-object-suffixes): New variable. - * Makerules ($(+sysdir_pfx)sysd-rules, +make-deps): Use it instead - of $(object-suffixes). - * sysdeps/unix/make-syscalls.sh: Likewise. Fix comment. +Wed Jul 24 18:57:33 1996 Ulrich Drepper -1997-02-10 17:45 Ulrich Drepper + * stdlib/strtouq.c: Additional weak alias is `strtoull', not + `strotull'. - * string/argz-ctsep.c: Initialize *LEN when successful. +Wed Jul 24 18:26:23 1996 Ulrich Drepper -1997-02-09 04:35 Ulrich Drepper + * locale/C-ctype.c: Increment number of fields after change + from Wed Jun 19 03:24:58 1996. - * stdio-common/_itoa.h: Update copyright. +Tue Jul 23 18:13:37 1996 Roland McGrath -1997-02-09 02:59 Ulrich Drepper + * sysdeps/mach/hurd/Makefile (rpcuserlibs): New variable. + ($(common-objpfx)libc.so): Move deps into that, use it. + [$(subdir) = elf] ($(objpfx)librtld.so): Depend on + $(rpcuserlibs:.so=_pic.a). + * elf/Makefile ($(objpfx)librtld.so): Just depend on libc_pic.a; don't + use $(LDLIBS-c.so). - * version.h (VERSION): Bump to 2.0.2. +Thu Jul 18 21:41:25 1996 Andreas Schwab - * posix/Makefile (routines): Add getopt_init. - * posix/getopt.c: Don't get environment variable with nonoption - flags here. Depend on __getopt_nonoption_flags variable filled - somewhere else. This is necessary since the variable must be - removed even when getopt isn't used in case exec(2) gets called. - * posix/getopt_init.c: New file. Initialize __getopt_nonoption_flags - and remove environment variable. - * sysdeps/i386/init-first.c: Call __getopt_clean_environment. - * sysdeps/mach/hurd/i386/init-first.c: Likewise. - * sysdeps/stub/init-first.c: Likewise. - * sysdeps/unix/sysv/linux/init-first.c: Likewise. + * sysdeps/generic/stpncpy.c: Fix semantics to make `stpncpy (d, s, + n)' equivalent to `strncpy (d, s, n), d += strnlen (d, n)'. - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Recognize - AT_PAGESZ entry in auxiliary vector and store value in _dl_pagesize. +Tue Jul 23 02:49:58 1996 Ulrich Drepper - * sysdeps/generic/crypt-entry.h: Return EOPNOTSUPP when DES - encryption is wanted. + * locale/iso-4217.def: Add India to comment for symbol "INR ". + Reported by Raja R Harinath . - * libio/vsnprintf.c: If MAXLEN is 0 return 0. - * stdio/vsnprintf.c: Likewise. - Reported by Philip Blundell . +Sat Jul 20 14:03:45 1996 Andreas Schwab - * libio/vsnprintf.c: If MAXLEN is 0 return 0. - * stdio/vsnprintf.c: Likewise. - Reported by Philip Blundell . + * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove bogus + #undef RESOLVE. -1997-02-07 17:43 Ulrich Drepper +Sun Jul 21 06:48:38 1996 Roland McGrath - * sysdeps/generic/sysd-stdio.c: Include . - Change PTR to void *. - * sysdeps/posix/vdprintf.c: Change PTR to void *. - Reported by Brian Oxley . + * time/tzset.c: Include . + (__tzset_lock): New lock variable. + (tzset): New function (weak defn), no longer weak alias for __tzset. + Call __tzset while holding __tzset_lock. + * time/localtime.c: Include . + (__localtime_r): Hold __tzset_lock while doing the work. -1997-02-07 17:41 Philip Blundell + * sysdeps/generic/setenv.c (__environ): Change conditional for #define + from [!HAVE_GNU_LD] to [!_LIBC]. + [_LIBC]: Include and define a lock. + (LOCK, UNLOCK): New macros, no-ops for [! _LIBC]. + (setenv, unsetenv): Use them. - * sysdeps/unix/sysv/linux/socketbits.h: Fix typo. +Sun Jul 21 01:44:39 1996 Miles Bader -1997-02-06 13:49 Andreas Schwab + * locale/programs/locfile.c (write_locale_data): Deal with missing + UIO_MAXIOV. - * rellns-sh: No need to check for existance of first parameter. + * sysdeps/mach/hurd/socket.c (socket): Make TYPE an int. + * sysdeps/mach/hurd/socketpair.c (socketpair): Likewise. -1997-02-06 13:49 Andreas Schwab +Sat Jul 20 21:55:31 1996 Roland McGrath - * rellns-sh: No need to check for existance of first parameter. + Win32 hacks from . + * posix/glob.c [WIN32]: Don't include ; don't use d_ino; + use void * for my_realloc; include for alloca. + (glob) [WIN32]: Use "c:/users/default" for ~ if no HOME variable. + * posix/fnmatch.h [WIN32]: Use prototypes even if [!__STDC__]. + * posix/glob.h: Likewise. -1997-02-06 14:50 Andreas Schwab +Sat Jul 20 13:28:52 1996 Miles Bader - * sysdeps/posix/getcwd.c (__getcwd): Fix resource leaks. Reported - by David Holland . + * sysdeps/mach/hurd/select.c (__select): Don't poll on the last + call __io_select unless there's only a single descriptor, as each + descriptor now has its own reply port. + If there is only a single descriptor, just use its reply port for + everything and don't bother creating the port set. -1997-02-06 14:38 Andreas Schwab + * sysdeps/mach/hurd/uname.c (uname): Deref UNAME to get nodename. + : New include. - * sunrpc/clnt_tcp.c (readtcp): Pass copy of timeout value to - select, in case it is modified by the latter. - * sunrpc/clnt_udp.c (clntudp_call): Likewise. - * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise. - * sunrpc/svc_tcp.c (readtcp): Likewise. + * sysdeps/mach/libc-lock.h (__libc_lock_define): Backslashify + continuation line. - * sunrpc/svc_authux.c (_svcauth_unix): Fix type of area_gids - array. +Sat Jul 20 07:15:33 1996 Roland McGrath - * sunrpc/authuxprot.c (xdr_authunix_parms): Check size of uid_t - and gid_t. + * crypt/Makefile, crypt/nocrypt.c: Removed. It is illegal to export + from the USA any software that even makes it easy to drop in an + encryption module of foreign origin. + * Makerules (cryptobjdir): Variable removed. + ($(libdir)/libc.so): Remove dep on libcrypt.so$(libcrypt.so-version). + * Makefile (subdirs): Remove crypt. - * sunrpc/auth_unix.c (authunix_validate): Fix type of second - argument. +Fri Jul 19 15:45:20 1996 Ulrich Drepper -1997-02-06 14:29 Andreas Schwab + * locale/C-messages.c (_nl_C_LC_MESSAGES): Add missing Kleene + operator to yesexpr and noexpr string. - * elf/Makefile (extra-objs): Don't zap previous value. - * Makefile (before-compile): Likewise. Don't add gnu/lib-names.h - twice. +Fri Jul 19 15:10:37 1996 David Mosberger-Tang -1997-02-06 14:19 Andreas Schwab + * sunrpc/xdr_mem.c (xdrmem_putlong): Don't cast LP to int32 (the + old code would have failed on a big-endian 64-bit architecture). + * sunrpc/xdr_stdio.c (xdrstdio_putlong): Ditto. - * sysdeps/unix/sysv/linux/m68k/brk.c: Add workaround for - braindamage (sigh!). + * sunrpc/xdr.c (xdr_int): Handle XDR_FREE case. + (xdr_u_long): Use switch instead of chain of if-statements. + Remove gratitous parentheses around return expressions. + (xdr_enum): Open code case where INT_MAX + * sunrpc/svc.c (svc_getreqset): Increment SOCK by 32, not NFDBITS. - * manual/memory.texi: Correct `copystring' example for obstacks. + * sunrpc/portmap.c (reg_service): Declare ANS and PORT as long, + not int. -1997-02-06 14:10 Ulrich Drepper +Fri Jul 19 16:56:41 1996 Roland McGrath - * Makeconfig: Don't use [:lower:] and [:upper:] in tr since old - GNU tr don't grok it. + * dlfcn.h, db.h: New wrapper headers. -1997-02-03 21:13 Andreas Schwab + * posix/glob.h [!_AMIGA && !VMS]: Check this instead of just [!_AMIGA] + for `struct stat;' forward decl. - * sysdeps/unix/sysv/linux/socketbits.h [__GNUC__<2] (struct cmsghdr): - Don't use GNU C extensions. - (CMSG_DATA): Use portable definition. +Fri Jul 19 22:25:19 1996 Ulrich Drepper -1997-02-05 05:58 Ulrich Drepper + * locale/iso-4217.def: Add some more standardized currency + symbols. - * elf/ldd.bash.in: Add test for read permission and print appropriate - message. Change warning and error messages to print "ldd: " at start. - * elf/ldd.sh.in: Likewise. +Fri Jul 19 13:18:02 1996 Roland McGrath - * stdlib/Makefile (routines): Add atoll. - * stdlib/atoll.c: New file. - * stdlib/stdlib.h: Add prototype and optimization for atoll. + * hurd/report-wait.c (describe_number): Use unsigned long int for J. - * stdlib/a64l.c: Update copyright. - * stdlib/abs.c: Likewise. - * stdlib/atof.c: Likewise. - * stdlib/atoi.c: Likewise. - * stdlib/atol.c: Likewise. - * stdlib/bsearch.c: Likewise. - * stdlib/exit.c: Likewise. - * stdlib/fpioconst.c: Likewise. - * stdlib/fpioconst.h: Likewise. - * stdlib/jrand48.c: Likewise. - * stdlib/jrand48_r.c: Likewise. - * stdlib/labs.c: Likewise. - * stdlib/lcong48.c: Likewise. - * stdlib/lcong48_r.c: Likewise. - * stdlib/llabs.c: Likewise. - * stdlib/lrand48.c: Likewise. - * stdlib/lrand48_r.c: Likewise. - * stdlib/mblen.c: Likewise. - * stdlib/mbstowcs.c: Likewise. - * stdlib/mbtowc.c: Likewise. - * stdlib/mp_clz_tab.c: Likewise. - * stdlib/mrand48.c: Likewise. - * stdlib/mrand48_r.c: Likewise. - * stdlib/msort.c: Likewise. - * stdlib/nrand48.c: Likewise. - * stdlib/nrand48_r.c: Likewise. - * stdlib/qsort.c: Likewise. - * stdlib/rpmatch.c: Likewise. - * stdlib/seed48.c: Likewise. - * stdlib/seed48_r.c: Likewise. - * stdlib/srand48.c: Likewise. - * stdlib/srand48_r.c: Likewise. +Thu Jul 18 12:33:57 1996 Roland McGrath + + * Rules (dummy.o, empty.o): Targets removed. + (dummy.c, empty.c): New targets replace them. + +Thu Jul 18 11:42:39 1996 Roland McGrath + + * crypt/Makefile (lib-noranlib): Depend on + $(objpfx)libcrypt.so$(libcrypt.so-version). + (subdir): Fix name. + +Thu Jul 18 04:33:21 1996 Roland McGrath + + * sysdeps/mach/hurd/errnos.awk: Move EWOULDBLOCK check before errno==0 + check. mib's clueless hacking broke it. + +Thu Jul 18 04:27:21 1996 Roland McGrath + + * Makerules ($(libdir)/libc.so): Add missing / after $(cryptobjdir). + +Wed Jul 17 10:54:20 1996 David Mosberger-Tang + + * misc/sys/ustat.h: New file. + * misc/ustat.h: Ditto. + * sysdeps/generic/ustatbits.h: Ditto. + * sysdeps/stub/ustat.c: Ditto. + * sysdeps/unix/sysv/linux/ustatbits.h: Ditto. + * misc/Makefile (headers): Mention ustat.h, sys/ustat.h, and + ustatbits.h. + (routines): Mention ustat. + + * sysdeps/unix/sysv/linux/alpha/start.S: Move to ... + * sysdeps/alpha/elf/start.S: here. + + * sysdeps/unix/sysv/linux/syscalls.list: Mention klogctl in + alphabetically correct place. Mention ustat. + + * sysdeps/unix/alpha/sysdep.S: Make errno a bss symbol, not a + common symbol (makes errno accessible from gdb). + + * login/pututline_r.c (pututline_r): Test ut_id in repositioning + test, not ut_type. + + * login/logwtmp.c (logwtmp): Reimplemented. Must ensure that a + record always gets appended at end of file (wtmp is a log file, + after all). Set ut_type to DEAD_PROCESS if name is empty. + + * login/getutid_r.c (getutid_r): Handle search for UT_TYPE in + separate loop from search for UT_ID. Fix code so it is in + sync with Unix man page. + + * login/getutline_r.c (getutline_r): Stop searching only if + ut_line matches and type is either USER_PROCESS or LOGIN_PROCESS. + +Tue Jul 16 15:06:18 1996 David Mosberger-Tang + + * sysdeps/unix/sysv/linux/netinet/in.h: Base on to + avoid duplicate declarations. + +Sun Jul 14 19:08:55 1996 David Mosberger-Tang + + * manual/maint.texi (Supported Configurations): Add alpha-gnu-linux + and alpha-gnu-linuxecoff targets. + +Fri Jul 12 16:58:44 1996 David Mosberger-Tang + + * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport(). + +Sat Jun 22 23:30:07 1996 David Mosberger-Tang + + * resolv/res_send.c (res_send): Declare FROMLEN as size_t instead + of int. + + * resolv/res_comp.c (res_hnok): Use empty statement in place + of NULL (which generates a "useless expression" warning in + gcc). + +Wed Jul 17 23:56:35 1996 Roland McGrath + + * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Replace ../ + with $(..) in output. + +Wed Jul 17 21:53:45 1996 Roland McGrath + + * elf/Makefile (dl-routines): Add dl-cache. + * elf/dl-cache.c: New file. + * elf/dl-load.c (_dl_map_object): Check cache before default path. + +Wed Jul 17 20:41:30 1996 Ulrich Drepper + + * stdio-common/vfscanf.c: Major change. Now read character + from stream only if needed. Before it was read after the + previous character was used. + Bug reported by Martin Goik + + * stdio-common/tstscanf.c: Change test program so that return + value is != 0 if one test failed. + +Wed Jul 17 17:08:48 1996 Roland McGrath + + * sysdeps/m68k/Makefile (crypt): Variable removed. + * sysdeps/sparc/Makefile: Likewise. + + * version.h (VERSION): Update to 1.93. + + * Makerules ($(libdir)/libc.so): Depend on + $(common-objpfx)libcrypt.so$(libcrypt.so-version). + + * crypt/nocrypt.c: New file. + * Makefile (subdirs): Add crypt. + * crypt/Makefile: New file. + + * Makerules (soversions.mk): Move this target, include of it, and + include of version.mk to ... + * Makeconfig: ... here. + (soversions.mk): Depend on Makeconfig instead of Makerules. + + * shlib-versions (*-*-*): Set libcrypt=0. + +Wed Jul 17 11:29:26 1996 Miles Bader + + * stdio/linewrap.c (lwupdate): Fix boundary condition where a + word extends right up to rmargin. + + * stdio/linewrap.c (lwupdate): When we've done a word wrap and + output the wrap margin, set point_col to wmargin. + Use negative point_col to deal with a wmargin of 0. + (line_wrap_point): Return 0 for a negative point_col. + (line_wrap_stream): Make wmargin ssize_t. + * stdio/linewrap.h (struct line_wrap_data): Make wmargin & + point_col ssize_t. + (line_wrap_stream): Make wmargin ssize_t. + (line_wrap_point): Return 0 for a negative point_col. + +Wed Jul 17 02:43:28 1996 Roland McGrath + + * shlib-versions (*-*-gnu*): Set libc=0.0 + +Tue Jul 16 01:52:42 1996 Andreas Schwab + + * sysdeps/m68k/dl-machine.h: Follow Jul 14 change in + sysdeps/i386/dl-machine.h. + +Tue Jul 16 00:18:19 1996 Miles Bader + + * stdio/linewrap.c (__line_wrap_update): Add hackery from flshfp + to fiddle __put_limit in conjunction with __linebuf_active. + +Tue Jul 16 00:14:07 1996 Andreas Schwab + + * sysdeps/unix/inet/syscalls.list (connect, send): Add underscores + to the strong name, not the file name. + +Tue Jul 16 16:43:58 1996 Roland McGrath + + * csu/initfini.c: More magic. Detect if .end is produced and put it + in the output iff the compiler does. + + * elf/dl-lookup.c (_dl_lookup_symbol): Avoid sizeof dynamic auto array + because that is broken on alpha. + + * sysdeps/mach/hurd/mmap.c: Use same inheritance arg in second vm_map + call as in first. + + * Makerules (make-link): Install the new link with atomic mv -f in + case ln itself requires the library being installed. + +Tue Jul 16 00:31:31 1996 Richard Henderson + + * sysdeps/alpha/dl-machine.h: Mirror Roland's changes to + i386/dl-machine.h of 960713. + + * sysdeps/generic/dl-sysdep.c: Include . + (_dl_sysdep_read_whole_file): Fix result variable declaration. + +Tue Jul 16 00:53:57 1996 Roland McGrath + + * sysdeps/mach/hurd/uname.c: Call __gethostname to fill in the + `nodename' member. + +Mon Jul 15 17:23:53 1996 Ulrich Drepper + + * stdio-common/vfprintf.c (vfprintf): Call parse_one_spec + with pointer to local variable instead of NULL. + +1996-07-15 Paul Eggert + + * time/strftime.c (strftime): Don't pass empty macro argument to `add'. + +Sat Jul 13 09:53:39 1996 Andreas Schwab + + * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove names + that are already added by other means. + + * sysdeps/unix/sysv/linux/syscalls.list: Add more EXTRA's in the + caller column to get those syscalls added automagically. + +Mon Jul 15 12:24:54 1996 Miles Bader + + * login/logout.c (logout): Initialize DATA to a state that will + make setutent_r happy. + +Sun Jul 14 01:51:39 1996 Roland McGrath + + * elf/rtld.c (dl_main) [ELF_MACHINE_DEBUG_SETUP]: Use this macro + instead of setting the DT_DEBUG pointer. + + * csu/initfini.c (_init, _fini): Generate .end directives after + standalone prologues and filter them out from epilogues. + + * Makeconfig (rtld-installed-name): Set to ld.so.1. + * sysdeps/unix/sysv/linux/Makefile (rtld-installed-name): Variable + removed. + + * manual/Makefile (glibc-targets): Remove subdir_ from elts. + + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): New fn. + + * MakeTAGS (extract): Pass --add-comments=TRANS. + * sysdeps/gnu/errlist.awk: Write comments into the output with the + descriptive paragraphs from the manual preceded by TRANS. + + * elf/rtld.c (RESOLVE): Use the dl's load address, not a constant zero! + (_dl_start): Move RESOLVE defn inside this function and #include + "dynamic-link.h" a second time there. + [RTLD_START]: Move use of this after _dl_start function. + + * elf/dl-reloc.c: Include "dynamic-link.h" at file scope. + + * elf/rtld.c: Include . + + * elf/dynamic-link.h (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA, + ELF_DYNAMIC_RELOCATE): No longer take RESOLVE argument. + Conditionalize defns on [RESOLVE]. + * elf/do-rel.h (elf_dynamic_do_rel): Likewise. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. + Instead use RESOLVE macro with same args. + (elf_machine_rel): Conditionalize defn on [RESOLVE]. + * elf/dl-reloc.c (RESOLVE): New macro, define before including + "dynamic-link.h". It replaces `resolve' local function. + * elf/dl-runtime.c: Likewise. + * elf/rtld.c: Likewise. + + * elf/dl-deps.c (_dl_map_object_deps): Start TAILP at last preload. + + * elf/dl-open.c (_dl_open): Force an indirect call for + _dl_relocate_object so there is no chance a PLT fixup will be done + and clobber _dl_global_scope before our call happens. + + * sysdeps/i386/fpu/__math.h (tan): Correct output constraint from =u + to =t; must operate on top of fp reg stack, not second from top. + Correct input constraint to 0 from t; must be explicit when input and + output are the same register. + (floor): Use __volatile instead of volatile. + (ceil): Likewise. + + * manual/Makefile ($(objpfx)stamp%-$(subdir)): Separate rule from + other targets. + +Sat Jul 13 23:50:17 1996 Roland McGrath + + * manual/Makefile (lib): New phony target. Depend on stamp files. + ($(objpfx)stamp%-$(subdir)): New rule to create them when necessary. + +1996-07-13 Paul Eggert + + * time/strftime.c (strftime): Use space padding for %e, %k, %l, + to match Emacs format-time-string specification. + (DO_NUMBER_SPACEPAD): Renamed from DO_NUMBER_NOPAD. + +Sat Jul 13 20:17:38 1996 Roland McGrath + + * elf/dl-deps.c (_dl_map_object_deps): Take new args PRELOADS and + NPRELOADS, vector of `struct link_map *'s; add them to the searchlist + between MAP and its deps. + * elf/link.h: Fix decl. + * elf/rtld.c (dl_main): If not secure, parse LD_PRELOAD for + colon-separated list of names, map those and pass vector of ptrs as + PRELOADS list to _dl_map_object_deps. + * elf/dl-runtime.c (_dl_object_relocation_scope): Pass new args to + _dl_map_object_deps with empty preload list. + * elf/dl-open.c (_dl_open): Likewise. + + * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_open_zero_fill): Function + removed. + (__mmap): Pass MACH_PORT_NULL for memobj port when (flags & MAP_ANON). + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill): + Conditionalize defn on [! MAP_ANON]. + * elf/dl-minimal.c (malloc): Conditionalize use of _dl_zerofd + on [! MAP_ANON]. + * elf/rtld.c (dl_main): Likewise. + * elf/dl-load.c (_dl_zerofd): Conditionalize defn on [! MAP_ANON]. + (_dl_map_object_from_fd): Conditionalize initialization of _dl_zerofd. + + * elf/dl-fini.c (_dl_fini): Skip finalizer for executable itself. + +Sat Jul 13 02:47:53 1996 David Mosberger-Tang + + * stdlib/random.c (__random): Declare as int32_t to be in sync + with declaration. + + * socket/Makefile (headers): Add socketbits.h. + + * misc/mntent.c (endmntent): Allow for NULL stream. SunOS does + it that way. + + * grp/initgroups.c (initgroups): Add groups that user is a member + of, not the ones he is _not_ a member of. + + * nss/nsswitch.c (known_compare): Make known_compare() a static + instead of a local function. The latter are difficult to debug + and slow to execute on certain platforms. + + * sysdeps/posix/ttyname_r.c (ttyname_r): Use sizeof (dev) - 1 in + place of sizeof (dev). The size of a literal string includes the + NUL byte. + + * sysdeps/unix/getlogin.c (getlogin): Initialize ut_fd with -1. + +Thu Jul 11 16:59:10 1996 David Mosberger-Tang + + * misc/mntent.c (addmntent): Seek to end of file before writing + entry. Return 1 on error, not -1. + +Tue Jul 9 19:08:05 1996 David Mosberger-Tang + + * sysdeps/unix/sysv/linux/syscalls.list: Mark bdflush as EXTRA + syscall. + +Fri Jul 5 18:44:55 1996 David Mosberger-Tang + + * sysdeps/unix/sysv/linux/alpha/ioperm.c (port_to_cpu_addr): Size + shift amount for Jensen must be 5 not 4. + +Sat Jul 13 20:04:28 1996 Roland McGrath + + * socket/sys/socket.h (struct osockaddr): New type. + +Sat Jul 13 03:50:53 1996 Ulrich Drepper + + * misc/Makefile (routines): Add qefgcvt and qefgcvt_r. + * misc/efgcvt.c, misc/efgcvt_r.c: Change code so that the `double' + and `long double' versions can be generated. + * misc/qefgcvt.c, misc/qefgcvt_r.c: New files. Define macros + so that included efgcvt{,_r}.c file generate `long double' + versions. + * stdlib/stdlib.h: Add prototypes for q[efg]cvt() and q[ef]cvt_r() + functions. + + * manual/startup.texi: Document new getsubopt function. + * manual/examples/subopt.c: New example program for documenting + getsubopt function. + +Fri Jul 12 23:58:37 1996 Ulrich Drepper + + * stdlib/Makefile (routines): Add getsubopt. + * stdlib/stdlib.h: Add prototype for getsubopt. + * stdlib/getsubopt.c: New file. Implement getsubopt function + to handle suboption parsing. + +Thu Jul 11 20:09:55 1996 Roland McGrath + + * inet/getnetent_r.c: Define NEED_H_ERRNO. + * inet/getnetbynm_r.c: Likewise. + * inet/getnetent.c: Likewise. + * inet/getnetbyad_r.c: Likewise. + * inet/getnetbyad.c: Likewise. + * inet/getnetbynm.c: Likewise. + + * sysdeps/generic/pselect.c: Include . + + * misc/sys/select.h: Include instead of for + `struct timespec'. + + * math/Makefile (calls): Add s_frexp, s_ldexp. + (routines): Remove them and &f from here. + + * sys/socket.h: New file, wrapper for socket/sys/socket.h. + + * nss/nss_files/files-service.c (getservbyname): Take second arg PROTO + and check it. + + * nss/nss_files/files-XXX.c: Comment fix. + +Fri Jul 12 01:28:35 1996 Ulrich Drepper + + * nss/getXXent_r.c (GETFUNC_NAME_STRING): Define with name + of reentrant function. + (setup): Pass additional argument with function name we are + looking for. + (SETFUNC_NAME, ENDFUNC_NAME, GETFUNC_NAME): Call setup with + new argument {SET,END,GET}FUNC_NAME_STRING. + + * nss/getXXent.c (GETFUNC_NAME): RESULT must be static because + we return a pointer. + +Thu Jul 11 18:20:44 1996 Roland McGrath + + * nss/nss_files/files-parse.c: Add comment about things to #define. + + * nss/nss_files/files-hosts.c (NEED_H_ERRNO): Define it. + + * nss/nss_files/files-parse.c (STRING_FIELD): Don't flag NUL before + terminator char as an error. + + * nss/getXXbyYY_r.c (REENTRANT_NAME): Set *H_ERRNOP, not h_errno. + +Thu Jul 11 03:21:10 1996 Ulrich Drepper + + * catgets/gencat.c (write_out): Move code to determine new + best size out of inner loop. + +Thu Jul 11 00:22:40 1996 Ulrich Drepper + + * sysdeps/libm-ieee754/s_frexpl.c: New file. `long double' + implementation of frexp() function. + * sysdeps/libm-ieee754/s_ldexpl.c: New file. `long double' + implementation of ldexp() function. + + * sysdeps/libm-i387/s_isnanl.c (isnanl): Mask explicit one + out before or'ing. + +Wed Jul 10 05:24:40 1996 David Mosberger-Tang + + * misc/mntent.c: Include . + (endmntent): Return 1 one success, 0 on failure. + (getmntent): Chop newline and ignore empty lines. + +Mon Jul 8 21:18:40 1996 Andreas Schwab + + * sysdeps/m68k/dl-machine.h (RESOLVE): New macro, defined + differently based on [RTLD_BOOTSTRAP]. + (elf_machine_rela): Use it instead of the fn ptr arg directly. + +Tue Jul 9 09:37:55 1996 Roland McGrath + + * posix/glob.h (__glob_opendir_hook, __glob_readdir_hook, + __glob_closedir_hook): Remove decls. + + * sysdeps/generic/machine-gmon.h: Declare mcount_internal. + + * sysdeps/unix/inet/syscalls.list: Define __ names with weak aliases + for send and connect syscalls. + + * socket/sys/socket.h: New file, taken from non-sysdep parts of + linux/sys/socket.h; break sysdeps parts out into socketbits.h. + Declare __ names for send and connect. + * sysdeps/generic/socketbits.h: New file. + * sysdeps/unix/sysv/linux/socketbits.h: New file. + * sysdeps/unix/sysv/linux/sys/socket.h: File removed. + * sysdeps/generic/sys/socket.h: File removed. + + * sysdeps/mach/hurd/connect.c: Define __ name and weak alias. + * sysdeps/mach/hurd/send.c: Likewise. + + * sysdeps/mach/libc-lock.h: New file. + * sysdeps/unix/readdir.c: Do locking. + * sysdeps/unix/seekdir.c: Likewise. + * sysdeps/unix/rewinddir.c: Likewise. + * sysdeps/unix/closedir.c: Likewise. + * sysdeps/unix/bsd/telldir.c: Likewise. + * sysdeps/mach/hurd/seekdir.c: Likewise. + * sysdeps/mach/hurd/readdir.c: Likewise. + * sysdeps/mach/hurd/closedir.c: Likewise. + * sysdeps/mach/hurd/opendir.c: Initialize the lock. + * sysdeps/unix/opendir.c: Likewise. + * sysdeps/mach/hurd/dirstream.h: Include . + (struct __dirstream): Add lock member using __libc_lock_define. + * sysdeps/unix/dirstream.h: Likewise. + + * sysdeps/stub/libc-lock.h (__libc_lock_fini): New macro. + + * stdlib/mbstowcs.c: Pass address of pointer to mbsrtowcs. + + * stdlib/wcstombs.c: Use wcsrtombs instead of mbsrtowcs. + +Thu Jul 4 01:34:04 1996 Ulrich Drepper + + * locale/programs/stringtrans.c: Fix typo in copyright. + + * stdio-common/printf-prs.c: Add casts to prevent + signed<->unsigned warnings. + + * stdio-common/printf-parse.h: Initialize state variable before + calling mbrlen. + * stdio-common/printf-prs.c: Don't initialize state variable here. + * stdio-common/vfprintf.c: Don't initialize state variable. + (vfprintf): While determining length of multibyte string don't + try to be clever in determining characters to use for first + call. + + Add real implementation of multibyte<->wide char conversion + functions. The functions always convert between the fixed wide + char format (ISO 10646 in UCS4) and the UTF8 representation of + this character set. Conversion between the currently used + 8bit character set and ISO 10646 will not take place. This is + what iconv() is for. + * wcsmbs/wchar.h (mbstate_t): Define as structure to replace + dummy definition. + Add optimized version of `mbrlen' function. + * wcsmbs/btowc.c (btowc): Restrict range of legal characters + to 0...0x7f. + * wcsmbs/wctob.c (wctob): Restrict range of legal characters + to 0..0x7f. + * wcsmbs/mbrlen.c: Make mbrlen a weak alias of __mbrlen. + This is needed in the wchar.h header. + * wcsmbs/mbrtowc.c: Replace dummy implementation. Convert UTF8 + encoded character to UCS4. + * wcsmbs/mbsinit.c: Replace dummy implementation. Test COUNT + element of `mbstate_t' for initial state. + * wcsmbs/mbsrtowcs.c: Replace dummy implementation. Convert UTF8 + encoded string to UCS4 string. + * wcsmbs/wcrtomb.c: Replace dummy implementation. Convert UCS4 + character to UTF8 encoded form. + * wcsmbs/wcsrtombs.c: Replace dummy implementation. Convert UCS4 + encoded string to UTF8 encoded form. + +Tue Jul 9 06:19:29 1996 Roland McGrath + + * sysdeps/unix/sysv/linux/configure.in: Use version number in cache + variable name, so new a libc with new requirements won't fail to + notice an insufficient Linux version. + + * sysdeps/unix/sysv/linux/direntry.h: New file from David Mosberger. + + * sysdeps/unix/sysv/linux/configure.in: Check for Linux 2.0.1 headers, + instead of 2.0 headers. + + * sysdeps/mach/hurd/Makefile (stamp-errnos): Uncomment CVS commit cmds. + + * sysdeps/gnu/errlist.awk: Undo mib's bogus changes. The + sysdeps/mach/hurd/errnos.awk bug fix was the only correct change. + + * sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Declare _mcount + before using it in lhs of weak_alias. + + * nss/getXXent_r.c (setup): New function, broken out of SETFUNC_NAME. + Call __nss_lookup when not setting STARTP. + (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Call it to set up for + function-calling loop. + +Tue Jul 9 00:14:52 1996 Michael I. Bushnell p/BSG + + * sysdeps/mach/hurd/ioctls.h (MDMBUF, ECHO, TOSTOP, FLUSHO, + PENDIN, NOFLSH): Undefine these at start if they are already + defined to avoid collision with termbits.h. + * sysdeps/generic/termbits.h (ECHO, TOSTOP, NOFLSH): Likewise. + (MDMBUF, FLUSHO, PENDIN) [__USE_BSD]: Likewise. + +Mon Jul 8 13:37:40 1996 Roland McGrath + + * math/math.h (_Mfloat_, _Mlong_double_): New macros, defined iff not + already defined to float, long double. Use those macros for _Mdouble_ + defns when including mathcalls.h. + * math/Makefile [$(long-double-fcts) != yes] (CPPFLAGS): Append + -D_Mlong_double_=double. + + Add more -lm functions to -lc because ldexp uses them. + * math/Makefile (calls): Add s_finite, s_copysign, s_scalbn, s_modf. + (routines): Remove s_modf, add s_frexpf, s_ldexpf; all but frexp and + ldexp have both f and l code, and those have f though not l code. + +Mon Jul 8 13:10:50 1996 Michael I. Bushnell p/BSG + + * sysdeps/mach/hurd/errnos.awk: Skip entries where the + error is 0. The "placeholder" entries recently added to + errno.texi convert to zero since `???/' is at the front of them. + * sysdeps/gnu/errlist.awk (errnoh): Likewise. + + * sysdeps/stub/setdomain.c (setdomainname): Declare NAME parm + __const to conform with unistd.h. + + * stdlib/stdlib.h (random): Declare return type to be int32_t. + + * string/argz-delete.c (argz_delete): Use memmove instead of + memcpy for possibly overlapping strings. + +Mon Jul 8 02:14:25 1996 Roland McGrath + + * libc-symbols.h [GCC >= 2.7] (strong_alias, weak_alias): Use extern + storage class. GCC gives an error for non-extern data defns with the + alias attribute. + +Mon Jul 8 01:37:34 1996 Michael I. Bushnell, p/BSG + + * string/argz-insert.c (__argz_insert): (__argz_insert): Use + memmove instead of memcpy for possible overlapping strings. + +Mon Jul 8 00:11:15 1996 Roland McGrath + + * libc-symbols.h (weak_function): New macro. + For GCC 2.7+ define as __attribute__ ((weak)). + * elf/dl-minimal.c: Use weak_function as keyword in function defns + instead of weak_symbol (NAME) after the defn. + * stdlib/strtol.c: Likewise. * stdlib/strtod.c: Likewise. - * stdlib/wcstombs.c: Likewise. - * stdlib/wctomb.c: Likewise. + * sysdeps/mach/hurd/dl-sysdep.c: Likewise. -1997-02-05 05:08 Ulrich Drepper + * sysdeps/alpha/dl-machine.h (elf_machine_rela) [RTLD_BOOTSTRAP]: + If this is defined, don't declare _dl_rtld_map as weak, and + don't check for MAP pointing to it. RESOLVE is always null in this + case, so test with #ifdef instead of if. - * stdlib/mp_clz_tab.c (__clz_tab): Follow change in GMP and define - as const. - -1997-02-04 23:57 Fila Kolodny - - * sysdeps/unix/sysv/linux/socketbits.h: Define __need_NULL before - including . - -1997-02-03 20:01 H.J. Lu - - * time/Makefile (tzbases, tzlinks): New. - (tzfiles): Changed to $(tzbases) $(tzlinks). - ($(tzfiles:%=$(objpfx)z.%): Make $(tzlinks) depend on $(tzbases). - -1997-02-02 12:13 H.J. Lu - - * Makefile (install): Ignore error from ldconfig. - - * time/zic.c (mkdirs): Double check the error return of mkdir (). - -1997-02-04 22:01 Ulrich Drepper - - * stdio-common/vfprintf.c: Prepare to use __va_copy for architectures - like PPC where va_list is no integral type. - -1997-02-04 15:27 Roma Ekzhanov - - * posix/getopt.c (exchange): Don't allocate nonoption_flags array - if nonoption_flags_len == -1. - -1997-02-04 02:08 Ulrich Drepper - - * Version 2.0.1 net release. - -1997-02-03 23:34 Stephen L Moshier - - * sysdeps/libm-ieee754/s_tanhl.c: Fix backwards result sign. - -1997-02-03 19:59 Ulrich Drepper - - * stdlib/getsubopt.c: Don't return `=' for suboption which has - a parameter. Reported by Gary L. Hennigan . - -1997-02-03 18:20 Thorsten Kukuk - - * nis/rpcsvc/yp_proh.h (ypresp_key_val): Also change order of - values as in yp.x and yp.h. - -1997-02-03 16:58 Ulrich Drepper - - * nis/rpcsvc/yp.x (struct ypresp_key_val): Revert patch from - 1997-02-03 02:17. Sun's implementation internally corrects - this bug but we don't want to hide this from the user. - * nis/rpcsvc/yp.h: Likewise. - -1997-02-01 18:28 Andreas Schwab - - * sysdeps/unix/sysv/linux/net/ppp_defs.h: Protect against multiple - inclusion. - -1997-02-02 14:56 Andreas Schwab - - * manual/nss.texi, manual/pattern.texi, manual/string.texi: Doc - fixes. - -1997-02-02 11:51 Andreas Schwab - - * MakeTAGS (sysdep-sources, sysdep-headers): New variables. - (all-sources, all-headers): Use them instead of $(sources) and - $(headers) when searching in sysdep directories. - -1997-02-02 11:49 Andreas Schwab - - * Makerules (REAL_MAKE_VERSION): Use internal make function - instead of shelling out. - -1997-02-02 11:47 Andreas Schwab - - * time/Makefile (install-test-data): Remove mkdir command, zic can - handle that gracefully. - -1997-02-03 14:07 Andreas Schwab - - * sysdeps/m68k/asm-syntax.h: Add back file which got lost sometime - somehow. - -1997-02-02 07:46 Andreas Schwab - - * sunrpc/Makefile: Check $(cross-compiling) only after including - ../Makeconfig. - ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Add empty command to force - being considered as a rule. - (generated): Add stamp files before the inclusion of Makerules to - magically mark them as not being intermediate via the `generated' - target. - -1997-02-03 02:33 Ulrich Drepper - - * elf/dl-deps.c (_dl_map_object_deps): Handle multiple AUXILIARY - entries. This is still no complete implementation since AUXILIARY - entries in other shared objects are not yet handled. - - * libio/libio.h (_IO_cookie_io_functions_t): Move to C++ protected - place. - - * po/es.po: Update. - * po/fr.po: Update. - * po/nl.po: Update. - - * time/Makefile: Better cross-compile support. Avoid test which - cannot be run. - (CFLAGS-tzset.c): New variable. Overwrite TZDEFAULT value from - tzfile.h file. - * time/tzfile.c (__tzfile_read): Allow TZDEFAULT start with '/' even - in SUID programs. - * time/tzset.c (__tzset_internal): If TZ envvar is not set use same - default values as in tzfile.c. - - * elf/dynamic-link.h (elf_get_dynamic_info): Recognize versioning - tags. - * elf/link.h: Likewise. - * elf/elf.h: Add tag definitions and data structures for versioning. - -1997-02-03 02:17 Ulrich Drepper - - * nis/rpcsvc/yp.x (struct ypresp_key_val): There is not stupid - "Sun bug". This is the order of elements also used by 4.4BSD. - * nis/rpcsvc/yp.h: Likewise. - Reported by HJ Lu. - -1997-02-02 12:13 H.J. Lu - - * sunrpc/Makefile ($(objpfx)x%.h, $(objpfx)x%.c): Add "@:" as - action. - - * Makefile (install): Pass installation directories as arguments - to ldconfig. - -1997-02-02 23:15 Ulrich Drepper - - * malloc/malloc.c (__after_morecore_hook): New variable. - (malloc_extend_top): Call __after_morecore_hook if set. - (main_trim): Likewise. - * malloc/malloc.h: Add declaration of __after_morecore_hook. - Suggested by Marcus Daniels. - -1997-02-02 23:00 Marcus G. Daniels - - * malloc/malloc.c (rEALLOc): Protect tsd_setspecific call by - #ifndef NO_THREADS. - (mallinfo): Likewise. - - * malloc/malloc.c (__morecore): Make external since it is used in - programs. - -1997-02-02 15:10 Ulrich Drepper - - * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Make st_dev field - unsigned. - -1997-02-01 23:36 Richard Henderson - - * sysdeps/alpha/stxncpy.S ($unaligned) [src % 8 > dst % 8]: Don't - use t6 as a temporary; it contains bits we still need in $u_head. - -1997-01-31 15:05 John Bowman - - * sysdeps/i386/fpu/__math.h [__USE_MISC]: Don't declare prototypes - using __ prefix. Add prototype for log1p. - -1997-02-02 00:39 Ulrich Drepper - - * dirent/dirent.h: Add description _DIRENT_HAVE_D_TYPE. - -1997-02-01 17:04 Philip Blundell - - * inet/netinet/ip.h (MAX_IPOPTLEN): Add definition. - -1997-02-01 17:00 Ulrich Drepper - - * sysdeps/unix/sysv/linux/socketbits.h: Add definition of cmsghdr - structure plus related macros. - * sysdeps/unix/sysv/linux/cmsg_nxthdr.c: New file. - * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket] - (sysdep_routines): Add cmsg_nxthdr. - * sysdeps/unix/sysv/linux/Dist: Add cmsg_nxthdr.c. - Suggested by Philip Blundell . - -1997-02-01 12:34 Ulrich Drepper - - * time/strftime.c: Define _strftime_copytm without protecting arguments - which breaks the definition. - -1997-02-01 03:31 Thorsten Kukuk - - * nis/rpcsvc/yp_prot.h: Move definition of yppushresp_xfr after - definition of type for element. - -1997-02-01 03:28 Philip Blundell - - * sydsdeps/unix/sysv/linux/netinet/in.h: Add IPv6 related IPPROTO_* - constants. - -1997-02-01 03:09 H.J. Lu - - * Makefile: Pass PARALLELMFLAGS to sub-makes. - * Makefile.in: Mention PARALLELMFLAGS and pass to main Makefile. - -1997-01-31 Paul Eggert - - * time/mktime.c (HAVE_LIMITS_H, HAVE_LOCALTIME_R, STDC_HEADERS): - Define if _LIBC is defined. - : Include if HAVE_LIMITS_H instead of if - __STDC__ || __GNU_LIBRARY__ || STDC_HEADERS. - : Similarly, include if STDC_HEADERS. - (localtime_r): Redo #ifdef to make it clear that glibc has - localtime_r now. - -1997-02-29 20:08 Andreas Schwab - - * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Use stamp - file to avoid unnecessary recompilation. - -1997-01-29 19:33 Andreas Schwab - - * Makefile: Set install-others, not install_others. - (before-compile): Use += to preserve previous value. - ($(inst_includedir)/gnu/lib-names.h): Remove obsolete comment and - fix dependency name. - ($(objpfx)lib-names.h): Remove rule. - * Makeconfig ($(common-objpfx)gnu/lib-names.h): Generate it here, - with correct name, using an intermediate stamp file. - (common-generated): Add gnu/lib-names.h. - (before-compile): Add $(common-objpfx)gnu/lib-names.h. - -1997-01-30 18:29 Richard Henderson - - * malloc/malloc.c (MAGICBYTE): Use cast to size_t instead of unsigned - to prevent warnings on 64 bit systems. - Reported by Paul Wouters . - - * sysdeps/alpha/dl-machine.h: Revert check for broken gas. By default - we assume it works. - -1997-01-30 03:24 Ulrich Drepper - - * sysdeps/i386/elf/start.S (_start): Align stack pointer to - double word boundary before pushing args for main. This way we - don't get penalties for misaligned memory accesses. Reported by - Edward Seidl . - - * Makefile: Correct *my* changes of Richards patch of 1997-01-28 10:51. - Patch by HJ Lu. - - * misc/bsd-compat.c: Update copyright. - * misc/efgcvt.c: Likewise. + * libc-symbols.h (symbol_set_declare): Use weak_extern instead of + weak_symbol. + * csu/initfini.c (_init): Likewise. + * locale/setlocale.c (DEFINE_CATEGORY): Likewise. * misc/efgcvt_r.c: Likewise. - * misc/error.c: Likewise. - * misc/error.h: Likewise. - * misc/fstab.c: Likewise. - * misc/init-misc.c: Likewise. - * misc/lsearch.c: Likewise. - * misc/mntent.c: Likewise. - * misc/qefgcvt.c: Likewise. - * misc/qefgcvt_r.c: Likewise. - * nss/databases.def: Likewise. - * nss/db-Makefile: Likewise. - * nss/ethers-lookup.c: Likewise. - * nss/hosts-lookup.c: Likewise. - * nss/netgrp-lookup.c: Likewise. - * nss/nsswitch.h: Likewise. - * nss/proto-lookup.c: Likewise. - * nss/rpc-lookup.c: Likewise. - * nss/service-lookup.c: Likewise. - * nss/nss_db/db-netgrp.c: Likewise. + * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. + + * libc-symbols.h [ASSEMBLER] (weak_symbol): Macro removed. + It was not used in any assembler code. + (weak_symbol_asm): Renamed to weak_extern_asm. + (weak_extern): New macro replaces weak_symbol for weak extern refs; + define to weak_extern_asm for [!ASSEMBLER]. + +Sun Jul 7 18:42:06 1996 Roland McGrath + + * libc-symbols.h [! ASSEMBLER] [HAVE_WEAK_SYMBOLS] (weak_symbol_asm, + weak_alias_asm): New macros, renamed from weak_symbol/weak_alias; + define those now as aliases. + Change conditional to use __attribute__ syntax for GCC 2.7+, not 2.8+ + [GCC >= 2.7] [HAVE_WEAK_SYMBOLS] (weak_symbol): Do weak_symbol_asm + after GCC weak attribute decl. + + * sysdeps/gnu/errlist.awk (BEGIN): Initialize associative array ALIAS, + map EWOULDBLOCK->EAGAIN, EDEADLOCK->EDEADLK. + (element printer): Check for elt in ALIAS, instead of special case + for EWOULDBLOCK. + + * io/Makefile (headers): Add sys/vfs.h. + * io/sys/vfs.h: New file. + + * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Don't unlock the + critical section lock before unlinking dying active resources. + The unlock just before return is right (i.e. old code unlocked twice). + +Sun Jun 2 22:28:43 1996 Miles Bader + + * stdio/linewrap.c (lwupdate): Update D->point_offs when done. + Use memmove instead of memcpy where overlap is possible (not + necessary using current implementation of memcpy, but...). + (__line_wrap_update): Don't update D->point_offs (lwupdate does it). + +Fri May 31 11:48:46 1996 Miles Bader + + * stdio/linewrap.c (lwupdate): New function, mostly was + __line_wrap_update. Use POINT_COL field instead of POINT. + (__line_wrap_output): Use lwupdate. + (__line_wrap_update): New function. + (ensure_unwrapped, ensure_wrapped): New functions. + (line_wrap_set_lmargin, line_wrap_set_rmargin, + line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update. + + * stdio/linewrap.h (struct line_wrap_data): Rename POINT field to + POINT_COL. Add POINT_OFFS field. + (__line_wrap_update): New decl. + (line_wrap_set_lmargin, line_wrap_set_rmargin, + line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update. + +Fri Jul 5 17:34:47 1996 Miles Bader + + * login/logout.c (logout): Do nothing if getutline_r returns ESRCH. + + * login/pututline_r.c (pututline_r): Since we assign RESULT from + lseek now, check that it's >= 0, not == 0. + +Wed Jul 3 13:28:04 1996 Miles Bader + + * login/login.c (login): Make a copy of *UT, fill in various + fields that we supply (ut_line, ut_type, ut_pid), and use the copy + in place of UT. + + * login/getutline_r.c (getutline_r): When we return ESRCH, mark + UTMP_DATA->ubuf invalid (by setting UTMP_DATA->loc_utmp to 0). + +Fri Jul 5 12:22:51 1996 Roland McGrath + + * hurd/hurdsig.c (_hurd_internal_post_signal): In case of handled + signal during critical section doing interruptible RPC, if + _hurdsig_abort_rpcs wants to change thread state, do thread_set_state + before thread_resume. If in critical section, pass 0 for SIGNO to + _hurdsig_abort_rpcs so rpc is interrupted regardless of SA_RESTART. + + * extra-lib.mk: Fix typo in $(extra-libs-others) conditional. + + * sysdeps/unix/sysv/linux/sys/user.h: New file. + * sysdeps/unix/sysv/linux/Dist: Add it. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add sys/user.h. + + * nss/nss_files/files-parse.c (parse_list): Set EOL from LINE if it + points within DATA->linebuffer; otherwise use all of DATA->linebuffer + itself, no need to skip past a NUL. + + * nss/nsswitch.h (known_function): Comment fix. + * nss/nsswitch.c (nss_lookup_function): Rewritten using __tsearch + directly. Do the lookup and insertion with a single call, and fill in + the tree node afterwards if new. + (known_compare, nss_find_entry, nss_insert_entry): Functions removed. + + * misc/sys/select.h: #define __need_timespec before incl. + (struct timeval): Add bodiless decl for scope. + + * time/time.h (struct timespec): Rename members from `ts_*' to `tv_*'. + Move struct timespec defn outside [_TIME_H] so it can be got with + #define __need_timespec. + + * time/sys/time.h (TIMEVAL_TO_TIMESPEC): Use `tv_*' instead of `ts_*' + for `struct timespec' member names. + (TIMESPEC_TO_TIMEVAL): Likewise. + + * nss/Makefile (extra-libs-others): New variable. + + * extra-lib.mk: Don't test for $($(lib)-no-lib-dep). Instead match + $(lib) in $(extra-libs-others). + * sunrpc/Makefile (extra-libs-others): New variable. + (librpcsvc-no-lib-dep): Variable removed. + + * elf/rtld.c: Define RTLD_BOOTSTRAP before #include "dynamic-link.h". + * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove weak decl for + _dl_rtld_map. + (RESOLVE): New macro, defined differently based on [RTLD_BOOTSTRAP]. + (elf_machine_rel): Use it instead of testing fn ptr arg at runtime. + (elf_machine_rel: case R_386_32) [! RTLD_BOOTSTRAP]: Declare + _dl_rtld_map weak only here. + + * posix/unistd.h [__USE_BSD]: Declare getdomainname, setdomainname. + +Thu Jul 4 05:21:59 1996 David Mosberger-Tang + + * login/utmp.h: Fix typos. + + * misc/syslog.c (vsyslog): Use __send instead of send and + __connect instead of connect to avoid name-space collisions (e.g., + with psgetty). + +Wed Jul 3 16:29:41 1996 Roland McGrath + + * nss/getXXbyYY_r.c (REENTRANT_NAME): Cast FCT in __nss_next call. + + * sysdeps/generic/sbrk.c: Always call __brk (0) to update __curbrk. + + * malloc/malloc-size.c (malloc_usable_size): Renamed from + malloc_object_allocation_size. + * malloc/malloc.h: Fix decl. + + * sys/select.h: New file, wrapper header. + + * posix/sys/types.h [__USE_BSD]: Include ; remove + fd_set, associated macros, and select decl. + + * sysdeps/posix/isfdtype.c: New file. + +Tue Jul 2 23:45:14 1996 Ulrich Drepper + + The latest Japanese proposal for POSIX locales renames the + CHARMAP keyword in locale definition files to CHARCONV. + * locale/programs/ld-ctype.c, locale/programs/locales.h: Rename + function ctype_is_charmap to ctype_is_charconv. + * locale/programs/locfile-kw.gperf: Replace charmap keyword with + charconv. + * locale/programs/locfile-token.h: Add definition of token + charconv. + * locale/programs/locfile.c: Recognize charconv keyword. Rename + lables according to this. + + * locale/weight.h (get_weight): Cast constants to prevent + warnings. + + * stdlib/strtod.c, stdlib/strtol.c, string/strcoll.c, + string/strxfrm.c: Add some more casts to prevent signed<->unsigned + warnings. + + New stuff described in P1003.1g. + * misc/Makefile (headers): Add sys/select.h. + (routines): Add pselect. + * misc/sys/select.h: New file. Declare select functions and + needed data types and macros. + * sysdeps/generic/pselect.c: New file. Add generic implementation + of pselect() function which uses select(). + + * posix/getconf.c: Recognize new variables from P1003.1g. + * posix/posix1_lim.h: Define _POSIX_FD_SETSIZE, _POSIX_QLIMIT, + _POSIX_HIWAT, and _POSIX_UIO_MAXIOV. + * posix/unistd.h: Add description of the P1003.1g variables. + * sysdeps/generic/confname.h: Define _SC_* values for new + variables. + * sysdeps/posix/fpathconf.c (fpathconf): Add handling of + _PC_SOCK_MAXBUF. + * sysdeps/stub/fpathconf.c (fpathconf): Ditto. + * sysdeps/posix/sysconf.c (sysconf): Add handling of new + P1003.1g variables. + * sysdeps/stub/sysconf.c (sysconf): Ditto. + * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_POLL and + _POSIX_SELECT since Linux has this. + + * socket/Makefile (routines): Add isfdtype. + * sysdeps/generic/sys/socket.h: Add prototype for isfdtype. + * sysdeps/stub/isfdtype.c: New file. Stub implementation of + isfdtype. + + * wcsmbs/wcrtomb.c (wcrtomb): Fix typo. + +Wed Jul 3 11:26:28 1996 Roland McGrath + + * elf/Makefile (LDFLAGS-dl.so): New variable. + (libdl.so): Depend on eval.so. + (distribute): Add eval.c. + * elf/eval.c: New file. + + * time/strftime.c (strftime: do_number): Adjust P and I after sprintf + in case it wrote fewer than MAXDIGITS chars. + + * stdio/fwrite.c (fwrite: fill_buffer): Separate flushing for last + newline from flushing full buffer in loop, fix test so no fflush is + done when last byte written exactly fills the buffer. + + * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Depend on libc.so. + + * sysdeps/mach/hurd/Makefile (LDLIBS-c.so): Variable removed. + (libc.so): Instead, give this deps on lib{mach,hurd}user.so. + + * elf/dl-debug.c (_dl_debug_initialize): Use LDBASE arg instead of + extracting _dl_rtld_map.l_addr. + + * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare _dl_rtld_map as + weak. + * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise. + + * shlib-versions (*-*-*): Set libnss_db=1. + +Tue Jul 2 10:44:37 1996 Roland McGrath + + * elf/rtld.c (dl_main): Set _dl_rtld_map's DT_DEBUG location too. + + * rpm/template (%build): Use @prefix@ instead of always /usr. + Set up configparms only if @prefix@ is in fact /usr. + * rpm/Makefile ($(config)): Substitute $(prefix) for @prefix@. + + * elf/Makefile: Add missing endif. + + * nss/nss_files/files-ethers.c (ntohost): Fix db key. + + * nss/nss_files/files-network.c: Pass empty for new DB_LOOKUP args. + (DATABASE): Define this instead of DATAFILE. + * nss/nss_files/files-hosts.c: Likewise. + (hostbyname): Use LOOKUP_NAME macro. + + * nss/nss_db/db-XXX.c: New file. + * nss/Makefile (services): Add db. + (libnss_db-inhibit-o): New variable. + (libnss_db-routines): New variable. + (distribute): Append db-XXX.c. + (libnss_db.so): Depend on libdb.so and libnss_files.so. + ($(libnss_db-routines:%=$(objpfx)%.c)): New static pattern rule. + + * nss/nss_files/files-XXX.c (DB_LOOKUP): Add KEYSIZE and KEYPATTERN + args, ignored. + (DATAFILE): New macro. + * nss/nss_files/files-parse.c (GENERIC): If undefined, define to + "files-XXX.c". + * nss/nss_files/files-rpc.c: Include GENERIC instead of "files-XXX.c". + Pass db key args to DB_LOOKUP. + (DATAFILE): Macro removed. + (DATABASE): New macro replaces it, lacks "/etc/" prefix. + * nss/nss_files/files-service.c: Likewise. + * nss/nss_files/files-pwd.c: Likewise. + * nss/nss_files/files-proto.c: Likewise. * nss/nss_files/files-grp.c: Likewise. + * nss/nss_files/files-ethers.c: Likewise. + + * elf/linux-compat.c: File removed. + * elf/Makefile (distribute): Remove linux-compat.c. + (ld-linux.so.1): Remove target and associated variables. + + * sunrpc/xdr.c: Remove malloc decl. + * sunrpc/portmap.c: Likewise. + + * sunrpc/svc_tcp.c (abort): Don't declare. Instead define as macro + casting abort to fn returning bool_t. + + * nss/nss_files/files-parse.c [EXTERN_PARSER]: Do an extern decl of + the parser function. + [EXTERN_PARSER] (LINE_PARSER): Define to empty. + * nss/nss_files/files-pwd.c (EXTERN_PARSER): Define it. + * nss/nss_files/files-grp.c: Likewise. + + * Makeconfig (BUILD_CC): If undefined, define to $(CC). + + * sunrpc/rpc/types.h: Include stdlib.h instead of declaring malloc. + + * Makeconfig (built-program-cmd): Use $(rtld-installed-name) in place + of ld.so so lookups for that soname find it. + + * nss/Makefile (libnss_dns.so): Depend on libresolv.so. + (resobjdir, LDLIBS-nss_dns.so): Variables removed. + + * pwd/fgetpwent.c: Don't include ../nss/nss_files/files-parse.c to + define parse_line function. + (parse_line): #define to _nss_files_parse_pwent and + add extern decl for that. + + * nss/nss_files/files-XXX.c (internal_getent): Return + NSS_STATUS_TRYAGAIN for ERANGE error. + + * sysdeps/i386/strtok.S (LreturnNULL): Save current state ptr instead + of null, so next round returns null again instead of bombing. Fix + from drepper. + + * nss/nss_files/files-parse.c (LINE_PARSER): Take new first arg EOLSET. + Remove ; after `ENTDATA_DECL (data)'. + Truncate line at strpbrk (line, EOLSET "\n"). + (ENTDATA_DECL): Put ; at end. + (MIDLINE_COMMENTS): Macro removed. + * nss/nss_files/files-ethers.c: Pass new argument. * nss/nss_files/files-hosts.c: Likewise. * nss/nss_files/files-network.c: Likewise. + * nss/nss_files/files-parse.c: Likewise. * nss/nss_files/files-proto.c: Likewise. - * nss/nss_files/files-pwd.c: Likewise. * nss/nss_files/files-rpc.c: Likewise. * nss/nss_files/files-service.c: Likewise. - * nss/nss_files/files-spwd.c: Likewise. - * shadow/fgetspent.c: Likewise. - * shadow/fgetspent_r.c: Likewise. - * shadow/getspent.c: Likewise. - * shadow/getspent_r.c: Likewise. - * shadow/getspnam.c: Likewise. - * shadow/getspnam_r.c: Likewise. - * shadow/putspent.c: Likewise. - * shadow/sgetspent.c: Likewise. - * shadow/sgetspent_r.c: Likewise. - * sysdeps/i386/init-first.c: Likewise. - * sysdeps/unix/i386/sysdep.S: Likewise. + * grp/fgetgrent.c: Likewise. + * pwd/fgetpwent.c: Likewise. + * nss/nss_files/files-pwd.c: Get parse_line with extern decl, since + fgetpwent.c already defines it. + * nss/nss_files/files-grp.c: Likewise. - * shadow/shadow.h: Don't use __USE_REENTRENT. All code must be - prepared to be running in a multi-threaded environment. Change - to __USE_MISC unless the function is defined in POSIX.1 (in this - case also test for __USE_POSIX). - * dirent/dirent.h: Likewise. - * grp/grp.h: Likewise. - * inet/aliases.h: Likewise. - * libio/libio.h: Likewise. - * libio/stdio.h: Likewise. - * login/utmp.h: Likewise. - * math/mathcalls.h: Likewise. - * misc/mntent.h: Likewise. - * pwd/pwd.h: Likewise. - * resolv/netdb.h: Likewise. - * stdlib/stdlib.h: Likewise. - * string/string.h: Likewise. - * sunrpc/rpc/netdb.h: Likewise. - * sysdeps/generic/crypt.h: Likewise. - * sysdeps/unix/sysv/linux/errnos.h: Likewise. - * time/time.h: Likewise. + * elf/dl-load.c (_dl_map_object): Use any object with matching l_name + as well as any matching with l_libname. Fix DT_SONAME lookup to use + string table properly. -1997-01-30 00:27 Fila Kolodny + * elf/rtld.c (dl_main): Set _dl_rtld_map.l_name from _dl_argv[0] when + invoked directly, and l_libname from that if PT_INTERP missing. + Set l_name from l_libname only if not set from argv. - * sunrpc/Makefile (install-others): Add rpcsvc/bootparam_prot.h - only if not cross compiling. + * time/europe, time/northamerica: Updated from ADO 96i. -1997-01-29 16:16 Fila Kolodny +Mon Jul 1 15:44:34 1996 Roland McGrath - * sysdeps/posix/sigpause.c: Include to get definition of - NULL. - * sysdeps/posix/sigwait.c: Likewise. + * stdio-common/tst-ungetc.c: Include unistd.h. -1997-01-28 23:42 Andreas Schwab + * inet/Makefile (routines): Change getnetbypt to getnetbyad. - * Makeconfig ($(common-objpfx)config.make): Depend on - $(..)config.make.in. +Mon Jul 1 13:32:42 1996 Miles Bader -1997-01-29 04:30 Ulrich Drepper + * hurd/report-wait.c (describe_number): Make I unsigned long. - * sunrpc/Makefile: Don't generate headers derived from .x files when - crosscompiling. + * login/login.c (login): Only Frob OLD->ut_type if getutline_r + actually found any entry. -1997-01-28 10:51 Richard Henderson + * login/pututline_r.c (pututline_r): If not located after any + entry don't use UTMP_DATA->ubuf, and seek to the end before adding. + Lock the file before stating. - * Makefile: Generate gnu/lib-names.h in before-compile. - * nss/nss.h (NSS_SHLIB_REVISION): Turn it into a const variable. - * nss/nssswitch.c (__nss_shlib_revision): New variable. Initialize - to the revision found for LIBNSS_FILES_SO. - (nss_initilized): Removed. It was tested but never set. - (nss_lookup_function): Don't treat NSS_SHLIB_REVISION as a literal. +Mon Jul 1 12:29:50 1996 Roland McGrath - * shlib-versions: Tag all alpha-linux shlibs with a .1 "minor" - not just libc. Except instead of ld.so.1.1 use ld-linux.so.2. + * nss/Makefile (databases): Change host to hosts. + * nss/host-lookup.c: Renamed to nss/hosts-lookup.c. - * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Typo in ldgp. + * nss/nsswitch.c (nss_parse_service_list): Use const for NAME. -1997-01-28 12:16 Andreas Jaeger + * nss/nss_files/files-parse.c (parse_list): Correct alignment fixup. - * elf/Makefile (CFLAGS-dl-load.c): Use += to not - override the definition. + * string/string.h (strndupa): Pass missing arg to strnlen. -1997-01-28 20:13 Fila Kolodny + * inet/getnetbypt_r.c: Renamed to ... + * inet/getnetbyad_r.c: this; fixed function name. + * inet/getnetbypt.c: Renamed to ... + * inet/getnetbyad.c: this; fixed function name. - * config.make.in (malloc): Remove. +Sat Jun 29 01:08:35 1996 Andreas Schwab -1997-01-28 04:23 Ulrich Drepper + * grp/getgrgid_r.c (LOOKUP_TYPE): Define to struct group, not + struct passwd. - * version.h (VERSION): Bump to 2.0.1. +Fri Jun 28 23:25:35 1996 Miles Bader - * posix/getopt.c: Handle another problem introduced by the - nonoption_flags array. We must be able to work with reordered - argv arrays. Reported by Andreas Schwab. + * login/login.c (login): Initialize DATA so that setutent_r will + actually do something. -1997-01-28 02:38 Ulrich Drepper +Fri Jun 28 16:53:01 1996 David Mosberger-Tang - * sysdeps/unix/sysv/linux/i386/clone.S: Correct handling of new - stack. + * resolv/res_hconf.c (strndup): Remove function. -1997-01-27 17:34 Thorsten Kukuk + * nss/nsswitch.c (nss_lookup_function): Declare loadbase and ref + using ElfW() instead of Elf32_*. - * nis/rpcsvc/yp_prot.h: Correct definitions and types in file so - that it works with yp.h. + * sysdeps/unix/sysv/linux/alpha/init-first.h, + sysdeps/unix/sysv/linux/m68k/init-first.h, + sysdeps/unix/sysv/linux/i386/init-first.h: New files. + * sysdeps/unix/sysv/linux/init-first.c: Use platform-dependent + init-first.h to make abstract machine dependent parts of + initialization. -1997-01-27 13:28 Ulrich Drepper + * sysdeps/unix/alpha/sysdep.h: Undo PIC-optimization of syscall + error handling. It's safer that way. - * malloc/malloc.h (__malloc_initialized) [_LIBC]: Define as - __libc_malloc_initialized so that this variable is not shared with - other users of GNU malloc. - Suggested by Martin von Loewis . + * sysdeps/unix/alpha/sysdep.S: Make ldgp part of the prologue. + Fix by Richard Henderson. - * mcheck.h: Correct typo. Use malloc/ instead of new-malloc/. + * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Fix + typo/extraneous whitespace. - * sysdeps/i386/Makefile (CFLAGS-dl-load.c, CFLAGS-dl-reloc.c): New - variables to prevent warnings. - * sysdeps/i386/dl-machine.h (fixup): Add prototype and declare - using attribute regparm. - (ELF_MACHINE_RUNTIME_TRAMPOLINE): Rewrite so that no register - is changed by the resolver code. + * sunrpc/xdr.c (xdr_int, xdr_u_int): Use to test + determine what integer sizes we're dealing with. -1997-01-14 14:20 Andreas Schwab +Fri Jun 28 15:46:02 1996 Michael I. Bushnell, p/BSG - * malloc/malloc.c (weak_variable): Define. - (__malloc_initialize_hook, __free_hook, __malloc_hook, __realloc_hook, - __memalign_hook): Make them weak definitions. + * hurd/hurdsig.c (_hurd_internal_post_signal): In pending signal + check for signal zero, repair logical sense of test by + parenthesizing correctly. -1997-01-26 11:35 Andreas Schwab + * hurd/hurdsig.c (_hurd_internal_post_signal): In + check-for-pending signals code, release _hurd_siglock before + jumping to deliver_pending. - * sysdeps/unix/sysv/linux/getdents.c: Don't write beyond buffer - limits, correctly take structure padding into account, use correct - offset when resetting the stream, change heuristic to assume an - average name length of 14 characters. +Thu Jun 27 04:04:27 1996 David Mosberger-Tang -1997-01-25 18:06 Andreas Schwab + * configure.in (config_machine): Make ELF the default even for + Linux/Alpha unless a configuration of the form *-*-linux*ecoff + is specified. - * sysdeps/unix/sysv/linux/alpha/termbits.h: Protect against multiple - inclusion. +Fri Jun 28 07:27:10 1996 Roland McGrath + * nss/nss_files/files-hosts.c (ENTDATA): Define it. + * nss/nss_files/files-parse.c (struct parser_data): Define entdata + member only #ifdef ENTDATA. + (ENTDATA_DECL): New macro. + (LINE_PARSER): Use it for entdata decl. + (parse_list): Find the space for LIST from DATA->linebuffer instead of + from the input LINE, which might not be writable buffer space. + (LINE_PARSER): Use `parser_stclass' in place of `static inline'. + [ENTDATA] (parser_stclass): #define to `static inline'. + [!ENDATA] (parser_stclass): #define to empty. + [!ENTDATA] (parse_line): #define to _nss_files_parse_ENTNAME; the + function is exported to -lnss_files users. -See ChangeLog.6 for earlier changes. + * string/strndup.c: Add missing arg. + + * string/string.h (strndupa): Likewise. + * string/strndup.c (strndup): Always terminate the string. + +Thu Jun 27 14:22:31 1996 Andreas Schwab + + * stdio/Makefile (routines): Add vscanf. + * stdio-common/Makefile (routines): Remove vscanf. + * stdio-common/vscanf.c: Move to ... + * stdio/vscanf.c: here. + + * rpm/Makefile (headers, install-lib, install-lib.so, + versioned, install-bin, install-sbin, install-data, + install-others): Add $(-VARIABLE). + +Fri Jun 28 02:41:08 1996 Roland McGrath + + * nss/Makefile (databases): New variable. + (routines, libnss_files-routines): Use it. + (subdir-dirs): Compute from $(services). + + * sysdeps/unix/sysv/linux/syscalls.list (create_module, delete_module, + init_module, klogctl): Use EXTRA in the "caller" column so these get + added to unix-extra-syscalls and thus compiled in misc. + + * string/Makefile (routines): Add strndup. + * string/strndup.c: New file. + * string/string.h: Declare strndup. + (strndupa): New macro. + + * string/string.h: Declare __strdup. + * string/strdup.c: Deansideclized. Define __ name and weak alias. + + * string/string.h: Don't define memccpy as macro for [__OPTIMIZE__]. + +Thu Jun 27 02:49:28 1996 Ulrich Drepper + + * catgets/gencat.c: Add casts to avoid signed<->unsigned warnings. + + * grp/initgroups.c (initgroups): De-ansi-fy. + Move declaration of NGROUPS and GROUPS outside #if so that + the code compiles for NGROUPS_MAX != 0. + + * inet/Makefile (headers): Add netinet/ether.h and netinet/if_ether.h. + (routines): Add ether_aton, ether_aton_r, ether_hton, ether_line, + ether_ntoa, ether_ntoa_r, and ether_ntoh. + * inet/ether_aton.c, inet/ether_aton_r.c, inet/ether_hton.c, + inet/ether_line.c, inet/ether_ntoa.c, inet/ether_ntoa_r.c, + inet/ether_ntoh.c: New files. Implementation of functions to + handle Ethernet address to host mapping. + * inet/netinet/ether.h: New file. Declare ether_* functions. + * netinet/ether.h: Wrapper around inet/netinet/ether.h for glibc + compilation. + * nss/ethers-lookup.c: New file. Lookup function for ethers database. + * nss/Makefile (routines): Add ethers-lookup. + (libnss_files-routines): Add files-ethers. + + * nss/getXXent_r.c: Don't define set*ent and end*ent function + with _r suffix. + + * nss/nss_files/files-XXX.c (internal_endent): Don't reset + KEEP_STREAM every time called. + (_nss_files_end): Reset KEEP_STREAM here instead. + (internal_getent): If STREAM == NULL try to open instead of + signalling error. + Use cast to prevent warning. + Terminate read line in case the buffer is too small. + + * nss/nss_files/files-ethers.c: New file. Implementation of + Ethernet adress<->hostname lookup through files interface. + + * stdlib/mbstowcs.c: Define based on mbsrtowcs(). + * stdlib/mbtowc.c: Define based on mbrtowc(). + * stdlib/wcstombs.c: Define based on wcsrtombs(). + * stdlib/wctomb.c: Define based on wcrtomb(). + + * sunrpc/xdr.c (xdr_u_int): Avoid bogus call to + unexpected_sizes_in_xdr_u_int. + + * sysdeps/generic/netinet/if_ether.h: New file. Generic declaration + of `struct ether_addr'. + * sysdeps/unix/sysv/linux/netinet/if_ether.h: New file. Linux specific + declaration of `struct ether_addr'. + + * wcsmbs/mbrtowc.c: Handle case where argument PS is NULL. + * wcsmbs/mbsrtowcs.c: Ditto. + * wcsmbs/wcrtomb.c: Ditto. + * wcsmbs/wcsrtombs.c: Ditto. + + * wcsmbs/mbsinit.c: Prepare for PS being NULL. + +Wed Jun 26 13:19:35 1996 Miles Bader + + * hurd/get-host.c : New include. + * hurd/set-host.c : New include. + (_hurd_set_host_config): Include NEW in args to dir_link. + Return NWROTE, not NREAD. + + * sysdeps/mach/hurd/getcwd.c + (_hurd_canonicalize_directory_name_internal): Don't deallocate + DOTID & DOTDEVID until we're finished with them (we need to keep + them at least until we've fetched the next level of id ports, so + that mach will be able to use the same name if they're the same). + Add inner_errlose: label, which deallocates DOTID & DOTDEVID and + jumps to errlose, for those places where such cleanup is needed. + +Wed Jun 26 01:58:49 1996 Roland McGrath + + * nss/nss_files/files-parse.c (parse_list): Count null in EOL calc. + + Move DB code into separate -ldb library. + * db/Makefile (extra-libs): New variable, list libdb. + (routines): Renamed to libdb-routines. + * shlib-versions: Add libdb=2. + + * nss/network-lookup.c (DEFAULT_CONFIG): New macro. + * nss/host-lookup.c (DEFAULT_CONFIG): New macro. + + * nss/nsswitch.c (nss_parse_service_list): Use __strncasecmp instead + of strncasecmp. Extend syntax to grok [!foo=bar]. + + * sysdeps/generic/strncase.c: Define __strncasecmp with strncasecmp as + weak alias. + * string/string.h: Declare __strncasecmp. + + * nss/nsswitch.c (nss_parse_file): Call __getline, not getline. + (service_alias): Variable removed. + (nss_parse_service_list): New function, broken out of nss_getline. + Remove alias conversion; we will just use symlinks. + (__nss_database_lookup): Take new string arg DEFCONFIG. + If no entry exists, make one with service list parsed from that. + * nss/nsswitch.h: Update protocol for __nss_database_lookup. + * nss/XXX-lookup.c (DEFAULT_CONFIG): New macro, set to 0 if undefined. + (DB_LOOKUP_FCT): Pass it to _nss_database_lookup. + + * grp/initgroups.c: Rewritten using getgrent. Handle unlimited group + list size. + + * sunrpc/xdr.c (xdr_int): #if 0 out unresolved references in dead code. + +Wed Jun 26 01:56:50 1996 Ulrich Drepper + + * locale/programs/locale.c (long_options): Short form of + --version option is `-V'. + (main): Recognize `-V' as option, not `-v'. + Call `usage' instead of printing error message for illegal + option. + (usage): Document `-V'. + +Tue Jun 25 17:22:55 1996 Miles Bader + + * sysdeps/mach/hurd/getcwd.c + (_hurd_canonicalize_directory_name_internal): Initialize PARENT to + THISDIR, and don't ever deallocate PARENT unless it's != THISDIR. + +Tue Jun 25 10:58:23 1996 Roland McGrath + + * inet/getrpcent.c: Fix macros. + * inet/getrpcent_r.c: Fix macros. + + * elf/dlsym.c (dlsym): Search the global scope if HANDLE is null. + + * elf/dl-load.c (_dl_map_object_from_fd): Initialize L. + +Tue Jun 25 09:55:47 1996 David Mosberger-Tang + + * catgets/gencat.c (write_out): Use %Zu to print variables of type + size_t. + * resolv/res_debug.c (__p_rr): Print size_t variable as %lu and + cast it to (unsigned long) to make it work both on 32 and 64 + bit architectures. + +Sat Jun 22 13:05:25 1996 Andreas Schwab + + * locale/Makefile (distribute): Add `programs/' prefix to all + files in that directory. + + * Makerules (distinfo-vars): Assign subdir directly so that `ifdef + subdir' works. + + * MakeTAGS (sources, headers): Make them simply expanded variables + so that all-dist is expanded before it is changed. + +Tue Jun 25 02:59:11 1996 Roland McGrath + + * Make-dist (dist): Don't depend on crypt tar file. Remove that rule. + * Makefile (subdirs): Remove crypt. + * crypt: Directory removed. It will be made an independent library + distribution. + + * Makefile (distribute): Add rpm/{Makefile,teplate,rpmrc}. + + * inet/getrpcent_r.c (DATABASE_NAME): New macro. + + * inet/getrpcbynumber.c (BUFLEN): New macro. + + * configure.in (--no-whole-archive check): Remove backslashes in cmd. + + * Makefile (headers): Add libc-lock.h. + * sysdeps/stub/libc-lock.h: New file. + + * inet/getrpcbynumber.c: Remove _r typo. + + * elf/dl-load.c (_dl_map_object): Fix typo in last change. + + * nss/nss_files/files-parse.c (parse_list): Reset ELT for elements + after the first! + + * nss/nsswitch.c (__nss_database_lookup): If nsswitch.conf is missing + or doesn't mention DATABASE, use an internal default equivalent to + "DATABASE: compat [NOTFOUND=return] dns [NOTFOUND=return] files". + (nss_lookup_function): Call nss_new_service as needed. + (nss_parse_file): Don't bother calling nss_new_service here. + + * grp/fgetgrent.c (LINE_PARSER): Pass zero SWALLOW arg for fields. + * pwd/fgetpwent.c: Likewise. + + * malloc/malloc.h: Declare malloc_object_allocated_size, malloc_walk. + * malloc/Makefile (dist-routines): Add malloc-size, malloc-walk. + * malloc/malloc-size.c: New file. + * malloc/malloc-walk.c: New file. + + * malloc/malloc-find.c (malloc_find_object_address): Return null if + PTR is outside the heap. + + * elf/dl-load.c (_dl_map_object): If the requested name matches the + soname of a loaded object, use that object. + +Mon Jun 24 19:57:01 1996 Roland McGrath + + * Makefile (subdirs): Add nss. + + * inet/Makefile (routines): Add getrpcent, getrpcbyname, + getrpcbynumber, getrpcent_r, getrpcbyname_r, getrpcbynumber_r. + * inet/getrpcbynumber_r.c: New file. + * inet/getrpcbynumber.c: New file. + * inet/getrpcbyname.c: New file. + * inet/getrpcbyname_r.c: New file. + * inet/getrpcent_r.c: New file. + * inet/getrpcent.c: New file. + * nss/rpc-lookup.c: New file. + * nss/nss_files/files-rpc.c: New file. + * nss/Makefile (routines): Add rpc-lookup. + (libnss_files-routines): Add files-rpc. + * sunrpc/Makefile (routines): Remove getrpcent. + * sunrpc/getrpcent.c: File removed. + + * nss/getXXent_r.c (REENTRANT_GETNAME): Clear NO_MORE when NIP is + non-null on entry. + + * Makeconfig (rpath-link): Add $(nssobjdir). + (nssobjdir): New variable. + + * Makerules: Move shared library building before objects rules, so + versions are known before extra-lib.mk gets included. + * extra-lib.mk (lib-noranlib): Depend on the shared object too. + + * pwd/getpwuid.c: Rewritten using nss. + * pwd/getpwnam.c: Likewise. + * pwd/getpwent.c: Likewise. + * grp/getgrnam.c: Likewise. + * grp/getgrgid.c: Likewise. + * grp/getgrent.c: Likewise. + * pwd/Makefile (routines): Add getpwent_r, getpwnam_r, getpwuid_r. + * pwd/getpwent_r.c: New file. + * pwd/getpwnam_r.c: New file. + * pwd/getpwuid_r.c: New file. + * grp/Makefile (routines): Add getgrent_r, getgrgid_r, getgrnam_r. + * grp/getgrnam_r.c: New file. + * grp/getgrgid_r.c: New file. + * grp/getgrent_r.c: New file. + * grp/Makefile (routines): Remove grpopen, grpread. + * pwd/Makefile (routines): Remove pwdopen, pwdread. + * grp/grpopen.c, grp/grpread.c, pwd/pwdopen.c, pwd/pwdread.c: Removed. + + * pwd/fgetpwent.c: Rewritten using files-parse.c. + * grp/fgetgrent.c: Likewise. + + * nss/Makefile (routines): Add grp-lookup and pwd-lookup. + * nss/pwd-lookup.c, nss/grp-lookup.c: New files. + * nss/nss_files/files-grp.c: New file. + * nss/nss_files/files-pwd.c: New file. + + * nss/Makefile (subdir-dirs): New variable; use it in vpath. + + * nss/nss_files/files-parse.c: New file. + * nss/nss_files/files-XXX.c: New file. + * nss/nss_files/files-hosts.c, nss/nss_files/files-proto.c, + nss/nss_files/files-service.c, nss/nss_files/files-network.c: + Rewritten using them. + + * nss/Makefile (libnss_files-routines): Remove files-host. + Add files-hosts, files-grp, files-pwd. + + * nss/nss_dns/dns-network.c: Don't include . + +Mon Jun 24 22:39:12 1996 Richard Henderson + + * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): + A .plt entry now loads the .rela.plt offset directly rather + than making us calculate it. + +Sun Jun 23 15:24:05 1996 Roland McGrath + + * time/Makefile ($(installed-localtime-file) rule): Do + $(make-target-directory) first. + + * resolv.h: Fix wrapper for resolv/resolv.h. + + * configure.in (ld --no-whole-archive check): Use AC_TRY_COMMAND. + Compile dummy file and pass -nostdlib -nostartfiles so as not to + require installed libraries. + + * shlib-versions (*-*-*): Set libresolv=2, libnss_files=1, + libnss_dns=1. + +Sun Jun 23 19:42:05 1996 Ulrich Drepper + + * resolv/Makefile (distribute): Remove res_hconf.h; add mapv4v6addr.h + and mapv4v6hostent.h. + (routines): Move res* and gethnamaddr into libresolv-routines. + (libresolv-routines): New variable, put them there. + (extra-libs): New variable, list libresolv. + (CPPFLAGS): Add -D for get*by* to res_get*by*. + + * resolv/netdb.h (_PATH_NSSWITCH_CONF): New macro. + + * inet/herrno.c: New file. + + * resolv/res_init.c: Remove res_hconf calls. + + * nss/Makefile, nss/XXX-lookup.c, nss/file-lookup.c, + nss/getXXbyYY.c, nss/getXXbyYY_r.c, nss/getXXent.c, + nss/getXXent_r.c, nss/host-lookup.c, nss/network-lookup.c, + nss/nsswitch.c, nss/nsswitch.h, nss/proto-lookup.c, + nss/service-lookup.c: New files. Implementation of name + service switch, following the approach in Solaris. + Interface specification and general structure inspired by Peter + Eriksson . + * nss/nss_files/files-host.c, nss/nss_files/files-network.c, + nss/nss_files/files-proto.c, nss/nss_files/files-service.c: + Implementation of libnss_files.so module for file based databases + in NSS service. + * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Implementation + if libnss_dns.so module for DNS name lookup in NSS service. + + * inet/getproto.c, inet/getprtent.c, inet/getprtname.c, + inet/getservent.c, inet/getsrvbynm.c, inet/getsrvbypt.c: + Changed to serve as interface to NSS. + * inet/gethstbyad.c, inet/gethstbyad_r.c, inet/gethstbynm.c, + inet/gethstbynm2.c, inet/gethstbynm2_r.c, inet/gethstbynm_r.c, + inet/gethstent.c, inet/gethstent_r.c, inet/getnetbynm.c, + inet/getnetbynm_r.c, inet/getnetbypt.c, inet/getnetbypt_r.c, + inet/getnetent.c, inet/getnetent_r.c, inet/getproto_r.c, + inet/getprtent_r.c, inet/getprtname_r.c, inet/getservent_r.c, + inet/getsrvbynm_r.c, inet/getsrvbypt_r.c: New files. Implement + interfaces to NSS, including reentrant functions. + + * resolv/getnetbyaddr.c, resolv/getnetbyname.c, resolv/getnetent.c, + resolv/sethostent.c: Removed: Obsoleted by NSS. + + * resolv/mapv4v6addr.h, resolv/mapv4v6hostent.h: Extracted from + gethnamaddr.c. These private functions are now used in more + than one file. + + * resolv/inet_pton.c, resolv/gethnamaddr.c: Updated to bind-4.9.4-T5B. + +Sat Jun 22 16:49:47 1996 Andreas Schwab + + * rpm/Makefile ($(config)): Make sure the word list in the for + loop is syntactically non-empty. + +Sat Jun 22 21:29:52 1996 Roland McGrath + + * Version 1.92 test release. + +Sat Jun 22 23:30:07 1996 David Mosberger-Tang + + * sysdeps/unix/sysv/linux/syscalls.list (ksyslog_ctl): Rename + to klogctl to match prototype in sys/klog.h. + + * sysdeps/posix/libc_fatal.c: Add include of . + * sysdeps/unix/sysv/linux/gethostid.c: Ditto. + + * sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal): + Remove. Code is now part of __getcwd again. The old function + never really worked for anything but THISDIR==".". + + * sysdeps/alpha/Makefile (CFLAGS-rtld.c): Add -mbuild-constants + only when building ELF version of library. + + * libio/libioP.h (_IO_vscanf): Add prototype. + + * posix/unistd.h (syscall): Change sysno arg and return value + to int long. + +Sat Jun 22 10:44:09 1996 Roland McGrath + + * version.h (VERSION): Updated to 1.92. + + * misc/Makefile (headers): Add ar.h. + * misc/ar.h: New file. + + * config.make.in (BUILD_CC): New variable. + * configure.in: Check for BUILD_CC if $host != $build. + + * posix/glob.c: Include only [HAVE_ALLOCA_H], not [sparc]. + + * Makerules [! objects] (subdir_lib): Depend on the stamp$o files. + (stamp$o files): New targets, create them empty, no deps. + + * rpm/template (Source): New field. + (%prep, %build, %install): New sections. + (%files): Add %doc FAQ NEWS NOTES README. + * rpm/rpmrc (builddir): Removed. + +Fri Jun 21 00:27:51 1996 Roland McGrath + + * elf/dl-load.c (_dl_map_object_from_fd): Fix mapping and l_phdr + guessing to not assume p_vaddr of first load cmd is zero. + + * sysdeps/sparc/elf/start.S: New file. + * sysdeps/sparc/dl-machine.h: New file. + + * posix/fnmatch.c (fnmatch): Fix \*[*?]+ case to increment name ptr + only for ?s, not for *s. Fix from Chet Ramey. + + Fixes thanks to Raja R Harinath : + * sysdeps/unix/sysv/utmpbits.h: Define _HAVE_UT_{TYPE,ID,TV,HOST}. + Use __{BEGIN,END}_DECLS. + (_PATH_WTMP, _PATH_UTMP, _PATH_LASTLOG): New macros. + * login/utmp.h (UTMP_FILE, UTMP_FILENAME, WTMP_FILE, WTMP_FILENAME): + New macros, moved here from sysdeps/gnu/utmpbits.h. + * sysdeps/generic/utmpbits.h (_HAVE_UT_HOST): Define it. + * sysdeps/gnu/utmpbits.h (_HAVE_UT_HOST): Likewise. + * login/logout.c: Use ut_host only #if _HAVE_UT_HOST. + Use sizeof instead of UT_*SIZE. + * login/logwtmp.c: Likewise. + + * misc/tsearch.c (tdelete): Define as weak alias to __tdelete. + + * version.c (banner): Add trailing newline. + + * login/utmp.h: Declare login_tty. + +Thu Jun 20 21:19:07 1996 Richard Henderson + + * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): + Changed to a 12-byte PLT entry to remove dependency on $gp. + Take a new got_addr parameter. + (elf_machine_rela): Pass the new parameter. + (ELF_MACHINE_RUNTIME_TRAMPOLINE): Do arithmetic for 12-byte PLT. + (RTLD_START): Do normal linkage with program entry. + +Thu Jun 20 12:18:21 1996 Miles Bader + + * sysdeps/mach/hurd/brk.c (_hurd_brk): Initialize to 0. + + * hurd/getuids.c (getuids): New weak link to __getuids. + +Wed Jun 19 10:21:24 1996 Miles Bader + + * hurd/hurdlookup.c (__hurd_file_name_lookup_retry, + __hurd_file_name_lookup, __hurd_file_name_split): Add & use LOOKUP + argument. + Rename nested function lookup to lookup_op. + (__file_name_lookup, __file_name_lookup_under): + Pass 0 for lookup arg to __hurd_file_name_lookup. + (__file_name_split): Likewise for __hurd_file_name_split. + * hurd/path-lookup.c (hurd_file_name_path_lookup): Add LOOKUP argument. + Rename nested function lookup to scan_lookup. + (file_name_path_lookup): Pass 0 for lookup arg to + hurd_file_name_path_lookup. + * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup, + __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry: + __hurd_file_name_split, hurd_file_name_split, hurd_file_name_lookup): + Add LOOKUP argument. + * sysdeps/mach/hurd/access.c (__access): Pass 0 lookup arg to + __hurd_file_name_lookup. + +Mon Jun 17 19:09:49 1996 Andreas Schwab + + * Make-dist (+sysdeps): Move wildcard inside loop to avoid consing + up a huge list just to discard most of it. + + * configure.in (sysnames): Avoid fgrep by using the case shell + builtin. + + * Makeconfig (config.status): Fix dependency on Implies files. + +Wed Jun 19 01:27:57 1996 Roland McGrath + + * math/Makefile (distribute): Add ieee-math.c. + +Wed Jun 19 03:24:58 1996 Ulrich Drepper + + * locale/codeset_name.c: New file. Provide function for information + about currently used character set. + * locale/Makefile (routines): Add codeset_name. + * locale/langinfo.h (_NL_CTYPE_CODESET_NAME): Add new constant. + * locale/localeinfo.h: Change magic number because of incompatible + change. + * locale/C-ctype.c: Add initializer for new field `codeset_name'. + * locale/programs/ld-ctype.c: Implement handling of `codeset_name'. + + * locale/programs/locfile.c: Don't depend in pre-2.0 Linux specific + name `MAX_IOVEC'. Instead use standard name `UIO_MAXIOV'. + + * locale/setlocale.c (setlocale): Initialize local variables to + prevent warnings. + +Thu Jun 13 17:25:11 1996 David Mosberger-Tang + + * sysdeps/generic/memcmp.c: Add prototype decls for internal fns. + + * locale/programs/locale.c: Include string.h. + + * sunrpc/xdr_stdio.c (xdrstdio_getlong), sunrpc/xdr_rec.c + (xdrrec_getlong), sunrpc/xdr_mem.c (xdrmem_getlong): Make sure + appropriate sign-extension is performed on machines with + sizeof(long) > 4. + + * sunrpc/xdr.c (xdr_int, xdr_u_int): If sizeof(long)==8 and + sizeof(int) + + * libio/stdio.h (__libc_fatal): Add prototype. + + * libio/cleanup.c: Use __P() to declare prototype when __STDC__ is + in efect. + + * libio/iopopen.c (read_or_write, parent_end, child_end): Declare + volatile to avoid "might get clobbered by longjmp" warning. + + * features.h (__KERNEL_STRICT_NAMES): Define __KERNEL_STRICT_NAMES + unless _LOOSE_KERNEL_NAMES is in effect (which, with high + probability is a sure loser). + * sysdeps/unix/sysv/linux/gnu/types.h (__KERNEL_STRICT_NAMES): Remove. + + * sysdeps/unix/bsd/osf/alpha/start.S (errno): Removed. + * sysdeps/unix/sysv/linux/alpha/start.S: Ditto. + + * misc/paths.h (_PATH_MAN): Change from /usr/share/man to /usr/man + to be Linux FSSTND compliant. + +Mon Jun 10 17:50:31 1996 David Mosberger-Tang + + * sysdeps/unix/sysv/linux/alpha/pipe.S: Use PSEUDO. + + * sysdeps/unix/sysv/linux/alpha/sysdep.S, + sysdeps/unix/sysv/linux/alpha/brk.S, + sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S, + sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S, + sysdeps/unix/sysv/linux/alpha/llseek.S, + sysdeps/unix/sysv/linux/alpha/sigsuspend.S, + sysdeps/unix/sysv/linux/alpha/syscall.S: Rename syscall_error to + __syscall_error to avoid intruding application name space. + + * sysdeps/unix/sysv/linux/alpha/sysdep.h: Rename __NR_get?id + to SYS_get?id so that syscall stubs in sysdeps/unix define + these syscalls in terms of getxpid/getxuid/getxgid. + + * sysdeps/unix/_exit.S, sysdeps/unix/getegid.S, + sysdeps/unix/geteuid.S, sysdeps/unix/getppid.S, + sysdeps/unix/execve.S, sysdeps/unix/fork.S, + sysdeps/unix/syscall.S: Terminate syscall with PSEUDO_END. + + * sysdeps/unix/make-syscalls.sh, sysdeps/unix/sysdep.h + (PSEUDO_END): Rename END() to PSEUDO_END(). + + * sysdeps/unix/alpha/sysdep.h: Move error-handling code in PSEUDO + to PSEUDO_END to improve branch-prediction. Include .frame + directive to make syscalls debugabble. + (PSEUDO_END): New macro. + + * sysdeps/unix/alpha/sysdep.h, sysdeps/alpha/bb_init_func.S, + sysdeps/unix/sysv/linux/alpha/brk.S: Use ldiq instead of ldi since + latter is illegal under DEC Unix. + + * sysdeps/unix/alpha/sysdep.S: Renamed from + sysdeps/unix/sysv/linux/alpha/sysdep.S. This file works for OSF/1 + as well. + * sysdeps/unix/bsd/osf/alpha/sysdep.S: Remove (note that the + EWOULDBLOCK -> EAGAIN mapping was unnecessary since + EWOULDBLOCK==EAGAIN under DEC Unix and Linux/Alpha). + + * sysdeps/alpha/divrem.h: Use retaddr instead of ra as the return + address register in the .frame directive. + + * sysdeps/alpha/copysign.c: Remove. + + * sunrpc/rpc/types.h: Include and to + avoid RPC definitions of INADDR_LOOPBACK and/or MAXHOSTNAMELEN. + + * errno.h: Move __END_DECLS to correct place to make file + compilable under c++. + + * dirent/dirent.h: Document _DIRENT_HAVE_D_OFF macro. Define + d_ino only if hasn't defined d_fileno. + + * configure.in (HAVE_ASM_WEAKEXT_DIRECTIVE): Reverse order of + arguments to weakext to make .weakext detection work on ECOFF systems. + + * FAQ: Add Linux/Alpha to list of supported platforms. Mention + that _validuser() has been replaced by __ivaliduser(). + +Thu Jun 6 21:39:38 1996 David Mosberger-Tang + + * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Declare cmd + as unsigned long, not as int (to avoid incorrect int->long + promotion). + + + +See ChangeLog.5 for earlier changes. diff --git a/ChangeLog.8 b/ChangeLog.8 index 52b85a6270..cc1a5a79f8 100644 --- a/ChangeLog.8 +++ b/ChangeLog.8 @@ -1,2897 +1,194 @@ -1998-08-11 14:05 Ulrich Drepper +1997-11-13 20:39 Ulrich Drepper - * timezone/backward: Update from tzdata1998g. - * timezone/etcetera: Likewise. - * timezone/europe: Likewise. + * sysdeps/m68k/bits/nan.h: Removed. The generic version is usable. -1998-08-11 Philip Blundell +1997-11-13 Andreas Jaeger - * sysdeps/generic/tempname.c (__path_search): Fix typo and - formatting. + * manual/arith.texi: Fix typo in @ifclear. -1998-08-11 H.J. Lu + * manual/arith.texi (Imaginary Unit): Add @end deftypevr. - * malloc/malloc.c (free_check): Print pointer value using %p. - (realloc_check): Likewise. +1997-11-13 Andreas Jaeger -1998-08-11 13:57 Ulrich Drepper + * sysdeps/libm-ieee754/s_nanl.c (__nanl): Use NAN instead of + NANL. - * libio/fileops.c (_IO_file_sync): Use _IO_ssize_t for delta, not - _IO_size_t. + * sysdeps/libm-ieee754/s_nanf.c (__nanf): Use NAN instead of + NANF. -1998-08-10 15:49 Ulrich Drepper +1997-11-13 01:07 Ulrich Drepper - * include/dirent.h: Protect from double inclusion. + * manual/arith.texi: Update documentation according to most recent + ISO C 9X draft. + Document fma, fdim, fmin, and fmax. + * manual/math.texi: Allow multiple defitino of mul etc. -1998-08-09 Mark Kettenis + * math/complex.h (I): Define using _Complex_U not _Imaginary_I. - * posix/glob.h: Add LFS support for glob and globfree. - * posix/Versions [GLIBC_2.1]: Add glob64 and globfree64. - * posix/Makefile (routines): Add glob64. - * sysdeps/generic/glob64.c: New file. - * sysdeps/unix/sysv/linux/glob64.c: New file. - * sysdeps/unix/sysv/linux/alpha/glob64.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/glob64.c: New file. - * sysdeps/generic/glob.c [_LIBC && glob] (__glob_pattern_p): - Elide function. - * sysdeps/unix/sysv/linux/alpha/glob.c: Add glob64 as a weak alias - for __new_glob. Likewise for globfree64. - * sysdeps/unix/sysv/linux/sparc/sparc64/glob.c: New file. + * math/libm-test.c: Add tests for fma. -1998-08-09 Andreas Schwab + * math/math.h: Describe DECIMAL_DIG macro. Pretty print. - * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Remove - -include flag from command. + * sysdeps/alpha/fpu/bits/mathdef.h: Define INFINITY as of type float. + Define DECIMAL_DIG. + * sysdeps/generic/bits/mathdef.h: Likewise. + * sysdeps/i386/bits/mathdef.h: Likewise. + * sysdeps/m68k/fpu/bits/mathdef.h: Likewise. + * sysdeps/powerpc/bits/mathdef.h: Likewise. + * sysdeps/sparc/fpu/bits/mathdef.h: Likewise. -1998-08-10 Ulrich Drepper + * sysdeps/ieee754/bits/nan.h: Define NAN as of type float. + * sysdeps/m68k/bits/nan.h. Likewise. Remove NANF and NANL. - * nss/nss_db/db-XXX.c (_nss_db_getXXX): If buffer is too small - decrement `entidx' to allow retrieving the same entry again. +1997-11-12 17:50 Ulrich Drepper -1998-08-09 22:32 Ulrich Drepper + * sunrpc/xcrypt.c: Don't process #ident preprocessor instruction. + Reported by Philip Blundell . - * sysdeps/powerpc/ffs.c: Fix typo. Add support for ffsl. - Patch by Matt McLean . + * string/strndup.c: Use K&R like definition. -1998-08-07 Geoff Keating + * sysdeps/unix/sysv/linux/getcwd.c: New file. Use kernel information + instead of longish search for the name. + * sysdeps/posix/getcwd.c: Add support for use of the code as a + backup solution. - * sysdeps/powerpc/bits/setjmp.h: Use word to save condition - registers. - * sysdeps/powerpc/setjmp.S: Save condition registers. - * sysdeps/powerpc/__longjmp.S: Restore condition registers. +1997-11-12 15:31 Philip Blundell -1998-08-09 09:40 Ulrich Drepper + * sysdeps/unix/sysv/linux/arm/sysdep.h (SYS_ify): Don't add + SWI_BASE in twice. - * nss/nss_files/files-XXX.c (internal_getent): In case of an read - error do not trust errno value, set it to ENOENT. + * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter): + Use correct name to access PC. - * db2/db_185.h: Move __ prototypes into include/* header. - * dirent/dirent.h: Likewise. - * elf/dlfcn.h: Likewise. - * gmon/sys/gmon.h: Likewise. - * grp/grp.h: Likewise. - * intl/libintl.h: Likewise. - * io/fcntl.h: Likewise. - * io/sys/stat.h: Likewise. - * io/sys/statfs.h: Likewise. - * io/sys/statvfs.h: Likewise. - * libio/stdio.h: Likewise. - * login/utmp.h: Likewise. - * misc/mntent.h: Likewise. - * misc/search.h: Likewise. - * misc/sys/file.h: Likewise. - * misc/sys/ioctl.h: Likewise. - * misc/sys/select.h: Likewise. - * misc/sys/uio.h: Likewise. - * misc/sys/ustat.h: Likewise. - * posix/unistd.h: Likewise. - * posix/sys/times.h: Likewise. - * posix/sys/wait.h: Likewise. - * pwd/pwd.h: Likewise. - * resource/ulimit.h: Likewise. - * resource/sys/resource.h: Likewise. - * setjmp/setjmp.h: Likewise. - * shadow/shadow.h: Likewise. - * signal/signal.h: Likewise. - * socket/sys/socket.h: Likewise. - * stdlib/alloca.h: Likewise. - * stdlib/stdlib.h: Likewise. - * string/string.h: Likewise. - * sysdeps/generic/sys/mman.h: Likewise. - * sysdeps/unix/bsd/osf/sys/mman.h: Likewise. - * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise. - * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise. - * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise. - * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. - * sysdeps/unix/sysv/linux/sys/mman.h: Likewise. - * termios/termios.h: Likewise. - * time/time.h: Likewise. - * time/sys/time.h: Likewise. - * wcsmbs/wchar.h: Likewise. + * sysdeps/unix/arm/sysdep.S: Include not . - * include/alloca.h: Add __ prototypes here. - * include/db_185.h: Likewise. - * include/dirent.h: Likewise. - * include/dlfcn.h: Likewise. - * include/fcntl.h: Likewise. - * include/grp.h: Likewise. - * include/libintl.h: Likewise. - * include/mntent.h: Likewise. - * include/pwd.h: Likewise. - * include/sched.h: Likewise. - * include/search.h: Likewise. - * include/setjmp.h: Likewise. - * include/shadow.h: Likewise. - * include/signal.h: Likewise. - * include/stdio.h: Likewise. - * include/stdlib.h: Likewise. - * include/string.h: Likewise. - * include/termios.h: Likewise. - * include/time.h: Likewise. - * include/ulimit.h: Likewise. - * include/unistd.h: Likewise. - * include/utmp.h: Likewise. - * include/wchar.h: Likewise. - * include/sys/file.h: Likewise. - * include/sys/gmon.h: Likewise. - * include/sys/ioctl.h: Likewise. - * include/sys/mman.h: Likewise. - * include/sys/resource.h: Likewise. - * include/sys/select.h: Likewise. - * include/sys/socket.h: Likewise. - * include/sys/stat.h: Likewise. - * include/sys/statfs.h: Likewise. - * include/sys/time.h: Likewise. - * include/sys/times.h: Likewise. - * include/sys/uio.h: Likewise. - * include/sys/wait.h: Likewise. + * sysdeps/generic/bits/types.h: Add __ino64_t and __off64_t. + * sysdeps/generic/bits/stat.h: Add struct stat64. - * Makeconfig (+includes): Search in $(..)include first. +1997-11-12 16:08 Ulrich Drepper - * io/fstat.c: Undefine __fstat. - * io/lstat.c: Undefine __lstat. + * intl/loadmsgcat.c [_LIBC] (fstat): Don't define as __fstat since + now we have a definition as _fxstat. + * libio/fileops.c: Likewise. + * libio/oldfileops.c: Likewise. + Reported by Andreas Jaeger . - * wcsmbs/Versions: Add __mbrlen. +1997-11-12 Andreas Jaeger -1998-08-09 Ulrich Drepper + * sysdeps/wordsize-32/inttypes.h (SIG_ATOMIC_MAX): Correct value. + * sysdeps/wordsize-64/inttypes.h (SIG_ATOMIC_MAX): Likewise. - * elf/dl-reloc.c (_dl_relocate_object): Implement DT_BIND_NOW. +1997-11-11 Paul Eggert -1998-07-31 17:59 Ulrich Drepper + Add overflow checking for 64-bit time_t and 32-bit int. - * sysdeps/generic/bits/byteswap.h: Fix problems with side effects. + * time/time.h (__offtime): Now returns int. - * manual/filesys.texi: Document truncate and ftruncate. - Patch by Michael Deutschmann . + * time/offtime.c (__offtime): Return nonzero if successful; + check for tm_year overflow. + (DIV): New macro. + (LEAPS_THRU_END_OF): Handle negative years correctly. - * shadow/putspent.c: Lock stream while generating the output. + * time/tzset.c (__tz_convert): Return NULL if offtime cannot convert. - * sunrpc/clnt_unix.c: Use ucred instead of cmsgcred again. - (__msgwrite): Rewrite accordingly. - * sunrpc/svc_unix.c: Likewise. - * sysdeps/unix/sysv/linux/Dist: Remove __recvmsg.S and __sendmsg.S. - * sysdeps/unix/sysv/linux/Makefile [$(subdir)==socket] - (sysdep_routines): Remove __sendmsg and __recvmsg. - * sysdeps/unix/sysv/linux/__recvmsg.S: Removed. - * sysdeps/unix/sysv/linux/__sendmsg.S: Removed. - * sysdeps/unix/sysv/linux/recvmsg.c: Removed. - * sysdeps/unix/sysv/linux/sendmsg.c: Removed. - * sysdeps/unix/sysv/linux/recvmsg.S: New file. - * sysdeps/unix/sysv/linux/sendmsg.S: New file. - * sysdeps/unix/sysv/linux/bits/socket.h: Define SCM_CREDENTIALS and - struct ucred. Remove struct cmsgcred. - Patches by Thorsten Kukuk. + * time/mktime.c (ranged_convert): New function. + (ydhms_tm_diff): Return nonzero if TP is null. + (__mktime_internal): Handle cases correctly even if they are near or + past the limits of time_t values that can be broken down to struct tm. + (print_tm, check_result, main): Diagnose localtime failures. -1998-08-03 Andreas Jaeger + * manual/time.texi: Document the fact that localtime returns 0 + if the time can't be represented. - * inet/rcmd.c (__ivaliduser): Allow '#' as comment character. +1997-11-12 06:03 Ulrich Drepper -1998-08-08 14:42 Ulrich Drepper + * time/strftime.c (memset_space, memset_zero): Use MEMPCPY, not + mempcpy. Patch by Ken'ichi Handa . - * argp/argp-help.c: Prepare to be used outside glibc without gcc by - adding usual alloca cruft. - Reported by Eleftherios Gkioulekas . + * manual/time.texi: Document %F and %f format for strftime. -1998-04-05 Jim Meyering + * manual/arith.texi: Document copysign, nextafter and nan. - * lib/regex.c (WIDE_CHAR_SUPPORT): Define. - This now depends on HAVE_BTOWC so systems that lack btowc (like - solaris-2.5.1) don't lose. +1997-11-06 Andreas Jaeger -1998-08-07 Mark Kettenis + * test-installation.pl: New file. Tests for some installation + problems. - * sysdeps/generic/bits/sigaction.h: Remove definition of SA_DISABLE. - * sysdeps/generic/bits/sigstack.h: Define SS_DISABLE, SS_ONSTACK, - MINSIGSTKZ and SIGSTKSZ. Definitions match BSD. - * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Use SS_ONSTACK - instead of SA_ONSTACK. - * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Renamed from - sigaltstack, and created a weak alias. Use SS_DISABLE and - SS_ONSTACK instead of SA_DISABLE and SA_ONSTACK. - * sysdeps/mach/hurd/sigstack.c (sigstack): Use SS_ONSTACK instead - of SA_ONSTACK. Call __sigaltstack instead of sigaltstack. - * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use SS_ONSTACK - instead of SA_ONSTACK. - * sysdeps/mach/hurd/alpha/sigreturn.c (__sigreturn): Likewise. - * sysdeps/mach/hurd/mips/sigreturn.c (__sigreturn): Likewise. - * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): - Use SS_DISABLE instead of SA_DISABLE. Use SS_ONSTACK instead of - SA_ONSTACK where appropriate. - * sysdeps/mach/hurd/alpha/trampoline.c (_hurd_setup_sighandler): - Likewise. - * sysdeps/mach/hurd/hppa/trampoline.c (_hurd_setup_sighandler): - Likewise. - * sysdeps/mach/hurd/mips/trampoline.c (_hurd_setup_sighandler): - Likewise. - * manual/signal.texi (Signal Stack): Talk about SS_DISABLE and - SS_ONSTACK instead of SA_DISABLE and SA_ONSTACK in discussion of - the `ss_flags' member of `struct sigaltstack'. +1997-11-11 21:30 Ulrich Drepper -1998-08-05 Andreas Schwab - - * libio/Makefile (routines) [$(versioning)=yes]: Add oldtmpfile. - (shared-only-routines): Likewise. - * libio/oldtmpfile.c: New file - * stdio-common/tmpfile.c: Use __fdopen and __close. - [USE_IN_LIBIO]: Use _IO_fdopen instead of _IO_new_fdopen. Put - tmpfile on symbol version GLIBC_2.1. - * stdio-common/tmpfile64.c: Use __fdopen and __close. - [USE_IN_LIBIO]: Use _IO_fdopen instead of _IO_new_fdopen. - * stdio-common/Version [GLIBC_2.1]: Add tmpfile. - * stdio-common/tempnam.c: Use __strdup instead of strdup. - * sysdeps/posix/fdopen.c: Define __fdopen and make fdopen weak - alias. - * sysdeps/generic/fdopen.c: Likewise. - * sysdeps/mach/hurd/fdopen.c: Likewise. - * stdio/stdio.h: Declare __fdopen. - * sunrpc/openchild.c: Use __fdopen instead of fdopen. - [USE_IN_LIBIO]: Map __fdopen to _IO_fdopen. - * sysdeps/posix/tempname.c (__gen_tempname): Don't bother checking - __stub_open64, it is never defined. - -1998-08-05 Andreas Schwab - - * libio/iofopen64.c: Fix typo. Avoid unnessary casts. - * libio/iopopen.c: Unlink file before freeing it if command - creation failed. Avoid unnessary casts. - * libio/iofdopen.c: Avoid unnecessary cast. - * pwd/fgetpwent_r.c [USE_IN_LIBIO]: Map funlockfile to - _IO_funlockfile. - * pwd/fgetspent_r.c [USE_IN_LIBIO]: Likewise. - -1998-08-06 Andreas Schwab - - * grp/grp.h, pwd/pwd.h: Don't declare __grpopen, __grpread, - __grpalloc, __grpscan and the corresponding pwd functions, they - were removed long ago. - -1998-08-06 Andreas Schwab - - * math/libm-test.c (csqrt_test): Adjust epsilons. - (casinh_test): Likewise. - -1998-08-06 Andreas Schwab - - * posix/globtest.sh: Fix typo. Remove second test output file. - -1998-08-07 Cristian Gafton - - * pwd/putpwent.c (putpwent): Avoid writting (none) in the passwd file. - * shadow/putspent.c (putspent): Likewise. - * grp/putgrent.c: New file. - * grp/Makefile (routines): Add putgrent. - * grp/Versions [GLIBC_2.1]: Add putgrent. - * grp/grp.h: Add putgrent prototype. - -1998-08-04 19:33 Ulrich Drepper - - * elf/elf.h: More ELF definitions. - -1998-08-04 16:53 Ulrich Drepper - - * stdio-common/tmpfile.c: Include unistd.h for close prototype. - * stdio-common/tmpfile64.c: Likewise. - - * db2/makedb.c: Generate output file with same access permissions - the input file has. - - * signal/signal.h: Pretty printing. - -1998-08-04 Andreas Jaeger - - * misc/mktemp.c: Add include for prototype, remove - unneccessary includes. - * misc/mkstemp.c: Likewise. - -1998-08-03 16:36 Ulrich Drepper - - * catgets/catgets.c: Use mmap/munmap only is _POSIX_MAPPED_FILES - is defined. - * catgets/open_catalog.c: Likewise. - * iconv/iconv_prog.c: Likewise. - * intl/loadmsgcat.c: Likewise. - * locale/findlocale.c: Likewise. - * locale/loadlocale.c: Likewise. - * locale/programs/localedef.c: Likewise. - * malloc/malloc.c: Likewise. - - * elf/elf.h: Fix typo. - - * math/Makefile: Use $(LN_S) instead of ln. - - * sysdeps/generic/getpgid.c: Fix return type. - -1998-08-01 02:49 -0400 Zack Weinberg - - * sysdeps/posix/tempname.c (__stdio_gen_tempname): Rename to - __gen_tempname and simplify the interface. Strip out the - code to do path search and create FILE objects. This function - now takes a mktemp() style template and returns either a name - or a file descriptor. - (__path_search): New function; searches for directories for - temp files. - * sysdeps/generic/tempname.c: Stub out __gen_tempname and - __path_search, not __stdio_gen_tempname. - - * libio/stdio.h: Prototype __gen_tempname and __path_search, - not __stdio_gen_tempname. - * stdio/stdio.h: Likewise. - - * stdio-common/tempnam.c: Use __path_search and __gen_tempname. - * stdio-common/tmpfile.c: Likewise. - * stdio-common/tmpfile64.c: Likewise. - * stdio-common/tmpnam.c: Likewise. - * stdio-common/tmpnam_r.c: Likewise. - - * misc/mkstemp.c: New file. Use __gen_tempname. - * misc/mktemp.c: Likewise. - - * sysdeps/posix/mkstemp.c: Removed. - * sysdeps/posix/mktemp.c: Removed. - * sysdeps/generic/mkstemp.c: Removed. - * sysdeps/generic/mktemp.c: Removed. - -1998-08-02 Thorsten Kukuk - - * configure.in: Check, if door add-on is installed. - * config.make.in: Add have_doors. - * sunrpc/Makefile: Add HAVE_DOOR define. - * sunrpc/key_call.c: Add keyserv/door interface. - - * sunrpc/svc_unix.c: Call setsockopt only if SO_PASSCRED is defined. - * sunrpc/clnt_unix.c: Likewise. - -1998-08-02 Andreas Jaeger - - * inet/netinet/in.h (IN_CLASSC): Correct mask. - Reported by Ian Staniforth [fixes - PR libc/727]. - -1998-08-03 10:23 Ulrich Drepper - - * misc/Makefile: Fix installation problem with --disable-shared. - * posix/Makefile: Likewise. - -1998-08-02 Andreas Schwab - - * posix/regex.c (re_search_2): Optimize searching for anchored - pattern if '^' cannot match at embedded newlines. - (regerror): Renamed from __regerror, which it should only be - called if _LIBC. - -1998-07-31 Andreas Schwab - - * sunrpc/svc_unix.c (__msgread): Check setsockopt return value. - -1998-07-31 Andreas Schwab - - * sysdeps/generic/glob.c: Remove obsolete cast. - -1998-07-31 Andreas Schwab - - * Rules (tests): Fix last change. - -1998-07-31 17:59 Ulrich Drepper - - * sysdeps/unix/sysv/linux/Makefile [subdir==misc] (sysdep_routines): - Add sys_setresuid. - -1998-07-30 Mark Kettenis - - * sysdeps/unix/sysv/linux/syscalls.list: Add __syscall_setresuid - as real name for system call and make setresuid a weak alias. Set - caller to seteuid. - * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Implement using - `setresuid' syscall if availble. Fixes problems with sendmail - which expects `seteuid' to not set the saved user ID. - -1998-07-30 20:09 -0400 Zack Weinberg - - * time/tzset.c (__tzstring): Get rid of excessive cleverness - which was causing stack corruption. - -1998-07-31 16:41 -0400 Zack Weinberg - - * argp/argp-fmtstream.c (__argp_fmtstream_update): Correct - off-by-one in wordwrap algorithm when there' a space at the - beginning of the buffer. - -1998-07-31 15:45 Ulrich Drepper - - * Makerules (LDLIBS-c.so): Extend value instead of overwriting it. - -1998-07-31 11:10 Ulrich Drepper - - * elf/elf.h: Add lots of new symbols from Irix and Solaris. - - * sysdeps/unix/sysv/linux/sigstack.c: Include stddef.h to get NULL - definition. - -1998-07-31 Thorsten Kukuk - - * sunrpc/xcrypt.c: Use only the first 8 characters of the password. - -1998-07-30 21:06 -0400 Zack Weinberg - - * sysdeps/generic/glob.c: Undefine strdup before defining it, - because bits/string2.h may have defined it already. - -1998-07-29 Andreas Schwab - - * stdio-common/vfscanf.c: Optimize looking for type modifiers. - Fix recognition of 'a' modifier vs. 'a' format. - (TYPEMOD): Removed. - - * stdio-common/printf-parse.h (parse_one_spec): Optimize looking - for type modifiers. Fix recognition of 'hh' modifier. - -1998-07-31 Thorsten Kukuk - - * sunrpc/svc_unix.c: Fix typo. - -1998-07-31 Thorsten Kukuk - - * sysdeps/unix/sysv/linux/recvmsg.c: Don't check for SCM_CREDS before - syscall. - -1998-07-30 12:38 Ulrich Drepper - - * sysdeps/i386/ffs.c: Add ffsl entry point. - * sysdeps/i386/i686/ffs.c: Likewise. - * sysdeps/m68k/ffs.c: Likewise. - * sysdeps/powerpc/ffs.c: Likewise. - - * sysdeps/i386/i486/bits/string.h: Add optimizations for ffs/ffsl - on i686. - -1998-07-30 Richard Henderson - - * elf/Makefile (ld-map): Move initialization below Makeconfig include. - - * sysdeps/libm-ieee754/k_standard.c (zero): Make non-const to - work around gcc bug. - - * string/string.h (ffsl, ffsll): Prototype. - * string/Version (GLIBC_2.1): Add them. - * sysdeps/alpha/ffs.S: Schedule for EV5. Add ffsl and ffsll - entry points. - * sysdeps/alpha/ffsll.S: New file. Empty. - * sysdeps/generic/ffs.c: Add ffsl and ffsll entry points. - * sysdeps/generic/ffsll.c: New file. - * string/Makefile (routines): Add ffsll. - -1998-07-30 10:03 Ulrich Drepper - - * sysdeps/unix/sysv/linux/alpha/bits/time.h: Don't define CLK_TCK for - strictly ISO C compliant programs. - * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise. - -1998-07-22 Andreas Jaeger - - * inet/protocols/rwhod.h: Correct typo in comment. - - * configure.in: Use better regex for gettext. - -1998-07-29 21:29 Ulrich Drepper - - * elf/elf.h: Define more EM_* constants, ELFCLASSNUM, ELFDATANUM, - EV_NUM, Elf32_Nhdr, Elf64_Nhdr and various note section values. - - * elf/elf.h: Add DT_FLAGS_1 and the DF_1_* flag definitions. - - * elf/sprof.c: Implement -c/--call-pairs option to emit list with - caller/callee and the number of calls. - -1998-07-29 Mark Kettenis - - * sysdeps/mach/hurd/dl-sysdep.c (__lseek): New function. - (__getpid): New function. - (abort): New function. - -1998-07-29 15:07 Ulrich Drepper - - * sysdeps/arm/fpu/Dist: New file. Add ieee754.h. - - * nis/nis_cache2_xdr.c: Removed. - * nis/nis_cache.c: Removed. - * nis/nis_cache2.h: Removed. - -1998-07-29 Andreas Jaeger - - * Rules (tests): Depend on tests-static only if build-static == yes. - - * misc/Makefile (install-lib): Compile libbsd-compat.a and libg.a - only if build-static == yes. - -1998-07-29 12:58 Ulrich Drepper - - * sysdeps/generic/glob.c: Windows compatibility stuff. - Patch received from Paul D. Smith . - -1998-07-29 Andreas Jaeger - - * sunrpc/clnt_unix.c (__msgwrite)[!SCM_CRED]: Add return - statement, fix typo. - * sunrpc/svc_unix.c (__msgwrite)[!SCM_CRED]: Likewise. - -1998-07-29 Andreas Jaeger - - * manual/pattern.texi (More Flags for Globbing): Fix typo. - - * manual/math.texi (Special Functions): Fix typo. - - * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT): New - constant from Linux 2.1.112. - - * posix/Makefile (install-lib): Compile libposix.a only if - build-static == yes. - -1998-07-28 Andreas Schwab - - * sysdeps/generic/glob.c: Maintain const correctness. Move extern - declarations to file level. Cope with unsupported - _SC_GETPW_R_SIZE_MAX. - -1998-07-29 Ulrich Drepper - - * stdio-common/tst-printf.c: %z is now recognized by printf. - - * sysdeps/libm-ieee754/c_csqrt.c: Fix problems with some cancelation - errors. - * sysdeps/libm-ieee754/c_csqrtf.c: Likewise. - * sysdeps/libm-ieee754/c_csqrtlc: Likewise. - Patch by Stephen L Moshier . - - * math/libm-test.c (csqrt_test): Correct typo in one test, add - another one. - - * sysdeps/unix/sysv/linux/bits/siginfo.h: Adjust siginfo_t after - latest kernel change. - -1998-07-29 6:39 Kazushige Goto - - * sysdeps/alpha/fpu/e_sqrt.c [!_IEEE_FP]: Correctly handle - inputs near DBL_MIN. - -1998-07-28 Ulrich Drepper - - * resolv/nss_dns/dns-host.c (getanswer_r): Lower the priority of - warnings when DNSSEC related records are received. - * resolv/gethnamaddr.c (getanswer): Likewise. - Patch by Brian Wellington . - - * signal/signal.h: Add prototype for sysv_signal. - - * math/libm-test.c (tgamma_test): Remove redundant tests. - - * sysdeps/generic/glob.c: Correct problems with */foo and GLOB_NOCHECK - where foo does not exist in any of the subdirectories. - Reported by Paul D. Smith . - - * posix/globtest.sh: Add test for this bug. - - * posix/glob.h: Add GLOB_TILDE_CHECK. - * sysdeps/generic/glob.c: Implement GLOB_TILDE_CHECK. - * posix/globtest.c: Add option T to enable GLOB_TILDE_CHECK. - * posix/globtest.sh: Re-enable test with ~ and non-existing user name. - -1998-07-28 Mark Kettenis - - * io/sys/statfs.h: Fix typos. - * io/sys/statvfs.h: Fix typos. - -1998-07-28 Ulrich Drepper - - * version.h (VERSION): Bump to 2.0.95. - - * math/Makefile (libm-calls): Remove w_gamma, add w_tgamma. - * math/Versions [GLIBC_2.1]: Add tgamma, tgammaf, and tgammal. - * math/libm-test.c: Split old gamma_test and move half of it in new - function tgamma_test. - * math/bits/mathcalls.h: Add declaration of tgamma. - * sysdeps/libm-ieee754/k_standard.c: Change gamma errors into - tgamma errors. - * sysdeps/libm-ieee754/w_gamma.c: Remove lgamma compatibility code - and rename to ... - * sysdeps/libm-ieee754/w_tgamma.c: ... this. New file. - * sysdeps/libm-ieee754/w_gammaf.c: Remove lgammaf compatibility code - and rename to ... - * sysdeps/libm-ieee754/w_tgammaf.c: ... this. New file. - * sysdeps/libm-ieee754/w_gammal.c: Remove lgammal compatibility code - and rename to ... - * sysdeps/libm-ieee754/w_tgammal.c: ... this. New file. - * sysdeps/libm-ieee754/w_lgamma.c: Add gamma as weak alias. - * sysdeps/libm-ieee754/w_lgammaf.c: Likewise. - * sysdeps/libm-ieee754/w_lgammal.c: Likewise. - - * stgdio-common/printf-parse.h: Implement handling of j, t, and z - modifiers. - * stdio-common/vfprintf.c: Likewise. - * stdio-common/vfscanf.c: Likewise. - * manual/stdio.texi: Document new printf/scanf modifiers. - - * sysdeps/unix/sysv/linux/recvmsg.c: Remove alias __recvmsg. - * sysdeps/unix/sysv/linux/sendmsg.c: Remove alias __sendmsg. - -1998-07-28 Thorsten Kukuk - - * sunrpc/Makefile (routines): Add clnt_unix and svc_unix. - * sunrpc/Versions: Add new *unix_create functions. - * sunrpc/clnt_gen.c: Add support for RPC over AF_UNIX. - * sunrpc/clnt_unix.c: New, client side of RPC over AF_UNIX. - * sunrpc/key_call.c: Use RPC over AF_UNIX for communication - with keyserv daemon. - * sunrpc/rpc/clnt.h: Add AF_UNIX based RPC function prototypes. - * sunrpc/rpc/svc.h: Likewise. - * sunrpc/svc_authux.c: Copy internal auth flavor if none is given. - * sunrpc/svc_tcp.c: Fix typos. - * sunrpc/svc_unix.c: New, server side of AF_UNIX based RPC. - - * nis/Makefile: Remove currently not working cache functions. - * nis/Versions: Add __nisbind_* functions for rpc.nisd. - * nis/nis_call.c: Rewrite binding to a NIS+ server to reuse - CLIENT handles. - * nis/nis_file.c: Fix memory leaks. - * nis/nis_intern.h: Move internal structs from here ... - * nis/rpcsvc/nislib.h: ... to here for NIS+ server and tools. - * nis/nis_lookup.c: Try at first if last client handle works. - * nis/nis_table.c: Likewise. - * nis/nis_checkpoint.c: Adjust __do_niscall2 parameters. - * nis/nis_mkdir.c: Likewise. - * nis/nis_ping.c: Likewise. - * nis/nis_rmdir.c: Likewise. - * nis/nis_server.c: Likewise. - * nis/nis_util.c: Likewise. - * nis/nis_findserv.c (__nis_findfastest): Little optimization. - -1998-07-28 Andreas Jaeger - - * stdlib/strtol.c (STRTOL_LONG_MAX): Correct typo in last patch - - define as LONG_MAX. - -1998-07-28 09:31 Ulrich Drepper - - * nscd/connections.c (gr_send_answer): Deal with missing UIO_MAXIOV. - Correct test whether writev send all data. - * nscd/nscd_getgr_r.c (__nscd_getgr_r): Correct test whether readv - received all data. - -1998-07-28 Mark Kettenis - - * nscd/nscd_getgr_r.c (__nscd_getgr_r): Deal with missing UIO_MAXIOV. - -1998-07-28 Mark Kettenis - - * sysdeps/mach/hurd/dl-sysdep.c (open_file): Change assert call to - allow mode to be 0. - (__xstat): New function. - (__fxstat): New function. - (_dl_sysdep_read_whole_file): Removed. The implementation in - `elf/dl-misc.c' now also works for the Hurd. - -1998-07-27 22:25 Ulrich Drepper - - * sysdeps/generic/glob.c: Handle ~ and ~NAME case correctly. - - * posix/globtest.sh: Also add directories with NSS modules into the - library path. - -1998-07-27 17:42 Ulrich Drepper - - * nss/nss_files/files-parse.c (INT_FIELD): Use strtoul instead of - strtol. - (INT_FIELD_MAYBE_NULL): Likewise. - - * posix/globtest.c: Rewrite for extended test suite. - * posix/globtest.sh: More tests. - Patch by Brian Wellington . - - * stdlib/strtol.c: Don't redefine LONG_MAX, LONG_MIN, and ULONG_MAX. - Use new macro. - - * sysdeps/generic/readv.c: Correct return type. - * sysdeps/generic/writev.c: Likewise. - -1998-07-24 Gordon Matzigkeit - - * argp/argp-help.c (_GNU_SOURCE): Define, to suck in - program_invocation_name when compiling outside of glibc. - -1998-07-26 Philip Blundell - - * sysdeps/unix/sysv/linux/arm/siglist.c: New file; ARM tools don't - like `@' in .type directives. - - * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Check whether - FE_TONEAREST exists for this platform before using it. - * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Likewise. - - * sysdeps/arm/dl-machine.h (elf_machine_rel): Delete redundant - debugging code. Correct handling of PC24 relocs. - - * elf/Makefile (ld-map): Only define if versioning is in use. - - * sysdeps/arm/fpu_control.h: Move to ... - * sysdeps/arm/fpu/fpu_control.h: ... here. - * sysdeps/generic/fpu_control.h: Made usable as a dummy - implementation. - - * sysdeps/unix/sysv/linux/arm/brk.c: New file. - - * sysdeps/arm/machine-gmon.h: Improved profiling for ARM. - * sysdeps/arm/sysdep.h (CALL_MCOUNT): Replace stub with real - implementation. - * sysdeps/unix/sysv/linux/arm/clone.S: Likewise. - Based on patch from Scott Bambrough and Pat Beirne. - - * shlib-versions: Add appropriate definitions for ARM machines. - - * README.template: Mention that Linux/ARM with ELF works now. - -1998-07-18 Andreas Schwab - - * Makerules: Generate compilation rules for all object suffixes, - not only those currently selected, for sources in the current or - object directory. - -1998-07-24 Andreas Schwab - - * posix/fnmatch.c (fnmatch): Allow `/' in character class. Don't - match `/' in filename by a character class if requested. - * posix/testfnm.c: Rewritten. - * posix/testfnm.args: Removed. - -1998-07-25 Andreas Schwab - - * posix/annexc.c (limits_syms): Add missing symbols. - (stdarg_syms): Move va_list to `maybe' list. - (stdio_syms): Add FOPEN_MAX. - -1998-07-25 Ulrich Drepper - - * sysdeps/i386/bits/byteswap.h (__bswap_64): Change __v to __w to - prevent conflict with __bswap_32. - -1998-07-24 21:29 Ulrich Drepper - - * nscd/connections.c (pw_send_answer): Make one single writev call. - (gr_send_answer): Do the work in two writev calls. This change - changes the protocol. - - * nscd/nscd_getgr_r.c (__nscd_getgr_r): Adjust for protocol change. - We now can do the job using two readv calls. - -1998-07-24 Ulrich Drepper - - * sysdeps/generic/glob.c (glob): Fix problems with handle tilde. - Reported by Brian Wellington . - - * elf/elf.h: Really define Elf64_Verdef, Elf64_Verdaux, Elf64_Verneed, - and Elf64_Vernaux. - -1998-07-24 Andreas Jaeger - - * configure.in: Recognize pgcc as compiler. - Reported by sauron@angband.ee.ualberta.ca. - -1998-07-02 Thorsten Kukuk - - * nscd/dbg_log.c: Make sure, that debug message is really written. - * nscd/nscd.c: Don't use daemon(), set signal handler after fork. - -1998-07-23 Ulrich Drepper - - * sysdeps/generic/glob.c: Fix two problems with GLOB_DOOFFS. - Reported by bwelling@anomaly.munge.com [PR libc/720]. - - * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in - SVID more for gamma(x) with x integer <= 0. - Reported by Stephen L Moshier . - - * math/libm-test.c (gamma_test): Add test for gamma(-1) and gamma(0). - Correct test for SVID version of gamma. - - * sysdeps/libm-ieee754/w_gamma.c: Use correct matherr call in SVID - emulation mode. - * sysdeps/libm-ieee754/w_gammaf.c: Likewise. - * sysdeps/libm-ieee754/w_gammal.c: Likewise. - - * string/string.h: Don't use string function optimization for C++ - as long as we use macros. - -1998-07-22 23:47 Ulrich Drepper - - * posix/fnmatch.c: Fix completely broken range matching. - -1998-07-22 23:19 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/siginfo.h: Fix typo. - -1998-07-22 Ulrich Drepper - - * Makefile (headers2_0): Add sigstack.h. - - * sysdeps/unix/sysv/linux/alpha/getrusage.S: Also define __getrusage. - -1998-07-22 11:43 Ulrich Drepper - - * libio/fileops.c (_IO_file_sync): Don't lock stream here. - Reported by Thorsten Kukuk. - - * string/strcoll.c: Correct problem with empty strings. - * string/strxfrm.c: Likewise. - Reported by vbzoli@hbrt.hu [PR libc/719]. - -1998-07-21 18:40 Zack Weinberg - - * sysdeps/posix/tempname.c: Use the random-name generator - already used by mktemp/mkstemp. Honor TMPDIR. - -1998-07-21 Andreas Schwab - - * hurd/Makefile (routines): Remove cthreads. - * sysdeps/mach/hurd/Makefile (sysdep_routines): Add cthreads. - - * sysdeps/unix/sysv/linux/i386/Dist: Add missing files. - - * manual/Makefile (distribute): Add summary.texi. - -1998-07-20 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Fix typo. - -1998-07-21 Ulrich Drepper - - * configure.in: Correct expression to match gcc version. - - * configure.in: Move test for available port after machine - variable is defined. - -1998-07-21 16:08 Zack Weinberg - - * sysdeps/unix/sysv/linux/sendmsg.c: If passing a SCM_CREDS - message, copy the buffer and resize it to what the kernel - wants to see. Bug found and analyzed by Thorsten Kukuk - - -1998-07-20 Jose M. Moya - - * hurd/hurdmsg.c (_S_msg_get_env_variable): Copy getenv return - value. - -1998-07-20 Roland McGrath - - * sysdeps/mach/hurd/getdomain.c: New file. - * sysdeps/mach/hurd/setdomain.c: New file. - -1998-07-20 Roland McGrath - - * sysdeps/unix/bsd/sigsuspend.c: Define __sigsuspend with sigsuspend as - a weak alias. - -1998-07-20 18:23 Ulrich Drepper - - * libio/libioP.h: Use __PMT in typedef. - * libio/strfile.h: Likewise. - -1998-07-20 18:20 Ulrich Drepper - - * sysdeps/unix/sysv/linux/gethostname.c: Return ENAMETOOLONG if - buffer is too small. - Reported by John Levon . - -1998-07-20 17:09 Ulrich Drepper - - * shlib-versions: Remove definition for libSegFault. - - * memory.texi: Comment out the relocating allocator description. - * manual/signal.texi: Remove reference to relocating allocator. - * manual/top-menu.texi: Regenerated. - - * posix/fnmatch.c: Implement [: :] and change to recognize - ^ as negation only when not _POSIXLY_CORRECT. - - * sysdeps/generic/glob.c: Add several optimizations. - - * posix/glob.h: Undefine __PMT to prevent warnings. - Reported by Roland McGrath. - - * posix/regex.c: Define namespace macros only for _LIBC. - - * sysdeps/arm/dl-machine.h: Fix typo. - - * sysdeps/unix/sysv/sysv4/solaris2/sigpending.c: New file. - * sysdeps/unix/sysv/sysv4/solaris2/sigstack.c: New file. - * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: New file. - * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: Add sigaltstack, - sigpending, sigqueue, and sigtimedwait. - * sysdeps/unix/sysv/sysv4/solaris2/sparc/sparc32/syscall.S: New file. - - * timezone/leapseconds: Update from tzdata1998f. - -1998-07-18 Mark Kettenis - - * stdio/stdio.h [__USE_GNU]: Add prototype for fputs_unlocked. - * stdio/Versions [GLIBC_2.1]: Add fputs_unlocked. - * libio/stdio.h: Fix typo. - -1998-07-19 Roland McGrath - - * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): #if 0 out the - magic memobj port arg parsing stuff. Fix it someday when we are ready - to really use it. - (_dl_sysdep_output): New function, modified from _dl_sysdep_error. - (_dl_sysdep_error, _dl_sysdep_message, _dl_sysdep_fatal): Removed. - -1998-07-19 Roland McGrath - - * stdio/fputs.c: Add fputs_unlocked as weak alias for fputs. - -1998-07-19 Roland McGrath - - * sysdeps/posix/sigsuspend.c: Define __sigsuspend with sigsuspend as - a weak alias. - * sysdeps/mach/hurd/sigsuspend.c: Likewise. - * sysdeps/generic/sigsuspend.c: Likewise. - -1998-07-19 Roland McGrath - - * sysdeps/mach/hurd/i386/sigcontextinfo.h: New file. - -1998-07-19 Andreas Schwab - - * Makerules (map-file): Don't use $(wildcard) to find the - generated version script, instead look in $(version-maps). - ($(common-objpfx)libc.so): Only depend on libc.map if versioning - is used. - * extra-lib.mk ($(objpfx)$(lib).so): Only depend on version script - if versioning is used. Don't use $(wildcard) to find the - generated version script, instead look in $(verson-maps). - -1998-07-17 Andreas Schwab - - * sysdeps/generic/segfault.c: Rename GET_EIP to GET_PC. Remove - unused function handle. - * sysdeps/generic/sigcontextinfo.h: Rename GET_EIP to GET_PC. - * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise. - * debug/catchsegv.sh: Fix argument processing, quoting and various - typos. Put the crash info always in the current directory. Find - program in $PATH if it contains no directory component. - * Makerules (install-lib.so-versioned, - install-lib.so-unversioned): New variables. - (install-lib-nosubdir): Depend on unversioned libs in - slibdir, not libdir. - -1998-07-19 Andreas Schwab - - * Make-dist (+tsrcs): Remove references to %-map variables and - *.map files. Add Versions in subdirs. - * Makerules (distinfo-vars): Don't write out %-map variables. - -1998-07-20 13:55 Ulrich Drepper - - * inet/protocols/rwhod.h: Remove definition of _PATH_RWHODIR. - Include instead. - * sysdeps/generic/paths.h: Define _PATH_RWHODIR. - * sysdeps/unix/sysv/linux/paths.h: Likewise. - Reported by Dale Scheetz . - -1998-07-17 21:44 Ulrich Drepper - - * catgets/open_catalog.c: Strictly check whether catalog file is - larger enough for the data. Reported by Andries.Brouwer@cwi.nl. - -1998-07-17 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: New file. - - * sysdeps/unix/sysv/linux/m68k/socket.S: Support NO_WEAK_ALIAS. - -1998-07-17 Ulrich Drepper - - * debug/catchsegv.sh: Fix several stupid bugs. - - * shlib-versions: Define version for libSegFault. - * debug/Makefile: Replace shared lib version number while rewriting. - -1998-07-17 Mark Kettenis - - * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Add sanity check. - Suggested by Roland McGrath. - -1998-07-15 Andreas Jaeger - - * timezone/Makefile: Remove '-L (leapseconds)' for testdata - generation to control environment. - -1998-07-17 09:21 Ulrich Drepper - - * sysdeps/unix/sysv/sysv4/solaris2/bits/signum.h: Define SIG_HOLD. - Patch by John Tobey . - - * manual/llio.texi: Document readv/writev and mmap functions. - Patch by Michael Deutschmann . - -1998-07-16 Andreas Schwab - - * manual/Makefile (texis): Depend on texis.awk. - (nonexamples): Filter out add-on chapters. - (chapters.% top-menu.%): Depend on libc-texinfo.sh. - (stamp-summary): Depend on $(texis) except summary.texi. - ($(inst_infodir)/libc.info): Simplify command. - * manual/libc-texinfo.sh: Cleaned up to use less temporary files. - Fix the generation of the detailed node listing to make it - complete again. - * manual/math.texi: Fix signature of lgamma_r. - -1998-07-16 23:06 Ulrich Drepper - - * debug/Makefile (distribute): Add sigcontextinfo.h. - Add rules to generate and install catchsegv. - * debug/catchsegv.sh: New file. - -1998-07-16 Mark Kettenis - - * sysdeps/mach/hurd/dl-sysdep.c (open_file): Return a Hurd I/O - port instead of a Mach memory object. - (__open): Likewise. - (__libc_read): New function. - (__mmap): Change to take a Hurd I/O port instead of a Mach memory - object. - -1998-07-16 20:01 Ulrich Drepper - - * debug/Makefile (routines): Add backtracesymsfd. - Add rules to generate libSegFault. - * debug/Versions: Add __backtrace_symbols_fd and backtrace_symbols_fd. - * debug/execinfo.h: Declare backtrace_symbols_fd. - * sysdeps/generic/backtracesymsfd.c: New file. - * sysdeps/generic/elf/backtracesymsfd.c: New file. - * sysdeps/generic/segfault.c: New file. - * sysdeps/generic/sigcontextinfo.h: New file. - * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: New file. - - * sysdeps/generic/elf/backtracesyms.c: Remove unneeded +. - -1998-07-16 19:27 Ulrich Drepper - - * elf/rtld.c (process_envvars): Also recognize on as LD_BIND_NOW value. - (process_envvars): Append .PID to LD_DEBUG_OUTPUT file name. - -1998-07-16 13:44 Ulrich Drepper - - * argp/argp-fmtstream.c: Fix warnings introduced in last change. - * assert/assert-perr.c: Likewise. - * assert/assert.c: Likewise. - * gconv_conf.c: Likewise. - * libio/iofputs_u.c: Likewise. - * malloc/mtrace.c: Likewise. - * malloc/obstack.c: Likewise. - * misc/error.c: Likewise. - * misc/syslog.c: Likewise. - * stdio-common/asprintf.c: Likewise. - * stdio-common/dprintf.c: Likewise. - * stdio-common/getw.c: Likewise. - * stdio-common/putw.c: Likewise. - * stdio-common/snprintf.c: Likewise. - * stdio-common/sprintf.c: Likewise. - * stdio-common/sscanf.c: Likewise. - * sunrpc/svc_simple.c: Likewise. - * sysdeps/generic/abort.c: Likewise. - - * rt/aio_cancel.c: Don't define ECANCELED here. - * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED correctly. - -1998-07-16 10:23 Ulrich Drepper - - * argp/argp-fmtstream.c: Unify names of used global functions. - * argp/argp-help.c: Likewise. - * assert/assert-perr.c: Likewise - * assert/assert.c: Likewise - * dirent/scandir.c: Likewise - * dirent/scandir64.c: Likewise - * dirent/versionsort.c: Likewise - * dirent/versionsort64.c: Likewise - * gmon/bb_exit_func.c: Likewise. - * gmon/gmon.c: Likewise. - * grp/initgroups.c: Likewise. - * iconv/gconv_conf.c: Likewise. - * inet/getnameinfo.c: Likewise. - * inet/getnetgrent_r.c: Likewise. - * inet/inet_ntoa.c: Likewise. - * inet/rcmd.c: Likewise. - * inet/rexec.c: Likewise. - * inet/ruserpass.c: Likewise. - * io/fts.c: Likewise. + * include/sys/stat.h: Define stat, fstat, lstat and *64 variants + as macros so the the library compiles correctly even without + optimization. + * io/fstat.c: Undef fstat. + * io/fstat64.c: Undef fstat64 + * io/lstat.c: Undef lstat. + * io/lstat64.c: Undef lstat64 + * io/stat.c: Undef stat. + * io/stat64.c: Undef stat64 + * io/fts.c: Include to get macro definitions. * io/ftw.c: Likewise. - * io/ftw64.c: Likewise. * io/getdirname.c: Likewise. - * io/getwd.c: Likewise. - * io/lockf.c: Likewise. - * libio/iofdopen.c: Likewise. - * libio/iopopen.c: Likewise. - * login/utmp_daemon.c: Likewise. - * malloc/mtrace.c: Likewise. - * malloc/obstack.c - * misc/daemon.c: Likewise. - * misc/efgcvt_r.c: Likewise. - * misc/err.c: Likewise. - * misc/error.c: Likewise. - * misc/fstab.c: Likewise. - * misc/getpass.c: Likewise. - * misc/getttyent.c: Likewise. - * misc/mntent_r.c: Likewise. - * misc/search.h: Likewise. - * misc/syslog.c: Likewise. - * nscd/nscd_getgr_r.c: Likewise. - * nscd/nscd_getpw_r.c: Likewise. - * posix/getpgrp.c: Likewise. - * posix/wordexp.c: Likewise. - * pwd/fgetpwent_r.c: Likewise. - * pwd/getpw.c: Likewise. - * resolv/herror.c: Likewise. - * resolv/res_init.c: Likewise. - * shadow/fgetspent_r.c: Likewise. - * shadow/lckpwdf.c: Likewise. - * signal/sigrelse.c: Likewise. - * stdio-common/asprintf.c: Likewise. - * stdio-common/dprintf.c: Likewise. - * stdio-common/getw.c: Likewise. - * stdio-common/putw.c: Likewise. - * stdio-common/snprintf.c: Likewise. - * stdio-common/sprintf.c: Likewise. - * stdio-common/sscanf.c: Likewise. - * stdlib/lrand48_r.c: Likewise. - * stdlib/mrand48_r.c: Likewise. - * string/argz-replace.c: Likewise. - * string/envz.c: Likewise. - * sunrpc/auth_des.c: Likewise. - * sunrpc/auth_unix.c: Likewise. - * sunrpc/bindrsvprt.c: Likewise. - * sunrpc/clnt_gen.c: Likewise. - * sunrpc/clnt_perr.c: Likewise. - * sunrpc/clnt_simp.c: Likewise. - * sunrpc/clnt_tcp.c: Likewise. - * sunrpc/clnt_udp.c: Likewise. - * sunrpc/get_myaddr.c: Likewise. - * sunrpc/key_call.c: Likewise. - * sunrpc/netname.c: Likewise. - * sunrpc/openchild.c: Likewise. - * sunrpc/pmap_rmt.c: Likewise. - * sunrpc/rpc_dtable.c: Likewise. - * sunrpc/rtime.c: Likewise. - * sunrpc/svc_run.c: Likewise. - * sunrpc/svc_simple.c: Likewise. - * sunrpc/svc_tcp.c: Likewise. - * sunrpc/svc_udp.c: Likewise. - * sunrpc/svcauth_des.c: Likewise. - * sunrpc/xdr_array.c: Likewise. - * sunrpc/xdr_rec.c: Likewise. - * sunrpc/xdr_ref.c: Likewise. - * sunrpc/xdr_stdio.c: Likewise. - * sysdeps/generic/abort.c: Likewise. - * sysdeps/generic/dl-sysdep.c: Likewise. - * sysdeps/generic/fstatfs64.c: Likewise. - * sysdeps/generic/ftruncate64.c: Likewise. - * sysdeps/generic/getrlimit64.c: Likewise. - * sysdeps/generic/glob.c: Likewise. - * sysdeps/generic/prof-freq.c: Likewise. - * sysdeps/generic/putenv.c: Likewise. - * sysdeps/generic/statfs64.c: Likewise. - * sysdeps/generic/ttyname_r.c: Likewise. - * sysdeps/generic/utmp_file.c: Likewise. - * sysdeps/generic/vlimit.c: Likewise. - * sysdeps/generic/vtimes.c: Likewise. - * sysdeps/posix/cuserid.c: Likewise. - * sysdeps/posix/euidaccess.c: Likewise. - * sysdeps/posix/mkstemp.c: Likewise. - * sysdeps/posix/mktemp.c: Likewise. - * sysdeps/posix/pread.c: Likewise. - * sysdeps/posix/pread64.c: Likewise. - * sysdeps/posix/profil.c: Likewise. - * sysdeps/posix/pwrite.c: Likewise. - * sysdeps/posix/pwrite64.c: Likewise. - * sysdeps/posix/sigblock.c: Likewise. - * sysdeps/posix/sigpause.c: Likewise. - * sysdeps/posix/ttyname.c: Likewise. - * sysdeps/posix/ttyname_r.c: Likewise. - * sysdeps/posix/waitid.c: Likewise. - * sysdeps/unix/getlogin_r.c: Likewise. - * sysdeps/unix/grantpt.c: Likewise. - * sysdeps/unix/rewinddir.c: Likewise. - * sysdeps/unix/sysv/linux/gethostid.c: Likewise. - * sysdeps/unix/sysv/linux/getpt.c: Likewise. - * sysdeps/unix/sysv/linux/if_index.c: Likewise. - * sysdeps/unix/sysv/linux/ptsname.c: Likewise. - * sysdeps/unix/sysv/linux/sendmsg.c: Likewise. - * sysdeps/unix/sysv/linux/statvfs.c: Likewise. - * sysdeps/unix/sysv/linux/ttyname.c: Likewise. - * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise. - * sysdeps/unix/sysv/linux/ulimit.c: Likewise. - * sysdeps/unix/sysv/linux/unlockpt.c: Likewise. - * sysvipc/sys/shm.h: Likewise. - * time/ctime_r.c: Likewise. - * time/strptime.c: Likewise. - * wcsmbs/mbrlen.c: Likewise. - * wcsmbs/wcsdup.c: Likewise. - * wcsmbs/wcsxfrm.c: Likewise. - * wctype/wcfuncs.c: Likewise. - * sysdeps/unix/sysv/linux/i386/socker.S: Change to honor NO_WEAK_ALIAS. - * sysdeps/unix/sysv/linux/accept.S: Don't generate __ name. - * sysdeps/unix/sysv/linux/bind.S: Likewise. - * sysdeps/unix/sysv/linux/getsockname.S: Likewise. - * sysdeps/unix/sysv/linux/listen.S: Likewise. - * sysdeps/unix/sysv/linux/recvfrom.S: Likewise. - * sysdeps/unix/sysv/linux/sendto.S: Likewise. - * sysdeps/unix/sysv/linux/setsockopt.S: Likewise. + * Makefile (install): Run test-installation.pl if possible. - * grp/fgetgrent_r.c: Use explicit locking of the stream. - - * elf/Makefile (rtld-routines): Add dl-environ. - * sysdeps/generic/dl-sysdep.c: Move _dl_next_ld_env_entry and unsetenv - to... - * sysdeps/generic/dl-environ.c: here. New file. - - * libio/Makefile [REENTRANT] (routines): Add iofputs_u. - * libio/Versions: Add fputs_unlocked. - * libio/iofputs_u.c: New file. - * libio/stdio.h: Add prototype for fputs_unlocked. - - * sunrpc/rpc/auth.h: Use __PMT instead of __P in type definitions. - * sunrpc/rpc/clnt.h: Likewise. - * sunrpc/rpc/pmap_clnt.h: Likewise. - * sunrpc/rpc/svc.h: Likewise. - * sunrpc/rpc/xdr.h: Likewise. - - * sysdeps/i386/memchr.S: Correct for more strict gas. - * sysdeps/i386/fpu/bits/mathinline.h: Likewise. - * sysdeps/libm-i387/i686/s_fdim.S: Likewise. - * sysdeps/libm-i387/i686/s_fdimf.S: Likewise. - * sysdeps/libm-i387/i686/s_fdiml.S: Likewise. - -1998-07-15 Andreas Jaeger - - * configure.in: Change message for binutils version from - 2.8.1.0.17->2.8.1.0.23. - -1998-07-15 Ulrich Drepper - - * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Define LOC. - Patch by John Tobey . - -1998-07-14 Ulrich Drepper - - * sunrpc/auth_unix.c (authunix_create_default): Use __sysconf - instead of sysconf. - -1998-07-14 19:39 Ulrich Drepper - - * stdio-common/vfscanf.c (ungetc): Use _IO_sputbackc, not _IO_ungetc. - [_USE_IN_LIBIO] (encode_error): Free cancelation handler. - (conv_error): Likewise. - (input_error): Likewise. - (memory_error): Likewise. - -1998-07-12 Mark Kettenis - - * sysdeps/mach/hurd/dl-sysdep.c: Bring in sync with generic - implementation. Include . Replace references to symbol - _start with macro ENTRY_POINT. - (__libc_uid): Remove. - (__libc_multiple_libcs): New variable. - (__libc_stack_end): New variable. - (_dl_hwcap_mask): New variable. - (_dl_important_hwcaps): New function. - (_dl_show_auxv): Mark internal. - -1998-07-14 Mark Kettenis - - * mach/Makefile: Create target directory before generating - mach-syscalls.mk. - * mach/Machrules: Invoke awk using AWK variable. Create target - directory before generating server stubs. - -1998-07-14 Ulrich Drepper - - * wcsmbs/wcslen.c (__wcslen): Fix comment. - - * configure.in: Allow egcs-2.92. - -1998-07-10 18:14 -0400 Zack Weinberg - - * manual/Makefile: Overhauled. Generate libc.texinfo from the - chapter files. Exorcise the chapters, chapters-incl mess. - Support inserting doc chapters from add-on modules. - (chapters): New variable. - (add-chapters): New variable. - (appendices): New variable. - (libc.texinfo): New target. - (clean): Fix bugs. - (realclean): Fix bugs. - - * manual/texis.awk: New file. - * manual/libc-texinfo.sh: New file. - * manual/libc-texinfo.in: New file. - - * manual/conf.texi (top @node): Remove next pointer. - * manual/lang.texi (top @node): Remove prev pointer. - - * manual/job.texi (top @node): Add explicit pointers. - * manual/message.texi (top @node): Add explicit pointers. - * manual/nss.texi (top @node): Add explicit pointers. - * manual/process.texi (top @node): Add explicit pointers. - * manual/startup.texi (top @node): Add explicit pointers. - * manual/terminal.texi (top @node): Add explicit pointers. - * manual/users.texi (top @node): Add explicit pointers. - - * manual/arith.texi: Add %MENU% tag. - * manual/conf.texi: Add %MENU% tag. - * manual/contrib.texi: Add %MENU% tag. - * manual/ctype.texi: Add %MENU% tag. - * manual/errno.texi: Add %MENU% tag. - * manual/filesys.texi: Add %MENU% tag. - * manual/header.texi: Add %MENU% tag. - * manual/install.texi: Add %MENU% tag. - * manual/intro.texi: Add %MENU% tag. - * manual/io.texi: Add %MENU% tag. - * manual/job.texi: Add %MENU% tag. - * manual/lang.texi: Add %MENU% tag. - * manual/llio.texi: Add %MENU% tag. - * manual/locale.texi: Add %MENU% tag. - * manual/maint.texi: Add %MENU% tag. - * manual/math.texi: Add %MENU% tag. - * manual/mbyte.texi: Add %MENU% tag. - * manual/memory.texi: Add %MENU% tag. - * manual/message.texi: Add %MENU% tag. - * manual/nss.texi: Add %MENU% tag. - * manual/pattern.texi: Add %MENU% tag. - * manual/pipe.texi: Add %MENU% tag. - * manual/process.texi: Add %MENU% tag. - * manual/search.texi: Add %MENU% tag. - * manual/setjmp.texi: Add %MENU% tag. - * manual/signal.texi: Add %MENU% tag. - * manual/socket.texi: Add %MENU% tag. - * manual/startup.texi: Add %MENU% tag. - * manual/stdio.texi: Add %MENU% tag. - * manual/string.texi: Add %MENU% tag. - * manual/sysinfo.texi: Add %MENU% tag. - * manual/terminal.texi: Add %MENU% tag. - * manual/time.texi: Add %MENU% tag. - * manual/users.texi: Add %MENU% tag. - -1998-07-13 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): - Update. - -1998-07-11 Andreas Jaeger - - * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Use ANSI - style declaration to avoid warning. - * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise. - -1998-07-04 Mark Kettenis - - * elf/rtld.c (process_dl_debug): Add missing continue. - -1998-07-12 Mark Kettenis - - * elf/rtld.c (_dl_skip_args): Make global because the Hurd startup - code needs it. - -1998-07-10 Andreas Schwab - - * Makeconfig ($(common-objpfx)sysd-dirs): Write out definition of - sysd-dirs-done. - * Makerules: Don't generate version maps too early. - ($(common-objpfx)sysd-versions): Force regeneration if the list of - subdirs has changed. - -1998-07-10 Andreas Schwab - - * elf/dlfcn.h (DL_CALL_FCT): Use portable comma expression. - -1998-07-11 Andreas Schwab - - * iconv/gconv_db.c (gen_steps): Always set *handle and *nsteps. - * iconv/gconv_dl.c (__gconv_find_shlib): Correct use of tfind - return value. - -1998-07-12 Andreas Schwab - - * elf/dl-open.c (dl_open_worker): New function. - (_dl_open): Call it to do the actual work while catching errors. - * elf/dl-close.c (_dl_close): Only call termination function if - the initialisation function was called. - -1998-07-13 Ulrich Drepper - - * libio/libioP.h (_IO_cleanup_registration_needed): Use __PMT. - Reported by Felix von Leitner . - -1998-07-09 Andreas Schwab - - * Make-dist (+sysdep-tsrcs): Add Versions. - -1998-07-09 Andreas Schwab - - * math/Versions: Remove __log1p, __atan2, __fe_dfl_env, - __fe_enabled_env, __fe_nonieee_env and __fe_nomask_env. - * sysdeps/powerpc/Versions: New file. - * csu/Versions: Remove brk, sbrk, environ, __environ, _environ - and __errno_location. - * misc/Versions: Add brk and sbrk. - * posix/Versions: Add environ, __environ and _environ. - * sysdeps/unix/sysv/linux/Versions: Add __errno_location. - -1998-07-10 11:58 Ulrich Drepper - - * Makerules [no_defs]: Avoid dependency for loading sysd-versions. - Patch by Zack Weinberg. - -1998-07-10 Andreas Jaeger - - * posix/annexc.c (errno_maybe): EACCESS->EACCES. - (signal_maybe): Remove duplicate entry SIGEV_SIGNAL. - (mman_maybe): Remove duplicates MS_ASYNC, MS_INVALIDATE. - -1998-07-09 Andreas Jaeger - - * sysdeps/unix/sysv/linux/bits/fcntl.h: Fix typo. - -1998-07-09 Ulrich Drepper - - * posix/unistd.h: Simplify #ifdefs. - - * libio/libio.h: Undo last change due to possible C++ problems. - * libio/fileops.h: Likewise. - -1998-07-09 13:34 Ulrich Drepper - - * grp/grp.h: Define gid_t also for __USE_XOPEN. - * io/fcntl.h: Include also for __USE_XOPEN. - * io/utime.h: Define time_t also for __USE_XOPEN. - * io/sys/stat.h: Define time_t also for __USE_XOPEN. - Define *_t types except for pid_t also for __USE_XOPEN. - Define S_* macros also for __USE_XOPEN. - * locale/langinfo.h: Define CODESET, CRNCYSTR, RADIXCHAR, and - THOUSEP also for __USE_XOPEN. - * math/math.c: Define M_* macros also for __USE_XOPEN. - * math/bits/mathcalls.h: Declare hypot also for __USE_XOPEN. - * posix/fnmatch.h: Define FNM_NOSYS and for if _XOPEN_SOURCE is - defined. - * posix/glob.h: Likewise for GLOB_NOSYS. - * posix/regex.h: Likewise for REG_NOSYS. - * posix/wordexp.h: Likewise for WRDE_NOSYS. - * posix/unistd.h: Define *_t types also for __USE_XOPEN. - * posix/sys/wait.h: Define pid_t for __USE_XOPEN. - * pwd/pwd.h: Define gid_t and pid_t also for __USE_XOPEN. - * signal/signal.h: Define pid_t also for __USE_XOPEN. - * sysdeps/unix/sysv/linux/bits/fcntl.h: Define _RSYNC and O_DSYNC also - for __USE_POSIX199309. - * sysdeps/unix/sysv/linux/bits/termios.h: Define the various B* - constants also for __USE_XOPEN. - * wcsmbs/wchar.h: For XPG4 include wctype.h. - - * intl/dcgettext.c (find_msg): Initialize act to prevent warning. - * locale/setlocale.c (new_composite_name): Likewise for last_len. - - * libio/stdio.h: Don't declare fclose_unlocked. - - * sysdeps/posix/fpathconf.c: Handle _PC_FILESIZEBITS. - -1998-07-08 Mark Kettenis - - * stdio/stdio.h: Add prototypes for fflush_unlocked, - getc_unlocked, getchar_unlocked, putc_unlocked, putchar_unlocked, - fgets_unlocked, fread_unlocked, fwrite_unlocked, - clearerr_unlocked, feof_unlocked, ferror_unlocked, - fileno_unlocked, flockfile, ftrylockfile, funlockfile. - [__USE_XOPEN && !__USE_GNU] Declare optarg, optind, opterr. Add - prototype for getopt. - * stdio/clearerr.c (clearerr_unlocked): Weak alias for clearerr. - * stdio/feof.c (feof_unlocked): Weak alias for feof. - * stdio/ferror.c (ferror_unlocked): Weak alias for ferror. - * stdio/fflush.c (fflush_unlocked): Weak alias for fflush. - * stdio/fgets.c (fgets_unlocked): Weak alias for fgets. - * stdio/fileno.c (fileno_unlocked): Weak alias for fileno. - * stdio/fputc.c (fputc_unlocked): Weak alias for fputc. - * stdio/fread.c (fread_unlocked): Weak alias for fread. - * stdio/fwrite.c (fwrite_unlocked): Weak alias for fwrite. - * stdio/getc.c (getchar_unlocked): Weak alias for getc. - * stdio/getchar.c (getchar_unlocked): Weak alias for getchar. - * stdio/putc.c (putc_unlocked): Weak alias for putc. - * stdio/putchar.c (putchar_unlocked): Weak alias for putchar. - * stdio/Versions [GLIBC_2.1]: Add clearerr_unlocked, - feof_unlocked, ferror_unlocked, fflush_unlocked, fgets_unlocked, - fileno_unlocked, fputc_unlocked, fread_unlocked, fwrite_unlocked, - getc_unlocked, getchar_unlocked, putc_unlocked and - putchar_unlocked. - - * libio/Versions: Move flockfile, ftrylockfile and funlockfile - from here ... - * stdio-common/Versions: ... to here. - -1998-07-09 Andreas Jaeger - - * Makerules (versioning): Correct typo. - -1998-07-08 22:18 Ulrich Drepper - - * elf/Versions: Add _dl_mcount_wrapper_check. - * elf/dlfcn.h (DL_CALL_FCT): Don't test _dl_profile_map, simply use - _dl_mcount_wrapper_check. - * iconv/skeleton.c: Use DL_CALL_FCT, not _CALL_DL_FCT. - - * elf/dl-reloc.c (_dl_relocate_object): Don't declare using - internal_function. - * elf/ldsodefs.h: Likewise. - - * io/fcntl.h: Define SEEK_SET, SEEK_CUR, and SEEK_END. - - * libio/stdio.h: Make sure va_list is defined for X/Open. - Define P_tmpdir for X/Open. - - * posix/regex.h: Fix typo. - - * posix/unistd.h: Define intptr_t if not already happened. - Add pthread_atfork prototype. - * sysdeps/generic/bits/types.h: Define __intptr_t. - * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/bits/mips/types.h: Likewise. - * sysdeps/unix/sysv/linux/bits/sparc/sparc64/types.h: Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise. - * sysdeps/wordsize-32/stdint.h: Don't define intptr_t if already done. - * sysdeps/wordsize-64/stdint.h: Likewise. - - * posix/bits/posix1_lim.h: Define _POSIX_CLOCKRES_MIN. - - * signal/Makefile (headers): Add bits/sigthread.h. - * signal/signal.h: Include bits/sigthread.h. - * sysdeps/generic/bits/sigthread.h: New file. - - * stdlib/stdlib.h: Declare rand_r use __USE_POSIX. - - * sysdeps/generic/bits/confname.h: Define _PC_FILESIZEBITS. - * sysdeps/posix/pathconf.c: Handle _PC_FILESIZEBITS. - * sysdeps/unix/sysv/linux/alpha/fpathconf.c: New file. - * sysdeps/unix/sysv/linux/alpha/pathconf.c: New file. - - * sysdeps/generic/bits/dlfcn.h: Define RTLD_LOCAL. - - * elf/rtld.c: Remove preloading and loadpath variables in SUID - programs. - * sysdeps/generic/dl-sysdep.c: Define unsetenv. - * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Define other envvar - names. - - * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED. - - * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_RSYNC and O_DSYNC. - Remove O_READ and O_WRITE definition. - - * sysdeps/unix/sysv/linux/bits/resource.h: Define RLIM_SAVED_MAX - and RLIM_SAVED_CUR. - - * sysdeps/unix/sysv/linux/fstatvfs.h: Handle UFS filesystem. - -1998-07-06 Andreas Schwab - - * Makerules ($(common-objpfx)sysd-versions): Expect awk script in - scripts directory. Pass move-if-change to awk. - (common-generated): Add $(version-maps) and sysd-versions. - * versions.awk: Moved to... - * scripts/versions.awk: ... here. Use move-if-change to void - touching unchanged files. Print "version-maps = ..." instead of - "all-version-maps = ..." and without $(common-objpfx). Explain - expected variable names. - * Makefile (distribute): Updated. - -1998-07-06 Andreas Schwab - - * misc/getttyent.c (getttyent): Don't return with locked stream. - * misc/mntent_r.c (__getmntent_r): Likewise. - -1998-07-07 18:24 Ulrich Drepper - - * libio/fileops.c (_IO_do_write): Don't shrink wwrite buffer to zero - if stream is line buffered. - (_io_file_overflow): Likewise. - * libio/libio.h (_IO_putc_unlocked): Make sure that for line-buffered - streams writing '\n' flushes the string. - -1998-07-07 17:28 Ulrich Drepper - - * elf/dl-profstub.c (_dl_profile_map): Only declare variable here. - * elf/dl-support.c: Define it here... - * elf/rtld.c: ...and here. - -1998-07-07 16:28 Ulrich Drepper - - * grp/initgroups.c: Handle directives from nsswitch.conf file. - -1998-07-07 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Add - __ino64_t definition. - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Define - __off64_t. Reported by Felix von Leitner . - - * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Do not exit the shell - script if lddlibc4 failed. - Reported by B. D. Elliott . - -1998-07-06 Ulrich Drepper - - * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols): - Improve generated strings a bit. - -1998-07-06 14:36 Andreas Schwab - - * posix/Makefile (generated): Remove $(objpfx) from the names. - -1998-07-05 Andreas Jaeger - - * stdio-common/test_rdwr.c: Use %Zu for size_t in printf - format string. - - * libio/iofread_u.c: Include for prototype. - * libio/iofwrite_u.c: Likewise. - -1998-07-06 Andreas Jaeger - - * db2/Versions: New file. - -1998-07-04 Andreas Schwab - - * Makefile (lib-noranlib): Don't depend on sysd-versions. - ($(common-objpfx)sysd-versions): Remove rule. - * Makerules ($(common-objpfx)sysd-versions): Define here instead. - Pass name of Versions.def file to script and redirect output to - target. Include it and make all generated version maps depend on - it. - * versions.awk: Print out variable definition containing all - generated version maps. Print error messages to stderr. Remove - temp file. - -1998-07-04 Andreas Schwab - - * posix/annexc.c (check_header): Terminate macro name before - comparing. - (get_null_defines): Allow builtin macros with parameters. - (fmt, testfmt): Add -D_LIBC. - * posix/Makefile: Remove bogus duplicate include directories from - annexc test command. - -1998-07-06 12:04 Ulrich Drepper - - * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r): Handle adjunct - password scheme. - (_nss_nis_getpwnam_r): Likewise. - (_nss_nis_getpwuid_r): Likewise. - -1998-07-05 Mark Kettenis - - * libio/Versions: Move symbols whose source lives in - stdio-common to ... - * stdio-common/Versions: ... here. - * stdio/Versions: Add missing symbols. - -1998-07-05 Ulrich Drepper - - * sysdeps/unix/sysv/linux/__sendmsg.S: Define function as - __syscall_sendmsg. - * sysdeps/unix/sysv/linux/__recvmsg.S: Define function as - __syscall_recvmsg. - * sysdeps/unix/sysv/linux/recvmsg.c: Define function as __libc_recvmsg - and make __recvmsg and recvmsg weak aliases. - * sysdeps/unix/sysv/linux/sendmsg.c: Likewise for sendmsg. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define __syscall_recvmsg - and __syscall_sendmsg. - -1998-07-05 11:49 Ulrich Drepper - - * iconv/gconv_conf.c (read_conf_file): Use feof_unlocked on private - stream. - * inet/ruserpass.c (token): Likewise. - * nss/nsswitch.c (nss_parse_file): Likewise. - * intl/localealias.c: Likewise. Also for ferror. - * time/getdate.c (__getdate_r): Likewise. - - * libio/Makefile (routines): Add iofgets_u. - * libio/iofgets_u.c: New file. - * libio/Versions: Add fgets_unlocked. - * libio/stdio.h: Add prototype for fgets_unlocked. - - * misc/getttyent.c (getttyent): Use fgets_unlocked instead of fgets. - * misc/getusershell.c (initshells): Likewise. - * misc/mntent_r.c (__getmntent_r): Explicitly lock stream. Use - fgets_unlocked. - * nss/nss_files/files-XXX.c (internal_getent): Likewise. - * resolv/res_init.c (res_init): Likewise. - * sysdeps/unix/sysv/linux/getsysstats.c: Likewise. - -1998-05-23 Philip Blundell - - * sysdeps/unix/sysv/linux/arm/syscalls.list: Add `syscall'. - * sysdeps/unix/sysv/linux/arm/syscall.S: Deleted. - -1998-07-05 Ulrich Drepper - - * misc/getttyent.c (getttyent): Explicitly lock the FILE and use - _unlocked functions. - - * inet/ruserpass.c (ruserpass): Use _unlocked functions since this - is a private FILE. - -1998-07-04 17:11 -0400 Zack Weinberg - - * csu/Makefile: Build crt files in lib pass. - * db2/Makefile (distribute): Add mutex/sco.cc. - * mach/Machrules: Don't generate .udeps files if no_deps is set. - * sysdeps/unix/Makefile: Don't generate sysd-syscalls or - s-proto.d if avoid-generated is set. - - * sysdeps/alpha/Dist: List only one file per line. - * sysdeps/generic/Dist: Likewise. - * sysdeps/m68k/fpu/switch/Dist: Likewise. - * sysdeps/sparc/sparc32/Dist: Likewise. - * sysdeps/unix/Dist: Likewise. - * sysdeps/unix/sysv/irix4/Dist: Likewise. - - * sysdeps/mach/hurd/i386/Dist: New file. - * sysdeps/generic/Dist: Add endutxent.c, getutxent.c, getutxid.c, - getutxline.c, pututxline.c, setutxent.c, updwtmpx.c, and utmpxname.c. - * sysdeps/unix/sysv/linux/Dist: Add getresuid.c and getresgid.c. - * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove __sigtrampoline.S. - -1998-07-04 10:14 Ulrich Drepper - - * libio/Makefile (routines): Add iofread_u and iofwrite_u. - * libio/Versions: Add fread_unlocked and fwrite_unlocked. - - * Makerules (lib%.so): Adjust ignore pattern for last makefile change. - - * time/tzfile.c (decode): Optimize by using bswap_32. - (__tzfile_read): Use _unlocked stream functions. Correct setting of - __tzname array values. - (__tzfile_compute): Correct setting of __tzname array values. - * time/tzset.c (__tzstring): Clean up a bit. - -1998-06-29 19:01 Jim Wilson - - * posix/regex.c (re_comp): Add cast to char * before gettext calls. - -1998-06-30 Andreas Jaeger - - * sysdeps/unix/bsd/poll.c (__poll): Allocate fd_set dynamically so - that fd can be bigger than FD_SETSIZE. - -1998-07-01 Andreas Jaeger - - * nscd/grpcache.c: Include . - * nscd/pwdcache.c: Likewise. - - * nis/nis_modify.c: Include . - * nis/nis_add.c: Likewise. - * nis/nis_checkpoint.c: Likewise. - * posix/runptests.c: Likewise. - * sysdeps/generic/statvfs64.c: Likewise. - * sysdeps/generic/fstatvfs64.c: Likewise. - -1998-07-03 13:16 Ulrich Drepper - - * localedata/charmaps/ISO-8859-9: Change mapping for 0xea, 0xec, 0xef - to match data from Unicode. - Reported by Michael Deutschmann . - -1998-07-03 11:45 Ulrich Drepper - - * stdio-common/printf.h: Define printf_function and - printf_arginfo_function types using __PMT not __P. - Reported by Marc Lehmann. - -1998-07-02 14:07 -0400 Zack Weinberg - - * assert/test-assert.c: New test. - * assert/test-assert-perr.c: New test. - * assert/Makefile (tests): Add test-assert and test-assert-perr. - -1998-07-02 13:45 Zack Weinberg - - BSD-style SCM_CREDS support. - - * sysdeps/unix/sysv/linux/socket.h: Define struct cmsgcred and - SCM_CREDS. - * sysdeps/unix/sysv/linux/sendmsg.c: New file. Convert user - visible SCM_CREDS packet to what the kernel wants. - * sysdeps/unix/sysv/linux/recvmsg.c: New file. Convert - SCM_CREDS packet output by kernel to what users want. - - * sysdeps/unix/sysv/linux/sendmsg.S: Moved to... - * sysdeps/unix/sysv/linux/__sendmsg.S: here. - * sysdeps/unix/sysv/linux/recvmsg.S: Moved to... - * sysdeps/unix/sysv/linux/__recvmsg.S: here. - - * sysdeps/unix/sysv/linux/Makefile [subdir=socket]: Add - __sendmsg and __recvmsg to sysdep_routines. - * sysdeps/unix/sysv/linux/Dist: Add __sendmsg.S and __recvmsg.S. - -1998-07-02 Thorsten Kukuk - - * nscd/grpcache.c: Fix gid pointer handling and debug messages. - * nscd/pwdcache.c: Fix uid pointer handling and debug messages. - * nscd/nscd.c: Check, if pthread_create fails. - -1998-07-02 Andreas Jaeger - - * stdio-common/test_rdwr.c (main): Use %Zu for size_t in printf - format strings. - * stdio-common/bug1.c (main): Likewise. - * stdio-common/bug5.c (main): Likewise. - * stdio-common/tstgetln.c (main): Likewise. - * elf/sprof.c (generate_call_graph): Likewise. - (load_shobj): Likewise. - * posix/runptests.c (main): Likewise. - * string/tst-strlen.c (main): Likewise. - - * sysdeps/libm-ieee754/e_acos.c (__ieee754_acos): Remove unused - variable q3. - * sysdeps/libm-ieee754/e_asin.c (__ieee754_asin): Likewise - -1998-07-03 Andreas Jaeger - - * wctype/Versions: Add __towctrans. - Noticed by Alex Buell . - -1998-07-02 Mark Kettenis - - * grp/initgroups.c (compat_call): Only call dynamically loaded - functions if they are really present. - -1998-07-02 Mark Kettenis - - * sysdeps/unix/sysv/linux/bits/sched.h: Move __END_DECLS within - #ifdef that contains __BEGIN_DECLS. - -1998-07-02 Andreas Schwab - - * libio/iofwrite.c: Fix return value when size == 0. - -1998-07-01 Andreas Schwab - - * posix/Makefile (distribute): Add annexc.c. - (generated): Add $(objpfx)annexc and $(objpfx)annexc.out. - -1998-07-01 Andreas Schwab - - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add - bits/pthreadtypes.h here, and do not clobber headers. - - * sysdeps/unix/sysv/linux/Dist: Add bits/pthreadtypes.h. - -1998-07-03 Andreas Jaeger - - * timezone/tst-timezone.c: Add tests for tzname variable. - -1998-07-03 12:17 Zack Weinberg - - * Makefile [versioning=yes]: Build the mapfiles with a pattern - rule that lists all of them as targets. - (sysd-versions): Depend only on Versions.def. Write a Makefile - fragment that defines $(vers-libs) based on contents of that file; - then include it. - (lib-noranlib): Depend on lib-mapfiles not sysd-versions. - (lib-mapfiles): New target, depends on sysd-versions and $(vers-libs). - Predicate all this on avoid-generated unset as well as versioning. - -1998-07-03 14:35 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/Versions: New file. - -1998-07-02 21:51 Ulrich Drepper - - * Makeconfig: Define list of subdirs as all-subdirs and make subdirs - a copy. - * Makefile: Add rules to generate map files. - (distribute): Remove libc.map, add Versions.def and versions.awk. - * Makerules: Change rules to find map files on common-objpfx. - * elf/Makefile: Likewise. - * md5-crypt/Makefile: Likewise. - * nis/Makefile (libnsl-map): Remove. - * Versions.def: New file. - * versions.awk: New file. - * argp/Versions: New file. - * assert/Versions: New file. - * catgets/Versions: New file. - * csu/Versions: New file. - * ctype/Versions: New file. - * db/Versions: New file. - * debug/Versions: New file. - * dirent/Versions: New file. - * elf/Versions: New file. - * gmon/Versions: New file. - * grp/Versions: New file. - * hesiod/Versions: New file. - * hurd/Versions: New file. - * iconv/Versions: New file. - * inet/Versions: New file. - * intl/Versions: New file. - * io/Versions: New file. - * libio/Versions: New file. - * linuxthreads/Versions: New file. - * locale/Versions: New file. - * login/Versions: New file. - * malloc/Versions: New file. - * math/Versions: New file. - * md5-crypt/Versions: New file. - * misc/Versions: New file. - * nis/Versions: New file. - * nss/Versions: New file. - * posix/Versions: New file. - * pwd/Versions: New file. - * resolv/Versions: New file. - * resource/Versions: New file. - * rt/Versions: New file. - * setjmp/Versions: New file. - * shadow/Versions: New file. - * signal/Versions: New file. - * socket/Versions: New file. - * stdio/Versions: New file. - * stdio-common/Versions: New file. - * stdlib/Versions: New file. - * streams/Versions: New file. - * string/Versions: New file. - * sunrpc/Versions: New file. - * sysdeps/alpha/Versions: New file. - * sysdeps/alpha/fpu/Versions: New file. - * sysdeps/i386/Versions: New file. - * sysdeps/sparc/Versions: New file. - * sysdeps/unix/sysv/Versions: New file. - * sysdeps/unix/sysv/linux/Versions: New file. - * sysdeps/unix/sysv/linux/alpha/Versions: New file. - * sysdeps/unix/sysv/linux/i386/Versions: New file. - * sysdeps/unix/sysv/linux/mips/Versions: New file. - * sysvipc/Versions: New file. - * termios/Versions: New file. - * time/Versions: New file. - * wcsmbs/Versions: New file. - * wctype/Versions: New file. - * libc.map: Removed. - * db/libdb.map: Removed. - * elf/libdl.map: Removed. - * hesiod/libnss_hesiod.map: Removed. - * hurd/libhurduser.map: Removed. - * hurd/libmachuser.map: Removed. - * linuxthreads/libpthread.map: Removed. - * locale/libBrokenLocale.map: Removed. - * login/libutil.map: Removed. - * math/libm.map: Removed. - * md5-crypt/libcrypt.map: Removed. - * nis/libnsl.map: Removed. - * nis/libnsl_compat.map: Removed. - * nis/libnss_nis.map: Removed. - * nis/libnss_nisplus.map: Removed. - * nss/libnss_db.map: Removed. - * nss/libnss_files.map: Removed. - * resolv/libnss_dns.map: Removed. - * resolv/libresolv.map: Removed. - * rt/librt.map: Removed. - - * elf/dl-load.c (fillin_rpath): Fix test for trusted directory. - Fix typos. - - * elf/rtld.c (process_dl_debug): Recognize 'all'. - (process_envvars): LD_BIND_NOW must be followed by y, Y, or 1. - - * sysdeps/generic/elf/backtracesyms.c: Allocate string memory of - correct size. - -1998-07-01 Ulrich Drepper - - * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Fix typo - in comment. - - * nscd/nscd.c: Include unistd.h. - -1998-07-01 09:32 Ulrich Drepper - - * math/libm-test.c: Adjust delta for indentities1_test because gcc - became cleverer. - -1998-06-29 Andreas Schwab - - * resolv/inet_addr.c (inet_aton): Define variable base only if needed. - -1998-06-30 Andreas Schwab - - * scripts/test-installation.pl: Include in test program - to make it strictly conforming. - -1998-06-30 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias, - not a strong alias. - * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise. - -1998-06-30 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias, - not a strong alias. - -1998-06-30 Ulrich Drepper - - * posix/Makefile (headers): Remove bits/pthreadtypes.h. - * sysdeps/unix/sysv/linux/Makefile [subdir==posix] (headers): Add - bits/pthreadtypes.h. - -1998-06-30 11:47 Ulrich Drepper - - * include/aio.h: New file. - * posix/Makefile (distribute): Add bits/pthreadtypes.h. - (tests): Build and run annexc program. - * posix/annexc.c: New file. - * posix/bits/posix1_lim.h: Add several more _POSIX_* limits. - * rt/aio.h: Remove __need_timespec_t. We can include the whole time.h. - * rt/aio_misc.c: Include limits.h. - * rt/aio_notify.c: Include errno.h. - * sysdeps/unix/sysv/linux/alpha/bits/types.h: Include pthreadtypes.h. - Define size_t. - * sysdeps/unix/sysv/linux/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/bits/errno.h: Define ENOTSUP though the - kernel doesn't do this. - * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_LARGEFILE only if - __USE_LARGEFILE64 is defined. - * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: New file. Empty. - * sysdeps/unix/sysv/linux/bits/sched.h: Define __sched_param struct - if requested. - * sysdeps/unix/sysv/linux/bits/siginifo.h: Protect non-standard names. - - * stdlib/isomac.c: Avoid include_next warning. - -1998-06-29 12:27 Ulrich Drepper - - * argp/argp.h: Use __PMT instead of __P for function pointer. - * iconv/gconv.h: Likewise. - * io/fts.h: Likewise. - * io/ftw.h: Likewise. - * libio/libio.h: Likewise. - * malloc/mcheck.h: Likewise. - * misc/search.h: Likewise. - * posix/glob.h: Likewise. - * resolv/resolv.h: Likewise. - * signal/signal.h: Likewise. - * stdlib/stdlib.h: Likewise. - * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise. - -1998-06-26 Andreas Schwab - - * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) only once. - -1998-06-27 Andreas Schwab - - * posix/wordexp.c (parse_param): Fix memory leak. - -1998-06-27 Andreas Schwab - - * libc.map: Export _IO_ftrylockfile. - -1998-06-27 Andreas Schwab - - * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use get[pu]id instead of - __get[pu]id. - -1998-06-28 Andreas Schwab - - * elf/dl-misc.c (_dl_debug_message): Don't cache the pid. - - * elf/dl-runtime.c (_dl_object_relocation_scope): Avoid adding the - same search list twice. - -1998-06-29 Andreas Jaeger - - * login/programs/utmpd.c (handle_requests): Set and use maximal fd - used to optimize loop/select. - -1998-06-24 Andreas Schwab - - * sysdeps/generic/init-first.c: Don't define __libc_pid. - * sysdeps/unix/sysv/linux/init-first.c: Likewise. - * sysdeps/mach/hurd/i386/init-first.c: Likewise. - * sysdeps/mach/hurd/mips/init-first.c: Likewise. - * sysdeps/arm/init-first.c: Likewise. - * posix/getopt_init.c: Don't use __libc_pid. - * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise. - * sysdeps/unix/sysv/linux/sigqueue.c: Likewise. - * libc.map: Remove __libc_uid and __libc_pid. - -1998-06-28 Andreas Jaeger - - * sunrpc/rtime.c (rtime): Use poll instead of select. - -1998-06-28 Andreas Jaeger - - * sunrpc/clnt_tcp.c (readtcp): Use poll instead of select. - * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise. - * sunrpc/clnt_udp.c (clntudp_call): Likewise. - Patches from FreeBSD current. - -1998-06-28 Andreas Jaeger - - * nscd/connections.c (handle_new_request): Handle POLLHUP - correctly. - (close_sockets): Correct parameter to dbg_log. - -1998-06-27 David S. Miller - - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host): - Cleanup weak_extern usage for _dl_hwcap and _dl_hwcap_mask. - (elf_machine_fixup_plt): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: When - _dl_pagesize not set, use system call to always get correct answer. - * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list - (__syscall_getpagesize): Add - -1998-06-27 Ulrich Drepper - - * resolv/res_send.c (res_send): Fix typo. - -1998-06-25 Andi Kleen - - * inet/rcmd.c (rcmd): Change to use __poll instead of select. - * resolv/res_send.c (res_send): Likewise. - -1998-06-27 12:58 Ulrich Drepper - - * sysdeps/unix/bsd/poll.c: Define __poll, make poll weak alias. - * sysdeps/unix/sysv/linux/poll.c: Likewise. - -1998-06-27 7:07 Richard Henderson - - * math/atest-exp.c (exp_mpn, main): Cast to mp_limb_t appropriately. - * math/atest-exp2.c (exp_mpn, main): Likewise. - * math/atest-sincos.c (main): Likewise. - - * resolv/inet_addr.c (inet_aton): Check for 32-bit overflow. Move - base handling away from strtoul. Always reset errno. - - * sysdeps/alpha/Makefile (elf): Kill -mno-fp-regs. - - * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Only set - _dl_profile_map if _dl_name_match_p. - (RTLD_START): Fix .prologue. Set __libc_stack_end. - * sysdeps/alpha/elf/start.S: Pass sp as arg 7. Kill __data_start. - - * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Mark tmp - as early-clobber. - - * sysdeps/libm-ieee754/e_exp10.c: Include "math_private.h". - * sysdeps/libm-ieee754/e_exp10f.c: Likewise. - * sysdeps/libm-ieee754/e_exp10l.c: Likewise. - -1998-06-26 Ulrich Drepper - - * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use alias-safe code. - -1998-06-26 Thorsten Kukuk - - * nis/nis_call.c: Don't copy server structure. - * nis/nis_intern.h: Remove unused entries. - * nis/nis_table.c: Rewrite __create_ib_request. - -1998-06-26 14:37 Ulrich Drepper - - * configure.in: Check for -fexceptions. - * config.make.in: Define exceptions, not no-exceptions. - * misc/sys/cdefs.h: Define __PMT. When using modern g++ define - __P to use throw(). - * misc/Makefile: Define CFLAGS-tsearch.c and CFLAGS-lsearch.c to - $(exceptions). - * stdlib/Makefile: Likewise for bsearch.c, msort.c, and qsort.c. - * misc/search.h: Use __PMT in tsearch, tfind, tdelete, twalk, tdestroy, - lfind, and lsearch prototpypes. - * stdlib/stdlib.h: Likewise for bsearch and qsort. - -1998-06-26 Ulrich Drepper - - * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use C code, not asm. - -1998-06-25 Andreas Schwab - - * Makefile (remove-old-headers): Make phony. - - * configure.in: Substitute @old_glibc_headers@. - -1998-06-26 Ulrich Drepper - - * libc.map: Remove __libc_uid. - -1998-06-24 Andreas Schwab - - * manual/terminal.texi (Allocation, Pseudo-Terminal Pairs): Fix - typos. - -1998-06-26 Ulrich Drepper - - * libc.map: Add Alpha-specific io function from protected namespace. - -1998-06-25 19:26 Ulrich Drepper - - * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) if defined first. - * locale/Makefile: Define locale-CPPFLAGS instead of redefining - CPPFLAGS. - - * libc.map: Export __sigaction. - -1998-06-25 Andreas Jaeger - - * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PTRACE): Add it - (from Linux 2.1.107). - -1998-06-24 Ulrich Drepper - - * nss/nss_files/files-XXX.c (_nss_files_get,ENTNAME_r): Initialize - position when file was opened here. - Reported by Howard Chu . - - * sysdeps/generic/glob.c: Also protect FNM_* macros from being - undefined in a second inclusion. - -1998-06-20 Mark Kettenis - - * sysdeps/mach/hurd/i386/Makefile: New file. - * sysdeps/mach/hurd/i386/init-first.c [!PIC] (init1): Call - __libc_init_secure. - (_hurd_stack_setup): Renamed - from __libc_init_first. - (__libc_init_first): New function. - * sysdeps/mach/hurd/i386/static-start.S: New file. - -1998-05-30 Mark Kettenis - - * sysdeps/mach/hurd/i386/init-first.c - -1998-06-22 Andreas Schwab - - * grp/initgroups.c: Use _CALL_DL_FCT. - -1998-06-23 Mark Kettenis - - * elf/rtld.c (process_dl_debug): Add missing continue. - -1998-06-23 Mark Kettenis - - * elf/dl-load.c (_dl_map_object_from_fd): Add missing cast. - -1998-06-23 Andreas Jaeger - - * manual/terminal.texi (Pseudo-Terminals): Correct typos. - -1998-06-23 Ulrich Drepper - - * config.make.in: Remove LDAP support. - * nss/Makefile: Likewise. - -1998-06-22 17:02 Ulrich Drepper - - * sysdeps/generic/enbl-secure.c: Don't use __libc_uid. - * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise. - * sysdeps/unix/sysv/linux/sigqueue.c: Likewise. - * sysdeps/unix/sysv/linux/init-first.c: Don't initialize __libc_uid. - -1998-06-02 Gordon Matzigkeit - - * mach/Makefile: Change `mv' invocations to `mv -f'. - * mach/Machrules: Likewise. - -1998-06-22 Andreas Jaeger - - * config.make.in (old-glibc-headers): Add it. - - * configure.in: Add test for glibc 2.0.x headers. - - * Makefile (headers2_0): New variable - contains so far only - Linux/Intel glibc 2.0.x headers. - (remove-old-headers): New rule to remove headers from glibc 2.0.x. - (install): Depend on remove-old-headers. - -1998-06-19 Mark Kettenis - - * sysdeps/generic/ftruncate.c: Define function as __ftruncate and - make ftruncate a weak alias. - * sysdeps/mach/hurd/ftruncate.c: Really define function as - __ftruncate. - * sysdeps/mach/hurd/truncate.c: Include . - (truncate): Fix function defenition to match prototype. - -1998-06-20 Mark Kettenis - - * manual/terminal.texi: Document ttyname_r, getpt, grantpt, - unlockpt, ptsname, ptsname_r, openpty and forkpty. - -1998-06-22 Ulrich Drepper - - * sysdeps/generic/glob.c: Make it possible to include glob.h - before loading glob.c. - Reported by Felix von Leitner . - -1998-06-22 Andreas Jaeger - - * nscd/connections.c: Use poll() instead of select(). - -1998-06-22 14:08 Andreas Schwab - - * sysdeps/generic/Dist: Fix typo. - -1998-06-20 Thorsten Kukuk - - * nis/nis_add.c: Avoid unnecessary strlen () calls. - * nis/nis_addmember.c: Likewise. - * nis/nis_call.c: Likewise. - * nis/nis_creategroup.c: Likewise. - * nis/nis_destroygroup.c: Likewise. - * nis/nis_findserv.c: Likewise. - * nis/nis_ismember.c: Likewise. - * nis/nis_print.c: Likewise. - * nis/nis_print_group_entry.c: Likewise. - * nis/nis_removemember.c: Likewise. - * nis/nis_verifygroup.c: Likewise. - * nis/ypclnt.c: Likewise. - - * nis/nis_file.c: Close file handles. - - * nis/nis_callback.c: Fix typo. - -1998-06-10 Thorsten Kukuk - - * nis/Makefile: Add nis-initgroups and compat-initgroups. - * nis/libnss_compat.map: Add _nss_compat_initgroups. - * nis/libnss_nis.map: Add _nss_nis_initgroups. - * nis/nss_compat/compat-initgroups.c: New, faster then getgrent(). - * nis/nss_nis/nis-initgroups.c: Likewise. - * libc-work/nss/nsswitch.c: Rename nss_lookup_function to - __nss_lookup_function and make it public. - * grp/initgroups.c: Rewrite, to use initgroups function from NSS - module if exists, else use old method. - -1998-06-19 Ulrich Drepper - - * nss/getXXbyYY_r.c (lookup_function): Correct return in type - definition. - * nss/getXXent_r.c (set_function, end_function, get_function): - Likewise. Reported by Thorsten Kukuk. - - * sysdeps/unix/sysv/linux/sigstack.c: Mark sigstack as dangerous. - -1998-06-19 Andreas Jaeger - - * sysdeps/unix/sysv/linux/sparc/Dist: Follow change from - 1998-06-16 and distribute kernel_termios.h. - - * nis/Makefile (distribute): Add nis_xdr.h. - -1998-06-19 Andreas Jaeger - - * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Disable for - kernels that don't have sigaltstack. - -1998-06-19 Ulrich Drepper - - * sysdeps/generic/bits/sem.h: Don't define union semun. - - * sysdeps/unix/sysv/linux/bits/sem.h: Fix typo. - - * sysdeps/unix/sysv/linux/bits/ipc.h: Remove ipc_kludge definition - here. - * sysdeps/unix/sysv/linux/msgrcv.c (msgrcv): Add ipc_kludge - definition here. - -1998-06-18 21:45 Ulrich Drepper - - * signal/signal.h: Add prototype for __sigaltstack. - * sysdeps/unix/sysv/linux/syscalls.list: Add __sigaltstack name. - Remove sigstack entry. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add sigstack here. - * sysdeps/unix/sysv/linux/sigstack.c: New file. - - * sysdeps/i386/backtrace.c: Add casts. - -1998-06-18 19:49 Ulrich Drepper - - * intl/dcgettext.c: use complete type name. - * intl/hash-string.h: Likewise. - - * intl/localealias.c: Undo patch from 1998-04-29. - * intl/l10nflist.c: Likewise. - * intl/loadinfo.h: Likewise. - -1998-06-18 Ulrich Drepper - - * sysdeps/i386/elf/start.S (_start): Ensure correct alignment. - -1998-06-18 16:40 Ulrich Drepper - - * libc.map: Add _dl_profile_map, _dl_profile_output, _dl_start_profile, - _dl_mcount, _dl_mcount_wrapper. - * elf/Makefile (routines): Add dl-profstub. - * elf/dl-profstub.c: New file. - * elf/dl-support.c: Don't define _dl_profile_map. - * elf/rtld.c: Likewise. - * elf/dlfcn.h: Define DL_CALL_FCT macro. - * elf/ldsodefs.h: Declare _dl_profile_output, _dl_mcount_wrapper. - Define _CALL_DL_FCT. - * iconv/gconv.c: Use _CALL_DL_FCT to call function from dynamically - loaded object. - * iconv/gconv_db.c: Likewise. - * iconv/skeleton.c: Likewise. - * nss/getXXbyYY_r.c: Likewise. - * nss/getXXent_r.c: Likewise. - * nss/nsswitch.c: Likewise. - -1998-06-18 12:29 Ulrich Drepper - - * sysdeps/libm-i387/e_scalb.S: Fix bug in FPU stack handling. - * sysdeps/libm-i387/e_scalbf.S: Likewise. - * sysdeps/libm-i387/e_scalbl.S: Likewise. - -1998-06-18 Ulrich Drepper - - * stdlib/tst-strtod.c (long_dbl): Provide receipe to regenerate - longestdbl. - -1998-06-18 10:26 Ulrich Drepper - - * iconvdata/Makefile (modules): Add MACINTOSH. - (MACINTOSH-routines): New variable. - (distribute): Add macintosh.c. - (awk-generated-headers): Add macintosh.h. - Add rule for macintosh.h generation. - * iconvdata/gconv-modules: Add definitions for MACINTOSH. - * iconvdata/macintosh.c: New file. - -1998-06-17 Ulrich Drepper - - * stdlib/tst-strtod.c (long_dbl): Add test for loooong numbers. - - * stdlib/strtod.c (str_to_mpn): Fix extending of n array which - only should happen for cy != 0. - - * sysdeps/unix/sysv/linux/alpha/glob.c: Include sys/types.h before - glob.h. - -1998-06-16 Andreas Schwab - - * sysdeps/generic/backtrace.c (INNER_THAN): New definition, use it - to compare stack addresses. - -1998-06-17 Ulrich Drepper - - * sysdeps/unix/sysv/linux/alpha/glob.c: Include glob.h before - defining prototypes. - -1998-06-16 David S. Miller - - * sysdeps/sparc/sparc32/dl-machine.h - (elf_machine_fixup_plt): During rtld bootstrap, always perform - flushes as the kernel will emulate it when the underlying cpu does - not implement flush. - - * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: Move... - * sysdeps/unix/sysv/linux/sparc/kernel_termios.h: ...to here. - - * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S: Remove. - * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: No longer build - trampoline code. - - * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S - (__clone): Branch to label .Lerror not __clone_syscall_error. - (.Lerror): Fixup EINVAL setting. - * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list - (__syscall_getgroups, __syscall_setgroups): Add. - - * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c - (__sigaction): Member name is k_sa_handler. Use memcpy to copy - around sa_mask data. - -1998-06-16 Ulrich Drepper - - * math/math.h: Include bits/nan.h when compiling for ISO C 9x. - - * string/Makefile: Make sure test-ffs does not use builtins. - -1998-06-16 Thorsten Kukuk - - * sunrpc/svc.c: Check for NULL pointer. - - * nis/libnsl.map: Add public NIS+ xdr functions. - - * nis/rpcsvc/nis_callback.h: New file. - * nis/rpcsvc/nis.h: Move xdr_* functions from here ... - * nis/nis_xdr.h: ... here. - - * nis/nis_add.c: Use internal _xdr_* functions, check for NULL - pointers, use NIS+ defines where possible. - * nis/nis_cache.c: Likewise. - * nis/nis_cache2_xdr.c: Likewise. - * nis/nis_call.c: Likewise. - * nis/nis_checkpoint.c: Likewise. - * nis/nis_clone_dir.c: Likewise. - * nis/nis_clone_obj.c: Likewise. - * nis/nis_clone_res.c: Likewise. - * nis/nis_creategroup.c: Likewise. - * nis/nis_file.c: Likewise. - * nis/nis_free.c: Likewise. - * nis/nis_getservlist.c: Likewise. - * nis/nis_local_names.c: likewise. - * nis/nis_lookup.c: Likewise. - * nis/nis_mkdir.c: Likewise. - * nis/nis_modify.c: Likewise. - * nis/nis_ping.c: Likewise. - * nis/nis_print.c: Likewise. - * nis/nis_remove.c: Likewise. - * nis/nis_removemember.c: Likewise. - * nis/nis_rmdir.c: Likewise. - * nis/nis_server.c: Likewise. - * nis/nis_table.c: Likewise. - * nis/nis_util.c: Likewise. - * nis/nis_verifygroup.c: Likewise. - * nis/nis_xdr.c: Likewise. - * nis/nis_callback.c: Likewise, and move xdr functions from here ... - * nis/nis_xdr.c: ... to here. - -1998-06-15 18:07 Ulrich Drepper - - * iconvdata/ksc5601.h: Clean up a bit. - -1998-06-15 14:35 Ulrich Drepper - - * sunrpc/svc_tcp.c (readtcp): Also listen to all the other connections - and process incoming data. - * sunrpc/xdr_rec.c (set_input_fragment): Only recognize zero length - fragments as invalid. - Patches by Thorsten Kukuk . - -1998-06-13 Andreas Jaeger - - Removal of duplicates like "the the". - * manual/time.texi (TZ Variable): Likewise. - * manual/users.texi (Manipulating the Database): Likewise. - * manual/sysinfo.texi (Filesystem handling): Likewise. - * manual/signal.texi (Signaling Yourself): Likewise. - * manual/message.texi (Message Translation): Likewise. - (Common Usage): Likewise. - * manual/llio.texi: Likewise. - * manual/arith.texi (Old-style number conversion): Likewise. - * manual/argp.texi (Argp): Likewise. - (Argp Parsers): Likewise. - (Argp Help Filtering): Likewise. - - * hesiod/README.hesiod: Correct typo. - - * manual/llio.texi: Correct typos. - * manual/sysinfo.texi: Likewise. - -1998-06-13 Andreas Jaeger - - * rt/aio.h: Rename __op to __operation for g++. - -1998-06-13 20:17 -0400 Zack Weinberg - - * iconvdata/gen-8bit-gap.sh: Use awk not perl. Clean up sed - script. - * iconvdata/gen-8bit-gap-1.sh: Likewise. - * iconvdata/gen-8bit.sh: Clean up sed script. - - * iconvdata/Makefile: Remove all PERL conditionals; build all - the modules all the time. Export AWK. - (gen-8bit-gap): Delete setting of PERL. - (gen-8bit-gap-1): Likewise. - (perl-generated-headers): Renamed awk-generated-headers. - - * iconvdata/gap.pl: Removed. - * iconvdata/gaptab.pl: Removed. - * iconvdata/gap.awk: New file. - * iconvdata/gaptab.awk: New file. - -1998-06-15 Ulrich Drepper - - * sysdeps/generic/Dist: Add errno-loc.c. - - * sysdeps/unix/sysv/linux/alpha/glob.c: Add prototypes for the - __new_* functions. - -1998-06-14 14:21 -0400 Zack Weinberg - - * stdio-common/bug12.c: New test for fread()/fseek(). - * stdio-common/Makefile (tests): Add bug12. - -1998-06-14 Andreas Schwab - - * sysdeps/generic/elf/backtracesyms.c: Make array elements - constant. - * sysdeps/generic/backtracesyms.c: Likewise. Fix type of RESULT. - * debug/execinfo.h: Update declaration. - -1998-06-14 Andreas Schwab - - * sysdeps/generic/elf/backtracesyms.c: Make array elements constant. - * sysdeps/generic/backtracesyms.c: Likewise. Fix type of RESULT. - * debug/execinfo.h: Update declaration. - -1998-06-13 Andreas Schwab - - * manual/llio.texi: Fix spelling. - * manual/sysinfo.texi: Fix spelling. - -1998-06-13 Andreas Schwab - - * misc/hsearch.c (__hdestroy): Renamed from hdestroy, create weak - alias for old name. Put this on __libc_subfreeres. - * misc/search.h: Declare it. - -1998-06-13 Andreas Schwab - - * string/bits/string2.h (strcmp): Add missing parens around macro - parameters. - -1998-06-12 23:34 Ulrich Drepper - - * manual/arith.texi: Fix problem with @math and texinfo.tex. - - * manual/filesys.texi: Document LFS functions. - * manual/llio.texi: Likewise. - * manual/stdio.texi: Likewise. - * manual/time.texi: Likewise. - - * manual/llio.texi: Document AIO functions. - - * resource/sys/resource.h: Mark second argument of setrlimit as const. - * sysdeps/generic/setrlimit.c: Likewise. - * sysdeps/generic/setrlimit64.c: Likewise. - * sysdeps/mach/hurd/setrlimit.c: Likewise. - * sysdeps/unix/sysv/setrlimit.c: Likewise. - -1998-06-11 Andreas Schwab - - * sysdeps/generic/getenv.c: Fix last change. - -1998-06-10 Andreas Schwab - - * sysdeps/generic/backtrace.c: Provide generic implementation. - -1998-06-10 Andreas Schwab - - * configure.in: Give visual feedback of the default directories we - added. - -1998-06-11 Andreas Schwab - - * io/fts.c (fts_build): Define oflag only if needed. - -1998-06-11 Andreas Schwab - - * sysdeps/libm-ieee754/w_exp10.c: Add missing close comment. - -1998-06-11 Ulrich Drepper - - * libc.map: Don't export argp's fmtstream handling functions. - - * manual/sysinfo.texi: Document fstab and mtab handling functions. - * manual/llio.texi: Document more LFS functions and start documenting - the AIO functions. - -1998-06-03 03:09 Geoff Keating - - * sysdeps/unix/sysv/linux/pread.c: Detect missing syscall, like poll(). - * sysdeps/unix/sysv/linux/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. - -1998-06-03 03:09 Geoff Keating - - * sysdeps/powerpc/Makefile: Use -G0 on the startup file; this - makes it easier to undump emacs. - * sysdeps/powerpc/bits/endian.h: Use more informative error message - for when the endianness can't be determined. - -1998-06-04 13:19 Geoff Keating - - * nss/Makefile: Add files publickey database support. - * nss/libnss_files.map: Export the required functions. - * nss/nss_files/files-key.c: Implement it. - * sunrpc/rpc/auth_des.h: Correct typos in comments. - -1998-06-10 Ulrich Drepper - - * iconv/gconv_builtin.h: Add aliases for CORBA. - * iconvdata/gconv-modules: Likewise. - -1998-06-10 Andreas Jaeger - - * math/libm-test.c (main): Call exp10_test. - (exp10_test): New function which tests exp10. - -1998-06-10 Ulrich Drepper - - * sysdeps/unix/sysv/linux/syscalls.list: Add sigaltstack and - sigstack. - - * sysdeps/unix/sysv/linux/bits/sigstack.h: Add definitions of - SS_ONSTACK, SS_DISABLE, MINSIGSTKSZ and SIGSTKSZ. - * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h: New file. - -1998-06-08 Andreas Schwab - - * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address - in the variable, not its GOT slot. - -1998-06-10 10:32 Andreas Schwab - - * sysdeps/m68k/fpu/bits/mathinline.h: Define __ieee754_exp10 as - inline. - * sysdeps/m68k/fpu/e_exp10.c: New file. - * sysdeps/m68k/fpu/e_exp10f.c: New file. - * sysdeps/m68k/fpu/e_exp10l.c: New file. - - * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Set - _dl_profile_map only if the name matches. - (_dl_start_user): Remember stack address. - * sysdeps/m68k/elf/start.S: Pass new argument to - __libc_start_user. - - * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_LABEL): New - definition. - (PSEUDO, SYSCALL_ERROR_HANDLER): Use it instead of syscall_error. - * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise. - -1998-06-09 18:16 Ulrich Drepper - - * math/Makefile (libm-calls): Add w_exp10 and e_exp10. - * math/libm.map: Add exp10{,f,l} and pow10{,f,l}. - * math/math_private.h: Add prototypes for __ieee754_exp10{,f,l}. - * math/bits/mathcalls.h: Add definitions for exp10 and pow10 - prototypes. - * sysdeps/libm-i387/e_exp10.S: New file. - * sysdeps/libm-i387/e_exp10f.S: New file. - * sysdeps/libm-i387/e_exp10l.S: New file. - * sysdeps/libm-ieee754/e_exp10.c: New file. - * sysdeps/libm-ieee754/e_exp10f.c: New file. - * sysdeps/libm-ieee754/e_exp10l.c: New file. - * sysdeps/libm-ieee754/w_exp10.c: New file. - * sysdeps/libm-ieee754/w_exp10f.c: New file. - * sysdeps/libm-ieee754/w_exp10l.c: New file. - * sysdeps/libm-ieee754/k_standard.c: Add exception code for exp10. - -1998-05-25 22:18 H.J. Lu - - * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers): Add - sys/elf.h and sys/reg.h. - * sysdeps/unix/sysv/linux/i386/sys/elf.h: New file. - * sysdeps/unix/sysv/linux/i386/sys/reg.h: New file. - * sysdeps/unix/sysv/linux/i386/sys/procfs.h: New file. - * sysdeps/unix/sysv/linux/i386/sys/user.h: New file. - - * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETREGS, - PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS): Added. - -1998-06-09 Ulrich Drepper - - * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_options): Define - __data member only for gcc. Reported by ak@muc.de. - - * misc/mntent.h: Undo last patch. - * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Undo last patch. - * misc/tst/mntent.c: Adjust code for this change. - - * io/fts.c: Updated from a slightly more recent BSD version. - * io/fts.h: Likewise. - - * libc.map: Add __libc_stack_end. - - * db2/Makefile (routines): Add lock_region. - * db2/config.h: Update from db-2.4.14. + * db2/Makefile: Update from db-2.3.12. * db2/db.h: Likewise. - * db2/db_185.h: Likewise. * db2/db_int.h: Likewise. - * db2/btree/bt_close.c: Likewise. - * db2/btree/bt_compare.c: Likewise. - * db2/btree/bt_conv.c: Likewise. * db2/btree/bt_cursor.c: Likewise. * db2/btree/bt_delete.c: Likewise. * db2/btree/bt_open.c: Likewise. - * db2/btree/bt_page.c: Likewise. * db2/btree/bt_put.c: Likewise. * db2/btree/bt_rec.c: Likewise. * db2/btree/bt_recno.c: Likewise. - * db2/btree/bt_rsearch.c: Likewise. * db2/btree/bt_search.c: Likewise. * db2/btree/bt_split.c: Likewise. * db2/btree/bt_stat.c: Likewise. * db2/btree/btree.src: Likewise. * db2/btree/btree_auto.c: Likewise. - * db2/clib/getlong.c: Likewise. + * db2/btree/bt_cursor.c: Likewise. + * db2/btree/bt_delete.c: Likewise. + * db2/btree/bt_open.c: Likewise. + * db2/btree/bt_put.c: Likewise. + * db2/btree/bt_rec.c: Likewise. + * db2/btree/bt_recno.c: Likewise. + * db2/btree/bt_search.c: Likewise. + * db2/btree/bt_split.c: Likewise. + * db2/btree/bt_stat.c: Likewise. + * db2/btree/btree.src: Likewise. + * db2/btree/btree_auto.c: Likewise. * db2/common/db_appinit.c: Likewise. * db2/common/db_apprec.c: Likewise. * db2/common/db_byteorder.c: Likewise. - * db2/common/db_err.c: Likewise. - * db2/common/db_log2.c: Likewise. * db2/common/db_region.c: Likewise. - * db2/common/db_salloc.c: Likewise. - * db2/common/db_shash.c: Likewise. - * db2/db/db.c: Likewise. - * db2/db/db.src: Likewise. - * db2/db/db_auto.c: Likewise. - * db2/db/db_conv.c: Likewise. - * db2/db/db_dispatch.c: Likewise. - * db2/db/db_dup.c: Likewise. - * db2/db/db_overflow.c: Likewise. - * db2/db/db_pr.c: Likewise. - * db2/db/db_rec.c: Likewise. - * db2/db/db_ret.c: Likewise. - * db2/db/db_thread.c: Likewise. + * db2/db/db.c: Likewise + * db2/db/db.src: Likewise + * db2/db/db_auto.c: Likewise + * db2/db/db_dispatch.c: Likewise + * db2/db/db_dup.c: Likewise + * db2/db/db_overflow.c: Likewise + * db2/db/db_pr.c: Likewise + * db2/db/db_rec.c: Likewise + * db2/db/db_ret.c: Likewise + * db2/db/db_thread.c: Likewise * db2/db185/db185.c: Likewise. - * db2/db185/db185_int.h: Likewise. - * db2/dbm/dbm.c: Likewise. * db2/hash/hash.c: Likewise. * db2/hash/hash.src: Likewise. * db2/hash/hash_auto.c: Likewise. - * db2/hash/hash_conv.c: Likewise. - * db2/hash/hash_debug.c: Likewise. * db2/hash/hash_dup.c: Likewise. - * db2/hash/hash_func.c: Likewise. * db2/hash/hash_page.c: Likewise. * db2/hash/hash_rec.c: Likewise. - * db2/hash/hash_stat.c: Likewise. - * db2/include/btree.h: Likewise. + * db2/include/btree_auto.h: Likewise. * db2/include/btree_ext.h: Likewise. * db2/include/clib_ext.h: Likewise. * db2/include/common_ext.h: Likewise. - * db2/include/cxx_int.h: Likewise. * db2/include/db.h.src: Likewise. - * db2/include/db_185.h.src: Likewise. * db2/include/db_am.h: Likewise. * db2/include/db_auto.h: Likewise. * db2/include/db_cxx.h: Likewise. - * db2/include/db_dispatch.h: Likewise. * db2/include/db_ext.h: Likewise. * db2/include/db_int.h.src: Likewise. - * db2/include/db_page.h: Likewise. - * db2/include/db_shash.h: Likewise. - * db2/include/db_swap.h: Likewise. * db2/include/hash.h: Likewise. + * db2/include/hash_auto.h: Likewise. * db2/include/hash_ext.h: Likewise. * db2/include/lock.h: Likewise. * db2/include/lock_ext.h: Likewise. @@ -2902,19 +199,13 @@ * db2/include/mutex_ext.h: Likewise. * db2/include/os_ext.h: Likewise. * db2/include/os_func.h: Likewise. - * db2/include/queue.h: Likewise. - * db2/include/shqueue.h: Likewise. * db2/include/txn.h: Likewise. + * db2/include/txn_ext.h: Likewise. * db2/lock/lock.c: Likewise. - * db2/lock/lock_conflict.c: Likewise. * db2/lock/lock_deadlock.c: Likewise. - * db2/lock/lock_region.c: Likewise. - * db2/lock/lock_util.c: Likewise. * db2/log/log.c: Likewise. - * db2/log/log.src: Likewise. * db2/log/log_archive.c: Likewise. * db2/log/log_auto.c: Likewise. - * db2/log/log_compare.c: Likewise. * db2/log/log_findckp.c: Likewise. * db2/log/log_get.c: Likewise. * db2/log/log_put.c: Likewise. @@ -2929,17 +220,12 @@ * db2/mp/mp_pr.c: Likewise. * db2/mp/mp_region.c: Likewise. * db2/mp/mp_sync.c: Likewise. - * db2/mutex/68020.gcc: Likewise. * db2/mutex/mutex.c: Likewise. - * db2/mutex/parisc.gcc: Likewise. - * db2/mutex/parisc.hp: Likewise. - * db2/mutex/sco.cc: Likewise. * db2/os/os_abs.c: Likewise. - * db2/os/os_alloc.c: Likewise. - * db2/os/os_config.c: Likewise. * db2/os/os_dir.c: Likewise. * db2/os/os_fid.c: Likewise. * db2/os/os_fsync.c: Likewise. + * db2/os/os_func.c: Likewise. * db2/os/os_map.c: Likewise. * db2/os/os_oflags.c: Likewise. * db2/os/os_open.c: Likewise. @@ -2947,9 +233,3219 @@ * db2/os/os_rw.c: Likewise. * db2/os/os_seek.c: Likewise. * db2/os/os_sleep.c: Likewise. - * db2/os/os_spin.c: Likewise. * db2/os/os_stat.c: Likewise. * db2/os/os_unlink.c: Likewise. + * db2/progs/db_deadlock/db_deadlock.c: Likewise. + * db2/progs/db_dump/db_dump.c: Likewise. + * db2/progs/db_load/db_load.c: Likewise. + * db2/progs/db_recover/db_recover.c: Likewise. + * db2/progs/db_stat/db_stat.c: Likewise. + * db2/txn/txn.c: Likewise. + * db2/txn/txn_auto.c: Likewise. + * db2/txn/txn_rec.c: Likewise. + * db2/os/db_os_abs.c: Removed. + * db2/os/db_os_dir.c: Removed. + * db2/os/db_os_fid.c: Removed. + * db2/os/db_os_lseek.c: Removed. + * db2/os/db_os_mmap.c: Removed. + * db2/os/db_os_open.c: Removed. + * db2/os/db_os_rw.c: Removed. + * db2/os/db_os_sleep.c: Removed. + * db2/os/db_os_stat.c: Removed. + * db2/os/db_os_unlink.c: Removed. + + * libio/stdio.h (fopen): Add __restrict to parameters. + + * manual/process.texi (system): Describe behaviour for NULL argument. + + * stdio-common/printf-parse.h: Parse hh modifier. + * stdio-common/vfprintf.c: Handle hh modifier. + * stdio-common/vfscanf.c: Likewise. + * manual/stdio.texi: Describe hh modifier for scanf/printf. + + * math/complex.h: Don't define _Imaginary_I, but instead _Complex_I. + gcc does no yet know the `imaginary' keyword. + + * math/test-math.c: Add little test for know gcc bug. + + * math/tgmath.h: Make complex versions of log10() only available + if __USE_GNU. + + * stdlib/test-canon.c: Fix typo. + + * sysdeps/generic/setenv.c: Avoid compilation warnings. + Reported by Jim Meyering. + + * sysdeps/generic/bits/errno.h: EILSEQ is an ISO C error number. + * sysdeps/mach/hurd/bits/errno.h: Likewise. + * sysdeps/standalone/bits/errno.h: Likewise. + * sysdeps/unix/sysv/linux/bits/errno.h: Likewise. + + * sysdeps/i386/i586/memcpy.S: New file. + * sysdeps/i386/i586/mempcpy.S: New file. + + * sysdeps/i386/i586/memset.S: Fix typo. + + * sysdeps/posix/getcwd.c: Define HAVE_MEMPCPY for _LIBC. Add casts. + + * sysdeps/posix/system.c: Add comment to explain code. + + * sysdeps/wordsize-32/inttypes.h: Include for wchar_t. + Define PTRDIFF_{MIN,MAX}, SIG_ATOMIC_{MIN,MAX}, SIZE_MAX, + WCHAR_{MIN,MAX}, WINT_{MIN,MAX}. + Define wcstoimax, wcstoumax. + * sysdeps/wordsize-64/inttypes.h: Likewise. + + * wcsmbs/wchar.h: Define WCHAR_{MIN,MAX} if not already defined. + Declare __wcsto{l,ul,ll,ull}_internal only if not already done. + + * time/Makefile (routines): Add strfxtime. + * time/strftime.c: Implement %F and %f format. + * time/strfxtime.c: New file. + * time/time.h: Define new types and symbols from ISO C 9X. + + * time/mktime.c: Little comment correction. + +1997-11-10 Andreas Jaeger + + * sysdeps/libm-ieee754/s_sincosl.c: Fix typo. + + * sysdeps/libm-ieee754/s_tanl.c: Fix typo. + + * sysdeps/libm-ieee754/s_floorl.c: Correct typos. + + * sysdeps/libm-ieee754/e_remainderl.c: Replace + EXTRACT_LDOUBLE_WORDS by GET_LDOUBLE_WORDS. + + * sysdeps/libm-ieee754/e_atan2l.c: Replace EXTRACT_LDOUBLE_WORDS + by GET_LDOUBLE_WORDS. + + * sysdeps/libm-ieee754/s_scalbnl.c: Replace ";" by "," for correct + variable declaration. + * sysdeps/libm-ieee754/s_scalblnl.c: Likewise. + + * sysdeps/libm-ieee754/s_lrint.c (__lrint): Correct function. + + * math/libm-test.c (sqrt_test): Add test for sqrt (0.25). + (asin_test): Add more test. + +1997-11-10 23:34 Ulrich Drepper + + * sysdeps/libm-ieee754/e_asin.c: Add braces to make code clearer + and to not confuse the poor compiler. + * sysdeps/libm-ieee754/e_asinf.c: Likewise. + Reported by vertex@cagent.com. + +1997-11-10 07:40 H.J. Lu + + * stdlib/exit.c (exit): Handle recursive calls to exit (). + +1997-11-09 Andreas Schwab + + * sysdeps/m68k/fpu/s_llrint.c: Fixed to take double argument + instead of long double. + * sysdeps/m68k/fpu/s_llrintf.c: New file. + * sysdeps/m68k/fpu/s_llrintl.c: New file. + + * sysdeps/libm-ieee754/s_llrint.c: Make compilable and fix + overflow condition. + * sysdeps/libm-ieee754/s_llrintf.c: Fix overflow condition. + * sysdeps/libm-ieee754/s_llrintl.c: Likewise. + * sysdeps/libm-ieee754/s_llround.c: Likewise. + * sysdeps/libm-ieee754/s_llroundf.c: Likewise. + * sysdeps/libm-ieee754/s_llroundl.c: Likewise. + * sysdeps/libm-ieee754/s_lrint.c: Likewise. + * sysdeps/libm-ieee754/s_lrintf.c: Likewise. + * sysdeps/libm-ieee754/s_lrintl.c: Likewise. + * sysdeps/libm-ieee754/s_lround.c: Likewise. + * sysdeps/libm-ieee754/s_lroundf.c: Likewise. + * sysdeps/libm-ieee754/s_lroundl.c: Likewise. + + * math/libm-test.c: Test all three variants of lrint and llrint. + Fix typos in lround and llround tests. Add tests for boundary + cases for lrint and llround. + +1997-11-08 Andreas Schwab + + * manual/arith.texi: Misc doc fixes. + * manual/ctype.texi: Likewise. + * manual/pattern.texi: Likewise. + * manual/terminal.texi: Likewise. + +1997-11-08 Andreas Schwab + + * sysdeps/unix/sysv/linux/xstatconv.c: Use struct assignment + instead of memcpy to let the compiler use whatever it regards as + optimal. + * sysdeps/unix/sysv/linux/alpha/xstatconv.c: Likewise. + +1997-11-08 Andreas Schwab + + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) + [$(subdir)=misc]: Add sys/prctl.h. + * sysdeps/unix/sysv/linux/Dist: Distribute it. + +1997-11-08 Andreas Schwab + + * io/ftwtest-sh: Don't use the unknown which command, instead try + pwd as /bin/pwd and /usr/bin/pwd. + +1997-11-08 Andreas Schwab + + * manual/maint.texi (Tools for Installation): Don't recommend + broken version 3.76.1 of make. + (Porting): Fix wording. + +1997-11-06 06:13 H.J. Lu + + * config.make.in (build-pic-default): New, defined with + pic_default. + + * configure.in (pic_default): New, set to yes if PIC is + default. + + * Makeconfig (CPPFLAGS-.o, CPPFLAGS-.op, CPPFLAGS-.og, + CPPFLAGS-.ob): Add -DPIC if $(build-pic-default) is yes. + +1997-11-09 18:15 Ulrich Drepper + + * Makerules (libc.so): Fix typo. + + * csu/Makefile (CFLAGS-initfini.s): Correctly fix moving function + definition. Patch by Zack Weinberg . + + * stdlib/strtod.c: Handle numbers like 0.0e10000 correctly which + produce ±0.0. Reported by Joe Keane . + + * sysdeps/libm-ieee754/s_ceill.c: Fix typos. + * sysdeps/libm-ieee754/s_llrint.c: Correct code, it never worked. + +1997-11-06 07:00 H.J. Lu + + * sysdeps/unix/sysv/i386/i686/time.S: Removed. + +1997-11-08 14:07 Thorsten Kukuk + + * nis/libnsl.map: Add __do_niscall2 for nis_cachemgr. + + * nis/nis_call.c: Set UDP resend timeout correct. + + * nis/nss_compat/compat-grp.c: Rewritten to make it faster. + * nis/nss_compat/compat-pwd.c: Likewise. + * nis/nss_compat/compat-spwd.c: Likewise. + * nis/ypclnt.c: Fix UDP resend timeout, fix yp_bind/do_ypcall + interaction. + + * inet/protocols/routed.h: Include sys/socket.h. + * inet/protocols/talkd.h: Likewise. + * inet/protocols/timed.h: Include rpc/types.h. + * sunrpc/rpc/pmap_clnt.h: Include rpc/clnt.h. + +1997-11-06 01:39 Ulrich Drepper + + * Makerules (libc.so): Add missing closing brace. + +1997-11-05 Brendan Kehoe + + * libio.h (__P): Name its arg `p' instead of `params'. + This was added solely to work around problems with + the definition of __P in the Solaris math.h header. + +1997-11-06 00:06 Ulrich Drepper + + * argp/argp-help.c: Optimize a bit by using mempcpy. + * elf/dl-load.c: Likewise. + * elf/dl-lookup.c: Likewise. + * inet/rcmd.c: Likewise. + * io/ftw.c: Likewise. + * libio/fileops.c: Likewise. + * libio/genops.c: Likewise. + * libio/obprintf.c: Likewise. + * nss/nsswitch.c: Likewise. + * posix/execvp.c: Likewise. + * posix/getopt.c: Likewise. + * posix/glob.c: Likewise. + * posix/wordexp.c: Likewise. + * stdio-common/vfprintf.c: Likewise. + * stdlib/canonicalize.c: Likewise. + * stdlib/msort.c: Likewise. + * string/argz-replace.c: Likewise. + * sysdeps/generic/putenv.c: Likewise. + * sysdeps/generic/setenv.c: Likewise. + * sysdeps/posix/getcwd.c: Likewise. + * sysdeps/posix/ttyname.c: Likewise. + * sysdeps/posix/writev.c: Likewise. + * time/strftime.c: Likewise. + * time/tzfile.c: Likewise. + + * login/utmp_daemon.c: Use memcpy instead of strcpy where possible. + * sunrpc/svcauth_des.c: Likewise. + * sysdeps/unix/sysv/linux/gethostname.c: Likewise. + + * misc/tsearch.c: Use memcpy return value if possible. + * posix/regex.c: Likewise. + * sysdeps/unix/readdir_r.c: Likewise. + * wcsmbc/wcsdup.c: Likewise. + + * nss/digits_dots.c: Little optimization. + + * inet/ruserpass.c (ruserpass): Optimize by using stpcpy. + (struct toktab): Make tokstr field a const char *. + + * elf/dl-profile.c: Fix typo. + + * inet/ether_ntoh.c: Don't use relative #include path. + * inet/gethstbynm.c: Likewise. + * resolv/inet_pton.c: Likewise. + * shadow/sgetspent_r.c: Likewise. + + * libio/oldfileops.c (_IO_old_file_jumps): Use correct sync and write + callbacks. Patch by NIIBE Yutaka . + + * posix/confstr.c: Correct string for _CS_LFS_CFLAGS. + Handle _CS_XBS5_* constants. + * posix/unistd.h: Add comment describing _XBS5_* constants. + * sysdeps/generic/bits/confname.h: Add _CS_XBS5_* constants. + + * posix/regex.c: Indent preprocessor code. + + * posix/wordexp.c: Using _itoa_word instead of sprintf. + + * stdlib/canonicalize.c: Avoid unnecessary copying. Handle NULL + and "" arguments correctly according to SUS. + * stdlib/test-canon.c: Test "" and NULL argument handling. + + * sysdeps/posix/writev.c: Correct condition to leave the loop. + +1997-11-05 18:13 Ulrich Drepper + + * nss/getXXbyYY.c: Set buffer to NULL if realloc fails so that possible + next call starts with malloc again. + Proposed by Joe Keane . + +1997-11-04 23:57 Ulrich Drepper + + * configure.in: Correct gcc -pipe test. + Patch by Zack Weinberg . + + * posix/glob.c: Cleanups. Patch by H.J. Lu . + +1997-11-04 Andreas Jaeger + + * manual/creature.texi (Feature Test Macros): Add _POSIX_C_SOURCE + definition. + +1997-11-04 Ulrich Drepper + + * manual/filesys.texi: Correct description of return value for + readdir_r. + * sysdeps/unix/readdir_r.c (__readdir_r): Return value of errno + not -1 in error case. + * sysdeps/generic/readdir_r.c (__readdir_r): Return ENOSYS not -1. + Reported by Jim Meyering . + +1997-11-02 Paul Eggert + + * strftime.c: Use host's underlying strftime to access + locale-specific info. This is useful e.g. when building GNU + Emacs under Solaris 2.6. + (weekday_name, month_name): Omit if HAVE_STRFTIME. + (my_strftime): New macro, which names the strftime function that + this source file produces. + (strftime): #undef if emacs is defined; this works around Emacs 20.2's + method of compiling with -Dstrftime=emacs_strftime. + Also, declare as a function returning size_t, for similar reasons. + (my_strftime): If HAVE_STRFTIME, use underlying strftime to handle + locale-dependent formats like %a and %Ec. + +1997-11-02 Paul Eggert + + * strftime.c (memcpy_lowcase, memcpy_uppcase, strftime): + Ensure that args to islower and isupper are valid unsigned + chars, even if char is signed. + +1997-11-04 Ulrich Drepper + + * assert/Makefile (headers): Add assert.h, necessary after patch + to Makefiles. + * ctype/Makefile (headers): Likewise. + * pwd/Makefile (headers): Likewise. + * grp/Makefile (headers): Likewise. + Patch by NIIBE Yutaka . + +1997-11-04 03:08 Ulrich Drepper + + * glibcbug.in: Add information about configured target. + Patch by Zack Weinberg . + + * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Be prepared for + empty string as `reference_name' parameter. + * elf/rtld.c: Don't set real program name in l_name of main object. + + * manual/creature.texi: Apply Paul Eggert's patch for better + _POSIX_C_SOURCE description. + + * stdlib/strfmon.c: Fix numerous bugs in formatting. + + * time/strptime.c [%Y]: Treat all years, not only those which fit + in time_t. + [%Oy]: Really store value. + Patches by Paul Eggert. + + * wcsmbs/wchar.h: Fix documentation bugs. Declare wcsdup only + is __USE_GNU. + +1997-11-03 02:48 Ulrich Drepper + + * sysdeps/generic/bits/errno.h: Remove all error definitions. This + is only meant as a stub. + +1997-10-31 Andreas Jaeger + + * sysdeps/standalone/bits/errno.h: Copied from + sysdeps/generic/bits/errno.h and added all know error codes that + are used in glibc. + +1997-11-03 02:23 Ulrich Drepper + + * sysdeps/generic/make_siglist.c: Add comment to clarify use and + make sure the correct _NSIG value is used. + Patch by Klaus Espenlaub . + +1997-11-03 00:20 Ulrich Drepper + + * intl/localealias.c (read_alias_file): Correct handling of line + reader which sometimes skipped complete lines (PR 205). + Optimize a bit by using mempcpy. + +1997-11-02 16:59 Philipp Thomas + + * intl/localealias.c (read_alias_file): Correctly set map[].value + instead of overwriting map[].alias + +1997-11-02 15:32 Ulrich Drepper + + * libc.map: Add _IO_flockfile and _IO_funlockfile. + Suggested by H.J. Lu . + +1997-11-02 15:17 Ulrich Drepper + + * elf/dl-error.c (_dl_signal_error): Use _strerror_internal instead + of strerror. + * assert/assert-perr.c: Use _strerror_internal directly instead of + __strerror_r. + Suggested by Joe Keane . + +1997-11-01 16:46 Zack Weinberg + + * configure.in: Check for gcc-2.7.2 -pipe bug and hack around it + (PR 245). + +1997-11-01 Paul Eggert + + * time/strptime.c (strptime_internal): Fix bug: %Oy forgot to + assign tm_year. Do not restrict %Y to years less than 2037 even + on 32-bit time_t hosts, as strptime returns an int tm_year, not a + time_t, and it's possible for programs to use the year without + having to use time_t. + +1997-10-31 23:16 Ulrich Drepper + + * posix/glob.c (glob): If calling glob_in_dir for a list which was + generated by a glob call disable GLOB_ERR since there might be + non-directories in the list (PR 203). + + * posix/glob.h (GLOB_ONLYDIR): New flag. + (__GLOB_FLAGS): Add GLOB_ONLYDIR. + * posix/glob.c: Define HAVE_D_TYPE if _DIRENT_HAVE_D_TYPE is defined. + (glob): Add GLOB_ONLYDIR to recursive call to match dirname. + (glob_in_dir) [HAVE_D_TYPE]: While reading directory entries test + whether they are directories if GLOB_ONLYDIR flag is given. + * manual/pattern.texi: Document GLOB_ONLYDIR. + + * misc/Makefile (tests): Add tst-fdset. + + * sysdeps/i386/bits/select.h: Rewrite asm macros to be cleaner. + + * sysdeps/unix/sysv/linux/Dist: Add xstatconv.c. + * sysdeps/unix/sysv/linux/alpha/Dist: Likewise. + + * time/strptime.c (strptime_internal): In %y format, regard years + >= 69 as of twentieth century, all other as of twenty-first. + + * time/tzset.c: Correct typo and little optimization. + +1997-10-31 16:01 Ulrich Drepper + + * inet/getnetgrent.c: Allocate buffer dynamically if needed. + Suggested by Joe Keane . + +1997-10-31 Andreas Jaeger + + * io/ftw.h: Declare __ftw64_func_t and __nftw64_func_t only when + __USE_FILE_OFFSET64 || __USE_LARGEFILE64 is true. + +1997-10-30 05:47 Ulrich Drepper + + * misc/mntent.c: Don't use statically allocated buffer. Allocate + it dynamically if necessary. + * misc/efgcvt.c: Likewise. + Patch by Joe Keane . + + * misc/mntent.c: Allow freeing of allocated buffer in + __libc_subfreeres. + * misc/efgcvt.c: Likewise. + + * misc/efgcvt.c: Call correct reentrant functions. + Use better values for MAXDIG. + * misc/qefgcvt.c: Use better values for MAXDIG. + +1997-10-29 18:48 Richard Henderson + + * sysdeps/unix/sysv/linux/Makefile [io]: Add xstatconv. + * sysdeps/unix/sysv/linux/alpha/xstatconv.c: New file. Convert + between kernel_stat and the userland version indicated. + * sysdeps/unix/sysv/linux/xstatconv.c: Likewise. + * sysdeps/unix/sysv/linux/bits/stat.h: Define _STAT_VER_KERNEL. + + * sysdeps/unix/sysv/linux/fxstat.c: Defer to __xstat_conv. Alias + to __*xstat64 if requested. + * sysdeps/unix/sysv/linux/lxstat.c: Likewise. + * sysdeps/unix/sysv/linux/xstat.c: Likewise. + + * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Add struct stat64. + Increment _STAT_VER, and make struct stat the same. + * sysdeps/unix/sysv/linux/alpha/bits/types.h: Add __ino64_t, and + __off64_t. Reorganize. + * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Add struct glibc2_stat + for backward compatibility. Define XSTAT_IS_XSTAT64. + + * sysdeps/unix/sysv/linux/alpha/fxstat64.c: Empty file. + * sysdeps/unix/sysv/linux/alpha/lxstat64.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/xstat64.c: Likewise. + + * sysdeps/unix/sysv/linux/alpha/bits/dirent.h (struct dirent): For + consistency, force d_ino to use ino_t and supply padding. + +1997-10-29 18:47 Richard Henderson + + * libio/iofopen.c: Correct weak_alias. + +1997-10-29 Andreas Jaeger + + * Makerules (install): Correct last patch. + +1997-10-29 Andreas Jaeger + + * math/libm-test.c (cbrt_test): Add epsilon for cbrt(0.970299). + +1997-10-29 21:20 Ulrich Drepper + + * libio/strops.c (_IO_str_seekoff): If mode is zero and the read/write + pointers are tied set mode according to current stream mode. + + * include/features.h [_GNU_SOURCE] (_POSIX_C_SOURCE): Define to + 199506L. + Define _XOPEN_SOURCE to 500 if _POSIX_C_SOURCE is defined. + * manual/creature.texi: Describe this. + + * manual/socket.texi: Describe connect, accept, send, sendmsg, sendto, + recv, recvfrom, and recvmsg as cancelation points. + * sysdeps/unix/inet/syscalls.list: Add __libc_* names for these + functions. + +1997-10-17 Andreas Jaeger + + * Make-dist (try-sysdeps): Don't look for stub files anymore. + + * manual/maint.texi (Porting): Remove another reference to stub + directory. + + * sysdeps/unix/bsd/sun/sethostid.c: Include stub version from + generic subdir. + * sysdeps/unix/sysv/irix4/reboot.c: Likewise. + * sysdeps/unix/sysv/irix4/swapon.c: Likewise + +1997-10-29 03:54 Ulrich Drepper + + * resolv/nss_dns/dns-host.c: Change variable pointed to by h_errnop + in all error cases (PR 244). + +1997-10-29 00:56 Ulrich Drepper + + * posix/glob.c: Fix handling of expressions like "*/" (PR 325). + Optimize by using mempcpy. + +1997-10-17 Andreas Jaeger + + * po/Makefile ($(mo-installed)): Don't fail during installation if + files don't exist (might happen if msgfmt doesn't exist) (PR 328). + Suggested by Wolfram Gloger . + +1997-10-24 Andreas Jaeger + + * sysdeps/generic/bits/errno.h (ENOMSG): Define it. + Pointed out by Klaus Espenlaub + (PR libc/259). + +1997-10-28 17:40 Ulrich Drepper + + * sysdeps/libm-ieee754/s_cbrt.c: Testing the returned exponent for + zero isn't enough to determine illegal arguments. + * sysdeps/libm-ieee754/s_cbrtf.c: Likewise. + * sysdeps/libm-ieee754/s_cbrtl.c: Likewise. + +1997-10-28 17:14 Ulrich Drepper + + * manual/filesys.texi (S_ISVTX): Describe that it is available with + _BSD_SOURCE only. + Reported by Jochen Hein . + +1997-10-28 04:26 Ulrich Drepper + + * time/tzfile.c (__tzfile_compute): Use negated value of offset for + timezone variable. + * time/tzset.c (tz_compute): Likewise. + Reported by Erik Troan . + +1997-10-28 02:51 Ulrich Drepper + + * manual/filesys.texi: Correct prototype in readdir_r description. + Reported by Jim Meyering . + +1997-10-27 Andreas Jaeger + + * math/libm-test.c (cbrt_test): Add test for cbrt(0.970299). + +1997-10-26 19:39 Zack Weinberg + + * stdlib/l64a.c: Produce a useful result for n < 0. + * stdlib/a64l.c: Use unsigned type for working variable. + * manual/string.texi (general): Grammar, typo, overfull fixes. + (strlen): Insert warning about sizeof(char *). + (a64l, l64a): Make documentation agree with implementation. + +1997-10-26 18:12 Ulrich Drepper + + * libio/genops.c: Partial undo of last patch. + * libio/stdfiles.c: Likewise. + * libio/iofdopen.c: Use _IO_FILE_complete, not _IO_FILE_plus. + * libio/iopopen.c: Likewise. + * libio/iovdprintf.c: Likewise. + * libio/libio.h: Remove duplicated `;'. + * libio/stdio.c: Remove misleading comment. + * libio/stdio.h: Declare standard streams as variables. + + * login/Makefile (distribute): Add README.utmpd. + * login/README.utmpd: New file. + Provided by Mark M. Kettenis . + + * manual/job.texi: Document tcgetsid. + * manual/pattern.texi: Document globfree. + * manual/terminal.texi: Document B38400 ... B460800. + + * posix/confstr.c: Print "-D_FILE_OFFSET_SIZE=64" for _CS_LFS_CFLAGS. + + * posix/unistd.h: Add explanation of _POSIX_* constants. + + * posix/unistd.h: Add prototypes for __pread, __pread64, __pwrite + and __pwrite64. + * sysdeps/generic/pread.c: Define as __pread and make pread weak alias. + * sysdeps/generic/pread64.c: Likewise. + * sysdeps/generic/pwrite.c: Likewise. + * sysdeps/generic/pwrite64.c: Likewise. + * sysdeps/posix/pread.c: Likewise. + * sysdeps/posix/pwrite.c: Likewise. + * sysdeps/posix/pread64.c: New file. + * sysdeps/posix/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=posix] (sysdep_routines): + Add s_pread64 and s_pwrite64. + * sysdeps/unix/sysv/linux/pread.c: New file. + * sysdeps/unix/sysv/linux/pread64.c: New file. + * sysdeps/unix/sysv/linux/pwrite.c: New file. + * sysdeps/unix/sysv/linux/pwrite64.c: New file. + * sysdeps/unix/sysv/linux/s_pread64.c: New file. + * sysdeps/unix/sysv/linux/s_pwrite64.c: New file. + * sysdeps/unix/sysv/linux/syscalls.list: Add pread and pwrite. + * sysdeps/unix/sysv/linux/alpha/pread64.c: New (empty) file. + * sysdeps/unix/sysv/linux/alpha/pwrite64.c: New (empty) file. + * sysdeps/unix/sysv/linux/sparc/sparc64/pread64.c: New (empty) file. + * sysdeps/unix/sysv/linux/sparc/sparc64/pwrite64.c: New (empty) file. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add pread and pwrite + with weak aliases for *64 functions. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + + * string/bits/string2.h: Add casts to allow void * arguments. + + * sysdeps/i386/i486/bits/string.h: Define index and rindex only if + __USE_BSD or __USE_XOPEN_EXTENDED. + + * sysdeps/unix/sysv/linux/bits/socket.h: Add SCM_RIGHTS and other + SCM_* constants from kernel header. + + * termios/termios.h: Add prototype for tcgetsid. + +1997-10-26 13:26 Thorsten Kukuk + + * sunrpc/clnt_perr.c: Add trailing '\0' to strings. + + * sunrpc/get_myaddr.c: Include rpc/clnt.h for prototypes. + + * sunrpc/pmap_clnt.c: Use get_myaddress from header file. + +1997-10-26 05:26 Ulrich Drepper + + * configure.in: Punt if any directory mentioned in the + enable-add-on parameter does not exist. + +1997-10-25 19:25 Ulrich Drepper + + * termios/Makefile (routines): Add tcgetsid. + * termios/tcgetsid.c: New file. + Provided by Mark M. Kettenis . + +1997-10-25 18:56 Ulrich Drepper + + * stdlib/stdlib.h: Remove mblen optimization. + * stdlib/mblen.c: Rewrite to make sure global state is not changed. + Reported by anderson@metrolink.com. + +1997-10-19 21:51 Wolfram Gloger + + * malloc/thread-m.h [_LIBC]: Use new __libc_internal_tsd_{set,get} + interface for thread-specific data. + +1997-10-25 06:51 Ulrich Drepper + + * elf/dl-addr.c: Use braces for correct logical grouping. + Patch by Wolfram Gloger . + +1997-10-18 09:15 Geoff Keating + + * io/ftwtest-sh: Sometimes /tmp is a symlink to somewhere more + convenient; that caused this test to break. + + * sysdeps/powerpc/dl-machine.h: Fix typo. + + * sysdeps/powerpc/bits/fenv.h: Don't use floating-point registers + when -msoft-float is in effect, because this causes compilation to + stop. + * sysdeps/powerpc/bits/mathinlines.h: Likewise. + + * rpm/template: Add description, use RPM flags rather than the ones + used to build the spec. Build in a temporary directory, not /. + + * elf/dl-lookup.c: Don't include _itoa.h, it's not used. + * elf/dl-minimal.c: Use _itoa_word rather than _itoa. It seems that + _itoa is the only routine that ld.so uses that requires something + from libgcc.a on powerpc, so it would be best to avoid it in ld.so. + * elf/rtld.c: Likewise. + * sysdeps/generic/_strerror.c: Likewise. + * stdio-common/_itoa.c: Split out digits strings. + * stdio-common/itoa-digits.c: New file. + * stdio-common/Makefile: Add itoa-digits. + +1997-10-21 Andreas Jaeger + + * manual/filesys.texi (Scanning Directory Content): Document error + case more. + + * dirent/scandir.c (scandir): Ignore errors from select function. + Suggested by urbanw@cs.umu.se (closes PR libc/316). + +1997-10-25 06:18 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Corrections. + Patch by Erik Troan . + +1997-10-25 04:00 Ulrich Drepper + + * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Favour exact + matching of version function if both the general (1) and + glibc-specific (3) entry are present. + +1997-10-22 18:47 Thorsten Kukuk + + * sunrpc/rpc/clnt.h: Add get_myaddress prototype. + + * nis/libnsl.map: Fix typo. + + * nis/nis_call.c: Fix memory leak. + +1997-10-22 19:29 Ulrich Drepper + + * sysdeps/generic/memcmp.c: Define __P if not defined before. + Patch by Jim Meyering . + +1997-10-21 22:09 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sys/prctl.h: New file by Richard Gooch + . + +1997-10-21 21:50 Ulrich Drepper + + * misc/syslog.c (vsyslog): Open console with O_NOCTTY. + Patch by Zack Weinberg . + +1997-10-21 18:07 Ulrich Drepper + + * posix/wordexp.c: Improve handling of $... expressions. + Patch by Tim Waugh . + +1997-10-21 16:12 Ulrich Drepper + + * manual/string.texi: Correct return values of bcopy and bzero. + Patch by Matthew Wilcox . + +1997-10-18 15:03 Philip Blundell + + * sysdeps/unix/sysv/linux/bits/socket.h: Correct types of some + elements in struct msghdr and struct cmsghdr, to keep in step with + the kernel. + +1997-10-17 22:29 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Fix another + bug in startup code. + Patch by Eric Delaunay . + +1997-10-16 20:17 Richard Henderson + + * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Dump args to the + stack and give the kernel a pointer. Use the sysdep.h macros. + +1997-10-17 04:07 Ulrich Drepper + + * sysdeps/sparc/sparc32/elf/start.S: Calculate argv correctly. + Patch by Eric Delaunay . + +1997-10-16 Andreas Jaeger + + * sysdeps/libm-ieee754/s_nextafterxf.c [!__STDC__]: Correct typo. + +1997-10-16 14:50 Ulrich Drepper + + * manual/pattern.texi: Document globfree. + +1997-10-15 21:11 Philip Blundell + + * sysdeps/unix/sysv/linux/net/if_packet.h: New file. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add + net/if_packet.h. + + * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_ASH): New type, for + 64Mbps ASH. + (ARPHRD_ETHER): This is used for 100Mbps networks too. + +1997-10-15 Andreas Jaeger + + * Makerules (install): Use full pathnames for linker script. + This is to work around a limitation in `ld' while no better solution + is possible. + +1997-10-15 Andreas Jaeger + + * malloc/malloc.c (mmap_chunk): Put inline before static in + function definition to avoid compiler warning. + (malloc_extend): Likewise. + + * sysdeps/generic/des_impl.c: Include "des.h" to avoid warning. + +1997-10-15 Andreas Jaeger + + * NEWS: Fix @gnu.ai.mit.edu -> @gnu.org. + * README.template: Likewise. + * db/makedb.c: Likewise. + * elf/ldd.bash.in: Likewise. + * elf/ldd.sh.in: Likewise. + * intl/locale.alias: Likewise. + * login/programs/utmpd.c: Likewise. + * libio/stdfiles.c [!_IO_MTSAFE] (DEF_STDFILE): Fix parameter list. + +1997-10-14 Andreas Schwab + + * Rules: Remove all empty.* files. + (shared-only-routines): Correct implementation. + +1997-10-14 Andreas Schwab + + * sysdeps/libm-ieee754/s_lrintl.c: Make compilable. + * sysdeps/libm-ieee754/s_llrintl.c: Likewise. Optimized. + +1997-10-14 Andreas Schwab + + * elf/ldd.bash.in: Only prepend ./ if the file contains no slash + at all. + * elf/ldd.sh.in: Likewise. + +1997-10-14 Andreas Schwab + + * sysdeps/m68k/sys/ucontext.h: New file. + +1997-10-13 Andreas Schwab + + * sysdeps/m68k/fpu/s_scalbln.c: New (empty) file. + * sysdeps/m68k/fpu/s_scalblnf.c: New (empty) file. + * sysdeps/m68k/fpu/s_scalblnl.c: New (empty) file. + + * sysdeps/m68k/fpu/s_scalbn.c: Add scalbln alias. + * sysdeps/m68k/fpu/s_scalbnf.c: Adapted. + * sysdeps/m68k/fpu/s_scalbnl.c: Adapted. + + * sysdeps/m68k/fpu/s_lrint.c: Add standard skeleton stuff. + * sysdeps/m68k/fpu/s_lrintf.c: New file. + * sysdeps/m68k/fpu/s_lrintl.c: New file. + + * sysdeps/m68k/fpu/bits/mathinline.h: Add fma and scalbln. Update + lrint and scalbn. + (__m81_inline) [__cplusplus]: Define to __inline. + + * math/bits/mathcalls.h: Remove whitespace before second argument + of __MATHDECL. Add note explaining this. + +1997-10-13 Andreas Schwab + + * manual/arith.texi (Absolute Value): Spelling fix. + +1997-10-13 Andreas Schwab + + * malloc/obstack.h (obstack_empty_p) [!__GNUC__]: Properly + parenthesize the macro parameter. + +1997-10-15 06:56 Ulrich Drepper + + * Rules: Remove rules to magically install .h headers. + Reported by Mark Kettenis . + + * glibcbug.in: Fix @gnu.ai.mit.edu -> @gnu.org. + * version.c: Likewise. + * catgets/gencat.c: Likewise. + * db2/makedb.c: Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/localedef.c: Likewise. + + * libc.map: Move _IO_list_all back to GLIBC_2.0. + + * elf/rtld.c: Provide name of running program to _dl_new_object. + + * Rules: Implement shared-only-sources. + * include/libc-symbols.h: Define default_symbol_version. + * libio/Makefile (shared-only-sources): Define. + * libio/freopen.c: Define as default version. + * libio/iofopen.c: Likewise. + * libio/genops.c: Define _IO_list_all here. + * libio/stdfiles.c: Create linked list with public names. + * libio/oldstdfiles.c: Likewise. + + * stdio-common/printf.c: Optimize. + * stdio-common/scanf.c: Optimize. + + * sysdeps/generic/setfpucw.c: Include #include <...> not "...". + + * sysdeps/i386/i486/bits/string.h: Add optimized versions of index and + rindex. + +1997-10-14 Andreas Jaeger + + * manual/arith.texi: Spelling fixes. + * manual/conf.texi: Likewise. + * manual/creature.texi: Likewise. + * manual/filesys.texi: Likewise. + * manual/intro.texi: Likewise. + * manual/llio.texi: Likewise. + * manual/math.texi: Likewise. + * manual/message.texi: Likewise. + * manual/pattern.texi: Likewise. + * manual/search.texi: Likewise. + * manual/signal.texi: Likewise. + * manual/socket.texi: Likewise. + * manual/startup.texi: Likewise. + * manual/stdio.texi: Likewise. + * manual/string.texi: Likewise. + * manual/time.texi: Likewise. + * manual/users.texi: Likewise. + +1997-10-13 05:25 Ulrich Drepper + + * sysdeps/generic/sys/mman.h: Use __ptr_t instead of __caddr_t. + * sysdeps/unix/bsd/osf/sys/mman.h: Likewise. + * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise. + * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise. + * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise. + * sysdeps/unix/sysv/linux/sys/mman.h: Likewise. + * sysdeps/mach/hurd/mmap.c: Likewise. + * sysdeps/generic/mmap.c: Likewise. + * sysdeps/unix/bsd/sun/sunos4/mmap.c: Likewise. + * sysdeps/mach/munmap.c: Likewise. + * sysdeps/generic/munmap.c: Likewise. + * sysdeps/mach/mprotect.c: Likewise. + * sysdeps/generic/mprotect.c: Likewise. + * sysdeps/generic/msync.c: Likewise. + * sysdeps/generic/madvise.c: Likewise. + + * sysdeps/unix/sysv/linux/madvise.c: Include stub version from generic + subdir. + +1997-10-12 20:27 Zack Weinberg + + * sysdeps/stub (all files): Moved to sysdeps/generic. + * all files using stub_warning: Include . + * include/stub-tag.h: New file, marks stubs in .d files. + * Makerules: Look for stub-tag.h, not sysdeps/stub, when building + . + * configure.in: Don't add sysdeps/stub to $sysnames. + * sysdeps/unix/Makefile: Look for generic headers, not stub + headers. + * sysdeps/generic/Makefile: Likewise. + * manual/maint.texi: Delete references to sysdeps/stub. + * INSTALL: Rebuilt. + * configure: Rebuilt. + +1997-10-13 03:14 Ulrich Drepper + + * libc.map: Move _IO_fopen, fopen, _IO_stdin_, _IO_stdout_, + _IO_stderr_, _IO_list_all, and freopen to GLIBC_2.1 version. + * include/libc-symbol.h: Define define_symbol. + * libio/Makefile [$(versioning)=yes] (routines): Add oldiofopen and + oldfreopen. + [$(versioning)=yes] (aux): Add oldfileops and oldstdfiles. + * libio/fileops.c: Use _IO_FILE_complete when accessing _offset field. + * libio/freopen.c: Use versioning. + * libio/iofopen.c: Likewise. Generate object of type + _IO_FILE_complete. + * libio/iofopen64.c: Generate object of type _IO_FILE_complete. + * libio/iolibio.h: Declare _IO_{old,new}_fopen and __{old,new}_freopen. + Define _IO_old_freopen. + * libio/libio.h: Remove _offset field from _IO_FILE. Rename _unused2 + field to _old_offset. Declare _IO_std*_ streams as of type + _IO_FILE_complete. + * libio/libioP.h: Define _IO_FILE_complete. + Declare callbacks for old fileops implementation. + * libio/stdfile.c: Define standard stream of type _IO_FILE_complete. + * libio/stdio.c: Correctly address FILE part of standard streams. + * libio/oldfileops.c: New file. + * libio/oldfreopen.c: New file. + * libio/oldiofopen.c: New file. + * libio/oldstdfiles.c: New file. + + * sysdeps/i386/fpu/bits/mathinline.h: Define fma optimization. + + * sysdeps/libm-i387/e_scalb.S: Make sure code gets into .text section. + * sysdeps/libm-i387/e_scalbl.S: Likewise. + * sysdeps/libm-i387/s_fma.S: Fix typo. + * sysdeps/libm-i387/s_fmaf.S: Likewise. + * sysdeps/libm-i387/s_fmal.S: Likewise. + +1997-10-12 20:14 Zack Weinberg + + * sysdeps/stub/getsid.c: Add a stub_warning. + * sysdeps/stub/mmap.c: Likewise. + * sysdeps/stub/munmap.c: Likewise. + +1997-10-12 05:09 Ulrich Drepper + + * libio/Makefile (routines): Remove iofprintf. + * stdio-common/fprintf.c [USE_IN_LIBIO]: Define _IO_fprintf. + * libio/filedoalloc.c: Use _G_stat64 instead of stat. + * libio/fileops.c (_IO_file_open): Change to take extra argument + indicating whether 32 or 64 bit mode is wanted. + * libio/iofopen.c: Call _IO_file_open with extra argument set to 0. + * libio/iofopen64.c: Call _IO_file_open with extra argument set to 0. + * libio/iolibio.h (_IO_freopen, _IO_freopen64): Likewise. + * libio/iofgetpos.c: Pretty print. + * libio/iofgetpos64.c: Use _IO_fpos64_t for local variable `pos'. + + * manual/conf.texi: Document all the _SC_ and _CS_ constants. + * manual/creature.texi: Document _LARGEFILE_SOURCE, _LARGEFILE64_SOURCE + and _FILE_OFFSET_BITS. + * manual/llio.texi: Document truncate and ftruncate. + * manual/stdio.texi: Document positional parameters for printf. + + * math/Makefile (headers): Add tgmath.h. + (libm-support): Remove s_lrint, s_llrint, s_lround, and s_llround and + move to ... + (libm-calls): ... here. Add scalbln, s_nextafterx and s_fma. + * math/libm-test.c (lround_test, llround_test): Test for all FP formats + by using FUNC(). + * math/libm.map: Add fma, fmaf, fmal, nextafterx, nextafterxf, + nextafterxl, scalbln, scalblnf, scalblnl, lrintf, lrintl, llrintf, + llrintl, lroundf, lroundl, llroundf, and llroundl. + * math/math.h: Document new platform specific macros from mathdef.h. + Remove declaration of lrint, llrint, lround, and llround. + * math/test-double.c: Define TEST_DOUBLE. + * math/test-idouble.c: Likewise. + * math/test-float.c: Define TEST_FLOAT. + * math/test-ifloat.c: Likewise. + * math/tgmath.h: New file. + * math/bits/mathcalls.h: Add nextafterx, scalbln, fma, lrint, llrint, + lround, and llround. + Change second argument of scalbn to `int'. + * sysdeps/libm-ieee754/s_fma.c: New file. + * sysdeps/libm-ieee754/s_fmaf.c: New file. + * sysdeps/libm-ieee754/s_fmal.c: New file. + * sysdeps/libm-i387/s_fma.S: New file. + * sysdeps/libm-i387/s_fmaf.S: New file. + * sysdeps/libm-i387/s_fmal.S: New file. + * sysdeps/libm-i387/s_llrint.S: Change to take double argument. + * sysdeps/libm-i387/s_lrint.S: Likewise. + * sysdeps/libm-i387/s_llrintf.S: New file. + * sysdeps/libm-i387/s_llrintl.S: New file. + * sysdeps/libm-i387/s_lrintf.S: New file. + * sysdeps/libm-i387/s_lrintl.S: New file. + * sysdeps/libm-ieee754/s_llrint.c: Remove version which works on + 80bit double. + * sysdeps/libm-ieee754/s_lrint.c: Likewise. + * sysdeps/libm-ieee754/s_llrintf.c: New file. + * sysdeps/libm-ieee754/s_llrintl.c: New file. + * sysdeps/libm-ieee754/s_lrintf.c: New file. + * sysdeps/libm-ieee754/s_lrintl.c: New file. + * sysdeps/libm-i387/s_scalbln.c: New file. Empty file. + * sysdeps/libm-i387/s_scalblnf.c: New file. Empty file. + * sysdeps/libm-i387/s_scalblnl.c: New file. Empty file. + * sysdeps/libm-i387/s_scalbn.c: Add scalbln as alias. + * sysdeps/libm-i387/s_scalbnf.c: Add scalblnf as alias. + * sysdeps/libm-i387/s_scalbnl.c: Add scalblnl as alias. + * sysdeps/libm-ieee754/s_llround.c: Remove version which works on + 80bit double. + * sysdeps/libm-ieee754/s_lround.c: Likewise. + * sysdeps/libm-ieee754/s_llroundf.c: Likewise. + * sysdeps/libm-ieee754/s_llroundl.c: Likewise. + * sysdeps/libm-ieee754/s_lroundf.c: Likewise. + * sysdeps/libm-ieee754/s_lroundl.c: Likewise. + * sysdeps/libm-ieee754/s_nextafterl.c: Add alias fo nextafterxl. + * sysdeps/libm-ieee754/s_nextafterx.c: New file. + * sysdeps/libm-ieee754/s_nextafterxf.c: New file. + * sysdeps/libm-ieee754/s_nextafterxl.c: New file. + * sysdeps/libm-ieee754/s_scalbln.c: New file. + * sysdeps/libm-ieee754/s_scalblnf.c: New file. + * sysdeps/libm-ieee754/s_scalblnl.c: New file. + * sysdeps/libm-ieee754/s_scalbn.c: Change to take `int' as second arg. + * sysdeps/libm-ieee754/s_scalbnf.c: Likewise. + * sysdeps/libm-ieee754/s_scalbnl.c: Likewise. + + * stdlib/stdlib.h: Protect declarations of __strto*l_internal functions + by #ifdefs since they are duplicated in inttypes.h. + * sysdeps/wordsize-32/inttypes.h: Add definition of strtoimax and + strtoumax plus needed declarations. + + * sysdeps/generic/confname.h (_SC_AIO_LISTIO_MAX): Fix typo. + +1997-10-09 Andreas Jaeger + + * locale/programs/locfile.c (locfile_read): Correct while loop. + + * db2/makedb.c (main): Add missing parameter for error output. + (process_input): Likewise. + + * resolv/gethnamaddr.c (getanswer): Rewrite a bit to avoid warning. + +1997-10-12 05:05 Ulrich Drepper + + * libc-map: Add __bzero, __mempcpy. + +1997-10-10 18:51 David S. Miller + + * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Remove dependencies + on kernel_termios.h + +1997-10-09 10:24 Thorsten Kukuk + + Add the changes from the Solaris 2.6 header files, use the new public + defines/functions. + * nis/nis_addmember.c: Updated. + * nis/nis_checkpoint.c: Updated. + * nis/nis_creategroup.c: updated. + * nis/nis_destroygroup.c: Updated. + * nis/nis_getservlist.c: Updated. + * nis/nis_ismember.c: Updated. + * nis/nis_lookup.c: Updated. + * nis/nis_modify.c: Updated. + * nis/nis_ping.c: Updated. + * nis/nis_print.c: Updated. + * nis/nis_print_group_entry.c: Updated. + * nis/nis_remove.c: Updated. + * nis/nis_removemember.c: Updated. + * nis/nis_xdr.c: Updated. + * nis/nss_nisplus/nisplus-alias.c: Updated. + * nis/nss_nisplus/nisplus-ethers.c: Updated. + * nis/nss_nisplus/nisplus-hosts.c: Updated. + * nis/nss_nisplus/nisplus-network.c: Updated. + * nis/nss_nisplus/nisplus-parser.c: Updated. + * nis/nss_nisplus/nisplus-proto.c: Updated. + * nis/nss_nisplus/nisplus-rpc.c: Updated. + * nis/nss_nisplus/nisplus-service.c: Updated. + * nis/rpcsvc/nis.h: Updated. + * nis/rpcsvc/nis.x: Updated. + * nis/rpcsvc/nis_object.x: Updated. + * nis/rpcsvc/nis_tags.h: Updated. + * nis/rpcsvc/nislib.h: Updated. + + * nis/lckcache.c: Removed, since Sun has dropped the directory + signatures. The old cache version is now a security risk and not + longer supported by Sun. + * nis/nis_cache.c: Likewise. + * nis/rpcsvc/nis_cache.h: Likewise. + * nis/rpcsvc/nis_cache.x: Likewise. + + * nis/nis_call.c: Remove calls to the cache functions. + + * nis/libnsl.map: Remove cache and depending functions. + * nis/nis_intern.h: Likewise. + + * nis/nis_add.c: Remove #include . + * nis/nis_domain_of.c: Likewise. + * nis/nis_domain_of_r.c: Likewise. + * nis/nis_error.c: Likewise. + * nis/nis_file.c: Likewise. + * nis/nis_local_names.c: Likewise. + * nis/nis_mkdir.c: Likewise. + * nis/nis_rmdir.c: Likewise. + * nis/nis_subr.c: Likewise. + * nis/nis_verifygroup.c: Likewise. + + * nis/nis_clone.c: Removed, replaced by ... + * nis/nis_clone_dir.c: New. + * nis/nis_clone_obj.c: New. + * nis/nis_clone_res.c: New. + * nis/nis_table.c: Fixed bugs shown through the new clone functions. + + * nis/nis_defaults.c: Fixed a lot of race conditions. + + * nis/nis_free.c: Rewritten. + + * sunrpc/auth_des.c: Fix use of free'ed pointer. + + * nis/Makefile (libnsl-routines): Remove nis_clone, nis_cache and + lckcache. Add nis_clone_dir, nis_clone_obj, and nis_clone_res. + +1997-10-09 Andreas Jaeger + + * wctype/test_wctype.c (TEST): Add parens to avoid ambiguity. + +1997-10-08 Andreas Schwab + + * include/features.h: Don't crash if _XOPEN_SOURCE is defined to + be empty. + +1997-10-09 05:54 Ulrich Drepper + + * nss/digits_dots.c: Place `result' in resbuf and not in `buffer'. + * nss/getXXbyYY_r.c: Make sure digits_dots.c sees `resbuf' as + struct and not a pointer. Little optimizations. + +1997-10-09 05:00 Ulrich Drepper + + * sysdeps/stub/getenv.c: Remove unused file. + * sysdeps/stub/lxstat.c: Likewise. + * sysdeps/stub/morecore.c: Likewise. + * sysdeps/stub/putenv.c: Likewise. + * sysdeps/stub/sbrk.c: Likewise. + * sysdeps/stub/setenv.c: Likewise. + * sysdeps/stub/sysd-stdio.c: Likewise. + * sysdeps/stub/sysdep.h: Likewise. + Reported by Zack Weinberg . + +1997-10-09 04:58 Ulrich Drepper + + * configure.in: Add __bzero definition to DWARF2 unwind test. + Reported by David S. Miller . + +1997-10-07 Paul Eggert + + * intl/loadmsgcat.c (_nl_load_domain): + Fix &&/|| typo when checking file size. + Check for overflow when stuffing off_t into size_t. + +1997-10-07 18:11 Ulrich Drepper + + * time/africa: Update from tzdata1997i. + +1997-10-07 Andreas Jaeger + + * posix/globtest.sh: Add arguments for name of dynamic linker and + call dynamic linker to execute globtest. + + * posix/Makefile (tests): Supply arguments to globtest.sh. + +1997-10-07 Andreas Jaeger + + * nis/rpcsvc/ypupd.h: Add missing __END_DECLS. + +1997-10-03 Andreas Schwab + + * libc.map: Add mempcpy, prctl. + +1997-09-30 Andreas Schwab + + * sysdeps/generic/memcmp.c: Avoid warnings. + * sysdeps/generic/memset.c: Likewise. + * sysdeps/generic/strchr.c: Likewise. + * sysdeps/generic/strlen.c: Likewise. + +1997-09-29 Andreas Schwab + + * malloc/Makefile ($(objpfx)mtrace): Fix typo. + +1997-09-29 Andreas Schwab + + * sysdeps/m68k/dl-machine.h (elf_machine_rela): Fix last change. + The R_68K_GLOB_DAT and R_68K_JMP_SLOT relocations really ignore + the addend, Richard. + (elf_machine_fixup_plt): Don't add the addend. + (elf_machine_plt_value): New function. + + * sysdeps/alpha/dl-machine.h (elf_machine_plt_value): New + function. + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_plt_value): New + function. + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_plt_value): New + function. + * sysdeps/powerpc/dl-machine.h (elf_machine_plt_value): New + function. + * sysdeps/i386/dl-machine.h (elf_machine_plt_value): New + function. + + * elf/dl-runtime.c (fixup, profile_fixup): Don't add in the + addend, instead let the machine dependent setup decide. + +1997-09-20 Andreas Schwab + + * sysdeps/m68k/m68020/bits/string.h: New file. + +1997-10-07 04:27 Richard Henderson + + * Makeconfig (+includes): Add -I$(objpfx). + + * stdlib/longlong.h [__sparc__]: Prototype __udiv_qrnnd. + + * sysdeps/alpha/setjmp.S: __setjmp is the same as _setjmp. Make + the former a strong symbol and the later a weak alias. + * sysdeps/sparc/sparc32/setjmp.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise. + +1997-10-06 21:01 David S. Miller + + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Make ino_t + 64-bits. + * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Make st_ino + member 64-bits as well, to match the kernel. + +1997-10-06 19:35 Ulrich Drepper + + * sysdeps/sparc/sparc64/sub_n.S: Fix typo. + Patch by Jakub Jelinek . + +1997-10-06 01:09 Zack Weinberg + + * time/README: Correct list of files from tzcode package. Add + contact information for tzcode/tzdata maintainers. Correct + spelling of author's name. Compact lists. + +1997-10-06 01:48 Ulrich Drepper + + * malloc/malloc.h: Remove hook definition without caller argument. + * malloc/malloc.c: Likewise. + + * string/tester.c: Correct strsep test. + + * string/bits/string2.h: Define __string2_1bptr_p and use it. + Patch by David S. Miller . + + * math/Makefile (routines): Add s_clog10. + * math/libm-test.c: Add test for clog10. + * math/libm.map: Add clog10{,f,l}. + * math/bits/cmathcalls.h [__USE_GNU]: Add clog10. + * sysdeps/libm-ieee754/s_clog10.c: New file. + * sysdeps/libm-ieee754/s_clog10f.c: New file. + * sysdeps/libm-ieee754/s_clog10l.c: New file. + * manual/math.texi: Describe clog10. + + * config.h.in: Add USE_REGPARMS and define internal_function based on + this. + * configure.in: Define USE_REGPARMS for ix86 machines. + * gmon/gmon.c: Mark write_hist, write_call_graph and write_bb_counts + as internal functions. + * inet/getnameinfo.c: Likewise for nrl_domainname. + * inet/getnetgrent_r.c: Likewise for __internal_setnetgrent_reuse. + * inet/rcmd.c: Likewise for __icheckhost. + * intl/dcgettext.c: Likewise for category_to_name and + guess_category_value. + * intl/localealias.c: Likewise for read_alias_file. + * io/fts.c: Likewise for fts_alloc, fts_build, fts_lfree, + fts_maxarglen, fts_padjust, fts_palloc, fts_sort, and fts_stat. + * libio/genops.c: Likewise for save_for_backup. + * malloc/malloc.c (chunk_free, chunk_alloc, chunk_realloc, chunk_align, + main_trim, heap_trim): Likewise. + * malloc/mtrace.c (tr_where): Likewise. + * misc/fstab.c (mnt2fs): Likewise. + * misc/getttyent.c (skip, value): Likewise. + * misc/syslog.c (openlog_internal): Likewise. + * misc/tsearch.c (trecurse, tdestroy_internal): Likewise. + * nss/nsswitch.c (nss_lookup_function, nss_parse_file, nss_getline, + nss_parse_service_list, nss_new_service): Likewise. + * posix/wordexp.c (parse_dollars, parse_backtick, eval_expr): Likewise. + * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise. + * resolv/inet_pton.c (inet_pton4, inet_pton6): Likewise. + * resolv/res_init.c (res_setoptions): Likewise. + * stdio-common/printf_fp.c (group_number): Likewise. + * stdio-common/vfprintf.c (buffered_vfprintf, group_number): Likewise. + * stdlib/fmtmsg.c (internal_addseverity): Likewise. + * sunrpc/auth_des.c (synchronize): Likewise. + * sunrpc/auth_unix.c (marshal_new_auth): Likewise. + * sunrpc/clnt_perr.c (auth_errmsg): Likewise. + * sunrpc/key_call.c (key_call): Likewise. + * sunprc/pmap_rmt.c (getbroadcastnets): Likewise. + * sunrpc/svc_tcp.c (makefd_xprt): Likewise. + * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref, invalidate): + Likewise. + * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out, + set_input_fragment, get_input_bytes): Likewise. + * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path, + phys_pages_info): Likewise. + * sysdeps/unix/sysv/linux/if_index.c (opensock): Likewise. + * sysdeps/unix/sysv/linux/poll.c (__emulate_poll): Likewise. + * sysdeps/unix/sysv/linux/readv.c (__atomic_readv_replacement): + Likewise. + * sysdeps/unix/sysv/linux/readv.c (__atomic_writev_replacement): + Likewise. + * time/strptime.c (strptime_internal): Likewise. + * time/tzfile.c (find_transition, compute_tzname_max): Likewise. + * time/tzset.c (compute_change, tz_compute, tzset_internal): Likewise. + + * libc.map: Remove _libio_using_thunks, add _fp_hw and _dl_addr. + + * ctype/ctype.h: Pretty print. + * grp/grp.h: Likewise. + * include/libc-symbols.h: Likewise. + * include/limits.h: Likewise. + * include/values.h: Likewise. + * io/fcntl.h: Likewise. + * io/sys/stat.h: Likewise. + * libio/stdio.h: Likewise. + * malloc/malloc.h: Likewise. + * misc/err.h: Likewise. + * misc/regexp.h: Likewise. + * misc/sys/cdefs.h: Likewise. + * misc/sys/file.h: Likewise. + * posix/sys/utsname.h: Likewise. + * posix/sys/wait.h: Likewise. + * pwd/pwd.h: Likewise. + * resolv/netdb.h: Likewise. + * signal/signal.h: Likewise. + * stdlib/stdlib.h: Likewise. + * string/endian.h: Likewise. + * string/memory.h: Likewise. + * sysdeps/mach/hurd/bits/fcntl.h: Likewise. + * sysdeps/mach/hurd/sys/param.h: Likewise. + * sysdeps/unix/sysv/linux/sys/param.h: Likewise. + * termios/termios.h: Likewise. + * wcsmbs/wchar.h: Likewise. + * wctype/wctype.h: Likewise. + + * sysdeps/unix/bsd/bsd4.4/wait3.c: Use __WAIT_STATUS in definition. + + Implement Large File Support API. + * include/features.h: Add suuport for _LARGEFILE_SOURCE, + _LARGEFILE64_SOURCE, and _FILE_OFFSET_BITS. + * libc.map: Add new functions for LFS. + * dirent/Makefile (routines): Add readdir64 and readdir64_r. + * dirent/dirent.h: Update readdir prototype for LFS and add new + prototypes for above functions. + * io/Makefile (routines): Add xstat64, fxstat64, lxstat64, + statfs64, fstatfs64, lstat64, open64, lseek64, creat64, and ftw64. + * io/creat64.c: New file. + * io/fstat64.c: New file. + * io/lstat64.c: New file. + * io/stat64.c: New file. + * io/ftw64.c: New file. + * io/ftw.c: Rewrite to allow easy definition of ftw64. + * io/ftw.h: Add LFS interface. + * io/fcntl.h: Likewise. + * io/sys/stat.h: Likewise. + * io/sys/statfs.h: Likewise. + * libio/Makefile (routines): Add iofgetpos64, iofopen64, iofsetpos64, + freopen64, fseeko64, and ftello64. + * libcio/fseeko64.c: New file. + * libio/ftello64.c: New file. + * libio/iofgetpos64.c: New file. + * libio/iofopen64.c: New file. + * libio/iofsetpos64.c: New file. + * libio/fileops.c (_IO_file_fopen): Change to use _IO_off64_t. + (_IO_file_attach): Likewise. + (_IO_do_write): Likewise. + (_IO_file_sync): Likewise. + (_IO_file_seek): Likewise. + (_IO_file_seekoff): Likewise. Use _G_stat64. + (_IO_file_fopen64): New function. + (_IO_file_jumps): Initialize showmanyc and imbue. + * libio/genops.c (_IO_default_seekpos): Change to use _IO_fpos64_t. + (_IO_default_seekoff): Likewise. + (_IO_default_seek): Likewise. + (_IO_default_showmanyc, _IO_default_imbue): New functions. + * libio/iofopncook.c (_IO_cookie_seek): Change to use _IO_off64_t. + * libio/iolibio.h: Add prototypes for LFS functions. + * libio/ioseekoff.c: Change to use _IO_fpos64_t. + * libio/ioseekpos.c: Likewise. + * libio/libio.h: Define _IO_fpos64_t and _IO_off64_t. + (_IO_FILE): Move _offset field to end and change type to _IO_off64_t. + (_IO_seekoff, _IO_seekpos): Change prototype. + * libio/libioP.h (_IO_seekoff_t, _IO_seekpos_t, _IO_seek_t): Change + to use _IO_off64_t. + Change prototypes for function from the *ops.c files. + * libio/stdio.h: Add LFS interface definition. + * libio/strops.c (_IO_str_seekoff): Change to use _IO_fpos64_t. + * posix/Makefile (routines): Add pread64 and pwrite64. + * posix/confstr.c: Handle _CS_LFS* requests. + * posix/getconf.c: Handle LFS* requests. + * sysdeps/generic/confname.h: Add _CS_LFS* constants. + * posix/unistd.h: Document _LFS64_LARGEFILE and _LFS64_STDIO. + Define off_t and off64_t appropriately. Change prototypes of + LFS functions. + * posix/sys/types.h: Add LFS types. + * resources/Makefile (routines): Add getrlimit64 and setlimit64. + * resource/sys/resource.h: Change prototypes of LFS functions. + * stdio-common/Makefile (routines): Add tmpfile64. + * stdio-common/tmpfile64.c: New file. + * sysdeps/generic/_G_config.h: Define _G_fpos64_t and _G_off64_t. + Define _G_OPEN64, _G_LSEEK64, _G_FSTAT64. + * sysdeps/unix/sysv/linux/_G_config.h: Likewise. + * sysdeps/generic/bits/resource.h: Add LFS definitions. + * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise. + * sysdeps/unix/sysv/linux/bits/resource.h: Likewise. + * sysdeps/generic/statfs.h: Use __fsblkcnt_t for some of the fields. + * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise. + * sysdeps/generic/types.h: Define LFS types. + * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise. + * sysdeps/generic/sys/mman.h: Add LFS definitions. + * sysdeps/unix/sysv/linux/sys/mman.h: Likewise. + * sysdeps/generic/mach/hurd/bits/fcntl.h: Add flock LFS extensions. + * sysdeps/unix/bsd/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. + * sysdeps/generic/mach/hurd/bits/stat.h: Add stat LFS extensions. + * sysdeps/unix/bsd/bits/stat.h: Likewise. + * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. + * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise. + * sysdeps/posix/open64.c: New file. + * sysdeps/stub/fstatfs64.c: New file. + * sysdeps/stub/fxstat64.c: New file. + * sysdeps/stub/getrlimit64.c: New file. + * sysdeps/stub/lseek64.c: New file. + * sysdeps/stub/lxstat64.c: New file. + * sysdeps/stub/open64.c: New file. + * sysdeps/stub/pread64.c: New file. + * sysdeps/stub/pwrite64.c: New file. + * sysdeps/stub/readdir64.c: New file. + * sysdeps/stub/readdir64_r.c: New file. + * sysdeps/stub/setrlimit64.c: New file. + * sysdeps/stub/statfs64.c: New file. + * sysdeps/stub/xstat64.c: New file. + * sysdeps/unix/sysv/linux/llseek.c: Define as __llseek and make + llseek and lseek64 weak aliases. + * sysdeps/unix/sysv/linux/lseek64.c: New file. Empty. + * sysdeps/unix/sysv/linux/alpha/bits/dirent.h: New file. + * sysdeps/unix/sysv/linux/bits/dirent.h: Add LFS definitions. + + * sysdeps/posix/tempname.c: Add extra argument to trigger use of + open64. + * sysdeps/stub/tempname.c: Likewise. + * stdio-common/tempnam.c: Call __stdio_gen_tempname with extra + argument. + * stdio-common/tmpfile.c: Likewise. + * stdio-common/tmpnam.c: Likewise. + * stdio-common/tmpnam_r.c: Likewise. + + * libio/libioP.h: Add definition of showmanyc and imbue callbacks. + * libio/fileops.c (_IO_file_jumps): Initialize showmanyc and imbue. + * libio/iofopncook.c (_IO_cookie_jumps): Likewise. + * libio/iopopen.c (_IO_proc_jumps): Likewise. + * libio/memstream.c (_IO_mem_jumps): Likewise. + * libio/obprintf.c (_IO_obstack_jumps): Likewise. + * libio/vsnprintf.c (_IO_strn_jumps): Likewise. + * libio/strops.c (_IO_str_jumps): Likewise. + + * manual/arith.texi: Add a few words why cabs should be used. + * manual/llio.texi: Describe sync, fsync, fdatasync. + Tell about cleanup handlers & fcntl,lseek,write,read,close,open. + * manual/process.texi: Tell about cleanup handlers & system,waitpid, + wait. + * manual/signal.texi: Likewise for pause. + * manual/terminal.texi: Likewise for tcdrain. + * manual/time.texi: Document nanosleep. + + * posix/exevp.c: Don't use nested function. + + * stdlib/ucontext.h: New file. + * sysdeps/i386/sys/ucontext.h: New file. SysV/i386 API definitions. + + * sunrpc/xcrypt.c (hexval): Make a macro for efficiency. + + * sysdeps/i386/setjmp.h: Make `here` label local. + + * sysdeps/i386/elf/start.S: Define _fp_hw "variable". + + * sysdeps/stub/fstatfs.c: Correct warning. + * sysdeps/stub/fxstat.c: Likewise. + * sysdeps/stub/lxstat.c: Likewise. + + * sysdeps/unix/sysv/i386/i686/time.S: New file. + +1997-10-03 20:56 Jason Merrill + + * malloc/obstack.h (obstack_empty_p): New macro. + +1997-10-04 17:41 Philip Blundell + + * inet/getnameinfo.c (getnameinfo): Remove spurious `#if INET6'. + +1997-09-30 Zack Weinberg + + * maint.texi: Add copyright terms for libdb (Sleepycat, Harvard). + Document new --with-binutils switch; delete reference to + --with-gnu-as, --with-gnu-ld, --with-gnu-binutils. + Add to description of --without-fp: a kernel FPU emulator + is adequate (from FAQ). + * INSTALL: Regenerated. + +1997-09-30 17:29 Richard Henderson + + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Move + _dl_hwcap declaration to ... + (elf_machine_fixup_plt): ... here. + +1997-09-30 18:03 Ulrich Drepper + + * Makerules: Undo last change. + * csu/Makefile: Define before-compile at the right place. + + * aclocal.m4: Remove a.out file created by assembler test. + + * set-init.c: Find set-hooks.h using <...>. + + Update to db 2.3.10. + * db2/Makefile: Update. + * db2/db.h: Likewise. + * db2/db_185.h: Likewise. + * db2/db_int.h: Likewise. + * db2/btree/bt_close.c: Likewise. + * db2/btree/bt_conv.c: Likewise. + * db2/btree/bt_cursor.c: Likewise. + * db2/btree/bt_put.c: Likewise. + * db2/btree/bt_rec.c: Likewise. + * db2/btree/bt_recno.c: Likewise. + * db2/btree/btree.src: Likewise. + * db2/btree/btree_auto.c: Likewise. + * db2/clib/getlong.c: Likewise. + * db2/db/db.c: Likewise. + * db2/db/db_auto.c: Likewise. + * db2/db/db_conv.c: Likewise. + * db2/db/db_pr.c: Likewise. + * db2/db/db_ret.c: Likewise. + * db2/db/db_thread.c: Likewise. + * db2/hash/hash.c: Likewise. + * db2/hash/hash_auto.c: Likewise. + * db2/hash/hash_conv.c: Likewise. + * db2/hash/hash_dup.c: Likewise. + * db2/hash/hash_func.c: Likewise. + * db2/hash/hash_page.c: Likewise. + * db2/hash/hash_rec.c: Likewise. + * db2/include/btree.h: Likewise. + * db2/include/btree_ext.h: Likewise. + * db2/include/db.h.src: Likewise. + * db2/include/db_185.h.src: Likewise. + * db2/include/db_cxx.h: Likewise. + * db2/include/db_ext.h: Likewise. + * db2/include/db_int.h.src: Likewise. + * db2/include/db_page.h: Likewise. + * db2/include/db_shash.h: Likewise. + * db2/include/lock.h: Likewise. + * db2/include/log.h: Likewise. + * db2/include/log_ext.h: Likewise. + * db2/include/mp.h: Likewise. + * db2/include/shqueue.h: Likewise. + * db2/include/txn.h: Likewise. + * db2/lock/lock.c: Likewise. + * db2/lock/lock_deadlock.c: Likewise. + * db2/log/log.c: Likewise. + * db2/log/log_archive.c: Likewise. + * db2/log/log_auto.c: Likewise. + * db2/log/log_get.c: Likewise. + * db2/log/log_put.c: Likewise. + * db2/log/log_register.c: Likewise. + * db2/mp/mp_bh.c: Likewise. + * db2/mp/mp_fget.c: Likewise. + * db2/mp/mp_fopen.c: Likewise. + * db2/mp/mp_fput.c: Likewise. + * db2/mp/mp_fset.c: Likewise. + * db2/mp/mp_open.c: Likewise. + * db2/mutex/mutex.c: Likewise. + * db2/os/db_os_dir.c: Likewise. + * db2/progs/db_checkpoint/db_checkpoint.c: Likewise. + * db2/progs/db_deadlock/db_deadlock.c: Likewise. + * db2/progs/db_dump185/db_dump185.c: Likewise. + * db2/progs/db_load/db_load.c: Likewise. + * db2/progs/db_recover/db_recover.c: Likewise. + * db2/txn/txn.c: Likewise. + * db2/txn/txn_auto.c: Likewise. + + * elf/link.h: Define struct libname_list outside struct link_map + to not confuse C++ compilers. + + * include/features.h: Recognize _XOPEN_SOURCE == 500 and set + __USE_UNIX98. + * manual/creature.texi: Explain this. + + * libc.map: Add new functions. + + * libio/Makefile (routines): Add fseeko and ftello. + * libio/ftello.c: New file. + * libio/fseeko.c: New file. + * libio/stdio.h: Add prototypes for new functions. + * manual/stdio.texi: Document fseeko and ftello. + + * posix/Makefile (routines): Add pread and pwrite. + * sysdeps/posix/pread.c: New file. + * sysdeps/posix/pwrite.c: New file. + * sysdeps/stub/pread.c: New file. + * sysdeps/stub/pwrite.c: New file. + * posix/unistd.h: Add prototypes for pread and pwrite. + Pretty print header. + Define gid_t, uid_t, off_t, pid_t if __USE_UNIX98. + Declare ctermid and cuserid if __USE_UNIX98. + (swab): Change to take void * arguments. + * string/swab.c: Change parameter to void *. + * posix/sys/types: Define gid_t, uid_t, off_t, pid_t only if not + already happened. + * manual/llio.texi: Document pread and pwrite. + + * string/strings.h: Don't simply include string.h. Define BSD + functions according to Unix98. + * stdlib/tst-strtol.c: Include not . + * sunrpc/clnt_simp.c: Likewise. + + * malloc/Makefile (aux): Add set-freeres. + * malloc/mtrace.c: Define function release_libc_mem which calls the + __libc_subfreeres handler. + (mtrace): Register release_libc_mem. + * malloc/set-freeres.c: New file. + + * intl/dcgettext.c: Define free_mem function and add to + __libc_subfreeres list. + * intl/finddomain.c: Likewise. + * intl/gettextP.h (struct loaded_domain): Add new fields use_mmap + and mmap_size. Add prototype for _nl_unloaded_domain. + * intl/loadmsgcat.c: Define new function _nl_unload_domain. + (_nl_load_domain): Store informaiton about mmap use and file size. + * intl/localealias.c (read_alias_file): Optimize locale alias file + reading by avoid frequent mallocs. + Define free_mem function and add to __libc_subfreeres list. + + * locale/localeinfo.h: Make a difference between MAX_USAGE_COUNT and + undeletable. + Add prototype for _nl_unload_locale. + * locale/C-collate: Mark data as undeletable by using UNDELETABLE. + * locale/C-ctype: Likewise. + * locale/C-messages: Likewise. + * locale/C-monetary: Likewise. + * locale/C-numeric: Likewise. + * locale/C-time: Likewise. + * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Handle + MAX_USAGE_COUNT and UNDELETABLE. + (free_mem): New function. Add it to __libc_subfreeres list. + * locale/loadlocale.c: Define _nl_unload_locale function. + + * misc/hsearch.c: Register hdestroy in __libc_subfreeres list. + + * stdlib/fmtmsg.c (addseverity): Handle illegal severity arguments + correctly. + Define free_mem function and add to __libc_subfreeres list. + + * locale/programs/localedef.c (options): Short form of verbose is v. + Reported by Andreas Jaeger. + + * misc/sys/select.h: Define pselect only is __USE_POSIX since this + header is used in some others as well for historical reasons. + + * resolv/resolv.h: Include to make self-contained. + + * string/bits/string2.h: Add missing braces and optimize strcmp a + bit more. + * sysdeps/i386/i486/bits/string.h: Likewise. + + * sunrpc/rpc/auth_des.h: Include rpc/auth.h to be self-contained. + Pretty print. + + * sysdeps/mach/hurd/cthreads.c: Add copyright text. + + * sysdeps/unix/sysv/linux/syscalls.list: Correct prctl entry. + + * sysdeps/unix/sysv/linux/sys/mman.h: Get definition of size_t. + + * time/time.h: Pretty print. + +1997-09-29 Paul Eggert + + * time/strftime.c: Synchronize with GNU Emacs strftime.c. + (HAVE_MEMCPY): Define if emacs is defined and HAVE_BCOPY isn't. + (gmtime_r, localtime_r): Undef before defining. + (iso_week_days): Use __inline__, not inline. + +1997-09-27 Andreas Schwab + + * sysdeps/m68k/fpu/bits/mathinline.h: Rename exp2{,l,f} to + __ieee754_exp2{,l,f}. + * sysdeps/m68k/fpu/s_exp2.c: Likewise. + * sysdeps/m68k/fpu/s_exp2l.c: Likewise. + * sysdeps/m68k/fpu/s_exp2f.c: Likewise. + +1997-09-27 Andreas Schwab + + * elf/soinit.c (__EH_FRAME_BEGIN__): Don't make the .eh_frame + section read-only, it contains relocations. + * elf/sofini.c (__FRAME_END__): Likewise. + +1997-09-29 03:08 Ulrich Drepper + + * sysdeps/i386/i486/bits/string.h [__PIC__] (__strspn_cg, __strcspn_cg, + __strpbrk_cg, __strstr_cg): Optimize even more. No spill register + needed. Patch by NIIBE Yutaka . + +1997-09-28 08:27 Thorsten Kukuk + + * nis/nis_call.c (__do_niscall2): Fix return code, add missing + break in switch case. + + * nis/nis_mkdir.c: Fix return codes to match Solaris version. + * nis/nis_rmdir.c: Likewise. + + * nis/rpcsvc/yp_prot.h: Rename struct keydat to struct keydat_t + for C++. + +1997-09-28 04:32 Ulrich Drepper + + * configure.in: Fix typo. + Patch by Zack Weinberg . + +1997-09-25 20:14 Philip Blundell + + * sysdeps/unix/sysv/linux/scsi/sg.h: New file. + * sysdeps/unix/sysv/linux/Makefile: Install . + +1997-09-27 01:14 Ulrich Drepper + + * Makeconfig (extra-objs): Depend in before-compile. + + * configure.in: Locate Perl and substitute with complete path. + * config.make.in: Add PERL for substitution. + * elf/Makefile (routines): Add dl-addr. + * elf/dladdr.c: Move the real code into ... + * elf/dl-addr.c: New file. + * elf/link.h: Add prototype for _dl_addr. + + * elf/dladdr.c (dladdr): Change address argument to be const. + * elf/dlfcn.h: Likewise. + + * locale/C_name.c: Add _nl_POSIX_name. + * locale/localeinfo.h: Add declaration of _nl_POSIX_name. + * locale/findlocale.c (_nl_find_locale): Use _nl_POSIX_name. + (_nl_remove_locale): Free name of data set. + * locale/setlocale.c (clever_copy): Remove. + (new_composite_name): Use _nl_C_name and _nl_POSIX_name in compare. + (setname): Only remove old name when it is for category LC_ALL. + + Change malloc, free, realloc, and memalign hooks for glibc to take + another parameter indicating the location of the caller. + * malloc/malloc.c: Change hook functions and variables. + * malloc/malloc.h: Likewise. + * malloc/mcheck.c: Likewise. Make sure later hooked function also + get the original caller address. + * malloc/mtrace.c: Likewise. + (tr_where): If no information in _mtrace_file is given use the + information about the caller. + * malloc/Makefile (distribute): Replace mtrace.awk by mtrace.pl. + Add rules to install mtrace.pl after rewriting. + * malloc/mtrace.pl: New file. Based on the old AWK script but + with extended functionality. + * malloc/mtrace.awk: Removed. + + * po/fr.po: New version. + + * string/Makefile: Do use builtins for tester.c and inl-tester.c. + * string/tester.c: Rewrite. Split in many small functions to not + exceed gcc's limits. + + * sysdeps/unix/sysv/linux/syscalls.list: Add prctl. + +1997-09-25 Andreas Schwab + + * string/bits/string2.h (__stpcpy_small): Don't use casts as + lvalues. + +1997-09-26 Andreas Jaeger + + * manual/time.texi (Formatting Date and Time): Clarify + explanation of strftime flags a bit. + Suggested by Robert Bihlmeyer . + +1997-09-25 00:13 David S. Miller + + * sysdeps/libm-ieee754/s_exp2f.c: Protect _GNU_SOURCE definition. + Fix typo, it is FLT_MANT_DIG. + +1997-09-24 18:52 H.J. Lu + + * math/atest-exp2.c: Include instead of . + +1997-08-27 08:10 H.J. Lu + + * libio/libio.h, libio/libioP.h: Support libio in libstdc++. + + * libio/libio.h (_IO_peekc): Defined as _IO_peekc_unlocked if + _IO_MTSAFE_IO is undefined. + +1997-09-24 23:27 Richard Henderson + + * elf/dl-runtime.c (fixup): Don't go through elf_machine_relplt, but + lookup the value of the target symbol ourselves and call the new + elf_machine_fixup_plt. This kills the ELF_FIXUP_RETURN_VALUE hack. + (profile_fixup): Likewise, but don't fix up the plt. + * elf/rtld.c (_dl_main): ELF_MACHINE_RELOC_NOPLT renamed _JMP_SLOT. + * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RELOC_NOPLT): Renamed. + (elf_alpha_fix_plt): Renamed elf_machine_fixup_plt. + * sysdeps/i386/dl-machine.h (elf_machine_relplt): Killed. + (ELF_MACHINE_JMP_SLOT): Renamed. + (elf_machine_fixup_plt): New function. + * sysdeps/m68k/dl-machine.h: Likewise. + * sysdeps/powerpc/dl-machine.h: Likewise. + (elf_machine_rela): Moved JMP_SLOT fixup out to elf_machine_fixup_plt. + * sysdeps/sparc/sparc32/dl-machine.h: Likewise. + * sysdeps/sparc/sparc64/dl-machine.h: Likewise. + * sysdeps/stub/dl-machine.h: Update, sorta. + + * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Do profiling. + (TRAMPOLINE_TEMPLATE): From the carcas of _RUNTIME_TRAMPOLINE, do + both normal and profile code. + (elf_machine_rela): Handle r_addend for .got and .plt too. + +1997-09-25 00:23 Ulrich Drepper + + * elf/dl-profile.c: Correct implementation. + + * io/ftwtest-sh: Don't depend on TMPDIR == /tmp. + + * locale/setlocale.c: Rewrite a bit for more clarity. + + * math/Makefile (libm-calls): Add w_exp2. + * math/math_private.h: Add prototypes for __ieee754_exp2{,f,l}. + * sysdeps/libm-i387/s_exp2.S: Change name to __ieee754_exp2. + * sysdeps/libm-i387/s_exp2f.S: Likewise. + * sysdeps/libm-i387/s_exp2l.S: Likewise. + * sysdeps/libm-ieee754/k_standard.c: Add error cases for exp2. + + * string/bits/string2.h (__strcpy_small): Optimize. + (__stpcpy_small): Likewise. + (strncpy): Use variable for dest argument since it's used more than + once. + (strncat): Likewise. + (strcmp): Add optimization for this function. + * sysdeps/i386/i486/string.h (strlen): Correctly use __builtin_strlen. + (__strcpy_small): Optimize. + (__stpcpy_small): Likewise. + (__stpcpy_c): Correctly use __mempcpy_* macros. + (__mempcpy_by2, __mempcpy_by4, __mempcpy_byn): Return pointer to + byte following last copied. + (strncat): Use variable for dest argument since it's used more than + once. + (strcmp): Add optimization for this function. + + * sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use + .text and .previous to select correct section. + +1997-09-23 19:56 Philip Blundell + + * configure.in: Add `--disable-versioning' option to suppress the + use of symbol versions even if binutils claims to support it. + +1997-09-24 20:10 Philip Blundell + + * csu/Makefile (before-compile): Don't try to build abi-tags.h if + not using ELF. + +1997-09-21 Andreas Schwab + + * elf/sofini.c [HAVE_DWARF2_UNWIND_INFO]: Supply termination for + the frame unwind info section. + + * elf/soinit.c [HAVE_DWARF2_UNWIND_INFO]: Register and unregister + the frame unwind info. + + * config.h.in (HAVE_DWARF2_UNWIND_INFO): Add #undef. + + * configure.in: Check whether gcc supports DWARF2 unwind info. + + * libc.map: Export frame handling tables. + +1997-09-10 06:56 Geoff Keating + + * sysdeps/unix/sysv/linux/powerpc/bits/kernel_termios.h: + Use the size of the kernel's termios structure for ioctls. + + * sysdeps/powerpc/dl-machine.h: Prepare for library profiling. + + * sysdeps/powerpc/bits/mathinline.h: Add slightly slower versions + of the C9X FP comparison macros. Delete 'fabs' and 'sqrt' inline + routines, because gcc has them as internals. + + * sysdeps/powerpc/Makefile (pic-ccflags): Define this instead of + CFLAGS-.os. + + * sysdeps/powerpc/bzero.S: New file. + * sysdeps/powerpc/strcat.c: New file. + * sysdeps/powerpc/strcpy.S: New file. + * sysdeps/powerpc/stpcpy.S: New file. + + * math/Makefile: Add atest_exp2, test-reduce. + * math/atest_exp2.c: New file. + * math/test-reduce.c: New file. + * sysdeps/libm-ieee754/Dist: New file. + * sysdeps/libm-ieee754/s_exp2.c: New file. + * sysdeps/libm-ieee754/s_exp2f.c: New file. + * sysdeps/libm-ieee754/t_exp2.h: New file. + * sysdeps/libm-ieee754/t_exp2f.h: New file. + * math/libm-test.c (exp2_test): Add some more tests. + + * Rules: Use empty.os instead of empty.o, since it gets linked into + libc.so... + * configure.in: Add --disable-static to disable building .a files. + * config.make.in: Substitute the new variable. + * Makeconfig: Don't build .o files if not building .a files. + + * elf/dl-runtime.c (fixup): Factor out call to elf_machine_relplt. + (profile_fixup): Likewise. + +1997-09-23 Andreas Schwab + + * posix/globtest.c (main): Change to directory passed as first + argument. + + * posix/globtest.sh: Don't cd before running the program, instead + pass testdir as argument, so that $common_objpfx remains valid. + +1997-09-23 18:01 Thorsten Kukuk + + * nis/nis_call.c (__do_niscall2): Fix multiple Server support. + + * nis/nis_findserver.c: Save latest working sockaddr_in. + +1997-09-17 22:07 Zack Weinberg + + * configure.in: Automatically determine whether as and ld are the + GNU versions. + (options): --with-gnu-{as,ld,binutils} replaced by + single option --with-binutils=PATH specifying a -B option to gcc. + * aclocal.m4: Two new macros defined, LIBC_PROG_FOO_GNU and + LIBC_PROG_BINUTILS. + + * configure.in: Allow the user to force configuration for + unsupported platforms with an undocumented option. + +1997-09-22 16:55 Thorsten Kukuk + + * sunrpc/get_myaddr.c (get_myaddress): Avoid loopback interfaces, + return loopback address only if there is no other interface. + + * nis/Makefile: Add nis_callback libnsl-routines. + + * nis/nis_add.c: Use new __do_niscall* interface. + * nis/nis_cache.c: Likewise. + * nis/nis_checkpoint.c: Likewise. + * nis/nis_lookup.c: Likewise. + * nis/nis_mkdir.c: Likewise. + * nis/nis_modify.c: Likewise. + * nis/nis_ping.c: Likewise. + * nis/nis_remove.c: Likewise. + * nis/nis_rmdir.c: Likewise. + * nis/nis_server.c: Likewise. + * nis/nis_util.c: Likewise. + + * nis/rpcsvc/nis.h: Make C++ safe. + + * nis/nss_nisplus/nisplus-publickey.c (getsecretkey): Fix use + of variables. + + * nis/nis_findserv.c: Make thread safe. + + * nis/nis_call.c: Add support for callback, Fix use of variables. + * nis/nis_table.c: Add support for callback, FOLLOW_PATH and + ALL_RESULTS. + * nis/nis_callback.c: New, callback functions. + * nis/nis_intern.h: Add callback declarations. + +1997-09-20 Andreas Schwab + + * string/bits/string2.h: Fix logic in preprocessor directive. + (__strsep_1c, __strsep_g): Don't declare __retval as pointing to + const, to save a cast and a possible warning. + +1997-09-22 04:12 Ulrich Drepper + + * sysdeps/i386/i486/atomicity.h (exchange_and_add): Really address + memory in xadd not %1. + +1997-09-21 13:56 Ulrich Drepper + + * manual/maint.texi (Supported Configurations): Add SPARC64 to + list of supported platforms. + +1997-09-21 03:19 Ulrich Drepper + + * libio/libio.h: More libstdc++ cleanups. Define _IO_USE_DTOA if + _G_HAVE_PRINTF_FP is not defined. + * libio/strops.c: Undo patch of 1997-07-08 02:18. Must find a + different solution for the problem. + + * misc/search.h [__USE_GNU]: Define comparison_fn_t. + * stdlib/stdlib.h: Define comparison_fn_t only if __COMPAR_FN_T is + not defined. + Fix typo. Pretty print inline functions. + + * sysdeps/i386/i486/string.h (__stpcpy_small): Increment __cp not cp. + Patch by HJ Lu . + +1997-09-20 16:45 Ulrich Drepper + + * hesiod/hesiod.c (hesiod_init): Use __secure_getenv to get + HES_DOMAIN environment variable. + Suggested by Mark Kettenis . + + * hesiod/README.hesiod: A bit of information about Hesiod and how + to use it. Written by Mark Kettenis . + +1997-09-20 05:15 Ulrich Drepper + + * manual/maint.texi: Update requirement list. + + * io/ftw.h: Don't use parameter names from global namespace in + prototypes. + + * stdlib/strtol.c: If used outside glibc handle broken systems + which have character classification functions which are not 8-bit + clean gracefully. Patch by Bruno Haible . + +1997-09-19 21:42 David S. Miller + + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: ssize_t is + a long long int. + +1997-09-19 15:12 H.J. Lu + + * posix/Makefile (test-srcs): New, set to globtest. + +1997-09-20 00:24 Ulrich Drepper + + * manual/filesys.texi: Document ftw, nftw and needed data types. + +1997-09-19 12:53 H.J. Lu + + * sysdeps/i386/i486/bits/string.h: Fix typo. + +1997-09-19 14:11 Ulrich Drepper + + * io/ftwtest.c (cb): Print level. + * io/ftwtest-sh: Updated for ftwtest.c change. + + * string/argz.h (__argz_next): Cast NULL to char * to satisfy C++ + compilers. + Reported by Mirko Streckenbach . + + * catgets/catgets.c (catopen): Correctly allocate string of nlspath. + Reported by Charles C. Fu . + +1997-09-18 13:30 Klaus Espenlaub + + * sysdeps/i386/init-first.c: Call __getopt_clean_environment with + additional argument. + * sysdeps/mach/hurd/i386/init-first.c: Likewise. + * sysdeps/mach/hurd/mips/init-first.c: Likewise. + * sysdeps/stub/init-first.c: Likewise. + +1997-09-18 03:16 Ulrich Drepper + + * manual/search.texi: Document lsearch, lfind, the hsearch and + tsearch functions. + +1997-09-18 00:04 Ulrich Drepper + + * misc/hsearch_r.c (hsearch_r): Only return error for ENTER action + if the table is full and we *really* have to enter a new entry. + +1997-09-17 19:44 Ulrich Drepper + + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Get rid + of hack for handling flush opcode. + Patch by Richard Henderson . + +1997-09-16 23:48 Ulrich Drepper + + * libio/fileops.c: Define __set_errno if necessary. + * libio/libioP.h: Don't use __BEGIN_DECLS/__END_DECLS, expand macros. + +1997-09-16 22:03 Ulrich Drepper + + * string/Makefile (headers): Instead bits/string2.h. + Reported by David S. Miller . + +1997-09-16 13:31 David S. Miller + + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: New file. + +1997-09-16 17:42 Ulrich Drepper + + * sysdeps/generic/bits/select.h (__FD_ZERO): Declare __arr variable + as of type __fdset *. + * sysdeps/i386/bits/select.h: Likewise. + Reported by David S. Miller . + +1997-09-16 04:32 Ulrich Drepper + + * hesiod/hesiod.c: Don't use and define cistrcmp. We have + strcasecmp. + (hesiod_init): Use of HES_DOMAIN need not be protected by + __secure_getenv. + (hesiod_to_bind): Avoid using strcat and extra strlen calls, use + stpcpy. + + * string/Makefile (noinl-tester-ENV): New variable to make + strerror test pass. + (CFLAGS-noinl-tester): Make sure we test the correct functions. + + * sysdeps/stub/atomicity.h: Fix typo. + Zack Weinberg told me this twice. + + * manual/string.texi: Document strnlen and mempcpy. + Tell a bit more about the locale dependence of strcasecmp and + strncasecmp. + + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove ptrace. + * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace): Change return + value type to long int. + * sysdeps/unix/sysv/linux/ptrace.c: Likewise. Adopt local variable + types. + * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Fix typo. + Patches by David S. Miller . + +1997-09-16 02:14 Ulrich Drepper + + Implementation of Hesiod NSS module by Mark Kettenis. + * hesiod/Makefile: New file. + * hesiod/hesiod.c: New file. + * hesiod/hesiod.h: New file. + * hesiod/hesiod_p.h: New file. + * hesiod/libnss_hesiod.map: New file. + * hesiod/nss_hesiod/hesiod-grp.c: New file. + * hesiod/nss_hesiod/hesiod-pwd.c: New file. + * hesiod/nss_hesiod/hesiod-service.c: New file. + * sysdeps/unix/inet/Subdirs: Add hesiod. + + * shlib-versions: Add version number for libnss_hesiod. + + * libio/iolibio.h: Remove definition of _IO_* macros. + * libio/fileops.c: Define close, fstat, lseek, read, and write as + macros to use __ protected versions. Use those functions instead + of _IO_* functions. + * libio/iopopen.c: Define _IO_close to close. + + * manual/math.texi: Explain the use of the optimizing inline + functions. + Describe rand_r function and tell about SysV RNGs in introduction. + + * resolv/res_send.c (res_send): Use socklen_t type for `fromlen' + variable. + + * string/Makefile (tests): Add noinl-tester. + * string/noinl-tester.c: New file. + * string/tester.c: Add more stpcpy tests for constant arguments for + all short lengths. + + * string/string.h: Always declare __bzero. + Describe __NO_STRING_INLINES. + Always include . + * string/bits/string2.h: Add warning about direct use. + Change __strcpy_small and __stpcpy_small implementation to use + macros and provide alternative for platforms which cannot do + unaligned stores. + * sysdeps/i386/bits/string.h: Don't define anything is + __NO_STRING_INLINES is defined. + * sysdeps/i386/i486/bits/string.h: Change __strcpy_small and + __stpcpy_small implementation to use macros and provide + alternative for platforms which cannot do unaligned stores. + * sysdeps/alpha/bzero.S: Define bzero as weak alias of __bzero. + * sysdeps/generic/bzero.c: Likewise. + * sysdeps/i386/bzero.c: Likewise. + * sysdeps/i386/i586/bzero.S: Likewise. + * sysdeps/vax/bzero.s: Likewise. + + * sysdeps/generic/bits/select.h: Don't use ugly casts to access array. + * sysdeps/i386/bits/select.h: Likewise. + + * sysdeps/i386/fpu/bits/mathinline.c (__finite): Relax register + constraints a bit. + Don't define and test for _BITS_MATHINLINE_H. Emit warning if used + directly and not through math.h. + + * sysdeps/i386/i486/atomicity.h: Change return type of compare_and_swap + to char to get better code. Fix typo. + * sysdeps/stub/atomicity.h: Fix typo. + +1997-09-14 Andreas Schwab + + * sysdeps/generic/stpcpy.c: #undef stpcpy and __stpcpy. + +1997-09-14 Andreas Schwab + + * string/bits/string2.h: Add prototypes to avoid warning. + +1997-09-14 Andreas Schwab + + * string/bits/string2.h (strsep): Fix handling of empty REJECT. + (__strsep_1c): Handle NULL and empty string. + (__strsep_g): Likewise. + +1997-09-13 Andreas Schwab + + * catgets/Makefile (extra-objs): Set this instead of generated. + + * md5-crypt/Makefile (extra-objs): Add all object file variants of + onlymd5-entry. + +1997-09-12 Andreas Schwab + + * sysdeps/generic/sysd-stdio.c (__stdio_read): Fix typo in last + change. + +1997-09-12 Andreas Schwab + + * sysdeps/m68k/m68020/atomicity.h: New file. + +1997-09-15 05:11 Ulrich Drepper + + * posix/Makefile (distribute): Add globtest.c and globtest.sh. + Compile and run globtest if not cross-compiling. + * posix/globtest.c: New file. + * posix/globtest.sh: New file. + * posix/glob.c: Pretty print preprocessor stuff. + (glob_in_dir): If PATTERN is not really a pattern still check + whether it is a real file in the current directory and return + error if not. + Reported by Eugene Mamchits . + + * libio/fileops.c (_IO_file_sync): Acquire lock before doing the work. + * libio/ioseekoff.c (_IO_seekoff): Likewise. + * libio/ioseekpos.c (_IO_seekpos): Likewise. + +1997-09-13 18:06 Ulrich Drepper + + * configure.in: Prevent configuration for unsupported platforms. + +1997-09-13 04:07 Ulrich Drepper + + * elf/rtld.c (dl_main): Make sure we always have a file argument by + testing for < 2 arguments after recognizing the options. + +1997-09-12 11:47 Fila Kolodny + + * string/bits/string2.h (__strsep_1c): Cast out const from __retval. + (__strsep_g): Likewise. + +1997-09-11 17:32 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_ASYNC. + Patch by David S. Miller . + +1997-09-11 04:36 Ulrich Drepper + + * db2/db_int.h: Define __set_errno if not yet available. + * db2/btree/bt_rec.c: Use __set_errno to set errno value. + * db2/clib/getlong.c: Likewise. + * db2/db185/db185.c: Likewise. + * db2/db185/db185_int.h: Likewise. + * db2/dbm/dbm.c: Likewise. + * db2/lock/lock_deadlock.c: Likewise. + * db2/log/log_archive.c: Likewise. + + * elf/dl-profile.c: Implement mcount function. + + * gmon/gmon.c: Use __profil not profil because of namespace pollution. + * gmon/mcount.c: Remove BSD kernel code. + Use compare&swap instruction if possible to change state variable. + Optimize frompc folding. + * gmon/sys/gmon.h (struct gmonparam): Change state field to long int. + * sysdeps/i386/i486/atomicity.h: New file. + * sysdeps/stub/atomicity.h: New file. + * sysdeps/mach/hurd/profil.c: Define function as __profil and make + profil weak alias. + * sysdeps/posix/profil.c: Likewise. + + * string/bits/string2.h: New file. + * include/bits/string2.h: New file. + * string/Makefile (routines): Add mempcpy. + (tests): Add inl-tester. + Remove _D__NO_STRING_INLINES from CFLAGS-* variables. + * sysdeps/generic/mempcpy.c: New file. + * sysdeps/generic/memccpy.c: Undef function name to enable definition + as macro. + * sysdeps/generic/memchr.c: Likewise. + * sysdeps/generic/memcmp.c: Likewise. + * sysdeps/generic/memmem.c: Likewise. + * sysdeps/generic/memmove.c: Likewise. + * sysdeps/generic/strcat.c: Likewise. + * sysdeps/generic/strchr.c: Likewise. + * sysdeps/generic/strcmp.c: Likewise. + * sysdeps/generic/strcpy.c: Likewise. + * sysdeps/generic/strcspn.c: Likewise. + * sysdeps/generic/strlen.c: Likewise. + * sysdeps/generic/strncat.c: Likewise. + * sysdeps/generic/strncmp.c: Likewise. + * sysdeps/generic/strncpy.c: Likewise. + * sysdeps/generic/strpbrk.c: Likewise. + * sysdeps/generic/strrchr.c: Likewise. + * sysdeps/generic/strsep.c: Likewise. + * sysdeps/generic/strspn.c: Likewise. + * sysdeps/generic/strstr.c: Likewise. + * sysdeps/generic/strtok.c: Likewise. + * sysdeps/generic/strtok_r.c: Likewise. + * sysdeps/i386/memset.c: Likewise. + * sysdeps/i386/bits/string.h: Correct a few types and constraints. + * sysdeps/i386/i486/bits/string.h: Heavy rewrites and optimizations. + * string/stratcliff.c: Undefine __USE_STRING_INLINES. + * string/tst-strlen.c: Likewise. + * string/string.h: Add prototype for mempcpy. Include bits/string2.h + header always if optimizing. + * intl/dcgettext.c: Don't unconditionally define stpcpy, only if not + yet defined. + * intl/l10nflist.c: Likewise. + + * string/tester.c: Add copyright and make little cleanups. + + * inet/test_ifindex.c: Change type of ni variable to unsigned int. + + * locale/programs/ld-ctype.c (struct locale_ctype_t): Change type + of fields map_collection_max and map_collection_act to size_t. + + * nss/libnss_files.map: Group entries. + + * posix/unistd.h: Add prototype for __setpgid and __profil. + + * sysdeps/generic/crypt.h: Declare __crypt_r. + + * sysdeps/i386/bits/select.h: Fix fatal bugs, use correct casts now. + + * sysdeps/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal, + isless, islessequal, islessgreater, isunordered): Optimize a bit. + + * sysdeps/stub/ftruncate.c: Include missing header for prototype. + * sysdeps/stub/getdents.c: Likewise. + * sysdeps/stub/reboot.c: Likewise. + * sysdeps/stub/swapon.c: Likewise. + * sysdeps/stub/syscall.c: Likewise. + * sysdeps/stub/ualarm.c: Likewise. + * sysdeps/stub/usleep.c: Likewise. + + * sysdeps/unix/sysv/linux/if_index.c: Don't compile or use opensock + if SIOGIFINDEX and SIOGIFNAME are not defined. + + * sysdeps/unix/sysv/linux/net/if.h: Add IFF_PORTSEL and IFF_AUTOMEDIA + according to recent kernel changes. + +1997-09-10 21:32 Klaus Espenlaub + + * Makeconfig: Use $(have-initfini) instead of $(elf) to figure out + the installed name of the startup code. + (common-generated): Add version.mk. + * Makefile (distclean-1): Add glibcbug. + * Makerules: Replace -lgcc by $(gnulib). + * catgets/Makefile (generated): Add xmalloc.o. + * csu/Makefile (generated): Replace align.h and end.h by defs.h to + match the generated file. + * manual/Makefile (mostlyclean): Add stub-manual and stamp.o. + (realclean): Changed to remove chapters-incl[12]. + * po/Makefile (realclean): New rule to remove the generated .mo files. + * time/Makefile: Only include zonefile dependencies if $(no_deps) is + not true to avoid make clean failure when directory time doesn't exist + yet. + (generated): Add tzselect. + + * stdio/fgets.c (fgets): Add casts to reduce gcc warning noise. + * stdio/internals.c (flushbuf): Likewise. + * stdio/linewrap.c (lwupdate): Likewise. + * stdio/memstream.c (enlarge_buffer): Likewise. + * stdio-common/vfscanf.c (_IO_vfscanf): Likewise. + * time/tzset.c (compute_change): Likewise. + * misc/init-misc.c (__init_misc): Only declare static if HAVE_GNU_LD + is defined. + * sysdeps/posix/pipestream.c (FUNC): Change to generate ANSI C style + functions. + * sysdeps/stub/init-posix.c: Likewise. + * sysdeps/stub/profil.c: Likewise. + * munch-tmpl.c (__libc_init): Convert to ANSI C style declaration to + reduce gcc warning noise. + * stdio/glue.c (_filbuf, _flsbuf): Likewise. + * stdio/obstream.c (grow, seek, input, init_obstream): Likewise. + * stdio/vasprintf.c (enlarge_buffer): Likewise. + * sysdeps/generic/sysd-stdio.c (__stdio_read, __stdio_write, + __stdio_seek, __stdio_close, __stdio_fileno, __stdio_open, + __stdio_reopen): Likewise. + * sysdeps/posix/defs.c (_cleanup): Likewise. + * time/offtime.c (__offtime): Add cast. + + * posix/getopt.c: Don't use text_set_element if not defined. + + * configure.in: Provide a check for underscores before user labels + that works even when the compiler used for building doesn't work + (like when there is no C library). Use the old way if the compiler + works. + +1997-09-10 05:08 David S. Miller + + * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: The TC* ioctls use + 'T' not 't' on SparcLinux. + * sysdeps/unix/sysv/linux/sparc/bits/termios.h: tcflag_t is 32 bits. + + * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add aliases for + _longjmp and siglongjmp. + +1997-09-09 Andreas Schwab + + * libio/stdio.h: Add format attributes to the extra printf and + scanf like functions. + * stdio/stdio.h: Likewise. + +1997-09-09 Andreas Schwab + + * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r): + Print tablename_val, not tablename_len. + + * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r): + Use sprintf instead of sprintf, the string always fits. + * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r): + Likewise. + * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r): + Likewise. + * nis/nss_nisplus/nisplus-proto.c + (_nss_nisplus_getprotobynumber_r): Likewise. + * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbynumber_r): + Likewise. + * nis/nss_nisplus/nisplus-service.c + (_nss_nisplus_getservbynumber_r): Likewise. + + * nis/nss_nisplus/nisplus-alias.c (_nss_create_tablename): Use + __stpcpy, __stpncpy and __strdup instead of public names. + * nis/nss_nisplus/nisplus-ethers.c (_nss_create_tablename): + Likewise. + * nis/nss_nisplus/nisplus-grp.c (_nss_create_tablename): Likewise. + * nis/nss_nisplus/nisplus-hosts.c (_nss_create_tablename): + Likewise. + * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_parse_netgroup): + Likewise. + * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_parse_netent): + Likewise. + (_nss_create_tablename): Likewise. + * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_parse_protoent): + Likewise. + (_nss_create_tablename): Likewise. + * nis/nss_nisplus/nisplus-pwd.c (_nss_create_tablename): + Likewise. + * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent): + Likewise. + (_nss_create_tablename): Likewise. + * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_parse_servent): + Likewise. + (_nss_create_tablename): Likewise. + * nis/nss_nisplus/nisplus-spwd.c (_nss_create_tablename): + Likewise. + + * libc.map: Export __stpcpy and __strdup. + +1997-09-09 Andreas Schwab + + * math/Makefile (CFLAGS-test-float.c, CFLAGS-test-double.c, + CFLAGS-test-ldouble.c): Pass -ffloat-store to avoid excessive + precision. + +1997-09-09 Andreas Schwab + + * include/rpc/auth_des.h: New file. + +1997-09-09 Paul Eggert + + * time/mktime.c (__mktime_internal): Declare sec_requested even if + !LEAP_SECONDS_POSSIBLE, since it's needed at the end when checking + for time_t overflow. + +1997-09-09 22:11 Ulrich Drepper + + * sysdeps/posix/getcwd.c: Correct test for too small buffer. + Reported by Erik Troan . + + * elf/dl-close.c: Include , not . + * elf/dl-open.c: Likewise. + +1997-09-07 17:09 Richard Henderson + + * sysdeps/alpha/Makefile: Kill setjmp_aux. + * sysdeps/alpha/bits/setjmp.h: Rewrite in terms of an array. + * sysdeps/alpha/__longjmp.c: Remove. + * sysdeps/alpha/setjmp_aux.c: Remove. + * sysdeps/alpha/__longjmp.S: New file. + * sysdeps/alpha/bsd-_setjmp.S: Stub out. + * sysdeps/alpha/bsd-setjmp.S: Likewise. + * sysdeps/alpha/setjmp.S: Do the work; don't call __setjmp_aux. + Move _setjmp and setjmp from bsd-*.S. + +1997-09-06 20:20 Ulrich Drepper + + * include/rpc/auth.h: New file. + * include/rpc/auth_unix.h: New file. + +1997-09-06 Paul Eggert + + Fix gmtime so that it reports leap seconds when TZ + indicates that leap seconds are desired. + + * time/gmtime.c (): Remove unnecessary include. + (gmtime): Put after gmtime_r, to help the compiler inline. + (__tz_convert): New decl. + (gmtime_r): Use __tz_convert instead of __offtime, + so that leap seconds are handled correctly. + + * time/localtime.c (, ): Remove includes that + are now unnecessary. + (__tzset_internal, __tz_compute, __tzfile_compute, __use_tzfile, + __tzset_lock): Remove extern decls that are now unnecessary. + (localtime_internal): Moved to __tz_convert in tzset.c. + so that localtime and gmtime can both use it easily. + (localtime): Put after localtime_r, to help the compiler inline. + (localtime_r): Use __tz_convert instead of localtime_internal. + + * time/strftime.c (__tz_compute): Remove unused (and now incorrect) + decl. + + * time/tzfile.c (__tzfile_compute): New arg USE_LOCALTIME. + + * time/tzset.c (): Include. + (_tmbuf): New decl. + (__tzfile_compute): New function. + (tz_compute): Renamed from __tz_compute. No longer extern. + Remove redundant call to tzset_internal. + (tzset_internal): Renamed from __tzset_internal. No longer extern. + (tzset_lock): Renamed from __tzset_lock. No longer extern. + (__tz_convert): New function, containing functionality of old + localtime_internal function, plus locking and optional UTC. + +1997-09-06 Paul Eggert + + * time/tzfile.c (__tzfile_read): Don't read a file if TZ is the empty + string, just use UTC without leap seconds. This is for compatibility + with the Olson code. + +1997-09-06 Paul Eggert + + * time/tzset.c (__tzname_max): Lock tz data structures before + invoking tzset_internal. + + * time/tzfile.c: Define compute_tzname_max statically. + +1997-09-07 10:57 Thorsten Kukuk + + * nis/nis_call.c: Remove not longer necessary HAVE_SECURE_RPC ifdefs. + * nis/nis_intern.h: Likewise. + * nis/nss_nis/nis-publickey.c: Likewise. + * nis/nss_nisplus/nisplus-publickey.c: Likewise. + * nis/ypclnt.c: Likewise. + + * sunrpc/auth_des.c: Don't dereference NULL pointer, + initialize ad->ad_timediff. + + * sunrpc/auth_none.c: Don't define our own prototypes, use the one + from the header files. + * sunrpc/auth_unix.c: Likewise. + * sunrpc/clnt_raw.c: Likewise. + * sunrpc/clnt_tcp.c: Likewise. + * sunrpc/rpc_cmsg.c: Likewise. + + * sunrpc/key_call.c: Fix signal handling. + + * sunrpc/openchild.c: Don't use /bin/sh to start /usr/etc/keyenvoy, + or we will get a deadlock with NIS+. + + * sunrpc/rpc/auth.h: Add prototype for xdr_opaque_auth, don't define + HAVE_SECURE_RPC. + +1997-09-07 15:51 Ulrich Drepper + + * sysdeps/i386/bits/select.h [__GNUC__] (__FD_ZERO, __FD_SET, __FD_CLR, + __FD_ISSET): Use correct casts to address array correctly. + Reported by urbanw@cs.umu.se. + +1997-09-07 05:07 Ulrich Drepper + + * elf/dl-close.c: Include , not . + * elf/dl-open.c: Likewise. + * sysdeps/i386/memset.c: Undefine memset in case the header with the + optimized functions is included. + Patches by NIIBE Yutaka . + + * sysdeps/i386/bits/string.h [__PIC__] (strcspn, strspn, strpbrk, + strsep): Use register for second parameter. + * sysdeps/i386/i486/bits/string.h: Likewise. + Reported by NIIBE Yutaka . + +1997-09-03 09:48 Geoff Keating + + * math/libm-test.c: Change various tolerances to match what the + tested routines can actually provide. + + * math/Makefile: Add new tests. + * math/atest-sincos.c: New file. + * math/atest-exp.c: New file. + + * csu/Makefile: Give initfini.s and initfiniS.s their own + CFLAGS-* macros so they can be overridden. + * sysdeps/powerpc/Makefile [subdir=csu]: Override flags for + initfiniS.s to use -fpic instead of -fPIC, because the sed script + breaks otherwise. + + * sysdeps/powerpc/Makefile [build-shared]: Use -fpic not -fPIC for + efficiency. + + * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): + Don't use register 0, to let _mcount be in a shared object. + + * sysdeps/powerpc/dl-machine.h: Use full sentences in comments. + Generally clean up. Suppress some code we don't need when relocating + ld.so. + * sysdeps/powerpc/test-arith.c: Change loop indices to size_t when + appropriate to suppress gcc warning. + * resolv/res_send.c: Suppress warning. + * sunrpc/xdr_sizeof.c: Suppress warning. + + * FAQ: Add ppc-linux. + * manual/maint.texi: Add ppc-linux. Explain that gcc can't build it + yet. + + * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Correct for + current kernels. + +1997-08-15 07:45 Geoff Keating + + * stdlib/fmtmsg.c: Use two parameters for __libc_once_define. + * sysdeps/i386/machine-gmon.h: Correct typo. + + * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Change to match + kernel. + + * sysdeps/generic/dl-sysdep.c: Add hook for bizzare PPC argument hack. + * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Rewrite to use + sysdeps/linux/dl-sysdep.c. + + * sysdeps/powerpc/Makefile [subdir=gmon]: Compile ppc-mcount. + * sysdeps/powerpc/machine-gmon.h: Use ppc-mcount. + * sysdeps/powerpc/ppc-mcount: New file. + + The following are mostly changes to allow profiling: + * sysdeps/powerpc/add_n.S: Added. + * sysdeps/powerpc/add_n.s: Removed. + * sysdeps/powerpc/addmul_1.S: Added. + * sysdeps/powerpc/addmul_1.s: Removed. + * sysdeps/powerpc/bsd-_setjmp.S: Use JUMPTARGET macro. + * sysdeps/powerpc/bsd-setjmp.S: Use JUMPTARGET macro. + * sysdeps/powerpc/lshift.S: Added. + * sysdeps/powerpc/lshift.s: Removed. + * sysdeps/powerpc/memset.S: Added. + * sysdeps/powerpc/memset.s: Removed. + * sysdeps/powerpc/mul_1.S: Added. + * sysdeps/powerpc/mul_1.s: Removed. + * sysdeps/powerpc/rshift.S: Added. + * sysdeps/powerpc/rshift.s: Removed. + * sysdeps/powerpc/s_copysign.S: Use ENTRY, END, weak_alias macros. + * sysdeps/powerpc/s_fabs.S: Use ENTRY, END, weak_alias macros. + * sysdeps/powerpc/setjmp.S: Use JUMPTARGET macro. + * sysdeps/powerpc/strchr.S: Added. + * sysdeps/powerpc/strchr.s: Removed. + * sysdeps/powerpc/strcmp.S: Added. + * sysdeps/powerpc/strcmp.s: Removed. + * sysdeps/powerpc/strlen.S: Added. + * sysdeps/powerpc/strlen.s: Removed. + * sysdeps/powerpc/sub_n.S: Added. + * sysdeps/powerpc/sub_n.s: Removed. + * sysdeps/powerpc/submul_1.S: Added. + * sysdeps/powerpc/submul_1.s: Removed. + * sysdeps/unix/sysv/linux/powerpc/_exit.S: Removed. + * sysdeps/unix/sysv/linux/powerpc/brk.S: Added. + * sysdeps/unix/sysv/linux/powerpc/brk.c: Removed. + * sysdeps/unix/sysv/linux/powerpc/clone.S: Use new macros. Fix + various bugs. Document that it isn't tested. + * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Make look like + sysdeps/unix/_exit.S. + * sysdeps/unix/sysv/linux/powerpc/socket.S: Use new macros. + * sysdeps/unix/sysv/linux/powerpc/syscall.S: Use new macros. + * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Define some new macros + to make assembler (possibly) more portable, allow profiling, etc. + +1997-09-05 03:15 Ulrich Drepper + + * Makefile (subdirs): Reorganize order so that nss follows add-ons. + * config.make.in (LDAP): Add. + * configure.in: Prepare for ldap add-on. + * shlib-versions: Add version numbers for ldap NSS module. + * nss/Makefile: Add rules to build ldap NSS module. + + * db/btree/bt_page.c (__bt_free): Update meta data information. + + Update db from db-2.3.6. + * db2/db.h: Updated. + * db2/btree/bt_close.c: Updated. + * db2/btree/bt_compare.c: Updated. + * db2/btree/bt_conv.c: Updated. + * db2/btree/bt_cursor.c: Updated. + * db2/btree/bt_delete.c: Updated. + * db2/btree/bt_put.c: Updated. + * db2/btree/bt_rec.c: Updated. + * db2/btree/bt_recno.c: Updated. + * db2/btree/bt_search.c: Updated. + * db2/btree/bt_split.c: Updated. + * db2/btree/bt_stat.c: Updated. + * db2/common/db_appinit.c: Updated. + * db2/common/db_apprec.c: Updated. + * db2/common/db_byteorder.c: Updated. + * db2/common/db_err.c: Updated. + * db2/common/db_region.c: Updated. + * db2/db/db.c: Updated. + * db2/db/db_conv.c: Updated. + * db2/db/db_dup.c: Updated. + * db2/db/db_pr.c: Updated. + * db2/db/db_ret.c: Updated. + * db2/db185/db185.c: Updated. + * db2/dbm/dbm.c: Updated. + * db2/hash/hash_dup.c: Updated. + * db2/include/db_am.h: Updated. + * db2/include/db_page.h: Updated. + * db2/include/mp.h: Updated. + * db2/include/queue.h: Updated. + * db2/log/log.c: Updated. + * db2/log/log_findckp.c: Updated. + * db2/log/log_get.c: Updated. + * db2/log/log_rec.c: Updated. + * db2/mp/mp_bh.c: Updated. + * db2/mp/mp_fopen.c: Updated. + * db2/mp/mp_pr.c: Updated. + * db2/mp/mp_sync.c: Updated. + * db2/mutex/x86.gcc: Updated. + * db2/os/db_os_dir.c: Updated. + * db2/os/db_os_fid.c: Updated. + * db2/progs/db_archive/db_archive.c: Updated. + * db2/progs/db_checkpoint/db_checkpoint.c: Updated. + * db2/progs/db_deadlock/db_deadlock.c: Updated. + * db2/progs/db_dump/db_dump.c: Updated. + * db2/progs/db_dump185/db_dump185.c: Updated. + * db2/progs/db_load/db_load.c: Updated. + * db2/progs/db_printlog/db_printlog.c: Updated. + * db2/progs/db_recover/db_recover.c: Updated. + * db2/progs/db_stat/db_stat.c: Updated. + * db2/txn/txn.c: Updated. + * db2/txn/txn_rec.c: Updated. + + * db2/Makefile: Add rule to build db_printlog. + * db2/config.h: Don't include endian.h and don't define + WORDS_BIGENDIAN. Only define HAVE_ENDIAN_H. + + * elf/dl-open.c (_dl_open): Make thread-safe. + * elf/dl-close.c (_dl_close): Likewise. + * elf/dlclose.c: Pretty print. + * elf/dl-version.c (make_string): Use __strdup not strdup. + (find_needed): Don't use l_searchlist of _dl_loaded, use the + l_next list. + * elf/dl-deps.c (_dl_map_object_deps): Remove variable head. + + * manual/math.texi: Add note about == and != for FP values. + * manual/message.texi: Mention problems with relative paths and + binstextdomain. + * manual/string.texi: Mark strdupa and strndupa correctly as macros. + + * sunrpc/Makefile (CFLAGS-xkey_prot.c): Define to prevent warnings. + * sunrpc/rpc_cout.c: Avoid needless races around return value. + + * sysdeps/generic/stpcpy.c: Include if wanted. + + Update from tzdata-1997h. + * time/africa: Updated. + * time/europe: Updated. + * time/iso3166.tab: Updated. + * time/northamerica: Updated. + * time/southamerica: Updated. + * time/zone.tab: Updated. + +1997-09-04 13:19 Richard Henderson + + * sysdeps/alpha/w_sqrt.S: Removed. + * sysdeps/alpha/fpu/e_sqrt.c: New. Obey -mieee and -mieee-with-inexact + and build a version that is as fast as possible given the constraint. + +1997-08-30 Andreas Jaeger + + * manual/maint.texi: Document some defaults for configuration + parameters. + +1997-09-04 15:57 Ulrich Drepper + + * termios/cfsetspeed.c (cfsetspeed): Change return value to int. + * termios/termios.h: Change prototype accordingly. + Reported by Andreas Jaeger . + +1997-07-26 14:42 H.J. Lu + + * libio/stdfiles.c (_libio_using_thunks): Define if + _G_USING_THUNKS is defined. + + * libio/_G_config.h: Moved to ... + * sysdeps/generic/_G_config.h: ...here. + + * sysdeps/unix/sysv/linux/_G_config.h: New, + Add vtable thunks support. + +1997-09-02 Andreas Schwab + + * sysdeps/m68k/Makefile (pic-ccflag): Override it for more + efficient code (together with a change in gcc). + + * Makeconfig (pic-ccflag): New variable. + (CFLAGS-.os): Use it instead of hardcoding -fPIC. + +1997-09-02 Andreas Schwab + + * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use + _dl_start instead of a local label, to avoid getting an unreadable + label name. + +1997-09-02 Andreas Schwab + + * nss/Makefile ($(objpfx)libnss_db.so): Use $(dbobjdir) to find + libdb.so. + + * Makeconfig (dbobjdir): Use db2. + +1997-08-31 Andreas Schwab + + * manual/maint.texi (Porting to Unix): Update description of the + implementation of Unix system calls. + (Contributors): Use real umlaut in tege's name. + +1997-08-30 Andreas Schwab + + * sysdeps/libm-ieee754/w_gamma.c: Make compilable with + _IEEE_LIBM. + * sysdeps/libm-ieee754/w_gammaf.c: Likewise. + * sysdeps/libm-ieee754/w_gammal.c: Likewise. + +1997-08-29 21:45 Ulrich Drepper + + * sunrpc/auth_des.c: New file. Copied from former secure_rpc add-on. + * sunrpc/authdes_prot.c: New file. Likewise. + * sunrpc/des.h: New file. Likewise. + * sunrpc/des_crypt.c: New file. Likewise. + * sunrpc/des_soft.c: New file. Likewise. + * sunrpc/key_call.c: New file. Likewise. + * sunrpc/key_prot.c: New file. Likewise. + * sunrpc/netname.c: New file. Likewise. + * sunrpc/openchild.c: New file. Likewise. + * sunrpc/rtime.c: New file. Likewise. + * sunrpc/svc_auth.c: New file. Likewise. + * sunrpc/svcauth_des.c: New file. Likewise. + * sunrpc/xcrypt.c: New file. Likewise. + * sunrpc/rpc/auth.h: New file. Likewise. + * sunrpc/rpc/auth_des.h: New file. Likewise. + * sunrpc/rpc/des_crypt.h: New file. Likewise. + * sunrpc/rpc/key_prot.h: New file. Likewise. + * sunrpc/rpcsvc/key_prot.x: New file. Likewise. + * sysdeps/generic/svc_auth.h: Removed. + * sysdeps/generic/rpc/auth.h: Removed. + * sysdeps/generic/rpc/auth_des.h: Removed. + * sysdeps/stub/des_impl.c: New file. Stub version for DES. + * sunrpc/Makefile (rpcsvc): Add keyprot.x. + (headers): Add des_crypt.h and key_prot.h. + (routines): Add auth_des, authdes_prot, des_crypt, des_impl, des_soft, + key_call, key_prot, netname, openchild, rtime, svcauth_des, xcrypt. + (distribute): Add des.h. + + * db2/Makefile: Add all headers and other files to distribute. + (others): Add db_printlog. + + * sysdeps/mach/hurd/Dist: Add net/* headers. + * sysdeps/mach/hurd/mips/Dist: New file. + * sysdeps/powerpc/Dist: Add fe_nomask.c and t_sqrt.c. + * sysdeps/sparc/Dist: Add sys/trap.h. + * sysdeps/sparc/sparc32/Dist: Remove sys/trap.h. + * sysdeps/sparc/sparc32/sparcv8/Dist: New file. + * sysdeps/unix/sysv/linux/mips/Dist: Add sgidefs.h. + * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/trap.h. + * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove sys/trap.h. + + Add previously missing assembler files for PPC. + * sysdeps/powerpc/add_n.s: New file. + * sysdeps/powerpc/addmul_1.s: New file. + * sysdeps/powerpc/lshift.s: New file. + * sysdeps/powerpc/memset.s: New file. + * sysdeps/powerpc/mul_1.s: New file. + * sysdeps/powerpc/rshift.s: New file. + * sysdeps/powerpc/strchr.s: New file. + * sysdeps/powerpc/strcmp.s: New file. + * sysdeps/powerpc/sub_n.s: New file. + * sysdeps/powerpc/submul_1.s: New file. + +1997-08-28 18:42 Thorsten Kukuk + + * nis/nis_server.c: Rewritten to fix a lot of bugs. + +1997-08-28 Andreas Schwab + + * md5-crypt/Makefile (LDFLAGS-md5crypt.so, libmd5crypt-map): New + variables. + +1997-08-29 02:36 Ulrich Drepper + + * Makefile (version-info.h): Use ISO form for the date. + + * catgets/catgetsinfo.h: Include . + (struct catalog_obj): Add lock field. + (__open_catalog): Remove second parameter from prototype. + * catgets/catgets.c (catopen): Initialize lock field. + (catgets): Don't pass second parameter to __open_catalog. + * catgets/gencat.c: Initialize lock field and don't pass second + parameter to __open_catalog. + * catgets/open_catalog.c (__open_catalog): Decide about use of + path by examining path in struct, not based on extra argument. + Acquire a the lock before trying to load the catalog and release + it before returning. + + * csu/Makefile (abi-tag.h): Make sure target directory exists. + + * io/Makefile (headers): Add bits/poll.h. + * io/sys/poll.h: Remove definitions of POLL* constants. + Include . + * sysdeps/generic/bits/poll.h: New file. + * sysdeps/unix/sysv/linux/bits/poll.h: New file. + * sysdeps/unix/sysv/linux/m68k/bits/poll.h: New file. + * sysdeps/unix/sysv/linux/mips/bits/poll.h: New file. + * sysdeps/unix/sysv/linux/sparc/bits/poll.h: New file. + + * libio/fileops.c (_IO_file_read, _IO_file_write): Remove dead code. + + * malloc/obstack.c: Add casts to keep very verbose compilers on + 64bit machine quiet. + + * nss/Makefile (libnss_db.so): Find libdb.so in db2 directory. + +1997-08-28 17:30 Ulrich Drepper + + * catgets/catgets.c (catopen): Correctly determine length of string + in NLSPATH environment variable. Patch by HJ Lu . + +1997-08-27 23:19 Richard Henderson + + * sysdeps/generic/dl-sysdep.c (DL_FIND_ARG_COMPONENTS): Provide + default macro to track down arguments from stack start. + (_dl_sysdep_start): Use it. + * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Truncate to simply + providing a special DL_FIND_ARG_COMPONENTS and including the next + file up the line. + + * sysdeps/powerpc/e_sqrt.c: Move contents to w_sqrt.c and provide stub. + * sysdeps/powerpc/e_sqrtf.c: Likewise. + * sysdeps/powerpc/s_copysignf.S: Provide empty file; symbol is with + the double precision version. + * sysdeps/powerpc/s_fabsf.S: Likewise. + * sysdeps/powerpc/s_isnanf.S: Likewise. + +1997-08-10 19:17 Philip Blundell + + * nss/nss_db/db-XXX.c: Include not . Somebody + should update this to use the new db API. + * nss/nss_db/db-netgrp.c: Likewise. + * nss/nss_db/db-alias.c: Likewise. + * db2/Makefile: Makefile for db-2.x in glibc. + +1997-08-27 21:20 Ulrich Drepper + + * csu/Makefile (before-compile): New goal. Make sure abi-tag.h + is generated. + [$(elf)=yes] (asm-CPPFLAGS): Make sure abi-tag.h file can be found. + + * Makeconfig [$(build-omitfp)=yes] (CFLAGS-.o): Add + -D__USE_STRING_INLINES. + * string/string.f: Move strnlen optimization after inclusion of + . Include only if __USE_STRING_INLINES + is defined. + * sysdeps/generic/memcpy.c: Undef memcpy to allow macro of this name + in . + * sysdeps/generic/memset.c: Likewise. + * sysdeps/i386/string.h: i386 optimized string functions. + * sysdeps/i386/i486string.h: i486+ optimized string functions. + + * Makefile (subdirs): Change db to db2. + * shlib-versions: Bump libdb verion number to 3. + * include/db.h: Include from db2 directory. + * include/db_185.h: New file. + * sysdeps/i386/Makefile [$(subdirs)=db2] (CPPFLAGS): Add macros + to provide spinlock information for db2. + * sysdeps/m68k/m68020/Makefile: New file. Likewise. + * sysdeps/sparc/Makefile: New file. Likewise. + * sysdeps/unix/sysv/linux/Makefile [$(subdirs)=db2] (CPPFLAGS): + Add -DHAVE_LLSEEK. + * db2/config.h: Hand-edited config file for db2 in glibc. + * db2/compat.h: New file from db-2.3.4. + * db2/db.h: Likewise. + * db2/db_185.h: Likewise. + * db2/db_int.h: Likewise. + * db2/makedb.c: Likewise. + * db2/btree/bt_close.c: Likewise. + * db2/btree/bt_compare.c: Likewise. + * db2/btree/bt_conv.c: Likewise. + * db2/btree/bt_cursor.c: Likewise. + * db2/btree/bt_delete.c: Likewise. + * db2/btree/bt_open.c: Likewise. + * db2/btree/bt_page.c: Likewise. + * db2/btree/bt_put.c: Likewise. + * db2/btree/bt_rec.c: Likewise. + * db2/btree/bt_recno.c: Likewise. + * db2/btree/btree_auto.c: Likewise. + * db2/btree/bt_rsearch.c: Likewise. + * db2/btree/bt_search.c: Likewise. + * db2/btree/bt_split.c: Likewise. + * db2/btree/bt_stat.c: Likewise. + * db2/btree/btree.src: Likewise. + * db2/common/db_appinit.c: Likewise. + * db2/common/db_err.c: Likewise. + * db2/common/db_byteorder.c: Likewise. + * db2/common/db_apprec.c: Likewise. + * db2/common/db_salloc.c: Likewise. + * db2/common/db_log2.c: Likewise. + * db2/common/db_region.c: Likewise. + * db2/common/db_shash.c: Likewise. + * db2/db/db.c: Likewise. + * db2/db/db.src: Likewise. + * db2/db/db_conv.c: Likewise. + * db2/db/db_dispatch.c: Likewise. + * db2/db/db_dup.c: Likewise. + * db2/db/db_overflow.c: Likewise. + * db2/db/db_pr.c: Likewise. + * db2/db/db_rec.c: Likewise. + * db2/db/db_ret.c: Likewise. + * db2/db/db_thread.c: Likewise. + * db2/db/db_auto.c: Likewise. + * db2/db185/db185.c: Likewise. + * db2/db185/db185_int.h: Likewise. + * db2/dbm/dbm.c: Likewise. + * db2/hash/hash.c: Likewise. + * db2/hash/hash.src: Likewise. + * db2/hash/hash_page.c: Likewise. + * db2/hash/hash_conv.c: Likewise. + * db2/hash/hash_debug.c: Likewise. + * db2/hash/hash_stat.c: Likewise. + * db2/hash/hash_rec.c: Likewise. + * db2/hash/hash_dup.c: Likewise. + * db2/hash/hash_func.c: Likewise. + * db2/hash/hash_auto.c: Likewise. + * db2/include/mp.h: Likewise. + * db2/include/btree.h: Likewise. + * db2/include/db.h.src: Likewise. + * db2/include/db_int.h.src: Likewise. + * db2/include/db_shash.h: Likewise. + * db2/include/db_swap.h: Likewise. + * db2/include/db_185.h.src: Likewise. + * db2/include/txn.h: Likewise. + * db2/include/db_am.h: Likewise. + * db2/include/shqueue.h: Likewise. + * db2/include/hash.h: Likewise. + * db2/include/db_dispatch.h: Likewise. + * db2/include/lock.h: Likewise. + * db2/include/db_page.h: Likewise. + * db2/include/log.h: Likewise. + * db2/include/db_auto.h: Likewise. + * db2/include/btree_auto.h: Likewise. + * db2/include/hash_auto.h: Likewise. + * db2/include/log_auto.h: Likewise. + * db2/include/txn_auto.h: Likewise. + * db2/include/db_ext.h: Likewise. + * db2/include/btree_ext.h: Likewise. + * db2/include/clib_ext.h: Likewise. + * db2/include/common_ext.h: Likewise. + * db2/include/hash_ext.h: Likewise. + * db2/include/lock_ext.h: Likewise. + * db2/include/log_ext.h: Likewise. + * db2/include/mp_ext.h: Likewise. + * db2/include/mutex_ext.h: Likewise. + * db2/include/os_ext.h: Likewise. + * db2/include/txn_ext.h: Likewise. + * db2/include/cxx_int.h: Likewise. + * db2/include/db_cxx.h: Likewise. + * db2/include/queue.h: Likewise. + * db2/lock/lock.c: Likewise. + * db2/lock/lock_conflict.c: Likewise. + * db2/lock/lock_util.c: Likewise. + * db2/lock/lock_deadlock.c: Likewise. + * db2/log/log.c: Likewise. + * db2/log/log_get.c: Likewise. + * db2/log/log.src: Likewise. + * db2/log/log_compare.c: Likewise. + * db2/log/log_put.c: Likewise. + * db2/log/log_rec.c: Likewise. + * db2/log/log_archive.c: Likewise. + * db2/log/log_register.c: Likewise. + * db2/log/log_auto.c: Likewise. + * db2/log/log_findckp.c: Likewise. + * db2/mp/mp_bh.c: Likewise. + * db2/mp/mp_fget.c: Likewise. + * db2/mp/mp_fopen.c: Likewise. + * db2/mp/mp_fput.c: Likewise. + * db2/mp/mp_fset.c: Likewise. + * db2/mp/mp_open.c: Likewise. + * db2/mp/mp_region.c: Likewise. + * db2/mp/mp_pr.c: Likewise. + * db2/mp/mp_sync.c: Likewise. + * db2/mutex/68020.gcc: Likewise. + * db2/mutex/mutex.c: Likewise. + * db2/mutex/README: Likewise. + * db2/mutex/x86.gcc: Likewise. + * db2/mutex/sparc.gcc: Likewise. + * db2/mutex/uts4.cc.s: Likewise. + * db2/mutex/alpha.dec: Likewise. + * db2/mutex/alpha.gcc: Likewise. + * db2/mutex/parisc.gcc: Likewise. + * db2/mutex/parisc.hp: Likewise. + * db2/os/db_os_abs.c: Likewise. + * db2/os/db_os_dir.c: Likewise. + * db2/os/db_os_fid.c: Likewise. + * db2/os/db_os_lseek.c: Likewise. + * db2/os/db_os_mmap.c: Likewise. + * db2/os/db_os_open.c: Likewise. + * db2/os/db_os_rw.c: Likewise. + * db2/os/db_os_sleep.c: Likewise. + * db2/os/db_os_stat.c: Likewise. + * db2/os/db_os_unlink.c: Likewise. + * db2/txn/txn.c: Likewise. + * db2/txn/txn.src: Likewise. + * db2/txn/txn_rec.c: Likewise. + * db2/txn/txn_auto.c: Likewise. + * db2/clib/getlong.c: Likewise. * db2/progs/db_archive/db_archive.c: Likewise. * db2/progs/db_checkpoint/db_checkpoint.c: Likewise. * db2/progs/db_deadlock/db_deadlock.c: Likewise. @@ -2959,8205 +3455,3859 @@ * db2/progs/db_printlog/db_printlog.c: Likewise. * db2/progs/db_recover/db_recover.c: Likewise. * db2/progs/db_stat/db_stat.c: Likewise. - * db2/txn/txn.c: Likewise. - * db2/txn/txn.src: Likewise. - * db2/txn/txn_auto.c: Likewise. - * db2/txn/txn_rec.c: Likewise. - * elf/rtld.c: Move definition of __libc_stack_end to ... - * sysdeps/generic/dl-sysdep.h: ...here. + * libio/stdio.h [__cplusplus] (__STDIO_INLINE): Define as inline. - * sysdeps/unix/sysv/linux/fstatvfs.c: Handle nodiratime option. - * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_NODIRATIME. - * sysdeps/unix/sysv/linux/sys/mount.h: Define MS_NODIRATIME. + * po/de.po, po/sv.po: Update from 2.0.5 translations. - * sysdeps/generic/libc-start.c: Always set __libc_stack_end. - * sysdeps/i386/backtrace.c: Test whether frame pointer is legal - before following it. + * sysdeps/unix/sysv/linux/netinet/tcp.h: Pretty print. -1998-06-08 21:44 Ulrich Drepper + * sunrpc/rpc/xdr.h (XDR): Don't define argument of x_destroy callback + as const. + * sunrpc/xdr_mem.c (xdrmem_destroy): Don't define argument as const. + * sunrpx/xdr_rec.c (xdrrec_destroy): Likewise. + * sunrpx/xdr_stdio.c (xdrstdio_destroy): Likewise. - * sysdeps/unix/sysv/linux/fstatvfs.c: Handle constant option string - from mntent correctly. +1997-08-27 18:47 Ulrich Drepper -1998-06-06 Andreas Jaeger + * sysdeps/unix/sysv/linux/if_index.c: Include . + Reported by Benjamin Kosnik . - * sunrpc/Makefile (generated): Correct typo. +1997-08-27 02:27 Roland McGrath -1998-06-04 Philip Blundell + * abi-tags: New file. + * csu/Makefile (distribute): Remove abi-tag.h. + ($(objpfx)abi-tag.h): New target. + * Makefile (distribute): Add abi-tags. + * sysdeps/unix/sysv/linux/abi-tag.h: File removed. + * sysdeps/mach/hurd/abi-tag.h: File removed. + * sysdeps/stub/abi-tag.h: File removed. - * elf/elf.h (EM_ARM, et al.): New definitions. - * sysdeps/arm/dl-machine.h: Update for new draft ARM ELF ABI. +1997-08-25 Andreas Schwab -1998-06-08 21:33 Ulrich Drepper + * sysdeps/unix/make-syscalls.sh: Change output so that it + generates compilation rules only for the currently selected object + suffixes. - * localedata/SUPPORTED: Add sk_SK. - * localedata/locales/sk_SK: New file. +1997-08-25 Andreas Schwab -1998-06-08 18:57 Ulrich Drepper + * sysdeps/m68k/dl-machine.h (RTLD_START): Switch back to previous + section to avoid confusing the compiler. + * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise. + * sysdeps/i386/dl-machine.h (RTLD_START): Likewise. + * sysdeps/mips/dl-machine.h (RTLD_START): Likewise. + * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise. + * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise. - * Makeconfig (subdirs): Add debug. - * configure.in: Use sysdeps/generic/elf subdir if ELF platform. - * libc.map: Add __backtrace, __backtrace_symbols, backtrace and - backtrace_symbols. - * sysdeps/generic/backtrace.c: New file. - * sysdeps/generic/backtracesyms.c: New file. - * sysdeps/generic/elf/backtracesyms.c: New file. - * sysdeps/i386/backtrace.c: New file. - * debug/Makefile: New file. - * debug/backtrace-tst.c: New file. - * debug/execinfo.h: New file. + * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use a GOT + relocation instead of a constant to avoid text relocation. + (ELF_MACHINE_BEFORE_RTLD_RELOC): Removed. + (RTLD_START): Declare global labels as functions and add size + directive. -1998-06-08 13:34 Ulrich Drepper +1997-08-25 17:01 Ulrich Drepper - * elf/sprof.c: Implement call graph profiling. + * sysdeps/i386/bits/select.h: Correct assembler versions to work even + for descriptors >= 32. - * sysdeps/generic/getenv.c: Optimize to use strncmp less often. + * stdlib/alloca.h: Don't define alloca to __alloca since if gcc + is used __alloca is not defined to __builtin_alloca and so might + not be available. + Reported by Uwe Ohse . -1998-06-07 Andreas Jaeger + * sysdeps/unix/sysv/linux/sys/sysmacros.h: Define macros in a special + way if gcc is not used and so dev_t is an array. + Reported by Uwe Ohse . - * pwd/fgetpwent_r.c (__fgetpwent_r): Correct buffer overflow fix. - * grp/fgetgrent_r.c (__fgetgrent_r): Likewise. - * shadow/fgetspent_r.c (__fgetspent_r): Likewise. - Noticed by Jake Garver . +1997-08-23 Andreas Schwab -1998-06-07 Andreas Schwab + * manual/libc.texinfo: Reorder chapters to match logical order. - * libio/genops.c (__underflow): Read character from read pointer - as unsigned. - (__uflow): Likewise. +1997-08-25 12:22 Ulrich Drepper -1998-06-07 13:32 Ulrich Drepper + * sunrpc/rpc/xdr.h: Change name of parameters in prototypes of + xdr_reference, xdrmem_create, and xdrstdio_create because of clash + with g++ internal symbols. + Patch by Sudish Joseph . - * libc.map: Add _dl_profile. - * elf/dl-reloc.c (_dl_relocate_object): Take extra argument, pass - this to ELF_DYNAMIC_RELOCATE. - Always allocate array for relocation result if LD_PROFILE is defined. - * elf/ldsodefs.h: Adjust prototypes. - * elf/dl-open.c (_dl_open): Call relocation function with extra - argument. - * elf/rtld.c: Likewise. - * elf/dl-profile.c (_dl_mcount): Don't mark as internal function. - Correct loop condition. - * elf/dynamic-link.h: Don't examine _dl_profile variable, pass - consider_profile to runtime setup function. - * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Use - _dl_runtime_profile for all shared objects if LD_PROFILE is defined. +1997-08-24 Miles Bader - * elf/dl-support.c: Define __libc_stack_end. - * elf/rtld.c: Likewise. - * sysdeps/generic/libc-start.c: Store last stack address in - __libc_stack_end. - * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address. - * sysdeps/i386/elf/start.s: Call __libc_start_main with extra argument. + * string/argz.h: Add missing __END_DECLS. - * elf/elf.h: Include , not . - Include , not . +1997-08-24 12:24 Ulrich Drepper - * elf/sprof.c: Implement flat profiling. + * configure.in (INSTALL): Quote `$'. - * libio/fgetc.c: Call _IO_cleanup_region_end with 0 and call - _IO_funlockfile explicitly. + * libc.map: Add __xpg_basename. + + * csu/Makefile (initfini.s): Disable optimization. + + * elf/dl-deps.c: Implement handling of DT_FILTER. + + * elf/dl-load.c (_dl_init_paths): Add error check. + + * intl/finddomain.c (_nl_find_domain): Correct comment. + * intl/localealias.c: Include not . + + * libio/stdio.h: Make {,v}snprintf available if __USE_BSD. + Change extern inline functions to work correctly in C++. + + * locale/iso-4217.def: Update for more recent ISO 4217 version. + + * locale/loadlocale.c (_nl_load_locale): Add cast. + + * manual/message.texi: Finish gettext section. + + * posix/getopt_init.c: Don't use relative #include path. + (__getopt_clean_environment): Change function to take pointer to + environment as argument. Optimize generation of test string a bit. + * sysdeps/unix/sysv/linux/init-first.c: Call __getopt_clean_environment + with additional argument. + + * poisx/glob.c: Add prototype for next_brace_sub. + + * sysdeps/generic/dl-sysdep.c: Recognize AT_BASE value on auxiliary + vector. + + * sysdeps/i386/dl-machine.h (elf_machine_load_address): Rewrite + to not generate relocation entry. Suggested by Richard Henderson. + (ELF_MACHINE_BEFORE_RTLD_RELOC): Removed. + (elf_machine_runtime_setup): Add .aligns. + + * sysdeps/i386/fpu/fraiseexcpt.c: Add volatile to asms. + + * sysdeps/i386/fpu/bits/mathinline.h: Partially undo change of + 1997-08-14 03:14. gcc 2.7.2* is really broken in some aspects. + + * sysdeps/standalone/i386/i386.h: Clean up asm statements a bit. + * sysdeps/standalone/i960/i960ca.h: Likewise. + +1997-08-22 19:04 Richard Henderson + + * elf/rtld.c (_dl_start): Init _dl_rtld_map.l_opencount due to + undocumented test addition in _dl_map_object. + + Support ET_EXEC versions of ld.so, for debugging at least: + + * elf/dl-load.c (_dl_map_object): Add_name_to_object could get + called despite the DT_SONAME != NULL test, segfaulting. Simplify + the code here as well. + * elf/dl-lookup.c (do_lookup): Skip objects with no symtab. + (_dl_setup_hash): Likewise for hash tables. + * elf/dl-version.c (_dl_check_map_versions): Likewise for strtabs. + * elf/rtld.c (_dl_start): Likewise for rpath. + (_dl_rtld_libname2): New variable. + (dl_main): Use it to add an soname for ourselves when we don't have + one of our own. Base it on the target's .interp. + (dl_main): Again, skip printing of objects that don't have strtabs. + + Sparc 32 merge: + + * elf/dl-runtime.c (ELF_FIXUP_RETURN_VALUE): Provide default value. + (fixup): Simplify code. Use ELF_FIXUP_RETURN_VALUE. + (profile_fixup): Likewise, though this still needs fixing for + Sparc32 and PPC. + * sysdeps/powerpc/dl-machine.h: Transmute ELF_FIXUP_RETURNS_ADDRESS + to ELF_FIXUP_RETURN_VALUE. + + * sysdeps/sparc/sparc32/dl-machine.h: Implement lazy relocation. + Fix up _dl_start_user to handle _dl_skip_args properly. + Use _dl_hwcap to determine if "flush" is available/needed. + + * sysdeps/sparc/configure.in: Remove. It doesn't actually do + anything anymore, and what it did do is done somewhere else. + * sysdeps/sparc/configure: Likewise. + + * sysdeps/sparc/fpu/bits/mathdef.h (FP_ILOGB0, FP_ILOGBNAN): New. + + * sysdeps/sparc/fpu/fraiseexcpt.c: Rearrange for smaller code. + + * sysdeps/sparc/sparc32/Makefile: Fix sparc->sparc/sparc32 bits + in divrem expansions. + + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (END, LOC): New + definitions for assembly syntax differences. + + * sysdeps/sparc/sparc32/__longjmp.S: %g6,%g7 are reserved to the + "system". Use %g2,%g3 instead. Use new local label macro. + * sysdeps/sparc/sparc32/add_n.S: Use and ENTRY, END, + and LOC for proper assembly headers/footers. + * sysdeps/sparc/sparc32/addmul_1.S: Likewise. + * sysdeps/sparc/sparc32/alloca.S: Likewise. + * sysdeps/sparc/sparc32/dotmul.S: Likewise. + * sysdeps/sparc/sparc32/lshift.S: Likewise. + * sysdeps/sparc/sparc32/mul_1.S: Likewise. + * sysdeps/sparc/sparc32/rshift.S: Likewise. + * sysdeps/sparc/sparc32/sparcv8/addmul_1.S: Likewise. + * sysdeps/sparc/sparc32/sparcv8/mul_1.S: Likewise. + * sysdeps/sparc/sparc32/sparcv8/submul_1.S: Likewise. + * sysdeps/sparc/sparc32/sparcv8/udiv_qrnnd.S: Likewise. + * sysdeps/sparc/sparc32/sub_n.S: Likewise. + * sysdeps/sparc/sparc32/submul_1.S: Likewise. + * sysdeps/sparc/sparc32/udiv_qrnnd.S: Likewise. + * sysdeps/sparc/sparc32/umul.S: Likewise. + * sysdeps/sparc/sparc32/divrem.m4: Likewise. + * sysdeps/sparc/sparc32/rem.S: Regenerate. + * sysdeps/sparc/sparc32/sdiv.S: Regenerate. + * sysdeps/sparc/sparc32/udiv.S: Regenerate. + * sysdeps/sparc/sparc32/urem.S: Regenerate. + + * sysdeps/sparc/sparc32/sparcv8/dotmul.S: New file. + * sysdeps/sparc/sparc32/sparcv8/rem.S: New file. + * sysdeps/sparc/sparc32/sparcv8/sdiv.S: New file. + * sysdeps/sparc/sparc32/sparcv8/udiv.S: New file. + * sysdeps/sparc/sparc32/sparcv8/umul.S: New file. + * sysdeps/sparc/sparc32/sparcv8/urem.S: New file. + + * sysdeps/sparc/sparc32/bsd-_setjmp.S: Dike out. + * sysdeps/sparc/sparc32/bsd-setjmp.S: Likewise. + * sysdeps/sparc/sparc32/setjmp.S: Add _setjmp and setjmp entry points. + + * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S: + Clean up PIC code. + + * sysdeps/sparc/sparc32/elf/start.S: New file, slightly modified + from the sparc64 version. + * sysdeps/sparc/sparc32/elf/start.c: Removed. + + * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Rewrite in + assembly based on the sparc64 version. + + * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Duh. Use proper syntax + for manipulating %fsr. + * sysdeps/sparc/sparc32/fpu/fpu_control.h: Make IEEE conformance + be the default. + + * elf/elf.h (HWCAP_SPARC_*): New definitions. + * elf/rtld.c (_dl_hwcap): New variable. + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Record AT_HWCAP. + + * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: New file. + Attempt to get hold of the page size based on what we might have + been told at startup time in _dl_pagesize. This will be obsolete + when I finish the kernel hooks for a proper sysconf(), stay tuned. + + Sparc 64 merge: + + * sysdeps/sparc/sparc64/dl-machine.h (ELF_FIXUP_RETURN_VALUE): New. + Figure out the right thing to return based on the .plt format. + + * sysdeps/sparc/sparc64/fpu/fpu_control.h: Update comment. + + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__dev_t): + Should have been 64-bits wide. + + * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: sll->sllx, + optimize for branch delay slot usage. + +1997-08-22 Andreas Schwab + + * csu/Makefile ($(objpfx)crt%.o): Fix a missing *.so -> *.os + change. + +1997-08-20 Andreas Jaeger + + * math/libm-test.c (identities): Change epsilon. + + * sysdeps/i386/fpu/bits/mathinline.h: Correct arguments to fabs, + fabsf, fabsl, __fabsl. + +1997-08-20 05:30 Ulrich Drepper + + * catgets/catgets.c (catclose): Use __munmap instead of munmap. + * catgets/gencat.c (read_input_file): Fix typo. + + * dirent/dirent.h: Make seekdir and telldir available for __USE_XOPEN. + + * elf/dl-load.c: Fix case of missing DT_RPATH in object which gets + executed (e.g., when it is a static binary). + + * intl/bindtextdomain.c: Use strdup in glibc. Correct comment. + * intl/dcgettext.c: Likewise. + * intl/dgettext.c: Likewise. + * intl/explodename.c: Likewise. + * intl/finddomain.c: Likewise. + * intl/gettext.c: Likewise. + * intl/gettext.h: Likewise. + * intl/hash-string.h: Likewise. + * intl/l10nflist.c: Likewise. + * intl/libintl.h: Likewise. + * intl/loadinfo.h: Likewise. + * intl/loadmsgcat.c: Likewise. + * intl/localealias.c: Likewise. + * intl/textdomain.c: Likewise. + + Unify libio sources with code in libg++. + * libio/fcloseall.c: Update and reformat copyright. Protect use + of weak_alias. Use _IO_* thread macros instead of __libc_*. + * libio/feof.c: Likewise. + * libio/feof_u.c: Likewise. + * libio/ferror.c: Likewise. + * libio/ferror_u.c: Likewise. + * libio/fgetc.c: Likewise. + * libio/filedoalloc.c: Likewise. + * libio/fileno.c: Likewise. * libio/fileops.c: Likewise. * libio/fputc.c: Likewise. + * libio/fputc_u.c: Likewise. * libio/freopen.c: Likewise. - * libio/freopen64.c: Likewise. * libio/fseek.c: Likewise. - * libio/fseeko.c: Likewise. - * libio/fseeko64.c: Likewise. - * libio/ftello.c: Likewise. - * libio/ftello64.c: Likewise. + * libio/genops.c: Likewise. * libio/getc.c: Likewise. + * libio/getc_u.c: Likewise. * libio/getchar.c: Likewise. + * libio/getchar_u.c: Likewise. * libio/iofclose.c: Likewise. + * libio/iofdopen.c: Likewise. * libio/iofflush.c: Likewise. + * libio/iofflush_u.c: Likewise. * libio/iofgetpos.c: Likewise. - * libio/iofgetpos64.c: Likewise. * libio/iofgets.c: Likewise. + * libio/iofopen.c: Likewise. + * libio/iofopncook.c: Likewise. + * libio/iofprintf.c: Likewise. * libio/iofputs.c: Likewise. * libio/iofread.c: Likewise. * libio/iofsetpos.c: Likewise. - * libio/iofsetpos64.c: Likewise. * libio/ioftell.c: Likewise. * libio/iofwrite.c: Likewise. * libio/iogetdelim.c: Likewise. + * libio/iogetline.c: Likewise. * libio/iogets.c: Likewise. + * libio/iopadn.c: Likewise. + * libio/iopopen.c: Likewise. * libio/ioputs.c: Likewise. * libio/ioseekoff.c: Likewise. * libio/ioseekpos.c: Likewise. * libio/iosetbuffer.c: Likewise. * libio/iosetvbuf.c: Likewise. + * libio/iosprintf.c: Likewise. * libio/ioungetc.c: Likewise. + * libio/iovdprintf.c: Likewise. * libio/iovsprintf.c: Likewise. * libio/iovsscanf.c: Likewise. - * libio/oldfileops.c: Likewise. - * libio/oldiofclose.c: Likewise. + * libio/libio.h: Likewise. + * libio/libioP.h: Likewise. + * libio/obprintf.c: Likewise. + * libio/pclose.c: Likewise. * libio/peekc.c: Likewise. * libio/putc.c: Likewise. * libio/putchar.c: Likewise. * libio/rewind.c: Likewise. + * libio/setbuf.c: Likewise. + * libio/setlinebuf.c: Likewise. + * libio/stdfiles.c: Likewise. + * libio/stdio.c: Likewise. + * libio/strfile.h: Likewise. + * libio/strops.c: Likewise. + * libio/vasprintf.c: Likewise. + * libio/vscanf.c: Likewise. + * libio/vsnprintf.c: Likewise. - * malloc/mtrace.c: Pretty print. + * manual/libc.texinfo: Add menu entries for chapter on message + translation. + * manual/locale.texi: Correct next entry in @node for new chapter. + * manual/search.texi: Likewise for previous link. + * manual/message.texi: New file. + * manual/startup.texi: Document LC_ALL, LC_MESSAGES, NLSPATH, + setenv, unsetenv, and clearenv. + * manual/string.texi: Fix typos. Patch by Jim Meyering. - * misc/mntent.h (struct mentent): Make string elements const char *. + * math/Makefile (test-longdouble-yes): Enable. We want long double + tests now. - * nis/nis_printf.c: Optimize I/O a little bit. + Crusade against strcat. + * nis/nss_nisplus/nisplus-publickey.c: Remove uses of strcat. + * stdlib/canonicalize.c: Likewise. - * signal/Makefile (distribute): Add sigset-cvt-mask.h. - * sysdeps/generic/sigset-cvt-mask.h: New file. - * sysdeps/unix/sysv/linux/sigset-cvt-mask.h: New file. - * sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h: New file. - * sysdeps/posix/sigvec.c: Rewrite the use definitions from - sigset-cvt-mask.h to do the dirty work. - Patches by Joe Keane. + * posix/glob.h: Define __const if necessary. Use __const in all + prototypes. - * sysdeps/posix/mkstemp.c: Save one precious byte of rodata. + * sysdeps/generic/stpcpy.c: Use K&R form to allow use in other + GNU packages. - * sysdeps/unix/sysv/linux/i386/sysdep.h: Rewrite PSEUDO etc to make - syscall_error label in case of PIC anonymous. - * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/i386/clone.S: Adapt for this change. - * sysdeps/unix/sysv/linux/i386/mmap.S: Adapt for this change. - * sysdeps/unix/sysv/linux/i386/s_pread64.S: Adapt for this change. - * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Adapt for this change. - * sysdeps/unix/sysv/linux/i386/socket.S: Adapt for this change. - * sysdeps/unix/sysv/linux/i386/syscall.S: Adapt for this change. + * posix/wordexp.c: Completely reworked buffer handling for much + better performance. Patch by Tim Waugh. -1998-06-05 Ulrich Drepper + * socket/sys/sochet.h (getpeername): Fix type of LEN parameter, + it must be socklen_t. - * sunrpc/xdr_rec.c (xdrrec_create): Add cast for *_ops array since - we cannot declare the struct element as const. - * sunrpc/xdr_mem.c (xdrmem_create): Likewise. - * sunrpc/xdr_stdio.c (xdrstdio_create): Likewise. + * sysdeps/libm-i387/e_remainder.S: Pretty print. + * sysdeps/libm-i387/e_remainderf.S: Likewise. + * sysdeps/libm-i387/e_remainderl.S: Pop extra value from FPU stack. + * sysdeps/libm-i387/s_cexp.S: Little optimization. + * sysdeps/libm-i387/s_cexpl.S: Likewise. + * sysdeps/libm-ieee754/s_csinhl.c: Include . -1998-06-04 Andreas Schwab +1997-08-18 15:21 Ulrich Drepper - * manual/Makefile: Include ../Makeconfig earlier. - (MAKEINFO, TEXI2DVI): Use defaults if ../Makeconfig does not - exist. - (dir-add.texinfo): Remove useless $(SHELL). + * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Fix memory leak + in cleanup code. -1998-06-04 Andreas Schwab +1997-08-17 Paul Eggert - * Makefile (others): Build programs from install-bin. - * configure.in: Modify config.make only if is was just created and - move that command to second argument of AC_OUTPUT. Add command to - set config_vars in config.status. + * tzset.c (__tzset_internal): Fix memory leak when the user + specifies a TZ value that uses a default rule file. + Do not assume US DST rules when the user specifies + that there is no DST. -1998-06-04 Andreas Schwab +1997-08-10 19:17 Philip Blundell - * malloc/Makefile (address-width): Fix conditional. + * inet/getnameinfo.c: Tidy up. + * sysdeps/posix/getaddrinfo.c: Likewise. -1998-06-03 Andreas Jaeger + * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Return 0 if + using stub code. + (if_indextoname): Use SIOGIFNAME ioctl if the kernel supports it. + (if_nameindex): Use alloca() rather than malloc(); use + SIOCGIFCOUNT ioctl if the kernel supports it. - * libc.map: Add fattach, fdetach, getmsg, getpmsg, makecontext, - putmsg, putpmsg, scalbln, scalblnf, scalblnl, strtoimax, - strtoumax, swapcontext, waitid, wcsnlen, wcstoimax, wcstoumax with - version GLIBC_2.1. +1997-08-16 Andreas Schwab -1998-06-04 Andreas Jaeger + * sysdeps/unix/sysv/linux/sys/mount.h: Remove the IS_* macros, + they operate on internal kernel structures and have no place in a + user header. - * manual/lang.texi (Range of Type): Change @end table->@end vtable. - (Floating Point Parameters): Likewise. +1997-08-16 Andreas Schwab -1998-06-01 Gordon Matzigkeit + * Makerules (lib%.so): Depend on $(+preinit) and $(+postinit). + (build-shlib): Filter them out of $^. - * hurd/Makefile (routines): Add cthreads. +1997-08-15 Andreas Schwab -1998-05-31 Mark Kettenis + * elf/dl-error.c (_dl_signal_error): Fix error message. - * login/login.c (login): Let pututline take care of finding the - positin to insert the UTMP entry. This corrects a bug where ssh - was not reusing UTMP entries marked as DEAD_PROCESS. - Reported by Herbert Xu . +1997-08-16 04:06 Ulrich Drepper -1998-05-31 Mark Kettenis + * assert/assert.h [__USE_GNU]: Undefine assert_perror. + Reported by Theodore C. Belding . - * login/Makefile (tests): New variable, add tst-utmp and - tst-utmpx. - * login/tst-utmp.c: New file. - * login/tst-utmpx.c: New file. +1997-08-13 Andreas Schwab -1998-06-01 Gordon Matzigkeit - - * sysdeps/mach/hurd/errlist.c (sys_nerr, _sys_nerr): Make weak - aliases for _hurd_nerr, for programs that don't use sys_errlist, - but need sys_err. - -1998-05-31 Mark Kettenis - - * sysdeps/generic/updwtmpx.c: Rename function to updwtmpx. - * libc.map: Add updwtmpx and utmpxname to GLIBC_2.1. - -1998-05-31 Mark Kettenis - - * sysdeps/mach/hurd/read.c: Rename function to __libc_read and - make __read a weak alias. Use ANSI-style function definition. - * sysdeps/mach/hurd/write.c: Likewise. - -1998-05-31 Mark Kettenis - - * sysdeps/mach/hurd/err_hurd.sub: Use _hurd_errlist instead of - _sys_errlist. - -1998-05-30 Mark Kettenis - - * sysdeps/mach/hurd/Makefile ($(objpfx)librtld.os): - Renamed from librtld.so. - -1998-06-02 Andreas Jaeger - - * libc.map: Remove _IO_getline_info which was erroneously - introduced in section GLIBC_2.0. - Noticed by Horst von Brand . - -1998-06-01 Gordon Matzigkeit - - * sysdeps/generic/socket.c (__socket): Renamed from socket, and - created a weak alias. - * sysdeps/mach/hurd/socket.c (__socket): Likewise. - -1998-05-31 Gordon Matzigkeit - - * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Rename from old - ftruncate function, and create a weak alias to ftruncate. - -1998-06-01 Gordon Matzigkeit - - * grp/fgetgrent_r.c: Use &errno instead of __errno_location (). - * inet/getnetgrent_r.c: Likewise. - * nss/getXXbyYY_r.c: Likewise. - * nss/getXXent_r.c: Likewise. - * pwd/fgetpwent_r.c: Likewise. - * shadow/sgetspent_r.c: Likewise. - * shadow/fgetspent_r.c: Likewise. - * sunrpc/publickey.c: Likewise. - -1998-06-01 Gordon Matzigkeit - - * hurd/libhurduser.map: New file. - * mach/libmachuser.map: Likewise. - - * libc.map: Add Hurd-specific functions to version 2.1. - Add __flshfp and __fillbf. - -1998-05-30 Andreas Schwab - - * manual/signal.texi (Basic Signal Handling): Fix typo. - * manual/errno.texi (Error Codes): Likewise. - -1998-06-02 Ulrich Drepper - - * sysdeps/unix/sysv/linux/netipx/ipx.h: Include - instead of . - Patch by NIIBE Yutaka - - * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_FIND_ARG_COMPONENTS): - Finally make it working. - Patch by Mark Hatle . - -1998-03-22 Paul Eggert - - * posix/regex.c: Include before , to work around - a Solaris 2.6 bug. - -1998-05-30 Philip Blundell - - * stdlib/gmp-impl.h: Support strange mixed-endian double format - used by ARM systems. - * sysdeps/arm/fpu/bits/fenv.h (FE_EXCEPTION_SHIFT): Rename to - FE_EXCEPT_SHIFT. - * sysdeps/arm/bits/fenv.h: Deleted. - * sysdeps/arm/fpu/ieee754.h: New file. - * sysdeps/arm/gmp-mparam.h: New file. - * stdlib/longlong.h (umul_ppmm): Temporarily disable broken ARM - implementation. - -1998-06-01 Ulrich Drepper - - * sunrpc/rpc/xdr.h (struct XDR): Don't mark xdr_ops element as const. - - * sysdeps/i386/fpu/bits/mathinline.h: Use ((__unused__)) instead - of ((unused)). Reported by Bruno Haible. - -1998-05-31 Philip Blundell - - * sysdeps/unix/sysv/linux/arm/sysdep.S: Use C_SYMBOL_NAME when - referring to errno and _errno. - - * sysdeps/arm/fpu/feholdexcpt.c: New file. - - * sysdeps/i386/fpu_control.h: Fix typo. - - * sysdeps/arm/bits/setjmp.h (__jmp_buf): Remove floating-point support. - (_JMPBUF_UNWINDS): Added. - * sysdeps/arm/fpu/bits/setjmp.h: New file. - -1998-05-25 Gordon Matzigkeit - - * sysdeps/mach/hurd/Makefile: Use the `before-compile' target in - order to build header files, not `generated'. - - * Rules (before-compile): New target which depends on all - $(before-compile) files. - -1998-06-01 Thorsten Kukuk - - * nis/nis_call.c: Make directory search faster. - - * nis/nis_callback.c: Insert public key of user in callback data. - - * nis/nis_clone_obj.c: Make size from type u_long, not u_int. - - * nis/nis_creategroup.c: Check for NULL pointer, fill in more fields. - - * nis/nis_findserv.c: Rename __pmap_getport to __pmap_getnisport. - - * nis/nis_intern.h: Remove duplicated prototype. - -1998-06-01 Thorsten Kukuk - - * sunrpc/auth_des.c: Move prototypes from here ... - * sunrpc/rpc/auth.h: ... to here. - - * sunrpc/clnt_tcp.c: Add more control flags. - * sunrpc/clnt_udp.c: Likewise. - - * sunrpc/netname.c (host2netname): Remove prefixing dot from - domainname. - - * sunrpc/rpc/clnt.h: Document, which control flags are not - implementable. - - * sunrpc/svcauth_des.c: Use key_decryptsession_pk to avoid deadlock. - -1998-05-29 Ulrich Drepper - - * locale/loadlocale.c (_nl_load_locale): Don't allow too small - files crash the program. - - * io/Makefile: Don't run ftwtest-sh if cross-compiling. - * string/Makefile: Don't run test on tst-svc.out if cross-compiling. - Reported by Deborah Wallach . - -1998-05-28 00:53 Zack Weinberg - - * glibcbug.in: Send to bugs@gnu or libc-alpha@cygnus depending - on whether this is a stable release or not (keeps snapshot bug - reports out of the database). - - * include/libc-symbols.h: Use __ASSEMBLER__ test macro not ASSEMBLER. - * sysdeps/arm/sysdep.h: Likewise. - * sysdeps/i386/sysdep.h: Likewise. - * sysdeps/m68k/sysdep.h: Likewise. - * sysdeps/mach/mips/sysdep.h: Likewise. - * sysdeps/mach/sys/reboot.h: Likewise. - * sysdeps/mach/sysdep.h: Likewise. - * sysdeps/unix/alpha/sysdep.h: Likewise. - * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise. - * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise. - * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise. - * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise. - * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise. - * sysdeps/unix/bsd/vax/sysdep.h: Likewise. - * sysdeps/unix/i386/sysdep.h: Likewise. - * sysdeps/unix/mips/sysdep.h: Likewise. - * sysdeps/unix/sparc/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise. - -1998-05-27 Mark Kettenis - - * mach/Machrules: Use $(move-if-change). - -1998-05-27 Mark Kettenis - - * Makeconfig [elf=yes] (+interp): New variable, set to interp.os. - * Makerules (lib%.so): Depend on $(+interp). - (libc.so): Add interp.os to list of dependencies. - (interp-obj): Remove variable. - * mach/Machrules (+interp): Define to empty since libhurduser and - libmachuser don't need to have the interpreter set. - -1998-05-28 Andreas Jaeger - - * resolv/res_send.c: Security fixes from bind 4.9.7-REL. - - * resolv/gethnamaddr.c: Likewise. - - * resolv/res_comp.c: Likewise. - -1998-05-28 Mark Kettenis - - * sysdeps/mach/hurd/wait4.c (__wait4): Use ANSI-style definition - so that transparent union works. - -1998-05-29 08:58 Ulrich Drepper - - * manual/texinfo.tex: Update to last available version. - - * timezone/africa: Update from tzdata1998e. - * timezone/antarctica: Likewise. - * timezone/asia: Likewise. - * timezone/australasia: Likewise. - * timezone/europe: Likewise. - * timezone/iso3166.tab: Likewise. - * timezone/northamerica: Likewise. - * timezone/tzselect.ksh: Likewise. - * timezone/zone.tab: Likewise. - -1998-05-27 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/chown.c: Fix comment. - Reported by Matt McLean . - -1998-05-25 Andreas Schwab - - * catgets/Makefile ($(objpfx)de.cat): Renamed from - do-gencat-test. Use automatic variables. - ($(objpfx)de.msg): Fix reference to po file. - -1998-05-26 Andreas Schwab - - * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use - $(move-if-change). - -1998-05-25 Andreas Schwab - - * intl/dcgettext.c: Fix typo. - -1998-05-25 Andreas Jaeger - - * configure.in: Allow more make versions e.g 3.76.90. - -1998-05-25 Ulrich Drepper - - * Makeconfig (rpath-link): Find libc.so.6 in $(common-objdir). - - * malloc/thread-m.h: Use __mutex_init function in mutex_init macro - for Hurd. Patch by Mark Kettenis. - -1998-04-18 Gordon Matzigkeit - - * mach/Machrules (+preinit, +postinit): Define these variables to - empty because libhurduser and libmachuser don't need startup - files. - -1998-04-22 Gordon Matzigkeit - - * sysdeps/mach/hurd/errlist.c (ERR_REMAP): Use err_get_code - instead of a raw bitmask. - -1998-05-23 Andreas Schwab - - * Makeconfig (rpath-dirs): New variable. - (rpath-link): Use it. - (nssobjdir, nisobjdir, rtobjdir, resolvobjdir): Removed. - (db-objpfx): Removed. - * crypt/Makefile: Augment rpath-dirs instead of rpath-link. - * md5-crypt/Makefile: Likewise. - * sysdeps/mach/hurd/Makefile: Likewise. - - * Makeconfig (move-if-change): New variable. - * iconvdata/Makefile (move-if-change): Removed. - * manual/Makefile (move-if-change): Set only if undefined, use - local script by default. - * sunrpc/Makefile (move-if-change): Removed. - * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use - $(move-if-change). - - * elf/Makefile: Remove all references to obsolete file - $(objpfx)rtldtbl.h. - ($(objpfx)trusted-dirs.h): Use stamp file. Cleanup command. - -1998-05-22 Andreas Schwab - - * elf/dl-close.c (_dl_close): Add debugging message. - -1998-05-25 Andreas Jaeger - - * csu/Makefile ($(objpfx)version-info.h): Correct sed expression - to get Linux version and not gcc version. - Reported by Alan Curry . - -1998-05-25 Andreas Jaeger - - * sysdeps/generic/_strerror.c (__strerror_r): Don't return NULL - pointers - return unknown error message instead. - Reported by Alan Curry . - -1998-05-24 Mark Kettenis - - * iconvdata/Makefile (modules, sed-generated-headers, - perl-generated-headers): ibm424.h is perl generated. Make - necessary modifications to compile without perl. - -1998-05-24 Mark Kettenis - - * hesiod/hesiod.c (read_config_file): Fix typo. - -1998-05-24 Ulrich Drepper - - * version.h: Bump VERSION. - - * csu/Makefile (distribute): Add munch-tmpl.c. - -1998-05-23 Thorsten Kukuk - - * nis/nis_defaults.c: Fix buffer problems and typos. - -1998-05-23 08:42 Ulrich Drepper - - * intl/dcgettext.c: Don't use any alloca hacks if C_ALLOCA is defined. - Patch by Fred Fish. - -1998-05-22 Ulrich Drepper - - * stdlib/random_r.c (__random_r): Rewrite last patch to fix buffer - overwriting bugs. - - * libio/strops.c (_IO_str_underflow): Read newly available - character from buffer as unsigned. - -1998-05-22 10:56 Ulrich Drepper - - * catgets/Makefile (distribute): Add xopen-msg.h. - (generated): Add de.msg and de.cat. - (tests): Add do-gencat-test. - (do-gencat-test): New goal. Run gencat on a generated msg file. - * catgets/xopen-msg.h: New file. - -1998-05-22 Ulrich Drepper - - * catgets/open_catalog.c (__open_catalog): Use byteswap.h - functions. Optimize filename creation a bit. - -1998-05-22 09:29 Ulrich Drepper - - * stdlib/random_r.c: Help gcc to optimize the code. - Patch by Joe Keane . - -1998-05-21 Ulrich Drepper - - * iconv/iconv_prog.c (print_known_names): Use strverscmp in all - tsearch calls. - -1998-05-21 Andreas Jaeger - - * timezone/test-tz.c: The test with TZ=UTC0 seems to work - enable - it. - -1998-05-21 15:27 Ulrich Drepper - - * wcsmbs/wcsnrtombs.c: Correct computation of result. - * wcsmbs/wcsrtombs.c: Likewise. - - * wcsmbs/Makefile (tests): Add wcsmbs-tst1.c. - * wcsmbs/wcsmbs-tst1.c: New file. - - * iconv/loop.c (COUNT_CONVERTED): Correct computation. - - * locale/C-ctype.c (_nl_C_LC_CTYPE): Define MB_CUR_MAX for C locale - as 1. - - * locale/setlocale.c: Don't make _nl_current_* and _nl_C_* references - weak. - -1998-05-21 Philip Blundell - - * sysdeps/arm/fpu_control.h: Replace stub file with real - implementation. - * sysdeps/arm/fpu/bits/fenv.h: New file. - * sysdeps/arm/fpu/fesetround.c: Likewise. - * sysdeps/arm/fpu/fclrexcpt.c: Likewise. - * sysdeps/arm/fpu/fsetexcptflag.c: Likewise. - * sysdeps/arm/fpu/ftestexcpt.c: Likewise. - * sysdeps/arm/fpu/fraiseexcpt.c: Likewise. - * sysdeps/arm/fpu/fegetenv.c: Likewise. - * sysdeps/arm/fpu/fesetenv.c: Likewise. - -1998-05-21 16:34 Richard Henderson - - * elf/dl-load.c (_dl_map_object_from_fd): Get file header with - read instead of mmap. - -1998-05-21 8:16 Richard Henderson - - * sysdeps/unix/sysv/linux/alpha/glob.c: Include sysdeps/generic/glob.c - directly instead of include_next. Add missing semicolons. - * sysdeps/unix/sysv/linux/alpha/oldglob.c: Include sys/types.h. - Add missing semicolons. - -1998-05-21 Ulrich Drepper - - * iconvdata/gconv-modules: Add more aliases to please java - environments. - -1998-05-20 Ulrich Drepper - - * stdio-common/vfprintf.c (process_arg): Fix typo. - - * iconvdata/TESTS: New tests for EUC-KR. - - * iconvdata/Makefile ($(objpfx)iconv-test.out): Also depend on TESTS. - * iconvdata/testdata/EUC-KR: New file. - -1998-05-20 07:26 H.J. Lu - - * math/libm-test.c (hypot_test): Fix a typo. - -1998-05-20 Ulrich Drepper - - * stdio-common/vfprintf.c: When precision is specified for %ls or - %S handle it correctly. - -1998-05-20 Andreas Jaeger - - * sysdeps/unix/bsd/vax/vfork.S: Missed double occurences of "the - the" in one line - fixed it. - * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise. - * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise. - * posix/unistd.h: Likewise - -1998-05-20 Andreas Jaeger - - * Makeconfig (rpath-link): Add resolvobjdir. - (resolvobjdir): New variable. - Reported by Peter Breitenlohner [fixes PR libc/633]. - -1998-05-20 09:36 Ulrich Drepper - - * elf/dl-close.c: Call shared object terminators at the right time. - Patch by Philippe Troin . - -1998-05-20 Andreas Schwab - - * Make-dist (+tsrcs): Also add *.map for every member of - $(extra-libs). - - * Makefile (distribute): Don't distribute scripts/printsources and - scripts/=__ify. Distribute FAQ.in. - (rpm/%): Don't pass subdirs to sub-make. - - * timezone/Makefile: Protect inclusion of z.* by $(avoid-generated) - instead of $(no_deps). - -1998-05-19 Andreas Schwab - - * sysdeps/generic/setenv.c: Protect against GNU C extension. - (KNOWN_VALUE, STORE_VALUE): Do it right. - (setenv): Remove unused variable. - -1998-05-18 Andreas Schwab - - * timezone/Makefile (tz-cflags): Define TM_GMTOFF and TM_ZONE. - (CFLAGS-zdump.c): Add $(tz-cflags). - - * timezone/zdump.c (abbr): Use TM_ZONE if defined. Add const to - return type. - -1998-05-18 Andreas Schwab - - * time/tzfile.c (__tzfile_compute): Undo last change. Instead - take struct tm parameter and set tm_isdst, tm_zone and tm_offset - if use_localtime. - * time/tzset.c: Update prototype of __tzfile_compute. - (__tz_convert): Pass tp to __tzfile_compute. Don't set tm_isdst, - tm_zone and tm_offset here if __use_tzfile. - -1998-05-19 Andreas Schwab - - * Makerules: Install libc.a even if there are no object file. - -1998-05-18 Andreas Schwab - - * Makerules (do-makelib): Don't force creating library from - scratch, which is faster and gets correct behaviour if $(subdirs) - is incomplete. - -1998-05-19 Andreas Schwab - - * Makerules (do-stamp): Make it work when building in source - directory. - -1998-05-20 00:10 Ulrich Drepper - - * elf/dl-load.c: Rename option and variable from ignore-rpath to - inhibit-rpath. - * elf/dl-support.c: Likewise. - * elf/ldsodefs.h: Likewise. - * elf/rtld.c: Likewise. - * iconvdata/run-iconv-test.sh: Likewise. - -1998-05-19 23:08 Ulrich Drepper - - * elf/rtld.c: Recognize --ignore-rpath argument and set _dl_ignore_path - variable using the value. - * elf/ldsodefs.h: Declare _dl_ignore_path. - * elf/dl-load.c (decompose_rpath): Compare name of handled shared - object against list in _dl_ignore_path and ignore RPATH if on the list. - * elf/dl-support.c: Define _dl_ignore_path for static binaries. - * iconvdata/run-iconv-test.sh: Call ld.so with --ignore-rpath parameter - to make sure we get the correct helper libraries loaded. - - * elf/dl-load.c (decompose_rpath): Remove `room' parameter. Use - "RPATH" string in call to fillin_rpath instead. - (_dl_init_paths): Remove this parameter from call to decompose_rpath. - -1998-05-19 Ulrich Drepper - - * sysdeps/i386/i486/bits/string.h (__strstr_g): Initialize %edx - correctly. Patch by Horst von Brand . - -1998-05-19 Andreas Jaeger - - * manual/terminal.texi (I/O Queues): Fix typo. - - * manual/stdio.texi (Closing Streams): Fix grammar. - - * manual/arith.texi (Absolute Value): Correct typo. - Patches by Oskar Liljeblad . [PR libc/630] - -1998-05-19 15:58 Ulrich Drepper - - * elf/rtld.c (process_envvars): Fix typo. Don't handle - LD_PROFILE_OUTPUT in SUID binaries. - * intl/dcgettext.c: In SUID binaries don't let language part of - locale value contain path elements. - * intl/explodename.h: Define new function _nl_find_language. - * intl/loadinfo.h: Declare _nl_find_language. - * locale/findlocale.c (_nl_find_locale): Use _nl_find_locale to get - language part it drop the value is path element is contained. - - * locale/setlocale.c: Fix typo. - -1998-05-18 Philip Blundell - - * sysdeps/unix/sysv/linux/arm/socket.S: Correct handling of arguments. - - * sysdeps/arm/strlen.S: Support both big and little endian processors. - - * sysdeps/arm/sysdep.h (ALIGNARG): ELF .align directive uses a - log, not a byte-count. - - * sysdeps/unix/arm/sysdep.S (syscall_error): Use C_SYMBOL_NAME for - a.out compatibility. - -1998-05-19 Andreas Jaeger - - * sysdeps/unix/bsd/vax/vfork.S: Fix the "the the" problems. - * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise. - * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise. - * posix/unistd.h: Likewise. - * math/math.h: Likewise. - * manual/users.texi (Manipulating the Database): Likewise. - * manual/signal.texi (Job Control Signals): Likewise. - * manual/message.texi (The gencat program): Likewise. - * manual/filesys.texi (Hard Links): Likewise. - * manual/math.texi (SVID Random): Likewise. - * manual/llio.texi (Waiting for I/O): Likewise. - * manual/io.texi (File Name Errors): Likewise. - * manual/conf.texi (String Parameters): Likewise. - * manual/arith.texi (Infinity): Likewise. - * malloc/malloc.c: Likewise. - * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise. - * csu/Makefile: Likewise. - -1998-05-19 12:16 Ulrich Drepper - - * manual/memory.texi: Add back accidently removed line. - -1998-04-25 Mark Kettenis - - * sysdeps/generic/utmp_file.c (TIMEOUT): New macro. - (timeout_handler): New function. - (LOCK_FILE, UNLOCK_FILE): New macros. - Implement file locking with timeout. - (getutent_r_file, internal_getut_r, getutline_r_file, - pututline_file, updwtmp_file): Use LOCK_FILE and UNLOCK_FILE for - locking. - -1998-05-18 11:38 Ulrich Drepper - - * iconvdata/run-iconv-test.sh: Extend library-path by iconvdata - directory. - -1998-05-16 Andreas Jaeger - - * rpm/Makefile: Delete inclusion of version.mk. - -1998-05-17 Andreas Jaeger - - * libc.map: Add all libio functions needed libstdc++ with version - 2.0, sort entries. - -1998-05-18 Andreas Jaeger - - * iconvdata/Makefile (generated): Add *.stmp files. - -1998-05-17 Andreas Schwab - - * timezone/Makefile (testdata, build-testdata): New variables, use - them in rules for test data. - ($(objpfx)tst-timezone.out): Depend on test data. - ($(testdata)/Europe/Berlin, $(testdata)/Universal, - $(testdata)/Australia/Melbourne, $(testdata)/America/Sao_Paulo): - New rules to build test data. - (tst-timezone-ENV): Pass TZDIR to point to test data. - -1998-05-18 Ulrich Drepper - - * iconvdata/TESTS: ISO-2022-KR has not really ASCII as a subset - (the designation sequence is disturbing). - -1998-05-17 Thorsten Kukuk - - * sunrpc/svc_tcp.c: Add FreeBSD DoS patch. - * sunrpc/xdr_rec.c: Likewise. - -1998-05-15 Ulrich Drepper - - * posix/Makefile (tests): Add runptests. - (distribute): Add PTESTS, PTESTS2C.sed, and ptestcases.h. - (before-compile): Add ptestcases.h. - (ptestscases.h): Add rule to generate from PTESTS. - * posix/runptests.c: New file. - * posix/PTESTS: New file. - * posix/PTESTS2C.sed: New file. - -1998-05-15 Ulrich Drepper - - * iconv/loop.c: Let user add code to use and set paramaters. - - * iconvdata/iso-2022-kr.c: Correct to-loop. - - * iconvdata/iso-2022-kr.c (PREPARE_LOOP): Use correct variable to - point to output buffer. - - * iconvdata/ksc5601.h (ksc5601_to_ucs4): Use correct value to find - hanja. - - * iconvdata/TESTS: Add ISO-2022-KR test. - * iconvdata/testdata/ISO-2022-KR: New file. - -1998-05-15 21:07 Ulrich Drepper - - * iconv/gconv.h (gconv_step_data): Add new fields invocation_counter - and internal_use. - * iconv/gconv_open.c (__gconv_open): Initialize invocation_counter - and internal_use. - * wcsmbs/btowc.c: Likewise. - * wcsmbs/mbrtowcs.c: Likewise. - * wcsmbs/mbsnrtowcs.c: Likewise. - * wcsmbs/mbsrtowcs.c: Likewise. - * wcsmbs/wcrtomb.c: Likewise. - * wcsmbs/wcsnrtombs.c: Likewise. - * wcsmbs/wcsrtombs.c: Likewise. - * wcsmbs/wctob.c: Likewise. - * iconv/skeleton.c: Increment invocation_counter. - * iconvdata/iso-2022-kr.c: When used in iconv() emit designator - sequence first. - - * iconv/skeleton.c (FROM_DIRECTION): Completely embrace expression. - * iconvdata/iso-2022-jp.c: Likewise. - * iconvdata/iso646.c: Likewise. - - * iconvdata/Makefile: Correct rpath definition for ISO-2022-KR. - -1998-05-15 Ulrich Drepper - - * iconv/gconv_db.c (derivation_lookup): Use __tfind correctly. - - * sysdeps/generic/setenv.c (setenv): Remove optimization for - overwriting existing values if it fits. - -1998-05-15 14:36 Ulrich Drepper - - * posix/wordexp-test.c: Avoid duplicate messages. - - * sysdeps/generic/setenv.c: Use __tfind and __tsearch, not tfind and - tsearch. Correctly interpret values returned by those functions. - (unsetenv): Store pointer to string, not pointer to string pointer. - - * time/tzfile.c (__tzfile_compute): Take new arguments. Store - DST information and offset in them. - * time/tzset.c (__tz_convert): Pass extra parameters to - __tzfile_compute. Compute equivalent values for use of tz_rules. - -1998-05-15 00:49:11 Zack Weinberg - - * iconvdata/Makefile (gen-8bit-table): Use move-if-change and - stamp files to avoid unnecessary recompilation. - (gen-8bit-gap-table): Likewise. - (move-if-change): New variable. - (all generated .h rules): Change to be .stmp rules. - (%.h): New rule; depend on %.stmp; no commands. - (distribute): Add gen-8bit.sh, gen-8bit-gap.sh, - gen-8bit-gap-1.sh. - -1998-05-15 01:09 Zack Weinberg - - * Makerules (libc-map): Deleted. - (load-map-file): Set to the appropriate compiler switch, not - just the file name. If libfoo-map is not set, look for a - libfoo.map in the current directory and $(..). - (map-file): New variable, contains just the mapfile name. - (build-shlib): Adjust for new value of load-map-file. - (libc.so): Correct dependencies. - - * extra-lib.mk: Correct shlib dependencies since libfoo-map - may not be set anymore. - - * elf/Makefile: Set ld-map to $(..)libc.map, not $(libc-map). - Delete libdl-map. Tweak ld.so link rule to work with changed - variable settings in Makerules. - * iconvdata/Makefile: Tweak build-module to work with changed - variable settings in Makerules. - - * db/Makefile: Delete libdb-map. - * hesiod/Makefile: Delete libnss_hesiod-map. - * linuxthreads/Makefile: Delete libpthread-map. - * locale/Makefile: Delete libBrokenLocale-map. - * login/Makefile: Delete libutil-map. - * math/Makefile: Delete libm-map. - * md5-crypt/Makefile: Delete libcrypt-map. - * nis/Makefile: Delete libnsl-map, libnss_nis-map, - libnss_nisplus-map, and libnss_compat-map. - * nss/Makefile: Delete libnss_files-map, libnss_db-map, and - libnss_ldap-map. - * resolv/Makefile: Delete libresolv-map and libnss_dns-map. - * rt/Makefile: Delete librt-map. - -1998-05-15 01:06 Zack Weinberg - - * configure.in: Instead of substituting `yes' or `no' for whether - --no-whole-archive is available, set @no_whole_archive@ to the - appropriate gcc switch or the empty string. Likewise for - -fno-exceptions. - * config.make.in: Replace have-no-whole-archive with - no-whole-archive and have-no-exceptions with no-exceptions. - * Makerules: Delete stanzas setting no-whole-archive and - no-exceptions. - - * sunrpc/Makefile: Use move-if-change to update generated .h - and .c files. - -1998-05-13 Andreas Schwab - - * wcsmbs/wcsmbsload.c (extract_charset_name): Use strcspn instead - of strchr loop. - -1998-05-15 Andreas Jaeger - - * time/tzfile.c (__tzfile_read): Remove unused variable info. - (__tzfile_compute): Likewise. - -1998-05-15 Andreas Jaeger - - * sysdeps/unix/sysv/linux/bits/socket.h (AF_SNA,PF_SNA): Add new - defines from Linux 2.1.102. - -1998-05-14 23:14 Ulrich Drepper - - * locale/programs/ld-ctype.c: Write correct mb_cur_max value. - -1998-05-14 13:25 Ulrich Drepper - - * inet/netinet/in.h: Add defines for multicast. - Reported by Jeremy Hall . - - * stdlib/stdlib.h: Add prototypes for __setenv and __unsetenv. - * sysdeps/generic/putenv.c: Use __setenv and __unsetenv, not setenv - and unsetenv. Optimize _LIBC case. - * sysdeps/generic/setenv.c: Prevent unnecessary memory leaks. - Define functions with leading __. - - * time/tzfile.c: Correct handling of global variables daylight, - timezone, and tzname. - * time/tzset.c: Likewise. - * timezone/Makefile (tests): Add tst-timezone. - * timezone/tst-timezone.c: New file. - -1998-05-14 10:35 Ulrich Drepper - - * timezone/asia: Update from tzdata1998d. - * timezone/australasia: Likewise. - * timezone/europe: Likewise. - -1998-05-13 Ulrich Drepper - - * string/string.h: Don't use the optimized versions for the string - functions if optimizing for space. - - * stdlib/tst-strtod.c: Add test for -0.0. - - * io/ftwtest-sh: Prevent tests from being run by root. - - * wcsmbs/wcsmbsload.c (extract_charset_name): Fix silly bugs in - last addition. Patch by wkpark@chem.skku.ac.kr. - -1998-05-12 Andreas Schwab - - * iconvdata/8bit-gap.c (BODY): Don't fall off the end of the gap - table. - -1998-05-12 Andreas Schwab - - * iconvdata/gen-8bit.sh: New file. - * iconvdata/gen-8bit-gap.sh: New file. - * iconvdata/gen-8bit-gap-1.sh: New file. - * iconvdata/Makefile (generate-8bit-table): Use shell script - instead of writing the commands directly. - (generate-8bit-gap-table): Likewise. - ($(objpfx)iso8859-7jp.h): Likewise. - (generated headers): Depend on shell script instead of Makefile. - (before-compile): Add $(perl-generated-headers) only if perl is - available. - (headers): Depend on $(perl-generated-headers) only if perl is - available. - (sed-generated-headers): Remove iso8859-7jp.h. - -1998-05-11 Andreas Schwab - - * csu/Makefile ($(objpfx)abi-tag.h): Double $ in command. Clean up. - (/): Removed. - -1998-05-12 Ulrich Drepper - - * wcsmbs/wcsmbsload.c (extract_charset_name): Pass correctly - formed charset names to getfct. Let user override charset - selection by mention charset in locale name. - -1998-05-12 12:15 Ulrich Drepper - - * posix/glob.c: Move to ... - * sysdeps/generic/glob.c: ...here. - * posix/glob.h (glob_t): Use correct types for gl_pathc and gl_offs - elements. - * sysdeps/unix/sysv/linux/alpha/glob.c: New file. - * sysdeps/unix/sysv/linux/alpha/oldglob.c: New file. - * sysdeps/unix/sysv/linux/alpha/Dist: Add oldglob.c. - * sysdeps/unix/sysv/linux/alpha/Makefile: Compile oldglob in posix - subdir. - * libc.map [GLIBC_2.1]: Add glob and globfree. - -1998-05-12 Ulrich Drepper - - * sunrpc/Makefile (generated): Restore old list. - -1998-05-11 Andreas Jaeger - - * rt/Makefile (tests): Define only if we have a thread library. - - * nis/ypclnt.c: Add: #include . - -1998-05-10 15:39 Zack Weinberg - - * configure.in: Define and substitute RELEASE as well as - VERSION. - * config.make.in: Add RELEASE and VERSION to be substituted. - * Makeconfig: Delete all references to version.mk. - * Make-dist: Likewise. - * MakeTAGS: Likewise. - * elf/Makefile: Likewise. - -1998-05-10 Thorsten Kukuk - - * nis/ypclnt.c: Move "(none)" domainname check from __yp_check to - yp_get_default_domain. - -1998-05-12 Ulrich Drepper - - * sysdeps/posix/profil.c (__profil): Don't define act and timer - variables as static. Patch by Joe Keane . - -1998-05-12 Wolfram Gloger - - * malloc/malloc.c: Fix for NO_THREADS case. - -1998-05-11 18:02 Richard Henderson - - * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): - Remove statfs and fstatfs. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Don't mark pread - and pwrite as EXTRA. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. - -1998-05-09 Ulrich Drepper - - * libc.map: Add capget and capset. - -1998-05-08 Ulrich Drepper - - * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c - (DL_FIND_ARG_COMPONENTS): Find correct alignment for auxiliary - vector. Patch by Mark Hatle - and Matt McLean . - -1998-05-08 23:49 Ulrich Drepper - - * misc/Makefile (tests): Add tst-mntent. - * misc/tst-mntent.c: New file. - -1998-05-08 21:56 Zack Weinberg - - * autolock.sh: Removed. - * manual/move-if-change: Removed. - - * scripts: New directory. - * =__ify: Moved to scripts. - * config.guess: Likewise. - * config.sub: Likewise. - * gen-FAQ.pl: Likewise. - * install-sh: Likewise. - * mkinstalldirs: Likewise. - * move-if-change: Likewise. - * printsources: Likewise. - * rellns.sh: Likewise. - * test-installation.pl: Likewise. - - * configure.in: Look in scripts for config.guess, config.sub, - install-sh. - * Makefile: Distribute all above files in their - new home. Find gen-FAQ.pl and test-installation.pl in scripts. - * manual/Makefile: Find mkinstalldirs and move-if-change in - $(..)scripts. Drop them from distribute. Minor cleanups. - * Makerules: Find mkinstalldirs and rellns-sh in scripts. - * sysdeps/mach/hurd/Makefile: Find move-if-change in scripts. - * timezone/Makefile: Find rellns-sh in scripts. - -1998-05-08 Ulrich Drepper - - * intl/locale.alias: Change italian to it_IT.ISO-8859-1. - Reported by Ottavio G. Rizzo . - -1998-05-08 19:24 Zack Weinberg - - * Makefile (+subdir-inits): Delete variable. - (+init_subdirs): Likewise. - (aux): Likewise. - (before-compile): Likewise. - (libc-init): Delete stanza. - (version-info.h): Delete rule and associated variable. - (distribute): Don't distribute moved files. - * Makerules (interp-obj): It lives in elf now. Only use it - if $(elf) is set. Delete rule to build it. - * csu/Makefile: Build set-init.o and/or munch-init.o. Build - version.o and version-info.h. Minor cleanups. - (routines): Add libc-init, sysdep, version. - (generated): Add version-info.h. - * elf/Makefile: Build interp.os. - - * interp.c: Moved to elf. - * set-init.c: Moved to csu. - * munch-init.c: Likewise. - * munch.awk: Likewise. - * version.c: Likewise. - - * Rules: Unconfuse syntax highlighting with a fake comment. - -1998-05-08 Ulrich Drepper - - * sysdeps/unix/sysv/linux/syscalls.list: Add capset and capget - syscalls. - -1998-05-08 16:36 Zack Weinberg - - * iconvdata/Makefile (generated): Set to *-generated-headers - plus gconv-modules. - (tests): Set to iconv-test. - * localedata/Makefile (generated-dirs): Add ld-test-names to list. - * posix/Makefile (generated): Set to wordexp-test-result*. - * sunrpc/Makefile (generated): Remove rpcsvc/*. - (generated-dirs): Add rpcsvc. - * libio/Makefile: Clean up. - -1998-05-08 14:55 Ulrich Drepper - - * Make-dist (+tsrcs): Also use tests-statc where tests is used. + * Makeconfig: Change object suffixes from *.[spgb]o to *.o[spgb] + to avoid conflict with PO files. * Makerules: Likewise. - (+depfiles): Also add sysdep-others. * Rules: Likewise. - * iconv/Makefile (distribute): Add loop.s and skeleton.c. - * iconvdata/Makefile (distribute): Add TESTS. - * localedata/Makefile (repertoires): Rename to repertoiremaps. - * sysdeps/gnu/Dist: Add utmpx.h and bits/utmpx.h. - * sysdeps/unix/sysv/linux/Dist: Add ldd-rewrite.sed. - * sysdeps/unix/sysv/linux/i386/Makefile [subdir=elf]: Define - sysdep-others, not others. - * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise. - * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/kernel_termios.h. - -1998-05-08 12:26 Ulrich Drepper - - * iconv/gconv_int.h (struct gconv_module): Remove cost field and add - cost_hi and cost_lo. - * iconv/gconv_conf.c (builtin_modules): Initialize cost_hi from - Cost parameter and set cost_lo to INT_MAX. - (add_module): Take new parameter and use it to initialize cost_lo. - (read_conf_file): Count modules being loaded and use counter for - new parameter to add_module. - * iconv/gconv_db.c (find_derivation): When look for cost examine - cost_hi and cost_lo. - -1998-05-08 10:52 Ulrich Drepper - - * string/bits/string2.h: Don't use unsigned char * unless really - necessary since this disturbs C++. - * sysdeps/i386/i486/bits/string.h: Likewise. - Patch by Bernd Schmidt . - -1998-05-08 13:53 Andreas Schwab - - * malloc/malloc.c (top_check): Fix last change. - -1998-05-07 Ulrich Drepper - - * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Define. - Patch by Matt McLean . - -1997-05-07 13:26 Andreas Schwab - - * Makerules (lib): Put back dependency on lib-noranlib. - ($(subdirs-stamps)): Remove dependency on stamp.* again. - -1998-05-07 Ulrich Drepper - - * sysdeps/i386/fpu/bits/mathinline.h: Use long long int also for - test in __pow2 implementation. - -1998-04-16 07:42 Geoff Keating - - * Makeconfig [!build-static]: Link `static' binaries with libc_pic.a. - Still need *FLAGS-.o because we still sometimes build .o files. - * db2/Makefile: Don't build libndbm.a if !build-static. - -1998-05-07 Andreas Jaeger - - * malloc/malloc.c (top_check): Add void as parameter to silent gcc. - -1998-04-16 07:42 Geoff Keating - - * configure.in: New test for broken gcc on PowerPC. - * sysdeps/powerpc/atomicity.h: Use result of test. - * linuxthreads/sysdeps/powerpc/pt-machine.h: Use result of test. - - * math/libm-test.c: Update many of the epsilon to match actual - performance. - - * sysdeps/libm-ieee754/e_exp.c: Reduce the number of branches. - * sysdeps/libm-ieee754/e_expf.c: Likewise. - * sysdeps/libm-ieee754/s_exp2.c: Likewise. - * sysdeps/libm-ieee754/s_exp2f.c: Likewise. - - * sysdeps/libm-ieee754/e_pow.c: Correct typo. - - * sysdeps/powerpc/elf/libc-start.c: New file. - * sysdeps/powerpc/elf/start.S: New file, use libc-start. - * sysdeps/powerpc/elf/start.c: Delete. - - * sysdeps/unix/sysv/linux/powerpc/Dist: Remove syscall.h - * sysdeps/unix/sysv/linux/powerpc/syscall.h: Delete. It was unused. - - * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Correct previous - few patches. - -1998-05-06 12:51 Ulrich Drepper - - * sysdeps/i386/fpu/bits/mathinline.h (pow): Use long long int for - test for integer. - - * sysdeps/libm-i387/e_pow.S: Correctly shift double word. - * sysdeps/libm-i387/e_powl.S: Likewise. - -1998-03-31 Wolfram Gloger - - * malloc/malloc.c (chunk2mem_check, top_check): New functions. - (malloc_check, free_check, realloc_check, memalign_check): Use - them to improve overrun checking. Overruns of a single byte and - corruption of the top chunk are now detected much more reliably. - -1998-05-06 Andreas Jaeger - - * math/libm-test.c (pow_test): Add test for special value from PR - libc/590. - -1998-05-06 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/errno.h: Undefine EILSEQ before - including linux/errno.h. - -1998-05-06 09:49 Ulrich Drepper - - * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Add LFS support. - Use correct types. - * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: New file. - * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: New file. - -1998-05-05 Andreas Schwab - - * Makerules (elide-routines.*): Fix assignments. - (do-makelib): Fix typo. - ($(subdirs-stamps)): Depend on $(objpfx)stamp.* if in parent - makefile. - -1998-05-04 Andreas Schwab - - * Makefile (sysdep-subdirs, subdirs, $(common-objpfx)sysd-dirs, - $(objpfx)sysd-dirs): Move them... - * Makeconfig: ... here. - * Makerules (subdirs-stamps, subdirs-stamp-o): Always define. - (stubs): Fix circular depedency. - (do-makelib): Clean up. - (lib): Don't depend on lib-noranlib. - ($(objpfx)stamp.oS): Remove special case for empty - static-only-routines. - (elide-routines.o): Add $(static-only-routines). - (elide-routines$o): Define this instead of elide-routines.$o. - * manual/Makefile (stubs): Fix circular dependency. - -1998-05-05 Andreas Schwab - - * libio/Makefile (routines): Remove duplicate oldiofclose. - -1998-05-05 Ulrich Drepper - - * string/strcoll.c: Use uint32_t instead of u_int32_t. - -1998-05-05 Ulrich Drepper - - * libio/stdio.h: Fix typo in __REDIRECT. - * io/sys/stat.h: Likewise. - Reported by Myles Uyema . - -1998-05-04 Andreas Schwab - - * locale/programs/localedef.c (options): Fix help message. - -1998-05-04 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid nasty - relocations. Patch by Joe Keane . - -1998-05-04 12:40 Ulrich Drepper - - * malloc/malloc.c (ptmalloc_init_all): New function. Similar to - ptmalloc_unlock_all, but re-initializes the mutexes instead. - (ptmalloc_init): Use new function in thread_at_fork call. - (thread_atfork_static): Likewise. - Suggested by Wolfram Gloger and Xavier Leroy. - -1998-05-04 Ulrich Drepper - - * signal/signal.h: Move definitions of struct sigstack and - struct sigaltstack into separate file and include it. - * sysdeps/generic/bits/sigstack.h: New file. - * sysdeps/unix/sysv/linux/bits/sigstack.h: New file. - * signal/Makefile (headers): Add bits/sigstack.h. - -1998-05-03 Andreas Schwab - - * elf/rtld.c (dl_main): Fix check for number of references to - interpreter object. - -1998-05-03 Andreas Schwab - - * elf/rtld.c (dl_main): Check has_interp after executing platform - specific code. - -1998-05-01 Andreas Schwab - - * iconvdata/run-iconv-test.sh: Fix typo. - -1998-05-01 Andreas Schwab - - * Makerules (+depfiles): Add depfiles for $(tests-static). - Simplified. - -1998-05-01 Andreas Schwab - - * manual/terminal.texi (Special Characters): Fix description of - c_cc indexes. - -1998-05-01 Andreas Schwab - - * sysdeps/unix/sysv/linux/tcsetattr.c: Use memcpy to copy the c_cc - array. - * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise. Initialize rest - of c_cc array. - -1998-04-30 14:15 Zack Weinberg - - * sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers. - -1998-05-01 Ulrich Drepper - - * intl/locale.alias: Update russian entry. - -1998-05-01 21:54 Zack Weinberg - - * Makerules (static-only-routines): Reimplement in terms of - elide-routines.os. - (shared-only-routines): Reimplement in terms of - elide-routines.X [where X is all object-suffixes except .os]. - - (stubs): Create stubs file inside the subdir. - (common-mostlyclean): Remove stubs file from inside the subdir. - * Makefile (subdir-stubs): Look for stubs files inside the - subdirs. - * manual/Makefile (stubs): Create dummy stubs file inside the - subdir. - -1998-05-01 21:01 Zack Weinberg - - Build speed improvement: make ar less of a bottleneck. - - * Makerules (stamp$o): Just record the object list for later - use. - (libc_foo.a): New rule, depends on subdir stamp files; builds - and ranlibs the library from the lists saved in those files. - - (subdirs-stamps): Define also if subdir == elf (FIXME: kludge). - (subdirs-stamp-o): Likewise. - - (ar-symtab-name): Delete variable. - (lib%.a): Delete target. - (libc_foo.a(bar.%)): Delete target. - (libc_foo.a($(ar-symtab-name))): Delete target. - - (objects objs): Just depend on libobjs and extra-objs. - (libobjs): Depend on the stamp files, not the objects. - (extra-objs): New target, just depends on the extra-objs list. - - (CREATE_ARFLAGS): Kill the `ar S' hack. - - * config.make.in (have-ar-S): Deleted. - * configure.in: Delete test for `ar S'. Add test to determine - whether ranlib does anything useful. - -1998-05-01 Ulrich Drepper - - * inet/tst-ether_aton.c: Include . - -1998-04-30 16:45 Ulrich Drepper - - * inet/ether_aton.c: Including netinet/if_ether.h is not necessary. - - * locale/Makefile (distribute): Add programs/repertoire.h. - (localedef-modules): Add repertoire. - (CPPFLAGS): Define REPERTOIREMAP_PATH. - * locale/programs/repertoire.c: New file. - * locale/programs/repertoire.h: New file. - * locale/programs/charmap.c: Starting fixing character set handling - to handle multi-byte encodings. - * locale/programs/charset.c: Likewise. - * locale/programs/charset.h: Likewise. - * locale/programs/ld-collate.c: Likewise. - * locale/programs/ld-ctype.c: Likewise. - * locale/programs/linereader.c: Likewise. - * locale/programs/localedef.c: Likewise. - * locale/programs/locfile-kw.gperf: Likewise. - * locale/programs/locfile-kw.h: Likewise. - * locale/programs/locfile-token.h: Likewise. - * locale/programs/locfile.h: Likewise. - * locale/programs/stringtrans.c: Likewise. - - * locale/programs/locfile.c: Interpret I18NPATH value as base of - path, extended with "/locales/". - -1998-04-18 Philip Blundell - - * sysdeps/arm/memset.S: Fix off by one error. - - * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call - __syscall_error rather than syscall_error directly. - -1998-04-17 Philip Blundell - - * sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of - mmap() syscall for ARM. - - * sysdeps/unix/arm/start.c: New file; startup code for ARM a.out - binaries. - -1998-04-30 Ulrich Drepper - - * locale/programs/localedef.c: Recognize repertoire-map option. - -1998-04-29 Ulrich Drepper - - * locale/programs/linereader.c (get_toplvl_escape): Fix typo in - converting non-hex numbers. - Patch by Won Kyu Park . - -1998-04-23 07:31 H.J. Lu - - * resolv/inet_addr.c (inet_aton): Use __strtoul_internal to - check overflow. - * resolv/Makefile (tests): New, add tst-aton. - * resolv/tst-aton.c: New file. - -1998-04-29 Ulrich Drepper - - * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing - semicolon. - -1998-04-29 12:11 Ulrich Drepper - - * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function - by letting the later modify the variable computing the total directly. - * wcsmbs/mbsrtowcs.c: Likewise. - * wcsmbs/wcsnrtombs.c: Likewise. - * wcsmbs/wcsrtombs.c: Likewise. - - * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear - it is not used. - * wcsmbs/wctoc.c: Likewise. - - * wcsmbs/mbsrtowcs.c: Optimize a bit more. - * wcsmbs/wcsrtombs.c: Likewise. - - * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition. - -1998-04-29 Ulrich Drepper - - * iconv/skeleton.c: Correct counting of actually converted - characters. - - * intl/localealias.c (read_alias_file): Use unsigned char for - local variables. Remove unused variable tp. - * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char * - for type of codeset. For loosing Solaris systems. - * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset. - * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable - len if not needed. - Patches by Jim Meyering. - - * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice; - wcsrtombs must put it into initial state. - -1998-04-29 Andreas Schwab - - * iconv/gconv_simple.c: Fix endian bug. Don't put side effects in - argument of bswap_XX macro. - -1998-04-28 Andreas Schwab - - * iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in - variable name. - -1998-04-28 Ulrich Drepper - - * sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union - semun and use stdarg macros to get the value. - * sysdeps/generic/semctl.c: Don't use union semun. - - * sysvipc/sys/sem.h: Don't use union semun in semctl prototype. - - * string/basename.c [!_LIBC]: Define function as gnu_basename. - - * posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or - strings.h. - - * stdlib/grouping.h: Accept ungrouped numbers even if locale - defines grouping. - - * intl/hash-string.h: Don't include values.h. - - * inet/Makefile (tests): Add tst-ether_aton. - * inet/tst-ether_aton.c: New file. - - * inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value - in hex conversion. - * inet/ether_aton.c (ether_aton): Declare result variable static. - Reported by ahyung@unixg.ubc.ca. - - * sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun. - Define macro _SEM_SEMUN_UNDEFINED instead. - Reported by Dirk Laessig . - - * stdio-common/tst-wc-printf.c: New file. Test for %S and %C format. - * stdio-common/Makefile (tests): Add tst-wc-printf. - -1998-04-28 16:32 Philip Blundell - - * manual/stdio.texi (Variable Arguments Output): Correct variable - name. Patch from Ewan Mellor - -1998-04-27 Ulrich Drepper - - * intl/dcgettext.c: Remove unneeded definition of - internal_function. - -1998-04-27 Andreas Schwab - - * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target - instead of do-iconv-test. - ($(objpfx)gconv-modules): Define rule only if objpfx is not - empty. - -1998-04-27 Andreas Schwab - - * string/string.h: Fix feature test. - -1998-04-27 Andreas Schwab - - * iconvdata/iso646.c (BODY): Don't use character constants that - depend on signedness of char. - -1998-04-27 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc] - (sysdep_routines): Add s_pread64 and s_pwrite64. - -1998-04-27 09:54 Ulrich Drepper - - * iconvdata/Makefile (distribute): Remove generated .h files. - * iconvdata/koi8-r.h: Removed. - * iconvdata/latin-greek-1.h: Removed. - * iconvdata/latin-greek.h: Removed. - - * iconvdata/testdata/CP1258..UTF8: New iconv test source. - * iconvdata/KOI-8: Likewise. - * iconvdata/KOI-8..UTF8: Likewise. - * iconvdata/KOI8-R: Likewise. - * iconvdata/KOI8-R..UTF8: Likewise. - -1998-04-24 Andreas Schwab - - * streams/Makefile (headers): Add sys/stropts.h. - * streams/sys/stropts.h: New file. - -1998-04-25 Andreas Schwab - - * sysdeps/unix/sysv/linux/ttyname.c, - sysdeps/unix/sysv/linux/ttyname_r.c: New files, like - sysdeps/posix/ttyname*.c, but look in /dev/pts first. - -1998-04-25 Andreas Schwab - - * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second - argument of _itoa_word. - -1998-04-24 Andreas Schwab - - * sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents, - s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set - caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending, - sigprocmask, resp., instead of EXTRA. - - * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove - s_pread64 and s_pwrite64. - -1998-04-26 18:44 Ulrich Drepper - - * iconvdata/Makefile: Correct rules to generate gap table. - * iconvdata/gap.pl: Simplify. - - * iconvdata/TESTS: Name new tests. - * iconvdata/testdata/CP1250: New file. - * iconvdata/testdata/CP1250..UTF8: New file. - * iconvdata/testdata/CP1251: New file. - * iconvdata/testdata/CP1251..UTF8: New file. - * iconvdata/testdata/CP1252: New file. - * iconvdata/testdata/CP1252..UTF8: New file. - * iconvdata/testdata/CP1253: New file. - * iconvdata/testdata/CP1253..UTF8: New file. - * iconvdata/testdata/CP1254: New file. - * iconvdata/testdata/CP1254..UTF8: New file. - * iconvdata/testdata/CP1255: New file. - * iconvdata/testdata/CP1255..UTF8: New file. - * iconvdata/testdata/CP1256: New file. - * iconvdata/testdata/CP1256..UTF8: New file. - * iconvdata/testdata/CP1257: New file. - * iconvdata/testdata/CP1257..UTF8: New file. - -1998-04-26 Ulrich Drepper - - * iconvdata/Makefile: Add rules for ISO-2022-KR. - * iconvdata/iso-2022-kr.c: New file. - - * iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2, - and ISO-2022-KR. - -1998-04-25 18:39 Ulrich Drepper - - * iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7, - iso8859-8 and iso8859-10. - * iconvdata/iso8859-5.c: Change to use gap method. - * iconvdata/iso8859-7.c: Likewise. - * iconvdata/iso8859-8.c: Likewise. - * iconvdata/iso8859-10.c: Likewise. - - * iconvdata/Makefile: Add rules for ISO-2022-JP module. - * iconv/skeleton.c: Allow END_LOOP do be defined and use it at the - end of the loop. - * iconvdata/iso-2022-jp.c: New file. - - * iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence. - * iconvdata/ksc5601.h: Unify function interfaces. - * iconvdata/euckr.c: Adapt for changed ksc5601.h interface. - * iconvdata/uhc.c: Likewise. - - * iconvdata/gb2312.h: Use correct types. - - * iconvdata/iso646.c (gconv_open): Correctly initialize the character - size elements of data. - -1998-04-24 Ulrich Drepper - - * string/tst-svc.expect: Adapt for change in .input. - * string/tst-svc.input: More tests. - -1998-04-24 17:15 Ulrich Drepper - - * iconvdata/Makefile: Add rules for new modules. - * iconvdata/gconv-modules: Likewise. - * iconvdata/cp737.c: New file. - * iconvdata/cp737.h: New file. - * iconvdata/cp775.c: New file. - * iconvdata/cp775.h: New file. - * iconvdata/cp874.c: New file. - * iconvdata/cp874.h: New file. - -1998-04-24 16:30 Ulrich Drepper - - * iconvdata/Makefile: Create target directory before generating - headers. - -1998-04-23 Andreas Schwab - - * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty - __USER_LABEL_PREFIX__. - (__ASMNAME, __ASMNAME2): New macros. - -1998-04-24 Ulrich Drepper - - * elf/dl-load.c: Include sys/param.h for MAX. - -1998-04-24 21:44 Richard Henderson - - * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make - __ftruncate the strong symbol, and add weak alias. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. - -1998-04-24 Ulrich Drepper - - * termios/cfsetspeed.c: Make code cleaner and add missing const. - Patch by Joe Keane . - - * inet/rcmd.c (__ivaliduser): Check buf for being NULL before - free()ing. - -1998-04-24 13:56 Ulrich Drepper - - * sysdeps/generic/bits/socket.h: Add #defines for enum values. - Patch by Thomas Bushnell, n/BSG. - -1998-04-24 Ulrich Drepper - - * inet/rcmd.c (iruserok): Initialize hostf variable to NULL. - -1998-04-24 Ulrich Drepper - - * iconvdata/Makefile: Put generated headers in build directory. - -1998-04-23 22:43 Ulrich Drepper - - * elf/dl-load.c (fillin_rpath): Handle empty element returned by - strsep as current directory. - - * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for - Java. Add definitions for unicodelittle implementation. - * iconv/gconv_int.h: Add declaration for unicodelittle functions. - * iconv/gconv_simple.c: Define unicodelittle functions. - - * iconv/iconv_prog.c: Make program print information about position - of illegal character in input. - - * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for - comparison of charset name. - * iconvdata/big5.c (CHARSET_NAME): Adapt for this. - * iconvdata/ebcdic-at-de-a.c: Likewise. - * iconvdata/ebcdic-at-de.c: Likewise. - * iconvdata/ebcdic-ca-fr.c: Likewise. - * iconvdata/euccn.c: Likewise. - * iconvdata/eucjp.c: Likewise. - * iconvdata/euckr.c: Likewise. - * iconvdata/euctw.c: Likewise. - * iconvdata/hp-roman8.c: Likewise. - * iconvdata/iso6937.c: Likewise. - * iconvdata/iso8859-1.c: Likewise. - * iconvdata/iso8859-10.c: Likewise. - * iconvdata/iso8859-2.c: Likewise. - * iconvdata/iso8859-3.c: Likewise. - * iconvdata/iso8859-4.c: Likewise. - * iconvdata/iso8859-5.c: Likewise. - * iconvdata/iso8859-6.c: Likewise. - * iconvdata/iso8859-7.c: Likewise. - * iconvdata/iso8859-8.c: Likewise. - * iconvdata/iso8859-9.c: Likewise. - * iconvdata/johab.c: Likewise. - * iconvdata/koi-8.c: Likewise. - * iconvdata/koi8-r.c: Likewise. - * iconvdata/latin-greek-1.c: Likewise. - * iconvdata/latin-greek.c: Likewise. - * iconvdata/sjis.c: Likewise. - * iconvdata/t61.c: Likewise. - * iconvdata/uhc.c: Likewise. - - * iconvdata/iso646.c: Add support for more ISO 646 variants. - * iconvdata/TESTS: Add tests for ISO646 module. - * iconvdata/gconv-modules: Add new modules. - * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module. - * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise. - * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise. - * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise. - * iconvdata/testdate/DIN_66003: Likewise. - * iconvdata/testdate/DIN_66003..UTF8: Likewise. - * iconvdata/testdate/DS_2089: Likewise. - * iconvdata/testdate/DS_2089..UTF8: Likewise. - * iconvdata/testdate/ES: Likewise. - * iconvdata/testdate/ES..UTF8: Likewise. - * iconvdata/testdate/ES2: Likewise. - * iconvdata/testdate/ES2..UTF8: Likewise. - * iconvdata/testdate/GB_1988-80: Likewise. - * iconvdata/testdate/GB_1988-80..UTF8: Likewise. - * iconvdata/testdate/IT: Likewise. - * iconvdata/testdate/IT..UTF8: Likewise. - * iconvdata/testdate/JIS_C6220-1969-RO: Likewise. - * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise. - * iconvdata/testdate/JIS_C6229-1984-B: Likewise. - * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise. - * iconvdata/testdate/JUS_I.B1.002: Likewise. - * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise. - * iconvdata/testdate/KSC5636: Likewise. - * iconvdata/testdate/KSC5636..UTF8: Likewise. - * iconvdata/testdate/MSZ_7795.3: Likewise. - * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise. - * iconvdata/testdate/NC_NC00-10: Likewise. - * iconvdata/testdate/NC_NC00-10..UTF8: Likewise. - * iconvdata/testdate/NF_Z_62-010: Likewise. - * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise. - * iconvdata/testdate/NF_Z_62-010_1973: Likewise. - * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise. - * iconvdata/testdate/NS_4551-1: Likewise. - * iconvdata/testdate/NS_4551-1..UTF8: Likewise. - * iconvdata/testdate/NS_4551-2: Likewise. - * iconvdata/testdate/NS_4551-2..UTF8: Likewise. - * iconvdata/testdate/PT: Likewise. - * iconvdata/testdate/PT..UTF8: Likewise. - * iconvdata/testdate/PT2: Likewise. - * iconvdata/testdate/PT2..UTF8: Likewise. - * iconvdata/testdate/SEN_850200_B: Likewise. - * iconvdata/testdate/SEN_850200_B..UTF8: Likewise. - * iconvdata/testdate/SEN_850200_C: Likewise. - * iconvdata/testdate/SEN_850200_C..UTF8: Likewise. - - * iconvdata/cns11643.h: Use uint32_t instead of wchar_t. - * iconvdata/cns11643l1.h: Likewise. - * iconvdata/latin-greek-1.h: Likewise. - * iconvdata/latin-greek.h: Likewise. - * iconvdata/koi8-r.h: Likewise. - * iconvdata/jis0212.h: Likewise. - * iconvdata/gb2312.h: Likewise. - * iconvdata/ksc5601.h: Likewise. - - * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap. - - * iconvdata/Makefile: Add rules for lots of more modules. - * iconvdata/cp1250.c: New file. - * iconvdata/cp1251.c: New file. - * iconvdata/cp1252.c: New file. - * iconvdata/cp1253.c: New file. - * iconvdata/cp1254.c: New file. - * iconvdata/cp1255.c: New file. - * iconvdata/cp1256.c: New file. - * iconvdata/cp1257.c: New file. - * iconvdata/ebcdic-dk-no-a.c: New file. - * iconvdata/ebcdic-dk-no.c: New file. - * iconvdata/ebcdic-es-a.c: New file. - * iconvdata/ebcdic-es-s.c: New file. - * iconvdata/ebcdic-es.c: New file. - * iconvdata/ebcdic-fi-se-a.c: New file. - * iconvdata/ebcdic-fi-se.c: New file. - * iconvdata/ebcdic-fr.c: New file. - * iconvdata/ebcdic-is-friss.c: New file. - * iconvdata/ebcdic-it.c: New file. - * iconvdata/ebcdic-pt.c: New file. - * iconvdata/ebcdic-uk.c: New file. - * iconvdata/ebcdic-us.c: New file. - * iconvdata/ibm037.c: New file. - * iconvdata/ibm038.c: New file. - * iconvdata/ibm1004.c: New file. - * iconvdata/ibm1026.c: New file. - * iconvdata/ibm1047.c: New file. - * iconvdata/ibm256.c: New file. - * iconvdata/ibm273.c: New file. - * iconvdata/ibm274.c: New file. - * iconvdata/ibm275.c: New file. - * iconvdata/ibm277.c: New file. - * iconvdata/ibm278.c: New file. - * iconvdata/ibm280.c: New file. - * iconvdata/ibm281.c: New file. - * iconvdata/ibm284.c: New file. - * iconvdata/ibm285.c: New file. - * iconvdata/ibm290.c: New file. - * iconvdata/ibm297.c: New file. - * iconvdata/ibm420.c: New file. - * iconvdata/ibm423.c: New file. - * iconvdata/ibm424.c: New file. - * iconvdata/ibm437.c: New file. - * iconvdata/ibm500.c: New file. - * iconvdata/ibm850.c: New file. - * iconvdata/ibm851.c: New file. - * iconvdata/ibm852.c: New file. - * iconvdata/ibm855.c: New file. - * iconvdata/ibm857.c: New file. - * iconvdata/ibm860.c: New file. - * iconvdata/ibm861.c: New file. - * iconvdata/ibm862.c: New file. - * iconvdata/ibm863.c: New file. - * iconvdata/ibm864.c: New file. - * iconvdata/ibm865.c: New file. - * iconvdata/ibm868.c: New file. - * iconvdata/ibm869.c: New file. - * iconvdata/ibm870.c: New file. - * iconvdata/ibm871.c: New file. - * iconvdata/ibm875.c: New file. - * iconvdata/ibm880.c: New file. - * iconvdata/ibm891.c: New file. - * iconvdata/ibm903.c: New file. - * iconvdata/ibm904.c: New file. - * iconvdata/ibm905.c: New file. - * iconvdata/ibm918.c: New file. - - * locale/iso-4217.def: Update. - * localedata/locales/pt_BR: Correct. Patches by Andreas Jaeger. - - * stdio-common/vfscanf.h: Recognize nan and inf in floating-point - formats. - -1998-04-22 Andreas Jaeger - - * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for - LD_LIBRARY_PATH. - -1998-04-22 Gordon Matzigkeit - - * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'. - * Makefile: Likewise. - * posix/Makefile: Likewise. - * sysdeps/mach/hurd/Makefile: Likewise. - -1998-04-22 Gordon Matzigkeit - - * sysdeps/mach/hurd/bits/dirent.h: New file. - * sysdeps/mach/hurd/readdir64.c: New file. - * sysdeps/mach/hurd/readdir64_r.c: New file. - -1998-04-21 Gordon Matzigkeit - - * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf, - dprintf): Synchronize declarations with libio/stdio.h. - -1998-04-21 Gordon Matzigkeit - - * elf/dlerror.c (dlerror): Don't assume that - __libc_internal_tsd_get is defined. __libc_getspecific is already - well-protected, so just use it directly. - -1998-04-22 Gordon Matzigkeit - - * io/ftw.h (ftw): Fix typo. - -1998-04-21 Gordon Matzigkeit - - * sysdeps/gnu/utmp_file.c: Fix typo. - -1998-04-22 11:06 Andreas Schwab - - * iconvdata/run-iconv-test.sh: Fix more portability bugs. When - one part of a test fails move on to the next test. - -1998-04-24 5:45 Richard Henderson - - * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added. - -1998-04-21 Andreas Schwab - - * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses - as pointers, not signed integers. - -1998-04-22 11:06 Andreas Schwab - - * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added. - -1998-04-21 21:49 Zack Weinberg - - * misc/sys/cdefs.h: New macro __REDIRECT to support changing the - asm symbol name of functions. - * include/features.h: Kill redundant test. - - * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64. - * io/ftw.h: Likewise. - * io/sys/stat.h: Likewise. - * io/sys/statfs.h: Likewise. - * io/sys/statvfs.h: Likewise. - * libio/stdio.h: Likewise. - * resource/sys/resource.h: Likewise. - * rt/aio.h: Likewise. - - * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and - __FAVOR_BSD. - * signal/signal.h: Use new macros for BSD vs. SysV signal(). - - * misc/Makefile: Drop bsd-compat.c. Make libbsd-compat.a - a dummy library. - * misc/bsd-compat.c: Removed. - -1998-04-21 20:32 Ulrich Drepper - - * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in - function declaration. - * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined - and use them in conversion function. - * iconvdata/Makefile (modules): Re-add ISO6446. - * iconvdata/TEST: Add tests for ASCII variants. - * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c. - * iconvdata/testdata/ANSI_X3.4-1968: New file. - * iconvdata/testdata/BS_4730: New file. - * iconvdata/testdata/BS_4730..UTF8: New file. - -1998-04-21 19:05 Ulrich Drepper - - * iconv/gconv.h (struct gconv_step): Add element stateful. - * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful - to zero for all internal conversions. - * iconv/skeleton.c: Initialize stateful depending on whether or not - RESET_STATE is defined to one or zero respectively. - * stdlib/mblen.c: Use stateful element of currently selected - converter for result if S is NULL. - * stdlib/mbtowc.c: Likewise. - * stdlib/wctomb.c: Likewise. - -1998-04-21 18:00 Ulrich Drepper - - * iconv/gconv.c (__gconv): Remove bogus input buffer size computation. - - * iconv/gconv_open.c (__gconv_open): Initialize outbufend element. - - * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use - character in comparison with uint32_t. - (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO. - (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM. - Optimize BODY a bit. - - * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to - be defined. - - * iconv/skeleton.c: Also reset converted counter in case of an error. - Call reset function using correct value for output buffer start. - - * iconvdata/Makefile: Re-enable tests. - - * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT - value for to-conversion. - - * iconvdata/TESTS: Add new third column. - * iconvdata/run-iconv-test.sh: Add support for charsets which are - not ASCII based. - * iconvdata/testdata/suntzus: New file. - - * elf/dl-minimal.c (__strtol_internal): Increment pointer to string - while reading. Correctly used base. Little optimization. - (__strtoul_internal): Likewise. - - * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths - was wrong. Use explicit variable. - -1998-04-20 23:49 Zack Weinberg - - * configure.in: Check for awk. - * config.make.in: Add AWK to be substituted. - - * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions. - * manual/users.texi: Fix typo exposed by above rewrite. - - * Makefile: Invoke awk using AWK variable. - * csu/Makefile: Likewise. * elf/Makefile: Likewise. - * mach/Makefile: Likewise. - * manual/Makefile: Likewise. - * sysdeps/gnu/Makefile: Likewise. - * sysdeps/mach/hurd/Makefile: Likewise. - * sysdeps/unix/Makefile: Likewise. - * timezone/Makefile: Likewise. - -1998-04-10 Gordon Matzigkeit - - * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to - array index translation. - (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if - these are defined. - - * sysdeps/mach/hurd/Dist: Add errlist.c to distribution. - - * sysdeps/mach/hurd/errlist.c: New file. - (ERR_TRANSLATE): Map Hurd error codes into errlist indices. - (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist - semantics, so rename it. - -1998-04-16 Andreas Schwab - - * iconvdata/run-iconv-test.sh: Make portable. Always test all - conversions. - -1998-04-21 12:30 H.J. Lu - - * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0. - * wcsmbs/wcsnrtombs.c: Likewise. - -1998-04-21 Ulrich Drepper - - * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly. - - * wcsmbs/btowc.c (__btowc): Declare inptr as const char *. - - * time/strftime.c (my_strftime): Initialize pad variable in - declaration. - - * iconvdata/big5.c: Don't use character constants in comparisons - with unsigned value. - -1998-04-20 18:00 Ulrich Drepper - - * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and - __libc_siglongjmp to GLIBC_2.1. - - * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use - __strerror_r. - - * iconv/Makefile: Don't run tests now. - - * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv - with correct output buffer. - - Major rewrite of the low-level gconv functionality. - * iconv/gconv.c: Rewritten. - * iconv/gconv.h: Likewise. - * iconv/gconv_builtin.c: Likewise. - * iconv/gconv_builtin.h: Likewise. - * iconv/gconv_conf.c: Likewise. - * iconv/gconv_int.h: Likewise. - * iconv/gconv_open.c: Likewise. - * iconv/gconv_simple.c: Likewise. - * iconv/iconv.c: Likewise. - * iconvdata/8bit-gap.c: Likewise. - * iconvdata/8bit-generic.c: Likewise. - * iconvdata/Makefile: Likewise. - * iconvdata/big5.c: Likewise. - * iconvdata/cns11643.c: Likewise. - * iconvdata/cns11643.h: Likewise. - * iconvdata/cns11643l1.c: Likewise. - * iconvdata/cns11643l1.h: Likewise. - * iconvdata/ebcdic-at-de-a.c: Likewise. - * iconvdata/ebcdic-at-de.c: Likewise. - * iconvdata/ebcdic-ca-fr.c: Likewise. - * iconvdata/euccn.c: Likewise. - * iconvdata/eucjp.c: Likewise. - * iconvdata/euckr.c: Likewise. - * iconvdata/euctw.c: Likewise. - * iconvdata/gb2312.c: Likewise. - * iconvdata/gb2312.h: Likewise. - * iconvdata/hp-roman8.c: Likewise. - * iconvdata/iso646.c: Likewise. - * iconvdata/iso6937.c: Likewise. - * iconvdata/iso8859-1.c: Likewise. - * iconvdata/iso8859-10.c: Likewise. - * iconvdata/iso8859-2.c: Likewise. - * iconvdata/iso8859-3.c: Likewise. - * iconvdata/iso8859-4.c: Likewise. - * iconvdata/iso8859-5.c: Likewise. - * iconvdata/iso8859-6.c: Likewise. - * iconvdata/iso8859-7.c: Likewise. - * iconvdata/iso8859-8.c: Likewise. - * iconvdata/iso8859-9.c: Likewise. - * iconvdata/jis0201.c: Likewise. - * iconvdata/jis0201.h: Likewise. - * iconvdata/jis0208.c: Likewise. - * iconvdata/jis0208.h: Likewise. - * iconvdata/jis0212.c: Likewise. - * iconvdata/jis0212.h: Likewise. - * iconvdata/johab.c: Likewise. - * iconvdata/koi-8.c: Likewise. - * iconvdata/koi8-r.c: Likewise. - * iconvdata/ksc5601.c: Likewise. - * iconvdata/ksc5601.h: Likewise. - * iconvdata/latin-greek-1.c: Likewise. - * iconvdata/latin-greek.c: Likewise. - * iconvdata/run-iconv-test.sh: Likewise. - * iconvdata/sjis.c: Likewise. - * iconvdata/t61.c: Likewise. - * iconvdata/uhc.c: Likewise. - * wcsmbs/btowc.c: Likewise. - * wcsmbs/mbrtowc.c: Likewise. - * wcsmbs/mbsnrtowcs.c: Likewise. - * wcsmbs/mbsrtowcs.c: Likewise. - * wcsmbs/wcrtomb.c: Likewise. - * wcsmbs/wcsmbsload.c: Likewise. - * wcsmbs/wcsnrtombs.c: Likewise. - * wcsmbs/wcsrtombs.c: Likewise. - * wcsmbs/wctob.c: Likewise. - * iconv/loop.c: New file. - * iconv/skeleton.c: New file. - - * stdlib/mblen.c: Handle empty input string correctly. - * stdlib/mbtowc.c: Likewise. - - * posix/getopt.c: Various cleanups. - - * sysdeps/arm/bits/setjmp.h: Add copyright text. - * sysdeps/i386/bits/setjmp.h: Likewise. - * sysdeps/m68k/bits/setjmp.h: Likewise. - * sysdeps/powerpc/bits/setjmp.h: Likewise. - * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise. - - * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp - and make longjmp weak alias. - -1998-04-18 20:29 Philip Blundell - - * iconv/Makefile (routines): Only include gconv_dl if building for - an ELF system - dynamic linking is not available on a.out. - (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl - due to above check. - * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call - routines from gconv_dl. - -1998-04-17 Gordon Matzigkeit - - * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that - we can compile without libio. - -1998-04-20 16:28 Ulrich Drepper - - * sysdeps/mach/hurd/Subdirs: Remove login. - -1998-04-11 Gordon Matzigkeit - - * db2/compat.h: Include , to make sure we get the - definition of EFTYPE before we define it ourselves. - -1998-04-10 Gordon Matzigkeit - - * sysdeps/generic/bits/socket.h: Protect against multiple inclusion. - * sysdeps/mach/hurd/bits/ioctls.h: Likewise. - Fix typo to allow inclusion from sys/ioctl.h again. - -1998-04-16 Andreas Schwab - - * iconvdata/*.[ch]: Clean up namespace. Optimize character lookup. - -1998-04-16 Andreas Schwab - - * libc.map: Export __strerror_r. Remove _strerror_internal. - -1998-04-16 Andreas Schwab - - * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr. - Also undefine __strcasestr. - -1998-04-16 Andreas Schwab - - * posix/regex.c: Rename __re_max_failures back to re_max_failures, - aliases do not work with global variables due to copy relocations. - -1998-04-20 15:12 Ulrich Drepper - - * manual/creature.texi: Fix type. Patch by Andreas Schwab. - -1998-04-20 13:47 Ulrich Drepper - - * signal/sighold.c: Include stddef.h for NULL definition. - * signal/sigrelse.c: Likewise. - * sysdeps/posix/sigignore.c: Likewise. - * sysdeps/posix/sigset.c: Likewise. - * sysdeps/posix/waitid.c: Likewise. - * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise. - * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise. - * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. - * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX. - Patch by Franz Sirl . - -1998-04-13 Mark Kettenis - - * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h. - * login/getutent.c (getutxent): Remove alias. - * login/getutent_r.c (setutxent, pututxline, endutxent): - Remove aliases. - * login/getutid.c (getutxid): Remove alias. - * login/getutline.c (getutxline): Remove alias. - * login/utmp.h: Add prototypes for __updwtmp, __getutent, - __getutid, __getutline and __pututline. - * login/utmpx.h: Moved to ... - * sysdeps/gnu/utmpx.h: ... here. [__USE_GNU]: Define UTMPX_FILE, - UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname - and updwtmpx. - * login/updwtmp.c: Moved to ... - * sysdeps/generic/updwtmp.c: ... here. (updwtmp): Generalized by - allowing file name transformation. - * sysdeps/gnu/updwtmp.c: New file. Use generic implementation with - additional file name transformation. - * sysdeps/unix/sysv/linux/updwtmp.c: Likewise. - * login/utmp_file.c: Moved to ... - * sysdeps/generic/utmp_file.c: ... here. (setutent_file): - Generalized by allowing file name transformation. Do not - print error message. Library functions should not print them. - Reported by Jim Meyering. - * sysdeps/gnu/utmp_file.c: New file. Use generic implementation - with additional file name transformation. - * sysdeps/unix/sysv/linux/utmp_file.c: Likewise. - * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add - setutxent, getutxent, endutxent, getutxid, getutxid, getutxline, - pututxline, utmpxname and updwtmpx. (sysdep_headers): Add utmpx.h - and bits/utmpx.h. - * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h. - (_PATH_UTMPX): Define to _PATH_UTMP. (_PATH_WTMPX): Define to - _PATH_WTMPX. (RUN_LVL): Define only if __USE_GNU. (ACCOUNTING): - Define if __USE_GNU. - * sysdeps/generic/setutxent.c: New file. - * sysdeps/generic/getutxent.c: New file. - * sysdeps/generic/endutxent.c: New file. - * sysdeps/generic/getutxid.c: New file. - * sysdeps/generic/getutxline.c: New file. - * sysdeps/generic/pututxline.c: New file. - * sysdeps/generic/utmpxname.c: New file. - * sysdeps/generic/updwtmpx.c: New file. - * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove. - * sysdeps/generic/bits/utmpx.h: Remove. - -1998-04-20 Ulrich Drepper - - * posix/wordexp-test.c (main): Initialize ifs element of ts for - ~root test. - -1998-04-17 07:53 H.J. Lu - - * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo. - -1998-04-17 11:32 Ulrich Drepper - - * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st - variable using _G_stat64. - * libio/fileops.c: Remove macro definition of fstat, it is in the - global header. - Reported by Thorsten Kukuk . - -1998-04-17 Philip Blundell - - * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox - . - -1998-04-16 Philip Blundell - - * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro, - required by IPv6 Basic API. - (IN6_IS_ADDR_MC_LINKLOCAL): Likewise. - (IN6_IS_ADDR_MC_SITELOCAL): Likewise. - (IN6_IS_ADDR_MC_ORGLOCAL): Likewise. - (IN6_IS_ADDR_MC_GLOBAL): Likewise. - -1998-04-15 16:41 Ulrich Drepper - - Don't name internal representation since it might be different from - the external form (namely on little endian machines). - * iconv/gconv_builtin.h: Add UCS4 support. Change references to - UCS4 into references to INTERNAL. - * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters. - Add endianess support to UCS functions. Change references to - UCS4 into references to INTERNAL. - * iconv/gconv_int.h: Change references to UCS4 into references to - INTERNAL. - * iconv/iconv_prog.c: Don't mention INTERNAL in --list output. - * iconvdata/gconv-modules: Change accordingly. - * wcsmbs/wcsmbsload.c: Change names to use INTERNAL. - - * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer - overflow. - * iconvdata/8bit-gap.c: Likewise. - * iconvdata/8bit-generic.c: Likewise. - * iconvdata/big5.c: Likewise. - * iconvdata/euccn.c: Likewise. - * iconvdata/eucjp.c: Likewise. - * iconvdata/euckr.c: Likewise. - * iconvdata/euctw.c: Likewise. - * iconvdata/iso646.c: Likewise. - * iconvdata/iso6937.c: Likewise. - * iconvdata/iso8859-1.c: Likewise. - * iconvdata/johab.c: Likewise. - * iconvdata/sjis.c: Likewise. - * iconvdata/t61.c: Likewise. - * iconvdata/uhc.c: Likewise. - - * iconvdata/8bit-gap.c: Correct access to to_ucs4 array. - * iconvdata/8bit-generic.c: Likewise. - - * iconvdata/TESTS: Add more tests. - - * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used. - -1998-04-15 11:47 Ulrich Drepper - - * iconvdata/Makefile: Better rules to run tests. - - * iconvdata/testdata/ISO-8859-1..UTF8: New file. - * iconvdata/testdata/ISO-8859-10: Likewise. - * iconvdata/testdata/ISO-8859-10..UCS2: Likewise. - * iconvdata/testdata/ISO-8859-2: Likewise. - * iconvdata/testdata/ISO-8859-2..UCS4: Likewise. - * iconvdata/testdata/ISO-8859-2..UTF8: Likewise. - * iconvdata/testdata/ISO-8859-3: Likewise. - * iconvdata/testdata/ISO-8859-4: Likewise. - * iconvdata/testdata/ISO-8859-5: Likewise. - * iconvdata/testdata/ISO-8859-6: Likewise. - * iconvdata/testdata/ISO-8859-7: Likewise. - * iconvdata/testdata/ISO-8859-8: Likewise. - * iconvdata/testdata/ISO-8859-9: Likewise. - -1998-04-15 Ulrich Drepper - - * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare - intermediate result (if available). - - * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in - last change. - - * iconvdata/Makefile: Add rules to run run-iconv-test.sh. - (distribute): Add run-iconv-test.sh and testdata/*. - - * stdlib/testmb.c (main): Simplify mbc array handling. - -1998-04-14 Andreas Schwab - - * elf/dl-minimal.c (__strtol_internal): Correct range check. Fix - return value on overflow. - -1998-04-14 Andreas Schwab - - * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64 - bits. - -1998-04-14 Andreas Schwab - - * malloc/mtrace.c (mtrace): Use standard function setvbuf instead - of non-standard function setbuffer. - -1998-04-15 Andreas Jaeger - - * stdio-common/perror.c: Include for __strerror_r. - -1998-04-14 23:54 Ulrich Drepper - - * iconvdata/Makefile: Add rules to run tests. - * iconvdata/TESTS: New file. - * iconvdata/run-iconv-test.sh: New file. - * iconvdata/testdata/ISO-8859-1: New file. - - * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream, - not stdout. - -1998-04-14 18:22 Ulrich Drepper - - * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize - counter element of step. - - * iconv/gconv_dl.c: Don't mark get_sym as internal function. - - * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop - termination test. - (__gconv_transform_ucs4_utf8): Likewise. Remove unnecessary variable - ACTUALLY. - (__gconv_transform_utf8_ucs4): Correct test for empty input. - -1998-04-14 Ulrich Drepper - - * Makefile: Include makeconfig before defining rule to regenerate - configure files. - - * configure.in: Remove restriction on compiling without static - libs. - -1998-04-14 16:34 Ulrich Drepper - - * test-skeleton.c: Provide hook for initializing code before the fork. - * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always - removed. - - * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup. - * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all. - * libio/libioP.h: Adopt _IO_cleanup prototype. - - * stdlib/Makefile (tests): Add test-canon2. - * stdlib/test-canon2.c: New file. - * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to - be NULL. Use __lxstat, not __lstat. Correctly recognize long - symlink sequences. - (__realpath): Make real function which checks RESOLVED parameter for - not being NULL. - -1998-04-14 Ulrich Drepper - - * catgets/open_catalog.c (__open_catalog): Fix problems with - reading non-files. Always close file. - Reported by Cristian Gafton . - - * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings. - -1998-04-14 13:28 Ulrich Drepper - - * libc.map: Add various low-level I/O functions. - -1998-04-14 10:35 Ulrich Drepper - - * string/Makefile (routines): Remove strerror_r. - * string/strerror_r.c: Removed. - * string/strerror.c: Call __strerror_r for doing the real work. - * sysdeps/generic/_strerror.c: Rename function to __strerror_r and - add weak alias strerror_r. - * sysdeps/mach/_strerror.c: Likewise. - * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal. - * elf/dl-error.c (_dl_signal_error): Likewise. - * elf/dl-profile.c (_dl_start_profile): Likewise. - * gmon/gmon.c (write_gmon): Likewise. - * stdio-common/perror.c: Likewise. - * stdio-common/vfprintf.c: Likewise. - -1998-04-10 Mark Kettenis - - * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] - (sysdep_headers): Add netatalk/at.h. - -1998-04-12 Andreas Schwab - - * manual/socket.texi, manual/creature.texi, manual/time.texi: - Formatting fixes. - -1998-04-13 Andreas Schwab - - * posix/regex.c: Rename __re_syntax_options back to - re_syntax_options, aliases do not work with global variables due - to copy relocations. - (regex_compile): Use syntax parameter instead of - re_syntax_options. - -1998-04-14 Andreas Jaeger - - * configure.in: Document that enable-force-install is default. - -1998-04-13 Ulrich Drepper - - * sysdeps/posix/mktemp.c: Increment `value' in a way which touches - all needed 36 bits. - * sysdeps/posix/mkstemp.c: Likewise. - -1998-04-13 17:40 Ulrich Drepper - - * iconvdata/8bit-gap.c: Simplify step data handling. - * iconvdata/8bit-generic.c: Likewise. - * iconvdata/big5.c: Likewise. - * iconvdata/euccn.c: Likewise. - * iconvdata/eucjp.c: Likewise. - * iconvdata/euckr.c: Likewise. - * iconvdata/euctw.c: Likewise. - * iconvdata/iso6937.c: Likewise. - * iconvdata/iso8859-1.c: Likewise. - * iconvdata/jis0208.h: Likewise. - * iconvdata/jis0212.c: Likewise. - * iconvdata/jis0212.h: Likewise. - * iconvdata/johab.c: Likewise. - * iconvdata/ksc5601.h: Likewise. - * iconvdata/sjis.c: Likewise. - * iconvdata/t61.c: Likewise. - * iconvdata/uhc.c: Likewise. - -1998-04-13 16:36 Ulrich Drepper - - * manual/texinfo.texi: Updated from last version. - -1998-04-13 14:52 Ulrich Drepper - - * iconvdata/cns11643.c: New file. - * iconvdata/cns11643.h: New file. - * iconvdata/cns11643l1.c: New file. - * iconvdata/cns11643l1.h: New file. - * iconvdata/euctw.c: New file. - * iconvdata/Makefile: Add rules for EUC-TW and CNS. - * iconvdata/gconv-modules: Likewise. - - * iconvdata/eucjp.c: Several bug fixes and improvements. - * iconvdata/gb2312.h: Likewise. - * iconvdata/jis0201.h: Likewise. - * iconvdata/jis0208.h: Likewise. - * iconvdata/jis0212.h: Likewise. - -1998-04-13 09:11 Ulrich Drepper - - * iconvdata/eucjp.c: New file. - * iconvdata/euccn.c: New file. - * iconvdata/gb2312.h: New file. - * iconvdata/gb2312.c: New file. - * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN. - * iconvdata/gconv-modules: Likewise. - - * iconvdata/euckr.c: Use stdint.h instead of inttypes.h. - -1998-04-12 Ulrich Drepper - - * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c - (DL_FIND_ARG_COMPONENTS): Always initialize auxv. - Patch by Mark Hatle . - -1998-04-12 22:47 Philip Blundell - - * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct - comment. - (PF_AAL5, AF_AAL5): Rename to *_ATMPVC. - (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added. - -1998-04-12 Ulrich Drepper - - * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations. - - * iconvdata/Makefile: Add rules for big5 conversion. - * iconvdata/gconv-modules: Likewise. - * iconvdata/big5.c: New file. - - * time/mktime.c (TYPE_MAXIMUM): Add missing cast. - Patch by Jim Meyering. - -1998-04-11 Ulrich Drepper - - * rt/tst-aio.c: Add test for aio_read and lio_listio. - - * rt/lio_listio.c: Correct total counter handling. - - * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements - from request queue. - - * test-skeleton.c (main): Make stdout unbuffered. Improve message - of signal on exit even more. - - * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER - instead of call to pthread_cond_init. - * rt/lio_listio.c (lio_listio): Likewise. - * rt/lio_listio64.c (lio_listio64): Likewise. - - * nis/nis_findserv.c: Include sys/socket.h. - -1998-04-11 09:33 Ulrich Drepper - - * Makeconfig (rtobjdir): New variable. - (rpath-link): Add rtobjdir and thread directory, if available. - - * test-skeleton.c: Add support to remove temporary files. - Always define test_dir. Improve message about expected signal. - - * rt/Makefile (tests): Add tst-aio. - Add rules for tst-aio to be linked with librt and thread library. - * rt/aio_misc.c: Correct fundamental bugs. - * rt/aio_suspend.c: Correct bug in test for available request. - Initialize conditional variable. - * rt/lio_listio.c: Initialize conditional variable. - * rt/lio_listio64.c: Likewise. - * rt/tst-aio.c: New file. - - * sysdeps/libm-ieee754/s_signgam.c: Undo last change. - * sysdeps/libm-ieee754/w_gamma.c: Likewise. Adopt for ISO C 9x. - * sysdeps/libm-ieee754/w_gammaf.c: Likewise. - * sysdeps/libm-ieee754/w_gammal.c: Likewise. - * sysdeps/libm-ieee754/w_lgamma.c: Likewise. - * sysdeps/libm-ieee754/w_lgammaf.c: Likewise. - * sysdeps/libm-ieee754/w_lgammal.c: Likewise. - -1998-04-11 14:49 Mark Kettenis - - * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0. - -1998-04-10 Ulrich Drepper - - * elf/dl-load.c (open_path): Use correct name for test whether - directory in load path exists. - - * sysdeps/libm-ieee754/s_expm1.c: Remove variable one. - * sysdeps/libm-ieee754/e_pow.c: Fix typo. - Patches by Tom Rini . - - * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal. - * wcsmbs/wcstod_l.c: Likewise. - * wcsmbs/wcstold_l.c: Likewise. - - * include/byteswap.h: New file. - - * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce - .bss segment size. Patch by Joe Keane . - - * inet/getnameinfo.c (getnameinfo): Change parameter to match - declaration. Patch by Richard Henderson. - -1998-04-10 12:40 Zack Weinberg - - * manual/process.texi (SIGCHLD example): Save errno. - -1998-04-09 Ulrich Drepper - - * posix/regex.c: Define regerror really as __regerror. - * posix/regex.h: Add __ protected prototypes for regcomp, regexec, - regerror and regfree. - - * stdlib/strtof_l.c: Declare ____strtoull_l_internal. - * stdlib/strtod_l.c: Likewise. - * stdlib/strtold_l.c: Likewise. - - * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros. - - * sysdeps/i386/i486/bits/string.h: Remove unused variables. - - * misc/syslog.c (closelog_internal): Set LogTag to NULL. - Patch by Christian Gafton. - -1998-04-09 14:27 Ulrich Drepper - - * manual/socket.texi (Interface Naming): Correct @deftypefun line - for if_indextoname. - -1998-04-07 Andreas Jaeger - - * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message. - - * manual/socket.texi (Interface Naming): Fix typo. - -1998-04-07 Andreas Jaeger - - * manual/examples/filesrv.c (main): Remove filename first. - - * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE, - ?F_UNIX. - - * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL - instead of PF_UNIX. - - * manual/examples/filecli.c (main): Use AF_LOCAL - instead of AF_UNIX. - -1998-04-09 Ulrich Drepper - - * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make - signgam weak alias. - * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam. - * sysdeps/libm-ieee754/w_lgammaf.c: Likewise. - * sysdeps/libm-ieee754/w_lgammal.c: Likewise. - * sysdeps/libm-ieee754/w_gamma.c: Likewise. - * sysdeps/libm-ieee754/w_gammaf.c: Likewise. - * sysdeps/libm-ieee754/w_gammal.c: Likewise. - - * login/utmp_daemon.c (open_socket): Use __connect not connect. - -1998-04-08 Andreas Schwab - - * configure.in: Add new option --enable-force-install. Substitute - force_install. - * config.make.in (force-install): Set from configure. - * Makerules (force-install): New phony target. - * Makeconfig (+force): New variable. - * Makefile: Use it in dependency list of installation targets. - * db/Makefile: Likewise. - * db2/Makefile: Likewise. - * elf/Makefile: Likewise. - * hurd/Makefile: Likewise. - * iconv/Makefile: Likewise. - * iconvdata/Makefile: Likewise. - * intl/Makefile: Likewise. - * localedata/Makefile: Likewise. - * login/Makefile: Likewise. - * po/Makefile: Likewise. + * extra-lib.mk: Likewise. + * gmon/Makefile: Likewise. + * nis/Makefile: Likewise. + * nss/Makefile: Likewise. + * resolv/Makefile: Likewise. + * rpm/Makefile: Likewise. * sunrpc/Makefile: Likewise. - * sysdeps/mach/hurd/Makefile: Likewise. - * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise. - * sysdeps/unix/sysv/linux/Makefile: Likewise. - * timezone/Makefile: Likewise. + * sysdeps/sparc/elf/Makefile: Likewise. + * sysdeps/sparc64/elf/Makefile: Likewise. + * sysdeps/unix/sysv/linux/sparc/Makefile: Likewise. + (ASFLAGS-.os): Renamed from as-FLAGS.os. -1998-04-08 Andreas Schwab +1997-08-14 03:14 Ulrich Drepper - * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default - alloc_size. Pass return value of getcwd syscall to realloc. + * elf/dl-minimal.c: Don't use relative #include paths. + (malloc): Don't try to initialize _dl_pagesize, it already is. + (__sigjmp_save, longjmp): Reformat. -1998-04-08 Andreas Schwab + * sysdeps/generic/dl-sysdep.c: Implement _dl_show_auxv function to + show content of auxiliary array. + (_dl_sysdep_start): Remember start of auxiliary vector. + * sysdeps/mach/hurd/dl-sysdep.c: (_dl_show_auxv): New dummy function. + * elf/link.h: Add prototype for _dl_show_auxv. + * elf/rtld.c (dl_main): Call _dl_show_auxv if LD_SHOW_AUXV envvar + is present. - * manual/socket.texi: Spelling fixes. + * libio/iofdopen.c: Better prepare for use in libstdc++. + * libio/iofflush.c: Likewise. + * libio/iofgetpos.c: Likewise. + * libio/iofgets.c: Likewise. + * libio/iofopen.c: Likewise. + * libio/iofputs.c: Likewise. + * libio/iofread.c: Likewise. + * libio/iofsetpos.c: Likewise. + * libio/ioftell.c: Likewise. + * libio/iofwrite.c: Likewise. + * libio/iogetdelim.c: Likewise. + * libio/iogets.c: Likewise. + * libio/iopopen.c: Likewise. + * libio/ioputs.c: Likewise. + * libio/iosetbuffer.c: Likewise. + * libio/iosetvbuf.c: Likewise. + * libio/ioungetc.c: Likewise. + * libio/iovsprintf.c: Likewise. + * libio/iovsscanf.c: Likewise. -1998-04-08 Andreas Schwab + * manual/creature.texi: Mention _XOPEN_SOURCE_EXTENDED in correct + place. - * elf/dl-load.c (print_search_path): Remove unused variable. + * manual/math.texi: Add comment to sincos decsription to say it's a + GNU extension. + Fix description of random function. -1998-04-08 Ulrich Drepper + * posix/fnmatch.h: Recognize Windog by _WINDOWS32 not WIN32. + * posix/glob.c: Likewise. Handle stupid system headers on SunOS. + Add casts for all __alloca calls. + * posix/glob.h: Recognize Windog by _WINDOWS32 not WIN32. + Declare additional GLOB_* constants also if _GNU_SOURCE is defined. + Patches by Paul D. Smith . - * login/utmp_file.c: use __ftruncate not ftruncate. - * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name - for system call and make ftruncate weak alias. - * posix/unistd.h: Add prototype for __ftruncate. - * login/utmp_daemon.c (open_socket): Use __socket not socket. - * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv - instead of snprintf and readv. - * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not - snprintf. - * stdlib/strtod.c: Call strtoull/wcstoull's internal functions - directly. + * stdio-common/_itoa.c: Don't use relateive #include paths. -1998-04-08 20:06 Ulrich Drepper + * sysdeps/i386/fpu/bits/mathinline.h: Enable optimizations even for + gcc 2.7. + (atan): Loading 1.0 from memory does not pay off. + (asinh): Fix typo. - * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath. - * iconv/gconv_db.c: Use __ protected regex functions. - * iconv/gconv_simple.c: Use __mbsinit not mbsinit. - * posix/getopt_init.c: Use __getpid not getpid. - * posix/regex.c: Rename all global functions to start with __ and - make old names weak aliases. - * posix/regex.h: Adopt prototypes for this. - * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name - a weak alias and use __getcwd instead of getcwd. - * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name. - * stdlib/strtod.c: Use __btowc instead of btowc. - * stdlib/strtol.c: Likewise. - * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr. - * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr - and sys_errlist are weak. - * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias. - * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit. - * wcsmbs/mbsnrtowcs.c: Likewise. - * wcsmbs/mbsrtowcs.c: Likewise. - * wcsmbs/wcsnrtombs.c: Likewise. - * wcsmbs/wcsrtombs.c: Likewise. - * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit - weak alias. - * wcsmbs/wchar.h: Declare __btowc and __mbsinit. - * wctype/wctype.c: Define function as __wctype and make wctype - weak alias. - * wctype/wctype.h: Declare __wctype. +1997-08-13 09:44 Philip Blundell -1998-04-08 Ulrich Drepper + * sysdeps/stub/accept.c: Use socklen_t where necessary. + * sysdeps/stub/bind.c: Likewise. + * sysdeps/stub/connect.c: Likewise. + * sysdeps/stub/getsockname.c: Likewise. + * sysdeps/stub/getsockopt.c: Likewise. + * sysdeps/stub/recvfrom.c: Likewise. + * sysdeps/stub/sendto.c: Likewise. + * sysdeps/stub/setsockopt.c: Likewise. - * stdio-common/vfscanf.c: Perform test in %l[ handling correctly. +1997-08-11 Andreas Schwab -1998-04-07 Andreas Schwab + * io/ftw.c (object_compare): Avoid memcmp when comparing scalar + types. - * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to - stat64. - (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean +1997-08-12 Andreas Schwab + + * math/libm-test.c (cbrt_test): Add epsilon for long double to + `cbrt (-0.001)'. + +1997-08-11 Andreas Schwab + + * sysdeps/stub/bits/string.h: Fix comment. + +1997-08-01 Andreas Schwab + + * elf/Makefile (routines): Remove dl-version. + (dl-routines): Add it here instead. This removes dead code from + libc.so. + +1997-08-12 17:17 Wolfram Gloger + + * malloc/thread-m.h (thread_atfork, thread_atfork_static): New + macros to encapsulate pthread_atfork's functionality. + * malloc/malloc.c (ptmalloc_lock_all, ptmalloc_unlock_all): New + functions, registered via thread_atfork in the initialization + routine or via thread_atfork_static in global scope. This + ensures a consistent state of all locks across fork(). + +1997-08-11 23:00:32 1997 Mark Kettenis + + * login/programs/xtmp.c (compare_entry): + Partially undo patch made by Klaus Espenlaub. There + was no xtmp/utmp typo. Added comment to cclarify this. + * login/programs/xtmp.h: Likewise. + + * posix/getopt.c: Recognize Windog by _WINDOWS32 not WIN32. + Patch by Paul D. Smith . + +1997-08-12 13:51 Ulrich Drepper + + * login/getutid.c: Rename to __getutid and make getutid and getutxid + weak aliases. + Patch by ir. Mark M._Kettenis . + +1997-08-11 23:55 Ulrich Drepper + + * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers): + Add bits/mman.h. + +1997-08-11 08:51:21 1997 H.J. Lu + + * stdlib/fmtmsg.c (fmtmsg): Add static to + __libc_once_define macro. + + * libc.map (__progname_full, __progname): Added. + +1997-08-04 08:31 H.J. Lu + + * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Return 0 + if SIOGIFINDEX is not defined. + (if_indextoname): Initialize "result" to NULL. + (if_nametoindex, if_nameindex): Fix ENOSYS setting. + +1997-08-11 11:58 Richard Henderson + + Sparc ISO C 9x exception handling: + * sysdeps/sparc/fpu/bits/mathdef.h: New file. + * sysdeps/sparc/fpu/fclrexcpt.c: New file. + * sysdeps/sparc/fpu/fegetenv.c: New file. + * sysdeps/sparc/fpu/fegetround.c: New file. + * sysdeps/sparc/fpu/feholdexcpt.c: New file. + * sysdeps/sparc/fpu/fesetenv.c: New file. + * sysdeps/sparc/fpu/fesetround.c: New file. + * sysdeps/sparc/fpu/feupdateenv.c: New file. + * sysdeps/sparc/fpu/fgetexcptflg.c: New file. + * sysdeps/sparc/fpu/fraiseexcpt.c: New file. + * sysdeps/sparc/fpu/fsetexcptflg.c: New file. + * sysdeps/sparc/fpu/ftestexcept.c: New file. + * sysdeps/sparc/sparc32/fpu/bits/fenv.h: New file. + * sysdeps/sparc/sparc64/fpu/bits/fenv.h: New file. + +1997-08-11 11:58 Richard Henderson + + Sparc64 merge: + * configure.in: Change up subdirectories, rename sparc8->sparcv8. + + * csu/Makefile: Nuke need-nopic-initfini bits. The problem was + that sparc64 ld did not recognize pic relocs at all. + + * elf/dl-deps.c: Include . + * elf/do-rel.h (elf_dynamic_do_rel): Take reloc address and size + directly instead of the DT names to get them from. + * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): New macro distilled + from ELF_DYNAMIC_DO_REL{,A}. Define a second version that accounts + for the possibility that DT_RELA and DT_JMPPLT overlap, as such is + the case on the Sparc. + + * elf/elf.h: Stub out Elf64_Ver*, and make them the same as the + Elf32_Ver* bits. The linker does not even know to differentiate + between the word sizes. Someone should examine this and figure + out what the proper sizes of things should be for 64-bit hosts + before the sparc64 libraries are distributed. + + * shlib-versions: Rename sparc64 ld.so to not conflict with sparc32 + on the same machine. + + Move old sysdeps/sparc contents to sysdeps/sparc/sparc32, + rename sparc8 subdir to sparcv8, move sysdeps/sparc64 content to + sysdeps/sparc/sparc64. Same for sysdeps/unix/sysv/linux/sparc. + + * sysdeps/sparc/Implies: Do ieee754 here. + * sysdeps/sparc/configure.in: Move from sparc32/. + * sysdeps/sparc/sparc32/Implies: Do wordsize here. + * sysdeps/sparc/sparc64/Implies: Likewise. + + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_load_address): + Use uninitialized .got to find load address instead of AT_BASE, as + the later does not exist when running ld.so directly. + + * sysdeps/sparc/sparc32/fpu/fpu_control.h: Move from ../. + * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise. + + * sysdeps/sparc/sparc32/udiv_qrnnd.S: Clean up PIC support. + + * sysdeps/sparc/sparc64/Makefile (sysdep_routines): Add s_finitel + and s_signbitl for stdio. + * sysdeps/sparc/sparc64/configure.in: Remove, we no longer need + nopic_initfini. + + * sysdeps/sparc/sparc64/bsd-_setjmp.S: Remove. + * sysdeps/sparc/sparc64/bsd-setjmp.S: Remove. + * sysdeps/unix/sysv/linux/sparc/sparc64/bsd-_setjmp.S: New empty file. + * sysdeps/unix/sysv/linux/sparc/sparc64/bsd-setjmp.S: New empty file. + * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add __longjmp alias. + * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Add weak _setjmp + and setjmp entry points. + + * sysdeps/sparc/sparc64/dl-machine.h: Finish real implementation. + + * sysdeps/sparc/sparc64/elf/crtbegin.S: Add copyright, fix PIC. + * sysdeps/sparc/sparc64/elf/crtend.S: Likewise. + + * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (struct sigaction): + Fix sa_flags size for sparc64; add sa_restorer for kernel. + + * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Fix PIC. + * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. + + * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: New file. + +1997-08-10 18:29:08 1997 Mark Kettenis + + * login/login.c (login): Check for correct return value of + utmpname. + +1997-08-11 16:49 Ulrich Drepper + + * time/tzset.c (__tzset_internal): Correctly handle TZ strings + following incorrect old POSIX specs. + Patch by Paul Eggert . + + * sysdeps/generic/bits/sigaction.h: Correct comment for SA_RESTART. + * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise. + Reported by NIIBE Yutaka . + +1997-08-09 Andreas Schwab + + * manual/math.texi: Define the macros @mul and @infinity and use + them to format the multiplication and infinity signs. + (FP Comparison Functions): Use @code, not @math, for C code + examples. + +1997-08-10 18:48 Ulrich Drepper + + * Makeconfig: Define build-programs to no if not set and $(config-os) + is none. + * Makerules (+depfiles): Don't add $(others) if not build-programs. + * Rules (others): Don't depend on $(install-bin), $(install-rootbin) + and $(install-sbin) if not build-programs. + * Makefile (subdirs): Remove login. + * sysdeps/mach/hurd/Subdirs: Add login. + * sysdeps/unix/Subdirs: Add login. + + * sysdeps/generic/sys/mman.h: Test feature macros before defining + non-POSIX things. Add MAP_FAILED. + * sysdeps/unix/bsd/osf/sys/mman.h: Likewise. + * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise. + * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise. + * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise. + * sysdeps/unix/sysv/linux/sys/mman.h: Rewrite to not use kernel header + but bits/mman.h. Test feature macros before definitions non-POSIX functions. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias - for __llseek. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/llseek.c: Likewise. - * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and - make it a weak alias. - * posix/unistd.h: Declare __lseek64. + * sysdeps/unix/sysv/linux/alpha/bits/mman.h: New file. + * sysdeps/unix/sysv/linux/i386/bits/mman.h: New file. + * sysdeps/unix/sysv/linux/m68k/bits/mman.h: New file. + * sysdeps/unix/sysv/linux/mips/bits/mman.h: New file. + * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: New file. + * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file. + * sysdeps/unix/sysv/linux/sparc64/bits/mman.h: New file. + * sysdeps/unix/sysv/linux/alpha/Dist: Add bits/mman.h. + * sysdeps/unix/sysv/linux/i386/Dist: Likewise. + * sysdeps/unix/sysv/linux/m68k/Dist: Likewise. + * sysdeps/unix/sysv/linux/mips/Dist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise. + * sysdeps/unix/sysv/linux/sparc/Dist: Likewise. + * sysdeps/unix/sysv/linux/sparc64/Dist: New file. Likewise. - * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function. - (_IO_file_stat): Fix typo. - (_IO_file_xsgetn): Update fd->_offset. Read a multiple of the - block size from the file. Use __mempcpy if _LIBC. + * catgets/open_catalog.c (__open_catalog): Compare result of mmap + with MAP_FAILED and not -1. + * elf/dl-load.c (_dl_map_object_from_fd): Likewise. + * elf/dl-minimal.c (malloc): Likewise. + * elf/dl-misc.c (_dl_sysdep_read_whole_file): Likewise. + * locale/loadlocale.c (_nl_load_locale): Likewise. + * locale/programs/localedef.c: Likewise. + * malloc/malloc.c (mmap_chunk): Likewise. + (new_heap): Likewise. + * string/stratcliff.c: Likewise. + * string/tester.c: Add tests for stpcpy. -1998-04-07 20:32 Ulrich Drepper + * gmon/gmon.c (__monstartup): Use calloc instead of malloc+memset. - * wcsmbs/btowc.c: Fix dozends of bugs in untested code. - * wcsmbs/mbrtowc.c: Likewise. - * wcsmbs/mbsnrtowcs.c: Likewise. - * wcsmbs/mbsrtowcs.c: Likewise. - * wcsmbs/wcrtomb.c: Likewise. - * wcsmbs/wcsnrtombs.c: Likewise. - * wcsmbs/wcsrtombs.c: Likewise. - * wcsmbs/wctob.c: Likewise. + * gmon/sys/gmon.h: Add prototype for write_profiling. - * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute - position of next output character correctly. - (__gconv_transform_ucs4_ascii): Count used input bytes correctly. + * elf/dl-profile.c: Add descriptions and implement reading of + existing data in profiling file. + * gmon/sys/gmon_out.h (GMON_SHOBJ_VERSION): New macro for shared + lib profiling data. - * stdio-common/vfprintf.c (vfprintf): Clear state before used. + * sysdeps/stub/bits/libc-lock.h (__libc_once_define): Add new first + parameter for class. - * stdlib/strtod.c: Don't use mbtowc. + * inet/inet_ntoa.c: Make once control variable static. + Correctly handle case where key cannot be retrieved. + * inet/Makefile (tests): Add tst-ntoa. + * inet/tst-ntoa.c: New file. -1998-04-07 19:07 H.J. Lu + * manual/time.texi: Document localtime_r, gmtime_r, asctime_r, and + ctime_r. + Mention that tzname values must not be changed. - * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when - what we want is smaller than a buffer. + * manual/users.texi: Document UTMP/WTMP handling functions. + Mainly written by Mark Kettenis. -1998-04-07 18:14 Ulrich Drepper + * math/libm-test.c (cbrt_test): Add test for number with aboslute + value < 1.0. - * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of - this function. + * nss/nss_files/files-XXX.c (internal_setent): If opening of file + failed with EGAIN return NSS_STATUS_TRYAGAIN. + * nss/nss_files/files-alias.c (internal_setent): Likewise. -1998-04-07 Ulrich Drepper + * sysdeps/generic/bits/utmp.h: Pretty print. - * configure.in: Recognize --with-headers flag and determine - commandline options to be used in compilation. - * Makeconfig (+includes): Use $(sysincludes). - * config.make.in (sysincludes): Define from SYSINCLUDES. - * glibcbug.in: Use SYSINCLUDES information. - Patches by Zack Weinberg. + * sysdeps/i386/i586/strcpy.S: New file. Much faster implementation. + * sysdeps/i386/i586/stpcpy.S: New file. + * sysdeps/i386/i686/Implies: Don't fall back on i586 versions since + these are less efficient than i486/i386 versions. -1998-04-07 19:03 Zack Weinberg + * sysdeps/libm-i387/e_rem_pio2.c: Add empty file to prevent the + version from libm-ieee754 be compiled since the later is not needed. + * sysdeps/libm-i387/e_rem_pio2f.c: Likewise. + * sysdeps/libm-i387/e_rem_pio2l.c: Likewise. + * sysdeps/libm-i387/k_rem_pio2.c: Likewise. + * sysdeps/libm-i387/k_rem_pio2f.c: Likewise. + * sysdeps/libm-i387/k_rem_pio2l.c: Likewise. + * sysdeps/m68k/fpu/e_rem_pio2.c: Likewise. + * sysdeps/m68k/fpu/e_rem_pio2f.c: Likewise. + * sysdeps/m68k/fpu/e_rem_pio2l.c: Likewise. + * sysdeps/m68k/fpu/k_rem_pio2.c: Likewise. + * sysdeps/m68k/fpu/k_rem_pio2f.c: Likewise. + * sysdeps/m68k/fpu/k_rem_pio2l.c: Likewise. - * glibcbug.in: On linux, report version of kernel headers seen - by compiler. + * sysdeps/libm-i387/s_cbrt.S: Fix several bugs. + * sysdeps/libm-i387/s_cbrtf.S: Likewise. + * sysdeps/libm-i387/s_cbrtl.S: Likewise. -1998-04-07 16:18 Ulrich Drepper + * sysdeps/unix/sysv/linux/if_index.c (if_indextoname): Correct + little bug. - * libc.map: Add __asprintf to GLIBC_2.1. - * elf/dlerror.c: Use __asprintf, not asprintf. - * libio/stdio.h: Declare __asprintf. - * stdio-common/asprintf.c: Define as __asprintf and make asprintf - a weak alias. + * sysdeps/unix/sysv/linux/bits/socket.h (struct msghdr): Make field + msg_iovlen of type int. - * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends) - to avoid inclusion from libc_pic.a. + * time/tzfile.c: Change return type of __tzstring to char *. + * time/tzset.c: Likewise. Change definition of __tzstring. - * elf/dl-runtime.c: Undo last patch. + * time/tzset.c: Interpret no DST information in user provided time + zone specification as it is meant: no DST. + Patch by Paul Eggert . - * stdlib/strtod.c: Don't use mbtowc, use btowc. +1997-07-20 03:01 Geoff Keating - * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386" - as default, use NULL. + * sysdeps/elf/dl-load.c (add_name_to_object): New procedure. + (_dl_map_object_from_fd): Use add_name_to_object. + (_dl_map_object): If an object's SONAME is used to resolve a + dependency, add it to the list of the object's names. -1998-04-04 Andreas Jaeger + * inet/getnameinfo.c: Make `domain' non-const. - * resolv/Makefile: Include ../Makeconfig - needed for building - static NSS module. + * sysdeps/unix/sysv/linux/powerpc/kernel_termios.c: Clean up. -1998-04-04 Andreas Jaeger + * math/test-fenv.c (feenv_nomask_test): Don't execute if + FE_NOMASK_ENV is not defined, or if fesetenv(FE_NOMASK_ENV) + sets errno to ENOSYS. - * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for - static-nss since we don't want hesiod in the static NSS. + * sysdeps/powerpc/dl-machine.h: Print proper error message on + unknown reloc type (rather than using assert). - * nss/Makefile: Build only nss_files as static. + * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: New file. + * sysdeps/unix/sysv/linux/powerpc/profil.c: Deleted. - * nss/function.def: Remove support for service db. +1997-07-16 12:47 Geoff Keating -1998-04-04 09:44 H.J. Lu + * sysdeps/powerpc/bits/fenv.h (feraiseexcept): New optimising macro. + (feclearexcept): New optimising macro. + (FE_NOMASK_ENV): Change to procedure so it can enable exceptions. + (FE_ENABLED_ENV): Add. + (FE_NONIEEE_ENV): Add. + * sysdeps/powerpc/bits/fenv_const.c: Add __fe_enabled_env, + __fe_nonieee_env; delete __fe_nomask_env. + * sysdeps/powerpc/bits/fe_nomask.c: New file (stub warning until it + gets implemented in the kernel). - * Makeconfig (CPPFLAGS-.oS): Add -DPIC. + * sysdeps/powerpc/fraiseenv.c: Deal with chips that don't have + FE_INVALID_SOFTWARE implemented. Use macros for bit names for clarity. + * sysdeps/powerpc/fsetexcptflag.c: Likewise. -1998-04-04 18:29 Tim Waugh + * io/ftw.c: Don't compare holes in structures. + * sysdeps/unix/sysv/linux/sys/sysmacros.h: Cast the result of the + macros to `int', because otherwise it might be `long long' which + the calling code is probably not expecting. - * posix/wordexp-test.c: Make IFS per test-case. + * sysdeps/libm-ieee754/s_lround.c [NO_LONG_DOUBLE]: Fix a few bugs, + document the existence of some more. -1998-04-07 17:50 Zack Weinberg + * sysdeps/powerpc/s_llrint.c: New file. + * sysdeps/powerpc/s_lrint.c: New file. + * sysdeps/powerpc/s_llround.c: New file. + * sysdeps/powerpc/s_lround.c: New file. - * glibcbug.in: Report version of gcc in use. Remove unused variable - ENVIRONMENT. + * sysdeps/powerpc/s_sqrt.c: New file. + * sysdeps/powerpc/s_sqrtf.c: New file. + * sysdeps/powerpc/w_sqrt.s: New empty file. + * sysdeps/powerpc/w_sqrtf.s: New empty file. + * sysdeps/powerpc/t_sqrt.c: New file. + * sysdeps/powerpc/test-arithf.c: New file. + * sysdeps/powerpc/Makefile [subdir=math]: Add t_sqrt to support + routines. Add test-arithf to test programs. -1998-04-07 Gordon Matzigkeit + * sysdeps/powerpc/bits/mathdef.h: Add FP_ILOGB0, FP_ILOGBNAN. - * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not - `-print-file-name' to find as and ld. + * sysdeps/powerpc/strcmp.s: Simplify drastically. Now much neater, + and possibly faster (or possibly slower, depending on input). -1998-04-07 Ulrich Drepper +1997-06-08 22:55 Geoff Keating - * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case - template is wrong. Remove unused varaible `ignored'. + * sysdeps/powerpc/fenvbits.h: Correct FE_DFL_ENV and FE_NOMASK_ENV + macros. + * sysdeps/powerpc/s_rint.c: New file. -1998-04-07 Andreas Jaeger +1997-05-22 08:47 Geoff Keating - * libc.map: Export __libc_sa_len. + * sysdeps/powerpc/Makefile [subdir=math]: Add q_* routines. + * sysdeps/powerpc/Dist: Add quad_float.h. + * sysdeps/powerpc/q_dtoq.c: New file. + * sysdeps/powerpc/q_itoq.c: New file. + * sysdeps/powerpc/q_lltoq.c: New file. + * sysdeps/powerpc/q_neg.c: New file. + * sysdeps/powerpc/q_qtoi.c: New file. + * sysdeps/powerpc/q_qtoll.c: New file. + * sysdeps/powerpc/q_qtos.c: New file. + * sysdeps/powerpc/q_qtou.c: New file. + * sysdeps/powerpc/q_qtoull.c: New file. + * sysdeps/powerpc/q_stoq.c: New file. + * sysdeps/powerpc/q_ulltoq.c: New file. + * sysdeps/powerpc/q_utoq.c: New file. + * sysdeps/powerpc/quad_float.h: New file. + * sysdeps/powerpc/test-arith.c: New file. - * iconv/gconv_conf.c (MAXPATHLEN): Define correctly. + * sysdeps/powerpc/fpu_control.h: Fix _FPU_GETCW. + * sysdeps/powerpc/fegetround.c: Use mcrfs to be faster and not + require a stack frame. + * sysdeps/powerpc/bits/fenv.h: Include inline macro for fegetround. -1998-04-07 08:51 Ulrich Drepper +1997-05-18 05:55 Geoff Keating - * iconv/gconv.c: Take care for NULL arguments. - * iconv/gconv_dl.c: Make find_func function global. - * iconv/gconv_int.h: Add prototype for __gconv_find_func. - Add prototypes for ASCII conversion functions. - * iconv/gconv_simple.c: Add ASCII conversion functions. - * locale/C-ctype.c: Correct charset name. + * sysdeps/powerpc/fenv_libc.h (fegetenv_register, + fesetenv_register): Add 'volatile'. + (set_fpscr_bit, reset_fpscr_bit): New macros, FPSCR_* + constants to use with them. + * sysdeps/powerpc/s_copysign.S: New file. + * sysdeps/powerpc/s_copysignf.s: New file. + * sysdeps/powerpc/s_fabs.S: New file. + * sysdeps/powerpc/s_fabsf.s: New file. + * sysdeps/powerpc/s_isnan.c: New file. + * sysdeps/powerpc/s_isnanf.s: New file. + * sysdeps/powerpc/s_rintf.c: New file. - * wcsmbs/Makefile (distribute): Add wcsmbsload.h. - (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and - wcsmbsload. - * wcsmbs/btowc.c: Rewrite to use iconv functionality. - * wcsmbs/mbrtowc.c: Likewise. - * wcsmbs/mbsnrtowcs.c: Likewise. - * wcsmbs/mbsrtowcs.c: Likewise. - * wcsmbs/wcrtomb.c: Likewise. - * wcsmbs/wcsnrtombs.c: Likewise. - * wcsmbs/wcsrtombs.c: Likewise. - * wcsmbs/wctob.c: Likewise. - * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen. Remove - prototypes for wmemr*. - * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias. - * wcsmbs/wcsnlen.c: New file. - * wcsmbs/wcsmbsload.c: New file. - * wcsmbs/wcsmbsload.h: New file. + * sysdeps/powerpc/fenvbits.h: Make FE_INVALID the summary + bit in the FPSCR, not the enable bit. + * sysdeps/powerpc/fraiseexcpt.c: Consequent change to the above. + * sysdeps/powerpc/fclrexcpt.c: Correct. + * sysdeps/powerpc/fsetexcptflag.c: Correct. + * sysdeps/powerpc/ftestexcpt.c: Is now much simpler. + * sysdeps/powerpc/fgetexcptflg.c: Simplify. - * manual/filesys.texi: Mention risks of tmpnam and mktemp. + * sysdeps/powerpc/strlen.s: Schedule better, save 3 clocks :-). - * manual/install.texi: Describe some more critical points. + * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Add comment + explaining some reentrancy issues with lazy PLT entries. - * string/string.h: Add prototype for __strnlen. - * string/strnlen.c: Rename to __strnlen and make strnlen weak alias. +1997-08-09 13:04 Mark Kettenis - * sysdeps/posix/mktemp.c: Rewrite to allow many more files and - much less predictable names. - * sysdeps/posix/mkstemp.c: Likewise. + * login/logout.c (logout): utmpname returns -1 on error. -1998-04-05 Andreas Jaeger + * login/libutil.map: Remove updwtmp. - * manual/libc.texinfo (Top): Change "file namespace" to "local - namespace". + * login/getutline.c: Rename getutline to __getutline and make + getutline a weak alias. Make getutxline a weak alias for + __getutline. + * login/getutid.c: Rename getutid to __getutid and make getutid a + weak alias. Make getutxid a weak alias for __getutid. + * libc.map: Add getutxid, getutxline. - * manual/socket.texi: Change file namespace to local namespace. - (Out-of-Band Data): Remove unneeded variable link. - (Host Address Functions): Use uint32_t consequently and add a - number of clarifications for IPv4/IPv6, classless addresses. - (Internet Namespace): Added some paragraphs about IPv6. - Based on suggestions by Francesco Potorti` . + * login/utmpname.c (__utmpname): Reset backend right after backend + endutent call. + * login/utmp_file.c: Reordered functions. Remove unecessary + header files. + (getutent_r_file, pututline_file): Do not call setutent_file. At this + point the file is guaranteed to be open (assert!). + (getutid_r_file, getutline_r_file): Remove check for validity of file + descriptor. At this point the file is guaranteed to be open. + (getutent_r_file, internal_getut_r, getutline_r_file, pututline_file, + updwtmp_file): Do not wait when unlocking file. + * login/utmp_daemon.c: General cleanup and a bit of reordering. + (getutent_r_daemon, pututline_daemon): Do not call setutent_daemon. + At this point the socket is guaranteed to be open (assert!). + (getutid_r_daemon, getutline_r_daemon): Do not check if daemon_sock is + valid. At this point the socket is guaranteed to be open (assert!). + * login/getutline_r.c: Remove unnecessary header files. + (__getutline_r): Do not call backend setutent. + * login/getutid_r.c: Remove unnecessary header files. + (__getutid_r): Do not call backend setutent. + * login/getutent_r.c: Remove unneccesary header files. + (__libc_utmp_unknown_functions): Added getutid_r_unknown, + getutline_r_unknown. + (setutent_unknown): Only set file backend if setutent for the file + backend was successful. + (getutent_r_unknown, pututline_unknown): Call setutent_unknown instead + of __setutent. Report failure if no backend was selected. + (getutid_r_unknown): New function. + (getutline_r_unknown): New function. + (__endutent): Reset backend. This makes sure all backends are checked + on the next setutent call. -1998-04-05 Philip Blundell +1997-08-08 20:20 Thorsten Kukuk - Update for draft-ietf-ipngwg-bsd-api-new-01.txt: + * nis_cache.c: Replace dummy functions. - * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'. - (NI_NUMERICHOST, et al.): Tidy up and add comments. - (AI_NUMERICHOST): Define. - (getnodebyname): New prototype. - (AI_V4MAPPED, et al.): New constants. + * libc.map: Add xdr_sizeof symbol. - * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro. - * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise. - * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len - for socket. - * sysdeps/unix/sysv/linux/sa_len.c: New file. - * sysdeps/unix/sysv/linux/Dist: Add sa_len.c. + * sunrpc/Makefile: Add xdr_sizeof to routines. + * sunrpc/rpc/xdr.h: Add xdr_sizeof prototype. + * sunrpc/xdr_sizeof.c: New, from tirpc 2.3. - * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe. +1997-08-08 Thomas Bushnell, n/BSG - * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union. - * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise. - * socket/Makefile (headers): Add bits/sockunion.h. - * socket/sys/socket.h: Include - * inet/netinet/in.h: Include rather than - , to avoid getting sockaddr_union defined. - * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h. + * sysdeps/mach/bits/libc-lock.h (__libc_once): Define correctly. + +1997-08-07 Thomas Bushnell, n/BSG + + * sysdeps/mach/hurd/profil.c (fetch_samples): Put parens in the + right place. + +1997-08-06 Thomas Bushnell, n/BSG + + * sysdeps/mach/hurd/profil.c (fetch_samples): Do arithmetic on + PC's in long long to avoid overflow. + +1997-08-07 Thomas Bushnell, n/BSG + + * sysdeps/mach/bits/libc-lock.h (__libc_once, __libc_once_define): + New macros. + +1997-08-06 Andreas Jaeger + + * nis/Makefile (headers): Remove bits/nislib.h. + +1997-08-06 14:54 Ulrich Drepper + + * sysdeps/mach/hurd/Subdirs: Add login. + +1997-08-06 14:23 Klaus Espenlaub + + * db/hash/hash.c (init_hash): Don't use stat() if it doesn't provide + the preferred block size. + + * login/programs/database.c (store_state_entry): Don't compile if + there is no ut_type field. + (store_state_entry, store_process_entry): Use the ut_tv field + for timestamps if supported. + + * login/programs/utmpdump.c (print_entry): Always use ut_tv field. + + * login/programs/xtmp.c: Fix numerous xtmp/utmp typos. Use the ut_tv + field for timestamps if supported. + + * login/programs/xtmp.h: Fix xtmp/utmp typo. + + * sysdeps/posix/defs.c (stdstream): Change (PTR) to (void *). + + * sysdeps/stub/connect.c (connect): Change to __connect, add alias. + * sysdeps/stub/send.c (send): Likewise. + * sysdeps/stub/s_exp2f.c: Emit correct stub_warning(). + * sysdeps/stub/statfs.c: Move stub_warning() to the usual place. + * sysdeps/stub/init-first.c: Add definition of __libc_pid. + +1997-08-05 13:28 Philip Blundell + + * sysdeps/standalone/arm/bits/errno.h: Add EISDIR, EOPNOTSUPP; + tidy up formatting. + + * Makefile (subdirs): Remove `login'. + * sysdeps/unix/Subdirs: New file; build `login' subdirectory + for Unix systems. + +1997-08-05 Andreas Schwab + + * sysdeps/generic/bits/utmpx.h: New file. + + * sysdeps/mach/hurd/Dist: Add some files. + * sysdeps/mips/Dist: Likewise. + * sysdeps/mips/mips64/Dist: Likewise. + * sysdeps/sparc/Dist: Likewise. + * sysdeps/unix/sysv/linux/mips/Dist: Likewise. + * sysdeps/unix/sysv/linux/sparc/Dist: Likewise. + * sysdeps/mips/mipsel/Dist: New file. + * sysdeps/sparc64/elf/Dist: New file. + * sysdeps/unix/sysv/linux/sparc64/Dist: New file. + +1997-08-05 Andreas Schwab + + * libc.map: Add missing symbols. + +1997-08-05 Andreas Jaeger + + * manual/socket.texi: Correct typos. + + * manual/math.texi: Correct typos. + + * manual/time.texi (Formatting Date and Time): Likewise. + +1997-08-04 13:06 Thomas Bushnell, n/BSG + + * gmon/gmon.c (write_gmon): New function; guts from _mcleanup. + (_mcleanup): Use write_gmon. + (write_profiling): This function can be safely called at any time + to write a current histogram without interfering with ongoing + profiling. + + * sysdeps/mach/hurd/profil.c (fetch_samples): Initialize NSAMPLES. + +1997-08-01 17:53 Thomas Bushnell, n/BSG + + * sysdeps/mach/hurd/profil.c (fetch_samples): Sample buffer need + not be vm_deallocated; it's a stack buffer. + (profil_vm_deallocate): Delete prototype. + (#include <../mach/RPC_vm_deallocate_rpc.c>): Drop this + inclusion. + * sysdeps/mach/hurd/Makefile + ($(common-objpfx)hurd/../mach/RPC_vm_deallocate_rpc.c): Delete + this rule. + + * sysdeps/mach/hurd/profil.c (fetch_samples): New function, guts + from profile_waiter. + (profile_waiter): Use fetch_samples. + (profil): When turning off profiling, fetch the last bunch of + samples before disabling PC sampling. + (fetch_samples): Add prototype. + +1997-07-30 12:53 Thomas Bushnell, n/BSG + + * sysdeps/mach/hurd/Makefile: Give normal rules for the mach RPC + source included by profil.c instead of trying to use + before-compile grot. + +1997-07-23 15:04 Thomas Bushnell, n/BSG + + * sysdeps/mach/hurd/profil.c (profile_waiter): Do vm_deallocate + after releasing lock. Use special RPC stubs and avoid assert, + thus making this function entirely independent of the threadvar + mechanism and of cthreads. + (lock): Convert to be a spin lock instead of a mutex, so that the + waiter thread need not use cthreads. Use a fork prepare hook + instead of _hurd_fork_locks to make sure we are clean before + forking. + (fork_profil_child): Renamed from fork_profil. + (profil_reply_port): New variable. + (profil_vm_deallocate, profil_task_get_sampled_pcs): Special RPC + stubs made by special hacks. + * sysdeps/mach/hurd/Makefile (before-compile): Add the mach RPC + source files that profil.c needs if we are in the gmon directory. + + * mach/setup-thread.c (__mach_setup_thread): Delete avoidance of a + cthreads bug that hasn't existed for two years. + +1997-08-04 15:29 Ulrich Drepper + + * locale/programs/localedef.c (main): Set bit in avail for those + categories which are successfully read. + * locale/programs/locfile.c (check_all_categories): Don't check + categories if they are not available. + (write_all_categories): Don't write categories if they are not + available. + + * login/setutent_r.c (setutent_unknown): Change return type to + int and return result of called function. + + * manual/arith.texi: Mark floating-point test macro from ISO C 9X + as macros (not functions). + * manual/libc.texinfo (UPDATED): Update. + * manual/math.texi: Document exceptions, functions to handle + exceptions, mathematical constants, FP comparison functions + and several new functions from ISO C 9X. + Change parameter of drand48, lrand48, and mrand48 to void (not + empty). + * manual/pattern.texi: Remove paragraph which explained that wordexp + is executed by running a shell. + * manual/time.texi: Explain difficulties with strftime if the + functions returns 0 and no error occurred. + + * math/math.h: Correct comment for some M_* constants. + (isgreater, isgreaterequal, isless, islessequal, islessgreater, + inunordered): Rewrite to make sure the arguments are evaluated + exactly once. + + * nis/rpcsvc/nis.x: Undo last change. + * nis/rpcsvc/nis.h: Likewise. + * nis/rpcsvc/nislib.h: File moved back to here. + + * posix/sys/types.h: Don't define socklen_t. Pretty print. + * socket/sys/socket.h (bind, getsockname, connect, sendto, recvfrom, + getsockopt, setsockopt, accept): Change size argument to type + socklen_t. + Pretty print. + * manual/socket.texi: Describe socklen_t and change prototypes of + socket functions to use socklen_t. + * sysdeps/generic/bits/socket.h: Define socklen_t. + (struct msghdr): Correct types to use socklen_t. * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT - (2.2.x kernels won't have it). + * stdio-common/printf_fp.c (__printf_fp): Correct rounding of numbers + 1.0 < x < 8.0. + * stdio-common/tfformat.c: Add new tests for above bug. -1998-04-06 21:21 Ulrich Drepper + * stdlib/strtod.c: Fix typo. - * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h. - * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t. - * iconv/gconv_conf.c: Define MAXPATHLEN if not available before. - Patches by UCHIYAMA Yasushi . + * string/Makefile (headers): Add bits/string.h. + (CFLAGS-*): Add -D__NO_STRING_INLINES. + * string/string.h: Include if optimizing and + __NO_STRING_INLINES is not defined. + * sysdeps/stub/bits/string.h: New file. -1998-04-05 Philip Blundell + * sysdeps/powerpc/bits/fenv.h: Fix typos. - * manual/socket.texi (Socket Addresses): Fix a typo. - (Interface Naming): New section. + * sysdeps/unix/sysv/linux/if_index.c: Let functions return ENOSYS + if SIOGIFINDEX is not defined. -1998-04-05 23:29 Zack Weinberg + * sysdeps/wordsize-32/inttypes.h: Pretty print. + * sysdeps/wordsize-64/inttypes.h: Pretty print. - * configure.in: Check for CC using $ac_tool_prefix, to handle - cross-compilation. Use AC_CHECK_TOOL to find MiG. - * config.make.in: Add MIG to be substituted. - * mach/Machrules: Don't define MIG variable. + * termios/cfsetspeed.c: Rewrite loop to do what it shall do. - Patch by Gordon Matzigkeit . + * wcsmbs/Makefile (tests): Add tst-wcstof. + * wcsmbs/tst-wcstof.c: New file. -1998-04-05 Mark Kettenis +1997-08-01 Andreas Schwab - * elf/dl-load.c (decompose_rpath): Use local_strdup instead of - strdupa to copy rpath. + * sysdeps/m68k/__longjmp.c: Replace call to abort by infinite + loop, to avoid dragging stdio into the dynamic linker. -1998-04-05 Andreas Schwab +1997-08-02 19:44 H.J. Lu - * configure.in: Fix gcc version check. + * nis/nis_findserv.c (xid, xid_seed, xid_lookup): Make them + u_int32_t. - * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less - confusing. +1997-08-03 Andreas Jaeger -1998-03-31 Mark Kettenis + * posix/wordexp.c (parse_tilde): Fix calls to __getpwnam_r and + __getpwuid_r. + Include to get prototypes of *printf. + (exec_comm): Remove unneeded variable *sh. - * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead - of ptsname_r. + * libc.map: Add wordexp, wordfree. - * stdlib/stdlib.h: Change prototype of ptsname_r to make it more - like ttyname_r. - * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise. - * sysdeps/generic/ptsname.c (__ptsname_r): Likewise. - * sysdeps/unix/grantpt.c (grantpt): Change check of return value - of __ptsname_r accordingly. - * login/openpty.c (openpty): Likewise. + * posix/Makefile (routines): Add wordexp. -1998-06-04 18:47 H.J. Lu +1997-08-03 Andreas Jaeger - * libio/fileops.c (_IO_file_xsgetn): Adjust pointers. + * posix/wordexp.c: Correct typo in comment. + (wordexp): Likewise. -1998-04-06 13:58 Andreas Schwab + * manual/errno.texi (Error Codes): Fix typo. - * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27. +1997-08-03 15:28 Ulrich Drepper - * Makerules: Re-add missing rule for $(objpfx)stamp.oS. + * csu/initfini.c (SECTION): Don't put quotes around section name + since this is not understood by all assemblers. + Patch by Klaus Espenlaub . -1998-04-06 Thorsten Kukuk +1997-08-02 21:27 Ulrich Drepper - * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall - return value for better error checking. + * inet/Makefile (headers): Rename netinet/inbits.h to bits/in.h. + * inet/netinet/in.h: Include bits/in.h instead of netinet/inbits.h. + * sysdeps/generic/netinet/inbits.h: Move to... + * sysdeps/generic/bits/in.h: ... here. + * sysdeps/unix/sysv/linux/bits/inbits.h: Move to ... + * sysdeps/unix/sysv/linux/bits/in.h: ... here. -1998-04-06 Jakub Jelinek + * nis/Makefile (headers): Add bits/nislib.h. + * nis/rpcsvc/nislib.h: Moved to .... + * nis/bits/nislib.h: ... here. - * elf/dl-runtime.c (fixup, profile_fixup): The final arg to - _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT. - - * elf/elf.h (EM_SPARC64): Remove. - (EM_SPARC32PLUS, EM_SPARCV9): Add. - (HWCAP_SPARC_V9): Add. - - * elf/ldsodefs.h (_dl_hwcap): Declare. - * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask): - Weaken so dlopen from static progies works. - (WEAKADDR): New macro. - (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu. - (LD_SO_PRELOAD): New macro. - (elf_machine_fixup_plt): Cope with weak _dl_hwcap. - (elf_machine_rela): Weaken _dl_rtld_map. - - * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone - to __clone, and remove the later's alias. - * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise. - - * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from - the kernel's structure. - - * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file. - Sparc needs a custom value of __KERNEL_NCCS. - -1998-04-06 Richard Henderson - - * sysdeps/generic/libc-start.c: Allow init and fini to be null. - - * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main. - * sysdeps/sparc/sparc64/elf/start.S: Likewise. - -1998-04-06 Richard Henderson - - * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change, - as the buffer is not properly aligned. - Reported by Juan Cespedes . - -1998-04-05 Andreas Jaeger - - * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL - instead of AF_FILE. - -1998-04-05 Ulrich Drepper - - * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc* - and wc*tomb* functions. - -1998-04-04 15:16 Philip Blundell - - * sysdeps/unix/start.c: Fix typo. - -1998-04-04 Ulrich Drepper - - * iconv/gconv_db.c (__gconv_find_transform): Fix typo. - -1998-04-03 23:38 Ulrich Drepper - - * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large - expressions and using array variables. - * sysdeps/libm-ieee754/e_asin.c: Likewise. - * sysdeps/libm-ieee754/e_j0.c: Likewise. - * sysdeps/libm-ieee754/e_j1.c: Likewise. - * sysdeps/libm-ieee754/e_log.c: Likewise. - * sysdeps/libm-ieee754/e_pow.c: Likewise. - * sysdeps/libm-ieee754/k_cos.c: Likewise. - * sysdeps/libm-ieee754/k_sin.c: Likewise. - * sysdeps/libm-ieee754/k_tan.c: Likewise. - * sysdeps/libm-ieee754/s_atan.c: Likewise. - * sysdeps/libm-ieee754/s_erf.c: Likewise. - * sysdeps/libm-ieee754/s_expm1.c: Likewise. - * sysdeps/libm-ieee754/s_log1p.c: Likewise. - Patch by Naohiko Shimizu . - -1998-04-03 23:17 Ulrich Drepper - - * iconv/gconv.c: Rewrite of the low-level of gconv. - * iconv/gconv.h: Likewise. - * iconv/gconv_builtin.h: Likewise. - * iconv/gconv_close.c: Likewise. - * iconv/gconv_db.: Likewise. - * iconv/gconv_dl.c: Likewise. - * iconv/gconv_int.h: Likewise. - * iconv/gconv_open.c: Likewise. - * iconv/gconv_simple.c: Likewise. - * iconvdata/8bit-gap.c: Adapt for rewrite. - * iconvdata/8bit-generic.c: Likewise. - * iconvdata/euckr.c: Likewise. - * iconvdata/iso646.c: Likewise. - * iconvdata/iso6937.c: Likewise. - * iconvdata/iso8859-1.c: Likewise. - * iconvdata/johab.c: Likewise. - * iconvdata/sjis.c: Likewise. - * iconvdata/t61.c: Likewise. - * iconvdata/uhc.c: Likewise. - -1998-04-03 15:34 Ulrich Drepper - - * iconv/gconv_int.h: New file. Internal header. - * iconv/Makefile (distribute): Add gconv_int.h. - * iconv/gconv.h: Remove definition which are now in gconv_int.h. - * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction. - * iconv/gconv_close.c: Likewise. - * iconv/gconv_conf.c: Likewise. - * iconv/gconv_db.c: Likewise. - * iconv/gconv_dl.c: Likewise. - * iconv/gconv_int.h: Likewise. - * iconv/gconv_open.c: Likewise. - * iconv/iconv.c: Likewise. - * iconv/iconv_close.c: Likewise. - * iconv/iconv_open.c: Likewise. - * iconv/iconv_prog.c: Likewise. - -1998-04-03 Ulrich Drepper - - * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the - missing braces. - -1998-04-03 Thorsten Kukuk - - * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags. - -1998-04-03 16:29 Philip Blundell - - Based on patch from Pat Beirne: - * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for - PIC and non-PIC now. Correctly negate error number. - (errno): Use `%' not `@' in .type directives. - -1998-04-03 Ulrich Drepper - - * sysdeps/i386/strtok.S: Change to use single exit point. - * sysdeps/i386/i686/strtok.S: Likewise. - -1998-04-02 Andreas Schwab - - * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide - default. - -1998-04-02 Andreas Schwab - - * Makerules (installed-libcs): Fix typo. - -1998-04-02 Andreas Schwab - - * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC. - (UHC-routines): Remove ksc5601. - -1998-04-03 16:29 Philip Blundell - - * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo - introduced in last change. - -1998-04-03 06:22 Ulrich Drepper - - * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels - before 2.1.92. - -1998-04-02 Ulrich Drepper - - * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry. - - * stdlib/isomac.c: Use -isystem instead of -I for system include - dir. - -1998-03-30 08:05 H.J. Lu - - * resolv/res_comp.c (underscorechar): New. - (middlechar): Allow '_'. - -1998-04-02 Ulrich Drepper - - * intl/explodename.c (stdlib.h): Include that file only if - STDC_HEADERS or _LIBC. - (string.h): Include that file only if HAVE_STRING_H or _LIBC. - Patch by Philippe De Muyter . - -1998-04-01 21:08 Zack Weinberg - - * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests. - (AC_PROG_CHECK_VER): New macro. - * configure.in: Use AC_PROG_CHECK_VER to check versions of - gcc, gmake, msgfmt, makeinfo. Remove superfluous tests. - -1998-04-02 15:13 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file. - * sysdeps/i386/i686/strtok.S: New file - * sysdeps/i386/i686/strtok_r.S: New file - -1998-04-02 Mark Kettenis - - * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return - type to __off64_t. - * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset - parameter as __off64_t instead of __off_t. - (ftello): Make alias for ftello64 instead of ftello. Change - return type to __off64_t. - -1998-04-02 Ulrich Drepper - - * sysdeps/i386/bits/string.h: Fix various typos. - Patch by Horst von Brand . - - * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92. - -1998-04-02 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without - lchown syscall correctly. [PR libc/541]. - -1998-04-02 11:45 Ulrich Drepper - - * localedata/Makefile: Correct testsuite rules. - - * iconvdata/gconv-modules: Set cost of ISO646 module to 2. - * iconvdata/iso646.c: Fix conversion from UCS4. - - * elf/ldsodefs.h: Mark internal function with internal_function. - * elf/dl-addr.c: Likewise. - * elf/dl-close.c: Likewise. - * elf/dl-debug.c: Likewise. - * elf/dl-deps.c: Likewise. - * elf/dl-error.c: Likewise. - * elf/dl-fini.c: Likewise. - * elf/dl-init.c: Likewise. - * elf/dl-load.c: Likewise. - * elf/dl-lookup.c: Likewise. - * elf/dl-object.c: Likewise. - * elf/dl-open.c: Likewise. - * elf/dl-profile.c: Likewise. - * elf/dl-reloc.c: Likewise. - * elf/dl-runtime.c: Likewise. - * elf/dl-symbol.c: Likewise. - * elf/dl-version.c: Likewise. - * elf/dlerror.c: Likewise. - * sysdeps/generic/dl-sysdep.c: Likewise. - * sysdeps/i386/dl-machine.h: Likewise. - * intl/finddomain.c: Likewise. - * intl/gettextP.h: Likewise. - * intl/loadmsgcat.c: Likewise. - -1998-04-01 17:38 Ulrich Drepper - - * iconv/gconv_simple.c: New builtins for UCS en/decoding. - * iconv/gconv_builtin.h: Add definitions for new builtins. - * iconv/gconv.h: Add prototypes for new builtins. - - * iconvdata/Makefile (modules): Add ISO646. - Add rules for ISO646 module. - (distribute): Add iso646.c. - * iconvdata/gconv-modules: Add module and alias definition for - ISO646 charsets. - * iconvdata/iso646.c: New file. - -1998-04-01 16:10 Ulrich Drepper - - * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db. - * iconv/iconv_prog.c: Implement --list option to print available - coded character sets. - -1998-04-01 18:10 Zack Weinberg - - Make fread() read large blocks straight to the user buffer. - - * libio/fileops.c (_IO_file_xsgetn): New function. - (_IO_file_jumps): Use it. - * libio/libioP.h: Prototype it. - -1998-04-01 Ulrich Drepper - - * iconv/gconv_conf.c (builtin_aliases): New variable. - (__gconv_read_conf): Add builtin aliases. - * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an - noop macro before including gconv_builtin.h. - * iconv/gconv_builtin.h: Add alias names. - - * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute - number of converted bytes correctly. - -1998-04-01 Thorsten Kukuk - - * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if - we only wait for a replay. - -1998-04-01 Ulrich Drepper - - * iconvdata/Makefile: Finally fix dependencies for JOHAB and - EUC-KR modules. - -1998-04-1 16:52 Philip Blundell - - * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and - use PLTJMP() rather than explicit (PLT). - - * sysdeps/arm/elf/start.S: Leave most of the initialisation for - __libc_start_main(). - - Based on patch from Pat Beirne: - * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER): - Always define, not only #ifndef PIC. - (DO_CALL): Pass fifth argument correctly in R4. - (PSEUDO): Correct test for error, call syscall_error through PLT - if PIC. - -1998-03-31 10:51 Philip Blundell - - * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new - definitions. - -1998-04-01 Ulrich Drepper - - * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and - JOHAB.so. - -1998-04-01 13:20 Mark Kettenis - - * io/Makefile (static-only-routines): Add stat64, fstat64 and - lstat64. - -1998-03-30 Andreas Schwab - - * manual/Makefile: Use object-suffixes-for-libc instead of - object-suffixes. - * rpm/Makefile (install-lib): Likewise. - -1998-03-30 Andreas Schwab - - * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug. - - * sysdeps/unix/sysv/linux/configure.in: Match $machine against - `m68*', not only `m68k'. - -1998-04-01 10:50 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file. - - * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and - install lddlibc4. - -1998-03-31 Ulrich Drepper - - * iconvdata/Makefile: Use libKSC shared object in JOHAB and - EUC-KR. - - * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct - comment. - -1998-03-30 08:43 H.J. Lu - - * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of - the init stuff. - -1998-03-31 Ulrich Drepper - - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for - adjtimex syscall. - * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add - adjtimex. - Patches by Dominik Kubla . - -1998-03-31 Andreas Jaeger - - * Makerules (install): Change comment for libc.so following the - libc_nonshared changes. - -1998-03-31 Ulrich Drepper - - * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo. - - * iconvdata/gap.pl: Avoid using %#06x. - -1998-03-31 19:55 Zack Weinberg - - * Makerules: Use $? instead of S^ when invoking ar. - -1998-03-31 Ulrich Drepper - - * db2/compat.h: Allow EFTYPE being defined. - * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD. - * sysdeps/unix/bsd/ulimit.c: Include . - * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE. - * sysdeps/mach/bits/libc-lock.h: Fix typo. - (__libc_once): Correctly unlock semaphore. - * sysdeps/mach/hurd/dl-sysdep.c: Include . - * sysdeps/unix/bsd/getpt.c: Fix typo. - Patches by UCHIYAMA Yasushi . - -1998-03-31 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as - macros. - -1998-03-31 18:11 Ulrich Drepper - - * include/mntent.h: New file. - - * elf/Makefile (trusted-dirs.h): Append slash to filename. - * elf/dl-load.c: Rewrite search path handling. - * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite. - * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK. - * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function. - * elf/ldsodefs.h: Add prototype. - -1998-03-30 Ulrich Drepper - - * nss/nsswitch.c (__nss_lookup): Adjust comment. - - * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New - function. - - * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition. - - * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string): - New function. - (HWCAP_IMPORTANT): New definition. - -1998-03-30 17:26 H.J. Lu - - * elf/dl-open.c (_dl_open): Fix a typo. - (_dl_global_scope_alloc): Make it static. - -1998-03-30 17:20 Ulrich Drepper - - * Makerules: Remove duplicate rules to handle stamp.oS. - -1998-03-30 Andreas Jaeger - - * manual/examples/inetsrv.c (main): Change prototype of - make_socket following change in mkisock.c. - - * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as - example host. - (main): Change prototype of init_sockaddr following change in - isockadd.c. - - * manual/examples/mkisock.c (make_socket): Use uint16_t for port. - * manual/examples/isockad.c (init_sockaddr): Likewise. - - * manual/examples/mkfsock.c (make_named_socket): Removed blank - lines for clarification. - (make_named_socket): Use strncpy instead of strcpy. - Reported by Francesco Potorti` . - -1998-03-30 13:28 Ulrich Drepper - - * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for - determining libs to remove. - (postclean): Add soversions.mk. - * Makerules (common-mostlyclean): Add tests-static and generated - files. - -1998-03-30 12:53 Ulrich Drepper - - * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct - scanning for \0. - (__strncat_g): Add i686 specific code. - -1998-03-30 Andreas Jaeger - - * manual/install.texi (Reporting Bugs): Ask to include section - names in reports. - -1998-03-28 Andreas Schwab - - * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit - guard against direct inclusion. - -1998-03-28 Andreas Schwab - - Rework support for libc_nonshared.a: - * Makeconfig (object-suffixes-for-libc): New variable. - * Rules: Remove handling of static-only and shared-only routines. - * Makerules: Handle them here instead. Use - object-suffixes-for-libc instead of object-suffixes when dealing - with libc objects. - (object-suffixes-for-rules): Remove variable. - (elide-routines.oS): Elide all routines except static-only - routines. - ($(objpfx)stamp.oS): Special rule for when static-only-routines is - empty. - (installed-libcs): Remove special case for .oS. - (rmobjs): Likewise. - -1998-03-28 Andreas Schwab - - * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon, - do-tst-rpmatch): New targets. - (test): Use them. - (install-locales): Ignore comment lines. - -1998-03-28 Andreas Schwab - - * elf/Makefile ($(objpfx)ld.so): Depend on version script. - ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig. - ($(objpfx)rtldtbl.h): Likewise. - (CPPFLAGS-dl-load.c): Fix reference to object directory. - -1998-03-30 09:36 Ulrich Drepper - - * manual/string.texi (Finding Tokens in a String): Extend strsep - description and correct example. - -1998-03-28 Andreas Schwab - - * manual/socket.texi: Remove misguided explicit line breaks and - fix the formatting problem instead by reformulating the - paragraphs. - * manual/filesys.texi: Likewise. - * manual/conf.texi: Likewise. Don't typeset table with index - fonts, that looks worse than a minimally overfull line. - -1998-03-28 Andreas Schwab - - * nscd/Makefile (nscd-modules): Move definition outside of - conditional. - - * pwd/Makefile: Use have-thread-library to test for thread - library. - -1998-03-30 Andreas Jaeger - - * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip. - - * iconvdata/uhc.c (gconv): Remove unused variable idx. - -1998-03-30 Ulrich Drepper - - * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c. - -1998-03-29 Ulrich Drepper - - * nss/getXXent_r.c: Correctly handle failing setXXent function. - - * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros. - Reported by Andreas Jaeger. - -1998-03-29 20:59 Ulrich Drepper - - * elf/Makefile: Fix typo. - (distribute): Add dl-librecon.h. - * elf/ldd.bash.in: Collect output of ldd --verify in verify_out. - * elf/ldd.sh.in: Likewise. - * elf/ldsodefs.h: Declare _dl_correct_cache_id. - * elf/rtld.c (dl_main): In --verify mode allow platform specifc action. - Use strsep correctly. - (process_envvars): Allow platform specific variables. - * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable. - (_dl_load_cache_lookup): Test cache IDs found against - _dl_correct_cache_id. - * sysdeps/generic/dl-librecon.h: New file. - * sysdeps/unix/sysv/linux/dl-librecon.h: New file. - - * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h. - -1998-03-29 16:50 Ulrich Drepper - - * config.make.in (ldd-rewrite-script): New variable. - * configure.in: Substitute ldd-rewrite-script. - * elf/Makefile: Rewrite rules to generate ldd script. - * elf/ldd.bash.in: Allow handling of non-ELF binaries. - * elf/ldd.sh.in: Likewise. - * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4. - * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to - point to sed script for libc4 handling insertion for ix86, m68, SPARC. - * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4. - * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file. - -1998-03-26 15:20 Zack Weinberg - - * inet/rcmd.c (iruserok): Remain setuid to the local user - while .rhosts is actually read, to make .rhosts-over-NFS work - (PR libc/524). Use iruserfopen() for security checks on both - hosts.equiv and .rhosts. General cleanup. - (iruserfopen): New function, performs careful checking on - hosts.equiv/.rhosts files. Disallows all the old forbidden - stuff plus hard links to files. - -1998-03-29 09:26 Ulrich Drepper - - * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead. - - * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop. - -1998-03-29 02:02 H.J. Lu - - * sysdeps/i386/i486/bits/string.h: Fix typos. - -1998-03-28 00:13 H.J. Lu - - * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New - strong alias. - - * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added. - - * libc.map (__ieee_get_fp_control, __ieee_set_fp_control): - Added. Used by libm.so on alpha. - -1998-03-28 Thorsten Kukuk - - * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet - defined. - -1998-03-27 07:29 H.J. Lu - - * Makerules (object-suffixes-for-rules): Add .oS only for - building shared library. - Add ranlib rule for nonshared library. - (rmobjs): Fix typo. - - * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved - into for shared library only. - (CPPFLAGS-.oS): Add -DPIC. - (libtypes): Use $(object-suffixes-for-rules) instead of - $(object-suffixes). - -1998-03-28 Ulrich Drepper - - * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile - and install lddlibc4. - -1998-03-28 09:13 Zack Weinberg - - * iconvdata/gap.pl: Gobble rest of line with a scalar, not a - hash. - * iconvdata/gaptab.pl: Likewise. - -1998-03-27 22:46 Ulrich Drepper - - * Rules: Allow Makefiles to specify test-static for tests which - cannot be linked dynamically. - * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to - tests-static. - - * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next. - - * misc/error.c: Pretty print. - -1998-03-27 Andreas Schwab - - * Makerules (libc_nonshared-name): Remove variable. - (installed-libcs): Use libc-name instead. - ($(inst_libdir)/libc.so): Likewise. Remove explicit reference to - dynamic linker. - - * Makeconfig (link-libc): Link against libc_nonshared.a instead of - libc.a. Remove explicit reference to dynamic linker. - -1998-03-27 Ulrich Drepper - - * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char - to wchar_t. - * iconv/iconv_prog.c: Correctly test for write failure. - * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions. - * iconvdata/gconv-modules: Likewise. - * iconvdata/euckr.c: New file. - * iconvdata/johab.c: New file. - * iconvdata/ksc5601.c: New file. - * iconvdata/ksc5601.h: New file. - * iconvdata/uhc.c: New file. - Contributed by Jungshik Shin . - - * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen. - * stdio/fopen.c: Correct handling of 'x' flag. - Reported by Jason M. Petry . - -1998-03-27 Andreas Jaeger - - * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident. - * sunrpc/rpcsvc/key_prot.x: Likewise. - * sunrpc/key_prot.c: Likewise. - -1998-03-27 13:49 Ulrich Drepper - - * sysdeps/i386/bits/string.h: Correct things which never worked. - * sysdeps/i386/i486/bits/string.h: Add clobber marks. - Patches by Bernd Schmidt . - -1998-03-27 Ulrich Drepper - - * intl/textdomain.c [_LIBC]: Define strdup only if not yet - defined. Reported by Thorsten Kukuk. - -1998-03-26 18:50 Ulrich Drepper - - * sysdeps/unix/sysv/linux/lddlibc4.c: New file. - -1998-03-26 Andreas Jaeger - - * manual/install.texi (Supported Configurations): Add - arm-linuxaout and arm-none. - -1998-03-26 Ulrich Drepper - - * version.h (VERSION): Bump to 2.0.93. - -1998-03-25 07:30 H.J. Lu - - * configure.in (libc_cv_ar_S): New to indicate if ar S works. - - * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S. - - * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S). - (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR). - -1998-03-26 Ulrich Drepper - - * Makeconfig (link-libc): Add missing use of libc_nonshared.a. - -1998-03-26 Andreas Schwab - - Put the static-only routines in a separate library. - * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New - variables. - (all-object-suffixes): Add .oS. - * Makerules (libc_static-name): New variable. - (installed-libcs): Add libc_nonshared.a. - ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a. - (object-suffixes-for-rules): New variable. Use it instead of - object-suffixes for generating compilation rules. - (rmobjs): Also remove *.oS. - * Rules (subdir_lib): Depend on $(objpfx)stamp.oS. - ($(objpfx)stamp.oS): New target. - -1998-03-26 Ulrich Drepper - - * Makefile (FAQ): Automatically check in regenerated FAQ. - -1998-03-26 10:16 Zack Weinberg - - * Makefile (INSTALL): Depend on install.texi, not maint.texi. - -1998-03-25 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h. - * sysdeps/unix/sysv/linux/alpha/Dist: Likewise. - - * sysdeps/generic/stub_warning: Removed. - - * Makefile (distribute): Add include/des.h. - - * manual/Makefile (distribute): Change dir-add.texi to - dir-add.texinfo. - - * glibcbug.in: Create files safely when mktemp is not available. - - * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again. - Patch by a sun . - -1998-03-25 Thorsten Kukuk - - * libc.map: Rename getname to getnetname. - -1998-03-25 13:35 Ulrich Drepper - - * manual/maint.texi: Use supported platform in examples. - - * manual/install.texi: Document some installation tips. - -1998-03-25 10:56 Ulrich Drepper - - * posix/wordexp.c: Fix some memory leaks and makes $* more efficient. - Fix a bug so that it returns an error if a numeric parameter is - unset and WRDE_UNDEF is set. - Patch by Andreas Schwab and Tim Waugh. - * posix/wordexp-test.c: Add new new test. - -1998-03-25 Ulrich Drepper - - * posix/regex.c (regex_compile): Last patch wasn't entirely - correct. Patch by Alain Magloire . - -1998-03-24 Andreas Schwab - - * manual/filesys.texi (Scanning Directory Content): Fix typo. - -1998-03-25 09:24 Bernd Schmidt - - * sysdeps/i386/bits/string.h: Fix all assembler statements so that - clobbered registers don't appear as operands. - -1998-03-24 Ulrich Drepper - - * posix/regex.c: Undefine ISASCII and ISPRINT before defining for - Solaris' sake. - - * posix/regex.c (regex_compile): Don't allow non-alphabet - characters in character set name. - -1998-03-25 00:00 Tim Waugh - - * posix/wordexp.c (w_newword): New function. - (do_parse_glob): New function. - (parse_glob): Use do_parse_glob. Now handles the case where a - variable expansion causes a field-split. - (wordexp): Use w_newword. - (parse_arith): Likewise. - (exec_comm): Likewise. - (parse_comm): Likewise. - (parse_param): Likewise. - (parse_backtick): Likewise. - -1998-03-24 19:36 Tim Waugh - - * posix/wordexp-tst.sh: Another test. - - * posix/wordexp-test.c: Two new tests. - - * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc - directly (the code using realloc was buggy). - (parse_param): Fix typo in comment. - -1998-03-24 Ulrich Drepper - - * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop. - -1998-03-24 Thorsten Kukuk - - * libc.map: Add more rpc auth functions/variables. - - * nscd/nscd.c: Add -g option to argp options. - -1998-03-24 Ulrich Drepper - - * configure.in: Be prepared for gcc 2.9.10 and up. - * configure.in: Add missing disabling of quote characters in - compiler version check. Reported by HJ Lu. - -1998-03-24 Andreas Jaeger - - * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h. - -1998-03-24 Ulrich Drepper - - * intl/locale.alias: Fix spelling of romanian. - - * sunrpc/Makefile (headers): Add rpc/rpc_des.h. - (distribute): Remove des.h. - * include/des.h: New file. - * sunrpc/des.h: Moved to ... - * sunrpc/rpc/rpc_des.h: ...here. - -1998-03-22 NIIBE Yutaka - - * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK): - Fix paren. - -1998-03-24 Ulrich Drepper - - * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL - parameter const. Reported by UCHIYAMA Yasushi . - -1998-03-24 Ulrich Drepper - - * elf/ldsodesf.h: New file. - * elf/Makefile (distribute): Add ldsodefs.h. - * elf/link.h: Separate internal information in exter header. - * elf/rtld.c: Include elf/ldsodefs.h not link.h. - * elf/dl-minimal.c: Likewise. - * sysdeps/generic/dl-sysdep.c: Likewise. - * elf/sprof.c: Likewise. - * elf/dlsym.c: Likewise. - * elf/dlvsym.c: Likewise. - * elf/dlerror.c: Likewise. - * elf/dladdr.c: Likewise. - * elf/dlclose.c: Likewise. - * elf/dlopen.c: Likewise. - * elf/dl-addr.c: Likewise. - * elf/dl-close.c: Likewise. - * elf/dl-debug.c: Likewise. - * elf/dl-deps.c: Likewise. - * elf/dl-error.c: Likewise. - * elf/dl-fini.c: Likewise. - * elf/dl-init.c: Likewise. - * elf/dl-load.c: Likewise. - * elf/dl-lookup.c: Likewise. - * elf/dl-object.c: Likewise. - * elf/dl-open.c: Likewise. - * elf/dl-profile.c: Likewise. - * elf/dl-reloc.c: Likewise. - * elf/dl-runtime.c: Likewise. - * elf/dl-support.c: Likewise. - * elf/dl-symbol.c: Likewise. - * elf/dl-version.c: Likewise. - * sysdeps/generic/dl-cache.c: Likewise. - * sysdeps/generic/libc-start.c: Likewise. - * iconv/gconv_dl.c: Likewise. - * nss/nsswitch.c: Likewise. - -1998-03-23 13:45 Ulrich Drepper - - * manual/nss.texi: The database is not called network but networks. - Reported by Herbert Xu . - -1998-03-23 Andreas Jaeger - - * configure.in: Correct test for compiler version. - Check that LD_LIBRARY_PATH doesn't contain current path. - -1998-03-23 07:52 H.J. Lu - - * elf/dl-close.c (_dl_close): Fix byte count while removing - the shared object from the global scope list and optimize - a little bit. - -1998-03-22 Andreas Jaeger - - * manual/filesys.texi (Scanning Directory Content): Add missing - closing brace. - (Scanning Directory Content): Fix text. - -1998-03-22 Andreas Jaeger - - * manual/memory.texi (Heap Consistency Checking): Add paragraph - explaining difference of -lmcheck and MALLOC_CHECK_. - -1998-03-23 Andreas Jaeger - - * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some - typos in comments. - -1998-03-20 Andreas Schwab - - * test-skeleton.c (main): Fix test for exit signal. - -1998-03-22 Andreas Schwab - - * sysdeps/generic/strtok_r.c: Undefine __strtok_r. - -1998-03-22 Andreas Schwab - - * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as - appropriate. - -1998-03-23 11:14 Andreas Schwab - - * libc.map: Export __strtok_r. - -1998-03-23 Ulrich Drepper - - * posix/regex.c (re_compile_fastmap): Remove unused variable - num_regs and adjust comment. - Patch by Jim Meyering . - - * math/math.h (M_*l): Extend long double constants to be usable - for 128 bit floats. Patch by Richard Henderson. - -1998-03-23 11:16 Andreas Schwab - - * sysdeps/m68k/m68020/wordcopy.S: New file. - -1998-03-22 Ulrich Drepper - - * posix/wordexp.c: Rewrite parse_param. - Patch by Tim Waugh and Andreas Schwab. - -1998-03-21 23:46 Zack Weinberg - - * Rules: Update timestamps on empty object files. - -1998-03-21 09:15 Ulrich Drepper - - * manual/filesys.texi (Scanning Directory Content): Add description - of 64 bits scandir function and friends. - -1998-03-20 Ulrich Drepper - - * glibcbug.in: Use mktemp to generate unique file name for - temporary files. - - * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not - ptsname_r. Use cast for execve call. - -1998-03-20 16:24 Ulrich Drepper - - * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64. - * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h. - * io/sys/statvfs.h: New file. - * sysdeps/generic/fstatvfs.h: New file. - * sysdeps/generic/statvfs.h: New file. - * sysdeps/generic/fstatvfs64.h: New file. - * sysdeps/generic/statvfs64.h: New file. - * sysdeps/generic/bits/statvfs.h: New file. - * sysdeps/unix/sysv/linux/fstatvfs.c: New file. - * sysdeps/unix/sysv/linux/statvfs.c: New file. - * sysdeps/unix/sysv/linux/bits/statvfs.h: New file. - - * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files - and f_ffree elements. - - * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print. Define - mount options in enum. - -1998-03-20 Andreas Jaeger - - * configure.in: Check for recent egcs/gcc. - -1998-03-20 Ulrich Drepper - - * libc.map: Add alphasort64, scandir64, versionsort64. - * dirent/Makefile (routines): Add scandir64, alphasort64, and - versionsort64. - * dirent/alphasort64.c: New file. - * dirent/scandir64.c: New file. - * dirent/versionsort64.c: New file. - * dirent/dirent.h: Add LFS support for scandir, alphasort, and - versionsort. - * sysdeps/generic/readdir64.c: Rename to __readdir64 and make - old name weak alias. - * sysdeps/unix/sysv/linux/readdir64.c: Likewise. - - * dirent/alphasort.c: Use strcoll instead of strcmp. - - * dirent/scandir.c: Optimize a bit. - - * dirent/versionsort.c: Pretty print. - -1998-03-20 Ulrich Drepper - - * string/string.h: Add prototype for __strtok_r. - -1998-03-20 12:14 Andreas Schwab - - * posix/Makefile: Fix typo in last change. - -1998-03-20 Ulrich Drepper - - * dirent/dirent.h (scandir): Make argument of select function const. - * dirent/scandir.c (scandir): Likewise. - Reported by David.Faure@insa-lyon.fr [PR libc/512]. - -1998-03-19 14:28 Ulrich Drepper - - * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r - weak alias. - * sysdeps/i386/strtok_r.c: Likewise. - - * sysdeps/libm-i387/i686/s_fdim.S: Make it really work. - * sysdeps/libm-i387/i686/s_fdimf.S: Likewise. - * sysdeps/libm-i387/i686/s_fdiml.S: Likewise. - * sysdeps/libm-i387/i686/s_fmin.S: Likewise. - * sysdeps/libm-i387/i686/s_fminf.S: Likewise. - * sysdeps/libm-i387/i686/s_fminl.S: Likewise. - -1998-03-19 Andreas Jaeger - - * intl/localealias.c: Remove unneeded define for strdup. - -1998-03-19 13:45 Ulrich Drepper - - * manual/argp.texi: Adjust for better TeX output. - * manual/arith.texi: Likewise. - * manual/conf.texi: Likewise. - * manual/filesys.texi: Likewise. - * manual/header.texi: Likewise. - * manual/lgpl.texinfo: Likewise. - * manual/math.texi: Likewise. - * manual/message.texi: Likewise. - * manual/pattern.texi: Likewise. - * manual/process.texi: Likewise. - * manual/signal.texi: Likewise. - * manual/socket.texi: Likewise. - * manual/startup.texi: Likewise. - * manual/stdio.texi: Likewise. - * manual/terminal.texi: Likewise. - * manual/examples/rprintf.c: Likewise. - * manual/examples/testopt.c: Likewise. - Patches by Zack Weinberg . - -1998-03-19 20:45 Tim Waugh - - * posix/wordexp.c (parse_param): Don't immediately stop parsing a - parameter name after seeing a digit if it's enclosed in braces. - -1998-03-18 Ulrich Drepper - - * sysdeps/i386/i686/Implies: Add libm-i387/i686. - -1998-03-18 Andreas Jaeger - - * manual/memory.texi (Heap Consistency Checking): Document - MALLOC_CHECK_. Based on a text by Wolfram Gloger. - -1998-03-18 17:11 Zack Weinberg - - * manual/Makefile: Add missing rules. - -1998-03-18 Ulrich Drepper - - * timezone/Makefile (generated): Define to remove all stamp files. - - * sysdeps/generic/strsep.c: Also undefine __strsep. - - * string/strdup.c: Undefine __strdup and strdup first. - * string/strndup.c: Likewise. - - * string/bits/string2.h: Correct strtok_r and strsep. - Add strndup optimization. - - * sysdeps/generic/strsep.c: Little optimization. - -1998-03-18 14:25 Ulrich Drepper - - * string/bits/string2.h: Add optimization for strdup. - Always define __strsep and __strtok_r and make real names available - when feature select macros are defined. - -1998-03-18 Andreas Jaeger - - * manual/install.texi (Installation): Use i486-linux as example - instead of the unsupported sunos4. - (Reporting Bugs): Mention glibcbug script. - (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required. - -1998-03-16 Andreas Schwab - - * posix/wordexp-tst.sh: Make portable. Add more tests. - - * posix/Makefile (do-globtest do-wordexp-test): New targets. - -1998-03-18 13:38 Ulrich Drepper - - * sysdeps/unix/sysv/linux/libc-start.c: Moved to ... - * sysdeps/generic/libc-start.c: ...here, replacing former content. - - * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and - netpacket/packet.h. - - * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print. - -1998-03-17 Andreas Schwab - - * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma - in enumerator for strict standard compliance. - * sysdeps/generic/bits/resource.h: Likewise. - -1998-03-18 10:04 Philip Blundell - - * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted. - (PLTJMP): New macro. - - * sysdeps/arm/fpu/__longjmp.S: New file, implementation of - longjmp() when floating point enabled. - * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp(). - * sysdeps/arm/__longjmp.S: Remove floating point code. - * sysdeps/arm/setjmp.S: Likewise. - - * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name. - * sysdeps/arm/bsd-_setjmp.S: Likewise. - - * sysdeps/arm/memset.S: New file; optimised ARM implementation of - memset(). - - * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with - prototype. - -1998-03-17 16:16 Philip Blundell - - Based on patches from Pat Beirne and Scott Bambrough: - - * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary. - - * sysdeps/arm/bits/fenv.h: New file. - - * sysdeps/arm/dl-machine.h: New file. Add ELF support. - * sysdeps/arm/elf/setjmp.S: Likewise. - * sysdeps/arm/elf/start.S: Likewise. - * sysdeps/arm/init-first.c: Likewise. - * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT - * sysdeps/arm/sysdep.h: Change format of .type directive. Correct - comment about floating point to reflect current reality. - - * sysdeps/unix/arm/brk.S: Support PIC. - * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and - re-entrant code. - * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error - return; call syscall_error through PLT. - * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump. - -1998-03-04 12:01 Philip Blundell - - * sysdeps/unix/sysv/linux/netpacket/packet.h: New file. - * sysdeps/unix/sysv/linux/netash/ash.h: Likewise. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them. - -1998-03-18 Ulrich Drepper - - * dirent/list.c (test): Return error value. - (main): Exit with error value. - - * sysdeps/unix/opendir.c (__opendir): Add missing initialization. - - * Makefile (distribute): Add test-skeleton.c. - * test-skeleton.c: New file. - * dirent/Makefile (tests): Add opendir-tst1. - * dirent/opendir-tst1.c: New file. - -1998-03-18 Ulrich Drepper - - * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc. - Optimize memory handling. - * sysdeps/unix/closedir.c: Optmize memory handling. - -1998-03-17 Ulrich Drepper - - * posix/wordexp.c (parse_param): Fix off-by-on error in $@ - handling. Optimize a bit. - -1998-03-18 00:25 Tim Waugh - - * posix/wordexp.c (parse_comm): Allow quoting inside $(...). - (parse_param): Fold in Andreas' fixes to do with when the end of - the parameter name has been reached, and quoting inside ${...}. - (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and - $((echo);(ls)). - -1998-03-16 22:10 Zack Weinberg - - * manual/maint.texi: Split out installation and contribution - sections to their own appendices. Misc cleanups. - * manual/install.texi: New file. Mention add-ons. Refer to FAQ. - * manual/contrib.texi: New file. - * manual/libc.texinfo: Pull in new appendices. - * manual/header.texi: Correct node pointer. - -1998-03-17 Andreas Jaeger - - * manual/process.texi (Process Completion): Clarify return value - of waitpid a bit. Patch by Zack Weinberg. [PR libc/490] - -1998-03-15 Andreas Schwab - - * posix/wordexp-test.c: Add more tests. - (testit): Fix logic. - - * posix/wordexp.c (exec_comm): In the child, redirect stderr to - /dev/null instead of closing it, close pipe. Always chop off all - trailing newlines. Kill and reap child before returning error. - (w_addword, parse_glob): Fix memory leak. - (wordexp): Fix dangling pointer problem. - -1998-03-16 Ulrich Drepper - - * elf/dl-close.c (_dl_close): Correct and simplify unmapping. - - * posix/wordexp-test.c (main): Fix little thinkos and typos. - - * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine - directory index by only the language. - -1998-03-16 13:02 Tim Waugh - - * posix/wordexp-tst.sh: Store test results in the - ${common_objpfx}posix directory. - - * posix/wordexp-test.c: Remove temporary directory afterwards. - -1998-03-15 Andreas Schwab - - * libc.map: Export internal versions of cancelable functions. - -1998-03-15 Andreas Schwab - - * Makerules (MAKEFLAGS): Append `r'. - -1998-03-15 Andreas Schwab - - * Makeconfig: Define have-thread-library, shared-thread-library - and static-thread-library if a thread library is available. Don't - define rt. - * nscd/Makefile: Compile nscd if have-thread-library. Rename - nscd-routines to nscd-modules. Use shared-thread-library and - static-thread-library in dependencies. - * rt/Makefile: Only compile librt if have-thread-library is - defined. - * Makefile (subdirs): Always include rt subdir. - -1998-03-15 Andreas Schwab - - * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command. - -1998-03-14 21:55 Ulrich Drepper - - * configure.in: Recognize variations for 32 MIPS processors. - Don't assume ELF systems always have .weak, test for .weakext. - -1998-03-14 Ulrich Drepper - - * configure.in: Irix6 is an ELF platform. - -1998-03-14 11:47 H.J. Lu - - * elf/dl-close.c (_dl_close): Stop unmapping the segments after - unmapping the last loaded segment. - -1998-03-14 15:54 Ulrich Drepper - - * configure.in: Set base_os for Irix6. - Correct test for .weakext. - -1998-03-14 Andreas Jaeger - - * elf/dl-deps.c (_dl_map_object_deps): Add first parameter - (new_line) to _dl_debug_message call. - -1998-03-14 00:52 Tim Waugh - - * posix/wordexp.c (parse_param): Perform field-splitting after - expanding positional parameter. - - * posix/wordexp-tst.sh: Test that field-splitting is performed - after expanding positional parameter. - - * posix/wordexp.c (parse_param): Fixed memory leak in - field-splitting after parameter expansion. - -1998-03-14 Ulrich Drepper - - * locale/programs/linereader.c (lr_token): Return EOF token at EOF. - (get_toplvl_escape): Correctly terminate loop at EOF. - Patch by Cristian Gafton . - -1998-03-13 16:55 Ulrich Drepper - - * string/tester.c (test_strpbrk): Add more strpbrk tests. - (test_strsep): Likewise. Correct horrible bugs. - - * string/bits/string2.h (strcspn): Optimize also reject string of - length 2 and 3. - (strspn): Likewise. - (strpbrk): Likewise. - (strsep): Likewise. Correct bug with successive separators and - separators at the end of the string. - * sysdeps/generic/strsep.c: Correct bug with successive separators - and separators at the end of the string. - -1998-03-13 13:11 Tim Waugh - - * posix/wordexp.c (parse_param): Positional parameters ($1, $2 - etc) now handled, as well as $$ (pid). - - * posix/Makefile (tests): Execute wordexp-test.sh for `make check'. - (distribute): Add wordexp-tst.sh. - - * posix/wordexp-tst.sh: New file. - - * posix/wordexp.c (parse_param): $# (or ${#}) expands to the - number of positional parameters. Renamed substitute_length to - seen_hash. - Don't free(env) is env is NULL. - -1998-03-13 16:50 Ulrich Drepper - - * libc.map: Add pthread_attr_init to GLIBC_2.1. - -1998-03-13 15:01 Ulrich Drepper - - * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename - for output file replacing gmon.out. - Patch by Dean Gaudet . - -1998-03-12 Andreas Schwab - - * elf/dl-misc.c (_dl_debug_message): Fix printing of pid. Clean - up namespace. Optimize finding end of line. - -1998-03-12 Andreas Schwab - - * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running - securely. Optimized. - (process_dl_debug): Add ':' to list of separators. Optimized. - -1998-03-13 10:25 Andreas Schwab - - * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal, - isless, islessequal, islessgreater, isunordered): Return zero or - one. - -1998-03-12 13:11 Tim Waugh - - * posix/wordexp-test.c: More tests. - (main): Set up arena for pathname expansion tests (in a temporary - directory). - (testit): Don't check word count or word vector if return value is - non-zero. - - * posix/wordexp.c (exec_comm): Always chop off terminating - linefeed (just like bash does). - (parse_param): Change lots of occurrences of "if (!*env)" to "if - (!env || !*env)". - (parse_param): For assignment inside parameter expansion, use all - expanded words in assignment rather than just the first. - (parse_param): Corrected return value for parameter expansion of - an unset variable when WRDE_UNDEF is in effect. - (parse_dollars): Don't field-split if quoted. - (wordexp): Opening brace character isn't allowed unquoted. - -1998-03-12 Ulrich Drepper - - * elf/dlerror.c: Fix concurrency problems with error string and - number. - - * elf/dl-deps.c (_dl_map_object_deps): Print debug info when - filter/auxiliary are being loaded. - -1998-03-12 14:24 Ulrich Drepper - - * elf/dlerror.c (last_object_name): Removed. - (dlerror): Don't use last_object_name. - (_dl_error_run): Omit second argument to _dl_catch_error. - * elf/dl-error.c (struct catch): Remove objname member. - (_dl_signal_error): Construct string including objname when given. - (_dl_catch_error): Remove objname handling. - * elf/link.h (_dl_catch_error): Fix prototype and comment. - * elf/rtld.c (dl_main): Call _dl_catch_error correctly. - * elf/dl-deps.c (_dl_map_objet_deps): Likewise. - * nss/nsswitch.c (nss_dlerror_run): Likewise. - * iconv/gconv_dl.c (dlerror_run): Likewise. - [Corrects PR libc/501]. - -1998-03-12 Matthias Urlichs - - * nscd/nscd.c: Ignore SIGPIPE. - -1998-03-12 Ulrich Drepper - - * nscd/nscd_getgr_r.c: Use __ protected names. - * nscd/nscd_getpw_r.c: Likewise. - -1998-03-12 Matthias Urlichs - - * nscd/nscd_getpw_r.c: Use pw_*_len values correctly. - * nscd/nscd_getpw_r.c: Fix length calculation in result check, - null bytes are not transmitted. - -1998-03-12 00:40 Franz Sirl - - * powerpc/syscalls.list: Correct typo. - * alpha/syscalls.list: Likewise. - * mips/syscalls.list: Likewise. - -1998-03-12 Ulrich Drepper - - * socket/sys/socket.h: Add prototype for __socket. - -1998-03-10 Ulrich Drepper - - * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep. - - * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_* - constants. - - * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove - definition here. - * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add - definition here. - - * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing - AF_* and PF_* constants. - - * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH. - -1998-03-11 15:27 Ulrich Drepper - - * elf/rtld.c: Update help message. - Install link maps for preloaded objects using main_map as loader. - - * elf/dl-misc.c: Use __libc_write instead of __write for debugging. - * elf/dl-profile.c: Likewise. - - * elf/dlsym.c: Little optimization. - * elf/dlvsym.c: Likewise. - -1998-03-11 14:56 Ulrich Drepper - - * posix/wordexp-test.c: Move test for parameter list at the very - beginning. - -1998-03-11 00:16 Tim Waugh - - * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless - WRDE_REUSE flag is set. - (parse_param): Allow `*', `@', and numbers in parameter names. - (parse_dollars): Differentiate between arithmetic expansion and a - command substitution that starts immediately with a sub-shell - (like ``$((1+3))'' as opposed to ``$((echo);(ls))''). - (parse_param): Memory allocated with __alloca in a block was - referenced outside that block. Adjusted to use malloc/free. - (parse_param): Adjusted field-splitting algorithm so that there is - not necessarily a field split at the end of a parameter expansion. - -1998-03-10 19:52 Tim Waugh - - * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE, - don't free words that have already been allocated. - (parse_param): A dollar sign on its own will never have a pattern - associated with it (like "${HOME%%/}" has), so don't try to free it. - (parse_glob): Attempt to glob when an unquoted `[' is found - (rather than an unquoted '{' (!)). Also for unquoted '?'. - (parse_glob): Sorted out quoting in a glob-able word. - (parse_param): Added $* and $@ handling. - -1998-03-11 Ulrich Drepper - - * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before - parsing it. - -1998-03-11 Andreas Jaeger - - * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use - _dl_debug_message. - -1998-03-12 Matthias Urlichs - - * elf/dl-misc.c: Default for debug output should be stderr. - * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output. - * elf/dl-lookup.c: reference_name may be NULL or empty. - -1998-03-11 10:30 Andreas Schwab - - * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection. - -1998-03-11 Ulrich Drepper - - * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h. - - * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h. - -1998-03-10 Andreas Schwab - - * sysdeps/unix/sysv/linux/scsi/scsi.h: New file. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it. - -1998-03-11 10:30 Andreas Schwab - - * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the - init stuff. - -1998-03-10 Ulrich Drepper - - * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE - flag. - - * misc/syslog.c (vsyslog): Don't try to send if not connected to - syslog daemon. - (closelog_internal): Don't do anything if not connected. - -1998-03-10 17:54 Ulrich Drepper - - * libc.map: Add _dl_debug_message. - * elf/dl-misc.c: Make _dl_debug_message a function. Print the PID - before every line. - * elf/fini.c: Correctly use new _dl_debug_message function. - * elf/init.c: Likewise. - * elf/dl-lookup.c: Likewise. - * sysdeps/unix/sysv/linux/libc-start.c: Likewise. - * elf/dl-load.c: Likewise. Add more debugging prints. - * elf/dl-reloc.c: Likewise. - * elf/dl-version.c: Likewise. - * elf/dl-support.c: Add variables for debugging. - * elf/rtld.c: Likewise. Recognize new debug options. - * elf/link.h: Declare new variables. - - * elf/dl-deps.c (_dl_map_object_deps): Little optimizations. - -1998-03-10 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from - kernel headers. Patch by a sun . - -1998-03-11 00:16 Tim Waugh - - * posix/wordexp-test.c (command_line_test): New function to allow - testing of specific cases from the command-line. - -1998-03-10 Ulrich Drepper - - * elf/dl-init.c (_dl_init_next): Print nicer messages. - * elf/dl-fini.c (_dl_fini): Likewise. - * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise. - - * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version - symbol in debug message. - (_dl_lookup_versioned_symbol_skip): Likewise. - -1998-03-10 19:43 Matthias Urlichs - - * sysdeps/unix/readdir_r.c: Zero out *result on EOF. - * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise. - * manual/filesys/texi: Document this. - -1998-03-10 10:49 Ulrich Drepper - - * manual/filesys.texi: Document the change below. - -1998-03-10 Andreas Jaeger - - * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600. - Reported by Greg Alexander . - -1998-03-10 00:10 Ulrich Drepper - - * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add - instead scope. If debugging display information about symbol - resolving. - (_dl_lookup_symbol): Call do_lookup with correct parameters. - (_dl_lookup_symbol_skip): Likewise. - (_dl_lookup_versioned_symbol): Likewise. - (_dl_lookup_versioned_symbol_skip): Likewise. - * elf/dl-support.c: Define _dl_debug_symbols. - * elf/link.h: Add declaration for _dl_debug_symbols. - * elf/rtld.c: Define _dl_debug_symbols. - (process_dl_debug): Recognize symbols option. - -1998-03-09 23:36 Ulrich Drepper - - * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments - in correct format. - * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first - with correct parameters. - [!PIC]: Initialize __libc_multiple_libcs. - -1998-03-09 18:21 Ulrich Drepper - - * elf/dl-support.c (_dl_debug_bindings): Add definition. - * elf/rtld.c (_dl_debug_bindings): Add definition. - (process_dl_debug): Recognize bindings option. Update help message. - * elf/link.h (struct link_map): Add l_versyms member. - (_dl_debug_bindings): Add declaration. - * elf/version.c (_dl_check_map_versions): Initialize l_versyms. - * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs - and l_reloc_result. - * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms. - (sym_val): Remove a member, add m as link_map. - (do_lookup): Return result appropriately. - (_dl_lookup_symbol): If _dl_debug_bindings is defined print message. - Call do_lookup correctly. - (_dl_lookup_symbol_skip): Likewise. - (_dl_lookup_versioned_symbol): Likewise. - (_dl_lookup_versioned_symbol_skip): Likewise. - -1998-03-09 08:21 Ulrich Drepper - - * sysdeps/unix/sysv/linux/chown.c: Moved to ... - * sysdeps/unix/sysv/linux/i386/chown.c: ...here. - - * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information. - * libc.map: Add chown to GLIBC_2.1. - * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here. - * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here. - -1998-03-06 Andreas Schwab - - * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a - weak alias. - * sysdeps/alpha/ffs.c: Likewise. - * sysdeps/am29k/ffs.c: Likewise. - * sysdeps/i386/ffs.c: Likewise. - * sysdeps/i960/ffs.c: Likewise. - * sysdeps/m68k/ffs.c: Likewise. - * sysdeps/m88k/ffs.c: Likewise. - * sysdeps/powerpc/ffs.c: Likewise. - * sysdeps/rs6000/ffs.c: Likewise. - * sysdeps/vax/ffs.s: Likewise. - * string/string.h: Declare __ffs. - * libc.map: Export it. - * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of - __builtin_ffs, which is not guaranteed to be namespace clean. - -1998-03-06 Andreas Schwab - - * elf/sprof.c: Rewrite symbol handling to use the normal symbol - table, which is much more likely to exist than debugging symbols. - (printsym): Remove const. - (load_shobj): Don't use _dl_pagesize. Fix mapping of section - header table. - - * libc.map: Export __profile_frequency, used by elf/sprof, to - avoid infinite recursion during startup. - -1998-03-09 12:16 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER): - Readd lost negate. - - * sysdeps/m68k/sysdep.h: Remove the stabs stuff again. - -1998-03-09 Ulrich Drepper - - * elf/dl-support.c: Add definition of _dl_debug_impcalls. - -1998-03-08 Ulrich Drepper - - * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH, - LD_PRELOAD, and LD_VERBOSE. - (dl_main): Use global variables set by process_envvars instead of - calling getenv. - * elf/dl-load.c (_dl_init_paths): Don't call getenv to get - LD_LIBRARY_PATH value, this comes with the parameter. - * elf/dl-support.c (non_dynamic_init): Pass return value of getenv - ("LD_LIBRARY_PATH") to _dl_init_paths. - -1998-03-08 22:55 Ulrich Drepper - - * elf/rtld.c (dl_main): Delay initialization of path structure if - the dynamically linker is invoked implicitly until we read the - dynamic section. - -1998-03-08 Ulrich Drepper - - * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff. - -1998-03-07 Andreas Jaeger - - * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of - Linux 2.0 and 2.1. - - * sysdeps/unix/sysv/linux/syscalls.list: Add chown. - -1998-03-08 14:58 Ulrich Drepper - - * Makeconfig (nisobjdir): Set to path to nis directory. - (rpath-link): Add nisobjdir. - Patch by Sven Verdoolaege . - - * elf/Makefile: Pretty print. - * elf/dl-lookup.c: Include unistd.h. - * elf/dl-runtime.c: Likewise. - - * localedata/Makefile (test-srcs): Add tst-rpmatch. - (distribute): Add tst-rpmatch.sh. - (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh. - - New tests for rpmatch function by - Jochen Hein . - * localedata/tst-rpmatch.c: New file. - * localedata/tst-rpmatch.sh: New file. - - * localedata/locales/de_DE: Correct yesexpr and noexpr. - * localedata/locales/de_AT: Likewise. - - * posix/getopt.c: Update contact address. - * posix/getopt1.c: Pretty print. - - * sysdeps/generic/libc-start.c: Do most of the initialization now - here instead of in start.S. - * sysdeps/unix/sysv/linux/libc-start.c: Likewise. - * sysdeps/i386/elf/start.S: Remove most of the initialization code. - - * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for - profil_counter to be public. - -1998-03-08 13:06 Tim Waugh - - * posix/wordexp.c (parse_arith): Now works for negative numbers too. - (parse_param): Coded parameter length expansion (${#var}). - (parse_param): Handling for "=", "+", "-", and the ":" versions added. - (parse_param): Cleaned up (fixed) error handling. - - * posix/wordexp-test.c: IFS now includes non-whitespace character - (comma). Added more tests. - -1998-03-07 Ulrich Drepper - - * elf/link.h: Fix typos. - Reported by Andreas Jaeger. - - * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment. - * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise. - -1998-03-06 Ulrich Drepper - - * argp/argp-help.c: Remove last bits of using gettext instead of - dgettext. - -1998-03-06 17:04 Ulrich Drepper - - * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output, - __libc_start_main. - * csu/Makefile (routines): Add libc-start. - * elf/dl-error.c: Remove declaration of _dl_argv. Include . - * elf/dl-lookup.c: Likewise. - * elf/dl-version.c: Likewise. - * sysdeps/i386/dl-machine.h: Likewise. - * elf/link.h: Declare _dl_argv, _dl_debug_fd. - Declare _dl_sysdep_output. Make _dl_sysdep_fatal, _dl_sysdep_error and - _dl_sysdep_message macros which use _dl_sysdep_output. - * elf/dl-fini.c: Write out which destructor is called while debugging. - * elf/dl-init.c: Likewise for constructor. - * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message. - * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and - _dl_sysdep_message. Add _dl_sysdep_output. - * elf/rtld.c: Recognize LD_DEBUG_OUTPUT. Set _dl_debug_fd if - this file can be opened. - For LD_DEBUG=libs also set _dl_debug_impcalls. - * sysdeps/generic/dl-cache.c: Include unistd.h. - * sysdeps/generic/libc-start.c: New file. - * sysdeps/unix/sysv/linux/libc-start.c: New file. - * sysdeps/i386/elf/start.S: Don't call main directly, call - __libc_start_main instead. - - * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency. - -1998-03-06 Ulrich Drepper - - * nss/nsswitch.c (__nss_nscd_not_available): Removed. - -1998-03-06 12:42 Ulrich Drepper - - * argp/argp.h (struct argp): Add new field domain. - * argp/argp-help.c: Change all gettext calls to dgettext and use - domain field from appropriate argp in call. - * argp/argp-parse.c: Likewise. - -1998-03-06 11:35 Ulrich Drepper - - * posix/wordexp-test.c: Change testsuite so that it can run even - for ~root != /root. - -1998-03-06 Andreas Jaeger - - * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1. - -1998-03-05 Andreas Schwab - - * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER): - Don't store into global errno if we already store through - __errno_location. - * sysdeps/unix/i386/sysdep.S: Likewise. - * sysdeps/unix/alpha/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. Add - missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT && - PIC). - -1998-03-05 Andreas Schwab - - * sysdeps/generic/sysdep.h (L): Remove definition. - * sysdeps/i386/sysdep.h (L): Define it here instead. - -1998-03-06 Andreas Jaeger - - * nis/nis_call.c (__do_niscall): Safe and reset errno. - - * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno. - -1998-03-01 Andreas Jaeger - - * sysdeps/generic/getresuid.c (__getresuid): Use ISO C - declaration style to avoid warnings. - -1998-03-06 11:48 Mark M._Kettenis - - * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" -> - "LD_DEBUG". - -1998-03-05 Ulrich Drepper - - * posix/Makefile (tests): Add wordexp-test. - * posix/wordexp-test.c: New file. Testsuite for wrodexp. - Patches by Tim Waugh . - -1998-03-05 16:04 Ulrich Drepper - - * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the - dependencies. - - * elf/link.h (struct r_search_path_elem): Add two new field for - lib path debugging. - * elf/rtld.c: Recognize LD_DEBUG environment variable and set - variable accordingly. - * elf/dl-load.c: If _dl_debug_libs is nonzero print what library - is considered next along with information about load paths. - * sysdeps/generic/dl-cache.c: Likewise. - * elf/dl-support.c: Define _dl_debug_libs. - * elf/genrtldtbl.awk: Add initializers for two new field in - struct r_search_path_elem. - -1998-03-06 10:40 Andreas Schwab - - * sysdeps/m68k/add_n.S: Use ENTRY and END macros. - * sysdeps/m68k/lshift.S: Likewise. - * sysdeps/m68k/rshift.S: Likewise. - * sysdeps/m68k/sub_n.S: Likewise. - * sysdeps/m68k/m68020/addmul_1.S: Likewise. - * sysdeps/m68k/m68020/mul_1.S: Likewise. - * sysdeps/m68k/m68020/submul_1.S: Likewise. - - * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro. - [_LIBC_REENTRANT]: Don't store into global errno. - - * sysdeps/m68k/sysdep.h: New file. - * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it. Use the macros - ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there. - (DO_CALL): Change to expect syscall name as argument. - (PSEUDO): Pass syscall_name to DO_CALL. - (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global - errno. - -1998-03-05 Ulrich Drepper - - * elf/rtld.c: Speed up processing of environment variables. Do - only one run on the environment by avoiding to call getenv. - * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New - function. Used by patch above. - -1998-03-05 Thorsten Kukuk - - * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for - running nscd. - * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable. - * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable. - * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables. - -1998-03-05 Ulrich Drepper - - * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS - module cannot be found. Reported by Andreas Jaeger. - -1998-03-05 11:40 Franz Sirl - - * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning - on platforms which default to unsigned chars. - * nscd/nscd_getpw_r.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before - defining it. - -1998-03-05 Andreas Jaeger - - * elf/Makefile (install-bin): Change = to += for sprof to install - ldd also. - -1998-03-04 16:12 H.J. Lu - - * libio/strops.c (_IO_str_seekoff): Handle MODE == 0. - -1998-03-04 16:19 Ulrich Drepper - - * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change. - -1998-03-04 Andreas Jaeger - - * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so - that a failure to connect to nscd doesn't change errno. - -1998-03-04 Andreas Jaeger - - * manual/maint.texi (Reporting Bugs): Change - bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org. - - * locale/iso-4217.def: Likewise - -1998-03-04 12:43 Ulrich Drepper - - * manual/texinfo.tex: Updated. - -1998-03-03 Andreas Schwab - - * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined - value. - * sysdeps/posix/pathconf.c: Likewise. - * posix/getconf.c: Print `undefined' if pathconf returns -1 - without setting errno. - -1998-03-04 Ulrich Drepper - - * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste - problem. - * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file. - Patches by Elliot Lee . - -1998-03-04 09:43 Ulrich Drepper - - * elf/link.h (struct link_map): Add new field l_reloc_result. - * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results - of relocation for the object to be profiled. - * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field - to NULL. - * elf/rtld.c (_dl_start): Add comment that we must not allocate an - array here. - * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already - contains a result from a previous run use this instead of computing - the value again. - * elf/dl-minimal.c (malloc): Remove limit for size of allocation. - -1998-03-04 11:32 Andreas Schwab - - * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word - offsets into the GOT. - (RTLD_START): Likewise. - -1998-03-03 17:55 Ulrich Drepper - - * elf/sprof.c: Cleanup a bit. - -1998-03-03 08:01 H.J. Lu - - * sysdeps/generic/sysdep.h (L): New. Define. - - * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define. - - * sysdeps/i386/i586/addmul_1.S: Fix a typo. - - * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice - to have only one exit point for functions. - * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. - * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise. - * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise. - * sysdeps/unix/sysv/linux/i386/socket.S: Likewise. - * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise. - -1998-03-03 Andreas Jaeger - - * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and - reset errno so that errno isn't set to ENOSYS in the first call. - * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise. - * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise. - * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise. - * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise. - -1998-03-02 17:55 Ulrich Drepper - - * sysdeps/i386/add_n.S: Change to use ENTRY and END macro. - * sysdeps/i386/addmul_1.S: Likewise. - * sysdeps/i386/lshift.S: Likewise. - * sysdeps/i386/mul_1.S: Likewise. - * sysdeps/i386/rshift.S: Likewise. - * sysdeps/i386/sub_n.S: Likewise. - * sysdeps/i386/submul_1.S: Likewise. - * sysdeps/i386/i586/add_n.S: Likewise. - * sysdeps/i386/i586/addmul_1.S: Likewise. - * sysdeps/i386/i586/lshift.S: Likewise. - * sysdeps/i386/i586/mul_1.S: Likewise. - * sysdeps/i386/i586/rshift.S: Likewise. - * sysdeps/i386/i586/sub_n.S: Likewise. - * sysdeps/i386/i586/submul_1.S: Likewise. - - * sysdeps/i386/sysdep.h: Extend last change. - - * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice - to have only one exit point for functions. - -1998-03-02 Ulrich Drepper - - * configure.in: Fix msgfmt test. Fix handling of //s in sysdeps - search. - -1998-03-02 13:28 Ulrich Drepper - - * Makerules: Generate libc.so with absolute paths for the used - shared objects. - - * config.make.in: Add MAKEINFO definition. - -1998-03-02 Ulrich Drepper - - * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end. - (ENTRY): Use STABS_FUN. - (END): Use STABS_FUN_END. - (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info. - - * elf/Makefile: Add rules to build sprof program. - * elf/sprof.c: New file. - -1998-02-28 Andreas Jaeger - - * misc/syslog.c (openlog_internal): Insert missing closing brace. - -1998-02-06 Andreas Jaeger - - * configure.in: Check for working msgfmt version (from GNU gettext - 0.10 or later). - -1998-03-02 Ulrich Drepper - - * configure.in: Avoid //s in sysdirs. - Patch by Roland McGrath. - - * stdlib/a64l.c (a64l): Rewrite by Joe Keane . - -1998-03-02 07:17 H.J. Lu - - * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when - setting _dl_global_scope for RTLD_GLOBAL. - -1998-02-27 Andreas Schwab - - * sysdeps/unix/make-syscalls.sh: Fix last change so that all - possible lists of object-suffixes are taken care of. - -1998-03-02 10:16 Ulrich Drepper - - * timezone/private.h: Update from tzcode1998c. - * timezone/zic.c: Likewise. - * timezone/antarctica: Updated from tzdata1998c. - * timezone/asia: Likewise. - * timezone/australasia: Likewise. - * timezone/europe: Likewise. - * timezone/southamerica: Likewise. - -1998-03-02 Ulrich Drepper - - * posix/glob.c (glob_in_dir): Add support for cases insensitive - VMS. Patch by John W. Eaton . - -1998-03-01 19:05 H.J. Lu (hjl@gnu.org) - - * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf. - Changed type of TWO43, TWO52 from float to double. - * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff. - * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf. - Changed type of TWO43 from float to double. - * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo. - Use __isinff. - -1998-03-01 18:52 H.J. Lu (hjl@gnu.org) - - * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday, - osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage, - osf_wait4): Removed __xxxx symbol for GLIBC_2.0. - -1998-03-01 09:11 Richard Henderson - - * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include - kernel_termios.h. - * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix. - Clean up random whitespace. - * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm. - * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args. - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss. - * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file. - -1998-03-01 08:31 Richard Henderson - - * shlib-versions: Match alpha*. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex. - * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove. - - * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New. - Implement copysign* with and without __ prefix. - Likewise for fabs; use builtin for gcc 2.8. - (floor*): New. - (fdim*): New. - - * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New. - (R_SPARC*): Match current v9 ABI. - - * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long. - - * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t. - * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise. - * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise. - * sysdeps/generic/getresgid.c: Use prototype form because of warning. - * sysdeps/unix/sysv/linux/getdents.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise. - * sysdeps/unix/grantpt.c (argv): Fix consts. - * sysdeps/unix/sysv/linux/getpt.c: Include - * sysdeps/unix/sysv/linux/sigaction.c: Likewise. - -1998-02-27 Ulrich Drepper - - * misc/syslog.c: Change to allow user the interpretation of the - outcome even with syslog having no return value. - -1998-02-05 20:41 Wolfram Gloger - - * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume - that the number of program headers is >0 (which is wrong for the - loader itself). - -1998-02-27 Ulrich Drepper - - * Makefile (distribute): Add README.libm. - -1998-02-27 Andreas Jaeger - - * time/clocktest.c (main): Correct typo: "--" -> "==". - -1998-02-25 20:53 H.J. Lu - - * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus - inline function. - (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New - inline functions. - - * math/libm.map (__atan2): Added. - -1998-02-27 Ulrich Drepper - - * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly. - Reported by Göran Uddeborg . - - * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported - bug. - -1998-02-25 Andreas Jaeger - - * manual/arith.texi (Old-style number conversion): Correct - typo. Reported by Göran Uddeborg . - -1998-02-27 Ulrich Drepper - - * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided, - but does not require it. Handle missing argv[] values gracefully. - * posix/execl.c: Likewise. - * posix/execle.c: Likewise. - -1998-02-25 Andreas Schwab - - * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer - bit. - * sysdeps/libm-ieee754/s_isinfl.c: Likewise. - -1998-02-27 Ulrich Drepper - - * libc.map: Add __adjtimex. - -1998-02-26 Thorsten Kukuk - - * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r): - Remove memset. - -1998-02-24 08:10 H.J. Lu - - * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed - to 64. - - * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno. - - * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at". - * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto. - - * sysdeps/unix/make-syscalls.sh: Make versioned symbols only - for shared library. - - * libc.map (adjtime, adjtimex): Added for GLIBC_2.1. - - * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): - Added adjtimex and old_adjtimex. - - * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex): - New. - (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes, - osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0. - - * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned - symbols only for shared library. - * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/select.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise. - - * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch. - * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/select.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise. - - * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct - rusage pointer. - - * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX): - New macros. - (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval, - timex and __adjtimex, respectively. - - * sysdeps/unix/sysv/linux/alpha/adjtime.c: New. - - * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New. - -1998-02-25 08:28 H.J. Lu - - * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy - for FE_DIVBYZERO. Kludge for FE_UNDERFLOW. - -1998-02-26 14:59 Ulrich Drepper - - * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces. - -1998-02-19 11:00 Zack Weinberg - - * Makefile.in: Disable built-in rules. - -1998-02-21 Andreas Jaeger - - * sysdeps/i386/fpu/t_exp.c: Move to ... - * sysdeps/libm-i387/t_exp.c: ... here. - -1998-02-21 13:51 H.J. Lu - - * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed - from __exp2_deltatable. - -1998-02-26 Ulrich Drepper - - * nis/ypclnt.c (yp_master): Check result of strdup. - Patch by Thorsten Kukuk. - -1998-02-26 Thorsten Kukuk - - * nis/ypclnt.c: Give clnt handle after error checking free, change - return codes to fix problems with rpc.nisd in YP mode on Ultra's. - -1998-02-26 09:00 Ulrich Drepper - - * misc/fstab.c: Partly rewritten to use dynamically allocated buffer. - Patch by Joe Keane . - - * misc/fstab.h (struct fstab): Change fs_type member to be const. - * misc/fstab.c: Remove casts in fs_type assignments. - -1998-02-26 Andreas Jaeger - - * sysdeps/i386/fpu/bits/fenv.h: Correct typo. ISO C 9X defines - FE_TOWARDZERO and not FE_TOWARDSZERO. Reported by H.J. Lu. - * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise. - * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise. - * sysdeps/powerpc/bits/fenv.h: Likewise. - * sysdeps/m68k/fpu/bits/fenv.h: Likewise. - * sysdeps/generic/bits/fenv.h: Likewise. - * sysdeps/alpha/fpu/bits/fenv.h: Likewise. - * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise. - * sysdeps/powerpc/test-arith.c (main): Likewise. - -1998-02-25 Ulrich Drepper - - * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of - the comparison macros. - -1998-02-21 20:14 H.J. Lu - - * sysdeps/libm-ieee754/s_log2.c (ln2): Added. - (__log2): Fixed return values. - * sysdeps/libm-ieee754/s_log2f.c: Likewise. - -1998-02-25 Ulrich Drepper - - * math/math.h (isunordered): Rename local variables to ensure - correct code. Reported by HJ Lu. - -1998-02-25 10:34 Ulrich Drepper - - * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal, - isless, islessequal, islessgreater, isunordered): Fix syntax for - fucompip instruction. - (isless, islessequal): Fix logic. - -1998-02-21 Andreas Jaeger - - * math/libm-test.c (sqrt_test): Add test for sqrt(2). - (comparisons_test): New tests for comparison macros. - -1998-02-24 15:12 Ulrich Drepper - - * Makeconfig: Filter out frame-pointer effecting options when - compiling profiling or debugging code. - * config.h.in (internal_function): Don't define here if PROF is - defined. - * gmon/gmon.c (__moncontrol): Don't change state if already in error - state. - (__monstartup): If calloc fails set error state and mark array as - not allocated. - (_mcleanup): Don't call write_gmon if in error state. Don't try - to free array if not successfully allocated. - - * elf/dl-load.c (STRING): Define to __STRING to enble expansion. - Include elf.h to get macro definitions. - Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE. - -1998-02-24 09:40 Ulrich Drepper - - * elf/ldd.sh.in: Add compatibility for broken old shells. - * elf/ldd.bash.in: Likewise. - -1998-02-24 08:11 H.J. Lu - - * sunrpc/rpc_main.c (open_input): Check pipe return error. - - * time/clocktest.c (main): Check signal return error. - -1998-02-24 Andreas Jaeger - - * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add - "/" and use do-install-program. Reported by Mark M. Kettenis. - (subdir_install): Likewise. - -1998-02-22 Thorsten Kukuk - - * sunrpc/rpc_sample.c: Fix typo. - - * nscd/connections.c: Use locale. - * nscd/grpcache.c: Add debug messages, gidtbl should get the - calloc result. - * nscd/nscd.c: Check if init functions fails. - * nscd/nscd_conf.c: Allow disabling of group cache. - * nscd/nscd_getgr_r.c: Fix return code if group not found. - * nscd/pwdcache.c: Fix debug messages. - -1998-02-22 Andreas Schwab - - * libc.map: Add __monstartup and _mcleanup for profiling support. - -1998-02-20 Andreas Schwab - - * libc.map: Export __getpagesize, for binary compatibility with - 2.0. - -1998-02-21 Andreas Schwab - - * posix/globtest.sh: Use --library-path instead of - LD_LIBRARY_PATH. - * localedata/sort-test.sh: Likewise. - * localedata/tst-fmon.sh: Likewise. Avoid useless use of cat. - -1998-02-22 Andreas Schwab - - * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct - sigaction and struct kernel_sigaction for __syscall_rt_sigaction. - * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. - - * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct - kernel_sigaction): Define. - * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct - kernel_sigaction): Define. - -1998-02-23 Andreas Jaeger - - * math/libm-test.c: Change epsilons for libm-ieee754. - -1998-02-23 12:33 Ulrich Drepper - - * sysdeps/i386/__longjmp.S: Fix race condition. - Reported by Bruno Haible . - -1998-02-20 18:43 Ulrich Drepper - - * hesiod/hesiod.c: Pretty print. Don't use __ protected names. - * iconvdata/8bit-gap.c: Likewise. - * iconvdata/8bit-generic.c: Likewise. - * iconvdata/iso6937.c: Likewise. - * iconvdata/iso8859-1.c: Likewise. - * iconvdata/sjis.c: Likewise. - * iconvdata/t61.c: Likewise. - -1998-02-20 Andreas Schwab - - * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative - feature tests by positive feature tests. - -1998-02-19 Andreas Schwab - - * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value. - -1998-02-20 Ulrich Drepper - - * elf/dlvsym.c (dlvsym_doit): More corrections. - Patch by Andreas Jaeger. - -1998-02-19 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition. - -1998-02-19 17:16 Ulrich Drepper - - * libc.map: More reordering for GLIBC_2.1 symbols. - -1998-02-19 Andreas Jaeger - - * libc.map: Move some functions from version GLIBC_2.0 to - GLIBC_2.1, reorder declarations. - -1998-02-19 Ulrich Drepper - - * resolv/gethnamaddr.c (addrsort): Make this function extern. - Patch by zab@thebrain.grumblesmurf.net. - -1998-02-19 Thorsten Kukuk - - * nis/libnsl.map: NIS+ support is new in glibc 2.1, add - NIS+ functions with version GLIBC_2.1. - -1998-02-19 14:05 Ulrich Drepper - - * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility - with 2.0 binaries. Reported by Thorsten Kukuk. - -1998-02-19 Andreas Jaeger - - * elf/dlvsym.c (dlvsym_doit): Correct last patch. - - * elf/dlsym.c (dlsym_doit): Likewise. - -1998-02-19 Andreas Jaeger - - * elf/link.h: Correct typos. - - * iconv/iconv_prog.c: Correct typo. - -1998-02-18 17:57 Ulrich Drepper - - * iconv/Makefile: Add rules to build and install iconv program. - * iconv/iconv_prog.c: New file. - -1998-02-18 16:34 H.J. Lu - - * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for - _dl_lookup_symbol_skip call. - * elf/dlvsym.c (dlvsym_doit): Likewise. - -1998-02-18 Ulrich Drepper - - * libio/iovsscanf.c: Do not include errno.h. - -1998-02-17 Andreas Schwab - - * elf/dl-load.c (add_name_to_object): Don't translate strings. - * elf/dl-minimal.c (_strerror_internal): Define it here to avoid - pulling in the whole error list. - (__dcgettext, dcgettext): Removed. - * libc.map: Export _strerror_internal. - -1998-02-18 10:50 Ulrich Drepper - - * sysdeps/i386/fpu/t_exp.c: New file. - -1998-02-18 Andreas Jaeger - - * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add - everything with version GLIBC_2.1. - * hesiod/libnss_hesiod.map: Likewise. - -1998-02-18 Andreas Jaeger - - * manual/arith.texi (Old-style number conversion): This node is a - section, not a subsection. - -1998-02-17 Andreas Schwab - - * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy. - -1998-02-17 Andreas Schwab - - * elf/rtld.c (dl_main): Make sure that the library search paths - have been initialized before the first call to _dl_map_object. - -1998-02-17 Andreas Schwab - - * Makerules (common-generated): Add libc_pic.os. - -1998-02-17 Andreas Schwab - - * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address - of the executable. - -1998-02-18 10:28 Andreas Schwab - - * sysdeps/m68k/fpu/t_exp.c: New file. - -1998-02-17 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign - to global errno variable anymore. - -1998-02-17 17:41 Ulrich Drepper - - * elf/dl-load.c (open_path): Take extra argument PRELOADED. - If PRELOADED is nonzero check in case of an SUID application - whether the shared object has the SUID bit set. - Fix some other problems with handling shared objects in system - specific directories. - (_dl_map_object): Also take extra parameter and pass it to open_path. - * elf/link.h (_dl_map_object): Correct prototype and comment. - * elf/rtld.c (dl_main): Call _dl_map_object correctly. - * elf/dl-open.c (_dl_open): Likewise. - * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise. - - * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly. - -1998-02-17 Ulrich Drepper - - * math/libm-test.c (modf_test): Add test for 1.5. - - * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with - 0 to get always an int. - -1998-02-17 Andreas Jaeger - - * math/libm.map: Move all symbols that are new in glibc 2.1 to - version GLIBC_2.1. - -1998-02-17 Ulrich Drepper - - * stdio-common/vfscanf.c (inchar): Check c for being EOF before - trying to read another character. - -1998-02-05 Andreas Jaeger - - * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert - name to lowercase. - - * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert - name to lowercase, add test for big enough buffer. - -1998-02-03 Andreas Jaeger - - * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn): - Make compatible with older kernels. Patch by Richard Henderson. - -1998-02-17 15:10 Ulrich Drepper - - * elf/dl-load.c (open_path): Use __xstat instead of stat. - - * localedata/tst-locale.sh: Comment out first test for now. - -1998-02-14 14:58 H.J. Lu - - * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined - as 1. - * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO): - Likewise. - - * libio/iogetline.c (_IO_getline_info): Renamed from - _IO_getline. - (_IO_getline): Just call _IO_getline_info. - - * libio/libioP.h (_IO_getline_info): New declaration. - - * libc.map (_IO_getline_info, __write): Added. - -1998-02-17 Andreas Jaeger - - * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to - const char* to shut up gcc. - -1998-02-17 11:37 Ulrich Drepper - - * elf/dl-open.c (_dl_open): Assign correct value to new->l_global. - Patch forwarded by Cristian Gafton . - - * math/math.h: Define M_* constants always as `double' and add new - macros M_*l which are of type `long double'. - * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now. - * sysdeps/libm-ieee754/s_cacosl.c: Likewise. - * sysdeps/libm-ieee754/s_casinhl.c: Likewise. - * sysdeps/libm-ieee754/s_catanhl.c: Likewise. - * sysdeps/libm-ieee754/s_catanl.c: Likewise. - * sysdeps/libm-ieee754/s_clog10l.c: Likewise. - * sysdeps/libm-ieee754/s_clogl.c: Likewise. - * math/libm-tst.c: Likewise. - - * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl, - define as long double unconditionally. - -1998-02-17 Andreas Jaeger - - * manual/arith.texi (Old-style number conversion): Correct some - typos. - -1998-02-16 16:28 H.J. Lu - - * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c): - Restore. - - * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted. - -1998-02-16 Ulrich Drepper - - * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but - on $(rtld-ldscript). - - * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports - starting from 0 not only from `from'. - Patch by Maciej W. Rozycki . - -1998-02-16 17:33 Ulrich Drepper - - * elf/rtld.c (dl_main): Recognize --library-path parameter and - pass value (or NULL) to _dl_init_paths. - * elf/dl-load.c (_dl_init_paths): Change to take one parameter, - replacing local variable llp. If llp is NULL examine LD_LIBRARY_PATH - environment variable. - * elf/link.h: Change prototype for _dl_init_paths. - * elf/dl-support.c: Pass NULL in _dl_init_paths call. - - * localedata/Makefile (distribute): Add test files. - -1998-02-17 Andreas Jaeger - - * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm, - test1.def, test2.def, test3.def, test4.def}: Simple input files - for localedef. Contributed by Yung-Ching Hsiao - . - - * localedata/Makefile (tests): Call tst-locale.sh. - - * localedata/tst-locale.sh: New file, regression tests for some - localedef problems. - -1998-02-15 Thorsten Kukuk - - * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy. - - * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL - terminated. - * nis/nss_nisplus/nisplus-network.c: Likewise. - * nis/nss_nisplus/nisplus-proto.c: Likewise. - * nis/nss_nisplus/nisplus-rpc.c: Likewise. - * nis/nss_nisplus/nisplus-service.c: Likewise. - - Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug - and support generating thread safe RPC code. - * sunrpc/rpc_main.c: Add changes. - * sunrpc/rpc_clntout.c: Likewise. - * sunrpc/rpc_cout.c: Likewise. - * sunrpc/rpc_hout.c: Likewise. - * sunrpc/rpc_parse.c: Likewise. - * sunrpc/rpc_sample.c: Likewise. - * sunrpc/rpc_scan.c: Likewise. - * sunrpc/rpc_svcout.c: Likewise. - * sunrpc/rpc_util.c: Likewise. - * sunrpc/rpc_util.h: Add new structs and prototypes. - * sunrpc/proto.h: Remove prototypes for static functions. - -1998-02-15 Andreas Schwab - - * locale/programs/ld-messages.c (messages_finish): Don't skip - error checking when being quiet. - * locale/programs/ld-ctype.c (ctype_finish): Likewise. - (set_class_defaults): Likewise. - * locale/programs/charmap.c (parse_charmap): Likewise. - * locale/programs/ld-collate.c (collate_finish): Likewise. - * locale/programs/ld-monetary.c (monetary_finish): Likewise. - * locale/programs/ld-time.c (time_finish): Likewise. - * locale/programs/locfile.c (write_locale_data): Likewise. - - * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore - unknown characters and empty ranges. - * locale/programs/ld-collate.c (collate_order_elem): When - processing an ellipsis properly form a linked list in the result - table, fix typo when allocating ordering array. - [PR libc/419] - -1998-02-13 Andreas Schwab - - * elf/Makefile (ld-map): Define. - (rtld-ldscript): Define. Change all `$(objpfx)rtld-ldscript' to - `$(rtld-ldscript)'. - ($(objpfx)ld.so): Combine the two versions of this rule. Depend - on $(ld-map). - (rtld-link): Combine the two versions of this definition. Fixed - to make it work when no symbol versioning is used. - -1998-02-16 Ulrich Drepper - - * Makeconfig (build-program-cmd): Use --library-path parameter to - ld.so instead of environment variable. - - * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter. - * sunrpc/rpc_main.c: Remove support for -$$ option again. - -1998-02-16 Andreas Jaeger - - * Make-dist: Respect with-cvs setting. - * MakeTAGS (all-pot): Likewise. - * sysdeps/sparc/sparc32/Makefile: Likewise. - * sysdeps/mach/hurd/Makefile: Likewise. - * stdlib/Makefile: Likewise. - * posix/Makefile: Likewise. - * intl/Makefile: Likewise. - * po/Makefile (linguas): Likewise - -1998-02-15 Thorsten Kukuk - - * nis/ypclnt.c (yp_all): Remove error message, user should print it. - -1998-02-15 Ulrich Drepper - - * libc.map: Add __strcasecmp. - - * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last - module. - - * nss/getXXent_r.c: If no more module is found don't try to call - setXXent functions but leave unsuccessfully. - - * malloc/obstack.h: Cleanups. - - * sysdeps/wordsize-32/stdint.h: New file. - * sysdeps/wordsize-64/stdint.h: New file. - * sysdeps/generic/stdint.h: New file. - * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h. - * sysdeps/wordsize-64/inttypes.h: Likewise. - * stdlib/Makefile (headers): Add stdint.h. - -1998-02-03 Paul Eggert - - * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available. - -1998-02-13 17:59 Zack Weinberg - - * timezone: New directory. - * time/README, time/africa, time/antarctica, time/asia, - time/australasia, time/backward, time/checktab.awk, - time/etcetera, time/europe, time/factory, time/ialloc.c, - time/iso3166.tab, time/leapseconds, time/northamerica, - time/pacificnew, time/private.h, time/scheck.c, - time/solar87, time/solar88, time/solar89, time/southamerica, - time/systemv, time/test-tz.c, time/tzfile.h, - time/tzselect.ksh, time/yearistype, time/zdump.c, - time/zic.c, time/zone.tab: Moved to timezone. - * time/tzfile.c: Include tzfile.h from timezone subdir. - * time/tzset.c: Likewise. - * time/Makefile: Cut out all code relating to timezones... - * timezone/Makefile: ...and paste it in here. - * Makefile (subdirs): Add timezone. - -1998-02-13 18:45 H.J. Lu - - * libc.map (_sys_nerr): Added. - - * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it - versioned symbol. - -1998-02-15 17:16 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and - pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY. - Reported by Craig Metz . - -1998-01-22 Andreas Schwab - - * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp - instead of strcasecmp. - * nss/nss_files/files-alias.c (get_next_alias): Likewise. - - * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8. - -1998-02-15 16:55 Ulrich Drepper - - * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const. - Patch by Dean Gaudet . - -1998-02-15 16:53 Ulrich Drepper - - * sysdeps/generic/Dist: Add getresgid.c and getresuid.c. - -1998-02-15 10:49 Zack Weinberg - - * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel - with no poll syscall, just include the BSD version. - * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a - kernel without the syscall, include the stub version. - * sysdeps/unix/sysv/linux/getresgid.c: Likewise. - * sysdeps/generic/getresuid.c: New file. - * sysdeps/generic/getresgid.c: New file. - -1998-02-15 Ulrich Drepper - - * stdio-common/vfscanf.c: Correct last change a bit. - -1998-02-13 17:39 Ulrich Drepper - - * elf/Makefile: Don't use --version-script parameter to link ld.so - unconditionally. - -1998-01-02 04:19 Geoff Keating - - * math/Makefile: Add t_exp. - * math/libm-test.c: Tighten accuracy bounds for exp(), correct - constants. - * math/test-reduce.c: Remove temporarily, it seems to be broken. - * sysdeps/libm-ieee754/e_exp.c: Use accurate table method. - * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for - better accuracy. - * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct - algorithm for very large/very small arguments. - * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial; - correct algorithm for very large/very small arguments; adjust for - new table. - * sysdeps/libm-ieee754/t_exp.c: New file. - * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas. - - * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test' - back, with comment that explains what breaks when you remove it :-(. - - * localedata/xfrm-test.c: Avoid integer overflow. - - * stdlib/strfmon.c: char is unsigned, sometimes. - - * sysdeps/powerpc/Makefile: Remove quad float support. - * sysdeps/powerpc/q_*.c: Remove, they will become an add-on. - * sysdeps/powerpc/quad_float.h: Likewise. - * sysdeps/powerpc/test-arith.c: Likewise. - * sysdeps/powerpc/test-arithf.c: Likewise. - - * sysdeps/generic/s_exp2.c: Remove, we have this implemented now. - * sysdeps/generic/s_exp2f.c: Likewise. - - * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__, - don't try anything if _SOFT_FLOAT. - -1997-12-31 Andreas Schwab - - * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change. - * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise. - * wctype/wctype.c: Likewise. - * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses - changed. They are incompatible with the _ISxxx values from - on little endian machines. - (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform - bit number. This fixes the real bug and restores the integrity of - the ctype locale file. - * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx. - * wctype/wcfuncs_l.c: Likewise. - * wctype/wcextra.c: Likewise. - * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct - byte swapping. - -1998-02-09 Andreas Schwab - - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it - into .bss segment instead of .common, so that aliases on it work. - - * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and - .size directives, put into .bss segment instead of initializing it - to 4. - -1998-02-12 08:00 H.J. Lu - - * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added. - - * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New - functions. - Make names without __ weak aliases. - (__libc_release, __libc_version): Make them static. - - * include/gnu/libc-version.h: New file. - * Makefile (headers): Add gnu/libc-version.h. - -1998-02-13 Ulrich Drepper - - * stdlib/stdlib.h (struct drand48_data): Leave X to user macros - and use x for member name. - Reported by Daniel Lyddy . - - * stdlib/drand48.c: Change according to member name change. - * stdlib/drand48_r.c: Likewise. - * stdlib/lcong48_r.c: Likewise. - * stdlib/lrand48.c: Likewise. - * stdlib/lrand48_r.c: Likewise. - * stdlib/mrand48.c: Likewise. - * stdlib/mrand48_r.c: Likewise. - * stdlib/seed48.c: Likewise. - * stdlib/seed48_r.c: Likewise. - * stdlib/srand48_r.c: Likewise. - -1998-02-11 Andreas Jaeger - - * nss/test-netdb.c: Add some more test cases. - -1998-02-13 11:39 Ulrich Drepper - - * libio/iovsscanf.c: Undo last change modifying errno. - -1998-02-12 Andreas Schwab - - * stdio-common/vfscanf.c: Never try to read another character - after EOF. Don't decrement read_in after EOF, it wasn't - incremented in the first place. - (NEXT_WIDE_CHAR): Set First, not first. - -1998-02-06 07:48 H.J. Lu - - * db/Makefile ($(inst_libdir)/libndbm.a, - $(inst_libdir)/libndbm.so): New targets. - * db2/Makefile: Likewise. - -1998-02-12 08:20 H.J. Lu - - * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak - aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined. - -1998-02-12 Andreas Schwab - - * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++ - . - * sysdeps/unix/sysv/linux/_G_config.h: Likewise. - -1998-02-11 Andreas Schwab - - * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with - versioned symbols. - -1998-02-13 08:14 H.J. Lu - - * libc.map (_dl_global_scope, _dl_lookup_symbol_skip, - _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): - Added for libdl.so. - -1998-02-09 Andreas Schwab - - * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as - extra syscall. - - * grp/Makefile: Fix logic when checking for thread package. - * pwd/Makefile: Likewise. - -1998-02-11 08:23 H.J. Lu - - * elf/Makefile (rtld-map): Replaced by libc-map. - - * elf/rtld.map: Removed. - - * libc.map (__libc_enable_secure, _dl_catch_error, - _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state, - _dl_default_scope, _dl_global_scope_end, _dl_init_next, - _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps, - _dl_object_relocation_scope, _dl_relocate_object, - _dl_signal_error, _dl_starting_up, _dl_sysdep_start, - _r_debug): Added for ld.so. - -1998-02-10 08:38 H.J. Lu - - * libio/iofclose.c: Check PIC && DO_VERSIONING instead of - DO_VERSIONING. - * libio/iofdopen.c: Ditto. - * libio/iofopen.c: Ditto. - * libio/oldfileops.c: Ditto. - - * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for - version GLIBC_2.1. - - * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed - oldsiglist from sysdep_routines and shared-only-routines. - - * sysdeps/unix/sysv/linux/errlist.c: New. - * sysdeps/unix/sysv/linux/errlist.h: New. - * sysdeps/unix/sysv/linux/sizes.h: New. - * sysdeps/unix/sysv/linux/alpha/sizes.h: New. - * sysdeps/unix/sysv/linux/sparc64/sizes.h: New. - - * sysdeps/unix/sysv/linux/oldsiglist.c: Removed. - - * sysdeps/unix/sysv/linux/siglist.c: Include . - (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size - directive. - - * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New. - - * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added. - (oldsiglist.c): Removed. - - * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New. - (_sys_siglist): Use SYS_SIGLIST instead. - (_sys_nerr): Use SYS_NERR instead. - - * sysdeps/gnu/errlist.c: Rebuilt. - -1998-02-11 08:35 H.J. Lu - - * elf/Makefile (others-static): New, set to ldconfig. - ($(objpfx)ldconfig): Removed. - - * Rules (binaries-all, binaries-static, binaries-shared): New. - Create targets for $(binaries-static) and $(binaries-shared). - - * Makeconfig (+link-static, link-libc-static, - link-extra-libs-static): New for static linking. - -1998-02-11 Andreas Jaeger - - * manual/memory.texi (Using the Memory Debugger): Fix typo. - - * math/libm-test.c (modf_test): Add one more test for modf. - -1998-02-11 14:39 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs): - Rename from __libc_have_rt_sigs and leave as COMMON data. - -1998-02-11 08:30 H.J. Lu - - * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead - of __finite. - -1998-02-11 19:16 Richard Henderson - - * stdlib/strtod.c (STRTOF): Don't call lshift with zero count. - -1998-02-11 16:56 Ulrich Drepper - - * misc/tst-efgcvt.c: Add yet more tests. - * misc/efgcvt_r.c: And correct for these tests again. - Reported by HJ Lu. - - * isomac.c: Move to... - * stdlib/isomac.c: ...here. - * Makefile: Move rules for handling isomac... - * stdlib/Makefile: ...to here. - -1998-02-10 23:57 Ulrich Drepper - - * misc/tst-efgcvt.c: Add more tests. - * misc/efgcvt_r.c: Correct result for above new tests. - -1998-02-06 17:22 H.J. Lu - - * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle - NDIGIT <= 0. - -1998-02-10 16:48 Philip Blundell - - * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc) - if the programs weren't built. - -1998-02-09 10:12 Philip Blundell - - * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have - FE_TONEAREST, soldier on regardless and do the best we can. - * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise. - -1998-02-5 17:20 Philip Blundell - - * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not - _STDIO_H, before including . - - * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added. - - * io/fts.c (fts_build): Don't try to use d_type if it doesn't - exist. - - * sysdeps/arm/sys/ucontext.h: New file. - -1998-02-04 10:11 Philip Blundell - - * manual/stdio.texi (Formatted Output Functions): Explicitly say - that the return value from snprintf() does not count the - terminating NUL as a character. - -1998-02-10 16:57 Ulrich Drepper - - * manual/users.texi: Rewrite to describe correct POSIX behaviour, - add description for sete[ug]id and general cleanup. - Patch by Zack Weinberg . - -1998-01-04 Andreas Schwab - - * Makefile (parent-clean): Don't remove makefile fragments here. - (postclean): New variable. - (clean): Remove makefile fragments here. - (realclean distclean): Likewise. Pass sysdep-subdirs to sub-make. - (generated): Add isomac and isomanc.out. - * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if - avoid-generated is set. - (postclean-generated): Add soversion.mk. - ($(common-objpfx)version.mk): Don't include if avoid-generated is - set. - * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if - avoid-generated is set. - (common-generated): Add libc.so and libc.so$(libc.so-version). - (generated): Add versioned libraries. - (common-mostlyclean): Also remove %.so and %_pic.a. - * csu/Makefile (generated): Add abi-tag.h. - * db2/Makefile (extra-objs): Add getlong.o. - * elf/Makefile (generated): Add ld.so, ldd and - $(rtld-installed-name). - (others): Add ldconfig here instead of ldconfig.o to extra-objs. - * malloc/Makefile (generated): Add mtrace. - * po/Makefile: Don't include version.mk, not needed any more. - * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen. - * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h, - syscall.h -> sys/syscall.h. - (common-generated): Add s-proto.d. - (postclean-generated): Add sysd-syscalls. - * localedata/Makefile (test-output): Add all output files. - (generated): Add test-input and test-output. - (generated-dirs): Add all the dirs. - -1998-01-04 Andreas Schwab - - * Makefile (test-output, generated, generated-dirs): New - variables. - -1998-02-10 16:57 Ulrich Drepper - - * resolv/nss_dns/dns-host.c: Various code cleanups. - -1998-02-09 08:10 H.J. Lu - - * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug. - From Philip Blundell . - * resolv/nss_dns/dns-host.c (getanswer_r): Ditto. - -1998-02-08 Andreas Jaeger - - * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc. - Suggested by debian/sparc porters. - -1998-02-07 Andreas Jaeger - - * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests - for ecvt and fcvt. - -1998-02-10 16:32 Ulrich Drepper - - * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and - __fxstat instead of stat and fstat. Use namespace clean __stpcpy. - - * signal/signal.h: Always define sigset_t if __need_sigset_t is - defined even if __USE_POSIX is not defined. - -1998-02-02 20:51 Zack Weinberg - - * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch - to support obsolete tty major numbers correctly. - -1998-02-02 08:47 H.J. Lu - - * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target - directory first and ignore install error. - - * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract - 128 from ptyno and fix a typo for the BSD style pty. - -1998-02-01 Andreas Schwab - - * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all - syscalls.list's. - -1998-02-01 Andreas Schwab - - * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add - getresuid and getresgid. - - * sysdeps/unix/sysv/linux/getresuid.c: New file. - * sysdeps/unix/sysv/linux/getresgid.c: New file. - - * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add - s_getres[ug]id. - - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise. - -1998-02-02 08:11 H.J. Lu - - * nscd/grpcache.c: Include . - -1998-02-01 16:01 H.J. Lu - - * stdlib/atoll.c: Fix comments. - - * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr. - * sysdeps/posix/ttyname_r.c: Ditto. - -1998-02-03 Andreas Schwab - - * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or - __USE_MISC, independent of __USE_UNIX98. - -1998-02-10 19:18 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs): - Rename from __libc_have_rt_sigs and leave as COMMON data. - -1998-02-04 11:58 Richard Henderson - - * Makeconfig (CFLAGS-.os): Kill -fno-common. - * Makerules (libc.so): Prelink libc_pic.a, allocating commons. - - * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols. - * elf/rtld.map: New file. Needed to define the GLIBC_2.* - version symbols. - * include/libc-symbols.h (symbol_version, default_symbol_version): - Provide asm versions and correct !DO_VERSIONING versions. - * sysdeps/unix/make-syscalls.sh: Recognize version symbols in - the weak symbol list. - - * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs): - Rename from __libc_have_rt_sigs and leave as COMMON data. - * sysdeps/unix/sysv/linux/sigpending.c: Likewise. - * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise. - * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise. - -1998-02-04 16:41 Zack Weinberg - - * sunrpc/Makefile: Correct dependencies of rpcgen. - -1998-02-10 03:00 Ulrich Drepper - - * nscd/Makefile: Fix test for available linuxthreads add-on. - Patch by Zack Weinberg . - -1998-02-05 Andreas Jaeger - - * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown. - -1998-02-03 Andreas Jaeger - - * sysdeps/gnu/Makefile: Respect with-cvs variable. - - * manual/errno.texi (Error Messages): Correct description of - strerror_r. Pointed out by jonas@bagge.se. - -1998-01-29 Andreas Jaeger - - * manual/socket.texi (Host Address Functions): Clarify description - of inet_network. - -1998-02-07 Andreas Schwab - - * sysdeps/unix/grantpt.c (argv): Move const to toplevel. - (grantpt): Delete superfluous cast. - -1998-02-06 Andreas Schwab - - * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on - elf/ldso_install instead of elf/subdir_install. - (elf/ldso_install): New target. - - * elf/Makefile (ldso_install): New target. - -1998-02-07 Andreas Schwab - - * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change - of 1998-01-06. - -1998-02-07 Andreas Schwab - - * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for - constant expressions. - -1998-02-07 Andreas Schwab - - * nss/test-netdb.c: Include for gethostname and "nss.h" - for __nss_configure_lookup. - (output_hostent): Remove unused variable. - -1998-02-07 Andreas Schwab - - * string/tst-inlcall.c: Fix format string. - -1998-02-09 Andreas Jaeger - - * inet/netinet/in.h: Rename second parameter of bindresvport to - avoid buggy gcc warning. [PR libc/412] - -1998-02-04 18:04 Richard Henderson - - * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF. - * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos. - - * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval): - Follow POSIX and make tv_sec a time_t. - * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle - new tv64 syscall as well as fall back to tv32. - * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/select.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries. - - * include/rpcsvc/nis.h: New. Bounce to nis/rpcsvc. - * include/rpcsvc/nis_tags.h: Likewise. - * include/rpcsvc/nislib.h: Likewise. - -1998-02-02 01:12 Ulrich Drepper - - * libc.map: Add _h_errno. - * inet/herrno.c: Make _h_errno weak alias. - - * login/Makefile (distribute): Add pty-internal.h. - - * nscd/Makefile (distribute): Add all the files missing. - - * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs - are available. - - * stdio-common/tstscanf.c: Rewrite a bit to continue after errors - and report status at the end. - - * sysdeps/unix/sysv/linux/syscalls.list: Add lchown. - - * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized - variable. - * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno. - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise. - -1998-01-03 20:47 Mark Kettenis - - * configure.in: Fix --enable-add-ons code. - -1998-02-01 Andreas Jaeger - - * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch - by Rudolf Leitgeb . - [PR libc/441] - - * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first - occurence in cache. Reported by Rudolf Leitgeb - . - [PR libc/440] - -1998-02-01 21:18 Ulrich Drepper - - * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so - that it never is EINTR (which is tested for in _IO_vfscanf). - - * Makefile.in: Call sub-make with CVSOPTS. - - * elf/Makefile (distribute): Add dl-procinfo.h. - - * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S. - -1998-02-01 15:54 Ulrich Drepper - - * version.h (VERSION): Bump to 2.0.92. - -1998-01-31 Phil Blundell - - * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak - alias for __new_sys_siglist. - -1998-02-01 00:53 Ulrich Drepper - - * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and - getgrgid_r.c if thread package is available. - * pwd/Makefile: Likewise. - * grp/getgrnam_r.c: Remove USE_NSCD definition. - * grp/getgrgid_r.c: Likewise. - * pwd/getpwnam_r.c: Likewise. - * pwd/getpwuid_r.c: Likewise. - -1998-01-31 23:46 Ulrich Drepper - - * nss/getXXbyYY_r.c: If NSS function reports too small buffer return - with error to allow user intervention. - * nss/getXXent_r.c: Likewise. - -1998-01-31 21:18 Ulrich Drepper - - * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after - AT_PLATFORM string. Pretty print AT_BASE info. - - * sysdeps/generic/dl-sysdep.c: Include . - (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info. - * sysdeps/generic/dl-procinfo.h: New file. - * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file. - -1998-01-31 20:52 Ulrich Drepper - - * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication. - - * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach - thread and not pthread_detach. - - * nscd/nscd.c: Rewrite to use argp instead of getopt. - -1998-01-31 Phil Blundell - - * configure.in: Add --without-cvs option to suppress automatic - checkin of regenerated files. - * config.make.in: Likewise. - * Makefile: Respect with-cvs setting. - * Makerules: Likewise. - - * configure.in: Allow the standalone ARM port to be configured. - -1998-01-31 Thorsten Kukuk - - * grp/getgrgid_r.c: Define USE_NSCD. - * grp/getgrnam_r.c: Likewise. - * pwd/getpwuid_r.c: Likewise. - * pwd/getpwnam_r.c: Likewise. - - * sysdeps/unix/inet/Subdirs: Add nscd subdir. - - * nss/getXXbyYY_r.c: Try at first nscd. - - * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd). - * nscd/connections.c: New file. - * nscd/dbg_log.c: New file. - * nscd/dbg_log.h: New file. - * nscd/grpcache.c: New file. - * nscd/nscd.c: New file. - * nscd/nscd.h: New file. - * nscd/nscd_conf.c: New file. - * nscd/nscd_stat.c: New file. - * nscd/pwdcache.c: New file. - - * nscd/nscd_getgr_r.c: New, client code, linked into libc. - * nscd/nscd_getpw_r.c: Likewise. - * nscd/nscd_proto.h: New, prototypes for client functions. - - * nscd/nscd.conf: New, example for a configuration file. - * nscd/nscd.init: New, example for a startup script. - - * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to - avoid deadlocks. - * nscd/getgrnam_r.c: Likewise. - * nscd/getpwnam_r.c: Likewise. - * nscd/getpwuid_r.c: Likewise. - -1998-01-31 11:44 Ulrich Drepper - - * intl/Makefile: Use CVSOPTS in cvs invocation. - * po/Makefile: Likewise. - * posix/Makefile: Likewise. - * stdlib/Makefile: Likewise. - -1998-01-31 11:18 Ulrich Drepper - - * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly. - [PR libc/410] - * misc/Makefile (tests): Add tst-efgcvt. - * misc/tst-efgcvt.c: New file. - -1998-01-31 00:21 Ulrich Drepper - - * posix/regex.c: Add some more cleanups by Akim Demaille. - -1998-01-30 23:55 Ulrich Drepper - - * signal/signal.h: Revert last change. - * string/strsignal.c: Regard signal number NSGI as illegal. - * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG - members. - -1998-01-30 23:37 Ulrich Drepper - - * Makefile.in: Add comment about CVSOPTS Makefile variable. - * Makerules: Use CVSOPTS in cvs invocation. - * Makefile: Likewise. - * MakeTAGS: Likewise. - * Make-dist: Likewise. - -1998-01-30 22:37 Ulrich Drepper - - * sysdeps/generic/memmem.c: Correct last change. - -1998-01-30 22:12 Ulrich Drepper - - * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define - CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1. - -1998-01-30 Thorsten Kukuk - - * nis/ypclnt.c: Try at first to use the binding file from ypbind - before using RPC. - -1998-01-28 Andreas Jaeger - - * manual/memory.texi (Heap Consistency Checking): mcheck is - declared in . - Suggested by Jochen Voss [PR libc/438] - -1998-01-28 Andreas Jaeger - - * sysdeps/generic/memmem.c (memmem): An empty needle is at the - beginning of haystack. - -1998-01-29 Andreas Jaeger - - * nss/nss_files/files-service.c: Correct last patch. - -1998-01-30 21:29 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define - __libc_have_rt_sigs. - * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before - including . - * sysdeps/sparc/sparc32/setjmp.S: Likewise. - Patch from the Debian glibc/SPARC package. - -1997-12-12 07:57 H.J. Lu - - * sysdeps/alpha/bzero.S: Fix a typo. - * sysdeps/alpha/htonl.S: Ditto. - * sysdeps/alpha/htons.S: Ditto. - -1998-01-30 Thorsten Kukuk - - * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query. - -1998-01-30 19:58 Ulrich Drepper - - * include/cpio.h: Move to ... - * posix/cpio.h: ...here. - - * locale/programs/ld-collate.c: Fix typo. - - * signal/signal.h: Declare _sys_siglist with NSIG+1 elements. - - * stdio-common/tiformat.c: Add checks for %#.0o and friends. - - * login/utmp_file.c (pututline_file): Don't always report success - if similar entry is found. Patch by Mark M. Kettenis. - -1998-01-30 16:06 Philip Blundell - - * manual/Makefile: Don't try to install the info files if makeinfo - is not available. - -1998-01-30 12:05 Philip Blundell - - * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the - kernel's network ioctls, rather than using to - get them. This way we are sure of maintaining compatibility if - the kernel interface should change. - -1998-01-30 15:52 Ulrich Drepper - - * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h. - -1998-01-25 19:54 Philip Blundell - - * sysdeps/unix/sysv/linux/netrose/rose.h: New file. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it. - -1998-01-27 22:29 Zack Weinberg - - Implement System V pseudoterminal handling. - - * login/Makefile - (routines): Add getpt, grantpt, unlockpt, ptsname. - (libutil-routines): Remove pty. Add openpty, forkpty. - (distribute): New internal header pty-internal.h. - (others): Add the helper program, pt_chown. - (install-others): Install it, in $(libexecdir), mode 4755. - - * login/pty-internal.h: New file. - * login/openpty.c: New file. - * login/forkpty.c: New file. - * login/programs/pt_chown.c: New file. - - * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r. - * stdlib/stdlib.h: Prototype them. - - * config.make.in: Define $(libexecdir). - * Makeconfig: Define $(inst_libexecdir). - - * sysdeps/generic/pty.c: Removed. - * sysdeps/unix/sysv/linux/pty.c: Removed. - - * sysdeps/generic/getpt.c: Stub out. - * sysdeps/generic/grantpt.c: Likewise. - * sysdeps/generic/ptsname.c: Likewise. - * sysdeps/generic/unlockpt.c: Likewise. - - * sysdeps/unix/grantpt.c: New file. - * sysdeps/unix/bsd/getpt.c: New file. - * sysdeps/unix/bsd/unlockpt.c: New file. - * sysdeps/unix/sysv/linux/getpt.c: New file. - * sysdeps/unix/sysv/linux/ptsname.c: New file. - * sysdeps/unix/sysv/linux/unlockpt.c: New file. - -1998-01-29 23:56 Ulrich Drepper - - * localedata/locales/ru_RU: Fix YESEXPR. Patch by lav@yars.free.net. - -1998-01-29 Andreas Jaeger - - * nss/Makefile (tests): Add rule for test-netdb.c. - - * nss/test-netdb.c: New file. - -1998-01-29 02:38 Ulrich Drepper - - * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is - really kept as a variable. Patch by Richard Henderson, - reported by Jakub Jelinek . - - * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading. - * elf/genrtldtbl.awk: Mark machine dependent directory of generated - entries as not existing. - -1998-01-26 Andreas Schwab - - * stdio-common/vfprintf.c (process_arg): Fix printing of octal - zero in alternate form with precision of zero, which must produce - "0". Add braces to avoid ambiguous `else'. - -1998-01-26 Thorsten Kukuk - - * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null - problem with strncpy. - * nis/nss_compat/compat-pwd.c: Likewise. - * nis/nss_compat/comapt-spwd.c: Likewise. - -1998-01-28 Andreas Jaeger - - * assert/assert.h (assert_perror): Correct test for errnum. Patch - by uch@nop.or.jp. [PR libc/437] - -1998-01-26 Andreas Jaeger - - * nis/nis_cache.c: Include for declaration of close. - -1998-01-06 Andreas Jaeger - - * stdio-common/test-popen.c: Include . - - * sysdeps/unix/sysv/linux/if_index.c: Include for - close. - - * inet/getnetgrent_r.c: Include . - - * db2/db/db_conv.c: Include for memcpy. - - * gmon/bb_exit_func.c: Include instead of - so that memcpy is declared. - - * iconv/iconv_open.c: Include for alloca. - - * misc/init-misc.c: Remove unneeded inclusion of . - -1998-01-26 Andreas Jaeger - - * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer - overflow while reading line with fgets. - * grp/fgetgrent_r.c (__fgetgrent_r): Likewise. - -1998-01-27 00:46 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to - unsigned short, not short. - Reported by Andreas Jaeger. - -1998-01-06 Andreas Jaeger - - * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo - (ccept->accept). - - * sysdeps/generic/inttypes.h: Fix spelling. - -1998-01-04 Andreas Jaeger - - * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h. - - * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h. - -1998-01-27 00:30 Ulrich Drepper - - * stdio-common/printf.h (struct print_info): Add new bitfield is_char. - * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char - field for hh modifier. - * stdio-common/vfprint.c: Use is_char field and do not depend in - is_short having the value 2. - Bug reported by Andreas Jaeger. - -1998-01-05 Andreas Jaeger - - * libio/freopen.c (freopen): Call _IO_old_freopen only if defined - PIC && DO_VERSIONING. - -1998-01-24 Andreas Schwab - - * Rules: Add rules for $(common-objpfx)dummy$o. - -1998-01-26 Richard Henderson - - * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the - unimplemented OSF/1 definitions so that they are not accidentally seen. - - * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration - of the trampoline function into the macro. - * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change; - kernel 2.1.82 has this fixed. - - * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file. - * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file. - -1998-01-26 Ulrich Drepper - - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to - support sigaction on kernels > 2.1.7x. - -1998-01-01 13:52 Ulrich Drepper - - * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file - if it is empty. - - * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file. - Patch by David Engel . - - * configure.in: Fix another typo in --enable-add-ons code. - -1998-01-26 03:48 Ulrich Drepper - - * sysdeps/unix/sysv/linux/siglist.c: Add copyright text. - -1998-01-26 Andreas Jaeger - - * nss/nss_files/files-network.c: Correct order of parameters for - getnetbyaddr. - -1998-01-26 00:57 Ulrich Drepper - - * db2/Makefile (routines): Add os_alloc. - * db2/db.h: Update from db-2.3.16. - * db2/db_185.h: Likewise. - * db2/db_int.h: Likewise. - * db2/btree/bt_close.c: Likewise. - * db2/btree/bt_cursor.c: Likewise. - * db2/btree/bt_delete.c: Likewise. - * db2/btree/bt_open.c: Likewise. - * db2/btree/bt_page.c: Likewise. - * db2/btree/bt_put.c: Likewise. - * db2/btree/bt_rec.c: Likewise. - * db2/btree/bt_recno.c: Likewise. - * db2/btree/btree_auto.c: Likewise. - * db2/common/db_appinit.c: Likewise. - * db2/common/db_apprec.c: Likewise. - * db2/common/db_err.c: Likewise. - * db2/common/db_region.c: Likewise. - * db2/common/db_shash.c: Likewise. - * db2/db/db.c: Likewise. - * db2/db/db_auto.c: Likewise. - * db2/db/db_conv.c: Likewise. - * db2/db/db_dispatch.c: Likewise. - * db2/db/db_dup.c: Likewise. - * db2/db/db_pr.c: Likewise. - * db2/db/db_rec.c: Likewise. - * db2/db185/db185.c: Likewise. - * db2/dbm/dbm.c: Likewise. - * db2/hash/hash.c: Likewise. - * db2/hash/hash_auto.c: Likewise. - * db2/hash/hash_dup.c: Likewise. - * db2/hash/hash_page.c: Likewise. - * db2/hash/hash_rec.c: Likewise. - * db2/include/btree_ext.h: Likewise. - * db2/include/clib_ext.h: Likewise. - * db2/include/common_ext.h: Likewise. - * db2/include/db.h.src: Likewise. - * db2/include/db_185.h.src: Likewise. - * db2/include/db_am.h: Likewise. - * db2/include/db_ext.h: Likewise. - * db2/include/db_int.h.src: Likewise. - * db2/include/hash_ext.h: Likewise. - * db2/include/lock_ext.h: Likewise. - * db2/include/log.h: Likewise. - * db2/include/log_auto.h: Likewise. - * db2/include/log_ext.h: Likewise. - * db2/include/mp.h: Likewise. - * db2/include/mp_ext.h: Likewise. - * db2/include/mutex_ext.h: Likewise. - * db2/include/os_ext.h: Likewise. - * db2/include/os_func.h: Likewise. - * db2/include/txn_ext.h: Likewise. - * db2/lock/lock.c: Likewise. - * db2/lock/lock_util.c: Likewise. - * db2/log/log.c: Likewise. - * db2/log/log.src: Likewise. - * db2/log/log_archive.c: Likewise. - * db2/log/log_auto.c: Likewise. - * db2/log/log_get.c: Likewise. - * db2/log/log_put.c: Likewise. - * db2/log/log_rec.c: Likewise. - * db2/log/log_register.c: Likewise. - * db2/mp/mp_bh.c: Likewise. - * db2/mp/mp_fget.c: Likewise. - * db2/mp/mp_fopen.c: Likewise. - * db2/mp/mp_fput.c: Likewise. - * db2/mp/mp_pr.c: Likewise. - * db2/mp/mp_sync.c: Likewise. - * db2/mutex/mutex.c: Likewise. - * db2/os/os_alloc.c: Likewise. - * db2/os/os_config.c: Likewise. - * db2/os/os_stat.c: Likewise. - * db2/progs/db_checkpoint/db_checkpoint.c: Likewise. - * db2/progs/db_deadlock/db_deadlock.c: Likewise. - * db2/progs/db_load/db_load.c: Likewise. - * db2/progs/db_printlog/db_printlog.c: Likewise. - * db2/progs/db_recover/db_recover.c: Likewise. - * db2/progs/db_stat/db_stat.c: Likewise. - * db2/txn/txn.c: Likewise. - - * elf/dl-close.c (_dl_close): Rename inner variable named map to imap. - Unmap memory blocks in reverse order of allocation. - Call munmap with load address added to offset. - Bug reported by Miguel de Icaza. - - * locale/programs/ld-collate.c (collate_end_weight): Correctly fill - up weight array. - - * localedata/locales/cs_CZ: Update by Michael Mraka - . - - * misc/sys/syslog.h: Reformat a bit. Don't declare vsyslog unless - __USE_BSD. - - * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while - reading line with fgets. + * nis/nss_compat/compat-grp.c: Don't include . * nis/nss_compat/compat-pwd.c: Likewise. * nis/nss_compat/compat-spwd.c: Likewise. - * nss/nss_files/files-XXX.c: Likewise. - * nss/nss_files/files-alias.c: Likewise. - * shadow/fgetspent_r.c: Likewise. - - * string/strerror_r.c: Correct comment. Patch by Andreas Jaeger. - - * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV. - * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise. - - * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for - FP register content in ucontext_t. - -1998-01-22 Andreas Jaeger - - * sysdeps/libm-ieee754/s_modfl.c (modf): Correct - calculation. Patch by Markus Schoder - . - - * math/libm-test.c (modf_test): Add more tests for modf. - - * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and - munlock according to Unix98. - -1998-01-25 Andreas Jaeger - - * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to - AF_INET. - -1998-01-21 07:22 H.J. Lu - - * sysdeps/posix/ttyname.c: Handle symbolic links. - * sysdeps/posix/ttyname_r.c: Ditto. - -1998-01-25 19:39 Ulrich Drepper - - * db2/makedb.c (process_input): Write terminating \0 for value. - (print_database): Simply print value string, don't use length. - -1998-01-24 Andreas Jaeger - - * nss/nsswitch.c (__nss_configure_lookup): Correct test for early - exit of loop. - -1998-01-25 Thorsten Kukuk - - * nis/ypclnt.c: Don't set dom_client to NULL, or we will not - close all sockets. - -1998-01-25 14:54 Ulrich Drepper - - * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and - sigset. - * signal/sighold.c: New file. - * signal/sigrelse.c: New file. - * sysdeps/generic/sigignore.c: New file. - * sysdeps/generic/sigset.c: New file. - * sysdeps/posix/sigignore.c: New file. - * sysdeps/posix/sigset.c: New file. - * signal/signal.h: Add prototypes for new functions. - - * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD. - * sysdeps/unix/sysv/linux/bits/signum.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise. - -1998-01-23 00:16 Tim Waugh - - * posix/wordexp.c: Added IFS field-splitting in parameter and - command substitution. Fixed an IFS-related bug that caused an - infinite loop. - -1998-01-25 12:38 Ulrich Drepper - - * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext, - and swapcontext. - * stdlib/ucontext.h: Correct prototypes. - * sysdeps/generic/getcontext.c: New file. - * sysdeps/generic/setcontext.c: New file. - * sysdeps/generic/makecontext.c: New file. - * sysdeps/generic/swapcontext.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed. - -1998-01-25 04:07 Ulrich Drepper - - * resource/sys/resource.h: Remove #include of ulimit.h which is - not allowed by SUSv2 and not available on other systems. - * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h. - - * streams/Makefile: New file. - * streams/stropts.h: New file. - * sysdeps/generic/bits/stropts.h: New file. - * sysdeps/generic/isastream.c: New file. - * sysdeps/generic/getmsg.c: New file. - * sysdeps/generic/getpmsg.c: New file. - * sysdeps/generic/putmsg.c: New file. - * sysdeps/generic/putpmsg.c: New file. - * sysdeps/generic/fattach.c: New file. - * sysdeps/generic/fdetach.c: New file. - * sysdeps/unix/inet/Subdirs: Add streams. - * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and - __t_uscalar_t. - * sysdeps/unix/sysv/linux/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise. - - * sysdeps/mach/_strerror.c: Follow changes of generic version to - handle small buffers correctly. - -1998-01-24 17:31 H.J. Lu - - * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): - Remove the 3rd arg and add declaration for _dl_runtime_resolve - and _dl_runtime_profile. - -1998-01-25 02:42 Ulrich Drepper - - * include/cpio.h: New file. Mainly copied from GNU cpio. - * posix/Makefile (headers): Add cpio.h. - -1998-01-24 Thorsten Kukuk - - * nis/Makefile: Distribute nis_cache2.h, add nis cache functions - to routines. - * nis/nis_cache.c: New file. - * nis/nis_cache2.h: New file. - * nis/nis_cache2_xdr.c: New file. - * nis/nis_call.c: Changes for cache2_info parameter. - * nis/nis_checkpoint.c: Likewise. - * nis/nis_intern.h: Likewise. - * nis/nis_mkdir.c: Likewise. - * nis/nis_ping.c: Likewise. - * nis/nis_rmdir.c: Likewise. - * nis/nis_server.c: Likewise. - * nis/nis_util.c: Likewise. - -1997-12-30 Thorsten Kukuk - - * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and - return/errnop codes. + * nis/nss_nisplus/nisplus-alias.c: Likewise. * nis/nss_nisplus/nisplus-ethers.c: Likewise. * nis/nss_nisplus/nisplus-grp.c: Likewise. * nis/nss_nisplus/nisplus-hosts.c: Likewise. + * nis/nss_nisplus/nisplus-netgrp.c: Likewise. + * nis/nss_nisplus/nisplus-ntework.c: Likewise. * nis/nss_nisplus/nisplus-proto.c: Likewise. * nis/nss_nisplus/nisplus-publickey.c: Likewise. * nis/nss_nisplus/nisplus-pwd.c: Likewise. - * nis/nss_nisplus/nisplus-rpc.c: Likewise + * nis/nss_nisplus/nisplus-rpc.c: Likewise. * nis/nss_nisplus/nisplus-service.c: Likewise. * nis/nss_nisplus/nisplus-spwd.c: Likewise. -1997-12-28 Thorsten Kukuk + * nis/rpcsvc/nis.x: Include bits/nislib.h, not rpcsvc/nislib.h. + * nis/rpcsvc/nis.h: Likewise. - * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno(). + * inet/getnameinfo.c (nrl_domainname): Change return type to const + char *. + (getnameinfo): Change type of local variable c to const char *. + + * inet/inet_ntoa.c: Rewrite to use __libc_once for initialization. + * stdlib/fmtmsg.c: Likewise. + + * intl/bindtextdom.c: Update from latest gettext. + * intl/dcgettext.c: Likewise. + * intl/finddomain.c: Likewise. + * intl/l10nflist.c: Likewise. + * intl/localealias.c: Likewise. + * intl/textdomain.c: Likewise. + + * login/getutid_r.c: Remove parameter to setutent call. + * login/getutline_r.c: Likewise. + + * posix/wordexp.c: Complete rewrite. Not fully implemented yet, + though. Patch by Tim Waugh . + + * stdio-common/printf_fp.c: Remove relative include paths. + * stdio-common/printf_fphex.c: Likewise. + + * sysdeps/generic/crypt.h: Cleanup. Don't define non standard + elements unless __USE_GNU. + + * sysdeps/generic/vlimit.c: Pretty print. + * sysdeps/generic/vtimes.c: Likewise. + + * sysdeps/i386/elf/bsd-_setjmp.S: New file. Empty dummy file. + * sysdeps/i386/elf/bsd-setjmp.S: New file. Empty dummy file. + * sysdeps/i386/elf/setjmp.S: New file. Define __setjmp and also + weak definitions of setjmp and _setjmp. + + * sysdeps/i386/fpu/bits/mathinline.h: More patches by John Bowman. + + * sysdeps/stub/if_index.h: Set errno in all functions and add + stub warnings. + + * sysdeps/stub/libc-lock.h: Add __libc_once. + +1997-08-02 01:57 Ulrich Drepper + + * sysdeps/unix/sysv/linux/ptrace.c: Don't set errno in error + case since the __syscall_ptrace call already did this. + Reported by Philip Gladstone . + +1997-07-29 Andreas Jaeger + + * sysdeps/unix/sysv/linux/sys/fsuid.h: Change include + to . + +1997-08-01 23:18 Ulrich Drepper + + * csu/defs.awk: Fix regexp for end and align. + Patch by Klaus Espenlaub . + + * locale/programs/locale.c (print_escaped): New function. + (show_info): Use print_escaped if strings can control unprintable + characters. + Patch by Jochen Hein . + +1997-08-01 18:45 Thorsten Kukuk + + * nis/nss_nisplus/nisplus-alias.c: Fix NULL pointer problems + * nis/nss_nisplus/nisplus-grp.c: Likewise. + +1997-07-31 Andreas Schwab + + * elf/dl-profile.c (_dl_start_profile): Use _dl_sysdep_error + instead of fprintf. + +1997-07-31 Andreas Schwab + + * manual/socket.texi (Host Address Functions): Fix arguments of + @deftypefun. + +1997-07-31 Andreas Schwab + + * elf/dl-runtime.c: Avoid warning about profile_fixup being + unused. + + * sysdeps/m68k/dl-machine.h: Add support for shared library + profiling. + +1997-07-31 Andreas Schwab + + * md5-crypt/Makefile (extra-objs): Add onlymd5-crypt.o for + dependencies. + +1997-07-31 Andreas Schwab + + * Make-dist (subdirs): Distribute both aout and elf. + +1997-07-31 23:04 Mark Kettenis + + * login/utmp-private.h: Remove reset argument from backend + setutent. + * login/getutent_r.c (__setutent): Allways call the setutent + function in the daemon backend. + (setutent_unknown): Function removed. + (getutent_unknown, pututline_unknown): Call __setutent instead of + setutent_unknown. + * login/utmp_file.c (setutent_file): Removed reset argument. All + callers changed. + * login/utmp_daemon.c (setutent_daemon): Removed reset + argument. All callers changed. Try to open connection even if a + previous connection failed, but first check if the sockets exist + in the filesystem. + + * login/utmp_daemon.c (pututline_daemon): Try to open connection + before reporting failure. + + * login/programs/database.c (open_database): Create compatibility + file if it does not already exist. Supply mode argument in open + calls to guarantee that created files have the proper protection. + + * login/programs/utmpd.c (main): Remove files created by a + previous `bind' before creating sockets. + Suggested by a sun . + +1997-07-29 Andreas Jaeger + + * math/libm-test.c: Remove unneeded function check_int_exec. + + * BUGS: Correct typos. + + * gmon/gmon.c: Add alias for monstartup, declare _strerror_internal. + +1997-07-30 Andreas Jaeger + + * manual/socket.texi (Host Address Functions): Reformat inet_ntop + entry to confirm with expected behaviour of some scripts. + + * libc.map: Add functions/variables in global namespace, + remove wildcards. + +1997-07-29 Andreas Jaeger + + * resolv/libresolv.map: Add variables and routines used by named, + nslookup and other bind utils. + * libc.map: Likewise. + +1997-07-31 00:35 Philip Blundell + + * sysdeps/unix/sysv/linux/if_index.c: Rewrite to avoid using /proc + filesystem. + * inet/test_ifindex.c: New file. + * inet/Makefile (tests): Add test_ifindex. + +1997-08-01 04:25 Ulrich Drepper + + * nis/nss_nisplus/nisplus-parser.c: Fix another bug in the parser. + Patch by Thorsten Kukuk . + + * manual/errno.texi: Fix typo. + Reported by Erik Talvola . + +1997-07-28 23:35 Ulrich Drepper + + * csu/gmon-start.c (__gmon_start__): Call __monstartup not + monstartup. + * gmon/gmon.c: Rename moncontrol to __moncontrol and monstartup + to __monstartup. + * gmon/sys/gmon.h: Fix prototypes. + * gmon/sys/gmon_out.h: Pretty print. + + * gmon/bb_exit_func.c (__bb_exit_func): Use memcpy instead of bcopy. + * gmon/gmon.c (__monstartup): Likewise. + (write_hist): Remove dependency on 32 bit int. + (_mcleanup): Don't call perror, use fprintf. + + * elf/dl-load.c: Fix handling of current directory in search path. + + * elf/Makefile (dl-routines): Add dl-profile. + * elf/dl-profile.c: New file. + * elf/dl-runtime.c (fixup): Add new parameter with address to store + relocation result in to elf_machine_relplt. + (profile_fixup): New function. + * elf/do-rel.h (elf_dynamic_do_rel): Add new parameter with address + to store relocation result in to elf_machine_relplt. + * elf/dl-support.c: Define _dl_profile and _dl_profile_map. + * elf/dynamic-link.h (ELF_DYNAMIC_RELOCATE): Add new parameter and + call elf_machine_runtime_setup with extra argument. + * elf/dl-reloc.c (_dl_relocate_object): Add new argument to + ELF_DYNAMIC_RELOCATE. + * elf/link.h: Add prototypes for new functions and variables. + * elf/rtld.c: Parse LD_PROFILE and LD_PROFILE_OUTPUT environment + variables and call _dl_start_profile if necessary. + * include/sys/gmon_out.h: New file. + * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Add + new parameter to enable profiling. + (elf_machine_rela): Add new parameter to specify place to store + result in. + * sysdeps/m68k/dl-machine.h: Likewise. + * sysdeps/mips/dl-machine.h: Likewise. + * sysdeps/mips/mips64/dl-machine.h: Likewise. + * sysdeps/powerpc/dl-machine.h: Likewise. + * sysdeps/sparc/dl-machine.h: Likewise. + * sysdeps/sparc64/dl-machine.h: Likewise. + * sysdeps/i386/dl-machine.h: Likewise. + (elf_machine_runtime_setup): Setup got[2] to _dl_runtime_resolve if + we do profiling. + (ELF_MACHINE_RUNTIME_TRAMPOLINE): Add code for _dl_runtime_profile. + + * nis/nss_compat/compat-grp.c (internal_setgrent): Set FD_CLOEXEC + for stream on input file. + * nis/nss_compat/compat-pwd.c (internal_setpwent): Likewise. + * nis/nss_compat/compat-spwd.c (internal_setspent): Likewise. + * nss/nss_db/db-XXX.c (internal_setent): Likewise. + * nss/nss_db/db-alias.c (internal_setent): Likewise. + * nss/nss_db/db-netgrp.c (internal_setent): Likewise. + * nss/nss_files/files-XXX.c (internal_setent): Likewise. + * nss/nss_files/files-alias.c (internal_setent): Likewise. + * nss/nss_files/files-netgrp.c (internal_setent): Likewise. + + * string/string.h: Pretty print. + + * sysdeps/i386/fpu/bits/mathinline.h: Major update by John Bowman. + Add float and long double versions. + +1997-07-27 Andreas Schwab + + * elf/rtld.c (print_unresolved): Replace empty object name by main + program name. + +1997-07-27 Andreas Schwab + + * sysdeps/generic/htons.c (htons): Renamed from __htons. + +1997-07-27 Andreas Schwab + + * sysdeps/m68k/bits/byteswap.h: New file. + +1997-07-27 23:50 Philip Blundell + + * inet/netinet/icmp6.h: Update for new drafts of POSIX.1g and IPv6 + advanced API. + * inet/netinet/in.h: Likewise. + * inet/netinet/ip6.h: Likewise. + * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. + * posix/sys/types.h: Add socklen_t. + + * manual/socket.texi: Document some more IPv6 things. + * manual/libc.texinfo: Likewise. + +1997-07-26 Andreas Jaeger + + * libc.map: Define missing symbol. + +1997-07-27 14:31 Thorsten Kukuk + + * nis/Makefile: Add nis_findserv. + * nis/lckcache.c: Fix typo. + * nis/nis_call.c: Fix problems with multihomed servers. + * nis/nis_findserv.c: New file. + * nis/nis_intern.h: Add more prototypes. + * nis/nis_lookup.c (nis_lookup): Don't try the next server if network + is unreachable. + * nis/nis_table.c (nis_list): Likewise. + * nis/nis_ping.c (nis_ping): Use MASTER_ONLY, don't call abort() + in error case. + * nis/nis_util.c (__nis_finddirectory): Give the right error code + back. + * nis/ypclnt.c: Make sure, that all sockets are closed. + +1997-07-26 04:14 Ulrich Drepper + + * elf/Makefile (distribute): Add genrtldtbl.awk. + (before-compile): Add rtldtbl.h. + (GAWK): New variable. + (generated): Add trusted-dirs.h and rtldtbl.h. + ($(objpfx)rtldtbl.h): New rule. File is needed by dl-load.c. + * elf/dl-load.c: Rewrite. Now use cache and look for shared + objects in machine dependent directories. + * elf/dl-object.c (_dl_new_object): Initialize l_rpath_dirs member. + * elf/dl-support.c: Rename function to non_dynamic_init and add + initialization for _dl_platform, _dl_platformlen, _dl_pagesize + and call to initializer for search path. + * elf/elf.h: Add AT_PLATFORM and AT_HWCAP. + * elf/genrtldtbl.awk: New file. + * elf/link.h: Add type definitions and declarations for search + path cache. + * elf/rtld.c: Add definitions of variables used for search path cache. + * sysdeps/generic/dl-sysdep.c: Let auxiliary vector initialize + _dl_platform. Initialize _dl_pagesize early and use this value. + * sysdeps/i386/dl-machine.h: Add code for _dl_platform handling. + * sysdeps/mach/hurd/dl-sysdep.c: Initialize _dl_pagesize. + * sysdeps/unix/sysv/linux/dl-sysdep.c: Use _dl_pagesize instead + of calling getpagesize. + + * elf/dl-error.c (_dl_signal_error): Make message nicer. + + * nss/libnss_files.map: Fix typo. + Reported by Thorsten Kukuk . + + * sysdeps/generic/strsep.c: Optimize case where separator set contains + only one character. + + * sysdeps/libm-ieee754/s_ccosh.c: Correct sign of result for real + == +-Inf. + * sysdeps/libm-ieee754/s_ccoshf.c: Likewise. + * sysdeps/libm-ieee754/s_ccoshl.c: Likewise. + +1997-07-25 09:15 H.J. Lu + + * sysdeps/sparc/udiv_qrnnd.S: Check PIC instead of __PIC__. + * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Likewise. + * sysdeps/unix/mips/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/mips/clone.S: Likewise. + + * sysdeps/mips/bsd-_setjmp.S: Remove __PIC__ comment. + * sysdeps/mips/bsd-setjmp.S: Likewise. + + * sysdeps/mips/dl-machine.h: Remove extra stuff. + * sysdeps/mips/mips64/dl-machine.h: Likewise. + +1997-07-25 18:55 Philip Blundell + + * sysdeps/standalone/arm/sysdep.c: New file. + +1997-07-25 13:25 Philip Blundell + + * aout/Makefile: New file. + * Makeconfig (binfmt-subdir): Assume a.out when not ELF. + + * sysdeps/generic/machine-gmon.h: Add warning about limitations of + __builtin_return_address(). + * sysdeps/arm/machine-gmon.h: New file, use assembly to avoid + above problem. + +1997-07-25 16:24 H.J. Lu + + * elf/dl-deps.c (_dl_map_object_deps): Fix a typo. + +1997-07-22 Andreas Schwab + + * math/libm-test.c (ccos_test, ccosh_test): Fix sign in some + tests. + +1997-07-24 Andreas Schwab + + * sunrpc/clnt_udp.c (clntudp_call): Rename cu_wait from timeout to + not shadow the variable in the outer scope. + +1997-07-24 03:14 Ulrich Drepper + + * elf/dl-deps.c: Complete rewrite to handle DT_AUXILIARY correctly. + + * inet/Makefile (tests): Add htontest. + * inet/htontest.c: New file. + + * inet/netinet/in.h: Cleanup optimization of ntoh/hton functions + when they are no noops. + * sysdeps/alpha/htonl.S: Don't define __ protected names. + * sysdeps/alpha/htons.S: Likewise. + * sysdeps/generic/htonl.c: Likewise. + * sysdeps/generic/htons.c: Likewise. + * sysdeps/i386/htonl.S: Likewise. + * sysdeps/i386/htons.S: Likewise. + * sysdeps/i386/i486/htonl.S: Likewise. + * sysdeps/vax/htonl.s: Likewise. + * sysdeps/vax/htons.s: Likewise. + + * string/Makefile (headers): Add byteswap.h and bits/byteswap.h. + * string/byteswap.h: New file. + * sysdeps/generic/bits/byteswap.h: New file. + * sysdeps/i386/bits/byteswap.h: New file. + * sysdeps/generic/bits/htontoh.h: Removed. + * sysdeps/i386/bits/htontoh.h: Removed. + + * misc/search.h: General cleanup. Don't define reentrant hsearch + functions uless __USE_GNU. + + * nss/nsswitch.c: Pretty print. + + * sunrpc/clnt_udp.c (clntudp_call): Initialize outlen to prevent + warning. + + * sysdeps/unix/i386/sysdep.h (DO_CALL): Use lcall, binutils have + been fixed meanwhile. + Reported by Zack Weinberg . + +1997-07-24 00:53 Philip Blundell + + * db/hash/hash.c (init_hash): Only use statbuf.st_blksize if it + exists for this port. + +1997-07-24 00:12 Philip Blundell + + * sysdeps/standalone/arm/bits/errno.h (ESTALE): Add. + +1997-07-22 Andreas Schwab + + * manual/argp.texi (Argp Option Vectors): Use @minus, not @math, + to format a proper minus sign. + +1997-07-22 Andreas Schwab + + * sysdeps/m68k/fpu/fraiseexcpt.c: Don't handle FE_INEXACT + specially, the standard doesn't require it. + + * math/test-fenv.c (test_exceptions): Add IGNORE_INEXACT argument, + if non-zero then don't test inexact flag. Callers changed. + (set_single_exc): Ignore inexact flag if underflow or overflow + exception is raised. + +1997-07-23 05:10 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sys/fsuid.h: New file. + Provided by Michael Deutschmann . + * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/fsuid.h. + * sysdeps/unix/sysv/linux/Dist: Add sys/fsuid.h. + +1997-07-16 10:09 Fila Kolodny + + * resolv/gethnamaddr.c: Define MAXHOSTNAMELEN as 256, since RFC 1034 + and 1035 state that a fully qualified domain name cannot exceed 255 + octets in length. + * resolv/nss_dns/dns-host.c: Likewise. + +1997-07-22 09:54 H.J. Lu + + * inet/netinet/in.h (htons): Fix typos. + + * sysdeps/i386/bits/htontoh.h (__ntohs): Return the value. + +1997-07-22 11:47 Ulrich Drepper + + * nss/nsswitch.c (nss_lookup_function): Include function.def, not + functions.def. + Patch by Klaus Espenlaub . + +1997-07-22 01:35 Ulrich Drepper + + * Makerules (+make-deps): Use $(CFLAGS) in run of $(+mkdep) so + that optimizing is also selected for dependency generation. + + * configure.in: Add machine description for TI c[34]x. + + * inet/Makefile (routines): Remove ntohl and ntohs. + * inet/netinet/in.h: Use optimized version of hton? and ntoh? + for little endian machines. + * sysdeps/alpha/ntohl.s: Removed. + * sysdeps/alpha/ntohs.s: Removed. + * sysdeps/generic/ntohl.c: Removed. + * sysdeps/generic/ntohs.c: Removed. + * sysdeps/generic/htonl.c: Add aliases for ntohl. + * sysdeps/vax/htonl.s: Likewise. + * sysdeps/generic/htons.c: Add aliases for ntohs. + * sysdeps/vax/htons.s: Likewise. + * sysdeps/vax/ntohl.s: Removed. + * sysdeps/vax/ntohs.s: Removed. + * sysdeps/generic/bits/htontoh.h: New file. + * sysdeps/i386/htonl.S: New file. + * sysdeps/i386/htons.S: New file. + * sysdeps/i386/i486/htonl.S: New file. + + * sysdeps/i386/fpu/bits/mathinline.h: Correct and optimized compare + macros. + + * sysdeps/mips/dl-machine.h: Remove mips64 dependent parts. + * sysdeps/mips/mips64/dl-machine.h: New file. + + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't install + syscall-list.h. + +1997-07-12 Andreas Jaeger + + * libc.map: Add missing symbol _obstack. + +1997-07-14 08:22 H.J. Lu + + * sysdeps/mips/rtld-parms: New. + + * sysdeps/unix/sysv/linux/mips/lxstat.h: Moved to + * sysdeps/unix/sysv/linux/mips/lxstat.c: ...this. + + * sysdeps/unix/sysv/linux/mips/sgidef.h: Moved to + * sysdeps/unix/sysv/linux/mips/sgidefs.h: ...this. + + * sysdeps/generic/dl-sysdep.c (_start): Change to ENTRY_POINT. + +1997-07-17 08:39 H.J. Lu + + * sysdeps/mips/dl-machine.h: Remove extra stuff. + +1997-07-06 07:18 Geoff Keating + * sysdeps/powerpc/bits/endian.h: Handle multiple endianess. + + * stdlib/grouping.h: Suppress gcc warning about testing + unsigned char for less-than-zero. + * stdio-common/printf_fp.c: Likewise. + * stdio-common/vfprintf.c: Likewise. + + * sysdeps/powerpc/add_n.s: New file. + * sysdeps/powerpc/sub_n.s: New file. + * sysdeps/powerpc/lshift.s: Ported XCOFF->ELF (from GMP). + * sysdeps/powerpc/mul_1.s: Ported XCOFF->ELF (from GMP). + * sysdeps/powerpc/addmul_1.s: Ported XCOFF->ELF (from GMP). + * sysdeps/powerpc/submul_1.s: Ported XCOFF->ELF (from GMP). + * sysdeps/powerpc/rshift.s: Ported XCOFF->ELF (from GMP). + + * math/libm-test.c (cos_test, sin_test, sincos_test): Use + precomputed pi/6 rather than having gcc calculate it, otherwise + tests give inaccurate result due to inaccurate input. + * math/libm.map: Add __fe_*_env constants to list of exported + symbols. + + * sysdeps/libm-ieee754/s_isinf.c: Simplify, make faster. + * sysdeps/libm-ieee754/s_isinff.c: Simplify, make faster. + * sysdeps/libm-ieee754/s_atan2f.c: Correct value of pi to be correct + round-to-nearest value. + + * sysdeps/libm-ieee754/e_log.c: Make sure exceptions are raised. + * sysdeps/libm-ieee754/e_log10.c: Likewise. + * sysdeps/libm-ieee754/e_log10f.c: Likewise. + * sysdeps/libm-ieee754/e_logf.c: Likewise. + * sysdeps/libm-ieee754/s_log1p.c: Likewise. Also use correct -Inf. + * sysdeps/libm-ieee754/s_log1pf.c: Likewise. Also use correct -Inf. + * sysdeps/libm-ieee754/s_log2.c: Likewise. + * sysdeps/libm-ieee754/s_log2f.c: Likewise. + +1997-07-15 21:54 Thorsten Kukuk + + * nis/nss_compat/compat-grp.c: Fix "buffer to small" problems + and memory leaks. + * nis/nss_compat/compat-pwd.c: Likewise. + * nis/nss_compat/compat-spwd.c: Likewise. + * nis/nss_nis/nis-alias.c: Likewise. * nis/nss_nis/nis-ethers.c: Likewise. * nis/nss_nis/nis-grp.c: Likewise. * nis/nss_nis/nis-hosts.c: Likewise. * nis/nss_nis/nis-network.c: Likewise. * nis/nss_nis/nis-proto.c: Likewise. - * nis/nss_nis/nis-hosts.c: Likewise. - * nis/nss_nis/nis-network.c: Likewise. - * nis/nss_nis/nis-proto.c: Likewise. - * nis/nss_nis/nis-publickey.c: Likewise. * nis/nss_nis/nis-pwd.c: Likewise. * nis/nss_nis/nis-rpc.c: Likewise. * nis/nss_nis/nis-service.c: Likewise. * nis/nss_nis/nis-spwd.c: Likewise. + * nis/nss_nisplus-alias.c: Likewise. + * nis/nss_nisplus-ethers.c: Likewise. + * nis/nss_nisplus-grp.c: Likewise. + * nis/nss_nisplus-hosts.c: Likewise. + * nis/nss_nisplus-netgrp.c: Likewise. + * nis/nss_nisplus-network.c: Likewise. + * nis/nss_nisplus-proto.c: Likewise. + * nis/nss_nisplus-pwd.c: Likewise. + * nis/nss_nisplus-rpc.c: Likewise. + * nis/nss_nisplus-service.c: Likewise. + * nis/nss_nisplus-spwd.c: Likewise. -1998-01-24 Ulrich Drepper + * nis/nss_nisplus-parse.c: If buffer to small, give -1 back. - * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen): - Added to follow latest kernel development. +1997-07-20 Andreas Schwab -1998-01-24 15:13 Ulrich Drepper + * sysdeps/m68k/dl-machine.h (elf_machine_rela): Mention program + name in warning message. + * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Likewise. + * sysdeps/sparc/dl-machine.h (elf_machine_rela): Likewise. + * sysdeps/sparc64/dl-machine.h (elf_machine_rela): Likewise. - * nss/db-Makefile: Handle empty and comment lines better. - ($(VAR_DB)/services.db): Generate entries with missing protocol - value. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Print program name + first. -1998-01-23 Andreas Jaeger +1997-07-20 19:33 Thorsten Kukuk - * nss/nss_files/files-service.c (getservbyport): Allow proto == - NULL. - (getservbyname): Allow proto == NULL. - Pointed out by David N. Welton . - [PR libc/430]. + * libc.map: Add _null_auth and _seterr_reply. -1998-01-24 11:34 Ulrich Drepper + * sunrpc/clnt_udp.c (clntudp_call): If xargs is NULL, don't encode it. - * nis/nislib/nislib.h: Finally removed. +1997-07-19 22:53 Ulrich Drepper - * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's - C compiler. From Kaveh Ghazi. - (TYPE_MINIMUM): Define. - (TYPE_MAXIMUM): Define. - (TIME_T_MIN): Use TYPE_MINIMUM. - (TIME_T_MAX): Use TYPE_MAXIMUM. - Patch by Jim Meyering . - -1998-01-22 00:55 Ulrich Drepper - - * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo, - __pread64, __pwrite64, and __getpid. - - * rt/aio_misc.c: Use pread and pwrite instead of __ protected - versions. - -1998-01-06 Andreas Schwab - - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the - cancelable socket functions as __libc_xxx with __xxx as weak - alias. - * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. - - * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be - redefined. - * sysdeps/unix/sysv/linux/i386/socket.S: Likewise. - * sysdeps/unix/sysv/linux/arm/socket.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise. - - * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name - and __xxx a weak alias. - * sysdeps/unix/sysv/linux/connect.S: Likewise. - * sysdeps/unix/sysv/linux/recv.S: Likewise. - * sysdeps/unix/sysv/linux/recvfrom.S: Likewise. - * sysdeps/unix/sysv/linux/recvmsg.S: Likewise. - * sysdeps/unix/sysv/linux/send.S: Likewise. - * sysdeps/unix/sysv/linux/sendmsg.S: Likewise. - * sysdeps/unix/sysv/linux/sendto.S: Likewise. - -1998-01-21 Andreas Jaeger - - * locale/langinfo.h: Add defines. - - * dirent/dirent.h: Add defines for DT_*, check also for - _DIRENT_HAVE_D_TYPE. - Suggested by Roland McGrath. - -1998-01-16 Andreas Jaeger - - * sysdeps/unix/sysv/linux/netinet/ip_fw.h: - Update from Linux 2.1.73+79. - - * README.template: Update information about possible - configurations. - - * manual/mbyte.texi (Wide String Conversion): Fix declaration of - wcstombs. Pointed out by Jochen Voss . - [PR libc/417]. - - * manual/time.texi (Priority): Correct description of - PRIO_MAX. Pointed out by Jochen Voss . - [PR libc/416]. - -11998-01-21 21:34 Ulrich Drepper - - * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and - FP_ILOGNAN. Patch by a sun . - -1998-01-21 17:53 Ulrich Drepper - - * sysdeps/generic/_strerror.c: Handle BUFLEN == 0. Reported by - Andreas Jaeger. - -1998-01-20 18:13 Ulrich Drepper - - * locale/programs/ld-collate.c: Little optimizations. - - * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable. - - * string/Makefile (tests): Add tst-inlcall. - * string/tst-inlcall.c: New file. - - * string/strsignal.c: Add support for real-time signals. - - * sysdeps/generic/_strerror.c: Fix Handling of unknown error in - presense of small buffer. - - * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros. - - * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation - for i686. - - * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to - _NSIG + 1. - -1998-01-02 15:10 Matthias Urlichs - - * Rules: Add explicit rule for dummy.o; at least one library needs - it and it isn't autogenerated by the default rules. - -1997-12-31 Andreas Schwab - - * math/libm-test.c: Tweak epsilons. - -1997-12-31 Andreas Schwab - - * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the - child. - (feenv_mask_test): Likewise. - -1998-01-01 Andreas Schwab - - * Makeconfig: Don't export CPPFLAGS. - -1998-01-01 Andreas Schwab - - * sunrpc/rpc_main.c (parseargs): Use perror to print error - message. - -1998-01-15 Andreas Schwab - - * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include - terminating null in key size. - -1998-01-13 Andreas Schwab - - * nss/nss_files/files-service.c: Fix allocation size to include - length of PROTO. - - * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if - applicable. Fix return value and error checking. - (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over - unparsable lines. - (DB_LOOKUP): Allocate space for terminating null byte. - - * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate - uids specially. - - * db2/makedb.c (process_input): Continue processing if a duplicate - key is encountered. - -1998-01-19 15:20 Ulrich Drepper - - * time/tzfile.h: Updated from tzcode1998b. - * time/zdump.c: Likewise. - * time/zic.c: Likewise. - * time/africa: Update from tzdata1998b. - * time/antarctica: Likewise. + * time/africa: Update from tzdata1997g. * time/asia: Likewise. * time/australasia: Likewise. - * time/etcetera: Likewise. * time/europe: Likewise. - * time/leapseconds: Likewise. - * time/northamerica: Likewise. - * time/southamerica: Likewise. + * time/iso3166.tab: Likewise. + * time/zone.tab: Likewise. + * time/private.h: Update from tzcode1997f. + * time/scheck.c: Likewise. -1998-01-12 Andreas Jaeger + * libio/stdio.h: Declare snprint and vsnprintf for __USE_ISOC9X. - * nss/nss_files/files-alias.c (get_next_alias): Do mail alias - lookups ignoring case. - * nss/nss_files/files-network.c: Do network lookups ignoring - case. - * nss/nss_files/files-hosts.c: Do hostname lookups ignoring - case. - * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for - case insensitive comparing. - Patches by Cristian Gafton . + * math/math.h: Correct comments. Include + always when optimizing. -1998-01-09 Andreas Jaeger +1997-07-19 10:23 Mark Kettenis - * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines. Suggested - by Roland McGrath. [PR libc/395] + * time/getdate.c (__getdate_r): + Report failure if string was not completely parsed. + (getdate): Set getdate_err on failure. -1998-01-08 Andreas Jaeger +1997-07-17 Andreas Schwab - * manual/arith.texi (Parsing of Integers): Correct description of - strtoul. Pointed out by Scott Snyder . - [PR libc/396] + * include/gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION): + Synchronize with malloc/obstack.c. -1997-12-30 14:14 Matthias Urlichs +1997-07-16 Miles Bader - * misc/lsearch.c (lsearch): Return a pointer to the new element - if one was "allocated". + * sysdeps/mach/hurd/mmap.c (__mmap): Check for !MAP_SHARED rather + than MAP_COPY|MAP_PRIVATE, since those values are defined wierdly. + Return EACCES rather than EGRATUITOUS if a R/W request isn't writable. -1997-12-26 Andreas Schwab +1997-07-15 Marcus G. Daniels - * string/strsignal.c: NSIG is not a valid index into - _sys_siglist. Don't zap the last character of the "Unknown - signal" message. + * manual/Makefile (INSTALL_INFO): Introduce variable to override + path to install-info for systems like Debian that have an + install-info with a different command line interface from the + canonical GNU texinfo version. -1998-01-19 15:08 Ulrich Drepper +1997-07-15 Andreas Jaeger - * locale/programs/charmap.c (parse_charmap): Correct parsing of - ellipsis expressions. - - * locale/programs/charset.c (insert_char): Correctly insert value - of eliipsis expression. - -1997-12-28 15:08 Ulrich Drepper - - * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including - . - * sysdeps/powerpc/setjmp.S: Likewise. - Patches by Matt McLean . - - * Make-dist (sysdep_dirs): Ignore bits dirs while searching. - - * Makefile: Undo last patch. - (distribute): Add test-installation.pl. - - * configure.in: Correct handling of --enable-add-ons without parameter. - Correct address of WWW pages. - - * libc.map: Add _nl_domain_bindings. - - * db2/mutex/tsl_parisc.s: New file. - - * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c, - and extra-module.mk. - - * localedata/Makefile (distribute): New. Add all the files. - - * stdlib/Makefile (headers): Add inttypes.h. - (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax. - * sysdeps/generic/inttypes.h: New file. - * sysdeps/generic/strtoimax.c: New file. - * sysdeps/generic/strtoumax.c: New file. - * sysdeps/generic/wcstoimax.c: New file. - * sysdeps/generic/wcstoumax.c: New file. - * sysdeps/wordsize-32/Dist: Removed. - * sysdeps/wordsize-32/Makefile: Removed. - * sysdeps/wordsize-64/Dist: Removed. - * sysdeps/wordsize-64/Makefile: Removed. - * sysdeps/generic/bits/environments.h: New file. - - * include/limits.h: Define MB_LEN_MAX in any case to 6. The gcc - header is still not correct. - - * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types. + * sysdeps/posix/ttyname_r.c (__ttyname_r): Correct comment. * posix/unistd.h: Likewise. - * sysdeps/generic/sys/mman.h: Likewise. - * sysdeps/unix/sysv/linux/sys/mman.h: Likewise. + * sysdeps/stub/ttyname_r.c: Likewise. - * manual/arith.texi: Change definition of mul macro. - * manual/math.texi: Likewise. +1997-07-14 23:37 Ulrich Drepper - * misc/Makefile (routines): Add mmap64. - * sysdeps/generic/mmap64.c: New file. - * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64 - aliases to mmap. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + * inet/getnameinfo.c: Pretty print. + Correctly enlarge buffers. - * sysdeps/generic/setrlimit64.c: Don't mark as stub. + * login/programs/utmpd.c: Use _() instead of gettext(). - * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print. + * nis/nss_nisplus/nisplus-hosts.c: Optimize some uses of stpcpy away. + * nis/nss_nisplus/nisplus-network.c: Likewise. + * nis/nss_nisplus/nisplus-proto.c: Likewise. + * nis/nss_nisplus/nisplus-rpc.c: Likewise. + * nis/nss_nisplus/nisplus-service.c: Likewise. - * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma. + * sysdeps/alpha/fpu/bits/mathinline.h: Only define functions if + __OPTIMIZE__. + * sysdeps/powerpc/bits/mathinline.h: Likewise. + * sysdeps/i386/fpu/bits/mathinline.h: Define ISO C9x comparison + function always. + * sysdeps/m68k/fpu/bits/mathinline.h: Likewise. + * sysdeps/stub/bits/mathinline.h: Add conditionals to show how + it should look like in real files. - * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines - FOPEN_MAX also when included by limits.h. - * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise. + * sysdeps/generic/bits/select.h (__FD_ZERO): Don't use memset to + prevent prototype trouble, use simple loop. + * sysdeps/i386/bits/select.h [!__GNUC__] (__FD_ZERO): Likewise. - * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h, - and netrom/netrom.h. - * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add - oldsiglist to sysdep_routines, not aux. - [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h. + * sysdeps/mips/mips64/Implies: Imply ieee754. - * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK, - and SOL_NETROM definition. + * sysdeps/unix/sysv/linux/Makefile: Make sure bits/syscall.h is + installed. + * sysdeps/unix/sysv/linux/sys/syscall.h: Pretty print. - * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S. +1997-07-14 00:25 Ulrich Drepper - * sysdeps/unix/sysv/linux/net/route.h: Pretty print. - * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print. + * sysdeps/stub/bits/stdio_lim.h: Unify with standalone version. + * sysdeps/standalone/bits/stdio_lim.h: Removed. + Patch by Zack Weinberg . -1997-12-25 Ulrich Drepper +1997-06-22 Paul Eggert - * sysdeps/unix/sysv/linux/alpha/net/route.h: New file. + * time/strftime.c (strftime): Use tm_zone if available, even if _LIBC. - * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace - sa_handler with k_sa_handler. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as - strong alias. - Reported by a sun. + * time/tzfile.c (__tzstring): New decl. + (__tzfile_read, __tzfile_default): Set __tzname to permanent strings. + (__tzfile_default): First two args are now const char *. - * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define - __libc_have_rt_sigs here. - * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here. - * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/sigpending.c: Correct comment. - * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise. + * time/tzset.c (__tzstring): New function. + (tz_rule): Name is now const char *. + (struct tzstring_head): New type. + (tzstring_list, tzstring_last_buffer_size): New static vars. + (__tzset_internal): Time zone names are now permanent, not temporary. -1997-12-11 07:51 Geoff Keating +1997-07-13 01:18 Ulrich Drepper - * sysdeps/powerpc/atomicity.h: New file. - * sysdeps/mach/powerpc/machine-lock.h: New file. + * setjmp/setjmp.h: Define _setjmp and _longjmp also if __USE_XOPEN. - * Rules: Use -fpic to build anything that might end up in a users' - shared library. - - * sysdeps/powerpc/s_fdim.c: New file. - * sysdeps/powerpc/s_fdimf.c: New file. - * sysdeps/powerpc/s_fmax.S: New file. - * sysdeps/powerpc/s_fmaxf.S: New file. - * sysdeps/powerpc/s_fmin.S: New file. - * sysdeps/powerpc/s_fminf.S: New file. - * sysdeps/powerpc/s_llrint.c: Now is for double. - * sysdeps/powerpc/s_llrintf.c: New file. - * sysdeps/powerpc/s_llround.c: Now is for double. - * sysdeps/powerpc/s_llroundf.c: New file. - * sysdeps/powerpc/s_lrint.c: Now is for double. - * sysdeps/powerpc/s_lrintf.S: New file. - * sysdeps/powerpc/s_lround.c: Now is for double. - * sysdeps/powerpc/s_lroundf.c: New file. - * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint, - lrintf, fdim, fdimf. - - * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/ - file directly, use its parent. - - * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++' - (for the third time). - -1997-12-20 13:50 Richard Henderson - - * posix/sched.h: timespec is in . - - * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H. - -1997-12-22 18:10 Ulrich Drepper - - * configure.in: Stop with error if --disable-static is used when - the shared lib uses this library. - - * gen-FAQ.pl: I've perl installed in /usr/bin. - - * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX. - - Fix Unix98 conformance problems in the headers. - * catgets/nl_types.h: Define nl_item. - * grp/grp.h: Define gid_t. - * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE. - * include/nl_types.h: New file. - * include/ulimit.h: New file. - * io/fcntl.h: Include sys/stat.h for Unix98. Don't define locking - constants in POSIX mode. - * io/utime.h: Get definition for time_t. - * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t, - uid_t, pid_t. Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98. - * libio/stdio.h: Define va_list. Make snprintf also available is - __USE_UNIX98. Declare getopt function and variables. - * locale/langinfo.h: Include nl_types.h. Don't define nl_item. - Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases. - * math/math.h: Defined M_* constants as double for Unix98 mode. - * posix/fnmatch.h: Pretty print. Define FNM_NOSYS. - * posix/glob.h: Pretty print. Define GLOB_NOSYS. - * posix/regex.h: Define REG_NOSYS. - * posix/wordexp.h: Define WRDE_NOSYS. - * posix/unistd.h: Define _POSIX2_VERSION. Define _XOPEN_VERSION to - 500 for Unix98. - * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined - somewhere else as well. Define clock_t for Unix98. - * posix/sys/wait.h: Define pid_t. - * pwd/pwd.h: Define gid_t, uid_t. - * resource/Makefile (headers): Add ulimit.h. - * resource/ulimit.h: New file. - * sysdeps/generic/ulimit.c: Define according to X/Open using varargs - instead of second argument. - * sysdeps/unix/bsd/ulimit.c: Likewise. Use UL_* constants. - * sysdeps/unix/sysv/linux/ulimit.c: Likewise. - * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h. - * signal/signal.h: Define pid_t. - * string/string.h: Don't declare BSD string functions in POSIX mode. - * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE. Add - _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS. - * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98 - and POSIX. - - * inet/test_ifindex.c: Change test so that it does not fail for - interface aliases. - - * locale/programs/locale.c (show_info): Use correct cast sequence - for 64bit machines. - - * malloc/malloc.c: __malloc_initialized now signals three states: - uninitialized, initializing, initialized. Used in mcheck. - * malloc/mcheck.c (mabort): Add '\n' to messages. - (mcheck): Allow installation when malloc is uninitialized or is - just initializing. - - * manual/memory.texi: Explain mtrace output a bit more. - - * math/libm-test.c: Add more epsilons. - - * misc/regexp.h (compile): Remove __ prefix from parameter names. - - * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy - instead of strcpy for security. - * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise. - * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise. - * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise. - - * nss/digits_dots.c: Pretty print. - - * posix/getconf.c (vars): Add symbols for programming environment - recognition. Recognize --version. - - * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY, - _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS. - * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols. - - * sysdeps/generic/bits/stdio_lim.h: Implement handling of - __need_FOPEN_MAX. - * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise. - * sysdeps/posix/mk-stdiolim.c: Change to generate file handling - __need_FOPEN_MAX. - - * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c. - * sysdeps/unix/sysv/linux/rt_sigpending.c: New file. - - * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t. - * sysdeps/unix/sysv/linux/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t. + * sysdeps/unix/sysv/linux/bits/ipc.h: Fix comment. + * sysdeps/unix/sysv/linux/bits/msq.h: Likewise. + * sysdeps/unix/sysv/linux/bits/sem.h: Likewise. * sysdeps/unix/sysv/linux/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/types.h: New file. - - * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8, - SCNu*. - * sysdeps/wordsize-64/inttypes.h: Likewise. - - * time/africa: Update from tzdata1997j. - * time/antarctica: Likewise. - * time/asia: Likewise. - * time/australasia: Likewise. - * time/backward: Likewise. - * time/etcetera: Likewise. - * time/europe: Likewise. - * time/factory: Likewise. - * time/northamerica: Likewise. - * time/pacificnew: Likewise. - * time/southamerica: Likewise. - - * time/tzfile.h: Update from tzcode1997h. - * time/zic.c: Likewise. - - * wcsmbs/wchar.h: Get definition of FILE. Define `struct tm' tag. - Declare wcwidth and wcswidth for __USE_XOPEN. Declare the - isw*() functions for Unix98. - * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias. - * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx - is defined. - -1997-12-21 Andreas Schwab - - * locale/duplocale.c: Increase usage_count only if less than - MAX_USAGE_COUNT. - * locale/freelocale.c: Test usage_count against UNDELETABLE, not - MAX_USAGE_COUNT. - * locale/setlocale.c: Likewise. - -1997-12-20 Andreas Schwab - * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct - dependency to make it easier to install it selectively. + * time/Makefile (routines): Add getdate. + * time/time.h: Add prototype for getdate and getdate_r. + * time/getdate.c: New file. + Provided by Mark Kettenis . + +1997-06-30 14:49 H.J. Lu + + From Ralf Baechle on + Sat Jun 21 18:11:21 1997: + + * sysdeps/unix/sysv/linux/syscalls.list (swapon): Add __swapon alias. + (swapoff): New. + + * elf/Makefile: Add linker script support. + (headers): Add bits/dlfcn.h. + + * elf/dl-load.c (MAP_BASE_ADDR): New. + + * elf/dlfcn.h: Include . + + * elf/elf.h: Add MIPS support. + + * sysdeps/generic/Dist: Add entry.h. + * sysdeps/generic/entry.h: New, define the entry symbol. + + * elf/rtld.c (_start): Include . Change to ENTRY_POINT. + * sysdeps/generic/dl-sysdep.c (_start): Likewise. + * mips/elf/start.S (_start): Likewise. + + * sysdeps/mips/bsd-_setjmp.S: Fix PIC. + * sysdeps/mips/bsd-setjmp.S: Likewise. + * sysdeps/mips/setjmp.S: Likewise. + * mips/elf/start.S: Likewise. + * sysdeps/unix/mips/brk.S: Likewise. + * sysdeps/unix/mips/sysdep.S: Likewise. + * sysdeps/unix/mips/sysdep.h: Likewise. + * sysdeps/unix/mips/wait.S: Likewise. + + * sysdeps/mips/dl-machine.h: Update for Linux/MIPS. + * sysdeps/mips/fpu_control.h: Likewise. + + * sysdeps/generic/bits/dlfcn.h: New file. + + * sysdeps/mips/rtld-ldscript.in: New for Linux/MIPS. + * sysdeps/mips/rtld-parms: Likewise. + * sysdeps/mips/bits/dlfcn.h: Likewise. + * sysdeps/mips/mips64/rtld-parms: Likewise. + * sysdeps/mips/mipsel/rtld-parms: Likewise. + * sysdeps/unix/sysv/linux/mips/Dist: Likewise. + * sysdeps/unix/sysv/linux/mips/Makefile: Likewise. + * sysdeps/unix/sysv/linux/mips/clone.S: Likewise. + * sysdeps/unix/sysv/linux/mips/entry.h: Likewise. + * sysdeps/unix/sysv/linux/mips/fpregdef.h: Likewise. + * sysdeps/unix/sysv/linux/mips/fxstat.c: Likewise. + * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise. + * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise. + * sysdeps/unix/sysv/linux/mips/kernel_termios.h: Likewise. + * sysdeps/unix/sysv/linux/mips/lxstat.c: Likewise. + * sysdeps/unix/sysv/linux/mips/regdef.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sgidefs.h: Likewise. + * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise. + * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise. + * sysdeps/unix/sysv/linux/mips/xstat.c: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: + * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/acct.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/asm.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/fpregdef.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/regdef.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise. + +1997-04-09 19:05 H.J. Lu (hjl@gnu.ai.mit.edu) + + * isomac.c (xstrndup): New, use it instead of strndup (). + +1997-07-02 08:55 H.J. Lu + + * sysdeps/i386/dl-machine.h (elf_machine_rel): Print + the program name for different sizes. + +1997-07-10 15:47 Fila Kolodny + + * nis/ypclnt.c: Change references to MAXHOSTNAMELEN to NIS_MAXNAMELEN. + Add include of rpcsvc/nis.h. + * inet/getnameinfo.c: Delete references to MAXHOSTNAMELEN. + * sysdeps/posix/getaddrinfo.c: Likewise. + Change size of variable buffer to be big enough to hold an IPv6 + address in printable format. + +1997-07-12 18:47 Ulrich Drepper + + * assert/assert.h [!NDEBUG] (assert, assert_perror): Don't use || + and && in tests to allow use in C++ code which overloads these + operators. Reported by Istvan Marko . + + * configure.in: Move mips64* recognition before mips*. + Patch by Zack Weinberg . + +1997-07-03 20:44 Andreas Schwab + + * Makerules (lib%.so, $(common-objpfx)libc.so): Don't use + automatic variables in dependency lists. + (build-shlib): Always filter out the version script file. + * extra-lib.mk ($(objpfx)$(lib).so): Depend on version script. + +1997-07-12 17:56 Ulrich Drepper + + * login/login.c (tty_name): Test return value of ttyname_r for != + 0, not < 0. + * misc/ttyslot.c (ttyslot): Test return value of ttyname_r for == + 0, not >= 0. + * sysdeps/unix/getlogin.c (getlogin): Test return value of + ttyname_r for != 0. + * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise. + +1997-07-10 Andreas Jaeger + + * login/utmp_file.c (getutline_r_file): Fix type: compare with + *result. + +1997-07-11 00:21 Mark Kettenis + + * login/Makefile (headers): Add utmpx.h and bits/utmpx.h. + +1997-07-09 19:21 Mark Kettenis + + * login/programs/utmpd.c, login/programs/database.c, + login/programs/request.c: Prepare messages for + internationalization. + + * login/programs/utmpd.c: + (main): Change handling of errors in opening the database. + * login/programs/database.c: + (open_database, synchronize_database, initialize_database): + Properly handle errors. + (get_mtime): Use fstat instead of stat. All callers changed. + + * login/getutent_r.c: Make setutxent a weak alias for __setutxent. + * login/getutent.c: Rename getutent to __getutent and make + getutent a weak alias. + Make getutxent a weak alias for __getutent. + * login/utmpx.h: New file. + * sysdeps/gnu/bits/utmp.h: Cleanup. Added comments. + * sysdeps/gnu/bits/utmpx.h: New file. + +1997-07-11 03:00 Ulrich Drepper + + * inet/inet_ntoa.c: Prevent looking for thread data key if we found + one. + + * signal/sigandset.c: Include stddef.h to get NULL defined. + * signal/sigisempty.c: Likewise. + * signal/sigorset.c: Likewise. + * sysdeps/stub/if_index.h: Likewise. + * wcsmbs/wcstod_l.c: Include locale.h to get __locale_t defined. + * wcsmbs/wcstof_l.c: Likewise. + * wcsmbs/wcstol_l.c: Likewise. + * wcsmbs/wcstold_l.c: Likewise. + * wcsmbs/wcstoll_l.c: Likewise. + * wcsmbs/wcstoul_l.c: Likewise. + * wcsmbs/wcstoull_l.c: Likewise. + Reported by Marcus G. Daniels . - * Makerules (.SUFFIXES): Don't define any suffixes. + * stdio-common/snprintf.c: Use ISO C function definition form. -1997-12-20 Andreas Schwab + * sysdeps/stub/libc-lock.h: Don't define __libc_key_create and + __libc_setspecific as empty macros since they are used as + function with return value. + Reported by Andreas Jaeger. - * sysdeps/generic/fstatfs64.c: Emulate using fstatfs. - * sysdeps/generic/statfs64.c: Emulate using statfs. - * sysdeps/generic/getrlimit64.c: Emulate using getrlimit. - * sysdeps/generic/setrlimit64.c: Emulate using setrlimit. - * sysdpes/generic/ftruncate64.c: New file. - * sysdpes/generic/truncate64.c: New file. + * stdio-common/strops.c: Partialy undo last change. Will need + more investigation. - * sysdeps/generic/bits/stat.h: Add LFS support. - * sysdeps/generic/bits/statfs.h: Likewise. +1997-07-10 Marcus G. Daniels - * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY) - [__USE_FILE_OFFSET64]: Make long long constant. - (RLIM64_INFINITY): Likewise. + * sysdeps/mach/hurd/select.c (__select): Need bit count for + MACH_MSG_TYPE_INTEGER_T. - * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct - for LFS support. - (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define. - * sysdeps/generic/bits/resource.h: Likewise. +1997-07-08 10:12 Fila Kolodny - * misc/Makefile (routines): Add truncate64 and ftruncate64. + * sysdeps/i370/Implies: New file for i370-ibm-mvs port. + * sysdeps/mvs/Implies: Likewise. - * include/features.h: Don't prevent LFS support from defining BSD - and SYSV things. +1997-07-09 23:06 Thorsten Kukuk - * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names. - * io/ftw.h [__USE_FILE_OFFSET64]: Likewise. - * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise. + * nis/Makefile: Add new source files. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for - fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + * nis/nis_intern.h: Add new internal functions. + * nis/rpcsvc/nislib.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file. - * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file. - * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file. - * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file. - * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file. - * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file. - * sysdeps/unix/sysv/linux/alpha/readdir.c: New file. - * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file. - * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file. - * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file. + * nis/lckcache.c: New. + * nis/nis_cache.c: New, dummy functions in the moment. + * nis/nis_util.c: New. + * nis/nisplus-parser.h: New. + * nis/nss_nisplus/nisplus-parser.c: New. + * nis/rpcsvc/nis_cache.h: New. + * nis/rpcsvc/nis_cache.x: New. - * sysdeps/unix/sysv/linux/fxstat64.c: New file. - * sysdeps/unix/sysv/linux/lxstat64.c: New file. - * sysdeps/unix/sysv/linux/xstat64.c: New file. - * sysdeps/unix/sysv/linux/readdir64.c: New file. - * sysdeps/unix/sysv/linux/readdir64_r.c: New file. - - * sysdeps/unix/sysv/linux/getdents64.c: New file. - * sysdeps/unix/sysv/linux/Makefile (sysdep_routines) - [$(subdir)=dirent]: Add getdents64. - * sysdeps/unix/sysv/linux/Dist: Add getdents64.c. - - * sysdeps/unix/sysv/linux/xstatconv.c: LFS support. - -1997-12-18 12:07 Philip Blundell - - * sysdeps/generic/bits/statfs.h (struct statfs64): Added. - - * sysdeps/generic/getrlimit.c: Include . - * sysdeps/generic/getrlimit64.c: Likewise. - * sysdeps/generic/setrlimit.c: Likewise. - * sysdeps/generic/setrlimit64.c: Likewise. - -1997-12-17 13:57 Philip Blundell - - * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not - using versioning. - - * sysdeps/generic/waitid.c: Include for id_t. - - * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added. - -1997-12-16 Andreas Schwab - - * locale/programs/ld-ctype.c (ctype_output): Clear out the padding - after the codeset name. - -1997-12-16 Andreas Schwab - - * libc.map: Add get_kernel_syms. - -1997-12-16 Andreas Schwab - - * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make - static. - * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): - Likewise. Fix condition. - -1997-12-16 Andreas Schwab - - * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen. - -1997-12-15 Andreas Schwab - - * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline. - Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC. - -1997-12-15 Andreas Schwab - - * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back. - * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this - instead. Oops. - -1997-12-16 Andreas Jaeger - - * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting. - -1997-12-16 Andreas Jaeger - - * math/libm-test.c (catanh_test): Change epsilon. - Reported by H.J. Lu. - -1997-12-14 19:39 H.J. Lu - - * libc.map (__getpid): Added for linuxthreads. - -1997-12-13 21:09 H.J. Lu - - * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define - it if gcc uses static variable in DWARF2 unwind information - for exception support. - - * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New. - - * elf/soinit.c (__libc_global_ctors, _fini): Handle - HAVE_DWARF2_UNWIND_INFO_STATIC. - - * libc.map (__register_frame*, __deregister_frame*): Make them - global. - -1997-12-15 Andreas Jaeger - - * math/libm-test.c: Add more tests for "normal" values. - -1997-12-13 Andreas Schwab - - * stdio-common/printf_fphex.c: Fix printing of long double number - with a biased exponent of zero. Fix rounding. - -1997-12-13 Andreas Schwab - - * sunrpc/rpc_main.c: Accept new flag -$. - * sunrpc/Makefile (rpcgen-cmd): Pass it here. - -1997-12-13 Andreas Schwab - - * Makefile ($(inst_slibdir)/libc-$(version).so): Install the - dynamic linker first, in case the interface has changed. - -1997-12-13 Andreas Schwab - - * nss/nss_files/files-alias.c (get_next_alias): Fix parameter - order. - -1997-12-12 Andreas Schwab - - * math/tgmath.h: Check for double first, for architectures where - sizeof (long double) == sizeof (double). - -1997-12-07 Andreas Jaeger - - * math/libm-test.c: New tests for "normal" values added for most - functions. - -1997-12-14 21:33 Ulrich Drepper - - * version.h (VERSION): Bump to 2.0.91. - - * db2/makedb.c (process_input): Fix typo in message. - * sunrpc/rpcinfo.c (pmapdump): Unify messages. - - * elf/dynamic-link.h: Pretty print. - - * elf/rtld.c: Allow multiple preloading of a shared object. - - * include/limits.h: Prevent multiple inclusion. - - * malloc/Makefile (headers): Add mcheck.h. - (distribute): Remove it here. - * malloc/mcheck.h: Pretty print. - * malloc/mtrace.c (mallenv): Make `const'. - * malloc/mtrace.pl: Don't print table head for memory leaks if there - are none. - * manual/memory.texi: Update descriptor of malloc hooks. - - * posix/Makefile (routines): Add waitid. - * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based - on __id_t. - * posix/sys/wait.h: Define idtype_t type. - Add prototype for waitid. - * signal/signal.h: Move definition of sigval_t to . - * sysdeps/generic/waitid.c: Stub for waitid. - * sysdeps/generic/bits/siginfo.h: Define sigval_t. Arrange to work - the __need_siginfo_t defined. - * sysdeps/unix/sysv/linux/bits/siginfo: Likewise. - * sysdeps/generic/bits/types.h: Define __id_t. - Correct definition of __FDMASK. - * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise. - - * sysdeps/posix/waitid.c: New file. - Provided by Zack Weinberg. - - * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request. - - * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): - Add missing parameters. - - * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure. - * sysdeps/generic/enbl-secure.c: Don't define __libc_uid. - * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid. - * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is - initialized. - - * sysdeps/i386/dl-machine.h: Little cleanup. - - * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions. - (__finite): Mark function as const. - Add inline code for __ieee754_atan2. - - * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation - (but don't use it now). - * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of - __atan. - * sysdeps/libm-ieee754/s_catanf.c: Likewise. - * sysdeps/libm-ieee754/s_catanl.c: Likewise. - * sysdeps/libm-ieee754/s_catanh.c: Likewise. Correct sign of - real part. - * sysdeps/libm-ieee754/s_catanhf.c: Likewise. - * sysdeps/libm-ieee754/s_catanhl.c: Likewise. - * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct - __ieee754_atan2 to base 10. - * sysdeps/libm-ieee754/s_clog10f.c: Likewise. - * sysdeps/libm-ieee754/s_clog10l.c: Likewise. - - * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as - old_kernel_sigaction. - - * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print. - - * wctype/Makefile (routines): Add wctype_l. - * wctype/wctype.h: Add declaration of __wctype_l. - * wctype/wctype_l.c: New file. - -1997-12-10 00:38 Ulrich Drepper - - * locale/C-ctype.c: Correct data for isw* functions. - * locale/programs/ld-ctype.c: Write 32bit char classes in correct - byte order. - * wctype/test_wctype.c: Add test for isw* functions. - * wctype/wctype.c: Return value with expected byte order. - -1997-12-13 Thorsten Kukuk - - * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice. - -1997-12-05 20:19 H.J. Lu - - * iconvdata/Makefile: Fix a typo. - - * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add - oldsiglist for shared library. - - * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist, - sys_sigabbrev): Make them as the default version GLIBC_2.1. - - * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist, - sys_siglist, sys_sigabbrev): New file. Make them as the old - version GLIBC_2.0. - - * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added - to GLIBC_2.1. - -1997-11-20 18:02 H.J. Lu - - * libio/iofgets.c (_IO_fgets): Return an error only if there - is a new error. - * libio/iogets.c (_IO_gets): Ditto. - -1997-11-20 07:26 H.J. Lu - - * libc.map (_IO_fdopen): Add support for GLIBC_2.0. - - * libio/Makefile (routines, shared-only-routines): Add - oldiofdopen. - - * libio/fileops.c: Don't use _IO_FILE_complete. - * libio/iofdopen.c: Ditto. - * libio/iofopen.c: Ditto. - * libio/iofopen64.c: Ditto. - * libio/iopopen.c: Ditto. - * libio/iovdprintf.c: Ditto. - - * libio/genops.c (_IO_init): Set _vtable_offset to 0. - - * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen - and make it for _IO_fdopen/fdopen version GLIBC_2.1. - - * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose, - _IO_old_fdopen, _IO_new_fdopen): New declaration. - - * libio/libio.h (_IO_FILE): Add more fields. - (_IO_FILE_complete): Defined and make _IO_FILE be the old - one if _IO_USE_OLD_IO_FILE is defined - (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make - them _IO_FILE_complete. - - * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset - to adjust vtable. - (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of - _IO_JUMPS. - (_IO_FILE_complete): Commented out. - - * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE. - * libio/oldiofclose.c: Ditto. - * libio/oldiofopen.c: Ditto. - * libio/oldstdfiles.c: Ditto. - - * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset - for the old _IO_FILE. - - * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME. - (_IO_check_libio): Set _vtable_offset for old stdin, stdout - and stderr. - - * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete - and remove INAME. - - * libio/stdio.c (stdin, stdout, stdin): Don't use - _IO_FILE_complete. - - * libio/oldiofdopen.c: New. - - * stdio-common/vfprintf.c (buffered_vfprintf): Set - hp->_vtable_offset to 0. - -1997-11-18 08:03 H.J. Lu - - * libc.map (_IO_file_open): Added. - - * libio/libioP.h (_IO_file_open): Declared. - - * libio/fileops.c (_IO_file_open): New. - (_IO_file_fopen): Call _IO_file_open (). - - * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN. - * sysdeps/unix/sysv/linux/_G_config.h: Likewise. - -1997-12-07 Andreas Schwab - - * signal/signal.h: Fix selection of signal semantics to match - comment. - -1997-12-11 Andreas Schwab - - * sysdeps/unix/sysv/linux/sigreturn.c: Stub out. - * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and - rt_sigreturn. - * sysdeps/unix/sysv/linux/Makefile (sysdep_routines) - [$(subdir)=signal]: Remove rt_sigreturn. - * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted. - * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted. - * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted. - -1997-12-11 Andreas Schwab - - * sysdeps/unix/sysv/linux/sigaction.c: Include . Fix - declarations. - -1997-12-12 Andreas Schwab - - * iconvdata/extra-module.mk: Expand extra-objs now. - -1997-12-09 Andreas Schwab - - * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of - inline functions by feature tests to avoid warning about missing - prototype declarations. - -1997-12-09 15:08 Thorsten Kukuk - - * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix - return code for non existent +name entries. + * nis/nss_compat/compat-grp.c: Matches Solaris behaviour now. * nis/nss_compat/compat-pwd.c: Likewise. * nis/nss_compat/compat-spwd.c: Likewise. + * nis/nss_nisplus/nisplus-alias.c: Likewise. + * nis/nss_nisplus/nisplus-ethers.c: Likewise. + * nis/nss_nisplus/nisplus-grp.c: Likewise. + * nis/nss_nisplus/nisplus-hosts.c: Likewise. + * nis/nss_nisplus/nisplus-netgrp.c: Likewise. + * nis/nss_nisplus/nisplus-network.c: Likewise. + * nis/nss_nisplus/nisplus-proto.c: Likewise. + * nis/nss_nisplus/nisplus-publickey.c: Likewise. + * nis/nss_nisplus/nisplus-pwd.c: Likewise. + * nis/nss_nisplus/nisplus-rpc.c: Likewise. + * nis/nss_nisplus/nisplus-service.c: Likewise. + * nis/nss_nisplus/nisplus-spwd.c: Likewise. -1997-12-10 13:52 Philip Blundell + * nis/nss_nis/nis-publickey.c: Remove libc-lock.h include. - * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added. - (EIO): Likewise. - (ENOSPC): Likewise. - (EEXIST): Likewise. - (__errno_location): Likewise. + * nis/nis_intern.c: Removed. - * sysdeps/generic/sys/param.h (MAXPATHLEN): Added. + * nis/nis_call.c: Complete rewrite. + * nis/nis_lookup.c: Likewise. + * nis/nis_table.c: Likewise. - * sysdeps/generic/sigqueue.c: Include for pid_t. + * nis/libnsl.map: Add missing symbols. -1997-12-09 08:10 Thorsten Kukuk + * nis/nis_print.c: Fix nis_print_link. + * nis/nis_subr.c: Fix nis_getnames. - * sunrpc/publickey.c: Use new NSS interface. +1997-07-09 07:19 H.J. Lu -1997-12-09 03:08 Ulrich Drepper + * posix/execvp.c (execvp): Handle ESTALE. - * manual/malloc.texi: Document mtrace/muntrace and the concept. +1997-07-10 13:54 Ulrich Drepper -1997-12-04 Andreas Schwab + * posix/regex.c: Make CHAR_SET_SIZE definition always available, + even if SYNTAX_TABLE is defined. + Patch by Akim Demaille . - * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar - value, to match spirit of the standard. - * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar. - * sysdeps/m68k/fpu/feholdexcpt.c: Likewise. - * sysdeps/m68k/fpu/fesetenv.c: Likewise. +1997-07-09 08:16 H.J. Lu -1997-12-02 Andreas Schwab + * libio/fileops.c (_IO_file_underflow): Adjust pointers + before calling _IO_SYSREAD (). - * manual/signal.texi (Signal Stack): Remove spurious @item. +1997-07-07 22:54 Zack Weinberg -1997-12-08 Andreas Jaeger + * sysdeps/sparc/divrem.m4: Eliminate use of "DEFS.h" + (sysdep.h does the same job). + * sysdeps/sparc/alloca.S: Likewise. + * sysdeps/sparc/dotmul.S: Likewise. + * sysdeps/sparc/udiv_qrnnd.S: Likewise. - * rt/aio.h: Remove double semicolon. + * sysdeps/sparc/rem.S: Regenerated. + * sysdeps/sparc/sdiv.S: Regenerated. + * sysdeps/sparc/udiv.S: Regenerated. + * sysdeps/sparc/urem.S: Regenerated. - * rt/librt.map: Add aio_init. + * sysdeps/sparc/DEFS.h: Removed. + * sysdeps/sparc/elf/DEFS.h: Removed. + * sysdeps/sparc/Dist: Don't distribute DEFS.h. -1997-12-08 03:24 Ulrich Drepper + * sysdeps/unix/sparc/sysdep.h: Use 4 byte alignment. Add .type + directive #ifdef HAVE_ELF. Minor format changes. - * Makeconfig: Define $(rt) to rt if linuxthreads is available. - * Makefile (subdirs): Replace rt by $(rt). + * sysdeps/alpha/DEFS.h: Removed. + * sysdeps/alpha/Dist: Don't distribute DEFS.h. - * shlib-versions: Use version .2 for NSS modules. +1997-07-07 19:03 H.J. Lu - * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra + * math/test-fenv.c (feenv_nomask_test): Move + fesetenv (FE_NOMASK_ENV) after fork () to work with + SMP. + + * sysdeps/i386/fpu_control.h (_FPU_IEEE): Fix comment. + +1997-07-08 Andreas Schwab + + * libc.map: Add _IO_peekc_locked. + +1997-07-07 15:45 Fila Kolodny + + * Makeconfig: Add dbobjdir to rpath-link analogous to nssobjdir. + +1997-07-08 Andreas Schwab + + * sysdeps/m68k/fpu/feholdexcpt.c: Shift the exception mask in the + right position. + * sysdeps/m68k/fpu/fesetenv.c (fesetenv): Likewise. + +1997-07-08 13:59 Ulrich Drepper + + * time/strftime.c (spaces, zeroes): Handle broken SGI compiler. + Patch by Richard Stallman . + +1997-07-08 02:18 Ulrich Drepper + + * io/lockf.c (lockf): Clear fl before using. + Patch by sr@adb.fr. + + * libio/strops.c: Correctly handle _IO_write_end. + + * nss/libnss_files.map: Add __nss_netgroup_parseline. + * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't + panic if setnetgrent wasn't called before, return error. + Patch by Thorsten Kukuk . + + * time/mktime.c: Define localtime_r function as my_mktime_localtime_r + if locally defined. + * time/strftime.c: Define localtime_r function as my_ftime_localtime_r + if locally defined. + Define tm_diff function as ftime_tm_diff if locally defined. + Reported by Richard Stallman . + +1997-07-06 23:36 Ulrich Drepper + + * isomac.c (get_null_defines): Put NULL at end of list. + + * hurd/Makefile: Remove special handling of sunrpc code. + * sysdeps/mach/hurd/Makefile: Likewise. + Compile CThreads code. + * sunrpc/rpc_main.c: Don't use MAXPATHLEN. + * sysdeps/mach/bits/libc-lock.h: Add definitions for key handling + functions. + * sysdeps/stub/bits/libc-lock.h: Likewise. + * sysdeps/mach/hurd/net/ethernet.h: New file. + * sysdeps/mach/hurd/net/if.h: New file. + * sysdeps/mach/hurd/net/if_arp.h: New file. + * sysdeps/mach/hurd/net/if_ether.h: New file. + * sysdeps/mach/hurd/net/if_ppp.h: New file. + * sysdeps/mach/hurd/net/route.h: New file. + Patches by Fila Kolodny . + + * math/fenv-test.c: Add more tests. + Patch by Andreas Jaeger . + + * sysdeps/wordsize-32/inttypes.h: Correct values for INTFAST_MIN, + INTFAST_MAX, and UINTFAST_MAX. + * sysdeps/wordsize-64/inttypes.h: Likewise. + Correct intmax_t definition. + +1997-07-04 15:33 H.J. Lu + + * elf/rtld.c (dl_main): Add '\n' to _dl_sysdep_fatal (). + +1997-07-01 09:18 H.J. Lu + + * libc.map: Add missing symbol. + +1997-07-04 18:04 H.J. Lu + + * stdlib/tst-strtol.c: Don't assume cpp takes ~0UL as long + in cc1. Cpp in gcc doesn't do it. + +1997-07-01 21:15 Andreas Jaeger + + * libio/libioP.h: Remove second definition of _IO_file_attach. + + * sysdeps/i386/fpu/fraiseexcpt.c (feraiseexcept): Correct comments. + + * sysdeps/sparc64/elf/start.S (_start): Update and reformat + copyright. + * manual/summary.awk: Likewise. + * misc/bits/stab.def: Likewise. + * posix/glob/Makefile.ami: Likewise. + * posix/glob/Makefile.in: Likewise. + * posix/glob/SMakefile: Likewise. + * sysdeps/gnu/errlist.awk: Likewise. + * sysdeps/mach/hurd/errnos.awk: Likewise. + * sysdeps/standalone/i386/force_cpu386/target.ld: Likewise. + * sysdeps/standalone/m68k/m68020/mvme136/mvme136.ld: Likewise. + * sysdeps/unix/snarf-ioctls: Likewise. + * sysdeps/vax/setjmp.c: Likewise. + +1997-07-05 11:56 Ulrich Drepper + + * login/login.c (tty_name): Use newly allocated buffer. + Patch by Jaakko Hyvätti . + + * time/asctime.c: Never translate week and month name according + to LC_TIME. Patch by Paul Eggert . + +1997-07-03 22:50 Andreas Schwab + + * locale/setlocale.c (setname): Do nothing when reusing the same + name. + +1997-07-03 20:18 Andreas Schwab + + * libc.map: Add global variables of malloc. + +1997-07-03 13:24 Andreas Schwab + + * elf/dl-version.c (find_needed): Look for needed objects also in + the dependency list of the current object. Added new parameter to + find its link map, caller changed. + +1997-07-03 12:33 Andreas Schwab + + * sysdeps/m68k/fpu/fraiseexcpt.c: Correct the FE_INEXACT and + FE_UNDERFLOW cases. + +1997-07-01 13:36 Andreas Schwab + + * elf/link.h: Remove final comma from enumerator list, forbidden + by ISO C. Use __inline instead of inline. + +1997-07-01 16:40 Thomas Bushnell, n/BSG + + * hurd/hurdsig.c: Include . + (reauth_proc): Call proc_setowner appropriately too. + +1997-07-01 09:18 H.J. Lu + + * libc.map: Add missing symbol. + +1997-06-30 12:12 Fila Kolodny + + * sysdeps/mach/hurd/fchdir.c: Make fchdir a weak alias of __fchdir. + * sysdeps/mach/hurd/getpeername.c (getpeername): Remove spurious + declaration of addr. + +1997-06-29 17:56 Andreas Schwab + + * manual/argp.texi (Argp Option Vectors): Fix use of @math to make + it work in TeX. + +1997-06-27 21:25 Andreas Schwab + + * Makeconfig (+includes): Add include directory to include path. + * configure.in (sysnames): Don't add it here. + * Makefile (subdir-dirs): Define and add it to vpath for headers. + * Make-dist (all-headers): Look in include directory for + indirection headers. Filter out header names pointing outside the + source directory. + + * Makefile (distribute): Remove ansidecl.h, add libc.map. + * Make-dist (+tsrcs): Add version scripts for extra libraries. + * Makerules (distinfo-vars): Add %-map for extra libraries. + + * sysdeps/unix/sysv/linux/alpha/Dist: Rename sys/kernel_termios.h + to kernel_termios.h. + * sysdeps/unix/sysv/linux/powerpc/Dist: Remove ioctl-types.h, + termbits.h and sys/kernel_termios.h. + * sysdeps/mips/mips64/Dist: New file. + * sysdeps/unix/sysv/linux/Dist: Add stdio_lim.h.in. + +1997-06-29 23:03 Andreas Jaeger + + * math/test-fenv.c (feenv_nomask_test): New test for non masked + exceptions. + (feenv_mask_test): New test for masked exceptions + (feenv_tests): New function calls feenv_nomask_test and + feenv_mask_test. + (main): Call new tests. + (initial_tests): New test for initilisation. + +1997-06-29 23:43 Ulrich Drepper + + * config.make.in: Define need-nopic-initfini. + * configure.in: Write out nopic_initfini. + * csu/Makefile: Generate no-PIC crt code if need-nopic-initfini + is defined. + + * sysdeps/i386/fpu/fraiseexcpt.c: Correct FE_INEXACT case. + + * sysdeps/sparc/rem.S: Get trap definition properly. + * sysdeps/sparc/sdiv.S: Likewise. + * sysdeps/sparc/udiv.S: Likewise. + * sysdeps/sparc/urem.S: Likewise. + * sysdeps/sparc/setjmp.S: Include . + * sysdeps/sparc/sys/trap.h: New file. + * sysdeps/unix/sysv/linux/sparc/sys/trap.h: New file. + +1997-06-25 10:26 Thorsten Kukuk + + * sysdeps/generic/rpc/auth.h: Add xdr_opaque_auth declaration. + +1997-06-29 10:34 Fila Kolodny + + * sysdeps/mach/hurd/select.c (__select): Change MACH_MSG_SIZE_INTEGER_T + to MACH_MSG_TYPE_INTEGER_T. + +1997-06-29 01:04 Richard Henderson + + Initial sparc64-linux support: + * configure.in: Recognize sparc64 as being different from sparc. + * io/ftwtest-sh: Only invoke ld.so if it exists. + * math/Makefile (LDLIBS-*): Change from libm to math/libm to get + static tests to link. Honour $(omit-long-double-fcts) == yes. + * math/libm-test.c (test_single_exception): The argument to + fetestexcept is `int' not `fexcept_t'. + * shlib-versions: Recognize sparc64. + * signal/signal.h: Add typedef for stack_t. + + * stdio-common/_itoa.c: Defaulting UMUL_TIME==UDIV_TIME is broken. + Attempt to fix up most of this by cleaning up assumptions below, + but give up and change the defaults. + + * setjmp/longjmp.c: Moved to ... + * sysdeps/generic/longjmp.c: ... here. + * setjmp/sigjmp.c: Moved to ... + * sysdeps/generic/sigjmp.c: ... here. + + * sysdeps/sparc/bsd-_setjmp.S [PIC]: There wasn't even valid asm here. + Ought to fix up gas to catch these silly things properly. + * sysdeps/sparc/bsd-setjmp.S: Likewise. + + * sysdeps/unix/sysv/linux/sparc/errno.c: Remove. + * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Remove. + * sysdeps/unix/sysv/linux/sparc/kernel_stat.h: Tell xstat about + the unused fields. + + * sysdeps/sparc/sparc64/add_n.s: Moved to ... + * sysdeps/sparc64/add_n.S: ... here. Fix up %g4 and stack usage. + * sysdeps/sparc/sparc64/addmul_1.s: Likewise. + * sysdeps/sparc/sparc64/gmp-mparam.h: Likewise. + * sysdeps/sparc/sparc64/lshift.s: Likewise. + * sysdeps/sparc/sparc64/mul_1.s: Likewise. + * sysdeps/sparc/sparc64/rshift.s: Likewise. + * sysdeps/sparc/sparc64/sub_n.s: Likewise. + * sysdeps/sparc/sparc64/submul_1.s: Likewise. + + * sysdeps/sparc64/Implies: New file. + * sysdeps/sparc64/Makefile: Likewise. + * sysdeps/sparc64/bits/endian.h: Likewise. + * sysdeps/sparc64/bsd-_setjmp.S: Likewise. + * sysdeps/sparc64/bsd-setjmp.S: Likewise. + * sysdeps/sparc64/dl-machine.h: Likewise. + * sysdeps/sparc64/elf/Makefile: Likewise. + * sysdeps/sparc64/elf/crtbegin.S: Likewise. + * sysdeps/sparc64/elf/crtbeginS.S: Likewise. + * sysdeps/sparc64/elf/crtend.S: Likewise. + * sysdeps/sparc64/elf/crtendS.S: Likewise. + * sysdeps/sparc64/elf/start.S: Likewise. + * sysdeps/sparc64/fpu_control.h: Likewise. + * sysdeps/unix/sysv/linux/sparc64/Makefile: Likewise. + * sysdeps/unix/sysv/linux/sparc64/__longjmp.S: Likewise. + * sysdeps/unix/sysv/linux/sparc64/bits/setjmp.h: Likewise. + * sysdeps/unix/sysv/linux/sparc64/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/sparc64/brk.S: Likewise. + * sysdeps/unix/sysv/linux/sparc64/clone.S: Likewise. + * sysdeps/unix/sysv/linux/sparc64/fork.S: Likewise. + * sysdeps/unix/sysv/linux/sparc64/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/sparc64/init-first.h: Likewise. + * sysdeps/unix/sysv/linux/sparc64/kernel_stat.h: Likewise. + * sysdeps/unix/sysv/linux/sparc64/longjmp.S: Likewise. + * sysdeps/unix/sysv/linux/sparc64/pipe.S: Likewise. + * sysdeps/unix/sysv/linux/sparc64/profil-counter.h: Likewise. + * sysdeps/unix/sysv/linux/sparc64/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/sparc64/setjmp.S: Likewise. + * sysdeps/unix/sysv/linux/sparc64/sigjmp.S: Likewise. + * sysdeps/unix/sysv/linux/sparc64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/sparc64/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/sparc64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/sparc64/ucontext.h: Likewise. + +1997-06-28 16:28 H.J. Lu + + * configure.in: Add -nostartfiles -nostdlib when check for + --version-script. + +1997-06-28 12:03 H.J. Lu + + * sysdeps/powerpc/bits/endian.h: New file. + +1997-06-28 20:52 Ulrich Drepper + + * sysdeps/unix/sysv/linux/syscalls.list: Add getresgid and + setresgid. + +1997-06-27 20:09 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sys/quota.h: Add . + Reported by a sun . + + * libc.map: Add _rpc_dtablesize. Reported by Thorsten Kukuk. + + * db/makedb.c: Exit with error if number of option is incorrect. + + * math/Makefile (tests): Add test-fenv. + * math/test-fenv.c: New file. Test for exception handling functions. + Written mainly by Andreas Jaeger. + + * sysdeps/i386/fpu/fraiseexcpt.c: Correct implementation. + + * sysdeps/mach/hurd/abi-tag.h: Set tag to 1 for Hurd and kernel + compatibility version to 0. Reported by Roland McGrath. + +1997-06-27 18:49 Philip Blundell + + * sysdeps/standalone/brk.c (__NONE_set_memvals): Correct typo. + * sysdeps/standalone/arm/bits/errno.h: Add ENOTDIR. + * sysdeps/stub/sys/param.h: Add definition of MAX and MIN. + +1997-06-27 10:44 Fila Kolodny + + * sysdeps/mach/hurd/dl-sysdep.c: Make _dl_sysdep_read_whole_file weak. + +1997-06-27 00:51 Andreas Schwab + + * elf/dl-open.c (_dl_open): Check versions of all newly loaded + objects, including dependencies. + + * elf/dl-runtime.c (fixup): Always use version information if + available. + +1997-06-26 12:25 Andreas Schwab + + * sysdeps/m68k/bits/nan.h: Renamed from sysdeps/m68k/nan.h. + +1997-06-26 11:40 Andreas Schwab + + * posix/regex.c (DEBUG_POP): Assume parameter to be pointer to + int, not pointer to fail_stack_elt_t. + (PUSH_FAILURE_POINT): Fix all formats in debugging messages. Fix + type of this_reg. + (POP_FAILURE_POINT): Likewise. Fix type of failure_id. + (re_match_2_internal): Pass NULL, not 0, to PUSH_FAILURE_POINT. + +1997-06-27 02:17 Ulrich Drepper + + * sysdeps/unix/sysv/linux/syscalls.list: Add quotactl. + Reported by a sun. + +1997-06-26 21:50 Ulrich Drepper + + * math/math.h: Move definition of macros for unordered comparison + after inclusion of . + * sysdeps/i386/fpu/bits/mathinline.h: Don't undef macros for + unordered comparison before definition. + * sysdeps/m68k/fpu/bits/mathinline.h: Likewise. + + * Makerules: Move definition of load-map-file before use. + (lib%.so): Depend on load-map-file, not lib%-map. + + * manual/lgpl.texinfo: Update copyright. + +1997-06-24 09:40 Andreas Schwab + + * sysdeps/m68k/fpu/bits/mathinline.h: Don't define __ilogb. + * sysdeps/m68k/fpu/s_ilogb.c: Define it here. Handle zero, NaN + and infinity specially. + * sysdeps/m68k/fpu/s_ilogbf.c, sysdeps/m68k/fpu/s_ilogbl.c: + Adapted. + + * sysdeps/m68k/fpu/bits/mathdef.h (FP_ILOGB0): Correct value. + +1997-06-26 17:06 Ulrich Drepper + + * configure.in: Don't use .long in tests since some strange + platforms without binutils don't know this. + Redirect output of test commands correctly. + Patch by Klaus Espenlaub . + + * hurd/hurdsig.c (_hurdsig_init): Call _hurd_self_sigstate. + Patch by Kazumoto Kojima . + +1997-06-26 09:02 Fila Kolodny + + * sysdeps/mach/hurd/abi-tag.h: New file. + + * sysdeps/mach/bits/libc-lock.h: Add typedef for __libc_key_t. + * sysdeps/stub/bits/libc-lock.h: Likewise. + + * sysdeps/mach/hurd/accept.c (accept): Fix type of parameter addrarg. + Add variable addr containing the desired part of the union. + * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise. + * sysdeps/mach/hurd/getsockname.c (getsockname): Likewise. + * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise. + * sysdeps/mach/hurd/connect.c (__connect): Likewise. + * sysdeps/mach/hurd/bind.c (bind): Likewise. + + * sysdeps/mach/hurd/select.c (__select): Change MACH_MSG_SIZE_INTEGER_T + to sizeof(MACH_MSG_TYPE_INTEGER_T). + + * io/ftw.c (ftw_startup): Use PATH_MAX only if defined. + + * sysdeps/mach/hurd/open.c (__open): Fix type of parameter file. + + * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Add closefn to + paramater list since it is used. + + * sysdeps/mach/hurd/rename.c (rename): Fix type of paramater new. + + * sysdeps/mach/hurd/sigaltstack.c (sigaltstack): Change parameter from + ss to argss. + +1997-06-24 14:02 Andreas Jaeger + + * Rules: Update copyright. + * mach/Machrules: Likewise. + +1997-06-26 14:28 Ulrich Drepper + + * configure.in: Fix accidently removed AC_OUTPUT line. + Reported by Andreas Jaeger. + + * time/strftime.c: Don't define `memcpy' macro if HAVE_MEMCPY is + defined. Reported by Akim Demaille . + + * sysdeps/generic/getdomain.c: Include handling for stub case. + This eliminated the only case of a function in generic and stub. + * sysdeps/stub/getdomain.c: Removed. + Patch by Zack Weinberg . + +1997-06-23 22:20 Andreas Jaeger + + * sysdeps/alpha/_mcount.S: Update and reformat copyright, + remove trailing white spaces and send through unexpand. + * sysdeps/alpha/bb_init_func.S: Likewise. + * sysdeps/alpha/bzero.S: Likewise. + * sysdeps/alpha/ffs.S: Likewise. + * sysdeps/alpha/memset.S: Likewise. + * sysdeps/alpha/s_fabs.S: Likewise. + * sysdeps/alpha/strcmp.S: Likewise. + * sysdeps/alpha/strlen.S: Likewise. + * sysdeps/alpha/strncmp.S: Likewise. + * sysdeps/alpha/strncpy.S: Likewise. + * sysdeps/alpha/strrchr.S: Likewise. + * sysdeps/alpha/stxcpy.S: Likewise. + * sysdeps/alpha/stxncpy.S: Likewise. + * sysdeps/alpha/elf/start.S: Likewise. + * sysdeps/i386/strchr.S: Likewise. + * sysdeps/m68k/bsd-_setjmp.S: Likewise. + * sysdeps/m68k/bsd-setjmp.S: Likewise. + * sysdeps/m68k/elf/start.S: Likewise. + * sysdeps/mach/alpha/syscall.S: Likewise. + * sysdeps/mach/i386/syscall.S: Likewise. + * sysdeps/mips/elf/start.S: Likewise. + * sysdeps/sparc/alloca.S: Likewise. + * sysdeps/standalone/i386/start.S: Likewise. + * sysdeps/standalone/i386/force_cpu386/strtsupp.S: Likewise. + * sysdeps/standalone/i960/start.S: Likewise. + * sysdeps/standalone/m68k/m68020/start.S: Likewise. + * sysdeps/unix/_exit.S: Likewise. + * sysdeps/unix/fork.S: Likewise. + * sysdeps/unix/getegid.S: Likewise. + * sysdeps/unix/geteuid.S: Likewise. + * sysdeps/unix/getppid.S: Likewise. + * sysdeps/unix/syscall.S: Likewise. + * sysdeps/unix/arm/brk.S: Likewise. + * sysdeps/unix/arm/fork.S: Likewise. + * sysdeps/unix/bsd/hp/m68k/brk.S: Likewise. + * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise. + * sysdeps/unix/bsd/hp/m68k/wait3.S: Likewise. + * sysdeps/unix/bsd/i386/vfork.S: Likewise. + * sysdeps/unix/bsd/i386/wait3.S: Likewise. + * sysdeps/unix/bsd/m68k/pipe.S: Likewise. + * sysdeps/unix/bsd/m68k/syscall.S: Likewise. + * sysdeps/unix/bsd/m68k/sysdep.S: Likewise. + * sysdeps/unix/bsd/m68k/wait.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/brk.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/fork.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/killpg.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/pipe.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/recv.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/send.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/sigblock.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/sigpause.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/sigsetmask.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/sigvec.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/start.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/vhangup.S: Likewise. + * sysdeps/unix/bsd/sequent/i386/getgroups.S: Likewise. + * sysdeps/unix/bsd/sequent/i386/sigvec.S: Likewise. + * sysdeps/unix/bsd/sequent/i386/syscall.S: Likewise. + * sysdeps/unix/bsd/sun/sigreturn.S: Likewise. + * sysdeps/unix/bsd/sun/m68k/brk.S: Likewise. + * sysdeps/unix/bsd/sun/m68k/sethostid.S: Likewise. + * sysdeps/unix/bsd/sun/m68k/syscall.S: Likewise. + * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise. + * sysdeps/unix/bsd/sun/sparc/sethostid.S: Likewise. + * sysdeps/unix/bsd/ultrix4/wait3.S: Likewise. + * sysdeps/unix/bsd/ultrix4/mips/__handler.S: Likewise. + * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise. + * sysdeps/unix/bsd/ultrix4/mips/vfork.S: Likewise. + * sysdeps/unix/bsd/vax/brk.S: Likewise. + * sysdeps/unix/bsd/vax/pipe.S: Likewise. + * sysdeps/unix/bsd/vax/sysdep.S: Likewise. + * sysdeps/unix/bsd/vax/vfork.S: Likewise. + * sysdeps/unix/bsd/vax/wait.S: Likewise. + * sysdeps/unix/bsd/vax/wait3.S: Likewise. + * sysdeps/unix/i386/brk.S: Likewise. + * sysdeps/unix/i386/fork.S: Likewise. + * sysdeps/unix/i386/pipe.S: Likewise. + * sysdeps/unix/i386/sigreturn.S: Likewise. + * sysdeps/unix/i386/syscall.S: Likewise. + * sysdeps/unix/i386/vfork.S: Likewise. + * sysdeps/unix/i386/wait.S: Likewise. + * sysdeps/unix/mips/brk.S: Likewise. + * sysdeps/unix/mips/fork.S: Likewise. + * sysdeps/unix/mips/pipe.S: Likewise. + * sysdeps/unix/mips/sigreturn.S: Likewise. + * sysdeps/unix/mips/sysdep.S: Likewise. + * sysdeps/unix/mips/wait.S: Likewise. + * sysdeps/unix/sparc/brk.S: Likewise. + * sysdeps/unix/sparc/fork.S: Likewise. + * sysdeps/unix/sparc/pipe.S: Likewise. + * sysdeps/unix/sparc/sysdep.S: Likewise. + * sysdeps/unix/sparc/vfork.S: Likewise. + * sysdeps/unix/sysv/i386/signal.S: Likewise. + * sysdeps/unix/sysv/i386/time.S: Likewise. + * sysdeps/unix/sysv/irix4/__handler.S: Likewise. + * sysdeps/unix/sysv/irix4/sigreturn.S: Likewise. + * sysdeps/unix/sysv/irix4/uname.S: Likewise. + * sysdeps/unix/sysv/irix4/wait.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/pipe.S: Likewise. + * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/fork.S: Likewise. + * sysdeps/unix/sysv/sco3.2.4/sigaction.S: Likewise. + * sysdeps/unix/sysv/sco3.2.4/sysconf.S: Likewise. + * sysdeps/unix/sysv/sco3.2.4/uname.S: Likewise. + * sysdeps/unix/sysv/sco3.2.4/waitpid.S: Likewise. + * sysdeps/unix/sysv/sysv4/i386/sys-sig.S: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/fsync.S: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.S: Likewise. + * sysdeps/vax/bsd-_setjmp.S: Likewise. + * sysdeps/vax/bsd-setjmp.S: Likewise. + +1997-06-26 02:06 Ulrich Drepper + + * posix/Makefile (CFLAGS-regex.c): -DDEBUG was not meant for the + public. + + * Makerules ($(common-objpfx)libc.so): Use $(load-map-file) in + dependency, not $(libc-map). + + * sysdeps/posix/mk-stdiolim.c: Pretty print. + +1997-06-25 15:54 Fila Kolodny + + * sysdeps/mach/hurd/bits/fcntl.h: Change include of gnu/types.h to + include of bits/types.h. + + * sysdeps/posix/Makefile ($(common-objpfx)bits/stdio_lim.h): Don't + conditionalize this on whether we are cross-compiling. + +1997-06-21 15:47 H.J. Lu + + * elf/dl-lookup.c (do_lookup): Use default definition + for a default versioned symbol. + + * elf/dl-version.c (_dl_check_map_versions): Set the hidden field. + + * elf/dlvsym.c (__dlvsym): Set the hidden field to 1. + + * elf/link.h (r_found_version): Add the hidden field. + + * math/test-matherr.c: New file. + + * math/Makefile (tests): Add test-matherr. + (libm-support): Put back s_matherr. + (static-only-routines, aux): Remove s_matherr. + +1997-06-23 23:39 Ulrich Drepper + + * string/Makefile (headers): Change bytesex.h to bits/endian.h. + * sysdeps/generic/Makefile: Don't try to generate bytesex.h, but + bits/endian.h. + + * math/libm-test.c (lgamma_test): Make sure the test of the ilogb + function will not fail because of exceptions. + + * math/math.h: Add warning about use of M_* constants. + Pretty print. + +1997-06-23 11:36 Andreas Jaeger + + * hurd/path-lookup.c: Change GPL to LGPL, update and reformat + copyright, remove trailing white spaces and send through unexpand. + * inet/netinet/icmp6.h: Likewise. + * inet/netinet/in.h: Likewise. + * inet/netinet/ip6.h: Likewise. + * locale/programs/xmalloc.c: Likewise. + * locale/programs/xstrdup.c: Likewise. + * sysdeps/generic/make_siglist.c: Likewise. + * sysdeps/generic/morecore.c: Likewise. + * sysdeps/generic/sbrk.c: Likewise. + * sysdeps/generic/signame.c: Likewise. + * sysdeps/generic/signame.h: Likewise. + * sysdeps/generic/netinet/inbits.h: Likewise. + * sysdeps/posix/getpagesize.c: Likewise. + * sysdeps/unix/errnos-tmpl.c: Likewise. + * sysdeps/unix/getpagesize.c: Likewise. + * sysdeps/unix/make_errlist.c: Likewise. + * sysdeps/unix/mkfifo.c: Likewise. + * sysdeps/unix/nlist.c: Likewise. + * sysdeps/unix/start.c: Likewise. + * sysdeps/unix/sysv/linux/netinet/inbits.h: Likewise. + + * munch-tmpl.c: Update and reformat copyright, remove trailing + white spaces and send through unexpand. + * libio/clearerr_u.c: Likewise. + * libio/memstream.c: Likewise. + * libio/putc_u.c: Likewise. + * libio/putchar_u.c: Likewise. + * stdio-common/scanf.c: Likewise. + * stdlib/longlong.h: Likewise. + * sysdeps/alpha/__longjmp.c: Likewise. + * sysdeps/alpha/divrem.h: Likewise. + * sysdeps/alpha/machine-gmon.h: Likewise. + * sysdeps/alpha/setjmp_aux.c: Likewise. + * sysdeps/alpha/bits/setjmp.h: Likewise. + * sysdeps/arm/fpu_control.h: Likewise. + * sysdeps/generic/_strerror.c: Likewise. + * sysdeps/generic/det_endian.c: Likewise. + * sysdeps/generic/fdatasync.c: Likewise. + * sysdeps/generic/fpu_control.c: Likewise. + * sysdeps/generic/ftime.c: Likewise. + * sysdeps/generic/getdomain.c: Likewise. + * sysdeps/generic/group_member.c: Likewise. + * sysdeps/generic/ldiv.c: Likewise. + * sysdeps/generic/lldiv.c: Likewise. + * sysdeps/generic/lxstat.c: Likewise. + * sysdeps/generic/memcmp.c: Likewise. + * sysdeps/generic/memmem.c: Likewise. + * sysdeps/generic/mig-reply.c: Likewise. + * sysdeps/generic/pagecopy.h: Likewise. + * sysdeps/generic/profil-counter.h: Likewise. + * sysdeps/generic/pselect.c: Likewise. + * sysdeps/generic/setfpucw.c: Likewise. + * sysdeps/generic/stpcpy.c: Likewise. + * sysdeps/generic/uname.c: Likewise. + * sysdeps/generic/varargs.h: Likewise. + * sysdeps/generic/vlimit.c: Likewise. + * sysdeps/generic/bits/sigaction.h: Likewise. + * sysdeps/generic/bits/ustat.h: Likewise. + * sysdeps/generic/netinet/if_ether.h: Likewise. + * sysdeps/generic/sys/swap.h: Likewise. + * sysdeps/generic/sys/sysinfo.h: Likewise. + * sysdeps/i386/init-first.c: Likewise. + * sysdeps/i386/ldbl2mpn.c: Likewise. + * sysdeps/i386/memcopy.h: Likewise. + * sysdeps/i386/i586/memcopy.h: Likewise. + * sysdeps/i860/memcopy.h: Likewise. + * sysdeps/m68k/__longjmp.c: Likewise. + * sysdeps/m68k/fpu_control.h: Likewise. + * sysdeps/m68k/memcopy.h: Likewise. + * sysdeps/m68k/s_isinfl.c: Likewise. + * sysdeps/m68k/s_isnanl.c: Likewise. + * sysdeps/m68k/setjmp.c: Likewise. + * sysdeps/mach/_strerror.c: Likewise. + * sysdeps/mach/getsysstats.c: Likewise. + * sysdeps/mach/mprotect.c: Likewise. + * sysdeps/mach/munmap.c: Likewise. + * sysdeps/mach/pagecopy.h: Likewise. + * sysdeps/mach/start.c: Likewise. + * sysdeps/mach/sysdep.h: Likewise. + * sysdeps/mach/alpha/machine-lock.h: Likewise. + * sysdeps/mach/alpha/machine-sp.h: Likewise. + * sysdeps/mach/alpha/sysdep.h: Likewise. + * sysdeps/mach/alpha/thread_state.h: Likewise. + * sysdeps/mach/hppa/machine-lock.h: Likewise. + * sysdeps/mach/hurd/access.c: Likewise. + * sysdeps/mach/hurd/closedir.c: Likewise. + * sysdeps/mach/hurd/dirstream.h: Likewise. + * sysdeps/mach/hurd/dl-cache.c: Likewise. + * sysdeps/mach/hurd/euidaccess.c: Likewise. + * sysdeps/mach/hurd/fdatasync.c: Likewise. + * sysdeps/mach/hurd/fexecve.c: Likewise. + * sysdeps/mach/hurd/fork.c: Likewise. + * sysdeps/mach/hurd/fpathconf.c: Likewise. + * sysdeps/mach/hurd/fstatfs.c: Likewise. + * sysdeps/mach/hurd/fxstat.c: Likewise. + * sysdeps/mach/hurd/getcwd.c: Likewise. + * sysdeps/mach/hurd/getpriority.c: Likewise. + * sysdeps/mach/hurd/getrlimit.c: Likewise. + * sysdeps/mach/hurd/getsid.c: Likewise. + * sysdeps/mach/hurd/group_member.c: Likewise. + * sysdeps/mach/hurd/kill.c: Likewise. + * sysdeps/mach/hurd/lchown.c: Likewise. + * sysdeps/mach/hurd/lxstat.c: Likewise. + * sysdeps/mach/hurd/mig-reply.c: Likewise. + * sysdeps/mach/hurd/mmap.c: Likewise. + * sysdeps/mach/hurd/opendir.c: Likewise. + * sysdeps/mach/hurd/pathconf.c: Likewise. + * sysdeps/mach/hurd/profil.c: Likewise. + * sysdeps/mach/hurd/ptrace.c: Likewise. + * sysdeps/mach/hurd/readdir.c: Likewise. + * sysdeps/mach/hurd/readdir_r.c: Likewise. + * sysdeps/mach/hurd/send.c: Likewise. + * sysdeps/mach/hurd/sendto.c: Likewise. + * sysdeps/mach/hurd/setpriority.c: Likewise. + * sysdeps/mach/hurd/statfs.c: Likewise. + * sysdeps/mach/hurd/ttyname.c: Likewise. + * sysdeps/mach/hurd/uname.c: Likewise. + * sysdeps/mach/hurd/xstat.c: Likewise. + * sysdeps/mach/hurd/alpha/exc2signal.c: Likewise. + * sysdeps/mach/hurd/alpha/longjmp-ts.c: Likewise. + * sysdeps/mach/hurd/alpha/sigreturn.c: Likewise. + * sysdeps/mach/hurd/alpha/trampoline.c: Likewise. + * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise. + * sysdeps/mach/hurd/hppa/trampoline.c: Likewise. + * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise. + * sysdeps/mach/hurd/i386/exc2signal.c: Likewise. + * sysdeps/mach/hurd/i386/intr-msg.h: Likewise. + * sysdeps/mach/hurd/i386/longjmp-ts.c: Likewise. + * sysdeps/mach/hurd/i386/sigreturn.c: Likewise. + * sysdeps/mach/hurd/i386/trampoline.c: Likewise. + * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise. + * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise. + * sysdeps/mach/hurd/sys/param.h: Likewise. + * sysdeps/mach/i386/machine-lock.h: Likewise. + * sysdeps/mach/i386/machine-sp.h: Likewise. + * sysdeps/mach/i386/sysdep.h: Likewise. + * sysdeps/mach/i386/thread_state.h: Likewise. + * sysdeps/posix/dup2.c: Likewise. + * sysdeps/posix/flock.c: Likewise. + * sysdeps/posix/getdtsz.c: Likewise. + * sysdeps/posix/gettimeofday.c: Likewise. + * sysdeps/posix/isatty.c: Likewise. + * sysdeps/posix/killpg.c: Likewise. + * sysdeps/posix/mk-stdiolim.c: Likewise. + * sysdeps/posix/profil.c: Likewise. + * sysdeps/posix/remove.c: Likewise. + * sysdeps/posix/rename.c: Likewise. + * sysdeps/posix/sigsuspend.c: Likewise. + * sysdeps/posix/tempname.c: Likewise. + * sysdeps/posix/truncate.c: Likewise. + * sysdeps/posix/utimes.c: Likewise. + * sysdeps/posix/wait.c: Likewise. + * sysdeps/posix/wait3.c: Likewise. + * sysdeps/rs6000/memcopy.h: Likewise. + * sysdeps/sparc/memcopy.h: Likewise. + * sysdeps/standalone/close.c: Likewise. + * sysdeps/standalone/dirstream.h: Likewise. + * sysdeps/standalone/filedesc.h: Likewise. + * sysdeps/standalone/open.c: Likewise. + * sysdeps/standalone/read.c: Likewise. + * sysdeps/standalone/standalone.h: Likewise. + * sysdeps/standalone/write.c: Likewise. + * sysdeps/standalone/bits/stdio_lim.h: Likewise. + * sysdeps/standalone/i386/i386.h: Likewise. + * sysdeps/standalone/m68k/m68020/m68020.h: Likewise. + * sysdeps/stub/__longjmp.c: Likewise. + * sysdeps/stub/accept.c: Likewise. + * sysdeps/stub/access.c: Likewise. + * sysdeps/stub/acct.c: Likewise. + * sysdeps/stub/adjtime.c: Likewise. + * sysdeps/stub/alarm.c: Likewise. + * sysdeps/stub/bind.c: Likewise. + * sysdeps/stub/brk.c: Likewise. + * sysdeps/stub/bsd-_setjmp.c: Likewise. + * sysdeps/stub/bsd-setjmp.c: Likewise. + * sysdeps/stub/chdir.c: Likewise. + * sysdeps/stub/chflags.c: Likewise. + * sysdeps/stub/chmod.c: Likewise. + * sysdeps/stub/chown.c: Likewise. + * sysdeps/stub/chroot.c: Likewise. + * sysdeps/stub/clock.c: Likewise. + * sysdeps/stub/close.c: Likewise. + * sysdeps/stub/closedir.c: Likewise. + * sysdeps/stub/connect.c: Likewise. + * sysdeps/stub/ctermid.c: Likewise. + * sysdeps/stub/cuserid.c: Likewise. + * sysdeps/stub/dbl2mpn.c: Likewise. + * sysdeps/stub/dirstream.h: Likewise. + * sysdeps/stub/dup.c: Likewise. + * sysdeps/stub/dup2.c: Likewise. + * sysdeps/stub/exc2signal.c: Likewise. + * sysdeps/stub/execve.c: Likewise. + * sysdeps/stub/fchflags.c: Likewise. + * sysdeps/stub/fchown.c: Likewise. + * sysdeps/stub/fcntl.c: Likewise. + * sysdeps/stub/fdopen.c: Likewise. + * sysdeps/stub/fexecve.c: Likewise. + * sysdeps/stub/flock.c: Likewise. + * sysdeps/stub/fork.c: Likewise. + * sysdeps/stub/fpathconf.c: Likewise. + * sysdeps/stub/fpu_control.h: Likewise. + * sysdeps/stub/fstatfs.c: Likewise. + * sysdeps/stub/fsync.c: Likewise. + * sysdeps/stub/ftruncate.c: Likewise. + * sysdeps/stub/fxstat.c: Likewise. + * sysdeps/stub/getcwd.c: Likewise. + * sysdeps/stub/getdomain.c: Likewise. + * sysdeps/stub/getdtsz.c: Likewise. + * sysdeps/stub/getegid.c: Likewise. + * sysdeps/stub/geteuid.c: Likewise. + * sysdeps/stub/getgid.c: Likewise. + * sysdeps/stub/getgroups.c: Likewise. + * sysdeps/stub/gethostid.c: Likewise. + * sysdeps/stub/gethostname.c: Likewise. + * sysdeps/stub/getitimer.c: Likewise. + * sysdeps/stub/getpeername.c: Likewise. + * sysdeps/stub/getpgid.c: Likewise. + * sysdeps/stub/getpid.c: Likewise. + * sysdeps/stub/getppid.c: Likewise. + * sysdeps/stub/getpriority.c: Likewise. + * sysdeps/stub/getrlimit.c: Likewise. + * sysdeps/stub/getrusage.c: Likewise. + * sysdeps/stub/getsid.c: Likewise. + * sysdeps/stub/getsockname.c: Likewise. + * sysdeps/stub/getsockopt.c: Likewise. + * sysdeps/stub/getsysstats.c: Likewise. + * sysdeps/stub/gettimeofday.c: Likewise. + * sysdeps/stub/getuid.c: Likewise. + * sysdeps/stub/gtty.c: Likewise. + * sysdeps/stub/if_index.c: Likewise. + * sysdeps/stub/init-posix.c: Likewise. + * sysdeps/stub/ioctl.c: Likewise. + * sysdeps/stub/isatty.c: Likewise. + * sysdeps/stub/isfdtype.c: Likewise. + * sysdeps/stub/jmp-unwind.c: Likewise. + * sysdeps/stub/kill.c: Likewise. + * sysdeps/stub/killpg.c: Likewise. + * sysdeps/stub/ldbl2mpn.c: Likewise. + * sysdeps/stub/link.c: Likewise. + * sysdeps/stub/listen.c: Likewise. + * sysdeps/stub/lockfile.c: Likewise. + * sysdeps/stub/longjmp-ts.c: Likewise. + * sysdeps/stub/lseek.c: Likewise. + * sysdeps/stub/lxstat.c: Likewise. + * sysdeps/stub/machine-lock.h: Likewise. + * sysdeps/stub/machine-sp.h: Likewise. + * sysdeps/stub/madvise.c: Likewise. + * sysdeps/stub/mkdir.c: Likewise. + * sysdeps/stub/mkfifo.c: Likewise. + * sysdeps/stub/mmap.c: Likewise. + * sysdeps/stub/morecore.c: Likewise. + * sysdeps/stub/mpn2dbl.c: Likewise. + * sysdeps/stub/mpn2flt.c: Likewise. + * sysdeps/stub/mpn2ldbl.c: Likewise. + * sysdeps/stub/mprotect.c: Likewise. + * sysdeps/stub/msgctl.c: Likewise. + * sysdeps/stub/msgget.c: Likewise. + * sysdeps/stub/msgrcv.c: Likewise. + * sysdeps/stub/msgsnd.c: Likewise. + * sysdeps/stub/munmap.c: Likewise. + * sysdeps/stub/nanosleep.c: Likewise. + * sysdeps/stub/nice.c: Likewise. + * sysdeps/stub/nlist.c: Likewise. + * sysdeps/stub/open.c: Likewise. + * sysdeps/stub/opendir.c: Likewise. + * sysdeps/stub/pathconf.c: Likewise. + * sysdeps/stub/pause.c: Likewise. + * sysdeps/stub/pipestream.c: Likewise. + * sysdeps/stub/poll.c: Likewise. + * sysdeps/stub/profil.c: Likewise. + * sysdeps/stub/ptrace.c: Likewise. + * sysdeps/stub/putenv.c: Likewise. + * sysdeps/stub/read.c: Likewise. + * sysdeps/stub/readdir.c: Likewise. + * sysdeps/stub/readdir_r.c: Likewise. + * sysdeps/stub/readlink.c: Likewise. + * sysdeps/stub/reboot.c: Likewise. + * sysdeps/stub/recv.c: Likewise. + * sysdeps/stub/recvfrom.c: Likewise. + * sysdeps/stub/recvmsg.c: Likewise. + * sysdeps/stub/remove.c: Likewise. + * sysdeps/stub/rename.c: Likewise. + * sysdeps/stub/revoke.c: Likewise. + * sysdeps/stub/rewinddir.c: Likewise. + * sysdeps/stub/rmdir.c: Likewise. + * sysdeps/stub/sbrk.c: Likewise. + * sysdeps/stub/sched_getp.c: Likewise. + * sysdeps/stub/sched_gets.c: Likewise. + * sysdeps/stub/sched_primax.c: Likewise. + * sysdeps/stub/sched_primin.c: Likewise. + * sysdeps/stub/sched_rr_gi.c: Likewise. + * sysdeps/stub/sched_setp.c: Likewise. + * sysdeps/stub/sched_sets.c: Likewise. + * sysdeps/stub/sched_yield.c: Likewise. + * sysdeps/stub/seekdir.c: Likewise. + * sysdeps/stub/select.c: Likewise. + * sysdeps/stub/semctl.c: Likewise. + * sysdeps/stub/semget.c: Likewise. + * sysdeps/stub/semop.c: Likewise. + * sysdeps/stub/send.c: Likewise. + * sysdeps/stub/sendmsg.c: Likewise. + * sysdeps/stub/sendto.c: Likewise. + * sysdeps/stub/setdomain.c: Likewise. + * sysdeps/stub/setegid.c: Likewise. + * sysdeps/stub/setenv.c: Likewise. + * sysdeps/stub/seteuid.c: Likewise. + * sysdeps/stub/setgid.c: Likewise. + * sysdeps/stub/setgroups.c: Likewise. + * sysdeps/stub/sethostid.c: Likewise. + * sysdeps/stub/sethostname.c: Likewise. + * sysdeps/stub/setjmp.c: Likewise. + * sysdeps/stub/setlogin.c: Likewise. + * sysdeps/stub/setpgid.c: Likewise. + * sysdeps/stub/setpriority.c: Likewise. + * sysdeps/stub/setregid.c: Likewise. + * sysdeps/stub/setreuid.c: Likewise. + * sysdeps/stub/setrlimit.c: Likewise. + * sysdeps/stub/setsid.c: Likewise. + * sysdeps/stub/setsockopt.c: Likewise. + * sysdeps/stub/settimeofday.c: Likewise. + * sysdeps/stub/setuid.c: Likewise. + * sysdeps/stub/shmctl.c: Likewise. + * sysdeps/stub/shmget.c: Likewise. + * sysdeps/stub/shutdown.c: Likewise. + * sysdeps/stub/sigaction.c: Likewise. + * sysdeps/stub/sigaltstack.c: Likewise. + * sysdeps/stub/sigblock.c: Likewise. + * sysdeps/stub/sigintr.c: Likewise. + * sysdeps/stub/sigpending.c: Likewise. + * sysdeps/stub/sigprocmask.c: Likewise. + * sysdeps/stub/sigreturn.c: Likewise. + * sysdeps/stub/sigsetmask.c: Likewise. + * sysdeps/stub/sigstack.c: Likewise. + * sysdeps/stub/sigsuspend.c: Likewise. + * sysdeps/stub/sigvec.c: Likewise. + * sysdeps/stub/socket.c: Likewise. + * sysdeps/stub/socketpair.c: Likewise. + * sysdeps/stub/sstk.c: Likewise. + * sysdeps/stub/statfs.c: Likewise. + * sysdeps/stub/stdio_init.c: Likewise. + * sysdeps/stub/stime.c: Likewise. + * sysdeps/stub/stty.c: Likewise. + * sysdeps/stub/swapoff.c: Likewise. + * sysdeps/stub/swapon.c: Likewise. + * sysdeps/stub/symlink.c: Likewise. + * sysdeps/stub/sync.c: Likewise. + * sysdeps/stub/syscall.c: Likewise. + * sysdeps/stub/sysd-stdio.c: Likewise. + * sysdeps/stub/system.c: Likewise. + * sysdeps/stub/tcdrain.c: Likewise. + * sysdeps/stub/tcflow.c: Likewise. + * sysdeps/stub/tcflush.c: Likewise. + * sysdeps/stub/tcgetattr.c: Likewise. + * sysdeps/stub/tcgetpgrp.c: Likewise. + * sysdeps/stub/tcsendbrk.c: Likewise. + * sysdeps/stub/tcsetpgrp.c: Likewise. + * sysdeps/stub/telldir.c: Likewise. + * sysdeps/stub/thread_state.h: Likewise. + * sysdeps/stub/time.c: Likewise. + * sysdeps/stub/times.c: Likewise. + * sysdeps/stub/trampoline.c: Likewise. + * sysdeps/stub/truncate.c: Likewise. + * sysdeps/stub/ttyname.c: Likewise. + * sysdeps/stub/ttyname_r.c: Likewise. + * sysdeps/stub/ualarm.c: Likewise. + * sysdeps/stub/ulimit.c: Likewise. + * sysdeps/stub/umask.c: Likewise. + * sysdeps/stub/unlink.c: Likewise. + * sysdeps/stub/usleep.c: Likewise. + * sysdeps/stub/ustat.c: Likewise. + * sysdeps/stub/utime.c: Likewise. + * sysdeps/stub/utimes.c: Likewise. + * sysdeps/stub/vdprintf.c: Likewise. + * sysdeps/stub/vhangup.c: Likewise. + * sysdeps/stub/wait.c: Likewise. + * sysdeps/stub/wait3.c: Likewise. + * sysdeps/stub/wait4.c: Likewise. + * sysdeps/stub/waitpid.c: Likewise. + * sysdeps/stub/write.c: Likewise. + * sysdeps/stub/xmknod.c: Likewise. + * sysdeps/stub/xstat.c: Likewise. + * sysdeps/stub/bits/errno.h: Likewise. + * sysdeps/stub/bits/sigcontext.h: Likewise. + * sysdeps/unix/fxstat.c: Likewise. + * sysdeps/unix/mk-local_lim.c: Likewise. + * sysdeps/unix/mkdir.c: Likewise. + * sysdeps/unix/nice.c: Likewise. + * sysdeps/unix/rmdir.c: Likewise. + * sysdeps/unix/stime.c: Likewise. + * sysdeps/unix/telldir.c: Likewise. + * sysdeps/unix/xstat.c: Likewise. + * sysdeps/unix/arm/sysdep.h: Likewise. + * sysdeps/unix/bsd/ftime.c: Likewise. + * sysdeps/unix/bsd/isatty.c: Likewise. + * sysdeps/unix/bsd/setegid.c: Likewise. + * sysdeps/unix/bsd/seteuid.c: Likewise. + * sysdeps/unix/bsd/setsid.c: Likewise. + * sysdeps/unix/bsd/sigaction.c: Likewise. + * sysdeps/unix/bsd/sigprocmask.c: Likewise. + * sysdeps/unix/bsd/tcgetattr.c: Likewise. + * sysdeps/unix/bsd/tcsetattr.c: Likewise. + * sysdeps/unix/bsd/times.c: Likewise. + * sysdeps/unix/bsd/ulimit.c: Likewise. + * sysdeps/unix/bsd/bits/dirent.h: Likewise. + * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Likewise. + * sysdeps/unix/bsd/bsd4.4/wait.c: Likewise. + * sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise. + * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise. + * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise. + * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise. + * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise. + * sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise. + * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise. + * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise. + * sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise. + * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise. + * sysdeps/unix/bsd/sun/sunos4/mmap.c: Likewise. + * sysdeps/unix/bsd/sun/sunos4/speed.c: Likewise. + * sysdeps/unix/bsd/ultrix4/sysconf.c: Likewise. + * sysdeps/unix/bsd/ultrix4/bits/posix_opt.h: Likewise. + * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise. + * sysdeps/unix/bsd/vax/sysdep.h: Likewise. + * sysdeps/unix/common/lxstat.c: Likewise. + * sysdeps/unix/common/tcsendbrk.c: Likewise. + * sysdeps/unix/common/bits/dirent.h: Likewise. + * sysdeps/unix/i386/sysdep.h: Likewise. + * sysdeps/unix/mips/sysdep.h: Likewise. + * sysdeps/unix/sysv/setrlimit.c: Likewise. + * sysdeps/unix/sysv/settimeofday.c: Likewise. + * sysdeps/unix/sysv/sigaction.c: Likewise. + * sysdeps/unix/sysv/sysv_termio.h: Likewise. + * sysdeps/unix/sysv/tcdrain.c: Likewise. + * sysdeps/unix/sysv/tcflow.c: Likewise. + * sysdeps/unix/sysv/tcflush.c: Likewise. + * sysdeps/unix/sysv/tcgetattr.c: Likewise. + * sysdeps/unix/sysv/tcsendbrk.c: Likewise. + * sysdeps/unix/sysv/tcsetattr.c: Likewise. + * sysdeps/unix/sysv/bits/dirent.h: Likewise. + * sysdeps/unix/sysv/irix4/getpriority.c: Likewise. + * sysdeps/unix/sysv/irix4/setpriority.c: Likewise. + * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise. + * sysdeps/unix/sysv/linux/adjtime.c: Likewise. + * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise. + * sysdeps/unix/sysv/linux/gethostname.c: Likewise. + * sysdeps/unix/sysv/linux/if_index.c: Likewise. + * sysdeps/unix/sysv/linux/ptrace.c: Likewise. + * sysdeps/unix/sysv/linux/reboot.c: Likewise. + * sysdeps/unix/sysv/linux/speed.c: Likewise. + * sysdeps/unix/sysv/linux/sysctl.c: Likewise. + * sysdeps/unix/sysv/linux/tcdrain.c: Likewise. + * sysdeps/unix/sysv/linux/ulimit.c: Likewise. + * sysdeps/unix/sysv/linux/waitpid.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Likewise. + * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise. + * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise. + * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise. + * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/sysv4/sigaction.c: Likewise. + * sysdeps/unix/sysv/sysv4/siginfo.h: Likewise. + * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise. + * sysdeps/unix/sysv/sysv4/sysconfig.h: Likewise. + * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise. + * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/sysv4/i386/sysdep.h: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise. + * sysdeps/vax/fl.h: Likewise. + * sysdeps/vax/setjmp.c: Likewise. + +1997-06-21 16:58 Andreas Schwab + + * stdlib/strtod.c (INTERNAL (STRTOF)): Fix recognition of Infinity + and NaN strings. + +1997-06-20 21:52 Andreas Schwab + + * sysdeps/m68k/fpu/bits/mathinline.h (__scalbn): Fix type of second argument. - * pwd/fgetpwent_r.c: Likewise. - * spwd/fgetspent_r.c: Likewise. - * spwd/sgetspent_r.c: Likewise. - * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument. - Store error number in *ERRNOP. Little optimization. - * hesiod/nss_hesiod/hesiod-pwd.c: Likewise. - * hesiod/nss_hesiod/hesiod-service.c: Likewise. - * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise. - (__internal_getnetgrent_r): New argument. - Call __internal_setnetgrent_reuse with new argument. - (__getnetgrent_r): Call __internal_getnetgrent_r with new argument. - * inet/netgroup.h: Add argument to prototypes. - * nis/nisplus-parser.h: Likewise. - * nis/nss_compat/compat-grp.c: Change everything to store error - code through provided pointer and not use errno. + (__ilogb): Remove special case for zero, add stupid special case + for NaN. + (__ieee754_scalb): Remove definition. + * sysdeps/m68k/fpu/mathbits.h (FP_ILOGB0, FP_ILOGBNAN): Define. + * sysdeps/m68k/fpu/s_scalbn.c: Fix type of second argument. + + * sysdeps/m68k/fpu/e_scalb.c: Rewritten. + * sysdeps/m68k/fpu/e_scalbf.c: Adapted. + * sysdeps/m68k/fpu/e_scalbl.c: Adapted. + + * sysdeps/libm-ieee754/e_scalb.c: Raise no exceptions when + returning NaN. Handle zero specially. + * sysdeps/libm-ieee754/e_scalbf.c: Likewise. + * sysdeps/libm-ieee754/e_scalbl.c: Likewise. + + * math/libm-test.c (ilogb_test): Don't require exceptions for zero + and NaN. + (gamma_test): Use different argument when checking whether + function is implemented. + (scalb_test): Remove duplicate tests. + +1997-06-03 15:59 Andreas Schwab + + * Makerules (+depfiles): Add dependencies for $(test-srcs). + (distinfo-vars): Add test-srcs. + +1997-06-21 17:35 Ulrich Drepper + + * argp/argp.h: Remove extra #endif. Pretty print. + * md5-crypt/md5.h: Likewise. + + * ctype/ctype.h: Don't use but . + * wctype/wctype.h: Likewise. + + * sysdeps/unix/sysv/linux/Makefile: Build stdio_lim.h in correct + directory. + + * sysdeps/libm-i387/s_ilogb.S: Add fwait to ensure we get the result. + * sysdeps/libm-i387/s_ilogbf.S: Likewise. + * sysdeps/libm-i387/s_ilogbl.S: Likewise. + * sysdeps/libm-i387/s_lrint.S: Likewise. + * sysdeps/libm-i387/s_llrint.S: Likewise. + +1997-06-21 02:48 Ulrich Drepper + + * config.h.in: Add DO_STATIC_NSS. + * config.make.in: Add build-static-nss. + + * elf/eval.c: Use __getdelim instead of __getline. + + * locale/programs/locale.c: Correct comment. + + * manual/libc.texinfo: Update copyright and date. + Remove A4 option. + + * sysdeps/libm-ieee754/k_standard.c: Always return HUGE_VAL + for gamma overflow. + * sysdeps/libm-ieee754/w_gamma.c: Handle SVID and ISO C behaviour. + * sysdeps/libm-ieee754/w_gammaf.c: Likewise. + * sysdeps/libm-ieee754/w_gammalp.c: Likewise. + + * po/ko.po: Update. + +1997-06-13 10:06 Richard Henderson + + The Great Bit File Move: + * configure.in (AC_INIT): Look in include/ for features.h. + (sysnames): Add include as the final search directory. + (AC_OUTPUT): Create a bits directory in the build directory. + * Makeconfig (CPPFLAGS): Look in include/ for libc-symbols.h. + * Makefile: Make sure the target directory exists when installing + and . + * csu/Makefile: Use $(compile.S) and $(compile.c) instead of + invoking $(CC) directly, as the former have the full include path. + + * ansidecl.h: Removed. + + * aliases.h: Moved to include/. + * alloca.h: Likewise. + * argp.h: Likewise. + * argz.h: Likewise. + * arpa/ftp.h: Likewise. + * arpa/inet.h: Likewise. + * arpa/nameser.h: Likewise. + * arpa/telnet.h: Likewise. + * arpa/tftp.h: Likewise. + * assert.h: Likewise. + * ctype.h: Likewise. + * db.h: Likewise. + * dirent.h: Likewise. + * dlfcn.h: Likewise. + * elf.h: Likewise. + * endian.h: Likewise. + * envz.h: Likewise. + * err.h: Likewise. + * errno.h: Likewise. + * error.h: Likewise. + * fcntl.h: Likewise. + * features.h: Likewise. + * fnmatch.h: Likewise. + * ftw.h: Likewise. + * getopt.h: Likewise. + * glob.h: Likewise. + * gnu-versions.h: Likewise. + * grp.h: Likewise. + * langinfo.h: Likewise. + * libc-symbols.h: Likewise. + * libgen.h: Likewise. + * libintl.h: Likewise. + * limits.h: Likewise. + * linewrap.h: Likewise. + * link.h: Likewise. + * locale.h: Likewise. + * malloc.h: Likewise. + * math.h: Likewise. + * mathcalls.h: Likewise. + * mcheck.h: Likewise. + * memory.h: Likewise. + * netdb.h: Likewise. + * netgroup.h: Likewise. + * netinet/ether.h: Likewise. + * netinet/in.h: Likewise. + * nlist.h: Likewise. + * nss.h: Likewise. + * nsswitch.h: Likewise. + * obstack.h: Likewise. + * poll.h: Likewise. + * posix1_lim.h: Likewise. + * posix2_lim.h: Likewise. + * printf.h: Likewise. + * protocols/routed.h: Likewise. + * protocols/rwhod.h: Likewise. + * protocols/talkd.h: Likewise. + * protocols/timed.h: Likewise. + * pwd.h: Likewise. + * regex.h: Likewise. + * resolv.h: Likewise. + * rpc/auth_unix.h: Likewise. + * rpc/clnt.h: Likewise. + * rpc/netdb.h: Likewise. + * rpc/pmap_clnt.h: Likewise. + * rpc/pmap_prot.h: Likewise. + * rpc/pmap_rmt.h: Likewise. + * rpc/rpc.h: Likewise. + * rpc/rpc_msg.h: Likewise. + * rpc/svc.h: Likewise. + * rpc/svc_auth.h: Likewise. + * rpc/types.h: Likewise. + * rpc/xdr.h: Likewise. + * sched.h: Likewise. + * search.h: Likewise. + * set-hooks.h: Likewise. + * setjmp.h: Likewise. + * sgtty.h: Likewise. + * shadow.h: Likewise. + * signal.h: Likewise. + * stab.def: Likewise. + * stab.h: Likewise. + * stdio.h: Likewise. + * stdlib.h: Likewise. + * string.h: Likewise. + * strings.h: Likewise. + * sys/bitypes.h: Likewise. + * sys/cdefs.h: Likewise. + * sys/dir.h: Likewise. + * sys/errno.h: Likewise. + * sys/fcntl.h: Likewise. + * sys/file.h: Likewise. + * sys/gmon.h: Likewise. + * sys/ioctl.h: Likewise. + * sys/ipc.h: Likewise. + * sys/msg.h: Likewise. + * sys/poll.h: Likewise. + * sys/queue.h: Likewise. + * sys/resource.h: Likewise. + * sys/select.h: Likewise. + * sys/sem.h: Likewise. + * sys/shm.h: Likewise. + * sys/signal.h: Likewise. + * sys/socket.h: Likewise. + * sys/stat.h: Likewise. + * sys/statfs.h: Likewise. + * sys/syslog.h: Likewise. + * sys/termios.h: Likewise. + * sys/time.h: Likewise. + * sys/timeb.h: Likewise. + * sys/times.h: Likewise. + * sys/types.h: Likewise. + * sys/uio.h: Likewise. + * sys/un.h: Likewise. + * sys/unistd.h: Likewise. + * sys/utsname.h: Likewise. + * sys/vlimit.h: Likewise. + * sys/vtimes.h: Likewise. + * sys/wait.h: Likewise. + * syscall.h: Likewise. + * syslog.h: Likewise. + * tar.h: Likewise. + * termios.h: Likewise. + * time.h: Likewise. + * ttyent.h: Likewise. + * unistd.h: Likewise. + * utime.h: Likewise. + * utmp.h: Likewise. + * values.h: Likewise. + * wchar.h: Likewise. + * wctype.h: Likewise. + * wordexp.h: Likewise. + * xlocale.h: Likewise. + * xopen_lim.h: Likewise. + + * sysdeps/mach/libc-lock.h: Likewise. + * sysdeps/stub/libc-lock.h: Likewise. + * sysdeps/mach/hurd/local_lim.h: Likewise. + * sysdeps/stub/local_lim.h: Likewise. + * sysdeps/unix/sysv/linux/local_lim.h: Likewise. + * sysdeps/unix/sysv/local_lim.h: Likewise. + * sysdeps/unix/sysv/sco3.2/local_lim.h: Likewise. + * sysdeps/mach/hurd/posix_opt.h: Likewise. + * sysdeps/stub/posix_opt.h: Likewise. + * sysdeps/unix/bsd/posix_opt.h: Likewise. + * sysdeps/unix/bsd/ultrix4/posix_opt.h: Likewise. + * sysdeps/unix/sysv/linux/posix_opt.h: Likewise. + * math/cmathcalls.h: -> bits/ + * math/mathcalls.h: Likewise. + * misc/stab.def: -> bits/ + * posix/posix1_lim.h: -> bits/ + * posix/posix2_lim.h: Likewise. + * sysdeps/alpha/__math.h: -> .../fpu/bits/mathinline.h + * sysdeps/i386/fpu/__math.h: Likewise. + * sysdeps/m68k/fpu/__math.h: Likewise. + * sysdeps/m68k/fpu/switch/__math.h: Likewise. + * sysdeps/powerpc/__math.h: Likewise. + * sysdeps/stub/__math.h: Likewise. + * sysdeps/alpha/bytesex.h: -> .../bits/endian.h + * sysdeps/arm/bytesex.h: Likewise. + * sysdeps/i386/bytesex.h: Likewise. + * sysdeps/m68k/bytesex.h: Likewise. + * sysdeps/mips/bytesex.h: Likewise. + * sysdeps/mips/dec/bytesex.h: Likewise. + * sysdeps/mips/mipsel/bytesex.h: Likewise. + * sysdeps/mips/p40/bytesex.h: Likewise. + * sysdeps/sparc/bytesex.h: Likewise. + * sysdeps/stub/bytesex.h: Likewise. + * sysdeps/alpha/fpu/fenvbits.h: -> .../bits/fenv.h + * sysdeps/i386/fpu/fenvbits.h: Likewise. + * sysdeps/m68k/fpu/fenvbits.h: Likewise. + * sysdeps/powerpc/fenvbits.h: Likewise. + * sysdeps/stub/fenvbits.h: Likewise. + * sysdeps/alpha/jmp_buf.h: -> .../bits/setenv.h + * sysdeps/arm/jmp_buf.h: Likewise. + * sysdeps/i386/jmp_buf.h: Likewise. + * sysdeps/m68k/jmp_buf.h: Likewise. + * sysdeps/mips/jmp_buf.h: Likewise. + * sysdeps/sparc/jmp_buf.h: Likewise. + * sysdeps/powerpc/jmp_buf.h: Likewise. + * sysdeps/stub/jmp_buf.h: Likewise. + * sysdeps/vax/jmp_buf.h: Likewise. + * sysdeps/generic/confname.h: -> bits/ + * sysdeps/unix/sysv/irix4/confname.h: Likewise. + * sysdeps/unix/sysv/sco3.2.4/confname.h: Likewise. + * sysdeps/generic/gnu/types.h: -> ../bits/types.h + * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Likewise. + * sysdeps/unix/sysv/linux/gnu/types.h: Likewise. + * sysdeps/generic/ioctl-types.h: -> bits/ + * sysdeps/unix/sysv/linux/ioctl-types.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/ioctl-types.h: Likewise. + * sysdeps/generic/iovec.h: -> .../bits/uio.h + * sysdeps/unix/sysv/linux/iovec.h: Likewise. + * sysdeps/generic/mathbits.h: -> .../bits/mathdef.h + * sysdeps/i386/fpu/mathbits.h: Likewise. + * sysdeps/m68k/fpu/mathbits.h: Likewise. + * sysdeps/powerpc/mathbits.h: Likewise. + * sysdeps/generic/resourcebits.h: -> .../bits/resource.h + * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Likewise. + * sysdeps/unix/sysv/linux/resourcebits.h: Likewise. + * sysdeps/generic/schedbits.h: -> .../bits/sched.h + * sysdeps/unix/sysv/linux/schedbits.h: Likewise. + * sysdeps/generic/selectbits.h: -> .../bits/select.h + * sysdeps/i386/selectbits.h: Likewise. + * sysdeps/generic/sigaction.h: -> bits/ + * sysdeps/unix/bsd/osf/sigaction.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/sigaction.h: Likewise. + * sysdeps/unix/sysv/linux/sigaction.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sigaction.h: Likewise. + * sysdeps/unix/sysv/minix/sigaction.h: Likewise. + * sysdeps/unix/sysv/sco3.2.4/sigaction.h: Likewise. + * sysdeps/unix/sysv/sysv4/sigaction.h: Likewise. + * sysdeps/generic/sigset.h: -> bits/ + * sysdeps/unix/sysv/linux/sigset.h: Likewise. + * sysdeps/unix/sysv/sysv4/sigset.h: Likewise. + * sysdeps/generic/sockaddrcom.h: -> .../bits/sockaddr.h + * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise. + * sysdeps/generic/socketbits.h: -> .../bits/socket.h + * sysdeps/unix/sysv/linux/socketbits.h: Likewise. + * sysdeps/generic/statfsbuf.h: -> .../bits/statfs.h + * sysdeps/unix/sysv/linux/statfsbuf.h: Likewise. + * sysdeps/generic/termbits.h: -> .../bits/termios.h + * sysdeps/unix/bsd/sun/sunos4/termbits.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/termbits.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/termbits.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/termbits.h: Likewise. + * sysdeps/unix/sysv/linux/termbits.h: Likewise. + * sysdeps/generic/ustatbits.h: -> .../bits/ustat.h + * sysdeps/unix/sysv/linux/ustatbits.h: Likewise. + * sysdeps/generic/utmpbits.h: -> .../bits/utmp.h + * sysdeps/gnu/utmpbits.h: Likewise. + * sysdeps/unix/sysv/utmpbits.h: Likewise. + * sysdeps/generic/utsnamelen.h: -> .../bits/utsname.h + * sysdeps/unix/bsd/sun/sunos4/utsnamelen.h: Likewise. + * sysdeps/unix/bsd/ultrix4/utsnamelen.h: Likewise. + * sysdeps/unix/sysv/linux/utsnamelen.h: Likewise. + * sysdeps/unix/sysv/sysv4/utsnamelen.h: Likewise. + * sysdeps/unix/sysv/utsnamelen.h: Likewise. + * sysdeps/generic/waitstatus.h: -> bits/ + * sysdeps/i386/huge_val.h: -> bits/ + * sysdeps/ieee754/huge_val.h: Likewise. + * sysdeps/m68k/huge_val.h: Likewise. + * sysdeps/stub/huge_val.h: Likewise. + * sysdeps/vax/huge_val.h: Likewise. + * sysdeps/ieee754/nan.h: Likewise. + * sysdeps/stub/nan.h: Likewise. + * sysdeps/mach/hurd/alpha/sigcontext.h: -> bits/ + * sysdeps/mach/hurd/hppa/sigcontext.h: Likewise. + * sysdeps/mach/hurd/i386/sigcontext.h: Likewise. + * sysdeps/mach/hurd/mips/sigcontext.h: Likewise. + * sysdeps/stub/sigcontext.h: Likewise. + * sysdeps/unix/bsd/sun/m68k/sigcontext.h: Likewise. + * sysdeps/unix/bsd/sun/sparc/sigcontext.h: Likewise. + * sysdeps/unix/bsd/ultrix4/mips/sigcontext.h: Likewise. + * sysdeps/unix/sysv/linux/sigcontext.h: Likewise. + * sysdeps/mach/hurd/errnos.h: -> .../bits/errno.h + * sysdeps/standalone/arm/errnos.h: Likewise. + * sysdeps/stub/errnos.h: Likewise. + * sysdeps/unix/bsd/bsd4.4/errnos.h: Likewise. + * sysdeps/unix/sysv/linux/errnos.h: Likewise. + * sysdeps/mach/hurd/fcntlbits.h: -> .../bits/fcntl.h + * sysdeps/stub/fcntlbits.h: Likewise. + * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: Likewise. + * sysdeps/unix/bsd/fcntlbits.h: Likewise. + * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: Likewise. + * sysdeps/unix/bsd/ultrix4/fcntlbits.h: Likewise. + * sysdeps/unix/common/fcntlbits.h: Likewise. + * sysdeps/unix/sysv/fcntlbits.h: Likewise. + * sysdeps/unix/sysv/irix4/fcntlbits.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Likewise. + * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/fcntlbits.h: Likewise. + * sysdeps/mach/hurd/ioctls.h: -> bits/ + * sysdeps/stub/ioctls.h: Likewise. + * sysdeps/unix/bsd/bsd4.4/ioctls.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/ioctls.h: Likewise. + * sysdeps/unix/sysv/linux/ioctls.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/ioctls.h: Likewise. + * sysdeps/mach/hurd/statbuf.h: -> .../bits/stat.h + * sysdeps/stub/statbuf.h: Likewise. + * sysdeps/unix/bsd/osf/alpha/statbuf.h: Likewise. + * sysdeps/unix/bsd/statbuf.h: Likewise. + * sysdeps/unix/sysv/irix4/statbuf.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise. + * sysdeps/unix/sysv/linux/statbuf.h: Likewise. + * sysdeps/unix/sysv/statbuf.h: Likewise. + * sysdeps/unix/sysv/sysv4/i386/statbuf.h: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h: Likewise. + * sysdeps/standalone/stdio_lim.h: -> bits/ + * sysdeps/stub/stdio_lim.h: Likewise. + * sysdeps/stub/direntry.h: -> ../bits/dirent.h + * sysdeps/unix/bsd/bsd4.4/direntry.h: Likewise. + * sysdeps/unix/bsd/direntry.h: Likewise. + * sysdeps/unix/common/direntry.h: Likewise. + * sysdeps/unix/sysv/direntry.h: Likewise. + * sysdeps/unix/sysv/linux/direntry.h: Likewise. + * sysdeps/stub/elfclass.h: -> bits/ + * sysdeps/wordsize-32/elfclass.h: Likewise. + * sysdeps/wordsize-64/elfclass.h: Likewise. + * sysdeps/stub/signum.h: -> bits/ + * sysdeps/unix/bsd/signum.h: Likewise. + * sysdeps/unix/bsd/sun/signum.h: Likewise. + * sysdeps/unix/sysv/irix4/signum.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/signum.h: Likewise. + * sysdeps/unix/sysv/linux/signum.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/signum.h: Likewise. + * sysdeps/unix/sysv/signum.h: Likewise. + * sysdeps/unix/sysv/sysv4/signum.h: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/signum.h: Likewise. + * sysdeps/stub/sys/ipc_buf.h: -> .../bits/ipc.h + * sysdeps/unix/sysv/linux/alpha/sys/ipc_buf.h: Likewise. + * sysdeps/unix/sysv/linux/sys/ipc_buf.h: Likewise. + * sysdeps/stub/sys/msq_buf.h: -> .../bits/msq.h + * sysdeps/unix/sysv/linux/sys/msq_buf.h: Likewise. + * sysdeps/stub/sys/sem_buf.h: -> .../bits/sem.h + * sysdeps/unix/sysv/linux/sys/sem_buf.h: Likewise. + * sysdeps/stub/sys/shm_buf.h: -> .../bits/shm.h + * sysdeps/unix/sysv/linux/sys/shm_buf.h: Likewise. + * sysdeps/stub/timebits.h: -> .../bits/time.h + * sysdeps/unix/sysv/linux/alpha/timebits.h: Likewise. + * sysdeps/unix/sysv/linux/timebits.h: Likewise. + * sysdeps/stub/waitflags.h: -> bits/ + * sysdeps/unix/bsd/waitflags.h: Likewise. + * sysdeps/unix/sysv/linux/waitflags.h: Likewise. + * sysdeps/unix/sysv/sysv4/waitflags.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/sys/kernel_termios.h: -> ../ + * sysdeps/unix/sysv/linux/powerpc/sys/kernel_termios.h: Likewise. + * sysdeps/unix/sysv/linux/sys/kernel_termios.h: Likewise. + * sysdeps/unix/sysv/linux/sys/socketcall.h: -> ../ + + * argp/argp-fmtstream.h: Standardize the multiple-include protect. + * argp/argp.h: Likewise. + * catgets/nl_types.h: Likewise. + * crypt/sysdeps/unix/crypt.h: Likewise. + * ctype/ctype.h: Likewise. + * db/db.h: Likewise. + * db/mpool.h: Likewise. + * db/ndbm.h: Likewise. + * dirent/dirent.h: Likewise. + * elf/dlfcn.h: Likewise. + * elf/elf.h: Likewise. + * elf/link.h: Likewise. + * gmon/sys/gmon.h: Likewise. + * gmon/sys/gmon_out.h: Likewise. + * grp/grp.h: Likewise. + * inet/aliases.h: Likewise. + * inet/arpa/ftp.h: Likewise. + * inet/arpa/inet.h: Likewise. + * inet/arpa/telnet.h: Likewise. + * inet/arpa/tftp.h: Likewise. + * inet/netinet/ether.h: Likewise. + * inet/netinet/icmp6.h: Likewise. + * inet/netinet/in.h: Likewise. + * inet/netinet/ip6.h: Likewise. + * inet/protocols/routed.h: Likewise. + * inet/protocols/rwhod.h: Likewise. + * inet/protocols/talkd.h: Likewise. + * inet/protocols/timed.h: Likewise. + * intl/libintl.h: Likewise. + * io/fcntl.h: Likewise. + * io/fts.h: Likewise. + * io/ftw.h: Likewise. + * io/sys/poll.h: Likewise. + * io/sys/stat.h: Likewise. + * io/sys/statfs.h: Likewise. + * io/utime.h: Likewise. + * locale/locale.h: Likewise. + * login/pty.h: Likewise. + * login/utmp.h: Likewise. + * malloc/malloc.h: Likewise. + * malloc/obstack.h: Likewise. + * math/complex.h: Likewise. + * math/fenv.h: Likewise. + * math/math.h: Likewise. + * md5-crypt/md5.h: Likewise. + * misc/ar.h: Likewise. + * misc/err.h: Likewise. + * misc/error.h: Likewise. + * misc/fstab.h: Likewise. + * misc/libgen.h: Likewise. + * misc/nlist.h: Likewise. + * misc/sys/cdefs.h: Likewise. + * misc/sys/file.h: Likewise. + * misc/sys/ioctl.h: Likewise. + * misc/sys/queue.h: Likewise. + * misc/sys/select.h: Likewise. + * misc/sys/syslog.h: Likewise. + * misc/sys/uio.h: Likewise. + * misc/sysexits.h: Likewise. + * misc/ttyent.h: Likewise. + * nss/nss.h: Likewise. + * posix/fnmatch.h: Likewise. + * posix/getopt.h: Likewise. + * posix/glob.h: Likewise. + * posix/regex.h: Likewise. + * posix/sys/times.h: Likewise. + * posix/sys/types.h: Likewise. + * posix/sys/utsname.h: Likewise. + * posix/sys/wait.h: Likewise. + * posix/tar.h: Likewise. + * posix/unistd.h: Likewise. + * posix/wordexp.h: Likewise. + * pwd/pwd.h: Likewise. + * resolv/arpa/nameser.h: Likewise. + * resolv/netdb.h: Likewise. + * resolv/resolv.h: Likewise. + * resource/sys/resource.h: Likewise. + * resource/sys/vlimit.h: Likewise. + * resource/sys/vtimes.h: Likewise. + * setjmp/setjmp.h: Likewise. + * shadow/shadow.h: Likewise. + * socket/sys/socket.h: Likewise. + * socket/sys/un.h: Likewise. + * stdlib/exit.h: Likewise. + * stdlib/fmtmsg.h: Likewise. + * stdlib/monetary.h: Likewise. + * stdlib/stdlib.h: Likewise. + * string/argz.h: Likewise. + * string/envz.h: Likewise. + * string/memory.h: Likewise. + * string/string.h: Likewise. + * string/strings.h: Likewise. + * sunrpc/rpc/rpc.h: Likewise. + * sunrpc/rpc/svc.h: Likewise. + * sunrpc/rpc/types.h: Likewise. + * sunrpc/rpc/xdr.h: Likewise. + * termios/sys/ttychars.h: Likewise. + * termios/termios.h: Likewise. + + * argp/argp-parse.c: -> . + * crypt/sysdeps/unix/crypt_util.c: Likewise. + * dirent/dirent.h: Likewise. + * elf/link.h: Likewise. + * grp/fgetgrent.c: Likewise. + * grp/grp.h: Likewise. + * hurd/hurd/ioctl.h: Likewise. + * inet/getnameinfo.c: Likewise. + * inet/getnetgrent_r.c: Likewise. + * inet/inet_ntoa.c: Likewise. + * inet/netinet/in.h: Likewise. + * io/fcntl.h: Likewise. + * io/ftw.h: Likewise. + * io/sys/stat.h: Likewise. + * io/sys/statfs.h: Likewise. + * io/utime.h: Likewise. + * libio/_G_config.h: Likewise. + * libio/libio.h: Likewise. + * libio/libioP.h: Likewise. + * libio/stdio.h: Likewise. + * locale/duplocale.c: Likewise. + * locale/freelocale.c: Likewise. + * locale/lc-time.c: Likewise. + * locale/setlocale.c: Likewise. + * login/getutent_r.c: Likewise. + * login/getutid_r.c: Likewise. + * login/getutline_r.c: Likewise. + * login/lastlog.h: Likewise. + * login/pty.h: Likewise. + * login/utmp.h: Likewise. + * login/utmpname.c: Likewise. + * malloc/mtrace.c: Likewise. + * malloc/thread-m.h: Likewise. + * math/complex.h: Likewise. + * math/fenv.h: Likewise. + * math/libm-test.c: Likewise. + * math/math.h: Likewise. + * misc/sgtty.h: Likewise. + * misc/stab.h: Likewise. + * misc/sys/ioctl.h: Likewise. + * misc/sys/select.h: Likewise. + * misc/sys/uio.h: Likewise. + * misc/sys/ustat.h: Likewise. + * misc/syslog.c: Likewise. + * nis/nss_compat/compat-grp.c: Likewise. * nis/nss_compat/compat-pwd.c: Likewise. * nis/nss_compat/compat-spwd.c: Likewise. * nis/nss_nis/nis-alias.c: Likewise. @@ -11172,1378 +7322,7259 @@ * nis/nss_nis/nis-rpc.c: Likewise. * nis/nss_nis/nis-service.c: Likewise. * nis/nss_nis/nis-spwd.c: Likewise. - * nis/nss_nisplus/nisplus-alias.c: Likewise. + * nss_nisplus/nisplus-alias.c: Likewise. * nis/nss_nisplus/nisplus-ethers.c: Likewise. * nis/nss_nisplus/nisplus-grp.c: Likewise. * nis/nss_nisplus/nisplus-hosts.c: Likewise. * nis/nss_nisplus/nisplus-netgrp.c: Likewise. - * nis/nss_nisplus/nisplus-network.c: Likewise. - * nis/nss_nisplus/nisplus-parser.c: Likewise. + * nis/nss_nisplus/nisplus-netgrp.c: Likewise. * nis/nss_nisplus/nisplus-proto.c: Likewise. - * nis/nss_nisplus/nisplus-publickey.c: Likewise. * nis/nss_nisplus/nisplus-pwd.c: Likewise. * nis/nss_nisplus/nisplus-rpc.c: Likewise. * nis/nss_nisplus/nisplus-service.c: Likewise. * nis/nss_nisplus/nisplus-spwd.c: Likewise. + * nis/ypclnt.c: Likewise. + * nss/getXXbyYY.c: Likewise. + * nss/getXXent.c: Likewise. + * nss/getXXent_r.c: Likewise. * nss/nss_db/db-XXX.c: Likewise. * nss/nss_db/db-alias.c: Likewise. * nss/nss_db/db-netgrp.c: Likewise. - * nss/nss_files/files-XXX.c: Likewise - * nss/nss_files/files-alias.c: Likewise - * nss/nss_files/files-netgrp.c: Likewise - * nss/nss_files/files-parse.c: Likewise - * nss/getXXbyYY_r.c: Call with __errno_location() as value for new - parameter of get functions. - * nss/getXXent_r.c: Likewise. - - * localedata/tst-fmon.c: Print debug info if test fails. - - * rt/Makefile (routines): Add aio_notify. - * rt/aio.h: Remove non-public definitions. Add aioinit stuff. - * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend. - * rt/aio_fsync.c: Likewise. - * rt/aio_misc.c: Likewise. - * rt/aio_misc.h: Likewise. - * rt/aio_read.c: Likewise. - * rt/aio_read64.c: Likewise. - * rt/aio_suspend.c: Likewise. - * rt/aio_write.c: Likewise. - * rt/aio_write64.c: Likewise. - * rt/lio_listio.c: Likewise. - * rt/lio_listio64.c: Likewise. - * rt/aio_notify.c: New file. - - * sysdeps/generic/bits/sigset.h: Pretty print. - - * sysdeps/posix/pwrite.c: Define weak alias only if function is - really defined as __pwrite. - - * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly - instead of pread64. - * sysdeps/unix/sysv/linux/pwrite.c: Likewise. - - * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal] - (sysdep_routines): Add rt_sigpending and rt_sigreturn. - * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t - size in syscall. - * sysdeps/unix/sysv/linux/sigpending.c: Likewise. - * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise. - * sysdeps/unix/sysv/linux/sigreturn.c: Likewise. - * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise. - * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise. - * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. - * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. Take care - for ACT being NULL. - * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for - RT signals. - * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if - __NR_pread is not defined. - * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if - __NR_pwrite is not defined. - -1997-12-07 11:15 Thorsten Kukuk - - * nis/nss_compat/compat-grp.c: If buffer is to small, set the file - handle for /etc/group back in some more cases. - * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file - handle for /etc/passwd back in some more cases. - * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file - handle for /etc/shadow back in some more cases. - -1997-12-06 17:00 H.J. Lu - - * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask - beyound its size. - * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto. - * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto. - -1997-12-06 04:38 Ulrich Drepper - - * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max - handling. Don't use macros, we need functions. Use inline functions - for optimization. - * sysdeps/wordsize-64/inttypes.h: Likewise. - * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax, - and wcstoumax. - * sysdeps/wordsize-64/Makefile: Likewise. - * sysdeps/wordsize-32/Dist: Likewise. - * sysdeps/wordsize-64/Dist: Likewise. - * sysdeps/wordsize-32/strtoimax.c: New file. - * sysdeps/wordsize-32/strtoumax.c: New file. - * sysdeps/wordsize-32/wcstoimax.c: New file. - * sysdeps/wordsize-32/wcstoumax.c: New file. - * sysdeps/wordsize-64/strtoimax.c: New file. - * sysdeps/wordsize-64/strtoumax.c: New file. - * sysdeps/wordsize-64/wcstoimax.c: New file. - * sysdeps/wordsize-64/wcstoumax.c: New file. - -1997-12-04 10:40 Philip Blundell - - * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so - that transparent union works. - * sysdeps/generic/wait4.c (__wait4): Likewise. - * sysdeps/generic/wait.c (__wait): Likewise. - - * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not - size_t. - - * sysdeps/generic/syscall.c (syscall): Return value and arg are - long, to match prototype. - - * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't - have mremap() yet. - - * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype. - - * sysdeps/unix/sysv/linux/arm/syscalls.list: New file. - - * sysdeps/generic/bits/time.h: Use __time_t not time_t. - - * sysdeps/generic/bits/resource.h: Include for - __rlim_t. - - * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added. - - * sysdeps/generic/bits/dirent.h (struct dirent64): Added. - - * io/sys/stat.h (S_ISLNK): Always false if we don't have - __S_IFLNK. - - * sysdeps/standalone/close.c (_STDIO_H): Define before including - . - * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise. - -1997-12-06 01:09 Ulrich Drepper - - * posix/sys/wait.h: Don't use transparent unions in C++. - -1997-12-05 Andreas Jaeger - - * time/time.h: Add strfxtime. - - * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs, - sysv_signal, strfxtime, pread64, pwrite64. - -1997-11-30 21:57 Richard Henderson - - Alpha changes for EGCS: - * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry. - * configure.in (libc_cv_gcc_alpha_ng_prefix): New check. - * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix. - (_start): Likewise. - * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise. - -1997-12-05 00:01 Ulrich Drepper - - The kernel expects the arguments in a different order. - * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file. - * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file. - - * FAQ.in: New file. - * gen-FAQ.pl: New file. - * Makefile (FAQ): Add rule to generate from FAQ.in. - - * iconvdata/Makefile: Treat libJIS like the other modules. - - * rt/librt.map: New file. - - * sysdeps/wordsize-32/bits/environments.h: Add test for direct - inclusion. - * sysdeps/wordsize-64/bits/environments.h: Likewise. Correct - comment. - -1997-12-04 22:29 Ulrich Drepper - - * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype. - * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise. - * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include . - Patches by Thorsten Kukuk . - -1997-11-27 Andreas Jaeger - - * string/bits/string2.h: Fix spellings. - - * string/string.h: Fix spellings. - -1997-12-04 Andreas Jaeger - - * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern - declaration to __syscall_rt_sigaction. - - * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of - non-existant . - -1997-12-04 Andreas Jaeger - - * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct - typo. - -1997-12-04 Andreas Jaeger - - * sysdeps/wordsize-64/bits/environments.h: Correct spelling. - - * Makeconfig (shared-thread-library): Correct spelling. - - * sysdeps/unix/sysv/linux/sys/pci.h: Include and not - . - -1997-12-04 Andreas Jaeger - - * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_ - constants from Linux headers. Pointed out by - csmall@scooter.o.i.net. [PR libc/369] - -1997-12-04 10:21 Thorsten Kukuk - - * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval. - -1997-12-04 00:06 Zack Weinberg - - * configure.in: If --enable-add-ons is given without an - argument, set the addons list to all subdirs with a configure - script. - -1997-12-03 23:50 Ulrich Drepper - - * Makeconfig: Add shared-thread-library variable. - - * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES. - * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES - here. - * sysdeps/m68k/fpu/e_acos.c: Likewise. - * sysdeps/m68k/fpu/e_atan2.c: Likewise. - * sysdeps/m68k/fpu/e_fmod.c: Likewise. - * sysdeps/m68k/fpu/e_pow.c: Likewise. - * sysdeps/m68k/fpu/e_scalb.c: Likewise. - * sysdeps/m68k/fpu/k_cos.c: Likewise. - * sysdeps/m68k/fpu/k_sin.c: Likewise. - * sysdeps/m68k/fpu/k_tan.c: Likewise. - * sysdeps/m68k/fpu/s_atan.c: Likewise. - * sysdeps/m68k/fpu/s_ccos.c: Likewise. - * sysdeps/m68k/fpu/s_ccosh.c: Likewise. - * sysdeps/m68k/fpu/s_cexp.c: Likewise. - * sysdeps/m68k/fpu/s_csin.c: Likewise. - * sysdeps/m68k/fpu/s_csinh.c: Likewise. - * sysdeps/m68k/fpu/s_frexp.c: Likewise. - * sysdeps/m68k/fpu/s_ilogb.c: Likewise. - * sysdeps/m68k/fpu/s_isinf.c: Likewise. - * sysdeps/m68k/fpu/s_llrint.c: Likewise. - * sysdeps/m68k/fpu/s_llrintf.c: Likewise. - * sysdeps/m68k/fpu/s_llrintl.c: Likewise. - * sysdeps/m68k/fpu/s_lrint.c: Likewise. - * sysdeps/m68k/fpu/s_modf.c: Likewise. - * sysdeps/m68k/fpu/s_remquo.c: Likewise. - * sysdeps/m68k/fpu/s_scalbn.c: Likewise. - * sysdeps/m68k/fpu/s_sincos.c: Likewise. - - * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax, - __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo. - * signal/Makefile (headers): Add bits/siginfo.h. - (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue. - (distribute): Add testrtsig.h. - * signal/allocrtsig.c: New file. - * signal/signal.h: Define `union sigval'. Include . - Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin, - __libc_current_sigrtmax. - * sysdeps/generic/sigqueue.c: New file. - * sysdeps/generic/sigtimedwait.c: New file. - * sysdeps/generic/sigwaitinfo.c: New file. - * sysdeps/generic/testrtsig.h: New file. - * sysdeps/generic/bits/siginfo.h: New file. - * sysdeps/unix/sysv/linux/bits/siginfo.h: New file. - * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as - old_kernel_sigaction and rename sa_handler member to k_sa_handler. - * sysdeps/unix/sysv/linux/rt_sigaction.c: New file. - * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file. - * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file. - * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file. - * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file. - * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file. - * sysdeps/unix/sysv/linux/sigpending.c: New file. - * sysdeps/unix/sysv/linux/sigprocmask.c: New file. - * sysdeps/unix/sysv/linux/sigqueue.c: New file. - * sysdeps/unix/sysv/linux/sigreturn.c: New file. - * sysdeps/unix/sysv/linux/sigtimedwait.c: New file. - * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file. - * sysdeps/unix/sysv/linux/testrtsig.h: New file. - * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO. - * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO. - * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO. - * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX. - * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME - and _POSIX_REALTIME_SIGNALS. - * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO. - * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and - update _NSIG. - * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO. - * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific - definitions. - - * Makefile (subdirs): Add rt. - * shlib-versions: Add entry for librt. - * rt/Makefile: New file. - * rt/aio.h: New file. - * rt/aio_cancel.c: New file. - * rt/aio_error.c: New file. - * rt/aio_fsync.c: New file. - * rt/aio_misc.c: New file. - * rt/aio_misc.h: New file. - * rt/aio_read.c: New file. - * rt/aio_read64.c: New file. - * rt/aio_return.c: New file. - * rt/aio_suspend.c: New file. - * rt/aio_write.c: New file. - * rt/aio_write64.c: New file. - * rt/lio_listio.c: New file. - * rt/lio_listio64.c: New file. - * sysdeps/generic/aio_sigqueue.c: New file. - * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file. - * sysdeps/unix/sysv/linux/Dist: Add new files - * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal] - (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, - rt_sigqueueinfo, rt_sigaction. - - * posix/Makefile (headers): Add bits/environments.h. - * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS - and _CS_LFS_CFLAGS on 64bit platforms. - * posix/unistd.h: Define _XOPEN_LEGACY. Explain _XOPEN_REALTIME - and _XOPEN_REALTIME_THREADS. Include bits/environments.h. - * sysdeps/generic/bits/confname.h: Define _SC_* constants for - compilation modules. - * sysdeps/wordsize-32/bits/environments.h: New file. - * sysdeps/wordsize-64/bits/environments.h: New file. - - * posix/getopt.c: Remove declaration of getpid and __libc_pid. - * posix/getopt_init.c: Test for value 0xf00baa of uninitialized - __libc_pid. - * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to - 0xf00baa. - - * string/string.h: Add declaration of __strverscmp. - * string/strverscmp.c: Rename function ot __strverscmp and make old - name weak alias. - - * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid. - * sysdeps/generic/enbl-secure.c: Likewise. - * sysdeps/mach/hurd/dl-sysdep.c: Likewise. - - * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print. - - * sysdeps/unix/sysv/linux/sys/pci.h: New file. - -1997-12-03 Ulrich Drepper - - * posix/sys/wait.h: Use __transparent_union__ instead of - transparent_union. Reported by Roland McGrath. - -1997-12-03 Andreas Jaeger - - * resolv/inet_neta.c (inet_neta): Change type of first parameter - to u_int32_t. Suggested by John Lavagnino - [PR libc/366]. - - * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t. - - * inet/arpa/inet.h: Change types of inet_neta and inet_addr. - -1997-12-03 20:40 Thorsten Kukuk - - * grp/initgroups.c: Increase buffer if it is too small. - -1997-12-03 Ulrich Drepper - - * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit - fields, this is no ISO C. Reported by Andreas Jaeger. - -1997-12-03 Andreas Jaeger - - * sysdeps/i386/sys/ucontext.h (enum): Add missing commata. - -1997-12-03 08:58 Philip Blundell - - * sysdeps/generic/bits/utsname.h: defines - _SYS_UTSNAME_H not _UTSNAME_H. - -1997-11-28 Andreas Schwab - - * elf/dl-profile.c (_dl_start_profile): Avoid overflow when - computing s_scale. - -1997-11-29 Andreas Schwab - - * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now. - * sysdeps/libm-ieee754/s_csqrtf.c: Likewise. - * sysdeps/libm-ieee754/s_csqrtl.c: Likewise. - - * math/libm-test.c (csqrt_test): Add testcase. - -1997-12-03 15:44 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file. - * sysdeps/unix/sysv/linux/sys/Dist: Add it. - * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise. - -1997-11-30 Andreas Schwab - - * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration. - -1997-12-01 Andreas Jaeger - - * math/libm-test.c (acos_test): Add more tests. - (asin_test): Likewise. - (atan_test): Likewise. - (exp_test): Likewise. - (sin_test): Likewise. - (sqrt_test): Likewise. - (cpow_test): Likewise. - (csqrt_test): Likewise. - (cexp_test): Correct typo in gcc version test. - -1997-12-02 17:14 Philip Blundell - - * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including - . + * nss/nss_files/files-XXX.c: Likewise. + * nss/nss_files/files-alias.c: Likewise. + * nss/nsswitch.c: Likewise. + * posix/sched.h: Likewise. + * posix/sys/types.h: Likewise. + * posix/sys/utsname.h: Likewise. + * posix/sys/wait.h: Likewise. + * posix/unistd.h: Likewise. + * pwd/fgetpwent.c: Likewise. + * pwd/pwd.h: Likewise. + * resource/sys/resource.h: Likewise. + * setjmp/setjmp.h: Likewise. + * shadow/fgetspent.c: Likewise. + * shadow/lckpwdf.c: Likewise. + * shadow/sgetspent.c: Likewise. + * signal/signal.h: Likewise. + * signal/sigsetops.c: Likewise. + * socket/sys/socket.h: Likewise. + * socket/sys/un.h: Likewise. + * stdio/stdio.h: Likewise. + * stdio-common/vfprintf.c: Likewise. + * stdio-common/vfscanf.c: Likewise. + * stdlib/atexit.c: Likewise. + * stdlib/fmtmsg.c: Likewise. + * stdlib/random.c: Likewise. + * string/endian.h: Likewise. + * sysdeps/alpha/w_sqrt.S: Likewise. + * sysdeps/arm/__longjmp.S: Likewise. * sysdeps/arm/setjmp.S: Likewise. - - * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file. - -1997-12-02 18:07 Philip Blundell - - * stdio/stdio.h: Add prototype for tmpfile64(). - -1997-12-02 17:47 Philip Blundell - - * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to - prototype to keep in step with libio version. - - * stdio-common/tmpfile64.c: Include for ENOSYS. - -1997-12-02 17:41 Philip Blundell - - * sysdeps/generic/Makefile: Don't try to use make_siglist if - cross-compiling. - -1997-12-02 01:18 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns - load GOT ptr before jumping to _exit. - Reported by Xavier Leroy. - -1997-12-01 17:27 Ulrich Drepper - - * Makefile (subdirs): Add iconvdata and localedata. - - * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value. - - * iconv/gconv_conf.c (read_conf_file): Little optimization. - - * iconvdata/8bit-gap.c: New file. - * iconvdata/8bit-generic.c: Renamed from ... - * iconvdata/iso8859-generic.c: ...this. - * iconvdata/configure: Removed. - * iconvdata/Makefile: Add new modules and better rules. - * iconvdata/iso6937.c: Minor bug fixes. - * iconvdata/iso8859-1.c: Likewise. - * iconvdata/t61.c: Likewise. - * iconvdata/iso8859-2.c: Change to use 8bit-generic.c. - Minor bug fixes. - * iconvdata/iso8859-3.c: Likewise. - * iconvdata/iso8859-4.c: Likewise. - * iconvdata/iso8859-5.c: Likewise. - * iconvdata/iso8859-6.c: Likewise. - * iconvdata/iso8859-7.c: Likewise. - * iconvdata/iso8859-8.c: Likewise. - * iconvdata/iso8859-9.c: Likewise. - * iconvdata/iso8859-10.c: Likewise. - * iconvdata/ebcdic-at-de-a.c: New file. - * iconvdata/ebcdic-at-de.c: New file. - * iconvdata/ebcdic-ca-fr.c: New file. - * iconvdata/hp-roman8.c: New file. - * iconvdata/koi-8.c: New file. - * iconvdata/koi8-r.c: New file. - * iconvdata/koi8-h.c: New file. - * iconvdata/latin-greek-1.c: New file. - * iconvdata/latin-greek-1.h: New file. - * iconvdata/latin-greek.c: New file. - * iconvdata/latin-greek.h: New file. - * iconvdata/jis0201.c: New file. - * iconvdata/jis0201.h: New file. - * iconvdata/jis0208.c: New file. - * iconvdata/jis0208.h: New file. - * iconvdata/jis0212.c: New file. - * iconvdata/jis0212.h: New file. - * iconvdata/sjis.c: New file. - * iconvdata/gap.pl: New file. Script to generate table header. - * iconvdata/gaptab.pl: New file. - * iconvdata/gconv-modules: Add info about new modules. - - * locale/programs/charmap.c: Also examine alias names given in charmap - files. - - * localedata/*: Add to here from add-on. We need the information - to generate tables for iconv. - - Update from db-2.3.14. - * db2/Makefile: Updated. - * db2/config.h: Likewise. - * db2/db.h: Likewise. - * db2/db_int.h: Likewise. - * db2/btree/bt_cursor.c: Likewise. - * db2/btree/bt_delete.c: Likewise. - * db2/btree/bt_put.c: Likewise. - * db2/btree/bt_search.c: Likewise. - * db2/btree/bt_split.c: Likewise. - * db2/btree/btree_auto.c: Likewise. - * db2/common/db_appinit.c: Likewise. - * db2/common/db_apprec.c: Likewise. - * db2/common/db_err.c: Likewise. - * db2/common/db_region.c: Likewise. - * db2/db/db_auto.c: Likewise. - * db2/db/db_dispatch.c: Likewise. - * db2/db/db_ret.c: Likewise. - * db2/dbm/dbm.c: Likewise. - * db2/hash/hash_auto.c: Likewise. - * db2/include/btree_ext.h: Likewise. - * db2/include/common_ext.h: Likewise. - * db2/include/db.h.src: Likewise. - * db2/include/db_cxx.h: Likewise. - * db2/include/db_ext.h: Likewise. - * db2/include/db_int.h.src: Likewise. - * db2/include/lock.h: Likewise. - * db2/include/log.h: Likewise. - * db2/include/mp.h: Likewise. - * db2/include/mp_ext.h: Likewise. - * db2/include/os_ext.h: Likewise. - * db2/include/os_func.h: Likewise. - * db2/lock/lock.c: Likewise. - * db2/lock/lock_deadlock.c: Likewise. - * db2/log/log.c: Likewise. - * db2/log/log_archive.c: Likewise. - * db2/log/log_auto.c: Likewise. - * db2/log/log_get.c: Likewise. - * db2/log/log_put.c: Likewise. - * db2/mp/mp_bh.c: Likewise. - * db2/mp/mp_fget.c: Likewise. - * db2/mp/mp_fopen.c: Likewise. - * db2/mp/mp_fput.c: Likewise. - * db2/mp/mp_fset.c: Likewise. - * db2/mp/mp_open.c: Likewise. - * db2/mp/mp_pr.c: Likewise. - * db2/mp/mp_region.c: Likewise. - * db2/mp/mp_sync.c: Likewise. - * db2/mutex/README: Likewise. - * db2/mutex/mutex.c: Likewise. - * db2/os/os_open.c: Likewise. - * db2/os/os_func.c: Removed. - * db2/os/os_config.c: New file. - * db2/os/os_spin.c: New file. - * db2/txn/txn.c: Likewise. - * db2/txn/txn_auto.c: Likewise. - -1997-11-30 06:01 Ulrich Drepper - - * posix/sys/wait.h (__WAIT_INT): Don't use complex version with - __typeof for C++ since this fails for class members. - Reported by Neal Becker . - -1997-11-28 11:21 Zack Weinberg - - * configure.in: Check for a working makeinfo (3.11 or better). - * config.make.in: Add MAKEINFO to be substituted. - * manual/Makefile: Don't update info if makeinfo is too old. - -1997-11-30 05:21 Ulrich Drepper - - * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions. - * sysdeps/alpha/__longjmp.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include - not . - - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as - __llseek and make llseek and lseek64 weak aliases. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. - Patches by a sun . - -1997-11-29 19:19 Zack Weinberg - - * misc/sys/syslog.h: Delete KERNEL preprocessor conditional. - * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise. - * misc/sys/syslog.h: Clean up BSD header. - -1997-11-29 Andreas Jaeger - - * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67. - - * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception - for ctan(+-inf,x). - * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise. - * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise. - - * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan, - csqrt (-1), ctanh(i*pi/4). - -1997-11-26 Andreas Schwab - - * sysdeps/generic/bits/confname.h: Fix comma in enumerator. - -1997-11-28 13:28 Philip Blundell - - * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants. - -1997-11-26 Andreas Jaeger - - * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake. - -1997-11-26 21:28 Ulrich Drepper - - * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition - and use. Define GETCWD_RETURN_TYPE instead and use it. - * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead - of GETCWD_STORYGE_CLASS and put the return type and the - `internal_function' in the right order for gcc 2.7.2. - -1997-11-26 Andreas Jaeger - - * sysdeps/unix/sysv/linux/sys/module.h: Remove file. It's - incompatible with Linux 2.1.x. Packages using modules - (e.g. modutils) should/do provide their own version. Suggested by - Richard Henderson. - - * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h. - - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) - [$(subdir)=socket]: Remove sys/module.h. - -1997-11-26 04:28 Ulrich Drepper - - * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when - computing s_scale. Patch by a sun . - - * iconv/gconv_close.c: Correct freeing of descriptor data. - * iconv/gconv_simple.c: Return correct error values for illegal or - incomplete characters. - - * Makefile (iconvdata/%): Special goal to simplify iconvdata - development. - * iconvdata/Makefile: New file. - * iconvdata/configure: Likewise. - * iconvdata/extra-module.mk: Likewise. - * iconvdata/gconv-modules: Likewise. - * iconvdata/iso6937.c: Likewise. - * iconvdata/iso8859-1.c: Likewise. - * iconvdata/iso8859-10.c: Likewise. - * iconvdata/iso8859-10.h: Likewise. - * iconvdata/iso8859-2.c: Likewise. - * iconvdata/iso8859-2.h: Likewise. - * iconvdata/iso8859-3.c: Likewise. - * iconvdata/iso8859-3.h: Likewise. - * iconvdata/iso8859-4.c: Likewise. - * iconvdata/iso8859-4.h: Likewise. - * iconvdata/iso8859-5.c: Likewise. - * iconvdata/iso8859-5.h: Likewise. - * iconvdata/iso8859-6.c: Likewise. - * iconvdata/iso8859-6.h: Likewise. - * iconvdata/iso8859-7.c: Likewise. - * iconvdata/iso8859-7.h: Likewise. - * iconvdata/iso8859-8.c: Likewise. - * iconvdata/iso8859-8.h: Likewise. - * iconvdata/iso8859-9.c: Likewise. - * iconvdata/iso8859-9.h: Likewise. - * iconvdata/iso8859-generic.c: Likewise. - * iconvdata/t61.c: Likewise. - - * string/Makefile (routines): Add strcasestr. - * string/string.h: Add prototype for strcasestr. - * sysdeps/generic/strcasestr.c: New file. - * wcsmbs/mbrtowc.c: Simplify special case a bit. - * wcsmbs/wcrtomb.c: Likewise. - * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters. - * wcsmbs/wcsnrtombs.c: Likewise. - * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when - partial character is read. - * wcsmbs/wcsrtombs.c: Likewise. - * wcsmbs/wmemrtombs.c: Likewise. - * wcsmbs/wmemrtowcs.c: Likewise. - - * io/ftw.h: Include instead of . - * login/pty.h: Include instead og . - * sysdeps/i386/__longjmp.S: Define _SETJMP_H. - * sysdeps/i386/elf/setjmp.S: Likewise. - * sysdeps/unix/sysv/linux/kernel_termios.h: Do include - . - - * sysdeps/posix/mk-stdiolim.c: Output file with comment. - * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment. - - * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print. + * sysdeps/generic/abort.c: Likewise. + * sysdeps/generic/netinet/ip.h: Likewise. + * sysdeps/generic/setenv.c: Likewise. + * generic/sys/mman.h: Likewise. + * sysdeps/i386/__longjmp.S: Likewise. + * sysdeps/i386/setjmp.S: Likewise. + * sysdeps/mach/hurd/dirstream.h: Likewise. + * sysdeps/mach/hurd/jmp-unwind.c: Likewise. + * sysdeps/posix/mk-stdiolim.c: Likewise. + * sysdeps/powerpc/__longjmp.S: Likewise. + * sysdeps/powerpc/setjmp.S: Likewise. + * sysdeps/sparc/__longjmp.S: Likewise. + * sysdeps/sparc/setjmp.S: Likewise. + * sysdeps/standalone/close.c: Likewise. + * sysdeps/standalone/filedesc.h: Likewise. + * sysdeps/standalone/open.c: Likewise. + * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Likewise. + * sysdeps/unix/bsd/m68k/sysdep.S: Likewise. + * sysdeps/unix/bsd/osf/sys/mman.h: Likewise. + * sysdeps/unix/bsd/sun/m68k/sethostid.S: Likewise. + * sysdeps/unix/bsd/sun/sparc/sethostid.S: Likewise. + * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise. + * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise. + * sysdeps/unix/bsd/vax/sysdep.S: Likewise. + * sysdeps/unix/dirstream.h: Likewise. + * sysdeps/unix/i386/sysdep.S: Likewise. + * sysdeps/unix/mips/sysdep.S: Likewise. + * sysdeps/unix/mk-local_lim.c: Likewise. + * sysdeps/unix/sparc/sysdep.S: Likewise. + * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/brk.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise. + * sysdeps/unix/sysv/linux/arm/clone.S: Likewise. + * sysdeps/unix/sysv/linux/i386/clone.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. + * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise. + * sysdeps/unix/sysv/linux/netinet/tcp.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise. + * sysdeps/unix/sysv/linux/sys/mman.h: Likewise. + * sysdeps/unix/sysv/linux/sys/syscall.h: Likewise. + * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise. + * sysdeps/unix/sysv/sco3.2.4/sysconf.S: Likewise. + * sysdeps/unix/sysv/sysv4/i386/sysdep.h: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.S: Likewise. * sysvipc/sys/ipc.h: Likewise. * sysvipc/sys/msg.h: Likewise. * sysvipc/sys/sem.h: Likewise. * sysvipc/sys/shm.h: Likewise. + * termios/termios.h: Likewise. + * time/localtime.c: Likewise. + * time/sys/time.h: Likewise. + * time/time.h: Likewise. + * time/tzset.c: Likewise. + + * sysdeps/unix/sysv/linux/arm/socket.S: socketcall.h change. + * sysdeps/unix/sysv/linux/i386/socket.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/socket.S: Likewise. + + * Makefile (headers): foo.h -> bits/foo.h. + * dirent/Makefile: Likewise. + * elf/Makefile: Likewise. + * io/Makefile: Likewise. + * login/Makefile: Likewise. + * math/Makefile: Likewise. + * misc/Makefile: Likewise. + * posix/Makefile: Likewise. + * resource/Makefile: Likewise. + * setjmp/Makefile: Likewise. + * signal/Makefile: Likewise. + * socket/Makefile: Likewise. + * stdio-common/Makefile: Likewise. + * sysdeps/unix/sysv/linux/Makefile: Likewise. + * sysvipc/Makefile: Likewise. + * termios/Makefile: Likewise. + * time/Makefile: Likewise. + * sysdeps/generic/Makefile (make_siglist-CFLAGS): Likewise. + * sysdeps/posix/Makefile: stdio_lim.h -> bits/stdio_lim.h + * sysdeps/unix/Makefile: Likewise with local_lim.h, errnos.h, + ioctls.h, termbits.h. + + * sysdeps/unix/sysv/linux/Dist: sys/kernel_termios.h + -> kernel_termios.h, sys/socketcall.h -> socketcall.h + + * elf/elf.h: Use definitions instead of __attribute__ + for getting the proper length on the ELF types to be friendly to + non-gcc compilers. + * posix/sys/types.h: Notice when int8_t and friends are defined + and don't redefine them. + * sysdeps/wordsize-32/inttypes.h: Likewise. + * sysdeps/wordsize-64/inttypes.h: Likewise. + + * sysdeps/unix/sysv/linux/arm/profil-counter.h: Get sigcontext + via instead. + * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/profil-counter.h: Likewise. + +1997-06-20 17:59 Kazumoto Kojima + + * hurd/intr-msg.c: More 64bit changes. + * mach/msg-destroy.c: Likewise. + * sysdeps/mach/hurd/ioctl.c: Likewise. + * sysdeps/mach/hurd/ioctls.h: Likewise. + * sysdeps/mach/hurd/select.c: Likewise. + * sysdeps/mach/hurd/statbuf.h: Likewise. + + * sysdeps/mach/hurd/mips/dl-machine.c: Hurd/MIPS64 patches. + * sysdeps/mach/hurd/mips/exc2signal.c: Likewise. + * sysdeps/mach/hurd/mips/init-fault.c: Likewise. + * sysdeps/mach/hurd/mips/init-first.c: Likewise. + * sysdeps/mach/hurd/mips/intr-msg.h: Likewise. + * sysdeps/mach/hurd/mips/longjmp-ctx.c: Likewise. + * sysdeps/mach/hurd/mips/longjmp-ts.c: Likewise. + * sysdeps/mach/hurd/mips/sigcontext.h: Likewise. + * sysdeps/mach/hurd/mips/sigreturn.c: Likewise. + * sysdeps/mach/hurd/mips/trampoline.c: Likewise. + * sysdeps/mach/mips/cacheflush.c: Likewise. + * sysdeps/mach/mips/machine-lock.h: Likewise. + * sysdeps/mach/mips/machine-sp.h: Likewise. + * sysdeps/mach/mips/syscall.S: Likewise. + * sysdeps/mach/mips/sysdep.h: Likewise. + * sysdeps/mach/mips/thread_state.h: Likewise. + * sysdeps/mach/start.c: Likewise. + + * sysdeps/mips/dl-machine.h: MIPS changes. + * sysdeps/mips/elf/start.S: Likewise. + * sysdeps/mips/init-first.c: Likewise. + * sysdeps/mips/fpu_control.h: Likewise. + * sysdeps/mips/machine-gmon.h: Likewise. + * sysdeps/mips/jmp_buf.h: Likewise. + * sysdeps/mips/__longjmp.c: Likewise. + * sysdeps/mips/bsd-_setjmp.S: Likewise. + * sysdeps/mips/bsd-setjmp.S: Likewise. + * sysdeps/mips/setjmp.S: Likewise. + * sysdeps/mips/setjmp_aux.c: Likewise. + * sysdeps/mips/mips64/gmp-mparam.h: Likewise. + * sysdeps/mips/add_n.S: New file. + * sysdeps/mips/addmul_1.S: Likewise. + * sysdeps/mips/lshift.S: Likewise. + * sysdeps/mips/mul_1.S: Likewise. + * sysdeps/mips/rshift.S: Likewise. + * sysdeps/mips/sub_n.S: Likewise. + * sysdeps/mips/submul_1.S: Likewise. + * sysdeps/mips/mips64/Implies: Likewise. + * sysdeps/mips/mips64/add_n.S: Likewise. + * sysdeps/mips/mips64/addmul_1.S: Likewise. + * sysdeps/mips/mips64/lshift.S: Likewise. + * sysdeps/mips/mips64/mul_1.S: Likewise. + * sysdeps/mips/mips64/rshift.S: Likewise. + * sysdeps/mips/mips64/sub_n.S: Likewise. + * sysdeps/mips/mips64/submul_1.S: Likewise. + * sysdeps/mips/add_n.S: Removed. + * sysdeps/mips/addmul_1.S: Likewise. + * sysdeps/mips/lshift.S: Likewise. + * sysdeps/mips/mul_1.S: Likewise. + * sysdeps/mips/rshift.S: Likewise. + * sysdeps/mips/sub_n.S: Likewise. + * sysdeps/mips/submul_1.S: Likewise. + + * nss/Makefile: Prepare for static NSS. + * resolv/Makefile: Likewise. + * nss/nsswitch.c: Add code for static NSS. + * nss/function.def: Define functions for static NSS. + +1997-06-19 11:10 Andreas Schwab + + * libc.map: Add yet more symbols. + +1997-06-19 20:33 Andreas Schwab + + * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Don't pass NULL + as object name to _dl_signal_error. + (do_lookup): Skip objects that could not be opened. + + * sysdeps/m68k/dl-machine.h (elf_machine_rela): Check that the + symbol was found. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. + * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Likewise. + +1997-06-20 03:13 Kazumoto Kojima + + * ctype/ctype-info.c: Use int32_t where `int' with 4 bytes is + assumed. + * ctype/ctype.h: Likewise. + * math/math_private.h: Likewise. + * inet/netinet/in.h: Likewise. + * wctype/wctype.h: Likewise. + + * nss/Makefile: Only inhibit nss_files and nss_db modules if static + NSS modules are not enabled. + * resolv/Makefile: Likewise for nss_dns. + * nss/function.def: New file. List all available lookup functions + for static NSS. + * nss/nsswitch.c: Add code for static NSS. + +1997-06-15 21:15 Andreas Jaeger + + * math/libm-test.c (gamma_test): Test for _SVID_ and for normal + behaviour. + +1997-06-15 20:32 Andreas Jaeger + + * math/libm.map: Add all necessary functions, correct existing entries. + +1997-06-20 02:35 a sun + + * sysdeps/unix/sysv/linux/netipx/ipx.h: Don't use kernel header. + +1997-06-19 18:43 Andreas Jaeger + + * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_parse_spent): + Compare pointer with NULL. + + * login/logout.c (logout): Compare pututline result with NULL. + +1997-06-19 19:38 Ulrich Drepper + + * features.h: Define __STDC_IEC_559__ and _STDC_IEC_559_COMPLEX__. + + * elf/dl-minimal.c (__dcgettext): Remove assertion. + + * inet/rcmd.c: Correct a few typos. Reported by Erik Troan. + + * manual/Makefile (distribute): Add dir. + * manual/dir: New file. + + * math/Makefile (libm-support): Rename s_rinttol, s_rinttoll, + s_roundtol, and s_roundtoll to s_lrint, s_llrint, s_lround, + and s_llround respectively. + (libm-calls): Add e_gamma_r. + * math/libm-test.c (check_int_exc): New function. + (signbit_test): Remove test for sign of NaN. + (gamma_test): Clear exception after test of existence. + Correct tests and and epsilons. + (lgamma_test): Likewise. + (ilogb_test): Correct all tests. + (scalb_test): Rewrite. + (rinttol_test): Rename to lrint_test and correct tests. + (rinttoll_test): Likewise. + (roundtol_test): Likewise. + (roundtoll_test): Likewise. + (main): Call lrint/lround functions instead of rinttol/roundtol. + * math/math.h: Change prototypes for rinttol/roundtol. + * math/mathcalls.h: Rearrange prototypes according to ISO C9X draft. + * sysdeps/generic/mathbits.h: Define FP_ILOGB0 and FP_ILOGBNAN. + * sysdeps/i386/mathbits.h: Likewise. + * sysdeps/libm-i387/e_scalb.S: Handle special cases correctly. + * sysdeps/libm-i387/e_scalbf.S: Likewise. + * sysdeps/libm-i387/e_scalbl.S: Likewise. + * sysdeps/libm-i387/s_asinh.S: Handle -inf correctly. + * sysdeps/libm-i387/s_asinhf.S: Likewise. + * sysdeps/libm-i387/s_asinhl.S: Likewise. + * sysdeps/libm-i387/s_ilogb.S: Optimize. + * sysdeps/libm-i387/s_ilogbf.S: Likewise. + * sysdeps/libm-i387/s_ilogbl.S: Likewise. + * sysdeps/libm-i387/s_rinttol.S: Rename to... + * sysdeps/libm-i387/s_lrint.S: ...this. + * sysdeps/libm-i387/s_rinttoll.S: Rename to... + * sysdeps/libm-i387/s_llrint.S: ...this. + * sysdeps/libm-i387/s_remquo.S: Correctly set sign of remainder. + * sysdeps/libm-i387/s_remquof.S: Likewise. + * sysdeps/libm-i387/s_remquol.S: Likewise. + * sysdeps/libm-i387/e_gamma_r.c: New file. Implementation of gamma + function according to ISO C. + * sysdeps/libm-i387/e_gammaf_r.c: New file. + * sysdeps/libm-i387/e_gammal_r.c: New file. + * sysdeps/libm-i387/e_lgamma_r.c: Don't let optimize compile the + generation of exceptions away. + * sysdeps/libm-i387/e_lgammaf_r.c: Likewise. + * sysdeps/libm-i387/k_standard.c: Correct return value for infinity + points of gamma function when not SVID mode. + * sysdeps/libm-i387/s_rinttoll.c: Renamed to... + * sysdeps/libm-i387/s_llrint.c: ...this. + * sysdeps/libm-i387/s_rinttol.c: Renamed to... + * sysdeps/libm-i387/s_lrint.c: ...this. + * sysdeps/libm-i387/s_roundtoll.c: Renamed to... + * sysdeps/libm-i387/s_llround.c: ...this. + * sysdeps/libm-i387/s_roundtol.c: Renamed to... + * sysdeps/libm-i387/s_lround.c: ..this. + * sysdeps/libm-i387/s_scalbn.c: Change second parameter according to + ISO C. + * sysdeps/libm-i387/s_scalbnf.c: Likewise. + * sysdeps/libm-i387/s_scalbnl.c: Likewise. + * sysdeps/libm-i387/w_gamma.c: Call __ieee754_gamma_r if library + mode is not _SVID_. + * sysdeps/libm-i387/w_gammaf.c: Likewise. + * sysdeps/libm-i387/w_gammal.c: Likewise. + * sysdeps/m68k/fpu/__math.h: Rename __rinttol to __lrint and + rinttol to lrint. + * sysdeps/m68k/fpu/s_rinttol.c: Renamed to... + * sysdeps/m68k/fpu/s_lrint.c: ...this. + * sysdeps/m68k/fpu/s_rinttoll.c: Renamed to... + * sysdeps/m68k/fpu/s_llrint.c: ...this. - * sysdeps/alpha/bits/endian.h: Issue error message if the header is - used directly. - * sysdeps/alpha/bits/setjmp.h: Likewise. - * sysdeps/alpha/fpu/bits/fenv.h: Likewise. - * sysdeps/arm/bits/endian.h: Likewise. - * sysdeps/arm/bits/setjmp.h: Likewise. - * sysdeps/generic/bits/byteswap.h: Likewise. - * sysdeps/generic/bits/confname.h: Likewise. - * sysdeps/generic/bits/dirent.h: Likewise. - * sysdeps/generic/bits/dlfcn.h: Likewise. - * sysdeps/generic/bits/endian.h: Likewise. - * sysdeps/generic/bits/fenv.h: Likewise. - * sysdeps/generic/bits/huge_val.h: Likewise. - * sysdeps/generic/bits/in.h: Likewise. - * sysdeps/generic/bits/ioctl-types.h: Likewise. - * sysdeps/generic/bits/ioctls.h: Likewise. - * sysdeps/generic/bits/ipc.h: Likewise. - * sysdeps/generic/bits/msq.h: Likewise. - * sysdeps/generic/bits/poll.h: Likewise. - * sysdeps/generic/bits/resource.h: Likewise. - * sysdeps/generic/bits/sched.h: Likewise. - * sysdeps/generic/bits/sem.h: Likewise. - * sysdeps/generic/bits/setjmp.h: Likewise. - * sysdeps/generic/bits/shm.h: Likewise. - * sysdeps/generic/bits/sigaction.h: Likewise. - * sysdeps/generic/bits/sigcontext.h: Likewise. - * sysdeps/generic/bits/socket.h: Likewise. - * sysdeps/generic/bits/stat.h: Likewise. - * sysdeps/generic/bits/statfs.h: Likewise. - * sysdeps/generic/bits/stdio_lim.h: Likewise. - * sysdeps/generic/bits/termios.h: Likewise. - * sysdeps/generic/bits/time.h: Likewise. - * sysdeps/generic/bits/uio.h: Likewise. - * sysdeps/generic/bits/utmp.h: Likewise. - * sysdeps/generic/bits/utmpx.h: Likewise. - * sysdeps/generic/bits/utsname.h: Likewise. - * sysdeps/generic/bits/waitflags.h: Likewise. - * sysdeps/generic/bits/waitstatus.h: Likewise. - * sysdeps/gnu/bits/utmp.h: Likewise. - * sysdeps/gnu/bits/utmpx.h: Likewise. - * sysdeps/i386/bits/byteswap.h: Likewise. - * sysdeps/i386/bits/endian.h: Likewise. - * sysdeps/i386/bits/huge_val.h: Likewise. - * sysdeps/i386/bits/setjmp.h: Likewise. - * sysdeps/i386/fpu/bits/fenv.h: Likewise. - * sysdeps/ieee754/bits/huge_val.h: Likewise. - * sysdeps/m68k/bits/byteswap.h: Likewise. - * sysdeps/m68k/bits/endian.h: Likewise. - * sysdeps/m68k/bits/setjmp.h: Likewise. - * sysdeps/m68k/fpu/bits/fenv.h: Likewise. - * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise. - * sysdeps/mach/hurd/bits/ioctls.h: Likewise. - * sysdeps/mach/hurd/bits/stat.h: Likewise. - * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise. - * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise. - * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise. - * sysdeps/mips/bits/dlfcn.h: Likewise. - * sysdeps/mips/bits/endian.h: Likewise. - * sysdeps/mips/bits/setjmp.h: Likewise. - * sysdeps/mips/dec/bits/endian.h: Likewise. - * sysdeps/mips/mips64/bits/setjmp.h: Likewise. - * sysdeps/mips/mipsel/bits/endian.h: Likewise. - * sysdeps/mips/p40/bits/endian.h: Likewise. - * sysdeps/powerpc/bits/endian.h: Likewise. - * sysdeps/powerpc/bits/fenv.h: Likewise. - * sysdeps/powerpc/bits/setjmp.h: Likewise. - * sysdeps/sparc/sparc32/bits/endian.h: Likewise. - * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise. - * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise. - * sysdeps/sparc/sparc64/bits/endian.h: Likewise. - * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise. - * sysdeps/unix/bsd/bits/dirent.h: Likewise. - * sysdeps/unix/bsd/bits/stat.h: Likewise. - * sysdeps/unix/bsd/bits/waitflags.h: Likewise. - * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise. - * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise. - * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise. - * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise. - * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise. - * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise. - * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise. - * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise. - * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise. - * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise. - * sysdeps/unix/common/bits/dirent.h: Likewise. - * sysdeps/unix/sysv/bits/dirent.h: Likewise. - * sysdeps/unix/sysv/bits/stat.h: Likewise. - * sysdeps/unix/sysv/bits/utmp.h: Likewise. - * sysdeps/unix/sysv/bits/utsname.h: Likewise. - * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise. - * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise. - * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise. - * sysdeps/unix/sysv/linux/bits/in.h: Likewise. - * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise. - * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise. - * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise. - * sysdeps/unix/sysv/linux/bits/msq.h: Likewise. - * sysdeps/unix/sysv/linux/bits/poll.h: Likewise. - * sysdeps/unix/sysv/linux/bits/resource.h: Likewise. - * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. - * sysdeps/unix/sysv/linux/bits/sem.h: Likewise. - * sysdeps/unix/sysv/linux/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise. - * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise. - * sysdeps/unix/sysv/linux/bits/termios.h: Likewise. - * sysdeps/unix/sysv/linux/bits/time.h: Likewise. - * sysdeps/unix/sysv/linux/bits/uio.h: Likewise. - * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise. - * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise. - * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise. - * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise. - * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise. - * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise. - * sysdeps/vax/bits/huge_val.h: Likewise. - * sysdeps/vax/bits/setjmp.h: Likewise. - * sysdeps/wordsize-32/bits/elfclass.h: Likewise. - * sysdeps/wordsize-64/bits/elfclass.h: Likewise. - -1997-11-25 Andreas Jaeger - - * libio/stdio.h: Correct comment of sys_nerr/sys_errlist. - -1997-11-25 Paul Eggert - - * strftime.c (strftime): - No longer any need to undef or declare if emacs is defined. - (my_strftime): When checking a -1 returned by mktime, don't blow up - if localtime_r returns NULL. - -1997-11-24 Andreas Schwab - - * README.template: Fix spelling. - -1997-11-25 Andreas Jaeger - - * configure.in: Enhance --enable-add-ons description a wee bit. - -1997-11-24 Andreas Jaeger - - * glibcbug.in: Add more information of build environment and flags. - -1997-11-23 Andreas Schwab - - * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate - it into ENOENT. - -1997-11-24 03:01 Ulrich Drepper - - * elf/dl-support.c: Call __libc_init_secure to make sure - __libc_enable_secure is defined early. - * sysdeps/generic/enbl-secure.c: Change function name to - __libc_init_secure and make it global instead of a constructor. - - * iconv/gconv.c: Fix lots of bugs. - * iconv/gconv.h: Likewise. - * iconv/gconv_builtin.h: Likewise. - * iconv/gconv_close.c: Likewise. - * iconv/gconv_conf.c: Likewise. - * iconv/gconv_db.c: Likewise. - * iconv/gconv_dl.c: Likewise. - * iconv/gconv_open.c: Likewise. - * iconv/gconv_simple.c: Likewise. - * iconv/iconv.c: Likewise. - * iconv/iconv_close.c: Likewise. - * iconv/iconv_open.c: Likewise. - - * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs. - * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs. - * wcsmbs/wmemrtombs.c: New file. - * wcsmbs/wmemrtowcs.c: New file. - -1997-11-22 19:28 Ulrich Drepper - - * iconv/gconv_simple.c: Fix lots of bugs. - * iconv/iconv_open.c: Normalize names before passing them to - __gconv_open. - - * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose. - - * libio/iopopen.c: Check for correct mode argument and punt otherwise. - * stdio-common/test-popen.c: Add test for above change. - - * math/libm-test.c: Print test results also using %a format, - specified in PRINTF_XEXPR macro. - * math/test-double.c: Define PRINTF_XEXPR. - * math/test-float.c: Likewise. - * math/test-ldouble.c: Likewise. - * math/test-idouble.c: Likewise. - * math/test-ifloat.c: Likewise. - * math/test-ildoubl.c: Likewise. + * md5-crypt/Makefile: Link md5test program with md5.o. - * stdio-common/vfscanf.c: Recognize a in format specifier only as - modifier if used before s, S, or [. Otherwise it's the hexadecimal - FP number format. + * stdio-common/temptest.c: Don't use __stdio_gen_tempname which + is not exported by the libc.so. - * stdlib/strtod.c: Little code cleanup. + * stdio-common/vfscanf.c: Correct scanning of strings after last + change. - * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for - compiling in math subdir. + * sysdeps/unix/sysv/linux/i386/sysdep.S: Use .comm to define errno. - * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES - instead of __LIBC_M81_MATH_INLINES. - * sysdeps/m68k/fpu/e_atan2.c: Likewise. - * sysdeps/m68k/fpu/e_fmod.c: Likewise. - * sysdeps/m68k/fpu/e_pow.c: Likewise. - * sysdeps/m68k/fpu/e_scalb.c: Likewise. - * sysdeps/m68k/fpu/k_cos.c: Likewise. - * sysdeps/m68k/fpu/k_sin.c: Likewise. - * sysdeps/m68k/fpu/k_tan.c: Likewise. - * sysdeps/m68k/fpu/s_atan.c: Likewise. - * sysdeps/m68k/fpu/s_ccos.c: Likewise. - * sysdeps/m68k/fpu/s_ccosh.c: Likewise. - * sysdeps/m68k/fpu/s_cexp.c: Likewise. - * sysdeps/m68k/fpu/s_csin.c: Likewise. - * sysdeps/m68k/fpu/s_csinh.c: Likewise. - * sysdeps/m68k/fpu/s_frexp.c: Likewise. - * sysdeps/m68k/fpu/s_ilogb.c: Likewise. - * sysdeps/m68k/fpu/s_isinf.c: Likewise. - * sysdeps/m68k/fpu/s_llrint.c: Likewise. - * sysdeps/m68k/fpu/s_llrintf.c: Likewise. - * sysdeps/m68k/fpu/s_llrintl.c: Likewise. - * sysdeps/m68k/fpu/s_lrint.c: Likewise. - * sysdeps/m68k/fpu/s_modf.c: Likewise. - * sysdeps/m68k/fpu/s_remquo.c: Likewise. - * sysdeps/m68k/fpu/s_scalbn.c: Likewise. - * sysdeps/m68k/fpu/s_sincos.c: Likewise. - * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if - __LIBC_INTERNAL_MATH_INLINES is defined. +1997-06-19 07:37 H.J. Lu - * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions - of compare macros from ISO C 9X. Optimize generic versions a bit. - Define __signbit inline functions and __ieee754_sqrt which can be - used if the ompiler is fixed. + * time/tzfile.c (__tzfile_read): Store getc () return in int. - * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias. +1997-06-13 Miles Bader -1997-11-20 Andreas Schwab + * argp/argp-parse.c (argp_version_parser): Include `(PROGRAM ERROR)' in + the no-version error text to indicate that something's fucked. + [!_] (N_): New macro. + (argp_default_options, argp_version_options): Wrap doc strings in N_(). - * Makerules ($(common-objpfx)stub-$(subdir)): Look for - sysdeps/generic in the whole dep file, not only in the first line. +1997-06-12 Miles Bader -1997-11-20 Andreas Schwab + * argp/argp-parse.c (parser_parse_opt): Detect and report unhandled + options here. + (parser_parse_arg): Handle ARGP_KEY_ARGS here. + Adjust NEXT pointer back if we fail to parse anything. + (parser_parse_next): Simplify arg code. Leave state NEXT frobbing + to parser_parse_arg. + +1997-06-11 Miles Bader + + * argp/argp.h (ARGP_KEY_ARGS, ARGP_KEY_FINI): New macros. + * argp/argp-parse.c (parser_finalize): Do another pass over the + parsers with ARGP_KEY_FINI. + +1997-06-18 Miles Bader + + * string/Makefile (routines): Add argz-replace. + +1997-06-16 00:16 Miles Bader + + * manual/string.texi (Argz Functions): Document argz_replace. + +1997-06-12 Miles Bader + + * string/argz.h (__argz_replace, argz_replace): New declarations. + * string/argz-replace.c: New file. + +1997-06-11 Miles Bader + + * manual/argp.texi (Argp Special Keys): Document ARGP_KEY_ARGS. + +1997-06-16 23:08 Andreas Schwab + + * Makeconfig (libc-map): Remove definition. + * Makerules (libc-map): Define it here, using the full name. + (load-map-file): Remove case for empty $(..). + ($(common-objpfx)libc.so): Revert last change. - * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type. +1997-06-17 22:18 Mark Kettenis -1997-11-19 Andreas Schwab + * login/programs/utmpd.c (main): Improve signal handling. - * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right - place. + * login/programs/request.c (do_setutent, do_updwtmp): + Allow arbitrary length filenames. + * login/programs/utmpd.h (setutent_request, updwtmp_request): + Get rid of fixed length file field. + * login/utmp_daemon.c (do_setutent, do_updwtmp): + Allow arbitrary length filenames. -1997-11-19 Andreas Schwab + * login/programs/request.c (do_pututline): + Don't fail if connection->position is -1 on entry. - * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME - is non-empty. +1997-06-15 16:32 Mark Kettenis -1997-11-20 16:51 Ulrich Drepper + * login/utmp_file.c (updwtmp_file): Use the same method for + appending an entry as in pututline_file. - * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for - return value. +1997-06-11 18:59 Mark Kettenis -1997-11-19 21:36 Ulrich Drepper + * login/utmp_file.c (getutent_r_file): + Use read lock instead of write lock. + (getutline_r_file, internal_getut_r): Lock utmp file. + (updwtmp_file): Use fcntl to lock file instead of flock. - * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if - readlink succeeds but the return value is too long. +1997-06-18 00:11 Andreas Schwab - * stdio-common/printf_fphex.c: Determine sign of number correctly. + * stdio-common/vfscanf.c (inchar, ungetc): Don't count EOF as + character read in/put back. + * stdio-common/tstscanf.c: Add test case for this. -1997-11-19 02:45 Ulrich Drepper +1997-06-17 22:17 Andreas Schwab - * libc.map: Export __divl, __reml, __divq, __remq, __divqu and - __remqu for Alpha. + * libc.map: Add more symbols. -1997-11-18 23:08 Ulrich Drepper +1997-06-18 12:01 Ulrich Drepper - * sysdeps/generic/sys/ucontext.h: Stub context file. + * manual/Makefile (install): Make sure `dir' file exists if we use + install-info. - * libio/iofprintf.c: Removed. We use the stdio-common version. +1997-06-17 19:32 Andreas Schwab - * manual/Makefile (distribute): Add stdio-fp.c. + * manual/Makefile (info): Depend on dir-add.info. - * sysdeps/powerpc/Dist: Add ppc-mcount.S. +1997-06-17 17:19 Andreas Schwab - * db2/Makefile (distribute): Add include/os_func.h, README and - mutex/tsl_parisc.s. + * elf/ldd.bash.in: Fix spacing in message. - * hesiod/Makefile (distribute): Add README.hesiod. +1997-06-17 14:28 Andreas Schwab -1997-11-18 22:14 Ulrich Drepper + * elf/do-rel.h (elf_dynamic_do_rel): Always use version + information if available. - * iconv/gconv.c: Correctly call transformation function. +1997-06-17 11:34 Andreas Schwab - * manual/maint.texi: Document need of binutils 2.8.1.0.17. + * sunrpc/Makefile ($(rpcsvc:%.x=$(objpfx)rpcsvc/%.h)): Make + command non-empty to force make to recheck modification time. + ($(rpcsvc:%.x=$(objpfx)x%.c)): Likewise. -1997-11-13 Andreas Jaeger +1997-06-17 00:26 Andreas Schwab - * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave - wrong results for e.g. remquo (3,2, &x)). - * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise. - * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise. + * sysdeps/stub/e_acoshl.c: Set errno to ENOSYS. + * sysdeps/stub/e_acosl.c: Likewise. + * sysdeps/stub/e_asinl.c: Likewise. + * sysdeps/stub/e_atan2l.c: Likewise. + * sysdeps/stub/e_expl.c: Likewise. + * sysdeps/stub/e_fmodl.c: Likewise. + * sysdeps/stub/e_j0l.c: Likewise. + * sysdeps/stub/e_j1l.c: Likewise. + * sysdeps/stub/e_jnl.c: Likewise. + * sysdeps/stub/e_lgammal_r.c: Likewise. + * sysdeps/stub/e_log10l.c: Likewise. + * sysdeps/stub/e_logl.c: Likewise. + * sysdeps/stub/e_powl.c: Likewise. + * sysdeps/stub/e_rem_pio2l.c: Likewise. + * sysdeps/stub/e_sqrtl.c: Likewise. + * sysdeps/stub/k_cosl.c: Likewise. + * sysdeps/stub/k_rem_pio2l.c: Likewise. + * sysdeps/stub/k_sinl.c: Likewise. + * sysdeps/stub/k_tanl.c: Likewise. + * sysdeps/stub/s_atanl.c: Likewise. + * sysdeps/stub/s_erfl.c: Likewise. + * sysdeps/stub/s_exp2.c: Likewise. + * sysdeps/stub/s_exp2f.c: Likewise. + * sysdeps/stub/s_exp2l.c: Likewise. + * sysdeps/stub/s_expm1l.c: Likewise. + * sysdeps/stub/s_log1pl.c: Likewise. + * sysdeps/stub/s_log2l.c: Likewise. -1997-11-18 Andreas Jaeger +1997-06-18 11:46 Ulrich Drepper - * configure.in (ld --version-script): Test if the same symbol - maybe defined in all versions (needed by recent changes to - libc.map and supported with binutils 2.8.1.0.17) and issue warning - if versioning is not supported/enabled. - (bash test): Correct test case. + * sysdeps/libm-ieee754/w_gamma.c: If _LIB_VERSION is _SVID_ compute + result as before last change. + * sysdeps/libm-ieee754/w_gammaf.c: Likewise. + * sysdeps/libm-ieee754/w_gammal.c: Likewise. - * math/libm-test.c: Added counting/reporting of number of test cases. +1997-06-16 23:37 Andreas Schwab - * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required, - use awk instead. + * sysdeps/libm-ieee754/s_remquo.c: Fix off-by-one when computing + quotient. + * sysdeps/libm-ieee754/s_remquof.c: Likewise. + * sysdeps/libm-ieee754/s_remquol.c: Likewise. - * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS. + * sysdeps/m68k/fpu/s_remquo.c: Remove FIXME and special case for + quotient. -1997-11-18 Andreas Jaeger + * sysdeps/libm-ieee754/w_gamma.c: Add missing call to exp + function. Don't use global signgam. + * sysdeps/libm-ieee754/w_gammaf.c: Likewise. + * sysdeps/libm-ieee754/w_gammal.c: Likewise. - * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic. + * math/Makefile (libm-calls): Remove w_gamma_r. + * sysdeps/libm-ieee754/w_gamma_r.c: Remove file. + * sysdeps/libm-ieee754/w_gammaf_r.c: Remove file. + * sysdeps/libm-ieee754/w_gammal_r.c: Remove file. -1997-11-18 18:04 Ulrich Drepper + * math/libm-test.c (atanh_test): Declare x only if needed. + (signbit_test): Fix typo. + (gamma_test): Check whether function is implemented. Add + epsilons. + (lgamma_test): Likewise. + (fmod_test): Add epsilons. + (exp2_test): Use right function for existence test. - * sysdeps/generic/pty.c: Define REVOKE to use revoke function. - Replace revoke call by use of REVOKE. - * sysdeps/unix/sysv/linux/pty.c: New file. Define REVOKE as - empty and #include generic version. - Suggested by Zack Weinberg . +1997-06-07 09:20 Andreas Schwab -1997-11-18 16:02 Ulrich Drepper + * sysdeps/powerpc/Dist: Add fenv_const.c. + * sysdeps/unix/sysv/linux/Dist: Add net/if_slip.h. + * sysdeps/unix/sysv/linux/powerpc/Dist: Add init-first.h and + syscall.h. + * sysdeps/unix/sysv/linux/sparc/Dist: Add init-first.h. + * string/Makefile (distribute): Add tst-svc.expect. + * nis/Makefile (distribute): Add nis_intern.h and Banner. + * elf/Makefile (distribute): Add dl-hash.h. + * Rules (subdir_echo-distinfo): Add headers from $(distribute). - * libc.map: Add socket functions with __libc_* names. - Reported by Andreas Jaeger. + * login/Makefile (others): Add utmpdump. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add + net/if_slip.h. -1997-11-18 Andreas Jaeger + * manual/Makefile (dir-add.texi): Also look in indirectly included + files. - * libc.map: Tidy up (remove duplicates, sort entries). +1997-06-16 23:15 Andreas Schwab -1997-11-18 Andreas Jaeger + * sysdeps/unix/sysv/linux/configure.in: Remove commands to + generate stdio_lim.h. + * sysdeps/unix/sysv/linux/mk-stdiolim.c: Remove. + * sysdeps/unix/sysv/linux/Makefile: Add rules to generate + stdio_lim.h here. + (common-generated): Add generated files. + (inhibit-stdio_lim): Define. + * sysdeps/posix/Makefile [$(inhibit-stdio_lim)=yes]: Disable rules + to generate stdio_lim.h. + + * sysdeps/unix/sysv/linux/Makefile: Suppress inclusion of + dependecy files if no_deps is set. + ($(objpfx)syscall-%.d): Add header file as target to dependency + generation. + +1997-06-14 19:19 Andreas Schwab + + * sysdeps/unix/sysv/linux/arm/Dist: New file. + +1997-06-14 17:59 Andreas Schwab + + * extra-lib.mk (others): Depend on versioned shared library, not + the unversioned one. + * Makerules (build-shlib): Don't make the version link here. + ($(common-objpfx)libc.so$(libc.so-version)): New rule for libc + version link. + +1997-06-16 03:07 Ulrich Drepper - * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS. + * sysdeps/libm-ieee754/k_standard.c: Undo change of Tue Aug 6 + 01:13:56 1996. -1997-11-18 06:45 Ulrich Drepper +1997-06-16 00:54 Ulrich Drepper - * sysdeps/generic/pty.c: Make thread safe. Fix bug when calling - again after successful call. - Patch by Marc Lehmann . + * libc.map: Add more symbols. -1997-11-17 Paul Eggert + * Makerules (load-map-file): Currectly handle missing map file. - * time/mktime.c, time/strftime.c (_REENTRANT): #define, - as some hosts need this to declare localtime_r properly. +1997-06-15 17:00 Philip Blundell -1997-11-18 06:08 Ulrich Drepper + * configure.in: Correct detection of generic uname implementation. - * libc.map: Add iconv_open, iconv, and iconv_close. +1997-06-15 23:19 Ulrich Drepper -1997-11-18 02:31 Ulrich Drepper + * math/libm-test.c: Fix typos. Patch by Andreas Jaeger. - * iconv/Makefile: New file. - * iconv/gconv.c: New file. - * iconv/gconv.h: New file. - * iconv/gconv_builtin.c: New file. - * iconv/gconv_builtin.h: New file. - * iconv/gconv_close.c: New file. - * iconv/gconv_conf.c: New file. - * iconv/gconv_db.c: New file. - * iconv/gconv_dl.c: New file. - * iconv/gconv_open.c: New file. - * iconv/gconv_simple.c: New file. - * iconv/iconv.c: New file. - * iconv/iconv.h: New file. - * iconv/iconv_close.c: New file. - * iconv/iconv_open.c: New file. - * include/gconv.h: New file. + * libc.map: Add __nss_configure_lookup. Reported by Thorsten Kukuk. - * Makeconfig: Define gconvdir. - * Makefile (subdirs): Add iconv. +1997-06-15 00:43 Ulrich Drepper - * string/bits/string2.h: Add optimization for strtok_r. + * Makeconfig: Define libc-map here. + * Makefile: And remove definition here. + * Makerules (load-map-file): Handle case where map file is in + other directory. + (build-shlib): Likewise. - * sysdeps/generic/_G_config.h: Define __need_NULL to get definition - for NULL. - * sysdeps/unix/sysv/linux/_G_config.h: Likewise. - Reported by H.J. Lu . + * libc.map: Add more symbols. + * resolv/libresolv.map: Likewise. - * configure.in: Correct test for bash2. + * db/libdb.map: Add __dbopen. Patch by HJ Lu. + + * libio/stdio.h: Remove "optmizations" for vfscanf and vsscanf. + + * locale/programs/localedef.c: Add normalize_codeset function. We + don't want to use the _nl_normalize_codeset functions from libc. + + * sysdeps/libm-i387/s_asinh.S: Handle +-Inf and NaN correctly. + * sysdeps/libm-i387/s_asinhf.S: Likewise. + * sysdeps/libm-i387/s_asinhl.S: Likewise. + * sysdeps/libm-i387/s_nearbyint.S: Correctly leave function. + * sysdeps/libm-i387/s_nearbyintf.S: Likewise. + * sysdeps/libm-i387/s_nearbyintl.S: Likewise. + +1997-06-14 12:45 Thorsten Kukuk + + * nis/nss_nis/nis-ethers.c: Add static to internal_nis_setetherent. + + * nis/nss_nis/nis-proto.c: Add static to internal_nis_setprotoent. + + * nis/nss_nisplus/nisplus-hosts.c: Rewrite parser and fix + _nss_nisplus_gethostbyaddr_r interface. + + * nis/libnsl.map: Add all GLOBAL functions. + +1997-06-13 18:32 Andreas Jaeger + + * libm-test.c (main): Call new tests, reorder tests. + (fmod_test): Test function fmod. + (nearbyint_test): Test function nearbyint. + (acos_test): Add more test cases. + (signbit_test): Test macro signbit. + (output_result_bool): Output result if test fails. + (asin_test): Add another test case. + (atan2_test): Add more tests. + (asinh_test): Add more tests. + (atanh_test): Add more tests. + (hypot_test): Add more tests. + (isfinite_test): Test macro isfinite. + (isnormal_test): Test macro isnormal. + (sincos_test): Tests for sincos. + (main): Enable remquo_test since the tests are + correct (according to ANSI/IEEE 754-1985). + (remquo_test): Corrected tests cases and added more tests. + (remainder_test): Tests for remainder. + (check_int): New Function to compare int values. + (check_isnan_exc_ext): New function. + (sqrt_test): Add some extra tests for sqrt. + (erf_test): Tests for erf. + (erfc_test): Tests for erfc. + (gamma_test): Tests for gamma. + (lgamma_test): Tests for lgamma. + +1997-06-08 10:54 H.J. Lu + + * sysdeps/unix/sysv/linux/configure.in: Try to generate + stdio_lim.h using the target C preprocessor and mk-stdiolim.c. + * sysdeps/unix/sysv/linux/stdio_lim.h.in: New, template for + stdio_lim.h. + * sysdeps/unix/sysv/linux/mk-stdiolim.c: New, used by the + target C preprocessor to extract OPEN_MAX and PATH_MAX. + +1997-06-14 17:32 Andreas Jaeger + + * math/libm.map: Add inline functions, global variables. + +1997-06-14 00:39 Ulrich Drepper + + * libc.map: Add more libio functions which are used in libio.h. + + * login/Makefile (libutil-routines): Move updwtmp to ... + (routines): ...here. + Suggested by Mark Kettenis . + + * sysdeps/stub/s_erfl.c: Add stub definition of erfcl. + Reported by Andreas Jaeger . + +1997-06-13 21:10 Thorsten Kukuk + + * nis/nis_add.c (nis_add): Create object name only if not set. + + * nis/nis_clone.c: Use calloc instead of malloc to prevent + RPC encode errors. + + * nis/nis_modify.c (nis_modify): Create default object entrys if + given are NULL. + * nis/nis/nis_table.c (nis_add_entry, nis_modify_entry): Likewise. + +1997-06-13 14:17 Andreas Jaeger + + + * sysdeps/i386/addmul_1.S: Replace size with sizeP, otherwise the + define might also replace the expanded macro ASM_SIZE_DIRECTIVE. + * sysdeps/i386/submul_1.S: Likewise. + +1997-06-13 12:19 Ulrich Drepper + + * elf/rtld.c: Print version information if LD_TRACE_LOADED_OBJECT + and LD_VERBOSE are given. + + * elf/ldd.sh.in: Add -v|--verbose option. Add author information + as per Coding Standard. + * elf/ldd.bash.in: Likewise. + +1997-06-12 21:22 Ulrich Drepper + + * Makefile (libc-map): Define before including Makerules. + * Makerules (lib%.so): Depend on $(lib%-map). + (build-shlib): Adapt rule for above change. + (libc.so): Depend on $(libc-map). + * db/Makefile (libcdb-map): New definition. + * elf/Makefile (libdl-map): New definition. + * elf/dl-lookup.c: Don't use relative include path. + (undefined_msg): New variable. Use single string in all functions. + (do_lookup): Correctly recognize default version. + Return -2 if no version information is available. + Stop processing hash entries when string was found. + Don't bark about missing versioned symbol in file with original + reference if it is a weak symbol. + (_dl_lookup_symbol): Use undefined_msg. + (_dl_lookup_versioned_symbol): Likewise. + Give extra information if no verdef info is available. + * elf/dl-version.c (file_needed): Remove first argument. We must + seek in the whole search list. + (match_symbol): Correct check for available verdef info. + (_dl_check_map_versions): Correct call of find_needed. + * locale/Makefile (libBrokenLocale-map): New definition. + * login/Makefile (libutil-map): New definition. + * math/Makefile (libm-map): New definition. + * md5-crypt/Makefile (libcrypt-map): New definition. + * nis/Makefile (libnsl-map, libnss_compat-map, libnss_nis-map, + libnss_nisplus-map): New definition. + * nss/Makefile (libnss_files-map, libnss_db-map): New definitions. + * resolv/Makefile (libresolv-map, libnss_dns-map): New definitions. + * libc.map: New file. + * db/libdb.map: New file. + * elf/libdl.map: New file. + * locale/libBrokenLocale.map: New file. + * login/libutil.map: New file. + * math/libm.map: New file. + * md5-crypt/libcrypt.map: New file. + * nis/libnss_compat.map: New file. + * nis/libnsl.map: New file. + * nis/libnss_nis.map: New file. + * nis/libnss_nisplus.map: New file. + * nss/libnss_files.map: New file. + * nss/libnss_db.map: New file. + * resolv/libnss_dns.map: New file. + * resolv/libresolv.map: New file. + + * sysdeps/i386/dl-machine.h (elf_machine_rel): Don't do anything + for R_386_NONE entries. + + * Makefile (manual/dir-add.info): New rule. + + * Makerules: Add vpath definition for .x files. + + * Makerules (distinfo): Make sure target directory exists. + + * argp/argp-help.c (argp_args_usage): Don't modify `fdoc' value + since it is used to distinguish filtered strings from unmodifed + strings. + + * elf/dl-lookup.c (do_lookup): Optimize STT_* recognition. + * elf/dl-reloc.c: Fix typo. + + * inet/arpa/tftp.h (struct tftphdr): Change type of tu_block to + `unsigned short'. + + * manual/Makefile (dir-add.texi): Also emit wrapper text for + info/install-info. + (distribute): Add dir-add.texi and dir-add.info. + (mostlyclean): Add dir-add.info. + (realclean): Add dir-add.texi. + (install): Add entries in `dir' file using install-info. + + * manual/libc.texinfo: Add @dircategory and @direntry text. + Reported by Miles Bader . + + * manual/pattern.texi: Correct description of GLOB_MAGCHAR and + GLOB_NOMAGIC. Changes by Roland McGrath . + + * nis/nis_addmember.c: Little optimizations. + * nis/nis_call.c: Likewise. + * nis/nis_creategroup.c: Likewise. + * nis/nis_defaults.c: Likewise. + * nis/nis_destroygroup.c: Likewise. + * nis/nis_ismember.c: Likewise. + * nis/nis_local_names.c: Likewise. + * nis/nis_print_group_entry.c: Likewise. + * nis/nis_verifygroup.c: Likewise. + + * posix/unistd.h: Fix comment for getcwd. + + * stdlib/Makefile (headers): Remove inttypes.h. It's a system + dependent header. + * sysdeps/wordsize-32/Dist: New file. + * sysdeps/wordsize-32/Makefile: New file. + * sysdeps/wordsize-64/Dist: New file. + * sysdeps/wordsize-64/Makefile: New file. + + * sunrpc/Makefile: Adopt comment for real situation. + + * sysdeps/i386/add_n.S: Add ASM_TYPE_DIRECTIVE and AS_SIZE_DIRECTIVE. + * sysdeps/i386/addmul_1.s: Likewise. + * sysdeps/i386/lshist.s: Likewise. + * sysdeps/i386/rshift.s: Likewise. + * sysdeps/i386/sub_n.s: Likewise. + * sysdeps/i386/submul_1.s: Likewise. + + * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER): + Add .type and .size. + +1997-06-12 13:32 Philip Blundell + + * libc/sysdeps/unix/arm/brk.S: New file. + * libc/sysdeps/unix/arm/sysdep.S: Likewise. + * libc/sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise. + +1997-06-11 11:51 Thorsten Kukuk + + * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_parse_spent): + Check if we have shadow information. + +1997-06-08 19:33 Thorsten Kukuk + + * nis/nis_getservlist.c (nis_getservlist): Use calloc instead of + malloc, alloc memory for nis_server struct. + * nis/nis_getservlist.c (nis_freeservlist): Give the memory for + the nis_server struct free, too. + + * nis/nis_removemember (nis_removemember): Fix for loop. + +1997-06-12 12:45 Ulrich Drepper + + * sysdeps/i386/fpu/__math.h (__M_SQRT2): Define here since we + cannot rely on M_SQRT2 being defined. + (log1p): Use __M_SQRT2 not M_SQRT2. + * math/math.h (_Mldbl): Define even if M_* constants are not + defined. + Reported by corsepiu@faw.uni-ulm.de. + +1997-06-12 03:08 Philip Blundell + + * nss/getXXbyYY_r.c (do_weak_alias): Remove extra parentheses. + +1997-06-11 13:22 Ulrich Drepper + + * misc/regexp.h (compile): Allow use of macro INIT for variable + declaration. Add documentation for INIT. + Reported by Robert Bihlmeyer . + +1997-06-11 10:47 Philip Blundell + + * sysdeps/unix/sysv/linux/net/if_arp.h: Add two new hardware types. + +1997-06-10 11:31 H.J. Lu + + * sysdeps/powerpc/strlen.s: Use -0x101 instead of 0xfffffeff + for a signed 16-bit value. + +1997-06-07 07:54 H.J. Lu + + * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c + (_dl_sysdep_read_whole_file): Deleted. + + * sysdeps/powerpc/fenvbits.h (__FE_ALL_INVALID): Changed + to FE_ALL_INVALID. + + * sysdeps/powerpc/fraiseexcpt.c (__FE_INVALID_SOFTWARE): + Changed to FE_INVALID_SOFTWARE. + (__FPSCR_STICKY_BITS): Changed to FPSCR_STICKY_BITS. + + * sysdeps/libm-ieee754/s_fmin.c: Fix a typo. + +1997-06-07 18:48 H.J. Lu + + * shlib-versions (.*-.*-linux.*): Set libc to 6. + +1997-06-08 15:35 Thorsten Kukuk + + * nis/nis_add.c (nis_add): Use nis_leaf_of_r instead of nis_name_of_r. + + * nis/nis_addmember.c (nis_addmember): Fix a lot of pointer errors. + * nis/nis_clone.c: Likewise. + * nis/nis_removemember.c (nis_removemember): Likewise. + * nis/nis_table.c: Likewise. + + * nis/nss_nis/nis-hosts.c: Use addr, not p for inet_pton call. + * nis/nss_nisplus/nisplus-hosts.c: Likewise. + + * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Check for + group == NULL. + +1997-06-08 21:21 Mark Kettenis + + * login/login.c, login/utmp_daemon.c, login/utmp_file.c, + login/getutent_r.c, login/utmpname.c: Cleanup `#if _LIBC' and + `#ifndef _LIBC' fragments. + + * login/programs/utmpd.c: Define DEFAULT_USER. + (drop_priviliges): Use it. + (main): Set locale and text domain. + + * login/programs/utmpd-private.h: Declare proc_utmp_eq. + * login/programs/database.c (proc_utmp_eq): Removed. + * login/programs/request.c (proc_utmp_eq): Made global. Only use + ut_id field if valid. + + * login/utmp_file.c (proc_utmp_eq): Restore patch made by Miles + Bader that was lost when adding the daemon backend; Only use ut_id + field if valid. + +1997-06-05 23:10 Andreas Schwab + + * sysdeps/unix/sysv/linux/Dist: Remove netatalk/atalk.h and + netinet/icmp.h, add netatalk/at.h. + * sysdeps/unix/sysv/linux/powerpc/Dist: Remove termios.h. + * sysdeps/unix/sysv/linux/sparc/Dist: Remove start.c. + +1997-06-04 19:22 Andreas Schwab + + * stdlib/testsort.c (compare): Fix parameter types. + +1997-06-04 19:05 Andreas Schwab + + * md5-crypt/Makefile (distribute): Fix name of file. + +1997-06-04 19:02 Andreas Schwab + + * login/Makefile (utmpd-routines): Remove utmpd again, which is + already added implicitly through $(others). + +1997-06-05 13:43 Fila Kolodny + + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add netipx/ipx.h. + +1997-06-05 13:25 Andreas Jaeger + + * md5-crypt/md5-crypt.c: Add prototype for __md5_crypt. + +1997-06-05 17:08 Ulrich Drepper + + * string/argz-addsep.c: Correct weak alias. + Reported by Ben Pfaff . + + * locale/setlocale.c (setlocale): Free variable with locale path + before returning. + (setname): Don't test for _nl_current[category] being NULL before + freeing. + Reported by Ben Pfaff . + +1997-06-04 12:41 Andreas Jaeger + + * manual/intro.texi (XPG): Correct some typos. + +1997-06-04 05:09 Miles Bader + + * argp/argp-help.c (_help): Use uparams.usage_indent instead of + the USAGE_INDENT macro. + + * manual/summary.awk: Strip trailing commas from node-names. + + * manual/.cvsignore: Ignore chapters-incl[12] rather than + chapters-incl. + + * manual/Makefile (%.c.texi): Deal with multiple @-commands on a + single line. + + * manual/string.texi (Argz Functions, Envz Functions): Add magic + comments for generating summary.texi. + +1997-06-02 22:18 Miles Bader + + * manual/argp.texi: New file. + * manual/examples/argp-ex1.c, manual/examples/argp-ex2.c, + manual/examples/argp-ex3.c, manual/examples/argp-ex4.c: New files. + * manual/Makefile [chapters] (chapters-incl1): New rule & include. + [chapters-incl1] (chapters-incl2): New rule & include. + (chapters-incl): Set based on $(chapters-incl1) & $(chapters-incl2). + * manual/maint.texi (Contributors): Give myself credit. + +1997-06-01 15:01 Miles Bader + + * manual/getopt.texi: New file. + * manual/startup.texi: Mention argp_parse in places that + previously mentioned only getopt. + Include getopt.texi (now containing all the getopt nodes that used + to be here) and argp.texi. + (Program Arguments): Move parsing bits into the new Parsing + Program Arguments node. + (Parsing Program Arguments): New node. + (Parsing Options, Example of Getopt, Long Options, Long Option + Example): Nodes removed. + * manual/libc.texinfo (Program Arguments): Menu updated. + (Parsing Program Arguments): New menu. + +1997-06-04 20:57 Ulrich Drepper + + * manual/string.texi: Add comments to discourage use of index and + rindex. + (strtok, strsep): Apply function on copy of the strings in example. + (l64a): Add example. + + * posix/unistd.h: Correct value for _POSIX_VERSION. + + * sunrpc/Makefile (defines): Remove definition. + + * sysdeps/ieee754/nan.h: Correct typo. + +1997-06-04 10:50 Fila Kolodny + + * posix/unistd.h: Add definition of __fchdir corresponding to fchdir. + + * login/utmp_daemon.c: Correct location of utmpd.h. + +1997-06-03 19:16 Andreas Schwab + + * Makerules: Rename $(common-objpfx)distinfo-$(subdir) to + $(objpfx)distinfo. + * rpm/Makefile (distinfo): Adapted. + +1997-06-03 18:32 Andreas Schwab + + * rpm/Makefile (install-slib): Collect shared libraries here + instead of in install-lib, including libc. + (instvars): Add slib. + +1997-06-03 18:23 Andreas Schwab + + * login/Makefile (libutil-routines): Add updwtmp. + +1997-06-03 16:16 Andreas Schwab + + * monetary.h: New file, needed for localedata/tst-fmon.c. + +1997-06-02 20:31 Andreas Schwab + + * math/libm-test.c (cpow_test): Add epsilon for long double in + test for 2^10. + (identities): Add epsilon for float in second identity test. + + * sysdeps/m68k/huge_val.h: Change GCC's HUGE_VAL{,F,L} to use + DI and SI mode integers instead of bytes. Fix value of HUGE_VALL. + + * sysdeps/m68k/nan.h: New file. + + * sysdeps/m68k/fpu/__math.h (isgreater, isgreaterequal, isless, + islessequal, islessgreater, isunordered): Fix assembler syntax. + + * sysdeps/m68k/fpu/fraiseexcpt.c: Do it right so that gcc doesn't + optimize out the operations. + + * sysdeps/libm-ieee754/s_nan.c: Use NaN macro instead of static + constant. + * sysdeps/libm-ieee754/s_nanf.c: Likewise. + * sysdeps/libm-ieee754/s_nanl.c: Likewise. + + * math/carg.c [NO_LONG_DOUBLE]: Add alias for long double + function. + * sysdeps/libm-ieee754/s_erf.c: Likewise. + * sysdeps/libm-ieee754/s_fdim.c: Likewise. + * sysdeps/libm-ieee754/s_fmax.c: Likewise. + * sysdeps/libm-ieee754/s_fmin.c: Likewise. + * sysdeps/libm-ieee754/s_log2.c: Likewise. + * sysdeps/libm-ieee754/s_nan.c: Likewise. + * sysdeps/libm-ieee754/s_remquo.c: Likewise. + +1997-06-03 23:42 Ulrich Drepper + + * elf/dl-support.c: Define and initialize _dl_verbose used in + dl-machine.h. + + * io/ftw.c: Expand stat/lstat calls. + + * manual/intro.texi: Also refer to ISO 9945. + Update info about SVID. + Add description for XPG. + + * md5-crypt/md5-crypt.c: Namespace cleanups. + * md5-crypt/md5.c: Likewise. + * md5-crypt/md5.h: Likewise. + * sysdeps/generic/crypt-entry.c: Likewise. + + * posix/unistd.h (_POSIX2_C_VERSION): Set to 199209L. + + * stdlib/fmtmsg.h: Declare addseverity only if __USE_SVID is + defined. + + * sunrpc/rpc_scan.c (findkind): Declare `token' as const. + * sunrpc/rpc_util.c (toktostr): Declare `token' as const. + + * time/Makefile: Make tzselect depend on config.make. + +1997-06-01 15:01 Miles Bader + + * manual/string.texi (String and Array Utilities): Add `Argz and + Envz Vectors' to the menu. + (Argz and Envz Vectors, Argz Functions, Envz Functions): New nodes. + +1997-05-31 20:59 Andreas Schwab + + * login/Makefile (utmpd-routines): Add utmpd. + (extra-objs): Add utmpd objects to get dependencies. + (distribute): Add sources for utmpd. + (subdir-dirs): Define. + +1997-06-02 16:28 Ulrich Drepper + + * sysdeps/wordsize-32/inttypes.h: Include features.h and use + __CONCAT instead of defined __CONCAT__ ourself. + * sysdeps/wordsize-64/inttypes.h: Likewise. + +1997-06-01 19:11 Andreas Schwab + + * sysdeps/wordsize-64/inttypes.h (INTMAX_C): Use `l' suffix, not `ll'. + (PRIdFAST, PRIoFAST, PRIxFAST, PRIuFAST, SCNdFAST, SCNiFAST, + SCNoFAST, SCNxFAST): Correct format specifiers. + +1997-06-02 04:23 Ulrich Drepper + + * sysdeps/unix/syscalls.list: Make fchdir weak alias for __fchdir. + +1997-06-01 19:17 Ulrich Drepper + + * md5-crypt/Makefile: Correct libmd5crypt file to really generate + DES free libcrypt. + * md5-crypt/onlymd5-entry.c: New file. Wrapper around + sysdeps/generic/crypt-entry.c. + +1997-06-01 12:48 Ulrich Drepper + + * sysdeps/unix/sysv/linux/alpha/gnu/types.h (__fd_mask): Change + type to `unsigned long int'. + Patch by Richard Henderson . + +1997-05-30 17:34 Andreas Jaeger + + * sysdeps/generic/bb_init_func.c (__bb_init_func): Use ISO C + declaration style. + + * nss/nss_files/files-hosts.c: Delete inclusion of + "../resolv/mapv4v6hostent.h". + +1997-05-31 02:33 Ulrich Drepper + + * io/ftwtest-sh: More tests. + + * misc/tsearch.c: Rewrite tdestroy_recursive. + + * libio/libio.h: Define bits for libg++-2.8. + +1997-05-30 22:21 Thorsten Kukuk + + * nis/nss_nis/nis-hosts.c: Same changes as in + nss/nss_files/files-hosts.c (Always use inet_pton). + * nis/nss_nisplus/nisplus-hosts.c: Likewise. + +1997-05-30 09:50 Richard Henderson + + * manual/maint.texi: ECOFF hasn't been tested in ages and I don't + plan on doing so ever again. Don't say alpha-linuxecoff is known + to work. + + * elf/dl-lookup.c: Include . + * misc/tsearch.c: Include . + * posix/execle.c: Include . + * posix/execlp.c: Likewise. + * stdio-common/printf_fphex.c: Include . + * sunrpc/xdr.c: Include . + * sysdeps/generic/memccpy.c: Include only . + + * sunrpc/clnt_udp.c (clntudp_call): Make fromlen a size_t to fix + parameters to network functions. + * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise. + * sunrpc/svc_tcp.c (svctcp_create): Likewise with `len'. + (rendezvous_request): Likewise. + * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise. + (svcudp_recv): Similar, but go through a local variable. The old code + used &xprt->xp_addrlen. Someone should determine if the type of the + structure member should be changed instead. + * sunrpc/xdr_rec.c (xdrrec_create): Expunge a ptr->int cast warning + and transform a nonsense for-loop to a closed form calculation. + (fill_input_buf): Another ptr->int warning. + + * sysdeps/alpha/Makefile: Temporarily turn on -mieee globally. This + will last until I figure out how to build a parallel libm_ieee. + + * sysdeps/alpha/fpu/fclrexcpt.c, + * sysdeps/alpha/fpu/fegetenv.c, + * sysdeps/alpha/fpu/fegetround.c, + * sysdeps/alpha/fpu/feholdexcpt.c, + * sysdeps/alpha/fpu/fenvbits.h, + * sysdeps/alpha/fpu/fesetenv.c, + * sysdeps/alpha/fpu/fesetround.c, + * sysdeps/alpha/fpu/feupdateenv.c, + * sysdeps/alpha/fpu/fgetexcptflg.c, + * sysdeps/alpha/fpu/fraiseexcpt.c, + * sysdeps/alpha/fpu/fsetexcptflg.c, + * sysdeps/alpha/fpu/ftestexcept.c: New files. There is, btw, a small + kernel patch that must be applied as of 2.0.31-pre1 and 2.1.41 for + this to work properly. + + * sysdeps/alpha/fpu/fpu_control.h: Update copyright. Change default + FP mode to round to nearest, no exceptions as for Intel. + * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Add copyright. + (rdfpcr): Use excb rather than trapb. Be more efficient about + getting at the fpcr. + (wrfpcr): Likewise. + (__setfpucw): Reformat. + + * sysdeps/ieee754/huge_val.h: Change GCC's HUGE_VAL definition to use + a single DI-mode integer instead of bytes. This produces better code + on Alpha. Similar for HUGE_VALF. + * sysdeps/ieee754/nan.h: Similar for NAN. Add NANF and NANL. + + * sysdeps/libm-ieee754/s_log2.c: Missing */ and weak_alias. + + * sysdeps/unix/alpha/sysdep.S: Tiny cleanups. + * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/brk.S: Don't use jmp macro to make + sure the stack frame is released the very instruction before the + real jump out. + * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise. + + * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Undef some bits we may + have gotten from . + + * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add definition for Miata. + +1997-05-30 13:05 Ulrich Drepper + + * misc/tst-tsearch.c (mangle_tree): Update casts to prevent + warnings. + +1997-05-29 14:02 Andreas Schwab + + * sysdeps/unix/sysv/linux/sys/ttydefaults.h (CEOL, CSTATUS): Use + correct value for _POSIX_VDISABLE. + +1997-05-29 13:59 Andreas Schwab + + * Makefile (manual/dir-add.texi): Force execution. + +1997-05-29 13:57 Andreas Schwab + + * sysexits.h: New file. + +1997-05-29 13:55 Andreas Schwab + + * stdlib/strfmon.c: Don't run past EOS after `='. + +1997-05-29 12:48 Ulrich Drepper + + * io/ftw.c: Complete rewrite. Add implementation of `nftw'. + * io/ftw.h: Update for new implementation and XPG4.2. + * io/Makefile (test-srcs): Add ftwtest. + (distribute): Add ftwtest-sh. + (tests): Call ftwtest-sh for this goal. + * io/ftwtest-sh: New file. Sets up test environment, calls test + program and compares the result. + * io/ftwtest.c: Test program for ftw. + + * misc/search.h: Add comments. Declare tdestroy. + * misc/tsearch.c (tdestroy): New function. + + * login/Makefile: Update for UTMP daemon implementation. + + Update resolver code to bind-4.9.6-T1A. + * resolv/Banner: Update. + * nss/digits_dots.c: Adapt text address matching to T1A. + * nss/nss_files/files-hosts.c: Always use inet_pton. + * resolv/base64.c (b64_pton): Follow T1A but don't use this code since + it would lead to warnings. + * resolv/gethnamaddr.c (getanswer): Test host name for maximal length + at several places. + * resolv/inet_net_pton.c (inet_net_pton_ipv4): Correct typo in comment. + * resolv/res_comp.c (dn_expand): Check for overflow. + (dn_comp): Likewise. + * resolv/res_debug.c (precsize_aton): Better implementation. + * resolv/res_init.c (res_init): Make `buf' of size MAXDNAME. + * resolv/res_send.c (res_send): Check for overflow in descriptor set. + * resolv/nss_dns/dns-host.c (getanswer_r): Test host name for maximal + length at several places. + +1997-05-29 12:51 Mark Kettenis + + * login/utmp-private.h (struct utfuncs): Add one more parameter + to updwtmp function. + Declare all three function jump tables. + * login/utmp.h: Declare __utmpname. + * login/getutent_r.c: Remove db backend and provide support for + utmpd backend. + * login/login.c: Use `updwtmp' function insteead of writing the + record ourself. + * login/logwtmp.c: Move `updwtmp' function to... + * login/updwtmp.c: ...here. New file. + * login/utmp_db.h: Removed. + * login/utmp_file.c: Add updwtmp function to write to file. + * login/utmp_daemon.c: New file. Daemon backend. + * login/utmpname.c: New file. Implementation of utmpname function. + * login/utmpdump.c: New file. Tool to dump utmp-like files. + * login/utmpd/connection.c: New file. + * login/utmpd/database.c: New file. + * login/utmpd/error.c: New file. + * login/utmpd/request.c: New file. + * login/utmpd/utmpd-private.h: New file. + * login/utmpd/utmpd.c: New file. + * login/utmpd/utmpd.h: New file. + * login/utmpd/xtmp.c: New file. + * login/utmpd/xtmp.h: New file. + +1997-05-29 12:28 Jim Meyering + + * time/strftime.c: Correct/normalize indentation in cpp directives. + +1997-05-28 20:43 Philip Blundell + + * nis/nis_error.c: Include to fix warning. + * nis/nis_print.c: Likewise. + * nis/nss_nisplus/nisplus-hosts.c: Arg 3 of map_v4v6_hostent + is int* not size_t*. + +1997-05-28 21:56 Andreas Jaeger + + * math/cmathcalls.h: Correct typo in comment. + + * inet/netinet/icmp6.h: Include for in6_addr. + + * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Include for + IFNAMSIZ. + + * sysdeps/unix/sysv/linux/net/ppp_defs.h: Include for + time_t. + + * login/pty.h: Include for definition of struct + winsize. + + * misc/regexp.h (compile): Correct typo. + + * argp/argp.h: Put extern before __const in defintion of + argp_program_bug_address. + +1997-05-29 00:20 Ulrich Drepper + + * sysdeps/wordsize-32/inttypes.h: Correct names of unsigned fast + and least types. Correct names of ?INT_FAST*_{MIN,MAX} macros. + * sysdeps/wordsize-64/inttypes.h: Likewise. + Reported by Andreas Jaeger . + +1997-05-28 22:51 Ulrich Drepper + + * sysdeps/unix/Makefile (make-ioctls-CFLAGS): Use generic + ttydefaults.h file instead of non-existing version in termios/sys. + Reported by Zack Weinberg . + + * time/strptime.c (strptime_internal, case 'Y'): Restrict year + number to four digits and to representable range for 4 byte time_t + values. + Patch by H.J. Lu . + +1997-05-28 18:19 Philip Blundell + + * posix/execl.c: Include to avoid warning. + +1997-05-27 18:19 Andreas Jaeger + + * math/libm-test.c: Implement testing of inlined functions, make + output nicer, update comments. + + * math/test-idouble.c: New file. Frontend for double tests of + inlined functions. + * math/test-ildoubl.c: New file. Frontend for long double tests of + inlined functions. + * math/test-ifloat.c: New file. Frontend for float tests of + inlined functions. + + * math/test-longdouble.c: Rename to... + * math/test-ldouble.c: ...this. + + * math/Makefile: Add rules for new test programs, change rules for + renaming of longdouble test. + +1997-05-20 15:50 H.J. Lu + + * sunrpc/rpc/svc.h (__dispatch_fn_t): New. + (svc_register): Use __dispatch_fn_t in prototype. + +1997-05-28 17:02 Ulrich Drepper + + * sysdeps/generic/bzero.c (bzero): Fix typo. + Patch by Witek Wnuk . + +1997-05-27 12:00 Andreas Jaeger + + * sysdeps/generic/vtimes.c: Use ISO C declaration style. + + * sysdeps/unix/bsd/ualarm.c: Include for prototype. + + * sysdeps/generic/memccpy.c: Include for prototype. + + * signal/tst-signal.c (handler): Correct function declaration to + avoid warning. + * stdlib/testsort.c (compare): Likewise. + * string/tester.c: Likewise. + +1997-05-27 14:16 Miles Bader + + * argp/argp-help.c (argp_args_usage): Supply correct argp to + filter_doc. + +1997-05-27 17:51 Andreas Schwab + + * db/hash/extern.h, db/hash/hash.c, db/hash/hash.h, + db/hash/hash_log2.c: Rename __log2 to __hash_log2 to avoid clash + with libm. + +1997-05-27 14:47 Andreas Schwab + + * sysdeps/m68k/fpu/e_atan2.c: Fix missing negate. Use __m81_test + instead of explicit comparisons. + +1997-05-26 18:36 Andreas Schwab + + * inet/netinet/icmp6.h: Remove use of which has no + place in a generic header and is no user include file. + +1997-05-27 02:20 Ulrich Drepper + + * stdio/obstream.c (obstack_printf): Fix bug in + de-ansidecl-fication. Patch by Zack Weinberg . - * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts. - (CFLAGS-locfile.c): Likewise. - Suggested by Zack Weinberg . +1997-05-26 22:51 Ulrich Drepper - * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for - non-existing entry if the table is full. + * configure.in: Use AC_PROG_CC_LOCAL instead of AC_PROC_CC. + * aclocal.m4: Add AC_PROG_CC_LOCAL which does not fail for + environments in which linking is not possible at configure time + (since te libc is just build). + Based on patches by Marcus G. Daniels . - * posix/regex.h: Pretty print. + * time/scheck.c (scheck): Make 2nd parameter const. + * time/private.h: Likewise. - * stdio-common/printf_fp.c: Don't define NDEBUG if already defined. +1997-05-26 18:58 Ulrich Drepper - * sysdeps/posix/ctermid.c: Simplify a bit. + * stdlib/random_r.c (__initstate_r): Initialize randomizer type in + state array only at right place. + Reported by Sven Verdoolaege . - * sysdeps/unix/sysv/linux/net/if.h: Pretty print. + * stdlib/erand48_r.c (__erand48_r): Don't generate numbers in + [0.5,1.0) but really in [0.0, 1.0). + Patch by Oliver Gathmann . -1997-11-17 Andreas Jaeger +1997-05-22 12:50 Eric Delaunay - * sysdeps/unix/sysv/linux/sys/quota.h: Add include for - instead of . + * shlib-versions: Provide Linux/SPARC defaults. -1997-11-16 Andreas Schwab +1997-05-26 15:00 Matthias Urlichs - * math/libm-test.c (asin_test): Add epsilon for asin (0.5). + * stdlib/strtod_l.c: Add missing #include . + * stdlib/strtof_l.c: Likewise. + * stdlib/strtol_l.c: Likewise. + * stdlib/strtold_l.c: Likewise. + * stdlib/strtoll_l.c: Likewise. + * stdlib/strtoul_l.c: Likewise. + * stdlib/strtoull_l.c: Likewise. -1997-11-16 17:09 H.J. Lu +1997-05-26 02:42 Zack Weinberg - * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen, - fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0. - (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1. - (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose, - fclose): Added to GLIBC_2.1. + * hurd/dtable.c: De-ansidecl-fy. + * math/test-math.c: Likewise. + * signal/tst-signal.c: Likewise. + * stdio/getc.c: Likewise. + * stdio/obstream.c: Likewise. + * stdio/putc.c: Likewise. + * stdio-common/bug1.c: Likewise. + * stdio-common/bug2.c: Likewise. + * stdio-common/bug6.c: Likewise. + * stdio-common/fscanf.c: Likewise. + * stdlib/testsort.c: Likewise. + * string/tester.c: Likewise. + * sysdeps/am29k/ffs.c: Likewise. + * sysdeps/generic/bb_init_func.c: Likewise. + * sysdeps/generic/bcopy.c: Likewise. + * sysdeps/generic/bzero.c: Likewise. + * sysdeps/generic/div.c: Likewise. + * sysdeps/generic/ffs.c: Likewise. + * sysdeps/generic/memccpy.c: Likewise. + * sysdeps/generic/memcpy.c: Likewise. + * sysdeps/generic/memmove.c: Likewise. + * sysdeps/generic/memset.c: Likewise. + * sysdeps/generic/vfork.c: Likewise. + * sysdeps/generic/vtimes.c: Likewise. + * sysdeps/i386/bzero.c: Likewise. + * sysdeps/i386/ffs.c: Likewise. + * sysdeps/i960/ffs.c: Likewise. + * sysdeps/m68k/ffs.c: Likewise. + * sysdeps/m88k/ffs.c: Likewise. + * sysdeps/mach/hurd/_exit.c: Likewise. + * sysdeps/mach/hurd/accept.c: Likewise. + * sysdeps/mach/hurd/access.c: Likewise. + * sysdeps/mach/hurd/adjtime.c: Likewise. + * sysdeps/mach/hurd/bind.c: Likewise. + * sysdeps/mach/hurd/brk.c: Likewise. + * sysdeps/mach/hurd/chdir.c: Likewise. + * sysdeps/mach/hurd/chflags.c: Likewise. + * sysdeps/mach/hurd/chmod.c: Likewise. + * sysdeps/mach/hurd/chown.c: Likewise. + * sysdeps/mach/hurd/chroot.c: Likewise. + * sysdeps/mach/hurd/close.c: Likewise. + * sysdeps/mach/hurd/connect.c: Likewise. + * sysdeps/mach/hurd/defs.c: Likewise. + * sysdeps/mach/hurd/dup2.c: Likewise. + * sysdeps/mach/hurd/execve.c: Likewise. + * sysdeps/mach/hurd/fchdir.c: Likewise. + * sysdeps/mach/hurd/fchflags.c: Likewise. + * sysdeps/mach/hurd/fchmod.c: Likewise. + * sysdeps/mach/hurd/fchown.c: Likewise. + * sysdeps/mach/hurd/fcntl.c: Likewise. + * sysdeps/mach/hurd/fdopen.c: Likewise. + * sysdeps/mach/hurd/flock.c: Likewise. + * sysdeps/mach/hurd/fsync.c: Likewise. + * sysdeps/mach/hurd/ftruncate.c: Likewise. + * sysdeps/mach/hurd/getdtsz.c: Likewise. + * sysdeps/mach/hurd/getegid.c: Likewise. + * sysdeps/mach/hurd/geteuid.c: Likewise. + * sysdeps/mach/hurd/getgid.c: Likewise. + * sysdeps/mach/hurd/getgroups.c: Likewise. + * sysdeps/mach/hurd/gethostid.c: Likewise. + * sysdeps/mach/hurd/gethostname.c: Likewise. + * sysdeps/mach/hurd/getitimer.c: Likewise. + * sysdeps/mach/hurd/getlogin.c: Likewise. + * sysdeps/mach/hurd/getpeername.c: Likewise. + * sysdeps/mach/hurd/getpgid.c: Likewise. + * sysdeps/mach/hurd/getpid.c: Likewise. + * sysdeps/mach/hurd/getppid.c: Likewise. + * sysdeps/mach/hurd/getsockname.c: Likewise. + * sysdeps/mach/hurd/getsockopt.c: Likewise. + * sysdeps/mach/hurd/getuid.c: Likewise. + * sysdeps/mach/hurd/ioctl.c: Likewise. + * sysdeps/mach/hurd/isatty.c: Likewise. + * sysdeps/mach/hurd/link.c: Likewise. + * sysdeps/mach/hurd/listen.c: Likewise. + * sysdeps/mach/hurd/lseek.c: Likewise. + * sysdeps/mach/hurd/mkdir.c: Likewise. + * sysdeps/mach/hurd/open.c: Likewise. + * sysdeps/mach/hurd/pipe.c: Likewise. + * sysdeps/mach/hurd/read.c: Likewise. + * sysdeps/mach/hurd/readlink.c: Likewise. + * sysdeps/mach/hurd/reboot.c: Likewise. + * sysdeps/mach/hurd/recv.c: Likewise. + * sysdeps/mach/hurd/recvfrom.c: Likewise. + * sysdeps/mach/hurd/rename.c: Likewise. + * sysdeps/mach/hurd/rewinddir.c: Likewise. + * sysdeps/mach/hurd/rmdir.c: Likewise. + * sysdeps/mach/hurd/sbrk.c: Likewise. + * sysdeps/mach/hurd/seekdir.c: Likewise. + * sysdeps/mach/hurd/select.c: Likewise. + * sysdeps/mach/hurd/setegid.c: Likewise. + * sysdeps/mach/hurd/seteuid.c: Likewise. + * sysdeps/mach/hurd/setgid.c: Likewise. + * sysdeps/mach/hurd/setgroups.c: Likewise. + * sysdeps/mach/hurd/sethostid.c: Likewise. + * sysdeps/mach/hurd/sethostname.c: Likewise. + * sysdeps/mach/hurd/setlogin.c: Likewise. + * sysdeps/mach/hurd/setpgid.c: Likewise. + * sysdeps/mach/hurd/setregid.c: Likewise. + * sysdeps/mach/hurd/setreuid.c: Likewise. + * sysdeps/mach/hurd/setrlimit.c: Likewise. + * sysdeps/mach/hurd/setsid.c: Likewise. + * sysdeps/mach/hurd/setsockopt.c: Likewise. + * sysdeps/mach/hurd/settimeofday.c: Likewise. + * sysdeps/mach/hurd/setuid.c: Likewise. + * sysdeps/mach/hurd/shutdown.c: Likewise. + * sysdeps/mach/hurd/sigaction.c: Likewise. + * sysdeps/mach/hurd/sigaltstack.c: Likewise. + * sysdeps/mach/hurd/sigpending.c: Likewise. + * sysdeps/mach/hurd/sigprocmask.c: Likewise. + * sysdeps/mach/hurd/sigstack.c: Likewise. + * sysdeps/mach/hurd/sigsuspend.c: Likewise. + * sysdeps/mach/hurd/socket.c: Likewise. + * sysdeps/mach/hurd/socketpair.c: Likewise. + * sysdeps/mach/hurd/stdio_init.c: Likewise. + * sysdeps/mach/hurd/symlink.c: Likewise. + * sysdeps/mach/hurd/sync.c: Likewise. + * sysdeps/mach/hurd/sysd-stdio.c: Likewise. + * sysdeps/mach/hurd/telldir.c: Likewise. + * sysdeps/mach/hurd/truncate.c: Likewise. + * sysdeps/mach/hurd/umask.c: Likewise. + * sysdeps/mach/hurd/unlink.c: Likewise. + * sysdeps/mach/hurd/wait4.c: Likewise. + * sysdeps/mach/hurd/utimes.c: Likewise. + * sysdeps/mach/hurd/write.c: Likewise. + * sysdeps/mach/adjtime.c: Likewise. + * sysdeps/mach/gettimeofday.c: Likewise. + * sysdeps/mach/usleep.c: Likewise. + * sysdeps/mips/__longjmp.c: Likewise. + * sysdeps/posix/clock.c: Likewise. + * sysdeps/posix/ctermid.c: Likewise. + * sysdeps/posix/defs.c: Likewise. + * sysdeps/posix/dup.c: Likewise. + * sysdeps/posix/libc_fatal.c: Likewise. + * sysdeps/posix/stdio_init.c: Likewise. + * sysdeps/rs6000/ffs.c: Likewise. + * sysdeps/sparc/e_sqrt.c: Likewise. + * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise. + * sysdeps/standalone/i386/force_cpu386/brdinit.c: Likewise. + * sysdeps/standalone/i386/force_cpu386/console.c: Likewise. + * sysdeps/standalone/i960/nindy960/_exit.c: Likewise. + * sysdeps/standalone/i960/nindy960/brdinit.c: Likewise. + * sysdeps/standalone/i960/nindy960/console.c: Likewise. + * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise. + * sysdeps/standalone/m68k/m68020/mvme136/brdinit.c: Likewise. + * sysdeps/standalone/brk.c: Likewise. + * sysdeps/stub/_exit.c: Likewise. + * sysdeps/stub/brdinit.c: Likewise. + * sysdeps/stub/console.c: Likewise. + * sysdeps/stub/defs.c: Likewise. + * sysdeps/stub/errlist.c: Likewise. + * sysdeps/stub/libc_fatal.c: Likewise. + * sysdeps/stub/siglist.c: Likewise. + * sysdeps/stub/stdio_init.c: Likewise. + * sysdeps/stub/strtsupp.c: Likewise. + * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Likewise. + * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Likewise. + * sysdeps/unix/bsd/bsd4.4/wait3.c: Likewise. + * sysdeps/unix/bsd/sun/sunos4/tcflow.c: Likewise. + * sysdeps/unix/bsd/sun/sunos4/tcflush.c: Likewise. + * sysdeps/unix/bsd/sun/sunos4/tcgetattr.c: Likewise. + * sysdeps/unix/bsd/sun/sunos4/tcsendbrk.c: Likewise. + * sysdeps/unix/bsd/sun/sunos4/wait4.c: Likewise. + * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: Likewise. + * sysdeps/unix/bsd/bsdstat.h: Likewise. + * sysdeps/unix/bsd/clock.c: Likewise. + * sysdeps/unix/bsd/gtty.c: Likewise. + * sysdeps/unix/bsd/init-posix.c: Likewise. + * sysdeps/unix/bsd/setgid.c: Likewise. + * sysdeps/unix/bsd/setrgid.c: Likewise. + * sysdeps/unix/bsd/setruid.c: Likewise. + * sysdeps/unix/bsd/setuid.c: Likewise. + * sysdeps/unix/bsd/stty.c: Likewise. + * sysdeps/unix/bsd/telldir.c: Likewise. + * sysdeps/unix/bsd/ualarm.c: Likewise. + * sysdeps/unix/common/glue-ctype.c: Likewise. + * sysdeps/unix/sparc/start.c: Likewise. + * sysdeps/unix/sysv/irix4/fpathconf.c: Likewise. + * sysdeps/unix/sysv/irix4/getgroups.c: Likewise. + * sysdeps/unix/sysv/irix4/getrusage.c: Likewise. + * sysdeps/unix/sysv/irix4/pathconf.c: Likewise. + * sysdeps/unix/sysv/irix4/setgroups.c: Likewise. + * sysdeps/unix/sysv/irix4/sigtramp.c: Likewise. + * sysdeps/unix/sysv/irix4/start.c: Likewise. + * sysdeps/unix/sysv/irix4/sysconf.c: Likewise. + * sysdeps/unix/sysv/sco3.2.4/__setpgid.c: Likewise. + * sysdeps/unix/sysv/sco3.2.4/getgroups.c: Likewise. + * sysdeps/unix/sysv/sysv4/__getpgid.c: Likewise. + * sysdeps/unix/sysv/sysv4/__setpgid.c: Likewise. + * sysdeps/unix/sysv/sysv4/ftruncate.c: Likewise. + * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise. + * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise. + * sysdeps/unix/sysv/sysv4/sethostname.c: Likewise. + * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise. + * sysdeps/unix/sysv/sysv4/setsid.c: Likewise. + * sysdeps/unix/sysv/gethostname.c: Likewise. + * sysdeps/unix/sysv/tcgetpgrp.c: Likewise. + * sysdeps/unix/sysv/tcsetpgrp.c: Likewise. + * sysdeps/unix/alarm.c: Likewise. + * sysdeps/unix/make_errlist.c: Likewise. + * sysdeps/unix/rewinddir.c: Likewise. + * sysdeps/unix/seekdir.c: Likewise. + * sysdeps/unix/time.c: Likewise. + * sysdeps/unix/utime.c: Likewise. + * sysdeps/vax/__longjmp.c: Likewise. + * sysdeps/vax/memccpy.c: Likewise. + * time/strftime.c: Likewise. - * libio/Makefile (routines, shared-only-routines): Add - oldiofclose. Remove oldfreopen. +1997-05-25 21:57 Miles Bader - * libio/freopen.c (freopen): When PIC is defined, call - _IO_old_freopen () for old stdio. + * argp/argp-parse.c (parser_init): For the special case where no + parsing function is supplied for an argp, propagate its input to + its first child, if any. - * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose. - (_IO_fclose, fclose): Use _IO_new_fclose as default version - for GLIBC_2.1. + * argp/argp.h (struct argp_state): `argp' field renamed to `root_argp'. + * argp/argp-help.c (__argp_state_help, argp_args_usage, hol_help): + Replace references to STATE->argp with STATE->root_argp. + * argp/argp-parse.c (parser_init): Likewise. - * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it - instead of _IO_file_close_it. +1997-05-26 14:17 Ulrich Drepper - * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed - to _IO_2_1_stdxxx_. - (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC - is defined. + * manual/main.texi: Clarify situation for other not supported ports. + Proposed by Andreas Jaeger . + We recommend binutils 2.8. - * libio/libioP.h (_IO_old_do_flush): New. +1997-05-26 12:17 Ulrich Drepper - * libio/oldfileops.c (_IO_old_file_close_it, - _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync): - Call _IO_old_do_flush () instead of _IO_do_flush (). - (_IO_old_file_xsputn): Call _IO_old_do_write () instead of - _IO_do_write (). + * netinet/in.h: New file. Wrapper around inet/netinet/in.h. - * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init () - instead of _IO_file_init (). - Bind old symbols to version GLIBC_2.0. +1997-05-25 09:51 H.J. Lu - * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version. - (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to - _IO_stdxxx_. - (_IO_check_libio): New function in .init. + * sysdeps/i386/elf/start.S: Change local label "nofini" + to ".Lnofini". - * libio/oldiofclose.c: New file. + * sysdeps/i386/i386-mcount.S: Use GOT, instead of GOTOFF. - * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_, - _IO_new_stderr_): Changed to _IO_2_1_stdxxx_. - (DEF_STDFILE): Don't use default_symbol_version. +1997-05-24 17:45 H.J. Lu - * libio/stdio.c (stdin, stdout, stderr): Set to - _IO_2_1_stdxxx_._ - (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of - stdxxx. + * gmon/gmon.c (_mcleanup): Free tostruct array allocated in monstartup. - * csu/Makefile (distribute): Add init.c. - (extra-objs): Add init.o for ELF. - (start-installed-name): Add $(objpfx)init.o. +1997-05-25 03:00 Ulrich Drepper - * csu/init.c: New file. + * elf/dynamic-link.h (_dl_verbose): New variable, declare. + * elf/rtld.c (_dl_verbose): New variable, define. + (dl_main): Define _dl_verbose based on DL_WARN environment variable. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Print warning about + changed size in copy relocation only if symbol in shared object + is larger or _dl_verbose is nonzero. + * sysdeps/m68k/dl-machine.h (elf_machine_rel): Likewise. + * sysdeps/powerpc/dl-machine.h (elf_machine_rel): Likewise. + * sysdeps/sparc/dl-machine.h (elf_machine_rel): Likewise. -1997-11-12 08:02 H.J. Lu + * nis/nss_nis/nis-ethers.c: Don't use relative include paths, use + <...>. + * nis/nss_nis/nis-grp.c: Likewise. + * nis/nss_nis/nis-hosts.c: Likewise. + * nis/nss_nis/nis-network.c: Likewise. + * nis/nss_nis/nis-proto.c: Likewise. + * nis/nss_nis/nis-pwd.c: Likewise. + * nis/nss_nis/nis-rpc.c: Likewise. + * nis/nss_nis/nis-spwd.c: Likewise. + * sysdeps/unix/sysv/sysd-stdio.c: Likewise. + * wcsmbs/wcscoll.c: Likewise. + * wcsmbs/wcstod.c: Likewise. + * wcsmbs/wcstof.c: Likewise. + * wcsmbs/wcstol.c: Likewise. + * wcsmbs/wcstold.c: Likewise. + * wcsmbs/wcsxfrm.c: Likewise. + Reported by Zack Weinberg . - * elf/dl-lookup.c (do_lookup): Don't use the hidden base - definition as the default. + * time/strftime.c: Implement # flag which changes case of output for + %a, %b, %B, %p, and %Z format. + When printing numbers, the given field width is always respected. + This means that padding happens only up to the given width. + Proposed by Stephen Gildea . -1997-08-27 Klaus Espenlaub +1997-05-25 00:44 Ulrich Drepper - * erand48_r.c (__erand48_r): Implement for 32 bit short int. + * sysdeps/i386/fpu/__math.h (logb): Fix thinko, reverse output + values. + Reported by Andreas Jaeger . -1997-11-15 Andreas Jaeger +1997-05-24 21:03 Philip Blundell - * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2 - (PR 351). + * db/btree/bt_open.c (__bt_open): Only try to use st_blksize (from + struct stat) if it exists for this port. -1997-11-16 21:01 Philip Blundell +1997-05-24 20:34 Philip Blundell - * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not - to preserve condition codes on function call. + * sysdeps/standalone/arm/errnos.h: Add EPERM. -1997-11-13 Andreas Jaeger +1997-05-23 16:28 Philip Blundell - * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l. + * linewrap.h: New file, needed to compile argp without libio. -1997-11-14 Andreas Jaeger +1997-05-24 11:59 Andreas Jaeger - * math/libm-test.c (asin_test): Add epsilon for float. - (tan_test): Add epsilon for float. - (log1p_test): Add epsilon for float. - (inverse_functions): Add epsilons. + * manual/stdio.texi (Formatted Messages): Corrected some typos. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add - net/if_packet.h. +1997-05-24 11:58 Philip Blundell - * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h. + * sysdeps/stub/start.c: Fix typo. -1997-11-10 Andreas Schwab +1997-05-21 17:53 Miles Bader - * md5-crypt/Makefile (extra-objs): Make recursively expanded - variable, since $(object-suffixes) is not defined yet. + * argp/argp-help.c (hol_add_cluster): Initialize CL->depth. -1997-11-11 Andreas Schwab +1997-05-24 03:51 Ulrich Drepper - * db2/Makefile (distribute): db185/db185_int.src -> - db185/db185_int.h. + * stdlib/Makefile (routines): Add strtol_l, strtoul_l, strtoll_l, + strtoull_l, strtof_l, strtod_l, and strtold_l. + * stdlib/stdlib.h: Add prototypes for new functions. + * stdlib/strtod.c: Change for compiling as strtoX_l. + * stdlib/strtol.c: Likewise. + * stdlib/strtof.c: Likewise. + * stdlib/strtold.c: Likewise. + * stdlib/strtod_l.c: New file. + * stdlib/strtof_l.c: New file. + * stdlib/strtold_l.c: New file. + * stdlib/strtol_l.c: New file. + * stdlib/strtoul_l.c: New file. + * stdlib/strtoll_l.c: New file. + * stdlib/strtoull_l.c: New file. + * string/Makefile (routines): Add strcasecmp_l and strncase_l. + * string/string.h: Add prototypes for new functions. + * sysdeps/generic/strcasecmp.c: Change for compiling as strcasecmp_l. + * sysdeps/generic/strncase.c: Change for compiling as strncasecmp_l. + * sysdeps/generic/strcasecmp_l.c: New file. + * sysdeps/generic/strncase_l.c: New file. + * wcsmbs/Makefile (routines): Add wcstol_l, wcstoul_l, wcstoll_l, + wcstoull_l, wcstod_l, wcstold_l, wcstof_l, wcscasecmp_l, and + wcsncase_l. + * wcsmbs/wchar.h: Add prototypes for new functions. + * wcsmbs/wcscasecmp.c: Change for compiling as wcscasecmp_l. + * wcsmbs/wcsncase.c: Change for compiling as wcsncasecmp_l. + * wcsmbs/wcscasecmp_l.c: New file. + * wcsmbs/wcsncase_l.c: New file. + * wcsmbs/wcstof.c: Change for compiling as wcstof_l.c + * wcsmbs/wcstold.c: Change for compiling as wcstold_l.c + * wcsmcs/wcstod_l.c: New file. + * wcsmcs/wcstof_l.c: New file. + * wcsmcs/wcstold_l.c: New file. + * wcsmcs/wcstol_l.c: New file. + * wcsmcs/wcstoul_l.c: New file. + * wcsmcs/wcstoll_l.c: New file. + * wcsmcs/wcstoull_l.c: New file. -1997-11-11 Andreas Schwab + * Makeconfig (binfmt-subdir): New variable. Set to `elf' if + $(elf) is defined. More to come later when other binary formats + are supported. + * Makefile (subdirs): Remove elf. Add $(binfmt-subdir). + Suggested by Philip Blundell. - * misc/tst-fdset.c: Don't require the value of FD_ISSET to be - exactly one. + * stdlib/Makefile (headers): Add fmtmsg.h. + (routines): Add fmtmsg. + * stdlib/fmtmsg.c: New file. + * stdlib/fmtmsg.h: New file. + * manual/stdio.texi: Add description of fmtmsg and addseverity. + * manual/examples/fmtmsgexpl.c: Example program for fmtmsg + documentation. -1997-11-11 Andreas Schwab +1997-05-23 15:26 Philip Blundell - * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level - name. - * sysdeps/generic/e_acosl.c: Likewise. - * sysdeps/generic/e_asinl.c: Likewise. - * sysdeps/generic/e_atan2l.c: Likewise. - * sysdeps/generic/e_expl.c: Likewise. - * sysdeps/generic/e_fmodl.c: Likewise. - * sysdeps/generic/e_j0l.c: Likewise. - * sysdeps/generic/e_j1l.c: Likewise. - * sysdeps/generic/e_jnl.c: Likewise. - * sysdeps/generic/e_lgammal_r.c: Likewise. - * sysdeps/generic/e_log10l.c: Likewise. - * sysdeps/generic/e_logl.c: Likewise. - * sysdeps/generic/e_powl.c: Likewise. - * sysdeps/generic/e_sqrtl.c: Likewise. - * sysdeps/generic/e_exp2l.c: Likewise. + * resolv/res_query.c (res_querydomain): Avoid potential buffer + overrun. Reported by Dan A. Dickey . -1997-11-11 Andreas Schwab +1997-05-22 18:36 Thomas Bushnell, n/BSG - * Make-dist (+sysdep-names): Remove extra paren. - * Makefile (distribute): Add stub-tag.h. - * elf/Makefile (distribute): Add atomicity.h. - * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) - [$(subdir)=socket]: Add net/if_packet.h. - * sysdeps/alpha/Dist: Remove setjmp_aux.c. - * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c, - net/if_packet.h, scsi/sg.h. + * elf/dl-support.c (_dl_sysdep_open_zero_fill, + _dl_sysdep_read_whole_file): Moved functions to ... + * elf/dl-misc.c: This new file. + * sysdeps/generic/dl-sysdepio.c: Delete file and move functions... + * elf/dl-misc.c: ... here. + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill, + _dl_sysdep_read_whole_file): Delete functions; they now come from + elf/dl-misc.c (dl-support.c had contained identical versions). + * sysdeps/mach/hurd/dl-sysdepio.c: Delete file; move functions... + * sysdeps/mach/hurd/dl-sysdep.c: ... here, but mark them weak so + that the regular ones in dl-misc work once we've initialized. + * elf/Makefile (dl-routines): Remove dl-sysdepio.c. Add dl-misc.c. -1997-11-13 Andreas Schwab +1997-05-22 21:55 Philip Blundell - * Makefile (install): Quote $(CC) expansion. + * inet/Makefile (headers): Add netinet/inbits.h. + * inet/netinet/in.h: New file. + * sysdeps/generic/netinet/inbits.h: Likewise. + * sysdeps/unix/sysv/linux/netinet/inbits.h: Likewise. + * sysdeps/generic/netinet/ip6.h: Move to... + * inet/netinet/ip6.h: ... here. + * sysdeps/generic/netinet/icmp6.h: Move to... + * inet/netinet/icmp6.h: ... here. + * sysdeps/unix/sysv/linux/netinet/in.h: Remove. + * sysdeps/generic/netinet/in.h: Remove. -1997-11-14 Andreas Jaeger +1997-05-22 05:40 Richard Henderson - * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of - working /proc cwd and no restrictions on path length. Following - some ideas from Andi Kleen (PR 350). + * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): If we are + not looking at the new thread-safe .plt, don't be lazy about relocs. + (_dl_runtime_resolve): Fix up arithmetic for new .plt layout. + (elf_alpha_fix_plt): Insert wmb as appropriate to ensure safety. + * elf/dynamic-link.h (ELF_DYNAMIC_RELOCATE): Let + elf_machine_runtime_setup() decide if we can actually be lazy. + * elf/rtld.c (_dl_start): So don't call it. + * elf/dl-reloc.c (_dl_relocate_object): Likewise. + * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Return lazy. + * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise. + * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise. + * sysdeps/powerpc/dl-machine.h (elf_machine_runtime_setup): Likewise. + * sysdeps/sparc/dl-machine.h (elf_machine_runtime_setup): Likewise. + * sysdeps/stub/dl-machine.h (elf_machine_runtime_setup): Update + skeleton definition. -1997-11-14 19:14 Thorsten Kukuk +1997-05-22 18:45 Ulrich Drepper - * nis/nss_compat/compat-grp.c: Remove buggy assert call. + * sysdeps/i386/fpu/__math.h (logb): Remove second value placed on + stack by fxtract. + +1997-05-22 13:07 Andreas Jaeger + + * sunrpc/rpcsvc/rusers.x: Provide and correct prototypes, + add cast to (xdrproc_t) where necessary to prevent warnings. + +1997-05-22 12:18 Ulrich Drepper + + * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Remove I/O functions. + +1997-05-22 04:09 Ulrich Drepper + + * sunrpc/clnt_perr.c (clnt_sperrno): Change type of variable i + to size_t to prevent warning. + * sunrpc/rpcinfo.c (get_inet_address): Use INADDR_NONE and INADDR_ANY + instead of numeric values. + Various cleanups. + * sunrpc/xdr_mem.c: Use `const char *' instead of `const caddr_t' + for xdrmem_putbytes. + * sunrpc/xdr_rec.c: Likewise. + * sunrpc/xdr_stdio.c: Likewise. + * sunrpc/rpc/xdr.h: Likewise. + + * sysdeps/unix/sysv/linux/arm/syscall.s: Pretty printing. + * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. + +1997-05-21 22:22 Philip Blundell + + * inet/Makefile (headers): Add netinet/ip6.h, netinet/icmp6.h. + * sysdeps/generic/netinet/ip6.h: New file (for IPv6 Advanced API). + * sysdeps/generic/netinet/icmp6.h: Likewise. + * sysdeps/unix/sysv/linux/netinet/in.h: Fix typo. + * sysdeps/stub/direntry.h (struct dirent): Add d_fileno (needed by + glob.c). + * sysdeps/standalone/arm/errnos.h: Add EPROTOTYPE, ESRCH. + * sysdeps/unix/arm/sysdep.h: Avoid warning about nested comments. + * sysdeps/stub/accept.c (accept): Make args match prototype. + * sysdeps/stub/bind.c (bind): Likewise. + * sysdeps/stub/connect.c (connect): Likewise. + * sysdeps/stub/getpeername.c (getpeername): Likewise. + * sysdeps/stub/getsockname.c (getsockname): Likewise. + * sysdeps/stub/recvfrom.c (recvfrom): Likewise. + * sysdeps/stub/send.c (send): Likewise. + * sysdeps/stub/ttyname_r.c (ttyname_r): Likewise. + * sysdeps/stub/readv.c (readv): Likewise. + * sysdeps/stub/writev.c (writev): Likewise. + * sysdeps/stub/sendto.c (sendto): Likewise. + * sysdeps/unix/sysv/linux/arm/profil-counter.h: New file. + +1997-05-18 12:46 Philip Blundell + + * sysdeps/unix/sysv/linux/socketbits.h: Add new macros CMSG_SPACE, + CMSG_LEN, CMSG_ALIGN (for IPv6 Advanced API). + +1997-05-21 13:51 Andreas Jaeger + + * sysdeps/unix/sysv/linux/shmat.c (shmat): Add cast to prevent warning. + + * sunrpc/rpcsvc/rusers.x: Provide prototypes for implemented + functions, include . + + * string/strverscmp.c: Correct typos in comment. + + * sunrpc/rpc/xdr.h: Add more `const'. + * sunrpc/xdr_stdio.c: Likewise. + * sunrpc/xdr_rec.c: Likewise. + +1997-05-21 17:50 Ulrich Drepper + + * elf/Makefile (dl-routines): Add dl-sysdepio. + * elf/dl-support.c (_dl_sysdep_fatal): Removed. + * sysdeps/generic/dl-sysdep.c: Move definition of _dl_sysdep_fatal, + _dl_sysdep_error and _dl_sysdep_warning to ... + * sysdeps/generic/dl-sysdepio.c: ...here. + * sysdeps/mach/hurd/dl-sysdep.c: Move the functions to ... + * sysdeps/mach/hurd/dl-sysdepio.c: ...here. + * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Remove definition + of functions. + Bug reported by Marcus G. Daniels . + + * db/Makefile (libdb.so): Depend on libc.so for dynamic loading + and for Linux ld.so. + * login/Makefile (libutil.so): Likewise. + * math/Makefile (libm.so): Likewise. + * md5-crypt/Makefile (libcrypt.so): Likewise. + * nis/Makefile (libnss_%.so): Likewise. + * resolv/Makefile (libnss_dns.so): Likewise. + +1997-05-20 14:01 Miles Bader + + * argp/argp-help.c (_help): Supply STATE to argp_args_usage. + (argp_args_usage): Add filtering of the args doc string. + (comma): Print cluster headers for the first entry too. + * argp/argp.h (ARGP_KEY_HELP_ARGS_DOC): New macro. + +1997-05-21 02:49 Ulrich Drepper + + * gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION): Set to 2 since + interface was changed with addition of _obstack_memory_used. + Suggested by Ian Taylor . + + * malloc/obstack.c: Include . Include only + if __GNU_LIBRARY__ or HAVE_STDLIB_H is defined. + Reported by Ian Taylor . + + * dirent/Makefile (routines): Add versionsort. + * dirent/dirent.h: Add prototype for versionsort. + * dirent/versionsort.c: New file. + * manual/filesys.texi: Add documentation for versionsort. + * manual/string.texi: Add documentation for strverscmp. + * string/Makefile (routines): Add strverscmp. + (tests): Add tst-svc. + * string/string.h: Add prototype for strverscmp. + * string/strverscmp.c: New file. + * string/tst-svc.c: New file. Test for strverscmp. + * string/tst-svc.input: New file. Input data for tst-svc. + * string/tst-svc.expect: New file. Expected out from tst-svc. + Patches by Jean-François Bignolles . + + * math/Makefile (calls): Add s_signbit. + + * po/sv.po: Update. + + * resolv/nss_dns/dns-host.c: Add casts to prevent warnings. + * sunrpc/pmap_rmt.c: Likewise. + + * string/basename.c: Don't use ISO C definition style. + Include if HAVE_CONFIG_H is defined. + + * sunrpc/proto.h: Add `const' wherever possible. + * sunrpc/rpc_cout.c: Likewise. + * sunrpc/rpc_svcout.c: Likewise. + * sunrpc/xdr_mem.c: Likewise. + * sunrpc/xdr_rec.c: Likewise. + * sunrpc/xdr_stdio.c: Likewise. + * sunrpc/rpc_parse.c: Delete comma from end of enum definition. + * sunrpc/xdr.c: Little code cleanups. + * sunrpc/xdr_float.c: Likewise. + Patches by Matthew Wilcox . + + * sysdeps/i386/fpu/__math.h (__finite): Fix typo. + + * sysdeps/unix/sysv/linux/shmdt.c: Add cast to prevent warning. + + * time/europe: Update from tzdata1997f. + * time/zic.c: Update from tzcode1997e. + +1997-05-20 19:20 Miguel de Icaza + + * sysdeps/sparc/setjmp.S: Flush windows. + Bug found by Richard Henderson. + +1997-05-19 12:54 Andreas Schwab + + * misc/efgcvt_r.c (fcvt_r, ecvt_r): Rewritten as to fit the specs. + +1997-05-19 18:41 Thorsten Kukuk + + * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_parse_spent): Use + atol instead of atoi. + +1997-05-18 00:22 Philip Blundell + + * inet/Makefile (routines): Add if_index. + * sysdeps/unix/sysv/linux/if_index.c: New file. + * sysdeps/stub/if_index.c: New file. + * sysdeps/unix/sysv/linux/net/if.h: Add prototypes for routines in + if_index.c (required by IPv6 basic API). + * sysdeps/unix/sysv/linux/netinet/in.h: Add struct ipv6_pktinfo. + +1997-05-17 23:29 Philip Blundell + + * sysdeps/unix/sysv/linux/netinet/in.h: Update IPv6 definitions + for new advanced API draft. + +1997-05-13 21:33 Andreas Schwab + + * stdio-common/printf_fp.c: Only use the field width for deciding + on padding when printing special values. + * stdio-common/printf_fphex.c: Likewise. + +1997-05-15 13:14 Miles Bader + + Changes by Thomas Bushnell : + * hurd/hurdauth.c (_S_msg_add_auth): Implement correctly. + +1997-05-12 14:50 Thomas Bushnell, n/BSG + + * hurd/hurdsig.c (_hurdsig_init): Double size of sigthread stack; + msg_add_auth was overflowing it. + +1997-05-12 21:20 Richard Henderson + + * elf/dl-lookup.c (_dl_lookup_symbol_skip): Call _dl_signal_error + when we can't find the symbol. + +1997-05-12 16:54 Ulrich Drepper + + * posix/regex.c: Fix handling of 32-bit Windog environments. + Patch by Arnold Robbins . + +1997-05-10 23:26 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add cacheflush. + +1997-05-10 11:40 Andreas Schwab + + * elf/ldd.bash.in: Remove spurious quote character from version + message. + +1997-05-10 08:49 Andreas Schwab + + * locale/programs/locale.c (write_charmaps): Don't get stuck in a + loop if the file ends in a long line without newline. + * locale/programs/charmap.c (charmap_read): Likewise. + +1997-05-12 03:47 Ulrich Drepper + + * sunrpc/rpc/xdr.h: Include more headers to be self-contained. + * sunrpc/rpc/svc_auth.h: Likewise. + * sunrpc/rpc/svc.h: Likewise. + * sunrpc/rpc/rpc_msg.h: Likewise. + * sunrpc/rpc/pmap_rmt.h: Likewise. + * sunrpc/rpc/pmap_clnt.h: Likewise. + * sunrpc/rpc/clnt.h: Likewise. + * sunrpc/rpc/auth_unix.h: Likewise. + * sysdeps/generic/rpc/auth.h: Likewise. + Patches by Michael Deutschmann . + +1997-05-11 15:29 Philip Blundell + + * sysdeps/stub/sigaction.c (__sigaction): Correct typo. + * sysdeps/standalone/arm/errnos.h: New file. + * sysdeps/stub/sys/param.h: Add dummy definition of MAXSYMLINKS. + * sysdeps/unix/arm/fork.S: New file. + * sysdeps/unix/sysv/linux/arm/sysdep.h: New file. + * sysdeps/stub/tempname.c (__stdio_gen_tempname): Add missing + `streamptr' argument. + * sysdeps/stub/vdprintf.c: Remove second copy of file (!), include + to get va_list defined, return 0 not NULL. + * sysdeps/unix/sysv/linux/statfsbuf.h: Include . + * sysdeps/unix/sysv/linux/arm/syscall.S: New file. + * sysdeps/stub/direntry.h (struct dirent): Add missing ';'. + * sysdeps/stub/seekdir.c (seekdir): Likewise. + * sysdeps/stub/dirfd.c (dirfd): Argument dirp is DIR*, not FILE*. + * sysdeps/standalone/dirstream.h: Define struct __dirstream + not DIR; provides typedef. + * sysdeps/unix/sysv/linux/arm/clone.S: New file. + * sysdeps/unix/sysv/linux/arm/socket.S: New file. + * sysdeps/stub/sysconf.c (__sysconf): Fix typos. + +1997-05-01 06:35 Geoff Keating + + * sysdeps/powerpc/Dist: New file. + * sysdeps/powerpc/Makefile: New file. + * sysdeps/powerpc/fclrexcpt.c: New file. + * sysdeps/powerpc/fegetenv.c: New file. + * sysdeps/powerpc/fegetround.c: New file. + * sysdeps/powerpc/feholdexcpt.c: New file. + * sysdeps/powerpc/fenvbits.h: New file. + * sysdeps/powerpc/fenv_const.c: New file. + * sysdeps/powerpc/fenv_libc.h: New file. + * sysdeps/powerpc/fesetenv.c: New file. + * sysdeps/powerpc/fesetround.c: New file. + * sysdeps/powerpc/feupdateenv.c: New file. + * sysdeps/powerpc/fgetexcptflg.c: New file. + * sysdeps/powerpc/fraiseexcpt.c: New file. + * sysdeps/powerpc/fsetexcptflg.c: New file. + * sysdeps/powerpc/ftestexcept.c: New file. + * sysdeps/powerpc/mathbits.h: New file. + + * sysdeps/powerpc/dl-machine.h: Wrap in #ifndef dl_machine_h; + define elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p, + ELF_MACHINE_RELOC_NOPLT; consequent changes to elf_machine_rela. + + * sysdeps/powerpc/__math.h: Remove definition for hypot and __sgn. + + * sysdep/powerpc/fpu_control.h: Correct IEEE default mode. + + * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use .text, but + instead .section ".text". + +1997-04-25 05:06 Geoff Keating + + * sysdeps/powerpc/__longjmp.S: Use symbolic register numbering. + * sysdeps/powerpc/bsd-_setjmp.S: Likewise. + * sysdeps/powerpc/bsd-setjmp.S: Likewise. + * sysdeps/powerpc/setjmp.S: Likewise. + + * sysdeps/unix/sysv/linux/clone.S: Likewise. + * sysdeps/unix/sysv/linux/socket.S: Likewise. + * sysdeps/unix/sysv/linux/syscall.S: Likewise. + +1997-04-20 04:37 Geoff Keating + + * sysdeps/powerpc/strchr.s: New file. + * sysdeps/powerpc/strcmp.s: New (ugly) file. + * sysdeps/powerpc/memset.s: New file. + * string/tester.c: Include prototype and _GNU_SOURCE to make + standalone compilation possible. Give strcmp a better + test. Give memset a better test. + +1997-04-05 06:34 Geoff Keating + + * sysdeps/powerpc/strlen.s: Fixed bugs (how did it ever pass its + tests before?). Changed to symbolic register numbering as an + experiment. + * sysdeps/powerpc/ffs.c: Don't include bstring.h, it doesn't + exist. + * sysdeps/rs6000/ffs.c: Likewise. + +1997-05-12 02:28 Ulrich Drepper + + * time/sys/time.h: Make second argument of setitimer const. + Patch by Michael Deutschmann . + * sysdeps/stub/setitimer.c: Likewise. + * sysdeps/mach/hurd/setitimer.c: Likewise. + +1997-05-10 11:46 Thorsten Kukuk + + * nis/rpcsvc/nis_callback.x: New, from tirpcsrc-2.3. + + * nis/nis_call.c (__nis_docall): Rewritten for navigation in NIS+ + namespace hierachy. + * nis/nis_intern.h: Add new __nis_docall function prototypes. + * nis/nis_add.c: Change __nis_docall/__nis_docall2 parameters for new + rewritten functions. + * nis/nis_checkpoint.c: Likewise. + * nis/nis_lookup.c: Likewise. + * nis/nis_mkdir.c: Likewise. + * nis/nis_modify.c: Likewise. + * nis/nis_ping.c: Likewise. + * nis/nis_remove.c: Likewise. + * nis/nis_rmdir.c: Likewise. + * nis/nis_server.c: Likewise. + * nis/nis_table.c: Likewise. + +1997-05-09 16:09 Miles Bader + + * argp/argp-eexst.c: Include . + (argp_err_exit_status): Initialize to EX_USAGE. + * argp/argp.h, argp/argp-help.c: Doc fixes. + +1997-05-08 17:15 Miles Bader + + * argp/argp.h [!__error_t_defined] (__error_t_defined): Define. + * argp/argp-help.c (canon_doc_option): Correct ctype tests. + +1997-05-08 07:53 H.J. Lu + + * sysdeps/unix/sysv/linux/poll.c: Save errno. + +1997-05-08 16:44 Ulrich Drepper + + * sysdeps/unix/sysv/linux/syscalls.list: Add nfsservctl. + +1997-05-07 20:27 H.J. Lu + + * sys/ttydefaults.h: Removed. + +1997-05-07 14:10 Thomas Bushnell, n/BSG + + * termios/sys/ttydefaults.h: Delete file. + * sysdeps/generic/sys/ttydefaults.h: New file; use OXTABS in + TTYDEF_OFLAG. + * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: New file; use + XTABS in TTYDEF_OFLAG. + * sysdeps/unix/sysv/linux/sys/ttydefaults.h: New file; use XTABS + in TTYDEF_OFLAG (which is correct for all existing Linux ports). + +1997-05-05 14:22 Thomas Bushnell, n/BSG + + * hurd/hurdsig.c (_hurdsig_preemptors): Provide initialization. + * hurd/hurdfault.c (_hurdsig_fault_preemptor): Likewise. + +1997-05-07 16:31 Ulrich Drepper + + * locale/categories.def: Change type of _NL_CTYPE_CLASS_NAMES and + _NL_CTYPE_MAP_NAMES field to stringlist. + Change name of _NL_CTYPE_CODESET_NAME to "charmap". + * locale/localeinfo.h (enum value_type): Add stringlist. + * locale/programs/locale.c (show_info): Handle stringlist. + + * locale/programs/charmap.c (charmap_read): If charmap file is not + using the given name try to find it by looking through all available + charmap files and compare the code set name. + * locale/programs/locale.c (write_charmaps): Also print names of + charset in fields in the files. + + * elf/ldd.bash.in: Correct translatable strings. + + * posix/TESTS: Add some more tests for character class matching. + * posix/regex.c: Merge with GNU awk version. + (regex_compile): Use ISO C/amend 1 functions for character class + handling. + * posix/regex.h: Merge with GNU awk version. + + * posix/getopt.c: Declare as master copies. + * posix/getopt1.c: Likewise. + * posix/getopt.h: Likewise. + + * sysdeps/unix/sysv/linux/sys/mount.h: Add definitions for option + value to mount functions. + Patch by a sun . + + * sysdeps/i386/dl-machine.h (elf_machine_rel): Check for mismatch + in size for copy relocation. + * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise. + * sysdeps/sparc/dl-machine.h (elf_machine_rela): Likewise. + * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Likewise. + Patch by Roland McGrath . + +1997-05-06 13:25 H.J. Lu + + * stdio-common/bug3.c (main): Use /tmp/bug3.test for concurrency + with other tests. + * stdio-common/bug4.c (main): Use /tmp/bug4.test for concurrency + with other tests. + + * sunrpc/svc_run.c (svc_exit): New, defined. + (svc_run): Test for svc_stop variable. + * sunrpc/rpc/svc.h (svc_exit): New, declared. + +1997-05-03 08:47 Andreas Schwab + + * math/libm-test.c (test_not_exception): Don't mix the internal + exception flags with the host defined FE_* values. All (indirect) + callers of this and test_exceptions changed to pass the internal + flag values. + (csin_test): Allow invalid exception for +-Inf + i NaN. Fix typos + in test names. + (csinh_test): Allow invalid exception for NaN +- i Inf. + +1997-05-03 09:21 Andreas Schwab + + * sysdeps/m68k/fpu/__math.h (__frexp): Don't raise invalid + exception on infinite value. + (__m81_test, __M81_COND_NAN, __M81_COND_INF, __M81_COND_NEG, + __M81_COND_ZERO): New definitions. + + * sysdeps/m68k/e_pow.c: Raise invalid exception for NaN result. + Use __m81_test. + + * sysdeps/m68k/s_ccosh.c: Rewritten. + * sysdeps/m68k/s_csinh.c: Rewritten. + * sysdeps/m68k/s_cexp.c: Rewritten. + * sysdeps/m68k/s_ccoshf.c: Don't define huge_val. + * sysdeps/m68k/s_ccoshl.c: Likewise. + * sysdeps/m68k/s_csinhf.c: Likewise. + * sysdeps/m68k/s_csinhl.c: Likewise. + * sysdeps/m68k/s_cexpf.c: Likewise. + * sysdeps/m68k/s_cexpl.c: Likewise. + + * sysdeps/m68k/s_ccos.c: New file. + * sysdeps/m68k/s_ccosf.c: New file. + * sysdeps/m68k/s_ccosl.c: New file. + * sysdeps/m68k/s_csin.c: New file. + * sysdeps/m68k/s_csinf.c: New file. + * sysdeps/m68k/s_csinl.c: New file. + +1997-05-02 19:48 Andreas Schwab + + * Makerules, manual/Makefile: Remove -$(subdir) suffix from subdir + stamp files to avoid problems with long file names. + +1997-05-03 22:24 Andreas Schwab + + * sysdeps/libm-ieee754/e_acoshl.c: Fix test for x < 1. + + * sysdeps/libm-ieee754/e_atan2l.c: Ignore integer bit for Inf and + NaN. Fix test for sign of infinite y. + + * sysdeps/libm-ieee754/e_atanhl.c: Fix sign of result. + + * sysdeps/libm-ieee754/e_sinhl.c: Fix test for sign of argument. + +1997-05-03 01:15 Andreas Schwab + + * csu/Makefile (extra-objs) [$(elf)=yes]: Add abi-note.o to get + dependencies. + + * csu/abi-note.S: Replace undefined macro ALIGNARG. + * sysdeps/unix/sysv/linux/abi-tag.h: Don't use assembler comment + character. + +1997-05-03 22:27 Andreas Schwab + + * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use notation + for local label. + +1997-05-05 22:00 Thorsten Kukuk + + * nis/Makefile (libnsl-routines): Add a lot of new file names. + + * nis/nis_names.c (nis_add): Moved from here ... + * nis/nis_add.c: ... to here and fix parameter flags. + * nis/nis_names.c (nis_lookup): Moved from here ... + * nis/nis_lookup.c: ... to here. + * nis/nis_names.c (nis_modify): Moved from here ... + * nis/nis_modify.c: ... to here and fix parameter flags. + * nis/nis_names.c (nis_remove): Moved from here ... + * nis/nis_remove.c: ... to here and fix parameter flags. + * nis/nis_names.c: Removed. + + * nis/nis_subr.c (nis_domain_of): Moved from here ... + * nis/nis_domain_of.c: .. to here. + * nis/nis_subr.c (nis_domain_of_r): Moved from here ... + * nis/nis_domain_of_r.c: .. to here and fix pointer errors. + + * nis/nis_addmember.c: New. + * nis/nis_checkpoint.c: New. + * nis/nis_creategroup.c: New. + * nis/nis_defaults.c: New. + * nis/nis_destroygroup.c: New. + * nis/nis_getservlist.c: New. + * nis/nis_ismember.c: New. + * nis/nis_ping.c: New. + * nis/nis_print_group_entry.c: New. + * nis/nis_removemember.c: New. + * nis/nis_mkdir.c: New. + * nis/nis_rmdir.c: New. + * nis/nis_verifygroup.c: New. + + * nis/rpcsvc/nislib.h: Fix internal function declarations. + + * nis/nis_server (nis_servstate): New. + * nis/nis_server (nis_stats): New. + + * nis/nis_subr.c (nis_leaf_of_r): Fix buffer problems. + + * nis/nis_call.c: Remove debug output. + + * nis/nis_intern.c (__nis_finddirectory): Remove. + +1997-05-03 00:53 Ulrich Drepper + + * posix/TESTS2C.sed: Recognize only digits in first field. This + enables us to use colons in the pattern. + +1997-05-01 20:02 Richard Henderson + + * sysdeps/unix/sysv/linux/alpha/brk.S: Don't presume that the kernel + will preserve non-call-saved registers; save and restore a0 across + the system call. + * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise tuck the thread + data onto the new thread's stack. + +1997-05-01 03:13 Ulrich Drepper + + * sysdeps/unix/sysv/linux/shmat.c (shmat): For Linux-2.0 and up the + kernel can return negative values. Only fail when return value is + in range in range which is never returned as valid address. + Patch by Bruno Haible . + +1997-04-30 17:35 Ulrich Drepper + + * math/libm-test.c: Implement test for exceptions. + Partly due to Andreas Jaeger. + (csin_test): New function. + * sysdeps/libm-i387/s_cexp.S: Raise correct exceptions. + * sysdeps/libm-i387/s_cexpf.S: Likewise. + * sysdeps/libm-i387/s_cexpl.S: Likewise. + * sysdeps/libm-ieee754/s_ccos.c: Likewise. + * sysdeps/libm-ieee754/s_ccosf.c: Likewise. + * sysdeps/libm-ieee754/s_ccosl.c: Likewise. + * sysdeps/libm-ieee754/s_ccosh.c: Likewise. + * sysdeps/libm-ieee754/s_ccoshf.c: Likewise. + * sysdeps/libm-ieee754/s_ccoshl.c: Likewise. + * sysdeps/libm-ieee754/s_cexp.c: Likewise. + * sysdeps/libm-ieee754/s_cexpf.c: Likewise. + * sysdeps/libm-ieee754/s_cexpl.c: Likewise. + * sysdeps/libm-ieee754/s_csinh.c: Likewise. + * sysdeps/libm-ieee754/s_csinhf.c: Likewise. + * sysdeps/libm-ieee754/s_csinhl.c: Likewise. + * sysdeps/libm-ieee754/s_ctanh.c: Likewise. + * sysdeps/libm-ieee754/s_ctanhf.c: Likewise. + * sysdeps/libm-ieee754/s_ctanhl.c: Likewise. + + * sysdeps/libm-ieee754/s_ccosh.c: Correct computation. + * sysdeps/libm-ieee754/s_ccoshf.c: Likewise. + * sysdeps/libm-ieee754/s_ccoshl.c: Likewise. + * sysdeps/libm-ieee754/s_csinh.c: Likewise. + * sysdeps/libm-ieee754/s_csinhf.c: Likewise. + * sysdeps/libm-ieee754/s_csinhl.c: Likewise. + + * sysdeps/libm-ieee754/s_csin.c: Rewrite. + * sysdeps/libm-ieee754/s_csinf.c: Likewise. + * sysdeps/libm-ieee754/s_csinl.c: Likewise. + + * stdlib/random_r.c (__srandom_r): Don't use seed 0. Use 1 in this + case. + + * sysdeps/i386/dl-machine.h (elf_machine_load_address): Use notation + for local label. + + * time/strftime.c (add): Respect `0' padding flag. + Reported by Richard Stallman . + +1997-04-30 15:46 Ulrich Drepper + + * Makeconfig (start-installed-name): Define here, not in csu/Makefile. + Use in +link macro. + * csu/Makefile (distribute): Add abi-note.S and abi-tag.h. + (start-installed-name): Don't define here. + When ELF generate file named by start-installed-name from start.o + and abi-note.o. + * csu/abi-note.S: New file. + * sysdeps/stub/abi-tag.h: New file. + * sysdpes/unix/sysv/linux/abi-tag.h: New file. + Patches by Roland McGrath . + +1997-04-30 01:32 Ulrich Drepper + + * manual/stdio.texi: Use @vtable where possible. + Add TeX version of @multitable since texi2dvi cannot handle them + correct in the moment. + + * po/de.po: Update. + +1997-04-29 21:06 Ulrich Drepper + + * Makeconfig: Don't set cross-compiling based on $(BUILD_CC) != $(CC). + * config.make.in: Set cross-compiling from configure result. + * configure.in: Emit definition of `cross_compiling'. + Patches by Marcus G. Daniels . + +1997-04-27 21:50 Philip Blundell + + * sysdeps/unix/sysv/linux/net/route.h (struct in6_rtmsg): Use + correct `int' sizes for struct members. + +1997-04-29 19:14 Ulrich Drepper + + * sysdeps/libm-i387/e_powf.S Generate invalid exception correctly. + * sysdeps/libm-i387/e_pow.S: Likewise. + * sysdeps/libm-i387/e_powl.S: Likewise. + +1997-04-23 10:08 Andreas Jaeger + + * math/fenv.h: Correct typos. + +1997-04-28 10:04 Richard Henderson + + * sysdeps/unix/sysv/linux/alpha/clone.S: Save the function argument + in t0 rather than a4 to avoid it being clobbered. + +1997-04-27 23:52 Andreas Schwab + + * manual/summary.awk: Recognize @defmumblex. + + * manual/signal.texi (Miscellaneous Signals): Use @deftypevrx for + second description header. + +1997-04-27 23:29 Andreas Schwab + + * manual/arith.texi (Floating-Point Classes): Don't indent text, + makeinfo doesn't like that. + +1997-04-27 20:52 Andreas Schwab + + * malloc/obstack.h (obstack_specify_allocation_with_arg, + obstack_chunkfun, obstack_freefun): Fix casts. + +1997-04-27 18:21 Andreas Schwab + + * manual/xtract-typefun.awk: Allow names with only one character. + +1997-04-26 14:16 Ulrich Drepper + + * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Use + not . + Reported by Michael Deutschmann . + +1997-04-25 12:31 Ulrich Drepper + + * csu/Makefile ($(objpfx)initfini.s): Add CPPFLAGS, CFLAGS and -g0 + to command line of compiler. + Patch by Marcus G. Daniels . + + * sysdeps/generic/sigset.h (__sigandset, __sigorset): Fix typos. + Patch by Marcus G. Daniels . + + * signal/signal.h (_sys_siglist, sys_siglist): Use _NSIG, not NSIG + in declaration. + Patch by Michael Widenius . + + * time/strptime.c (strptime_internal): Fix %I format specifier + being off by one. + Patch by Mark Kettenis . + +1997-04-24 12:18 Andreas Schwab + + * stdlib/lcong48_r.c: Include . + * stdlib/seed48_r.c: Likewise. + + * stdio-common/printf_size.c (printf_size): Correct type of + `units' and make robust against future changes. + +1997-04-23 18:58 Andreas Schwab + + * sysdeps/libm-ieee754/s_cproj.c: Use isfinite instead of finite. + * sysdeps/libm-ieee754/s_cprojl.c: Likewise. + * sysdeps/libm-ieee754/s_cprojf.c: Likewise. + +1997-04-23 18:53 Andreas Schwab + + * manual/arith.texi, manual/math.texi: Use @defmumblex for + additional description headers. + * manual/xtract-typefun.awk: Recognize them. + +1997-04-22 15:58 Andreas Jaeger + + * stdio-common/printf_size.c (printf_size): Correct size of array + units. + +1997-04-21 07:50 H.J. Lu + + * libgen.h: New file. + +1997-04-21 16:45 Ulrich Drepper + + * stdlib/drand48.c: Cleanup namespace. + * stdlib/drand48_r.c: Cleanup namespace. + * stdlib/erand48.c: Cleanup namespace. + * stdlib/erand48_r.c: Cleanup namespace. + * stdlib/jrand48.c: Cleanup namespace. + * stdlib/jrand48_r.c: Cleanup namespace. + * stdlib/lrand48.c: Cleanup namespace. + * stdlib/lrand48_r.c: Cleanup namespace. + * stdlib/mrand48.c: Cleanup namespace. + * stdlib/mrand48_r.c: Cleanup namespace. + * stdlib/nrand48.c: Cleanup namespace. + * stdlib/nrand48_r.c: Cleanup namespace. + * stdlib/lcong48.c: Cleanup namespace. + * stdlib/lcong48_r.c: Cleanup namespace. + * stdlib/srand48.c: Cleanup namespace. + * stdlib/srand48_r.c: Cleanup namespace. + * stdlib/seed48.c: Cleanup namespace. + * stdlib/seed48_r.c: Cleanup namespace. + + * stdlib/stdlib.h: Provide new prototypes. + +1997-04-21 13:25 Ulrich Drepper + + * manual/arith.texi: Add description for INFINITY, _Imaginary_I, + fpclassify & friends, and complex number operations. + Update various other math functions for ISO C 9X. + * manual/math.texi: Update various entries for ISO C 9X. + Add description for complex number functions. + Add description of rand48 function family. + * manual/string.h: Add description of a64l and l64a. + + * math/cmathcalls.h: Fix typo. + + * stdlib/a64l.c: Pretty printing. + + * stdlib/seed48_r.c: Also reset `a' and `c' to default values. + * stdlib/srand48_r.c: Likewise. + * stdlib/stdlib.h: Pretty printing. + + * sysdeps/i386/fpu/__math.h: Fix typo. + + * sysdeps/libm-ieee754/s_nearbyintf.c: Correctly name function. + * sysdeps/libm-ieee754/s_nearbyintl.c: Likewise. + +1997-04-19 22:16 Andreas Schwab + + * sysdeps/m68k/fpu/e_pow.c: Rewrite handling of integral exponent. + +1997-04-18 19:34 Andreas Schwab + + * sysdeps/m68k/fpu/__math.h: Define optimized versions of + isgreater, isgreaterequal, isless, islessequal, islessgreater, and + isunordered. + +1997-04-20 01:28 Richard Henderson + + * rellns-sh: Handle files in the same directory correctly. + +1997-04-20 11:22 Ulrich Drepper + + * csu/initfini.c: Place ALIGN instruction at correct positions. + Patch by Richard Henderson . + +1997-04-19 17:12 Ulrich Drepper + + * Make-dist: Don't automatically ignore .c files if the .S or .s file + is ignored. + + * csu/Makefile (distribute): Add defs.awk. + +1997-04-19 15:39 Ulrich Drepper + + * sysdeps/stub/shmat.c: Update to XPG4.2 interface. + * sysdeps/stub/shmdt.c: Likewise. + Reported by Thomas Bushnell, n/BSG. + +1997-04-19 13:22 Ulrich Drepper + + * manual/stdio.texi: Add description of printf_size and + printf_size_info. Partly based on the documentation by Larry McVoy. + +1997-04-19 02:21 Ulrich Drepper + + * stdio-common/printf_size.c (printf_size): Correct values for + `units'. + Report by Larry McVoy . + * stdio-common/tst-printfsz.c: New file. + * stdio-common/Makefile (tests): Add tst-printfsz.c. + (CFLAGS-tst-printfsz.c): Define to prevent warnings about format + strings. + +1997-04-18 15:48 Ulrich Drepper + + * login/utmp.h: Add prototype for updwtmp. + * login/logwtmp.c: Add new function updwtmp which allows to write + a complete record to the wtmp file. + Patch by Miquel van Smoorenburg . + +1997-04-17 17:57 Andreas Schwab + + * math/Makefile (headers): Add mathbits.h. + +1997-04-16 21:20 Andreas Schwab + + * sysdeps/m68k/fpu/__math.h: Add inlined sincos{,l,f}. + * sysdeps/m68k/fpu/s_sincos.c: New file. + * sysdeps/m68k/fpu/s_sincosf.c: New file. + * sysdeps/m68k/fpu/s_sincosl.c: New file. + + * sysdeps/libm-ieee754/e_scalb.c: Use internal names of the + functions. + * sysdeps/libm-ieee754/e_scalbl.c: Likewise. + + * sysdeps/libm-ieee754/s_ctanh.c: Use isfinite instead of finite. + * sysdeps/libm-ieee754/s_ctanhf.c: Likewise. + * sysdeps/libm-ieee754/s_ctanhl.c: Likewise. + * sysdeps/libm-ieee754/s_ctan.c: Likewise. + * sysdeps/libm-ieee754/s_ctanf.c: Likewise. + * sysdeps/libm-ieee754/s_ctanl.c: Likewise. Fix type of `res'. + +1997-04-18 11:21 Ulrich Drepper + + * shadow/fgetspent_r.c: Set *RESULT to NULL before returning error. + Patch by Thorsten Kukuk . + +1997-04-18 02:18 Ulrich Drepper + + * csu/initfini.c: Rewrite by Zack Weinberg + . + * csu/Makefile: Add rules for rewrite. + * csu/defs.awk: Helper script to generate derived header. + +1997-04-17 16:55 Ulrich Drepper + + * misc/libgen.h: Change prototype for of basename to XPG variant. + * stdlib/Makefile (routines): Add xpg_basename. + * stdlib/basename.c: New file. + * string/string.h: Don't declare basename function if basename + macro is available. + +1997-04-16 17:33 Miles Bader + + * login/utmp_file.c (proc_utmp_eq): Only use ut_id field if valid. + +1997-04-15 12:47 Andreas Schwab + + * sysdeps/m68k/fpu/fclrexcpt.c: New file. + * sysdeps/m68k/fpu/fenvbits.h: New file. + * sysdeps/m68k/fpu/fegetenv.c: New file. + * sysdeps/m68k/fpu/fegetround.c: New file. + * sysdeps/m68k/fpu/fesetenv.c: New file. + * sysdeps/m68k/fpu/fesetround.c: New file. + * sysdeps/m68k/fpu/feupdateenv.c: New file. + * sysdeps/m68k/fpu/fgetexcptflg.c: New file. + * sysdeps/m68k/fpu/fraiseexcpt.c: New file. + * sysdeps/m68k/fpu/fsetexcptflg.c: New file. + * sysdeps/m68k/fpu/ftestexcept.c: New file. + * sysdeps/m68k/fpu/mathbits.h: New file. + + * sysdeps/m68k/fpu/s_remquo.c: New file. + * sysdeps/m68k/fpu/s_remquol.c: New file. + * sysdeps/m68k/fpu/s_remquof.c: New file. + + * sysdeps/libm-ieee754/s_roundl.c: Restore integer bit when + mantissa overflows into exponent. Fix priority of >> vs +. + + * math/libm-test.c (basic_tests): Use the appropriate isnan and + isinf function to test the value of the nan function. + +1997-04-15 13:40 Ulrich Drepper + + * sysdeps/libm-i387/s_finite.S: Fix typo. + + * sysdeps/i386/fpu/__math.h: Add optimized versions of isgreater, + isgreaterequal, isless, islessequal, islessgreater, and + isunordered. + +1997-04-15 03:14 Ulrich Drepper + + * wcsmbs/wcsstr.c: Add weak alias wcswcs for Unix98 compliance. + + * math/Makefile (libm-calls): Add s_sincos and s_cproj. + * math/mathcalls.h: Add prototype for sincos. + * sysdeps/i386/fpu/__math.h: Warn about restriction on arguments to + inlined sin and cos function. + Define functions new in ISO C 9X when __USE_ISOC9X is defined. + Add optimized version of finite. + Rewrite sincos function to handle too large arguments. + * sysdeps/libm-i387/s_cos.S: Better code alignment. + * sysdeps/libm-i387/s_cosl.S: Likewise. + * sysdeps/libm-i387/s_sin.S: Likewise. + * sysdeps/libm-i387/s_sinl.S: Likewise. + * sysdeps/libm-i387/s_finite.S: Yet better code. + * sysdeps/libm-i387/s_finitef.S: Likewise. + * sysdeps/libm-i387/s_sincos.S: New file. + * sysdeps/libm-i387/s_sincosf.S: New file. + * sysdeps/libm-i387/s_sincosl.S: New file. + * sysdeps/libm-ieee754/s_sincos.c: New file. + * sysdeps/libm-ieee754/s_sincosf.c: New file. + * sysdeps/libm-ieee754/s_sincosl.c: New file. + + * sysdeps/libm-ieee754/s_ccosh.c: Change to use sincos function. + * sysdeps/libm-ieee754/s_ccoshf.c: Likewise. + * sysdeps/libm-ieee754/s_ccoshl.c: Likewise. + * sysdeps/libm-ieee754/s_cexp.c: Likewise. + * sysdeps/libm-ieee754/s_cexpf.c: Likewise. + * sysdeps/libm-ieee754/s_cexpl.c: Likewise. + * sysdeps/libm-ieee754/s_csinh.c: Likewise. + * sysdeps/libm-ieee754/s_csinhf.c: Likewise. + * sysdeps/libm-ieee754/s_csinhl.c: Likewise. + * sysdeps/libm-ieee754/s_ctan.c: Likewise. + * sysdeps/libm-ieee754/s_ctanf.c: Likewise. + * sysdeps/libm-ieee754/s_ctanl.c: Likewise. + * sysdeps/libm-ieee754/s_ctanh.c: Likewise. + * sysdeps/libm-ieee754/s_ctanhf.c: Likewise. + * sysdeps/libm-ieee754/s_ctanhl.c: Likewise. + + * sysdeps/libm-ieee754/s_cosl.c: Correct check for range. + * sysdeps/libm-ieee754/s_sinl.c: Likewise. + + * sysdeps/libm-ieee754/s_roundtol.c: Fix typos. + * sysdeps/libm-ieee754/s_roundtoll.c: Likewise. + + * nis/Makefile (services): Mention nisplus before compat. + * nis/nis_call.c (__do_niscall): Change type of variable server_len + to prevent warning. + * nis/nss_compat/compat-grp.c (getgrent_next_file_plusgroup): Add + cast to prevent warning. + * nis/nss_compat/compat-pwd.c (getpwent_next_file_plususer): Likewise. + * nis/nss_compat/compat-spwd.c (getspent_next_file_plususer): Likewise. + * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent): Change + type of variable `i' to prevent warning. + * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_parse_netent): + Likewise. + * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_parse_protoent): + Likewise. + * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent): Likewise. + * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_parse_servent): + Likewise. + + * sysdeps/generic/Dist: Remove old math implementation files. + * sysdeps/generic/mathimpl.h: Removed. + * sysdeps/generic/trig.h: Removed. + * sysdeps/generic/sincos.c: Removed. + * sysdeps/generic/asincos.c: Removed. + * sysdeps/generic/exp__E.c: Removed. + * sysdeps/generic/log__L.c: Removed. + +1997-04-13 17:18 Wolfram Gloger + + * malloc/malloc.c (fREe): Small optimization. Before returning, + add fast check whether the heap containing top can go away. + +1997-04-11 16:46 Wolfram Gloger + + * malloc/malloc.c (mALLOc, rEALLOc, cALLOc, mEMALIGn): When + failing to allocate a new chunk, also try the main_arena. It may + be that we are only running out of mmapped regions, and other + arenas cannot be enlarged sufficiently. + (new_heap, malloc_extend_top): Handle top_pad more consistently, + i.e. only in new_heap(). + +1997-04-13 21:10 Philip Blundell + + * sysdeps/posix/Makefile: Don't try to build and run mk-stdiolim + if cross-compiling. + + * configure.in: Recognise "...linuxaout" OS names and turn off ELF. + + * configure.in: Add ARM support. + * sysdeps/arm/Implies: New file. + * sysdeps/arm/__longjmp.S: New file. + * sysdeps/arm/bsd-_setjmp: New file. + * sysdeps/arm/bsd-setjmp: New file. + * sysdeps/arm/bytesex.h: New file. + * sysdeps/arm/fpu_control.h: New file. + * sysdeps/arm/jmp_buf.h: New file. + * sysdeps/arm/setjmp.h: New file. + * sysdeps/arm/sysdep.h: New file. + * sysdeps/unix/arm/config.h: New file. + +1997-04-14 04:03 Ulrich Drepper + + * sysdeps/libm-ieee754/s_cproj.c: New file. + * sysdeps/libm-ieee754/s_cprojf.c: New file. + * sysdeps/libm-ieee754/s_cprojl.c: New file. + +1997-04-13 01:06 Ulrich Drepper + + * isomac.c: Improve messages. + + * math/Makefile (libm-calls): Add s_nearbyint, s_catan, s_casin, + s_ccos, s_csin, s_ctan, s_ctanh, s_cacos, s_casinh, s_cacosh, + s_catanh, s_csqrt, and s_cpow. + * math/libm-test.c: New functions ccos_test, cacos_test, cacosh_test, + casin_test, casinh_test, catan_test, catanh_test, ctanh_test, + csqrt_test, cpow_test, rint_test. + * math/math.h: Include new header mathbits.h which defines some + more (system dependent) types and some macros. + (isfinite): Use __finite instead of fpclassify. + * sysdeps/generic/mathbits.h: New file. + * sysdeps/i386/fpu/mathbits.h: New file. + * sysdeps/i386/huge_val.h: Don't define INFINITY. + * sysdeps/ieee754/huge_val.h: Likewise. + * sysdeps/m68k/huge_val.h: Likewise. + + * sysdeps/i386/fpu/fenvbits.h: Define FE_NOMASK_ENV. + * sysdeps/i386/fpu/fesetenv.c: Handle FE_NOMASK_ENV. + + * math/complex.h (_Imaginary_I): Define correctly. I misread the + standard first. + + * sysdeps/libm-i387/s_finite.S: Optimized rewrite. + * sysdeps/libm-i387/s_finitef.S: Likewise. + * sysdeps/libm-i387/s_finitel.S: Likewise. + Provided by Joe Keane . + + * sysdeps/libm-i387/s_nearbyint.S: New file. + * sysdeps/libm-i387/s_nearbyintf.S: New file. + * sysdeps/libm-i387/s_nearbyintl.S: New file. + * sysdeps/libm-ieee754/s_nearbyint.S: New file. + * sysdeps/libm-ieee754/s_nearbyintf.S: New file. + * sysdeps/libm-ieee754/s_nearbyintl.S: New file. + + * sysdeps/libm-ieee754/s_cacos.c: New file. + * sysdeps/libm-ieee754/s_cacosf.c: New file. + * sysdeps/libm-ieee754/s_cacosl.c: New file. + * sysdeps/libm-ieee754/s_cacosh.c: New file. + * sysdeps/libm-ieee754/s_cacoshf.c: New file. + * sysdeps/libm-ieee754/s_cacoshl.c: New file. + * sysdeps/libm-ieee754/s_casin.c: New file. + * sysdeps/libm-ieee754/s_casinf.c: New file. + * sysdeps/libm-ieee754/s_casinl.c: New file. + * sysdeps/libm-ieee754/s_casinh.c: New file. + * sysdeps/libm-ieee754/s_casinhf.c: New file. + * sysdeps/libm-ieee754/s_casinhl.c: New file. + * sysdeps/libm-ieee754/s_catan.c: New file. + * sysdeps/libm-ieee754/s_catanf.c: New file. + * sysdeps/libm-ieee754/s_catanl.c: New file. + * sysdeps/libm-ieee754/s_catanh.c: New file. + * sysdeps/libm-ieee754/s_catanhf.c: New file. + * sysdeps/libm-ieee754/s_catanhl.c: New file. + * sysdeps/libm-ieee754/s_ccos.c: New file. + * sysdeps/libm-ieee754/s_ccosf.c: New file. + * sysdeps/libm-ieee754/s_ccosl.c: New file. + * sysdeps/libm-ieee754/s_cpow.c: New file. + * sysdeps/libm-ieee754/s_cpowf.c: New file. + * sysdeps/libm-ieee754/s_cpowl.c: New file. + * sysdeps/libm-ieee754/s_csin.c: New file. + * sysdeps/libm-ieee754/s_csinf.c: New file. + * sysdeps/libm-ieee754/s_csinl.c: New file. + * sysdeps/libm-ieee754/s_csqrt.c: New file. + * sysdeps/libm-ieee754/s_csqrtf.c: New file. + * sysdeps/libm-ieee754/s_csqrtl.c: New file. + * sysdeps/libm-ieee754/s_ctan.c: New file. + * sysdeps/libm-ieee754/s_ctanf.c: New file. + * sysdeps/libm-ieee754/s_ctanl.c: New file. + * sysdeps/libm-ieee754/s_ctanh.c: New file. + * sysdeps/libm-ieee754/s_ctanhf.c: New file. + * sysdeps/libm-ieee754/s_ctanhl.c: New file. + + * time/strftime.c (memset_space): Increment pointer. + * time/strptime.c: Interpret year number 00-59 as 2000--2059. + Patches by Karl Heuer . + +1997-04-11 11:57 Miguel de Icaza + + * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove fork, + pipe, syscall. + +1997-04-05 00:57 Andreas Schwab + + * sysdeps/libm-ieee754/s_remquo.c: Change algorithm, although + probably still wrong. + * sysdeps/libm-ieee754/s_remquof.c: Likewise. + * sysdeps/libm-ieee754/s_remquol.c: Likewise. + + * math/libm-test.c (remquo_test): Corrected. + +1997-04-11 00:01 Andreas Schwab + + * sysdeps/m68k/fpu/__math.h (__rinttol, rinttol): New inline. + * sysdeps/m68k/fpu/s_rinttol.c: New file. + * sysdeps/m68k/fpu/s_rinttoll.c: New file. + + * math/libm-test.c (remquo_test): Use check_long to test the + quotient. + (cbrt_test): Add epsilons for long double. + +1997-04-10 18:48 Andreas Schwab + + * locale/localeinfo.h: Update declaration of _nl_current. + +1997-04-11 11:27 Ulrich Drepper + + * rellnsh-sh: Use explicitely /bin/pwd to find the external program. + + * math/Makefile (headers): Add fenv.h and fenvbits.h. + (libm-support): Add s_rountol, s_roundtoll, fclrexcpt, fgetexcptflg, + fraiseexcpt, fsetexcptflg, ftestexcept, fegetround, fesetround, + fegetenv, feholdexcpt, fesetenv, feupdateenv. + (libm-calls): Add s_round. + * math/fenv.h: New file. + * math/libm-test.c: Correct tests for s_rinttol and s_rinttoll. + Add roundtol_check and roundtoll_check. + * math/math.h: Pretty printing. + * sysdeps/i386/fpu/fclrexcpt.c: New file. + * sysdeps/i386/fpu/fegetenv.c: New file. + * sysdeps/i386/fpu/fegetround.c: New file. + * sysdeps/i386/fpu/feholdexcpt.c: New file. + * sysdeps/i386/fpu/fenvbits.h: New file. + * sysdeps/i386/fpu/fesetenv.c: New file. + * sysdeps/i386/fpu/fesetround.c: New file. + * sysdeps/i386/fpu/fgetexcptflg.c: New file. + * sysdeps/i386/fpu/fraiseexcpt.c: New file. + * sysdeps/i386/fpu/fsetexcptflg.c: New file. + * sysdeps/i386/fpu/ftestexcept.c: New file. + * sysdeps/stub/fclrexcpt.c: New file. + * sysdeps/stub/fegetenv.c: New file. + * sysdeps/stub/fegetround.c: New file. + * sysdeps/stub/feholdexcpt.c: New file. + * sysdeps/stub/fenvbits.h: New file. + * sysdeps/stub/fesetenv.c: New file. + * sysdeps/stub/fesetround.c: New file. + * sysdeps/stub/fgetexcptflg.c: New file. + * sysdeps/stub/fraiseexcpt.c: New file. + * sysdeps/stub/fsetexcptflg.c: New file. + * sysdeps/stub/ftestexcept.c: New file. + + * sysdeps/libm-i387/s_trunc.S: New file. + * sysdeps/libm-i387/s_truncf.S: New file. + * sysdeps/libm-i387/s_truncl.S: New file. + + * sysdeps/libm-ieee754/s_round.c: New file. + * sysdeps/libm-ieee754/s_roundf.c: New file. + * sysdeps/libm-ieee754/s_roundl.c: New file. + + * sysdeps/libm-ieee754/s_ccosh.c: Rewritten to use fpclassify. + * sysdeps/libm-ieee754/s_ccoshf.c: Likewise. + * sysdeps/libm-ieee754/s_ccoshl.c: Likewise. + * sysdeps/libm-ieee754/s_cexp.c: Likewise. + * sysdeps/libm-ieee754/s_cexpf.c: Likewise. + * sysdeps/libm-ieee754/s_cexpl.c: Likewise. + * sysdeps/libm-ieee754/s_clog.c: Likewise. + * sysdeps/libm-ieee754/s_clogf.c: Likewise. + * sysdeps/libm-ieee754/s_clogl.c: Likewise. + * sysdeps/libm-ieee754/s_csinh.c. Likewise. + * sysdeps/libm-ieee754/s_csinhf.c. Likewise. + * sysdeps/libm-ieee754/s_csinhl.c. Likewise. + + * sysdeps/libm-ieee754/s_ceill.c: Corrected. The mantissa has only + 63 bits. + * sysdeps/libm-ieee754/s_floorl.c: Likewise. + + * po/pl.po: Updated. + + * string/swab.c: Correctly handle array of odd length. + + * sysdeps/generic/memmem.c: Update copyright. + * manual/string.texi: Correct prototype in memmem documentation. + +1997-04-10 20:22 Ulrich Drepper + + * hurd/Makefile (sunrpc-headers): Add clnt.h. + Proposed by Thomas Bushnell . + +1997-04-09 14:21 Miguel de Icaza + + * sysdeps/sparc/dl-machine.h: Bug fix: I was not loading + the proper value from the GOT. Pass argument block to + init function. + + * sysdeps/sparc/elf/start.c: Call atexit (_fini) after calling + _init (). + + * sysdeps/sparc/fpu_control.h: Fix the FPU constants. I got them + wrong the first time. + + * sysdeps/sparc/setjmp.S: PIC code was clobbering a callee saved + register. + + * sysdeps/sparc/udiv_qrnnd.S: Add type @function. + + * sysdeps/unix/sysv/linux/sparc/init-first.h: Linux/SPARC specific + SYSDEP_CALL_INIT. + + * sysdeps/unix/sysv/linux/sparc/signum.h: Remove definition for + NSIG and duplicated SIGIOT. + +1997-04-05 00:57 Andreas Schwab + + * sysdeps/libm-ieee754/s_remquo.c: Change algorithm, although + probably still wrong. + * sysdeps/libm-ieee754/s_remquof.c: Likewise. + * sysdeps/libm-ieee754/s_remquol.c: Likewise. + + * math/libm-test.c (remquo_test): Corrected. + +1997-04-03 18:35 Andreas Schwab + + * Makefile (parent-tests): New target to run the tests to that + they are executed even if some subdir tests have failed. + (tests): Depend on parent-tests instead of running the tests + directly. + +1997-04-03 12:26 Andreas Schwab + + Clean up name space pollution in libnss_*.so: + * nis/nss_compat/compat-pwd.c, resolv/mapv4v6addr.h, + resolv/nss_dns/dns-host.c: Replace bzero by memset, bcopy by + memcpy and bcmp by memcmp to clean up namespace. + * nss/nss_db/db-XXX.c (internal_setent): Use __dbopen instead of + dbopen. + * nss/nss_db/db-alias.c (internal_setent): Likewise. + * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Likewise. + * db/db/db.c [_LIBC]: Define __dbopen instead of dbopen and make + the latter a weak alias. + * db/db.h: Declare __dbopen. + * db/btree/btree.h [_LIBC]: Prepend __ to all mpool functions. + * db/mpool/mpool.c [_LIBC]: Define all external functions with __ + prefix and make the old names weak aliases. + * db/mpool.h: Declare the new internal names. + +1997-04-04 23:57 Andreas Schwab + + * stdio-common/vfscanf.c: Fix scanning of hexadecimal fp number. + * stdio-common/tstscanf.c: Add test case for this. + +1997-04-04 17:26 Andreas Schwab + + * math/libm-test.c: Fix more typos. + +1997-04-03 17:15 Andreas Schwab + + * math/libm-test.c (csinh_test): Fix test names. + (ccosh_test): Likewise. + + * sysdeps/libm-ieee754/s_csinh.c: Use sinh function instead of + computing it directly. + * sysdeps/libm-ieee754/s_csinhf.c: Likewise. + * sysdeps/libm-ieee754/s_csinhl.c: Likewise. + + * sysdeps/libm-ieee754/s_ccosh.c: Use cosh function instead of + computing it directly. + * sysdeps/libm-ieee754/s_ccoshf.c: Likewise. + * sysdeps/libm-ieee754/s_ccoshl.c: Likewise. + + * sysdeps/libm-ieee754/s_cexp.c: Use internal exp function instead + of wrapper. + * sysdeps/libm-ieee754/s_cexpf.c: Likewise. + * sysdeps/libm-ieee754/s_cexpl.c: Likewise. + * sysdeps/m68k/fpu/s_cexp.c: Likewise. Correct handling of + special values. Avoid use of fsincos if all that is needed is the + quadrant. + + * sysdeps/m68k/fpu/s_ccosh.c: New file. + * sysdeps/m68k/fpu/s_ccoshf.c: New file. + * sysdeps/m68k/fpu/s_ccoshl.c: New file. + * sysdeps/m68k/fpu/s_csinh.c: New file. + * sysdeps/m68k/fpu/s_csinhl.c: New file. + * sysdeps/m68k/fpu/s_csinhf.c: New file. + +1997-04-03 10:18 Andreas Schwab + + * manual/Makefile (dir-add.texi): Simplify. + +1997-04-09 01:24 Ulrich Drepper + + * rellns-sh: Rewrite to work also in presence of symlinks. + + * argp/argp-fmtstream.c: Add casts to prevent warnings. + * argp/argp-fmtstream.h: Likewise. + * argp/argp-help.c: Likewise. + + * elf/dl-minimal.c: Add definition of calloc. + * elf/version.c: Add casts to prevent warnings. + (_dl_check_map_versions): Use calloc instead of malloc+memset. + + * locale/setlocale.c (_nl_current): Add element with index LC_ALL. + Reported by Greg McGary . + + * manual/libc.texinfo: Update malloc documentation for new malloc. + * manual/memory.texi: Likewise. + Patch by Wolfram Gloger . + + * math/libm-test.c (check_long): New function. + (check_longlong): New function. + (rinttol_test): New function. + (rinttoll_test): New function. + + * nis/nss_compat/compat-grp.c (in_blacklist): Improve a bit. * nis/nss_compat/compat-pwd.c: Likewise. * nis/nss_compat/compat-spwd.c: Likewise. -1997-11-14 22:23 Ulrich Drepper + * stdlib/erand48_r.c (erand48_r): Build double value using + ieee754_double union and use random bits in different order to + increase effect of seed. + Reported by David Mosberger-Tang . - * sysdeps/libm-i387/s_fdim.S: New file. - * sysdeps/libm-i387/s_fdimf.S: New file. - * sysdeps/libm-i387/s_fdiml.S: New file. - * sysdeps/libm-i387/i686/s_fdim.S: New file. - * sysdeps/libm-i387/i686/s_fdimf.S: New file. - * sysdeps/libm-i387/i686/s_fdiml.S: New file. + * sunrpc/svc_auth.c: Moved to ... + * sysdeps/generic/svc_auth.c: ...here. -1997-11-12 Andreas Schwab + * time/time.h: Pretty print. - * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a - pointer to unsigned char. +1997-04-08 07:19 H.J. Lu -1997-11-13 Andreas Jaeger + * libio/genops.c (_IO_flush_all_linebuffered): Don't flush on + a read-only stream. - * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function. +1997-04-09 01:19 Ulrich Drepper - * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function. + * malloc/malloc.c (mALLOC_STATs) [MALLOC_DEBUG>1]: Put declaration + in correct place. + Patch by Marcus G. Daniels . - * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function. +1997-04-07 15:34 Ulrich Drepper -1997-11-12 Andreas Jaeger + * stdio-common/Makefile (tests): Add tst-ferror. + * stdio-common/tst-ferror.c: New file. Some tests for error + indicator of streams. + * stdio-common/tst-ferror.input: New file. - * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for - ilogb(0/NaN). - * sysdeps/libm-ieee754/s_ilogbl.c: Likewise. - * sysdeps/libm-ieee754/s_ilogb.c: Likewise. + * isomac.c: Let tests not fail because the compiler defines itself + symbols which violate the name space rules. gcc defines symbols + for the architecture which are not protected by an underscore + character. -1997-11-14 05:44 Ulrich Drepper + * math/Makefile (libm-support): Add s_rinttol and s_rinttoll. + (libm-calls): Add s_clog. + * sysdeps/libm-ieee754/s_clog.c: New file. Implementation of + logarithm of complex value. + * sysdeps/libm-ieee754/s_clogf.c: New file. + * sysdeps/libm-ieee754/s_clogl.c: New file. + * math/libm-test.c (clog_test): Compile this function. Fix a few + typos. + (main): Call clog_test. - * sysdeps/libm-i387/s_fmin.S: New file. - * sysdeps/libm-i387/s_fminf.S: New file. - * sysdeps/libm-i387/s_fminl.S: New file. - * sysdeps/libm-i387/s_fmax.S: New file. - * sysdeps/libm-i387/s_fmaxf.S: New file. - * sysdeps/libm-i387/s_fmaxl.S: New file. - * sysdeps/libm-i387/i686/s_fmin.S: New file. - * sysdeps/libm-i387/i686/s_fminf.S: New file. - * sysdeps/libm-i387/i686/s_fminl.S: New file. - * sysdeps/libm-i387/i686/s_fmax.S: New file. - * sysdeps/libm-i387/i686/s_fmaxf.S: New file. - * sysdeps/libm-i387/i686/s_fmaxl.S: New file. + * sysdeps/libm-ieee754/s_rinttol.c: New file. Round long double + value to long int. + * sysdeps/libm-i387/s_rinttol.S: New file. + * sysdeps/libm-ieee754/s_rinttoll.c: new file. Round long double + value to long long int. + * sysdeps/libm-i387/s_rinttoll.S: New file. -1997-11-14 03:06 Ulrich Drepper + * sysdeps/libm-ieee754/s_rintl.c: Many corrections. The previous + version was full of errors. - * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias. - * sysdeps/unix/sysv/linux/send.S: Likewise. + * math/math.h (rinttol): Argument is of type `long double' not + `double'. + (rinttoll): Likewise. + (roundtol): Likewise. + (roundtoll): Likewise. + +1997-04-06 11:32 H.J. Lu + + * posix/getopt.c (_getopt_initialize): Preserve optind. + (_getopt_internal): Set optind to 1 if optind == 0 before + calling _getopt_initialize (). + +1997-04-05 16:45 Thorsten Kukuk + + * nis/rpcsvc/nislib.h: Change const nis_name to new type + const_nis_name. + * nis/nis_intern.c: Likewise. + * nis/nis_intern.h: Likewise. + * nis/nis_server.c: Likewise. + * nis/nis_subr.c: Likewise. + * nis/nis_table.c: Likewise. + * nis/nis_names.c: Likewise. Fill out ns_request structure in + nis_add(). + + * nis/nss_compat/compat-pwd.c: Use reentrant netgroup functions. + * nis/nss_compat/compat-spwd.c: Likewise. + +1997-03-27 07:37 H.J. Lu + + * libio/fileops.c (_IO_file_overflow): Set error when try to write + on a read-only stream. + + * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol. + (ut_time): Define it only if _NO_UT_TIME is not defined. + +1997-04-06 00:42 Ulrich Drepper + + * misc/tst-tsearch.c: Include . Define _GNU_SOURCE only + if not already defined. + +1997-04-05 16:14 Ulrich Drepper + + * sysdeps/unix/sysv/linux/netatalk/at.h: Include to + get definition of sa_family_t for . + Reported by a sun . + + * malloc/malloc.c (cALLOc): Little optimization. + +1997-04-05 03:11 Ulrich Drepper + + * inet/arpa/inet.h: Rewrite. Don't use the ugly BSD way to write + headers but instead add comments and parameter names. + Don't use BSD specific types in prototypes. + + * manual/nss.texi: Correct a few typos and errors. + + * sysdeps/libm-ieee754/s_cbrt.c: Complete rewrite based on better + algorithm. + * sysdeps/libm-ieee754/s_cbrtf.c: Likewise. + * sysdeps/libm-ieee754/s_cbrtl.c: Likewise. + + * sysdeps/libm-i387/s_cbrt.S: New file. Optimized assembler version + with new algorithm. + * sysdeps/libm-i387/s_cbrtf.S: New file. + * sysdeps/libm-i387/s_cbrtl.S: New file. + + * sysdeps/libm-i387/s_frexp.S: Optimize even more. + * sysdeps/libm-i387/s_frexpf.S: Likewise. + * sysdeps/libm-i387/s_frexpl.S: Likewise. + +1997-04-04 18:55 Thorsten Kukuk + + * nis/Makefile: Remove CFLAGS-*, add publickey to databases. + + * nis/nis_call.c: Add MASTER_ONLY and HARD_LOOKUP flags, compile + DES part only with secure RPC add-on. + + * nis/nis_names.c (nis_modify): Fix rpc function number. + + * nis/nis_server.c: Fix typos. + + * nis/nss_compat/compat-grp.c: Add NIS+ support. + * nis/nss_compat/compat-pwd.c: Likewise. + * nis/nss_compat/compat-spwd.c: Likewise. + + * nis/nss_nis/nis-grp.c: Only a return value > 0 from parse_line + signals success. + + * nis/nss_nis/nis-publickey.c: Changes for compiling with/without + secure RPC. + * nis/nss_nisplus/nisplus-publickey.c: Likewise. + * nis/ypclnt.c: Likewise. + * nis/nis_intern.h: Likewise. + + * nis/nss_nisplus/nisplus-alias.c: Correct parser return code. + * nis/nss_nisplus/nisplus-ethers.c: Likewise. + * nis/nss_nisplus/nisplus-hosts.c: Likewise. + * nis/nss_nisplus/nisplus-network.c: Likewise. + * nis/nss_nisplus/nisplus-proto.c: Likewise. + * nis/nss_nisplus/nisplus-pwd.c: Likewise. + * nis/nss_nisplus/nisplus-rpc.c: Likewise. + * nis/nss_nisplus/nisplus-service.c: Likewise. + * nis/nss_nisplus/nisplus-spwd.c: Likewise. + + * nis/nss_nisplus/nisplus-grp.c: Rewrite parser for fixing errors + and speedup. + * nis/nss_nisplus/nisplus-netgrp.c: Likewise. + +1997-04-04 17:03 Ulrich Drepper + + * math/libm-test.c (cbrt_test): Add tests for +-inf and NaN + arguments. + +1997-04-03 19:24 H.J. Lu + + * sysdeps/unix/sysv/linux/sigset.h (__sigisemptyset): Fix a + typo. + +1997-04-03 16:10 Andreas Jaeger + + * sysdeps/libm-ieee754/s_nanf.c: + * sysdeps/libm-ieee754/s_nan.c: + * sysdeps/libm-ieee754/s_nanl.c: Include for + declaration of sprintf. + +1997-04-03 13:37 Ulrich Drepper + + * sysdeps/libm-ieee754/s_cexp.c: Fix typo: string_alias -> + strong_alias. + Reported by sun . + + * rpc/auth.h: Removed. + * rpc/auth_des.h: Removed. + * sunrpc/rpc/auth.h: Moved to ... + * sysdeps/generic/rpc/auth.h: ...here. + * sunrpc/rpc/auth_des.h: Moved to ... + * sysdeps/generic/rpc/auth_des.h: ...here. + +1997-04-03 04:28 Ulrich Drepper + + * sysdeps/libm-i387/s_frexp.S: New file. ix87 optimized version. + * sysdeps/libm-i387/s_frexpf.S: New file. + * sysdeps/libm-i387/s_frexpl.S: New file. + +1997-04-01 10:11 H.J. Lu + + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] + (sysdep_headers): Remove netinet/icmp.h. + +1997-04-02 16:55 Ulrich Drepper + + * manual/socket.texi: Document behaviour of inet_ntoa in multi- + threaded programs. + * manual/stdio.texi: Change wording for snprintf description a bit. + Correct typo in example. + * manual/lang.texi: Add documentation of __va_copy. + + * Makefile: Add rule to easily generate dir-add.texi file. + * manual/Makefile: Likewise. + + * manual/arith.texi: Add description of lldiv_t, lldiv, and atoll. + Change description of strtoll and strtoull to make clear these + are the preferred names. + Describe `inf', `infinity', `nan', `nan(...)' inputs for strtod + and friends. + Change references to HUGE_VALf and HUGE_VALl to HUGE_VALF and + HUGE_VALL. + +1997-04-02 16:28 Ulrich Drepper + + * grp/fgetgrent.c: Don't use fixed buffer length. Allow dynamic + adjustment if the underlying function say it is too small. + * pwd/fgetpwent.c: Likewise. + * shadow/fgetspent.c: Likewise. + * shadow/sgetspent.c: Likewise. + + * grp/fgetgrent_r.c (__fgetgrent_r): If `parse_result' returns -1 + this means there was not enough room for the gr_mem array. + + * nss/nss_files/files-XXX.c: Leave loop and return error if + `parse_result' returns -1. + + * nss/nss_files/files-parse.c (parse_line): Return -1 if parsing + of trailing list fails because of low memory. + (parse_list): Rewrite. The logic was completly incorrect since + the checks for overflowing the array were not executed when + needed. + + * shadow/sgetspent_r.c: Only a return value > 0 from parse_line + signals success. + + * nss/getXXbyYY.c: Make sure NULL is returned if we ran out of memory. + * nss/getXXent.c: Likewise. + + * stdlib/strtod.c (SET_MANTISSA): Make sure that at least one bit + is set in mantissa. + * stdlib/strtof.c: Likewise. + * stdlib/strtold.c: Likewise. + * wcsmbs/wcstof.c: Likewise. + * wcsmbs/wcstold.c: Likewise. + + * sysdeps/libm-ieee754/s_nan.c: Use strtod if parameter is not empty + string. + * sysdeps/libm-ieee754/s_nanf.c: Likewise. + * sysdeps/libm-ieee754/s_nanl.c: Likewise. + +1997-04-02 13:56 Ulrich Drepper + + * manual/errno.texi: Add description of strerror_r. + +1997-04-01 19:07 H.J. Lu (hjl@gnu.ai.mit.edu) + + * manual/errno.texi: Add ENOMEDIUM and EMEDIUMTYPE. + +1997-04-02 13:55 Ulrich Drepper + + * sysdeps/gnu/errlist.awk: The Texinfo file is named errno.texi. + +1997-03-30 10:59 Andreas Schwab + + * sysdeps/m68k/fpu/s_cexp.c: New file. + * sysdeps/m68k/fpu/s_cexpf.c: New file. + * sysdeps/m68k/fpu/s_cexpl.c: New file. + * sysdeps/m68k/fpu/s_nearbyint.c: New file. + * sysdeps/m68k/fpu/s_nearbyintf.c: New file. + * sysdeps/m68k/fpu/s_nearbyintl.c: New file. + * sysdeps/m68k/fpu/s_trunc.c: New file. + * sysdeps/m68k/fpu/s_truncf.c: New file. + * sysdeps/m68k/fpu/s_truncl.c: New file. + + * sysdeps/m68k/fpu/s_modf.c: Rewritten. + * sysdeps/m68k/fpu/s_modff.c: Adapted. + * sysdeps/m68k/fpu/s_modfl.c: Likewise. + + * sysdeps/m68k/fpu/e_atan2.c: Use __signbit inline. + * sysdeps/m68k/fpu/e_pow.c: Likewise. Write 0.0/0.0 for NaN. Fix + typo in test for `y = 0.5'. + + * sysdeps/m68k/fpu/__math.h: Define __trunc, __signbit, + __nearbyint. Remove __modf. + + * sysdeps/m68k/Makefile (CFLAGS-s_copysignl.c) [$(subdir)=math]: + Define for gcc bug workaround. + + * math/libm-test.c (log2_test): Add epsilon for long double to + "log2 (e)" and "log2 (16)". + (modf_test): Fix test name. + (sqrt_test): Add missing FUNC. + +1997-03-29 16:24 Andreas Schwab + + * sunrpc/Makefile (CFLAGS-xrquota.c): Fix typo in variable name. + +1997-03-28 20:56 Andreas Schwab + + * stdlib/stdlib.h: Declare __clearenv. + +1997-03-28 18:03 Andreas Schwab + + * sysdeps/libm-ieee754/s_asinhl.c: Fix Ulrich Dreppers mangling of + the last change. + +1997-03-28 17:55 Andreas Schwab + + * configure.in: Call AC_CANONICAL_BUILD before referencing + $build. Fix test for BUILD_CC. + +1997-04-02 01:29 Philip Blundell + + * sysdeps/libm-ieee754/s_log2f.c (__log2f): Fix typo. + +1997-03-31 18:53 Philip Blundell + + * sysdeps/unix/sysv/linux/net/route.h: Add new IPv6 definitions. + +1997-04-01 14:08 Ulrich Drepper + + * sysdeps/i386/memset.c: Fix typo. + * sysdeps/stub/fchmod.c: Fix typo. + * sysdeps/stub/fchdir.c: Fix typo. + Reported by Fila Kolodny . + +1997-04-01 00:37 Ulrich Drepper + + * math/Makefile: Prevent inlining for test-{float,double,longdouble}. + * math/libm-test.c (initialize): Make strings unique and force + values to memory. + + * posix/regex.c: Debug debugging code. + + * sysdeps/i386/asm-syntax.h: Define `L' macro to emit correct + syntax for local label. + * sysdeps/i386/add_n.S: Use correct local label syntax for the + binary format. + * sysdeps/i386/addmul_1.S: Likewise. + * sysdeps/i386/lshift.S: Likewise. + * sysdeps/i386/memchr.S: Likewise. + * sysdeps/i386/memcmp.S: Likewise. + * sysdeps/i386/mul_1.S: Likewise. + * sysdeps/i386/rshift.S: Likewise. + * sysdeps/i386/stpcpy.S: Likewise. + * sysdeps/i386/stpncpy.S: Likewise. + * sysdeps/i386/strchr.S: Likewise. + * sysdeps/i386/strcspn.S: Likewise. + * sysdeps/i386/strlen.S: Likewise. + * sysdeps/i386/strpbrk.S: Likewise. + * sysdeps/i386/strrchr.S: Likewise. + * sysdeps/i386/strspn.S: Likewise. + * sysdeps/i386/strtok.S: Likewise. + * sysdeps/i386/sub_n.S: Likewise. + * sysdeps/i386/submul_1.S: Likewise. + * sysdeps/i386/i486/strcat.S: Likewise. + * sysdeps/i386/i486/strlen.S: Likewise. + * sysdeps/i386/i586/add_n.S: Likewise. + * sysdeps/i386/i586/addmul_1.S: Likewise. + * sysdeps/i386/i586/lshift.S: Likewise. + * sysdeps/i386/i586/memset.S: Likewise. + * sysdeps/i386/i586/mul_1.S: Likewise. + * sysdeps/i386/i586/rshift.S: Likewise. + * sysdeps/i386/i586/strchr.S: Likewise. + * sysdeps/i386/i586/strlen.S: Likewise. + * sysdeps/i386/i586/sub_n.S: Likewise. + * sysdeps/i386/i586/submul_1.S: Likewise. + + * sysdeps/stub/s_log2l.c: Correct function name. + + * time/africa: Updated from ADO tzdata1997e. + * time/antarctica: Likewise. + * time/asia: Likewise. + * time/australasia: Likewise. + * time/europe: Likewise. + * time/northamerica: Likewise. + * time/southamerica: Likewise. + * time/private.h: Updated from ADO tzcode1997d. + * time/scheck.c: Likewise. + +1997-03-31 12:42 Ulrich Drepper + + * sysdeps/unix/sysv/linux/powerpc/Dist: Add kernel_*.h files. + +1997-03-23 01:41 Geoff Keating + + * sysdeps/powerpc/strlen.s: Rewrote for more speed. + * string/tst-strlen.c: Also test various string alignments. + +1997-03-19 06:11 Geoff Keating + + * sysdeps/unix/sysv/linux/powerpc/statbuf.h: Removed. + * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h: Added. + + * sysdeps/powerpc/dl-machine.h (ELF_PREFERRED_ADDRESS): Assume + program base address is 0x01800000 if we can't otherwise tell what + it is. + (elf_machine_rela): Replace `assertion failed' with real error + messages. + + * sysdeps/powerpc/dl-machine.h: More comments, more GNU indenting. + Put in extra parentheses to make explicit the relative precedence + of + and >>. + + * sysdeps/powerpc/bsd-setjmp.S: Add `__setjmp' symbol so the tests + pass. + * sysdeps/powerpc/clone.S: Rewrite. Probably still doesn't work. + + * sysdeps/unix/sysv/linux/powerpc/sys/sysdep.h: Use .section "text" + instead of .text. + +1997-03-31 02:28 Ulrich Drepper + + * misc/tst-tsearch.c: Don't write to stderr, write to stdout + instead. + + * inet/inet_ntoa.c (inet_ntoa): Complete rewrite. Now uses + thread-specific memory in multi-threaded programs. + + * sysdeps/stub/s_exp2.c: New file. Stub version for exp2 function. + * sysdeps/stub/s_exp2f.c: New file. + * sysdeps/stub/s_exp2l.c: New file. + Reported by a sun . + + * sysdeps/unix/sysv/linux/netatalk/atalk.h: Rename to... + * sysdeps/unix/sysv/linux/netatalk/at.h: ...this. + Suggested by a sun . + +1997-03-30 14:53 Ulrich Drepper + + * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: Add former contents + of . + Patch by a sun . + +1997-03-30 03:42 Ulrich Drepper + + * math/libm-test.c: Add definition of ctanh_test, clog_test, and + csqrt_test. + +1997-03-29 17:39 Ulrich Drepper + + * math/Makefile (routines): Add carg, s_ccosh and s_csinh. + + * math/complex.h: Add C++ protection. + + * math/libm-test.c (cexp_test): Correct a few bugs. + (csinh_test): New function. + (ccosh_test): New function. + (cacos_test): New function. + (cacosh_test): New function. + (casinh_test): New function. + (catanh_test): New function. + (main): Add calls to csinh_test and ccosh_test. + + * misc/Makefile (tests): Add tst-tsearch. + Add rule to link tst-tsearch against libm. + * misc/tsearch.c: Rewritten to use Red-Black-Tree algorithm by + Bernd Schmidt . + * misc/tst-tsearch.c: New file. + + * stdio-common/bug5.c: Clear LD_LIBRARY_PATH environment variable + before using system. + * stdio-common/test-popen.c: Clear LD_LIBRARY_PATH environment variable + before using popen. + + * sysdeps/libm-ieee754/s_cexp.c: Correct handling of special cases. + * sysdeps/libm-ieee754/s_cexpf.c: Likewise. + * sysdeps/libm-ieee754/s_cexpl.c: Likewise. + + * sysdeps/libm-i387/s_cexp.S: New file. ix87 specific implementation + of complex exponential function. + * sysdeps/libm-i387/s_cexpf.S: New file. + * sysdeps/libm-i387/s_cexpl.S: New file. + + * sysdeps/libm-ieee754/s_ccosh.c: New file. Implementation of + complex cosh function. + * sysdeps/libm-ieee754/s_ccoshf.c: New file. + * sysdeps/libm-ieee754/s_ccoshl.c: New file. + * sysdeps/libm-ieee754/s_csinh.c: New file. Implementation of + complex sinh function. + * sysdeps/libm-ieee754/s_csinhf.c: New file. + * sysdeps/libm-ieee754/s_csinhl.c: New file. + + * math/carg.c: New file. Generic implementatio of carg function. + * math/cargf.c: New file. + * math/cargl.c: New file. + +1997-03-29 16:07 Ulrich Drepper + + * sysdeps/posix/system.c: Update copyright. + +1997-03-29 04:18 Ulrich Drepper + + * elf/dl-error.c (_dl_catch_error): Add another argument which is + passed to OPERATE. + (_dl_receive_error): Likewise. + * elf/link.h: Change prototypes for _dl_catch_error and + _dl_receive_error to reflect above change. + * elf/dl-deps.c: Don't use nested function. Call _dl_catch_error + with additional argument with pointer to data. + * elf/dlclose.c: Likewise. + * elf/dlerror.c: Likewise. + * elf/dlopen.c: Likewise. + * elf/dlsym.c: Likewise. + * elf/dlvsym.c: Likewise. + * elf/rtld.c: Likewise. + * nss/nsswitch.c: Likewise. + Patch by Bernd Schmidt . + +1997-03-28 21:14 Miguel de Icaza + + * elf/dl-error.c: Manually set up the values of "c", this avoids a + call to memcpy and a zero 152 bytes structure. + + * sysdeps/sparc/dl-machine.h (elf_machine_rela): Test + RTLD_BOOTSTRAP to avoid performing relative relocs on a second + pass. + + * sysdeps/sparc/udiv_qrnnd.S: Make the code PIC aware. + + * sysdeps/unix/sysv/linux/sparc/Dist: Add kernel_stat.h and + kernel_sigaction.h + + Add Linux/SPARC specific definitions. + * sysdeps/unix/sysv/linux/sparc/fcntlbits.h: New file. + * sysdeps/unix/sysv/linux/sparc/ioctls.h: New file. + * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: New file. + * sysdeps/unix/sysv/linux/sparc/kernel_stat.h: New file. + * sysdeps/unix/sysv/linux/sparc/sigaction.h: New file. + * sysdeps/unix/sysv/linux/sparc/signum.h: New file. + * sysdeps/unix/sysv/linux/sparc/termbits.h: New file. + +1997-03-28 13:06 Philip Blundell + + * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Use + __getservbyname_r() not getservbyname(). + (BROKEN_LIKE_POSIX): Define to 1 so we get strict POSIX behaviour. + +1997-03-27 02:28 Ulrich Drepper + + * gmon/gmon.c (monstartup): Mark all messages. + (write_call_graph): Rewrite to use larger I/O vector for writev + call to reduce syscall overhead. + (write_bb_counts): Simplify writev handling. + + * inet/rexec.c: Make string parameters `const'. + * resolv/netdb.h: Add prototypes for rcmd, rexec, ruserok, and + rresvport. + + * math/Makefile: Don't define CFLAGS-* macros to prevent inlining + in libm-test. + * math/libm-test.c (this_does_nothing): Remove functions. It's + notuseful on any platform but ix86. + (inverse_func_pair_test): Don't use this_does_nothing. Use + memory reference. + (identities1_test): Likewise. + (identities2_test): Likewise. + (identities3_test): Likewise. + (basic_test): Likewise. + Patch by Andreas Schwab. + (BUILD_COMPLEX): New macro. Create complex number from real and + imaginary parts. This works around bugs/inefficiencies in current + gcc. + (cexp_test): Use BUILD_COMPLEX. Add more tests. + + * nss/nsswitch.c: Fix typo. + + * posix/glob.h: Add declaration for glob_pattern_p. + * posix/glob.c: Rename glob_pattern_p to __glob_pattern_p and + make glob_pattern_p a weak alias. This function is used in other + packages (e.g. bash). + + * signal/Makefile (routines): Add sigisempty, sigandset, and + sigorset. + * signal/signal.h: Add prototypes for sigisempty, sigandset, and + sigorset. + * signal/sigisempty.c: New file. + * signal/sigandset.c: New file. + * signal/sigorset.c: New file. + * sysdeps/generic/sigset.h: Define __sigisemptyset, __sigandset, + and __sigorset. + * sysdeps/unix/sysv/linux/sigset.h: Likewise. + + * stdlib/strtod.c: Handle `n-char-sequence' in NaN parsing. It + determines the bits in the mantissa part of the NaN. + * stdlib/strtof.c: Define SET_MANTISSA for float type. + * wcsmbs/wcstof.c: Define SET_MANTISSA for float type. + * stdlib/strtold.c: Define SET_MANTISSA for long double type. + * wcsmbs/wcstold.c: Define SET_MANTISSA for long double type. + + * sysdeps/libm-ieee754/s_cexp.c: Use explicit assignment to + complex number components. Some more corrects for special cases. + * sysdeps/libm-ieee754/s_cexpf.c: Likewise. + * sysdeps/libm-ieee754/s_cexpl.c: Likewise. + + * sysdeps/sparc/elf/start.S: Remove as per request of Miguel de Icaza. + + * sysdeps/unix/sysv/linux/netinet/icmp.h: Remove since we have + ip_icmp.h. Reported by HJ Lu. + +1997-03-25 03:50 Andreas Schwab + + * sysdeps/m68k/Makefile (CFLAGS-rtld.c): Add -Wno-unused. + + * sysdeps/m68k/dl-machine.h (elf_machine_rela): Rewritten as for + i386. + (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p, + ELF_MACHINE_RELOC_NOPLT): Define. + +1997-03-25 03:48 Andreas Schwab + + * grp/grp.h: Include only once. + +1997-03-25 09:38 Andreas Schwab + + * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Don't define. + * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise. + + * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Use either OXTABS or + TAB3, if one of them is defined. + +1997-03-26 04:53 Ulrich Drepper + + * posix/glob.c (next_brace_sub): Decrement depth counter when '}' + is found. + Patch by Dennis Henriksen . + +1997-03-25 16:25 Thorsten Kukuk + + * sunrpc/Makefile: Comment gccwarn out. + * sunrpc/auth_none.c: Fix prototypes and parameters for compiling + with enabled warnings. + * sunrpc/auth_unix.c: Likewise. + * sunrpc/authuxprot.c: Likewise. + * sunrpc/bindrsvprt.c: Likewise. + * sunrpc/clnt_gen.c: Likewise. + * sunrpc/clnt_perr.c: Likewise. + * sunrpc/clnt_raw.c: Likewise. + * sunrpc/clnt_simp.c: Likewise. + * sunrpc/clnt_tcp.c: Likewise. + * sunrpc/clnt_udp.c: Likewise. + * sunrpc/get_myaddr.c: Likewise. + * sunrpc/getrpcport.c: Likewise. + * sunrpc/pm_getmaps.c: Likewise. + * sunrpc/pm_getport.c: Likewise. + * sunrpc/pmap_clnt.c: Likewise. + * sunrpc/pmap_prot.c: Likewise. + * sunrpc/pmap_prot2.c: Likewise. + * sunrpc/pmap_rmt.c: Likewise. + * sunrpc/rpc/auth.h: Likewise. + * sunrpc/rpc/clnt.h: Likewise. + * sunrpc/rpc/pmap_clnt.h: Likewise. + * sunrpc/rpc/svc.h: Likewise. + * sunrpc/rpc/svc_auth.h: Likewise. + * sunrpc/rpc/types.h: Likewise. + * sunrpc/rpc/xdr.h: Likewise. + * sunrpc/rpc_clntout.c: Likewise. + * sunrpc/rpc_cmsg.c: Likewise. + * sunrpc/rpc_dtable.c: Likewise. + * sunrpc/rpc_prot.c: Likewise. + * sunrpc/svc.c: Likewise. + * sunrpc/svc_auth.c: Likewise. + * sunrpc/svc_authux.c: Likewise. + * sunrpc/svc_raw.c: Likewise. + * sunrpc/svc_run.c: Likewise. + * sunrpc/svc_simple.c: Likewise. + * sunrpc/svc_tcp.c: Likewise. + * sunrpc/svc_udp.c: Likewise. + * sunrpc/xdr.c: Likewise. + * sunrpc/xdr_array.c: Likewise. + * sunrpc/xdr_mem.c: Likewise. + * sunrpc/xdr_rec.c: Likewise. + * sunrpc/xdr_ref.c: Likewise. + * sunrpc/xdr_stdio.c: Likewise. + +1997-03-25 13:39 Ulrich Drepper + + * math/libm-test.c (log2_test): Compile this function and call it. + (exp2_test): Likewise, but check whether function really exists + before testing. + + * math/Makefile (libm-calls): Add s_log2 and s_exp2. + +1997-03-25 04:50 Ulrich Drepper + + Implement exp2 function. + * sysdeps/libm-i387/s_exp2.S: New file. + * sysdeps/libm-i387/s_exp2f.S: New file. + * sysdeps/libm-i387/s_exp2l.S: New file. + + Implement log2 function. + * sysdeps/libm-i387/s_log2.S: New file. + * sysdeps/libm-i387/s_log2f.S: New file. + * sysdeps/libm-i387/s_log2l.S: New file. + * sysdeps/libm-ieee754/s_log2.c: New file. + * sysdeps/libm-ieee754/s_log2f.c: New file. + * sysdeps/stub/s_log2.c: New file. Stub version. + +1997-03-24 19:58 Richard Henderson + + * stdlib/tst-strtol.c (tests): Correct 64-bit entry. + + * sysdeps/alpha/bsd-_setjmp.S: Alias _setjmp to __setjmp for + change to tst-setjmp.c. + + * sysdeps/alpha/dl-machine.h: Mirror Roland's recent changes. + * sysdeps/i386/dl-machine.h: Correct noexec_p comment. + * sysdeps/sparc/dl-machine.h: Likewise. + + * sysdeps/libm-ieee754/s_remquo.c: Rename {hp,lp} -> {hy,ly}. + Add missing qs variable. + * sysdeps/libm-ieee754/s_remquof.c: Likewise. + +1997-03-25 02:15 Ulrich Drepper + + * gmon/gmon.c: Optimize a bit by using more sets of records to + write in a single writev call. + + * math/math.h: Add definitions of macros __MATHCALLX and __MATHDECLX. + * math/mathcalls.h: Use __MATHCALLX for fabs, infnan, copysign, + nan, isnan, nextafter, trunc, __fpclassify and signbit to mark as + `const'. + Use __MATHDECLX for isinf and finite. + + * sysdeps/generic/setenv.c [_LIBC]: Define __clearenv and make + clearenv a weak alias. + + Implement complex exponential function. + * sysdeps/libm-ieee754/s_cexp.c: New file. + * sysdeps/libm-ieee754/s_cexpf.c: New file. + * sysdeps/libm-ieee754/s_cexpl.c: New file. + + * sysdeps/libm-ieee754/s_nan.c: Define function as __nan and make + nan a weak alias. + * sysdeps/libm-ieee754/s_nanf.c: Likewise for nanf. + * sysdeps/libm-ieee754/s_nanl.c: Likewise for nanl. + + * sysdeps/unix/sysv/linux/iovec.h: Don't use kernel header because + of type clashes. Add all definitions here. + + * sysdeps/unix/sysv/linux/shmat.c: Likewise. Correct types according + to XPG4.2. + * sysdeps/unix/sysv/linux/shmdt.c: Likewise. + * sysdeps/unix/sysv/linux/msgrcv.c: Likewise. + + * sysvipc/sys/shm.h (shmat, shmdt): Correct types. + + * sysdeps/unix/sysv/linux/sys/kd.h: Define _LINUX_TYPES_H to avoid + use of kernel types. + +1997-03-25 00:00 Ulrich Drepper + + * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_timestamp): + Correct typos. Reported by a sun . + +1997-03-20 21:58 Andreas Schwab + + * sysdeps/libm-ieee754/s_asinhl.c: Fix sign of result. + +1997-03-20 16:20 Andreas Schwab + + * sysdeps/libm-ieee754/e_atan2l.c: Fix typo. + +1997-03-20 14:23 Andreas Schwab + + * sysdeps/m68k/fpu/__math.h (__logb, logb): Don't define. + * sysdeps/m68k/fpu/s_logb.c: Removed. + * sysdeps/m68k/fpu/s_logbf.c: Removed. + * sysdeps/m68k/fpu/s_logbl.c: Removed. + + * sysdeps/m68k/fpu/__math.h (__ieee754_atan2, __ieee754_pow): + Don't define here. + * sysdeps/m68k/fpu/e_atan2.c: Rewritten. + * sysdeps/m68k/fpu/e_pow.c: Likewise. + * sysdeps/m68k/fpu/e_atan2f.c: Based on e_atan2.c. + * sysdeps/m68k/fpu/e_atan2l.c: Likewise. + * sysdeps/m68k/fpu/e_powf.c: Based on e_pow.c. + * sysdeps/m68k/fpu/e_powl.c: Likewise. + + * sysdeps/m68k/fpu/s_log2.c: New file. + * sysdeps/m68k/fpu/s_log2f.c: New file. + * sysdeps/m68k/fpu/s_log2l.c: New file. + * sysdeps/m68k/fpu/s_exp2.c: New file. + * sysdeps/m68k/fpu/s_exp2f.c: New file. + * sysdeps/m68k/fpu/s_exp2l.c: New file. + +1997-03-20 14:46 Andreas Schwab + + * Makeconfig (all): Make sure this is always the default goal. + +1997-03-20 11:09 Andreas Schwab + + * math/libm-test.c: Increase epsilon in many places. Fix many + typos. Allow optinal argument also for short option. + +1997-03-20 11:09 Andreas Schwab + + * math/Makefile ($(objpfx)$(tests)): Link against libm. + +1997-03-24 23:14 Ulrich Drepper + + * sysdeps/libm-ieee754/s_fpclassifyl.c: Correct recognition of + denormalized numbers. + + * sysdeps/i386/huge_val.h: Remove references to byte order macros. + Don't include . + +1997-03-19 15:18 Andreas Schwab + * sysdeps/m68k/huge_val.h: Remove references to byte order macros. + Don't include . + +1997-03-24 23:09 Ulrich Drepper + + * inet/rcmd.c (iruserok): Use access instead of euidaccess. + +1997-03-15 18:08 Andreas Schwab + + * math/cmathcalls.h: Remove whitespace before function name in use + of __MATHDECL macro, to make it compilable with a traditional + preprocessor. + +1997-03-24 15:31 Ulrich Drepper + + * configure.in: Use AC_PROG_CC instead of AC_PROG_TOOL to find + compiler. + +1997-03-24 02:34 Ulrich Drepper + + * sysdeps/libm-ieee754/s_finitel.c (__finitel): Shift return value + by 31 positions to get 0/1 result. + Patch by Joe Keane . + +1997-03-23 12:15 H.J. Lu + + * posix/getopt.c (__getopt_nonoption_flags): Make it extern + to prevent from ld linking in getopt.o even if there is another + incompatible one. + + * posix/getopt_init.c (__getopt_nonoption_flags): Remove extern. + +1997-03-23 23:30 Thorsten Kukuk + + * nis/nis_call.c (__do_niscall): Print message if cold start file + does not exist. + * nis/nis_file.c: Don't print error messages. + * nis/nis_local_names.c (nis_local_host): Fix pointer errors. + * nis/rpcsvc/ypclnt.h: Fix copyright and prototypes. + * nis/rpcsvc/nis.h: Likewise. + * nis/ypclnt.c: Fix prototypes. + +1997-03-24 01:36 Ulrich Drepper + + * sysdeps/libm-i387/e_scalb.S: Pop additional result before + returning. + * sysdeps/libm-i387/e_scalbf.S: Likewise. + * sysdeps/libm-i387/e_scalbl.S: Likewise. + Reported by Andreas Jaeger . + + * elf/rtld.c (dl_main): Set main_map->l_opencount to 1 also if + dynamic linker was called implicitly by the kernel. + Reported by Eric Youngdale . + + * math/Makefile (CFLAGS-test-float.c, CFLAGS-test-double.c, + CFLAGS-test-longdouble.c): New variables. Set to -fno-inline to + prevent clever optimizations which corrupt the tests. + +1997-03-23 21:33 Andreas Jaeger + + * math/libm-test.c (scalb_test): New function. + (sqrt_test): New function. + (scalbn_test): New function. + (ilogb_test): New function. + (main): Added calls for new test functions. + (ldexp_test): Add another test for ldexp(x,0). + +1997-03-23 12:35 Andreas Jaeger + + * math/libm-test.c (remquo_test): Correct messages so that they + match the tests. + (copysign_test): Likewise. + +1997-03-23 16:28 Ulrich Drepper + + * stdio-common/Makefile (routines): Add printf_size. + + * stdio-common/printf.h: Add declarations for printf_size and + printf_size_info. + + * stdio-common/printf-parse.h (__printf_arginfo_table): Correct + declaration. + (parse_one_spec): Test whether __printf_function_table is not NULL + before using registered handlers and don't test + __printf_arginfo_table. Update nargs also when handler is + registered. + + * stdio-common/vfprintf.c (vfprintf): Count number of specifiers + processed in fast loop. + + * stdio-common/printf_size: New file. + +1997-03-23 02:11 Ulrich Drepper + + * time/sys/time.h: Make values ITIMER_* also available as macros. + + * elf/dl-support.c (_dl_sysdep_read_whole_file): Don't call + __fstat but instead __fxstat directly to avoid dependency on + libc.a when inline failed. + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): Likewise. + + * math/Makefile (libm-routines): Add s_remquo. + * sysdeps/libm-i387/s_remquo.S: New file. + * sysdeps/libm-i387/s_remquof.S: New file. + * sysdeps/libm-i387/s_remquol.S: New file. + * sysdeps/libm-ieee754/s_remquo.c: New file. + * sysdeps/libm-ieee754/s_remquof.c: New file. + * sysdeps/libm-ieee754/s_remquol.c: New file. + + * math/libm-test.c (remquo_test): New function. + + * sysdeps/libm-ieee754/s_rintl.c: Handle implicit leading one + correctly. + +1997-03-22 14:06 Ulrich Drepper + + * math/Makefile (libm-calls): Add s_nan. + * sysdeps/libm-ieee754/s_nan.c: New file. Implement `nan' function. + * sysdeps/libm-ieee754/s_nanf.c: New file. Implement `nanf' function. + * sysdeps/libm-ieee754/s_nanl.c: New file. Implement `nanl' function. + + * math/libm-test.c (basic_tests): Add tests for `nan' function. + + * math/libm-test.c (copysign_test): New function. + (main): Call copysign_test. + +1997-03-22 06:28 Ulrich Drepper + + * sysdeps/libm-ieee754/s_nextafter.c: Return y if x == y. + * sysdeps/libm-ieee754/s_nextafterf.c: Likewise. + * sysdeps/libm-ieee754/s_nextafterl.c: Likewise. + * sysdeps/libm-i387/s_nextafterl.c: Likewise. + + * math/libm-test.c (fdim_test, fmin_test, fmax_test, nextafter_test): + New functions. Test these functions. + (main): Call above new functions. + +1997-03-22 04:53 Ulrich Drepper + + * Net release 2.0.2. + +1997-03-22 04:37 Ulrich Drepper + + * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Define as alias for + XTABS. + * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise. + * termios/sys/ttydefaults.h: Partly revert patch by Andreas Schwab + of Sun Dec 15 16:33:44 1996. + Proposed by Thomas Bushnell . + +1997-03-21 13:41 Roland McGrath + + * sysdeps/sparc/dl-machine.h (elf_machine_rel): Rewritten as for i386. + Check here for non-SHN_UNDEF STB_LOCAL symbols don't do any lookup or + consult their values. + (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p, + ELF_MACHINE_RELOC_NOPLT): New macros. + + * elf/rtld.c (dl_main): Pass ELF_MACHINE_RELOC_NOPLT to + _dl_lookup_symbol in place of DL_LOOKUP_NOPLT. + * sysdeps/i386/dl-machine.h (ELF_MACHINE_RELOC_NOPLT): New macro. + + * sysdeps/i386/dl-machine.h (elf_machine_rel): Rewritten to do the + symbol lookup before checking reloc type except for R_386_RELATIVE. + (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p): New macros. + + * elf/dl-reloc.c (RESOLVE): Remove STB_LOCAL check; let it be + per-machine since it supposedly can't happen on i386. + + * elf/dl-lookup.c (do_lookup): Change arg FLAGS to RELOC_TYPE. Use + elf_machine_lookup_{noexec,noplt}_p macros on it. Remove gratuitous + indirection from REF arg; change callers. + (_dl_lookup_symbol, _dl_lookup_versioned_symbol): Change arg name. + (_dl_lookup_symbol_skip, _dl_lookup_versioned_symbol_skip): Remove + FLAGS arg altogether. + * elf/dlsym.c: Remove argument of FLAGS parameter. + * elf/dlvsym.c: Likewise. + * elf/link.h: Update decls. + +1997-03-21 20:55 Ulrich Drepper + + * Makefile (distribute): Add BUGS. + + * sysdeps/generic/machine-gmon.h: Update copyright. + + * sysdeps/i386/Makefile [$(subdir)=gmon] (sysdep_routines): Add + i386-mcount. + * sysdeps/i386/dl-machine.h [PROF] (_dl_runtime_resolve): Don't + use regparam mechanism for call of `fixup' call. + * sysdeps/i386/Dist: New file. + * sysdeps/i386/i386-mcount.S: New file. `mcount' entry point. + * sysdeps/i386/machine-gmon.h: New file. i386 specific version + of gmon definitions. + +1997-03-20 13:39 Andreas Jaeger + + * stdlib/tst-strtol.c (main): Save the value of errno since printf + may modify it, use the saved errno everywhere. + * stdlib/tst-strtod.c (main): Likewise. + +1997-03-21 05:54 Ulrich Drepper + + * posix/glob.c (glob): Fix completely broken handling of + GLOB_BRACE and partly broken handling of GLOB_TILDE. + Reported by Dennis Henriksen . + +1997-03-20 20:22 Ulrich Drepper + + * sysdeps/unix/sysv/linux/readv.c: Don't emulate readv with small + UIO_FASTIOV value by multiple readv calls since we need atomicity. + * sysdeps/unix/sysv/linux/writev.c: Likewise. + Reported by Matthis Urlichs. + +1997-03-20 04:34 Roland McGrath + + * sysdeps/unix/sysv/linux/i386/sysdep.S (CALL_MCOUNT): Clear this + macro so ENTRY(__syscall_error) doesn't insert a call to _mcount, + which clobbers %eax. + + * Makeconfig [$(elf)=yes] (+prector, +postctor): New variables for + crtbegin.o/crtend.o, using gcc to find them. + (+link): Use them. + +1997-03-20 00:06 Richard Henderson + + * gmon/sys/gmon.h: Revert the bulk of the 960930 changes, as they + affect the alignment, and therefore the end padding of the structs. + Reported by David Mosberger . + * gmon.c: Declare the variables with aligned tags to compensate. + Use __writev instead of write for the I/O. + + * misc/sys/uio.h: Declare __writev and __readv. + * sysdeps/posix/readv.c: Rename and alias readv to __readv. + * sysdeps/posix/writev.c: Likewise for writev. + * sysdeps/stub/readv.c: Likewise. + * sysdeps/stub/writev.c: Likewise. + * sysdeps/unix/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/readv.c: Likewise. + * sysdeps/unix/sysv/linux/writev.c: Likewise. + + * stdlib/testdiv.c: Exit with error status when we have an error. + * sysdeps/alpha/div.S: Initialize `quotient' and `mask'. + * sysdeps/alpha/ldiv.S: Likewise. + + * sysdeps/unix/sysv/linux/alpha/ioperm.c: Include ctype.h for isdigit. + +1997-03-20 14:51 Ulrich Drepper + + * nis/nis_file.c: Unify error handling. + +1997-03-19 18:36 Thorsten Kukuk + + * nis/nis_file.c (writeColdStartFile): Fix typo. + * nis/nis_free.c (nis_free_endpoints): Use unsigned int. + * nis/nis_free.c (nis_free_servers): Likewise. + * nis/rpcsvc/nislib.h: Likewise. + + * sunrpc/rpc/netdb.h: Add setrpcent and endrpcent prototypes. + +1997-03-20 06:07 Ulrich Drepper + + * sysdeps/powerpc/dl-machine.h: Fix typo in last change. + + * sysdeps/unix/sparc/sysdep.h: Update copyright. + +1997-03-19 15:13 Miguel de Icaza + + * stdlib/tst-strtol.c: Save the value of errno, printf may modify + it. + + * sysdeps/sparc/DEFS.h [HAVE_ELF]: Use type @function in the FUNC + macro on ELF systems. + + * sysdeps/sparc/configure.in: Fix. + + * sysdeps/sparc/dl-machine.h: Fix OPCODE_CALL. + + * sysdeps/sparc/setjmp.S: Fix my bugs. + + * sysdeps/unix/sysv/linux/sparc/Dist: Add start.c, fork.S, and pipe.S. + * sysdeps/unix/sysv/linux/sparc/Makefile: Define asm-CPPFLAGS and + as-FLAGS-.so. + * sysdeps/unix/sysv/linux/sparc/syscalls.list: Add fork, pipe, and + syscall. + * sysdeps/unix/sysv/linux/sparc/fork.S: New file. + * sysdeps/unix/sysv/linux/sparc/pipe.S: New file. + * sysdeps/unix/sysv/linux/sparc/socket.S: Fix. + * sysdeps/unix/sysv/linux/sparc/sysdep.h: Fix. + + * elf/dl-lookup.c (do_lookup): Return true if we found a weak + symbol. + (_dl_lookup_symbol): Test against the symbol being global not + against the symbol being not weak (fixes important problem with + the SPARC linker) + + * sysdeps/unix/sysv/linux/sparc/brk.c: Fix. + + * sysdeps/unix/sysv/linux/sparc/start.c: Startup code for + Linux/SPARC (while I get my asmCPPFLAGS-so variable). + +1997-03-20 01:49 Ulrich Drepper + + * Makeconfig: (rpath-link): Add math/ directory. + (math-objdir): New variable. + (link-extra-lib): Define to special version when + $(common-objpfx)!=$(objpfx) to allow libraries outside + $(common-objpfx) be linked to the application. + + * math/Makefile: Add rules to build and run test programs. + * math/libm-test.c (_GNU_SOURCE): Define only if still undefined. + (check_equal): Correct check for error. + (ceil_test): Fix typo. + (log_test): Fix typo. + (floor_test): Fix typo. + (pow_test): Fix typos. + (log10_test): Allow slight incorrectness for `log10(e)'. + (modf_test): New functions to test `modf' et.al. + (hypot_test): Rewrite test completely. + Patch partly by Andreas Jaeger. + * math/test-double.h (__NO_MATH_INLINES): Define only if not + already defined. + * math/test-float.h: Likewise. + * math/test-logdouble.h: Likewise. + + * setjmp/setjmp.h: Change references of ANSI C to ISO C. + * setjmp/tst-setjmp.c: Correct and extend test suite. + * sysdeps/i386/__longjmp.S: Update copyright. + * sysdeps/i386/bsd-_setjmp.S: Correct fatal bug in jump to + `__sigsetjmp' in PIC code. + * sysdeps/i386/bsd-setjmp.S: Likewise. + + * sysdeps/libm-i387/e_pow.S: Correct recognition of mantissa + overflow. + * sysdeps/libm-i387/e_powf.S: Likewise. + * sysdeps/libm-i387/s_expm1.S: Handle x == +-0 as a special + case since expm1(-0) == -0. + * sysdeps/libm-i387/s_expm1f.S: Likewise. + * sysdeps/libm-i387/s_expm1l.S: Likewise. + * sysdeps/libm-ieee754/s_modf.c: Optimize code by avoiding unneeded + access to FP number. + * sysdeps/libm-ieee754/s_modff.c: Likewise. + * sysdeps/libm-ieee754/s_modfl.c: Correct former completely bogus + code. It never worked correctly. + * sysdeps/libm-ieee754/s_tanh.c: Handle x == +-0 as a special + case since tanh(-0) == -0. + * sysdeps/libm-ieee754/s_tanhf.c: Likewise. + * sysdeps/libm-ieee754/s_tanhl.c (__tanhl): Correct handling of -inf. + +1997-03-19 21:13 Ulrich Drepper + + * stdlib/strtod.c (STRTOL): Use wchar_t as type for `decimal' and + `thousands' to support systems with sizeof(wchar_t) != + sizeof(wint_t). Blargh. + + * sysdeps/unix/sysv/linux/socketbits.h: Remove definition of + SOL_IP, SOL_TCP, SOL_UDP, and SOL_IPX as they are defined in + appropriate headers. + + * sysdeps/unix/sysv/linux/writev.c: Don't use MAX_IOVEC. Test for + UIO_FASTIOV and set to 8 if not available. + * sysdeps/unix/sysv/linux/readv.c: Likewise. + Patch by HJ Lu. + + * sysdeps/unix/sysv/linux/xstat.c: Include , not + "kernel_stat.h". + * sysdeps/unix/sysv/linux/lxstat.c: Likewise. + * sysdeps/unix/sysv/linux/fxstat.c: Likewise. + Reported by fabsoft@fabsoft2.zarm.uni-bremen.de. + +1997-03-19 01:40 Ulrich Drepper + + * sysdeps/unix/sysv/sco3.2.4/Dist: New file. + + * sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c. + + * sysdeps/unix/bsd/Dist: Add bsdstat.h, setrgid.c, and setruid.c. + + * sysdeps/unix/sysv/Dist: Add direct.h. + + * sysdeps/unix/sysv/linux/Dist: Add netinet/tcp.h. + + * Make-dist ($(tardir).tar): Prefer writing temporary file to + $TMPDIR is available. The default is /tmp. + + * sysdeps/generic/ip.h: Move to... + * sysdeps/generic/netinet/ip.h: ...here. + + * Makefile (tests): Quote $(CC) argument to isomac program. + Patch by H.J. Lu . + + * sysdeps/i386/setjmp.S (__setjmp): Fix fatal bug where 0 argument + is placed in wrong place on the stack. + Reported by Marc Lehmann . + * sysdeps/tst-setjmp.c: Add new test for above problem. + + * sysdeps/libm-i387/e_pow.S: Compute PIC addres early. + * sysdeps/libm-i387/e_powf.S: Likewise. + * sysdeps/libm-i387/e_powl.S: Likewise. + +1997-03-18 23:18 Ulrich Drepper + + * time/offtime.c (__offtime): Change type of `yg' to long int. + Reported by a sun . + +1997-03-18 23:08 a sun + + * sysdeps/unix/sysv/linux/net/if_ppp.h (PPP_VERSION): Define to + 2.2.0 to prevent version mismatch. + +1997-03-17 19:26 Andreas Jaeger + + * stdio-common/printf_fphex.c (MIN): Only define MIN if not + already defined. + +1997-03-14 23:34 Geoff Keating + + * sysdeps/unix/sysv/linux/powerpc/termbits.h: Leave ioctl numbers + in ioctls.h. + + * elf/rtld.c (_dl_start): Call elf_machine_runtime_setup when the + loader first relocates itself. + * sysdeps/powerpc/elf/start.c (__start1): Fix bug for static objects. + * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Fix bugs in + jump slot relocation. Prefer relative branches (some PowerPC chips + don't predict absolute branches). + (elf_machine_runtime_setup): Simplify and correct expressions. + (RTLD_START): Fix bug changing _dl_starting_up. + * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Added. Deal with + strange Linux/PPC padding of initial stack. + +1997-03-11 04:14 Geoff Keating + + * sysdeps/unix/sysv/linux/powerpc/termbits.h: Increase NCCS to 39, + for future expansion. + * sysdeps/unix/sysv/linux/powerpc/sys/kernel_termios.h: Added. + * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Explain why it + can't have a switch statement. + * sysdeps/powerpc/elf/start.c (__start1): Explain why it can't be + static. + + * sysdeps/powerpc/elf/start.c (_start): Use .previous to avoid + confusing gcc's idea of the current section. + * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE, + RTLD_START): Likewise. + +1997-03-08 09:10 Geoff Keating + + * sysdeps/powerpc/dl-machine.h (elf_machine_rela, + elf_machine_runtime_setup): Flush data & instruction caches when + necessary, for 603/604 support. Add better support for large PLTs. + (elf_machine_rela): Remove relocations that wouldn't work if + anyone ever used them. Use memcpy for copy reloc, it'll be safe. + Never target branch relocations at a PLT entry. + + * sysdeps/powerpc/bsd-setjmp.S: Make jump to PLT entry if we are + generating PIC. + * sysdeps/powerpc/bsd-_setjmp.S: Likewise. + * sysdeps/powerpc/setjmp.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise. + + * sysdeps/powerpc/elf/start.c: Clean up. + + * sysdeps/powerpc/__longjmp.S: Return 'value' as result from + setjmp call. + + * sysdeps/unix/sysv/linux/powerpc/statbuf.h: New file. + +1997-03-09 12:36 H.J. Lu + + * Make-dist (srcs): Add $(test-srcs). + * MakeTAGS (all-sources): Likewise. + * Makerules (depfiles, common-mostlyclean): Likewise. + * Rules (tests): Likewise. + +1997-03-18 05:28 Roland McGrath + + * elf/dl-reloc.c (RESOLVE): Don't try to resolve local symbols. + +1997-03-17 21:39 Philip Blundell + + * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Allow + protocol=NULL to match any protocol rather than returning an + error. + +1997-03-17 19:00 Philip Blundell + + * nss/nss_files/files-service.c (servbyname): Match any protocol + if proto==NULL. + +1997-03-18 05:17 Ulrich Drepper + + * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Don't define O_NORW. + * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise. + Proposed by Thomas Bushnell, n/BSG. + +1997-03-18 07:53 H.J. Lu + + * sysdeps/generic/setenv.c (setenv): Don't copy name when we reuse + the buffer for replacement. + +1997-03-16 19:30 H.J. Lu + + * sysdeps/unix/sysv/linux/syscalls.list: Add sys_fstat, + sys_lstat and sys_stat. + +1997-03-17 12:43 Thorsten Kukuk + + Add NIS+ functions + * shlib-versions: Add libnss_nisplus. + * nis/Makefile: Add NIS+ source files. + * nis/nis_call.c: New file. + * nis/nis_clone.c: New file. + * nis/nis_error.c: New file. + * nis/nis_file.c: New file. + * nis/nis_free.c: New file. + * nis/nis_intern.c: New file. + * nis/nis_intern.h: New file. + * nis/nis_local_names.c: New file. + * nis/nis_names.c: New file. + * nis/nis_print.c: New file. + * nis/nis_server.c: New file. + * nis/nis_subr.c: New file. + * nis/nis_table.c: New file. + * nis/nis_xdr.c: New file. + * nis/nss-nisplus.h: New file. + * nis/nss_nisplus/nisplus-alias.c: New file. + * nis/nss_nisplus/nisplus-ethers.c: New file. + * nis/nss_nisplus/nisplus-grp.c: New file. + * nis/nss_nisplus/nisplus-hosts.c: New file. + * nis/nss_nisplus/nisplus-netgrp.c: New file. + * nis/nss_nisplus/nisplus-network.c: New file. + * nis/nss_nisplus/nisplus-proto.c: New file. + * nis/nss_nisplus/nisplus-publickey.c: New file. + * nis/nss_nisplus/nisplus-pwd.c: New file. + * nis/nss_nisplus/nisplus-rpc.c: New file. + * nis/nss_nisplus/nisplus-service.c: New file. + * nis/nss_nisplus/nisplus-spwd.c: New file. + * nis/rpcsvc/nis.h: New file. + * nis/rpcsvc/nis.x: New file. + * nis/rpcsvc/nis_object.x: New file. + * nis/rpcsvc/nis_tags.h: New file. + * nis/rpcsvc/nislib.h: New file. + +1997-03-17 12:52 Thomas Bushnell, n/BSG + + * mach/devstream.c (output/write_some): Don't try and write more + than IO_INBAND_MAX in a single call to device_write_inband. + +1997-03-17 04:00 Ulrich Drepper + + * sysdeps/libm-ieee754/w_atan2.c: Don't ignore exception if library + type is SVID. + * sysdeps/libm-ieee754/w_atan2f.c: Likewise. + * sysdeps/libm-ieee754/w_atan2l.c: Likewise. + + * sysdeps/unix/sysv/linux/sys/mman.h (msync): Add description for + FLAGS parameter. + +1997-03-16 20:28 Philip Blundell + + * sysdeps/unix/sysv/linux/socketbits.h: Add more SOL_ values. + Change msg_iovlen and msg_controllen (in struct msghdr) to + `size_t' to keep in step with kernel. + +1997-03-16 18:43 Ulrich Drepper + + * manual/filesys.texi: Add documentation for scandir and alphasort. + * manual/examples/dir2.c: New example for scandir. + + * math/math.c (fpclassify): Correct stupid typos. + + * math/libm-test.c: New file. libm test suite by Andreas Jaeger. + * math/test/float.c: New file. Frontend for float tests. + * math/test/double.c: New file. Frontend for double tests. + * math/test/longdouble.c: New file. Frontend for long double tests. + + * posix/Makefile (routines): Add bsd-getpgrp. + * posix/bsd-getpgrp.c: New file. + * posix/unistd.h [__FAVOR_BSD]: Define macro getpgrp which maps + calls to __bsd_getpgrp. + + * sysdeps/generic/getpgrp.c: De-ANSI-declfy. + + * sysdeps/i386/huge_val.h: New file. ix87 specific infinity values. + * sysdeps/m68k/huge_val.h: New file. m68k specific infinity values. + * sysdeps/ieee754/huge_val.h: Remove definition of long double + definition. Make it the same as the double definition. + + * sysdeps/libm-i387/e_acos.S: Fix bug in FPU stack handling. + * sysdeps/libm-i387/e_acosf.S: Likewise. + * sysdeps/libm-i387/e_acosl.S: Likewise. + * sysdeps/libm-i387/e_asin.S: Likewise. + * sysdeps/libm-i387/e_asinf.S: Likewise. + * sysdeps/libm-i387/e_asinl.S: Likewise. + * sysdeps/libm-i387/e_exp.S: Likewise. + * sysdeps/libm-i387/e_expf.S: Likewise. + * sysdeps/libm-i387/e_expl.S: Likewise. + * sysdeps/libm-i387/s_scalbn.S: Likewise. + * sysdeps/libm-i387/s_scalbnf.S: Likewise. + * sysdeps/libm-i387/s_scalbnl.S: Likewise. + + * sysdeps/libm-i387/e_log.S: Optimize branch code. + * sysdeps/libm-i387/e_logf.S: Likewise. + * sysdeps/libm-i387/e_logl.S: Likewise. + * sysdeps/libm-i387/e_log10.S: Likewise. + * sysdeps/libm-i387/e_log10f.S: Likewise. + * sysdeps/libm-i387/e_log10l.S: Likewise. + + * sysdeps/libm-i387/e_pow.S: Major rewrite to handle special cases. + * sysdeps/libm-i387/e_powf.S: Likewise. + * sysdeps/libm-i387/e_powl.S: Likewise. + + * sysdeps/libm-i387/s_expm1.S: Change return value for -inf + argument to -1.0. + * sysdeps/libm-i387/s_expm1f.S: Likewise. + * sysdeps/libm-i387/s_expm1l.S: Likewise. + + * sysdeps/libm-i387/s_isinfl.c: Return -1 for -inf. + + * sysdeps/libm-i387/s_logbl.S: Correct return value. Discard first + stack element after fxtract. + + * sysdeps/libm-ieee754/e_atan2l.c: New file. `long double' + implementation for atan2 function. + + * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in + _SVID_ mode when acos, asin, atan2, log, log10 is called with + argument out of range. + Add new error case for pow(+0,neg). + + * sysdeps/libm-ieee754/s_fpclassifyf.c: Correct recognition of + NaN and +-inf. + * sysdeps/libm-ieee754/s_fpclassifyl.c: Mask out explicit leading + digit in stupid 80 bit formats. + + * sysdeps/libm-ieee754/s_isinf.c: Rewrite to return -1 for -inf. + * sysdeps/libm-ieee754/s_isinff.c: Likewise. + * sysdeps/libm-ieee754/s_isinfl.c: Likewise. + + * sysdeps/libm-ieee754/s_scalbnl.c (huge, tiny): Adapt values for + long double type. + + * sysdeps/libm-ieee754/w_atan2.c: Do not raise exception expect when + in SVID mode. + * sysdeps/libm-ieee754/w_atan2f.c: Likewise. + * sysdeps/libm-ieee754/w_atan2l.c: Likewise. + + * sysdeps/libm-ieee754/w_pow.c: Distinguish error cases for x is +0 + or -0. + * sysdeps/libm-ieee754/w_powf.c: Likewise. + * sysdeps/libm-ieee754/w_powl.c: Likewise. + + * sysdeps/posix/isfdtype.c: Add cast to prevent warning. + + * sysdeps/stub/fcntlbits.h: Update copyright. + * sysdeps/unix/bsd/fcntlbits.h: Likewise. + * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: Likewise. + * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: Likewise. + * sysdeps/unix/bsd/ultrix4/fcntlbits.h: Likewise. + * sysdeps/unix/common/fcntlbits.h: Likewise. + * sysdeps/unix/sysv/fcntlbits.h: Likewise. Define O_FSYNC as alias + of O_SYNC. Add BSD compatibility macros FAPPEND, FFSYNC, FNONBLOCK, + and FNDELAY. + * sysdeps/unix/sysv/irix4/fcntlbits.h: Likewise. + + * sysdeps/unix/readdir_r.c: Don't copy whole `struct dirent' record, + only reclen bytes. + + * sysdeps/unix/sysv/linux/fcntlbits.h [__USE_GNU]: Add O_READ, O_WRITE + and O_NORW. + * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Likewise. + + * sysdeps/unix/sysv/linux/init-first.h: Add copyright. + + * sysdeps/unix/sysv/linux/fxstat.c: New file. Rewrite kernel-level + struct stat to user-level form. + * sysdeps/unix/sysv/linux/lxstat: New file. + * sysdeps/unix/sysv/linux/xstat: New file. + * sysdeps/unix/sysv/linux/kernel_stat.h: Define struct stat used in + kernel. + * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Change definition + to use prescribed types for elements. + (_STAT_VER): Change to value 3. + * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise. + * sysdeps/unix/sysv/linux/Dist: Add kernel_stat.h. + * sysdeps/unix/sysv/linux/alpha/Dist: Likewise. + + * time/Makefile: Correct dependencies for test-tz. + +1997-03-16 14:59 Philip Blundell + + * resolv/netdb.h: Add prototypes for gai_strerror and getnameinfo + (needed for IPv6 basic sockets API). + +1997-03-16 15:02 a sun + + * sysdeps/unix/sysv/linux/net/if_ppp.h: Don't use incompatible + kernel header. + * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise. + +1997-03-14 17:15 Ulrich Drepper + + * db/hash/hash_bigkey.c (__big_delete): Don't call __free_ovflpage + without testing for last_bfp to be NULL. + Reported by fabsoft@fabserver1.zarm.uni-bremen.de. + +1997-03-13 11:42 Jim Meyering + + * time/mktime.c (TIME_T_MIN): Work around a bug in Cray C 5.0.3.0. + +1997-03-14 04:00 Kurt Garloff + + * sysdeps/unix/sysv/linux/fcntlbits.h (O_FSYNC): Make alias for O_SYNC. + (FASYNC): Move to __USE_BSD section. Create new macro O_ASYNC. + +1997-03-14 02:50 Ulrich Drepper + + * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname2_r): New + functions. Compare result for correct address type. + (_nss_nis_gethostbyname_r): Use _nss_nis_gethostbyname2_r. + * nss/nss_files/files-hosts.c: Likewise. + Reported by Mirko Streckenbach . + +1997-02-17 01:40 Zlatko Calusic + + * time/strptime.c (recursive): Return rp to caller. + (strptime_internal): First check for long names, then abbreviated + (month & weekday). + +1997-03-10 19:44 Andreas Schwab + + * Makeconfig: Remove useless definitions of ASFLAGS-%. + * config.make.in (ASFLAGS-.so): Remove. + * configure.in: Don't substitute ASFLAGS_SO. + * sysdeps/sparc/configure.in: Remove file. + * sysdeps/sparc/Makefile (ASFLAGS-.so): Define. + +1997-03-11 17:00 Andreas Schwab + + * time/strptime.c (strptime_internal) [case 'Y']: Always subtract + 1900 from year, regardless of century. + +1997-03-12 05:43 Ulrich Drepper + + * stdlib/strtod.c (_tens_in_limb) [BITS_PER_MP_LIMB > 32]: Make + all numbers unsigned to make buggy gccs happy. + Patch by Bryan W. Headley . + + * sysdeps/unix/sysv/linux/netinet/ip.h: Add backward-compatibility + definitions. Patch by a sun . + Pretty print header. + + * Makerules (build-shlib): Also create symlink if library is versioned. + Based on a patch by H.J. Lu . + Remove special rule to libc.so symlink. + +1997-03-11 20:16 Andreas Jaeger + + * manual/math.texi (Domain and Range Errors): Change descriptions + according to recent changes for ISO C 9X. + +1997-03-11 22:39 Ulrich Drepper + + * sysdeps/libm-ieee754/k_standard.c (__kernel_standard): Correct + return values for acos, asin, and atan2. + Reported by Andreas Jaeger . + +1997-03-10 18:16 Thorsten Kukuk + + * nis/ypclnt.c (__yp_bind): Fix possible buffer overflow. + +1997-03-10 18:06 Bernd Schmidt + + * dirent/alphasort.c (alphasort): Interpret arguments as pointers + to pointers to directory entries so that alphasort really can be + used as argument for scandir. + +1997-03-09 23:33 Andreas Jaeger + + * string/strdup.c: Declare memcpy if !(_LIBC || STDC_HEADERS) + instead of strcpy. + +1997-03-10 03:34 Ulrich Drepper + + * catgets/catgets.c (catopen): Always add NLSPATH to search path for + catalogs, not only if the envvar NLSPATH is not available. + Reported by Andries.Brouwer@cwi.nl. + +1997-03-10 02:46 Ulrich Drepper + + * Makeconfig (localtime-file): Don't define using installation + directory. + (inst_localtime-file): New variable. + * time/Makefile (installed-localtime-file): Use inst_localtime-file. + Reported by Edward Seidl . + +1997-03-10 02:31 H.J. Lu + + * time/Makefile: Add source files to dependencies for test data. + +1997-03-09 22:53 Thorsten Kukuk + + * nis/nss_nis/nis-ethers.c: Don't ignore return value of yp_all. + * nis/nss_nis/nis-proto.c: Likewise. + * nis/nss_nis/nis-rpc.c: Likewise. + * nis/nss_nis/nis-service.c: Likewise. + +1997-03-08 14:37 Miguel de Icaza + + * sysdeps/sparc/dl-machine.h (elf_machine_rela): Upgrade to + versioning; Added missing R_SPARC_WDISP30 handling. + (RTLD_START): Implement it. + + * sysdeps/unix/sysv/linux/sparc/brk.c: Fix. + + * sysdeps/unix/sysv/linux/sparc/start.c: Startup code for + Linux/SPARC. + +1997-03-02 18:06 Miguel de Icaza + + * sysdeps/sparc/dl-machine.h (RTLD_START): Make arg as expected by + the dynamic linker instead of having a new conditional define. + Thanks to Richard Henderson for pointing this out. + * elf/rtld.c: Remove usage of ELF_ADJUST_ARG. + +1997-03-20 20:44 Thomas Bushnell, n/BSG + + * sysdeps/mach/hurd/euidaccess.c: Define as __euidaccess and make + euidaccess weak alias. + +1997-03-07 10:30 Thomas Bushnell, n/BSG + + * stdio-common/printf_fphex.c (MIN): New macro. + + * sysdeps/generic/netinet/in.h: Include . + + * sysdeps/generic/sys/mman.h (msync): Mention third arg. + + * sysdeps/generic/netinet/in.h: Add definitions for IPv6 basic + API. (See change by Philip Blundell on Feb 16, 1997.) + +1997-03-05 10:40 Thomas Bushnell, n/BSG + + * hurd/hurd.h (vpprintf): Include . New declaration. + + * hurd/set-host.c (_hurd_set_host_config): Cast second arg to + __file_name_split. + + * mach/mach_error.c (mach_error_string_int): Give full prototype. + * mach/errstring.c (mach_error_string_int): Likewise. + * mach/error_compat.c (__mach_error_map_compat): Likewise. + * hurd/vpprintf.c (pwrite, vpprintf): Likewise. + * stdio/vasprintf.c (vasprintf): Likewise. + + * mach/mach/mach_traps.h: Include . + + * mach/spin-solid.c: Include . + * mach/spin-solid.c (__spin_lock_solid): Provide arg to + swtch_pri. + + * mach/mach_init.c: Include . + + * mach/mach_error.h (mach_error_string, mach_error, + mach_error_type): Always provide prototypes. + + * mach/mach/error.h (mach_error_fn_t): Comment out declaration; it + appears to be entirely unused dead code. + +1997-03-02 13:38 Miles Bader + + * string/argz.h (__need_error_t): New macro, before including + [!__const] (__const): New macro. + [!__error_t_defined] (error_t): New typedef. + +1997-03-09 06:59 Ulrich Drepper + + * Makeconfig: Add ASFLAGS-% flags for SPARC assembler which need + -fPIC. + * Makerules (compile.S): Use ASFLAGS-%. + (COMPILE.S): Likewise. + * config.make.in (ASFLAGS-.so): Define from ASFLAGS_SO. + * configure.in: Substitute ASFLAGS_SO. + * sysdeps/sparc/configure.in: New file. + + * posix/unistd.h: Add prototype for __euidaccess. + * sysdeps/posix/euidaccess.c: Define as __euidaccess and make + euidaccess weak alias. + * sysdeps/stub/euidaccess.c: Likewise. + * inet/rcmd.c: Use __ protected versions of non-standard functions. + + * locale/setlocale.c (setlocale): Don't set usage_count to + MAX_USAGE_COUNT if it already has this value. + + * locale/programs/localedef.c: Don't use LOCALE_PATH to find + binary locale files. Use LOCALEDIR only. + * locale/programs/locfile.c: When named file not found and not + absolute use path in I18NPATH. + + * stdlib/Makefile (headers): Add inttypes.h. + * sysdeps/wordsize-32/inttypes.h: New file. + * sysdeps/wordsize-64/inttypes.h: New file. + + * sysdeps/generic/socketbits.h: Add PF_FILE as synonym for PF_LOCAL + and AF_FILE as synonym for AF_LOCAL. + * sysdeps/unix/sysv/linux/socketbits.h: Likewise. + + * time/Makefile: Rewrite rules for test to handle parallel builds. + +1997-03-09 05:26 Ulrich Drepper + + * manual/startup.texi (EXIT_FAILURE): Fix typo. Patch by + robbe@orcus.priv.at. + +1997-03-09 05:10 Edward Seidl + + * sysdeps/i386/elf/start.S (nofini): *Really* align stack to + 8-byte boundary. + +1997-03-09 01:48 Ulrich Drepper + + * elf/link.h: Define __need_NULL to get definition. Include + . + Patch by Andreas Jaeger . + +1997-03-08 21:48 Thorsten Kukuk + + Rewrite NIS code to allow empty keys. + * nis/nss_nis/nis-ethers.c: Rewritten. + * nis/nss_nis/nis-proto.c: Rewritten. + * nis/nss_nis/nis-publickey.c: Rewritten. + * nis/nss_nis/nis-rpc.c: Rewritten. + * nis/nss_nis/nis-service.c: Rewritten. + +1997-03-08 16:02 Andreas Jaeger + + * time/scheck.c (scheck): Add extra const to second argument. + + * time/private.h: Correct prototypes to match definition. + +1997-03-08 18:55 Ulrich Drepper + + * sysdeps/alpha/__math.h: Remove cabs inline definition. + Reported by Philip Blundell . + +1997-03-08 05:30 Ulrich Drepper + + * argp/Makefile (routines): Add argp-eexst. + * argp/argp-ba.c (argp_program_bug_address): Make `const'. + * argp/argp-eexst.c: New file. Define exit status variable. + * argp/argp-help.c (__argp_state_help): Use argp_err_exit_status + variable instead of always exiting with value 1. + * argp/argp-pv.c (argp_program_version): Make `const'. + * argp/argp.h: Declare argp_err_exit_status. + Patches by Miles Bader . + + * locale/programs/localedef.c: Use argp_err_exit_status to + terminate with correct value. + + * inet/rcmd.c (iruserok): Use euidaccess instead of half-hearted + switching of UID before opening .rhosts. + + * libio/vsnprintf.c: Change implementation to follow ISO C 9X + proposal. The return value now is always the number of characters + which would be written if enough space is available. + * manual/stdio.texi: Update description for new behaviour. + + * locale/locale.h (__locale_t): Don't use __locale_t for struct + name and pointer to struct since old gccs cannot keep the namespaces + apart. Rename struct to __locale_struct. + * locale/duplocale.h: Likewise. + * locale/newlocale.h: Likewise. + + * math/Makefile (headers): Add complex.h and cmathcalls.h. + (routines): Remove w_cabs. Add conj, cimag, creal, and cabs. + * math/math.h: Undefine __MATHDECL_1, __MATHDECL, and __MATHCALL + after use. + (signgam): Move declaration to here from mathcalls.h. + * math/mathcalls.h (cabs, __cabs_complex, signgam): Remove definition. + Correct comment for fmin and fmax. + Start implementing complex math function from ISO C 9X. + * math/complex.h: New file. + * math/cmathcalls.h: New file. + * math/cabs.c: New file. + * math/cabsf.c: New file. + * math/cabsl.c: New file. + * math/cimag.c: New file. + * math/cimagf.c: New file. + * math/cimagl.c: New file. + * math/conj.c: New file. + * math/conjf.c: New file. + * math/conjl.c: New file. + * math/creal.c: New file. + * math/crealf.c: New file. + * math/creall.c: New file. + * sysdeps/libm-ieee754/w_cabs.c: Removed. + * sysdeps/libm-ieee754/w_cabsf.c: Removed. + * sysdeps/libm-ieee754/w_cabsl.c: Removed. + + * posix/regex.c: Merge with regex sources from Arnold Robbins' + version in GNU awk. + * posix/regex.h: Likewise. + + Add regex test suite by Tom Lord. + * posix/Makefile (distribute): Add TESTS, TESTS2C.sed, and testcases.h. + (tests): Add runtests. + (before-compile): Add testcases.h. + (testcases.h): New rule to generate header with tests. + * posix/TESTS: New file. + * posix/TESTS2C.sed.: New file. + * posix/runtests.c: New file. + * posix/testcases.h: New file. + + * sysdeps/unix/sysv/linux/poll.c: Test whether poll syscall is + available and use fall-back implementation if not. + + * sysdeps/unix/sysv/linux/syscalls.list: Sort entries. + + * time/ialloc.c: Update from tzcode1997c. + * time/private.h: Likewise. + * time/scheck.c: Likewise. + * time/tzselect.ksh: Likewise. + * time/zdump.c: Likewise. + * time/zic.c: Likewise. + + * time/tzfile.c: Pretty print. + +1997-03-06 07:37 Geoff Keating + + Port to powerpc-*-linux-gnu. Slightly tested, under MkLinux, + on a 601. + + * sysdeps/powerpc/Implies: Added. + * sysdeps/powerpc/__longjmp.S: Added. + * sysdeps/powerpc/__math.h: Added. + * sysdeps/powerpc/bsd-_setjmp.S: Added. + * sysdeps/powerpc/bsd-setjmp.S: Added. + * sysdeps/powerpc/dl-machine.h: Added. + * sysdeps/powerpc/ffs.c: Added. + * sysdeps/powerpc/fpu_control.h: Added. + * sysdeps/powerpc/jmp_buf.h: Added. + * sysdeps/powerpc/setjmp.S: Added. + * sysdeps/powerpc/strlen.S: Added. + * sysdeps/powerpc/elf/start.c: Added. + * sysdeps/powerpc/fpu_control.h: Added. + * sysdeps/powerpc/jmp_buf.h: Added. + + * sysdeps/unix/sysv/linux/powerpc/Dist: Added. + * sysdeps/unix/sysv/linux/powerpc/_exit.S: Added. + * sysdeps/unix/sysv/linux/powerpc/brk.c: Added. + * sysdeps/unix/sysv/linux/powerpc/clone.S: Added. + * sysdeps/unix/sysv/linux/powerpc/init-first.h: Added. + * sysdeps/unix/sysv/linux/powerpc/ioctl-types.h: Added. + * sysdeps/unix/sysv/linux/powerpc/profil.c: Added. + * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Added. + * sysdeps/unix/sysv/linux/powerpc/socket.S: Added. + * sysdeps/unix/sysv/linux/powerpc/syscall.S: Added. + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Added. + * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Added. + * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Added. + * sysdeps/unix/sysv/linux/powerpc/termbits.h: Added. + +1997-03-05 05:24 Geoff Keating + + * elf/dl-runtime.c (fixup): Add ELF_FIXUP_RETURNS_ADDRESS switch, + because knowing the first instruction of a PowerPC PLT trampoline + is not very helpful. + +1997-03-04 08:04 Geoff Keating + + * elf/dl-load.c (ELF_PREFERRED_ADDRESS, ELF_PREFERRED_ADDRESS_DATA, + ELF_FIXED_ADDRESS): Added. These are for dl-machine.h to indicate + a preference as to where executables should be loaded. + +1997-02-28 08:50 Geoff Keating + + * elf/elf.h: Add in all those PowerPC reloc types. + +1997-02-24 07:12 Geoff Keating + + * stdio-common/vfscanf.c: Use __va_copy if available. + +1997-03-06 13:50 Andreas Schwab + + * malloc/malloc.c (mprotect) [_LIBC]: Define as __mprotect to + clean up namespace. + +1997-03-07 14:27 Ulrich Drepper + + * sysdeps/libm-ieee754/s_fpclassify.c (__fpclassify): Don't use + non-existing GET_WORDS macro, use EXTRACT_WORDS. + Reported by Andreas Schwab . + +1997-03-07 05:27 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/sigaction.c: The user- and + kernel-level sigaction structure is different. handle this + correctly. + Bug report by Andreas Jaeger . + +1997-03-06 05:55 David Engel + + * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Also + recognize cache entries with flag == 3. + +1997-03-06 01:05 Ulrich Drepper + + * sysdeps/generic/netinet/in.h (INADDR_NONE): Cast to unsigned int. + (INADDR_LOOPBACK): Likewise. + * sysdeps/unix/sysv/linux/netinet/in.h: Likewise. + + * manual/socket.texi: Correct types of INADDR_* constants from + unsigned long to unsigned. + +1997-03-05 23:14 Ulrich Drepper + + * time/antarctica: Update from tzdata1997c. + * time/asia: Likewise. + * time/zone.tab: Likewise. + +1997-03-05 00:43 Andreas Schwab + + * configure.in (libc_cv_asm_symver_directive, + libc_cv_ld_version_script_option): Remove unknown instruction from + assembler test file. + +1997-03-04 19:14 Andreas Schwab + + * sysdeps/m68k/fpu/__math.h: Update feature tests to use + __USE_ISOC9X. + [__USE_ISOC9X]: Define __log2 and __exp2 inlines. + (fabs): Remove defininition, it is a gcc builtin. + (sqrt, __sqrt): Remove definition, they have wrappers in libm. + +1997-03-04 10:11 H.J. Lu + + * sunrpc/Makefile ($(objpfx)rpc-proto.c): Create subdir before + generating file. + +1997-03-05 03:59 Ulrich Drepper + + * inet/rcmd.c (__ivaliduser): Don't use getline, but __getline + instead to avoid namespace problems. + Reported by David Mosberger-Tang . + +1997-03-03 19:01 Andreas Schwab + + * login/utmp_file.c: Fix previous change. Make portable by + checking the _HAVE_UT_* feature macros. + +1997-03-04 04:31 Ulrich Drepper + + * Makerules: Add rules to handle versioning. + * config.h.in (DO_VERSIONING): New macro. + * config.make.in (versioning): New variable. + * configure.in: Add checks for .symver directive in gas and + --version-script option to ld. Define DO_VERSIONING and + versioning if appropriate. + + * math/Makefile (routines): Add s_signbit, s_fpclassify, s_fmax, + s_fmin, and s_fdim. + * math/math.h: Define ISO C 9X constants, macros and functions. + * math/mathcalls.h: Likewise. + * sysdeps/libm-ieee754/s_fdim.c: New file. + * sysdeps/libm-ieee754/s_fdimf.c: New file. + * sysdeps/libm-ieee754/s_fdiml.c: New file. + * sysdeps/libm-ieee754/s_fmax.c: New file. + * sysdeps/libm-ieee754/s_fmaxf.c: New file. + * sysdeps/libm-ieee754/s_fmaxl.c: New file. + * sysdeps/libm-ieee754/s_fmin.c: New file. + * sysdeps/libm-ieee754/s_fminf.c: New file. + * sysdeps/libm-ieee754/s_fminl.c: New file. + * sysdeps/libm-ieee754/s_fpclassify.c: New file. + * sysdeps/libm-ieee754/s_fpclassifyf.c: New file. + * sysdeps/libm-ieee754/s_fpclassifyl.c: New file. + * sysdeps/libm-ieee754/s_signbit.c: New file. + * sysdeps/libm-ieee754/s_signbitf.c: New file. + * sysdeps/libm-ieee754/s_signbitl.c: New file. + + * stdio-common/printf_fphex.c: Correct printing of decimal point + character. + Simplify conversion of mantissa to string. + * stdio-common/vfscanf.c: Handle %A format. + Optimize termination of floating-point scanning. + * stdio-common/tstscanf.c (main): Add new test to scanf to test + scanning float values with given width. + * stdlib/strtod.c: Add handling of floating-point numbers in + hexadecimal notation. + + * stdlib/stdlib.h: Use __USE_ISOC9X feature macro for new long long + functions. + Pretty print #if directives. + * string/string.h: Pretty print #if directives. + + * sysdeps/ieee754/dbl2mpn.c: Update copyright. + * sysdeps/ieee754/ldbl2mpn.c: Likewise. + * sysdeps/ieee754/mpn2dbl.c: Likewise. + * sysdeps/ieee754/mpn2flt.c: Likewise. + * sysdeps/ieee754/mpn2ldbl.c: Likewise. + + * sysdeps/unix/sysv/linux/poll.c: Implement poll function by + falling back to select-based implementation if syscall isn't + available. + * sysdeps/unix/sysv/linux/syscalls.list: Add s_poll. + + * time/leapseconds: Update from tzdata1997b. + * time/zic.c: Update from tzcode1997b. + +1997-03-01 15:08 Andreas Schwab + + * time/Makefile $(tzfiles:%=$(objpfx)z.%): Remove unneeded + depedencies between installed $(tzlinks) and $(tzbases) files. + +1997-03-01 14:27 Andreas Schwab + + * math/math.h: Make compatible with traditional preprocessor; + requires carefull placement of whitespace in macro arguments. + Use __CONCAT instead of ##. + Declare long double functions only if __STDC__ or __GNUC__. + * math/mathcall.h: Avoid whitespace before argument of macro call + that is used as function name. + + * sysdeps/m68k/fpu/__math.h: Use __CONCAT instead of ##. + (__m81_u, __m81_inline): Depend on __LIBC_M81_MATH_INLINES instead + of __NO_M81_MATH_INLINES. + [!__LIBC_M81_MATH_INLINES]: Don't define internal functions + starting with __ieee754. + [!__NO_MATH_INLINES && __OPTIMIZE__]: Define user visible + functions as inlines. + (__m81_defun): Put __attribute__ between return type and function + name. + * math/math.h: Include <__math.h> also if __LIBC_M81_MATH_INLINES + is defined. + * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_M81_MATH_INLINES + instead of __NO_M81_MATH_INLINES. + * sysdeps/m68k/fpu/e_fmod.c: Likewise. + * sysdeps/m68k/fpu/k_cos.c: Likewise. + * sysdeps/m68k/fpu/k_sin.c: Likewise. + * sysdeps/m68k/fpu/k_tan.c: Likewise. + * sysdeps/m68k/fpu/s_atan.c: Likewise. De-ANSI-declify. + * sysdeps/m68k/fpu/s_frexp.c: Likewise. + * sysdeps/m68k/fpu/s_ilogb.c: Likewise. + * sysdeps/m68k/fpu/s_isinf.c: Likewise. + * sysdeps/m68k/fpu/s_modf.c: Likewise. + * sysdeps/m68k/fpu/s_scalbn.c: Likewise. + +1997-02-27 21:51 Andreas Schwab + + * Makefile (tests): Cope with $PATH not including the current + directory. + +1997-02-27 18:04 Andreas Schwab + + * sysdeps/unix/Makefile ($(common-objpfx)mk-local_lim): Use + $(common-objdir-compile). + ($(common-objpfx)make-ioctls): Likewise. + (mk-local_lim-CFLAGS): Set this instead of local_lim-CFLAGS. + ($(common-objpfx)sys/param.h): Use $(make-target-directory). + ($(addprefix $(common-objpfx),$(sys/param.h-includes))): + Likewise. + ($(common-objpfx)sys/syscall.h): Likewise. + ($(common-objpfx)local_lim.h): Let make deal with command + failure. + ($(common-objpfx)param.h.dep): Use temporary file and update + target atomically. + ($(common-objpfx)errnos): Avoid the Useless Use of cat Award. + (include $(common-objpfx)param.h.dep): Ignore error. + + * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Use + $(common-objdir-compile). + (mk-stdiolim-CFLAGS): Renamed from cded-objdir-includes, use + $(shell pwd) instead of $$cwd. + + * sysdeps/generic/Makefile ($(common-objpfx)det_endian): Use + $(common-objdir-compile). + ($(objpfx)make_siglist): Use $(native-compile). + (make_siglist-CFLAGS): New variable. + + * Makerules (ALL_BUILD_CFLAGS): Renamed from BUILD_CFLAGS, leaving + the old name for the user to pass additional flags to the host + compiler. Fix reference to config header. + (native-compile, common-objdir-compile): Rewritten to make more + generally usable. + * sysdeps/unix/sysv/sysv4/solaris2/Makefile: Set ALL_BUILD_CFLAGS + instead of BUILD_CFLAGS. + + * sysvips/sys/ipc.h: Warn if needed feature select macro are not + defined. + +1997-02-27 17:11 Andreas Schwab + + * sunrpc/Makefile ($(objpfx)rpc-proto.d, $(objpfx)rpc-proto.c): + New rules to generate dependencies for the RPC service objects. + +1997-02-27 16:26 Andreas Schwab + + * argp/argp-parse.c (parser_finalize): Always set *END_INDEX if + supplied. + +1997-02-28 03:27 Ulrich Drepper + + * stdlib/strtod.c (STRTOF): Make sure return value is large enough + so that clearing second word is necessary. + + * sysdeps/unix/sysv/linux/netinet/in_systm.h: Don't use kernel + header since it is wrong for 64 bit systems. + Patch by a sun . + +1997-02-27 10:34 Richard Henderson + + * sysdeps/unix/sysv/linux/alpha/brk.S: Support both the Linux/i386 + and OSF/1 style brk syscalls. We may want to change Linux/Alpha + for the benefit of running foreign binaries. + +1997-03-01 20:21 Miles Bader + + * login/utmp_file.c (pututline_file): Correctly decide whether + LAST_ENTRY matches DATA. + Don't depend on ut_id ever being set. + (proc_utmp_eq): New function. + (internal_getut_r): Renamed from internal_getutid_r. + Use proc_utmp_eq. + + * login/logout.c (logout): Change type of entry to be DEAD_PROCESS. + +1997-02-25 19:42 Miles Bader + + * sysdeps/mach/hurd/fcntlbits.h (O_NORW): New macro. + +1997-02-27 05:12 Ulrich Drepper + + * manual/Makefile: Add rules to run and distribute xtract-typefun. + * manual/xtract-typefun.awk: New file. Script to extract function, + variable, macro anchor to put into the `dir' file. + * manual/signal.texi: Document difference between SysV and BSD + signal(3) function and add documentation for sysv_signal. + + * sysdeps/libm-i387/e_acoshl.c: Clear upper half of word containing + exponent before comparing. + +1997-02-27 01:13 Ulrich Drepper + + * sysdeps/generic/netinet/in.h (htonl, htons, ntohl, ntohs): Change + prototypes to use types with explicit width. `unsigned long' is + different on 64 bit systems. + * sysdeps/unix/sysv/linux/netinet/in.h: Likewise. + * sysdeps/generic/htonl.c: Likewise. + * sysdeps/generic/htons.c: Likewise. + * sysdeps/generic/ntohl.c: Likewise. + * sysdeps/generic/ntohs.c: Likewise. + Suggested by a sun . + +1997-02-26 08:30 Andreas Jaeger + + * math/math.h: Include <__math.h> if __NO_MATH_INLINES is not + defined and we want optimization. + +1997-02-02 19:53 Andreas Schwab + + * misc/getpass.c: Don't disable canonical input. + Reverted patch of Mon Jan 6 01:35:29 1997. + +1996-12-14 22:07 Andreas Schwab + + * libio/libioP.h (_IO_finish_t): Take additional parameter, to + match the hidden __in_chrg parameter of the destructor. + (_IO_FINISH): Pass zero for it. + * libio/genops.c (_IO_default_finish): Add second parameter, which + is ignored. + * libio/memstream.c (_IO_mem_finish): Likewise. + * libio/fileops.c (_IO_file_finish): Likewise. + * libio/strops.c (_IO_str_finish): Likewise. All callers changed. + +1997-02-27 00:23 H.J. Lu + + * time/Makefile: Avoid using patterns in dependencies. + +1997-02-26 00:56 Miguel de Icaza + + * elf/rtld.c: Make _dl_start static. Otherwise the linker on the + SPARC will convert the call _dl_start into a call into the PLT. + + * elf/rtld.c (_dl_start): On the SPARC we need to adjust the value + of arg to make it point to the actual values. + + * sysdeps/sparc/elf/DEFS.h: New ELF specific version. + * sysdeps/sparc/Dist: Mention sysdeps/sparc/elf/DEFS.h. + + * sysdeps/sparc/bsd-_setjmp.S, sysdeps/sparc/bsd-setjmp.S: Make + them PIC aware. + + * sysdeps/sparc/dl-machine.h (elf_machine_load_address): + Implemented. + (elf_machine_rela): Make it compile; fix existing relocation + types; add unhandled relocation types. + (ELF_ADJUST_ARG): Get pointer to arguments at program startup. + (RTLD_START): Initial implementation, not yet finished. + + * sysdeps/sparc/elf/start.S: Fix. + + * sysdeps/sparc/fpu_control.h: Remove duplicate declaration of + __setfpucw. + + * sysdeps/sparc/divrem.m4: Make compilable under Linux. + * sysdeps/sparc/rem.S, sysdeps/sparc/sdiv.S, sysdeps/sparc/udiv.S, + sysdeps/sparc/urem.S : Regenerated. + + * sysdeps/sparc/setjmp.S: Make it PIC aware. + + * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Define + __ASSEMBLY__ before using kernel header. + + * sysdeps/unix/sysv/linux/sparc/Makefile: Use -mv8 flag to compile + rtld.c. + + * sysdeps/unix/sysv/linux/sparc/brk.c: Implement. + * sysdeps/unix/sysv/linux/sparc/profil-counter.h: Remove code + to handle old signals. + * sysdeps/unix/sysv/linux/sparc/sigaction.c: Implements sigaction + for all Linux/SPARC kernels. + * sysdeps/unix/sysv/linux/sparc/syscall.S: Add code to store + errno using __errno_location. + * sysdeps/unix/sysv/linux/sparc/sysdep.h: Add various handler + macros for assembler sources. + * sysdeps/unix/sysv/linux/sparc/errno.c: Define errno. + +1997-02-25 16:02 Andreas Schwab + + * elf/rtld.c (dl_main): Remove dead code that is never executed. + Rename local variable l to main_map where it is used to point to + the load_map for the executable. + +1997-02-25 15:03 Andreas Schwab + + * elf/dl-version.c (_dl_check_all_versions): Ignore libraries that + could not be found. + +1997-02-24 23:18 Andreas Schwab + + * Makerules: Generate implicit object suffix rules automagically. + (o-iterator): Move before first use. + + * Makeconfig (all-object-suffixes): Add .bo suffix. + +1997-02-25 15:11 Ulrich Drepper + + * sysdeps/libm-i387/e_acoshf.S (__ieee754_acoshf): Test correct + word on stack for overflow. + +1997-02-24 23:05 Wolfram Gloger + + * malloc/malloc.c (malloc_get_state): New function. + Saves global malloc state to an opaque data structure which + is dynamically allocated in the heap. + * malloc/malloc.c (malloc_set_state): New function. + Restore previously obtained state. + * malloc/malloc.h: Add declaration of malloc_get_state() + and malloc_set_state(). + +1997-02-24 23:27 Ulrich Drepper + + * sysdeps/libm-ieee754/s_cbrtl.c: Shift B1_EXP value to right + position. + +1997-02-24 17:38 Ulrich Drepper + + * misc/error.c: Make error and error_at_line weak aliases of + __error and __error_at_line respectively. + Suggested by David Mosberger-Tang . + + * sysdeps/unix/sysv/linux/i386/socket.S: Update copyright. + +1997-02-22 11:30 Andreas Schwab + + * elf/ldd.bash.in: Run the program directly, not as argument + to the dynamic linker, if it contains an interpreter segment. + * elf/ldd.sh.in: Likewise. + + * elf/rtld.c (dl_main): In verify mode check whether the dynamic + object contains an interpreter segment and exit with 2 if not. + +1997-02-23 01:23 Andreas Schwab + + * Makefile (distribute): Remove nsswitch.h, netgroup.h, mcheck.h + and xlocale.h. Make-dist adds them automagically. + +1997-02-22 12:25 Andreas Schwab + + * locale/C-time.c (_nl_C_LC_TIME): Add missing entry for + time-era-num-entries. + +1997-02-06 13:49 Andreas Schwab + + * rellns-sh: No need to check for existance of first parameter. + +1997-02-24 15:20 Jonathan T. Agnew + + * glibcbug.in: Don't mention destination on MAIL_AGENT command line + to avoid duplicate mail. + +1997-02-24 03:51 Ulrich Drepper + + * Makefile (distribute): Add isomac.c. + (tests): Run isomac test. + + * features.h (__USE_ISOC9X): New macro. + + * catgets/catgets.c: Don't use global variable `optind'. Instead + use result computed by argp_parse. + * db/makedb: Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/localedef.c: Likewise. + + * libio/stdio.h: Rewrite. Make it more readable and add comments. + + * libio/clearerr.c: Remove clearerr_locked alias. + * libio/feof.c: Remove feof_locked alias. + * libio/ferror.c: Remove feof_locked alias. + * libio/fileno.c: Remove fileno_locked alias. + * libio/fputc.c: Remove fputc_locked alias. + * libio/getc.c: Remove getc_locked alias. + * libio/getchar.c: Remove getchar_locked alias. + * libio/iofflush.c: Remove fflush_locked alias. + * libio/putc.c: Remove putc_locked alias. + * libio/putc.c: Remove putchar_locked alias. + + * stdio-common/printf_fp.c: When number is inifinity print INF + or inf depending on case of specifier. Same for NaN where NAN + or nan is printed. Specified in ISO C 9X. + + * misc/sys/cdefs.h (__restrict): Define to empty string for now. + * stdio/stdio.h: Add __restrict to prototypes where necessary. + * libio/stdio.h: Likewise. + * stdlib/stdlib.h: Likewise. + * string/string.h: Likewise. + * time/time.h: Likewise. + * wcsmbs/wchar.h: Likewise. + + * stdlib/strtod.c: Change to recognize INF, INFINITY, NAN, and + NAN(...). + + * sysdeps/ieee754/huge_val.h: Define HUGE_VALF and HUGE_VALL instead + of HUGE_VALf and HUGE_VALL. + * stdlib/strtof.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALF + instead of HUGE_VALf. + * wcsmbs/wcstof.c: Likewise. + * stdlib/strtold.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALL + instead of HUGE_VALl. + * wcsmbs/wcstold.c: Likewise. + + * sysdeps/posix/gai_strerror.c: Use size_t for counter variable to + avoid warning. + + * wcsmbs/Makefile (routines): Add wcscasecmp and wcsncase. + * wcsmbs/wchar.h: Add prototypes for wcscasecmp and wcsncase. + * wcsmbs/wcscasecmp.c: New file. + * wcsmbs/wcsncase.c: New file. + + * stdlib/strtol.c: Define wide character quad word functions as + wcstoll and wcstoull and normal versions as strtoll and strtoull. + * wcsmbs/wchar.h: Add prototypes for wcstoll and wcstoull. + * wcsmbs/wcstoq: Renamed to wcstoll.c. + * wcsmbs/wcstouq: Renamed to wcstoull.c. + * wcsmbs/wcstoll.c: Renamed from wcstoq.c. Make wcstoq a weak + alias of wcstoll. + * wcsmbs/wcstoull.c: Renamed from wcstouq.c. Make wcstouq a weak + alias of wcstoull. + * wcsmbs/Makefile (routines): Replace wcstoq and wcstouq by + wcstoll and wcstoull respectively. + * stdlib/strtoq.c: Rename to strtoll.c. + * stdlib/strtouq.c: Rename to strtoull.c. + * stdlib/strtoll.c: Renamed from strtoq.c. Make strtoq a weak + alias of strtoll. + * stdlib/strtoll.c: Renamed from strtouq.c. Make strtouq a weak + alias of strtoull. + * stdlib/Makefile (routines): Replace strtoq and strtouq by + strtoll and strtoull respectively. + * stdio-common/vfscanf.c: Don't use __strtoq_internal and + __strtouq_internal but instead __strtoll_internal and + __strtoull_internal respectively. + * stdlib/stdlib.h (strtoq): Use __internal_strtoll in inline version. + (strtouq): Similar with __internal_strtoull. + * wcsmbs/wchar.h (wcstoq): Use __internal_wcstoll in inline version. + (wcstouq): Similar with __internal_wcstoull. + +1997-02-23 04:38 Ulrich Drepper + + * stdlib/strtol.c (STRTOL): It is not illegal to parse a minus + sign in the strtouXX functions. The results gets simply negated. + * stdio-common/tstscanf.c: Add testcase for above case. + * stdlib/tst-strtol.c: Correct tests. + + * manual/stdio-fp.c: New file. Generate output for example program + in stdio.texi. + + * stdio-common/Makefile (routines): Add printf_fphex. + * stdio-common/vfprintf.c: Add handling of %a and %A specifier. + * stdio-common/printf_fphex.c: New file. Implement %a and %A + specifier. + +1997-02-22 03:01 Ulrich Drepper + + * sysdeps/unix/sysv/linux/timebits.h (CLK_TCK): Don't defined if + __STRICT_ANSI__. + + * math/math.h: Prevent definition of struct exception when using + C++. Use __exception instead. + +1997-02-22 01:45 Ulrich Drepper + + * sysdeps/unix/syscalls.list: Dup takes only one argument. + Reported by Greg McGary. + +1997-02-21 00:22 Miles Bader + + * sysdeps/mach/hurd/readlink.c (__readlink): Use io_read rather + than file_get_translator. + + * sysdeps/mach/hurd/defs.c, sysdeps/stub/defs.c, sysdeps/posix/defs.c + (_cleanup): Use __fcloseall instead of fclose with a NULL stream. + +1997-02-20 01:28 Miles Bader + + * hurd/fchroot.c (fchroot): Reparent DIR to make it a real root. + * sysdeps/mach/hurd/chroot.c (chroot): Likewise. + +1997-02-19 13:56 Miles Bader + + * sysdeps/mach/hurd/accept.c (accept): Don't segv if ADDR_LEN == 0 + but ADDR also == 0. + + * hurd/report-wait.c (_hurd_itimer_thread): Make a weak alias for + now instead of a weak extern, as some old programs expect it to be + defined by ld.so. + +1997-02-18 15:39 Miles Bader + + * hurd/hurdfault.c (_hurdsig_fault_preempter): New weak alias. + + * sysdeps/mach/hurd/dl-sysdep.c (__hurd_threadvar_max, + __hurd_threadvar_stack_offset): Restore initialized versions, so + startup works correctly. + + * malloc/thread-m.h (mutex_trylock): Invert sense of return value. + +1997-02-17 10:58 Miles Bader + + * malloc/thread-m.h (mutex_trylock): Define to be __mutex_trylock, + not __mutex_try_lock. + (tsd_setspecific): Cast DATA to (unsigned long) before storing. + (tsd_getspecific): Case variable to (void *) before returning. + + * hurd/hurdinit.c (__libc_argv): Remove extern. + (__libc_argc): New variable. + +1997-02-15 10:23 Miles Bader + + * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add + _HURD_THREADVAR_MALLOC. + * malloc/thread-m.h + [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER] + (mutex_lock, mutex_unlock, mutex_trylock): Defined in terms of + __mutex_*. + (mutex_t): Type removed & replaced by new macro. + (tsd_key_t): Typedef to int instead of pthread_key_t. + (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros. + (__pthread_initialize): New macro, work around assumption of pthreads. + (tsd_keys_alloced): New static variable. + : New include. + + * hurd/report-wait.c (_hurd_itimer_thread): Make a weak extern. + (_S_msg_report_wait): Check to see if _hurd_itimer_thread is + defined before using it. + + * sysdeps/mach/hurd/i386/init-first.c (__libc_argv, __libc_argc): + Make extern. + * hurd/hurdinit.c (__libc_argv): Make extern. + + * hurd/getdport.c (_default_hurd_getdport_fn): New variable. + (_hurd_getdport_fn): Now a weak alias to _default_hurd_getdport_fn. + + * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max, + __hurd_threadvar_stack_offset, + __hurd_threadvar_stack_mask): New variables. + * hurd/hurdsig.c (__hurd_sigthread_stack_base, + __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables): + New variables (moved here from hurdstartup.c). + * hurd/hurdstartup.c (__hurd_sigthread_stack_base, + __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables): + Variables removed (moved to hurdsig.c). + (__hurd_threadvar_max, __hurd_threadvar_stack_offset, + __hurd_threadvar_stack_mask): Variables removed. + * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base, + __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables, + __hurd_threadvar_max, __hurd_threadvar_stack_offset, + __hurd_threadvar_stack_mask): Variables removed. + +1997-02-14 14:07 Miles Bader + + * hurd/hurd.h (_hurd_pids_changed_stamp, _hurd_pids_changed_sync): + Declare extern. + + * malloc/thread-m.h + [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER] + (mutex_t): Type removed. + (mutex_t): New macro. + (mutex_trylock): New macro. + (__x_mutex_lock, __x_mutex_unlock): New functions. + (mutex_lock, mutex_unlock): New macros, redefining the behavior of + the cthread definitions. + (tsd_key_t): Typedef to cthread_key_t instead of pthread_key_t. + (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros. + (mutex_lock, mutex_unlock, mutex_trylock, mutex_init): Macros removed. + (__pthread_initialize): New macro, work around assumption of pthreads. + +1997-02-11 05:27 Ulrich Drepper + + * locale/weight.h (collate_rules): It's an u_int32_t array. + (get_weight): Compute initial SLOT value correctly. + +1997-02-24 17:06 Geoffrey Keating + + * sysdeps/unix/sysv/linux/accept.S (NARGS): Describe number of + arguments taken, for sysdeps/unix/sysv/linux/powerpc/socket.S. + * sysdeps/unix/sysv/linux/bind.S: Likewise. + * sysdeps/unix/sysv/linux/connect.S: Likewise. + * sysdeps/unix/sysv/linux/getpeername.S: Likewise. + * sysdeps/unix/sysv/linux/getsockname.S: Likewise. + * sysdeps/unix/sysv/linux/getsockopt.S: Likewise. + * sysdeps/unix/sysv/linux/listen.S: Likewise. + * sysdeps/unix/sysv/linux/recv.S: Likewise. * sysdeps/unix/sysv/linux/recvfrom.S: Likewise. * sysdeps/unix/sysv/linux/recvmsg.S: Likewise. + * sysdeps/unix/sysv/linux/send.S: Likewise. * sysdeps/unix/sysv/linux/sendmsg.S: Likewise. - * sysdeps/unix/sysv/linux/recv.S: Likewise. * sysdeps/unix/sysv/linux/sendto.S: Likewise. - * sysdeps/unix/sysv/linux/connect.S: Likewise. - Reported by Christopher Wiles . + * sysdeps/unix/sysv/linux/setsockopt.S: Likewise. + * sysdeps/unix/sysv/linux/shutdown.S: Likewise. + * sysdeps/unix/sysv/linux/socketpair.S: Likewise. -See ChangeLog.7 for earlier changes. +1997-02-22 00:17 Ulrich Drepper + + * catgets/gencat.c: Change to use argp. + * db/makedb: Likewise. + * locale/programs/localedef.c: Likewise. + + * locale/programs/locale.c: Little adjustment for better usage of + argp. + +1997-02-20 20:07 Greg McGary + + * Makeconfig: Add rules for libc with bounded pointers. + * Makerules: Likewise. + * config.make.in: Likewise. + * configure.in: Likewise. + +1997-02-21 10:41 Miles Bader + + * argp/argp.h (OPTION_NO_USAGE): New macro. + * argp/argp-help.c (usage_long_opt, usage_argful_short_opt, + add_argless_short_opt): Implement OPTION_NO_USAGE. + +1997-02-20 16:41 Andreas Schwab + + * malloc/obstack.h: Fix typo. + +1997-02-20 15:56 Miles Bader + + * argp/argp-fmtstream.c (__argp_fmtstream_update): Account for case + where NEXTLINE points one past the end of the active buffer. + + * argp/argp-help.c : New include. + (__argp_failure): Only exit if STATE says it's ok. + (print_header, hol_entry_help): Use UPARAMS fields rather than + constants. + (_help): Call fill_in_uparams if necessary. + (struct hol_help_state): New type. + (struct pentry_state): Add hhstate field. Remove prev_entry & + sep_groups fields. + (hol_entry_help): Add HHSTATE parameter. Remove prev_entry & + sep_groups parameters. + Suppress duplicate arguments if requested, and note the fact. + (print_header, comma): Use PEST->hhstate fields. + (hol_help): Add HHSTATE variable & pass to hol_entry_help. + Remove LAST_ENTRY & SEP_GROUPS variables. + If any suplicate arguments were suppressed, print explanatory note. + (filter_doc): Replace PEST parameter with STATE. + (struct uparams): New type. + (uparams): New variable. + (struct uparam_name): New type. + (uparam_names): New variable. + (fill_in_uparams): New function. + (__argp_failure, __argp_error, __argp_state_help): Make STATE + parameter const. + * argp/argp.h (argp_state_help, __argp_state_help, argp_usage, + __argp_usage, argp_error, __argp_error, argp_failure, + __argp_failure): Make STATE parameter const. + (ARGP_KEY_HELP_DUP_ARGS_NOTE): New macro. + + * argp/argp.h (argp_program_bug_address): Make const. + +1997-02-20 19:20 Ulrich Drepper + + * sysdeps/unix/mman/syscalls.list: Explain msync interface. + +1997-02-19 01:37 Erik Troan + + * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields. + +1997-02-20 14:44 Andreas Jaeger + + * stdio-common/test-fseek.c: Remove temporary file, add + copyright. + +1997-02-20 17:51 Ulrich Drepper + + * sysdeps/generic/netinet/in.h: Protect contents using + __BEGIN/END_DECLS. Reported by a sun . + + * inet/net/ethernet.h: Move to sysdeps/unix/sysv/linux/net. + * inet/Makefile (headers): Remove net/ethernet.h. + * sysdeps/unix/sysv/linux/Makefile: Install net/ethernet.h. + * sysdeps/unix/sysv/linux/Dist: Distribute net/ethernet.h. + +1997-02-20 15:23 Thorsten Kukuk + + * nss/nsswitch.c (__nss_configure_lookup): Use correct test when + searching in sorted array. + +1997-02-20 01:24 Philip Blundell + + * inet/getnameinfo.c: Change to use reentrant getXXbyYY functions + and protect modification of global data. + +1997-02-19 18:48 Miles Bader + + * argp/argp-parse.c (argp_default_parser): Set STATE->name for OPT_PROGNAME. + (parser_init): Use the basename for PARSER->state.name. + * argp/argp-help.c (__argp_error, __argp_failure, __argp_state_help): + Use PROGRAM_INVOCATION_SHORT_NAME instead of PROGRAM_INVOCATION_NAME. + + * argp/argp-parse.c (parser_init): Set PARSER->state.flags. + Make check whether PARSER has the prog name in argv[0] at the + proper place. + +1997-02-19 23:34 Ulrich Drepper + + * locale/programs/ld-time.c (time_finish): t_fmt_ampm is optional. + Use default value instead of printing a warning. + + * nss/XXX-lookup.c: Add missing explanation. + +1997-02-19 19:14 Andreas Jaeger + + * inet/in6_addr.c: Add missing braces. + + * inet/getnameinfo.c: Include . + + * sysdeps/posix/getaddrinfo.c: Include . + +1997-02-19 11:46 Ulrich Drepper + + * string/strxfrm.c (STRCOLL): Correct handling of `position' + levels with no non-IGNOREd element and handling of NUL byte. + * string/strcoll.c (STRXFRM): Likewise. + * locale/weight.h: Likewise. + + * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'. + +1997-02-19 03:28 Miles Bader + + * argp/argp-help.c: Add support for user provided filter of help + messages. + * argp/argp-parse.c: Likewise. + * argp/argp.h: Likewise. + * argp/argp-namefrob.h: Define __argp_input. + + * argp/argp-test.c: Add example for filter. + +1997-02-19 02:58 Ulrich Drepper + + * argp.h: New file. + * locale/programs/locale.c: Switch to use argp. + + * errno.h: Make it possible to get definition of error_t even + after having errno.h already. + + * elf/dl-hash.h: New file. ELF hashing function. Extracted + from dl-lookup.c. + * elf/dl-lookup.c (_dl_elf_hash): Remove definition. + + * elf/dl-load.c: Rename _dl_does_name_match_p to _dl_name_match_p. + * elf/dl-version.c: Likewise. + + * elf/dl-lookup.c: Implement new versioning lookup scheme. + * elf/dl-version.c (_dl_check_map_versions): Initialize new field + in l_versions member. + + * elf/dlvsym.c: Correct call of _dl_lookup_versioned_symbol_skip + and _dl_lookup_versioned_symbol. + + * elf/link.h: Rename hash_name_pair to struct r_found_version. + * sysdeps/alpha/dl-machine.h: Likewise. + * sysdeps/i386/dl-machine.h: Likewise. + * sysdeps/m68k/dl-machine.h: Likewise. + * sysdeps/mips/dl-machine.h: Likewise. + + * intl/l10nflist.c: (_nl_make_l10nflist): Fix bug in computation of + length of abs_filename. + + * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH. + + * locale/programs/ld-monetary.c (monetary_add): Allow value 0 + in mon_grouping information. This means no more grouping. + * locale/programs/ld-numeric.c (numeric_add): Write value \377 + when seein value 0 in grouping information. + * locale/programs/linereader.c (lr_close): Don't free fname since + it might be used in error messages. + + * locale/programs/locale.c: Check whether output of `locale -a' + really is locale directory. Also print locale aliases. + + * misc/search.h (__action_fn_t): Parameters VALUE and LEVEL cannot + be const. + +1997-02-19 02:16 Ulrich Drepper + + * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Correct #defin to + #define. Reported by Rick Flower . + +1997-02-19 01:37 Erik Troan + + * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields. + +1997-02-19 01:02 Ulrich Drepper + + * sysdeps/unix/mman/syscalls.list: msync takes 3 arguments. + Reported by Andreas Jaeger . + + * sysdeps/stub/msync.c (msync): Add missing third parameter. + +1997-02-19 00:29 Ulrich Drepper + + * sysdeps/unix/bsd/sigsuspend.c: Call __sigpause with needed + additional argument. + +1997-02-18 22:13 Ulrich Drepper + + * inet/net/ethernet.h: New file. + * sysdeps/unix/sysv/linux/netinet/if_ether.c: Add BSD compatibility. + * sysdeps/unix/sysv/linux/net/if_slip.h: New file. + Contributed by a sun . + + * sysdeps/unix/sysv/linux/net/if_arp.h: Include . + * sunrpc/rpc/rpc_msg.h: Include . + Reported by a sun . + +1997-02-16 14:25 Andreas Schwab + + * Makerules ((common-objpfx)distinfo-$(subdir)): Depend on sysdep + makefiles which may change the distinfo variables. + +1997-02-16 14:03 Andreas Schwab + + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) + [$(subdir)=misc]: Add sys/quota.h. + (sysdep_headers) [$(subdir)=inet]: Add netinet/udp.h. + +1997-02-17 13:12 aleph1@dfw.net + + * sunrpc/clnt_simp.c (callrpc): Prevent buffer overflow by using + strncpy. + +1997-02-18 03:28 Ulrich Drepper + + * stdio-common/bug10.c (main): Correct parameter. + +1997-02-17 02:51 Ulrich Drepper + + * malloc/obstack.h: Add `extern "C"' protection. + * posix/regex.h: Likewise. + * io/ftw.h: Likewise. + * misc/libgen.h: Likewise. + * login/utmp.h: Likewise. + * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise. + * sysdeps/unix/sysv/linux/netinet/in.h: Likewise. + * sunrpc/rpc/pmap_rmt.h: Likewise. + * sunrpc/rpc/auth_des.h: Likewise. + * elf/link.h: Likewise. + Reported by HJ Lu. + +1997-02-17 01:45 a sun + + Linux specific network headers. + * sysdeps/unix/sysv/linux/netinet/if_fddi.h: New file. + * sysdeps/unix/sysv/linux/netinet/if_tr.h: New file. + * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: New file. + * sysdeps/unix/sysv/linux/netinet/ip_fw.h: New file. + * sysdeps/unix/sysv/linux/netinet/igmp.h: New file. + * sysdeps/unix/sysv/linux/netinet/icmp.h: New file. + * sysdeps/unix/sysv/linux/netinet/ip.h: New file. + * sysdeps/unix/sysv/linux/netinet/tcp.h: New file. + * sysdeps/unix/sysv/linux/netipx/ipx.h: New file. + * sysdeps/unix/sysv/linux/netatalk/atalk.h: New file. + * sysdeps/unix/sysv/linux/Dist: Add new network headers. + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers): + Add sys/quota.h. + [$(subdir)=inet] (sysdep_headers): Add new network header. + + * sysdeps/unix/sysv/linux/netinet/udp.h: Add Linux specific changes. + + * inet/netinet/ip.h: Move to sysdeps/generic. + * inet/netinet/tcp.h: Likewise. + * sysdeps/generic/netinet/ip.h: Moved to here from inet/netinet. + * sysdeps/generic/netinet/tcp.h: Likewise. + +1997-02-17 01:18 Ulrich Drepper + + * misc/sys/syslog.h (prioritynames): Correct definition to use + braces where necessary. + (facilitynames): Likewise. + Patch by Ronald F. Guilmette . + Comment and beautify declarations. + +1997-02-16 19:54 1997 Philip Blundell + + * inet/Makefile (routines): Add in6_addr, getnameinfo. + * inet/getnameinfo.c: New file. Implementation of getnameinfo() + by Craig Metz. + * inet/in6_addr.c: New file. IPv6 addressing constants. + * posix/Makefile (routines): Add gai_strerror. + * resolv/netdb.h: Add more constants for IPv6 basic API. + * sysdeps/posix/gai_strerror.c: New file. + * sysdeps/stub/gai_strerror.c New file. + * sysdeps/unix/sysv/linux/netinet/in.h: Add definitions for IPv6 + basic API. + + * sysdeps/posix/getaddrinfo.c: Update from latest version by + Craig Metz and use reentrant getXXbyYY functions. + +1997-02-15 14:32 Andreas Jaeger + + * argp/argp.h: Declare argp_program_version as const char. + * argp/argp-test.c: Likewise + + * stdlib/testrand.c (main): Declare main prototype. + * stdlib/testdiv.c (main): Likewise. + * string/testcopy.c (main): Likewise. + * string/test-ffs.c (main): Likewise. + * time/test_time.c (main): Likewise. + + * locale/duplocale.c (__duplocale): Return result. + +1997-02-16 03:54 Ulrich Drepper + + * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport. + Reported by fabsoft@fabserver1.zarm.uni-bremen.de. + + * nss/nss.h: Remove declaration of __nss_shlib_revision. + * nss/nsswitch.c: Don't use NSS_SHLIB_VERSION macro. + +1997-02-16 03:48 Thorsten Kukuk + + * nis/nss_nis/nis-ethers.c (_nss_nis_getethernam_r): Rename to + _nss_nis_gethostton_r. + (_nss_nis_getetherbyaddr_r): Rename to _nss_nis_getntohost_r. + +1997-02-15 22:37 Andy Berkheimer + + * resolv/gethnamaddr.c (gethostbyname2): Test for ':' in name before + trying to resolv name as numeric IPv6 address. + * nss/digits_dots.c: Likewise. + +1997-02-15 04:51 Ulrich Drepper + + * locale/setlocale.c (setlocale): Don't try to be clever about + unused locales. When the existence of the locale files isn't + tested the result of setlocale might be different. + +1997-02-15 03:34 Ulrich Drepper + + * locale/setlocale.c (setlocale): Don't increment usage_count of + new locale if it already has the value MAX_USAGE_COUNT (it might + be the C locale data which is read-only). + +1997-02-15 02:41 Miles Bader + + * argp/argp-help.c: Gettextize sources. + * argp/argp-parse.c: Likewise. + +1997-02-13 22:32 Ulrich Drepper + + * features.h (__GLIBC_MINOR__): Bump to 1. + + * xlocale.h: New file. Wrapper around locale/xlocale.h. + * Makefile (distribute): Add xlocale.h. + * locale/Makefile (routines): Add ctype_l. + * locale/ctype-extn.c: Update copyright. De-ANSI-declfy. + Add __isblank_l, __toascii_l and __isascii_l. + * ctype/ctype.h: Add definitions and declarations for *_l functions. + * locale/Makefile (headers): Add xlocale.h. + (routines): Add newlocale, duplocale, and freelocale. + * locale/localeinfo.h (MAX_USAGE_COUNT): New macro. + (struct locale_data): Add new fields mmaped and usage_count. + Correct various declarations. + * locale/C-collate.c: Define value for new fields mmaped and + usage_count. + * locale/C-ctype.c: Likewise. + * locale/C-messages.c: Likewise. + * locale/C-monetary.c: Likewise. + * locale/C-numeric.c: Likewise. + * locale/C-time.c: Likewise. + * locale/loadlocale.c (_nl_load_locale): Initialize mmaped and + usage_count fields. + * locale/locale.h: Don't define locale_t here (moved to xlocale.h). + Correct prototypes for __newlocale and __freelocale. + Add prototype for __duplocale. + * locale/findlocale.c (copy): Remove function. Use __strdup instead. + (_nl_remove_locale): New function. + * locale/nl_langinfo.c: Don't declare locale_data objects as const. + * locale/setlocale.c: Likewise. + * locale/weight.h: Change for use with locale objects. + * locale/xlocale.h: New file. Define __locale_t type. + * locale/newlocale.c: New file. Create new locale object. + * locale/freelocale.c: New file. Destroy locale object. + * locale/duplocale.c: New file. Create copy of locale object. + * stdlib/Makefile (routines): Add strfmon_l. + * stdlib/monetary.h [__USE_GNU]: Declare __strfmon_l. + * stdlib/strfmon.c: Add support for use in extended locale model. + * stdlib/strfmon_l.c: New file. + * string/Makefile (routines): Add strcoll_l and strxfrm_l. + * string/strcoll.c: Change for use in extended locale model. + * string/strxfrm.c: Likewise. + * string/strcoll_l.c: New file. Implement __strcoll_l function. + * string/strxfrm_l.c: New file. Implement __strxfrm_l function. + * wcsmbs/Makefile (routines): Add wcscoll_l and wcsxfrm_l. + * wcsmbs/wchar.h [__USE_GNU]: Declare wcscoll_l and wcsxfrm_l. + * wcsmbs/wcscoll.c: Change for use in extended locale model. + * wcsmbs/wcscoll_l.c: New file. Implement __wcscoll_l function. + * wcsmbs/wcsxfrm_l.c: New file. Implement __wcsxfrm_l function. + * wctype/Makefile (routines): Add wcextra, wcfuncs_l, iswctype_l, + and towctrans_l. + * wctype/cname-lookup.h: Prepare for use in extended locale model. + * wctype/iswctype_l.c: New file. Implement character classification + functions for use with locale objects. + * wctype/wctype.h: Declare functions for use with locale objects. + * wctype/towctrans_l.c: New file. Implement __towctrans_l function + for use with locale objects. + * wctype/wcfuncs_l.c: New file. Implement wide character + classification functions for use with locale objects. + * wctype/wcextra.c: New file. Implement real functions for + non-standard classification functions. + + * elf/ldd.bash.in: Don't use --data-relocs and --function-relocs + parameters to ld.so. Use environment variables. + * elf/ldd.sh.in: Likewise. + * elf/rtld.c: Remove handling of --data-relocs and --function-relocs + options. Instead read environment variables. + + * elf/link.h (receiver_fct): Add new argument to take error code. + * elf/dl-error.c (_dl_signal_error): Call receiver function with + another argument. + + * elf/dl-object.c (_dl_new_object): Create new object with list of + names in l_libname member. + * elf/dl-load.c (_dl_map_object_from_fd): Add name which was used to + find to object to the list in the link_map variable. + (_dl_map_object): Use _dl_does_name_match_p to compare with all + available names of the object. + Optimize handling of LD_LIBRARY_PATH a bit. + * elf/rtld.c: Initialize l_libname member of _dl_rtld_map. + + * elf/dl-lookup.c (_dl_elf_hash): Optimize function. + + * elf/Makefile (routines): Add dl-version. + * elf/link.h (hash_name_pair): New type. Group pointer to string + and its hash value. + (struct link_map): Change l_libname member to be a list of names, + not a single pointer to a name. + Add new members l_nversions and l_versions. + (_dl_does_name_match_p): New function to test for all names of an + object. + Add prototypes for new lookup and versioning functions. + * elf/dl-lookup.c (do_lookup): Add new argument and handle case + when versioned symbol is requested. + (_dl_lookup_symbol): Call do_lookup with another argument. + (_dl_lookup_symbol_skip): Likewise. + (_dl_lookup_versioned_symbol): New function. Handle lookup of + versioned symbol. + (_dl_lookup_versioned_symbol_skip): Likewise, similar to + _dl_lookup_symbol_skip. + * elf/dl-reloc.c (RESOLVE): Call _dl_lookup_versioned_symbol or + _dl_lookup_symbol depending on availability of version information. + * elf/dl-runtime.c (RESOLVE): Likewise. + (fixup): Call elf_machine_relplt with additional argument to point + to versioning information if available. + * elf/do-rel.h (elf_dynamic_do_rel): Likewise. + * elf/dl-open.c (_dl_open): Call _dl_check_map_versions to check + for correct versions. + * elf/dl-version.c: New file. Check library versions and extract + version information for easier access. + * elf/dlfcn.h [__USE_GNU]: Add prototype for dlvsym. + * elf/dlvsym.c: New file. Implementation of function similar to + dlsym, but looks for versioned symbol. + * elf/elf.h: Add types and macros for versioning. + * elf/rtld.c (dl_main): Check availability of needed versions. + * sysdeps/alpha/dl-machine.h (elf_machine_rela): Add additional + argument for version information. Call RESOLVE with additional + argument. + * sysdeps/i386/dl-machine.h: Likewise. + * sysdeps/m68k/dl-machine.h: Likewise. + * sysdeps/mips/dl-machine.h: Likewise. + + * elf/dlerror.c: Change comment to align with guidelines. + * elf/dlopen.c: Likewise. + * elf/dlsym.c: Likewise. + + * locale/programs/localedef.c: Implement --quiet option. + * locale/programs/charset.h: Declare be_quiet variable. + * locale/programs/locfile.h: Likewise. + * locale/programs/charmap.c: Don't print warnings if quiet option + was given. + * locale/programs/ld-collate.c: Likewise. + * locale/programs/ld-ctype.c: Likewise. + * locale/programs/ld-messages.c: Likewise. + * locale/programs/ld-monetary.c: Likewise. + * locale/programs/ld-numeric.c: Likewise. + * locale/programs/ld-time.c: Likewise. + * locale/programs/locfile.c: Likewise. + + * Makefile (subdirs): Add argp. + + * catgets/catgets.c (catopen): Little code improvement. + + * posix/execl.c: Remove restriction to 1024 arguments. + * posix/execle.c: Likewise. + * posix/execlp.c: Likewise. + + * posix/getopt.c [_LIBC]: Define global objects with __ prefix + and make regular names weak aliases. + * posix/getopt1.c: Likewise. + * posix/getopt.h [_LIBC]: Provide prototypes and declarations for + __ protected forms. + + * posix/unistd.h: Add prototype for __sleep. + * sysdeps/mach/sleep.c: Make sleep weak alias of __sleep. + * sysdeps/posix/sleep.c: Likewise. + * sysdeps/stub/sleep.c: Likewise. + * sysdeps/unix/sysv/linux/sleep.c: Likewise. + + * ctype/ctype-info.c: Update copyright. + * ctype/ctype.c: Likewise. + * ctype/test_ctype.c: Likewise. + * dirent/alphasort.c: Likewise. + * dirent/list.c: Likewise. + * gmon/bb_exit_func.c: Likewise. + * grp/fgetgrent.c: Likewise. + * grp/getgrent.c: Likewise. + * grp/getgrent_r.c: Likewise. + * grp/getgrgid.c: Likewise. + * grp/getgrgid_r.c: Likewise. + * grp/getgrnam.c: Likewise. + * grp/getgrnam_r.c: Likewise. + * hurd/alloc-fd.c: Likewise. + * hurd/catch-exc.c: Likewise. + * hurd/ctty-input.c: Likewise. + * hurd/ctty-output.c: Likewise. + * hurd/dtable.c: Likewise. + * hurd/fchroot.c: Likewise. + * hurd/fd-close.c: Likewise. + * hurd/fd-read.c: Likewise. + * hurd/fd-write.c: Likewise. + * hurd/fopenport.c: Likewise. + * hurd/get-host.c: Likewise. + * hurd/getdport.c: Likewise. + * hurd/getuids.c: Likewise. + * hurd/getumask.c: Likewise. + * hurd/hurd-raise.c: Likewise. + * hurd/hurd.h: Likewise. + * hurd/hurdauth.c: Likewise. + * hurd/hurdexec.c: Likewise. + * hurd/hurdhost.h: Likewise. + * hurd/hurdid.c: Likewise. + * hurd/hurdinit.c: Likewise. + * hurd/hurdioctl.c: Likewise. + * hurd/hurdkill.c: Likewise. + * hurd/hurdlookup.c: Likewise. + * hurd/hurdmsg.c: Likewise. + * hurd/hurdpid.c: Likewise. + * hurd/hurdports.c: Likewise. + * hurd/hurdprio.c: Likewise. + * hurd/hurdrlimit.c: Likewise. + * hurd/hurdsock.c: Likewise. + * hurd/hurdstartup.c: Likewise. + * hurd/hurdstartup.h: Likewise. + * hurd/intern-fd.c: Likewise. + * hurd/intr-msg.c: Likewise. + * hurd/intr-rpc.defs: Likewise. + * hurd/intr-rpc.h: Likewise. + * hurd/msgportdemux.c: Likewise. + * hurd/new-fd.c: Likewise. + * hurd/openport.c: Likewise. + * hurd/pid2task.c: Likewise. + * hurd/port-cleanup.c: Likewise. + * hurd/port2fd.c: Likewise. + * hurd/ports-get.c: Likewise. + * hurd/ports-set.c: Likewise. + * hurd/privports.c: Likewise. + * hurd/report-wait.c: Likewise. + * hurd/set-host.c: Likewise. + * hurd/setauth.c: Likewise. + * hurd/setuids.c: Likewise. + * hurd/siginfo.c: Likewise. + * hurd/sigunwind.c: Likewise. + * hurd/task2pid.c: Likewise. + * hurd/thread-cancel.c: Likewise. + * hurd/thread-self.c: Likewise. + * hurd/vpprintf.c: Likewise. + * hurd/hurd/fd.h: Likewise. + * hurd/hurd/id.h: Likewise. + * hurd/hurd/ioctl.h: Likewise. + * hurd/hurd/lookup.h: Likewise. + * hurd/hurd/port.h: Likewise. + * hurd/hurd/resource.h: Likewise. + * hurd/hurd/threadvar.h: Likewise. + * hurd/hurd/userlink.h: Likewise. + * inet/ether_aton.c: Likewise. + * inet/ether_aton_r.c: Likewise. + * inet/ether_ntoa.c: Likewise. + * inet/ether_ntoa_r.c: Likewise. + * inet/gethstbyad.c: Likewise. + * inet/gethstbyad_r.c: Likewise. + * inet/gethstent.c: Likewise. + * inet/getnetbyad.c: Likewise. + * inet/getnetbyad_r.c: Likewise. + * inet/getnetbynm.c: Likewise. + * inet/getnetbynm_r.c: Likewise. + * inet/getnetent.c: Likewise. + * inet/getnetent_r.c: Likewise. + * inet/getproto.c: Likewise. + * inet/getproto_r.c: Likewise. + * inet/getprtent.c: Likewise. + * inet/getprtent_r.c: Likewise. + * inet/getprtname.c: Likewise. + * inet/getrpcbyname.c: Likewise. + * inet/getrpcbyname_r.c: Likewise. + * inet/getrpcbynumber.c: Likewise. + * inet/getrpcbynumber_r.c: Likewise. + * inet/getrpcent.c: Likewise. + * inet/getrpcent_r.c: Likewise. + * inet/getservent.c: Likewise. + * inet/getservent_r.c: Likewise. + * inet/getsrvbynm.c: Likewise. + * inet/getsrvbynm_r.c: Likewise. + * inet/getsrvbypt.c: Likewise. + * inet/getsrvbypt_r.c: Likewise. + * inet/herrno.c: Likewise. + * inet/netgroup.h: Likewise. + * ient/netinet/ether.h: Likewise. + * intl/bindtextdom.c: Likewise. + * intl/dcgettext.c: Likewise. + * intl/dgettext.c: Likewise. + * intl/gettext.c: Likewise. + * intl/gettext.h: Likewise. + * intl/gettextP.h: Likewise. + * intl/hash-string.h: Likewise. + * intl/loadmsgcat.c: Likewise. + * intl/localealias.c: Likewise. + * intl/textdomain.c: Likewise. + * io/creat.c: Likewise. + * io/getdirname.c: Likewise. + * io/lockf.c: Likewise. + * io/pwd.c: Likewise. + * io/test-utime.c: Likewise. + * locale/categories.def: Likewise. + * locale/codeset_name.c: Likewise. + * locale/lc-collate.c: Likewise. + * locale/lc-ctype.c: Likewise. + * locale/lc-messages.c: Likewise. + * locale/lc-monetary.c: Likewise. + * locale/lc-numeric.c: Likewise. + * locale/lc-time.c: Likewise. + * locale/loadlocale.c: Likewise. + * locale/localeconv.c: Likewise. + * locale/nl_langinfo.c: Likewise. + * locale/setlocale.c: Likewise. + * locale/strlen-hash.h: Likewise. + * locale/programs/charmap-kw.gperf: Likewise. + * locale/programs/charmap-kw.h: Likewise. + * locale/programs/charset.c: Likewise. + * locale/programs/ld-ctype.c: Likewise. + * locale/programs/ld-messages.c: Likewise. + * locale/programs/ld-monetary.c: Likewise. + * locale/programs/linereader.h: Likewise. + * locale/programs/locale-spec.c: Likewise. + * locale/programs/locales.h: Likewise. + * locale/programs/locfile-kw.gperf: Likewise. + * locale/programs/locfile-kw.h: Likewise. + * locale/programs/locfile-token.h: Likewise. + * locale/programs/simple-hash.h: Likewise. + * locale/programs/stringtrans.c: Likewise. + * locale/programs/stringtrans.h: Likewise. + * login/logout.c: Likewise. + * mach/bootprivport.c: Likewise. + * mach/devstream.c: Likewise. + * mach/hello.c: Likewise. + * mach/mach.h: Likewise. + * mach/mach_init.c: Likewise. + * mach/mach_init.h: Likewise. + * mach/mig-alloc.c: Likewise. + * mach/mig-dealloc.c: Likewise. + * mach/mutex-init.c: Likewise. + * mach/mutex-solid.c: Likewise. + * mach/setup-thread.c: Likewise. + * mach/spin-lock.h: Likewise. + * mach/spin-solid.c: Likewise. + * mach/mach/mig_support.h: Likewise. + * md5-crypt/md5-crypt.c: Likewise. + * misc/nlist.h: Likewise. + * nss/nss_files/files-ether.c: Likewise. + * posix/confstr.c: Likewise. + * posix/execl.c: Likewise. + * posix/execle.c: Likewise. + * posix/execlp.c: Likewise. + * posix/execv.c: Likewise. + * posix/execvp.c: Likewise. + * posix/fnmatch.c: Likewise. + * posix/getopt.c: Likewise. + * posix/getopt.h: Likewise. + * posix/getopt1.c: Likewise. + * posix/id.c: Likewise. + * posix/regex.c: Likewise. + * posix/setpgrp.c: Likewise. + * posix/unistd.h: Likewise. + * posix/wordexp.c: Likewise. + * pwd/fgetpwent.c: Likewise. + * pwd/getpwent.c: Likewise. + * pwd/getpwent_r.c: Likewise. + * pwd/getpwnam.c: Likewise. + * pwd/getpwnam_r.c: Likewise. + * pwd/getpwuid.c: Likewise. + * pwd/getpwuid_r.c: Likewise. + * pwd/putpwent.c: Likewise. + * resolv/gethnamaddr.c: Likewise. + * resolv/res_hconf.c: Likewise. + * resolv/res_hconf.h: Likewise. + * setjmp/longjmp.c: Likewise. + * setjmp/sigjmp.c: Likewise. + * setjmp/tst-setjmp.c: Likewise. + * stdio/clearerr.c: Likewise. + * stdio/ferror.c: Likewise. + * stdio/fgetc.c: Likewise. + * stdio/fgetpos.c: Likewise. + * stdio/fgets.c: Likewise. + * stdio/fileno.c: Likewise. + * stdio/fmemopen.c: Likewise. + * stdio/fopen.c: Likewise. + * stdio/fopncook.c: Likewise. + * stdio/fputc.c: Likewise. + * stdio/fputs.c: Likewise. + * stdio/fread.c: Likewise. + * stdio/freopen.c: Likewise. + * stdio/fseek.c: Likewise. + * stdio/fsetpos.c: Likewise. + * stdio/ftell.c: Likewise. + * stdio/fwrite.c: Likewise. + * stdio/getchar.c: Likewise. + * stdio/getdelim.c: Likewise. + * stdio/gets.c: Likewise. + * stdio/glue.c: Likewise. + * stdio/internals.c: Likewise. + * stdio/linewrap.c: Likewise. + * stdio/linewrap.h: Likewise. + * stdio/memstream.c: Likewise. + * stdio/newstream.c: Likewise. + * stdio/putchar.c: Likewise. + * stdio/puts.c: Likewise. + * stdio/rewind.c: Likewise. + * stdio/setbuf.c: Likewise. + * stdio/setbuffer.c: Likewise. + * stdio/setlinebuf.c: Likewise. + * stdio/setvbuf.c: Likewise. + * stdio/ungetc.c: Likewise. + * stdio/vasprintf.c: Likewise. + * stdio/vscanf.c: Likewise. + * stdio/vsnprintf.c: Likewise. + * stdio/vsprintf.c: Likewise. + * stdio/vsscanf.c: Likewise. + * stdio-common/asprintf.c: Likewise. + * stdio-common/dprintf.c: Likewise. + * stdio-common/errnobug.c: Likewise. + * stdio-common/fprintf.c: Likewise. + * stdio-common/getline.c: Likewise. + * stdio-common/getw.c: Likewise. + * stdio-common/perror.c: Likewise. + * stdio-common/psignal.c: Likewise. + * stdio-common/putw.c: Likewise. + * stdio-common/reg-printf.c: Likewise. + * stdio-common/scanf.c: Likewise. + * stdio-common/snprintf.c: Likewise. + * stdio-common/sprintf.c: Likewise. + * stdio-common/tempnam.c: Likewise. + * stdio-common/test_rdwr.c: Likewise. + * stdio-common/tst-fileno.c: Likewise. + * stdio-common/tst-printf.c: Likewise. + * stdio-common/tstgetln.c: Likewise. + * stdio-common/vprintf.c: Likewise. + * stdlib/drand48.c: Likewise. + * stdlib/drand48_r.c: Likewise. + * stdlib/erand48.c: Likewise. + * stdlib/erand48_r.c: Likewise. + * stdlib/exit.h: Likewise. + * stdlib/strtoq.c: Likewise. + * stdlib/strtoul.c: Likewise. + * stdlib/strtouq.c: Likewise. + * stdlib/test-canon.c: Likewise. + * stdlib/testdiv.c: Likewise. + * stdlib/testrand.c: Likewise. + * string/argz-append.c: Likewise. + * string/argz-count.c: Likewise. + * string/argz-create.c: Likewise. + * string/argz-ctsep.c: Likewise. + * string/argz-delete.c: Likewise. + * string/argz-extract.c: Likewise. + * string/argz-insert.c: Likewise. + * string/argz-next.c: Likewise. + * string/argz-stringify.c: Likewise. + * string/basename.c: Likewise. + * string/envz.c: Likewise. + * string/memfrob.c: Likewise. + * string/strcoll.c: Likewise. + * string/strdup.c: Likewise. + * string/string.h: Likewise. + * string/strndup.c: Likewise. + * string/strnlen.c: Likewise. + * string/strsignal.c: Likewise. + * string/strxfrm.c: Likewise. + * string/test-ffs.c: Likewise. + * string/testcopy.c: Likewise. + * sysdeps/generic/enbl-secure.c: Likewise. + * sysdeps/generic/memcopy.h: Likewise. + * sysdeps/generic/stpncpy.c: Likewise. + * sysdeps/generic/strcasecmp.c: Likewise. + * sysdeps/generic/strcat.c: Likewise. + * sysdeps/generic/strchr.c: Likewise. + * sysdeps/generic/strcpy.c: Likewise. + * sysdeps/generic/strcspn.c: Likewise. + * sysdeps/generic/strlen.c: Likewise. + * sysdeps/generic/strncase.c: Likewise. + * sysdeps/generic/strncat.c: Likewise. + * sysdeps/generic/strncpy.c: Likewise. + * sysdeps/generic/strpbrk.c: Likewise. + * sysdeps/generic/strsep.c: Likewise. + * sysdeps/generic/strspn.c: Likewise. + * sysdeps/generic/strstr.c: Likewise. + * sysdeps/generic/strtok.c: Likewise. + * sysdeps/generic/strtok_r.c: Likewise. + * sysdeps/mach/sleep.c: Likewise. + * sysdeps/posix/sleep.c: Likewise. + * sysdeps/stub/sleep.c: Likewise. + * time/date.c: Likewise. + * time/test_time.c: Likewise. + * wcsmbs/wmemcpy.c: Likewise. + * wctye/test_wctype.c: Likewise. + * wctye/towctrans.c: Likewise. + * wctye/wcfuncs.c: Likewise. + * wctye/wctrans.c: Likewise. + +1997-02-13 22:15 Miles Bader + + * argp/Makefile: New file. + * argp/argp.h: Likewise. + * argp/argp-ba.c: Likewise. + * argp/argp-fmtstream.c: Likewise. + * argp/argp-fmtstream.h: Likewise. + * argp/argp-fs-xinl.c: Likewise. + * argp/argp-help.c: Likewise. + * argp/argp-namefrob.h: Likewise. + * argp/argp-parse.c: Likewise. + * argp/argp-pv.c: Likewise. + * argp/argp-pvh.c: Likewise. + * argp/argp-test.c: Likewise. + * argp/argp-xinl.c: Likewise. + +1997-02-13 11:44 Andreas Jaeger + + * stdlib/qsort.c: Add prototype for _quicksort. + + * stdlib/msort.c (qsort): Correct prototype for _quicksort. + + * sysdeps/i386/Makefile (CFLAGS-rtld.c): Change to prevent warning + from dl-machine.h. + +1997-02-13 18:18 Marcus G. Daniels + + * sysdeps/generic/dl-cache.c: Don't hardwire name of cache file. + Allow user to overwrite it. + +1997-02-13 17:55 Ulrich Drepper + + * libio/_G_config.h: Make sure wint_t is also defined for old gcc + versions. Reported by Andreas Jaeger. + +1997-02-13 11:44 Andreas Jaeger + + * time/tzfile.c (__tzfile_read): Change comment to follow + change of 1997-02-12. + +1997-02-13 02:32 Ulrich Drepper + + * time/time.h (__nanosleep): Define only when struct timespec is + also available. + Reported by Ross Alexander . + +1997-02-12 21:34 a sun + + * sysdeps/unix/sysv/linux/netinet/udp.h: New file. + * sysdeps/unix/sysv/linux/Dist: Add netinet/udp.h. + +1997-02-12 21:16 Ulrich Drepper + + * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname_r): Follow patch + of 1997-02-09 in resolv/gethnamaddr.c. + +1997-02-11 18:52 H.J. Lu + + * libio/_G_config.h (_G_wint_t): New. + +1997-02-09 11:31 H.J. Lu + + * resolv/gethnamaddr.c (gethostbyname2): Change sizeof (buf) + to sizeof (buf.buf) while calling res_search (). + +1997-02-03 20:01 H.J. Lu + + * nis/rpcsvc/yp_prot.h (ypresp_key_val): Change key to keydat, + val to keydat, stat to status. + +1997-02-12 20:45 Andreas Jaeger + + * time/tzfile.c (__tzfile_read): Fix problem with SUID programs. + +1997-02-12 19:55 Ulrich Drepper + + * db/btree/bt_split.c (bt_psplit): Apply official patches #2 and #4 + by Keith Bostic. + +1997-02-11 14:49 Andreas Jaeger + + * stdlib/atoll.c: Undefine atoll, not atol. + +1997-02-08 09:36 Andreas Schwab + + * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Remove + unused arguments of shell script. + + * Makeconfig (all-object-suffixes): New variable. + * Makerules ($(+sysdir_pfx)sysd-rules, +make-deps): Use it instead + of $(object-suffixes). + * sysdeps/unix/make-syscalls.sh: Likewise. Fix comment. + +1997-02-10 17:45 Ulrich Drepper + + * string/argz-ctsep.c: Initialize *LEN when successful. + +1997-02-09 04:35 Ulrich Drepper + + * stdio-common/_itoa.h: Update copyright. + +1997-02-09 02:59 Ulrich Drepper + + * version.h (VERSION): Bump to 2.0.2. + + * posix/Makefile (routines): Add getopt_init. + * posix/getopt.c: Don't get environment variable with nonoption + flags here. Depend on __getopt_nonoption_flags variable filled + somewhere else. This is necessary since the variable must be + removed even when getopt isn't used in case exec(2) gets called. + * posix/getopt_init.c: New file. Initialize __getopt_nonoption_flags + and remove environment variable. + * sysdeps/i386/init-first.c: Call __getopt_clean_environment. + * sysdeps/mach/hurd/i386/init-first.c: Likewise. + * sysdeps/stub/init-first.c: Likewise. + * sysdeps/unix/sysv/linux/init-first.c: Likewise. + + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Recognize + AT_PAGESZ entry in auxiliary vector and store value in _dl_pagesize. + + * sysdeps/generic/crypt-entry.h: Return EOPNOTSUPP when DES + encryption is wanted. + + * libio/vsnprintf.c: If MAXLEN is 0 return 0. + * stdio/vsnprintf.c: Likewise. + Reported by Philip Blundell . + + * libio/vsnprintf.c: If MAXLEN is 0 return 0. + * stdio/vsnprintf.c: Likewise. + Reported by Philip Blundell . + +1997-02-07 17:43 Ulrich Drepper + + * sysdeps/generic/sysd-stdio.c: Include . + Change PTR to void *. + * sysdeps/posix/vdprintf.c: Change PTR to void *. + Reported by Brian Oxley . + +1997-02-07 17:41 Philip Blundell + + * sysdeps/unix/sysv/linux/socketbits.h: Fix typo. + +1997-02-06 13:49 Andreas Schwab + + * rellns-sh: No need to check for existance of first parameter. + +1997-02-06 13:49 Andreas Schwab + + * rellns-sh: No need to check for existance of first parameter. + +1997-02-06 14:50 Andreas Schwab + + * sysdeps/posix/getcwd.c (__getcwd): Fix resource leaks. Reported + by David Holland . + +1997-02-06 14:38 Andreas Schwab + + * sunrpc/clnt_tcp.c (readtcp): Pass copy of timeout value to + select, in case it is modified by the latter. + * sunrpc/clnt_udp.c (clntudp_call): Likewise. + * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise. + * sunrpc/svc_tcp.c (readtcp): Likewise. + + * sunrpc/svc_authux.c (_svcauth_unix): Fix type of area_gids + array. + + * sunrpc/authuxprot.c (xdr_authunix_parms): Check size of uid_t + and gid_t. + + * sunrpc/auth_unix.c (authunix_validate): Fix type of second + argument. + +1997-02-06 14:29 Andreas Schwab + + * elf/Makefile (extra-objs): Don't zap previous value. + * Makefile (before-compile): Likewise. Don't add gnu/lib-names.h + twice. + +1997-02-06 14:19 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/brk.c: Add workaround for + braindamage (sigh!). + +1997-02-06 17:10 Jim Meyering + + * manual/memory.texi: Correct `copystring' example for obstacks. + +1997-02-06 14:10 Ulrich Drepper + + * Makeconfig: Don't use [:lower:] and [:upper:] in tr since old + GNU tr don't grok it. + +1997-02-03 21:13 Andreas Schwab + + * sysdeps/unix/sysv/linux/socketbits.h [__GNUC__<2] (struct cmsghdr): + Don't use GNU C extensions. + (CMSG_DATA): Use portable definition. + +1997-02-05 05:58 Ulrich Drepper + + * elf/ldd.bash.in: Add test for read permission and print appropriate + message. Change warning and error messages to print "ldd: " at start. + * elf/ldd.sh.in: Likewise. + + * stdlib/Makefile (routines): Add atoll. + * stdlib/atoll.c: New file. + * stdlib/stdlib.h: Add prototype and optimization for atoll. + + * stdlib/a64l.c: Update copyright. + * stdlib/abs.c: Likewise. + * stdlib/atof.c: Likewise. + * stdlib/atoi.c: Likewise. + * stdlib/atol.c: Likewise. + * stdlib/bsearch.c: Likewise. + * stdlib/exit.c: Likewise. + * stdlib/fpioconst.c: Likewise. + * stdlib/fpioconst.h: Likewise. + * stdlib/jrand48.c: Likewise. + * stdlib/jrand48_r.c: Likewise. + * stdlib/labs.c: Likewise. + * stdlib/lcong48.c: Likewise. + * stdlib/lcong48_r.c: Likewise. + * stdlib/llabs.c: Likewise. + * stdlib/lrand48.c: Likewise. + * stdlib/lrand48_r.c: Likewise. + * stdlib/mblen.c: Likewise. + * stdlib/mbstowcs.c: Likewise. + * stdlib/mbtowc.c: Likewise. + * stdlib/mp_clz_tab.c: Likewise. + * stdlib/mrand48.c: Likewise. + * stdlib/mrand48_r.c: Likewise. + * stdlib/msort.c: Likewise. + * stdlib/nrand48.c: Likewise. + * stdlib/nrand48_r.c: Likewise. + * stdlib/qsort.c: Likewise. + * stdlib/rpmatch.c: Likewise. + * stdlib/seed48.c: Likewise. + * stdlib/seed48_r.c: Likewise. + * stdlib/srand48.c: Likewise. + * stdlib/srand48_r.c: Likewise. + * stdlib/strtod.c: Likewise. + * stdlib/wcstombs.c: Likewise. + * stdlib/wctomb.c: Likewise. + +1997-02-05 05:08 Ulrich Drepper + + * stdlib/mp_clz_tab.c (__clz_tab): Follow change in GMP and define + as const. + +1997-02-04 23:57 Fila Kolodny + + * sysdeps/unix/sysv/linux/socketbits.h: Define __need_NULL before + including . + +1997-02-03 20:01 H.J. Lu + + * time/Makefile (tzbases, tzlinks): New. + (tzfiles): Changed to $(tzbases) $(tzlinks). + ($(tzfiles:%=$(objpfx)z.%): Make $(tzlinks) depend on $(tzbases). + +1997-02-02 12:13 H.J. Lu + + * Makefile (install): Ignore error from ldconfig. + + * time/zic.c (mkdirs): Double check the error return of mkdir (). + +1997-02-04 22:01 Ulrich Drepper + + * stdio-common/vfprintf.c: Prepare to use __va_copy for architectures + like PPC where va_list is no integral type. + +1997-02-04 15:27 Roma Ekzhanov + + * posix/getopt.c (exchange): Don't allocate nonoption_flags array + if nonoption_flags_len == -1. + +1997-02-04 02:08 Ulrich Drepper + + * Version 2.0.1 net release. + +1997-02-03 23:34 Stephen L Moshier + + * sysdeps/libm-ieee754/s_tanhl.c: Fix backwards result sign. + +1997-02-03 19:59 Ulrich Drepper + + * stdlib/getsubopt.c: Don't return `=' for suboption which has + a parameter. Reported by Gary L. Hennigan . + +1997-02-03 18:20 Thorsten Kukuk + + * nis/rpcsvc/yp_proh.h (ypresp_key_val): Also change order of + values as in yp.x and yp.h. + +1997-02-03 16:58 Ulrich Drepper + + * nis/rpcsvc/yp.x (struct ypresp_key_val): Revert patch from + 1997-02-03 02:17. Sun's implementation internally corrects + this bug but we don't want to hide this from the user. + * nis/rpcsvc/yp.h: Likewise. + +1997-02-01 18:28 Andreas Schwab + + * sysdeps/unix/sysv/linux/net/ppp_defs.h: Protect against multiple + inclusion. + +1997-02-02 14:56 Andreas Schwab + + * manual/nss.texi, manual/pattern.texi, manual/string.texi: Doc + fixes. + +1997-02-02 11:51 Andreas Schwab + + * MakeTAGS (sysdep-sources, sysdep-headers): New variables. + (all-sources, all-headers): Use them instead of $(sources) and + $(headers) when searching in sysdep directories. + +1997-02-02 11:49 Andreas Schwab + + * Makerules (REAL_MAKE_VERSION): Use internal make function + instead of shelling out. + +1997-02-02 11:47 Andreas Schwab + + * time/Makefile (install-test-data): Remove mkdir command, zic can + handle that gracefully. + +1997-02-03 14:07 Andreas Schwab + + * sysdeps/m68k/asm-syntax.h: Add back file which got lost sometime + somehow. + +1997-02-02 07:46 Andreas Schwab + + * sunrpc/Makefile: Check $(cross-compiling) only after including + ../Makeconfig. + ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Add empty command to force + being considered as a rule. + (generated): Add stamp files before the inclusion of Makerules to + magically mark them as not being intermediate via the `generated' + target. + +1997-02-03 02:33 Ulrich Drepper + + * elf/dl-deps.c (_dl_map_object_deps): Handle multiple AUXILIARY + entries. This is still no complete implementation since AUXILIARY + entries in other shared objects are not yet handled. + + * libio/libio.h (_IO_cookie_io_functions_t): Move to C++ protected + place. + + * po/es.po: Update. + * po/fr.po: Update. + * po/nl.po: Update. + + * time/Makefile: Better cross-compile support. Avoid test which + cannot be run. + (CFLAGS-tzset.c): New variable. Overwrite TZDEFAULT value from + tzfile.h file. + * time/tzfile.c (__tzfile_read): Allow TZDEFAULT start with '/' even + in SUID programs. + * time/tzset.c (__tzset_internal): If TZ envvar is not set use same + default values as in tzfile.c. + + * elf/dynamic-link.h (elf_get_dynamic_info): Recognize versioning + tags. + * elf/link.h: Likewise. + * elf/elf.h: Add tag definitions and data structures for versioning. + +1997-02-03 02:17 Ulrich Drepper + + * nis/rpcsvc/yp.x (struct ypresp_key_val): There is not stupid + "Sun bug". This is the order of elements also used by 4.4BSD. + * nis/rpcsvc/yp.h: Likewise. + Reported by HJ Lu. + +1997-02-02 12:13 H.J. Lu + + * sunrpc/Makefile ($(objpfx)x%.h, $(objpfx)x%.c): Add "@:" as + action. + + * Makefile (install): Pass installation directories as arguments + to ldconfig. + +1997-02-02 23:15 Ulrich Drepper + + * malloc/malloc.c (__after_morecore_hook): New variable. + (malloc_extend_top): Call __after_morecore_hook if set. + (main_trim): Likewise. + * malloc/malloc.h: Add declaration of __after_morecore_hook. + Suggested by Marcus Daniels. + +1997-02-02 23:00 Marcus G. Daniels + + * malloc/malloc.c (rEALLOc): Protect tsd_setspecific call by + #ifndef NO_THREADS. + (mallinfo): Likewise. + + * malloc/malloc.c (__morecore): Make external since it is used in + programs. + +1997-02-02 15:10 Ulrich Drepper + + * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Make st_dev field + unsigned. + +1997-02-01 23:36 Richard Henderson + + * sysdeps/alpha/stxncpy.S ($unaligned) [src % 8 > dst % 8]: Don't + use t6 as a temporary; it contains bits we still need in $u_head. + +1997-01-31 15:05 John Bowman + + * sysdeps/i386/fpu/__math.h [__USE_MISC]: Don't declare prototypes + using __ prefix. Add prototype for log1p. + +1997-02-02 00:39 Ulrich Drepper + + * dirent/dirent.h: Add description _DIRENT_HAVE_D_TYPE. + +1997-02-01 17:04 Philip Blundell + + * inet/netinet/ip.h (MAX_IPOPTLEN): Add definition. + +1997-02-01 17:00 Ulrich Drepper + + * sysdeps/unix/sysv/linux/socketbits.h: Add definition of cmsghdr + structure plus related macros. + * sysdeps/unix/sysv/linux/cmsg_nxthdr.c: New file. + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket] + (sysdep_routines): Add cmsg_nxthdr. + * sysdeps/unix/sysv/linux/Dist: Add cmsg_nxthdr.c. + Suggested by Philip Blundell . + +1997-02-01 12:34 Ulrich Drepper + + * time/strftime.c: Define _strftime_copytm without protecting arguments + which breaks the definition. + +1997-02-01 03:31 Thorsten Kukuk + + * nis/rpcsvc/yp_prot.h: Move definition of yppushresp_xfr after + definition of type for element. + +1997-02-01 03:28 Philip Blundell + + * sydsdeps/unix/sysv/linux/netinet/in.h: Add IPv6 related IPPROTO_* + constants. + +1997-02-01 03:09 H.J. Lu + + * Makefile: Pass PARALLELMFLAGS to sub-makes. + * Makefile.in: Mention PARALLELMFLAGS and pass to main Makefile. + +1997-01-31 Paul Eggert + + * time/mktime.c (HAVE_LIMITS_H, HAVE_LOCALTIME_R, STDC_HEADERS): + Define if _LIBC is defined. + : Include if HAVE_LIMITS_H instead of if + __STDC__ || __GNU_LIBRARY__ || STDC_HEADERS. + : Similarly, include if STDC_HEADERS. + (localtime_r): Redo #ifdef to make it clear that glibc has + localtime_r now. + +1997-02-29 20:08 Andreas Schwab + + * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Use stamp + file to avoid unnecessary recompilation. + +1997-01-29 19:33 Andreas Schwab + + * Makefile: Set install-others, not install_others. + (before-compile): Use += to preserve previous value. + ($(inst_includedir)/gnu/lib-names.h): Remove obsolete comment and + fix dependency name. + ($(objpfx)lib-names.h): Remove rule. + * Makeconfig ($(common-objpfx)gnu/lib-names.h): Generate it here, + with correct name, using an intermediate stamp file. + (common-generated): Add gnu/lib-names.h. + (before-compile): Add $(common-objpfx)gnu/lib-names.h. + +1997-01-30 18:29 Richard Henderson + + * malloc/malloc.c (MAGICBYTE): Use cast to size_t instead of unsigned + to prevent warnings on 64 bit systems. + Reported by Paul Wouters . + + * sysdeps/alpha/dl-machine.h: Revert check for broken gas. By default + we assume it works. + +1997-01-30 03:24 Ulrich Drepper + + * sysdeps/i386/elf/start.S (_start): Align stack pointer to + double word boundary before pushing args for main. This way we + don't get penalties for misaligned memory accesses. Reported by + Edward Seidl . + + * Makefile: Correct *my* changes of Richards patch of 1997-01-28 10:51. + Patch by HJ Lu. + + * misc/bsd-compat.c: Update copyright. + * misc/efgcvt.c: Likewise. + * misc/efgcvt_r.c: Likewise. + * misc/error.c: Likewise. + * misc/error.h: Likewise. + * misc/fstab.c: Likewise. + * misc/init-misc.c: Likewise. + * misc/lsearch.c: Likewise. + * misc/mntent.c: Likewise. + * misc/qefgcvt.c: Likewise. + * misc/qefgcvt_r.c: Likewise. + * nss/databases.def: Likewise. + * nss/db-Makefile: Likewise. + * nss/ethers-lookup.c: Likewise. + * nss/hosts-lookup.c: Likewise. + * nss/netgrp-lookup.c: Likewise. + * nss/nsswitch.h: Likewise. + * nss/proto-lookup.c: Likewise. + * nss/rpc-lookup.c: Likewise. + * nss/service-lookup.c: Likewise. + * nss/nss_db/db-netgrp.c: Likewise. + * nss/nss_files/files-grp.c: Likewise. + * nss/nss_files/files-hosts.c: Likewise. + * nss/nss_files/files-network.c: Likewise. + * nss/nss_files/files-proto.c: Likewise. + * nss/nss_files/files-pwd.c: Likewise. + * nss/nss_files/files-rpc.c: Likewise. + * nss/nss_files/files-service.c: Likewise. + * nss/nss_files/files-spwd.c: Likewise. + * shadow/fgetspent.c: Likewise. + * shadow/fgetspent_r.c: Likewise. + * shadow/getspent.c: Likewise. + * shadow/getspent_r.c: Likewise. + * shadow/getspnam.c: Likewise. + * shadow/getspnam_r.c: Likewise. + * shadow/putspent.c: Likewise. + * shadow/sgetspent.c: Likewise. + * shadow/sgetspent_r.c: Likewise. + * sysdeps/i386/init-first.c: Likewise. + * sysdeps/unix/i386/sysdep.S: Likewise. + + * shadow/shadow.h: Don't use __USE_REENTRENT. All code must be + prepared to be running in a multi-threaded environment. Change + to __USE_MISC unless the function is defined in POSIX.1 (in this + case also test for __USE_POSIX). + * dirent/dirent.h: Likewise. + * grp/grp.h: Likewise. + * inet/aliases.h: Likewise. + * libio/libio.h: Likewise. + * libio/stdio.h: Likewise. + * login/utmp.h: Likewise. + * math/mathcalls.h: Likewise. + * misc/mntent.h: Likewise. + * pwd/pwd.h: Likewise. + * resolv/netdb.h: Likewise. + * stdlib/stdlib.h: Likewise. + * string/string.h: Likewise. + * sunrpc/rpc/netdb.h: Likewise. + * sysdeps/generic/crypt.h: Likewise. + * sysdeps/unix/sysv/linux/errnos.h: Likewise. + * time/time.h: Likewise. + +1997-01-30 00:27 Fila Kolodny + + * sunrpc/Makefile (install-others): Add rpcsvc/bootparam_prot.h + only if not cross compiling. + +1997-01-29 16:16 Fila Kolodny + + * sysdeps/posix/sigpause.c: Include to get definition of + NULL. + * sysdeps/posix/sigwait.c: Likewise. + +1997-01-28 23:42 Andreas Schwab + + * Makeconfig ($(common-objpfx)config.make): Depend on + $(..)config.make.in. + +1997-01-29 04:30 Ulrich Drepper + + * sunrpc/Makefile: Don't generate headers derived from .x files when + crosscompiling. + +1997-01-28 10:51 Richard Henderson + + * Makefile: Generate gnu/lib-names.h in before-compile. + * nss/nss.h (NSS_SHLIB_REVISION): Turn it into a const variable. + * nss/nssswitch.c (__nss_shlib_revision): New variable. Initialize + to the revision found for LIBNSS_FILES_SO. + (nss_initilized): Removed. It was tested but never set. + (nss_lookup_function): Don't treat NSS_SHLIB_REVISION as a literal. + + * shlib-versions: Tag all alpha-linux shlibs with a .1 "minor" + not just libc. Except instead of ld.so.1.1 use ld-linux.so.2. + + * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Typo in ldgp. + +1997-01-28 12:16 Andreas Jaeger + + * elf/Makefile (CFLAGS-dl-load.c): Use += to not + override the definition. + +1997-01-28 20:13 Fila Kolodny + + * config.make.in (malloc): Remove. + +1997-01-28 04:23 Ulrich Drepper + + * version.h (VERSION): Bump to 2.0.1. + + * posix/getopt.c: Handle another problem introduced by the + nonoption_flags array. We must be able to work with reordered + argv arrays. Reported by Andreas Schwab. + +1997-01-28 02:38 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/clone.S: Correct handling of new + stack. + +1997-01-27 17:34 Thorsten Kukuk + + * nis/rpcsvc/yp_prot.h: Correct definitions and types in file so + that it works with yp.h. + +1997-01-27 13:28 Ulrich Drepper + + * malloc/malloc.h (__malloc_initialized) [_LIBC]: Define as + __libc_malloc_initialized so that this variable is not shared with + other users of GNU malloc. + Suggested by Martin von Loewis . + + * mcheck.h: Correct typo. Use malloc/ instead of new-malloc/. + + * sysdeps/i386/Makefile (CFLAGS-dl-load.c, CFLAGS-dl-reloc.c): New + variables to prevent warnings. + * sysdeps/i386/dl-machine.h (fixup): Add prototype and declare + using attribute regparm. + (ELF_MACHINE_RUNTIME_TRAMPOLINE): Rewrite so that no register + is changed by the resolver code. + +1997-01-14 14:20 Andreas Schwab + + * malloc/malloc.c (weak_variable): Define. + (__malloc_initialize_hook, __free_hook, __malloc_hook, __realloc_hook, + __memalign_hook): Make them weak definitions. + +1997-01-26 11:35 Andreas Schwab + + * sysdeps/unix/sysv/linux/getdents.c: Don't write beyond buffer + limits, correctly take structure padding into account, use correct + offset when resetting the stream, change heuristic to assume an + average name length of 14 characters. + +1997-01-25 18:06 Andreas Schwab + + * sysdeps/unix/sysv/linux/alpha/termbits.h: Protect against multiple + inclusion. + + +See ChangeLog.6 for earlier changes. diff --git a/ChangeLog.9 b/ChangeLog.9 index 055a8aa746..52b85a6270 100644 --- a/ChangeLog.9 +++ b/ChangeLog.9 @@ -1,5697 +1,117 @@ -1999-02-05 Andreas Jaeger +1998-08-11 14:05 Ulrich Drepper - * nscd/hstcache.c (addhstbyaddr): Use INET_ADDRSTRLEN for buffer. - (addhstbyaddr6): Use INET6_ADDRSTRLEN for buffer. - (addhstbynamev6): Correct debug output. + * timezone/backward: Update from tzdata1998g. + * timezone/etcetera: Likewise. + * timezone/europe: Likewise. - * nscd/connections.c: Include for inet_ntop. - (handle_request): Correctly print gethostbyaddr* debug messages. +1998-08-11 Philip Blundell -1999-02-04 Ulrich Drepper + * sysdeps/generic/tempname.c (__path_search): Fix typo and + formatting. - * stdlib/strtoll.c: Add alias __strtoq_internal. - * stdlib/strtoull.c: Add alias __strtouq_internal. +1998-08-11 H.J. Lu - * wcsmbs/mbrtowc.c: Correct logic testing for converted NUL - character. Patch by Owen Taylor . + * malloc/malloc.c (free_check): Print pointer value using %p. + (realloc_check): Likewise. -1999-02-03 Mark Kettenis +1998-08-11 13:57 Ulrich Drepper - * sysdeps/mach/hurd/utimes.c (__utimes): Deal with TVP being NULL. + * libio/fileops.c (_IO_file_sync): Use _IO_ssize_t for delta, not + _IO_size_t. -1999-02-03 Ulrich Drepper +1998-08-10 15:49 Ulrich Drepper - * version.h (VERSION): Bump to 2.1. - (RELEASE): Change to stable. + * include/dirent.h: Protect from double inclusion. - * elf/dlsym.c (dlsym_doit): If no symbol for RTLD_NEXT is found - initialize ref element of args object so that dlsym does not dump - a core. - * elf/dlvsym.c (dlvsym_doit): Likewise. +1998-08-09 Mark Kettenis -1999-02-03 Jakub Jelinek + * posix/glob.h: Add LFS support for glob and globfree. + * posix/Versions [GLIBC_2.1]: Add glob64 and globfree64. + * posix/Makefile (routines): Add glob64. + * sysdeps/generic/glob64.c: New file. + * sysdeps/unix/sysv/linux/glob64.c: New file. + * sysdeps/unix/sysv/linux/alpha/glob64.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/glob64.c: New file. + * sysdeps/generic/glob.c [_LIBC && glob] (__glob_pattern_p): + Elide function. + * sysdeps/unix/sysv/linux/alpha/glob.c: Add glob64 as a weak alias + for __new_glob. Likewise for globfree64. + * sysdeps/unix/sysv/linux/sparc/sparc64/glob.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Set branch - prediction correctly. +1998-08-09 Andreas Schwab - * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Signal - takes a pointer to __sigcontext_t. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Do a nop after retl. - * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove fork.S. + * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Remove + -include flag from command. -1999-02-02 Andreas Schwab +1998-08-10 Ulrich Drepper - * manual/time.texi (General Time String Parsing): Fix typos. Fix - column widths of table. + * nss/nss_db/db-XXX.c (_nss_db_getXXX): If buffer is too small + decrement `entidx' to allow retrieving the same entry again. -1999-01-31 Mark Kettenis +1998-08-09 22:32 Ulrich Drepper - * sysdeps/mach/hurd/times.c: New file. + * sysdeps/powerpc/ffs.c: Fix typo. Add support for ffsl. + Patch by Matt McLean . -1999-02-02 Ulrich Drepper +1998-08-07 Geoff Keating - * nscd/nscd_getpw_r.c (nscd_getpw_r): Mark as internal and take - extra argument with length of key string. - (__nscd_getpwnam_r): Call nscd_getpw_r with extra argument. - (__nscd_getpwuid_r): Create key string on stack. - * nscd/nscd_getgr_r.c: Mark local functions as internal. - * nscd/nscd_gethst_r.c: Likewise. + * sysdeps/powerpc/bits/setjmp.h: Use word to save condition + registers. + * sysdeps/powerpc/setjmp.S: Save condition registers. + * sysdeps/powerpc/__longjmp.S: Restore condition registers. - * elf/dl-load.c: Use alloca, not __alloca. +1998-08-09 09:40 Ulrich Drepper - * sysdeps/unix/sysv/linux/reboot.c: Make sure first parameter is - correctly passed to the kernel even on 64bit platforms. - Patch by Bruce Elliott . + * nss/nss_files/files-XXX.c (internal_getent): In case of an read + error do not trust errno value, set it to ENOENT. - * localedata/locales/it_CH: New file. - Contributed by Giacomo Amabile Catenazzi . - -1999-01-31 Andreas Jaeger - - * manual/install.texi (Configuring and compiling): Building in the - source directory works, change paragraph stating the opposite. - -1999-01-29 Andreas Schwab - - * locale/programs/locale-spec.c: Fix last change. - -1999-01-31 Ulrich Drepper - - * math/libm-test.c (fdim_test): Fix typo in message. - Patch by Paul Kimoto . - -1999-01-31 Philip Blundell - - * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: If the kernel - doesn't have vfork, resort to using fork. - * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise. - -1999-01-30 Ulrich Drepper - - * sysdeps/sparc/sparc32/__longjmp.S: Include bits/setjmp.h not - jmp_buf.h. Patch by David S. Miller . - - * sysdeps/libm-i387/s_fdim.S: Reverse arguments of instruction - changed in last patch. - * sysdeps/libm-i387/s_fdimf.S: Likewise. - * sysdeps/libm-i387/s_fdiml.S: Likewise. - -1999-01-29 Richard Henderson - - * scripts/config.sub: Recognize alpha{pca5[67],ev[67]}. - - * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols): - Format pointer differences as longs. - - * sysdeps/alpha/fpu/s_floor.c, sysdeps/alpha/fpu/s_floorf.c: - Copy commentary from bits/mathinclude.h. Kill unused defines. - - * sysdeps/alpha/atomicity.h: New file. - -1999-01-29 Ulrich Drepper - - * version.h (VERSION): Bump to 2.0.112. - - * scripts/versions.awk: Quote { in regexp. - - * sunrpc/clnt_tcp.c (clnttcp_call): Resolve 32-64 comparison - conflict for 64 bit platforms. - Patch by trott@rottmann.hi.shuttle.de. - - * sysdeps/unix/sparc/vfork.S: Correct comment. - * sysdeps/unix/sparc/fork.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Remove vfork. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: No special case for - child necessary. - * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: New file. - Patches by Jakub Jelinek . - - * sysdeps/libm-i387/s_fdim.S: Change fsubp to fsubrp for picky gas. - * sysdeps/libm-i387/s_fdimf.S: Likewise. - * sysdeps/libm-i387/s_fdiml.S: Likewise. - - * sysdeps/alpha/fpu/s_floor.c (__floor): Don't depend on inlining, - duplicate the code. - * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise. - - * sysdeps/i386/Versions: Exports functions from libgcc since this - is what was done in glibc 2.0. - * sysdeps/m68k/Versions: Likewise. New file. - -1999-01-28 Andreas Schwab - - * sysdeps/wordsize-32/stdint.h (INT8_C, INT16_C, INT32_C, INT64_C, - UINT8_C, UINT16_C, UINT32_C, UINT64_C): Remove casts, they must be - integer constants. Use ## directly instead of __CONCAT so that - the suffix string is not expanded as a macro. - * sysdeps/wordsize-64/stdint.h (INT8_C, INT16_C, INT32_C, INT64_C, - UINT8_C, UINT16_C, UINT32_C, UINT64_C): Likewise. - (INT64_MIN, INT64_MAX, UINT64_MAX, INT_LEAST64_MIN, - INT_LEAST64_MAX, UINT_LEAST64_MAX, INT_FAST16_MIN, INT_FAST32_MIN, - INT_FAST64_MIN, INT_FAST16_MAX, INT_FAST32_MAX, INT_FAST64_MAX, - UINT_FAST16_MAX, UINT_FAST32_MAX, UINT_FAST64_MAX, INTMAX_MIN, - INTMAX_MAX, UINTMAX_MAX): Define as long constants, not long long. - -1999-01-28 Andreas Schwab - - * locale/mb_cur_max.c (__ctype_get_mb_cur_max): Correct return - type to size_t. - * locale/broken_cur_max.c (__ctype_get_mb_cur_max): Likewise. - * stdlib/stdlib.h (__ctype_get_mb_cur_max): Likewise. - -1999-01-27 Philip Blundell - - * sysdeps/unix/sysv/linux/arm/vfork.S: Deleted. - -1999-01-28 David S. Miller - - * sysdeps/sparc/sparc32/__longjmp.S: Rewrite without bogus sanity - checks and aborts, to make longjmp based thread schemes work again. - -1999-01-28 Ulrich Drepper - - * sysdeps/unix/sysv/sysv4/solaris2/configure.in: New file. - * sysdeps/unix/sysv/sysv4/solaris2/configure: New file. - * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: New file. - Patch by Jeff Bailey . - - * locale/setlocale.c (free_mem): Don't try to free C locale data - and use setdata instead of doing it by hand. - - * iconv/gconv_conf.c (add_alias): Check that so such alias is - currently stored. - - * iconv/gconv_db.c (free_derivation): Free names if charsets for - first and last step. - - * iconv/gconv_dl.c: Unload all modules when debugging memory use. - - * locale/loadlocale.c (_nl_unload_locale): Free locale name. - - * intl/finddomain.c (free_mem): Also free filename. - * locale/findlocale.c (free_mem): Likewise. - (_nl_find_locale): Duplicate loc_name with strdupa not strdup. - * locale/setlocale.c (free_mem): New function. Free current locale - data and set current locale to "C". - - * libio/genops.c (_IO_un_link): Move #ifdef introduced in last - change in right place. - - * sysdeps/unix/sysv/linux/sys/timex.h: Add MAXTC from kernel - header. Suggested by Thomas Quinot . - -1999-01-28 Andreas Jaeger - - * libio/getc_u.c (__getc_unlocked): Avoid compiler warning. - -1999-01-28 Ulrich Drepper - - * libio/genops.c (_IO_un_link, _IO_link_in): Don't use locking if - _IO_MTSAFE_IO is not defined. - - * iconv/gconv_db.c (free_modules_db): Don't free memory of - internal modules. - - * iconv/gconv_db.c (free_mem): Don't free module tree if there is none. - -1999-01-27 Ulrich Drepper - - * locale/programs/locale-spec.c (locale_special): Take care of - possible trigraph sequence. - Patch by Zack Weinberg . - - * time/strptime.c (strptime_internal, case 's'): Initialize secs - to zero. Patch by Bruce Elliott . - -1999-01-27 Andreas Schwab - - * elf/Makefile (extra-objs): Add test modules objects. - -1999-01-27 Ulrich Drepper - - * wctype/wcextra.c: Declare __ctype32_b. - - * manual/string.texi: Add optimization examples for strcat and strchr. - -1999-01-26 Ulrich Drepper - - * libio/Makefile (routines): Remove fgetc. - * libio/fgetc.c: Removed. - * libio/getc.c: Add fgetc alias. - * libio/Versions [GLIBC_2.1]: Add fgetc_unlocked. - * libio/getc_u.c: Rename function to __getc_unlocked and make - getc_unlocked and fgetc_unlocked weak aliases. - * libio/stdio.h: Add prototype for fgetc_unlocked. - - * sysdeps/gnu/bits/utmp.h: Don't prepend exit_status elements with - __ since utmp.h is not mentioned in any standard. - - * sysdeps/unix/sysv/linux/i386/clone.S: When not using PIC don't - use jecxz since the label might be far away. - - * sysdeps/unix/sysv/linux/sigaction.c: Update comment to say the - __libc_missing_rt_sigs is defined here. - * sysdeps/unix/sysv/linux/sigpending.c: Only declare - __libc_missing_rt_sigs. - * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise. - * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise. - -1999-01-25 Ulrich Drepper - - * scripts/config.guess: Changes for ARM/Linux. - * scripts/config.sub: Likewise. - - * elf/Makefile: Define libdl variable as name of libdl library and - use it in all dependencies. - -1999-01-26 Geoff Keating - - * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Suppress warning - about potentially uninitialized `flags'. - * nss/nss_db/db-alias.c (internal_setent): Likewise. - -1999-01-25 Andreas Jaeger - - * elf/failobj.c: Provide prototype for xyzzy. - -1999-01-25 Philip Blundell - - * sysdeps/unix/sysv/linux/arm/clone.S: Correct error check again. - -1999-01-24 Roland McGrath - - * sysdeps/mach/hurd/ioctl.c: Include . - (__ioctl): Use IOC_MSGID macro. - -1999-01-24 Ulrich Drepper - - * libio/iofopen.c (_IO_fopen): Pass correct value as fourth - parameter to _IO_file_fopen. - * libio/iofopen64.c (_IO_fopen64): Likewise. - - * po/sv.po: Update from translation team. - - * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add __vfork - as alias. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. - -1999-01-24 Andreas Jaeger - - * ctype/ctype.h (toupper,tolower): Use __inline instead of inline, - define inline functions only when optimizing for speed and - __USE_EXTERN_INLINES is set. - -1999-01-24 Ulrich Drepper - - * scripts/config.sub: Update from latest autoconf release. - * scripts/config.guess: Likewise. - - * sysdeps/i386/i786/Implies: New file. - -1999-01-24 Andreas Jaeger - - * manual/install.texi (Running make install): Change for Linux 2.2. - -1999-01-24 Andreas Jaeger - - * manual/process.texi (Creating a Process): Fix typos. - -1999-01-24 Roland McGrath - - * sysdeps/mach/hurd/dl-sysdep.c (__getcwd): Fail with ENOSYS, don't - call abort. Suggested by Mark Kettenis . - -1999-01-23 Roland McGrath - - * sysdeps/unix/sysv/linux/sys/mtio.h: Moved to... - * sysdeps/gnu/sys/mtio.h: ...here. - (_IOT_mtop, _IOT_mtget, _IOT_mtpos, _IOT_mtconfiginfo): New macros. - * sysdeps/gnu/Dist: Add sys/mtio.h. - * sysdeps/unix/sysv/linux/Dist: Remove sys/mtio.h. - * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc] - (sysdep_headers): Don't add sys/mtio.h here. - * sysdeps/gnu/Makefile [$(subdir) = misc] (sysdep_headers): Add it - here instead. - - Revamp Hurd ioctl typing magic to handle `struct' keyword in the - ioctl command macros, so we can use Unix-compatible headers that - make use of the _IO* macros. - * sysdeps/mach/hurd/bits/ioctls.h (_IOC_ENCODE_TYPE, - _IOC_ENCODE_TYPE_1, _IOC_ENCODE_TYPE_2, _IOTBASE_struct): New macros. - (_IOR, _IOW, _IOWR): Use them _IOC_ENCODE_TYPE(t) instead of _IOT_##t. - (_IOT_int, _IOT_char, _IOT_short): Renamed to _IOT__IOTBASE_*. - (numerous ioctl command macros): Restore `struct' keyword. - -1999-01-24 Ulrich Drepper - - * ctype/ctype.c (toupper): Correct variable names from last change. - (tolower): Likewise. - -1999-01-23 Ulrich Drepper - - * sunrpc/rpc_main.c (open_output): Allow better translation of - error message. - (close_output): Likewise. - * locale/programs/localedef.c: Unify messages. - * malloc/obstack.c: Likewise. - Suggested by Vladimir Michl . - - * grp/putgrent.c (putgrent): Don't insert extra colon. - Patch by Michael Schaefer . - - * nss/nss_files/files-XXX.c (internal_getent): Make sure the buffer has - at least two bytes (not one). Correct buflen parameter type. - * nss/nss_files/files-alias.c (get_next_alias): Make sure buffer - has at least two bytes. Use fgets_unlocked instead of fgets. - - * ctype/ctype.h: Don't user __tolower directly for tolower - implementation. Use inline function which tests for the range - first. Make _tolower equivalent to old tolower macros. - Likewise for toupper. - * ctype/ctype.c: Change tolower/toupper definition accordingly. - - * argp/argp-help.c: Use _tolower instead of tolower if possible. - * inet/ether_aton_r.c: Likewise. - * inet/ether_line.c: Likewise. - * inet/rcmd.c: Likewise. - * intl/l10nflist.c: Likewise. - * locale/programs/ld-collate.c: Likewise. - * locale/programs/linereader.c: Likewise. - * locale/programs/localedef.c: Likewise. - * nis/nss_nis/nis-alias.c: Likewise. - * nis/nss_nis/nis-network.c: Likewise. - * posix/regex.c: Likewise. - * resolv/inet_net_pton.c: Likewise. - * stdio-common/printf_fp.c: Likewise. - * stdio-common/vfscanf.c: Likewise. - * sysdeps/generic/strcasestr.c: Likewise. - - * math/bits/mathcalls.h: Fix typo. - -1999-01-23 Roland McGrath - - * sysdeps/gnu/errlist.awk: Add comment. - -1999-01-23 Ulrich Drepper - - * csu/Versions: Add __register_frame_info_table. - -1998-12-29 Geoff Keating - - * sunrpc/Versions: Include _authenticate, it's defined in a user - header (in fact, it's the whole contents of rpc/svc_auth.h). - -1999-01-23 Ulrich Drepper - - * io/ftw.c (process_entry): Initialize flag since not all gcc - versions are smart enough to see that this is no problem. - - * elf/dl-open.c (_dl_init_paths): Check malloc result. - - * csu/Versions: Add __frame_state_for. - -1999-01-22 Ulrich Drepper - - * sysdeps/gnu/errlist.awk: Mark ENOTSUP as alias for EOPNOTSUPP. - - * iconv/gconv_conf.c (add_alias): Convert names to uppercase before - adding into search tree. - (add_module): Likewise. - * iconv/iconv_open.c: Likewise. - * iconv/gconv_db.c: Change all __strcasecmp to strcmp. - * iconv/skeleton.c (gconv_init): Likewise. - -1999-01-20 Andreas Schwab - - * elf/Makefile: Make dependencies between test modules explicit. - (preloadtest-preloads): New variable. - ($(objpfx)preloadtest.out): Use it. - (preloadtest-ENV): Use it. - -1999-01-22 Andreas Schwab - - * sysdeps/unix/sysv/linux/arm/Dist: Undo last change. Not needed. - -1999-01-22 Roland McGrath - - * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Depend on - $(common-objpfx)errnos.d. - - * sysdeps/mach/hurd/Makefile: Fix errnos.h -> bits/errno.h in rules. - - * manual/errno.texi (Error Codes): Fix ENOSYS description. - Add ENOTSUP. - -1999-01-21 Ulrich Drepper - - * elf/Makefile: Add missing dependency for preloadtest binary. - -1999-01-21 Ulrich Drepper - - * version.h (VERSION): Bump to 2.0.111. - - * elf/Makefile (distribute): Add test module sources. - - * sysdeps/unix/sysv/linux/sys/sysmacros.h: Pretty print. - * sysdeps/unix/sysv/linux/Dist: Remove sys/sysmacros.h. - * sysdeps/unix/sysv/linux/Makefile: Remove sys/sysmacros.h. - * posix/Makefile (headers): Add sys/sysmacros.h. - * posix/sys/types.h: Include sys/sysmacros.h for __USE_BSD. - * sysdeps/generic/sys/sysmacros.h: New file. - * sysdeps/mach/hurd/xmknod.c: Include sys/types.h and remove minor and - major definition. - - * elf/dl-close.c: Rewrite the way adding to the global scope works - to handle error cases better than the last change. - The l_global flag is now only set when the object is actually - counted in the global scope list. - * elf/dl-deps.c: Likewise. - * elf/dl-open.c: Likewise. - -1999-01-20 Philip Blundell - - * sysdeps/unix/sysv/linux/arm/sigaction.c: New file. - - * sysdeps/unix/sysv/linux/arm/vfork.S: New file. - * sysdeps/unix/sysv/linux/arm/Dist: Add vfork.S. - - * sysdeps/unix/sysv/linux/arm/clone.S: Optimise a little, support - 26-bit machines correctly and fix check for returned errors. - -1999-01-21 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/clone.S: Micro-optimization. - - * sysdeps/unix/sysv/linux/i386/vfork.S: Add back the first - implementation now that the syscall is back in 2.2.0. - - * elf/Makefile: Change rule to make test module so that they are - compiled using -fPIC. - * elf/testobj1.c: Add missing prototype. - * elf/testobj1_1.c: Likewise. - * elf/testobj2.c: Likewise. - * elf/testobj3.c: Likewise. - * elf/testobj4.c: Likewise. - * elf/testobj5.c: Likewise. - * elf/testobj6.c: Likewise. - -1999-01-20 Ulrich Drepper - - * elf/Makefile (tests): Add loadfail. - Add rules to build failobj.so. - * elf/loadfail.c: New file. Test of failing to load object with - RTLD_GLOBAL set. - * elf/failobj.c: New file. Object which will fail to load. - - * elf/dl-close.c (_dl_close): Fix last patch (cnt is unsigned). - - * elf/dl-close.c: Handle failed loads which would have gone in the - global scope correctly. - - * elf/testobj1.c: Include stdlib.h to get NULL defined. - * elf/testobj2.c: Likewise. - * elf/testobj3.c: Likewise. - * elf/testobj4.c: Likewise. - * elf/testobj5.c: Likewise. - - * iconvdata/Makefile (modules): Add SAMI-WS2 and ISO-IR-197. - * iconvdata/gconv-modules: Add entries for above charsets. - * iconvdata/iso-ir-197.c: New file. - * iconvdata/sami-ws2.c: New file. - - * sysdeps/unix/sysv/linux/vfork.c: Once again use generic version. - -1999-01-18 Andreas Schwab - - * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.d): Fix - generation of dependency list to make it work with newer versions - of gcc. - -1999-01-18 Andreas Schwab - - * Makerules (build-module): New macro, moved from... - * elf/Makefile (build-module): ... here. - * iconvdata/Makefile (build-module): ... and here. - -1999-01-20 Ulrich Drepper - - * sysdeps/alpha/Versions: Add __atan2 for libm and GLIBC_2.0. - - * elf/Makefile (tests): Add preloadtest. Add rules to build more test - modules and the preloadtest binary. - * elf/loadtest.c (TEST_ROUNDS): Increase to 1000. - (testobjs): Add more modules. - (tests): Add entries for new modules. - * elf/preloadtest.c: New file. Test for LD_PRELOAD. - * elf/testobj1.c: Add 'preload' function. - * elf/testobj2.c: Likewise. - * elf/testobj3.c: Likewise. - * elf/testobj4.c: New file. - * elf/testobj5.c: New file. - * elf/testobj6.c: New file. - -1999-01-19 Ulrich Drepper - - * elf/dl-object.c (_dl_new_object): Micro-optimization. - - * elf/restest1.c: New file. Symbol resolution test. - * elf/testobj1_1.c: New file. Module used in this test. - * elf/Makefile: Add rules for restest1 generation and execution. - - * elf/dl-object.c (_dl_new_object): l_local_scope really gets - assigned the local scope. - - * posix/test-vfork.c (main): Improve test to check for correct - exit code. - - * sysdeps/unix/sysv/linux/i386/vfork.S: Rewrite to use clone. - - * sysdeps/unix/sysv/linux/bits/sched.h: Define CLONE_VFORK. - - * timezone/zdump.c: Update from tzcode1999a. - * timezone/zic.c: Likewise. - -1999-01-19 Andreas Jaeger - - * math/tgmath.h: Rename nextafterx to nexttoward. - -1999-01-19 Ulrich Drepper - - * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Add baud rates > - 460800. - * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise. - * sysdeps/unix/sysv/linux/bits/termios.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise. - - * math/Makefile (libm-calls): Rename s_nextafterx to s_nexttoward. - * math/Versions: Likewise. - * math/bits/mathcalls.h: Likewise. - * manual/arith.texi: Likewise. - * sysdeps/libm-ieee754/s_nextafterl.c: Likewise. - * sysdeps/libm-ieee754/s_nextafterx.c: Replaced by... - * sysdeps/libm-ieee754/s_nexttoward.c: New file. - * sysdeps/libm-ieee754/s_nextafterxf.c: Replaced by... - * sysdeps/libm-ieee754/s_nexttowardf.c: New file. - * sysdeps/libm-ieee754/s_nextafterxl.c: Replaced by... - * sysdeps/libm-ieee754/s_nexttowardl.c: New file. - - * time/Makefile (routines): Removed strfxtime. - * time/Versions: Likewise. - * time/strfxtime.c: Removed. - * time/time.h: Remove _LOCALTIME, _NO_LEAP_SECONDS, struct tmx, - mkxtime, and strfxtime. - -1999-01-18 Ulrich Drepper - - * iconv/gconv_conf.c (add_module): Complete rewrite. Use cleverer - data structures and avoid creating intermediate representations - first. Rewrite also all helper functions. - * iconv/gconv_db.c (find_derivation): Use new data structure for - module database. - * iconv/Versions: Remove __gconv_nmodules. - * iconv/iconv_prog.c: Rewrite generation of charset name list to - use new data structure. - * iconv/gconv_int.h (struct gconv_module): Add new elements for - database data structure. - (__gconv_modules_db): Update type. - (__gconv_transform_dummy): Removed. - * iconv/gconv_builtin.h: Remove dummy transformation. - * iconv/gconv_simple.c: Remove __gconv_transform_dummy. - - * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Remove - __syscall_vfork, add vfork. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. - -1999-01-18 Andreas Jaeger - - * posix/test-vfork.c: Include for wait declaration. - -1999-01-16 Andreas Schwab - - * manual/ctype.texi: Fix cross refs and typos. - * manual/charset.texi: Likewise. - -1999-01-18 Ulrich Drepper - - * Rules: Add dummy.c and dummy.o to common-generated. - Patch by Andreas Schwab. - -1999-01-18 10:07 -0500 Zack Weinberg - - * manual/libc-texinfo.sh: Use tsort.awk. - * manual/tsort.awk: New file. - * manual/Makefile (minimal-dist): Add tsort.awk. - (distribute): Remove generated files: summary.texi, - stamp-summary, chapters.texi, top-menu.texi, and texis. - -1999-01-15 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/vfork.S: Test return value after - fork syscall. - -1999-01-17 Ulrich Drepper - - * wctype/wcfuncs.c: Declare __ctype32_b. - - * elf/Makefile (test-modules): Add test-modules. - - * stdlib/canonicalize.c (canonicalize): Update write pointer after - realloc. Minor optimizations. - -1999-01-16 Ulrich Drepper - - * po/no.po: Update from norwegian translation team. - - * iconvdata/iso-2022-jp.c: Correct handling of G2 set. - Patch by Shinya Hanataka . - - * elf/Makefile (tests): Add loadtest. - Add rules to generate test modules. - * Makeconfig (+link): Add $(LDFLAGS-$(@F)) to command line. - * elf/loadtest.c: New file. - * elf/testobj1.c: New file. - * elf/testobj2.c: New file. - * elf/testobj3.c: New file. - - * elf/dl-close.c: Correct removing module from global list. - - * elf/dl-open.c: Add debugging code. - - * include/string.h: Add __rawmemchr prototype. - * string/Makefile (routines): Add rawmemchr. - * string/Versions [GLIBC_2.1]: Add __rawmemchr and rawmemchr. - * string/string.h: Add prototype for rawmemchr. - * string/bits/string2.h: Optimize strchr with rawmemchr. - * sysdeps/generic/rawmemchr.c: New file. - * sysdeps/i386/rawmemchr.c: New file. - * sysdeps/i386/i486/bits/string.h: Add rawmemchr inline code. - Optimize strchr with rawmemchr. - - * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _LFS_LARGEFILE, - _LFS64_LARGEFILE, and _LFS64_STDIO for Unix98. - -1999-01-14 Andreas Jaeger - - * nis/nis_error.c (nis_errlist): Fix capitilasation. - -1999-01-15 Ulrich Drepper - - * posix/Makefile (tests): Add test-vfork. - * posix/test-vfork.c: New file by Andreas Schwab. - - * manual/charset.texi: More misspelling fixes. - Reported by Tom Tromey . - Improve mbsinit example. - - * sysdeps/unix/sysv/linux/vfork.c: Removed. - * sysdeps/unix/sysv/linux/i386/vfork.S: New file. - -1999-01-14 Ulrich Drepper - - * Make-dist: If file is generated but still distributed the later - is correct. - - * sysdeps/unix/sysv/linux/arm/Dist: Add sys/user.h. - - * manual/Makefile (examples): Filter out the example code from - add-ons. - - * version.h (VERSION): Bump to 2.0.110. - - * nis/nis_error.c (nis_errlist): Fix typo in string. - - * misc/regexp.h: Add restrict to function declarations. - -1998-12-30 Andreas Jaeger - - Patche by Ralf Baechle : - * sysdeps/mips/sys/regdef.h: New file, enhanced versions of - deleted linux specific files. - -1998-12-29 Andreas Jaeger - - * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: New file. - -1999-01-14 Andreas Jaeger - - * misc/regexp.h (compile): Correct end-of-line check, fix typo in - docu. Reported by Kalle Olavi Niemitalo . - -1999-01-14 Ulrich Drepper - - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add vfork. - Patch by Richard Henderson . - -1999-01-13 Ulrich Drepper - - * manual/nss.texi (NSS Module Interface): Document requirement on errno - value after unsuccessful call of module function. - - * sysdeps/unix/sysv/linux/syscalls.list: Add __syscall_fork alias. - * sysdeps/unix/sysv/linux/vfork.c: Use vfork syscall if available, - otherwise use fork. - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add vfork. - * sysdeps/unix/sysv/linux/sparc32/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/sparc64/syscalls.list: Likewise. - - * sysdeps/unix/sysv/linux/i386/sysdep.h: Correct handling of - INLINE_SYSCALL for syscall without parameters. - -1999-01-13 Andreas Schwab - - * sysdeps/unix/make-syscalls.sh: Set shared-only-routines for - versioned syscalls. - - * Rules: Remove rules for empty.* again. - -1999-01-13 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/vfork.S: New file. - -1999-01-13 Ulrich Drepper - - * sysdeps/i386/bits/string.h: Correct several bugs in various - functions which never worked. - Patch by Maciej W. Rozycki . - -1999-01-12 Ulrich Drepper - - * manual/charset.texi: Add many corrections. - Patch by Benjamin Kosnik . - -1999-01-12 Andreas Jaeger - - * manual/charset.texi: Fix some typos. - -1999-01-12 Ulrich Drepper - - * login/programs/pt_chown.c (main): Update copyright year. - -1999-01-11 Ulrich Drepper - - * sysdeps/posix/tempname.c: Open files with mode 0600. - - * ctype/Versions [GLIBC_2.0]: Export __ctype32_b. - * include/wctype.h: Declare __iswctype. - * stdio-common/vfscanf.c (__vfscanf): Use __iswspace instead of - iswspace. - * wctype/Makefile (routines): Add wcextra_l. - * wctype/wcextra.c (iswblank): Implement function here and don't use - __iswctype. - (__iswblank_l): Move definition to... - * wctype/wcextra_l.c: ...here. New file. - * wctype/wcfuncs.c: Really implement functions and don't call - __iswctype or __towctrans. - * wctype/wctype.h: Change isw* and tow* macros. Don't call - __iswctype or __towctrans. Instead optimize constant argument case. - - * iconv/gconv.h: Fix typos. - - * iconv/skeleton.c: Fix typos. Optimize init function a bit. - Correctly emit escape sequence to return to initial state in - conversion function. - - * iconvdata/iso-2022-jp.c (gconv_init): Correctly initialize - max_needed_to element. - - * manual/mbyte.texi: Removed. This is now described in charset.texi. - * manual/charset.texi: New file. - * manual/Makefile (chapters): Replace mbyte by charset. - * manual/ctype.texi: Document wide character functions. - * manual/intro.texi: Fix reference to mbyte chapter. - * manual/lang.texi: Likewise. - * manual/locale.texi: Likewise. - * manual/stdio.texi: Likewise. - * manual/string.texi: Fix @node line for new charset chapter. - * manual/libc.texinfo (UPDATED): Updated. Also update copyright years. - * manual/memory.texi (savestring): Optimize code to give a good - example. - - * manual/filesys.texi: Fix wording. Patches by Jim Meyering. - - * nscd/nscd_getgr_r.c: Include stdint.h to get uintptr_t definition. - * nscd/nscd_getpw_r.c: Likewise. - * nscd/nscd_gethst_r.c: Likewise. - - * stdlib/stdtold_l.c: Always include xlocale.h. - -1999-01-11 Geoffrey Keating - - * stdlib/fpioconst.h (LDBL_MAX_10_EXP_LOG): Define to be same as - DBL_MAX_10_EXP_LOG if there is no long double. - (_fpioconst_pow10): Always use size as LDBL_MAX_10_EXP_LOG to match - printf_fp.c. - -1999-01-10 Andreas Jaeger - - * timezone/Makefile ($(testdata)/GB): Changed to ... - ($(testdata)/Europe/London): ... for tst-timezone test. - ($(objpfx)tst-timezone.out): Change GB to Europe/London. - - * timezone/tst-timezone.c (main): Enable DST switching test, - change GB to Europe/London. - -1999-01-10 Philip Blundell - - * socket/Makefile (headers): Remove bits/sockunion.h. - -1999-01-09 Philip Blundell - - * socket/sys/socket.h: Don't include . - * sysdeps/generic/bits/sockunion.h: Deleted. - * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise. - -1999-01-08 H.J. Lu - - * io/fts.c (fts_close): Don't access memory after having it freed. - -1998-01-08 Andreas Schwab - - * manual/Makefile (stamp-summary): Remove space after -t option - for compatibility with non-GNU sort programs. - -1999-01-08 Andreas Schwab - - * manual/search.texi (Comparison Functions): Fix compare_doubles - example. - -1999-01-07 Andreas Schwab - - * Makerules (do-tests-clean): Remove reference to obsolete - variable tests-static. - -1999-01-07 Ulrich Drepper - - * sysdeps/unix/sysv/linux/ntp_adjtime.c: Removed. It's an alias - for adjtimex. - * sysdeps/unix/sysv/linux/Dist: Add ntp_gettime.c. - * sysdeps/unix/sysv/linux/Makefile [subdir=time] (sysdep_routines): - Remove ntp_adjtime. - * sysdeps/unix/sysv/linux/syscalls.list: Add alias ntp_adjtime to - adjtimex. - * sysdeps/unix/sysv/linux/sys/timex.h: Correct prototype for - ntp_adjtime. - - * sysdeps/i386/i686/mempcpy.S: Fix typos. - - * sysdeps/i386/i686/memset.S: New file. - * sysdeps/i386/i686/bzero.S: New file. - * sysdeps/i386/i686/strcmp.S: New file. - * sysdeps/i386/i686/memcpy.S: New file. - - * sysdeps/unix/sysv/linux/Makefile [subdir=time] (sysdep_routines): - Add ntp_adjtime and ntp_gettime. - * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add ntp_adjtime and - ntp_gettime. - -1998-12-29 Ulrich Windl - - * manual/time.texi (Precision Time): Add documentation for - ntp_gettime and ntp_adjtime. - -1998-12-28 Ulrich Windl - - * sysdeps/unix/sysv/linux/ntp_gettime.c: Created new file - - * sysdeps/unix/sysv/linux/ntp_adjtime.c: Created new file - - * sysdeps/unix/sysv/linux/sys/timex.h (struct ntptimeval): Added. - Add prototypes for ntp_adjtime and ntp_gettime. - -1999-01-07 Ulrich Drepper - - * sysdeps/i386/bits/select.h (__FD_ZERO): Remove early clobbers - from c and D register output. - -1999-01-07 Philip Blundell - - * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Fix bug in last change. - -1999-01-07 Ulrich Drepper - - * sysdeps/unix/sysv/linux/alpha/bits/types.h: Correct type for - __fsfilcnt_t. Patch by Bruce Elliott . - -1999-01-05 Andreas Schwab - - * manual/conf.texi: Remove pointers from first @node. Move old - @node spec inside comment. - * manual/lang.texi: Likewise. - * manual/libc-texinfo.sh: Also find `@node.*Top' in a comment. - * manual/stdio.texi: Fix typo. - -1999-01-04 Andreas Schwab - - * wcsmbs/btowc.c: Accept all values in the range [SCHAR_MIN - .. UCHAR_MAX]. Local var buf renamed to result and its type - changed from char[] to wchar_t to get proper alignment. - - * posix/fnmatch.c: Also cast the arguments of the other ctype - functions to unsigned char. - -1999-01-07 Ulrich Drepper - - * Rules: Add rules for empty.{o,os,op} back. - -1999-01-05 Ulrich Drepper - - * Makerules (common-mostlyclean): Add missing parentheses. - - * Rules: Add back rules for empty.o generation. - -1999-01-05 Philip Blundell - - * sysdeps/unix/sysv/linux/net/if_arp.h: Add new ARPHRD definitions - from latest (2.2.0pre4) kernel. - -1999-01-05 Scott Bambrough - - * sysdeps/unix/sysv/linux/arm/sys/user.h : New file. Fixes problem - on ARM platforms with programs that include and - . Solution suggested by Geoff Keating earlier with - fix for same problem on the PowerPC platform. - -1999-01-04 Philip Blundell - - * sysdeps/unix/sysv/linux/arm/register-dump.h: Correct widths of - register values. - * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: New file. - -1999-01-04 Ulrich Drepper - - * csu/version.c (banner): Update date. - * catgets/gencat.c: Update year in copyright message text. - * db2/makedb.c: Likewise. - * debug/catchsegv.sh: Likewise. - * elf/ldd.bash.in: Likewise. - * elf/sprof.c: Likewise. - * iconv/iconv_prog.c: Likewise. - * locale/programs/locale.c: Likewise. - * locale/programs/localedef.c: Likewise. - * login/programs/utmpd.c: Likewise. - * malloc/mtrace.pl: Likewise. - * nscd/nscd.c: Likewise. - * nss/getent.c: Likewise. - * posix/getconf.c: Likewise. - -1999-01-02 Philip Blundell - - * sunrpc/Makefile: Ensure that we really use the right path for cpp. - -1999-01-03 Philip Blundell - - * Makefile (tests-clean): New target to delete test output files. - * Makerules (do-tests-clean): New rule to support the above. - * Rules (subdir_testclean): Likewise. - -1999-01-03 Andreas Schwab - - * iconv/Makefile: Use install-others instead of explicit - dependency on subdir_install. - -1999-01-02 Andreas Schwab - - * iconv/gconv_db.c (find_derivation): Release lock before - returning. - (__gconv_find_transform): Likewise. - -1999-01-01 Andreas Schwab - - * inet/ether_ntoa.c (ether_ntoa): Make `asc' static since that's - what we return. - -1999-01-01 Andreas Schwab - - * Makerules: Remove all references to obsolete variables - tests-static and test-srcs-static. - * Make-dist: Likewise. - * Rules: Likewise. Remove rules to generate obsolete empty.{c,o*}. - -1999-01-03 Philip Blundell - - * sysdeps/unix/sysv/linux/arm/pread.c: Use the i386 implementation. - * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise. - -1998-12-28 Andreas Schwab - - * sysdeps/m68k/dl-machine.h (elf_machine_rela): Reorder expression - to avoid accessing global data in the usual case. - -1999-01-01 Andreas Jaeger - - * wcsmbs/wcstold_l.c: Correct last patch to include wchar.h from - system path. - -1998-12-31 Ulrich Drepper - - * iconvdata/Makefile: Use rpath $ORIGIN for modules which use any of - the conversion libraries. - - * include/features.h: Mention latest extensions in _POSIX_C_SOURCE - description. - - * libio/genops.c (list_all_lock): New variable. - (_IO_un_link, _IO_link_in): Acquire lock before modifying _IO_list_all. - [PR libc/911]. - - * sysdeps/i386/i686/strtok.s: Add missing cld. - - * sysdeps/i386/i686/mempcpy.S: New file. - -1998-12-30 Geoff Keating - - Suppress parentheses warnings: - * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c - (DL_FIND_ARG_COMPONENTS): here, - * sysdeps/powerpc/dl-machine.c: here, - * sysdeps/powerpc/fclrexcpt.c (feclearexcept): here, - * sysdeps/powerpc/fesetround.c (fesetround): here, - * sysdeps/powerpc/feupdateenv.c (feupdateenv): here, - * sysdeps/powerpc/fraiseexcpt.c (feraiseexcept): here, - * sysdeps/powerpc/fsetexcptflg.c (fesetexceptflag): here, - * sysdeps/powerpc/s_rint.c (__rint): here, - * sysdeps/powerpc/s_rintf.c (__rintf): here, - * sysdeps/powerpc/w_sqrt.c (__sqrt): here, - * sysdeps/powerpc/w_sqrtf.c (__sqrtf): and here. - -1998-12-30 Geoff Keating - - * wcsmbs/wcstold.c [__NO_LONG_DOUBLE_MATH]: Include wchar.h. - * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Likewise. Also define - appropropriate prototypes, correct procedure names. - -1998-12-30 Geoff Keating - - * sysdeps/generic/crypt-entry.c: Prototype __crypt_r, suppress - warning. - (__crypt_r): Add __restrict. - * sysdeps/generic/crypt.h: Remove internal routine. Add __restrict. - -1998-12-31 Ulrich Drepper - - * stdlib/longlong.h: Add missing #else in SPARC definitions. - -1998-12-30 Andreas Jaeger - - Patches by Ralf Baechle : - * sysdeps/unix/sysv/linux/mips/sgidefs.h: Removed. - * sysdeps/unix/sysv/linux/mips/sys/asm.h: Removed. - * sysdeps/unix/sysv/linux/mips/sys/regdef.h: Removed. - * sysdeps/unix/sysv/linux/mips/sys/fpregdef.h: Removed. - * sysdeps/unix/sysv/linux/mips/regdef.h: Removed. - * sysdeps/unix/sysv/linux/mips/fpregdef.h: Removed. - - * sysdeps/unix/sysv/linux/mips/Makefile: Remove delete files. - * sysdeps/unix/sysv/linux/mips/Dist: Remove deleted files. - - * sysdeps/mips/sys/fpregdef.h: New files, enhanced versions of deleted - linux specific files. - * sysdeps/mips/sys/asm.h: Likewise. - * sysdeps/mips/sgidefs.h: Likewise. - * sysdeps/mips/fpregdef.h: Likewise. - * sysdeps/mips/regdef.h: Likewise. - - * sysdeps/mips/Makefile: Add new headers. - * sysdeps/mips/Dist: Add new files. - - * sysdeps/mips/fpu_control.h (_FPU_DEFAULT): Change value. - -1998-12-28 Andreas Schwab - - * iconvdata/Makefile: Remove variable assignments and rules that - are now auto-generated. Include $(objpfx)iconv-rules instead. - Btw, that removes a few typos. - (charmaps): New variable. - ($(objpfx)iconv-rules): New target. - (gen-8bit-modules): Renamed from sed-generated-headers, remove .h - suffixes. - (gen-8bit-gap-modules): Renamed from awk-generated-headers, remove - .h suffixes. - (gen-special-modules): New variable. - (generated-modules): New variable. - (headers): Use it. - (before-compile): Likewise. - (generated): Likewise, and add iconv-rules. - * iconvdata/euc-cn.c: Renamed from euccn.c. - * iconvdata/euc-jp.c: Renamed from eucjp.c. - * iconvdata/euc-kr.c: Renamed from euckr.c. - * iconvdata/euc-tw.c: Renamed from euctw.c. - * iconvdata/iso_6937.c: Renamed from iso6937.c. - * iconvdata/iso_6937-2.c: Renamed from iso6937-2.c. - * iconvdata/t.61.c: Renamed from t61.c. - * iconvdata/Makefile (distribute): Adjusted for those renames. - Remove $(objpfx) from names. - -1998-12-28 Andreas Schwab - - * sysdeps/generic/hp-timing.h: Fix comment. - * sysdeps/generic/dl-hash.h: Likewise. - * sysdeps/i386/i686/hp-timing.h: Likewise. - -1998-12-28 Andreas Schwab - - * posix/fnmatch.c (fnmatch): Always pass unsigned char values to - FOLD macro. - -1998-12-28 Andreas Schwab - - * nss/db-Makefile ($(VAR_DB)/shadow.db): Fix last change. - -1998-12-29 Andreas Jaeger - - * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Sync with - current Linux 2.1.132 kernel sources. - -1998-12-28 Andreas Jaeger - - Patches by Ralf Baechle for Linux/MIPS: - * sysdeps/unix/sysv/linux/mips/syscalls.list: Add ipc, change - pread/pwrite and llseek calls. - - * sysdeps/unix/sysv/linux/mips/sysdep.S: New file. - -1998-12-29 Wolfram Gloger - - * malloc/thread-m.h [_LIBC] : Fix for NO_THREADS case. - -1998-12-28 Ulrich Drepper - - * version.h (VERSION): Bump to 2.0.109. - - * Makefile (distribute): Add INTERFACE and CONFORMANCE. - * elf/Makefile (distribute): Add hp-timing.h. - * sysdeps/i386/i686/Dist: New file. - - * mach/Versions: Add mach_msg_send and mach_msg_receive. - Patch by UCHIYAMA Yasushi . - - * sysdeps/unix/sysv/linux/netipx/ipx.h (SIOCIPXNCPCONN): New macro - from latest kernel. - - * stdlib/fpioconst.c: If __NO_LONG_DOUBLE_MATH don't define constants - beyond range of double. - * stdlib/fpioconst.h (_fpioconst_pow10): Reduce size according to - fpioconst.c change. - * stdlib/strtold.c: Fall back on double functions if - __NO_LONG_DOUBLE_MATH. - * stdlib/strtold_l.c: Likewise. - * wcsmbs/wcstold.c: Likewise. - * wcsmbs/wcstold_l.c: Likewise. - * sysdeps/ieee754/ldbl2mpn.c: Don't generate code if - __NO_LONG_DOUBLE_MATH. - * sysdeps/ieee754/mpn2ldbl.c: Likewise. - -1998-12-28 Geoff Keating - - * sysdeps/powerpc/bits/endian.h: Use #warning, not #error, if - the endianness can't be determined, for makedepend. - -1998-12-27 Ulrich Drepper - - * elf/dl-lookup.c (_dl_num_relocations): New variable. - (do_lookup): Increment _dl_num_relocations for every call. - * elf/rtld.c (print_statistics): New function. - (_dl_debug_statistics): New variable. Set when statistics are asked - for. - (rtld_total_time, relocate_time, load_time): New variables. Used - in print_statistics. - (_dl_start): Record start and end time of startup. Call - print_statistics if needed. - (dk_main): Record times for relocations and loading. - (process_dl_debug): Recognize statistics. - - Low-level, low-overhead, high-precision timing functionality. - * sysdeps/generic/hp-timing.h: New file. - * sysdeps/i386/i686/Makefile: New file. - * sysdeps/i386/i686/hp-timing.h: New file. - * sysdeps/i386/i686/hp-timing.c: New file. - - * sysdeps/i386/dl-machine.h (elf_machine_rel): Reverse order of OR - clauses to avoid accessing global variables during rtld relocation. - - * sunrpc/rpc_main.c: Unify messages. - - * sysdeps/unix/sysv/linux/arm/Dist: Add ioperm.c and sys/io.h. - -1998-12-27 Roland McGrath - - * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64): - Remove __ from member names; rename __unused to f_spare. - -1998-12-21 Mark Kettenis - - Implement fstatvfs and statvfs on the Hurd. - * sysdeps/mach/hurd/bits/statfs.h: New file. - * sysdeps/mach/hurd/bits/statvfs.h: New file. - * sysdeps/mach/hurd/fstatvfs.c: New file. - * sysdeps/mach/hurd/statvfs.c: New file. - - * sysdeps/generic/fstatfs64.c: Changed into stub. - Moved previous contents to... - * sysdeps/unix/sysv/linux/fstatfs64.c: ...here. - * sysdeps/generic/fstatvfs64.c: Likewise. - * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise. - * sysdeps/generic/statfs64.c: Likewise. - * sysdeps/unix/sysv/linux/statfs64.c: Likewise. - * sysdeps/generic/statvfs64.c: Likewise. - * sysdeps/unix/sysv/linux/statvfs64.c: Likewise. - -1998-12-25 Geoff Keating - - * crypt/sysdeps/unix/ufc-crypt.h: Use . - - * crypt/configure: Delete the code dealing with building the add-on - outside glibc, as this doesn't work. - -1998-12-25 Ulrich Drepper - - * elf/dl-hash.h: Move to... - * sysdeps/generic/dl-hash.h: ...here. Correct parameter type (must - be unsigned char). Remove conditional from inner loop and rearrange - binary operations (12-22% performance increase). - * sysdeps/i386/i686/dl-hash.h: New file. Another 10% faster than - optimized generic version. - -1998-12-23 Ulrich Drepper - - * elf/dl-lookup.c (do_lookup): If looking up an unversioned symbol - but the object file only contains versioned definitions than - accept the definition if there is exactly one even if the version - number is not the default version. This helps dlsym() to find - newly introduced symbols. - - * locale/programs/ld-collate.c: Unify messages and correct typos. - * locale/programs/ld-monetary.c: Likewise. - * locale/programs/ld-numeric.c: Likewise. - * locale/programs/ld-time.c: Likewise. - * manual/errno.texi: Likewise. - * nis/nis_error.c: Likewise. - * nis/nis_print.c: Likewise. - * nis/nss_nisplus/nisplus-publickey.c: Likewise. - * sunrpc/rpc_main.c: Likewise. - -1998-12-20 Philip Blundell - - * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Add - implementation. - * sysdeps/unix/sysv/linux/arm/syscalls.list: Remove wrappers for - now-inlined calls. - -1998-12-22 Philip Blundell - - * sysdeps/unix/sysv/linux/arm/ioperm.c: New file. - Implementation of inb, outb etc for ARM systems. - * sysdeps/unix/sysv/linux/arm/sys/io.h: Likewise. - * sysdeps/unix/sysv/linux/arm/Versions: Add appropriate - entries for the above. - -1998-12-21 Ulrich Drepper - - * nss/db-Makefile (shadow.db): Create file with correct protections. - Based on a patch by Joel Klecker . - - * inet/gethstbynm_r.c: Remove NEED__RES definition since we do this - anyway for digits_dots.c. - * nss/getXXbyYY.c: Initialize _res before using digits_dots.c - functions. - * nss/getXXbyYY_r.c: Likewise. - -1998-12-19 Andreas Schwab - - * sunrpc/key_call.c (getkeyserv_handle): Use __fcntl instead of - fcntl. - -1998-12-20 Andreas Schwab - - * locale/weight.h (get_weight): Extract string elements as - unsigned values. - -1998-12-06 Mark Kettenis - - Reverse the change of 1998-04-22. Providing a struct dirent with - different members when __USE_FILE_OFFSET64 is defined is asking - for trouble. Instead add the necessary LFS magic to the 4.4BSD - header. - * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Add LFS definitions. - * sysdeps/mach/hurd/bits/dirent.h: Removed. - * sysdeps/mach/hurd/readdir64.c: Removed. - * sysdeps/mach/hurd/readdir64_r.c: Removed. - -1998-12-20 Roland McGrath - - * sysdeps/generic/bits/mman.h [__USE_MISC] (MAP_ANONYMOUS): Define as - alias for MAP_ANON. - - * stdio/stdio.h (sys_errlist, sys_nerr, _sys_errlist, _sys_nerr): - Remove decls. They don't exist at all on the Hurd. - - * sunrpc/svc_unix.c, sunrpc/clnt_unix.c: Avoid using `struct cmsghdr' - and `struct ucred' #ifndef SCM_CREDENTIALS. - - * sunrpc/publickey.c (getsecretkey): Use `&errno' instead of - `__errno_location ()'; means the same, works for Hurd. - - * sysdeps/mach/hurd/Makefile (subdirs): Don't elide sunrpc. - -1998-12-18 Ulrich Drepper - - * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Include - features.h and stddef.h. - * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h (struct - sigaltstack): Move ss_size field at the end. - Patches by Jeff Bailey . - - * time/getdate.c (check_mday): tm_mon contains values from 0 to 11, - not 1 to 12. - - * manual/texinfo.tex: Update to latest version. - - * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add ipc. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. - Patch by Cristian Gafton . - -1998-12-17 Ulrich Drepper - - * iconvdata/gconv-modules: Add remaining aliases from Internet - standards. - - * iconv/gconv_int.h (gconv_module): Add new element from_regex_mem. - * iconv/gconv_conf.c (module_compare): Make s1 and s2 const. - (detect_conflict): New function. - (add_alias): Call detect_conflict to see whether there is already - a module for the new name. - (add_module): Make sure there is no alias for the new name. - (read_conf_file): Call add_alias with new argument. - (__gconv_read_conf): Don't destroy module tree immediately after - walking it. We need it to test the internal conversions for - conflicts. - * iconv/gconv_db.c (find_derivation): Don't allocate memory for - regular expression. There is now room in the module descriptor. - (free_mem): Don't free memory for regular expression. - - * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_IRDA, PF_IRDA and - MSG_TRYHARD. - - * sunrpc/clnt_unix.c (clntunix_destroy): Use __close not close. - * libio/oldtmpfile.c: Likewise. - * libio/oldiofdopen.c: Use __fcntl instead fcntl. - * sysdeps/posix/profil.c: Use __sigaction instead of sigaction. - - * iconvdata/iso646.c (gconv_init): Return correct error value if we - run out of memory. - * iconvdata/iso-2022-jp.c: Likewise. - - * iconv/gconv_db.c (gen_steps): Respect error return value from - init functions and abort. - - * iconvdata/iso646.c: Recognize NF_Z_62-010_1973 as charset name. - -1998-12-17 H.J. Lu - - * sunrpc/rpc/xdr.h (XDR_DESTROY): Add ';'. - (xdr_destroy): Likewise. - -1998-12-17 Ulrich Drepper - - * login/login.c: Determine pts/3 as terminal name if path is - /dev/pts/3. This is consistent with getlogin. [PR libc/906] - -1998-12-16 Andreas Schwab - - * sysdeps/posix/tempname.c (__path_search): Add casts for format - string. - -1998-12-16 Andreas Schwab - - * sunrpc/rpc/xdr.h (XDR_DESTROY, xdr_destroy): Avoid dangling else - problem. - (IXDR_PUT_INT32): Fully parenthesize parameters. - (IXDR_GET_LONG, IXDR_PUT_LONG): Mark GCC extension. Fully - parenthesize parameter. - -1998-12-16 Ulrich Drepper - - * iconvdata/gconv-modules: Add some of the charset name aliases - used in Internet standards. - -1998-12-16 Ulrich Drepper - - * version.h (VERSION): Bump to 2.0.107. - - * sysdeps/i386/i486/bits/string.h: Pretty printing. - -1998-12-16 Thorsten Kukuk - - * sunrpc/rpc/xdr.h: Revert patch from 1998-12-14, partly revert - patch from 1998-12-01. - -1998-12-16 Roland McGrath - - * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Define this #ifdef - __USE_BSD as well as #ifdef __USE_GNU, so MAXSYMLINKS can use it. - Reported by UCHIYAMA Yasushi - -1998-12-16 Ulrich Drepper - - * iconvdata/ibm866.c: New file. - * iconvdata/cp1258.c: New file. - * iconvdata/cp1258.h: New file. - * iconvdata/mac-uk.c: New file. - * iconvdata/gconv-modules: Add rules for new modules. - * iconvdata/Makefile: Likewise. - - * sysdeps/gnu/bits/ipc.h: Move libc internal bits to... - * include/bits/ipc.h: ..here. New file. - -1998-12-16 Andreas Jaeger - - * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Don't change - read-only struct termios_p* but change k_termios member directly. - -1998-12-15 H.J. Lu - - * sysdeps/posix/tempname.c (__path_search): Fix the maximum - string length. - -1998-12-15 Ulrich Drepper - - * sysdeps/unix/sysv/linux/msgctl.c: Use INLINE_SYSCALL. - * sysdeps/unix/sysv/linux/msgget.c: Likewise. - * sysdeps/unix/sysv/linux/msgrcv.c: Likewise. - * sysdeps/unix/sysv/linux/msgsnd.c: Likewise. - * sysdeps/unix/sysv/linux/semctl.c: Likewise. - * sysdeps/unix/sysv/linux/semget.c: Likewise. - * sysdeps/unix/sysv/linux/semop.c: Likewise. - * sysdeps/unix/sysv/linux/shmat.c: Likewise. - * sysdeps/unix/sysv/linux/shmctl.c: Likewise. - * sysdeps/unix/sysv/linux/shmdt.c: Likewise. - * sysdeps/unix/sysv/linux/shmget.c: Likewise. - * sysdeps/unix/sysv/linux/syscalls.list: Remove ipc syscall here. - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add ipc syscall here. - - * time/strftime.c: Remove 'f' format. - - * time/strptime.c (get_number): Ignore trailing whitespace. - (strptime_internal): Handle 'F' and 'k' formats. - - * sysdeps/posix/tempname.c (__path_search): Add second part of the - patch by Andreas Jaeger. - -1998-12-15 Andreas Jaeger - - * stdio-common/tst-tmpnam.c (main): Use void as parameter to avoid - warnings about unused args. Fix comment. - -1998-12-15 Andreas Jaeger - - * sysdeps/posix/tempname.c (__path_search): Correct last patch. - -1998-12-14 Ulrich Drepper - - * sunrpc/rpc/xdr.h (IXDR_GET_INT32): Case pointer before reading from - it. - (IXDR_PUT_INT32): Likewise for writing. - Patch by Bruce Elliott . - -1998-12-08 H.J. Lu - - * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Don't clear - the IBAUD0 bit in c_iflag. - - * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Clear the - the IBAUD0 bit in c_iflag. - -1998-12-14 Ulrich Drepper - - * time/Makefile (tests): Add tst-strptime. - * time/tst-strptime.c: New file. - * time/strptime.c: Correct bugs in weekday and yearday computation. - -1998-12-14 Ulrich Drepper - - * time/strptime.c (strptime_internal): Set tm_wday and tm_yday in - any of tm_year, tm_mon, or tm_mday was changed and the value - itself wasn't specified. - - * include/stdio.h: Add new parameter to __path_search. - * libio/oldtmpfile.c: Add 0 as new parameter to __path_search. - * stdio-common/tmpfile.c: Likewise. - * stdio-common/tmpfile64.c: Likewise. - * stdio-common/tmpnam.c: Likewise. - * stdio-common/tmpnam_r.c: Likewise. - * stdio-common/tempnam.c: Add 1 as new parameter to __path_search. - * sysdeps/posix/tempname.c: Add new parameter. If value is nonzero - consider TMPDIR environment variable and dir parameter. Otherwise not. - * stdio-common/Makefile (tests): Add tst-tmpnam. - * stdio-common/tst-tmpnam.c: New file. - - * po/es.po: Update from translation team. - -1998-12-12 Andreas Schwab - - * timezone/Makefile: Protect inclusion of z.* by avoid-generated - and inhibit_timezone_rules instead of no_deps. - * Make-dist: Pass inhibit_timezone_rules=t when making - echo-distinfo. - -1998-12-12 Andreas Schwab - - * manual/Makefile (distribute): Remove dir-add.texinfo. - - * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/procfs.h and - sys/user.h. - -1998-12-11 Andreas Schwab - - * manual/Makefile (stamp-summary): Use ^L as separator for - sorting. - * manual/arith.texi: Add comments before all @deffoox lines to get - them added to the summary. - * manual/creature.texi: Likewise. - * manual/math.texi: Likewise. - -1998-12-13 Andreas Jaeger - - * math/libm-test.c: Remove macro ISINF. Change all usages of - ISINF to isinf. - -1998-12-13 Ulrich Drepper - - * sysdeps/posix/tempname.c: Use __xstat instead of __stat. - * sysdeps/unix/grantpt.c: Likewise. - * sysdeps/unix/sysv/linux/ptsname.c: Likewise. - * sysvipc/ftok.c: Likewise. - Patch by Franz Sirl . - - * stdlib/test-canon.c: Define PATH_MAX if the system does not. - * string/stratcliff.c: Use MAP_ANON instead of MAP_ANONYMOUS. - Patch by UCHIYAMA Yasushi . - -1998-12-13 Andreas Jaeger - - * sysdeps/alpha/fpu/fsetexcptflg.c: Avoid -Wparentheses warning. - - * sysdeps/libm-ieee754/s_expm1.c (__expm1): Avoid -Wparentheses - warning. - * sysdeps/libm-ieee754/s_log1p.c (__log1p): Likewise. - * sysdeps/libm-ieee754/e_logf.c (__ieee754_logf): Likewise. - * sysdeps/libm-ieee754/s_expm1f.c (__expm1f): Likewise. - * sysdeps/libm-ieee754/e_log.c (__ieee754_log): Likewise. - * sysdeps/libm-ieee754/s_log1pf.c (__log1pf): Likewise. - -1998-12-13 Andreas Jaeger - - * sunrpc/svc_udp.c (svcudp_bufcreate): Declare len as socklen_t. - (svcudp_recv): Likewise. - -1998-12-13 Thorsten Kukuk - - * nis/nss-nisplus.h: Change some mappings of NIS+ errors to - NSS error codes to avoid endless loops. - -1998-12-13 Ulrich Drepper - - * iconvdata/gconv-modules: Correct aliases for ISO-8859-13 and add - aliases for ISO-8859-14. - -1998-12-12 Geoff Keating - - * posix/fnmatch.c (fnmatch): Arguments to FOLD must not have - side-effects. - -1998-12-12 Ulrich Drepper - - * iconvdata/iso-8859-11.h: ISO 8859-11 conversion data. - * iconvdata/iso-8859-11.c: ISO 8859-11 conversion module. - * iconvdata/iso-8859-13.c: Likewise for 8859-13. - * iconvdata/iso-8859-14.c: Likewise for 8859-14. - * iconvdata/iso-8859-15.c: Likewise for 8859-15. - * iconvdata/gconv-modules: Add rules for new modules. - * iconvdata/Makefile: Likewise. - -1998-12-12 Ulrich Drepper - - * stdio-common/printf_fp.c: #ifdef out long double handling code if - __NO_LONG_DOUBLE_MATH is defined to avoid warnings. - * stdio-common/printf_fphex.c: Likewise. - * stdio-common/printf-size.c: Likewise. - -1998-12-12 Ulrich Drepper - - * login/Makefile: Install pt_chown using INSTALL_PROGRAM. - Patch by Maciej W. Rozycki . - -1998-12-11 Ulrich Drepper - - * sysdeps/powerpc/dl-machine.h (elf_machine_matches_host): Mark - static inline, not extern inline. - (elf_machine_dynamic): Likewise. - (elf_machine_lazy_rel): Likewise. - (elf_machine_plt_value): Likewise. - * sysdeps/powerpc/backtrace.c: Include stddef.h to get NULL - definition. - Patchess by Franz Sirl . - - * sysdeps/mips/dl-machine.h (elf_machine_rel): Fixl_addr parameter - type. Reported by job bogan . - - * sysdeps/unix/opendir.c (__opendir): Use __xstat instead of - __stat. - -1998-12-11 Kunihiro Ishiguro - - * inet/netinet/in.h: Change obsolete structure member - ipv6mr_ifindex to new ipv6mr_interface. - -1998-12-11 Ulrich Drepper - - * sysdeps/ieee754/dbl2mpn.c: Changed '#include "ieee754.h"' to - '#include '. ARM port has its own version of 'ieee754.h' - due to its big endian floating point format. - * sysdeps/ieee754/ldbl2mpn.c: Likewise. - * sysdeps/ieee754/mpn2dbl.c: Likewise. - * sysdeps/ieee754/mpn2ldbl.c: Likewise. - * sysdeps/ieee754/mpn2flt.c: Likewise. - Patch by Scott Bambrough . - -1998-12-10 Ulrich Drepper - - * sysdeps/unix/sysv/linux/adjtime.c: Undo last change. - - * posix/PTESTS: Fix typo. - - * po/es.po: Update from translation team. - * po/fr.po: Likewise. - -1998-12-10 Geoff Keating - - * crypt/sysdeps/unix/crypt-entry.c: Don't include "patchlevel.h". - - * crypt/sysdeps/unix/crypt.h: Move __crypt_r, __setkey_r, - __encrypt_r to... - * crypt/sysdeps/unix/crypt-private.h: ...here. - - * crypt/sysdeps/unix/crypt.h: Add __restrict to the structure - parameters. - * crypt/sysdeps/unix/crypt-private.h: Likewise. Also add const to - first parameter of _ufc_mk_keytab_r. - * crypt/sysdeps/unix/crypt.c: Update prototypes. - * crypt/sysdeps/unix/crypt-entry.c: Likewise. - * crypt/sysdeps/unix/crypt_util.c: Likewise. - - * crypt/sysdeps/unix/crypt-entry.c (crypt): Use __crypt_r not crypt_r. - -1998-12-10 Thorsten Kukuk - - * nis/nss_compat/compat-pwd.c: Fix handling of +/- entries. - -1998-12-10 Ulrich Drepper - - * sunrpc/Makefile: Call rpcgen program which -Y parameter so that - it can find the preprocessor. - -1998-12-09 Geoff Keating - - * sysdeps/unix/sysv/linux/sys/procfs.h: Use sys/user.h not - asm/user.h. - * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise. - - * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: New file, - like linux/sys/procfs.h but uses uid_t and gid_t. - * sysdeps/unix/sysv/linux/powerpc/sys/user.h: New file, - don't include . - -1998-12-08 Andreas Schwab - - * posix/runptests.c (main): Check that regcomp did not succeed - unexpectedly. - * posix/runtests.c (run_a_test): Likewise. Return appropriate - exit code. - * posix/TESTS: Regexp "a[b-a]" should not compile. - * posix/PTESTS: Comment out bogus tests GA113(2), GA145(2) and - GA147(2). - -1998-12-09 Andreas Schwab - - * locale/programs/ld-ctype.c (allocate_arrays): Don't crash if - there is no codeset name. - * locale/programs/ld-collate.c (collate_output): Don't crash if a - character has no weight. - -1998-12-10 Ulrich Drepper - - * inet/getnetgrent_r.c (innetgr): Check host and domain name with - strcasecmp, not strcmp. [PR libc/894]. - -1998-12-08 Andreas Jaeger - - * posix/regex.h: Declare re_comp, re_exec if compiling for libc to - get prototypes. - - * wctype/wctype.h: Add prototypes for __iswblank_l and iswblank. - -1998-12-08 Andreas Jaeger - - * sysdeps/unix/sysv/linux/gethostid.c: Include to get - prototype for __gethostbyname_r. - - * include/time.h: Add declarations of internal interfaces. - - * time/tzset.c: Remove declarations of internal interfaces. - * time/gmtime.c: Likewise. - * time/localtime.c: Likewise. - * time/offtime.c: Likewise. - * time/tzfile.c: Likewise. - -1998-12-01 09:47 -0500 Zack Weinberg - - * sysdeps/unix/sysv/linux/sys/timex.h: Copy out - user-space-relevant definitions from linux/timex.h of kernel - 2.1.130 and remove include of kernel header. - - * sysdeps/unix/sysv/linux/adjtime.c: Remove portability crud. - -1998-12-08 Andreas Jaeger - - * posix/regex.c: Get regex.h from system path, not from local - directory. - - * posix/regex.h: Move internal interfaces to ... - * include/regex.h: ...here. - - * posix/unistd.h: Move internal interfaces to ... - * include/unistd.h: ...here. - - * math/math.h: Move internal interfaces to ... - * include/math.h: ...here. - - * posix/glob.h: Move internal interfaces to ... - * include/glob.h: ...here. - - * string/string.h: Move internal interfaces to ... - * include/string.h: ...here. - - * time/sys/time.h: Move internal interfaces to ... - * include/sys/time.h: ...here. - - * resolv/netdb.h: Move internal interfaces to ... - * include/netdb.h: ...here. - -1998-12-08 Ulrich Drepper - - * iconvdata/eucjp.c: Handle Yen in overscore conversion from ISO 10646 - correctly. - * iconvdata/iso-2022-jp.c: Handle Kana in 2022-JP2 correctly - Fix various bugs in conversion routine. - * iconvdata/jis0201.h: Correct variable name. - * iconvdata/jis0208.c: Correct script to generate tables and regenerate - them. - * iconvdata/jis0208.h: Likewise. - * iconvdata/jis0212.c: Likewise. - * iconvdata/sjis.c: Likewise. - Patch by HANATAKA Shinya . - -1998-12-07 Ulrich Drepper - - * sysdeps/unix/sysv/linux/speed.c (IBAUD0): New definition. Bit - set in c_iflag if cfsetispeed is call with SPEED set to zero. - (cfgetispeed): Return zero if prior if IBAUD0 is set. - (cfsetospeed): Clear IBAUD0 bit. - (cfgetispeed): Set IBAUD0 bit if necessary. - * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Clear - the IBAUD0 bit in c_iflag when making the system call. - Work around a Linux kernel bug which silently changes the - PARENB/CREAD/CSIZE bits in c_cflag on pty. - * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Make a real - function. Don't set speed is SPEED parameter is zero since this - means set it to the output speed. - Based on a patch by H.J. Lu . - - * version.h (VERSION): Bump to 2.0.106. - - * Makeconfig (link-libc-static): Don't use link-libc since this - includes the shared object. Use gnulib only. - - * configure.in: Disable --disable-static. - -1998-12-07 12:06 Ulrich Drepper - - * po/de.po: Update from translation team. - * po/ko.po: Likewise. - -1998-12-07 Richard Henderson - - * sysdeps/unix/sysv/linux/alpha/select.S: Save a4 through - both paths. - -1998-12-05 Roland McGrath - - * sysdeps/mach/hurd/pselect.c: New file. - - * sysdeps/mach/hurd/poll.c: New file. - - * hurd/Makefile (routines): Add hurdselect. - * hurd/hurdselect.c: New file. - (_hurd_select): New function, guts taken from ... - * sysdeps/mach/hurd/select.c (__select): ... here. - Now work by just calling _hurd_select. - * hurd/hurd/fd.h: Declare _hurd_select. - -1998-12-05 Roland McGrath - - * time/strptime.c: Fix unterminated comment in last change. - -1998-12-05 Ulrich Drepper - - * ctype/ctype.h (_ISbit): Protect use of parameter with - parentheses. - * wctype/wctype.h (_ISwbit): Likewise. - - * locale/Versions: Make experimental locale interface available in - GLIBC_2.1. - - * sysdeps/gnu/bits/utmp.h (struct exit_status): Define members - without leading __ only for __USE_GNU. - * sysdeps/gnu/bits/utmpx.h (struct __exit_status): Likewise. - -1998-12-04 Ulrich Drepper - - * argp/argp.h: Add __restrict. + * db2/db_185.h: Move __ prototypes into include/* header. * dirent/dirent.h: Likewise. * elf/dlfcn.h: Likewise. + * gmon/sys/gmon.h: Likewise. * grp/grp.h: Likewise. - * iconv/iconv.h: Likewise. - * inet/aliases.h: Likewise. - * libio/libio.h: Likewise. - * libio/stdio.h: Likewise. - * locale/locale.h: Likewise. - * misc/mntent.h: Likewise. - * posix/wordexp.h: Likewise. - * pwd/pwd.h: Likewise. - * resolv/netdb.h: Likewise. - * rt/aio.h: Likewise. - * stdio-common/printf.h: Likewise. - * stdlib/monetary.h: Likewise. - * stdlib/stdlib.h: Likewise. - * string/argz.h: Likewise. - * string/envz.h: Likewise. - * string/string.h: Likewise. - * time/time.h: Likewise. - -1998-12-04 Zack Weinberg - - * misc/sys/cdefs.h: Only include features.h if _FEATURES_H isn't - defined. gcc's redundant include optimizer isn't clever enough to - prevent a reinclusion here. - Define __restrict to the empty string only if not GCC or - GCC version less than 2.92. - -1998-12-03 Andreas Schwab - - * sysdeps/unix/sysv/linux/configure.in: Fix last change. - -1998-12-03 Mark Kettenis - - * time/strptime.c (strptime_internal): Make use of `%C' format - specifier if it is seen together with the `%y' specifier. - -1998-12-04 Ulrich Drepper - - * po/sk.po: New file. - -1998-12-03 Scott Bambrough - - * sysdeps/arm/dl-machine.h (dl_start_user): Incorrect address - for _dl_main_searchlist passed to _dl_init_next. - -1998-12-02 Andreas Schwab - - * math/libm-test.c: Expand literal tabs in strings. Normalize - whitespace. - -1998-12-02 Andreas Schwab - - * sysdeps/unix/sysv/linux/sys/fsuid.h: Fix spelling. - -1998-12-04 Mark Kettenis - - Provide backwards binary compatibility for the Hurd. - * hurd/geteuids.c [PIC && DO_VERSIONING]: Make __getuids a weak - alias for geteuids. - * hurd/Versions [GLIBC_2.0]: Add __getuids, - __hurd_file_name_lookup and _hurd_umask. - [GLIBC_2.1]: Add _hurd_proc_init. - * hurd/Makefile [versioning] (routines): Add compat-20. - (shared-only-routines): Likewise. - * hurd/hurdinit.c (_hurd_new_proc_init): Renamed from - _hurd_proc_init. Use it as the default _hurd_proc_init version - for GLIBC_2.1. - * hurd/compat-20.c: New file. - * mach/Versions [GLIBC_2.0]: Add __vm_allocate. - -1998-12-02 Ulrich Drepper - - * elf/elf.h: Add R_MIPS_JALR and adjust R_MIPS_NUM appropriately. - -1998-12-02 Andreas Jaeger - - * inet/Versions: Remove inet6_isipv4mapped. - -1998-12-02 Philip Blundell - - * inet/in6_addr.c (inet6_isipv4mapped): Obsolete, deleted. - -1998-11-30 Andreas Schwab - - * manual/time.texi (Formatting Date and Time): Fix typo. - -1998-11-30 Andreas Schwab - - * sysdeps/unix/sysv/linux/configure.in: Only check for symlinks - when configuring natively. Use autoconf macros instead of rolling - our own. Handle defaulted prefix. - -1998-12-01 Ulrich Drepper - - * version.h (VERSION): Bump to 2.0.105. - - * sysdeps/generic/Dist: Add bits/libc-tsd.h. - - * sysdeps/mach/hurd/Dist: Add bits/libc-tsd.h. - - * sysdeps/unix/sysv/linux/mips/Dist: Add xstatconv.c. - -1998-11-29 1998 H.J. Lu - - * libio/genops.c (_IO_unbuffer_write): Renamed from - _IO_unbuffer_all. - (_IO_cleanup): Call _IO_unbuffer_write instead of - _IO_unbuffer_all. - -1998-12-01 Ulrich Drepper - - * intl/localealias.c: Use *_unlocked version of stdio function if - _LIBC_REENTRANT is defined, not _LIBC. - -1998-12-01 Andreas Jaeger - - * include/grp.h: Add prototypes for internal functions - __getgrgid_r and __getgrnam_r. - - * inet/herrno.c: Include for prototype, undef h_errno. - - * resolv/nsap_addr.c: Include for inet_nsap_addr and - inet_nsap_ntoa prototypes. - -1998-12-01 Ulrich Drepper - - * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Pass -I option - to gcc to have it find the correct system header. - Patch by Maciej W. Rozycki . - - * Makefile (postclean): Add sysd-sorted. - Reported by Maciej W. Rozycki . - -1998-12-01 Thorsten Kukuk - - * sunrpc/auth_des.c: Use new XDR int32 functions for integers. - * sunrpc/rpc/xdr.h: Add IXDR INT32 functions. - * sunrpc/rpc_hout.c: Remove (u_long) casts in defines to avoid - conflicts with new solaris version. - * sunrpc/rpc_main.c: Fix bug in generating Makefile name (malloc - doesn't zero allocated memory). - * sunrpc/rpc_svcout.c: Local variables now starts with a _ to avoid - conflicts with xdr functions. Solves PR libc/877. - * nis/rpcsvc/nis.x: Use always uint32_t. - * nis/rpcsvc/nis.h: Likewise. - * nis/rpcsvc/nis_object.x: Likewise. - -1998-12-01 Ulrich Drepper - - * math/libm-test.c: Various cleanups. Patch by Zack Weinberg. - - * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Use correct type for - parameter. Patch by Christian Gafton. - - * string/envz.h: Add prototype for envz_remove. - Reported by Andreas Jaeger. - -1998-11-30 Mark Kettenis - - * mach/Versions [libc, GLIBC_2.0]: Add __spin_lock, - __spin_lock_init, __mutex_lock, __mutex_trylock, - __mutex_unlock. - Remove get_priviliged_ports. Moved to hurd/Versions. - - * hurd/Versions [libc, GLIBC_2.0]: Add _end. This makes the Hurd - brk implementation see the end of the data segment of the program - instead of the shared library. - Add __hurd_errno_location. This inline function is used in user - programs. - Add _hurd_critical_section_lock, _hurd_critical_section_unlock, - _hurd_fd_get, _hurd_port_free, _hurd_port_get, - _hurd_port_locked_get. These inline functions are used by macros - used in mail.local in the Hurd distribution. - Add get_privileged_ports. Moved here from mach/Versions. - Remove __hurd_file_name_lookup, __hurd_file_name_lookup_retry, - __hurd_file_name_split, __hurd_file_name_path_lookup. These are - not used outside libc. - -1998-11-30 Mark Kettenis - - * hurd/hurdstartup.c: Really include set-hooks.h with <> instead - of "". - -1998-11-29 Thorsten Kukuk - - * sunrpc/Makefile: Add xdr_intXX_t to routines. - * sunrpc/Versions: Add xdr_int8_t, xdr_uint8_t, xdr_in16_t and - xdr_uint16_t. - * sunrpc/rpc/xdr.h: Add prototypes for new xdr_intXX_t functions. - * sunrpc/xdr.c: Remove xdr_int32_t and xdr_uint32_t. - * sunrpc/xdr_intXX_t.c: New, contains all xdr_intXX_t functions. - - * nis/Depend: New. - * nis/nss_nis/nis-service.c: Include generated prototype for parser. - -1998-11-30 Andreas Jaeger - - * nscd/nscd_getpw_r.c: Include nscd_proto.h for prototypes. - - * sysdeps/generic/errno-loc.c: Include for prototype, - undefine errno to get variable. - - * sysdeps/unix/sysv/linux/i386/setfsuid.c: Include - instead of for prototype. - * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise. - -1998-11-30 Ulrich Drepper - - * misc/err.h: Correct comments and use protected attribute keywords. - Reported by Joseph Myers . - -1998-11-29 Roland McGrath - - * malloc/thread-m.h [_LIBC]: Include , and - remove tsd stuff from pthreads/cthreads libc sections. - Use __libc_tsd_define for MALLOC key. - [_LIBC] (tsd_key_t, tsd_key_create): Define to a zero-size type and a - no-op, respectively. - [_LIBC] (tsd_setspecific, tsd_getspecific): Use __libc_tsd_get/set. - - * elf/dl-error.c: Include . - Use __libc_tsd_define for DL_ERROR key. - (tsd_setspecific, tsd_getspecific): Rewritten using __libc_tsd_get/set. - - * sysdeps/mach/hurd/bits/libc-tsd.h: New file. - * sysdeps/generic/bits/libc-tsd.h: New file. - * Makefile (distribute): Add bits/libc-tsd.h. - -1998-10-12 Roland McGrath - - * elf/dl-error.c: Remove kludge to check for ld.so load address. - There is no need if weak undefined symbols are not used in ld.so; - see linuxthreads/ChangeLog for changes to files - linuxthreads/sysdeps/pthread/bits/libc-lock.h and - linuxthreads/sysdeps/pthread/bits/libc-tsd.h. - -1998-11-30 Andreas Jaeger - - * sysdeps/i386/bits/string.h (__memset_cc): Fix typo (s->__s). - - * sysdeps/i386/i486/bits/string.h: Add prototypes for all new - inline functions. - * sysdeps/i386/bits/string.h: Likewise. - -1998-11-30 Andreas Jaeger - - * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Remove ipc_kludge. - -1998-11-30 Andreas Schwab - - * db2/progs/db_load/db_load.c (main): Avoid -Wparentheses warning. - -1998-09-12 Mark Kettenis - - * sysdeps/mach/hurd/dl-sysdep.c: Do not define - __hurd_threadvar_max. Add comment explaining why we define - __hurd_threadvar_stack_offset and __hurd_threadvar_stack_mask here. - -1998-07-29 Mark Kettenis - - * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base, - __hurd_sigthread_stack_end, __hurd_sigthread_variables): Define to - prevent inclusion of Hurd signal handling code. - (__libc_write): New function. - (_dl_sysdep_output): Removed. The implementation in - `elf/dl-misc.c' now also works for the Hurd. - -1998-09-12 Mark Kettenis - - * hurd/hurdstartup.c: Do not include hurdmalloc.h; _hurd_startup - does not use any of malloc/realloc/free anymore. Include - set-hooks.h with <> instead of "". - -1998-11-29 Roland McGrath - - * sunrpc/svc_unix.c (__msgread): Move ON local var inside block - within #ifdef SO_PASSCRED. Avoids unused var when no SO_PASSCRED. - * sunrpc/clnt_unix.c (__msgread): Likewise. - -1998-11-28 Roland McGrath - - * hurd/setuids.c: Renamed to ... - * hurd/seteuids.c: this. - (setuids): Renamed to seteuids. - * hurd/getuids.c: Renamed to ... - * hurd/geteuids.c: this. - (__getuids): Renamed to geteuids, no aliases. - * hurd/hurd.h (geteuids, seteuids): Declare them. - * hurd/Versions: Replace getuids; __getuids with geteuids; seteuids. - * hurd/Makefile (routines): Updated. - -1998-11-29 Ulrich Drepper - - * sysdeps/generic/segfault.c (install_handler): Correct test for - SEGFAULT_HANDLER=all. - Patch by Zack Weinberg. - -1998-11-28 23:23 -0500 Zack Weinberg - - * sysdeps/unix/sysv/linux/configure.in: Test for symlinks in - $prefix/include that may be clobbered on installation. - -1998-11-27 Philip Blundell - - Fixes to allow compilation with static NSS: - * nss/Makefile: Make explicit the dependency of getent on - libnss_files.a. - [build_static_nss]: Define $(otherlibs) appropriately. - * nss/Depend: Add a dependency on `resolv'. - -1998-11-27 Andreas Jaeger - - Partial support for MIPS ISO C 9x exception handling: - * sysdeps/mips/fclrexcpt.c: New file. - * sysdeps/mips/ftestexcept.c: New file. - * sysdeps/mips/fgetexcptflg.c: New file. - * sysdeps/mips/fesetround.c: New file. - * sysdeps/mips/fegetround.c: New file. - * sysdeps/mips/fegetenv.c: New file. - * sysdeps/mips/fesetenv.c: New file. - * sysdeps/mips/feupdateenv.c: Likewise. - * sysdeps/mips/bits/fenv.h: New file. - -1998-11-28 Andreas Jaeger - - * sysdeps/unix/sysv/linux/mips/bits/signum.h: Remove inclusion of - and add needed symbols from ; bring - in sync with linux specific version. - - Patches by Ralf Baechle for mips-linux: - - * sysdeps/unix/mips/sysdep.S: Define _errno as weak_alias, rewrite - errno declaration. - - * sysdeps/unix/sysv/linux/mips/ustat.c: Use INLINE_SYSCALL instead - of calling __syscall_*. - * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise. - - * sysdeps/unix/sysv/linux/mips/syscalls.list: Update entries. - - * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Add missing SYS_* - constants, correct values according to Linux 2.1.130. - - * sysdeps/unix/sysv/linux/mips/pwrite.c: New file. - * sysdeps/unix/sysv/linux/mips/pwrite64.c: New file. - * sysdeps/unix/sysv/linux/mips/pread.c: New file. - * sysdeps/unix/sysv/linux/mips/pread64.c: New file. - - * sysdeps/mips/Makefile (sysdep_routines): Use += instead of a - :=. - - * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Remove ipc_kludge. - - * sysdeps/unix/sysv/linux/mips/xstatconv.c: New file. - - * sysdeps/unix/sysv/linux/mips/xstat.c: Removed. - - * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: New file. - - * sysdeps/unix/sysv/linux/mips/kernel_termios.h: Add copyright - message, change name of include protection, remove inclusion of - . - - * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h - (old_kernel_sigaction): Define. - (struct kernel_sigaction): Rename sa_handler to k_sa_handler. - - * sysdeps/unix/sysv/linux/mips/bits/time.h: Removed, we can use - the general linux version. - * sysdeps/unix/sysv/linux/mips/bits/stat.h (_STAT_VER_KERNEL): Added. - - * sysdeps/unix/sysv/linux/mips/bits/socket.h: Update file. - -1998-09-03 Philip Blundell - - * sysdeps/arm/bits/endian.h (__FLOAT_WORD_ORDER): Define to big - endian. - * math/math_private.h: Use __FLOAT_WORD_ORDER rather than - BYTE_ORDER. - * string/endian.h: If __FLOAT_WORD_ORDER wasn't defined by - , make it the same as __BYTE_ORDER. - -1998-11-27 Ulrich Drepper - - * math/math.h: Avoid using long double functions in generic macros - if __NO_LONG_DOUBLE_MATH. - - * sysdeps/arm/dl-machine.h: Fix handling of weak undefined symbols - during bootstrapping. - * scripts/config.sub: Add Netwinder specific matches. - Patch by Scott Bambrough . - -1998-11-26 Andreas Schwab - - * Makeconfig ($(common-objpfx)sysd-dirs): Use automatic variables - if possible. - ($(common-objpfx)sysd-sorted): Likewise. - -1998-11-27 Andreas Jaeger - - * sysdeps/libm-ieee754/e_log.c (__ieee754_log): Add declaration of - local variables t1,t2 only if needed. - - * sysdeps/libm-ieee754/e_atan2.c: Added braces to avoid compiler - warnings. - * sysdeps/libm-ieee754/s_truncf.c (__truncf): Likewise. - * sysdeps/libm-ieee754/s_trunc.c (__trunc): Likewise. - - * sysdeps/mips/mul_1.S (Loop): Add closing comment to avoid - warning. - -1998-11-27 Andreas Jaeger - - * math/math.h: Add brace to correct #if expression. - -1998-11-26 Philip Blundell - - Undo change of 1998-11-12: - * sysdeps/unix/sysv/linux/netlink/netlink.h: Deleted. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove - netlink/netlink.h. - * sysdeps/unix/sysv/linux/Dist: Likewise. - -1998-11-22 Thorsten Kukuk - - * nis/nis_print.c (nis_print_entry): Changes to match Solaris output. - -1998-11-26 Ulrich Drepper - - * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): New defined macro. - (elf_machine_got_rel): Remove scope variable. Use scope from the map. - Don't modify _dl_global_scope_end in the end. - (__dl_runtime_resolv): Also use scope from the map. - * sysdeps/mips/mips64/dl-machine.h: Likewise. - * elf/dl-runtime.c: Don't define fixup and profile_fixup if - ELF_MACHINE_NO_PLT is defined. - * sysdeps/mips/sys/ucontext.h: New file. - Patches by kaz Kojima . - -1998-11-26 Andreas Jaeger - - * sysdeps/generic/pselect.c (__pselect): Change interface, - set/restore sigmask. - - * misc/sys/select.h: Change declaration according to Stevens' Unix - Network Programming. - * include/sys/select.h (__pselect): Likewise. - Reported by [PR libc/872]. - - * include/fpu_control.h: New file, contains __setfpucw - declaration. - - * sysdeps/generic/fpu_control.h: Remove __setfpucw declaration, - it's an internal symbol. - * sysdeps/alpha/fpu/fpu_control.h: Likewise. - * sysdeps/arm/fpu/fpu_control.h: Likewise. - * sysdeps/i386/fpu_control.h: Likewise. - * sysdeps/m68k/fpu_control.h: Likewise. - * sysdeps/powerpc/fpu_control.h: Likewise. - * sysdeps/sparc/sparc32/fpu/fpu_control.h: Likewise. - * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise. - -1998-11-25 Ulrich Drepper - - * version.h (VERSION): Bump to 2.0.104. - -1998-11-25 Mark Kettenis - - * libio/bits/stdio.h (fread_unlocked): Add missing parentheses - around parameter n. - -1998-11-24 Andreas Schwab - - * time/tzfile.c (__tzfile_read): Fix comment. - -1998-11-24 Andreas Schwab - - * Makerules (build-shlib): Pass -O1 down to linker to get - optimized shared libraries. - -1998-11-24 Andreas Schwab - - * Makeconfig ($(common-objpfx)sysd-dirs): Cope with no Subdirs - file. Strip "-" from inhibited subdir name. Combine into a - single awk program. - ($(common-objpfx)sysd-sorted): Fix sed command. - -1998-11-25 Roland McGrath - - * sysdeps/mach/hurd/i386/init-first.c (init): Restored as inline fn. - Use constant _HURD_THREADVARS_MAX for temporary array size. - - * Makeconfig ($(common-objpfx)sysd-sorted): Use @ instead of / as sed - s separator, since $(..) might contain a /. - -1998-11-23 Andreas Jaeger - - * configure.in (mips): Fix typo (Replace ,, by ;;). - - * libio/Versions: Clean up entries. - -1998-11-23 Ulrich Drepper - - * sysdeps/i386/fpu/bits/mathinline.h: Add optimizations for lrint - and llrint. - -1998-11-21 Andreas Jaeger - - * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Removed. There are too - many differences between the Linux 2.0 and 2.1 versions of this - file and it's too difficult to convert all calls. The file should - only be needed by the ipfw program which has to take care of the - correct kernel version and include files. - - * sysdeps/unix/sysv/linux/Dist: Remove netinet/ip_fw.h. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise. - -1998-11-23 Ulrich Drepper - - * Makeconfig: Don't read sysd-sorted unless sysd-dirs is read. - Patch by Zack Weinberg. - - * math/bits/mathcalls.h: Adjust comments. Remove gamma_r prototype. - - * sysdeps/i386/fpu/bits/mathinline.h: Make log2 only available if - __USE_ISOC9X is defined. Provide rint optimization. - -1998-11-21 H.J. Lu - - * libio/Versions (_IO_popen, _IO_proc_open, _IO_proc_close, - popen, pclose): Add to GLIBC_2.1. - - * libio/Makefile (routines): Add oldiopopen and oldpclose. - (shared-only-routines): Likewise. - - * libio/pclose.c (pclose): Make it default for GLIBC_2.1. - * libio/iopopen.c (_IO_proc_open, _IO_popen, popen, - _IO_proc_close): Likewise. - - * libio/iolibio.h (_IO_new_popen, _IO_old_popen, __new_pclose, - __old_pclose): New prototypes. - - * libio/libioP.h (_IO_new_file_jumps): Removed. - (_IO_old_proc_jumps): Added. - (_IO_new_proc_open, _IO_old_proc_open): New prototypes. - - * libio/oldiopopen.c: New file. - - * libio/oldpclose.c: New file. - -1998-11-22 Thorsten Kukuk - - * nss/Makefile: Build and install getent. - * nss/getent.c: New, get entries from administrative database. - -1998-11-22 Roland McGrath - - * sysdeps/mach/hurd/i386/init-first.c (init): Provide temporary storage - for the per-thread variables of the main user thread to make it - possible to use malloc as soon as _hurd_preinit_hook has been run. - For cthreads, copy values to new stack from there. - For non-cthreads, malloc threadvar array here and copy from temp space. - (init1): No longer initialize threadvars here. - (doinit1): Made static void at top level. - (init): Folded into [PIC] _init or [!PIC] doinit1, since GCC cannot - inline a function that uses dynamic auto arrays. - -1998-11-20 Ulrich Drepper - - * version.h (VERSION): Bump to 2.0.103. - - * aclocal.m4 (LIBC_PROG_BINUTILS): Also add AR and RANLIB using the - same method. - * configure.in: Don't define AR and RANLIB here. - - * inet/gethstbyad_r.c: Define NEED__RES_HCONV and POSTPROCESS for - host name res_hconf code. - * inet/gethstbynm_r.c: Likewise. - * nss/getXXbyYY_r.c: Include resolv/res_hconf.h if NEED__RES_HCONF - is defined. Call res_hconf_init if necessary. If POSTPROCESS is - defined execute the code. - * resolv/Makefile (routines): Add res_hconf. - (headers): Add res_hconf.h. - * resolv/res_hconf.c: Pretty print. - * resolv/res_hconf.h: Likewise. - -1998-11-20 Ulrich Drepper - - * sysdeps/generic/bits/byteswap.h: Fix typos in non-GCC - definitions. Reported by Scott Bambrough . - -1998-11-20 1998 Andreas Schwab - - * math/libm-test.c: Raise some epsilons a bit. - -1998-11-20 Andreas Schwab - - * Makeconfig ($(common-objpfx)sysd-sorted): Fix portability problems. - -1998-11-20 Ulrich Drepper - - * Makefile (distribute): Add scripts/gen-sorted.awk. - -1998-11-19 Ulrich Drepper - - * posix/regex.c (regex_compile): Handle extra long class names - correctly. - -1998-11-19 Geoff Keating - - * elf/rtld.c (_dl_start): Handle weak undefined symbols in ld.so - correctly. - -1998-11-19 Ulrich Drepper - - * misc/error.c: Undo last change. - - * ctype/Versions: Add _tolower and _toupper. - -1998-11-19 Thorsten Kukuk - - * sunrpc/svc_unix.c (readunix): Check for POLLERR, POLLHUP and - POLLNVAL. - -1998-11-19 Ulrich Drepper - - * Makeconfig: Add comment to all-subdirs definition. - Add rule to generate sysd-sorted. Include this file and and set - subdirs value to $(sorted-subdirs). - * scripts/gen-sorted.awk: New file. - * Make-dist (+tsrcs): Add Depend. - * nscd/Depend: New file. - * nss/Depend: New file. - * rt/Depend: New file. - -1998-11-18 Ulrich Drepper - - * sysdeps/unix/bsd/poll.c (__poll): Add code to extend sets if any - passed file descriptor exceeds the size determined by - getdtablesize. - - * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Update - from inline version in bits/socket.h. - - * sysdeps/unix/sysv/linux/bits/socket.h: Define __cmsg_nxthdr as - inline function only is __USE_EXTERN_INLINES is defined. - - * time/strftime.c (my_strftime): Make code a bit clearer. - Patch by Paul Eggert . - - * io/Makefile (CFLAGS-ftw.c): Removed. - - * manual/errno.texi: Change the short text for ENODEV to - "No such device". - -1998-11-18 Andreas Schwab - - * io/Makefile (tests): Make sure that the test program has an - explicit directory part. - -1998-11-18 Andreas Schwab - - * configure.in: Fix last change. - -1998-11-18 Thorsten Kukuk - - * sunrpc/Makefile (routines): Add create_xid. - - * sunrpc/clnt_tcp.c: Use non-guessable xid. - * sunrpc/clnt_udp.c: Likewise. - * sunrpc/clnt_unix.c: Likewise. - * sunrpc/pmap_rmt.c: Likewise. - * sunrpc/create_xid.c: New, create non-guessable xid. - - * sunrpc/svc_tcp.c: Remove patch from 1998-06-15, use poll instead - of select. - * sunrpc/svc_unix.c: Use poll instead of select. - -1998-11-17 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sleep.c (__sleep): Make Unix98 compliant - by removing SIG_IGN handler for SIGCHLD if necessary. - Patch by H.J. Lu . - - * stdio-common/printf_fphex.c (__printf_fphex): Correct printing - of denormalized numbers. - -1998-10-06 Geoff Keating - - * sysdeps/powerpc/dl-machine.h (elf_machine_load_address): Suppress - another parentheses warning, make nano-optimisation. - - * sysdeps/powerpc/dl-machine.h (_dl_runtime_resolve): Preserve - saved LR on stack so _mcount works. - (_dl_prof_resolve): Likewise. - * sysdeps/powerpc/register-dump.h: Print FPRs. Adjust for correct - signal handler calling convention. - * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Adjust for - correct signal handler calling convention---more like x86 linux and - mklinux, less like linux-ppc versions between 2.1 and 2.1.126. - -1998-11-17 Ulrich Drepper - - * configure.in: Correct allowed makeinfo version. - -1998-11-17 Philip Blundell - - * sysdeps/generic/bits/mathdef.h: Fix typo. - -1998-11-17 Geoff Keating - - * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Prototype the syscall - under the right name (squish warning). - * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise. - -1998-11-17 Geoff Keating - - * stdio-common/_itoa.c (_itoa): Add redundant parentheses to - prevent warnings. - -1998-11-16 Ulrich Drepper - - * intl/locale.alias: Change `japanese' alias to match X11R6's. - Add `japanese.euc' alias. - - * manual/Makefile (%.info): Set LANGUAGE and LC_ALL explicitly to C - before running makeinfo. - - * math/Makefile (libm-routines): $(strip) entire value. - - * nss/nss_db/db-XXX.c (internal_setent): Rewrite to avoid warning. - -1998-10-24 H.J. Lu - - * libio/libio.h (_IO_cookie_io_functions_t): Protect with __USE_GNU. - (_IO_cookie_file): Likewise. - -1998-11-16 Philip Blundell - - * inet/netinet/icmp6.h: Correct naming of constants. - -1998-11-16 Ulrich Drepper - - * sysdeps/unix/opendir.c: Use o_directory_works differently. Treat - zero value as uninitialized so that variable can go into .bss. - - * dirent/opendir-tst1.c: Print error strings to stdout. - - * sysdeps/unix/sysv/linux/mmap64.c: New file. Empty. - * sysdeps/unix/sysv/linux/syscalls.list: Add mmap with mmap64 alias. - * sysdeps/unix/sysv/linux/arm/mmap.S: Add mmap64 alias. - * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. - * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise. - -1998-11-16 Andreas Schwab - - * time/tzfile.c (__tzfile_read): Check that types[i].isdst is in - range. - -1998-11-16 Ulrich Drepper - - * libio/bits/stdio.h (fread_unlocked): Do handle zero size and number. - (fwrite_unlocked): Likewise. - -1998-11-16 Andreas Schwab - - * libio/bits/stdio.h (fread_unlocked): Don't evaluate non-constant - twice. Don't bother handling zero size. - (fwrite_unlocked): Likewise. - -1998-11-15 Andreas Schwab - - * configure.in: Fix regex for makeinfo version string. - -1998-11-15 Andreas Schwab - - * sunrpc/rpc_sample.c (write_sample_server): Avoid -Wparentheses - warning. - * sunrpc/rpc_svcout.c (write_program): Likewise. - -1998-11-15 Andreas Schwab - - * time/Makefile (CFLAGS-test_time.c): Add -Wno-format. - -1998-11-16 Ulrich Drepper . - -1998-11-16 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Undo - last change. - -1998-11-13 Ulrich Drepper - - * stdio-common/vfscanf.c: Don't return -1 in case of an invalid - format, just stop. - - * version.h (VERSION): Bump to 2.0.102. - - * stdio-common/tstdiomisc.c (t2): Update test case for last scanf - change. - * stdio-common/scanf7.c (main): Likewise. - -1998-11-13 Ulrich Drepper - - * stdio-common/vfscanf.c: Return EOF for invalid format - characters. - - * version.h (VERSION): Bump to 2.0.101. - - * Makerules (Versions.all): Generate this file from all Versions.def - files. - (sysd-versions): Use Versions.all instead of Versions.def. - -1998-11-13 Philip Blundell - - * sysdeps/arm/fpu/bits/setjmp.h (__JMP_BUF_SP): Correct value. - Reported by Scott Bambrough. - -1998-11-11 Andreas Schwab - - * locale/programs/config.h: Define HAVE_STRING_H for xstrdup.c. - -1998-11-13 Ulrich Drepper - - * libio/bits/stdio.h: Correct and improve fread_unlocked and - fwrite_unlocked optimizations. - - * time/tzfile.c (__tzfile_read): Set __tzname based on last names - in time not to last entries in the file. - (__tzfile_compute): Likewise. Fix for PR libc/863. - - * timezone/Makefile: Generate GB timezone data for test. - * timezone/tst-timezone.c: More tests for DST switching time (disabled - for now). - -1998-11-13 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Remove - d0 from clobber list. - -1998-11-12 Ulrich Drepper - - * inet/netinet/in.h: Add a few more IPPROTO_* macros. - - * libio/Makefile (headers): Add bits/stdio.h. - * libio/iofread_u.c: Undefine fread_unlocked before definition. - * libio/iofwrite_u.c: Undefine fwrite_unlocked before definition. - * libio/stdio.h: Move optimizations into ... - * libio/bits/stdio.h: ...here. New file. - - * libio/iofread.c: Pretty print. - -1998-11-12 Mark Kettenis - - * sysdeps/gnu/bits/utmpx.h: Protect members of struct - __exit_status with `__'. Rename pad member of struct utmpx to - __unused. - (RUN_LVL): Define unconditionally. - * sysdeps/gnu/bits/utmp.h: Rename pad member of struct utmp to - __unused. - -1998-11-12 Philip Blundell - - * sysdeps/unix/sysv/linux/netlink/netlink.h: New file, support for - Linux AF_NETLINK sockets (needed since the kernel version is - unusable). - * sysdeps/unix/sysv/linux/Makefile: Install it. - * sysdeps/unix/sysv/linux/Dist: Distribute it. - -1998-11-12 Andreas Jaeger - - * timezone/tst-timezone.c (tests): Add entry for America/Chicago - to test for bug in PR libc/863. - -1998-11-12 Ulrich Drepper - - * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Cleanup comment. - - * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Rename macro - parameter lazy to do_lazy to avoid clashing with struct member name. - Reported by Ralf Baechle . - -1998-11-10 H.J. Lu - - * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine NR_OPEN - if it is defined in . - -1998-11-09 13:07 -0500 Zack Weinberg - - * include/protocols/routed.h: Include the real header with - a full path from the top of the source tree. - * include/protocols/rwhod.h: Likewise. - * include/protocols/talkd.h: Likewise. - * include/protocols/timed.h: Likewise. - - * timezone/Makefile: Don't include z.ZONE files if no_deps - is set, not if avoid-generated is set. - -1998-11-12 Ulrich Drepper - - * signal/signal.h: Undo last change. Get definition of timespec - if __USE_POSIX199309. - - * string/bits/string2.h (__strpbrk_c2): Add intermediate cast to - size_t to prevent gcc warning when using -Wqual-cast. - (__strpbrk_c3): Likewise. - Suggested by Alan Curry . - -1998-11-11 Roland McGrath - - * hurd/hurdsig.c (_hurdsig_init): Add assertion that no pending, - unblocked signals are set in the startup masks. - - * hurd/hurdsig.c (_hurdsig_init): Take new args, INTARRAY and - INTARRAYSIZE. Initialize main thread's sigstate from INIT_SIG* ints. - - * hurd/hurd/signal.h: Update _hurdsig_init decl. - * hurd/hurdinit.c (_hurd_proc_init): Take new args, INTARRAY and - INTARRAYSIZE, pass them down to _hurdsig_init. - * hurd/hurd.h: Update _hurd_proc_init decl. - -1998-11-10 Ulrich Drepper - - * math/cabs.c: Replace complex by _Complex. - * math/cabsf.c: Likewise. - * math/cabsl.c: Likewise. - * math/cimag.c: Likewise. - * math/cimagf.c: Likewise. - * math/cimagl.c: Likewise. - * math/conj.c: Likewise. - * math/conjf.c: Likewise. - * math/conjl.c: Likewise. - * math/creal.c: Likewise. - * math/crealf.c: Likewise. - * math/creall.c: Likewise. - - * sysdeps/alpha/fpu/bits/mathdef.h: Define ISO C 9X stuff only if - included from math.h and __USE_ISOC9X is defined. - * sysdeps/generic/bits/mathdef.h: Likewise. - * sysdeps/generic/i386/fpu/mathdef.h: Likewise. - * sysdeps/generic/m68k/fpu/mathdef.h: Likewise. - * sysdeps/generic/powerpc/bits/mathdef.h: Likewise. - * sysdeps/generic/sparc/fpu/bits/mathdef.h: Likewise. - -1998-11-10 Andreas Jaeger - - * sysdeps/i386/fpu/bits/mathdef.h: Allow direct inclusion by - . - * sysdeps/alpha/fpu/bits/mathdef.h: Likewise. - * sysdeps/generic/bits/mathdef.h: Likewise. - * sysdeps/m68k/fpu/bits/mathdef.h: Likewise. - * sysdeps/powerpc/bits/mathdef.h: Likewise. - * sysdeps/sparc/fpu/bits/mathdef.h: Likewise. - -1998-11-09 Ulrich Drepper - - * extra-lib.mk: Fix typo in last change. - - * math/complex.h: Include bits/mathdef.h to get __NO_LONG_DOUBLE_MATH - is needed. - Don't define long double functions if __NO_LONG_DOUBLE_MATH is defined. - Don't define `complex' but instead `_Complex'. The later is the - reserved keyword. - * math/bits/cmathcalls.c: Define _Mdouble_complex_ using _Complex, - not complex. - -1998-11-07 Andreas Schwab - - * manual/libc.texinfo: Remove colon from category name. - * manual/Makefile (dir-add.info): Likewise. - -1998-11-07 Andreas Schwab - - * configure.in: Avoid autoconf bug. - -1998-10-28 H.J. Lu - - * posix/getopt.h: Add "__" to arguments in prototypes. - -1998-11-05 H.J. Lu - - * libio/iofgets.c (_IO_fgets): Don't report error - if something was read in and errno is set to - EAGAIN. - * libio/iofgets_u.c (fgets_unlocked): Likewise. - -1998-11-05 Philip Blundell - - * sysdeps/unix/sysv/linux/net/if_packet.h: Don't include kernel - header; it defines too much. Provide a local definition of struct - sockaddr_pkt and a comment advising against its use. - -1998-11-06 Andreas Schwab - - * extra-lib.mk: Avoid empty include list. - -1998-11-04 Andreas Schwab - - * extra-lib.mk: Add support for $(lib)-shared-only-routines. - - * elf/Makefile (libdl-routines): Add dlopenold only if doing - versioning. - (libdl-shared-only-routines): New variable. - -1998-11-06 Paul Eggert - - Don't invoke localtime_r or gmtime_r unless it's the GNU C - library's localtime_r and gmtime_r; there are too many buggy - implementations of localtime_r and gmtime_r out there, and - it's not worth keeping track of all the different bugs. - - * time/mktime.c (__EXTENSIONS__): Remove. - (): No need to include. - * time/strftime.c: Likewise. - - * time/mktime.c (_POSIX_THREAD_SAFE_FUNCTIONS, HAVE_LOCALTIME_R): - Remove. - (my_mktime_localtime_r): Renamed from localtime_r; all uses changed. - Base it on localtime unless _LIBC. - - * time/strftime.c (my_strftime_gmtime_r): Renamed from gmtime_r; - all uses changed. - (my_strftime_localtime_r): Renamed from localtime_r; all uses changed. - Base them on localtime/gmtime if not _LIBC. - -1998-11-07 Ulrich Drepper - - * sysdeps/generic/isastream.c: Always return 0 unless it is an invalid - file descriptor. This makes this function actually usable. - Proposed by Mark Kettenis . - -1998-11-05 Ulrich Drepper - - * math/math.h: Unconditionally include bits/mathdef.h. Declare - long double functions only if __NO_LONG_DOUBLE_MATH is not - defined. - * sysdeps/generic/bits/mathdef.h: Define only if __USE_ISOC9X. - Define __NO_LONG_DOUBLE_MATH. - * sysdeps/m68k/fpu/bits/mathdef.h: Define only if __USE_ISOC9X. - * sysdeps/i386/fpu/bits/mathdef.h: Likewise. - - * elf/rtld.c: Add a few __builtin_expects where they will improve - a lot. - -1998-11-05 Ulrich Drepper - - * version.h (VERSION): Bump to 2.0.100. - - * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Fix fldl -> fld. - - * sysdeps/libm-i387/s_fma.S: Optimize a bit. - * sysdeps/libm-i387/s_fmaf.S: Likewise. - -1998-11-04 Andreas Schwab - - * libio/genops.c (_IO_least_marker): Add additional parameter - end_p replacing fp->_IO_read_end. - (save_for_backup): Likewise. All callers changed. Use _IO_size_t - and _IO_ssize_t instead of int. - (_IO_switch_to_main_get_area): Remove use of _IO_save_ptr. - (_IO_switch_to_backup_area): Likewise. Fix comments. - (_IO_seekmark): Undo last change. - (_IO_default_pbackfail): Correct use of backup area. - * libio/libio.h (_IO_FILE_complete): Remove _IO_save_ptr. - -1998-11-04 19:47 -0500 Zack Weinberg - - * configure.in: Search for install-info and substitute it. - Determine whether install-info is the buggy Debian version - that doesn't understand INFO-DIR-SECTION. - * config.make.in: Add INSTALL_INFO and OLD_DEBIAN_INSTALL_INFO - to be substituted. - * manual/Makefile: If OLD_DEBIAN_INSTALL_INFO, give - install-info the --section argument it needs to work properly. - (dir-add.texinfo): Delete target. - (dir-add.info): Generate this directly. Sort entries. Put a - colon at the end of the INFO-DIR-SECTION line. - * manual/libc.texinfo: Put a colon at the end of the - @dircategory line. - -1998-11-05 Paul Eggert - - * time/mktime.c (__mktime_internal): Adopt the traditional (and - problematic) notion of what to do when tm_isdst doesn't match. - -1998-11-04 Andreas Schwab - - * posix/PTESTS: Fix spelling. - -1998-11-04 Ulrich Drepper - - * misc/efgcvt_r.c (fcvt_r): Remove code which tries to use libm - functions. Reduce error in computing normalized value by multiplying - factor in loop and compute result in one step. - Reported by Christian Gafton. - - * sysdeps/libm-i387/e_hypot.S: New file. - * sysdeps/libm-i387/e_hypotf.S: New file. - -1998-11-04 Andreas Jaeger - - * elf/dlopenold.c: Compile only if DO_VERSIONING is also defined. - -1998-11-03 H.J. Lu - - * libio/fileops.c (new_do_write): New function. - (_IO_new_do_write): Call new_do_write. - (_IO_new_file_xsputn): Likewise. - - * libio/oldfileops.c (old_do_write): New function. - (_IO_old_do_write): Call old_do_write. - (_IO_old_file_xsputn): Likewise. - -1998-11-04 Ulrich Drepper - - * time/mktime.c (__mktime_internal): Correct last change. We must - stop searching for the right isdst value before stepping to the - initial value. - - * malloc/malloc.c: Make sure calloc really returned zeroed memory. - Patch by Wolfram Gloger . - -1998-11-02 16:12 -0500 Zack Weinberg - - * sysdeps/generic/bits/signum.h: Define signals with their - historical numbers when those are in the 1-15 range and - consistent across platforms. - Define compatibility aliases (SIGIOT, SIGCLD) if __USE_MISC. - Define SIG_DFL, SIG_IGN, SIG_ERR as numeric constants cast - appropriately instead of with fake function declarations - (would cause link errors). - If __USE_UNIX98, define SIG_HOLD. - -1998-10-29 H.J. Lu - - * sysdeps/unix/sysv/linux/bits/sigaction.h (sigaction): Use - union only if __USE_POSIX199309 is defined. - - * misc/sys/select.h (pselect): Declared only if __USE_GNU is - defined. - -1998-11-03 Ulrich Drepper - - * time/mktime.c (__mktime_internal): Handle broken down times - around the time of the DST switches more correctly. - -1998-11-02 Ulrich Drepper - - * elf/Makefile (libdl-routines): Add dlopenold. - * elf/Versions [libdl, GLIBC_2.1]: Add dlopen. - * elf/dl-open.c (_dl_open): Check whether RTLD_LAZY or RTLD_GLOBAL - is set and bounce otherwise. - * elf/dlopen.c: Rename function to __dlopen_check and make version - named dlopen. - * elf/dlopenold.c: New file. - -1998-11-02 Ulrich Drepper - - * elf/Versions [libc, GLIBC_2.01]: Add _dl_global_scope_alloc. - * elf/dl-open.c (_dl_global_scope_alloc): Move definition to - * elf/dl-deps.c: ...here. - * elf/dl-open.c (dl_open_worker): Call _dl_map_object_deps with - new parameter and expect result. Remove code handling RTLD_GLOBAL. - Add return value of _dl_map_object_deps to - _dl_main_searchlist->r_nlist. - * elf/dl-deps.c (_dl_map_object_deps): Change to return value. - If we parameter GLOBAL is nonzero add object and dependencies to - the global scope. - * elf/ldsodefs.h: Adapt prototype for _dl_map_object_deps. - * elf/rtld.c (dl_main): Call _dl_map_object_deps with new parameter. - Mark all objects as in global scope. - * elf/dl-object.c (_dl_new_object): Initialize l_global to zero. - - * sysdeps/unix/sysv/linux/bits/sockunion.h: Add Econet support. - - * sysdeps/unix/sysv/linux/i386/sysdep.h: Add .L prefix to symbols - used in macro magic. - -1998-11-02 Andreas Jaeger - - * sysdeps/unix/sysv/linux/netatalk/at.h: Include - before to make sockaddr_at available to - . - - * posix/glob.h: Remove __P from parameter lists of declarations. - -1998-11-02 Andreas Jaeger - - * time/tzset.c (tz_compute): Remove unused parameter timer. - Change caller. - -1998-11-02 Mark Kettenis - - * sysdeps/generic/bits/types.h (__ipc_pid_t): New typedef. - -1998-11-02 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Remove - unnecessary test and add cast. - -1998-11-02 Andreas Jaeger - - * posix/getconf.c: Add initializer SYSCONF for CHARCLASS_NAME_MAX. - - * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Remove unused - parameter fd. - * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise. - -1998-11-02 Mark Kettenis - - * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access - fds_bits member. - (__FDMASK): Use __fd_mask instead of unsigned long int in cast. - -1998-10-31 Richard Henderson - - * math/Makefile (gmp-objs): Add udiv_qrnnd. - - * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL*): New. - (inline_syscall*): New. - * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL): New. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Kill __syscall* bits. - -1998-10-31 Ulrich Drepper - - * aclocal.m4 (LIBC_PROG_FOO_GNU): Name output file using -o to - avoid ld test generating an unwanted file. - - * posix/PTESTS: Remove comment about incorrect test (it is correct). - -1998-10-30 Thorsten Kukuk - - * sunrpc/Versions: Add xdr_uint32_t and xdr_int32_t. - * sunrpc/pmap_rmt.c: Initialize clnt_stat variable. - * sunrpc/rpc/auth_des.h: Use uint32_t for time values. - * sunrpc/rpc/xdr.h: Add INT32 support. - * sunrpc/xdr.c: Implement xdr_int32_t and xdr_uint32_t . - - * nis/nis_call.c: Changes for new 64bit clean NIS+ interface. - * nis/nis_callback.c: Likewise. - * nis/nis_creategroup.c: Likewise. - * nis/nis_defaults.c: Likewise. - * nis/nis_intern.h: Likewise. - * nis/nis_lookup.c: Likewise. - * nis/nis_ping.c: Likewise. - * nis/nis_print.c: Likewise. - * nis/nis_table.c: Likewise. - * nis/nis_util.c: Likewise. - * nis/nis_xdr.c: Likewise. - * nis/rpcsvc/nis.h: Likewise. - * nis/rpcsvc/nis.x: Likewise. - * nis/rpcsvc/nis_callback.h: Likewise. - * nis/rpcsvc/nis_object.x: Likewise. - * nis/rpcsvc/nislib.h: Likewise. - - * nis/rpcsvc/yp.h: Remove casts to (u_long). - * nis/rpcsvc/yp_prot.h: Likewise. - * nis/rpcsvc/ypupd.h: Likewise. - * nis/ypclnt.c: Change %ld to %d in sprintf. - -1998-10-29 Andreas Schwab - - * manual/locale.texi (Formatting Numbers): Fix strfmon examples. - -1998-10-28 Andreas Schwab - - * sysdeps/generic/bits/select.h (__FD_ZERO): Change '\0' to plain - 0, __fd_mask is usually not a char. - -1998-10-30 Andreas Jaeger - - * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Allow - compilation on systems without rt_* syscalls (e.g. on Linux 2.0). - * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise. - * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. - * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise. - * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise - * sysdeps/unix/sysv/linux/sigqueue.c: Likewise. - * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise. - - * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Allow - compiling on systems without rt_sigaction syscall. - * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction): - Likewise. - -1998-10-30 Andreas Jaeger - - * time/strptime.c (HERE_D_FMT): Fix typo. - Reported by Claus Heine , PR libc/842. - -1998-10-30 Ulrich Drepper - - * catgets/Makefile (tests): Add rules to run gencat on test1.msg. - (generate): Add test1.cat and test1.h. - (distribute): Add test1.msg. - * catgets/test1.msg: New file. - - * catgets/gencat.c: Do a better job in initializing dynamic - memory [PR libc/844]. - -1998-10-30 18:11 Ulrich Drepper - - * iconv/gconv_conf.c (__gconv_read_conf): Don't define as - internal_function since it is called through a pointer. - * iconv/gconv_db.c (free_derivation): Likewise. - * iconv/gconv_int.h: Adjust prototype od __gconv_read_conf. - - * posix/wordexp.c: Add internal_function to parse_backtick definition. - * rt/aio_misc.c: Add internal_function to __aio_free_request, - __aio_find_req, __aio_find_req_fd, and __aio_enqueue_request - definitions. - * rt/aio_notify.c: Add internal_function to __aio_notify_only and - __aio_notify definitions. - * wcsmbsload.c: Add internal_function to __wcsmbs_load_conv definition. - -1998-10-30 Ulrich Drepper - - * Makerules (build-shlib): Add -O to generate optimized shared - objects. - -1998-10-30 11:15 Ulrich Drepper - - * sysdeps/libm-i387/e_fmod.S: Remove invalid operand size suffix. - * sysdeps/libm-i387/e_fmodf.S: Likewise. - * sysdeps/libm-i387/e_fmodl.S: Likewise. - * sysdeps/libm-i387/s_ilogb.S: Likewise. - * sysdeps/libm-i387/s_ilogbf.S: Likewise. - * sysdeps/libm-i387/s_logb.S: Likewise. - * sysdeps/libm-i387/s_logbf.S: Likewise. - * sysdeps/libm-i387/s_remquo.S: Likewise. - * sysdeps/libm-i387/s_remquof.S: Likewise. - * sysdeps/libm-i387/s_remquol.S: Likewise. - * sysdeps/libm-i387/s_significand.S: Likewise. - * sysdeps/libm-i387/s_significandf.S: Likewise. - -1998-10-30 Geoff Keating - - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Really correct - _llseek. - -1998-10-30 Geoff Keating - - * math/libm-test.c: Loosen deltas for sin(0.9)^2+cos(0.9)^2. - -1998-10-29 Ulrich Drepper - - * stdio-common/vfprintf.c (vfprintf): Fix the remaining premature - returns without cleaning up the lock. - (printf_unknown): Add label all_done. - - * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Keep Linux 2.0 - kernels in mind when reading /proc/self/fd/FD. - * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise. - - * nscd/nscd.c (doc): It's "Name Service" not "Name Switch". - - * malloc/mtrace.c (tr_where): Replace snprintf call by mempcpy and - _fitoa. - - * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Try reading - /prof/self/fd/FD first. - * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise. - - * stdio-common/_itoa.h (_fitoa_word): New inline function. Write - formatted number starting at given position and return pointer to - following byte. - (_fitoa): Likewise, for long long. - -1998-10-29 Roland McGrath - - * sysdeps/unix/sysv/linux/bits/sem.h, - sysdeps/unix/sysv/linux/bits/ipc.h, - sysdeps/unix/sysv/linux/bits/shm.h, - sysdeps/unix/sysv/linux/bits/msq.h: Moved to ... - * sysdeps/gnu/bits/sem.h, sysdeps/gnu/bits/ipc.h, - sysdeps/gnu/bits/shm.h, sysdeps/gnu/bits/msq.h: ... here, - so the same bits will be used for the Hurd. - -1998-10-29 Ulrich Drepper - - * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Allow - compiling on systems without rt_sigaction syscall. - -1998-10-12 Philip Blundell - - * Makeconfig (sysdep-subdirs): Allow Subdirs files to remove - directories as well as add them. - -1998-10-28 Philip Blundell - - * sysdeps/unix/sysv/linux/neteconet/ec.h: New file. Support for - AF_ECONET sockets as found in recent Linux 2.1 kernels. - * sysdeps/unix/sysv/linux/Dist: Distribute it. - * sysdeps/unix/sysv/linux/Makefile: Install it. - -1998-10-27 Andreas Schwab - - * string/bits/string2.h: __USE_GNU already implies __USE_MISC. - -1998-10-27 Andreas Schwab - - * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access - fds_bits member. - * sysdeps/unix/sysv/linux/alpha/bits/types.h (__FDS_BITS): Likewise. - * sysdeps/unix/sysv/linux/bits/types.h (__FDS_BITS): Likewise. - * sysdeps/unix/sysv/linux/mips/bits/types.h (__FDS_BITS): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__FDS_BITS): - Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h (__FDS_BITS): - Likewise. - * sysdeps/generic/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR, - __FD_ISSET): Use it. - * sysdeps/i386/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR, - __FD_ISSET): Likewise. - -1998-10-28 Geoff Keating - - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Tidy up, correct - llseek. - - * sysdeps/unix/sysv/linux/powerpc/pread.c: Do not use the i386 version. - Instead call the system call wrapper function using an 64bit argument. - * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise. - -1998-10-27 Ulrich Drepper - - * signal/signal.h: Don't include for timespec, add - forward declaration. - - * sysdeps/i386/bits/select.h [!__USE_XOPEN]: Add special version - of __FD_* macros which use __fds_bits. - * sysdeps/generic/bits/select.h: Likewise. - Reported by Matt McLean . - -1998-10-27 Philip Blundell - - * elf/elf.h: Update ARM definitions. - -1998-10-27 Ulrich Drepper - - * signal/signal.h: Include bits/sigthread.h only for Unix98. - -1998-10-26 Ulrich Drepper - - * include/libc-symbols.h: If HAVE_BUILTIN_EXPECT is not defined - define __builtin_expect as a macro substituting to the first - argument. - * config.h.in: Define HAVE_BUILTIN_EXPECT. - * configure.in: Add test for __builtin_expect. - - * sysdeps/unix/sysv/linux/bits/types.h: Include - bits/pthreadtypes.h only not for POSIX 199506. - * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise. - -1998-10-26 Mark Kettenis - - * sysdeps/unix/sysv/linux/Versions: Move shutdown ... - * socket/Versions [libc, GLIBC_2.0]: ... to here. - -1998-10-25 Andreas Jaeger - - * include/stdio.h: Included for size_t. - - * stdio/stdio.h: Move __path_search, __gen_tempname, __libc_fatal - to ... - * include/stdio.h: ...here. - * libio/stdio.h: Removed __path_search, __gen_tempname, __libc_fatal. - -1998-10-26 11:09 Ulrich Drepper - - * time/Makefile (tests): Add tst-posixtz. - * time/tst-posixtz.c: New file. - -1998-10-24 Andreas Schwab - - * elf/rtld.c (process_envvars): Accept any non-null value of - LD_BIND_NOW, as mandated by the ABI. - -1998-10-24 Andreas Schwab - - * sysdeps/unix/sysv/linux/pread.c: Rename __syscall_pread64 to - __syscall_pread. - * sysdeps/unix/sysv/linux/pwrite.c: Rename __syscall_pwrite64 to - __syscall_pwrite. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise. Remove - duplicate entries. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove - s_pread64 and s_pwrite64. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise. - -1998-10-24 Andreas Schwab - - * sysdeps/unix/sysv/linux/llseek.c: Use INLINE_SYSCALL. - * sysdeps/unix/sysv/linux/arm/syscalls.list: Rename __sys_llseek - to __syscall__llseek. - * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove entry for - __sys_llseek. - -1998-10-26 Cristian Gafton - - * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add s_setfsgid - and s_setfsuid. - -1998-10-26 Ulrich Drepper - - * time/tzset.c (tz_compute): Correct last patch and describe this - in a comment. - -1998-10-24 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove - rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo, - rt_sigaction and rt_sigpending. - * sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove all entries - for __syscall_* functions. - * sysdeps/unix/sysv/linux/m68k/sysdep.h: Implement INLINE_SYSCALL. - -1998-10-26 Roland McGrath - - * hurd/Versions: Add _hurd_dtable, _hurd_dtablesize, - _hurd_dtable_lock, _hurd_intern_fd. - - * sysdeps/mach/hurd/Versions: Add cthread_keycreate, - cthread_getspecific, cthread_setspecific, __libc_getspecific. - - * mach/Versions: Fix typo in last change. - -1998-10-25 Ulrich Drepper - - * time/tzset.c (tz_compute): If time to switch to DST is later in - the year switch back in the next year. - Reported by jwitford@hutch.com.au. - -1998-10-24 Mark Kettenis - - * mach/Versions: Add evc_wait, mach_error, mach_error_string, - mach_error_type, mach_msg_destroy, mig_deallocate_reply_port. - Remove __mach_host_self, __mach_reply_port, __mach_setup_thread, - __mach_port_allocate, __mach_port_allocate_name, - __mach_port_insert_right __mutex_trylock, __mutex_lock, - __mutex_unlock, __swtch, __switch, __task_create, __task_suspend, - __task_set_special_port, __task_terminate, __thread_depress_abort, - __thread_switch, __vm_allocate, __vm_deallocate, __vm_map. These - functions are not used outside libc. - - * sysdeps/mach/hurd/Versions: New file. - [libc, GLIBC_2.0]: Add _cthread_exit_routine and - _cthread_init_routine. These are set by the Hurd cthreads library. - Add __getcwd, __mmap. If we don't add these, the weak definitions in - the dynamic linker will not be replaced by the corresponding shared - library routines once they are loaded. - -1998-10-21 Mark Kettenis - - * sysdeps/mach/hurd/i386/init-first.c: Only define - __libc_enable_secure if PIC is not defined. - -1998-10-25 Roland McGrath - - * argp/Versions: Add _argp_unlock_xxx. Lock-savvy functions call this - to recurse into argp. - -1998-10-25 Ulrich Drepper - - * include/features.h: Define __USE_POSIS199506 is _POSIX_C_SOURCE is - greater or equal than 199506L. - - * sysdeps/generic/bits/types.h (__fd_set): Define element as fds_bits - only is __USE_XOPEN. Otherwise use __fds_bits. - * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/bits/types.h: Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise. - -1998-10-24 H.J. Lu - - * locale/programs/charmap.c (parse_charmap): Accept tok_string - for . - -1998-10-25 H.J. Lu - - * locale/programs/ld-ctype.c (ctype_finish): Also check - . - -1998-10-25 Ulrich Drepper - - * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX199506. - - * sysdeps/unix/sysv/linux/bits/types.h: Include pthreadtypes.h only - if __USE_POSIX199506 or __USE_UNIX98. - -1998-10-24 22:34 -0400 Zack Weinberg - - * string/bits/string2.h: Inline strdup+friends only if - __USE_MISC || __USE_GNU (prevents namespace pollution). - -1998-10-24 H.J. Lu - - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (LOCK_SH, - LOCK_EX, LOCK_NB, LOCK_UN): Protect with __USE_BSD. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (LOCK_SH, LOCK_EX, - LOCK_NB, LOCK_UN): Likewise. - * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (LOCK_SH, LOCK_EX, - LOCK_NB, LOCK_UN): Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (LOCK_SH, LOCK_EX, - LOCK_NB, LOCK_UN): Likewise. - * sysdeps/unix/sysv/linux/bits/fcntl.h (LOCK_SH, LOCK_EX, - LOCK_NB, LOCK_UN): Likewise. - -1998-10-24 H.J. Lu - - * libio/ioseekoff.c (_IO_seekoff): Check the valid dir value. - - * libio/rewind.c (rewind): Clear the error. - -1998-10-24 H.J. Lu - - * grp/grp.h (getgrent_r, getgrgid_r, getgrnam_r): Add "__" to - "buffer". - -1998-10-24 H.J. Lu - - * sysdeps/unix/sysv/linux/alpha/bits/time.h (timeval): Protect - with __need_timeval. - * sysdeps/unix/sysv/linux/mips/bits/time.h (timeval): Likewise. - * sysdeps/unix/sysv/linux/bits/time.h (timeval): Likewise. - -1998-10-24 H.J. Lu - - * signal/signal.h (timespec, siginfo_t, sigwaitinfo, sigtimedwait, - sigqueue): Protect with __USE_POSIX199309. - -1998-10-24 H.J. Lu - - * time/time.h (timespec): Protect with __USE_POSIX199309 instead of - __USE_POSIX. - -1998-10-24 H.J. Lu - - * libio/fileops.c (_IO_new_file_seekoff): Always resync with - the kernel file offset. - * libio/oldfileops.c (_IO_old_file_seekoff): Likewise. - -1998-10-24 H.J. Lu - - * time/tzfile.c (__tzfile_default): Set num_types to 2. - -1998-10-23 Andreas Jaeger - - * rt/aio.h: Move __aio_init to... - * include/aio.h: ...here. - -1998-10-24 Andreas Jaeger - - * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate - definition of O_LARGEFILE. - -1998-10-24 Andreas Jaeger - - * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path - as first argument to statfs. - -1998-10-24 Andreas Jaeger - - * sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else. - -1998-10-24 Andreas Jaeger - - * malloc/mtrace.c: Include for strlen. - -1998-10-24 Roland McGrath - - * sysdeps/mach/hurd/bits/environments.h: New file. - - * sysdeps/mach/hurd/dl-sysdep.c (__getcwd): New weak function. - - * mach/Versions, hurd/Versions: Add numerous symbols. - Remove libmachuser and libhurduser sections, punt - versioning for those libraries for now. - - * misc/Versions: Add reboot here; it exists on all platforms. - * sysdeps/unix/sysv/linux/Versions: Remove reboot here. - -1998-10-23 Ulrich Drepper - - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOFOLLOW): New - macro. - * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_LARGEFILE, - O_NOFOLLOW, O_DIRECT): New macros. - (O_DIRECTORY): Correct definition according to official 2.1.126. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECTORY, - O_NOFOLLOW): New macros. - -1998-10-24 Roland McGrath - - * include/ldsodefs.h: Test HAVE_ELF instead of __ELF__. - - * sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "". - (__opendir): Add trailing slash to name for open, for ENOTDIR check. - -1998-10-23 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/Dist: Add setresuid.c, setresgid.c, - setfsuid.c, and setfsgid.c. - * sysdeps/unix/sysv/linux/arm/Dist: Likewise. - * sysdeps/unix/sysv/linux/m68k/Dist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise. - - * version.h (VERSION): Bump to 2.0.99. - - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove duplicate - ustat definition. - - * sysdeps/unix/sysv/linux/i386/Dist: Remove s_pread64.c and - s_pwrite64.c. - - * posix/fnmath.h: Don't redefine __P when used in glibc. - * posix/glob.h: Likewise. - - * inet/rcmd.c (__ivaliduser2): Fix memory leak. - Patch by Dick Streefland . - - * stdio-common/tst-ungetc.c: Add more test cases. - - * sysdeps/unix/sysv/linux/Dist: Add linux_fsinfo.h. - * sysdeps/unix/sysv/linux/fstatvfs.c: Move filesystem magic number - definitions to ... - * sysdeps/unix/sysv/linux/linux_fsinfo.h: ...here. New file. - * sysdeps/unix/sysv/linux/fpathconf.c: New file. - * sysdeps/unix/sysv/linux/pathconf.c: New file. - * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Handle _PC_LINK_MAX here. - * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise. - -1998-10-20 Philip Blundell - - * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Include - to define struct pt_regs. - * sysdeps/unix/sysv/linux/arm/profil-counter.h: Don't bother - including here. - - * sysdeps/unix/sysv/linux/arm/sysdep.S: Remove spurious call to - C_SYMBOL_NAME macro. - -1998-10-23 Andreas Jaeger - - * sysdeps/generic/sys/ptrace.h (__ptrace_request): Remove comma at - end of enumerator list. - * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Likewise. - * posix/wordexp.h: Likewise. - - * db/db.h: Use __PMT instead of __P in typedefs. - * db/mpool.h: Likewise. - * sysdeps/generic/bits/siginfo.h: Likewise. - * nis/rpcsvc/ypclnt.h: Likewise. - -1998-10-23 Ulrich Drepper - - * libio/genops.c (_IO_seekmark): When switching to backup buffer - make sure all characters from the read buffer are read after - switching back to it. - -1998-10-22 Ulrich Drepper - - * configure.in: Add support for Cygnus GNUPro compilers. - -1998-10-22 Andreas Jaeger - - * stdio/stdio.h: Use __PMT instead of __P in typedefs. - - * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use __PMT instead - of __P for sa_restorer. - * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct - kernel_sigaction, old_kernel_sigaction): Likewise. - -1998-10-22 Ulrich Drepper - - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add __syscall_pread - and __syscall_pwrite aliases. - - * sunrpc/rpc/auth.h (AUTH_DH): New macro. Alias for AUTH_DES. - - * sysdeps/unix/sysv/linux/i386/sysdep.h: Drastically simplify and - improve INLINE_SYSCALL using macro assembler magic. - -1998-10-22 H.J. Lu - - * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Add - sanity check for n. - * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise. - - * sysdeps/posix/fpathconf.c (__fpathconf): Set errno to - EINVAL if errno == ENODEV. Tested by VSX-PCT. - - * sysdeps/posix/isatty.c (__isatty): Don't reset errno. Tested - by VSX-PCT. - - * posix/execvp.c (execvp): Check "". Tested by VSX-PCT. - -1998-10-22 Philip Blundell - - * sysdeps/unix/arm/sysdep.h: Wrap assembler macros in #ifdef - __ASSEMBLER__. - -1998-10-21 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/sysdep.h: Remove EXTRAVARS_* macros - and adjust formats. - -1998-10-21 14:38 Ulrich Drepper - - * sysdeps/unix/sysdep.h (INLINE_SYSCALL): New macro. Simply call - __syscall_* function. - * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use INLINE_SYSCALL instead - of calling __syscall_* function. - * sysdeps/unix/sysv/linux/fxstat.c: Likewise. - * sysdeps/unix/sysv/linux/fxstat64.c: Likewise. - * sysdeps/unix/sysv/linux/getcwd.c: Likewise. - * sysdeps/unix/sysv/linux/getdents.c: Likewise. - * sysdeps/unix/sysv/linux/getpriority.c: Likewise. - * sysdeps/unix/sysv/linux/getresgid.c: Likewise. - * sysdeps/unix/sysv/linux/getresuid.c: Likewise. - * sysdeps/unix/sysv/linux/lxstat.c: Likewise. - * sysdeps/unix/sysv/linux/lxstat64.c: Likewise. - * sysdeps/unix/sysv/linux/poll.c: Likewise. - * sysdeps/unix/sysv/linux/pread.c: Likewise. - * sysdeps/unix/sysv/linux/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/ptrace.c: Likewise. - * sysdeps/unix/sysv/linux/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/readv.c: Likewise. - * sysdeps/unix/sysv/linux/reboot.c: Likewise. - * sysdeps/unix/sysv/linux/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/siglist.h: Likewise. - * sysdeps/unix/sysv/linux/sigpending.c: Likewise. - * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise. - * sysdeps/unix/sysv/linux/sigqueue.c: Likewise. - * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise. - * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise. - * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. - * sysdeps/unix/sysv/linux/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/sysctl.c: Likewise. - * sysdeps/unix/sysv/linux/ustat.c: Likewise. - * sysdeps/unix/sysv/linux/writev.c: Likewise. - * sysdeps/unix/sysv/linux/xmknod.c: Likewise. - * sysdeps/unix/sysv/linux/xstat.c: Likewise. - * sysdeps/unix/sysv/linux/xstat64.c: Likewise. - * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise. - * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise. - - * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INLINE_SYSCALL using - inline assembler. - * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove various - __syscall_* definitions. - - * sysdeps/unix/sysv/linux/syscalls.list: Move various __syscall_* - definitions to... - * sysdeps/unix/sysv/linux/alpha/syscalls.list: ...here... - * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here... - * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here... - * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here... - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here... - * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here... - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here. - - * sysdeps/unix/sysv/linux/Makefile [subdir=signal] (sysdep_routines): - Move definition to... - * sysdeps/unix/sysv/linux/alpha/Makefile: ...here... - * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here... - * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here... - * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here... - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here... - * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here... - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here. - - * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc] - (sysdep_routines): Remove s_pread64 and s_pwrite64. - - * sysdeps/unix/sysv/linux/i386/pread.c: New file. - * sysdeps/unix/sysv/linux/i386/pread64.c: New file. - * sysdeps/unix/sysv/linux/i386/pwrite.c: New file. - * sysdeps/unix/sysv/linux/i386/pwrite64.c: New file. - * sysdeps/unix/sysv/linux/i386/s_pread64.S: Removed. - * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Removed. - -1998-10-21 Andreas Jaeger - - * sysdeps/unix/sysv/linux/siglist.h: Fix some typos in these files - and bring them in synch. - * sysdeps/unix/siglist.c: Likewise. - Reported by Vladimir Michl [PR libc/832]. - -1998-10-20 Andreas Schwab - - * sysdeps/unix/sysv/linux/i386/setresuid.c: Allow -1 as arguments. - * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise. - - * sysdeps/unix/sysv/linux/i386/setreuid.c: New file. - * sysdeps/unix/sysv/linux/i386/setregid.c: New file. - * sysdeps/unix/sysv/linux/m68k/setreuid.c: New file. - * sysdeps/unix/sysv/linux/m68k/setregid.c: New file. - * sysdeps/unix/sysv/linux/arm/setreuid.c: New file. - * sysdeps/unix/sysv/linux/arm/setregid.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: New file. - * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_setreuid and - s_setregid. - * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise. - -1998-10-20 Andreas Schwab - - * sunrpc/rpc_main.c (close_output, close_input): New functions. - (c_output, h_output, s_output, l_output, t_output, svc_output, - clnt_output, mkfile_output): Call them at the end. - -1998-10-19 Andreas Schwab - - * db/Makefile (LDFLAGS-db1.so): New variable, to avoid duplicating - link command. - -1998-10-19 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents. - * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id. - -1998-10-20 Ulrich Drepper - - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_pread64 and - s_pwrite64. - * sysdeps/unix/sysv/linux/powerpc/pread.c: New file. - * sysdeps/unix/sysv/linux/powerpc/pread64.c: New file. - * sysdeps/unix/sysv/linux/powerpc/pwrite.c: New file. - * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: New file. - Patch by Geoffrey KEATING . - -1998-10-18 Zack Weinberg - - * sysdeps/unix/opendir.c: Check at runtime for kernel support for - O_DIRECTORY. - -1998-10-20 H.J. Lu - - * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix - argument types. - -1998-10-19 Ulrich Drepper - - * math/tgmath.h: Make nested function calls work. - - * include/ldsodefs.h: Fix typo. - - * posix/Makefile (tests): Add tst-preadwrite. - * posix/tst-preadwrite.c: New file. - - * sysdeps/unix/opendir.c (__opendir): Add back fstat call to make - sure that descriptor is in any case for a directory. - -1998-10-19 18:59 -0400 Zack Weinberg - - * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG): Fix typo: val -> Val. - (atan2): Takes two arguments. - -1998-10-19 Ulrich Drepper - - * include/ldsodefs.h: New file. - - * iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h. - Remove change to avoid using _CALL_DL_FCT. - * iconv/gconv_db.c: Likewise. - * iconv/gconv_dl.c: Likewise. - * iconv/skeleton.c: Likewise, here for DL_CALL_FCT. - * malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h. - * nss/nsswitch.c: Likewise. - * nss/nsswitch.h: Likewise. - -1998-10-19 Philip Blundell - - * sunrpc/Makefile (otherlibs): If static NSS is in use, set to the - required libraries. - * login/Makefile (otherlibs): Likewise. - * nscd/Makefile (otherlibs): Likewise. - * Makeconfig (link-libc) [! build_shared]: Add $(otherlibs). - - * debug/Makefile (install-bin): Only build catchsegv if using ELF. - - * inet/Makefile: Add -DSTATIC_NSS to CFLAGS. - -1998-10-19 Philip Blundell - - * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid - and setfsuid. - -1998-10-19 Andreas Jaeger - - * nscd/connections.c: Fix typos in comments and strings. - - * nscd/nscd.conf: Update according to recent changes to nscd. - - * nscd/cache.c (prune_cache): Remove wrong comment. - -1998-10-19 13:24 Ulrich Drepper - - * locale/programs/ld-collate.c (collate_startup): Clear bit for this - category in copy_posix. - (collate_finish): Don't warn about UNDEFINED not being defined. - * locale/programs/ld-ctype.c (ctype_startup): Clear bit for this - category in copy_posix. - * locale/programs/ld-messages.c (messages_startup): Likewise. - * locale/programs/ld-monetary.c (monetary_startup): Likewise. - * locale/programs/ld-numeric.c (numeric_startup): Likewise. - * locale/programs/ld-time.c (time_startup): Likewise. - * locale/programs/localedef.c: Move copy_def_list_t definition into - locales.h. Define copy_posix variable. - (main): Before processing copy list add ©_posix to copy_list. - * locale/programs/locales.h: Add definition of copy_def_list_t. - * locale/programs/locfile.c: Clear bit for appropriate category in - copy_posix.mask for copy instruction. - -1998-10-19 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/setresgid.c: Remove #include of - non-existing file with generic implementation. - * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. - -1998-10-19 Philip Blundell - - * iconv/gconv_db.c: Include ELF header only if STATIC_GCONV is not - defined. Avoid using _CALL_DL_FCT if it is not defined. - * iconv/gconv.c: Likewise. - -1998-10-19 Ulrich Drepper - - * nscd/connections.c (dbs): Define defualt values for timeouts and - set enabled to 0 by default. - (CACHE_PRUNE_INTERVAL): New constant. Use it instead of magical 15 in - nscd_run. - - * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for - character >= 0x80. - (_nl_C_LC_CTYPE_class32): Likewise. - Reported by HJ Lu. - -1998-10-19 Roland McGrath - - * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add - _HURD_THREADVAR_DL_ERROR. - - * hurd/Makefile (user-interfaces): Add login, password. - - * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses. - -1998-08-06 Mark Kettenis - - [submitted 1998-08-06] - * mach/Machrules: Create target directory and force re-evaluation - of Makefile to prevent `make' from optimizing away most of the - implicit rules and `vpath' directives. - -1998-10-19 Roland McGrath - - * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread - is null, short-circuit to __mach_msg. - - * sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function, - broken out of init1. - (init1) [PIC]: Call it. - (__libc_init_first) [! PIC]: Call it. - - * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call - __libc_init_secure. Instead set __libc_enable_secure here from - the exec flags. - (__libc_enable_secure): New variable it. - * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module. - -1998-10-19 Roland McGrath - - * nscd/nscd-client.h: New file, broken out of "nscd.h". - * nscd/nscd.h: Move defns needed by clients to "nscd-client.h", - and #include that. - * nscd/Makefile (distribute): Add nscd-client.h. - * nscd/nscd_getgr_r.c, nscd/nscd_gethst_r.c, nscd/nscd_getpw_r.c: - Include "nscd-client.h" instead of "nscd.h" - -1998-10-18 Ulrich Drepper - - * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing - directory entries when a lstat call fails. - Patch by Colin Plumb . - - * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the - NSS functions. - * resolv/nss_dns/dns-network.c: Likewise. - - * grp/Makefile: Don't search for linuxthreads in add-ons, use - have-thread-library to determine whether threads are available. - * pwd/Makefile: Remove wrong comment. - - * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c, - and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1. - - * locale/C-messages.c: Define default strings for YESTR and NOSTR. - - * nss/Versions: Add __nss_hosts_lookup. - - * nss/getXXbyYY.c: Remove unneeded assignment. - - * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed. - - Almost complete rewrite of the NSCD to make it smaller, faster, - add more functionnality and make it easier to extend. - * nscd/Makfile (routines): Add nscd_gethst_r. - (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache. - * nscd/cache.c: New file. - * nscd/gethstbyad_r.c: New file. - * nscd/gethstbynm2_r.c: New file. - * nscd/hstcache.c: New file. - * nscd/nscd_gethst_r.c: New file. - * nscd/connections.c: Rewritten. Don't start new thread for every - new connection. Use a fixed set of threads which handle all - connections and also the cache cleanup. - * nscd/grpcache.c: Rewritten to use generic cache handling functions - in cache.c. - * nscd/nscd.c: Recognize new parameter nthreads. Adjust initialization - for rewrite. Remove handle_requests function. - * nscd/nscd.h (NSCD_VERSION): Bump to 2. - Define new data structure for the new unified cache and the host - database entries. - * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more - databases easily. Recognize check-files and threads definitions. - * nscd/nscd.conf: Add definition of enable-cache and check-files to - passwd and group definitions. Add new set of definitions for hosts. - * nscd/nscd_getgr_r.c: Rewrite for new protocol. - * nscd/nscd_getpw_r.c: Likewise. - * nscd/nscd_proto.h: Add prototype for host database functions. - * nscd/nscd_stat.c: Rewrite to simplify printing of information - for many databases. - * nscd/dbg_log.c: Remove unnecessary variable initializations. - Global variable debug_flag is renamed to dbg_level. - * nscd/dbg_log.h: Declare set_logfile. - -1998-10-16 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of - O_LARGEFILE back. - -1998-10-16 Paul Eggert - - * time/mktime.c: Some systems require to be - included before for localtime_r to be declared - properly. - * time/strftime.c: Likewise. - -1998-10-16 Ulrich Drepper - - * db/Makefile: Add rule to generate shared object with the soname - from glibc 2.0. - - * sysdeps/unix/opendir.c: Use O_DIRECTORY if available. If not - available double check to verify it's a directory. - - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY. - * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise. - * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which - are not generally available. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file. - - * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values. - * sysdeps/unix/sysv/linux/arm/Makefile: New file. - * sysdeps/unix/sysv/linux/arm/setegid.c: New file. - * sysdeps/unix/sysv/linux/arm/seteuid.c: New file. - * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file. - * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file. - * sysdeps/unix/sysv/linux/arm/setgid.c: New file. - * sysdeps/unix/sysv/linux/arm/setgroups.c: New file. - * sysdeps/unix/sysv/linux/arm/setresgid.c: New file. - * sysdeps/unix/sysv/linux/arm/setresuid.c: New file. - * sysdeps/unix/sysv/linux/arm/setuid.c: New file. - * sysdeps/unix/sysv/linux/i386/setegid.c: New file. - * sysdeps/unix/sysv/linux/i386/seteuid.c: New file. - * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file. - * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file. - * sysdeps/unix/sysv/linux/i386/setgid.c: New file. - * sysdeps/unix/sysv/linux/i386/setgroups.c: New file. - * sysdeps/unix/sysv/linux/i386/setresgid.c: New file. - * sysdeps/unix/sysv/linux/i386/setresuid.c: New file. - * sysdeps/unix/sysv/linux/i386/setuid.c: New file. - * sysdeps/unix/sysv/linux/m68k/setegid.c: New file. - * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file. - * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file. - * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file. - * sysdeps/unix/sysv/linux/m68k/setgid.c: New file. - * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file. - * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file. - * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file. - * sysdeps/unix/sysv/linux/m68k/setuid.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file. - - * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid, - s_setresgid, and s_setuid. - * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc] - (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid. - * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise. - -1998-10-16 Ulrich Drepper - - * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get - localtime_t declaration on some systems. - -1998-10-16 10:07 Ulrich Drepper - - * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to - -DSTATIC_GCONV. - * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not - defined. Avoid using DL_CLL_FCT if it is not defined. - -1998-10-16 10:40 -0400 Zack Weinberg - - * resolv/arpa/nameser.h: Include sys/types.h unconditionally. - Include endian.h unconditionally. Remove portability goop - depending on #ifdef linux, #ifdef BSD, #ifdef machine-type. - -1998-10-16 11:39 -0400 Zack Weinberg - - * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it. - -1998-10-15 Ulrich Drepper - - * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios - again. Use char[44] to define size of the struct. - - * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h. - -1998-10-14 Andreas Schwab - - * string/bits/string2.h (strcmp): Don't cache the result of - __builtin_constant_p in variables, otherwise constant folding - can fail in big functions. - -1998-10-14 Andreas Schwab - - * string/bits/string2.h: Add prototypes for the new inline - functions. - -1998-10-15 Ulrich Drepper - - * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to - have all types defined. - Patch by Matti Aarnio . - -1998-10-08 Paul Eggert - - * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r. - Define also if HAVE_LOCALTIME_R && defined localtime_r, with - a body that merely expands localtime_r; this works around a - bug in Digital Unix 4.0A and 4.0D. - -1998-10-14 Ulrich Drepper - - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl. - * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define - __ioctl to __syscall_ioctl and include Linux version of this file. - * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file. Redirect - ioctl calls which handle struct termios. - Based on a patch by Dan Jacobowitz . - -1998-10-14 Ulrich Drepper - - * version.h (VERSION): Bump to 2.0.98. - - * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios - here instead of including kernel_termios.h. - -1998-10-14 Andreas Jaeger - - * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is - unnecessary after the changes of 1998-10-12. - -1998-10-13 Ulrich Drepper - - * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output - parameter format string. - (inline_outw): Likewise. - - * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include - string.h to get memcpy prototype and NULL definition. - -1998-10-12 Andreas Schwab - - * misc/sys/cdefs.h (__THROW): New macro. - * argp/argp.h: Use it to replace the kludgey __P in inline - function definitions. - * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. - * stdlib/stdlib.h: Likewise. - * wcsmbs/wchar.h: Likewise. - * libio/stdio.h: Likewise. - * stdio/stdio.h: Likewise. - * sysdeps/wordsize-64/inttypes.h: Likewise. - * sysdeps/wordsize-32/inttypes.h: Likewise. - * string/argz.h: Likewise. + * intl/libintl.h: Likewise. + * io/fcntl.h: Likewise. * io/sys/stat.h: Likewise. - -1998-10-12 Andreas Schwab - - * Rules (stdio_lim): New variable. - ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend - on Rules and config.make, use $(move-if-change) to avoid unnessary - recompilations, and cleanup command. - (common-generated): Add bits/stdio_lim.st. - -1998-10-12 Ulrich Drepper - - * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New - variable to prevent warnings from use of modern CPU instructions. - Patch by Richard Henderson . - - * sysdeps/unix/opendir.c: Test whether NAME is directory before - opening it. - -1998-10-12 Philip Blundell - - * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing - semicolon so that profiling works. - -1998-10-12 Roland McGrath - - * sysdeps/generic/glob.c: #undef mempcpy before #define. - - * sysdeps/unix/bsd/clock.c: Use prototype defns. - -1998-10-11 Ulrich Drepper - - * Rules [posix in sysdirs]: Set L_tmpnam to 20. - Patch by Zack Weinberg . - - * string/bits/string2.h [!_STRING_ARCH_unaligned] - (__mempcpy_small): Add parameter for 1 byte copy and use it. - Reported by Geoff Keating . - -1998-10-09 Mark Kettenis - - * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove, - it is already defined in . - -1998-10-09 Ulrich Drepper - - * posix/ptestcases.h: Fix typo. - -1998-10-08 Andreas Schwab - - * posix/regex.c (regcomp): Allocate and prepare a fastmap. - (regexec): Allocate regs.start and regs.end as one block. - -1998-10-08 Andreas Schwab - - * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of - enum decl. - -1998-10-08 Philip Blundell - - * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of - sigcontext union to ... - * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here. New - file. - * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for - version 2.0 kernels. - -1998-10-08 Ulrich Drepper - - * malloc/mtrace.c (tr_reallochook): Produce better output for real - reallocation case. - - * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined. - * argp/argp-xinl.c: Likewise. - - * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing - Ruffian entry back. - Patch by Christian Gafton. - -1998-10-08 Paul Eggert - - * time/mktime.c (__mktime_internal): When the requested time falls - in a spring-forward gap of size DT, return a time that is DT away - from the requested time, preferring a time whose tm_isdst differs - from the requested value. Bump the max number of probes from 4 to - 6 to account for the extra probes needed to discover a - spring-forward gap in the worst case. - -1998-10-07 17:05 Ulrich Drepper - - * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection - of the weird alpha architectures. - Patch by Cristian Gafton . - -1998-02-18 23:31 Richard Henderson - - * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for - RAWHIDE and TSUNAMI. Patch from Jay.Estabrook@digital.com. - -1998-10-07 Ulrich Drepper - - * elf/dl-open.c (_dl_global_scope_alloc): Make global. - (dl_open_worker): Use realloc, not malloc to resize array. - * elf/rtld.c (_dl_initial_searchlist): New variable. - (_dl_main): Copy content of _dl_main_searchlist to - _dl_initial_searchlist. - * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and - _dl_global_scope_alloc. - * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist. - * elf/dl-close.c (_dl_close): When removing object with global - scope remove allocated searchlist if no dynamically loaded object - is on it anymore. - * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope. - (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist. - - * malloc/mtrace.c (tr_where): Don't print space in location string, - print it afterwards. Print better symbol name information. - -1998-10-06 Andreas Schwab - - * manual/filesys.texi (Setting Permissions): Fix example for - reading umask. - -1998-10-07 Andreas Schwab - - * elf/sprof.c (load_profdata): Fix typo in error message. - -1998-10-06 Andreas Schwab - - * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup - flag. - -1998-10-04 Roland McGrath - - * mach/mach.h: Remove __mach_msg decl; now does it. - -1998-10-06 Ulrich Drepper - - * version.h (VERSION): Bump to 2.0.97. - -1998-10-05 Andreas Jaeger - - * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P - in definitions of inline stat functions so that they match the - declaration. - * stdlib/stdlib.h: Likewise. - * wcsmbs/wchar.h: Likewise. + * io/sys/statfs.h: Likewise. + * io/sys/statvfs.h: Likewise. * libio/stdio.h: Likewise. - * stdio/stdio.h: Likewise. - * sysdeps/wordsize-64/inttypes.h: Likewise. - * sysdeps/wordsize-32/inttypes.h: Likewise. - * string/argz.h: Likewise. - * argp/argp.h: Likewise. - -1998-10-06 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in - netinet/in.h. - -1998-10-05 Philip Blundell - - * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures - and constants. Tidy up formatting a little. - - * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6): - Move definitions to in.h. - -1998-10-02 Andreas Jaeger - - * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER, - SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added. - Remove inclusion of . - -1998-10-05 Ulrich Drepper - - * io/sys/stat.h: Use __P in definitions of inline stat functions - so that they match the declaration. - -1998-10-02 Andreas Jaeger - - * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added. - -1998-10-02 Andreas Jaeger - - * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current - linux 2.1 version. - -1998-10-02 Philip Blundell - - * sysdeps/arm/dl-machine.h: Fix typo in last change. - - * sysdeps/arm/bits/huge_val.h: New file. - -1998-10-02 Andreas Jaeger - - * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added. - - * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add - define. - -1998-10-05 Ulrich Drepper - - * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to - store result of realloc instead of using BUF. - -1998-10-04 Andreas Jaeger - - * misc/sgtty.h (_SGTTY_H): Correct spelling. - Reported by Rouben Rostamian [PR libc/817]. - -1998-10-04 Andreas Jaeger - - * manual/memory.texi (Obstacks): Document - obstack_alloc_failed_handler usage. - - * malloc/obstack.h: Enhance comment about - obstack_alloc_failed_handler usage. - * malloc/obstack.c: Likewise. - -1998-10-05 Ulrich Drepper - - * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or - gcc before 2.8 is used. - -1998-10-01 Philip Blundell - - * sysdeps/arm/machine-gmon.h: Correct args to mcount(). Patch - from Scott Bambrough. - - * sysdeps/unix/sysv/linux/arm/register-dump.h: New file. - - * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't - include the lock member. - -1998-09-03 Philip Blundell - - * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler. - -1998-10-01 Ulrich Drepper - - * timezone/zic.c: Update from tzcode1998h. - * timezone/europe: Update from tzdata1998i. - * timezone/southamerica: Likewise. - - * sys/types.h: Protect use of long long by __extension__. + * login/utmp.h: Likewise. + * misc/mntent.h: Likewise. + * misc/search.h: Likewise. + * misc/sys/file.h: Likewise. + * misc/sys/ioctl.h: Likewise. + * misc/sys/select.h: Likewise. + * misc/sys/uio.h: Likewise. + * misc/sys/ustat.h: Likewise. + * posix/unistd.h: Likewise. + * posix/sys/times.h: Likewise. + * posix/sys/wait.h: Likewise. + * pwd/pwd.h: Likewise. + * resource/ulimit.h: Likewise. + * resource/sys/resource.h: Likewise. + * setjmp/setjmp.h: Likewise. + * shadow/shadow.h: Likewise. + * signal/signal.h: Likewise. + * socket/sys/socket.h: Likewise. + * stdlib/alloca.h: Likewise. * stdlib/stdlib.h: Likewise. * string/string.h: Likewise. - * sysdeps/i386/bits/byteswap.h: Likewise. - * sysdeps/geeric/bits/byteswap.h: Likewise. - * sysdeps/i386/fpu/bits/mathinline.h: Likewise. - * sysdeps/unix/sysv/linux/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. - * sysdeps/wordsize-32/inttypes.h: Likewise. - * sysdeps/wordsize-32/stdint.h: Likewise. + * sysdeps/generic/sys/mman.h: Likewise. + * sysdeps/unix/bsd/osf/sys/mman.h: Likewise. + * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise. + * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise. + * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise. + * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. + * sysdeps/unix/sysv/linux/sys/mman.h: Likewise. + * termios/termios.h: Likewise. + * time/time.h: Likewise. + * time/sys/time.h: Likewise. * wcsmbs/wchar.h: Likewise. -1998-09-29 Andreas Schwab - - * string/bits/string2.h (__string2_1bptr_p): Don't use a statement - expression. - (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk, - __strsep): Greatly reduce size of expansion by combining common - expressions. - (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to - inline function. - (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used - by the above definitions. - -1998-09-27 Geoff Keating - - * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use - correct struct ipc_perm definition. - -1998-09-29 Thorsten Kukuk - - * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free. - -1998-09-29 Cristian Gafton - - * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[]. - * sysdeps/unix/sysv/linux/net/if_shaper.h: New file. - * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h. - * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers): - Add net/if_shaper.h. - -1998-09-29 Ulrich Drepper - - * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind. - - * nis/ypclnt.c: Remove not needed close calls. - -1998-09-28 23:55 Ulrich Drepper - - * nis/ypclnt.c (__yp_bind): Pretty print. Optimize readv result - check a bit. Also close socket of domain client. Close socket - in IPPORT_RESERVED error case. - -1998-09-28 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use - CMSG_ALIGN (fixes a bug) and correct test for availability of - another entry. - * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic - Linux version. - (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for - availability of another entry. - Patch by ak@muc.de. - - * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo. - Patch by ak@muc.de. - - * libio/libio.h [!__STDC__]: Define const only if not defined. - -1998-09-27 Andreas Schwab - - * posix/annexc.c (xsystem): New function. Use it instead of - system. - -1998-09-28 Ulrich Drepper - - * stdlib/longlong.h: Remove #endif for #if removed in last change. - -1998-09-25 Ulrich Drepper - - * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu. - Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to - allow using `ut' parameter. - [!emacs]: Define ut_argument, ut_argument_spec, and - ut_argument_spec_iso as empty. Define ut to 0. Add ut_argument and - argument_spec to prototypes and definitions. - (my_strftime): Don't call tzset of ut != 0. - Compute diff as 0 is ut != 0; - [emacs]: Define new emacs_strftime function. - Based on a patch by Paul Eggert. - -1998-09-24 Paul Eggert - - * time/strftime.c (my_strftime): When asking for the length of the - subformatted buffer, do not limit the length to look for; - otherwise, we have no reliable way to distinguish between the - empty buffer and an error. - -1998-09-25 Ulrich Drepper - - * math/Makefile (gmp-objs): Add mp_clz_tab. - -1998-09-25 David S. Miller - - * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't - set them. - * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for - cpus lacking hardware multiply and divide. - -1998-09-24 Andreas Schwab - - * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use - $( - - * db/btree/bt_delete.c: Fix -Wparentheses warning. - -1998-09-24 Andreas Schwab - - * Makefile ($(inst_includedir)/gnu/lib-names.h): Use - $(do-install). - -1998-09-24 Ulrich Drepper - - * debug/catchsegv.sh: Also produce output if clone process died. - -1998-09-24 Paul Eggert - - * time/strftime.c (f_wkday): Remove duplicate definition. - (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when - !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the - 1998-09-11 fix to this case. - (wkday_len, month_len): Remove these macros; they're no longer needed. - -1998-09-24 Paul Eggert - - * time/strftime.c (my_strftime): Don't store past the end of a - zero-sized buffer. - -1998-09-24 Paul Eggert - - * time/strftime.c (underlying_strftime): - Set the buffer to a nonzero value before calling - strftime, and check to see whether strftime has set the buffer to zero. - This lets us distinguish between an empty buffer and an error. - -1998-09-24 Paul Eggert - - * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000. - This fix is propagated from tzcode1998g.tar.gz. - -1998-09-24 Mark Kettenis - - * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for - _sys_siglist. [!HAVE_GNU_LD]: Do not define _sys_siglist as - sys_siglist. This is handled correctly by the weak_alias macro. - -1998-09-24 Ulrich Drepper - - * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition - of mempcpy. Reported by Andreas Jaeger. - - * misc/regexp.h (compile): Use alloca instead of __alloca. It won't - pollute the namespace since the compiler will resolve it inline. - Reported by Florian La Roche . - -1998-09-24 10:29 Ulrich Drepper - - * timezone/private.h: Update from tzcode1998g. - - * timezone/africa: Update from tzdata1998h. - * timezone/asia: Likewise. - * timezone/australasia: Likewise. - * timezone/europe: Likewise. - * timezone/northamerica: Likewise. - * timezone/southamerica: Likewise. - * timezone/zone.tab: Likewise. - -1998-09-23 17:28 -0400 Zack Weinberg - - * misc/sys/mman.h: New file. - - * sysdeps/generic/bits/mman.h: New file. - * sysdeps/unix/bsd/osf/bits/mman.h: New file. - * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file. - * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file. - * sysdeps/unix/sysv/irix4/bits/mman.h: New file. - - * sysdeps/generic/sys/mman.h: Removed. - * sysdeps/unix/bsd/osf/sys/mman.h: Removed. - * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed. - * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed. - * sysdeps/unix/sysv/irix4/sys/mman.h: Removed. - * sysdeps/unix/sysv/linux/sys/mman.h: Removed. - - * include/sys/mman.h: Look directly for misc/sys/mman.h. - * misc/Makefile (headers): Add bits/mman.h. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove - bits/mman.h. - - * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h. - * sysdeps/unix/sysv/linux/arm/Dist: Likewise. - * sysdeps/unix/sysv/linux/i386/Dist: Likewise. - * sysdeps/unix/sysv/linux/m68k/Dist: Likewise. - * sysdeps/unix/sysv/linux/mips/Dist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise. - -1998-09-23 16:27 -0400 Zack Weinberg - - * sysdeps/mach/alpha/sysdep.h: Don't use #include_next. - * sysdeps/mach/alpha/thread_state.h: Likewise. - * sysdeps/mach/i386/sysdep.h: Likewise. - * sysdeps/mach/i386/thread_state.h: Likewise. - * sysdeps/mach/mips/sysdep.h: Likewise. - * sysdeps/mach/mips/thread_state.h: Likewise. - * sysdeps/posix/profil.c: Likewise. - * sysdeps/i386/i586/memcopy.h: Likewise. - * sysdeps/mach/pagecopy.h: Likewise. - -1998-09-23 15:25 Ulrich Drepper - - * libio/stdio.h: Define __need_getopt and include getopt.h to define - getopt stuff. - * posix/unistd.h: Likewise. - * stdio/stdio.h: Likewise. - * posix/getopt.h: Remove _GNU_SOURCE use. If __need_getopt is defined - define only getopt and the variables. - -1998-09-23 Andreas Jaeger - - * scripts/test-installation.pl (installation_problem): Don't link - the test program against libdb1. - -1998-09-23 13:52 Ulrich Drepper - - * Makeconfig (all-subdirs): Add db. - * Versions.def: Add definition for libdb1. - * shlib-versions: Add definitions for libdb1. - * db/Makefile (extra-libs): Replace by libdb1. - (libdb-routines): Rename to libdb1-routines. - (headers): Rename to db1-headers. - (distribute): Add $(db1-headers). - (install-others): Define to install symlink libdb.so.NN and the - $(db1-headers). - (CPPFLAGS): Add -DUSE_LIBDB1 - Remove rules to build makedb. - * db/Versions: Rename libdb to libdb1. - * include/db.h: If USE_LIBDB1 is defined include db/db.h. - * db/makedb.c: Removed. - - * scripts/versions.awk: Recognize digits in library names. - - * db/btree/bt_open.c: Fix compiler warnings. - * db/btree/bt_put.c: Likewise. - * db/btree/bt_split.c: Likewise. - * db/hash/hash.c: Likewise. - * db/hash/hash_bigkey.c: Likewise. - * db/recno/rec_close.c: Likewise. - - * Makefile: Add localedata/% goal. - -1998-09-22 19:58 -0400 Zack Weinberg - - * posix/execvp.c: Don't give up searching the PATH if execve - returns ENOTDIR. - -1998-09-22 12:53 Ulrich Drepper - - * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only - if _dl_fpu_control_set is set. - * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set. - * elf/rtld.c: Don't define _dl_fpu_control_set. - * elf/Versions: Remove _dl_fpu_control_set. - -1998-09-22 11:51 Ulrich Drepper - - * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define. - * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise. - Correct values of other SA_* macros according to kernel headers. - -1998-09-22 Andreas Schwab - - * elf/dl-load.c (_dl_init_paths): Avoid warning about unused - variable l. - * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering - old. - -1998-09-21 Andreas Schwab - - * elf/ldsodefs.h: Fix typo in comment. - -1998-09-21 Andreas Schwab - - * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned - char when comparing buffer contents with putback character. - -1998-09-21 Andreas Schwab - - * elf/Makefile (dl-routines, elide-routines.os, rtld-routines): - Undo last change. - * elf/Versions: Undo last change. Export _dl_fpu_control and - _dl_fpu_control_set. - * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New - variables. Include . - * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in - _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set - to indicate that is was seen. - * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw - only if _dl_fpu_control was set and is equal to desired value. - * math/Makefile (aux): Undo last change. - * math/Versions: Export __fpu_control with version GLIBC_2.0. - -1998-09-21 Andreas Schwab - - * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly - optimized. - -1998-09-21 10:00 Ulrich Drepper - - * string/bits/string2.h: Add mempcpy optimization. - * sysdeps/generic/mempcpy.c: Undefined __mempcpy. - * intl/localealias.c: Define mempcpy only if not already defined. - - * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already - defined. - -1998-09-20 10:48 -0400 Zack Weinberg - - * csu/abi-note.S: Emit the note directly instead of defining - a preprocessor macro that's only used once. Don't include sysdep.h. - * abi-tags: Generalize Solaris entry. - -1998-09-18 Andreas Schwab - - * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2): - Change to array to avoid runtime relocation. - * sysdeps/unix/sysv/linux/ptsname.c: Update declarations. - -1998-09-21 12:22 Andreas Schwab - - * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S). - * math/Makefile ($(objpfx)libieee.a): Likewise. - -1998-09-21 Ulrich Drepper - - * sysdeps/generic/getpt.c: Fix order of argument to weak_alias. - Patch by John Tobey . - -1998-09-20 Ulrich Drepper - - * login/Makefile (distribute): Remove pty-internal.h, add - pty-private.h. - - * stdlib/tst-strtol.c: Add more checks. - Patch by Zack Weinberg . - -1998-09-20 09:37 Ulrich Drepper - - * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control. - * elf/elf.h: Add AT_FPUCW. - * elf/Makefile (dl-routines): Add fpu_control. - (elide-routines.os): Add fpu_control. - (rtld-routines): Add fpu_control. - * math/Makefile (aux): Remove fpu_control. - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW. - (_dl_show_auxv): Likewise. - * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only - if different from OS default. - - * stdio-common/tstscanf.c: Add test case for (nil). - -1998-09-18 17:41 Ulrich Drepper - - * libio/fileops.c (_IO_new_file_underflow): Before allocating - buffer make sure the pushback buffer is destroyed. - (_IO_new_file_seekoff): Likewise. - If mode==0 quit early with the result. - Clear OEF flag after successful fseek. - * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr. - * libio/ftello.c (ftello): Add offset from original buffer if - stream has pushed back characters. - * libio/ftello64.c (ftello64): Likewise. - * libio/iofgetpos.c (_IO_fgetpos): Likewise. - * libio/iofgetpos64.c (_IO_fgetpos64): Likewise. - * libio/ioftell.c (_IO_ftell): Likewise. - * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr - and _IO_save_ptr. - (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr. - (_IO_default_pbackfail): Only stored push back character in original - buffer if it is the same as the one in the file at this position. - * libio/iofclose.c: Free backup buffer if one is available. - * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if - mode!=0. - - * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly. - - * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12. - - * stdio-common/vfscanf.c: Fix reading (nil) for %p. - -1998-09-18 Mark Kettenis - - * login/programs/pt_chown.c (more_help): Correct message that - describes the purpose of the program. - - * login/openpty.c: Do not include pty-private.h. - (pts_name): New function. Return name of slave pseudo terminal in - an allocated buffer if necessary. - (openpty): Use pts_name to get name of the slave end of the pseudo - terminal pair. - - * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by - pts_name before return. - -1998-09-18 11:15 Ulrich Drepper - - * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__. - -1998-09-18 Andreas Jaeger - - * login/openpty.c: Include pty-private.h instead of - pty-internal.h. - -1998-09-09 Philip Blundell - - * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit. - -1998-09-07 Philip Blundell - - * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with - recent ld.so changes. - (elf_machine_runtime_setup): Correct behaviour when profiling. - -1998-09-17 19:34 Ulrich Drepper - - * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo. - Patch by John Tobey . - -1998-09-17 Mark Kettenis - - * login/pty-internal.h: Removed. Moved constants related to the - `grantpt' helper program protocol to ... - * login/pty-private.h: ... here. New file. - * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation - to make the function work with kernels >= 2.1.115. - * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD - version if using the cloning device fails. - * sysdeps/unix/sysv/linux/grantpt.c: New file. - * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup. - * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow - use by Linux specific code. - * sysdeps/unix/bsd/unlockpt.c: General cleanup. - * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New - function. (grantpt): Use pts_name, check group and permission - mode in addition to owner. Try to set the owner, group and - permission mode first without invoking the helper program. - * login/programs/pt_chown.c: Largely rewritten. Add argp and - internationalization support. Use symbolic constants instead of - hardwired numbers for permission mode. - * sysdeps/unix/bsd/ptsname.c: New file. - -1998-09-17 22:04 Tim Waugh - - * posix/wordexp-test.c: Undo last change. - - * posix/wordexp.c: Undo last change. - -1998-09-16 Ulrich Drepper - - * nscd/grpcache.c (save_grp): Partly undo last change. - - * nscd/pwdcache.c (save_pwd): Undo last change. - -1998-09-14 Andreas Jaeger - - * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy - function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789]. - -1998-09-15 David S. Miller - - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup): - Add profiling support. - (TRAMPOLINE_TEMPLATE): New macro. - (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that. - (RTLD_START): Prettify, and set __libc_stack_end properly. - (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef - and check for sym being NULL instead. - * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes - of stack space. - * sysdeps/sparc/sparc64/lshift.S: Likewise. - * sysdeps/sparc/sparc64/mul_1.S: Likewise. - * sysdeps/sparc/sparc64/rshift.S: Likewise. - * sysdeps/sparc/sparc64/submul_1.S: Likewise. - * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old - MEDANY code model %g4 usage. - * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old - MEDANY code model %g4 usage. - * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY - code model address formation. - * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do - include elf/ldsodefs.h - (DT_SPARC): Remove. - (elf_machine_matches_host): It is now EM_SPARCV9. - (elf_machine_dynamic): Clean up to remove ugly cast. - (elf_machine_fixup_plt): Rework for new V9 ABI, add support for - new PLT formats. - (elf_machine_rela): Don't do anything at all for R_SPARC_NONE. - Prettify rest of function. - [R_SPARC_COPY]: Check for sym being NULL. - [R_SPARC_32]: Handle it. - [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the - MEDMID code model. - [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the - MEDANY code model. - [R_SPARC_NONE]: Remove this case, as it is now checked earlier. - (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats. - Add profiling support. - (TRAMPOLINE_TEMPLATE): New macro. - (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that. - (RTLD_START): Prettify and set __libc_stack_end. - * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO): - Define. - * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64. - (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define. - * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove - unused variable scratch. - * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c - (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub): - Declare. - (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn - stub to rt_sigaction syscalls. Rewrite non-rt case to use correct - old format kernel sigaction structures. - * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move... - * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here. - * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix - ucontext include. - (_JMPBUF_UNWINDS): Define. - * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare - statfs64 structure, which is exactly the same as the normal one. - * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes - of stack. Use correct syscall trap number. Add branch prediction - settings to branch instructions. Remove old MEDANY code model %g4 - referneces for non-PIC. - * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add - __libc_longjmp and __libc_siglongjmp strong aliases. - * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64): - Also define to __no__readdir64_decl around readdir.c inclusion. - (__readdir64): Add strong alias. - * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit): - Set strong and weak names properly. - -1998-09-16 11:25 Andreas Schwab - - * manual/Makefile (AWK): Default to gawk if standalone. - -1998-09-15 Andreas Schwab - - * Makefile (distribute): Undo last change. - * Make-dist (+tsrc) [not subdir]: Also include indirection headers - for sysdep headers. - (+subdir-headers): Removed, unused. - -1998-09-15 Andreas Schwab - - * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use - $(do-install). - -1998-09-15 Andreas Schwab - - * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for - absolute name in $(config-sysdirs), can never happen. - ($(+sysdir_pfx)sysd-rules): Likewise. - * Makeconfig (full-config-sysdirs): Likewise. - (all-Subdirs-files): Prepend $(..). - - * configure.in: Don't check for absolute name in $add_ons_pfx, can - not happen. Let --enable-add-ons=yes work if no add-ons actually - exist. - -1998-09-15 Andreas Schwab - - * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra - continuations in command. - -1998-09-15 Andreas Schwab - - * libio/oldstdfiles.c (_IO_stdin_used): Update declaration. - -1998-09-16 00:47 Tim Waugh - - * posix/wordexp-test.c: If expansion or substitution occurs - anywhere in a word, the entire word is subject to field-splitting. - - * posix/wordexp.c (parse_glob): Look for end of word instead of - end of field when deciding what to glob. - (field_split_word): New function, now the only place where - field-splitting is performed. - (parse_dollars): New parameter - tell the caller if - field-splitting should be performed on this word. - - * posix/wordexp-test.c (testit): Only call wordfree if wordexp - succeeded (or failed with WRDE_NOSPACE). - -1998-09-15 19:53 1998 Tim Waugh - - * posix/wordexp.c (wordexp): Don't convert IFS characters to - blanks. - - * posix/wordexp-test.c: Words not the result of expansion or - substitution should remain unchanged. - -1998-09-15 Ulrich Drepper - - * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP] - (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy. - -1998-09-15 Andreas Jaeger - - * stdio-common/Makefile: Include Makeconfig so that - $(inst_includedir) is defined. - -1998-09-14 Andreas Schwab - - * io/pwd.c: Include . - -1998-09-15 08:00 Ulrich Drepper - - * nscd/pwdcache.c (save_pwd): Correct copying. - * nscd/grpcache.c (save_grp): Likewise. - -1998-09-14 23:36 Ulrich Drepper - - * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call. - (free_pwd): Adjust for this change. - * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call. - (free_grp): Adjust for this change. - -1998-09-14 Ulrich Drepper - - * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size. - -1998-09-14 15:29 Ulrich Drepper - - * stdio-common/Makefile (headers): Remove bits/stdio_lim.h. - (install-others): Add bits/stdio_lim.h. - Add rule to install bits/stdio_lim.h. - - * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file. - - * Makefile (distribute): Add include/sys/mman.h. - - * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S. - * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h. - * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h. - - * grp/initgroups.c: Include stdlib.h. - Patch by Zack Weinberg. - -1998-09-14 22:46 Tim Waugh - - * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour - for field-splitting :abc: is correct, and that two fields should - result. Revert tests to reflect this. - - * posix/wordexp.c (w_emptyword): Remove function. - (exec_comm): Don't use w_emptyword. - (parse_param): Likewise. - -1998-09-14 15:00 Ulrich Drepper - - * sysdeps/arm/fpu/Dist: Moved to... - * sysdeps/arm/Dist: ...here. - * sysdeps/posix/Dist: Removed. - * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to... - * sysdeps/unix/sysv/linux/i386/Dist: ...here. - -1998-08-26 Geoff Keating - - * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable. - -1998-09-14 11:26 Ulrich Drepper - - * wcsmbs/wcsmbs-tst1.c: Include stdlib.h. - -1998-09-14 Thorsten Kukuk - - * libc-work/nis/nss_nisplus/nisplus-service.c - (_nss_nisplus_parse_servent): Convert port in network byte order. - -1998-09-14 07:53 -0400 Zack Weinberg - - * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc, - to provide only malloc and calloc. - * include/stdlib.h: Support the above. - * string/bits/string2.h: Use __need_malloc_and_calloc when - including stdlib.h. - (__string2_1bptr_p): Avoid -Wbad-function-cast warnings. - - * iconvdata/iso-2022-jp.c: Include . - * iconvdata/iso646.c: Include . - -1998-09-14 07:51 -0400 Zack Weinberg - - * sunrpc/rpc_cout.c: Add braces around ambiguous else. - * sysdeps/libm-ieee754/w_pow.c: Likewise. - * sysdeps/libm-ieee754/w_powf.c: Likewise. - * sysdeps/libm-ieee754/w_powl.c: Likewise. - -1998-09-14 07:57 -0400 Zack Weinberg - - * stdio-common/stdio_lim.h.in: New file. All parameters - are adjustable at build time. - * Rules: Add a rule to build bits/stdio_lim.h from - stdio-common/stdio_lim.h.in. (It has to be in Rules so that - all subdirectories know how to make the file. It can't be - in Makerules because then it gets built at top level and the - dependencies are wrong.) - - * stdio-common/Makefile (distribute): Add stdio_lim.h.in. - * sysdeps/unix/sysv/linux/Makefile: Delete rules to make - stdio_lim.h. - * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed. - * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in. - * sysdeps/posix/Makefile: Removed. - * sysdeps/posix/mk-stdiolim.c: Removed. - * sysdeps/generic/bits/stdio_lim.h: Removed. - -1998-09-12 Andreas Schwab - - * argp/argp-help.c: Fixup indentation. - * nss/nss_files/files-alias.c: Quiet -Wparentheses warning. - * resolv/nss_dns/dns-network.c: Likewise. - * resolv/res_send.c: Likewise. - * rt/aio_cancel.c: Likewise. - * rt/aio_misc.c: Likewise. - -1998-09-12 Andreas Schwab - - * Makefile (install-symbolic-link): Remove the link list file at last. - * Makerules (install-clean-symbolic-link-list): Removed. - -1998-09-12 Andreas Schwab - - * timezone/tst-timezone.c: Print time in UTC to get consistent - output. - -1998-09-12 Andreas Schwab - - * elf/rtld.c (_dl_rpath): Removed. - * elf/dl-support.c (_dl_path): Removed. - * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath. - (CFLAGS-dl-support.c): Removed. - - * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All - uses changed. - (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH, - instead of appending it to the main map's rpath info. - (_dl_map_object): Consistently use LD_LIBRARY_PATH after all - DT_RPATHs. This makes it effective again. - (decompose_rpath): Remove second parameter, callers changed. - (fillin_rpath): Allocate enough space in curwd. - (expand_dynamic_string_token): Cope with get_origin returning -1. - -1998-09-14 Thorsten Kukuk - - * libc-work/nis/nss_compat/compat-pwd.c: Add support for - passwd.adjunct. - - * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for - invalid password. - -1998-09-13 18:06 Ulrich Drepper - - * locale/programs/locale.c: Update dates. - -1998-09-13 Mark Kettenis - - * sysdeps/generic/bits/types.h: Include . Make sure - size_t is defined. Some reordering of definitions to make - maintaining this file in parallel with the linux-specific file easier. - -1998-09-13 Ulrich Drepper - - * io/pwd.c (main): Add call to mtrace. - - * malloc/mtrace.pl: Quote @ in string. - -1998-09-13 19:25 Tim Waugh - - * posix/wordexp.c (parse_arith): Fix memory leaks. - (exec_comm): Likewise. - (parse_param): Likewise. - (wordexp): Likewise. - (exec_comm): Reduce number of function return points. - (parse_param): Likewise. - (wordexp): Likewise. - -1998-09-13 14:53 Tim Waugh - - * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should - yield three fields, not two. Test both parameter expansion and - command substitution for correct field-splitting behaviour. - - * posix/wordexp.c (w_emptyword): New function. - (parse_param): Use it. - (exec_comm): Likewise, for consistency with the way parse_param - splits fields. - (parse_param): Fix some memory leaks. - -1998-09-13 18:04 Geoff Keating - - * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI): - Don't mark asm `volatile'. - (__elf_machine_runtime_setup): Clear the last partial block in the PLT - from the data cache too. Assume it isn't in the instruction cache yet. - (__elf_machine_fixup_plt): Clear the modified address from the caches. - -1998-09-12 Mark Kettenis - - * sysdeps/generic/segfault.c (install_handler): Install signal - handler with SA_ONSTACK instead of setting the stack flags to - SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not - defined. - -1998-09-12 14:24 -0400 Zack Weinberg - - * signal/signal.h: Fix multiple inclusion guard to cover the - entire file. - * wcsmbs/wchar.h: Remove prototype of internal function - __mbsrtowcs. - * sysdeps/i386/i486/bits/string.h (memchr): Don't do - arithmetic on `void *'. - -1998-09-12 01:09 Tim Waugh - - * posix/wordexp-test.c: Fix wrong tests. Add new tests. - - * posix/wordexp.c (wordexp): Perform word-splitting instead of - field-splitting here. - (wordexp): If out of memory mid-word, free the word (but still - leave pwordexp alone for caller to see). - (parse_param): Allow for zero-length fields (smarter checking of - memory allocation failure). - (w_addword): Convert NULL words to "". - (wordexp): Convert left-over IFS characters to blanks (like bash). - -1998-09-11 Ulrich Drepper - - * configure.in: Use test -f instead of test -e. - Patch by John Tobey . - - * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file. - * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file. - * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file. - * sysdeps/unix/sysv/linux/sigstack.c: Fix typo. - * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo. - * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file. - * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file. - Patches by John Tobey . - - * time/strftime.c (my_strftime): Delay use of *tp values until - latest possible point to allow partly initialized structures - (e.g., from strptime). - - * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO, - and NATS-SEFI. - Define *-routines variables for new modules. - (distribute): Add .c files for new modules. - (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h, - and nats-sefi.h. - Add rules for header generation. - * iconvdata/gconv-modules: Add entries for new modules. - * iconvdata/iso_10367-box.c: New file. - * iconvdata/mac-is.c: New file. - * iconvdata/nats-dano.c: New file. - * iconvdata/nats-sefi.c: New file. - -1998-04-30 18:20 H.J. Lu - - * elf/dl-load.c (_dl_init_paths): Don't check the dynamic - loader if PIC is not defined. - -1998-09-11 Ulrich Drepper - - * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS, - ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS, - INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT, - and ISO_5428. - Define *-routines variables for new modules. - (distribute): Add .c files for new modules. - (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h, - ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h, - greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h, - iso_5427.h, iso_5427-ext.h, and iso_5428.h. - Add rules for header generation. - * iconvdata/gconv-modules: Add entries for new modules. - * iconvdata/csn_369103.c: New file. - * iconvdata/cwi.c: New file. - * iconvdata/dec-mcs.c: New file. - * iconvdata/ecma-cyrillic.c: New file. - * iconvdata/gost_19768-74.c: New file. - * iconvdata/greek-ccitt.c: New file. - * iconvdata/greek7-old.c: New file. - * iconvdata/greek7.c: New file. - * iconvdata/inis-8.c: New file. - * iconvdata/inis-cyrillic.c: New file. - * iconvdata/inis.c: New file. - * iconvdata/iso6937-2.c: New file. - * iconvdata/iso_2033.c: New file. - * iconvdata/iso_5427-ext.c: New file. - * iconvdata/iso_5427.c: New file. - * iconvdata/iso_5428.c: New file. - - * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9 - entries. - Convert U02dd correctly. - -1998-09-11 20:46 Richard Henderson - - * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to - _dl_main_searchlist not _dl_default_scope to _dl_init_next. - * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise. - * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise. - -1998-09-11 Ulrich Drepper - - * resolv/res_init.c (res_init): Handle resolv.conf file with only - one nameserver correctly. Patch by HJ Lu. - - * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449, - and ANSI_X3.110. - Define *-routines variables for new modules. - (distribute): Add .c files for new modules. - (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h. - Add rules for hedaer generation. - * iconvdata/gconv-modules: Add entries for new modules. Pretty print. - * iconvdata/ansi_x3.110.c: New file. - * iconvdata/asmo_449.c: New file. - * iconvdata/baltic.c: New file. - * iconvdata/iec_p27-1.c: New file. - - * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81 - entries. - Convert U02dc correctly. - - * math/atest-exp.c: Add parentheses to avoid gcc warnings. - * math/atest-exp2.c: Likewise. - * math/atest-sincos.c: Likewise. - - * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE - is defined. - -1998-09-11 10:51 Andreas Schwab - - * string/strcoll.c: Optimize a few expressions. - * string/strxfrm.c: Likewise. - -1998-09-02 Andreas Jaeger - - * manual/locale.texi: Fix typos. - -1998-09-10 Ulrich Drepper - - * stdlib/random_r.c (__setstate_r): Allow call with same state - array as currently used (PR libc/774). - - * include/limits.h: Include gcc's header even if this file is - found more than once before it (PR libc/778) - - * sysdeps/unix/sysv/linux/Makefile [subdir==misc] - (sysdep_headers): Remove sys/debugreg.h. - * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc] - (sysdep_headers): Add sys/debugreg.h. - * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed. - * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file. - - * stdio-common/tmpnam.c: Move local static variable buf to - toplevel and rename to tmpnam_buffer to ease debugging. - Patch by Joe Keane . - Optimize s == NULL case a bit. - - * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap - correction. - -1998-09-10 12:51 Ulrich Drepper - - * resolv/res_init.c (res_init): Initialize _res.nscount and - _res.nsaddr.sin_port differently for the can when no loopback - is available to allow immediate timeout in non-networking environments. - Patch by Cristian Gafton . - -1998-09-10 Andreas Jaeger - - * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL - BAR and not EM DASH. - * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0). - * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF). - Fixes PR libc/717. - -1998-09-10 11:53 Ulrich Drepper - - * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files - for test. - * timezone/tst-timezone.c (tests): Fix typo in last patch. - - * time/tzfile.c (__tzfile_read): Handle case when there are no - transitions. Set __timezone based on computed offset. - * time/tzset.c (tzset_internal): Set __timezone before returning. - - * time/tzset.c (tzset_internal): Optimize handling of local string - copy. - -1998-09-10 Andreas Jaeger - - * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR - libc/776). - -1998-09-09 Benjamin Kosnik - - * math/libm-test.c (exp10_test): Adapt epsilons for powerpc. - (csqrt_test): Likewise. - * sysdeps/powerpc/bits/fenv.h: Add parens. - -1998-09-09 18:48 Ulrich Drepper - - * sysdeps/powerpc/dl-start.S (_start): Pass pointer to - _dl_main_searchlist not _dl_default_scope to _dl_init_next. - Patch by Benjamin Kosnik . - -1998-09-09 Mark Kettenis - - * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is - the special `-1' pointer. - -1998-09-09 09:32 Ulrich Drepper - - * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function - inline. - -1998-09-07 Paul Eggert - - * time/mktime.c (__EXTENSIONS__): Define if not defined. - (_REENTRANT): Remove. It has undesirable consequences in - Solaris 2.6 (e.g. it turns off the putc macro). Defining - __EXTENSIONS__ makes localtime_r and gmtime_r visible, which - is what we want. - * time/strftime.c: Likewise. - -1998-09-08 Andreas Schwab - - * elf/dl-error.c: Fix spelling. - -1998-09-08 Andreas Schwab - - * stdlib/strfmon.c: Quiet -Wparentheses warnings. - * stdio-common/_itoa.c: Likewise. - * stdio-common/printf_fp.c: Likewise. - * stdio-common/vfscanf.c: Likewise. - * wcsmbs/wcstok.c: Likewise. - * sysdeps/generic/glob.c: Likewise. - * posix/getopt.c: Likewise. - * sysdeps/posix/getaddrinfo.c: Likewise. - * posix/wordexp.c: Likewise. - * io/ftw.c: Likewise. - * io/fts.c: Likewise. - * misc/getpass.c: Likewise. - * iconv/gconv_conf.c: Likewise. - * argp/argp-fmtstream.c: Likewise. - * argp/argp-help.c: Likewise. - * elf/dl-load.c: Likewise. - * locale/programs/stringtrans.c: Likewise. - * catgets/gencat.c: Likewise. - * posix/getconf.c: Likewise. - * iconv/gconv_conf.c: Likewise. - * iconv/iconv_prog.c: Likewise. - - * string/strcoll.c: Optimize a few expressions. - * string/strxfrm.c: Likewise. - -1998-09-08 Andreas Schwab - - * elf/dl-open.c (dl_open_worker): Move decl of new_global up one - level to avoid uninit variable warning. - -1998-09-09 10:34 Andreas Schwab - - * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist - instead of _dl_default_scope[2] as argument to _dl_init_next. - - * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with - C9x macro. - -1998-09-08 Ulrich Drepper - - Fix compatibility problems introduced in last change. - * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is - defined. - * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add - -DWEAK_GMON_START to CFLAGS-initfini.s. - - * elf/dl-object.c (_dl_new_object): Store map address in - _dl_loaded if _dl_loaded is NULL. - * elf/rtld.c (dl_main): Don't update _dl_loaded here. - - * sysdeps/generic/setrlimit64.c: Remove stub warning. - -1998-09-07 Ulrich Drepper - - * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc - quiet. - * db2/btree/bt_cursor.c: Likewise. - * db2/common/db_region.db_c: Likewise. - * db2/common/db_salloc.db_c: Likewise. - * db2/db/db.c: Likewise. - * db2/db/db_rec.c: Likewise. - * db2/hash/hash.c: Likewise. - * db2/hash/hash_page.c: Likewise. - * db2/hash/hash_rec.c: Likewise. - * db2/log/log_findckp.c: Likewise. - * db2/log/log_get.c: Likewise. - * db2/log/log_put.c: Likewise. - * db2/mp/mp_fget.c: Likewise. - * db2/mp/mp_fput.c: Likewise. - * db2/mp/mp_region.c: Likewise. - * stdlib/strtol.c: Likewise. - * string/strcoll.c: Likewise. - * string/strxfrm.c: Likewise. - * argp/argp-help.c: Likewise. - * argp/argp-parse.c: Likewise. - * resolv/res_debug.c: Likewise. - -1998-09-07 09:58 Ulrich Drepper - - * math/tgmath.h (scalb): Only define for __USE_MISC or - __USE_XOPEN_EXTENDED. Patch by Zack Weinberg. - -1998-09-06 Andreas Schwab - - * libio/stdio.h: Fix comment. - - * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if - __USE_ISOC9X. - -1998-09-06 09:53 -0400 Zack Weinberg - - * Makeconfig (+gccwarn): Remove -Wno-parentheses. - - * elf/dl-open.c: Quiet -Wparentheses warnings. - * iconvdata/johab.c: Likewise. - * iconvdata/uhc.c: Likewise. - * inet/inet_net.c: Likewise. - * io/fts.c: Likewise. - * locale/newlocale.c: Likewise. - * misc/getttyent.c: Likewise. - * misc/mntent_r.c: Likewise. - * misc/ttyslot.c: Likewise. - * nscd/nscd_conf.c: Likewise. - * nss/nsswitch.c: Likewise. - * resolv/gethnamaddr.c: Likewise. - * resolv/nsap_addr.c: Likewise. - * resolv/res_debug.c: Likewise. - * stdio-common/_itoa.c: Likewise. - * stdlib/strtod.c: Likewise. - * string/strverscmp.c: Likewise. - * sunrpc/svc.c: Likewise. - * sysdeps/libm-ieee754/e_cosh.c: Likewise. - * sysdeps/libm-ieee754/e_gamma_r.c: Likewise. - * sysdeps/libm-ieee754/e_sinh.c: Likewise. - * sysdeps/posix/getaddrinfo.c: Likewise. - -1998-09-06 15:13 Ulrich Drepper - - * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test - for use of global scope. - * elf/dlvsym.c (dlvsym_doit): Likewise. - -1998-09-02 Paul Eggert - - * strftime.c (my_strftime): When mbrlen returns (size_t) -2, - copy the redundant bytes at the end of the format as-is; don't - just copy their first byte and then rescan, as that might get - us an encoding error. - Account correctly for the length of multibyte sequences in the - format. - -1998-09-03 20:14 Tim Waugh - - * posix/wordexp-test.c: Add tests for different IFS values. - Change unquoted-newline test so that newline is not in IFS. - - * posix/wordexp.c (wordexp): Correct null/unset mix-up when - determining IFS characters. Return WRDE_BADCHAR for unquoted - special characters _except_ if they are separators. - -1998-09-06 10:56 Ulrich Drepper - - * include/tgmath.h: New file. - - * libio/stdio.h: Correct reversed #ifs. - Patch by Zack Weinberg. - - * manual/creature.texi: Better explain reason for feature select - macros. - Patch by Michael Deutschmann . - -1998-09-06 10:25 -0400 Zack Weinberg - - * include/alloca.h: Add multiple-inclusion guard. - * include/db.h: Likewise. + * include/alloca.h: Add __ prototypes here. * include/db_185.h: Likewise. + * include/dirent.h: Likewise. * include/dlfcn.h: Likewise. * include/fcntl.h: Likewise. * include/grp.h: Likewise. @@ -5709,6 +129,7 @@ * include/termios.h: Likewise. * include/time.h: Likewise. * include/ulimit.h: Likewise. + * include/unistd.h: Likewise. * include/utmp.h: Likewise. * include/wchar.h: Likewise. * include/sys/file.h: Likewise. @@ -5718,960 +139,12411 @@ * include/sys/resource.h: Likewise. * include/sys/select.h: Likewise. * include/sys/socket.h: Likewise. + * include/sys/stat.h: Likewise. * include/sys/statfs.h: Likewise. * include/sys/time.h: Likewise. * include/sys/times.h: Likewise. + * include/sys/uio.h: Likewise. * include/sys/wait.h: Likewise. -1998-09-06 09:00 Ulrich Drepper + * Makeconfig (+includes): Search in $(..)include first. - * version.h (VERSION): Bump to 2.0.96. + * io/fstat.c: Undefine __fstat. + * io/lstat.c: Undefine __lstat. - Rewrite runtime linker to be truly thread-safe. There is now no - global variable specifying the scope. We create all needed - scopes at the time the link maps are created. - * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist. - * elf/link.h: Add struct r_scope_elem and use this for l_searchlist, - l_symbolic_searchlist, l_scope, and l_local_scope elements in - struct link_map. - * elf/dl-close.c: Rewritten accordingly. + * wcsmbs/Versions: Add __mbrlen. + +1998-08-09 Ulrich Drepper + + * elf/dl-reloc.c (_dl_relocate_object): Implement DT_BIND_NOW. + +1998-07-31 17:59 Ulrich Drepper + + * sysdeps/generic/bits/byteswap.h: Fix problems with side effects. + + * manual/filesys.texi: Document truncate and ftruncate. + Patch by Michael Deutschmann . + + * shadow/putspent.c: Lock stream while generating the output. + + * sunrpc/clnt_unix.c: Use ucred instead of cmsgcred again. + (__msgwrite): Rewrite accordingly. + * sunrpc/svc_unix.c: Likewise. + * sysdeps/unix/sysv/linux/Dist: Remove __recvmsg.S and __sendmsg.S. + * sysdeps/unix/sysv/linux/Makefile [$(subdir)==socket] + (sysdep_routines): Remove __sendmsg and __recvmsg. + * sysdeps/unix/sysv/linux/__recvmsg.S: Removed. + * sysdeps/unix/sysv/linux/__sendmsg.S: Removed. + * sysdeps/unix/sysv/linux/recvmsg.c: Removed. + * sysdeps/unix/sysv/linux/sendmsg.c: Removed. + * sysdeps/unix/sysv/linux/recvmsg.S: New file. + * sysdeps/unix/sysv/linux/sendmsg.S: New file. + * sysdeps/unix/sysv/linux/bits/socket.h: Define SCM_CREDENTIALS and + struct ucred. Remove struct cmsgcred. + Patches by Thorsten Kukuk. + +1998-08-03 Andreas Jaeger + + * inet/rcmd.c (__ivaliduser): Allow '#' as comment character. + +1998-08-08 14:42 Ulrich Drepper + + * argp/argp-help.c: Prepare to be used outside glibc without gcc by + adding usual alloca cruft. + Reported by Eleftherios Gkioulekas . + +1998-04-05 Jim Meyering + + * lib/regex.c (WIDE_CHAR_SUPPORT): Define. + This now depends on HAVE_BTOWC so systems that lack btowc (like + solaris-2.5.1) don't lose. + +1998-08-07 Mark Kettenis + + * sysdeps/generic/bits/sigaction.h: Remove definition of SA_DISABLE. + * sysdeps/generic/bits/sigstack.h: Define SS_DISABLE, SS_ONSTACK, + MINSIGSTKZ and SIGSTKSZ. Definitions match BSD. + * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Use SS_ONSTACK + instead of SA_ONSTACK. + * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Renamed from + sigaltstack, and created a weak alias. Use SS_DISABLE and + SS_ONSTACK instead of SA_DISABLE and SA_ONSTACK. + * sysdeps/mach/hurd/sigstack.c (sigstack): Use SS_ONSTACK instead + of SA_ONSTACK. Call __sigaltstack instead of sigaltstack. + * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use SS_ONSTACK + instead of SA_ONSTACK. + * sysdeps/mach/hurd/alpha/sigreturn.c (__sigreturn): Likewise. + * sysdeps/mach/hurd/mips/sigreturn.c (__sigreturn): Likewise. + * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): + Use SS_DISABLE instead of SA_DISABLE. Use SS_ONSTACK instead of + SA_ONSTACK where appropriate. + * sysdeps/mach/hurd/alpha/trampoline.c (_hurd_setup_sighandler): + Likewise. + * sysdeps/mach/hurd/hppa/trampoline.c (_hurd_setup_sighandler): + Likewise. + * sysdeps/mach/hurd/mips/trampoline.c (_hurd_setup_sighandler): + Likewise. + * manual/signal.texi (Signal Stack): Talk about SS_DISABLE and + SS_ONSTACK instead of SA_DISABLE and SA_ONSTACK in discussion of + the `ss_flags' member of `struct sigaltstack'. + +1998-08-05 Andreas Schwab + + * libio/Makefile (routines) [$(versioning)=yes]: Add oldtmpfile. + (shared-only-routines): Likewise. + * libio/oldtmpfile.c: New file + * stdio-common/tmpfile.c: Use __fdopen and __close. + [USE_IN_LIBIO]: Use _IO_fdopen instead of _IO_new_fdopen. Put + tmpfile on symbol version GLIBC_2.1. + * stdio-common/tmpfile64.c: Use __fdopen and __close. + [USE_IN_LIBIO]: Use _IO_fdopen instead of _IO_new_fdopen. + * stdio-common/Version [GLIBC_2.1]: Add tmpfile. + * stdio-common/tempnam.c: Use __strdup instead of strdup. + * sysdeps/posix/fdopen.c: Define __fdopen and make fdopen weak + alias. + * sysdeps/generic/fdopen.c: Likewise. + * sysdeps/mach/hurd/fdopen.c: Likewise. + * stdio/stdio.h: Declare __fdopen. + * sunrpc/openchild.c: Use __fdopen instead of fdopen. + [USE_IN_LIBIO]: Map __fdopen to _IO_fdopen. + * sysdeps/posix/tempname.c (__gen_tempname): Don't bother checking + __stub_open64, it is never defined. + +1998-08-05 Andreas Schwab + + * libio/iofopen64.c: Fix typo. Avoid unnessary casts. + * libio/iopopen.c: Unlink file before freeing it if command + creation failed. Avoid unnessary casts. + * libio/iofdopen.c: Avoid unnecessary cast. + * pwd/fgetpwent_r.c [USE_IN_LIBIO]: Map funlockfile to + _IO_funlockfile. + * pwd/fgetspent_r.c [USE_IN_LIBIO]: Likewise. + +1998-08-06 Andreas Schwab + + * grp/grp.h, pwd/pwd.h: Don't declare __grpopen, __grpread, + __grpalloc, __grpscan and the corresponding pwd functions, they + were removed long ago. + +1998-08-06 Andreas Schwab + + * math/libm-test.c (csqrt_test): Adjust epsilons. + (casinh_test): Likewise. + +1998-08-06 Andreas Schwab + + * posix/globtest.sh: Fix typo. Remove second test output file. + +1998-08-07 Cristian Gafton + + * pwd/putpwent.c (putpwent): Avoid writting (none) in the passwd file. + * shadow/putspent.c (putspent): Likewise. + * grp/putgrent.c: New file. + * grp/Makefile (routines): Add putgrent. + * grp/Versions [GLIBC_2.1]: Add putgrent. + * grp/grp.h: Add putgrent prototype. + +1998-08-04 19:33 Ulrich Drepper + + * elf/elf.h: More ELF definitions. + +1998-08-04 16:53 Ulrich Drepper + + * stdio-common/tmpfile.c: Include unistd.h for close prototype. + * stdio-common/tmpfile64.c: Likewise. + + * db2/makedb.c: Generate output file with same access permissions + the input file has. + + * signal/signal.h: Pretty printing. + +1998-08-04 Andreas Jaeger + + * misc/mktemp.c: Add include for prototype, remove + unneccessary includes. + * misc/mkstemp.c: Likewise. + +1998-08-03 16:36 Ulrich Drepper + + * catgets/catgets.c: Use mmap/munmap only is _POSIX_MAPPED_FILES + is defined. + * catgets/open_catalog.c: Likewise. + * iconv/iconv_prog.c: Likewise. + * intl/loadmsgcat.c: Likewise. + * locale/findlocale.c: Likewise. + * locale/loadlocale.c: Likewise. + * locale/programs/localedef.c: Likewise. + * malloc/malloc.c: Likewise. + + * elf/elf.h: Fix typo. + + * math/Makefile: Use $(LN_S) instead of ln. + + * sysdeps/generic/getpgid.c: Fix return type. + +1998-08-01 02:49 -0400 Zack Weinberg + + * sysdeps/posix/tempname.c (__stdio_gen_tempname): Rename to + __gen_tempname and simplify the interface. Strip out the + code to do path search and create FILE objects. This function + now takes a mktemp() style template and returns either a name + or a file descriptor. + (__path_search): New function; searches for directories for + temp files. + * sysdeps/generic/tempname.c: Stub out __gen_tempname and + __path_search, not __stdio_gen_tempname. + + * libio/stdio.h: Prototype __gen_tempname and __path_search, + not __stdio_gen_tempname. + * stdio/stdio.h: Likewise. + + * stdio-common/tempnam.c: Use __path_search and __gen_tempname. + * stdio-common/tmpfile.c: Likewise. + * stdio-common/tmpfile64.c: Likewise. + * stdio-common/tmpnam.c: Likewise. + * stdio-common/tmpnam_r.c: Likewise. + + * misc/mkstemp.c: New file. Use __gen_tempname. + * misc/mktemp.c: Likewise. + + * sysdeps/posix/mkstemp.c: Removed. + * sysdeps/posix/mktemp.c: Removed. + * sysdeps/generic/mkstemp.c: Removed. + * sysdeps/generic/mktemp.c: Removed. + +1998-08-02 Thorsten Kukuk + + * configure.in: Check, if door add-on is installed. + * config.make.in: Add have_doors. + * sunrpc/Makefile: Add HAVE_DOOR define. + * sunrpc/key_call.c: Add keyserv/door interface. + + * sunrpc/svc_unix.c: Call setsockopt only if SO_PASSCRED is defined. + * sunrpc/clnt_unix.c: Likewise. + +1998-08-02 Andreas Jaeger + + * inet/netinet/in.h (IN_CLASSC): Correct mask. + Reported by Ian Staniforth [fixes + PR libc/727]. + +1998-08-03 10:23 Ulrich Drepper + + * misc/Makefile: Fix installation problem with --disable-shared. + * posix/Makefile: Likewise. + +1998-08-02 Andreas Schwab + + * posix/regex.c (re_search_2): Optimize searching for anchored + pattern if '^' cannot match at embedded newlines. + (regerror): Renamed from __regerror, which it should only be + called if _LIBC. + +1998-07-31 Andreas Schwab + + * sunrpc/svc_unix.c (__msgread): Check setsockopt return value. + +1998-07-31 Andreas Schwab + + * sysdeps/generic/glob.c: Remove obsolete cast. + +1998-07-31 Andreas Schwab + + * Rules (tests): Fix last change. + +1998-07-31 17:59 Ulrich Drepper + + * sysdeps/unix/sysv/linux/Makefile [subdir==misc] (sysdep_routines): + Add sys_setresuid. + +1998-07-30 Mark Kettenis + + * sysdeps/unix/sysv/linux/syscalls.list: Add __syscall_setresuid + as real name for system call and make setresuid a weak alias. Set + caller to seteuid. + * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Implement using + `setresuid' syscall if availble. Fixes problems with sendmail + which expects `seteuid' to not set the saved user ID. + +1998-07-30 20:09 -0400 Zack Weinberg + + * time/tzset.c (__tzstring): Get rid of excessive cleverness + which was causing stack corruption. + +1998-07-31 16:41 -0400 Zack Weinberg + + * argp/argp-fmtstream.c (__argp_fmtstream_update): Correct + off-by-one in wordwrap algorithm when there' a space at the + beginning of the buffer. + +1998-07-31 15:45 Ulrich Drepper + + * Makerules (LDLIBS-c.so): Extend value instead of overwriting it. + +1998-07-31 11:10 Ulrich Drepper + + * elf/elf.h: Add lots of new symbols from Irix and Solaris. + + * sysdeps/unix/sysv/linux/sigstack.c: Include stddef.h to get NULL + definition. + +1998-07-31 Thorsten Kukuk + + * sunrpc/xcrypt.c: Use only the first 8 characters of the password. + +1998-07-30 21:06 -0400 Zack Weinberg + + * sysdeps/generic/glob.c: Undefine strdup before defining it, + because bits/string2.h may have defined it already. + +1998-07-29 Andreas Schwab + + * stdio-common/vfscanf.c: Optimize looking for type modifiers. + Fix recognition of 'a' modifier vs. 'a' format. + (TYPEMOD): Removed. + + * stdio-common/printf-parse.h (parse_one_spec): Optimize looking + for type modifiers. Fix recognition of 'hh' modifier. + +1998-07-31 Thorsten Kukuk + + * sunrpc/svc_unix.c: Fix typo. + +1998-07-31 Thorsten Kukuk + + * sysdeps/unix/sysv/linux/recvmsg.c: Don't check for SCM_CREDS before + syscall. + +1998-07-30 12:38 Ulrich Drepper + + * sysdeps/i386/ffs.c: Add ffsl entry point. + * sysdeps/i386/i686/ffs.c: Likewise. + * sysdeps/m68k/ffs.c: Likewise. + * sysdeps/powerpc/ffs.c: Likewise. + + * sysdeps/i386/i486/bits/string.h: Add optimizations for ffs/ffsl + on i686. + +1998-07-30 Richard Henderson + + * elf/Makefile (ld-map): Move initialization below Makeconfig include. + + * sysdeps/libm-ieee754/k_standard.c (zero): Make non-const to + work around gcc bug. + + * string/string.h (ffsl, ffsll): Prototype. + * string/Version (GLIBC_2.1): Add them. + * sysdeps/alpha/ffs.S: Schedule for EV5. Add ffsl and ffsll + entry points. + * sysdeps/alpha/ffsll.S: New file. Empty. + * sysdeps/generic/ffs.c: Add ffsl and ffsll entry points. + * sysdeps/generic/ffsll.c: New file. + * string/Makefile (routines): Add ffsll. + +1998-07-30 10:03 Ulrich Drepper + + * sysdeps/unix/sysv/linux/alpha/bits/time.h: Don't define CLK_TCK for + strictly ISO C compliant programs. + * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise. + +1998-07-22 Andreas Jaeger + + * inet/protocols/rwhod.h: Correct typo in comment. + + * configure.in: Use better regex for gettext. + +1998-07-29 21:29 Ulrich Drepper + + * elf/elf.h: Define more EM_* constants, ELFCLASSNUM, ELFDATANUM, + EV_NUM, Elf32_Nhdr, Elf64_Nhdr and various note section values. + + * elf/elf.h: Add DT_FLAGS_1 and the DF_1_* flag definitions. + + * elf/sprof.c: Implement -c/--call-pairs option to emit list with + caller/callee and the number of calls. + +1998-07-29 Mark Kettenis + + * sysdeps/mach/hurd/dl-sysdep.c (__lseek): New function. + (__getpid): New function. + (abort): New function. + +1998-07-29 15:07 Ulrich Drepper + + * sysdeps/arm/fpu/Dist: New file. Add ieee754.h. + + * nis/nis_cache2_xdr.c: Removed. + * nis/nis_cache.c: Removed. + * nis/nis_cache2.h: Removed. + +1998-07-29 Andreas Jaeger + + * Rules (tests): Depend on tests-static only if build-static == yes. + + * misc/Makefile (install-lib): Compile libbsd-compat.a and libg.a + only if build-static == yes. + +1998-07-29 12:58 Ulrich Drepper + + * sysdeps/generic/glob.c: Windows compatibility stuff. + Patch received from Paul D. Smith . + +1998-07-29 Andreas Jaeger + + * sunrpc/clnt_unix.c (__msgwrite)[!SCM_CRED]: Add return + statement, fix typo. + * sunrpc/svc_unix.c (__msgwrite)[!SCM_CRED]: Likewise. + +1998-07-29 Andreas Jaeger + + * manual/pattern.texi (More Flags for Globbing): Fix typo. + + * manual/math.texi (Special Functions): Fix typo. + + * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT): New + constant from Linux 2.1.112. + + * posix/Makefile (install-lib): Compile libposix.a only if + build-static == yes. + +1998-07-28 Andreas Schwab + + * sysdeps/generic/glob.c: Maintain const correctness. Move extern + declarations to file level. Cope with unsupported + _SC_GETPW_R_SIZE_MAX. + +1998-07-29 Ulrich Drepper + + * stdio-common/tst-printf.c: %z is now recognized by printf. + + * sysdeps/libm-ieee754/c_csqrt.c: Fix problems with some cancelation + errors. + * sysdeps/libm-ieee754/c_csqrtf.c: Likewise. + * sysdeps/libm-ieee754/c_csqrtlc: Likewise. + Patch by Stephen L Moshier . + + * math/libm-test.c (csqrt_test): Correct typo in one test, add + another one. + + * sysdeps/unix/sysv/linux/bits/siginfo.h: Adjust siginfo_t after + latest kernel change. + +1998-07-29 6:39 Kazushige Goto + + * sysdeps/alpha/fpu/e_sqrt.c [!_IEEE_FP]: Correctly handle + inputs near DBL_MIN. + +1998-07-28 Ulrich Drepper + + * resolv/nss_dns/dns-host.c (getanswer_r): Lower the priority of + warnings when DNSSEC related records are received. + * resolv/gethnamaddr.c (getanswer): Likewise. + Patch by Brian Wellington . + + * signal/signal.h: Add prototype for sysv_signal. + + * math/libm-test.c (tgamma_test): Remove redundant tests. + + * sysdeps/generic/glob.c: Correct problems with */foo and GLOB_NOCHECK + where foo does not exist in any of the subdirectories. + Reported by Paul D. Smith . + + * posix/globtest.sh: Add test for this bug. + + * posix/glob.h: Add GLOB_TILDE_CHECK. + * sysdeps/generic/glob.c: Implement GLOB_TILDE_CHECK. + * posix/globtest.c: Add option T to enable GLOB_TILDE_CHECK. + * posix/globtest.sh: Re-enable test with ~ and non-existing user name. + +1998-07-28 Mark Kettenis + + * io/sys/statfs.h: Fix typos. + * io/sys/statvfs.h: Fix typos. + +1998-07-28 Ulrich Drepper + + * version.h (VERSION): Bump to 2.0.95. + + * math/Makefile (libm-calls): Remove w_gamma, add w_tgamma. + * math/Versions [GLIBC_2.1]: Add tgamma, tgammaf, and tgammal. + * math/libm-test.c: Split old gamma_test and move half of it in new + function tgamma_test. + * math/bits/mathcalls.h: Add declaration of tgamma. + * sysdeps/libm-ieee754/k_standard.c: Change gamma errors into + tgamma errors. + * sysdeps/libm-ieee754/w_gamma.c: Remove lgamma compatibility code + and rename to ... + * sysdeps/libm-ieee754/w_tgamma.c: ... this. New file. + * sysdeps/libm-ieee754/w_gammaf.c: Remove lgammaf compatibility code + and rename to ... + * sysdeps/libm-ieee754/w_tgammaf.c: ... this. New file. + * sysdeps/libm-ieee754/w_gammal.c: Remove lgammal compatibility code + and rename to ... + * sysdeps/libm-ieee754/w_tgammal.c: ... this. New file. + * sysdeps/libm-ieee754/w_lgamma.c: Add gamma as weak alias. + * sysdeps/libm-ieee754/w_lgammaf.c: Likewise. + * sysdeps/libm-ieee754/w_lgammal.c: Likewise. + + * stgdio-common/printf-parse.h: Implement handling of j, t, and z + modifiers. + * stdio-common/vfprintf.c: Likewise. + * stdio-common/vfscanf.c: Likewise. + * manual/stdio.texi: Document new printf/scanf modifiers. + + * sysdeps/unix/sysv/linux/recvmsg.c: Remove alias __recvmsg. + * sysdeps/unix/sysv/linux/sendmsg.c: Remove alias __sendmsg. + +1998-07-28 Thorsten Kukuk + + * sunrpc/Makefile (routines): Add clnt_unix and svc_unix. + * sunrpc/Versions: Add new *unix_create functions. + * sunrpc/clnt_gen.c: Add support for RPC over AF_UNIX. + * sunrpc/clnt_unix.c: New, client side of RPC over AF_UNIX. + * sunrpc/key_call.c: Use RPC over AF_UNIX for communication + with keyserv daemon. + * sunrpc/rpc/clnt.h: Add AF_UNIX based RPC function prototypes. + * sunrpc/rpc/svc.h: Likewise. + * sunrpc/svc_authux.c: Copy internal auth flavor if none is given. + * sunrpc/svc_tcp.c: Fix typos. + * sunrpc/svc_unix.c: New, server side of AF_UNIX based RPC. + + * nis/Makefile: Remove currently not working cache functions. + * nis/Versions: Add __nisbind_* functions for rpc.nisd. + * nis/nis_call.c: Rewrite binding to a NIS+ server to reuse + CLIENT handles. + * nis/nis_file.c: Fix memory leaks. + * nis/nis_intern.h: Move internal structs from here ... + * nis/rpcsvc/nislib.h: ... to here for NIS+ server and tools. + * nis/nis_lookup.c: Try at first if last client handle works. + * nis/nis_table.c: Likewise. + * nis/nis_checkpoint.c: Adjust __do_niscall2 parameters. + * nis/nis_mkdir.c: Likewise. + * nis/nis_ping.c: Likewise. + * nis/nis_rmdir.c: Likewise. + * nis/nis_server.c: Likewise. + * nis/nis_util.c: Likewise. + * nis/nis_findserv.c (__nis_findfastest): Little optimization. + +1998-07-28 Andreas Jaeger + + * stdlib/strtol.c (STRTOL_LONG_MAX): Correct typo in last patch - + define as LONG_MAX. + +1998-07-28 09:31 Ulrich Drepper + + * nscd/connections.c (gr_send_answer): Deal with missing UIO_MAXIOV. + Correct test whether writev send all data. + * nscd/nscd_getgr_r.c (__nscd_getgr_r): Correct test whether readv + received all data. + +1998-07-28 Mark Kettenis + + * nscd/nscd_getgr_r.c (__nscd_getgr_r): Deal with missing UIO_MAXIOV. + +1998-07-28 Mark Kettenis + + * sysdeps/mach/hurd/dl-sysdep.c (open_file): Change assert call to + allow mode to be 0. + (__xstat): New function. + (__fxstat): New function. + (_dl_sysdep_read_whole_file): Removed. The implementation in + `elf/dl-misc.c' now also works for the Hurd. + +1998-07-27 22:25 Ulrich Drepper + + * sysdeps/generic/glob.c: Handle ~ and ~NAME case correctly. + + * posix/globtest.sh: Also add directories with NSS modules into the + library path. + +1998-07-27 17:42 Ulrich Drepper + + * nss/nss_files/files-parse.c (INT_FIELD): Use strtoul instead of + strtol. + (INT_FIELD_MAYBE_NULL): Likewise. + + * posix/globtest.c: Rewrite for extended test suite. + * posix/globtest.sh: More tests. + Patch by Brian Wellington . + + * stdlib/strtol.c: Don't redefine LONG_MAX, LONG_MIN, and ULONG_MAX. + Use new macro. + + * sysdeps/generic/readv.c: Correct return type. + * sysdeps/generic/writev.c: Likewise. + +1998-07-24 Gordon Matzigkeit + + * argp/argp-help.c (_GNU_SOURCE): Define, to suck in + program_invocation_name when compiling outside of glibc. + +1998-07-26 Philip Blundell + + * sysdeps/unix/sysv/linux/arm/siglist.c: New file; ARM tools don't + like `@' in .type directives. + + * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Check whether + FE_TONEAREST exists for this platform before using it. + * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Likewise. + + * sysdeps/arm/dl-machine.h (elf_machine_rel): Delete redundant + debugging code. Correct handling of PC24 relocs. + + * elf/Makefile (ld-map): Only define if versioning is in use. + + * sysdeps/arm/fpu_control.h: Move to ... + * sysdeps/arm/fpu/fpu_control.h: ... here. + * sysdeps/generic/fpu_control.h: Made usable as a dummy + implementation. + + * sysdeps/unix/sysv/linux/arm/brk.c: New file. + + * sysdeps/arm/machine-gmon.h: Improved profiling for ARM. + * sysdeps/arm/sysdep.h (CALL_MCOUNT): Replace stub with real + implementation. + * sysdeps/unix/sysv/linux/arm/clone.S: Likewise. + Based on patch from Scott Bambrough and Pat Beirne. + + * shlib-versions: Add appropriate definitions for ARM machines. + + * README.template: Mention that Linux/ARM with ELF works now. + +1998-07-18 Andreas Schwab + + * Makerules: Generate compilation rules for all object suffixes, + not only those currently selected, for sources in the current or + object directory. + +1998-07-24 Andreas Schwab + + * posix/fnmatch.c (fnmatch): Allow `/' in character class. Don't + match `/' in filename by a character class if requested. + * posix/testfnm.c: Rewritten. + * posix/testfnm.args: Removed. + +1998-07-25 Andreas Schwab + + * posix/annexc.c (limits_syms): Add missing symbols. + (stdarg_syms): Move va_list to `maybe' list. + (stdio_syms): Add FOPEN_MAX. + +1998-07-25 Ulrich Drepper + + * sysdeps/i386/bits/byteswap.h (__bswap_64): Change __v to __w to + prevent conflict with __bswap_32. + +1998-07-24 21:29 Ulrich Drepper + + * nscd/connections.c (pw_send_answer): Make one single writev call. + (gr_send_answer): Do the work in two writev calls. This change + changes the protocol. + + * nscd/nscd_getgr_r.c (__nscd_getgr_r): Adjust for protocol change. + We now can do the job using two readv calls. + +1998-07-24 Ulrich Drepper + + * sysdeps/generic/glob.c (glob): Fix problems with handle tilde. + Reported by Brian Wellington . + + * elf/elf.h: Really define Elf64_Verdef, Elf64_Verdaux, Elf64_Verneed, + and Elf64_Vernaux. + +1998-07-24 Andreas Jaeger + + * configure.in: Recognize pgcc as compiler. + Reported by sauron@angband.ee.ualberta.ca. + +1998-07-02 Thorsten Kukuk + + * nscd/dbg_log.c: Make sure, that debug message is really written. + * nscd/nscd.c: Don't use daemon(), set signal handler after fork. + +1998-07-23 Ulrich Drepper + + * sysdeps/generic/glob.c: Fix two problems with GLOB_DOOFFS. + Reported by bwelling@anomaly.munge.com [PR libc/720]. + + * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in + SVID more for gamma(x) with x integer <= 0. + Reported by Stephen L Moshier . + + * math/libm-test.c (gamma_test): Add test for gamma(-1) and gamma(0). + Correct test for SVID version of gamma. + + * sysdeps/libm-ieee754/w_gamma.c: Use correct matherr call in SVID + emulation mode. + * sysdeps/libm-ieee754/w_gammaf.c: Likewise. + * sysdeps/libm-ieee754/w_gammal.c: Likewise. + + * string/string.h: Don't use string function optimization for C++ + as long as we use macros. + +1998-07-22 23:47 Ulrich Drepper + + * posix/fnmatch.c: Fix completely broken range matching. + +1998-07-22 23:19 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/siginfo.h: Fix typo. + +1998-07-22 Ulrich Drepper + + * Makefile (headers2_0): Add sigstack.h. + + * sysdeps/unix/sysv/linux/alpha/getrusage.S: Also define __getrusage. + +1998-07-22 11:43 Ulrich Drepper + + * libio/fileops.c (_IO_file_sync): Don't lock stream here. + Reported by Thorsten Kukuk. + + * string/strcoll.c: Correct problem with empty strings. + * string/strxfrm.c: Likewise. + Reported by vbzoli@hbrt.hu [PR libc/719]. + +1998-07-21 18:40 Zack Weinberg + + * sysdeps/posix/tempname.c: Use the random-name generator + already used by mktemp/mkstemp. Honor TMPDIR. + +1998-07-21 Andreas Schwab + + * hurd/Makefile (routines): Remove cthreads. + * sysdeps/mach/hurd/Makefile (sysdep_routines): Add cthreads. + + * sysdeps/unix/sysv/linux/i386/Dist: Add missing files. + + * manual/Makefile (distribute): Add summary.texi. + +1998-07-20 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Fix typo. + +1998-07-21 Ulrich Drepper + + * configure.in: Correct expression to match gcc version. + + * configure.in: Move test for available port after machine + variable is defined. + +1998-07-21 16:08 Zack Weinberg + + * sysdeps/unix/sysv/linux/sendmsg.c: If passing a SCM_CREDS + message, copy the buffer and resize it to what the kernel + wants to see. Bug found and analyzed by Thorsten Kukuk + + +1998-07-20 Jose M. Moya + + * hurd/hurdmsg.c (_S_msg_get_env_variable): Copy getenv return + value. + +1998-07-20 Roland McGrath + + * sysdeps/mach/hurd/getdomain.c: New file. + * sysdeps/mach/hurd/setdomain.c: New file. + +1998-07-20 Roland McGrath + + * sysdeps/unix/bsd/sigsuspend.c: Define __sigsuspend with sigsuspend as + a weak alias. + +1998-07-20 18:23 Ulrich Drepper + + * libio/libioP.h: Use __PMT in typedef. + * libio/strfile.h: Likewise. + +1998-07-20 18:20 Ulrich Drepper + + * sysdeps/unix/sysv/linux/gethostname.c: Return ENAMETOOLONG if + buffer is too small. + Reported by John Levon . + +1998-07-20 17:09 Ulrich Drepper + + * shlib-versions: Remove definition for libSegFault. + + * memory.texi: Comment out the relocating allocator description. + * manual/signal.texi: Remove reference to relocating allocator. + * manual/top-menu.texi: Regenerated. + + * posix/fnmatch.c: Implement [: :] and change to recognize + ^ as negation only when not _POSIXLY_CORRECT. + + * sysdeps/generic/glob.c: Add several optimizations. + + * posix/glob.h: Undefine __PMT to prevent warnings. + Reported by Roland McGrath. + + * posix/regex.c: Define namespace macros only for _LIBC. + + * sysdeps/arm/dl-machine.h: Fix typo. + + * sysdeps/unix/sysv/sysv4/solaris2/sigpending.c: New file. + * sysdeps/unix/sysv/sysv4/solaris2/sigstack.c: New file. + * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: New file. + * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: Add sigaltstack, + sigpending, sigqueue, and sigtimedwait. + * sysdeps/unix/sysv/sysv4/solaris2/sparc/sparc32/syscall.S: New file. + + * timezone/leapseconds: Update from tzdata1998f. + +1998-07-18 Mark Kettenis + + * stdio/stdio.h [__USE_GNU]: Add prototype for fputs_unlocked. + * stdio/Versions [GLIBC_2.1]: Add fputs_unlocked. + * libio/stdio.h: Fix typo. + +1998-07-19 Roland McGrath + + * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): #if 0 out the + magic memobj port arg parsing stuff. Fix it someday when we are ready + to really use it. + (_dl_sysdep_output): New function, modified from _dl_sysdep_error. + (_dl_sysdep_error, _dl_sysdep_message, _dl_sysdep_fatal): Removed. + +1998-07-19 Roland McGrath + + * stdio/fputs.c: Add fputs_unlocked as weak alias for fputs. + +1998-07-19 Roland McGrath + + * sysdeps/posix/sigsuspend.c: Define __sigsuspend with sigsuspend as + a weak alias. + * sysdeps/mach/hurd/sigsuspend.c: Likewise. + * sysdeps/generic/sigsuspend.c: Likewise. + +1998-07-19 Roland McGrath + + * sysdeps/mach/hurd/i386/sigcontextinfo.h: New file. + +1998-07-19 Andreas Schwab + + * Makerules (map-file): Don't use $(wildcard) to find the + generated version script, instead look in $(version-maps). + ($(common-objpfx)libc.so): Only depend on libc.map if versioning + is used. + * extra-lib.mk ($(objpfx)$(lib).so): Only depend on version script + if versioning is used. Don't use $(wildcard) to find the + generated version script, instead look in $(verson-maps). + +1998-07-17 Andreas Schwab + + * sysdeps/generic/segfault.c: Rename GET_EIP to GET_PC. Remove + unused function handle. + * sysdeps/generic/sigcontextinfo.h: Rename GET_EIP to GET_PC. + * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise. + * debug/catchsegv.sh: Fix argument processing, quoting and various + typos. Put the crash info always in the current directory. Find + program in $PATH if it contains no directory component. + * Makerules (install-lib.so-versioned, + install-lib.so-unversioned): New variables. + (install-lib-nosubdir): Depend on unversioned libs in + slibdir, not libdir. + +1998-07-19 Andreas Schwab + + * Make-dist (+tsrcs): Remove references to %-map variables and + *.map files. Add Versions in subdirs. + * Makerules (distinfo-vars): Don't write out %-map variables. + +1998-07-20 13:55 Ulrich Drepper + + * inet/protocols/rwhod.h: Remove definition of _PATH_RWHODIR. + Include instead. + * sysdeps/generic/paths.h: Define _PATH_RWHODIR. + * sysdeps/unix/sysv/linux/paths.h: Likewise. + Reported by Dale Scheetz . + +1998-07-17 21:44 Ulrich Drepper + + * catgets/open_catalog.c: Strictly check whether catalog file is + larger enough for the data. Reported by Andries.Brouwer@cwi.nl. + +1998-07-17 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: New file. + + * sysdeps/unix/sysv/linux/m68k/socket.S: Support NO_WEAK_ALIAS. + +1998-07-17 Ulrich Drepper + + * debug/catchsegv.sh: Fix several stupid bugs. + + * shlib-versions: Define version for libSegFault. + * debug/Makefile: Replace shared lib version number while rewriting. + +1998-07-17 Mark Kettenis + + * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Add sanity check. + Suggested by Roland McGrath. + +1998-07-15 Andreas Jaeger + + * timezone/Makefile: Remove '-L (leapseconds)' for testdata + generation to control environment. + +1998-07-17 09:21 Ulrich Drepper + + * sysdeps/unix/sysv/sysv4/solaris2/bits/signum.h: Define SIG_HOLD. + Patch by John Tobey . + + * manual/llio.texi: Document readv/writev and mmap functions. + Patch by Michael Deutschmann . + +1998-07-16 Andreas Schwab + + * manual/Makefile (texis): Depend on texis.awk. + (nonexamples): Filter out add-on chapters. + (chapters.% top-menu.%): Depend on libc-texinfo.sh. + (stamp-summary): Depend on $(texis) except summary.texi. + ($(inst_infodir)/libc.info): Simplify command. + * manual/libc-texinfo.sh: Cleaned up to use less temporary files. + Fix the generation of the detailed node listing to make it + complete again. + * manual/math.texi: Fix signature of lgamma_r. + +1998-07-16 23:06 Ulrich Drepper + + * debug/Makefile (distribute): Add sigcontextinfo.h. + Add rules to generate and install catchsegv. + * debug/catchsegv.sh: New file. + +1998-07-16 Mark Kettenis + + * sysdeps/mach/hurd/dl-sysdep.c (open_file): Return a Hurd I/O + port instead of a Mach memory object. + (__open): Likewise. + (__libc_read): New function. + (__mmap): Change to take a Hurd I/O port instead of a Mach memory + object. + +1998-07-16 20:01 Ulrich Drepper + + * debug/Makefile (routines): Add backtracesymsfd. + Add rules to generate libSegFault. + * debug/Versions: Add __backtrace_symbols_fd and backtrace_symbols_fd. + * debug/execinfo.h: Declare backtrace_symbols_fd. + * sysdeps/generic/backtracesymsfd.c: New file. + * sysdeps/generic/elf/backtracesymsfd.c: New file. + * sysdeps/generic/segfault.c: New file. + * sysdeps/generic/sigcontextinfo.h: New file. + * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: New file. + + * sysdeps/generic/elf/backtracesyms.c: Remove unneeded +. + +1998-07-16 19:27 Ulrich Drepper + + * elf/rtld.c (process_envvars): Also recognize on as LD_BIND_NOW value. + (process_envvars): Append .PID to LD_DEBUG_OUTPUT file name. + +1998-07-16 13:44 Ulrich Drepper + + * argp/argp-fmtstream.c: Fix warnings introduced in last change. + * assert/assert-perr.c: Likewise. + * assert/assert.c: Likewise. + * gconv_conf.c: Likewise. + * libio/iofputs_u.c: Likewise. + * malloc/mtrace.c: Likewise. + * malloc/obstack.c: Likewise. + * misc/error.c: Likewise. + * misc/syslog.c: Likewise. + * stdio-common/asprintf.c: Likewise. + * stdio-common/dprintf.c: Likewise. + * stdio-common/getw.c: Likewise. + * stdio-common/putw.c: Likewise. + * stdio-common/snprintf.c: Likewise. + * stdio-common/sprintf.c: Likewise. + * stdio-common/sscanf.c: Likewise. + * sunrpc/svc_simple.c: Likewise. + * sysdeps/generic/abort.c: Likewise. + + * rt/aio_cancel.c: Don't define ECANCELED here. + * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED correctly. + +1998-07-16 10:23 Ulrich Drepper + + * argp/argp-fmtstream.c: Unify names of used global functions. + * argp/argp-help.c: Likewise. + * assert/assert-perr.c: Likewise + * assert/assert.c: Likewise + * dirent/scandir.c: Likewise + * dirent/scandir64.c: Likewise + * dirent/versionsort.c: Likewise + * dirent/versionsort64.c: Likewise + * gmon/bb_exit_func.c: Likewise. + * gmon/gmon.c: Likewise. + * grp/initgroups.c: Likewise. + * iconv/gconv_conf.c: Likewise. + * inet/getnameinfo.c: Likewise. + * inet/getnetgrent_r.c: Likewise. + * inet/inet_ntoa.c: Likewise. + * inet/rcmd.c: Likewise. + * inet/rexec.c: Likewise. + * inet/ruserpass.c: Likewise. + * io/fts.c: Likewise. + * io/ftw.c: Likewise. + * io/ftw64.c: Likewise. + * io/getdirname.c: Likewise. + * io/getwd.c: Likewise. + * io/lockf.c: Likewise. + * libio/iofdopen.c: Likewise. + * libio/iopopen.c: Likewise. + * login/utmp_daemon.c: Likewise. + * malloc/mtrace.c: Likewise. + * malloc/obstack.c + * misc/daemon.c: Likewise. + * misc/efgcvt_r.c: Likewise. + * misc/err.c: Likewise. + * misc/error.c: Likewise. + * misc/fstab.c: Likewise. + * misc/getpass.c: Likewise. + * misc/getttyent.c: Likewise. + * misc/mntent_r.c: Likewise. + * misc/search.h: Likewise. + * misc/syslog.c: Likewise. + * nscd/nscd_getgr_r.c: Likewise. + * nscd/nscd_getpw_r.c: Likewise. + * posix/getpgrp.c: Likewise. + * posix/wordexp.c: Likewise. + * pwd/fgetpwent_r.c: Likewise. + * pwd/getpw.c: Likewise. + * resolv/herror.c: Likewise. + * resolv/res_init.c: Likewise. + * shadow/fgetspent_r.c: Likewise. + * shadow/lckpwdf.c: Likewise. + * signal/sigrelse.c: Likewise. + * stdio-common/asprintf.c: Likewise. + * stdio-common/dprintf.c: Likewise. + * stdio-common/getw.c: Likewise. + * stdio-common/putw.c: Likewise. + * stdio-common/snprintf.c: Likewise. + * stdio-common/sprintf.c: Likewise. + * stdio-common/sscanf.c: Likewise. + * stdlib/lrand48_r.c: Likewise. + * stdlib/mrand48_r.c: Likewise. + * string/argz-replace.c: Likewise. + * string/envz.c: Likewise. + * sunrpc/auth_des.c: Likewise. + * sunrpc/auth_unix.c: Likewise. + * sunrpc/bindrsvprt.c: Likewise. + * sunrpc/clnt_gen.c: Likewise. + * sunrpc/clnt_perr.c: Likewise. + * sunrpc/clnt_simp.c: Likewise. + * sunrpc/clnt_tcp.c: Likewise. + * sunrpc/clnt_udp.c: Likewise. + * sunrpc/get_myaddr.c: Likewise. + * sunrpc/key_call.c: Likewise. + * sunrpc/netname.c: Likewise. + * sunrpc/openchild.c: Likewise. + * sunrpc/pmap_rmt.c: Likewise. + * sunrpc/rpc_dtable.c: Likewise. + * sunrpc/rtime.c: Likewise. + * sunrpc/svc_run.c: Likewise. + * sunrpc/svc_simple.c: Likewise. + * sunrpc/svc_tcp.c: Likewise. + * sunrpc/svc_udp.c: Likewise. + * sunrpc/svcauth_des.c: Likewise. + * sunrpc/xdr_array.c: Likewise. + * sunrpc/xdr_rec.c: Likewise. + * sunrpc/xdr_ref.c: Likewise. + * sunrpc/xdr_stdio.c: Likewise. + * sysdeps/generic/abort.c: Likewise. + * sysdeps/generic/dl-sysdep.c: Likewise. + * sysdeps/generic/fstatfs64.c: Likewise. + * sysdeps/generic/ftruncate64.c: Likewise. + * sysdeps/generic/getrlimit64.c: Likewise. + * sysdeps/generic/glob.c: Likewise. + * sysdeps/generic/prof-freq.c: Likewise. + * sysdeps/generic/putenv.c: Likewise. + * sysdeps/generic/statfs64.c: Likewise. + * sysdeps/generic/ttyname_r.c: Likewise. + * sysdeps/generic/utmp_file.c: Likewise. + * sysdeps/generic/vlimit.c: Likewise. + * sysdeps/generic/vtimes.c: Likewise. + * sysdeps/posix/cuserid.c: Likewise. + * sysdeps/posix/euidaccess.c: Likewise. + * sysdeps/posix/mkstemp.c: Likewise. + * sysdeps/posix/mktemp.c: Likewise. + * sysdeps/posix/pread.c: Likewise. + * sysdeps/posix/pread64.c: Likewise. + * sysdeps/posix/profil.c: Likewise. + * sysdeps/posix/pwrite.c: Likewise. + * sysdeps/posix/pwrite64.c: Likewise. + * sysdeps/posix/sigblock.c: Likewise. + * sysdeps/posix/sigpause.c: Likewise. + * sysdeps/posix/ttyname.c: Likewise. + * sysdeps/posix/ttyname_r.c: Likewise. + * sysdeps/posix/waitid.c: Likewise. + * sysdeps/unix/getlogin_r.c: Likewise. + * sysdeps/unix/grantpt.c: Likewise. + * sysdeps/unix/rewinddir.c: Likewise. + * sysdeps/unix/sysv/linux/gethostid.c: Likewise. + * sysdeps/unix/sysv/linux/getpt.c: Likewise. + * sysdeps/unix/sysv/linux/if_index.c: Likewise. + * sysdeps/unix/sysv/linux/ptsname.c: Likewise. + * sysdeps/unix/sysv/linux/sendmsg.c: Likewise. + * sysdeps/unix/sysv/linux/statvfs.c: Likewise. + * sysdeps/unix/sysv/linux/ttyname.c: Likewise. + * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise. + * sysdeps/unix/sysv/linux/ulimit.c: Likewise. + * sysdeps/unix/sysv/linux/unlockpt.c: Likewise. + * sysvipc/sys/shm.h: Likewise. + * time/ctime_r.c: Likewise. + * time/strptime.c: Likewise. + * wcsmbs/mbrlen.c: Likewise. + * wcsmbs/wcsdup.c: Likewise. + * wcsmbs/wcsxfrm.c: Likewise. + * wctype/wcfuncs.c: Likewise. + + * sysdeps/unix/sysv/linux/i386/socker.S: Change to honor NO_WEAK_ALIAS. + * sysdeps/unix/sysv/linux/accept.S: Don't generate __ name. + * sysdeps/unix/sysv/linux/bind.S: Likewise. + * sysdeps/unix/sysv/linux/getsockname.S: Likewise. + * sysdeps/unix/sysv/linux/listen.S: Likewise. + * sysdeps/unix/sysv/linux/recvfrom.S: Likewise. + * sysdeps/unix/sysv/linux/sendto.S: Likewise. + * sysdeps/unix/sysv/linux/setsockopt.S: Likewise. + + * grp/fgetgrent_r.c: Use explicit locking of the stream. + + * elf/Makefile (rtld-routines): Add dl-environ. + * sysdeps/generic/dl-sysdep.c: Move _dl_next_ld_env_entry and unsetenv + to... + * sysdeps/generic/dl-environ.c: here. New file. + + * libio/Makefile [REENTRANT] (routines): Add iofputs_u. + * libio/Versions: Add fputs_unlocked. + * libio/iofputs_u.c: New file. + * libio/stdio.h: Add prototype for fputs_unlocked. + + * sunrpc/rpc/auth.h: Use __PMT instead of __P in type definitions. + * sunrpc/rpc/clnt.h: Likewise. + * sunrpc/rpc/pmap_clnt.h: Likewise. + * sunrpc/rpc/svc.h: Likewise. + * sunrpc/rpc/xdr.h: Likewise. + + * sysdeps/i386/memchr.S: Correct for more strict gas. + * sysdeps/i386/fpu/bits/mathinline.h: Likewise. + * sysdeps/libm-i387/i686/s_fdim.S: Likewise. + * sysdeps/libm-i387/i686/s_fdimf.S: Likewise. + * sysdeps/libm-i387/i686/s_fdiml.S: Likewise. + +1998-07-15 Andreas Jaeger + + * configure.in: Change message for binutils version from + 2.8.1.0.17->2.8.1.0.23. + +1998-07-15 Ulrich Drepper + + * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Define LOC. + Patch by John Tobey . + +1998-07-14 Ulrich Drepper + + * sunrpc/auth_unix.c (authunix_create_default): Use __sysconf + instead of sysconf. + +1998-07-14 19:39 Ulrich Drepper + + * stdio-common/vfscanf.c (ungetc): Use _IO_sputbackc, not _IO_ungetc. + [_USE_IN_LIBIO] (encode_error): Free cancelation handler. + (conv_error): Likewise. + (input_error): Likewise. + (memory_error): Likewise. + +1998-07-12 Mark Kettenis + + * sysdeps/mach/hurd/dl-sysdep.c: Bring in sync with generic + implementation. Include . Replace references to symbol + _start with macro ENTRY_POINT. + (__libc_uid): Remove. + (__libc_multiple_libcs): New variable. + (__libc_stack_end): New variable. + (_dl_hwcap_mask): New variable. + (_dl_important_hwcaps): New function. + (_dl_show_auxv): Mark internal. + +1998-07-14 Mark Kettenis + + * mach/Makefile: Create target directory before generating + mach-syscalls.mk. + * mach/Machrules: Invoke awk using AWK variable. Create target + directory before generating server stubs. + +1998-07-14 Ulrich Drepper + + * wcsmbs/wcslen.c (__wcslen): Fix comment. + + * configure.in: Allow egcs-2.92. + +1998-07-10 18:14 -0400 Zack Weinberg + + * manual/Makefile: Overhauled. Generate libc.texinfo from the + chapter files. Exorcise the chapters, chapters-incl mess. + Support inserting doc chapters from add-on modules. + (chapters): New variable. + (add-chapters): New variable. + (appendices): New variable. + (libc.texinfo): New target. + (clean): Fix bugs. + (realclean): Fix bugs. + + * manual/texis.awk: New file. + * manual/libc-texinfo.sh: New file. + * manual/libc-texinfo.in: New file. + + * manual/conf.texi (top @node): Remove next pointer. + * manual/lang.texi (top @node): Remove prev pointer. + + * manual/job.texi (top @node): Add explicit pointers. + * manual/message.texi (top @node): Add explicit pointers. + * manual/nss.texi (top @node): Add explicit pointers. + * manual/process.texi (top @node): Add explicit pointers. + * manual/startup.texi (top @node): Add explicit pointers. + * manual/terminal.texi (top @node): Add explicit pointers. + * manual/users.texi (top @node): Add explicit pointers. + + * manual/arith.texi: Add %MENU% tag. + * manual/conf.texi: Add %MENU% tag. + * manual/contrib.texi: Add %MENU% tag. + * manual/ctype.texi: Add %MENU% tag. + * manual/errno.texi: Add %MENU% tag. + * manual/filesys.texi: Add %MENU% tag. + * manual/header.texi: Add %MENU% tag. + * manual/install.texi: Add %MENU% tag. + * manual/intro.texi: Add %MENU% tag. + * manual/io.texi: Add %MENU% tag. + * manual/job.texi: Add %MENU% tag. + * manual/lang.texi: Add %MENU% tag. + * manual/llio.texi: Add %MENU% tag. + * manual/locale.texi: Add %MENU% tag. + * manual/maint.texi: Add %MENU% tag. + * manual/math.texi: Add %MENU% tag. + * manual/mbyte.texi: Add %MENU% tag. + * manual/memory.texi: Add %MENU% tag. + * manual/message.texi: Add %MENU% tag. + * manual/nss.texi: Add %MENU% tag. + * manual/pattern.texi: Add %MENU% tag. + * manual/pipe.texi: Add %MENU% tag. + * manual/process.texi: Add %MENU% tag. + * manual/search.texi: Add %MENU% tag. + * manual/setjmp.texi: Add %MENU% tag. + * manual/signal.texi: Add %MENU% tag. + * manual/socket.texi: Add %MENU% tag. + * manual/startup.texi: Add %MENU% tag. + * manual/stdio.texi: Add %MENU% tag. + * manual/string.texi: Add %MENU% tag. + * manual/sysinfo.texi: Add %MENU% tag. + * manual/terminal.texi: Add %MENU% tag. + * manual/time.texi: Add %MENU% tag. + * manual/users.texi: Add %MENU% tag. + +1998-07-13 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): + Update. + +1998-07-11 Andreas Jaeger + + * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Use ANSI + style declaration to avoid warning. + * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise. + +1998-07-04 Mark Kettenis + + * elf/rtld.c (process_dl_debug): Add missing continue. + +1998-07-12 Mark Kettenis + + * elf/rtld.c (_dl_skip_args): Make global because the Hurd startup + code needs it. + +1998-07-10 Andreas Schwab + + * Makeconfig ($(common-objpfx)sysd-dirs): Write out definition of + sysd-dirs-done. + * Makerules: Don't generate version maps too early. + ($(common-objpfx)sysd-versions): Force regeneration if the list of + subdirs has changed. + +1998-07-10 Andreas Schwab + + * elf/dlfcn.h (DL_CALL_FCT): Use portable comma expression. + +1998-07-11 Andreas Schwab + + * iconv/gconv_db.c (gen_steps): Always set *handle and *nsteps. + * iconv/gconv_dl.c (__gconv_find_shlib): Correct use of tfind + return value. + +1998-07-12 Andreas Schwab + + * elf/dl-open.c (dl_open_worker): New function. + (_dl_open): Call it to do the actual work while catching errors. + * elf/dl-close.c (_dl_close): Only call termination function if + the initialisation function was called. + +1998-07-13 Ulrich Drepper + + * libio/libioP.h (_IO_cleanup_registration_needed): Use __PMT. + Reported by Felix von Leitner . + +1998-07-09 Andreas Schwab + + * Make-dist (+sysdep-tsrcs): Add Versions. + +1998-07-09 Andreas Schwab + + * math/Versions: Remove __log1p, __atan2, __fe_dfl_env, + __fe_enabled_env, __fe_nonieee_env and __fe_nomask_env. + * sysdeps/powerpc/Versions: New file. + * csu/Versions: Remove brk, sbrk, environ, __environ, _environ + and __errno_location. + * misc/Versions: Add brk and sbrk. + * posix/Versions: Add environ, __environ and _environ. + * sysdeps/unix/sysv/linux/Versions: Add __errno_location. + +1998-07-10 11:58 Ulrich Drepper + + * Makerules [no_defs]: Avoid dependency for loading sysd-versions. + Patch by Zack Weinberg. + +1998-07-10 Andreas Jaeger + + * posix/annexc.c (errno_maybe): EACCESS->EACCES. + (signal_maybe): Remove duplicate entry SIGEV_SIGNAL. + (mman_maybe): Remove duplicates MS_ASYNC, MS_INVALIDATE. + +1998-07-09 Andreas Jaeger + + * sysdeps/unix/sysv/linux/bits/fcntl.h: Fix typo. + +1998-07-09 Ulrich Drepper + + * posix/unistd.h: Simplify #ifdefs. + + * libio/libio.h: Undo last change due to possible C++ problems. + * libio/fileops.h: Likewise. + +1998-07-09 13:34 Ulrich Drepper + + * grp/grp.h: Define gid_t also for __USE_XOPEN. + * io/fcntl.h: Include also for __USE_XOPEN. + * io/utime.h: Define time_t also for __USE_XOPEN. + * io/sys/stat.h: Define time_t also for __USE_XOPEN. + Define *_t types except for pid_t also for __USE_XOPEN. + Define S_* macros also for __USE_XOPEN. + * locale/langinfo.h: Define CODESET, CRNCYSTR, RADIXCHAR, and + THOUSEP also for __USE_XOPEN. + * math/math.c: Define M_* macros also for __USE_XOPEN. + * math/bits/mathcalls.h: Declare hypot also for __USE_XOPEN. + * posix/fnmatch.h: Define FNM_NOSYS and for if _XOPEN_SOURCE is + defined. + * posix/glob.h: Likewise for GLOB_NOSYS. + * posix/regex.h: Likewise for REG_NOSYS. + * posix/wordexp.h: Likewise for WRDE_NOSYS. + * posix/unistd.h: Define *_t types also for __USE_XOPEN. + * posix/sys/wait.h: Define pid_t for __USE_XOPEN. + * pwd/pwd.h: Define gid_t and pid_t also for __USE_XOPEN. + * signal/signal.h: Define pid_t also for __USE_XOPEN. + * sysdeps/unix/sysv/linux/bits/fcntl.h: Define _RSYNC and O_DSYNC also + for __USE_POSIX199309. + * sysdeps/unix/sysv/linux/bits/termios.h: Define the various B* + constants also for __USE_XOPEN. + * wcsmbs/wchar.h: For XPG4 include wctype.h. + + * intl/dcgettext.c (find_msg): Initialize act to prevent warning. + * locale/setlocale.c (new_composite_name): Likewise for last_len. + + * libio/stdio.h: Don't declare fclose_unlocked. + + * sysdeps/posix/fpathconf.c: Handle _PC_FILESIZEBITS. + +1998-07-08 Mark Kettenis + + * stdio/stdio.h: Add prototypes for fflush_unlocked, + getc_unlocked, getchar_unlocked, putc_unlocked, putchar_unlocked, + fgets_unlocked, fread_unlocked, fwrite_unlocked, + clearerr_unlocked, feof_unlocked, ferror_unlocked, + fileno_unlocked, flockfile, ftrylockfile, funlockfile. + [__USE_XOPEN && !__USE_GNU] Declare optarg, optind, opterr. Add + prototype for getopt. + * stdio/clearerr.c (clearerr_unlocked): Weak alias for clearerr. + * stdio/feof.c (feof_unlocked): Weak alias for feof. + * stdio/ferror.c (ferror_unlocked): Weak alias for ferror. + * stdio/fflush.c (fflush_unlocked): Weak alias for fflush. + * stdio/fgets.c (fgets_unlocked): Weak alias for fgets. + * stdio/fileno.c (fileno_unlocked): Weak alias for fileno. + * stdio/fputc.c (fputc_unlocked): Weak alias for fputc. + * stdio/fread.c (fread_unlocked): Weak alias for fread. + * stdio/fwrite.c (fwrite_unlocked): Weak alias for fwrite. + * stdio/getc.c (getchar_unlocked): Weak alias for getc. + * stdio/getchar.c (getchar_unlocked): Weak alias for getchar. + * stdio/putc.c (putc_unlocked): Weak alias for putc. + * stdio/putchar.c (putchar_unlocked): Weak alias for putchar. + * stdio/Versions [GLIBC_2.1]: Add clearerr_unlocked, + feof_unlocked, ferror_unlocked, fflush_unlocked, fgets_unlocked, + fileno_unlocked, fputc_unlocked, fread_unlocked, fwrite_unlocked, + getc_unlocked, getchar_unlocked, putc_unlocked and + putchar_unlocked. + + * libio/Versions: Move flockfile, ftrylockfile and funlockfile + from here ... + * stdio-common/Versions: ... to here. + +1998-07-09 Andreas Jaeger + + * Makerules (versioning): Correct typo. + +1998-07-08 22:18 Ulrich Drepper + + * elf/Versions: Add _dl_mcount_wrapper_check. + * elf/dlfcn.h (DL_CALL_FCT): Don't test _dl_profile_map, simply use + _dl_mcount_wrapper_check. + * iconv/skeleton.c: Use DL_CALL_FCT, not _CALL_DL_FCT. + + * elf/dl-reloc.c (_dl_relocate_object): Don't declare using + internal_function. + * elf/ldsodefs.h: Likewise. + + * io/fcntl.h: Define SEEK_SET, SEEK_CUR, and SEEK_END. + + * libio/stdio.h: Make sure va_list is defined for X/Open. + Define P_tmpdir for X/Open. + + * posix/regex.h: Fix typo. + + * posix/unistd.h: Define intptr_t if not already happened. + Add pthread_atfork prototype. + * sysdeps/generic/bits/types.h: Define __intptr_t. + * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/bits/mips/types.h: Likewise. + * sysdeps/unix/sysv/linux/bits/sparc/sparc64/types.h: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise. + * sysdeps/wordsize-32/stdint.h: Don't define intptr_t if already done. + * sysdeps/wordsize-64/stdint.h: Likewise. + + * posix/bits/posix1_lim.h: Define _POSIX_CLOCKRES_MIN. + + * signal/Makefile (headers): Add bits/sigthread.h. + * signal/signal.h: Include bits/sigthread.h. + * sysdeps/generic/bits/sigthread.h: New file. + + * stdlib/stdlib.h: Declare rand_r use __USE_POSIX. + + * sysdeps/generic/bits/confname.h: Define _PC_FILESIZEBITS. + * sysdeps/posix/pathconf.c: Handle _PC_FILESIZEBITS. + * sysdeps/unix/sysv/linux/alpha/fpathconf.c: New file. + * sysdeps/unix/sysv/linux/alpha/pathconf.c: New file. + + * sysdeps/generic/bits/dlfcn.h: Define RTLD_LOCAL. + + * elf/rtld.c: Remove preloading and loadpath variables in SUID + programs. + * sysdeps/generic/dl-sysdep.c: Define unsetenv. + * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Define other envvar + names. + + * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED. + + * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_RSYNC and O_DSYNC. + Remove O_READ and O_WRITE definition. + + * sysdeps/unix/sysv/linux/bits/resource.h: Define RLIM_SAVED_MAX + and RLIM_SAVED_CUR. + + * sysdeps/unix/sysv/linux/fstatvfs.h: Handle UFS filesystem. + +1998-07-06 Andreas Schwab + + * Makerules ($(common-objpfx)sysd-versions): Expect awk script in + scripts directory. Pass move-if-change to awk. + (common-generated): Add $(version-maps) and sysd-versions. + * versions.awk: Moved to... + * scripts/versions.awk: ... here. Use move-if-change to void + touching unchanged files. Print "version-maps = ..." instead of + "all-version-maps = ..." and without $(common-objpfx). Explain + expected variable names. + * Makefile (distribute): Updated. + +1998-07-06 Andreas Schwab + + * misc/getttyent.c (getttyent): Don't return with locked stream. + * misc/mntent_r.c (__getmntent_r): Likewise. + +1998-07-07 18:24 Ulrich Drepper + + * libio/fileops.c (_IO_do_write): Don't shrink wwrite buffer to zero + if stream is line buffered. + (_io_file_overflow): Likewise. + * libio/libio.h (_IO_putc_unlocked): Make sure that for line-buffered + streams writing '\n' flushes the string. + +1998-07-07 17:28 Ulrich Drepper + + * elf/dl-profstub.c (_dl_profile_map): Only declare variable here. + * elf/dl-support.c: Define it here... + * elf/rtld.c: ...and here. + +1998-07-07 16:28 Ulrich Drepper + + * grp/initgroups.c: Handle directives from nsswitch.conf file. + +1998-07-07 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Add + __ino64_t definition. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Define + __off64_t. Reported by Felix von Leitner . + + * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Do not exit the shell + script if lddlibc4 failed. + Reported by B. D. Elliott . + +1998-07-06 Ulrich Drepper + + * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols): + Improve generated strings a bit. + +1998-07-06 14:36 Andreas Schwab + + * posix/Makefile (generated): Remove $(objpfx) from the names. + +1998-07-05 Andreas Jaeger + + * stdio-common/test_rdwr.c: Use %Zu for size_t in printf + format string. + + * libio/iofread_u.c: Include for prototype. + * libio/iofwrite_u.c: Likewise. + +1998-07-06 Andreas Jaeger + + * db2/Versions: New file. + +1998-07-04 Andreas Schwab + + * Makefile (lib-noranlib): Don't depend on sysd-versions. + ($(common-objpfx)sysd-versions): Remove rule. + * Makerules ($(common-objpfx)sysd-versions): Define here instead. + Pass name of Versions.def file to script and redirect output to + target. Include it and make all generated version maps depend on + it. + * versions.awk: Print out variable definition containing all + generated version maps. Print error messages to stderr. Remove + temp file. + +1998-07-04 Andreas Schwab + + * posix/annexc.c (check_header): Terminate macro name before + comparing. + (get_null_defines): Allow builtin macros with parameters. + (fmt, testfmt): Add -D_LIBC. + * posix/Makefile: Remove bogus duplicate include directories from + annexc test command. + +1998-07-06 12:04 Ulrich Drepper + + * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r): Handle adjunct + password scheme. + (_nss_nis_getpwnam_r): Likewise. + (_nss_nis_getpwuid_r): Likewise. + +1998-07-05 Mark Kettenis + + * libio/Versions: Move symbols whose source lives in + stdio-common to ... + * stdio-common/Versions: ... here. + * stdio/Versions: Add missing symbols. + +1998-07-05 Ulrich Drepper + + * sysdeps/unix/sysv/linux/__sendmsg.S: Define function as + __syscall_sendmsg. + * sysdeps/unix/sysv/linux/__recvmsg.S: Define function as + __syscall_recvmsg. + * sysdeps/unix/sysv/linux/recvmsg.c: Define function as __libc_recvmsg + and make __recvmsg and recvmsg weak aliases. + * sysdeps/unix/sysv/linux/sendmsg.c: Likewise for sendmsg. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define __syscall_recvmsg + and __syscall_sendmsg. + +1998-07-05 11:49 Ulrich Drepper + + * iconv/gconv_conf.c (read_conf_file): Use feof_unlocked on private + stream. + * inet/ruserpass.c (token): Likewise. + * nss/nsswitch.c (nss_parse_file): Likewise. + * intl/localealias.c: Likewise. Also for ferror. + * time/getdate.c (__getdate_r): Likewise. + + * libio/Makefile (routines): Add iofgets_u. + * libio/iofgets_u.c: New file. + * libio/Versions: Add fgets_unlocked. + * libio/stdio.h: Add prototype for fgets_unlocked. + + * misc/getttyent.c (getttyent): Use fgets_unlocked instead of fgets. + * misc/getusershell.c (initshells): Likewise. + * misc/mntent_r.c (__getmntent_r): Explicitly lock stream. Use + fgets_unlocked. + * nss/nss_files/files-XXX.c (internal_getent): Likewise. + * resolv/res_init.c (res_init): Likewise. + * sysdeps/unix/sysv/linux/getsysstats.c: Likewise. + +1998-05-23 Philip Blundell + + * sysdeps/unix/sysv/linux/arm/syscalls.list: Add `syscall'. + * sysdeps/unix/sysv/linux/arm/syscall.S: Deleted. + +1998-07-05 Ulrich Drepper + + * misc/getttyent.c (getttyent): Explicitly lock the FILE and use + _unlocked functions. + + * inet/ruserpass.c (ruserpass): Use _unlocked functions since this + is a private FILE. + +1998-07-04 17:11 -0400 Zack Weinberg + + * csu/Makefile: Build crt files in lib pass. + * db2/Makefile (distribute): Add mutex/sco.cc. + * mach/Machrules: Don't generate .udeps files if no_deps is set. + * sysdeps/unix/Makefile: Don't generate sysd-syscalls or + s-proto.d if avoid-generated is set. + + * sysdeps/alpha/Dist: List only one file per line. + * sysdeps/generic/Dist: Likewise. + * sysdeps/m68k/fpu/switch/Dist: Likewise. + * sysdeps/sparc/sparc32/Dist: Likewise. + * sysdeps/unix/Dist: Likewise. + * sysdeps/unix/sysv/irix4/Dist: Likewise. + + * sysdeps/mach/hurd/i386/Dist: New file. + * sysdeps/generic/Dist: Add endutxent.c, getutxent.c, getutxid.c, + getutxline.c, pututxline.c, setutxent.c, updwtmpx.c, and utmpxname.c. + * sysdeps/unix/sysv/linux/Dist: Add getresuid.c and getresgid.c. + * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove __sigtrampoline.S. + +1998-07-04 10:14 Ulrich Drepper + + * libio/Makefile (routines): Add iofread_u and iofwrite_u. + * libio/Versions: Add fread_unlocked and fwrite_unlocked. + + * Makerules (lib%.so): Adjust ignore pattern for last makefile change. + + * time/tzfile.c (decode): Optimize by using bswap_32. + (__tzfile_read): Use _unlocked stream functions. Correct setting of + __tzname array values. + (__tzfile_compute): Correct setting of __tzname array values. + * time/tzset.c (__tzstring): Clean up a bit. + +1998-06-29 19:01 Jim Wilson + + * posix/regex.c (re_comp): Add cast to char * before gettext calls. + +1998-06-30 Andreas Jaeger + + * sysdeps/unix/bsd/poll.c (__poll): Allocate fd_set dynamically so + that fd can be bigger than FD_SETSIZE. + +1998-07-01 Andreas Jaeger + + * nscd/grpcache.c: Include . + * nscd/pwdcache.c: Likewise. + + * nis/nis_modify.c: Include . + * nis/nis_add.c: Likewise. + * nis/nis_checkpoint.c: Likewise. + * posix/runptests.c: Likewise. + * sysdeps/generic/statvfs64.c: Likewise. + * sysdeps/generic/fstatvfs64.c: Likewise. + +1998-07-03 13:16 Ulrich Drepper + + * localedata/charmaps/ISO-8859-9: Change mapping for 0xea, 0xec, 0xef + to match data from Unicode. + Reported by Michael Deutschmann . + +1998-07-03 11:45 Ulrich Drepper + + * stdio-common/printf.h: Define printf_function and + printf_arginfo_function types using __PMT not __P. + Reported by Marc Lehmann. + +1998-07-02 14:07 -0400 Zack Weinberg + + * assert/test-assert.c: New test. + * assert/test-assert-perr.c: New test. + * assert/Makefile (tests): Add test-assert and test-assert-perr. + +1998-07-02 13:45 Zack Weinberg + + BSD-style SCM_CREDS support. + + * sysdeps/unix/sysv/linux/socket.h: Define struct cmsgcred and + SCM_CREDS. + * sysdeps/unix/sysv/linux/sendmsg.c: New file. Convert user + visible SCM_CREDS packet to what the kernel wants. + * sysdeps/unix/sysv/linux/recvmsg.c: New file. Convert + SCM_CREDS packet output by kernel to what users want. + + * sysdeps/unix/sysv/linux/sendmsg.S: Moved to... + * sysdeps/unix/sysv/linux/__sendmsg.S: here. + * sysdeps/unix/sysv/linux/recvmsg.S: Moved to... + * sysdeps/unix/sysv/linux/__recvmsg.S: here. + + * sysdeps/unix/sysv/linux/Makefile [subdir=socket]: Add + __sendmsg and __recvmsg to sysdep_routines. + * sysdeps/unix/sysv/linux/Dist: Add __sendmsg.S and __recvmsg.S. + +1998-07-02 Thorsten Kukuk + + * nscd/grpcache.c: Fix gid pointer handling and debug messages. + * nscd/pwdcache.c: Fix uid pointer handling and debug messages. + * nscd/nscd.c: Check, if pthread_create fails. + +1998-07-02 Andreas Jaeger + + * stdio-common/test_rdwr.c (main): Use %Zu for size_t in printf + format strings. + * stdio-common/bug1.c (main): Likewise. + * stdio-common/bug5.c (main): Likewise. + * stdio-common/tstgetln.c (main): Likewise. + * elf/sprof.c (generate_call_graph): Likewise. + (load_shobj): Likewise. + * posix/runptests.c (main): Likewise. + * string/tst-strlen.c (main): Likewise. + + * sysdeps/libm-ieee754/e_acos.c (__ieee754_acos): Remove unused + variable q3. + * sysdeps/libm-ieee754/e_asin.c (__ieee754_asin): Likewise + +1998-07-03 Andreas Jaeger + + * wctype/Versions: Add __towctrans. + Noticed by Alex Buell . + +1998-07-02 Mark Kettenis + + * grp/initgroups.c (compat_call): Only call dynamically loaded + functions if they are really present. + +1998-07-02 Mark Kettenis + + * sysdeps/unix/sysv/linux/bits/sched.h: Move __END_DECLS within + #ifdef that contains __BEGIN_DECLS. + +1998-07-02 Andreas Schwab + + * libio/iofwrite.c: Fix return value when size == 0. + +1998-07-01 Andreas Schwab + + * posix/Makefile (distribute): Add annexc.c. + (generated): Add $(objpfx)annexc and $(objpfx)annexc.out. + +1998-07-01 Andreas Schwab + + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add + bits/pthreadtypes.h here, and do not clobber headers. + + * sysdeps/unix/sysv/linux/Dist: Add bits/pthreadtypes.h. + +1998-07-03 Andreas Jaeger + + * timezone/tst-timezone.c: Add tests for tzname variable. + +1998-07-03 12:17 Zack Weinberg + + * Makefile [versioning=yes]: Build the mapfiles with a pattern + rule that lists all of them as targets. + (sysd-versions): Depend only on Versions.def. Write a Makefile + fragment that defines $(vers-libs) based on contents of that file; + then include it. + (lib-noranlib): Depend on lib-mapfiles not sysd-versions. + (lib-mapfiles): New target, depends on sysd-versions and $(vers-libs). + Predicate all this on avoid-generated unset as well as versioning. + +1998-07-03 14:35 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/Versions: New file. + +1998-07-02 21:51 Ulrich Drepper + + * Makeconfig: Define list of subdirs as all-subdirs and make subdirs + a copy. + * Makefile: Add rules to generate map files. + (distribute): Remove libc.map, add Versions.def and versions.awk. + * Makerules: Change rules to find map files on common-objpfx. + * elf/Makefile: Likewise. + * md5-crypt/Makefile: Likewise. + * nis/Makefile (libnsl-map): Remove. + * Versions.def: New file. + * versions.awk: New file. + * argp/Versions: New file. + * assert/Versions: New file. + * catgets/Versions: New file. + * csu/Versions: New file. + * ctype/Versions: New file. + * db/Versions: New file. + * debug/Versions: New file. + * dirent/Versions: New file. + * elf/Versions: New file. + * gmon/Versions: New file. + * grp/Versions: New file. + * hesiod/Versions: New file. + * hurd/Versions: New file. + * iconv/Versions: New file. + * inet/Versions: New file. + * intl/Versions: New file. + * io/Versions: New file. + * libio/Versions: New file. + * linuxthreads/Versions: New file. + * locale/Versions: New file. + * login/Versions: New file. + * malloc/Versions: New file. + * math/Versions: New file. + * md5-crypt/Versions: New file. + * misc/Versions: New file. + * nis/Versions: New file. + * nss/Versions: New file. + * posix/Versions: New file. + * pwd/Versions: New file. + * resolv/Versions: New file. + * resource/Versions: New file. + * rt/Versions: New file. + * setjmp/Versions: New file. + * shadow/Versions: New file. + * signal/Versions: New file. + * socket/Versions: New file. + * stdio/Versions: New file. + * stdio-common/Versions: New file. + * stdlib/Versions: New file. + * streams/Versions: New file. + * string/Versions: New file. + * sunrpc/Versions: New file. + * sysdeps/alpha/Versions: New file. + * sysdeps/alpha/fpu/Versions: New file. + * sysdeps/i386/Versions: New file. + * sysdeps/sparc/Versions: New file. + * sysdeps/unix/sysv/Versions: New file. + * sysdeps/unix/sysv/linux/Versions: New file. + * sysdeps/unix/sysv/linux/alpha/Versions: New file. + * sysdeps/unix/sysv/linux/i386/Versions: New file. + * sysdeps/unix/sysv/linux/mips/Versions: New file. + * sysvipc/Versions: New file. + * termios/Versions: New file. + * time/Versions: New file. + * wcsmbs/Versions: New file. + * wctype/Versions: New file. + * libc.map: Removed. + * db/libdb.map: Removed. + * elf/libdl.map: Removed. + * hesiod/libnss_hesiod.map: Removed. + * hurd/libhurduser.map: Removed. + * hurd/libmachuser.map: Removed. + * linuxthreads/libpthread.map: Removed. + * locale/libBrokenLocale.map: Removed. + * login/libutil.map: Removed. + * math/libm.map: Removed. + * md5-crypt/libcrypt.map: Removed. + * nis/libnsl.map: Removed. + * nis/libnsl_compat.map: Removed. + * nis/libnss_nis.map: Removed. + * nis/libnss_nisplus.map: Removed. + * nss/libnss_db.map: Removed. + * nss/libnss_files.map: Removed. + * resolv/libnss_dns.map: Removed. + * resolv/libresolv.map: Removed. + * rt/librt.map: Removed. + + * elf/dl-load.c (fillin_rpath): Fix test for trusted directory. + Fix typos. + + * elf/rtld.c (process_dl_debug): Recognize 'all'. + (process_envvars): LD_BIND_NOW must be followed by y, Y, or 1. + + * sysdeps/generic/elf/backtracesyms.c: Allocate string memory of + correct size. + +1998-07-01 Ulrich Drepper + + * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Fix typo + in comment. + + * nscd/nscd.c: Include unistd.h. + +1998-07-01 09:32 Ulrich Drepper + + * math/libm-test.c: Adjust delta for indentities1_test because gcc + became cleverer. + +1998-06-29 Andreas Schwab + + * resolv/inet_addr.c (inet_aton): Define variable base only if needed. + +1998-06-30 Andreas Schwab + + * scripts/test-installation.pl: Include in test program + to make it strictly conforming. + +1998-06-30 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias, + not a strong alias. + * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise. + +1998-06-30 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias, + not a strong alias. + +1998-06-30 Ulrich Drepper + + * posix/Makefile (headers): Remove bits/pthreadtypes.h. + * sysdeps/unix/sysv/linux/Makefile [subdir==posix] (headers): Add + bits/pthreadtypes.h. + +1998-06-30 11:47 Ulrich Drepper + + * include/aio.h: New file. + * posix/Makefile (distribute): Add bits/pthreadtypes.h. + (tests): Build and run annexc program. + * posix/annexc.c: New file. + * posix/bits/posix1_lim.h: Add several more _POSIX_* limits. + * rt/aio.h: Remove __need_timespec_t. We can include the whole time.h. + * rt/aio_misc.c: Include limits.h. + * rt/aio_notify.c: Include errno.h. + * sysdeps/unix/sysv/linux/alpha/bits/types.h: Include pthreadtypes.h. + Define size_t. + * sysdeps/unix/sysv/linux/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/bits/errno.h: Define ENOTSUP though the + kernel doesn't do this. + * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_LARGEFILE only if + __USE_LARGEFILE64 is defined. + * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: New file. Empty. + * sysdeps/unix/sysv/linux/bits/sched.h: Define __sched_param struct + if requested. + * sysdeps/unix/sysv/linux/bits/siginifo.h: Protect non-standard names. + + * stdlib/isomac.c: Avoid include_next warning. + +1998-06-29 12:27 Ulrich Drepper + + * argp/argp.h: Use __PMT instead of __P for function pointer. + * iconv/gconv.h: Likewise. + * io/fts.h: Likewise. + * io/ftw.h: Likewise. + * libio/libio.h: Likewise. + * malloc/mcheck.h: Likewise. + * misc/search.h: Likewise. + * posix/glob.h: Likewise. + * resolv/resolv.h: Likewise. + * signal/signal.h: Likewise. + * stdlib/stdlib.h: Likewise. + * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise. + +1998-06-26 Andreas Schwab + + * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) only once. + +1998-06-27 Andreas Schwab + + * posix/wordexp.c (parse_param): Fix memory leak. + +1998-06-27 Andreas Schwab + + * libc.map: Export _IO_ftrylockfile. + +1998-06-27 Andreas Schwab + + * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use get[pu]id instead of + __get[pu]id. + +1998-06-28 Andreas Schwab + + * elf/dl-misc.c (_dl_debug_message): Don't cache the pid. + + * elf/dl-runtime.c (_dl_object_relocation_scope): Avoid adding the + same search list twice. + +1998-06-29 Andreas Jaeger + + * login/programs/utmpd.c (handle_requests): Set and use maximal fd + used to optimize loop/select. + +1998-06-24 Andreas Schwab + + * sysdeps/generic/init-first.c: Don't define __libc_pid. + * sysdeps/unix/sysv/linux/init-first.c: Likewise. + * sysdeps/mach/hurd/i386/init-first.c: Likewise. + * sysdeps/mach/hurd/mips/init-first.c: Likewise. + * sysdeps/arm/init-first.c: Likewise. + * posix/getopt_init.c: Don't use __libc_pid. + * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise. + * sysdeps/unix/sysv/linux/sigqueue.c: Likewise. + * libc.map: Remove __libc_uid and __libc_pid. + +1998-06-28 Andreas Jaeger + + * sunrpc/rtime.c (rtime): Use poll instead of select. + +1998-06-28 Andreas Jaeger + + * sunrpc/clnt_tcp.c (readtcp): Use poll instead of select. + * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise. + * sunrpc/clnt_udp.c (clntudp_call): Likewise. + Patches from FreeBSD current. + +1998-06-28 Andreas Jaeger + + * nscd/connections.c (handle_new_request): Handle POLLHUP + correctly. + (close_sockets): Correct parameter to dbg_log. + +1998-06-27 David S. Miller + + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host): + Cleanup weak_extern usage for _dl_hwcap and _dl_hwcap_mask. + (elf_machine_fixup_plt): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: When + _dl_pagesize not set, use system call to always get correct answer. + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list + (__syscall_getpagesize): Add + +1998-06-27 Ulrich Drepper + + * resolv/res_send.c (res_send): Fix typo. + +1998-06-25 Andi Kleen + + * inet/rcmd.c (rcmd): Change to use __poll instead of select. + * resolv/res_send.c (res_send): Likewise. + +1998-06-27 12:58 Ulrich Drepper + + * sysdeps/unix/bsd/poll.c: Define __poll, make poll weak alias. + * sysdeps/unix/sysv/linux/poll.c: Likewise. + +1998-06-27 7:07 Richard Henderson + + * math/atest-exp.c (exp_mpn, main): Cast to mp_limb_t appropriately. + * math/atest-exp2.c (exp_mpn, main): Likewise. + * math/atest-sincos.c (main): Likewise. + + * resolv/inet_addr.c (inet_aton): Check for 32-bit overflow. Move + base handling away from strtoul. Always reset errno. + + * sysdeps/alpha/Makefile (elf): Kill -mno-fp-regs. + + * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Only set + _dl_profile_map if _dl_name_match_p. + (RTLD_START): Fix .prologue. Set __libc_stack_end. + * sysdeps/alpha/elf/start.S: Pass sp as arg 7. Kill __data_start. + + * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Mark tmp + as early-clobber. + + * sysdeps/libm-ieee754/e_exp10.c: Include "math_private.h". + * sysdeps/libm-ieee754/e_exp10f.c: Likewise. + * sysdeps/libm-ieee754/e_exp10l.c: Likewise. + +1998-06-26 Ulrich Drepper + + * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use alias-safe code. + +1998-06-26 Thorsten Kukuk + + * nis/nis_call.c: Don't copy server structure. + * nis/nis_intern.h: Remove unused entries. + * nis/nis_table.c: Rewrite __create_ib_request. + +1998-06-26 14:37 Ulrich Drepper + + * configure.in: Check for -fexceptions. + * config.make.in: Define exceptions, not no-exceptions. + * misc/sys/cdefs.h: Define __PMT. When using modern g++ define + __P to use throw(). + * misc/Makefile: Define CFLAGS-tsearch.c and CFLAGS-lsearch.c to + $(exceptions). + * stdlib/Makefile: Likewise for bsearch.c, msort.c, and qsort.c. + * misc/search.h: Use __PMT in tsearch, tfind, tdelete, twalk, tdestroy, + lfind, and lsearch prototpypes. + * stdlib/stdlib.h: Likewise for bsearch and qsort. + +1998-06-26 Ulrich Drepper + + * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use C code, not asm. + +1998-06-25 Andreas Schwab + + * Makefile (remove-old-headers): Make phony. + + * configure.in: Substitute @old_glibc_headers@. + +1998-06-26 Ulrich Drepper + + * libc.map: Remove __libc_uid. + +1998-06-24 Andreas Schwab + + * manual/terminal.texi (Allocation, Pseudo-Terminal Pairs): Fix + typos. + +1998-06-26 Ulrich Drepper + + * libc.map: Add Alpha-specific io function from protected namespace. + +1998-06-25 19:26 Ulrich Drepper + + * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) if defined first. + * locale/Makefile: Define locale-CPPFLAGS instead of redefining + CPPFLAGS. + + * libc.map: Export __sigaction. + +1998-06-25 Andreas Jaeger + + * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PTRACE): Add it + (from Linux 2.1.107). + +1998-06-24 Ulrich Drepper + + * nss/nss_files/files-XXX.c (_nss_files_get,ENTNAME_r): Initialize + position when file was opened here. + Reported by Howard Chu . + + * sysdeps/generic/glob.c: Also protect FNM_* macros from being + undefined in a second inclusion. + +1998-06-20 Mark Kettenis + + * sysdeps/mach/hurd/i386/Makefile: New file. + * sysdeps/mach/hurd/i386/init-first.c [!PIC] (init1): Call + __libc_init_secure. + (_hurd_stack_setup): Renamed + from __libc_init_first. + (__libc_init_first): New function. + * sysdeps/mach/hurd/i386/static-start.S: New file. + +1998-05-30 Mark Kettenis + + * sysdeps/mach/hurd/i386/init-first.c + +1998-06-22 Andreas Schwab + + * grp/initgroups.c: Use _CALL_DL_FCT. + +1998-06-23 Mark Kettenis + + * elf/rtld.c (process_dl_debug): Add missing continue. + +1998-06-23 Mark Kettenis + + * elf/dl-load.c (_dl_map_object_from_fd): Add missing cast. + +1998-06-23 Andreas Jaeger + + * manual/terminal.texi (Pseudo-Terminals): Correct typos. + +1998-06-23 Ulrich Drepper + + * config.make.in: Remove LDAP support. + * nss/Makefile: Likewise. + +1998-06-22 17:02 Ulrich Drepper + + * sysdeps/generic/enbl-secure.c: Don't use __libc_uid. + * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise. + * sysdeps/unix/sysv/linux/sigqueue.c: Likewise. + * sysdeps/unix/sysv/linux/init-first.c: Don't initialize __libc_uid. + +1998-06-02 Gordon Matzigkeit + + * mach/Makefile: Change `mv' invocations to `mv -f'. + * mach/Machrules: Likewise. + +1998-06-22 Andreas Jaeger + + * config.make.in (old-glibc-headers): Add it. + + * configure.in: Add test for glibc 2.0.x headers. + + * Makefile (headers2_0): New variable - contains so far only + Linux/Intel glibc 2.0.x headers. + (remove-old-headers): New rule to remove headers from glibc 2.0.x. + (install): Depend on remove-old-headers. + +1998-06-19 Mark Kettenis + + * sysdeps/generic/ftruncate.c: Define function as __ftruncate and + make ftruncate a weak alias. + * sysdeps/mach/hurd/ftruncate.c: Really define function as + __ftruncate. + * sysdeps/mach/hurd/truncate.c: Include . + (truncate): Fix function defenition to match prototype. + +1998-06-20 Mark Kettenis + + * manual/terminal.texi: Document ttyname_r, getpt, grantpt, + unlockpt, ptsname, ptsname_r, openpty and forkpty. + +1998-06-22 Ulrich Drepper + + * sysdeps/generic/glob.c: Make it possible to include glob.h + before loading glob.c. + Reported by Felix von Leitner . + +1998-06-22 Andreas Jaeger + + * nscd/connections.c: Use poll() instead of select(). + +1998-06-22 14:08 Andreas Schwab + + * sysdeps/generic/Dist: Fix typo. + +1998-06-20 Thorsten Kukuk + + * nis/nis_add.c: Avoid unnecessary strlen () calls. + * nis/nis_addmember.c: Likewise. + * nis/nis_call.c: Likewise. + * nis/nis_creategroup.c: Likewise. + * nis/nis_destroygroup.c: Likewise. + * nis/nis_findserv.c: Likewise. + * nis/nis_ismember.c: Likewise. + * nis/nis_print.c: Likewise. + * nis/nis_print_group_entry.c: Likewise. + * nis/nis_removemember.c: Likewise. + * nis/nis_verifygroup.c: Likewise. + * nis/ypclnt.c: Likewise. + + * nis/nis_file.c: Close file handles. + + * nis/nis_callback.c: Fix typo. + +1998-06-10 Thorsten Kukuk + + * nis/Makefile: Add nis-initgroups and compat-initgroups. + * nis/libnss_compat.map: Add _nss_compat_initgroups. + * nis/libnss_nis.map: Add _nss_nis_initgroups. + * nis/nss_compat/compat-initgroups.c: New, faster then getgrent(). + * nis/nss_nis/nis-initgroups.c: Likewise. + * libc-work/nss/nsswitch.c: Rename nss_lookup_function to + __nss_lookup_function and make it public. + * grp/initgroups.c: Rewrite, to use initgroups function from NSS + module if exists, else use old method. + +1998-06-19 Ulrich Drepper + + * nss/getXXbyYY_r.c (lookup_function): Correct return in type + definition. + * nss/getXXent_r.c (set_function, end_function, get_function): + Likewise. Reported by Thorsten Kukuk. + + * sysdeps/unix/sysv/linux/sigstack.c: Mark sigstack as dangerous. + +1998-06-19 Andreas Jaeger + + * sysdeps/unix/sysv/linux/sparc/Dist: Follow change from + 1998-06-16 and distribute kernel_termios.h. + + * nis/Makefile (distribute): Add nis_xdr.h. + +1998-06-19 Andreas Jaeger + + * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Disable for + kernels that don't have sigaltstack. + +1998-06-19 Ulrich Drepper + + * sysdeps/generic/bits/sem.h: Don't define union semun. + + * sysdeps/unix/sysv/linux/bits/sem.h: Fix typo. + + * sysdeps/unix/sysv/linux/bits/ipc.h: Remove ipc_kludge definition + here. + * sysdeps/unix/sysv/linux/msgrcv.c (msgrcv): Add ipc_kludge + definition here. + +1998-06-18 21:45 Ulrich Drepper + + * signal/signal.h: Add prototype for __sigaltstack. + * sysdeps/unix/sysv/linux/syscalls.list: Add __sigaltstack name. + Remove sigstack entry. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add sigstack here. + * sysdeps/unix/sysv/linux/sigstack.c: New file. + + * sysdeps/i386/backtrace.c: Add casts. + +1998-06-18 19:49 Ulrich Drepper + + * intl/dcgettext.c: use complete type name. + * intl/hash-string.h: Likewise. + + * intl/localealias.c: Undo patch from 1998-04-29. + * intl/l10nflist.c: Likewise. + * intl/loadinfo.h: Likewise. + +1998-06-18 Ulrich Drepper + + * sysdeps/i386/elf/start.S (_start): Ensure correct alignment. + +1998-06-18 16:40 Ulrich Drepper + + * libc.map: Add _dl_profile_map, _dl_profile_output, _dl_start_profile, + _dl_mcount, _dl_mcount_wrapper. + * elf/Makefile (routines): Add dl-profstub. + * elf/dl-profstub.c: New file. + * elf/dl-support.c: Don't define _dl_profile_map. + * elf/rtld.c: Likewise. + * elf/dlfcn.h: Define DL_CALL_FCT macro. + * elf/ldsodefs.h: Declare _dl_profile_output, _dl_mcount_wrapper. + Define _CALL_DL_FCT. + * iconv/gconv.c: Use _CALL_DL_FCT to call function from dynamically + loaded object. + * iconv/gconv_db.c: Likewise. + * iconv/skeleton.c: Likewise. + * nss/getXXbyYY_r.c: Likewise. + * nss/getXXent_r.c: Likewise. + * nss/nsswitch.c: Likewise. + +1998-06-18 12:29 Ulrich Drepper + + * sysdeps/libm-i387/e_scalb.S: Fix bug in FPU stack handling. + * sysdeps/libm-i387/e_scalbf.S: Likewise. + * sysdeps/libm-i387/e_scalbl.S: Likewise. + +1998-06-18 Ulrich Drepper + + * stdlib/tst-strtod.c (long_dbl): Provide receipe to regenerate + longestdbl. + +1998-06-18 10:26 Ulrich Drepper + + * iconvdata/Makefile (modules): Add MACINTOSH. + (MACINTOSH-routines): New variable. + (distribute): Add macintosh.c. + (awk-generated-headers): Add macintosh.h. + Add rule for macintosh.h generation. + * iconvdata/gconv-modules: Add definitions for MACINTOSH. + * iconvdata/macintosh.c: New file. + +1998-06-17 Ulrich Drepper + + * stdlib/tst-strtod.c (long_dbl): Add test for loooong numbers. + + * stdlib/strtod.c (str_to_mpn): Fix extending of n array which + only should happen for cy != 0. + + * sysdeps/unix/sysv/linux/alpha/glob.c: Include sys/types.h before + glob.h. + +1998-06-16 Andreas Schwab + + * sysdeps/generic/backtrace.c (INNER_THAN): New definition, use it + to compare stack addresses. + +1998-06-17 Ulrich Drepper + + * sysdeps/unix/sysv/linux/alpha/glob.c: Include glob.h before + defining prototypes. + +1998-06-16 David S. Miller + + * sysdeps/sparc/sparc32/dl-machine.h + (elf_machine_fixup_plt): During rtld bootstrap, always perform + flushes as the kernel will emulate it when the underlying cpu does + not implement flush. + + * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: Move... + * sysdeps/unix/sysv/linux/sparc/kernel_termios.h: ...to here. + + * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S: Remove. + * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: No longer build + trampoline code. + + * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S + (__clone): Branch to label .Lerror not __clone_syscall_error. + (.Lerror): Fixup EINVAL setting. + * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list + (__syscall_getgroups, __syscall_setgroups): Add. + + * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c + (__sigaction): Member name is k_sa_handler. Use memcpy to copy + around sa_mask data. + +1998-06-16 Ulrich Drepper + + * math/math.h: Include bits/nan.h when compiling for ISO C 9x. + + * string/Makefile: Make sure test-ffs does not use builtins. + +1998-06-16 Thorsten Kukuk + + * sunrpc/svc.c: Check for NULL pointer. + + * nis/libnsl.map: Add public NIS+ xdr functions. + + * nis/rpcsvc/nis_callback.h: New file. + * nis/rpcsvc/nis.h: Move xdr_* functions from here ... + * nis/nis_xdr.h: ... here. + + * nis/nis_add.c: Use internal _xdr_* functions, check for NULL + pointers, use NIS+ defines where possible. + * nis/nis_cache.c: Likewise. + * nis/nis_cache2_xdr.c: Likewise. + * nis/nis_call.c: Likewise. + * nis/nis_checkpoint.c: Likewise. + * nis/nis_clone_dir.c: Likewise. + * nis/nis_clone_obj.c: Likewise. + * nis/nis_clone_res.c: Likewise. + * nis/nis_creategroup.c: Likewise. + * nis/nis_file.c: Likewise. + * nis/nis_free.c: Likewise. + * nis/nis_getservlist.c: Likewise. + * nis/nis_local_names.c: likewise. + * nis/nis_lookup.c: Likewise. + * nis/nis_mkdir.c: Likewise. + * nis/nis_modify.c: Likewise. + * nis/nis_ping.c: Likewise. + * nis/nis_print.c: Likewise. + * nis/nis_remove.c: Likewise. + * nis/nis_removemember.c: Likewise. + * nis/nis_rmdir.c: Likewise. + * nis/nis_server.c: Likewise. + * nis/nis_table.c: Likewise. + * nis/nis_util.c: Likewise. + * nis/nis_verifygroup.c: Likewise. + * nis/nis_xdr.c: Likewise. + * nis/nis_callback.c: Likewise, and move xdr functions from here ... + * nis/nis_xdr.c: ... to here. + +1998-06-15 18:07 Ulrich Drepper + + * iconvdata/ksc5601.h: Clean up a bit. + +1998-06-15 14:35 Ulrich Drepper + + * sunrpc/svc_tcp.c (readtcp): Also listen to all the other connections + and process incoming data. + * sunrpc/xdr_rec.c (set_input_fragment): Only recognize zero length + fragments as invalid. + Patches by Thorsten Kukuk . + +1998-06-13 Andreas Jaeger + + Removal of duplicates like "the the". + * manual/time.texi (TZ Variable): Likewise. + * manual/users.texi (Manipulating the Database): Likewise. + * manual/sysinfo.texi (Filesystem handling): Likewise. + * manual/signal.texi (Signaling Yourself): Likewise. + * manual/message.texi (Message Translation): Likewise. + (Common Usage): Likewise. + * manual/llio.texi: Likewise. + * manual/arith.texi (Old-style number conversion): Likewise. + * manual/argp.texi (Argp): Likewise. + (Argp Parsers): Likewise. + (Argp Help Filtering): Likewise. + + * hesiod/README.hesiod: Correct typo. + + * manual/llio.texi: Correct typos. + * manual/sysinfo.texi: Likewise. + +1998-06-13 Andreas Jaeger + + * rt/aio.h: Rename __op to __operation for g++. + +1998-06-13 20:17 -0400 Zack Weinberg + + * iconvdata/gen-8bit-gap.sh: Use awk not perl. Clean up sed + script. + * iconvdata/gen-8bit-gap-1.sh: Likewise. + * iconvdata/gen-8bit.sh: Clean up sed script. + + * iconvdata/Makefile: Remove all PERL conditionals; build all + the modules all the time. Export AWK. + (gen-8bit-gap): Delete setting of PERL. + (gen-8bit-gap-1): Likewise. + (perl-generated-headers): Renamed awk-generated-headers. + + * iconvdata/gap.pl: Removed. + * iconvdata/gaptab.pl: Removed. + * iconvdata/gap.awk: New file. + * iconvdata/gaptab.awk: New file. + +1998-06-15 Ulrich Drepper + + * sysdeps/generic/Dist: Add errno-loc.c. + + * sysdeps/unix/sysv/linux/alpha/glob.c: Add prototypes for the + __new_* functions. + +1998-06-14 14:21 -0400 Zack Weinberg + + * stdio-common/bug12.c: New test for fread()/fseek(). + * stdio-common/Makefile (tests): Add bug12. + +1998-06-14 Andreas Schwab + + * sysdeps/generic/elf/backtracesyms.c: Make array elements + constant. + * sysdeps/generic/backtracesyms.c: Likewise. Fix type of RESULT. + * debug/execinfo.h: Update declaration. + +1998-06-14 Andreas Schwab + + * sysdeps/generic/elf/backtracesyms.c: Make array elements constant. + * sysdeps/generic/backtracesyms.c: Likewise. Fix type of RESULT. + * debug/execinfo.h: Update declaration. + +1998-06-13 Andreas Schwab + + * manual/llio.texi: Fix spelling. + * manual/sysinfo.texi: Fix spelling. + +1998-06-13 Andreas Schwab + + * misc/hsearch.c (__hdestroy): Renamed from hdestroy, create weak + alias for old name. Put this on __libc_subfreeres. + * misc/search.h: Declare it. + +1998-06-13 Andreas Schwab + + * string/bits/string2.h (strcmp): Add missing parens around macro + parameters. + +1998-06-12 23:34 Ulrich Drepper + + * manual/arith.texi: Fix problem with @math and texinfo.tex. + + * manual/filesys.texi: Document LFS functions. + * manual/llio.texi: Likewise. + * manual/stdio.texi: Likewise. + * manual/time.texi: Likewise. + + * manual/llio.texi: Document AIO functions. + + * resource/sys/resource.h: Mark second argument of setrlimit as const. + * sysdeps/generic/setrlimit.c: Likewise. + * sysdeps/generic/setrlimit64.c: Likewise. + * sysdeps/mach/hurd/setrlimit.c: Likewise. + * sysdeps/unix/sysv/setrlimit.c: Likewise. + +1998-06-11 Andreas Schwab + + * sysdeps/generic/getenv.c: Fix last change. + +1998-06-10 Andreas Schwab + + * sysdeps/generic/backtrace.c: Provide generic implementation. + +1998-06-10 Andreas Schwab + + * configure.in: Give visual feedback of the default directories we + added. + +1998-06-11 Andreas Schwab + + * io/fts.c (fts_build): Define oflag only if needed. + +1998-06-11 Andreas Schwab + + * sysdeps/libm-ieee754/w_exp10.c: Add missing close comment. + +1998-06-11 Ulrich Drepper + + * libc.map: Don't export argp's fmtstream handling functions. + + * manual/sysinfo.texi: Document fstab and mtab handling functions. + * manual/llio.texi: Document more LFS functions and start documenting + the AIO functions. + +1998-06-03 03:09 Geoff Keating + + * sysdeps/unix/sysv/linux/pread.c: Detect missing syscall, like poll(). + * sysdeps/unix/sysv/linux/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. + +1998-06-03 03:09 Geoff Keating + + * sysdeps/powerpc/Makefile: Use -G0 on the startup file; this + makes it easier to undump emacs. + * sysdeps/powerpc/bits/endian.h: Use more informative error message + for when the endianness can't be determined. + +1998-06-04 13:19 Geoff Keating + + * nss/Makefile: Add files publickey database support. + * nss/libnss_files.map: Export the required functions. + * nss/nss_files/files-key.c: Implement it. + * sunrpc/rpc/auth_des.h: Correct typos in comments. + +1998-06-10 Ulrich Drepper + + * iconv/gconv_builtin.h: Add aliases for CORBA. + * iconvdata/gconv-modules: Likewise. + +1998-06-10 Andreas Jaeger + + * math/libm-test.c (main): Call exp10_test. + (exp10_test): New function which tests exp10. + +1998-06-10 Ulrich Drepper + + * sysdeps/unix/sysv/linux/syscalls.list: Add sigaltstack and + sigstack. + + * sysdeps/unix/sysv/linux/bits/sigstack.h: Add definitions of + SS_ONSTACK, SS_DISABLE, MINSIGSTKSZ and SIGSTKSZ. + * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h: New file. + +1998-06-08 Andreas Schwab + + * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address + in the variable, not its GOT slot. + +1998-06-10 10:32 Andreas Schwab + + * sysdeps/m68k/fpu/bits/mathinline.h: Define __ieee754_exp10 as + inline. + * sysdeps/m68k/fpu/e_exp10.c: New file. + * sysdeps/m68k/fpu/e_exp10f.c: New file. + * sysdeps/m68k/fpu/e_exp10l.c: New file. + + * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Set + _dl_profile_map only if the name matches. + (_dl_start_user): Remember stack address. + * sysdeps/m68k/elf/start.S: Pass new argument to + __libc_start_user. + + * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_LABEL): New + definition. + (PSEUDO, SYSCALL_ERROR_HANDLER): Use it instead of syscall_error. + * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise. + +1998-06-09 18:16 Ulrich Drepper + + * math/Makefile (libm-calls): Add w_exp10 and e_exp10. + * math/libm.map: Add exp10{,f,l} and pow10{,f,l}. + * math/math_private.h: Add prototypes for __ieee754_exp10{,f,l}. + * math/bits/mathcalls.h: Add definitions for exp10 and pow10 + prototypes. + * sysdeps/libm-i387/e_exp10.S: New file. + * sysdeps/libm-i387/e_exp10f.S: New file. + * sysdeps/libm-i387/e_exp10l.S: New file. + * sysdeps/libm-ieee754/e_exp10.c: New file. + * sysdeps/libm-ieee754/e_exp10f.c: New file. + * sysdeps/libm-ieee754/e_exp10l.c: New file. + * sysdeps/libm-ieee754/w_exp10.c: New file. + * sysdeps/libm-ieee754/w_exp10f.c: New file. + * sysdeps/libm-ieee754/w_exp10l.c: New file. + * sysdeps/libm-ieee754/k_standard.c: Add exception code for exp10. + +1998-05-25 22:18 H.J. Lu + + * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers): Add + sys/elf.h and sys/reg.h. + * sysdeps/unix/sysv/linux/i386/sys/elf.h: New file. + * sysdeps/unix/sysv/linux/i386/sys/reg.h: New file. + * sysdeps/unix/sysv/linux/i386/sys/procfs.h: New file. + * sysdeps/unix/sysv/linux/i386/sys/user.h: New file. + + * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETREGS, + PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS): Added. + +1998-06-09 Ulrich Drepper + + * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_options): Define + __data member only for gcc. Reported by ak@muc.de. + + * misc/mntent.h: Undo last patch. + * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Undo last patch. + * misc/tst/mntent.c: Adjust code for this change. + + * io/fts.c: Updated from a slightly more recent BSD version. + * io/fts.h: Likewise. + + * libc.map: Add __libc_stack_end. + + * db2/Makefile (routines): Add lock_region. + * db2/config.h: Update from db-2.4.14. + * db2/db.h: Likewise. + * db2/db_185.h: Likewise. + * db2/db_int.h: Likewise. + * db2/btree/bt_close.c: Likewise. + * db2/btree/bt_compare.c: Likewise. + * db2/btree/bt_conv.c: Likewise. + * db2/btree/bt_cursor.c: Likewise. + * db2/btree/bt_delete.c: Likewise. + * db2/btree/bt_open.c: Likewise. + * db2/btree/bt_page.c: Likewise. + * db2/btree/bt_put.c: Likewise. + * db2/btree/bt_rec.c: Likewise. + * db2/btree/bt_recno.c: Likewise. + * db2/btree/bt_rsearch.c: Likewise. + * db2/btree/bt_search.c: Likewise. + * db2/btree/bt_split.c: Likewise. + * db2/btree/bt_stat.c: Likewise. + * db2/btree/btree.src: Likewise. + * db2/btree/btree_auto.c: Likewise. + * db2/clib/getlong.c: Likewise. + * db2/common/db_appinit.c: Likewise. + * db2/common/db_apprec.c: Likewise. + * db2/common/db_byteorder.c: Likewise. + * db2/common/db_err.c: Likewise. + * db2/common/db_log2.c: Likewise. + * db2/common/db_region.c: Likewise. + * db2/common/db_salloc.c: Likewise. + * db2/common/db_shash.c: Likewise. + * db2/db/db.c: Likewise. + * db2/db/db.src: Likewise. + * db2/db/db_auto.c: Likewise. + * db2/db/db_conv.c: Likewise. + * db2/db/db_dispatch.c: Likewise. + * db2/db/db_dup.c: Likewise. + * db2/db/db_overflow.c: Likewise. + * db2/db/db_pr.c: Likewise. + * db2/db/db_rec.c: Likewise. + * db2/db/db_ret.c: Likewise. + * db2/db/db_thread.c: Likewise. + * db2/db185/db185.c: Likewise. + * db2/db185/db185_int.h: Likewise. + * db2/dbm/dbm.c: Likewise. + * db2/hash/hash.c: Likewise. + * db2/hash/hash.src: Likewise. + * db2/hash/hash_auto.c: Likewise. + * db2/hash/hash_conv.c: Likewise. + * db2/hash/hash_debug.c: Likewise. + * db2/hash/hash_dup.c: Likewise. + * db2/hash/hash_func.c: Likewise. + * db2/hash/hash_page.c: Likewise. + * db2/hash/hash_rec.c: Likewise. + * db2/hash/hash_stat.c: Likewise. + * db2/include/btree.h: Likewise. + * db2/include/btree_ext.h: Likewise. + * db2/include/clib_ext.h: Likewise. + * db2/include/common_ext.h: Likewise. + * db2/include/cxx_int.h: Likewise. + * db2/include/db.h.src: Likewise. + * db2/include/db_185.h.src: Likewise. + * db2/include/db_am.h: Likewise. + * db2/include/db_auto.h: Likewise. + * db2/include/db_cxx.h: Likewise. + * db2/include/db_dispatch.h: Likewise. + * db2/include/db_ext.h: Likewise. + * db2/include/db_int.h.src: Likewise. + * db2/include/db_page.h: Likewise. + * db2/include/db_shash.h: Likewise. + * db2/include/db_swap.h: Likewise. + * db2/include/hash.h: Likewise. + * db2/include/hash_ext.h: Likewise. + * db2/include/lock.h: Likewise. + * db2/include/lock_ext.h: Likewise. + * db2/include/log.h: Likewise. + * db2/include/log_ext.h: Likewise. + * db2/include/mp.h: Likewise. + * db2/include/mp_ext.h: Likewise. + * db2/include/mutex_ext.h: Likewise. + * db2/include/os_ext.h: Likewise. + * db2/include/os_func.h: Likewise. + * db2/include/queue.h: Likewise. + * db2/include/shqueue.h: Likewise. + * db2/include/txn.h: Likewise. + * db2/lock/lock.c: Likewise. + * db2/lock/lock_conflict.c: Likewise. + * db2/lock/lock_deadlock.c: Likewise. + * db2/lock/lock_region.c: Likewise. + * db2/lock/lock_util.c: Likewise. + * db2/log/log.c: Likewise. + * db2/log/log.src: Likewise. + * db2/log/log_archive.c: Likewise. + * db2/log/log_auto.c: Likewise. + * db2/log/log_compare.c: Likewise. + * db2/log/log_findckp.c: Likewise. + * db2/log/log_get.c: Likewise. + * db2/log/log_put.c: Likewise. + * db2/log/log_rec.c: Likewise. + * db2/log/log_register.c: Likewise. + * db2/mp/mp_bh.c: Likewise. + * db2/mp/mp_fget.c: Likewise. + * db2/mp/mp_fopen.c: Likewise. + * db2/mp/mp_fput.c: Likewise. + * db2/mp/mp_fset.c: Likewise. + * db2/mp/mp_open.c: Likewise. + * db2/mp/mp_pr.c: Likewise. + * db2/mp/mp_region.c: Likewise. + * db2/mp/mp_sync.c: Likewise. + * db2/mutex/68020.gcc: Likewise. + * db2/mutex/mutex.c: Likewise. + * db2/mutex/parisc.gcc: Likewise. + * db2/mutex/parisc.hp: Likewise. + * db2/mutex/sco.cc: Likewise. + * db2/os/os_abs.c: Likewise. + * db2/os/os_alloc.c: Likewise. + * db2/os/os_config.c: Likewise. + * db2/os/os_dir.c: Likewise. + * db2/os/os_fid.c: Likewise. + * db2/os/os_fsync.c: Likewise. + * db2/os/os_map.c: Likewise. + * db2/os/os_oflags.c: Likewise. + * db2/os/os_open.c: Likewise. + * db2/os/os_rpath.c: Likewise. + * db2/os/os_rw.c: Likewise. + * db2/os/os_seek.c: Likewise. + * db2/os/os_sleep.c: Likewise. + * db2/os/os_spin.c: Likewise. + * db2/os/os_stat.c: Likewise. + * db2/os/os_unlink.c: Likewise. + * db2/progs/db_archive/db_archive.c: Likewise. + * db2/progs/db_checkpoint/db_checkpoint.c: Likewise. + * db2/progs/db_deadlock/db_deadlock.c: Likewise. + * db2/progs/db_dump/db_dump.c: Likewise. + * db2/progs/db_dump185/db_dump185.c: Likewise. + * db2/progs/db_load/db_load.c: Likewise. + * db2/progs/db_printlog/db_printlog.c: Likewise. + * db2/progs/db_recover/db_recover.c: Likewise. + * db2/progs/db_stat/db_stat.c: Likewise. + * db2/txn/txn.c: Likewise. + * db2/txn/txn.src: Likewise. + * db2/txn/txn_auto.c: Likewise. + * db2/txn/txn_rec.c: Likewise. + + * elf/rtld.c: Move definition of __libc_stack_end to ... + * sysdeps/generic/dl-sysdep.h: ...here. + + * sysdeps/unix/sysv/linux/fstatvfs.c: Handle nodiratime option. + * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_NODIRATIME. + * sysdeps/unix/sysv/linux/sys/mount.h: Define MS_NODIRATIME. + + * sysdeps/generic/libc-start.c: Always set __libc_stack_end. + * sysdeps/i386/backtrace.c: Test whether frame pointer is legal + before following it. + +1998-06-08 21:44 Ulrich Drepper + + * sysdeps/unix/sysv/linux/fstatvfs.c: Handle constant option string + from mntent correctly. + +1998-06-06 Andreas Jaeger + + * sunrpc/Makefile (generated): Correct typo. + +1998-06-04 Philip Blundell + + * elf/elf.h (EM_ARM, et al.): New definitions. + * sysdeps/arm/dl-machine.h: Update for new draft ARM ELF ABI. + +1998-06-08 21:33 Ulrich Drepper + + * localedata/SUPPORTED: Add sk_SK. + * localedata/locales/sk_SK: New file. + +1998-06-08 18:57 Ulrich Drepper + + * Makeconfig (subdirs): Add debug. + * configure.in: Use sysdeps/generic/elf subdir if ELF platform. + * libc.map: Add __backtrace, __backtrace_symbols, backtrace and + backtrace_symbols. + * sysdeps/generic/backtrace.c: New file. + * sysdeps/generic/backtracesyms.c: New file. + * sysdeps/generic/elf/backtracesyms.c: New file. + * sysdeps/i386/backtrace.c: New file. + * debug/Makefile: New file. + * debug/backtrace-tst.c: New file. + * debug/execinfo.h: New file. + +1998-06-08 13:34 Ulrich Drepper + + * elf/sprof.c: Implement call graph profiling. + + * sysdeps/generic/getenv.c: Optimize to use strncmp less often. + +1998-06-07 Andreas Jaeger + + * pwd/fgetpwent_r.c (__fgetpwent_r): Correct buffer overflow fix. + * grp/fgetgrent_r.c (__fgetgrent_r): Likewise. + * shadow/fgetspent_r.c (__fgetspent_r): Likewise. + Noticed by Jake Garver . + +1998-06-07 Andreas Schwab + + * libio/genops.c (__underflow): Read character from read pointer + as unsigned. + (__uflow): Likewise. + +1998-06-07 13:32 Ulrich Drepper + + * libc.map: Add _dl_profile. + * elf/dl-reloc.c (_dl_relocate_object): Take extra argument, pass + this to ELF_DYNAMIC_RELOCATE. + Always allocate array for relocation result if LD_PROFILE is defined. + * elf/ldsodefs.h: Adjust prototypes. + * elf/dl-open.c (_dl_open): Call relocation function with extra + argument. + * elf/rtld.c: Likewise. + * elf/dl-profile.c (_dl_mcount): Don't mark as internal function. + Correct loop condition. + * elf/dynamic-link.h: Don't examine _dl_profile variable, pass + consider_profile to runtime setup function. + * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Use + _dl_runtime_profile for all shared objects if LD_PROFILE is defined. + + * elf/dl-support.c: Define __libc_stack_end. + * elf/rtld.c: Likewise. + * sysdeps/generic/libc-start.c: Store last stack address in + __libc_stack_end. + * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address. + * sysdeps/i386/elf/start.s: Call __libc_start_main with extra argument. + + * elf/elf.h: Include , not . + Include , not . + + * elf/sprof.c: Implement flat profiling. + + * libio/fgetc.c: Call _IO_cleanup_region_end with 0 and call + _IO_funlockfile explicitly. + * libio/fileops.c: Likewise. + * libio/fputc.c: Likewise. + * libio/freopen.c: Likewise. + * libio/freopen64.c: Likewise. + * libio/fseek.c: Likewise. + * libio/fseeko.c: Likewise. + * libio/fseeko64.c: Likewise. + * libio/ftello.c: Likewise. + * libio/ftello64.c: Likewise. + * libio/getc.c: Likewise. + * libio/getchar.c: Likewise. + * libio/iofclose.c: Likewise. + * libio/iofflush.c: Likewise. + * libio/iofgetpos.c: Likewise. + * libio/iofgetpos64.c: Likewise. + * libio/iofgets.c: Likewise. + * libio/iofputs.c: Likewise. + * libio/iofread.c: Likewise. + * libio/iofsetpos.c: Likewise. + * libio/iofsetpos64.c: Likewise. + * libio/ioftell.c: Likewise. + * libio/iofwrite.c: Likewise. + * libio/iogetdelim.c: Likewise. + * libio/iogets.c: Likewise. + * libio/ioputs.c: Likewise. + * libio/ioseekoff.c: Likewise. + * libio/ioseekpos.c: Likewise. + * libio/iosetbuffer.c: Likewise. + * libio/iosetvbuf.c: Likewise. + * libio/ioungetc.c: Likewise. + * libio/iovsprintf.c: Likewise. + * libio/iovsscanf.c: Likewise. + * libio/oldfileops.c: Likewise. + * libio/oldiofclose.c: Likewise. + * libio/peekc.c: Likewise. + * libio/putc.c: Likewise. + * libio/putchar.c: Likewise. + * libio/rewind.c: Likewise. + + * malloc/mtrace.c: Pretty print. + + * misc/mntent.h (struct mentent): Make string elements const char *. + + * nis/nis_printf.c: Optimize I/O a little bit. + + * signal/Makefile (distribute): Add sigset-cvt-mask.h. + * sysdeps/generic/sigset-cvt-mask.h: New file. + * sysdeps/unix/sysv/linux/sigset-cvt-mask.h: New file. + * sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h: New file. + * sysdeps/posix/sigvec.c: Rewrite the use definitions from + sigset-cvt-mask.h to do the dirty work. + Patches by Joe Keane. + + * sysdeps/posix/mkstemp.c: Save one precious byte of rodata. + + * sysdeps/unix/sysv/linux/i386/sysdep.h: Rewrite PSEUDO etc to make + syscall_error label in case of PIC anonymous. + * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/i386/clone.S: Adapt for this change. + * sysdeps/unix/sysv/linux/i386/mmap.S: Adapt for this change. + * sysdeps/unix/sysv/linux/i386/s_pread64.S: Adapt for this change. + * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Adapt for this change. + * sysdeps/unix/sysv/linux/i386/socket.S: Adapt for this change. + * sysdeps/unix/sysv/linux/i386/syscall.S: Adapt for this change. + +1998-06-05 Ulrich Drepper + + * sunrpc/xdr_rec.c (xdrrec_create): Add cast for *_ops array since + we cannot declare the struct element as const. + * sunrpc/xdr_mem.c (xdrmem_create): Likewise. + * sunrpc/xdr_stdio.c (xdrstdio_create): Likewise. + +1998-06-04 Andreas Schwab + + * manual/Makefile: Include ../Makeconfig earlier. + (MAKEINFO, TEXI2DVI): Use defaults if ../Makeconfig does not + exist. + (dir-add.texinfo): Remove useless $(SHELL). + +1998-06-04 Andreas Schwab + + * Makefile (others): Build programs from install-bin. + * configure.in: Modify config.make only if is was just created and + move that command to second argument of AC_OUTPUT. Add command to + set config_vars in config.status. + +1998-06-04 Andreas Schwab + + * malloc/Makefile (address-width): Fix conditional. + +1998-06-03 Andreas Jaeger + + * libc.map: Add fattach, fdetach, getmsg, getpmsg, makecontext, + putmsg, putpmsg, scalbln, scalblnf, scalblnl, strtoimax, + strtoumax, swapcontext, waitid, wcsnlen, wcstoimax, wcstoumax with + version GLIBC_2.1. + +1998-06-04 Andreas Jaeger + + * manual/lang.texi (Range of Type): Change @end table->@end vtable. + (Floating Point Parameters): Likewise. + +1998-06-01 Gordon Matzigkeit + + * hurd/Makefile (routines): Add cthreads. + +1998-05-31 Mark Kettenis + + * login/login.c (login): Let pututline take care of finding the + positin to insert the UTMP entry. This corrects a bug where ssh + was not reusing UTMP entries marked as DEAD_PROCESS. + Reported by Herbert Xu . + +1998-05-31 Mark Kettenis + + * login/Makefile (tests): New variable, add tst-utmp and + tst-utmpx. + * login/tst-utmp.c: New file. + * login/tst-utmpx.c: New file. + +1998-06-01 Gordon Matzigkeit + + * sysdeps/mach/hurd/errlist.c (sys_nerr, _sys_nerr): Make weak + aliases for _hurd_nerr, for programs that don't use sys_errlist, + but need sys_err. + +1998-05-31 Mark Kettenis + + * sysdeps/generic/updwtmpx.c: Rename function to updwtmpx. + * libc.map: Add updwtmpx and utmpxname to GLIBC_2.1. + +1998-05-31 Mark Kettenis + + * sysdeps/mach/hurd/read.c: Rename function to __libc_read and + make __read a weak alias. Use ANSI-style function definition. + * sysdeps/mach/hurd/write.c: Likewise. + +1998-05-31 Mark Kettenis + + * sysdeps/mach/hurd/err_hurd.sub: Use _hurd_errlist instead of + _sys_errlist. + +1998-05-30 Mark Kettenis + + * sysdeps/mach/hurd/Makefile ($(objpfx)librtld.os): + Renamed from librtld.so. + +1998-06-02 Andreas Jaeger + + * libc.map: Remove _IO_getline_info which was erroneously + introduced in section GLIBC_2.0. + Noticed by Horst von Brand . + +1998-06-01 Gordon Matzigkeit + + * sysdeps/generic/socket.c (__socket): Renamed from socket, and + created a weak alias. + * sysdeps/mach/hurd/socket.c (__socket): Likewise. + +1998-05-31 Gordon Matzigkeit + + * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Rename from old + ftruncate function, and create a weak alias to ftruncate. + +1998-06-01 Gordon Matzigkeit + + * grp/fgetgrent_r.c: Use &errno instead of __errno_location (). + * inet/getnetgrent_r.c: Likewise. + * nss/getXXbyYY_r.c: Likewise. + * nss/getXXent_r.c: Likewise. + * pwd/fgetpwent_r.c: Likewise. + * shadow/sgetspent_r.c: Likewise. + * shadow/fgetspent_r.c: Likewise. + * sunrpc/publickey.c: Likewise. + +1998-06-01 Gordon Matzigkeit + + * hurd/libhurduser.map: New file. + * mach/libmachuser.map: Likewise. + + * libc.map: Add Hurd-specific functions to version 2.1. + Add __flshfp and __fillbf. + +1998-05-30 Andreas Schwab + + * manual/signal.texi (Basic Signal Handling): Fix typo. + * manual/errno.texi (Error Codes): Likewise. + +1998-06-02 Ulrich Drepper + + * sysdeps/unix/sysv/linux/netipx/ipx.h: Include + instead of . + Patch by NIIBE Yutaka + + * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_FIND_ARG_COMPONENTS): + Finally make it working. + Patch by Mark Hatle . + +1998-03-22 Paul Eggert + + * posix/regex.c: Include before , to work around + a Solaris 2.6 bug. + +1998-05-30 Philip Blundell + + * stdlib/gmp-impl.h: Support strange mixed-endian double format + used by ARM systems. + * sysdeps/arm/fpu/bits/fenv.h (FE_EXCEPTION_SHIFT): Rename to + FE_EXCEPT_SHIFT. + * sysdeps/arm/bits/fenv.h: Deleted. + * sysdeps/arm/fpu/ieee754.h: New file. + * sysdeps/arm/gmp-mparam.h: New file. + * stdlib/longlong.h (umul_ppmm): Temporarily disable broken ARM + implementation. + +1998-06-01 Ulrich Drepper + + * sunrpc/rpc/xdr.h (struct XDR): Don't mark xdr_ops element as const. + + * sysdeps/i386/fpu/bits/mathinline.h: Use ((__unused__)) instead + of ((unused)). Reported by Bruno Haible. + +1998-05-31 Philip Blundell + + * sysdeps/unix/sysv/linux/arm/sysdep.S: Use C_SYMBOL_NAME when + referring to errno and _errno. + + * sysdeps/arm/fpu/feholdexcpt.c: New file. + + * sysdeps/i386/fpu_control.h: Fix typo. + + * sysdeps/arm/bits/setjmp.h (__jmp_buf): Remove floating-point support. + (_JMPBUF_UNWINDS): Added. + * sysdeps/arm/fpu/bits/setjmp.h: New file. + +1998-05-25 Gordon Matzigkeit + + * sysdeps/mach/hurd/Makefile: Use the `before-compile' target in + order to build header files, not `generated'. + + * Rules (before-compile): New target which depends on all + $(before-compile) files. + +1998-06-01 Thorsten Kukuk + + * nis/nis_call.c: Make directory search faster. + + * nis/nis_callback.c: Insert public key of user in callback data. + + * nis/nis_clone_obj.c: Make size from type u_long, not u_int. + + * nis/nis_creategroup.c: Check for NULL pointer, fill in more fields. + + * nis/nis_findserv.c: Rename __pmap_getport to __pmap_getnisport. + + * nis/nis_intern.h: Remove duplicated prototype. + +1998-06-01 Thorsten Kukuk + + * sunrpc/auth_des.c: Move prototypes from here ... + * sunrpc/rpc/auth.h: ... to here. + + * sunrpc/clnt_tcp.c: Add more control flags. + * sunrpc/clnt_udp.c: Likewise. + + * sunrpc/netname.c (host2netname): Remove prefixing dot from + domainname. + + * sunrpc/rpc/clnt.h: Document, which control flags are not + implementable. + + * sunrpc/svcauth_des.c: Use key_decryptsession_pk to avoid deadlock. + +1998-05-29 Ulrich Drepper + + * locale/loadlocale.c (_nl_load_locale): Don't allow too small + files crash the program. + + * io/Makefile: Don't run ftwtest-sh if cross-compiling. + * string/Makefile: Don't run test on tst-svc.out if cross-compiling. + Reported by Deborah Wallach . + +1998-05-28 00:53 Zack Weinberg + + * glibcbug.in: Send to bugs@gnu or libc-alpha@cygnus depending + on whether this is a stable release or not (keeps snapshot bug + reports out of the database). + + * include/libc-symbols.h: Use __ASSEMBLER__ test macro not ASSEMBLER. + * sysdeps/arm/sysdep.h: Likewise. + * sysdeps/i386/sysdep.h: Likewise. + * sysdeps/m68k/sysdep.h: Likewise. + * sysdeps/mach/mips/sysdep.h: Likewise. + * sysdeps/mach/sys/reboot.h: Likewise. + * sysdeps/mach/sysdep.h: Likewise. + * sysdeps/unix/alpha/sysdep.h: Likewise. + * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise. + * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise. + * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise. + * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise. + * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise. + * sysdeps/unix/bsd/vax/sysdep.h: Likewise. + * sysdeps/unix/i386/sysdep.h: Likewise. + * sysdeps/unix/mips/sysdep.h: Likewise. + * sysdeps/unix/sparc/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise. + +1998-05-27 Mark Kettenis + + * mach/Machrules: Use $(move-if-change). + +1998-05-27 Mark Kettenis + + * Makeconfig [elf=yes] (+interp): New variable, set to interp.os. + * Makerules (lib%.so): Depend on $(+interp). + (libc.so): Add interp.os to list of dependencies. + (interp-obj): Remove variable. + * mach/Machrules (+interp): Define to empty since libhurduser and + libmachuser don't need to have the interpreter set. + +1998-05-28 Andreas Jaeger + + * resolv/res_send.c: Security fixes from bind 4.9.7-REL. + + * resolv/gethnamaddr.c: Likewise. + + * resolv/res_comp.c: Likewise. + +1998-05-28 Mark Kettenis + + * sysdeps/mach/hurd/wait4.c (__wait4): Use ANSI-style definition + so that transparent union works. + +1998-05-29 08:58 Ulrich Drepper + + * manual/texinfo.tex: Update to last available version. + + * timezone/africa: Update from tzdata1998e. + * timezone/antarctica: Likewise. + * timezone/asia: Likewise. + * timezone/australasia: Likewise. + * timezone/europe: Likewise. + * timezone/iso3166.tab: Likewise. + * timezone/northamerica: Likewise. + * timezone/tzselect.ksh: Likewise. + * timezone/zone.tab: Likewise. + +1998-05-27 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/chown.c: Fix comment. + Reported by Matt McLean . + +1998-05-25 Andreas Schwab + + * catgets/Makefile ($(objpfx)de.cat): Renamed from + do-gencat-test. Use automatic variables. + ($(objpfx)de.msg): Fix reference to po file. + +1998-05-26 Andreas Schwab + + * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use + $(move-if-change). + +1998-05-25 Andreas Schwab + + * intl/dcgettext.c: Fix typo. + +1998-05-25 Andreas Jaeger + + * configure.in: Allow more make versions e.g 3.76.90. + +1998-05-25 Ulrich Drepper + + * Makeconfig (rpath-link): Find libc.so.6 in $(common-objdir). + + * malloc/thread-m.h: Use __mutex_init function in mutex_init macro + for Hurd. Patch by Mark Kettenis. + +1998-04-18 Gordon Matzigkeit + + * mach/Machrules (+preinit, +postinit): Define these variables to + empty because libhurduser and libmachuser don't need startup + files. + +1998-04-22 Gordon Matzigkeit + + * sysdeps/mach/hurd/errlist.c (ERR_REMAP): Use err_get_code + instead of a raw bitmask. + +1998-05-23 Andreas Schwab + + * Makeconfig (rpath-dirs): New variable. + (rpath-link): Use it. + (nssobjdir, nisobjdir, rtobjdir, resolvobjdir): Removed. + (db-objpfx): Removed. + * crypt/Makefile: Augment rpath-dirs instead of rpath-link. + * md5-crypt/Makefile: Likewise. + * sysdeps/mach/hurd/Makefile: Likewise. + + * Makeconfig (move-if-change): New variable. + * iconvdata/Makefile (move-if-change): Removed. + * manual/Makefile (move-if-change): Set only if undefined, use + local script by default. + * sunrpc/Makefile (move-if-change): Removed. + * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use + $(move-if-change). + + * elf/Makefile: Remove all references to obsolete file + $(objpfx)rtldtbl.h. + ($(objpfx)trusted-dirs.h): Use stamp file. Cleanup command. + +1998-05-22 Andreas Schwab + + * elf/dl-close.c (_dl_close): Add debugging message. + +1998-05-25 Andreas Jaeger + + * csu/Makefile ($(objpfx)version-info.h): Correct sed expression + to get Linux version and not gcc version. + Reported by Alan Curry . + +1998-05-25 Andreas Jaeger + + * sysdeps/generic/_strerror.c (__strerror_r): Don't return NULL + pointers - return unknown error message instead. + Reported by Alan Curry . + +1998-05-24 Mark Kettenis + + * iconvdata/Makefile (modules, sed-generated-headers, + perl-generated-headers): ibm424.h is perl generated. Make + necessary modifications to compile without perl. + +1998-05-24 Mark Kettenis + + * hesiod/hesiod.c (read_config_file): Fix typo. + +1998-05-24 Ulrich Drepper + + * version.h: Bump VERSION. + + * csu/Makefile (distribute): Add munch-tmpl.c. + +1998-05-23 Thorsten Kukuk + + * nis/nis_defaults.c: Fix buffer problems and typos. + +1998-05-23 08:42 Ulrich Drepper + + * intl/dcgettext.c: Don't use any alloca hacks if C_ALLOCA is defined. + Patch by Fred Fish. + +1998-05-22 Ulrich Drepper + + * stdlib/random_r.c (__random_r): Rewrite last patch to fix buffer + overwriting bugs. + + * libio/strops.c (_IO_str_underflow): Read newly available + character from buffer as unsigned. + +1998-05-22 10:56 Ulrich Drepper + + * catgets/Makefile (distribute): Add xopen-msg.h. + (generated): Add de.msg and de.cat. + (tests): Add do-gencat-test. + (do-gencat-test): New goal. Run gencat on a generated msg file. + * catgets/xopen-msg.h: New file. + +1998-05-22 Ulrich Drepper + + * catgets/open_catalog.c (__open_catalog): Use byteswap.h + functions. Optimize filename creation a bit. + +1998-05-22 09:29 Ulrich Drepper + + * stdlib/random_r.c: Help gcc to optimize the code. + Patch by Joe Keane . + +1998-05-21 Ulrich Drepper + + * iconv/iconv_prog.c (print_known_names): Use strverscmp in all + tsearch calls. + +1998-05-21 Andreas Jaeger + + * timezone/test-tz.c: The test with TZ=UTC0 seems to work - enable + it. + +1998-05-21 15:27 Ulrich Drepper + + * wcsmbs/wcsnrtombs.c: Correct computation of result. + * wcsmbs/wcsrtombs.c: Likewise. + + * wcsmbs/Makefile (tests): Add wcsmbs-tst1.c. + * wcsmbs/wcsmbs-tst1.c: New file. + + * iconv/loop.c (COUNT_CONVERTED): Correct computation. + + * locale/C-ctype.c (_nl_C_LC_CTYPE): Define MB_CUR_MAX for C locale + as 1. + + * locale/setlocale.c: Don't make _nl_current_* and _nl_C_* references + weak. + +1998-05-21 Philip Blundell + + * sysdeps/arm/fpu_control.h: Replace stub file with real + implementation. + * sysdeps/arm/fpu/bits/fenv.h: New file. + * sysdeps/arm/fpu/fesetround.c: Likewise. + * sysdeps/arm/fpu/fclrexcpt.c: Likewise. + * sysdeps/arm/fpu/fsetexcptflag.c: Likewise. + * sysdeps/arm/fpu/ftestexcpt.c: Likewise. + * sysdeps/arm/fpu/fraiseexcpt.c: Likewise. + * sysdeps/arm/fpu/fegetenv.c: Likewise. + * sysdeps/arm/fpu/fesetenv.c: Likewise. + +1998-05-21 16:34 Richard Henderson + + * elf/dl-load.c (_dl_map_object_from_fd): Get file header with + read instead of mmap. + +1998-05-21 8:16 Richard Henderson + + * sysdeps/unix/sysv/linux/alpha/glob.c: Include sysdeps/generic/glob.c + directly instead of include_next. Add missing semicolons. + * sysdeps/unix/sysv/linux/alpha/oldglob.c: Include sys/types.h. + Add missing semicolons. + +1998-05-21 Ulrich Drepper + + * iconvdata/gconv-modules: Add more aliases to please java + environments. + +1998-05-20 Ulrich Drepper + + * stdio-common/vfprintf.c (process_arg): Fix typo. + + * iconvdata/TESTS: New tests for EUC-KR. + + * iconvdata/Makefile ($(objpfx)iconv-test.out): Also depend on TESTS. + * iconvdata/testdata/EUC-KR: New file. + +1998-05-20 07:26 H.J. Lu + + * math/libm-test.c (hypot_test): Fix a typo. + +1998-05-20 Ulrich Drepper + + * stdio-common/vfprintf.c: When precision is specified for %ls or + %S handle it correctly. + +1998-05-20 Andreas Jaeger + + * sysdeps/unix/bsd/vax/vfork.S: Missed double occurences of "the + the" in one line - fixed it. + * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise. + * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise. + * posix/unistd.h: Likewise + +1998-05-20 Andreas Jaeger + + * Makeconfig (rpath-link): Add resolvobjdir. + (resolvobjdir): New variable. + Reported by Peter Breitenlohner [fixes PR libc/633]. + +1998-05-20 09:36 Ulrich Drepper + + * elf/dl-close.c: Call shared object terminators at the right time. + Patch by Philippe Troin . + +1998-05-20 Andreas Schwab + + * Make-dist (+tsrcs): Also add *.map for every member of + $(extra-libs). + + * Makefile (distribute): Don't distribute scripts/printsources and + scripts/=__ify. Distribute FAQ.in. + (rpm/%): Don't pass subdirs to sub-make. + + * timezone/Makefile: Protect inclusion of z.* by $(avoid-generated) + instead of $(no_deps). + +1998-05-19 Andreas Schwab + + * sysdeps/generic/setenv.c: Protect against GNU C extension. + (KNOWN_VALUE, STORE_VALUE): Do it right. + (setenv): Remove unused variable. + +1998-05-18 Andreas Schwab + + * timezone/Makefile (tz-cflags): Define TM_GMTOFF and TM_ZONE. + (CFLAGS-zdump.c): Add $(tz-cflags). + + * timezone/zdump.c (abbr): Use TM_ZONE if defined. Add const to + return type. + +1998-05-18 Andreas Schwab + + * time/tzfile.c (__tzfile_compute): Undo last change. Instead + take struct tm parameter and set tm_isdst, tm_zone and tm_offset + if use_localtime. + * time/tzset.c: Update prototype of __tzfile_compute. + (__tz_convert): Pass tp to __tzfile_compute. Don't set tm_isdst, + tm_zone and tm_offset here if __use_tzfile. + +1998-05-19 Andreas Schwab + + * Makerules: Install libc.a even if there are no object file. + +1998-05-18 Andreas Schwab + + * Makerules (do-makelib): Don't force creating library from + scratch, which is faster and gets correct behaviour if $(subdirs) + is incomplete. + +1998-05-19 Andreas Schwab + + * Makerules (do-stamp): Make it work when building in source + directory. + +1998-05-20 00:10 Ulrich Drepper + + * elf/dl-load.c: Rename option and variable from ignore-rpath to + inhibit-rpath. + * elf/dl-support.c: Likewise. + * elf/ldsodefs.h: Likewise. + * elf/rtld.c: Likewise. + * iconvdata/run-iconv-test.sh: Likewise. + +1998-05-19 23:08 Ulrich Drepper + + * elf/rtld.c: Recognize --ignore-rpath argument and set _dl_ignore_path + variable using the value. + * elf/ldsodefs.h: Declare _dl_ignore_path. + * elf/dl-load.c (decompose_rpath): Compare name of handled shared + object against list in _dl_ignore_path and ignore RPATH if on the list. + * elf/dl-support.c: Define _dl_ignore_path for static binaries. + * iconvdata/run-iconv-test.sh: Call ld.so with --ignore-rpath parameter + to make sure we get the correct helper libraries loaded. + + * elf/dl-load.c (decompose_rpath): Remove `room' parameter. Use + "RPATH" string in call to fillin_rpath instead. + (_dl_init_paths): Remove this parameter from call to decompose_rpath. + +1998-05-19 Ulrich Drepper + + * sysdeps/i386/i486/bits/string.h (__strstr_g): Initialize %edx + correctly. Patch by Horst von Brand . + +1998-05-19 Andreas Jaeger + + * manual/terminal.texi (I/O Queues): Fix typo. + + * manual/stdio.texi (Closing Streams): Fix grammar. + + * manual/arith.texi (Absolute Value): Correct typo. + Patches by Oskar Liljeblad . [PR libc/630] + +1998-05-19 15:58 Ulrich Drepper + + * elf/rtld.c (process_envvars): Fix typo. Don't handle + LD_PROFILE_OUTPUT in SUID binaries. + * intl/dcgettext.c: In SUID binaries don't let language part of + locale value contain path elements. + * intl/explodename.h: Define new function _nl_find_language. + * intl/loadinfo.h: Declare _nl_find_language. + * locale/findlocale.c (_nl_find_locale): Use _nl_find_locale to get + language part it drop the value is path element is contained. + + * locale/setlocale.c: Fix typo. + +1998-05-18 Philip Blundell + + * sysdeps/unix/sysv/linux/arm/socket.S: Correct handling of arguments. + + * sysdeps/arm/strlen.S: Support both big and little endian processors. + + * sysdeps/arm/sysdep.h (ALIGNARG): ELF .align directive uses a + log, not a byte-count. + + * sysdeps/unix/arm/sysdep.S (syscall_error): Use C_SYMBOL_NAME for + a.out compatibility. + +1998-05-19 Andreas Jaeger + + * sysdeps/unix/bsd/vax/vfork.S: Fix the "the the" problems. + * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise. + * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise. + * posix/unistd.h: Likewise. + * math/math.h: Likewise. + * manual/users.texi (Manipulating the Database): Likewise. + * manual/signal.texi (Job Control Signals): Likewise. + * manual/message.texi (The gencat program): Likewise. + * manual/filesys.texi (Hard Links): Likewise. + * manual/math.texi (SVID Random): Likewise. + * manual/llio.texi (Waiting for I/O): Likewise. + * manual/io.texi (File Name Errors): Likewise. + * manual/conf.texi (String Parameters): Likewise. + * manual/arith.texi (Infinity): Likewise. + * malloc/malloc.c: Likewise. + * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise. + * csu/Makefile: Likewise. + +1998-05-19 12:16 Ulrich Drepper + + * manual/memory.texi: Add back accidently removed line. + +1998-04-25 Mark Kettenis + + * sysdeps/generic/utmp_file.c (TIMEOUT): New macro. + (timeout_handler): New function. + (LOCK_FILE, UNLOCK_FILE): New macros. + Implement file locking with timeout. + (getutent_r_file, internal_getut_r, getutline_r_file, + pututline_file, updwtmp_file): Use LOCK_FILE and UNLOCK_FILE for + locking. + +1998-05-18 11:38 Ulrich Drepper + + * iconvdata/run-iconv-test.sh: Extend library-path by iconvdata + directory. + +1998-05-16 Andreas Jaeger + + * rpm/Makefile: Delete inclusion of version.mk. + +1998-05-17 Andreas Jaeger + + * libc.map: Add all libio functions needed libstdc++ with version + 2.0, sort entries. + +1998-05-18 Andreas Jaeger + + * iconvdata/Makefile (generated): Add *.stmp files. + +1998-05-17 Andreas Schwab + + * timezone/Makefile (testdata, build-testdata): New variables, use + them in rules for test data. + ($(objpfx)tst-timezone.out): Depend on test data. + ($(testdata)/Europe/Berlin, $(testdata)/Universal, + $(testdata)/Australia/Melbourne, $(testdata)/America/Sao_Paulo): + New rules to build test data. + (tst-timezone-ENV): Pass TZDIR to point to test data. + +1998-05-18 Ulrich Drepper + + * iconvdata/TESTS: ISO-2022-KR has not really ASCII as a subset + (the designation sequence is disturbing). + +1998-05-17 Thorsten Kukuk + + * sunrpc/svc_tcp.c: Add FreeBSD DoS patch. + * sunrpc/xdr_rec.c: Likewise. + +1998-05-15 Ulrich Drepper + + * posix/Makefile (tests): Add runptests. + (distribute): Add PTESTS, PTESTS2C.sed, and ptestcases.h. + (before-compile): Add ptestcases.h. + (ptestscases.h): Add rule to generate from PTESTS. + * posix/runptests.c: New file. + * posix/PTESTS: New file. + * posix/PTESTS2C.sed: New file. + +1998-05-15 Ulrich Drepper + + * iconv/loop.c: Let user add code to use and set paramaters. + + * iconvdata/iso-2022-kr.c: Correct to-loop. + + * iconvdata/iso-2022-kr.c (PREPARE_LOOP): Use correct variable to + point to output buffer. + + * iconvdata/ksc5601.h (ksc5601_to_ucs4): Use correct value to find + hanja. + + * iconvdata/TESTS: Add ISO-2022-KR test. + * iconvdata/testdata/ISO-2022-KR: New file. + +1998-05-15 21:07 Ulrich Drepper + + * iconv/gconv.h (gconv_step_data): Add new fields invocation_counter + and internal_use. + * iconv/gconv_open.c (__gconv_open): Initialize invocation_counter + and internal_use. + * wcsmbs/btowc.c: Likewise. + * wcsmbs/mbrtowcs.c: Likewise. + * wcsmbs/mbsnrtowcs.c: Likewise. + * wcsmbs/mbsrtowcs.c: Likewise. + * wcsmbs/wcrtomb.c: Likewise. + * wcsmbs/wcsnrtombs.c: Likewise. + * wcsmbs/wcsrtombs.c: Likewise. + * wcsmbs/wctob.c: Likewise. + * iconv/skeleton.c: Increment invocation_counter. + * iconvdata/iso-2022-kr.c: When used in iconv() emit designator + sequence first. + + * iconv/skeleton.c (FROM_DIRECTION): Completely embrace expression. + * iconvdata/iso-2022-jp.c: Likewise. + * iconvdata/iso646.c: Likewise. + + * iconvdata/Makefile: Correct rpath definition for ISO-2022-KR. + +1998-05-15 Ulrich Drepper + + * iconv/gconv_db.c (derivation_lookup): Use __tfind correctly. + + * sysdeps/generic/setenv.c (setenv): Remove optimization for + overwriting existing values if it fits. + +1998-05-15 14:36 Ulrich Drepper + + * posix/wordexp-test.c: Avoid duplicate messages. + + * sysdeps/generic/setenv.c: Use __tfind and __tsearch, not tfind and + tsearch. Correctly interpret values returned by those functions. + (unsetenv): Store pointer to string, not pointer to string pointer. + + * time/tzfile.c (__tzfile_compute): Take new arguments. Store + DST information and offset in them. + * time/tzset.c (__tz_convert): Pass extra parameters to + __tzfile_compute. Compute equivalent values for use of tz_rules. + +1998-05-15 00:49:11 Zack Weinberg + + * iconvdata/Makefile (gen-8bit-table): Use move-if-change and + stamp files to avoid unnecessary recompilation. + (gen-8bit-gap-table): Likewise. + (move-if-change): New variable. + (all generated .h rules): Change to be .stmp rules. + (%.h): New rule; depend on %.stmp; no commands. + (distribute): Add gen-8bit.sh, gen-8bit-gap.sh, + gen-8bit-gap-1.sh. + +1998-05-15 01:09 Zack Weinberg + + * Makerules (libc-map): Deleted. + (load-map-file): Set to the appropriate compiler switch, not + just the file name. If libfoo-map is not set, look for a + libfoo.map in the current directory and $(..). + (map-file): New variable, contains just the mapfile name. + (build-shlib): Adjust for new value of load-map-file. + (libc.so): Correct dependencies. + + * extra-lib.mk: Correct shlib dependencies since libfoo-map + may not be set anymore. + + * elf/Makefile: Set ld-map to $(..)libc.map, not $(libc-map). + Delete libdl-map. Tweak ld.so link rule to work with changed + variable settings in Makerules. + * iconvdata/Makefile: Tweak build-module to work with changed + variable settings in Makerules. + + * db/Makefile: Delete libdb-map. + * hesiod/Makefile: Delete libnss_hesiod-map. + * linuxthreads/Makefile: Delete libpthread-map. + * locale/Makefile: Delete libBrokenLocale-map. + * login/Makefile: Delete libutil-map. + * math/Makefile: Delete libm-map. + * md5-crypt/Makefile: Delete libcrypt-map. + * nis/Makefile: Delete libnsl-map, libnss_nis-map, + libnss_nisplus-map, and libnss_compat-map. + * nss/Makefile: Delete libnss_files-map, libnss_db-map, and + libnss_ldap-map. + * resolv/Makefile: Delete libresolv-map and libnss_dns-map. + * rt/Makefile: Delete librt-map. + +1998-05-15 01:06 Zack Weinberg + + * configure.in: Instead of substituting `yes' or `no' for whether + --no-whole-archive is available, set @no_whole_archive@ to the + appropriate gcc switch or the empty string. Likewise for + -fno-exceptions. + * config.make.in: Replace have-no-whole-archive with + no-whole-archive and have-no-exceptions with no-exceptions. + * Makerules: Delete stanzas setting no-whole-archive and + no-exceptions. + + * sunrpc/Makefile: Use move-if-change to update generated .h + and .c files. + +1998-05-13 Andreas Schwab + + * wcsmbs/wcsmbsload.c (extract_charset_name): Use strcspn instead + of strchr loop. + +1998-05-15 Andreas Jaeger + + * time/tzfile.c (__tzfile_read): Remove unused variable info. + (__tzfile_compute): Likewise. + +1998-05-15 Andreas Jaeger + + * sysdeps/unix/sysv/linux/bits/socket.h (AF_SNA,PF_SNA): Add new + defines from Linux 2.1.102. + +1998-05-14 23:14 Ulrich Drepper + + * locale/programs/ld-ctype.c: Write correct mb_cur_max value. + +1998-05-14 13:25 Ulrich Drepper + + * inet/netinet/in.h: Add defines for multicast. + Reported by Jeremy Hall . + + * stdlib/stdlib.h: Add prototypes for __setenv and __unsetenv. + * sysdeps/generic/putenv.c: Use __setenv and __unsetenv, not setenv + and unsetenv. Optimize _LIBC case. + * sysdeps/generic/setenv.c: Prevent unnecessary memory leaks. + Define functions with leading __. + + * time/tzfile.c: Correct handling of global variables daylight, + timezone, and tzname. + * time/tzset.c: Likewise. + * timezone/Makefile (tests): Add tst-timezone. + * timezone/tst-timezone.c: New file. + +1998-05-14 10:35 Ulrich Drepper + + * timezone/asia: Update from tzdata1998d. + * timezone/australasia: Likewise. + * timezone/europe: Likewise. + +1998-05-13 Ulrich Drepper + + * string/string.h: Don't use the optimized versions for the string + functions if optimizing for space. + + * stdlib/tst-strtod.c: Add test for -0.0. + + * io/ftwtest-sh: Prevent tests from being run by root. + + * wcsmbs/wcsmbsload.c (extract_charset_name): Fix silly bugs in + last addition. Patch by wkpark@chem.skku.ac.kr. + +1998-05-12 Andreas Schwab + + * iconvdata/8bit-gap.c (BODY): Don't fall off the end of the gap + table. + +1998-05-12 Andreas Schwab + + * iconvdata/gen-8bit.sh: New file. + * iconvdata/gen-8bit-gap.sh: New file. + * iconvdata/gen-8bit-gap-1.sh: New file. + * iconvdata/Makefile (generate-8bit-table): Use shell script + instead of writing the commands directly. + (generate-8bit-gap-table): Likewise. + ($(objpfx)iso8859-7jp.h): Likewise. + (generated headers): Depend on shell script instead of Makefile. + (before-compile): Add $(perl-generated-headers) only if perl is + available. + (headers): Depend on $(perl-generated-headers) only if perl is + available. + (sed-generated-headers): Remove iso8859-7jp.h. + +1998-05-11 Andreas Schwab + + * csu/Makefile ($(objpfx)abi-tag.h): Double $ in command. Clean up. + (/): Removed. + +1998-05-12 Ulrich Drepper + + * wcsmbs/wcsmbsload.c (extract_charset_name): Pass correctly + formed charset names to getfct. Let user override charset + selection by mention charset in locale name. + +1998-05-12 12:15 Ulrich Drepper + + * posix/glob.c: Move to ... + * sysdeps/generic/glob.c: ...here. + * posix/glob.h (glob_t): Use correct types for gl_pathc and gl_offs + elements. + * sysdeps/unix/sysv/linux/alpha/glob.c: New file. + * sysdeps/unix/sysv/linux/alpha/oldglob.c: New file. + * sysdeps/unix/sysv/linux/alpha/Dist: Add oldglob.c. + * sysdeps/unix/sysv/linux/alpha/Makefile: Compile oldglob in posix + subdir. + * libc.map [GLIBC_2.1]: Add glob and globfree. + +1998-05-12 Ulrich Drepper + + * sunrpc/Makefile (generated): Restore old list. + +1998-05-11 Andreas Jaeger + + * rt/Makefile (tests): Define only if we have a thread library. + + * nis/ypclnt.c: Add: #include . + +1998-05-10 15:39 Zack Weinberg + + * configure.in: Define and substitute RELEASE as well as + VERSION. + * config.make.in: Add RELEASE and VERSION to be substituted. + * Makeconfig: Delete all references to version.mk. + * Make-dist: Likewise. + * MakeTAGS: Likewise. + * elf/Makefile: Likewise. + +1998-05-10 Thorsten Kukuk + + * nis/ypclnt.c: Move "(none)" domainname check from __yp_check to + yp_get_default_domain. + +1998-05-12 Ulrich Drepper + + * sysdeps/posix/profil.c (__profil): Don't define act and timer + variables as static. Patch by Joe Keane . + +1998-05-12 Wolfram Gloger + + * malloc/malloc.c: Fix for NO_THREADS case. + +1998-05-11 18:02 Richard Henderson + + * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): + Remove statfs and fstatfs. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Don't mark pread + and pwrite as EXTRA. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + +1998-05-09 Ulrich Drepper + + * libc.map: Add capget and capset. + +1998-05-08 Ulrich Drepper + + * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c + (DL_FIND_ARG_COMPONENTS): Find correct alignment for auxiliary + vector. Patch by Mark Hatle + and Matt McLean . + +1998-05-08 23:49 Ulrich Drepper + + * misc/Makefile (tests): Add tst-mntent. + * misc/tst-mntent.c: New file. + +1998-05-08 21:56 Zack Weinberg + + * autolock.sh: Removed. + * manual/move-if-change: Removed. + + * scripts: New directory. + * =__ify: Moved to scripts. + * config.guess: Likewise. + * config.sub: Likewise. + * gen-FAQ.pl: Likewise. + * install-sh: Likewise. + * mkinstalldirs: Likewise. + * move-if-change: Likewise. + * printsources: Likewise. + * rellns.sh: Likewise. + * test-installation.pl: Likewise. + + * configure.in: Look in scripts for config.guess, config.sub, + install-sh. + * Makefile: Distribute all above files in their + new home. Find gen-FAQ.pl and test-installation.pl in scripts. + * manual/Makefile: Find mkinstalldirs and move-if-change in + $(..)scripts. Drop them from distribute. Minor cleanups. + * Makerules: Find mkinstalldirs and rellns-sh in scripts. + * sysdeps/mach/hurd/Makefile: Find move-if-change in scripts. + * timezone/Makefile: Find rellns-sh in scripts. + +1998-05-08 Ulrich Drepper + + * intl/locale.alias: Change italian to it_IT.ISO-8859-1. + Reported by Ottavio G. Rizzo . + +1998-05-08 19:24 Zack Weinberg + + * Makefile (+subdir-inits): Delete variable. + (+init_subdirs): Likewise. + (aux): Likewise. + (before-compile): Likewise. + (libc-init): Delete stanza. + (version-info.h): Delete rule and associated variable. + (distribute): Don't distribute moved files. + * Makerules (interp-obj): It lives in elf now. Only use it + if $(elf) is set. Delete rule to build it. + * csu/Makefile: Build set-init.o and/or munch-init.o. Build + version.o and version-info.h. Minor cleanups. + (routines): Add libc-init, sysdep, version. + (generated): Add version-info.h. + * elf/Makefile: Build interp.os. + + * interp.c: Moved to elf. + * set-init.c: Moved to csu. + * munch-init.c: Likewise. + * munch.awk: Likewise. + * version.c: Likewise. + + * Rules: Unconfuse syntax highlighting with a fake comment. + +1998-05-08 Ulrich Drepper + + * sysdeps/unix/sysv/linux/syscalls.list: Add capset and capget + syscalls. + +1998-05-08 16:36 Zack Weinberg + + * iconvdata/Makefile (generated): Set to *-generated-headers + plus gconv-modules. + (tests): Set to iconv-test. + * localedata/Makefile (generated-dirs): Add ld-test-names to list. + * posix/Makefile (generated): Set to wordexp-test-result*. + * sunrpc/Makefile (generated): Remove rpcsvc/*. + (generated-dirs): Add rpcsvc. + * libio/Makefile: Clean up. + +1998-05-08 14:55 Ulrich Drepper + + * Make-dist (+tsrcs): Also use tests-statc where tests is used. + * Makerules: Likewise. + (+depfiles): Also add sysdep-others. + * Rules: Likewise. + * iconv/Makefile (distribute): Add loop.s and skeleton.c. + * iconvdata/Makefile (distribute): Add TESTS. + * localedata/Makefile (repertoires): Rename to repertoiremaps. + * sysdeps/gnu/Dist: Add utmpx.h and bits/utmpx.h. + * sysdeps/unix/sysv/linux/Dist: Add ldd-rewrite.sed. + * sysdeps/unix/sysv/linux/i386/Makefile [subdir=elf]: Define + sysdep-others, not others. + * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise. + * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/kernel_termios.h. + +1998-05-08 12:26 Ulrich Drepper + + * iconv/gconv_int.h (struct gconv_module): Remove cost field and add + cost_hi and cost_lo. + * iconv/gconv_conf.c (builtin_modules): Initialize cost_hi from + Cost parameter and set cost_lo to INT_MAX. + (add_module): Take new parameter and use it to initialize cost_lo. + (read_conf_file): Count modules being loaded and use counter for + new parameter to add_module. + * iconv/gconv_db.c (find_derivation): When look for cost examine + cost_hi and cost_lo. + +1998-05-08 10:52 Ulrich Drepper + + * string/bits/string2.h: Don't use unsigned char * unless really + necessary since this disturbs C++. + * sysdeps/i386/i486/bits/string.h: Likewise. + Patch by Bernd Schmidt . + +1998-05-08 13:53 Andreas Schwab + + * malloc/malloc.c (top_check): Fix last change. + +1998-05-07 Ulrich Drepper + + * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Define. + Patch by Matt McLean . + +1997-05-07 13:26 Andreas Schwab + + * Makerules (lib): Put back dependency on lib-noranlib. + ($(subdirs-stamps)): Remove dependency on stamp.* again. + +1998-05-07 Ulrich Drepper + + * sysdeps/i386/fpu/bits/mathinline.h: Use long long int also for + test in __pow2 implementation. + +1998-04-16 07:42 Geoff Keating + + * Makeconfig [!build-static]: Link `static' binaries with libc_pic.a. + Still need *FLAGS-.o because we still sometimes build .o files. + * db2/Makefile: Don't build libndbm.a if !build-static. + +1998-05-07 Andreas Jaeger + + * malloc/malloc.c (top_check): Add void as parameter to silent gcc. + +1998-04-16 07:42 Geoff Keating + + * configure.in: New test for broken gcc on PowerPC. + * sysdeps/powerpc/atomicity.h: Use result of test. + * linuxthreads/sysdeps/powerpc/pt-machine.h: Use result of test. + + * math/libm-test.c: Update many of the epsilon to match actual + performance. + + * sysdeps/libm-ieee754/e_exp.c: Reduce the number of branches. + * sysdeps/libm-ieee754/e_expf.c: Likewise. + * sysdeps/libm-ieee754/s_exp2.c: Likewise. + * sysdeps/libm-ieee754/s_exp2f.c: Likewise. + + * sysdeps/libm-ieee754/e_pow.c: Correct typo. + + * sysdeps/powerpc/elf/libc-start.c: New file. + * sysdeps/powerpc/elf/start.S: New file, use libc-start. + * sysdeps/powerpc/elf/start.c: Delete. + + * sysdeps/unix/sysv/linux/powerpc/Dist: Remove syscall.h + * sysdeps/unix/sysv/linux/powerpc/syscall.h: Delete. It was unused. + + * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Correct previous + few patches. + +1998-05-06 12:51 Ulrich Drepper + + * sysdeps/i386/fpu/bits/mathinline.h (pow): Use long long int for + test for integer. + + * sysdeps/libm-i387/e_pow.S: Correctly shift double word. + * sysdeps/libm-i387/e_powl.S: Likewise. + +1998-03-31 Wolfram Gloger + + * malloc/malloc.c (chunk2mem_check, top_check): New functions. + (malloc_check, free_check, realloc_check, memalign_check): Use + them to improve overrun checking. Overruns of a single byte and + corruption of the top chunk are now detected much more reliably. + +1998-05-06 Andreas Jaeger + + * math/libm-test.c (pow_test): Add test for special value from PR + libc/590. + +1998-05-06 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/errno.h: Undefine EILSEQ before + including linux/errno.h. + +1998-05-06 09:49 Ulrich Drepper + + * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Add LFS support. + Use correct types. + * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: New file. + * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: New file. + +1998-05-05 Andreas Schwab + + * Makerules (elide-routines.*): Fix assignments. + (do-makelib): Fix typo. + ($(subdirs-stamps)): Depend on $(objpfx)stamp.* if in parent + makefile. + +1998-05-04 Andreas Schwab + + * Makefile (sysdep-subdirs, subdirs, $(common-objpfx)sysd-dirs, + $(objpfx)sysd-dirs): Move them... + * Makeconfig: ... here. + * Makerules (subdirs-stamps, subdirs-stamp-o): Always define. + (stubs): Fix circular depedency. + (do-makelib): Clean up. + (lib): Don't depend on lib-noranlib. + ($(objpfx)stamp.oS): Remove special case for empty + static-only-routines. + (elide-routines.o): Add $(static-only-routines). + (elide-routines$o): Define this instead of elide-routines.$o. + * manual/Makefile (stubs): Fix circular dependency. + +1998-05-05 Andreas Schwab + + * libio/Makefile (routines): Remove duplicate oldiofclose. + +1998-05-05 Ulrich Drepper + + * string/strcoll.c: Use uint32_t instead of u_int32_t. + +1998-05-05 Ulrich Drepper + + * libio/stdio.h: Fix typo in __REDIRECT. + * io/sys/stat.h: Likewise. + Reported by Myles Uyema . + +1998-05-04 Andreas Schwab + + * locale/programs/localedef.c (options): Fix help message. + +1998-05-04 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid nasty + relocations. Patch by Joe Keane . + +1998-05-04 12:40 Ulrich Drepper + + * malloc/malloc.c (ptmalloc_init_all): New function. Similar to + ptmalloc_unlock_all, but re-initializes the mutexes instead. + (ptmalloc_init): Use new function in thread_at_fork call. + (thread_atfork_static): Likewise. + Suggested by Wolfram Gloger and Xavier Leroy. + +1998-05-04 Ulrich Drepper + + * signal/signal.h: Move definitions of struct sigstack and + struct sigaltstack into separate file and include it. + * sysdeps/generic/bits/sigstack.h: New file. + * sysdeps/unix/sysv/linux/bits/sigstack.h: New file. + * signal/Makefile (headers): Add bits/sigstack.h. + +1998-05-03 Andreas Schwab + + * elf/rtld.c (dl_main): Fix check for number of references to + interpreter object. + +1998-05-03 Andreas Schwab + + * elf/rtld.c (dl_main): Check has_interp after executing platform + specific code. + +1998-05-01 Andreas Schwab + + * iconvdata/run-iconv-test.sh: Fix typo. + +1998-05-01 Andreas Schwab + + * Makerules (+depfiles): Add depfiles for $(tests-static). + Simplified. + +1998-05-01 Andreas Schwab + + * manual/terminal.texi (Special Characters): Fix description of + c_cc indexes. + +1998-05-01 Andreas Schwab + + * sysdeps/unix/sysv/linux/tcsetattr.c: Use memcpy to copy the c_cc + array. + * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise. Initialize rest + of c_cc array. + +1998-04-30 14:15 Zack Weinberg + + * sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers. + +1998-05-01 Ulrich Drepper + + * intl/locale.alias: Update russian entry. + +1998-05-01 21:54 Zack Weinberg + + * Makerules (static-only-routines): Reimplement in terms of + elide-routines.os. + (shared-only-routines): Reimplement in terms of + elide-routines.X [where X is all object-suffixes except .os]. + + (stubs): Create stubs file inside the subdir. + (common-mostlyclean): Remove stubs file from inside the subdir. + * Makefile (subdir-stubs): Look for stubs files inside the + subdirs. + * manual/Makefile (stubs): Create dummy stubs file inside the + subdir. + +1998-05-01 21:01 Zack Weinberg + + Build speed improvement: make ar less of a bottleneck. + + * Makerules (stamp$o): Just record the object list for later + use. + (libc_foo.a): New rule, depends on subdir stamp files; builds + and ranlibs the library from the lists saved in those files. + + (subdirs-stamps): Define also if subdir == elf (FIXME: kludge). + (subdirs-stamp-o): Likewise. + + (ar-symtab-name): Delete variable. + (lib%.a): Delete target. + (libc_foo.a(bar.%)): Delete target. + (libc_foo.a($(ar-symtab-name))): Delete target. + + (objects objs): Just depend on libobjs and extra-objs. + (libobjs): Depend on the stamp files, not the objects. + (extra-objs): New target, just depends on the extra-objs list. + + (CREATE_ARFLAGS): Kill the `ar S' hack. + + * config.make.in (have-ar-S): Deleted. + * configure.in: Delete test for `ar S'. Add test to determine + whether ranlib does anything useful. + +1998-05-01 Ulrich Drepper + + * inet/tst-ether_aton.c: Include . + +1998-04-30 16:45 Ulrich Drepper + + * inet/ether_aton.c: Including netinet/if_ether.h is not necessary. + + * locale/Makefile (distribute): Add programs/repertoire.h. + (localedef-modules): Add repertoire. + (CPPFLAGS): Define REPERTOIREMAP_PATH. + * locale/programs/repertoire.c: New file. + * locale/programs/repertoire.h: New file. + * locale/programs/charmap.c: Starting fixing character set handling + to handle multi-byte encodings. + * locale/programs/charset.c: Likewise. + * locale/programs/charset.h: Likewise. + * locale/programs/ld-collate.c: Likewise. + * locale/programs/ld-ctype.c: Likewise. + * locale/programs/linereader.c: Likewise. + * locale/programs/localedef.c: Likewise. + * locale/programs/locfile-kw.gperf: Likewise. + * locale/programs/locfile-kw.h: Likewise. + * locale/programs/locfile-token.h: Likewise. + * locale/programs/locfile.h: Likewise. + * locale/programs/stringtrans.c: Likewise. + + * locale/programs/locfile.c: Interpret I18NPATH value as base of + path, extended with "/locales/". + +1998-04-18 Philip Blundell + + * sysdeps/arm/memset.S: Fix off by one error. + + * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call + __syscall_error rather than syscall_error directly. + +1998-04-17 Philip Blundell + + * sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of + mmap() syscall for ARM. + + * sysdeps/unix/arm/start.c: New file; startup code for ARM a.out + binaries. + +1998-04-30 Ulrich Drepper + + * locale/programs/localedef.c: Recognize repertoire-map option. + +1998-04-29 Ulrich Drepper + + * locale/programs/linereader.c (get_toplvl_escape): Fix typo in + converting non-hex numbers. + Patch by Won Kyu Park . + +1998-04-23 07:31 H.J. Lu + + * resolv/inet_addr.c (inet_aton): Use __strtoul_internal to + check overflow. + * resolv/Makefile (tests): New, add tst-aton. + * resolv/tst-aton.c: New file. + +1998-04-29 Ulrich Drepper + + * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing + semicolon. + +1998-04-29 12:11 Ulrich Drepper + + * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function + by letting the later modify the variable computing the total directly. + * wcsmbs/mbsrtowcs.c: Likewise. + * wcsmbs/wcsnrtombs.c: Likewise. + * wcsmbs/wcsrtombs.c: Likewise. + + * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear + it is not used. + * wcsmbs/wctoc.c: Likewise. + + * wcsmbs/mbsrtowcs.c: Optimize a bit more. + * wcsmbs/wcsrtombs.c: Likewise. + + * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition. + +1998-04-29 Ulrich Drepper + + * iconv/skeleton.c: Correct counting of actually converted + characters. + + * intl/localealias.c (read_alias_file): Use unsigned char for + local variables. Remove unused variable tp. + * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char * + for type of codeset. For loosing Solaris systems. + * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset. + * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable + len if not needed. + Patches by Jim Meyering. + + * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice; + wcsrtombs must put it into initial state. + +1998-04-29 Andreas Schwab + + * iconv/gconv_simple.c: Fix endian bug. Don't put side effects in + argument of bswap_XX macro. + +1998-04-28 Andreas Schwab + + * iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in + variable name. + +1998-04-28 Ulrich Drepper + + * sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union + semun and use stdarg macros to get the value. + * sysdeps/generic/semctl.c: Don't use union semun. + + * sysvipc/sys/sem.h: Don't use union semun in semctl prototype. + + * string/basename.c [!_LIBC]: Define function as gnu_basename. + + * posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or + strings.h. + + * stdlib/grouping.h: Accept ungrouped numbers even if locale + defines grouping. + + * intl/hash-string.h: Don't include values.h. + + * inet/Makefile (tests): Add tst-ether_aton. + * inet/tst-ether_aton.c: New file. + + * inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value + in hex conversion. + * inet/ether_aton.c (ether_aton): Declare result variable static. + Reported by ahyung@unixg.ubc.ca. + + * sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun. + Define macro _SEM_SEMUN_UNDEFINED instead. + Reported by Dirk Laessig . + + * stdio-common/tst-wc-printf.c: New file. Test for %S and %C format. + * stdio-common/Makefile (tests): Add tst-wc-printf. + +1998-04-28 16:32 Philip Blundell + + * manual/stdio.texi (Variable Arguments Output): Correct variable + name. Patch from Ewan Mellor + +1998-04-27 Ulrich Drepper + + * intl/dcgettext.c: Remove unneeded definition of + internal_function. + +1998-04-27 Andreas Schwab + + * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target + instead of do-iconv-test. + ($(objpfx)gconv-modules): Define rule only if objpfx is not + empty. + +1998-04-27 Andreas Schwab + + * string/string.h: Fix feature test. + +1998-04-27 Andreas Schwab + + * iconvdata/iso646.c (BODY): Don't use character constants that + depend on signedness of char. + +1998-04-27 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc] + (sysdep_routines): Add s_pread64 and s_pwrite64. + +1998-04-27 09:54 Ulrich Drepper + + * iconvdata/Makefile (distribute): Remove generated .h files. + * iconvdata/koi8-r.h: Removed. + * iconvdata/latin-greek-1.h: Removed. + * iconvdata/latin-greek.h: Removed. + + * iconvdata/testdata/CP1258..UTF8: New iconv test source. + * iconvdata/KOI-8: Likewise. + * iconvdata/KOI-8..UTF8: Likewise. + * iconvdata/KOI8-R: Likewise. + * iconvdata/KOI8-R..UTF8: Likewise. + +1998-04-24 Andreas Schwab + + * streams/Makefile (headers): Add sys/stropts.h. + * streams/sys/stropts.h: New file. + +1998-04-25 Andreas Schwab + + * sysdeps/unix/sysv/linux/ttyname.c, + sysdeps/unix/sysv/linux/ttyname_r.c: New files, like + sysdeps/posix/ttyname*.c, but look in /dev/pts first. + +1998-04-25 Andreas Schwab + + * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second + argument of _itoa_word. + +1998-04-24 Andreas Schwab + + * sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents, + s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set + caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending, + sigprocmask, resp., instead of EXTRA. + + * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove + s_pread64 and s_pwrite64. + +1998-04-26 18:44 Ulrich Drepper + + * iconvdata/Makefile: Correct rules to generate gap table. + * iconvdata/gap.pl: Simplify. + + * iconvdata/TESTS: Name new tests. + * iconvdata/testdata/CP1250: New file. + * iconvdata/testdata/CP1250..UTF8: New file. + * iconvdata/testdata/CP1251: New file. + * iconvdata/testdata/CP1251..UTF8: New file. + * iconvdata/testdata/CP1252: New file. + * iconvdata/testdata/CP1252..UTF8: New file. + * iconvdata/testdata/CP1253: New file. + * iconvdata/testdata/CP1253..UTF8: New file. + * iconvdata/testdata/CP1254: New file. + * iconvdata/testdata/CP1254..UTF8: New file. + * iconvdata/testdata/CP1255: New file. + * iconvdata/testdata/CP1255..UTF8: New file. + * iconvdata/testdata/CP1256: New file. + * iconvdata/testdata/CP1256..UTF8: New file. + * iconvdata/testdata/CP1257: New file. + * iconvdata/testdata/CP1257..UTF8: New file. + +1998-04-26 Ulrich Drepper + + * iconvdata/Makefile: Add rules for ISO-2022-KR. + * iconvdata/iso-2022-kr.c: New file. + + * iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2, + and ISO-2022-KR. + +1998-04-25 18:39 Ulrich Drepper + + * iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7, + iso8859-8 and iso8859-10. + * iconvdata/iso8859-5.c: Change to use gap method. + * iconvdata/iso8859-7.c: Likewise. + * iconvdata/iso8859-8.c: Likewise. + * iconvdata/iso8859-10.c: Likewise. + + * iconvdata/Makefile: Add rules for ISO-2022-JP module. + * iconv/skeleton.c: Allow END_LOOP do be defined and use it at the + end of the loop. + * iconvdata/iso-2022-jp.c: New file. + + * iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence. + * iconvdata/ksc5601.h: Unify function interfaces. + * iconvdata/euckr.c: Adapt for changed ksc5601.h interface. + * iconvdata/uhc.c: Likewise. + + * iconvdata/gb2312.h: Use correct types. + + * iconvdata/iso646.c (gconv_open): Correctly initialize the character + size elements of data. + +1998-04-24 Ulrich Drepper + + * string/tst-svc.expect: Adapt for change in .input. + * string/tst-svc.input: More tests. + +1998-04-24 17:15 Ulrich Drepper + + * iconvdata/Makefile: Add rules for new modules. + * iconvdata/gconv-modules: Likewise. + * iconvdata/cp737.c: New file. + * iconvdata/cp737.h: New file. + * iconvdata/cp775.c: New file. + * iconvdata/cp775.h: New file. + * iconvdata/cp874.c: New file. + * iconvdata/cp874.h: New file. + +1998-04-24 16:30 Ulrich Drepper + + * iconvdata/Makefile: Create target directory before generating + headers. + +1998-04-23 Andreas Schwab + + * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty + __USER_LABEL_PREFIX__. + (__ASMNAME, __ASMNAME2): New macros. + +1998-04-24 Ulrich Drepper + + * elf/dl-load.c: Include sys/param.h for MAX. + +1998-04-24 21:44 Richard Henderson + + * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make + __ftruncate the strong symbol, and add weak alias. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + +1998-04-24 Ulrich Drepper + + * termios/cfsetspeed.c: Make code cleaner and add missing const. + Patch by Joe Keane . + + * inet/rcmd.c (__ivaliduser): Check buf for being NULL before + free()ing. + +1998-04-24 13:56 Ulrich Drepper + + * sysdeps/generic/bits/socket.h: Add #defines for enum values. + Patch by Thomas Bushnell, n/BSG. + +1998-04-24 Ulrich Drepper + + * inet/rcmd.c (iruserok): Initialize hostf variable to NULL. + +1998-04-24 Ulrich Drepper + + * iconvdata/Makefile: Put generated headers in build directory. + +1998-04-23 22:43 Ulrich Drepper + + * elf/dl-load.c (fillin_rpath): Handle empty element returned by + strsep as current directory. + + * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for + Java. Add definitions for unicodelittle implementation. + * iconv/gconv_int.h: Add declaration for unicodelittle functions. + * iconv/gconv_simple.c: Define unicodelittle functions. + + * iconv/iconv_prog.c: Make program print information about position + of illegal character in input. + + * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for + comparison of charset name. + * iconvdata/big5.c (CHARSET_NAME): Adapt for this. + * iconvdata/ebcdic-at-de-a.c: Likewise. + * iconvdata/ebcdic-at-de.c: Likewise. + * iconvdata/ebcdic-ca-fr.c: Likewise. + * iconvdata/euccn.c: Likewise. + * iconvdata/eucjp.c: Likewise. + * iconvdata/euckr.c: Likewise. + * iconvdata/euctw.c: Likewise. + * iconvdata/hp-roman8.c: Likewise. + * iconvdata/iso6937.c: Likewise. + * iconvdata/iso8859-1.c: Likewise. + * iconvdata/iso8859-10.c: Likewise. + * iconvdata/iso8859-2.c: Likewise. + * iconvdata/iso8859-3.c: Likewise. + * iconvdata/iso8859-4.c: Likewise. + * iconvdata/iso8859-5.c: Likewise. + * iconvdata/iso8859-6.c: Likewise. + * iconvdata/iso8859-7.c: Likewise. + * iconvdata/iso8859-8.c: Likewise. + * iconvdata/iso8859-9.c: Likewise. + * iconvdata/johab.c: Likewise. + * iconvdata/koi-8.c: Likewise. + * iconvdata/koi8-r.c: Likewise. + * iconvdata/latin-greek-1.c: Likewise. + * iconvdata/latin-greek.c: Likewise. + * iconvdata/sjis.c: Likewise. + * iconvdata/t61.c: Likewise. + * iconvdata/uhc.c: Likewise. + + * iconvdata/iso646.c: Add support for more ISO 646 variants. + * iconvdata/TESTS: Add tests for ISO646 module. + * iconvdata/gconv-modules: Add new modules. + * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module. + * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise. + * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise. + * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise. + * iconvdata/testdate/DIN_66003: Likewise. + * iconvdata/testdate/DIN_66003..UTF8: Likewise. + * iconvdata/testdate/DS_2089: Likewise. + * iconvdata/testdate/DS_2089..UTF8: Likewise. + * iconvdata/testdate/ES: Likewise. + * iconvdata/testdate/ES..UTF8: Likewise. + * iconvdata/testdate/ES2: Likewise. + * iconvdata/testdate/ES2..UTF8: Likewise. + * iconvdata/testdate/GB_1988-80: Likewise. + * iconvdata/testdate/GB_1988-80..UTF8: Likewise. + * iconvdata/testdate/IT: Likewise. + * iconvdata/testdate/IT..UTF8: Likewise. + * iconvdata/testdate/JIS_C6220-1969-RO: Likewise. + * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise. + * iconvdata/testdate/JIS_C6229-1984-B: Likewise. + * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise. + * iconvdata/testdate/JUS_I.B1.002: Likewise. + * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise. + * iconvdata/testdate/KSC5636: Likewise. + * iconvdata/testdate/KSC5636..UTF8: Likewise. + * iconvdata/testdate/MSZ_7795.3: Likewise. + * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise. + * iconvdata/testdate/NC_NC00-10: Likewise. + * iconvdata/testdate/NC_NC00-10..UTF8: Likewise. + * iconvdata/testdate/NF_Z_62-010: Likewise. + * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise. + * iconvdata/testdate/NF_Z_62-010_1973: Likewise. + * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise. + * iconvdata/testdate/NS_4551-1: Likewise. + * iconvdata/testdate/NS_4551-1..UTF8: Likewise. + * iconvdata/testdate/NS_4551-2: Likewise. + * iconvdata/testdate/NS_4551-2..UTF8: Likewise. + * iconvdata/testdate/PT: Likewise. + * iconvdata/testdate/PT..UTF8: Likewise. + * iconvdata/testdate/PT2: Likewise. + * iconvdata/testdate/PT2..UTF8: Likewise. + * iconvdata/testdate/SEN_850200_B: Likewise. + * iconvdata/testdate/SEN_850200_B..UTF8: Likewise. + * iconvdata/testdate/SEN_850200_C: Likewise. + * iconvdata/testdate/SEN_850200_C..UTF8: Likewise. + + * iconvdata/cns11643.h: Use uint32_t instead of wchar_t. + * iconvdata/cns11643l1.h: Likewise. + * iconvdata/latin-greek-1.h: Likewise. + * iconvdata/latin-greek.h: Likewise. + * iconvdata/koi8-r.h: Likewise. + * iconvdata/jis0212.h: Likewise. + * iconvdata/gb2312.h: Likewise. + * iconvdata/ksc5601.h: Likewise. + + * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap. + + * iconvdata/Makefile: Add rules for lots of more modules. + * iconvdata/cp1250.c: New file. + * iconvdata/cp1251.c: New file. + * iconvdata/cp1252.c: New file. + * iconvdata/cp1253.c: New file. + * iconvdata/cp1254.c: New file. + * iconvdata/cp1255.c: New file. + * iconvdata/cp1256.c: New file. + * iconvdata/cp1257.c: New file. + * iconvdata/ebcdic-dk-no-a.c: New file. + * iconvdata/ebcdic-dk-no.c: New file. + * iconvdata/ebcdic-es-a.c: New file. + * iconvdata/ebcdic-es-s.c: New file. + * iconvdata/ebcdic-es.c: New file. + * iconvdata/ebcdic-fi-se-a.c: New file. + * iconvdata/ebcdic-fi-se.c: New file. + * iconvdata/ebcdic-fr.c: New file. + * iconvdata/ebcdic-is-friss.c: New file. + * iconvdata/ebcdic-it.c: New file. + * iconvdata/ebcdic-pt.c: New file. + * iconvdata/ebcdic-uk.c: New file. + * iconvdata/ebcdic-us.c: New file. + * iconvdata/ibm037.c: New file. + * iconvdata/ibm038.c: New file. + * iconvdata/ibm1004.c: New file. + * iconvdata/ibm1026.c: New file. + * iconvdata/ibm1047.c: New file. + * iconvdata/ibm256.c: New file. + * iconvdata/ibm273.c: New file. + * iconvdata/ibm274.c: New file. + * iconvdata/ibm275.c: New file. + * iconvdata/ibm277.c: New file. + * iconvdata/ibm278.c: New file. + * iconvdata/ibm280.c: New file. + * iconvdata/ibm281.c: New file. + * iconvdata/ibm284.c: New file. + * iconvdata/ibm285.c: New file. + * iconvdata/ibm290.c: New file. + * iconvdata/ibm297.c: New file. + * iconvdata/ibm420.c: New file. + * iconvdata/ibm423.c: New file. + * iconvdata/ibm424.c: New file. + * iconvdata/ibm437.c: New file. + * iconvdata/ibm500.c: New file. + * iconvdata/ibm850.c: New file. + * iconvdata/ibm851.c: New file. + * iconvdata/ibm852.c: New file. + * iconvdata/ibm855.c: New file. + * iconvdata/ibm857.c: New file. + * iconvdata/ibm860.c: New file. + * iconvdata/ibm861.c: New file. + * iconvdata/ibm862.c: New file. + * iconvdata/ibm863.c: New file. + * iconvdata/ibm864.c: New file. + * iconvdata/ibm865.c: New file. + * iconvdata/ibm868.c: New file. + * iconvdata/ibm869.c: New file. + * iconvdata/ibm870.c: New file. + * iconvdata/ibm871.c: New file. + * iconvdata/ibm875.c: New file. + * iconvdata/ibm880.c: New file. + * iconvdata/ibm891.c: New file. + * iconvdata/ibm903.c: New file. + * iconvdata/ibm904.c: New file. + * iconvdata/ibm905.c: New file. + * iconvdata/ibm918.c: New file. + + * locale/iso-4217.def: Update. + * localedata/locales/pt_BR: Correct. Patches by Andreas Jaeger. + + * stdio-common/vfscanf.h: Recognize nan and inf in floating-point + formats. + +1998-04-22 Andreas Jaeger + + * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for + LD_LIBRARY_PATH. + +1998-04-22 Gordon Matzigkeit + + * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'. + * Makefile: Likewise. + * posix/Makefile: Likewise. + * sysdeps/mach/hurd/Makefile: Likewise. + +1998-04-22 Gordon Matzigkeit + + * sysdeps/mach/hurd/bits/dirent.h: New file. + * sysdeps/mach/hurd/readdir64.c: New file. + * sysdeps/mach/hurd/readdir64_r.c: New file. + +1998-04-21 Gordon Matzigkeit + + * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf, + dprintf): Synchronize declarations with libio/stdio.h. + +1998-04-21 Gordon Matzigkeit + + * elf/dlerror.c (dlerror): Don't assume that + __libc_internal_tsd_get is defined. __libc_getspecific is already + well-protected, so just use it directly. + +1998-04-22 Gordon Matzigkeit + + * io/ftw.h (ftw): Fix typo. + +1998-04-21 Gordon Matzigkeit + + * sysdeps/gnu/utmp_file.c: Fix typo. + +1998-04-22 11:06 Andreas Schwab + + * iconvdata/run-iconv-test.sh: Fix more portability bugs. When + one part of a test fails move on to the next test. + +1998-04-24 5:45 Richard Henderson + + * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added. + +1998-04-21 Andreas Schwab + + * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses + as pointers, not signed integers. + +1998-04-22 11:06 Andreas Schwab + + * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added. + +1998-04-21 21:49 Zack Weinberg + + * misc/sys/cdefs.h: New macro __REDIRECT to support changing the + asm symbol name of functions. + * include/features.h: Kill redundant test. + + * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64. + * io/ftw.h: Likewise. + * io/sys/stat.h: Likewise. + * io/sys/statfs.h: Likewise. + * io/sys/statvfs.h: Likewise. + * libio/stdio.h: Likewise. + * resource/sys/resource.h: Likewise. + * rt/aio.h: Likewise. + + * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and + __FAVOR_BSD. + * signal/signal.h: Use new macros for BSD vs. SysV signal(). + + * misc/Makefile: Drop bsd-compat.c. Make libbsd-compat.a + a dummy library. + * misc/bsd-compat.c: Removed. + +1998-04-21 20:32 Ulrich Drepper + + * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in + function declaration. + * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined + and use them in conversion function. + * iconvdata/Makefile (modules): Re-add ISO6446. + * iconvdata/TEST: Add tests for ASCII variants. + * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c. + * iconvdata/testdata/ANSI_X3.4-1968: New file. + * iconvdata/testdata/BS_4730: New file. + * iconvdata/testdata/BS_4730..UTF8: New file. + +1998-04-21 19:05 Ulrich Drepper + + * iconv/gconv.h (struct gconv_step): Add element stateful. + * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful + to zero for all internal conversions. + * iconv/skeleton.c: Initialize stateful depending on whether or not + RESET_STATE is defined to one or zero respectively. + * stdlib/mblen.c: Use stateful element of currently selected + converter for result if S is NULL. + * stdlib/mbtowc.c: Likewise. + * stdlib/wctomb.c: Likewise. + +1998-04-21 18:00 Ulrich Drepper + + * iconv/gconv.c (__gconv): Remove bogus input buffer size computation. + + * iconv/gconv_open.c (__gconv_open): Initialize outbufend element. + + * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use + character in comparison with uint32_t. + (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO. + (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM. + Optimize BODY a bit. + + * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to + be defined. + + * iconv/skeleton.c: Also reset converted counter in case of an error. + Call reset function using correct value for output buffer start. + + * iconvdata/Makefile: Re-enable tests. + + * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT + value for to-conversion. + + * iconvdata/TESTS: Add new third column. + * iconvdata/run-iconv-test.sh: Add support for charsets which are + not ASCII based. + * iconvdata/testdata/suntzus: New file. + + * elf/dl-minimal.c (__strtol_internal): Increment pointer to string + while reading. Correctly used base. Little optimization. + (__strtoul_internal): Likewise. + + * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths + was wrong. Use explicit variable. + +1998-04-20 23:49 Zack Weinberg + + * configure.in: Check for awk. + * config.make.in: Add AWK to be substituted. + + * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions. + * manual/users.texi: Fix typo exposed by above rewrite. + + * Makefile: Invoke awk using AWK variable. + * csu/Makefile: Likewise. + * elf/Makefile: Likewise. + * mach/Makefile: Likewise. + * manual/Makefile: Likewise. + * sysdeps/gnu/Makefile: Likewise. + * sysdeps/mach/hurd/Makefile: Likewise. + * sysdeps/unix/Makefile: Likewise. + * timezone/Makefile: Likewise. + +1998-04-10 Gordon Matzigkeit + + * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to + array index translation. + (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if + these are defined. + + * sysdeps/mach/hurd/Dist: Add errlist.c to distribution. + + * sysdeps/mach/hurd/errlist.c: New file. + (ERR_TRANSLATE): Map Hurd error codes into errlist indices. + (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist + semantics, so rename it. + +1998-04-16 Andreas Schwab + + * iconvdata/run-iconv-test.sh: Make portable. Always test all + conversions. + +1998-04-21 12:30 H.J. Lu + + * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0. + * wcsmbs/wcsnrtombs.c: Likewise. + +1998-04-21 Ulrich Drepper + + * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly. + + * wcsmbs/btowc.c (__btowc): Declare inptr as const char *. + + * time/strftime.c (my_strftime): Initialize pad variable in + declaration. + + * iconvdata/big5.c: Don't use character constants in comparisons + with unsigned value. + +1998-04-20 18:00 Ulrich Drepper + + * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and + __libc_siglongjmp to GLIBC_2.1. + + * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use + __strerror_r. + + * iconv/Makefile: Don't run tests now. + + * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv + with correct output buffer. + + Major rewrite of the low-level gconv functionality. + * iconv/gconv.c: Rewritten. + * iconv/gconv.h: Likewise. + * iconv/gconv_builtin.c: Likewise. + * iconv/gconv_builtin.h: Likewise. + * iconv/gconv_conf.c: Likewise. + * iconv/gconv_int.h: Likewise. + * iconv/gconv_open.c: Likewise. + * iconv/gconv_simple.c: Likewise. + * iconv/iconv.c: Likewise. + * iconvdata/8bit-gap.c: Likewise. + * iconvdata/8bit-generic.c: Likewise. + * iconvdata/Makefile: Likewise. + * iconvdata/big5.c: Likewise. + * iconvdata/cns11643.c: Likewise. + * iconvdata/cns11643.h: Likewise. + * iconvdata/cns11643l1.c: Likewise. + * iconvdata/cns11643l1.h: Likewise. + * iconvdata/ebcdic-at-de-a.c: Likewise. + * iconvdata/ebcdic-at-de.c: Likewise. + * iconvdata/ebcdic-ca-fr.c: Likewise. + * iconvdata/euccn.c: Likewise. + * iconvdata/eucjp.c: Likewise. + * iconvdata/euckr.c: Likewise. + * iconvdata/euctw.c: Likewise. + * iconvdata/gb2312.c: Likewise. + * iconvdata/gb2312.h: Likewise. + * iconvdata/hp-roman8.c: Likewise. + * iconvdata/iso646.c: Likewise. + * iconvdata/iso6937.c: Likewise. + * iconvdata/iso8859-1.c: Likewise. + * iconvdata/iso8859-10.c: Likewise. + * iconvdata/iso8859-2.c: Likewise. + * iconvdata/iso8859-3.c: Likewise. + * iconvdata/iso8859-4.c: Likewise. + * iconvdata/iso8859-5.c: Likewise. + * iconvdata/iso8859-6.c: Likewise. + * iconvdata/iso8859-7.c: Likewise. + * iconvdata/iso8859-8.c: Likewise. + * iconvdata/iso8859-9.c: Likewise. + * iconvdata/jis0201.c: Likewise. + * iconvdata/jis0201.h: Likewise. + * iconvdata/jis0208.c: Likewise. + * iconvdata/jis0208.h: Likewise. + * iconvdata/jis0212.c: Likewise. + * iconvdata/jis0212.h: Likewise. + * iconvdata/johab.c: Likewise. + * iconvdata/koi-8.c: Likewise. + * iconvdata/koi8-r.c: Likewise. + * iconvdata/ksc5601.c: Likewise. + * iconvdata/ksc5601.h: Likewise. + * iconvdata/latin-greek-1.c: Likewise. + * iconvdata/latin-greek.c: Likewise. + * iconvdata/run-iconv-test.sh: Likewise. + * iconvdata/sjis.c: Likewise. + * iconvdata/t61.c: Likewise. + * iconvdata/uhc.c: Likewise. + * wcsmbs/btowc.c: Likewise. + * wcsmbs/mbrtowc.c: Likewise. + * wcsmbs/mbsnrtowcs.c: Likewise. + * wcsmbs/mbsrtowcs.c: Likewise. + * wcsmbs/wcrtomb.c: Likewise. + * wcsmbs/wcsmbsload.c: Likewise. + * wcsmbs/wcsnrtombs.c: Likewise. + * wcsmbs/wcsrtombs.c: Likewise. + * wcsmbs/wctob.c: Likewise. + * iconv/loop.c: New file. + * iconv/skeleton.c: New file. + + * stdlib/mblen.c: Handle empty input string correctly. + * stdlib/mbtowc.c: Likewise. + + * posix/getopt.c: Various cleanups. + + * sysdeps/arm/bits/setjmp.h: Add copyright text. + * sysdeps/i386/bits/setjmp.h: Likewise. + * sysdeps/m68k/bits/setjmp.h: Likewise. + * sysdeps/powerpc/bits/setjmp.h: Likewise. + * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise. + + * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp + and make longjmp weak alias. + +1998-04-18 20:29 Philip Blundell + + * iconv/Makefile (routines): Only include gconv_dl if building for + an ELF system - dynamic linking is not available on a.out. + (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl + due to above check. + * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call + routines from gconv_dl. + +1998-04-17 Gordon Matzigkeit + + * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that + we can compile without libio. + +1998-04-20 16:28 Ulrich Drepper + + * sysdeps/mach/hurd/Subdirs: Remove login. + +1998-04-11 Gordon Matzigkeit + + * db2/compat.h: Include , to make sure we get the + definition of EFTYPE before we define it ourselves. + +1998-04-10 Gordon Matzigkeit + + * sysdeps/generic/bits/socket.h: Protect against multiple inclusion. + * sysdeps/mach/hurd/bits/ioctls.h: Likewise. + Fix typo to allow inclusion from sys/ioctl.h again. + +1998-04-16 Andreas Schwab + + * iconvdata/*.[ch]: Clean up namespace. Optimize character lookup. + +1998-04-16 Andreas Schwab + + * libc.map: Export __strerror_r. Remove _strerror_internal. + +1998-04-16 Andreas Schwab + + * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr. + Also undefine __strcasestr. + +1998-04-16 Andreas Schwab + + * posix/regex.c: Rename __re_max_failures back to re_max_failures, + aliases do not work with global variables due to copy relocations. + +1998-04-20 15:12 Ulrich Drepper + + * manual/creature.texi: Fix type. Patch by Andreas Schwab. + +1998-04-20 13:47 Ulrich Drepper + + * signal/sighold.c: Include stddef.h for NULL definition. + * signal/sigrelse.c: Likewise. + * sysdeps/posix/sigignore.c: Likewise. + * sysdeps/posix/sigset.c: Likewise. + * sysdeps/posix/waitid.c: Likewise. + * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise. + * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise. + * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. + * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX. + Patch by Franz Sirl . + +1998-04-13 Mark Kettenis + + * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h. + * login/getutent.c (getutxent): Remove alias. + * login/getutent_r.c (setutxent, pututxline, endutxent): + Remove aliases. + * login/getutid.c (getutxid): Remove alias. + * login/getutline.c (getutxline): Remove alias. + * login/utmp.h: Add prototypes for __updwtmp, __getutent, + __getutid, __getutline and __pututline. + * login/utmpx.h: Moved to ... + * sysdeps/gnu/utmpx.h: ... here. [__USE_GNU]: Define UTMPX_FILE, + UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname + and updwtmpx. + * login/updwtmp.c: Moved to ... + * sysdeps/generic/updwtmp.c: ... here. (updwtmp): Generalized by + allowing file name transformation. + * sysdeps/gnu/updwtmp.c: New file. Use generic implementation with + additional file name transformation. + * sysdeps/unix/sysv/linux/updwtmp.c: Likewise. + * login/utmp_file.c: Moved to ... + * sysdeps/generic/utmp_file.c: ... here. (setutent_file): + Generalized by allowing file name transformation. Do not + print error message. Library functions should not print them. + Reported by Jim Meyering. + * sysdeps/gnu/utmp_file.c: New file. Use generic implementation + with additional file name transformation. + * sysdeps/unix/sysv/linux/utmp_file.c: Likewise. + * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add + setutxent, getutxent, endutxent, getutxid, getutxid, getutxline, + pututxline, utmpxname and updwtmpx. (sysdep_headers): Add utmpx.h + and bits/utmpx.h. + * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h. + (_PATH_UTMPX): Define to _PATH_UTMP. (_PATH_WTMPX): Define to + _PATH_WTMPX. (RUN_LVL): Define only if __USE_GNU. (ACCOUNTING): + Define if __USE_GNU. + * sysdeps/generic/setutxent.c: New file. + * sysdeps/generic/getutxent.c: New file. + * sysdeps/generic/endutxent.c: New file. + * sysdeps/generic/getutxid.c: New file. + * sysdeps/generic/getutxline.c: New file. + * sysdeps/generic/pututxline.c: New file. + * sysdeps/generic/utmpxname.c: New file. + * sysdeps/generic/updwtmpx.c: New file. + * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove. + * sysdeps/generic/bits/utmpx.h: Remove. + +1998-04-20 Ulrich Drepper + + * posix/wordexp-test.c (main): Initialize ifs element of ts for + ~root test. + +1998-04-17 07:53 H.J. Lu + + * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo. + +1998-04-17 11:32 Ulrich Drepper + + * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st + variable using _G_stat64. + * libio/fileops.c: Remove macro definition of fstat, it is in the + global header. + Reported by Thorsten Kukuk . + +1998-04-17 Philip Blundell + + * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox + . + +1998-04-16 Philip Blundell + + * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro, + required by IPv6 Basic API. + (IN6_IS_ADDR_MC_LINKLOCAL): Likewise. + (IN6_IS_ADDR_MC_SITELOCAL): Likewise. + (IN6_IS_ADDR_MC_ORGLOCAL): Likewise. + (IN6_IS_ADDR_MC_GLOBAL): Likewise. + +1998-04-15 16:41 Ulrich Drepper + + Don't name internal representation since it might be different from + the external form (namely on little endian machines). + * iconv/gconv_builtin.h: Add UCS4 support. Change references to + UCS4 into references to INTERNAL. + * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters. + Add endianess support to UCS functions. Change references to + UCS4 into references to INTERNAL. + * iconv/gconv_int.h: Change references to UCS4 into references to + INTERNAL. + * iconv/iconv_prog.c: Don't mention INTERNAL in --list output. + * iconvdata/gconv-modules: Change accordingly. + * wcsmbs/wcsmbsload.c: Change names to use INTERNAL. + + * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer + overflow. + * iconvdata/8bit-gap.c: Likewise. + * iconvdata/8bit-generic.c: Likewise. + * iconvdata/big5.c: Likewise. + * iconvdata/euccn.c: Likewise. + * iconvdata/eucjp.c: Likewise. + * iconvdata/euckr.c: Likewise. + * iconvdata/euctw.c: Likewise. + * iconvdata/iso646.c: Likewise. + * iconvdata/iso6937.c: Likewise. + * iconvdata/iso8859-1.c: Likewise. + * iconvdata/johab.c: Likewise. + * iconvdata/sjis.c: Likewise. + * iconvdata/t61.c: Likewise. + * iconvdata/uhc.c: Likewise. + + * iconvdata/8bit-gap.c: Correct access to to_ucs4 array. + * iconvdata/8bit-generic.c: Likewise. + + * iconvdata/TESTS: Add more tests. + + * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used. + +1998-04-15 11:47 Ulrich Drepper + + * iconvdata/Makefile: Better rules to run tests. + + * iconvdata/testdata/ISO-8859-1..UTF8: New file. + * iconvdata/testdata/ISO-8859-10: Likewise. + * iconvdata/testdata/ISO-8859-10..UCS2: Likewise. + * iconvdata/testdata/ISO-8859-2: Likewise. + * iconvdata/testdata/ISO-8859-2..UCS4: Likewise. + * iconvdata/testdata/ISO-8859-2..UTF8: Likewise. + * iconvdata/testdata/ISO-8859-3: Likewise. + * iconvdata/testdata/ISO-8859-4: Likewise. + * iconvdata/testdata/ISO-8859-5: Likewise. + * iconvdata/testdata/ISO-8859-6: Likewise. + * iconvdata/testdata/ISO-8859-7: Likewise. + * iconvdata/testdata/ISO-8859-8: Likewise. + * iconvdata/testdata/ISO-8859-9: Likewise. + +1998-04-15 Ulrich Drepper + + * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare + intermediate result (if available). + + * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in + last change. + + * iconvdata/Makefile: Add rules to run run-iconv-test.sh. + (distribute): Add run-iconv-test.sh and testdata/*. + + * stdlib/testmb.c (main): Simplify mbc array handling. + +1998-04-14 Andreas Schwab + + * elf/dl-minimal.c (__strtol_internal): Correct range check. Fix + return value on overflow. + +1998-04-14 Andreas Schwab + + * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64 + bits. + +1998-04-14 Andreas Schwab + + * malloc/mtrace.c (mtrace): Use standard function setvbuf instead + of non-standard function setbuffer. + +1998-04-15 Andreas Jaeger + + * stdio-common/perror.c: Include for __strerror_r. + +1998-04-14 23:54 Ulrich Drepper + + * iconvdata/Makefile: Add rules to run tests. + * iconvdata/TESTS: New file. + * iconvdata/run-iconv-test.sh: New file. + * iconvdata/testdata/ISO-8859-1: New file. + + * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream, + not stdout. + +1998-04-14 18:22 Ulrich Drepper + + * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize + counter element of step. + + * iconv/gconv_dl.c: Don't mark get_sym as internal function. + + * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop + termination test. + (__gconv_transform_ucs4_utf8): Likewise. Remove unnecessary variable + ACTUALLY. + (__gconv_transform_utf8_ucs4): Correct test for empty input. + +1998-04-14 Ulrich Drepper + + * Makefile: Include makeconfig before defining rule to regenerate + configure files. + + * configure.in: Remove restriction on compiling without static + libs. + +1998-04-14 16:34 Ulrich Drepper + + * test-skeleton.c: Provide hook for initializing code before the fork. + * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always + removed. + + * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup. + * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all. + * libio/libioP.h: Adopt _IO_cleanup prototype. + + * stdlib/Makefile (tests): Add test-canon2. + * stdlib/test-canon2.c: New file. + * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to + be NULL. Use __lxstat, not __lstat. Correctly recognize long + symlink sequences. + (__realpath): Make real function which checks RESOLVED parameter for + not being NULL. + +1998-04-14 Ulrich Drepper + + * catgets/open_catalog.c (__open_catalog): Fix problems with + reading non-files. Always close file. + Reported by Cristian Gafton . + + * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings. + +1998-04-14 13:28 Ulrich Drepper + + * libc.map: Add various low-level I/O functions. + +1998-04-14 10:35 Ulrich Drepper + + * string/Makefile (routines): Remove strerror_r. + * string/strerror_r.c: Removed. + * string/strerror.c: Call __strerror_r for doing the real work. + * sysdeps/generic/_strerror.c: Rename function to __strerror_r and + add weak alias strerror_r. + * sysdeps/mach/_strerror.c: Likewise. + * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal. + * elf/dl-error.c (_dl_signal_error): Likewise. + * elf/dl-profile.c (_dl_start_profile): Likewise. + * gmon/gmon.c (write_gmon): Likewise. + * stdio-common/perror.c: Likewise. + * stdio-common/vfprintf.c: Likewise. + +1998-04-10 Mark Kettenis + + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] + (sysdep_headers): Add netatalk/at.h. + +1998-04-12 Andreas Schwab + + * manual/socket.texi, manual/creature.texi, manual/time.texi: + Formatting fixes. + +1998-04-13 Andreas Schwab + + * posix/regex.c: Rename __re_syntax_options back to + re_syntax_options, aliases do not work with global variables due + to copy relocations. + (regex_compile): Use syntax parameter instead of + re_syntax_options. + +1998-04-14 Andreas Jaeger + + * configure.in: Document that enable-force-install is default. + +1998-04-13 Ulrich Drepper + + * sysdeps/posix/mktemp.c: Increment `value' in a way which touches + all needed 36 bits. + * sysdeps/posix/mkstemp.c: Likewise. + +1998-04-13 17:40 Ulrich Drepper + + * iconvdata/8bit-gap.c: Simplify step data handling. + * iconvdata/8bit-generic.c: Likewise. + * iconvdata/big5.c: Likewise. + * iconvdata/euccn.c: Likewise. + * iconvdata/eucjp.c: Likewise. + * iconvdata/euckr.c: Likewise. + * iconvdata/euctw.c: Likewise. + * iconvdata/iso6937.c: Likewise. + * iconvdata/iso8859-1.c: Likewise. + * iconvdata/jis0208.h: Likewise. + * iconvdata/jis0212.c: Likewise. + * iconvdata/jis0212.h: Likewise. + * iconvdata/johab.c: Likewise. + * iconvdata/ksc5601.h: Likewise. + * iconvdata/sjis.c: Likewise. + * iconvdata/t61.c: Likewise. + * iconvdata/uhc.c: Likewise. + +1998-04-13 16:36 Ulrich Drepper + + * manual/texinfo.texi: Updated from last version. + +1998-04-13 14:52 Ulrich Drepper + + * iconvdata/cns11643.c: New file. + * iconvdata/cns11643.h: New file. + * iconvdata/cns11643l1.c: New file. + * iconvdata/cns11643l1.h: New file. + * iconvdata/euctw.c: New file. + * iconvdata/Makefile: Add rules for EUC-TW and CNS. + * iconvdata/gconv-modules: Likewise. + + * iconvdata/eucjp.c: Several bug fixes and improvements. + * iconvdata/gb2312.h: Likewise. + * iconvdata/jis0201.h: Likewise. + * iconvdata/jis0208.h: Likewise. + * iconvdata/jis0212.h: Likewise. + +1998-04-13 09:11 Ulrich Drepper + + * iconvdata/eucjp.c: New file. + * iconvdata/euccn.c: New file. + * iconvdata/gb2312.h: New file. + * iconvdata/gb2312.c: New file. + * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN. + * iconvdata/gconv-modules: Likewise. + + * iconvdata/euckr.c: Use stdint.h instead of inttypes.h. + +1998-04-12 Ulrich Drepper + + * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c + (DL_FIND_ARG_COMPONENTS): Always initialize auxv. + Patch by Mark Hatle . + +1998-04-12 22:47 Philip Blundell + + * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct + comment. + (PF_AAL5, AF_AAL5): Rename to *_ATMPVC. + (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added. + +1998-04-12 Ulrich Drepper + + * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations. + + * iconvdata/Makefile: Add rules for big5 conversion. + * iconvdata/gconv-modules: Likewise. + * iconvdata/big5.c: New file. + + * time/mktime.c (TYPE_MAXIMUM): Add missing cast. + Patch by Jim Meyering. + +1998-04-11 Ulrich Drepper + + * rt/tst-aio.c: Add test for aio_read and lio_listio. + + * rt/lio_listio.c: Correct total counter handling. + + * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements + from request queue. + + * test-skeleton.c (main): Make stdout unbuffered. Improve message + of signal on exit even more. + + * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER + instead of call to pthread_cond_init. + * rt/lio_listio.c (lio_listio): Likewise. + * rt/lio_listio64.c (lio_listio64): Likewise. + + * nis/nis_findserv.c: Include sys/socket.h. + +1998-04-11 09:33 Ulrich Drepper + + * Makeconfig (rtobjdir): New variable. + (rpath-link): Add rtobjdir and thread directory, if available. + + * test-skeleton.c: Add support to remove temporary files. + Always define test_dir. Improve message about expected signal. + + * rt/Makefile (tests): Add tst-aio. + Add rules for tst-aio to be linked with librt and thread library. + * rt/aio_misc.c: Correct fundamental bugs. + * rt/aio_suspend.c: Correct bug in test for available request. + Initialize conditional variable. + * rt/lio_listio.c: Initialize conditional variable. + * rt/lio_listio64.c: Likewise. + * rt/tst-aio.c: New file. + + * sysdeps/libm-ieee754/s_signgam.c: Undo last change. + * sysdeps/libm-ieee754/w_gamma.c: Likewise. Adopt for ISO C 9x. + * sysdeps/libm-ieee754/w_gammaf.c: Likewise. + * sysdeps/libm-ieee754/w_gammal.c: Likewise. + * sysdeps/libm-ieee754/w_lgamma.c: Likewise. + * sysdeps/libm-ieee754/w_lgammaf.c: Likewise. + * sysdeps/libm-ieee754/w_lgammal.c: Likewise. + +1998-04-11 14:49 Mark Kettenis + + * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0. + +1998-04-10 Ulrich Drepper + + * elf/dl-load.c (open_path): Use correct name for test whether + directory in load path exists. + + * sysdeps/libm-ieee754/s_expm1.c: Remove variable one. + * sysdeps/libm-ieee754/e_pow.c: Fix typo. + Patches by Tom Rini . + + * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal. + * wcsmbs/wcstod_l.c: Likewise. + * wcsmbs/wcstold_l.c: Likewise. + + * include/byteswap.h: New file. + + * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce + .bss segment size. Patch by Joe Keane . + + * inet/getnameinfo.c (getnameinfo): Change parameter to match + declaration. Patch by Richard Henderson. + +1998-04-10 12:40 Zack Weinberg + + * manual/process.texi (SIGCHLD example): Save errno. + +1998-04-09 Ulrich Drepper + + * posix/regex.c: Define regerror really as __regerror. + * posix/regex.h: Add __ protected prototypes for regcomp, regexec, + regerror and regfree. + + * stdlib/strtof_l.c: Declare ____strtoull_l_internal. + * stdlib/strtod_l.c: Likewise. + * stdlib/strtold_l.c: Likewise. + + * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros. + + * sysdeps/i386/i486/bits/string.h: Remove unused variables. + + * misc/syslog.c (closelog_internal): Set LogTag to NULL. + Patch by Christian Gafton. + +1998-04-09 14:27 Ulrich Drepper + + * manual/socket.texi (Interface Naming): Correct @deftypefun line + for if_indextoname. + +1998-04-07 Andreas Jaeger + + * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message. + + * manual/socket.texi (Interface Naming): Fix typo. + +1998-04-07 Andreas Jaeger + + * manual/examples/filesrv.c (main): Remove filename first. + + * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE, + ?F_UNIX. + + * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL + instead of PF_UNIX. + + * manual/examples/filecli.c (main): Use AF_LOCAL + instead of AF_UNIX. + +1998-04-09 Ulrich Drepper + + * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make + signgam weak alias. + * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam. + * sysdeps/libm-ieee754/w_lgammaf.c: Likewise. + * sysdeps/libm-ieee754/w_lgammal.c: Likewise. + * sysdeps/libm-ieee754/w_gamma.c: Likewise. + * sysdeps/libm-ieee754/w_gammaf.c: Likewise. + * sysdeps/libm-ieee754/w_gammal.c: Likewise. + + * login/utmp_daemon.c (open_socket): Use __connect not connect. + +1998-04-08 Andreas Schwab + + * configure.in: Add new option --enable-force-install. Substitute + force_install. + * config.make.in (force-install): Set from configure. + * Makerules (force-install): New phony target. + * Makeconfig (+force): New variable. + * Makefile: Use it in dependency list of installation targets. + * db/Makefile: Likewise. + * db2/Makefile: Likewise. + * elf/Makefile: Likewise. + * hurd/Makefile: Likewise. + * iconv/Makefile: Likewise. + * iconvdata/Makefile: Likewise. + * intl/Makefile: Likewise. + * localedata/Makefile: Likewise. + * login/Makefile: Likewise. + * po/Makefile: Likewise. + * sunrpc/Makefile: Likewise. + * sysdeps/mach/hurd/Makefile: Likewise. + * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise. + * sysdeps/unix/sysv/linux/Makefile: Likewise. + * timezone/Makefile: Likewise. + +1998-04-08 Andreas Schwab + + * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default + alloc_size. Pass return value of getcwd syscall to realloc. + +1998-04-08 Andreas Schwab + + * manual/socket.texi: Spelling fixes. + +1998-04-08 Andreas Schwab + + * elf/dl-load.c (print_search_path): Remove unused variable. + +1998-04-08 Ulrich Drepper + + * login/utmp_file.c: use __ftruncate not ftruncate. + * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name + for system call and make ftruncate weak alias. + * posix/unistd.h: Add prototype for __ftruncate. + * login/utmp_daemon.c (open_socket): Use __socket not socket. + * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv + instead of snprintf and readv. + * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not + snprintf. + * stdlib/strtod.c: Call strtoull/wcstoull's internal functions + directly. + +1998-04-08 20:06 Ulrich Drepper + + * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath. + * iconv/gconv_db.c: Use __ protected regex functions. + * iconv/gconv_simple.c: Use __mbsinit not mbsinit. + * posix/getopt_init.c: Use __getpid not getpid. + * posix/regex.c: Rename all global functions to start with __ and + make old names weak aliases. + * posix/regex.h: Adopt prototypes for this. + * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name + a weak alias and use __getcwd instead of getcwd. + * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name. + * stdlib/strtod.c: Use __btowc instead of btowc. + * stdlib/strtol.c: Likewise. + * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr. + * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr + and sys_errlist are weak. + * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias. + * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit. + * wcsmbs/mbsnrtowcs.c: Likewise. + * wcsmbs/mbsrtowcs.c: Likewise. + * wcsmbs/wcsnrtombs.c: Likewise. + * wcsmbs/wcsrtombs.c: Likewise. + * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit + weak alias. + * wcsmbs/wchar.h: Declare __btowc and __mbsinit. + * wctype/wctype.c: Define function as __wctype and make wctype + weak alias. + * wctype/wctype.h: Declare __wctype. + +1998-04-08 Ulrich Drepper + + * stdio-common/vfscanf.c: Perform test in %l[ handling correctly. + +1998-04-07 Andreas Schwab + + * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to + stat64. + (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean + functions. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias + for __llseek. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/llseek.c: Likewise. + * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and + make it a weak alias. + * posix/unistd.h: Declare __lseek64. + + * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function. + (_IO_file_stat): Fix typo. + (_IO_file_xsgetn): Update fd->_offset. Read a multiple of the + block size from the file. Use __mempcpy if _LIBC. + +1998-04-07 20:32 Ulrich Drepper + + * wcsmbs/btowc.c: Fix dozends of bugs in untested code. + * wcsmbs/mbrtowc.c: Likewise. + * wcsmbs/mbsnrtowcs.c: Likewise. + * wcsmbs/mbsrtowcs.c: Likewise. + * wcsmbs/wcrtomb.c: Likewise. + * wcsmbs/wcsnrtombs.c: Likewise. + * wcsmbs/wcsrtombs.c: Likewise. + * wcsmbs/wctob.c: Likewise. + + * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute + position of next output character correctly. + (__gconv_transform_ucs4_ascii): Count used input bytes correctly. + + * stdio-common/vfprintf.c (vfprintf): Clear state before used. + + * stdlib/strtod.c: Don't use mbtowc. + +1998-04-07 19:07 H.J. Lu + + * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when + what we want is smaller than a buffer. + +1998-04-07 18:14 Ulrich Drepper + + * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of + this function. + +1998-04-07 Ulrich Drepper + + * configure.in: Recognize --with-headers flag and determine + commandline options to be used in compilation. + * Makeconfig (+includes): Use $(sysincludes). + * config.make.in (sysincludes): Define from SYSINCLUDES. + * glibcbug.in: Use SYSINCLUDES information. + Patches by Zack Weinberg. + +1998-04-07 19:03 Zack Weinberg + + * glibcbug.in: On linux, report version of kernel headers seen + by compiler. + +1998-04-07 16:18 Ulrich Drepper + + * libc.map: Add __asprintf to GLIBC_2.1. + * elf/dlerror.c: Use __asprintf, not asprintf. + * libio/stdio.h: Declare __asprintf. + * stdio-common/asprintf.c: Define as __asprintf and make asprintf + a weak alias. + + * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends) + to avoid inclusion from libc_pic.a. + + * elf/dl-runtime.c: Undo last patch. + + * stdlib/strtod.c: Don't use mbtowc, use btowc. + + * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386" + as default, use NULL. + +1998-04-04 Andreas Jaeger + + * resolv/Makefile: Include ../Makeconfig - needed for building + static NSS module. + +1998-04-04 Andreas Jaeger + + * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for + static-nss since we don't want hesiod in the static NSS. + + * nss/Makefile: Build only nss_files as static. + + * nss/function.def: Remove support for service db. + +1998-04-04 09:44 H.J. Lu + + * Makeconfig (CPPFLAGS-.oS): Add -DPIC. + +1998-04-04 18:29 Tim Waugh + + * posix/wordexp-test.c: Make IFS per test-case. + +1998-04-07 17:50 Zack Weinberg + + * glibcbug.in: Report version of gcc in use. Remove unused variable + ENVIRONMENT. + +1998-04-07 Gordon Matzigkeit + + * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not + `-print-file-name' to find as and ld. + +1998-04-07 Ulrich Drepper + + * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case + template is wrong. Remove unused varaible `ignored'. + +1998-04-07 Andreas Jaeger + + * libc.map: Export __libc_sa_len. + + * iconv/gconv_conf.c (MAXPATHLEN): Define correctly. + +1998-04-07 08:51 Ulrich Drepper + + * iconv/gconv.c: Take care for NULL arguments. + * iconv/gconv_dl.c: Make find_func function global. + * iconv/gconv_int.h: Add prototype for __gconv_find_func. + Add prototypes for ASCII conversion functions. + * iconv/gconv_simple.c: Add ASCII conversion functions. + * locale/C-ctype.c: Correct charset name. + + * wcsmbs/Makefile (distribute): Add wcsmbsload.h. + (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and + wcsmbsload. + * wcsmbs/btowc.c: Rewrite to use iconv functionality. + * wcsmbs/mbrtowc.c: Likewise. + * wcsmbs/mbsnrtowcs.c: Likewise. + * wcsmbs/mbsrtowcs.c: Likewise. + * wcsmbs/wcrtomb.c: Likewise. + * wcsmbs/wcsnrtombs.c: Likewise. + * wcsmbs/wcsrtombs.c: Likewise. + * wcsmbs/wctob.c: Likewise. + * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen. Remove + prototypes for wmemr*. + * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias. + * wcsmbs/wcsnlen.c: New file. + * wcsmbs/wcsmbsload.c: New file. + * wcsmbs/wcsmbsload.h: New file. + + * manual/filesys.texi: Mention risks of tmpnam and mktemp. + + * manual/install.texi: Describe some more critical points. + + * string/string.h: Add prototype for __strnlen. + * string/strnlen.c: Rename to __strnlen and make strnlen weak alias. + + * sysdeps/posix/mktemp.c: Rewrite to allow many more files and + much less predictable names. + * sysdeps/posix/mkstemp.c: Likewise. + +1998-04-05 Andreas Jaeger + + * manual/libc.texinfo (Top): Change "file namespace" to "local + namespace". + + * manual/socket.texi: Change file namespace to local namespace. + (Out-of-Band Data): Remove unneeded variable link. + (Host Address Functions): Use uint32_t consequently and add a + number of clarifications for IPv4/IPv6, classless addresses. + (Internet Namespace): Added some paragraphs about IPv6. + Based on suggestions by Francesco Potorti` . + +1998-04-05 Philip Blundell + + Update for draft-ietf-ipngwg-bsd-api-new-01.txt: + + * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'. + (NI_NUMERICHOST, et al.): Tidy up and add comments. + (AI_NUMERICHOST): Define. + (getnodebyname): New prototype. + (AI_V4MAPPED, et al.): New constants. + + * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro. + * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise. + * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len + for socket. + * sysdeps/unix/sysv/linux/sa_len.c: New file. + * sysdeps/unix/sysv/linux/Dist: Add sa_len.c. + + * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe. + + * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union. + * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise. + * socket/Makefile (headers): Add bits/sockunion.h. + * socket/sys/socket.h: Include + * inet/netinet/in.h: Include rather than + , to avoid getting sockaddr_union defined. + * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h. + * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise. + + * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT + (2.2.x kernels won't have it). + +1998-04-06 21:21 Ulrich Drepper + + * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h. + * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t. + * iconv/gconv_conf.c: Define MAXPATHLEN if not available before. + Patches by UCHIYAMA Yasushi . + +1998-04-05 Philip Blundell + + * manual/socket.texi (Socket Addresses): Fix a typo. + (Interface Naming): New section. + +1998-04-05 23:29 Zack Weinberg + + * configure.in: Check for CC using $ac_tool_prefix, to handle + cross-compilation. Use AC_CHECK_TOOL to find MiG. + * config.make.in: Add MIG to be substituted. + * mach/Machrules: Don't define MIG variable. + + Patch by Gordon Matzigkeit . + +1998-04-05 Mark Kettenis + + * elf/dl-load.c (decompose_rpath): Use local_strdup instead of + strdupa to copy rpath. + +1998-04-05 Andreas Schwab + + * configure.in: Fix gcc version check. + + * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less + confusing. + +1998-03-31 Mark Kettenis + + * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead + of ptsname_r. + + * stdlib/stdlib.h: Change prototype of ptsname_r to make it more + like ttyname_r. + * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise. + * sysdeps/generic/ptsname.c (__ptsname_r): Likewise. + * sysdeps/unix/grantpt.c (grantpt): Change check of return value + of __ptsname_r accordingly. + * login/openpty.c (openpty): Likewise. + +1998-06-04 18:47 H.J. Lu + + * libio/fileops.c (_IO_file_xsgetn): Adjust pointers. + +1998-04-06 13:58 Andreas Schwab + + * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27. + + * Makerules: Re-add missing rule for $(objpfx)stamp.oS. + +1998-04-06 Thorsten Kukuk + + * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall + return value for better error checking. + +1998-04-06 Jakub Jelinek + + * elf/dl-runtime.c (fixup, profile_fixup): The final arg to + _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT. + + * elf/elf.h (EM_SPARC64): Remove. + (EM_SPARC32PLUS, EM_SPARCV9): Add. + (HWCAP_SPARC_V9): Add. + + * elf/ldsodefs.h (_dl_hwcap): Declare. + * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask): + Weaken so dlopen from static progies works. + (WEAKADDR): New macro. + (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu. + (LD_SO_PRELOAD): New macro. + (elf_machine_fixup_plt): Cope with weak _dl_hwcap. + (elf_machine_rela): Weaken _dl_rtld_map. + + * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone + to __clone, and remove the later's alias. + * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise. + + * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from + the kernel's structure. + + * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file. + Sparc needs a custom value of __KERNEL_NCCS. + +1998-04-06 Richard Henderson + + * sysdeps/generic/libc-start.c: Allow init and fini to be null. + + * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main. + * sysdeps/sparc/sparc64/elf/start.S: Likewise. + +1998-04-06 Richard Henderson + + * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change, + as the buffer is not properly aligned. + Reported by Juan Cespedes . + +1998-04-05 Andreas Jaeger + + * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL + instead of AF_FILE. + +1998-04-05 Ulrich Drepper + + * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc* + and wc*tomb* functions. + +1998-04-04 15:16 Philip Blundell + + * sysdeps/unix/start.c: Fix typo. + +1998-04-04 Ulrich Drepper + + * iconv/gconv_db.c (__gconv_find_transform): Fix typo. + +1998-04-03 23:38 Ulrich Drepper + + * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large + expressions and using array variables. + * sysdeps/libm-ieee754/e_asin.c: Likewise. + * sysdeps/libm-ieee754/e_j0.c: Likewise. + * sysdeps/libm-ieee754/e_j1.c: Likewise. + * sysdeps/libm-ieee754/e_log.c: Likewise. + * sysdeps/libm-ieee754/e_pow.c: Likewise. + * sysdeps/libm-ieee754/k_cos.c: Likewise. + * sysdeps/libm-ieee754/k_sin.c: Likewise. + * sysdeps/libm-ieee754/k_tan.c: Likewise. + * sysdeps/libm-ieee754/s_atan.c: Likewise. + * sysdeps/libm-ieee754/s_erf.c: Likewise. + * sysdeps/libm-ieee754/s_expm1.c: Likewise. + * sysdeps/libm-ieee754/s_log1p.c: Likewise. + Patch by Naohiko Shimizu . + +1998-04-03 23:17 Ulrich Drepper + + * iconv/gconv.c: Rewrite of the low-level of gconv. + * iconv/gconv.h: Likewise. + * iconv/gconv_builtin.h: Likewise. + * iconv/gconv_close.c: Likewise. + * iconv/gconv_db.: Likewise. + * iconv/gconv_dl.c: Likewise. + * iconv/gconv_int.h: Likewise. + * iconv/gconv_open.c: Likewise. + * iconv/gconv_simple.c: Likewise. + * iconvdata/8bit-gap.c: Adapt for rewrite. + * iconvdata/8bit-generic.c: Likewise. + * iconvdata/euckr.c: Likewise. + * iconvdata/iso646.c: Likewise. + * iconvdata/iso6937.c: Likewise. + * iconvdata/iso8859-1.c: Likewise. + * iconvdata/johab.c: Likewise. + * iconvdata/sjis.c: Likewise. + * iconvdata/t61.c: Likewise. + * iconvdata/uhc.c: Likewise. + +1998-04-03 15:34 Ulrich Drepper + + * iconv/gconv_int.h: New file. Internal header. + * iconv/Makefile (distribute): Add gconv_int.h. + * iconv/gconv.h: Remove definition which are now in gconv_int.h. + * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction. + * iconv/gconv_close.c: Likewise. + * iconv/gconv_conf.c: Likewise. + * iconv/gconv_db.c: Likewise. + * iconv/gconv_dl.c: Likewise. + * iconv/gconv_int.h: Likewise. + * iconv/gconv_open.c: Likewise. + * iconv/iconv.c: Likewise. + * iconv/iconv_close.c: Likewise. + * iconv/iconv_open.c: Likewise. + * iconv/iconv_prog.c: Likewise. + +1998-04-03 Ulrich Drepper + + * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the + missing braces. + +1998-04-03 Thorsten Kukuk + + * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags. + +1998-04-03 16:29 Philip Blundell + + Based on patch from Pat Beirne: + * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for + PIC and non-PIC now. Correctly negate error number. + (errno): Use `%' not `@' in .type directives. + +1998-04-03 Ulrich Drepper + + * sysdeps/i386/strtok.S: Change to use single exit point. + * sysdeps/i386/i686/strtok.S: Likewise. + +1998-04-02 Andreas Schwab + + * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide + default. + +1998-04-02 Andreas Schwab + + * Makerules (installed-libcs): Fix typo. + +1998-04-02 Andreas Schwab + + * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC. + (UHC-routines): Remove ksc5601. + +1998-04-03 16:29 Philip Blundell + + * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo + introduced in last change. + +1998-04-03 06:22 Ulrich Drepper + + * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels + before 2.1.92. + +1998-04-02 Ulrich Drepper + + * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry. + + * stdlib/isomac.c: Use -isystem instead of -I for system include + dir. + +1998-03-30 08:05 H.J. Lu + + * resolv/res_comp.c (underscorechar): New. + (middlechar): Allow '_'. + +1998-04-02 Ulrich Drepper + + * intl/explodename.c (stdlib.h): Include that file only if + STDC_HEADERS or _LIBC. + (string.h): Include that file only if HAVE_STRING_H or _LIBC. + Patch by Philippe De Muyter . + +1998-04-01 21:08 Zack Weinberg + + * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests. + (AC_PROG_CHECK_VER): New macro. + * configure.in: Use AC_PROG_CHECK_VER to check versions of + gcc, gmake, msgfmt, makeinfo. Remove superfluous tests. + +1998-04-02 15:13 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file. + * sysdeps/i386/i686/strtok.S: New file + * sysdeps/i386/i686/strtok_r.S: New file + +1998-04-02 Mark Kettenis + + * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return + type to __off64_t. + * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset + parameter as __off64_t instead of __off_t. + (ftello): Make alias for ftello64 instead of ftello. Change + return type to __off64_t. + +1998-04-02 Ulrich Drepper + + * sysdeps/i386/bits/string.h: Fix various typos. + Patch by Horst von Brand . + + * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92. + +1998-04-02 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without + lchown syscall correctly. [PR libc/541]. + +1998-04-02 11:45 Ulrich Drepper + + * localedata/Makefile: Correct testsuite rules. + + * iconvdata/gconv-modules: Set cost of ISO646 module to 2. + * iconvdata/iso646.c: Fix conversion from UCS4. + + * elf/ldsodefs.h: Mark internal function with internal_function. + * elf/dl-addr.c: Likewise. + * elf/dl-close.c: Likewise. + * elf/dl-debug.c: Likewise. * elf/dl-deps.c: Likewise. * elf/dl-error.c: Likewise. + * elf/dl-fini.c: Likewise. * elf/dl-init.c: Likewise. * elf/dl-load.c: Likewise. * elf/dl-lookup.c: Likewise. * elf/dl-object.c: Likewise. * elf/dl-open.c: Likewise. + * elf/dl-profile.c: Likewise. + * elf/dl-reloc.c: Likewise. + * elf/dl-runtime.c: Likewise. + * elf/dl-symbol.c: Likewise. + * elf/dl-version.c: Likewise. + * elf/dlerror.c: Likewise. + * sysdeps/generic/dl-sysdep.c: Likewise. + * sysdeps/i386/dl-machine.h: Likewise. + * intl/finddomain.c: Likewise. + * intl/gettextP.h: Likewise. + * intl/loadmsgcat.c: Likewise. + +1998-04-01 17:38 Ulrich Drepper + + * iconv/gconv_simple.c: New builtins for UCS en/decoding. + * iconv/gconv_builtin.h: Add definitions for new builtins. + * iconv/gconv.h: Add prototypes for new builtins. + + * iconvdata/Makefile (modules): Add ISO646. + Add rules for ISO646 module. + (distribute): Add iso646.c. + * iconvdata/gconv-modules: Add module and alias definition for + ISO646 charsets. + * iconvdata/iso646.c: New file. + +1998-04-01 16:10 Ulrich Drepper + + * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db. + * iconv/iconv_prog.c: Implement --list option to print available + coded character sets. + +1998-04-01 18:10 Zack Weinberg + + Make fread() read large blocks straight to the user buffer. + + * libio/fileops.c (_IO_file_xsgetn): New function. + (_IO_file_jumps): Use it. + * libio/libioP.h: Prototype it. + +1998-04-01 Ulrich Drepper + + * iconv/gconv_conf.c (builtin_aliases): New variable. + (__gconv_read_conf): Add builtin aliases. + * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an + noop macro before including gconv_builtin.h. + * iconv/gconv_builtin.h: Add alias names. + + * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute + number of converted bytes correctly. + +1998-04-01 Thorsten Kukuk + + * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if + we only wait for a replay. + +1998-04-01 Ulrich Drepper + + * iconvdata/Makefile: Finally fix dependencies for JOHAB and + EUC-KR modules. + +1998-04-1 16:52 Philip Blundell + + * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and + use PLTJMP() rather than explicit (PLT). + + * sysdeps/arm/elf/start.S: Leave most of the initialisation for + __libc_start_main(). + + Based on patch from Pat Beirne: + * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER): + Always define, not only #ifndef PIC. + (DO_CALL): Pass fifth argument correctly in R4. + (PSEUDO): Correct test for error, call syscall_error through PLT + if PIC. + +1998-03-31 10:51 Philip Blundell + + * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new + definitions. + +1998-04-01 Ulrich Drepper + + * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and + JOHAB.so. + +1998-04-01 13:20 Mark Kettenis + + * io/Makefile (static-only-routines): Add stat64, fstat64 and + lstat64. + +1998-03-30 Andreas Schwab + + * manual/Makefile: Use object-suffixes-for-libc instead of + object-suffixes. + * rpm/Makefile (install-lib): Likewise. + +1998-03-30 Andreas Schwab + + * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug. + + * sysdeps/unix/sysv/linux/configure.in: Match $machine against + `m68*', not only `m68k'. + +1998-04-01 10:50 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file. + + * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and + install lddlibc4. + +1998-03-31 Ulrich Drepper + + * iconvdata/Makefile: Use libKSC shared object in JOHAB and + EUC-KR. + + * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct + comment. + +1998-03-30 08:43 H.J. Lu + + * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of + the init stuff. + +1998-03-31 Ulrich Drepper + + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for + adjtimex syscall. + * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add + adjtimex. + Patches by Dominik Kubla . + +1998-03-31 Andreas Jaeger + + * Makerules (install): Change comment for libc.so following the + libc_nonshared changes. + +1998-03-31 Ulrich Drepper + + * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo. + + * iconvdata/gap.pl: Avoid using %#06x. + +1998-03-31 19:55 Zack Weinberg + + * Makerules: Use $? instead of S^ when invoking ar. + +1998-03-31 Ulrich Drepper + + * db2/compat.h: Allow EFTYPE being defined. + * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD. + * sysdeps/unix/bsd/ulimit.c: Include . + * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE. + * sysdeps/mach/bits/libc-lock.h: Fix typo. + (__libc_once): Correctly unlock semaphore. + * sysdeps/mach/hurd/dl-sysdep.c: Include . + * sysdeps/unix/bsd/getpt.c: Fix typo. + Patches by UCHIYAMA Yasushi . + +1998-03-31 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as + macros. + +1998-03-31 18:11 Ulrich Drepper + + * include/mntent.h: New file. + + * elf/Makefile (trusted-dirs.h): Append slash to filename. + * elf/dl-load.c: Rewrite search path handling. + * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite. + * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK. + * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function. + * elf/ldsodefs.h: Add prototype. + +1998-03-30 Ulrich Drepper + + * nss/nsswitch.c (__nss_lookup): Adjust comment. + + * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New + function. + + * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition. + + * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string): + New function. + (HWCAP_IMPORTANT): New definition. + +1998-03-30 17:26 H.J. Lu + + * elf/dl-open.c (_dl_open): Fix a typo. + (_dl_global_scope_alloc): Make it static. + +1998-03-30 17:20 Ulrich Drepper + + * Makerules: Remove duplicate rules to handle stamp.oS. + +1998-03-30 Andreas Jaeger + + * manual/examples/inetsrv.c (main): Change prototype of + make_socket following change in mkisock.c. + + * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as + example host. + (main): Change prototype of init_sockaddr following change in + isockadd.c. + + * manual/examples/mkisock.c (make_socket): Use uint16_t for port. + * manual/examples/isockad.c (init_sockaddr): Likewise. + + * manual/examples/mkfsock.c (make_named_socket): Removed blank + lines for clarification. + (make_named_socket): Use strncpy instead of strcpy. + Reported by Francesco Potorti` . + +1998-03-30 13:28 Ulrich Drepper + + * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for + determining libs to remove. + (postclean): Add soversions.mk. + * Makerules (common-mostlyclean): Add tests-static and generated + files. + +1998-03-30 12:53 Ulrich Drepper + + * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct + scanning for \0. + (__strncat_g): Add i686 specific code. + +1998-03-30 Andreas Jaeger + + * manual/install.texi (Reporting Bugs): Ask to include section + names in reports. + +1998-03-28 Andreas Schwab + + * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit + guard against direct inclusion. + +1998-03-28 Andreas Schwab + + Rework support for libc_nonshared.a: + * Makeconfig (object-suffixes-for-libc): New variable. + * Rules: Remove handling of static-only and shared-only routines. + * Makerules: Handle them here instead. Use + object-suffixes-for-libc instead of object-suffixes when dealing + with libc objects. + (object-suffixes-for-rules): Remove variable. + (elide-routines.oS): Elide all routines except static-only + routines. + ($(objpfx)stamp.oS): Special rule for when static-only-routines is + empty. + (installed-libcs): Remove special case for .oS. + (rmobjs): Likewise. + +1998-03-28 Andreas Schwab + + * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon, + do-tst-rpmatch): New targets. + (test): Use them. + (install-locales): Ignore comment lines. + +1998-03-28 Andreas Schwab + + * elf/Makefile ($(objpfx)ld.so): Depend on version script. + ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig. + ($(objpfx)rtldtbl.h): Likewise. + (CPPFLAGS-dl-load.c): Fix reference to object directory. + +1998-03-30 09:36 Ulrich Drepper + + * manual/string.texi (Finding Tokens in a String): Extend strsep + description and correct example. + +1998-03-28 Andreas Schwab + + * manual/socket.texi: Remove misguided explicit line breaks and + fix the formatting problem instead by reformulating the + paragraphs. + * manual/filesys.texi: Likewise. + * manual/conf.texi: Likewise. Don't typeset table with index + fonts, that looks worse than a minimally overfull line. + +1998-03-28 Andreas Schwab + + * nscd/Makefile (nscd-modules): Move definition outside of + conditional. + + * pwd/Makefile: Use have-thread-library to test for thread + library. + +1998-03-30 Andreas Jaeger + + * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip. + + * iconvdata/uhc.c (gconv): Remove unused variable idx. + +1998-03-30 Ulrich Drepper + + * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c. + +1998-03-29 Ulrich Drepper + + * nss/getXXent_r.c: Correctly handle failing setXXent function. + + * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros. + Reported by Andreas Jaeger. + +1998-03-29 20:59 Ulrich Drepper + + * elf/Makefile: Fix typo. + (distribute): Add dl-librecon.h. + * elf/ldd.bash.in: Collect output of ldd --verify in verify_out. + * elf/ldd.sh.in: Likewise. + * elf/ldsodefs.h: Declare _dl_correct_cache_id. + * elf/rtld.c (dl_main): In --verify mode allow platform specifc action. + Use strsep correctly. + (process_envvars): Allow platform specific variables. + * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable. + (_dl_load_cache_lookup): Test cache IDs found against + _dl_correct_cache_id. + * sysdeps/generic/dl-librecon.h: New file. + * sysdeps/unix/sysv/linux/dl-librecon.h: New file. + + * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h. + +1998-03-29 16:50 Ulrich Drepper + + * config.make.in (ldd-rewrite-script): New variable. + * configure.in: Substitute ldd-rewrite-script. + * elf/Makefile: Rewrite rules to generate ldd script. + * elf/ldd.bash.in: Allow handling of non-ELF binaries. + * elf/ldd.sh.in: Likewise. + * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4. + * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to + point to sed script for libc4 handling insertion for ix86, m68, SPARC. + * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4. + * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file. + +1998-03-26 15:20 Zack Weinberg + + * inet/rcmd.c (iruserok): Remain setuid to the local user + while .rhosts is actually read, to make .rhosts-over-NFS work + (PR libc/524). Use iruserfopen() for security checks on both + hosts.equiv and .rhosts. General cleanup. + (iruserfopen): New function, performs careful checking on + hosts.equiv/.rhosts files. Disallows all the old forbidden + stuff plus hard links to files. + +1998-03-29 09:26 Ulrich Drepper + + * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead. + + * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop. + +1998-03-29 02:02 H.J. Lu + + * sysdeps/i386/i486/bits/string.h: Fix typos. + +1998-03-28 00:13 H.J. Lu + + * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New + strong alias. + + * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added. + + * libc.map (__ieee_get_fp_control, __ieee_set_fp_control): + Added. Used by libm.so on alpha. + +1998-03-28 Thorsten Kukuk + + * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet + defined. + +1998-03-27 07:29 H.J. Lu + + * Makerules (object-suffixes-for-rules): Add .oS only for + building shared library. + Add ranlib rule for nonshared library. + (rmobjs): Fix typo. + + * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved + into for shared library only. + (CPPFLAGS-.oS): Add -DPIC. + (libtypes): Use $(object-suffixes-for-rules) instead of + $(object-suffixes). + +1998-03-28 Ulrich Drepper + + * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile + and install lddlibc4. + +1998-03-28 09:13 Zack Weinberg + + * iconvdata/gap.pl: Gobble rest of line with a scalar, not a + hash. + * iconvdata/gaptab.pl: Likewise. + +1998-03-27 22:46 Ulrich Drepper + + * Rules: Allow Makefiles to specify test-static for tests which + cannot be linked dynamically. + * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to + tests-static. + + * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next. + + * misc/error.c: Pretty print. + +1998-03-27 Andreas Schwab + + * Makerules (libc_nonshared-name): Remove variable. + (installed-libcs): Use libc-name instead. + ($(inst_libdir)/libc.so): Likewise. Remove explicit reference to + dynamic linker. + + * Makeconfig (link-libc): Link against libc_nonshared.a instead of + libc.a. Remove explicit reference to dynamic linker. + +1998-03-27 Ulrich Drepper + + * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char + to wchar_t. + * iconv/iconv_prog.c: Correctly test for write failure. + * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions. + * iconvdata/gconv-modules: Likewise. + * iconvdata/euckr.c: New file. + * iconvdata/johab.c: New file. + * iconvdata/ksc5601.c: New file. + * iconvdata/ksc5601.h: New file. + * iconvdata/uhc.c: New file. + Contributed by Jungshik Shin . + + * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen. + * stdio/fopen.c: Correct handling of 'x' flag. + Reported by Jason M. Petry . + +1998-03-27 Andreas Jaeger + + * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident. + * sunrpc/rpcsvc/key_prot.x: Likewise. + * sunrpc/key_prot.c: Likewise. + +1998-03-27 13:49 Ulrich Drepper + + * sysdeps/i386/bits/string.h: Correct things which never worked. + * sysdeps/i386/i486/bits/string.h: Add clobber marks. + Patches by Bernd Schmidt . + +1998-03-27 Ulrich Drepper + + * intl/textdomain.c [_LIBC]: Define strdup only if not yet + defined. Reported by Thorsten Kukuk. + +1998-03-26 18:50 Ulrich Drepper + + * sysdeps/unix/sysv/linux/lddlibc4.c: New file. + +1998-03-26 Andreas Jaeger + + * manual/install.texi (Supported Configurations): Add + arm-linuxaout and arm-none. + +1998-03-26 Ulrich Drepper + + * version.h (VERSION): Bump to 2.0.93. + +1998-03-25 07:30 H.J. Lu + + * configure.in (libc_cv_ar_S): New to indicate if ar S works. + + * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S. + + * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S). + (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR). + +1998-03-26 Ulrich Drepper + + * Makeconfig (link-libc): Add missing use of libc_nonshared.a. + +1998-03-26 Andreas Schwab + + Put the static-only routines in a separate library. + * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New + variables. + (all-object-suffixes): Add .oS. + * Makerules (libc_static-name): New variable. + (installed-libcs): Add libc_nonshared.a. + ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a. + (object-suffixes-for-rules): New variable. Use it instead of + object-suffixes for generating compilation rules. + (rmobjs): Also remove *.oS. + * Rules (subdir_lib): Depend on $(objpfx)stamp.oS. + ($(objpfx)stamp.oS): New target. + +1998-03-26 Ulrich Drepper + + * Makefile (FAQ): Automatically check in regenerated FAQ. + +1998-03-26 10:16 Zack Weinberg + + * Makefile (INSTALL): Depend on install.texi, not maint.texi. + +1998-03-25 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h. + * sysdeps/unix/sysv/linux/alpha/Dist: Likewise. + + * sysdeps/generic/stub_warning: Removed. + + * Makefile (distribute): Add include/des.h. + + * manual/Makefile (distribute): Change dir-add.texi to + dir-add.texinfo. + + * glibcbug.in: Create files safely when mktemp is not available. + + * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again. + Patch by a sun . + +1998-03-25 Thorsten Kukuk + + * libc.map: Rename getname to getnetname. + +1998-03-25 13:35 Ulrich Drepper + + * manual/maint.texi: Use supported platform in examples. + + * manual/install.texi: Document some installation tips. + +1998-03-25 10:56 Ulrich Drepper + + * posix/wordexp.c: Fix some memory leaks and makes $* more efficient. + Fix a bug so that it returns an error if a numeric parameter is + unset and WRDE_UNDEF is set. + Patch by Andreas Schwab and Tim Waugh. + * posix/wordexp-test.c: Add new new test. + +1998-03-25 Ulrich Drepper + + * posix/regex.c (regex_compile): Last patch wasn't entirely + correct. Patch by Alain Magloire . + +1998-03-24 Andreas Schwab + + * manual/filesys.texi (Scanning Directory Content): Fix typo. + +1998-03-25 09:24 Bernd Schmidt + + * sysdeps/i386/bits/string.h: Fix all assembler statements so that + clobbered registers don't appear as operands. + +1998-03-24 Ulrich Drepper + + * posix/regex.c: Undefine ISASCII and ISPRINT before defining for + Solaris' sake. + + * posix/regex.c (regex_compile): Don't allow non-alphabet + characters in character set name. + +1998-03-25 00:00 Tim Waugh + + * posix/wordexp.c (w_newword): New function. + (do_parse_glob): New function. + (parse_glob): Use do_parse_glob. Now handles the case where a + variable expansion causes a field-split. + (wordexp): Use w_newword. + (parse_arith): Likewise. + (exec_comm): Likewise. + (parse_comm): Likewise. + (parse_param): Likewise. + (parse_backtick): Likewise. + +1998-03-24 19:36 Tim Waugh + + * posix/wordexp-tst.sh: Another test. + + * posix/wordexp-test.c: Two new tests. + + * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc + directly (the code using realloc was buggy). + (parse_param): Fix typo in comment. + +1998-03-24 Ulrich Drepper + + * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop. + +1998-03-24 Thorsten Kukuk + + * libc.map: Add more rpc auth functions/variables. + + * nscd/nscd.c: Add -g option to argp options. + +1998-03-24 Ulrich Drepper + + * configure.in: Be prepared for gcc 2.9.10 and up. + * configure.in: Add missing disabling of quote characters in + compiler version check. Reported by HJ Lu. + +1998-03-24 Andreas Jaeger + + * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h. + +1998-03-24 Ulrich Drepper + + * intl/locale.alias: Fix spelling of romanian. + + * sunrpc/Makefile (headers): Add rpc/rpc_des.h. + (distribute): Remove des.h. + * include/des.h: New file. + * sunrpc/des.h: Moved to ... + * sunrpc/rpc/rpc_des.h: ...here. + +1998-03-22 NIIBE Yutaka + + * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK): + Fix paren. + +1998-03-24 Ulrich Drepper + + * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL + parameter const. Reported by UCHIYAMA Yasushi . + +1998-03-24 Ulrich Drepper + + * elf/ldsodesf.h: New file. + * elf/Makefile (distribute): Add ldsodefs.h. + * elf/link.h: Separate internal information in exter header. + * elf/rtld.c: Include elf/ldsodefs.h not link.h. + * elf/dl-minimal.c: Likewise. + * sysdeps/generic/dl-sysdep.c: Likewise. + * elf/sprof.c: Likewise. + * elf/dlsym.c: Likewise. + * elf/dlvsym.c: Likewise. + * elf/dlerror.c: Likewise. + * elf/dladdr.c: Likewise. + * elf/dlclose.c: Likewise. + * elf/dlopen.c: Likewise. + * elf/dl-addr.c: Likewise. + * elf/dl-close.c: Likewise. + * elf/dl-debug.c: Likewise. + * elf/dl-deps.c: Likewise. + * elf/dl-error.c: Likewise. + * elf/dl-fini.c: Likewise. + * elf/dl-init.c: Likewise. + * elf/dl-load.c: Likewise. + * elf/dl-lookup.c: Likewise. + * elf/dl-object.c: Likewise. + * elf/dl-open.c: Likewise. + * elf/dl-profile.c: Likewise. * elf/dl-reloc.c: Likewise. * elf/dl-runtime.c: Likewise. * elf/dl-support.c: Likewise. * elf/dl-symbol.c: Likewise. * elf/dl-version.c: Likewise. - * elf/dlsym.c: Likewise. - * elf/dlvsym.c: Likewise. - * elf/ldsodefs.h: Likewise. - * elf/rtld.c: Likewise. + * sysdeps/generic/dl-cache.c: Likewise. + * sysdeps/generic/libc-start.c: Likewise. * iconv/gconv_dl.c: Likewise. * nss/nsswitch.c: Likewise. - * sysdeps/i386/dl-machine.h: Likewise. - * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise. - * elf/dlfcn.h: Declare dladdr only for __USE_GNU. - Define RTLD_DEFAULT. +1998-03-23 13:45 Ulrich Drepper -1998-09-05 Mark Kettenis + * manual/nss.texi: The database is not called network but networks. + Reported by Herbert Xu . - * sysdeps/mach/hurd/i386/init-first.c (init1): Call - __getopt_clean_environment with __environ instead of envp. +1998-03-23 Andreas Jaeger -1998-09-05 Roland McGrath + * configure.in: Correct test for compiler version. + Check that LD_LIBRARY_PATH doesn't contain current path. - * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0. +1998-03-23 07:52 H.J. Lu - * string/argz-extract.c (__argz_extract): Add de-consting cast for - setting results. + * elf/dl-close.c (_dl_close): Fix byte count while removing + the shared object from the global scope list and optimize + a little bit. - * string/argz.h (argz_next): Add de-consting cast for return. - * string/argz-next.c (__argz_next): Likewise. +1998-03-22 Andreas Jaeger - * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers): - Don't add netinet/udp.h, netinet/ip_icmp.h here. - * sysdeps/gnu/Makefile: Do it here instead. - * sysdeps/unix/sysv/linux/Dist: Move those files from here ... - * sysdeps/gnu/Dist: ... to here. + * manual/filesys.texi (Scanning Directory Content): Add missing + closing brace. + (Scanning Directory Content): Fix text. - * sysdeps/unix/sysv/linux/netinet/ip_icmp.h, - sysdeps/unix/sysv/linux/netinet/tcp.h, - sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet. +1998-03-22 Andreas Jaeger -1998-09-04 Roland McGrath + * manual/memory.texi (Heap Consistency Checking): Add paragraph + explaining difference of -lmcheck and MALLOC_CHECK_. - * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param. - * string/argz-next.c, string/argz-extract.c: Fix defns. +1998-03-23 Andreas Jaeger -1998-09-03 Roland McGrath + * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some + typos in comments. - * mach/Makefile: Use -include for mach-syscalls.mk to silence warning. +1998-03-20 Andreas Schwab - * sysdeps/mach/hurd/sysd-stdio.c: Declare fns - __stdio_{read,write,seek,close,fileno} using __io_*_fn types. - * sysdeps/generic/sysd-stdio.c: Likewise. + * test-skeleton.c (main): Fix test for exit signal. -1998-09-02 Ulrich Drepper +1998-03-22 Andreas Schwab - * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly. - (_dl_map_object_from_fd): Make NAME argument const. - Remove last parameter in _dl_new_object call. - (print_search_path): Correct construction of composed path name. - (_dl_map_object): Prevent looking at RPATH of the main map twice. - Remove last parameter in _dl_new_object call. - * elf/dl-object.c: Remove last parameter. Determine whether create - origin entry based on empty realname. Handle file in root directory - correctly. - * elf/ldsodefs.h: Adjust prototype for _dl_new_object. - * elf/rtld.c (dl_main): Add comment describing reason for memory leak. - Remove last parameter in _dl_new_object call. - * sysdeps/generic/dl-origin.h: Handle file in root directory correctly. - * sysdeps/unix/sysv/linux/dl-origin.h: Likewise. + * sysdeps/generic/strtok_r.c: Undefine __strtok_r. -1998-09-01 Ulrich Drepper +1998-03-22 Andreas Schwab - * elf/dl-close.c (_dl_close): Add more comments and correct some. - Free l_searchlist and l_dupsearchlist. + * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as + appropriate. - * debug/catchsegv.sh: Add one more pair of quotes. +1998-03-23 11:14 Andreas Schwab -1998-09-01 17:53 Ulrich Drepper + * libc.map: Export __strtok_r. - * elf/dl-load.c (add_name_to_object): Change return type to void and - make NAME parameter const. Allocate room for NAME in same memory - block used for l_libname entry. - (_dl_map_object_from_fd): Don't free NAME on failure. - (map_segment): Pass SONAME to add_name_to_object, not a copy. - (_dl_map_object): Don't create copy of NAME. Pass NAME to - _dl_map_object_from_fd. - * elf/dl-object.c (dl_new_object): Allocate room for NAME in same - memory block used for l_libname entry. - * elf/dl-close.c: Adjust free()ing for this change. +1998-03-23 Ulrich Drepper -1998-09-01 15:36 Ulrich Drepper + * posix/regex.c (re_compile_fastmap): Remove unused variable + num_regs and adjust comment. + Patch by Jim Meyering . - * malloc/Makefile: Include Makeconfig before testing config-sysdirs. + * math/math.h (M_*l): Extend long double constants to be usable + for 128 bit floats. Patch by Richard Henderson. - * malloc/mtrace.c: Add bug report address. Update email address. - Add more @XXX@ to print correct address size. +1998-03-23 11:16 Andreas Schwab - * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is - really initialized. + * sysdeps/m68k/m68020/wordcopy.S: New file. - * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info - for munmap call instead of examining phdr again. - Free all malloc()ed strings and arrays. +1998-03-22 Ulrich Drepper -1998-08-09 Geoff Keating + * posix/wordexp.c: Rewrite parse_param. + Patch by Tim Waugh and Andreas Schwab. - * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of - dl-machine.h. - * sysdeps/powerpc/dl-machine.c: New file. - * sysdeps/powerpc/dl-machine.h: Move much stuff into separate - files. Revise ELF_PREFERRED_ADDRESS to take account of - the new mapping information (fixes bug involving huge bloated - web browser). Set ELF_MACHINE_PLTREL_OVERLAP. - * sysdeps/powerpc/dl-start.S: New file. +1998-03-21 23:46 Zack Weinberg - * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start, - l_map_end. - * elf/do-rel.h: Call elf_machine_rel only once (to save space). - * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the - others. Call elf_dynamic_do_##reloc only once (to save even more - space). - * elf/link.h: Add new members l_map_start and l_map_end to keep - track of the memory map. - * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and - the executable. + * Rules: Update timestamps on empty object files. -1998-09-01 11:53 Ulrich Drepper +1998-03-21 09:15 Ulrich Drepper - * debug/Makefile (catchsegv): We need not rewrite SOVER anymore. + * manual/filesys.texi (Scanning Directory Content): Add description + of 64 bits scandir function and friends. + +1998-03-20 Ulrich Drepper + + * glibcbug.in: Use mktemp to generate unique file name for + temporary files. + + * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not + ptsname_r. Use cast for execve call. + +1998-03-20 16:24 Ulrich Drepper + + * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64. + * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h. + * io/sys/statvfs.h: New file. + * sysdeps/generic/fstatvfs.h: New file. + * sysdeps/generic/statvfs.h: New file. + * sysdeps/generic/fstatvfs64.h: New file. + * sysdeps/generic/statvfs64.h: New file. + * sysdeps/generic/bits/statvfs.h: New file. + * sysdeps/unix/sysv/linux/fstatvfs.c: New file. + * sysdeps/unix/sysv/linux/statvfs.c: New file. + * sysdeps/unix/sysv/linux/bits/statvfs.h: New file. + + * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files + and f_ffree elements. + + * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print. Define + mount options in enum. + +1998-03-20 Andreas Jaeger + + * configure.in: Check for recent egcs/gcc. + +1998-03-20 Ulrich Drepper + + * libc.map: Add alphasort64, scandir64, versionsort64. + * dirent/Makefile (routines): Add scandir64, alphasort64, and + versionsort64. + * dirent/alphasort64.c: New file. + * dirent/scandir64.c: New file. + * dirent/versionsort64.c: New file. + * dirent/dirent.h: Add LFS support for scandir, alphasort, and + versionsort. + * sysdeps/generic/readdir64.c: Rename to __readdir64 and make + old name weak alias. + * sysdeps/unix/sysv/linux/readdir64.c: Likewise. + + * dirent/alphasort.c: Use strcoll instead of strcmp. + + * dirent/scandir.c: Optimize a bit. + + * dirent/versionsort.c: Pretty print. + +1998-03-20 Ulrich Drepper + + * string/string.h: Add prototype for __strtok_r. + +1998-03-20 12:14 Andreas Schwab + + * posix/Makefile: Fix typo in last change. + +1998-03-20 Ulrich Drepper + + * dirent/dirent.h (scandir): Make argument of select function const. + * dirent/scandir.c (scandir): Likewise. + Reported by David.Faure@insa-lyon.fr [PR libc/512]. + +1998-03-19 14:28 Ulrich Drepper + + * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r + weak alias. + * sysdeps/i386/strtok_r.c: Likewise. + + * sysdeps/libm-i387/i686/s_fdim.S: Make it really work. + * sysdeps/libm-i387/i686/s_fdimf.S: Likewise. + * sysdeps/libm-i387/i686/s_fdiml.S: Likewise. + * sysdeps/libm-i387/i686/s_fmin.S: Likewise. + * sysdeps/libm-i387/i686/s_fminf.S: Likewise. + * sysdeps/libm-i387/i686/s_fminl.S: Likewise. + +1998-03-19 Andreas Jaeger + + * intl/localealias.c: Remove unneeded define for strdup. + +1998-03-19 13:45 Ulrich Drepper + + * manual/argp.texi: Adjust for better TeX output. + * manual/arith.texi: Likewise. + * manual/conf.texi: Likewise. + * manual/filesys.texi: Likewise. + * manual/header.texi: Likewise. + * manual/lgpl.texinfo: Likewise. + * manual/math.texi: Likewise. + * manual/message.texi: Likewise. + * manual/pattern.texi: Likewise. + * manual/process.texi: Likewise. + * manual/signal.texi: Likewise. + * manual/socket.texi: Likewise. + * manual/startup.texi: Likewise. + * manual/stdio.texi: Likewise. + * manual/terminal.texi: Likewise. + * manual/examples/rprintf.c: Likewise. + * manual/examples/testopt.c: Likewise. + Patches by Zack Weinberg . + +1998-03-19 20:45 Tim Waugh + + * posix/wordexp.c (parse_param): Don't immediately stop parsing a + parameter name after seeing a digit if it's enclosed in braces. + +1998-03-18 Ulrich Drepper + + * sysdeps/i386/i686/Implies: Add libm-i387/i686. + +1998-03-18 Andreas Jaeger + + * manual/memory.texi (Heap Consistency Checking): Document + MALLOC_CHECK_. Based on a text by Wolfram Gloger. + +1998-03-18 17:11 Zack Weinberg + + * manual/Makefile: Add missing rules. + +1998-03-18 Ulrich Drepper + + * timezone/Makefile (generated): Define to remove all stamp files. + + * sysdeps/generic/strsep.c: Also undefine __strsep. + + * string/strdup.c: Undefine __strdup and strdup first. + * string/strndup.c: Likewise. + + * string/bits/string2.h: Correct strtok_r and strsep. + Add strndup optimization. + + * sysdeps/generic/strsep.c: Little optimization. + +1998-03-18 14:25 Ulrich Drepper + + * string/bits/string2.h: Add optimization for strdup. + Always define __strsep and __strtok_r and make real names available + when feature select macros are defined. + +1998-03-18 Andreas Jaeger + + * manual/install.texi (Installation): Use i486-linux as example + instead of the unsupported sunos4. + (Reporting Bugs): Mention glibcbug script. + (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required. + +1998-03-16 Andreas Schwab + + * posix/wordexp-tst.sh: Make portable. Add more tests. + + * posix/Makefile (do-globtest do-wordexp-test): New targets. + +1998-03-18 13:38 Ulrich Drepper + + * sysdeps/unix/sysv/linux/libc-start.c: Moved to ... + * sysdeps/generic/libc-start.c: ...here, replacing former content. + + * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and + netpacket/packet.h. + + * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print. + +1998-03-17 Andreas Schwab + + * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma + in enumerator for strict standard compliance. + * sysdeps/generic/bits/resource.h: Likewise. + +1998-03-18 10:04 Philip Blundell + + * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted. + (PLTJMP): New macro. + + * sysdeps/arm/fpu/__longjmp.S: New file, implementation of + longjmp() when floating point enabled. + * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp(). + * sysdeps/arm/__longjmp.S: Remove floating point code. + * sysdeps/arm/setjmp.S: Likewise. + + * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name. + * sysdeps/arm/bsd-_setjmp.S: Likewise. + + * sysdeps/arm/memset.S: New file; optimised ARM implementation of + memset(). + + * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with + prototype. + +1998-03-17 16:16 Philip Blundell + + Based on patches from Pat Beirne and Scott Bambrough: + + * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary. + + * sysdeps/arm/bits/fenv.h: New file. + + * sysdeps/arm/dl-machine.h: New file. Add ELF support. + * sysdeps/arm/elf/setjmp.S: Likewise. + * sysdeps/arm/elf/start.S: Likewise. + * sysdeps/arm/init-first.c: Likewise. + * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT + * sysdeps/arm/sysdep.h: Change format of .type directive. Correct + comment about floating point to reflect current reality. + + * sysdeps/unix/arm/brk.S: Support PIC. + * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and + re-entrant code. + * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error + return; call syscall_error through PLT. + * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump. + +1998-03-04 12:01 Philip Blundell + + * sysdeps/unix/sysv/linux/netpacket/packet.h: New file. + * sysdeps/unix/sysv/linux/netash/ash.h: Likewise. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them. + +1998-03-18 Ulrich Drepper + + * dirent/list.c (test): Return error value. + (main): Exit with error value. + + * sysdeps/unix/opendir.c (__opendir): Add missing initialization. + + * Makefile (distribute): Add test-skeleton.c. + * test-skeleton.c: New file. + * dirent/Makefile (tests): Add opendir-tst1. + * dirent/opendir-tst1.c: New file. + +1998-03-18 Ulrich Drepper + + * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc. + Optimize memory handling. + * sysdeps/unix/closedir.c: Optmize memory handling. + +1998-03-17 Ulrich Drepper + + * posix/wordexp.c (parse_param): Fix off-by-on error in $@ + handling. Optimize a bit. + +1998-03-18 00:25 Tim Waugh + + * posix/wordexp.c (parse_comm): Allow quoting inside $(...). + (parse_param): Fold in Andreas' fixes to do with when the end of + the parameter name has been reached, and quoting inside ${...}. + (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and + $((echo);(ls)). + +1998-03-16 22:10 Zack Weinberg + + * manual/maint.texi: Split out installation and contribution + sections to their own appendices. Misc cleanups. + * manual/install.texi: New file. Mention add-ons. Refer to FAQ. + * manual/contrib.texi: New file. + * manual/libc.texinfo: Pull in new appendices. + * manual/header.texi: Correct node pointer. + +1998-03-17 Andreas Jaeger + + * manual/process.texi (Process Completion): Clarify return value + of waitpid a bit. Patch by Zack Weinberg. [PR libc/490] + +1998-03-15 Andreas Schwab + + * posix/wordexp-test.c: Add more tests. + (testit): Fix logic. + + * posix/wordexp.c (exec_comm): In the child, redirect stderr to + /dev/null instead of closing it, close pipe. Always chop off all + trailing newlines. Kill and reap child before returning error. + (w_addword, parse_glob): Fix memory leak. + (wordexp): Fix dangling pointer problem. + +1998-03-16 Ulrich Drepper + + * elf/dl-close.c (_dl_close): Correct and simplify unmapping. + + * posix/wordexp-test.c (main): Fix little thinkos and typos. + + * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine + directory index by only the language. + +1998-03-16 13:02 Tim Waugh + + * posix/wordexp-tst.sh: Store test results in the + ${common_objpfx}posix directory. + + * posix/wordexp-test.c: Remove temporary directory afterwards. + +1998-03-15 Andreas Schwab + + * libc.map: Export internal versions of cancelable functions. + +1998-03-15 Andreas Schwab + + * Makerules (MAKEFLAGS): Append `r'. + +1998-03-15 Andreas Schwab + + * Makeconfig: Define have-thread-library, shared-thread-library + and static-thread-library if a thread library is available. Don't + define rt. + * nscd/Makefile: Compile nscd if have-thread-library. Rename + nscd-routines to nscd-modules. Use shared-thread-library and + static-thread-library in dependencies. + * rt/Makefile: Only compile librt if have-thread-library is + defined. + * Makefile (subdirs): Always include rt subdir. + +1998-03-15 Andreas Schwab + + * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command. + +1998-03-14 21:55 Ulrich Drepper + + * configure.in: Recognize variations for 32 MIPS processors. + Don't assume ELF systems always have .weak, test for .weakext. + +1998-03-14 Ulrich Drepper + + * configure.in: Irix6 is an ELF platform. + +1998-03-14 11:47 H.J. Lu + + * elf/dl-close.c (_dl_close): Stop unmapping the segments after + unmapping the last loaded segment. + +1998-03-14 15:54 Ulrich Drepper + + * configure.in: Set base_os for Irix6. + Correct test for .weakext. + +1998-03-14 Andreas Jaeger + + * elf/dl-deps.c (_dl_map_object_deps): Add first parameter + (new_line) to _dl_debug_message call. + +1998-03-14 00:52 Tim Waugh + + * posix/wordexp.c (parse_param): Perform field-splitting after + expanding positional parameter. + + * posix/wordexp-tst.sh: Test that field-splitting is performed + after expanding positional parameter. + + * posix/wordexp.c (parse_param): Fixed memory leak in + field-splitting after parameter expansion. + +1998-03-14 Ulrich Drepper + + * locale/programs/linereader.c (lr_token): Return EOF token at EOF. + (get_toplvl_escape): Correctly terminate loop at EOF. + Patch by Cristian Gafton . + +1998-03-13 16:55 Ulrich Drepper + + * string/tester.c (test_strpbrk): Add more strpbrk tests. + (test_strsep): Likewise. Correct horrible bugs. + + * string/bits/string2.h (strcspn): Optimize also reject string of + length 2 and 3. + (strspn): Likewise. + (strpbrk): Likewise. + (strsep): Likewise. Correct bug with successive separators and + separators at the end of the string. + * sysdeps/generic/strsep.c: Correct bug with successive separators + and separators at the end of the string. + +1998-03-13 13:11 Tim Waugh + + * posix/wordexp.c (parse_param): Positional parameters ($1, $2 + etc) now handled, as well as $$ (pid). + + * posix/Makefile (tests): Execute wordexp-test.sh for `make check'. + (distribute): Add wordexp-tst.sh. + + * posix/wordexp-tst.sh: New file. + + * posix/wordexp.c (parse_param): $# (or ${#}) expands to the + number of positional parameters. Renamed substitute_length to + seen_hash. + Don't free(env) is env is NULL. + +1998-03-13 16:50 Ulrich Drepper + + * libc.map: Add pthread_attr_init to GLIBC_2.1. + +1998-03-13 15:01 Ulrich Drepper + + * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename + for output file replacing gmon.out. + Patch by Dean Gaudet . + +1998-03-12 Andreas Schwab + + * elf/dl-misc.c (_dl_debug_message): Fix printing of pid. Clean + up namespace. Optimize finding end of line. + +1998-03-12 Andreas Schwab + + * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running + securely. Optimized. + (process_dl_debug): Add ':' to list of separators. Optimized. + +1998-03-13 10:25 Andreas Schwab + + * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal, + isless, islessequal, islessgreater, isunordered): Return zero or + one. + +1998-03-12 13:11 Tim Waugh + + * posix/wordexp-test.c: More tests. + (main): Set up arena for pathname expansion tests (in a temporary + directory). + (testit): Don't check word count or word vector if return value is + non-zero. + + * posix/wordexp.c (exec_comm): Always chop off terminating + linefeed (just like bash does). + (parse_param): Change lots of occurrences of "if (!*env)" to "if + (!env || !*env)". + (parse_param): For assignment inside parameter expansion, use all + expanded words in assignment rather than just the first. + (parse_param): Corrected return value for parameter expansion of + an unset variable when WRDE_UNDEF is in effect. + (parse_dollars): Don't field-split if quoted. + (wordexp): Opening brace character isn't allowed unquoted. + +1998-03-12 Ulrich Drepper + + * elf/dlerror.c: Fix concurrency problems with error string and + number. + + * elf/dl-deps.c (_dl_map_object_deps): Print debug info when + filter/auxiliary are being loaded. + +1998-03-12 14:24 Ulrich Drepper + + * elf/dlerror.c (last_object_name): Removed. + (dlerror): Don't use last_object_name. + (_dl_error_run): Omit second argument to _dl_catch_error. + * elf/dl-error.c (struct catch): Remove objname member. + (_dl_signal_error): Construct string including objname when given. + (_dl_catch_error): Remove objname handling. + * elf/link.h (_dl_catch_error): Fix prototype and comment. + * elf/rtld.c (dl_main): Call _dl_catch_error correctly. + * elf/dl-deps.c (_dl_map_objet_deps): Likewise. + * nss/nsswitch.c (nss_dlerror_run): Likewise. + * iconv/gconv_dl.c (dlerror_run): Likewise. + [Corrects PR libc/501]. + +1998-03-12 Matthias Urlichs + + * nscd/nscd.c: Ignore SIGPIPE. + +1998-03-12 Ulrich Drepper + + * nscd/nscd_getgr_r.c: Use __ protected names. + * nscd/nscd_getpw_r.c: Likewise. + +1998-03-12 Matthias Urlichs + + * nscd/nscd_getpw_r.c: Use pw_*_len values correctly. + * nscd/nscd_getpw_r.c: Fix length calculation in result check, + null bytes are not transmitted. + +1998-03-12 00:40 Franz Sirl + + * powerpc/syscalls.list: Correct typo. + * alpha/syscalls.list: Likewise. + * mips/syscalls.list: Likewise. + +1998-03-12 Ulrich Drepper + + * socket/sys/socket.h: Add prototype for __socket. + +1998-03-10 Ulrich Drepper + + * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep. + + * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_* + constants. + + * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove + definition here. + * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add + definition here. + + * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing + AF_* and PF_* constants. + + * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH. + +1998-03-11 15:27 Ulrich Drepper + + * elf/rtld.c: Update help message. + Install link maps for preloaded objects using main_map as loader. + + * elf/dl-misc.c: Use __libc_write instead of __write for debugging. + * elf/dl-profile.c: Likewise. + + * elf/dlsym.c: Little optimization. + * elf/dlvsym.c: Likewise. + +1998-03-11 14:56 Ulrich Drepper + + * posix/wordexp-test.c: Move test for parameter list at the very + beginning. + +1998-03-11 00:16 Tim Waugh + + * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless + WRDE_REUSE flag is set. + (parse_param): Allow `*', `@', and numbers in parameter names. + (parse_dollars): Differentiate between arithmetic expansion and a + command substitution that starts immediately with a sub-shell + (like ``$((1+3))'' as opposed to ``$((echo);(ls))''). + (parse_param): Memory allocated with __alloca in a block was + referenced outside that block. Adjusted to use malloc/free. + (parse_param): Adjusted field-splitting algorithm so that there is + not necessarily a field split at the end of a parameter expansion. + +1998-03-10 19:52 Tim Waugh + + * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE, + don't free words that have already been allocated. + (parse_param): A dollar sign on its own will never have a pattern + associated with it (like "${HOME%%/}" has), so don't try to free it. + (parse_glob): Attempt to glob when an unquoted `[' is found + (rather than an unquoted '{' (!)). Also for unquoted '?'. + (parse_glob): Sorted out quoting in a glob-able word. + (parse_param): Added $* and $@ handling. + +1998-03-11 Ulrich Drepper + + * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before + parsing it. + +1998-03-11 Andreas Jaeger + + * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use + _dl_debug_message. + +1998-03-12 Matthias Urlichs + + * elf/dl-misc.c: Default for debug output should be stderr. + * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output. + * elf/dl-lookup.c: reference_name may be NULL or empty. + +1998-03-11 10:30 Andreas Schwab + + * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection. + +1998-03-11 Ulrich Drepper + + * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h. + + * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h. + +1998-03-10 Andreas Schwab + + * sysdeps/unix/sysv/linux/scsi/scsi.h: New file. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it. + +1998-03-11 10:30 Andreas Schwab + + * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the + init stuff. + +1998-03-10 Ulrich Drepper + + * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE + flag. + + * misc/syslog.c (vsyslog): Don't try to send if not connected to + syslog daemon. + (closelog_internal): Don't do anything if not connected. + +1998-03-10 17:54 Ulrich Drepper + + * libc.map: Add _dl_debug_message. + * elf/dl-misc.c: Make _dl_debug_message a function. Print the PID + before every line. + * elf/fini.c: Correctly use new _dl_debug_message function. + * elf/init.c: Likewise. + * elf/dl-lookup.c: Likewise. + * sysdeps/unix/sysv/linux/libc-start.c: Likewise. + * elf/dl-load.c: Likewise. Add more debugging prints. + * elf/dl-reloc.c: Likewise. + * elf/dl-version.c: Likewise. + * elf/dl-support.c: Add variables for debugging. + * elf/rtld.c: Likewise. Recognize new debug options. + * elf/link.h: Declare new variables. + + * elf/dl-deps.c (_dl_map_object_deps): Little optimizations. + +1998-03-10 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from + kernel headers. Patch by a sun . + +1998-03-11 00:16 Tim Waugh + + * posix/wordexp-test.c (command_line_test): New function to allow + testing of specific cases from the command-line. + +1998-03-10 Ulrich Drepper + + * elf/dl-init.c (_dl_init_next): Print nicer messages. + * elf/dl-fini.c (_dl_fini): Likewise. + * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise. + + * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version + symbol in debug message. + (_dl_lookup_versioned_symbol_skip): Likewise. + +1998-03-10 19:43 Matthias Urlichs + + * sysdeps/unix/readdir_r.c: Zero out *result on EOF. + * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise. + * manual/filesys/texi: Document this. + +1998-03-10 10:49 Ulrich Drepper + + * manual/filesys.texi: Document the change below. + +1998-03-10 Andreas Jaeger + + * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600. + Reported by Greg Alexander . + +1998-03-10 00:10 Ulrich Drepper + + * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add + instead scope. If debugging display information about symbol + resolving. + (_dl_lookup_symbol): Call do_lookup with correct parameters. + (_dl_lookup_symbol_skip): Likewise. + (_dl_lookup_versioned_symbol): Likewise. + (_dl_lookup_versioned_symbol_skip): Likewise. + * elf/dl-support.c: Define _dl_debug_symbols. + * elf/link.h: Add declaration for _dl_debug_symbols. + * elf/rtld.c: Define _dl_debug_symbols. + (process_dl_debug): Recognize symbols option. + +1998-03-09 23:36 Ulrich Drepper + + * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments + in correct format. + * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first + with correct parameters. + [!PIC]: Initialize __libc_multiple_libcs. + +1998-03-09 18:21 Ulrich Drepper + + * elf/dl-support.c (_dl_debug_bindings): Add definition. + * elf/rtld.c (_dl_debug_bindings): Add definition. + (process_dl_debug): Recognize bindings option. Update help message. + * elf/link.h (struct link_map): Add l_versyms member. + (_dl_debug_bindings): Add declaration. + * elf/version.c (_dl_check_map_versions): Initialize l_versyms. + * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs + and l_reloc_result. + * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms. + (sym_val): Remove a member, add m as link_map. + (do_lookup): Return result appropriately. + (_dl_lookup_symbol): If _dl_debug_bindings is defined print message. + Call do_lookup correctly. + (_dl_lookup_symbol_skip): Likewise. + (_dl_lookup_versioned_symbol): Likewise. + (_dl_lookup_versioned_symbol_skip): Likewise. + +1998-03-09 08:21 Ulrich Drepper + + * sysdeps/unix/sysv/linux/chown.c: Moved to ... + * sysdeps/unix/sysv/linux/i386/chown.c: ...here. + + * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information. + * libc.map: Add chown to GLIBC_2.1. + * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here. + * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here. + +1998-03-06 Andreas Schwab + + * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a + weak alias. + * sysdeps/alpha/ffs.c: Likewise. + * sysdeps/am29k/ffs.c: Likewise. + * sysdeps/i386/ffs.c: Likewise. + * sysdeps/i960/ffs.c: Likewise. + * sysdeps/m68k/ffs.c: Likewise. + * sysdeps/m88k/ffs.c: Likewise. + * sysdeps/powerpc/ffs.c: Likewise. + * sysdeps/rs6000/ffs.c: Likewise. + * sysdeps/vax/ffs.s: Likewise. + * string/string.h: Declare __ffs. + * libc.map: Export it. + * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of + __builtin_ffs, which is not guaranteed to be namespace clean. + +1998-03-06 Andreas Schwab + + * elf/sprof.c: Rewrite symbol handling to use the normal symbol + table, which is much more likely to exist than debugging symbols. + (printsym): Remove const. + (load_shobj): Don't use _dl_pagesize. Fix mapping of section + header table. + + * libc.map: Export __profile_frequency, used by elf/sprof, to + avoid infinite recursion during startup. + +1998-03-09 12:16 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER): + Readd lost negate. + + * sysdeps/m68k/sysdep.h: Remove the stabs stuff again. + +1998-03-09 Ulrich Drepper + + * elf/dl-support.c: Add definition of _dl_debug_impcalls. + +1998-03-08 Ulrich Drepper + + * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH, + LD_PRELOAD, and LD_VERBOSE. + (dl_main): Use global variables set by process_envvars instead of + calling getenv. + * elf/dl-load.c (_dl_init_paths): Don't call getenv to get + LD_LIBRARY_PATH value, this comes with the parameter. + * elf/dl-support.c (non_dynamic_init): Pass return value of getenv + ("LD_LIBRARY_PATH") to _dl_init_paths. + +1998-03-08 22:55 Ulrich Drepper + + * elf/rtld.c (dl_main): Delay initialization of path structure if + the dynamically linker is invoked implicitly until we read the + dynamic section. + +1998-03-08 Ulrich Drepper + + * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff. + +1998-03-07 Andreas Jaeger + + * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of + Linux 2.0 and 2.1. + + * sysdeps/unix/sysv/linux/syscalls.list: Add chown. + +1998-03-08 14:58 Ulrich Drepper + + * Makeconfig (nisobjdir): Set to path to nis directory. + (rpath-link): Add nisobjdir. + Patch by Sven Verdoolaege . + + * elf/Makefile: Pretty print. + * elf/dl-lookup.c: Include unistd.h. + * elf/dl-runtime.c: Likewise. + + * localedata/Makefile (test-srcs): Add tst-rpmatch. + (distribute): Add tst-rpmatch.sh. + (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh. + + New tests for rpmatch function by + Jochen Hein . + * localedata/tst-rpmatch.c: New file. + * localedata/tst-rpmatch.sh: New file. + + * localedata/locales/de_DE: Correct yesexpr and noexpr. + * localedata/locales/de_AT: Likewise. + + * posix/getopt.c: Update contact address. + * posix/getopt1.c: Pretty print. + + * sysdeps/generic/libc-start.c: Do most of the initialization now + here instead of in start.S. + * sysdeps/unix/sysv/linux/libc-start.c: Likewise. + * sysdeps/i386/elf/start.S: Remove most of the initialization code. + + * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for + profil_counter to be public. + +1998-03-08 13:06 Tim Waugh + + * posix/wordexp.c (parse_arith): Now works for negative numbers too. + (parse_param): Coded parameter length expansion (${#var}). + (parse_param): Handling for "=", "+", "-", and the ":" versions added. + (parse_param): Cleaned up (fixed) error handling. + + * posix/wordexp-test.c: IFS now includes non-whitespace character + (comma). Added more tests. + +1998-03-07 Ulrich Drepper + + * elf/link.h: Fix typos. Reported by Andreas Jaeger. - * posix/glob.h: Use __size_t instead of size_t in definitions and - make sure this is defined. + * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment. + * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise. -1998-09-01 10:34 Ulrich Drepper +1998-03-06 Ulrich Drepper - * manual/locale.texi: Almost complete rewrite. Document more functions - and functionality. - * manual/arith.texi: Correct reference. - * manual/string.texi: Pretty printing. + * argp/argp-help.c: Remove last bits of using gettext instead of + dgettext. - * manual/texinfo.tex: Update from last available version. +1998-03-06 17:04 Ulrich Drepper -1998-08-31 22:44 Ulrich Drepper - - * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for - invalid password. - (_nss_nis_getpwuid_r): Likewise. - Patch by Matthew Arnison . - - * inet/rcmd.c: Implement netgroup support. - Patch by Dick Streefland . - -1998-08-31 Ulrich Drepper - - * elf/dl-close.c (_dl_close): Update _dl_loaded if the first - object on the list is removed. Don't use this code for PIC. - Reported by HJ Lu [PR libc/770]. - -1998-08-31 15:56 Ulrich Drepper - - * db2/db_int.h: Use instead of "db.h" to find header in include. - - * include/stdio.h: Add __vsscanf. - - * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if - __USE_ISOC9X. - Remove __vsscanf declaration. - Always declare fgetpos and fsetpos. - - * math/math.h: Define isinf as macro. - * math/bits/mathcalls.h: Change to declare __isinf all the time. - Don't declare scalb for ISO C 9x. - - * math/tgmath.h: Define fma. Rewrite the underlying macros. - - * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X. - - * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from - sys/ucontext.h. - - * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN* - macros. - -1998-08-31 Andreas Jaeger - - * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate. - Reported by jreising@frequentis.com [PR libc/767]. - -1998-08-31 Andreas Jaeger - - * io/lockf.c (lockf): Move initilisation of fl.l_whence and - fl.l_start at beginning of function. - Patch by Geoff. Dash [PR libc/769]. - -1998-08-31 Ulrich Drepper - - * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX). - Reported by Rob.Hagopian@vu.union.edu [PR libc/763]. - - * nscd/nscd.init: Make it work in RedHat systems. - Patch by Christian Gafton. - -1998-08-29 Philip Blundell - - * catgets/Makefile: Don't try to run test programs when - cross-compiling. - -1998-08-31 Ulrich Drepper - - * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX. - Reported by Zack Weinberg. - -1998-08-30 Andreas Schwab - - * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S. - * elf/Makefile (distribute): Remove ldd.sh.in. - -1998-08-31 11:46 Andreas Schwab - - * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused - variable. - -1998-08-29 Ulrich Drepper - - * sysdeps/i386/register-dump.h: Move to ... - * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here. - -1998-08-28 22:49 Ulrich Drepper - - * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel - with load address, not map address. - * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first - parameter and use this value. - * sysdeps/arm/dl-machine.h: Likewise. + * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output, + __libc_start_main. + * csu/Makefile (routines): Add libc-start. + * elf/dl-error.c: Remove declaration of _dl_argv. Include . + * elf/dl-lookup.c: Likewise. + * elf/dl-version.c: Likewise. * sysdeps/i386/dl-machine.h: Likewise. - * sysdeps/m68k/dl-machine.h: Likewise. - * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first - parameter. - * sysdeps/powerpc/dl-machine.h: Likewise - * sysdeps/sparc/sparc32/dl-machine.h: Likewise - * sysdeps/sparc/sparc64/dl-machine.h: Likewise + * elf/link.h: Declare _dl_argv, _dl_debug_fd. + Declare _dl_sysdep_output. Make _dl_sysdep_fatal, _dl_sysdep_error and + _dl_sysdep_message macros which use _dl_sysdep_output. + * elf/dl-fini.c: Write out which destructor is called while debugging. + * elf/dl-init.c: Likewise for constructor. + * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message. + * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and + _dl_sysdep_message. Add _dl_sysdep_output. + * elf/rtld.c: Recognize LD_DEBUG_OUTPUT. Set _dl_debug_fd if + this file can be opened. + For LD_DEBUG=libs also set _dl_debug_impcalls. + * sysdeps/generic/dl-cache.c: Include unistd.h. + * sysdeps/generic/libc-start.c: New file. + * sysdeps/unix/sysv/linux/libc-start.c: New file. + * sysdeps/i386/elf/start.S: Don't call main directly, call + __libc_start_main instead. -1998-08-28 09:22 Ulrich Drepper + * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency. - * elf/rtld.c (process_envvars): Fix copy&paste error. +1998-03-06 Ulrich Drepper - * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and - memalign hook. - (realloc_hook_ini): Don't overwrite memalign hook. - (memalign_hook_ini): Don't overwrite malloc and memalign hooks. - Reported by Philippe Troin . + * nss/nsswitch.c (__nss_nscd_not_available): Removed. - * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer. - Patch by Philippe Troin . +1998-03-06 12:42 Ulrich Drepper -1998-08-26 Andreas Schwab + * argp/argp.h (struct argp): Add new field domain. + * argp/argp-help.c: Change all gettext calls to dgettext and use + domain field from appropriate argp in call. + * argp/argp-parse.c: Likewise. - * sysdeps/generic/segfault.c (install_handler): Protect the - non-POSIX signals with #ifdef. - (catch_segfault): Add missing mode parameter for open. - * debug/catchsegv.sh: Avoid termination message from shell. Allow - other termination signals. +1998-03-06 11:35 Ulrich Drepper -1998-08-27 Andreas Schwab + * posix/wordexp-test.c: Change testsuite so that it can run even + for ~root != /root. - * debug/Makefile (distribute): Add register-dump.h. +1998-03-06 Andreas Jaeger -1998-08-28 10:41 Andreas Schwab + * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1. - * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file. - -1998-08-27 19:42 Ulrich Drepper - - * elf/Makefile (distribute): Add dl-origin.h. - * sysdeps/generic/dl-origin.h: New file. - * sysdeps/unix/sysv/linux/dl-origin.h: New file. - * elf/link.h (struct link_map): Add l_origin field. - * elf/dl-load.c (expand_dynamic_string_token): New function. - (decompose_path): Remove WHERE argument, take link map pointer instead. - Call expand_dynamic_string_token instead of local_strdup to make copy - of rpath. - (_dl_init_paths): Call decompose_path with correct argument. - (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is - not defined. - Check EI_OSABI and EI_ABIVERSION fields in header. - Call _dl_new_object with extra argument. - (_dl_map_object): Call decompose_path with correct argument. - Call expand_dynamic_string_token instead of local_strdup to also - expand DST. - Call _dl_new_object with extra argument. - * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps - but the main one if new argument is nonzero. - * elf/ldsodefs.h: Adjust for _dl_new_object change. - * elf/dl-support.c: Define _dl_origin_path. - * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH. - (dl_main): Call _dl_new_object with extra argument. - - * elf/dl-close (_dl_close): Free l_name and l_origin. - - * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P - modifier in asm, not c. - - * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c - to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern. - -1998-08-26 17:48 Ulrich Drepper - - * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local - variable so that map can be freed. - Reported by Philippe Troin . - - * elf/dl-open.c (dl_open_worker): Correct test for extending global - scope array. - Patch by Philippe Troin . - -1998-08-26 Geoff Keating - - * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way. - Don't call writev() with a 100-element vector. - * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL - return address. - - * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version. - In particular, set __libc_stack_end. - * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be - undefined. Fix copyright notice. - -1998-08-25 Andreas Schwab - - * math/Makefile (gmp-objs): New variable. - ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2): - Depend on it. - (tests): Add atest-exp atest-sincos atest-exp2. - (tests-static): Remove atest-exp atest-sincos atest-exp2. - -1998-08-25 Ulrich Drepper - - * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize - to toplevel. - (_dl_unload_cache): New function. - * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache. - * elf/dl-open.c (_dl_open): Unload map file before freeing the lock. - * elf/rtld.c (dl_main): Unload map file before jumping to user code. - - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT. - Correct comment for O_LARGEFILE. - * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT. - Change O_LARGEFILE to correct value. - -1998-08-25 14:34 Ulrich Drepper - - * libio/iogetline.c (_IO_getline_info): Don't read anything for - N == 0. Patch by HJ Lu. - -1998-08-25 11:43 Ulrich Drepper - - * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF. - -1998-08-25 Bernd Schmidt - - * argp/argp.h: Use __inline__ not inline. - - * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate - an input register as being clobbered. - * sysdeps/i386/memset.c (memset): Likewise. - * sysdeps/i386/bzero.c (__bzero): Likewise. - * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise. - -1998-08-25 Andreas Jaeger - - * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result. - Fixes PR libc/757 (Reported by Michael Creutz - - * debug/catchsegv.sh: Handle text preceding backtrace better. - * sysdeps/generic/segfault.c: Allow register dump. Allow handler - to be installed for other signals than SIGSEGV. - * sysdeps/generic/register-dump.h: New file. - * sysdeps/i386/register-dump.h: New file. - * sysdeps/powerpc/register-dump.h: New file. - - * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from - sigcontextinfo.h. - * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version. - -1998-08-24 Geoff Keating - - * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file. - -1998-08-09 Geoff Keating - - * sysdeps/unix/sysv/linux/powerpc/chown.c: New file. - * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file. - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove - getresuid, getresgid. - -1998-08-16 Geoff Keating - - * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack - pointer in userland. - -1998-08-21 Andreas Schwab - - * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum - and fix value. - -1998-08-22 Andreas Schwab - - * elf/ldd.bash.in: Add missing quotes around $file. Make loop - over arguments Bourne shell compatible. Don't exit unsuccessfully - if nonelf returns successfully. Avoid duplicating most of the - script. - * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes - around $file. - -1998-08-24 10:37 Andreas Schwab - - * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add - sys/reg.h. - * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file. - * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it. - -1998-08-23 Ulrich Drepper - - * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add - __modify_ldt and modify_ldt. - * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt. +1998-03-05 Andreas Schwab * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER): - Use orl $-1 instead of movl $-1 to save two bytes. - * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER): - Likewise. + Don't store into global errno if we already store through + __errno_location. + * sysdeps/unix/i386/sysdep.S: Likewise. + * sysdeps/unix/alpha/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. Add + missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT && + PIC). -1998-08-17 H.J. Lu +1998-03-05 Andreas Schwab - * libio/Versions (_IO_do_write, _IO_file_attach, - _IO_file_close_it, _IO_file_finish, _IO_file_fopen, - _IO_file_init, _IO_file_overflow, _IO_file_seekoff, - _IO_file_setbuf, _IO_file_sync, _IO_file_underflow, - _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1. + * sysdeps/generic/sysdep.h (L): Remove definition. + * sysdeps/i386/sysdep.h (L): Define it here instead. - * libio/fileops.c (_IO_do_write, _IO_file_attach, - _IO_file_close_it, _IO_file_finish, _IO_file_fopen, - _IO_file_init, _IO_file_overflow, _IO_file_seekoff, - _IO_file_setbuf, _IO_file_sync, _IO_file_underflow, - _IO_file_write, _IO_file_xsputn): Change the prefix to - "_IO_new_". Added to GLIBC_2.1. +1998-03-06 Andreas Jaeger - * libio/libioP.h (_IO_do_write, _IO_file_attach, - _IO_file_close_it, _IO_file_finish, _IO_file_fopen, - _IO_file_init, _IO_file_overflow, _IO_file_seekoff, - _IO_file_setbuf, _IO_file_sync, _IO_file_underflow, - _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix - "_IO_new_". + * nis/nis_call.c (__do_niscall): Safe and reset errno. - * libio/oldfileops.c (_IO_do_write, _IO_file_attach, - _IO_file_close_it, _IO_file_finish, _IO_file_fopen, - _IO_file_init, _IO_file_overflow, _IO_file_seekoff, - _IO_file_setbuf, _IO_file_sync, _IO_file_underflow, - _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0. + * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno. -1998-08-23 Richard Henderson +1998-03-01 Andreas Jaeger - * Makeconfig (LDFLAGS): Remove. + * sysdeps/generic/getresuid.c (__getresuid): Use ISO C + declaration style to avoid warnings. - * csu/initfini.c: Return to .text before __gmon_start__. +1998-03-06 11:48 Mark M._Kettenis - * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA. - (STO_MIPS_*): Rename from STO_*. - (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON. - (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New. + * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" -> + "LD_DEBUG". - * math/atest-exp.c (mpn_bitsize): Fix bit location calculation. - (main): e3s is negative on zero. - * math/atest-exp2.c: Likewise. - * math/atest-sincos.c: Likewise. +1998-03-05 Ulrich Drepper -1998-08-23 Andreas Jaeger + * posix/Makefile (tests): Add wordexp-test. + * posix/wordexp-test.c: New file. Testsuite for wrodexp. + Patches by Tim Waugh . - * Makerules (install): Add comment about absolute paths. +1998-03-05 16:04 Ulrich Drepper -1998-08-23 Ulrich Drepper + * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the + dependencies. - * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination - array to NUL to handle maxlen==1 case correctly. - Patch by HJ Lu. + * elf/link.h (struct r_search_path_elem): Add two new field for + lib path debugging. + * elf/rtld.c: Recognize LD_DEBUG environment variable and set + variable accordingly. + * elf/dl-load.c: If _dl_debug_libs is nonzero print what library + is considered next along with information about load paths. + * sysdeps/generic/dl-cache.c: Likewise. + * elf/dl-support.c: Define _dl_debug_libs. + * elf/genrtldtbl.awk: Add initializers for two new field in + struct r_search_path_elem. -1998-08-23 Richard Henderson +1998-03-06 10:40 Andreas Schwab - * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used. - * sysdeps/alpha/elf/crtend.S: Likewise. - * sysdeps/alpha/elf/start.S: Likewise. + * sysdeps/m68k/add_n.S: Use ENTRY and END macros. + * sysdeps/m68k/lshift.S: Likewise. + * sysdeps/m68k/rshift.S: Likewise. + * sysdeps/m68k/sub_n.S: Likewise. + * sysdeps/m68k/m68020/addmul_1.S: Likewise. + * sysdeps/m68k/m68020/mul_1.S: Likewise. + * sysdeps/m68k/m68020/submul_1.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue; - non-standard pv usage. + * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro. + [_LIBC_REENTRANT]: Don't store into global errno. - * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation. - * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise. + * sysdeps/m68k/sysdep.h: New file. + * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it. Use the macros + ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there. + (DO_CALL): Change to expect syscall name as argument. + (PSEUDO): Pass syscall_name to DO_CALL. + (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global + errno. + +1998-03-05 Ulrich Drepper + + * elf/rtld.c: Speed up processing of environment variables. Do + only one run on the environment by avoiding to call getenv. + * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New + function. Used by patch above. + +1998-03-05 Thorsten Kukuk + + * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for + running nscd. + * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable. + * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable. + * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables. + +1998-03-05 Ulrich Drepper + + * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS + module cannot be found. Reported by Andreas Jaeger. + +1998-03-05 11:40 Franz Sirl + + * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning + on platforms which default to unsigned chars. + * nscd/nscd_getpw_r.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before + defining it. + +1998-03-05 Andreas Jaeger + + * elf/Makefile (install-bin): Change = to += for sprof to install + ldd also. + +1998-03-04 16:12 H.J. Lu + + * libio/strops.c (_IO_str_seekoff): Handle MODE == 0. + +1998-03-04 16:19 Ulrich Drepper + + * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change. + +1998-03-04 Andreas Jaeger + + * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so + that a failure to connect to nscd doesn't change errno. + +1998-03-04 Andreas Jaeger + + * manual/maint.texi (Reporting Bugs): Change + bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org. + + * locale/iso-4217.def: Likewise + +1998-03-04 12:43 Ulrich Drepper + + * manual/texinfo.tex: Updated. + +1998-03-03 Andreas Schwab + + * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined + value. + * sysdeps/posix/pathconf.c: Likewise. + * posix/getconf.c: Print `undefined' if pathconf returns -1 + without setting errno. + +1998-03-04 Ulrich Drepper + + * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste + problem. + * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file. + Patches by Elliot Lee . + +1998-03-04 09:43 Ulrich Drepper + + * elf/link.h (struct link_map): Add new field l_reloc_result. + * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results + of relocation for the object to be profiled. + * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field + to NULL. + * elf/rtld.c (_dl_start): Add comment that we must not allocate an + array here. + * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already + contains a result from a previous run use this instead of computing + the value again. + * elf/dl-minimal.c (malloc): Remove limit for size of allocation. + +1998-03-04 11:32 Andreas Schwab + + * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word + offsets into the GOT. + (RTLD_START): Likewise. + +1998-03-03 17:55 Ulrich Drepper + + * elf/sprof.c: Cleanup a bit. + +1998-03-03 08:01 H.J. Lu + + * sysdeps/generic/sysdep.h (L): New. Define. + + * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define. + + * sysdeps/i386/i586/addmul_1.S: Fix a typo. + + * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice + to have only one exit point for functions. + * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise. + * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise. + * sysdeps/unix/sysv/linux/i386/socket.S: Likewise. + * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise. + +1998-03-03 Andreas Jaeger + + * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and + reset errno so that errno isn't set to ENOSYS in the first call. + * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise. + * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise. + * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise. + * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise. + +1998-03-02 17:55 Ulrich Drepper + + * sysdeps/i386/add_n.S: Change to use ENTRY and END macro. + * sysdeps/i386/addmul_1.S: Likewise. + * sysdeps/i386/lshift.S: Likewise. + * sysdeps/i386/mul_1.S: Likewise. + * sysdeps/i386/rshift.S: Likewise. + * sysdeps/i386/sub_n.S: Likewise. + * sysdeps/i386/submul_1.S: Likewise. + * sysdeps/i386/i586/add_n.S: Likewise. + * sysdeps/i386/i586/addmul_1.S: Likewise. + * sysdeps/i386/i586/lshift.S: Likewise. + * sysdeps/i386/i586/mul_1.S: Likewise. + * sysdeps/i386/i586/rshift.S: Likewise. + * sysdeps/i386/i586/sub_n.S: Likewise. + * sysdeps/i386/i586/submul_1.S: Likewise. + + * sysdeps/i386/sysdep.h: Extend last change. + + * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice + to have only one exit point for functions. + +1998-03-02 Ulrich Drepper + + * configure.in: Fix msgfmt test. Fix handling of //s in sysdeps + search. + +1998-03-02 13:28 Ulrich Drepper + + * Makerules: Generate libc.so with absolute paths for the used + shared objects. + + * config.make.in: Add MAKEINFO definition. + +1998-03-02 Ulrich Drepper + + * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end. + (ENTRY): Use STABS_FUN. + (END): Use STABS_FUN_END. + (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info. + + * elf/Makefile: Add rules to build sprof program. + * elf/sprof.c: New file. + +1998-02-28 Andreas Jaeger + + * misc/syslog.c (openlog_internal): Insert missing closing brace. + +1998-02-06 Andreas Jaeger + + * configure.in: Check for working msgfmt version (from GNU gettext + 0.10 or later). + +1998-03-02 Ulrich Drepper + + * configure.in: Avoid //s in sysdirs. + Patch by Roland McGrath. + + * stdlib/a64l.c (a64l): Rewrite by Joe Keane . + +1998-03-02 07:17 H.J. Lu + + * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when + setting _dl_global_scope for RTLD_GLOBAL. + +1998-02-27 Andreas Schwab + + * sysdeps/unix/make-syscalls.sh: Fix last change so that all + possible lists of object-suffixes are taken care of. + +1998-03-02 10:16 Ulrich Drepper + + * timezone/private.h: Update from tzcode1998c. + * timezone/zic.c: Likewise. + * timezone/antarctica: Updated from tzdata1998c. + * timezone/asia: Likewise. + * timezone/australasia: Likewise. + * timezone/europe: Likewise. + * timezone/southamerica: Likewise. + +1998-03-02 Ulrich Drepper + + * posix/glob.c (glob_in_dir): Add support for cases insensitive + VMS. Patch by John W. Eaton . + +1998-03-01 19:05 H.J. Lu (hjl@gnu.org) + + * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf. + Changed type of TWO43, TWO52 from float to double. + * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff. + * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf. + Changed type of TWO43 from float to double. + * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo. + Use __isinff. + +1998-03-01 18:52 H.J. Lu (hjl@gnu.org) + + * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday, + osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage, + osf_wait4): Removed __xxxx symbol for GLIBC_2.0. + +1998-03-01 09:11 Richard Henderson + + * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include + kernel_termios.h. + * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix. + Clean up random whitespace. + * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm. + * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args. + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss. + * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file. + +1998-03-01 08:31 Richard Henderson + + * shlib-versions: Match alpha*. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex. + * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove. + + * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New. + Implement copysign* with and without __ prefix. + Likewise for fabs; use builtin for gcc 2.8. + (floor*): New. + (fdim*): New. + + * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New. + (R_SPARC*): Match current v9 ABI. + + * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long. + + * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t. + * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise. + * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise. + * sysdeps/generic/getresgid.c: Use prototype form because of warning. + * sysdeps/unix/sysv/linux/getdents.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise. + * sysdeps/unix/grantpt.c (argv): Fix consts. + * sysdeps/unix/sysv/linux/getpt.c: Include + * sysdeps/unix/sysv/linux/sigaction.c: Likewise. + +1998-02-27 Ulrich Drepper + + * misc/syslog.c: Change to allow user the interpretation of the + outcome even with syslog having no return value. + +1998-02-05 20:41 Wolfram Gloger + + * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume + that the number of program headers is >0 (which is wrong for the + loader itself). + +1998-02-27 Ulrich Drepper + + * Makefile (distribute): Add README.libm. + +1998-02-27 Andreas Jaeger + + * time/clocktest.c (main): Correct typo: "--" -> "==". + +1998-02-25 20:53 H.J. Lu + + * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus + inline function. + (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New + inline functions. + + * math/libm.map (__atan2): Added. + +1998-02-27 Ulrich Drepper + + * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly. + Reported by Göran Uddeborg . + + * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported + bug. + +1998-02-25 Andreas Jaeger + + * manual/arith.texi (Old-style number conversion): Correct + typo. Reported by Göran Uddeborg . + +1998-02-27 Ulrich Drepper + + * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided, + but does not require it. Handle missing argv[] values gracefully. + * posix/execl.c: Likewise. + * posix/execle.c: Likewise. + +1998-02-25 Andreas Schwab + + * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer + bit. + * sysdeps/libm-ieee754/s_isinfl.c: Likewise. + +1998-02-27 Ulrich Drepper + + * libc.map: Add __adjtimex. + +1998-02-26 Thorsten Kukuk + + * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r): + Remove memset. + +1998-02-24 08:10 H.J. Lu + + * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed + to 64. + + * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno. + + * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at". + * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto. + + * sysdeps/unix/make-syscalls.sh: Make versioned symbols only + for shared library. + + * libc.map (adjtime, adjtimex): Added for GLIBC_2.1. + + * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): + Added adjtimex and old_adjtimex. + + * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex): + New. + (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes, + osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0. + + * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned + symbols only for shared library. * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise. * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise. * sysdeps/unix/sysv/linux/alpha/select.S: Likewise. * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise. * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise. * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise. * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise. - * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is - a finite non-denormal, deferring to the full IEEE version otherwise. + * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch. + * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/select.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise. - * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor): - Early out for -0. Optimize for !_IEEE_FP_INEXACT. - * sysdeps/alpha/fpu/s_floor.c: New. - * sysdeps/alpha/fpu/s_floorf.c: New. - * sysdeps/alpha/fpu/s_ceil.c: New. - * sysdeps/alpha/fpu/s_ceilf.c: New. + * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct + rusage pointer. -1998-08-22 Philip Blundell + * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX): + New macros. + (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval, + timex and __adjtimex, respectively. - * sysdeps/arm/bits/string.h: New file. + * sysdeps/unix/sysv/linux/alpha/adjtime.c: New. -1998-08-12 Andreas Jaeger + * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New. - * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers, - document it. +1998-02-25 08:28 H.J. Lu - * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains - test for recent Linux 2.1.100+ headers. + * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy + for FE_DIVBYZERO. Kludge for FE_UNDERFLOW. -1998-08-21 Thorsten Kukuk +1998-02-26 14:59 Ulrich Drepper - * nis/nss_compat/compat-initgroups.c: Optimize NIS query. + * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces. -1998-08-21 17:21 Ulrich Drepper +1998-02-19 11:00 Zack Weinberg - * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64. + * Makefile.in: Disable built-in rules. -1998-08-20 Andreas Schwab +1998-02-21 Andreas Jaeger - * Makefile (elf/ldso_install): Put back. The problem still persists. - * elf/Makefile (ldso_install): Likewise. + * sysdeps/i386/fpu/t_exp.c: Move to ... + * sysdeps/libm-i387/t_exp.c: ... here. -1998-08-20 Andreas Schwab +1998-02-21 13:51 H.J. Lu - * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and - create weak alias. - * include/db.h: Declare __nss_db_open. - * db2/Versions: Export it. + * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed + from __exp2_deltatable. - * db2/makedb.c: Convert to use db2 API. - * nss/nss_db/db-XXX.c: Likewise. - * nss/nss_db/db-netgrp.c: Likewise. - * nss/nss_db/db-alias.c: Likewise. - (_nss_db_getaliasent_r): Allow retrying with a larger buffer. +1998-02-26 Ulrich Drepper -1998-08-19 Andreas Schwab + * nis/ypclnt.c (yp_master): Check result of strdup. + Patch by Thorsten Kukuk. - * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove - sys_setresuid, already built automatically (or not). - * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid - instead of __syscall_setresuid and add back setresuid. - * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of - __syscall_setresuid. +1998-02-26 Thorsten Kukuk -1998-08-21 Andreas Jaeger + * nis/ypclnt.c: Give clnt handle after error checking free, change + return codes to fix problems with rpc.nisd in YP mode on Ultra's. - * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo. +1998-02-26 09:00 Ulrich Drepper -1998-08-20 Ulrich Drepper + * misc/fstab.c: Partly rewritten to use dynamically allocated buffer. + Patch by Joe Keane . - * elf/Makefile (sh-ldd-rewrite): Remove expression to remove - BASH-ONLY marked region. - * elf/ldd.bash.in: Remove special BASH-ONLY markers. + * misc/fstab.h (struct fstab): Change fs_type member to be const. + * misc/fstab.c: Remove casts in fs_type assignments. -1998-02-20 17:54 H.J. Lu +1998-02-26 Andreas Jaeger - * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if - _IO_SYSSEEK fails. + * sysdeps/i386/fpu/bits/fenv.h: Correct typo. ISO C 9X defines + FE_TOWARDZERO and not FE_TOWARDSZERO. Reported by H.J. Lu. + * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise. + * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise. + * sysdeps/powerpc/bits/fenv.h: Likewise. + * sysdeps/m68k/fpu/bits/fenv.h: Likewise. + * sysdeps/generic/bits/fenv.h: Likewise. + * sysdeps/alpha/fpu/bits/fenv.h: Likewise. + * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise. + * sysdeps/powerpc/test-arith.c (main): Likewise. - * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t. +1998-02-25 Ulrich Drepper - * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset - element. + * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of + the comparison macros. -1998-08-21 Roland McGrath +1998-02-21 20:14 H.J. Lu - * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these - with magic comments ###BASH-ONLY and ###END-BASH-ONLY. - * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in. - (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite). - (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by - those magic comments, and to use /bin/sh for @BASH@. - (bash-ldd-rewrite): Use $(common-ldd-rewrite). - * elf/ldd.sh.in: File removed. + * sysdeps/libm-ieee754/s_log2.c (ln2): Added. + (__log2): Fixed return values. + * sysdeps/libm-ieee754/s_log2f.c: Likewise. -1998-08-20 20:07 Ulrich Drepper +1998-02-25 Ulrich Drepper - * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and - cast them to unsigned long int. - * pwd/putpwent.c (putpwent): Likewise. - Patch by John Tobey . + * math/math.h (isunordered): Rename local variables to ensure + correct code. Reported by HJ Lu. -1998-08-20 17:14 H.J. Lu +1998-02-25 10:34 Ulrich Drepper - * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to - _IO_pos_BAD. + * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal, + isless, islessequal, islessgreater, isunordered): Fix syntax for + fucompip instruction. + (isless, islessequal): Fix logic. -1998-02-20 17:54 H.J. Lu +1998-02-21 Andreas Jaeger - * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if - _IO_SYSSEEK fails. + * math/libm-test.c (sqrt_test): Add test for sqrt(2). + (comparisons_test): New tests for comparison macros. -1998-08-20 19:14 Ulrich Drepper +1998-02-24 15:12 Ulrich Drepper - * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines): - Add umount and umount2. - * sysdeps/unix/sysv/linux/syscalls.list: Remove umount. - * sysdeps/unix/sysv/linux/umount.S: New file. - * sysdeps/unix/sysv/linux/umount2.S: New file. - * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2. - Define MNT_FORCE. + * Makeconfig: Filter out frame-pointer effecting options when + compiling profiling or debugging code. + * config.h.in (internal_function): Don't define here if PROF is + defined. + * gmon/gmon.c (__moncontrol): Don't change state if already in error + state. + (__monstartup): If calloc fails set error state and mark array as + not allocated. + (_mcleanup): Don't call write_gmon if in error state. Don't try + to free array if not successfully allocated. - * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers): - Add sys/sendfile.h. - * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile. - * sysdeps/unix/sysv/linux/sys/sendfile.h: New file. + * elf/dl-load.c (STRING): Define to __STRING to enble expansion. + Include elf.h to get macro definitions. + Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE. - * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print. +1998-02-24 09:40 Ulrich Drepper - * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and - sendfile. - -1998-08-20 16:01 Ulrich Drepper - - * elf/ldd.sh.in: Redirect warnings and error messages to stderr. + * elf/ldd.sh.in: Add compatibility for broken old shells. * elf/ldd.bash.in: Likewise. - * elf/sln.c: Avoid warning for no main prototype. +1998-02-24 08:11 H.J. Lu - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and - O_WRITE. - * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. + * sunrpc/rpc_main.c (open_input): Check pipe return error. - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and - F_GETSIG. - * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. + * time/clocktest.c (main): Check signal return error. -1998-08-20 Philip Blundell +1998-02-24 Andreas Jaeger - * sysdeps/arm/fpu/ieee754.h: Move to... - * sysdeps/arm/ieee754.h: ... here. + * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add + "/" and use do-install-program. Reported by Mark M. Kettenis. + (subdir_install): Likewise. - * sysdeps/arm/__longjmp.S: Put return value in correct register. - Don't set the condition flags unnecessarily. - * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point - registers correctly. +1998-02-22 Thorsten Kukuk - * sysdeps/arm/dl-machine.h: Fix problems with profiling code - (patch from Scott Bambrough). + * sunrpc/rpc_sample.c: Fix typo. - * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons. + * nscd/connections.c: Use locale. + * nscd/grpcache.c: Add debug messages, gidtbl should get the + calloc result. + * nscd/nscd.c: Check if init functions fails. + * nscd/nscd_conf.c: Allow disabling of group cache. + * nscd/nscd_getgr_r.c: Fix return code if group not found. + * nscd/pwdcache.c: Fix debug messages. - * csu/initfini.c (_init): Don't check whether __gmon_start__ is - NULL, just call it unconditionally. - (__gmon_start__): Provide stub version as a weak symbol. +1998-02-22 Andreas Schwab -1998-07-30 Philip Blundell + * libc.map: Add __monstartup and _mcleanup for profiling support. - * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch - by Scott Bambrough) +1998-02-20 Andreas Schwab - * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't - like `@' in .type directives. + * libc.map: Export __getpagesize, for binary compatibility with + 2.0. - * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call. - * sysdeps/arm/bsd-_setjmp.S: Likewise. +1998-02-21 Andreas Schwab - * sysdeps/arm/dl-machine.h: Set __libc_stack_end. + * posix/globtest.sh: Use --library-path instead of + LD_LIBRARY_PATH. + * localedata/sort-test.sh: Likewise. + * localedata/tst-fmon.sh: Likewise. Avoid useless use of cat. -1998-08-20 Andreas Jaeger +1998-02-22 Andreas Schwab - * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value. - (F_GETOWN): Likewise. + * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct + sigaction and struct kernel_sigaction for __syscall_rt_sigaction. + * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from - Linux 2.1.117). + * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct + kernel_sigaction): Define. + * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct + kernel_sigaction): Define. -1998-08-20 Ulrich Drepper +1998-02-23 Andreas Jaeger - * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not - already defined. + * math/libm-test.c: Change epsilons for libm-ieee754. -1998-08-18 Ulrich Drepper +1998-02-23 12:33 Ulrich Drepper - * include/features.h: Define __USE_EXTERN_INLINES for recent - enough gcc. - * argp/argp.h: Define extern inline functions only if - __USE_EXTERN_INLINES is defined. - * libio/stdio.h: Likewise. - * math/math.h: Likewise. - * stdlib/stdlib.h: Likewise. - * string/argz.h: Likewise. - * sysdeps/generic/bits/sigset.h: Likewise. - * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise. - * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise. - * sysdeps/wordsize-32/inttypes.h: Likewise. + * sysdeps/i386/__longjmp.S: Fix race condition. + Reported by Bruno Haible . + +1998-02-20 18:43 Ulrich Drepper + + * hesiod/hesiod.c: Pretty print. Don't use __ protected names. + * iconvdata/8bit-gap.c: Likewise. + * iconvdata/8bit-generic.c: Likewise. + * iconvdata/iso6937.c: Likewise. + * iconvdata/iso8859-1.c: Likewise. + * iconvdata/sjis.c: Likewise. + * iconvdata/t61.c: Likewise. + +1998-02-20 Andreas Schwab + + * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative + feature tests by positive feature tests. + +1998-02-19 Andreas Schwab + + * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value. + +1998-02-20 Ulrich Drepper + + * elf/dlvsym.c (dlvsym_doit): More corrections. + Patch by Andreas Jaeger. + +1998-02-19 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition. + +1998-02-19 17:16 Ulrich Drepper + + * libc.map: More reordering for GLIBC_2.1 symbols. + +1998-02-19 Andreas Jaeger + + * libc.map: Move some functions from version GLIBC_2.0 to + GLIBC_2.1, reorder declarations. + +1998-02-19 Ulrich Drepper + + * resolv/gethnamaddr.c (addrsort): Make this function extern. + Patch by zab@thebrain.grumblesmurf.net. + +1998-02-19 Thorsten Kukuk + + * nis/libnsl.map: NIS+ support is new in glibc 2.1, add + NIS+ functions with version GLIBC_2.1. + +1998-02-19 14:05 Ulrich Drepper + + * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility + with 2.0 binaries. Reported by Thorsten Kukuk. + +1998-02-19 Andreas Jaeger + + * elf/dlvsym.c (dlvsym_doit): Correct last patch. + + * elf/dlsym.c (dlsym_doit): Likewise. + +1998-02-19 Andreas Jaeger + + * elf/link.h: Correct typos. + + * iconv/iconv_prog.c: Correct typo. + +1998-02-18 17:57 Ulrich Drepper + + * iconv/Makefile: Add rules to build and install iconv program. + * iconv/iconv_prog.c: New file. + +1998-02-18 16:34 H.J. Lu + + * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for + _dl_lookup_symbol_skip call. + * elf/dlvsym.c (dlvsym_doit): Likewise. + +1998-02-18 Ulrich Drepper + + * libio/iovsscanf.c: Do not include errno.h. + +1998-02-17 Andreas Schwab + + * elf/dl-load.c (add_name_to_object): Don't translate strings. + * elf/dl-minimal.c (_strerror_internal): Define it here to avoid + pulling in the whole error list. + (__dcgettext, dcgettext): Removed. + * libc.map: Export _strerror_internal. + +1998-02-18 10:50 Ulrich Drepper + + * sysdeps/i386/fpu/t_exp.c: New file. + +1998-02-18 Andreas Jaeger + + * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add + everything with version GLIBC_2.1. + * hesiod/libnss_hesiod.map: Likewise. + +1998-02-18 Andreas Jaeger + + * manual/arith.texi (Old-style number conversion): This node is a + section, not a subsection. + +1998-02-17 Andreas Schwab + + * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy. + +1998-02-17 Andreas Schwab + + * elf/rtld.c (dl_main): Make sure that the library search paths + have been initialized before the first call to _dl_map_object. + +1998-02-17 Andreas Schwab + + * Makerules (common-generated): Add libc_pic.os. + +1998-02-17 Andreas Schwab + + * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address + of the executable. + +1998-02-18 10:28 Andreas Schwab + + * sysdeps/m68k/fpu/t_exp.c: New file. + +1998-02-17 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign + to global errno variable anymore. + +1998-02-17 17:41 Ulrich Drepper + + * elf/dl-load.c (open_path): Take extra argument PRELOADED. + If PRELOADED is nonzero check in case of an SUID application + whether the shared object has the SUID bit set. + Fix some other problems with handling shared objects in system + specific directories. + (_dl_map_object): Also take extra parameter and pass it to open_path. + * elf/link.h (_dl_map_object): Correct prototype and comment. + * elf/rtld.c (dl_main): Call _dl_map_object correctly. + * elf/dl-open.c (_dl_open): Likewise. + * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise. + + * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly. + +1998-02-17 Ulrich Drepper + + * math/libm-test.c (modf_test): Add test for 1.5. + + * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with + 0 to get always an int. + +1998-02-17 Andreas Jaeger + + * math/libm.map: Move all symbols that are new in glibc 2.1 to + version GLIBC_2.1. + +1998-02-17 Ulrich Drepper + + * stdio-common/vfscanf.c (inchar): Check c for being EOF before + trying to read another character. + +1998-02-05 Andreas Jaeger + + * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert + name to lowercase. + + * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert + name to lowercase, add test for big enough buffer. + +1998-02-03 Andreas Jaeger + + * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn): + Make compatible with older kernels. Patch by Richard Henderson. + +1998-02-17 15:10 Ulrich Drepper + + * elf/dl-load.c (open_path): Use __xstat instead of stat. + + * localedata/tst-locale.sh: Comment out first test for now. + +1998-02-14 14:58 H.J. Lu + + * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined + as 1. + * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO): + Likewise. + + * libio/iogetline.c (_IO_getline_info): Renamed from + _IO_getline. + (_IO_getline): Just call _IO_getline_info. + + * libio/libioP.h (_IO_getline_info): New declaration. + + * libc.map (_IO_getline_info, __write): Added. + +1998-02-17 Andreas Jaeger + + * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to + const char* to shut up gcc. + +1998-02-17 11:37 Ulrich Drepper + + * elf/dl-open.c (_dl_open): Assign correct value to new->l_global. + Patch forwarded by Cristian Gafton . + + * math/math.h: Define M_* constants always as `double' and add new + macros M_*l which are of type `long double'. + * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now. + * sysdeps/libm-ieee754/s_cacosl.c: Likewise. + * sysdeps/libm-ieee754/s_casinhl.c: Likewise. + * sysdeps/libm-ieee754/s_catanhl.c: Likewise. + * sysdeps/libm-ieee754/s_catanl.c: Likewise. + * sysdeps/libm-ieee754/s_clog10l.c: Likewise. + * sysdeps/libm-ieee754/s_clogl.c: Likewise. + * math/libm-tst.c: Likewise. + + * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl, + define as long double unconditionally. + +1998-02-17 Andreas Jaeger + + * manual/arith.texi (Old-style number conversion): Correct some + typos. + +1998-02-16 16:28 H.J. Lu + + * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c): + Restore. + + * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted. + +1998-02-16 Ulrich Drepper + + * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but + on $(rtld-ldscript). + + * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports + starting from 0 not only from `from'. + Patch by Maciej W. Rozycki . + +1998-02-16 17:33 Ulrich Drepper + + * elf/rtld.c (dl_main): Recognize --library-path parameter and + pass value (or NULL) to _dl_init_paths. + * elf/dl-load.c (_dl_init_paths): Change to take one parameter, + replacing local variable llp. If llp is NULL examine LD_LIBRARY_PATH + environment variable. + * elf/link.h: Change prototype for _dl_init_paths. + * elf/dl-support.c: Pass NULL in _dl_init_paths call. + + * localedata/Makefile (distribute): Add test files. + +1998-02-17 Andreas Jaeger + + * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm, + test1.def, test2.def, test3.def, test4.def}: Simple input files + for localedef. Contributed by Yung-Ching Hsiao + . + + * localedata/Makefile (tests): Call tst-locale.sh. + + * localedata/tst-locale.sh: New file, regression tests for some + localedef problems. + +1998-02-15 Thorsten Kukuk + + * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy. + + * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL + terminated. + * nis/nss_nisplus/nisplus-network.c: Likewise. + * nis/nss_nisplus/nisplus-proto.c: Likewise. + * nis/nss_nisplus/nisplus-rpc.c: Likewise. + * nis/nss_nisplus/nisplus-service.c: Likewise. + + Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug + and support generating thread safe RPC code. + * sunrpc/rpc_main.c: Add changes. + * sunrpc/rpc_clntout.c: Likewise. + * sunrpc/rpc_cout.c: Likewise. + * sunrpc/rpc_hout.c: Likewise. + * sunrpc/rpc_parse.c: Likewise. + * sunrpc/rpc_sample.c: Likewise. + * sunrpc/rpc_scan.c: Likewise. + * sunrpc/rpc_svcout.c: Likewise. + * sunrpc/rpc_util.c: Likewise. + * sunrpc/rpc_util.h: Add new structs and prototypes. + * sunrpc/proto.h: Remove prototypes for static functions. + +1998-02-15 Andreas Schwab + + * locale/programs/ld-messages.c (messages_finish): Don't skip + error checking when being quiet. + * locale/programs/ld-ctype.c (ctype_finish): Likewise. + (set_class_defaults): Likewise. + * locale/programs/charmap.c (parse_charmap): Likewise. + * locale/programs/ld-collate.c (collate_finish): Likewise. + * locale/programs/ld-monetary.c (monetary_finish): Likewise. + * locale/programs/ld-time.c (time_finish): Likewise. + * locale/programs/locfile.c (write_locale_data): Likewise. + + * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore + unknown characters and empty ranges. + * locale/programs/ld-collate.c (collate_order_elem): When + processing an ellipsis properly form a linked list in the result + table, fix typo when allocating ordering array. + [PR libc/419] + +1998-02-13 Andreas Schwab + + * elf/Makefile (ld-map): Define. + (rtld-ldscript): Define. Change all `$(objpfx)rtld-ldscript' to + `$(rtld-ldscript)'. + ($(objpfx)ld.so): Combine the two versions of this rule. Depend + on $(ld-map). + (rtld-link): Combine the two versions of this definition. Fixed + to make it work when no symbol versioning is used. + +1998-02-16 Ulrich Drepper + + * Makeconfig (build-program-cmd): Use --library-path parameter to + ld.so instead of environment variable. + + * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter. + * sunrpc/rpc_main.c: Remove support for -$$ option again. + +1998-02-16 Andreas Jaeger + + * Make-dist: Respect with-cvs setting. + * MakeTAGS (all-pot): Likewise. + * sysdeps/sparc/sparc32/Makefile: Likewise. + * sysdeps/mach/hurd/Makefile: Likewise. + * stdlib/Makefile: Likewise. + * posix/Makefile: Likewise. + * intl/Makefile: Likewise. + * po/Makefile (linguas): Likewise + +1998-02-15 Thorsten Kukuk + + * nis/ypclnt.c (yp_all): Remove error message, user should print it. + +1998-02-15 Ulrich Drepper + + * libc.map: Add __strcasecmp. + + * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last + module. + + * nss/getXXent_r.c: If no more module is found don't try to call + setXXent functions but leave unsuccessfully. + + * malloc/obstack.h: Cleanups. + + * sysdeps/wordsize-32/stdint.h: New file. + * sysdeps/wordsize-64/stdint.h: New file. + * sysdeps/generic/stdint.h: New file. + * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h. * sysdeps/wordsize-64/inttypes.h: Likewise. - * wcsmbs/wchar.h: Likewise. + * stdlib/Makefile (headers): Add stdint.h. - * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat - to allow compilation without optimization. +1998-02-03 Paul Eggert -1998-08-14 Thorsten Kukuk + * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available. - * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no - more entries. - * nis/nss_compat/compat-initgroups.c: Likewise. +1998-02-13 17:59 Zack Weinberg + + * timezone: New directory. + * time/README, time/africa, time/antarctica, time/asia, + time/australasia, time/backward, time/checktab.awk, + time/etcetera, time/europe, time/factory, time/ialloc.c, + time/iso3166.tab, time/leapseconds, time/northamerica, + time/pacificnew, time/private.h, time/scheck.c, + time/solar87, time/solar88, time/solar89, time/southamerica, + time/systemv, time/test-tz.c, time/tzfile.h, + time/tzselect.ksh, time/yearistype, time/zdump.c, + time/zic.c, time/zone.tab: Moved to timezone. + * time/tzfile.c: Include tzfile.h from timezone subdir. + * time/tzset.c: Likewise. + * time/Makefile: Cut out all code relating to timezones... + * timezone/Makefile: ...and paste it in here. + * Makefile (subdirs): Add timezone. + +1998-02-13 18:45 H.J. Lu + + * libc.map (_sys_nerr): Added. + + * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it + versioned symbol. + +1998-02-15 17:16 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and + pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY. + Reported by Craig Metz . + +1998-01-22 Andreas Schwab + + * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp + instead of strcasecmp. + * nss/nss_files/files-alias.c (get_next_alias): Likewise. + + * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8. + +1998-02-15 16:55 Ulrich Drepper + + * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const. + Patch by Dean Gaudet . + +1998-02-15 16:53 Ulrich Drepper + + * sysdeps/generic/Dist: Add getresgid.c and getresuid.c. + +1998-02-15 10:49 Zack Weinberg + + * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel + with no poll syscall, just include the BSD version. + * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a + kernel without the syscall, include the stub version. + * sysdeps/unix/sysv/linux/getresgid.c: Likewise. + * sysdeps/generic/getresuid.c: New file. + * sysdeps/generic/getresgid.c: New file. + +1998-02-15 Ulrich Drepper + + * stdio-common/vfscanf.c: Correct last change a bit. + +1998-02-13 17:39 Ulrich Drepper + + * elf/Makefile: Don't use --version-script parameter to link ld.so + unconditionally. + +1998-01-02 04:19 Geoff Keating + + * math/Makefile: Add t_exp. + * math/libm-test.c: Tighten accuracy bounds for exp(), correct + constants. + * math/test-reduce.c: Remove temporarily, it seems to be broken. + * sysdeps/libm-ieee754/e_exp.c: Use accurate table method. + * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for + better accuracy. + * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct + algorithm for very large/very small arguments. + * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial; + correct algorithm for very large/very small arguments; adjust for + new table. + * sysdeps/libm-ieee754/t_exp.c: New file. + * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas. + + * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test' + back, with comment that explains what breaks when you remove it :-(. + + * localedata/xfrm-test.c: Avoid integer overflow. + + * stdlib/strfmon.c: char is unsigned, sometimes. + + * sysdeps/powerpc/Makefile: Remove quad float support. + * sysdeps/powerpc/q_*.c: Remove, they will become an add-on. + * sysdeps/powerpc/quad_float.h: Likewise. + * sysdeps/powerpc/test-arith.c: Likewise. + * sysdeps/powerpc/test-arithf.c: Likewise. + + * sysdeps/generic/s_exp2.c: Remove, we have this implemented now. + * sysdeps/generic/s_exp2f.c: Likewise. + + * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__, + don't try anything if _SOFT_FLOAT. + +1997-12-31 Andreas Schwab + + * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change. + * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise. + * wctype/wctype.c: Likewise. + * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses + changed. They are incompatible with the _ISxxx values from + on little endian machines. + (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform + bit number. This fixes the real bug and restores the integrity of + the ctype locale file. + * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx. + * wctype/wcfuncs_l.c: Likewise. + * wctype/wcextra.c: Likewise. + * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct + byte swapping. + +1998-02-09 Andreas Schwab + + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it + into .bss segment instead of .common, so that aliases on it work. + + * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and + .size directives, put into .bss segment instead of initializing it + to 4. + +1998-02-12 08:00 H.J. Lu + + * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added. + + * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New + functions. + Make names without __ weak aliases. + (__libc_release, __libc_version): Make them static. + + * include/gnu/libc-version.h: New file. + * Makefile (headers): Add gnu/libc-version.h. + +1998-02-13 Ulrich Drepper + + * stdlib/stdlib.h (struct drand48_data): Leave X to user macros + and use x for member name. + Reported by Daniel Lyddy . + + * stdlib/drand48.c: Change according to member name change. + * stdlib/drand48_r.c: Likewise. + * stdlib/lcong48_r.c: Likewise. + * stdlib/lrand48.c: Likewise. + * stdlib/lrand48_r.c: Likewise. + * stdlib/mrand48.c: Likewise. + * stdlib/mrand48_r.c: Likewise. + * stdlib/seed48.c: Likewise. + * stdlib/seed48_r.c: Likewise. + * stdlib/srand48_r.c: Likewise. + +1998-02-11 Andreas Jaeger + + * nss/test-netdb.c: Add some more test cases. + +1998-02-13 11:39 Ulrich Drepper + + * libio/iovsscanf.c: Undo last change modifying errno. + +1998-02-12 Andreas Schwab + + * stdio-common/vfscanf.c: Never try to read another character + after EOF. Don't decrement read_in after EOF, it wasn't + incremented in the first place. + (NEXT_WIDE_CHAR): Set First, not first. + +1998-02-06 07:48 H.J. Lu + + * db/Makefile ($(inst_libdir)/libndbm.a, + $(inst_libdir)/libndbm.so): New targets. + * db2/Makefile: Likewise. + +1998-02-12 08:20 H.J. Lu + + * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak + aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined. + +1998-02-12 Andreas Schwab + + * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++ + . + * sysdeps/unix/sysv/linux/_G_config.h: Likewise. + +1998-02-11 Andreas Schwab + + * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with + versioned symbols. + +1998-02-13 08:14 H.J. Lu + + * libc.map (_dl_global_scope, _dl_lookup_symbol_skip, + _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): + Added for libdl.so. + +1998-02-09 Andreas Schwab + + * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as + extra syscall. + + * grp/Makefile: Fix logic when checking for thread package. + * pwd/Makefile: Likewise. + +1998-02-11 08:23 H.J. Lu + + * elf/Makefile (rtld-map): Replaced by libc-map. + + * elf/rtld.map: Removed. + + * libc.map (__libc_enable_secure, _dl_catch_error, + _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state, + _dl_default_scope, _dl_global_scope_end, _dl_init_next, + _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps, + _dl_object_relocation_scope, _dl_relocate_object, + _dl_signal_error, _dl_starting_up, _dl_sysdep_start, + _r_debug): Added for ld.so. + +1998-02-10 08:38 H.J. Lu + + * libio/iofclose.c: Check PIC && DO_VERSIONING instead of + DO_VERSIONING. + * libio/iofdopen.c: Ditto. + * libio/iofopen.c: Ditto. + * libio/oldfileops.c: Ditto. + + * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for + version GLIBC_2.1. + + * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed + oldsiglist from sysdep_routines and shared-only-routines. + + * sysdeps/unix/sysv/linux/errlist.c: New. + * sysdeps/unix/sysv/linux/errlist.h: New. + * sysdeps/unix/sysv/linux/sizes.h: New. + * sysdeps/unix/sysv/linux/alpha/sizes.h: New. + * sysdeps/unix/sysv/linux/sparc64/sizes.h: New. + + * sysdeps/unix/sysv/linux/oldsiglist.c: Removed. + + * sysdeps/unix/sysv/linux/siglist.c: Include . + (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size + directive. + + * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New. + + * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added. + (oldsiglist.c): Removed. + + * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New. + (_sys_siglist): Use SYS_SIGLIST instead. + (_sys_nerr): Use SYS_NERR instead. + + * sysdeps/gnu/errlist.c: Rebuilt. + +1998-02-11 08:35 H.J. Lu + + * elf/Makefile (others-static): New, set to ldconfig. + ($(objpfx)ldconfig): Removed. + + * Rules (binaries-all, binaries-static, binaries-shared): New. + Create targets for $(binaries-static) and $(binaries-shared). + + * Makeconfig (+link-static, link-libc-static, + link-extra-libs-static): New for static linking. + +1998-02-11 Andreas Jaeger + + * manual/memory.texi (Using the Memory Debugger): Fix typo. + + * math/libm-test.c (modf_test): Add one more test for modf. + +1998-02-11 14:39 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs): + Rename from __libc_have_rt_sigs and leave as COMMON data. + +1998-02-11 08:30 H.J. Lu + + * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead + of __finite. + +1998-02-11 19:16 Richard Henderson + + * stdlib/strtod.c (STRTOF): Don't call lshift with zero count. + +1998-02-11 16:56 Ulrich Drepper + + * misc/tst-efgcvt.c: Add yet more tests. + * misc/efgcvt_r.c: And correct for these tests again. + Reported by HJ Lu. + + * isomac.c: Move to... + * stdlib/isomac.c: ...here. + * Makefile: Move rules for handling isomac... + * stdlib/Makefile: ...to here. + +1998-02-10 23:57 Ulrich Drepper + + * misc/tst-efgcvt.c: Add more tests. + * misc/efgcvt_r.c: Correct result for above new tests. + +1998-02-06 17:22 H.J. Lu + + * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle + NDIGIT <= 0. + +1998-02-10 16:48 Philip Blundell + + * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc) + if the programs weren't built. + +1998-02-09 10:12 Philip Blundell + + * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have + FE_TONEAREST, soldier on regardless and do the best we can. + * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise. + +1998-02-5 17:20 Philip Blundell + + * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not + _STDIO_H, before including . + + * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added. + + * io/fts.c (fts_build): Don't try to use d_type if it doesn't + exist. + + * sysdeps/arm/sys/ucontext.h: New file. + +1998-02-04 10:11 Philip Blundell + + * manual/stdio.texi (Formatted Output Functions): Explicitly say + that the return value from snprintf() does not count the + terminating NUL as a character. + +1998-02-10 16:57 Ulrich Drepper + + * manual/users.texi: Rewrite to describe correct POSIX behaviour, + add description for sete[ug]id and general cleanup. + Patch by Zack Weinberg . + +1998-01-04 Andreas Schwab + + * Makefile (parent-clean): Don't remove makefile fragments here. + (postclean): New variable. + (clean): Remove makefile fragments here. + (realclean distclean): Likewise. Pass sysdep-subdirs to sub-make. + (generated): Add isomac and isomanc.out. + * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if + avoid-generated is set. + (postclean-generated): Add soversion.mk. + ($(common-objpfx)version.mk): Don't include if avoid-generated is + set. + * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if + avoid-generated is set. + (common-generated): Add libc.so and libc.so$(libc.so-version). + (generated): Add versioned libraries. + (common-mostlyclean): Also remove %.so and %_pic.a. + * csu/Makefile (generated): Add abi-tag.h. + * db2/Makefile (extra-objs): Add getlong.o. + * elf/Makefile (generated): Add ld.so, ldd and + $(rtld-installed-name). + (others): Add ldconfig here instead of ldconfig.o to extra-objs. + * malloc/Makefile (generated): Add mtrace. + * po/Makefile: Don't include version.mk, not needed any more. + * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen. + * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h, + syscall.h -> sys/syscall.h. + (common-generated): Add s-proto.d. + (postclean-generated): Add sysd-syscalls. + * localedata/Makefile (test-output): Add all output files. + (generated): Add test-input and test-output. + (generated-dirs): Add all the dirs. + +1998-01-04 Andreas Schwab + + * Makefile (test-output, generated, generated-dirs): New + variables. + +1998-02-10 16:57 Ulrich Drepper + + * resolv/nss_dns/dns-host.c: Various code cleanups. + +1998-02-09 08:10 H.J. Lu + + * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug. + From Philip Blundell . + * resolv/nss_dns/dns-host.c (getanswer_r): Ditto. + +1998-02-08 Andreas Jaeger + + * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc. + Suggested by debian/sparc porters. + +1998-02-07 Andreas Jaeger + + * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests + for ecvt and fcvt. + +1998-02-10 16:32 Ulrich Drepper + + * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and + __fxstat instead of stat and fstat. Use namespace clean __stpcpy. + + * signal/signal.h: Always define sigset_t if __need_sigset_t is + defined even if __USE_POSIX is not defined. + +1998-02-02 20:51 Zack Weinberg + + * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch + to support obsolete tty major numbers correctly. + +1998-02-02 08:47 H.J. Lu + + * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target + directory first and ignore install error. + + * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract + 128 from ptyno and fix a typo for the BSD style pty. + +1998-02-01 Andreas Schwab + + * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all + syscalls.list's. + +1998-02-01 Andreas Schwab + + * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add + getresuid and getresgid. + + * sysdeps/unix/sysv/linux/getresuid.c: New file. + * sysdeps/unix/sysv/linux/getresgid.c: New file. + + * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add + s_getres[ug]id. + + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise. + +1998-02-02 08:11 H.J. Lu + + * nscd/grpcache.c: Include . + +1998-02-01 16:01 H.J. Lu + + * stdlib/atoll.c: Fix comments. + + * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr. + * sysdeps/posix/ttyname_r.c: Ditto. + +1998-02-03 Andreas Schwab + + * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or + __USE_MISC, independent of __USE_UNIX98. + +1998-02-10 19:18 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs): + Rename from __libc_have_rt_sigs and leave as COMMON data. + +1998-02-04 11:58 Richard Henderson + + * Makeconfig (CFLAGS-.os): Kill -fno-common. + * Makerules (libc.so): Prelink libc_pic.a, allocating commons. + + * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols. + * elf/rtld.map: New file. Needed to define the GLIBC_2.* + version symbols. + * include/libc-symbols.h (symbol_version, default_symbol_version): + Provide asm versions and correct !DO_VERSIONING versions. + * sysdeps/unix/make-syscalls.sh: Recognize version symbols in + the weak symbol list. + + * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs): + Rename from __libc_have_rt_sigs and leave as COMMON data. + * sysdeps/unix/sysv/linux/sigpending.c: Likewise. + * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise. + * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise. + +1998-02-04 16:41 Zack Weinberg + + * sunrpc/Makefile: Correct dependencies of rpcgen. + +1998-02-10 03:00 Ulrich Drepper + + * nscd/Makefile: Fix test for available linuxthreads add-on. + Patch by Zack Weinberg . + +1998-02-05 Andreas Jaeger + + * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown. + +1998-02-03 Andreas Jaeger + + * sysdeps/gnu/Makefile: Respect with-cvs variable. + + * manual/errno.texi (Error Messages): Correct description of + strerror_r. Pointed out by jonas@bagge.se. + +1998-01-29 Andreas Jaeger + + * manual/socket.texi (Host Address Functions): Clarify description + of inet_network. + +1998-02-07 Andreas Schwab + + * sysdeps/unix/grantpt.c (argv): Move const to toplevel. + (grantpt): Delete superfluous cast. + +1998-02-06 Andreas Schwab + + * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on + elf/ldso_install instead of elf/subdir_install. + (elf/ldso_install): New target. + + * elf/Makefile (ldso_install): New target. + +1998-02-07 Andreas Schwab + + * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change + of 1998-01-06. + +1998-02-07 Andreas Schwab + + * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for + constant expressions. + +1998-02-07 Andreas Schwab + + * nss/test-netdb.c: Include for gethostname and "nss.h" + for __nss_configure_lookup. + (output_hostent): Remove unused variable. + +1998-02-07 Andreas Schwab + + * string/tst-inlcall.c: Fix format string. + +1998-02-09 Andreas Jaeger + + * inet/netinet/in.h: Rename second parameter of bindresvport to + avoid buggy gcc warning. [PR libc/412] + +1998-02-04 18:04 Richard Henderson + + * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF. + * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos. + + * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval): + Follow POSIX and make tv_sec a time_t. + * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle + new tv64 syscall as well as fall back to tv32. + * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/select.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries. + + * include/rpcsvc/nis.h: New. Bounce to nis/rpcsvc. + * include/rpcsvc/nis_tags.h: Likewise. + * include/rpcsvc/nislib.h: Likewise. + +1998-02-02 01:12 Ulrich Drepper + + * libc.map: Add _h_errno. + * inet/herrno.c: Make _h_errno weak alias. + + * login/Makefile (distribute): Add pty-internal.h. + + * nscd/Makefile (distribute): Add all the files missing. + + * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs + are available. + + * stdio-common/tstscanf.c: Rewrite a bit to continue after errors + and report status at the end. + + * sysdeps/unix/sysv/linux/syscalls.list: Add lchown. + + * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized + variable. + * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno. + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise. + +1998-01-03 20:47 Mark Kettenis + + * configure.in: Fix --enable-add-ons code. + +1998-02-01 Andreas Jaeger + + * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch + by Rudolf Leitgeb . + [PR libc/441] + + * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first + occurence in cache. Reported by Rudolf Leitgeb + . + [PR libc/440] + +1998-02-01 21:18 Ulrich Drepper + + * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so + that it never is EINTR (which is tested for in _IO_vfscanf). + + * Makefile.in: Call sub-make with CVSOPTS. + + * elf/Makefile (distribute): Add dl-procinfo.h. + + * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S. + +1998-02-01 15:54 Ulrich Drepper + + * version.h (VERSION): Bump to 2.0.92. + +1998-01-31 Phil Blundell + + * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak + alias for __new_sys_siglist. + +1998-02-01 00:53 Ulrich Drepper + + * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and + getgrgid_r.c if thread package is available. + * pwd/Makefile: Likewise. + * grp/getgrnam_r.c: Remove USE_NSCD definition. + * grp/getgrgid_r.c: Likewise. + * pwd/getpwnam_r.c: Likewise. + * pwd/getpwuid_r.c: Likewise. + +1998-01-31 23:46 Ulrich Drepper + + * nss/getXXbyYY_r.c: If NSS function reports too small buffer return + with error to allow user intervention. + * nss/getXXent_r.c: Likewise. + +1998-01-31 21:18 Ulrich Drepper + + * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after + AT_PLATFORM string. Pretty print AT_BASE info. + + * sysdeps/generic/dl-sysdep.c: Include . + (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info. + * sysdeps/generic/dl-procinfo.h: New file. + * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file. + +1998-01-31 20:52 Ulrich Drepper + + * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication. + + * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach + thread and not pthread_detach. + + * nscd/nscd.c: Rewrite to use argp instead of getopt. + +1998-01-31 Phil Blundell + + * configure.in: Add --without-cvs option to suppress automatic + checkin of regenerated files. + * config.make.in: Likewise. + * Makefile: Respect with-cvs setting. + * Makerules: Likewise. + + * configure.in: Allow the standalone ARM port to be configured. + +1998-01-31 Thorsten Kukuk + + * grp/getgrgid_r.c: Define USE_NSCD. + * grp/getgrnam_r.c: Likewise. + * pwd/getpwuid_r.c: Likewise. + * pwd/getpwnam_r.c: Likewise. + + * sysdeps/unix/inet/Subdirs: Add nscd subdir. + + * nss/getXXbyYY_r.c: Try at first nscd. + + * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd). + * nscd/connections.c: New file. + * nscd/dbg_log.c: New file. + * nscd/dbg_log.h: New file. + * nscd/grpcache.c: New file. + * nscd/nscd.c: New file. + * nscd/nscd.h: New file. + * nscd/nscd_conf.c: New file. + * nscd/nscd_stat.c: New file. + * nscd/pwdcache.c: New file. + + * nscd/nscd_getgr_r.c: New, client code, linked into libc. + * nscd/nscd_getpw_r.c: Likewise. + * nscd/nscd_proto.h: New, prototypes for client functions. + + * nscd/nscd.conf: New, example for a configuration file. + * nscd/nscd.init: New, example for a startup script. + + * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to + avoid deadlocks. + * nscd/getgrnam_r.c: Likewise. + * nscd/getpwnam_r.c: Likewise. + * nscd/getpwuid_r.c: Likewise. + +1998-01-31 11:44 Ulrich Drepper + + * intl/Makefile: Use CVSOPTS in cvs invocation. + * po/Makefile: Likewise. + * posix/Makefile: Likewise. + * stdlib/Makefile: Likewise. + +1998-01-31 11:18 Ulrich Drepper + + * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly. + [PR libc/410] + * misc/Makefile (tests): Add tst-efgcvt. + * misc/tst-efgcvt.c: New file. + +1998-01-31 00:21 Ulrich Drepper + + * posix/regex.c: Add some more cleanups by Akim Demaille. + +1998-01-30 23:55 Ulrich Drepper + + * signal/signal.h: Revert last change. + * string/strsignal.c: Regard signal number NSGI as illegal. + * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG + members. + +1998-01-30 23:37 Ulrich Drepper + + * Makefile.in: Add comment about CVSOPTS Makefile variable. + * Makerules: Use CVSOPTS in cvs invocation. + * Makefile: Likewise. + * MakeTAGS: Likewise. + * Make-dist: Likewise. + +1998-01-30 22:37 Ulrich Drepper + + * sysdeps/generic/memmem.c: Correct last change. + +1998-01-30 22:12 Ulrich Drepper + + * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define + CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1. + +1998-01-30 Thorsten Kukuk + + * nis/ypclnt.c: Try at first to use the binding file from ypbind + before using RPC. + +1998-01-28 Andreas Jaeger + + * manual/memory.texi (Heap Consistency Checking): mcheck is + declared in . + Suggested by Jochen Voss [PR libc/438] + +1998-01-28 Andreas Jaeger + + * sysdeps/generic/memmem.c (memmem): An empty needle is at the + beginning of haystack. + +1998-01-29 Andreas Jaeger + + * nss/nss_files/files-service.c: Correct last patch. + +1998-01-30 21:29 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define + __libc_have_rt_sigs. + * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before + including . + * sysdeps/sparc/sparc32/setjmp.S: Likewise. + Patch from the Debian glibc/SPARC package. + +1997-12-12 07:57 H.J. Lu + + * sysdeps/alpha/bzero.S: Fix a typo. + * sysdeps/alpha/htonl.S: Ditto. + * sysdeps/alpha/htons.S: Ditto. + +1998-01-30 Thorsten Kukuk + + * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query. + +1998-01-30 19:58 Ulrich Drepper + + * include/cpio.h: Move to ... + * posix/cpio.h: ...here. + + * locale/programs/ld-collate.c: Fix typo. + + * signal/signal.h: Declare _sys_siglist with NSIG+1 elements. + + * stdio-common/tiformat.c: Add checks for %#.0o and friends. + + * login/utmp_file.c (pututline_file): Don't always report success + if similar entry is found. Patch by Mark M. Kettenis. + +1998-01-30 16:06 Philip Blundell + + * manual/Makefile: Don't try to install the info files if makeinfo + is not available. + +1998-01-30 12:05 Philip Blundell + + * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the + kernel's network ioctls, rather than using to + get them. This way we are sure of maintaining compatibility if + the kernel interface should change. + +1998-01-30 15:52 Ulrich Drepper + + * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h. + +1998-01-25 19:54 Philip Blundell + + * sysdeps/unix/sysv/linux/netrose/rose.h: New file. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it. + +1998-01-27 22:29 Zack Weinberg + + Implement System V pseudoterminal handling. + + * login/Makefile + (routines): Add getpt, grantpt, unlockpt, ptsname. + (libutil-routines): Remove pty. Add openpty, forkpty. + (distribute): New internal header pty-internal.h. + (others): Add the helper program, pt_chown. + (install-others): Install it, in $(libexecdir), mode 4755. + + * login/pty-internal.h: New file. + * login/openpty.c: New file. + * login/forkpty.c: New file. + * login/programs/pt_chown.c: New file. + + * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r. + * stdlib/stdlib.h: Prototype them. + + * config.make.in: Define $(libexecdir). + * Makeconfig: Define $(inst_libexecdir). + + * sysdeps/generic/pty.c: Removed. + * sysdeps/unix/sysv/linux/pty.c: Removed. + + * sysdeps/generic/getpt.c: Stub out. + * sysdeps/generic/grantpt.c: Likewise. + * sysdeps/generic/ptsname.c: Likewise. + * sysdeps/generic/unlockpt.c: Likewise. + + * sysdeps/unix/grantpt.c: New file. + * sysdeps/unix/bsd/getpt.c: New file. + * sysdeps/unix/bsd/unlockpt.c: New file. + * sysdeps/unix/sysv/linux/getpt.c: New file. + * sysdeps/unix/sysv/linux/ptsname.c: New file. + * sysdeps/unix/sysv/linux/unlockpt.c: New file. + +1998-01-29 23:56 Ulrich Drepper + + * localedata/locales/ru_RU: Fix YESEXPR. Patch by lav@yars.free.net. + +1998-01-29 Andreas Jaeger + + * nss/Makefile (tests): Add rule for test-netdb.c. + + * nss/test-netdb.c: New file. + +1998-01-29 02:38 Ulrich Drepper + + * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is + really kept as a variable. Patch by Richard Henderson, + reported by Jakub Jelinek . + + * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading. + * elf/genrtldtbl.awk: Mark machine dependent directory of generated + entries as not existing. + +1998-01-26 Andreas Schwab + + * stdio-common/vfprintf.c (process_arg): Fix printing of octal + zero in alternate form with precision of zero, which must produce + "0". Add braces to avoid ambiguous `else'. + +1998-01-26 Thorsten Kukuk + + * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null + problem with strncpy. + * nis/nss_compat/compat-pwd.c: Likewise. + * nis/nss_compat/comapt-spwd.c: Likewise. + +1998-01-28 Andreas Jaeger + + * assert/assert.h (assert_perror): Correct test for errnum. Patch + by uch@nop.or.jp. [PR libc/437] + +1998-01-26 Andreas Jaeger + + * nis/nis_cache.c: Include for declaration of close. + +1998-01-06 Andreas Jaeger + + * stdio-common/test-popen.c: Include . + + * sysdeps/unix/sysv/linux/if_index.c: Include for + close. + + * inet/getnetgrent_r.c: Include . + + * db2/db/db_conv.c: Include for memcpy. + + * gmon/bb_exit_func.c: Include instead of + so that memcpy is declared. + + * iconv/iconv_open.c: Include for alloca. + + * misc/init-misc.c: Remove unneeded inclusion of . + +1998-01-26 Andreas Jaeger + + * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer + overflow while reading line with fgets. + * grp/fgetgrent_r.c (__fgetgrent_r): Likewise. + +1998-01-27 00:46 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to + unsigned short, not short. + Reported by Andreas Jaeger. + +1998-01-06 Andreas Jaeger + + * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo + (ccept->accept). + + * sysdeps/generic/inttypes.h: Fix spelling. + +1998-01-04 Andreas Jaeger + + * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h. + + * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h. + +1998-01-27 00:30 Ulrich Drepper + + * stdio-common/printf.h (struct print_info): Add new bitfield is_char. + * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char + field for hh modifier. + * stdio-common/vfprint.c: Use is_char field and do not depend in + is_short having the value 2. + Bug reported by Andreas Jaeger. + +1998-01-05 Andreas Jaeger + + * libio/freopen.c (freopen): Call _IO_old_freopen only if defined + PIC && DO_VERSIONING. + +1998-01-24 Andreas Schwab + + * Rules: Add rules for $(common-objpfx)dummy$o. + +1998-01-26 Richard Henderson + + * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the + unimplemented OSF/1 definitions so that they are not accidentally seen. + + * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration + of the trampoline function into the macro. + * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change; + kernel 2.1.82 has this fixed. + + * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file. + * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file. + +1998-01-26 Ulrich Drepper + + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to + support sigaction on kernels > 2.1.7x. + +1998-01-01 13:52 Ulrich Drepper + + * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file + if it is empty. + + * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file. + Patch by David Engel . + + * configure.in: Fix another typo in --enable-add-ons code. + +1998-01-26 03:48 Ulrich Drepper + + * sysdeps/unix/sysv/linux/siglist.c: Add copyright text. + +1998-01-26 Andreas Jaeger + + * nss/nss_files/files-network.c: Correct order of parameters for + getnetbyaddr. + +1998-01-26 00:57 Ulrich Drepper + + * db2/Makefile (routines): Add os_alloc. + * db2/db.h: Update from db-2.3.16. + * db2/db_185.h: Likewise. + * db2/db_int.h: Likewise. + * db2/btree/bt_close.c: Likewise. + * db2/btree/bt_cursor.c: Likewise. + * db2/btree/bt_delete.c: Likewise. + * db2/btree/bt_open.c: Likewise. + * db2/btree/bt_page.c: Likewise. + * db2/btree/bt_put.c: Likewise. + * db2/btree/bt_rec.c: Likewise. + * db2/btree/bt_recno.c: Likewise. + * db2/btree/btree_auto.c: Likewise. + * db2/common/db_appinit.c: Likewise. + * db2/common/db_apprec.c: Likewise. + * db2/common/db_err.c: Likewise. + * db2/common/db_region.c: Likewise. + * db2/common/db_shash.c: Likewise. + * db2/db/db.c: Likewise. + * db2/db/db_auto.c: Likewise. + * db2/db/db_conv.c: Likewise. + * db2/db/db_dispatch.c: Likewise. + * db2/db/db_dup.c: Likewise. + * db2/db/db_pr.c: Likewise. + * db2/db/db_rec.c: Likewise. + * db2/db185/db185.c: Likewise. + * db2/dbm/dbm.c: Likewise. + * db2/hash/hash.c: Likewise. + * db2/hash/hash_auto.c: Likewise. + * db2/hash/hash_dup.c: Likewise. + * db2/hash/hash_page.c: Likewise. + * db2/hash/hash_rec.c: Likewise. + * db2/include/btree_ext.h: Likewise. + * db2/include/clib_ext.h: Likewise. + * db2/include/common_ext.h: Likewise. + * db2/include/db.h.src: Likewise. + * db2/include/db_185.h.src: Likewise. + * db2/include/db_am.h: Likewise. + * db2/include/db_ext.h: Likewise. + * db2/include/db_int.h.src: Likewise. + * db2/include/hash_ext.h: Likewise. + * db2/include/lock_ext.h: Likewise. + * db2/include/log.h: Likewise. + * db2/include/log_auto.h: Likewise. + * db2/include/log_ext.h: Likewise. + * db2/include/mp.h: Likewise. + * db2/include/mp_ext.h: Likewise. + * db2/include/mutex_ext.h: Likewise. + * db2/include/os_ext.h: Likewise. + * db2/include/os_func.h: Likewise. + * db2/include/txn_ext.h: Likewise. + * db2/lock/lock.c: Likewise. + * db2/lock/lock_util.c: Likewise. + * db2/log/log.c: Likewise. + * db2/log/log.src: Likewise. + * db2/log/log_archive.c: Likewise. + * db2/log/log_auto.c: Likewise. + * db2/log/log_get.c: Likewise. + * db2/log/log_put.c: Likewise. + * db2/log/log_rec.c: Likewise. + * db2/log/log_register.c: Likewise. + * db2/mp/mp_bh.c: Likewise. + * db2/mp/mp_fget.c: Likewise. + * db2/mp/mp_fopen.c: Likewise. + * db2/mp/mp_fput.c: Likewise. + * db2/mp/mp_pr.c: Likewise. + * db2/mp/mp_sync.c: Likewise. + * db2/mutex/mutex.c: Likewise. + * db2/os/os_alloc.c: Likewise. + * db2/os/os_config.c: Likewise. + * db2/os/os_stat.c: Likewise. + * db2/progs/db_checkpoint/db_checkpoint.c: Likewise. + * db2/progs/db_deadlock/db_deadlock.c: Likewise. + * db2/progs/db_load/db_load.c: Likewise. + * db2/progs/db_printlog/db_printlog.c: Likewise. + * db2/progs/db_recover/db_recover.c: Likewise. + * db2/progs/db_stat/db_stat.c: Likewise. + * db2/txn/txn.c: Likewise. + + * elf/dl-close.c (_dl_close): Rename inner variable named map to imap. + Unmap memory blocks in reverse order of allocation. + Call munmap with load address added to offset. + Bug reported by Miguel de Icaza. + + * locale/programs/ld-collate.c (collate_end_weight): Correctly fill + up weight array. + + * localedata/locales/cs_CZ: Update by Michael Mraka + . + + * misc/sys/syslog.h: Reformat a bit. Don't declare vsyslog unless + __USE_BSD. + + * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while + reading line with fgets. + * nis/nss_compat/compat-pwd.c: Likewise. + * nis/nss_compat/compat-spwd.c: Likewise. + * nss/nss_files/files-XXX.c: Likewise. + * nss/nss_files/files-alias.c: Likewise. + * shadow/fgetspent_r.c: Likewise. + + * string/strerror_r.c: Correct comment. Patch by Andreas Jaeger. + + * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV. + * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise. + + * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for + FP register content in ucontext_t. + +1998-01-22 Andreas Jaeger + + * sysdeps/libm-ieee754/s_modfl.c (modf): Correct + calculation. Patch by Markus Schoder + . + + * math/libm-test.c (modf_test): Add more tests for modf. + + * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and + munlock according to Unix98. + +1998-01-25 Andreas Jaeger + + * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to + AF_INET. + +1998-01-21 07:22 H.J. Lu + + * sysdeps/posix/ttyname.c: Handle symbolic links. + * sysdeps/posix/ttyname_r.c: Ditto. + +1998-01-25 19:39 Ulrich Drepper + + * db2/makedb.c (process_input): Write terminating \0 for value. + (print_database): Simply print value string, don't use length. + +1998-01-24 Andreas Jaeger + + * nss/nsswitch.c (__nss_configure_lookup): Correct test for early + exit of loop. + +1998-01-25 Thorsten Kukuk + + * nis/ypclnt.c: Don't set dom_client to NULL, or we will not + close all sockets. + +1998-01-25 14:54 Ulrich Drepper + + * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and + sigset. + * signal/sighold.c: New file. + * signal/sigrelse.c: New file. + * sysdeps/generic/sigignore.c: New file. + * sysdeps/generic/sigset.c: New file. + * sysdeps/posix/sigignore.c: New file. + * sysdeps/posix/sigset.c: New file. + * signal/signal.h: Add prototypes for new functions. + + * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD. + * sysdeps/unix/sysv/linux/bits/signum.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise. + +1998-01-23 00:16 Tim Waugh + + * posix/wordexp.c: Added IFS field-splitting in parameter and + command substitution. Fixed an IFS-related bug that caused an + infinite loop. + +1998-01-25 12:38 Ulrich Drepper + + * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext, + and swapcontext. + * stdlib/ucontext.h: Correct prototypes. + * sysdeps/generic/getcontext.c: New file. + * sysdeps/generic/setcontext.c: New file. + * sysdeps/generic/makecontext.c: New file. + * sysdeps/generic/swapcontext.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed. + +1998-01-25 04:07 Ulrich Drepper + + * resource/sys/resource.h: Remove #include of ulimit.h which is + not allowed by SUSv2 and not available on other systems. + * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h. + + * streams/Makefile: New file. + * streams/stropts.h: New file. + * sysdeps/generic/bits/stropts.h: New file. + * sysdeps/generic/isastream.c: New file. + * sysdeps/generic/getmsg.c: New file. + * sysdeps/generic/getpmsg.c: New file. + * sysdeps/generic/putmsg.c: New file. + * sysdeps/generic/putpmsg.c: New file. + * sysdeps/generic/fattach.c: New file. + * sysdeps/generic/fdetach.c: New file. + * sysdeps/unix/inet/Subdirs: Add streams. + * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and + __t_uscalar_t. + * sysdeps/unix/sysv/linux/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise. + + * sysdeps/mach/_strerror.c: Follow changes of generic version to + handle small buffers correctly. + +1998-01-24 17:31 H.J. Lu + + * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): + Remove the 3rd arg and add declaration for _dl_runtime_resolve + and _dl_runtime_profile. + +1998-01-25 02:42 Ulrich Drepper + + * include/cpio.h: New file. Mainly copied from GNU cpio. + * posix/Makefile (headers): Add cpio.h. + +1998-01-24 Thorsten Kukuk + + * nis/Makefile: Distribute nis_cache2.h, add nis cache functions + to routines. + * nis/nis_cache.c: New file. + * nis/nis_cache2.h: New file. + * nis/nis_cache2_xdr.c: New file. + * nis/nis_call.c: Changes for cache2_info parameter. + * nis/nis_checkpoint.c: Likewise. + * nis/nis_intern.h: Likewise. + * nis/nis_mkdir.c: Likewise. + * nis/nis_ping.c: Likewise. + * nis/nis_rmdir.c: Likewise. + * nis/nis_server.c: Likewise. + * nis/nis_util.c: Likewise. + +1997-12-30 Thorsten Kukuk + + * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and + return/errnop codes. + * nis/nss_nisplus/nisplus-ethers.c: Likewise. + * nis/nss_nisplus/nisplus-grp.c: Likewise. + * nis/nss_nisplus/nisplus-hosts.c: Likewise. + * nis/nss_nisplus/nisplus-proto.c: Likewise. + * nis/nss_nisplus/nisplus-publickey.c: Likewise. + * nis/nss_nisplus/nisplus-pwd.c: Likewise. + * nis/nss_nisplus/nisplus-rpc.c: Likewise + * nis/nss_nisplus/nisplus-service.c: Likewise. + * nis/nss_nisplus/nisplus-spwd.c: Likewise. + +1997-12-28 Thorsten Kukuk + + * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno(). + * nis/nss_nis/nis-ethers.c: Likewise. + * nis/nss_nis/nis-grp.c: Likewise. + * nis/nss_nis/nis-hosts.c: Likewise. + * nis/nss_nis/nis-network.c: Likewise. + * nis/nss_nis/nis-proto.c: Likewise. + * nis/nss_nis/nis-hosts.c: Likewise. + * nis/nss_nis/nis-network.c: Likewise. + * nis/nss_nis/nis-proto.c: Likewise. + * nis/nss_nis/nis-publickey.c: Likewise. + * nis/nss_nis/nis-pwd.c: Likewise. + * nis/nss_nis/nis-rpc.c: Likewise. + * nis/nss_nis/nis-service.c: Likewise. + * nis/nss_nis/nis-spwd.c: Likewise. + +1998-01-24 Ulrich Drepper + + * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen): + Added to follow latest kernel development. + +1998-01-24 15:13 Ulrich Drepper + + * nss/db-Makefile: Handle empty and comment lines better. + ($(VAR_DB)/services.db): Generate entries with missing protocol + value. + +1998-01-23 Andreas Jaeger + + * nss/nss_files/files-service.c (getservbyport): Allow proto == + NULL. + (getservbyname): Allow proto == NULL. + Pointed out by David N. Welton . + [PR libc/430]. + +1998-01-24 11:34 Ulrich Drepper + + * nis/nislib/nislib.h: Finally removed. + + * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's + C compiler. From Kaveh Ghazi. + (TYPE_MINIMUM): Define. + (TYPE_MAXIMUM): Define. + (TIME_T_MIN): Use TYPE_MINIMUM. + (TIME_T_MAX): Use TYPE_MAXIMUM. + Patch by Jim Meyering . + +1998-01-22 00:55 Ulrich Drepper + + * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo, + __pread64, __pwrite64, and __getpid. + + * rt/aio_misc.c: Use pread and pwrite instead of __ protected + versions. + +1998-01-06 Andreas Schwab + + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the + cancelable socket functions as __libc_xxx with __xxx as weak + alias. + * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + + * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be + redefined. + * sysdeps/unix/sysv/linux/i386/socket.S: Likewise. + * sysdeps/unix/sysv/linux/arm/socket.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise. + + * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name + and __xxx a weak alias. + * sysdeps/unix/sysv/linux/connect.S: Likewise. + * sysdeps/unix/sysv/linux/recv.S: Likewise. + * sysdeps/unix/sysv/linux/recvfrom.S: Likewise. + * sysdeps/unix/sysv/linux/recvmsg.S: Likewise. + * sysdeps/unix/sysv/linux/send.S: Likewise. + * sysdeps/unix/sysv/linux/sendmsg.S: Likewise. + * sysdeps/unix/sysv/linux/sendto.S: Likewise. + +1998-01-21 Andreas Jaeger + + * locale/langinfo.h: Add defines. + + * dirent/dirent.h: Add defines for DT_*, check also for + _DIRENT_HAVE_D_TYPE. + Suggested by Roland McGrath. + +1998-01-16 Andreas Jaeger + + * sysdeps/unix/sysv/linux/netinet/ip_fw.h: + Update from Linux 2.1.73+79. + + * README.template: Update information about possible + configurations. + + * manual/mbyte.texi (Wide String Conversion): Fix declaration of + wcstombs. Pointed out by Jochen Voss . + [PR libc/417]. + + * manual/time.texi (Priority): Correct description of + PRIO_MAX. Pointed out by Jochen Voss . + [PR libc/416]. + +11998-01-21 21:34 Ulrich Drepper + + * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and + FP_ILOGNAN. Patch by a sun . + +1998-01-21 17:53 Ulrich Drepper + + * sysdeps/generic/_strerror.c: Handle BUFLEN == 0. Reported by + Andreas Jaeger. + +1998-01-20 18:13 Ulrich Drepper + + * locale/programs/ld-collate.c: Little optimizations. + + * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable. + + * string/Makefile (tests): Add tst-inlcall. + * string/tst-inlcall.c: New file. + + * string/strsignal.c: Add support for real-time signals. + + * sysdeps/generic/_strerror.c: Fix Handling of unknown error in + presense of small buffer. + + * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros. + + * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation + for i686. + + * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to + _NSIG + 1. + +1998-01-02 15:10 Matthias Urlichs + + * Rules: Add explicit rule for dummy.o; at least one library needs + it and it isn't autogenerated by the default rules. + +1997-12-31 Andreas Schwab + + * math/libm-test.c: Tweak epsilons. + +1997-12-31 Andreas Schwab + + * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the + child. + (feenv_mask_test): Likewise. + +1998-01-01 Andreas Schwab + + * Makeconfig: Don't export CPPFLAGS. + +1998-01-01 Andreas Schwab + + * sunrpc/rpc_main.c (parseargs): Use perror to print error + message. + +1998-01-15 Andreas Schwab + + * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include + terminating null in key size. + +1998-01-13 Andreas Schwab + + * nss/nss_files/files-service.c: Fix allocation size to include + length of PROTO. + + * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if + applicable. Fix return value and error checking. + (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over + unparsable lines. + (DB_LOOKUP): Allocate space for terminating null byte. + + * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate + uids specially. + + * db2/makedb.c (process_input): Continue processing if a duplicate + key is encountered. + +1998-01-19 15:20 Ulrich Drepper + + * time/tzfile.h: Updated from tzcode1998b. + * time/zdump.c: Likewise. + * time/zic.c: Likewise. + * time/africa: Update from tzdata1998b. + * time/antarctica: Likewise. + * time/asia: Likewise. + * time/australasia: Likewise. + * time/etcetera: Likewise. + * time/europe: Likewise. + * time/leapseconds: Likewise. + * time/northamerica: Likewise. + * time/southamerica: Likewise. + +1998-01-12 Andreas Jaeger + + * nss/nss_files/files-alias.c (get_next_alias): Do mail alias + lookups ignoring case. + * nss/nss_files/files-network.c: Do network lookups ignoring + case. + * nss/nss_files/files-hosts.c: Do hostname lookups ignoring + case. + * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for + case insensitive comparing. + Patches by Cristian Gafton . + +1998-01-09 Andreas Jaeger + + * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines. Suggested + by Roland McGrath. [PR libc/395] + +1998-01-08 Andreas Jaeger + + * manual/arith.texi (Parsing of Integers): Correct description of + strtoul. Pointed out by Scott Snyder . + [PR libc/396] + +1997-12-30 14:14 Matthias Urlichs + + * misc/lsearch.c (lsearch): Return a pointer to the new element + if one was "allocated". + +1997-12-26 Andreas Schwab + + * string/strsignal.c: NSIG is not a valid index into + _sys_siglist. Don't zap the last character of the "Unknown + signal" message. + +1998-01-19 15:08 Ulrich Drepper + + * locale/programs/charmap.c (parse_charmap): Correct parsing of + ellipsis expressions. + + * locale/programs/charset.c (insert_char): Correctly insert value + of eliipsis expression. + +1997-12-28 15:08 Ulrich Drepper + + * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including + . + * sysdeps/powerpc/setjmp.S: Likewise. + Patches by Matt McLean . + + * Make-dist (sysdep_dirs): Ignore bits dirs while searching. + + * Makefile: Undo last patch. + (distribute): Add test-installation.pl. + + * configure.in: Correct handling of --enable-add-ons without parameter. + Correct address of WWW pages. + + * libc.map: Add _nl_domain_bindings. + + * db2/mutex/tsl_parisc.s: New file. + + * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c, + and extra-module.mk. + + * localedata/Makefile (distribute): New. Add all the files. + + * stdlib/Makefile (headers): Add inttypes.h. + (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax. + * sysdeps/generic/inttypes.h: New file. + * sysdeps/generic/strtoimax.c: New file. + * sysdeps/generic/strtoumax.c: New file. + * sysdeps/generic/wcstoimax.c: New file. + * sysdeps/generic/wcstoumax.c: New file. + * sysdeps/wordsize-32/Dist: Removed. + * sysdeps/wordsize-32/Makefile: Removed. + * sysdeps/wordsize-64/Dist: Removed. + * sysdeps/wordsize-64/Makefile: Removed. + * sysdeps/generic/bits/environments.h: New file. + + * include/limits.h: Define MB_LEN_MAX in any case to 6. The gcc + header is still not correct. + + * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types. + * posix/unistd.h: Likewise. + * sysdeps/generic/sys/mman.h: Likewise. + * sysdeps/unix/sysv/linux/sys/mman.h: Likewise. + + * manual/arith.texi: Change definition of mul macro. + * manual/math.texi: Likewise. + + * misc/Makefile (routines): Add mmap64. + * sysdeps/generic/mmap64.c: New file. + * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64 + aliases to mmap. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + + * sysdeps/generic/setrlimit64.c: Don't mark as stub. + + * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print. + + * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma. + + * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines + FOPEN_MAX also when included by limits.h. + * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise. + + * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h, + and netrom/netrom.h. + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add + oldsiglist to sysdep_routines, not aux. + [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h. + + * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK, + and SOL_NETROM definition. + + * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S. + + * sysdeps/unix/sysv/linux/net/route.h: Pretty print. + * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print. + +1997-12-25 Ulrich Drepper + + * sysdeps/unix/sysv/linux/alpha/net/route.h: New file. + + * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace + sa_handler with k_sa_handler. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as + strong alias. + Reported by a sun. + + * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define + __libc_have_rt_sigs here. + * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here. + * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/sigpending.c: Correct comment. + * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise. + +1997-12-11 07:51 Geoff Keating + + * sysdeps/powerpc/atomicity.h: New file. + * sysdeps/mach/powerpc/machine-lock.h: New file. + + * Rules: Use -fpic to build anything that might end up in a users' + shared library. + + * sysdeps/powerpc/s_fdim.c: New file. + * sysdeps/powerpc/s_fdimf.c: New file. + * sysdeps/powerpc/s_fmax.S: New file. + * sysdeps/powerpc/s_fmaxf.S: New file. + * sysdeps/powerpc/s_fmin.S: New file. + * sysdeps/powerpc/s_fminf.S: New file. + * sysdeps/powerpc/s_llrint.c: Now is for double. + * sysdeps/powerpc/s_llrintf.c: New file. + * sysdeps/powerpc/s_llround.c: Now is for double. + * sysdeps/powerpc/s_llroundf.c: New file. + * sysdeps/powerpc/s_lrint.c: Now is for double. + * sysdeps/powerpc/s_lrintf.S: New file. + * sysdeps/powerpc/s_lround.c: Now is for double. + * sysdeps/powerpc/s_lroundf.c: New file. + * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint, + lrintf, fdim, fdimf. + + * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/ + file directly, use its parent. + + * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++' + (for the third time). + +1997-12-20 13:50 Richard Henderson + + * posix/sched.h: timespec is in . + + * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H. + +1997-12-22 18:10 Ulrich Drepper + + * configure.in: Stop with error if --disable-static is used when + the shared lib uses this library. + + * gen-FAQ.pl: I've perl installed in /usr/bin. + + * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX. + + Fix Unix98 conformance problems in the headers. + * catgets/nl_types.h: Define nl_item. + * grp/grp.h: Define gid_t. + * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE. + * include/nl_types.h: New file. + * include/ulimit.h: New file. + * io/fcntl.h: Include sys/stat.h for Unix98. Don't define locking + constants in POSIX mode. + * io/utime.h: Get definition for time_t. + * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t, + uid_t, pid_t. Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98. + * libio/stdio.h: Define va_list. Make snprintf also available is + __USE_UNIX98. Declare getopt function and variables. + * locale/langinfo.h: Include nl_types.h. Don't define nl_item. + Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases. + * math/math.h: Defined M_* constants as double for Unix98 mode. + * posix/fnmatch.h: Pretty print. Define FNM_NOSYS. + * posix/glob.h: Pretty print. Define GLOB_NOSYS. + * posix/regex.h: Define REG_NOSYS. + * posix/wordexp.h: Define WRDE_NOSYS. + * posix/unistd.h: Define _POSIX2_VERSION. Define _XOPEN_VERSION to + 500 for Unix98. + * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined + somewhere else as well. Define clock_t for Unix98. + * posix/sys/wait.h: Define pid_t. + * pwd/pwd.h: Define gid_t, uid_t. + * resource/Makefile (headers): Add ulimit.h. + * resource/ulimit.h: New file. + * sysdeps/generic/ulimit.c: Define according to X/Open using varargs + instead of second argument. + * sysdeps/unix/bsd/ulimit.c: Likewise. Use UL_* constants. + * sysdeps/unix/sysv/linux/ulimit.c: Likewise. + * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h. + * signal/signal.h: Define pid_t. + * string/string.h: Don't declare BSD string functions in POSIX mode. + * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE. Add + _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS. + * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98 + and POSIX. + + * inet/test_ifindex.c: Change test so that it does not fail for + interface aliases. + + * locale/programs/locale.c (show_info): Use correct cast sequence + for 64bit machines. + + * malloc/malloc.c: __malloc_initialized now signals three states: + uninitialized, initializing, initialized. Used in mcheck. + * malloc/mcheck.c (mabort): Add '\n' to messages. + (mcheck): Allow installation when malloc is uninitialized or is + just initializing. + + * manual/memory.texi: Explain mtrace output a bit more. + + * math/libm-test.c: Add more epsilons. + + * misc/regexp.h (compile): Remove __ prefix from parameter names. + + * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy + instead of strcpy for security. + * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise. + * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise. + * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise. + + * nss/digits_dots.c: Pretty print. + + * posix/getconf.c (vars): Add symbols for programming environment + recognition. Recognize --version. + + * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY, + _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS. + * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols. + + * sysdeps/generic/bits/stdio_lim.h: Implement handling of + __need_FOPEN_MAX. + * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise. + * sysdeps/posix/mk-stdiolim.c: Change to generate file handling + __need_FOPEN_MAX. + + * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c. + * sysdeps/unix/sysv/linux/rt_sigpending.c: New file. + + * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t. + * sysdeps/unix/sysv/linux/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t. + * sysdeps/unix/sysv/linux/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/types.h: New file. + + * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8, + SCNu*. + * sysdeps/wordsize-64/inttypes.h: Likewise. + + * time/africa: Update from tzdata1997j. + * time/antarctica: Likewise. + * time/asia: Likewise. + * time/australasia: Likewise. + * time/backward: Likewise. + * time/etcetera: Likewise. + * time/europe: Likewise. + * time/factory: Likewise. + * time/northamerica: Likewise. + * time/pacificnew: Likewise. + * time/southamerica: Likewise. + + * time/tzfile.h: Update from tzcode1997h. + * time/zic.c: Likewise. + + * wcsmbs/wchar.h: Get definition of FILE. Define `struct tm' tag. + Declare wcwidth and wcswidth for __USE_XOPEN. Declare the + isw*() functions for Unix98. + * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias. + * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx + is defined. + +1997-12-21 Andreas Schwab + + * locale/duplocale.c: Increase usage_count only if less than + MAX_USAGE_COUNT. + * locale/freelocale.c: Test usage_count against UNDELETABLE, not + MAX_USAGE_COUNT. + * locale/setlocale.c: Likewise. + +1997-12-20 Andreas Schwab + + * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct + dependency to make it easier to install it selectively. + + * Makerules (.SUFFIXES): Don't define any suffixes. + +1997-12-20 Andreas Schwab + + * sysdeps/generic/fstatfs64.c: Emulate using fstatfs. + * sysdeps/generic/statfs64.c: Emulate using statfs. + * sysdeps/generic/getrlimit64.c: Emulate using getrlimit. + * sysdeps/generic/setrlimit64.c: Emulate using setrlimit. + * sysdpes/generic/ftruncate64.c: New file. + * sysdpes/generic/truncate64.c: New file. + + * sysdeps/generic/bits/stat.h: Add LFS support. + * sysdeps/generic/bits/statfs.h: Likewise. + + * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY) + [__USE_FILE_OFFSET64]: Make long long constant. + (RLIM64_INFINITY): Likewise. + + * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct + for LFS support. + (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define. + * sysdeps/generic/bits/resource.h: Likewise. + + * misc/Makefile (routines): Add truncate64 and ftruncate64. + + * include/features.h: Don't prevent LFS support from defining BSD + and SYSV things. + + * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names. + * io/ftw.h [__USE_FILE_OFFSET64]: Likewise. + * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise. + + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for + fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + + * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file. + * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file. + * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file. + * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file. + * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file. + * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file. + * sysdeps/unix/sysv/linux/alpha/readdir.c: New file. + * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file. + * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file. + * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file. + + * sysdeps/unix/sysv/linux/fxstat64.c: New file. + * sysdeps/unix/sysv/linux/lxstat64.c: New file. + * sysdeps/unix/sysv/linux/xstat64.c: New file. + * sysdeps/unix/sysv/linux/readdir64.c: New file. + * sysdeps/unix/sysv/linux/readdir64_r.c: New file. + + * sysdeps/unix/sysv/linux/getdents64.c: New file. + * sysdeps/unix/sysv/linux/Makefile (sysdep_routines) + [$(subdir)=dirent]: Add getdents64. + * sysdeps/unix/sysv/linux/Dist: Add getdents64.c. + + * sysdeps/unix/sysv/linux/xstatconv.c: LFS support. + +1997-12-18 12:07 Philip Blundell + + * sysdeps/generic/bits/statfs.h (struct statfs64): Added. + + * sysdeps/generic/getrlimit.c: Include . + * sysdeps/generic/getrlimit64.c: Likewise. + * sysdeps/generic/setrlimit.c: Likewise. + * sysdeps/generic/setrlimit64.c: Likewise. + +1997-12-17 13:57 Philip Blundell + + * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not + using versioning. + + * sysdeps/generic/waitid.c: Include for id_t. + + * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added. + +1997-12-16 Andreas Schwab + + * locale/programs/ld-ctype.c (ctype_output): Clear out the padding + after the codeset name. + +1997-12-16 Andreas Schwab + + * libc.map: Add get_kernel_syms. + +1997-12-16 Andreas Schwab + + * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make + static. + * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): + Likewise. Fix condition. + +1997-12-16 Andreas Schwab + + * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen. + +1997-12-15 Andreas Schwab + + * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline. + Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC. + +1997-12-15 Andreas Schwab + + * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back. + * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this + instead. Oops. + +1997-12-16 Andreas Jaeger + + * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting. + +1997-12-16 Andreas Jaeger + + * math/libm-test.c (catanh_test): Change epsilon. + Reported by H.J. Lu. + +1997-12-14 19:39 H.J. Lu + + * libc.map (__getpid): Added for linuxthreads. + +1997-12-13 21:09 H.J. Lu + + * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define + it if gcc uses static variable in DWARF2 unwind information + for exception support. + + * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New. + + * elf/soinit.c (__libc_global_ctors, _fini): Handle + HAVE_DWARF2_UNWIND_INFO_STATIC. + + * libc.map (__register_frame*, __deregister_frame*): Make them + global. + +1997-12-15 Andreas Jaeger + + * math/libm-test.c: Add more tests for "normal" values. + +1997-12-13 Andreas Schwab + + * stdio-common/printf_fphex.c: Fix printing of long double number + with a biased exponent of zero. Fix rounding. + +1997-12-13 Andreas Schwab + + * sunrpc/rpc_main.c: Accept new flag -$. + * sunrpc/Makefile (rpcgen-cmd): Pass it here. + +1997-12-13 Andreas Schwab + + * Makefile ($(inst_slibdir)/libc-$(version).so): Install the + dynamic linker first, in case the interface has changed. + +1997-12-13 Andreas Schwab + + * nss/nss_files/files-alias.c (get_next_alias): Fix parameter + order. + +1997-12-12 Andreas Schwab + + * math/tgmath.h: Check for double first, for architectures where + sizeof (long double) == sizeof (double). + +1997-12-07 Andreas Jaeger + + * math/libm-test.c: New tests for "normal" values added for most + functions. + +1997-12-14 21:33 Ulrich Drepper + + * version.h (VERSION): Bump to 2.0.91. + + * db2/makedb.c (process_input): Fix typo in message. + * sunrpc/rpcinfo.c (pmapdump): Unify messages. + + * elf/dynamic-link.h: Pretty print. + + * elf/rtld.c: Allow multiple preloading of a shared object. + + * include/limits.h: Prevent multiple inclusion. + + * malloc/Makefile (headers): Add mcheck.h. + (distribute): Remove it here. + * malloc/mcheck.h: Pretty print. + * malloc/mtrace.c (mallenv): Make `const'. + * malloc/mtrace.pl: Don't print table head for memory leaks if there + are none. + * manual/memory.texi: Update descriptor of malloc hooks. + + * posix/Makefile (routines): Add waitid. + * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based + on __id_t. + * posix/sys/wait.h: Define idtype_t type. + Add prototype for waitid. + * signal/signal.h: Move definition of sigval_t to . + * sysdeps/generic/waitid.c: Stub for waitid. + * sysdeps/generic/bits/siginfo.h: Define sigval_t. Arrange to work + the __need_siginfo_t defined. + * sysdeps/unix/sysv/linux/bits/siginfo: Likewise. + * sysdeps/generic/bits/types.h: Define __id_t. + Correct definition of __FDMASK. + * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise. + + * sysdeps/posix/waitid.c: New file. + Provided by Zack Weinberg. + + * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request. + + * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): + Add missing parameters. + + * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure. + * sysdeps/generic/enbl-secure.c: Don't define __libc_uid. + * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid. + * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is + initialized. + + * sysdeps/i386/dl-machine.h: Little cleanup. + + * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions. + (__finite): Mark function as const. + Add inline code for __ieee754_atan2. + + * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation + (but don't use it now). + * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of + __atan. + * sysdeps/libm-ieee754/s_catanf.c: Likewise. + * sysdeps/libm-ieee754/s_catanl.c: Likewise. + * sysdeps/libm-ieee754/s_catanh.c: Likewise. Correct sign of + real part. + * sysdeps/libm-ieee754/s_catanhf.c: Likewise. + * sysdeps/libm-ieee754/s_catanhl.c: Likewise. + * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct + __ieee754_atan2 to base 10. + * sysdeps/libm-ieee754/s_clog10f.c: Likewise. + * sysdeps/libm-ieee754/s_clog10l.c: Likewise. + + * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as + old_kernel_sigaction. + + * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print. + + * wctype/Makefile (routines): Add wctype_l. + * wctype/wctype.h: Add declaration of __wctype_l. + * wctype/wctype_l.c: New file. + +1997-12-10 00:38 Ulrich Drepper + + * locale/C-ctype.c: Correct data for isw* functions. + * locale/programs/ld-ctype.c: Write 32bit char classes in correct + byte order. + * wctype/test_wctype.c: Add test for isw* functions. + * wctype/wctype.c: Return value with expected byte order. + +1997-12-13 Thorsten Kukuk + + * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice. + +1997-12-05 20:19 H.J. Lu + + * iconvdata/Makefile: Fix a typo. + + * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add + oldsiglist for shared library. + + * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist, + sys_sigabbrev): Make them as the default version GLIBC_2.1. + + * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist, + sys_siglist, sys_sigabbrev): New file. Make them as the old + version GLIBC_2.0. + + * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added + to GLIBC_2.1. + +1997-11-20 18:02 H.J. Lu + + * libio/iofgets.c (_IO_fgets): Return an error only if there + is a new error. + * libio/iogets.c (_IO_gets): Ditto. + +1997-11-20 07:26 H.J. Lu + + * libc.map (_IO_fdopen): Add support for GLIBC_2.0. + + * libio/Makefile (routines, shared-only-routines): Add + oldiofdopen. + + * libio/fileops.c: Don't use _IO_FILE_complete. + * libio/iofdopen.c: Ditto. + * libio/iofopen.c: Ditto. + * libio/iofopen64.c: Ditto. + * libio/iopopen.c: Ditto. + * libio/iovdprintf.c: Ditto. + + * libio/genops.c (_IO_init): Set _vtable_offset to 0. + + * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen + and make it for _IO_fdopen/fdopen version GLIBC_2.1. + + * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose, + _IO_old_fdopen, _IO_new_fdopen): New declaration. + + * libio/libio.h (_IO_FILE): Add more fields. + (_IO_FILE_complete): Defined and make _IO_FILE be the old + one if _IO_USE_OLD_IO_FILE is defined + (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make + them _IO_FILE_complete. + + * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset + to adjust vtable. + (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of + _IO_JUMPS. + (_IO_FILE_complete): Commented out. + + * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE. + * libio/oldiofclose.c: Ditto. + * libio/oldiofopen.c: Ditto. + * libio/oldstdfiles.c: Ditto. + + * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset + for the old _IO_FILE. + + * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME. + (_IO_check_libio): Set _vtable_offset for old stdin, stdout + and stderr. + + * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete + and remove INAME. + + * libio/stdio.c (stdin, stdout, stdin): Don't use + _IO_FILE_complete. + + * libio/oldiofdopen.c: New. + + * stdio-common/vfprintf.c (buffered_vfprintf): Set + hp->_vtable_offset to 0. + +1997-11-18 08:03 H.J. Lu + + * libc.map (_IO_file_open): Added. + + * libio/libioP.h (_IO_file_open): Declared. + + * libio/fileops.c (_IO_file_open): New. + (_IO_file_fopen): Call _IO_file_open (). + + * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN. + * sysdeps/unix/sysv/linux/_G_config.h: Likewise. + +1997-12-07 Andreas Schwab + + * signal/signal.h: Fix selection of signal semantics to match + comment. + +1997-12-11 Andreas Schwab + + * sysdeps/unix/sysv/linux/sigreturn.c: Stub out. + * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and + rt_sigreturn. + * sysdeps/unix/sysv/linux/Makefile (sysdep_routines) + [$(subdir)=signal]: Remove rt_sigreturn. + * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted. + * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted. + * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted. + +1997-12-11 Andreas Schwab + + * sysdeps/unix/sysv/linux/sigaction.c: Include . Fix + declarations. + +1997-12-12 Andreas Schwab + + * iconvdata/extra-module.mk: Expand extra-objs now. + +1997-12-09 Andreas Schwab + + * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of + inline functions by feature tests to avoid warning about missing + prototype declarations. + +1997-12-09 15:08 Thorsten Kukuk + + * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix + return code for non existent +name entries. + * nis/nss_compat/compat-pwd.c: Likewise. + * nis/nss_compat/compat-spwd.c: Likewise. + +1997-12-10 13:52 Philip Blundell + + * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added. + (EIO): Likewise. + (ENOSPC): Likewise. + (EEXIST): Likewise. + (__errno_location): Likewise. + + * sysdeps/generic/sys/param.h (MAXPATHLEN): Added. + + * sysdeps/generic/sigqueue.c: Include for pid_t. + +1997-12-09 08:10 Thorsten Kukuk + + * sunrpc/publickey.c: Use new NSS interface. + +1997-12-09 03:08 Ulrich Drepper + + * manual/malloc.texi: Document mtrace/muntrace and the concept. + +1997-12-04 Andreas Schwab + + * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar + value, to match spirit of the standard. + * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar. + * sysdeps/m68k/fpu/feholdexcpt.c: Likewise. + * sysdeps/m68k/fpu/fesetenv.c: Likewise. + +1997-12-02 Andreas Schwab + + * manual/signal.texi (Signal Stack): Remove spurious @item. + +1997-12-08 Andreas Jaeger + + * rt/aio.h: Remove double semicolon. + + * rt/librt.map: Add aio_init. + +1997-12-08 03:24 Ulrich Drepper + + * Makeconfig: Define $(rt) to rt if linuxthreads is available. + * Makefile (subdirs): Replace rt by $(rt). + + * shlib-versions: Use version .2 for NSS modules. + + * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra + argument. + * pwd/fgetpwent_r.c: Likewise. + * spwd/fgetspent_r.c: Likewise. + * spwd/sgetspent_r.c: Likewise. + * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument. + Store error number in *ERRNOP. Little optimization. + * hesiod/nss_hesiod/hesiod-pwd.c: Likewise. + * hesiod/nss_hesiod/hesiod-service.c: Likewise. + * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise. + (__internal_getnetgrent_r): New argument. + Call __internal_setnetgrent_reuse with new argument. + (__getnetgrent_r): Call __internal_getnetgrent_r with new argument. + * inet/netgroup.h: Add argument to prototypes. + * nis/nisplus-parser.h: Likewise. + * nis/nss_compat/compat-grp.c: Change everything to store error + code through provided pointer and not use errno. * nis/nss_compat/compat-pwd.c: Likewise. * nis/nss_compat/compat-spwd.c: Likewise. * nis/nss_nis/nis-alias.c: Likewise. * nis/nss_nis/nis-ethers.c: Likewise. * nis/nss_nis/nis-grp.c: Likewise. * nis/nss_nis/nis-hosts.c: Likewise. - * nis/nss_nis/nis-initgroups.c: Likewise. + * nis/nss_nis/nis-netgrp.c: Likewise. * nis/nss_nis/nis-network.c: Likewise. * nis/nss_nis/nis-proto.c: Likewise. + * nis/nss_nis/nis-publickey.c: Likewise. * nis/nss_nis/nis-pwd.c: Likewise. * nis/nss_nis/nis-rpc.c: Likewise. * nis/nss_nis/nis-service.c: Likewise. * nis/nss_nis/nis-spwd.c: Likewise. + * nis/nss_nisplus/nisplus-alias.c: Likewise. + * nis/nss_nisplus/nisplus-ethers.c: Likewise. + * nis/nss_nisplus/nisplus-grp.c: Likewise. + * nis/nss_nisplus/nisplus-hosts.c: Likewise. + * nis/nss_nisplus/nisplus-netgrp.c: Likewise. + * nis/nss_nisplus/nisplus-network.c: Likewise. + * nis/nss_nisplus/nisplus-parser.c: Likewise. + * nis/nss_nisplus/nisplus-proto.c: Likewise. + * nis/nss_nisplus/nisplus-publickey.c: Likewise. + * nis/nss_nisplus/nisplus-pwd.c: Likewise. + * nis/nss_nisplus/nisplus-rpc.c: Likewise. + * nis/nss_nisplus/nisplus-service.c: Likewise. + * nis/nss_nisplus/nisplus-spwd.c: Likewise. + * nss/nss_db/db-XXX.c: Likewise. + * nss/nss_db/db-alias.c: Likewise. + * nss/nss_db/db-netgrp.c: Likewise. + * nss/nss_files/files-XXX.c: Likewise + * nss/nss_files/files-alias.c: Likewise + * nss/nss_files/files-netgrp.c: Likewise + * nss/nss_files/files-parse.c: Likewise + * nss/getXXbyYY_r.c: Call with __errno_location() as value for new + parameter of get functions. + * nss/getXXent_r.c: Likewise. + + * localedata/tst-fmon.c: Print debug info if test fails. + + * rt/Makefile (routines): Add aio_notify. + * rt/aio.h: Remove non-public definitions. Add aioinit stuff. + * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend. + * rt/aio_fsync.c: Likewise. + * rt/aio_misc.c: Likewise. + * rt/aio_misc.h: Likewise. + * rt/aio_read.c: Likewise. + * rt/aio_read64.c: Likewise. + * rt/aio_suspend.c: Likewise. + * rt/aio_write.c: Likewise. + * rt/aio_write64.c: Likewise. + * rt/lio_listio.c: Likewise. + * rt/lio_listio64.c: Likewise. + * rt/aio_notify.c: New file. + + * sysdeps/generic/bits/sigset.h: Pretty print. + + * sysdeps/posix/pwrite.c: Define weak alias only if function is + really defined as __pwrite. + + * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly + instead of pread64. + * sysdeps/unix/sysv/linux/pwrite.c: Likewise. + + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal] + (sysdep_routines): Add rt_sigpending and rt_sigreturn. + * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t + size in syscall. + * sysdeps/unix/sysv/linux/sigpending.c: Likewise. + * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise. + * sysdeps/unix/sysv/linux/sigreturn.c: Likewise. + * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise. + * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise. + * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. + * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. Take care + for ACT being NULL. + * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for + RT signals. + * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if + __NR_pread is not defined. + * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if + __NR_pwrite is not defined. + +1997-12-07 11:15 Thorsten Kukuk + + * nis/nss_compat/compat-grp.c: If buffer is to small, set the file + handle for /etc/group back in some more cases. + * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file + handle for /etc/passwd back in some more cases. + * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file + handle for /etc/shadow back in some more cases. + +1997-12-06 17:00 H.J. Lu + + * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask + beyound its size. + * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto. + * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto. + +1997-12-06 04:38 Ulrich Drepper + + * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max + handling. Don't use macros, we need functions. Use inline functions + for optimization. + * sysdeps/wordsize-64/inttypes.h: Likewise. + * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax, + and wcstoumax. + * sysdeps/wordsize-64/Makefile: Likewise. + * sysdeps/wordsize-32/Dist: Likewise. + * sysdeps/wordsize-64/Dist: Likewise. + * sysdeps/wordsize-32/strtoimax.c: New file. + * sysdeps/wordsize-32/strtoumax.c: New file. + * sysdeps/wordsize-32/wcstoimax.c: New file. + * sysdeps/wordsize-32/wcstoumax.c: New file. + * sysdeps/wordsize-64/strtoimax.c: New file. + * sysdeps/wordsize-64/strtoumax.c: New file. + * sysdeps/wordsize-64/wcstoimax.c: New file. + * sysdeps/wordsize-64/wcstoumax.c: New file. + +1997-12-04 10:40 Philip Blundell + + * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so + that transparent union works. + * sysdeps/generic/wait4.c (__wait4): Likewise. + * sysdeps/generic/wait.c (__wait): Likewise. - * nis/rpcsvc/yp.h: Generate new without 1024 byte limits. + * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not + size_t. - * nis/ypclnt.c: Try binding dir only first time, could be to old. + * sysdeps/generic/syscall.c (syscall): Return value and arg are + long, to match prototype. - * nis/yp_xdr.c: Remove 1024 byte limit. - * nis/ypupdate_xdr.c: Likewise. + * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't + have mremap() yet. - * nis/nss_nis/nis-publickey.c: Make sure, nobody could send - wrong data. + * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype. -1998-08-18 Roland McGrath + * sysdeps/unix/sysv/linux/arm/syscalls.list: New file. - * Rules (binaries-static, binaries-shared static pattern rules): - Depend on lib%, not just libc%, from $(link-libc{,-static}). + * sysdeps/generic/bits/time.h: Use __time_t not time_t. - * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set - this here, overriding Makeconfig generic value so we link against - the RPC libs. + * sysdeps/generic/bits/resource.h: Include for + __rlim_t. -1998-08-17 Ulrich Drepper + * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added. - * posix/tstgetopt.c (options): Add NULL entry at end - Patch by Adrian Miranda . + * sysdeps/generic/bits/dirent.h (struct dirent64): Added. -1998-08-15 18:21 Ulrich Drepper + * io/sys/stat.h (S_ISLNK): Always false if we don't have + __S_IFLNK. - * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD - to 9. + * sysdeps/standalone/close.c (_STDIO_H): Define before including + . + * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise. -1998-08-15 14:11 Ulrich Drepper +1997-12-06 01:09 Ulrich Drepper - * elf/elf.h: Add PPC Diab relocations. + * posix/sys/wait.h: Don't use transparent unions in C++. - * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln. +1997-12-05 Andreas Jaeger -1998-08-14 10:08 Ulrich Drepper + * time/time.h: Add strfxtime. - * manual/texinfo.tex: Update. + * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs, + sysv_signal, strfxtime, pread64, pwrite64. -1998-08-07 Geoff Keating +1997-11-30 21:57 Richard Henderson - * sysdeps/powerpc/backtrace.c: New file. + Alpha changes for EGCS: + * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry. + * configure.in (libc_cv_gcc_alpha_ng_prefix): New check. + * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix. + (_start): Likewise. + * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise. -1998-08-14 Philip Blundell +1997-12-05 00:01 Ulrich Drepper - * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling - sigjmp_save. - * sysdeps/arm/elf/setjmp.S: Obsolete, deleted. + The kernel expects the arguments in a different order. + * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file. + * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file. -1998-08-11 Andreas Schwab + * FAQ.in: New file. + * gen-FAQ.pl: New file. + * Makefile (FAQ): Add rule to generate from FAQ.in. - * Makefile (install-symbolic-link): Fix spelling. + * iconvdata/Makefile: Treat libJIS like the other modules. -1998-08-11 Andreas Schwab + * rt/librt.map: New file. - * elf/elf.h (SHT_HIOS): Fix value. + * sysdeps/wordsize-32/bits/environments.h: Add test for direct + inclusion. + * sysdeps/wordsize-64/bits/environments.h: Likewise. Correct + comment. -1998-08-10 Andreas Schwab +1997-12-04 22:29 Ulrich Drepper - * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as - part of the expansion, this is undefined by the standard. + * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype. + * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise. + * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include . + Patches by Thorsten Kukuk . -1998-08-13 19:41 Ulrich Drepper +1997-11-27 Andreas Jaeger - * posix/getconf.c: Add support for systems with incomplete confname.h. + * string/bits/string2.h: Fix spellings. - * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined. + * string/string.h: Fix spellings. - * sysdeps/posix/wait3.c: Make it work. +1997-12-04 Andreas Jaeger -1998-08-13 Andreas Jaeger + * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern + declaration to __syscall_rt_sigaction. - * Makefile ($(inst_slibdir)/libc-$(version).so): Remove. - (elf/ldso_install): Remove. + * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of + non-existant . - * elf/Makefile (distribute): Add sln.c. - (others): Add sln. - (others-static): Add sln. - (install-rootsbin): Add sln. - (others-static): Add sln. - (ldso_install): Remove. +1997-12-04 Andreas Jaeger -1998-07-24 10:58 Andreas Schwab + * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct + typo. + +1997-12-04 Andreas Jaeger + + * sysdeps/wordsize-64/bits/environments.h: Correct spelling. + + * Makeconfig (shared-thread-library): Correct spelling. + + * sysdeps/unix/sysv/linux/sys/pci.h: Include and not + . + +1997-12-04 Andreas Jaeger + + * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_ + constants from Linux headers. Pointed out by + csmall@scooter.o.i.net. [PR libc/369] + +1997-12-04 10:21 Thorsten Kukuk + + * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval. + +1997-12-04 00:06 Zack Weinberg + + * configure.in: If --enable-add-ons is given without an + argument, set the addons list to all subdirs with a configure + script. + +1997-12-03 23:50 Ulrich Drepper + + * Makeconfig: Add shared-thread-library variable. + + * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES. + * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES + here. + * sysdeps/m68k/fpu/e_acos.c: Likewise. + * sysdeps/m68k/fpu/e_atan2.c: Likewise. + * sysdeps/m68k/fpu/e_fmod.c: Likewise. + * sysdeps/m68k/fpu/e_pow.c: Likewise. + * sysdeps/m68k/fpu/e_scalb.c: Likewise. + * sysdeps/m68k/fpu/k_cos.c: Likewise. + * sysdeps/m68k/fpu/k_sin.c: Likewise. + * sysdeps/m68k/fpu/k_tan.c: Likewise. + * sysdeps/m68k/fpu/s_atan.c: Likewise. + * sysdeps/m68k/fpu/s_ccos.c: Likewise. + * sysdeps/m68k/fpu/s_ccosh.c: Likewise. + * sysdeps/m68k/fpu/s_cexp.c: Likewise. + * sysdeps/m68k/fpu/s_csin.c: Likewise. + * sysdeps/m68k/fpu/s_csinh.c: Likewise. + * sysdeps/m68k/fpu/s_frexp.c: Likewise. + * sysdeps/m68k/fpu/s_ilogb.c: Likewise. + * sysdeps/m68k/fpu/s_isinf.c: Likewise. + * sysdeps/m68k/fpu/s_llrint.c: Likewise. + * sysdeps/m68k/fpu/s_llrintf.c: Likewise. + * sysdeps/m68k/fpu/s_llrintl.c: Likewise. + * sysdeps/m68k/fpu/s_lrint.c: Likewise. + * sysdeps/m68k/fpu/s_modf.c: Likewise. + * sysdeps/m68k/fpu/s_remquo.c: Likewise. + * sysdeps/m68k/fpu/s_scalbn.c: Likewise. + * sysdeps/m68k/fpu/s_sincos.c: Likewise. + + * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax, + __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo. + * signal/Makefile (headers): Add bits/siginfo.h. + (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue. + (distribute): Add testrtsig.h. + * signal/allocrtsig.c: New file. + * signal/signal.h: Define `union sigval'. Include . + Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin, + __libc_current_sigrtmax. + * sysdeps/generic/sigqueue.c: New file. + * sysdeps/generic/sigtimedwait.c: New file. + * sysdeps/generic/sigwaitinfo.c: New file. + * sysdeps/generic/testrtsig.h: New file. + * sysdeps/generic/bits/siginfo.h: New file. + * sysdeps/unix/sysv/linux/bits/siginfo.h: New file. + * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as + old_kernel_sigaction and rename sa_handler member to k_sa_handler. + * sysdeps/unix/sysv/linux/rt_sigaction.c: New file. + * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file. + * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file. + * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file. + * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file. + * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file. + * sysdeps/unix/sysv/linux/sigpending.c: New file. + * sysdeps/unix/sysv/linux/sigprocmask.c: New file. + * sysdeps/unix/sysv/linux/sigqueue.c: New file. + * sysdeps/unix/sysv/linux/sigreturn.c: New file. + * sysdeps/unix/sysv/linux/sigtimedwait.c: New file. + * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file. + * sysdeps/unix/sysv/linux/testrtsig.h: New file. + * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO. + * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO. + * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO. + * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX. + * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME + and _POSIX_REALTIME_SIGNALS. + * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO. + * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and + update _NSIG. + * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO. + * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific + definitions. + + * Makefile (subdirs): Add rt. + * shlib-versions: Add entry for librt. + * rt/Makefile: New file. + * rt/aio.h: New file. + * rt/aio_cancel.c: New file. + * rt/aio_error.c: New file. + * rt/aio_fsync.c: New file. + * rt/aio_misc.c: New file. + * rt/aio_misc.h: New file. + * rt/aio_read.c: New file. + * rt/aio_read64.c: New file. + * rt/aio_return.c: New file. + * rt/aio_suspend.c: New file. + * rt/aio_write.c: New file. + * rt/aio_write64.c: New file. + * rt/lio_listio.c: New file. + * rt/lio_listio64.c: New file. + * sysdeps/generic/aio_sigqueue.c: New file. + * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file. + * sysdeps/unix/sysv/linux/Dist: Add new files + * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal] + (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, + rt_sigqueueinfo, rt_sigaction. + + * posix/Makefile (headers): Add bits/environments.h. + * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS + and _CS_LFS_CFLAGS on 64bit platforms. + * posix/unistd.h: Define _XOPEN_LEGACY. Explain _XOPEN_REALTIME + and _XOPEN_REALTIME_THREADS. Include bits/environments.h. + * sysdeps/generic/bits/confname.h: Define _SC_* constants for + compilation modules. + * sysdeps/wordsize-32/bits/environments.h: New file. + * sysdeps/wordsize-64/bits/environments.h: New file. + + * posix/getopt.c: Remove declaration of getpid and __libc_pid. + * posix/getopt_init.c: Test for value 0xf00baa of uninitialized + __libc_pid. + * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to + 0xf00baa. + + * string/string.h: Add declaration of __strverscmp. + * string/strverscmp.c: Rename function ot __strverscmp and make old + name weak alias. + + * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid. + * sysdeps/generic/enbl-secure.c: Likewise. + * sysdeps/mach/hurd/dl-sysdep.c: Likewise. + + * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print. + + * sysdeps/unix/sysv/linux/sys/pci.h: New file. + +1997-12-03 Ulrich Drepper + + * posix/sys/wait.h: Use __transparent_union__ instead of + transparent_union. Reported by Roland McGrath. + +1997-12-03 Andreas Jaeger + + * resolv/inet_neta.c (inet_neta): Change type of first parameter + to u_int32_t. Suggested by John Lavagnino + [PR libc/366]. + + * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t. + + * inet/arpa/inet.h: Change types of inet_neta and inet_addr. + +1997-12-03 20:40 Thorsten Kukuk + + * grp/initgroups.c: Increase buffer if it is too small. + +1997-12-03 Ulrich Drepper + + * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit + fields, this is no ISO C. Reported by Andreas Jaeger. + +1997-12-03 Andreas Jaeger + + * sysdeps/i386/sys/ucontext.h (enum): Add missing commata. + +1997-12-03 08:58 Philip Blundell + + * sysdeps/generic/bits/utsname.h: defines + _SYS_UTSNAME_H not _UTSNAME_H. + +1997-11-28 Andreas Schwab + + * elf/dl-profile.c (_dl_start_profile): Avoid overflow when + computing s_scale. + +1997-11-29 Andreas Schwab + + * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now. + * sysdeps/libm-ieee754/s_csqrtf.c: Likewise. + * sysdeps/libm-ieee754/s_csqrtl.c: Likewise. + + * math/libm-test.c (csqrt_test): Add testcase. - * Makerules (install-clean-symbolic-link-list): Make phony. - * Makefile (install-symbolic-link): Make phony. Depend on - subdir_install for parallel makes. +1997-12-03 15:44 Ulrich Drepper + * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file. + * sysdeps/unix/sysv/linux/sys/Dist: Add it. + * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise. -1998-07-22 Ulrich Drepper +1997-11-30 Andreas Schwab - * elf/Makefile (distribute): Add sln.c + * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration. -1998-07-21 07:10 H.J. Lu +1997-12-01 Andreas Jaeger - * elf/sln.c: New file. + * math/libm-test.c (acos_test): Add more tests. + (asin_test): Likewise. + (atan_test): Likewise. + (exp_test): Likewise. + (sin_test): Likewise. + (sqrt_test): Likewise. + (cpow_test): Likewise. + (csqrt_test): Likewise. + (cexp_test): Correct typo in gcc version test. - * Makerules (symbolic-link-prog, symbolic-link-list): New macros. - (install-clean-symbolic-link-list): New target. - (install): Depend on install-clean-symbolic-link-list. - (make-shlib-link): Changed for $(symbolic-link-list). +1997-12-02 17:14 Philip Blundell - * Makefile (install-symbolic-link): New target. - (install): Depend on install-symbolic-link. + * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including + . + * sysdeps/arm/setjmp.S: Likewise. -1998-08-12 17:03 Ulrich Drepper + * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file. - * include/unistd.h: Protect against multiple inclusion. +1997-12-02 18:07 Philip Blundell - * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P - is defined, not is glob is defined. - * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P. + * stdio/stdio.h: Add prototype for tmpfile64(). -1998-08-01 17:18 H.J. Lu +1997-12-02 17:47 Philip Blundell - * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of - xdr_string for ut_line, ut_name and ut_host. + * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to + prototype to keep in step with libio version. + + * stdio-common/tmpfile64.c: Include for ENOSYS. + +1997-12-02 17:41 Philip Blundell + + * sysdeps/generic/Makefile: Don't try to use make_siglist if + cross-compiling. + +1997-12-02 01:18 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns + load GOT ptr before jumping to _exit. + Reported by Xavier Leroy. + +1997-12-01 17:27 Ulrich Drepper + + * Makefile (subdirs): Add iconvdata and localedata. + + * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value. + + * iconv/gconv_conf.c (read_conf_file): Little optimization. + + * iconvdata/8bit-gap.c: New file. + * iconvdata/8bit-generic.c: Renamed from ... + * iconvdata/iso8859-generic.c: ...this. + * iconvdata/configure: Removed. + * iconvdata/Makefile: Add new modules and better rules. + * iconvdata/iso6937.c: Minor bug fixes. + * iconvdata/iso8859-1.c: Likewise. + * iconvdata/t61.c: Likewise. + * iconvdata/iso8859-2.c: Change to use 8bit-generic.c. + Minor bug fixes. + * iconvdata/iso8859-3.c: Likewise. + * iconvdata/iso8859-4.c: Likewise. + * iconvdata/iso8859-5.c: Likewise. + * iconvdata/iso8859-6.c: Likewise. + * iconvdata/iso8859-7.c: Likewise. + * iconvdata/iso8859-8.c: Likewise. + * iconvdata/iso8859-9.c: Likewise. + * iconvdata/iso8859-10.c: Likewise. + * iconvdata/ebcdic-at-de-a.c: New file. + * iconvdata/ebcdic-at-de.c: New file. + * iconvdata/ebcdic-ca-fr.c: New file. + * iconvdata/hp-roman8.c: New file. + * iconvdata/koi-8.c: New file. + * iconvdata/koi8-r.c: New file. + * iconvdata/koi8-h.c: New file. + * iconvdata/latin-greek-1.c: New file. + * iconvdata/latin-greek-1.h: New file. + * iconvdata/latin-greek.c: New file. + * iconvdata/latin-greek.h: New file. + * iconvdata/jis0201.c: New file. + * iconvdata/jis0201.h: New file. + * iconvdata/jis0208.c: New file. + * iconvdata/jis0208.h: New file. + * iconvdata/jis0212.c: New file. + * iconvdata/jis0212.h: New file. + * iconvdata/sjis.c: New file. + * iconvdata/gap.pl: New file. Script to generate table header. + * iconvdata/gaptab.pl: New file. + * iconvdata/gconv-modules: Add info about new modules. + + * locale/programs/charmap.c: Also examine alias names given in charmap + files. + + * localedata/*: Add to here from add-on. We need the information + to generate tables for iconv. + + Update from db-2.3.14. + * db2/Makefile: Updated. + * db2/config.h: Likewise. + * db2/db.h: Likewise. + * db2/db_int.h: Likewise. + * db2/btree/bt_cursor.c: Likewise. + * db2/btree/bt_delete.c: Likewise. + * db2/btree/bt_put.c: Likewise. + * db2/btree/bt_search.c: Likewise. + * db2/btree/bt_split.c: Likewise. + * db2/btree/btree_auto.c: Likewise. + * db2/common/db_appinit.c: Likewise. + * db2/common/db_apprec.c: Likewise. + * db2/common/db_err.c: Likewise. + * db2/common/db_region.c: Likewise. + * db2/db/db_auto.c: Likewise. + * db2/db/db_dispatch.c: Likewise. + * db2/db/db_ret.c: Likewise. + * db2/dbm/dbm.c: Likewise. + * db2/hash/hash_auto.c: Likewise. + * db2/include/btree_ext.h: Likewise. + * db2/include/common_ext.h: Likewise. + * db2/include/db.h.src: Likewise. + * db2/include/db_cxx.h: Likewise. + * db2/include/db_ext.h: Likewise. + * db2/include/db_int.h.src: Likewise. + * db2/include/lock.h: Likewise. + * db2/include/log.h: Likewise. + * db2/include/mp.h: Likewise. + * db2/include/mp_ext.h: Likewise. + * db2/include/os_ext.h: Likewise. + * db2/include/os_func.h: Likewise. + * db2/lock/lock.c: Likewise. + * db2/lock/lock_deadlock.c: Likewise. + * db2/log/log.c: Likewise. + * db2/log/log_archive.c: Likewise. + * db2/log/log_auto.c: Likewise. + * db2/log/log_get.c: Likewise. + * db2/log/log_put.c: Likewise. + * db2/mp/mp_bh.c: Likewise. + * db2/mp/mp_fget.c: Likewise. + * db2/mp/mp_fopen.c: Likewise. + * db2/mp/mp_fput.c: Likewise. + * db2/mp/mp_fset.c: Likewise. + * db2/mp/mp_open.c: Likewise. + * db2/mp/mp_pr.c: Likewise. + * db2/mp/mp_region.c: Likewise. + * db2/mp/mp_sync.c: Likewise. + * db2/mutex/README: Likewise. + * db2/mutex/mutex.c: Likewise. + * db2/os/os_open.c: Likewise. + * db2/os/os_func.c: Removed. + * db2/os/os_config.c: New file. + * db2/os/os_spin.c: New file. + * db2/txn/txn.c: Likewise. + * db2/txn/txn_auto.c: Likewise. + +1997-11-30 06:01 Ulrich Drepper + + * posix/sys/wait.h (__WAIT_INT): Don't use complex version with + __typeof for C++ since this fails for class members. + Reported by Neal Becker . + +1997-11-28 11:21 Zack Weinberg + + * configure.in: Check for a working makeinfo (3.11 or better). + * config.make.in: Add MAKEINFO to be substituted. + * manual/Makefile: Don't update info if makeinfo is too old. + +1997-11-30 05:21 Ulrich Drepper + + * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions. + * sysdeps/alpha/__longjmp.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include + not . + + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as + __llseek and make llseek and lseek64 weak aliases. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + Patches by a sun . + +1997-11-29 19:19 Zack Weinberg + + * misc/sys/syslog.h: Delete KERNEL preprocessor conditional. + * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise. + * misc/sys/syslog.h: Clean up BSD header. + +1997-11-29 Andreas Jaeger + + * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67. + + * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception + for ctan(+-inf,x). + * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise. + * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise. + + * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan, + csqrt (-1), ctanh(i*pi/4). + +1997-11-26 Andreas Schwab + + * sysdeps/generic/bits/confname.h: Fix comma in enumerator. + +1997-11-28 13:28 Philip Blundell + + * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants. + +1997-11-26 Andreas Jaeger + + * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake. + +1997-11-26 21:28 Ulrich Drepper + + * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition + and use. Define GETCWD_RETURN_TYPE instead and use it. + * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead + of GETCWD_STORYGE_CLASS and put the return type and the + `internal_function' in the right order for gcc 2.7.2. + +1997-11-26 Andreas Jaeger + + * sysdeps/unix/sysv/linux/sys/module.h: Remove file. It's + incompatible with Linux 2.1.x. Packages using modules + (e.g. modutils) should/do provide their own version. Suggested by + Richard Henderson. + + * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h. + + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) + [$(subdir)=socket]: Remove sys/module.h. + +1997-11-26 04:28 Ulrich Drepper + + * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when + computing s_scale. Patch by a sun . + + * iconv/gconv_close.c: Correct freeing of descriptor data. + * iconv/gconv_simple.c: Return correct error values for illegal or + incomplete characters. + + * Makefile (iconvdata/%): Special goal to simplify iconvdata + development. + * iconvdata/Makefile: New file. + * iconvdata/configure: Likewise. + * iconvdata/extra-module.mk: Likewise. + * iconvdata/gconv-modules: Likewise. + * iconvdata/iso6937.c: Likewise. + * iconvdata/iso8859-1.c: Likewise. + * iconvdata/iso8859-10.c: Likewise. + * iconvdata/iso8859-10.h: Likewise. + * iconvdata/iso8859-2.c: Likewise. + * iconvdata/iso8859-2.h: Likewise. + * iconvdata/iso8859-3.c: Likewise. + * iconvdata/iso8859-3.h: Likewise. + * iconvdata/iso8859-4.c: Likewise. + * iconvdata/iso8859-4.h: Likewise. + * iconvdata/iso8859-5.c: Likewise. + * iconvdata/iso8859-5.h: Likewise. + * iconvdata/iso8859-6.c: Likewise. + * iconvdata/iso8859-6.h: Likewise. + * iconvdata/iso8859-7.c: Likewise. + * iconvdata/iso8859-7.h: Likewise. + * iconvdata/iso8859-8.c: Likewise. + * iconvdata/iso8859-8.h: Likewise. + * iconvdata/iso8859-9.c: Likewise. + * iconvdata/iso8859-9.h: Likewise. + * iconvdata/iso8859-generic.c: Likewise. + * iconvdata/t61.c: Likewise. + + * string/Makefile (routines): Add strcasestr. + * string/string.h: Add prototype for strcasestr. + * sysdeps/generic/strcasestr.c: New file. + * wcsmbs/mbrtowc.c: Simplify special case a bit. + * wcsmbs/wcrtomb.c: Likewise. + * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters. + * wcsmbs/wcsnrtombs.c: Likewise. + * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when + partial character is read. + * wcsmbs/wcsrtombs.c: Likewise. + * wcsmbs/wmemrtombs.c: Likewise. + * wcsmbs/wmemrtowcs.c: Likewise. + + * io/ftw.h: Include instead of . + * login/pty.h: Include instead og . + * sysdeps/i386/__longjmp.S: Define _SETJMP_H. + * sysdeps/i386/elf/setjmp.S: Likewise. + * sysdeps/unix/sysv/linux/kernel_termios.h: Do include + . + + * sysdeps/posix/mk-stdiolim.c: Output file with comment. + * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment. + + * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print. + * sysvipc/sys/ipc.h: Likewise. + * sysvipc/sys/msg.h: Likewise. + * sysvipc/sys/sem.h: Likewise. + * sysvipc/sys/shm.h: Likewise. + + * sysdeps/alpha/bits/endian.h: Issue error message if the header is + used directly. + * sysdeps/alpha/bits/setjmp.h: Likewise. + * sysdeps/alpha/fpu/bits/fenv.h: Likewise. + * sysdeps/arm/bits/endian.h: Likewise. + * sysdeps/arm/bits/setjmp.h: Likewise. + * sysdeps/generic/bits/byteswap.h: Likewise. + * sysdeps/generic/bits/confname.h: Likewise. + * sysdeps/generic/bits/dirent.h: Likewise. + * sysdeps/generic/bits/dlfcn.h: Likewise. + * sysdeps/generic/bits/endian.h: Likewise. + * sysdeps/generic/bits/fenv.h: Likewise. + * sysdeps/generic/bits/huge_val.h: Likewise. + * sysdeps/generic/bits/in.h: Likewise. + * sysdeps/generic/bits/ioctl-types.h: Likewise. + * sysdeps/generic/bits/ioctls.h: Likewise. + * sysdeps/generic/bits/ipc.h: Likewise. + * sysdeps/generic/bits/msq.h: Likewise. + * sysdeps/generic/bits/poll.h: Likewise. + * sysdeps/generic/bits/resource.h: Likewise. + * sysdeps/generic/bits/sched.h: Likewise. + * sysdeps/generic/bits/sem.h: Likewise. + * sysdeps/generic/bits/setjmp.h: Likewise. + * sysdeps/generic/bits/shm.h: Likewise. + * sysdeps/generic/bits/sigaction.h: Likewise. + * sysdeps/generic/bits/sigcontext.h: Likewise. + * sysdeps/generic/bits/socket.h: Likewise. + * sysdeps/generic/bits/stat.h: Likewise. + * sysdeps/generic/bits/statfs.h: Likewise. + * sysdeps/generic/bits/stdio_lim.h: Likewise. + * sysdeps/generic/bits/termios.h: Likewise. + * sysdeps/generic/bits/time.h: Likewise. + * sysdeps/generic/bits/uio.h: Likewise. + * sysdeps/generic/bits/utmp.h: Likewise. + * sysdeps/generic/bits/utmpx.h: Likewise. + * sysdeps/generic/bits/utsname.h: Likewise. + * sysdeps/generic/bits/waitflags.h: Likewise. + * sysdeps/generic/bits/waitstatus.h: Likewise. + * sysdeps/gnu/bits/utmp.h: Likewise. + * sysdeps/gnu/bits/utmpx.h: Likewise. + * sysdeps/i386/bits/byteswap.h: Likewise. + * sysdeps/i386/bits/endian.h: Likewise. + * sysdeps/i386/bits/huge_val.h: Likewise. + * sysdeps/i386/bits/setjmp.h: Likewise. + * sysdeps/i386/fpu/bits/fenv.h: Likewise. + * sysdeps/ieee754/bits/huge_val.h: Likewise. + * sysdeps/m68k/bits/byteswap.h: Likewise. + * sysdeps/m68k/bits/endian.h: Likewise. + * sysdeps/m68k/bits/setjmp.h: Likewise. + * sysdeps/m68k/fpu/bits/fenv.h: Likewise. + * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise. + * sysdeps/mach/hurd/bits/ioctls.h: Likewise. + * sysdeps/mach/hurd/bits/stat.h: Likewise. + * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise. + * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise. + * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise. + * sysdeps/mips/bits/dlfcn.h: Likewise. + * sysdeps/mips/bits/endian.h: Likewise. + * sysdeps/mips/bits/setjmp.h: Likewise. + * sysdeps/mips/dec/bits/endian.h: Likewise. + * sysdeps/mips/mips64/bits/setjmp.h: Likewise. + * sysdeps/mips/mipsel/bits/endian.h: Likewise. + * sysdeps/mips/p40/bits/endian.h: Likewise. + * sysdeps/powerpc/bits/endian.h: Likewise. + * sysdeps/powerpc/bits/fenv.h: Likewise. + * sysdeps/powerpc/bits/setjmp.h: Likewise. + * sysdeps/sparc/sparc32/bits/endian.h: Likewise. + * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise. + * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise. + * sysdeps/sparc/sparc64/bits/endian.h: Likewise. + * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise. + * sysdeps/unix/bsd/bits/dirent.h: Likewise. + * sysdeps/unix/bsd/bits/stat.h: Likewise. + * sysdeps/unix/bsd/bits/waitflags.h: Likewise. + * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise. + * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise. + * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise. + * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise. + * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise. + * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise. + * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise. + * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise. + * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise. + * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise. + * sysdeps/unix/common/bits/dirent.h: Likewise. + * sysdeps/unix/sysv/bits/dirent.h: Likewise. + * sysdeps/unix/sysv/bits/stat.h: Likewise. + * sysdeps/unix/sysv/bits/utmp.h: Likewise. + * sysdeps/unix/sysv/bits/utsname.h: Likewise. + * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise. + * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise. + * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise. + * sysdeps/unix/sysv/linux/bits/in.h: Likewise. + * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise. + * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise. + * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise. + * sysdeps/unix/sysv/linux/bits/msq.h: Likewise. + * sysdeps/unix/sysv/linux/bits/poll.h: Likewise. + * sysdeps/unix/sysv/linux/bits/resource.h: Likewise. + * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. + * sysdeps/unix/sysv/linux/bits/sem.h: Likewise. + * sysdeps/unix/sysv/linux/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise. + * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. + * sysdeps/unix/sysv/linux/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise. + * sysdeps/unix/sysv/linux/bits/termios.h: Likewise. + * sysdeps/unix/sysv/linux/bits/time.h: Likewise. + * sysdeps/unix/sysv/linux/bits/uio.h: Likewise. + * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise. + * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise. + * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise. + * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise. + * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise. + * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise. + * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise. + * sysdeps/vax/bits/huge_val.h: Likewise. + * sysdeps/vax/bits/setjmp.h: Likewise. + * sysdeps/wordsize-32/bits/elfclass.h: Likewise. + * sysdeps/wordsize-64/bits/elfclass.h: Likewise. + +1997-11-25 Andreas Jaeger + + * libio/stdio.h: Correct comment of sys_nerr/sys_errlist. + +1997-11-25 Paul Eggert + + * strftime.c (strftime): + No longer any need to undef or declare if emacs is defined. + (my_strftime): When checking a -1 returned by mktime, don't blow up + if localtime_r returns NULL. + +1997-11-24 Andreas Schwab + + * README.template: Fix spelling. + +1997-11-25 Andreas Jaeger + + * configure.in: Enhance --enable-add-ons description a wee bit. + +1997-11-24 Andreas Jaeger + + * glibcbug.in: Add more information of build environment and flags. + +1997-11-23 Andreas Schwab + + * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate + it into ENOENT. + +1997-11-24 03:01 Ulrich Drepper + + * elf/dl-support.c: Call __libc_init_secure to make sure + __libc_enable_secure is defined early. + * sysdeps/generic/enbl-secure.c: Change function name to + __libc_init_secure and make it global instead of a constructor. + + * iconv/gconv.c: Fix lots of bugs. + * iconv/gconv.h: Likewise. + * iconv/gconv_builtin.h: Likewise. + * iconv/gconv_close.c: Likewise. + * iconv/gconv_conf.c: Likewise. + * iconv/gconv_db.c: Likewise. + * iconv/gconv_dl.c: Likewise. + * iconv/gconv_open.c: Likewise. + * iconv/gconv_simple.c: Likewise. + * iconv/iconv.c: Likewise. + * iconv/iconv_close.c: Likewise. + * iconv/iconv_open.c: Likewise. + + * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs. + * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs. + * wcsmbs/wmemrtombs.c: New file. + * wcsmbs/wmemrtowcs.c: New file. + +1997-11-22 19:28 Ulrich Drepper + + * iconv/gconv_simple.c: Fix lots of bugs. + * iconv/iconv_open.c: Normalize names before passing them to + __gconv_open. + + * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose. + + * libio/iopopen.c: Check for correct mode argument and punt otherwise. + * stdio-common/test-popen.c: Add test for above change. + + * math/libm-test.c: Print test results also using %a format, + specified in PRINTF_XEXPR macro. + * math/test-double.c: Define PRINTF_XEXPR. + * math/test-float.c: Likewise. + * math/test-ldouble.c: Likewise. + * math/test-idouble.c: Likewise. + * math/test-ifloat.c: Likewise. + * math/test-ildoubl.c: Likewise. -1998-08-12 Andreas Jaeger + * stdio-common/vfscanf.c: Recognize a in format specifier only as + modifier if used before s, S, or [. Otherwise it's the hexadecimal + FP number format. - * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to - /var/mail in accordance with FHS 2.0. - Reported by Javier Kohen [PR libc/639]. + * stdlib/strtod.c: Little code cleanup. -1998-08-12 Richard Henderson + * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for + compiling in math subdir. - * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg): - Update aliases for cancelation. + * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES + instead of __LIBC_M81_MATH_INLINES. + * sysdeps/m68k/fpu/e_atan2.c: Likewise. + * sysdeps/m68k/fpu/e_fmod.c: Likewise. + * sysdeps/m68k/fpu/e_pow.c: Likewise. + * sysdeps/m68k/fpu/e_scalb.c: Likewise. + * sysdeps/m68k/fpu/k_cos.c: Likewise. + * sysdeps/m68k/fpu/k_sin.c: Likewise. + * sysdeps/m68k/fpu/k_tan.c: Likewise. + * sysdeps/m68k/fpu/s_atan.c: Likewise. + * sysdeps/m68k/fpu/s_ccos.c: Likewise. + * sysdeps/m68k/fpu/s_ccosh.c: Likewise. + * sysdeps/m68k/fpu/s_cexp.c: Likewise. + * sysdeps/m68k/fpu/s_csin.c: Likewise. + * sysdeps/m68k/fpu/s_csinh.c: Likewise. + * sysdeps/m68k/fpu/s_frexp.c: Likewise. + * sysdeps/m68k/fpu/s_ilogb.c: Likewise. + * sysdeps/m68k/fpu/s_isinf.c: Likewise. + * sysdeps/m68k/fpu/s_llrint.c: Likewise. + * sysdeps/m68k/fpu/s_llrintf.c: Likewise. + * sysdeps/m68k/fpu/s_llrintl.c: Likewise. + * sysdeps/m68k/fpu/s_lrint.c: Likewise. + * sysdeps/m68k/fpu/s_modf.c: Likewise. + * sysdeps/m68k/fpu/s_remquo.c: Likewise. + * sysdeps/m68k/fpu/s_scalbn.c: Likewise. + * sysdeps/m68k/fpu/s_sincos.c: Likewise. + * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if + __LIBC_INTERNAL_MATH_INLINES is defined. - * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before - playing with symbol versions. + * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions + of compare macros from ISO C 9X. Optimize generic versions a bit. + Define __signbit inline functions and __ieee754_sqrt which can be + used if the ompiler is fixed. -1998-08-12 Roland McGrath + * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias. - * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and - multiple inclusion protection. - (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES, - _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros, - define all these to 1. - (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it. +1997-11-20 Andreas Schwab -1998-08-12 Roland McGrath + * Makerules ($(common-objpfx)stub-$(subdir)): Look for + sysdeps/generic in the whole dep file, not only in the first line. - * sysdeps/mach/usleep.c: Include . - (usleep): Return void. +1997-11-20 Andreas Schwab -1998-08-11 Roland McGrath + * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type. - * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward - decl to inhibit warning in if_freenameindex defn. +1997-11-19 Andreas Schwab - * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable. + * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right + place. - * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name. +1997-11-19 Andreas Schwab - * sysdeps/mach/hurd/reboot.c: Include . - * sysdeps/mach/hurd/getdents.c: Include . - * sysdeps/mach/hurd/sbrk.c: Include . - * sysdeps/mach/usleep.c: Likewise. + * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME + is non-empty. - * sysdeps/mach/hurd/bind.c (bind): Add a const. +1997-11-20 16:51 Ulrich Drepper - * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn. - * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise. - * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise. - * sysdeps/mach/hurd/reboot.c (reboot): Likewise. - * sysdeps/mach/usleep.c (usleep): Likewise. - * sysdeps/mach/hurd/chflags.c (chflags): Likewise. - * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise. - * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise. - * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise. + * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for + return value. -1998-08-11 Roland McGrath +1997-11-19 21:36 Ulrich Drepper - * sysdeps/generic/glob64.c: Include , , . - (glob64): Fix typo. + * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if + readlink succeeds but the return value is too long. - * malloc/malloc.c (free_check, realloc_check): Don't cast to long for - %p arg to fprintf, since `void *' is the right type already. + * stdio-common/printf_fphex.c: Determine sign of number correctly. -1998-07-25 19:47 Jose M. Moya +1997-11-19 02:45 Ulrich Drepper - * sysdeps/mach/hurd/getcwd.c - (_hurd_canonicalize_directory_name_internal): Do not loop forever - for unknown root directories. - (__getcwd): Return NULL when the current root directory could not - be reached. + * libc.map: Export __divl, __reml, __divq, __remq, __divqu and + __remqu for Alpha. -1998-08-11 18:39 Ulrich Drepper +1997-11-18 23:08 Ulrich Drepper - * string/strsignal.c (strsignal): Count real-time signals from zero. + * sysdeps/generic/sys/ucontext.h: Stub context file. + * libio/iofprintf.c: Removed. We use the stdio-common version. -See ChangeLog.8 for earlier changes. + * manual/Makefile (distribute): Add stdio-fp.c. + + * sysdeps/powerpc/Dist: Add ppc-mcount.S. + + * db2/Makefile (distribute): Add include/os_func.h, README and + mutex/tsl_parisc.s. + + * hesiod/Makefile (distribute): Add README.hesiod. + +1997-11-18 22:14 Ulrich Drepper + + * iconv/gconv.c: Correctly call transformation function. + + * manual/maint.texi: Document need of binutils 2.8.1.0.17. + +1997-11-13 Andreas Jaeger + + * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave + wrong results for e.g. remquo (3,2, &x)). + * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise. + * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise. + +1997-11-18 Andreas Jaeger + + * configure.in (ld --version-script): Test if the same symbol + maybe defined in all versions (needed by recent changes to + libc.map and supported with binutils 2.8.1.0.17) and issue warning + if versioning is not supported/enabled. + (bash test): Correct test case. + + * math/libm-test.c: Added counting/reporting of number of test cases. + + * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required, + use awk instead. + + * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS. + +1997-11-18 Andreas Jaeger + + * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic. + +1997-11-18 18:04 Ulrich Drepper + + * sysdeps/generic/pty.c: Define REVOKE to use revoke function. + Replace revoke call by use of REVOKE. + * sysdeps/unix/sysv/linux/pty.c: New file. Define REVOKE as + empty and #include generic version. + Suggested by Zack Weinberg . + +1997-11-18 16:02 Ulrich Drepper + + * libc.map: Add socket functions with __libc_* names. + Reported by Andreas Jaeger. + +1997-11-18 Andreas Jaeger + + * libc.map: Tidy up (remove duplicates, sort entries). + +1997-11-18 Andreas Jaeger + + * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS. + +1997-11-18 06:45 Ulrich Drepper + + * sysdeps/generic/pty.c: Make thread safe. Fix bug when calling + again after successful call. + Patch by Marc Lehmann . + +1997-11-17 Paul Eggert + + * time/mktime.c, time/strftime.c (_REENTRANT): #define, + as some hosts need this to declare localtime_r properly. + +1997-11-18 06:08 Ulrich Drepper + + * libc.map: Add iconv_open, iconv, and iconv_close. + +1997-11-18 02:31 Ulrich Drepper + + * iconv/Makefile: New file. + * iconv/gconv.c: New file. + * iconv/gconv.h: New file. + * iconv/gconv_builtin.c: New file. + * iconv/gconv_builtin.h: New file. + * iconv/gconv_close.c: New file. + * iconv/gconv_conf.c: New file. + * iconv/gconv_db.c: New file. + * iconv/gconv_dl.c: New file. + * iconv/gconv_open.c: New file. + * iconv/gconv_simple.c: New file. + * iconv/iconv.c: New file. + * iconv/iconv.h: New file. + * iconv/iconv_close.c: New file. + * iconv/iconv_open.c: New file. + * include/gconv.h: New file. + + * Makeconfig: Define gconvdir. + * Makefile (subdirs): Add iconv. + + * string/bits/string2.h: Add optimization for strtok_r. + + * sysdeps/generic/_G_config.h: Define __need_NULL to get definition + for NULL. + * sysdeps/unix/sysv/linux/_G_config.h: Likewise. + Reported by H.J. Lu . + + * configure.in: Correct test for bash2. + Patch by Zack Weinberg . + + * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts. + (CFLAGS-locfile.c): Likewise. + Suggested by Zack Weinberg . + + * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for + non-existing entry if the table is full. + + * posix/regex.h: Pretty print. + + * stdio-common/printf_fp.c: Don't define NDEBUG if already defined. + + * sysdeps/posix/ctermid.c: Simplify a bit. + + * sysdeps/unix/sysv/linux/net/if.h: Pretty print. + +1997-11-17 Andreas Jaeger + + * sysdeps/unix/sysv/linux/sys/quota.h: Add include for + instead of . + +1997-11-16 Andreas Schwab + + * math/libm-test.c (asin_test): Add epsilon for asin (0.5). + +1997-11-16 17:09 H.J. Lu + + * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen, + fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0. + (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1. + (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose, + fclose): Added to GLIBC_2.1. + + * libio/Makefile (routines, shared-only-routines): Add + oldiofclose. Remove oldfreopen. + + * libio/freopen.c (freopen): When PIC is defined, call + _IO_old_freopen () for old stdio. + + * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose. + (_IO_fclose, fclose): Use _IO_new_fclose as default version + for GLIBC_2.1. + + * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it + instead of _IO_file_close_it. + + * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed + to _IO_2_1_stdxxx_. + (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC + is defined. + + * libio/libioP.h (_IO_old_do_flush): New. + + * libio/oldfileops.c (_IO_old_file_close_it, + _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync): + Call _IO_old_do_flush () instead of _IO_do_flush (). + (_IO_old_file_xsputn): Call _IO_old_do_write () instead of + _IO_do_write (). + + * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init () + instead of _IO_file_init (). + Bind old symbols to version GLIBC_2.0. + + * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version. + (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to + _IO_stdxxx_. + (_IO_check_libio): New function in .init. + + * libio/oldiofclose.c: New file. + + * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_, + _IO_new_stderr_): Changed to _IO_2_1_stdxxx_. + (DEF_STDFILE): Don't use default_symbol_version. + + * libio/stdio.c (stdin, stdout, stderr): Set to + _IO_2_1_stdxxx_._ + (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of + stdxxx. + + * csu/Makefile (distribute): Add init.c. + (extra-objs): Add init.o for ELF. + (start-installed-name): Add $(objpfx)init.o. + + * csu/init.c: New file. + +1997-11-12 08:02 H.J. Lu + + * elf/dl-lookup.c (do_lookup): Don't use the hidden base + definition as the default. + +1997-08-27 Klaus Espenlaub + + * erand48_r.c (__erand48_r): Implement for 32 bit short int. + +1997-11-15 Andreas Jaeger + + * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2 + (PR 351). + +1997-11-16 21:01 Philip Blundell + + * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not + to preserve condition codes on function call. + +1997-11-13 Andreas Jaeger + + * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l. + +1997-11-14 Andreas Jaeger + + * math/libm-test.c (asin_test): Add epsilon for float. + (tan_test): Add epsilon for float. + (log1p_test): Add epsilon for float. + (inverse_functions): Add epsilons. + + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add + net/if_packet.h. + + * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h. + +1997-11-10 Andreas Schwab + + * md5-crypt/Makefile (extra-objs): Make recursively expanded + variable, since $(object-suffixes) is not defined yet. + +1997-11-11 Andreas Schwab + + * db2/Makefile (distribute): db185/db185_int.src -> + db185/db185_int.h. + +1997-11-11 Andreas Schwab + + * misc/tst-fdset.c: Don't require the value of FD_ISSET to be + exactly one. + +1997-11-11 Andreas Schwab + + * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level + name. + * sysdeps/generic/e_acosl.c: Likewise. + * sysdeps/generic/e_asinl.c: Likewise. + * sysdeps/generic/e_atan2l.c: Likewise. + * sysdeps/generic/e_expl.c: Likewise. + * sysdeps/generic/e_fmodl.c: Likewise. + * sysdeps/generic/e_j0l.c: Likewise. + * sysdeps/generic/e_j1l.c: Likewise. + * sysdeps/generic/e_jnl.c: Likewise. + * sysdeps/generic/e_lgammal_r.c: Likewise. + * sysdeps/generic/e_log10l.c: Likewise. + * sysdeps/generic/e_logl.c: Likewise. + * sysdeps/generic/e_powl.c: Likewise. + * sysdeps/generic/e_sqrtl.c: Likewise. + * sysdeps/generic/e_exp2l.c: Likewise. + +1997-11-11 Andreas Schwab + + * Make-dist (+sysdep-names): Remove extra paren. + * Makefile (distribute): Add stub-tag.h. + * elf/Makefile (distribute): Add atomicity.h. + * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) + [$(subdir)=socket]: Add net/if_packet.h. + * sysdeps/alpha/Dist: Remove setjmp_aux.c. + * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c, + net/if_packet.h, scsi/sg.h. + +1997-11-13 Andreas Schwab + + * Makefile (install): Quote $(CC) expansion. + +1997-11-14 Andreas Jaeger + + * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of + working /proc cwd and no restrictions on path length. Following + some ideas from Andi Kleen (PR 350). + +1997-11-14 19:14 Thorsten Kukuk + + * nis/nss_compat/compat-grp.c: Remove buggy assert call. + * nis/nss_compat/compat-pwd.c: Likewise. + * nis/nss_compat/compat-spwd.c: Likewise. + +1997-11-14 22:23 Ulrich Drepper + + * sysdeps/libm-i387/s_fdim.S: New file. + * sysdeps/libm-i387/s_fdimf.S: New file. + * sysdeps/libm-i387/s_fdiml.S: New file. + * sysdeps/libm-i387/i686/s_fdim.S: New file. + * sysdeps/libm-i387/i686/s_fdimf.S: New file. + * sysdeps/libm-i387/i686/s_fdiml.S: New file. + +1997-11-12 Andreas Schwab + + * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a + pointer to unsigned char. + +1997-11-13 Andreas Jaeger + + * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function. + + * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function. + + * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function. + +1997-11-12 Andreas Jaeger + + * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for + ilogb(0/NaN). + * sysdeps/libm-ieee754/s_ilogbl.c: Likewise. + * sysdeps/libm-ieee754/s_ilogb.c: Likewise. + +1997-11-14 05:44 Ulrich Drepper + + * sysdeps/libm-i387/s_fmin.S: New file. + * sysdeps/libm-i387/s_fminf.S: New file. + * sysdeps/libm-i387/s_fminl.S: New file. + * sysdeps/libm-i387/s_fmax.S: New file. + * sysdeps/libm-i387/s_fmaxf.S: New file. + * sysdeps/libm-i387/s_fmaxl.S: New file. + * sysdeps/libm-i387/i686/s_fmin.S: New file. + * sysdeps/libm-i387/i686/s_fminf.S: New file. + * sysdeps/libm-i387/i686/s_fminl.S: New file. + * sysdeps/libm-i387/i686/s_fmax.S: New file. + * sysdeps/libm-i387/i686/s_fmaxf.S: New file. + * sysdeps/libm-i387/i686/s_fmaxl.S: New file. + +1997-11-14 03:06 Ulrich Drepper + + * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias. + * sysdeps/unix/sysv/linux/send.S: Likewise. + * sysdeps/unix/sysv/linux/recvfrom.S: Likewise. + * sysdeps/unix/sysv/linux/recvmsg.S: Likewise. + * sysdeps/unix/sysv/linux/sendmsg.S: Likewise. + * sysdeps/unix/sysv/linux/recv.S: Likewise. + * sysdeps/unix/sysv/linux/sendto.S: Likewise. + * sysdeps/unix/sysv/linux/connect.S: Likewise. + Reported by Christopher Wiles . + +See ChangeLog.7 for earlier changes.